From f2f6f934a4b921d841492e78f1439000f8b5fd3d Mon Sep 17 00:00:00 2001 From: David Brazda Date: Mon, 9 Oct 2023 10:17:38 +0200 Subject: [PATCH] merge retreat --- .gitignore | 4 + v2realbot/main.py | 2 + v2realbot/static/index.html | 8 +- .../static/js/libs/bootstrap.bundle.min.js | 12 +- v2realbot/static/js/libs/bootstrap.min.css | 13 +- v2realbot/static/js/libs/editor.main.js | 758 - v2realbot/static/js/libs/editor.main.min.css | 6 - .../static/js/libs/editor/editor.main.js | 758 - .../static/js/libs/editor/editor.main.nls.js | 758 - ...ightweight-charts.standalone.production.js | 7 - ...weight-charts.standalone.production401.js} | 0 ...tweight-charts.standalone.production410.js | 7 + v2realbot/static/js/libs/loader.min.js | 4 - .../browser/ui/codicons/codicon/codicon.ttf | Bin 0 -> 73624 bytes .../base/common/worker/simpleWorker.nls.de.js | 8 + .../base/common/worker/simpleWorker.nls.es.js | 8 + .../base/common/worker/simpleWorker.nls.fr.js | 8 + .../base/common/worker/simpleWorker.nls.it.js | 8 + .../base/common/worker/simpleWorker.nls.ja.js | 8 + .../vs/base/common/worker/simpleWorker.nls.js | 8 + .../base/common/worker/simpleWorker.nls.ko.js | 8 + .../base/common/worker/simpleWorker.nls.ru.js | 8 + .../common/worker/simpleWorker.nls.zh-cn.js | 8 + .../common/worker/simpleWorker.nls.zh-tw.js | 8 + .../libs/monaco/vs/base/worker/workerMain.js | 27 + .../monaco/vs/basic-languages/abap/abap.js | 10 + .../monaco/vs/basic-languages/apex/apex.js | 10 + .../monaco/vs/basic-languages/azcli/azcli.js | 10 + .../libs/monaco/vs/basic-languages/bat/bat.js | 10 + .../monaco/vs/basic-languages/bicep/bicep.js | 11 + .../vs/basic-languages/cameligo/cameligo.js | 10 + .../vs/basic-languages/clojure/clojure.js | 10 + .../vs/basic-languages/coffee/coffee.js | 10 + .../libs/monaco/vs/basic-languages/cpp/cpp.js | 10 + .../vs/basic-languages/csharp/csharp.js | 10 + .../libs/monaco/vs/basic-languages/csp/csp.js | 10 + .../libs/monaco/vs/basic-languages/css/css.js | 12 + .../vs/basic-languages/cypher/cypher.js | 10 + .../monaco/vs/basic-languages/dart/dart.js | 10 + .../basic-languages/dockerfile/dockerfile.js | 10 + .../libs/monaco/vs/basic-languages/ecl/ecl.js | 10 + .../vs/basic-languages/elixir/elixir.js | 10 + .../monaco/vs/basic-languages/flow9/flow9.js | 10 + .../freemarker2/freemarker2.js | 12 + .../vs/basic-languages/fsharp/fsharp.js | 10 + .../libs/monaco/vs/basic-languages/go/go.js | 10 + .../vs/basic-languages/graphql/graphql.js | 10 + .../basic-languages/handlebars/handlebars.js | 10 + .../libs/monaco/vs/basic-languages/hcl/hcl.js | 10 + .../monaco/vs/basic-languages/html/html.js | 10 + .../libs/monaco/vs/basic-languages/ini/ini.js | 10 + .../monaco/vs/basic-languages/java/java.js | 10 + .../basic-languages/javascript/javascript.js | 10 + .../monaco/vs/basic-languages/julia/julia.js | 10 + .../vs/basic-languages/kotlin/kotlin.js | 10 + .../monaco/vs/basic-languages/less/less.js | 11 + .../monaco/vs/basic-languages/lexon/lexon.js | 10 + .../vs/basic-languages/liquid/liquid.js | 10 + .../libs/monaco/vs/basic-languages/lua/lua.js | 10 + .../libs/monaco/vs/basic-languages/m3/m3.js | 10 + .../vs/basic-languages/markdown/markdown.js | 10 + .../libs/monaco/vs/basic-languages/mdx/mdx.js | 10 + .../monaco/vs/basic-languages/mips/mips.js | 10 + .../monaco/vs/basic-languages/msdax/msdax.js | 10 + .../monaco/vs/basic-languages/mysql/mysql.js | 10 + .../objective-c/objective-c.js | 10 + .../vs/basic-languages/pascal/pascal.js | 10 + .../vs/basic-languages/pascaligo/pascaligo.js | 10 + .../monaco/vs/basic-languages/perl/perl.js | 10 + .../monaco/vs/basic-languages/pgsql/pgsql.js | 10 + .../libs/monaco/vs/basic-languages/php/php.js | 10 + .../libs/monaco/vs/basic-languages/pla/pla.js | 10 + .../vs/basic-languages/postiats/postiats.js | 10 + .../basic-languages/powerquery/powerquery.js | 10 + .../basic-languages/powershell/powershell.js | 10 + .../vs/basic-languages/protobuf/protobuf.js | 11 + .../libs/monaco/vs/basic-languages/pug/pug.js | 10 + .../vs/basic-languages/python/python.js | 10 + .../vs/basic-languages/qsharp/qsharp.js | 10 + .../js/libs/monaco/vs/basic-languages/r/r.js | 10 + .../monaco/vs/basic-languages/razor/razor.js | 10 + .../monaco/vs/basic-languages/redis/redis.js | 10 + .../vs/basic-languages/redshift/redshift.js | 10 + .../restructuredtext/restructuredtext.js | 10 + .../monaco/vs/basic-languages/ruby/ruby.js | 10 + .../monaco/vs/basic-languages/rust/rust.js | 10 + .../libs/monaco/vs/basic-languages/sb/sb.js | 10 + .../monaco/vs/basic-languages/scala/scala.js | 10 + .../vs/basic-languages/scheme/scheme.js | 10 + .../monaco/vs/basic-languages/scss/scss.js | 12 + .../monaco/vs/basic-languages/shell/shell.js | 10 + .../vs/basic-languages/solidity/solidity.js | 10 + .../vs/basic-languages/sophia/sophia.js | 10 + .../vs/basic-languages/sparql/sparql.js | 10 + .../libs/monaco/vs/basic-languages/sql/sql.js | 10 + .../libs/monaco/vs/basic-languages/st/st.js | 10 + .../monaco/vs/basic-languages/swift/swift.js | 13 + .../systemverilog/systemverilog.js | 10 + .../libs/monaco/vs/basic-languages/tcl/tcl.js | 10 + .../monaco/vs/basic-languages/twig/twig.js | 10 + .../basic-languages/typescript/typescript.js | 10 + .../libs/monaco/vs/basic-languages/vb/vb.js | 10 + .../monaco/vs/basic-languages/wgsl/wgsl.js | 307 + .../libs/monaco/vs/basic-languages/xml/xml.js | 10 + .../monaco/vs/basic-languages/yaml/yaml.js | 10 + .../js/libs/monaco/vs/editor/editor.main.css | 6 + .../js/libs/monaco/vs/editor/editor.main.js | 745 + .../monaco/vs/editor/editor.main.nls.de.js | 31 + .../monaco/vs/editor/editor.main.nls.es.js | 31 + .../monaco/vs/editor/editor.main.nls.fr.js | 29 + .../monaco/vs/editor/editor.main.nls.it.js | 29 + .../monaco/vs/editor/editor.main.nls.ja.js | 31 + .../libs/monaco/vs/editor/editor.main.nls.js | 29 + .../monaco/vs/editor/editor.main.nls.ko.js | 29 + .../monaco/vs/editor/editor.main.nls.ru.js | 31 + .../monaco/vs/editor/editor.main.nls.zh-cn.js | 31 + .../monaco/vs/editor/editor.main.nls.zh-tw.js | 29 + .../js/libs/monaco/vs/language/css/cssMode.js | 13 + .../libs/monaco/vs/language/css/cssWorker.js | 81 + .../libs/monaco/vs/language/html/htmlMode.js | 13 + .../monaco/vs/language/html/htmlWorker.js | 453 + .../libs/monaco/vs/language/json/jsonMode.js | 15 + .../monaco/vs/language/json/jsonWorker.js | 36 + .../monaco/vs/language/typescript/tsMode.js | 20 + .../monaco/vs/language/typescript/tsWorker.js | 37016 ++++++++++++++++ v2realbot/static/js/libs/monaco/vs/loader.js | 11 + v2realbot/static/js/mytables.js | 2 +- 127 files changed, 39954 insertions(+), 2310 deletions(-) delete mode 100644 v2realbot/static/js/libs/editor.main.js delete mode 100644 v2realbot/static/js/libs/editor.main.min.css delete mode 100644 v2realbot/static/js/libs/editor/editor.main.js delete mode 100644 v2realbot/static/js/libs/editor/editor.main.nls.js delete mode 100644 v2realbot/static/js/libs/lightweightchart/lightweight-charts.standalone.production.js rename v2realbot/static/js/libs/{lightweight-charts.standalone.production.js => lightweightcharts/lightweight-charts.standalone.production401.js} (100%) create mode 100644 v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production410.js delete mode 100644 v2realbot/static/js/libs/loader.min.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/browser/ui/codicons/codicon/codicon.ttf create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.de.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.es.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.fr.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.it.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ja.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ko.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ru.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-cn.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-tw.js create mode 100644 v2realbot/static/js/libs/monaco/vs/base/worker/workerMain.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/abap/abap.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/apex/apex.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/azcli/azcli.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/bat/bat.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/bicep/bicep.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/cameligo/cameligo.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/clojure/clojure.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/coffee/coffee.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/cpp/cpp.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/csharp/csharp.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/csp/csp.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/css/css.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/cypher/cypher.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/dart/dart.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/dockerfile/dockerfile.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/ecl/ecl.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/elixir/elixir.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/flow9/flow9.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/freemarker2/freemarker2.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/fsharp/fsharp.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/go/go.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/graphql/graphql.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/handlebars/handlebars.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/hcl/hcl.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/html/html.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/ini/ini.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/java/java.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/javascript/javascript.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/julia/julia.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/kotlin/kotlin.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/less/less.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/lexon/lexon.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/liquid/liquid.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/lua/lua.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/m3/m3.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/markdown/markdown.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/mdx/mdx.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/mips/mips.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/msdax/msdax.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/mysql/mysql.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/objective-c/objective-c.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/pascal/pascal.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/pascaligo/pascaligo.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/perl/perl.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/pgsql/pgsql.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/php/php.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/pla/pla.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/postiats/postiats.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/powerquery/powerquery.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/powershell/powershell.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/protobuf/protobuf.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/pug/pug.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/python/python.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/qsharp/qsharp.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/r/r.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/razor/razor.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/redis/redis.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/redshift/redshift.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/restructuredtext/restructuredtext.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/ruby/ruby.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/rust/rust.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/sb/sb.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/scala/scala.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/scheme/scheme.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/scss/scss.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/shell/shell.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/solidity/solidity.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/sophia/sophia.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/sparql/sparql.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/sql/sql.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/st/st.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/swift/swift.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/systemverilog/systemverilog.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/tcl/tcl.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/twig/twig.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/typescript/typescript.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/vb/vb.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/wgsl/wgsl.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/xml/xml.js create mode 100644 v2realbot/static/js/libs/monaco/vs/basic-languages/yaml/yaml.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.css create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.de.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.es.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.fr.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.it.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ja.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ko.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ru.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-cn.js create mode 100644 v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-tw.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/css/cssMode.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/css/cssWorker.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/html/htmlMode.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/html/htmlWorker.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/json/jsonMode.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/json/jsonWorker.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/typescript/tsMode.js create mode 100644 v2realbot/static/js/libs/monaco/vs/language/typescript/tsWorker.js create mode 100644 v2realbot/static/js/libs/monaco/vs/loader.js diff --git a/.gitignore b/.gitignore index 2738635..20dee60 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,7 @@ v2realbot/static/.DS_Store v2realbot/static/js/.DS_Store v2realbot/static/js/libs/.DS_Store v2realbot/strategyblocks/activetrade/.DS_Store +v2realbot/__pycache__/config.cpython-310.pyc +.gitignore +v2realbot/enums/__pycache__/enums.cpython-310.pyc +v2realbot/common/__pycache__/model.cpython-310.pyc diff --git a/v2realbot/main.py b/v2realbot/main.py index 92242be..007a48d 100644 --- a/v2realbot/main.py +++ b/v2realbot/main.py @@ -292,6 +292,8 @@ def migrate(): conn.row_factory = None pool.release_connection(conn) open(lock_file, 'w').close() + + return 0 # res, set =cs.migrate_archived_runners() # if res == 0: diff --git a/v2realbot/static/index.html b/v2realbot/static/index.html index c1f93d9..6c40716 100644 --- a/v2realbot/static/index.html +++ b/v2realbot/static/index.html @@ -79,10 +79,8 @@ - - - - + + @@ -663,7 +661,7 @@ - + diff --git a/v2realbot/static/js/libs/bootstrap.bundle.min.js b/v2realbot/static/js/libs/bootstrap.bundle.min.js index 7c61343..5b5cefa 100644 --- a/v2realbot/static/js/libs/bootstrap.bundle.min.js +++ b/v2realbot/static/js/libs/bootstrap.bundle.min.js @@ -1,7 +1,7 @@ /*! - * Bootstrap v3.3.6 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under the MIT license - */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>4)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file + * Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t=new Map,e={set(e,i,n){t.has(e)||t.set(e,new Map);const s=t.get(e);s.has(i)||0===s.size?s.set(i,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e).get(i)||null,remove(e,i){if(!t.has(e))return;const n=t.get(e);n.delete(i),0===n.size&&t.delete(e)}},i="transitionend",n=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),s=t=>{t.dispatchEvent(new Event(i))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(n(t)):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},g=(t,e=[],i=t)=>"function"==typeof t?t(...e):i,_=(t,e,n=!0)=>{if(!n)return void g(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let r=!1;const a=({target:n})=>{n===e&&(r=!0,e.removeEventListener(i,a),g(t))};e.addEventListener(i,a),setTimeout((()=>{r||s(e)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function x(t){const e=O(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=N(t);return C.has(o)||(o=t),[n,s,o]}function S(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);if(e in T){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return j(s,{delegateTarget:r}),n.oneOff&&P.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return j(n,{delegateTarget:t}),i.oneOff&&P.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function I(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&D(t,e,i,r.callable,r.delegationSelector)}function N(t){return t=t.replace(y,""),T[t]||t}const P={on(t,e,i,n){S(t,e,i,n,!1)},one(t,e,i,n){S(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))I(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(w,"");a&&!e.includes(s)||D(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;D(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=u();let s=null,o=!0,r=!0,a=!1;e!==N(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=j(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function j(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function M(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function F(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const H={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${F(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${F(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=M(t.dataset[n])}return e},getDataAttribute:(t,e)=>M(t.getAttribute(`data-bs-${F(e)}`))};class ${static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=o(e)?H.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?H.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,s]of Object.entries(e)){const e=t[n],r=o(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)}var i}}class W extends ${constructor(t,i){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(i),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return e.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.0-alpha2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const B=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return n(e)},z={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))},getSelectorFromElement(t){const e=B(t);return e&&z.findOne(e)?e:null},getElementFromSelector(t){const e=B(t);return e?z.findOne(e):null},getMultipleElementsFromSelector(t){const e=B(t);return e?z.find(e):[]}},R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;P.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const s=z.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))};class q extends W{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=q.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}R(q,"close"),m(q);const V='[data-bs-toggle="button"]';class K extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=K.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",V,(t=>{t.preventDefault();const e=t.target.closest(V);K.getOrCreateInstance(e).toggle()})),m(K);const Q={endCallback:null,leftCallback:null,rightCallback:null},X={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Y extends ${constructor(t,e){super(),this._element=t,t&&Y.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Q}static get DefaultType(){return X}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&g(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),P.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),P.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),P.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U="next",G="prev",J="left",Z="right",tt="slid.bs.carousel",et="carousel",it="active",nt={ArrowLeft:Z,ArrowRight:J},st={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ot={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class rt extends W{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=z.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===et&&this.cycle()}static get Default(){return st}static get DefaultType(){return ot}static get NAME(){return"carousel"}next(){this._slide(U)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(G)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,tt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,tt,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?U:G;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),P.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&Y.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of z.find(".carousel-item img",this._element))P.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(J)),rightCallback:()=>this._slide(this._directionToOrder(Z)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Y(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=nt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=z.findOne(".active",this._indicatorsElement);e.classList.remove(it),e.removeAttribute("aria-current");const i=z.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(it),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===U,s=e||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>P.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(it),i.classList.remove(it,c,l),this._isSliding=!1,r(tt)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return z.findOne(".active.carousel-item",this._element)}_getItems(){return z.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===J?G:U:t===J?U:G}_orderToDirection(t){return p()?t===G?J:Z:t===G?Z:J}static jQueryInterface(t){return this.each((function(){const e=rt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=z.getElementFromSelector(this);if(!e||!e.classList.contains(et))return;t.preventDefault();const i=rt.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===H.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const t=z.find('[data-bs-ride="carousel"]');for(const e of t)rt.getOrCreateInstance(e)})),m(rt);const at="show",lt="collapse",ct="collapsing",ht='[data-bs-toggle="collapse"]',dt={parent:null,toggle:!0},ut={parent:"(null|element)",toggle:"boolean"};class ft extends W{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=z.find(ht);for(const t of i){const e=z.getSelectorFromElement(t),i=z.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return dt}static get DefaultType(){return ut}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>ft.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(lt),this._element.classList.add(ct),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ct),this._element.classList.add(lt,at),this._element.style[e]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(ct),this._element.classList.remove(lt,at);for(const t of this._triggerArray){const e=z.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ct),this._element.classList.add(lt),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(at)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(ht);for(const e of t){const t=z.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=z.find(":scope .collapse .collapse",this._config.parent);return z.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=ft.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}P.on(document,"click.bs.collapse.data-api",ht,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of z.getMultipleElementsFromSelector(this))ft.getOrCreateInstance(t,{toggle:!1}).toggle()})),m(ft);var pt="top",mt="bottom",gt="right",_t="left",bt="auto",vt=[pt,mt,gt,_t],yt="start",wt="end",At="clippingParents",Et="viewport",Tt="popper",Ct="reference",Ot=vt.reduce((function(t,e){return t.concat([e+"-"+yt,e+"-"+wt])}),[]),xt=[].concat(vt,[bt]).reduce((function(t,e){return t.concat([e,e+"-"+yt,e+"-"+wt])}),[]),kt="beforeRead",Lt="read",St="afterRead",Dt="beforeMain",It="main",Nt="afterMain",Pt="beforeWrite",jt="write",Mt="afterWrite",Ft=[kt,Lt,St,Dt,It,Nt,Pt,jt,Mt];function Ht(t){return t?(t.nodeName||"").toLowerCase():null}function $t(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Wt(t){return t instanceof $t(t).Element||t instanceof Element}function Bt(t){return t instanceof $t(t).HTMLElement||t instanceof HTMLElement}function zt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof $t(t).ShadowRoot||t instanceof ShadowRoot)}const Rt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];Bt(s)&&Ht(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});Bt(n)&&Ht(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function qt(t){return t.split("-")[0]}var Vt=Math.max,Kt=Math.min,Qt=Math.round;function Xt(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Yt(){return!/^((?!chrome|android).)*safari/i.test(Xt())}function Ut(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&Bt(t)&&(s=t.offsetWidth>0&&Qt(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Qt(n.height)/t.offsetHeight||1);var r=(Wt(t)?$t(t):window).visualViewport,a=!Yt()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Gt(t){var e=Ut(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Jt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&zt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Zt(t){return $t(t).getComputedStyle(t)}function te(t){return["table","td","th"].indexOf(Ht(t))>=0}function ee(t){return((Wt(t)?t.ownerDocument:t.document)||window.document).documentElement}function ie(t){return"html"===Ht(t)?t:t.assignedSlot||t.parentNode||(zt(t)?t.host:null)||ee(t)}function ne(t){return Bt(t)&&"fixed"!==Zt(t).position?t.offsetParent:null}function se(t){for(var e=$t(t),i=ne(t);i&&te(i)&&"static"===Zt(i).position;)i=ne(i);return i&&("html"===Ht(i)||"body"===Ht(i)&&"static"===Zt(i).position)?e:i||function(t){var e=/firefox/i.test(Xt());if(/Trident/i.test(Xt())&&Bt(t)&&"fixed"===Zt(t).position)return null;var i=ie(t);for(zt(i)&&(i=i.host);Bt(i)&&["html","body"].indexOf(Ht(i))<0;){var n=Zt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function oe(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function re(t,e,i){return Vt(t,Kt(e,i))}function ae(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function le(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const ce={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=qt(i.placement),l=oe(a),c=[_t,gt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return ae("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:le(t,vt))}(s.padding,i),d=Gt(o),u="y"===l?pt:_t,f="y"===l?mt:gt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=se(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,A=re(v,w,y),E=l;i.modifiersData[n]=((e={})[E]=A,e.centerOffset=A-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Jt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(t){return t.split("-")[1]}var de={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ue(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=_t,y=pt,w=window;if(c){var A=se(i),E="clientHeight",T="clientWidth";A===$t(i)&&"static"!==Zt(A=ee(i)).position&&"absolute"===a&&(E="scrollHeight",T="scrollWidth"),(s===pt||(s===_t||s===gt)&&o===wt)&&(y=mt,m-=(d&&A===w&&w.visualViewport?w.visualViewport.height:A[E])-n.height,m*=l?1:-1),s!==_t&&(s!==pt&&s!==mt||o!==wt)||(v=gt,f-=(d&&A===w&&w.visualViewport?w.visualViewport.width:A[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&de),x=!0===h?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:Qt(i*s)/s||0,y:Qt(n*s)/s||0}}({x:f,y:m},$t(i)):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((e={})[y]=b?m+"px":"",e[v]=_?f+"px":"",e.transform="",e))}const fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:qt(e.placement),variation:he(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ue(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ue(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var pe={passive:!0};const me={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=$t(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,pe)})),a&&l.addEventListener("resize",i.update,pe),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,pe)})),a&&l.removeEventListener("resize",i.update,pe)}},data:{}};var ge={left:"right",right:"left",bottom:"top",top:"bottom"};function _e(t){return t.replace(/left|right|bottom|top/g,(function(t){return ge[t]}))}var be={start:"end",end:"start"};function ve(t){return t.replace(/start|end/g,(function(t){return be[t]}))}function ye(t){var e=$t(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function we(t){return Ut(ee(t)).left+ye(t).scrollLeft}function Ae(t){var e=Zt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ee(t){return["html","body","#document"].indexOf(Ht(t))>=0?t.ownerDocument.body:Bt(t)&&Ae(t)?t:Ee(ie(t))}function Te(t,e){var i;void 0===e&&(e=[]);var n=Ee(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=$t(n),r=s?[o].concat(o.visualViewport||[],Ae(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Te(ie(r)))}function Ce(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Oe(t,e,i){return e===Et?Ce(function(t,e){var i=$t(t),n=ee(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Yt();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+we(t),y:l}}(t,i)):Wt(e)?function(t,e){var i=Ut(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):Ce(function(t){var e,i=ee(t),n=ye(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=Vt(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Vt(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+we(t),l=-n.scrollTop;return"rtl"===Zt(s||i).direction&&(a+=Vt(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(ee(t)))}function xe(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?qt(s):null,r=s?he(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case pt:e={x:a,y:i.y-n.height};break;case mt:e={x:a,y:i.y+i.height};break;case gt:e={x:i.x+i.width,y:l};break;case _t:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?oe(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case yt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case wt:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ke(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?At:a,c=i.rootBoundary,h=void 0===c?Et:c,d=i.elementContext,u=void 0===d?Tt:d,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=ae("number"!=typeof g?g:le(g,vt)),b=u===Tt?Ct:Tt,v=t.rects.popper,y=t.elements[p?b:u],w=function(t,e,i,n){var s="clippingParents"===e?function(t){var e=Te(ie(t)),i=["absolute","fixed"].indexOf(Zt(t).position)>=0&&Bt(t)?se(t):t;return Wt(i)?e.filter((function(t){return Wt(t)&&Jt(t,i)&&"body"!==Ht(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=Oe(t,i,n);return e.top=Vt(s.top,e.top),e.right=Kt(s.right,e.right),e.bottom=Kt(s.bottom,e.bottom),e.left=Vt(s.left,e.left),e}),Oe(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Wt(y)?y:y.contextElement||ee(t.elements.popper),l,h,r),A=Ut(t.elements.reference),E=xe({reference:A,element:v,strategy:"absolute",placement:s}),T=Ce(Object.assign({},v,E)),C=u===Tt?T:A,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=t.modifiersData.offset;if(u===Tt&&x){var k=x[s];Object.keys(O).forEach((function(t){var e=[gt,mt].indexOf(t)>=0?1:-1,i=[pt,mt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function Le(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?xt:l,h=he(n),d=h?a?Ot:Ot.filter((function(t){return he(t)===h})):vt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=ke(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[qt(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}const Se={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=qt(g),b=l||(_!==g&&p?function(t){if(qt(t)===bt)return[];var e=_e(t);return[ve(t),e,ve(e)]}(g):[_e(g)]),v=[g].concat(b).reduce((function(t,i){return t.concat(qt(i)===bt?Le(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,A=new Map,E=!0,T=v[0],C=0;C=0,S=L?"width":"height",D=ke(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),I=L?k?gt:_t:k?mt:pt;y[S]>w[S]&&(I=_e(I));var N=_e(I),P=[];if(o&&P.push(D[x]<=0),a&&P.push(D[I]<=0,D[N]<=0),P.every((function(t){return t}))){T=O,E=!1;break}A.set(O,P)}if(E)for(var j=function(t){var e=v.find((function(e){var i=A.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},M=p?3:1;M>0&&"break"!==j(M);M--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function De(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Ie(t){return[pt,gt,mt,_t].some((function(e){return t[e]>=0}))}const Ne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ke(e,{elementContext:"reference"}),a=ke(e,{altBoundary:!0}),l=De(r,n),c=De(a,s,o),h=Ie(l),d=Ie(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},Pe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=xt.reduce((function(t,i){return t[i]=function(t,e,i){var n=qt(t),s=[_t,pt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[_t,gt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=xe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=ke(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=qt(e.placement),b=he(e.placement),v=!b,y=oe(_),w="x"===y?"y":"x",A=e.modifiersData.popperOffsets,E=e.rects.reference,T=e.rects.popper,C="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(A){if(o){var L,S="y"===y?pt:_t,D="y"===y?mt:gt,I="y"===y?"height":"width",N=A[y],P=N+g[S],j=N-g[D],M=f?-T[I]/2:0,F=b===yt?E[I]:T[I],H=b===yt?-T[I]:-E[I],$=e.elements.arrow,W=f&&$?Gt($):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=B[S],R=B[D],q=re(0,E[I],W[I]),V=v?E[I]/2-M-q-z-O.mainAxis:F-q-z-O.mainAxis,K=v?-E[I]/2+M+q+R+O.mainAxis:H+q+R+O.mainAxis,Q=e.elements.arrow&&se(e.elements.arrow),X=Q?"y"===y?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(L=null==x?void 0:x[y])?L:0,U=N+K-Y,G=re(f?Kt(P,N+V-Y-X):P,N,f?Vt(j,U):j);A[y]=G,k[y]=G-N}if(a){var J,Z="x"===y?pt:_t,tt="x"===y?mt:gt,et=A[w],it="y"===w?"height":"width",nt=et+g[Z],st=et-g[tt],ot=-1!==[pt,_t].indexOf(_),rt=null!=(J=null==x?void 0:x[w])?J:0,at=ot?nt:et-E[it]-T[it]-rt+O.altAxis,lt=ot?et+E[it]+T[it]-rt-O.altAxis:st,ct=f&&ot?function(t,e,i){var n=re(t,e,i);return n>i?i:n}(at,et,lt):re(f?at:nt,et,f?lt:st);A[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function Fe(t,e,i){void 0===i&&(i=!1);var n,s,o=Bt(e),r=Bt(e)&&function(t){var e=t.getBoundingClientRect(),i=Qt(e.width)/t.offsetWidth||1,n=Qt(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=ee(e),l=Ut(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==Ht(e)||Ae(a))&&(c=(n=e)!==$t(n)&&Bt(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:ye(n)),Bt(e)?((h=Ut(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=we(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function He(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var $e={placement:"bottom",modifiers:[],strategy:"absolute"};function We(){for(var t=arguments.length,e=new Array(t),i=0;iNumber.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(H.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...g(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Xe,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ci.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=z.find(Ze);for(const i of e){const e=ci.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[Qe,Xe].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Je)?this:z.prev(this,Je)[0]||z.next(this,Je)[0]||z.findOne(Je,t.delegateTarget.parentNode),o=ci.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}P.on(document,Ue,Je,ci.dataApiKeydownHandler),P.on(document,Ue,ti,ci.dataApiKeydownHandler),P.on(document,Ye,ci.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",ci.clearMenus),P.on(document,Ye,Je,(function(t){t.preventDefault(),ci.getOrCreateInstance(this).toggle()})),m(ci);const hi="show",di="mousedown.bs.backdrop",ui={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},fi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class pi extends ${constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ui}static get DefaultType(){return fi}static get NAME(){return"backdrop"}show(t){if(!this._config.isVisible)return void g(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(hi),this._emulateAnimation((()=>{g(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(hi),this._emulateAnimation((()=>{this.dispose(),g(t)}))):g(t)}dispose(){this._isAppended&&(P.off(this._element,di),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,di,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const mi=".bs.focustrap",gi="backward",_i={autofocus:!0,trapElement:null},bi={autofocus:"boolean",trapElement:"element"};class vi extends ${constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return _i}static get DefaultType(){return bi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,mi),P.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),P.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,mi))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=z.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===gi?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?gi:"forward")}}const yi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",wi=".sticky-top",Ai="padding-right",Ei="margin-right";class Ti{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ai,(e=>e+t)),this._setElementAttributes(yi,Ai,(e=>e+t)),this._setElementAttributes(wi,Ei,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ai),this._resetElementAttributes(yi,Ai),this._resetElementAttributes(wi,Ei)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&H.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=H.getDataAttribute(t,e);null!==i?(H.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of z.find(t,this._element))e(i)}}const Ci=".bs.modal",Oi="hidden.bs.modal",xi="show.bs.modal",ki="modal-open",Li="show",Si="modal-static",Di={backdrop:!0,focus:!0,keyboard:!0},Ii={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ni extends W{constructor(t,e){super(t,e),this._dialog=z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ti,this._addEventListeners()}static get Default(){return Di}static get DefaultType(){return Ii}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,xi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ki),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Li),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){P.off(window,Ci),P.off(this._dialog,Ci),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new vi({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=z.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(Li),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),P.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,"mousedown.dismiss.bs.modal",(t=>{P.one(this._element,"click.dismiss.bs.modal",(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(ki),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,Oi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Si)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback((()=>{this._element.classList.remove(Si),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Ni.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=z.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,xi,(t=>{t.defaultPrevented||P.one(e,Oi,(()=>{a(this)&&this.focus()}))}));const i=z.findOne(".modal.show");i&&Ni.getInstance(i).hide(),Ni.getOrCreateInstance(e).toggle(this)})),R(Ni),m(Ni);const Pi="show",ji="showing",Mi="hiding",Fi=".offcanvas.show",Hi="hidePrevented.bs.offcanvas",$i="hidden.bs.offcanvas",Wi={backdrop:!0,keyboard:!0,scroll:!1},Bi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class zi extends W{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Wi}static get DefaultType(){return Bi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ti).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ji),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Pi),this._element.classList.remove(ji),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Mi),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Pi,Mi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ti).reset(),P.trigger(this._element,$i)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new pi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,Hi)}:null})}_initializeFocusTrap(){return new vi({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,Hi))}))}static jQueryInterface(t){return this.each((function(){const e=zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;P.one(e,$i,(()=>{a(this)&&this.focus()}));const i=z.findOne(Fi);i&&i!==e&&zi.getInstance(i).hide(),zi.getOrCreateInstance(e).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of z.find(Fi))zi.getOrCreateInstance(t).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const t of z.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&zi.getOrCreateInstance(t).hide()})),R(zi),m(zi);const Ri=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Vi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ki=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Ri.has(i)||Boolean(qi.test(t.nodeValue)||Vi.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},Qi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xi={allowList:Qi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Yi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ui={entry:"(string|element|function|null)",selector:"(string|element)"};class Gi extends ${constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Ui)}_setContent(t,e,i){const n=z.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Ki(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return g(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Ji=new Set(["sanitize","allowList","sanitizeFn"]),Zi="fade",tn="show",en=".modal",nn="hide.bs.modal",sn="hover",on="focus",rn={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},an={allowList:Qi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},ln={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cn extends W{constructor(t,e){if(void 0===Ve)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return an}static get DefaultType(){return ln}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(en),nn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(tn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",h);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(tn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Zi,tn),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(Zi),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Gi({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zi)}_isShown(){return this.tip&&this.tip.classList.contains(tn)}_createPopper(t){const e=g(this._config.placement,[this,t,this._element]),i=rn[e.toUpperCase()];return qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return g(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...g(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===sn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===sn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?on:sn]=!0,e._enter()})),P.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?on:sn]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(en),nn,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=H.getDataAttributes(this._element);for(const t of Object.keys(e))Ji.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=cn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(cn);const hn={...cn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},dn={...cn.DefaultType,content:"(null|string|element|function)"};class un extends cn{static get Default(){return hn}static get DefaultType(){return dn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=un.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(un);const fn="click.bs.scrollspy",pn="active",mn="[href]",gn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_n={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class bn extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return gn}static get DefaultType(){return _n}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,fn),P.on(this._config.target,fn,mn,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=z.find(mn,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=z.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(pn),this._activateParents(t),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(pn);else for(const e of z.parents(t,".nav, .list-group"))for(const t of z.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(pn)}_clearActiveClass(t){t.classList.remove(pn);const e=z.find("[href].active",t);for(const t of e)t.classList.remove(pn)}static jQueryInterface(t){return this.each((function(){const e=bn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of z.find('[data-bs-spy="scroll"]'))bn.getOrCreateInstance(t)})),m(bn);const vn="ArrowLeft",yn="ArrowRight",wn="ArrowUp",An="ArrowDown",En="active",Tn="fade",Cn="show",On='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',xn=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${On}`;class kn extends W{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?P.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;P.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(En),this._activate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(Cn)}),t,t.classList.contains(Tn)))}_deactivate(t,e){t&&(t.classList.remove(En),t.blur(),this._deactivate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(Cn)}),t,t.classList.contains(Tn)))}_keydown(t){if(![vn,yn,wn,An].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[yn,An].includes(t.key),i=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),kn.getOrCreateInstance(i).show())}_getChildren(){return z.find(xn,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=z.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=z.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",En),n(".dropdown-menu",Cn),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(En)}_getInnerElement(t){return t.matches(xn)?t:z.findOne(xn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=kn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab",On,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||kn.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const t of z.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))kn.getOrCreateInstance(t)})),m(kn);const Ln="hide",Sn="show",Dn="showing",In={animation:"boolean",autohide:"boolean",delay:"number"},Nn={animation:!0,autohide:!0,delay:5e3};class Pn extends W{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Nn}static get DefaultType(){return In}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Ln),d(this._element),this._element.classList.add(Sn,Dn),this._queueCallback((()=>{this._element.classList.remove(Dn),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.add(Ln),this._element.classList.remove(Dn,Sn),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Sn),super.dispose()}isShown(){return this._element.classList.contains(Sn)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),P.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),P.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Pn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Pn),m(Pn),{Alert:q,Button:K,Carousel:rt,Collapse:ft,Dropdown:ci,Modal:Ni,Offcanvas:zi,Popover:un,ScrollSpy:bn,Tab:kn,Toast:Pn,Tooltip:cn}})); +//# sourceMappingURL=bootstrap.bundle.min.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/bootstrap.min.css b/v2realbot/static/js/libs/bootstrap.min.css index e6dfb8b..cc56179 100644 --- a/v2realbot/static/js/libs/bootstrap.min.css +++ b/v2realbot/static/js/libs/bootstrap.min.css @@ -1,7 +1,6 @@ -/*! - * Bootstrap v3.1.0 (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff !important}.navbar{display:none}.table td,.table th{background-color:#fff !important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-muted{color:#999}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.428571429;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;white-space:nowrap;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type="date"]{line-height:34px}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.radio label,.checkbox label{display:inline;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.has-feedback .form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.428571429;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:normal;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:none}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px;height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:none}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:8px;margin-bottom:8px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.428571429;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group .list-group-item:first-child{border-top:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel>.list-group:first-child .list-group-item:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tfoot>tr:first-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tfoot>tr:first-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:first-child>td{border-top:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-moz-transition:-moz-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.428571429px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:300px}.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.popover.top .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,0.25)}.popover.right .arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.popover.bottom .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,0.25)}.popover.left .arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left, color-stop(rgba(0,0,0,0.5) 0), color-stop(rgba(0,0,0,0.0001) 100%));background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, color-stop(rgba(0,0,0,0.0001) 0), color-stop(rgba(0,0,0,0.5) 100%));background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:none;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none !important}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none !important}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none !important}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none !important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}@media print{.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none !important}} \ No newline at end of file +@charset "UTF-8";/*! + * Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#adb5bd;--bs-body-color-rgb:173,181,189;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(173, 181, 189, 0.75);--bs-secondary-color-rgb:173,181,189;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(173, 181, 189, 0.5);--bs-tertiary-color-rgb:173,181,189;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color,inherit)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color:var(--bs-body-color);--bs-table-bg:transparent;--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-body-color);--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:var(--bs-body-color);--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:var(--bs-body-color);--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#bacbe6;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#cbccce;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#bcd0c7;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#badce3;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#e6dbb9;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#dfc2c4;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#dfe0e1;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label{color:#6c757d}.form-floating>:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: ;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:575.98px){.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}}@media (max-width:575.98px){.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:767.98px){.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}}@media (max-width:767.98px){.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:991.98px){.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}}@media (max-width:991.98px){.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1199.98px){.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}}@media (max-width:1199.98px){.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}}@media (max-width:1399.98px){.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))}.link-secondary{color:RGBA(var(--bs-secondary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))}.link-success{color:RGBA(var(--bs-success-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))}.link-info{color:RGBA(var(--bs-info-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))}.link-warning{color:RGBA(var(--bs-warning-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))}.link-danger{color:RGBA(var(--bs-danger-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))}.link-light{color:RGBA(var(--bs-light-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))}.link-dark{color:RGBA(var(--bs-dark-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/v2realbot/static/js/libs/editor.main.js b/v2realbot/static/js/libs/editor.main.js deleted file mode 100644 index 3e21078..0000000 --- a/v2realbot/static/js/libs/editor.main.js +++ /dev/null @@ -1,758 +0,0 @@ -/*!----------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/vscode/blob/main/LICENSE.txt - *-----------------------------------------------------------*/(function(){var ne=["exports","require","vs/base/common/lifecycle","vs/nls","vs/nls!vs/editor/editor.main","vs/editor/common/core/range","vs/base/common/event","vs/base/browser/dom","vs/platform/instantiation/common/instantiation","vs/base/common/errors","vs/css!vs/editor/editor.main","vs/base/common/strings","vs/editor/common/core/position","vs/base/common/async","vs/base/common/arrays","vs/platform/contextkey/common/contextkey","vs/editor/browser/editorExtensions","vs/base/common/platform","vs/editor/common/services/languageFeatures","vs/base/common/cancellation","vs/base/common/types","vs/editor/common/editorContextKeys","vs/base/common/uri","vs/platform/theme/common/themeService","vs/editor/common/core/selection","vs/base/common/codicons","vs/base/common/themables","vs/platform/commands/common/commands","vs/platform/configuration/common/configuration","vs/editor/common/languages","vs/platform/actions/common/actions","vs/platform/theme/common/colorRegistry","vs/editor/common/languages/languageConfigurationRegistry","vs/editor/browser/services/codeEditorService","vs/platform/keybinding/common/keybinding","vs/base/browser/fastDomNode","vs/editor/common/config/editorOptions","vs/platform/registry/common/platform","vs/base/common/color","vs/base/common/actions","vs/editor/common/model/textModel","vs/editor/common/languages/language","vs/base/common/observable","vs/platform/notification/common/notification","vs/base/browser/keyboardEvent","vs/base/common/resources","vs/base/common/iterator","vs/base/common/objects","vs/editor/common/model","vs/base/browser/ui/aria/aria","vs/platform/instantiation/common/extensions","vs/editor/common/services/model","vs/base/browser/browser","vs/editor/browser/view/viewPart","vs/base/common/network","vs/base/common/htmlContent","vs/platform/opener/common/opener","vs/platform/contextview/browser/contextView","vs/base/common/stopwatch","vs/editor/browser/config/domFontInfo","vs/base/browser/mouseEvent","vs/base/browser/touch","vs/platform/theme/common/iconRegistry","vs/base/common/keyCodes","vs/base/common/linkedList","vs/base/common/map","vs/editor/common/core/lineRange","vs/editor/common/viewModel","vs/base/browser/ui/actionbar/actionbar","vs/editor/common/services/resolverService","vs/platform/log/common/log","vs/platform/quickinput/common/quickInput","vs/base/common/filters","vs/editor/common/core/editOperation","vs/editor/common/cursorCommon","vs/base/browser/ui/scrollbar/scrollableElement","vs/editor/common/services/languageFeatureDebounce","vs/platform/progress/common/progress","vs/editor/common/languages/modesRegistry","vs/platform/telemetry/common/telemetry","vs/editor/common/core/editorColorRegistry","vs/base/browser/event","vs/editor/common/core/cursorColumns","vs/base/browser/ui/widget","vs/platform/accessibility/common/accessibility","vs/base/common/assert","vs/editor/common/tokens/lineTokens","vs/platform/storage/common/storage","vs/platform/theme/common/theme","vs/base/browser/trustedTypes","vs/editor/common/core/offsetRange","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length","vs/base/common/path","vs/editor/common/core/stringBuilder","vs/editor/common/standaloneStrings","vs/editor/common/viewLayout/viewLineRenderer","vs/platform/clipboard/common/clipboardService","vs/platform/markers/common/markers","vs/platform/configuration/common/configurationRegistry","vs/base/common/functional","vs/base/common/lazy","vs/base/common/severity","vs/editor/browser/widget/diffEditorWidget2/utils","vs/editor/contrib/hover/browser/hoverTypes","vs/editor/contrib/editorState/browser/editorState","vs/platform/theme/browser/defaultStyles","vs/base/common/decorators","vs/base/common/mime","vs/editor/browser/stableEditorScroll","vs/editor/common/diff/linesDiffComputer","vs/editor/common/languages/languageConfiguration","vs/editor/common/textModelEvents","vs/editor/browser/view/dynamicViewOverlay","vs/editor/contrib/codeAction/common/types","vs/base/browser/ui/list/listWidget","vs/editor/common/services/editorWorker","vs/platform/audioCues/browser/audioCueService","vs/editor/contrib/markdownRenderer/browser/markdownRenderer","vs/platform/keybinding/common/keybindingsRegistry","vs/base/common/keybindings","vs/base/common/iconLabels","vs/editor/common/core/characterClassifier","vs/editor/common/core/eolCounter","vs/editor/common/commands/replaceCommand","vs/editor/common/encodedTokenAttributes","vs/editor/common/languages/supports","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet","vs/editor/common/viewLayout/lineDecorations","vs/editor/contrib/snippet/browser/snippetParser","vs/base/browser/ui/iconLabel/iconLabels","vs/base/browser/ui/sash/sash","vs/base/browser/ui/actionbar/actionViewItems","vs/editor/browser/services/bulkEditService","vs/editor/standalone/common/standaloneTheme","vs/platform/layout/browser/layoutService","vs/editor/contrib/suggest/browser/suggest","vs/platform/quickinput/common/quickAccess","vs/editor/contrib/codeAction/browser/codeAction","vs/editor/contrib/peekView/browser/peekView","vs/base/browser/ui/tree/tree","vs/base/common/buffer","vs/base/common/numbers","vs/base/common/observableInternal/logging","vs/base/common/hash","vs/editor/browser/view/renderingContext","vs/editor/common/config/editorZoom","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/editorCommon","vs/editor/common/editorFeatures","vs/editor/common/viewEventHandler","vs/editor/contrib/inlineCompletions/browser/utils","vs/base/browser/globalPointerMoveMonitor","vs/base/browser/ui/toggle/toggle","vs/editor/common/languages/nullTokenize","vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/platform/dialogs/common/dialogs","vs/platform/instantiation/common/serviceCollection","vs/platform/label/common/label","vs/editor/browser/editorDom","vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/browser/widget/codeEditorWidget","vs/editor/browser/widget/embeddedCodeEditorWidget","vs/platform/workspace/common/workspace","vs/base/common/idGenerator","vs/base/common/observableInternal/base","vs/base/common/range","vs/base/common/scrollable","vs/base/common/diff/diff","vs/base/common/uint","vs/base/common/uuid","vs/base/common/dataTransfer","vs/base/browser/ui/codicons/codiconStyles","vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/platform/quickinput/browser/media/quickInput","vs/editor/common/core/textModelDefaults","vs/editor/common/diff/algorithms/diffAlgorithm","vs/editor/browser/editorBrowser","vs/editor/common/cursor/cursorWordOperations","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast","vs/editor/common/model/textModelSearch","vs/editor/contrib/folding/browser/foldingRanges","vs/base/browser/markdownRenderer","vs/base/browser/ui/tree/abstractTree","vs/editor/browser/controller/textAreaInput","vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture","vs/editor/common/services/textResourceConfiguration","vs/editor/contrib/documentSymbols/browser/outlineModel","vs/editor/browser/coreCommands","vs/editor/contrib/message/browser/messageController","vs/platform/list/browser/listService","vs/platform/undoRedo/common/undoRedo","vs/editor/contrib/find/browser/findModel","vs/editor/contrib/snippet/browser/snippetController2","vs/base/browser/ui/scrollbar/scrollbarState","vs/base/common/collections","vs/base/browser/dnd","vs/base/common/ternarySearchTree","vs/css!vs/editor/contrib/colorPicker/browser/colorPicker","vs/editor/browser/config/elementSizeObserver","vs/editor/browser/config/tabFocus","vs/editor/common/core/indentation","vs/editor/common/cursor/cursorMoveOperations","vs/editor/common/cursor/cursorDeleteOperations","vs/editor/common/cursor/cursorMoveCommands","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer","vs/editor/common/model/utils","vs/editor/common/standalone/standaloneEnums","vs/editor/common/textModelGuides","vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/editor/common/viewEvents","vs/editor/common/viewModel/overviewZoneManager","vs/editor/common/viewModelEventDispatcher","vs/editor/contrib/inlineCompletions/browser/commandIds","vs/editor/contrib/inlineCompletions/browser/ghostText","vs/base/common/keybindingLabels","vs/base/browser/canIUse","vs/base/browser/ui/tree/indexTreeModel","vs/base/browser/ui/tree/objectTreeModel","vs/base/common/extpath","vs/base/common/marshalling","vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/base/browser/ui/resizable/resizable","vs/base/browser/ui/scrollbar/scrollbarArrow","vs/base/browser/ui/list/listView","vs/base/browser/ui/iconLabel/iconLabel","vs/base/browser/ui/inputbox/inputBox","vs/base/browser/ui/findinput/findInput","vs/editor/browser/view/viewLayer","vs/editor/common/languages/supports/richEditBrackets","vs/editor/common/config/fontInfo","vs/platform/instantiation/common/descriptors","vs/editor/common/services/markerDecorations","vs/editor/common/services/semanticTokensStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/editor/contrib/parameterHints/browser/provideSignatureHelp","vs/editor/browser/widget/diffNavigator","vs/platform/contextkey/common/contextkeys","vs/platform/environment/common/environment","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/editor/common/config/editorConfigurationSchema","vs/editor/browser/services/editorWorkerService","vs/editor/common/languages/autoIndent","vs/editor/common/languages/enterAction","vs/editor/common/commands/shiftCommand","vs/editor/common/cursor/cursorTypeOperations","vs/editor/contrib/gotoSymbol/browser/goToSymbol","vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/editor/contrib/codeAction/browser/codeActionController","vs/editor/browser/viewParts/lines/viewLine","vs/editor/common/services/semanticTokensProviderStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/editor/browser/widget/diffEditorWidget","vs/editor/contrib/folding/browser/folding","vs/editor/contrib/inlineProgress/browser/inlineProgress","vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/editor/standalone/browser/standaloneServices","vs/base/browser/performance","vs/base/common/cache","vs/base/common/observableInternal/autorun","vs/base/common/ime","vs/base/common/symbols","vs/css!vs/base/browser/ui/actionbar/actionbar","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/css!vs/platform/actionWidget/browser/actionWidget","vs/editor/browser/viewParts/minimap/minimapCharSheet","vs/editor/common/config/diffEditor","vs/editor/browser/view/viewUserInputEvents","vs/editor/browser/controller/textAreaState","vs/editor/common/core/rgba","vs/editor/common/cursor/cursorAtomicMoveOperations","vs/editor/common/diff/advancedLinesDiffComputer","vs/editor/common/editorAction","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/textModelPart","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase","vs/editor/common/modelLineProjectionData","vs/editor/common/services/treeViewsDnd","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/model/guidesTextModelPart","vs/editor/common/tokens/contiguousMultilineTokensBuilder","vs/editor/browser/viewParts/margin/margin","vs/editor/contrib/comment/browser/blockCommentCommand","vs/editor/contrib/folding/browser/foldingModel","vs/editor/contrib/folding/browser/indentRangeProvider","vs/editor/contrib/folding/browser/syntaxRangeProvider","vs/editor/contrib/format/browser/formattingEdit","vs/editor/contrib/indentation/browser/indentUtils","vs/editor/contrib/inlineCompletions/browser/singleTextEdit","vs/editor/contrib/semanticTokens/common/semanticTokensConfig","vs/editor/contrib/smartSelect/browser/bracketSelections","vs/editor/contrib/stickyScroll/browser/stickyScrollElement","vs/editor/contrib/suggest/browser/completionModel","vs/editor/contrib/suggest/browser/wordDistance","vs/editor/standalone/common/monarch/monarchCommon","vs/base/common/glob","vs/base/browser/dompurify/dompurify","vs/base/browser/formattedTextRenderer","vs/base/browser/ui/contextview/contextview","vs/base/browser/ui/countBadge/countBadge","vs/base/browser/ui/highlightedlabel/highlightedLabel","vs/base/browser/ui/scrollbar/abstractScrollbar","vs/base/browser/ui/hover/hoverWidget","vs/base/browser/ui/splitview/splitview","vs/base/browser/ui/findinput/findInputToggles","vs/base/browser/ui/button/button","vs/base/browser/ui/iconLabel/iconLabelHover","vs/base/browser/ui/dropdown/dropdownActionViewItem","vs/base/browser/ui/tree/objectTree","vs/base/common/worker/simpleWorker","vs/editor/browser/widget/diffEditorWidget2/diffEditorViewModel","vs/editor/common/core/textChange","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer","vs/editor/contrib/hover/browser/hoverOperation","vs/editor/contrib/inlayHints/browser/inlayHints","vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/editor/browser/config/fontMeasurements","vs/editor/common/viewModel/viewModelDecorations","vs/editor/common/languages/textToHtmlTokenizer","vs/editor/common/services/editorBaseApi","vs/editor/common/viewModel/minimapTokensColorTracker","vs/editor/common/model/editStack","vs/platform/files/common/files","vs/editor/contrib/dropOrPasteInto/browser/edit","vs/editor/contrib/codelens/browser/codelens","vs/editor/contrib/semanticTokens/common/getSemanticTokens","vs/editor/standalone/common/monarch/monarchLexer","vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/platform/keybinding/common/keybindingResolver","vs/platform/keybinding/common/resolvedKeybindingItem","vs/editor/standalone/browser/standaloneLayoutService","vs/platform/quickinput/browser/quickInputUtils","vs/platform/dnd/browser/dnd","vs/editor/browser/dnd","vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider","vs/editor/contrib/colorPicker/browser/color","vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/platform/configuration/common/configurationModels","vs/platform/history/browser/contextScopedHistoryWidget","vs/editor/contrib/suggest/browser/suggestMemory","vs/editor/browser/widget/workerBasedDocumentDiffProvider","vs/editor/contrib/codeAction/browser/codeActionModel","vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/editor/contrib/format/browser/format","vs/editor/contrib/hover/browser/getHover","vs/editor/contrib/wordOperations/browser/wordOperations","vs/editor/browser/widget/diffReview","vs/editor/browser/controller/mouseTarget","vs/platform/quickinput/browser/quickInputList","vs/editor/browser/widget/diffEditorWidget2/overviewRulerPart","vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess","vs/editor/standalone/browser/standaloneCodeEditorService","vs/editor/standalone/browser/standaloneThemeService","vs/editor/browser/widget/diffEditorWidget2/decorations","vs/editor/contrib/colorPicker/browser/colorDetector","vs/editor/contrib/colorPicker/browser/colorHoverParticipant","vs/editor/contrib/find/browser/findController","vs/editor/contrib/folding/browser/foldingDecorations","vs/editor/contrib/hover/browser/contentHover","vs/editor/contrib/wordHighlighter/browser/highlightDecorations","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/inlayHintsLocations","vs/editor/contrib/inlayHints/browser/inlayHintsController","vs/editor/contrib/stickyScroll/browser/stickyScrollController","vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/editor/contrib/snippet/browser/snippetSession","vs/editor/contrib/suggest/browser/suggestController","vs/platform/workspace/common/workspaceTrust","vs/base/browser/iframe","vs/base/browser/ui/list/list","vs/base/browser/ui/list/splice","vs/base/common/diff/diffChange","vs/base/common/comparers","vs/base/common/linkedText","vs/base/common/marked/marked","vs/base/common/navigator","vs/base/common/history","vs/base/common/observableInternal/derived","vs/base/common/observableInternal/utils","vs/base/browser/ui/list/rangeMap","vs/base/common/search","vs/css!vs/base/browser/ui/aria/aria","vs/css!vs/base/browser/ui/button/button","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/css!vs/base/browser/ui/sash/sash","vs/css!vs/base/browser/ui/scrollbar/media/scrollbars","vs/css!vs/base/browser/ui/selectBox/selectBox","vs/css!vs/base/browser/ui/selectBox/selectBoxCustom","vs/css!vs/base/browser/ui/splitview/splitview","vs/css!vs/base/browser/ui/table/table","vs/css!vs/base/browser/ui/toggle/toggle","vs/css!vs/base/browser/ui/toolbar/toolbar","vs/css!vs/base/browser/ui/tree/media/tree","vs/css!vs/editor/browser/controller/textAreaHandler","vs/css!vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/margin/margin","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/viewParts/whitespace/whitespace","vs/css!vs/editor/browser/widget/diffEditorWidget2/style","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/dnd/browser/dnd","vs/css!vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/css!vs/editor/contrib/find/browser/findOptionsWidget","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/hover/browser/hover","vs/css!vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/css!vs/editor/contrib/inlineCompletions/browser/ghostText","vs/css!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/css!vs/editor/contrib/inlineProgress/browser/inlineProgressWidget","vs/css!vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/css!vs/editor/contrib/links/browser/links","vs/css!vs/editor/contrib/markdownRenderer/browser/renderedMarkdown","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/stickyScroll/browser/stickyScroll","vs/css!vs/editor/contrib/suggest/browser/media/suggest","vs/css!vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/css!vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/css!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/css!vs/editor/contrib/wordHighlighter/browser/highlightDecorations","vs/css!vs/editor/contrib/zoneWidget/browser/zoneWidget","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/opener/browser/link","vs/css!vs/platform/severityIcon/browser/media/severityIcon","vs/editor/browser/config/charWidthReader","vs/editor/browser/config/migrateOptions","vs/editor/browser/viewParts/lines/domReadingContext","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/browser/widget/diffEditorWidget2/delegatingEditorImpl","vs/editor/browser/widget/diffEditorWidget2/outlineModel","vs/editor/common/commands/trimTrailingWhitespaceCommand","vs/editor/common/commands/surroundSelectionCommand","vs/editor/common/cursor/cursorContext","vs/editor/common/diff/algorithms/joinSequenceDiffs","vs/editor/common/diff/algorithms/myersDiffAlgorithm","vs/editor/common/diff/algorithms/utils","vs/editor/common/diff/algorithms/dynamicProgrammingDiffing","vs/editor/common/diff/legacyLinesDiffComputer","vs/editor/common/diff/linesDiffComputers","vs/editor/common/editorTheme","vs/editor/common/languages/defaultDocumentColorsComputer","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/languageBracketsConfiguration","vs/editor/common/languages/supports/onEnter","vs/editor/common/languages/supports/tokenization","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees","vs/editor/common/model/bracketPairsTextModelPart/fixBrackets","vs/editor/common/model/fixedArray","vs/editor/common/model/indentationGuesser","vs/editor/common/model/intervalTree","vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase","vs/editor/common/model/mirrorTextModel","vs/editor/common/textModelBracketPairs","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree","vs/editor/common/tokenizationRegistry","vs/editor/common/tokens/contiguousMultilineTokens","vs/editor/common/tokens/contiguousTokensEditing","vs/editor/common/tokens/contiguousTokensStore","vs/editor/common/tokens/sparseMultilineTokens","vs/editor/common/tokens/sparseTokensStore","vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/rulers/rulers","vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/editor/browser/viewParts/viewZones/viewZones","vs/editor/common/viewLayout/linePart","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/comment/browser/lineCommentCommand","vs/editor/contrib/dnd/browser/dragAndDropCommand","vs/editor/contrib/find/browser/replaceAllCommand","vs/editor/contrib/find/browser/replacePattern","vs/editor/contrib/folding/browser/hiddenRangeModel","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand","vs/editor/contrib/linesOperations/browser/copyLinesCommand","vs/editor/contrib/linesOperations/browser/sortLinesCommand","vs/editor/contrib/smartSelect/browser/wordSelections","vs/editor/contrib/suggest/browser/suggestCommitCharacters","vs/editor/contrib/suggest/browser/suggestOvertypingCapturer","vs/editor/standalone/common/monarch/monarchCompile","vs/nls!vs/base/browser/ui/actionbar/actionViewItems","vs/nls!vs/base/browser/ui/findinput/findInput","vs/nls!vs/base/browser/ui/findinput/findInputToggles","vs/nls!vs/base/browser/ui/findinput/replaceInput","vs/nls!vs/base/browser/ui/hover/hoverWidget","vs/nls!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/selectBox/selectBoxCustom","vs/nls!vs/base/browser/ui/toolbar/toolbar","vs/nls!vs/base/browser/ui/tree/abstractTree","vs/nls!vs/base/common/actions","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/keybindingLabels","vs/nls!vs/base/common/platform","vs/base/browser/ui/scrollbar/scrollbarVisibilityController","vs/base/browser/ui/tree/compressedObjectTreeModel","vs/base/common/process","vs/base/common/fuzzyScorer","vs/base/common/labels","vs/base/browser/ui/dropdown/dropdown","vs/base/browser/ui/list/rowCache","vs/base/browser/ui/progressbar/progressbar","vs/base/browser/ui/selectBox/selectBoxNative","vs/base/browser/ui/scrollbar/horizontalScrollbar","vs/base/browser/ui/scrollbar/verticalScrollbar","vs/base/browser/ui/list/listPaging","vs/base/browser/ui/table/tableWidget","vs/base/browser/ui/selectBox/selectBoxCustom","vs/base/browser/ui/selectBox/selectBox","vs/base/browser/ui/findinput/replaceInput","vs/base/browser/ui/menu/menu","vs/base/browser/ui/toolbar/toolbar","vs/base/browser/ui/tree/dataTree","vs/base/browser/ui/tree/asyncDataTree","vs/base/browser/defaultWorkerFactory","vs/base/parts/storage/common/storage","vs/editor/browser/viewParts/contentWidgets/contentWidgets","vs/editor/browser/widget/diffEditorWidget2/diffEditorSash","vs/editor/browser/view/domLineBreaksComputer","vs/editor/browser/view/viewOverlays","vs/editor/common/languageSelector","vs/editor/common/languageFeatureRegistry","vs/editor/common/languages/supports/electricCharacter","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder","vs/editor/common/services/semanticTokensDto","vs/editor/contrib/hover/browser/resizableContentWidget","vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions","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/diffEditor.contribution","vs/nls!vs/editor/browser/widget/diffEditorWidget","vs/nls!vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/nls!vs/editor/browser/widget/diffEditorWidget2/colors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/decorations","vs/nls!vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/nls!vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/nls!vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","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/viewParts/viewCursors/viewCursor","vs/editor/browser/widget/diffEditorWidget2/diffEditorOptions","vs/nls!vs/editor/common/core/editorColorRegistry","vs/nls!vs/editor/common/editorContextKeys","vs/nls!vs/editor/common/languages","vs/editor/common/model/textModelTokens","vs/editor/common/model/tokenizationTextModelPart","vs/editor/common/services/editorSimpleWorker","vs/nls!vs/editor/common/languages/modesRegistry","vs/nls!vs/editor/common/model/editStack","vs/nls!vs/editor/common/standaloneStrings","vs/nls!vs/editor/common/viewLayout/viewLineRenderer","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/codeAction","vs/nls!vs/editor/contrib/codeAction/browser/codeActionCommands","vs/nls!vs/editor/contrib/codeAction/browser/codeActionContributions","vs/nls!vs/editor/contrib/codeAction/browser/codeActionController","vs/nls!vs/editor/contrib/codeAction/browser/codeActionMenu","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/colorPicker/browser/standaloneColorPickerActions","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/dropOrPasteInto/browser/copyPasteContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","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/commands","vs/nls!vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","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/readOnlyMessage/browser/contribution","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/stickyScroll/browser/stickyScrollActions","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/highlightDecorations","vs/nls!vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/nls!vs/editor/contrib/wordOperations/browser/wordOperations","vs/nls!vs/platform/action/common/actionCommonCategories","vs/nls!vs/platform/actionWidget/browser/actionList","vs/nls!vs/platform/actionWidget/browser/actionWidget","vs/nls!vs/platform/actions/browser/menuEntryActionViewItem","vs/nls!vs/platform/actions/browser/toolbar","vs/nls!vs/platform/actions/common/menuService","vs/nls!vs/platform/audioCues/browser/audioCueService","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/contextkey/browser/contextKeyService","vs/nls!vs/platform/contextkey/common/contextkey","vs/nls!vs/platform/contextkey/common/contextkeys","vs/nls!vs/platform/contextkey/common/scanner","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/quickinput/browser/quickInput","vs/nls!vs/platform/quickinput/browser/quickInputController","vs/nls!vs/platform/quickinput/browser/quickInputList","vs/nls!vs/platform/quickinput/browser/quickInputUtils","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/action/common/action","vs/platform/action/common/actionCommonCategories","vs/platform/contextkey/common/scanner","vs/platform/editor/common/editor","vs/platform/extensions/common/extensions","vs/platform/history/browser/historyWidgetKeybindingHint","vs/platform/instantiation/common/graph","vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","vs/editor/common/services/languageFeaturesService","vs/editor/common/services/treeViewsDndService","vs/editor/contrib/inlineCompletions/browser/ghostTextWidget","vs/editor/contrib/links/browser/getLinks","vs/editor/standalone/browser/colorizer","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/contextkey/browser/contextKeyService","vs/platform/instantiation/common/instantiationService","vs/platform/keybinding/common/baseResolvedKeybinding","vs/platform/keybinding/common/abstractKeybindingService","vs/platform/keybinding/common/usLayoutResolvedKeybinding","vs/platform/accessibility/browser/accessibilityService","vs/platform/contextview/browser/contextViewService","vs/platform/clipboard/browser/clipboardService","vs/platform/log/common/logService","vs/editor/contrib/gotoError/browser/markerNavigationService","vs/platform/markers/common/markerService","vs/editor/browser/services/openerService","vs/editor/contrib/documentSymbols/browser/documentSymbols","vs/platform/opener/browser/link","vs/platform/quickinput/browser/pickerQuickAccess","vs/platform/quickinput/browser/quickInputBox","vs/editor/browser/services/webWorker","vs/editor/common/cursor/cursor","vs/editor/common/services/getIconClasses","vs/editor/common/services/languagesAssociations","vs/editor/common/services/languagesRegistry","vs/editor/common/services/languageService","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource","vs/editor/contrib/linesOperations/browser/moveLinesCommand","vs/editor/contrib/hover/browser/marginHover","vs/platform/configuration/common/configurations","vs/editor/browser/widget/diffEditor.contribution","vs/editor/browser/widget/codeEditorContributions","vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/platform/quickinput/browser/helpQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess","vs/platform/quickinput/browser/quickAccess","vs/platform/severityIcon/browser/severityIcon","vs/editor/contrib/codelens/browser/codeLensCache","vs/platform/actions/common/menuService","vs/editor/browser/services/markerDecorations","vs/editor/browser/view/viewController","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/cursorUndo/browser/cursorUndo","vs/editor/contrib/editorState/browser/keybindingCancellation","vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver","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/longLinesHelper/browser/longLinesHelper","vs/editor/contrib/readOnlyMessage/browser/contribution","vs/editor/contrib/smartSelect/browser/smartSelect","vs/editor/contrib/suggest/browser/suggestInlineCompletions","vs/editor/contrib/tokenization/browser/tokenization","vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/editor/contrib/wordPartOperations/browser/wordPartOperations","vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/platform/actions/browser/toolbar","vs/platform/quickinput/browser/commandsQuickAccess","vs/editor/contrib/quickAccess/browser/commandsQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess","vs/editor/browser/viewParts/minimap/minimap","vs/editor/browser/widget/diffEditorWidget2/colors","vs/editor/contrib/codeAction/browser/codeActionMenu","vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/platform/actionWidget/browser/actionList","vs/platform/actionWidget/browser/actionWidget","vs/editor/contrib/codeAction/browser/codeActionCommands","vs/editor/contrib/codeAction/browser/codeActionContributions","vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/editor/contrib/parameterHints/browser/parameterHints","vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/platform/theme/browser/iconsStyleSheet","vs/editor/browser/controller/mouseHandler","vs/editor/browser/controller/pointerHandler","vs/editor/browser/viewParts/lines/viewLines","vs/platform/quickinput/browser/quickInput","vs/platform/quickinput/browser/quickInputController","vs/editor/browser/services/abstractCodeEditorService","vs/editor/browser/viewParts/editorScrollbar/editorScrollbar","vs/editor/browser/viewParts/selections/selections","vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","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/viewCursors/viewCursors","vs/editor/browser/viewParts/whitespace/whitespace","vs/editor/browser/view","vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider","vs/editor/common/services/markerDecorationsService","vs/editor/common/services/semanticTokensStylingService","vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/editor/contrib/rename/browser/renameInputField","vs/editor/contrib/rename/browser/rename","vs/editor/contrib/semanticTokens/browser/documentSemanticTokens","vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens","vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess","vs/editor/standalone/common/themes","vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast","vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/platform/contextview/browser/contextMenuService","vs/platform/quickinput/browser/quickInputService","vs/editor/standalone/browser/quickInput/standaloneQuickInputService","vs/editor/browser/widget/diffEditorWidget2/diffEditorDecorations","vs/editor/common/services/modelService","vs/editor/common/viewModel/viewModelLines","vs/editor/common/viewModel/viewModelImpl","vs/editor/browser/widget/diffEditorWidget2/renderLines","vs/editor/browser/widget/diffEditorWidget2/lineAlignment","vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2","vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/editor/contrib/codelens/browser/codelensWidget","vs/editor/contrib/codelens/browser/codelensController","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/colorPicker/browser/standaloneColorPickerWidget","vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/editor/contrib/links/browser/links","vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollWidget","vs/editor/contrib/suggest/browser/suggestWidget","vs/editor/contrib/multicursor/browser/multicursor","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/inlayHintsHover","vs/editor/contrib/inlayHints/browser/inlayHintsContribution","vs/editor/contrib/stickyScroll/browser/stickyScrollActions","vs/editor/contrib/stickyScroll/browser/stickyScrollContribution","vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch","vs/platform/undoRedo/common/undoRedoService","vs/editor/contrib/contextmenu/browser/contextmenu","vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/editor/contrib/snippet/browser/snippetVariables","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel","vs/editor/contrib/suggest/browser/suggestModel","vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider","vs/editor/contrib/inlineCompletions/browser/commands","vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution","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/css","vs/editor/edcore.main"],se=function(Q){for(var e=[],L=0,k=Q.length;L{g({})},n=>{typeof g.error=="function"&&g.error("Could not find "+i+".")})}e.load=L;function k(f,_,g,C){if(y(f,_)){g();return}D(f,_,g,C)}function y(f,_){const g=document.getElementsByTagName("link");for(let C=0,s=g.length;C{_.removeEventListener("load",i),_.removeEventListener("error",n)},i=t=>{s(),g()},n=t=>{s(),C(t)};_.addEventListener("load",i),_.addEventListener("error",n)}});var we=this&&this.__awaiter||function(Q,e,L,k){function y(D){return D instanceof L?D:new L(function(S){S(D)})}return new(L||(L=Promise))(function(D,S){function f(C){try{g(k.next(C))}catch(s){S(s)}}function _(C){try{g(k.throw(C))}catch(s){S(s)}}function g(C){C.done?D(C.value):y(C.value).then(f,_)}g((k=k.apply(Q,e||[])).next())})};define(ne[3],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.load=e.create=e.setPseudoTranslation=e.getConfiguredDefaultLocale=e.localize=void 0;let L=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const k="i-default";function y(t,a){let u;return a.length===0?u=t:u=t.replace(/\{(\d+)\}/g,(h,r)=>{const c=r[0],o=a[c];let d=h;return typeof o=="string"?d=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(d=String(o)),d}),L&&(u="\uFF3B"+u.replace(/[aouei]/g,"$&$&")+"\uFF3D"),u}function D(t,a){let u=t[a];return u||(u=t["*"],u)?u:null}function S(t){return t.charAt(t.length-1)==="/"?t:t+"/"}function f(t,a,u){return we(this,void 0,void 0,function*(){const h=S(t)+S(a)+"vscode/"+S(u),r=yield fetch(h);if(r.ok)return yield r.json();throw new Error(`${r.status} - ${r.statusText}`)})}function _(t){return function(a,u){const h=Array.prototype.slice.call(arguments,2);return y(t[a],h)}}function g(t,a,...u){return y(a,u)}e.localize=g;function C(t){}e.getConfiguredDefaultLocale=C;function s(t){L=t}e.setPseudoTranslation=s;function i(t,a){var u;return{localize:_(a[t]),getConfiguredDefaultLocale:(u=a.getConfiguredDefaultLocale)!==null&&u!==void 0?u:h=>{}}}e.create=i;function n(t,a,u,h){var r;const c=(r=h["vs/nls"])!==null&&r!==void 0?r:{};if(!t||t.length===0)return u({localize:g,getConfiguredDefaultLocale:()=>{var m;return(m=c.availableLanguages)===null||m===void 0?void 0:m["*"]}});const o=c.availableLanguages?D(c.availableLanguages,t):null,d=o===null||o===k;let l=".nls";d||(l=l+"."+o);const p=m=>{Array.isArray(m)?m.localize=_(m):m.localize=_(m[t]),m.getConfiguredDefaultLocale=()=>{var v;return(v=c.availableLanguages)===null||v===void 0?void 0:v["*"]},u(m)};typeof c.loadBundle=="function"?c.loadBundle(t,o,(m,v)=>{m?a([t+".nls"],p):p(v)}):c.translationServiceUrl&&!d?we(this,void 0,void 0,function*(){var m;try{const v=yield f(c.translationServiceUrl,o,t);return p(v)}catch(v){if(!o.includes("-"))return console.error(v),a([t+".nls"],p);try{const b=o.split("-")[0],w=yield f(c.translationServiceUrl,b,t);return(m=c.availableLanguages)!==null&&m!==void 0||(c.availableLanguages={}),c.availableLanguages["*"]=b,p(w)}catch(b){return console.error(b),a([t+".nls"],p)}}}):a([t+l],p,m=>{if(l===".nls"){console.error("Failed trying to load default language strings",m);return}console.error(`Failed to load message bundle for language ${o}. Falling back to the default language:`,m),a([t+".nls"],p)})}e.load=n});/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:Wt,setPrototypeOf:Vt,isFrozen:Yt,getPrototypeOf:Qt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:pt,seal:bt,create:Jt}=Object,{apply:At,construct:Rt}=typeof Reflect<"u"&&Reflect;At||(At=function(e,L,k){return e.apply(L,k)}),pt||(pt=function(e){return e}),bt||(bt=function(e){return e}),Rt||(Rt=function(e,L){return new e(...L)});const ei=Ct(Array.prototype.forEach),zt=Ct(Array.prototype.pop),It=Ct(Array.prototype.push),Tt=Ct(String.prototype.toLowerCase),Pt=Ct(String.prototype.toString),ti=Ct(String.prototype.match),_t=Ct(String.prototype.replace),ii=Ct(String.prototype.indexOf),ni=Ct(String.prototype.trim),vt=Ct(RegExp.prototype.test),kt=si(TypeError);function Ct(Q){return function(e){for(var L=arguments.length,k=new Array(L>1?L-1:0),y=1;y/gm),di=bt(/\${[\w\W]*}/gm),ci=bt(/^data-[\-\w.\u00B7-\uFFFF]/),ui=bt(/^aria-[\-\w]+$/),jt=bt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hi=bt(/^(?:\w+script|data):/i),gi=bt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$t=bt(/^html$/i);var Gt=Object.freeze({__proto__:null,MUSTACHE_EXPR:ai,ERB_EXPR:li,TMPLIT_EXPR:di,DATA_ATTR:ci,ARIA_ATTR:ui,IS_ALLOWED_URI:jt,IS_SCRIPT_OR_DATA:hi,ATTR_WHITESPACE:gi,DOCTYPE_NAME:$t});const fi=()=>typeof window>"u"?null:window,mi=function(e,L){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let k=null;const y="data-tt-policy-suffix";L&&L.hasAttribute(y)&&(k=L.getAttribute(y));const D="dompurify"+(k?"#"+k:"");try{return e.createPolicy(D,{createHTML(S){return S},createScriptURL(S){return S}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}};function Zt(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fi();const e=Be=>Zt(Be);if(e.version="3.0.5",e.removed=[],!Q||!Q.document||Q.document.nodeType!==9)return e.isSupported=!1,e;const L=Q.document,k=L.currentScript;let{document:y}=Q;const{DocumentFragment:D,HTMLTemplateElement:S,Node:f,Element:_,NodeFilter:g,NamedNodeMap:C=Q.NamedNodeMap||Q.MozNamedAttrMap,HTMLFormElement:s,DOMParser:i,trustedTypes:n}=Q,t=_.prototype,a=Nt(t,"cloneNode"),u=Nt(t,"nextSibling"),h=Nt(t,"childNodes"),r=Nt(t,"parentNode");if(typeof S=="function"){const Be=y.createElement("template");Be.content&&Be.content.ownerDocument&&(y=Be.content.ownerDocument)}let c,o="";const{implementation:d,createNodeIterator:l,createDocumentFragment:p,getElementsByTagName:m}=y,{importNode:v}=L;let b={};e.isSupported=typeof Wt=="function"&&typeof r=="function"&&d&&d.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:w,ERB_EXPR:E,TMPLIT_EXPR:I,DATA_ATTR:M,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:x,ATTR_WHITESPACE:T}=Gt;let{IS_ALLOWED_URI:A}=Gt,N=null;const F=Je({},[...Ht,...Ot,...Ft,...xt,...Ut]);let O=null;const W=Je({},[...Kt,...Bt,...qt,...Mt]);let U=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,R=null,K=!0,G=!0,Z=!1,J=!0,X=!1,H=!1,B=!1,V=!1,Y=!1,ie=!1,ae=!1,ce=!0,de=!1;const he="user-content-";let ue=!0,te=!1,q={},z=null;const ee=Je({},["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"]);let $=null;const re=Je({},["audio","video","img","source","image","track"]);let oe=null;const ge=Je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ve="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml";let De=Le,ye=!1,Ee=null;const Me=Je({},[ve,Se,Le],Pt);let Pe;const Fe=["application/xhtml+xml","text/html"],_e="text/html";let me,le=null;const pe=y.createElement("form"),Ce=function(Te){return Te instanceof RegExp||Te instanceof Function},be=function(Te){if(!(le&&le===Te)){if((!Te||typeof Te!="object")&&(Te={}),Te=Et(Te),Pe=Fe.indexOf(Te.PARSER_MEDIA_TYPE)===-1?Pe=_e:Pe=Te.PARSER_MEDIA_TYPE,me=Pe==="application/xhtml+xml"?Pt:Tt,N="ALLOWED_TAGS"in Te?Je({},Te.ALLOWED_TAGS,me):F,O="ALLOWED_ATTR"in Te?Je({},Te.ALLOWED_ATTR,me):W,Ee="ALLOWED_NAMESPACES"in Te?Je({},Te.ALLOWED_NAMESPACES,Pt):Me,oe="ADD_URI_SAFE_ATTR"in Te?Je(Et(ge),Te.ADD_URI_SAFE_ATTR,me):ge,$="ADD_DATA_URI_TAGS"in Te?Je(Et(re),Te.ADD_DATA_URI_TAGS,me):re,z="FORBID_CONTENTS"in Te?Je({},Te.FORBID_CONTENTS,me):ee,j="FORBID_TAGS"in Te?Je({},Te.FORBID_TAGS,me):{},R="FORBID_ATTR"in Te?Je({},Te.FORBID_ATTR,me):{},q="USE_PROFILES"in Te?Te.USE_PROFILES:!1,K=Te.ALLOW_ARIA_ATTR!==!1,G=Te.ALLOW_DATA_ATTR!==!1,Z=Te.ALLOW_UNKNOWN_PROTOCOLS||!1,J=Te.ALLOW_SELF_CLOSE_IN_ATTR!==!1,X=Te.SAFE_FOR_TEMPLATES||!1,H=Te.WHOLE_DOCUMENT||!1,Y=Te.RETURN_DOM||!1,ie=Te.RETURN_DOM_FRAGMENT||!1,ae=Te.RETURN_TRUSTED_TYPE||!1,V=Te.FORCE_BODY||!1,ce=Te.SANITIZE_DOM!==!1,de=Te.SANITIZE_NAMED_PROPS||!1,ue=Te.KEEP_CONTENT!==!1,te=Te.IN_PLACE||!1,A=Te.ALLOWED_URI_REGEXP||jt,De=Te.NAMESPACE||Le,U=Te.CUSTOM_ELEMENT_HANDLING||{},Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&typeof Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ie&&(Y=!0),q&&(N=Je({},[...Ut]),O=[],q.html===!0&&(Je(N,Ht),Je(O,Kt)),q.svg===!0&&(Je(N,Ot),Je(O,Bt),Je(O,Mt)),q.svgFilters===!0&&(Je(N,Ft),Je(O,Bt),Je(O,Mt)),q.mathMl===!0&&(Je(N,xt),Je(O,qt),Je(O,Mt))),Te.ADD_TAGS&&(N===F&&(N=Et(N)),Je(N,Te.ADD_TAGS,me)),Te.ADD_ATTR&&(O===W&&(O=Et(O)),Je(O,Te.ADD_ATTR,me)),Te.ADD_URI_SAFE_ATTR&&Je(oe,Te.ADD_URI_SAFE_ATTR,me),Te.FORBID_CONTENTS&&(z===ee&&(z=Et(z)),Je(z,Te.FORBID_CONTENTS,me)),ue&&(N["#text"]=!0),H&&Je(N,["html","head","body"]),N.table&&(Je(N,["tbody"]),delete j.tbody),Te.TRUSTED_TYPES_POLICY){if(typeof Te.TRUSTED_TYPES_POLICY.createHTML!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Te.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');c=Te.TRUSTED_TYPES_POLICY,o=c.createHTML("")}else c===void 0&&(c=mi(n,k)),c!==null&&typeof o=="string"&&(o=c.createHTML(""));pt&&pt(Te),le=Te}},Ie=Je({},["mi","mo","mn","ms","mtext"]),Ne=Je({},["foreignobject","desc","title","annotation-xml"]),Re=Je({},["title","style","font","a","script"]),Ve=Je({},Ot);Je(Ve,Ft),Je(Ve,oi);const ze=Je({},xt);Je(ze,ri);const We=function(Te){let xe=r(Te);(!xe||!xe.tagName)&&(xe={namespaceURI:De,tagName:"template"});const He=Tt(Te.tagName),Ye=Tt(xe.tagName);return Ee[Te.namespaceURI]?Te.namespaceURI===Se?xe.namespaceURI===Le?He==="svg":xe.namespaceURI===ve?He==="svg"&&(Ye==="annotation-xml"||Ie[Ye]):!!Ve[He]:Te.namespaceURI===ve?xe.namespaceURI===Le?He==="math":xe.namespaceURI===Se?He==="math"&&Ne[Ye]:!!ze[He]:Te.namespaceURI===Le?xe.namespaceURI===Se&&!Ne[Ye]||xe.namespaceURI===ve&&!Ie[Ye]?!1:!ze[He]&&(Re[He]||!Ve[He]):!!(Pe==="application/xhtml+xml"&&Ee[Te.namespaceURI]):!1},qe=function(Te){It(e.removed,{element:Te});try{Te.parentNode.removeChild(Te)}catch{Te.remove()}},Oe=function(Te,xe){try{It(e.removed,{attribute:xe.getAttributeNode(Te),from:xe})}catch{It(e.removed,{attribute:null,from:xe})}if(xe.removeAttribute(Te),Te==="is"&&!O[Te])if(Y||ie)try{qe(xe)}catch{}else try{xe.setAttribute(Te,"")}catch{}},Ge=function(Te){let xe,He;if(V)Te=""+Te;else{const Xe=ti(Te,/^[\r\n\t ]+/);He=Xe&&Xe[0]}Pe==="application/xhtml+xml"&&De===Le&&(Te=''+Te+"");const Ye=c?c.createHTML(Te):Te;if(De===Le)try{xe=new i().parseFromString(Ye,Pe)}catch{}if(!xe||!xe.documentElement){xe=d.createDocument(De,"template",null);try{xe.documentElement.innerHTML=ye?o:Ye}catch{}}const Ze=xe.body||xe.documentElement;return Te&&He&&Ze.insertBefore(y.createTextNode(He),Ze.childNodes[0]||null),De===Le?m.call(xe,H?"html":"body")[0]:H?xe.documentElement:Ze},Qe=function(Te){return l.call(Te.ownerDocument||Te,Te,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,null,!1)},st=function(Te){return Te instanceof s&&(typeof Te.nodeName!="string"||typeof Te.textContent!="string"||typeof Te.removeChild!="function"||!(Te.attributes instanceof C)||typeof Te.removeAttribute!="function"||typeof Te.setAttribute!="function"||typeof Te.namespaceURI!="string"||typeof Te.insertBefore!="function"||typeof Te.hasChildNodes!="function")},nt=function(Te){return typeof f=="object"?Te instanceof f:Te&&typeof Te=="object"&&typeof Te.nodeType=="number"&&typeof Te.nodeName=="string"},ot=function(Te,xe,He){b[Te]&&ei(b[Te],Ye=>{Ye.call(e,xe,He,le)})},ct=function(Te){let xe;if(ot("beforeSanitizeElements",Te,null),st(Te))return qe(Te),!0;const He=me(Te.nodeName);if(ot("uponSanitizeElement",Te,{tagName:He,allowedTags:N}),Te.hasChildNodes()&&!nt(Te.firstElementChild)&&(!nt(Te.content)||!nt(Te.content.firstElementChild))&&vt(/<[/\w]/g,Te.innerHTML)&&vt(/<[/\w]/g,Te.textContent))return qe(Te),!0;if(!N[He]||j[He]){if(!j[He]&>(He)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He)))return!1;if(ue&&!z[He]){const Ye=r(Te)||Te.parentNode,Ze=h(Te)||Te.childNodes;if(Ze&&Ye){const Xe=Ze.length;for(let je=Xe-1;je>=0;--je)Ye.insertBefore(a(Ze[je],!0),u(Te))}}return qe(Te),!0}return Te instanceof _&&!We(Te)||(He==="noscript"||He==="noembed"||He==="noframes")&&vt(/<\/no(script|embed|frames)/i,Te.innerHTML)?(qe(Te),!0):(X&&Te.nodeType===3&&(xe=Te.textContent,xe=_t(xe,w," "),xe=_t(xe,E," "),xe=_t(xe,I," "),Te.textContent!==xe&&(It(e.removed,{element:Te.cloneNode()}),Te.textContent=xe)),ot("afterSanitizeElements",Te,null),!1)},lt=function(Te,xe,He){if(ce&&(xe==="id"||xe==="name")&&(He in y||He in pe))return!1;if(!(G&&!R[xe]&&vt(M,xe))){if(!(K&&vt(P,xe))){if(!O[xe]||R[xe]){if(!(gt(Te)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,Te)||U.tagNameCheck instanceof Function&&U.tagNameCheck(Te))&&(U.attributeNameCheck instanceof RegExp&&vt(U.attributeNameCheck,xe)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(xe))||xe==="is"&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He))))return!1}else if(!oe[xe]){if(!vt(A,_t(He,T,""))){if(!((xe==="src"||xe==="xlink:href"||xe==="href")&&Te!=="script"&&ii(He,"data:")===0&&$[Te])){if(!(Z&&!vt(x,_t(He,T,"")))){if(He)return!1}}}}}}return!0},gt=function(Te){return Te.indexOf("-")>0},at=function(Te){let xe,He,Ye,Ze;ot("beforeSanitizeAttributes",Te,null);const{attributes:Xe}=Te;if(!Xe)return;const je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O};for(Ze=Xe.length;Ze--;){xe=Xe[Ze];const{name:Ae,namespaceURI:Ue}=xe;if(He=Ae==="value"?xe.value:ni(xe.value),Ye=me(Ae),je.attrName=Ye,je.attrValue=He,je.keepAttr=!0,je.forceKeepAttr=void 0,ot("uponSanitizeAttribute",Te,je),He=je.attrValue,je.forceKeepAttr||(Oe(Ae,Te),!je.keepAttr))continue;if(!J&&vt(/\/>/i,He)){Oe(Ae,Te);continue}X&&(He=_t(He,w," "),He=_t(He,E," "),He=_t(He,I," "));const Ke=me(Te.nodeName);if(lt(Ke,Ye,He)){if(de&&(Ye==="id"||Ye==="name")&&(Oe(Ae,Te),He=he+He),c&&typeof n=="object"&&typeof n.getAttributeType=="function"&&!Ue)switch(n.getAttributeType(Ke,Ye)){case"TrustedHTML":{He=c.createHTML(He);break}case"TrustedScriptURL":{He=c.createScriptURL(He);break}}try{Ue?Te.setAttributeNS(Ue,Ae,He):Te.setAttribute(Ae,He),zt(e.removed)}catch{}}}ot("afterSanitizeAttributes",Te,null)},ht=function Be(Te){let xe;const He=Qe(Te);for(ot("beforeSanitizeShadowDOM",Te,null);xe=He.nextNode();)ot("uponSanitizeShadowNode",xe,null),!ct(xe)&&(xe.content instanceof D&&Be(xe.content),at(xe));ot("afterSanitizeShadowDOM",Te,null)};return e.sanitize=function(Be){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe,He,Ye,Ze;if(ye=!Be,ye&&(Be=""),typeof Be!="string"&&!nt(Be))if(typeof Be.toString=="function"){if(Be=Be.toString(),typeof Be!="string")throw kt("dirty is not a string, aborting")}else throw kt("toString is not a function");if(!e.isSupported)return Be;if(B||be(Te),e.removed=[],typeof Be=="string"&&(te=!1),te){if(Be.nodeName){const Ae=me(Be.nodeName);if(!N[Ae]||j[Ae])throw kt("root node is forbidden and cannot be sanitized in-place")}}else if(Be instanceof f)xe=Ge(""),He=xe.ownerDocument.importNode(Be,!0),He.nodeType===1&&He.nodeName==="BODY"||He.nodeName==="HTML"?xe=He:xe.appendChild(He);else{if(!Y&&!X&&!H&&Be.indexOf("<")===-1)return c&&ae?c.createHTML(Be):Be;if(xe=Ge(Be),!xe)return Y?null:ae?o:""}xe&&V&&qe(xe.firstChild);const Xe=Qe(te?Be:xe);for(;Ye=Xe.nextNode();)ct(Ye)||(Ye.content instanceof D&&ht(Ye.content),at(Ye));if(te)return Be;if(Y){if(ie)for(Ze=p.call(xe.ownerDocument);xe.firstChild;)Ze.appendChild(xe.firstChild);else Ze=xe;return(O.shadowroot||O.shadowrootmode)&&(Ze=v.call(L,Ze,!0)),Ze}let je=H?xe.outerHTML:xe.innerHTML;return H&&N["!doctype"]&&xe.ownerDocument&&xe.ownerDocument.doctype&&xe.ownerDocument.doctype.name&&vt($t,xe.ownerDocument.doctype.name)&&(je=" -`+je),X&&(je=_t(je,w," "),je=_t(je,E," "),je=_t(je,I," ")),c&&ae?c.createHTML(je):je},e.setConfig=function(Be){be(Be),B=!0},e.clearConfig=function(){le=null,B=!1},e.isValidAttribute=function(Be,Te,xe){le||be({});const He=me(Be),Ye=me(Te);return lt(He,Ye,xe)},e.addHook=function(Be,Te){typeof Te=="function"&&(b[Be]=b[Be]||[],It(b[Be],Te))},e.removeHook=function(Be){if(b[Be])return zt(b[Be])},e.removeHooks=function(Be){b[Be]&&(b[Be]=[])},e.removeAllHooks=function(){b={}},e}var pi=Zt();define("vs/base/browser/dompurify/dompurify",function(){return pi}),define(ne[35],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class L{constructor(S){this.domNode=S,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(S){const f=k(S);this._maxWidth!==f&&(this._maxWidth=f,this.domNode.style.maxWidth=this._maxWidth)}setWidth(S){const f=k(S);this._width!==f&&(this._width=f,this.domNode.style.width=this._width)}setHeight(S){const f=k(S);this._height!==f&&(this._height=f,this.domNode.style.height=this._height)}setTop(S){const f=k(S);this._top!==f&&(this._top=f,this.domNode.style.top=this._top)}setLeft(S){const f=k(S);this._left!==f&&(this._left=f,this.domNode.style.left=this._left)}setBottom(S){const f=k(S);this._bottom!==f&&(this._bottom=f,this.domNode.style.bottom=this._bottom)}setRight(S){const f=k(S);this._right!==f&&(this._right=f,this.domNode.style.right=this._right)}setPaddingLeft(S){const f=k(S);this._paddingLeft!==f&&(this._paddingLeft=f,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(S){this._fontFamily!==S&&(this._fontFamily=S,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(S){this._fontWeight!==S&&(this._fontWeight=S,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(S){const f=k(S);this._fontSize!==f&&(this._fontSize=f,this.domNode.style.fontSize=this._fontSize)}setFontStyle(S){this._fontStyle!==S&&(this._fontStyle=S,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(S){this._fontFeatureSettings!==S&&(this._fontFeatureSettings=S,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(S){this._fontVariationSettings!==S&&(this._fontVariationSettings=S,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(S){this._textDecoration!==S&&(this._textDecoration=S,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(S){const f=k(S);this._lineHeight!==f&&(this._lineHeight=f,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(S){const f=k(S);this._letterSpacing!==f&&(this._letterSpacing=f,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(S){this._className!==S&&(this._className=S,this.domNode.className=this._className)}toggleClassName(S,f){this.domNode.classList.toggle(S,f),this._className=this.domNode.className}setDisplay(S){this._display!==S&&(this._display=S,this.domNode.style.display=this._display)}setPosition(S){this._position!==S&&(this._position=S,this.domNode.style.position=this._position)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this.domNode.style.visibility=this._visibility)}setColor(S){this._color!==S&&(this._color=S,this.domNode.style.color=this._color)}setBackgroundColor(S){this._backgroundColor!==S&&(this._backgroundColor=S,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(S){this._layerHint!==S&&(this._layerHint=S,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(S){this._boxShadow!==S&&(this._boxShadow=S,this.domNode.style.boxShadow=S)}setContain(S){this._contain!==S&&(this._contain=S,this.domNode.style.contain=this._contain)}setAttribute(S,f){this.domNode.setAttribute(S,f)}removeAttribute(S){this.domNode.removeAttribute(S)}appendChild(S){this.domNode.appendChild(S.domNode)}removeChild(S){this.domNode.removeChild(S.domNode)}}e.FastDomNode=L;function k(D){return typeof D=="number"?`${D}px`:D}function y(D){return new L(D)}e.createFastDomNode=y}),define(ne[380],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let L=!1,k=null;function y(S){if(!S.parent||S.parent===S)return null;try{const f=S.location,_=S.parent.location;if(f.origin!=="null"&&_.origin!=="null"&&f.origin!==_.origin)return L=!0,null}catch{return L=!0,null}return S.parent}class D{static getSameOriginWindowChain(){if(!k){k=[];let f=window,_;do _=y(f),_?k.push({window:f,iframeElement:f.frameElement||null}):k.push({window:f,iframeElement:null}),f=_;while(f)}return k.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(f,_){if(!_||f===_)return{top:0,left:0};let g=0,C=0;const s=this.getSameOriginWindowChain();for(const i of s){if(g+=i.window.scrollY,C+=i.window.scrollX,i.window===_||!i.iframeElement)break;const n=i.iframeElement.getBoundingClientRect();g+=n.top,C+=n.left}return{top:g,left:C}}}e.IframeUtils=D}),define(ne[260],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inputLatency=void 0;var L;(function(k){const y={total:0,min:Number.MAX_VALUE,max:0},D=Object.assign({},y),S=Object.assign({},y),f=Object.assign({},y);let _=0;const g={keydown:0,input:0,render:0};function C(){o(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),g.keydown=1,queueMicrotask(s)}k.onKeyDown=C;function s(){g.keydown===1&&(performance.mark("keydown/end"),g.keydown=2)}function i(){performance.mark("input/start"),g.input=1,c()}k.onBeforeInput=i;function n(){g.input===0&&i(),queueMicrotask(t)}k.onInput=n;function t(){g.input===1&&(performance.mark("input/end"),g.input=2)}function a(){o()}k.onKeyUp=a;function u(){o()}k.onSelectionChange=u;function h(){g.keydown===2&&g.input===2&&g.render===0&&(performance.mark("render/start"),g.render=1,queueMicrotask(r),c())}k.onRenderStart=h;function r(){g.render===1&&(performance.mark("render/end"),g.render=2)}function c(){setTimeout(o)}function o(){g.keydown===2&&g.input===2&&g.render===2&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),d("keydown",y),d("input",D),d("render",S),d("inputlatency",f),_++,l())}function d(b,w){const E=performance.getEntriesByName(b)[0].duration;w.total+=E,w.min=Math.min(w.min,E),w.max=Math.max(w.max,E)}function l(){performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),g.keydown=0,g.input=0,g.render=0}function p(){if(_===0)return;const b={keydown:m(y),input:m(D),render:m(S),total:m(f),sampleCount:_};return v(y),v(D),v(S),v(f),_=0,b}k.getAndClearMeasurements=p;function m(b){return{average:b.total/_,max:b.max,min:b.min}}function v(b){b.total=0,b.min=Number.MAX_VALUE,b.max=0}})(L||(e.inputLatency=L={}))}),define(ne[381],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class L extends Error{constructor(y,D){super(`ListError [${y}] ${D}`)}}e.ListError=L}),define(ne[382],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class L{constructor(y){this.spliceables=y}splice(y,D,S){this.spliceables.forEach(f=>f.splice(y,D,S))}}e.CombinedSpliceable=L}),define(ne[195],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const L=20;class k{constructor(D,S,f,_,g,C){this._scrollbarSize=Math.round(S),this._oppositeScrollbarSize=Math.round(f),this._arrowSize=Math.round(D),this._visibleSize=_,this._scrollSize=g,this._scrollPosition=C,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new k(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(D){const S=Math.round(D);return this._visibleSize!==S?(this._visibleSize=S,this._refreshComputedValues(),!0):!1}setScrollSize(D){const S=Math.round(D);return this._scrollSize!==S?(this._scrollSize=S,this._refreshComputedValues(),!0):!1}setScrollPosition(D){const S=Math.round(D);return this._scrollPosition!==S?(this._scrollPosition=S,this._refreshComputedValues(),!0):!1}setScrollbarSize(D){this._scrollbarSize=Math.round(D)}setOppositeScrollbarSize(D){this._oppositeScrollbarSize=Math.round(D)}static _computeValues(D,S,f,_,g){const C=Math.max(0,f-D),s=Math.max(0,C-2*S),i=_>0&&_>f;if(!i)return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const n=Math.round(Math.max(L,Math.floor(f*s/_))),t=(s-n)/(_-f),a=g*t;return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(n),computedSliderRatio:t,computedSliderPosition:Math.round(a)}}_refreshComputedValues(){const D=k._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=D.computedAvailableSize,this._computedIsNeeded=D.computedIsNeeded,this._computedSliderSize=D.computedSliderSize,this._computedSliderRatio=D.computedSliderRatio,this._computedSliderPosition=D.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(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize-this._computedSliderSize/2;return Math.round(S/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize;let f=this._scrollPosition;return SZ===J){if(R===K)return!0;if(!R||!K||R.length!==K.length)return!1;for(let Z=0,J=R.length;ZG(R[Z],K))}e.binarySearch=S;function f(R,K){let G=0,Z=R-1;for(;G<=Z;){const J=(G+Z)/2|0,X=K(J);if(X<0)G=J+1;else if(X>0)Z=J-1;else return J}return-(G+1)}e.binarySearch2=f;function _(R,K){let G=0,Z=R.length;if(Z===0)return 0;for(;G=K.length)throw new TypeError("invalid index");const Z=K[Math.floor(K.length*Math.random())],J=[],X=[],H=[];for(const B of K){const V=G(B,Z);V<0?J.push(B):V>0?X.push(B):H.push(B)}return R!!K)}e.coalesce=s;function i(R){let K=0;for(let G=0;G0}e.isNonEmptyArray=t;function a(R,K=G=>G){const G=new Set;return R.filter(Z=>{const J=K(Z);return G.has(J)?!1:(G.add(J),!0)})}e.distinct=a;function u(R,K){const G=h(R,K);if(G!==-1)return R[G]}e.findLast=u;function h(R,K){for(let G=R.length-1;G>=0;G--){const Z=R[G];if(K(Z))return G}return-1}e.findLastIndex=h;function r(R,K){return R.length>0?R[0]:K}e.firstOrDefault=r;function c(R,K){let G=typeof K=="number"?R:0;typeof K=="number"?G=R:(G=0,K=R);const Z=[];if(G<=K)for(let J=G;JK;J--)Z.push(J);return Z}e.range=c;function o(R,K,G){const Z=R.slice(0,K),J=R.slice(K);return Z.concat(G,J)}e.arrayInsert=o;function d(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.unshift(K))}e.pushToStart=d;function l(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.push(K))}e.pushToEnd=l;function p(R,K){for(const G of K)R.push(G)}e.pushMany=p;function m(R){return Array.isArray(R)?R:[R]}e.asArray=m;function v(R,K){for(const G of R){const Z=K(G);if(Z!==void 0)return Z}}e.mapFind=v;function b(R,K,G){const Z=E(R,K),J=R.length,X=G.length;R.length=J+X;for(let H=J-1;H>=Z;H--)R[H+X]=R[H];for(let H=0;H0}R.isGreaterThan=Z;function J(X){return X===0}R.isNeitherLessOrGreaterThan=J,R.greaterThan=1,R.lessThan=-1,R.neitherLessOrGreaterThan=0})(I||(e.CompareResult=I={}));function M(R,K){return(G,Z)=>K(R(G),R(Z))}e.compareBy=M;function P(...R){return(K,G)=>{for(const Z of R){const J=Z(K,G);if(!I.isNeitherLessOrGreaterThan(J))return J}return I.neitherLessOrGreaterThan}}e.tieBreakComparators=P;const x=(R,K)=>R-K;e.numberComparator=x;const T=(R,K)=>(0,e.numberComparator)(R?1:0,K?1:0);e.booleanComparator=T;function A(R){return(K,G)=>-R(K,G)}e.reverseOrder=A;function N(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z0&&(G=J)}return G}e.findMaxBy=N;function F(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z=0&&(G=J)}return G}e.findLastMaxBy=F;function O(R,K){return N(R,(G,Z)=>-K(G,Z))}e.findMinBy=O;function W(R,K){if(R.length===0)return-1;let G=0;for(let Z=1;Z0&&(G=Z)}return G}e.findMaxIdxBy=W;class U{constructor(K){this.items=K,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(K){let G=this.firstIdx;for(;G=0&&K(this.items[G]);)G--;const Z=G===this.lastIdx?null:this.items.slice(G+1,this.lastIdx+1);return this.lastIdx=G,Z}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const K=this.items[this.firstIdx];return this.firstIdx++,K}takeCount(K){const G=this.items.slice(this.firstIdx,this.firstIdx+K);return this.firstIdx+=K,G}}e.ArrayQueue=U;class j{constructor(K){this.iterate=K}toArray(){const K=[];return this.iterate(G=>(K.push(G),!0)),K}filter(K){return new j(G=>this.iterate(Z=>K(Z)?G(Z):!0))}map(K){return new j(G=>this.iterate(Z=>G(K(Z))))}findLast(K){let G;return this.iterate(Z=>(K(Z)&&(G=Z),!0)),G}findLastMaxBy(K){let G,Z=!0;return this.iterate(J=>((Z||I.isGreaterThan(K(J,G)))&&(Z=!1,G=J),!0)),G}}e.CallbackIterable=j,j.empty=new j(R=>{})}),define(ne[261],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=void 0;class L{constructor(D){this.fn=D,this.lastCache=void 0,this.lastArgKey=void 0}get(D){const S=JSON.stringify(D);return this.lastArgKey!==S&&(this.lastArgKey=S,this.lastCache=this.fn(D)),this.lastCache}}e.LRUCachedFunction=L;class k{get cachedValues(){return this._map}constructor(D){this.fn=D,this._map=new Map}get(D){if(this._map.has(D))return this._map.get(D);const S=this.fn(D);return this._map.set(D,S),S}}e.CachedFunction=k}),define(ne[196],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetMap=void 0;class L{constructor(){this.map=new Map}add(y,D){let S=this.map.get(y);S||(S=new Set,this.map.set(y,S)),S.add(D)}delete(y,D){const S=this.map.get(y);S&&(S.delete(D),S.size===0&&this.map.delete(y))}forEach(y,D){const S=this.map.get(y);S&&S.forEach(D)}get(y){const D=this.map.get(y);return D||new Set}}e.SetMap=L}),define(ne[38],se([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(f,_){const g=Math.pow(10,_);return Math.round(f*g)/g}class k{constructor(_,g,C,s=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,_))|0,this.g=Math.min(255,Math.max(0,g))|0,this.b=Math.min(255,Math.max(0,C))|0,this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.r===g.r&&_.g===g.g&&_.b===g.b&&_.a===g.a}}e.RGBA=k;class y{constructor(_,g,C,s){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.l=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.l===g.l&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=_.a,n=Math.max(g,C,s),t=Math.min(g,C,s);let a=0,u=0;const h=(t+n)/2,r=n-t;if(r>0){switch(u=Math.min(h<=.5?r/(2*h):r/(2-2*h),1),n){case g:a=(C-s)/r+(C1&&(C-=1),C<1/6?_+(g-_)*6*C:C<1/2?g:C<2/3?_+(g-_)*(2/3-C)*6:_}static toRGBA(_){const g=_.h/360,{s:C,l:s,a:i}=_;let n,t,a;if(C===0)n=t=a=s;else{const u=s<.5?s*(1+C):s+C-s*C,h=2*s-u;n=y._hue2rgb(h,u,g+1/3),t=y._hue2rgb(h,u,g),a=y._hue2rgb(h,u,g-1/3)}return new k(Math.round(n*255),Math.round(t*255),Math.round(a*255),i)}}e.HSLA=y;class D{constructor(_,g,C,s){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.v=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.v===g.v&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=Math.max(g,C,s),n=Math.min(g,C,s),t=i-n,a=i===0?0:t/i;let u;return t===0?u=0:i===g?u=((C-s)/t%6+6)%6:i===C?u=(s-g)/t+2:u=(g-C)/t+4,new D(Math.round(u*60),a,i,_.a)}static toRGBA(_){const{h:g,s:C,v:s,a:i}=_,n=s*C,t=n*(1-Math.abs(g/60%2-1)),a=s-n;let[u,h,r]=[0,0,0];return g<60?(u=n,h=t):g<120?(u=t,h=n):g<180?(h=n,r=t):g<240?(h=t,r=n):g<300?(u=t,r=n):g<=360&&(u=n,r=t),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r=Math.round((r+a)*255),new k(u,h,r,i)}}e.HSVA=D;class S{static fromHex(_){return S.Format.CSS.parseHex(_)||S.red}static equals(_,g){return!_&&!g?!0:!_||!g?!1:_.equals(g)}get hsla(){return this._hsla?this._hsla:y.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:D.fromRGBA(this.rgba)}constructor(_){if(_)if(_ instanceof k)this.rgba=_;else if(_ instanceof y)this._hsla=_,this.rgba=y.toRGBA(_);else if(_ instanceof D)this._hsva=_,this.rgba=D.toRGBA(_);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(_){return!!_&&k.equals(this.rgba,_.rgba)&&y.equals(this.hsla,_.hsla)&&D.equals(this.hsva,_.hsva)}getRelativeLuminance(){const _=S._relativeLuminanceForComponent(this.rgba.r),g=S._relativeLuminanceForComponent(this.rgba.g),C=S._relativeLuminanceForComponent(this.rgba.b),s=.2126*_+.7152*g+.0722*C;return L(s,4)}static _relativeLuminanceForComponent(_){const g=_/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g>C}isDarkerThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g{throw u.stack?n.isErrorNoTelemetry(u)?new n(u.message+` - -`+u.stack):new Error(u.message+` - -`+u.stack):u},0)}}emit(u){this.listeners.forEach(h=>{h(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}e.ErrorHandler=L,e.errorHandler=new L;function k(a){f(a)||e.errorHandler.onUnexpectedError(a)}e.onUnexpectedError=k;function y(a){f(a)||e.errorHandler.onUnexpectedExternalError(a)}e.onUnexpectedExternalError=y;function D(a){if(a instanceof Error){const{name:u,message:h}=a,r=a.stacktrace||a.stack;return{$isError:!0,name:u,message:h,stack:r,noTelemetry:n.isErrorNoTelemetry(a)}}return a}e.transformErrorForSerialization=D;const S="Canceled";function f(a){return a instanceof _?!0:a instanceof Error&&a.name===S&&a.message===S}e.isCancellationError=f;class _ extends Error{constructor(){super(S),this.name=this.message}}e.CancellationError=_;function g(){const a=new Error(S);return a.name=a.message,a}e.canceled=g;function C(a){return a?new Error(`Illegal argument: ${a}`):new Error("Illegal argument")}e.illegalArgument=C;function s(a){return a?new Error(`Illegal state: ${a}`):new Error("Illegal state")}e.illegalState=s;class i extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}e.NotSupportedError=i;class n extends Error{constructor(u){super(u),this.name="CodeExpectedError"}static fromError(u){if(u instanceof n)return u;const h=new n;return h.message=u.message,h.stack=u.stack,h}static isErrorNoTelemetry(u){return u.name==="CodeExpectedError"}}e.ErrorNoTelemetry=n;class t extends Error{constructor(u){super(u||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}}e.BugIndicatingError=t}),define(ne[89],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTrustedTypesPolicy=void 0;function k(y,D){var S;const f=globalThis.MonacoEnvironment;if(f?.createTrustedTypesPolicy)try{return f.createTrustedTypesPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}try{return(S=window.trustedTypes)===null||S===void 0?void 0:S.createPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}}e.createTrustedTypesPolicy=k}),define(ne[85],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkAdjacentItems=e.assertFn=e.assertNever=e.ok=void 0;function k(f,_){if(!f)throw new Error(_?`Assertion failed (${_})`:"Assertion Failed")}e.ok=k;function y(f,_="Unreachable"){throw new Error(_)}e.assertNever=y;function D(f){if(!f()){debugger;f(),(0,L.onUnexpectedError)(new L.BugIndicatingError("Assertion Failed"))}}e.assertFn=D;function S(f,_){let g=0;for(;go.length&&(l=o.length);d=98&&r<=113)return null;switch(r){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return k.keyCodeToStr(r)}s.toElectronAccelerator=h})(g||(e.KeyCodeUtils=g={}));function C(s,i){const n=(i&65535)<<16>>>0;return(s|n)>>>0}e.KeyChord=C}),define(ne[119],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedChord=e.Keybinding=e.ScanCodeChord=e.KeyCodeChord=e.createSimpleKeybinding=e.decodeKeybinding=void 0;function k(C,s){if(typeof C=="number"){if(C===0)return null;const i=(C&65535)>>>0,n=(C&4294901760)>>>16;return n!==0?new f([y(i,s),y(n,s)]):new f([y(i,s)])}else{const i=[];for(let n=0;nnew Uint8Array(256));let D;class S{static wrap(t){return k&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new S(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return k?this.buffer.toString():(D||(D=new TextDecoder),D.decode(this.buffer))}}e.VSBuffer=S;function f(n,t){return n[t+0]<<0>>>0|n[t+1]<<8>>>0}e.readUInt16LE=f;function _(n,t,a){n[a+0]=t&255,t=t>>>8,n[a+1]=t&255}e.writeUInt16LE=_;function g(n,t){return n[t]*Math.pow(2,24)+n[t+1]*Math.pow(2,16)+n[t+2]*Math.pow(2,8)+n[t+3]}e.readUInt32BE=g;function C(n,t,a){n[a+3]=t,t=t>>>8,n[a+2]=t,t=t>>>8,n[a+1]=t,t=t>>>8,n[a]=t}e.writeUInt32BE=C;function s(n,t){return n[t]}e.readUInt8=s;function i(n,t,a){n[a]=t}e.writeUInt8=i}),define(ne[384],se([1,0,100]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareByPrefix=e.compareAnything=e.compareFileNames=void 0;const k=new L.Lazy(()=>{const g=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:g,collatorIsNumeric:g.resolvedOptions().numeric}}),y=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0})})),D=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})}));function S(g,C,s=!1){const i=g||"",n=C||"",t=k.value.collator.compare(i,n);return k.value.collatorIsNumeric&&t===0&&i!==n?in.length)return 1}return 0}e.compareByPrefix=_}),define(ne[2],se([1,0,99,46]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.ImmortalReference=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.setDisposableTracker=void 0;const y=!1;let D=null;function S(l){D=l}if(e.setDisposableTracker=S,y){const l="__is_disposable_tracked__";S(new class{trackDisposable(p){const m=new Error("Potentially leaked disposable").stack;setTimeout(()=>{p[l]||console.log(m)},3e3)}setParent(p,m){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsDisposed(p){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsSingleton(p){}})}function f(l){return D?.trackDisposable(l),l}function _(l){D?.markAsDisposed(l)}function g(l,p){D?.setParent(l,p)}function C(l,p){if(D)for(const m of l)D.setParent(m,p)}function s(l){return D?.markAsSingleton(l),l}e.markAsSingleton=s;function i(l){return typeof l.dispose=="function"&&l.dispose.length===0}e.isDisposable=i;function n(l){if(k.Iterable.is(l)){const p=[];for(const m of l)if(m)try{m.dispose()}catch(v){p.push(v)}if(p.length===1)throw p[0];if(p.length>1)throw new AggregateError(p,"Encountered errors while disposing of store");return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}e.dispose=n;function t(...l){const p=a(()=>n(l));return C(l,p),p}e.combinedDisposable=t;function a(l){const p=f({dispose:(0,L.once)(()=>{_(p),l()})});return p}e.toDisposable=a;class u{constructor(){this._toDispose=new Set,this._isDisposed=!1,f(this)}dispose(){this._isDisposed||(_(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{n(this._toDispose)}finally{this._toDispose.clear()}}add(p){if(!p)return p;if(p===this)throw new Error("Cannot register a disposable on itself!");return g(p,this),this._isDisposed?u.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(p),p}}e.DisposableStore=u,u.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new u,f(this),g(this._store,this)}dispose(){_(this),this._store.dispose()}_register(p){if(p===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(p)}}e.Disposable=h,h.None=Object.freeze({dispose(){}});class r{constructor(){this._isDisposed=!1,f(this)}get value(){return this._isDisposed?void 0:this._value}set value(p){var m;this._isDisposed||p===this._value||((m=this._value)===null||m===void 0||m.dispose(),p&&g(p,this),this._value=p)}clear(){this.value=void 0}dispose(){var p;this._isDisposed=!0,_(this),(p=this._value)===null||p===void 0||p.dispose(),this._value=void 0}}e.MutableDisposable=r;class c{constructor(p){this._disposable=p,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=c;class o{constructor(p){this.object=p}dispose(){}}e.ImmortalReference=o;class d{constructor(){this._store=new Map,this._isDisposed=!1,f(this)}dispose(){_(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{n(this._store.values())}finally{this._store.clear()}}get(p){return this._store.get(p)}set(p,m,v=!1){var b;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),v||(b=this._store.get(p))===null||b===void 0||b.dispose(),this._store.set(p,m)}deleteAndDispose(p){var m;(m=this._store.get(p))===null||m===void 0||m.dispose(),this._store.delete(p)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=d}),define(ne[64],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class L{constructor(D){this.element=D,this.next=L.Undefined,this.prev=L.Undefined}}L.Undefined=new L(void 0);class k{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 D=this._first;for(;D!==L.Undefined;){const S=D.next;D.prev=L.Undefined,D.next=L.Undefined,D=S}this._first=L.Undefined,this._last=L.Undefined,this._size=0}unshift(D){return this._insert(D,!1)}push(D){return this._insert(D,!0)}_insert(D,S){const f=new L(D);if(this._first===L.Undefined)this._first=f,this._last=f;else if(S){const g=this._last;this._last=f,f.prev=g,g.next=f}else{const g=this._first;this._first=f,f.next=g,g.prev=f}this._size+=1;let _=!1;return()=>{_||(_=!0,this._remove(f))}}shift(){if(this._first!==L.Undefined){const D=this._first.element;return this._remove(this._first),D}}pop(){if(this._last!==L.Undefined){const D=this._last.element;return this._remove(this._last),D}}_remove(D){if(D.prev!==L.Undefined&&D.next!==L.Undefined){const S=D.prev;S.next=D.next,D.next.prev=S}else D.prev===L.Undefined&&D.next===L.Undefined?(this._first=L.Undefined,this._last=L.Undefined):D.next===L.Undefined?(this._last=this._last.prev,this._last.next=L.Undefined):D.prev===L.Undefined&&(this._first=this._first.next,this._first.prev=L.Undefined);this._size-=1}*[Symbol.iterator](){let D=this._first;for(;D!==L.Undefined;)yield D.element,D=D.next}}e.LinkedList=k});var ke=this&&this.__decorate||function(Q,e,L,k){var y=arguments.length,D=y<3?e:k===null?k=Object.getOwnPropertyDescriptor(e,L):k,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(Q,e,L,k);else for(var f=Q.length-1;f>=0;f--)(S=Q[f])&&(D=(y<3?S(D):y>3?S(e,L,D):S(e,L))||D);return y>3&&D&&Object.defineProperty(e,L,D),D};define(ne[385],se([1,0,106]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLinkedText=e.LinkedText=void 0;class k{constructor(f){this.nodes=f}toString(){return this.nodes.map(f=>typeof f=="string"?f:f.label).join("")}}e.LinkedText=k,ke([L.memoize],k.prototype,"toString",null);const y=/\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi;function D(S){const f=[];let _=0,g;for(;g=y.exec(S);){g.index-_>0&&f.push(S.substring(_,g.index));const[,C,s,,i]=g;i?f.push({label:C,href:s,title:i}):f.push({label:C,href:s}),_=g.index+g[0].length}return __.toString();class S{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 g;return(g=this._head)===null||g===void 0?void 0:g.value}get last(){var g;return(g=this._tail)===null||g===void 0?void 0:g.value}has(g){return this._map.has(g)}get(g,C=0){const s=this._map.get(g);if(s)return C!==0&&this.touch(s,C),s.value}set(g,C,s=0){let i=this._map.get(g);if(i)i.value=C,s!==0&&this.touch(i,s);else{switch(i={key:g,value:C,next:void 0,previous:void 0},s){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(g,i),this._size++}return this}delete(g){return!!this.remove(g)}remove(g){const C=this._map.get(g);if(C)return this._map.delete(g),this.removeItem(C),this._size--,C.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const g=this._head;return this._map.delete(g.key),this.removeItem(g),this._size--,g.value}forEach(g,C){const s=this._state;let i=this._head;for(;i;){if(C?g.bind(C)(i.value,i.key,this):g(i.value,i.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.key,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}values(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.value,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}entries(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:[s.key,s.value],done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}[(k=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(g){if(g>=this.size)return;if(g===0){this.clear();return}let C=this._head,s=this.size;for(;C&&s>g;)this._map.delete(C.key),C=C.next,s--;this._head=C,this._size=s,C&&(C.previous=void 0),this._state++}addItemFirst(g){if(!this._head&&!this._tail)this._tail=g;else if(this._head)g.next=this._head,this._head.previous=g;else throw new Error("Invalid list");this._head=g,this._state++}addItemLast(g){if(!this._head&&!this._tail)this._head=g;else if(this._tail)g.previous=this._tail,this._tail.next=g;else throw new Error("Invalid list");this._tail=g,this._state++}removeItem(g){if(g===this._head&&g===this._tail)this._head=void 0,this._tail=void 0;else if(g===this._head){if(!g.next)throw new Error("Invalid list");g.next.previous=void 0,this._head=g.next}else if(g===this._tail){if(!g.previous)throw new Error("Invalid list");g.previous.next=void 0,this._tail=g.previous}else{const C=g.next,s=g.previous;if(!C||!s)throw new Error("Invalid list");C.previous=s,s.next=C}g.next=void 0,g.previous=void 0,this._state++}touch(g,C){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(C!==1&&C!==2)){if(C===1){if(g===this._head)return;const s=g.next,i=g.previous;g===this._tail?(i.next=void 0,this._tail=i):(s.previous=i,i.next=s),g.previous=void 0,g.next=this._head,this._head.previous=g,this._head=g,this._state++}else if(C===2){if(g===this._tail)return;const s=g.next,i=g.previous;g===this._head?(s.previous=void 0,this._head=s):(s.previous=i,i.next=s),g.next=void 0,g.previous=this._tail,this._tail.next=g,this._tail=g,this._state++}}}toJSON(){const g=[];return this.forEach((C,s)=>{g.push([s,C])}),g}fromJSON(g){this.clear();for(const[C,s]of g)this.set(C,s)}}e.LinkedMap=S;class f extends S{constructor(g,C=1){super(),this._limit=g,this._ratio=Math.min(Math.max(0,C),1)}get limit(){return this._limit}set limit(g){this._limit=g,this.checkTrim()}get(g,C=2){return super.get(g,C)}peek(g){return super.get(g,0)}set(g,C){return super.set(g,C,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=f}),function(Q,e){typeof define=="function"&&define.amd?define(ne[386],se([0]),e):typeof exports=="object"&&typeof module<"u"?e(exports):(Q=typeof globalThis<"u"?globalThis:Q||self,e(Q.marked={}))}(this,function(Q){"use strict";function e(he,ue){for(var te=0;tehe.length)&&(ue=he.length);for(var te=0,q=new Array(ue);te=he.length?{done:!0}:{done:!1,value:he[q++]}}}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 S(){return{async:!1,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=S();function f(he){Q.defaults=he}var _=/[&<>"']/,g=/[&<>"']/g,C=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"},n=function(ue){return i[ue]};function t(he,ue){if(ue){if(_.test(he))return he.replace(g,n)}else if(C.test(he))return he.replace(s,n);return he}var a=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(he){return he.replace(a,function(ue,te){return te=te.toLowerCase(),te==="colon"?":":te.charAt(0)==="#"?te.charAt(1)==="x"?String.fromCharCode(parseInt(te.substring(2),16)):String.fromCharCode(+te.substring(1)):""})}var h=/(^|[^\[])\^/g;function r(he,ue){he=typeof he=="string"?he:he.source,ue=ue||"";var te={replace:function(z,ee){return ee=ee.source||ee,ee=ee.replace(h,"$1"),he=he.replace(z,ee),te},getRegex:function(){return new RegExp(he,ue)}};return te}var c=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function d(he,ue,te){if(he){var q;try{q=decodeURIComponent(u(te)).replace(c,"").toLowerCase()}catch{return null}if(q.indexOf("javascript:")===0||q.indexOf("vbscript:")===0||q.indexOf("data:")===0)return null}ue&&!o.test(te)&&(te=b(ue,te));try{te=encodeURI(te).replace(/%25/g,"%")}catch{return null}return te}var l={},p=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(he,ue){l[" "+he]||(p.test(he)?l[" "+he]=he+"/":l[" "+he]=M(he,"/",!0)),he=l[" "+he];var te=he.indexOf(":")===-1;return ue.substring(0,2)==="//"?te?ue:he.replace(m,"$1")+ue:ue.charAt(0)==="/"?te?ue:he.replace(v,"$1")+ue:he+ue}var w={exec:function(){}};function E(he){for(var ue=1,te,q;ue=0&&re[ge]==="\\";)oe=!oe;return oe?"|":" |"}),q=te.split(/ \|/),z=0;if(q[0].trim()||q.shift(),q.length>0&&!q[q.length-1].trim()&&q.pop(),q.length>ue)q.splice(ue);else for(;q.length1;)ue&1&&(te+=he),ue>>=1,he+=he;return te+he}function A(he,ue,te,q){var z=ue.href,ee=ue.title?t(ue.title):null,$=he[1].replace(/\\([\[\]])/g,"$1");if(he[0].charAt(0)!=="!"){q.state.inLink=!0;var re={type:"link",raw:te,href:z,title:ee,text:$,tokens:q.inlineTokens($)};return q.state.inLink=!1,re}return{type:"image",raw:te,href:z,title:ee,text:t($)}}function N(he,ue){var te=he.match(/^(\s+)(?:```)/);if(te===null)return ue;var q=te[1];return ue.split(` -`).map(function(z){var ee=z.match(/^\s+/);if(ee===null)return z;var $=ee[0];return $.length>=q.length?z.slice(q.length):z}).join(` -`)}var F=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.space=function(q){var z=this.rules.block.newline.exec(q);if(z&&z[0].length>0)return{type:"space",raw:z[0]}},ue.code=function(q){var z=this.rules.block.code.exec(q);if(z){var ee=z[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:z[0],codeBlockStyle:"indented",text:this.options.pedantic?ee:M(ee,` -`)}}},ue.fences=function(q){var z=this.rules.block.fences.exec(q);if(z){var ee=z[0],$=N(ee,z[3]||"");return{type:"code",raw:ee,lang:z[2]?z[2].trim():z[2],text:$}}},ue.heading=function(q){var z=this.rules.block.heading.exec(q);if(z){var ee=z[2].trim();if(/#$/.test(ee)){var $=M(ee,"#");(this.options.pedantic||!$||/ $/.test($))&&(ee=$.trim())}return{type:"heading",raw:z[0],depth:z[1].length,text:ee,tokens:this.lexer.inline(ee)}}},ue.hr=function(q){var z=this.rules.block.hr.exec(q);if(z)return{type:"hr",raw:z[0]}},ue.blockquote=function(q){var z=this.rules.block.blockquote.exec(q);if(z){var ee=z[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:z[0],tokens:this.lexer.blockTokens(ee,[]),text:ee}}},ue.list=function(q){var z=this.rules.block.list.exec(q);if(z){var ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe=z[1].trim(),Fe=Pe.length>1,_e={type:"list",raw:"",ordered:Fe,start:Fe?+Pe.slice(0,-1):"",loose:!1,items:[]};Pe=Fe?"\\d{1,9}\\"+Pe.slice(-1):"\\"+Pe,this.options.pedantic&&(Pe=Fe?Pe:"[*+-]");for(var me=new RegExp("^( {0,3}"+Pe+")((?:[ ][^\\n]*)?(?:\\n|$))");q&&(Me=!1,!(!(z=me.exec(q))||this.rules.block.hr.test(q)));){if(ee=z[0],q=q.substring(ee.length),Le=z[2].split(` -`,1)[0],De=q.split(` -`,1)[0],this.options.pedantic?(oe=2,Ee=Le.trimLeft()):(oe=z[2].search(/[^ ]/),oe=oe>4?1:oe,Ee=Le.slice(oe),oe+=z[1].length),ve=!1,!Le&&/^ *$/.test(De)&&(ee+=De+` -`,q=q.substring(De.length+1),Me=!0),!Me)for(var le=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),pe=new RegExp("^ {0,"+Math.min(3,oe-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),Ce=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:```|~~~)"),be=new RegExp("^ {0,"+Math.min(3,oe-1)+"}#");q&&(ye=q.split(` -`,1)[0],Le=ye,this.options.pedantic&&(Le=Le.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Ce.test(Le)||be.test(Le)||le.test(Le)||pe.test(q)));){if(Le.search(/[^ ]/)>=oe||!Le.trim())Ee+=` -`+Le.slice(oe);else if(!ve)Ee+=` -`+Le;else break;!ve&&!Le.trim()&&(ve=!0),ee+=ye+` -`,q=q.substring(ye.length+1)}_e.loose||(Se?_e.loose=!0:/\n *\n *$/.test(ee)&&(Se=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(Ee),$&&(re=$[0]!=="[ ] ",Ee=Ee.replace(/^\[[ xX]\] +/,""))),_e.items.push({type:"list_item",raw:ee,task:!!$,checked:re,loose:!1,text:Ee}),_e.raw+=ee}_e.items[_e.items.length-1].raw=ee.trimRight(),_e.items[_e.items.length-1].text=Ee.trimRight(),_e.raw=_e.raw.trimRight();var Ie=_e.items.length;for(ge=0;ge1)return!0}return!1});!_e.loose&&Ne.length&&Re&&(_e.loose=!0,_e.items[ge].loose=!0)}return _e}},ue.html=function(q){var z=this.rules.block.html.exec(q);if(z){var ee={type:"html",raw:z[0],pre:!this.options.sanitizer&&(z[1]==="pre"||z[1]==="script"||z[1]==="style"),text:z[0]};if(this.options.sanitize){var $=this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]);ee.type="paragraph",ee.text=$,ee.tokens=this.lexer.inline($)}return ee}},ue.def=function(q){var z=this.rules.block.def.exec(q);if(z){z[3]&&(z[3]=z[3].substring(1,z[3].length-1));var ee=z[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ee,raw:z[0],href:z[2],title:z[3]}}},ue.table=function(q){var z=this.rules.block.table.exec(q);if(z){var ee={type:"table",header:I(z[1]).map(function(Se){return{text:Se}}),align:z[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:z[3]&&z[3].trim()?z[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(ee.header.length===ee.align.length){ee.raw=z[0];var $=ee.align.length,re,oe,ge,ve;for(re=0;re<$;re++)/^ *-+: *$/.test(ee.align[re])?ee.align[re]="right":/^ *:-+: *$/.test(ee.align[re])?ee.align[re]="center":/^ *:-+ *$/.test(ee.align[re])?ee.align[re]="left":ee.align[re]=null;for($=ee.rows.length,re=0;re<$;re++)ee.rows[re]=I(ee.rows[re],ee.header.length).map(function(Se){return{text:Se}});for($=ee.header.length,oe=0;oe<$;oe++)ee.header[oe].tokens=this.lexer.inline(ee.header[oe].text);for($=ee.rows.length,oe=0;oe<$;oe++)for(ve=ee.rows[oe],ge=0;ge/i.test(z[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(z[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(z[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:z[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]):z[0]}},ue.link=function(q){var z=this.rules.inline.link.exec(q);if(z){var ee=z[2].trim();if(!this.options.pedantic&&/^$/.test(ee))return;var $=M(ee.slice(0,-1),"\\");if((ee.length-$.length)%2===0)return}else{var re=P(z[2],"()");if(re>-1){var oe=z[0].indexOf("!")===0?5:4,ge=oe+z[1].length+re;z[2]=z[2].substring(0,re),z[0]=z[0].substring(0,ge).trim(),z[3]=""}}var ve=z[2],Se="";if(this.options.pedantic){var Le=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);Le&&(ve=Le[1],Se=Le[3])}else Se=z[3]?z[3].slice(1,-1):"";return ve=ve.trim(),/^$/.test(ee)?ve=ve.slice(1):ve=ve.slice(1,-1)),A(z,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:Se&&Se.replace(this.rules.inline._escapes,"$1")},z[0],this.lexer)}},ue.reflink=function(q,z){var ee;if((ee=this.rules.inline.reflink.exec(q))||(ee=this.rules.inline.nolink.exec(q))){var $=(ee[2]||ee[1]).replace(/\s+/g," ");if($=z[$.toLowerCase()],!$||!$.href){var re=ee[0].charAt(0);return{type:"text",raw:re,text:re}}return A(ee,$,ee[0],this.lexer)}},ue.emStrong=function(q,z,ee){ee===void 0&&(ee="");var $=this.rules.inline.emStrong.lDelim.exec(q);if($&&!($[3]&&ee.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 re=$[1]||$[2]||"";if(!re||re&&(ee===""||this.rules.inline.punctuation.exec(ee))){var oe=$[0].length-1,ge,ve,Se=oe,Le=0,De=$[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(De.lastIndex=0,z=z.slice(-1*q.length+oe);($=De.exec(z))!=null;)if(ge=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!!ge){if(ve=ge.length,$[3]||$[4]){Se+=ve;continue}else if(($[5]||$[6])&&oe%3&&!((oe+ve)%3)){Le+=ve;continue}if(Se-=ve,!(Se>0)){if(ve=Math.min(ve,ve+Se+Le),Math.min(oe,ve)%2){var ye=q.slice(1,oe+$.index+ve);return{type:"em",raw:q.slice(0,oe+$.index+ve+1),text:ye,tokens:this.lexer.inlineTokens(ye)}}var Ee=q.slice(2,oe+$.index+ve-1);return{type:"strong",raw:q.slice(0,oe+$.index+ve+1),text:Ee,tokens:this.lexer.inlineTokens(Ee)}}}}}},ue.codespan=function(q){var z=this.rules.inline.code.exec(q);if(z){var ee=z[2].replace(/\n/g," "),$=/[^ ]/.test(ee),re=/^ /.test(ee)&&/ $/.test(ee);return $&&re&&(ee=ee.substring(1,ee.length-1)),ee=t(ee,!0),{type:"codespan",raw:z[0],text:ee}}},ue.br=function(q){var z=this.rules.inline.br.exec(q);if(z)return{type:"br",raw:z[0]}},ue.del=function(q){var z=this.rules.inline.del.exec(q);if(z)return{type:"del",raw:z[0],text:z[2],tokens:this.lexer.inlineTokens(z[2])}},ue.autolink=function(q,z){var ee=this.rules.inline.autolink.exec(q);if(ee){var $,re;return ee[2]==="@"?($=t(this.options.mangle?z(ee[1]):ee[1]),re="mailto:"+$):($=t(ee[1]),re=$),{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.url=function(q,z){var ee;if(ee=this.rules.inline.url.exec(q)){var $,re;if(ee[2]==="@")$=t(this.options.mangle?z(ee[0]):ee[0]),re="mailto:"+$;else{var oe;do oe=ee[0],ee[0]=this.rules.inline._backpedal.exec(ee[0])[0];while(oe!==ee[0]);$=t(ee[0]),ee[1]==="www."?re="http://"+$:re=$}return{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.inlineText=function(q,z){var ee=this.rules.inline.text.exec(q);if(ee){var $;return this.lexer.state.inRawBlock?$=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ee[0]):t(ee[0]):ee[0]:$=t(this.options.smartypants?z(ee[0]):ee[0]),{type:"text",raw:ee[0],text:$}}},he}(),O={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}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:w,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};O._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,O.def=r(O.def).replace("label",O._label).replace("title",O._title).getRegex(),O.bullet=/(?:[*+-]|\d{1,9}[.)])/,O.listItemStart=r(/^( *)(bull) */).replace("bull",O.bullet).getRegex(),O.list=r(O.list).replace(/bull/g,O.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+O.def.source+")").getRegex(),O._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",O._comment=/|$)/,O.html=r(O.html,"i").replace("comment",O._comment).replace("tag",O._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O.paragraph=r(O._paragraph).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.blockquote=r(O.blockquote).replace("paragraph",O.paragraph).getRegex(),O.normal=E({},O),O.gfm=E({},O.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),O.gfm.table=r(O.gfm.table).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.gfm.paragraph=r(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",O.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.pedantic=E({},O.normal,{html:r(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",O._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,paragraph:r(O.normal._paragraph).replace("hr",O.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",O.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:w,tag:"^comment|^|^<[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:w,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",W.punctuation=r(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=r(O._comment).replace("(?:-->|$)","-->").getRegex(),W.emStrong.lDelim=r(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=r(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=r(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=r(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=r(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=r(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=r(W.reflink).replace("label",W._label).replace("ref",O._label).getRegex(),W.nolink=r(W.nolink).replace("ref",O._label).getRegex(),W.reflinkSearch=r(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:r(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:r(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=E({},W.normal,{escape:r(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&&(q="x"+q.toString(16)),ue+="&#"+q+";";return ue}var R=function(){function he(te){this.tokens=[],this.tokens.links=Object.create(null),this.options=te||Q.defaults,this.options.tokenizer=this.options.tokenizer||new F,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 q={block:O.normal,inline:W.normal};this.options.pedantic?(q.block=O.pedantic,q.inline=W.pedantic):this.options.gfm&&(q.block=O.gfm,this.options.breaks?q.inline=W.breaks:q.inline=W.gfm),this.tokenizer.rules=q}he.lex=function(q,z){var ee=new he(z);return ee.lex(q)},he.lexInline=function(q,z){var ee=new he(z);return ee.inlineTokens(q)};var ue=he.prototype;return ue.lex=function(q){q=q.replace(/\r\n|\r/g,` -`),this.blockTokens(q,this.tokens);for(var z;z=this.inlineQueue.shift();)this.inlineTokens(z.src,z.tokens);return this.tokens},ue.blockTokens=function(q,z){var ee=this;z===void 0&&(z=[]),this.options.pedantic?q=q.replace(/\t/g," ").replace(/^ +$/gm,""):q=q.replace(/^( *)(\t+)/gm,function(Se,Le,De){return Le+" ".repeat(De.length)});for(var $,re,oe,ge;q;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(Se){return($=Se.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.space(q)){q=q.substring($.raw.length),$.raw.length===1&&z.length>0?z[z.length-1].raw+=` -`:z.push($);continue}if($=this.tokenizer.code(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if($=this.tokenizer.fences(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.heading(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.hr(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.blockquote(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.list(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.html(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.def(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.raw,this.inlineQueue[this.inlineQueue.length-1].src=re.text):this.tokens.links[$.tag]||(this.tokens.links[$.tag]={href:$.href,title:$.title});continue}if($=this.tokenizer.table(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.lheading(q)){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startBlock&&function(){var Se=1/0,Le=q.slice(1),De=void 0;ee.options.extensions.startBlock.forEach(function(ye){De=ye.call({lexer:this},Le),typeof De=="number"&&De>=0&&(Se=Math.min(Se,De))}),Se<1/0&&Se>=0&&(oe=q.substring(0,Se+1))}(),this.state.top&&($=this.tokenizer.paragraph(oe))){re=z[z.length-1],ge&&re.type==="paragraph"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($),ge=oe.length!==q.length,q=q.substring($.raw.length);continue}if($=this.tokenizer.text(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&re.type==="text"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if(q){var ve="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ve);break}else throw new Error(ve)}}return this.state.top=!0,z},ue.inline=function(q,z){return z===void 0&&(z=[]),this.inlineQueue.push({src:q,tokens:z}),z},ue.inlineTokens=function(q,z){var ee=this;z===void 0&&(z=[]);var $,re,oe,ge=q,ve,Se,Le;if(this.tokens.links){var De=Object.keys(this.tokens.links);if(De.length>0)for(;(ve=this.tokenizer.rules.inline.reflinkSearch.exec(ge))!=null;)De.includes(ve[0].slice(ve[0].lastIndexOf("[")+1,-1))&&(ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ve=this.tokenizer.rules.inline.blockSkip.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(ve=this.tokenizer.rules.inline.escapedEmSt.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"++"+ge.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;q;)if(Se||(Le=""),Se=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Ee){return($=Ee.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.escape(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.tag(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.link(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.reflink(q,this.tokens.links)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.emStrong(q,ge,Le)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.codespan(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.br(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.del(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.autolink(q,j)){q=q.substring($.raw.length),z.push($);continue}if(!this.state.inLink&&($=this.tokenizer.url(q,j))){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startInline&&function(){var Ee=1/0,Me=q.slice(1),Pe=void 0;ee.options.extensions.startInline.forEach(function(Fe){Pe=Fe.call({lexer:this},Me),typeof Pe=="number"&&Pe>=0&&(Ee=Math.min(Ee,Pe))}),Ee<1/0&&Ee>=0&&(oe=q.substring(0,Ee+1))}(),$=this.tokenizer.inlineText(oe,U)){q=q.substring($.raw.length),$.raw.slice(-1)!=="_"&&(Le=$.raw.slice(-1)),Se=!0,re=z[z.length-1],re&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if(q){var ye="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ye);break}else throw new Error(ye)}}return z},L(he,null,[{key:"rules",get:function(){return{block:O,inline:W}}}]),he}(),K=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.code=function(q,z,ee){var $=(z||"").match(/\S*/)[0];if(this.options.highlight){var re=this.options.highlight(q,$);re!=null&&re!==q&&(ee=!0,q=re)}return q=q.replace(/\n$/,"")+` -`,$?'
'+(ee?q:t(q,!0))+`
-`:"
"+(ee?q:t(q,!0))+`
-`},ue.blockquote=function(q){return`
-`+q+`
-`},ue.html=function(q){return q},ue.heading=function(q,z,ee,$){if(this.options.headerIds){var re=this.options.headerPrefix+$.slug(ee);return"'+q+" -`}return""+q+" -`},ue.hr=function(){return this.options.xhtml?`
-`:`
-`},ue.list=function(q,z,ee){var $=z?"ol":"ul",re=z&&ee!==1?' start="'+ee+'"':"";return"<"+$+re+`> -`+q+" -`},ue.listitem=function(q){return"
  • "+q+`
  • -`},ue.checkbox=function(q){return" "},ue.paragraph=function(q){return"

    "+q+`

    -`},ue.table=function(q,z){return z&&(z=""+z+""),` - -`+q+` -`+z+`
    -`},ue.tablerow=function(q){return` -`+q+` -`},ue.tablecell=function(q,z){var ee=z.header?"th":"td",$=z.align?"<"+ee+' align="'+z.align+'">':"<"+ee+">";return $+q+(" -`)},ue.strong=function(q){return""+q+""},ue.em=function(q){return""+q+""},ue.codespan=function(q){return""+q+""},ue.br=function(){return this.options.xhtml?"
    ":"
    "},ue.del=function(q){return""+q+""},ue.link=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $='",$},ue.image=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $=''+ee+'":">",$},ue.text=function(q){return q},he}(),G=function(){function he(){}var ue=he.prototype;return ue.strong=function(q){return q},ue.em=function(q){return q},ue.codespan=function(q){return q},ue.del=function(q){return q},ue.html=function(q){return q},ue.text=function(q){return q},ue.link=function(q,z,ee){return""+ee},ue.image=function(q,z,ee){return""+ee},ue.br=function(){return""},he}(),Z=function(){function he(){this.seen={}}var ue=he.prototype;return ue.serialize=function(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ue.getNextSafeSlug=function(q,z){var ee=q,$=0;if(this.seen.hasOwnProperty(ee)){$=this.seen[q];do $++,ee=q+"-"+$;while(this.seen.hasOwnProperty(ee))}return z||(this.seen[q]=$,this.seen[ee]=0),ee},ue.slug=function(q,z){z===void 0&&(z={});var ee=this.serialize(q);return this.getNextSafeSlug(ee,z.dryrun)},he}(),J=function(){function he(te){this.options=te||Q.defaults,this.options.renderer=this.options.renderer||new K,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new G,this.slugger=new Z}he.parse=function(q,z){var ee=new he(z);return ee.parse(q)},he.parseInline=function(q,z){var ee=new he(z);return ee.parseInline(q)};var ue=he.prototype;return ue.parse=function(q,z){z===void 0&&(z=!0);var ee="",$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce,be,Ie=q.length;for($=0;$0&&me.tokens[0].type==="paragraph"?(me.tokens[0].text=Ce+" "+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=Ce+" "+me.tokens[0].tokens[0].text)):me.tokens.unshift({type:"text",text:Ce}):_e+=Ce),_e+=this.parse(me.tokens,Fe),ye+=this.renderer.listitem(_e,pe,le);ee+=this.renderer.list(ye,Me,Pe);continue}case"html":{ee+=this.renderer.html(Ee.text);continue}case"paragraph":{ee+=this.renderer.paragraph(this.parseInline(Ee.tokens));continue}case"text":{for(ye=Ee.tokens?this.parseInline(Ee.tokens):Ee.text;$+1"u"||he===null)throw new Error("marked(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");if(typeof ue=="function"&&(te=ue,ue=null),ue=E({},X.defaults,ue||{}),x(ue),te){var q=ue.highlight,z;try{z=R.lex(he,ue)}catch(ge){return te(ge)}var ee=function(ve){var Se;if(!ve)try{ue.walkTokens&&X.walkTokens(z,ue.walkTokens),Se=J.parse(z,ue)}catch(Le){ve=Le}return ue.highlight=q,ve?te(ve):te(null,Se)};if(!q||q.length<3||(delete ue.highlight,!z.length))return ee();var $=0;X.walkTokens(z,function(ge){ge.type==="code"&&($++,setTimeout(function(){q(ge.text,ge.lang,function(ve,Se){if(ve)return ee(ve);Se!=null&&Se!==ge.text&&(ge.text=Se,ge.escaped=!0),$--,$===0&&ee()})},0))}),$===0&&ee();return}function re(ge){if(ge.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(ge.message+"",!0)+"
    ";throw ge}try{var oe=R.lex(he,ue);if(ue.walkTokens){if(ue.async)return Promise.all(X.walkTokens(oe,ue.walkTokens)).then(function(){return J.parse(oe,ue)}).catch(re);X.walkTokens(oe,ue.walkTokens)}return J.parse(oe,ue)}catch(ge){re(ge)}}X.options=X.setOptions=function(he){return E(X.defaults,he),f(X.defaults),X},X.getDefaults=S,X.defaults=Q.defaults,X.use=function(){for(var he=arguments.length,ue=new Array(he),te=0;te"u"||he===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");ue=E({},X.defaults,ue||{}),x(ue);try{var te=R.lexInline(he,ue);return ue.walkTokens&&X.walkTokens(te,ue.walkTokens),J.parseInline(te,ue)}catch(q){if(q.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(q.message+"",!0)+"
    ";throw q}},X.Parser=J,X.parser=J.parse,X.Renderer=K,X.TextRenderer=G,X.Lexer=R,X.lexer=R.lex,X.Tokenizer=F,X.Slugger=Z,X.parse=X;var H=X.options,B=X.setOptions,V=X.use,Y=X.walkTokens,ie=X.parseInline,ae=X,ce=J.parse,de=R.lex;Q.Lexer=R,Q.Parser=J,Q.Renderer=K,Q.Slugger=Z,Q.TextRenderer=G,Q.Tokenizer=F,Q.getDefaults=S,Q.lexer=de,Q.marked=X,Q.options=H,Q.parse=ae,Q.parseInline=ie,Q.parser=ce,Q.setOptions=B,Q.use=V,Q.walkTokens=Y,Object.defineProperty(Q,"__esModule",{value:!0})}),define(ne[107],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0,e.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),define(ne[197],se([1,0,107]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:L.Mimes.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}}),define(ne[387],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class L{constructor(y,D=0,S=y.length,f=D-1){this.items=y,this.start=D,this.end=S,this.index=f}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(ne[388],se([1,0,387]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class k{constructor(D=[],S=10){this._initialize(D),this._limit=S,this._onChange()}getHistory(){return this._elements}add(D){this._history.delete(D),this._history.add(D),this._onChange()}next(){return this._navigator.next()}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}isLast(){return this._currentPosition()>=this._elements.length-1}isNowhere(){return this._navigator.current()===null}has(D){return this._history.has(D)}_onChange(){this._reduceToLimit();const D=this._elements;this._navigator=new L.ArrayNavigator(D,0,D.length,D.length)}_reduceToLimit(){const D=this._elements;D.length>this._limit&&this._initialize(D.slice(D.length-this._limit))}_currentPosition(){const D=this._navigator.current();return D?this._elements.indexOf(D):-1}_initialize(D){this._history=new Set;for(const S of D)this._history.add(S)}get _elements(){const D=[];return this._history.forEach(S=>D.push(S)),D}}e.HistoryNavigator=k}),define(ne[141],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function L(D,S,f){return Math.min(Math.max(D,S),f)}e.clamp=L;class k{constructor(){this._n=1,this._val=0}update(S){return this._val=this._val+(S-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=k;class y{constructor(S){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(S),this._values.fill(0,0,S)}update(S){const f=this._values[this._index];return this._values[this._index]=S,this._index=(this._index+1)%this._values.length,this._sum-=f,this._sum+=S,this._nh.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleDerivedRecomputed(u,h){const r=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("derived recomputed"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),this.formatChanges(r),{data:[{fn:u._computeFn}]}])),r.clear()}handleFromEventObservableTriggered(u,h){console.log(...this.textToConsoleArgs([_("observable from event triggered"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),{data:[{fn:u._getValue}]}]))}handleAutorunCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleAutorunTriggered(u){const h=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("autorun"),g(u.debugName,{color:"BlueViolet"}),this.formatChanges(h),{data:[{fn:u._runFn}]}])),h.clear(),this.indentation++}handleAutorunFinished(u){this.indentation--}handleBeginTransaction(u){let h=u.getDebugName();h===void 0&&(h=""),console.log(...this.textToConsoleArgs([_("transaction"),g(h,{color:"BlueViolet"}),{data:[{fn:u._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}e.ConsoleObservableLogger=D;function S(a){const u=new Array,h=[];let r="";function c(d){if("length"in d)for(const l of d)l&&c(l);else"text"in d?(r+=`%c${d.text}`,u.push(d.style),d.data&&h.push(...d.data)):"data"in d&&h.push(...d.data)}c(a);const o=[r,...u];return o.push(...h),o}function f(a){return g(a,{color:"black"})}function _(a){return g(t(`${a}: `,10),{color:"black",bold:!0})}function g(a,u={color:"black"}){function h(c){return Object.entries(c).reduce((o,[d,l])=>`${o}${d}:${l};`,"")}const r={color:u.color};return u.strikeThrough&&(r["text-decoration"]="line-through"),u.bold&&(r["font-weight"]="bold"),{text:a,style:h(r)}}function C(a,u){switch(typeof a){case"number":return""+a;case"string":return a.length+2<=u?`"${a}"`:`"${a.substr(0,u-7)}"+...`;case"boolean":return a?"true":"false";case"undefined":return"undefined";case"object":return a===null?"null":Array.isArray(a)?s(a,u):i(a,u);case"symbol":return a.toString();case"function":return`[[Function${a.name?" "+a.name:""}]]`;default:return""+a}}function s(a,u){let h="[ ",r=!0;for(const c of a){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${C(c,u-h.length)}`}return h+=" ]",h}function i(a,u){let h="{ ",r=!0;for(const[c,o]of Object.entries(a)){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${c}: ${C(o,u-h.length)}`}return h+=" }",h}function n(a,u){let h="";for(let r=1;r<=u;r++)h+=a;return h}function t(a,u){for(;a.lengthu(this.read(h),h),()=>{const h=C(u);if(h!==void 0)return h;const c=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(u.toString());return c?`${this.debugName}.${c[2]}`:`${this.debugName} (mapped)`})}}e.ConvenientObservable=D;class S extends D{constructor(){super(...arguments),this.observers=new Set}addObserver(u){const h=this.observers.size;this.observers.add(u),h===0&&this.onFirstObserverAdded()}removeObserver(u){this.observers.delete(u)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}e.BaseObservable=S;function f(a,u){const h=new g(a,u);try{a(h)}finally{h.finish()}}e.transaction=f;function _(a,u,h){a?u(a):f(u,h)}e.subtransaction=_;class g{constructor(u,h){var r;this._fn=u,this._getDebugName=h,this.updatingObservers=[],(r=(0,L.getLogger)())===null||r===void 0||r.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():C(this._fn)}updateObserver(u,h){this.updatingObservers.push({observer:u,observable:h}),u.beginUpdate(h)}finish(){var u;const h=this.updatingObservers;this.updatingObservers=null;for(const{observer:r,observable:c}of h)r.endUpdate(c);(u=(0,L.getLogger)())===null||u===void 0||u.handleEndTransaction()}}e.TransactionImpl=g;function C(a){const u=a.toString(),r=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(u),c=r?r[1]:void 0;return c?.trim()}e.getFunctionName=C;function s(a,u){return new i(a,u)}e.observableValue=s;class i extends S{constructor(u,h){super(),this.debugName=u,this._value=h}get(){return this._value}set(u,h,r){var c;if(this._value===u)return;let o;h||(h=o=new g(()=>{},()=>`Setting ${this.debugName}`));try{const d=this._value;this._setValue(u),(c=(0,L.getLogger)())===null||c===void 0||c.handleObservableChanged(this,{oldValue:d,newValue:u,change:r,didChange:!0,hadValue:!0});for(const l of this.observers)h.updateObserver(l,this),l.handleChange(this,r)}finally{o&&o.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(u){this._value=u}}e.ObservableValue=i;function n(a,u){return new t(a,u)}e.disposableObservableValue=n;class t extends i{_setValue(u){this._value!==u&&(this._value&&this._value.dispose(),this._value=u)}dispose(){var u;(u=this._value)===null||u===void 0||u.dispose()}}e.DisposableObservableValue=t}),define(ne[262],se([1,0,85,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutorunObserver=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.autorunOpts=void 0;function S(s,i){return new C(s.debugName,i,void 0,void 0)}e.autorunOpts=S;function f(s){return new C(void 0,s,void 0,void 0)}e.autorun=f;function _(s,i){return new C(s.debugName,i,s.createEmptyChangeSummary,s.handleChange)}e.autorunHandleChanges=_;function g(s){const i=new k.DisposableStore,n=S({debugName:()=>(0,y.getFunctionName)(s)||"(anonymous)"},t=>{i.clear(),s(t,i)});return(0,k.toDisposable)(()=>{n.dispose(),i.dispose()})}e.autorunWithStore=g;class C{get debugName(){if(typeof this._debugName=="string")return this._debugName;if(typeof this._debugName=="function"){const n=this._debugName();if(n!==void 0)return n}const i=(0,y.getFunctionName)(this._runFn);return i!==void 0?i:"(anonymous)"}constructor(i,n,t,a){var u,h;this._debugName=i,this._runFn=n,this.createChangeSummary=t,this._handleChange=a,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=(u=this.createChangeSummary)===null||u===void 0?void 0:u.call(this),(h=(0,D.getLogger)())===null||h===void 0||h.handleAutorunCreated(this),this._runIfNeeded()}dispose(){this.disposed=!0;for(const i of this.dependencies)i.removeObserver(this);this.dependencies.clear()}_runIfNeeded(){var i,n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a,this.state=3;try{if(!this.disposed){(i=(0,D.getLogger)())===null||i===void 0||i.handleAutorunTriggered(this);const u=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this),this._runFn(this,u)}}finally{(t=(0,D.getLogger)())===null||t===void 0||t.handleAutorunFinished(this);for(const u of this.dependenciesToBeRemoved)u.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){this.state===3&&(this.state=1),this.updateCount++}endUpdate(){if(this.updateCount===1)do{if(this.state===1){this.state=3;for(const i of this.dependencies)if(i.reportChanges(),this.state===2)break}this._runIfNeeded()}while(this.state!==3);this.updateCount--,(0,L.assertFn)(()=>this.updateCount>=0)}handlePossibleChange(i){this.state===3&&this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(this.state=1)}handleChange(i,n){this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(!this._handleChange||this._handleChange({changedObservable:i,change:n,didChange:a=>a===i},this.changeSummary))&&(this.state=2)}readObservable(i){if(this.disposed)return i.get();i.addObserver(this);const n=i.get();return this.dependencies.add(i),this.dependenciesToBeRemoved.delete(i),n}}e.AutorunObserver=C,function(s){s.Observer=C}(f||(e.autorun=f={}))}),define(ne[389],se([1,0,9,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Derived=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=void 0;const S=(i,n)=>i===n;function f(i,n){return new s(n,i,void 0,void 0,void 0,S)}e.derived=f;function _(i,n){var t;return new s(i.debugName,n,void 0,void 0,void 0,(t=i.equalityComparer)!==null&&t!==void 0?t:S)}e.derivedOpts=_;function g(i,n,t){return new s(i,t,n.createEmptyChangeSummary,n.handleChange,void 0,S)}e.derivedHandleChanges=g;function C(i,n){const t=new k.DisposableStore;return new s(i,a=>(t.clear(),n(a,t)),void 0,void 0,()=>t.dispose(),S)}e.derivedWithStore=C,(0,y._setDerived)(f);class s extends y.BaseObservable{get debugName(){return this._debugName?typeof this._debugName=="function"?this._debugName():this._debugName:(0,y.getFunctionName)(this._computeFn)||"(anonymous)"}constructor(n,t,a,u,h=void 0,r){var c,o;super(),this._debugName=n,this._computeFn=t,this.createChangeSummary=a,this._handleChange=u,this._handleLastObserverRemoved=h,this._equalityComparator=r,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=(c=this.createChangeSummary)===null||c===void 0?void 0:c.call(this),(o=(0,D.getLogger)())===null||o===void 0||o.handleDerivedCreated(this)}onLastObserverRemoved(){var n;this.state=0,this.value=void 0;for(const t of this.dependencies)t.removeObserver(this);this.dependencies.clear(),(n=this._handleLastObserverRemoved)===null||n===void 0||n.call(this)}get(){var n;if(this.observers.size===0){const t=this._computeFn(this,(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this));return this.onLastObserverRemoved(),t}else{do{if(this.state===1){for(const t of this.dependencies)if(t.reportChanges(),this.state===2)break}this.state===1&&(this.state=3),this._recomputeIfNeeded()}while(this.state!==3);return this.value}}_recomputeIfNeeded(){var n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a;const u=this.state!==0,h=this.value;this.state=3;const r=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this);try{this.value=this._computeFn(this,r)}finally{for(const o of this.dependenciesToBeRemoved)o.removeObserver(this);this.dependenciesToBeRemoved.clear()}const c=u&&!this._equalityComparator(h,this.value);if((t=(0,D.getLogger)())===null||t===void 0||t.handleDerivedRecomputed(this,{oldValue:h,newValue:this.value,change:void 0,didChange:c,hadValue:u}),c)for(const o of this.observers)o.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(n){this.updateCount++;const t=this.updateCount===1;if(this.state===3&&(this.state=1,!t))for(const a of this.observers)a.handlePossibleChange(this);if(t)for(const a of this.observers)a.beginUpdate(this)}endUpdate(n){if(this.updateCount--,this.updateCount===0){const t=[...this.observers];for(const a of t)a.endUpdate(this)}if(this.updateCount<0)throw new L.BugIndicatingError}handlePossibleChange(n){if(this.state===3&&this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){this.state=1;for(const t of this.observers)t.handlePossibleChange(this)}}handleChange(n,t){if(this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){const a=this._handleChange?this._handleChange({changedObservable:n,change:t,didChange:h=>h===n},this.changeSummary):!0,u=this.state===3;if(a&&(this.state===1||u)&&(this.state=2,u))for(const h of this.observers)h.handlePossibleChange(this)}}readObservable(n){n.addObserver(this);const t=n.get();return this.dependencies.add(n),this.dependenciesToBeRemoved.delete(n),t}addObserver(n){const t=!this.observers.has(n)&&this.updateCount>0;super.addObserver(n),t&&n.beginUpdate(this)}removeObserver(n){const t=this.observers.has(n)&&this.updateCount>0;super.removeObserver(n),t&&n.endUpdate(this)}}e.Derived=s}),define(ne[390],se([1,0,2,262,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keepAlive=e.observableSignal=e.observableSignalFromEvent=e.FromEventObservable=e.observableFromEvent=e.waitForState=e.constObservable=void 0;function S(h){return new f(h)}e.constObservable=S;class f extends y.ConvenientObservable{constructor(r){super(),this.value=r}get debugName(){return this.toString()}get(){return this.value}addObserver(r){}removeObserver(r){}toString(){return`Const: ${this.value}`}}function _(h,r){return new Promise(c=>{let o=!1,d=!1;const l=(0,k.autorun)(p=>{const m=h.read(p);r(m)&&(o?l.dispose():d=!0,c(m))});o=!0,d&&l.dispose()})}e.waitForState=_;function g(h,r){return new C(h,r)}e.observableFromEvent=g;class C extends y.BaseObservable{constructor(r,c){super(),this.event=r,this._getValue=c,this.hasValue=!1,this.handleEvent=o=>{var d;const l=this._getValue(o),p=!this.hasValue||this.value!==l;(d=(0,D.getLogger)())===null||d===void 0||d.handleFromEventObservableTriggered(this,{oldValue:this.value,newValue:l,change:void 0,didChange:p,hadValue:this.hasValue}),p&&(this.value=l,this.hasValue&&(0,y.transaction)(m=>{for(const v of this.observers)m.updateObserver(v,this),v.handleChange(this,void 0)},()=>{const m=this.getDebugName();return"Event fired"+(m?`: ${m}`:"")}),this.hasValue=!0)}}getDebugName(){return(0,y.getFunctionName)(this._getValue)}get debugName(){const r=this.getDebugName();return"From Event"+(r?`: ${r}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}e.FromEventObservable=C,function(h){h.Observer=C}(g||(e.observableFromEvent=g={}));function s(h,r){return new i(h,r)}e.observableSignalFromEvent=s;class i extends y.BaseObservable{constructor(r,c){super(),this.debugName=r,this.event=c,this.handleEvent=()=>{(0,y.transaction)(o=>{for(const d of this.observers)o.updateObserver(d,this),d.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function n(h){return new t(h)}e.observableSignal=n;class t extends y.BaseObservable{constructor(r){super(),this.debugName=r}trigger(r,c){if(!r){(0,y.transaction)(o=>{this.trigger(o,c)},()=>`Trigger signal ${this.debugName}`);return}for(const o of this.observers)r.updateObserver(o,this),o.handleChange(this,c)}get(){}}function a(h,r){const c=new u(r??!1);return h.addObserver(c),r&&h.reportChanges(),(0,L.toDisposable)(()=>{h.removeObserver(c)})}e.keepAlive=a;class u{constructor(r){this.forceRecompute=r,this.counter=0}beginUpdate(r){this.counter++}endUpdate(r){this.counter--,this.counter===0&&this.forceRecompute&&r.reportChanges()}handlePossibleChange(r){}handleChange(r,c){}}}),define(ne[42],se([1,0,165,389,262,390,142]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waitForState=e.observableSignalFromEvent=e.observableSignal=e.observableFromEvent=e.keepAlive=e.constObservable=e.autorunOpts=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=e.subtransaction=e.transaction=e.disposableObservableValue=e.observableValue=void 0,Object.defineProperty(e,"observableValue",{enumerable:!0,get:function(){return L.observableValue}}),Object.defineProperty(e,"disposableObservableValue",{enumerable:!0,get:function(){return L.disposableObservableValue}}),Object.defineProperty(e,"transaction",{enumerable:!0,get:function(){return L.transaction}}),Object.defineProperty(e,"subtransaction",{enumerable:!0,get:function(){return L.subtransaction}}),Object.defineProperty(e,"derived",{enumerable:!0,get:function(){return k.derived}}),Object.defineProperty(e,"derivedOpts",{enumerable:!0,get:function(){return k.derivedOpts}}),Object.defineProperty(e,"derivedHandleChanges",{enumerable:!0,get:function(){return k.derivedHandleChanges}}),Object.defineProperty(e,"derivedWithStore",{enumerable:!0,get:function(){return k.derivedWithStore}}),Object.defineProperty(e,"autorun",{enumerable:!0,get:function(){return y.autorun}}),Object.defineProperty(e,"autorunHandleChanges",{enumerable:!0,get:function(){return y.autorunHandleChanges}}),Object.defineProperty(e,"autorunWithStore",{enumerable:!0,get:function(){return y.autorunWithStore}}),Object.defineProperty(e,"autorunOpts",{enumerable:!0,get:function(){return y.autorunOpts}}),Object.defineProperty(e,"constObservable",{enumerable:!0,get:function(){return D.constObservable}}),Object.defineProperty(e,"keepAlive",{enumerable:!0,get:function(){return D.keepAlive}}),Object.defineProperty(e,"observableFromEvent",{enumerable:!0,get:function(){return D.observableFromEvent}}),Object.defineProperty(e,"observableSignal",{enumerable:!0,get:function(){return D.observableSignal}}),Object.defineProperty(e,"observableSignalFromEvent",{enumerable:!0,get:function(){return D.observableSignalFromEvent}}),Object.defineProperty(e,"waitForState",{enumerable:!0,get:function(){return D.waitForState}}),!1&&(0,S.setLogger)(new S.ConsoleObservableLogger)}),define(ne[166],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Range=void 0;var L;(function(k){function y(_,g){if(_.start>=g.end||g.start>=_.end)return{start:0,end:0};const C=Math.max(_.start,g.start),s=Math.min(_.end,g.end);return s-C<=0?{start:0,end:0}:{start:C,end:s}}k.intersect=y;function D(_){return _.end-_.start<=0}k.isEmpty=D;function S(_,g){return!D(y(_,g))}k.intersects=S;function f(_,g){const C=[],s={start:_.start,end:Math.min(g.start,_.end)},i={start:Math.max(g.end,_.start),end:_.end};return D(s)||C.push(s),D(i)||C.push(i),C}k.relativeComplement=f})(L||(e.Range=L={}))}),define(ne[391],se([1,0,166]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function k(_,g){const C=[];for(const s of g){if(_.start>=s.range.end)continue;if(_.endg.concat(C),[]))}class f{get paddingTop(){return this._paddingTop}set paddingTop(g){this._size=this._size+g-this._paddingTop,this._paddingTop=g}constructor(g){this.groups=[],this._size=0,this._paddingTop=0,this._paddingTop=g??0,this._size=this._paddingTop}splice(g,C,s=[]){const i=s.length-C,n=k({start:0,end:g},this.groups),t=k({start:g+C,end:Number.POSITIVE_INFINITY},this.groups).map(u=>({range:y(u.range,i),size:u.size})),a=s.map((u,h)=>({range:{start:g+h,end:g+h+1},size:u.size}));this.groups=S(n,a,t),this._size=this._paddingTop+this.groups.reduce((u,h)=>u+h.size*(h.range.end-h.range.start),0)}get count(){const g=this.groups.length;return g?this.groups[g-1].range.end:0}get size(){return this._size}indexAt(g){if(g<0)return-1;if(gy.Disposable.None;function w(ce){if(_){const{onDidAddListener:de}=ce,he=n.create();let ue=0;ce.onDidAddListener=()=>{++ue===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),he.print()),de?.()}}}function E(ce,de){return O(ce,()=>{},0,void 0,!0,void 0,de)}b.defer=E;function I(ce){return(de,he=null,ue)=>{let te=!1,q;return q=ce(z=>{if(!te)return q?q.dispose():te=!0,de.call(he,z)},null,ue),te&&q.dispose(),q}}b.once=I;function M(ce,de,he){return F((ue,te=null,q)=>ce(z=>ue.call(te,de(z)),null,q),he)}b.map=M;function P(ce,de,he){return F((ue,te=null,q)=>ce(z=>{de(z),ue.call(te,z)},null,q),he)}b.forEach=P;function x(ce,de,he){return F((ue,te=null,q)=>ce(z=>de(z)&&ue.call(te,z),null,q),he)}b.filter=x;function T(ce){return ce}b.signal=T;function A(...ce){return(de,he=null,ue)=>(0,y.combinedDisposable)(...ce.map(te=>te(q=>de.call(he,q),null,ue)))}b.any=A;function N(ce,de,he,ue){let te=he;return M(ce,q=>(te=de(te,q),te),ue)}b.reduce=N;function F(ce,de){let he;const ue={onWillAddFirstListener(){he=ce(te.fire,te)},onDidRemoveLastListener(){he?.dispose()}};de||w(ue);const te=new h(ue);return de?.add(te),te.event}function O(ce,de,he=100,ue=!1,te=!1,q,z){let ee,$,re,oe=0,ge;const ve={leakWarningThreshold:q,onWillAddFirstListener(){ee=ce(Le=>{oe++,$=de($,Le),ue&&!re&&(Se.fire($),$=void 0),ge=()=>{const De=$;$=void 0,re=void 0,(!ue||oe>1)&&Se.fire(De),oe=0},typeof he=="number"?(clearTimeout(re),re=setTimeout(ge,he)):re===void 0&&(re=0,queueMicrotask(ge))})},onWillRemoveListener(){te&&oe>0&&ge?.()},onDidRemoveLastListener(){ge=void 0,ee.dispose()}};z||w(ve);const Se=new h(ve);return z?.add(Se),Se.event}b.debounce=O;function W(ce,de=0,he){return b.debounce(ce,(ue,te)=>ue?(ue.push(te),ue):[te],de,void 0,!0,void 0,he)}b.accumulate=W;function U(ce,de=(ue,te)=>ue===te,he){let ue=!0,te;return x(ce,q=>{const z=ue||!de(q,te);return ue=!1,te=q,z},he)}b.latch=U;function j(ce,de,he){return[b.filter(ce,de,he),b.filter(ce,ue=>!de(ue),he)]}b.split=j;function R(ce,de=!1,he=[]){let ue=he.slice(),te=ce(ee=>{ue?ue.push(ee):z.fire(ee)});const q=()=>{ue?.forEach(ee=>z.fire(ee)),ue=null},z=new h({onWillAddFirstListener(){te||(te=ce(ee=>z.fire(ee)))},onDidAddFirstListener(){ue&&(de?setTimeout(q):q())},onDidRemoveLastListener(){te&&te.dispose(),te=null}});return z.event}b.buffer=R;class K{constructor(de){this.event=de,this.disposables=new y.DisposableStore}map(de){return new K(M(this.event,de,this.disposables))}forEach(de){return new K(P(this.event,de,this.disposables))}filter(de){return new K(x(this.event,de,this.disposables))}reduce(de,he){return new K(N(this.event,de,he,this.disposables))}latch(){return new K(U(this.event,void 0,this.disposables))}debounce(de,he=100,ue=!1,te=!1,q){return new K(O(this.event,de,he,ue,te,q,this.disposables))}on(de,he,ue){return this.event(de,he,ue)}once(de,he,ue){return I(this.event)(de,he,ue)}dispose(){this.disposables.dispose()}}function G(ce){return new K(ce)}b.chain=G;function Z(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.on(de,ue),q=()=>ce.removeListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromNodeEventEmitter=Z;function J(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.addEventListener(de,ue),q=()=>ce.removeEventListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromDOMEventEmitter=J;function X(ce){return new Promise(de=>I(ce)(de))}b.toPromise=X;function H(ce){const de=new h;return ce.then(he=>{de.fire(he)},()=>{de.fire(void 0)}).finally(()=>{de.dispose()}),de.event}b.fromPromise=H;function B(ce,de){return de(void 0),ce(he=>de(he))}b.runAndSubscribe=B;function V(ce,de){let he=null;function ue(q){he?.dispose(),he=new y.DisposableStore,de(q,he)}ue(void 0);const te=ce(q=>ue(q));return(0,y.toDisposable)(()=>{te.dispose(),he?.dispose()})}b.runAndSubscribeWithStore=V;class Y{constructor(de,he){this._observable=de,this._counter=0,this._hasChanged=!1;const ue={onWillAddFirstListener:()=>{de.addObserver(this)},onDidRemoveLastListener:()=>{de.removeObserver(this)}};he||w(ue),this.emitter=new h(ue),he&&he.add(this.emitter)}beginUpdate(de){this._counter++}handlePossibleChange(de){}handleChange(de,he){this._hasChanged=!0}endUpdate(de){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function ie(ce,de){return new Y(ce,de).emitter.event}b.fromObservable=ie;function ae(ce){return de=>{let he=0,ue=!1;const te={beginUpdate(){he++},endUpdate(){he--,he===0&&(ce.reportChanges(),ue&&(ue=!1,de()))},handlePossibleChange(){},handleChange(){ue=!0}};return ce.addObserver(te),ce.reportChanges(),{dispose(){ce.removeObserver(te)}}}}b.fromObservableLight=ae})(g||(e.Event=g={}));class C{constructor(w){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${w}_${C._idPool++}`,C.all.add(this)}start(w){this._stopWatch=new S.StopWatch,this.listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this.durations.push(w),this.elapsedOverall+=w,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=C,C.all=new Set,C._idPool=0;let s=-1;class i{constructor(w,E=Math.random().toString(18).slice(2,5)){this.threshold=w,this.name=E,this._warnCountdown=0}dispose(){var w;(w=this._stacks)===null||w===void 0||w.clear()}check(w,E){const I=this.threshold;if(I<=0||E{const P=this._stacks.get(w.value)||0;this._stacks.set(w.value,P-1)}}}class n{static create(){var w;return new n((w=new Error().stack)!==null&&w!==void 0?w:"")}constructor(w){this.value=w}print(){console.warn(this.value.split(` -`).slice(2).join(` -`))}}class t{constructor(w){this.value=w}}const a=2,u=(b,w)=>{if(b instanceof t)w(b);else for(let E=0;E0||!((E=this._options)===null||E===void 0)&&E.leakWarningThreshold?new i((M=(I=this._options)===null||I===void 0?void 0:I.leakWarningThreshold)!==null&&M!==void 0?M:s):void 0,this._perfMon=!((P=this._options)===null||P===void 0)&&P._profName?new C(this._options._profName):void 0,this._deliveryQueue=(x=this._options)===null||x===void 0?void 0:x.deliveryQueue}dispose(){var w,E,I,M;if(!this._disposed){if(this._disposed=!0,((w=this._deliveryQueue)===null||w===void 0?void 0:w.current)===this&&this._deliveryQueue.reset(),this._listeners){if(f){const P=this._listeners;queueMicrotask(()=>{u(P,x=>{var T;return(T=x.stack)===null||T===void 0?void 0:T.print()})})}this._listeners=void 0,this._size=0}(I=(E=this._options)===null||E===void 0?void 0:E.onDidRemoveLastListener)===null||I===void 0||I.call(E),(M=this._leakageMon)===null||M===void 0||M.dispose()}}get event(){var w;return(w=this._event)!==null&&w!==void 0||(this._event=(E,I,M)=>{var P,x,T,A,N;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),y.Disposable.None;if(this._disposed)return y.Disposable.None;I&&(E=E.bind(I));const F=new t(E);let O,W;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(F.stack=n.create(),O=this._leakageMon.check(F.stack,this._size+1)),f&&(F.stack=W??n.create()),this._listeners?this._listeners instanceof t?((N=this._deliveryQueue)!==null&&N!==void 0||(this._deliveryQueue=new c),this._listeners=[this._listeners,F]):this._listeners.push(F):((x=(P=this._options)===null||P===void 0?void 0:P.onWillAddFirstListener)===null||x===void 0||x.call(P,this),this._listeners=F,(A=(T=this._options)===null||T===void 0?void 0:T.onDidAddFirstListener)===null||A===void 0||A.call(T,this)),this._size++;const U=(0,y.toDisposable)(()=>{O?.(),this._removeListener(F)});return M instanceof y.DisposableStore?M.add(U):Array.isArray(M)&&M.push(U),U}),this._event}_removeListener(w){var E,I,M,P;if((I=(E=this._options)===null||E===void 0?void 0:E.onWillRemoveListener)===null||I===void 0||I.call(E,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(P=(M=this._options)===null||M===void 0?void 0:M.onDidRemoveLastListener)===null||P===void 0||P.call(M,this),this._size=0;return}const x=this._listeners,T=x.indexOf(w);if(T===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,x[T]=void 0;const A=this._deliveryQueue.current===this;if(this._size*a<=x.length){let N=0;for(let F=0;F0}}e.Emitter=h;const r=()=>new c;e.createEventDeliveryQueue=r;class c{constructor(){this.i=-1,this.end=0}enqueue(w,E,I){this.i=0,this.end=I,this.current=w,this.value=E}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class o extends h{constructor(w){super(w),this._isPaused=0,this._eventQueue=new D.LinkedList,this._mergeFn=w?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._size&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}e.PauseableEmitter=o;class d extends o{constructor(w){var E;super(w),this._delay=(E=w.delay)!==null&&E!==void 0?E:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}e.DebounceEmitter=d;class l extends h{constructor(w){super(w),this._queuedEvents=[],this._mergeFn=w?.merge}fire(w){this.hasListeners()&&(this._queuedEvents.push(w),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(E=>super.fire(E)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=l;class p{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new h({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(w){const E={event:w,listener:null};this.events.push(E),this.hasListeners&&this.hook(E);const I=()=>{this.hasListeners&&this.unhook(E);const M=this.events.indexOf(E);this.events.splice(M,1)};return(0,y.toDisposable)((0,k.once)(I))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(w=>this.hook(w))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(w=>this.unhook(w))}hook(w){w.listener=w.event(E=>this.emitter.fire(E))}unhook(w){w.listener&&w.listener.dispose(),w.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=p;class m{constructor(){this.buffers=[]}wrapEvent(w){return(E,I,M)=>w(P=>{const x=this.buffers[this.buffers.length-1];x?x.push(()=>E.call(I,P)):E.call(I,P)},void 0,M)}bufferEvents(w){const E=[];this.buffers.push(E);const I=w();return this.buffers.pop(),E.forEach(M=>M()),I}}e.EventBufferer=m;class v{constructor(){this.listening=!1,this.inputEvent=g.None,this.inputEventListener=y.Disposable.None,this.emitter=new h({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=v}),define(ne[52],se([1,0,6,2]),function(Q,e,L,k){"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=e.addMatchMediaChangeListener=void 0;class y{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}y.INSTANCE=new y;class D extends k.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){var a;(a=this._mediaQueryList)===null||a===void 0||a.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class S extends k.Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const t=this._register(new D);this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const t=document.createElement("canvas").getContext("2d"),a=window.devicePixelRatio||1,u=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return a/u}}class f{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,k.markAsSingleton)(new S)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function _(n,t){typeof n=="string"&&(n=window.matchMedia(n)),n.addEventListener("change",t)}e.addMatchMediaChangeListener=_,e.PixelRatio=new f;function g(){return y.INSTANCE.getZoomFactor()}e.getZoomFactor=g;const C=navigator.userAgent;e.isFirefox=C.indexOf("Firefox")>=0,e.isWebKit=C.indexOf("AppleWebKit")>=0,e.isChrome=C.indexOf("Chrome")>=0,e.isSafari=!e.isChrome&&C.indexOf("Safari")>=0,e.isWebkitWebView=!e.isChrome&&!e.isSafari&&e.isWebKit,e.isElectron=C.indexOf("Electron/")>=0,e.isAndroid=C.indexOf("Android")>=0;let s=!1;if(window.matchMedia){const n=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");s=n.matches,_(n,({matches:a})=>{s&&t.matches||(s=a)})}function i(){return s}e.isStandalone=i}),define(ne[81],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEmitter=void 0;class k{get event(){return this.emitter.event}constructor(D,S,f){const _=g=>this.emitter.fire(g);this.emitter=new L.Emitter({onWillAddFirstListener:()=>D.addEventListener(S,_,f),onDidRemoveLastListener:()=>D.removeEventListener(S,_,f)})}dispose(){this.emitter.dispose()}}e.DomEmitter=k}),define(ne[19],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const k=Object.freeze(function(f,_){const g=setTimeout(f.bind(_),0);return{dispose(){clearTimeout(g)}}});var y;(function(f){function _(g){return g===f.None||g===f.Cancelled||g instanceof D?!0:!g||typeof g!="object"?!1:typeof g.isCancellationRequested=="boolean"&&typeof g.onCancellationRequested=="function"}f.isCancellationToken=_,f.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.Event.None}),f.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:k})})(y||(e.CancellationToken=y={}));class D{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?k:(this._emitter||(this._emitter=new L.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class S{constructor(_){this._token=void 0,this._parentListener=void 0,this._parentListener=_&&_.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new D),this._token}cancel(){this._token?this._token instanceof D&&this._token.cancel():this._token=y.Cancelled}dispose(_=!1){var g;_&&this.cancel(),(g=this._parentListener)===null||g===void 0||g.dispose(),this._token?this._token instanceof D&&this._token.dispose():this._token=y.None}}e.CancellationTokenSource=S}),define(ne[263],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IME=e.IMEImpl=void 0;class k{constructor(){this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._enabled=!0}get enabled(){return this._enabled}enable(){this._enabled=!0,this._onDidChange.fire()}disable(){this._enabled=!1,this._onDidChange.fire()}}e.IMEImpl=k,e.IME=new k}),define(ne[167],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollingOperation=e.SmoothScrollingUpdate=e.Scrollable=e.ScrollState=void 0;class y{constructor(n,t,a,u,h,r,c){this._forceIntegerValues=n,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,a=a|0,u=u|0,h=h|0,r=r|0,c=c|0),this.rawScrollLeft=u,this.rawScrollTop=c,t<0&&(t=0),u+t>a&&(u=a-t),u<0&&(u=0),h<0&&(h=0),c+h>r&&(c=r-h),c<0&&(c=0),this.width=t,this.scrollWidth=a,this.scrollLeft=u,this.height=h,this.scrollHeight=r,this.scrollTop=c}equals(n){return this.rawScrollLeft===n.rawScrollLeft&&this.rawScrollTop===n.rawScrollTop&&this.width===n.width&&this.scrollWidth===n.scrollWidth&&this.scrollLeft===n.scrollLeft&&this.height===n.height&&this.scrollHeight===n.scrollHeight&&this.scrollTop===n.scrollTop}withScrollDimensions(n,t){return new y(this._forceIntegerValues,typeof n.width<"u"?n.width:this.width,typeof n.scrollWidth<"u"?n.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof n.height<"u"?n.height:this.height,typeof n.scrollHeight<"u"?n.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(n){return new y(this._forceIntegerValues,this.width,this.scrollWidth,typeof n.scrollLeft<"u"?n.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof n.scrollTop<"u"?n.scrollTop:this.rawScrollTop)}createScrollEvent(n,t){const a=this.width!==n.width,u=this.scrollWidth!==n.scrollWidth,h=this.scrollLeft!==n.scrollLeft,r=this.height!==n.height,c=this.scrollHeight!==n.scrollHeight,o=this.scrollTop!==n.scrollTop;return{inSmoothScrolling:t,oldWidth:n.width,oldScrollWidth:n.scrollWidth,oldScrollLeft:n.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:n.height,oldScrollHeight:n.scrollHeight,oldScrollTop:n.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:a,scrollWidthChanged:u,scrollLeftChanged:h,heightChanged:r,scrollHeightChanged:c,scrollTopChanged:o}}}e.ScrollState=y;class D extends k.Disposable{constructor(n){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new L.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=n.smoothScrollDuration,this._scheduleAtNextAnimationFrame=n.scheduleAtNextAnimationFrame,this._state=new y(n.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(n){this._smoothScrollDuration=n}validateScrollPosition(n){return this._state.withScrollPosition(n)}getScrollDimensions(){return this._state}setScrollDimensions(n,t){var a;const u=this._state.withScrollDimensions(n,t);this._setState(u,!!this._smoothScrolling),(a=this._smoothScrolling)===null||a===void 0||a.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(n){const t=this._state.withScrollPosition(n);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(n,t){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(n);if(this._smoothScrolling){n={scrollLeft:typeof n.scrollLeft>"u"?this._smoothScrolling.to.scrollLeft:n.scrollLeft,scrollTop:typeof n.scrollTop>"u"?this._smoothScrolling.to.scrollTop:n.scrollTop};const a=this._state.withScrollPosition(n);if(this._smoothScrolling.to.scrollLeft===a.scrollLeft&&this._smoothScrolling.to.scrollTop===a.scrollTop)return;let u;t?u=new g(this._smoothScrolling.from,a,this._smoothScrolling.startTime,this._smoothScrolling.duration):u=this._smoothScrolling.combine(this._state,a,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=u}else{const a=this._state.withScrollPosition(n);this._smoothScrolling=g.start(this._state,a,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;const n=this._smoothScrolling.tick(),t=this._state.withScrollPosition(n);if(this._setState(t,!0),!!this._smoothScrolling){if(n.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(n,t){const a=this._state;a.equals(n)||(this._state=n,this._onScroll.fire(this._state.createScrollEvent(a,t)))}}e.Scrollable=D;class S{constructor(n,t,a){this.scrollLeft=n,this.scrollTop=t,this.isDone=a}}e.SmoothScrollingUpdate=S;function f(i,n){const t=n-i;return function(a){return i+t*s(a)}}function _(i,n,t){return function(a){return a2.5*a){let h,r;return n=re.length?oe:re[ve]})}e.format=f;function _($){return $.replace(/[<>&]/g,function(re){switch(re){case"<":return"<";case">":return">";case"&":return"&";default:return re}})}e.escape=_;function g($){return $.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=g;function C($,re=" "){const oe=s($,re);return i(oe,re)}e.trim=C;function s($,re){if(!$||!re)return $;const oe=re.length;if(oe===0||$.length===0)return $;let ge=0;for(;$.indexOf(re,ge)===ge;)ge=ge+oe;return $.substring(ge)}e.ltrim=s;function i($,re){if(!$||!re)return $;const oe=re.length,ge=$.length;if(oe===0||ge===0)return $;let ve=ge,Se=-1;for(;Se=$.lastIndexOf(re,ve-1),!(Se===-1||Se+oe!==ve);){if(Se===0)return"";ve=Se}return $.substring(0,ve)}e.rtrim=i;function n($){return $.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=n;function t($){return $.replace(/\*/g,"")}e.stripWildcards=t;function a($,re,oe={}){if(!$)throw new Error("Cannot create regex from empty string");re||($=g($)),oe.wholeWord&&(/\B/.test($.charAt(0))||($="\\b"+$),/\B/.test($.charAt($.length-1))||($=$+"\\b"));let ge="";return oe.global&&(ge+="g"),oe.matchCase||(ge+="i"),oe.multiline&&(ge+="m"),oe.unicode&&(ge+="u"),new RegExp($,ge)}e.createRegExp=a;function u($){return $.source==="^"||$.source==="^$"||$.source==="$"||$.source==="^\\s*$"?!1:!!($.exec("")&&$.lastIndex===0)}e.regExpLeadsToEndlessLoop=u;function h($){return $.split(/\r\n|\r|\n/)}e.splitLines=h;function r($){for(let re=0,oe=$.length;re=0;oe--){const ge=$.charCodeAt(oe);if(ge!==32&&ge!==9)return oe}return-1}e.lastNonWhitespaceIndex=o;function d($,re){return $re?1:0}e.compare=d;function l($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oeEe)return 1}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstring=l;function p($,re){return m($,re,0,$.length,0,re.length)}e.compareIgnoreCase=p;function m($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oe=128||Ee>=128)return l($.toLowerCase(),re.toLowerCase(),oe,ge,ve,Se);b(ye)&&(ye-=32),b(Ee)&&(Ee-=32);const Me=ye-Ee;if(Me!==0)return Me}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstringIgnoreCase=m;function v($){return $>=48&&$<=57}e.isAsciiDigit=v;function b($){return $>=97&&$<=122}e.isLowerAsciiLetter=b;function w($){return $>=65&&$<=90}e.isUpperAsciiLetter=w;function E($,re){return $.length===re.length&&m($,re)===0}e.equalsIgnoreCase=E;function I($,re){const oe=re.length;return re.length>$.length?!1:m($,re,0,oe)===0}e.startsWithIgnoreCase=I;function M($,re){const oe=Math.min($.length,re.length);let ge;for(ge=0;ge1){const ge=$.charCodeAt(re-2);if(x(ge))return A(ge,oe)}return oe}class O{get offset(){return this._offset}constructor(re,oe=0){this._str=re,this._len=re.length,this._offset=oe}setOffset(re){this._offset=re}prevCodePoint(){const re=F(this._str,this._offset);return this._offset-=re>=65536?2:1,re}nextCodePoint(){const re=N(this._str,this._len,this._offset);return this._offset+=re>=65536?2:1,re}eol(){return this._offset>=this._len}}e.CodePointIterator=O;class W{get offset(){return this._iterator.offset}constructor(re,oe=0){this._iterator=new O(re,oe)}nextGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.nextCodePoint());for(;!oe.eol();){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.nextCodePoint());if(ce(ve,Le)){oe.setOffset(Se);break}ve=Le}return oe.offset-ge}prevGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.prevCodePoint());for(;oe.offset>0;){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.prevCodePoint());if(ce(Le,ve)){oe.setOffset(Se);break}ve=Le}return ge-oe.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=W;function U($,re){return new W($,re).nextGraphemeLength()}e.nextCharLength=U;function j($,re){return new W($,re).prevGraphemeLength()}e.prevCharLength=j;function R($,re){re>0&&T($.charCodeAt(re))&&re--;const oe=re+U($,re);return[oe-j($,oe),oe]}e.getCharContainingOffset=R;let K;function G(){return/(?:[\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 Z($){return K||(K=G()),K.test($)}e.containsRTL=Z;const J=/^[\t\n\r\x20-\x7E]*$/;function X($){return J.test($)}e.isBasicASCII=X,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function H($){return e.UNUSUAL_LINE_TERMINATORS.test($)}e.containsUnusualLineTerminators=H;function B($){return $>=11904&&$<=55215||$>=63744&&$<=64255||$>=65281&&$<=65374}e.isFullWidthCharacter=B;function V($){return $>=127462&&$<=127487||$===8986||$===8987||$===9200||$===9203||$>=9728&&$<=10175||$===11088||$===11093||$>=127744&&$<=128591||$>=128640&&$<=128764||$>=128992&&$<=129008||$>=129280&&$<=129535||$>=129648&&$<=129782}e.isEmojiImprecise=V,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function Y($){return!!($&&$.length>0&&$.charCodeAt(0)===65279)}e.startsWithUTF8BOM=Y;function ie($,re=!1){return $?(re&&($=$.replace(/\\./g,"")),$.toLowerCase()!==$):!1}e.containsUppercaseCharacter=ie;function ae($){return $=$%(2*26),$<26?String.fromCharCode(97+$):String.fromCharCode(65+$-26)}e.singleLetterHash=ae;function ce($,re){return $===0?re!==5&&re!==7:$===2&&re===3?!1:$===4||$===2||$===3||re===4||re===2||re===3?!0:!($===8&&(re===8||re===9||re===11||re===12)||($===11||$===9)&&(re===9||re===10)||($===12||$===10)&&re===10||re===5||re===13||re===7||$===1||$===13&&re===14||$===6&&re===6)}class de{static getInstance(){return de._INSTANCE||(de._INSTANCE=new de),de._INSTANCE}constructor(){this._data=he()}getGraphemeBreakType(re){if(re<32)return re===10?3:re===13?2:4;if(re<127)return 0;const oe=this._data,ge=oe.length/3;let ve=1;for(;ve<=ge;)if(reoe[3*ve+1])ve=2*ve+1;else return oe[3*ve+2];return 0}}de._INSTANCE=null;function he(){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 ue($,re){if($===0)return 0;const oe=te($,re);if(oe!==void 0)return oe;const ge=new O(re,$);return ge.prevCodePoint(),ge.offset}e.getLeftDeleteOffset=ue;function te($,re){const oe=new O(re,$);let ge=oe.prevCodePoint();for(;q(ge)||ge===65039||ge===8419;){if(oe.offset===0)return;ge=oe.prevCodePoint()}if(!V(ge))return;let ve=oe.offset;return ve>0&&oe.prevCodePoint()===8205&&(ve=oe.offset),ve}function q($){return 127995<=$&&$<=127999}e.noBreakWhitespace="\xA0";class z{static getInstance(re){return y.cache.get(Array.from(re))}static getLocales(){return y._locales.value}constructor(re){this.confusableDictionary=re}isAmbiguous(re){return this.confusableDictionary.has(re)}getPrimaryConfusable(re){return this.confusableDictionary.get(re)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=z,y=z,z.ambiguousCharacterData=new k.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,119846,109],"_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]}')),z.cache=new L.LRUCachedFunction($=>{function re(Ee){const Me=new Map;for(let Pe=0;Pe!Ee.startsWith("_")&&Ee in ve);Se.length===0&&(Se=["_default"]);let Le;for(const Ee of Se){const Me=re(ve[Ee]);Le=ge(Le,Me)}const De=re(ve._common),ye=oe(De,Le);return new y(ye)}),z._locales=new k.Lazy(()=>Object.keys(y.ambiguousCharacterData.value).filter($=>!$.startsWith("_")));class ee{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(ee.getRawData())),this._data}static isInvisibleCharacter(re){return ee.getData().has(re)}static get codePoints(){return ee.getData()}}e.InvisibleCharacters=ee,ee._data=void 0}),define(ne[72],se([1,0,65,11]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScoreOptions=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy2=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function y(...q){return function(z,ee){for(let $=0,re=q.length;$0?[{start:0,end:z.length}]:[]:null}function S(q,z){const ee=z.toLowerCase().indexOf(q.toLowerCase());return ee===-1?null:[{start:ee,end:ee+q.length}]}e.matchesContiguousSubString=S;function f(q,z){return _(q.toLowerCase(),z.toLowerCase(),0,0)}e.matchesSubString=f;function _(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]===z[$]){let re=null;return(re=_(q,z,ee+1,$+1))?h({start:$,end:$+1},re):null}return _(q,z,ee,$+1)}function g(q){return 97<=q&&q<=122}function C(q){return 65<=q&&q<=90}e.isUpper=C;function s(q){return 48<=q&&q<=57}function i(q){return q===32||q===9||q===10||q===13}const n=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(q=>n.add(q.charCodeAt(0)));function t(q){return i(q)||n.has(q)}function a(q,z){return q===z||t(q)&&t(z)}function u(q){return g(q)||C(q)||s(q)}function h(q,z){return z.length===0?z=[q]:q.end===z[0].start?z[0].start=q.start:z.unshift(q),z}function r(q,z){for(let ee=z;ee0&&!u(q.charCodeAt(ee-1)))return ee}return q.length}function c(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]!==z[$].toLowerCase())return null;{let re=null,oe=$+1;for(re=c(q,z,ee+1,$+1);!re&&(oe=r(z,oe)).6}function l(q){const{upperPercent:z,lowerPercent:ee,alphaPercent:$,numericPercent:re}=q;return ee>.2&&z<.8&&$>.6&&re<.2}function p(q){let z=0,ee=0,$=0,re=0;for(let oe=0;oe60)return null;const ee=o(z);if(!l(ee)){if(!d(ee))return null;z=z.toLowerCase()}let $=null,re=0;for(q=q.toLowerCase();re0&&t(q.charCodeAt(ee-1)))return ee;return q.length}const E=y(e.matchesPrefix,m,S),I=y(e.matchesPrefix,m,f),M=new L.LRUCache(1e4);function P(q,z,ee=!1){if(typeof q!="string"||typeof z!="string")return null;let $=M.get(q);$||($=new RegExp(k.convertSimple2RegExpPattern(q),"i"),M.set(q,$));const re=$.exec(z);return re?[{start:re.index,end:re.index+re[0].length}]:ee?I(q,z):E(q,z)}e.matchesFuzzy=P;function x(q,z){const ee=ae(q,q.toLowerCase(),0,z,z.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return ee?A(ee):null}e.matchesFuzzy2=x;function T(q,z,ee,$,re,oe){const ge=Math.min(13,q.length);for(;ee"u")return[];const z=[],ee=q[1];for(let $=q.length-1;$>1;$--){const re=q[$]+ee,oe=z[z.length-1];oe&&oe.end===re?oe.end=re+1:z.push({start:re,end:re+1})}return z}e.createMatches=A;const N=128;function F(){const q=[],z=[];for(let ee=0;ee<=N;ee++)z[ee]=0;for(let ee=0;ee<=N;ee++)q.push(z.slice(0));return q}function O(q){const z=[];for(let ee=0;ee<=q;ee++)z[ee]=0;return z}const W=O(2*N),U=O(2*N),j=F(),R=F(),K=F(),G=!1;function Z(q,z,ee,$,re){function oe(ve,Se,Le=" "){for(;ve.lengthoe(ve,3)).join("|")} -`;for(let ve=0;ve<=ee;ve++)ve===0?ge+=" |":ge+=`${z[ve-1]}|`,ge+=q[ve].slice(0,re+1).map(Se=>oe(Se.toString(),3)).join("|")+` -`;return ge}function J(q,z,ee,$){q=q.substr(z),ee=ee.substr($),console.log(Z(R,q,q.length,ee,ee.length)),console.log(Z(K,q,q.length,ee,ee.length)),console.log(Z(j,q,q.length,ee,ee.length))}function X(q,z){if(z<0||z>=q.length)return!1;const ee=q.codePointAt(z);switch(ee){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!k.isEmojiImprecise(ee)}}function H(q,z){if(z<0||z>=q.length)return!1;switch(q.charCodeAt(z)){case 32:case 9:return!0;default:return!1}}function B(q,z,ee){return z[q]!==ee[q]}function V(q,z,ee,$,re,oe,ge=!1){for(;zN?N:q.length,Se=$.length>N?N:$.length;if(ee>=ve||oe>=Se||ve-ee>Se-oe||!V(z,ee,ve,re,oe,Se,!0))return;ce(ve,Se,ee,oe,z,re);let Le=1,De=1,ye=ee,Ee=oe;const Me=[!1];for(Le=1,ye=ee;yele,Ve=Re?R[Le][De-1]+(j[Le][De-1]>0?-5:0):0,ze=Ee>le+1&&j[Le][De-1]>0,We=ze?R[Le][De-2]+(j[Le][De-2]>0?-5:0):0;if(ze&&(!Re||We>=Ve)&&(!Ie||We>=Ne))R[Le][De]=We,K[Le][De]=3,j[Le][De]=0;else if(Re&&(!Ie||Ve>=Ne))R[Le][De]=Ve,K[Le][De]=2,j[Le][De]=0;else if(Ie)R[Le][De]=Ne,K[Le][De]=1,j[Le][De]=j[Le-1][De-1]+1;else throw new Error("not possible")}}if(G&&J(q,ee,$,oe),!Me[0]&&!ge.firstMatchCanBeWeak)return;Le--,De--;const Pe=[R[Le][De],oe];let Fe=0,_e=0;for(;Le>=1;){let le=De;do{const pe=K[Le][le];if(pe===3)le=le-2;else if(pe===2)le=le-1;else break}while(le>=1);Fe>1&&z[ee+Le-1]===re[oe+De-1]&&!B(le+oe-1,$,re)&&Fe+1>j[Le][le]&&(le=De),le===De?Fe++:Fe=1,_e||(_e=le),Le--,De=le-1,Pe.push(De)}Se===ve&&ge.boostFullMatch&&(Pe[0]+=2);const me=_e-ve;return Pe[0]-=me,Pe}e.fuzzyScore=ae;function ce(q,z,ee,$,re,oe){let ge=q-1,ve=z-1;for(;ge>=ee&&ve>=$;)re[ge]===oe[ve]&&(U[ge]=ve,ge--),ve--}function de(q,z,ee,$,re,oe,ge,ve,Se,Le,De){if(z[ee]!==oe[ge])return Number.MIN_SAFE_INTEGER;let ye=1,Ee=!1;return ge===ee-$?ye=q[ee]===re[ge]?7:5:B(ge,re,oe)&&(ge===0||!B(ge-1,re,oe))?(ye=q[ee]===re[ge]?7:5,Ee=!0):X(oe,ge)&&(ge===0||!X(oe,ge-1))?ye=5:(X(oe,ge-1)||H(oe,ge-1))&&(ye=5,Ee=!0),ye>1&&ee===$&&(De[0]=!0),Ee||(Ee=B(ge,re,oe)||X(oe,ge-1)||H(oe,ge-1)),ee===$?ge>Se&&(ye-=Ee?3:5):Le?ye+=Ee?2:0:ye+=Ee?0:1,ge+1===ve&&(ye-=Ee?3:5),ye}function he(q,z,ee,$,re,oe,ge){return ue(q,z,ee,$,re,oe,!0,ge)}e.fuzzyScoreGracefulAggressive=he;function ue(q,z,ee,$,re,oe,ge,ve){let Se=ae(q,z,ee,$,re,oe,ve);if(Se&&!ge)return Se;if(q.length>=3){const Le=Math.min(7,q.length-1);for(let De=ee+1;DeSe[0])&&(Se=Ee))}}}return Se}function te(q,z){if(z+1>=q.length)return;const ee=q[z],$=q[z+1];if(ee!==$)return q.slice(0,z)+$+ee+q.slice(z+2)}}),define(ne[143],se([1,0,11]),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 k(a){return y(a,0)}e.hash=k;function y(a,u){switch(typeof a){case"object":return a===null?D(349,u):Array.isArray(a)?_(a,u):g(a,u);case"string":return f(a,u);case"boolean":return S(a,u);case"number":return D(a,u);case"undefined":return D(937,u);default:return D(617,u)}}e.doHash=y;function D(a,u){return(u<<5)-u+a|0}e.numberHash=D;function S(a,u){return D(a?433:863,u)}function f(a,u){u=D(149417,u);for(let h=0,r=a.length;hy(r,h),u)}function g(a,u){return u=D(181387,u),Object.keys(a).sort().reduce((h,r)=>(h=f(r,h),y(a[r],h)),u)}function C(a,u,h=32){const r=h-u,c=~((1<>>r)>>>0}function s(a,u=0,h=a.byteLength,r=0){for(let c=0;ch.toString(16).padStart(2,"0")).join(""):i((a>>>0).toString(16),u/4)}e.toHexString=n;class t{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(u){const h=u.length;if(h===0)return;const r=this._buff;let c=this._buffLen,o=this._leftoverHighSurrogate,d,l;for(o!==0?(d=o,l=-1,o=0):(d=u.charCodeAt(0),l=0);;){let p=d;if(L.isHighSurrogate(d))if(l+1>>6,u[h++]=128|(r&63)>>>0):r<65536?(u[h++]=224|(r&61440)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0):(u[h++]=240|(r&1835008)>>>18,u[h++]=128|(r&258048)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0),h>=64&&(this._step(),h-=64,this._totalLen+=64,u[0]=u[64+0],u[1]=u[64+1],u[2]=u[64+2]),h}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()),n(this._h0)+n(this._h1)+n(this._h2)+n(this._h3)+n(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,s(this._buff,this._buffLen),this._buffLen>56&&(this._step(),s(this._buff));const u=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(u/4294967296),!1),this._buffDV.setUint32(60,u%4294967296,!1),this._step()}_step(){const u=t._bigBlock32,h=this._buffDV;for(let b=0;b<64;b+=4)u.setUint32(b,h.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)u.setUint32(b,C(u.getUint32(b-12,!1)^u.getUint32(b-32,!1)^u.getUint32(b-56,!1)^u.getUint32(b-64,!1),1),!1);let r=this._h0,c=this._h1,o=this._h2,d=this._h3,l=this._h4,p,m,v;for(let b=0;b<80;b++)b<20?(p=c&o|~c&d,m=1518500249):b<40?(p=c^o^d,m=1859775393):b<60?(p=c&o|c&d|o&d,m=2400959708):(p=c^o^d,m=3395469782),v=C(r,5)+p+l+m+u.getUint32(b*4,!1)&4294967295,l=d,d=o,o=C(c,30),c=r,r=v;this._h0=this._h0+r&4294967295,this._h1=this._h1+c&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+l&4294967295}}e.StringSHA1=t,t._bigBlock32=new DataView(new ArrayBuffer(320))}),define(ne[168],se([1,0,383,143]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.stringDiff=e.StringDiffSequence=void 0;class y{constructor(s){this.source=s}getElements(){const s=this.source,i=new Int32Array(s.length);for(let n=0,t=s.length;n0||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(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),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 g{constructor(s,i,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=s,this._modifiedSequence=i;const[t,a,u]=g._getElements(s),[h,r,c]=g._getElements(i);this._hasStrings=u&&c,this._originalStringElements=t,this._originalElementsOrHash=a,this._modifiedStringElements=h,this._modifiedElementsOrHash=r,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(s){return s.length>0&&typeof s[0]=="string"}static _getElements(s){const i=s.getElements();if(g._isStringArray(i)){const n=new Int32Array(i.length);for(let t=0,a=i.length;t=s&&t>=n&&this.ElementsAreEqual(i,t);)i--,t--;if(s>i||n>t){let d;return n<=t?(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),d=[new L.DiffChange(s,0,n,t-n+1)]):s<=i?(S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[new L.DiffChange(s,i-s+1,n,0)]):(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const u=[0],h=[0],r=this.ComputeRecursionPoint(s,i,n,t,u,h,a),c=u[0],o=h[0];if(r!==null)return r;if(!a[0]){const d=this.ComputeDiffRecursive(s,c,n,o,a);let l=[];return a[0]?l=[new L.DiffChange(c+1,i-(c+1)+1,o+1,t-(o+1)+1)]:l=this.ComputeDiffRecursive(c+1,i,o+1,t,a),this.ConcatenateChanges(d,l)}return[new L.DiffChange(s,i-s+1,n,t-n+1)]}WALKTRACE(s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E){let I=null,M=null,P=new _,x=i,T=n,A=p[0]-b[0]-t,N=-1073741824,F=this.m_forwardHistory.length-1;do{const O=A+s;O===x||O=0&&(c=this.m_forwardHistory[F],s=c[0],x=1,T=c.length-1)}while(--F>=-1);if(I=P.getReverseChanges(),E[0]){let O=p[0]+1,W=b[0]+1;if(I!==null&&I.length>0){const U=I[I.length-1];O=Math.max(O,U.getOriginalEnd()),W=Math.max(W,U.getModifiedEnd())}M=[new L.DiffChange(O,l-O+1,W,v-W+1)]}else{P=new _,x=u,T=h,A=p[0]-b[0]-r,N=1073741824,F=w?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const O=A+a;O===x||O=o[O+1]?(d=o[O+1]-1,m=d-A-r,d>N&&P.MarkNextChange(),N=d+1,P.AddOriginalElement(d+1,m+1),A=O+1-a):(d=o[O-1],m=d-A-r,d>N&&P.MarkNextChange(),N=d,P.AddModifiedElement(d+1,m+1),A=O-1-a),F>=0&&(o=this.m_reverseHistory[F],a=o[0],x=1,T=o.length-1)}while(--F>=-1);M=P.getChanges()}return this.ConcatenateChanges(I,M)}ComputeRecursionPoint(s,i,n,t,a,u,h){let r=0,c=0,o=0,d=0,l=0,p=0;s--,n--,a[0]=0,u[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=i-s+(t-n),v=m+1,b=new Int32Array(v),w=new Int32Array(v),E=t-n,I=i-s,M=s-n,P=i-t,T=(I-E)%2===0;b[E]=s,w[I]=i,h[0]=!1;for(let A=1;A<=m/2+1;A++){let N=0,F=0;o=this.ClipDiagonalBound(E-A,A,E,v),d=this.ClipDiagonalBound(E+A,A,E,v);for(let W=o;W<=d;W+=2){W===o||WN+F&&(N=r,F=c),!T&&Math.abs(W-I)<=A-1&&r>=w[W])return a[0]=r,u[0]=c,U<=w[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}const O=(N-s+(F-n)-A)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(N,O))return h[0]=!0,a[0]=N,u[0]=F,O>0&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):(s++,n++,[new L.DiffChange(s,i-s+1,n,t-n+1)]);l=this.ClipDiagonalBound(I-A,A,I,v),p=this.ClipDiagonalBound(I+A,A,I,v);for(let W=l;W<=p;W+=2){W===l||W=w[W+1]?r=w[W+1]-1:r=w[W-1],c=r-(W-I)-P;const U=r;for(;r>s&&c>n&&this.ElementsAreEqual(r,c);)r--,c--;if(w[W]=r,T&&Math.abs(W-E)<=A&&r<=b[W])return a[0]=r,u[0]=c,U>=b[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}if(A<=1447){let W=new Int32Array(d-o+2);W[0]=E-o+1,f.Copy2(b,o,W,1,d-o+1),this.m_forwardHistory.push(W),W=new Int32Array(p-l+2),W[0]=I-l+1,f.Copy2(w,l,W,1,p-l+1),this.m_reverseHistory.push(W)}}return this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h)}PrettifyChanges(s){for(let i=0;i0,h=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;i--){const n=s[i];let t=0,a=0;if(i>0){const d=s[i-1];t=d.originalStart+d.originalLength,a=d.modifiedStart+d.modifiedLength}const u=n.originalLength>0,h=n.modifiedLength>0;let r=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let d=1;;d++){const l=n.originalStart-d,p=n.modifiedStart-d;if(lc&&(c=v,r=d)}n.originalStart-=r,n.modifiedStart-=r;const o=[null];if(i>0&&this.ChangesOverlap(s[i-1],s[i],o)){s[i-1]=o[0],s.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,n=s.length;i0&&p>r&&(r=p,c=d,o=l)}return r>0?[c,o]:null}_contiguousSequenceScore(s,i,n){let t=0;for(let a=0;a=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[s])}_OriginalRegionIsBoundary(s,i){if(this._OriginalIsBoundary(s)||this._OriginalIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(s){return s<=0||s>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[s])}_ModifiedRegionIsBoundary(s,i){if(this._ModifiedIsBoundary(s)||this._ModifiedIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(s,i,n,t){const a=this._OriginalRegionIsBoundary(s,i)?1:0,u=this._ModifiedRegionIsBoundary(n,t)?1:0;return a+u}ConcatenateChanges(s,i){const n=[];if(s.length===0||i.length===0)return i.length>0?i:s;if(this.ChangesOverlap(s[s.length-1],i[0],n)){const t=new Array(s.length+i.length-1);return f.Copy(s,0,t,0,s.length-1),t[s.length-1]=n[0],f.Copy(i,1,t,s.length,i.length-1),t}else{const t=new Array(s.length+i.length);return f.Copy(s,0,t,0,s.length),f.Copy(i,0,t,s.length,i.length),t}}ChangesOverlap(s,i,n){if(S.Assert(s.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),S.Assert(s.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),s.originalStart+s.originalLength>=i.originalStart||s.modifiedStart+s.modifiedLength>=i.modifiedStart){const t=s.originalStart;let a=s.originalLength;const u=s.modifiedStart;let h=s.modifiedLength;return s.originalStart+s.originalLength>=i.originalStart&&(a=i.originalStart+i.originalLength-s.originalStart),s.modifiedStart+s.modifiedLength>=i.modifiedStart&&(h=i.modifiedStart+i.modifiedLength-s.modifiedStart),n[0]=new L.DiffChange(t,a,u,h),!0}else return n[0]=null,!1}ClipDiagonalBound(s,i,n,t){if(s>=0&&s0?f[0].toUpperCase()+f.substr(1):S[0][0].toUpperCase()!==S[0][0]&&f.length>0?f[0].toLowerCase()+f.substr(1):f}else return f}e.buildReplaceStringWithCasePreserved=k;function y(S,f,_){return S[0].indexOf(_)!==-1&&f.indexOf(_)!==-1&&S[0].split(_).length===f.split(_).length}function D(S,f,_){const g=f.split(_),C=S[0].split(_);let s="";return g.forEach((i,n)=>{s+=k([C[n]],i)+_}),s.slice(0,-1)}}),define(ne[101],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var k;(function(y){y[y.Ignore=0]="Ignore",y[y.Info=1]="Info",y[y.Warning=2]="Warning",y[y.Error=3]="Error"})(k||(k={})),function(y){const D="error",S="warning",f="warn",_="info",g="ignore";function C(i){return i?L.equalsIgnoreCase(D,i)?y.Error:L.equalsIgnoreCase(S,i)||L.equalsIgnoreCase(f,i)?y.Warning:L.equalsIgnoreCase(_,i)?y.Info:y.Ignore:y.Ignore}y.fromValue=C;function s(i){switch(i){case y.Error:return D;case y.Warning:return S;case y.Info:return _;default:return g}}y.toString=s}(k||(k={})),e.default=k}),define(ne[264],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MicrotaskDelay=void 0,e.MicrotaskDelay=Symbol("MicrotaskDelay")}),define(ne[198],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TernarySearchTree=e.UriIterator=e.PathIterator=e.ConfigKeysIterator=e.StringIterator=void 0;class k{constructor(){this._value="",this._pos=0}reset(C){return this._value=C,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;s--,this._valueLen--){const i=this._value.charCodeAt(s);if(!(i===47||this._splitOnBackslash&&i===92))break}return this.next()}hasNext(){return this._to!1,s=()=>!1){return new _(new S(C,s))}static forStrings(){return new _(new k)}static forConfigKeys(){return new _(new y)}constructor(C){this._iter=C}clear(){this._root=void 0}set(C,s){const i=this._iter.reset(C);let n;this._root||(this._root=new f,this._root.segment=i.value());const t=[];for(n=this._root;;){const u=i.cmp(n.segment);if(u>0)n.left||(n.left=new f,n.left.segment=i.value()),t.push([-1,n]),n=n.left;else if(u<0)n.right||(n.right=new f,n.right.segment=i.value()),t.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new f,n.mid.segment=i.value()),t.push([0,n]),n=n.mid;else break}const a=n.value;n.value=s,n.key=C;for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r<-1||r>1){const c=t[u][0],o=t[u+1][0];if(c===1&&o===1)t[u][1]=h.rotateLeft();else if(c===-1&&o===-1)t[u][1]=h.rotateRight();else if(c===1&&o===-1)h.right=t[u+1][1]=t[u+1][1].rotateRight(),t[u][1]=h.rotateLeft();else if(c===-1&&o===1)h.left=t[u+1][1]=t[u+1][1].rotateLeft(),t[u][1]=h.rotateRight();else throw new Error;if(u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}return a}get(C){var s;return(s=this._getNode(C))===null||s===void 0?void 0:s.value}_getNode(C){const s=this._iter.reset(C);let i=this._root;for(;i;){const n=s.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(s.hasNext())s.next(),i=i.mid;else break}return i}has(C){const s=this._getNode(C);return!(s?.value===void 0&&s?.mid===void 0)}delete(C){return this._delete(C,!1)}deleteSuperstr(C){return this._delete(C,!0)}_delete(C,s){var i;const n=this._iter.reset(C),t=[];let a=this._root;for(;a;){const u=n.cmp(a.segment);if(u>0)t.push([-1,a]),a=a.left;else if(u<0)t.push([1,a]),a=a.right;else if(n.hasNext())n.next(),t.push([0,a]),a=a.mid;else break}if(a){if(s?(a.left=void 0,a.mid=void 0,a.right=void 0,a.height=1):(a.key=void 0,a.value=void 0),!a.mid&&!a.value)if(a.left&&a.right){const u=this._min(a.right);if(u.key){const{key:h,value:r,segment:c}=u;this._delete(u.key,!1),a.key=h,a.value=r,a.segment=c}}else{const u=(i=a.left)!==null&&i!==void 0?i:a.right;if(t.length>0){const[h,r]=t[t.length-1];switch(h){case-1:r.left=u;break;case 0:r.mid=u;break;case 1:r.right=u;break}}else this._root=u}for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r>1?(h.right.balanceFactor()>=0||(h.right=h.right.rotateRight()),t[u][1]=h.rotateLeft()):r<-1&&(h.left.balanceFactor()<=0||(h.left=h.left.rotateLeft()),t[u][1]=h.rotateRight()),u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}}_min(C){for(;C.left;)C=C.left;return C}findSubstr(C){const s=this._iter.reset(C);let i=this._root,n;for(;i;){const t=s.cmp(i.segment);if(t>0)i=i.left;else if(t<0)i=i.right;else if(s.hasNext())s.next(),n=i.value||n,i=i.mid;else break}return i&&i.value||n}findSuperstr(C){return this._findSuperstrOrElement(C,!1)}_findSuperstrOrElement(C,s){const i=this._iter.reset(C);let n=this._root;for(;n;){const t=i.cmp(n.segment);if(t>0)n=n.left;else if(t<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this._entries(n.mid):s?n.value:void 0}}forEach(C){for(const[s,i]of this)C(i,s)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(C){const s=[];return this._dfsEntries(C,s),s[Symbol.iterator]()}_dfsEntries(C,s){C&&(C.left&&this._dfsEntries(C.left,s),C.value&&s.push([C.key,C.value]),C.mid&&this._dfsEntries(C.mid,s),C.right&&this._dfsEntries(C.right,s))}}e.TernarySearchTree=_}),define(ne[20],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isString=void 0;function L(u){return typeof u=="string"}e.isString=L;function k(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}e.isObject=k;function y(u){const h=Object.getPrototypeOf(Uint8Array);return typeof u=="object"&&u instanceof h}e.isTypedArray=y;function D(u){return typeof u=="number"&&!isNaN(u)}e.isNumber=D;function S(u){return!!u&&typeof u[Symbol.iterator]=="function"}e.isIterable=S;function f(u){return u===!0||u===!1}e.isBoolean=f;function _(u){return typeof u>"u"}e.isUndefined=_;function g(u){return!C(u)}e.isDefined=g;function C(u){return _(u)||u===null}e.isUndefinedOrNull=C;function s(u,h){if(!u)throw new Error(h?`Unexpected type, expected '${h}'`:"Unexpected type")}e.assertType=s;function i(u){if(C(u))throw new Error("Assertion Failed: argument is undefined or null");return u}e.assertIsDefined=i;function n(u){return typeof u=="function"}e.isFunction=n;function t(u,h){const r=Math.min(u.length,h.length);for(let c=0;c{t[a]=u&&typeof u=="object"?k(u):u}),t}e.deepClone=k;function y(n){if(!n||typeof n!="object")return n;const t=[n];for(;t.length>0;){const a=t.shift();Object.freeze(a);for(const u in a)if(D.call(a,u)){const h=a[u];typeof h=="object"&&!Object.isFrozen(h)&&!(0,L.isTypedArray)(h)&&t.push(h)}}return n}e.deepFreeze=y;const D=Object.prototype.hasOwnProperty;function S(n,t){return f(n,t,new Set)}e.cloneAndChange=S;function f(n,t,a){if((0,L.isUndefinedOrNull)(n))return n;const u=t(n);if(typeof u<"u")return u;if(Array.isArray(n)){const h=[];for(const r of n)h.push(f(r,t,a));return h}if((0,L.isObject)(n)){if(a.has(n))throw new Error("Cannot clone recursive data-structure");a.add(n);const h={};for(const r in n)D.call(n,r)&&(h[r]=f(n[r],t,a));return a.delete(n),h}return n}function _(n,t,a=!0){return(0,L.isObject)(n)?((0,L.isObject)(t)&&Object.keys(t).forEach(u=>{u in n?a&&((0,L.isObject)(n[u])&&(0,L.isObject)(t[u])?_(n[u],t[u],a):n[u]=t[u]):n[u]=t[u]}),n):t}e.mixin=_;function g(n,t){if(n===t)return!0;if(n==null||t===null||t===void 0||typeof n!=typeof t||typeof n!="object"||Array.isArray(n)!==Array.isArray(t))return!1;let a,u;if(Array.isArray(n)){if(n.length!==t.length)return!1;for(a=0;afunction(){const r=Array.prototype.slice.call(arguments,0);return t(h,r)},u={};for(const h of n)u[h]=a(h);return u}e.createProxyObject=i}),define(ne[26],se([1,0,25]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ThemeIcon=e.ThemeColor=void 0;var k;(function(D){function S(f){return f&&typeof f=="object"&&typeof f.id=="string"}D.isThemeColor=S})(k||(e.ThemeColor=k={}));var y;(function(D){D.iconNameSegment="[A-Za-z0-9]+",D.iconNameExpression="[A-Za-z0-9-]+",D.iconModifierExpression="~[A-Za-z]+",D.iconNameCharacter="[A-Za-z0-9~-]";const S=new RegExp(`^(${D.iconNameExpression})(${D.iconModifierExpression})?$`);function f(h){const r=S.exec(h.id);if(!r)return f(L.Codicon.error);const[,c,o]=r,d=["codicon","codicon-"+c];return o&&d.push("codicon-modifier-"+o.substring(1)),d}D.asClassNameArray=f;function _(h){return f(h).join(" ")}D.asClassName=_;function g(h){return"."+f(h).join(".")}D.asCSSSelector=g;function C(h){return h&&typeof h=="object"&&typeof h.id=="string"&&(typeof h.color>"u"||k.isThemeColor(h.color))}D.isThemeIcon=C;const s=new RegExp(`^\\$\\((${D.iconNameExpression}(?:${D.iconModifierExpression})?)\\)$`);function i(h){const r=s.exec(h);if(!r)return;const[,c]=r;return{id:c}}D.fromString=i;function n(h){return{id:h}}D.fromId=n;function t(h,r){let c=h.id;const o=c.lastIndexOf("~");return o!==-1&&(c=c.substring(0,o)),r&&(c=`${c}~${r}`),{id:c}}D.modify=t;function a(h){const r=h.id.lastIndexOf("~");if(r!==-1)return h.id.substring(r+1)}D.getModifier=a;function u(h,r){var c,o;return h.id===r.id&&((c=h.color)===null||c===void 0?void 0:c.id)===((o=r.color)===null||o===void 0?void 0:o.id)}D.isEqual=u})(y||(e.ThemeIcon=y={}))}),define(ne[120],se([1,0,72,11,26]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.getCodiconAriaLabel=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=void 0;const D="$(",S=new RegExp(`\\$\\(${y.ThemeIcon.iconNameExpression}(?:${y.ThemeIcon.iconModifierExpression})?\\)`,"g"),f=new RegExp(`(\\\\)?${S.source}`,"g");function _(h){return h.replace(f,(r,c)=>c?r:`\\${r}`)}e.escapeIcons=_;const g=new RegExp(`\\\\${S.source}`,"g");function C(h){return h.replace(g,r=>`\\${r}`)}e.markdownEscapeEscapedIcons=C;const s=new RegExp(`(\\s)?(\\\\)?${S.source}(\\s)?`,"g");function i(h){return h.indexOf(D)===-1?h:h.replace(s,(r,c,o,d)=>o?r:c||d||"")}e.stripIcons=i;function n(h){return h?h.replace(/\$\((.*?)\)/g,(r,c)=>` ${c} `).trim():""}e.getCodiconAriaLabel=n;const t=new RegExp(`\\$\\(${y.ThemeIcon.iconNameCharacter}+\\)`,"g");function a(h){t.lastIndex=0;let r="";const c=[];let o=0;for(;;){const d=t.lastIndex,l=t.exec(h),p=h.substring(d,l?.index);if(p.length>0){r+=p;for(let m=0;m255?255:y|0}e.toUint8=L;function k(y){return y<0?0:y>4294967295?4294967295:y|0}e.toUint32=k}),define(ne[170],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let L;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?L=crypto.getRandomValues.bind(crypto):L=function(D){for(let S=0;Swe(this,void 0,void 0,function*(){return s}),asFile:()=>{},value:typeof s=="string"?s:void 0}}e.createStringDataTransferItem=D;function S(s,i,n){const t={id:(0,y.generateUuid)(),name:s,uri:i,data:n};return{asString:()=>we(this,void 0,void 0,function*(){return""}),asFile:()=>t,value:void 0}}e.createFileDataTransferItem=S;class f{constructor(){this._entries=new Map}get size(){let i=0;for(const n of this._entries)i++;return i}has(i){return this._entries.has(this.toKey(i))}matches(i){const n=[...this._entries.keys()];return k.Iterable.some(this,([t,a])=>a.asFile())&&n.push("files"),C(_(i),n)}get(i){var n;return(n=this._entries.get(this.toKey(i)))===null||n===void 0?void 0:n[0]}append(i,n){const t=this._entries.get(i);t?t.push(n):this._entries.set(this.toKey(i),[n])}replace(i,n){this._entries.set(this.toKey(i),[n])}delete(i){this._entries.delete(this.toKey(i))}*[Symbol.iterator](){for(const[i,n]of this._entries)for(const t of n)yield[i,t]}toKey(i){return _(i)}}e.VSDataTransfer=f;function _(s){return s.toLowerCase()}function g(s,i){return C(_(s),i.map(_))}e.matchesMimeType=g;function C(s,i){if(s==="*/*")return i.length>0;if(i.includes(s))return!0;const n=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!n)return!1;const[t,a,u]=n;return u==="*"?i.some(h=>h.startsWith(a+"/")):!1}e.UriList=Object.freeze({create:s=>(0,L.distinct)(s.map(i=>i.toString())).join(`\r -`),split:s=>s.split(`\r -`),parse:s=>e.UriList.split(s).filter(i=>!i.startsWith("#"))})}),define(ne[265],se([10]),{}),define(ne[393],se([10]),{}),define(ne[394],se([10]),{}),define(ne[395],se([10]),{}),define(ne[396],se([10]),{}),define(ne[172],se([1,0,395,396]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[397],se([10]),{}),define(ne[398],se([10]),{}),define(ne[266],se([10]),{}),define(ne[267],se([10]),{}),define(ne[399],se([10]),{}),define(ne[400],se([10]),{}),define(ne[401],se([10]),{}),define(ne[402],se([10]),{}),define(ne[268],se([10]),{}),define(ne[403],se([10]),{}),define(ne[173],se([1,0,403]),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(ne[404],se([10]),{}),define(ne[405],se([10]),{}),define(ne[406],se([10]),{}),define(ne[407],se([10]),{}),define(ne[408],se([10]),{}),define(ne[409],se([10]),{}),define(ne[410],se([10]),{}),define(ne[411],se([10]),{}),define(ne[412],se([10]),{}),define(ne[413],se([10]),{}),define(ne[414],se([10]),{}),define(ne[415],se([10]),{}),define(ne[416],se([10]),{}),define(ne[417],se([10]),{}),define(ne[418],se([10]),{}),define(ne[419],se([10]),{}),define(ne[420],se([10]),{}),define(ne[421],se([10]),{}),define(ne[422],se([10]),{}),define(ne[423],se([10]),{}),define(ne[424],se([10]),{}),define(ne[425],se([10]),{}),define(ne[426],se([10]),{}),define(ne[427],se([10]),{}),define(ne[428],se([10]),{}),define(ne[429],se([10]),{}),define(ne[430],se([10]),{}),define(ne[431],se([10]),{}),define(ne[432],se([10]),{}),define(ne[433],se([10]),{}),define(ne[434],se([10]),{}),define(ne[435],se([10]),{}),define(ne[436],se([10]),{}),define(ne[437],se([10]),{}),define(ne[438],se([10]),{}),define(ne[439],se([10]),{}),define(ne[199],se([10]),{}),define(ne[440],se([10]),{}),define(ne[441],se([10]),{}),define(ne[442],se([10]),{}),define(ne[443],se([10]),{}),define(ne[444],se([10]),{}),define(ne[445],se([10]),{}),define(ne[446],se([10]),{}),define(ne[447],se([10]),{}),define(ne[448],se([10]),{}),define(ne[449],se([10]),{}),define(ne[450],se([10]),{}),define(ne[451],se([10]),{}),define(ne[452],se([10]),{}),define(ne[453],se([10]),{}),define(ne[454],se([10]),{}),define(ne[455],se([10]),{}),define(ne[456],se([10]),{}),define(ne[457],se([10]),{}),define(ne[458],se([10]),{}),define(ne[459],se([10]),{}),define(ne[460],se([10]),{}),define(ne[461],se([10]),{}),define(ne[462],se([10]),{}),define(ne[463],se([10]),{}),define(ne[464],se([10]),{}),define(ne[465],se([10]),{}),define(ne[466],se([10]),{}),define(ne[467],se([10]),{}),define(ne[468],se([10]),{}),define(ne[469],se([10]),{}),define(ne[470],se([10]),{}),define(ne[471],se([10]),{}),define(ne[269],se([10]),{}),define(ne[472],se([10]),{}),define(ne[473],se([10]),{}),define(ne[174],se([10]),{}),define(ne[474],se([10]),{}),define(ne[59],se([1,0,35]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyFontInfo=void 0;function k(y,D){y instanceof L.FastDomNode?(y.setFontFamily(D.getMassagedFontFamily()),y.setFontWeight(D.fontWeight),y.setFontSize(D.fontSize),y.setFontFeatureSettings(D.fontFeatureSettings),y.setFontVariationSettings(D.fontVariationSettings),y.setLineHeight(D.lineHeight),y.setLetterSpacing(D.letterSpacing)):(y.style.fontFamily=D.getMassagedFontFamily(),y.style.fontWeight=D.fontWeight,y.style.fontSize=D.fontSize+"px",y.style.fontFeatureSettings=D.fontFeatureSettings,y.style.fontVariationSettings=D.fontVariationSettings,y.style.lineHeight=D.lineHeight+"px",y.style.letterSpacing=D.letterSpacing+"px")}e.applyFontInfo=k}),define(ne[475],se([1,0,59]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCharWidths=e.CharWidthRequest=void 0;class k{constructor(f,_){this.chr=f,this.type=_,this.width=0}fulfill(f){this.width=f}}e.CharWidthRequest=k;class y{constructor(f,_){this._bareFontInfo=f,this._requests=_,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const f=document.createElement("div");f.style.position="absolute",f.style.top="-50000px",f.style.width="50000px";const _=document.createElement("div");(0,L.applyFontInfo)(_,this._bareFontInfo),f.appendChild(_);const g=document.createElement("div");(0,L.applyFontInfo)(g,this._bareFontInfo),g.style.fontWeight="bold",f.appendChild(g);const C=document.createElement("div");(0,L.applyFontInfo)(C,this._bareFontInfo),C.style.fontStyle="italic",f.appendChild(C);const s=[];for(const i of this._requests){let n;i.type===0&&(n=_),i.type===2&&(n=g),i.type===1&&(n=C),n.appendChild(document.createElement("br"));const t=document.createElement("span");y._render(t,i),n.appendChild(t),s.push(t)}this._container=f,this._testElements=s}static _render(f,_){if(_.chr===" "){let g="\xA0";for(let C=0;C<8;C++)g+=g;f.innerText=g}else{let g=_.chr;for(let C=0;C<8;C++)g+=g;f.textContent=g}}_readFromDomElements(){for(let f=0,_=this._requests.length;f<_;f++){const g=this._requests[f],C=this._testElements[f];g.fulfill(C.offsetWidth/256)}}}function D(S,f){new y(S,f).read()}e.readCharWidths=D}),define(ne[200],se([1,0,2,6]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ElementSizeObserver=void 0;class y extends L.Disposable{constructor(S,f){super(),this._onDidChange=this._register(new k.Emitter),this.onDidChange=this._onDidChange.event,this._referenceDomElement=S,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,f)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let S=null;const f=()=>{S?this.observe({width:S.width,height:S.height}):this.observe()};let _=!1,g=!1;const C=()=>{if(_&&!g)try{_=!1,g=!0,f()}finally{requestAnimationFrame(()=>{g=!1,C()})}};this._resizeObserver=new ResizeObserver(s=>{S=s&&s[0]&&s[0].contentRect?s[0].contentRect:null,_=!0,C()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(S){this.measureReferenceDomElement(!0,S)}measureReferenceDomElement(S,f){let _=0,g=0;f?(_=f.width,g=f.height):this._referenceDomElement&&(_=this._referenceDomElement.clientWidth,g=this._referenceDomElement.clientHeight),_=Math.max(5,_),g=Math.max(5,g),(this._width!==_||this._height!==g)&&(this._width=_,this._height=g,S&&this._onDidChange.fire())}}e.ElementSizeObserver=y}),define(ne[476],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.migrateOptions=e.EditorSettingMigration=void 0;class L{constructor(_,g){this.key=_,this.migrate=g}apply(_){const g=L._read(_,this.key),C=i=>L._read(_,i),s=(i,n)=>L._write(_,i,n);this.migrate(g,C,s)}static _read(_,g){if(typeof _>"u")return;const C=g.indexOf(".");if(C>=0){const s=g.substring(0,C);return this._read(_[s],g.substring(C+1))}return _[g]}static _write(_,g,C){const s=g.indexOf(".");if(s>=0){const i=g.substring(0,s);_[i]=_[i]||{},this._write(_[i],g.substring(s+1),C);return}_[g]=C}}e.EditorSettingMigration=L,L.items=[];function k(f,_){L.items.push(new L(f,_))}function y(f,_){k(f,(g,C,s)=>{if(typeof g<"u"){for(const[i,n]of _)if(g===i){s(f,n);return}}})}function D(f){L.items.forEach(_=>_.apply(f))}e.migrateOptions=D,y("wordWrap",[[!0,"on"],[!1,"off"]]),y("lineNumbers",[[!0,"on"],[!1,"off"]]),y("cursorBlinking",[["visible","solid"]]),y("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),y("renderLineHighlight",[[!0,"line"],[!1,"none"]]),y("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),y("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),y("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("autoIndent",[[!1,"advanced"],[!0,"full"]]),y("matchBrackets",[[!0,"always"],[!1,"never"]]),y("renderFinalNewline",[[!0,"on"],[!1,"off"]]),y("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),k("autoClosingBrackets",(f,_,g)=>{f===!1&&(g("autoClosingBrackets","never"),typeof _("autoClosingQuotes")>"u"&&g("autoClosingQuotes","never"),typeof _("autoSurround")>"u"&&g("autoSurround","never"))}),k("renderIndentGuides",(f,_,g)=>{typeof f<"u"&&(g("renderIndentGuides",void 0),typeof _("guides.indentation")>"u"&&g("guides.indentation",!!f))}),k("highlightActiveIndentGuide",(f,_,g)=>{typeof f<"u"&&(g("highlightActiveIndentGuide",void 0),typeof _("guides.highlightActiveIndentation")>"u"&&g("guides.highlightActiveIndentation",!!f))});const S={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};k("suggest.filteredTypes",(f,_,g)=>{if(f&&typeof f=="object"){for(const C of Object.entries(S))f[C[0]]===!1&&typeof _(`suggest.${C[1]}`)>"u"&&g(`suggest.${C[1]}`,!1);g("suggest.filteredTypes",void 0)}}),k("quickSuggestions",(f,_,g)=>{if(typeof f=="boolean"){const C=f?"on":"off";g("quickSuggestions",{comments:C,strings:C,other:C})}}),k("experimental.stickyScroll.enabled",(f,_,g)=>{typeof f=="boolean"&&(g("experimental.stickyScroll.enabled",void 0),typeof _("stickyScroll.enabled")>"u"&&g("stickyScroll.enabled",f))}),k("experimental.stickyScroll.maxLineCount",(f,_,g)=>{typeof f=="number"&&(g("experimental.stickyScroll.maxLineCount",void 0),typeof _("stickyScroll.maxLineCount")>"u"&&g("stickyScroll.maxLineCount",f))})}),define(ne[201],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabFocus=void 0;class k{constructor(){this._tabFocusTerminal=!1,this._tabFocusEditor=!1,this._onDidChangeTabFocus=new L.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(D){return D==="terminalFocus"?this._tabFocusTerminal:this._tabFocusEditor}setTabFocusMode(D,S){S==="terminalFocus"?this._tabFocusTerminal=D:this._tabFocusEditor=D,this._onDidChangeTabFocus.fire()}}e.TabFocus=new k}),define(ne[108],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class L{static capture(y){if(y.getScrollTop()===0||y.hasPendingScrollAnimation())return new L(y.getScrollTop(),y.getContentHeight(),null,0,null);let D=null,S=0;const f=y.getVisibleRanges();if(f.length>0){D=f[0].getStartPosition();const _=y.getTopForPosition(D.lineNumber,D.column);S=y.getScrollTop()-_}return new L(y.getScrollTop(),y.getContentHeight(),D,S,y.getPosition())}constructor(y,D,S,f,_){this._initialScrollTop=y,this._initialContentHeight=D,this._visiblePosition=S,this._visiblePositionScrollDelta=f,this._cursorPosition=_}restore(y){if(!(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())&&this._visiblePosition){const D=y.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);y.setScrollTop(D+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(y){if(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())return;const D=y.getPosition();if(!this._cursorPosition||!D)return;const S=y.getTopForLineNumber(D.lineNumber)-y.getTopForLineNumber(this._cursorPosition.lineNumber);y.setScrollTop(y.getScrollTop()+S)}}e.StableEditorScrollState=L}),define(ne[144],se([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(C,s){this._restrictedRenderingContextBrand=void 0,this._viewLayout=C,this.viewportData=s,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(C){return C-this.scrollTop}getVerticalOffsetForLineNumber(C,s){return this._viewLayout.getVerticalOffsetForLineNumber(C,s)}getVerticalOffsetAfterLineNumber(C,s){return this._viewLayout.getVerticalOffsetAfterLineNumber(C,s)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=L;class k extends L{constructor(C,s,i){super(C,s),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(C,s){return this._viewLines.linesVisibleRangesForRange(C,s)}visibleRangeForPosition(C){return this._viewLines.visibleRangeForPosition(C)}}e.RenderingContext=k;class y{constructor(C,s,i,n){this.outsideRenderedLine=C,this.lineNumber=s,this.ranges=i,this.continuesOnNextLine=n}}e.LineVisibleRanges=y;class D{static from(C){const s=new Array(C.length);for(let i=0,n=C.length;i=s.left?_.width=Math.max(_.width,s.left+s.width-_.left):(S[f++]=_,_=s)}return S[f++]=_,S}static _createHorizontalRangesFromClientRects(D,S,f){if(!D||D.length===0)return null;const _=[];for(let g=0,C=D.length;gi)return null;if(S=Math.min(i,Math.max(0,S)),_=Math.min(i,Math.max(0,_)),S===_&&f===g&&f===0&&!D.children[S].firstChild){const u=D.children[S].getClientRects();return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(u,C.clientRectDeltaLeft,C.clientRectScale)}S!==_&&_>0&&g===0&&(_--,g=1073741824);let n=D.children[S].firstChild,t=D.children[_].firstChild;if((!n||!t)&&(!n&&f===0&&S>0&&(n=D.children[S-1].firstChild,f=1073741824),!t&&g===0&&_>0&&(t=D.children[_-1].firstChild,g=1073741824)),!n||!t)return null;f=Math.min(n.textContent.length,Math.max(0,f)),g=Math.min(t.textContent.length,Math.max(0,g));const a=this._readClientRects(n,f,t,g,C.endNode);return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(a,C.clientRectDeltaLeft,C.clientRectScale)}}e.RangeUtil=k}),define(ne[270],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const k=[];for(let y=32;y<=126;y++)k.push(y);return k.push(65533),k})();const L=(k,y)=>(k-=32,k<0||k>96?y<=2?(k+96)%96:96-1:k);e.getCharIndex=L}),define(ne[479],se([1,0,270,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class y{constructor(S,f){this.scale=f,this._minimapCharRendererBrand=void 0,this.charDataNormal=y.soften(S,12/15),this.charDataLight=y.soften(S,50/60)}static soften(S,f){const _=new Uint8ClampedArray(S.length);for(let g=0,C=S.length;gS.width||_+c>S.height){console.warn("bad render request outside image data");return}const o=a?this.charDataLight:this.charDataNormal,d=(0,L.getCharIndex)(g,t),l=S.width*4,p=i.r,m=i.g,v=i.b,b=C.r-p,w=C.g-m,E=C.b-v,I=Math.max(s,n),M=S.data;let P=d*h*r,x=_*l+f*4;for(let T=0;TS.width||_+u>S.height){console.warn("bad render request outside image data");return}const h=S.width*4,r=.5*(C/255),c=s.r,o=s.g,d=s.b,l=g.r-c,p=g.g-o,m=g.b-d,v=c+l*r,b=o+p*r,w=d+m*r,E=Math.max(C,i),I=S.data;let M=_*h+f*4;for(let P=0;P{const S=new Uint8ClampedArray(D.length/2);for(let f=0;f>1]=k[D[f]]<<4|k[D[f+1]]&15;return S};e.prebakedMiniMaps={1:(0,L.once)(()=>y("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,L.once)(()=>y("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(ne[481],se([1,0,479,270,480,169]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class S{static create(_,g){if(this.lastCreated&&_===this.lastCreated.scale&&g===this.lastFontFamily)return this.lastCreated;let C;return y.prebakedMiniMaps[_]?C=new L.MinimapCharRenderer(y.prebakedMiniMaps[_](),_):C=S.createFromSampleData(S.createSampleData(g).data,_),this.lastFontFamily=g,this.lastCreated=C,C}static createSampleData(_){const g=document.createElement("canvas"),C=g.getContext("2d");g.style.height="16px",g.height=16,g.width=96*10,g.style.width=96*10+"px",C.fillStyle="#ffffff",C.font=`bold 16px ${_}`,C.textBaseline="middle";let s=0;for(const i of k.allCharCodes)C.fillText(String.fromCharCode(i),s,16/2),s+=10;return C.getImageData(0,0,96*10,16)}static createFromSampleData(_,g){if(_.length!==61440)throw new Error("Unexpected source in MinimapCharRenderer");const s=S._downsample(_,g);return new L.MinimapCharRenderer(s,g)}static _downsampleChar(_,g,C,s,i){const n=1*i,t=2*i;let a=s,u=0;for(let h=0;h0){const u=255/a;for(let h=0;hE?(l.push(b),m++):(l.push(d(v,b)),p++,m++)}for(;p{const p=c.read(l);d.set(p)})),o.add({dispose:()=>{d.clear()}}),o}e.applyObservableDecorations=S;function f(r,c){return r.appendChild(c),(0,L.toDisposable)(()=>{r.removeChild(c)})}e.appendRemoveOnDispose=f;class _ extends L.Disposable{get width(){return this._width}get height(){return this._height}constructor(c,o){super(),this.elementSizeObserver=this._register(new y.ElementSizeObserver(c,o)),this._width=(0,k.observableValue)("width",this.elementSizeObserver.getWidth()),this._height=(0,k.observableValue)("height",this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(d=>(0,k.transaction)(l=>{this._width.set(this.elementSizeObserver.getWidth(),l),this._height.set(this.elementSizeObserver.getHeight(),l)})))}observe(c){this.elementSizeObserver.observe(c)}setAutomaticLayout(c){c?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}e.ObservableElementSizeObserver=_;function g(r,c){let o=r.get(),d=o,l=o;const p=(0,k.observableValue)("animatedValue",o);let m=-1;const v=300;let b;c.add((0,k.autorunHandleChanges)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(E,I)=>(E.didChange(r)&&(I.animate=I.animate||E.change),!0)},(E,I)=>{b!==void 0&&(cancelAnimationFrame(b),b=void 0),d=l,o=r.read(E),m=Date.now()-(I.animate?0:v),w()}));function w(){const E=Date.now()-m;l=Math.floor(C(E,d,o-d,v)),E{this._actualTop.set(d,void 0)},this.onComputedHeight=d=>{this._actualHeight.set(d,void 0)}}}e.PlaceholderViewZone=i;class n{constructor(c,o){this._editor=c,this._domElement=o,this._overlayWidgetId=`managedOverlayWidget-${n._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}e.ManagedOverlayWidget=n,n._counter=0;function t(r,c){return(0,k.autorun)(o=>{for(let[d,l]of Object.entries(c))l&&typeof l=="object"&&"read"in l&&(l=l.read(o)),typeof l=="number"&&(l=`${l}px`),d=d.replace(/[A-Z]/g,p=>"-"+p.toLowerCase()),r.style[d]=l})}e.applyStyle=t;function a(r,c){return u([r],c),r}e.readHotReloadableExport=a;function u(r,c){const o=globalThis.$hotReload_deprecateExports;if(!o)return;(0,k.observableSignalFromEvent)("reload",l=>{function p(m,v){return[...Object.values(m)].some(b=>r.includes(b))?(l(void 0),!0):!1}return o.add(p),{dispose(){o.delete(p)}}}).read(c)}e.observeHotReloadableExports=u;function h(r,c,o){const d=new L.DisposableStore,l=[];return d.add((0,k.autorun)(p=>{const m=c.read(p),v=new Map,b=new Map;o&&o(!0),r.changeViewZones(w=>{for(const E of l)w.removeZone(E);l.length=0;for(const E of m){const I=w.addZone(E);l.push(I),v.set(E,I)}}),o&&o(!1),d.add((0,k.autorunHandleChanges)({createEmptyChangeSummary(){return[]},handleChange(w,E){const I=b.get(w.changedObservable);return I!==void 0&&E.push(I),!0}},(w,E)=>{for(const I of m)I.onChange&&(b.set(I.onChange,v.get(I)),I.onChange.read(w));o&&o(!0),r.changeViewZones(I=>{for(const M of E)I.layoutZone(M)}),o&&o(!1)}))})),d.add({dispose(){o&&o(!0),r.changeViewZones(p=>{for(const m of l)p.removeZone(m)}),o&&o(!1)}}),d}e.applyViewZones=h}),define(ne[271],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffEditorDefaultOptions=void 0,e.diffEditorDefaultOptions={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}}),define(ne[145],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorZoom=void 0,e.EditorZoom=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new L.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(k){k=Math.min(Math.max(-5,k),20),this._zoomLevel!==k&&(this._zoomLevel=k,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}}),define(ne[121],se([1,0,169]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterSet=e.CharacterClassifier=void 0;class k{constructor(S){const f=(0,L.toUint8)(S);this._defaultValue=f,this._asciiMap=k._createAsciiMap(f),this._map=new Map}static _createAsciiMap(S){const f=new Uint8Array(256);return f.fill(S),f}set(S,f){const _=(0,L.toUint8)(f);S>=0&&S<256?this._asciiMap[S]=_:this._map.set(S,_)}get(S){return S>=0&&S<256?this._asciiMap[S]:this._map.get(S)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}e.CharacterClassifier=k;class y{constructor(){this._actual=new k(0)}add(S){this._actual.set(S,1)}has(S){return this._actual.get(S)===1}clear(){return this._actual.clear()}}e.CharacterSet=y}),define(ne[82],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class k{static _nextVisibleColumn(D,S,f){return D===9?k.nextRenderTabStop(S,f):L.isFullWidthCharacter(D)||L.isEmojiImprecise(D)?S+2:S+1}static visibleColumnFromColumn(D,S,f){const _=Math.min(S-1,D.length),g=D.substring(0,_),C=new L.GraphemeIterator(g);let s=0;for(;!C.eol();){const i=L.getNextCodePoint(g,_,C.offset);C.nextGraphemeLength(),s=this._nextVisibleColumn(i,s,f)}return s}static columnFromVisibleColumn(D,S,f){if(S<=0)return 1;const _=D.length,g=new L.GraphemeIterator(D);let C=0,s=1;for(;!g.eol();){const i=L.getNextCodePoint(D,_,g.offset);g.nextGraphemeLength();const n=this._nextVisibleColumn(i,C,f),t=g.offset+1;if(n>=S){const a=S-C;return n-Sf))return new k(S,f)}static ofLength(S){return new k(0,S)}constructor(S,f){if(this.start=S,this.endExclusive=f,S>f)throw new L.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(S){return new k(this.start+S,this.endExclusive+S)}deltaStart(S){return new k(this.start+S,this.endExclusive)}deltaEnd(S){return new k(this.start,this.endExclusive+S)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(S){return this.start===S.start&&this.endExclusive===S.endExclusive}containsRange(S){return this.start<=S.start&&S.endExclusive<=this.endExclusive}contains(S){return this.start<=S&&S=this.endExclusive?this.start+(S-this.start)%this.length:S}}e.OffsetRange=k;class y{constructor(){this._sortedRanges=[]}addRange(S){let f=0;for(;fS.toString()).join(", ")}intersectsStrict(S){let f=0;for(;fS+f.length,0)}}e.OffsetRangeSet=y}),define(ne[12],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Position=void 0;class L{constructor(y,D){this.lineNumber=y,this.column=D}with(y=this.lineNumber,D=this.column){return y===this.lineNumber&&D===this.column?this:new L(y,D)}delta(y=0,D=0){return this.with(this.lineNumber+y,this.column+D)}equals(y){return L.equals(this,y)}static equals(y,D){return!y&&!D?!0:!!y&&!!D&&y.lineNumber===D.lineNumber&&y.column===D.column}isBefore(y){return L.isBefore(this,y)}static isBefore(y,D){return y.lineNumberf||D===f&&S>_?(this.startLineNumber=f,this.startColumn=_,this.endLineNumber=D,this.endColumn=S):(this.startLineNumber=D,this.startColumn=S,this.endLineNumber=f,this.endColumn=_)}isEmpty(){return k.isEmpty(this)}static isEmpty(D){return D.startLineNumber===D.endLineNumber&&D.startColumn===D.endColumn}containsPosition(D){return k.containsPosition(this,D)}static containsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.columnD.endColumn)}static strictContainsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.column<=D.startColumn||S.lineNumber===D.endLineNumber&&S.column>=D.endColumn)}containsRange(D){return k.containsRange(this,D)}static containsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumnD.endColumn)}strictContainsRange(D){return k.strictContainsRange(this,D)}static strictContainsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumn<=D.startColumn||S.endLineNumber===D.endLineNumber&&S.endColumn>=D.endColumn)}plusRange(D){return k.plusRange(this,D)}static plusRange(D,S){let f,_,g,C;return S.startLineNumberD.endLineNumber?(g=S.endLineNumber,C=S.endColumn):S.endLineNumber===D.endLineNumber?(g=S.endLineNumber,C=Math.max(S.endColumn,D.endColumn)):(g=D.endLineNumber,C=D.endColumn),new k(f,_,g,C)}intersectRanges(D){return k.intersectRanges(this,D)}static intersectRanges(D,S){let f=D.startLineNumber,_=D.startColumn,g=D.endLineNumber,C=D.endColumn;const s=S.startLineNumber,i=S.startColumn,n=S.endLineNumber,t=S.endColumn;return fn?(g=n,C=t):g===n&&(C=Math.min(C,t)),f>g||f===g&&_>C?null:new k(f,_,g,C)}equalsRange(D){return k.equalsRange(this,D)}static equalsRange(D,S){return!D&&!S?!0:!!D&&!!S&&D.startLineNumber===S.startLineNumber&&D.startColumn===S.startColumn&&D.endLineNumber===S.endLineNumber&&D.endColumn===S.endColumn}getEndPosition(){return k.getEndPosition(this)}static getEndPosition(D){return new L.Position(D.endLineNumber,D.endColumn)}getStartPosition(){return k.getStartPosition(this)}static getStartPosition(D){return new L.Position(D.startLineNumber,D.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(D,S){return new k(this.startLineNumber,this.startColumn,D,S)}setStartPosition(D,S){return new k(D,S,this.endLineNumber,this.endColumn)}collapseToStart(){return k.collapseToStart(this)}static collapseToStart(D){return new k(D.startLineNumber,D.startColumn,D.startLineNumber,D.startColumn)}collapseToEnd(){return k.collapseToEnd(this)}static collapseToEnd(D){return new k(D.endLineNumber,D.endColumn,D.endLineNumber,D.endColumn)}delta(D){return new k(this.startLineNumber+D,this.startColumn,this.endLineNumber+D,this.endColumn)}static fromPositions(D,S=D){return new k(D.lineNumber,D.column,S.lineNumber,S.column)}static lift(D){return D?new k(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn):null}static isIRange(D){return D&&typeof D.startLineNumber=="number"&&typeof D.startColumn=="number"&&typeof D.endLineNumber=="number"&&typeof D.endColumn=="number"}static areIntersectingOrTouching(D,S){return!(D.endLineNumberD.startLineNumber}toJSON(){return this}}e.Range=k}),define(ne[273],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class y{constructor(f,_,g,C,s){this.value=f,this.selectionStart=_,this.selectionEnd=g,this.selection=C,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(f,_){const g=f.getValue(),C=f.getSelectionStart(),s=f.getSelectionEnd();let i;if(_){const n=g.substring(0,C),t=_.value.substring(0,_.selectionStart);n===t&&(i=_.newlineCountBeforeSelection)}return new y(g,C,s,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new y(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(f,_,g){e._debugComposition&&console.log(`writeToTextArea ${f}: ${this.toString()}`),_.setValue(f,this.value),g&&_.setSelectionRange(f,this.selectionStart,this.selectionEnd)}deduceEditorPosition(f){var _,g,C,s,i,n,t,a;if(f<=this.selectionStart){const r=this.value.substring(f,this.selectionStart);return this._finishDeduceEditorPosition((g=(_=this.selection)===null||_===void 0?void 0:_.getStartPosition())!==null&&g!==void 0?g:null,r,-1)}if(f>=this.selectionEnd){const r=this.value.substring(this.selectionEnd,f);return this._finishDeduceEditorPosition((s=(C=this.selection)===null||C===void 0?void 0:C.getEndPosition())!==null&&s!==void 0?s:null,r,1)}const u=this.value.substring(this.selectionStart,f);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition((n=(i=this.selection)===null||i===void 0?void 0:i.getStartPosition())!==null&&n!==void 0?n:null,u,1);const h=this.value.substring(f,this.selectionEnd);return this._finishDeduceEditorPosition((a=(t=this.selection)===null||t===void 0?void 0:t.getEndPosition())!==null&&a!==void 0?a:null,h,-1)}_finishDeduceEditorPosition(f,_,g){let C=0,s=-1;for(;(s=_.indexOf(` -`,s+1))!==-1;)C++;return[f,g*_.length,C]}static deduceInput(f,_,g){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`));const C=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionStart,_.selectionStart),s=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd,_.value.length-_.selectionEnd),i=f.value.substring(C,f.value.length-s),n=_.value.substring(C,_.value.length-s),t=f.selectionStart-C,a=f.selectionEnd-C,u=_.selectionStart-C,h=_.selectionEnd-C;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${t}, selectionEnd: ${a}`),console.log(`AFTER DIFFING CURRENT STATE: <${n}>, selectionStart: ${u}, selectionEnd: ${h}`)),u===h){const c=f.selectionStart-C;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${c} chars`),{text:n,replacePrevCharCnt:c,replaceNextCharCnt:0,positionDelta:0}}const r=a-t;return{text:n,replacePrevCharCnt:r,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(f,_){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`)),f.value===_.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:_.selectionEnd-f.selectionEnd};const g=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionEnd),C=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd),s=f.value.substring(g,f.value.length-C),i=_.value.substring(g,_.value.length-C),n=f.selectionStart-g,t=f.selectionEnd-g,a=_.selectionStart-g,u=_.selectionEnd-g;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${s}>, selectionStart: ${n}, selectionEnd: ${t}`),console.log(`AFTER DIFFING CURRENT STATE: <${i}>, selectionStart: ${a}, selectionEnd: ${u}`)),{text:i,replacePrevCharCnt:t,replaceNextCharCnt:s.length-t,positionDelta:u-i.length}}}e.TextAreaState=y,y.EMPTY=new y("",0,0,null,void 0);class D{static _getPageOfLine(f,_){return Math.floor((f-1)/_)}static _getRangeForPage(f,_){const g=f*_,C=g+1,s=g+_;return new k.Range(C,1,s+1,1)}static fromEditorSelection(f,_,g,C){const i=D._getPageOfLine(_.startLineNumber,g),n=D._getRangeForPage(i,g),t=D._getPageOfLine(_.endLineNumber,g),a=D._getRangeForPage(t,g);let u=n.intersectRanges(new k.Range(1,1,_.startLineNumber,_.startColumn));if(C&&f.getValueLengthInRange(u,1)>500){const p=f.modifyPosition(u.getEndPosition(),-500);u=k.Range.fromPositions(p,u.getEndPosition())}const h=f.getValueInRange(u,1),r=f.getLineCount(),c=f.getLineMaxColumn(r);let o=a.intersectRanges(new k.Range(_.endLineNumber,_.endColumn,r,c));if(C&&f.getValueLengthInRange(o,1)>500){const p=f.modifyPosition(o.getStartPosition(),500);o=k.Range.fromPositions(o.getStartPosition(),p)}const d=f.getValueInRange(o,1);let l;if(i===t||i+1===t)l=f.getValueInRange(_,1);else{const p=n.intersectRanges(_),m=a.intersectRanges(_);l=f.getValueInRange(p,1)+String.fromCharCode(8230)+f.getValueInRange(m,1)}return C&&l.length>2*500&&(l=l.substring(0,500)+String.fromCharCode(8230)+l.substring(l.length-500,l.length)),new y(h+l+d,h.length,h.length+l.length,_,u.endLineNumber-u.startLineNumber)}}e.PagedScreenReaderStrategy=D}),define(ne[483],se([1,0,14,19,9,46,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class _{remove(){var n;(n=this.parent)===null||n===void 0||n.children.delete(this.id)}static findId(n,t){let a;typeof n=="string"?a=`${t.id}/${n}`:(a=`${t.id}/${n.name}`,t.children.get(a)!==void 0&&(a=`${t.id}/${n.name}_${n.range.startLineNumber}_${n.range.startColumn}`));let u=a;for(let h=0;t.children.get(u)!==void 0;h++)u=`${a}_${h}`;return u}static empty(n){return n.children.size===0}}e.TreeElement=_;class g extends _{constructor(n,t,a){super(),this.id=n,this.parent=t,this.symbol=a,this.children=new Map}}e.OutlineElement=g;class C extends _{constructor(n,t,a,u){super(),this.id=n,this.parent=t,this.label=a,this.order=u,this.children=new Map}}e.OutlineGroup=C;class s extends _{static create(n,t,a){const u=new k.CancellationTokenSource(a),h=new s(t.uri),r=n.ordered(t),c=r.map((d,l)=>{var p;const m=_.findId(`provider_${l}`,h),v=new C(m,h,(p=d.displayName)!==null&&p!==void 0?p:"Unknown Outline Provider",l);return Promise.resolve(d.provideDocumentSymbols(t,u.token)).then(b=>{for(const w of b||[])s._makeOutlineElement(w,v);return v},b=>((0,y.onUnexpectedExternalError)(b),v)).then(b=>{_.empty(b)?b.remove():h._groups.set(m,b)})}),o=n.onDidChange(()=>{const d=n.ordered(t);(0,L.equals)(d,r)||u.cancel()});return Promise.all(c).then(()=>u.token.isCancellationRequested&&!a.isCancellationRequested?s.create(n,t,a):h._compact()).finally(()=>{o.dispose()})}static _makeOutlineElement(n,t){const a=_.findId(n,t),u=new g(a,t,n);if(n.children)for(const h of n.children)s._makeOutlineElement(h,u);t.children.set(u.id,u)}constructor(n){super(),this.uri=n,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let n=0;for(const[t,a]of this._groups)a.children.size===0?this._groups.delete(t):n+=1;if(n!==1)this.children=this._groups;else{const t=D.Iterable.first(this._groups.values());for(const[,a]of t.children)a.parent=this,this.children.set(a.id,a)}return this}getTopLevelSymbols(){const n=[];for(const t of this.children.values())t instanceof g?n.push(t.symbol):n.push(...D.Iterable.map(t.children.values(),a=>a.symbol));return n.sort((t,a)=>f.Range.compareRangesUsingStarts(t.range,a.range))}asListOfDocumentSymbols(){const n=this.getTopLevelSymbols(),t=[];return s._flattenDocumentSymbols(t,n,""),t.sort((a,u)=>S.Position.compare(f.Range.getStartPosition(a.range),f.Range.getStartPosition(u.range))||S.Position.compare(f.Range.getEndPosition(u.range),f.Range.getEndPosition(a.range)))}static _flattenDocumentSymbols(n,t,a){for(const u of t)n.push({kind:u.kind,tags:u.tags,name:u.name,detail:u.detail,containerName:u.containerName||a,range:u.range,selectionRange:u.selectionRange,children:void 0}),u.children&&s._flattenDocumentSymbols(n,u.children,u.name)}}e.OutlineModel=s}),define(ne[73],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class k{static insert(D,S){return{range:new L.Range(D.lineNumber,D.column,D.lineNumber,D.column),text:S,forceMoveMarkers:!0}}static delete(D){return{range:D,text:null}}static replace(D,S){return{range:D,text:S}}static replaceMove(D,S){return{range:D,text:S,forceMoveMarkers:!0}}}e.EditOperation=k}),define(ne[484],se([1,0,11,73,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class D{constructor(_,g){this._selection=_,this._cursors=g,this._selectionId=null}getEditOperations(_,g){const C=S(_,this._cursors);for(let s=0,i=C.length;sn.lineNumber===t.lineNumber?n.column-t.column:n.lineNumber-t.lineNumber);for(let n=_.length-2;n>=0;n--)_[n].lineNumber===_[n+1].lineNumber&&_.splice(n,1);const g=[];let C=0,s=0;const i=_.length;for(let n=1,t=f.getLineCount();n<=t;n++){const a=f.getLineContent(n),u=a.length+1;let h=0;if(s=n.startLineNumber?i=new D(i.startLineNumber,Math.max(i.endLineNumberExclusive,n.endLineNumberExclusive)):(g.push(i),i=n)}return i!==null&&g.push(i),g}static ofLength(f,_){return new D(f,f+_)}static deserialize(f){return new D(f[0],f[1])}constructor(f,_){if(f>_)throw new L.BugIndicatingError(`startLineNumber ${f} cannot be after endLineNumberExclusive ${_}`);this.startLineNumber=f,this.endLineNumberExclusive=_}contains(f){return this.startLineNumber<=f&&f255?255:y|0}}e.RGBA8=L,L.Empty=new L(0,0,0,0)}),define(ne[24],se([1,0,12,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class y extends k.Range{constructor(S,f,_,g){super(S,f,_,g),this.selectionStartLineNumber=S,this.selectionStartColumn=f,this.positionLineNumber=_,this.positionColumn=g}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(S){return y.selectionsEqual(this,S)}static selectionsEqual(S,f){return S.selectionStartLineNumber===f.selectionStartLineNumber&&S.selectionStartColumn===f.selectionStartColumn&&S.positionLineNumber===f.positionLineNumber&&S.positionColumn===f.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(S,f){return this.getDirection()===0?new y(this.startLineNumber,this.startColumn,S,f):new y(S,f,this.startLineNumber,this.startColumn)}getPosition(){return new L.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new L.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(S,f){return this.getDirection()===0?new y(S,f,this.endLineNumber,this.endColumn):new y(this.endLineNumber,this.endColumn,S,f)}static fromPositions(S,f=S){return new y(S.lineNumber,S.column,f.lineNumber,f.column)}static fromRange(S,f){return f===0?new y(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn):new y(S.endLineNumber,S.endColumn,S.startLineNumber,S.startColumn)}static liftSelection(S){return new y(S.selectionStartLineNumber,S.selectionStartColumn,S.positionLineNumber,S.positionColumn)}static selectionsArrEqual(S,f){if(S&&!f||!S&&f)return!1;if(!S&&!f)return!0;if(S.length!==f.length)return!1;for(let _=0,g=S.length;_(S.hasOwnProperty(f)||(S[f]=D(f)),S[f])}e.getMapForWordSeparators=y(D=>new k(D))}),define(ne[147],se([1,0,46,64]),function(Q,e,L,k){"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 y(g=""){let C="(-?\\d*\\.\\d\\w*)|([^";for(const s of e.USUAL_WORD_SEPARATORS)g.indexOf(s)>=0||(C+="\\"+s);return C+="\\s]+)",new RegExp(C,"g")}e.DEFAULT_WORD_REGEXP=y();function D(g){let C=e.DEFAULT_WORD_REGEXP;if(g&&g instanceof RegExp)if(g.global)C=g;else{let s="g";g.ignoreCase&&(s+="i"),g.multiline&&(s+="m"),g.unicode&&(s+="u"),C=new RegExp(g.source,s)}return C.lastIndex=0,C}e.ensureValidWordDefinition=D;const S=new k.LinkedList;S.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function f(g,C,s,i,n){if(n||(n=L.Iterable.first(S)),s.length>n.maxLen){let r=g-n.maxLen/2;return r<0?r=0:i+=r,s=s.substring(r,g+n.maxLen/2),f(g,C,s,i,n)}const t=Date.now(),a=g-1-i;let u=-1,h=null;for(let r=1;!(Date.now()-t>=n.timeBudget);r++){const c=a-n.windowSize*r;C.lastIndex=Math.max(0,c);const o=_(C,s,a,u);if(!o&&h||(h=o,c<=0))break;u=c}if(h){const r={word:h[0],startColumn:i+1+h.index,endColumn:i+1+h.index+h[0].length};return C.lastIndex=0,r}return null}e.getWordAtText=f;function _(g,C,s,i){let n;for(;n=g.exec(C);){const t=n.index||0;if(t<=s&&g.lastIndex>=s)return n;if(i>0&&t>i)return null}return null}}),define(ne[275],se([1,0,82]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class k{static whitespaceVisibleColumn(D,S,f){const _=D.length;let g=0,C=-1,s=-1;for(let i=0;i<_;i++){if(i===S)return[C,s,g];switch(g%f===0&&(C=i,s=g),D.charCodeAt(i)){case 32:g+=1;break;case 9:g=L.CursorColumns.nextRenderTabStop(g,f);break;default:return[-1,-1,-1]}}return S===_?[C,s,g]:[-1,-1,-1]}static atomicPosition(D,S,f,_){const g=D.length,[C,s,i]=k.whitespaceVisibleColumn(D,S,f);if(i===-1)return-1;let n;switch(_){case 0:n=!0;break;case 1:n=!1;break;case 2:if(i%f===0)return S;n=i%f<=f/2;break}if(n){if(C===-1)return-1;let u=s;for(let h=C;h ${this.seq2Range}`}join(g){return new D(this.seq1Range.join(g.seq1Range),this.seq2Range.join(g.seq2Range))}delta(g){return g===0?this:new D(this.seq1Range.delta(g),this.seq2Range.delta(g))}}e.SequenceDiff=D;class S{isValid(){return!0}}e.InfiniteTimeout=S,S.instance=new S;class f{constructor(g){if(this.timeout=g,this.startTime=Date.now(),this.valid=!0,g<=0)throw new L.BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime5||m.seq1Range.length+m.seq2Range.length>5)};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);return t}e.removeRandomLineMatches=S;function f(s,i,n){let t=n;if(t.length===0)return t;let a=0,u;do{u=!1;const h=[t[0]];for(let r=1;r5||v.length>500)return!1;const w=s.getText(v).trim();if(w.length>20||w.split(/\r\n|\r|\n/).length>1)return!1;const E=s.countLinesIn(p.seq1Range),I=p.seq1Range.length,M=i.countLinesIn(p.seq2Range),P=p.seq2Range.length,x=s.countLinesIn(m.seq1Range),T=m.seq1Range.length,A=i.countLinesIn(m.seq2Range),N=m.seq2Range.length,F=2*40+50;function O(W){return Math.min(W,F)}return Math.pow(Math.pow(O(E*40+I),1.5)+Math.pow(O(M*40+P),1.5),1.5)+Math.pow(Math.pow(O(x*40+T),1.5)+Math.pow(O(A*40+N),1.5),1.5)>Math.pow(Math.pow(F,1.5),1.5)*1.3};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);for(let h=0;h0&&l.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>100&&(c=r.seq1Range.deltaStart(-l.length),o=r.seq2Range.deltaStart(-l.length));const p=s.getText(new L.OffsetRange(r.seq1Range.endExclusive,d.endExclusive));p.length>0&&p.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>150&&(c=c.deltaEnd(p.length),o=o.deltaEnd(p.length)),t[h]=new k.SequenceDiff(c,o)}return t}e.removeRandomMatches=f;function _(s,i,n){if(n.length===0)return n;const t=[];t.push(n[0]);for(let u=1;u0&&(r=r.delta(o))}a.push(r)}return t.length>0&&a.push(t[t.length-1]),a}e.joinSequenceDiffs=_;function g(s,i,n){if(!s.getBoundaryScore||!i.getBoundaryScore)return n;for(let t=0;t0?n[t-1]:void 0,u=n[t],h=t+1=t.start&&s.seq2Range.start-h>=a.start&&n.isStronglyEqual(s.seq2Range.start-h,s.seq2Range.endExclusive-h)&&h<100;)h++;h--;let r=0;for(;s.seq1Range.start+ro&&(o=v,c=d)}return s.delta(c)}}),define(ne[488],se([1,0,90,176]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MyersDiffAlgorithm=void 0;class y{compute(g,C,s=k.InfiniteTimeout.instance){if(g.length===0||C.length===0)return k.DiffAlgorithmResult.trivial(g,C);function i(d,l){for(;dg.length||b>C.length)continue;const w=i(v,b);t.set(u,w);const E=v===p?a.get(u+1):a.get(u-1);if(a.set(u,w!==v?new D(E,v,b,w-v):E),t.get(u)===g.length&&t.get(u)-u===C.length)break e}}let h=a.get(u);const r=[];let c=g.length,o=C.length;for(;;){const d=h?h.x+h.length:0,l=h?h.y+h.length:0;if((d!==c||l!==o)&&r.push(new k.SequenceDiff(new L.OffsetRange(d,c),new L.OffsetRange(l,o))),!h)break;c=h.x,o=h.y,h=h.prev}return r.reverse(),new k.DiffAlgorithmResult(r,!1)}}e.MyersDiffAlgorithm=y;class D{constructor(g,C,s,i){this.prev=g,this.x=C,this.y=s,this.length=i}}class S{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){if(g<0){if(g=-g-1,g>=this.negativeArr.length){const s=this.negativeArr;this.negativeArr=new Int32Array(s.length*2),this.negativeArr.set(s)}this.negativeArr[g]=C}else{if(g>=this.positiveArr.length){const s=this.positiveArr;this.positiveArr=new Int32Array(s.length*2),this.positiveArr.set(s)}this.positiveArr[g]=C}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){g<0?(g=-g-1,this.negativeArr[g]=C):this.positiveArr[g]=C}}}),define(ne[489],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Array2D=void 0;class L{constructor(y,D){this.width=y,this.height=D,this.array=[],this.array=new Array(y*D)}get(y,D){return this.array[y+D*this.width]}set(y,D,S){this.array[y+D*this.width]=S}}e.Array2D=L}),define(ne[490],se([1,0,90,176,489]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicProgrammingDiffing=void 0;class D{compute(f,_,g=k.InfiniteTimeout.instance,C){if(f.length===0||_.length===0)return k.DiffAlgorithmResult.trivial(f,_);const s=new y.Array2D(f.length,_.length),i=new y.Array2D(f.length,_.length),n=new y.Array2D(f.length,_.length);for(let o=0;o0&&d>0&&i.get(o-1,d-1)===3&&(m+=n.get(o-1,d-1)),m+=C?C(o,d):1):m=-1;const v=Math.max(l,p,m);if(v===m){const b=o>0&&d>0?n.get(o-1,d-1):0;n.set(o,d,b+1),i.set(o,d,3)}else v===l?(n.set(o,d,0),i.set(o,d,1)):v===p&&(n.set(o,d,0),i.set(o,d,2));s.set(o,d,v)}const t=[];let a=f.length,u=_.length;function h(o,d){(o+1!==a||d+1!==u)&&t.push(new k.SequenceDiff(new L.OffsetRange(o+1,a),new L.OffsetRange(d+1,u))),a=o,u=d}let r=f.length-1,c=_.length-1;for(;r>=0&&c>=0;)i.get(r,c)===3?(h(r,c),r--,c--):i.get(r,c)===1?r--:c--;return h(-1,-1),t.reverse(),new k.DiffAlgorithmResult(t,!1)}}e.DynamicProgrammingDiffing=D}),define(ne[109],se([1,0,66]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MovedText=e.SimpleLineRangeMapping=e.RangeMapping=e.LineRangeMapping=e.LinesDiff=void 0;class k{constructor(g,C,s){this.changes=g,this.moves=C,this.hitTimeout=s}}e.LinesDiff=k;class y{static inverse(g,C,s){const i=[];let n=1,t=1;for(const u of g){const h=new y(new L.LineRange(n,u.originalRange.startLineNumber),new L.LineRange(t,u.modifiedRange.startLineNumber),void 0);h.modifiedRange.isEmpty||i.push(h),n=u.originalRange.endLineNumberExclusive,t=u.modifiedRange.endLineNumberExclusive}const a=new y(new L.LineRange(n,C+1),new L.LineRange(t,s+1),void 0);return a.modifiedRange.isEmpty||i.push(a),i}constructor(g,C,s){this.originalRange=g,this.modifiedRange=C,this.innerChanges=s}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}flip(){var g;return new y(this.modifiedRange,this.originalRange,(g=this.innerChanges)===null||g===void 0?void 0:g.map(C=>C.flip()))}}e.LineRangeMapping=y;class D{constructor(g,C){this.originalRange=g,this.modifiedRange=C}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new D(this.modifiedRange,this.originalRange)}}e.RangeMapping=D;class S{constructor(g,C){this.original=g,this.modified=C}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new S(this.modified,this.original)}join(g){return new S(this.original.join(g.original),this.modified.join(g.modified))}}e.SimpleLineRangeMapping=S;class f{constructor(g,C){this.lineRangeMapping=g,this.changes=C}flip(){return new f(this.lineRangeMapping.flip(),this.changes.map(g=>g.flip()))}}e.MovedText=f}),define(ne[276],se([1,0,14,85,196,9,66,90,12,5,176,490,487,488,109]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFirstMonotonous=e.findLastMonotonous=e.LinesSliceCharSequence=e.LineSequence=e.getLineRangeMapping=e.lineRangeMappingFromRangeMappings=e.AdvancedLinesDiffComputer=void 0;class a{constructor(){this.dynamicProgrammingDiffing=new s.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new n.MyersDiffAlgorithm}computeDiff(R,K,G){if(R.length<=1&&(0,L.equals)(R,K,($,re)=>$===re))return new t.LinesDiff([],[],!1);if(R.length===1&&R[0].length===0||K.length===1&&K[0].length===0)return new t.LinesDiff([new t.LineRangeMapping(new S.LineRange(1,R.length+1),new S.LineRange(1,K.length+1),[new t.RangeMapping(new g.Range(1,1,R.length,R[0].length+1),new g.Range(1,1,K.length,K[0].length+1))])],[],!1);const Z=G.maxComputationTimeMs===0?C.InfiniteTimeout.instance:new C.DateTimeout(G.maxComputationTimeMs),J=!G.ignoreTrimWhitespace,X=new Map;function H($){let re=X.get($);return re===void 0&&(re=X.size,X.set($,re)),re}const B=R.map($=>H($.trim())),V=K.map($=>H($.trim())),Y=new v(B,R),ie=new v(V,K),ae=(()=>Y.length+ie.length<1700?this.dynamicProgrammingDiffing.compute(Y,ie,Z,($,re)=>R[$]===K[re]?K[re].length===0?.1:1+Math.log(1+K[re].length):.99):this.myersDiffingAlgorithm.compute(Y,ie))();let ce=ae.diffs,de=ae.hitTimeout;ce=(0,i.optimizeSequenceDiffs)(Y,ie,ce),ce=(0,i.removeRandomLineMatches)(Y,ie,ce);const he=[],ue=$=>{if(J)for(let re=0;re<$;re++){const oe=te+re,ge=q+re;if(R[oe]!==K[ge]){const ve=this.refineDiff(R,K,new C.SequenceDiff(new f.OffsetRange(oe,oe+1),new f.OffsetRange(ge,ge+1)),Z,J);for(const Se of ve.mappings)he.push(Se);ve.hitTimeout&&(de=!0)}}};let te=0,q=0;for(const $ of ce){(0,k.assertFn)(()=>$.seq1Range.start-te===$.seq2Range.start-q);const re=$.seq1Range.start-te;ue(re),te=$.seq1Range.endExclusive,q=$.seq2Range.endExclusive;const oe=this.refineDiff(R,K,$,Z,J);oe.hitTimeout&&(de=!0);for(const ge of oe.mappings)he.push(ge)}ue(R.length-te);const z=l(he,R,K);let ee=[];return G.computeMoves&&(ee=this.computeMoves(z,R,K,B,V,Z,J)),(0,k.assertFn)(()=>{function $(oe,ge){if(oe.lineNumber<1||oe.lineNumber>ge.length)return!1;const ve=ge[oe.lineNumber-1];return!(oe.column<1||oe.column>ve.length+1)}function re(oe,ge){return!(oe.startLineNumber<1||oe.startLineNumber>ge.length+1||oe.endLineNumberExclusive<1||oe.endLineNumberExclusive>ge.length+1)}for(const oe of z){if(!oe.innerChanges)return!1;for(const ge of oe.innerChanges)if(!($(ge.modifiedRange.getStartPosition(),K)&&$(ge.modifiedRange.getEndPosition(),K)&&$(ge.originalRange.getStartPosition(),R)&&$(ge.originalRange.getEndPosition(),R)))return!1;if(!re(oe.modifiedRange,K)||!re(oe.originalRange,R))return!1}return!0}),new t.LinesDiff(z,ee,de)}computeMoves(R,K,G,Z,J,X,H){const B=[],V=R.filter(z=>z.modifiedRange.isEmpty&&z.originalRange.length>=3).map(z=>new U(z.originalRange,K,z)),Y=new Set(R.filter(z=>z.originalRange.isEmpty&&z.modifiedRange.length>=3).map(z=>new U(z.modifiedRange,G,z))),ie=new Set;for(const z of V){let ee=-1,$;for(const re of Y){const oe=z.computeSimilarity(re);oe>ee&&(ee=oe,$=re)}if(ee>.9&&$&&(Y.delete($),B.push(new t.SimpleLineRangeMapping(z.range,$.range)),ie.add(z.source),ie.add($.source)),!X.isValid())return[]}const ae=new y.SetMap;for(const z of R)if(!ie.has(z))for(let ee=z.originalRange.startLineNumber;eez.modifiedRange.startLineNumber,L.numberComparator));for(const z of R){if(ie.has(z))continue;let ee=[];for(let $=z.modifiedRange.startLineNumber;${for(const Le of ee)if(Le.originalLineRange.endLineNumberExclusive+1===ve.endLineNumberExclusive&&Le.modifiedLineRange.endLineNumberExclusive+1===oe.endLineNumberExclusive){Le.originalLineRange=new S.LineRange(Le.originalLineRange.startLineNumber,ve.endLineNumberExclusive),Le.modifiedLineRange=new S.LineRange(Le.modifiedLineRange.startLineNumber,oe.endLineNumberExclusive),ge.push(Le);return}const Se={modifiedLineRange:oe,originalLineRange:ve};ce.push(Se),ge.push(Se)}),ee=ge}if(!X.isValid())return[]}ce.sort((0,L.reverseOrder)((0,L.compareBy)(z=>z.modifiedLineRange.length,L.numberComparator)));const de=new r,he=new r;for(const z of ce){const ee=z.modifiedLineRange.startLineNumber-z.originalLineRange.startLineNumber,$=de.subtractFrom(z.modifiedLineRange),re=he.subtractFrom(z.originalLineRange).map(ge=>ge.delta(ee)),oe=h($,re);for(const ge of oe){if(ge.length<3)continue;const ve=ge,Se=ge.delta(-ee);B.push(new t.SimpleLineRangeMapping(Se,ve)),de.addRange(ve),he.addRange(Se)}}if(B.sort((0,L.compareBy)(z=>z.original.startLineNumber,L.numberComparator)),B.length===0)return[];let ue=[B[0]];for(let z=1;z=0&&oe>=0&&re+oe<=2){ue[ue.length-1]=ee.join($);continue}$.original.toOffsetRange().slice(K).map(Se=>Se.trim()).join(` -`).length<=10||ue.push($)}const te=u.createOfSorted(R,z=>z.originalRange.endLineNumberExclusive,L.numberComparator);return ue=ue.filter(z=>{const ee=te.findLastItemBeforeOrEqual(z.original.startLineNumber)||new t.LineRangeMapping(new S.LineRange(1,1),new S.LineRange(1,1),[]),$=z.modified.startLineNumber-ee.modifiedRange.endLineNumberExclusive,re=z.original.startLineNumber-ee.originalRange.endLineNumberExclusive;return $!==re}),ue.map(z=>{const ee=this.refineDiff(K,G,new C.SequenceDiff(z.original.toOffsetRange(),z.modified.toOffsetRange()),X,H),$=l(ee.mappings,K,G,!0);return new t.MovedText(z,$)})}refineDiff(R,K,G,Z,J){const X=new w(R,G.seq1Range,J),H=new w(K,G.seq2Range,J),B=X.length+H.length<500?this.dynamicProgrammingDiffing.compute(X,H,Z):this.myersDiffingAlgorithm.compute(X,H,Z);let V=B.diffs;return V=(0,i.optimizeSequenceDiffs)(X,H,V),V=o(X,H,V),V=(0,i.smoothenSequenceDiffs)(X,H,V),V=(0,i.removeRandomMatches)(X,H,V),{mappings:V.map(ie=>new t.RangeMapping(X.translateRange(ie.seq1Range),H.translateRange(ie.seq2Range))),hitTimeout:B.hitTimeout}}}e.AdvancedLinesDiffComputer=a;class u{static createOfSorted(R,K,G){return new u(R,K,G)}constructor(R,K,G){this._items=R,this._itemToDomain=K,this._domainComparator=G,this._currentIdx=0,this._lastValue=void 0,this._hasLastValue=!1}findLastItemBeforeOrEqual(R){if(this._hasLastValue&&L.CompareResult.isLessThan(this._domainComparator(R,this._lastValue)))throw new D.BugIndicatingError;for(this._lastValue=R,this._hasLastValue=!0;this._currentIdxZ.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,Z=>Z.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)this._normalizedRanges.splice(K,0,R);else if(K===G-1){const Z=this._normalizedRanges[K];this._normalizedRanges[K]=Z.join(R)}else{const Z=this._normalizedRanges[K].join(this._normalizedRanges[G-1]).join(R);this._normalizedRanges.splice(K,G-K,Z)}}subtractFrom(R){const K=c(this._normalizedRanges.findIndex(X=>X.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,X=>X.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)return[R];const Z=[];let J=R.startLineNumber;for(let X=K;XJ&&Z.push(new S.LineRange(J,H.startLineNumber)),J=H.endLineNumberExclusive}return JH&&G.push(new C.SequenceDiff(Z.s1Range,Z.s2Range)),Z=void 0}for(const H of K){let B=function(ce,de){var he,ue,te,q;if(!Z||!Z.s1Range.containsRange(ce)||!Z.s2Range.containsRange(de))if(Z&&!(Z.s1Range.endExclusive0||R.length>0;){const G=j[0],Z=R[0];let J;G&&(!Z||G.seq1Range.start0&&K[K.length-1].seq1Range.endExclusive>=J.seq1Range.start?K[K.length-1]=K[K.length-1].join(J):K.push(J)}return K}function l(j,R,K,G=!1){const Z=[];for(const J of m(j.map(X=>p(X,R,K)),(X,H)=>X.originalRange.overlapOrTouch(H.originalRange)||X.modifiedRange.overlapOrTouch(H.modifiedRange))){const X=J[0],H=J[J.length-1];Z.push(new t.LineRangeMapping(X.originalRange.join(H.originalRange),X.modifiedRange.join(H.modifiedRange),J.map(B=>B.innerChanges[0])))}return(0,k.assertFn)(()=>!G&&Z.length>0&&Z[0].originalRange.startLineNumber!==Z[0].modifiedRange.startLineNumber?!1:(0,k.checkAdjacentItems)(Z,(J,X)=>X.originalRange.startLineNumber-J.originalRange.endLineNumberExclusive===X.modifiedRange.startLineNumber-J.modifiedRange.endLineNumberExclusive&&J.originalRange.endLineNumberExclusive=K[j.modifiedRange.startLineNumber-1].length&&j.originalRange.startColumn-1>=R[j.originalRange.startLineNumber-1].length&&j.originalRange.startLineNumber<=j.originalRange.endLineNumber+Z&&j.modifiedRange.startLineNumber<=j.modifiedRange.endLineNumber+Z&&(G=1);const J=new S.LineRange(j.originalRange.startLineNumber+G,j.originalRange.endLineNumber+1+Z),X=new S.LineRange(j.modifiedRange.startLineNumber+G,j.modifiedRange.endLineNumber+1+Z);return new t.LineRangeMapping(J,X,[j])}e.getLineRangeMapping=p;function*m(j,R){let K,G;for(const Z of j)G!==void 0&&R(G,Z)?K.push(Z):(K&&(yield K),K=[Z]),G=Z;K&&(yield K)}class v{constructor(R,K){this.trimmedHash=R,this.lines=K}getElement(R){return this.trimmedHash[R]}get length(){return this.trimmedHash.length}getBoundaryScore(R){const K=R===0?0:b(this.lines[R-1]),G=R===this.lines.length?0:b(this.lines[R]);return 1e3-(K+G)}getText(R){return this.lines.slice(R.start,R.endExclusive).join(` -`)}isStronglyEqual(R,K){return this.lines[R]===this.lines[K]}}e.LineSequence=v;function b(j){let R=0;for(;R0&&K.endExclusive>=R.length&&(K=new f.OffsetRange(K.start-1,K.endExclusive),Z=!0),this.lineRange=K;for(let J=this.lineRange.start;JString.fromCharCode(K)).join("")}getElement(R){return this.elements[R]}get length(){return this.elements.length}getBoundaryScore(R){const K=N(R>0?this.elements[R-1]:-1),G=N(RR?G=J:K=J+1}const Z=K===0?0:this.firstCharOffsetByLineMinusOne[K-1];return new _.Position(this.lineRange.start+K+1,R-Z+1+this.additionalOffsetByLine[K])}translateRange(R){return g.Range.fromPositions(this.translateOffset(R.start),this.translateOffset(R.endExclusive))}findWordContaining(R){if(R<0||R>=this.elements.length||!x(this.elements[R]))return;let K=R;for(;K>0&&x(this.elements[K-1]);)K--;let G=R;for(;GX<=R.start))!==null&&K!==void 0?K:0,J=(G=P(this.firstCharOffsetByLineMinusOne,X=>R.endExclusive<=X))!==null&&G!==void 0?G:this.elements.length;return new f.OffsetRange(Z,J)}}e.LinesSliceCharSequence=w;function E(j,R){let K=0,G=j.length;for(;K=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57}const T={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function A(j){return T[j]}function N(j){return j===10?7:j===13?6:F(j)?5:j>=97&&j<=122?0:j>=65&&j<=90?1:j>=48&&j<=57?2:j===-1?3:4}function F(j){return j===32||j===9}const O=new Map;function W(j){let R=O.get(j);return R===void 0&&(R=O.size,O.set(j,R)),R}class U{constructor(R,K,G){this.range=R,this.lines=K,this.source=G,this.histogram=[];let Z=0;for(let J=R.startLineNumber-1;Jnew k.RangeMapping(new D.Range(T.originalStartLineNumber,T.originalStartColumn,T.originalEndLineNumber,T.originalEndColumn),new D.Range(T.modifiedStartLineNumber,T.modifiedStartColumn,T.modifiedEndLineNumber,T.modifiedEndColumn))));E&&(E.modifiedRange.endLineNumberExclusive===x.modifiedRange.startLineNumber||E.originalRange.endLineNumberExclusive===x.originalRange.startLineNumber)&&(x=new k.LineRangeMapping(E.originalRange.join(x.originalRange),E.modifiedRange.join(x.modifiedRange),E.innerChanges&&x.innerChanges?E.innerChanges.concat(x.innerChanges):void 0),w.pop()),w.push(x),E=x}return(0,S.assertFn)(()=>(0,S.checkAdjacentItems)(w,(I,M)=>M.originalRange.startLineNumber-I.originalRange.endLineNumberExclusive===M.modifiedRange.startLineNumber-I.modifiedRange.endLineNumberExclusive&&I.originalRange.endLineNumberExclusive(d===10?"\\n":String.fromCharCode(d))+`-(${this._lineNumbers[l]},${this._columns[l]})`).join(", ")+"]"}_assertIndex(d,l){if(d<0||d>=l.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(d){return d>0&&d===this._lineNumbers.length?this.getEndLineNumber(d-1):(this._assertIndex(d,this._lineNumbers),this._lineNumbers[d])}getEndLineNumber(d){return d===-1?this.getStartLineNumber(d+1):(this._assertIndex(d,this._lineNumbers),this._charCodes[d]===10?this._lineNumbers[d]+1:this._lineNumbers[d])}getStartColumn(d){return d>0&&d===this._columns.length?this.getEndColumn(d-1):(this._assertIndex(d,this._columns),this._columns[d])}getEndColumn(d){return d===-1?this.getStartColumn(d+1):(this._assertIndex(d,this._columns),this._charCodes[d]===10?1:this._columns[d]+1)}}class n{constructor(d,l,p,m,v,b,w,E){this.originalStartLineNumber=d,this.originalStartColumn=l,this.originalEndLineNumber=p,this.originalEndColumn=m,this.modifiedStartLineNumber=v,this.modifiedStartColumn=b,this.modifiedEndLineNumber=w,this.modifiedEndColumn=E}static createFromDiffChange(d,l,p){const m=l.getStartLineNumber(d.originalStart),v=l.getStartColumn(d.originalStart),b=l.getEndLineNumber(d.originalStart+d.originalLength-1),w=l.getEndColumn(d.originalStart+d.originalLength-1),E=p.getStartLineNumber(d.modifiedStart),I=p.getStartColumn(d.modifiedStart),M=p.getEndLineNumber(d.modifiedStart+d.modifiedLength-1),P=p.getEndColumn(d.modifiedStart+d.modifiedLength-1);return new n(m,v,b,w,E,I,M,P)}}function t(o){if(o.length<=1)return o;const d=[o[0]];let l=d[0];for(let p=1,m=o.length;p0&&l.originalLength<20&&l.modifiedLength>0&&l.modifiedLength<20&&v()){const T=p.createCharSequence(d,l.originalStart,l.originalStart+l.originalLength-1),A=m.createCharSequence(d,l.modifiedStart,l.modifiedStart+l.modifiedLength-1);if(T.getElements().length>0&&A.getElements().length>0){let N=C(T,A,v,!0).changes;w&&(N=t(N)),x=[];for(let F=0,O=N.length;F1&&N>1;){const F=x.charCodeAt(A-2),O=T.charCodeAt(N-2);if(F!==O)break;A--,N--}(A>1||N>1)&&this._pushTrimWhitespaceCharChange(m,v+1,1,A,b+1,1,N)}{let A=r(x,1),N=r(T,1);const F=x.length+1,O=T.length+1;for(;A!0;const d=Date.now();return()=>Date.now()-dnew L.LegacyLinesDiffComputer,getAdvanced:()=>new k.AdvancedLinesDiffComputer}}),define(ne[277],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalEditorAction=void 0;class L{constructor(y,D,S,f,_,g){this.id=y,this.label=D,this.alias=S,this._precondition=f,this._run=_,this._contextKeyService=g}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(y){return this.isSupported()?this._run(y):Promise.resolve(void 0)}}e.InternalEditorAction=L}),define(ne[148],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorType=void 0,e.EditorType={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}}),define(ne[177],se([1,0,148]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeEditor=e.isCompositeEditor=e.isDiffEditor=e.isCodeEditor=void 0;function k(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.ICodeEditor:!1}e.isCodeEditor=k;function y(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.IDiffEditor:!1}e.isDiffEditor=y;function D(f){return!!f&&typeof f=="object"&&typeof f.onDidChangeActiveEditor=="function"}e.isCompositeEditor=D;function S(f){return k(f)?f:y(f)?f.getModifiedEditor():D(f)&&k(f.activeCodeEditor)?f.activeCodeEditor:null}e.getCodeEditor=S}),define(ne[149],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEditorFeatures=e.registerEditorFeature=void 0;const L=[];function k(D){L.push(D)}e.registerEditorFeature=k;function y(){return L.slice(0)}e.getEditorFeatures=y}),define(ne[493],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorTheme=void 0;class L{get type(){return this._theme.type}get value(){return this._theme}constructor(y){this._theme=y}update(y){this._theme=y}getColor(y){return this._theme.getColor(y)}}e.EditorTheme=L}),define(ne[124],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMetadata=void 0;class L{static getLanguageId(y){return(y&255)>>>0}static getTokenType(y){return(y&768)>>>8}static containsBalancedBrackets(y){return(y&1024)!==0}static getFontStyle(y){return(y&30720)>>>11}static getForeground(y){return(y&16744448)>>>15}static getBackground(y){return(y&4278190080)>>>24}static getClassNameFromMetadata(y){let S="mtk"+this.getForeground(y);const f=this.getFontStyle(y);return f&1&&(S+=" mtki"),f&2&&(S+=" mtkb"),f&4&&(S+=" mtku"),f&8&&(S+=" mtks"),S}static getInlineStyleFromMetadata(y,D){const S=this.getForeground(y),f=this.getFontStyle(y);let _=`color: ${D[S]};`;f&1&&(_+="font-style: italic;"),f&2&&(_+="font-weight: bold;");let g="";return f&4&&(g+=" underline"),f&8&&(g+=" line-through"),g&&(_+=`text-decoration:${g};`),_}static getPresentationFromMetadata(y){const D=this.getForeground(y),S=this.getFontStyle(y);return{foreground:D,italic:!!(S&1),bold:!!(S&2),underline:!!(S&4),strikethrough:!!(S&8)}}}e.TokenMetadata=L}),define(ne[494],se([1,0,38]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeDefaultDocumentColors=void 0;function k(i){const n=[];for(const t of i){const a=Number(t);(a||a===0&&t.replace(/\s/g,"")!=="")&&n.push(a)}return n}function y(i,n,t,a){return{red:i/255,blue:t/255,green:n/255,alpha:a}}function D(i,n){const t=n.index,a=n[0].length;if(!t)return;const u=i.positionAt(t);return{startLineNumber:u.lineNumber,startColumn:u.column,endLineNumber:u.lineNumber,endColumn:u.column+a}}function S(i,n){if(!i)return;const t=L.Color.Format.CSS.parseHex(n);if(t)return{range:i,color:y(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function f(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u);return{range:i,color:y(h[0],h[1],h[2],t?h[3]:1)}}function _(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u),r=new L.Color(new L.HSLA(h[0],h[1]/100,h[2]/100,t?h[3]:1));return{range:i,color:y(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function g(i,n){return typeof i=="string"?[...i.matchAll(n)]:i.findMatches(n)}function C(i){const n=[],a=g(i,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(a.length>0)for(const u of a){const h=u.filter(d=>d!==void 0),r=h[1],c=h[2];if(!c)continue;let o;if(r==="rgb"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=f(D(i,u),g(c,d),!1)}else if(r==="rgba"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=f(D(i,u),g(c,d),!0)}else if(r==="hsl"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=_(D(i,u),g(c,d),!1)}else if(r==="hsla"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=_(D(i,u),g(c,d),!0)}else r==="#"&&(o=S(D(i,u),r+c));o&&n.push(o)}return n}function s(i){return!i||typeof i.getValue!="function"||typeof i.positionAt!="function"?[]:C(i)}e.computeDefaultDocumentColors=s}),define(ne[110],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var L;(function(S){S[S.None=0]="None",S[S.Indent=1]="Indent",S[S.IndentOutdent=2]="IndentOutdent",S[S.Outdent=3]="Outdent"})(L||(e.IndentAction=L={}));class k{constructor(f){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=f.open,this.close=f.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(f.notIn))for(let _=0,g=f.notIn.length;_n&&(n=c),r>t&&(t=r),o>t&&(t=o)}n++,t++;const a=new k(t,n,0);for(let u=0,h=i.length;u=this._maxCharCode?0:this._states.get(i,n)}}e.StateMachine=y;let D=null;function S(){return D===null&&(D=new y([[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]])),D}let f=null;function _(){if(f===null){f=new L.CharacterClassifier(0);const s=` <>'"\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 n=0;na);if(a>0){const r=n.charCodeAt(a-1),c=n.charCodeAt(h);(r===40&&c===41||r===91&&c===93||r===123&&c===125)&&h--}return{range:{startLineNumber:t,startColumn:a+1,endLineNumber:t,endColumn:h+2},url:n.substring(a,h+1)}}static computeLinks(i,n=S()){const t=_(),a=[];for(let u=1,h=i.getLineCount();u<=h;u++){const r=i.getLineContent(u),c=r.length;let o=0,d=0,l=0,p=1,m=!1,v=!1,b=!1,w=!1;for(;o0&&D.getLanguageId(s-1)===g;)s--;return new k(D,g,s,C+1,D.getStartOffset(s),D.getEndOffset(C))}e.createScopedLineTokens=L;class k{constructor(S,f,_,g,C,s){this._scopedLineTokensBrand=void 0,this._actual=S,this.languageId=f,this._firstTokenIndex=_,this._lastTokenIndex=g,this.firstCharOffset=C,this._lastCharOffset=s}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(S){return this._actual.getLineContent().substring(0,this.firstCharOffset+S)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(S){return this._actual.findTokenIndexAtOffset(S+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(S){return this._actual.getStandardTokenType(S+this._firstTokenIndex)}}e.ScopedLineTokens=k;function y(D){return(D&3)!==0}e.ignoreBracketsInToken=y}),define(ne[74],se([1,0,12,5,24,125,82,202]),function(Q,e,L,k,y,D,S,f){"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 _=()=>!0,g=()=>!1,C=r=>r===" "||r===" ";class s{static shouldRecreate(c){return c.hasChanged(142)||c.hasChanged(128)||c.hasChanged(36)||c.hasChanged(75)||c.hasChanged(77)||c.hasChanged(78)||c.hasChanged(6)||c.hasChanged(10)||c.hasChanged(8)||c.hasChanged(9)||c.hasChanged(13)||c.hasChanged(126)||c.hasChanged(49)||c.hasChanged(89)}constructor(c,o,d,l){this.languageConfigurationService=l,this._cursorMoveConfigurationBrand=void 0,this._languageId=c;const p=d.options,m=p.get(142),v=p.get(49);this.readOnly=p.get(89),this.tabSize=o.tabSize,this.indentSize=o.indentSize,this.insertSpaces=o.insertSpaces,this.stickyTabStops=p.get(114),this.lineHeight=v.lineHeight,this.typicalHalfwidthCharacterWidth=v.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(m.height/this.lineHeight)-2),this.useTabStops=p.get(126),this.wordSeparators=p.get(128),this.emptySelectionClipboard=p.get(36),this.copyWithSyntaxHighlighting=p.get(24),this.multiCursorMergeOverlapping=p.get(75),this.multiCursorPaste=p.get(77),this.multiCursorLimit=p.get(78),this.autoClosingBrackets=p.get(6),this.autoClosingQuotes=p.get(10),this.autoClosingDelete=p.get(8),this.autoClosingOvertype=p.get(9),this.autoSurround=p.get(13),this.autoIndent=p.get(11),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(c,this.autoClosingQuotes,!0),bracket:this._getShouldAutoClose(c,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(c).getAutoClosingPairs();const b=this.languageConfigurationService.getLanguageConfiguration(c).getSurroundingPairs();if(b)for(const w of b)this.surroundingPairs[w.open]=w.close}get electricChars(){var c;if(!this._electricChars){this._electricChars={};const o=(c=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||c===void 0?void 0:c.getElectricCharacters();if(o)for(const d of o)this._electricChars[d]=!0}return this._electricChars}onElectricCharacter(c,o,d){const l=(0,D.createScopedLineTokens)(o,d-1),p=this.languageConfigurationService.getLanguageConfiguration(l.languageId).electricCharacter;return p?p.onElectricCharacter(c,l,d-l.firstCharOffset):null}normalizeIndentation(c){return(0,f.normalizeIndentation)(c,this.indentSize,this.insertSpaces)}_getShouldAutoClose(c,o,d){switch(o){case"beforeWhitespace":return C;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(c,d);case"always":return _;case"never":return g}}_getLanguageDefinedShouldAutoClose(c,o){const d=this.languageConfigurationService.getLanguageConfiguration(c).getAutoCloseBeforeSet(o);return l=>d.indexOf(l)!==-1}visibleColumnFromColumn(c,o){return S.CursorColumns.visibleColumnFromColumn(c.getLineContent(o.lineNumber),o.column,this.tabSize)}columnFromVisibleColumn(c,o,d){const l=S.CursorColumns.columnFromVisibleColumn(c.getLineContent(o),d,this.tabSize),p=c.getLineMinColumn(o);if(lm?m:l}}e.CursorConfiguration=s;class i{static fromModelState(c){return new n(c)}static fromViewState(c){return new t(c)}static fromModelSelection(c){const o=y.Selection.liftSelection(c),d=new a(k.Range.fromPositions(o.getSelectionStart()),0,0,o.getPosition(),0);return i.fromModelState(d)}static fromModelSelections(c){const o=[];for(let d=0,l=c.length;ds,a=C>i,u=Ci||pC||l0&&C--,D.columnSelect(f,_,g.fromViewLineNumber,g.fromViewVisualColumn,g.toViewLineNumber,C)}static columnSelectRight(f,_,g){let C=0;const s=Math.min(g.fromViewLineNumber,g.toViewLineNumber),i=Math.max(g.fromViewLineNumber,g.toViewLineNumber);for(let t=s;t<=i;t++){const a=_.getLineMaxColumn(t),u=f.visibleColumnFromColumn(_,new k.Position(t,a));C=Math.max(C,u)}let n=g.toViewVisualColumn;return ns.getLineMinColumn(i.lineNumber))return i.delta(void 0,-L.prevCharLength(s.getLineContent(i.lineNumber),i.column-1));if(i.lineNumber>1){const n=i.lineNumber-1;return new y.Position(n,s.getLineMaxColumn(n))}else return i}static leftPositionAtomicSoftTabs(s,i,n){if(i.column<=s.getLineIndentColumn(i.lineNumber)){const t=s.getLineMinColumn(i.lineNumber),a=s.getLineContent(i.lineNumber),u=S.AtomicTabMoveOperations.atomicPosition(a,i.column-1,n,0);if(u!==-1&&u+1>=t)return new y.Position(i.lineNumber,u+1)}return this.leftPosition(s,i)}static left(s,i,n){const t=s.stickyTabStops?g.leftPositionAtomicSoftTabs(i,n,s.tabSize):g.leftPosition(i,n);return new _(t.lineNumber,t.column,0)}static moveLeft(s,i,n,t,a){let u,h;if(n.hasSelection()&&!t)u=n.selection.startLineNumber,h=n.selection.startColumn;else{const r=n.position.delta(void 0,-(a-1)),c=i.normalizePosition(g.clipPositionColumn(r,i),0),o=g.left(s,i,c);u=o.lineNumber,h=o.column}return n.move(t,u,h,0)}static clipPositionColumn(s,i){return new y.Position(s.lineNumber,g.clipRange(s.column,i.getLineMinColumn(s.lineNumber),i.getLineMaxColumn(s.lineNumber)))}static clipRange(s,i,n){return sn?n:s}static rightPosition(s,i,n){return no?(n=o,h?t=i.getLineMaxColumn(n):t=Math.min(i.getLineMaxColumn(n),t)):t=s.columnFromVisibleColumn(i,n,c),p?a=0:a=c-k.CursorColumns.visibleColumnFromColumn(i.getLineContent(n),t,s.tabSize),r!==void 0){const m=new y.Position(n,t),v=i.normalizePosition(m,r);a=a+(t-v.column),n=v.lineNumber,t=v.column}return new _(n,t,a)}static down(s,i,n,t,a,u,h){return this.vertical(s,i,n,t,a,n+u,h,4)}static moveDown(s,i,n,t,a){let u,h;n.hasSelection()&&!t?(u=n.selection.endLineNumber,h=n.selection.endColumn):(u=n.position.lineNumber,h=n.position.column);let r=0,c;do if(c=g.down(s,i,u+r,h,n.leftoverVisibleColumns,a,!0),i.normalizePosition(new y.Position(c.lineNumber,c.column),2).lineNumber>u)break;while(r++<10&&u+r1&&this._isBlankLine(i,a);)a--;for(;a>1&&!this._isBlankLine(i,a);)a--;return n.move(t,a,i.getLineMinColumn(a),0)}static moveToNextBlankLine(s,i,n,t){const a=i.getLineCount();let u=n.position.lineNumber;for(;u=l.length+1)return!1;const p=l.charAt(d.column-2),m=t.get(p);if(!m)return!1;if((0,y.isQuote)(p)){if(n==="never")return!1}else if(i==="never")return!1;const v=l.charAt(d.column-1);let b=!1;for(const w of m)w.open===p&&w.close===v&&(b=!0);if(!b)return!1;if(s==="auto"){let w=!1;for(let E=0,I=h.length;E1){const a=i.getLineContent(t.lineNumber),u=L.firstNonWhitespaceIndex(a),h=u===-1?a.length+1:u+1;if(t.column<=h){const r=n.visibleColumnFromColumn(i,t),c=D.CursorColumns.prevIndentTabStop(r,n.indentSize),o=n.columnFromVisibleColumn(i,t.lineNumber,c);return new f.Range(t.lineNumber,o,t.lineNumber,t.column)}}return f.Range.fromPositions(g.getPositionAfterDeleteLeft(t,i),t)}static getPositionAfterDeleteLeft(s,i){if(s.column>1){const n=L.getLeftDeleteOffset(s.column-1,i.getLineContent(s.lineNumber));return s.with(void 0,n+1)}else if(s.lineNumber>1){const n=s.lineNumber-1;return new _.Position(n,i.getLineMaxColumn(n))}else return s}static cut(s,i,n){const t=[];let a=null;n.sort((u,h)=>_.Position.compare(u.getStartPosition(),h.getEndPosition()));for(let u=0,h=n.length;u1&&a?.endLineNumber!==c.lineNumber?(o=c.lineNumber-1,d=i.getLineMaxColumn(c.lineNumber-1),l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber)):(o=c.lineNumber,d=1,l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber));const m=new f.Range(o,d,l,p);a=m,m.isEmpty()?t[u]=null:t[u]=new k.ReplaceCommand(m,"")}else t[u]=null;else t[u]=new k.ReplaceCommand(r,"")}return new y.EditOperationResult(0,t,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=g}),define(ne[178],se([1,0,11,74,204,146,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class _{static _createWord(i,n,t,a,u){return{start:a,end:u,wordType:n,nextCharClass:t}}static _findPreviousWordOnLine(i,n,t){const a=n.getLineContent(t.lineNumber);return this._doFindPreviousWordOnLine(a,i,t)}static _doFindPreviousWordOnLine(i,n,t){let a=0;for(let u=t.column-2;u>=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===0){if(a===2)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=1}else if(r===2){if(a===1)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=2}else if(r===1&&a!==0)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1))}return a!==0?this._createWord(i,a,1,0,this._findEndOfWord(i,n,a,0)):null}static _findEndOfWord(i,n,t,a){const u=i.length;for(let h=a;h=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===1||t===1&&r===2||t===2&&r===0)return u+1}return 0}static moveWordLeft(i,n,t,a){let u=t.lineNumber,h=t.column;h===1&&u>1&&(u=u-1,h=n.getLineMaxColumn(u));let r=_._findPreviousWordOnLine(i,n,new S.Position(u,h));if(a===0)return new S.Position(u,r?r.start+1:1);if(a===1)return r&&r.wordType===2&&r.end-r.start===1&&r.nextCharClass===0&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.start+1:1);if(a===3){for(;r&&r.wordType===2;)r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1));return new S.Position(u,r?r.start+1:1)}return r&&h<=r.end+1&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.end+1:1)}static _moveWordPartLeft(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===1)return t>1?new S.Position(t-1,i.getLineMaxColumn(t-1)):n;const u=i.getLineContent(t);for(let h=n.column-1;h>1;h--){const r=u.charCodeAt(h-2),c=u.charCodeAt(h-1);if(r===95&&c!==95)return new S.Position(t,h);if(r===45&&c!==45)return new S.Position(t,h);if((L.isLowerAsciiLetter(r)||L.isAsciiDigit(r))&&L.isUpperAsciiLetter(c))return new S.Position(t,h);if(L.isUpperAsciiLetter(r)&&L.isUpperAsciiLetter(c)&&h+1=c.start+1&&(c=_._findNextWordOnLine(i,n,new S.Position(u,c.end+1))),c?h=c.start+1:h=n.getLineMaxColumn(u);return new S.Position(u,h)}static _moveWordPartRight(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===a)return t1?o=1:(c--,o=a.getLineMaxColumn(c)):(d&&o<=d.end+1&&(d=_._findPreviousWordOnLine(t,a,new S.Position(c,d.start+1))),d?o=d.end+1:o>1?o=1:(c--,o=a.getLineMaxColumn(c))),new f.Range(c,o,r.lineNumber,r.column)}static deleteInsideWord(i,n,t){if(!t.isEmpty())return t;const a=new S.Position(t.positionLineNumber,t.positionColumn),u=this._deleteInsideWordWhitespace(n,a);return u||this._deleteInsideWordDetermineDeleteRange(i,n,a)}static _charAtIsWhitespace(i,n){const t=i.charCodeAt(n);return t===32||t===9}static _deleteInsideWordWhitespace(i,n){const t=i.getLineContent(n.lineNumber),a=t.length;if(a===0)return null;let u=Math.max(n.column-2,0);if(!this._charAtIsWhitespace(t,u))return null;let h=Math.min(n.column-1,a-1);if(!this._charAtIsWhitespace(t,h))return null;for(;u>0&&this._charAtIsWhitespace(t,u-1);)u--;for(;h+11?new f.Range(t.lineNumber-1,n.getLineMaxColumn(t.lineNumber-1),t.lineNumber,1):t.lineNumberl.start+1<=t.column&&t.column<=l.end+1,r=(l,p)=>(l=Math.min(l,t.column),p=Math.max(p,t.column),new f.Range(t.lineNumber,l,t.lineNumber,p)),c=l=>{let p=l.start+1,m=l.end+1,v=!1;for(;m-11&&this._charAtIsWhitespace(a,p-2);)p--;return r(p,m)},o=_._findPreviousWordOnLine(i,n,t);if(o&&h(o))return c(o);const d=_._findNextWordOnLine(i,n,t);return d&&h(d)?c(d):o&&d?r(o.end+1,d.start+1):o?r(o.start+1,o.end+1):d?r(d.start+1,d.end+1):r(1,u+1)}static _deleteWordPartLeft(i,n){if(!n.isEmpty())return n;const t=n.getPosition(),a=_._moveWordPartLeft(i,t);return new f.Range(t.lineNumber,t.column,a.lineNumber,a.column)}static _findFirstNonWhitespaceChar(i,n){const t=i.length;for(let a=n;a=p.start+1&&(p=_._findNextWordOnLine(t,a,new S.Position(c,p.end+1))),p?o=p.start+1:o!!i)}}),define(ne[205],se([1,0,20,74,203,178,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class _{static addCursorDown(s,i,n){const t=[];let a=0;for(let u=0,h=i.length;uc&&(o=c,d=s.model.getLineMaxColumn(o)),k.CursorState.fromModelState(new k.SingleCursorState(new f.Range(u.lineNumber,1,o,d),2,0,new S.Position(o,d),0))}const r=i.modelState.selectionStart.getStartPosition().lineNumber;if(u.lineNumberr){const c=s.getLineCount();let o=h.lineNumber+1,d=1;return o>c&&(o=c,d=s.getLineMaxColumn(o)),k.CursorState.fromViewState(i.viewState.move(!0,o,d,0))}else{const c=i.modelState.selectionStart.getEndPosition();return k.CursorState.fromModelState(i.modelState.move(!0,c.lineNumber,c.column,0))}}static word(s,i,n,t){const a=s.model.validatePosition(t);return k.CursorState.fromModelState(D.WordOperations.word(s.cursorConfig,s.model,i.modelState,n,a))}static cancelSelection(s,i){if(!i.modelState.hasSelection())return new k.CursorState(i.modelState,i.viewState);const n=i.viewState.position.lineNumber,t=i.viewState.position.column;return k.CursorState.fromViewState(new k.SingleCursorState(new f.Range(n,t,n,t),0,0,new S.Position(n,t),0))}static moveTo(s,i,n,t,a){if(n){if(i.modelState.selectionStartKind===1)return this.word(s,i,n,t);if(i.modelState.selectionStartKind===2)return this.line(s,i,n,t,a)}const u=s.model.validatePosition(t),h=a?s.coordinatesConverter.validateViewPosition(new S.Position(a.lineNumber,a.column),u):s.coordinatesConverter.convertModelPositionToViewPosition(u);return k.CursorState.fromViewState(i.viewState.move(n,h.lineNumber,h.column,0))}static simpleMove(s,i,n,t,a,u){switch(n){case 0:return u===4?this._moveHalfLineLeft(s,i,t):this._moveLeft(s,i,t,a);case 1:return u===4?this._moveHalfLineRight(s,i,t):this._moveRight(s,i,t,a);case 2:return u===2?this._moveUpByViewLines(s,i,t,a):this._moveUpByModelLines(s,i,t,a);case 3:return u===2?this._moveDownByViewLines(s,i,t,a):this._moveDownByModelLines(s,i,t,a);case 4:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 5:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 6:return this._moveToViewMinColumn(s,i,t);case 7:return this._moveToViewFirstNonWhitespaceColumn(s,i,t);case 8:return this._moveToViewCenterColumn(s,i,t);case 9:return this._moveToViewMaxColumn(s,i,t);case 10:return this._moveToViewLastNonWhitespaceColumn(s,i,t);default:return null}}static viewportMove(s,i,n,t,a){const u=s.getCompletelyVisibleViewRange(),h=s.coordinatesConverter.convertViewRangeToModelRange(u);switch(n){case 11:{const r=this._firstLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 13:{const r=this._lastLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 12:{const r=Math.round((h.startLineNumber+h.endLineNumber)/2),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 14:{const r=[];for(let c=0,o=i.length;cn.endLineNumber-1?u=n.endLineNumber-1:ak.CursorState.fromViewState(y.MoveOperations.moveLeft(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineLeft(s,i,n){const t=[];for(let a=0,u=i.length;ak.CursorState.fromViewState(y.MoveOperations.moveRight(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineRight(s,i,n){const t=[];for(let a=0,u=i.length;aC.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(C=>C.asCursorState())}getViewPositions(){return this.cursors.map(C=>C.viewState.position)}getTopMostViewPosition(){return(0,L.findMinBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,L.findLastMaxBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getSelections(){return this.cursors.map(C=>C.modelState.selection)}getViewSelections(){return this.cursors.map(C=>C.viewState.selection)}setSelections(C){this.setStates(k.CursorState.fromModelSelections(C))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(C){C!==null&&(this.cursors[0].setState(this.context,C[0].modelState,C[0].viewState),this._setSecondaryStates(C.slice(1)))}_setSecondaryStates(C){const s=this.cursors.length-1,i=C.length;if(si){const n=s-i;for(let t=0;t=C+1&&this.lastAddedCursorIndex--,this.cursors[C+1].dispose(this.context),this.cursors.splice(C+1,1)}normalize(){if(this.cursors.length===1)return;const C=this.cursors.slice(0),s=[];for(let i=0,n=C.length;ii.selection,S.Range.compareRangesUsingStarts));for(let i=0;io&&m.index--;C.splice(o,1),s.splice(c,1),this._removeSecondaryCursor(o-1),i--}}}}e.CursorCollection=_}),define(ne[499],se([1,0,110]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class k{constructor(D){if(D.autoClosingPairs?this._autoClosingPairs=D.autoClosingPairs.map(S=>new L.StandardAutoClosingPairConditional(S)):D.brackets?this._autoClosingPairs=D.brackets.map(S=>new L.StandardAutoClosingPairConditional({open:S[0],close:S[1]})):this._autoClosingPairs=[],D.__electricCharacterSupport&&D.__electricCharacterSupport.docComment){const S=D.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new L.StandardAutoClosingPairConditional({open:S.open,close:S.close||""}))}this._autoCloseBeforeForQuotes=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=D.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(D){return D?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}e.CharacterPairSupport=k,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> - `,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> - `}),define(ne[500],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function L(y){return y.global&&(y.lastIndex=0),!0}class k{constructor(D){this._indentationRules=D}shouldIncrease(D){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&L(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(D))}shouldDecrease(D){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&L(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(D))}shouldIndentNextLine(D){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&L(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(D))}shouldIgnore(D){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&L(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(D))}getIndentMetadata(D){let S=0;return this.shouldIncrease(D)&&(S+=1),this.shouldDecrease(D)&&(S+=2),this.shouldIndentNextLine(D)&&(S+=4),this.shouldIgnore(D)&&(S+=8),S}}e.IndentRulesSupport=k}),define(ne[501],se([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(y,D,S,f,_){if(y&&D){const g=this.doNavigateValueSet(D,_);if(g)return{range:y,value:g}}if(S&&f){const g=this.doNavigateValueSet(f,_);if(g)return{range:S,value:g}}return null}doNavigateValueSet(y,D){const S=this.numberReplace(y,D);return S!==null?S:this.textReplace(y,D)}numberReplace(y,D){const S=Math.pow(10,y.length-(y.lastIndexOf(".")+1));let f=Number(y);const _=parseFloat(y);return!isNaN(f)&&!isNaN(_)&&f===_?f===0&&!D?null:(f=Math.floor(f*S),f+=D?S:-S,String(f/S)):null}textReplace(y,D){return this.valueSetsReplace(this._defaultValueSet,y,D)}valueSetsReplace(y,D,S){let f=null;for(let _=0,g=y.length;f===null&&_=0?(f+=S?1:-1,f<0?f=y.length-1:f%=y.length,y[f]):null}}e.BasicInplaceReplace=L,L.INSTANCE=new L}),define(ne[502],se([1,0,261]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClosingBracketKind=e.OpeningBracketKind=e.BracketKindBase=e.LanguageBracketsConfiguration=void 0;class k{constructor(g,C){this.languageId=g;const s=C.brackets?y(C.brackets):[],i=new L.CachedFunction(a=>{const u=new Set;return{info:new S(this,a,u),closing:u}}),n=new L.CachedFunction(a=>{const u=new Set,h=new Set;return{info:new f(this,a,u,h),opening:u,openingColorized:h}});for(const[a,u]of s){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.opening.add(h.info)}const t=C.colorizedBracketPairs?y(C.colorizedBracketPairs):s.filter(a=>!(a[0]==="<"&&a[1]===">"));for(const[a,u]of t){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.openingColorized.add(h.info),r.opening.add(h.info)}this._openingBrackets=new Map([...i.cachedValues].map(([a,u])=>[a,u.info])),this._closingBrackets=new Map([...n.cachedValues].map(([a,u])=>[a,u.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(g){return this._openingBrackets.get(g)}getClosingBracketInfo(g){return this._closingBrackets.get(g)}getBracketInfo(g){return this.getOpeningBracketInfo(g)||this.getClosingBracketInfo(g)}}e.LanguageBracketsConfiguration=k;function y(_){return _.filter(([g,C])=>g!==""&&C!=="")}class D{constructor(g,C){this.config=g,this.bracketText=C}get languageId(){return this.config.languageId}}e.BracketKindBase=D;class S extends D{constructor(g,C,s){super(g,C),this.openedBrackets=s,this.isOpeningBracket=!0}}e.OpeningBracketKind=S;class f extends D{constructor(g,C,s,i){super(g,C),this.openingBrackets=s,this.openingColorizedBrackets=i,this.isOpeningBracket=!1}closes(g){return g.config!==this.config?!1:this.openingBrackets.has(g)}closesColorized(g){return g.config!==this.config?!1:this.openingColorizedBrackets.has(g)}getOpeningBrackets(){return[...this.openingBrackets]}}e.ClosingBracketKind=f}),define(ne[503],se([1,0,9,11,110]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class D{constructor(f){f=f||{},f.brackets=f.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],f.brackets.forEach(_=>{const g=D._createOpenBracketRegExp(_[0]),C=D._createCloseBracketRegExp(_[1]);g&&C&&this._brackets.push({open:_[0],openRegExp:g,close:_[1],closeRegExp:C})}),this._regExpRules=f.onEnterRules||[]}onEnter(f,_,g,C){if(f>=3)for(let s=0,i=this._regExpRules.length;sa.reg?(a.reg.lastIndex=0,a.reg.test(a.text)):!0))return n.action}if(f>=2&&g.length>0&&C.length>0)for(let s=0,i=this._brackets.length;s=2&&g.length>0){for(let s=0,i=this._brackets.length;s{const w=s(v.token,b.token);return w!==0?w:v.index-b.index});let h=0,r="000000",c="ffffff";for(;a.length>=1&&a[0].token==="";){const v=a.shift();v.fontStyle!==-1&&(h=v.fontStyle),v.foreground!==null&&(r=v.foreground),v.background!==null&&(c=v.background)}const o=new f;for(const v of u)o.getId(v);const d=o.getId(r),l=o.getId(c),p=new i(h,d,l),m=new n(p);for(let v=0,b=a.length;v"u"){const c=this._match(h),o=C(h);r=(c.metadata|o<<8)>>>0,this._cache.set(h,r)}return(r|u<<0)>>>0}}e.TokenTheme=_;const g=/\b(comment|string|regex|regexp)\b/;function C(a){const u=a.match(g);if(!u)return 0;switch(u[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=C;function s(a,u){return au?1:0}e.strcmp=s;class i{constructor(u,h,r){this._themeTrieElementRuleBrand=void 0,this._fontStyle=u,this._foreground=h,this._background=r,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new i(this._fontStyle,this._foreground,this._background)}acceptOverwrite(u,h,r){u!==-1&&(this._fontStyle=u),h!==0&&(this._foreground=h),r!==0&&(this._background=r),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}e.ThemeTrieElementRule=i;class n{constructor(u){this._themeTrieElementBrand=void 0,this._mainRule=u,this._children=new Map}match(u){if(u==="")return this._mainRule;const h=u.indexOf(".");let r,c;h===-1?(r=u,c=""):(r=u.substring(0,h),c=u.substring(h+1));const o=this._children.get(r);return typeof o<"u"?o.match(c):this._mainRule}insert(u,h,r,c){if(u===""){this._mainRule.acceptOverwrite(h,r,c);return}const o=u.indexOf(".");let d,l;o===-1?(d=u,l=""):(d=u.substring(0,o),l=u.substring(o+1));let p=this._children.get(d);typeof p>"u"&&(p=new n(this._mainRule.clone()),this._children.set(d,p)),p.insert(l,h,r,c)}}e.ThemeTrieElement=n;function t(a){const u=[];for(let h=1,r=a.length;h=f&&(m=m-l%f),m}e.lengthAdd=i;function n(l,p){return l.reduce((m,v)=>i(m,p(v)),e.lengthZero)}e.sumLengths=n;function t(l,p){return l===p}e.lengthEquals=t;function a(l,p){const m=l,v=p;if(v-m<=0)return e.lengthZero;const w=Math.floor(m/f),E=Math.floor(v/f),I=v-E*f;if(w===E){const M=m-w*f;return _(0,I-M)}else return _(E-w,I)}e.lengthDiffNonNegative=a;function u(l,p){return l=p}e.lengthGreaterThanEqual=r;function c(l){return _(l.lineNumber-1,l.column-1)}e.positionToLength=c;function o(l,p){const m=l,v=Math.floor(m/f),b=m-v*f,w=p,E=Math.floor(w/f),I=w-E*f;return new k.Range(v+1,b+1,E+1,I+1)}e.lengthsToRange=o;function d(l){const p=(0,L.splitLines)(l);return _(p.length-1,p[p.length-1].length)}e.lengthOfString=d}),define(ne[179],se([1,0,5,91]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class y{static fromModelContentChanges(_){return _.map(C=>{const s=L.Range.lift(C.range);return new y((0,k.positionToLength)(s.getStartPosition()),(0,k.positionToLength)(s.getEndPosition()),(0,k.lengthOfString)(C.text))}).reverse()}constructor(_,g,C){this.startOffset=_,this.endOffset=g,this.newLength=C}toString(){return`[${(0,k.lengthToObj)(this.startOffset)}...${(0,k.lengthToObj)(this.endOffset)}) -> ${(0,k.lengthToObj)(this.newLength)}`}}e.TextEditInfo=y;class D{constructor(_){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=_.map(g=>S.from(g))}getOffsetBeforeChange(_){return this.adjustNextEdit(_),this.translateCurToOld(_)}getDistanceToNextChange(_){this.adjustNextEdit(_);const g=this.edits[this.nextEditIdx],C=g?this.translateOldToCur(g.offsetObj):null;return C===null?null:(0,k.lengthDiffNonNegative)(_,C)}translateOldToCur(_){return _.lineCount===this.deltaLineIdxInOld?(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount+this.deltaOldToNewColumnCount):(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount)}translateCurToOld(_){const g=(0,k.lengthToObj)(_);return g.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount-this.deltaOldToNewColumnCount):(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount)}adjustNextEdit(_){for(;this.nextEditIdx!0)||[];return i&&c.unshift(i),c}const r=[];for(;i&&!(0,y.lengthIsZero)(h);){const[c,o]=i.splitAt(h);r.push(c),h=(0,y.lengthDiffNonNegative)(c.lengthAfter,h),i=o??C.dequeue()}return(0,y.lengthIsZero)(h)||r.push(new S(!1,h,h)),r}const t=[];function a(h,r,c){if(t.length>0&&(0,y.lengthEquals)(t[t.length-1].endOffset,h)){const o=t[t.length-1];t[t.length-1]=new k.TextEditInfo(o.startOffset,r,(0,y.lengthAdd)(o.newLength,c))}else t.push({startOffset:h,endOffset:r,newLength:c})}let u=y.lengthZero;for(const h of s){const r=n(h.lengthBefore);if(h.modified){const c=(0,y.sumLengths)(r,d=>d.lengthBefore),o=(0,y.lengthAdd)(u,c);a(u,o,h.lengthAfter),u=o}else for(const c of r){const o=u;u=(0,y.lengthAdd)(u,c.lengthBefore),c.modified&&a(o,u,c.lengthAfter)}}return t}e.combineTextEditInfos=D;class S{constructor(g,C,s){this.modified=g,this.lengthBefore=C,this.lengthAfter=s}splitAt(g){const C=(0,y.lengthDiffNonNegative)(g,this.lengthAfter);return(0,y.lengthEquals)(C,y.lengthZero)?[this,void 0]:this.modified?[new S(this.modified,this.lengthBefore,g),new S(this.modified,y.lengthZero,C)]:[new S(this.modified,g,g),new S(this.modified,C,C)]}toString(){return`${this.modified?"M":"U"}:${(0,y.lengthToObj)(this.lengthBefore)} -> ${(0,y.lengthToObj)(this.lengthAfter)}`}}function f(_){const g=[];let C=y.lengthZero;for(const s of _){const i=(0,y.lengthDiffNonNegative)(C,s.startOffset);(0,y.lengthIsZero)(i)||g.push(new S(!1,i,i));const n=(0,y.lengthDiffNonNegative)(s.startOffset,s.endOffset);g.push(new S(!0,n,s.newLength)),C=s.endOffset}return g}}),define(ne[505],se([1,0,91]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeReader=void 0;class k{constructor(f){this.lastOffset=L.lengthZero,this.nextNodes=[f],this.offsets=[L.lengthZero],this.idxs=[]}readLongestNodeAt(f,_){if((0,L.lengthLessThan)(f,this.lastOffset))throw new Error("Invalid offset");for(this.lastOffset=f;;){const g=D(this.nextNodes);if(!g)return;const C=D(this.offsets);if((0,L.lengthLessThan)(f,C))return;if((0,L.lengthLessThan)(C,f))if((0,L.lengthAdd)(C,g.length)<=f)this.nextNodeAfterCurrent();else{const s=y(g);s!==-1?(this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)):this.nextNodeAfterCurrent()}else{if(_(g))return this.nextNodeAfterCurrent(),g;{const s=y(g);if(s===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)}}}}nextNodeAfterCurrent(){for(;;){const f=D(this.offsets),_=D(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const g=D(this.nextNodes),C=y(g,this.idxs[this.idxs.length-1]);if(C!==-1){this.nextNodes.push(g.getChild(C)),this.offsets.push((0,L.lengthAdd)(f,_.length)),this.idxs[this.idxs.length-1]=C;break}else this.idxs.pop()}}}e.NodeReader=k;function y(S,f=-1){for(;;){if(f++,f>=S.childrenLength)return-1;if(S.getChild(f))return f}}function D(S){return S.length>0?S[S.length-1]:void 0}}),define(ne[126],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const L=[];class k{static create(S,f){if(S<=128&&f.length===0){let _=k.cache[S];return _||(_=new k(S,f),k.cache[S]=_),_}return new k(S,f)}static getEmpty(){return this.empty}constructor(S,f){this.items=S,this.additionalItems=f}add(S,f){const _=f.getKey(S);let g=_>>5;if(g===0){const s=1<<_|this.items;return s===this.items?this:k.create(s,this.additionalItems)}g--;const C=this.additionalItems.slice(0);for(;C.length=g.length)return null;const a=C,u=g[a].listHeight;for(C++;C=2?y(a===0&&C===g.length?g:g.slice(a,C),!1):g[a]}let i=s(),n=s();if(!n)return i;for(let a=s();a;a=s())D(i,n)<=D(n,a)?(i=S(i,n),n=a):n=S(n,a);return S(i,n)}e.concat23Trees=k;function y(g,C=!1){if(g.length===0)return null;if(g.length===1)return g[0];let s=g.length;for(;s>3;){const i=s>>1;for(let n=0;n=3?g[2]:null,C)}e.concat23TreesOfSameHeight=y;function D(g,C){return Math.abs(g.listHeight-C.listHeight)}function S(g,C){return g.listHeight===C.listHeight?L.ListAstNode.create23(g,C,null,!1):g.listHeight>C.listHeight?f(g,C):_(C,g)}function f(g,C){g=g.toMutable();let s=g;const i=[];let n;for(;;){if(C.listHeight===s.listHeight){n=C;break}if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeLastElementMutable()}for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(a.unappendChild(),n,null,!1):(a.appendChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(g,n,null,!1):g}function _(g,C){g=g.toMutable();let s=g;const i=[];for(;C.listHeight!==s.listHeight;){if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeFirstElementMutable()}let n=C;for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(n,a.unprependChild(),null,!1):(a.prependChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(n,g,null,!1):g}}),define(ne[279],se([1,0,180,179,126,91,506,505]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function _(C,s,i,n){return new g(C,s,i,n).parseDocument()}e.parseDocument=_;class g{constructor(s,i,n,t){if(this.tokenizer=s,this.createImmutableLists=t,this._itemsConstructed=0,this._itemsFromCache=0,n&&t)throw new Error("Not supported");this.oldNodeReader=n?new f.NodeReader(n):void 0,this.positionMapper=new k.BeforeEditPositionMapper(i)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let s=this.parseList(y.SmallImmutableSet.getEmpty(),0);return s||(s=L.ListAstNode.getEmpty()),s}parseList(s,i){const n=[];for(;;){let a=this.tryReadChildFromCache(s);if(!a){const u=this.tokenizer.peek();if(!u||u.kind===2&&u.bracketIds.intersects(s))break;a=this.parseChild(s,i+1)}a.kind===4&&a.childrenLength===0||n.push(a)}return this.oldNodeReader?(0,S.concat23Trees)(n):(0,S.concat23TreesOfSameHeight)(n,this.createImmutableLists)}tryReadChildFromCache(s){if(this.oldNodeReader){const i=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(i===null||!(0,D.lengthIsZero)(i)){const n=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),t=>i!==null&&!(0,D.lengthLessThan)(t.length,i)?!1:t.canBeReused(s));if(n)return this._itemsFromCache++,this.tokenizer.skip(n.length),n}}}parseChild(s,i){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:{if(i>300)return new L.TextAstNode(n.length);const t=s.merge(n.bracketIds),a=this.parseList(t,i+1),u=this.tokenizer.peek();return u&&u.kind===2&&(u.bracketId===n.bracketId||u.bracketIds.intersects(n.bracketIds))?(this.tokenizer.read(),L.PairAstNode.create(n.astNode,a,u.astNode)):L.PairAstNode.create(n.astNode,a,null)}default:throw new Error("unexpected")}}}}),define(ne[206],se([1,0,9,124,180,91,126]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FastTokenizer=e.TextBufferTokenizer=e.Token=void 0;class f{constructor(i,n,t,a,u){this.length=i,this.kind=n,this.bracketId=t,this.bracketIds=a,this.astNode=u}}e.Token=f;class _{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.reader=new g(this.textModel,this.bracketTokens),this._offset=D.lengthZero,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,D.toLength)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(i){this.didPeek=!1,this._offset=(0,D.lengthAdd)(this._offset,i);const n=(0,D.lengthToObj)(this._offset);this.reader.setPosition(n.lineCount,n.columnCount)}read(){let i;return this.peeked?(this.didPeek=!1,i=this.peeked):i=this.reader.read(),i&&(this._offset=(0,D.lengthAdd)(this._offset,i.length)),i}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}e.TextBufferTokenizer=_;class g{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}setPosition(i,n){i===this.lineIdx?(this.lineCharOffset=n,this.line!==null&&(this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=i,this.lineCharOffset=n,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const u=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,D.lengthGetColumnCountIfZeroLineCount)(u.length),u}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const i=this.lineIdx,n=this.lineCharOffset;let t=0;for(;;){const u=this.lineTokens,h=u.getCount();let r=null;if(this.lineTokenOffset1e3))break;if(t>1500)break}const a=(0,D.lengthDiff)(i,n,this.lineIdx,this.lineCharOffset);return new f(a,0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode(a))}}class C{constructor(i,n){this.text=i,this._offset=D.lengthZero,this.idx=0;const t=n.getRegExpStr(),a=t?new RegExp(t+`| -`,"gi"):null,u=[];let h,r=0,c=0,o=0,d=0;const l=[];for(let v=0;v<60;v++)l.push(new f((0,D.toLength)(0,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(0,v))));const p=[];for(let v=0;v<60;v++)p.push(new f((0,D.toLength)(1,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(1,v))));if(a)for(a.lastIndex=0;(h=a.exec(i))!==null;){const v=h.index,b=h[0];if(b===` -`)r++,c=v+1;else{if(o!==v){let w;if(d===r){const E=v-o;if(E_(i)).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const s=this.getRegExpStr();this._regExpGlobal=s?new RegExp(s,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(s){return this.map.get(s.toLowerCase())}findClosingTokenText(s){for(const[i,n]of this.map)if(n.kind===2&&n.bracketIds.intersects(s))return i}get isEmpty(){return this.map.size===0}}e.BracketTokens=f;function _(C){let s=(0,L.escapeRegExpCharacters)(C);return/^[\w ]+/.test(C)&&(s=`\\b${s}`),/[\w ]+$/.test(C)&&(s=`${s}\\b`),s}class g{constructor(s,i){this.denseKeyProvider=s,this.getLanguageConfiguration=i,this.languageIdToBracketTokens=new Map}didLanguageChange(s){return this.languageIdToBracketTokens.has(s)}getSingleLanguageBracketTokens(s){let i=this.languageIdToBracketTokens.get(s);return i||(i=f.createFromLanguage(this.getLanguageConfiguration(s),this.denseKeyProvider),this.languageIdToBracketTokens.set(s,i)),i}}e.LanguageAgnosticBracketTokens=g}),define(ne[507],se([1,0,280,91,279,126,206]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixBracketsInLine=void 0;function f(g,C){const s=new D.DenseKeyProvider,i=new L.LanguageAgnosticBracketTokens(s,r=>C.getLanguageConfiguration(r)),n=new S.TextBufferTokenizer(new _([g]),i),t=(0,y.parseDocument)(n,[],void 0,!0);let a="";const u=g.getLineContent();function h(r,c){if(r.kind===2)if(h(r.openingBracket,c),c=(0,k.lengthAdd)(c,r.openingBracket.length),r.child&&(h(r.child,c),c=(0,k.lengthAdd)(c,r.child.length)),r.closingBracket)h(r.closingBracket,c),c=(0,k.lengthAdd)(c,r.closingBracket.length);else{const d=i.getSingleLanguageBracketTokens(r.openingBracket.languageId).findClosingTokenText(r.openingBracket.bracketIds);a+=d}else if(r.kind!==3){if(r.kind===0||r.kind===1)a+=u.substring((0,k.lengthGetColumnCountIfZeroLineCount)(c),(0,k.lengthGetColumnCountIfZeroLineCount)((0,k.lengthAdd)(c,r.length)));else if(r.kind===4)for(const o of r.children)h(o,c),c=(0,k.lengthAdd)(c,o.length)}}return h(t,k.lengthZero),a}e.fixBracketsInLine=f;class _{constructor(C){this.lines=C,this.tokenization={getLineTokens:s=>this.lines[s-1]}}getLineCount(){return this.lines.length}getLineLength(C){return this.lines[C-1].getLineContent().length}}}),define(ne[508],se([1,0,14]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FixedArray=void 0;class k{constructor(S){this._default=S,this._store=[]}get(S){return S=this._store.length;)this._store[this._store.length]=this._default;this._store[S]=f}replace(S,f,_){if(S>=this._store.length)return;if(f===0){this.insert(S,_);return}else if(_===0){this.delete(S,f);return}const g=this._store.slice(0,S),C=this._store.slice(S+f),s=y(_,this._default);this._store=g.concat(s,C)}delete(S,f){f===0||S>=this._store.length||this._store.splice(S,f)}insert(S,f){if(f===0||S>=this._store.length)return;const _=[];for(let g=0;g0&&i>0||n>0&&t>0)return;const a=Math.abs(i-t),u=Math.abs(s-n);if(a===0){g.spacesDiff=u,u>0&&0<=n-1&&n-10?g++:v>1&&C++,k(s,i,d,m,u),u.looksLikeAlignment&&!(f&&S===u.spacesDiff)))continue;const w=u.spacesDiff;w<=t&&a[w]++,s=d,i=m}let h=f;g!==C&&(h=g{const d=a[o];d>c&&(c=d,r=o)}),r===4&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(r=2)}return{insertSpaces:h,tabSize:r}}e.guessIndentation=y}),define(ne[510],se([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(F){return(F.metadata&1)>>>0}e.getNodeColor=L;function k(F,O){F.metadata=F.metadata&254|O<<0}function y(F){return(F.metadata&2)>>>1===1}function D(F,O){F.metadata=F.metadata&253|(O?1:0)<<1}function S(F){return(F.metadata&4)>>>2===1}function f(F,O){F.metadata=F.metadata&251|(O?1:0)<<2}function _(F){return(F.metadata&64)>>>6===1}function g(F,O){F.metadata=F.metadata&191|(O?1:0)<<6}function C(F){return(F.metadata&24)>>>3}function s(F,O){F.metadata=F.metadata&231|O<<3}function i(F){return(F.metadata&32)>>>5===1}function n(F,O){F.metadata=F.metadata&223|(O?1:0)<<5}class t{constructor(O,W,U){this.metadata=0,this.parent=this,this.left=this,this.right=this,k(this,1),this.start=W,this.end=U,this.delta=0,this.maxEnd=U,this.id=O,this.ownerId=0,this.options=null,f(this,!1),g(this,!1),s(this,1),n(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=null,D(this,!1)}reset(O,W,U,j){this.start=W,this.end=U,this.maxEnd=U,this.cachedVersionId=O,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=j}setOptions(O){this.options=O;const W=this.options.className;f(this,W==="squiggly-error"||W==="squiggly-warning"||W==="squiggly-info"),g(this,this.options.glyphMarginClassName!==null),s(this,this.options.stickiness),n(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(O,W,U){this.cachedVersionId!==U&&(this.range=null),this.cachedVersionId=U,this.cachedAbsoluteStart=O,this.cachedAbsoluteEnd=W}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=t,e.SENTINEL=new t(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,k(e.SENTINEL,0);class a{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(O,W,U,j,R,K){return this.root===e.SENTINEL?[]:m(this,O,W,U,j,R,K)}search(O,W,U,j){return this.root===e.SENTINEL?[]:p(this,O,W,U,j)}collectNodesFromOwner(O){return d(this,O)}collectNodesPostOrder(){return l(this)}insert(O){v(this,O),this._normalizeDeltaIfNecessary()}delete(O){w(this,O),this._normalizeDeltaIfNecessary()}resolveNode(O,W){const U=O;let j=0;for(;O!==this.root;)O===O.parent.right&&(j+=O.parent.delta),O=O.parent;const R=U.start+j,K=U.end+j;U.setCachedOffsets(R,K,W)}acceptReplace(O,W,U,j){const R=c(this,O,O+W);for(let K=0,G=R.length;KW||U===1?!1:U===2?!0:O}function r(F,O,W,U,j){const R=C(F),K=R===0||R===2,G=R===1||R===2,Z=W-O,J=U,X=Math.min(Z,J),H=F.start;let B=!1;const V=F.end;let Y=!1;O<=H&&V<=W&&i(F)&&(F.start=O,B=!0,F.end=O,Y=!0);{const ae=j?1:Z>0?2:0;!B&&h(H,K,O,ae)&&(B=!0),!Y&&h(V,G,O,ae)&&(Y=!0)}if(X>0&&!j){const ae=Z>J?2:0;!B&&h(H,K,O+X,ae)&&(B=!0),!Y&&h(V,G,O+X,ae)&&(Y=!0)}{const ae=j?1:0;!B&&h(H,K,W,ae)&&(F.start=O+J,B=!0),!Y&&h(V,G,W,ae)&&(F.end=O+J,Y=!0)}const ie=J-Z;B||(F.start=Math.max(0,H+ie)),Y||(F.end=Math.max(0,V+ie)),F.start>F.end&&(F.end=F.start)}e.nodeAcceptEdit=r;function c(F,O,W){let U=F.root,j=0,R=0,K=0,G=0;const Z=[];let J=0;for(;U!==e.SENTINEL;){if(y(U)){D(U.left,!1),D(U.right,!1),U===U.parent.right&&(j-=U.parent.delta),U=U.parent;continue}if(!y(U.left)){if(R=j+U.maxEnd,RW){D(U,!0);continue}if(G=j+U.end,G>=O&&(U.setCachedOffsets(K,G,0),Z[J++]=U),D(U,!0),U.right!==e.SENTINEL&&!y(U.right)){j+=U.delta,U=U.right;continue}}return D(F.root,!1),Z}function o(F,O,W,U){let j=F.root,R=0,K=0,G=0;const Z=U-(W-O);for(;j!==e.SENTINEL;){if(y(j)){D(j.left,!1),D(j.right,!1),j===j.parent.right&&(R-=j.parent.delta),T(j),j=j.parent;continue}if(!y(j.left)){if(K=R+j.maxEnd,KW){j.start+=Z,j.end+=Z,j.delta+=Z,(j.delta<-1073741824||j.delta>1073741824)&&(F.requestNormalizeDelta=!0),D(j,!0);continue}if(D(j,!0),j.right!==e.SENTINEL&&!y(j.right)){R+=j.delta,j=j.right;continue}}D(F.root,!1)}function d(F,O){let W=F.root;const U=[];let j=0;for(;W!==e.SENTINEL;){if(y(W)){D(W.left,!1),D(W.right,!1),W=W.parent;continue}if(W.left!==e.SENTINEL&&!y(W.left)){W=W.left;continue}if(W.ownerId===O&&(U[j++]=W),D(W,!0),W.right!==e.SENTINEL&&!y(W.right)){W=W.right;continue}}return D(F.root,!1),U}function l(F){let O=F.root;const W=[];let U=0;for(;O!==e.SENTINEL;){if(y(O)){D(O.left,!1),D(O.right,!1),O=O.parent;continue}if(O.left!==e.SENTINEL&&!y(O.left)){O=O.left;continue}if(O.right!==e.SENTINEL&&!y(O.right)){O=O.right;continue}W[U++]=O,D(O,!0)}return D(F.root,!1),W}function p(F,O,W,U,j){let R=F.root,K=0,G=0,Z=0;const J=[];let X=0;for(;R!==e.SENTINEL;){if(y(R)){D(R.left,!1),D(R.right,!1),R===R.parent.right&&(K-=R.parent.delta),R=R.parent;continue}if(R.left!==e.SENTINEL&&!y(R.left)){R=R.left;continue}G=K+R.start,Z=K+R.end,R.setCachedOffsets(G,Z,U);let H=!0;if(O&&R.ownerId&&R.ownerId!==O&&(H=!1),W&&S(R)&&(H=!1),j&&!_(R)&&(H=!1),H&&(J[X++]=R),D(R,!0),R.right!==e.SENTINEL&&!y(R.right)){K+=R.delta,R=R.right;continue}}return D(F.root,!1),J}function m(F,O,W,U,j,R,K){let G=F.root,Z=0,J=0,X=0,H=0;const B=[];let V=0;for(;G!==e.SENTINEL;){if(y(G)){D(G.left,!1),D(G.right,!1),G===G.parent.right&&(Z-=G.parent.delta),G=G.parent;continue}if(!y(G.left)){if(J=Z+G.maxEnd,JW){D(G,!0);continue}if(H=Z+G.end,H>=O){G.setCachedOffsets(X,H,R);let Y=!0;U&&G.ownerId&&G.ownerId!==U&&(Y=!1),j&&S(G)&&(Y=!1),K&&!_(G)&&(Y=!1),Y&&(B[V++]=G)}if(D(G,!0),G.right!==e.SENTINEL&&!y(G.right)){Z+=G.delta,G=G.right;continue}}return D(F.root,!1),B}function v(F,O){if(F.root===e.SENTINEL)return O.parent=e.SENTINEL,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,0),F.root=O,F.root;b(F,O),A(O.parent);let W=O;for(;W!==F.root&&L(W.parent)===1;)if(W.parent===W.parent.parent.left){const U=W.parent.parent.right;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.right&&(W=W.parent,M(F,W)),k(W.parent,0),k(W.parent.parent,1),P(F,W.parent.parent))}else{const U=W.parent.parent.left;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.left&&(W=W.parent,P(F,W)),k(W.parent,0),k(W.parent.parent,1),M(F,W.parent.parent))}return k(F.root,0),O}function b(F,O){let W=0,U=F.root;const j=O.start,R=O.end;for(;;)if(N(j,R,U.start+W,U.end+W)<0)if(U.left===e.SENTINEL){O.start-=W,O.end-=W,O.maxEnd-=W,U.left=O;break}else U=U.left;else if(U.right===e.SENTINEL){O.start-=W+U.delta,O.end-=W+U.delta,O.maxEnd-=W+U.delta,U.right=O;break}else W+=U.delta,U=U.right;O.parent=U,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,1)}function w(F,O){let W,U;if(O.left===e.SENTINEL?(W=O.right,U=O,W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta):O.right===e.SENTINEL?(W=O.left,U=O):(U=E(O.right),W=U.right,W.start+=U.delta,W.end+=U.delta,W.delta+=U.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),U.start+=O.delta,U.end+=O.delta,U.delta=O.delta,(U.delta<-1073741824||U.delta>1073741824)&&(F.requestNormalizeDelta=!0)),U===F.root){F.root=W,k(W,0),O.detach(),I(),T(W),F.root.parent=e.SENTINEL;return}const j=L(U)===1;if(U===U.parent.left?U.parent.left=W:U.parent.right=W,U===O?W.parent=U.parent:(U.parent===O?W.parent=U:W.parent=U.parent,U.left=O.left,U.right=O.right,U.parent=O.parent,k(U,L(O)),O===F.root?F.root=U:O===O.parent.left?O.parent.left=U:O.parent.right=U,U.left!==e.SENTINEL&&(U.left.parent=U),U.right!==e.SENTINEL&&(U.right.parent=U)),O.detach(),j){A(W.parent),U!==O&&(A(U),A(U.parent)),I();return}A(W),A(W.parent),U!==O&&(A(U),A(U.parent));let R;for(;W!==F.root&&L(W)===0;)W===W.parent.left?(R=W.parent.right,L(R)===1&&(k(R,0),k(W.parent,1),M(F,W.parent),R=W.parent.right),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.right)===0&&(k(R.left,0),k(R,1),P(F,R),R=W.parent.right),k(R,L(W.parent)),k(W.parent,0),k(R.right,0),M(F,W.parent),W=F.root)):(R=W.parent.left,L(R)===1&&(k(R,0),k(W.parent,1),P(F,W.parent),R=W.parent.left),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.left)===0&&(k(R.right,0),k(R,1),M(F,R),R=W.parent.left),k(R,L(W.parent)),k(W.parent,0),k(R.left,0),P(F,W.parent),W=F.root));k(W,0),I()}function E(F){for(;F.left!==e.SENTINEL;)F=F.left;return F}function I(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function M(F,O){const W=O.right;W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta,O.right=W.left,W.left!==e.SENTINEL&&(W.left.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.left?O.parent.left=W:O.parent.right=W,W.left=O,O.parent=W,T(O),T(W)}function P(F,O){const W=O.left;O.delta-=W.delta,(O.delta<-1073741824||O.delta>1073741824)&&(F.requestNormalizeDelta=!0),O.start-=W.delta,O.end-=W.delta,O.left=W.right,W.right!==e.SENTINEL&&(W.right.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.right?O.parent.right=W:O.parent.left=W,W.right=O,O.parent=W,T(O),T(W)}function x(F){let O=F.end;if(F.left!==e.SENTINEL){const W=F.left.maxEnd;W>O&&(O=W)}if(F.right!==e.SENTINEL){const W=F.right.maxEnd+F.delta;W>O&&(O=W)}return O}function T(F){F.maxEnd=x(F)}e.recomputeMaxEnd=T;function A(F){for(;F!==e.SENTINEL;){const O=x(F);if(F.maxEnd===O)return;F.maxEnd=O,F=F.parent}}function N(F,O,W,U){return F===W?O-U:F-W}e.intervalCompare=N}),define(ne[511],se([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.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class L{constructor(a,u){this.piece=a,this.color=u,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return k(this.right);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.left!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.parent}prev(){if(this.left!==e.SENTINEL)return y(this.left);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.right!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.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 k(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}e.leftest=k;function y(t){for(;t.right!==e.SENTINEL;)t=t.right;return t}e.righttest=y;function D(t){return t===e.SENTINEL?0:t.size_left+t.piece.length+D(t.right)}function S(t){return t===e.SENTINEL?0:t.lf_left+t.piece.lineFeedCnt+S(t.right)}function f(){e.SENTINEL.parent=e.SENTINEL}function _(t,a){const u=a.right;u.size_left+=a.size_left+(a.piece?a.piece.length:0),u.lf_left+=a.lf_left+(a.piece?a.piece.lineFeedCnt:0),a.right=u.left,u.left!==e.SENTINEL&&(u.left.parent=a),u.parent=a.parent,a.parent===e.SENTINEL?t.root=u:a.parent.left===a?a.parent.left=u:a.parent.right=u,u.left=a,a.parent=u}e.leftRotate=_;function g(t,a){const u=a.left;a.left=u.right,u.right!==e.SENTINEL&&(u.right.parent=a),u.parent=a.parent,a.size_left-=u.size_left+(u.piece?u.piece.length:0),a.lf_left-=u.lf_left+(u.piece?u.piece.lineFeedCnt:0),a.parent===e.SENTINEL?t.root=u:a===a.parent.right?a.parent.right=u:a.parent.left=u,u.right=a,a.parent=u}e.rightRotate=g;function C(t,a){let u,h;if(a.left===e.SENTINEL?(h=a,u=h.right):a.right===e.SENTINEL?(h=a,u=h.left):(h=k(a.right),u=h.right),h===t.root){t.root=u,u.color=0,a.detach(),f(),t.root.parent=e.SENTINEL;return}const r=h.color===1;if(h===h.parent.left?h.parent.left=u:h.parent.right=u,h===a?(u.parent=h.parent,n(t,u)):(h.parent===a?u.parent=h:u.parent=h.parent,n(t,u),h.left=a.left,h.right=a.right,h.parent=a.parent,h.color=a.color,a===t.root?t.root=h:a===a.parent.left?a.parent.left=h:a.parent.right=h,h.left!==e.SENTINEL&&(h.left.parent=h),h.right!==e.SENTINEL&&(h.right.parent=h),h.size_left=a.size_left,h.lf_left=a.lf_left,n(t,h)),a.detach(),u.parent.left===u){const o=D(u),d=S(u);if(o!==u.parent.size_left||d!==u.parent.lf_left){const l=o-u.parent.size_left,p=d-u.parent.lf_left;u.parent.size_left=o,u.parent.lf_left=d,i(t,u.parent,l,p)}}if(n(t,u.parent),r){f();return}let c;for(;u!==t.root&&u.color===0;)u===u.parent.left?(c=u.parent.right,c.color===1&&(c.color=0,u.parent.color=1,_(t,u.parent),c=u.parent.right),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.right.color===0&&(c.left.color=0,c.color=1,g(t,c),c=u.parent.right),c.color=u.parent.color,u.parent.color=0,c.right.color=0,_(t,u.parent),u=t.root)):(c=u.parent.left,c.color===1&&(c.color=0,u.parent.color=1,g(t,u.parent),c=u.parent.left),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.left.color===0&&(c.right.color=0,c.color=1,_(t,c),c=u.parent.left),c.color=u.parent.color,u.parent.color=0,c.left.color=0,g(t,u.parent),u=t.root));u.color=0,f()}e.rbDelete=C;function s(t,a){for(n(t,a);a!==t.root&&a.parent.color===1;)if(a.parent===a.parent.parent.left){const u=a.parent.parent.right;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.right&&(a=a.parent,_(t,a)),a.parent.color=0,a.parent.parent.color=1,g(t,a.parent.parent))}else{const u=a.parent.parent.left;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.left&&(a=a.parent,g(t,a)),a.parent.color=0,a.parent.parent.color=1,_(t,a.parent.parent))}t.root.color=0}e.fixInsert=s;function i(t,a,u,h){for(;a!==t.root&&a!==e.SENTINEL;)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}e.updateTreeMetadata=i;function n(t,a){let u=0,h=0;if(a!==t.root){for(;a!==t.root&&a===a.parent.right;)a=a.parent;if(a!==t.root)for(a=a.parent,u=D(a.left)-a.size_left,h=S(a.left)-a.lf_left,a.size_left+=u,a.lf_left+=h;a!==t.root&&(u!==0||h!==0);)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}}e.recomputeTreeMetadata=n}),define(ne[281],se([1,0,14,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class y{constructor(_){this.values=_,this.prefixSum=new Uint32Array(_.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(_,g){_=(0,k.toUint32)(_);const C=this.values,s=this.prefixSum,i=g.length;return i===0?!1:(this.values=new Uint32Array(C.length+i),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_),_+i),this.values.set(g,_),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(_,g){return _=(0,k.toUint32)(_),g=(0,k.toUint32)(g),this.values[_]===g?!1:(this.values[_]=g,_-1=C.length)return!1;const i=C.length-_;return g>=i&&(g=i),g===0?!1:(this.values=new Uint32Array(C.length-g),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_+g),_),this.prefixSum=new Uint32Array(this.values.length),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(_){return _<0?0:(_=(0,k.toUint32)(_),this._getPrefixSum(_))}_getPrefixSum(_){if(_<=this.prefixSumValidIndex[0])return this.prefixSum[_];let g=this.prefixSumValidIndex[0]+1;g===0&&(this.prefixSum[0]=this.values[0],g++),_>=this.values.length&&(_=this.values.length-1);for(let C=g;C<=_;C++)this.prefixSum[C]=this.prefixSum[C-1]+this.values[C];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],_),this.prefixSum[_]}getIndexOf(_){_=Math.floor(_),this.getTotalSum();let g=0,C=this.values.length-1,s=0,i=0,n=0;for(;g<=C;)if(s=g+(C-g)/2|0,i=this.prefixSum[s],n=i-this.values[s],_=i)g=s+1;else break;return new S(s,_-n)}}e.PrefixSumComputer=y;class D{constructor(_){this._values=_,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(_){return this._ensureValid(),_===0?0:this._prefixSum[_-1]}getIndexOf(_){this._ensureValid();const g=this._indexBySum[_],C=g>0?this._prefixSum[g-1]:0;return new S(g,_-C)}removeValues(_,g){this._values.splice(_,g),this._invalidate(_)}insertValues(_,g){this._values=(0,L.arrayInsert)(this._values,_,g),this._invalidate(_)}_invalidate(_){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,_-1)}_ensureValid(){if(!this._isValid){for(let _=this._validEndIndex+1,g=this._values.length;_0?this._prefixSum[_-1]:0;this._prefixSum[_]=s+C;for(let i=0;i=0;let c=null;try{c=L.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:r,global:!0,unicode:!0})}catch{return null}if(!c)return null;let o=!this.isRegex&&!r;return o&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(o=this.matchCase),new S.SearchData(c,this.wordSeparators?(0,k.getMapForWordSeparators)(this.wordSeparators):null,o?this.searchString:null)}}e.SearchParams=_;function g(h){if(!h||h.length===0)return!1;for(let r=0,c=h.length;r=c)break;const d=h.charCodeAt(r);if(d===110||d===114||d===87)return!0}}return!1}e.isMultilineRegexSource=g;function C(h,r,c){if(!c)return new S.FindMatch(h,null);const o=[];for(let d=0,l=r.length;d>0);c[l]>=r?d=l-1:c[l+1]>=r?(o=l,d=l):o=l+1}return o+1}}class i{static findMatches(r,c,o,d,l){const p=c.parseSearchRequest();return p?p.regex.multiline?this._doFindMatchesMultiline(r,o,new u(p.wordSeparators,p.regex),d,l):this._doFindMatchesLineByLine(r,o,p,d,l):[]}static _getMultilineMatchRange(r,c,o,d,l,p){let m,v=0;d?(v=d.findLineFeedCountBeforeOffset(l),m=c+l+v):m=c+l;let b;if(d){const M=d.findLineFeedCountBeforeOffset(l+p.length)-v;b=m+p.length+M}else b=m+p.length;const w=r.getPositionAt(m),E=r.getPositionAt(b);return new D.Range(w.lineNumber,w.column,E.lineNumber,E.column)}static _doFindMatchesMultiline(r,c,o,d,l){const p=r.getOffsetAt(c.getStartPosition()),m=r.getValueInRange(c,1),v=r.getEOL()===`\r -`?new s(m):null,b=[];let w=0,E;for(o.reset(0);E=o.next(m);)if(b[w++]=C(this._getMultilineMatchRange(r,p,m,v,E.index,E[0]),E,d),w>=l)return b;return b}static _doFindMatchesLineByLine(r,c,o,d,l){const p=[];let m=0;if(c.startLineNumber===c.endLineNumber){const b=r.getLineContent(c.startLineNumber).substring(c.startColumn-1,c.endColumn-1);return m=this._findMatchesInLine(o,b,c.startLineNumber,c.startColumn-1,m,p,d,l),p}const v=r.getLineContent(c.startLineNumber).substring(c.startColumn-1);m=this._findMatchesInLine(o,v,c.startLineNumber,c.startColumn-1,m,p,d,l);for(let b=c.startLineNumber+1;b=v))return l;return l}const w=new u(r.wordSeparators,r.regex);let E;w.reset(0);do if(E=w.next(c),E&&(p[l++]=C(new D.Range(o,E.index+1+d,o,E.index+1+E[0].length+d),E,m),l>=v))return l;while(E);return l}static findNextMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindNextMatchMultiline(r,o,p,d):this._doFindNextMatchLineByLine(r,o,p,d)}static _doFindNextMatchMultiline(r,c,o,d){const l=new y.Position(c.lineNumber,1),p=r.getOffsetAt(l),m=r.getLineCount(),v=r.getValueInRange(new D.Range(l.lineNumber,l.column,m,r.getLineMaxColumn(m)),1),b=r.getEOL()===`\r -`?new s(v):null;o.reset(c.column-1);const w=o.next(v);return w?C(this._getMultilineMatchRange(r,p,v,b,w.index,w[0]),w,d):c.lineNumber!==1||c.column!==1?this._doFindNextMatchMultiline(r,new y.Position(1,1),o,d):null}static _doFindNextMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p),v=this._findFirstMatchInLine(o,m,p,c.column,d);if(v)return v;for(let b=1;b<=l;b++){const w=(p+b-1)%l,E=r.getLineContent(w+1),I=this._findFirstMatchInLine(o,E,w+1,1,d);if(I)return I}return null}static _findFirstMatchInLine(r,c,o,d,l){r.reset(d-1);const p=r.next(c);return p?C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,l):null}static findPreviousMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindPreviousMatchMultiline(r,o,p,d):this._doFindPreviousMatchLineByLine(r,o,p,d)}static _doFindPreviousMatchMultiline(r,c,o,d){const l=this._doFindMatchesMultiline(r,new D.Range(1,1,c.lineNumber,c.column),o,d,10*f);if(l.length>0)return l[l.length-1];const p=r.getLineCount();return c.lineNumber!==p||c.column!==r.getLineMaxColumn(p)?this._doFindPreviousMatchMultiline(r,new y.Position(p,r.getLineMaxColumn(p)),o,d):null}static _doFindPreviousMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p).substring(0,c.column-1),v=this._findLastMatchInLine(o,m,p,d);if(v)return v;for(let b=1;b<=l;b++){const w=(l+p-b-1)%l,E=r.getLineContent(w+1),I=this._findLastMatchInLine(o,E,w+1,d);if(I)return I}return null}static _findLastMatchInLine(r,c,o,d){let l=null,p;for(r.reset(0);p=r.next(c);)l=C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,d);return l}}e.TextModelSearch=i;function n(h,r,c,o,d){if(o===0)return!0;const l=r.charCodeAt(o-1);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o);if(h.get(p)!==0)return!0}return!1}function t(h,r,c,o,d){if(o+d===c)return!0;const l=r.charCodeAt(o+d);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o+d-1);if(h.get(p)!==0)return!0}return!1}function a(h,r,c,o,d){return n(h,r,c,o,d)&&t(h,r,c,o,d)}e.isValidMatch=a;class u{constructor(r,c){this._wordSeparators=r,this._searchRegex=c,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(r){this._searchRegex.lastIndex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(r){const c=r.length;let o;do{if(this._prevMatchStartIndex+this._prevMatchLength===c||(o=this._searchRegex.exec(r),!o))return null;const d=o.index,l=o[0].length;if(d===this._prevMatchStartIndex&&l===this._prevMatchLength){if(l===0){L.getNextCodePoint(r,c,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=d,this._prevMatchLength=l,!this._wordSeparators||a(this._wordSeparators,r,c,d,l))return o}while(o);return null}}e.Searcher=u}),define(ne[283],se([1,0,12,5,48,511,181]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeBase=e.StringBuffer=e.Piece=e.createLineStarts=e.createLineStartsFast=void 0;const f=65535;function _(h){let r;return h[h.length-1]<65536?r=new Uint16Array(h.length):r=new Uint32Array(h.length),r.set(h,0),r}class g{constructor(r,c,o,d,l){this.lineStarts=r,this.cr=c,this.lf=o,this.crlf=d,this.isBasicASCII=l}}function C(h,r=!0){const c=[0];let o=1;for(let d=0,l=h.length;d126)&&(p=!1)}const m=new g(_(h),o,d,l,p);return h.length=0,m}e.createLineStarts=s;class i{constructor(r,c,o,d,l){this.bufferIndex=r,this.start=c,this.end=o,this.lineFeedCnt=d,this.length=l}}e.Piece=i;class n{constructor(r,c){this.buffer=r,this.lineStarts=c}}e.StringBuffer=n;class t{constructor(r,c){this._pieces=[],this._tree=r,this._BOM=c,this._index=0,r.root!==D.SENTINEL&&r.iterate(r.root,o=>(o!==D.SENTINEL&&this._pieces.push(o.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class a{constructor(r){this._limit=r,this._cache=[]}get(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartOffset<=r&&o.nodeStartOffset+o.node.piece.length>=r)return o}return null}get2(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartLineNumber&&o.nodeStartLineNumber=r)return o}return null}set(r){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(r)}validate(r){let c=!1;const o=this._cache;for(let d=0;d=r){o[d]=null,c=!0;continue}}if(c){const d=[];for(const l of o)l!==null&&d.push(l);this._cache=d}}}class u{constructor(r,c,o){this.create(r,c,o)}create(r,c,o){this._buffers=[new n("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=D.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=c,this._EOLLength=c.length,this._EOLNormalized=o;let d=null;for(let l=0,p=r.length;l0){r[l].lineStarts||(r[l].lineStarts=C(r[l].buffer));const m=new i(l+1,{line:0,column:0},{line:r[l].lineStarts.length-1,column:r[l].buffer.length-r[l].lineStarts[r[l].lineStarts.length-1]},r[l].lineStarts.length-1,r[l].buffer.length);this._buffers.push(r[l]),d=this.rbInsertRight(d,m)}this._searchCache=new a(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(r){const c=f,o=c-Math.floor(c/3),d=o*2;let l="",p=0;const m=[];if(this.iterate(this.root,v=>{const b=this.getNodeContent(v),w=b.length;if(p<=o||p+w0){const v=l.replace(/\r\n|\r|\n/g,r);m.push(new n(v,C(v)))}this.create(m,r,!0)}getEOL(){return this._EOL}setEOL(r){this._EOL=r,this._EOLLength=this._EOL.length,this.normalizeEOL(r)}createSnapshot(r){return new t(this,r)}getOffsetAt(r,c){let o=0,d=this.root;for(;d!==D.SENTINEL;)if(d.left!==D.SENTINEL&&d.lf_left+1>=r)d=d.left;else if(d.lf_left+d.piece.lineFeedCnt+1>=r){o+=d.size_left;const l=this.getAccumulatedValue(d,r-d.lf_left-2);return o+=l+c-1}else r-=d.lf_left+d.piece.lineFeedCnt,o+=d.size_left+d.piece.length,d=d.right;return o}getPositionAt(r){r=Math.floor(r),r=Math.max(0,r);let c=this.root,o=0;const d=r;for(;c!==D.SENTINEL;)if(c.size_left!==0&&c.size_left>=r)c=c.left;else if(c.size_left+c.piece.length>=r){const l=this.getIndexOf(c,r-c.size_left);if(o+=c.lf_left+l.index,l.index===0){const p=this.getOffsetAt(o+1,1),m=d-p;return new L.Position(o+1,m+1)}return new L.Position(o+1,l.remainder+1)}else if(r-=c.size_left+c.piece.length,o+=c.lf_left+c.piece.lineFeedCnt,c.right===D.SENTINEL){const l=this.getOffsetAt(o+1,1),p=d-r-l;return new L.Position(o+1,p+1)}else c=c.right;return new L.Position(1,1)}getValueInRange(r,c){if(r.startLineNumber===r.endLineNumber&&r.startColumn===r.endColumn)return"";const o=this.nodeAt2(r.startLineNumber,r.startColumn),d=this.nodeAt2(r.endLineNumber,r.endColumn),l=this.getValueInRange2(o,d);return c?c!==this._EOL||!this._EOLNormalized?l.replace(/\r\n|\r|\n/g,c):c===this.getEOL()&&this._EOLNormalized?l:l.replace(/\r\n|\r|\n/g,c):l}getValueInRange2(r,c){if(r.node===c.node){const m=r.node,v=this._buffers[m.piece.bufferIndex].buffer,b=this.offsetInBuffer(m.piece.bufferIndex,m.piece.start);return v.substring(b+r.remainder,b+c.remainder)}let o=r.node;const d=this._buffers[o.piece.bufferIndex].buffer,l=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);let p=d.substring(l+r.remainder,l+o.piece.length);for(o=o.next();o!==D.SENTINEL;){const m=this._buffers[o.piece.bufferIndex].buffer,v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===c.node){p+=m.substring(v,v+c.remainder);break}else p+=m.substr(v,o.piece.length);o=o.next()}return p}getLinesContent(){const r=[];let c=0,o="",d=!1;return this.iterate(this.root,l=>{if(l===D.SENTINEL)return!0;const p=l.piece;let m=p.length;if(m===0)return!0;const v=this._buffers[p.bufferIndex].buffer,b=this._buffers[p.bufferIndex].lineStarts,w=p.start.line,E=p.end.line;let I=b[w]+p.start.column;if(d&&(v.charCodeAt(I)===10&&(I++,m--),r[c++]=o,o="",d=!1,m===0))return!0;if(w===E)return!this._EOLNormalized&&v.charCodeAt(I+m-1)===13?(d=!0,o+=v.substr(I,m-1)):o+=v.substr(I,m),!0;o+=this._EOLNormalized?v.substring(I,Math.max(I,b[w+1]-this._EOLLength)):v.substring(I,b[w+1]).replace(/(\r\n|\r|\n)$/,""),r[c++]=o;for(let M=w+1;MO+P,c.reset(0)):(N=I.buffer,F=O=>O,c.reset(P));do if(T=c.next(N),T){if(F(T.index)>=x)return w;this.positionInBuffer(r,F(T.index)-M,A);const O=this.getLineFeedCnt(r.piece.bufferIndex,l,A),W=A.line===l.line?A.column-l.column+d:A.column+1,U=W+T[0].length;if(E[w++]=(0,S.createFindMatch)(new k.Range(o+O,W,o+O,U),T,v),F(T.index)+T[0].length>=x||w>=b)return w}while(T);return w}findMatchesLineByLine(r,c,o,d){const l=[];let p=0;const m=new S.Searcher(c.wordSeparators,c.regex);let v=this.nodeAt2(r.startLineNumber,r.startColumn);if(v===null)return[];const b=this.nodeAt2(r.endLineNumber,r.endColumn);if(b===null)return[];let w=this.positionInBuffer(v.node,v.remainder);const E=this.positionInBuffer(b.node,b.remainder);if(v.node===b.node)return this.findMatchesInNode(v.node,m,r.startLineNumber,r.startColumn,w,E,c,o,d,p,l),l;let I=r.startLineNumber,M=v.node;for(;M!==b.node;){const x=this.getLineFeedCnt(M.piece.bufferIndex,w,M.piece.end);if(x>=1){const A=this._buffers[M.piece.bufferIndex].lineStarts,N=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start),F=A[w.line+x],O=I===r.startLineNumber?r.startColumn:1;if(p=this.findMatchesInNode(M,m,I,O,w,this.positionInBuffer(M,F-N),c,o,d,p,l),p>=d)return l;I+=x}const T=I===r.startLineNumber?r.startColumn-1:0;if(I===r.endLineNumber){const A=this.getLineContent(I).substring(T,r.endColumn-1);return p=this._findMatchesInLine(c,m,A,r.endLineNumber,T,p,l,o,d),l}if(p=this._findMatchesInLine(c,m,this.getLineContent(I).substr(T),I,T,p,l,o,d),p>=d)return l;I++,v=this.nodeAt2(I,1),M=v.node,w=this.positionInBuffer(v.node,v.remainder)}if(I===r.endLineNumber){const x=I===r.startLineNumber?r.startColumn-1:0,T=this.getLineContent(I).substring(x,r.endColumn-1);return p=this._findMatchesInLine(c,m,T,r.endLineNumber,x,p,l,o,d),l}const P=I===r.startLineNumber?r.startColumn:1;return p=this.findMatchesInNode(b.node,m,I,P,w,E,c,o,d,p,l),l}_findMatchesInLine(r,c,o,d,l,p,m,v,b){const w=r.wordSeparators;if(!v&&r.simpleSearch){const I=r.simpleSearch,M=I.length,P=o.length;let x=-M;for(;(x=o.indexOf(I,x+M))!==-1;)if((!w||(0,S.isValidMatch)(w,o,P,x,M))&&(m[p++]=new y.FindMatch(new k.Range(d,x+1+l,d,x+1+M+l),null),p>=b))return p;return p}let E;c.reset(0);do if(E=c.next(o),E&&(m[p++]=(0,S.createFindMatch)(new k.Range(d,E.index+1+l,d,E.index+1+E[0].length+l),E,v),p>=b))return p;while(E);return p}insert(r,c,o=!1){if(this._EOLNormalized=this._EOLNormalized&&o,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==D.SENTINEL){const{node:d,remainder:l,nodeStartOffset:p}=this.nodeAt(r),m=d.piece,v=m.bufferIndex,b=this.positionInBuffer(d,l);if(d.piece.bufferIndex===0&&m.end.line===this._lastChangeBufferPos.line&&m.end.column===this._lastChangeBufferPos.column&&p+m.length===r&&c.lengthr){const w=[];let E=new i(m.bufferIndex,b,m.end,this.getLineFeedCnt(m.bufferIndex,b,m.end),this.offsetInBuffer(v,m.end)-this.offsetInBuffer(v,b));if(this.shouldCheckCRLF()&&this.endWithCR(c)&&this.nodeCharCodeAt(d,l)===10){const x={line:E.start.line+1,column:0};E=new i(E.bufferIndex,x,E.end,this.getLineFeedCnt(E.bufferIndex,x,E.end),E.length-1),c+=` -`}if(this.shouldCheckCRLF()&&this.startWithLF(c))if(this.nodeCharCodeAt(d,l-1)===13){const x=this.positionInBuffer(d,l-1);this.deleteNodeTail(d,x),c="\r"+c,d.piece.length===0&&w.push(d)}else this.deleteNodeTail(d,b);else this.deleteNodeTail(d,b);const I=this.createNewPieces(c);E.length>0&&this.rbInsertRight(d,E);let M=d;for(let P=0;P=0;p--)l=this.rbInsertLeft(l,d[p]);this.validateCRLFWithPrevNode(l),this.deleteNodes(o)}insertContentToNodeRight(r,c){this.adjustCarriageReturnFromNext(r,c)&&(r+=` -`);const o=this.createNewPieces(r),d=this.rbInsertRight(c,o[0]);let l=d;for(let p=1;p=I)b=E+1;else break;return o?(o.line=E,o.column=v-M,null):{line:E,column:v-M}}getLineFeedCnt(r,c,o){if(o.column===0)return o.line-c.line;const d=this._buffers[r].lineStarts;if(o.line===d.length-1)return o.line-c.line;const l=d[o.line+1],p=d[o.line]+o.column;if(l>p+1)return o.line-c.line;const m=p-1;return this._buffers[r].buffer.charCodeAt(m)===13?o.line-c.line+1:o.line-c.line}offsetInBuffer(r,c){return this._buffers[r].lineStarts[c.line]+c.column}deleteNodes(r){for(let c=0;cf){const w=[];for(;r.length>f;){const I=r.charCodeAt(f-1);let M;I===13||I>=55296&&I<=56319?(M=r.substring(0,f-1),r=r.substring(f-1)):(M=r.substring(0,f),r=r.substring(f));const P=C(M);w.push(new i(this._buffers.length,{line:0,column:0},{line:P.length-1,column:M.length-P[P.length-1]},P.length-1,M.length)),this._buffers.push(new n(M,P))}const E=C(r);return w.push(new i(this._buffers.length,{line:0,column:0},{line:E.length-1,column:r.length-E[E.length-1]},E.length-1,r.length)),this._buffers.push(new n(r,E)),w}let c=this._buffers[0].buffer.length;const o=C(r,!1);let d=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===c&&c!==0&&this.startWithLF(r)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},d=this._lastChangeBufferPos;for(let w=0;w=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this.getAccumulatedValue(o,r-o.lf_left-1),w=this._buffers[o.piece.bufferIndex].buffer,E=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return p+=o.size_left,this._searchCache.set({node:o,nodeStartOffset:p,nodeStartLineNumber:m-(r-1-o.lf_left)}),w.substring(E+v,E+b-c)}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this._buffers[o.piece.bufferIndex].buffer,w=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d=b.substring(w+v,w+o.piece.length);break}else r-=o.lf_left+o.piece.lineFeedCnt,p+=o.size_left+o.piece.length,o=o.right}for(o=o.next();o!==D.SENTINEL;){const p=this._buffers[o.piece.bufferIndex].buffer;if(o.piece.lineFeedCnt>0){const m=this.getAccumulatedValue(o,0),v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return d+=p.substring(v,v+m-c),d}else{const m=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d+=p.substr(m,o.piece.length)}o=o.next()}return d}computeBufferMetadata(){let r=this.root,c=1,o=0;for(;r!==D.SENTINEL;)c+=r.lf_left+r.piece.lineFeedCnt,o+=r.size_left+r.piece.length,r=r.right;this._lineCnt=c,this._length=o,this._searchCache.validate(this._length)}getIndexOf(r,c){const o=r.piece,d=this.positionInBuffer(r,c),l=d.line-o.start.line;if(this.offsetInBuffer(o.bufferIndex,o.end)-this.offsetInBuffer(o.bufferIndex,o.start)===c){const p=this.getLineFeedCnt(r.piece.bufferIndex,o.start,d);if(p!==l)return{index:p,remainder:0}}return{index:l,remainder:d.column}}getAccumulatedValue(r,c){if(c<0)return 0;const o=r.piece,d=this._buffers[o.bufferIndex].lineStarts,l=o.start.line+c+1;return l>o.end.line?d[o.end.line]+o.end.column-d[o.start.line]-o.start.column:d[l]-d[o.start.line]-o.start.column}deleteNodeTail(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.end),p=c,m=this.offsetInBuffer(o.bufferIndex,p),v=this.getLineFeedCnt(o.bufferIndex,o.start,p),b=v-d,w=m-l,E=o.length+w;r.piece=new i(o.bufferIndex,o.start,p,v,E),(0,D.updateTreeMetadata)(this,r,w,b)}deleteNodeHead(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.start),p=c,m=this.getLineFeedCnt(o.bufferIndex,p,o.end),v=this.offsetInBuffer(o.bufferIndex,p),b=m-d,w=l-v,E=o.length+w;r.piece=new i(o.bufferIndex,p,o.end,m,E),(0,D.updateTreeMetadata)(this,r,w,b)}shrinkNode(r,c,o){const d=r.piece,l=d.start,p=d.end,m=d.length,v=d.lineFeedCnt,b=c,w=this.getLineFeedCnt(d.bufferIndex,d.start,b),E=this.offsetInBuffer(d.bufferIndex,c)-this.offsetInBuffer(d.bufferIndex,l);r.piece=new i(d.bufferIndex,d.start,b,w,E),(0,D.updateTreeMetadata)(this,r,E-m,w-v);const I=new i(d.bufferIndex,o,p,this.getLineFeedCnt(d.bufferIndex,o,p),this.offsetInBuffer(d.bufferIndex,p)-this.offsetInBuffer(d.bufferIndex,o)),M=this.rbInsertRight(r,I);this.validateCRLFWithPrevNode(M)}appendToNode(r,c){this.adjustCarriageReturnFromNext(c,r)&&(c+=` -`);const o=this.shouldCheckCRLF()&&this.startWithLF(c)&&this.endWithCR(r),d=this._buffers[0].buffer.length;this._buffers[0].buffer+=c;const l=C(c,!1);for(let M=0;Mr)c=c.left;else if(c.size_left+c.piece.length>=r){d+=c.size_left;const l={node:c,remainder:r-c.size_left,nodeStartOffset:d};return this._searchCache.set(l),l}else r-=c.size_left+c.piece.length,d+=c.size_left+c.piece.length,c=c.right;return null}nodeAt2(r,c){let o=this.root,d=0;for(;o!==D.SENTINEL;)if(o.left!==D.SENTINEL&&o.lf_left>=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2),p=this.getAccumulatedValue(o,r-o.lf_left-1);return d+=o.size_left,{node:o,remainder:Math.min(l+c-1,p),nodeStartOffset:d}}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2);if(l+c-1<=o.piece.length)return{node:o,remainder:l+c-1,nodeStartOffset:d};c-=o.piece.length-l;break}else r-=o.lf_left+o.piece.lineFeedCnt,d+=o.size_left+o.piece.length,o=o.right;for(o=o.next();o!==D.SENTINEL;){if(o.piece.lineFeedCnt>0){const l=this.getAccumulatedValue(o,0),p=this.offsetOfNode(o);return{node:o,remainder:Math.min(c-1,l),nodeStartOffset:p}}else if(o.piece.length>=c-1){const l=this.offsetOfNode(o);return{node:o,remainder:c-1,nodeStartOffset:l}}else c-=o.piece.length;o=o.next()}return null}nodeCharCodeAt(r,c){if(r.piece.lineFeedCnt<1)return-1;const o=this._buffers[r.piece.bufferIndex],d=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start)+c;return o.buffer.charCodeAt(d)}offsetOfNode(r){if(!r)return 0;let c=r.size_left;for(;r!==this.root;)r.parent.right===r&&(c+=r.parent.size_left+r.parent.piece.length),r=r.parent;return c}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===` -`)}startWithLF(r){if(typeof r=="string")return r.charCodeAt(0)===10;if(r===D.SENTINEL||r.piece.lineFeedCnt===0)return!1;const c=r.piece,o=this._buffers[c.bufferIndex].lineStarts,d=c.start.line,l=o[d]+c.start.column;return d===o.length-1||o[d+1]>l+1?!1:this._buffers[c.bufferIndex].buffer.charCodeAt(l)===10}endWithCR(r){return typeof r=="string"?r.charCodeAt(r.length-1)===13:r===D.SENTINEL||r.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(r,r.piece.length-1)===13}validateCRLFWithPrevNode(r){if(this.shouldCheckCRLF()&&this.startWithLF(r)){const c=r.prev();this.endWithCR(c)&&this.fixCRLF(c,r)}}validateCRLFWithNextNode(r){if(this.shouldCheckCRLF()&&this.endWithCR(r)){const c=r.next();this.startWithLF(c)&&this.fixCRLF(r,c)}}fixCRLF(r,c){const o=[],d=this._buffers[r.piece.bufferIndex].lineStarts;let l;r.piece.end.column===0?l={line:r.piece.end.line-1,column:d[r.piece.end.line]-d[r.piece.end.line-1]-1}:l={line:r.piece.end.line,column:r.piece.end.column-1};const p=r.piece.length-1,m=r.piece.lineFeedCnt-1;r.piece=new i(r.piece.bufferIndex,r.piece.start,l,m,p),(0,D.updateTreeMetadata)(this,r,-1,-1),r.piece.length===0&&o.push(r);const v={line:c.piece.start.line+1,column:0},b=c.piece.length-1,w=this.getLineFeedCnt(c.piece.bufferIndex,v,c.piece.end);c.piece=new i(c.piece.bufferIndex,v,c.piece.end,w,b),(0,D.updateTreeMetadata)(this,c,-1,-1),c.piece.length===0&&o.push(c);const E=this.createNewPieces(`\r -`);this.rbInsertRight(r,E[0]);for(let I=0;I0?this.wrappedTextIndentLength:0}getLineLength(s){const i=s>0?this.breakOffsets[s-1]:0;let t=this.breakOffsets[s]-i;return s>0&&(t+=this.wrappedTextIndentLength),t}getMaxOutputOffset(s){return this.getLineLength(s)}translateToInputOffset(s,i){s>0&&(i=Math.max(0,i-this.wrappedTextIndentLength));let t=s===0?i:this.breakOffsets[s-1]+i;if(this.injectionOffsets!==null)for(let a=0;athis.injectionOffsets[a];a++)t0?this.breakOffsets[a-1]:0,i===0)if(s<=u)t=a-1;else if(s>r)n=a+1;else break;else if(s=r)n=a+1;else break}let h=s-u;return a>0&&(h+=this.wrappedTextIndentLength),new g(a,h)}normalizeOutputPosition(s,i,n){if(this.injectionOffsets!==null){const t=this.outputPositionToOffsetInInputWithInjections(s,i),a=this.normalizeOffsetInInputWithInjectionsAroundInjections(t,n);if(a!==t)return this.offsetInInputWithInjectionsToOutputPosition(a,n)}if(n===0){if(s>0&&i===this.getMinOutputOffset(s))return new g(s-1,this.getMaxOutputOffset(s-1))}else if(n===1){const t=this.getOutputLineCount()-1;if(s0&&(i=Math.max(0,i-this.wrappedTextIndentLength)),(s>0?this.breakOffsets[s-1]:0)+i}normalizeOffsetInInputWithInjectionsAroundInjections(s,i){const n=this.getInjectedTextAtOffset(s);if(!n)return s;if(i===2){if(s===n.offsetInInputWithInjections+n.length&&S(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let t=n.offsetInInputWithInjections;if(f(this.injectionOptions[n.injectedTextIndex].cursorStops))return t;let a=n.injectedTextIndex-1;for(;a>=0&&this.injectionOffsets[a]===this.injectionOffsets[n.injectedTextIndex]&&!(S(this.injectionOptions[a].cursorStops)||(t-=this.injectionOptions[a].content.length,f(this.injectionOptions[a].cursorStops)));)a--;return t}}else if(i===1||i===4){let t=n.offsetInInputWithInjections+n.length,a=n.injectedTextIndex;for(;a+1=0&&this.injectionOffsets[a-1]===this.injectionOffsets[a];)t-=this.injectionOptions[a-1].content.length,a--;return t}(0,L.assertNever)(i)}getInjectedText(s,i){const n=this.outputPositionToOffsetInInputWithInjections(s,i),t=this.getInjectedTextAtOffset(n);return t?{options:this.injectionOptions[t.injectedTextIndex]}:null}getInjectedTextAtOffset(s){const i=this.injectionOffsets,n=this.injectionOptions;if(i!==null){let t=0;for(let a=0;as)break;if(s<=r)return{injectedTextIndex:a,offsetInInputWithInjections:h,length:u};t+=u}}}}e.ModelLineProjectionData=D;function S(C){return C==null?!0:C===y.InjectedTextCursorStops.Right||C===y.InjectedTextCursorStops.Both}function f(C){return C==null?!0:C===y.InjectedTextCursorStops.Left||C===y.InjectedTextCursorStops.Both}class _{constructor(s){this.options=s}}e.InjectedText=_;class g{constructor(s,i){this.outputLineIndex=s,this.outputOffset=i}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(s){return new k.Position(s+this.outputLineIndex,this.outputOffset+1)}}e.OutputPosition=g}),define(ne[285],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DraggedTreeItemsIdentifier=e.TreeViewsDnDService=void 0;class L{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(D){if(D&&this._dragOperations.has(D)){const S=this._dragOperations.get(D);return this._dragOperations.delete(D),S}}}e.TreeViewsDnDService=L;class k{constructor(D){this.identifier=D}}e.DraggedTreeItemsIdentifier=k}),define(ne[286],se([1,0,5,181,11,85,147]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeTextModelHighlighter=void 0;class f{static computeUnicodeHighlights(i,n,t){const a=t?t.startLineNumber:1,u=t?t.endLineNumber:i.getLineCount(),h=new g(n),r=h.getCandidateCodePoints();let c;r==="allNonBasicAscii"?c=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):c=new RegExp(`${_(Array.from(r))}`,"g");const o=new k.Searcher(null,c),d=[];let l=!1,p,m=0,v=0,b=0;e:for(let w=a,E=u;w<=E;w++){const I=i.getLineContent(w),M=I.length;o.reset(0);do if(p=o.next(I),p){let P=p.index,x=p.index+p[0].length;if(P>0){const F=I.charCodeAt(P-1);y.isHighSurrogate(F)&&P--}if(x+1=F){l=!0;break e}d.push(new L.Range(w,P+1,w,x+1))}}while(p)}return{ranges:d,hasMore:l,ambiguousCharacterCount:m,invisibleCharacterCount:v,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(i,n){const t=new g(n);switch(t.shouldHighlightNonBasicASCII(i,null)){case 0:return null;case 2:return{kind:1};case 3:{const u=i.codePointAt(0),h=t.ambiguousCharacters.getPrimaryConfusable(u),r=y.AmbiguousCharacters.getLocales().filter(c=>!y.AmbiguousCharacters.getInstance(new Set([...n.allowedLocales,c])).isAmbiguous(u));return{kind:0,confusableWith:String.fromCodePoint(h),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}e.UnicodeTextModelHighlighter=f;function _(s,i){return`[${y.escapeRegExpCharacters(s.map(t=>String.fromCodePoint(t)).join(""))}]`}class g{constructor(i){this.options=i,this.allowedCodePoints=new Set(i.allowedCodePoints),this.ambiguousCharacters=y.AmbiguousCharacters.getInstance(new Set(i.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const i=new Set;if(this.options.invisibleCharacters)for(const n of y.InvisibleCharacters.codePoints)C(String.fromCodePoint(n))||i.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())i.add(n);for(const n of this.allowedCodePoints)i.delete(n);return i}shouldHighlightNonBasicASCII(i,n){const t=i.codePointAt(0);if(this.allowedCodePoints.has(t))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,u=!1;if(n)for(const h of n){const r=h.codePointAt(0),c=y.isBasicASCII(h);a=a||c,!c&&!this.ambiguousCharacters.isAmbiguous(r)&&!y.InvisibleCharacters.isInvisibleCharacter(r)&&(u=!0)}return!a&&u?0:this.options.invisibleCharacters&&!C(i)&&y.InvisibleCharacters.isInvisibleCharacter(t)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(t)?3:0}}function C(s){return s===" "||s===` -`||s===" "}}),define(ne[208],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappingIndent=e.TrackedRangeStickiness=e.TextEditorCursorStyle=e.TextEditorCursorBlinkingStyle=e.SymbolTag=e.SymbolKind=e.SignatureHelpTriggerKind=e.SelectionDirection=e.ScrollbarVisibility=e.ScrollType=e.RenderMinimap=e.RenderLineNumbersType=e.PositionAffinity=e.OverviewRulerLane=e.OverlayWidgetPositionPreference=e.MouseTargetType=e.MinimapPosition=e.MarkerTag=e.MarkerSeverity=e.KeyCode=e.InlineCompletionTriggerKind=e.InlayHintKind=e.InjectedTextCursorStops=e.IndentAction=e.GlyphMarginLane=e.EndOfLineSequence=e.EndOfLinePreference=e.EditorOption=e.EditorAutoIndentStrategy=e.DocumentHighlightKind=e.DefaultEndOfLine=e.CursorChangeReason=e.ContentWidgetPositionPreference=e.CompletionTriggerKind=e.CompletionItemTag=e.CompletionItemKind=e.CompletionItemInsertTextRule=e.CodeActionTriggerType=e.AccessibilitySupport=void 0;var L;(function(R){R[R.Unknown=0]="Unknown",R[R.Disabled=1]="Disabled",R[R.Enabled=2]="Enabled"})(L||(e.AccessibilitySupport=L={}));var k;(function(R){R[R.Invoke=1]="Invoke",R[R.Auto=2]="Auto"})(k||(e.CodeActionTriggerType=k={}));var y;(function(R){R[R.None=0]="None",R[R.KeepWhitespace=1]="KeepWhitespace",R[R.InsertAsSnippet=4]="InsertAsSnippet"})(y||(e.CompletionItemInsertTextRule=y={}));var D;(function(R){R[R.Method=0]="Method",R[R.Function=1]="Function",R[R.Constructor=2]="Constructor",R[R.Field=3]="Field",R[R.Variable=4]="Variable",R[R.Class=5]="Class",R[R.Struct=6]="Struct",R[R.Interface=7]="Interface",R[R.Module=8]="Module",R[R.Property=9]="Property",R[R.Event=10]="Event",R[R.Operator=11]="Operator",R[R.Unit=12]="Unit",R[R.Value=13]="Value",R[R.Constant=14]="Constant",R[R.Enum=15]="Enum",R[R.EnumMember=16]="EnumMember",R[R.Keyword=17]="Keyword",R[R.Text=18]="Text",R[R.Color=19]="Color",R[R.File=20]="File",R[R.Reference=21]="Reference",R[R.Customcolor=22]="Customcolor",R[R.Folder=23]="Folder",R[R.TypeParameter=24]="TypeParameter",R[R.User=25]="User",R[R.Issue=26]="Issue",R[R.Snippet=27]="Snippet"})(D||(e.CompletionItemKind=D={}));var S;(function(R){R[R.Deprecated=1]="Deprecated"})(S||(e.CompletionItemTag=S={}));var f;(function(R){R[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(f||(e.CompletionTriggerKind=f={}));var _;(function(R){R[R.EXACT=0]="EXACT",R[R.ABOVE=1]="ABOVE",R[R.BELOW=2]="BELOW"})(_||(e.ContentWidgetPositionPreference=_={}));var g;(function(R){R[R.NotSet=0]="NotSet",R[R.ContentFlush=1]="ContentFlush",R[R.RecoverFromMarkers=2]="RecoverFromMarkers",R[R.Explicit=3]="Explicit",R[R.Paste=4]="Paste",R[R.Undo=5]="Undo",R[R.Redo=6]="Redo"})(g||(e.CursorChangeReason=g={}));var C;(function(R){R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(C||(e.DefaultEndOfLine=C={}));var s;(function(R){R[R.Text=0]="Text",R[R.Read=1]="Read",R[R.Write=2]="Write"})(s||(e.DocumentHighlightKind=s={}));var i;(function(R){R[R.None=0]="None",R[R.Keep=1]="Keep",R[R.Brackets=2]="Brackets",R[R.Advanced=3]="Advanced",R[R.Full=4]="Full"})(i||(e.EditorAutoIndentStrategy=i={}));var n;(function(R){R[R.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",R[R.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",R[R.accessibilitySupport=2]="accessibilitySupport",R[R.accessibilityPageSize=3]="accessibilityPageSize",R[R.ariaLabel=4]="ariaLabel",R[R.ariaRequired=5]="ariaRequired",R[R.autoClosingBrackets=6]="autoClosingBrackets",R[R.screenReaderAnnounceInlineSuggestion=7]="screenReaderAnnounceInlineSuggestion",R[R.autoClosingDelete=8]="autoClosingDelete",R[R.autoClosingOvertype=9]="autoClosingOvertype",R[R.autoClosingQuotes=10]="autoClosingQuotes",R[R.autoIndent=11]="autoIndent",R[R.automaticLayout=12]="automaticLayout",R[R.autoSurround=13]="autoSurround",R[R.bracketPairColorization=14]="bracketPairColorization",R[R.guides=15]="guides",R[R.codeLens=16]="codeLens",R[R.codeLensFontFamily=17]="codeLensFontFamily",R[R.codeLensFontSize=18]="codeLensFontSize",R[R.colorDecorators=19]="colorDecorators",R[R.colorDecoratorsLimit=20]="colorDecoratorsLimit",R[R.columnSelection=21]="columnSelection",R[R.comments=22]="comments",R[R.contextmenu=23]="contextmenu",R[R.copyWithSyntaxHighlighting=24]="copyWithSyntaxHighlighting",R[R.cursorBlinking=25]="cursorBlinking",R[R.cursorSmoothCaretAnimation=26]="cursorSmoothCaretAnimation",R[R.cursorStyle=27]="cursorStyle",R[R.cursorSurroundingLines=28]="cursorSurroundingLines",R[R.cursorSurroundingLinesStyle=29]="cursorSurroundingLinesStyle",R[R.cursorWidth=30]="cursorWidth",R[R.disableLayerHinting=31]="disableLayerHinting",R[R.disableMonospaceOptimizations=32]="disableMonospaceOptimizations",R[R.domReadOnly=33]="domReadOnly",R[R.dragAndDrop=34]="dragAndDrop",R[R.dropIntoEditor=35]="dropIntoEditor",R[R.emptySelectionClipboard=36]="emptySelectionClipboard",R[R.experimentalWhitespaceRendering=37]="experimentalWhitespaceRendering",R[R.extraEditorClassName=38]="extraEditorClassName",R[R.fastScrollSensitivity=39]="fastScrollSensitivity",R[R.find=40]="find",R[R.fixedOverflowWidgets=41]="fixedOverflowWidgets",R[R.folding=42]="folding",R[R.foldingStrategy=43]="foldingStrategy",R[R.foldingHighlight=44]="foldingHighlight",R[R.foldingImportsByDefault=45]="foldingImportsByDefault",R[R.foldingMaximumRegions=46]="foldingMaximumRegions",R[R.unfoldOnClickAfterEndOfLine=47]="unfoldOnClickAfterEndOfLine",R[R.fontFamily=48]="fontFamily",R[R.fontInfo=49]="fontInfo",R[R.fontLigatures=50]="fontLigatures",R[R.fontSize=51]="fontSize",R[R.fontWeight=52]="fontWeight",R[R.fontVariations=53]="fontVariations",R[R.formatOnPaste=54]="formatOnPaste",R[R.formatOnType=55]="formatOnType",R[R.glyphMargin=56]="glyphMargin",R[R.gotoLocation=57]="gotoLocation",R[R.hideCursorInOverviewRuler=58]="hideCursorInOverviewRuler",R[R.hover=59]="hover",R[R.inDiffEditor=60]="inDiffEditor",R[R.inlineSuggest=61]="inlineSuggest",R[R.letterSpacing=62]="letterSpacing",R[R.lightbulb=63]="lightbulb",R[R.lineDecorationsWidth=64]="lineDecorationsWidth",R[R.lineHeight=65]="lineHeight",R[R.lineNumbers=66]="lineNumbers",R[R.lineNumbersMinChars=67]="lineNumbersMinChars",R[R.linkedEditing=68]="linkedEditing",R[R.links=69]="links",R[R.matchBrackets=70]="matchBrackets",R[R.minimap=71]="minimap",R[R.mouseStyle=72]="mouseStyle",R[R.mouseWheelScrollSensitivity=73]="mouseWheelScrollSensitivity",R[R.mouseWheelZoom=74]="mouseWheelZoom",R[R.multiCursorMergeOverlapping=75]="multiCursorMergeOverlapping",R[R.multiCursorModifier=76]="multiCursorModifier",R[R.multiCursorPaste=77]="multiCursorPaste",R[R.multiCursorLimit=78]="multiCursorLimit",R[R.occurrencesHighlight=79]="occurrencesHighlight",R[R.overviewRulerBorder=80]="overviewRulerBorder",R[R.overviewRulerLanes=81]="overviewRulerLanes",R[R.padding=82]="padding",R[R.pasteAs=83]="pasteAs",R[R.parameterHints=84]="parameterHints",R[R.peekWidgetDefaultFocus=85]="peekWidgetDefaultFocus",R[R.definitionLinkOpensInPeek=86]="definitionLinkOpensInPeek",R[R.quickSuggestions=87]="quickSuggestions",R[R.quickSuggestionsDelay=88]="quickSuggestionsDelay",R[R.readOnly=89]="readOnly",R[R.readOnlyMessage=90]="readOnlyMessage",R[R.renameOnType=91]="renameOnType",R[R.renderControlCharacters=92]="renderControlCharacters",R[R.renderFinalNewline=93]="renderFinalNewline",R[R.renderLineHighlight=94]="renderLineHighlight",R[R.renderLineHighlightOnlyWhenFocus=95]="renderLineHighlightOnlyWhenFocus",R[R.renderValidationDecorations=96]="renderValidationDecorations",R[R.renderWhitespace=97]="renderWhitespace",R[R.revealHorizontalRightPadding=98]="revealHorizontalRightPadding",R[R.roundedSelection=99]="roundedSelection",R[R.rulers=100]="rulers",R[R.scrollbar=101]="scrollbar",R[R.scrollBeyondLastColumn=102]="scrollBeyondLastColumn",R[R.scrollBeyondLastLine=103]="scrollBeyondLastLine",R[R.scrollPredominantAxis=104]="scrollPredominantAxis",R[R.selectionClipboard=105]="selectionClipboard",R[R.selectionHighlight=106]="selectionHighlight",R[R.selectOnLineNumbers=107]="selectOnLineNumbers",R[R.showFoldingControls=108]="showFoldingControls",R[R.showUnused=109]="showUnused",R[R.snippetSuggestions=110]="snippetSuggestions",R[R.smartSelect=111]="smartSelect",R[R.smoothScrolling=112]="smoothScrolling",R[R.stickyScroll=113]="stickyScroll",R[R.stickyTabStops=114]="stickyTabStops",R[R.stopRenderingLineAfter=115]="stopRenderingLineAfter",R[R.suggest=116]="suggest",R[R.suggestFontSize=117]="suggestFontSize",R[R.suggestLineHeight=118]="suggestLineHeight",R[R.suggestOnTriggerCharacters=119]="suggestOnTriggerCharacters",R[R.suggestSelection=120]="suggestSelection",R[R.tabCompletion=121]="tabCompletion",R[R.tabIndex=122]="tabIndex",R[R.unicodeHighlighting=123]="unicodeHighlighting",R[R.unusualLineTerminators=124]="unusualLineTerminators",R[R.useShadowDOM=125]="useShadowDOM",R[R.useTabStops=126]="useTabStops",R[R.wordBreak=127]="wordBreak",R[R.wordSeparators=128]="wordSeparators",R[R.wordWrap=129]="wordWrap",R[R.wordWrapBreakAfterCharacters=130]="wordWrapBreakAfterCharacters",R[R.wordWrapBreakBeforeCharacters=131]="wordWrapBreakBeforeCharacters",R[R.wordWrapColumn=132]="wordWrapColumn",R[R.wordWrapOverride1=133]="wordWrapOverride1",R[R.wordWrapOverride2=134]="wordWrapOverride2",R[R.wrappingIndent=135]="wrappingIndent",R[R.wrappingStrategy=136]="wrappingStrategy",R[R.showDeprecated=137]="showDeprecated",R[R.inlayHints=138]="inlayHints",R[R.editorClassName=139]="editorClassName",R[R.pixelRatio=140]="pixelRatio",R[R.tabFocusMode=141]="tabFocusMode",R[R.layoutInfo=142]="layoutInfo",R[R.wrappingInfo=143]="wrappingInfo",R[R.defaultColorDecorators=144]="defaultColorDecorators",R[R.colorDecoratorsActivatedOn=145]="colorDecoratorsActivatedOn",R[R.inlineCompletionsAccessibilityVerbose=146]="inlineCompletionsAccessibilityVerbose"})(n||(e.EditorOption=n={}));var t;(function(R){R[R.TextDefined=0]="TextDefined",R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(t||(e.EndOfLinePreference=t={}));var a;(function(R){R[R.LF=0]="LF",R[R.CRLF=1]="CRLF"})(a||(e.EndOfLineSequence=a={}));var u;(function(R){R[R.Left=1]="Left",R[R.Right=2]="Right"})(u||(e.GlyphMarginLane=u={}));var h;(function(R){R[R.None=0]="None",R[R.Indent=1]="Indent",R[R.IndentOutdent=2]="IndentOutdent",R[R.Outdent=3]="Outdent"})(h||(e.IndentAction=h={}));var r;(function(R){R[R.Both=0]="Both",R[R.Right=1]="Right",R[R.Left=2]="Left",R[R.None=3]="None"})(r||(e.InjectedTextCursorStops=r={}));var c;(function(R){R[R.Type=1]="Type",R[R.Parameter=2]="Parameter"})(c||(e.InlayHintKind=c={}));var o;(function(R){R[R.Automatic=0]="Automatic",R[R.Explicit=1]="Explicit"})(o||(e.InlineCompletionTriggerKind=o={}));var d;(function(R){R[R.DependsOnKbLayout=-1]="DependsOnKbLayout",R[R.Unknown=0]="Unknown",R[R.Backspace=1]="Backspace",R[R.Tab=2]="Tab",R[R.Enter=3]="Enter",R[R.Shift=4]="Shift",R[R.Ctrl=5]="Ctrl",R[R.Alt=6]="Alt",R[R.PauseBreak=7]="PauseBreak",R[R.CapsLock=8]="CapsLock",R[R.Escape=9]="Escape",R[R.Space=10]="Space",R[R.PageUp=11]="PageUp",R[R.PageDown=12]="PageDown",R[R.End=13]="End",R[R.Home=14]="Home",R[R.LeftArrow=15]="LeftArrow",R[R.UpArrow=16]="UpArrow",R[R.RightArrow=17]="RightArrow",R[R.DownArrow=18]="DownArrow",R[R.Insert=19]="Insert",R[R.Delete=20]="Delete",R[R.Digit0=21]="Digit0",R[R.Digit1=22]="Digit1",R[R.Digit2=23]="Digit2",R[R.Digit3=24]="Digit3",R[R.Digit4=25]="Digit4",R[R.Digit5=26]="Digit5",R[R.Digit6=27]="Digit6",R[R.Digit7=28]="Digit7",R[R.Digit8=29]="Digit8",R[R.Digit9=30]="Digit9",R[R.KeyA=31]="KeyA",R[R.KeyB=32]="KeyB",R[R.KeyC=33]="KeyC",R[R.KeyD=34]="KeyD",R[R.KeyE=35]="KeyE",R[R.KeyF=36]="KeyF",R[R.KeyG=37]="KeyG",R[R.KeyH=38]="KeyH",R[R.KeyI=39]="KeyI",R[R.KeyJ=40]="KeyJ",R[R.KeyK=41]="KeyK",R[R.KeyL=42]="KeyL",R[R.KeyM=43]="KeyM",R[R.KeyN=44]="KeyN",R[R.KeyO=45]="KeyO",R[R.KeyP=46]="KeyP",R[R.KeyQ=47]="KeyQ",R[R.KeyR=48]="KeyR",R[R.KeyS=49]="KeyS",R[R.KeyT=50]="KeyT",R[R.KeyU=51]="KeyU",R[R.KeyV=52]="KeyV",R[R.KeyW=53]="KeyW",R[R.KeyX=54]="KeyX",R[R.KeyY=55]="KeyY",R[R.KeyZ=56]="KeyZ",R[R.Meta=57]="Meta",R[R.ContextMenu=58]="ContextMenu",R[R.F1=59]="F1",R[R.F2=60]="F2",R[R.F3=61]="F3",R[R.F4=62]="F4",R[R.F5=63]="F5",R[R.F6=64]="F6",R[R.F7=65]="F7",R[R.F8=66]="F8",R[R.F9=67]="F9",R[R.F10=68]="F10",R[R.F11=69]="F11",R[R.F12=70]="F12",R[R.F13=71]="F13",R[R.F14=72]="F14",R[R.F15=73]="F15",R[R.F16=74]="F16",R[R.F17=75]="F17",R[R.F18=76]="F18",R[R.F19=77]="F19",R[R.F20=78]="F20",R[R.F21=79]="F21",R[R.F22=80]="F22",R[R.F23=81]="F23",R[R.F24=82]="F24",R[R.NumLock=83]="NumLock",R[R.ScrollLock=84]="ScrollLock",R[R.Semicolon=85]="Semicolon",R[R.Equal=86]="Equal",R[R.Comma=87]="Comma",R[R.Minus=88]="Minus",R[R.Period=89]="Period",R[R.Slash=90]="Slash",R[R.Backquote=91]="Backquote",R[R.BracketLeft=92]="BracketLeft",R[R.Backslash=93]="Backslash",R[R.BracketRight=94]="BracketRight",R[R.Quote=95]="Quote",R[R.OEM_8=96]="OEM_8",R[R.IntlBackslash=97]="IntlBackslash",R[R.Numpad0=98]="Numpad0",R[R.Numpad1=99]="Numpad1",R[R.Numpad2=100]="Numpad2",R[R.Numpad3=101]="Numpad3",R[R.Numpad4=102]="Numpad4",R[R.Numpad5=103]="Numpad5",R[R.Numpad6=104]="Numpad6",R[R.Numpad7=105]="Numpad7",R[R.Numpad8=106]="Numpad8",R[R.Numpad9=107]="Numpad9",R[R.NumpadMultiply=108]="NumpadMultiply",R[R.NumpadAdd=109]="NumpadAdd",R[R.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",R[R.NumpadSubtract=111]="NumpadSubtract",R[R.NumpadDecimal=112]="NumpadDecimal",R[R.NumpadDivide=113]="NumpadDivide",R[R.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",R[R.ABNT_C1=115]="ABNT_C1",R[R.ABNT_C2=116]="ABNT_C2",R[R.AudioVolumeMute=117]="AudioVolumeMute",R[R.AudioVolumeUp=118]="AudioVolumeUp",R[R.AudioVolumeDown=119]="AudioVolumeDown",R[R.BrowserSearch=120]="BrowserSearch",R[R.BrowserHome=121]="BrowserHome",R[R.BrowserBack=122]="BrowserBack",R[R.BrowserForward=123]="BrowserForward",R[R.MediaTrackNext=124]="MediaTrackNext",R[R.MediaTrackPrevious=125]="MediaTrackPrevious",R[R.MediaStop=126]="MediaStop",R[R.MediaPlayPause=127]="MediaPlayPause",R[R.LaunchMediaPlayer=128]="LaunchMediaPlayer",R[R.LaunchMail=129]="LaunchMail",R[R.LaunchApp2=130]="LaunchApp2",R[R.Clear=131]="Clear",R[R.MAX_VALUE=132]="MAX_VALUE"})(d||(e.KeyCode=d={}));var l;(function(R){R[R.Hint=1]="Hint",R[R.Info=2]="Info",R[R.Warning=4]="Warning",R[R.Error=8]="Error"})(l||(e.MarkerSeverity=l={}));var p;(function(R){R[R.Unnecessary=1]="Unnecessary",R[R.Deprecated=2]="Deprecated"})(p||(e.MarkerTag=p={}));var m;(function(R){R[R.Inline=1]="Inline",R[R.Gutter=2]="Gutter"})(m||(e.MinimapPosition=m={}));var v;(function(R){R[R.UNKNOWN=0]="UNKNOWN",R[R.TEXTAREA=1]="TEXTAREA",R[R.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",R[R.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",R[R.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",R[R.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",R[R.CONTENT_TEXT=6]="CONTENT_TEXT",R[R.CONTENT_EMPTY=7]="CONTENT_EMPTY",R[R.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",R[R.CONTENT_WIDGET=9]="CONTENT_WIDGET",R[R.OVERVIEW_RULER=10]="OVERVIEW_RULER",R[R.SCROLLBAR=11]="SCROLLBAR",R[R.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",R[R.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(v||(e.MouseTargetType=v={}));var b;(function(R){R[R.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",R[R.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",R[R.TOP_CENTER=2]="TOP_CENTER"})(b||(e.OverlayWidgetPositionPreference=b={}));var w;(function(R){R[R.Left=1]="Left",R[R.Center=2]="Center",R[R.Right=4]="Right",R[R.Full=7]="Full"})(w||(e.OverviewRulerLane=w={}));var E;(function(R){R[R.Left=0]="Left",R[R.Right=1]="Right",R[R.None=2]="None",R[R.LeftOfInjectedText=3]="LeftOfInjectedText",R[R.RightOfInjectedText=4]="RightOfInjectedText"})(E||(e.PositionAffinity=E={}));var I;(function(R){R[R.Off=0]="Off",R[R.On=1]="On",R[R.Relative=2]="Relative",R[R.Interval=3]="Interval",R[R.Custom=4]="Custom"})(I||(e.RenderLineNumbersType=I={}));var M;(function(R){R[R.None=0]="None",R[R.Text=1]="Text",R[R.Blocks=2]="Blocks"})(M||(e.RenderMinimap=M={}));var P;(function(R){R[R.Smooth=0]="Smooth",R[R.Immediate=1]="Immediate"})(P||(e.ScrollType=P={}));var x;(function(R){R[R.Auto=1]="Auto",R[R.Hidden=2]="Hidden",R[R.Visible=3]="Visible"})(x||(e.ScrollbarVisibility=x={}));var T;(function(R){R[R.LTR=0]="LTR",R[R.RTL=1]="RTL"})(T||(e.SelectionDirection=T={}));var A;(function(R){R[R.Invoke=1]="Invoke",R[R.TriggerCharacter=2]="TriggerCharacter",R[R.ContentChange=3]="ContentChange"})(A||(e.SignatureHelpTriggerKind=A={}));var N;(function(R){R[R.File=0]="File",R[R.Module=1]="Module",R[R.Namespace=2]="Namespace",R[R.Package=3]="Package",R[R.Class=4]="Class",R[R.Method=5]="Method",R[R.Property=6]="Property",R[R.Field=7]="Field",R[R.Constructor=8]="Constructor",R[R.Enum=9]="Enum",R[R.Interface=10]="Interface",R[R.Function=11]="Function",R[R.Variable=12]="Variable",R[R.Constant=13]="Constant",R[R.String=14]="String",R[R.Number=15]="Number",R[R.Boolean=16]="Boolean",R[R.Array=17]="Array",R[R.Object=18]="Object",R[R.Key=19]="Key",R[R.Null=20]="Null",R[R.EnumMember=21]="EnumMember",R[R.Struct=22]="Struct",R[R.Event=23]="Event",R[R.Operator=24]="Operator",R[R.TypeParameter=25]="TypeParameter"})(N||(e.SymbolKind=N={}));var F;(function(R){R[R.Deprecated=1]="Deprecated"})(F||(e.SymbolTag=F={}));var O;(function(R){R[R.Hidden=0]="Hidden",R[R.Blink=1]="Blink",R[R.Smooth=2]="Smooth",R[R.Phase=3]="Phase",R[R.Expand=4]="Expand",R[R.Solid=5]="Solid"})(O||(e.TextEditorCursorBlinkingStyle=O={}));var W;(function(R){R[R.Line=1]="Line",R[R.Block=2]="Block",R[R.Underline=3]="Underline",R[R.LineThin=4]="LineThin",R[R.BlockOutline=5]="BlockOutline",R[R.UnderlineThin=6]="UnderlineThin"})(W||(e.TextEditorCursorStyle=W={}));var U;(function(R){R[R.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",R[R.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",R[R.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",R[R.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(U||(e.TrackedRangeStickiness=U={}));var j;(function(R){R[R.None=0]="None",R[R.Same=1]="Same",R[R.Indent=2]="Indent",R[R.DeepIndent=3]="DeepIndent"})(j||(e.WrappingIndent=j={}))}),define(ne[513],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairWithMinIndentationInfo=e.BracketPairInfo=e.BracketInfo=void 0;class L{constructor(S,f,_,g){this.range=S,this.nestingLevel=f,this.nestingLevelOfEqualBracketType=_,this.isInvalid=g}}e.BracketInfo=L;class k{constructor(S,f,_,g,C,s){this.range=S,this.openingBracketRange=f,this.closingBracketRange=_,this.nestingLevel=g,this.nestingLevelOfEqualBracketType=C,this.bracketPairNode=s}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}e.BracketPairInfo=k;class y extends k{constructor(S,f,_,g,C,s,i){super(S,f,_,g,C,s),this.minVisibleColumnIndentation=i}}e.BracketPairWithMinIndentationInfo=y}),define(ne[514],se([1,0,6,2,513,179,280,91,279,126,206,14,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTree=void 0;class n extends k.Disposable{didLanguageChange(o){return this.brackets.didLanguageChange(o)}constructor(o,d){if(super(),this.textModel=o,this.getLanguageConfiguration=d,this.didChangeEmitter=new L.Emitter,this.denseKeyProvider=new g.DenseKeyProvider,this.brackets=new S.LanguageAgnosticBracketTokens(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,this.queuedTextEditsForInitialAstWithoutTokens=[],this.queuedTextEdits=[],o.tokenization.hasTokens)o.tokenization.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens);else{const l=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),p=new C.FastTokenizer(this.textModel.getValue(),l);this.initialAstWithoutTokens=(0,_.parseDocument)(p,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}}handleDidChangeBackgroundTokenizationState(){if(this.textModel.tokenization.backgroundTokenizationState===2){const o=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,o||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:o}){const d=o.map(l=>new D.TextEditInfo((0,f.toLength)(l.fromLineNumber-1,0),(0,f.toLength)(l.toLineNumber,0),(0,f.toLength)(l.toLineNumber-l.fromLineNumber+1,0)));this.handleEdits(d,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(o){const d=D.TextEditInfo.fromModelContentChanges(o.changes);this.handleEdits(d,!1)}handleEdits(o,d){const l=(0,i.combineTextEditInfos)(this.queuedTextEdits,o);this.queuedTextEdits=l,this.initialAstWithoutTokens&&!d&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,i.combineTextEditInfos)(this.queuedTextEditsForInitialAstWithoutTokens,o))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(o,d,l){const m=d,v=new C.TextBufferTokenizer(this.textModel,this.brackets);return(0,_.parseDocument)(v,o,m,l)}getBracketsInRange(o,d){this.flushQueue();const l=(0,f.toLength)(o.startLineNumber-1,o.startColumn-1),p=(0,f.toLength)(o.endLineNumber-1,o.endColumn-1);return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens;u(v,f.lengthZero,v.length,l,p,m,0,0,new Map,d)})}getBracketPairsInRange(o,d){this.flushQueue();const l=(0,f.positionToLength)(o.getStartPosition()),p=(0,f.positionToLength)(o.getEndPosition());return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens,b=new h(m,d,this.textModel);r(v,f.lengthZero,v.length,l,p,b,0,new Map)})}getFirstBracketAfter(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return a(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}getFirstBracketBefore(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return t(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}}e.BracketPairsTree=n;function t(c,o,d,l){if(c.kind===4||c.kind===2){const p=[];for(const m of c.children)d=(0,f.lengthAdd)(o,m.length),p.push({nodeOffsetStart:o,nodeOffsetEnd:d}),o=d;for(let m=p.length-1;m>=0;m--){const{nodeOffsetStart:v,nodeOffsetEnd:b}=p[m];if((0,f.lengthLessThan)(v,l)){const w=t(c.children[m],v,b,l);if(w)return w}}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function a(c,o,d,l){if(c.kind===4||c.kind===2){for(const p of c.children){if(d=(0,f.lengthAdd)(o,p.length),(0,f.lengthLessThan)(l,d)){const m=a(p,o,d,l);if(m)return m}o=d}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function u(c,o,d,l,p,m,v,b,w,E,I=!1){if(v>200)return!0;e:for(;;)switch(c.kind){case 4:{const M=c.childrenLength;for(let P=0;P200)return!0;let E=!0;if(c.kind===2){let I=0;if(b){let x=b.get(c.openingBracket.text);x===void 0&&(x=0),I=x,x++,b.set(c.openingBracket.text,x)}const M=(0,f.lengthAdd)(o,c.openingBracket.length);let P=-1;if(m.includeMinIndentation&&(P=c.computeMinIndentation(o,m.textModel)),E=m.push(new y.BracketPairWithMinIndentationInfo((0,f.lengthsToRange)(o,d),(0,f.lengthsToRange)(o,M),c.closingBracket?(0,f.lengthsToRange)((0,f.lengthAdd)(M,((w=c.child)===null||w===void 0?void 0:w.length)||f.lengthZero),d):void 0,v,I,c,P)),o=M,E&&c.child){const x=c.child;if(d=(0,f.lengthAdd)(o,x.length),(0,f.lengthLessThanEqual)(o,p)&&(0,f.lengthGreaterThanEqual)(d,l)&&(E=r(x,o,d,l,p,m,v+1,b),!E))return!1}b?.set(c.openingBracket.text,I)}else{let I=o;for(const M of c.children){const P=I;if(I=(0,f.lengthAdd)(I,M.length),(0,f.lengthLessThanEqual)(P,p)&&(0,f.lengthLessThanEqual)(l,I)&&(E=r(M,P,I,l,p,m,v,b),!E))return!1}}return E}}),define(ne[111],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalModelContentChangeEvent=e.ModelInjectedTextChangedEvent=e.ModelRawContentChangedEvent=e.ModelRawEOLChanged=e.ModelRawLinesInserted=e.ModelRawLinesDeleted=e.ModelRawLineChanged=e.LineInjectedText=e.ModelRawFlush=void 0;class L{constructor(){this.changeType=1}}e.ModelRawFlush=L;class k{static applyInjectedText(i,n){if(!n||n.length===0)return i;let t="",a=0;for(const u of n)t+=i.substring(a,u.column-1),a=u.column-1,t+=u.options.content;return t+=i.substring(a),t}static fromDecorations(i){const n=[];for(const t of i)t.options.before&&t.options.before.content.length>0&&n.push(new k(t.ownerId,t.range.startLineNumber,t.range.startColumn,t.options.before,0)),t.options.after&&t.options.after.content.length>0&&n.push(new k(t.ownerId,t.range.endLineNumber,t.range.endColumn,t.options.after,1));return n.sort((t,a)=>t.lineNumber===a.lineNumber?t.column===a.column?t.order-a.order:t.column-a.column:t.lineNumber-a.lineNumber),n}constructor(i,n,t,a,u){this.ownerId=i,this.lineNumber=n,this.column=t,this.options=a,this.order=u}}e.LineInjectedText=k;class y{constructor(i,n,t){this.changeType=2,this.lineNumber=i,this.detail=n,this.injectedText=t}}e.ModelRawLineChanged=y;class D{constructor(i,n){this.changeType=3,this.fromLineNumber=i,this.toLineNumber=n}}e.ModelRawLinesDeleted=D;class S{constructor(i,n,t,a){this.changeType=4,this.injectedTexts=a,this.fromLineNumber=i,this.toLineNumber=n,this.detail=t}}e.ModelRawLinesInserted=S;class f{constructor(){this.changeType=5}}e.ModelRawEOLChanged=f;class _{constructor(i,n,t,a){this.changes=i,this.versionId=n,this.isUndoing=t,this.isRedoing=a,this.resultingSelection=null}containsEvent(i){for(let n=0,t=this.changes.length;nu)throw new g.BugIndicatingError("Illegal value for lineNumber");const h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide);let c=-2,o=-1,d=-2,l=-1;const p=N=>{if(c!==-1&&(c===-2||c>N-1)){c=-1,o=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){c=F,o=O;break}}}if(d===-2){d=-1,l=-1;for(let F=N;F=0){d=F,l=O;break}}}};let m=-2,v=-1,b=-2,w=-1;const E=N=>{if(m===-2){m=-1,v=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){m=F,v=O;break}}}if(b!==-1&&(b===-2||b=0){b=F,w=O;break}}}};let I=0,M=!0,P=0,x=!0,T=0,A=0;for(let N=0;M||x;N++){const F=n-N,O=n+N;N>1&&(F<1||F1&&(O>u||O>a)&&(x=!1),N>5e4&&(M=!1,x=!1);let W=-1;if(M&&F>=1){const j=this._computeIndentLevel(F-1);j>=0?(d=F-1,l=j,W=Math.ceil(j/this.textModel.getOptions().indentSize)):(p(F),W=this._getIndentLevelForWhitespaceLine(r,o,l))}let U=-1;if(x&&O<=u){const j=this._computeIndentLevel(O-1);j>=0?(m=O-1,v=j,U=Math.ceil(j/this.textModel.getOptions().indentSize)):(E(O),U=this._getIndentLevelForWhitespaceLine(r,v,w))}if(N===0){A=W;continue}if(N===1){if(O<=u&&U>=0&&A+1===U){M=!1,I=O,P=O,T=U;continue}if(F>=1&&W>=0&&W-1===A){x=!1,I=F,P=F,T=W;continue}if(I=n,P=n,T=A,T===0)return{startLineNumber:I,endLineNumber:P,indent:T}}M&&(W>=T?I=F:M=!1),x&&(U>=T?P=O:x=!1)}return{startLineNumber:I,endLineNumber:P,indent:T}}getLinesBracketGuides(n,t,a,u){var h;const r=[];for(let m=n;m<=t;m++)r.push([]);const c=!0,o=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new D.Range(n,1,t,this.textModel.getLineMaxColumn(t))).toArray();let d;if(a&&o.length>0){const m=(n<=a.lineNumber&&a.lineNumber<=t?o:this.textModel.bracketPairs.getBracketPairsInRange(D.Range.fromPositions(a)).toArray()).filter(v=>D.Range.strictContainsPosition(v.range,a));d=(h=(0,L.findLast)(m,v=>c||v.range.startLineNumber!==v.range.endLineNumber))===null||h===void 0?void 0:h.range}const l=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new s;for(const m of o){if(!m.closingBracketRange)continue;const v=d&&m.range.equalsRange(d);if(!v&&!u.includeInactive)continue;const b=p.getInlineClassName(m.nestingLevel,m.nestingLevelOfEqualBracketType,l)+(u.highlightActive&&v?" "+p.activeClassName:""),w=m.openingBracketRange.getStartPosition(),E=m.closingBracketRange.getStartPosition(),I=u.horizontalGuides===_.HorizontalGuidesState.Enabled||u.horizontalGuides===_.HorizontalGuidesState.EnabledForActive&&v;if(m.range.startLineNumber===m.range.endLineNumber){c&&I&&r[m.range.startLineNumber-n].push(new _.IndentGuide(-1,m.openingBracketRange.getEndPosition().column,b,new _.IndentGuideHorizontalLine(!1,E.column),-1,-1));continue}const M=this.getVisibleColumnFromPosition(E),P=this.getVisibleColumnFromPosition(m.openingBracketRange.getStartPosition()),x=Math.min(P,M,m.minVisibleColumnIndentation+1);let T=!1;k.firstNonWhitespaceIndex(this.textModel.getLineContent(m.closingBracketRange.startLineNumber))=n&&P>x&&r[w.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!1,w.column),-1,-1)),E.lineNumber<=t&&M>x&&r[E.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!T,E.column),-1,-1)))}for(const m of r)m.sort((v,b)=>v.visibleColumn-b.visibleColumn);return r}getVisibleColumnFromPosition(n){return y.CursorColumns.visibleColumnFromColumn(this.textModel.getLineContent(n.lineNumber),n.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(n,t){this.assertNotDisposed();const a=this.textModel.getLineCount();if(n<1||n>a)throw new Error("Illegal value for startLineNumber");if(t<1||t>a)throw new Error("Illegal value for endLineNumber");const u=this.textModel.getOptions(),h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide),c=new Array(t-n+1);let o=-2,d=-1,l=-2,p=-1;for(let m=n;m<=t;m++){const v=m-n,b=this._computeIndentLevel(m-1);if(b>=0){o=m-1,d=b,c[v]=Math.ceil(b/u.indentSize);continue}if(o===-2){o=-1,d=-1;for(let w=m-2;w>=0;w--){const E=this._computeIndentLevel(w);if(E>=0){o=w,d=E;break}}}if(l!==-1&&(l===-2||l=0){l=w,p=E;break}}}c[v]=this._getIndentLevelForWhitespaceLine(r,d,p)}return c}_getIndentLevelForWhitespaceLine(n,t,a){const u=this.textModel.getOptions();return t===-1||a===-1?0:t{this._tokenizationSupports.get(f)===_&&(this._tokenizationSupports.delete(f),this.handleChange([f]))})}get(f){return this._tokenizationSupports.get(f)||null}registerFactory(f,_){var g;(g=this._factories.get(f))===null||g===void 0||g.dispose();const C=new D(this,f,_);return this._factories.set(f,C),(0,k.toDisposable)(()=>{const s=this._factories.get(f);!s||s!==C||(this._factories.delete(f),s.dispose())})}getOrCreate(f){return we(this,void 0,void 0,function*(){const _=this.get(f);if(_)return _;const g=this._factories.get(f);return!g||g.isResolved?null:(yield g.resolve(),this.get(f))})}isResolved(f){if(this.get(f))return!0;const g=this._factories.get(f);return!!(!g||g.isResolved)}setColorMap(f){this._colorMap=f,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}e.TokenizationRegistry=y;class D extends k.Disposable{get isResolved(){return this._isResolved}constructor(f,_,g){super(),this._registry=f,this._languageId=_,this._factory=g,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return we(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return we(this,void 0,void 0,function*(){const f=yield this._factory.tokenizationSupport;this._isResolved=!0,f&&!this._isDisposed&&this._register(this._registry.register(this._languageId,f))})}}}),define(ne[516],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokens=void 0;class L{get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}constructor(y,D){this._startLineNumber=y,this._tokens=D}getLineTokens(y){return this._tokens[y-this._startLineNumber]}appendLineTokens(y){this._tokens.push(y)}}e.ContiguousMultilineTokens=L}),define(ne[288],se([1,0,516]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokensBuilder=void 0;class k{constructor(){this._tokens=[]}add(D,S){if(this._tokens.length>0){const f=this._tokens[this._tokens.length-1];if(f.endLineNumber+1===D){f.appendLineTokens(S);return}}this._tokens.push(new L.ContiguousMultilineTokens(D,[S]))}finalize(){return this._tokens}}e.ContiguousMultilineTokensBuilder=k}),define(ne[86],se([1,0,124]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineTokens=void 0;class k{static createEmpty(S,f){const _=k.defaultTokenMetadata,g=new Uint32Array(2);return g[0]=S.length,g[1]=_,new k(g,S,f)}constructor(S,f,_){this._lineTokensBrand=void 0,this._tokens=S,this._tokensCount=this._tokens.length>>>1,this._text=f,this._languageIdCodec=_}equals(S){return S instanceof k?this.slicedEquals(S,0,this._tokensCount):!1}slicedEquals(S,f,_){if(this._text!==S._text||this._tokensCount!==S._tokensCount)return!1;const g=f<<1,C=g+(_<<1);for(let s=g;s0?this._tokens[S-1<<1]:0}getMetadata(S){return this._tokens[(S<<1)+1]}getLanguageId(S){const f=this._tokens[(S<<1)+1],_=L.TokenMetadata.getLanguageId(f);return this._languageIdCodec.decodeLanguageId(_)}getStandardTokenType(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getTokenType(f)}getForeground(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getForeground(f)}getClassName(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getClassNameFromMetadata(f)}getInlineStyle(S,f){const _=this._tokens[(S<<1)+1];return L.TokenMetadata.getInlineStyleFromMetadata(_,f)}getPresentation(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getPresentationFromMetadata(f)}getEndOffset(S){return this._tokens[S<<1]}findTokenIndexAtOffset(S){return k.findIndexInTokensArray(this._tokens,S)}inflate(){return this}sliceAndInflate(S,f,_){return new y(this,S,f,_)}static convertToEndOffset(S,f){const g=(S.length>>>1)-1;for(let C=0;C>>1)-1;for(;_f&&(g=C)}return _}withInserted(S){if(S.length===0)return this;let f=0,_=0,g="";const C=new Array;let s=0;for(;;){const i=fs){g+=this._text.substring(s,n.offset);const t=this._tokens[(f<<1)+1];C.push(g.length,t),s=n.offset}g+=n.text,C.push(g.length,n.tokenMetadata),_++}else break}return new k(new Uint32Array(C),g,this._languageIdCodec)}}e.LineTokens=k,k.defaultTokenMetadata=(0<<11|1<<15|2<<24)>>>0;class y{constructor(S,f,_,g){this._source=S,this._startOffset=f,this._endOffset=_,this._deltaOffset=g,this._firstTokenIndex=S.findTokenIndexAtOffset(f),this._tokensCount=0;for(let C=this._firstTokenIndex,s=S.getCount();C=_);C++)this._tokensCount++}getMetadata(S){return this._source.getMetadata(this._firstTokenIndex+S)}getLanguageId(S){return this._source.getLanguageId(this._firstTokenIndex+S)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(S){return S instanceof y?this._startOffset===S._startOffset&&this._endOffset===S._endOffset&&this._deltaOffset===S._deltaOffset&&this._source.slicedEquals(S._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(S){return this._source.getForeground(this._firstTokenIndex+S)}getEndOffset(S){const f=this._source.getEndOffset(this._firstTokenIndex+S);return Math.min(this._endOffset,f)-this._startOffset+this._deltaOffset}getClassName(S){return this._source.getClassName(this._firstTokenIndex+S)}getInlineStyle(S,f){return this._source.getInlineStyle(this._firstTokenIndex+S,f)}getPresentation(S){return this._source.getPresentation(this._firstTokenIndex+S)}findTokenIndexAtOffset(S){return this._source.findTokenIndexAtOffset(S+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),define(ne[517],se([1,0,86]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toUint32Array=e.ContiguousTokensEditing=e.EMPTY_LINE_TOKENS=void 0,e.EMPTY_LINE_TOKENS=new Uint32Array(0).buffer;class k{static deleteBeginning(S,f){return S===null||S===e.EMPTY_LINE_TOKENS?S:k.delete(S,0,f)}static deleteEnding(S,f){if(S===null||S===e.EMPTY_LINE_TOKENS)return S;const _=y(S),g=_[_.length-2];return k.delete(S,f,g)}static delete(S,f,_){if(S===null||S===e.EMPTY_LINE_TOKENS||f===_)return S;const g=y(S),C=g.length>>>1;if(f===0&&g[g.length-2]===_)return e.EMPTY_LINE_TOKENS;const s=L.LineTokens.findIndexInTokensArray(g,f),i=s>0?g[s-1<<1]:0,n=g[s<<1];if(_a&&(g[t++]=c,g[t++]=g[(r<<1)+1],a=c)}if(t===g.length)return S;const h=new Uint32Array(t);return h.set(g.subarray(0,t),0),h.buffer}static append(S,f){if(f===e.EMPTY_LINE_TOKENS)return S;if(S===e.EMPTY_LINE_TOKENS)return f;if(S===null)return S;if(f===null)return null;const _=y(S),g=y(f),C=g.length>>>1,s=new Uint32Array(_.length+g.length);s.set(_,0);let i=_.length;const n=_[_.length-2];for(let t=0;t>>1;let s=L.LineTokens.findIndexInTokensArray(g,f);s>0&&g[s-1<<1]===f&&s--;for(let i=s;i0}getTokens(C,s,i){let n=null;if(s1&&(t=S.TokenMetadata.getLanguageId(n[1])!==C),!t)return y.EMPTY_LINE_TOKENS}if(!n||n.length===0){const t=new Uint32Array(2);return t[0]=s,t[1]=_(C),t.buffer}return n[n.length-2]=s,n.byteOffset===0&&n.byteLength===n.buffer.byteLength?n.buffer:n}_ensureLine(C){for(;C>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(C,s){s!==0&&(C+s>this._len&&(s=this._len-C),this._lineTokens.splice(C,s),this._len-=s)}_insertLines(C,s){if(s===0)return;const i=[];for(let n=0;n=this._len)return;if(C.startLineNumber===C.endLineNumber){if(C.startColumn===C.endColumn)return;this._lineTokens[s]=y.ContiguousTokensEditing.delete(this._lineTokens[s],C.startColumn-1,C.endColumn-1);return}this._lineTokens[s]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[s],C.startColumn-1);const i=C.endLineNumber-1;let n=null;i=this._len)){if(s===0){this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i);return}this._lineTokens[n]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[n],C.column-1),this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i),this._insertLines(C.lineNumber,s)}}setMultilineTokens(C,s){if(C.length===0)return{changes:[]};const i=[];for(let n=0,t=C.length;n>>0}}),define(ne[519],se([1,0,12,5,122]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SparseLineTokens=e.SparseMultilineTokens=void 0;class D{static create(g,C){return new D(g,new S(C))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(g,C){this._startLineNumber=g,this._tokens=C,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(g){return this._startLineNumber<=g&&g<=this._endLineNumber?this._tokens.getLineTokens(g-this._startLineNumber):null}getRange(){const g=this._tokens.getRange();return g&&new k.Range(this._startLineNumber+g.startLineNumber,g.startColumn,this._startLineNumber+g.endLineNumber,g.endColumn)}removeTokens(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(C,g.startColumn-1,s,g.endColumn-1),this._updateEndLineNumber()}split(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber,[i,n,t]=this._tokens.split(C,g.startColumn-1,s,g.endColumn-1);return[new D(this._startLineNumber,i),new D(this._startLineNumber+t,n)]}applyEdit(g,C){const[s,i,n]=(0,y.countEOL)(C);this.acceptEdit(g,s,i,n,C.length>0?C.charCodeAt(0):0)}acceptEdit(g,C,s,i,n){this._acceptDeleteRange(g),this._acceptInsertText(new L.Position(g.startLineNumber,g.startColumn),C,s,i,n),this._updateEndLineNumber()}_acceptDeleteRange(g){if(g.startLineNumber===g.endLineNumber&&g.startColumn===g.endColumn)return;const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;if(s<0){const n=s-C;this._startLineNumber-=n;return}const i=this._tokens.getMaxDeltaLine();if(!(C>=i+1)){if(C<0&&s>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(C<0){const n=-C;this._startLineNumber-=n,this._tokens.acceptDeleteRange(g.startColumn-1,0,0,s,g.endColumn-1)}else this._tokens.acceptDeleteRange(0,C,g.startColumn-1,s,g.endColumn-1)}}_acceptInsertText(g,C,s,i,n){if(C===0&&s===0)return;const t=g.lineNumber-this._startLineNumber;if(t<0){this._startLineNumber+=C;return}const a=this._tokens.getMaxDeltaLine();t>=a+1||this._tokens.acceptInsertText(t,g.column-1,C,s,i,n)}}e.SparseMultilineTokens=D;class S{constructor(g){this._tokens=g,this._tokenCount=g.length/4}toString(g){const C=[];for(let s=0;sg)s=i-1;else{let t=i;for(;t>C&&this._getDeltaLine(t-1)===g;)t--;let a=i;for(;ag||o===g&&l>=C)&&(og||l===g&&m>=C){if(ln?p-=n-s:p=s;else if(d===C&&l===s)if(d===i&&p>n)p-=n-s;else{r=!0;continue}else if(dn)d=C,l=s,p=l+(p-n);else{r=!0;continue}else if(d>i){if(u===0&&!r){h=a;break}d-=u}else if(d===i&&l>=n)g&&d===0&&(l+=g,p+=g),d-=u,l-=n-s,p-=n-s;else throw new Error("Not possible!");const v=4*h;t[v]=d,t[v+1]=l,t[v+2]=p,t[v+3]=m,h++}this._tokenCount=h}acceptInsertText(g,C,s,i,n,t){const a=s===0&&i===1&&(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122),u=this._tokens,h=this._tokenCount;for(let r=0;r0){const C=f[0].getRange(),s=f[f.length-1].getRange();if(!C||!s)return S;_=S.plusRange(C).plusRange(s)}let g=null;for(let C=0,s=this._pieces.length;C_.endLineNumber){g=g||{index:C};break}if(i.removeTokens(_),i.isEmpty()){this._pieces.splice(C,1),C--,s--;continue}if(i.endLineNumber<_.startLineNumber)continue;if(i.startLineNumber>_.endLineNumber){g=g||{index:C};continue}const[n,t]=i.split(_);if(n.isEmpty()){g=g||{index:C};continue}t.isEmpty()||(this._pieces.splice(C,1,n,t),C++,s++,g=g||{index:C})}return g=g||{index:this._pieces.length},f.length>0&&(this._pieces=L.arrayInsert(this._pieces,g.index,f)),_}isComplete(){return this._isComplete}addSparseTokens(S,f){if(f.getLineContent().length===0)return f;const _=this._pieces;if(_.length===0)return f;const g=y._findFirstPieceWithLine(_,S),C=_[g].getLineTokens(S);if(!C)return f;const s=f.getCount(),i=C.getCount();let n=0;const t=[];let a=0,u=0;const h=(r,c)=>{r!==u&&(u=r,t[a++]=r,t[a++]=c)};for(let r=0;r>>0,p=~l>>>0;for(;nf)g=C-1;else{for(;C>_&&S[C-1].startLineNumber<=f&&f<=S[C-1].endLineNumber;)C--;return C}}return _}acceptEdit(S,f,_,g,C){for(const s of this._pieces)s.acceptEdit(S,f,_,g,C)}}e.SparseTokensStore=y}),define(ne[150],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEventHandler=void 0;class k extends L.Disposable{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(D){return!1}onCompositionEnd(D){return!1}onConfigurationChanged(D){return!1}onCursorStateChanged(D){return!1}onDecorationsChanged(D){return!1}onFlushed(D){return!1}onFocusChanged(D){return!1}onLanguageConfigurationChanged(D){return!1}onLineMappingChanged(D){return!1}onLinesChanged(D){return!1}onLinesDeleted(D){return!1}onLinesInserted(D){return!1}onRevealRangeRequest(D){return!1}onScrollChanged(D){return!1}onThemeChanged(D){return!1}onTokensChanged(D){return!1}onTokensColorsChanged(D){return!1}onZonesChanged(D){return!1}handleEvents(D){let S=!1;for(let f=0,_=D.length;f<_;f++){const g=D[f];switch(g.type){case 0:this.onCompositionStart(g)&&(S=!0);break;case 1:this.onCompositionEnd(g)&&(S=!0);break;case 2:this.onConfigurationChanged(g)&&(S=!0);break;case 3:this.onCursorStateChanged(g)&&(S=!0);break;case 4:this.onDecorationsChanged(g)&&(S=!0);break;case 5:this.onFlushed(g)&&(S=!0);break;case 6:this.onFocusChanged(g)&&(S=!0);break;case 7:this.onLanguageConfigurationChanged(g)&&(S=!0);break;case 8:this.onLineMappingChanged(g)&&(S=!0);break;case 9:this.onLinesChanged(g)&&(S=!0);break;case 10:this.onLinesDeleted(g)&&(S=!0);break;case 11:this.onLinesInserted(g)&&(S=!0);break;case 12:this.onRevealRangeRequest(g)&&(S=!0);break;case 13:this.onScrollChanged(g)&&(S=!0);break;case 15:this.onTokensChanged(g)&&(S=!0);break;case 14:this.onThemeChanged(g)&&(S=!0);break;case 16:this.onTokensColorsChanged(g)&&(S=!0);break;case 17:this.onZonesChanged(g)&&(S=!0);break;default:console.info("View received unknown event: "),console.info(g)}}S&&(this._shouldRender=!0)}}e.ViewEventHandler=k}),define(ne[112],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicViewOverlay=void 0;class k extends L.ViewEventHandler{}e.DynamicViewOverlay=k}),define(ne[53],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartFingerprints=e.ViewPart=void 0;class k extends L.ViewEventHandler{constructor(S){super(),this._context=S,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}e.ViewPart=k;class y{static write(S,f){S.setAttribute("data-mprt",String(f))}static read(S){const f=S.getAttribute("data-mprt");return f===null?0:parseInt(f,10)}static collect(S,f){const _=[];let g=0;for(;S&&S!==document.body&&S!==f;)S.nodeType===S.ELEMENT_NODE&&(_[g++]=this.read(S)),S=S.parentElement;const C=new Uint8Array(g);for(let s=0;s{if(t.options.zIndexa.options.zIndex)return 1;const u=t.options.className,h=a.options.className;return uh?1:y.Range.compareRangesUsingStarts(t.range,a.range)});const s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber,n=[];for(let t=s;t<=i;t++){const a=t-s;n[a]=""}this._renderWholeLineDecorations(f,g,n),this._renderNormalDecorations(f,g,n),this._renderResult=n}_renderWholeLineDecorations(f,_,g){const C=String(this._lineHeight),s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber;for(let n=0,t=_.length;n',h=Math.max(a.range.startLineNumber,s),r=Math.min(a.range.endLineNumber,i);for(let c=h;c<=r;c++){const o=c-s;g[o]+=u}}}_renderNormalDecorations(f,_,g){var C;const s=String(this._lineHeight),i=f.visibleRange.startLineNumber;let n=null,t=!1,a=null,u=!1;for(let h=0,r=_.length;h';t[c]+=m}}}render(f,_){if(!this._renderResult)return"";const g=_-f;return g<0||g>=this._renderResult.length?"":this._renderResult[g]}}e.DecorationsOverlay=D}),define(ne[210],se([1,0,35,14,112,53,5,418]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphMarginWidgets=e.DedupOverlay=e.VisibleLineDecorationsToRender=e.LineDecorationToRender=e.DecorationToRender=void 0;class f{constructor(u,h,r,c){this._decorationToRenderBrand=void 0,this.startLineNumber=+u,this.endLineNumber=+h,this.className=String(r),this.zIndex=c??0}}e.DecorationToRender=f;class _{constructor(u,h){this.className=u,this.zIndex=h}}e.LineDecorationToRender=_;class g{constructor(){this.decorations=[]}add(u){this.decorations.push(u)}getDecorations(){return this.decorations}}e.VisibleLineDecorationsToRender=g;class C extends y.DynamicViewOverlay{_render(u,h,r){const c=[];for(let l=u;l<=h;l++){const p=l-u;c[p]=new g}if(r.length===0)return c;r.sort((l,p)=>l.className===p.className?l.startLineNumber===p.startLineNumber?l.endLineNumber-p.endLineNumber:l.startLineNumber-p.startLineNumber:l.classNamec)continue;const l=Math.max(d.startLineNumber,r),p=Math.min(o.preference.lane,this._glyphMarginDecorationLaneCount);h.push(new n(l,p,o.preference.zIndex,o))}}_collectSortedGlyphRenderRequests(u){const h=[];return this._collectDecorationBasedGlyphRenderRequest(u,h),this._collectWidgetBasedGlyphRenderRequest(u,h),h.sort((r,c)=>r.lineNumber===c.lineNumber?r.lane===c.lane?r.zIndex===c.zIndex?c.type===r.type?r.type===0&&c.type===0?r.className0;){const c=h.peek();if(!c)break;const o=h.takeWhile(l=>l.lineNumber===c.lineNumber&&l.lane===c.lane);if(!o||o.length===0)break;const d=o[0];if(d.type===0){const l=[];for(const p of o){if(p.zIndex!==d.zIndex||p.type!==d.type)break;(l.length===0||l[l.length-1]!==p.className)&&l.push(p.className)}r.push(d.accept(l.join(" ")))}else d.widget.renderInfo={lineNumber:d.lineNumber,lane:d.lane}}this._decorationGlyphsToRender=r}render(u){if(!this._glyphMargin){for(const r of Object.values(this._widgets))r.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){const r=this._managedDomNodes.pop();r?.domNode.remove()}return}const h=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(const r of Object.values(this._widgets))if(!r.renderInfo)r.domNode.setDisplay("none");else{const c=u.viewportData.relativeVerticalOffset[r.renderInfo.lineNumber-u.viewportData.startLineNumber],o=this._glyphMarginLeft+(r.renderInfo.lane-1)*this._lineHeight;r.domNode.setDisplay("block"),r.domNode.setTop(c),r.domNode.setLeft(o),r.domNode.setWidth(h),r.domNode.setHeight(this._lineHeight)}for(let r=0;rthis._decorationGlyphsToRender.length;){const r=this._managedDomNodes.pop();r?.domNode.remove()}}}e.GlyphMarginWidgets=s;class i{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.className=c,this.type=0}accept(u){return new t(this.lineNumber,this.lane,u)}}class n{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.widget=c,this.type=1}}class t{constructor(u,h,r){this.lineNumber=u,this.lane=h,this.combinedClassName=r}}}),define(ne[523],se([1,0,210,422]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesDecorationsOverlay=void 0;class k extends L.DedupOverlay{constructor(D){super(),this._context=D;const f=this._context.configuration.options.get(142);this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(D){const f=this._context.configuration.options.get(142);return this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,!0}onDecorationsChanged(D){return!0}onFlushed(D){return!0}onLinesChanged(D){return!0}onLinesDeleted(D){return!0}onLinesInserted(D){return!0}onScrollChanged(D){return D.scrollTopChanged}onZonesChanged(D){return!0}_getDecorations(D){const S=D.getDecorationsInViewport(),f=[];let _=0;for(let g=0,C=S.length;g',i=[];for(let n=S;n<=f;n++){const t=n-S,a=_[t].getDecorations();let u="";for(const h of a)u+='
    ';g[s]=n}this._renderResult=g}render(D,S){return this._renderResult?this._renderResult[S-D]:""}}e.MarginViewLineDecorationsOverlay=k}),define(ne[525],se([1,0,35,53,426]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewOverlayWidgets=void 0;class y extends k.ViewPart{constructor(S){super(S);const _=this._context.configuration.options.get(142);this._widgets={},this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),k.PartFingerprints.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(S){const _=this._context.configuration.options.get(142);return this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,!0}addWidget(S){const f=(0,L.createFastDomNode)(S.getDomNode());this._widgets[S.getId()]={widget:S,preference:null,domNode:f},f.setPosition("absolute"),f.setAttribute("widgetId",S.getId()),this._domNode.appendChild(f),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(S,f){const _=this._widgets[S.getId()];return _.preference===f?(this._updateMaxMinWidth(),!1):(_.preference=f,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(S){const f=S.getId();if(this._widgets.hasOwnProperty(f)){const g=this._widgets[f].domNode.domNode;delete this._widgets[f],g.parentNode.removeChild(g),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var S,f;let _=0;const g=Object.keys(this._widgets);for(let C=0,s=g.length;C0;){const i=(0,L.createFastDomNode)(document.createElement("div"));i.setClassName("view-ruler"),i.setWidth(C),this.domNode.appendChild(i),this._renderedRulers.push(i),s--}return}let _=S-f;for(;_>0;){const g=this._renderedRulers.pop();this.domNode.removeChild(g),_--}}render(S){this._ensureRulersCount();for(let f=0,_=this._rulers.length;f<_;f++){const g=this._renderedRulers[f],C=this._rulers[f];g.setBoxShadow(C.color?`1px 0 0 0 ${C.color} inset`:""),g.setHeight(Math.min(S.scrollHeight,1e6)),g.setLeft(C.column*this._typicalHalfwidthCharacterWidth)}}}e.Rulers=y}),define(ne[527],se([1,0,35,53,428]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollDecorationViewPart=void 0;class y extends k.ViewPart{constructor(S){super(S),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const _=this._context.configuration.options.get(101);this._useShadows=_.useShadows,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const S=this._useShadows&&this._scrollTop>0;return this._shouldShow!==S?(this._shouldShow=S,!0):!1}getDomNode(){return this._domNode}_updateWidth(){const f=this._context.configuration.options.get(142);f.minimap.renderMinimap===0||f.minimap.minimapWidth>0&&f.minimap.minimapLeft===0?this._width=f.width:this._width=f.width-f.verticalScrollbarWidth}onConfigurationChanged(S){const _=this._context.configuration.options.get(101);return this._useShadows=_.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(S){return this._scrollTop=S.scrollTop,this._updateShouldShow()}prepareRender(S){}render(S){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}e.ScrollDecorationViewPart=y}),define(ne[528],se([1,0,35,9,53,12]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZones=void 0;const S=()=>{throw new Error("Invalid change accessor")};class f extends y.ViewPart{constructor(C){super(C);const s=this._context.configuration.options,i=s.get(142);this._lineHeight=s.get(65),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,L.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,L.createFastDomNode)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const C=this._context.viewLayout.getWhitespaces(),s=new Map;for(const n of C)s.set(n.id,n);let i=!1;return this._context.viewModel.changeWhitespace(n=>{const t=Object.keys(this._zones);for(let a=0,u=t.length;a{const n={addZone:t=>(s=!0,this._addZone(i,t)),removeZone:t=>{t&&(s=this._removeZone(i,t)||s)},layoutZone:t=>{t&&(s=this._layoutZone(i,t)||s)}};_(C,n),n.addZone=S,n.removeZone=S,n.layoutZone=S}),s}_addZone(C,s){const i=this._computeWhitespaceProps(s),t={whitespaceId:C.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(s),i.heightInPx,i.minWidthInPx),delegate:s,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,L.createFastDomNode)(s.domNode),marginDomNode:s.marginDomNode?(0,L.createFastDomNode)(s.marginDomNode):null};return this._safeCallOnComputedHeight(t.delegate,i.heightInPx),t.domNode.setPosition("absolute"),t.domNode.domNode.style.width="100%",t.domNode.setDisplay("none"),t.domNode.setAttribute("monaco-view-zone",t.whitespaceId),this.domNode.appendChild(t.domNode),t.marginDomNode&&(t.marginDomNode.setPosition("absolute"),t.marginDomNode.domNode.style.width="100%",t.marginDomNode.setDisplay("none"),t.marginDomNode.setAttribute("monaco-view-zone",t.whitespaceId),this.marginDomNode.appendChild(t.marginDomNode)),this._zones[t.whitespaceId]=t,this.setShouldRender(),t.whitespaceId}_removeZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s];return delete this._zones[s],C.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,C.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(C){return this._zones.hasOwnProperty(C)?!!this._zones[C].delegate.suppressMouseDown:!1}_heightInPixels(C){return typeof C.heightInPx=="number"?C.heightInPx:typeof C.heightInLines=="number"?this._lineHeight*C.heightInLines:this._lineHeight}_minWidthInPixels(C){return typeof C.minWidthInPx=="number"?C.minWidthInPx:0}_safeCallOnComputedHeight(C,s){if(typeof C.onComputedHeight=="function")try{C.onComputedHeight(s)}catch(i){(0,k.onUnexpectedError)(i)}}_safeCallOnDomNodeTop(C,s){if(typeof C.onDomNodeTop=="function")try{C.onDomNodeTop(s)}catch(i){(0,k.onUnexpectedError)(i)}}prepareRender(C){}render(C){const s=C.viewportData.whitespaceViewportData,i={};let n=!1;for(const a of s)this._zones[a.id].isInHiddenArea||(i[a.id]=a,n=!0);const t=Object.keys(this._zones);for(let a=0,u=t.length;a=i||(t[a++]=new k(Math.max(1,u.startColumn-s+1),Math.min(n+1,u.endColumn-s+1),u.className,u.type));return t}static filter(_,g,C,s){if(_.length===0)return[];const i=[];let n=0;for(let t=0,a=_.length;tg||h.isEmpty()&&(u.type===0||u.type===3))continue;const r=h.startLineNumber===g?h.startColumn:C,c=h.endLineNumber===g?h.endColumn:s;i[n++]=new k(r,c,u.inlineClassName,u.type)}return i}static _typeCompare(_,g){const C=[2,0,1,3];return C[_]-C[g]}static compare(_,g){if(_.startColumn!==g.startColumn)return _.startColumn-g.startColumn;if(_.endColumn!==g.endColumn)return _.endColumn-g.endColumn;const C=k._typeCompare(_.type,g.type);return C!==0?C:_.className!==g.className?_.className0&&this.stopOffsets[0]<_;){let s=0;for(;s+10&&g<_&&(C.push(new y(g,_-1,this.classNames.join(" "),D._metadata(this.metadata))),g=_),g}insert(_,g,C){if(this.count===0||this.stopOffsets[this.count-1]<=_)this.stopOffsets.push(_),this.classNames.push(g),this.metadata.push(C);else for(let s=0;s=_){this.stopOffsets.splice(s,0,_),this.classNames.splice(s,0,g),this.metadata.splice(s,0,C);break}this.count++}}class S{static normalize(_,g){if(g.length===0)return[];const C=[],s=new D;let i=0;for(let n=0,t=g.length;n1){const l=_.charCodeAt(u-2);L.isHighSurrogate(l)&&u--}if(h>1){const l=_.charCodeAt(h-2);L.isHighSurrogate(l)&&h--}const o=u-1,d=h-2;i=s.consumeLowerThan(o,i,C),s.count===0&&(i=o),s.insert(d,r,c)}return s.consumeLowerThan(1073741824,i,C),C}}e.LineDecorationsNormalizer=S}),define(ne[529],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinePart=void 0;class L{constructor(y,D,S,f){this.endIndex=y,this.type=D,this.metadata=S,this.containsRTL=f,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}e.LinePart=L}),define(ne[530],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesLayout=e.EditorWhitespace=void 0;class k{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(f){this._hasPending=!0,this._inserts.push(f)}change(f){this._hasPending=!0,this._changes.push(f)}remove(f){this._hasPending=!0,this._removes.push(f)}mustCommit(){return this._hasPending}commit(f){if(!this._hasPending)return;const _=this._inserts,g=this._changes,C=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],f._commitPendingChanges(_,g,C)}}class y{constructor(f,_,g,C,s){this.id=f,this.afterLineNumber=_,this.ordinal=g,this.height=C,this.minWidth=s,this.prefixSum=0}}e.EditorWhitespace=y;class D{constructor(f,_,g,C){this._instanceId=L.singleLetterHash(++D.INSTANCE_COUNT),this._pendingChanges=new k,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=f,this._lineHeight=_,this._paddingTop=g,this._paddingBottom=C}static findInsertionIndex(f,_,g){let C=0,s=f.length;for(;C>>1;_===f[i].afterLineNumber?g{_=!0,C=C|0,s=s|0,i=i|0,n=n|0;const t=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new y(t,C,s,i,n)),t},changeOneWhitespace:(C,s,i)=>{_=!0,s=s|0,i=i|0,this._pendingChanges.change({id:C,newAfterLineNumber:s,newHeight:i})},removeWhitespace:C=>{_=!0,this._pendingChanges.remove({id:C})}})}finally{this._pendingChanges.commit(this)}return _}_commitPendingChanges(f,_,g){if((f.length>0||g.length>0)&&(this._minWidth=-1),f.length+_.length+g.length<=1){for(const t of f)this._insertWhitespace(t);for(const t of _)this._changeOneWhitespace(t.id,t.newAfterLineNumber,t.newHeight);for(const t of g){const a=this._findWhitespaceIndex(t.id);a!==-1&&this._removeWhitespace(a)}return}const C=new Set;for(const t of g)C.add(t.id);const s=new Map;for(const t of _)s.set(t.id,t);const i=t=>{const a=[];for(const u of t)if(!C.has(u.id)){if(s.has(u.id)){const h=s.get(u.id);u.afterLineNumber=h.newAfterLineNumber,u.height=h.newHeight}a.push(u)}return a},n=i(this._arr).concat(i(f));n.sort((t,a)=>t.afterLineNumber===a.afterLineNumber?t.ordinal-a.ordinal:t.afterLineNumber-a.afterLineNumber),this._arr=n,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(f){const _=D.findInsertionIndex(this._arr,f.afterLineNumber,f.ordinal);this._arr.splice(_,0,f),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,_-1)}_findWhitespaceIndex(f){const _=this._arr;for(let g=0,C=_.length;g_&&(this._arr[g].afterLineNumber-=_-f+1)}}onLinesInserted(f,_){this._checkPendingChanges(),f=f|0,_=_|0,this._lineCount+=_-f+1;for(let g=0,C=this._arr.length;g=_.length||_[n+1].afterLineNumber>=f)return n;g=n+1|0}else C=n-1|0}return-1}_findFirstWhitespaceAfterLineNumber(f){f=f|0;const g=this._findLastWhitespaceBeforeLineNumber(f)+1;return g1?g=this._lineHeight*(f-1):g=0;const C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f-(_?1:0));return g+C+this._paddingTop}getVerticalOffsetAfterLineNumber(f,_=!1){this._checkPendingChanges(),f=f|0;const g=this._lineHeight*f,C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f+(_?1:0));return g+C+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let f=0;for(let _=0,g=this._arr.length;__}isInTopPadding(f){return this._paddingTop===0?!1:(this._checkPendingChanges(),f=_-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(f){if(this._checkPendingChanges(),f=f|0,f<0)return 1;const _=this._lineCount|0,g=this._lineHeight;let C=1,s=_;for(;C=n+g)C=i+1;else{if(f>=n)return i;s=i}}return C>_?_:C}getLinesViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this._lineHeight,C=this.getLineNumberAtOrAfterVerticalOffset(f)|0,s=this.getVerticalOffsetForLineNumber(C)|0;let i=this._lineCount|0,n=this.getFirstWhitespaceIndexAfterLineNumber(C)|0;const t=this.getWhitespacesCount()|0;let a,u;n===-1?(n=t,u=i+1,a=0):(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);let h=s,r=h;const c=5e5;let o=0;s>=c&&(o=Math.floor(s/c)*c,o=Math.floor(o/g)*g,r-=o);const d=[],l=f+(_-f)/2;let p=-1;for(let w=C;w<=i;w++){if(p===-1){const E=h,I=h+g;(E<=l&&ll)&&(p=w)}for(h+=g,d[w-C]=r,r+=g;u===w;)r+=a,h+=a,n++,n>=t?u=i+1:(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);if(h>=_){i=w;break}}p===-1&&(p=i);const m=this.getVerticalOffsetForLineNumber(i)|0;let v=C,b=i;return v_&&b--,{bigNumbersDelta:o,startLineNumber:C,endLineNumber:i,relativeVerticalOffset:d,centeredLineNumber:p,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:b}}getVerticalOffsetForWhitespaceIndex(f){this._checkPendingChanges(),f=f|0;const _=this.getAfterLineNumberForWhitespaceIndex(f);let g;_>=1?g=this._lineHeight*_:g=0;let C;return f>0?C=this.getWhitespacesAccumulatedHeight(f-1):C=0,g+C+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(f){this._checkPendingChanges(),f=f|0;let _=0,g=this.getWhitespacesCount()-1;if(g<0)return-1;const C=this.getVerticalOffsetForWhitespaceIndex(g),s=this.getHeightForWhitespaceIndex(g);if(f>=C+s)return-1;for(;_=n+t)_=i+1;else{if(f>=n)return i;g=i}}return _}getWhitespaceAtVerticalOffset(f){this._checkPendingChanges(),f=f|0;const _=this.getWhitespaceIndexAtOrAfterVerticallOffset(f);if(_<0||_>=this.getWhitespacesCount())return null;const g=this.getVerticalOffsetForWhitespaceIndex(_);if(g>f)return null;const C=this.getHeightForWhitespaceIndex(_),s=this.getIdForWhitespaceIndex(_),i=this.getAfterLineNumberForWhitespaceIndex(_);return{id:s,afterLineNumber:i,verticalOffset:g,height:C}}getWhitespaceViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this.getWhitespaceIndexAtOrAfterVerticallOffset(f),C=this.getWhitespacesCount()-1;if(g<0)return[];const s=[];for(let i=g;i<=C;i++){const n=this.getVerticalOffsetForWhitespaceIndex(i),t=this.getHeightForWhitespaceIndex(i);if(n>=_)break;s.push({id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:n,height:t})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].id}getAfterLineNumberForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].afterLineNumber}getHeightForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].height}}e.LinesLayout=D,D.INSTANCE_COUNT=0}),define(ne[531],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportData=void 0;class k{constructor(D,S,f,_){this.selections=D,this.startLineNumber=S.startLineNumber|0,this.endLineNumber=S.endLineNumber|0,this.relativeVerticalOffset=S.relativeVerticalOffset,this.bigNumbersDelta=S.bigNumbersDelta|0,this.whitespaceViewportData=f,this._model=_,this.visibleRange=new L.Range(S.startLineNumber,this._model.getLineMinColumn(S.startLineNumber),S.endLineNumber,this._model.getLineMaxColumn(S.endLineNumber))}getViewLineRenderingData(D){return this._model.getViewportViewLineRenderingData(this.visibleRange,D)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}e.ViewportData=k}),define(ne[67],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerDecorationsGroup=e.ViewModelDecoration=e.SingleLineInlineDecoration=e.InlineDecoration=e.ViewLineRenderingData=e.ViewLineData=e.MinimapLinesRenderingData=e.Viewport=void 0;class y{constructor(n,t,a,u){this._viewportBrand=void 0,this.top=n|0,this.left=t|0,this.width=a|0,this.height=u|0}}e.Viewport=y;class D{constructor(n,t){this.tabSize=n,this.data=t}}e.MinimapLinesRenderingData=D;class S{constructor(n,t,a,u,h,r,c){this._viewLineDataBrand=void 0,this.content=n,this.continuesWithWrappedLine=t,this.minColumn=a,this.maxColumn=u,this.startVisibleColumn=h,this.tokens=r,this.inlineDecorations=c}}e.ViewLineData=S;class f{constructor(n,t,a,u,h,r,c,o,d,l){this.minColumn=n,this.maxColumn=t,this.content=a,this.continuesWithWrappedLine=u,this.isBasicASCII=f.isBasicASCII(a,r),this.containsRTL=f.containsRTL(a,this.isBasicASCII,h),this.tokens=c,this.inlineDecorations=o,this.tabSize=d,this.startVisibleColumn=l}static isBasicASCII(n,t){return t?L.isBasicASCII(n):!0}static containsRTL(n,t,a){return!t&&a?L.containsRTL(n):!1}}e.ViewLineRenderingData=f;class _{constructor(n,t,a){this.range=n,this.inlineClassName=t,this.type=a}}e.InlineDecoration=_;class g{constructor(n,t,a,u){this.startOffset=n,this.endOffset=t,this.inlineClassName=a,this.inlineClassNameAffectsLetterSpacing=u}toInlineDecoration(n){return new _(new k.Range(n,this.startOffset+1,n,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}e.SingleLineInlineDecoration=g;class C{constructor(n,t){this._viewModelDecorationBrand=void 0,this.range=n,this.options=t}}e.ViewModelDecoration=C;class s{constructor(n,t,a){this.color=n,this.zIndex=t,this.data=a}static cmp(n,t){return n.zIndex===t.zIndex?n.colort.color?1:0:n.zIndex-t.zIndex}}e.OverviewRulerDecorationsGroup=s}),define(ne[532],se([1,0,86,12,111,67]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createModelLineProjection=void 0;function S(n,t){return n===null?t?_.INSTANCE:g.INSTANCE:new f(n,t)}e.createModelLineProjection=S;class f{constructor(t,a){this._projectionData=t,this._isVisible=a}isVisible(){return this._isVisible}setVisible(t){return this._isVisible=t,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(t,a,u){this._assertVisible();const h=u>0?this._projectionData.breakOffsets[u-1]:0,r=this._projectionData.breakOffsets[u];let c;if(this._projectionData.injectionOffsets!==null){const o=this._projectionData.injectionOffsets.map((l,p)=>new y.LineInjectedText(0,0,l+1,this._projectionData.injectionOptions[p],0));c=y.LineInjectedText.applyInjectedText(t.getLineContent(a),o).substring(h,r)}else c=t.getValueInRange({startLineNumber:a,startColumn:h+1,endLineNumber:a,endColumn:r+1});return u>0&&(c=s(this._projectionData.wrappedTextIndentLength)+c),c}getViewLineLength(t,a,u){return this._assertVisible(),this._projectionData.getLineLength(u)}getViewLineMinColumn(t,a,u){return this._assertVisible(),this._projectionData.getMinOutputOffset(u)+1}getViewLineMaxColumn(t,a,u){return this._assertVisible(),this._projectionData.getMaxOutputOffset(u)+1}getViewLineData(t,a,u){const h=new Array;return this.getViewLinesData(t,a,u,1,0,[!0],h),h[0]}getViewLinesData(t,a,u,h,r,c,o){this._assertVisible();const d=this._projectionData,l=d.injectionOffsets,p=d.injectionOptions;let m=null;if(l){m=[];let b=0,w=0;for(let E=0;E0?d.breakOffsets[E-1]:0,P=d.breakOffsets[E];for(;wP)break;if(M0?d.wrappedTextIndentLength:0,O=F+Math.max(T-M,0),W=F+Math.min(A-M,P-M);O!==W&&I.push(new D.SingleLineInlineDecoration(O,W,N.inlineClassName,N.inlineClassNameAffectsLetterSpacing))}}if(A<=P)b+=x,w++;else break}}}let v;l?v=t.tokenization.getLineTokens(a).withInserted(l.map((b,w)=>({offset:b,text:p[w].content,tokenMetadata:L.LineTokens.defaultTokenMetadata}))):v=t.tokenization.getLineTokens(a);for(let b=u;b0?h.wrappedTextIndentLength:0,c=u>0?h.breakOffsets[u-1]:0,o=h.breakOffsets[u],d=t.sliceAndInflate(c,o,r);let l=d.getLineContent();u>0&&(l=s(h.wrappedTextIndentLength)+l);const p=this._projectionData.getMinOutputOffset(u)+1,m=l.length+1,v=u+1=C.length)for(let t=1;t<=n;t++)C[t]=i(t);return C[n]}function i(n){return new Array(n+1).join(" ")}}),define(ne[533],se([1,0,11,121,111,284]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MonospaceLineBreaksComputerFactory=void 0;class S{static create(h){return new S(h.get(131),h.get(130))}constructor(h,r){this.classifier=new f(h,r)}createLineBreaksComputer(h,r,c,o,d){const l=[],p=[],m=[];return{addRequest:(v,b,w)=>{l.push(v),p.push(b),m.push(w)},finalize:()=>{const v=h.typicalFullwidthCharacterWidth/h.typicalHalfwidthCharacterWidth,b=[];for(let w=0,E=l.length;w=0&&h<256?this._asciiMap[h]:h>=12352&&h<=12543||h>=13312&&h<=19903||h>=19968&&h<=40959?3:this._map.get(h)||this._defaultValue}}let _=[],g=[];function C(u,h,r,c,o,d,l,p){if(o===-1)return null;const m=r.length;if(m<=1)return null;const v=p==="keepAll",b=h.breakOffsets,w=h.breakOffsetsVisibleColumn,E=a(r,c,o,d,l),I=o-E,M=_,P=g;let x=0,T=0,A=0,N=o;const F=b.length;let O=0;if(O>=0){let W=Math.abs(w[O]-N);for(;O+1=W)break;W=U,O++}}for(;OW&&(W=T,U=A);let j=0,R=0,K=0,G=0;if(U<=N){let J=U,X=W===0?0:r.charCodeAt(W-1),H=W===0?0:u.get(X),B=!0;for(let V=W;VT&&t(X,H,ie,ae,v)&&(j=Y,R=J),J+=ce,J>N){Y>T?(K=Y,G=J-ce):(K=V+1,G=J),J-R>I&&(j=0),B=!1;break}X=ie,H=ae}if(B){x>0&&(M[x]=b[b.length-1],P[x]=w[b.length-1],x++);break}}if(j===0){let J=U,X=r.charCodeAt(W),H=u.get(X),B=!1;for(let V=W-1;V>=T;V--){const Y=V+1,ie=r.charCodeAt(V);if(ie===9){B=!0;break}let ae,ce;if(L.isLowSurrogate(ie)?(V--,ae=0,ce=2):(ae=u.get(ie),ce=L.isFullWidthCharacter(ie)?d:1),J<=N){if(K===0&&(K=Y,G=J),J<=N-I)break;if(t(ie,ae,X,H,v)){j=Y,R=J;break}}J-=ce,X=ie,H=ae}if(j!==0){const V=I-(G-R);if(V<=c){const Y=r.charCodeAt(K);let ie;L.isHighSurrogate(Y)?ie=2:ie=i(Y,G,c,d),V-ie<0&&(j=0)}}if(B){O--;continue}}if(j===0&&(j=K,R=G),j<=T){const J=r.charCodeAt(T);L.isHighSurrogate(J)?(j=T+2,R=A+2):(j=T+1,R=A+i(J,A,c,d))}for(T=j,M[x]=j,A=R,P[x]=R,x++,N=R+I;O<0||O=Z)break;Z=J,O++}}return x===0?null:(M.length=x,P.length=x,_=h.breakOffsets,g=h.breakOffsetsVisibleColumn,h.breakOffsets=M,h.breakOffsetsVisibleColumn=P,h.wrappedTextIndentLength=E,h)}function s(u,h,r,c,o,d,l,p){const m=y.LineInjectedText.applyInjectedText(h,r);let v,b;if(r&&r.length>0?(v=r.map(R=>R.options),b=r.map(R=>R.column-1)):(v=null,b=null),o===-1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const w=m.length;if(w<=1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const E=p==="keepAll",I=a(m,c,o,d,l),M=o-I,P=[],x=[];let T=0,A=0,N=0,F=o,O=m.charCodeAt(0),W=u.get(O),U=i(O,0,c,d),j=1;L.isHighSurrogate(O)&&(U+=1,O=m.charCodeAt(1),W=u.get(O),j++);for(let R=j;RF&&((A===0||U-N>M)&&(A=K,N=U-J),P[T]=A,x[T]=N,T++,F=N+M,A=0),O=G,W=Z}return T===0&&(!r||r.length===0)?null:(P[T]=w,x[T]=U,new D.ModelLineProjectionData(b,v,P,x,I))}function i(u,h,r,c){return u===9?r-h%r:L.isFullWidthCharacter(u)||u<32?c:1}function n(u,h){return h-u%h}function t(u,h,r,c,o){return r!==32&&(h===2&&c!==2||h!==1&&c===1||!o&&h===3&&c!==2||!o&&c===3&&h!==1)}function a(u,h,r,c,o){let d=0;if(o!==0){const l=L.firstNonWhitespaceIndex(u);if(l!==-1){for(let m=0;mr&&(d=0)}}return d}}),define(ne[212],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewZoneManager=e.OverviewRulerZone=e.ColorZone=void 0;class L{constructor(S,f,_){this._colorZoneBrand=void 0,this.from=S|0,this.to=f|0,this.colorId=_|0}static compare(S,f){return S.colorId===f.colorId?S.from===f.from?S.to-f.to:S.from-f.from:S.colorId-f.colorId}}e.ColorZone=L;class k{constructor(S,f,_,g){this._overviewRulerZoneBrand=void 0,this.startLineNumber=S,this.endLineNumber=f,this.heightInLines=_,this.color=g,this._colorZone=null}static compare(S,f){return S.color===f.color?S.startLineNumber===f.startLineNumber?S.heightInLines===f.heightInLines?S.endLineNumber-f.endLineNumber:S.heightInLines-f.heightInLines:S.startLineNumber-f.startLineNumber:S.color_&&(o=_-d);const l=a.color;let p=this._color2Id[l];p||(p=++this._lastAssignedId,this._color2Id[l]=p,this._id2Color[p]=l);const m=new L(o-d,o+d,p);a.setColorZone(m),i.push(m)}return this._colorZonesInvalid=!1,i.sort(L.compare),i}}e.OverviewZoneManager=y}),define(ne[534],se([1,0,35,212,150]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRuler=void 0;class D extends y.ViewEventHandler{constructor(f,_){super(),this._context=f;const g=this._context.configuration.options;this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName(_),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new k.OverviewZoneManager(C=>this._context.viewLayout.getVerticalOffsetForLineNumber(C)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(g.get(65)),this._zoneManager.setPixelRatio(g.get(140)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(f){const _=this._context.configuration.options;return f.hasChanged(65)&&(this._zoneManager.setLineHeight(_.get(65)),this._render()),f.hasChanged(140)&&(this._zoneManager.setPixelRatio(_.get(140)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(f){return this._render(),!0}onScrollChanged(f){return f.scrollHeightChanged&&(this._zoneManager.setOuterHeight(f.scrollHeight),this._render()),!0}onZonesChanged(f){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(f){this._domNode.setTop(f.top),this._domNode.setRight(f.right);let _=!1;_=this._zoneManager.setDOMWidth(f.width)||_,_=this._zoneManager.setDOMHeight(f.height)||_,_&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(f){this._zoneManager.setZones(f),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;const f=this._zoneManager.getCanvasWidth(),_=this._zoneManager.getCanvasHeight(),g=this._zoneManager.resolveColorZones(),C=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,f,_),g.length>0&&this._renderOneLane(s,g,C,f),!0}_renderOneLane(f,_,g,C){let s=0,i=0,n=0;for(const t of _){const a=t.colorId,u=t.from,h=t.to;a!==s?(f.fillRect(0,i,C,n-i),s=a,f.fillStyle=g[s],i=u,n=h):n>=u?n=Math.max(n,h):(f.fillRect(0,i,C,n-i),i=u,n=h)}f.fillRect(0,i,C,n-i)}}e.OverviewRuler=D}),define(ne[535],se([1,0,493]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContext=void 0;class k{constructor(D,S,f){this.configuration=D,this.theme=new L.EditorTheme(S),this.viewModel=f,this.viewLayout=f.viewLayout}addEventHandler(D){this.viewModel.addViewEventHandler(D)}removeEventHandler(D){this.viewModel.removeViewEventHandler(D)}}e.ViewContext=k}),define(ne[213],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ModelTokensChangedEvent=e.ModelOptionsChangedEvent=e.ModelContentChangedEvent=e.ModelLanguageConfigurationChangedEvent=e.ModelLanguageChangedEvent=e.ModelDecorationsChangedEvent=e.ReadOnlyEditAttemptEvent=e.CursorStateChangedEvent=e.HiddenAreasChangedEvent=e.ViewZonesChangedEvent=e.ScrollChangedEvent=e.FocusChangedEvent=e.ContentSizeChangedEvent=e.ViewModelEventsCollector=e.ViewModelEventDispatcher=void 0;class y extends k.Disposable{constructor(){super(),this._onEvent=this._register(new L.Emitter),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(o){this._addOutgoingEvent(o),this._emitOutgoingEvents()}_addOutgoingEvent(o){for(let d=0,l=this._outgoingEvents.length;d0;){if(this._collector||this._isConsumingViewEventQueue)return;const o=this._outgoingEvents.shift();o.isNoOp()||this._onEvent.fire(o)}}addViewEventHandler(o){for(let d=0,l=this._eventHandlers.length;d0&&this._emitMany(d)}this._emitOutgoingEvents()}emitSingleViewEvent(o){try{this.beginEmitViewEvents().emitViewEvent(o)}finally{this.endEmitViewEvents()}}_emitMany(o){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(o):this._viewEventQueue=o,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const o=this._viewEventQueue;this._viewEventQueue=null;const d=this._eventHandlers.slice(0);for(const l of d)l.handleEvents(o)}}}e.ViewModelEventDispatcher=y;class D{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(o){this.viewEvents.push(o)}emitOutgoingEvent(o){this.outgoingEvents.push(o)}}e.ViewModelEventsCollector=D;class S{constructor(o,d,l,p){this.kind=0,this._oldContentWidth=o,this._oldContentHeight=d,this.contentWidth=l,this.contentHeight=p,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(o){return o.kind!==this.kind?null:new S(this._oldContentWidth,this._oldContentHeight,o.contentWidth,o.contentHeight)}}e.ContentSizeChangedEvent=S;class f{constructor(o,d){this.kind=1,this.oldHasFocus=o,this.hasFocus=d}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(o){return o.kind!==this.kind?null:new f(this.oldHasFocus,o.hasFocus)}}e.FocusChangedEvent=f;class _{constructor(o,d,l,p,m,v,b,w){this.kind=2,this._oldScrollWidth=o,this._oldScrollLeft=d,this._oldScrollHeight=l,this._oldScrollTop=p,this.scrollWidth=m,this.scrollLeft=v,this.scrollHeight=b,this.scrollTop=w,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(o){return o.kind!==this.kind?null:new _(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,o.scrollWidth,o.scrollLeft,o.scrollHeight,o.scrollTop)}}e.ScrollChangedEvent=_;class g{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.ViewZonesChangedEvent=g;class C{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.HiddenAreasChangedEvent=C;class s{constructor(o,d,l,p,m,v,b){this.kind=6,this.oldSelections=o,this.selections=d,this.oldModelVersionId=l,this.modelVersionId=p,this.source=m,this.reason=v,this.reachedMaxCursorCount=b}static _selectionsAreEqual(o,d){if(!o&&!d)return!0;if(!o||!d)return!1;const l=o.length,p=d.length;if(l!==p)return!1;for(let m=0;m=t?0:u.horizontalScrollbarSize}_getContentHeight(n,t,a){const u=this._configuration.options;let h=this._linesLayout.getLinesTotalHeight();return u.get(103)?h+=Math.max(0,t-u.get(65)-u.get(82).bottom):h+=this._getHorizontalScrollbarHeight(n,a),h}_updateHeight(){const n=this._scrollable.getScrollDimensions(),t=n.width,a=n.height,u=n.contentWidth;this._scrollable.setScrollDimensions(new g(t,n.contentWidth,a,this._getContentHeight(t,a,u)))}getCurrentViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}getFutureViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}_computeContentWidth(){const n=this._configuration.options,t=this._maxLineWidth,a=n.get(143),u=n.get(49),h=n.get(142);if(a.isViewportWrapping){const r=n.get(71);return t>h.contentWidth+u.typicalHalfwidthCharacterWidth&&r.enabled&&r.side==="right"?t+h.verticalScrollbarWidth:t}else{const r=n.get(102)*u.typicalHalfwidthCharacterWidth,c=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+r+h.verticalScrollbarWidth,c,this._overlayWidgetsMinWidth)}}setMaxLineWidth(n){this._maxLineWidth=n,this._updateContentWidth()}setOverlayWidgetsMinWidth(n){this._overlayWidgetsMinWidth=n,this._updateContentWidth()}_updateContentWidth(){const n=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new g(n.width,this._computeContentWidth(),n.height,n.contentHeight)),this._updateHeight()}saveState(){const n=this._scrollable.getFutureScrollPosition(),t=n.scrollTop,a=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),u=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(a);return{scrollTop:t,scrollTopWithoutViewZones:t-u,scrollLeft:n.scrollLeft}}changeWhitespace(n){const t=this._linesLayout.changeWhitespace(n);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(n,t)}getVerticalOffsetAfterLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(n,t)}isAfterLines(n){return this._linesLayout.isAfterLines(n)}isInTopPadding(n){return this._linesLayout.isInTopPadding(n)}isInBottomPadding(n){return this._linesLayout.isInBottomPadding(n)}getLineNumberAtVerticalOffset(n){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(n)}getWhitespaceAtVerticalOffset(n){return this._linesLayout.getWhitespaceAtVerticalOffset(n)}getLinesViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(n.top,n.top+n.height)}getLinesViewportDataAtScrollTop(n){const t=this._scrollable.getScrollDimensions();return n+t.height>t.scrollHeight&&(n=t.scrollHeight-t.height),n<0&&(n=0),this._linesLayout.getLinesViewportData(n,n+t.height)}getWhitespaceViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(n.top,n.top+n.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(n){return this._scrollable.validateScrollPosition(n)}setScrollPosition(n,t){t===1?this._scrollable.setScrollPositionNow(n):this._scrollable.setScrollPositionSmooth(n)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(n,t){const a=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:a.scrollLeft+n,scrollTop:a.scrollTop+t})}}e.ViewLayout=s}),define(ne[537],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveCaretCommand=void 0;class y{constructor(S,f){this._selection=S,this._isMovingLeft=f}getEditOperations(S,f){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const _=this._selection.startLineNumber,g=this._selection.startColumn,C=this._selection.endColumn;if(!(this._isMovingLeft&&g===1)&&!(!this._isMovingLeft&&C===S.getLineMaxColumn(_)))if(this._isMovingLeft){const s=new L.Range(_,g-1,_,g),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,C,_,C),i)}else{const s=new L.Range(_,C,_,C+1),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,g,_,g),i)}}computeCursorState(S,f){return this._isMovingLeft?new k.Selection(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new k.Selection(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}e.MoveCaretCommand=y}),define(ne[113],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionItem=e.CodeActionCommandArgs=e.filtersAction=e.mayIncludeActionsOfKind=e.CodeActionTriggerSource=e.CodeActionKind=void 0;class k{constructor(s){this.value=s}equals(s){return this.value===s.value}contains(s){return this.equals(s)||this.value===""||s.value.startsWith(this.value+k.sep)}intersects(s){return this.contains(s)||s.contains(this)}append(s){return new k(this.value+k.sep+s)}}e.CodeActionKind=k,k.sep=".",k.None=new k("@@none@@"),k.Empty=new k(""),k.QuickFix=new k("quickfix"),k.Refactor=new k("refactor"),k.RefactorExtract=k.Refactor.append("extract"),k.RefactorInline=k.Refactor.append("inline"),k.RefactorMove=k.Refactor.append("move"),k.RefactorRewrite=k.Refactor.append("rewrite"),k.Source=new k("source"),k.SourceOrganizeImports=k.Source.append("organizeImports"),k.SourceFixAll=k.Source.append("fixAll"),k.SurroundWith=k.Refactor.append("surround");var y;(function(C){C.Refactor="refactor",C.RefactorPreview="refactor preview",C.Lightbulb="lightbulb",C.Default="other (default)",C.SourceAction="source action",C.QuickFix="quick fix action",C.FixAll="fix all",C.OrganizeImports="organize imports",C.AutoFix="auto fix",C.QuickFixHover="quick fix hover window",C.OnSave="save participants",C.ProblemsView="problems view"})(y||(e.CodeActionTriggerSource=y={}));function D(C,s){return!(C.include&&!C.include.intersects(s)||C.excludes&&C.excludes.some(i=>f(s,i,C.include))||!C.includeSourceActions&&k.Source.contains(s))}e.mayIncludeActionsOfKind=D;function S(C,s){const i=s.kind?new k(s.kind):void 0;return!(C.include&&(!i||!C.include.contains(i))||C.excludes&&i&&C.excludes.some(n=>f(i,n,C.include))||!C.includeSourceActions&&i&&k.Source.contains(i)||C.onlyIncludePreferredActions&&!s.isPreferred)}e.filtersAction=S;function f(C,s,i){return!(!s.contains(C)||i&&s.contains(i))}class _{static fromUser(s,i){return!s||typeof s!="object"?new _(i.kind,i.apply,!1):new _(_.getKindFromUser(s,i.kind),_.getApplyFromUser(s,i.apply),_.getPreferredUser(s))}static getApplyFromUser(s,i){switch(typeof s.apply=="string"?s.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return i}}static getKindFromUser(s,i){return typeof s.kind=="string"?new k(s.kind):i}static getPreferredUser(s){return typeof s.preferred=="boolean"?s.preferred:!1}constructor(s,i,n){this.kind=s,this.apply=i,this.preferred=n}}e.CodeActionCommandArgs=_;class g{constructor(s,i){this.action=s,this.provider=i}resolve(s){var i;return we(this,void 0,void 0,function*(){if(!((i=this.provider)===null||i===void 0)&&i.resolveCodeAction&&!this.action.edit){let n;try{n=yield this.provider.resolveCodeAction(this.action,s)}catch(t){(0,L.onUnexpectedExternalError)(t)}n&&(this.action.edit=n.edit)}return this})}}e.CodeActionItem=g}),define(ne[538],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerModel=void 0;class k{get color(){return this._color}set color(D){this._color.equals(D)||(this._color=D,this._onDidChangeColor.fire(D))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(D){this._colorPresentations=D,this.presentationIndex>D.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(D,S,f){this.presentationIndex=f,this._onColorFlushed=new L.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new L.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new L.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=D,this._color=D,this._colorPresentations=S}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(D,S){let f=-1;for(let _=0;_i)return!1;for(let n=0;n=65&&t<=90&&t+32===a)&&!(a>=65&&a<=90&&a+32===t))return!1}return!0}_createOperationsForBlockComment(_,g,C,s,i,n){const t=_.startLineNumber,a=_.startColumn,u=_.endLineNumber,h=_.endColumn,r=i.getLineContent(t),c=i.getLineContent(u);let o=r.lastIndexOf(g,a-1+g.length),d=c.indexOf(C,h-1-C.length);if(o!==-1&&d!==-1)if(t===u)r.substring(o+g.length,d).indexOf(C)>=0&&(o=-1,d=-1);else{const p=r.substring(o+g.length),m=c.substring(0,d);(p.indexOf(C)>=0||m.indexOf(C)>=0)&&(o=-1,d=-1)}let l;o!==-1&&d!==-1?(s&&o+g.length0&&c.charCodeAt(d-1)===32&&(C=" "+C,d-=1),l=S._createRemoveBlockCommentOperations(new y.Range(t,o+g.length+1,u,d+1),g,C)):(l=S._createAddBlockCommentOperations(_,g,C,this._insertSpace),this._usedEndToken=l.length===1?C:null);for(const p of l)n.addTrackedEditOperation(p.range,p.text)}static _createRemoveBlockCommentOperations(_,g,C){const s=[];return y.Range.isEmpty(_)?s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.endLineNumber,_.endColumn+C.length))):(s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.startLineNumber,_.startColumn))),s.push(L.EditOperation.delete(new y.Range(_.endLineNumber,_.endColumn,_.endLineNumber,_.endColumn+C.length)))),s}static _createAddBlockCommentOperations(_,g,C,s){const i=[];return y.Range.isEmpty(_)?i.push(L.EditOperation.replace(new y.Range(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn),g+" "+C)):(i.push(L.EditOperation.insert(new k.Position(_.startLineNumber,_.startColumn),g+(s?" ":""))),i.push(L.EditOperation.insert(new k.Position(_.endLineNumber,_.endColumn),(s?" ":"")+C))),i}getEditOperations(_,g){const C=this._selection.startLineNumber,s=this._selection.startColumn;_.tokenization.tokenizeIfCheap(C);const i=_.getLanguageIdAtPosition(C,s),n=this.languageConfigurationService.getLanguageConfiguration(i).comments;!n||!n.blockCommentStartToken||!n.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,n.blockCommentStartToken,n.blockCommentEndToken,this._insertSpace,_,g)}computeCursorState(_,g){const C=g.getInverseEditOperations();if(C.length===2){const s=C[0],i=C[1];return new D.Selection(s.range.endLineNumber,s.range.endColumn,i.range.startLineNumber,i.range.startColumn)}else{const s=C[0].range,i=this._usedEndToken?-this._usedEndToken.length-1:0;return new D.Selection(s.endLineNumber,s.endColumn+i,s.endLineNumber,s.endColumn+i)}}}e.BlockCommentCommand=S}),define(ne[539],se([1,0,11,73,12,5,24,290]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineCommentCommand=void 0;class _{constructor(C,s,i,n,t,a,u){this.languageConfigurationService=C,this._selection=s,this._tabSize=i,this._type=n,this._insertSpace=t,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=a,this._ignoreFirstLine=u||!1}static _gatherPreflightCommentStrings(C,s,i,n){C.tokenization.tokenizeIfCheap(s);const t=C.getLanguageIdAtPosition(s,1),a=n.getLanguageConfiguration(t).comments,u=a?a.lineCommentToken:null;if(!u)return null;const h=[];for(let r=0,c=i-s+1;rt?s[h].commentStrOffset=a-1:s[h].commentStrOffset=a}}}e.LineCommentCommand=_}),define(ne[540],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropCommand=void 0;class y{constructor(S,f,_){this.selection=S,this.targetPosition=f,this.copy=_,this.targetSelection=null}getEditOperations(S,f){const _=S.getValueInRange(this.selection);if(this.copy||f.addEditOperation(this.selection,null),f.addEditOperation(new L.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),_),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new k.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new k.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber0){const f=[];for(let C=0;CL.Range.compareRangesUsingStarts(C.range,s.range));const _=[];let g=f[0];for(let C=1;C0){const h=[],r=a.caseOps.length;let c=0;for(let o=0,d=u.length;o=r){h.push(u.slice(o));break}switch(a.caseOps[c]){case"U":h.push(u[o].toUpperCase());break;case"u":h.push(u[o].toUpperCase()),c++;break;case"L":h.push(u[o].toLowerCase());break;case"l":h.push(u[o].toLowerCase()),c++;break;default:h.push(u[o])}}u=h.join("")}i+=u}return i}static _substitute(C,s){if(s===null)return"";if(C===0)return s[0];let i="";for(;C>0;){if(C=n)break;const a=g.charCodeAt(i);switch(a){case 92:s.emitUnchanged(i-1),s.emitStatic("\\",i+1);break;case 110:s.emitUnchanged(i-1),s.emitStatic(` -`,i+1);break;case 116:s.emitUnchanged(i-1),s.emitStatic(" ",i+1);break;case 117:case 85:case 108:case 76:s.emitUnchanged(i-1),s.emitStatic("",i+1),C.push(String.fromCharCode(a));break}continue}if(t===36){if(i++,i>=n)break;const a=g.charCodeAt(i);if(a===36){s.emitUnchanged(i-1),s.emitStatic("$",i+1);continue}if(a===48||a===38){s.emitUnchanged(i-1),s.emitMatchIndex(0,i+1,C),C.length=0;continue}if(49<=a&&a<=57){let u=a-48;if(i+1e.MAX_FOLDING_REGIONS)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=f,this._endIndexes=_,this._collapseStates=new k(f.length),this._userDefinedStates=new k(f.length),this._recoveredStates=new k(f.length),this._types=g,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const f=[],_=(g,C)=>{const s=f[f.length-1];return this.getStartLineNumber(s)<=g&&this.getEndLineNumber(s)>=C};for(let g=0,C=this._startIndexes.length;ge.MAX_LINE_NUMBER||i>e.MAX_LINE_NUMBER)throw new Error("startLineNumber or endLineNumber must not exceed "+e.MAX_LINE_NUMBER);for(;f.length>0&&!_(s,i);)f.pop();const n=f.length>0?f[f.length-1]:-1;f.push(g),this._startIndexes[g]=s+((n&255)<<24),this._endIndexes[g]=i+((n&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(f){return this._startIndexes[f]&e.MAX_LINE_NUMBER}getEndLineNumber(f){return this._endIndexes[f]&e.MAX_LINE_NUMBER}getType(f){return this._types?this._types[f]:void 0}hasTypes(){return!!this._types}isCollapsed(f){return this._collapseStates.get(f)}setCollapsed(f,_){this._collapseStates.set(f,_)}isUserDefined(f){return this._userDefinedStates.get(f)}setUserDefined(f,_){return this._userDefinedStates.set(f,_)}isRecovered(f){return this._recoveredStates.get(f)}setRecovered(f,_){return this._recoveredStates.set(f,_)}getSource(f){return this.isUserDefined(f)?1:this.isRecovered(f)?2:0}setSource(f,_){_===1?(this.setUserDefined(f,!0),this.setRecovered(f,!1)):_===2?(this.setUserDefined(f,!1),this.setRecovered(f,!0)):(this.setUserDefined(f,!1),this.setRecovered(f,!1))}setCollapsedAllOfType(f,_){let g=!1;if(this._types)for(let C=0;C>>24)+((this._endIndexes[f]&L)>>>16);return _===e.MAX_FOLDING_REGIONS?-1:_}contains(f,_){return this.getStartLineNumber(f)<=_&&this.getEndLineNumber(f)>=_}findIndex(f){let _=0,g=this._startIndexes.length;if(g===0)return-1;for(;_=0){if(this.getEndLineNumber(_)>=f)return _;for(_=this.getParentIndex(_);_!==-1;){if(this.contains(_,f))return _;_=this.getParentIndex(_)}}return-1}toString(){const f=[];for(let _=0;_Array.isArray(d)?p=>pp=u.startLineNumber))a&&a.startLineNumber===u.startLineNumber?(u.source===1?d=u:(d=a,d.isCollapsed=u.isCollapsed&&a.endLineNumber===u.endLineNumber,d.source=0),a=s(++n)):(d=u,u.isCollapsed&&u.source===0&&(d.source=2)),u=i(++t);else{let l=t,p=u;for(;;){if(!p||p.startLineNumber>a.endLineNumber){d=a;break}if(p.source===1&&p.endLineNumber>a.endLineNumber)break;p=i(++l)}a=s(++n)}if(d){for(;r&&r.endLineNumberd.startLineNumber&&d.startLineNumber>c&&d.endLineNumber<=g&&(!r||r.endLineNumber>=d.endLineNumber)&&(o.push(d),c=d.startLineNumber,r&&h.push(r),r=d)}}return o}}e.FoldingRegions=y;class D{constructor(f,_){this.ranges=f,this.index=_}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(f){return f.startLineNumber<=this.startLineNumber&&f.endLineNumber>=this.endLineNumber}containsLine(f){return this.startLineNumber<=f&&f<=this.endLineNumber}}e.FoldingRegion=D}),define(ne[291],se([1,0,6,182,143]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNextFoldLine=e.getPreviousFoldLine=e.getParentFoldLine=e.setCollapseStateForType=e.setCollapseStateForMatchingLines=e.setCollapseStateForRest=e.setCollapseStateAtLevel=e.setCollapseStateUp=e.setCollapseStateLevelsUp=e.setCollapseStateLevelsDown=e.toggleCollapseState=e.FoldingModel=void 0;class D{get regions(){return this._regions}get textModel(){return this._textModel}constructor(r,c){this._updateEventEmitter=new L.Emitter,this.onDidChange=this._updateEventEmitter.event,this._textModel=r,this._decorationProvider=c,this._regions=new k.FoldingRegions(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}toggleCollapseState(r){if(!r.length)return;r=r.sort((o,d)=>o.regionIndex-d.regionIndex);const c={};this._decorationProvider.changeDecorations(o=>{let d=0,l=-1,p=-1;const m=v=>{for(;dp&&(p=b),d++}};for(const v of r){const b=v.regionIndex,w=this._editorDecorationIds[b];if(w&&!c[w]){c[w]=!0,m(b);const E=!this._regions.isCollapsed(b);this._regions.setCollapsed(b,E),l=Math.max(l,this._regions.getEndLineNumber(b))}}m(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:r})}removeManualRanges(r){const c=new Array,o=d=>{for(const l of r)if(!(l.startLineNumber>d.endLineNumber||d.startLineNumber>l.endLineNumber))return!0;return!1};for(let d=0;do&&(o=m)}this._decorationProvider.changeDecorations(d=>this._editorDecorationIds=d.deltaDecorations(this._editorDecorationIds,c)),this._regions=r,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(r=[]){const c=(d,l)=>{for(const p of r)if(d=p.endLineNumber||p.startLineNumber<1||p.endLineNumber>o)continue;const m=this._getLinesChecksum(p.startLineNumber+1,p.endLineNumber);c.push({startLineNumber:p.startLineNumber,endLineNumber:p.endLineNumber,isCollapsed:p.isCollapsed,source:p.source,checksum:m})}return c.length>0?c:void 0}applyMemento(r){var c,o;if(!Array.isArray(r))return;const d=[],l=this._textModel.getLineCount();for(const m of r){if(m.startLineNumber>=m.endLineNumber||m.startLineNumber<1||m.endLineNumber>l)continue;const v=this._getLinesChecksum(m.startLineNumber+1,m.endLineNumber);(!m.checksum||v===m.checksum)&&d.push({startLineNumber:m.startLineNumber,endLineNumber:m.endLineNumber,type:void 0,isCollapsed:(c=m.isCollapsed)!==null&&c!==void 0?c:!0,source:(o=m.source)!==null&&o!==void 0?o:0})}const p=k.FoldingRegions.sanitizeAndMerge(this._regions,d,l);this.updatePost(k.FoldingRegions.fromFoldRanges(p))}_getLinesChecksum(r,c){return(0,y.hash)(this._textModel.getLineContent(r)+this._textModel.getLineContent(c))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(r,c){const o=[];if(this._regions){let d=this._regions.findRange(r),l=1;for(;d>=0;){const p=this._regions.toRegion(d);(!c||c(p,l))&&o.push(p),l++,d=p.parentIndex}}return o}getRegionAtLine(r){if(this._regions){const c=this._regions.findRange(r);if(c>=0)return this._regions.toRegion(c)}return null}getRegionsInside(r,c){const o=[],d=r?r.regionIndex+1:0,l=r?r.endLineNumber:Number.MAX_VALUE;if(c&&c.length===2){const p=[];for(let m=d,v=this._regions.length;m0&&!b.containedBy(p[p.length-1]);)p.pop();p.push(b),c(b,p.length)&&o.push(b)}else break}}else for(let p=d,m=this._regions.length;p1){const m=h.getRegionsInside(l,(v,b)=>v.isCollapsed!==p&&b0)for(const l of o){const p=h.getRegionAtLine(l);if(p&&(p.isCollapsed!==r&&d.push(p),c>1)){const m=h.getRegionsInside(p,(v,b)=>v.isCollapsed!==r&&bp.isCollapsed!==r&&mm.isCollapsed!==r&&v<=c);d.push(...p)}h.toggleCollapseState(d)}e.setCollapseStateLevelsUp=_;function g(h,r,c){const o=[];for(const d of c){const l=h.getAllRegionsAtLine(d,p=>p.isCollapsed!==r);l.length>0&&o.push(l[0])}h.toggleCollapseState(o)}e.setCollapseStateUp=g;function C(h,r,c,o){const d=(p,m)=>m===r&&p.isCollapsed!==c&&!o.some(v=>p.containsLine(v)),l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateAtLevel=C;function s(h,r,c){const o=[];for(const p of c){const m=h.getAllRegionsAtLine(p,void 0);m.length>0&&o.push(m[0])}const d=p=>o.every(m=>!m.containedBy(p)&&!p.containedBy(m))&&p.isCollapsed!==r,l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateForRest=s;function i(h,r,c){const o=h.textModel,d=h.regions,l=[];for(let p=d.length-1;p>=0;p--)if(c!==d.isCollapsed(p)){const m=d.getStartLineNumber(p);r.test(o.getLineContent(m))&&l.push(d.toRegion(p))}h.toggleCollapseState(l)}e.setCollapseStateForMatchingLines=i;function n(h,r,c){const o=h.regions,d=[];for(let l=o.length-1;l>=0;l--)c!==o.isCollapsed(l)&&r===o.getType(l)&&d.push(o.toRegion(l));h.toggleCollapseState(d)}e.setCollapseStateForType=n;function t(h,r){let c=null;const o=r.getRegionAtLine(h);if(o!==null&&(c=o.startLineNumber,h===c)){const d=o.parentIndex;d!==-1?c=r.regions.getStartLineNumber(d):c=null}return c}e.getParentFoldLine=t;function a(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){if(h!==c.startLineNumber)return c.startLineNumber;{const o=c.parentIndex;let d=0;for(o!==-1&&(d=r.regions.getStartLineNumber(c.parentIndex));c!==null;)if(c.regionIndex>0){if(c=r.regions.toRegion(c.regionIndex-1),c.startLineNumber<=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}}else if(r.regions.length>0)for(c=r.regions.toRegion(r.regions.length-1);c!==null;){if(c.startLineNumber0?c=r.regions.toRegion(c.regionIndex-1):c=null}return null}e.getPreviousFoldLine=a;function u(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){const o=c.parentIndex;let d=0;if(o!==-1)d=r.regions.getEndLineNumber(c.parentIndex);else{if(r.regions.length===0)return null;d=r.regions.getEndLineNumber(r.regions.length-1)}for(;c!==null;)if(c.regionIndex=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}else if(r.regions.length>0)for(c=r.regions.toRegion(0);c!==null;){if(c.startLineNumber>h)return c.startLineNumber;c.regionIndexthis.updateHiddenRanges()),this._hiddenRanges=[],C.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(C){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=C.changes.some(s=>s.range.endLineNumber!==s.range.startLineNumber||(0,D.countEOL)(s.text)[0]!==0))}updateHiddenRanges(){let C=!1;const s=[];let i=0,n=0,t=Number.MAX_VALUE,a=-1;const u=this._foldingModel.regions;for(;i0}isHidden(C){return _(this._hiddenRanges,C)!==null}adjustSelections(C){let s=!1;const i=this._foldingModel.textModel;let n=null;const t=a=>((!n||!f(a,n))&&(n=_(this._hiddenRanges,a)),n?n.startLineNumber-1:null);for(let a=0,u=C.length;a0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}e.HiddenRangeModel=S;function f(g,C){return g>=C.startLineNumber&&g<=C.endLineNumber}function _(g,C){const s=(0,L.findFirstInSorted)(g,i=>C=0&&g[s].endLineNumber>=C?g[s]:null}}),define(ne[292],se([1,0,207,182]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeRanges=e.RangesCollector=e.IndentRangeProvider=void 0;const y=5e3,D="indent";class S{constructor(s,i,n){this.editorModel=s,this.languageConfigurationService=i,this.foldingRangesLimit=n,this.id=D}dispose(){}compute(s){const i=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,n=i&&!!i.offSide,t=i&&i.markers;return Promise.resolve(g(this.editorModel,n,t,this.foldingRangesLimit))}}e.IndentRangeProvider=S;class f{constructor(s){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=s}insertFirst(s,i,n){if(s>k.MAX_LINE_NUMBER||i>k.MAX_LINE_NUMBER)return;const t=this._length;this._startIndexes[t]=s,this._endIndexes[t]=i,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(s){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=this._length-1,u=0;a>=0;a--,u++)n[u]=this._startIndexes[a],t[u]=this._endIndexes[a];return new k.FoldingRegions(n,t)}else{this._foldingRangesLimit.update(this._length,i);let n=0,t=this._indentOccurrences.length;for(let r=0;ri){t=r;break}n+=c}}const a=s.getOptions().tabSize,u=new Uint32Array(i),h=new Uint32Array(i);for(let r=this._length-1,c=0;r>=0;r--){const o=this._startIndexes[r],d=s.getLineContent(o),l=(0,L.computeIndentLevel)(d,a);(l{}};function g(C,s,i,n=_){const t=C.getOptions().tabSize,a=new f(n);let u;i&&(u=new RegExp(`(${i.start.source})|(?:${i.end.source})`));const h=[],r=C.getLineCount()+1;h.push({indent:-1,endAbove:r,line:r});for(let c=C.getLineCount();c>0;c--){const o=C.getLineContent(c),d=(0,L.computeIndentLevel)(o,t);let l=h[h.length-1];if(d===-1){s&&(l.endAbove=c);continue}let p;if(u&&(p=o.match(u)))if(p[1]){let m=h.length-1;for(;m>0&&h[m].indent!==-2;)m--;if(m>0){h.length=m+1,l=h[m],a.insertFirst(c,l.line,d),l.line=c,l.indent=d,l.endAbove=c;continue}}else{h.push({indent:-2,endAbove:c,line:c});continue}if(l.indent>d){do h.pop(),l=h[h.length-1];while(l.indent>d);const m=l.endAbove-1;m-c>=1&&a.insertFirst(c,m,d)}l.indent===d?l.endAbove=c:h.push({indent:d,endAbove:c,line:c})}return a.toIndentRanges(C)}e.computeRanges=g}),define(ne[293],se([1,0,9,2,182]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeRanges=e.SyntaxRangeProvider=void 0;const D={},S="syntax";class f{constructor(i,n,t,a,u){this.editorModel=i,this.providers=n,this.handleFoldingRangesChange=t,this.foldingRangesLimit=a,this.fallbackRangeProvider=u,this.id=S,this.disposables=new k.DisposableStore,u&&this.disposables.add(u);for(const h of n)typeof h.onDidChange=="function"&&this.disposables.add(h.onDidChange(t))}compute(i){return _(this.providers,this.editorModel,i).then(n=>{var t,a;return n?C(n,this.foldingRangesLimit):(a=(t=this.fallbackRangeProvider)===null||t===void 0?void 0:t.compute(i))!==null&&a!==void 0?a:null})}dispose(){this.disposables.dispose()}}e.SyntaxRangeProvider=f;function _(s,i,n){let t=null;const a=s.map((u,h)=>Promise.resolve(u.provideFoldingRanges(i,D,n)).then(r=>{if(!n.isCancellationRequested&&Array.isArray(r)){Array.isArray(t)||(t=[]);const c=i.getLineCount();for(const o of r)o.start>0&&o.end>o.start&&o.end<=c&&t.push({start:o.start,end:o.end,rank:h,kind:o.kind})}},L.onUnexpectedExternalError));return Promise.all(a).then(u=>t)}class g{constructor(i){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=i}add(i,n,t,a){if(i>y.MAX_LINE_NUMBER||n>y.MAX_LINE_NUMBER)return;const u=this._length;this._startIndexes[u]=i,this._endIndexes[u]=n,this._nestingLevels[u]=a,this._types[u]=t,this._length++,a<30&&(this._nestingLevelCounts[a]=(this._nestingLevelCounts[a]||0)+1)}toIndentRanges(){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=0;ai){t=r;break}n+=c}}const a=new Uint32Array(i),u=new Uint32Array(i),h=[];for(let r=0,c=0;r{let c=h.start-r.start;return c===0&&(c=h.rank-r.rank),c}),t=new g(i);let a;const u=[];for(const h of n)if(!a)a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else if(h.start>a.start)if(h.end<=a.end)u.push(a),a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else{if(h.start>a.end){do a=u.pop();while(a&&h.start>a.end);a&&u.push(a),a=h}t.add(h.start,h.end,h.kind&&h.kind.value,u.length)}return t.toIndentRanges()}e.sanitizeRanges=C}),define(ne[294],se([1,0,73,5,108]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormattingEdit=void 0;class D{static _handleEolEdits(f,_){let g;const C=[];for(const s of _)typeof s.eol=="number"&&(g=s.eol),s.range&&typeof s.text=="string"&&C.push(s);return typeof g=="number"&&f.hasModel()&&f.getModel().pushEOL(g),C}static _isFullModelReplaceEdit(f,_){if(!f.hasModel())return!1;const g=f.getModel(),C=g.validateRange(_.range);return g.getFullModelRange().equalsRange(C)}static execute(f,_,g){g&&f.pushUndoStop();const C=y.StableEditorScrollState.capture(f),s=D._handleEolEdits(f,_);s.length===1&&D._isFullModelReplaceEdit(f,s[0])?f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replace(k.Range.lift(i.range),i.text))):f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replaceMove(k.Range.lift(i.range),i.text))),g&&f.pushUndoStop(),C.restoreRelativeVerticalPositionOfCursor(f)}}e.FormattingEdit=D}),define(ne[103],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverParticipantRegistry=e.HoverForeignElementAnchor=e.HoverRangeAnchor=void 0;class L{constructor(D,S,f,_){this.priority=D,this.range=S,this.initialMousePosX=f,this.initialMousePosY=_,this.type=1}equals(D){return D.type===1&&this.range.equalsRange(D.range)}canAdoptVisibleHover(D,S){return D.type===1&&S.lineNumber===this.range.startLineNumber}}e.HoverRangeAnchor=L;class k{constructor(D,S,f,_,g,C){this.priority=D,this.owner=S,this.range=f,this.initialMousePosX=_,this.initialMousePosY=g,this.supportsMarkerHover=C,this.type=2}equals(D){return D.type===2&&this.owner===D.owner}canAdoptVisibleHover(D,S){return D.type===2&&this.owner===D.owner}}e.HoverForeignElementAnchor=k,e.HoverParticipantRegistry=new class{constructor(){this._participants=[]}register(D){this._participants.push(D)}getAll(){return this._participants}}}),define(ne[544],se([1,0,24]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InPlaceReplaceCommand=void 0;class k{constructor(D,S,f){this._editRange=D,this._originalSelection=S,this._text=f}getEditOperations(D,S){S.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(D,S){const _=S.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new L.Selection(_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn),_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn)):new L.Selection(_.endLineNumber,_.endColumn-this._text.length,_.endLineNumber,_.endColumn)}}e.InPlaceReplaceCommand=k}),define(ne[295],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateIndent=e.getSpaceCnt=void 0;function L(y,D){let S=0;for(let f=0;f{const o=S.Range.lift(c.range);return{startOffset:h.getOffset(o.getStartPosition()),endOffset:h.getOffset(o.getEndPosition()),text:c.text}});r.sort((c,o)=>o.startOffset-c.startOffset);for(const c of r)a=a.substring(0,c.startOffset)+c.text+a.substring(c.endOffset);return a}e.applyEdits=f;class _{constructor(u){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let h=0;hh)throw new L.BugIndicatingError(`startColumn ${u} cannot be after endColumnExclusive ${h}`)}toRange(u){return new S.Range(u,this.startColumn,u,this.endColumnExclusive)}equals(u){return this.startColumn===u.startColumn&&this.endColumnExclusive===u.endColumnExclusive}}e.ColumnRange=s;function i(a,u){const h=new k.DisposableStore,r=a.createDecorationsCollection();return h.add((0,y.autorunOpts)({debugName:()=>`Apply decorations from ${u.debugName}`},c=>{const o=u.read(c);r.set(o)})),h.add({dispose:()=>{r.clear()}}),h}e.applyObservableDecorations=i;function n(a,u){return new D.Position(a.lineNumber+u.lineNumber-1,u.lineNumber===1?a.column+u.column-1:u.column)}e.addPositions=n;function t(a){let u=1,h=1;for(const r of a)r===` -`?(u++,h=1):h++;return new D.Position(u,h)}e.lengthOfText=t}),define(ne[215],se([1,0,151]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ghostTextOrReplacementEquals=e.GhostTextReplacement=e.GhostTextPart=e.GhostText=void 0;class k{constructor(_,g){this.lineNumber=_,this.parts=g}equals(_){return this.lineNumber===_.lineNumber&&this.parts.length===_.parts.length&&this.parts.every((g,C)=>g.equals(_.parts[C]))}renderForScreenReader(_){if(this.parts.length===0)return"";const g=this.parts[this.parts.length-1],C=_.substr(0,g.column-1);return(0,L.applyEdits)(C,this.parts.map(i=>({range:{startLineNumber:1,endLineNumber:1,startColumn:i.column,endColumn:i.column},text:i.lines.join(` -`)}))).substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(_=>_.lines.length===0)}get lineCount(){return 1+this.parts.reduce((_,g)=>_+g.lines.length-1,0)}}e.GhostText=k;class y{constructor(_,g,C){this.column=_,this.lines=g,this.preview=C}equals(_){return this.column===_.column&&this.lines.length===_.lines.length&&this.lines.every((g,C)=>g===_.lines[C])}}e.GhostTextPart=y;class D{constructor(_,g,C,s=0){this.lineNumber=_,this.columnRange=g,this.newLines=C,this.additionalReservedLineCount=s,this.parts=[new y(this.columnRange.endColumnExclusive,this.newLines,!1)]}renderForScreenReader(_){return this.newLines.join(` -`)}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(_=>_.lines.length===0)}equals(_){return this.lineNumber===_.lineNumber&&this.columnRange.equals(_.columnRange)&&this.newLines.length===_.newLines.length&&this.newLines.every((g,C)=>g===_.newLines[C])&&this.additionalReservedLineCount===_.additionalReservedLineCount}}e.GhostTextReplacement=D;function S(f,_){return f===_?!0:!f||!_?!1:f instanceof k&&_ instanceof k||f instanceof D&&_ instanceof D?f.equals(_):!1}e.ghostTextOrReplacementEquals=S}),define(ne[296],se([1,0,168,11,5,215,151]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SingleTextEdit=void 0;class f{constructor(t,a){this.range=t,this.text=a}removeCommonPrefix(t,a){const u=a?this.range.intersectRanges(a):this.range;if(!u)return this;const h=t.getValueInRange(u,1),r=(0,k.commonPrefixLength)(h,this.text),c=(0,S.addPositions)(this.range.getStartPosition(),(0,S.lengthOfText)(h.substring(0,r))),o=this.text.substring(r),d=y.Range.fromPositions(c,this.range.getEndPosition());return new f(d,o)}augments(t){return this.text.startsWith(t.text)&&_(this.range,t.range)}computeGhostText(t,a,u,h=0){let r=this.removeCommonPrefix(t);if(r.range.endLineNumber!==r.range.startLineNumber)return;const c=t.getLineContent(r.range.startLineNumber),o=(0,k.getLeadingWhitespace)(c).length;if(r.range.startColumn-1<=o){const w=(0,k.getLeadingWhitespace)(r.text).length,E=c.substring(r.range.startColumn-1,o),[I,M]=[r.range.getStartPosition(),r.range.getEndPosition()],P=I.column+E.length<=M.column?I.delta(0,E.length):M,x=y.Range.fromPositions(P,M),T=r.text.startsWith(E)?r.text.substring(E.length):r.text.substring(w);r=new f(x,T)}const l=t.getValueInRange(r.range),p=C(l,r.text);if(!p)return;const m=r.range.startLineNumber,v=new Array;if(a==="prefix"){const w=p.filter(E=>E.originalLength===0);if(w.length>1||w.length===1&&w[0].originalStart!==l.length)return}const b=r.text.length-h;for(const w of p){const E=r.range.startColumn+w.originalStart+w.originalLength;if(a==="subwordSmart"&&u&&u.lineNumber===r.range.startLineNumber&&E0)return;if(w.modifiedLength===0)continue;const I=w.modifiedStart+w.modifiedLength,M=Math.max(w.modifiedStart,Math.min(I,b)),P=r.text.substring(w.modifiedStart,M),x=r.text.substring(M,Math.max(w.modifiedStart,I));if(P.length>0){const T=(0,k.splitLines)(P);v.push(new D.GhostTextPart(E,T,!1))}if(x.length>0){const T=(0,k.splitLines)(x);v.push(new D.GhostTextPart(E,T,!0))}}return new D.GhostText(m,v)}}e.SingleTextEdit=f;function _(n,t){return t.getStartPosition().equals(n.getStartPosition())&&t.getEndPosition().isBeforeOrEqual(n.getEndPosition())}let g;function C(n,t){if(g?.originalValue===n&&g?.newValue===t)return g?.changes;{let a=i(n,t,!0);if(a){const u=s(a);if(u>0){const h=i(n,t,!1);h&&s(h)5e3||t.length>5e3)return;function u(l){let p=0;for(let m=0,v=l.length;mp&&(p=b)}return p}const h=Math.max(u(n),u(t));function r(l){if(l<0)throw new Error("unexpected");return h+l+1}function c(l){let p=0,m=0;const v=new Int32Array(l.length);for(let b=0,w=l.length;bo},{getElements:()=>d}).ComputeDiff(!1).changes}}),define(ne[545],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyLinesCommand=void 0;class y{constructor(S,f,_){this._selection=S,this._isCopyingDown=f,this._noop=_||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(S,f){let _=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,_.startLineNumber<_.endLineNumber&&_.endColumn===1&&(this._endLineNumberDelta=1,_=_.setEndPosition(_.endLineNumber-1,S.getLineMaxColumn(_.endLineNumber-1)));const g=[];for(let s=_.startLineNumber;s<=_.endLineNumber;s++)g.push(S.getLineContent(s));const C=g.join(` -`);C===""&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber+1,1),_.endLineNumber===S.getLineCount()?"":` -`):this._isCopyingDown?f.addEditOperation(new L.Range(_.startLineNumber,1,_.startLineNumber,1),C+` -`):f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber,S.getLineMaxColumn(_.endLineNumber)),` -`+C),this._selectionId=f.trackSelection(_),this._selectionDirection=this._selection.getDirection()}computeCursorState(S,f){let _=f.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let g=_.startLineNumber,C=_.startColumn,s=_.endLineNumber,i=_.endColumn;this._startLineNumberDelta!==0&&(g=g+this._startLineNumberDelta,C=1),this._endLineNumberDelta!==0&&(s=s+this._endLineNumberDelta,i=1),_=k.Selection.createWithDirection(g,C,s,i,this._selectionDirection)}return _}}e.CopyLinesCommand=y}),define(ne[546],se([1,0,73,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SortLinesCommand=void 0;class y{static getCollator(){return y._COLLATOR||(y._COLLATOR=new Intl.Collator),y._COLLATOR}constructor(_,g){this.selection=_,this.descending=g,this.selectionId=null}getEditOperations(_,g){const C=S(_,this.selection,this.descending);C&&g.addEditOperation(C.range,C.text),this.selectionId=g.trackSelection(this.selection)}computeCursorState(_,g){return g.getTrackedSelection(this.selectionId)}static canRun(_,g,C){if(_===null)return!1;const s=D(_,g,C);if(!s)return!1;for(let i=0,n=s.before.length;i=s)return null;const i=[];for(let t=C;t<=s;t++)i.push(f.getLineContent(t));let n=i.slice(0);return n.sort(y.getCollator().compare),g===!0&&(n=n.reverse()),{startLineNumber:C,endLineNumber:s,before:i,after:n}}function S(f,_,g){const C=D(f,_,g);return C?L.EditOperation.replace(new k.Range(C.startLineNumber,1,C.endLineNumber,f.getLineMaxColumn(C.endLineNumber)),C.after.join(` -`)):null}}),define(ne[297],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSemanticColoringEnabled=e.SEMANTIC_HIGHLIGHTING_SETTING_ID=void 0,e.SEMANTIC_HIGHLIGHTING_SETTING_ID="editor.semanticHighlighting";function L(k,y,D){var S;const f=(S=D.getValue(e.SEMANTIC_HIGHLIGHTING_SETTING_ID,{overrideIdentifier:k.getLanguageId(),resource:k.uri}))===null||S===void 0?void 0:S.enabled;return typeof f=="boolean"?f:y.getColorTheme().semanticHighlighting}e.isSemanticColoringEnabled=L}),define(ne[298],se([1,0,64,12,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketSelectionRangeProvider=void 0;class D{provideSelectionRanges(f,_){return we(this,void 0,void 0,function*(){const g=[];for(const C of _){const s=[];g.push(s);const i=new Map;yield new Promise(n=>D._bracketsRightYield(n,0,f,C,i)),yield new Promise(n=>D._bracketsLeftYield(n,0,f,C,i,s))}return g})}static _bracketsRightYield(f,_,g,C,s){const i=new Map,n=Date.now();for(;;){if(_>=D._maxRounds){f();break}if(!C){f();break}const t=g.bracketPairs.findNextBracket(C);if(!t){f();break}if(Date.now()-n>D._maxDuration){setTimeout(()=>D._bracketsRightYield(f,_+1,g,C,s));break}if(t.bracketInfo.isOpeningBracket){const u=t.bracketInfo.bracketText,h=i.has(u)?i.get(u):0;i.set(u,h+1)}else{const u=t.bracketInfo.getOpeningBrackets()[0].bracketText;let h=i.has(u)?i.get(u):0;if(h-=1,i.set(u,Math.max(0,h)),h<0){let r=s.get(u);r||(r=new L.LinkedList,s.set(u,r)),r.push(t.range)}}C=t.range.getEndPosition()}}static _bracketsLeftYield(f,_,g,C,s,i){const n=new Map,t=Date.now();for(;;){if(_>=D._maxRounds&&s.size===0){f();break}if(!C){f();break}const a=g.bracketPairs.findPrevBracket(C);if(!a){f();break}if(Date.now()-t>D._maxDuration){setTimeout(()=>D._bracketsLeftYield(f,_+1,g,C,s,i));break}if(a.bracketInfo.isOpeningBracket){const h=a.bracketInfo.bracketText;let r=n.has(h)?n.get(h):0;if(r-=1,n.set(h,Math.max(0,r)),r<0){const c=s.get(h);if(c){const o=c.shift();c.size===0&&s.delete(h);const d=y.Range.fromPositions(a.range.getEndPosition(),o.getStartPosition()),l=y.Range.fromPositions(a.range.getStartPosition(),o.getEndPosition());i.push({range:d}),i.push({range:l}),D._addBracketLeading(g,l,i)}}}else{const h=a.bracketInfo.getOpeningBrackets()[0].bracketText,r=n.has(h)?n.get(h):0;n.set(h,r+1)}C=a.range.getStartPosition()}}static _addBracketLeading(f,_,g){if(_.startLineNumber===_.endLineNumber)return;const C=_.startLineNumber,s=f.getLineFirstNonWhitespaceColumn(C);s!==0&&s!==_.startColumn&&(g.push({range:y.Range.fromPositions(new k.Position(C,s),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(C,1),_.getEndPosition())}));const i=C-1;if(i>0){const n=f.getLineFirstNonWhitespaceColumn(i);n===_.startColumn&&n!==f.getLineLastNonWhitespaceColumn(i)&&(g.push({range:y.Range.fromPositions(new k.Position(i,n),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(i,1),_.getEndPosition())}))}}}e.BracketSelectionRangeProvider=D,D._maxDuration=30,D._maxRounds=2}),define(ne[547],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordSelectionRangeProvider=void 0;class y{constructor(S=!0){this.selectSubwords=S}provideSelectionRanges(S,f){const _=[];for(const g of f){const C=[];_.push(C),this.selectSubwords&&this._addInWordRanges(C,S,g),this._addWordRanges(C,S,g),this._addWhitespaceLine(C,S,g),C.push({range:S.getFullModelRange()})}return _}_addInWordRanges(S,f,_){const g=f.getWordAtPosition(_);if(!g)return;const{word:C,startColumn:s}=g,i=_.column-s;let n=i,t=i,a=0;for(;n>=0;n--){const u=C.charCodeAt(n);if(n!==i&&(u===95||u===45))break;if((0,L.isLowerAsciiLetter)(u)&&(0,L.isUpperAsciiLetter)(a))break;a=u}for(n+=1;t0&&f.getLineFirstNonWhitespaceColumn(_.lineNumber)===0&&f.getLineLastNonWhitespaceColumn(_.lineNumber)===0&&S.push({range:new k.Range(_.lineNumber,1,_.lineNumber,f.getLineMaxColumn(_.lineNumber))})}}e.WordSelectionRangeProvider=y}),define(ne[128],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetParser=e.TextmateSnippet=e.Variable=e.FormatString=e.Transform=e.Choice=e.Placeholder=e.TransformableMarker=e.Text=e.Marker=e.Scanner=void 0;class L{constructor(){this.value="",this.pos=0}static isDigitCharacter(a){return a>=48&&a<=57}static isVariableCharacter(a){return a===95||a>=97&&a<=122||a>=65&&a<=90}text(a){this.value=a,this.pos=0}tokenText(a){return this.value.substr(a.pos,a.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const a=this.pos;let u=0,h=this.value.charCodeAt(a),r;if(r=L._table[h],typeof r=="number")return this.pos+=1,{type:r,pos:a,len:1};if(L.isDigitCharacter(h)){r=8;do u+=1,h=this.value.charCodeAt(a+u);while(L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}if(L.isVariableCharacter(h)){r=9;do h=this.value.charCodeAt(a+ ++u);while(L.isVariableCharacter(h)||L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}r=10;do u+=1,h=this.value.charCodeAt(a+u);while(!isNaN(h)&&typeof L._table[h]>"u"&&!L.isDigitCharacter(h)&&!L.isVariableCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}}e.Scanner=L,L._table={[36]:0,[58]:1,[44]:2,[123]:3,[125]:4,[92]:5,[47]:6,[124]:7,[43]:11,[45]:12,[63]:13};class k{constructor(){this._children=[]}appendChild(a){return a instanceof y&&this._children[this._children.length-1]instanceof y?this._children[this._children.length-1].value+=a.value:(a.parent=this,this._children.push(a)),this}replace(a,u){const{parent:h}=a,r=h.children.indexOf(a),c=h.children.slice(0);c.splice(r,1,...u),h._children=c,function o(d,l){for(const p of d)p.parent=l,o(p.children,p)}(u,h)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let a=this;for(;;){if(!a)return;if(a instanceof i)return a;a=a.parent}}toString(){return this.children.reduce((a,u)=>a+u.toString(),"")}len(){return 0}}e.Marker=k;class y extends k{constructor(a){super(),this.value=a}toString(){return this.value}len(){return this.value.length}clone(){return new y(this.value)}}e.Text=y;class D extends k{}e.TransformableMarker=D;class S extends D{static compareByIndex(a,u){return a.index===u.index?0:a.isFinalTabstop?1:u.isFinalTabstop||a.indexu.index?1:0}constructor(a){super(),this.index=a}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof f?this._children[0]:void 0}clone(){const a=new S(this.index);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Placeholder=S;class f extends k{constructor(){super(...arguments),this.options=[]}appendChild(a){return a instanceof y&&(a.parent=this,this.options.push(a)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const a=new f;return this.options.forEach(a.appendChild,a),a}}e.Choice=f;class _ extends k{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(a){const u=this;let h=!1,r=a.replace(this.regexp,function(){return h=!0,u._replace(Array.prototype.slice.call(arguments,0,-2))});return!h&&this._children.some(c=>c instanceof g&&!!c.elseValue)&&(r=this._replace([])),r}_replace(a){let u="";for(const h of this._children)if(h instanceof g){let r=a[h.index]||"";r=h.resolve(r),u+=r}else u+=h.toString();return u}toString(){return""}clone(){const a=new _;return a.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),a._children=this.children.map(u=>u.clone()),a}}e.Transform=_;class g extends k{constructor(a,u,h,r){super(),this.index=a,this.shorthandName=u,this.ifValue=h,this.elseValue=r}resolve(a){return this.shorthandName==="upcase"?a?a.toLocaleUpperCase():"":this.shorthandName==="downcase"?a?a.toLocaleLowerCase():"":this.shorthandName==="capitalize"?a?a[0].toLocaleUpperCase()+a.substr(1):"":this.shorthandName==="pascalcase"?a?this._toPascalCase(a):"":this.shorthandName==="camelcase"?a?this._toCamelCase(a):"":a&&typeof this.ifValue=="string"?this.ifValue:!a&&typeof this.elseValue=="string"?this.elseValue:a||""}_toPascalCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map(h=>h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}_toCamelCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map((h,r)=>r===0?h.charAt(0).toLowerCase()+h.substr(1):h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}clone(){return new g(this.index,this.shorthandName,this.ifValue,this.elseValue)}}e.FormatString=g;class C extends D{constructor(a){super(),this.name=a}resolve(a){let u=a.resolve(this);return this.transform&&(u=this.transform.resolve(u||"")),u!==void 0?(this._children=[new y(u)],!0):!1}clone(){const a=new C(this.name);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Variable=C;function s(t,a){const u=[...t];for(;u.length>0;){const h=u.shift();if(!a(h))break;u.unshift(...h.children)}}class i extends k{get placeholderInfo(){if(!this._placeholders){const a=[];let u;this.walk(function(h){return h instanceof S&&(a.push(h),u=!u||u.indexr===a?(h=!0,!1):(u+=r.len(),!0)),h?u:-1}fullLen(a){let u=0;return s([a],h=>(u+=h.len(),!0)),u}enclosingPlaceholders(a){const u=[];let{parent:h}=a;for(;h;)h instanceof S&&u.push(h),h=h.parent;return u}resolveVariables(a){return this.walk(u=>(u instanceof C&&u.resolve(a)&&(this._placeholders=void 0),!0)),this}appendChild(a){return this._placeholders=void 0,super.appendChild(a)}replace(a,u){return this._placeholders=void 0,super.replace(a,u)}clone(){const a=new i;return this._children=this.children.map(u=>u.clone()),a}walk(a){s(this.children,a)}}e.TextmateSnippet=i;class n{constructor(){this._scanner=new L,this._token={type:14,pos:0,len:0}}static escape(a){return a.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(a){return/\${?CLIPBOARD/.test(a)}parse(a,u,h){const r=new i;return this.parseFragment(a,r),this.ensureFinalTabstop(r,h??!1,u??!1),r}parseFragment(a,u){const h=u.children.length;for(this._scanner.text(a),this._token=this._scanner.next();this._parse(u););const r=new Map,c=[];u.walk(l=>(l instanceof S&&(l.isFinalTabstop?r.set(0,void 0):!r.has(l.index)&&l.children.length>0?r.set(l.index,l.children):c.push(l)),!0));const o=(l,p)=>{const m=r.get(l.index);if(!m)return;const v=new S(l.index);v.transform=l.transform;for(const b of m){const w=b.clone();v.appendChild(w),w instanceof S&&r.has(w.index)&&!p.has(w.index)&&(p.add(w.index),o(w,p),p.delete(w.index))}u.replace(l,[v])},d=new Set;for(const l of c)o(l,d);return u.children.slice(h)}ensureFinalTabstop(a,u,h){(u||h&&a.placeholders.length>0)&&(a.placeholders.find(c=>c.index===0)||a.appendChild(new S(0)))}_accept(a,u){if(a===void 0||this._token.type===a){const h=u?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),h}return!1}_backTo(a){return this._scanner.pos=a.pos+a.len,this._token=a,!1}_until(a){const u=this._token;for(;this._token.type!==a;){if(this._token.type===14)return!1;if(this._token.type===5){const r=this._scanner.next();if(r.type!==0&&r.type!==4&&r.type!==5)return!1}this._token=this._scanner.next()}const h=this._scanner.value.substring(u.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),h}_parse(a){return this._parseEscaped(a)||this._parseTabstopOrVariableName(a)||this._parseComplexPlaceholder(a)||this._parseComplexVariable(a)||this._parseAnything(a)}_parseEscaped(a){let u;return(u=this._accept(5,!0))?(u=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||u,a.appendChild(new y(u)),!0):!1}_parseTabstopOrVariableName(a){let u;const h=this._token;return this._accept(0)&&(u=this._accept(9,!0)||this._accept(8,!0))?(a.appendChild(/^\d+$/.test(u)?new S(Number(u)):new C(u)),!0):this._backTo(h)}_parseComplexPlaceholder(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(8,!0))))return this._backTo(h);const c=new S(Number(u));if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else if(c.index>0&&this._accept(7)){const o=new f;for(;;){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(c.appendChild(o),this._accept(4)))return a.appendChild(c),!0}return this._backTo(h),!1}}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseChoiceElement(a){const u=this._token,h=[];for(;!(this._token.type===2||this._token.type===7);){let r;if((r=this._accept(5,!0))?r=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:r=this._accept(void 0,!0),!r)return this._backTo(u),!1;h.push(r)}return h.length===0?(this._backTo(u),!1):(a.appendChild(new y(h.join(""))),!0)}_parseComplexVariable(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(9,!0))))return this._backTo(h);const c=new C(u);if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseTransform(a){const u=new _;let h="",r="";for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(6,!0)||c,h+=c;continue}if(this._token.type!==14){h+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(5,!0)||this._accept(6,!0)||c,u.appendChild(new y(c));continue}if(!(this._parseFormatString(u)||this._parseAnything(u)))return!1}for(;!this._accept(4);){if(this._token.type!==14){r+=this._accept(void 0,!0);continue}return!1}try{u.regexp=new RegExp(h,r)}catch{return!1}return a.transform=u,!0}_parseFormatString(a){const u=this._token;if(!this._accept(0))return!1;let h=!1;this._accept(3)&&(h=!0);const r=this._accept(8,!0);if(r)if(h){if(this._accept(4))return a.appendChild(new g(Number(r))),!0;if(!this._accept(1))return this._backTo(u),!1}else return a.appendChild(new g(Number(r))),!0;else return this._backTo(u),!1;if(this._accept(6)){const c=this._accept(9,!0);return!c||!this._accept(4)?(this._backTo(u),!1):(a.appendChild(new g(Number(r),c)),!0)}else if(this._accept(11)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,c,void 0)),!0}else if(this._accept(12)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}else if(this._accept(13)){const c=this._until(1);if(c){const o=this._until(4);if(o)return a.appendChild(new g(Number(r),void 0,c,o)),!0}}else{const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}return this._backTo(u),!1}_parseAnything(a){return this._token.type!==14?(a.appendChild(new y(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}e.SnippetParser=n}),define(ne[299],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModel=e.StickyElement=e.StickyRange=void 0;class L{constructor(S,f){this.startLineNumber=S,this.endLineNumber=f}}e.StickyRange=L;class k{constructor(S,f,_){this.range=S,this.children=f,this.parent=_}}e.StickyElement=k;class y{constructor(S,f,_,g){this.uri=S,this.version=f,this.element=_,this.outlineProviderId=g}}e.StickyModel=y}),define(ne[300],se([1,0,14,72,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompletionModel=e.LineContext=void 0;class D{constructor(_,g){this.leadingLineContent=_,this.characterCountDelta=g}}e.LineContext=D;class S{constructor(_,g,C,s,i,n,t=k.FuzzyScoreOptions.default,a=void 0){this.clipboardText=a,this._snippetCompareFn=S._compareCompletionItems,this._items=_,this._column=g,this._wordDistance=s,this._options=i,this._refilterKind=1,this._lineContext=C,this._fuzzyScoreOptions=t,n==="top"?this._snippetCompareFn=S._compareCompletionItemsSnippetsUp:n==="bottom"&&(this._snippetCompareFn=S._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(_){(this._lineContext.leadingLineContent!==_.leadingLineContent||this._lineContext.characterCountDelta!==_.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<_.characterCountDelta&&this._filteredItems?2:1,this._lineContext=_)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();const _=new Set;for(const[g,C]of this.getItemsByProvider())C.length>0&&C[0].container.incomplete&&_.add(g);return _}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;const _=[],{leadingLineContent:g,characterCountDelta:C}=this._lineContext;let s="",i="";const n=this._refilterKind===1?this._items:this._filteredItems,t=[],a=!this._options.filterGraceful||n.length>2e3?k.fuzzyScore:k.fuzzyScoreGracefulAggressive;for(let u=0;u=o)h.score=k.FuzzyScore.Default;else if(typeof h.completion.filterText=="string"){const l=a(s,i,d,h.completion.filterText,h.filterTextLow,0,this._fuzzyScoreOptions);if(!l)continue;(0,y.compareIgnoreCase)(h.completion.filterText,h.textLabel)===0?h.score=l:(h.score=(0,k.anyScore)(s,i,d,h.textLabel,h.labelLow,0),h.score[0]=l[0])}else{const l=a(s,i,d,h.textLabel,h.labelLow,0,this._fuzzyScoreOptions);if(!l)continue;h.score=l}}h.idx=u,h.distance=this._wordDistance.distance(h.position,h.completion),t.push(h),_.push(h.textLabel.length)}this._filteredItems=t.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:_.length?(0,L.quickSelect)(_.length-.85,_,(u,h)=>u-h):0}}static _compareCompletionItems(_,g){return _.score[0]>g.score[0]?-1:_.score[0]g.distance?1:_.idxg.idx?1:0}static _compareCompletionItemsSnippetsDown(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return 1;if(g.completion.kind===27)return-1}return S._compareCompletionItems(_,g)}static _compareCompletionItemsSnippetsUp(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return-1;if(g.completion.kind===27)return 1}return S._compareCompletionItems(_,g)}}e.CompletionModel=S}),define(ne[548],se([1,0,14,2,121]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommitCharacterController=void 0;class D{constructor(f,_,g,C){this._disposables=new k.DisposableStore,this._disposables.add(g.onDidSuggest(s=>{s.completionModel.items.length===0&&this.reset()})),this._disposables.add(g.onDidCancel(s=>{this.reset()})),this._disposables.add(_.onDidShow(()=>this._onItem(_.getFocusedItem()))),this._disposables.add(_.onDidFocus(this._onItem,this)),this._disposables.add(_.onDidHide(this.reset,this)),this._disposables.add(f.onWillType(s=>{if(this._active&&!_.isFrozen()&&g.state!==0){const i=s.charCodeAt(s.length-1);this._active.acceptCharacters.has(i)&&f.getOption(0)&&C(this._active.item)}}))}_onItem(f){if(!f||!(0,L.isNonEmptyArray)(f.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===f.item)return;const _=new y.CharacterSet;for(const g of f.item.completion.commitCharacters)g.length>0&&_.add(g.charCodeAt(0));this._active={acceptCharacters:_,item:f}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}e.CommitCharacterController=D}),define(ne[549],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OvertypingCapturer=void 0;class k{constructor(D,S){this._disposables=new L.DisposableStore,this._lastOvertyped=[],this._locked=!1,this._disposables.add(D.onWillType(()=>{if(this._locked||!D.hasModel())return;const f=D.getSelections(),_=f.length;let g=!1;for(let s=0;s<_;s++)if(!f[s].isEmpty()){g=!0;break}if(!g){this._lastOvertyped.length!==0&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];const C=D.getModel();for(let s=0;s<_;s++){const i=f[s];if(C.getValueLengthInRange(i)>k._maxSelectionLength)return;this._lastOvertyped[s]={value:C.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(S.onDidTrigger(f=>{this._locked=!0})),this._disposables.add(S.onDidCancel(f=>{this._locked=!1}))}getLastOvertypedInfo(D){if(D>=0&&D=0?h[r]:h[Math.max(0,~r-1)];let o=s.length;for(const d of s){if(!k.Range.containsRange(d.range,c))break;o-=1}return o}}})}}e.WordDistance=D,D.None=new class extends D{distance(){return 0}}}),define(ne[302],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stateExists=e.findRules=e.substituteMatches=e.createError=e.log=e.sanitize=e.fixCase=e.empty=e.isIAction=e.isString=e.isFuzzyAction=e.isFuzzyActionArr=void 0;function L(t){return Array.isArray(t)}e.isFuzzyActionArr=L;function k(t){return!L(t)}e.isFuzzyAction=k;function y(t){return typeof t=="string"}e.isString=y;function D(t){return!y(t)}e.isIAction=D;function S(t){return!t}e.empty=S;function f(t,a){return t.ignoreCase&&a?a.toLowerCase():a}e.fixCase=f;function _(t){return t.replace(/[&<>'"_]/g,"-")}e.sanitize=_;function g(t,a){console.log(`${t.languageId}: ${a}`)}e.log=g;function C(t,a){return new Error(`${t.languageId}: ${a}`)}e.createError=C;function s(t,a,u,h,r){const c=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let o=null;return a.replace(c,function(d,l,p,m,v,b,w,E,I){return S(p)?S(m)?!S(v)&&v0;){const h=t.tokenizer[u];if(h)return h;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return null}e.findRules=i;function n(t,a){let u=a;for(;u&&u.length>0;){if(t.stateNames[u])return!0;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return!1}e.stateExists=n}),define(ne[550],se([1,0,302]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compile=void 0;function k(t,a){if(!a||!Array.isArray(a))return!1;for(const u of a)if(!t(u))return!1;return!0}function y(t,a){return typeof t=="boolean"?t:a}function D(t,a){return typeof t=="string"?t:a}function S(t){const a={};for(const u of t)a[u]=!0;return a}function f(t,a=!1){a&&(t=t.map(function(h){return h.toLowerCase()}));const u=S(t);return a?function(h){return u[h.toLowerCase()]!==void 0&&u.hasOwnProperty(h.toLowerCase())}:function(h){return u[h]!==void 0&&u.hasOwnProperty(h)}}function _(t,a){a=a.replace(/@@/g,"");let u=0,h;do h=!1,a=a.replace(/@(\w+)/g,function(c,o){h=!0;let d="";if(typeof t[o]=="string")d=t[o];else if(t[o]&&t[o]instanceof RegExp)d=t[o].source;else throw t[o]===void 0?L.createError(t,"language definition does not contain attribute '"+o+"', used at: "+a):L.createError(t,"attribute reference '"+o+"' must be a string, used at: "+a);return L.empty(d)?"":"(?:"+d+")"}),u++;while(h&&u<5);a=a.replace(/\x01/g,"@");const r=(t.ignoreCase?"i":"")+(t.unicode?"u":"");return new RegExp(a,r)}function g(t,a,u,h){if(h<0)return t;if(h=100){h=h-100;const r=u.split(".");if(r.unshift(u),h=0&&(h.tokenSubst=!0),typeof u.bracket=="string")if(u.bracket==="@open")h.bracket=1;else if(u.bracket==="@close")h.bracket=-1;else throw L.createError(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+a);if(u.next){if(typeof u.next!="string")throw L.createError(t,"the next state must be a string value in rule: "+a);{let r=u.next;if(!/^(@pop|@push|@popall)$/.test(r)&&(r[0]==="@"&&(r=r.substr(1)),r.indexOf("$")<0&&!L.stateExists(t,L.substituteMatches(t,r,"",[],""))))throw L.createError(t,"the next state '"+u.next+"' is not defined in rule: "+a);h.next=r}}return typeof u.goBack=="number"&&(h.goBack=u.goBack),typeof u.switchTo=="string"&&(h.switchTo=u.switchTo),typeof u.log=="string"&&(h.log=u.log),typeof u.nextEmbedded=="string"&&(h.nextEmbedded=u.nextEmbedded,t.usesEmbedded=!0),h}}else if(Array.isArray(u)){const h=[];for(let r=0,c=u.length;r0&&h[0]==="^",this.name=this.name+": "+h,this.regex=_(a,"^(?:"+(this.matchOnlyAtLineStart?h.substr(1):h)+")")}setAction(a,u){this.action=s(a,this.name,u)}}function n(t,a){if(!a||typeof a!="object")throw new Error("Monarch: expecting a language definition object");const u={};u.languageId=t,u.includeLF=y(a.includeLF,!1),u.noThrow=!1,u.maxStack=100,u.start=typeof a.start=="string"?a.start:null,u.ignoreCase=y(a.ignoreCase,!1),u.unicode=y(a.unicode,!1),u.tokenPostfix=D(a.tokenPostfix,"."+u.languageId),u.defaultToken=D(a.defaultToken,"source"),u.usesEmbedded=!1;const h=a;h.languageId=t,h.includeLF=u.includeLF,h.ignoreCase=u.ignoreCase,h.unicode=u.unicode,h.noThrow=u.noThrow,h.usesEmbedded=u.usesEmbedded,h.stateNames=a.tokenizer,h.defaultToken=u.defaultToken;function r(o,d,l){for(const p of l){let m=p.include;if(m){if(typeof m!="string")throw L.createError(u,"an 'include' attribute must be a string at: "+o);if(m[0]==="@"&&(m=m.substr(1)),!a.tokenizer[m])throw L.createError(u,"include target '"+m+"' is not defined at: "+o);r(o+"."+m,d,a.tokenizer[m])}else{const v=new i(o);if(Array.isArray(p)&&p.length>=1&&p.length<=3)if(v.setRegex(h,p[0]),p.length>=3)if(typeof p[1]=="string")v.setAction(h,{token:p[1],next:p[2]});else if(typeof p[1]=="object"){const b=p[1];b.next=p[2],v.setAction(h,b)}else throw L.createError(u,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+o);else v.setAction(h,p[1]);else{if(!p.regex)throw L.createError(u,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+o);p.name&&typeof p.name=="string"&&(v.name=p.name),p.matchOnlyAtStart&&(v.matchOnlyAtLineStart=y(p.matchOnlyAtLineStart,!1)),v.setRegex(h,p.regex),v.setAction(h,p.action)}d.push(v)}}}if(!a.tokenizer||typeof a.tokenizer!="object")throw L.createError(u,"a language definition must define the 'tokenizer' attribute as an object");u.tokenizer=[];for(const o in a.tokenizer)if(a.tokenizer.hasOwnProperty(o)){u.start||(u.start=o);const d=a.tokenizer[o];u.tokenizer[o]=new Array,r("tokenizer."+o,u.tokenizer[o],d)}if(u.usesEmbedded=h.usesEmbedded,a.brackets){if(!Array.isArray(a.brackets))throw L.createError(u,"the 'brackets' attribute must be defined as an array")}else a.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const c=[];for(const o of a.brackets){let d=o;if(d&&Array.isArray(d)&&d.length===3&&(d={token:d[2],open:d[0],close:d[1]}),d.open===d.close)throw L.createError(u,"open and close brackets in a 'brackets' attribute must be different: "+d.open+` - hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof d.open=="string"&&typeof d.token=="string"&&typeof d.close=="string")c.push({token:d.token+u.tokenPostfix,open:L.fixCase(u,d.open),close:L.fixCase(u,d.close)});else throw L.createError(u,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return u.brackets=c,u.noThrow=!0,u}e.compile=n}),define(ne[551],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/actionbar/actionViewItems",e)}),define(ne[552],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInput",e)}),define(ne[553],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInputToggles",e)}),define(ne[554],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/replaceInput",e)}),define(ne[555],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/hover/hoverWidget",e)}),define(ne[556],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/iconLabel/iconLabelHover",e)}),define(ne[557],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/inputbox/inputBox",e)}),define(ne[558],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/keybindingLabel/keybindingLabel",e)}),define(ne[559],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/selectBox/selectBoxCustom",e)}),define(ne[560],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/toolbar/toolbar",e)}),define(ne[561],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/tree/abstractTree",e)}),define(ne[562],se([3,4]),function(Q,e){return Q.create("vs/base/common/actions",e)}),define(ne[39],se([1,0,6,2,562]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toAction=e.EmptySubmenuAction=e.SubmenuAction=e.Separator=e.ActionRunner=e.Action=void 0;class D extends k.Disposable{constructor(i,n="",t="",a=!0,u){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=i,this._label=n,this._cssClass=t,this._enabled=a,this._actionCallback=u}get id(){return this._id}get label(){return this._label}set label(i){this._setLabel(i)}_setLabel(i){this._label!==i&&(this._label=i,this._onDidChange.fire({label:i}))}get tooltip(){return this._tooltip||""}set tooltip(i){this._setTooltip(i)}_setTooltip(i){this._tooltip!==i&&(this._tooltip=i,this._onDidChange.fire({tooltip:i}))}get class(){return this._cssClass}set class(i){this._setClass(i)}_setClass(i){this._cssClass!==i&&(this._cssClass=i,this._onDidChange.fire({class:i}))}get enabled(){return this._enabled}set enabled(i){this._setEnabled(i)}_setEnabled(i){this._enabled!==i&&(this._enabled=i,this._onDidChange.fire({enabled:i}))}get checked(){return this._checked}set checked(i){this._setChecked(i)}_setChecked(i){this._checked!==i&&(this._checked=i,this._onDidChange.fire({checked:i}))}run(i,n){return we(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(i))})}}e.Action=D;class S extends k.Disposable{constructor(){super(...arguments),this._onWillRun=this._register(new L.Emitter),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new L.Emitter),this.onDidRun=this._onDidRun.event}run(i,n){return we(this,void 0,void 0,function*(){if(!i.enabled)return;this._onWillRun.fire({action:i});let t;try{yield this.runAction(i,n)}catch(a){t=a}this._onDidRun.fire({action:i,error:t})})}runAction(i,n){return we(this,void 0,void 0,function*(){yield i.run(n)})}}e.ActionRunner=S;class f{constructor(){this.id=f.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...i){let n=[];for(const t of i)t.length&&(n.length?n=[...n,new f,...t]:n=t);return n}run(){return we(this,void 0,void 0,function*(){})}}e.Separator=f,f.ID="vs.actions.separator";class _{get actions(){return this._actions}constructor(i,n,t,a){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=i,this.label=n,this.class=a,this._actions=t}run(){return we(this,void 0,void 0,function*(){})}}e.SubmenuAction=_;class g extends D{constructor(){super(g.ID,y.localize(0,null),void 0,!1)}}e.EmptySubmenuAction=g,g.ID="vs.actions.empty";function C(s){var i,n;return{id:s.id,label:s.label,class:void 0,enabled:(i=s.enabled)!==null&&i!==void 0?i:!0,checked:(n=s.checked)!==null&&n!==void 0?n:!1,run:()=>we(this,void 0,void 0,function*(){return s.run()}),tooltip:s.label}}e.toAction=C}),define(ne[563],se([3,4]),function(Q,e){return Q.create("vs/base/common/errorMessage",e)}),define(ne[564],se([1,0,14,20,563]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toErrorMessage=void 0;function D(g,C){return C&&(g.stack||g.stacktrace)?y.localize(0,null,f(g),S(g.stack)||S(g.stacktrace)):f(g)}function S(g){return Array.isArray(g)?g.join(` -`):g}function f(g){return g.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${g.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof g.code=="string"&&typeof g.errno=="number"&&typeof g.syscall=="string"?y.localize(1,null,g.message):g.message||y.localize(2,null)}function _(g=null,C=!1){if(!g)return y.localize(3,null);if(Array.isArray(g)){const s=L.coalesce(g),i=_(s[0],C);return s.length>1?y.localize(4,null,i,s.length):i}if(k.isString(g))return g;if(g.detail){const s=g.detail;if(s.error)return D(s.error,C);if(s.exception)return D(s.exception,C)}return g.stack?D(g,C):g.message?g.message:y.localize(5,null)}e.toErrorMessage=_}),define(ne[565],se([3,4]),function(Q,e){return Q.create("vs/base/common/keybindingLabels",e)}),define(ne[216],se([1,0,565]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserSettingsLabelProvider=e.ElectronAcceleratorLabelProvider=e.AriaLabelProvider=e.UILabelProvider=e.ModifierLabelProvider=void 0;class k{constructor(S,f,_=f){this.modifierLabels=[null],this.modifierLabels[2]=S,this.modifierLabels[1]=f,this.modifierLabels[3]=_}toLabel(S,f,_){if(f.length===0)return null;const g=[];for(let C=0,s=f.length;C=0,D=r.indexOf("Macintosh")>=0,s=(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,S=r.indexOf("Linux")>=0,n=r?.indexOf("Mobi")>=0,g=!0,t=L.getConfiguredDefaultLocale(L.localize(0,null))||e.LANGUAGE_DEFAULT,a=t,u=navigator.language;else if(typeof c=="object"){y=c.platform==="win32",D=c.platform==="darwin",S=c.platform==="linux",f=S&&!!c.env.SNAP&&!!c.env.SNAP_REVISION,C=o,i=!!c.env.CI||!!c.env.BUILD_ARTIFACTSTAGINGDIRECTORY,t=e.LANGUAGE_DEFAULT,a=e.LANGUAGE_DEFAULT;const b=c.env.VSCODE_NLS_CONFIG;if(b)try{const w=JSON.parse(b),E=w.availableLanguages["*"];t=w.locale,u=w.osLocale,a=E||e.LANGUAGE_DEFAULT,h=w._translationsConfigFile}catch{}_=!0}else console.error("Unable to resolve platform.");let l=0;D?l=1:y?l=3:S&&(l=2),e.isWindows=y,e.isMacintosh=D,e.isLinux=S,e.isNative=_,e.isWeb=g,e.isWebWorker=g&&typeof e.globals.importScripts=="function",e.isIOS=s,e.isMobile=n,e.userAgent=r,e.language=a,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const b=[];e.globals.addEventListener("message",E=>{if(E.data&&E.data.vscodeScheduleAsyncWork)for(let I=0,M=b.length;I{const I=++w;b.push({id:I,callback:E}),e.globals.postMessage({vscodeScheduleAsyncWork:I},"*")}}return b=>setTimeout(b)})(),e.OS=D||s?2:y?1:3;let p=!0,m=!1;function v(){if(!m){m=!0;const b=new Uint8Array(2);b[0]=1,b[1]=2,p=new Uint16Array(b.buffer)[0]===(2<<8)+1}return p}e.isLittleEndian=v,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(ne[217],se([1,0,52,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserFeatures=void 0,e.BrowserFeatures={clipboard:{writeText:k.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:k.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>k.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(ne[44],se([1,0,52,63,119,17]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardKeyboardEvent=void 0;function S(i){if(i.charCode){const t=String.fromCharCode(i.charCode).toUpperCase();return k.KeyCodeUtils.fromString(t)}const n=i.keyCode;if(n===3)return 7;if(L.isFirefox)switch(n){case 59:return 85;case 60:if(D.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(D.isMacintosh)return 57;break}else if(L.isWebKit){if(D.isMacintosh&&n===93)return 57;if(!D.isMacintosh&&n===92)return 57}return k.EVENT_KEY_CODE_MAP[n]||0}const f=D.isMacintosh?256:2048,_=512,g=1024,C=D.isMacintosh?2048:256;class s{constructor(n){this._standardKeyboardEventBrand=!0;const t=n;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=S(t),this.code=t.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._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(n){return this._asKeybinding===n}_computeKeybinding(){let n=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode);let t=0;return this.ctrlKey&&(t|=f),this.altKey&&(t|=_),this.shiftKey&&(t|=g),this.metaKey&&(t|=C),t|=n,t}_computeKeyCodeChord(){let n=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode),new y.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,n)}}e.StandardKeyboardEvent=s}),define(ne[60],se([1,0,52,380,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardWheelEvent=e.StandardMouseEvent=void 0;class D{constructor(_){this.timestamp=Date.now(),this.browserEvent=_,this.leftButton=_.button===0,this.middleButton=_.button===1,this.rightButton=_.button===2,this.buttons=_.buttons,this.target=_.target,this.detail=_.detail||1,_.type==="dblclick"&&(this.detail=2),this.ctrlKey=_.ctrlKey,this.shiftKey=_.shiftKey,this.altKey=_.altKey,this.metaKey=_.metaKey,typeof _.pageX=="number"?(this.posx=_.pageX,this.posy=_.pageY):(this.posx=_.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=_.clientY+document.body.scrollTop+document.documentElement.scrollTop);const g=k.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(window,_.view);this.posx-=g.left,this.posy-=g.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}e.StandardMouseEvent=D;class S{constructor(_,g=0,C=0){if(this.browserEvent=_||null,this.target=_?_.target||_.targetNode||_.srcElement:null,this.deltaY=C,this.deltaX=g,_){const s=_,i=_;if(typeof s.wheelDeltaY<"u")this.deltaY=s.wheelDeltaY/120;else if(typeof i.VERTICAL_AXIS<"u"&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaY=-_.deltaY/3:this.deltaY=-_.deltaY:this.deltaY=-_.deltaY/40}if(typeof s.wheelDeltaX<"u")L.isSafari&&y.isWindows?this.deltaX=-(s.wheelDeltaX/120):this.deltaX=s.wheelDeltaX/120;else if(typeof i.HORIZONTAL_AXIS<"u"&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-_.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaX=-_.deltaX/3:this.deltaX=-_.deltaX:this.deltaX=-_.deltaX/40}this.deltaY===0&&this.deltaX===0&&_.wheelDelta&&(this.deltaY=_.wheelDelta/120)}}preventDefault(){var _;(_=this.browserEvent)===null||_===void 0||_.preventDefault()}stopPropagation(){var _;(_=this.browserEvent)===null||_===void 0||_.stopPropagation()}}e.StandardWheelEvent=S});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[13],se([1,0,19,9,6,2,17,264]),function(Q,e,L,k,y,D,S,f){"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.Throttler=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function _(E){return!!E&&typeof E.then=="function"}e.isThenable=_;function g(E){const I=new L.CancellationTokenSource,M=E(I.token),P=new Promise((x,T)=>{const A=I.token.onCancellationRequested(()=>{A.dispose(),I.dispose(),T(new k.CancellationError)});Promise.resolve(M).then(N=>{A.dispose(),I.dispose(),x(N)},N=>{A.dispose(),I.dispose(),T(N)})});return new class{cancel(){I.cancel()}then(x,T){return P.then(x,T)}catch(x){return this.then(void 0,x)}finally(x){return P.finally(x)}}}e.createCancelablePromise=g;function C(E,I,M){return new Promise((P,x)=>{const T=I.onCancellationRequested(()=>{T.dispose(),P(M)});E.then(P,x).finally(()=>T.dispose())})}e.raceCancellation=C;class s{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(I){if(this.isDisposed)throw new Error("Throttler is disposed");if(this.activePromise){if(this.queuedPromiseFactory=I,!this.queuedPromise){const M=()=>{if(this.queuedPromise=null,this.isDisposed)return;const P=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,P};this.queuedPromise=new Promise(P=>{this.activePromise.then(M,M).then(P)})}return new Promise((M,P)=>{this.queuedPromise.then(M,P)})}return this.activePromise=I(),new Promise((M,P)=>{this.activePromise.then(x=>{this.activePromise=null,M(x)},x=>{this.activePromise=null,P(x)})})}dispose(){this.isDisposed=!0}}e.Throttler=s;const i=(E,I)=>{let M=!0;const P=setTimeout(()=>{M=!1,I()},E);return{isTriggered:()=>M,dispose:()=>{clearTimeout(P),M=!1}}},n=E=>{let I=!0;return queueMicrotask(()=>{I&&(I=!1,E())}),{isTriggered:()=>I,dispose:()=>{I=!1}}};class t{constructor(I){this.defaultDelay=I,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(I,M=this.defaultDelay){this.task=I,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((x,T)=>{this.doResolve=x,this.doReject=T}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const x=this.task;return this.task=null,x()}}));const P=()=>{var x;this.deferred=null,(x=this.doResolve)===null||x===void 0||x.call(this,null)};return this.deferred=M===f.MicrotaskDelay?n(P):i(M,P),this.completionPromise}isTriggered(){var I;return!!(!((I=this.deferred)===null||I===void 0)&&I.isTriggered())}cancel(){var I;this.cancelTimeout(),this.completionPromise&&((I=this.doReject)===null||I===void 0||I.call(this,new k.CancellationError),this.completionPromise=null)}cancelTimeout(){var I;(I=this.deferred)===null||I===void 0||I.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=t;class a{constructor(I){this.delayer=new t(I),this.throttler=new s}trigger(I,M){return this.delayer.trigger(()=>this.throttler.queue(I),M)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}e.ThrottledDelayer=a;function u(E,I){return I?new Promise((M,P)=>{const x=setTimeout(()=>{T.dispose(),M()},E),T=I.onCancellationRequested(()=>{clearTimeout(x),T.dispose(),P(new k.CancellationError)})}):g(M=>u(E,M))}e.timeout=u;function h(E,I=0){const M=setTimeout(E,I);return(0,D.toDisposable)(()=>clearTimeout(M))}e.disposableTimeout=h;function r(E,I=P=>!!P,M=null){let P=0;const x=E.length,T=()=>{if(P>=x)return Promise.resolve(M);const A=E[P++];return Promise.resolve(A()).then(F=>I(F)?Promise.resolve(F):T())};return T()}e.first=r;class c{constructor(I,M){this._token=-1,typeof I=="function"&&typeof M=="number"&&this.setIfNotSet(I,M)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setTimeout(()=>{this._token=-1,I()},M)}setIfNotSet(I,M){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,I()},M))}}e.TimeoutTimer=c;class o{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setInterval(()=>{I()},M)}}e.IntervalTimer=o;class d{constructor(I,M){this.timeoutToken=-1,this.runner=I,this.timeout=M,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(I=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,I)}get delay(){return this.timeout}set delay(I){this.timeout=I}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var I;(I=this.runner)===null||I===void 0||I.call(this)}}e.RunOnceScheduler=d,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=E=>{(0,S.setTimeout0)(()=>{if(I)return;const M=Date.now()+15;E(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,M-Date.now())}}))});let I=!1;return{dispose(){I||(I=!0)}}}:e.runWhenIdle=(E,I)=>{const M=requestIdleCallback(E,typeof I=="number"?{timeout:I}:void 0);let P=!1;return{dispose(){P||(P=!0,cancelIdleCallback(M))}}}}();class l{constructor(I){this._didRun=!1,this._executor=()=>{try{this._value=I()}catch(M){this._error=M}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=l;class p{get isRejected(){var I;return((I=this.outcome)===null||I===void 0?void 0:I.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((I,M)=>{this.completeCallback=I,this.errorCallback=M})}complete(I){return new Promise(M=>{this.completeCallback(I),this.outcome={outcome:0,value:I},M()})}error(I){return new Promise(M=>{this.errorCallback(I),this.outcome={outcome:1,value:I},M()})}cancel(){return this.error(new k.CancellationError)}}e.DeferredPromise=p;var m;(function(E){function I(P){return we(this,void 0,void 0,function*(){let x;const T=yield Promise.all(P.map(A=>A.then(N=>N,N=>{x||(x=N)})));if(typeof x<"u")throw x;return T})}E.settled=I;function M(P){return new Promise((x,T)=>we(this,void 0,void 0,function*(){try{yield P(x,T)}catch(A){T(A)}}))}E.withAsyncBody=M})(m||(e.Promises=m={}));class v{static fromArray(I){return new v(M=>{M.emitMany(I)})}static fromPromise(I){return new v(M=>we(this,void 0,void 0,function*(){M.emitMany(yield I)}))}static fromPromises(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>we(this,void 0,void 0,function*(){return M.emitOne(yield P)})))}))}static merge(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>{var x,T,A;return we(this,void 0,void 0,function*(){var N,F,O,W;try{for(x=!0,T=Lt(P);A=yield T.next(),N=A.done,!N;x=!0){W=A.value,x=!1;const U=W;M.emitOne(U)}}catch(U){F={error:U}}finally{try{!x&&!N&&(O=T.return)&&(yield O.call(T))}finally{if(F)throw F.error}}})}))}))}constructor(I){this._state=0,this._results=[],this._error=null,this._onStateChanged=new y.Emitter,queueMicrotask(()=>we(this,void 0,void 0,function*(){const M={emitOne:P=>this.emitOne(P),emitMany:P=>this.emitMany(P),reject:P=>this.reject(P)};try{yield Promise.resolve(I(M)),this.resolve()}catch(P){this.reject(P)}finally{M.emitOne=void 0,M.emitMany=void 0,M.reject=void 0}}))}[Symbol.asyncIterator](){let I=0;return{next:()=>we(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(Iwe(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;P.emitOne(M(U))}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}map(I){return v.map(this,I)}static filter(I,M){return new v(P=>we(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;M(U)&&P.emitOne(U)}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}filter(I){return v.filter(this,I)}static coalesce(I){return v.filter(I,M=>!!M)}coalesce(){return v.coalesce(this)}static toPromise(I){var M,P,x,T,A,N,F;return we(this,void 0,void 0,function*(){const O=[];try{for(M=!0,P=Lt(I);x=yield P.next(),T=x.done,!T;M=!0){F=x.value,M=!1;const W=F;O.push(W)}}catch(W){A={error:W}}finally{try{!M&&!T&&(N=P.return)&&(yield N.call(P))}finally{if(A)throw A.error}}return O})}toPromise(){return v.toPromise(this)}emitOne(I){this._state===0&&(this._results.push(I),this._onStateChanged.fire())}emitMany(I){this._state===0&&(this._results=this._results.concat(I),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(I){this._state===0&&(this._state=2,this._error=I,this._onStateChanged.fire())}}e.AsyncIterableObject=v,v.EMPTY=v.fromArray([]);class b extends v{constructor(I,M){super(M),this._source=I}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=b;function w(E){const I=new L.CancellationTokenSource,M=E(I.token);return new b(I,P=>we(this,void 0,void 0,function*(){var x,T,A,N;const F=I.token.onCancellationRequested(()=>{F.dispose(),I.dispose(),P.reject(new k.CancellationError)});try{try{for(var O=!0,W=Lt(M),U;U=yield W.next(),x=U.done,!x;O=!0){N=U.value,O=!1;const j=N;if(I.token.isCancellationRequested)return;P.emitOne(j)}}catch(j){T={error:j}}finally{try{!O&&!x&&(A=W.return)&&(yield A.call(W))}finally{if(T)throw T.error}}F.dispose(),I.dispose()}catch(j){F.dispose(),I.dispose(),P.reject(j)}}))}e.createCancelableAsyncIterable=w}),define(ne[567],se([1,0,13,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarVisibilityController=void 0;class y extends k.Disposable{constructor(S,f,_){super(),this._visibility=S,this._visibleClassName=f,this._invisibleClassName=_,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new L.TimeoutTimer)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this._updateShouldBeVisible())}setShouldBeVisible(S){this._rawShouldBeVisible=S,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const S=this._applyVisibilitySetting();this._shouldBeVisible!==S&&(this._shouldBeVisible=S,this.ensureVisibility())}setIsNeeded(S){this._isNeeded!==S&&(this._isNeeded=S,this.ensureVisibility())}setDomNode(S){this._domNode=S,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(()=>{var S;(S=this._domNode)===null||S===void 0||S.setClassName(this._visibleClassName)},0))}_hide(S){var f;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,(f=this._domNode)===null||f===void 0||f.setClassName(this._invisibleClassName+(S?" fade":"")))}}e.ScrollbarVisibilityController=y}),define(ne[218],se([1,0,139,14,13,264,168,6,46]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndexTreeModel=e.getVisibleState=e.isFilterResult=void 0;function g(n){return typeof n=="object"&&"visibility"in n&&"data"in n}e.isFilterResult=g;function C(n){switch(n){case!0:return 1;case!1:return 0;default:return n}}e.getVisibleState=C;function s(n){return typeof n.collapsible=="boolean"}class i{constructor(t,a,u,h={}){this.user=t,this.list=a,this.rootRef=[],this.eventBufferer=new f.EventBufferer,this._onDidChangeCollapseState=new f.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new f.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new f.Emitter,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new y.Delayer(D.MicrotaskDelay),this.collapseByDefault=typeof h.collapseByDefault>"u"?!1:h.collapseByDefault,this.filter=h.filter,this.autoExpandSingleChildren=typeof h.autoExpandSingleChildren>"u"?!1:h.autoExpandSingleChildren,this.root={parent:void 0,element:u,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(t,a,u=_.Iterable.empty(),h={}){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");h.diffIdentityProvider?this.spliceSmart(h.diffIdentityProvider,t,a,u,h):this.spliceSimple(t,a,u,h)}spliceSmart(t,a,u,h,r,c){var o;h===void 0&&(h=_.Iterable.empty()),c===void 0&&(c=(o=r.diffDepth)!==null&&o!==void 0?o:0);const{parentNode:d}=this.getParentNodeWithListIndex(a);if(!d.lastDiffIds)return this.spliceSimple(a,u,h,r);const l=[...h],p=a[a.length-1],m=new S.LcsDiff({getElements:()=>d.lastDiffIds},{getElements:()=>[...d.children.slice(0,p),...l,...d.children.slice(p+u)].map(I=>t.getId(I.element).toString())}).ComputeDiff(!1);if(m.quitEarly)return d.lastDiffIds=void 0,this.spliceSimple(a,u,l,r);const v=a.slice(0,-1),b=(I,M,P)=>{if(c>0)for(let x=0;xP.originalStart-M.originalStart))b(w,E,w-(I.originalStart+I.originalLength)),w=I.originalStart,E=I.modifiedStart-p,this.spliceSimple([...v,w],I.originalLength,_.Iterable.slice(l,E,E+I.modifiedLength),r);b(w,E,w)}spliceSimple(t,a,u=_.Iterable.empty(),{onDidCreateNode:h,onDidDeleteNode:r,diffIdentityProvider:c}){const{parentNode:o,listIndex:d,revealed:l,visible:p}=this.getParentNodeWithListIndex(t),m=[],v=_.Iterable.map(u,F=>this.createTreeNode(F,o,o.visible?1:0,l,m,h)),b=t[t.length-1],w=o.children.length>0;let E=0;for(let F=b;F>=0&&Fc.getId(F.element).toString())):o.lastDiffIds=o.children.map(F=>c.getId(F.element).toString()):o.lastDiffIds=void 0;let T=0;for(const F of x)F.visible&&T++;if(T!==0)for(let F=b+I.length;FO+(W.visible?W.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(o,P-F),this.list.splice(d,F,m)}if(x.length>0&&r){const F=O=>{r(O),O.children.forEach(F)};x.forEach(F)}this._onDidSplice.fire({insertedNodes:I,deletedNodes:x});const A=o.children.length>0;w!==A&&this.setCollapsible(t.slice(0,-1),A);let N=o;for(;N;){if(N.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}N=N.parent}}rerender(t){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");const{node:a,listIndex:u,revealed:h}=this.getTreeNodeWithListIndex(t);a.visible&&h&&this.list.splice(u,1,[a])}has(t){return this.hasTreeNode(t)}getListIndex(t){const{listIndex:a,visible:u,revealed:h}=this.getTreeNodeWithListIndex(t);return u&&h?a:-1}getListRenderCount(t){return this.getTreeNode(t).renderNodeCount}isCollapsible(t){return this.getTreeNode(t).collapsible}setCollapsible(t,a){const u=this.getTreeNode(t);typeof a>"u"&&(a=!u.collapsible);const h={collapsible:a};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,h))}isCollapsed(t){return this.getTreeNode(t).collapsed}setCollapsed(t,a,u){const h=this.getTreeNode(t);typeof a>"u"&&(a=!h.collapsed);const r={collapsed:a,recursive:u||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,r))}_setCollapseState(t,a){const{node:u,listIndex:h,revealed:r}=this.getTreeNodeWithListIndex(t),c=this._setListNodeCollapseState(u,h,r,a);if(u!==this.root&&this.autoExpandSingleChildren&&c&&!s(a)&&u.collapsible&&!u.collapsed&&!a.recursive){let o=-1;for(let d=0;d-1){o=-1;break}else o=d;o>-1&&this._setCollapseState([...t,o],a)}return c}_setListNodeCollapseState(t,a,u,h){const r=this._setNodeCollapseState(t,h,!1);if(!u||!t.visible||!r)return r;const c=t.renderNodeCount,o=this.updateNodeAfterCollapseChange(t),d=c-(a===-1?0:1);return this.list.splice(a+1,d,o.slice(1)),r}_setNodeCollapseState(t,a,u){let h;if(t===this.root?h=!1:(s(a)?(h=t.collapsible!==a.collapsible,t.collapsible=a.collapsible):t.collapsible?(h=t.collapsed!==a.collapsed,t.collapsed=a.collapsed):h=!1,h&&this._onDidChangeCollapseState.fire({node:t,deep:u})),!s(a)&&a.recursive)for(const r of t.children)h=this._setNodeCollapseState(r,a,!0)||h;return h}expandTo(t){this.eventBufferer.bufferEvents(()=>{let a=this.getTreeNode(t);for(;a.parent;)a=a.parent,t=t.slice(0,t.length-1),a.collapsed&&this._setCollapseState(t,{collapsed:!1,recursive:!1})})}refilter(){const t=this.root.renderNodeCount,a=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,t,a),this.refilterDelayer.cancel()}createTreeNode(t,a,u,h,r,c){const o={parent:a,element:t.element,children:[],depth:a.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof t.collapsible=="boolean"?t.collapsible:typeof t.collapsed<"u",collapsed:typeof t.collapsed>"u"?this.collapseByDefault:t.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},d=this._filterNode(o,u);o.visibility=d,h&&r.push(o);const l=t.children||_.Iterable.empty(),p=h&&d!==0&&!o.collapsed;let m=0,v=1;for(const b of l){const w=this.createTreeNode(b,o,d,p,r,c);o.children.push(w),v+=w.renderNodeCount,w.visible&&(w.visibleChildIndex=m++)}return o.collapsible=o.collapsible||o.children.length>0,o.visibleChildrenCount=m,o.visible=d===2?m>0:d===1,o.visible?o.collapsed||(o.renderNodeCount=v):(o.renderNodeCount=0,h&&r.pop()),c?.(o),o}updateNodeAfterCollapseChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterCollapseChange(t,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterCollapseChange(t,a){if(t.visible===!1)return 0;if(a.push(t),t.renderNodeCount=1,!t.collapsed)for(const u of t.children)t.renderNodeCount+=this._updateNodeAfterCollapseChange(u,a);return this._onDidChangeRenderNodeCount.fire(t),t.renderNodeCount}updateNodeAfterFilterChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterFilterChange(t,t.visible?1:0,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterFilterChange(t,a,u,h=!0){let r;if(t!==this.root){if(r=this._filterNode(t,a),r===0)return t.visible=!1,t.renderNodeCount=0,!1;h&&u.push(t)}const c=u.length;t.renderNodeCount=t===this.root?0:1;let o=!1;if(!t.collapsed||r!==0){let d=0;for(const l of t.children)o=this._updateNodeAfterFilterChange(l,r,u,h&&!t.collapsed)||o,l.visible&&(l.visibleChildIndex=d++);t.visibleChildrenCount=d}else t.visibleChildrenCount=0;return t!==this.root&&(t.visible=r===2?o:r===1,t.visibility=r),t.visible?t.collapsed||(t.renderNodeCount+=u.length-c):(t.renderNodeCount=0,h&&u.pop()),this._onDidChangeRenderNodeCount.fire(t),t.visible}_updateAncestorsRenderNodeCount(t,a){if(a!==0)for(;t;)t.renderNodeCount+=a,this._onDidChangeRenderNodeCount.fire(t),t=t.parent}_filterNode(t,a){const u=this.filter?this.filter.filter(t.element,a):1;return typeof u=="boolean"?(t.filterData=void 0,u?1:0):g(u)?(t.filterData=u.data,C(u.visibility)):(t.filterData=void 0,C(u))}hasTreeNode(t,a=this.root){if(!t||t.length===0)return!0;const[u,...h]=t;return u<0||u>a.children.length?!1:this.hasTreeNode(h,a.children[u])}getTreeNode(t,a=this.root){if(!t||t.length===0)return a;const[u,...h]=t;if(u<0||u>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");return this.getTreeNode(h,a.children[u])}getTreeNodeWithListIndex(t){if(t.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:a,listIndex:u,revealed:h,visible:r}=this.getParentNodeWithListIndex(t),c=t[t.length-1];if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");const o=a.children[c];return{node:o,listIndex:u,revealed:h,visible:r&&o.visible}}getParentNodeWithListIndex(t,a=this.root,u=0,h=!0,r=!0){const[c,...o]=t;if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");for(let d=0;d{var a;if(t.element===null)return;const u=t;if(C.add(u.element),this.nodes.set(u.element,u),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.add(h),this.nodesByIdentity.set(h,u)}(a=g.onDidCreateNode)===null||a===void 0||a.call(g,u)},n=t=>{var a;if(t.element===null)return;const u=t;if(C.has(u.element)||this.nodes.delete(u.element),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.has(h)||this.nodesByIdentity.delete(h)}(a=g.onDidDeleteNode)===null||a===void 0||a.call(g,u)};this.model.splice([...f,0],Number.MAX_VALUE,_,Object.assign(Object.assign({},g),{onDidCreateNode:i,onDidDeleteNode:n}))}preserveCollapseState(f=y.Iterable.empty()){return this.sorter&&(f=[...f].sort(this.sorter.compare.bind(this.sorter))),y.Iterable.map(f,_=>{let g=this.nodes.get(_.element);if(!g&&this.identityProvider){const i=this.identityProvider.getId(_.element).toString();g=this.nodesByIdentity.get(i)}if(!g){let i;return typeof _.collapsed>"u"?i=void 0:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed?i=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?i=!1:i=!!_.collapsed,Object.assign(Object.assign({},_),{children:this.preserveCollapseState(_.children),collapsed:i})}const C=typeof _.collapsible=="boolean"?_.collapsible:g.collapsible;let s;return typeof _.collapsed>"u"||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?s=g.collapsed:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed?s=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded?s=!1:s=!!_.collapsed,Object.assign(Object.assign({},_),{collapsible:C,collapsed:s,children:this.preserveCollapseState(_.children)})})}rerender(f){const _=this.getElementLocation(f);this.model.rerender(_)}getFirstElementChild(f=null){const _=this.getElementLocation(f);return this.model.getFirstElementChild(_)}has(f){return this.nodes.has(f)}getListIndex(f){const _=this.getElementLocation(f);return this.model.getListIndex(_)}getListRenderCount(f){const _=this.getElementLocation(f);return this.model.getListRenderCount(_)}isCollapsible(f){const _=this.getElementLocation(f);return this.model.isCollapsible(_)}setCollapsible(f,_){const g=this.getElementLocation(f);return this.model.setCollapsible(g,_)}isCollapsed(f){const _=this.getElementLocation(f);return this.model.isCollapsed(_)}setCollapsed(f,_,g){const C=this.getElementLocation(f);return this.model.setCollapsed(C,_,g)}expandTo(f){const _=this.getElementLocation(f);this.model.expandTo(_)}refilter(){this.model.refilter()}getNode(f=null){if(f===null)return this.model.getNode(this.model.rootRef);const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return _}getNodeLocation(f){return f.element}getParentNodeLocation(f){if(f===null)throw new k.TreeError(this.user,"Invalid getParentNodeLocation call");const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);const g=this.model.getNodeLocation(_),C=this.model.getParentNodeLocation(g);return this.model.getNode(C).element}getElementLocation(f){if(f===null)return[];const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return this.model.getNodeLocation(_)}}e.ObjectTreeModel=D}),define(ne[568],se([1,0,219,139,14,6,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTreeModel=e.DefaultElementMapper=e.CompressedObjectTreeModel=e.decompress=e.compress=void 0;function f(c){const o=[c.element],d=c.incompressible||!1;return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.from(c.children),f),collapsible:c.collapsible,collapsed:c.collapsed}}function _(c){const o=[c.element],d=c.incompressible||!1;let l,p;for(;[p,l]=S.Iterable.consume(S.Iterable.from(c.children),2),!(p.length!==1||p[0].incompressible);)c=p[0],o.push(c.element);return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.concat(p,l),_),collapsible:c.collapsible,collapsed:c.collapsed}}e.compress=_;function g(c,o=0){let d;return og(l,0)),o===0&&c.element.incompressible?{element:c.element.elements[o],children:d,incompressible:!0,collapsible:c.collapsible,collapsed:c.collapsed}:{element:c.element.elements[o],children:d,collapsible:c.collapsible,collapsed:c.collapsed}}function C(c){return g(c,0)}e.decompress=C;function s(c,o,d){return c.element===o?Object.assign(Object.assign({},c),{children:d}):Object.assign(Object.assign({},c),{children:S.Iterable.map(S.Iterable.from(c.children),l=>s(l,o,d))})}const i=c=>({getId(o){return o.elements.map(d=>c.getId(d).toString()).join("\0")}});class n{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(o,d,l={}){this.user=o,this.rootRef=null,this.nodes=new Map,this.model=new L.ObjectTreeModel(o,d,l),this.enabled=typeof l.compressionEnabled>"u"?!0:l.compressionEnabled,this.identityProvider=l.identityProvider}setChildren(o,d=S.Iterable.empty(),l){const p=l.diffIdentityProvider&&i(l.diffIdentityProvider);if(o===null){const T=S.Iterable.map(d,this.enabled?_:f);this._setChildren(null,T,{diffIdentityProvider:p,diffDepth:1/0});return}const m=this.nodes.get(o);if(!m)throw new k.TreeError(this.user,"Unknown compressed tree node");const v=this.model.getNode(m),b=this.model.getParentNodeLocation(m),w=this.model.getNode(b),E=C(v),I=s(E,o,d),M=(this.enabled?_:f)(I),P=l.diffIdentityProvider?(T,A)=>l.diffIdentityProvider.getId(T)===l.diffIdentityProvider.getId(A):void 0;if((0,y.equals)(M.element.elements,v.element.elements,P)){this._setChildren(m,M.children||S.Iterable.empty(),{diffIdentityProvider:p,diffDepth:1});return}const x=w.children.map(T=>T===v?M:T);this._setChildren(w.element,x,{diffIdentityProvider:p,diffDepth:v.depth-w.depth})}setCompressionEnabled(o){if(o===this.enabled)return;this.enabled=o;const l=this.model.getNode().children,p=S.Iterable.map(l,C),m=S.Iterable.map(p,o?_:f);this._setChildren(null,m,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(o,d,l){const p=new Set,m=b=>{for(const w of b.element.elements)p.add(w),this.nodes.set(w,b.element)},v=b=>{for(const w of b.element.elements)p.has(w)||this.nodes.delete(w)};this.model.setChildren(o,d,Object.assign(Object.assign({},l),{onDidCreateNode:m,onDidDeleteNode:v}))}has(o){return this.nodes.has(o)}getListIndex(o){const d=this.getCompressedNode(o);return this.model.getListIndex(d)}getListRenderCount(o){const d=this.getCompressedNode(o);return this.model.getListRenderCount(d)}getNode(o){if(typeof o>"u")return this.model.getNode();const d=this.getCompressedNode(o);return this.model.getNode(d)}getNodeLocation(o){const d=this.model.getNodeLocation(o);return d===null?null:d.elements[d.elements.length-1]}getParentNodeLocation(o){const d=this.getCompressedNode(o),l=this.model.getParentNodeLocation(d);return l===null?null:l.elements[l.elements.length-1]}getFirstElementChild(o){const d=this.getCompressedNode(o);return this.model.getFirstElementChild(d)}isCollapsible(o){const d=this.getCompressedNode(o);return this.model.isCollapsible(d)}setCollapsible(o,d){const l=this.getCompressedNode(o);return this.model.setCollapsible(l,d)}isCollapsed(o){const d=this.getCompressedNode(o);return this.model.isCollapsed(d)}setCollapsed(o,d,l){const p=this.getCompressedNode(o);return this.model.setCollapsed(p,d,l)}expandTo(o){const d=this.getCompressedNode(o);this.model.expandTo(d)}rerender(o){const d=this.getCompressedNode(o);this.model.rerender(d)}refilter(){this.model.refilter()}getCompressedNode(o){if(o===null)return null;const d=this.nodes.get(o);if(!d)throw new k.TreeError(this.user,`Tree element not found: ${o}`);return d}}e.CompressedObjectTreeModel=n;const t=c=>c[c.length-1];e.DefaultElementMapper=t;class a{get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(o=>new a(this.unwrapper,o))}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}constructor(o,d){this.unwrapper=o,this.node=d}}function u(c,o){return{splice(d,l,p){o.splice(d,l,p.map(m=>c.map(m)))},updateElementHeight(d,l){o.updateElementHeight(d,l)}}}function h(c,o){return Object.assign(Object.assign({},o),{identityProvider:o.identityProvider&&{getId(d){return o.identityProvider.getId(c(d))}},sorter:o.sorter&&{compare(d,l){return o.sorter.compare(d.elements[0],l.elements[0])}},filter:o.filter&&{filter(d,l){return o.filter.filter(c(d),l)}}})}class r{get onDidSplice(){return D.Event.map(this.model.onDidSplice,({insertedNodes:o,deletedNodes:d})=>({insertedNodes:o.map(l=>this.nodeMapper.map(l)),deletedNodes:d.map(l=>this.nodeMapper.map(l))}))}get onDidChangeCollapseState(){return D.Event.map(this.model.onDidChangeCollapseState,({node:o,deep:d})=>({node:this.nodeMapper.map(o),deep:d}))}get onDidChangeRenderNodeCount(){return D.Event.map(this.model.onDidChangeRenderNodeCount,o=>this.nodeMapper.map(o))}constructor(o,d,l={}){this.rootRef=null,this.elementMapper=l.elementMapper||e.DefaultElementMapper;const p=m=>this.elementMapper(m.elements);this.nodeMapper=new k.WeakMapper(m=>new a(p,m)),this.model=new n(o,u(this.nodeMapper,d),h(p,l))}setChildren(o,d=S.Iterable.empty(),l={}){this.model.setChildren(o,d,l)}setCompressionEnabled(o){this.model.setCompressionEnabled(o)}has(o){return this.model.has(o)}getListIndex(o){return this.model.getListIndex(o)}getListRenderCount(o){return this.model.getListRenderCount(o)}getNode(o){return this.nodeMapper.map(this.model.getNode(o))}getNodeLocation(o){return o.element}getParentNodeLocation(o){return this.model.getParentNodeLocation(o)}getFirstElementChild(o){const d=this.model.getFirstElementChild(o);return d===null||typeof d>"u"?d:this.elementMapper(d.elements)}isCollapsible(o){return this.model.isCollapsible(o)}setCollapsible(o,d){return this.model.setCollapsible(o,d)}isCollapsed(o){return this.model.isCollapsed(o)}setCollapsed(o,d,l){return this.model.setCollapsed(o,d,l)}expandTo(o){return this.model.expandTo(o)}rerender(o){return this.model.rerender(o)}refilter(){return this.model.refilter()}getCompressedTreeNode(o=null){return this.model.getNode(o)}}e.CompressibleObjectTreeModel=r}),define(ne[569],se([1,0,17]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.platform=e.env=e.cwd=void 0;let k;if(typeof L.globals.vscode<"u"&&typeof L.globals.vscode.process<"u"){const y=L.globals.vscode.process;k={get platform(){return y.platform},get arch(){return y.arch},get env(){return y.env},cwd(){return y.cwd()}}}else typeof process<"u"?k={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:k={get platform(){return L.isWindows?"win32":L.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=k.cwd,e.env=k.env,e.platform=k.platform}),define(ne[92],se([1,0,569]),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 k=65,y=97,D=90,S=122,f=46,_=47,g=92,C=58,s=63;class i extends Error{constructor(p,m,v){let b;typeof m=="string"&&m.indexOf("not ")===0?(b="must not be",m=m.replace(/^not /,"")):b="must be";const w=p.indexOf(".")!==-1?"property":"argument";let E=`The "${p}" ${w} ${b} of type ${m}`;E+=`. Received type ${typeof v}`,super(E),this.code="ERR_INVALID_ARG_TYPE"}}function n(l,p){if(l===null||typeof l!="object")throw new i(p,"Object",l)}function t(l,p){if(typeof l!="string")throw new i(p,"string",l)}const a=L.platform==="win32";function u(l){return l===_||l===g}function h(l){return l===_}function r(l){return l>=k&&l<=D||l>=y&&l<=S}function c(l,p,m,v){let b="",w=0,E=-1,I=0,M=0;for(let P=0;P<=l.length;++P){if(P2){const x=b.lastIndexOf(m);x===-1?(b="",w=0):(b=b.slice(0,x),w=b.length-1-b.lastIndexOf(m)),E=P,I=0;continue}else if(b.length!==0){b="",w=0,E=P,I=0;continue}}p&&(b+=b.length>0?`${m}..`:"..",w=2)}else b.length>0?b+=`${m}${l.slice(E+1,P)}`:b=l.slice(E+1,P),w=P-E-1;E=P,I=0}else M===f&&I!==-1?++I:I=-1}return b}function o(l,p){n(p,"pathObject");const m=p.dir||p.root,v=p.base||`${p.name||""}${p.ext||""}`;return m?m===p.root?`${m}${v}`:`${m}${l}${v}`:v}e.win32={resolve(...l){let p="",m="",v=!1;for(let b=l.length-1;b>=-1;b--){let w;if(b>=0){if(w=l[b],t(w,"path"),w.length===0)continue}else p.length===0?w=L.cwd():(w=L.env[`=${p}`]||L.cwd(),(w===void 0||w.slice(0,2).toLowerCase()!==p.toLowerCase()&&w.charCodeAt(2)===g)&&(w=`${p}\\`));const E=w.length;let I=0,M="",P=!1;const x=w.charCodeAt(0);if(E===1)u(x)&&(I=1,P=!0);else if(u(x))if(P=!0,u(w.charCodeAt(1))){let T=2,A=T;for(;T2&&u(w.charCodeAt(2))&&(P=!0,I=3));if(M.length>0)if(p.length>0){if(M.toLowerCase()!==p.toLowerCase())continue}else p=M;if(v){if(p.length>0)break}else if(m=`${w.slice(I)}\\${m}`,v=P,P&&p.length>0)break}return m=c(m,!v,"\\",u),v?`${p}\\${m}`:`${p}${m}`||"."},normalize(l){t(l,"path");const p=l.length;if(p===0)return".";let m=0,v,b=!1;const w=l.charCodeAt(0);if(p===1)return h(w)?"\\":l;if(u(w))if(b=!0,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))&&(b=!0,m=3));let E=m0&&u(l.charCodeAt(p-1))&&(E+="\\"),v===void 0?b?`\\${E}`:E:b?`${v}\\${E}`:`${v}${E}`},isAbsolute(l){t(l,"path");const p=l.length;if(p===0)return!1;const m=l.charCodeAt(0);return u(m)||p>2&&r(m)&&l.charCodeAt(1)===C&&u(l.charCodeAt(2))},join(...l){if(l.length===0)return".";let p,m;for(let w=0;w0&&(p===void 0?p=m=E:p+=`\\${E}`)}if(p===void 0)return".";let v=!0,b=0;if(typeof m=="string"&&u(m.charCodeAt(0))){++b;const w=m.length;w>1&&u(m.charCodeAt(1))&&(++b,w>2&&(u(m.charCodeAt(2))?++b:v=!1))}if(v){for(;b=2&&(p=`\\${p.slice(b)}`)}return e.win32.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p)return"";const m=e.win32.resolve(l),v=e.win32.resolve(p);if(m===v||(l=m.toLowerCase(),p=v.toLowerCase(),l===p))return"";let b=0;for(;bb&&l.charCodeAt(w-1)===g;)w--;const E=w-b;let I=0;for(;II&&p.charCodeAt(M-1)===g;)M--;const P=M-I,x=Ex){if(p.charCodeAt(I+A)===g)return v.slice(I+A+1);if(A===2)return v.slice(I+A)}E>x&&(l.charCodeAt(b+A)===g?T=A:A===2&&(T=3)),T===-1&&(T=0)}let N="";for(A=b+T+1;A<=w;++A)(A===w||l.charCodeAt(A)===g)&&(N+=N.length===0?"..":"\\..");return I+=T,N.length>0?`${N}${v.slice(I,M)}`:(v.charCodeAt(I)===g&&++I,v.slice(I,M))},toNamespacedPath(l){if(typeof l!="string"||l.length===0)return l;const p=e.win32.resolve(l);if(p.length<=2)return l;if(p.charCodeAt(0)===g){if(p.charCodeAt(1)===g){const m=p.charCodeAt(2);if(m!==s&&m!==f)return`\\\\?\\UNC\\${p.slice(2)}`}}else if(r(p.charCodeAt(0))&&p.charCodeAt(1)===C&&p.charCodeAt(2)===g)return`\\\\?\\${p}`;return l},dirname(l){t(l,"path");const p=l.length;if(p===0)return".";let m=-1,v=0;const b=l.charCodeAt(0);if(p===1)return u(b)?l:".";if(u(b)){if(m=v=1,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))?3:2,v=m);let w=-1,E=!0;for(let I=p-1;I>=v;--I)if(u(l.charCodeAt(I))){if(!E){w=I;break}}else E=!1;if(w===-1){if(m===-1)return".";w=m}return l.slice(0,w)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(l.length>=2&&r(l.charCodeAt(0))&&l.charCodeAt(1)===C&&(m=2),p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=m;--w){const M=l.charCodeAt(w);if(u(M)){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=m;--w)if(u(l.charCodeAt(w))){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=0,m=-1,v=0,b=-1,w=!0,E=0;l.length>=2&&l.charCodeAt(1)===C&&r(l.charCodeAt(0))&&(p=v=2);for(let I=l.length-1;I>=p;--I){const M=l.charCodeAt(I);if(u(M)){if(!w){v=I+1;break}continue}b===-1&&(w=!1,b=I+1),M===f?m===-1?m=I:E!==1&&(E=1):m!==-1&&(E=-1)}return m===-1||b===-1||E===0||E===1&&m===b-1&&m===v+1?"":l.slice(m,b)},format:o.bind(null,"\\"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.length;let v=0,b=l.charCodeAt(0);if(m===1)return u(b)?(p.root=p.dir=l,p):(p.base=p.name=l,p);if(u(b)){if(v=1,u(l.charCodeAt(1))){let T=2,A=T;for(;T0&&(p.root=l.slice(0,v));let w=-1,E=v,I=-1,M=!0,P=l.length-1,x=0;for(;P>=v;--P){if(b=l.charCodeAt(P),u(b)){if(!M){E=P+1;break}continue}I===-1&&(M=!1,I=P+1),b===f?w===-1?w=P:x!==1&&(x=1):w!==-1&&(x=-1)}return I!==-1&&(w===-1||x===0||x===1&&w===I-1&&w===E+1?p.base=p.name=l.slice(E,I):(p.name=l.slice(E,w),p.base=l.slice(E,I),p.ext=l.slice(w,I))),E>0&&E!==v?p.dir=l.slice(0,E-1):p.dir=p.root,p},sep:"\\",delimiter:";",win32:null,posix:null};const d=(()=>{if(a){const l=/\\/g;return()=>{const p=L.cwd().replace(l,"/");return p.slice(p.indexOf("/"))}}return()=>L.cwd()})();e.posix={resolve(...l){let p="",m=!1;for(let v=l.length-1;v>=-1&&!m;v--){const b=v>=0?l[v]:d();t(b,"path"),b.length!==0&&(p=`${b}/${p}`,m=b.charCodeAt(0)===_)}return p=c(p,!m,"/",h),m?`/${p}`:p.length>0?p:"."},normalize(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_,m=l.charCodeAt(l.length-1)===_;return l=c(l,!p,"/",h),l.length===0?p?"/":m?"./":".":(m&&(l+="/"),p?`/${l}`:l)},isAbsolute(l){return t(l,"path"),l.length>0&&l.charCodeAt(0)===_},join(...l){if(l.length===0)return".";let p;for(let m=0;m0&&(p===void 0?p=v:p+=`/${v}`)}return p===void 0?".":e.posix.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p||(l=e.posix.resolve(l),p=e.posix.resolve(p),l===p))return"";const m=1,v=l.length,b=v-m,w=1,E=p.length-w,I=bI){if(p.charCodeAt(w+P)===_)return p.slice(w+P+1);if(P===0)return p.slice(w+P)}else b>I&&(l.charCodeAt(m+P)===_?M=P:P===0&&(M=0));let x="";for(P=m+M+1;P<=v;++P)(P===v||l.charCodeAt(P)===_)&&(x+=x.length===0?"..":"/..");return`${x}${p.slice(w+M)}`},toNamespacedPath(l){return l},dirname(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_;let m=-1,v=!0;for(let b=l.length-1;b>=1;--b)if(l.charCodeAt(b)===_){if(!v){m=b;break}}else v=!1;return m===-1?p?"/":".":p&&m===1?"//":l.slice(0,m)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=0;--w){const M=l.charCodeAt(w);if(M===_){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=0;--w)if(l.charCodeAt(w)===_){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=-1,m=0,v=-1,b=!0,w=0;for(let E=l.length-1;E>=0;--E){const I=l.charCodeAt(E);if(I===_){if(!b){m=E+1;break}continue}v===-1&&(b=!1,v=E+1),I===f?p===-1?p=E:w!==1&&(w=1):p!==-1&&(w=-1)}return p===-1||v===-1||w===0||w===1&&p===v-1&&p===m+1?"":l.slice(p,v)},format:o.bind(null,"/"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.charCodeAt(0)===_;let v;m?(p.root="/",v=1):v=0;let b=-1,w=0,E=-1,I=!0,M=l.length-1,P=0;for(;M>=v;--M){const x=l.charCodeAt(M);if(x===_){if(!I){w=M+1;break}continue}E===-1&&(I=!1,E=M+1),x===f?b===-1?b=M:P!==1&&(P=1):b!==-1&&(P=-1)}if(E!==-1){const x=w===0&&m?1:w;b===-1||P===0||P===1&&b===E-1&&b===w+1?p.base=p.name=l.slice(x,E):(p.name=l.slice(x,b),p.base=l.slice(x,E),p.ext=l.slice(b,E))}return w>0?p.dir=l.slice(0,w-1):m&&(p.dir="/"),p},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=a?e.win32.normalize:e.posix.normalize,e.resolve=a?e.win32.resolve:e.posix.resolve,e.relative=a?e.win32.relative:e.posix.relative,e.dirname=a?e.win32.dirname:e.posix.dirname,e.basename=a?e.win32.basename:e.posix.basename,e.extname=a?e.win32.extname:e.posix.extname,e.sep=a?e.win32.sep:e.posix.sep}),define(ne[220],se([1,0,92,17,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasDriveLetter=e.isWindowsDriveLetter=e.isEqualOrParent=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function D(i){return i===47||i===92}e.isPathSeparator=D;function S(i){return i.replace(/[\\/]/g,L.posix.sep)}e.toSlashes=S;function f(i){return i.indexOf("/")===-1&&(i=S(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=f;function _(i,n=L.posix.sep){if(!i)return"";const t=i.length,a=i.charCodeAt(0);if(D(a)){if(D(i.charCodeAt(1))&&!D(i.charCodeAt(2))){let h=3;const r=h;for(;hi.length)return!1;if(t){if(!(0,y.startsWithIgnoreCase)(i,n))return!1;if(n.length===i.length)return!0;let h=n.length;return n.charAt(n.length-1)===a&&h--,i.charAt(h)===a}return n.charAt(n.length-1)!==a&&(n+=a),i.indexOf(n)===0}e.isEqualOrParent=g;function C(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=C;function s(i,n=k.isWindows){return n?C(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=s}),define(ne[570],se([1,0,72,92,17,11]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieceToQuery=e.prepareQuery=e.scoreFuzzy2=void 0;const S=[void 0,[]];function f(r,c,o=0,d=0){const l=c;return l.values&&l.values.length>1?_(r,l.values,o,d):g(r,c,o,d)}e.scoreFuzzy2=f;function _(r,c,o,d){let l=0;const p=[];for(const m of c){const[v,b]=g(r,m,o,d);if(typeof v!="number")return S;l+=v,p.push(...b)}return[l,s(p)]}function g(r,c,o,d){const l=(0,L.fuzzyScore)(c.original,c.originalLowercase,o,r,r.toLowerCase(),d,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return l?[l[0],(0,L.createMatches)(l)]:S}const C=Object.freeze({score:0});function s(r){const c=r.sort((l,p)=>l.start-p.start),o=[];let d;for(const l of c)!d||!i(d,l)?(d=l,o.push(l)):(d.start=Math.min(d.start,l.start),d.end=Math.max(d.end,l.end));return o}function i(r,c){return!(r.end=0,m=n(r);let v;const b=r.split(t);if(b.length>1)for(const w of b){const E=n(w),{pathNormalized:I,normalized:M,normalizedLowercase:P}=u(w);M&&(v||(v=[]),v.push({original:w,originalLowercase:w.toLowerCase(),pathNormalized:I,normalized:M,normalizedLowercase:P,expectContiguousMatch:E}))}return{original:r,originalLowercase:c,pathNormalized:o,normalized:d,normalizedLowercase:l,values:v,containsPathSeparator:p,expectContiguousMatch:m}}e.prepareQuery=a;function u(r){let c;y.isWindows?c=r.replace(/\//g,k.sep):c=r.replace(/\\/g,k.sep);const o=(0,D.stripWildcards)(c).replace(/\s|"/g,"");return{pathNormalized:c,normalized:o,normalizedLowercase:o.toLowerCase()}}function h(r){return Array.isArray(r)?a(r.map(c=>c.original).join(t)):a(r.original)}e.pieceToQuery=h}),define(ne[303],se([1,0,13,220,65,92,17,11]),function(Q,e,L,k,y,D,S,f){"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 _="[/\\\\]",g="[^/\\\\]",C=/\//g;function s(O,W){switch(O){case 0:return"";case 1:return`${g}*?`;default:return`(?:${_}|${g}+${_}${W?`|${_}${g}+`:""})*?`}}function i(O,W){if(!O)return[];const U=[];let j=!1,R=!1,K="";for(const G of O){switch(G){case W:if(!j&&!R){U.push(K),K="";continue}break;case"{":j=!0;break;case"}":j=!1;break;case"[":R=!0;break;case"]":R=!1;break}K+=G}return K&&U.push(K),U}e.splitGlobAware=i;function n(O){if(!O)return"";let W="";const U=i(O,e.GLOB_SPLIT);if(U.every(j=>j===e.GLOBSTAR))W=".*";else{let j=!1;U.forEach((R,K)=>{if(R===e.GLOBSTAR){if(j)return;W+=s(2,K===U.length-1)}else{let G=!1,Z="",J=!1,X="";for(const H of R){if(H!=="}"&&G){Z+=H;continue}if(J&&(H!=="]"||!X)){let B;H==="-"?B=H:(H==="^"||H==="!")&&!X?B="^":H===e.GLOB_SPLIT?B="":B=(0,f.escapeRegExpCharacters)(H),X+=B;continue}switch(H){case"{":G=!0;continue;case"[":J=!0;continue;case"}":{const V=`(?:${i(Z,",").map(Y=>n(Y)).join("|")})`;W+=V,G=!1,Z="";break}case"]":{W+="["+X+"]",J=!1,X="";break}case"?":W+=g;continue;case"*":W+=s(1);continue;default:W+=(0,f.escapeRegExpCharacters)(H)}}Kp(Z,W)).filter(Z=>Z!==l),O),j=U.length;if(!j)return l;if(j===1)return U[0];const R=function(Z,J){for(let X=0,H=U.length;X!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function I(O,W,U){const j=D.sep===D.posix.sep,R=j?O:O.replace(C,D.sep),K=D.sep+R,G=D.posix.sep+O;let Z;return U?Z=function(J,X){return typeof J=="string"&&(J===R||J.endsWith(K)||!j&&(J===O||J.endsWith(G)))?W:null}:Z=function(J,X){return typeof J=="string"&&(J===R||!j&&J===O)?W:null},Z.allPaths=[(U?"*/":"./")+O],Z}function M(O){try{const W=new RegExp(`^${n(O)}$`);return function(U){return W.lastIndex=0,typeof U=="string"&&W.test(U)?O:null}}catch{return l}}function P(O,W,U){return!O||typeof W!="string"?!1:x(O)(W,void 0,U)}e.match=P;function x(O,W={}){if(!O)return d;if(typeof O=="string"||T(O)){const U=p(O,W);if(U===l)return d;const j=function(R,K){return!!U(R,K)};return U.allBasenames&&(j.allBasenames=U.allBasenames),U.allPaths&&(j.allPaths=U.allPaths),j}return A(O,W)}e.parse=x;function T(O){const W=O;return W?typeof W.base=="string"&&typeof W.pattern=="string":!1}e.isRelativePattern=T;function A(O,W){const U=F(Object.getOwnPropertyNames(O).map(Z=>N(Z,O[Z],W)).filter(Z=>Z!==l)),j=U.length;if(!j)return l;if(!U.some(Z=>!!Z.requiresSiblings)){if(j===1)return U[0];const Z=function(H,B){let V;for(let Y=0,ie=U.length;Ywe(this,void 0,void 0,function*(){for(const Y of V){const ie=yield Y;if(typeof ie=="string")return ie}return null}))():null},J=U.find(H=>!!H.allBasenames);J&&(Z.allBasenames=J.allBasenames);const X=U.reduce((H,B)=>B.allPaths?H.concat(B.allPaths):H,[]);return X.length&&(Z.allPaths=X),Z}const R=function(Z,J,X){let H,B;for(let V=0,Y=U.length;Vwe(this,void 0,void 0,function*(){for(const V of B){const Y=yield V;if(typeof Y=="string")return Y}return null}))():null},K=U.find(Z=>!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function N(O,W,U){if(W===!1)return l;const j=p(O,U);if(j===l)return l;if(typeof W=="boolean")return j;if(W){const R=W.when;if(typeof R=="string"){const K=(G,Z,J,X)=>{if(!X||!j(G,Z))return null;const H=R.replace("$(basename)",()=>J),B=X(H);return(0,L.isThenable)(B)?B.then(V=>V?O:null):B?O:null};return K.requiresSiblings=!0,K}}return j}function F(O,W){const U=O.filter(Z=>!!Z.basenames);if(U.length<2)return O;const j=U.reduce((Z,J)=>{const X=J.basenames;return X?Z.concat(X):Z},[]);let R;if(W){R=[];for(let Z=0,J=j.length;Z{const X=J.patterns;return X?Z.concat(X):Z},[]);const K=function(Z,J){if(typeof Z!="string")return null;if(!J){let H;for(H=Z.length;H>0;H--){const B=Z.charCodeAt(H-1);if(B===47||B===92)break}J=Z.substr(H)}const X=j.indexOf(J);return X!==-1?R[X]:null};K.basenames=j,K.patterns=R,K.allBasenames=j;const G=O.filter(Z=>!Z.basenames);return G.push(K),G}}),define(ne[571],se([1,0,220,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeDriveLetter=void 0;function y(S,f=k.isWindows){return(0,L.hasDriveLetter)(S,f)?S.charAt(0).toUpperCase()+S.slice(1):S}e.normalizeDriveLetter=y;let D=Object.create(null)}),define(ne[22],se([1,0,92,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const y=/^\w[\w\d+.-]*$/,D=/^\//,S=/^\/\//;function f(m,v){if(!m.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${m.authority}", path: "${m.path}", query: "${m.query}", fragment: "${m.fragment}"}`);if(m.scheme&&!y.test(m.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(m.path){if(m.authority){if(!D.test(m.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(S.test(m.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function _(m,v){return!m&&!v?"file":m}function g(m,v){switch(m){case"https":case"http":case"file":v?v[0]!==s&&(v=s+v):v=s;break}return v}const C="",s="/",i=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class n{static isUri(v){return v instanceof n?!0:v?typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function":!1}constructor(v,b,w,E,I,M=!1){typeof v=="object"?(this.scheme=v.scheme||C,this.authority=v.authority||C,this.path=v.path||C,this.query=v.query||C,this.fragment=v.fragment||C):(this.scheme=_(v,M),this.authority=b||C,this.path=g(this.scheme,w||C),this.query=E||C,this.fragment=I||C,f(this,M))}get fsPath(){return c(this,!1)}with(v){if(!v)return this;let{scheme:b,authority:w,path:E,query:I,fragment:M}=v;return b===void 0?b=this.scheme:b===null&&(b=C),w===void 0?w=this.authority:w===null&&(w=C),E===void 0?E=this.path:E===null&&(E=C),I===void 0?I=this.query:I===null&&(I=C),M===void 0?M=this.fragment:M===null&&(M=C),b===this.scheme&&w===this.authority&&E===this.path&&I===this.query&&M===this.fragment?this:new a(b,w,E,I,M)}static parse(v,b=!1){const w=i.exec(v);return w?new a(w[2]||C,p(w[4]||C),p(w[5]||C),p(w[7]||C),p(w[9]||C),b):new a(C,C,C,C,C)}static file(v){let b=C;if(k.isWindows&&(v=v.replace(/\\/g,s)),v[0]===s&&v[1]===s){const w=v.indexOf(s,2);w===-1?(b=v.substring(2),v=s):(b=v.substring(2,w),v=v.substring(w)||s)}return new a("file",b,v,C,C)}static from(v,b){return new a(v.scheme,v.authority,v.path,v.query,v.fragment,b)}static joinPath(v,...b){if(!v.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let w;return k.isWindows&&v.scheme==="file"?w=n.file(L.win32.join(c(v,!0),...b)).path:w=L.posix.join(v.path,...b),v.with({path:w})}toString(v=!1){return o(this,v)}toJSON(){return this}static revive(v){var b,w;if(v){if(v instanceof n)return v;{const E=new a(v);return E._formatted=(b=v.external)!==null&&b!==void 0?b:null,E._fsPath=v._sep===t&&(w=v.fsPath)!==null&&w!==void 0?w:null,E}}else return v}}e.URI=n;const t=k.isWindows?1:void 0;class a extends n{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=c(this,!1)),this._fsPath}toString(v=!1){return v?o(this,!0):(this._formatted||(this._formatted=o(this,!1)),this._formatted)}toJSON(){const v={$mid:1};return this._fsPath&&(v.fsPath=this._fsPath,v._sep=t),this._formatted&&(v.external=this._formatted),this.path&&(v.path=this.path),this.scheme&&(v.scheme=this.scheme),this.authority&&(v.authority=this.authority),this.query&&(v.query=this.query),this.fragment&&(v.fragment=this.fragment),v}}const u={[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 h(m,v,b){let w,E=-1;for(let I=0;I=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||v&&M===47||b&&M===91||b&&M===93||b&&M===58)E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w!==void 0&&(w+=m.charAt(I));else{w===void 0&&(w=m.substr(0,I));const P=u[M];P!==void 0?(E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w+=P):E===-1&&(E=I)}}return E!==-1&&(w+=encodeURIComponent(m.substring(E))),w!==void 0?w:m}function r(m){let v;for(let b=0;b1&&m.scheme==="file"?b=`//${m.authority}${m.path}`:m.path.charCodeAt(0)===47&&(m.path.charCodeAt(1)>=65&&m.path.charCodeAt(1)<=90||m.path.charCodeAt(1)>=97&&m.path.charCodeAt(1)<=122)&&m.path.charCodeAt(2)===58?v?b=m.path.substr(1):b=m.path[1].toLowerCase()+m.path.substr(2):b=m.path,k.isWindows&&(b=b.replace(/\//g,"\\")),b}e.uriToFsPath=c;function o(m,v){const b=v?r:h;let w="",{scheme:E,authority:I,path:M,query:P,fragment:x}=m;if(E&&(w+=E,w+=":"),(I||E==="file")&&(w+=s,w+=s),I){let T=I.indexOf("@");if(T!==-1){const A=I.substr(0,T);I=I.substr(T+1),T=A.lastIndexOf(":"),T===-1?w+=b(A,!1,!1):(w+=b(A.substr(0,T),!1,!1),w+=":",w+=b(A.substr(T+1),!1,!0)),w+="@"}I=I.toLowerCase(),T=I.lastIndexOf(":"),T===-1?w+=b(I,!1,!0):(w+=b(I.substr(0,T),!1,!0),w+=I.substr(T))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const T=M.charCodeAt(1);T>=65&&T<=90&&(M=`/${String.fromCharCode(T+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const T=M.charCodeAt(0);T>=65&&T<=90&&(M=`${String.fromCharCode(T+32)}:${M.substr(2)}`)}w+=b(M,!0,!1)}return P&&(w+="?",w+=b(P,!1,!1)),x&&(w+="#",w+=v?x:h(x,!1,!1)),w}function d(m){try{return decodeURIComponent(m)}catch{return m.length>3?m.substr(0,3)+d(m.substr(3)):m}}const l=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function p(m){return m.match(l)?m.replace(l,v=>d(v)):m}}),define(ne[221],se([1,0,140,22]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=e.stringify=void 0;function y(_){return JSON.stringify(_,S)}e.stringify=y;function D(_){let g=JSON.parse(_);return g=f(g),g}e.parse=D;function S(_,g){return g instanceof RegExp?{$mid:2,source:g.source,flags:g.flags}:g}function f(_,g=0){if(!_||g>200)return _;if(typeof _=="object"){switch(_.$mid){case 1:return k.URI.revive(_);case 2:return new RegExp(_.source,_.flags);case 16:return new Date(_.source)}if(_ instanceof L.VSBuffer||_ instanceof Uint8Array)return _;if(Array.isArray(_))for(let C=0;C<_.length;++C)_[C]=f(_[C],g+1);else for(const C in _)Object.hasOwnProperty.call(_,C)&&(_[C]=f(_[C],g+1))}return _}e.revive=f}),define(ne[54],se([1,0,9,17,22]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.RemoteAuthorities=e.connectionTokenQueryName=e.Schemas=void 0;var D;(function(g){g.inMemory="inmemory",g.vscode="vscode",g.internal="private",g.walkThrough="walkThrough",g.walkThroughSnippet="walkThroughSnippet",g.http="http",g.https="https",g.file="file",g.mailto="mailto",g.untitled="untitled",g.data="data",g.command="command",g.vscodeRemote="vscode-remote",g.vscodeRemoteResource="vscode-remote-resource",g.vscodeManagedRemoteResource="vscode-managed-remote-resource",g.vscodeUserData="vscode-userdata",g.vscodeCustomEditor="vscode-custom-editor",g.vscodeNotebookCell="vscode-notebook-cell",g.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",g.vscodeNotebookCellOutput="vscode-notebook-cell-output",g.vscodeInteractiveInput="vscode-interactive-input",g.vscodeSettings="vscode-settings",g.vscodeWorkspaceTrust="vscode-workspace-trust",g.vscodeTerminal="vscode-terminal",g.vscodeChatSesssion="vscode-chat-editor",g.webviewPanel="webview-panel",g.vscodeWebview="vscode-webview",g.extension="extension",g.vscodeFileResource="vscode-file",g.tmp="tmp",g.vsls="vsls",g.vscodeSourceControl="vscode-scm"})(D||(e.Schemas=D={})),e.connectionTokenQueryName="tkn";class S{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${D.vscodeRemoteResource}`}setPreferredWebSchema(C){this._preferredWebSchema=C}rewrite(C){if(this._delegate)try{return this._delegate(C)}catch(u){return L.onUnexpectedError(u),C}const s=C.authority;let i=this._hosts[s];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);const n=this._ports[s],t=this._connectionTokens[s];let a=`path=${encodeURIComponent(C.path)}`;return typeof t=="string"&&(a+=`&${e.connectionTokenQueryName}=${encodeURIComponent(t)}`),y.URI.from({scheme:k.isWeb?this._preferredWebSchema:D.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:a})}}e.RemoteAuthorities=new S;class f{uriToBrowserUri(C){return C.scheme===D.vscodeRemote?e.RemoteAuthorities.rewrite(C):C.scheme===D.file&&(k.isNative||k.isWebWorker&&k.globals.origin===`${D.vscodeFileResource}://${f.FALLBACK_AUTHORITY}`)?C.with({scheme:D.vscodeFileResource,authority:C.authority||f.FALLBACK_AUTHORITY,query:null,fragment:null}):C}}f.FALLBACK_AUTHORITY="vscode-app",e.FileAccess=new f;var _;(function(g){const C=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);g.CoopAndCoep=Object.freeze(C.get("3"));const s="vscode-coi";function i(t){let a;typeof t=="string"?a=new URL(t).searchParams:t instanceof URL?a=t.searchParams:y.URI.isUri(t)&&(a=new URL(t.toString(!0)).searchParams);const u=a?.get(s);if(u)return C.get(u)}g.getHeadersFromQuery=i;function n(t,a,u){if(!globalThis.crossOriginIsolated)return;const h=a&&u?"3":u?"2":"1";t instanceof URLSearchParams?t.set(s,h):t[s]=h}g.addSearchParam=n})(_||(e.COI=_={}))}),define(ne[7],se([1,0,52,217,44,60,9,6,304,2,54,17]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h=e.DragAndDropObserver=e.ModifierKeyEmitter=e.basicMarkupHtmlTags=e.hookDomPurifyHrefAndSrcSanitizer=e.asCssValueWithDefault=e.asCSSPropertyValue=e.asCSSUrl=e.animate=e.windowOpenNoOpener=e.computeScreenAwareSize=e.hide=e.show=e.setVisibility=e.$=e.Namespace=e.reset=e.prepend=e.append=e.trackFocus=e.restoreParentsScrollTop=e.saveParentsScrollTop=e.EventHelper=e.isEventLike=e.EventType=e.isHTMLElement=e.removeCSSRulesContainingSelector=e.createCSSRule=e.createStyleSheet=e.getActiveElement=e.getShadowRoot=e.isInShadowDOM=e.isShadowRoot=e.hasParentWithClass=e.findParentWithClass=e.isAncestor=e.getTotalHeight=e.getContentHeight=e.getContentWidth=e.getTotalWidth=e.getDomNodeZoomLevel=e.getDomNodePagePosition=e.size=e.getTopLeftOffset=e.Dimension=e.getClientArea=e.getComputedStyle=e.scheduleAtNextAnimationFrame=e.runAtThisOrScheduleAtNextAnimationFrame=e.addDisposableGenericMouseUpListener=e.addDisposableGenericMouseDownListener=e.addStandardDisposableGenericMouseUpListener=e.addStandardDisposableGenericMouseDownListener=e.addStandardDisposableListener=e.addDisposableListener=e.isInDOM=e.clearNode=void 0;function i(Ce){for(;Ce.firstChild;)Ce.firstChild.remove()}e.clearNode=i;function n(Ce){var be;return(be=Ce?.isConnected)!==null&&be!==void 0?be:!1}e.isInDOM=n;class t{constructor(be,Ie,Ne,Re){this._node=be,this._type=Ie,this._handler=Ne,this._options=Re||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function a(Ce,be,Ie,Ne){return new t(Ce,be,Ie,Ne)}e.addDisposableListener=a;function u(Ce){return function(be){return Ce(new D.StandardMouseEvent(be))}}function h(Ce){return function(be){return Ce(new y.StandardKeyboardEvent(be))}}const r=function(be,Ie,Ne,Re){let Ve=Ne;return Ie==="click"||Ie==="mousedown"?Ve=u(Ne):(Ie==="keydown"||Ie==="keypress"||Ie==="keyup")&&(Ve=h(Ne)),a(be,Ie,Ve,Re)};e.addStandardDisposableListener=r;const c=function(be,Ie,Ne){const Re=u(Ie);return d(be,Re,Ne)};e.addStandardDisposableGenericMouseDownListener=c;const o=function(be,Ie,Ne){const Re=u(Ie);return l(be,Re,Ne)};e.addStandardDisposableGenericMouseUpListener=o;function d(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_DOWN:e.EventType.MOUSE_DOWN,be,Ie)}e.addDisposableGenericMouseDownListener=d;function l(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_UP:e.EventType.MOUSE_UP,be,Ie)}e.addDisposableGenericMouseUpListener=l;class p{constructor(be,Ie=0){this._runner=be,this.priority=Ie,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(be){(0,S.onUnexpectedError)(be)}}static sort(be,Ie){return Ie.priority-be.priority}}(function(){let Ce=[],be=null,Ie=!1,Ne=!1;const Re=()=>{for(Ie=!1,be=Ce,Ce=[],Ne=!0;be.length>0;)be.sort(p.sort),be.shift().execute();Ne=!1};e.scheduleAtNextAnimationFrame=(Ve,ze=0)=>{const We=new p(Ve,ze);return Ce.push(We),Ie||(Ie=!0,requestAnimationFrame(Re)),We},e.runAtThisOrScheduleAtNextAnimationFrame=(Ve,ze)=>{if(Ne){const We=new p(Ve,ze);return be.push(We),We}else return(0,e.scheduleAtNextAnimationFrame)(Ve,ze)}})();function m(Ce){return document.defaultView.getComputedStyle(Ce,null)}e.getComputedStyle=m;function v(Ce){if(Ce!==document.body)return new w(Ce.clientWidth,Ce.clientHeight);if(s.isIOS&&window.visualViewport)return new w(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new w(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new w(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new w(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}e.getClientArea=v;class b{static convertToPixels(be,Ie){return parseFloat(Ie)||0}static getDimension(be,Ie,Ne){const Re=m(be),Ve=Re?Re.getPropertyValue(Ie):"0";return b.convertToPixels(be,Ve)}static getBorderLeftWidth(be){return b.getDimension(be,"border-left-width","borderLeftWidth")}static getBorderRightWidth(be){return b.getDimension(be,"border-right-width","borderRightWidth")}static getBorderTopWidth(be){return b.getDimension(be,"border-top-width","borderTopWidth")}static getBorderBottomWidth(be){return b.getDimension(be,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(be){return b.getDimension(be,"padding-left","paddingLeft")}static getPaddingRight(be){return b.getDimension(be,"padding-right","paddingRight")}static getPaddingTop(be){return b.getDimension(be,"padding-top","paddingTop")}static getPaddingBottom(be){return b.getDimension(be,"padding-bottom","paddingBottom")}static getMarginLeft(be){return b.getDimension(be,"margin-left","marginLeft")}static getMarginTop(be){return b.getDimension(be,"margin-top","marginTop")}static getMarginRight(be){return b.getDimension(be,"margin-right","marginRight")}static getMarginBottom(be){return b.getDimension(be,"margin-bottom","marginBottom")}}class w{constructor(be,Ie){this.width=be,this.height=Ie}with(be=this.width,Ie=this.height){return be!==this.width||Ie!==this.height?new w(be,Ie):this}static is(be){return typeof be=="object"&&typeof be.height=="number"&&typeof be.width=="number"}static lift(be){return be instanceof w?be:new w(be.width,be.height)}static equals(be,Ie){return be===Ie?!0:!be||!Ie?!1:be.width===Ie.width&&be.height===Ie.height}}e.Dimension=w,w.None=new w(0,0);function E(Ce){let be=Ce.offsetParent,Ie=Ce.offsetTop,Ne=Ce.offsetLeft;for(;(Ce=Ce.parentNode)!==null&&Ce!==document.body&&Ce!==document.documentElement;){Ie-=Ce.scrollTop;const Re=U(Ce)?null:m(Ce);Re&&(Ne-=Re.direction!=="rtl"?Ce.scrollLeft:-Ce.scrollLeft),Ce===be&&(Ne+=b.getBorderLeftWidth(Ce),Ie+=b.getBorderTopWidth(Ce),Ie+=Ce.offsetTop,Ne+=Ce.offsetLeft,be=Ce.offsetParent)}return{left:Ne,top:Ie}}e.getTopLeftOffset=E;function I(Ce,be,Ie){typeof be=="number"&&(Ce.style.width=`${be}px`),typeof Ie=="number"&&(Ce.style.height=`${Ie}px`)}e.size=I;function M(Ce){const be=Ce.getBoundingClientRect();return{left:be.left+window.scrollX,top:be.top+window.scrollY,width:be.width,height:be.height}}e.getDomNodePagePosition=M;function P(Ce){let be=Ce,Ie=1;do{const Ne=m(be).zoom;Ne!=null&&Ne!=="1"&&(Ie*=Ne),be=be.parentElement}while(be!==null&&be!==document.documentElement);return Ie}e.getDomNodeZoomLevel=P;function x(Ce){const be=b.getMarginLeft(Ce)+b.getMarginRight(Ce);return Ce.offsetWidth+be}e.getTotalWidth=x;function T(Ce){const be=b.getBorderLeftWidth(Ce)+b.getBorderRightWidth(Ce),Ie=b.getPaddingLeft(Ce)+b.getPaddingRight(Ce);return Ce.offsetWidth-be-Ie}e.getContentWidth=T;function A(Ce){const be=b.getBorderTopWidth(Ce)+b.getBorderBottomWidth(Ce),Ie=b.getPaddingTop(Ce)+b.getPaddingBottom(Ce);return Ce.offsetHeight-be-Ie}e.getContentHeight=A;function N(Ce){const be=b.getMarginTop(Ce)+b.getMarginBottom(Ce);return Ce.offsetHeight+be}e.getTotalHeight=N;function F(Ce,be){for(;Ce;){if(Ce===be)return!0;Ce=Ce.parentNode}return!1}e.isAncestor=F;function O(Ce,be,Ie){for(;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;){if(Ce.classList.contains(be))return Ce;if(Ie){if(typeof Ie=="string"){if(Ce.classList.contains(Ie))return null}else if(Ce===Ie)return null}Ce=Ce.parentNode}return null}e.findParentWithClass=O;function W(Ce,be,Ie){return!!O(Ce,be,Ie)}e.hasParentWithClass=W;function U(Ce){return Ce&&!!Ce.host&&!!Ce.mode}e.isShadowRoot=U;function j(Ce){return!!R(Ce)}e.isInShadowDOM=j;function R(Ce){for(;Ce.parentNode;){if(Ce===document.body)return null;Ce=Ce.parentNode}return U(Ce)?Ce:null}e.getShadowRoot=R;function K(){let Ce=document.activeElement;for(;Ce?.shadowRoot;)Ce=Ce.shadowRoot.activeElement;return Ce}e.getActiveElement=K;function G(Ce=document.getElementsByTagName("head")[0],be){const Ie=document.createElement("style");return Ie.type="text/css",Ie.media="screen",be?.(Ie),Ce.appendChild(Ie),Ie}e.createStyleSheet=G;let Z=null;function J(){return Z||(Z=G()),Z}function X(Ce){var be,Ie;return!((be=Ce?.sheet)===null||be===void 0)&&be.rules?Ce.sheet.rules:!((Ie=Ce?.sheet)===null||Ie===void 0)&&Ie.cssRules?Ce.sheet.cssRules:[]}function H(Ce,be,Ie=J()){!Ie||!be||Ie.sheet.insertRule(Ce+"{"+be+"}",0)}e.createCSSRule=H;function B(Ce,be=J()){if(!be)return;const Ie=X(be),Ne=[];for(let Re=0;Re=0;Re--)be.sheet.deleteRule(Ne[Re])}e.removeCSSRulesContainingSelector=B;function V(Ce){return typeof HTMLElement=="object"?Ce instanceof HTMLElement:Ce&&typeof Ce=="object"&&Ce.nodeType===1&&typeof Ce.nodeName=="string"}e.isHTMLElement=V,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",POINTER_LEAVE:"pointerleave",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"};function Y(Ce){const be=Ce;return!!(be&&typeof be.preventDefault=="function"&&typeof be.stopPropagation=="function")}e.isEventLike=Y,e.EventHelper={stop:(Ce,be)=>(Ce.preventDefault(),be&&Ce.stopPropagation(),Ce)};function ie(Ce){const be=[];for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)be[Ie]=Ce.scrollTop,Ce=Ce.parentNode;return be}e.saveParentsScrollTop=ie;function ae(Ce,be){for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)Ce.scrollTop!==be[Ie]&&(Ce.scrollTop=be[Ie]),Ce=Ce.parentNode}e.restoreParentsScrollTop=ae;class ce extends g.Disposable{static hasFocusWithin(be){const Ie=R(be),Ne=Ie?Ie.activeElement:document.activeElement;return F(Ne,be)}constructor(be){super(),this._onDidFocus=this._register(new f.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new f.Emitter),this.onDidBlur=this._onDidBlur.event;let Ie=ce.hasFocusWithin(be),Ne=!1;const Re=()=>{Ne=!1,Ie||(Ie=!0,this._onDidFocus.fire())},Ve=()=>{Ie&&(Ne=!0,window.setTimeout(()=>{Ne&&(Ne=!1,Ie=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{ce.hasFocusWithin(be)!==Ie&&(Ie?Ve():Re())},this._register(a(be,e.EventType.FOCUS,Re,!0)),this._register(a(be,e.EventType.BLUR,Ve,!0)),this._register(a(be,e.EventType.FOCUS_IN,()=>this._refreshStateHandler())),this._register(a(be,e.EventType.FOCUS_OUT,()=>this._refreshStateHandler()))}}function de(Ce){return new ce(Ce)}e.trackFocus=de;function he(Ce,...be){if(Ce.append(...be),be.length===1&&typeof be[0]!="string")return be[0]}e.append=he;function ue(Ce,be){return Ce.insertBefore(be,Ce.firstChild),be}e.prepend=ue;function te(Ce,...be){Ce.innerText="",he(Ce,...be)}e.reset=te;const q=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var z;(function(Ce){Ce.HTML="http://www.w3.org/1999/xhtml",Ce.SVG="http://www.w3.org/2000/svg"})(z||(e.Namespace=z={}));function ee(Ce,be,Ie,...Ne){const Re=q.exec(be);if(!Re)throw new Error("Bad use of emmet");const Ve=Re[1]||"div";let ze;return Ce!==z.HTML?ze=document.createElementNS(Ce,Ve):ze=document.createElement(Ve),Re[3]&&(ze.id=Re[3]),Re[4]&&(ze.className=Re[4].replace(/\./g," ").trim()),Ie&&Object.entries(Ie).forEach(([We,qe])=>{typeof qe>"u"||(/^on\w+$/.test(We)?ze[We]=qe:We==="selected"?qe&&ze.setAttribute(We,"true"):ze.setAttribute(We,qe))}),ze.append(...Ne),ze}function $(Ce,be,...Ie){return ee(z.HTML,Ce,be,...Ie)}e.$=$,$.SVG=function(Ce,be,...Ie){return ee(z.SVG,Ce,be,...Ie)};function re(Ce,...be){Ce?oe(...be):ge(...be)}e.setVisibility=re;function oe(...Ce){for(const be of Ce)be.style.display="",be.removeAttribute("aria-hidden")}e.show=oe;function ge(...Ce){for(const be of Ce)be.style.display="none",be.setAttribute("aria-hidden","true")}e.hide=ge;function ve(Ce){const be=window.devicePixelRatio*Ce;return Math.max(1,Math.floor(be))/window.devicePixelRatio}e.computeScreenAwareSize=ve;function Se(Ce){window.open(Ce,"_blank","noopener")}e.windowOpenNoOpener=Se;function Le(Ce){const be=()=>{Ce(),Ie=(0,e.scheduleAtNextAnimationFrame)(be)};let Ie=(0,e.scheduleAtNextAnimationFrame)(be);return(0,g.toDisposable)(()=>Ie.dispose())}e.animate=Le,C.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function De(Ce){return Ce?`url('${C.FileAccess.uriToBrowserUri(Ce).toString(!0).replace(/'/g,"%27")}')`:"url('')"}e.asCSSUrl=De;function ye(Ce){return`'${Ce.replace(/'/g,"%27")}'`}e.asCSSPropertyValue=ye;function Ee(Ce,be){if(Ce!==void 0){const Ie=Ce.match(/^\s*var\((.+)\)$/);if(Ie){const Ne=Ie[1].split(",",2);return Ne.length===2&&(be=Ee(Ne[1].trim(),be)),`var(${Ne[0]}, ${be})`}return Ce}return be}e.asCssValueWithDefault=Ee;function Me(Ce,be=!1){const Ie=document.createElement("a");return _.addHook("afterSanitizeAttributes",Ne=>{for(const Re of["href","src"])if(Ne.hasAttribute(Re)){const Ve=Ne.getAttribute(Re);if(Re==="href"&&Ve.startsWith("#"))continue;if(Ie.href=Ve,!Ce.includes(Ie.protocol.replace(/:$/,""))){if(be&&Re==="src"&&Ie.href.startsWith("data:"))continue;Ne.removeAttribute(Re)}}}),(0,g.toDisposable)(()=>{_.removeHook("afterSanitizeAttributes")})}e.hookDomPurifyHrefAndSrcSanitizer=Me,e.basicMarkupHtmlTags=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);const Pe=Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class Fe extends f.Emitter{constructor(){super(),this._subscriptions=new g.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(a(window,"keydown",be=>{if(be.defaultPrevented)return;const Ie=new y.StandardKeyboardEvent(be);if(!(Ie.keyCode===6&&be.repeat)){if(be.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(be.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(be.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(be.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(Ie.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=be,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(a(window,"keyup",be=>{be.defaultPrevented||(!be.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!be.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!be.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!be.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=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=be,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(a(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mousemove",be=>{be.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(a(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 Fe.instance||(Fe.instance=new Fe),Fe.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}e.ModifierKeyEmitter=Fe;class _e extends g.Disposable{constructor(be,Ie){super(),this.element=be,this.callbacks=Ie,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(a(this.element,e.EventType.DRAG_ENTER,be=>{this.counter++,this.dragStartTime=be.timeStamp,this.callbacks.onDragEnter(be)})),this._register(a(this.element,e.EventType.DRAG_OVER,be=>{var Ie,Ne;be.preventDefault(),(Ne=(Ie=this.callbacks).onDragOver)===null||Ne===void 0||Ne.call(Ie,be,be.timeStamp-this.dragStartTime)})),this._register(a(this.element,e.EventType.DRAG_LEAVE,be=>{this.counter--,this.counter===0&&(this.dragStartTime=0,this.callbacks.onDragLeave(be))})),this._register(a(this.element,e.EventType.DRAG_END,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(be)})),this._register(a(this.element,e.EventType.DROP,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(be)}))}}e.DragAndDropObserver=_e;const me=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function le(Ce,...be){let Ie,Ne;Array.isArray(be[0])?(Ie={},Ne=be[0]):(Ie=be[0]||{},Ne=be[1]);const Re=me.exec(Ce);if(!Re||!Re.groups)throw new Error("Bad use of h");const Ve=Re.groups.tag||"div",ze=document.createElement(Ve);Re.groups.id&&(ze.id=Re.groups.id);const We=[];if(Re.groups.class)for(const Oe of Re.groups.class.split("."))Oe!==""&&We.push(Oe);if(Ie.className!==void 0)for(const Oe of Ie.className.split("."))Oe!==""&&We.push(Oe);We.length>0&&(ze.className=We.join(" "));const qe={};if(Re.groups.name&&(qe[Re.groups.name]=ze),Ne)for(const Oe of Ne)Oe instanceof HTMLElement?ze.appendChild(Oe):typeof Oe=="string"?ze.append(Oe):"root"in Oe&&(Object.assign(qe,Oe),ze.appendChild(Oe.root));for(const[Oe,Ge]of Object.entries(Ie))if(Oe!=="className")if(Oe==="style")for(const[Qe,st]of Object.entries(Ge))ze.style.setProperty(pe(Qe),typeof st=="number"?st+"px":""+st);else Oe==="tabIndex"?ze.tabIndex=Ge:ze.setAttribute(pe(Oe),Ge.toString());return qe.root=ze,qe}e.h=le;function pe(Ce){return Ce.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),define(ne[305],se([1,0,7]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=e.renderFormattedText=e.renderText=void 0;function k(s,i={}){const n=D(i);return n.textContent=s,n}e.renderText=k;function y(s,i={}){const n=D(i);return f(n,_(s,!!i.renderCodeSegments),i.actionHandler,i.renderCodeSegments),n}e.renderFormattedText=y;function D(s){const i=s.inline?"span":"div",n=document.createElement(i);return s.className&&(n.className=s.className),n}e.createElement=D;class S{constructor(i){this.source=i,this.index=0}eos(){return this.index>=this.source.length}next(){const i=this.peek();return this.advance(),i}peek(){return this.source[this.index]}advance(){this.index++}}function f(s,i,n,t){let a;if(i.type===2)a=document.createTextNode(i.content||"");else if(i.type===3)a=document.createElement("b");else if(i.type===4)a=document.createElement("i");else if(i.type===7&&t)a=document.createElement("code");else if(i.type===5&&n){const u=document.createElement("a");n.disposables.add(L.addStandardDisposableListener(u,"click",h=>{n.callback(String(i.index),h)})),a=u}else i.type===8?a=document.createElement("br"):i.type===1&&(a=s);a&&s!==a&&s.appendChild(a),a&&Array.isArray(i.children)&&i.children.forEach(u=>{f(a,u,n,t)})}function _(s,i){const n={type:1,children:[]};let t=0,a=n;const u=[],h=new S(s);for(;!h.eos();){let r=h.next();const c=r==="\\"&&C(h.peek(),i)!==0;if(c&&(r=h.next()),!c&&g(r,i)&&r===h.peek()){h.advance(),a.type===2&&(a=u.pop());const o=C(r,i);if(a.type===o||a.type===5&&o===6)a=u.pop();else{const d={type:o,children:[]};o===5&&(d.index=t,t++),a.children.push(d),u.push(a),a=d}}else if(r===` -`)a.type===2&&(a=u.pop()),a.children.push({type:8});else if(a.type!==2){const o={type:2,content:r};a.children.push(o),u.push(a),a=o}else a.content+=r}return a.type===2&&(a=u.pop()),u.length,n}function g(s,i){return C(s,i)!==0}function C(s,i){switch(s){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return i?7:0;default:return 0}}}),define(ne[152],se([1,0,7,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalPointerMoveMonitor=void 0;class y{constructor(){this._hooks=new k.DisposableStore,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(S,f){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const _=this._onStopCallback;this._onStopCallback=null,S&&_&&_(f)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(S,f,_,g,C){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=g,this._onStopCallback=C;let s=S;try{S.setPointerCapture(f),this._hooks.add((0,k.toDisposable)(()=>{try{S.releasePointerCapture(f)}catch{}}))}catch{s=window}this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_MOVE,i=>{if(i.buttons!==_){this.stopMonitoring(!0);return}i.preventDefault(),this._pointerMoveCallback(i)})),this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_UP,i=>this.stopMonitoring(!0)))}}e.GlobalPointerMoveMonitor=y}),define(ne[61],se([1,0,7,14,106,2,64]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gesture=e.EventType=void 0;var f;(function(g){g.Tap="-monaco-gesturetap",g.Change="-monaco-gesturechange",g.Start="-monaco-gesturestart",g.End="-monaco-gesturesend",g.Contextmenu="-monaco-gesturecontextmenu"})(f||(e.EventType=f={}));class _ extends D.Disposable{constructor(){super(),this.dispatched=!1,this.targets=new S.LinkedList,this.ignoreTargets=new S.LinkedList,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(L.addDisposableListener(document,"touchstart",C=>this.onTouchStart(C),{passive:!1})),this._register(L.addDisposableListener(document,"touchend",C=>this.onTouchEnd(C))),this._register(L.addDisposableListener(document,"touchmove",C=>this.onTouchMove(C),{passive:!1}))}static addTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.targets.push(C);return(0,D.toDisposable)(s)}static ignoreTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.ignoreTargets.push(C);return(0,D.toDisposable)(s)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(C){const s=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=C.targetTouches.length;i=_.HOLD_DELAY&&Math.abs(u.initialPageX-k.tail(u.rollingPageX))<30&&Math.abs(u.initialPageY-k.tail(u.rollingPageY))<30){const r=this.newGestureEvent(f.Contextmenu,u.initialTarget);r.pageX=k.tail(u.rollingPageX),r.pageY=k.tail(u.rollingPageY),this.dispatchEvent(r)}else if(i===1){const r=k.tail(u.rollingPageX),c=k.tail(u.rollingPageY),o=k.tail(u.rollingTimestamps)-u.rollingTimestamps[0],d=r-u.rollingPageX[0],l=c-u.rollingPageY[0],p=[...this.targets].filter(m=>u.initialTarget instanceof Node&&m.contains(u.initialTarget));this.inertia(p,s,Math.abs(d)/o,d>0?1:-1,r,Math.abs(l)/o,l>0?1:-1,c)}this.dispatchEvent(this.newGestureEvent(f.End,u.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}newGestureEvent(C,s){const i=document.createEvent("CustomEvent");return i.initEvent(C,!1,!0),i.initialTarget=s,i.tapCount=0,i}dispatchEvent(C){if(C.type===f.Tap){const s=new Date().getTime();let i=0;s-this._lastSetTapCountTime>_.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=s,C.tapCount=i}else(C.type===f.Change||C.type===f.Contextmenu)&&(this._lastSetTapCountTime=0);if(C.initialTarget instanceof Node){for(const s of this.ignoreTargets)if(s.contains(C.initialTarget))return;for(const s of this.targets)s.contains(C.initialTarget)&&(s.dispatchEvent(C),this.dispatched=!0)}}inertia(C,s,i,n,t,a,u,h){this.handle=L.scheduleAtNextAnimationFrame(()=>{const r=Date.now(),c=r-s;let o=0,d=0,l=!0;i+=_.SCROLL_FRICTION*c,a+=_.SCROLL_FRICTION*c,i>0&&(l=!1,o=n*i*c),a>0&&(l=!1,d=u*a*c);const p=this.newGestureEvent(f.Change);p.translationX=o,p.translationY=d,C.forEach(m=>m.dispatchEvent(p)),l||this.inertia(C,r,i,n,t+o,a,u,h+d)})}onTouchMove(C){const s=Date.now();for(let i=0,n=C.changedTouches.length;i3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(t.pageX),a.rollingPageY.push(t.pageY),a.rollingTimestamps.push(s)}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}}e.Gesture=_,_.SCROLL_FRICTION=-.005,_.HOLD_DELAY=700,_.CLEAR_TAP_COUNT_TIME=400,ke([y.memoize],_,"isTouchDevice",null)}),define(ne[49],se([1,0,7,393]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.status=e.alert=e.setARIAContainer=void 0;const k=2e4;let y,D,S,f,_;function g(n){y=document.createElement("div"),y.className="monaco-aria-container";const t=()=>{const u=document.createElement("div");return u.className="monaco-alert",u.setAttribute("role","alert"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};D=t(),S=t();const a=()=>{const u=document.createElement("div");return u.className="monaco-status",u.setAttribute("aria-live","polite"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};f=a(),_=a(),n.appendChild(y)}e.setARIAContainer=g;function C(n){y&&(D.textContent!==n?(L.clearNode(S),i(D,n)):(L.clearNode(D),i(S,n)))}e.alert=C;function s(n){y&&(f.textContent!==n?(L.clearNode(_),i(f,n)):(L.clearNode(f),i(_,n)))}e.status=s;function i(n,t){L.clearNode(n),t.length>k&&(t=t.substr(0,k)),n.textContent=t,n.style.visibility="hidden",n.style.visibility="visible"}}),define(ne[306],se([1,0,217,7,2,17,166,397]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextView=e.layout=e.LayoutAnchorMode=e.isAnchor=void 0;function f(i){const n=i;return!!n&&typeof n.x=="number"&&typeof n.y=="number"}e.isAnchor=f;var _;(function(i){i[i.AVOID=0]="AVOID",i[i.ALIGN=1]="ALIGN"})(_||(e.LayoutAnchorMode=_={}));function g(i,n,t){const a=t.mode===_.ALIGN?t.offset:t.offset+t.size,u=t.mode===_.ALIGN?t.offset+t.size:t.offset;return t.position===0?n<=i-a?a:n<=u?u-n:Math.max(i-n,0):n<=u?u-n:n<=i-a?a:0}e.layout=g;class C extends y.Disposable{constructor(n,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=y.Disposable.None,this.toDisposeOnSetContainer=y.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=k.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,k.hide(this.view),this.setContainer(n,t),this._register((0,y.toDisposable)(()=>this.setContainer(null,1)))}setContainer(n,t){var a;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(a=this.shadowRootHostElement)===null||a===void 0||a.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),n){if(this.container=n,this.useFixedPosition=t!==1,this.useShadowDOM=t===3,this.useShadowDOM){this.shadowRootHostElement=k.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const h=document.createElement("style");h.textContent=s,this.shadowRoot.appendChild(h),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(k.$("slot"))}else this.container.appendChild(this.view);const u=new y.DisposableStore;C.BUBBLE_UP_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!1)}))}),C.BUBBLE_DOWN_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!0)},!0))}),this.toDisposeOnSetContainer=u}}show(n){var t,a;this.isVisible()&&this.hide(),k.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2575",this.view.style.position=this.useFixedPosition?"fixed":"absolute",k.show(this.view),this.toDisposeOnClean=n.render(this.view)||y.Disposable.None,this.delegate=n,this.doLayout(),(a=(t=this.delegate).focus)===null||a===void 0||a.call(t)}getViewElement(){return this.view}layout(){if(this.isVisible()){if(this.delegate.canRelayout===!1&&!(D.isIOS&&L.BrowserFeatures.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;const n=this.delegate.getAnchor();let t;if(k.isHTMLElement(n)){const p=k.getDomNodePagePosition(n),m=k.getDomNodeZoomLevel(n);t={top:p.top*m,left:p.left*m,width:p.width*m,height:p.height*m}}else f(n)?t={top:n.y,left:n.x,width:n.width||1,height:n.height||2}:t={top:n.posy,left:n.posx,width:2,height:2};const a=k.getTotalWidth(this.view),u=k.getTotalHeight(this.view),h=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,c=this.delegate.anchorAxisAlignment||0;let o,d;if(c===0){const p={offset:t.top-window.pageYOffset,size:t.height,position:h===0?0:1},m={offset:t.left,size:t.width,position:r===0?0:1,mode:_.ALIGN};o=g(window.innerHeight,u,p)+window.pageYOffset,S.Range.intersects({start:o,end:o+u},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),d=g(window.innerWidth,a,m)}else{const p={offset:t.left,size:t.width,position:r===0?0:1},m={offset:t.top,size:t.height,position:h===0?0:1,mode:_.ALIGN};d=g(window.innerWidth,a,p),S.Range.intersects({start:d,end:d+a},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),o=g(window.innerHeight,u,m)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(h===0?"bottom":"top"),this.view.classList.add(r===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const l=k.getDomNodePagePosition(this.container);this.view.style.top=`${o-(this.useFixedPosition?k.getDomNodePagePosition(this.view).top:l.top)}px`,this.view.style.left=`${d-(this.useFixedPosition?k.getDomNodePagePosition(this.view).left:l.left)}px`,this.view.style.width="initial"}hide(n){const t=this.delegate;this.delegate=null,t?.onHide&&t.onHide(n),this.toDisposeOnClean.dispose(),k.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(n,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):t&&!k.isAncestor(n.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}e.ContextView=C,C.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],C.BUBBLE_DOWN_EVENTS=["click"];const s=` - :host { - all: initial; /* 1st rule so subsequent properties are reset. */ - } - - .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(ne[307],se([1,0,7,11,398]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountBadge=void 0;class y{constructor(S,f,_){this.options=f,this.styles=_,this.count=0,this.element=(0,L.append)(S,(0,L.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(S){this.count=S,this.render()}setTitleFormat(S){this.titleFormat=S,this.render()}render(){var S,f;this.element.textContent=(0,k.format)(this.countFormat,this.count),this.element.title=(0,k.format)(this.titleFormat,this.count),this.element.style.backgroundColor=(S=this.styles.badgeBackground)!==null&&S!==void 0?S:"",this.element.style.color=(f=this.styles.badgeForeground)!==null&&f!==void 0?f:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}e.CountBadge=y}),define(ne[572],se([1,0,7,44,61,39,6,266]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenu=void 0;class f extends D.ActionRunner{constructor(C,s){super(),this._onDidChangeVisibility=this._register(new S.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,L.append)(C,(0,L.$)(".monaco-dropdown")),this._label=(0,L.append)(this._element,(0,L.$)(".dropdown-label"));let i=s.labelRenderer;i||(i=t=>(t.textContent=s.label||"",null));for(const t of[L.EventType.CLICK,L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this.element,t,a=>L.EventHelper.stop(a,!0)));for(const t of[L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this._label,t,a=>{a instanceof MouseEvent&&(a.detail>1||a.button!==0)||(this.visible?this.hide():this.show())}));this._register((0,L.addDisposableListener)(this._label,L.EventType.KEY_UP,t=>{const a=new k.StandardKeyboardEvent(t);(a.equals(3)||a.equals(10))&&(L.EventHelper.stop(t,!0),this.visible?this.hide():this.show())}));const n=i(this._label);n&&this._register(n),this._register(y.Gesture.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class _ extends f{constructor(C,s){super(C,s),this._options=s,this._actions=[],this.actions=s.actions||[]}set menuOptions(C){this._menuOptions=C}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(C){this._actions=C}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(C,s)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(C,s):void 0,getKeyBinding:C=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(C):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}e.DropdownMenu=_}),define(ne[129],se([1,0,7,26]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderIcon=e.renderLabelWithIcons=void 0;const y=new RegExp(`(\\\\)?\\$\\((${k.ThemeIcon.iconNameExpression}(?:${k.ThemeIcon.iconModifierExpression})?)\\)`,"g");function D(f){const _=new Array;let g,C=0,s=0;for(;(g=y.exec(f))!==null;){s=g.index||0,C{C=s===`\r -`?-1:0,i+=g;for(const n of _)n.end<=i||(n.start>=i&&(n.start+=C),n.end>=i&&(n.end+=C));return g+=C,"\u23CE"})}}e.HighlightedLabel=D}),define(ne[222],se([1,0,7,216,47,558,402]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingLabel=e.unthemedKeybindingLabelOptions=void 0;const S=L.$;e.unthemedKeybindingLabelOptions={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class f{constructor(g,C,s){this.os=C,this.keyElements=new Set,this.options=s||Object.create(null);const i=this.options.keybindingLabelForeground;this.domNode=L.append(g,S(".monaco-keybinding")),i&&(this.domNode.style.color=i),this.didEverRender=!1,g.appendChild(this.domNode)}get element(){return this.domNode}set(g,C){this.didEverRender&&this.keybinding===g&&f.areSame(this.matches,C)||(this.keybinding=g,this.matches=C,this.render())}render(){var g;if(this.clear(),this.keybinding){const C=this.keybinding.getChords();C[0]&&this.renderChord(this.domNode,C[0],this.matches?this.matches.firstPart:null);for(let i=1;i{for(const _ of S)this.getRenderer(f).disposeTemplate(_.templateData),_.templateData=null}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(S){const f=this.renderers.get(S);if(!f)throw new Error(`No renderer found for ${S}`);return f}}e.RowCache=y}),define(ne[574],se([1,0,7,13,2,404]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;const D="done",S="active",f="infinite",_="infinite-long-running",g="discrete";class C extends y.Disposable{constructor(i,n){super(),this.workedVal=0,this.showDelayedScheduler=this._register(new k.RunOnceScheduler(()=>(0,L.show)(this.element),0)),this.longRunningScheduler=this._register(new k.RunOnceScheduler(()=>this.infiniteLongRunning(),C.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(i,n)}create(i,n){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),i.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=n?.progressBarBackground||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(S,f,_,g),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(i){return this.element.classList.add(D),this.element.classList.contains(f)?(this.bit.style.opacity="0",i?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",i?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(g,D,_),this.element.classList.add(S,f),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(_)}getContainer(){return this.element}}e.ProgressBar=C,C.LONG_RUNNING_INFINITE_THRESHOLD=1e4}),define(ne[130],se([1,0,7,81,61,13,106,6,2,17,405]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sash=e.OrthogonalEdge=void 0;const C=!1;var s;(function(d){d.North="north",d.South="south",d.East="east",d.West="west"})(s||(e.OrthogonalEdge=s={}));let i=4;const n=new f.Emitter;let t=300;const a=new f.Emitter;class u{constructor(){this.disposables=new _.DisposableStore}get onPointerMove(){return this.disposables.add(new k.DomEmitter(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(window,"mouseup")).event}dispose(){this.disposables.dispose()}}ke([S.memoize],u.prototype,"onPointerMove",null),ke([S.memoize],u.prototype,"onPointerUp",null);class h{get onPointerMove(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.Change)).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.End)).event}constructor(l){this.el=l,this.disposables=new _.DisposableStore}dispose(){this.disposables.dispose()}}ke([S.memoize],h.prototype,"onPointerMove",null),ke([S.memoize],h.prototype,"onPointerUp",null);class r{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(l){this.factory=l}dispose(){}}ke([S.memoize],r.prototype,"onPointerMove",null),ke([S.memoize],r.prototype,"onPointerUp",null);const c="pointer-events-disabled";class o extends _.Disposable{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(l){this._state!==l&&(this.el.classList.toggle("disabled",l===0),this.el.classList.toggle("minimum",l===1),this.el.classList.toggle("maximum",l===2),this._state=l,this.onDidEnablementChange.fire(l))}set orthogonalStartSash(l){if(this._orthogonalStartSash!==l){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),l){const p=m=>{this.orthogonalStartDragHandleDisposables.clear(),m!==0&&(this._orthogonalStartDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalStartSash=l}}set orthogonalEndSash(l){if(this._orthogonalEndSash!==l){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),l){const p=m=>{this.orthogonalEndDragHandleDisposables.clear(),m!==0&&(this._orthogonalEndDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalEndSash=l}}constructor(l,p,m){super(),this.hoverDelay=t,this.hoverDelayer=this._register(new D.Delayer(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new f.Emitter),this._onDidStart=this._register(new f.Emitter),this._onDidChange=this._register(new f.Emitter),this._onDidReset=this._register(new f.Emitter),this._onDidEnd=this._register(new f.Emitter),this.orthogonalStartSashDisposables=this._register(new _.DisposableStore),this.orthogonalStartDragHandleDisposables=this._register(new _.DisposableStore),this.orthogonalEndSashDisposables=this._register(new _.DisposableStore),this.orthogonalEndDragHandleDisposables=this._register(new _.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)(l,(0,L.$)(".monaco-sash")),m.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${m.orthogonalEdge}`),g.isMacintosh&&this.el.classList.add("mac");const v=this._register(new k.DomEmitter(this.el,"mousedown")).event;this._register(v(x=>this.onPointerStart(x,new u),this));const b=this._register(new k.DomEmitter(this.el,"dblclick")).event;this._register(b(this.onPointerDoublePress,this));const w=this._register(new k.DomEmitter(this.el,"mouseenter")).event;this._register(w(()=>o.onMouseEnter(this)));const E=this._register(new k.DomEmitter(this.el,"mouseleave")).event;this._register(E(()=>o.onMouseLeave(this))),this._register(y.Gesture.addTarget(this.el));const I=this._register(new k.DomEmitter(this.el,y.EventType.Start)).event;this._register(I(x=>this.onPointerStart(x,new h(this.el)),this));const M=this._register(new k.DomEmitter(this.el,y.EventType.Tap)).event;let P;this._register(M(x=>{if(P){clearTimeout(P),P=void 0,this.onPointerDoublePress(x);return}clearTimeout(P),P=setTimeout(()=>P=void 0,250)},this)),typeof m.size=="number"?(this.size=m.size,m.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=i,this._register(n.event(x=>{this.size=x,this.layout()}))),this._register(a.event(x=>this.hoverDelay=x)),this.layoutProvider=p,this.orthogonalStartSash=m.orthogonalStartSash,this.orthogonalEndSash=m.orthogonalEndSash,this.orientation=m.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",C),this.layout()}onPointerStart(l,p){L.EventHelper.stop(l);let m=!1;if(!l.__orthogonalSashEvent){const N=this.getOrthogonalSash(l);N&&(m=!0,l.__orthogonalSashEvent=!0,N.onPointerStart(l,new r(p)))}if(this.linkedSash&&!l.__linkedSashEvent&&(l.__linkedSashEvent=!0,this.linkedSash.onPointerStart(l,new r(p))),!this.state)return;const v=document.getElementsByTagName("iframe");for(const N of v)N.classList.add(c);const b=l.pageX,w=l.pageY,E=l.altKey,I={startX:b,currentX:b,startY:w,currentY:w,altKey:E};this.el.classList.add("active"),this._onDidStart.fire(I);const M=(0,L.createStyleSheet)(this.el),P=()=>{let N="";m?N="all-scroll":this.orientation===1?this.state===1?N="s-resize":this.state===2?N="n-resize":N=g.isMacintosh?"row-resize":"ns-resize":this.state===1?N="e-resize":this.state===2?N="w-resize":N=g.isMacintosh?"col-resize":"ew-resize",M.textContent=`* { cursor: ${N} !important; }`},x=new _.DisposableStore;P(),m||this.onDidEnablementChange.event(P,null,x);const T=N=>{L.EventHelper.stop(N,!1);const F={startX:b,currentX:N.pageX,startY:w,currentY:N.pageY,altKey:E};this._onDidChange.fire(F)},A=N=>{L.EventHelper.stop(N,!1),this.el.removeChild(M),this.el.classList.remove("active"),this._onDidEnd.fire(),x.dispose();for(const F of v)F.classList.remove(c)};p.onPointerMove(T,null,x),p.onPointerUp(A,null,x),x.add(p)}onPointerDoublePress(l){const p=this.getOrthogonalSash(l);p&&p._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(l,p=!1){l.el.classList.contains("active")?(l.hoverDelayer.cancel(),l.el.classList.add("hover")):l.hoverDelayer.trigger(()=>l.el.classList.add("hover"),l.hoverDelay).then(void 0,()=>{}),!p&&l.linkedSash&&o.onMouseEnter(l.linkedSash,!0)}static onMouseLeave(l,p=!1){l.hoverDelayer.cancel(),l.el.classList.remove("hover"),!p&&l.linkedSash&&o.onMouseLeave(l.linkedSash,!0)}clearSashHoverState(){o.onMouseLeave(this)}layout(){if(this.orientation===0){const l=this.layoutProvider;this.el.style.left=l.getVerticalSashLeft(this)-this.size/2+"px",l.getVerticalSashTop&&(this.el.style.top=l.getVerticalSashTop(this)+"px"),l.getVerticalSashHeight&&(this.el.style.height=l.getVerticalSashHeight(this)+"px")}else{const l=this.layoutProvider;this.el.style.top=l.getHorizontalSashTop(this)-this.size/2+"px",l.getHorizontalSashLeft&&(this.el.style.left=l.getHorizontalSashLeft(this)+"px"),l.getHorizontalSashWidth&&(this.el.style.width=l.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(l){var p;const m=(p=l.initialTarget)!==null&&p!==void 0?p:l.target;if(!(!m||!(m instanceof HTMLElement))&&m.classList.contains("orthogonal-drag-handle"))return m.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}e.Sash=o}),define(ne[223],se([1,0,7,130,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableHTMLElement=void 0;class S{constructor(){this._onDidWillResize=new y.Emitter,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new y.Emitter,this.onDidResize=this._onDidResize.event,this._sashListener=new D.DisposableStore,this._size=new L.Dimension(0,0),this._minSize=new L.Dimension(0,0),this._maxSize=new L.Dimension(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:k.OrthogonalEdge.North}),this._southSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:k.OrthogonalEdge.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let _,g=0,C=0;this._sashListener.add(y.Event.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{_===void 0&&(this._onDidWillResize.fire(),_=this._size,g=0,C=0)})),this._sashListener.add(y.Event.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{_!==void 0&&(_=void 0,g=0,C=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(s=>{_&&(C=s.currentX-s.startX,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(s=>{_&&(C=-(s.currentX-s.startX),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(s=>{_&&(g=-(s.currentY-s.startY),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(s=>{_&&(g=s.currentY-s.startY,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(y.Event.any(this._eastSash.onDidReset,this._westSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(y.Event.any(this._northSash.onDidReset,this._southSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(_,g,C,s){this._northSash.state=_?3:0,this._eastSash.state=g?3:0,this._southSash.state=C?3:0,this._westSash.state=s?3:0}layout(_=this.size.height,g=this.size.width){const{height:C,width:s}=this._minSize,{height:i,width:n}=this._maxSize;_=Math.max(C,Math.min(i,_)),g=Math.max(s,Math.min(n,g));const t=new L.Dimension(g,_);L.Dimension.equals(t,this._size)||(this.domNode.style.height=_+"px",this.domNode.style.width=g+"px",this._size=t,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(_){this._maxSize=_}get maxSize(){return this._maxSize}set minSize(_){this._minSize=_}get minSize(){return this._minSize}set preferredSize(_){this._preferredSize=_}get preferredSize(){return this._preferredSize}}e.ResizableHTMLElement=S}),define(ne[575],se([1,0,7,61,14,6,2,17]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectBoxNative=void 0;class _ extends S.Disposable{constructor(C,s,i,n){super(),this.selected=0,this.selectBoxOptions=n||Object.create(null),this.options=[],this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box",typeof this.selectBoxOptions.ariaLabel=="string"&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription=="string"&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=this._register(new D.Emitter),this.styles=i,this.registerListeners(),this.setOptions(C,s)}registerListeners(){this._register(k.Gesture.addTarget(this.selectElement)),[k.EventType.Tap].forEach(C=>{this._register(L.addDisposableListener(this.selectElement,C,s=>{this.selectElement.focus()}))}),this._register(L.addStandardDisposableListener(this.selectElement,"click",C=>{L.EventHelper.stop(C,!0)})),this._register(L.addStandardDisposableListener(this.selectElement,"change",C=>{this.selectElement.title=C.target.value,this._onDidSelect.fire({index:C.target.selectedIndex,selected:C.target.value})})),this._register(L.addStandardDisposableListener(this.selectElement,"keydown",C=>{let s=!1;f.isMacintosh?(C.keyCode===18||C.keyCode===16||C.keyCode===10)&&(s=!0):(C.keyCode===18&&C.altKey||C.keyCode===10||C.keyCode===3)&&(s=!0),s&&C.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(C,s){(!this.options||!y.equals(this.options,C))&&(this.options=C,this.selectElement.options.length=0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled))})),s!==void 0&&this.select(s)}select(C){this.options.length===0?this.selected=0:C>=0&&Cthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selectedC(new y.StandardMouseEvent(s))))}onmousedown(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_DOWN,s=>C(new y.StandardMouseEvent(s))))}onmouseover(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_OVER,s=>C(new y.StandardMouseEvent(s))))}onmouseleave(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_LEAVE,s=>C(new y.StandardMouseEvent(s))))}onkeydown(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_DOWN,s=>C(new k.StandardKeyboardEvent(s))))}onkeyup(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_UP,s=>C(new k.StandardKeyboardEvent(s))))}oninput(g,C){this._register(L.addDisposableListener(g,L.EventType.INPUT,C))}onblur(g,C){this._register(L.addDisposableListener(g,L.EventType.BLUR,C))}onfocus(g,C){this._register(L.addDisposableListener(g,L.EventType.FOCUS,C))}ignoreGesture(g){return D.Gesture.ignoreTarget(g)}}e.Widget=f}),define(ne[224],se([1,0,152,83,13,26,7]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarArrow=e.ARROW_IMG_SIZE=void 0,e.ARROW_IMG_SIZE=11;class f extends k.Widget{constructor(g){super(),this._onActivate=g.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=g.bgWidth+"px",this.bgDomNode.style.height=g.bgHeight+"px",typeof g.top<"u"&&(this.bgDomNode.style.top="0px"),typeof g.left<"u"&&(this.bgDomNode.style.left="0px"),typeof g.bottom<"u"&&(this.bgDomNode.style.bottom="0px"),typeof g.right<"u"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=g.className,this.domNode.classList.add(...D.ThemeIcon.asClassNameArray(g.icon)),this.domNode.style.position="absolute",this.domNode.style.width=e.ARROW_IMG_SIZE+"px",this.domNode.style.height=e.ARROW_IMG_SIZE+"px",typeof g.top<"u"&&(this.domNode.style.top=g.top+"px"),typeof g.left<"u"&&(this.domNode.style.left=g.left+"px"),typeof g.bottom<"u"&&(this.domNode.style.bottom=g.bottom+"px"),typeof g.right<"u"&&(this.domNode.style.right=g.right+"px"),this._pointerMoveMonitor=this._register(new L.GlobalPointerMoveMonitor),this._register(S.addStandardDisposableListener(this.bgDomNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._register(S.addStandardDisposableListener(this.domNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._pointerdownRepeatTimer=this._register(new y.IntervalTimer),this._pointerdownScheduleRepeatTimer=this._register(new y.TimeoutTimer)}_arrowPointerDown(g){if(!g.target||!(g.target instanceof Element))return;const C=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(C,200),this._pointerMoveMonitor.startMonitoring(g.target,g.pointerId,g.buttons,s=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),g.preventDefault()}}e.ScrollbarArrow=f}),define(ne[309],se([1,0,7,35,152,224,567,83,17]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractScrollbar=void 0;const g=140;class C extends f.Widget{constructor(i){super(),this._lazyRender=i.lazyRender,this._host=i.host,this._scrollable=i.scrollable,this._scrollByPage=i.scrollByPage,this._scrollbarState=i.scrollbarState,this._visibilityController=this._register(new S.ScrollbarVisibilityController(i.visibility,"visible scrollbar "+i.extraScrollbarClassName,"invisible scrollbar "+i.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new y.GlobalPointerMoveMonitor),this._shouldRender=!0,this.domNode=(0,k.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._register(L.addDisposableListener(this.domNode.domNode,L.EventType.POINTER_DOWN,n=>this._domNodePointerDown(n)))}_createArrow(i){const n=this._register(new D.ScrollbarArrow(i));this.domNode.domNode.appendChild(n.bgDomNode),this.domNode.domNode.appendChild(n.domNode)}_createSlider(i,n,t,a){this.slider=(0,k.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(i),this.slider.setLeft(n),typeof t=="number"&&this.slider.setWidth(t),typeof a=="number"&&this.slider.setHeight(a),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(L.addDisposableListener(this.slider.domNode,L.EventType.POINTER_DOWN,u=>{u.button===0&&(u.preventDefault(),this._sliderPointerDown(u))})),this.onclick(this.slider.domNode,u=>{u.leftButton&&u.stopPropagation()})}_onElementSize(i){return this._scrollbarState.setVisibleSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(i){return this._scrollbarState.setScrollSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(i){return this._scrollbarState.setScrollPosition(i)&&(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()))}_domNodePointerDown(i){i.target===this.domNode.domNode&&this._onPointerDown(i)}delegatePointerDown(i){const n=this.domNode.domNode.getClientRects()[0].top,t=n+this._scrollbarState.getSliderPosition(),a=n+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),u=this._sliderPointerPosition(i);t<=u&&u<=a?i.button===0&&(i.preventDefault(),this._sliderPointerDown(i)):this._onPointerDown(i)}_onPointerDown(i){let n,t;if(i.target===this.domNode.domNode&&typeof i.offsetX=="number"&&typeof i.offsetY=="number")n=i.offsetX,t=i.offsetY;else{const u=L.getDomNodePagePosition(this.domNode.domNode);n=i.pageX-u.left,t=i.pageY-u.top}const a=this._pointerDownRelativePosition(n,t);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(a):this._scrollbarState.getDesiredScrollPositionFromOffset(a)),i.button===0&&(i.preventDefault(),this._sliderPointerDown(i))}_sliderPointerDown(i){if(!i.target||!(i.target instanceof Element))return;const n=this._sliderPointerPosition(i),t=this._sliderOrthogonalPointerPosition(i),a=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(i.target,i.pointerId,i.buttons,u=>{const h=this._sliderOrthogonalPointerPosition(u),r=Math.abs(h-t);if(_.isWindows&&r>g){this._setDesiredScrollPositionNow(a.getScrollPosition());return}const o=this._sliderPointerPosition(u)-n;this._setDesiredScrollPositionNow(a.getDesiredScrollPositionFromDelta(o))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(i){const n={};this.writeScrollPosition(n,i),this._scrollable.setScrollPositionNow(n)}updateScrollbarSize(i){this._updateScrollbarSize(i),this._scrollbarState.setScrollbarSize(i),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}e.AbstractScrollbar=C}),define(ne[576],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HorizontalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.horizontalHasArrows?C.arrowSize:0,C.horizontal===2?0:C.horizontalScrollbarSize,C.vertical===2?0:C.verticalScrollbarSize,i.width,i.scrollWidth,n.scrollLeft),visibility:C.horizontal,extraScrollbarClassName:"horizontal",scrollable:g,scrollByPage:C.scrollByPage}),C.horizontalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.horizontalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonLeft,top:a,left:t,bottom:void 0,right:void 0,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonRight,top:a,left:void 0,bottom:void 0,right:t,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((C.horizontalScrollbarSize-C.horizontalSliderSize)/2),0,void 0,C.horizontalSliderSize)}_updateSlider(g,C){this.slider.setWidth(g),this.slider.setLeft(C)}_renderDomNode(g,C){this.domNode.setWidth(g),this.domNode.setHeight(C),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(g.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return g}_sliderPointerPosition(g){return g.pageX}_sliderOrthogonalPointerPosition(g){return g.pageY}_updateScrollbarSize(g){this.slider.setHeight(g)}writeScrollPosition(g,C){g.scrollLeft=C}updateOptions(g){this.updateScrollbarSize(g.horizontal===2?0:g.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._visibilityController.setVisibility(g.horizontal),this._scrollByPage=g.scrollByPage}}e.HorizontalScrollbar=f}),define(ne[577],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VerticalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.verticalHasArrows?C.arrowSize:0,C.vertical===2?0:C.verticalScrollbarSize,0,i.height,i.scrollHeight,n.scrollTop),visibility:C.vertical,extraScrollbarClassName:"vertical",scrollable:g,scrollByPage:C.scrollByPage}),C.verticalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.verticalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonUp,top:t,left:a,bottom:void 0,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonDown,top:void 0,left:a,bottom:t,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((C.verticalScrollbarSize-C.verticalSliderSize)/2),C.verticalSliderSize,void 0)}_updateSlider(g,C){this.slider.setHeight(g),this.slider.setTop(C)}_renderDomNode(g,C){this.domNode.setWidth(C),this.domNode.setHeight(g),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(g.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return C}_sliderPointerPosition(g){return g.pageY}_sliderOrthogonalPointerPosition(g){return g.pageX}_updateScrollbarSize(g){this.slider.setWidth(g)}writeScrollPosition(g,C){g.scrollTop=C}updateOptions(g){this.updateScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(g.vertical),this._scrollByPage=g.scrollByPage}}e.VerticalScrollbar=f}),define(ne[75],se([1,0,52,7,35,60,576,577,83,13,6,2,17,167,406]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomScrollableElement=e.SmoothScrollableElement=e.ScrollableElement=e.AbstractScrollableElement=e.MouseWheelClassifier=void 0;const t=500,a=50,u=!0;class h{constructor(v,b,w){this.timestamp=v,this.deltaX=b,this.deltaY=w,this.score=0}}class r{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let v=1,b=0,w=1,E=this._rear;do{const I=E===this._front?v:Math.pow(2,-w);if(v-=I,b+=this._memory[E].score*I,E===this._front)break;E=(this._capacity+E-1)%this._capacity,w++}while(!0);return b<=.5}acceptStandardWheelEvent(v){const b=window.devicePixelRatio/(0,L.getZoomFactor)();i.isWindows||i.isLinux?this.accept(Date.now(),v.deltaX/b,v.deltaY/b):this.accept(Date.now(),v.deltaX,v.deltaY)}accept(v,b,w){const E=new h(v,b,w);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(v){if(Math.abs(v.deltaX)>0&&Math.abs(v.deltaY)>0)return 1;let b=.5;const w=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(v.deltaX)||!this._isAlmostInt(v.deltaY))&&(b+=.25),Math.min(Math.max(b,0),1)}_isAlmostInt(v){return Math.abs(Math.round(v)-v)<.01}}e.MouseWheelClassifier=r,r.INSTANCE=new r;class c extends _.Widget{get options(){return this._options}constructor(v,b,w){super(),this._onScroll=this._register(new C.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Emitter),v.style.overflow="hidden",this._options=p(b),this._scrollable=w,this._register(this._scrollable.onScroll(I=>{this._onWillScroll.fire(I),this._onDidScroll(I),this._onScroll.fire(I)}));const E={onMouseWheel:I=>this._onMouseWheel(I),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new f.VerticalScrollbar(this._scrollable,this._options,E)),this._horizontalScrollbar=this._register(new S.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(v),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,y.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,I=>this._onMouseOver(I)),this.onmouseleave(this._listenOnDomNode,I=>this._onMouseLeave(I)),this._hideTimeout=this._register(new g.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(v){this._verticalScrollbar.delegatePointerDown(v)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(v){this._scrollable.setScrollDimensions(v,!1)}updateClassName(v){this._options.className=v,i.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(v){typeof v.handleMouseWheel<"u"&&(this._options.handleMouseWheel=v.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof v.mouseWheelScrollSensitivity<"u"&&(this._options.mouseWheelScrollSensitivity=v.mouseWheelScrollSensitivity),typeof v.fastScrollSensitivity<"u"&&(this._options.fastScrollSensitivity=v.fastScrollSensitivity),typeof v.scrollPredominantAxis<"u"&&(this._options.scrollPredominantAxis=v.scrollPredominantAxis),typeof v.horizontal<"u"&&(this._options.horizontal=v.horizontal),typeof v.vertical<"u"&&(this._options.vertical=v.vertical),typeof v.horizontalScrollbarSize<"u"&&(this._options.horizontalScrollbarSize=v.horizontalScrollbarSize),typeof v.verticalScrollbarSize<"u"&&(this._options.verticalScrollbarSize=v.verticalScrollbarSize),typeof v.scrollByPage<"u"&&(this._options.scrollByPage=v.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(v){this._onMouseWheel(new D.StandardWheelEvent(v))}_setListeningToMouseWheel(v){if(this._mouseWheelToDispose.length>0!==v&&(this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),v)){const w=E=>{this._onMouseWheel(new D.StandardWheelEvent(E))};this._mouseWheelToDispose.push(k.addDisposableListener(this._listenOnDomNode,k.EventType.MOUSE_WHEEL,w,{passive:!1}))}}_onMouseWheel(v){var b;if(!((b=v.browserEvent)===null||b===void 0)&&b.defaultPrevented)return;const w=r.INSTANCE;u&&w.acceptStandardWheelEvent(v);let E=!1;if(v.deltaY||v.deltaX){let M=v.deltaY*this._options.mouseWheelScrollSensitivity,P=v.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&P+M===0?P=M=0:Math.abs(M)>=Math.abs(P)?P=0:M=0),this._options.flipAxes&&([M,P]=[P,M]);const x=!i.isMacintosh&&v.browserEvent&&v.browserEvent.shiftKey;(this._options.scrollYToX||x)&&!P&&(P=M,M=0),v.browserEvent&&v.browserEvent.altKey&&(P=P*this._options.fastScrollSensitivity,M=M*this._options.fastScrollSensitivity);const T=this._scrollable.getFutureScrollPosition();let A={};if(M){const N=a*M,F=T.scrollTop-(N<0?Math.floor(N):Math.ceil(N));this._verticalScrollbar.writeScrollPosition(A,F)}if(P){const N=a*P,F=T.scrollLeft-(N<0?Math.floor(N):Math.ceil(N));this._horizontalScrollbar.writeScrollPosition(A,F)}A=this._scrollable.validateScrollPosition(A),(T.scrollLeft!==A.scrollLeft||T.scrollTop!==A.scrollTop)&&(u&&this._options.mouseWheelSmoothScroll&&w.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(A):this._scrollable.setScrollPositionNow(A),E=!0)}let I=E;!I&&this._options.alwaysConsumeMouseWheel&&(I=!0),!I&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(I=!0),I&&(v.preventDefault(),v.stopPropagation())}_onDidScroll(v){this._shouldRender=this._horizontalScrollbar.onDidScroll(v)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(v)||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 v=this._scrollable.getCurrentScrollPosition(),b=v.scrollTop>0,w=v.scrollLeft>0,E=w?" left":"",I=b?" top":"",M=w||b?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${E}`),this._topShadowDomNode.setClassName(`shadow${I}`),this._topLeftShadowDomNode.setClassName(`shadow${M}${I}${E}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(v){this._mouseIsOver=!1,this._hide()}_onMouseOver(v){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(),t)}}e.AbstractScrollableElement=c;class o extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w)}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}}e.ScrollableElement=o;class d extends c{constructor(v,b,w){super(v,b,w)}setScrollPosition(v){v.reuseAnimation?this._scrollable.setScrollPositionSmooth(v,v.reuseAnimation):this._scrollable.setScrollPositionNow(v)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}e.SmoothScrollableElement=d;class l extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w),this._element=v,this.onScroll(E=>{E.scrollTopChanged&&(this._element.scrollTop=E.scrollTop),E.scrollLeftChanged&&(this._element.scrollLeft=E.scrollLeft)}),this.scanDomNode()}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}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=l;function p(m){const v={lazyRender:typeof m.lazyRender<"u"?m.lazyRender:!1,className:typeof m.className<"u"?m.className:"",useShadows:typeof m.useShadows<"u"?m.useShadows:!0,handleMouseWheel:typeof m.handleMouseWheel<"u"?m.handleMouseWheel:!0,flipAxes:typeof m.flipAxes<"u"?m.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof m.consumeMouseWheelIfScrollbarIsNeeded<"u"?m.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof m.alwaysConsumeMouseWheel<"u"?m.alwaysConsumeMouseWheel:!1,scrollYToX:typeof m.scrollYToX<"u"?m.scrollYToX:!1,mouseWheelScrollSensitivity:typeof m.mouseWheelScrollSensitivity<"u"?m.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof m.fastScrollSensitivity<"u"?m.fastScrollSensitivity:5,scrollPredominantAxis:typeof m.scrollPredominantAxis<"u"?m.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof m.mouseWheelSmoothScroll<"u"?m.mouseWheelSmoothScroll:!0,arrowSize:typeof m.arrowSize<"u"?m.arrowSize:11,listenOnDomNode:typeof m.listenOnDomNode<"u"?m.listenOnDomNode:null,horizontal:typeof m.horizontal<"u"?m.horizontal:1,horizontalScrollbarSize:typeof m.horizontalScrollbarSize<"u"?m.horizontalScrollbarSize:10,horizontalSliderSize:typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:0,horizontalHasArrows:typeof m.horizontalHasArrows<"u"?m.horizontalHasArrows:!1,vertical:typeof m.vertical<"u"?m.vertical:1,verticalScrollbarSize:typeof m.verticalScrollbarSize<"u"?m.verticalScrollbarSize:10,verticalHasArrows:typeof m.verticalHasArrows<"u"?m.verticalHasArrows:!1,verticalSliderSize:typeof m.verticalSliderSize<"u"?m.verticalSliderSize:0,scrollByPage:typeof m.scrollByPage<"u"?m.scrollByPage:!1};return v.horizontalSliderSize=typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:v.horizontalScrollbarSize,v.verticalSliderSize=typeof m.verticalSliderSize<"u"?m.verticalSliderSize:v.verticalScrollbarSize,i.isMacintosh&&(v.className+=" mac"),v}}),define(ne[310],se([1,0,7,44,75,2,555,399]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverAccessibleViewHint=e.HoverAction=e.HoverWidget=void 0;const f=L.$;class _ extends D.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 y.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}e.HoverWidget=_;class g extends D.Disposable{static render(i,n,t){return new g(i,n,t)}constructor(i,n,t){super(),this.actionContainer=L.append(i,f("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=L.append(this.actionContainer,f("a.action")),this.action.setAttribute("role","button"),n.iconClass&&L.append(this.action,f(`span.icon.${n.iconClass}`));const a=L.append(this.action,f("span"));a.textContent=t?`${n.label} (${t})`:n.label,this._register(L.addDisposableListener(this.actionContainer,L.EventType.CLICK,u=>{u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer)})),this._register(L.addDisposableListener(this.actionContainer,L.EventType.KEY_DOWN,u=>{const h=new k.StandardKeyboardEvent(u);(h.equals(3)||h.equals(10))&&(u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer))})),this.setEnabled(!0)}setEnabled(i){i?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}e.HoverAction=g;function C(s,i){return s&&i?(0,S.localize)(0,null,i):s?(0,S.localize)(1,null):""}e.getHoverAccessibleViewHint=C}),define(ne[225],se([1,0,197,7,81,61,75,14,13,106,6,2,166,167,391,573,9]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListView=e.NativeDragAndDropData=e.ExternalElementsDragAndDropData=e.ElementsDragAndDropData=void 0;const h={CurrentDragAndDropData:void 0},r={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(v){return[v]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class c{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ElementsDragAndDropData=c;class o{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ExternalElementsDragAndDropData=o;class d{constructor(){this.types=[],this.files=[]}update(b){if(b.types&&this.types.splice(0,this.types.length,...b.types),b.files){this.files.splice(0,this.files.length);for(let w=0;wI,b?.getPosInSet?this.getPosInSet=b.getPosInSet.bind(b):this.getPosInSet=(w,E)=>E+1,b?.getRole?this.getRole=b.getRole.bind(b):this.getRole=w=>"listitem",b?.isChecked?this.isChecked=b.isChecked.bind(b):this.isChecked=w=>{}}}class m{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(b){if(b!==this._horizontalScrolling){if(b&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=b,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const w of this.items)this.measureItemWidth(w);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=""}}constructor(b,w,E,I=r){var M,P,x,T,A,N,F,O,W,U,j,R,K;if(this.virtualDelegate=w,this.domId=`list_id_${++m.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new _.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=s.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=s.Disposable.None,this.onDragLeaveTimeout=s.Disposable.None,this.disposables=new s.DisposableStore,this._onDidChangeContentHeight=new C.Emitter,this._onDidChangeContentWidth=new C.Emitter,this._horizontalScrolling=!1,I.horizontalScrolling&&I.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new t.RangeMap((M=I.paddingTop)!==null&&M!==void 0?M:0);for(const Z of E)this.renderers.set(Z.templateId,Z);this.cache=this.disposables.add(new a.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 I.mouseSupport=="boolean"?I.mouseSupport:!0),this._horizontalScrolling=(P=I.horizontalScrolling)!==null&&P!==void 0?P:r.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=typeof I.paddingBottom>"u"?0:I.paddingBottom,this.accessibilityProvider=new p(I.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",((x=I.transformOptimization)!==null&&x!==void 0?x:r.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(D.Gesture.addTarget(this.rowsContainer)),this.scrollable=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:(T=I.smoothScrolling)!==null&&T!==void 0&&T?125:0,scheduleAtNextAnimationFrame:Z=>(0,k.scheduleAtNextAnimationFrame)(Z)}),this.scrollableElement=this.disposables.add(new S.SmoothScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:(A=I.alwaysConsumeMouseWheel)!==null&&A!==void 0?A:r.alwaysConsumeMouseWheel,horizontal:1,vertical:(N=I.verticalScrollMode)!==null&&N!==void 0?N:r.verticalScrollMode,useShadows:(F=I.useShadows)!==null&&F!==void 0?F:r.useShadows,mouseWheelScrollSensitivity:I.mouseWheelScrollSensitivity,fastScrollSensitivity:I.fastScrollSensitivity,scrollByPage:I.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),b.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,k.addDisposableListener)(this.rowsContainer,D.EventType.Change,Z=>this.onTouchChange(Z))),this.disposables.add((0,k.addDisposableListener)(this.scrollableElement.getDomNode(),"scroll",Z=>Z.target.scrollTop=0)),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragover",Z=>this.onDragOver(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"drop",Z=>this.onDrop(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragleave",Z=>this.onDragLeave(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragend",Z=>this.onDragEnd(Z))),this.setRowLineHeight=(O=I.setRowLineHeight)!==null&&O!==void 0?O:r.setRowLineHeight,this.setRowHeight=(W=I.setRowHeight)!==null&&W!==void 0?W:r.setRowHeight,this.supportDynamicHeights=(U=I.supportDynamicHeights)!==null&&U!==void 0?U:r.supportDynamicHeights,this.dnd=(j=I.dnd)!==null&&j!==void 0?j:r.dnd,this.layout((R=I.initialSize)===null||R===void 0?void 0:R.height,(K=I.initialSize)===null||K===void 0?void 0:K.width)}updateOptions(b){b.paddingBottom!==void 0&&(this.paddingBottom=b.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),b.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(b.smoothScrolling?125:0),b.horizontalScrolling!==void 0&&(this.horizontalScrolling=b.horizontalScrolling);let w;if(b.scrollByPage!==void 0&&(w=Object.assign(Object.assign({},w??{}),{scrollByPage:b.scrollByPage})),b.mouseWheelScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{mouseWheelScrollSensitivity:b.mouseWheelScrollSensitivity})),b.fastScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{fastScrollSensitivity:b.fastScrollSensitivity})),w&&this.scrollableElement.updateOptions(w),b.paddingTop!==void 0&&b.paddingTop!==this.rangeMap.paddingTop){const E=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),I=b.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=b.paddingTop,this.render(E,Math.max(0,this.lastRenderTop+I),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}splice(b,w,E=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(b,w,E)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(b,w,E=[]){const I=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),M={start:b,end:b+w},P=i.Range.intersect(I,M),x=new Map;for(let H=P.end-1;H>=P.start;H--){const B=this.items[H];if(B.dragStartDisposable.dispose(),B.checkedDisposable.dispose(),B.row){let V=x.get(B.templateId);V||(V=[],x.set(B.templateId,V));const Y=this.renderers.get(B.templateId);Y&&Y.disposeElement&&Y.disposeElement(B.element,H,B.row.templateData,B.size),V.push(B.row)}B.row=null}const T={start:b+w,end:this.items.length},A=i.Range.intersect(T,I),N=i.Range.relativeComplement(T,I),F=E.map(H=>({id:String(this.itemId++),element:H,templateId:this.virtualDelegate.getTemplateId(H),size:this.virtualDelegate.getHeight(H),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(H),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:s.Disposable.None,checkedDisposable:s.Disposable.None}));let O;b===0&&w>=this.items.length?(this.rangeMap=new t.RangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,F),O=this.items,this.items=F):(this.rangeMap.splice(b,w,F),O=this.items.splice(b,w,...F));const W=E.length-w,U=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),j=(0,t.shift)(A,W),R=i.Range.intersect(U,j);for(let H=R.start;H(0,t.shift)(H,W)),J=[{start:b,end:b+E.length},...G].map(H=>i.Range.intersect(U,H)),X=this.getNextToLastElement(J);for(const H of J)for(let B=H.start;BH.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 b=0;for(const w of this.items)typeof w.width<"u"&&(b=Math.max(b,w.width));this.scrollWidth=b,this.scrollableElement.setScrollDimensions({scrollWidth:b===0?0:b+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(const b of this.items)b.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}get firstVisibleIndex(){const b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),w=this.rangeMap.positionAt(b.start),E=this.rangeMap.positionAt(b.start+1);return E!==-1&&(E-w)/2+w{for(const F of A)for(let O=F.start;OI.row.domNode.setAttribute("aria-checked",String(!!F));N(x.value),I.checkedDisposable=x.onDidChange(N)}(M||!I.row.domNode.parentElement)&&(w?this.rowsContainer.insertBefore(I.row.domNode,w):this.rowsContainer.appendChild(I.row.domNode)),this.updateItemInDOM(I,b);const T=this.renderers.get(I.templateId);if(!T)throw new Error(`No renderer found for template id ${I.templateId}`);T?.renderElement(I.element,b,I.row.templateData,I.size);const A=this.dnd.getDragURI(I.element);I.dragStartDisposable.dispose(),I.row.domNode.draggable=!!A,A&&(I.dragStartDisposable=(0,k.addDisposableListener)(I.row.domNode,"dragstart",N=>this.onDragStart(I.element,A,N))),this.horizontalScrolling&&(this.measureItemWidth(I),this.eventuallyUpdateScrollWidth())}measureItemWidth(b){if(!b.row||!b.row.domNode)return;b.row.domNode.style.width="fit-content",b.width=(0,k.getContentWidth)(b.row.domNode);const w=window.getComputedStyle(b.row.domNode);w.paddingLeft&&(b.width+=parseFloat(w.paddingLeft)),w.paddingRight&&(b.width+=parseFloat(w.paddingRight)),b.row.domNode.style.width=""}updateItemInDOM(b,w){b.row.domNode.style.top=`${this.elementTop(w)}px`,this.setRowHeight&&(b.row.domNode.style.height=`${b.size}px`),this.setRowLineHeight&&(b.row.domNode.style.lineHeight=`${b.size}px`),b.row.domNode.setAttribute("data-index",`${w}`),b.row.domNode.setAttribute("data-last-element",w===this.length-1?"true":"false"),b.row.domNode.setAttribute("data-parity",w%2===0?"even":"odd"),b.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(b.element,w,this.length))),b.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(b.element,w))),b.row.domNode.setAttribute("id",this.getElementDomId(w)),b.row.domNode.classList.toggle("drop-target",b.dropTarget)}removeItemFromDOM(b){const w=this.items[b];if(w.dragStartDisposable.dispose(),w.checkedDisposable.dispose(),w.row){const E=this.renderers.get(w.templateId);E&&E.disposeElement&&E.disposeElement(w.element,b,w.row.templateData,w.size),this.cache.release(w.row),w.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(b,w){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:b,reuseAnimation:w})}get scrollTop(){return this.getScrollTop()}set scrollTop(b){this.setScrollTop(b)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"click")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseDblClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"dblclick")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseMiddleClick(){return C.Event.filter(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"auxclick")).event,b=>this.toMouseEvent(b),this.disposables),b=>b.browserEvent.button===1,this.disposables)}get onMouseDown(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mousedown")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOver(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseover")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOut(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseout")).event,b=>this.toMouseEvent(b),this.disposables)}get onContextMenu(){return C.Event.any(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"contextmenu")).event,b=>this.toMouseEvent(b),this.disposables),C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,D.EventType.Contextmenu)).event,b=>this.toGestureEvent(b),this.disposables))}get onTouchStart(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"touchstart")).event,b=>this.toTouchEvent(b),this.disposables)}get onTap(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.rowsContainer,D.EventType.Tap)).event,b=>this.toGestureEvent(b),this.disposables)}toMouseEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toTouchEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toGestureEvent(b){const w=this.getItemIndexFromEventTarget(b.initialTarget||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toDragEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}onScroll(b){try{const w=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(w,b.scrollTop,b.height,b.scrollLeft,b.scrollWidth),this.supportDynamicHeights&&this._rerender(b.scrollTop,b.height,b.inSmoothScrolling)}catch(w){throw console.error("Got bad scroll event:",b),w}}onTouchChange(b){b.preventDefault(),b.stopPropagation(),this.scrollTop-=b.translationY}onDragStart(b,w,E){var I,M;if(!E.dataTransfer)return;const P=this.dnd.getDragElements(b);if(E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setData(L.DataTransfers.TEXT,w),E.dataTransfer.setDragImage){let x;this.dnd.getDragLabel&&(x=this.dnd.getDragLabel(P,E)),typeof x>"u"&&(x=String(P.length));const T=(0,k.$)(".monaco-drag-image");T.textContent=x;const N=(F=>{for(;F&&!F.classList.contains("monaco-workbench");)F=F.parentElement;return F||document.body})(this.domNode);N.appendChild(T),E.dataTransfer.setDragImage(T,-10,-10),setTimeout(()=>N.removeChild(T),0)}this.domNode.classList.add("dragging"),this.currentDragData=new c(P),h.CurrentDragAndDropData=new o(P),(M=(I=this.dnd).onDragStart)===null||M===void 0||M.call(I,this.currentDragData,E)}onDragOver(b){var w;if(b.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),h.CurrentDragAndDropData&&h.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(b.browserEvent),!b.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(h.CurrentDragAndDropData)this.currentDragData=h.CurrentDragAndDropData;else{if(!b.browserEvent.dataTransfer.types)return!1;this.currentDragData=new d}const E=this.dnd.onDragOver(this.currentDragData,b.element,b.index,b.browserEvent);if(this.canDrop=typeof E=="boolean"?E:E.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;b.browserEvent.dataTransfer.dropEffect=typeof E!="boolean"&&E.effect===0?"copy":"move";let I;if(typeof E!="boolean"&&E.feedback?I=E.feedback:typeof b.index>"u"?I=[-1]:I=[b.index],I=(0,f.distinct)(I).filter(M=>M>=-1&&MM-P),I=I[0]===-1?[-1]:I,l(this.currentDragFeedback,I))return!0;if(this.currentDragFeedback=I,this.currentDragFeedbackDisposable.dispose(),I[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const M of I){const P=this.items[M];P.dropTarget=!0,(w=P.row)===null||w===void 0||w.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{var M;for(const P of I){const x=this.items[P];x.dropTarget=!1,(M=x.row)===null||M===void 0||M.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(b){var w,E;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,_.disposableTimeout)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&((E=(w=this.dnd).onDragLeave)===null||E===void 0||E.call(w,this.currentDragData,b.element,b.index,b.browserEvent))}onDrop(b){if(!this.canDrop)return;const w=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,!(!w||!b.browserEvent.dataTransfer)&&(b.browserEvent.preventDefault(),w.update(b.browserEvent.dataTransfer),this.dnd.drop(w,b.element,b.index,b.browserEvent))}onDragEnd(b){var w,E;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,(E=(w=this.dnd).onDragEnd)===null||E===void 0||E.call(w,b)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=s.Disposable.None}setupDragAndDropScrollTopAnimation(b){if(!this.dragOverAnimationDisposable){const w=(0,k.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,k.animate)(this.animateDragAndDropScrollTop.bind(this,w))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,_.disposableTimeout)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=b.pageY}animateDragAndDropScrollTop(b){if(this.dragOverMouseY===void 0)return;const w=this.dragOverMouseY-b,E=this.renderHeight-35;w<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(w-35))):w>E&&(this.scrollTop+=Math.min(14,Math.floor(.3*(w-E))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(b){const w=this.scrollableElement.getDomNode();let E=b;for(;E instanceof HTMLElement&&E!==this.rowsContainer&&w.contains(E);){const I=E.getAttribute("data-index");if(I){const M=Number(I);if(!isNaN(M))return M}E=E.parentElement}}getRenderRange(b,w){return{start:this.rangeMap.indexAt(b),end:this.rangeMap.indexAfter(b+w-1)}}_rerender(b,w,E){const I=this.getRenderRange(b,w);let M,P;b===this.elementTop(I.start)?(M=I.start,P=0):I.end-I.start>1&&(M=I.start+1,P=this.elementTop(M)-b);let x=0;for(;;){const T=this.getRenderRange(b,w);let A=!1;for(let N=T.start;Nce.templateData===ie);if(ae>=0){const ce=this.renderedElements[ae];this.trait.unrender(ie),ce.index=Y}else{const ce={index:Y,templateData:ie};this.renderedElements.push(ce)}this.trait.renderIndex(Y,ie)}splice(V,Y,ie){const ae=[];for(const ce of this.renderedElements)ce.index=V+Y&&ae.push({index:ce.index+ie-Y,templateData:ce.templateData});this.renderedElements=ae}renderIndexes(V){for(const{index:Y,templateData:ie}of this.renderedElements)V.indexOf(Y)>-1&&this.trait.renderIndex(Y,ie)}disposeTemplate(V){const Y=this.renderedElements.findIndex(ie=>ie.templateData===V);Y<0||this.renderedElements.splice(Y,1)}}class l{get name(){return this._trait}get renderer(){return new d(this)}constructor(V){this._trait=V,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new i.Emitter,this.onChange=this._onChange.event}splice(V,Y,ie){var ae;Y=Math.max(0,Math.min(Y,this.length-V));const ce=ie.length-Y,de=V+Y,he=[];let ue=0;for(;ue=de;)he.push(this.sortedIndexes[ue++]+ce);const te=this.length+ce;if(this.sortedIndexes.length>0&&he.length===0&&te>0){const q=(ae=this.sortedIndexes.find(z=>z>=V))!==null&&ae!==void 0?ae:te-1;he.push(Math.min(q,te-1))}this.renderer.splice(V,Y,ie.length),this._set(he,he),this.length=te}renderIndex(V,Y){Y.classList.toggle(this._trait,this.contains(V))}unrender(V){V.classList.remove(this._trait)}set(V,Y){return this._set(V,[...V].sort(G),Y)}_set(V,Y,ie){const ae=this.indexes,ce=this.sortedIndexes;this.indexes=V,this.sortedIndexes=Y;const de=R(ce,V);return this.renderer.renderIndexes(de),this._onChange.fire({indexes:V,browserEvent:ie}),ae}get(){return this.indexes}contains(V){return(0,_.binarySearch)(this.sortedIndexes,V,G)>=0}dispose(){(0,t.dispose)(this._onChange)}}ke([s.memoize],l.prototype,"renderer",null);class p extends l{constructor(V){super("selected"),this.setAriaSelected=V}renderIndex(V,Y){super.renderIndex(V,Y),this.setAriaSelected&&(this.contains(V)?Y.setAttribute("aria-selected","true"):Y.setAttribute("aria-selected","false"))}}class m{constructor(V,Y,ie){this.trait=V,this.view=Y,this.identityProvider=ie}splice(V,Y,ie){if(!this.identityProvider)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ae=this.trait.get().map(he=>this.identityProvider.getId(this.view.element(he)).toString());if(ae.length===0)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ce=new Set(ae),de=ie.map(he=>ce.has(this.identityProvider.getId(he).toString()));this.trait.splice(V,Y,de)}}function v(B){return B.tagName==="INPUT"||B.tagName==="TEXTAREA"}e.isInputElement=v;function b(B){return B.classList.contains("monaco-editor")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:b(B.parentElement)}e.isMonacoEditor=b;function w(B){return B.tagName==="A"&&B.classList.contains("monaco-button")||B.tagName==="DIV"&&B.classList.contains("monaco-button-dropdown")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:w(B.parentElement)}e.isButton=w;class E{get onKeyDown(){return this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event).filter(V=>!v(V.target)).map(V=>new y.StandardKeyboardEvent(V)))}constructor(V,Y,ie){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.multipleSelectionDisposables=new t.DisposableStore,this.onKeyDown.filter(ae=>ae.keyCode===3).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===16).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===18).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===11).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===12).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===9).on(this.onEscape,this,this.disposables),ie.multipleSelectionSupport!==!1&&this.onKeyDown.filter(ae=>(u.isMacintosh?ae.metaKey:ae.ctrlKey)&&ae.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables)}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionDisposables.clear(),V.multipleSelectionSupport&&this.onKeyDown.filter(Y=>(u.isMacintosh?Y.metaKey:Y.ctrlKey)&&Y.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 Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNext(1,!1,V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPreviousPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNextPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onCtrlA(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection((0,_.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()}}ke([s.memoize],E.prototype,"onKeyDown",null);var I;(function(B){B[B.Automatic=0]="Automatic",B[B.Trigger=1]="Trigger"})(I||(e.TypeNavigationMode=I={}));var M;(function(B){B[B.Idle=0]="Idle",B[B.Typing=1]="Typing"})(M||(M={})),e.DefaultKeyboardNavigationDelegate=new class{mightProducePrintableCharacter(B){return B.ctrlKey||B.metaKey||B.altKey?!1:B.keyCode>=31&&B.keyCode<=56||B.keyCode>=21&&B.keyCode<=30||B.keyCode>=98&&B.keyCode<=107||B.keyCode>=85&&B.keyCode<=95}};class P{constructor(V,Y,ie,ae,ce){this.list=V,this.view=Y,this.keyboardNavigationLabelProvider=ie,this.keyboardNavigationEventFilter=ae,this.delegate=ce,this.enabled=!1,this.state=M.Idle,this.mode=I.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new t.DisposableStore,this.disposables=new t.DisposableStore,this.updateOptions(V.options)}updateOptions(V){var Y,ie;!((Y=V.typeNavigationEnabled)!==null&&Y!==void 0)||Y?this.enable():this.disable(),this.mode=(ie=V.typeNavigationMode)!==null&&ie!==void 0?ie:I.Automatic}enable(){if(this.enabled)return;let V=!1;const Y=this.enabledDisposables.add(i.Event.chain(this.enabledDisposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).filter(ce=>!v(ce.target)).filter(()=>this.mode===I.Automatic||this.triggered).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V||this.keyboardNavigationEventFilter(ce)).filter(ce=>this.delegate.mightProducePrintableCharacter(ce)).forEach(ce=>L.EventHelper.stop(ce,!0)).map(ce=>ce.browserEvent.key).event,ie=i.Event.debounce(Y,()=>null,800,void 0,void 0,void 0,this.enabledDisposables);i.Event.reduce(i.Event.any(Y,ie),(ce,de)=>de===null?null:(ce||"")+de,void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),ie(this.onClear,this,this.enabledDisposables),Y(()=>V=!0,void 0,this.enabledDisposables),ie(()=>V=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var V;const Y=this.list.getFocus();if(Y.length>0&&Y[0]===this.previouslyFocused){const ie=(V=this.list.options.accessibilityProvider)===null||V===void 0?void 0:V.getAriaLabel(this.list.element(Y[0]));ie&&(0,S.alert)(ie)}this.previouslyFocused=-1}onInput(V){if(!V){this.state=M.Idle,this.triggered=!1;return}const Y=this.list.getFocus(),ie=Y.length>0?Y[0]:0,ae=this.state===M.Idle?1:0;this.state=M.Typing;for(let ce=0;ce1&&q.length===1){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}}else if(typeof ue>"u"||(0,n.matchesPrefix)(V,ue)){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class x{constructor(V,Y){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(Y.domNode,"keydown")).event)).filter(ae=>!v(ae.target)).map(ae=>new y.StandardKeyboardEvent(ae)).filter(ae=>ae.keyCode===2&&!ae.ctrlKey&&!ae.metaKey&&!ae.shiftKey&&!ae.altKey).on(this.onTab,this,this.disposables)}onTab(V){if(V.target!==this.view.domNode)return;const Y=this.list.getFocus();if(Y.length===0)return;const ie=this.view.domElement(Y[0]);if(!ie)return;const ae=ie.querySelector("[tabIndex]");if(!ae||!(ae instanceof HTMLElement)||ae.tabIndex===-1)return;const ce=window.getComputedStyle(ae);ce.visibility==="hidden"||ce.display==="none"||(V.preventDefault(),V.stopPropagation(),ae.focus())}dispose(){this.disposables.dispose()}}function T(B){return u.isMacintosh?B.browserEvent.metaKey:B.browserEvent.ctrlKey}e.isSelectionSingleChangeEvent=T;function A(B){return B.browserEvent.shiftKey}e.isSelectionRangeChangeEvent=A;function N(B){return B instanceof MouseEvent&&B.button===2}const F={isSelectionSingleChangeEvent:T,isSelectionRangeChangeEvent:A};class O{constructor(V){this.list=V,this.disposables=new t.DisposableStore,this._onPointer=new i.Emitter,this.onPointer=this._onPointer.event,V.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||F),this.mouseSupport=typeof V.options.mouseSupport>"u"||!!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(D.Gesture.addTarget(V.getHTMLElement()))),i.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||F))}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){b(V.browserEvent.target)||document.activeElement!==V.browserEvent.target&&this.list.domFocus()}onContextMenu(V){if(v(V.browserEvent.target)||b(V.browserEvent.target))return;const Y=typeof V.index>"u"?[]:[V.index];this.list.setFocus(Y,V.browserEvent)}onViewPointer(V){if(!this.mouseSupport||v(V.browserEvent.target)||b(V.browserEvent.target)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=V.index;if(typeof Y>"u"){this.list.setFocus([],V.browserEvent),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(V))return this.changeSelection(V);this.list.setFocus([Y],V.browserEvent),this.list.setAnchor(Y),N(V.browserEvent)||this.list.setSelection([Y],V.browserEvent),this._onPointer.fire(V)}onDoubleClick(V){if(v(V.browserEvent.target)||b(V.browserEvent.target)||this.isSelectionChangeEvent(V)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=this.list.getFocus();this.list.setSelection(Y,V.browserEvent)}changeSelection(V){const Y=V.index;let ie=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(V)){if(typeof ie>"u"){const q=this.list.getFocus()[0];ie=q??Y,this.list.setAnchor(ie)}const ae=Math.min(ie,Y),ce=Math.max(ie,Y),de=(0,_.range)(ae,ce+1),he=this.list.getSelection(),ue=j(R(he,[ie]),ie);if(ue.length===0)return;const te=R(de,K(he,ue));this.list.setSelection(te,V.browserEvent),this.list.setFocus([Y],V.browserEvent)}else if(this.isSelectionSingleChangeEvent(V)){const ae=this.list.getSelection(),ce=ae.filter(de=>de!==Y);this.list.setFocus([Y]),this.list.setAnchor(Y),ae.length===ce.length?this.list.setSelection([...ce,Y],V.browserEvent):this.list.setSelection(ce,V.browserEvent)}}dispose(){this.disposables.dispose()}}e.MouseController=O;class W{constructor(V,Y){this.styleElement=V,this.selectorSuffix=Y}style(V){var Y,ie;const ae=this.selectorSuffix&&`.${this.selectorSuffix}`,ce=[];V.listBackground&&ce.push(`.monaco-list${ae} .monaco-list-rows { background: ${V.listBackground}; }`),V.listFocusBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { background-color: ${V.listFocusBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused:hover { background-color: ${V.listFocusBackground}; }`)),V.listFocusForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { color: ${V.listFocusForeground}; }`),V.listActiveSelectionBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { background-color: ${V.listActiveSelectionBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected:hover { background-color: ${V.listActiveSelectionBackground}; }`)),V.listActiveSelectionForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { color: ${V.listActiveSelectionForeground}; }`),V.listActiveSelectionIconForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected .codicon { color: ${V.listActiveSelectionIconForeground}; }`),V.listFocusAndSelectionBackground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { background-color: ${V.listFocusAndSelectionBackground}; } - `),V.listFocusAndSelectionForeground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { color: ${V.listFocusAndSelectionForeground}; } - `),V.listInactiveFocusForeground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { color: ${V.listInactiveFocusForeground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { color: ${V.listInactiveFocusForeground}; }`)),V.listInactiveSelectionIconForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.focused .codicon { color: ${V.listInactiveSelectionIconForeground}; }`),V.listInactiveFocusBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { background-color: ${V.listInactiveFocusBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { background-color: ${V.listInactiveFocusBackground}; }`)),V.listInactiveSelectionBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.selected { background-color: ${V.listInactiveSelectionBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.selected:hover { background-color: ${V.listInactiveSelectionBackground}; }`)),V.listInactiveSelectionForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { color: ${V.listInactiveSelectionForeground}; }`),V.listHoverBackground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${V.listHoverBackground}; }`),V.listHoverForeground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${V.listHoverForeground}; }`);const de=(0,L.asCssValueWithDefault)(V.listFocusAndSelectionOutline,(0,L.asCssValueWithDefault)(V.listSelectionOutline,(Y=V.listFocusOutline)!==null&&Y!==void 0?Y:""));de&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused.selected { outline: 1px solid ${de}; outline-offset: -1px;}`),V.listFocusOutline&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - .monaco-workbench.context-menu-visible .monaco-list${ae}.last-focused .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - `);const he=(0,L.asCssValueWithDefault)(V.listSelectionOutline,(ie=V.listInactiveFocusOutline)!==null&&ie!==void 0?ie:"");he&&ce.push(`.monaco-list${ae} .monaco-list-row.focused.selected { outline: 1px dotted ${he}; outline-offset: -1px; }`),V.listSelectionOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { outline: 1px dotted ${V.listSelectionOutline}; outline-offset: -1px; }`),V.listInactiveFocusOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.focused { outline: 1px dotted ${V.listInactiveFocusOutline}; outline-offset: -1px; }`),V.listHoverOutline&&ce.push(`.monaco-list${ae} .monaco-list-row:hover { outline: 1px dashed ${V.listHoverOutline}; outline-offset: -1px; }`),V.listDropBackground&&ce.push(` - .monaco-list${ae}.drop-target, - .monaco-list${ae} .monaco-list-rows.drop-target, - .monaco-list${ae} .monaco-list-row.drop-target { background-color: ${V.listDropBackground} !important; color: inherit !important; } - `),V.tableColumnsBorder&&ce.push(` - .monaco-table > .monaco-split-view2, - .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: ${V.tableColumnsBorder}; - } - - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: transparent; - } - `),V.tableOddRowsBackgroundColor&&ce.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=ce.join(` -`)}}e.DefaultStyleController=W,e.unthemedListStyles={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropBackground:"#383B3D",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:C.Color.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:C.Color.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:C.Color.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0};const U={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function j(B,V){const Y=B.indexOf(V);if(Y===-1)return[];const ie=[];let ae=Y-1;for(;ae>=0&&B[ae]===V-(Y-ae);)ie.push(B[ae--]);for(ie.reverse(),ae=Y;ae=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){Y.push(B[ie]),ie++,ae++;continue}else B[ie]=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){ie++,ae++;continue}else B[ie]B-V;class Z{constructor(V,Y){this._templateId=V,this.renderers=Y}get templateId(){return this._templateId}renderTemplate(V){return this.renderers.map(Y=>Y.renderTemplate(V))}renderElement(V,Y,ie,ae){let ce=0;for(const de of this.renderers)de.renderElement(V,Y,ie[ce++],ae)}disposeElement(V,Y,ie,ae){var ce;let de=0;for(const he of this.renderers)(ce=he.disposeElement)===null||ce===void 0||ce.call(he,V,Y,ie[de],ae),de+=1}disposeTemplate(V){let Y=0;for(const ie of this.renderers)ie.disposeTemplate(V[Y++])}}class J{constructor(V){this.accessibilityProvider=V,this.templateId="a18n"}renderTemplate(V){return V}renderElement(V,Y,ie){const ae=this.accessibilityProvider.getAriaLabel(V);ae?ie.setAttribute("aria-label",ae):ie.removeAttribute("aria-label");const ce=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(V);typeof ce=="number"?ie.setAttribute("aria-level",`${ce}`):ie.removeAttribute("aria-level")}disposeTemplate(V){}}class X{constructor(V,Y){this.list=V,this.dnd=Y}getDragElements(V){const Y=this.list.getSelectedElements();return Y.indexOf(V)>-1?Y:[V]}getDragURI(V){return this.dnd.getDragURI(V)}getDragLabel(V,Y){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(V,Y)}onDragStart(V,Y){var ie,ae;(ae=(ie=this.dnd).onDragStart)===null||ae===void 0||ae.call(ie,V,Y)}onDragOver(V,Y,ie,ae){return this.dnd.onDragOver(V,Y,ie,ae)}onDragLeave(V,Y,ie,ae){var ce,de;(de=(ce=this.dnd).onDragLeave)===null||de===void 0||de.call(ce,V,Y,ie,ae)}onDragEnd(V){var Y,ie;(ie=(Y=this.dnd).onDragEnd)===null||ie===void 0||ie.call(Y,V)}drop(V,Y,ie,ae){this.dnd.drop(V,Y,ie,ae)}}class H{get onDidChangeFocus(){return i.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),V=>this.toListEvent(V),this.disposables)}get onDidChangeSelection(){return i.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),V=>this.toListEvent(V),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}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 onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let V=!1;const Y=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V=ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).filter(()=>!1).event,ie=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keyup")).event)).forEach(()=>V=!1).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).map(({browserEvent:ce})=>{const de=this.getFocus(),he=de.length?de[0]:void 0,ue=typeof he<"u"?this.view.element(he):void 0,te=typeof he<"u"?this.view.domElement(he):this.view.domNode;return{index:he,element:ue,anchor:te,browserEvent:ce}}).event,ae=this.disposables.add(i.Event.chain(this.view.onContextMenu)).filter(ce=>!V).map(({element:ce,index:de,browserEvent:he})=>({element:ce,index:de,anchor:new o.StandardMouseEvent(he),browserEvent:he})).event;return i.Event.any(Y,ie,ae)}get onKeyDown(){return this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event}get onDidFocus(){return i.Event.signal(this.disposables.add(new k.DomEmitter(this.view.domNode,"focus",!0)).event)}constructor(V,Y,ie,ae,ce=U){var de,he,ue,te;this.user=V,this._options=ce,this.focus=new l("focused"),this.anchor=new l("anchor"),this.eventBufferer=new i.EventBufferer,this._ariaLabel="",this.disposables=new t.DisposableStore,this._onDidDispose=new i.Emitter,this.onDidDispose=this._onDidDispose.event;const q=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(de=this._options.accessibilityProvider)===null||de===void 0?void 0:de.getWidgetRole():"list";this.selection=new p(q!=="listbox");const z=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=ce.accessibilityProvider,this.accessibilityProvider&&(z.push(new J(this.accessibilityProvider)),(ue=(he=this.accessibilityProvider).onDidChangeActiveDescendant)===null||ue===void 0||ue.call(he,this.onDidChangeActiveDescendant,this,this.disposables)),ae=ae.map($=>new Z($.templateId,[...z,$]));const ee=Object.assign(Object.assign({},ce),{dnd:ce.dnd&&new X(this,ce.dnd)});if(this.view=this.createListView(Y,ie,ae,ee),this.view.domNode.setAttribute("role",q),ce.styleController)this.styleController=ce.styleController(this.view.domId);else{const $=(0,L.createStyleSheet)(this.view.domNode);this.styleController=new W($,this.view.domId)}if(this.spliceable=new f.CombinedSpliceable([new m(this.focus,this.view,ce.identityProvider),new m(this.selection,this.view,ce.identityProvider),new m(this.anchor,this.view,ce.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 x(this,this.view)),(typeof ce.keyboardSupport!="boolean"||ce.keyboardSupport)&&(this.keyboardController=new E(this,this.view,ce),this.disposables.add(this.keyboardController)),ce.keyboardNavigationLabelProvider){const $=ce.keyboardNavigationDelegate||e.DefaultKeyboardNavigationDelegate;this.typeNavigationController=new P(this,this.view,ce.keyboardNavigationLabelProvider,(te=ce.keyboardNavigationEventFilter)!==null&&te!==void 0?te:()=>!0,$),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(ce),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")}createListView(V,Y,ie,ae){return new c.ListView(V,Y,ie,ae)}createMouseController(V){return new O(this)}updateOptions(V={}){var Y,ie;this._options=Object.assign(Object.assign({},this._options),V),(Y=this.typeNavigationController)===null||Y===void 0||Y.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),(ie=this.keyboardController)===null||ie===void 0||ie.updateOptions(V),this.view.updateOptions(V)}get options(){return this._options}splice(V,Y,ie=[]){if(V<0||V>this.view.length)throw new r.ListError(this.user,`Invalid start index: ${V}`);if(Y<0)throw new r.ListError(this.user,`Invalid delete count: ${Y}`);Y===0&&ie.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(V,Y,ie))}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 scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}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,Y){this.view.layout(V,Y)}setSelection(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.selection.set(V,Y)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(V=>this.view.element(V))}setAnchor(V){if(typeof V>"u"){this.anchor.set([]);return}if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);this.anchor.set([V])}getAnchor(){return(0,_.firstOrDefault)(this.anchor.get(),void 0)}getAnchorElement(){const V=this.getAnchor();return typeof V>"u"?void 0:this.element(V)}setFocus(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.focus.set(V,Y)}focusNext(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findNextIndex(ce.length>0?ce[0]+V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusPrevious(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findPreviousIndex(ce.length>0?ce[0]-V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusNextPage(V,Y){return we(this,void 0,void 0,function*(){let ie=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);ie=ie===0?0:ie-1;const ae=this.getFocus()[0];if(ae!==ie&&(ae===void 0||ie>ae)){const ce=this.findPreviousIndex(ie,!1,Y);ce>-1&&ae!==ce?this.setFocus([ce],V):this.setFocus([ie],V)}else{const ce=this.view.getScrollTop();let de=ce+this.view.renderHeight;ie>ae&&(de-=this.view.elementHeight(ie)),this.view.setScrollTop(de),this.view.getScrollTop()!==ce&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusNextPage(V,Y))}})}focusPreviousPage(V,Y){return we(this,void 0,void 0,function*(){let ie;const ae=this.view.getScrollTop();ae===0?ie=this.view.indexAt(ae):ie=this.view.indexAfter(ae-1);const ce=this.getFocus()[0];if(ce!==ie&&(ce===void 0||ce>=ie)){const de=this.findNextIndex(ie,!1,Y);de>-1&&ce!==de?this.setFocus([de],V):this.setFocus([ie],V)}else{const de=ae;this.view.setScrollTop(ae-this.view.renderHeight),this.view.getScrollTop()!==de&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusPreviousPage(V,Y))}})}focusLast(V,Y){if(this.length===0)return;const ie=this.findPreviousIndex(this.length-1,!1,Y);ie>-1&&this.setFocus([ie],V)}focusFirst(V,Y){this.focusNth(0,V,Y)}focusNth(V,Y,ie){if(this.length===0)return;const ae=this.findNextIndex(V,!1,ie);ae>-1&&this.setFocus([ae],Y)}findNextIndex(V,Y=!1,ie){for(let ae=0;ae=this.length&&!Y)return-1;if(V=V%this.length,!ie||ie(this.element(V)))return V;V++}return-1}findPreviousIndex(V,Y=!1,ie){for(let ae=0;aethis.view.element(V))}reveal(V,Y){if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);const ie=this.view.getScrollTop(),ae=this.view.elementTop(V),ce=this.view.elementHeight(V);if((0,h.isNumber)(Y)){const de=ce-this.view.renderHeight;this.view.setScrollTop(de*(0,a.clamp)(Y,0,1)+ae)}else{const de=ae+ce,he=ie+this.view.renderHeight;ae=he||(ae=he&&ce>=this.view.renderHeight?this.view.setScrollTop(ae):de>=he&&this.view.setScrollTop(de-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}getElementID(V){return this.view.getElementDomId(V)}style(V){this.styleController.style(V)}toListEvent({indexes:V,browserEvent:Y}){return{indexes:V,elements:V.map(ie=>this.view.element(ie)),browserEvent:Y}}_onFocusChange(){const V=this.focus.get();this.view.domNode.classList.toggle("element-focused",V.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var V;const Y=this.focus.get();if(Y.length>0){let ie;!((V=this.accessibilityProvider)===null||V===void 0)&&V.getActiveDescendantId&&(ie=this.accessibilityProvider.getActiveDescendantId(this.view.element(Y[0]))),this.view.domNode.setAttribute("aria-activedescendant",ie||this.view.getElementDomId(Y[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()}}e.List=H,ke([s.memoize],H.prototype,"onDidChangeFocus",null),ke([s.memoize],H.prototype,"onDidChangeSelection",null),ke([s.memoize],H.prototype,"onContextMenu",null),ke([s.memoize],H.prototype,"onKeyDown",null),ke([s.memoize],H.prototype,"onDidFocus",null)}),define(ne[578],se([1,0,14,19,6,2,114,268]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedList=void 0;class f{get templateId(){return this.renderer.templateId}constructor(i,n){this.renderer=i,this.modelProvider=n}renderTemplate(i){return{data:this.renderer.renderTemplate(i),disposable:D.Disposable.None}}renderElement(i,n,t,a){var u;if((u=t.disposable)===null||u===void 0||u.dispose(),!t.data)return;const h=this.modelProvider();if(h.isResolved(i))return this.renderer.renderElement(h.get(i),i,t.data,a);const r=new k.CancellationTokenSource,c=h.resolve(i,r.token);t.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(i,t.data),c.then(o=>this.renderer.renderElement(o,i,t.data,a))}disposeTemplate(i){i.disposable&&(i.disposable.dispose(),i.disposable=void 0),i.data&&(this.renderer.disposeTemplate(i.data),i.data=void 0)}}class _{constructor(i,n){this.modelProvider=i,this.accessibilityProvider=n}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(i){const n=this.modelProvider();return n.isResolved(i)?this.accessibilityProvider.getAriaLabel(n.get(i)):null}}function g(s,i){return Object.assign(Object.assign({},i),{accessibilityProvider:i.accessibilityProvider&&new _(s,i.accessibilityProvider)})}class C{constructor(i,n,t,a,u={}){const h=()=>this.model,r=a.map(c=>new f(c,h));this.list=new S.List(i,n,t,r,g(h,u))}updateOptions(i){this.list.updateOptions(i)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return y.Event.map(this.list.onMouseDblClick,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onPointer(){return y.Event.map(this.list.onPointer,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onDidChangeSelection(){return y.Event.map(this.list.onDidChangeSelection,({elements:i,indexes:n,browserEvent:t})=>({elements:i.map(a=>this._model.get(a)),indexes:n,browserEvent:t}))}get model(){return this._model}set model(i){this._model=i,this.list.splice(0,this.list.length,(0,L.range)(i.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(i=>this.model.get(i))}style(i){this.list.style(i)}dispose(){this.list.dispose()}}e.PagedList=C}),define(ne[311],se([1,0,7,81,130,75,14,38,6,2,141,167,20,409]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SplitView=e.Sizing=void 0;const n={separatorBorder:f.Color.transparent};class t{set size(d){this._size=d}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize>"u"}setVisible(d,l){var p,m;d!==this.visible&&(d?(this.size=(0,C.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof l=="number"?l:this.size,this.size=0),this.container.classList.toggle("visible",d),(m=(p=this.view).setVisible)===null||m===void 0||m.call(p,d))}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 proportionalLayout(){var d;return(d=this.view.proportionalLayout)!==null&&d!==void 0?d:!0}get snap(){return!!this.view.snap}set enabled(d){this.container.style.pointerEvents=d?"":"none"}constructor(d,l,p,m){this.container=d,this.view=l,this.disposable=m,this._cachedVisibleSize=void 0,typeof p=="number"?(this._size=p,this._cachedVisibleSize=void 0,d.classList.add("visible")):(this._size=0,this._cachedVisibleSize=p.cachedVisibleSize)}layout(d,l){this.layoutContainer(d),this.view.layout(this.size,d,l)}dispose(){this.disposable.dispose()}}class a extends t{layoutContainer(d){this.container.style.top=`${d}px`,this.container.style.height=`${this.size}px`}}class u extends t{layoutContainer(d){this.container.style.left=`${d}px`,this.container.style.width=`${this.size}px`}}var h;(function(o){o[o.Idle=0]="Idle",o[o.Busy=1]="Busy"})(h||(h={}));var r;(function(o){o.Distribute={type:"distribute"};function d(m){return{type:"split",index:m}}o.Split=d;function l(m){return{type:"auto",index:m}}o.Auto=l;function p(m){return{type:"invisible",cachedVisibleSize:m}}o.Invisible=p})(r||(e.Sizing=r={}));class c extends g.Disposable{get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(d){for(const l of this.sashItems)l.sash.orthogonalStartSash=d;this._orthogonalStartSash=d}set orthogonalEndSash(d){for(const l of this.sashItems)l.sash.orthogonalEndSash=d;this._orthogonalEndSash=d}set startSnappingEnabled(d){this._startSnappingEnabled!==d&&(this._startSnappingEnabled=d,this.updateSashEnablement())}set endSnappingEnabled(d){this._endSnappingEnabled!==d&&(this._endSnappingEnabled=d,this.updateSashEnablement())}constructor(d,l={}){var p,m,v,b,w;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=h.Idle,this._onDidSashChange=this._register(new _.Emitter),this._onDidSashReset=this._register(new _.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(p=l.orientation)!==null&&p!==void 0?p:0,this.inverseAltBehavior=(m=l.inverseAltBehavior)!==null&&m!==void 0?m:!1,this.proportionalLayout=(v=l.proportionalLayout)!==null&&v!==void 0?v:!0,this.getSashOrthogonalSize=l.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(this.orientation===0?"vertical":"horizontal"),d.appendChild(this.el),this.sashContainer=(0,L.append)(this.el,(0,L.$)(".sash-container")),this.viewContainer=(0,L.$)(".split-view-container"),this.scrollable=this._register(new s.Scrollable({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:L.scheduleAtNextAnimationFrame})),this.scrollableElement=this._register(new D.SmoothScrollableElement(this.viewContainer,{vertical:this.orientation===0?(b=l.scrollbarVisibility)!==null&&b!==void 0?b:1:2,horizontal:this.orientation===1?(w=l.scrollbarVisibility)!==null&&w!==void 0?w:1:2},this.scrollable));const E=this._register(new k.DomEmitter(this.viewContainer,"scroll")).event;this._register(E(I=>{const M=this.scrollableElement.getScrollPosition(),P=Math.abs(this.viewContainer.scrollLeft-M.scrollLeft)<=1?void 0:this.viewContainer.scrollLeft,x=Math.abs(this.viewContainer.scrollTop-M.scrollTop)<=1?void 0:this.viewContainer.scrollTop;(P!==void 0||x!==void 0)&&this.scrollableElement.setScrollPosition({scrollLeft:P,scrollTop:x})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(I=>{I.scrollTopChanged&&(this.viewContainer.scrollTop=I.scrollTop),I.scrollLeftChanged&&(this.viewContainer.scrollLeft=I.scrollLeft)})),(0,L.append)(this.el,this.scrollableElement.getDomNode()),this.style(l.styles||n),l.descriptor&&(this.size=l.descriptor.size,l.descriptor.views.forEach((I,M)=>{const P=i.isUndefined(I.visible)||I.visible?I.size:{type:"invisible",cachedVisibleSize:I.size},x=I.view;this.doAddView(x,P,M,!0)}),this.contentSize=this.viewItems.reduce((I,M)=>I+M.size,0),this.saveProportions())}style(d){d.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",d.separatorBorder.toString()))}addView(d,l,p=this.viewItems.length,m){this.doAddView(d,l,p,m)}layout(d,l){const p=Math.max(this.size,this.contentSize);if(this.size=d,this.layoutContext=l,this.proportions){let m=0;for(let v=0;vthis.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.resize(this.viewItems.length-1,d-p,void 0,v,b)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(d=>d.proportionalLayout?d.size/this.contentSize:void 0))}onSashStart({sash:d,start:l,alt:p}){for(const w of this.viewItems)w.enabled=!1;const m=this.sashItems.findIndex(w=>w.sash===d),v=(0,g.combinedDisposable)((0,L.addDisposableListener)(document.body,"keydown",w=>b(this.sashDragState.current,w.altKey)),(0,L.addDisposableListener)(document.body,"keyup",()=>b(this.sashDragState.current,!1))),b=(w,E)=>{const I=this.viewItems.map(A=>A.size);let M=Number.NEGATIVE_INFINITY,P=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(E=!E),E)if(m===this.sashItems.length-1){const N=this.viewItems[m];M=(N.minimumSize-N.size)/2,P=(N.maximumSize-N.size)/2}else{const N=this.viewItems[m+1];M=(N.size-N.maximumSize)/2,P=(N.size-N.minimumSize)/2}let x,T;if(!E){const A=(0,S.range)(m,-1),N=(0,S.range)(m+1,this.viewItems.length),F=A.reduce((Z,J)=>Z+(this.viewItems[J].minimumSize-I[J]),0),O=A.reduce((Z,J)=>Z+(this.viewItems[J].viewMaximumSize-I[J]),0),W=N.length===0?Number.POSITIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].minimumSize),0),U=N.length===0?Number.NEGATIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].viewMaximumSize),0),j=Math.max(F,U),R=Math.min(W,O),K=this.findFirstSnapIndex(A),G=this.findFirstSnapIndex(N);if(typeof K=="number"){const Z=this.viewItems[K],J=Math.floor(Z.viewMinimumSize/2);x={index:K,limitDelta:Z.visible?j-J:j+J,size:Z.size}}if(typeof G=="number"){const Z=this.viewItems[G],J=Math.floor(Z.viewMinimumSize/2);T={index:G,limitDelta:Z.visible?R+J:R-J,size:Z.size}}}this.sashDragState={start:w,current:w,index:m,sizes:I,minDelta:M,maxDelta:P,alt:E,snapBefore:x,snapAfter:T,disposable:v}};b(l,p)}onSashChange({current:d}){const{index:l,start:p,sizes:m,alt:v,minDelta:b,maxDelta:w,snapBefore:E,snapAfter:I}=this.sashDragState;this.sashDragState.current=d;const M=d-p,P=this.resize(l,M,m,void 0,void 0,b,w,E,I);if(v){const x=l===this.sashItems.length-1,T=this.viewItems.map(U=>U.size),A=x?l:l+1,N=this.viewItems[A],F=N.size-N.maximumSize,O=N.size-N.minimumSize,W=x?l-1:l+1;this.resize(W,-P,T,void 0,void 0,F,O)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(d){this._onDidSashChange.fire(d),this.sashDragState.disposable.dispose(),this.saveProportions();for(const l of this.viewItems)l.enabled=!0}onViewChange(d,l){const p=this.viewItems.indexOf(d);p<0||p>=this.viewItems.length||(l=typeof l=="number"?l:d.size,l=(0,C.clamp)(l,d.minimumSize,d.maximumSize),this.inverseAltBehavior&&p>0?(this.resize(p-1,Math.floor((d.size-l)/2)),this.distributeEmptySpace(),this.layoutViews()):(d.size=l,this.relayout([p],void 0)))}resizeView(d,l){if(this.state!==h.Idle)throw new Error("Cant modify splitview");if(this.state=h.Busy,d<0||d>=this.viewItems.length)return;const p=(0,S.range)(this.viewItems.length).filter(w=>w!==d),m=[...p.filter(w=>this.viewItems[w].priority===1),d],v=p.filter(w=>this.viewItems[w].priority===2),b=this.viewItems[d];l=Math.round(l),l=(0,C.clamp)(l,b.minimumSize,Math.min(b.maximumSize,this.size)),b.size=l,this.relayout(m,v),this.state=h.Idle}distributeViewSizes(){const d=[];let l=0;for(const w of this.viewItems)w.maximumSize-w.minimumSize>0&&(d.push(w),l+=w.size);const p=Math.floor(l/d.length);for(const w of d)w.size=(0,C.clamp)(p,w.minimumSize,w.maximumSize);const m=(0,S.range)(this.viewItems.length),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.relayout(v,b)}getViewSize(d){return d<0||d>=this.viewItems.length?-1:this.viewItems[d].size}doAddView(d,l,p=this.viewItems.length,m){if(this.state!==h.Idle)throw new Error("Cant modify splitview");this.state=h.Busy;const v=(0,L.$)(".split-view-view");p===this.viewItems.length?this.viewContainer.appendChild(v):this.viewContainer.insertBefore(v,this.viewContainer.children.item(p));const b=d.onDidChange(x=>this.onViewChange(M,x)),w=(0,g.toDisposable)(()=>this.viewContainer.removeChild(v)),E=(0,g.combinedDisposable)(b,w);let I;typeof l=="number"?I=l:(l.type==="auto"&&(this.areViewsDistributed()?l={type:"distribute"}:l={type:"split",index:l.index}),l.type==="split"?I=this.getViewSize(l.index)/2:l.type==="invisible"?I={cachedVisibleSize:l.cachedVisibleSize}:I=d.minimumSize);const M=this.orientation===0?new a(v,d,I,E):new u(v,d,I,E);if(this.viewItems.splice(p,0,M),this.viewItems.length>1){const x={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},T=this.orientation===0?new y.Sash(this.sashContainer,{getHorizontalSashTop:Z=>this.getSashPosition(Z),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:1})):new y.Sash(this.sashContainer,{getVerticalSashLeft:Z=>this.getSashPosition(Z),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:0})),A=this.orientation===0?Z=>({sash:T,start:Z.startY,current:Z.currentY,alt:Z.altKey}):Z=>({sash:T,start:Z.startX,current:Z.currentX,alt:Z.altKey}),F=_.Event.map(T.onDidStart,A)(this.onSashStart,this),W=_.Event.map(T.onDidChange,A)(this.onSashChange,this),j=_.Event.map(T.onDidEnd,()=>this.sashItems.findIndex(Z=>Z.sash===T))(this.onSashEnd,this),R=T.onDidReset(()=>{const Z=this.sashItems.findIndex(V=>V.sash===T),J=(0,S.range)(Z,-1),X=(0,S.range)(Z+1,this.viewItems.length),H=this.findFirstSnapIndex(J),B=this.findFirstSnapIndex(X);typeof H=="number"&&!this.viewItems[H].visible||typeof B=="number"&&!this.viewItems[B].visible||this._onDidSashReset.fire(Z)}),K=(0,g.combinedDisposable)(F,W,j,R,T),G={sash:T,disposable:K};this.sashItems.splice(p-1,0,G)}v.appendChild(d.element);let P;typeof l!="number"&&l.type==="split"&&(P=[l.index]),m||this.relayout([p],P),this.state=h.Idle,!m&&typeof l!="number"&&l.type==="distribute"&&this.distributeViewSizes()}relayout(d,l){const p=this.viewItems.reduce((m,v)=>m+v.size,0);this.resize(this.viewItems.length-1,this.size-p,void 0,d,l),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(d,l,p=this.viewItems.map(M=>M.size),m,v,b=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,E,I){if(d<0||d>=this.viewItems.length)return 0;const M=(0,S.range)(d,-1),P=(0,S.range)(d+1,this.viewItems.length);if(v)for(const G of v)(0,S.pushToStart)(M,G),(0,S.pushToStart)(P,G);if(m)for(const G of m)(0,S.pushToEnd)(M,G),(0,S.pushToEnd)(P,G);const x=M.map(G=>this.viewItems[G]),T=M.map(G=>p[G]),A=P.map(G=>this.viewItems[G]),N=P.map(G=>p[G]),F=M.reduce((G,Z)=>G+(this.viewItems[Z].minimumSize-p[Z]),0),O=M.reduce((G,Z)=>G+(this.viewItems[Z].maximumSize-p[Z]),0),W=P.length===0?Number.POSITIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].minimumSize),0),U=P.length===0?Number.NEGATIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].maximumSize),0),j=Math.max(F,U,b),R=Math.min(W,O,w);let K=!1;if(E){const G=this.viewItems[E.index],Z=l>=E.limitDelta;K=Z!==G.visible,G.setVisible(Z,E.size)}if(!K&&I){const G=this.viewItems[I.index],Z=lw+E.size,0);let p=this.size-l;const m=(0,S.range)(this.viewItems.length-1,-1),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);for(const w of b)(0,S.pushToStart)(m,w);for(const w of v)(0,S.pushToEnd)(m,w);typeof d=="number"&&(0,S.pushToEnd)(m,d);for(let w=0;p!==0&&wl+p.size,0);let d=0;for(const l of this.viewItems)l.layout(d,this.layoutContext),d+=l.size;this.sashItems.forEach(l=>l.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 d=!1;const l=this.viewItems.map(E=>d=E.size-E.minimumSize>0||d);d=!1;const p=this.viewItems.map(E=>d=E.maximumSize-E.size>0||d),m=[...this.viewItems].reverse();d=!1;const v=m.map(E=>d=E.size-E.minimumSize>0||d).reverse();d=!1;const b=m.map(E=>d=E.maximumSize-E.size>0||d).reverse();let w=0;for(let E=0;E0||this.startSnappingEnabled)?I.state=1:W&&l[E]&&(w0)return;if(!p.visible&&p.snap)return l}}areViewsDistributed(){let d,l;for(const p of this.viewItems)if(d=d===void 0?p.size:Math.min(d,p.size),l=l===void 0?p.size:Math.max(l,p.size),l-d>2)return!1;return!0}dispose(){var d;(d=this.sashDragState)===null||d===void 0||d.disposable.dispose(),(0,g.dispose)(this.viewItems),this.viewItems=[],this.sashItems.forEach(l=>l.disposable.dispose()),this.sashItems=[],super.dispose()}}e.SplitView=c}),define(ne[579],se([1,0,7,114,311,6,2,410]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;class f{constructor(i,n,t){this.columns=i,this.getColumnSize=t,this.templateId=f.TemplateId,this.renderedTemplates=new Set;const a=new Map(n.map(u=>[u.templateId,u]));this.renderers=[];for(const u of i){const h=a.get(u.templateId);if(!h)throw new Error(`Table cell renderer for template id ${u.templateId} not found.`);this.renderers.push(h)}}renderTemplate(i){const n=(0,L.append)(i,(0,L.$)(".monaco-table-tr")),t=[],a=[];for(let h=0;hnew g(d,l)),c={size:r.reduce((d,l)=>d+l.column.weight,0),views:r.map(d=>({size:d.column.weight,view:d}))};this.splitview=this.disposables.add(new y.SplitView(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:c})),this.splitview.el.style.height=`${t.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${t.headerRowHeight}px`;const o=new f(a,u,d=>this.splitview.getViewSize(d));this.list=this.disposables.add(new k.List(i,this.domNode,_(t),[o],h)),D.Event.any(...r.map(d=>d.onDidLayout))(([d,l])=>o.layoutColumn(d,l),null,this.disposables),this.splitview.onDidSashReset(d=>{const l=a.reduce((m,v)=>m+v.weight,0),p=a[d].weight/l*this.cachedWidth;this.splitview.resizeView(d,p)},null,this.disposables),this.styleElement=(0,L.createStyleSheet)(this.domNode),this.style(k.unthemedListStyles)}updateOptions(i){this.list.updateOptions(i)}splice(i,n,t=[]){this.list.splice(i,n,t)}getHTMLElement(){return this.domNode}style(i){const n=[];n.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=n.join(` -`),this.list.style(i)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}e.Table=C,C.InstanceCount=0}),define(ne[153],se([1,0,83,26,6,411]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=e.unthemedToggleStyles=void 0,e.unthemedToggleStyles={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class D extends L.Widget{constructor(f){super(),this._onChange=this._register(new y.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new y.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=f,this._checked=this._opts.isChecked;const _=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,_.push(...k.ThemeIcon.asClassNameArray(this._icon))),this._opts.actionClassName&&_.push(...this._opts.actionClassName.split(" ")),this._checked&&_.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(..._),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,g=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),g.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,g=>{if(g.keyCode===10||g.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),g.preventDefault(),g.stopPropagation();return}this._onKeyDown.fire(g)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(f){this._checked=f,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 2+2+2+16}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}e.Toggle=D}),define(ne[312],se([1,0,153,25,553]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RegexToggle=e.WholeWordsToggle=e.CaseSensitiveToggle=void 0;const D=y.localize(0,null),S=y.localize(1,null),f=y.localize(2,null);class _ extends L.Toggle{constructor(i){super({icon:k.Codicon.caseSensitive,title:D+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.CaseSensitiveToggle=_;class g extends L.Toggle{constructor(i){super({icon:k.Codicon.wholeWord,title:S+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.WholeWordsToggle=g;class C extends L.Toggle{constructor(i){super({icon:k.Codicon.regex,title:f+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.RegexToggle=C}),define(ne[45],se([1,0,220,54,92,17,11,22]),function(Q,e,L,k,y,D,S,f){"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 _(s){return(0,f.uriToFsPath)(s,!0)}e.originalFSPath=_;class g{constructor(i){this._ignorePathCasing=i}compare(i,n,t=!1){return i===n?0:(0,S.compare)(this.getComparisonKey(i,t),this.getComparisonKey(n,t))}isEqual(i,n,t=!1){return i===n?!0:!i||!n?!1:this.getComparisonKey(i,t)===this.getComparisonKey(n,t)}getComparisonKey(i,n=!1){return i.with({path:this._ignorePathCasing(i)?i.path.toLowerCase():void 0,fragment:n?null:void 0}).toString()}isEqualOrParent(i,n,t=!1){if(i.scheme===n.scheme){if(i.scheme===k.Schemas.file)return L.isEqualOrParent(_(i),_(n),this._ignorePathCasing(i))&&i.query===n.query&&(t||i.fragment===n.fragment);if((0,e.isEqualAuthority)(i.authority,n.authority))return L.isEqualOrParent(i.path,n.path,this._ignorePathCasing(i),"/")&&i.query===n.query&&(t||i.fragment===n.fragment)}return!1}joinPath(i,...n){return f.URI.joinPath(i,...n)}basenameOrAuthority(i){return(0,e.basename)(i)||i.authority}basename(i){return y.posix.basename(i.path)}extname(i){return y.posix.extname(i.path)}dirname(i){if(i.path.length===0)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.dirname(_(i))).path:(n=y.posix.dirname(i.path),i.authority&&n.length&&n.charCodeAt(0)!==47&&(console.error(`dirname("${i.toString})) resulted in a relative path`),n="/")),i.with({path:n})}normalizePath(i){if(!i.path.length)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.normalize(_(i))).path:n=y.posix.normalize(i.path),i.with({path:n})}relativePath(i,n){if(i.scheme!==n.scheme||!(0,e.isEqualAuthority)(i.authority,n.authority))return;if(i.scheme===k.Schemas.file){const u=y.relative(_(i),_(n));return D.isWindows?L.toSlashes(u):u}let t=i.path||"/";const a=n.path||"/";if(this._ignorePathCasing(i)){let u=0;for(const h=Math.min(t.length,a.length);uL.getRoot(t).length&&t[t.length-1]===n}else{const t=i.path;return t.length>1&&t.charCodeAt(t.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(i.fsPath)}}removeTrailingPathSeparator(i,n=y.sep){return(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path.substr(0,i.path.length-1)}):i}addTrailingPathSeparator(i,n=y.sep){let t=!1;if(i.scheme===k.Schemas.file){const a=_(i);t=a!==void 0&&a.length===L.getRoot(a).length&&a[a.length-1]===n}else{n="/";const a=i.path;t=a.length===1&&a.charCodeAt(a.length-1)===47}return!t&&!(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path+"/"}):i}}e.ExtUri=g,e.extUri=new g(()=>!1),e.extUriBiasedIgnorePathCase=new g(s=>s.scheme===k.Schemas.file?!D.isLinux:!0),e.extUriIgnorePathCase=new g(s=>!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 C;(function(s){s.META_DATA_LABEL="label",s.META_DATA_DESCRIPTION="description",s.META_DATA_SIZE="size",s.META_DATA_MIME="mime";function i(n){const t=new Map;n.path.substring(n.path.indexOf(";")+1,n.path.lastIndexOf(";")).split(";").forEach(h=>{const[r,c]=h.split(":");r&&c&&t.set(r,c)});const u=n.path.substring(0,n.path.indexOf(";"));return u&&t.set(s.META_DATA_MIME,u),t}s.parseMetaData=i})(C||(e.DataUri=C={}))}),define(ne[55],se([1,0,9,120,45,11,22]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseHrefAndDimensions=e.removeMarkdownEscapes=e.escapeDoubleQuotes=e.escapeMarkdownSyntaxTokens=e.markdownStringEqual=e.isMarkdownString=e.isEmptyMarkdownString=e.MarkdownString=void 0;class f{constructor(u="",h=!1){var r,c,o;if(this.value=u,typeof this.value!="string")throw(0,L.illegalArgument)("value");typeof h=="boolean"?(this.isTrusted=h,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(r=h.isTrusted)!==null&&r!==void 0?r:void 0,this.supportThemeIcons=(c=h.supportThemeIcons)!==null&&c!==void 0?c:!1,this.supportHtml=(o=h.supportHtml)!==null&&o!==void 0?o:!1)}appendText(u,h=0){return this.value+=s(this.supportThemeIcons?(0,k.escapeIcons)(u):u).replace(/([ \t]+)/g,(r,c)=>" ".repeat(c.length)).replace(/\>/gm,"\\>").replace(/\n/g,h===1?`\\ -`:` - -`),this}appendMarkdown(u){return this.value+=u,this}appendCodeblock(u,h){return this.value+="\n```",this.value+=u,this.value+=` -`,this.value+=h,this.value+="\n```\n",this}appendLink(u,h,r){return this.value+="[",this.value+=this._escape(h,"]"),this.value+="](",this.value+=this._escape(String(u),")"),r&&(this.value+=` "${this._escape(this._escape(r,'"'),")")}"`),this.value+=")",this}_escape(u,h){const r=new RegExp((0,D.escapeRegExpCharacters)(h),"g");return u.replace(r,(c,o)=>u.charAt(o-1)!=="\\"?`\\${c}`:c)}}e.MarkdownString=f;function _(a){return g(a)?!a.value:Array.isArray(a)?a.every(_):!0}e.isEmptyMarkdownString=_;function g(a){return a instanceof f?!0:a&&typeof a=="object"?typeof a.value=="string"&&(typeof a.isTrusted=="boolean"||typeof a.isTrusted=="object"||a.isTrusted===void 0)&&(typeof a.supportThemeIcons=="boolean"||a.supportThemeIcons===void 0):!1}e.isMarkdownString=g;function C(a,u){return a===u?!0:!a||!u?!1:a.value===u.value&&a.isTrusted===u.isTrusted&&a.supportThemeIcons===u.supportThemeIcons&&a.supportHtml===u.supportHtml&&(a.baseUri===u.baseUri||!!a.baseUri&&!!u.baseUri&&(0,y.isEqual)(S.URI.from(a.baseUri),S.URI.from(u.baseUri)))}e.markdownStringEqual=C;function s(a){return a.replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=s;function i(a){return a.replace(/"/g,""")}e.escapeDoubleQuotes=i;function n(a){return a&&a.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1")}e.removeMarkdownEscapes=n;function t(a){const u=[],h=a.split("|").map(c=>c.trim());a=h[0];const r=h[1];if(r){const c=/height=(\d+)/.exec(r),o=/width=(\d+)/.exec(r),d=c?c[1]:"",l=o?o[1]:"",p=isFinite(parseInt(l)),m=isFinite(parseInt(d));p&&u.push(`width="${l}"`),m&&u.push(`height="${d}"`)}return{href:a,dimensions:u}}e.parseHrefAndDimensions=t}),define(ne[183],se([1,0,7,304,81,305,44,60,129,9,6,55,120,164,100,2,386,221,54,47,45,11,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fillInIncompleteTokens=e.renderMarkdownAsPlaintext=e.renderStringAsPlaintext=e.allowedMarkdownAttr=e.renderMarkdown=void 0;const p=Object.freeze({image:(X,H,B)=>{let V=[],Y=[];return X&&({href:X,dimensions:V}=(0,s.parseHrefAndDimensions)(X),Y.push(`src="${(0,s.escapeDoubleQuotes)(X)}"`)),B&&Y.push(`alt="${(0,s.escapeDoubleQuotes)(B)}"`),H&&Y.push(`title="${(0,s.escapeDoubleQuotes)(H)}"`),V.length&&(Y=Y.concat(V)),""},paragraph:X=>`

    ${X}

    `,link:(X,H,B)=>typeof X!="string"?"":(X===B&&(B=(0,s.removeMarkdownEscapes)(B)),H=typeof H=="string"?(0,s.escapeDoubleQuotes)((0,s.removeMarkdownEscapes)(H)):"",X=(0,s.removeMarkdownEscapes)(X),X=X.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${B}`)});function m(X,H={},B={}){var V,Y;const ie=new a.DisposableStore;let ae=!1;const ce=(0,D.createElement)(H),de=function(oe){let ge;try{ge=(0,h.parse)(decodeURIComponent(oe))}catch{}return ge?(ge=(0,c.cloneAndChange)(ge,ve=>{if(X.uris&&X.uris[ve])return l.URI.revive(X.uris[ve])}),encodeURIComponent(JSON.stringify(ge))):oe},he=function(oe,ge){const ve=X.uris&&X.uris[oe];let Se=l.URI.revive(ve);return ge?oe.startsWith(r.Schemas.data+":")?oe:(Se||(Se=l.URI.parse(oe)),r.FileAccess.uriToBrowserUri(Se).toString(!0)):!Se||l.URI.parse(oe).toString()===Se.toString()?oe:(Se.query&&(Se=Se.with({query:de(Se.query)})),Se.toString())},ue=new u.marked.Renderer;ue.image=p.image,ue.link=p.link,ue.paragraph=p.paragraph;const te=[],q=[];if(H.codeBlockRendererSync?ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRendererSync(v(ge),oe);return q.push([ve,Se]),`
    ${(0,d.escape)(oe)}
    `}:H.codeBlockRenderer&&(ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRenderer(v(ge),oe);return te.push(Se.then(Le=>[ve,Le])),`
    ${(0,d.escape)(oe)}
    `}),H.actionHandler){const oe=function(Se){let Le=Se.target;if(!(Le.tagName!=="A"&&(Le=Le.parentElement,!Le||Le.tagName!=="A")))try{let De=Le.dataset.href;De&&(X.baseUri&&(De=b(l.URI.from(X.baseUri),De)),H.actionHandler.callback(De,Se))}catch(De){(0,g.onUnexpectedError)(De)}finally{Se.preventDefault()}},ge=H.actionHandler.disposables.add(new y.DomEmitter(ce,"click")),ve=H.actionHandler.disposables.add(new y.DomEmitter(ce,"auxclick"));H.actionHandler.disposables.add(C.Event.any(ge.event,ve.event)(Se=>{const Le=new f.StandardMouseEvent(Se);!Le.leftButton&&!Le.middleButton||oe(Le)})),H.actionHandler.disposables.add(L.addDisposableListener(ce,"keydown",Se=>{const Le=new S.StandardKeyboardEvent(Se);!Le.equals(10)&&!Le.equals(3)||oe(Le)}))}X.supportHtml||(B.sanitizer=oe=>(X.isTrusted?oe.match(/^(]+>)|(<\/\s*span>)$/):void 0)?oe:"",B.sanitize=!0,B.silent=!0),B.renderer=ue;let z=(V=X.value)!==null&&V!==void 0?V:"";z.length>1e5&&(z=`${z.substr(0,1e5)}\u2026`),X.supportThemeIcons&&(z=(0,i.markdownEscapeEscapedIcons)(z));let ee;if(H.fillInIncompleteTokens){const oe=Object.assign(Object.assign({},u.marked.defaults),B),ge=u.marked.lexer(z,oe),ve=N(ge);ee=u.marked.parser(ve,oe)}else ee=u.marked.parse(z,B);X.supportThemeIcons&&(ee=(0,_.renderLabelWithIcons)(ee).map(ge=>typeof ge=="string"?ge:ge.outerHTML).join(""));const re=new DOMParser().parseFromString(w(X,ee),"text/html");if(re.body.querySelectorAll("img").forEach(oe=>{const ge=oe.getAttribute("src");if(ge){let ve=ge;try{X.baseUri&&(ve=b(l.URI.from(X.baseUri),ve))}catch{}oe.src=he(ve,!0)}}),re.body.querySelectorAll("a").forEach(oe=>{const ge=oe.getAttribute("href");if(oe.setAttribute("href",""),!ge||/^data:|javascript:/i.test(ge)||/^command:/i.test(ge)&&!X.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(ge))oe.replaceWith(...oe.childNodes);else{let ve=he(ge,!1);X.baseUri&&(ve=b(l.URI.from(X.baseUri),ge)),oe.dataset.href=ve}}),ce.innerHTML=w(X,re.body.innerHTML),te.length>0)Promise.all(te).then(oe=>{var ge,ve;if(ae)return;const Se=new Map(oe),Le=ce.querySelectorAll("div[data-code]");for(const De of Le){const ye=Se.get((ge=De.dataset.code)!==null&&ge!==void 0?ge:"");ye&&L.reset(De,ye)}(ve=H.asyncRenderCallback)===null||ve===void 0||ve.call(H)});else if(q.length>0){const oe=new Map(q),ge=ce.querySelectorAll("div[data-code]");for(const ve of ge){const Se=oe.get((Y=ve.dataset.code)!==null&&Y!==void 0?Y:"");Se&&L.reset(ve,Se)}}if(H.asyncRenderCallback)for(const oe of ce.getElementsByTagName("img")){const ge=ie.add(L.addDisposableListener(oe,"load",()=>{ge.dispose(),H.asyncRenderCallback()}))}return{element:ce,dispose:()=>{ae=!0,ie.dispose()}}}e.renderMarkdown=m;function v(X){if(!X)return"";const H=X.split(/[\s+|:|,|\{|\?]/,1);return H.length?H[0]:X}function b(X,H){return/^\w[\w\d+.-]*:/.test(H)?H:X.path.endsWith("/")?(0,o.resolvePath)(X,H).toString():(0,o.resolvePath)((0,o.dirname)(X),H).toString()}function w(X,H){const{config:B,allowedSchemes:V}=E(X);k.addHook("uponSanitizeAttribute",(ie,ae)=>{if(ae.attrName==="style"||ae.attrName==="class"){if(ie.tagName==="SPAN"){if(ae.attrName==="style"){ae.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(ae.attrValue);return}else if(ae.attrName==="class"){ae.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(ae.attrValue);return}}ae.keepAttr=!1;return}});const Y=L.hookDomPurifyHrefAndSrcSanitizer(V);try{return k.sanitize(H,Object.assign(Object.assign({},B),{RETURN_TRUSTED_TYPE:!0}))}finally{k.removeHook("uponSanitizeAttribute"),Y.dispose()}}e.allowedMarkdownAttr=["align","autoplay","alt","class","controls","data-code","data-href","height","href","loop","muted","playsinline","poster","src","style","target","title","width","start"];function E(X){const H=[r.Schemas.http,r.Schemas.https,r.Schemas.mailto,r.Schemas.data,r.Schemas.file,r.Schemas.vscodeFileResource,r.Schemas.vscodeRemote,r.Schemas.vscodeRemoteResource];return X.isTrusted&&H.push(r.Schemas.command),{config:{ALLOWED_TAGS:[...L.basicMarkupHtmlTags],ALLOWED_ATTR:e.allowedMarkdownAttr,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:H}}function I(X){return typeof X=="string"?X:M(X)}e.renderStringAsPlaintext=I;function M(X){var H;let B=(H=X.value)!==null&&H!==void 0?H:"";B.length>1e5&&(B=`${B.substr(0,1e5)}\u2026`);const V=u.marked.parse(B,{renderer:x.value}).replace(/&(#\d+|[a-zA-Z]+);/g,Y=>{var ie;return(ie=P.get(Y))!==null&&ie!==void 0?ie:Y});return w({isTrusted:!1},V).toString()}e.renderMarkdownAsPlaintext=M;const P=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]),x=new t.Lazy(()=>{const X=new u.marked.Renderer;return X.code=H=>H,X.blockquote=H=>H,X.html=H=>"",X.heading=(H,B,V)=>H+` -`,X.hr=()=>"",X.list=(H,B)=>H,X.listitem=H=>H+` -`,X.paragraph=H=>H+` -`,X.table=(H,B)=>H+B+` -`,X.tablerow=H=>H,X.tablecell=(H,B)=>H+" ",X.strong=H=>H,X.em=H=>H,X.codespan=H=>H,X.br=()=>` -`,X.del=H=>H,X.image=(H,B,V)=>"",X.text=H=>H,X.link=(H,B,V)=>V,X});function T(X){let H="";return X.forEach(B=>{H+=B.raw}),H}function A(X){for(const H of X.tokens)if(H.type==="text"){const B=H.raw.split(` -`),V=B[B.length-1];if(V.includes("`"))return O(X);if(V.includes("**"))return K(X);if(V.match(/\*\w/))return W(X);if(V.match(/(^|\s)__\w/))return G(X);if(V.match(/(^|\s)_\w/))return U(X);if(V.match(/(^|\s)\[.*\]\(\w*/))return j(X);if(V.match(/(^|\s)\[\w/))return R(X)}}function N(X){let H,B;for(H=0;H"u"&&ae.match(/^\s*\|/)){const ce=ae.match(/(\|[^\|]+)(?=\||$)/g);ce&&(V=ce.length)}else if(typeof V=="number")if(ae.match(/^\s*\|/)){if(ie!==B.length-1)return;Y=!0}else return}if(typeof V=="number"&&V>0){const ie=Y?B.slice(0,-1).join(` -`):H,ae=!!ie.match(/\|\s*$/),ce=ie+(ae?"":"|")+` -|${" --- |".repeat(V)}`;return u.marked.lexer(ce)}}}),define(ne[313],se([1,0,7,304,44,183,61,129,38,6,55,2,394]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=e.unthemedButtonStyles=void 0,e.unthemedButtonStyles={buttonBackground:"#0E639C",buttonHoverBackground:"#006BB3",buttonSeparator:_.Color.white.toString(),buttonForeground:_.Color.white.toString(),buttonBorder:void 0,buttonSecondaryBackground:void 0,buttonSecondaryForeground:void 0,buttonSecondaryHoverBackground:void 0};class i extends s.Disposable{get onDidClick(){return this._onDidClick.event}constructor(t,a){super(),this._label="",this._onDidClick=this._register(new g.Emitter),this.options=a,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!a.secondary);const u=a.secondary?a.buttonSecondaryBackground:a.buttonBackground,h=a.secondary?a.buttonSecondaryForeground:a.buttonForeground;this._element.style.color=h||"",this._element.style.backgroundColor=u||"",a.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),t.appendChild(this._element),this._register(S.Gesture.addTarget(this._element)),[L.EventType.CLICK,S.EventType.Tap].forEach(r=>{this._register((0,L.addDisposableListener)(this._element,r,c=>{if(!this.enabled){L.EventHelper.stop(c);return}this._onDidClick.fire(c)}))}),this._register((0,L.addDisposableListener)(this._element,L.EventType.KEY_DOWN,r=>{const c=new y.StandardKeyboardEvent(r);let o=!1;this.enabled&&(c.equals(3)||c.equals(10))?(this._onDidClick.fire(r),o=!0):c.equals(9)&&(this._element.blur(),o=!0),o&&L.EventHelper.stop(c,!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OVER,r=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OUT,r=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,L.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(t){const a=[];for(let u of(0,f.renderLabelWithIcons)(t))if(typeof u=="string"){if(u=u.trim(),u==="")continue;const h=document.createElement("span");h.textContent=u,a.push(h)}else a.push(u);return a}updateBackground(t){let a;this.options.secondary?a=t?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:a=t?this.options.buttonHoverBackground:this.options.buttonBackground,a&&(this._element.style.backgroundColor=a)}get element(){return this._element}set label(t){var a;if(this._label===t||(0,C.isMarkdownString)(this._label)&&(0,C.isMarkdownString)(t)&&(0,C.markdownStringEqual)(this._label,t))return;this._element.classList.add("monaco-text-button");const u=this.options.supportShortLabel?this._labelElement:this._element;if((0,C.isMarkdownString)(t)){const h=(0,D.renderMarkdown)(t,{inline:!0});h.dispose();const r=(a=h.element.querySelector("p"))===null||a===void 0?void 0:a.innerHTML;if(r){const c=(0,k.sanitize)(r,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});u.innerHTML=c}else(0,L.reset)(u)}else this.options.supportIcons?(0,L.reset)(u,...this.getContentElements(t)):u.textContent=t;typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=(0,D.renderStringAsPlaintext)(t)),this._label=t}get label(){return this._label}set enabled(t){t?(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=i}),define(ne[314],se([1,0,7,13,19,55,120,2,20,556]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setupCustomHover=e.setupNativeHover=void 0;function C(n,t){(0,_.isString)(t)?n.title=(0,S.stripIcons)(t):t?.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")}e.setupNativeHover=C;class s{constructor(t,a,u){this.hoverDelegate=t,this.target=a,this.fadeInAnimation=u}update(t,a,u){var h;return we(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let r;if(t===void 0||(0,_.isString)(t)||t instanceof HTMLElement)r=t;else if(!(0,_.isFunction)(t.markdown))r=(h=t.markdown)!==null&&h!==void 0?h:t.markdownNotSupportedFallback;else{this._hoverWidget||this.show((0,g.localize)(0,null),a),this._cancellationTokenSource=new y.CancellationTokenSource;const c=this._cancellationTokenSource.token;if(r=yield t.markdown(c),r===void 0&&(r=t.markdownNotSupportedFallback),this.isDisposed||c.isCancellationRequested)return}this.show(r,a,u)})}show(t,a,u){const h=this._hoverWidget;if(this.hasContent(t)){const r=Object.assign({content:t,target:this.target,showPointer:this.hoverDelegate.placement==="element",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!h},u);this._hoverWidget=this.hoverDelegate.showHover(r,a)}h?.dispose()}hasContent(t){return t?(0,D.isMarkdownString)(t)?!!t.value:!0:!1}get isDisposed(){var t;return(t=this._hoverWidget)===null||t===void 0?void 0:t.isDisposed}dispose(){var t,a;(t=this._hoverWidget)===null||t===void 0||t.dispose(),(a=this._cancellationTokenSource)===null||a===void 0||a.dispose(!0),this._cancellationTokenSource=void 0}}function i(n,t,a,u){let h,r;const c=(m,v)=>{var b;const w=r!==void 0;m&&(r?.dispose(),r=void 0),v&&(h?.dispose(),h=void 0),w&&((b=n.onDidHideHover)===null||b===void 0||b.call(n))},o=(m,v,b)=>new k.TimeoutTimer(()=>we(this,void 0,void 0,function*(){(!r||r.isDisposed)&&(r=new s(n,b||t,m>0),yield r.update(a,v,u))}),m),d=()=>{if(h)return;const m=new f.DisposableStore,v=E=>c(!1,E.fromElement===t);m.add(L.addDisposableListener(t,L.EventType.MOUSE_LEAVE,v,!0));const b=()=>c(!0,!0);m.add(L.addDisposableListener(t,L.EventType.MOUSE_DOWN,b,!0));const w={targetElements:[t],dispose:()=>{}};if(n.placement===void 0||n.placement==="mouse"){const E=I=>{w.x=I.x+10,I.target instanceof HTMLElement&&I.target.classList.contains("action-label")&&c(!0,!0)};m.add(L.addDisposableListener(t,L.EventType.MOUSE_MOVE,E,!0))}m.add(o(n.delay,!1,w)),h=m},l=L.addDisposableListener(t,L.EventType.MOUSE_OVER,d,!0);return{show:m=>{c(!1,!0),o(0,m)},hide:()=>{c(!0,!0)},update:(m,v)=>we(this,void 0,void 0,function*(){a=m,yield r?.update(a,void 0,v)}),dispose:()=>{l.dispose(),c(!0,!0)}}}e.setupCustomHover=i}),define(ne[226],se([1,0,7,308,314,2,47,166,400]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IconLabel=void 0;class _{constructor(t){this._element=t}get element(){return this._element}set textContent(t){this.disposed||t===this._textContent||(this._textContent=t,this._element.textContent=t)}set className(t){this.disposed||t===this._className||(this._className=t,this._element.className=t)}set empty(t){this.disposed||t===this._empty||(this._empty=t,this._element.style.marginLeft=t?"0":"")}dispose(){this.disposed=!0}}class g extends D.Disposable{constructor(t,a){super(),this.customHovers=new Map,this.creationOptions=a,this.domNode=this._register(new _(L.append(t,L.$(".monaco-icon-label")))),this.labelContainer=L.append(this.domNode.element,L.$(".monaco-icon-label-container"));const u=L.append(this.labelContainer,L.$("span.monaco-icon-name-container"));a?.supportHighlights||a?.supportIcons?this.nameNode=new i(u,!!a.supportIcons):this.nameNode=new C(u),this.hoverDelegate=a?.hoverDelegate}get element(){return this.domNode.element}setLabel(t,a,u){const h=["monaco-icon-label"],r=["monaco-icon-label-container"];let c="";if(u&&(u.extraClasses&&h.push(...u.extraClasses),u.italic&&h.push("italic"),u.strikethrough&&h.push("strikethrough"),u.disabledCommand&&r.push("disabled"),u.title&&(c+=u.title)),this.domNode.className=h.join(" "),this.domNode.element.setAttribute("aria-label",c),this.labelContainer.className=r.join(" "),this.setupHover(u?.descriptionTitle?this.labelContainer:this.element,u?.title),this.nameNode.setLabel(t,u),a||this.descriptionNode){const o=this.getOrCreateDescriptionNode();o instanceof k.HighlightedLabel?(o.set(a||"",u?u.descriptionMatches:void 0,void 0,u?.labelEscapeNewLines),this.setupHover(o.element,u?.descriptionTitle)):(o.textContent=a&&u?.labelEscapeNewLines?k.HighlightedLabel.escapeNewLines(a,[]):a||"",this.setupHover(o.element,u?.descriptionTitle||""),o.empty=!a)}}setupHover(t,a){const u=this.customHovers.get(t);if(u&&(u.dispose(),this.customHovers.delete(t)),!a){t.removeAttribute("title");return}if(!this.hoverDelegate)(0,y.setupNativeHover)(t,a);else{const h=(0,y.setupCustomHover)(this.hoverDelegate,t,a);h&&this.customHovers.set(t,h)}}dispose(){super.dispose();for(const t of this.customHovers.values())t.dispose();this.customHovers.clear()}getOrCreateDescriptionNode(){var t;if(!this.descriptionNode){const a=this._register(new _(L.append(this.labelContainer,L.$("span.monaco-icon-description-container"))));!((t=this.creationOptions)===null||t===void 0)&&t.supportDescriptionHighlights?this.descriptionNode=new k.HighlightedLabel(L.append(a.element,L.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons}):this.descriptionNode=this._register(new _(L.append(a.element,L.$("span.label-description"))))}return this.descriptionNode}}e.IconLabel=g;class C{constructor(t){this.container=t,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=L.append(this.container,L.$("a.label-name",{id:a?.domId}))),this.singleLabel.textContent=t;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let u=0;u{const r={start:u,end:u+h.length},c=a.map(o=>f.Range.intersect(r,o)).filter(o=>!f.Range.isEmpty(o)).map(({start:o,end:d})=>({start:o-u,end:d-u}));return u=r.end+t.length,c})}class i{constructor(t,a){this.container=t,this.supportIcons=a,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new k.HighlightedLabel(L.append(this.container,L.$("a.label-name",{id:a?.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(t,a?.matches,void 0,a?.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const u=a?.separator||"/",h=s(t,u,a?.matches);for(let r=0;r{L.EventHelper.stop(d,!0)}))}registerListeners(){this._register(L.addStandardDisposableListener(this.selectElement,"change",c=>{this.selected=c.target.selectedIndex,this._onDidSelect.fire({index:c.target.selectedIndex,selected:c.target.value}),this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)})),this._register(L.addDisposableListener(this.selectElement,L.EventType.CLICK,c=>{L.EventHelper.stop(c),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.MOUSE_DOWN,c=>{L.EventHelper.stop(c)}));let r;this._register(L.addDisposableListener(this.selectElement,"touchstart",c=>{r=this._isVisible})),this._register(L.addDisposableListener(this.selectElement,"touchend",c=>{L.EventHelper.stop(c),r?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.KEY_DOWN,c=>{const o=new y.StandardKeyboardEvent(c);let d=!1;s.isMacintosh?(o.keyCode===18||o.keyCode===16||o.keyCode===10||o.keyCode===3)&&(d=!0):(o.keyCode===18&&o.altKey||o.keyCode===16&&o.altKey||o.keyCode===10||o.keyCode===3)&&(d=!0),d&&(this.showSelectDropDown(),L.EventHelper.stop(c,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(r,c){f.equals(this.options,r)||(this.options=r,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((o,d)=>{this.selectElement.add(this.createOption(o.text,d,o.isDisabled)),typeof o.description=="string"&&(this._hasDetails=!0)})),c!==void 0&&(this.select(c),this._currentSelection=this.selected)}setOptionsList(){var r;(r=this.selectList)===null||r===void 0||r.splice(0,this.selectList.length,this.options)}select(r){r>=0&&rthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(r){this.selectElement.tabIndex=r?0:-1}render(r){this.container=r,r.classList.add("select-container"),r.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){const r=[];this.styles.listFocusBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(r.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=r.join(` -`)}styleSelectElement(){var r,c,o;const d=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",l=(c=this.styles.selectForeground)!==null&&c!==void 0?c:"",p=(o=this.styles.selectBorder)!==null&&o!==void 0?o:"";this.selectElement.style.backgroundColor=d,this.selectElement.style.color=l,this.selectElement.style.borderColor=p}styleList(){var r,c;const o=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",d=L.asCssValueWithDefault(this.styles.selectListBackground,o);this.selectDropDownListContainer.style.backgroundColor=d,this.selectionDetailsPane.style.backgroundColor=d;const l=(c=this.styles.focusBorder)!==null&&c!==void 0?c:"";this.selectDropDownContainer.style.outlineColor=l,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(r,c,o){const d=document.createElement("option");return d.value=r,d.text=r,d.disabled=!!o,d}showSelectDropDown(){this.selectionDetailsPane.innerText="",!(!this.contextViewProvider||this._isVisible)&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(r){!this.contextViewProvider||!this._isVisible||(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),r&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(r,c){return r.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(c),{dispose:()=>{try{r.removeChild(this.selectDropDownContainer)}catch{}}}}measureMaxDetailsHeight(){let r=0;return this.options.forEach((c,o)=>{this.updateDetail(o),this.selectionDetailsPane.offsetHeight>r&&(r=this.selectionDetailsPane.offsetHeight)}),r}layoutSelectDropDown(r){if(this._skipLayout)return!1;if(this.selectList){this.selectDropDownContainer.classList.add("visible");const c=L.getDomNodePagePosition(this.selectElement),o=getComputedStyle(this.selectElement),d=parseFloat(o.getPropertyValue("--dropdown-padding-top"))+parseFloat(o.getPropertyValue("--dropdown-padding-bottom")),l=window.innerHeight-c.top-c.height-(this.selectBoxOptions.minBottomMargin||0),p=c.top-u.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,m=this.selectElement.offsetWidth,v=this.setWidthControlElement(this.widthControlElement),b=Math.max(v,Math.round(m)).toString()+"px";this.selectDropDownContainer.style.width=b,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let w=this.selectList.contentHeight;this._hasDetails&&this._cachedMaxDetailsHeight===void 0&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());const E=this._hasDetails?this._cachedMaxDetailsHeight:0,I=w+d+E,M=Math.floor((l-d-E)/this.getHeight()),P=Math.floor((p-d-E)/this.getHeight());if(r)return c.top+c.height>window.innerHeight-22||c.topM&&this.options.length>M?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(c.top+c.height>window.innerHeight-22||c.topl&&(w=M*this.getHeight())}else I>p&&(w=P*this.getHeight());return this.selectList.layout(w),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=w+d+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=w+d+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=b,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}else return!1}setWidthControlElement(r){let c=0;if(r){let o=0,d=0;this.options.forEach((l,p)=>{const m=l.detail?l.detail.length:0,v=l.decoratorRight?l.decoratorRight.length:0,b=l.text.length+m+v;b>d&&(o=p,d=b)}),r.textContent=this.options[o].text+(this.options[o].decoratorRight?this.options[o].decoratorRight+" ":""),c=L.getTotalWidth(r)}return c}createSelectList(r){if(this.selectList)return;this.selectDropDownListContainer=L.append(r,n(".select-box-dropdown-list-container")),this.listRenderer=new a,this.selectList=new S.List("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:d=>{let l=d.text;return d.detail&&(l+=`. ${d.detail}`),d.decoratorRight&&(l+=`. ${d.decoratorRight}`),d.description&&(l+=`. ${d.description}`),l},getWidgetAriaLabel:()=>(0,i.localize)(0,null),getRole:()=>s.isMacintosh?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);const c=this._register(new k.DomEmitter(this.selectDropDownListContainer,"keydown")),o=_.Event.chain(c.event).filter(()=>this.selectList.length>0).map(d=>new y.StandardKeyboardEvent(d));this._register(o.filter(d=>d.keyCode===3).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===2).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===9).on(d=>this.onEscape(d),this)),this._register(o.filter(d=>d.keyCode===16).on(d=>this.onUpArrow(d),this)),this._register(o.filter(d=>d.keyCode===18).on(d=>this.onDownArrow(d),this)),this._register(o.filter(d=>d.keyCode===12).on(this.onPageDown,this)),this._register(o.filter(d=>d.keyCode===11).on(this.onPageUp,this)),this._register(o.filter(d=>d.keyCode===14).on(this.onHome,this)),this._register(o.filter(d=>d.keyCode===13).on(this.onEnd,this)),this._register(o.filter(d=>d.keyCode>=21&&d.keyCode<=56||d.keyCode>=85&&d.keyCode<=113).on(this.onCharacter,this)),this._register(L.addDisposableListener(this.selectList.getHTMLElement(),L.EventType.POINTER_UP,d=>this.onPointerUp(d))),this._register(this.selectList.onMouseOver(d=>typeof d.index<"u"&&this.selectList.setFocus([d.index]))),this._register(this.selectList.onDidChangeFocus(d=>this.onListFocus(d))),this._register(L.addDisposableListener(this.selectDropDownContainer,L.EventType.FOCUS_OUT,d=>{!this._isVisible||L.isAncestor(d.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(r){if(!this.selectList.length)return;L.EventHelper.stop(r);const c=r.target;if(!c||c.classList.contains("slider"))return;const o=c.closest(".monaco-list-row");if(!o)return;const d=Number(o.getAttribute("data-index")),l=o.classList.contains("option-disabled");d>=0&&d{for(let p=0;pthis.selected+2)this.selected+=2;else{if(c)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(r){this.selected>0&&(L.EventHelper.stop(r,!0),this.options[this.selected-1].isDisabled&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]))}onPageUp(r){L.EventHelper.stop(r),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(r){const c=g.KeyCodeUtils.toString(r.keyCode);let o=-1;for(let d=0;d{this.element&&this.handleActionChangeEvent(o)}))}handleActionChangeEvent(h){h.enabled!==void 0&&this.updateEnabled(),h.checked!==void 0&&this.updateChecked(),h.class!==void 0&&this.updateClass(),h.label!==void 0&&(this.updateLabel(),this.updateTooltip()),h.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new _.ActionRunner)),this._actionRunner}set actionRunner(h){this._actionRunner=h}isEnabled(){return this._action.enabled}setActionContext(h){this._context=h}render(h){const r=this.element=h;this._register(D.Gesture.addTarget(h));const c=this.options&&this.options.draggable;c&&(h.draggable=!0,L.isFirefox&&this._register((0,y.addDisposableListener)(h,y.EventType.DRAG_START,o=>{var d;return(d=o.dataTransfer)===null||d===void 0?void 0:d.setData(k.DataTransfers.TEXT,this._action.label)}))),this._register((0,y.addDisposableListener)(r,D.EventType.Tap,o=>this.onClick(o,!0))),this._register((0,y.addDisposableListener)(r,y.EventType.MOUSE_DOWN,o=>{c||y.EventHelper.stop(o,!0),this._action.enabled&&o.button===0&&r.classList.add("active")})),C.isMacintosh&&this._register((0,y.addDisposableListener)(r,y.EventType.CONTEXT_MENU,o=>{o.button===0&&o.ctrlKey===!0&&this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.CLICK,o=>{y.EventHelper.stop(o,!0),this.options&&this.options.isMenu||this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.DBLCLICK,o=>{y.EventHelper.stop(o,!0)})),[y.EventType.MOUSE_UP,y.EventType.MOUSE_OUT].forEach(o=>{this._register((0,y.addDisposableListener)(r,o,d=>{y.EventHelper.stop(d),r.classList.remove("active")}))})}onClick(h,r=!1){var c;y.EventHelper.stop(h,!0);const o=s.isUndefinedOrNull(this._context)?!((c=this.options)===null||c===void 0)&&c.useEventAsContext?h:{preserveFocus:r}:this._context;this.actionRunner.run(this._action,o)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(h){this.element&&(this.element.tabIndex=h?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.action.tooltip}updateTooltip(){var h;if(!this.element)return;const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.updateAriaLabel(),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(r):(this.customHover=(0,S.setupCustomHover)(this.options.hoverDelegate,this.element,r),this._store.add(this.customHover))):this.element.title=r}updateAriaLabel(){var h;if(this.element){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.element.setAttribute("aria-label",r)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}e.BaseActionViewItem=n;class t extends n{constructor(h,r,c){super(h,r,c),this.options=c,this.options.icon=c.icon!==void 0?c.icon:!1,this.options.label=c.label!==void 0?c.label:!0,this.cssClass=""}render(h){super.render(h),this.element&&(this.label=(0,y.append)(this.element,(0,y.$)("a.action-label"))),this.label&&this.label.setAttribute("role",this.getDefaultAriaRole()),this.options.label&&this.options.keybinding&&this.element&&((0,y.append)(this.element,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===_.Separator.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(h){this.label&&(this.label.tabIndex=h?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let h=null;return this.action.tooltip?h=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(h=this.action.label,this.options.keybinding&&(h=i.localize(0,null,h,this.options.keybinding))),h??void 0}updateClass(){var h;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.action.class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):(h=this.label)===null||h===void 0||h.classList.remove("codicon")}updateEnabled(){var h,r;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),(h=this.element)===null||h===void 0||h.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),(r=this.element)===null||r===void 0||r.classList.add("disabled"))}updateAriaLabel(){var h;if(this.label){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.label.setAttribute("aria-label",r)}}updateChecked(){this.label&&(this.action.checked!==void 0?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.setAttribute("aria-checked",""),this.label.setAttribute("role",this.getDefaultAriaRole())))}}e.ActionViewItem=t;class a extends n{constructor(h,r,c,o,d,l,p){super(h,r),this.selectBox=new f.SelectBox(c,o,d,l,p),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(h){this.selectBox.select(h)}registerListeners(){this._register(this.selectBox.onDidSelect(h=>this.runAction(h.selected,h.index)))}runAction(h,r){this.actionRunner.run(this._action,this.getActionContext(h,r))}getActionContext(h,r){return h}setFocusable(h){this.selectBox.setFocusable(h)}focus(){var h;(h=this.selectBox)===null||h===void 0||h.focus()}blur(){var h;(h=this.selectBox)===null||h===void 0||h.blur()}render(h){this.selectBox.render(h)}}e.SelectActionViewItem=a}),define(ne[68],se([1,0,7,44,131,39,6,2,20,265]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionBar=void 0;class g extends f.Disposable{constructor(s,i={}){var n,t,a,u,h,r;super(),this._actionRunnerDisposables=this._register(new f.DisposableStore),this.viewItemDisposables=this._register(new f.DisposableMap),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new S.Emitter),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new S.Emitter({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new S.Emitter),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new S.Emitter),this.onWillRun=this._onWillRun.event,this.options=i,this._context=(n=i.context)!==null&&n!==void 0?n:null,this._orientation=(t=this.options.orientation)!==null&&t!==void 0?t:0,this._triggerKeys={keyDown:(u=(a=this.options.triggerKeys)===null||a===void 0?void 0:a.keyDown)!==null&&u!==void 0?u:!1,keys:(r=(h=this.options.triggerKeys)===null||h===void 0?void 0:h.keys)!==null&&r!==void 0?r:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new D.ActionRunner,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(d=>this._onDidRun.fire(d))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(d=>this._onWillRun.fire(d))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",i.animated!==!1&&this.domNode.classList.add("animated");let c,o;switch(this._orientation){case 0:c=[15],o=[17];break;case 1:c=[16],o=[18],this.domNode.className+=" vertical";break}this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_DOWN,d=>{const l=new k.StandardKeyboardEvent(d);let p=!0;const m=typeof this.focusedItem=="number"?this.viewItems[this.focusedItem]:void 0;c&&(l.equals(c[0])||l.equals(c[1]))?p=this.focusPrevious():o&&(l.equals(o[0])||l.equals(o[1]))?p=this.focusNext():l.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():l.equals(14)?p=this.focusFirst():l.equals(13)?p=this.focusLast():l.equals(2)&&m instanceof y.BaseActionViewItem&&m.trapsArrowNavigation?p=this.focusNext():this.isTriggerKeyEvent(l)?this._triggerKeys.keyDown?this.doTrigger(l):this.triggerKeyDown=!0:p=!1,p&&(l.preventDefault(),l.stopPropagation())})),this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_UP,d=>{const l=new k.StandardKeyboardEvent(d);this.isTriggerKeyEvent(l)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(l)),l.preventDefault(),l.stopPropagation()):(l.equals(2)||l.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(L.trackFocus(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(L.getActiveElement()===this.domNode||!L.isAncestor(L.getActiveElement(),this.domNode))&&(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),s.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(s){if(this.focusable=s,this.focusable){const i=this.viewItems.find(n=>n instanceof y.BaseActionViewItem&&n.isEnabled());i instanceof y.BaseActionViewItem&&i.setFocusable(!0)}else this.viewItems.forEach(i=>{i instanceof y.BaseActionViewItem&&i.setFocusable(!1)})}isTriggerKeyEvent(s){let i=!1;return this._triggerKeys.keys.forEach(n=>{i=i||s.equals(n)}),i}updateFocusedItem(){for(let s=0;si.setActionContext(s))}get actionRunner(){return this._actionRunner}set actionRunner(s){this._actionRunner=s,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(i=>this._onDidRun.fire(i))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(i=>this._onWillRun.fire(i))),this.viewItems.forEach(i=>i.actionRunner=s)}getContainer(){return this.domNode}getAction(s){var i;if(typeof s=="number")return(i=this.viewItems[s])===null||i===void 0?void 0:i.action;if(s instanceof HTMLElement){for(;s.parentElement!==this.actionsList;){if(!s.parentElement)return;s=s.parentElement}for(let n=0;n{const u=document.createElement("li");u.className="action-item",u.setAttribute("role","presentation");let h;const r=Object.assign({hoverDelegate:this.options.hoverDelegate},i);this.options.actionViewItemProvider&&(h=this.options.actionViewItemProvider(a,r)),h||(h=new y.ActionViewItem(this.context,a,r)),this.options.allowContextMenu||this.viewItemDisposables.set(h,L.addDisposableListener(u,L.EventType.CONTEXT_MENU,c=>{L.EventHelper.stop(c,!0)})),h.actionRunner=this._actionRunner,h.setActionContext(this.context),h.render(u),this.focusable&&h instanceof y.BaseActionViewItem&&this.viewItems.length===0&&h.setFocusable(!0),t===null||t<0||t>=this.actionsList.children.length?(this.actionsList.appendChild(u),this.viewItems.push(h)):(this.actionsList.insertBefore(u,this.actionsList.children[t]),this.viewItems.splice(t,0,h),t++)}),typeof this.focusedItem=="number"&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,f.dispose)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),L.clearNode(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return this.viewItems.length===0}focus(s){let i=!1,n;if(s===void 0?i=!0:typeof s=="number"?n=s:typeof s=="boolean"&&(i=s),i&&typeof this.focusedItem>"u"){const t=this.viewItems.findIndex(a=>a.isEnabled());this.focusedItem=t===-1?void 0:t,this.updateFocus(void 0,void 0,!0)}else n!==void 0&&(this.focusedItem=n),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(s){if(typeof this.focusedItem>"u")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(!s&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(),!0}focusPrevious(s){if(typeof this.focusedItem>"u")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!s&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(!0),!0}updateFocus(s,i,n=!1){var t;typeof this.focusedItem>"u"&&this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((t=this.viewItems[this.previouslyFocusedItem])===null||t===void 0||t.blur());const a=this.focusedItem!==void 0&&this.viewItems[this.focusedItem];if(a){let u=!0;_.isFunction(a.focus)||(u=!1),this.options.focusOnlyEnabledItems&&_.isFunction(a.isEnabled)&&!a.isEnabled()&&(u=!1),a.action.id===D.Separator.ID&&(u=!1),u?(n||this.previouslyFocusedItem!==this.focusedItem)&&(a.focus(s),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem=void 0)}}doTrigger(s){if(typeof this.focusedItem>"u")return;const i=this.viewItems[this.focusedItem];if(i instanceof y.BaseActionViewItem){const n=i._context===null||i._context===void 0?s:i._context;this.run(i._action,n)}}run(s,i){return we(this,void 0,void 0,function*(){yield this._actionRunner.run(s,i)})}dispose(){this._context=void 0,this.viewItems=(0,f.dispose)(this.viewItems),this.getContainer().remove(),super.dispose()}}e.ActionBar=g}),define(ne[315],se([1,0,7,131,572,6,266]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenuActionViewItem=void 0;class S extends k.BaseActionViewItem{constructor(_,g,C,s=Object.create(null)){super(null,_,s),this.actionItem=null,this._onDidChangeVisibility=this._register(new D.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=g,this.contextMenuProvider=C,this.options=s,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(_){this.actionItem=_;const g=i=>{this.element=(0,L.append)(i,(0,L.$)("a.action-label"));let n=[];return typeof this.options.classNames=="string"?n=this.options.classNames.split(/\s+/g).filter(t=>!!t):this.options.classNames&&(n=this.options.classNames),n.find(t=>t==="icon")||n.push("codicon"),this.element.classList.add(...n),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",this.element.ariaLabel=this._action.label||"",null},C=Array.isArray(this.menuActionsOrProvider),s={contextMenuProvider:this.contextMenuProvider,labelRenderer:g,menuAsChild:this.options.menuAsChild,actions:C?this.menuActionsOrProvider:void 0,actionProvider:C?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new y.DropdownMenu(_,s)),this._register(this.dropdownMenu.onDidChangeVisibility(i=>{var n;(n=this.element)===null||n===void 0||n.setAttribute("aria-expanded",`${i}`),this._onDidChangeVisibility.fire(i)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const i=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return i.options.anchorAlignmentProvider()}})}this.updateTooltip(),this.updateEnabled()}getTooltip(){let _=null;return this.action.tooltip?_=this.action.tooltip:this.action.label&&(_=this.action.label),_??void 0}setActionContext(_){super.setActionContext(_),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=_:this.dropdownMenu.menuOptions={context:_})}show(){var _;(_=this.dropdownMenu)===null||_===void 0||_.show()}updateEnabled(){var _,g;const C=!this.action.enabled;(_=this.actionItem)===null||_===void 0||_.classList.toggle("disabled",C),(g=this.element)===null||g===void 0||g.classList.toggle("disabled",C)}}e.DropdownMenuActionViewItem=S}),define(ne[227],se([1,0,7,81,305,68,49,75,83,6,388,47,557,401]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryInputBox=e.InputBox=e.unthemedInboxStyles=void 0;const n=L.$;e.unthemedInboxStyles={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class t extends _.Widget{constructor(h,r,c){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new g.Emitter),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new g.Emitter),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=r,this.options=c,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=(o=this.options.tooltip)!==null&&o!==void 0?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=L.append(h,n(".monaco-inputbox.idle"));const d=this.options.flexibleHeight?"textarea":"input",l=L.append(this.element,n(".ibwrapper"));if(this.input=L.append(l,n(d+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight=="number"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=L.append(l,n("div.mirror")),this.mirror.innerText="\xA0",this.scrollableElement=new f.ScrollableElement(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),L.append(h,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(v=>this.input.scrollTop=v.scrollTop));const p=this._register(new k.DomEmitter(document,"selectionchange")),m=g.Event.filter(p.event,()=>{const v=document.getSelection();return v?.anchorNode===l});this._register(m(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new D.ActionBar(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(h){this.placeholder=h,this.input.setAttribute("placeholder",h)}setTooltip(h){this.tooltip=h,this.input.title=h}get inputElement(){return this.input}get value(){return this.input.value}set value(h){this.input.value!==h&&(this.input.value=h,this.onValueChange())}get height(){return typeof this.cachedHeight=="number"?this.cachedHeight:L.getTotalHeight(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(h=null){this.input.select(),h&&(this.input.setSelectionRange(h.start,h.end),h.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(h){this.input.style.width=`calc(100% - ${h}px)`,this.mirror&&(this.mirror.style.paddingRight=h+"px")}updateScrollDimensions(){if(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)return;const h=this.cachedContentHeight,r=this.cachedHeight,c=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:h,height:r}),this.scrollableElement.setScrollPosition({scrollTop:c})}showMessage(h,r){if(this.state==="open"&&(0,s.equals)(this.message,h))return;this.message=h,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(h.type));const c=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${L.asCssValueWithDefault(c.border,"transparent")}`,this.message.content&&(this.hasFocus()||r)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let h=null;return this.validation&&(h=this.validation(this.value),h?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(h)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),h?.type}stylesForType(h){const r=this.options.inputBoxStyles;switch(h){case 1:return{border:r.inputValidationInfoBorder,background:r.inputValidationInfoBackground,foreground:r.inputValidationInfoForeground};case 2:return{border:r.inputValidationWarningBorder,background:r.inputValidationWarningBackground,foreground:r.inputValidationWarningForeground};default:return{border:r.inputValidationErrorBorder,background:r.inputValidationErrorBackground,foreground:r.inputValidationErrorForeground}}}classForType(h){switch(h){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let h;const r=()=>h.style.width=L.getTotalWidth(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:o=>{var d,l;if(!this.message)return null;h=L.append(o,n(".monaco-inputbox-container")),r();const p={inline:!0,className:"monaco-inputbox-message"},m=this.message.formatContent?(0,y.renderFormattedText)(this.message.content,p):(0,y.renderText)(this.message.content,p);m.classList.add(this.classForType(this.message.type));const v=this.stylesForType(this.message.type);return m.style.backgroundColor=(d=v.background)!==null&&d!==void 0?d:"",m.style.color=(l=v.foreground)!==null&&l!==void 0?l:"",m.style.border=v.border?`1px solid ${v.border}`:"",L.append(h,m),null},onHide:()=>{this.state="closed"},layout:r});let c;this.message.type===3?c=i.localize(0,null,this.message.content):this.message.type===2?c=i.localize(1,null,this.message.content):c=i.localize(2,null,this.message.content),S.alert(c),this.state="open"}_hideMessage(){this.contextViewProvider&&(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const h=this.value,c=h.charCodeAt(h.length-1)===10?" ":"";(h+c).replace(/\u000c/g,"")?this.mirror.textContent=h+c:this.mirror.innerText="\xA0",this.layout()}applyStyles(){var h,r,c;const o=this.options.inputBoxStyles,d=(h=o.inputBackground)!==null&&h!==void 0?h:"",l=(r=o.inputForeground)!==null&&r!==void 0?r:"",p=(c=o.inputBorder)!==null&&c!==void 0?c:"";this.element.style.backgroundColor=d,this.element.style.color=l,this.input.style.backgroundColor="inherit",this.input.style.color=l,this.element.style.border=`1px solid ${L.asCssValueWithDefault(p,"transparent")}`}layout(){if(!this.mirror)return;const h=this.cachedContentHeight;this.cachedContentHeight=L.getTotalHeight(this.mirror),h!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(h){const r=this.inputElement,c=r.selectionStart,o=r.selectionEnd,d=r.value;c!==null&&o!==null&&(this.value=d.substr(0,c)+h+d.substr(o),r.setSelectionRange(c+1,c+1),this.layout())}dispose(){var h;this._hideMessage(),this.message=null,(h=this.actionbar)===null||h===void 0||h.dispose(),super.dispose()}}e.InputBox=t;class a extends t{constructor(h,r,c){const o=i.localize(3,null),d=` or \u21C5 ${o}`,l=` (\u21C5 ${o})`;super(h,r,c),this._onDidFocus=this._register(new g.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Emitter),this.onDidBlur=this._onDidBlur.event,this.history=new C.HistoryNavigator(c.history,100);const p=()=>{if(c.showHistoryHint&&c.showHistoryHint()&&!this.placeholder.endsWith(d)&&!this.placeholder.endsWith(l)&&this.history.getHistory().length){const m=this.placeholder.endsWith(")")?d:l,v=this.placeholder+m;c.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=v:this.setPlaceHolder(v)}};this.observer=new MutationObserver((m,v)=>{m.forEach(b=>{b.target.textContent||p()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>p()),this.onblur(this.input,()=>{const m=v=>{if(this.placeholder.endsWith(v)){const b=this.placeholder.slice(0,this.placeholder.length-v.length);return c.showPlaceholderOnFocus?this.placeholder=b:this.setPlaceHolder(b),!0}else return!1};m(l)||m(d)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(h){this.value&&(h||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let h=this.getNextValue();h&&(h=h===this.value?this.getNextValue():h),this.value=h??"",S.status(this.value?this.value:i.localize(4,null))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let h=this.getPreviousValue();h&&(h=h===this.value?this.getPreviousValue():h),h&&(this.value=h,S.status(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let h=this.history.current();return h||(h=this.history.last(),this.history.next()),h}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}e.HistoryInputBox=a}),define(ne[228],se([1,0,7,312,227,83,6,552,2,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindInput=void 0;const g=f.localize(0,null);class C extends D.Widget{constructor(i,n,t){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=new _.DisposableStore,this.additionalToggles=[],this._onDidOptionChange=this._register(new S.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new S.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new S.Emitter),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new S.Emitter),this._onKeyUp=this._register(new S.Emitter),this._onCaseSensitiveKeyDown=this._register(new S.Emitter),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new S.Emitter),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=t.placeholder||"",this.validation=t.validation,this.label=t.label||g,this.showCommonFindToggles=!!t.showCommonFindToggles;const a=t.appendCaseSensitiveLabel||"",u=t.appendWholeWordsLabel||"",h=t.appendRegexLabel||"",r=t.history||[],c=!!t.flexibleHeight,o=!!t.flexibleWidth,d=t.flexibleMaxHeight;if(this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,n,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:r,showHistoryHint:t.showHistoryHint,flexibleHeight:c,flexibleWidth:o,flexibleMaxHeight:d,inputBoxStyles:t.inputBoxStyles})),this.showCommonFindToggles){this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:h,isChecked:!1},t.toggleStyles))),this._register(this.regex.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(p=>{this._onRegexKeyDown.fire(p)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:u,isChecked:!1},t.toggleStyles))),this._register(this.wholeWords.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:a,isChecked:!1},t.toggleStyles))),this._register(this.caseSensitive.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(p=>{this._onCaseSensitiveKeyDown.fire(p)}));const l=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,p=>{if(p.equals(15)||p.equals(17)||p.equals(9)){const m=l.indexOf(document.activeElement);if(m>=0){let v=-1;p.equals(17)?v=(m+1)%l.length:p.equals(15)&&(m===0?v=l.length-1:v=m-1),p.equals(9)?(l[m].blur(),this.inputBox.focus()):v>=0&&l[v].focus(),L.EventHelper.stop(p,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(t?.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),i?.appendChild(this.domNode),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionstart",l=>{this.imeSessionInProgress=!0})),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionend",l=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,l=>this._onKeyDown.fire(l)),this.onkeyup(this.inputBox.inputElement,l=>this._onKeyUp.fire(l)),this.oninput(this.inputBox.inputElement,l=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,l=>this._onMouseDown.fire(l))}get onDidChange(){return this.inputBox.onDidChange}layout(i){this.inputBox.layout(),this.updateInputBoxPadding(i.collapsedFindWidget)}enable(){var i,n,t;this.domNode.classList.remove("disabled"),this.inputBox.enable(),(i=this.regex)===null||i===void 0||i.enable(),(n=this.wholeWords)===null||n===void 0||n.enable(),(t=this.caseSensitive)===null||t===void 0||t.enable();for(const a of this.additionalToggles)a.enable()}disable(){var i,n,t;this.domNode.classList.add("disabled"),this.inputBox.disable(),(i=this.regex)===null||i===void 0||i.disable(),(n=this.wholeWords)===null||n===void 0||n.disable(),(t=this.caseSensitive)===null||t===void 0||t.disable();for(const a of this.additionalToggles)a.disable()}setFocusInputOnOptionClick(i){this.fixFocusOnOptionClickEnabled=i}setEnabled(i){i?this.enable():this.disable()}setAdditionalToggles(i){for(const n of this.additionalToggles)n.domNode.remove();this.additionalToggles=[],this.additionalTogglesDisposables.dispose(),this.additionalTogglesDisposables=new _.DisposableStore;for(const n of i??[])this.additionalTogglesDisposables.add(n),this.controls.appendChild(n.domNode),this.additionalTogglesDisposables.add(n.onChange(t=>{this._onDidOptionChange.fire(t),!t&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(n);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(i=!1){var n,t,a,u,h,r;i?this.inputBox.paddingRight=0:this.inputBox.paddingRight=((t=(n=this.caseSensitive)===null||n===void 0?void 0:n.width())!==null&&t!==void 0?t:0)+((u=(a=this.wholeWords)===null||a===void 0?void 0:a.width())!==null&&u!==void 0?u:0)+((r=(h=this.regex)===null||h===void 0?void 0:h.width())!==null&&r!==void 0?r:0)+this.additionalToggles.reduce((c,o)=>c+o.width(),0)}getValue(){return this.inputBox.value}setValue(i){this.inputBox.value!==i&&(this.inputBox.value=i)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var i,n;return(n=(i=this.caseSensitive)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setCaseSensitive(i){this.caseSensitive&&(this.caseSensitive.checked=i)}getWholeWords(){var i,n;return(n=(i=this.wholeWords)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setWholeWords(i){this.wholeWords&&(this.wholeWords.checked=i)}getRegex(){var i,n;return(n=(i=this.regex)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setRegex(i){this.regex&&(this.regex.checked=i,this.validate())}focusOnCaseSensitive(){var i;(i=this.caseSensitive)===null||i===void 0||i.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(i){this.inputBox.showMessage(i)}clearMessage(){this.inputBox.hideMessage()}}e.FindInput=C}),define(ne[582],se([1,0,7,153,227,83,25,6,554,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReplaceInput=void 0;const g=_.localize(0,null),C=_.localize(1,null);class s extends k.Toggle{constructor(t){super({icon:S.Codicon.preserveCase,title:C+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionForeground:t.inputActiveOptionForeground,inputActiveOptionBackground:t.inputActiveOptionBackground})}}class i extends D.Widget{constructor(t,a,u,h){super(),this._showOptionButtons=u,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new f.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new f.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new f.Emitter),this._onInput=this._register(new f.Emitter),this._onKeyUp=this._register(new f.Emitter),this._onPreserveCaseKeyDown=this._register(new f.Emitter),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=a,this.placeholder=h.placeholder||"",this.validation=h.validation,this.label=h.label||g;const r=h.appendPreserveCaseLabel||"",c=h.history||[],o=!!h.flexibleHeight,d=!!h.flexibleWidth,l=h.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},history:c,showHistoryHint:h.showHistoryHint,flexibleHeight:o,flexibleWidth:d,flexibleMaxHeight:l,inputBoxStyles:h.inputBoxStyles})),this.preserveCase=this._register(new s(Object.assign({appendTitle:r,isChecked:!1},h.toggleStyles))),this._register(this.preserveCase.onChange(v=>{this._onDidOptionChange.fire(v),!v&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(v=>{this._onPreserveCaseKeyDown.fire(v)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;const p=[this.preserveCase.domNode];this.onkeydown(this.domNode,v=>{if(v.equals(15)||v.equals(17)||v.equals(9)){const b=p.indexOf(document.activeElement);if(b>=0){let w=-1;v.equals(17)?w=(b+1)%p.length:v.equals(15)&&(b===0?w=p.length-1:w=b-1),v.equals(9)?(p[b].blur(),this.inputBox.focus()):w>=0&&p[w].focus(),L.EventHelper.stop(v,!0)}}});const m=document.createElement("div");m.className="controls",m.style.display=this._showOptionButtons?"block":"none",m.appendChild(this.preserveCase.domNode),this.domNode.appendChild(m),t?.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,v=>this._onKeyDown.fire(v)),this.onkeyup(this.inputBox.inputElement,v=>this._onKeyUp.fire(v)),this.oninput(this.inputBox.inputElement,v=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,v=>this._onMouseDown.fire(v))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(t){t?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(t){this.preserveCase.checked=t}focusOnPreserve(){this.preserveCase.focus()}validate(){var t;(t=this.inputBox)===null||t===void 0||t.validate()}set width(t){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=t+"px"}dispose(){super.dispose()}}e.ReplaceInput=i}),define(ne[583],se([1,0,52,61,7,44,60,68,131,306,75,39,13,25,26,120,2,17,11]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRule=e.cleanMnemonic=e.Menu=e.Direction=e.MENU_ESCAPED_MNEMONIC_REGEX=e.MENU_MNEMONIC_REGEX=void 0,e.MENU_MNEMONIC_REGEX=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,e.MENU_ESCAPED_MNEMONIC_REGEX=/(&)?(&)([^\s&])/g;var c;(function(w){w[w.Right=0]="Right",w[w.Left=1]="Left"})(c||(e.Direction=c={}));class o extends f.ActionBar{constructor(E,I,M,P){E.classList.add("monaco-menu-container"),E.setAttribute("role","presentation");const x=document.createElement("div");x.classList.add("monaco-menu"),x.setAttribute("role","presentation"),super(x,{orientation:1,actionViewItemProvider:N=>this.doGetActionViewItem(N,M,T),context:M.context,actionRunner:M.actionRunner,ariaLabel:M.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...h.isMacintosh||h.isLinux?[10]:[]],keyDown:!0}}),this.menuStyles=P,this.menuElement=x,this.actionsList.tabIndex=0,this.menuDisposables=this._register(new u.DisposableStore),this.initializeOrUpdateStyleSheet(E,P),this._register(k.Gesture.addTarget(x)),(0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{new D.StandardKeyboardEvent(N).equals(2)&&N.preventDefault()}),M.enableMnemonics&&this.menuDisposables.add((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=N.key.toLocaleLowerCase();if(this.mnemonics.has(F)){y.EventHelper.stop(N,!0);const O=this.mnemonics.get(F);if(O.length===1&&(O[0]instanceof l&&O[0].container&&this.focusItemByElement(O[0].container),O[0].onClick(N)),O.length>1){const W=O.shift();W&&W.container&&(this.focusItemByElement(W.container),O.push(W)),this.mnemonics.set(F,O)}}})),h.isLinux&&this._register((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=new D.StandardKeyboardEvent(N);F.equals(14)||F.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),y.EventHelper.stop(N,!0)):(F.equals(13)||F.equals(12))&&(this.focusedItem=0,this.focusPrevious(),y.EventHelper.stop(N,!0))})),this._register((0,y.addDisposableListener)(this.domNode,y.EventType.MOUSE_OUT,N=>{const F=N.relatedTarget;(0,y.isAncestor)(F,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),N.stopPropagation())})),this._register((0,y.addDisposableListener)(this.actionsList,y.EventType.MOUSE_OVER,N=>{let F=N.target;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}})),this._register(k.Gesture.addTarget(this.actionsList)),this._register((0,y.addDisposableListener)(this.actionsList,k.EventType.Tap,N=>{let F=N.initialTarget;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}}));const T={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new C.DomScrollableElement(x,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const A=this.scrollableElement.getDomNode();A.style.position="",this.styleScrollElement(A,P),this._register((0,y.addDisposableListener)(x,k.EventType.Change,N=>{y.EventHelper.stop(N,!0);const F=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:F-N.translationY})})),this._register((0,y.addDisposableListener)(A,y.EventType.MOUSE_UP,N=>{N.preventDefault()})),x.style.maxHeight=`${Math.max(10,window.innerHeight-E.getBoundingClientRect().top-35)}px`,I=I.filter(N=>{var F;return!((F=M.submenuIds)===null||F===void 0)&&F.has(N.id)?(console.warn(`Found submenu cycle: ${N.id}`),!1):!0}),this.push(I,{icon:!0,label:!0,isMenu:!0}),E.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(N=>!(N instanceof p)).forEach((N,F,O)=>{N.updatePositionInSet(F+1,O.length)})}initializeOrUpdateStyleSheet(E,I){this.styleSheet||((0,y.isInShadowDOM)(E)?this.styleSheet=(0,y.createStyleSheet)(E):(o.globalStyleSheet||(o.globalStyleSheet=(0,y.createStyleSheet)()),this.styleSheet=o.globalStyleSheet)),this.styleSheet.textContent=b(I,(0,y.isInShadowDOM)(E))}styleScrollElement(E,I){var M,P;const x=(M=I.foregroundColor)!==null&&M!==void 0?M:"",T=(P=I.backgroundColor)!==null&&P!==void 0?P:"",A=I.borderColor?`1px solid ${I.borderColor}`:"",N="5px",F=I.shadowColor?`0 2px 8px ${I.shadowColor}`:"";E.style.outline=A,E.style.borderRadius=N,E.style.color=x,E.style.backgroundColor=T,E.style.boxShadow=F}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(E){const I=this.focusedItem;this.setFocusedItem(E),I!==this.focusedItem&&this.updateFocus()}setFocusedItem(E){for(let I=0;I{this.element&&(this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_UP,x=>{if(y.EventHelper.stop(x,!0),L.isFirefox){if(new S.StandardMouseEvent(x).rightButton)return;this.onClick(x)}else setTimeout(()=>{this.onClick(x)},0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.CONTEXT_MENU,x=>{y.EventHelper.stop(x,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(E){super.render(E),this.element&&(this.container=E,this.item=(0,y.append)(this.element,(0,y.$)("a.action-menu-item")),this._action.id===s.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,y.append)(this.item,(0,y.$)("span.menu-item-check"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSelection))),this.check.setAttribute("role","none"),this.label=(0,y.append)(this.item,(0,y.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,y.append)(this.item,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var E;super.focus(),(E=this.item)===null||E===void 0||E.focus(),this.applyStyle()}updatePositionInSet(E,I){this.item&&(this.item.setAttribute("aria-posinset",`${E}`),this.item.setAttribute("aria-setsize",`${I}`))}updateLabel(){var E;if(this.label&&this.options.label){(0,y.clearNode)(this.label);let I=(0,a.stripIcons)(this.action.label);if(I){const M=m(I);this.options.enableMnemonics||(I=M),this.label.setAttribute("aria-label",M.replace(/&&/g,"&"));const P=e.MENU_MNEMONIC_REGEX.exec(I);if(P){I=r.escape(I),e.MENU_ESCAPED_MNEMONIC_REGEX.lastIndex=0;let x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);for(;x&&x[1];)x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);const T=A=>A.replace(/&&/g,"&");x?this.label.append(r.ltrim(T(I.substr(0,x.index))," "),(0,y.$)("u",{"aria-hidden":"true"},x[3]),r.rtrim(T(I.substr(x.index+x[0].length))," ")):this.label.innerText=T(I).trim(),(E=this.item)===null||E===void 0||E.setAttribute("aria-keyshortcuts",(P[1]?P[1]:P[3]).toLocaleLowerCase())}else this.label.innerText=I.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.action.class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const E=this.action.checked;this.item.classList.toggle("checked",!!E),E!==void 0?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",E?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){const E=this.element&&this.element.classList.contains("focused"),I=E&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,M=E&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,P=E&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",x=E&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=I??"",this.item.style.backgroundColor=M??"",this.item.style.outline=P,this.item.style.outlineOffset=x),this.check&&(this.check.style.color=I??"")}}class l extends d{constructor(E,I,M,P,x){super(E,E,P,x),this.submenuActions=I,this.parentData=M,this.submenuOptions=P,this.mysubmenu=null,this.submenuDisposables=this._register(new u.DisposableStore),this.mouseOver=!1,this.expandDirection=P&&P.expandDirection!==void 0?P.expandDirection:c.Right,this.showScheduler=new i.RunOnceScheduler(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new i.RunOnceScheduler(()=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(E){super.render(E),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,y.append)(this.item,(0,y.$)("span.submenu-indicator"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSubmenu))),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_UP,I=>{const M=new D.StandardKeyboardEvent(I);(M.equals(17)||M.equals(3))&&(y.EventHelper.stop(I,!0),this.createSubmenu(!0))})),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_DOWN,I=>{const M=new D.StandardKeyboardEvent(I);(0,y.getActiveElement)()===this.item&&(M.equals(17)||M.equals(3))&&y.EventHelper.stop(I,!0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_OVER,I=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_LEAVE,I=>{this.mouseOver=!1})),this._register((0,y.addDisposableListener)(this.element,y.EventType.FOCUS_OUT,I=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(E){y.EventHelper.stop(E,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(E){if(this.parentData.submenu&&(E||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch{}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(E,I,M,P){const x={top:0,left:0};return x.left=(0,g.layout)(E.width,I.width,{position:P===c.Right?0:1,offset:M.left,size:M.width}),x.left>=M.left&&x.left{new D.StandardKeyboardEvent(F).equals(15)&&(y.EventHelper.stop(F,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add((0,y.addDisposableListener)(this.submenuContainer,y.EventType.KEY_DOWN,F=>{new D.StandardKeyboardEvent(F).equals(15)&&y.EventHelper.stop(F,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(E),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(E){var I;this.item&&((I=this.item)===null||I===void 0||I.setAttribute("aria-expanded",E))}applyStyle(){super.applyStyle();const I=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=I??"")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class p extends _.ActionViewItem{constructor(E,I,M,P){super(E,I,M),this.menuStyles=P}render(E){super.render(E),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:"")}}function m(w){const E=e.MENU_MNEMONIC_REGEX,I=E.exec(w);if(!I)return w;const M=!I[1];return w.replace(E,M?"$2$3":"").trim()}e.cleanMnemonic=m;function v(w){const E=(0,n.getCodiconFontCharacters)()[w.id];return`.codicon-${w.id}:before { content: '\\${E.toString(16)}'; }`}e.formatRule=v;function b(w,E){let I=` -.monaco-menu { - font-size: 13px; - border-radius: 5px; - min-width: 160px; -} - -${v(n.Codicon.menuSelection)} -${v(n.Codicon.menuSubmenu)} - -.monaco-menu .monaco-action-bar { - text-align: right; - overflow: hidden; - white-space: nowrap; -} - -.monaco-menu .monaco-action-bar .actions-container { - display: flex; - margin: 0 auto; - padding: 0; - width: 100%; - justify-content: flex-end; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: inline-block; -} - -.monaco-menu .monaco-action-bar.reverse .actions-container { - flex-direction: row-reverse; -} - -.monaco-menu .monaco-action-bar .action-item { - cursor: pointer; - display: inline-block; - transition: transform 50ms ease; - position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ -} - -.monaco-menu .monaco-action-bar .action-item.disabled { - cursor: default; -} - -.monaco-menu .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ -} - -.monaco-menu .monaco-action-bar .action-item .icon, -.monaco-menu .monaco-action-bar .action-item .codicon { - display: inline-block; -} - -.monaco-menu .monaco-action-bar .action-item .codicon { - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar .action-label { - font-size: 11px; - margin-right: 4px; -} - -.monaco-menu .monaco-action-bar .action-item.disabled .action-label, -.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover { - color: var(--vscode-disabledForeground); -} - -/* Vertical actions */ - -.monaco-menu .monaco-action-bar.vertical { - text-align: left; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - display: block; - border-bottom: 1px solid var(--vscode-menu-separatorBackground); - padding-top: 1px; - padding: 30px; -} - -.monaco-menu .secondary-actions .monaco-action-bar .action-label { - margin-left: 6px; -} - -/* Action Items */ -.monaco-menu .monaco-action-bar .action-item.select-container { - overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ - flex: 1; - max-width: 170px; - min-width: 60px; - display: flex; - align-items: center; - justify-content: center; - margin-right: 10px; -} - -.monaco-menu .monaco-action-bar.vertical { - margin-left: 0; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - padding: 0; - transform: none; - display: flex; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.active { - transform: none; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - flex: 1 1 auto; - display: flex; - height: 2em; - align-items: center; - position: relative; - margin: 0 4px; - border-radius: 4px; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding { - opacity: unset; -} - -.monaco-menu .monaco-action-bar.vertical .action-label { - flex: 1 1 auto; - text-decoration: none; - padding: 0 1em; - background: none; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .keybinding, -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - display: inline-block; - flex: 2 1 auto; - padding: 0 1em; - text-align: right; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon { - font-size: 16px !important; - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before { - margin-left: auto; - margin-right: -20px; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator { - opacity: 0.4; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) { - display: inline-block; - box-sizing: border-box; - margin: 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - position: static; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu { - position: absolute; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - width: 100%; - height: 0px !important; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator.text { - padding: 0.7em 1em 0.1em 1em; - font-weight: bold; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:hover { - color: inherit; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - position: absolute; - visibility: hidden; - width: 1em; - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check { - visibility: visible; - display: flex; - align-items: center; - justify-content: center; -} - -/* Context Menu */ - -.context-view.monaco-menu-container { - outline: 0; - border: none; - animation: fadeIn 0.083s linear; - -webkit-app-region: no-drag; -} - -.context-view.monaco-menu-container :focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical:focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical :focus { - outline: 0; -} - -.hc-black .context-view.monaco-menu-container, -.hc-light .context-view.monaco-menu-container, -:host-context(.hc-black) .context-view.monaco-menu-container, -:host-context(.hc-light) .context-view.monaco-menu-container { - box-shadow: none; -} - -.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused, -.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused { - background: none; -} - -/* Vertical Action Bar Styles */ - -.monaco-menu .monaco-action-bar.vertical { - padding: 4px 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - height: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator), -.monaco-menu .monaco-action-bar.vertical .keybinding { - font-size: inherit; - padding: 0 2em; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - font-size: inherit; - width: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - font-size: inherit; - margin: 5px 0 !important; - padding: 0; - border-radius: 0; -} - -.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator { - margin-left: 0; - margin-right: 0; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - font-size: 60%; - padding: 0 1.8em; -} - -.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; - mask-size: 10px 10px; - -webkit-mask-size: 10px 10px; -} - -.monaco-menu .action-item { - cursor: default; -}`;if(E){I+=` - /* Arrows */ - .monaco-scrollable-element > .scrollbar > .scra { - cursor: pointer; - font-size: 11px !important; - } - - .monaco-scrollable-element > .visible { - opacity: 1; - - /* Background rule added for IE9 - to allow clicks on dom node */ - background:rgba(0,0,0,0); - - transition: opacity 100ms linear; - } - .monaco-scrollable-element > .invisible { - opacity: 0; - pointer-events: none; - } - .monaco-scrollable-element > .invisible.fade { - transition: opacity 800ms linear; - } - - /* Scrollable Content Inset Shadow */ - .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; - } - `;const M=w.scrollbarShadow;M&&(I+=` - .monaco-scrollable-element > .shadow.top { - box-shadow: ${M} 0 6px 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.left { - box-shadow: ${M} 6px 0 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.top.left { - box-shadow: ${M} 6px 6px 6px -6px inset; - } - `);const P=w.scrollbarSliderBackground;P&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider { - background: ${P}; - } - `);const x=w.scrollbarSliderHoverBackground;x&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider:hover { - background: ${x}; - } - `);const T=w.scrollbarSliderActiveBackground;T&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider.active { - background: ${T}; - } - `)}return I}}),define(ne[584],se([1,0,68,315,39,25,26,6,2,560,412]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleMenuAction=e.ToolBar=void 0;class C extends _.Disposable{constructor(n,t,a={orientation:0}){super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new f.EventMultiplexer),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new _.DisposableStore),this.options=a,this.lookupKeybindings=typeof this.options.getKeyBinding=="function",this.toggleMenuAction=this._register(new s(()=>{var u;return(u=this.toggleMenuActionViewItem)===null||u===void 0?void 0:u.show()},a.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",n.appendChild(this.element),this.actionBar=this._register(new L.ActionBar(this.element,{orientation:a.orientation,ariaLabel:a.ariaLabel,actionRunner:a.actionRunner,allowContextMenu:a.allowContextMenu,highlightToggledItems:a.highlightToggledItems,actionViewItemProvider:(u,h)=>{var r;if(u.id===s.ID)return this.toggleMenuActionViewItem=new k.DropdownMenuActionViewItem(u,u.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:S.ThemeIcon.asClassNameArray((r=a.moreIcon)!==null&&r!==void 0?r:D.Codicon.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(a.actionViewItemProvider){const c=a.actionViewItemProvider(u,h);if(c)return c}if(u instanceof y.SubmenuAction){const c=new k.DropdownMenuActionViewItem(u,u.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:u.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry});return c.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(c),this.disposables.add(this._onDidChangeDropdownVisibility.add(c.onDidChangeVisibility)),c}}}))}set actionRunner(n){this.actionBar.actionRunner=n}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(n){return this.actionBar.getAction(n)}setActions(n,t){this.clear();const a=n?n.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),a.push(this.toggleMenuAction)),a.forEach(u=>{this.actionBar.push(u,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(u)})})}getKeybindingLabel(n){var t,a,u;const h=this.lookupKeybindings?(a=(t=this.options).getKeyBinding)===null||a===void 0?void 0:a.call(t,n):void 0;return(u=h?.getLabel())!==null&&u!==void 0?u:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),super.dispose()}}e.ToolBar=C;class s extends y.Action{constructor(n,t){t=t||g.localize(0,null),super(s.ID,t,void 0,!0),this._menuActions=[],this.toggleDropdownMenu=n}run(){return we(this,void 0,void 0,function*(){this.toggleDropdownMenu()})}get menuActions(){return this._menuActions}set menuActions(n){this._menuActions=n}}e.ToggleMenuAction=s,s.ID="toolbar.toggle.more"}),define(ne[184],se([1,0,7,81,44,68,228,227,225,114,153,218,139,39,14,13,25,26,196,6,72,2,141,20,561,413]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractTree=e.TreeFindMatchType=e.TreeFindMode=e.FuzzyToggle=e.ModeToggle=e.RenderIndentGuides=e.ComposedTreeDelegate=void 0;class v extends _.ElementsDragAndDropData{constructor(B){super(B.elements.map(V=>V.element)),this.data=B}}function b(H){return H instanceof _.ElementsDragAndDropData?new v(H):H}class w{constructor(B,V){this.modelProvider=B,this.dnd=V,this.autoExpandDisposable=d.Disposable.None}getDragURI(B){return this.dnd.getDragURI(B.element)}getDragLabel(B,V){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(B.map(Y=>Y.element),V)}onDragStart(B,V){var Y,ie;(ie=(Y=this.dnd).onDragStart)===null||ie===void 0||ie.call(Y,b(B),V)}onDragOver(B,V,Y,ie,ae=!0){const ce=this.dnd.onDragOver(b(B),V&&V.element,Y,ie),de=this.autoExpandNode!==V;if(de&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=V),typeof V>"u")return ce;if(de&&typeof ce!="boolean"&&ce.autoExpand&&(this.autoExpandDisposable=(0,a.disposableTimeout)(()=>{const z=this.modelProvider(),ee=z.getNodeLocation(V);z.isCollapsed(ee)&&z.setCollapsed(ee,!1),this.autoExpandNode=void 0},500)),typeof ce=="boolean"||!ce.accept||typeof ce.bubble>"u"||ce.feedback){if(!ae){const z=typeof ce=="boolean"?ce:ce.accept,ee=typeof ce=="boolean"?void 0:ce.effect;return{accept:z,effect:ee,feedback:[Y]}}return ce}if(ce.bubble===1){const z=this.modelProvider(),ee=z.getNodeLocation(V),$=z.getParentNodeLocation(ee),re=z.getNode($),oe=$&&z.getListIndex($);return this.onDragOver(B,re,oe,ie,!1)}const he=this.modelProvider(),ue=he.getNodeLocation(V),te=he.getListIndex(ue),q=he.getListRenderCount(ue);return Object.assign(Object.assign({},ce),{feedback:(0,t.range)(te,te+q)})}drop(B,V,Y,ie){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(b(B),V&&V.element,Y,ie)}onDragEnd(B){var V,Y;(Y=(V=this.dnd).onDragEnd)===null||Y===void 0||Y.call(V,B)}}function E(H,B){return B&&Object.assign(Object.assign({},B),{identityProvider:B.identityProvider&&{getId(V){return B.identityProvider.getId(V.element)}},dnd:B.dnd&&new w(H,B.dnd),multipleSelectionController:B.multipleSelectionController&&{isSelectionSingleChangeEvent(V){return B.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))},isSelectionRangeChangeEvent(V){return B.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))}},accessibilityProvider:B.accessibilityProvider&&Object.assign(Object.assign({},B.accessibilityProvider),{getSetSize(V){const Y=H(),ie=Y.getNodeLocation(V),ae=Y.getParentNodeLocation(ie);return Y.getNode(ae).visibleChildrenCount},getPosInSet(V){return V.visibleChildIndex+1},isChecked:B.accessibilityProvider&&B.accessibilityProvider.isChecked?V=>B.accessibilityProvider.isChecked(V.element):void 0,getRole:B.accessibilityProvider&&B.accessibilityProvider.getRole?V=>B.accessibilityProvider.getRole(V.element):()=>"treeitem",getAriaLabel(V){return B.accessibilityProvider.getAriaLabel(V.element)},getWidgetAriaLabel(){return B.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:B.accessibilityProvider&&B.accessibilityProvider.getWidgetRole?()=>B.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:B.accessibilityProvider&&B.accessibilityProvider.getAriaLevel?V=>B.accessibilityProvider.getAriaLevel(V.element):V=>V.depth,getActiveDescendantId:B.accessibilityProvider.getActiveDescendantId&&(V=>B.accessibilityProvider.getActiveDescendantId(V.element))}),keyboardNavigationLabelProvider:B.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},B.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(V){return B.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(V.element)}})})}class I{constructor(B){this.delegate=B}getHeight(B){return this.delegate.getHeight(B.element)}getTemplateId(B){return this.delegate.getTemplateId(B.element)}hasDynamicHeight(B){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(B.element)}setDynamicHeight(B,V){var Y,ie;(ie=(Y=this.delegate).setDynamicHeight)===null||ie===void 0||ie.call(Y,B.element,V)}}e.ComposedTreeDelegate=I;var M;(function(H){H.None="none",H.OnHover="onHover",H.Always="always"})(M||(e.RenderIndentGuides=M={}));class P{get elements(){return this._elements}constructor(B,V=[]){this._elements=V,this.disposables=new d.DisposableStore,this.onDidChange=c.Event.forEach(B,Y=>this._elements=Y,this.disposables)}dispose(){this.disposables.dispose()}}class x{constructor(B,V,Y,ie,ae,ce={}){var de;this.renderer=B,this.modelProvider=V,this.activeNodes=ie,this.renderedIndentGuides=ae,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=x.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=d.Disposable.None,this.disposables=new d.DisposableStore,this.templateId=B.templateId,this.updateOptions(ce),c.Event.map(Y,he=>he.node)(this.onDidChangeNodeTwistieState,this,this.disposables),(de=B.onDidChangeTwistieState)===null||de===void 0||de.call(B,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(B={}){if(typeof B.indent<"u"){const V=(0,l.clamp)(B.indent,0,40);if(V!==this.indent){this.indent=V;for(const[Y,ie]of this.renderedNodes)this.renderTreeElement(Y,ie)}}if(typeof B.renderIndentGuides<"u"){const V=B.renderIndentGuides!==M.None;if(V!==this.shouldRenderIndentGuides){this.shouldRenderIndentGuides=V;for(const[Y,ie]of this.renderedNodes)this._renderIndentGuides(Y,ie);if(this.indentGuidesDisposable.dispose(),V){const Y=new d.DisposableStore;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,Y),this.indentGuidesDisposable=Y,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}typeof B.hideTwistiesOfChildlessElements<"u"&&(this.hideTwistiesOfChildlessElements=B.hideTwistiesOfChildlessElements)}renderTemplate(B){const V=(0,L.append)(B,(0,L.$)(".monaco-tl-row")),Y=(0,L.append)(V,(0,L.$)(".monaco-tl-indent")),ie=(0,L.append)(V,(0,L.$)(".monaco-tl-twistie")),ae=(0,L.append)(V,(0,L.$)(".monaco-tl-contents")),ce=this.renderer.renderTemplate(ae);return{container:B,indent:Y,twistie:ie,indentGuidesDisposable:d.Disposable.None,templateData:ce}}renderElement(B,V,Y,ie){this.renderedNodes.set(B,Y),this.renderedElements.set(B.element,B),this.renderTreeElement(B,Y),this.renderer.renderElement(B,V,Y.templateData,ie)}disposeElement(B,V,Y,ie){var ae,ce;Y.indentGuidesDisposable.dispose(),(ce=(ae=this.renderer).disposeElement)===null||ce===void 0||ce.call(ae,B,V,Y.templateData,ie),typeof ie=="number"&&(this.renderedNodes.delete(B),this.renderedElements.delete(B.element))}disposeTemplate(B){this.renderer.disposeTemplate(B.templateData)}onDidChangeTwistieState(B){const V=this.renderedElements.get(B);V&&this.onDidChangeNodeTwistieState(V)}onDidChangeNodeTwistieState(B){const V=this.renderedNodes.get(B);V&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(B,V))}renderTreeElement(B,V){const Y=x.DefaultIndent+(B.depth-1)*this.indent;V.twistie.style.paddingLeft=`${Y}px`,V.indent.style.width=`${Y+this.indent-16}px`,B.collapsible?V.container.setAttribute("aria-expanded",String(!B.collapsed)):V.container.removeAttribute("aria-expanded"),V.twistie.classList.remove(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded));let ie=!1;this.renderer.renderTwistie&&(ie=this.renderer.renderTwistie(B.element,V.twistie)),B.collapsible&&(!this.hideTwistiesOfChildlessElements||B.visibleChildrenCount>0)?(ie||V.twistie.classList.add(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded)),V.twistie.classList.add("collapsible"),V.twistie.classList.toggle("collapsed",B.collapsed)):V.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(B,V)}_renderIndentGuides(B,V){if((0,L.clearNode)(V.indent),V.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const Y=new d.DisposableStore,ie=this.modelProvider();for(;;){const ae=ie.getNodeLocation(B),ce=ie.getParentNodeLocation(ae);if(!ce)break;const de=ie.getNode(ce),he=(0,L.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(de)&&he.classList.add("active"),V.indent.childElementCount===0?V.indent.appendChild(he):V.indent.insertBefore(he,V.indent.firstElementChild),this.renderedIndentGuides.add(de,he),Y.add((0,d.toDisposable)(()=>this.renderedIndentGuides.delete(de,he))),B=de}V.indentGuidesDisposable=Y}_onDidChangeActiveNodes(B){if(!this.shouldRenderIndentGuides)return;const V=new Set,Y=this.modelProvider();B.forEach(ie=>{const ae=Y.getNodeLocation(ie);try{const ce=Y.getParentNodeLocation(ae);ie.collapsible&&ie.children.length>0&&!ie.collapsed?V.add(ie):ce&&V.add(Y.getNode(ce))}catch{}}),this.activeIndentNodes.forEach(ie=>{V.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.remove("active"))}),V.forEach(ie=>{this.activeIndentNodes.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.add("active"))}),this.activeIndentNodes=V}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,d.dispose)(this.disposables)}}x.DefaultIndent=8;class T{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(B,V,Y){this.tree=B,this.keyboardNavigationLabelProvider=V,this._filter=Y,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new d.DisposableStore,B.onWillRefilter(this.reset,this,this.disposables)}filter(B,V){let Y=1;if(this._filter){const ce=this._filter.filter(B,V);if(typeof ce=="boolean"?Y=ce?1:0:(0,s.isFilterResult)(ce)?Y=(0,s.getVisibleState)(ce.visibility):Y=ce,Y===0)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:o.FuzzyScore.Default,visibility:Y};const ie=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(B),ae=Array.isArray(ie)?ie:[ie];for(const ce of ae){const de=ce&&ce.toString();if(typeof de>"u")return{data:o.FuzzyScore.Default,visibility:Y};let he;if(this.tree.findMatchType===W.Contiguous){const ue=de.toLowerCase().indexOf(this._lowercasePattern);if(ue>-1){he=[Number.MAX_SAFE_INTEGER,0];for(let te=this._lowercasePattern.length;te>0;te--)he.push(ue+te-1)}}else he=(0,o.fuzzyScore)(this._pattern,this._lowercasePattern,0,de,de.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(he)return this._matchCount++,ae.length===1?{data:he,visibility:Y}:{data:{label:de,score:he},visibility:Y}}return this.tree.findMode===O.Filter?typeof this.tree.options.defaultFindVisibility=="number"?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(B):2:{data:o.FuzzyScore.Default,visibility:Y}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,d.dispose)(this.disposables)}}class A extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.listFilter,title:(0,m.localize)(0,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.ModeToggle=A;class N extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.searchFuzzy,title:(0,m.localize)(1,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.FuzzyToggle=N;const F={inputBoxStyles:f.unthemedInboxStyles,toggleStyles:C.unthemedToggleStyles,listFilterWidgetBackground:void 0,listFilterWidgetNoMatchesOutline:void 0,listFilterWidgetOutline:void 0,listFilterWidgetShadow:void 0};var O;(function(H){H[H.Highlight=0]="Highlight",H[H.Filter=1]="Filter"})(O||(e.TreeFindMode=O={}));var W;(function(H){H[H.Fuzzy=0]="Fuzzy",H[H.Contiguous=1]="Contiguous"})(W||(e.TreeFindMatchType=W={}));class U extends d.Disposable{set mode(B){this.modeToggle.checked=B===O.Filter,this.findInput.inputBox.setPlaceHolder(B===O.Filter?(0,m.localize)(2,null):(0,m.localize)(3,null))}set matchType(B){this.matchTypeToggle.checked=B===W.Fuzzy}constructor(B,V,Y,ie,ae,ce){var de;super(),this.tree=V,this.elements=(0,L.h)(".monaco-tree-type-filter",[(0,L.h)(".monaco-tree-type-filter-grab.codicon.codicon-debug-gripper@grab",{tabIndex:0}),(0,L.h)(".monaco-tree-type-filter-input@findInput"),(0,L.h)(".monaco-tree-type-filter-actionbar@actionbar")]),this.width=0,this.right=0,this.top=0,this._onDidDisable=new c.Emitter,B.appendChild(this.elements.root),this._register((0,d.toDisposable)(()=>B.removeChild(this.elements.root)));const he=(de=ce?.styles)!==null&&de!==void 0?de:F;he.listFilterWidgetBackground&&(this.elements.root.style.backgroundColor=he.listFilterWidgetBackground),he.listFilterWidgetShadow&&(this.elements.root.style.boxShadow=`0 0 8px 2px ${he.listFilterWidgetShadow}`),this.modeToggle=this._register(new A(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ie===O.Filter}))),this.matchTypeToggle=this._register(new N(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ae===W.Fuzzy}))),this.onDidChangeMode=c.Event.map(this.modeToggle.onChange,()=>this.modeToggle.checked?O.Filter:O.Highlight,this._store),this.onDidChangeMatchType=c.Event.map(this.matchTypeToggle.onChange,()=>this.matchTypeToggle.checked?W.Fuzzy:W.Contiguous,this._store),this.findInput=this._register(new S.FindInput(this.elements.findInput,Y,{label:(0,m.localize)(4,null),additionalToggles:[this.modeToggle,this.matchTypeToggle],showCommonFindToggles:!1,inputBoxStyles:he.inputBoxStyles,toggleStyles:he.toggleStyles,history:ce?.history})),this.actionbar=this._register(new D.ActionBar(this.elements.actionbar)),this.mode=ie;const ue=this._register(new k.DomEmitter(this.findInput.inputBox.inputElement,"keydown")),te=this._register(c.Event.chain(ue.event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(te($=>{if($.equals(3)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.addToHistory(),this.tree.domFocus();return}if($.equals(18)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.isAtLastInHistory()||this.findInput.inputBox.isNowhereInHistory()?(this.findInput.inputBox.addToHistory(),this.tree.domFocus()):this.findInput.inputBox.showNextValue();return}if($.equals(16)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.showPreviousValue();return}}));const q=this._register(new n.Action("close",(0,m.localize)(5,null),"codicon codicon-close",!0,()=>this.dispose()));this.actionbar.push(q,{icon:!0,label:!1});const z=this._register(new k.DomEmitter(this.elements.grab,"mousedown"));this._register(z.event($=>{const re=new d.DisposableStore,oe=re.add(new k.DomEmitter(window,"mousemove")),ge=re.add(new k.DomEmitter(window,"mouseup")),ve=this.right,Se=$.pageX,Le=this.top,De=$.pageY;this.elements.grab.classList.add("grabbing");const ye=this.elements.root.style.transition;this.elements.root.style.transition="unset";const Ee=Me=>{const Pe=Me.pageX-Se;this.right=ve-Pe;const Fe=Me.pageY-De;this.top=Le+Fe,this.layout()};re.add(oe.event(Ee)),re.add(ge.event(Me=>{Ee(Me),this.elements.grab.classList.remove("grabbing"),this.elements.root.style.transition=ye,re.dispose()}))}));const ee=this._register(c.Event.chain(this._register(new k.DomEmitter(this.elements.grab,"keydown")).event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(ee($=>{let re,oe;if($.keyCode===15?re=Number.POSITIVE_INFINITY:$.keyCode===17?re=0:$.keyCode===10&&(re=this.right===0?Number.POSITIVE_INFINITY:0),$.keyCode===16?oe=0:$.keyCode===18&&(oe=Number.POSITIVE_INFINITY),re!==void 0&&($.preventDefault(),$.stopPropagation(),this.right=re,this.layout()),oe!==void 0){$.preventDefault(),$.stopPropagation(),this.top=oe;const ge=this.elements.root.style.transition;this.elements.root.style.transition="unset",this.layout(),setTimeout(()=>{this.elements.root.style.transition=ge},0)}})),this.onDidChangeValue=this.findInput.onDidChange}layout(B=this.width){this.width=B,this.right=(0,l.clamp)(this.right,0,Math.max(0,B-212)),this.elements.root.style.right=`${this.right}px`,this.top=(0,l.clamp)(this.top,0,24),this.elements.root.style.top=`${this.top}px`}showMessage(B){this.findInput.showMessage(B)}clearMessage(){this.findInput.clearMessage()}dispose(){const B=Object.create(null,{dispose:{get:()=>super.dispose}});return we(this,void 0,void 0,function*(){this._onDidDisable.fire(),this.elements.root.classList.add("disabled"),yield(0,a.timeout)(300),B.dispose.call(this)})}}class j{get pattern(){return this._pattern}get mode(){return this._mode}set mode(B){B!==this._mode&&(this._mode=B,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(B))}get matchType(){return this._matchType}set matchType(B){B!==this._matchType&&(this._matchType=B,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(B))}constructor(B,V,Y,ie,ae,ce={}){var de,he;this.tree=B,this.view=Y,this.filter=ie,this.contextViewProvider=ae,this.options=ce,this._pattern="",this.width=0,this._onDidChangeMode=new c.Emitter,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new c.Emitter,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new c.Emitter,this._onDidChangeOpenState=new c.Emitter,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new d.DisposableStore,this.disposables=new d.DisposableStore,this._mode=(de=B.options.defaultFindMode)!==null&&de!==void 0?de:O.Highlight,this._matchType=(he=B.options.defaultFindMatchType)!==null&&he!==void 0?he:W.Fuzzy,V.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(B={}){B.defaultFindMode!==void 0&&(this.mode=B.defaultFindMode),B.defaultFindMatchType!==void 0&&(this.matchType=B.defaultFindMatchType)}onDidSpliceModel(){!this.widget||this.pattern.length===0||(this.tree.refilter(),this.render())}render(){var B,V,Y,ie;const ae=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&ae?!((B=this.tree.options.showNotFoundMessage)!==null&&B!==void 0)||B?(V=this.widget)===null||V===void 0||V.showMessage({type:2,content:(0,m.localize)(6,null)}):(Y=this.widget)===null||Y===void 0||Y.showMessage({type:2}):(ie=this.widget)===null||ie===void 0||ie.clearMessage()}shouldAllowFocus(B){return!this.widget||!this.pattern||this._mode===O.Filter||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!o.FuzzyScore.isDefault(B.filterData)}layout(B){var V;this.width=B,(V=this.widget)===null||V===void 0||V.layout(B)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function R(H){let B=i.TreeMouseEventTarget.Unknown;return(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?B=i.TreeMouseEventTarget.Twistie:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?B=i.TreeMouseEventTarget.Element:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(B=i.TreeMouseEventTarget.Filter),{browserEvent:H.browserEvent,element:H.element?H.element.element:null,target:B}}function K(H,B){B(H),H.children.forEach(V=>K(V,B))}class G{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(B,V){this.getFirstViewElementWithTrait=B,this.identityProvider=V,this.nodes=[],this._onDidChange=new c.Emitter,this.onDidChange=this._onDidChange.event}set(B,V){!V?.__forceEvent&&(0,t.equals)(this.nodes,B)||this._set(B,!1,V)}_set(B,V,Y){if(this.nodes=[...B],this.elements=void 0,this._nodeSet=void 0,!V){const ie=this;this._onDidChange.fire({get elements(){return ie.get()},browserEvent:Y})}}get(){return this.elements||(this.elements=this.nodes.map(B=>B.element)),[...this.elements]}getNodes(){return this.nodes}has(B){return this.nodeSet.has(B)}onDidModelSplice({insertedNodes:B,deletedNodes:V}){if(!this.identityProvider){const he=this.createNodeSet(),ue=te=>he.delete(te);V.forEach(te=>K(te,ue)),this.set([...he.values()]);return}const Y=new Set,ie=he=>Y.add(this.identityProvider.getId(he.element).toString());V.forEach(he=>K(he,ie));const ae=new Map,ce=he=>ae.set(this.identityProvider.getId(he.element).toString(),he);B.forEach(he=>K(he,ce));const de=[];for(const he of this.nodes){const ue=this.identityProvider.getId(he.element).toString();if(!Y.has(ue))de.push(he);else{const q=ae.get(ue);q&&q.visible&&de.push(q)}}if(this.nodes.length>0&&de.length===0){const he=this.getFirstViewElementWithTrait();he&&de.push(he)}this._set(de,!0)}createNodeSet(){const B=new Set;for(const V of this.nodes)B.add(V);return B}}class Z extends g.MouseController{constructor(B,V){super(B),this.tree=V}onViewPointer(B){if((0,g.isButton)(B.browserEvent.target)||(0,g.isInputElement)(B.browserEvent.target)||(0,g.isMonacoEditor)(B.browserEvent.target)||B.browserEvent.isHandledByList)return;const V=B.element;if(!V)return super.onViewPointer(B);if(this.isSelectionRangeChangeEvent(B)||this.isSelectionSingleChangeEvent(B))return super.onViewPointer(B);const Y=B.browserEvent.target,ie=Y.classList.contains("monaco-tl-twistie")||Y.classList.contains("monaco-icon-label")&&Y.classList.contains("folder-icon")&&B.browserEvent.offsetX<16;let ae=!1;if(typeof this.tree.expandOnlyOnTwistieClick=="function"?ae=this.tree.expandOnlyOnTwistieClick(V.element):ae=!!this.tree.expandOnlyOnTwistieClick,ae&&!ie&&B.browserEvent.detail!==2)return super.onViewPointer(B);if(!this.tree.expandOnDoubleClick&&B.browserEvent.detail===2)return super.onViewPointer(B);if(V.collapsible){const ce=this.tree.getNodeLocation(V),de=B.browserEvent.altKey;if(this.tree.setFocus([ce]),this.tree.toggleCollapsed(ce,de),ae&&ie){B.browserEvent.isHandledByList=!0;return}}super.onViewPointer(B)}onDoubleClick(B){B.browserEvent.target.classList.contains("monaco-tl-twistie")||!this.tree.expandOnDoubleClick||B.browserEvent.isHandledByList||super.onDoubleClick(B)}}class J extends g.List{constructor(B,V,Y,ie,ae,ce,de,he){super(B,V,Y,ie,he),this.focusTrait=ae,this.selectionTrait=ce,this.anchorTrait=de}createMouseController(B){return new Z(this,B.tree)}splice(B,V,Y=[]){if(super.splice(B,V,Y),Y.length===0)return;const ie=[],ae=[];let ce;Y.forEach((de,he)=>{this.focusTrait.has(de)&&ie.push(B+he),this.selectionTrait.has(de)&&ae.push(B+he),this.anchorTrait.has(de)&&(ce=B+he)}),ie.length>0&&super.setFocus((0,t.distinct)([...super.getFocus(),...ie])),ae.length>0&&super.setSelection((0,t.distinct)([...super.getSelection(),...ae])),typeof ce=="number"&&super.setAnchor(ce)}setFocus(B,V,Y=!1){super.setFocus(B,V),Y||this.focusTrait.set(B.map(ie=>this.element(ie)),V)}setSelection(B,V,Y=!1){super.setSelection(B,V),Y||this.selectionTrait.set(B.map(ie=>this.element(ie)),V)}setAnchor(B,V=!1){super.setAnchor(B),V||(typeof B>"u"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(B)]))}}class X{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return c.Event.filter(c.Event.map(this.view.onMouseDblClick,R),B=>B.target!==i.TreeMouseEventTarget.Filter)}get onPointer(){return c.Event.map(this.view.onPointer,R)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return c.Event.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.mode)!==null&&V!==void 0?V:O.Highlight}set findMode(B){this.findController&&(this.findController.mode=B)}get findMatchType(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.matchType)!==null&&V!==void 0?V:W.Fuzzy}set findMatchType(B){this.findController&&(this.findController.matchType=B)}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick>"u"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick>"u"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(B,V,Y,ie,ae={}){var ce;this._user=B,this._options=ae,this.eventBufferer=new c.EventBufferer,this.onDidChangeFindOpenState=c.Event.None,this.disposables=new d.DisposableStore,this._onWillRefilter=new c.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new c.Emitter;const de=new I(Y),he=new c.Relay,ue=new c.Relay,te=this.disposables.add(new P(ue.event)),q=new r.SetMap;this.renderers=ie.map($=>new x($,()=>this.model,he.event,te,q,ae));for(const $ of this.renderers)this.disposables.add($);let z;ae.keyboardNavigationLabelProvider&&(z=new T(this,ae.keyboardNavigationLabelProvider,ae.filter),ae=Object.assign(Object.assign({},ae),{filter:z}),this.disposables.add(z)),this.focus=new G(()=>this.view.getFocusedElements()[0],ae.identityProvider),this.selection=new G(()=>this.view.getSelectedElements()[0],ae.identityProvider),this.anchor=new G(()=>this.view.getAnchorElement(),ae.identityProvider),this.view=new J(B,V,de,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},E(()=>this.model,ae)),{tree:this})),this.model=this.createModel(B,this.view,ae),he.input=this.model.onDidChangeCollapseState;const ee=c.Event.forEach(this.model.onDidSplice,$=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice($),this.selection.onDidModelSplice($)})},this.disposables);if(ee(()=>null,null,this.disposables),ue.input=c.Event.chain(c.Event.any(ee,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const $=new Set;for(const re of this.focus.getNodes())$.add(re);for(const re of this.selection.getNodes())$.add(re);return[...$.values()]}).event,ae.keyboardSupport!==!1){const $=c.Event.chain(this.view.onKeyDown).filter(re=>!(0,g.isInputElement)(re.target)).map(re=>new y.StandardKeyboardEvent(re));$.filter(re=>re.keyCode===15).on(this.onLeftArrow,this,this.disposables),$.filter(re=>re.keyCode===17).on(this.onRightArrow,this,this.disposables),$.filter(re=>re.keyCode===10).on(this.onSpace,this,this.disposables)}if((!((ce=ae.findWidgetEnabled)!==null&&ce!==void 0)||ce)&&ae.keyboardNavigationLabelProvider&&ae.contextViewProvider){const $=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new j(this,this.model,this.view,z,ae.contextViewProvider,$),this.focusNavigationFilter=re=>this.findController.shouldAllowFocus(re),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=c.Event.None,this.onDidChangeFindMatchType=c.Event.None;this.styleElement=(0,L.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}updateOptions(B={}){var V;this._options=Object.assign(Object.assign({},this._options),B);for(const Y of this.renderers)Y.updateOptions(B);this.view.updateOptions(this._options),(V=this.findController)===null||V===void 0||V.updateOptions(B),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(B){this.view.scrollTop=B}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}domFocus(){this.view.domFocus()}layout(B,V){var Y;this.view.layout(B,V),(0,p.isNumber)(V)&&((Y=this.findController)===null||Y===void 0||Y.layout(V))}style(B){const V=`.${this.view.domId}`,Y=[];B.treeIndentGuidesStroke&&(Y.push(`.monaco-list${V}:hover .monaco-tl-indent > .indent-guide, .monaco-list${V}.always .monaco-tl-indent > .indent-guide { border-color: ${B.treeInactiveIndentGuidesStroke}; }`),Y.push(`.monaco-list${V} .monaco-tl-indent > .indent-guide.active { border-color: ${B.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=Y.join(` -`),this.view.style(B)}getParentElement(B){const V=this.model.getParentNodeLocation(B);return this.model.getNode(V).element}getFirstElementChild(B){return this.model.getFirstElementChild(B)}getNode(B){return this.model.getNode(B)}getNodeLocation(B){return this.model.getNodeLocation(B)}collapse(B,V=!1){return this.model.setCollapsed(B,!0,V)}expand(B,V=!1){return this.model.setCollapsed(B,!1,V)}toggleCollapsed(B,V=!1){return this.model.setCollapsed(B,void 0,V)}isCollapsible(B){return this.model.isCollapsible(B)}setCollapsible(B,V){return this.model.setCollapsible(B,V)}isCollapsed(B){return this.model.isCollapsed(B)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.selection.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setSelection(ie,V,!0)}getSelection(){return this.selection.get()}setFocus(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.focus.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setFocus(ie,V,!0)}getFocus(){return this.focus.get()}reveal(B,V){this.model.expandTo(B);const Y=this.model.getListIndex(B);Y!==-1&&this.view.reveal(Y,V)}onLeftArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!0)){const ce=this.model.getParentNodeLocation(ie);if(!ce)return;const de=this.model.getListIndex(ce);this.view.reveal(de),this.view.setFocus([de])}}onRightArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!1)){if(!Y.children.some(he=>he.visible))return;const[ce]=this.view.getFocus(),de=ce+1;this.view.reveal(de),this.view.setFocus([de])}}onSpace(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y),ae=B.browserEvent.altKey;this.model.setCollapsed(ie,void 0,ae)}dispose(){(0,d.dispose)(this.disposables),this.view.dispose()}}e.AbstractTree=X}),define(ne[585],se([1,0,184,219]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTree=void 0;class y extends L.AbstractTree{constructor(S,f,_,g,C,s={}){super(S,f,_,g,s),this.user=S,this.dataSource=C,this.identityProvider=s.identityProvider}createModel(S,f,_){return new k.ObjectTreeModel(S,f,_)}}e.DataTree=y}),define(ne[316],se([1,0,184,568,219,106,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTree=e.ObjectTree=void 0;class f extends L.AbstractTree{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(i,n,t,a,u={}){super(i,n,t,a,u),this.user=i}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}rerender(i){if(i===void 0){this.view.rerender();return}this.model.rerender(i)}hasElement(i){return this.model.has(i)}createModel(i,n,t){return new y.ObjectTreeModel(i,n,t)}}e.ObjectTree=f;class _{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(i,n){this._compressedTreeNodeProvider=i,this.renderer=n,this.templateId=n.templateId,n.onDidChangeTwistieState&&(this.onDidChangeTwistieState=n.onDidChangeTwistieState)}renderTemplate(i){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(i)}}renderElement(i,n,t,a){const u=this.compressedTreeNodeProvider.getCompressedTreeNode(i.element);u.element.elements.length===1?(t.compressedTreeNode=void 0,this.renderer.renderElement(i,n,t.data,a)):(t.compressedTreeNode=u,this.renderer.renderCompressedElements(u,n,t.data,a))}disposeElement(i,n,t,a){var u,h,r,c;t.compressedTreeNode?(h=(u=this.renderer).disposeCompressedElements)===null||h===void 0||h.call(u,t.compressedTreeNode,n,t.data,a):(c=(r=this.renderer).disposeElement)===null||c===void 0||c.call(r,i,n,t.data,a)}disposeTemplate(i){this.renderer.disposeTemplate(i.data)}renderTwistie(i,n){return this.renderer.renderTwistie?this.renderer.renderTwistie(i,n):!1}}ke([D.memoize],_.prototype,"compressedTreeNodeProvider",null);function g(s,i){return i&&Object.assign(Object.assign({},i),{keyboardNavigationLabelProvider:i.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let t;try{t=s().getCompressedTreeNode(n)}catch{return i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return t.element.elements.length===1?i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):i.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})}class C extends f{constructor(i,n,t,a,u={}){const h=()=>this,r=a.map(c=>new _(h,c));super(i,n,t,r,g(h,u))}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}createModel(i,n,t){return new k.CompressibleObjectTreeModel(i,n,t)}updateOptions(i={}){super.updateOptions(i),typeof i.compressionEnabled<"u"&&this.model.setCompressionEnabled(i.compressionEnabled)}getCompressedTreeNode(i=null){return this.model.getCompressedTreeNode(i)}}e.CompressibleObjectTree=C}),define(ne[586],se([1,0,225,184,218,316,139,13,25,26,9,6,46,2,20]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleAsyncDataTree=e.AsyncDataTree=void 0;function a(T){return Object.assign(Object.assign({},T),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function u(T,A){return A.parent?A.parent===T?!0:u(T,A.parent):!1}function h(T,A){return T===A||u(T,A)||u(A,T)}class r{get element(){return this.node.element.element}get children(){return this.node.children.map(A=>new r(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}constructor(A){this.node=A}}class c{constructor(A,N,F){this.renderer=A,this.nodeMapper=N,this.onDidChangeTwistieState=F,this.renderedNodes=new Map,this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear()}}function o(T){return{browserEvent:T.browserEvent,elements:T.elements.map(A=>A.element)}}function d(T){return{browserEvent:T.browserEvent,element:T.element&&T.element.element,target:T.target}}class l extends L.ElementsDragAndDropData{constructor(A){super(A.elements.map(N=>N.element)),this.data=A}}function p(T){return T instanceof L.ElementsDragAndDropData?new l(T):T}class m{constructor(A){this.dnd=A}getDragURI(A){return this.dnd.getDragURI(A.element)}getDragLabel(A,N){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(A.map(F=>F.element),N)}onDragStart(A,N){var F,O;(O=(F=this.dnd).onDragStart)===null||O===void 0||O.call(F,p(A),N)}onDragOver(A,N,F,O,W=!0){return this.dnd.onDragOver(p(A),N&&N.element,F,O)}drop(A,N,F,O){this.dnd.drop(p(A),N&&N.element,F,O)}onDragEnd(A){var N,F;(F=(N=this.dnd).onDragEnd)===null||F===void 0||F.call(N,A)}}function v(T){return T&&Object.assign(Object.assign({},T),{collapseByDefault:!0,identityProvider:T.identityProvider&&{getId(A){return T.identityProvider.getId(A.element)}},dnd:T.dnd&&new m(T.dnd),multipleSelectionController:T.multipleSelectionController&&{isSelectionSingleChangeEvent(A){return T.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))},isSelectionRangeChangeEvent(A){return T.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))}},accessibilityProvider:T.accessibilityProvider&&Object.assign(Object.assign({},T.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:T.accessibilityProvider.getRole?A=>T.accessibilityProvider.getRole(A.element):()=>"treeitem",isChecked:T.accessibilityProvider.isChecked?A=>{var N;return!!(!((N=T.accessibilityProvider)===null||N===void 0)&&N.isChecked(A.element))}:void 0,getAriaLabel(A){return T.accessibilityProvider.getAriaLabel(A.element)},getWidgetAriaLabel(){return T.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:T.accessibilityProvider.getWidgetRole?()=>T.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:T.accessibilityProvider.getAriaLevel&&(A=>T.accessibilityProvider.getAriaLevel(A.element)),getActiveDescendantId:T.accessibilityProvider.getActiveDescendantId&&(A=>T.accessibilityProvider.getActiveDescendantId(A.element))}),filter:T.filter&&{filter(A,N){return T.filter.filter(A.element,N)}},keyboardNavigationLabelProvider:T.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},T.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(A){return T.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(A.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof T.expandOnlyOnTwistieClick>"u"?void 0:typeof T.expandOnlyOnTwistieClick!="function"?T.expandOnlyOnTwistieClick:A=>T.expandOnlyOnTwistieClick(A.element),defaultFindVisibility:A=>A.hasChildren&&A.stale?1:typeof T.defaultFindVisibility=="number"?T.defaultFindVisibility:typeof T.defaultFindVisibility>"u"?2:T.defaultFindVisibility(A.element)})}function b(T,A){A(T),T.children.forEach(N=>b(N,A))}class w{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return s.Event.map(this.tree.onDidChangeFocus,o)}get onDidChangeSelection(){return s.Event.map(this.tree.onDidChangeSelection,o)}get onMouseDblClick(){return s.Event.map(this.tree.onMouseDblClick,d)}get onPointer(){return s.Event.map(this.tree.onPointer,d)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}constructor(A,N,F,O,W,U={}){this.user=A,this.dataSource=W,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new s.Emitter,this._onDidChangeNodeSlowState=new s.Emitter,this.nodeMapper=new S.WeakMapper(j=>new r(j)),this.disposables=new n.DisposableStore,this.identityProvider=U.identityProvider,this.autoExpandSingleChildren=typeof U.autoExpandSingleChildren>"u"?!1:U.autoExpandSingleChildren,this.sorter=U.sorter,this.collapseByDefault=U.collapseByDefault,this.tree=this.createTree(A,N,F,O,U),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=a({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new c(K,this.nodeMapper,this._onDidChangeNodeSlowState.event)),R=v(W)||{};return new D.ObjectTree(A,N,U,j,R)}updateOptions(A={}){this.tree.updateOptions(A)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(A){this.tree.scrollTop=A}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(A,N){this.tree.layout(A,N)}style(A){this.tree.style(A)}getInput(){return this.root.element}setInput(A,N){return we(this,void 0,void 0,function*(){this.refreshPromises.forEach(O=>O.cancel()),this.refreshPromises.clear(),this.root.element=A;const F=N&&{viewState:N,focus:[],selection:[]};yield this._updateChildren(A,!0,!1,F),F&&(this.tree.setFocus(F.focus),this.tree.setSelection(F.selection)),N&&typeof N.scrollTop=="number"&&(this.scrollTop=N.scrollTop)})}_updateChildren(A=this.root.element,N=!0,F=!1,O,W){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const U=this.getDataNode(A);if(yield this.refreshAndRenderNode(U,N,O,W),F)try{this.tree.rerender(U)}catch{}})}rerender(A){if(A===void 0||A===this.root.element){this.tree.rerender();return}const N=this.getDataNode(A);this.tree.rerender(N)}getNode(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getNode(N===this.root?null:N);return this.nodeMapper.map(F)}collapse(A,N=!1){const F=this.getDataNode(A);return this.tree.collapse(F===this.root?null:F,N)}expand(A,N=!1){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const F=this.getDataNode(A);if(this.tree.hasElement(F)&&!this.tree.isCollapsible(F)||(F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),F!==this.root&&!F.refreshPromise&&!this.tree.isCollapsed(F)))return!1;const O=this.tree.expand(F===this.root?null:F,N);return F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),O})}setSelection(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setSelection(F,N)}getSelection(){return this.tree.getSelection().map(N=>N.element)}setFocus(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setFocus(F,N)}getFocus(){return this.tree.getFocus().map(N=>N.element)}reveal(A,N){this.tree.reveal(this.getDataNode(A),N)}getParentElement(A){const N=this.tree.getParentElement(this.getDataNode(A));return N&&N.element}getFirstElementChild(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getFirstElementChild(N===this.root?null:N);return F&&F.element}getDataNode(A){const N=this.nodes.get(A===this.root.element?null:A);if(!N)throw new S.TreeError(this.user,`Data tree node not found: ${A}`);return N}refreshAndRenderNode(A,N,F,O){return we(this,void 0,void 0,function*(){yield this.refreshNode(A,N,F),this.render(A,F,O)})}refreshNode(A,N,F){return we(this,void 0,void 0,function*(){let O;if(this.subTreeRefreshPromises.forEach((W,U)=>{!O&&h(U,A)&&(O=W.then(()=>this.refreshNode(A,N,F)))}),O)return O;if(A!==this.root&&this.tree.getNode(A).collapsed){A.hasChildren=!!this.dataSource.hasChildren(A.element),A.stale=!0;return}return this.doRefreshSubTree(A,N,F)})}doRefreshSubTree(A,N,F){return we(this,void 0,void 0,function*(){let O;A.refreshPromise=new Promise(W=>O=W),this.subTreeRefreshPromises.set(A,A.refreshPromise),A.refreshPromise.finally(()=>{A.refreshPromise=void 0,this.subTreeRefreshPromises.delete(A)});try{const W=yield this.doRefreshNode(A,N,F);A.stale=!1,yield f.Promises.settled(W.map(U=>this.doRefreshSubTree(U,N,F)))}finally{O()}})}doRefreshNode(A,N,F){return we(this,void 0,void 0,function*(){A.hasChildren=!!this.dataSource.hasChildren(A.element);let O;if(!A.hasChildren)O=Promise.resolve(i.Iterable.empty());else{const W=this.doGetChildren(A);if((0,t.isIterable)(W))O=Promise.resolve(W);else{const U=(0,f.timeout)(800);U.then(()=>{A.slow=!0,this._onDidChangeNodeSlowState.fire(A)},j=>null),O=W.finally(()=>U.cancel())}}try{const W=yield O;return this.setChildren(A,W,N,F)}catch(W){if(A!==this.root&&this.tree.hasElement(A)&&this.tree.collapse(A),(0,C.isCancellationError)(W))return[];throw W}finally{A.slow&&(A.slow=!1,this._onDidChangeNodeSlowState.fire(A))}})}doGetChildren(A){let N=this.refreshPromises.get(A);if(N)return N;const F=this.dataSource.getChildren(A.element);return(0,t.isIterable)(F)?this.processChildren(F):(N=(0,f.createCancelablePromise)(()=>we(this,void 0,void 0,function*(){return this.processChildren(yield F)})),this.refreshPromises.set(A,N),N.finally(()=>{this.refreshPromises.delete(A)}))}_onDidChangeCollapseState({node:A,deep:N}){A.element!==null&&!A.collapsed&&A.element.stale&&(N?this.collapse(A.element.element):this.refreshAndRenderNode(A.element,!1).catch(C.onUnexpectedError))}setChildren(A,N,F,O){const W=[...N];if(A.children.length===0&&W.length===0)return[];const U=new Map,j=new Map;for(const G of A.children)if(U.set(G.element,G),this.identityProvider){const Z=this.tree.isCollapsed(G);j.set(G.id,{node:G,collapsed:Z})}const R=[],K=W.map(G=>{const Z=!!this.dataSource.hasChildren(G);if(!this.identityProvider){const B=a({element:G,parent:A,hasChildren:Z});return Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const J=this.identityProvider.getId(G).toString(),X=j.get(J);if(X){const B=X.node;return U.delete(B.element),this.nodes.delete(B.element),this.nodes.set(G,B),B.element=G,B.hasChildren=Z,F?X.collapsed?(B.children.forEach(V=>b(V,Y=>this.nodes.delete(Y.element))),B.children.splice(0,B.children.length),B.stale=!0):R.push(B):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const H=a({element:G,parent:A,id:J,hasChildren:Z});return O&&O.viewState.focus&&O.viewState.focus.indexOf(J)>-1&&O.focus.push(H),O&&O.viewState.selection&&O.viewState.selection.indexOf(J)>-1&&O.selection.push(H),O&&O.viewState.expanded&&O.viewState.expanded.indexOf(J)>-1?R.push(H):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(H.collapsedByDefault=!1,R.push(H)),H});for(const G of U.values())b(G,Z=>this.nodes.delete(Z.element));for(const G of K)this.nodes.set(G.element,G);return A.children.splice(0,A.children.length,...K),A!==this.root&&this.autoExpandSingleChildren&&K.length===1&&R.length===0&&(K[0].collapsedByDefault=!1,R.push(K[0])),R}render(A,N,F){const O=A.children.map(U=>this.asTreeElement(U,N)),W=F&&Object.assign(Object.assign({},F),{diffIdentityProvider:F.diffIdentityProvider&&{getId(U){return F.diffIdentityProvider.getId(U.element)}}});this.tree.setChildren(A===this.root?null:A,O,W),A!==this.root&&this.tree.setCollapsible(A,A.hasChildren),this._onDidRender.fire()}asTreeElement(A,N){if(A.stale)return{element:A,collapsible:A.hasChildren,collapsed:!0};let F;return N&&N.viewState.expanded&&A.id&&N.viewState.expanded.indexOf(A.id)>-1?F=!1:F=A.collapsedByDefault,A.collapsedByDefault=void 0,{element:A,children:A.hasChildren?i.Iterable.map(A.children,O=>this.asTreeElement(O,N)):[],collapsible:A.hasChildren,collapsed:F}}processChildren(A){return this.sorter&&(A=[...A].sort(this.sorter.compare.bind(this.sorter))),A}dispose(){this.disposables.dispose()}}e.AsyncDataTree=w;class E{get element(){return{elements:this.node.element.elements.map(A=>A.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(A=>new E(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}constructor(A){this.node=A}}class I{constructor(A,N,F,O){this.renderer=A,this.nodeMapper=N,this.compressibleNodeMapperProvider=F,this.onDidChangeTwistieState=O,this.renderedNodes=new Map,this.disposables=[],this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderCompressedElements(A,N,F,O){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeCompressedElements(A,N,F,O){var W,U;(U=(W=this.renderer).disposeCompressedElements)===null||U===void 0||U.call(W,this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,n.dispose)(this.disposables)}}function M(T){const A=T&&v(T);return A&&Object.assign(Object.assign({},A),{keyboardNavigationLabelProvider:A.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},A.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(N){return T.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(N.map(F=>F.element))}})})}class P extends w{constructor(A,N,F,O,W,U,j={}){super(A,N,F,W,U,j),this.compressionDelegate=O,this.compressibleNodeMapper=new S.WeakMapper(R=>new E(R)),this.filter=j.filter}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new I(K,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),R=M(W)||{};return new D.CompressibleObjectTree(A,N,U,j,R)}asTreeElement(A,N){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(A.element)},super.asTreeElement(A,N))}updateOptions(A={}){this.tree.updateOptions(A)}render(A,N){if(!this.identityProvider)return super.render(A,N);const F=J=>this.identityProvider.getId(J).toString(),O=J=>{const X=new Set;for(const H of J){const B=this.tree.getCompressedTreeNode(H===this.root?null:H);if(B.element)for(const V of B.element.elements)X.add(F(V.element))}return X},W=O(this.tree.getSelection()),U=O(this.tree.getFocus());super.render(A,N);const j=this.getSelection();let R=!1;const K=this.getFocus();let G=!1;const Z=J=>{const X=J.element;if(X)for(let H=0;H{const F=this.filter.filter(N,1),O=x(F);if(O===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return O===1})),super.processChildren(A)}}e.CompressibleAsyncDataTree=P;function x(T){return typeof T=="boolean"?T?1:0:(0,y.isFilterResult)(T)?(0,y.getVisibleState)(T.visibility):(0,y.getVisibleState)(T)}}),define(ne[317],se([1,0,9,6,2,47,17,11]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.SimpleWorkerServer=e.SimpleWorkerClient=e.logOnceWebWorkerWarning=void 0;const _="$initialize";let g=!1;function C(p){S.isWeb&&(g||(g=!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(p.message))}e.logOnceWebWorkerWarning=C;class s{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.method=b,this.args=w,this.type=0}}class i{constructor(m,v,b,w){this.vsWorker=m,this.seq=v,this.res=b,this.err=w,this.type=1}}class n{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.eventName=b,this.arg=w,this.type=2}}class t{constructor(m,v,b){this.vsWorker=m,this.req=v,this.event=b,this.type=3}}class a{constructor(m,v){this.vsWorker=m,this.req=v,this.type=4}}class u{constructor(m){this._workerId=-1,this._handler=m,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(m){this._workerId=m}sendMessage(m,v){const b=String(++this._lastSentReq);return new Promise((w,E)=>{this._pendingReplies[b]={resolve:w,reject:E},this._send(new s(this._workerId,b,m,v))})}listen(m,v){let b=null;const w=new k.Emitter({onWillAddFirstListener:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,w),this._send(new n(this._workerId,b,m,v))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(b),this._send(new a(this._workerId,b)),b=null}});return w.event}handleMessage(m){!m||!m.vsWorker||this._workerId!==-1&&m.vsWorker!==this._workerId||this._handleMessage(m)}_handleMessage(m){switch(m.type){case 1:return this._handleReplyMessage(m);case 0:return this._handleRequestMessage(m);case 2:return this._handleSubscribeEventMessage(m);case 3:return this._handleEventMessage(m);case 4:return this._handleUnsubscribeEventMessage(m)}}_handleReplyMessage(m){if(!this._pendingReplies[m.seq]){console.warn("Got reply to unknown seq");return}const v=this._pendingReplies[m.seq];if(delete this._pendingReplies[m.seq],m.err){let b=m.err;m.err.$isError&&(b=new Error,b.name=m.err.name,b.message=m.err.message,b.stack=m.err.stack),v.reject(b);return}v.resolve(m.res)}_handleRequestMessage(m){const v=m.req;this._handler.handleMessage(m.method,m.args).then(w=>{this._send(new i(this._workerId,v,w,void 0))},w=>{w.detail instanceof Error&&(w.detail=(0,L.transformErrorForSerialization)(w.detail)),this._send(new i(this._workerId,v,void 0,(0,L.transformErrorForSerialization)(w)))})}_handleSubscribeEventMessage(m){const v=m.req,b=this._handler.handleEvent(m.eventName,m.arg)(w=>{this._send(new t(this._workerId,v,w))});this._pendingEvents.set(v,b)}_handleEventMessage(m){if(!this._pendingEmitters.has(m.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(m.req).fire(m.event)}_handleUnsubscribeEventMessage(m){if(!this._pendingEvents.has(m.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(m.req).dispose(),this._pendingEvents.delete(m.req)}_send(m){const v=[];if(m.type===0)for(let b=0;b{this._protocol.handleMessage(T)},T=>{w?.(T)})),this._protocol=new u({sendMessage:(T,A)=>{this._worker.postMessage(T,A)},handleMessage:(T,A)=>{if(typeof b[T]!="function")return Promise.reject(new Error("Missing method "+T+" on main thread host."));try{return Promise.resolve(b[T].apply(b,A))}catch(N){return Promise.reject(N)}},handleEvent:(T,A)=>{if(c(T)){const N=b[T].call(b,A);if(typeof N!="function")throw new Error(`Missing dynamic event ${T} on main thread host.`);return N}if(r(T)){const N=b[T];if(typeof N!="function")throw new Error(`Missing event ${T} on main thread host.`);return N}throw new Error(`Malformed event name ${T}`)}}),this._protocol.setWorkerId(this._worker.getId());let E=null;const I=globalThis.require;typeof I<"u"&&typeof I.getConfig=="function"?E=I.getConfig():typeof globalThis.requirejs<"u"&&(E=globalThis.requirejs.s.contexts._.config);const M=(0,D.getAllMethodNames)(b);this._onModuleLoaded=this._protocol.sendMessage(_,[this._worker.getId(),JSON.parse(JSON.stringify(E)),v,M]);const P=(T,A)=>this._request(T,A),x=(T,A)=>this._protocol.listen(T,A);this._lazyProxy=new Promise((T,A)=>{w=A,this._onModuleLoaded.then(N=>{T(o(N,P,x))},N=>{A(N),this._onError("Worker failed to load "+v,N)})})}getProxyObject(){return this._lazyProxy}_request(m,v){return new Promise((b,w)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(m,v).then(b,w)},w)})}_onError(m,v){console.error(m),console.info(v)}}e.SimpleWorkerClient=h;function r(p){return p[0]==="o"&&p[1]==="n"&&f.isUpperAsciiLetter(p.charCodeAt(2))}function c(p){return/^onDynamic/.test(p)&&f.isUpperAsciiLetter(p.charCodeAt(9))}function o(p,m,v){const b=I=>function(){const M=Array.prototype.slice.call(arguments,0);return m(I,M)},w=I=>function(M){return v(I,M)},E={};for(const I of p){if(c(I)){E[I]=w(I);continue}if(r(I)){E[I]=v(I,void 0);continue}E[I]=b(I)}return E}class d{constructor(m,v){this._requestHandlerFactory=v,this._requestHandler=null,this._protocol=new u({sendMessage:(b,w)=>{m(b,w)},handleMessage:(b,w)=>this._handleMessage(b,w),handleEvent:(b,w)=>this._handleEvent(b,w)})}onmessage(m){this._protocol.handleMessage(m)}_handleMessage(m,v){if(m===_)return this.initialize(v[0],v[1],v[2],v[3]);if(!this._requestHandler||typeof this._requestHandler[m]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+m));try{return Promise.resolve(this._requestHandler[m].apply(this._requestHandler,v))}catch(b){return Promise.reject(b)}}_handleEvent(m,v){if(!this._requestHandler)throw new Error("Missing requestHandler");if(c(m)){const b=this._requestHandler[m].call(this._requestHandler,v);if(typeof b!="function")throw new Error(`Missing dynamic event ${m} on request handler.`);return b}if(r(m)){const b=this._requestHandler[m];if(typeof b!="function")throw new Error(`Missing event ${m} on request handler.`);return b}throw new Error(`Malformed event name ${m}`)}initialize(m,v,b,w){this._protocol.setWorkerId(m);const M=o(w,(P,x)=>this._protocol.sendMessage(P,x),(P,x)=>this._protocol.listen(P,x));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(M),Promise.resolve((0,D.getAllMethodNames)(this._requestHandler))):(v&&(typeof v.baseUrl<"u"&&delete v.baseUrl,typeof v.paths<"u"&&typeof v.paths.vs<"u"&&delete v.paths.vs,typeof v.trustedTypesPolicy!==void 0&&delete v.trustedTypesPolicy,v.catchError=!0,globalThis.require.config(v)),new Promise((P,x)=>{(globalThis.require||Q)([b],A=>{if(this._requestHandler=A.create(M),!this._requestHandler){x(new Error("No RequestHandler!"));return}P((0,D.getAllMethodNames)(this._requestHandler))},x)}))}}e.SimpleWorkerServer=d;function l(p){return new d(p,null)}e.create=l}),define(ne[587],se([1,0,89,9,54,317]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultWorkerFactory=e.getWorkerBootstrapUrl=void 0;const S=(0,L.createTrustedTypesPolicy)("defaultWorkerFactory",{createScriptURL:i=>i});function f(i){const n=globalThis.MonacoEnvironment;if(n){if(typeof n.getWorker=="function")return n.getWorker("workerMain.js",i);if(typeof n.getWorkerUrl=="function"){const t=n.getWorkerUrl("workerMain.js",i);return new Worker(S?S.createScriptURL(t):t,{name:i})}}if(typeof Q=="function"){const t=Q.toUrl("vs/base/worker/workerMain.js"),a=_(t,i);return new Worker(S?S.createScriptURL(a):a,{name:i})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function _(i,n){if(/^((http:)|(https:)|(file:))/.test(i)&&i.substring(0,globalThis.origin.length)!==globalThis.origin){const r="vs/base/worker/defaultWorkerFactory.js",c=Q.toUrl(r).slice(0,-r.length),o=`/*${n}*/globalThis.MonacoEnvironment={baseUrl: '${c}'};const ttPolicy = globalThis.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });importScripts(ttPolicy?.createScriptURL('${i}') ?? '${i}');/*${n}*/`,d=new Blob([o],{type:"application/javascript"});return URL.createObjectURL(d)}const t=i.lastIndexOf("?"),a=i.lastIndexOf("#",t),u=t>0?new URLSearchParams(i.substring(t+1,~a?a:void 0)):new URLSearchParams;return y.COI.addSearchParam(u,!0,!0),u.toString()?`${i}?${u.toString()}#${n}`:`${i}#${n}`}e.getWorkerBootstrapUrl=_;function g(i){return typeof i.then=="function"}class C{constructor(n,t,a,u,h){this.id=t,this.label=a;const r=f(a);g(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(n,[]),this.worker.then(c=>{c.onmessage=function(o){u(o.data)},c.onmessageerror=h,typeof c.addEventListener=="function"&&c.addEventListener("error",h)})}getId(){return this.id}postMessage(n,t){var a;(a=this.worker)===null||a===void 0||a.then(u=>{try{u.postMessage(n,t)}catch(h){(0,k.onUnexpectedError)(h),(0,k.onUnexpectedError)(new Error(`FAILED to post message to '${this.label}'-worker`,{cause:h}))}})}dispose(){var n;(n=this.worker)===null||n===void 0||n.then(t=>t.terminate()),this.worker=null}}class s{constructor(n){this._label=n,this._webWorkerFailedBeforeError=!1}create(n,t,a){const u=++s.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new C(n,u,this._label||"anonymous"+u,t,h=>{(0,D.logOnceWebWorkerWarning)(h),this._webWorkerFailedBeforeError=h,a(h)})}}e.DefaultWorkerFactory=s,s.LAST_WORKER_ID=0}),define(ne[588],se([1,0,13,6,2,221,20]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageDatabase=e.Storage=e.StorageState=e.StorageHint=void 0;var f;(function(s){s[s.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",s[s.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY"})(f||(e.StorageHint=f={}));var _;(function(s){s[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed"})(_||(e.StorageState=_={}));class g extends y.Disposable{constructor(i,n=Object.create(null)){super(),this.database=i,this.options=n,this._onDidChangeStorage=this._register(new k.PauseableEmitter),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=_.None,this.cache=new Map,this.flushDelayer=new L.ThrottledDelayer(g.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(i=>this.onDidChangeItemsExternal(i)))}onDidChangeItemsExternal(i){var n,t;this._onDidChangeStorage.pause();try{(n=i.changed)===null||n===void 0||n.forEach((a,u)=>this.acceptExternal(u,a)),(t=i.deleted)===null||t===void 0||t.forEach(a=>this.acceptExternal(a,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(i,n){if(this.state===_.Closed)return;let t=!1;(0,S.isUndefinedOrNull)(n)?t=this.cache.delete(i):this.cache.get(i)!==n&&(this.cache.set(i,n),t=!0),t&&this._onDidChangeStorage.fire({key:i,external:!0})}get(i,n){const t=this.cache.get(i);return(0,S.isUndefinedOrNull)(t)?n:t}getBoolean(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:t==="true"}getNumber(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:parseInt(t,10)}set(i,n,t=!1){return we(this,void 0,void 0,function*(){if(this.state===_.Closed)return;if((0,S.isUndefinedOrNull)(n))return this.delete(i,t);const a=(0,S.isObject)(n)||Array.isArray(n)?(0,D.stringify)(n):String(n);if(this.cache.get(i)!==a)return this.cache.set(i,a),this.pendingInserts.set(i,a),this.pendingDeletes.delete(i),this._onDidChangeStorage.fire({key:i,external:t}),this.doFlush()})}delete(i,n=!1){return we(this,void 0,void 0,function*(){if(!(this.state===_.Closed||!this.cache.delete(i)))return this.pendingDeletes.has(i)||this.pendingDeletes.add(i),this.pendingInserts.delete(i),this._onDidChangeStorage.fire({key:i,external:n}),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 i={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(i).finally(()=>{var n;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(n=this.whenFlushedCallbacks.pop())===null||n===void 0||n()})})}doFlush(i){return we(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),i)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}e.Storage=g,g.DEFAULT_FLUSH_DELAY=100;class C{constructor(){this.onDidChangeItemsExternal=k.Event.None,this.items=new Map}updateItems(i){var n,t;return we(this,void 0,void 0,function*(){(n=i.insert)===null||n===void 0||n.forEach((a,u)=>this.items.set(u,a)),(t=i.delete)===null||t===void 0||t.forEach(a=>this.items.delete(a))})}}e.InMemoryStorageDatabase=C}),define(ne[185],se([1,0,52,7,81,44,260,13,6,2,107,11,273,24]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaWrapper=e.ClipboardEventUtils=e.TextAreaInput=e.InMemoryClipboardMetadataManager=e.CopyOptions=e.TextAreaSyntethicEvents=void 0;var t;(function(c){c.Tap="-monaco-textarea-synthetic-tap"})(t||(e.TextAreaSyntethicEvents=t={})),e.CopyOptions={forceCopyWithSyntaxHighlighting:!1};class a{constructor(){this._lastState=null}set(o,d){this._lastState={lastCopiedValue:o,data:d}}get(o){return this._lastState&&this._lastState.lastCopiedValue===o?this._lastState.data:(this._lastState=null,null)}}e.InMemoryClipboardMetadataManager=a,a.INSTANCE=new a;class u{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(o){o=o||"";const d={text:o,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=o.length,d}}class h extends g.Disposable{get textAreaState(){return this._textAreaState}constructor(o,d,l,p){super(),this._host=o,this._textArea=d,this._OS=l,this._browser=p,this._onFocus=this._register(new _.Emitter),this.onFocus=this._onFocus.event,this._onBlur=this._register(new _.Emitter),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new _.Emitter),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new _.Emitter),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new _.Emitter),this.onCut=this._onCut.event,this._onPaste=this._register(new _.Emitter),this.onPaste=this._onPaste.event,this._onType=this._register(new _.Emitter),this.onType=this._onType.event,this._onCompositionStart=this._register(new _.Emitter),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new _.Emitter),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new _.Emitter),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new _.Emitter),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new f.RunOnceScheduler(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new f.RunOnceScheduler(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=i.TextAreaState.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let m=null;this._register(this._textArea.onKeyDown(v=>{const b=new D.StandardKeyboardEvent(v);(b.keyCode===114||this._currentComposition&&b.keyCode===1)&&b.stopPropagation(),b.equals(9)&&b.preventDefault(),m=b,this._onKeyDown.fire(b)})),this._register(this._textArea.onKeyUp(v=>{const b=new D.StandardKeyboardEvent(v);this._onKeyUp.fire(b)})),this._register(this._textArea.onCompositionStart(v=>{i._debugComposition&&console.log("[compositionstart]",v);const b=new u;if(this._currentComposition){this._currentComposition=b;return}if(this._currentComposition=b,this._OS===2&&m&&m.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===v.data&&(m.code==="ArrowRight"||m.code==="ArrowLeft")){i._debugComposition&&console.log("[compositionstart] Handling long press case on macOS + arrow key",v),b.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=>{i._debugComposition&&console.log("[compositionupdate]",v);const b=this._currentComposition;if(!b)return;if(this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionUpdate.fire(v);return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionUpdate.fire(v)})),this._register(this._textArea.onCompositionEnd(v=>{i._debugComposition&&console.log("[compositionend]",v);const b=this._currentComposition;if(!b)return;if(this._currentComposition=null,this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionEnd.fire();return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(v=>{if(i._debugComposition&&console.log("[input]",v),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const b=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),w=i.TextAreaState.deduceInput(this._textAreaState,b,this._OS===2);w.replacePrevCharCnt===0&&w.text.length===1&&(s.isHighSurrogate(w.text.charCodeAt(0))||w.text.charCodeAt(0)===127)||(this._textAreaState=b,(w.text!==""||w.replacePrevCharCnt!==0||w.replaceNextCharCnt!==0||w.positionDelta!==0)&&this._onType.fire(w))})),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[b,w]=e.ClipboardEventUtils.getTextData(v.clipboardData);b&&(w=w||a.INSTANCE.get(b),this._onPaste.fire({text:b,metadata:w}))})),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 o=0;return k.addDisposableListener(document,"selectionchange",d=>{if(S.inputLatency.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const l=Date.now(),p=l-o;if(o=l,p<5)return;const m=l-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),m<100||!this._textAreaState.selection)return;const v=this._textArea.getValue();if(this._textAreaState.value!==v)return;const b=this._textArea.getSelectionStart(),w=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===b&&this._textAreaState.selectionEnd===w)return;const E=this._textAreaState.deduceEditorPosition(b),I=this._host.deduceModelPosition(E[0],E[1],E[2]),M=this._textAreaState.deduceEditorPosition(w),P=this._host.deduceModelPosition(M[0],M[1],M[2]),x=new n.Selection(I.lineNumber,I.column,P.lineNumber,P.column);this._onSelectionChangeRequest.fire(x)})}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(o){this._hasFocus!==o&&(this._hasFocus=o,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(o,d){this._hasFocus||(d=d.collapseSelection()),d.writeToTextArea(o,this._textArea,this._hasFocus),this._textAreaState=d}writeScreenReaderContent(o){this._currentComposition||this._setAndWriteTextAreaState(o,this._host.getScreenReaderContent())}_ensureClipboardGetsEditorSelection(o){const d=this._host.getDataToCopy(),l={version:1,isFromEmptySelection:d.isFromEmptySelection,multicursorText:d.multicursorText,mode:d.mode};a.INSTANCE.set(this._browser.isFirefox?d.text.replace(/\r\n/g,` -`):d.text,l),o.preventDefault(),o.clipboardData&&e.ClipboardEventUtils.setTextData(o.clipboardData,d.text,d.html,l)}}e.TextAreaInput=h,e.ClipboardEventUtils={getTextData(c){const o=c.getData(C.Mimes.text);let d=null;const l=c.getData("vscode-editor-data");if(typeof l=="string")try{d=JSON.parse(l),d.version!==1&&(d=null)}catch{}return o.length===0&&d===null&&c.files.length>0?[Array.prototype.slice.call(c.files,0).map(m=>m.name).join(` -`),null]:[o,d]},setTextData(c,o,d,l){c.setData(C.Mimes.text,o),typeof d=="string"&&c.setData("text/html",d),c.setData("vscode-editor-data",JSON.stringify(l))}};class r extends g.Disposable{constructor(o){super(),this._actual=o,this.onKeyDown=this._register(new y.DomEmitter(this._actual,"keydown")).event,this.onKeyUp=this._register(new y.DomEmitter(this._actual,"keyup")).event,this.onCompositionStart=this._register(new y.DomEmitter(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new y.DomEmitter(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new y.DomEmitter(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new y.DomEmitter(this._actual,"beforeinput")).event,this.onInput=this._register(new y.DomEmitter(this._actual,"input")).event,this.onCut=this._register(new y.DomEmitter(this._actual,"cut")).event,this.onCopy=this._register(new y.DomEmitter(this._actual,"copy")).event,this.onPaste=this._register(new y.DomEmitter(this._actual,"paste")).event,this.onFocus=this._register(new y.DomEmitter(this._actual,"focus")).event,this.onBlur=this._register(new y.DomEmitter(this._actual,"blur")).event,this._onSyntheticTap=this._register(new _.Emitter),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>S.inputLatency.onKeyDown())),this._register(this.onBeforeInput(()=>S.inputLatency.onBeforeInput())),this._register(this.onInput(()=>S.inputLatency.onInput())),this._register(this.onKeyUp(()=>S.inputLatency.onKeyUp())),this._register(k.addDisposableListener(this._actual,t.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const o=k.getShadowRoot(this._actual);return o?o.activeElement===this._actual:k.isInDOM(this._actual)?document.activeElement===this._actual:!1}setIgnoreSelectionChangeTime(o){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(o,d){const l=this._actual;l.value!==d&&(this.setIgnoreSelectionChangeTime("setValue"),l.value=d)}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(o,d,l){const p=this._actual;let m=null;const v=k.getShadowRoot(p);v?m=v.activeElement:m=document.activeElement;const b=m===p,w=p.selectionStart,E=p.selectionEnd;if(b&&w===d&&E===l){L.isFirefox&&window.parent!==window&&p.focus();return}if(b){this.setIgnoreSelectionChangeTime("setSelectionRange"),p.setSelectionRange(d,l),L.isFirefox&&window.parent!==window&&p.focus();return}try{const I=k.saveParentsScrollTop(p);this.setIgnoreSelectionChangeTime("setSelectionRange"),p.focus(),p.setSelectionRange(d,l),k.restoreParentsScrollTop(p,I)}catch{}}}e.TextAreaWrapper=r}),define(ne[589],se([1,0,7,35,53]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContentWidgets=void 0;class D extends y.ViewPart{constructor(i,n){super(i),this._viewDomNode=n,this._widgets={},this.domNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onConfigurationChanged(i);return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLineMappingChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesDeleted(i){return this._updateAnchorsViewPositions(),!0}onLinesInserted(i){return this._updateAnchorsViewPositions(),!0}onScrollChanged(i){return!0}onZonesChanged(i){return!0}_updateAnchorsViewPositions(){const i=Object.keys(this._widgets);for(const n of i)this._widgets[n].updateAnchorViewPosition()}addWidget(i){const n=new S(this._context,this._viewDomNode,i);this._widgets[n.id]=n,n.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(n.domNode):this.domNode.appendChild(n.domNode),this.setShouldRender()}setWidgetPosition(i,n,t,a,u){this._widgets[i.getId()].setPosition(n,t,a,u),this.setShouldRender()}removeWidget(i){const n=i.getId();if(this._widgets.hasOwnProperty(n)){const t=this._widgets[n];delete this._widgets[n];const a=t.domNode.domNode;a.parentNode.removeChild(a),a.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(i){return this._widgets.hasOwnProperty(i)?this._widgets[i].suppressMouseDown:!1}onBeforeRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onBeforeRender(i)}prepareRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].prepareRender(i)}render(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].render(i)}}e.ViewContentWidgets=D;class S{constructor(i,n,t){this._primaryAnchor=new f(null,null),this._secondaryAnchor=new f(null,null),this._context=i,this._viewDomNode=n,this._actual=t,this.domNode=(0,k.createFastDomNode)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const a=this._context.configuration.options,u=a.get(142);this._fixedOverflowWidgets=a.get(41),this._contentWidth=u.contentWidth,this._contentLeft=u.contentLeft,this._lineHeight=a.get(65),this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(i){const n=this._context.configuration.options;if(this._lineHeight=n.get(65),i.hasChanged(142)){const t=n.get(142);this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._maxWidth=this._getMaxWidth()}}updateAnchorViewPosition(){this._setPosition(this._affinity,this._primaryAnchor.modelPosition,this._secondaryAnchor.modelPosition)}_setPosition(i,n,t){this._affinity=i,this._primaryAnchor=a(n,this._context.viewModel,this._affinity),this._secondaryAnchor=a(t,this._context.viewModel,this._affinity);function a(u,h,r){if(!u)return new f(null,null);const c=h.model.validatePosition(u);if(h.coordinatesConverter.modelPositionIsVisible(c)){const o=h.coordinatesConverter.convertModelPositionToViewPosition(c,r??void 0);return new f(u,o)}return new f(u,null)}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(i,n,t,a){this._setPosition(a,i,n),this._preference=t,this._primaryAnchor.viewPosition&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(i,n,t,a){const u=i.top,h=u,r=i.top+i.height,c=a.viewportHeight-r,o=u-t,d=h>=t,l=r,p=c>=t;let m=i.left;return m+n>a.scrollLeft+a.viewportWidth&&(m=a.scrollLeft+a.viewportWidth-n),mc){const d=o-(c-a);o-=d,t-=d}if(o=m,w=o+t<=d.height-v;return this._fixedOverflowWidgets?{fitsAbove:b,aboveTop:Math.max(c,m),fitsBelow:w,belowTop:o,left:p}:{fitsAbove:b,aboveTop:u,fitsBelow:w,belowTop:h,left:l}}_prepareRenderWidgetAtExactPositionOverflowing(i){return new _(i.top,i.left+this._contentLeft)}_getAnchorsCoordinates(i){var n,t;const a=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),u=((n=this._secondaryAnchor.viewPosition)===null||n===void 0?void 0:n.lineNumber)===((t=this._primaryAnchor.viewPosition)===null||t===void 0?void 0:t.lineNumber)?this._secondaryAnchor.viewPosition:null,h=r(u,this._affinity,this._lineHeight);return{primary:a,secondary:h};function r(c,o,d){if(!c)return null;const l=i.visibleRangeForPosition(c);if(!l)return null;const p=c.column===1&&o===3?0:l.left,m=i.getVerticalOffsetForLineNumber(c.lineNumber)-i.scrollTop;return new g(m,p,d)}}_reduceAnchorCoordinates(i,n,t){if(!n)return i;const a=this._context.configuration.options.get(49);let u=n.left;return ui.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}prepareRender(i){this._renderData=this._prepareRenderWidget(i)}render(i){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+i.scrollTop-i.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,this._renderData.position)}}class f{constructor(i,n){this.modelPosition=i,this.viewPosition=n}}class _{constructor(i,n){this.top=i,this.left=n,this._coordinateBrand=void 0}}class g{constructor(i,n,t){this.top=i,this.left=n,this.height=t,this._anchorCoordinateBrand=void 0}}function C(s,i,...n){try{return s.call(i,...n)}catch{return null}}}),define(ne[590],se([1,0,130,2,42]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorSash=void 0;class D extends k.Disposable{constructor(f,_,g){super(),this._options=f,this._domNode=_,this._dimensions=g,this._sashRatio=(0,y.observableValue)("sashRatio",void 0),this.sashLeft=(0,y.derived)(C=>{var s;const i=(s=this._sashRatio.read(C))!==null&&s!==void 0?s:this._options.splitViewDefaultRatio.read(C);return this._computeSashLeft(i,C)}),this._sash=this._register(new L.Sash(this._domNode,{getVerticalSashTop:C=>0,getVerticalSashLeft:C=>this.sashLeft.get(),getVerticalSashHeight:C=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(C=>{const s=this._dimensions.width.get(),i=this._computeSashLeft((this._startSashPosition+(C.currentX-C.startX))/s,void 0);this._sashRatio.set(i/s,void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._sashRatio.set(void 0,void 0))),this._register((0,y.autorun)(C=>{const s=this._options.enableSplitViewResizing.read(C);this._sash.state=s?3:0,this.sashLeft.read(C),this._sash.layout()}))}setBoundarySashes(f){this._sash.orthogonalEndSash=f.bottom}_computeSashLeft(f,_){const g=this._dimensions.width.read(_),C=Math.floor(this._options.splitViewDefaultRatio.read(_)*g),s=this._options.enableSplitViewResizing.read(_)?Math.floor(f*g):C,i=100;return g<=i*2?C:sg-i?g-i:s}}e.DiffEditorSash=D}),define(ne[318],se([1,0,13,19,2,42,102,66,276,109,179,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRegion=e.DiffMapping=e.DiffState=e.DiffEditorViewModel=void 0;class i extends y.Disposable{setActiveMovedText(c){this._activeMovedText.set(c,void 0)}constructor(c,o,d){super(),this.model=c,this._options=o,this._isDiffUpToDate=(0,D.observableValue)("isDiffUpToDate",!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,D.observableValue)("diff",void 0),this.diff=this._diff,this._unchangedRegions=(0,D.observableValue)("unchangedRegion",{regions:[],originalDecorationIds:[],modifiedDecorationIds:[]}),this.unchangedRegions=(0,D.derived)(b=>this._options.hideUnchangedRegions.read(b)?this._unchangedRegions.read(b).regions:((0,D.transaction)(w=>{for(const E of this._unchangedRegions.get().regions)E.collapseAll(w)}),[])),this.movedTextToCompare=(0,D.observableValue)("movedTextToCompare",void 0),this._activeMovedText=(0,D.observableValue)("activeMovedText",void 0),this._hoveredMovedText=(0,D.observableValue)("hoveredMovedText",void 0),this.activeMovedText=(0,D.derived)(b=>{var w,E;return(E=(w=this.movedTextToCompare.read(b))!==null&&w!==void 0?w:this._hoveredMovedText.read(b))!==null&&E!==void 0?E:this._activeMovedText.read(b)}),this._cancellationTokenSource=new k.CancellationTokenSource,this._register((0,y.toDisposable)(()=>this._cancellationTokenSource.cancel()));const l=(0,D.observableSignal)("contentChangedSignal"),p=this._register(new L.RunOnceScheduler(()=>l.trigger(void 0),200)),m=(b,w,E)=>{const I=a.fromDiffs(b.changes,c.original.getLineCount(),c.modified.getLineCount(),this._options.hideUnchangedRegionsminimumLineCount.read(E),this._options.hideUnchangedRegionsContextLineCount.read(E)),M=this._unchangedRegions.get(),P=M.originalDecorationIds.map(N=>c.original.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),x=M.modifiedDecorationIds.map(N=>c.modified.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),T=c.original.deltaDecorations(M.originalDecorationIds,I.map(N=>({range:N.originalRange.toInclusiveRange(),options:{description:"unchanged"}}))),A=c.modified.deltaDecorations(M.modifiedDecorationIds,I.map(N=>({range:N.modifiedRange.toInclusiveRange(),options:{description:"unchanged"}})));for(const N of I)for(let F=0;F{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()})),this._register(c.original.onDidChangeContent(b=>{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()}));const v=(0,D.observableSignalFromEvent)("documentDiffProviderOptionChanged",d.onDidChange);this._register((0,D.autorunWithStore)((b,w)=>we(this,void 0,void 0,function*(){var E,I;this._options.hideUnchangedRegionsminimumLineCount.read(b),this._options.hideUnchangedRegionsContextLineCount.read(b),p.cancel(),l.read(b),v.read(b),(0,S.readHotReloadableExport)(_.AdvancedLinesDiffComputer,b),this._isDiffUpToDate.set(!1,void 0);let M=[];w.add(c.original.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);M=(0,s.combineTextEditInfos)(M,A)}));let P=[];w.add(c.modified.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);P=(0,s.combineTextEditInfos)(P,A)}));let x=yield d.computeDiff(c.original,c.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(b),maxComputationTimeMs:this._options.maxComputationTimeMs.read(b),computeMoves:this._options.showMoves.read(b)},this._cancellationTokenSource.token);this._cancellationTokenSource.token.isCancellationRequested||(x=(E=(c.original,c.modified,void 0))!==null&&E!==void 0?E:x,x=(I=(c.original,c.modified,void 0))!==null&&I!==void 0?I:x,(0,D.transaction)(T=>{m(x,T),this._lastDiff=x;const A=n.fromDiffResult(x);this._diff.set(A,T),this._isDiffUpToDate.set(!0,T);const N=this.movedTextToCompare.get();this.movedTextToCompare.set(N?this._lastDiff.moves.find(F=>F.lineRangeMapping.modified.intersect(N.lineRangeMapping.modified)):void 0,T)}))})))}ensureModifiedLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenModifiedRange(void 0).contains(c)){p.showModifiedLine(c,o);return}}ensureOriginalLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenOriginalRange(void 0).contains(c)){p.showOriginalLine(c,o);return}}waitForDiff(){return we(this,void 0,void 0,function*(){yield(0,D.waitForState)(this.isDiffUpToDate,c=>c)})}serializeState(){return{collapsedRegions:this._unchangedRegions.get().regions.map(o=>({range:o.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(c){const o=c.collapsedRegions.map(l=>f.LineRange.deserialize(l.range)),d=this._unchangedRegions.get();(0,D.transaction)(l=>{for(const p of d.regions)for(const m of o)if(p.modifiedRange.intersect(m)){p.setHiddenModifiedRange(m,l);break}})}}e.DiffEditorViewModel=i;class n{static fromDiffResult(c){return new n(c.changes.map(o=>new t(o)),c.moves||[],c.identical,c.quitEarly)}constructor(c,o,d,l){this.mappings=c,this.movedTexts=o,this.identical=d,this.quitEarly=l}}e.DiffState=n;class t{constructor(c){this.lineRangeMapping=c}}e.DiffMapping=t;class a{static fromDiffs(c,o,d,l,p){const m=g.LineRangeMapping.inverse(c,o,d),v=[];for(const b of m){let w=b.originalRange.startLineNumber,E=b.modifiedRange.startLineNumber,I=b.originalRange.length;const M=w===1&&E===1,P=w+I===o+1&&E+I===d+1;(M||P)&&I>=p+l?(M&&!P&&(I-=p),P&&!M&&(w+=p,E+=p,I-=p),v.push(new a(w,E,I,0,0))):I>=p*2+l&&(w+=p,E+=p,I-=p*2,v.push(new a(w,E,I,0,0)))}return v}get originalRange(){return f.LineRange.ofLength(this.originalLineNumber,this.lineCount)}get modifiedRange(){return f.LineRange.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(c,o,d,l,p){this.originalLineNumber=c,this.modifiedLineNumber=o,this.lineCount=d,this._visibleLineCountTop=(0,D.observableValue)("visibleLineCountTop",0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,D.observableValue)("visibleLineCountBottom",0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,D.derived)(m=>this.visibleLineCountTop.read(m)+this.visibleLineCountBottom.read(m)===this.lineCount&&!this.isDragged.read(m)),this.isDragged=(0,D.observableValue)("isDragged",!1),this._visibleLineCountTop.set(l,void 0),this._visibleLineCountBottom.set(p,void 0)}shouldHideControls(c){return this._shouldHideControls.read(c)}getHiddenOriginalRange(c){return f.LineRange.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}getHiddenModifiedRange(c){return f.LineRange.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}setHiddenModifiedRange(c,o){const d=c.startLineNumber-this.modifiedLineNumber,l=this.modifiedLineNumber+this.lineCount-c.endLineNumberExclusive;this.setState(d,l,o)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(c=10,o){const d=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+c,d),o)}showMoreBelow(c=10,o){const d=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+c,d),o)}showAll(c){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),c)}showModifiedLine(c,o){const d=c+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),l=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-c;d0&&(h[0]===65279||h[0]===65534)?i(t,a,u):S().decode(h)}e.decodeUTF16LE=s;function i(t,a,u){const h=[];let r=0;for(let c=0;c=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=a;return}for(let h=0;ha});class g{static create(){return new g}constructor(){}createLineBreaksComputer(u,h,r,c,o){const d=[],l=[];return{addRequest:(p,m,v)=>{d.push(p),l.push(m)},finalize:()=>C(d,u,h,r,c,o,l)}}}e.DOMLineBreaksComputerFactory=g;function C(a,u,h,r,c,o,d){var l;function p(j){const R=d[j];if(R){const K=f.LineInjectedText.applyInjectedText(a[j],R),G=R.map(J=>J.options),Z=R.map(J=>J.column-1);return new S.ModelLineProjectionData(Z,G,[K.length],[],0)}else return null}if(r===-1){const j=[];for(let R=0,K=a.length;Rm?(K=0,G=0):Z=m-H}const J=R.substr(K),X=s(J,G,h,Z,I,w);M[j]=K,P[j]=G,x[j]=J,T[j]=X[0],A[j]=X[1]}const N=I.build(),F=(l=_?.createHTML(N))!==null&&l!==void 0?l:N;E.innerHTML=F,E.style.position="absolute",E.style.top="10000",o==="keepAll"?(E.style.wordBreak="keep-all",E.style.overflowWrap="anywhere"):(E.style.wordBreak="inherit",E.style.overflowWrap="break-word"),document.body.appendChild(E);const O=document.createRange(),W=Array.prototype.slice.call(E.children,0),U=[];for(let j=0;jY.options),B=V.map(Y=>Y.column-1)):(H=null,B=null),U[j]=new S.ModelLineProjectionData(B,H,K,X,Z)}return document.body.removeChild(E),U}function s(a,u,h,r,c,o){if(o!==0){const w=String(o);c.appendString('
    ');const d=a.length;let l=u,p=0;const m=[],v=[];let b=0");for(let w=0;w"),m[w]=p,v[w]=l;const E=b;b=w+1"),m[a.length]=p,v[a.length]=l,c.appendString("
    "),[m,v]}function i(a,u,h,r){if(h.length<=1)return null;const c=Array.prototype.slice.call(u.children,0),o=[];try{n(a,c,r,0,null,h.length-1,null,o)}catch(d){return console.log(d),null}return o.length===0?null:(o.push(h.length),o)}function n(a,u,h,r,c,o,d,l){if(r===o||(c=c||t(a,u,h[r],h[r+1]),d=d||t(a,u,h[o],h[o+1]),Math.abs(c[0].top-d[0].top)<=.1))return;if(r+1===o){l.push(o);return}const p=r+(o-r)/2|0,m=t(a,u,h[p],h[p+1]);n(a,u,h,r,c,p,m,l),n(a,u,h,p,m,o,d,l)}function t(a,u,h,r){return a.setStart(u[h/16384|0].firstChild,h%16384),a.setEnd(u[r/16384|0].firstChild,r%16384),a.getClientRects()}}),define(ne[229],se([1,0,35,89,9,93]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleLinesCollection=e.RenderedLinesCollection=void 0;class S{constructor(C){this._createLine=C,this._set(1,[])}flush(){this._set(1,[])}_set(C,s){this._lines=s,this._rendLineNumberStart=C}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(C){const s=C-this._rendLineNumberStart;if(s<0||s>=this._lines.length)throw new y.BugIndicatingError("Illegal value for lineNumber");return this._lines[s]}onLinesDeleted(C,s){if(this.getCount()===0)return null;const i=this.getStartLineNumber(),n=this.getEndLineNumber();if(sn)return null;let t=0,a=0;for(let h=i;h<=n;h++){const r=h-this._rendLineNumberStart;C<=h&&h<=s&&(a===0?(t=r,a=1):a++)}if(C=n&&u<=t&&(this._lines[u-this._rendLineNumberStart].onContentChanged(),a=!0);return a}onLinesInserted(C,s){if(this.getCount()===0)return null;const i=s-C+1,n=this.getStartLineNumber(),t=this.getEndLineNumber();if(C<=n)return this._rendLineNumberStart+=i,null;if(C>t)return null;if(i+C>t)return this._lines.splice(C-this._rendLineNumberStart,t-C+1);const a=[];for(let o=0;oi)continue;const h=Math.max(s,u.fromLineNumber),r=Math.min(i,u.toLineNumber);for(let c=h;c<=r;c++){const o=c-this._rendLineNumberStart;this._lines[o].onTokensChanged(),n=!0}}return n}}e.RenderedLinesCollection=S;class f{constructor(C){this._host=C,this.domNode=this._createDomNode(),this._linesCollection=new S(()=>this._host.createVisibleLine())}_createDomNode(){const C=(0,L.createFastDomNode)(document.createElement("div"));return C.setClassName("view-layer"),C.setPosition("absolute"),C.domNode.setAttribute("role","presentation"),C.domNode.setAttribute("aria-hidden","true"),C}onConfigurationChanged(C){return!!C.hasChanged(142)}onFlushed(C){return this._linesCollection.flush(),!0}onLinesChanged(C){return this._linesCollection.onLinesChanged(C.fromLineNumber,C.count)}onLinesDeleted(C){const s=this._linesCollection.onLinesDeleted(C.fromLineNumber,C.toLineNumber);if(s)for(let i=0,n=s.length;is){const a=s,u=Math.min(i,t.rendLineNumberStart-1);a<=u&&(this._insertLinesBefore(t,a,u,n,s),t.linesLength+=u-a+1)}else if(t.rendLineNumberStart0&&(this._removeLinesBefore(t,a),t.linesLength-=a)}if(t.rendLineNumberStart=s,t.rendLineNumberStart+t.linesLength-1i){const a=Math.max(0,i-t.rendLineNumberStart+1),h=t.linesLength-1-a+1;h>0&&(this._removeLinesAfter(t,h),t.linesLength-=h)}return this._finishRendering(t,!1,n),t}_renderUntouchedLines(C,s,i,n,t){const a=C.rendLineNumberStart,u=C.lines;for(let h=s;h<=i;h++){const r=a+h;u[h].layoutLine(r,n[r-t])}}_insertLinesBefore(C,s,i,n,t){const a=[];let u=0;for(let h=s;h<=i;h++)a[u++]=this.host.createVisibleLine();C.lines=a.concat(C.lines)}_removeLinesBefore(C,s){for(let i=0;i=0;u--){const h=C.lines[u];n[u]&&(h.setDomNode(a),a=a.previousSibling)}}_finishRenderingInvalidLines(C,s,i){const n=document.createElement("div");_._ttPolicy&&(s=_._ttPolicy.createHTML(s)),n.innerHTML=s;for(let t=0;tg}),_._sb=new D.StringBuilder(1e5)}),define(ne[592],se([1,0,35,59,229,53]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginViewOverlays=e.ContentViewOverlays=e.ViewOverlayLine=e.ViewOverlays=void 0;class S extends D.ViewPart{constructor(s){super(s),this._visibleLines=new y.VisibleLinesCollection(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration.options.get(49);(0,k.applyFontInfo)(this.domNode,n),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let s=0,i=this._dynamicOverlays.length;sn.shouldRender());for(let n=0,t=i.length;n'),t.appendString(a),t.appendString(""),!0)}layoutLine(s,i){this._domNode&&(this._domNode.setTop(i),this._domNode.setHeight(this._lineHeight))}}e.ViewOverlayLine=f;class _ extends S{constructor(s){super(s);const n=this._context.configuration.options.get(142);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(s){const n=this._context.configuration.options.get(142);return this._contentWidth=n.contentWidth,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollWidthChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s),this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth))}}e.ContentViewOverlays=_;class g extends S{constructor(s){super(s);const i=this._context.configuration.options,n=i.get(142);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,k.applyFontInfo)(this.domNode,i.get(49))}onConfigurationChanged(s){const i=this._context.configuration.options;(0,k.applyFontInfo)(this.domNode,i.get(49));const n=i.get(142);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollHeightChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s);const i=Math.min(s.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)}}e.MarginViewOverlays=g}),define(ne[319],se([1,0,140,93]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compressConsecutiveTextChanges=e.TextChange=void 0;function y(_){return _.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class D{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}constructor(g,C,s,i){this.oldPosition=g,this.oldText=C,this.newPosition=s,this.newText=i}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${y(this.newText)}")`:this.newText.length===0?`(delete@${this.oldPosition} "${y(this.oldText)}")`:`(replace@${this.oldPosition} "${y(this.oldText)}" with "${y(this.newText)}")`}static _writeStringSize(g){return 4+2*g.length}static _writeString(g,C,s){const i=C.length;L.writeUInt32BE(g,i,s),s+=4;for(let n=0;ns&&(s=n)}return s}else{if(typeof D=="string")return _?D==="*"?5:D===f?10:0:0;if(D){const{language:s,pattern:i,scheme:n,hasAccessToAllModels:t,notebookType:a}=D;if(!_&&!t)return 0;a&&g&&(S=g);let u=0;if(n)if(n===S.scheme)u=10;else if(n==="*")u=5;else return 0;if(s)if(s===f)u=10;else if(s==="*")u=Math.max(u,5);else return 0;if(a)if(a===C)u=10;else if(a==="*"&&C!==void 0)u=Math.max(u,5);else return 0;if(i){let h;if(typeof i=="string"?h=i:h=Object.assign(Object.assign({},i),{base:(0,k.normalize)(i.base)}),h===S.fsPath||(0,L.match)(h,S.fsPath))u=10;else return 0}return u}else return 0}}e.score=y}),define(ne[594],se([1,0,6,2,48,593]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureRegistry=void 0;function S(C){return typeof C=="string"?!1:Array.isArray(C)?C.every(S):!!C.exclusive}class f{constructor(s,i,n,t){this.uri=s,this.languageId=i,this.notebookUri=n,this.notebookType=t}equals(s){var i,n;return this.notebookType===s.notebookType&&this.languageId===s.languageId&&this.uri.toString()===s.uri.toString()&&((i=this.notebookUri)===null||i===void 0?void 0:i.toString())===((n=s.notebookUri)===null||n===void 0?void 0:n.toString())}}class _{constructor(s){this._notebookInfoResolver=s,this._clock=0,this._entries=[],this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event}register(s,i){let n={selector:s,provider:i,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,k.toDisposable)(()=>{if(n){const t=this._entries.indexOf(n);t>=0&&(this._entries.splice(t,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(s){return this.all(s).length>0}all(s){if(!s)return[];this._updateScores(s);const i=[];for(const n of this._entries)n._score>0&&i.push(n.provider);return i}ordered(s){const i=[];return this._orderedForEach(s,n=>i.push(n.provider)),i}orderedGroups(s){const i=[];let n,t;return this._orderedForEach(s,a=>{n&&t===a._score?n.push(a.provider):(t=a._score,n=[a.provider],i.push(n))}),i}_orderedForEach(s,i){this._updateScores(s);for(const n of this._entries)n._score>0&&i(n)}_updateScores(s){var i,n;const t=(i=this._notebookInfoResolver)===null||i===void 0?void 0:i.call(this,s.uri),a=t?new f(s.uri,s.getLanguageId(),t.uri,t.type):new f(s.uri,s.getLanguageId(),void 0,void 0);if(!(!((n=this._lastCandidate)===null||n===void 0)&&n.equals(a))){this._lastCandidate=a;for(const u of this._entries)if(u._score=(0,D.score)(u.selector,a.uri,a.languageId,(0,y.shouldSynchronizeModel)(s),a.notebookUri,a.notebookType),S(u.selector)&&u._score>0){for(const h of this._entries)h._score=0;u._score=1e3;break}this._entries.sort(_._compareByScoreAndTime)}}static _compareByScoreAndTime(s,i){return s._scorei._score?-1:g(s.selector)&&!g(i.selector)?1:!g(s.selector)&&g(i.selector)?-1:s._timei._time?-1:0}}e.LanguageFeatureRegistry=_;function g(C){return typeof C=="string"?!1:Array.isArray(C)?C.some(g):!!C.isBuiltin}}),define(ne[230],se([1,0,11,93,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketsUtils=e.RichEditBrackets=e.RichEditBracket=void 0;class D{constructor(o,d,l,p,m,v){this._richEditBracketBrand=void 0,this.languageId=o,this.index=d,this.open=l,this.close=p,this.forwardRegex=m,this.reversedRegex=v,this._openSet=D._toSet(this.open),this._closeSet=D._toSet(this.close)}isOpen(o){return this._openSet.has(o)}isClose(o){return this._closeSet.has(o)}static _toSet(o){const d=new Set;for(const l of o)d.add(l);return d}}e.RichEditBracket=D;function S(c){const o=c.length;c=c.map(v=>[v[0].toLowerCase(),v[1].toLowerCase()]);const d=[];for(let v=0;v{const[w,E]=v,[I,M]=b;return w===I||w===M||E===I||E===M},p=(v,b)=>{const w=Math.min(v,b),E=Math.max(v,b);for(let I=0;I0&&m.push({open:b,close:w})}return m}class f{constructor(o,d){this._richEditBracketsBrand=void 0;const l=S(d);this.brackets=l.map((p,m)=>new D(o,m,p.open,p.close,s(p.open,p.close,l,m),i(p.open,p.close,l,m))),this.forwardRegex=n(this.brackets),this.reversedRegex=t(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const p of this.brackets){for(const m of p.open)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,m.length);for(const m of p.close)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,m.length)}}}e.RichEditBrackets=f;function _(c,o,d,l){for(let p=0,m=o.length;p=0&&l.push(b);for(const b of v.close)b.indexOf(c)>=0&&l.push(b)}}function g(c,o){return c.length-o.length}function C(c){if(c.length<=1)return c;const o=[],d=new Set;for(const l of c)d.has(l)||(o.push(l),d.add(l));return o}function s(c,o,d,l){let p=[];p=p.concat(c),p=p.concat(o);for(let m=0,v=p.length;m=0;v--)p[m++]=l.charCodeAt(v);return k.getPlatformTextDecoder().decode(p)}let o=null,d=null;return function(p){return o!==p&&(o=p,d=c(o)),d}}();class r{static _findPrevBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=l.length-(m.index||0),b=m[0].length,w=p+v;return new y.Range(d,w-b+1,d,w+1)}static findPrevBracketInRange(o,d,l,p,m){const b=h(l).substring(l.length-m,l.length-p);return this._findPrevBracketInText(o,d,b,p)}static findNextBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=m.index||0,b=m[0].length;if(b===0)return null;const w=p+v;return new y.Range(d,w+1,d,w+1+b)}static findNextBracketInRange(o,d,l,p,m){const v=l.substring(p,m);return this.findNextBracketInText(o,d,v,p)}}e.BracketsUtils=r}),define(ne[595],se([1,0,14,125,230]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketElectricCharacterSupport=void 0;class D{constructor(f){this._richEditBrackets=f}getElectricCharacters(){const f=[];if(this._richEditBrackets)for(const _ of this._richEditBrackets.brackets)for(const g of _.close){const C=g.charAt(g.length-1);f.push(C)}return(0,L.distinct)(f)}onElectricCharacter(f,_,g){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const C=_.findTokenIndexAtOffset(g-1);if((0,k.ignoreBracketsInToken)(_.getStandardTokenType(C)))return null;const s=this._richEditBrackets.reversedRegex,i=_.getLineContent().substring(0,g-1)+f,n=y.BracketsUtils.findPrevBracketInRange(s,1,i,0,i.length);if(!n)return null;const t=i.substring(n.startColumn-1,n.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[t])return null;const u=_.getActualLineContentBefore(n.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:t}:null}}e.BracketElectricCharacterSupport=D}),define(ne[596],se([1,0,14,6,2,5,125,230,514]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTextModelPart=void 0;class g extends y.Disposable{get canBuildAST(){return this.textModel.getValueLength()<=5e6}constructor(a,u){super(),this.textModel=a,this.languageConfigurationService=u,this.bracketPairsTree=this._register(new y.MutableDisposable),this.onDidChangeEmitter=new k.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(h=>{var r;(!h.languageId||!((r=this.bracketPairsTree.value)===null||r===void 0)&&r.object.didLanguageChange(h.languageId))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleContentChanged(a)}handleDidChangeBackgroundTokenizationState(){var a;(a=this.bracketPairsTree.value)===null||a===void 0||a.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleDidChangeTokens(a)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){const a=new y.DisposableStore;this.bracketPairsTree.value=C(a.add(new _.BracketPairsTree(this.textModel,u=>this.languageConfigurationService.getLanguageConfiguration(u))),a),a.add(this.bracketPairsTree.value.object.onDidChange(u=>this.onDidChangeEmitter.fire(u))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!1))||L.CallbackIterable.empty}getBracketPairsInRangeWithMinIndentation(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!0))||L.CallbackIterable.empty}getBracketsInRange(a,u=!1){var h;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((h=this.bracketPairsTree.value)===null||h===void 0?void 0:h.object.getBracketsInRange(a,u))||L.CallbackIterable.empty}findMatchingBracketUp(a,u,h){const r=this.textModel.validatePosition(u),c=this.textModel.getLanguageIdAtPosition(r.lineNumber,r.column);if(this.canBuildAST){const o=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew.getClosingBracketInfo(a);if(!o)return null;const d=this.getBracketPairsInRange(D.Range.fromPositions(u,u)).findLast(l=>o.closes(l.openingBracketInfo));return d?d.openingBracketRange:null}else{const o=a.toLowerCase(),d=this.languageConfigurationService.getLanguageConfiguration(c).brackets;if(!d)return null;const l=d.textIsBracket[o];return l?n(this._findMatchingBracketUp(l,r,s(h))):null}}matchBracket(a,u){if(this.canBuildAST){const h=this.getBracketPairsInRange(D.Range.fromPositions(a,a)).filter(r=>r.closingBracketRange!==void 0&&(r.openingBracketRange.containsPosition(a)||r.closingBracketRange.containsPosition(a))).findLastMaxBy((0,L.compareBy)(r=>r.openingBracketRange.containsPosition(a)?r.openingBracketRange:r.closingBracketRange,D.Range.compareRangesUsingStarts));return h?[h.openingBracketRange,h.closingBracketRange]:null}else{const h=s(u);return this._matchBracket(this.textModel.validatePosition(a),h)}}_establishBracketSearchOffsets(a,u,h,r){const c=u.getCount(),o=u.getLanguageId(r);let d=Math.max(0,a.column-1-h.maxBracketLength);for(let p=r-1;p>=0;p--){const m=u.getEndOffset(p);if(m<=d)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){d=m;break}}let l=Math.min(u.getLineContent().length,a.column-1+h.maxBracketLength);for(let p=r+1;p=l)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){l=m;break}}return{searchStartOffset:d,searchEndOffset:l}}_matchBracket(a,u){const h=a.lineNumber,r=this.textModel.tokenization.getLineTokens(h),c=this.textModel.getLineContent(h),o=r.findTokenIndexAtOffset(a.column-1);if(o<0)return null;const d=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(o)).brackets;if(d&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:p}=this._establishBracketSearchOffsets(a,r,d,o),m=null;for(;;){const v=f.BracketsUtils.findNextBracketInRange(d.forwardRegex,h,c,l,p);if(!v)break;if(v.startColumn<=a.column&&a.column<=v.endColumn){const b=c.substring(v.startColumn-1,v.endColumn-1).toLowerCase(),w=this._matchFoundBracket(v,d.textIsBracket[b],d.textIsOpenBracket[b],u);if(w){if(w instanceof i)return null;m=w}}l=v.endColumn-1}if(m)return m}if(o>0&&r.getStartOffset(o)===a.column-1){const l=o-1,p=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(l)).brackets;if(p&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(l))){const{searchStartOffset:m,searchEndOffset:v}=this._establishBracketSearchOffsets(a,r,p,l),b=f.BracketsUtils.findPrevBracketInRange(p.reversedRegex,h,c,m,v);if(b&&b.startColumn<=a.column&&a.column<=b.endColumn){const w=c.substring(b.startColumn-1,b.endColumn-1).toLowerCase(),E=this._matchFoundBracket(b,p.textIsBracket[w],p.textIsOpenBracket[w],u);if(E)return E instanceof i?null:E}}}return null}_matchFoundBracket(a,u,h,r){if(!u)return null;const c=h?this._findMatchingBracketDown(u,a.getEndPosition(),r):this._findMatchingBracketUp(u,a.getStartPosition(),r);return c?c instanceof i?c:[a,c]:null}_findMatchingBracketUp(a,u,h){const r=a.languageId,c=a.reversedRegex;let o=-1,d=0;const l=(p,m,v,b)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const w=f.BracketsUtils.findPrevBracketInRange(c,p,m,v,b);if(!w)break;const E=m.substring(w.startColumn-1,w.endColumn-1).toLowerCase();if(a.isOpen(E)?o++:a.isClose(E)&&o--,o===0)return w;b=w.startColumn-1}return null};for(let p=u.lineNumber;p>=1;p--){const m=this.textModel.tokenization.getLineTokens(p),v=m.getCount(),b=this.textModel.getLineContent(p);let w=v-1,E=b.length,I=b.length;p===u.lineNumber&&(w=m.findTokenIndexAtOffset(u.column-1),E=u.column-1,I=u.column-1);let M=!0;for(;w>=0;w--){const P=m.getLanguageId(w)===r&&!(0,S.ignoreBracketsInToken)(m.getStandardTokenType(w));if(P)M?E=m.getStartOffset(w):(E=m.getStartOffset(w),I=m.getEndOffset(w));else if(M&&E!==I){const x=l(p,b,E,I);if(x)return x}M=P}if(M&&E!==I){const P=l(p,b,E,I);if(P)return P}}return null}_findMatchingBracketDown(a,u,h){const r=a.languageId,c=a.forwardRegex;let o=1,d=0;const l=(m,v,b,w)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const E=f.BracketsUtils.findNextBracketInRange(c,m,v,b,w);if(!E)break;const I=v.substring(E.startColumn-1,E.endColumn-1).toLowerCase();if(a.isOpen(I)?o++:a.isClose(I)&&o--,o===0)return E;b=E.endColumn-1}return null},p=this.textModel.getLineCount();for(let m=u.lineNumber;m<=p;m++){const v=this.textModel.tokenization.getLineTokens(m),b=v.getCount(),w=this.textModel.getLineContent(m);let E=0,I=0,M=0;m===u.lineNumber&&(E=v.findTokenIndexAtOffset(u.column-1),I=u.column-1,M=u.column-1);let P=!0;for(;E=1;d--){const l=this.textModel.tokenization.getLineTokens(d),p=l.getCount(),m=this.textModel.getLineContent(d);let v=p-1,b=m.length,w=m.length;if(d===h.lineNumber){v=l.findTokenIndexAtOffset(h.column-1),b=h.column-1,w=h.column-1;const I=l.getLanguageId(v);r!==I&&(r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew)}let E=!0;for(;v>=0;v--){const I=l.getLanguageId(v);if(r!==I){if(c&&o&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P);E=!1}r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew}const M=!!c&&!(0,S.ignoreBracketsInToken)(l.getStandardTokenType(v));if(M)E?b=l.getStartOffset(v):(b=l.getStartOffset(v),w=l.getEndOffset(v));else if(o&&c&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P)}E=M}if(o&&c&&E&&b!==w){const I=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(I)return this._toFoundBracket(o,I)}}return null}findNextBracket(a){var u;const h=this.textModel.validatePosition(a);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getFirstBracketAfter(h))||null;const r=this.textModel.getLineCount();let c=null,o=null,d=null;for(let l=h.lineNumber;l<=r;l++){const p=this.textModel.tokenization.getLineTokens(l),m=p.getCount(),v=this.textModel.getLineContent(l);let b=0,w=0,E=0;if(l===h.lineNumber){b=p.findTokenIndexAtOffset(h.column-1),w=h.column-1,E=h.column-1;const M=p.getLanguageId(b);c!==M&&(c=M,o=this.languageConfigurationService.getLanguageConfiguration(c).brackets,d=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew)}let I=!0;for(;bI.closingBracketRange!==void 0&&I.range.strictContainsRange(w));return E?[E.openingBracketRange,E.closingBracketRange]:null}const r=s(u),c=this.textModel.getLineCount(),o=new Map;let d=[];const l=(w,E)=>{if(!o.has(w)){const I=[];for(let M=0,P=E?E.brackets.length:0;M{for(;;){if(r&&++p%100===0&&!r())return i.INSTANCE;const x=f.BracketsUtils.findNextBracketInRange(w.forwardRegex,E,I,M,P);if(!x)break;const T=I.substring(x.startColumn-1,x.endColumn-1).toLowerCase(),A=w.textIsBracket[T];if(A&&(A.isOpen(T)?d[A.index]++:A.isClose(T)&&d[A.index]--,d[A.index]===-1))return this._matchFoundBracket(x,A,!1,r);M=x.endColumn-1}return null};let v=null,b=null;for(let w=h.lineNumber;w<=c;w++){const E=this.textModel.tokenization.getLineTokens(w),I=E.getCount(),M=this.textModel.getLineContent(w);let P=0,x=0,T=0;if(w===h.lineNumber){P=E.findTokenIndexAtOffset(h.column-1),x=h.column-1,T=h.column-1;const N=E.getLanguageId(P);v!==N&&(v=N,b=this.languageConfigurationService.getLanguageConfiguration(v).brackets,l(v,b))}let A=!0;for(;Pa?.dispose()}}function s(t){if(typeof t>"u")return()=>!0;{const a=Date.now();return()=>Date.now()-a<=t}}class i{constructor(){this._searchCanceledBrand=void 0}}i.INSTANCE=new i;function n(t){return t instanceof i?null:t}}),define(ne[320],se([1,0,6,11,5,48,283,122,319,2]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBuffer=void 0;class C extends g.Disposable{constructor(i,n,t,a,u,h,r){super(),this._onDidChangeContent=this._register(new L.Emitter),this._BOM=n,this._mightContainNonBasicASCII=!h,this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._pieceTree=new S.PieceTreeBase(i,t,r)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(i){return this._pieceTree.createSnapshot(i?this._BOM:"")}getOffsetAt(i,n){return this._pieceTree.getOffsetAt(i,n)}getPositionAt(i){return this._pieceTree.getPositionAt(i)}getRangeAt(i,n){const t=i+n,a=this.getPositionAt(i),u=this.getPositionAt(t);return new y.Range(a.lineNumber,a.column,u.lineNumber,u.column)}getValueInRange(i,n=0){if(i.isEmpty())return"";const t=this._getEndOfLine(n);return this._pieceTree.getValueInRange(i,t)}getValueLengthInRange(i,n=0){if(i.isEmpty())return 0;if(i.startLineNumber===i.endLineNumber)return i.endColumn-i.startColumn;const t=this.getOffsetAt(i.startLineNumber,i.startColumn),a=this.getOffsetAt(i.endLineNumber,i.endColumn);let u=0;const h=this._getEndOfLine(n),r=this.getEOL();if(h.length!==r.length){const c=h.length-r.length,o=i.endLineNumber-i.startLineNumber;u=c*o}return a-t+u}getCharacterCountInRange(i,n=0){if(this._mightContainNonBasicASCII){let t=0;const a=i.startLineNumber,u=i.endLineNumber;for(let h=a;h<=u;h++){const r=this.getLineContent(h),c=h===a?i.startColumn-1:0,o=h===u?i.endColumn-1:r.length;for(let d=c;dw.sortIndex-E.sortIndex)}this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._mightContainNonBasicASCII=h;const m=this._doApplyEdits(c);let v=null;if(n&&l.length>0){l.sort((b,w)=>w.lineNumber-b.lineNumber),v=[];for(let b=0,w=l.length;b0&&l[b-1].lineNumber===E)continue;const I=l[b].oldContent,M=this.getLineContent(E);M.length===0||M===I||k.firstNonWhitespaceIndex(M)!==-1||v.push(E)}}return this._onDidChangeContent.fire(),new D.ApplyEditsResult(p,m,v)}_reduceOperations(i){return i.length<1e3?i:[this._toSingleEditOperation(i)]}_toSingleEditOperation(i){let n=!1;const t=i[0].range,a=i[i.length-1].range,u=new y.Range(t.startLineNumber,t.startColumn,a.endLineNumber,a.endColumn);let h=t.startLineNumber,r=t.startColumn;const c=[];for(let m=0,v=i.length;m0&&c.push(b.text),h=w.endLineNumber,r=w.endColumn}const o=c.join(""),[d,l,p]=(0,f.countEOL)(o);return{sortIndex:0,identifier:i[0].identifier,range:u,rangeOffset:this.getOffsetAt(u.startLineNumber,u.startColumn),rangeLength:this.getValueLengthInRange(u,0),text:o,eolCount:d,firstLineLength:l,lastLineLength:p,forceMoveMarkers:n,isAutoWhitespaceEdit:!1}}_doApplyEdits(i){i.sort(C._sortOpsDescending);const n=[];for(let t=0;t0){const p=c.eolCount+1;p===1?l=new y.Range(o,d,o,d+c.firstLineLength):l=new y.Range(o,d,o+p-1,c.lastLineLength+1)}else l=new y.Range(o,d,o,d);t=l.endLineNumber,a=l.endColumn,n.push(l),u=c}return n}static _sortOpsAscending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?i.sortIndex-n.sortIndex:t}static _sortOpsDescending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?n.sortIndex-i.sortIndex:-t}}e.PieceTreeTextBuffer=C}),define(ne[597],se([1,0,11,283,320]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBufferBuilder=void 0;class D{constructor(_,g,C,s,i,n,t,a,u){this._chunks=_,this._bom=g,this._cr=C,this._lf=s,this._crlf=i,this._containsRTL=n,this._containsUnusualLineTerminators=t,this._isBasicASCII=a,this._normalizeEOL=u}_getEOL(_){const g=this._cr+this._lf+this._crlf,C=this._cr+this._crlf;return g===0?_===1?` -`:`\r -`:C>g/2?`\r -`:` -`}create(_){const g=this._getEOL(_),C=this._chunks;if(this._normalizeEOL&&(g===`\r -`&&(this._cr>0||this._lf>0)||g===` -`&&(this._cr>0||this._crlf>0)))for(let i=0,n=C.length;i=55296&&g<=56319?(this._acceptChunk1(_.substr(0,_.length-1),!1),this._hasPreviousChar=!0,this._previousChar=g):(this._acceptChunk1(_,!1),this._hasPreviousChar=!1,this._previousChar=g)}_acceptChunk1(_,g){!g&&_.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+_):this._acceptChunk2(_))}_acceptChunk2(_){const g=(0,k.createLineStarts)(this._tmpLineStarts,_);this.chunks.push(new k.StringBuffer(_,g.lineStarts)),this.cr+=g.cr,this.lf+=g.lf,this.crlf+=g.crlf,g.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=L.containsRTL(_)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=L.containsUnusualLineTerminators(_)))}finish(_=!0){return this._finish(),new D(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,_)}_finish(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const _=this.chunks[this.chunks.length-1];_.buffer+=String.fromCharCode(this._previousChar);const g=(0,k.createLineStartsFast)(_.buffer);_.lineStarts=g,this._previousChar===13&&this.cr++}}}e.PieceTreeTextBufferBuilder=S}),define(ne[598],se([1,0,140,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeSemanticTokensDto=void 0;function y(_){for(let g=0,C=_.length;ga.target.position?a.target.position.lineNumber:0,this._opts=g(this._editor.getOption(76)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(a=>{if(a.hasChanged(76)){const u=g(this._editor.getOption(76));if(this._opts.equals(u))return;this._opts=u,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(a=>this._onEditorMouseMove(new S(a,this._opts)))),this._register(this._editor.onMouseDown(a=>this._onEditorMouseDown(new S(a,this._opts)))),this._register(this._editor.onMouseUp(a=>this._onEditorMouseUp(new S(a,this._opts)))),this._register(this._editor.onKeyDown(a=>this._onEditorKeyDown(new f(a,this._opts)))),this._register(this._editor.onKeyUp(a=>this._onEditorKeyUp(new f(a,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(a=>this._onDidChangeCursorSelection(a))),this._register(this._editor.onDidChangeModel(a=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(a=>{(a.scrollTopChanged||a.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(i){i.selection&&i.selection.startColumn!==i.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(i){this._lastMouseMoveEvent=i,this._onMouseMoveOrRelevantKeyDown.fire([i,null])}_onEditorMouseDown(i){this._hasTriggerKeyOnMouseDown=i.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(i)}_onEditorMouseUp(i){const n=this._extractLineNumberFromMouseEvent(i);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===n&&this._onExecute.fire(i)}_onEditorKeyDown(i){this._lastMouseMoveEvent&&(i.keyCodeIsTriggerKey||i.keyCodeIsSideBySideKey&&i.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,i]):i.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(i){i.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}e.ClickLinkGesture=C});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[321],se([1,0,13,9,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverOperation=e.HoverResult=void 0;class S{constructor(g,C,s){this.value=g,this.isComplete=C,this.hasLoadingMessage=s}}e.HoverResult=S;class f extends D.Disposable{constructor(g,C){super(),this._editor=g,this._computer=C,this._onResult=this._register(new y.Emitter),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(59).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(g,C=!0){this._state=g,C&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,L.createCancelableAsyncIterable)(g=>this._computer.computeAsync(g)),we(this,void 0,void 0,function*(){var g,C,s,i;try{try{for(var n=!0,t=Lt(this._asyncIterable),a;a=yield t.next(),g=a.done,!g;n=!0){i=a.value,n=!1;const u=i;u&&(this._result.push(u),this._fireResult())}}catch(u){C={error:u}}finally{try{!n&&!g&&(s=t.return)&&(yield s.call(t))}finally{if(C)throw C.error}}this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(u){(0,k.onUnexpectedError)(u)}})):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const g=this._state===0,C=this._state===4;this._onResult.fire(new S(this._result.slice(0),g,C))}start(g){if(g===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}e.HoverOperation=f}),define(ne[599],se([1,0,223,2,12,7]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableContentWidget=void 0;const S=30,f=24;class _ extends k.Disposable{constructor(C,s=new D.Dimension(10,10)){super(),this._editor=C,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new L.ResizableHTMLElement),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=D.Dimension.lift(s),this._resizableNode.layout(s.height,s.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new D.Dimension(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var C;return!((C=this._contentPosition)===null||C===void 0)&&C.position?y.Position.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);return!s||!i?void 0:D.getDomNodePagePosition(s).top+i.top-S}_availableVerticalSpaceBelow(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);if(!s||!i)return;const n=D.getDomNodePagePosition(s),t=D.getClientArea(document.body),a=n.top+i.top+i.height;return t.height-a-f}_findPositionPreference(C,s){var i,n;const t=Math.min((i=this._availableVerticalSpaceBelow(s))!==null&&i!==void 0?i:1/0,C),a=Math.min((n=this._availableVerticalSpaceAbove(s))!==null&&n!==void 0?n:1/0,C),u=Math.min(Math.max(a,t),C),h=Math.min(C,u);let r;return this._editor.getOption(59).above?r=h<=a?1:2:r=h<=t?2:1,r===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),r}_resize(C){this._resizableNode.layout(C.height,C.width)}}e.ResizableContentWidget=_}),define(ne[322],se([1,0,9,2,12,5,54,22]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asCommandLink=e.InlayHintsFragments=e.InlayHintItem=e.InlayHintAnchor=void 0;class _{constructor(n,t){this.range=n,this.direction=t}}e.InlayHintAnchor=_;class g{constructor(n,t,a){this.hint=n,this.anchor=t,this.provider=a,this._isResolved=!1}with(n){const t=new g(this.hint,n.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(n){return we(this,void 0,void 0,function*(){if(typeof this.provider.resolveInlayHint=="function"){if(this._currentResolve)return yield this._currentResolve,n.isCancellationRequested?void 0:this.resolve(n);this._isResolved||(this._currentResolve=this._doResolve(n).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(n){var t,a;return we(this,void 0,void 0,function*(){try{const u=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,n));this.hint.tooltip=(t=u?.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(a=u?.label)!==null&&a!==void 0?a:this.hint.label,this._isResolved=!0}catch(u){(0,L.onUnexpectedExternalError)(u),this._isResolved=!1}})}}e.InlayHintItem=g;class C{static create(n,t,a,u){return we(this,void 0,void 0,function*(){const h=[],r=n.ordered(t).reverse().map(c=>a.map(o=>we(this,void 0,void 0,function*(){try{const d=yield c.provideInlayHints(t,o,u);d?.hints.length&&h.push([d,c])}catch(d){(0,L.onUnexpectedExternalError)(d)}})));if(yield Promise.all(r.flat()),u.isCancellationRequested||t.isDisposed())throw new L.CancellationError;return new C(a,h,t)})}constructor(n,t,a){this._disposables=new k.DisposableStore,this.ranges=n,this.provider=new Set;const u=[];for(const[h,r]of t){this._disposables.add(h),this.provider.add(r);for(const c of h.hints){const o=a.validatePosition(c.position);let d="before";const l=C._getRangeAtPosition(a,o);let p;l.getStartPosition().isBefore(o)?(p=D.Range.fromPositions(l.getStartPosition(),o),d="after"):(p=D.Range.fromPositions(o,l.getEndPosition()),d="before"),u.push(new g(c,new _(p,d),r))}}this.items=u.sort((h,r)=>y.Position.compare(h.hint.position,r.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(n,t){const a=t.lineNumber,u=n.getWordAtPosition(t);if(u)return new D.Range(a,u.startColumn,a,u.endColumn);n.tokenization.tokenizeIfCheap(a);const h=n.tokenization.getLineTokens(a),r=t.column-1,c=h.findTokenIndexAtOffset(r);let o=h.getStartOffset(c),d=h.getEndOffset(c);return d-o===1&&(o===r&&c>1?(o=h.getStartOffset(c-1),d=h.getEndOffset(c-1)):d===r&&cW.toString?W.toString():""+W).join(" -> ")}`));const O=new k.DeferredPromise;return w.set(A,O.p),(()=>we(this,void 0,void 0,function*(){if(!F){const W=b(A);for(const U of W){const j=yield M(U);if(j&&j.items.length>0)return}}try{return yield A.provideInlineCompletions(c,r,o,d)}catch(W){(0,S.onUnexpectedExternalError)(W);return}}))().then(W=>O.complete(W),W=>O.error(W)),O.p}const P=yield Promise.all(m.map(A=>we(this,void 0,void 0,function*(){return{provider:A,completions:yield M(A)}}))),x=new Map,T=[];for(const A of P){const N=A.completions;if(!N)continue;const F=new n(N,A.provider);T.push(F);for(const O of N.items){const W=t.from(O,F,p,c,l);x.set(W.hash(),W)}}return new i(Array.from(x.values()),new Set(x.keys()),T)})}e.provideInlineCompletions=s;class i{constructor(r,c,o){this.completions=r,this.hashs=c,this.providerResults=o}has(r){return this.hashs.has(r.hash())}dispose(){for(const r of this.providerResults)r.removeRef()}}e.InlineCompletionProviderResult=i;class n{constructor(r,c){this.inlineCompletions=r,this.provider=c,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,this.refCount===0&&this.provider.freeInlineCompletions(this.inlineCompletions)}}e.InlineCompletionList=n;class t{static from(r,c,o,d,l){let p,m,v=r.range?f.Range.lift(r.range):o;if(typeof r.insertText=="string"){if(p=r.insertText,l&&r.completeBracketPairs){p=u(p,v.getStartPosition(),d,l);const b=p.length-r.insertText.length;b!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+b))}m=void 0}else if("snippet"in r.insertText){const b=r.insertText.snippet.length;if(l&&r.completeBracketPairs){r.insertText.snippet=u(r.insertText.snippet,v.getStartPosition(),d,l);const E=r.insertText.snippet.length-b;E!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+E))}const w=new C.SnippetParser().parse(r.insertText.snippet);w.children.length===1&&w.children[0]instanceof C.Text?(p=w.children[0].value,m=void 0):(p=w.toString(),m={snippet:r.insertText.snippet,range:v})}else(0,L.assertNever)(r.insertText);return new t(p,r.command,v,p,m,r.additionalTextEdits||(0,g.getReadonlyEmptyArray)(),r,c)}constructor(r,c,o,d,l,p,m,v){this.filterText=r,this.command=c,this.range=o,this.insertText=d,this.snippetInfo=l,this.additionalTextEdits=p,this.sourceInlineCompletion=m,this.source=v,r=r.replace(/\r\n|\r/g,` -`),d=r.replace(/\r\n|\r/g,` -`)}withRange(r){return new t(this.filterText,this.command,r,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}e.InlineCompletionItem=t;function a(h,r){const c=r.getWordAtPosition(h),o=r.getLineMaxColumn(h.lineNumber);return c?new f.Range(h.lineNumber,c.startColumn,h.lineNumber,o):f.Range.fromPositions(h,h.with(void 0,o))}function u(h,r,c,o){const l=c.getLineContent(r.lineNumber).substring(0,r.column-1)+h,p=c.tokenization.tokenizeLineWithEdit(r,l.length-(r.column-1),h),m=p?.sliceAndInflate(r.column-1,l.length,0);return m?(0,_.fixBracketsInLine)(m,o):h}}),define(ne[601],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/controller/textAreaHandler",e)}),define(ne[602],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/coreCommands",e)}),define(ne[603],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/editorExtensions",e)}),define(ne[604],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/codeEditorWidget",e)}),define(ne[605],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditor.contribution",e)}),define(ne[606],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget",e)}),define(ne[607],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer",e)}),define(ne[608],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/colors",e)}),define(ne[609],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/decorations",e)}),define(ne[610],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors",e)}),define(ne[611],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin",e)}),define(ne[612],se([1,0,7,39,25,2,17,26,611]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffDeletedCodeMargin=void 0;class g extends D.Disposable{get visibility(){return this._visibility}set visibility(s){this._visibility!==s&&(this._visibility=s,this._diffActions.style.visibility=s?"visible":"hidden")}constructor(s,i,n,t,a,u,h,r,c){super(),this._getViewZoneId=s,this._marginDomNode=i,this._modifiedEditor=n,this._diff=t,this._editor=a,this._viewLineCounts=u,this._originalTextModel=h,this._contextMenuService=r,this._clipboardService=c,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=f.ThemeIcon.asClassName(y.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const o=this._modifiedEditor.getOption(65);this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${o}px`,this._diffActions.style.lineHeight=`${o}px`,this._marginDomNode.appendChild(this._diffActions);let d=0;const l=n.getOption(125)&&!S.isIOS,p=(m,v)=>{var b;this._contextMenuService.showContextMenu({domForShadowRoot:l&&(b=n.getDomNode())!==null&&b!==void 0?b:void 0,getAnchor:()=>({x:m,y:v}),getActions:()=>{const w=[],E=t.modifiedRange.isEmpty;return w.push(new k.Action("diff.clipboard.copyDeletedContent",E?t.originalRange.length>1?(0,_.localize)(0,null):(0,_.localize)(1,null):t.originalRange.length>1?(0,_.localize)(2,null):(0,_.localize)(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const M=this._originalTextModel.getValueInRange(t.originalRange.toExclusiveRange());yield this._clipboardService.writeText(M)}))),t.originalRange.length>1&&w.push(new k.Action("diff.clipboard.copyDeletedLineContent",E?(0,_.localize)(4,null,t.originalRange.startLineNumber+d):(0,_.localize)(5,null,t.originalRange.startLineNumber+d),void 0,!0,()=>we(this,void 0,void 0,function*(){let M=this._originalTextModel.getLineContent(t.originalRange.startLineNumber+d);M===""&&(M=this._originalTextModel.getEndOfLineSequence()===0?` -`:`\r -`),yield this._clipboardService.writeText(M)}))),n.getOption(89)||w.push(new k.Action("diff.inline.revertChange",(0,_.localize)(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){this._editor.revert(this._diff)}))),w},autoSelectFirstItem:!0})};this._register((0,L.addStandardDisposableListener)(this._diffActions,"mousedown",m=>{const{top:v,height:b}=(0,L.getDomNodePagePosition)(this._diffActions),w=Math.floor(o/3);m.preventDefault(),p(m.posx,v+b+w)})),this._register(n.onMouseMove(m=>{(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()?(d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),this.visibility=!0):this.visibility=!1})),this._register(n.onMouseDown(m=>{m.event.rightButton&&(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()&&(m.event.preventDefault(),d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),p(m.event.posx,m.event.posy+o))}))}_updateLightBulbPosition(s,i,n){const{top:t}=(0,L.getDomNodePagePosition)(s),a=i-t,u=Math.floor(a/n),h=u*n;if(this._diffActions.style.top=`${h}px`,this._viewLineCounts){let r=0;for(let c=0;cthis._editors.original.getScrollTop()),this._modifiedScrollTop=(0,_.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,_.observableSignalFromEvent)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,_.observableValue)("width",0),this._modifiedViewZonesChangedSignal=(0,_.observableSignalFromEvent)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,_.observableSignalFromEvent)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,_.derivedWithStore)("state",(E,I)=>{var M;this._element.replaceChildren();const P=this._diffModel.read(E),x=(M=P?.diff.read(E))===null||M===void 0?void 0:M.movedTexts;if(!x||x.length===0){this.width.set(0,void 0);return}this._viewZonesChanged.read(E);const T=this._originalEditorLayoutInfo.read(E),A=this._modifiedEditorLayoutInfo.read(E);if(!T||!A){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(E),this._originalViewZonesChangedSignal.read(E);const N=x.map(K=>{function G(ae,ce){const de=ce.getTopForLineNumber(ae.startLineNumber,!0),he=ce.getTopForLineNumber(ae.endLineNumberExclusive,!0);return(de+he)/2}const Z=G(K.lineRangeMapping.original,this._editors.original),J=this._originalScrollTop.read(E),X=G(K.lineRangeMapping.modified,this._editors.modified),H=this._modifiedScrollTop.read(E),B=Z-J,V=X-H,Y=Math.min(Z,X),ie=Math.max(Z,X);return{range:new s.OffsetRange(Y,ie),from:B,to:V,fromWithoutScroll:Z,toWithoutScroll:X,move:K}});N.sort((0,D.tieBreakComparators)((0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll,D.booleanComparator),(0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll?K.fromWithoutScroll:-K.toWithoutScroll,D.numberComparator)));const F=t.compute(N.map(K=>K.range)),O=10,W=T.verticalScrollbarWidth,U=(F.getTrackCount()-1)*10+O*2,j=W+U+(A.contentLeft-n.movedCodeBlockPadding);let R=0;for(const K of N){const G=F.getTrack(R),Z=W+O+G*10,J=15,X=15,H=j,B=A.glyphMarginWidth+A.lineNumbersWidth,V=18,Y=document.createElementNS("http://www.w3.org/2000/svg","rect");Y.classList.add("arrow-rectangle"),Y.setAttribute("x",`${H-B}`),Y.setAttribute("y",`${K.to-V/2}`),Y.setAttribute("width",`${B}`),Y.setAttribute("height",`${V}`),this._element.appendChild(Y);const ie=document.createElementNS("http://www.w3.org/2000/svg","g"),ae=document.createElementNS("http://www.w3.org/2000/svg","path");ae.setAttribute("d",`M 0 ${K.from} L ${Z} ${K.from} L ${Z} ${K.to} L ${H-X} ${K.to}`),ae.setAttribute("fill","none"),ie.appendChild(ae);const ce=document.createElementNS("http://www.w3.org/2000/svg","polygon");ce.classList.add("arrow"),I.add((0,_.autorun)(de=>{ae.classList.toggle("currentMove",K.move===P.activeMovedText.read(de)),ce.classList.toggle("currentMove",K.move===P.activeMovedText.read(de))})),ce.setAttribute("points",`${H-X},${K.to-J/2} ${H},${K.to} ${H-X},${K.to+J/2}`),ie.appendChild(ce),this._element.appendChild(ie),R++}this.width.set(U,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,f.toDisposable)(()=>this._element.remove())),this._register((0,_.autorun)(E=>{const I=this._originalEditorLayoutInfo.read(E),M=this._modifiedEditorLayoutInfo.read(E);!I||!M||(this._element.style.left=`${I.width-I.verticalScrollbarWidth}px`,this._element.style.height=`${I.height}px`,this._element.style.width=`${I.verticalScrollbarWidth+I.contentLeft-n.movedCodeBlockPadding+this.width.read(E)}px`)})),this._register((0,_.keepAlive)(this._state,!0));const l=(0,_.derived)(E=>{const I=this._diffModel.read(E),M=I?.diff.read(E);return M?M.movedTexts.map(P=>({move:P,original:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.original.startLineNumber-1),18),modified:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,C.applyViewZones)(this._editors.original,l.map(E=>E.map(I=>I.original)))),this._register((0,C.applyViewZones)(this._editors.modified,l.map(E=>E.map(I=>I.modified)))),this._register((0,_.autorunWithStore)((E,I)=>{const M=l.read(E);for(const P of M)I.add(new a(this._editors.original,P.original,P.move,"original",this._diffModel.get())),I.add(new a(this._editors.modified,P.modified,P.move,"modified",this._diffModel.get()))}));const p=(0,_.observableFromEvent)(this._editors.original.onDidChangeCursorPosition,()=>this._editors.original.getPosition()),m=(0,_.observableFromEvent)(this._editors.modified.onDidChangeCursorPosition,()=>this._editors.modified.getPosition()),v=(0,_.observableSignalFromEvent)("original.onDidFocusEditorWidget",E=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0))),b=(0,_.observableSignalFromEvent)("modified.onDidFocusEditorWidget",E=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0)));let w="modified";this._register((0,_.autorunHandleChanges)({createEmptyChangeSummary:()=>{},handleChange:(E,I)=>(E.didChange(v)&&(w="original"),E.didChange(b)&&(w="modified"),!0)},E=>{v.read(E),b.read(E);const I=this._diffModel.read(E);if(!I)return;const M=I.diff.read(E);let P;if(M&&w==="original"){const x=p.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.original.contains(x.lineNumber)))}if(M&&w==="modified"){const x=m.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.modified.contains(x.lineNumber)))}P!==I.movedTextToCompare.get()&&I.movedTextToCompare.set(void 0,void 0),I.setActiveMovedText(P)}))}}e.MovedBlocksLinesPart=n,n.movedCodeBlockPadding=4;class t{static compute(h){const r=[],c=[];for(const o of h){let d=r.findIndex(l=>!l.intersectsStrict(o));d===-1&&(r.length>=6?d=(0,D.findMaxIdxBy)(r,(0,D.compareBy)(p=>p.intersectWithRangeLength(o),D.numberComparator)):(d=r.length,r.push(new s.OffsetRangeSet))),r[d].addRange(o),c.push(d)}return new t(r.length,c)}constructor(h,r){this._trackCount=h,this.trackPerLineIdx=r}getTrack(h){return this.trackPerLineIdx[h]}getTrackCount(){return this._trackCount}}class a extends C.ViewZoneOverlayWidget{constructor(h,r,c,o,d){const l=(0,L.h)("div.diff-hidden-lines-widget");super(h,r,l.root),this._editor=h,this._move=c,this._kind=o,this._diffModel=d,this._nodes=(0,L.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,L.h)("div.text-content@textContent"),(0,L.h)("div.action-bar@actionBar")]),l.root.appendChild(this._nodes.root);const p=(0,_.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,C.applyStyle)(this._nodes.root,{paddingRight:p.map(E=>E.verticalScrollbarWidth)}));let m;c.changes.length>0?m=this._kind==="original"?(0,i.localize)(0,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(1,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive):m=this._kind==="original"?(0,i.localize)(2,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(3,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive);const v=this._register(new k.ActionBar(this._nodes.actionBar,{highlightToggledItems:!0})),b=new y.Action("",m,"",!1);v.push(b,{icon:!1,label:!0});const w=new y.Action("","Compare",g.ThemeIcon.asClassName(S.Codicon.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===c?void 0:this._move,void 0)});this._register((0,_.autorun)(E=>{const I=this._diffModel.movedTextToCompare.read(E)===c;w.checked=I})),v.push(w,{icon:!1,label:!0})}}}),define(ne[614],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/unchangedRanges",e)}),define(ne[615],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffReview",e)}),define(ne[616],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/inlineDiffMargin",e)}),define(ne[617],se([1,0,616,7,39,2,5,25,26,17]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffMargin=void 0;class C extends D.Disposable{get visibility(){return this._visibility}set visibility(i){this._visibility!==i&&(this._visibility=i,i?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")}constructor(i,n,t,a,u,h){super(),this._viewZoneId=i,this._marginDomNode=n,this.editor=t,this.diff=a,this._contextMenuService=u,this._clipboardService=h,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=_.ThemeIcon.asClassName(f.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const r=t.getOption(65),c=t.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${r}px`,this._diffActions.style.lineHeight=`${r}px`,this._marginDomNode.appendChild(this._diffActions);const o=[],d=a.modifiedEndLineNumber===0;o.push(new y.Action("diff.clipboard.copyDeletedContent",d?a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(0,null):L.localize(1,null):a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(2,null):L.localize(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber+1,1),E=a.originalModel.getValueInRange(w);yield this._clipboardService.writeText(E)})));let l=0,p;a.originalEndLineNumber>a.modifiedStartLineNumber&&(p=new y.Action("diff.clipboard.copyDeletedLineContent",d?L.localize(4,null,a.originalStartLineNumber):L.localize(5,null,a.originalStartLineNumber),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=a.originalModel.getLineContent(a.originalStartLineNumber+l);if(w===""){const E=a.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(E===0?` -`:`\r -`)}else yield this._clipboardService.writeText(w)})),o.push(p)),t.getOption(89)||o.push(new y.Action("diff.inline.revertChange",L.localize(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber,a.originalModel.getLineMaxColumn(a.originalEndLineNumber)),E=a.originalModel.getValueInRange(w);if(a.modifiedEndLineNumber===0){const I=t.getModel().getLineMaxColumn(a.modifiedStartLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,I,a.modifiedStartLineNumber,I),text:c+E}])}else{const I=t.getModel().getLineMaxColumn(a.modifiedEndLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,1,a.modifiedEndLineNumber,I),text:E}])}})));const v=t.getOption(125)&&!g.isIOS,b=(w,E)=>{var I;this._contextMenuService.showContextMenu({domForShadowRoot:v&&(I=t.getDomNode())!==null&&I!==void 0?I:void 0,getAnchor:()=>({x:w,y:E}),getActions:()=>(p&&(p.label=d?L.localize(7,null,a.originalStartLineNumber+l):L.localize(8,null,a.originalStartLineNumber+l)),o),autoSelectFirstItem:!0})};this._register(k.addStandardDisposableListener(this._diffActions,"mousedown",w=>{const{top:E,height:I}=k.getDomNodePagePosition(this._diffActions),M=Math.floor(r/3);w.preventDefault(),b(w.posx,E+I+M)})),this._register(t.onMouseMove(w=>{w.target.type===8||w.target.type===5?w.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r)):this.visibility=!1:this.visibility=!1})),this._register(t.onMouseDown(w=>{w.event.rightButton&&(w.target.type===8||w.target.type===5)&&w.target.detail.viewZoneId===this._viewZoneId&&(w.event.preventDefault(),l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r),b(w.event.posx,w.event.posy+r))}))}_updateLightBulbPosition(i,n,t){const{top:a}=k.getDomNodePagePosition(i),u=n-a,h=Math.floor(u/t),r=h*t;if(this._diffActions.style.top=`${r}px`,this.diff.viewLineCounts){let c=0;for(let o=0;o"u"?this.defaultValue:le}compute(le,pe,Ce){return Ce}}function a(me,le){return typeof me>"u"?le:me==="false"?!1:!!me}e.boolean=a;class u extends t{constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="boolean",be.default=Ce),super(le,pe,Ce,be)}validate(le){return a(le,this.defaultValue)}}function h(me,le,pe,Ce){if(typeof me>"u")return le;let be=parseInt(me,10);return isNaN(be)?le:(be=Math.max(pe,be),be=Math.min(Ce,be),be|0)}e.clampedInt=h;class r extends t{static clampedInt(le,pe,Ce,be){return h(le,pe,Ce,be)}constructor(le,pe,Ce,be,Ie,Ne=void 0){typeof Ne<"u"&&(Ne.type="integer",Ne.default=Ce,Ne.minimum=be,Ne.maximum=Ie),super(le,pe,Ce,Ne),this.minimum=be,this.maximum=Ie}validate(le){return r.clampedInt(le,this.defaultValue,this.minimum,this.maximum)}}function c(me,le,pe,Ce){if(typeof me>"u")return le;const be=o.float(me,le);return o.clamp(be,pe,Ce)}e.clampedFloat=c;class o extends t{static clamp(le,pe,Ce){return leCe?Ce:le}static float(le,pe){if(typeof le=="number")return le;if(typeof le>"u")return pe;const Ce=parseFloat(le);return isNaN(Ce)?pe:Ce}constructor(le,pe,Ce,be,Ie){typeof Ie<"u"&&(Ie.type="number",Ie.default=Ce),super(le,pe,Ce,Ie),this.validationFn=be}validate(le){return this.validationFn(o.float(le,this.defaultValue))}}class d extends t{static string(le,pe){return typeof le!="string"?pe:le}constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="string",be.default=Ce),super(le,pe,Ce,be)}validate(le){return d.string(le,this.defaultValue)}}function l(me,le,pe,Ce){return typeof me!="string"?le:Ce&&me in Ce?Ce[me]:pe.indexOf(me)===-1?le:me}e.stringSet=l;class p extends t{constructor(le,pe,Ce,be,Ie=void 0){typeof Ie<"u"&&(Ie.type="string",Ie.enum=be,Ie.default=Ce),super(le,pe,Ce,Ie),this._allowedValues=be}validate(le){return l(le,this.defaultValue,this._allowedValues)}}class m extends C{constructor(le,pe,Ce,be,Ie,Ne,Re=void 0){typeof Re<"u"&&(Re.type="string",Re.enum=Ie,Re.default=be),super(le,pe,Ce,Re),this._allowedValues=Ie,this._convert=Ne}validate(le){return typeof le!="string"?this.defaultValue:this._allowedValues.indexOf(le)===-1?this.defaultValue:this._convert(le)}}function v(me){switch(me){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class b extends C{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[f.localize(0,null),f.localize(1,null),f.localize(2,null)],default:"auto",tags:["accessibility"],description:f.localize(3,null)})}validate(le){switch(le){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(le,pe,Ce){return Ce===0?le.accessibilitySupport:Ce}}class w extends C{constructor(){const le={insertSpace:!0,ignoreEmptyLines:!0};super(22,"comments",le,{"editor.comments.insertSpace":{type:"boolean",default:le.insertSpace,description:f.localize(4,null)},"editor.comments.ignoreEmptyLines":{type:"boolean",default:le.ignoreEmptyLines,description:f.localize(5,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertSpace:a(pe.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:a(pe.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function E(me){switch(me){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var I;(function(me){me[me.Line=1]="Line",me[me.Block=2]="Block",me[me.Underline=3]="Underline",me[me.LineThin=4]="LineThin",me[me.BlockOutline=5]="BlockOutline",me[me.UnderlineThin=6]="UnderlineThin"})(I||(e.TextEditorCursorStyle=I={}));function M(me){switch(me){case"line":return I.Line;case"block":return I.Block;case"underline":return I.Underline;case"line-thin":return I.LineThin;case"block-outline":return I.BlockOutline;case"underline-thin":return I.UnderlineThin}}class P extends n{constructor(){super(139)}compute(le,pe,Ce){const be=["monaco-editor"];return pe.get(38)&&be.push(pe.get(38)),le.extraEditorClassName&&be.push(le.extraEditorClassName),pe.get(72)==="default"?be.push("mouse-default"):pe.get(72)==="copy"&&be.push("mouse-copy"),pe.get(109)&&be.push("showUnused"),pe.get(137)&&be.push("showDeprecated"),be.join(" ")}}class x extends u{constructor(){super(36,"emptySelectionClipboard",!0,{description:f.localize(6,null)})}compute(le,pe,Ce){return Ce&&le.emptySelectionClipboard}}class T extends C{constructor(){const le={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(40,"find",le,{"editor.find.cursorMoveOnType":{type:"boolean",default:le.cursorMoveOnType,description:f.localize(7,null)},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:le.seedSearchStringFromSelection,enumDescriptions:[f.localize(8,null),f.localize(9,null),f.localize(10,null)],description:f.localize(11,null)},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:le.autoFindInSelection,enumDescriptions:[f.localize(12,null),f.localize(13,null),f.localize(14,null)],description:f.localize(15,null)},"editor.find.globalFindClipboard":{type:"boolean",default:le.globalFindClipboard,description:f.localize(16,null),included:y.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:le.addExtraSpaceOnTop,description:f.localize(17,null)},"editor.find.loop":{type:"boolean",default:le.loop,description:f.localize(18,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{cursorMoveOnType:a(pe.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof le.seedSearchStringFromSelection=="boolean"?le.seedSearchStringFromSelection?"always":"never":l(pe.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof le.autoFindInSelection=="boolean"?le.autoFindInSelection?"always":"never":l(pe.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:a(pe.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:a(pe.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:a(pe.loop,this.defaultValue.loop)}}}class A extends C{constructor(){super(50,"fontLigatures",A.OFF,{anyOf:[{type:"boolean",description:f.localize(19,null)},{type:"string",description:f.localize(20,null)}],description:f.localize(21,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?A.OFF:le==="true"?A.ON:le:le?A.ON:A.OFF}}e.EditorFontLigatures=A,A.OFF='"liga" off, "calt" off',A.ON='"liga" on, "calt" on';class N extends C{constructor(){super(53,"fontVariations",N.OFF,{anyOf:[{type:"boolean",description:f.localize(22,null)},{type:"string",description:f.localize(23,null)}],description:f.localize(24,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?N.OFF:le==="true"?N.TRANSLATE:le:le?N.TRANSLATE:N.OFF}compute(le,pe,Ce){return le.fontInfo.fontVariationSettings}}e.EditorFontVariations=N,N.OFF="normal",N.TRANSLATE="translate";class F extends n{constructor(){super(49)}compute(le,pe,Ce){return le.fontInfo}}class O extends t{constructor(){super(51,"fontSize",e.EDITOR_FONT_DEFAULTS.fontSize,{type:"number",minimum:6,maximum:100,default:e.EDITOR_FONT_DEFAULTS.fontSize,description:f.localize(25,null)})}validate(le){const pe=o.float(le,this.defaultValue);return pe===0?e.EDITOR_FONT_DEFAULTS.fontSize:o.clamp(pe,6,100)}compute(le,pe,Ce){return le.fontInfo.fontSize}}class W extends C{constructor(){super(52,"fontWeight",e.EDITOR_FONT_DEFAULTS.fontWeight,{anyOf:[{type:"number",minimum:W.MINIMUM_VALUE,maximum:W.MAXIMUM_VALUE,errorMessage:f.localize(26,null)},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:W.SUGGESTION_VALUES}],default:e.EDITOR_FONT_DEFAULTS.fontWeight,description:f.localize(27,null)})}validate(le){return le==="normal"||le==="bold"?le:String(r.clampedInt(le,e.EDITOR_FONT_DEFAULTS.fontWeight,W.MINIMUM_VALUE,W.MAXIMUM_VALUE))}}W.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],W.MINIMUM_VALUE=1,W.MAXIMUM_VALUE=1e3;class U extends C{constructor(){const le={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},pe={type:"string",enum:["peek","gotoAndPeek","goto"],default:le.multiple,enumDescriptions:[f.localize(28,null),f.localize(29,null),f.localize(30,null)]},Ce=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(57,"gotoLocation",le,{"editor.gotoLocation.multiple":{deprecationMessage:f.localize(31,null)},"editor.gotoLocation.multipleDefinitions":Object.assign({description:f.localize(32,null)},pe),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:f.localize(33,null)},pe),"editor.gotoLocation.multipleDeclarations":Object.assign({description:f.localize(34,null)},pe),"editor.gotoLocation.multipleImplementations":Object.assign({description:f.localize(35,null)},pe),"editor.gotoLocation.multipleReferences":Object.assign({description:f.localize(36,null)},pe),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:le.alternativeDefinitionCommand,enum:Ce,description:f.localize(37,null)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:le.alternativeTypeDefinitionCommand,enum:Ce,description:f.localize(38,null)},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:le.alternativeDeclarationCommand,enum:Ce,description:f.localize(39,null)},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:le.alternativeImplementationCommand,enum:Ce,description:f.localize(40,null)},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:le.alternativeReferenceCommand,enum:Ce,description:f.localize(41,null)}})}validate(le){var pe,Ce,be,Ie,Ne;if(!le||typeof le!="object")return this.defaultValue;const Re=le;return{multiple:l(Re.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(pe=Re.multipleDefinitions)!==null&&pe!==void 0?pe:l(Re.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ce=Re.multipleTypeDefinitions)!==null&&Ce!==void 0?Ce:l(Re.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(be=Re.multipleDeclarations)!==null&&be!==void 0?be:l(Re.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Ie=Re.multipleImplementations)!==null&&Ie!==void 0?Ie:l(Re.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(Ne=Re.multipleReferences)!==null&&Ne!==void 0?Ne:l(Re.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:d.string(Re.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:d.string(Re.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:d.string(Re.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:d.string(Re.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:d.string(Re.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class j extends C{constructor(){const le={enabled:!0,delay:300,sticky:!0,above:!0};super(59,"hover",le,{"editor.hover.enabled":{type:"boolean",default:le.enabled,description:f.localize(42,null)},"editor.hover.delay":{type:"number",default:le.delay,minimum:0,maximum:1e4,description:f.localize(43,null)},"editor.hover.sticky":{type:"boolean",default:le.sticky,description:f.localize(44,null)},"editor.hover.above":{type:"boolean",default:le.above,description:f.localize(45,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),delay:r.clampedInt(pe.delay,this.defaultValue.delay,0,1e4),sticky:a(pe.sticky,this.defaultValue.sticky),above:a(pe.above,this.defaultValue.above)}}}class R extends n{constructor(){super(142)}compute(le,pe,Ce){return R.computeLayout(pe,{memory:le.memory,outerWidth:le.outerWidth,outerHeight:le.outerHeight,isDominatedByLongLines:le.isDominatedByLongLines,lineHeight:le.fontInfo.lineHeight,viewLineCount:le.viewLineCount,lineNumbersDigitCount:le.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:le.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:le.fontInfo.maxDigitWidth,pixelRatio:le.pixelRatio,glyphMarginDecorationLaneCount:le.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(le){const pe=le.height/le.lineHeight,Ce=Math.floor(le.paddingTop/le.lineHeight);let be=Math.floor(le.paddingBottom/le.lineHeight);le.scrollBeyondLastLine&&(be=Math.max(be,pe-1));const Ie=(Ce+le.viewLineCount+be)/(le.pixelRatio*le.height),Ne=Math.floor(le.viewLineCount/Ie);return{typicalViewportLineCount:pe,extraLinesBeforeFirstLine:Ce,extraLinesBeyondLastLine:be,desiredRatio:Ie,minimapLineCount:Ne}}static _computeMinimapLayout(le,pe){const Ce=le.outerWidth,be=le.outerHeight,Ie=le.pixelRatio;if(!le.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Ie*be),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:be};const Ne=pe.stableMinimapLayoutInput,Re=Ne&&le.outerHeight===Ne.outerHeight&&le.lineHeight===Ne.lineHeight&&le.typicalHalfwidthCharacterWidth===Ne.typicalHalfwidthCharacterWidth&&le.pixelRatio===Ne.pixelRatio&&le.scrollBeyondLastLine===Ne.scrollBeyondLastLine&&le.paddingTop===Ne.paddingTop&&le.paddingBottom===Ne.paddingBottom&&le.minimap.enabled===Ne.minimap.enabled&&le.minimap.side===Ne.minimap.side&&le.minimap.size===Ne.minimap.size&&le.minimap.showSlider===Ne.minimap.showSlider&&le.minimap.renderCharacters===Ne.minimap.renderCharacters&&le.minimap.maxColumn===Ne.minimap.maxColumn&&le.minimap.scale===Ne.minimap.scale&&le.verticalScrollbarWidth===Ne.verticalScrollbarWidth&&le.isViewportWrapping===Ne.isViewportWrapping,Ve=le.lineHeight,ze=le.typicalHalfwidthCharacterWidth,We=le.scrollBeyondLastLine,qe=le.minimap.renderCharacters;let Oe=Ie>=2?Math.round(le.minimap.scale*2):le.minimap.scale;const Ge=le.minimap.maxColumn,Qe=le.minimap.size,st=le.minimap.side,nt=le.verticalScrollbarWidth,ot=le.viewLineCount,ct=le.remainingWidth,lt=le.isViewportWrapping,gt=qe?2:3;let at=Math.floor(Ie*be);const ht=at/Ie;let Be=!1,Te=!1,xe=gt*Oe,He=Oe/Ie,Ye=1;if(Qe==="fill"||Qe==="fit"){const{typicalViewportLineCount:$e,extraLinesBeforeFirstLine:et,extraLinesBeyondLastLine:tt,desiredRatio:ut,minimapLineCount:it}=R.computeContainedMinimapLineCount({viewLineCount:ot,scrollBeyondLastLine:We,paddingTop:le.paddingTop,paddingBottom:le.paddingBottom,height:be,lineHeight:Ve,pixelRatio:Ie});if(ot/it>1)Be=!0,Te=!0,Oe=1,xe=1,He=Oe/Ie;else{let dt=!1,ft=Oe+1;if(Qe==="fit"){const St=Math.ceil((et+ot+tt)*xe);lt&&Re&&ct<=pe.stableFitRemainingWidth?(dt=!0,ft=pe.stableFitMaxMinimapScale):dt=St>at}if(Qe==="fill"||dt){Be=!0;const St=Oe;xe=Math.min(Ve*Ie,Math.max(1,Math.floor(1/ut))),lt&&Re&&ct<=pe.stableFitRemainingWidth&&(ft=pe.stableFitMaxMinimapScale),Oe=Math.min(ft,Math.max(1,Math.floor(xe/gt))),Oe>St&&(Ye=Math.min(2,Oe/St)),He=Oe/Ie/Ye,at=Math.ceil(Math.max($e,et+ot+tt)*xe),lt?(pe.stableMinimapLayoutInput=le,pe.stableFitRemainingWidth=ct,pe.stableFitMaxMinimapScale=Oe):(pe.stableMinimapLayoutInput=null,pe.stableFitRemainingWidth=0)}}}const Ze=Math.floor(Ge*He),Xe=Math.min(Ze,Math.max(0,Math.floor((ct-nt-2)*He/(ze+He)))+e.MINIMAP_GUTTER_WIDTH);let je=Math.floor(Ie*Xe);const Ae=je/Ie;je=Math.floor(je*Ye);const Ue=qe?1:2,Ke=st==="left"?0:Ce-Xe-nt;return{renderMinimap:Ue,minimapLeft:Ke,minimapWidth:Xe,minimapHeightIsEditorHeight:Be,minimapIsSampling:Te,minimapScale:Oe,minimapLineHeight:xe,minimapCanvasInnerWidth:je,minimapCanvasInnerHeight:at,minimapCanvasOuterWidth:Ae,minimapCanvasOuterHeight:ht}}static computeLayout(le,pe){const Ce=pe.outerWidth|0,be=pe.outerHeight|0,Ie=pe.lineHeight|0,Ne=pe.lineNumbersDigitCount|0,Re=pe.typicalHalfwidthCharacterWidth,Ve=pe.maxDigitWidth,ze=pe.pixelRatio,We=pe.viewLineCount,qe=le.get(134),Oe=qe==="inherit"?le.get(133):qe,Ge=Oe==="inherit"?le.get(129):Oe,Qe=le.get(132),st=pe.isDominatedByLongLines,nt=le.get(56),ot=le.get(66).renderType!==0,ct=le.get(67),lt=le.get(103),gt=le.get(82),at=le.get(71),ht=le.get(101),Be=ht.verticalScrollbarSize,Te=ht.verticalHasArrows,xe=ht.arrowSize,He=ht.horizontalScrollbarSize,Ye=le.get(42),Ze=le.get(108)!=="never";let Xe=le.get(64);Ye&&Ze&&(Xe+=16);let je=0;if(ot){const wt=Math.max(Ne,ct);je=Math.round(wt*Ve)}let Ae=0;nt&&(Ae=Ie*pe.glyphMarginDecorationLaneCount);let Ue=0,Ke=Ue+Ae,$e=Ke+je,et=$e+Xe;const tt=Ce-Ae-je-Xe;let ut=!1,it=!1,rt=-1;Oe==="inherit"&&st?(ut=!0,it=!0):Ge==="on"||Ge==="bounded"?it=!0:Ge==="wordWrapColumn"&&(rt=Qe);const dt=R._computeMinimapLayout({outerWidth:Ce,outerHeight:be,lineHeight:Ie,typicalHalfwidthCharacterWidth:Re,pixelRatio:ze,scrollBeyondLastLine:lt,paddingTop:gt.top,paddingBottom:gt.bottom,minimap:at,verticalScrollbarWidth:Be,viewLineCount:We,remainingWidth:tt,isViewportWrapping:it},pe.memory||new g);dt.renderMinimap!==0&&dt.minimapLeft===0&&(Ue+=dt.minimapWidth,Ke+=dt.minimapWidth,$e+=dt.minimapWidth,et+=dt.minimapWidth);const ft=tt-dt.minimapWidth,St=Math.max(1,Math.floor((ft-Be-2)/Re)),mt=Te?xe:0;return it&&(rt=Math.max(1,St),Ge==="bounded"&&(rt=Math.min(rt,Qe))),{width:Ce,height:be,glyphMarginLeft:Ue,glyphMarginWidth:Ae,glyphMarginDecorationLaneCount:pe.glyphMarginDecorationLaneCount,lineNumbersLeft:Ke,lineNumbersWidth:je,decorationsLeft:$e,decorationsWidth:Xe,contentLeft:et,contentWidth:ft,minimap:dt,viewportColumn:St,isWordWrapMinified:ut,isViewportWrapping:it,wrappingColumn:rt,verticalScrollbarWidth:Be,horizontalScrollbarHeight:He,overviewRuler:{top:mt,width:Be,height:be-2*mt,right:0}}}}e.EditorLayoutInfoComputer=R;class K extends C{constructor(){super(136,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[f.localize(46,null),f.localize(47,null)],type:"string",enum:["simple","advanced"],default:"simple",description:f.localize(48,null)}})}validate(le){return l(le,"simple",["simple","advanced"])}compute(le,pe,Ce){return pe.get(2)===2?"advanced":Ce}}class G extends C{constructor(){const le={enabled:!0};super(63,"lightbulb",le,{"editor.lightbulb.enabled":{type:"boolean",default:le.enabled,description:f.localize(49,null)}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{enabled:a(le.enabled,this.defaultValue.enabled)}}}class Z extends C{constructor(){const le={enabled:!1,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(113,"stickyScroll",le,{"editor.stickyScroll.enabled":{type:"boolean",default:le.enabled,description:f.localize(50,null)},"editor.stickyScroll.maxLineCount":{type:"number",default:le.maxLineCount,minimum:1,maximum:10,description:f.localize(51,null)},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:le.defaultModel,description:f.localize(52,null)},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:le.scrollWithEditor,description:f.localize(53,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),maxLineCount:r.clampedInt(pe.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:l(pe.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:a(pe.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class J extends C{constructor(){const le={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(138,"inlayHints",le,{"editor.inlayHints.enabled":{type:"string",default:le.enabled,description:f.localize(54,null),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[f.localize(55,null),f.localize(56,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(57,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(58,null)]},"editor.inlayHints.fontSize":{type:"number",default:le.fontSize,markdownDescription:f.localize(59,null,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:le.fontFamily,markdownDescription:f.localize(60,null,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:le.padding,description:f.localize(61,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return typeof pe.enabled=="boolean"&&(pe.enabled=pe.enabled?"on":"off"),{enabled:l(pe.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:r.clampedInt(pe.fontSize,this.defaultValue.fontSize,0,100),fontFamily:d.string(pe.fontFamily,this.defaultValue.fontFamily),padding:a(pe.padding,this.defaultValue.padding)}}}class X extends C{constructor(){super(64,"lineDecorationsWidth",10)}validate(le){return typeof le=="string"&&/^\d+(\.\d+)?ch$/.test(le)?-parseFloat(le.substring(0,le.length-2)):r.clampedInt(le,this.defaultValue,0,1e3)}compute(le,pe,Ce){return Ce<0?r.clampedInt(-Ce*le.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):Ce}}class H extends o{constructor(){super(65,"lineHeight",e.EDITOR_FONT_DEFAULTS.lineHeight,le=>o.clamp(le,0,150),{markdownDescription:f.localize(62,null)})}compute(le,pe,Ce){return le.fontInfo.lineHeight}}class B extends C{constructor(){const le={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(71,"minimap",le,{"editor.minimap.enabled":{type:"boolean",default:le.enabled,description:f.localize(63,null)},"editor.minimap.autohide":{type:"boolean",default:le.autohide,description:f.localize(64,null)},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[f.localize(65,null),f.localize(66,null),f.localize(67,null)],default:le.size,description:f.localize(68,null)},"editor.minimap.side":{type:"string",enum:["left","right"],default:le.side,description:f.localize(69,null)},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:le.showSlider,description:f.localize(70,null)},"editor.minimap.scale":{type:"number",default:le.scale,minimum:1,maximum:3,enum:[1,2,3],description:f.localize(71,null)},"editor.minimap.renderCharacters":{type:"boolean",default:le.renderCharacters,description:f.localize(72,null)},"editor.minimap.maxColumn":{type:"number",default:le.maxColumn,description:f.localize(73,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),autohide:a(pe.autohide,this.defaultValue.autohide),size:l(pe.size,this.defaultValue.size,["proportional","fill","fit"]),side:l(pe.side,this.defaultValue.side,["right","left"]),showSlider:l(pe.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:a(pe.renderCharacters,this.defaultValue.renderCharacters),scale:r.clampedInt(pe.scale,1,1,3),maxColumn:r.clampedInt(pe.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function V(me){return me==="ctrlCmd"?y.isMacintosh?"metaKey":"ctrlKey":"altKey"}class Y extends C{constructor(){super(82,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(74,null)},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(75,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{top:r.clampedInt(pe.top,0,0,1e3),bottom:r.clampedInt(pe.bottom,0,0,1e3)}}}class ie extends C{constructor(){const le={enabled:!0,cycle:!0};super(84,"parameterHints",le,{"editor.parameterHints.enabled":{type:"boolean",default:le.enabled,description:f.localize(76,null)},"editor.parameterHints.cycle":{type:"boolean",default:le.cycle,description:f.localize(77,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),cycle:a(pe.cycle,this.defaultValue.cycle)}}}class ae extends n{constructor(){super(140)}compute(le,pe,Ce){return le.pixelRatio}}class ce extends C{constructor(){const le={other:"on",comments:"off",strings:"off"},pe=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[f.localize(78,null),f.localize(79,null),f.localize(80,null)]}];super(87,"quickSuggestions",le,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:pe,default:le.strings,description:f.localize(81,null)},comments:{anyOf:pe,default:le.comments,description:f.localize(82,null)},other:{anyOf:pe,default:le.other,description:f.localize(83,null)}},default:le,markdownDescription:f.localize(84,null,"#editor.suggestOnTriggerCharacters#")}),this.defaultValue=le}validate(le){if(typeof le=="boolean"){const ze=le?"on":"off";return{comments:ze,strings:ze,other:ze}}if(!le||typeof le!="object")return this.defaultValue;const{other:pe,comments:Ce,strings:be}=le,Ie=["on","inline","off"];let Ne,Re,Ve;return typeof pe=="boolean"?Ne=pe?"on":"off":Ne=l(pe,this.defaultValue.other,Ie),typeof Ce=="boolean"?Re=Ce?"on":"off":Re=l(Ce,this.defaultValue.comments,Ie),typeof be=="boolean"?Ve=be?"on":"off":Ve=l(be,this.defaultValue.strings,Ie),{other:Ne,comments:Re,strings:Ve}}}class de extends C{constructor(){super(66,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[f.localize(85,null),f.localize(86,null),f.localize(87,null),f.localize(88,null)],default:"on",description:f.localize(89,null)})}validate(le){let pe=this.defaultValue.renderType,Ce=this.defaultValue.renderFn;return typeof le<"u"&&(typeof le=="function"?(pe=4,Ce=le):le==="interval"?pe=3:le==="relative"?pe=2:le==="on"?pe=1:pe=0),{renderType:pe,renderFn:Ce}}}function he(me){const le=me.get(96);return le==="editable"?me.get(89):le!=="on"}e.filterValidationDecorations=he;class ue extends C{constructor(){const le=[],pe={type:"number",description:f.localize(90,null)};super(100,"rulers",le,{type:"array",items:{anyOf:[pe,{type:["object"],properties:{column:pe,color:{type:"string",description:f.localize(91,null),format:"color-hex"}}}]},default:le,description:f.localize(92,null)})}validate(le){if(Array.isArray(le)){const pe=[];for(const Ce of le)if(typeof Ce=="number")pe.push({column:r.clampedInt(Ce,0,0,1e4),color:null});else if(Ce&&typeof Ce=="object"){const be=Ce;pe.push({column:r.clampedInt(be.column,0,0,1e4),color:be.color})}return pe.sort((Ce,be)=>Ce.column-be.column),pe}return this.defaultValue}}class te extends C{constructor(){super(90,"readOnlyMessage",void 0)}validate(le){return!le||typeof le!="object"?this.defaultValue:le}}function q(me,le){if(typeof me!="string")return le;switch(me){case"hidden":return 2;case"visible":return 3;default:return 1}}class z extends C{constructor(){const le={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(101,"scrollbar",le,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(93,null),f.localize(94,null),f.localize(95,null)],default:"auto",description:f.localize(96,null)},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(97,null),f.localize(98,null),f.localize(99,null)],default:"auto",description:f.localize(100,null)},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:le.verticalScrollbarSize,description:f.localize(101,null)},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:le.horizontalScrollbarSize,description:f.localize(102,null)},"editor.scrollbar.scrollByPage":{type:"boolean",default:le.scrollByPage,description:f.localize(103,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le,Ce=r.clampedInt(pe.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),be=r.clampedInt(pe.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:r.clampedInt(pe.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:q(pe.vertical,this.defaultValue.vertical),horizontal:q(pe.horizontal,this.defaultValue.horizontal),useShadows:a(pe.useShadows,this.defaultValue.useShadows),verticalHasArrows:a(pe.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:a(pe.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:a(pe.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:a(pe.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:Ce,horizontalSliderSize:r.clampedInt(pe.horizontalSliderSize,Ce,0,1e3),verticalScrollbarSize:be,verticalSliderSize:r.clampedInt(pe.verticalSliderSize,be,0,1e3),scrollByPage:a(pe.scrollByPage,this.defaultValue.scrollByPage)}}}e.inUntrustedWorkspace="inUntrustedWorkspace",e.unicodeHighlightConfigKeys={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class ee extends C{constructor(){const le={nonBasicASCII:e.inUntrustedWorkspace,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:e.inUntrustedWorkspace,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(123,"unicodeHighlight",le,{[e.unicodeHighlightConfigKeys.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.nonBasicASCII,description:f.localize(104,null)},[e.unicodeHighlightConfigKeys.invisibleCharacters]:{restricted:!0,type:"boolean",default:le.invisibleCharacters,description:f.localize(105,null)},[e.unicodeHighlightConfigKeys.ambiguousCharacters]:{restricted:!0,type:"boolean",default:le.ambiguousCharacters,description:f.localize(106,null)},[e.unicodeHighlightConfigKeys.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeComments,description:f.localize(107,null)},[e.unicodeHighlightConfigKeys.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeStrings,description:f.localize(108,null)},[e.unicodeHighlightConfigKeys.allowedCharacters]:{restricted:!0,type:"object",default:le.allowedCharacters,description:f.localize(109,null),additionalProperties:{type:"boolean"}},[e.unicodeHighlightConfigKeys.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:le.allowedLocales,description:f.localize(110,null)}})}applyUpdate(le,pe){let Ce=!1;pe.allowedCharacters&&le&&(k.equals(le.allowedCharacters,pe.allowedCharacters)||(le=Object.assign(Object.assign({},le),{allowedCharacters:pe.allowedCharacters}),Ce=!0)),pe.allowedLocales&&le&&(k.equals(le.allowedLocales,pe.allowedLocales)||(le=Object.assign(Object.assign({},le),{allowedLocales:pe.allowedLocales}),Ce=!0));const be=super.applyUpdate(le,pe);return Ce?new s(be.newValue,!0):be}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{nonBasicASCII:ge(pe.nonBasicASCII,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),invisibleCharacters:a(pe.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:a(pe.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:ge(pe.includeComments,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),includeStrings:ge(pe.includeStrings,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),allowedCharacters:this.validateBooleanMap(le.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(le.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(le,pe){if(typeof le!="object"||!le)return pe;const Ce={};for(const[be,Ie]of Object.entries(le))Ie===!0&&(Ce[be]=!0);return Ce}}class $ extends C{constructor(){const le={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1};super(61,"inlineSuggest",le,{"editor.inlineSuggest.enabled":{type:"boolean",default:le.enabled,description:f.localize(111,null)},"editor.inlineSuggest.showToolbar":{type:"string",default:le.showToolbar,enum:["always","onHover"],enumDescriptions:[f.localize(112,null),f.localize(113,null)],description:f.localize(114,null)},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:le.suppressSuggestions,description:f.localize(115,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),mode:l(pe.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:l(pe.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:a(pe.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:a(pe.keepOnBlur,this.defaultValue.keepOnBlur)}}}class re extends C{constructor(){const le={enabled:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(14,"bracketPairColorization",le,{"editor.bracketPairColorization.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(116,null,"`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:le.independentColorPoolPerBracketType,description:f.localize(117,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:a(pe.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class oe extends C{constructor(){const le={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(15,"guides",le,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(118,null),f.localize(119,null),f.localize(120,null)],default:le.bracketPairs,description:f.localize(121,null)},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(122,null),f.localize(123,null),f.localize(124,null)],default:le.bracketPairsHorizontal,description:f.localize(125,null)},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:le.highlightActiveBracketPair,description:f.localize(126,null)},"editor.guides.indentation":{type:"boolean",default:le.indentation,description:f.localize(127,null)},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[f.localize(128,null),f.localize(129,null),f.localize(130,null)],default:le.highlightActiveIndentation,description:f.localize(131,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{bracketPairs:ge(pe.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:ge(pe.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:a(pe.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:a(pe.indentation,this.defaultValue.indentation),highlightActiveIndentation:ge(pe.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function ge(me,le,pe){const Ce=pe.indexOf(me);return Ce===-1?le:pe[Ce]}class ve extends C{constructor(){const le={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(116,"suggest",le,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[f.localize(132,null),f.localize(133,null)],default:le.insertMode,description:f.localize(134,null)},"editor.suggest.filterGraceful":{type:"boolean",default:le.filterGraceful,description:f.localize(135,null)},"editor.suggest.localityBonus":{type:"boolean",default:le.localityBonus,description:f.localize(136,null)},"editor.suggest.shareSuggestSelections":{type:"boolean",default:le.shareSuggestSelections,markdownDescription:f.localize(137,null)},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[f.localize(138,null),f.localize(139,null),f.localize(140,null),f.localize(141,null)],default:le.selectionMode,markdownDescription:f.localize(142,null)},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:le.snippetsPreventQuickSuggestions,description:f.localize(143,null)},"editor.suggest.showIcons":{type:"boolean",default:le.showIcons,description:f.localize(144,null)},"editor.suggest.showStatusBar":{type:"boolean",default:le.showStatusBar,description:f.localize(145,null)},"editor.suggest.preview":{type:"boolean",default:le.preview,description:f.localize(146,null)},"editor.suggest.showInlineDetails":{type:"boolean",default:le.showInlineDetails,description:f.localize(147,null)},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:f.localize(148,null)},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:f.localize(149,null)},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:f.localize(150,null)},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:f.localize(151,null)},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:f.localize(152,null)},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:f.localize(153,null)},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:f.localize(154,null)},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:f.localize(155,null)},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:f.localize(156,null)},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:f.localize(157,null)},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:f.localize(158,null)},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:f.localize(159,null)},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:f.localize(160,null)},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:f.localize(161,null)},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:f.localize(162,null)},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:f.localize(163,null)},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:f.localize(164,null)},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:f.localize(165,null)},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:f.localize(166,null)},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:f.localize(167,null)},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:f.localize(168,null)},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:f.localize(169,null)},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:f.localize(170,null)},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:f.localize(171,null)},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:f.localize(172,null)},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:f.localize(173,null)},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:f.localize(174,null)},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:f.localize(175,null)},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:f.localize(176,null)},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:f.localize(177,null)},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:f.localize(178,null)},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:f.localize(179,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertMode:l(pe.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:a(pe.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:a(pe.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:a(pe.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:a(pe.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:l(pe.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:a(pe.showIcons,this.defaultValue.showIcons),showStatusBar:a(pe.showStatusBar,this.defaultValue.showStatusBar),preview:a(pe.preview,this.defaultValue.preview),previewMode:l(pe.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:a(pe.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:a(pe.showMethods,this.defaultValue.showMethods),showFunctions:a(pe.showFunctions,this.defaultValue.showFunctions),showConstructors:a(pe.showConstructors,this.defaultValue.showConstructors),showDeprecated:a(pe.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:a(pe.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:a(pe.showFields,this.defaultValue.showFields),showVariables:a(pe.showVariables,this.defaultValue.showVariables),showClasses:a(pe.showClasses,this.defaultValue.showClasses),showStructs:a(pe.showStructs,this.defaultValue.showStructs),showInterfaces:a(pe.showInterfaces,this.defaultValue.showInterfaces),showModules:a(pe.showModules,this.defaultValue.showModules),showProperties:a(pe.showProperties,this.defaultValue.showProperties),showEvents:a(pe.showEvents,this.defaultValue.showEvents),showOperators:a(pe.showOperators,this.defaultValue.showOperators),showUnits:a(pe.showUnits,this.defaultValue.showUnits),showValues:a(pe.showValues,this.defaultValue.showValues),showConstants:a(pe.showConstants,this.defaultValue.showConstants),showEnums:a(pe.showEnums,this.defaultValue.showEnums),showEnumMembers:a(pe.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:a(pe.showKeywords,this.defaultValue.showKeywords),showWords:a(pe.showWords,this.defaultValue.showWords),showColors:a(pe.showColors,this.defaultValue.showColors),showFiles:a(pe.showFiles,this.defaultValue.showFiles),showReferences:a(pe.showReferences,this.defaultValue.showReferences),showFolders:a(pe.showFolders,this.defaultValue.showFolders),showTypeParameters:a(pe.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:a(pe.showSnippets,this.defaultValue.showSnippets),showUsers:a(pe.showUsers,this.defaultValue.showUsers),showIssues:a(pe.showIssues,this.defaultValue.showIssues)}}}class Se extends C{constructor(){super(111,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:f.localize(180,null),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:f.localize(181,null),default:!0,type:"boolean"}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:a(le.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:a(le.selectSubwords,this.defaultValue.selectSubwords)}}}class Le extends C{constructor(){super(135,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[f.localize(182,null),f.localize(183,null),f.localize(184,null),f.localize(185,null)],description:f.localize(186,null),default:"same"}})}validate(le){switch(le){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(le,pe,Ce){return pe.get(2)===2?0:Ce}}class De extends n{constructor(){super(143)}compute(le,pe,Ce){const be=pe.get(142);return{isDominatedByLongLines:le.isDominatedByLongLines,isWordWrapMinified:be.isWordWrapMinified,isViewportWrapping:be.isViewportWrapping,wrappingColumn:be.wrappingColumn}}}class ye extends C{constructor(){const le={enabled:!0,showDropSelector:"afterDrop"};super(35,"dropIntoEditor",le,{"editor.dropIntoEditor.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(187,null)},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:f.localize(188,null),enum:["afterDrop","never"],enumDescriptions:[f.localize(189,null),f.localize(190,null)],default:"afterDrop"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showDropSelector:l(pe.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class Ee extends C{constructor(){const le={enabled:!0,showPasteSelector:"afterPaste"};super(83,"pasteAs",le,{"editor.pasteAs.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(191,null)},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:f.localize(192,null),enum:["afterPaste","never"],enumDescriptions:[f.localize(193,null),f.localize(194,null)],default:"afterPaste"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showPasteSelector:l(pe.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const Me="Consolas, 'Courier New', monospace",Pe="Menlo, Monaco, 'Courier New', monospace",Fe="'Droid Sans Mono', 'monospace', monospace";e.EDITOR_FONT_DEFAULTS={fontFamily:y.isMacintosh?Pe:y.isLinux?Fe:Me,fontWeight:"normal",fontSize:y.isMacintosh?12:14,lineHeight:0,letterSpacing:0},e.editorOptionsRegistry=[];function _e(me){return e.editorOptionsRegistry[me.id]=me,me}e.EditorOptions={acceptSuggestionOnCommitCharacter:_e(new u(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:f.localize(195,null)})),acceptSuggestionOnEnter:_e(new p(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",f.localize(196,null),""],markdownDescription:f.localize(197,null)})),accessibilitySupport:_e(new b),accessibilityPageSize:_e(new r(3,"accessibilityPageSize",10,1,1073741824,{description:f.localize(198,null),tags:["accessibility"]})),ariaLabel:_e(new d(4,"ariaLabel",f.localize(199,null))),ariaRequired:_e(new u(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:_e(new u(7,"screenReaderAnnounceInlineSuggestion",!0,{description:f.localize(200,null),tags:["accessibility"]})),autoClosingBrackets:_e(new p(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(201,null),f.localize(202,null),""],description:f.localize(203,null)})),autoClosingDelete:_e(new p(8,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",f.localize(204,null),""],description:f.localize(205,null)})),autoClosingOvertype:_e(new p(9,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",f.localize(206,null),""],description:f.localize(207,null)})),autoClosingQuotes:_e(new p(10,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(208,null),f.localize(209,null),""],description:f.localize(210,null)})),autoIndent:_e(new m(11,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],v,{enumDescriptions:[f.localize(211,null),f.localize(212,null),f.localize(213,null),f.localize(214,null),f.localize(215,null)],description:f.localize(216,null)})),automaticLayout:_e(new u(12,"automaticLayout",!1)),autoSurround:_e(new p(13,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[f.localize(217,null),f.localize(218,null),f.localize(219,null),""],description:f.localize(220,null)})),bracketPairColorization:_e(new re),bracketPairGuides:_e(new oe),stickyTabStops:_e(new u(114,"stickyTabStops",!1,{description:f.localize(221,null)})),codeLens:_e(new u(16,"codeLens",!0,{description:f.localize(222,null)})),codeLensFontFamily:_e(new d(17,"codeLensFontFamily","",{description:f.localize(223,null)})),codeLensFontSize:_e(new r(18,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:f.localize(224,null)})),colorDecorators:_e(new u(19,"colorDecorators",!0,{description:f.localize(225,null)})),colorDecoratorActivatedOn:_e(new p(145,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[f.localize(226,null),f.localize(227,null),f.localize(228,null)],description:f.localize(229,null)})),colorDecoratorsLimit:_e(new r(20,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:f.localize(230,null)})),columnSelection:_e(new u(21,"columnSelection",!1,{description:f.localize(231,null)})),comments:_e(new w),contextmenu:_e(new u(23,"contextmenu",!0)),copyWithSyntaxHighlighting:_e(new u(24,"copyWithSyntaxHighlighting",!0,{description:f.localize(232,null)})),cursorBlinking:_e(new m(25,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],E,{description:f.localize(233,null)})),cursorSmoothCaretAnimation:_e(new p(26,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[f.localize(234,null),f.localize(235,null),f.localize(236,null)],description:f.localize(237,null)})),cursorStyle:_e(new m(27,"cursorStyle",I.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],M,{description:f.localize(238,null)})),cursorSurroundingLines:_e(new r(28,"cursorSurroundingLines",0,0,1073741824,{description:f.localize(239,null)})),cursorSurroundingLinesStyle:_e(new p(29,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[f.localize(240,null),f.localize(241,null)],description:f.localize(242,null)})),cursorWidth:_e(new r(30,"cursorWidth",0,0,1073741824,{markdownDescription:f.localize(243,null)})),disableLayerHinting:_e(new u(31,"disableLayerHinting",!1)),disableMonospaceOptimizations:_e(new u(32,"disableMonospaceOptimizations",!1)),domReadOnly:_e(new u(33,"domReadOnly",!1)),dragAndDrop:_e(new u(34,"dragAndDrop",!0,{description:f.localize(244,null)})),emptySelectionClipboard:_e(new x),dropIntoEditor:_e(new ye),stickyScroll:_e(new Z),experimentalWhitespaceRendering:_e(new p(37,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[f.localize(245,null),f.localize(246,null),f.localize(247,null)],description:f.localize(248,null)})),extraEditorClassName:_e(new d(38,"extraEditorClassName","")),fastScrollSensitivity:_e(new o(39,"fastScrollSensitivity",5,me=>me<=0?5:me,{markdownDescription:f.localize(249,null)})),find:_e(new T),fixedOverflowWidgets:_e(new u(41,"fixedOverflowWidgets",!1)),folding:_e(new u(42,"folding",!0,{description:f.localize(250,null)})),foldingStrategy:_e(new p(43,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[f.localize(251,null),f.localize(252,null)],description:f.localize(253,null)})),foldingHighlight:_e(new u(44,"foldingHighlight",!0,{description:f.localize(254,null)})),foldingImportsByDefault:_e(new u(45,"foldingImportsByDefault",!1,{description:f.localize(255,null)})),foldingMaximumRegions:_e(new r(46,"foldingMaximumRegions",5e3,10,65e3,{description:f.localize(256,null)})),unfoldOnClickAfterEndOfLine:_e(new u(47,"unfoldOnClickAfterEndOfLine",!1,{description:f.localize(257,null)})),fontFamily:_e(new d(48,"fontFamily",e.EDITOR_FONT_DEFAULTS.fontFamily,{description:f.localize(258,null)})),fontInfo:_e(new F),fontLigatures2:_e(new A),fontSize:_e(new O),fontWeight:_e(new W),fontVariations:_e(new N),formatOnPaste:_e(new u(54,"formatOnPaste",!1,{description:f.localize(259,null)})),formatOnType:_e(new u(55,"formatOnType",!1,{description:f.localize(260,null)})),glyphMargin:_e(new u(56,"glyphMargin",!0,{description:f.localize(261,null)})),gotoLocation:_e(new U),hideCursorInOverviewRuler:_e(new u(58,"hideCursorInOverviewRuler",!1,{description:f.localize(262,null)})),hover:_e(new j),inDiffEditor:_e(new u(60,"inDiffEditor",!1)),letterSpacing:_e(new o(62,"letterSpacing",e.EDITOR_FONT_DEFAULTS.letterSpacing,me=>o.clamp(me,-5,20),{description:f.localize(263,null)})),lightbulb:_e(new G),lineDecorationsWidth:_e(new X),lineHeight:_e(new H),lineNumbers:_e(new de),lineNumbersMinChars:_e(new r(67,"lineNumbersMinChars",5,1,300)),linkedEditing:_e(new u(68,"linkedEditing",!1,{description:f.localize(264,null)})),links:_e(new u(69,"links",!0,{description:f.localize(265,null)})),matchBrackets:_e(new p(70,"matchBrackets","always",["always","near","never"],{description:f.localize(266,null)})),minimap:_e(new B),mouseStyle:_e(new p(72,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:_e(new o(73,"mouseWheelScrollSensitivity",1,me=>me===0?1:me,{markdownDescription:f.localize(267,null)})),mouseWheelZoom:_e(new u(74,"mouseWheelZoom",!1,{markdownDescription:f.localize(268,null)})),multiCursorMergeOverlapping:_e(new u(75,"multiCursorMergeOverlapping",!0,{description:f.localize(269,null)})),multiCursorModifier:_e(new m(76,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],V,{markdownEnumDescriptions:[f.localize(270,null),f.localize(271,null)],markdownDescription:f.localize(272,null)})),multiCursorPaste:_e(new p(77,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[f.localize(273,null),f.localize(274,null)],markdownDescription:f.localize(275,null)})),multiCursorLimit:_e(new r(78,"multiCursorLimit",1e4,1,1e5,{markdownDescription:f.localize(276,null)})),occurrencesHighlight:_e(new u(79,"occurrencesHighlight",!0,{description:f.localize(277,null)})),overviewRulerBorder:_e(new u(80,"overviewRulerBorder",!0,{description:f.localize(278,null)})),overviewRulerLanes:_e(new r(81,"overviewRulerLanes",3,0,3)),padding:_e(new Y),pasteAs:_e(new Ee),parameterHints:_e(new ie),peekWidgetDefaultFocus:_e(new p(85,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[f.localize(279,null),f.localize(280,null)],description:f.localize(281,null)})),definitionLinkOpensInPeek:_e(new u(86,"definitionLinkOpensInPeek",!1,{description:f.localize(282,null)})),quickSuggestions:_e(new ce),quickSuggestionsDelay:_e(new r(88,"quickSuggestionsDelay",10,0,1073741824,{description:f.localize(283,null)})),readOnly:_e(new u(89,"readOnly",!1)),readOnlyMessage:_e(new te),renameOnType:_e(new u(91,"renameOnType",!1,{description:f.localize(284,null),markdownDeprecationMessage:f.localize(285,null)})),renderControlCharacters:_e(new u(92,"renderControlCharacters",!0,{description:f.localize(286,null),restricted:!0})),renderFinalNewline:_e(new p(93,"renderFinalNewline",y.isLinux?"dimmed":"on",["off","on","dimmed"],{description:f.localize(287,null)})),renderLineHighlight:_e(new p(94,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",f.localize(288,null)],description:f.localize(289,null)})),renderLineHighlightOnlyWhenFocus:_e(new u(95,"renderLineHighlightOnlyWhenFocus",!1,{description:f.localize(290,null)})),renderValidationDecorations:_e(new p(96,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:_e(new p(97,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",f.localize(291,null),f.localize(292,null),f.localize(293,null),""],description:f.localize(294,null)})),revealHorizontalRightPadding:_e(new r(98,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:_e(new u(99,"roundedSelection",!0,{description:f.localize(295,null)})),rulers:_e(new ue),scrollbar:_e(new z),scrollBeyondLastColumn:_e(new r(102,"scrollBeyondLastColumn",4,0,1073741824,{description:f.localize(296,null)})),scrollBeyondLastLine:_e(new u(103,"scrollBeyondLastLine",!0,{description:f.localize(297,null)})),scrollPredominantAxis:_e(new u(104,"scrollPredominantAxis",!0,{description:f.localize(298,null)})),selectionClipboard:_e(new u(105,"selectionClipboard",!0,{description:f.localize(299,null),included:y.isLinux})),selectionHighlight:_e(new u(106,"selectionHighlight",!0,{description:f.localize(300,null)})),selectOnLineNumbers:_e(new u(107,"selectOnLineNumbers",!0)),showFoldingControls:_e(new p(108,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[f.localize(301,null),f.localize(302,null),f.localize(303,null)],description:f.localize(304,null)})),showUnused:_e(new u(109,"showUnused",!0,{description:f.localize(305,null)})),showDeprecated:_e(new u(137,"showDeprecated",!0,{description:f.localize(306,null)})),inlayHints:_e(new J),snippetSuggestions:_e(new p(110,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[f.localize(307,null),f.localize(308,null),f.localize(309,null),f.localize(310,null)],description:f.localize(311,null)})),smartSelect:_e(new Se),smoothScrolling:_e(new u(112,"smoothScrolling",!1,{description:f.localize(312,null)})),stopRenderingLineAfter:_e(new r(115,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:_e(new ve),inlineSuggest:_e(new $),inlineCompletionsAccessibilityVerbose:_e(new u(146,"inlineCompletionsAccessibilityVerbose",!1,{description:f.localize(313,null)})),suggestFontSize:_e(new r(117,"suggestFontSize",0,0,1e3,{markdownDescription:f.localize(314,null,"`0`","`#editor.fontSize#`")})),suggestLineHeight:_e(new r(118,"suggestLineHeight",0,0,1e3,{markdownDescription:f.localize(315,null,"`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:_e(new u(119,"suggestOnTriggerCharacters",!0,{description:f.localize(316,null)})),suggestSelection:_e(new p(120,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[f.localize(317,null),f.localize(318,null),f.localize(319,null)],description:f.localize(320,null)})),tabCompletion:_e(new p(121,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[f.localize(321,null),f.localize(322,null),f.localize(323,null)],description:f.localize(324,null)})),tabIndex:_e(new r(122,"tabIndex",0,-1,1073741824)),unicodeHighlight:_e(new ee),unusualLineTerminators:_e(new p(124,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[f.localize(325,null),f.localize(326,null),f.localize(327,null)],description:f.localize(328,null)})),useShadowDOM:_e(new u(125,"useShadowDOM",!0)),useTabStops:_e(new u(126,"useTabStops",!0,{description:f.localize(329,null)})),wordBreak:_e(new p(127,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[f.localize(330,null),f.localize(331,null)],description:f.localize(332,null)})),wordSeparators:_e(new d(128,"wordSeparators",S.USUAL_WORD_SEPARATORS,{description:f.localize(333,null)})),wordWrap:_e(new p(129,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[f.localize(334,null),f.localize(335,null),f.localize(336,null),f.localize(337,null)],description:f.localize(338,null)})),wordWrapBreakAfterCharacters:_e(new d(130,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:_e(new d(131,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:_e(new r(132,"wordWrapColumn",80,1,1073741824,{markdownDescription:f.localize(339,null)})),wordWrapOverride1:_e(new p(133,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:_e(new p(134,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:_e(new P),defaultColorDecorators:_e(new u(144,"defaultColorDecorators",!1,{markdownDescription:f.localize(340,null)})),pixelRatio:_e(new ae),tabFocusMode:_e(new u(141,"tabFocusMode",!1,{markdownDescription:f.localize(341,null)})),layoutInfo:_e(new R),wrappingInfo:_e(new De),wrappingIndent:_e(new Le),wrappingStrategy:_e(new K)}}),define(ne[620],se([1,0,7,35,11,59,36,12,5,173]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursor=void 0;class C{constructor(n,t,a,u,h,r,c){this.top=n,this.left=t,this.paddingLeft=a,this.width=u,this.height=h,this.textContent=r,this.textContentClassName=c}}class s{constructor(n){this._context=n;const t=this._context.configuration.options,a=t.get(49);this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,k.createFastDomNode)(document.createElement("div")),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,D.applyFontInfo)(this._domNode,a),this._domNode.setDisplay("none"),this._position=new f.Position(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(49);return this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),(0,D.applyFontInfo)(this._domNode,a),!0}onCursorPositionChanged(n,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=n,!0}_getGraphemeAwarePosition(){const{lineNumber:n,column:t}=this._position,a=this._context.viewModel.getLineContent(n),[u,h]=y.getCharContainingOffset(a,t-1);return[new f.Position(n,u+1),a.substring(u,h)]}_prepareRender(n){let t="",a="";const[u,h]=this._getGraphemeAwarePosition();if(this._cursorStyle===S.TextEditorCursorStyle.Line||this._cursorStyle===S.TextEditorCursorStyle.LineThin){const m=n.visibleRangeForPosition(u);if(!m||m.outsideRenderedLine)return null;let v;this._cursorStyle===S.TextEditorCursorStyle.Line?(v=L.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),v>2&&(t=h,a=this._getTokenClassName(u))):v=L.computeScreenAwareSize(1);let b=m.left,w=0;v>=2&&b>=1&&(w=1,b-=w);const E=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta;return new C(E,b,w,v,this._lineHeight,t,a)}const r=n.linesVisibleRangesForRange(new _.Range(u.lineNumber,u.column,u.lineNumber,u.column+h.length),!1);if(!r||r.length===0)return null;const c=r[0];if(c.outsideRenderedLine||c.ranges.length===0)return null;const o=c.ranges[0],d=h===" "?this._typicalHalfwidthCharacterWidth:o.width<1?this._typicalHalfwidthCharacterWidth:o.width;this._cursorStyle===S.TextEditorCursorStyle.Block&&(t=h,a=this._getTokenClassName(u));let l=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta,p=this._lineHeight;return(this._cursorStyle===S.TextEditorCursorStyle.Underline||this._cursorStyle===S.TextEditorCursorStyle.UnderlineThin)&&(l+=this._lineHeight-2,p=2),new C(l,o.left,0,d,p,t,a)}_getTokenClassName(n){const t=this._context.viewModel.getViewLineData(n.lineNumber),a=t.tokens.findTokenIndexAtOffset(n.column-1);return t.tokens.getClassName(a)}prepareRender(n){this._renderData=this._prepareRender(n)}render(n){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}e.ViewCursor=s}),define(ne[621],se([1,0,42,271,36]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorOptions=void 0;class D{get editorOptions(){return this._options}constructor(_,g){this.diffEditorWidth=g,this.couldShowInlineViewBecauseOfSize=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&this.diffEditorWidth.read(s)<=this._options.read(s).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,L.derived)(s=>this._options.read(s).renderOverviewRuler),this.renderSideBySide=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&!(this._options.read(s).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(s))),this.readOnly=(0,L.derived)(s=>this._options.read(s).readOnly),this.shouldRenderRevertArrows=(0,L.derived)(s=>!(!this._options.read(s).renderMarginRevertIcon||!this.renderSideBySide.read(s)||this.readOnly.read(s))),this.renderIndicators=(0,L.derived)(s=>this._options.read(s).renderIndicators),this.enableSplitViewResizing=(0,L.derived)(s=>this._options.read(s).enableSplitViewResizing),this.splitViewDefaultRatio=(0,L.derived)(s=>this._options.read(s).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,L.derived)(s=>this._options.read(s).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,L.derived)(s=>this._options.read(s).maxComputationTime),this.showMoves=(0,L.derived)(s=>this._options.read(s).experimental.showMoves&&this.renderSideBySide.read(s)),this.isInEmbeddedEditor=(0,L.derived)(s=>this._options.read(s).isInEmbeddedEditor),this.diffWordWrap=(0,L.derived)(s=>this._options.read(s).diffWordWrap),this.originalEditable=(0,L.derived)(s=>this._options.read(s).originalEditable),this.diffCodeLens=(0,L.derived)(s=>this._options.read(s).diffCodeLens),this.accessibilityVerbose=(0,L.derived)(s=>this._options.read(s).accessibilityVerbose),this.diffAlgorithm=(0,L.derived)(s=>this._options.read(s).diffAlgorithm),this.showEmptyDecorations=(0,L.derived)(s=>this._options.read(s).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,L.derived)(s=>this._options.read(s).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsminimumLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.minimumLineCount);const C=Object.assign(Object.assign({},_),S(_,k.diffEditorDefaultOptions));this._options=(0,L.observableValue)("options",C)}updateOptions(_){const g=S(_,this._options.get()),C=Object.assign(Object.assign(Object.assign({},this._options.get()),_),g);this._options.set(C,void 0,{changedOptions:_})}}e.DiffEditorOptions=D;function S(f,_){var g,C,s,i,n,t,a,u;return{enableSplitViewResizing:(0,y.boolean)(f.enableSplitViewResizing,_.enableSplitViewResizing),splitViewDefaultRatio:(0,y.clampedFloat)(f.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,y.boolean)(f.renderSideBySide,_.renderSideBySide),renderMarginRevertIcon:(0,y.boolean)(f.renderMarginRevertIcon,_.renderMarginRevertIcon),maxComputationTime:(0,y.clampedInt)(f.maxComputationTime,_.maxComputationTime,0,1073741824),maxFileSize:(0,y.clampedInt)(f.maxFileSize,_.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,y.boolean)(f.ignoreTrimWhitespace,_.ignoreTrimWhitespace),renderIndicators:(0,y.boolean)(f.renderIndicators,_.renderIndicators),originalEditable:(0,y.boolean)(f.originalEditable,_.originalEditable),diffCodeLens:(0,y.boolean)(f.diffCodeLens,_.diffCodeLens),renderOverviewRuler:(0,y.boolean)(f.renderOverviewRuler,_.renderOverviewRuler),diffWordWrap:(0,y.stringSet)(f.diffWordWrap,_.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,y.stringSet)(f.diffAlgorithm,_.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,y.boolean)(f.accessibilityVerbose,_.accessibilityVerbose),experimental:{showMoves:(0,y.boolean)((g=f.experimental)===null||g===void 0?void 0:g.showMoves,_.experimental.showMoves),showEmptyDecorations:(0,y.boolean)((C=f.experimental)===null||C===void 0?void 0:C.showEmptyDecorations,_.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,y.boolean)((i=(s=f.hideUnchangedRegions)===null||s===void 0?void 0:s.enabled)!==null&&i!==void 0?i:(n=f.experimental)===null||n===void 0?void 0:n.collapseUnchangedRegions,_.hideUnchangedRegions.enabled),contextLineCount:(0,y.clampedInt)((t=f.hideUnchangedRegions)===null||t===void 0?void 0:t.contextLineCount,_.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,y.clampedInt)((a=f.hideUnchangedRegions)===null||a===void 0?void 0:a.minimumLineCount,_.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,y.clampedInt)((u=f.hideUnchangedRegions)===null||u===void 0?void 0:u.revealLineCount,_.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,y.boolean)(f.isInEmbeddedEditor,_.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,y.boolean)(f.onlyShowAccessibleDiffViewer,_.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,y.clampedInt)(f.renderSideBySideInlineBreakpoint,_.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,y.boolean)(f.useInlineViewWhenSpaceIsLimited,_.useInlineViewWhenSpaceIsLimited)}}}),define(ne[231],se([1,0,17,36,145]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontInfo=e.SERIALIZED_FONT_INFO_VERSION=e.BareFontInfo=void 0;const D=L.isMacintosh?1.5:1.35,S=8;class f{static createFromValidatedSettings(C,s,i){const n=C.get(48),t=C.get(52),a=C.get(51),u=C.get(50),h=C.get(53),r=C.get(65),c=C.get(62);return f._create(n,t,a,u,h,r,c,s,i)}static _create(C,s,i,n,t,a,u,h,r){a===0?a=D*i:a{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const s=this._cache.getValues();let i=!1;for(const n of s)n.isTrusted||(i=!0,this._cache.remove(n));i&&this._onDidChange.fire()}readFontInfo(s){if(!this._cache.has(s)){let i=this._actualReadFontInfo(s);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(s,i)}return this._cache.get(s)}_createRequest(s,i,n,t){const a=new D.CharWidthRequest(s,i);return n.push(a),t?.push(a),a}_actualReadFontInfo(s){const i=[],n=[],t=this._createRequest("n",0,i,n),a=this._createRequest("\uFF4D",0,i,null),u=this._createRequest(" ",0,i,n),h=this._createRequest("0",0,i,n),r=this._createRequest("1",0,i,n),c=this._createRequest("2",0,i,n),o=this._createRequest("3",0,i,n),d=this._createRequest("4",0,i,n),l=this._createRequest("5",0,i,n),p=this._createRequest("6",0,i,n),m=this._createRequest("7",0,i,n),v=this._createRequest("8",0,i,n),b=this._createRequest("9",0,i,n),w=this._createRequest("\u2192",0,i,n),E=this._createRequest("\uFFEB",0,i,null),I=this._createRequest("\xB7",0,i,n),M=this._createRequest(String.fromCharCode(11825),0,i,null),P="|/-_ilm%";for(let F=0,O=P.length;F.001){T=!1;break}}let N=!0;return T&&E.width!==A&&(N=!1),E.width>w.width&&(N=!1),new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:s.fontFamily,fontWeight:s.fontWeight,fontSize:s.fontSize,fontFeatureSettings:s.fontFeatureSettings,fontVariationSettings:s.fontVariationSettings,lineHeight:s.lineHeight,letterSpacing:s.letterSpacing,isMonospace:T,typicalHalfwidthCharacterWidth:t.width,typicalFullwidthCharacterWidth:a.width,canUseHalfwidthRightwardsArrow:N,spaceWidth:u.width,middotWidth:I.width,wsmiddotWidth:M.width,maxDigitWidth:x},!0)}}e.FontMeasurementsImpl=_;class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(s){const i=s.getId();return!!this._values[i]}get(s){const i=s.getId();return this._values[i]}put(s,i){const n=s.getId();this._keys[n]=s,this._values[n]=i}remove(s){const i=s.getId();delete this._keys[i],delete this._values[i]}getValues(){return Object.keys(this._keys).map(s=>this._values[s])}}e.FontMeasurements=new _}),define(ne[325],se([1,0,12,5,67,36]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isModelDecorationInString=e.isModelDecorationInComment=e.isModelDecorationVisible=e.ViewModelDecorations=void 0;class S{constructor(i,n,t,a,u){this.editorId=i,this.model=n,this.configuration=t,this._linesCollection=a,this._coordinatesConverter=u,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(i){const n=i.id;let t=this._decorationsCache[n];if(!t){const a=i.range,u=i.options;let h;if(u.isWholeLine){const r=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.startLineNumber,1),0,!1,!0),c=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber)),1);h=new k.Range(r.lineNumber,r.column,c.lineNumber,c.column)}else h=this._coordinatesConverter.convertModelRangeToViewRange(a,1);t=new y.ViewModelDecoration(h,u),this._decorationsCache[n]=t}return t}getMinimapDecorationsInRange(i){return this._getDecorationsInRange(i,!0,!1).decorations}getDecorationsViewportData(i){let n=this._cachedModelDecorationsResolver!==null;return n=n&&i.equalsRange(this._cachedModelDecorationsResolverViewRange),n||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(i,!1,!1),this._cachedModelDecorationsResolverViewRange=i),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(i,n=!1,t=!1){const a=new k.Range(i,this._linesCollection.getViewLineMinColumn(i),i,this._linesCollection.getViewLineMaxColumn(i));return this._getDecorationsInRange(a,n,t).inlineDecorations[0]}_getDecorationsInRange(i,n,t){const a=this._linesCollection.getDecorationsInRange(i,this.editorId,(0,D.filterValidationDecorations)(this.configuration.options),n,t),u=i.startLineNumber,h=i.endLineNumber,r=[];let c=0;const o=[];for(let d=u;d<=h;d++)o[d-u]=[];for(let d=0,l=a.length;dn===1)}e.isModelDecorationInComment=_;function g(s,i){return C(s,i.range,n=>n===2)}e.isModelDecorationInString=g;function C(s,i,n){for(let t=i.startLineNumber;t<=i.endLineNumber;t++){const a=s.tokenization.getLineTokens(t),u=t===i.startLineNumber,h=t===i.endLineNumber;let r=u?a.findTokenIndexAtOffset(i.startColumn-1):0;for(;ri.endColumn-1);){if(!n(a.getStandardTokenType(r)))return!1;r++}}return!0}}),define(ne[622],se([3,4]),function(Q,e){return Q.create("vs/editor/common/core/editorColorRegistry",e)}),define(ne[623],se([3,4]),function(Q,e){return Q.create("vs/editor/common/editorContextKeys",e)}),define(ne[624],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages",e)}),define(ne[29],se([1,0,25,22,5,515,624]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationRegistry=e.LazyTokenizationSupport=e.InlayHintKind=e.Command=e.FoldingRangeKind=e.TextEdit=e.SymbolKinds=e.getAriaLabelForSymbol=e.symbolKindNames=e.isLocationLink=e.DocumentHighlightKind=e.SignatureHelpTriggerKind=e.SelectedSuggestionInfo=e.InlineCompletionTriggerKind=e.CompletionItemKinds=e.EncodedTokenizationResult=e.TokenizationResult=e.Token=void 0;class f{constructor(m,v,b){this.offset=m,this.type=v,this.language=b,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}e.Token=f;class _{constructor(m,v){this.tokens=m,this.endState=v,this._tokenizationResultBrand=void 0}}e.TokenizationResult=_;class g{constructor(m,v){this.tokens=m,this.endState=v,this._encodedTokenizationResultBrand=void 0}}e.EncodedTokenizationResult=g;var C;(function(p){const m=new Map;m.set(0,L.Codicon.symbolMethod),m.set(1,L.Codicon.symbolFunction),m.set(2,L.Codicon.symbolConstructor),m.set(3,L.Codicon.symbolField),m.set(4,L.Codicon.symbolVariable),m.set(5,L.Codicon.symbolClass),m.set(6,L.Codicon.symbolStruct),m.set(7,L.Codicon.symbolInterface),m.set(8,L.Codicon.symbolModule),m.set(9,L.Codicon.symbolProperty),m.set(10,L.Codicon.symbolEvent),m.set(11,L.Codicon.symbolOperator),m.set(12,L.Codicon.symbolUnit),m.set(13,L.Codicon.symbolValue),m.set(15,L.Codicon.symbolEnum),m.set(14,L.Codicon.symbolConstant),m.set(15,L.Codicon.symbolEnum),m.set(16,L.Codicon.symbolEnumMember),m.set(17,L.Codicon.symbolKeyword),m.set(27,L.Codicon.symbolSnippet),m.set(18,L.Codicon.symbolText),m.set(19,L.Codicon.symbolColor),m.set(20,L.Codicon.symbolFile),m.set(21,L.Codicon.symbolReference),m.set(22,L.Codicon.symbolCustomColor),m.set(23,L.Codicon.symbolFolder),m.set(24,L.Codicon.symbolTypeParameter),m.set(25,L.Codicon.account),m.set(26,L.Codicon.issues);function v(E){let I=m.get(E);return I||(console.info("No codicon found for CompletionItemKind "+E),I=L.Codicon.symbolProperty),I}p.toIcon=v;const b=new Map;b.set("method",0),b.set("function",1),b.set("constructor",2),b.set("field",3),b.set("variable",4),b.set("class",5),b.set("struct",6),b.set("interface",7),b.set("module",8),b.set("property",9),b.set("event",10),b.set("operator",11),b.set("unit",12),b.set("value",13),b.set("constant",14),b.set("enum",15),b.set("enum-member",16),b.set("enumMember",16),b.set("keyword",17),b.set("snippet",27),b.set("text",18),b.set("color",19),b.set("file",20),b.set("reference",21),b.set("customcolor",22),b.set("folder",23),b.set("type-parameter",24),b.set("typeParameter",24),b.set("account",25),b.set("issue",26);function w(E,I){let M=b.get(E);return typeof M>"u"&&!I&&(M=9),M}p.fromString=w})(C||(e.CompletionItemKinds=C={}));var s;(function(p){p[p.Automatic=0]="Automatic",p[p.Explicit=1]="Explicit"})(s||(e.InlineCompletionTriggerKind=s={}));class i{constructor(m,v,b,w){this.range=m,this.text=v,this.completionKind=b,this.isSnippetText=w}equals(m){return y.Range.lift(this.range).equalsRange(m.range)&&this.text===m.text&&this.completionKind===m.completionKind&&this.isSnippetText===m.isSnippetText}}e.SelectedSuggestionInfo=i;var n;(function(p){p[p.Invoke=1]="Invoke",p[p.TriggerCharacter=2]="TriggerCharacter",p[p.ContentChange=3]="ContentChange"})(n||(e.SignatureHelpTriggerKind=n={}));var t;(function(p){p[p.Text=0]="Text",p[p.Read=1]="Read",p[p.Write=2]="Write"})(t||(e.DocumentHighlightKind=t={}));function a(p){return p&&k.URI.isUri(p.uri)&&y.Range.isIRange(p.range)&&(y.Range.isIRange(p.originSelectionRange)||y.Range.isIRange(p.targetSelectionRange))}e.isLocationLink=a,e.symbolKindNames={[17]:(0,S.localize)(0,null),[16]:(0,S.localize)(1,null),[4]:(0,S.localize)(2,null),[13]:(0,S.localize)(3,null),[8]:(0,S.localize)(4,null),[9]:(0,S.localize)(5,null),[21]:(0,S.localize)(6,null),[23]:(0,S.localize)(7,null),[7]:(0,S.localize)(8,null),[0]:(0,S.localize)(9,null),[11]:(0,S.localize)(10,null),[10]:(0,S.localize)(11,null),[19]:(0,S.localize)(12,null),[5]:(0,S.localize)(13,null),[1]:(0,S.localize)(14,null),[2]:(0,S.localize)(15,null),[20]:(0,S.localize)(16,null),[15]:(0,S.localize)(17,null),[18]:(0,S.localize)(18,null),[24]:(0,S.localize)(19,null),[3]:(0,S.localize)(20,null),[6]:(0,S.localize)(21,null),[14]:(0,S.localize)(22,null),[22]:(0,S.localize)(23,null),[25]:(0,S.localize)(24,null),[12]:(0,S.localize)(25,null)};function u(p,m){return(0,S.localize)(26,null,p,e.symbolKindNames[m])}e.getAriaLabelForSymbol=u;var h;(function(p){const m=new Map;m.set(0,L.Codicon.symbolFile),m.set(1,L.Codicon.symbolModule),m.set(2,L.Codicon.symbolNamespace),m.set(3,L.Codicon.symbolPackage),m.set(4,L.Codicon.symbolClass),m.set(5,L.Codicon.symbolMethod),m.set(6,L.Codicon.symbolProperty),m.set(7,L.Codicon.symbolField),m.set(8,L.Codicon.symbolConstructor),m.set(9,L.Codicon.symbolEnum),m.set(10,L.Codicon.symbolInterface),m.set(11,L.Codicon.symbolFunction),m.set(12,L.Codicon.symbolVariable),m.set(13,L.Codicon.symbolConstant),m.set(14,L.Codicon.symbolString),m.set(15,L.Codicon.symbolNumber),m.set(16,L.Codicon.symbolBoolean),m.set(17,L.Codicon.symbolArray),m.set(18,L.Codicon.symbolObject),m.set(19,L.Codicon.symbolKey),m.set(20,L.Codicon.symbolNull),m.set(21,L.Codicon.symbolEnumMember),m.set(22,L.Codicon.symbolStruct),m.set(23,L.Codicon.symbolEvent),m.set(24,L.Codicon.symbolOperator),m.set(25,L.Codicon.symbolTypeParameter);function v(b){let w=m.get(b);return w||(console.info("No codicon found for SymbolKind "+b),w=L.Codicon.symbolProperty),w}p.toIcon=v})(h||(e.SymbolKinds=h={}));class r{}e.TextEdit=r;class c{static fromValue(m){switch(m){case"comment":return c.Comment;case"imports":return c.Imports;case"region":return c.Region}return new c(m)}constructor(m){this.value=m}}e.FoldingRangeKind=c,c.Comment=new c("comment"),c.Imports=new c("imports"),c.Region=new c("region");var o;(function(p){function m(v){return!v||typeof v!="object"?!1:typeof v.id=="string"&&typeof v.title=="string"}p.is=m})(o||(e.Command=o={}));var d;(function(p){p[p.Type=1]="Type",p[p.Parameter=2]="Parameter"})(d||(e.InlayHintKind=d={}));class l{constructor(m){this.createSupport=m,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(m=>{m&&m.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}e.LazyTokenizationSupport=l,e.TokenizationRegistry=new D.TokenizationRegistry}),define(ne[154],se([1,0,29]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nullTokenizeEncoded=e.nullTokenize=e.NullState=void 0,e.NullState=new class{clone(){return this}equals(D){return this===D}};function k(D,S){return new L.TokenizationResult([new L.Token(0,"",D)],S)}e.nullTokenize=k;function y(D,S){const f=new Uint32Array(2);return f[0]=0,f[1]=(D<<0|0<<8|0<<11|1<<15|2<<24)>>>0,new L.EncodedTokenizationResult(f,S===null?e.NullState:S)}e.nullTokenizeEncoded=y}),define(ne[326],se([1,0,11,86,29,154]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._tokenizeToString=e.tokenizeLineToHTML=e.tokenizeToString=void 0;const S={getInitialState:()=>D.NullState,tokenizeEncoded:(C,s,i)=>(0,D.nullTokenizeEncoded)(0,i)};function f(C,s,i){return we(this,void 0,void 0,function*(){if(!i)return g(s,C.languageIdCodec,S);const n=yield y.TokenizationRegistry.getOrCreate(i);return g(s,C.languageIdCodec,n||S)})}e.tokenizeToString=f;function _(C,s,i,n,t,a,u){let h="
    ",r=n,c=0,o=!0;for(let d=0,l=s.getCount();d0;)u&&o?(m+=" ",o=!1):(m+=" ",o=!0),b--;break}case 60:m+="<",o=!1;break;case 62:m+=">",o=!1;break;case 38:m+="&",o=!1;break;case 0:m+="�",o=!1;break;case 65279:case 8232:case 8233:case 133:m+="\uFFFD",o=!1;break;case 13:m+="​",o=!1;break;case 32:u&&o?(m+=" ",o=!1):(m+=" ",o=!0);break;default:m+=String.fromCharCode(v),o=!1}}if(h+=`${m}`,p>t||r>=t)break}return h+="
    ",h}e.tokenizeLineToHTML=_;function g(C,s,i){let n='
    ';const t=L.splitLines(C);let a=i.getInitialState();for(let u=0,h=t.length;u0&&(n+="
    ");const c=i.tokenizeEncoded(r,!0,a);k.LineTokens.convertToEndOffset(c.tokens,r.length);const d=new k.LineTokens(c.tokens,r,s).inflate();let l=0;for(let p=0,m=d.getCount();p${L.escape(r.substring(l,b))}`,l=b}a=c.endState}return n+="
    ",n}e._tokenizeToString=g}),define(ne[625],se([1,0,13,9,17,58,122,66,90,154,508,288,86]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultBackgroundTokenizer=e.RangePriorityQueueImpl=e.TokenizationStateStore=e.TrackingTokenizationStateStore=e.TokenizerWithStateStoreAndTextModel=e.TokenizerWithStateStore=void 0;class n{constructor(d,l){this.tokenizationSupport=l,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new a(d)}getStartState(d){return this.store.getStartState(d,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}e.TokenizerWithStateStore=n;class t extends n{constructor(d,l,p,m){super(d,l),this._textModel=p,this._languageIdCodec=m}updateTokensUntilLine(d,l){const p=this._textModel.getLanguageId();for(;;){const m=this.getFirstInvalidLine();if(!m||m.lineNumber>l)break;const v=this._textModel.getLineContent(m.lineNumber),b=r(this._languageIdCodec,p,this.tokenizationSupport,v,!0,m.startState);d.add(m.lineNumber,b.tokens),this.store.setEndState(m.lineNumber,b.endState)}}getTokenTypeIfInsertingCharacter(d,l){const p=this.getStartState(d.lineNumber);if(!p)return 0;const m=this._textModel.getLanguageId(),v=this._textModel.getLineContent(d.lineNumber),b=v.substring(0,d.column-1)+l+v.substring(d.column-1),w=r(this._languageIdCodec,m,this.tokenizationSupport,b,!0,p),E=new i.LineTokens(w.tokens,b,this._languageIdCodec);if(E.getCount()===0)return 0;const I=E.findTokenIndexAtOffset(d.column-1);return E.getStandardTokenType(I)}tokenizeLineWithEdit(d,l,p){const m=d.lineNumber,v=d.column,b=this.getStartState(m);if(!b)return null;const w=this._textModel.getLineContent(m),E=w.substring(0,v-1)+p+w.substring(v-1+l),I=this._textModel.getLanguageIdAtPosition(m,0),M=r(this._languageIdCodec,I,this.tokenizationSupport,E,!0,b);return new i.LineTokens(M.tokens,E,this._languageIdCodec)}isCheapToTokenize(d){const l=this.store.getFirstInvalidEndStateLineNumberOrMax();return d1&&w>=1;w--){const E=this._textModel.getLineFirstNonWhitespaceColumn(w);if(E!==0&&E0&&p>0&&(p--,l--),this._lineEndStates.replace(d.startLineNumber,p,l)}}e.TokenizationStateStore=u;class h{constructor(){this._ranges=[]}get min(){return this._ranges.length===0?null:this._ranges[0].start}delete(d){const l=this._ranges.findIndex(p=>p.contains(d));if(l!==-1){const p=this._ranges[l];p.start===d?p.endExclusive===d+1?this._ranges.splice(l,1):this._ranges[l]=new _.OffsetRange(d+1,p.endExclusive):p.endExclusive===d+1?this._ranges[l]=new _.OffsetRange(p.start,d):this._ranges.splice(l,1,new _.OffsetRange(p.start,d),new _.OffsetRange(d+1,p.endExclusive))}}addRange(d){_.OffsetRange.addRange(d,this._ranges)}addRangeAndResize(d,l){let p=0;for(;!(p>=this._ranges.length||d.start<=this._ranges[p].endExclusive);)p++;let m=p;for(;!(m>=this._ranges.length||d.endExclusived.toString()).join(" + ")}}e.RangePriorityQueueImpl=h;function r(o,d,l,p,m,v){let b=null;if(l)try{b=l.tokenizeEncoded(p,m,v.clone())}catch(w){(0,k.onUnexpectedError)(w)}return b||(b=(0,g.nullTokenizeEncoded)(o.encodeLanguageId(d),v)),i.LineTokens.convertToEndOffset(b.tokens,p.length),b}class c{constructor(d,l){this._tokenizerWithStateStore=d,this._backgroundTokenStore=l,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,(0,L.runWhenIdle)(d=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(d)}))}_backgroundTokenizeWithDeadline(d){const l=Date.now()+d.timeRemaining(),p=()=>{this._isDisposed||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()1||this._tokenizeOneInvalidLine(l)>=d)break;while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(l.finalize()),this.checkFinished()}_hasLinesToTokenize(){return this._tokenizerWithStateStore?!this._tokenizerWithStateStore.store.allStatesValid():!1}_tokenizeOneInvalidLine(d){var l;const p=(l=this._tokenizerWithStateStore)===null||l===void 0?void 0:l.getFirstInvalidLine();return p?(this._tokenizerWithStateStore.updateTokensUntilLine(d,p.lineNumber),p.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){this._isDisposed||this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(d,l){this._tokenizerWithStateStore.store.invalidateEndStateRange(new f.LineRange(d,l))}}e.DefaultBackgroundTokenizer=c}),define(ne[626],se([1,0,14,13,9,6,2,122,66,12,147,29,282,625,288,518,520]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationTextModelPart=void 0;class h extends i.TextModelPart{constructor(d,l,p,m,v,b){super(),this._languageService=d,this._languageConfigurationService=l,this._textModel=p,this._bracketPairsTextModelPart=m,this._languageId=v,this._attachedViews=b,this._semanticTokens=new u.SparseTokensStore(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new D.Emitter),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new D.Emitter),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new D.Emitter),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new r(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(w=>{w.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(w=>{this._emitModelTokensChangedEvent(w)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(w=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(d){if(d.isFlush)this._semanticTokens.flush();else if(!d.isEolChange)for(const l of d.changes){const[p,m,v]=(0,f.countEOL)(l.text);this._semanticTokens.acceptEdit(l.range,p,m,v,l.text.length>0?l.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(d)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(d){this.validateLineNumber(d);const l=this.grammarTokens.getLineTokens(d);return this._semanticTokens.addSparseTokens(d,l)}_emitModelTokensChangedEvent(d){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(d),this._onDidChangeTokens.fire(d))}validateLineNumber(d){if(d<1||d>this._textModel.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(d){this.validateLineNumber(d),this.grammarTokens.forceTokenization(d)}isCheapToTokenize(d){return this.validateLineNumber(d),this.grammarTokens.isCheapToTokenize(d)}tokenizeIfCheap(d){this.validateLineNumber(d),this.grammarTokens.tokenizeIfCheap(d)}getTokenTypeIfInsertingCharacter(d,l,p){return this.grammarTokens.getTokenTypeIfInsertingCharacter(d,l,p)}tokenizeLineWithEdit(d,l,p){return this.grammarTokens.tokenizeLineWithEdit(d,l,p)}setSemanticTokens(d,l){this._semanticTokens.set(d,l),this._emitModelTokensChangedEvent({semanticTokensApplied:d!==null,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(d,l){if(this.hasCompleteSemanticTokens())return;const p=this._textModel.validateRange(this._semanticTokens.setPartial(d,l));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:p.startLineNumber,toLineNumber:p.endLineNumber}]})}getWordAtPosition(d){this.assertNotDisposed();const l=this._textModel.validatePosition(d),p=this._textModel.getLineContent(l.lineNumber),m=this.getLineTokens(l.lineNumber),v=m.findTokenIndexAtOffset(l.column-1),[b,w]=h._findLanguageBoundaries(m,v),E=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v)).getWordDefinition(),p.substring(b,w),b);if(E&&E.startColumn<=d.column&&d.column<=E.endColumn)return E;if(v>0&&b===l.column-1){const[I,M]=h._findLanguageBoundaries(m,v-1),P=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v-1)).getWordDefinition(),p.substring(I,M),I);if(P&&P.startColumn<=d.column&&d.column<=P.endColumn)return P}return null}getLanguageConfiguration(d){return this._languageConfigurationService.getLanguageConfiguration(d)}static _findLanguageBoundaries(d,l){const p=d.getLanguageId(l);let m=0;for(let b=l;b>=0&&d.getLanguageId(b)===p;b--)m=d.getStartOffset(b);let v=d.getLineContent().length;for(let b=l,w=d.getCount();b{const b=this.getLanguageId();v.changedLanguages.indexOf(b)!==-1&&this.resetTokenization()})),this.resetTokenization(),this._register(m.onDidChangeVisibleRanges(({view:v,state:b})=>{if(b){let w=this._attachedViewStates.get(v);w||(w=new c(()=>this.refreshRanges(w.lineRanges)),this._attachedViewStates.set(v,w)),w.handleStateChange(b)}else this._attachedViewStates.deleteAndDispose(v)}))}resetTokenization(d=!0){var l;this._tokens.flush(),(l=this._debugBackgroundTokens)===null||l===void 0||l.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount())),d&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});const p=()=>{if(this._textModel.isTooLargeForTokenization())return[null,null];const b=s.TokenizationRegistry.get(this.getLanguageId());if(!b)return[null,null];let w;try{w=b.getInitialState()}catch(E){return(0,y.onUnexpectedError)(E),[null,null]}return[b,w]},[m,v]=p();if(m&&v?this._tokenizer=new n.TokenizerWithStateStoreAndTextModel(this._textModel.getLineCount(),m,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){const b={setTokens:w=>{this.setTokens(w)},backgroundTokenizationFinished:()=>{if(this._backgroundTokenizationState===2)return;const w=2;this._backgroundTokenizationState=w,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(w,E)=>{var I;if(!this._tokenizer)return;const M=this._tokenizer.store.getFirstInvalidEndStateLineNumber();M!==null&&w>=M&&((I=this._tokenizer)===null||I===void 0||I.store.setEndState(w,E))}};m&&m.createBackgroundTokenizer&&!m.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,b)),this._backgroundTokenizer.value||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new n.DefaultBackgroundTokenizer(this._tokenizer,b),this._defaultBackgroundTokenizer.handleChanges()),m?.backgroundTokenizerShouldOnlyVerifyTokens&&m.createBackgroundTokenizer?(this._debugBackgroundTokens=new a.ContiguousTokensStore(this._languageIdCodec),this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,{setTokens:w=>{var E;(E=this._debugBackgroundTokens)===null||E===void 0||E.setMultilineTokens(w,this._textModel)},backgroundTokenizationFinished(){},setEndState:(w,E)=>{var I;(I=this._debugBackgroundStates)===null||I===void 0||I.setEndState(w,E)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var d;(d=this._defaultBackgroundTokenizer)===null||d===void 0||d.handleChanges()}handleDidChangeContent(d){var l,p,m;if(d.isFlush)this.resetTokenization(!1);else if(!d.isEolChange){for(const v of d.changes){const[b,w]=(0,f.countEOL)(v.text);this._tokens.acceptEdit(v.range,b,w),(l=this._debugBackgroundTokens)===null||l===void 0||l.acceptEdit(v.range,b,w)}(p=this._debugBackgroundStates)===null||p===void 0||p.acceptChanges(d.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(d.changes),(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.handleChanges()}}setTokens(d){const{changes:l}=this._tokens.setMultilineTokens(d,this._textModel);return l.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:l}),{changes:l}}refreshAllVisibleLineTokens(){const d=_.LineRange.joinMany([...this._attachedViewStates].map(([l,p])=>p.lineRanges));this.refreshRanges(d)}refreshRanges(d){for(const l of d)this.refreshRange(l.startLineNumber,l.endLineNumberExclusive-1)}refreshRange(d,l){var p,m;if(!this._tokenizer)return;d=Math.max(1,Math.min(this._textModel.getLineCount(),d)),l=Math.min(this._textModel.getLineCount(),l);const v=new t.ContiguousMultilineTokensBuilder,{heuristicTokens:b}=this._tokenizer.tokenizeHeuristically(v,d,l),w=this.setTokens(v.finalize());if(b)for(const E of w.changes)(p=this._backgroundTokenizer.value)===null||p===void 0||p.requestTokens(E.fromLineNumber,E.toLineNumber+1);(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.checkFinished()}forceTokenization(d){var l,p;const m=new t.ContiguousMultilineTokensBuilder;(l=this._tokenizer)===null||l===void 0||l.updateTokensUntilLine(m,d),this.setTokens(m.finalize()),(p=this._defaultBackgroundTokenizer)===null||p===void 0||p.checkFinished()}isCheapToTokenize(d){return this._tokenizer?this._tokenizer.isCheapToTokenize(d):!0}tokenizeIfCheap(d){this.isCheapToTokenize(d)&&this.forceTokenization(d)}getLineTokens(d){var l;const p=this._textModel.getLineContent(d),m=this._tokens.getTokens(this._textModel.getLanguageId(),d-1,p);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>d&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>d){const v=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),d-1,p);!m.equals(v)&&(!((l=this._debugBackgroundTokenizer.value)===null||l===void 0)&&l.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(d)}return m}getTokenTypeIfInsertingCharacter(d,l,p){if(!this._tokenizer)return 0;const m=this._textModel.validatePosition(new g.Position(d,l));return this.forceTokenization(m.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(m,p)}tokenizeLineWithEdit(d,l,p){if(!this._tokenizer)return null;const m=this._textModel.validatePosition(d);return this.forceTokenization(m.lineNumber),this._tokenizer.tokenizeLineWithEdit(m,l,p)}get hasTokens(){return this._tokens.hasTokens}}class c extends S.Disposable{get lineRanges(){return this._lineRanges}constructor(d){super(),this._refreshTokens=d,this.runner=this._register(new k.RunOnceScheduler(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,L.equals)(this._computedLineRanges,this._lineRanges,(d,l)=>d.equals(l))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(d){this._lineRanges=d.visibleLineRanges,d.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}}),define(ne[327],se([1,0,19,6,63,22,12,5,24,29,208]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoBaseAPI=e.KeyMod=void 0;class s{static chord(t,a){return(0,y.KeyChord)(t,a)}}e.KeyMod=s,s.CtrlCmd=2048,s.Shift=1024,s.Alt=512,s.WinCtrl=256;function i(){return{editor:void 0,languages:void 0,CancellationTokenSource:L.CancellationTokenSource,Emitter:k.Emitter,KeyCode:C.KeyCode,KeyMod:s,Position:S.Position,Range:f.Range,Selection:_.Selection,SelectionDirection:C.SelectionDirection,MarkerSeverity:C.MarkerSeverity,MarkerTag:C.MarkerTag,Uri:D.URI,Token:g.Token}}e.createMonacoBaseAPI=i}),define(ne[627],se([1,0,168,22,12,5,512,147,495,501,327,58,286,492,47,494]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.EditorSimpleWorker=void 0;class u extends S.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(o){const d=[];for(let l=0;lthis._lines.length)d=this._lines.length,l=this._lines[d-1].length+1,p=!0;else{const m=this._lines[d-1].length+1;l<1?(l=1,p=!0):l>m&&(l=m,p=!0)}return p?{lineNumber:d,column:l}:o}}class h{constructor(o,d){this._host=o,this._models=Object.create(null),this._foreignModuleFactory=d,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(o){return this._models[o]}_getModels(){const o=[];return Object.keys(this._models).forEach(d=>o.push(this._models[d])),o}acceptNewModel(o){this._models[o.url]=new u(k.URI.parse(o.url),o.lines,o.EOL,o.versionId)}acceptModelChanged(o,d){if(!this._models[o])return;this._models[o].onEvents(d)}acceptRemovedModel(o){this._models[o]&&delete this._models[o]}computeUnicodeHighlights(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);return p?i.UnicodeTextModelHighlighter.computeUnicodeHighlights(p,d,l):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o),v=this._getModel(d);return!m||!v?null:h.computeDiff(m,v,l,p)})}static computeDiff(o,d,l,p){const m=p==="advanced"?n.linesDiffComputers.getAdvanced():n.linesDiffComputers.getLegacy(),v=o.getLinesContent(),b=d.getLinesContent(),w=m.computeDiff(v,b,l),E=w.changes.length>0?!1:this._modelsAreIdentical(o,d);function I(M){return M.map(P=>{var x;return[P.originalRange.startLineNumber,P.originalRange.endLineNumberExclusive,P.modifiedRange.startLineNumber,P.modifiedRange.endLineNumberExclusive,(x=P.innerChanges)===null||x===void 0?void 0:x.map(T=>[T.originalRange.startLineNumber,T.originalRange.startColumn,T.originalRange.endLineNumber,T.originalRange.endColumn,T.modifiedRange.startLineNumber,T.modifiedRange.startColumn,T.modifiedRange.endLineNumber,T.modifiedRange.endColumn])]})}return{identical:E,quitEarly:w.hitTimeout,changes:I(w.changes),moves:w.moves.map(M=>[M.lineRangeMapping.original.startLineNumber,M.lineRangeMapping.original.endLineNumberExclusive,M.lineRangeMapping.modified.startLineNumber,M.lineRangeMapping.modified.endLineNumberExclusive,I(M.changes)])}}static _modelsAreIdentical(o,d){const l=o.getLineCount(),p=d.getLineCount();if(l!==p)return!1;for(let m=1;m<=l;m++){const v=o.getLineContent(m),b=d.getLineContent(m);if(v!==b)return!1}return!0}computeMoreMinimalEdits(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);if(!p)return d;const m=[];let v;d=d.slice(0).sort((b,w)=>{if(b.range&&w.range)return D.Range.compareRangesUsingStarts(b.range,w.range);const E=b.range?0:1,I=w.range?0:1;return E-I});for(let{range:b,text:w,eol:E}of d){if(typeof E=="number"&&(v=E),D.Range.isEmpty(b)&&!w)continue;const I=p.getValueInRange(b);if(w=w.replace(/\r\n|\n|\r/g,p.eol),I===w)continue;if(Math.max(w.length,I.length)>h._diffLimit){m.push({range:b,text:w});continue}const M=(0,L.stringDiff)(I,w,l),P=p.offsetAt(D.Range.lift(b).getStartPosition());for(const x of M){const T=p.positionAt(P+x.originalStart),A=p.positionAt(P+x.originalStart+x.originalLength),N={text:w.substr(x.modifiedStart,x.modifiedLength),range:{startLineNumber:T.lineNumber,startColumn:T.column,endLineNumber:A.lineNumber,endColumn:A.column}};p.getValueInRange(N.range)!==N.text&&m.push(N)}}return typeof v=="number"&&m.push({eol:v,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),m})}computeLinks(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,_.computeLinks)(d):null})}computeDefaultDocumentColors(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,a.computeDefaultDocumentColors)(d):null})}textualSuggest(o,d,l,p){return we(this,void 0,void 0,function*(){const m=new s.StopWatch,v=new RegExp(l,p),b=new Set;e:for(const w of o){const E=this._getModel(w);if(E){for(const I of E.words(v))if(!(I===d||!isNaN(Number(I)))&&(b.add(I),b.size>h._suggestionsLimit))break e}}return{words:Array.from(b),duration:m.elapsed()}})}computeWordRanges(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o);if(!m)return Object.create(null);const v=new RegExp(l,p),b=Object.create(null);for(let w=d.startLineNumber;wthis._host.fhr(b,w),v={host:(0,t.createProxyObject)(l,p),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(v,d),Promise.resolve((0,t.getAllMethodNames)(this._foreignModule))):new Promise((b,w)=>{Q([o],E=>{this._foreignModule=E.create(v,d),b((0,t.getAllMethodNames)(this._foreignModule))},w)})}fmr(o,d){if(!this._foreignModule||typeof this._foreignModule[o]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+o));try{return Promise.resolve(this._foreignModule[o].apply(this._foreignModule,d))}catch(l){return Promise.reject(l)}}}e.EditorSimpleWorker=h,h._diffLimit=1e5,h._suggestionsLimit=1e4;function r(c){return new h(c,null)}e.create=r,typeof importScripts=="function"&&(globalThis.monaco=(0,C.createMonacoBaseAPI)())}),define(ne[328],se([1,0,6,2,274,29]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapTokensColorTracker=void 0;class S extends k.Disposable{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,k.markAsSingleton)(new S)),this._INSTANCE}constructor(){super(),this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(D.TokenizationRegistry.onDidChange(_=>{_.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){const _=D.TokenizationRegistry.getColorMap();if(!_){this._colors=[y.RGBA8.Empty],this._backgroundIsLight=!0;return}this._colors=[y.RGBA8.Empty];for(let C=1;C<_.length;C++){const s=_[C].rgba;this._colors[C]=new y.RGBA8(s.r,s.g,s.b,Math.round(s.a*255))}const g=_[2].getRelativeLuminance();this._backgroundIsLight=g>=.5,this._onDidChange.fire(void 0)}getColor(_){return(_<1||_>=this._colors.length)&&(_=2),this._colors[_]}backgroundIsLight(){return this._backgroundIsLight}}e.MinimapTokensColorTracker=S,S._INSTANCE=null}),define(ne[628],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages/modesRegistry",e)}),define(ne[629],se([3,4]),function(Q,e){return Q.create("vs/editor/common/model/editStack",e)}),define(ne[329],se([1,0,629,9,24,22,319,140,45]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditStack=e.isEditStackElement=e.MultiModelEditStackElement=e.SingleModelEditStackElement=e.SingleModelEditStackData=void 0;function g(u){return u.toString()}class C{static create(h,r){const c=h.getAlternativeVersionId(),o=n(h);return new C(c,c,o,o,r,r,[])}constructor(h,r,c,o,d,l,p){this.beforeVersionId=h,this.afterVersionId=r,this.beforeEOL=c,this.afterEOL=o,this.beforeCursorState=d,this.afterCursorState=l,this.changes=p}append(h,r,c,o,d){r.length>0&&(this.changes=(0,S.compressConsecutiveTextChanges)(this.changes,r)),this.afterEOL=c,this.afterVersionId=o,this.afterCursorState=d}static _writeSelectionsSize(h){return 4+4*4*(h?h.length:0)}static _writeSelections(h,r,c){if(f.writeUInt32BE(h,r?r.length:0,c),c+=4,r)for(const o of r)f.writeUInt32BE(h,o.selectionStartLineNumber,c),c+=4,f.writeUInt32BE(h,o.selectionStartColumn,c),c+=4,f.writeUInt32BE(h,o.positionLineNumber,c),c+=4,f.writeUInt32BE(h,o.positionColumn,c),c+=4;return c}static _readSelections(h,r,c){const o=f.readUInt32BE(h,r);r+=4;for(let d=0;dr.toString()).join(", ")}matchesResource(h){return(D.URI.isUri(this.model)?this.model:this.model.uri).toString()===h.toString()}setModel(h){this.model=h}canAppend(h){return this.model===h&&this._data instanceof C}append(h,r,c,o,d){this._data instanceof C&&this._data.append(h,r,c,o,d)}close(){this._data instanceof C&&(this._data=this._data.serialize())}open(){this._data instanceof C||(this._data=C.deserialize(this._data))}undo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyUndo(h.changes,h.beforeEOL,h.beforeVersionId,h.beforeCursorState)}redo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyRedo(h.changes,h.afterEOL,h.afterVersionId,h.afterCursorState)}heapSize(){return this._data instanceof C&&(this._data=this._data.serialize()),this._data.byteLength+168}}e.SingleModelEditStackElement=s;class i{get resources(){return this._editStackElementsArr.map(h=>h.resource)}constructor(h,r,c){this.label=h,this.code=r,this.type=1,this._isOpen=!0,this._editStackElementsArr=c.slice(0),this._editStackElementsMap=new Map;for(const o of this._editStackElementsArr){const d=g(o.resource);this._editStackElementsMap.set(d,o)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(h){const r=g(h);return this._editStackElementsMap.has(r)}setModel(h){const r=g(D.URI.isUri(h)?h:h.uri);this._editStackElementsMap.has(r)&&this._editStackElementsMap.get(r).setModel(h)}canAppend(h){if(!this._isOpen)return!1;const r=g(h.uri);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).canAppend(h):!1}append(h,r,c,o,d){const l=g(h.uri);this._editStackElementsMap.get(l).append(h,r,c,o,d)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const h of this._editStackElementsArr)h.undo()}redo(){for(const h of this._editStackElementsArr)h.redo()}heapSize(h){const r=g(h);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).heapSize():0}split(){return this._editStackElementsArr}toString(){const h=[];for(const r of this._editStackElementsArr)h.push(`${(0,_.basename)(r.resource)}: ${r}`);return`{${h.join(", ")}}`}}e.MultiModelEditStackElement=i;function n(u){return u.getEOL()===` -`?0:1}function t(u){return u?u instanceof s||u instanceof i:!1}e.isEditStackElement=t;class a{constructor(h,r){this._model=h,this._undoRedoService=r}pushStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.close()}popStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(h,r){const c=this._undoRedoService.getLastElement(this._model.uri);if(t(c)&&c.canAppend(this._model))return c;const o=new s(L.localize(0,null),"undoredo.textBufferEdit",this._model,h);return this._undoRedoService.pushElement(o,r),o}pushEOL(h){const r=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(h),r.append(this._model,[],n(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(h,r,c,o){const d=this._getOrCreateEditStackElement(h,o),l=this._model.applyEdits(r,!0),p=a._computeCursorState(c,l),m=l.map((v,b)=>({index:b,textChange:v.textChange}));return m.sort((v,b)=>v.textChange.oldPosition===b.textChange.oldPosition?v.index-b.index:v.textChange.oldPosition-b.textChange.oldPosition),d.append(this._model,m.map(v=>v.textChange),n(this._model),this._model.getAlternativeVersionId(),p),p}static _computeCursorState(h,r){try{return h?h(r):null}catch(c){return(0,k.onUnexpectedError)(c),null}}}e.EditStack=a}),define(ne[630],se([3,4]),function(Q,e){return Q.create("vs/editor/common/standaloneStrings",e)}),define(ne[94],se([1,0,630]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServicesNLS=e.ToggleHighContrastNLS=e.StandaloneCodeEditorNLS=e.QuickOutlineNLS=e.QuickCommandNLS=e.QuickHelpNLS=e.GoToLineNLS=e.InspectTokensNLS=void 0;var k;(function(s){s.inspectTokensAction=L.localize(0,null)})(k||(e.InspectTokensNLS=k={}));var y;(function(s){s.gotoLineActionLabel=L.localize(1,null)})(y||(e.GoToLineNLS=y={}));var D;(function(s){s.helpQuickAccessActionLabel=L.localize(2,null)})(D||(e.QuickHelpNLS=D={}));var S;(function(s){s.quickCommandActionLabel=L.localize(3,null),s.quickCommandHelp=L.localize(4,null)})(S||(e.QuickCommandNLS=S={}));var f;(function(s){s.quickOutlineActionLabel=L.localize(5,null),s.quickOutlineByCategoryActionLabel=L.localize(6,null)})(f||(e.QuickOutlineNLS=f={}));var _;(function(s){s.editorViewAccessibleLabel=L.localize(7,null),s.accessibilityHelpMessage=L.localize(8,null)})(_||(e.StandaloneCodeEditorNLS=_={}));var g;(function(s){s.toggleHighContrast=L.localize(9,null)})(g||(e.ToggleHighContrastNLS=g={}));var C;(function(s){s.bulkEditServiceSummary=L.localize(10,null)})(C||(e.StandaloneServicesNLS=C={}))}),define(ne[631],se([3,4]),function(Q,e){return Q.create("vs/editor/common/viewLayout/viewLineRenderer",e)}),define(ne[95],se([1,0,631,11,93,127,529]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderViewLine2=e.RenderLineOutput2=e.renderViewLine=e.RenderLineOutput=e.CharacterMapping=e.DomPosition=e.RenderLineInput=e.LineRange=void 0;class f{constructor(w,E){this.startOffset=w,this.endOffset=E}equals(w){return this.startOffset===w.startOffset&&this.endOffset===w.endOffset}}e.LineRange=f;class _{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J){this.useMonospaceOptimizations=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.continuesWithWrappedLine=M,this.isBasicASCII=P,this.containsRTL=x,this.fauxIndentLength=T,this.lineTokens=A,this.lineDecorations=N.sort(D.LineDecoration.compare),this.tabSize=F,this.startVisibleColumn=O,this.spaceWidth=W,this.stopRenderingLineAfter=R,this.renderWhitespace=K==="all"?4:K==="boundary"?1:K==="selection"?2:K==="trailing"?3:0,this.renderControlCharacters=G,this.fontLigatures=Z,this.selectionsOnLine=J&&J.sort((B,V)=>B.startOffset>>16}static getCharIndex(w){return(w&65535)>>>0}constructor(w,E){this.length=w,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(w,E,I,M){const P=(E<<16|I<<0)>>>0;this._data[w-1]=P,this._horizontalOffset[w-1]=M}getHorizontalOffset(w){return this._horizontalOffset.length===0?0:this._horizontalOffset[w-1]}charOffsetToPartData(w){return this.length===0?0:w<0?this._data[0]:w>=this.length?this._data[this.length-1]:this._data[w]}getDomPosition(w){const E=this.charOffsetToPartData(w-1),I=C.getPartIndex(E),M=C.getCharIndex(E);return new g(I,M)}getColumn(w,E){return this.partDataToCharOffset(w.partIndex,E,w.charIndex)+1}partDataToCharOffset(w,E,I){if(this.length===0)return 0;const M=(w<<16|I<<0)>>>0;let P=0,x=this.length-1;for(;P+1>>1,K=this._data[R];if(K===M)return R;K>M?x=R:P=R}if(P===x)return P;const T=this._data[P],A=this._data[x];if(T===M)return P;if(A===M)return x;const N=C.getPartIndex(T),F=C.getCharIndex(T),O=C.getPartIndex(A);let W;N!==O?W=E:W=C.getCharIndex(A);const U=I-F,j=W-I;return U<=j?P:x}}e.CharacterMapping=C;class s{constructor(w,E,I){this._renderLineOutputBrand=void 0,this.characterMapping=w,this.containsRTL=E,this.containsForeignElements=I}}e.RenderLineOutput=s;function i(b,w){if(b.lineContent.length===0){if(b.lineDecorations.length>0){w.appendString("");let E=0,I=0,M=0;for(const x of b.lineDecorations)(x.type===1||x.type===2)&&(w.appendString(''),x.type===1&&(M|=1,E++),x.type===2&&(M|=2,I++));w.appendString("");const P=new C(1,E+I);return P.setColumnInfo(1,E,0,0),new s(P,!1,M)}return w.appendString(""),new s(new C(0,0),!1,0)}return p(u(b),w)}e.renderViewLine=i;class n{constructor(w,E,I,M){this.characterMapping=w,this.html=E,this.containsRTL=I,this.containsForeignElements=M}}e.RenderLineOutput2=n;function t(b){const w=new y.StringBuilder(1e4),E=i(b,w);return new n(E.characterMapping,w.build(),E.containsRTL,E.containsForeignElements)}e.renderViewLine2=t;class a{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K){this.fontIsMonospace=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.len=M,this.isOverflowing=P,this.overflowingCharCount=x,this.parts=T,this.containsForeignElements=A,this.fauxIndentLength=N,this.tabSize=F,this.startVisibleColumn=O,this.containsRTL=W,this.spaceWidth=U,this.renderSpaceCharCode=j,this.renderWhitespace=R,this.renderControlCharacters=K}}function u(b){const w=b.lineContent;let E,I,M;b.stopRenderingLineAfter!==-1&&b.stopRenderingLineAfter0){for(let T=0,A=b.lineDecorations.length;T0&&(P[x++]=new S.LinePart(I,"",0,!1));let T=I;for(let A=0,N=E.getCount();A=M){const U=w?k.containsRTL(b.substring(T,M)):!1;P[x++]=new S.LinePart(M,O,0,U);break}const W=w?k.containsRTL(b.substring(T,F)):!1;P[x++]=new S.LinePart(F,O,0,W),T=F}return P}function r(b,w,E){let I=0;const M=[];let P=0;if(E)for(let x=0,T=w.length;x=50&&(M[P++]=new S.LinePart(U+1,F,O,W),j=U+1,U=-1);j!==N&&(M[P++]=new S.LinePart(N,F,O,W))}else M[P++]=A;I=N}else for(let x=0,T=w.length;x50){const O=A.type,W=A.metadata,U=A.containsRTL,j=Math.ceil(F/50);for(let R=1;R=8234&&b<=8238||b>=8294&&b<=8297||b>=8206&&b<=8207||b===1564}function o(b,w){const E=[];let I=new S.LinePart(0,"",0,!1),M=0;for(const P of w){const x=P.endIndex;for(;MI.endIndex&&(I=new S.LinePart(M,P.type,P.metadata,P.containsRTL),E.push(I)),I=new S.LinePart(M+1,"mtkcontrol",P.metadata,!1),E.push(I))}M>I.endIndex&&(I=new S.LinePart(x,P.type,P.metadata,P.containsRTL),E.push(I))}return E}function d(b,w,E,I){const M=b.continuesWithWrappedLine,P=b.fauxIndentLength,x=b.tabSize,T=b.startVisibleColumn,A=b.useMonospaceOptimizations,N=b.selectionsOnLine,F=b.renderWhitespace===1,O=b.renderWhitespace===3,W=b.renderSpaceWidth!==b.spaceWidth,U=[];let j=0,R=0,K=I[R].type,G=I[R].containsRTL,Z=I[R].endIndex;const J=I.length;let X=!1,H=k.firstNonWhitespaceIndex(w),B;H===-1?(X=!0,H=E,B=E):B=k.lastNonWhitespaceIndex(w);let V=!1,Y=0,ie=N&&N[Y],ae=T%x;for(let de=P;de=ie.endOffset&&(Y++,ie=N&&N[Y]);let ue;if(deB)ue=!0;else if(he===9)ue=!0;else if(he===32)if(F)if(V)ue=!0;else{const te=de+1de),ue&&O&&(ue=X||de>B),ue&&G&&de>=H&&de<=B&&(ue=!1),V){if(!ue||!A&&ae>=x){if(W){const te=j>0?U[j-1].endIndex:P;for(let q=te+1;q<=de;q++)U[j++]=new S.LinePart(q,"mtkw",1,!1)}else U[j++]=new S.LinePart(de,"mtkw",1,!1);ae=ae%x}}else(de===Z||ue&&de>P)&&(U[j++]=new S.LinePart(de,K,0,G),ae=ae%x);for(he===9?ae=x:k.isFullWidthCharacter(he)?ae+=2:ae++,V=ue;de===Z&&(R++,R0?w.charCodeAt(E-1):0,he=E>1?w.charCodeAt(E-2):0;de===32&&he!==32&&he!==9||(ce=!0)}else ce=!0;if(ce)if(W){const de=j>0?U[j-1].endIndex:P;for(let he=de+1;he<=E;he++)U[j++]=new S.LinePart(he,"mtkw",1,!1)}else U[j++]=new S.LinePart(E,"mtkw",1,!1);else U[j++]=new S.LinePart(E,K,0,G);return U}function l(b,w,E,I){I.sort(D.LineDecoration.compare);const M=D.LineDecorationsNormalizer.normalize(b,I),P=M.length;let x=0;const T=[];let A=0,N=0;for(let O=0,W=E.length;ON&&(N=Z.startOffset,T[A++]=new S.LinePart(N,R,K,G)),Z.endOffset+1<=j)N=Z.endOffset+1,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G),x++;else{N=j,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G);break}}j>N&&(N=j,T[A++]=new S.LinePart(N,R,K,G))}const F=E[E.length-1].endIndex;if(x'):w.appendString("");for(let ie=0,ae=N.length;ie=F&&(re+=ge)}}for(q&&(w.appendString(' style="width:'),w.appendString(String(j*ee)),w.appendString('px"')),w.appendASCIICharCode(62);X1?w.appendCharCode(8594):w.appendCharCode(65515);for(let ge=2;ge<=oe;ge++)w.appendCharCode(160)}else re=2,oe=1,w.appendCharCode(R),w.appendCharCode(8204);B+=re,V+=oe,X>=F&&(H+=oe)}}else for(w.appendASCIICharCode(62);X=F&&(H+=re)}z?Y++:Y=0,X>=x&&!J&&ce.isPseudoAfter()&&(J=!0,Z.setColumnInfo(X+1,ie,B,V)),w.appendString("")}return J||Z.setColumnInfo(x+1,N.length-1,B,V),T&&(w.appendString(''),w.appendString(L.localize(0,null,v(A))),w.appendString("")),w.appendString(""),new s(Z,U,M)}function m(b){return b.toString(16).toUpperCase().padStart(4,"0")}function v(b){return b<1024?L.localize(1,null,b):b<1024*1024?`${(b/1024).toFixed(1)} KB`:`${(b/1024/1024).toFixed(1)} MB`}}),define(ne[632],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/anchorSelect/browser/anchorSelect",e)}),define(ne[633],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/bracketMatching/browser/bracketMatching",e)}),define(ne[634],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/caretOperations",e)}),define(ne[635],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/transpose",e)}),define(ne[636],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/clipboard/browser/clipboard",e)}),define(ne[637],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeAction",e)}),define(ne[638],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionCommands",e)}),define(ne[639],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionContributions",e)}),define(ne[640],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionController",e)}),define(ne[641],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionMenu",e)}),define(ne[642],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/lightBulbWidget",e)}),define(ne[643],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codelens/browser/codelensController",e)}),define(ne[644],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/colorPickerWidget",e)}),define(ne[645],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions",e)}),define(ne[646],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/comment/browser/comment",e)}),define(ne[647],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/contextmenu/browser/contextmenu",e)}),define(ne[648],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/cursorUndo/browser/cursorUndo",e)}),define(ne[649],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution",e)}),define(ne[650],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteController",e)}),define(ne[651],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/defaultProviders",e)}),define(ne[652],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution",e)}),define(ne[653],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController",e)}),define(ne[654],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/editorState/browser/keybindingCancellation",e)}),define(ne[655],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findController",e)}),define(ne[656],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findWidget",e)}),define(ne[657],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/folding",e)}),define(ne[658],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/foldingDecorations",e)}),define(ne[659],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/fontZoom/browser/fontZoom",e)}),define(ne[660],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/format",e)}),define(ne[661],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/formatActions",e)}),define(ne[662],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoError",e)}),define(ne[663],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoErrorWidget",e)}),define(ne[664],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/goToCommands",e)}),define(ne[665],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition",e)}),define(ne[666],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesController",e)}),define(ne[667],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesTree",e)}),define(ne[668],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget",e)}),define(ne[669],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/referencesModel",e)}),define(ne[155],se([1,0,9,6,164,2,65,45,11,5,669]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesModel=e.FileReferences=e.FilePreview=e.OneReference=void 0;class s{constructor(u,h,r,c){this.isProviderFirst=u,this.parent=h,this.link=r,this._rangeCallback=c,this.id=y.defaultGenerator.nextId()}get uri(){return this.link.uri}get range(){var u,h;return(h=(u=this._range)!==null&&u!==void 0?u:this.link.targetSelectionRange)!==null&&h!==void 0?h:this.link.range}set range(u){this._range=u,this._rangeCallback(this)}get ariaMessage(){var u;const h=(u=this.parent.getPreview(this))===null||u===void 0?void 0:u.preview(this.range);return h?(0,C.localize)(1,null,h.value,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,C.localize)(0,null,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn)}}e.OneReference=s;class i{constructor(u){this._modelReference=u}dispose(){this._modelReference.dispose()}preview(u,h=8){const r=this._modelReference.object.textEditorModel;if(!r)return;const{startLineNumber:c,startColumn:o,endLineNumber:d,endColumn:l}=u,p=r.getWordUntilPosition({lineNumber:c,column:o-h}),m=new g.Range(c,p.startColumn,c,o),v=new g.Range(d,l,d,1073741824),b=r.getValueInRange(m).replace(/^\s+/,""),w=r.getValueInRange(u),E=r.getValueInRange(v).replace(/\s+$/,"");return{value:b+w+E,highlight:{start:b.length,end:b.length+w.length}}}}e.FilePreview=i;class n{constructor(u,h){this.parent=u,this.uri=h,this.children=[],this._previews=new S.ResourceMap}dispose(){(0,D.dispose)(this._previews.values()),this._previews.clear()}getPreview(u){return this._previews.get(u.uri)}get ariaMessage(){const u=this.children.length;return u===1?(0,C.localize)(2,null,(0,f.basename)(this.uri),this.uri.fsPath):(0,C.localize)(3,null,u,(0,f.basename)(this.uri),this.uri.fsPath)}resolve(u){return we(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(const h of this.children)if(!this._previews.has(h.uri))try{const r=yield u.createModelReference(h.uri);this._previews.set(h.uri,new i(r))}catch(r){(0,L.onUnexpectedError)(r)}return this})}}e.FileReferences=n;class t{constructor(u,h){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new k.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=u,this._title=h;const[r]=u;u.sort(t._compareReferences);let c;for(const o of u)if((!c||!f.extUri.isEqual(c.uri,o.uri,!0))&&(c=new n(this,o.uri),this.groups.push(c)),c.children.length===0||t._compareReferences(o,c.children[c.children.length-1])!==0){const d=new s(r===o,c,o,l=>this._onDidChangeReferenceRange.fire(l));this.references.push(d),c.children.push(d)}}dispose(){(0,D.dispose)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new t(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,C.localize)(4,null):this.references.length===1?(0,C.localize)(5,null,this.references[0].uri.fsPath):this.groups.length===1?(0,C.localize)(6,null,this.references.length,this.groups[0].uri.fsPath):(0,C.localize)(7,null,this.references.length,this.groups.length)}nextOrPreviousReference(u,h){const{parent:r}=u;let c=r.children.indexOf(u);const o=r.children.length,d=r.parent.groups.length;return d===1||h&&c+10?(h?c=(c+1)%o:c=(c+o-1)%o,r.children[c]):(c=r.parent.groups.indexOf(r),h?(c=(c+1)%d,r.parent.groups[c].children[0]):(c=(c+d-1)%d,r.parent.groups[c].children[r.parent.groups[c].children.length-1]))}nearestReference(u,h){const r=this.references.map((c,o)=>({idx:o,prefixLen:_.commonPrefixLength(c.uri.toString(),u.toString()),offsetDist:Math.abs(c.range.startLineNumber-h.lineNumber)*100+Math.abs(c.range.startColumn-h.column)})).sort((c,o)=>c.prefixLen>o.prefixLen?-1:c.prefixLeno.offsetDist?1:0)[0];if(r)return this.references[r.idx]}referenceAt(u,h){for(const r of this.references)if(r.uri.toString()===u.toString()&&g.Range.containsPosition(r.range,h))return r}firstReference(){for(const u of this.references)if(u.isProviderFirst)return u;return this.references[0]}static _compareReferences(u,h){return f.extUri.compare(u.uri,h.uri)||g.Range.compareRangesUsingStarts(u.range,h.range)}}e.ReferencesModel=t}),define(ne[670],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/symbolNavigation",e)}),define(ne[671],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/hover",e)}),define(ne[672],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markdownHoverParticipant",e)}),define(ne[673],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markerHoverParticipant",e)}),define(ne[674],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace",e)}),define(ne[675],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/indentation/browser/indentation",e)}),define(ne[676],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlayHints/browser/inlayHintsHover",e)}),define(ne[677],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/commands",e)}),define(ne[678],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/hoverParticipant",e)}),define(ne[679],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys",e)}),define(ne[680],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController",e)}),define(ne[681],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget",e)}),define(ne[682],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/lineSelection/browser/lineSelection",e)}),define(ne[683],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linesOperations/browser/linesOperations",e)}),define(ne[684],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linkedEditing/browser/linkedEditing",e)}),define(ne[685],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/links/browser/links",e)}),define(ne[686],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/message/browser/messageController",e)}),define(ne[687],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/multicursor/browser/multicursor",e)}),define(ne[688],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHints",e)}),define(ne[689],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHintsWidget",e)}),define(ne[690],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/peekView/browser/peekView",e)}),define(ne[691],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess",e)}),define(ne[692],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess",e)}),define(ne[693],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/readOnlyMessage/browser/contribution",e)}),define(ne[694],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/rename",e)}),define(ne[695],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/renameInputField",e)}),define(ne[696],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/smartSelect/browser/smartSelect",e)}),define(ne[697],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetController2",e)}),define(ne[698],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetVariables",e)}),define(ne[699],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/stickyScroll/browser/stickyScrollActions",e)}),define(ne[700],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggest",e)}),define(ne[701],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestController",e)}),define(ne[702],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidget",e)}),define(ne[703],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetDetails",e)}),define(ne[704],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetRenderer",e)}),define(ne[705],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetStatus",e)}),define(ne[706],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/symbolIcons/browser/symbolIcons",e)}),define(ne[707],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode",e)}),define(ne[708],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/tokenization/browser/tokenization",e)}),define(ne[709],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter",e)}),define(ne[710],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators",e)}),define(ne[711],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/highlightDecorations",e)}),define(ne[712],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/wordHighlighter",e)}),define(ne[713],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordOperations/browser/wordOperations",e)}),define(ne[714],se([3,4]),function(Q,e){return Q.create("vs/platform/action/common/actionCommonCategories",e)}),define(ne[715],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionList",e)}),define(ne[716],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionWidget",e)}),define(ne[717],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/menuEntryActionViewItem",e)}),define(ne[718],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/toolbar",e)}),define(ne[719],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/common/menuService",e)}),define(ne[720],se([3,4]),function(Q,e){return Q.create("vs/platform/audioCues/browser/audioCueService",e)}),define(ne[721],se([3,4]),function(Q,e){return Q.create("vs/platform/configuration/common/configurationRegistry",e)}),define(ne[722],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/browser/contextKeyService",e)}),define(ne[723],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkey",e)}),define(ne[724],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkeys",e)}),define(ne[725],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/scanner",e)}),define(ne[726],se([3,4]),function(Q,e){return Q.create("vs/platform/history/browser/contextScopedHistoryWidget",e)}),define(ne[727],se([3,4]),function(Q,e){return Q.create("vs/platform/keybinding/common/abstractKeybindingService",e)}),define(ne[728],se([3,4]),function(Q,e){return Q.create("vs/platform/list/browser/listService",e)}),define(ne[729],se([3,4]),function(Q,e){return Q.create("vs/platform/markers/common/markers",e)}),define(ne[730],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/commandsQuickAccess",e)}),define(ne[731],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/helpQuickAccess",e)}),define(ne[732],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInput",e)}),define(ne[733],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputController",e)}),define(ne[734],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputList",e)}),define(ne[735],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputUtils",e)}),define(ne[736],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/colorRegistry",e)}),define(ne[737],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/iconRegistry",e)}),define(ne[738],se([3,4]),function(Q,e){return Q.create("vs/platform/undoRedo/common/undoRedoService",e)}),define(ne[739],se([3,4]),function(Q,e){return Q.create("vs/platform/workspace/common/workspace",e)}),define(ne[740],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isICommandActionToggleInfo=void 0;function L(k){return k?k.condition!==void 0:!1}e.isICommandActionToggleInfo=L}),define(ne[741],se([1,0,714]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Categories=void 0,e.Categories=Object.freeze({View:{value:(0,L.localize)(0,null),original:"View"},Help:{value:(0,L.localize)(1,null),original:"Help"},Test:{value:(0,L.localize)(2,null),original:"Test"},File:{value:(0,L.localize)(3,null),original:"File"},Preferences:{value:(0,L.localize)(4,null),original:"Preferences"},Developer:{value:(0,L.localize)(5,null),original:"Developer"}})}),define(ne[742],se([1,0,9,725]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scanner=void 0;function y(..._){switch(_.length){case 1:return(0,k.localize)(0,null,_[0]);case 2:return(0,k.localize)(1,null,_[0],_[1]);case 3:return(0,k.localize)(2,null,_[0],_[1],_[2]);default:return}}const D=(0,k.localize)(3,null),S=(0,k.localize)(4,null);class f{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(g){switch(g.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return g.isTripleEq?"===":"==";case 4:return g.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return g.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return g.lexeme;case 18:return g.lexeme;case 19:return g.lexeme;case 20:return"EOF";default:throw(0,L.illegalState)(`unhandled token type: ${JSON.stringify(g)}; have you forgotten to add a case?`)}}reset(g){return this._input=g,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const C=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:C})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const C=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:C})}else this._match(126)?this._addToken(9):this._error(y("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(y("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(y("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(g){return this._isAtEnd()||this._input.charCodeAt(this._current)!==g?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(g){this._tokens.push({type:g,offset:this._start})}_error(g){const C=this._start,s=this._input.substring(this._start,this._current),i={type:19,offset:this._start,lexeme:s};this._errors.push({offset:C,lexeme:s,additionalInfo:g}),this._tokens.push(i)}_string(){this.stringRe.lastIndex=this._start;const g=this.stringRe.exec(this._input);if(g){this._current=this._start+g[0].length;const C=this._input.substring(this._start,this._current),s=f._keywords.get(C);s?this._addToken(s):this._tokens.push({type:17,lexeme:C,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(D);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let g=this._current,C=!1,s=!1;for(;;){if(g>=this._input.length){this._current=g,this._error(S);return}const n=this._input.charCodeAt(g);if(C)C=!1;else if(n===47&&!s){g++;break}else n===91?s=!0:n===92?C=!0:n===93&&(s=!1);g++}for(;g=this._input.length}}e.Scanner=f,f._regexFlags=new Set(["i","g","s","m","y","u"].map(_=>_.charCodeAt(0))),f._keywords=new Map([["not",14],["in",13],["false",12],["true",11]])}),define(ne[743],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorOpenSource=void 0;var L;(function(k){k[k.API=0]="API",k[k.USER=1]="USER"})(L||(e.EditorOpenSource=L={}))}),define(ne[744],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionIdentifierSet=e.ExtensionIdentifier=void 0;class L{constructor(D){this.value=D,this._lower=D.toLowerCase()}static toKey(D){return typeof D=="string"?D.toLowerCase():D._lower}}e.ExtensionIdentifier=L;class k{constructor(D){if(this._set=new Set,D)for(const S of D)this.add(S)}add(D){this._set.add(L.toKey(D))}has(D){return this._set.has(L.toKey(D))}}e.ExtensionIdentifierSet=k}),define(ne[330],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileKind=void 0;var L;(function(k){k[k.FILE=0]="FILE",k[k.FOLDER=1]="FOLDER",k[k.ROOT_FOLDER=2]="ROOT_FOLDER"})(L||(e.FileKind=L={}))}),define(ne[745],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showHistoryKeybindingHint=void 0;function L(k){var y,D;return((y=k.lookupKeybinding("history.showPrevious"))===null||y===void 0?void 0:y.getElectronAccelerator())==="Up"&&((D=k.lookupKeybinding("history.showNext"))===null||D===void 0?void 0:D.getElectronAccelerator())==="Down"}e.showHistoryKeybindingHint=L}),define(ne[232],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SyncDescriptor=void 0;class L{constructor(y,D=[],S=!1){this.ctor=y,this.staticArguments=D,this.supportsDelayedInstantiation=S}}e.SyncDescriptor=L}),define(ne[50],se([1,0,232]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingletonServiceDescriptors=e.registerSingleton=void 0;const k=[];function y(S,f,_){f instanceof L.SyncDescriptor||(f=new L.SyncDescriptor(f,[],!!_)),k.push([S,f])}e.registerSingleton=y;function D(){return k}e.getSingletonServiceDescriptors=D}),define(ne[746],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Graph=e.Node=void 0;class L{constructor(D,S){this.key=D,this.data=S,this.incoming=new Map,this.outgoing=new Map}}e.Node=L;class k{constructor(D){this._hashFn=D,this._nodes=new Map}roots(){const D=[];for(const S of this._nodes.values())S.outgoing.size===0&&D.push(S);return D}insertEdge(D,S){const f=this.lookupOrInsertNode(D),_=this.lookupOrInsertNode(S);f.outgoing.set(_.key,_),_.incoming.set(f.key,f)}removeNode(D){const S=this._hashFn(D);this._nodes.delete(S);for(const f of this._nodes.values())f.outgoing.delete(S),f.incoming.delete(S)}lookupOrInsertNode(D){const S=this._hashFn(D);let f=this._nodes.get(S);return f||(f=new L(S,D),this._nodes.set(S,f)),f}isEmpty(){return this._nodes.size===0}toString(){const D=[];for(const[S,f]of this._nodes)D.push(`${S} - (-> incoming)[${[...f.incoming.keys()].join(", ")}] - (outgoing ->)[${[...f.outgoing.keys()].join(",")}] -`);return D.join(` -`)}findCycleSlow(){for(const[D,S]of this._nodes){const f=new Set([D]),_=this._findCycle(S,f);if(_)return _}}_findCycle(D,S){for(const[f,_]of D.outgoing){if(S.has(f))return[...S,f].join(" -> ");S.add(f);const g=this._findCycle(_,S);if(g)return g;S.delete(f)}}}e.Graph=k}),define(ne[8],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDecorator=e.IInstantiationService=e._util=void 0;var L;(function(D){D.serviceIds=new Map,D.DI_TARGET="$di$target",D.DI_DEPENDENCIES="$di$dependencies";function S(f){return f[D.DI_DEPENDENCIES]||[]}D.getServiceDependencies=S})(L||(e._util=L={})),e.IInstantiationService=y("instantiationService");function k(D,S,f){S[L.DI_TARGET]===S?S[L.DI_DEPENDENCIES].push({id:D,index:f}):(S[L.DI_DEPENDENCIES]=[{id:D,index:f}],S[L.DI_TARGET]=S)}function y(D){if(L.serviceIds.has(D))return L.serviceIds.get(D);const S=function(f,_,g){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");k(S,f,g)};return S.toString=()=>D,L.serviceIds.set(D,S),S}e.createDecorator=y}),define(ne[132],se([1,0,8,22,20]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceFileEdit=e.ResourceTextEdit=e.ResourceEdit=e.IBulkEditService=void 0,e.IBulkEditService=(0,L.createDecorator)("IWorkspaceEditService");class D{constructor(g){this.metadata=g}static convert(g){return g.edits.map(C=>{if(S.is(C))return S.lift(C);if(f.is(C))return f.lift(C);throw new Error("Unsupported edit")})}}e.ResourceEdit=D;class S extends D{static is(g){return g instanceof S?!0:(0,y.isObject)(g)&&k.URI.isUri(g.resource)&&(0,y.isObject)(g.textEdit)}static lift(g){return g instanceof S?g:new S(g.resource,g.textEdit,g.versionId,g.metadata)}constructor(g,C,s=void 0,i){super(i),this.resource=g,this.textEdit=C,this.versionId=s}}e.ResourceTextEdit=S;class f extends D{static is(g){return g instanceof f?!0:(0,y.isObject)(g)&&(!!g.newResource||!!g.oldResource)}static lift(g){return g instanceof f?g:new f(g.oldResource,g.newResource,g.options,g.metadata)}constructor(g,C,s={},i){super(i),this.oldResource=g,this.newResource=C,this.options=s}}e.ResourceFileEdit=f}),define(ne[33],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICodeEditorService=void 0,e.ICodeEditorService=(0,L.createDecorator)("codeEditorService")}),define(ne[41],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageService=void 0,e.ILanguageService=(0,L.createDecorator)("languageService")}),define(ne[115],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorWorkerService=void 0,e.IEditorWorkerService=(0,L.createDecorator)("editorWorkerService")}),define(ne[18],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageFeaturesService=void 0,e.ILanguageFeaturesService=(0,L.createDecorator)("ILanguageFeaturesService")});var fe=this&&this.__param||function(Q,e){return function(L,k){e(L,k,Q)}};define(ne[747],se([1,0,7,129,14,19,25,6,55,2,42,26,20,483,102,66,12,5,29,18,614]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRangesFeature=void 0;let d=class extends g.Disposable{get isUpdatingViewZones(){return this._isUpdatingViewZones}constructor(b,w,E,I){super(),this._editors=b,this._diffModel=w,this._options=E,this._languageFeaturesService=I,this._isUpdatingViewZones=!1,this._modifiedModel=(0,C.observableFromEvent)(this._editors.modified.onDidChangeModel,()=>this._editors.modified.getModel()),this._modifiedOutlineSource=(0,C.derivedWithStore)("modified outline source",(A,N)=>{const F=this._modifiedModel.read(A);if(F)return N.add(new p(this._languageFeaturesService,F))}),this._register(this._editors.original.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.original.getSelections()||[])N?.ensureOriginalLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureOriginalLineIsVisible(O.getEndPosition().lineNumber,F)})}})),this._register(this._editors.modified.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.modified.getSelections()||[])N?.ensureModifiedLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureModifiedLineIsVisible(O.getEndPosition().lineNumber,F)})}}));const M=this._diffModel.map((A,N)=>{var F,O;return((F=A?.diff.read(N))===null||F===void 0?void 0:F.mappings.length)===0?[]:(O=A?.unchangedRegions.read(N))!==null&&O!==void 0?O:[]}),P=(0,C.derivedWithStore)("view zones",(A,N)=>{const F=[],O=[],W=this._options.renderSideBySide.read(A),U=this._modifiedOutlineSource.read(A);if(!U)return{origViewZones:F,modViewZones:O};const j=M.read(A);for(const R of j)if(!R.shouldHideControls(A)){{const K=(0,C.derived)(Z=>R.getHiddenOriginalRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);F.push(G),N.add(new m(this._editors.original,G,R,R.originalRange,!W,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}{const K=(0,C.derived)(Z=>R.getHiddenModifiedRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);O.push(G),N.add(new m(this._editors.modified,G,R,R.modifiedRange,!1,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}}return{origViewZones:F,modViewZones:O}}),x={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},T={description:"Fold Unchanged",glyphMarginHoverMessage:new _.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,o.localize)(0,null)),glyphMarginClassName:"fold-unchanged "+s.ThemeIcon.asClassName(S.Codicon.fold),zIndex:10001};this._register((0,t.applyObservableDecorations)(this._editors.original,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.originalRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:h.Range.fromPositions(new u.Position(O.originalLineNumber,1)),options:T});return F}))),this._register((0,t.applyObservableDecorations)(this._editors.modified,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.modifiedRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:a.LineRange.ofLength(O.modifiedLineNumber,1).toInclusiveRange(),options:T});return F}))),this._register((0,t.applyViewZones)(this._editors.original,P.map(A=>A.origViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,t.applyViewZones)(this._editors.modified,P.map(A=>A.modViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,C.autorun)(A=>{const N=M.read(A);this._editors.original.setHiddenAreas(N.map(F=>F.getHiddenOriginalRange(A).toInclusiveRange()).filter(i.isDefined)),this._editors.modified.setHiddenAreas(N.map(F=>F.getHiddenModifiedRange(A).toInclusiveRange()).filter(i.isDefined))})),this._register(this._editors.modified.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.modifiedRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.originalRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}}))}};e.UnchangedRangesFeature=d,e.UnchangedRangesFeature=d=ke([fe(3,c.ILanguageFeaturesService)],d);class l extends D.CancellationTokenSource{dispose(){super.dispose(!0)}}let p=class extends g.Disposable{constructor(b,w){super(),this._languageFeaturesService=b,this._textModel=w,this._currentModel=(0,C.observableValue)("current model",void 0);const E=(0,C.observableSignalFromEvent)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),I=(0,C.observableSignalFromEvent)("_textModel.onDidChangeContent",f.Event.debounce(M=>this._textModel.onDidChangeContent(M),()=>{},100));this._register((0,C.autorunWithStore)((M,P)=>we(this,void 0,void 0,function*(){E.read(M),I.read(M);const x=P.add(new l),T=yield n.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,this._textModel,x.token);P.isDisposed||this._currentModel.set(T,void 0)})))}getBreadcrumbItems(b,w){const E=this._currentModel.read(w);if(!E)return[];const I=E.asListOfDocumentSymbols().filter(M=>b.contains(M.range.startLineNumber)&&!b.contains(M.range.endLineNumber));return I.sort((0,y.reverseOrder)((0,y.compareBy)(M=>M.range.endLineNumber-M.range.startLineNumber,y.numberComparator))),I.map(M=>({name:M.name,kind:M.kind,startLineNumber:M.range.startLineNumber}))}};p=ke([fe(0,c.ILanguageFeaturesService)],p);class m extends t.ViewZoneOverlayWidget{constructor(b,w,E,I,M,P,x,T){const A=(0,L.h)("div.diff-hidden-lines-widget");super(b,w,A.root),this._editor=b,this._unchangedRegion=E,this._unchangedRegionRange=I,this.hide=M,this._modifiedOutlineSource=P,this._revealModifiedHiddenLine=x,this._options=T,this._nodes=(0,L.h)("div.diff-hidden-lines",[(0,L.h)("div.top@top",{title:(0,o.localize)(1,null)}),(0,L.h)("div.center@content",{style:{display:"flex"}},[(0,L.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,L.$)("a",{title:(0,o.localize)(2,null),role:"button",onclick:()=>{this.showAll()}},...(0,k.renderLabelWithIcons)("$(unfold)"))]),(0,L.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,L.h)("div.bottom@bottom",{title:(0,o.localize)(3,null),role:"button"})]),A.root.appendChild(this._nodes.root);const N=(0,C.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this.hide?(0,L.reset)(this._nodes.first):this._register((0,t.applyStyle)(this._nodes.first,{width:N.map(O=>O.contentLeft)}));const F=this._editor;this._register((0,L.addDisposableListener)(this._nodes.top,"mousedown",O=>{if(O.button!==0)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j+X,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(H,void 0)}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{U||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(!1,void 0),R.dispose(),K.dispose()})})),this._register((0,L.addDisposableListener)(this._nodes.bottom,"mousedown",O=>{if(O.button!==0)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j-X,this._unchangedRegion.getMaxVisibleLineCountBottom())),B=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(H,void 0);const V=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(V-B))}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{if(this._unchangedRegion.isDragged.set(!1,void 0),!U){const Z=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);const J=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(J-Z))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),R.dispose(),K.dispose()})})),this._register((0,C.autorun)(O=>{const W=[];if(!this.hide){const U=E.getHiddenModifiedRange(O).length,j=(0,o.localize)(4,null,U),R=(0,L.$)("span",{title:(0,o.localize)(5,null)},j);R.addEventListener("dblclick",Z=>{Z.button===0&&(Z.preventDefault(),this.showAll())}),W.push(R);const K=this._unchangedRegion.getHiddenModifiedRange(O),G=this._modifiedOutlineSource.getBreadcrumbItems(K,O);if(G.length>0){W.push((0,L.$)("span",void 0,"\xA0\xA0|\xA0\xA0"));for(let Z=0;Z{this._revealModifiedHiddenLine(J.startLineNumber)}}}}(0,L.reset)(this._nodes.others,...W)}))}showAll(){this._unchangedRegion.showAll(void 0)}}}),define(ne[748],se([1,0,594,18,50]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeaturesService=void 0;class D{constructor(){this.referenceProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.renameProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeActionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.definitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.typeDefinitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.declarationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.implementationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSymbolProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlayHintsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.colorProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeLensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.onTypeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.signatureHelpProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.hoverProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentHighlightProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.selectionRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.foldingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlineCompletionsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.completionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkedEditingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentOnDropEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentPasteEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this))}_score(f){var _;return(_=this._notebookTypeResolver)===null||_===void 0?void 0:_.call(this,f)}}e.LanguageFeaturesService=D,(0,y.registerSingleton)(k.ILanguageFeaturesService,D,1)}),define(ne[233],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerDecorationsService=void 0,e.IMarkerDecorationsService=(0,L.createDecorator)("markerDecorationsService")}),define(ne[51],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IModelService=void 0,e.IModelService=(0,L.createDecorator)("modelService")}),define(ne[69],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextModelService=void 0,e.ITextModelService=(0,L.createDecorator)("textModelService")}),define(ne[234],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISemanticTokensStylingService=void 0,e.ISemanticTokensStylingService=(0,L.createDecorator)("semanticTokensStylingService")}),define(ne[187],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextResourcePropertiesService=e.ITextResourceConfigurationService=void 0,e.ITextResourceConfigurationService=(0,L.createDecorator)("textResourceConfigurationService"),e.ITextResourcePropertiesService=(0,L.createDecorator)("textResourcePropertiesService")}),define(ne[749],se([1,0,50,8,285]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITreeViewsDnDService=void 0,e.ITreeViewsDnDService=(0,k.createDecorator)("treeViewsDndService"),(0,L.registerSingleton)(e.ITreeViewsDnDService,y.TreeViewsDnDService,1)}),define(ne[331],se([1,0,132]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortEditsByYieldTo=e.createCombinedWorkspaceEdit=void 0;function k(D,S,f){var _,g;return{edits:[...S.map(C=>new L.ResourceTextEdit(D,typeof f.insertText=="string"?{range:C,text:f.insertText,insertAsSnippet:!1}:{range:C,text:f.insertText.snippet,insertAsSnippet:!0})),...(g=(_=f.additionalEdit)===null||_===void 0?void 0:_.edits)!==null&&g!==void 0?g:[]]}}e.createCombinedWorkspaceEdit=k;function y(D){var S;function f(i,n){return"providerId"in i&&i.providerId===n.providerId||"mimeType"in i&&i.mimeType===n.handledMimeType}const _=new Map;for(const i of D)for(const n of(S=i.yieldTo)!==null&&S!==void 0?S:[])for(const t of D)if(t!==i&&f(n,t)){let a=_.get(i);a||(a=[],_.set(i,a)),a.push(t)}if(!_.size)return Array.from(D);const g=new Set,C=[];function s(i){if(!i.length)return[];const n=i[0];if(C.includes(n))return console.warn(`Yield to cycle detected for ${n.providerId}`),i;if(g.has(n))return s(i.slice(1));let t=[];const a=_.get(n);return a&&(C.push(n),t=s(a),C.pop()),g.add(n),[...t,n,...s(i.slice(1))]}return s(Array.from(D))}e.sortEditsByYieldTo=y}),define(ne[750],se([1,0,89,6,2,42,11,59,36,12,5,93,41,48,86,127,95,215,151,450]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GhostTextWidget=void 0;let c=class extends y.Disposable{constructor(m,v,b){super(),this.editor=m,this.model=v,this.languageService=b,this.isDisposed=(0,D.observableValue)("isDisposed",!1),this.currentTextModel=(0,D.observableFromEvent)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,D.derived)(w=>{if(this.isDisposed.read(w))return;const E=this.currentTextModel.read(w);if(E!==this.model.targetTextModel.read(w))return;const I=this.model.ghostText.read(w);if(!I)return;const M=I instanceof h.GhostTextReplacement?I.columnRange:void 0,P=[],x=[];function T(W,U){if(x.length>0){const j=x[x.length-1];U&&j.decorations.push(new a.LineDecoration(j.content.length+1,j.content.length+1+W[0].length,U,0)),j.content+=W[0],W=W.slice(1)}for(const j of W)x.push({content:j,decorations:U?[new a.LineDecoration(1,j.length+1,U,0)]:[]})}const A=E.getLineContent(I.lineNumber);let N,F=0;for(const W of I.parts){let U=W.lines;N===void 0?(P.push({column:W.column,text:U[0],preview:W.preview}),U=U.slice(1)):T([A.substring(F,W.column-1)],void 0),U.length>0&&(T(U,"ghost-text"),N===void 0&&W.column<=A.length&&(N=W.column)),F=W.column-1}N!==void 0&&T([A.substring(F)],void 0);const O=N!==void 0?new r.ColumnRange(N,A.length+1):void 0;return{replacedRange:M,inlineTexts:P,additionalLines:x,hiddenRange:O,lineNumber:I.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(w),targetTextModel:E}}),this.decorations=(0,D.derived)(w=>{const E=this.uiState.read(w);if(!E)return[];const I=[];E.replacedRange&&I.push({range:E.replacedRange.toRange(E.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),E.hiddenRange&&I.push({range:E.hiddenRange.toRange(E.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}});for(const M of E.inlineTexts)I.push({range:C.Range.fromPositions(new g.Position(E.lineNumber,M.column)),options:{description:"ghost-text",after:{content:M.text,inlineClassName:M.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:n.InjectedTextCursorStops.Left},showIfCollapsed:!0}});return I}),this.additionalLinesWidget=this._register(new o(this.editor,this.languageService.languageIdCodec,(0,D.derived)(w=>{const E=this.uiState.read(w);return E?{lineNumber:E.lineNumber,additionalLines:E.additionalLines,minReservedLineCount:E.additionalReservedLineCount,targetTextModel:E.targetTextModel}:void 0}))),this._register((0,y.toDisposable)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,r.applyObservableDecorations)(this.editor,this.decorations))}ownsViewZone(m){return this.additionalLinesWidget.viewZoneId===m}};e.GhostTextWidget=c,e.GhostTextWidget=c=ke([fe(2,i.ILanguageService)],c);class o extends y.Disposable{get viewZoneId(){return this._viewZoneId}constructor(m,v,b){super(),this.editor=m,this.languageIdCodec=v,this.lines=b,this._viewZoneId=void 0,this.editorOptionsChanged=(0,D.observableSignalFromEvent)("editorOptionChanged",k.Event.filter(this.editor.onDidChangeConfiguration,w=>w.hasChanged(32)||w.hasChanged(115)||w.hasChanged(97)||w.hasChanged(92)||w.hasChanged(50)||w.hasChanged(49)||w.hasChanged(65))),this._register((0,D.autorun)(w=>{const E=this.lines.read(w);this.editorOptionsChanged.read(w),E?this.updateLines(E.lineNumber,E.additionalLines,E.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(m=>{this._viewZoneId&&(m.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(m,v,b){const w=this.editor.getModel();if(!w)return;const{tabSize:E}=w.getOptions();this.editor.changeViewZones(I=>{this._viewZoneId&&(I.removeZone(this._viewZoneId),this._viewZoneId=void 0);const M=Math.max(v.length,b);if(M>0){const P=document.createElement("div");d(P,E,v,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=I.addZone({afterLineNumber:m,heightInLines:M,domNode:P,afterColumnAffinity:1})}})}}function d(p,m,v,b,w){const E=b.get(32),I=b.get(115),M="none",P=b.get(92),x=b.get(50),T=b.get(49),A=b.get(65),N=new s.StringBuilder(1e4);N.appendString('
    ');for(let W=0,U=v.length;W');const K=S.isBasicASCII(R),G=S.containsRTL(R),Z=t.LineTokens.createEmpty(R,w);(0,u.renderViewLine)(new u.RenderLineInput(T.isMonospace&&!E,T.canUseHalfwidthRightwardsArrow,R,!1,K,G,0,Z,j.decorations,m,0,T.spaceWidth,T.middotWidth,T.wsmiddotWidth,I,M,P,x!==_.EditorFontLigatures.OFF,null),N),N.appendString("
    ")}N.appendString(""),(0,f.applyFontInfo)(p,T);const F=N.build(),O=l?l.createHTML(F):F;p.innerHTML=O}const l=(0,L.createTrustedTypesPolicy)("editorGhostText",{createHTML:p=>p})}),define(ne[133],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IStandaloneThemeService=void 0,e.IStandaloneThemeService=(0,L.createDecorator)("themeService")}),define(ne[116],se([1,0,8,720]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AudioCue=e.SoundSource=e.Sound=e.IAudioCueService=void 0,e.IAudioCueService=(0,L.createDecorator)("audioCue");class y{static register(_){return new y(_.fileName)}constructor(_){this.fileName=_}}e.Sound=y,y.error=y.register({fileName:"error.mp3"}),y.warning=y.register({fileName:"warning.mp3"}),y.foldedArea=y.register({fileName:"foldedAreas.mp3"}),y.break=y.register({fileName:"break.mp3"}),y.quickFixes=y.register({fileName:"quickFixes.mp3"}),y.taskCompleted=y.register({fileName:"taskCompleted.mp3"}),y.taskFailed=y.register({fileName:"taskFailed.mp3"}),y.terminalBell=y.register({fileName:"terminalBell.mp3"}),y.diffLineInserted=y.register({fileName:"diffLineInserted.mp3"}),y.diffLineDeleted=y.register({fileName:"diffLineDeleted.mp3"}),y.diffLineModified=y.register({fileName:"diffLineModified.mp3"}),y.chatRequestSent=y.register({fileName:"chatRequestSent.mp3"}),y.chatResponsePending=y.register({fileName:"chatResponsePending.mp3"}),y.chatResponseReceived1=y.register({fileName:"chatResponseReceived1.mp3"}),y.chatResponseReceived2=y.register({fileName:"chatResponseReceived2.mp3"}),y.chatResponseReceived3=y.register({fileName:"chatResponseReceived3.mp3"}),y.chatResponseReceived4=y.register({fileName:"chatResponseReceived4.mp3"});class D{constructor(_){this.randomOneOf=_}}e.SoundSource=D;class S{static register(_){const g=new D("randomOneOf"in _.sound?_.sound.randomOneOf:[_.sound]),C=new S(g,_.name,_.settingsKey);return S._audioCues.add(C),C}constructor(_,g,C){this.sound=_,this.name=g,this.settingsKey=C}}e.AudioCue=S,S._audioCues=new Set,S.error=S.register({name:(0,k.localize)(0,null),sound:y.error,settingsKey:"audioCues.lineHasError"}),S.warning=S.register({name:(0,k.localize)(1,null),sound:y.warning,settingsKey:"audioCues.lineHasWarning"}),S.foldedArea=S.register({name:(0,k.localize)(2,null),sound:y.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),S.break=S.register({name:(0,k.localize)(3,null),sound:y.break,settingsKey:"audioCues.lineHasBreakpoint"}),S.inlineSuggestion=S.register({name:(0,k.localize)(4,null),sound:y.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),S.terminalQuickFix=S.register({name:(0,k.localize)(5,null),sound:y.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),S.onDebugBreak=S.register({name:(0,k.localize)(6,null),sound:y.break,settingsKey:"audioCues.onDebugBreak"}),S.noInlayHints=S.register({name:(0,k.localize)(7,null),sound:y.error,settingsKey:"audioCues.noInlayHints"}),S.taskCompleted=S.register({name:(0,k.localize)(8,null),sound:y.taskCompleted,settingsKey:"audioCues.taskCompleted"}),S.taskFailed=S.register({name:(0,k.localize)(9,null),sound:y.taskFailed,settingsKey:"audioCues.taskFailed"}),S.terminalCommandFailed=S.register({name:(0,k.localize)(10,null),sound:y.error,settingsKey:"audioCues.terminalCommandFailed"}),S.terminalBell=S.register({name:(0,k.localize)(11,null),sound:y.terminalBell,settingsKey:"audioCues.terminalBell"}),S.notebookCellCompleted=S.register({name:(0,k.localize)(12,null),sound:y.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),S.notebookCellFailed=S.register({name:(0,k.localize)(13,null),sound:y.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),S.diffLineInserted=S.register({name:(0,k.localize)(14,null),sound:y.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),S.diffLineDeleted=S.register({name:(0,k.localize)(15,null),sound:y.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),S.diffLineModified=S.register({name:(0,k.localize)(16,null),sound:y.diffLineModified,settingsKey:"audioCues.diffLineModified"}),S.chatRequestSent=S.register({name:(0,k.localize)(17,null),sound:y.chatRequestSent,settingsKey:"audioCues.chatRequestSent"}),S.chatResponseReceived=S.register({name:(0,k.localize)(18,null),settingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[y.chatResponseReceived1,y.chatResponseReceived2,y.chatResponseReceived3,y.chatResponseReceived4]}}),S.chatResponsePending=S.register({name:(0,k.localize)(19,null),sound:y.chatResponsePending,settingsKey:"audioCues.chatResponsePending"})}),define(ne[96],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IClipboardService=void 0,e.IClipboardService=(0,L.createDecorator)("clipboardService")}),define(ne[27],se([1,0,6,46,2,64,20,8]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsRegistry=e.ICommandService=void 0,e.ICommandService=(0,f.createDecorator)("commandService"),e.CommandsRegistry=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new L.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(_,g){if(!_)throw new Error("invalid command");if(typeof _=="string"){if(!g)throw new Error("invalid command");return this.registerCommand({id:_,handler:g})}if(_.description){const t=[];for(const u of _.description.args)t.push(u.constraint);const a=_.handler;_.handler=function(u,...h){return(0,S.validateConstraints)(h,t),a(u,...h)}}const{id:C}=_;let s=this._commands.get(C);s||(s=new D.LinkedList,this._commands.set(C,s));const i=s.unshift(_),n=(0,y.toDisposable)(()=>{i();const t=this._commands.get(C);t?.isEmpty()&&this._commands.delete(C)});return this._onDidRegisterCommand.fire(C),n}registerCommandAlias(_,g){return e.CommandsRegistry.registerCommand(_,(C,...s)=>C.get(e.ICommandService).executeCommand(g,...s))}getCommand(_){const g=this._commands.get(_);if(!(!g||g.isEmpty()))return k.Iterable.first(g)}getCommands(){const _=new Map;for(const g of this._commands.keys()){const C=this.getCommand(g);C&&_.set(g,C)}return _}},e.CommandsRegistry.registerCommand("noop",()=>{})}),define(ne[332],se([1,0,19,9,2,20,22,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeLensModel=e.CodeLensModel=void 0;class C{constructor(){this.lenses=[],this._disposables=new y.DisposableStore}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(n,t){this._disposables.add(n);for(const a of n.lenses)this.lenses.push({symbol:a,provider:t})}}e.CodeLensModel=C;function s(i,n,t){return we(this,void 0,void 0,function*(){const a=i.ordered(n),u=new Map,h=new C,r=a.map((c,o)=>we(this,void 0,void 0,function*(){u.set(c,o);try{const d=yield Promise.resolve(c.provideCodeLenses(n,t));d&&h.add(d,c)}catch(d){(0,k.onUnexpectedExternalError)(d)}}));return yield Promise.all(r),h.lenses=h.lenses.sort((c,o)=>c.symbol.range.startLineNumbero.symbol.range.startLineNumber?1:u.get(c.provider)u.get(o.provider)?1:c.symbol.range.startColumno.symbol.range.startColumn?1:0),h})}e.getCodeLensModel=s,_.CommandsRegistry.registerCommand("_executeCodeLensProvider",function(i,...n){let[t,a]=n;(0,D.assertType)(S.URI.isUri(t)),(0,D.assertType)(typeof a=="number"||!a);const{codeLensProvider:u}=i.get(g.ILanguageFeaturesService),h=i.get(f.IModelService).getModel(t);if(!h)throw(0,k.illegalArgument)();const r=[],c=new y.DisposableStore;return s(u,h,L.CancellationToken.None).then(o=>{c.add(o);const d=[];for(const l of o.lenses)a==null||l.symbol.command?r.push(l.symbol):a-- >0&&l.provider.resolveCodeLens&&d.push(Promise.resolve(l.provider.resolveCodeLens(h,l.symbol,L.CancellationToken.None)).then(p=>r.push(p||l.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>c.dispose(),100)})})}),define(ne[751],se([1,0,14,19,9,2,20,22,5,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLinks=e.LinksList=e.Link=void 0;class i{constructor(u,h){this._link=u,this._provider=h}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(u){return we(this,void 0,void 0,function*(){return this._link.url?this._link.url:typeof this._provider.resolveLink=="function"?Promise.resolve(this._provider.resolveLink(this._link,u)).then(h=>(this._link=h||this._link,this._link.url?this.resolve(u):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}e.Link=i;class n{constructor(u){this._disposables=new D.DisposableStore;let h=[];for(const[r,c]of u){const o=r.links.map(d=>new i(d,c));h=n._union(h,o),(0,D.isDisposable)(r)&&this._disposables.add(r)}this.links=h}dispose(){this._disposables.dispose(),this.links.length=0}static _union(u,h){const r=[];let c,o,d,l;for(c=0,d=0,o=u.length,l=h.length;cPromise.resolve(o.provideLinks(u,h)).then(l=>{l&&(r[d]=[l,o])},y.onUnexpectedExternalError));return Promise.all(c).then(()=>{const o=new n((0,L.coalesce)(r));return h.isCancellationRequested?(o.dispose(),new n([])):o})}e.getLinks=t,C.CommandsRegistry.registerCommand("_executeLinkProvider",(a,...u)=>we(void 0,void 0,void 0,function*(){let[h,r]=u;(0,S.assertType)(h instanceof f.URI),typeof r!="number"&&(r=0);const{linkProvider:c}=a.get(s.ILanguageFeaturesService),o=a.get(g.IModelService).getModel(h);if(!o)return[];const d=yield t(c,o,k.CancellationToken.None);if(!d)return[];for(let p=0;p0?m[0]:[]}function u(l,p,m,v,b){return we(this,void 0,void 0,function*(){const w=a(l,p),E=yield Promise.all(w.map(I=>we(this,void 0,void 0,function*(){let M,P=null;try{M=yield I.provideDocumentSemanticTokens(p,I===m?v:null,b)}catch(x){P=x,M=null}return(!M||!s(M)&&!i(M))&&(M=null),new n(I,M,P)})));for(const I of E){if(I.error)throw I.error;if(I.tokens)return I}return E.length>0?E[0]:null})}e.getDocumentSemanticTokens=u;function h(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:null}class r{constructor(p,m){this.provider=p,this.tokens=m}}function c(l,p){return l.has(p)}e.hasDocumentRangeSemanticTokensProvider=c;function o(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:[]}function d(l,p,m,v){return we(this,void 0,void 0,function*(){const b=o(l,p),w=yield Promise.all(b.map(E=>we(this,void 0,void 0,function*(){let I;try{I=yield E.provideDocumentRangeSemanticTokens(p,m,v)}catch(M){(0,k.onUnexpectedExternalError)(M),I=null}return(!I||!s(I))&&(I=null),new r(E,I)})));for(const E of w)if(E.tokens)return E;return w.length>0?w[0]:null})}e.getDocumentRangeSemanticTokens=d,S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService),w=h(b,v);return w?w[0].getLegend():l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokensLegend",m)})),S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService);if(!t(b,v))return l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokens",m,v.getFullModelRange());const w=yield u(b,v,null,null,L.CancellationToken.None);if(!w)return;const{provider:E,tokens:I}=w;if(!I||!s(I))return;const M=(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:I.data});return I.resultId&&E.releaseDocumentSemanticTokens(I.resultId),M})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI);const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=o(w,b);if(E.length===0)return;if(E.length===1)return E[0].getLegend();if(!v||!g.Range.isIRange(v))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),E[0].getLegend();const I=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(I)return I.provider.getLegend()})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI),(0,f.assertType)(g.Range.isIRange(v));const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(!(!E||!E.tokens))return(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:E.tokens.data})}))}),define(ne[28],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageTagSettingPlainKey=e.getConfigurationValue=e.removeFromValueTree=e.addToValueTree=e.toValuesTree=e.IConfigurationService=void 0,e.IConfigurationService=(0,L.createDecorator)("configurationService");function k(g,C){const s=Object.create(null);for(const i in g)y(s,i,g[i],C);return s}e.toValuesTree=k;function y(g,C,s,i){const n=C.split("."),t=n.pop();let a=g;for(let u=0;u"u"?s:t}e.getConfigurationValue=f;function _(g){return g.replace(/[\[\]]/g,"")}e.getLanguageTagSettingPlainKey=_}),define(ne[334],se([1,0,29,154,302,28]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.MonarchTokenizer=void 0;const f=5;class _{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(r!==null&&r.depth>=this._maxCacheDepth)return new g(r,c);let o=g.getStackElementId(r);o.length>0&&(o+="|"),o+=c;let d=this._entries[o];return d||(d=new g(r,c),this._entries[o]=d,d)}}_._INSTANCE=new _(f);class g{constructor(r,c){this.parent=r,this.state=c,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(r){let c="";for(;r!==null;)c.length>0&&(c+="|"),c+=r.state,r=r.parent;return c}static _equals(r,c){for(;r!==null&&c!==null;){if(r===c)return!0;if(r.state!==c.state)return!1;r=r.parent,c=c.parent}return r===null&&c===null}equals(r){return g._equals(this,r)}push(r){return _.create(this,r)}pop(){return this.parent}popall(){let r=this;for(;r.parent;)r=r.parent;return r}switchTo(r){return _.create(this.parent,r)}}class C{constructor(r,c){this.languageId=r,this.state=c}equals(r){return this.languageId===r.languageId&&this.state.equals(r.state)}clone(){return this.state.clone()===this.state?this:new C(this.languageId,this.state)}}class s{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(c!==null)return new i(r,c);if(r!==null&&r.depth>=this._maxCacheDepth)return new i(r,c);const o=g.getStackElementId(r);let d=this._entries[o];return d||(d=new i(r,null),this._entries[o]=d,d)}}s._INSTANCE=new s(f);class i{constructor(r,c){this.stack=r,this.embeddedLanguageData=c}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:s.create(this.stack,this.embeddedLanguageData)}equals(r){return!(r instanceof i)||!this.stack.equals(r.stack)?!1:this.embeddedLanguageData===null&&r.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||r.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(r.embeddedLanguageData)}}class n{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(r){this._languageId=r}emit(r,c){this._lastTokenType===c&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=c,this._lastTokenLanguage=this._languageId,this._tokens.push(new L.Token(r,c,this._languageId)))}nestedLanguageTokenize(r,c,o,d){const l=o.languageId,p=o.state,m=L.TokenizationRegistry.get(l);if(!m)return this.enterLanguage(l),this.emit(d,""),p;const v=m.tokenize(r,c,p);if(d!==0)for(const b of v.tokens)this._tokens.push(new L.Token(b.offset+d,b.type,b.language));else this._tokens=this._tokens.concat(v.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,v.endState}finalize(r){return new L.TokenizationResult(this._tokens,r)}}class t{constructor(r,c){this._languageService=r,this._theme=c,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(r){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(r)}emit(r,c){const o=this._theme.match(this._currentLanguageId,c)|1024;this._lastTokenMetadata!==o&&(this._lastTokenMetadata=o,this._tokens.push(r),this._tokens.push(o))}static _merge(r,c,o){const d=r!==null?r.length:0,l=c.length,p=o!==null?o.length:0;if(d===0&&l===0&&p===0)return new Uint32Array(0);if(d===0&&l===0)return o;if(l===0&&p===0)return r;const m=new Uint32Array(d+l+p);r!==null&&m.set(r);for(let v=0;v{if(p)return;let v=!1;for(let b=0,w=m.changedLanguages.length;b{m.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const r=[];for(const c in this._embeddedLanguages){const o=L.TokenizationRegistry.get(c);if(o){if(o instanceof S){const d=o.getLoadStatus();d.loaded===!1&&r.push(d.promise)}continue}L.TokenizationRegistry.isResolved(c)||r.push(L.TokenizationRegistry.getOrCreate(c))}return r.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(r).then(c=>{})}}getInitialState(){const r=_.create(null,this._lexer.start);return s.create(r,null)}tokenize(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenize)(this._languageId,o);const d=new n,l=this._tokenize(r,c,o,d);return d.finalize(l)}tokenizeEncoded(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenizeEncoded)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),o);const d=new t(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),l=this._tokenize(r,c,o,d);return d.finalize(l)}_tokenize(r,c,o,d){return o.embeddedLanguageData?this._nestedTokenize(r,c,o,0,d):this._myTokenize(r,c,o,0,d)}_findLeavingNestedLanguageOffset(r,c){let o=this._lexer.tokenizer[c.stack.state];if(!o&&(o=y.findRules(this._lexer,c.stack.state),!o))throw y.createError(this._lexer,"tokenizer state is not defined: "+c.stack.state);let d=-1,l=!1;for(const p of o){if(!y.isIAction(p.action)||p.action.nextEmbedded!=="@pop")continue;l=!0;let m=p.regex;const v=p.regex.source;if(v.substr(0,4)==="^(?:"&&v.substr(v.length-1,1)===")"){const w=(m.ignoreCase?"i":"")+(m.unicode?"u":"");m=new RegExp(v.substr(4,v.length-5),w)}const b=r.search(m);b===-1||b!==0&&p.matchOnlyAtLineStart||(d===-1||b0&&l.nestedLanguageTokenize(m,!1,o.embeddedLanguageData,d);const v=r.substring(p);return this._myTokenize(v,c,o,d+p,l)}_safeRuleName(r){return r?r.name:"(unknown)"}_myTokenize(r,c,o,d,l){l.enterLanguage(this._languageId);const p=r.length,m=c&&this._lexer.includeLF?r+` -`:r,v=m.length;let b=o.embeddedLanguageData,w=o.stack,E=0,I=null,M=!0;for(;M||E=v)break;M=!1;let K=this._lexer.tokenizer[A];if(!K&&(K=y.findRules(this._lexer,A),!K))throw y.createError(this._lexer,"tokenizer state is not defined: "+A);const G=m.substr(E);for(const Z of K)if((E===0||!Z.matchOnlyAtLineStart)&&(N=G.match(Z.regex),N)){F=N[0],O=Z.action;break}}if(N||(N=[""],F=""),O||(E=this._lexer.maxStack)throw y.createError(this._lexer,"maximum tokenizer stack size reached: ["+w.state+","+w.parent.state+",...]");w=w.push(A)}else if(O.next==="@pop"){if(w.depth<=1)throw y.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(W));w=w.pop()}else if(O.next==="@popall")w=w.popall();else{let K=y.substituteMatches(this._lexer,O.next,F,N,A);if(K[0]==="@"&&(K=K.substr(1)),y.findRules(this._lexer,K))w=w.push(K);else throw y.createError(this._lexer,"trying to set a next state '"+K+"' that is undefined in rule: "+this._safeRuleName(W))}}O.log&&typeof O.log=="string"&&y.log(this._lexer,this._lexer.languageId+": "+y.substituteMatches(this._lexer,O.log,F,N,A))}if(j===null)throw y.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(W));const R=K=>{const G=this._languageService.getLanguageIdByLanguageName(K)||this._languageService.getLanguageIdByMimeType(K)||K,Z=this._getNestedEmbeddedLanguageData(G);if(E0)throw y.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(W));if(N.length!==j.length+1)throw y.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(W));let K=0;for(let G=1;Gt});class C{static colorizeElement(a,u,h,r){r=r||{};const c=r.theme||"vs",o=r.mimeType||h.getAttribute("lang")||h.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();const d=u.getLanguageIdByMimeType(o)||o;a.setTheme(c);const l=h.firstChild?h.firstChild.nodeValue:"";h.className+=" "+c;const p=m=>{var v;const b=(v=g?.createHTML(m))!==null&&v!==void 0?v:m;h.innerHTML=b};return this.colorize(u,l||"",d,r).then(p,m=>console.error(m))}static colorize(a,u,h,r){return we(this,void 0,void 0,function*(){const c=a.languageIdCodec;let o=4;r&&typeof r.tabSize=="number"&&(o=r.tabSize),k.startsWithUTF8BOM(u)&&(u=u.substr(1));const d=k.splitLines(u);if(!a.isRegisteredLanguageId(h))return i(d,o,c);const l=yield y.TokenizationRegistry.getOrCreate(h);return l?s(d,o,l,c):i(d,o,c)})}static colorizeLine(a,u,h,r,c=4){const o=f.ViewLineRenderingData.isBasicASCII(a,u),d=f.ViewLineRenderingData.containsRTL(a,o,h);return(0,S.renderViewLine2)(new S.RenderLineInput(!1,!0,a,!1,o,d,0,r,[],c,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(a,u,h=4){const r=a.getLineContent(u);a.tokenization.forceTokenization(u);const o=a.tokenization.getLineTokens(u).inflate();return this.colorizeLine(r,a.mightContainNonBasicASCII(),a.mightContainRTL(),o,h)}}e.Colorizer=C;function s(t,a,u,h){return new Promise((r,c)=>{const o=()=>{const d=n(t,a,u,h);if(u instanceof _.MonarchTokenizer){const l=u.getLoadStatus();if(l.loaded===!1){l.promise.then(o,c);return}}r(d)};o()})}function i(t,a,u){let h=[];const c=new Uint32Array(2);c[0]=0,c[1]=33587200;for(let o=0,d=t.length;o")}return h.join("")}function n(t,a,u,h){let r=[],c=u.getInitialState();for(let o=0,d=t.length;o"),c=p.endState}return r.join("")}}),define(ne[15],se([1,0,17,11,742,8,723]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.implies=e.IContextKeyService=e.RawContextKey=e.ContextKeyOrExpr=e.ContextKeyAndExpr=e.ContextKeyNotRegexExpr=e.ContextKeyRegexExpr=e.ContextKeySmallerEqualsExpr=e.ContextKeySmallerExpr=e.ContextKeyGreaterEqualsExpr=e.ContextKeyGreaterExpr=e.ContextKeyNotExpr=e.ContextKeyNotEqualsExpr=e.ContextKeyNotInExpr=e.ContextKeyInExpr=e.ContextKeyEqualsExpr=e.ContextKeyDefinedExpr=e.ContextKeyTrueExpr=e.ContextKeyFalseExpr=e.expressionsAreEqualWithConstantSubstitution=e.ContextKeyExpr=e.Parser=void 0;const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",L.isMacintosh),f.set("isLinux",L.isLinux),f.set("isWindows",L.isWindows),f.set("isWeb",L.isWeb),f.set("isMacNative",L.isMacintosh&&!L.isWeb),f.set("isEdge",L.isEdge),f.set("isFirefox",L.isFirefox),f.set("isChrome",L.isChrome),f.set("isSafari",L.isSafari);const _=Object.prototype.hasOwnProperty,g={regexParsingWithErrorRecovery:!0},C=(0,S.localize)(0,null),s=(0,S.localize)(1,null),i=(0,S.localize)(2,null),n=(0,S.localize)(3,null),t=(0,S.localize)(4,null),a=(0,S.localize)(5,null),u=(0,S.localize)(6,null),h=(0,S.localize)(7,null);class r{constructor(H=g){this._config=H,this._scanner=new y.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(H){if(H===""){this._parsingErrors.push({message:C,offset:0,lexeme:"",additionalInfo:s});return}this._tokens=this._scanner.reset(H).scan(),this._current=0,this._parsingErrors=[];try{const B=this._expr();if(!this._isAtEnd()){const V=this._peek(),Y=V.type===17?a:void 0;throw this._parsingErrors.push({message:t,offset:V.offset,lexeme:y.Scanner.getLexeme(V),additionalInfo:Y}),r._parseError}return B}catch(B){if(B!==r._parseError)throw B;return}}_expr(){return this._or()}_or(){const H=[this._and()];for(;this._matchOne(16);){const B=this._and();H.push(B)}return H.length===1?H[0]:c.or(...H)}_and(){const H=[this._term()];for(;this._matchOne(15);){const B=this._term();H.push(B)}return H.length===1?H[0]:c.and(...H)}_term(){if(this._matchOne(2)){const H=this._peek();switch(H.type){case 11:return this._advance(),l.INSTANCE;case 12:return this._advance(),p.INSTANCE;case 0:{this._advance();const B=this._expr();return this._consume(1,n),B?.negate()}case 17:return this._advance(),I.create(H.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",H)}}return this._primary()}_primary(){const H=this._peek();switch(H.type){case 11:return this._advance(),c.true();case 12:return this._advance(),c.false();case 0:{this._advance();const B=this._expr();return this._consume(1,n),B}case 17:{const B=H.lexeme;if(this._advance(),this._matchOne(9)){const Y=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),Y.type!==10)throw this._errExpectedButGot("REGEX",Y);const ie=Y.lexeme,ae=ie.lastIndexOf("/"),ce=ae===ie.length-1?void 0:this._removeFlagsGY(ie.substring(ae+1));let de;try{de=new RegExp(ie.substring(1,ae),ce)}catch{throw this._errExpectedButGot("REGEX",Y)}return N.create(B,de)}switch(Y.type){case 10:case 19:{const ie=[Y.lexeme];this._advance();let ae=this._peek(),ce=0;for(let q=0;q=0){const he=ie.slice(ce+1,de),ue=ie[de+1]==="i"?"i":"";try{ae=new RegExp(he,ue)}catch{throw this._errExpectedButGot("REGEX",Y)}}}if(ae===null)throw this._errExpectedButGot("REGEX",Y);return N.create(B,ae)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,i);const Y=this._value();return c.notIn(B,Y)}switch(this._peek().type){case 3:{this._advance();const Y=this._value();if(this._previous().type===18)return c.equals(B,Y);switch(Y){case"true":return c.has(B);case"false":return c.not(B);default:return c.equals(B,Y)}}case 4:{this._advance();const Y=this._value();if(this._previous().type===18)return c.notEquals(B,Y);switch(Y){case"true":return c.not(B);case"false":return c.has(B);default:return c.notEquals(B,Y)}}case 5:return this._advance(),T.create(B,this._value());case 6:return this._advance(),A.create(B,this._value());case 7:return this._advance(),P.create(B,this._value());case 8:return this._advance(),x.create(B,this._value());case 13:return this._advance(),c.in(B,this._value());default:return c.has(B)}}case 20:throw this._parsingErrors.push({message:u,offset:H.offset,lexeme:"",additionalInfo:h}),r._parseError;default:throw this._errExpectedButGot(`true | false | KEY - | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const H=this._peek();switch(H.type){case 17:case 18:return this._advance(),H.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(H){return H.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(H){return this._check(H)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(H,B){if(this._check(H))return this._advance();throw this._errExpectedButGot(B,this._peek())}_errExpectedButGot(H,B,V){const Y=(0,S.localize)(8,null,H,y.Scanner.getLexeme(B)),ie=B.offset,ae=y.Scanner.getLexeme(B);return this._parsingErrors.push({message:Y,offset:ie,lexeme:ae,additionalInfo:V}),r._parseError}_check(H){return this._peek().type===H}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}}e.Parser=r,r._parseError=new Error;class c{static false(){return l.INSTANCE}static true(){return p.INSTANCE}static has(H){return m.create(H)}static equals(H,B){return v.create(H,B)}static notEquals(H,B){return E.create(H,B)}static regex(H,B){return N.create(H,B)}static in(H,B){return b.create(H,B)}static notIn(H,B){return w.create(H,B)}static not(H){return I.create(H)}static and(...H){return W.create(H,null,!0)}static or(...H){return U.create(H,null,!0)}static deserialize(H){return H==null?void 0:this._parser.parse(H)}}e.ContextKeyExpr=c,c._parser=new r({regexParsingWithErrorRecovery:!1});function o(X,H){const B=X?X.substituteConstants():void 0,V=H?H.substituteConstants():void 0;return!B&&!V?!0:!B||!V?!1:B.equals(V)}e.expressionsAreEqualWithConstantSubstitution=o;function d(X,H){return X.cmp(H)}class l{constructor(){this.type=0}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}e.ContextKeyFalseExpr=l,l.INSTANCE=new l;class p{constructor(){this.type=1}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!0}serialize(){return"true"}keys(){return[]}negate(){return l.INSTANCE}}e.ContextKeyTrueExpr=p,p.INSTANCE=new p;class m{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?p.INSTANCE:l.INSTANCE:new m(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=2}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?p.INSTANCE:l.INSTANCE:this}evaluate(H){return!!H.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this)),this.negated}}e.ContextKeyDefinedExpr=m;class v{static create(H,B,V=null){if(typeof B=="boolean")return B?m.create(H,V):I.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?p.INSTANCE:l.INSTANCE:new v(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=4}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?p.INSTANCE:l.INSTANCE}return this}evaluate(H){return H.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this.value,this)),this.negated}}e.ContextKeyEqualsExpr=v;class b{static create(H,B){return new b(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=10,this.negated=null}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.valueKey,H.key,H.valueKey)}equals(H){return H.type===this.type?this.key===H.key&&this.valueKey===H.valueKey:!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.valueKey),V=H.getValue(this.key);return Array.isArray(B)?B.includes(V):typeof V=="string"&&typeof B=="object"&&B!==null?_.call(B,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=w.create(this.key,this.valueKey)),this.negated}}e.ContextKeyInExpr=b;class w{static create(H,B){return new w(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=11,this._negated=b.create(H,B)}cmp(H){return H.type!==this.type?this.type-H.type:this._negated.cmp(H._negated)}equals(H){return H.type===this.type?this._negated.equals(H._negated):!1}substituteConstants(){return this}evaluate(H){return!this._negated.evaluate(H)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}e.ContextKeyNotInExpr=w;class E{static create(H,B,V=null){if(typeof B=="boolean")return B?I.create(H,V):m.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?l.INSTANCE:p.INSTANCE:new E(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=5}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?l.INSTANCE:p.INSTANCE}return this}evaluate(H){return H.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}e.ContextKeyNotEqualsExpr=E;class I{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?l.INSTANCE:p.INSTANCE:new I(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=3}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?l.INSTANCE:p.INSTANCE:this}evaluate(H){return!H.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this)),this.negated}}e.ContextKeyNotExpr=I;function M(X,H){if(typeof X=="string"){const B=parseFloat(X);isNaN(B)||(X=B)}return typeof X=="string"||typeof X=="number"?H(X):l.INSTANCE}class P{static create(H,B,V=null){return M(B,Y=>new P(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=12}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterExpr=P;class x{static create(H,B,V=null){return M(B,Y=>new x(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=13}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterEqualsExpr=x;class T{static create(H,B,V=null){return M(B,Y=>new T(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=14}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))new A(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=15}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}e.ContextKeySmallerEqualsExpr=A;class N{static create(H,B){return new N(H,B)}constructor(H,B){this.key=H,this.regexp=B,this.type=7,this.negated=null}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.keyH.key)return 1;const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return BV?1:0}equals(H){if(H.type===this.type){const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return this.key===H.key&&B===V}return!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.key);return this.regexp?this.regexp.test(B):!1}serialize(){const H=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${H}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F.create(this)),this.negated}}e.ContextKeyRegexExpr=N;class F{static create(H){return new F(H)}constructor(H){this._actual=H,this.type=8}cmp(H){return H.type!==this.type?this.type-H.type:this._actual.cmp(H._actual)}equals(H){return H.type===this.type?this._actual.equals(H._actual):!1}substituteConstants(){return this}evaluate(H){return!this._actual.evaluate(H)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}e.ContextKeyNotRegexExpr=F;function O(X){let H=null;for(let B=0,V=X.length;BH.expr.length)return 1;for(let B=0,V=this.expr.length;B1;){const ae=Y[Y.length-1];if(ae.type!==9)break;Y.pop();const ce=Y.pop(),de=Y.length===0,he=U.create(ae.expr.map(ue=>W.create([ue,ce],null,V)),null,de);he&&(Y.push(he),Y.sort(d))}if(Y.length===1)return Y[0];if(V){for(let ae=0;aeH.serialize()).join(" && ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyAndExpr=W;class U{static create(H,B,V){return U._normalizeArr(H,B,V)}constructor(H,B){this.expr=H,this.negated=B,this.type=9}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.expr.lengthH.expr.length)return 1;for(let B=0,V=this.expr.length;BH.serialize()).join(" || ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());for(;H.length>1;){const B=H.shift(),V=H.shift(),Y=[];for(const ie of J(B))for(const ae of J(V))Y.push(W.create([ie,ae],null,!1));H.unshift(U.create(Y,null,!1))}this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyOrExpr=U;class j extends m{static all(){return j._info.values()}constructor(H,B,V){super(H,null),this._defaultValue=B,typeof V=="object"?j._info.push(Object.assign(Object.assign({},V),{key:H})):V!==!0&&j._info.push({key:H,description:V,type:B!=null?typeof B:void 0})}bindTo(H){return H.createKey(this.key,this._defaultValue)}getValue(H){return H.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(H){return v.create(this.key,H)}}e.RawContextKey=j,j._info=[],e.IContextKeyService=(0,D.createDecorator)("contextKeyService");function R(X,H){return XH?1:0}function K(X,H,B,V){return XB?1:HV?1:0}function G(X,H){if(X.type===0||H.type===1)return!0;if(X.type===9)return H.type===9?Z(X.expr,H.expr):!1;if(H.type===9){for(const B of H.expr)if(G(X,B))return!0;return!1}if(X.type===6){if(H.type===6)return Z(H.expr,X.expr);for(const B of X.expr)if(G(B,H))return!0;return!1}return X.equals(H)}e.implies=G;function Z(X,H){let B=0,V=0;for(;B{const n=this.model.read(i),t=n?.state.read(i),a=!!t?.inlineCompletion&&t?.ghostText!==void 0&&!t?.ghostText.isEmpty();this.inlineCompletionVisible.set(a),t?.ghostText&&t?.inlineCompletion&&this.suppressSuggestions.set(t.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,L.autorun)(i=>{const n=this.model.read(i);let t=!1,a=!0;const u=n?.ghostText.read(i);if(n?.selectedSuggestItem&&u&&u.parts.length>0){const{column:h,lines:r}=u.parts[0],c=r[0],o=n.textModel.getLineIndentColumn(u.lineNumber);if(h<=o){let l=(0,k.firstNonWhitespaceIndex)(c);l===-1&&(l=c.length-1),t=l>0;const p=n.textModel.getOptions().tabSize;a=y.CursorColumns.visibleColumnFromColumn(c,l+1,p)we(void 0,void 0,void 0,function*(){const[a,u,h]=t;(0,y.assertType)(D.URI.isUri(a)),(0,y.assertType)(S.Position.isIPosition(u)),(0,y.assertType)(typeof h=="string"||!h);const r=n.get(_.ILanguageFeaturesService),c=yield n.get(g.ITextModelService).createModelReference(a);try{const o=yield i(r.signatureHelpProvider,c.object.textEditorModel,S.Position.lift(u),{triggerKind:f.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:h},L.CancellationToken.None);return o?(setTimeout(()=>o.dispose(),0),o.value):void 0}finally{c.dispose()}}))}),define(ne[753],se([1,0,13,9,6,2,121,29,236]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsModel=void 0;var g;(function(i){i.Default={type:0};class n{constructor(u,h){this.request=u,this.previouslyActiveHints=h,this.type=2}}i.Pending=n;class t{constructor(u){this.hints=u,this.type=1}}i.Active=t})(g||(g={}));class C extends D.Disposable{constructor(n,t,a=C.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new y.Emitter),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=g.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new D.MutableDisposable),this.triggerChars=new S.CharacterSet,this.retriggerChars=new S.CharacterSet,this.triggerId=0,this.editor=n,this.providers=t,this.throttledDelayer=new L.Delayer(a),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(u=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(u=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(u=>this.onCursorChange(u))),this._register(this.editor.onDidChangeModelContent(u=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(u=>this.onDidType(u))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(n){this._state.type===2&&this._state.request.cancel(),this._state=n}cancel(n=!1){this.state=g.Default,this.throttledDelayer.cancel(),n||this._onChangedHints.fire(void 0)}trigger(n,t){const a=this.editor.getModel();if(!a||!this.providers.has(a))return;const u=++this.triggerId;this._pendingTriggers.push(n),this.throttledDelayer.trigger(()=>this.doTrigger(u),t).catch(k.onUnexpectedError)}next(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t%n===n-1,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?0:t+1)}previous(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t===0,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?n-1:t-1)}updateActiveSignature(n){this.state.type===1&&(this.state=new g.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:n})),this._onChangedHints.fire(this.state.hints))}doTrigger(n){return we(this,void 0,void 0,function*(){const t=this.state.type===1||this.state.type===2,a=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const u=this._pendingTriggers.reduce(s);this._pendingTriggers=[];const h={triggerKind:u.triggerKind,triggerCharacter:u.triggerCharacter,isRetrigger:t,activeSignatureHelp:a};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),c=this.editor.getPosition();this.state=new g.Pending((0,L.createCancelablePromise)(o=>(0,_.provideSignatureHelp)(this.providers,r,c,h,o)),a);try{const o=yield this.state.request;return n!==this.triggerId?(o?.dispose(),!1):!o||!o.value.signatures||o.value.signatures.length===0?(o?.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new g.Active(o.value),this._lastSignatureHelpResult.value=o,this._onChangedHints.fire(this.state.hints),!0)}catch(o){return n===this.triggerId&&(this.state=g.Default),(0,k.onUnexpectedError)(o),!1}})}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();const n=this.editor.getModel();if(n)for(const t of this.providers.ordered(n)){for(const a of t.signatureHelpTriggerCharacters||[])if(a.length){const u=a.charCodeAt(0);this.triggerChars.add(u),this.retriggerChars.add(u)}for(const a of t.signatureHelpRetriggerCharacters||[])a.length&&this.retriggerChars.add(a.charCodeAt(0))}}onDidType(n){if(!this.triggerOnType)return;const t=n.length-1,a=n.charCodeAt(t);(this.triggerChars.has(a)||this.isTriggered&&this.retriggerChars.has(a))&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:n.charAt(t)})}onCursorChange(n){n.source==="mouse"?this.cancel():this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(84).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}e.ParameterHintsModel=C,C.DEFAULT_DELAY=120;function s(i,n){switch(n.triggerKind){case f.SignatureHelpTriggerKind.Invoke:return n;case f.SignatureHelpTriggerKind.ContentChange:return i;case f.SignatureHelpTriggerKind.TriggerCharacter:default:return n}}}),define(ne[754],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestAlternatives=void 0;let y=k=class{constructor(S,f){this._editor=S,this._index=0,this._ckOtherSuggestions=k.OtherSuggestions.bindTo(f)}dispose(){this.reset()}reset(){var S;this._ckOtherSuggestions.reset(),(S=this._listener)===null||S===void 0||S.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:S,index:f},_){if(S.items.length===0){this.reset();return}if(k._moveIndex(!0,S,f)===f){this.reset();return}this._acceptNext=_,this._model=S,this._index=f,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(S,f,_){let g=_;for(let C=f.items.length;C>0&&(g=(g+f.items.length+(S?1:-1))%f.items.length,!(g===_||!f.items[g].completion.additionalTextEdits));C--);return g}next(){this._move(!0)}prev(){this._move(!1)}_move(S){if(this._model)try{this._ignore=!0,this._index=k._moveIndex(S,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};e.SuggestAlternatives=y,y.OtherSuggestions=new L.RawContextKey("hasOtherSuggestions",!1),e.SuggestAlternatives=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[755],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.WordContextKey=void 0;let y=k=class{constructor(S,f){this._editor=S,this._enabled=!1,this._ckAtEnd=k.AtEnd.bindTo(f),this._configListener=this._editor.onDidChangeConfiguration(_=>_.hasChanged(121)&&this._update()),this._update()}dispose(){var S;this._configListener.dispose(),(S=this._selectionListener)===null||S===void 0||S.dispose(),this._ckAtEnd.reset()}_update(){const S=this._editor.getOption(121)==="on";if(this._enabled!==S)if(this._enabled=S,this._enabled){const f=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const _=this._editor.getModel(),g=this._editor.getSelection(),C=_.getWordAtPosition(g.getStartPosition());if(!C){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(C.endColumn===g.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(f),f()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};e.WordContextKey=y,y.AtEnd=new L.RawContextKey("atEndOfWord",!1),e.WordContextKey=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[84],se([1,0,15,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=e.IAccessibilityService=void 0,e.IAccessibilityService=(0,k.createDecorator)("accessibilityService"),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=new L.RawContextKey("accessibilityModeEnabled",!1)}),define(ne[756],se([1,0,52,14,6,2,47,17,200,324,476,201,36,145,231,84]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputedEditorOptions=e.EditorConfiguration=void 0;let u=class extends D.Disposable{constructor(m,v,b,w){super(),this._accessibilityService=w,this._onDidChange=this._register(new y.Emitter),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new y.Emitter),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new i.ComputeOptionsMemory,this.isSimpleWidget=m,this._containerObserver=this._register(new _.ElementSizeObserver(b,v.dimension)),this._rawOptions=l(v),this._validatedOptions=d.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(12)&&this._containerObserver.startObserving(),this._register(n.EditorZoom.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(s.TabFocus.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(g.FontMeasurements.onDidChange(()=>this._recomputeOptions())),this._register(L.PixelRatio.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const m=this._computeOptions(),v=d.checkEquals(this.options,m);v!==null&&(this.options=m,this._onDidChangeFast.fire(v),this._onDidChange.fire(v))}_computeOptions(){const m=this._readEnvConfiguration(),v=t.BareFontInfo.createFromValidatedSettings(this._validatedOptions,m.pixelRatio,this.isSimpleWidget),b=this._readFontInfo(v),w={memory:this._computeOptionsMemory,outerWidth:m.outerWidth,outerHeight:m.outerHeight-this._reservedHeight,fontInfo:b,extraEditorClassName:m.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:m.emptySelectionClipboard,pixelRatio:m.pixelRatio,tabFocusMode:s.TabFocus.getTabFocusMode("editorFocus"),accessibilitySupport:m.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return d.computeOptions(this._validatedOptions,w)}_readEnvConfiguration(){return{extraEditorClassName:r(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:L.isWebKit||L.isFirefox,pixelRatio:L.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(m){return g.FontMeasurements.readFontInfo(m)}getRawOptions(){return this._rawOptions}updateOptions(m){const v=l(m);d.applyUpdate(this._rawOptions,v)&&(this._validatedOptions=d.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(m){this._containerObserver.observe(m)}setIsDominatedByLongLines(m){this._isDominatedByLongLines!==m&&(this._isDominatedByLongLines=m,this._recomputeOptions())}setModelLineCount(m){const v=h(m);this._lineNumbersDigitCount!==v&&(this._lineNumbersDigitCount=v,this._recomputeOptions())}setViewLineCount(m){this._viewLineCount!==m&&(this._viewLineCount=m,this._recomputeOptions())}setReservedHeight(m){this._reservedHeight!==m&&(this._reservedHeight=m,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(m){this._glyphMarginDecorationLaneCount!==m&&(this._glyphMarginDecorationLaneCount=m,this._recomputeOptions())}};e.EditorConfiguration=u,e.EditorConfiguration=u=ke([fe(3,a.IAccessibilityService)],u);function h(p){let m=0;for(;p;)p=Math.floor(p/10),m++;return m||1}function r(){let p="";return!L.isSafari&&!L.isWebkitWebView&&(p+="no-user-select "),L.isSafari&&(p+="no-minimap-shadow ",p+="enable-user-select "),f.isMacintosh&&(p+="mac "),p}class c{constructor(){this._values=[]}_read(m){return this._values[m]}get(m){return this._values[m]}_write(m,v){this._values[m]=v}}class o{constructor(){this._values=[]}_read(m){if(m>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[m]}get(m){return this._read(m)}_write(m,v){this._values[m]=v}}e.ComputedEditorOptions=o;class d{static validateOptions(m){const v=new c;for(const b of i.editorOptionsRegistry){const w=b.name==="_never_"?void 0:m[b.name];v._write(b.id,b.validate(w))}return v}static computeOptions(m,v){const b=new o;for(const w of i.editorOptionsRegistry)b._write(w.id,w.compute(v,b,m._read(w.id)));return b}static _deepEquals(m,v){if(typeof m!="object"||typeof v!="object"||!m||!v)return m===v;if(Array.isArray(m)||Array.isArray(v))return Array.isArray(m)&&Array.isArray(v)?k.equals(m,v):!1;if(Object.keys(m).length!==Object.keys(v).length)return!1;for(const b in m)if(!d._deepEquals(m[b],v[b]))return!1;return!0}static checkEquals(m,v){const b=[];let w=!1;for(const E of i.editorOptionsRegistry){const I=!d._deepEquals(m._read(E.id),v._read(E.id));b[E.id]=I,I&&(w=!0)}return w?new i.ConfigurationChangedEvent(b):null}static applyUpdate(m,v){let b=!1;for(const w of i.editorOptionsRegistry)if(v.hasOwnProperty(w.name)){const E=w.applyUpdate(m[w.name],v[w.name]);m[w.name]=E.newValue,b=b||E.didChange}return b}}function l(p){const m=S.deepClone(p);return(0,C.migrateOptions)(m),m}}),define(ne[237],se([1,0,85,6,2,47,5,116,33,84]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffNavigator=void 0;const C={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0};let s=class extends y.Disposable{constructor(n,t={},a,u,h){super(),this._audioCueService=a,this._codeEditorService=u,this._accessibilityService=h,this._onDidUpdate=this._register(new k.Emitter),this._editor=n,this._options=D.mixin(t,C,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(r=>{this.ignoreSelectionChange||(this._updateAccessibilityState(r.position.lineNumber),this.nextIdx=-1)})),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(n){this.ranges=[],n&&n.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(a=>{this.ranges.push({rhs:!0,range:new S.Range(a.modifiedStartLineNumber,a.modifiedStartColumn,a.modifiedEndLineNumber,a.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,a)=>S.Range.compareRangesUsingStarts(t.range,a.range)),this._onDidUpdate.fire(this)}_initIdx(n){let t=!1;const a=this._editor.getPosition();if(!a){this.nextIdx=0;return}for(let u=0,h=this.ranges.length;u=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const a=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const u=a.range.getStartPosition();this._editor.setPosition(u),this._editor.revealRangeInCenter(a.range,t),this._updateAccessibilityState(u.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(n,t){var a;const u=(a=this._editor.getModel())===null||a===void 0?void 0:a.modified;if(!u)return;const h=u.getLineDecorations(n).find(c=>c.options.className==="line-insert");if(h)this._audioCueService.playAudioCue(f.AudioCue.diffLineModified,{allowManyInParallel:!0});else if(t)this._audioCueService.playAudioCue(f.AudioCue.diffLineDeleted,{allowManyInParallel:!0});else return;const r=this._codeEditorService.getActiveCodeEditor();t&&r&&h&&this._accessibilityService.isScreenReaderOptimized()&&(r.setSelection({startLineNumber:n,startColumn:0,endLineNumber:n,endColumn:Number.MAX_VALUE}),r.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(n=0){this.canNavigateNext()&&this._move(!0,n)}previous(n=0){this.canNavigatePrevious()&&this._move(!1,n)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx"u"&&this._parent?this._parent.getValue(E):I}}e.Context=n;class t extends n{constructor(){super(-1,null)}setValue(E,I){return!1}removeValue(E){return!1}getValue(E){}}t.INSTANCE=new t;class a extends n{constructor(E,I,M){super(E,null),this._configurationService=I,this._values=S.TernarySearchTree.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(P=>{if(P.source===7){const x=Array.from(this._values,([T])=>T);this._values.clear(),M.fire(new r(x))}else{const x=[];for(const T of P.affectedKeys){const A=`config.${T}`,N=this._values.findSuperstr(A);N!==void 0&&(x.push(...k.Iterable.map(N,([F])=>F)),this._values.deleteSuperstr(A)),this._values.has(A)&&(x.push(A),this._values.delete(A))}M.fire(new r(x))}})}dispose(){this._listener.dispose()}getValue(E){if(E.indexOf(a._keyPrefix)!==0)return super.getValue(E);if(this._values.has(E))return this._values.get(E);const I=E.substr(a._keyPrefix.length),M=this._configurationService.getValue(I);let P;switch(typeof M){case"number":case"boolean":case"string":P=M;break;default:Array.isArray(M)?P=JSON.stringify(M):P=M}return this._values.set(E,P),P}setValue(E,I){return super.setValue(E,I)}removeValue(E){return super.removeValue(E)}}a._keyPrefix="config.";class u{constructor(E,I,M){this._service=E,this._key=I,this._defaultValue=M,this.reset()}set(E){this._service.setContext(this._key,E)}reset(){typeof this._defaultValue>"u"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class h{constructor(E){this.key=E}affectsSome(E){return E.has(this.key)}allKeysContainedIn(E){return this.affectsSome(E)}}class r{constructor(E){this.keys=E}affectsSome(E){for(const I of this.keys)if(E.has(I))return!0;return!1}allKeysContainedIn(E){return this.keys.every(I=>E.has(I))}}class c{constructor(E){this.events=E}affectsSome(E){for(const I of this.events)if(I.affectsSome(E))return!0;return!1}allKeysContainedIn(E){return this.events.every(I=>I.allKeysContainedIn(E))}}function o(w,E){return w.allKeysContainedIn(new Set(Object.keys(E)))}class d{constructor(E){this._onDidChangeContext=new L.PauseableEmitter({merge:I=>new c(I)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=E}createKey(E,I){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new u(this,E,I)}bufferChangeEvents(E){this._onDidChangeContext.pause();try{E()}finally{this._onDidChangeContext.resume()}}createScoped(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new p(this,E)}contextMatchesRules(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const I=this.getContextValuesContainer(this._myContextId);return E?E.evaluate(I):!0}getContextKeyValue(E){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(E)}setContext(E,I){if(this._isDisposed)return;const M=this.getContextValuesContainer(this._myContextId);M&&M.setValue(E,I)&&this._onDidChangeContext.fire(new h(E))}removeContext(E){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(E)&&this._onDidChangeContext.fire(new h(E))}getContext(E){return this._isDisposed?t.INSTANCE:this.getContextValuesContainer(m(E))}}e.AbstractContextKeyService=d;let l=class extends d{constructor(E){super(0),this._contexts=new Map,this._toDispose=new y.DisposableStore,this._lastContextId=0;const I=new a(this._myContextId,E,this._onDidChangeContext);this._contexts.set(this._myContextId,I),this._toDispose.add(I)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._contexts.get(E)||t.INSTANCE}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");const I=++this._lastContextId;return this._contexts.set(I,new n(I,this.getContextValuesContainer(E))),I}disposeContext(E){this._isDisposed||this._contexts.delete(E)}};e.ContextKeyService=l,e.ContextKeyService=l=ke([fe(0,C.IConfigurationService)],l);class p extends d{constructor(E,I){if(super(E.createChildContext()),this._parentChangeListener=new y.MutableDisposable,this._parent=E,this._updateParentChangeListener(),this._domNode=I,this._domNode.hasAttribute(i)){let M="";this._domNode.classList&&(M=Array.from(this._domNode.classList.values()).join(", ")),console.error(`Element already has context attribute${M?": "+M:""}`)}this._domNode.setAttribute(i,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(E=>{const M=this._parent.getContextValuesContainer(this._myContextId).value;o(E,M)||this._onDidChangeContext.fire(E)})}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(i),this._isDisposed=!0)}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._parent.getContextValuesContainer(E)}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(E)}disposeContext(E){this._isDisposed||this._parent.disposeContext(E)}}function m(w){for(;w;){if(w.hasAttribute(i)){const E=w.getAttribute(i);return E?parseInt(E,10):NaN}w=w.parentElement}return 0}function v(w,E,I){w.get(s.IContextKeyService).createKey(String(E),b(I))}e.setContext=v;function b(w){return(0,D.cloneAndChange)(w,E=>{if(typeof E=="object"&&E.$mid===1)return f.URI.revive(E).toString();if(E instanceof f.URI)return E.toString()})}g.CommandsRegistry.registerCommand("_setContext",v),g.CommandsRegistry.registerCommand({id:"getContextKeyInfo",handler(){return[...s.RawContextKey.all()].sort((w,E)=>w.key.localeCompare(E.key))},description:{description:(0,_.localize)(0,null),args:[]}}),g.CommandsRegistry.registerCommand("_generateContextKeyInfo",function(){const w=[],E=new Set;for(const I of s.RawContextKey.all())E.has(I.key)||(E.add(I.key),w.push(I));w.sort((I,M)=>I.key.localeCompare(M.key)),console.log(JSON.stringify(w,void 0,2))})}),define(ne[238],se([1,0,17,724,15]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputFocusedContext=e.InputFocusedContextKey=e.ProductQualityContext=e.IsDevelopmentContext=e.IsMobileContext=e.IsIOSContext=e.IsMacNativeContext=e.IsWebContext=e.IsWindowsContext=e.IsLinuxContext=e.IsMacContext=void 0,e.IsMacContext=new y.RawContextKey("isMac",L.isMacintosh,(0,k.localize)(0,null)),e.IsLinuxContext=new y.RawContextKey("isLinux",L.isLinux,(0,k.localize)(1,null)),e.IsWindowsContext=new y.RawContextKey("isWindows",L.isWindows,(0,k.localize)(2,null)),e.IsWebContext=new y.RawContextKey("isWeb",L.isWeb,(0,k.localize)(3,null)),e.IsMacNativeContext=new y.RawContextKey("isMacNative",L.isMacintosh&&!L.isWeb,(0,k.localize)(4,null)),e.IsIOSContext=new y.RawContextKey("isIOS",L.isIOS,(0,k.localize)(5,null)),e.IsMobileContext=new y.RawContextKey("isMobile",L.isMobile,(0,k.localize)(6,null)),e.IsDevelopmentContext=new y.RawContextKey("isDevelopment",!1,!0),e.ProductQualityContext=new y.RawContextKey("productQualityType","",(0,k.localize)(7,null)),e.InputFocusedContextKey="inputFocus",e.InputFocusedContext=new y.RawContextKey(e.InputFocusedContextKey,!1,(0,k.localize)(8,null))}),define(ne[57],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IContextMenuService=e.IContextViewService=void 0,e.IContextViewService=(0,L.createDecorator)("contextViewService"),e.IContextMenuService=(0,L.createDecorator)("contextMenuService")}),define(ne[156],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IDialogService=void 0,e.IDialogService=(0,L.createDecorator)("dialogService")}),define(ne[239],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEnvironmentService=void 0,e.IEnvironmentService=(0,L.createDecorator)("environmentService")}),define(ne[157],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ServiceCollection=void 0;class L{constructor(...y){this._entries=new Map;for(const[D,S]of y)this.set(D,S)}set(y,D){const S=this._entries.get(y);return this._entries.set(y,D),S}get(y){return this._entries.get(y)}}e.ServiceCollection=L}),define(ne[758],se([1,0,13,9,2,232,746,8,157,64]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Trace=e.InstantiationService=void 0;const C=!1;class s extends Error{constructor(a){var u;super("cyclic dependency between services"),this.message=(u=a.findCycleSlow())!==null&&u!==void 0?u:`UNABLE to detect cycle, dumping graph: -${a.toString()}`}}class i{constructor(a=new _.ServiceCollection,u=!1,h,r=C){var c;this._services=a,this._strict=u,this._parent=h,this._enableTracing=r,this._activeInstantiations=new Set,this._services.set(f.IInstantiationService,this),this._globalGraph=r?(c=h?._globalGraph)!==null&&c!==void 0?c:new S.Graph(o=>o):void 0}createChild(a){return new i(a,this._strict,this,this._enableTracing)}invokeFunction(a,...u){const h=n.traceInvocation(this._enableTracing,a);let r=!1;try{return a({get:o=>{if(r)throw(0,k.illegalState)("service accessor is only valid during the invocation of its target method");const d=this._getOrCreateServiceInstance(o,h);if(!d)throw new Error(`[invokeFunction] unknown service '${o}'`);return d}},...u)}finally{r=!0,h.stop()}}createInstance(a,...u){let h,r;return a instanceof D.SyncDescriptor?(h=n.traceCreation(this._enableTracing,a.ctor),r=this._createInstance(a.ctor,a.staticArguments.concat(u),h)):(h=n.traceCreation(this._enableTracing,a),r=this._createInstance(a,u,h)),h.stop(),r}_createInstance(a,u=[],h){const r=f._util.getServiceDependencies(a).sort((d,l)=>d.index-l.index),c=[];for(const d of r){const l=this._getOrCreateServiceInstance(d.id,h);l||this._throwIfStrict(`[createInstance] ${a.name} depends on UNKNOWN service ${d.id}.`,!1),c.push(l)}const o=r.length>0?r[0].index:u.length;if(u.length!==o){console.trace(`[createInstance] First service dependency of ${a.name} at position ${o+1} conflicts with ${u.length} static arguments`);const d=o-u.length;d>0?u=u.concat(new Array(d)):u=u.slice(0,o)}return Reflect.construct(a,u.concat(c))}_setServiceInstance(a,u){if(this._services.get(a)instanceof D.SyncDescriptor)this._services.set(a,u);else if(this._parent)this._parent._setServiceInstance(a,u);else throw new Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(a){const u=this._services.get(a);return!u&&this._parent?this._parent._getServiceInstanceOrDescriptor(a):u}_getOrCreateServiceInstance(a,u){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(a));const h=this._getServiceInstanceOrDescriptor(a);return h instanceof D.SyncDescriptor?this._safeCreateAndCacheServiceInstance(a,h,u.branch(a,!0)):(u.branch(a,!1),h)}_safeCreateAndCacheServiceInstance(a,u,h){if(this._activeInstantiations.has(a))throw new Error(`illegal state - RECURSIVELY instantiating service '${a}'`);this._activeInstantiations.add(a);try{return this._createAndCacheServiceInstance(a,u,h)}finally{this._activeInstantiations.delete(a)}}_createAndCacheServiceInstance(a,u,h){var r;const c=new S.Graph(l=>l.id.toString());let o=0;const d=[{id:a,desc:u,_trace:h}];for(;d.length;){const l=d.pop();if(c.lookupOrInsertNode(l),o++>1e3)throw new s(c);for(const p of f._util.getServiceDependencies(l.desc.ctor)){const m=this._getServiceInstanceOrDescriptor(p.id);if(m||this._throwIfStrict(`[createInstance] ${a} depends on ${p.id} which is NOT registered.`,!0),(r=this._globalGraph)===null||r===void 0||r.insertEdge(String(l.id),String(p.id)),m instanceof D.SyncDescriptor){const v={id:p.id,desc:m,_trace:l._trace.branch(p.id,!0)};c.insertEdge(l,v),d.push(v)}}}for(;;){const l=c.roots();if(l.length===0){if(!c.isEmpty())throw new s(c);break}for(const{data:p}of l){if(this._getServiceInstanceOrDescriptor(p.id)instanceof D.SyncDescriptor){const v=this._createServiceInstanceWithOwner(p.id,p.desc.ctor,p.desc.staticArguments,p.desc.supportsDelayedInstantiation,p._trace);this._setServiceInstance(p.id,v)}c.removeNode(p)}}return this._getServiceInstanceOrDescriptor(a)}_createServiceInstanceWithOwner(a,u,h=[],r,c){if(this._services.get(a)instanceof D.SyncDescriptor)return this._createServiceInstance(a,u,h,r,c);if(this._parent)return this._parent._createServiceInstanceWithOwner(a,u,h,r,c);throw new Error(`illegalState - creating UNKNOWN service instance ${u.name}`)}_createServiceInstance(a,u,h=[],r,c){if(r){const o=new i(void 0,this._strict,this,this._enableTracing);o._globalGraphImplicitDependency=String(a);const d=new Map,l=new L.IdleValue(()=>{const p=o._createInstance(u,h,c);for(const[m,v]of d){const b=p[m];if(typeof b=="function")for(const w of v)b.apply(p,w)}return d.clear(),p});return new Proxy(Object.create(null),{get(p,m){if(!l.isInitialized&&typeof m=="string"&&(m.startsWith("onDid")||m.startsWith("onWill"))){let w=d.get(m);return w||(w=new g.LinkedList,d.set(m,w)),(I,M,P)=>{const x=w.push([I,M,P]);return(0,y.toDisposable)(x)}}if(m in p)return p[m];const v=l.value;let b=v[m];return typeof b!="function"||(b=b.bind(v),p[m]=b),b},set(p,m,v){return l.value[m]=v,!0},getPrototypeOf(p){return u.prototype}})}else return this._createInstance(u,h,c)}_throwIfStrict(a,u){if(u&&console.warn(a),this._strict)throw new Error(a)}}e.InstantiationService=i;class n{static traceInvocation(a,u){return a?new n(2,u.name||new Error().stack.split(` -`).slice(3,4).join(` -`)):n._None}static traceCreation(a,u){return a?new n(1,u.name):n._None}constructor(a,u){this.type=a,this.name=u,this._start=Date.now(),this._dep=[]}branch(a,u){const h=new n(3,a.toString());return this._dep.push([a,u,h]),h}stop(){const a=Date.now()-this._start;n._totals+=a;let u=!1;function h(c,o){const d=[],l=new Array(c+1).join(" ");for(const[p,m,v]of o._dep)if(m&&v){u=!0,d.push(`${l}CREATES -> ${p}`);const b=h(c+1,v);b&&d.push(b)}else d.push(`${l}uses -> ${p}`);return d.join(` -`)}const r=[`${this.type===1?"CREATE":"CALL"} ${this.name}`,`${h(1,this)}`,`DONE, took ${a.toFixed(2)}ms (grand total ${n._totals.toFixed(2)}ms)`];(a>2||u)&&n.all.add(r.join(` -`))}}e.Trace=n,n.all=new Set,n._None=new class extends n{constructor(){super(0,null)}stop(){}branch(){return this}},n._totals=0}),define(ne[759],se([1,0,9,216,119]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseResolvedKeybinding=void 0;class D extends y.ResolvedKeybinding{constructor(f,_){if(super(),_.length===0)throw(0,L.illegalArgument)("chords");this._os=f,this._chords=_}getLabel(){return k.UILabelProvider.toLabel(this._os,this._chords,f=>this._getLabel(f))}getAriaLabel(){return k.AriaLabelProvider.toLabel(this._os,this._chords,f=>this._getAriaLabel(f))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:k.ElectronAcceleratorLabelProvider.toLabel(this._os,this._chords,f=>this._getElectronAccelerator(f))}getUserSettingsLabel(){return k.UserSettingsLabelProvider.toLabel(this._os,this._chords,f=>this._getUserSettingsLabel(f))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(f=>this._getChord(f))}_getChord(f){return new y.ResolvedChord(f.ctrlKey,f.shiftKey,f.altKey,f.metaKey,this._getLabel(f),this._getAriaLabel(f))}getDispatchChords(){return this._chords.map(f=>this._getChordDispatch(f))}getSingleModifierDispatchChords(){return this._chords.map(f=>this._getSingleModifierChordDispatch(f))}}e.BaseResolvedKeybinding=D}),define(ne[34],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IKeybindingService=void 0,e.IKeybindingService=(0,L.createDecorator)("keybindingService")}),define(ne[335],se([1,0,7,313,39,6,2,132,15,57,8,34,441]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.PostEditWidgetManager=void 0;let n=i=class extends S.Disposable{constructor(u,h,r,c,o,d,l,p,m,v){super(),this.typeId=u,this.editor=h,this.showCommand=c,this.range=o,this.edits=d,this.onSelectNewEdit=l,this._contextMenuService=p,this._keybindingService=v,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=r.bindTo(m),this.visibleContext.set(!0),this._register((0,S.toDisposable)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,S.toDisposable)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(b=>{o.containsPosition(b.position)||this.dispose()})),this._register(D.Event.runAndSubscribe(v.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var u;const h=(u=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||u===void 0?void 0:u.getLabel();this.button.element.title=this.showCommand.label+(h?` (${h})`:"")}create(){this.domNode=L.$(".post-edit-widget"),this.button=this._register(new k.Button(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,()=>this.showSelector()))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const u=L.getDomNodePagePosition(this.button.element);return{x:u.left+u.width,y:u.top+u.height}},getActions:()=>this.edits.allEdits.map((u,h)=>(0,y.toAction)({id:"",label:u.label,checked:h===this.edits.activeEditIndex,run:()=>{if(h!==this.edits.activeEditIndex)return this.onSelectNewEdit(h)}}))})}};n.baseId="editor.widget.postEditWidget",n=i=ke([fe(7,g.IContextMenuService),fe(8,_.IContextKeyService),fe(9,s.IKeybindingService)],n);let t=class extends S.Disposable{constructor(u,h,r,c,o,d){super(),this._id=u,this._editor=h,this._visibleContext=r,this._showCommand=c,this._instantiationService=o,this._bulkEditService=d,this._currentWidget=this._register(new S.MutableDisposable),this._register(D.Event.any(h.onDidChangeModel,h.onDidChangeModelContent)(()=>this.clear()))}applyEditAndShowIfNeeded(u,h,r,c){var o,d;return we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l||!u.length)return;const p=h.allEdits[h.activeEditIndex];if(!p)return;let m=[];(typeof p.insertText=="string"?p.insertText==="":p.insertText.snippet==="")?m=[]:m=u.map(P=>new f.ResourceTextEdit(l.uri,typeof p.insertText=="string"?{range:P,text:p.insertText,insertAsSnippet:!1}:{range:P,text:p.insertText.snippet,insertAsSnippet:!0}));const b={edits:[...m,...(d=(o=p.additionalEdit)===null||o===void 0?void 0:o.edits)!==null&&d!==void 0?d:[]]},w=u[0],E=l.deltaDecorations([],[{range:w,options:{description:"paste-line-suffix",stickiness:0}}]);let I,M;try{I=yield this._bulkEditService.apply(b,{editor:this._editor,token:c}),M=l.getDecorationRange(E[0])}finally{l.deltaDecorations(E,[])}r&&I.isApplied&&h.allEdits.length>1&&this.show(M??w,h,P=>we(this,void 0,void 0,function*(){const x=this._editor.getModel();x&&(yield x.undo(),this.applyEditAndShowIfNeeded(u,{activeEditIndex:P,allEdits:h.allEdits},r,c))}))})}show(u,h,r){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(n,this._id,this._editor,this._visibleContext,this._showCommand,u,h,r))}clear(){this._currentWidget.clear()}tryShowSelector(){var u;(u=this._currentWidget.value)===null||u===void 0||u.showSelector()}};e.PostEditWidgetManager=t,e.PostEditWidgetManager=t=ke([fe(4,C.IInstantiationService),fe(5,f.IBulkEditService)],t)}),define(ne[336],se([1,0,15]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingResolver=e.NoMatchingKb=void 0,e.NoMatchingKb={kind:0};const k={kind:1};function y(_,g,C){return{kind:2,commandId:_,commandArgs:g,isBubble:C}}class D{constructor(g,C,s){var i;this._log=s,this._defaultKeybindings=g,this._defaultBoundCommands=new Map;for(const n of g){const t=n.command;t&&t.charAt(0)!=="-"&&this._defaultBoundCommands.set(t,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=D.handleRemovals([].concat(g).concat(C));for(let n=0,t=this._keybindings.length;n"u"){this._map.set(g,[C]),this._addToLookupMap(C);return}for(let i=s.length-1;i>=0;i--){const n=s[i];if(n.command===C.command)continue;let t=!0;for(let a=1;a"u"?(C=[g],this._lookupMap.set(g.command,C)):C.push(g)}_removeFromLookupMap(g){if(!g.command)return;const C=this._lookupMap.get(g.command);if(!(typeof C>"u")){for(let s=0,i=C.length;s"u"||s.length===0)return null;if(s.length===1)return s[0];for(let i=s.length-1;i>=0;i--){const n=s[i];if(C.contextMatchesRules(n.when))return n}return s[s.length-1]}resolve(g,C,s){const i=[...C,s];this._log(`| Resolving ${i}`);const n=this._map.get(i[0]);if(n===void 0)return this._log("\\ No keybinding entries."),e.NoMatchingKb;let t=null;if(i.length<2)t=n;else{t=[];for(let u=0,h=n.length;ur.chords.length)continue;let c=!0;for(let o=1;o=0;s--){const i=C[s];if(D._contextMatchesRules(g,i.when))return i}return null}static _contextMatchesRules(g,C){return C?C.evaluate(g):!0}}e.KeybindingResolver=D;function S(_){return _?`${_.serialize()}`:"no when condition"}function f(_){return _.extensionId?_.isBuiltinExtension?`built-in extension ${_.extensionId}`:`user extension ${_.extensionId}`:_.isDefault?"built-in":"user"}}),define(ne[760],se([1,0,13,9,6,263,2,727,336]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractKeybindingService=void 0;const g=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class C extends S.Disposable{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:y.Event.None}get inChordMode(){return this._currentChords.length>0}constructor(n,t,a,u,h){super(),this._contextKeyService=n,this._commandService=t,this._telemetryService=a,this._notificationService=u,this._logService=h,this._onDidUpdateKeybindings=this._register(new y.Emitter),this._currentChords=[],this._currentChordChecker=new L.IntervalTimer,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new L.TimeoutTimer,this._logging=!1}dispose(){super.dispose()}_log(n){this._logging&&this._logService.info(`[KeybindingService]: ${n}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(n,t){const a=this._getResolver().lookupPrimaryKeybinding(n,t||this._contextKeyService);if(a)return a.resolvedKeybinding}dispatchEvent(n,t){return this._dispatch(n,t)}softDispatch(n,t){this._log("/ Soft dispatching keyboard event");const a=this.resolveKeyboardEvent(n);if(a.hasMultipleChords())return console.warn("keyboard event should not be mapped to multiple chords"),_.NoMatchingKb;const[u]=a.getDispatchChords();if(u===null)return this._log("\\ Keyboard event cannot be dispatched"),_.NoMatchingKb;const h=this._contextKeyService.getContext(t),r=this._currentChords.map(({keypress:c})=>c);return this._getResolver().resolve(h,r,u)}_scheduleLeaveChordMode(){const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-n>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(n,t){switch(this._currentChords.push({keypress:n,label:t}),this._currentChords.length){case 0:throw(0,k.illegalState)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(f.localize(0,null,t));break;default:{const a=this._currentChords.map(({label:u})=>u).join(", ");this._currentChordStatusMessage=this._notificationService.status(f.localize(1,null,a))}}this._scheduleLeaveChordMode(),D.IME.enabled&&D.IME.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],D.IME.enable()}_dispatch(n,t){return this._doDispatch(this.resolveKeyboardEvent(n),t,!1)}_singleModifierDispatch(n,t){const a=this.resolveKeyboardEvent(n),[u]=a.getSingleModifierDispatchChords();if(u)return this._ignoreSingleModifiers.has(u)?(this._log(`+ Ignoring single modifier ${u} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${u}.`),this._currentSingleModifier=u,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300),!1):u===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${u} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(a,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[h]=a.getChords();return this._ignoreSingleModifiers=new s(h),this._currentSingleModifier!==null&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(n,t,a=!1){var u;let h=!1;if(n.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let r=null,c=null;if(a){const[p]=n.getSingleModifierDispatchChords();r=p,c=p?[p]:[]}else[r]=n.getDispatchChords(),c=this._currentChords.map(({keypress:p})=>p);if(r===null)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),h;const o=this._contextKeyService.getContext(t),d=n.getLabel(),l=this._getResolver().resolve(o,c,r);switch(l.kind){case 0:{if(this._logService.trace("KeybindingService#dispatch",d,"[ No matching keybinding ]"),this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(2,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}return h}case 1:return this._logService.trace("KeybindingService#dispatch",d,"[ Several keybindings match - more chords needed ]"),h=!0,this._expectAnotherChord(r,d),this._log(this._currentChords.length===1?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),h;case 2:{if(this._logService.trace("KeybindingService#dispatch",d,`[ Will dispatch command ${l.commandId} ]`),l.commandId===null||l.commandId===""){if(this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(3,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}}else this.inChordMode&&this._leaveChordMode(),l.isBubble||(h=!0),this._log(`+ Invoking command ${l.commandId}.`),typeof l.commandArgs>"u"?this._commandService.executeCommand(l.commandId).then(void 0,p=>this._notificationService.warn(p)):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,p=>this._notificationService.warn(p)),g.test(l.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding",detail:(u=n.getUserSettingsLabel())!==null&&u!==void 0?u:void 0});return h}}}mightProducePrintableCharacter(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30}}e.AbstractKeybindingService=C;class s{constructor(n){this._ctrlKey=n?n.ctrlKey:!1,this._shiftKey=n?n.shiftKey:!1,this._altKey=n?n.altKey:!1,this._metaKey=n?n.metaKey:!1}has(n){switch(n){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}s.EMPTY=new s(null)}),define(ne[337],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toEmptyArrayIfContainsNull=e.ResolvedKeybindingItem=void 0;class L{constructor(D,S,f,_,g,C,s){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=D,this.chords=D?k(D.getDispatchChords()):[],D&&this.chords.length===0&&(this.chords=k(D.getSingleModifierDispatchChords())),this.bubble=S?S.charCodeAt(0)===94:!1,this.command=this.bubble?S.substr(1):S,this.commandArgs=f,this.when=_,this.isDefault=g,this.extensionId=C,this.isBuiltinExtension=s}}e.ResolvedKeybindingItem=L;function k(y){const D=[];for(let S=0,f=y.length;Sthis._toKeyCodeChord(s)));return C.length>0?[new S(C,g)]:[]}}e.USLayoutResolvedKeybinding=S}),define(ne[158],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILabelService=void 0,e.ILabelService=(0,L.createDecorator)("labelService")}),define(ne[134],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILayoutService=void 0,e.ILayoutService=(0,L.createDecorator)("layoutService")}),define(ne[338],se([1,0,7,6,134,33,50]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScopedLayoutService=void 0;let f=class{get dimension(){return this._dimension||(this._dimension=L.getClientArea(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var C;(C=this._codeEditorService.getFocusedCodeEditor())===null||C===void 0||C.focus()}constructor(C){this._codeEditorService=C,this.onDidLayout=k.Event.None,this.offset={top:0,quickPickTop:0}}};f=ke([fe(0,D.ICodeEditorService)],f);let _=class extends f{get hasContainer(){return!1}get container(){return this._container}constructor(C,s){super(s),this._container=C}};e.EditorScopedLayoutService=_,e.EditorScopedLayoutService=_=ke([fe(1,D.ICodeEditorService)],_),(0,S.registerSingleton)(y.ILayoutService,f,1)}),define(ne[762],se([1,0,7,6,2,84,28,15,134]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityService=void 0;let g=class extends y.Disposable{constructor(s,i,n){super(),this._contextKeyService=s,this._layoutService=i,this._configurationService=n,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new k.Emitter,this._onDidChangeReducedMotion=new k.Emitter,this._accessibilityModeEnabledContext=D.CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);const t=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(u=>{u.affectsConfiguration("editor.accessibilitySupport")&&(t(),this._onDidChangeScreenReaderOptimized.fire()),u.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())})),t(),this._register(this.onDidChangeScreenReaderOptimized(()=>t()));const a=window.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=a.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(a)}initReducedMotionListeners(s){if(!this._layoutService.hasContainer)return;this._register((0,L.addDisposableListener)(s,"change",()=>{this._systemMotionReduced=s.matches,this._configMotionReduced==="auto"&&this._onDidChangeReducedMotion.fire()}));const i=()=>{const n=this.isMotionReduced();this._layoutService.container.classList.toggle("reduce-motion",n),this._layoutService.container.classList.toggle("enable-motion",!n)};i(),this._register(this.onDidChangeReducedMotion(()=>i()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const s=this._configurationService.getValue("editor.accessibilitySupport");return s==="on"||s==="auto"&&this._accessibilitySupport===2}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const s=this._configMotionReduced;return s==="on"||s==="auto"&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};e.AccessibilityService=g,e.AccessibilityService=g=ke([fe(0,f.IContextKeyService),fe(1,_.ILayoutService),fe(2,S.IConfigurationService)],g)}),define(ne[763],se([1,0,306,2,134]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextViewService=void 0;let D=class extends k.Disposable{constructor(f){super(),this.layoutService=f,this.currentViewDisposable=k.Disposable.None,this.container=f.hasContainer?f.container:null,this.contextView=this._register(new L.ContextView(this.container,1)),this.layout(),this._register(f.onDidLayout(()=>this.layout()))}setContainer(f,_){this.contextView.setContainer(f,_||1)}showContextView(f,_,g){_?(_!==this.container||this.shadowRoot!==g)&&(this.container=_,this.setContainer(_,g?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.shadowRoot=g,this.contextView.show(f);const C=(0,k.toDisposable)(()=>{this.currentViewDisposable===C&&this.hideContextView()});return this.currentViewDisposable=C,C}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(f){this.contextView.hide(f)}};e.ContextViewService=D,e.ContextViewService=D=ke([fe(0,y.ILayoutService)],D)}),define(ne[70],se([1,0,6,2,15,8]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_LOG_LEVEL=e.LogLevelToString=e.MultiplexLogger=e.ConsoleLogger=e.AbstractLogger=e.DEFAULT_LOG_LEVEL=e.LogLevel=e.ILogService=void 0,e.ILogService=(0,D.createDecorator)("logService");var S;(function(s){s[s.Off=0]="Off",s[s.Trace=1]="Trace",s[s.Debug=2]="Debug",s[s.Info=3]="Info",s[s.Warning=4]="Warning",s[s.Error=5]="Error"})(S||(e.LogLevel=S={})),e.DEFAULT_LOG_LEVEL=S.Info;class f extends k.Disposable{constructor(){super(...arguments),this.level=e.DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new L.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(i){this.level!==i&&(this.level=i,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(i){return this.level!==S.Off&&this.level<=i}}e.AbstractLogger=f;class _ extends f{constructor(i=e.DEFAULT_LOG_LEVEL,n=!0){super(),this.useColors=n,this.setLevel(i)}trace(i,...n){this.checkLogLevel(S.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",i,...n):console.log(i,...n))}debug(i,...n){this.checkLogLevel(S.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",i,...n):console.log(i,...n))}info(i,...n){this.checkLogLevel(S.Info)&&(this.useColors?console.log("%c INFO","color: #33f",i,...n):console.log(i,...n))}warn(i,...n){this.checkLogLevel(S.Warning)&&(this.useColors?console.log("%c WARN","color: #993",i,...n):console.log(i,...n))}error(i,...n){this.checkLogLevel(S.Error)&&(this.useColors?console.log("%c ERR","color: #f33",i,...n):console.error(i,...n))}dispose(){}}e.ConsoleLogger=_;class g extends f{constructor(i){super(),this.loggers=i,i.length&&this.setLevel(i[0].getLevel())}setLevel(i){for(const n of this.loggers)n.setLevel(i);super.setLevel(i)}trace(i,...n){for(const t of this.loggers)t.trace(i,...n)}debug(i,...n){for(const t of this.loggers)t.debug(i,...n)}info(i,...n){for(const t of this.loggers)t.info(i,...n)}warn(i,...n){for(const t of this.loggers)t.warn(i,...n)}error(i,...n){for(const t of this.loggers)t.error(i,...n)}dispose(){for(const i of this.loggers)i.dispose()}}e.MultiplexLogger=g;function C(s){switch(s){case S.Trace:return"trace";case S.Debug:return"debug";case S.Info:return"info";case S.Warning:return"warn";case S.Error:return"error";case S.Off:return"off"}}e.LogLevelToString=C,e.CONTEXT_LOG_LEVEL=new y.RawContextKey("logLevel",C(S.Info))}),define(ne[764],se([1,0,52,7,13,2,134,70]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserClipboardService=void 0;let _=class extends D.Disposable{constructor(C,s){super(),this.layoutService=C,this.logService=s,this.mapTextToType=new Map,this.findText="",this.resources=[],(L.isSafari||L.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const C=()=>{const s=new y.DeferredPromise;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=s,navigator.clipboard.write([new ClipboardItem({"text/plain":s.p})]).catch(i=>we(this,void 0,void 0,function*(){(!(i instanceof Error)||i.name!=="NotAllowedError"||!s.isRejected)&&this.logService.error(i)}))};this.layoutService.hasContainer&&(this._register((0,k.addDisposableListener)(this.layoutService.container,"click",C)),this._register((0,k.addDisposableListener)(this.layoutService.container,"keydown",C)))}writeText(C,s){return we(this,void 0,void 0,function*(){if(s){this.mapTextToType.set(s,C);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(C);try{return yield navigator.clipboard.writeText(C)}catch(t){console.error(t)}const i=document.activeElement,n=document.body.appendChild((0,k.$)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=C,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)})}readText(C){return we(this,void 0,void 0,function*(){if(C)return this.mapTextToType.get(C)||"";try{return yield navigator.clipboard.readText()}catch(s){return console.error(s),""}})}readFindText(){return we(this,void 0,void 0,function*(){return this.findText})}writeFindText(C){return we(this,void 0,void 0,function*(){this.findText=C})}writeResources(C){return we(this,void 0,void 0,function*(){this.resources=C})}readResources(){return we(this,void 0,void 0,function*(){return this.resources})}};e.BrowserClipboardService=_,e.BrowserClipboardService=_=ke([fe(0,S.ILayoutService),fe(1,f.ILogService)],_)}),define(ne[765],se([1,0,2,70]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogService=void 0;class y extends L.Disposable{constructor(S,f=[]){super(),this.logger=new k.MultiplexLogger([S,...f]),this._register(S.onDidChangeLogLevel(_=>this.setLevel(_)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(S){this.logger.setLevel(S)}getLevel(){return this.logger.getLevel()}trace(S,...f){this.logger.trace(S,...f)}debug(S,...f){this.logger.debug(S,...f)}info(S,...f){this.logger.info(S,...f)}warn(S,...f){this.logger.warn(S,...f)}error(S,...f){this.logger.error(S,...f)}}e.LogService=y}),define(ne[97],se([1,0,101,729,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerService=e.IMarkerData=e.MarkerSeverity=void 0;var D;(function(f){f[f.Hint=1]="Hint",f[f.Info=2]="Info",f[f.Warning=4]="Warning",f[f.Error=8]="Error"})(D||(e.MarkerSeverity=D={})),function(f){function _(n,t){return t-n}f.compare=_;const g=Object.create(null);g[f.Error]=(0,k.localize)(0,null),g[f.Warning]=(0,k.localize)(1,null),g[f.Info]=(0,k.localize)(2,null);function C(n){return g[n]||""}f.toString=C;function s(n){switch(n){case L.default.Error:return f.Error;case L.default.Warning:return f.Warning;case L.default.Info:return f.Info;case L.default.Ignore:return f.Hint}}f.fromSeverity=s;function i(n){switch(n){case f.Error:return L.default.Error;case f.Warning:return L.default.Warning;case f.Info:return L.default.Info;case f.Hint:return L.default.Ignore}}f.toSeverity=i}(D||(e.MarkerSeverity=D={}));var S;(function(f){const _="";function g(s){return C(s,!0)}f.makeKey=g;function C(s,i){const n=[_];return s.source?n.push(s.source.replace("\xA6","\\\xA6")):n.push(_),s.code?typeof s.code=="string"?n.push(s.code.replace("\xA6","\\\xA6")):n.push(s.code.value.replace("\xA6","\\\xA6")):n.push(_),s.severity!==void 0&&s.severity!==null?n.push(D.toString(s.severity)):n.push(_),s.message&&i?n.push(s.message.replace("\xA6","\\\xA6")):n.push(_),s.startLineNumber!==void 0&&s.startLineNumber!==null?n.push(s.startLineNumber.toString()):n.push(_),s.startColumn!==void 0&&s.startColumn!==null?n.push(s.startColumn.toString()):n.push(_),s.endLineNumber!==void 0&&s.endLineNumber!==null?n.push(s.endLineNumber.toString()):n.push(_),s.endColumn!==void 0&&s.endColumn!==null?n.push(s.endColumn.toString()):n.push(_),n.push(_),n.join("\xA6")}f.makeKeyOptionalMessage=C})(S||(e.IMarkerData=S={})),e.IMarkerService=(0,y.createDecorator)("markerService")}),define(ne[766],se([1,0,14,6,2,64,11,22,5,50,8,97,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerNavigationService=e.MarkerList=e.MarkerCoordinate=void 0;class n{constructor(h,r,c){this.marker=h,this.index=r,this.total=c}}e.MarkerCoordinate=n;let t=class{constructor(h,r,c){this._markerService=r,this._configService=c,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._dispoables=new y.DisposableStore,this._markers=[],this._nextIdx=-1,f.URI.isUri(h)?this._resourceFilter=p=>p.toString()===h.toString():h&&(this._resourceFilter=h);const o=this._configService.getValue("problems.sortOrder"),d=(p,m)=>{let v=(0,S.compare)(p.resource.toString(),m.resource.toString());return v===0&&(o==="position"?v=_.Range.compareRangesUsingStarts(p,m)||s.MarkerSeverity.compare(p.severity,m.severity):v=s.MarkerSeverity.compare(p.severity,m.severity)||_.Range.compareRangesUsingStarts(p,m)),v},l=()=>{this._markers=this._markerService.read({resource:f.URI.isUri(h)?h:void 0,severities:s.MarkerSeverity.Error|s.MarkerSeverity.Warning|s.MarkerSeverity.Info}),typeof h=="function"&&(this._markers=this._markers.filter(p=>this._resourceFilter(p.resource))),this._markers.sort(d)};l(),this._dispoables.add(r.onMarkerChanged(p=>{(!this._resourceFilter||p.some(m=>this._resourceFilter(m)))&&(l(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(h){return!this._resourceFilter&&!h?!0:!this._resourceFilter||!h?!1:this._resourceFilter(h)}get selected(){const h=this._markers[this._nextIdx];return h&&new n(h,this._nextIdx+1,this._markers.length)}_initIdx(h,r,c){let o=!1,d=this._markers.findIndex(l=>l.resource.toString()===h.uri.toString());d<0&&(d=(0,L.binarySearch)(this._markers,{resource:h.uri},(l,p)=>(0,S.compare)(l.resource.toString(),p.resource.toString())),d<0&&(d=~d));for(let l=d;lo.resource.toString()===h.toString());if(!(c<0)){for(;cr[1])}}class C{constructor(n){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new D.ResourceMap,this._service=n,this._subscription=n.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(n){for(const t of n){const a=this._data.get(t);a&&this._substract(a);const u=this._resourceStats(t);this._add(u),this._data.set(t,u)}}_resourceStats(n){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.unsupportedSchemas.has(n.scheme))return t;for(const{severity:a}of this._service.read({resource:n}))a===_.MarkerSeverity.Error?t.errors+=1:a===_.MarkerSeverity.Warning?t.warnings+=1:a===_.MarkerSeverity.Info?t.infos+=1:t.unknowns+=1;return t}_substract(n){this.errors-=n.errors,this.warnings-=n.warnings,this.infos-=n.infos,this.unknowns-=n.unknowns}_add(n){this.errors+=n.errors,this.warnings+=n.warnings,this.infos+=n.infos,this.unknowns+=n.unknowns}}class s{constructor(){this._onMarkerChanged=new k.DebounceEmitter({delay:0,merge:s._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new g,this._stats=new C(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(n,t){for(const a of t||[])this.changeOne(n,a,[])}changeOne(n,t,a){if((0,L.isFalsyOrEmpty)(a))this._data.delete(t,n)&&this._onMarkerChanged.fire([t]);else{const u=[];for(const h of a){const r=s._toMarker(n,t,h);r&&u.push(r)}this._data.set(t,n,u),this._onMarkerChanged.fire([t])}}static _toMarker(n,t,a){let{code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}=a;if(r)return o=o>0?o:1,d=d>0?d:1,l=l>=o?l:o,p=p>0?p:d,{resource:t,owner:n,code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}}changeAll(n,t){const a=[],u=this._data.values(n);if(u)for(const h of u){const r=y.Iterable.first(h);r&&(a.push(r.resource),this._data.delete(r.resource,n))}if((0,L.isNonEmptyArray)(t)){const h=new D.ResourceMap;for(const{resource:r,marker:c}of t){const o=s._toMarker(n,r,c);if(!o)continue;const d=h.get(r);d?d.push(o):(h.set(r,[o]),a.push(r))}for(const[r,c]of h)this._data.set(r,n,c)}a.length>0&&this._onMarkerChanged.fire(a)}read(n=Object.create(null)){let{owner:t,resource:a,severities:u,take:h}=n;if((!h||h<0)&&(h=-1),t&&a){const r=this._data.get(a,t);if(r){const c=[];for(const o of r)if(s._accept(o,u)){const d=c.push(o);if(h>0&&d===h)break}return c}else return[]}else if(!t&&!a){const r=[];for(const c of this._data.values())for(const o of c)if(s._accept(o,u)){const d=r.push(o);if(h>0&&d===h)return r}return r}else{const r=this._data.values(a??t),c=[];for(const o of r)for(const d of o)if(s._accept(d,u)){const l=c.push(d);if(h>0&&l===h)return c}return c}}static _accept(n,t){return t===void 0||(t&n.severity)===n.severity}static _merge(n){const t=new D.ResourceMap;for(const a of n)for(const u of a)t.set(u,!0);return Array.from(t.keys())}}e.MarkerService=s}),define(ne[43],se([1,0,101,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoOpNotification=e.INotificationService=e.Severity=void 0,e.Severity=L.default,e.INotificationService=(0,k.createDecorator)("notificationService");class y{}e.NoOpNotification=y}),define(ne[56],se([1,0,11,22,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractSelection=e.matchesSomeScheme=e.matchesScheme=e.IOpenerService=void 0,e.IOpenerService=(0,y.createDecorator)("openerService");function D(_,g){return k.URI.isUri(_)?(0,L.equalsIgnoreCase)(_.scheme,g):(0,L.startsWithIgnoreCase)(_,g+":")}e.matchesScheme=D;function S(_,...g){return g.some(C=>D(_,C))}e.matchesSomeScheme=S;function f(_){let g;const C=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(_.fragment);return C&&(g={startLineNumber:parseInt(C[1]),startColumn:C[2]?parseInt(C[2]):1,endLineNumber:C[4]?parseInt(C[4]):void 0,endColumn:C[4]?C[5]?parseInt(C[5]):1:void 0},_=_.with({fragment:""})),{selection:g,uri:_}}e.extractSelection=f}),define(ne[768],se([1,0,7,19,64,65,221,54,45,22,33,27,743,56]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OpenerService=void 0;let t=class{constructor(r){this._commandService=r}open(r,c){return we(this,void 0,void 0,function*(){if(!(0,n.matchesScheme)(r,f.Schemas.command))return!1;if(!c?.allowCommands||(typeof r=="string"&&(r=g.URI.parse(r)),Array.isArray(c.allowCommands)&&!c.allowCommands.includes(r.path)))return!0;let o=[];try{o=(0,S.parse)(decodeURIComponent(r.query))}catch{try{o=(0,S.parse)(r.query)}catch{}}return Array.isArray(o)||(o=[o]),yield this._commandService.executeCommand(r.path,...o),!0})}};t=ke([fe(0,s.ICommandService)],t);let a=class{constructor(r){this._editorService=r}open(r,c){return we(this,void 0,void 0,function*(){typeof r=="string"&&(r=g.URI.parse(r));const{selection:o,uri:d}=(0,n.extractSelection)(r);return r=d,r.scheme===f.Schemas.file&&(r=(0,_.normalizePath)(r)),yield this._editorService.openCodeEditor({resource:r,options:Object.assign({selection:o,source:c?.fromUserGesture?i.EditorOpenSource.USER:i.EditorOpenSource.API},c?.editorOptions)},this._editorService.getFocusedCodeEditor(),c?.openToSide),!0})}};a=ke([fe(0,C.ICodeEditorService)],a);let u=class{constructor(r,c){this._openers=new y.LinkedList,this._validators=new y.LinkedList,this._resolvers=new y.LinkedList,this._resolvedUriTargets=new D.ResourceMap(o=>o.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new y.LinkedList,this._defaultExternalOpener={openExternal:o=>we(this,void 0,void 0,function*(){return(0,n.matchesSomeScheme)(o,f.Schemas.http,f.Schemas.https)?L.windowOpenNoOpener(o):window.location.href=o,!0})},this._openers.push({open:(o,d)=>we(this,void 0,void 0,function*(){return d?.openExternal||(0,n.matchesSomeScheme)(o,f.Schemas.mailto,f.Schemas.http,f.Schemas.https,f.Schemas.vsls)?(yield this._doOpenExternal(o,d),!0):!1})}),this._openers.push(new t(c)),this._openers.push(new a(r))}registerOpener(r){return{dispose:this._openers.unshift(r)}}open(r,c){var o;return we(this,void 0,void 0,function*(){const d=typeof r=="string"?g.URI.parse(r):r,l=(o=this._resolvedUriTargets.get(d))!==null&&o!==void 0?o:r;for(const p of this._validators)if(!(yield p.shouldOpen(l,c)))return!1;for(const p of this._openers)if(yield p.open(r,c))return!0;return!1})}resolveExternalUri(r,c){return we(this,void 0,void 0,function*(){for(const o of this._resolvers)try{const d=yield o.resolveExternalUri(r,c);if(d)return this._resolvedUriTargets.has(d.resolved)||this._resolvedUriTargets.set(d.resolved,r),d}catch{}throw new Error("Could not resolve external URI: "+r.toString())})}_doOpenExternal(r,c){return we(this,void 0,void 0,function*(){const o=typeof r=="string"?g.URI.parse(r):r;let d;try{d=(yield this.resolveExternalUri(o,c)).resolved}catch{d=o}let l;if(typeof r=="string"&&o.toString()===d.toString()?l=r:l=encodeURI(d.toString(!0)),c?.allowContributedOpeners){const p=typeof c?.allowContributedOpeners=="string"?c?.allowContributedOpeners:void 0;for(const m of this._externalOpeners)if(yield m.openExternal(l,{sourceUri:o,preferredOpenerId:p},k.CancellationToken.None))return!0}return this._defaultExternalOpener.openExternal(l,{sourceUri:o},k.CancellationToken.None)})}dispose(){this._validators.clear()}};e.OpenerService=u,e.OpenerService=u=ke([fe(0,C.ICodeEditorService),fe(1,s.ICommandService)],u)}),define(ne[76],se([1,0,143,65,141,239,50,8,70,56]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureDebounceService=e.ILanguageFeatureDebounceService=void 0,e.ILanguageFeatureDebounceService=(0,f.createDecorator)("ILanguageFeatureDebounceService");var C;(function(t){const a=new WeakMap;let u=0;function h(r){let c=a.get(r);return c===void 0&&(c=++u,a.set(r,c)),c}t.of=h})(C||(C={}));class s{constructor(a){this._default=a}get(a){return this._default}update(a,u){return this._default}default(){return this._default}}class i{constructor(a,u,h,r,c,o){this._logService=a,this._name=u,this._registry=h,this._default=r,this._min=c,this._max=o,this._cache=new k.LRUCache(50,.7)}_key(a){return a.id+this._registry.all(a).reduce((u,h)=>(0,L.doHash)(C.of(h),u),0)}get(a){const u=this._key(a),h=this._cache.get(u);return h?(0,y.clamp)(h.value,this._min,this._max):this.default()}update(a,u){const h=this._key(a);let r=this._cache.get(h);r||(r=new y.SlidingWindowAverage(6),this._cache.set(h,r));const c=(0,y.clamp)(r.update(u),this._min,this._max);return(0,g.matchesScheme)(a.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${a.uri.toString()} is ${c}ms`),c}_overall(){const a=new y.MovingAverage;for(const[,u]of this._cache)a.update(u.value);return a.value}default(){const a=this._overall()|0||this._default;return(0,y.clamp)(a,this._min,this._max)}}let n=class{constructor(a,u){this._logService=a,this._data=new Map,this._isDev=u.isExtensionDevelopment||!u.isBuilt}for(a,u,h){var r,c,o;const d=(r=h?.min)!==null&&r!==void 0?r:50,l=(c=h?.max)!==null&&c!==void 0?c:Math.pow(d,2),p=(o=h?.key)!==null&&o!==void 0?o:void 0,m=`${C.of(a)},${d}${p?","+p:""}`;let v=this._data.get(m);return v||(this._isDev?v=new i(this._logService,u,a,this._overallAverage()|0||d*1.5,d,l):(this._logService.debug(`[DEBOUNCE: ${u}] is disabled in developed mode`),v=new s(d*1.5)),this._data.set(m,v)),v}_overallAverage(){const a=new y.MovingAverage;for(const u of this._data.values())a.update(u.default());return a.value}};e.LanguageFeatureDebounceService=n,e.LanguageFeatureDebounceService=n=ke([fe(0,_.ILogService),fe(1,D.IEnvironmentService)],n),(0,S.registerSingleton)(e.ILanguageFeatureDebounceService,n,1)}),define(ne[188],se([1,0,14,19,9,46,65,12,5,76,8,50,51,2,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModelService=e.IOutlineModelService=e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class a{remove(){var d;(d=this.parent)===null||d===void 0||d.children.delete(this.id)}static findId(d,l){let p;typeof d=="string"?p=`${l.id}/${d}`:(p=`${l.id}/${d.name}`,l.children.get(p)!==void 0&&(p=`${l.id}/${d.name}_${d.range.startLineNumber}_${d.range.startColumn}`));let m=p;for(let v=0;l.children.get(m)!==void 0;v++)m=`${p}_${v}`;return m}static empty(d){return d.children.size===0}}e.TreeElement=a;class u extends a{constructor(d,l,p){super(),this.id=d,this.parent=l,this.symbol=p,this.children=new Map}}e.OutlineElement=u;class h extends a{constructor(d,l,p,m){super(),this.id=d,this.parent=l,this.label=p,this.order=m,this.children=new Map}}e.OutlineGroup=h;class r extends a{static create(d,l,p){const m=new k.CancellationTokenSource(p),v=new r(l.uri),b=d.ordered(l),w=b.map((I,M)=>{var P;const x=a.findId(`provider_${M}`,v),T=new h(x,v,(P=I.displayName)!==null&&P!==void 0?P:"Unknown Outline Provider",M);return Promise.resolve(I.provideDocumentSymbols(l,m.token)).then(A=>{for(const N of A||[])r._makeOutlineElement(N,T);return T},A=>((0,y.onUnexpectedExternalError)(A),T)).then(A=>{a.empty(A)?A.remove():v._groups.set(x,A)})}),E=d.onDidChange(()=>{const I=d.ordered(l);(0,L.equals)(I,b)||m.cancel()});return Promise.all(w).then(()=>m.token.isCancellationRequested&&!p.isCancellationRequested?r.create(d,l,p):v._compact()).finally(()=>{E.dispose()})}static _makeOutlineElement(d,l){const p=a.findId(d,l),m=new u(p,l,d);if(d.children)for(const v of d.children)r._makeOutlineElement(v,m);l.children.set(m.id,m)}constructor(d){super(),this.uri=d,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let d=0;for(const[l,p]of this._groups)p.children.size===0?this._groups.delete(l):d+=1;if(d!==1)this.children=this._groups;else{const l=D.Iterable.first(this._groups.values());for(const[,p]of l.children)p.parent=this,this.children.set(p.id,p)}return this}getTopLevelSymbols(){const d=[];for(const l of this.children.values())l instanceof u?d.push(l.symbol):d.push(...D.Iterable.map(l.children.values(),p=>p.symbol));return d.sort((l,p)=>_.Range.compareRangesUsingStarts(l.range,p.range))}asListOfDocumentSymbols(){const d=this.getTopLevelSymbols(),l=[];return r._flattenDocumentSymbols(l,d,""),l.sort((p,m)=>f.Position.compare(_.Range.getStartPosition(p.range),_.Range.getStartPosition(m.range))||f.Position.compare(_.Range.getEndPosition(m.range),_.Range.getEndPosition(p.range)))}static _flattenDocumentSymbols(d,l,p){for(const m of l)d.push({kind:m.kind,tags:m.tags,name:m.name,detail:m.detail,containerName:m.containerName||p,range:m.range,selectionRange:m.selectionRange,children:void 0}),m.children&&r._flattenDocumentSymbols(d,m.children,m.name)}}e.OutlineModel=r,e.IOutlineModelService=(0,C.createDecorator)("IOutlineModelService");let c=class{constructor(d,l,p){this._languageFeaturesService=d,this._disposables=new n.DisposableStore,this._cache=new S.LRUCache(10,.7),this._debounceInformation=l.for(d.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(p.onModelRemoved(m=>{this._cache.delete(m.id)}))}dispose(){this._disposables.dispose()}getOrCreate(d,l){return we(this,void 0,void 0,function*(){const p=this._languageFeaturesService.documentSymbolProvider,m=p.ordered(d);let v=this._cache.get(d.id);if(!v||v.versionId!==d.getVersionId()||!(0,L.equals)(v.provider,m)){const w=new k.CancellationTokenSource;v={versionId:d.getVersionId(),provider:m,promiseCnt:0,source:w,promise:r.create(p,d,w.token),model:void 0},this._cache.set(d.id,v);const E=Date.now();v.promise.then(I=>{v.model=I,this._debounceInformation.update(d,Date.now()-E)}).catch(I=>{this._cache.delete(d.id)})}if(v.model)return v.model;v.promiseCnt+=1;const b=l.onCancellationRequested(()=>{--v.promiseCnt===0&&(v.source.cancel(),this._cache.delete(d.id))});try{return yield v.promise}finally{b.dispose()}})}};e.OutlineModelService=c,e.OutlineModelService=c=ke([fe(0,t.ILanguageFeaturesService),fe(1,g.ILanguageFeatureDebounceService),fe(2,i.IModelService)],c),(0,s.registerSingleton)(e.IOutlineModelService,c,1)}),define(ne[769],se([1,0,19,20,22,69,188,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),f.CommandsRegistry.registerCommand("_executeDocumentSymbolProvider",function(_,...g){return we(this,void 0,void 0,function*(){const[C]=g;(0,k.assertType)(y.URI.isUri(C));const s=_.get(S.IOutlineModelService),n=yield _.get(D.ITextModelService).createModelReference(C);try{return(yield s.getOrCreate(n.object.textEditorModel,L.CancellationToken.None)).getTopLevelSymbols()}finally{n.dispose()}})})}),define(ne[770],se([1,0,7,81,44,61,6,2,56,473]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Link=void 0;let g=class extends f.Disposable{get enabled(){return this._enabled}set enabled(s){s?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=s}constructor(s,i,n={},t){var a;super(),this._link=i,this._enabled=!0,this.el=(0,L.append)(s,(0,L.$)("a.monaco-link",{tabIndex:(a=i.tabIndex)!==null&&a!==void 0?a:0,href:i.href,title:i.title},i.label)),this.el.setAttribute("role","button");const u=this._register(new k.DomEmitter(this.el,"click")),h=this._register(new k.DomEmitter(this.el,"keypress")),r=S.Event.chain(h.event).map(d=>new y.StandardKeyboardEvent(d)).filter(d=>d.keyCode===3).event,c=this._register(new k.DomEmitter(this.el,D.EventType.Tap)).event;this._register(D.Gesture.addTarget(this.el));const o=S.Event.any(u.event,r,c);this._register(o(d=>{this.enabled&&(L.EventHelper.stop(d,!0),n?.opener?n.opener(this._link.href):t.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}};e.Link=g,e.Link=g=ke([fe(3,_.IOpenerService)],g)}),define(ne[77],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorProgressService=e.Progress=e.emptyProgressRunner=e.IProgressService=void 0,e.IProgressService=(0,L.createDecorator)("progressService"),e.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}});class k{constructor(D,S){this.callback=D,this.report=S?.async?this._reportAsync.bind(this):this._reportSync.bind(this)}_reportSync(D){this._value=D,this.callback(this._value)}_reportAsync(D){Promise.resolve(this._lastTask).finally(()=>{this._value=D;const S=this.callback(this._value);this._lastTask=Promise.resolve(S).finally(()=>this._lastTask=void 0)})}}e.Progress=k,k.None=Object.freeze({report(){}}),e.IEditorProgressService=(0,L.createDecorator)("editorProgressService")}),define(ne[771],se([1,0,13,19,2,20]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PickerQuickAccessProvider=e.TriggerAction=void 0;var S;(function(C){C[C.NO_ACTION=0]="NO_ACTION",C[C.CLOSE_PICKER=1]="CLOSE_PICKER",C[C.REFRESH_PICKER=2]="REFRESH_PICKER",C[C.REMOVE_ITEM=3]="REMOVE_ITEM"})(S||(e.TriggerAction=S={}));function f(C){const s=C;return Array.isArray(s.items)}function _(C){const s=C;return!!s.picks&&s.additionalPicks instanceof Promise}class g extends y.Disposable{constructor(s,i){super(),this.prefix=s,this.options=i}provide(s,i,n){var t;const a=new y.DisposableStore;s.canAcceptInBackground=!!(!((t=this.options)===null||t===void 0)&&t.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;let u;const h=a.add(new y.MutableDisposable),r=()=>we(this,void 0,void 0,function*(){const c=h.value=new y.DisposableStore;u?.dispose(!0),s.busy=!1,u=new k.CancellationTokenSource(i);const o=u.token,d=s.value.substr(this.prefix.length).trim(),l=this._getPicks(d,c,o,n),p=(v,b)=>{var w;let E,I;if(f(v)?(E=v.items,I=v.active):E=v,E.length===0){if(b)return!1;(d.length>0||s.hideInput)&&(!((w=this.options)===null||w===void 0)&&w.noResultsPick)&&((0,D.isFunction)(this.options.noResultsPick)?E=[this.options.noResultsPick(d)]:E=[this.options.noResultsPick])}return s.items=E,I&&(s.activeItems=[I]),!0},m=v=>we(this,void 0,void 0,function*(){let b=!1,w=!1;yield Promise.all([(()=>we(this,void 0,void 0,function*(){typeof v.mergeDelay=="number"&&(yield(0,L.timeout)(v.mergeDelay),o.isCancellationRequested)||w||(b=p(v.picks,!0))}))(),(()=>we(this,void 0,void 0,function*(){s.busy=!0;try{const E=yield v.additionalPicks;if(o.isCancellationRequested)return;let I,M;f(v.picks)?(I=v.picks.items,M=v.picks.active):I=v.picks;let P,x;if(f(E)?(P=E.items,x=E.active):P=E,P.length>0||!b){let T;if(!M&&!x){const A=s.activeItems[0];A&&I.indexOf(A)!==-1&&(T=A)}p({items:[...I,...P],active:M||x||T})}}finally{o.isCancellationRequested||(s.busy=!1),w=!0}}))()])});if(l!==null)if(_(l))yield m(l);else if(!(l instanceof Promise))p(l);else{s.busy=!0;try{const v=yield l;if(o.isCancellationRequested)return;_(v)?yield m(v):p(v)}finally{o.isCancellationRequested||(s.busy=!1)}}});return a.add(s.onDidChangeValue(()=>r())),r(),a.add(s.onDidAccept(c=>{const[o]=s.selectedItems;typeof o?.accept=="function"&&(c.inBackground||s.hide(),o.accept(s.keyMods,c))})),a.add(s.onDidTriggerItemButton(({button:c,item:o})=>we(this,void 0,void 0,function*(){var d,l;if(typeof o.trigger=="function"){const p=(l=(d=o.buttons)===null||d===void 0?void 0:d.indexOf(c))!==null&&l!==void 0?l:-1;if(p>=0){const m=o.trigger(p,s.keyMods),v=typeof m=="number"?m:yield m;if(i.isCancellationRequested)return;switch(v){case S.NO_ACTION:break;case S.CLOSE_PICKER:s.hide();break;case S.REFRESH_PICKER:r();break;case S.REMOVE_ITEM:{const b=s.items.indexOf(o);if(b!==-1){const w=s.items.slice(),E=w.splice(b,1),I=s.activeItems.filter(P=>P!==E[0]),M=s.keepScrollPosition;s.keepScrollPosition=!0,s.items=w,I&&(s.activeItems=I),s.keepScrollPosition=M}break}}}}}))),a}}e.PickerQuickAccessProvider=g}),define(ne[772],se([1,0,7,44,60,228,2,101,174]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputBox=void 0;const _=L.$;class g extends S.Disposable{constructor(s,i,n){super(),this.parent=s,this.onKeyDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.KEY_DOWN,u=>{a(new k.StandardKeyboardEvent(u))}),this.onMouseDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.MOUSE_DOWN,u=>{a(new y.StandardMouseEvent(u))}),this.onDidChange=a=>this.findInput.onDidChange(a),this.container=L.append(this.parent,_(".quick-input-box")),this.findInput=this._register(new D.FindInput(this.container,void 0,{label:"",inputBoxStyles:i,toggleStyles:n}));const t=this.findInput.inputBox.inputElement;t.role="combobox",t.ariaHasPopup="menu",t.ariaAutoComplete="list",t.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(s){this.findInput.setValue(s)}select(s=null){this.findInput.inputBox.select(s)}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(s){this.findInput.inputBox.setPlaceHolder(s)}get password(){return this.findInput.inputBox.inputElement.type==="password"}set password(s){this.findInput.inputBox.inputElement.type=s?"password":"text"}set enabled(s){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!s)}set toggles(s){this.findInput.setAdditionalToggles(s)}setAttribute(s,i){this.findInput.inputBox.inputElement.setAttribute(s,i)}showDecoration(s){s===f.default.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:s===f.default.Info?1:s===f.default.Warning?2:3,content:""})}stylesForType(s){return this.findInput.inputBox.stylesForType(s===f.default.Info?1:s===f.default.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}e.QuickInputBox=g}),define(ne[339],se([1,0,7,81,6,44,61,129,164,385,735,174]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderQuickInputDescription=e.getIconClass=void 0;const s={},i=new _.IdGenerator("quick-input-button-icon-");function n(a){if(!a)return;let u;const h=a.dark.toString();return s[h]?u=s[h]:(u=i.nextId(),L.createCSSRule(`.${u}, .hc-light .${u}`,`background-image: ${L.asCSSUrl(a.light||a.dark)}`),L.createCSSRule(`.vs-dark .${u}, .hc-black .${u}`,`background-image: ${L.asCSSUrl(a.dark)}`),s[h]=u),u}e.getIconClass=n;function t(a,u,h){L.reset(u);const r=(0,g.parseLinkedText)(a);let c=0;for(const o of r.nodes)if(typeof o=="string")u.append(...(0,f.renderLabelWithIcons)(o));else{let d=o.title;!d&&o.href.startsWith("command:")?d=(0,C.localize)(0,null,o.href.substring(8)):d||(d=o.href);const l=L.$("a",{href:o.href,title:d,tabIndex:c++},o.label);l.style.textDecoration="underline";const p=E=>{L.isEventLike(E)&&L.EventHelper.stop(E,!0),h.callback(o.href)},m=h.disposables.add(new k.DomEmitter(l,L.EventType.CLICK)).event,v=h.disposables.add(new k.DomEmitter(l,L.EventType.KEY_DOWN)).event,b=h.disposables.add(y.Event.chain(v)).filter(E=>{const I=new D.StandardKeyboardEvent(E);return I.equals(10)||I.equals(3)}).event;h.disposables.add(S.Gesture.addTarget(l));const w=h.disposables.add(new k.DomEmitter(l,S.EventType.Tap)).event;y.Event.any(m,w,b)(p,null,h.disposables),u.appendChild(l)}}e.renderQuickInputDescription=t}),define(ne[71],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IQuickInputService=e.quickPickItemScorerAccessor=e.QuickPickItemScorerAccessor=e.ItemActivation=e.QuickInputHideReason=e.NO_KEY_MODS=void 0,e.NO_KEY_MODS={ctrlCmd:!1,alt:!1};var k;(function(S){S[S.Blur=1]="Blur",S[S.Gesture=2]="Gesture",S[S.Other=3]="Other"})(k||(e.QuickInputHideReason=k={}));var y;(function(S){S[S.NONE=0]="NONE",S[S.FIRST=1]="FIRST",S[S.SECOND=2]="SECOND",S[S.LAST=3]="LAST"})(y||(e.ItemActivation=y={}));class D{constructor(f){this.options=f}}e.QuickPickItemScorerAccessor=D,e.quickPickItemScorerAccessor=new D,e.IQuickInputService=(0,L.createDecorator)("quickInputService")}),define(ne[37],se([1,0,85,20]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Registry=void 0;class y{constructor(){this.data=new Map}add(S,f){L.ok(k.isString(S)),L.ok(k.isObject(f)),L.ok(!this.data.has(S),"There is already an extension with this id"),this.data.set(S,f)}as(S){return this.data.get(S)||null}}e.Registry=new y}),define(ne[340],se([1,0,37]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LocalSelectionTransfer=e.Extensions=e.CodeDataTransfers=void 0,e.CodeDataTransfers={EDITORS:"CodeEditors",FILES:"CodeFiles"};class k{}e.Extensions={DragAndDropContribution:"workbench.contributions.dragAndDrop"},L.Registry.add(e.Extensions.DragAndDropContribution,new k);class y{constructor(){}static getInstance(){return y.INSTANCE}hasData(S){return S&&S===this.proto}getData(S){if(this.hasData(S))return this.data}}e.LocalSelectionTransfer=y,y.INSTANCE=new y}),define(ne[341],se([1,0,197,171,107,22,340]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toExternalVSDataTransfer=e.toVSDataTransfer=void 0;function f(s){const i=new k.VSDataTransfer;for(const n of s.items){const t=n.type;if(n.kind==="string"){const a=new Promise(u=>n.getAsString(u));i.append(t,(0,k.createStringDataTransferItem)(a))}else if(n.kind==="file"){const a=n.getAsFile();a&&i.append(t,_(a))}}return i}e.toVSDataTransfer=f;function _(s){const i=s.path?D.URI.parse(s.path):void 0;return(0,k.createFileDataTransferItem)(s.name,i,()=>we(this,void 0,void 0,function*(){return new Uint8Array(yield s.arrayBuffer())}))}const g=Object.freeze([S.CodeDataTransfers.EDITORS,S.CodeDataTransfers.FILES,L.DataTransfers.RESOURCES,L.DataTransfers.INTERNAL_URI_LIST]);function C(s,i=!1){const n=f(s),t=n.get(L.DataTransfers.INTERNAL_URI_LIST);if(t)n.replace(y.Mimes.uriList,t);else if(i||!n.has(y.Mimes.uriList)){const a=[];for(const u of s.items){const h=u.getAsFile();if(h){const r=h.path;try{r?a.push(D.URI.file(r).toString()):a.push(D.URI.parse(h.name,!0).toString())}catch{}}}a.length&&n.replace(y.Mimes.uriList,(0,k.createStringDataTransferItem)(k.UriList.create(a)))}for(const a of g)n.delete(a);return n}e.toExternalVSDataTransfer=C}),define(ne[240],se([1,0,6,37]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=void 0,e.Extensions={JSONContribution:"base.contributions.json"};function y(f){return f.length>0&&f.charAt(f.length-1)==="#"?f.substring(0,f.length-1):f}class D{constructor(){this._onDidChangeSchema=new L.Emitter,this.schemasById={}}registerSchema(_,g){this.schemasById[y(_)]=g,this._onDidChangeSchema.fire(_)}notifySchemaChanged(_){this._onDidChangeSchema.fire(_)}}const S=new D;k.Registry.add(e.Extensions.JSONContribution,S)}),define(ne[98],se([1,0,14,6,20,721,28,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateProperty=e.getDefaultValue=e.overrideIdentifiersFromKey=e.OVERRIDE_PROPERTY_REGEX=e.OVERRIDE_PROPERTY_PATTERN=e.resourceLanguageSettingsSchemaId=e.resourceSettings=e.windowSettings=e.machineOverridableSettings=e.machineSettings=e.applicationSettings=e.allSettings=e.Extensions=void 0,e.Extensions={Configuration:"base.contributions.configuration"},e.allSettings={properties:{},patternProperties:{}},e.applicationSettings={properties:{},patternProperties:{}},e.machineSettings={properties:{},patternProperties:{}},e.machineOverridableSettings={properties:{},patternProperties:{}},e.windowSettings={properties:{},patternProperties:{}},e.resourceSettings={properties:{},patternProperties:{}},e.resourceLanguageSettingsSchemaId="vscode://schemas/settings/resourceLanguage";const g=_.Registry.as(f.Extensions.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new k.Emitter,this._onDidUpdateConfiguration=new k.Emitter,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:D.localize(0,null),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(r,c=!0){this.registerConfigurations([r],c)}registerConfigurations(r,c=!0){const o=new Set;this.doRegisterConfigurations(r,c,o),g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:o})}registerDefaultConfigurations(r){const c=new Set;this.doRegisterDefaultConfigurations(r,c),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:c,defaultsOverrides:!0})}doRegisterDefaultConfigurations(r,c){var o;const d=[];for(const{overrides:l,source:p}of r)for(const m in l)if(c.add(m),e.OVERRIDE_PROPERTY_REGEX.test(m)){const v=this.configurationDefaultsOverrides.get(m),b=(o=v?.valuesSources)!==null&&o!==void 0?o:new Map;if(p)for(const M of Object.keys(l[m]))b.set(M,p);const w=Object.assign(Object.assign({},v?.value||{}),l[m]);this.configurationDefaultsOverrides.set(m,{source:p,value:w,valuesSources:b});const E=(0,S.getLanguageTagSettingPlainKey)(m),I={type:"object",default:w,description:D.localize(1,null,E),$ref:e.resourceLanguageSettingsSchemaId,defaultDefaultValue:w,source:y.isString(p)?void 0:p,defaultValueSource:p};d.push(...n(m)),this.configurationProperties[m]=I,this.defaultLanguageConfigurationOverridesNode.properties[m]=I}else{this.configurationDefaultsOverrides.set(m,{value:l[m],source:p});const v=this.configurationProperties[m];v&&(this.updatePropertyDefaultValue(m,v),this.updateSchema(m,v))}this.doRegisterOverrideIdentifiers(d)}registerOverrideIdentifiers(r){this.doRegisterOverrideIdentifiers(r),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(r){for(const c of r)this.overrideIdentifiers.add(c);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(r,c,o){r.forEach(d=>{this.validateAndRegisterProperties(d,c,d.extensionInfo,d.restrictedProperties,void 0,o),this.configurationContributors.push(d),this.registerJSONConfiguration(d)})}validateAndRegisterProperties(r,c=!0,o,d,l=3,p){var m;l=y.isUndefinedOrNull(r.scope)?l:r.scope;const v=r.properties;if(v)for(const w in v){const E=v[w];if(c&&u(w,E)){delete v[w];continue}if(E.source=o,E.defaultDefaultValue=v[w].default,this.updatePropertyDefaultValue(w,E),e.OVERRIDE_PROPERTY_REGEX.test(w)?E.scope=void 0:(E.scope=y.isUndefinedOrNull(E.scope)?l:E.scope,E.restricted=y.isUndefinedOrNull(E.restricted)?!!d?.includes(w):E.restricted),v[w].hasOwnProperty("included")&&!v[w].included){this.excludedConfigurationProperties[w]=v[w],delete v[w];continue}else this.configurationProperties[w]=v[w],!((m=v[w].policy)===null||m===void 0)&&m.name&&this.policyConfigurations.set(v[w].policy.name,w);!v[w].deprecationMessage&&v[w].markdownDeprecationMessage&&(v[w].deprecationMessage=v[w].markdownDeprecationMessage),p.add(w)}const b=r.allOf;if(b)for(const w of b)this.validateAndRegisterProperties(w,c,o,d,l,p)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(r){const c=o=>{const d=o.properties;if(d)for(const p in d)this.updateSchema(p,d[p]);const l=o.allOf;l?.forEach(c)};c(r)}updateSchema(r,c){switch(e.allSettings.properties[r]=c,c.scope){case 1:e.applicationSettings.properties[r]=c;break;case 2:e.machineSettings.properties[r]=c;break;case 6:e.machineOverridableSettings.properties[r]=c;break;case 3:e.windowSettings.properties[r]=c;break;case 4:e.resourceSettings.properties[r]=c;break;case 5:e.resourceSettings.properties[r]=c,this.resourceLanguageSettingsSchema.properties[r]=c;break}}updateOverridePropertyPatternKey(){for(const r of this.overrideIdentifiers.values()){const c=`[${r}]`,o={type:"object",description:D.localize(2,null),errorMessage:D.localize(3,null),$ref:e.resourceLanguageSettingsSchemaId};this.updatePropertyDefaultValue(c,o),e.allSettings.properties[c]=o,e.applicationSettings.properties[c]=o,e.machineSettings.properties[c]=o,e.machineOverridableSettings.properties[c]=o,e.windowSettings.properties[c]=o,e.resourceSettings.properties[c]=o}}registerOverridePropertyPatternKey(){const r={type:"object",description:D.localize(4,null),errorMessage:D.localize(5,null),$ref:e.resourceLanguageSettingsSchemaId};e.allSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.applicationSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineOverridableSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.windowSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.resourceSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(r,c){const o=this.configurationDefaultsOverrides.get(r);let d=o?.value,l=o?.source;y.isUndefined(d)&&(d=c.defaultDefaultValue,l=void 0),y.isUndefined(d)&&(d=t(c.type)),c.default=d,c.defaultValueSource=l}}const s="\\[([^\\]]+)\\]",i=new RegExp(s,"g");e.OVERRIDE_PROPERTY_PATTERN=`^(${s})+$`,e.OVERRIDE_PROPERTY_REGEX=new RegExp(e.OVERRIDE_PROPERTY_PATTERN);function n(h){const r=[];if(e.OVERRIDE_PROPERTY_REGEX.test(h)){let c=i.exec(h);for(;c?.length;){const o=c[1].trim();o&&r.push(o),c=i.exec(h)}}return(0,L.distinct)(r)}e.overrideIdentifiersFromKey=n;function t(h){switch(Array.isArray(h)?h[0]:h){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}e.getDefaultValue=t;const a=new C;_.Registry.add(e.Extensions.Configuration,a);function u(h,r){var c,o,d,l;return h.trim()?e.OVERRIDE_PROPERTY_REGEX.test(h)?D.localize(7,null,h):a.getConfigurationProperties()[h]!==void 0?D.localize(8,null,h):!((c=r.policy)===null||c===void 0)&&c.name&&a.getPolicyConfigurations().get((o=r.policy)===null||o===void 0?void 0:o.name)!==void 0?D.localize(9,null,h,(d=r.policy)===null||d===void 0?void 0:d.name,a.getPolicyConfigurations().get((l=r.policy)===null||l===void 0?void 0:l.name)):null:D.localize(6,null)}e.validateProperty=u}),define(ne[241],se([1,0,271,36,175,618,98,37]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDiffEditorConfigurationKey=e.isEditorConfigurationKey=e.editorConfigurationBaseNode=void 0,e.editorConfigurationBaseNode=Object.freeze({id:"editor",order:5,type:"object",title:D.localize(0,null),scope:5});const _=Object.assign(Object.assign({},e.editorConfigurationBaseNode),{properties:{"editor.tabSize":{type:"number",default:y.EDITOR_MODEL_DEFAULTS.tabSize,minimum:1,markdownDescription:D.localize(1,null,"`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:D.localize(2,null)},"editor.insertSpaces":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.insertSpaces,markdownDescription:D.localize(3,null,"`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.detectIndentation,markdownDescription:D.localize(4,null,"`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,description:D.localize(5,null)},"editor.largeFileOptimizations":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,description:D.localize(6,null)},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:D.localize(7,null)},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[D.localize(8,null),D.localize(9,null),D.localize(10,null)],description:D.localize(11,null)},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[D.localize(12,null),D.localize(13,null),D.localize(14,null)],default:"configuredByTheme",description:D.localize(15,null)},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:D.localize(16,null)},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:D.localize(17,null)},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:D.localize(18,null),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:D.localize(19,null)},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:D.localize(20,null),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:D.localize(21,null),items:{type:"array",items:[{type:"string",description:D.localize(22,null)},{type:"string",description:D.localize(23,null)}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:D.localize(24,null),items:{type:"array",items:[{type:"string",description:D.localize(25,null)},{type:"string",description:D.localize(26,null)}]}},"diffEditor.maxComputationTime":{type:"number",default:L.diffEditorDefaultOptions.maxComputationTime,description:D.localize(27,null)},"diffEditor.maxFileSize":{type:"number",default:L.diffEditorDefaultOptions.maxFileSize,description:D.localize(28,null)},"diffEditor.renderSideBySide":{type:"boolean",default:L.diffEditorDefaultOptions.renderSideBySide,description:D.localize(29,null)},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:L.diffEditorDefaultOptions.renderSideBySideInlineBreakpoint,description:D.localize(30,null)},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:L.diffEditorDefaultOptions.useInlineViewWhenSpaceIsLimited,description:D.localize(31,null)},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:L.diffEditorDefaultOptions.renderMarginRevertIcon,description:D.localize(32,null)},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:L.diffEditorDefaultOptions.ignoreTrimWhitespace,description:D.localize(33,null)},"diffEditor.renderIndicators":{type:"boolean",default:L.diffEditorDefaultOptions.renderIndicators,description:D.localize(34,null)},"diffEditor.codeLens":{type:"boolean",default:L.diffEditorDefaultOptions.diffCodeLens,description:D.localize(35,null)},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:L.diffEditorDefaultOptions.diffWordWrap,markdownEnumDescriptions:[D.localize(36,null),D.localize(37,null),D.localize(38,null,"`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:L.diffEditorDefaultOptions.diffAlgorithm,markdownEnumDescriptions:[D.localize(39,null),D.localize(40,null)],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:L.diffEditorDefaultOptions.hideUnchangedRegions.enabled,markdownDescription:D.localize(41,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.revealLineCount,markdownDescription:D.localize(42,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.minimumLineCount,markdownDescription:D.localize(43,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.contextLineCount,markdownDescription:D.localize(44,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showMoves,markdownDescription:D.localize(45,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.experimental.useVersion2":{type:"boolean",default:!0,description:D.localize(46,null),tags:["experimental"]},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showEmptyDecorations,description:D.localize(47,null)}}});function g(a){return typeof a.type<"u"||typeof a.anyOf<"u"}for(const a of k.editorOptionsRegistry){const u=a.schema;if(typeof u<"u")if(g(u))_.properties[`editor.${a.name}`]=u;else for(const h in u)Object.hasOwnProperty.call(u,h)&&(_.properties[h]=u[h])}let C=null;function s(){return C===null&&(C=Object.create(null),Object.keys(_.properties).forEach(a=>{C[a]=!0})),C}function i(a){return s()[`editor.${a}`]||!1}e.isEditorConfigurationKey=i;function n(a){return s()[`diffEditor.${a}`]||!1}e.isDiffEditorConfigurationKey=n,f.Registry.as(S.Extensions.Configuration).registerConfiguration(_)}),define(ne[78],se([1,0,628,6,37,107,98]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLAINTEXT_EXTENSION=e.PLAINTEXT_LANGUAGE_ID=e.ModesRegistry=e.EditorModesRegistry=e.Extensions=void 0,e.Extensions={ModesRegistry:"editor.modesRegistry"};class f{constructor(){this._onDidChangeLanguages=new k.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(g){return this._languages.push(g),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let C=0,s=this._languages.length;C{const W=O.change.keys.some(j=>F.has(j)),U=O.change.overrides.filter(([j,R])=>R.some(K=>F.has(K))).map(([j])=>j);if(W)this.configurations.clear(),this.onDidChangeEmitter.fire(new c(void 0));else for(const j of U)this.languageService.isRegisteredLanguageId(j)&&(this.configurations.delete(j),this.onDidChangeEmitter.fire(new c(j)))})),this._register(this._registry.onDidChange(O=>{this.configurations.delete(O.languageId),this.onDidChangeEmitter.fire(new c(O.languageId))}))}register(A,N,F){return this._registry.register(A,N,F)}getLanguageConfiguration(A){let N=this.configurations.get(A);return N||(N=d(A,this._registry,this.configurationService,this.languageService),this.configurations.set(A,N)),N}};e.LanguageConfigurationService=o,e.LanguageConfigurationService=o=ke([fe(0,t.IConfigurationService),fe(1,a.ILanguageService)],o);function d(T,A,N,F){let O=A.getLanguageConfiguration(T);if(!O){if(!F.isRegisteredLanguageId(T))return new x(T,{});O=new x(T,{})}const W=p(O.languageId,N),U=E([O.underlyingConfig,W]);return new x(O.languageId,U)}const l={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function p(T,A){const N=A.getValue(l.brackets,{overrideIdentifier:T}),F=A.getValue(l.colorizedBracketPairs,{overrideIdentifier:T});return{brackets:m(N),colorizedBracketPairs:m(F)}}function m(T){if(Array.isArray(T))return T.map(A=>{if(!(!Array.isArray(A)||A.length!==2))return[A[0],A[1]]}).filter(A=>!!A)}function v(T,A,N){const F=T.getLineContent(A);let O=y.getLeadingWhitespace(F);return O.length>N-1&&(O=O.substring(0,N-1)),O}e.getIndentationAtPosition=v;function b(T,A,N){T.tokenization.forceTokenization(A);const F=T.tokenization.getLineTokens(A),O=typeof N>"u"?T.getLineMaxColumn(A)-1:N-1;return(0,f.createScopedLineTokens)(F,O)}e.getScopedLineTokens=b;class w{constructor(A){this.languageId=A,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(A,N){const F=new I(A,N,++this._order);return this._entries.push(F),this._resolved=null,(0,k.toDisposable)(()=>{for(let O=0;OA.configuration)))}}function E(T){let A={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const N of T)A={comments:N.comments||A.comments,brackets:N.brackets||A.brackets,wordPattern:N.wordPattern||A.wordPattern,indentationRules:N.indentationRules||A.indentationRules,onEnterRules:N.onEnterRules||A.onEnterRules,autoClosingPairs:N.autoClosingPairs||A.autoClosingPairs,surroundingPairs:N.surroundingPairs||A.surroundingPairs,autoCloseBefore:N.autoCloseBefore||A.autoCloseBefore,folding:N.folding||A.folding,colorizedBracketPairs:N.colorizedBracketPairs||A.colorizedBracketPairs,__electricCharacterSupport:N.__electricCharacterSupport||A.__electricCharacterSupport};return A}class I{constructor(A,N,F){this.configuration=A,this.priority=N,this.order=F}static cmp(A,N){return A.priority===N.priority?A.order-N.order:A.priority-N.priority}}class M{constructor(A){this.languageId=A}}e.LanguageConfigurationChangeEvent=M;class P extends k.Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._register(this.register(h.PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(A,N,F=0){let O=this._entries.get(A);O||(O=new w(A),this._entries.set(A,O));const W=O.register(N,F);return this._onDidChange.fire(new M(A)),(0,k.toDisposable)(()=>{W.dispose(),this._onDidChange.fire(new M(A))})}getLanguageConfiguration(A){const N=this._entries.get(A);return N?.getResolvedConfiguration()||null}}e.LanguageConfigurationRegistry=P;class x{constructor(A,N){this.languageId=A,this.underlyingConfig=N,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new s.OnEnterSupport(this.underlyingConfig):null,this.comments=x._handleComments(this.underlyingConfig),this.characterPair=new _.CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||D.DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new C.IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new r.LanguageBracketsConfiguration(A,this.underlyingConfig)}getWordDefinition(){return(0,D.ensureValidWordDefinition)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new i.RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new g.BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(A,N,F,O){return this._onEnterSupport?this._onEnterSupport.onEnter(A,N,F,O):null}getAutoClosingPairs(){return new S.AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(A){return this.characterPair.getAutoCloseBeforeSet(A)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(A){const N=A.comments;if(!N)return null;const F={};if(N.lineComment&&(F.lineCommentToken=N.lineComment),N.blockComment){const[O,W]=N.blockComment;F.blockCommentStartToken=O,F.blockCommentEndToken=W}return F}}e.ResolvedLanguageConfiguration=x,(0,u.registerSingleton)(e.ILanguageConfigurationService,o,1)}),define(ne[242],se([1,0,13,2,317,587,5,32,627,51,187,14,70,58,9,18,109,66]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorWorkerClient=e.EditorWorkerHost=e.EditorWorkerService=void 0;const r=60*1e3,c=5*60*1e3;function o(E,I){const M=E.getModel(I);return!(!M||M.isTooLargeForSyncing())}let d=class extends k.Disposable{constructor(I,M,P,x,T){super(),this._modelService=I,this._workerManager=this._register(new p(this._modelService,x)),this._logService=P,this._register(T.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(A,N)=>o(this._modelService,A.uri)?this._workerManager.withWorker().then(F=>F.computeLinks(A.uri)).then(F=>F&&{links:F}):Promise.resolve({links:[]})})),this._register(T.completionProvider.register("*",new l(this._workerManager,M,this._modelService,x)))}dispose(){super.dispose()}canComputeUnicodeHighlights(I){return o(this._modelService,I)}computedUnicodeHighlights(I,M,P){return this._workerManager.withWorker().then(x=>x.computedUnicodeHighlights(I,M,P))}computeDiff(I,M,P,x){return we(this,void 0,void 0,function*(){const T=yield this._workerManager.withWorker().then(F=>F.computeDiff(I,M,P,x));if(!T)return null;return{identical:T.identical,quitEarly:T.quitEarly,changes:N(T.changes),moves:T.moves.map(F=>new u.MovedText(new u.SimpleLineRangeMapping(new h.LineRange(F[0],F[1]),new h.LineRange(F[2],F[3])),N(F[4])))};function N(F){return F.map(O=>{var W;return new u.LineRangeMapping(new h.LineRange(O[0],O[1]),new h.LineRange(O[2],O[3]),(W=O[4])===null||W===void 0?void 0:W.map(U=>new u.RangeMapping(new S.Range(U[0],U[1],U[2],U[3]),new S.Range(U[4],U[5],U[6],U[7]))))})}})}computeMoreMinimalEdits(I,M,P=!1){if((0,s.isNonEmptyArray)(M)){if(!o(this._modelService,I))return Promise.resolve(M);const x=n.StopWatch.create(),T=this._workerManager.withWorker().then(A=>A.computeMoreMinimalEdits(I,M,P));return T.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",I.toString(!0),x.elapsed())),Promise.race([T,(0,L.timeout)(1e3).then(()=>M)])}else return Promise.resolve(void 0)}canNavigateValueSet(I){return o(this._modelService,I)}navigateValueSet(I,M,P){return this._workerManager.withWorker().then(x=>x.navigateValueSet(I,M,P))}canComputeWordRanges(I){return o(this._modelService,I)}computeWordRanges(I,M){return this._workerManager.withWorker().then(P=>P.computeWordRanges(I,M))}};e.EditorWorkerService=d,e.EditorWorkerService=d=ke([fe(0,g.IModelService),fe(1,C.ITextResourceConfigurationService),fe(2,i.ILogService),fe(3,f.ILanguageConfigurationService),fe(4,a.ILanguageFeaturesService)],d);class l{constructor(I,M,P,x){this.languageConfigurationService=x,this._debugDisplayName="wordbasedCompletions",this._workerManager=I,this._configurationService=M,this._modelService=P}provideCompletionItems(I,M){return we(this,void 0,void 0,function*(){const P=this._configurationService.getValue(I.uri,M,"editor");if(!P.wordBasedSuggestions)return;const x=[];if(P.wordBasedSuggestionsMode==="currentDocument")o(this._modelService,I.uri)&&x.push(I.uri);else for(const U of this._modelService.getModels())o(this._modelService,U.uri)&&(U===I?x.unshift(U.uri):(P.wordBasedSuggestionsMode==="allDocuments"||U.getLanguageId()===I.getLanguageId())&&x.push(U.uri));if(x.length===0)return;const T=this.languageConfigurationService.getLanguageConfiguration(I.getLanguageId()).getWordDefinition(),A=I.getWordAtPosition(M),N=A?new S.Range(M.lineNumber,A.startColumn,M.lineNumber,A.endColumn):S.Range.fromPositions(M),F=N.setEndPosition(M.lineNumber,M.column),W=yield(yield this._workerManager.withWorker()).textualSuggest(x,A?.word,T);if(W)return{duration:W.duration,suggestions:W.words.map(U=>({kind:18,label:U,insertText:U,range:{insert:F,replace:N}}))}})}}class p extends k.Disposable{constructor(I,M){super(),this.languageConfigurationService=M,this._modelService=I,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new L.IntervalTimer).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(c/2)),this._register(this._modelService.onModelRemoved(x=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>c&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new w(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class m extends k.Disposable{constructor(I,M,P){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=I,this._modelService=M,!P){const x=new L.IntervalTimer;x.cancelAndSet(()=>this._checkStopModelSync(),Math.round(r/2)),this._register(x)}}dispose(){for(const I in this._syncedModels)(0,k.dispose)(this._syncedModels[I]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(I,M){for(const P of I){const x=P.toString();this._syncedModels[x]||this._beginModelSync(P,M),this._syncedModels[x]&&(this._syncedModelsLastUsedTime[x]=new Date().getTime())}}_checkStopModelSync(){const I=new Date().getTime(),M=[];for(const P in this._syncedModelsLastUsedTime)I-this._syncedModelsLastUsedTime[P]>r&&M.push(P);for(const P of M)this._stopModelSync(P)}_beginModelSync(I,M){const P=this._modelService.getModel(I);if(!P||!M&&P.isTooLargeForSyncing())return;const x=I.toString();this._proxy.acceptNewModel({url:P.uri.toString(),lines:P.getLinesContent(),EOL:P.getEOL(),versionId:P.getVersionId()});const T=new k.DisposableStore;T.add(P.onDidChangeContent(A=>{this._proxy.acceptModelChanged(x.toString(),A)})),T.add(P.onWillDispose(()=>{this._stopModelSync(x)})),T.add((0,k.toDisposable)(()=>{this._proxy.acceptRemovedModel(x)})),this._syncedModels[x]=T}_stopModelSync(I){const M=this._syncedModels[I];delete this._syncedModels[I],delete this._syncedModelsLastUsedTime[I],(0,k.dispose)(M)}}class v{constructor(I){this._instance=I,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class b{constructor(I){this._workerClient=I}fhr(I,M){return this._workerClient.fhr(I,M)}}e.EditorWorkerHost=b;class w extends k.Disposable{constructor(I,M,P,x){super(),this.languageConfigurationService=x,this._disposed=!1,this._modelService=I,this._keepIdleModels=M,this._workerFactory=new D.DefaultWorkerFactory(P),this._worker=null,this._modelManager=null}fhr(I,M){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new y.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new b(this)))}catch(I){(0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,I=>((0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(I){return this._modelManager||(this._modelManager=this._register(new m(I,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(I,M=!1){return we(this,void 0,void 0,function*(){return this._disposed?Promise.reject((0,t.canceled)()):this._getProxy().then(P=>(this._getOrCreateModelManager(P).ensureSyncedResources(I,M),P))})}computedUnicodeHighlights(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeUnicodeHighlights(I.toString(),M,P))}computeDiff(I,M,P,x){return this._withSyncedResources([I,M],!0).then(T=>T.computeDiff(I.toString(),M.toString(),P,x))}computeMoreMinimalEdits(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeMoreMinimalEdits(I.toString(),M,P))}computeLinks(I){return this._withSyncedResources([I]).then(M=>M.computeLinks(I.toString()))}computeDefaultDocumentColors(I){return this._withSyncedResources([I]).then(M=>M.computeDefaultDocumentColors(I.toString()))}textualSuggest(I,M,P){return we(this,void 0,void 0,function*(){const x=yield this._withSyncedResources(I),T=P.source,A=P.flags;return x.textualSuggest(I.map(N=>N.toString()),M,T,A)})}computeWordRanges(I,M){return this._withSyncedResources([I]).then(P=>{const x=this._modelService.getModel(I);if(!x)return Promise.resolve(null);const T=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition(),A=T.source,N=T.flags;return P.computeWordRanges(I.toString(),M,A,N)})}navigateValueSet(I,M,P){return this._withSyncedResources([I]).then(x=>{const T=this._modelService.getModel(I);if(!T)return null;const A=this.languageConfigurationService.getLanguageConfiguration(T.getLanguageId()).getWordDefinition(),N=A.source,F=A.flags;return x.navigateValueSet(I.toString(),M,P,N,F)})}dispose(){super.dispose(),this._disposed=!0}}e.EditorWorkerClient=w}),define(ne[773],se([1,0,47,242]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWebWorker=void 0;function y(S,f,_){return new D(S,f,_)}e.createWebWorker=y;class D extends k.EditorWorkerClient{constructor(f,_,g){super(f,g.keepIdleModels||!1,g.label,_),this._foreignModuleId=g.moduleId,this._foreignModuleCreateData=g.createData||null,this._foreignModuleHost=g.host||null,this._foreignProxy=null}fhr(f,_){if(!this._foreignModuleHost||typeof this._foreignModuleHost[f]!="function")return Promise.reject(new Error("Missing method "+f+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[f].apply(this._foreignModuleHost,_))}catch(g){return Promise.reject(g)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(f=>{const _=this._foreignModuleHost?(0,L.getAllMethodNames)(this._foreignModuleHost):[];return f.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,_).then(g=>{this._foreignModuleCreateData=null;const C=(n,t)=>f.fmr(n,t),s=(n,t)=>function(){const a=Array.prototype.slice.call(arguments,0);return t(n,a)},i={};for(const n of g)i[n]=s(n,C);return i})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(f){return this._withSyncedResources(f).then(_=>this.getProxy())}}}),define(ne[243],se([1,0,11,110,125,32]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndentMetadata=e.getIndentActionForType=e.getIndentForEnter=e.getGoodIndentForLine=e.getInheritIndentForLine=void 0;function S(i,n,t){const a=i.tokenization.getLanguageIdAtPosition(n,0);if(n>1){let u,h=-1;for(u=n-1;u>=1;u--){if(i.tokenization.getLanguageIdAtPosition(u,0)!==a)return h;const r=i.getLineContent(u);if(t.shouldIgnore(r)||/^\s+$/.test(r)||r===""){h=u;continue}return u}}return-1}function f(i,n,t,a=!0,u){if(i<4)return null;const h=u.getLanguageConfiguration(n.tokenization.getLanguageId()).indentRulesSupport;if(!h)return null;if(t<=1)return{indentation:"",action:null};for(let o=t-1;o>0&&n.getLineContent(o)==="";o--)if(o===1)return{indentation:"",action:null};const r=S(n,t,h);if(r<0)return null;if(r<1)return{indentation:"",action:null};const c=n.getLineContent(r);if(h.shouldIncrease(c)||h.shouldIndentNextLine(c))return{indentation:L.getLeadingWhitespace(c),action:k.IndentAction.Indent,line:r};if(h.shouldDecrease(c))return{indentation:L.getLeadingWhitespace(c),action:null,line:r};{if(r===1)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};const o=r-1,d=h.getIndentMetadata(n.getLineContent(o));if(!(d&3)&&d&4){let l=0;for(let p=o-1;p>0;p--)if(!h.shouldIndentNextLine(n.getLineContent(p))){l=p;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(l+1)),action:null,line:l+1}}if(a)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};for(let l=r;l>0;l--){const p=n.getLineContent(l);if(h.shouldIncrease(p))return{indentation:L.getLeadingWhitespace(p),action:k.IndentAction.Indent,line:l};if(h.shouldIndentNextLine(p)){let m=0;for(let v=l-1;v>0;v--)if(!h.shouldIndentNextLine(n.getLineContent(l))){m=v;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(m+1)),action:null,line:m+1}}else if(h.shouldDecrease(p))return{indentation:L.getLeadingWhitespace(p),action:null,line:l}}return{indentation:L.getLeadingWhitespace(n.getLineContent(1)),action:null,line:1}}}e.getInheritIndentForLine=f;function _(i,n,t,a,u,h){if(i<4)return null;const r=h.getLanguageConfiguration(t);if(!r)return null;const c=h.getLanguageConfiguration(t).indentRulesSupport;if(!c)return null;const o=f(i,n,a,void 0,h),d=n.getLineContent(a);if(o){const l=o.line;if(l!==void 0){let p=!0;for(let m=l;m0&&h.getLanguageId(0)!==r.languageId?(o=!0,d=c.substr(0,t.startColumn-1-r.firstCharOffset)):d=h.getLineContent().substring(0,t.startColumn-1);let l;t.isEmpty()?l=c.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset);const p=u.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!p)return null;const m=d,v=L.getLeadingWhitespace(d),b={tokenization:{getLineTokens:M=>n.tokenization.getLineTokens(M),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(M,P)=>n.getLanguageIdAtPosition(M,P)},getLineContent:M=>M===t.startLineNumber?m:n.getLineContent(M)},w=L.getLeadingWhitespace(h.getLineContent()),E=f(i,b,t.startLineNumber+1,void 0,u);if(!E){const M=o?w:v;return{beforeEnter:M,afterEnter:M}}let I=o?w:E.indentation;return E.action===k.IndentAction.Indent&&(I=a.shiftIndent(I)),p.shouldDecrease(l)&&(I=a.unshiftIndent(I)),{beforeEnter:o?w:v,afterEnter:I}}e.getIndentForEnter=g;function C(i,n,t,a,u,h){if(i<4)return null;const r=(0,D.getScopedLineTokens)(n,t.startLineNumber,t.startColumn);if(r.firstCharOffset)return null;const c=h.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!c)return null;const o=r.getLineContent(),d=o.substr(0,t.startColumn-1-r.firstCharOffset);let l;if(t.isEmpty()?l=o.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset),!c.shouldDecrease(d+l)&&c.shouldDecrease(d+a+l)){const p=f(i,n,t.startLineNumber,!1,h);if(!p)return null;let m=p.indentation;return p.action!==k.IndentAction.Indent&&(m=u.unshiftIndent(m)),m}return null}e.getIndentActionForType=C;function s(i,n,t){const a=t.getLanguageConfiguration(i.getLanguageId()).indentRulesSupport;return!a||n<1||n>i.getLineCount()?null:a.getIndentMetadata(i.getLineContent(n))}e.getIndentMetadata=s}),define(ne[244],se([1,0,110,32]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnterAction=void 0;function y(D,S,f,_){const g=(0,k.getScopedLineTokens)(S,f.startLineNumber,f.startColumn),C=_.getLanguageConfiguration(g.languageId);if(!C)return null;const s=g.getLineContent(),i=s.substr(0,f.startColumn-1-g.firstCharOffset);let n;f.isEmpty()?n=s.substr(f.startColumn-1-g.firstCharOffset):n=(0,k.getScopedLineTokens)(S,f.endLineNumber,f.endColumn).getLineContent().substr(f.endColumn-1-g.firstCharOffset);let t="";if(f.startLineNumber>1&&g.firstCharOffset===0){const o=(0,k.getScopedLineTokens)(S,f.startLineNumber-1);o.languageId===g.languageId&&(t=o.getLineContent())}const a=C.onEnter(D,t,i,n);if(!a)return null;const u=a.indentAction;let h=a.appendText;const r=a.removeText||0;h?u===L.IndentAction.Indent&&(h=" "+h):u===L.IndentAction.Indent||u===L.IndentAction.IndentOutdent?h=" ":h="";let c=(0,k.getIndentationAtPosition)(S,f.startLineNumber,f.startColumn);return r&&(c=c.substring(0,c.length-r)),{indentAction:u,appendText:h,removeText:r,indentation:c}}e.getEnterAction=y}),define(ne[245],se([1,0,11,82,5,24,244,32]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ShiftCommand=void 0;const g=Object.create(null);function C(i,n){if(n<=0)return"";g[i]||(g[i]=["",i]);const t=g[i];for(let a=t.length;a<=n;a++)t[a]=t[a-1]+i;return t[n]}let s=_=class{static unshiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.prevIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.prevRenderTabStop(r,a)/a;return C(c,d)}}static shiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.nextIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.nextRenderTabStop(r,a)/a;return C(c,d)}}constructor(n,t,a){this._languageConfigurationService=a,this._opts=t,this._selection=n,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(n,t,a){this._useLastEditRangeForCursorEndPosition?n.addTrackedEditOperation(t,a):n.addEditOperation(t,a)}getEditOperations(n,t){const a=this._selection.startLineNumber;let u=this._selection.endLineNumber;this._selection.endColumn===1&&a!==u&&(u=u-1);const{tabSize:h,indentSize:r,insertSpaces:c}=this._opts,o=a===u;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(n.getLineContent(a))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,l=0;for(let p=a;p<=u;p++,d=l){l=0;const m=n.getLineContent(p);let v=L.firstNonWhitespaceIndex(m);if(this._opts.isUnshift&&(m.length===0||v===0)||!o&&!this._opts.isUnshift&&m.length===0)continue;if(v===-1&&(v=m.length),p>1&&k.CursorColumns.visibleColumnFromColumn(m,v+1,h)%r!==0&&n.tokenization.isCheapToTokenize(p-1)){const E=(0,S.getEnterAction)(this._opts.autoIndent,n,new y.Range(p-1,n.getLineMaxColumn(p-1),p-1,n.getLineMaxColumn(p-1)),this._languageConfigurationService);if(E){if(l=d,E.appendText)for(let I=0,M=E.appendText.length;I1){let M;for(M=b-1;M>=1;M--){const T=v.getLineContent(M);if(k.lastNonWhitespaceIndex(T)>=0)break}if(M<1)return null;const P=v.getLineMaxColumn(M),x=(0,a.getEnterAction)(m.autoIndent,v,new g.Range(M,P,M,P),m.languageConfigurationService);x&&(E=x.indentation+x.appendText)}return w&&(w===s.IndentAction.Indent&&(E=u.shiftIndent(m,E)),w===s.IndentAction.Outdent&&(E=u.unshiftIndent(m,E)),E=m.normalizeIndentation(E)),E||null}static _replaceJumpToNextIndent(m,v,b,w){let E="";const I=b.getStartPosition();if(m.insertSpaces){const M=m.visibleColumnFromColumn(v,I),P=m.indentSize,x=P-M%P;for(let T=0;Tthis._compositionType(b,T,E,I,M,P));return new f.EditOperationResult(4,x,{shouldPushStackElementBefore:o(m,4),shouldPushStackElementAfter:!1})}static _compositionType(m,v,b,w,E,I){if(!v.isEmpty())return null;const M=v.getPosition(),P=Math.max(1,M.column-w),x=Math.min(m.getLineMaxColumn(M.lineNumber),M.column+E),T=new g.Range(M.lineNumber,P,M.lineNumber,x);return m.getValueInRange(T)===b&&I===0?null:new y.ReplaceCommandWithOffsetCursorState(T,b,0,I)}static _typeCommand(m,v,b){return b?new y.ReplaceCommandWithoutChangingPosition(m,v,!0):new y.ReplaceCommand(m,v,!0)}static _enter(m,v,b,w){if(m.autoIndent===0)return u._typeCommand(w,` -`,b);if(!v.tokenization.isCheapToTokenize(w.getStartPosition().lineNumber)||m.autoIndent===1){const P=v.getLineContent(w.startLineNumber),x=k.getLeadingWhitespace(P).substring(0,w.startColumn-1);return u._typeCommand(w,` -`+m.normalizeIndentation(x),b)}const E=(0,a.getEnterAction)(m.autoIndent,v,w,m.languageConfigurationService);if(E){if(E.indentAction===s.IndentAction.None)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.Indent)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.IndentOutdent){const P=m.normalizeIndentation(E.indentation),x=m.normalizeIndentation(E.indentation+E.appendText),T=` -`+x+` -`+P;return b?new y.ReplaceCommandWithoutChangingPosition(w,T,!0):new y.ReplaceCommandWithOffsetCursorState(w,T,-1,x.length-P.length,!0)}else if(E.indentAction===s.IndentAction.Outdent){const P=u.unshiftIndent(m,E.indentation);return u._typeCommand(w,` -`+m.normalizeIndentation(P+E.appendText),b)}}const I=v.getLineContent(w.startLineNumber),M=k.getLeadingWhitespace(I).substring(0,w.startColumn-1);if(m.autoIndent>=4){const P=(0,t.getIndentForEnter)(m.autoIndent,v,w,{unshiftIndent:x=>u.unshiftIndent(m,x),shiftIndent:x=>u.shiftIndent(m,x),normalizeIndentation:x=>m.normalizeIndentation(x)},m.languageConfigurationService);if(P){let x=m.visibleColumnFromColumn(v,w.getEndPosition());const T=w.endColumn,A=v.getLineContent(w.endLineNumber),N=k.firstNonWhitespaceIndex(A);if(N>=0?w=w.setEndPosition(w.endLineNumber,Math.max(w.endColumn,N+1)):w=w.setEndPosition(w.endLineNumber,v.getLineMaxColumn(w.endLineNumber)),b)return new y.ReplaceCommandWithoutChangingPosition(w,` -`+m.normalizeIndentation(P.afterEnter),!0);{let F=0;return T<=N+1&&(m.insertSpaces||(x=Math.ceil(x/m.indentSize)),F=Math.min(x+1-m.normalizeIndentation(P.afterEnter).length-1,0)),new y.ReplaceCommandWithOffsetCursorState(w,` -`+m.normalizeIndentation(P.afterEnter),0,F,!0)}}}return u._typeCommand(w,` -`+m.normalizeIndentation(M),b)}static _isAutoIndentType(m,v,b){if(m.autoIndent<4)return!1;for(let w=0,E=b.length;wu.shiftIndent(m,M),unshiftIndent:M=>u.unshiftIndent(m,M)},m.languageConfigurationService);if(I===null)return null;if(I!==m.normalizeIndentation(E)){const M=v.getLineFirstNonWhitespaceColumn(b.startLineNumber);return M===0?u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+w,!1):u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+v.getLineContent(b.startLineNumber).substring(M-1,b.startColumn-1)+w,!1)}return null}static _isAutoClosingOvertype(m,v,b,w,E){if(m.autoClosingOvertype==="never"||!m.autoClosingPairs.autoClosingPairsCloseSingleChar.has(E))return!1;for(let I=0,M=b.length;I2?T.charCodeAt(x.column-2):0)===92&&N)return!1;if(m.autoClosingOvertype==="auto"){let O=!1;for(let W=0,U=w.length;Wv.startsWith(P.open)),M=E.some(P=>v.startsWith(P.close));return!I&&M}static _findAutoClosingPairOpen(m,v,b,w){const E=m.autoClosingPairs.autoClosingPairsOpenByEnd.get(w);if(!E)return null;let I=null;for(const M of E)if(I===null||M.open.length>I.open.length){let P=!0;for(const x of b)if(v.getValueInRange(new g.Range(x.lineNumber,x.column-M.open.length+1,x.lineNumber,x.column))+w!==M.open){P=!1;break}P&&(I=M)}return I}static _findContainedAutoClosingPair(m,v){if(v.open.length<=1)return null;const b=v.close.charAt(v.close.length-1),w=m.autoClosingPairs.autoClosingPairsCloseByEnd.get(b)||[];let E=null;for(const I of w)I.open!==v.open&&v.open.includes(I.open)&&v.close.endsWith(I.close)&&(!E||I.open.length>E.open.length)&&(E=I);return E}static _getAutoClosingPairClose(m,v,b,w,E){const I=(0,f.isQuote)(w),M=I?m.autoClosingQuotes:m.autoClosingBrackets,P=I?m.shouldAutoCloseBefore.quote:m.shouldAutoCloseBefore.bracket;if(M==="never")return null;for(const O of b)if(!O.isEmpty())return null;const x=b.map(O=>{const W=O.getPosition();return E?{lineNumber:W.lineNumber,beforeColumn:W.column-w.length,afterColumn:W.column}:{lineNumber:W.lineNumber,beforeColumn:W.column,afterColumn:W.column}}),T=this._findAutoClosingPairOpen(m,v,x.map(O=>new C.Position(O.lineNumber,O.beforeColumn)),w);if(!T)return null;const A=this._findContainedAutoClosingPair(m,T),N=A?A.close:"";let F=!0;for(const O of x){const{lineNumber:W,beforeColumn:U,afterColumn:j}=O,R=v.getLineContent(W),K=R.substring(0,U-1),G=R.substring(j-1);if(G.startsWith(N)||(F=!1),G.length>0){const H=G.charAt(0);if(!u._isBeforeClosingBrace(m,G)&&!P(H))return null}if(T.open.length===1&&(w==="'"||w==='"')&&M!=="always"){const H=(0,_.getMapForWordSeparators)(m.wordSeparators);if(K.length>0){const B=K.charCodeAt(K.length-1);if(H.get(B)===0)return null}}if(!v.tokenization.isCheapToTokenize(W))return null;v.tokenization.forceTokenization(W);const Z=v.tokenization.getLineTokens(W),J=(0,n.createScopedLineTokens)(Z,U-1);if(!T.shouldAutoClose(J,U-J.firstCharOffset))return null;const X=T.findNeutralCharacter();if(X){const H=v.tokenization.getTokenTypeIfInsertingCharacter(W,U,X);if(!T.isOK(H))return null}}return F?T.close.substring(0,T.close.length-N.length):T.close}static _runAutoClosingOpenCharType(m,v,b,w,E,I,M){const P=[];for(let x=0,T=w.length;xnew y.ReplaceCommand(new g.Range(N.positionLineNumber,N.positionColumn,N.positionLineNumber,N.positionColumn+1),"",!1));return new f.EditOperationResult(4,A,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const T=this._getAutoClosingPairClose(v,b,E,P,!0);return T!==null?this._runAutoClosingOpenCharType(m,v,b,E,P,!0,T):null}static typeWithInterceptors(m,v,b,w,E,I,M){if(!m&&M===` -`){const T=[];for(let A=0,N=E.length;A0){const l=this._cursors.getSelections();for(let p=0;pw&&(v=v.slice(0,w),b=!0);const E=u.from(this._model,this);return this._cursors.setStates(v),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(l,p,m,E,b)}setCursorColumnSelectData(l){this._columnSelectData=l}revealPrimary(l,p,m,v,b,w){const E=this._cursors.getViewPositions();let I=null,M=null;E.length>1?M=this._cursors.getViewSelections():I=g.Range.fromPositions(E[0],E[0]),l.emitViewEvent(new i.ViewRevealRangeRequestEvent(p,m,I,M,v,b,w))}saveState(){const l=[],p=this._cursors.getSelections();for(let m=0,v=p.length;m0){const b=D.CursorState.fromModelSelections(m.resultingSelection);this.setStates(l,"modelChange",m.isUndoing?5:m.isRedoing?6:2,b)&&this.revealPrimary(l,"modelChange",!1,0,!0,0)}else{const b=this._cursors.readSelectionFromMarkers();this.setStates(l,"modelChange",2,D.CursorState.fromModelSelections(b))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const l=this._cursors.getPrimaryCursor(),p=l.viewState.selectionStart.getStartPosition(),m=l.viewState.position;return{isReal:!1,fromViewLineNumber:p.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,p),toViewLineNumber:m.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,m)}}getSelections(){return this._cursors.getSelections()}setSelections(l,p,m,v){this.setStates(l,p,v,D.CursorState.fromModelSelections(m))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(l){this._prevEditOperationType=l}_pushAutoClosedAction(l,p){const m=[],v=[];for(let E=0,I=l.length;E0&&this._pushAutoClosedAction(m,v),this._prevEditOperationType=l.type}l.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(l){(!l||l.length===0)&&(l=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(l),this._cursors.normalize()}_emitStateChangedIfNecessary(l,p,m,v,b){const w=u.from(this._model,this);if(w.equals(v))return!1;const E=this._cursors.getSelections(),I=this._cursors.getViewSelections();if(l.emitViewEvent(new i.ViewCursorStateChangedEvent(I,E,m)),!v||v.cursorState.length!==w.cursorState.length||w.cursorState.some((M,P)=>!M.modelState.equals(v.cursorState[P].modelState))){const M=v?v.cursorState.map(x=>x.modelState.selection):null,P=v?v.modelVersionId:0;l.emitOutgoingEvent(new t.CursorStateChangedEvent(M,E,P,w.modelVersionId,p||"keyboard",m,b))}return!0}_findAutoClosingPairs(l){if(!l.length)return null;const p=[];for(let m=0,v=l.length;m=0)return null;const w=b.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!w)return null;const E=w[1],I=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(E);if(!I||I.length!==1)return null;const M=I[0].open,P=b.text.length-w[2].length-1,x=b.text.lastIndexOf(M,P-1);if(x===-1)return null;p.push([x,P])}return p}executeEdits(l,p,m,v){let b=null;p==="snippet"&&(b=this._findAutoClosingPairs(m)),b&&(m[0]._isTracked=!0);const w=[],E=[],I=this._model.pushEditOperations(this.getSelections(),m,M=>{if(b)for(let x=0,T=b.length;x0&&this._pushAutoClosedAction(w,E)}_executeEdit(l,p,m,v=0){if(this.context.cursorConfig.readOnly)return;const b=u.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),l()}catch(w){(0,L.onUnexpectedError)(w)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(p,m,v,b,!1)&&this.revealPrimary(p,m,!1,0,!0,0)}getAutoClosedCharacters(){return h.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(l){this._compositionState=new o(this._model,this.getSelections())}endComposition(l,p){const m=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{p==="keyboard"&&this._executeEditOperation(_.TypeOperations.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,m,this.getSelections(),this.getAutoClosedCharacters()))},l,p)}type(l,p,m){this._executeEdit(()=>{if(m==="keyboard"){const v=p.length;let b=0;for(;b{const M=I.getPosition();return new C.Selection(M.lineNumber,M.column+b,M.lineNumber,M.column+b)});this.setSelections(l,w,E,0)}return}this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),p,m,v,b))},l,w)}paste(l,p,m,v,b){this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.paste(this.context.cursorConfig,this._model,this.getSelections(),p,m,v||[]))},l,b,4)}cut(l,p){this._executeEdit(()=>{this._executeEditOperation(f.DeleteOperations.cut(this.context.cursorConfig,this._model,this.getSelections()))},l,p)}executeCommand(l,p,m){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new D.EditOperationResult(0,[p],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}executeCommands(l,p,m){this._executeEdit(()=>{this._executeEditOperation(new D.EditOperationResult(0,p,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}}e.CursorsController=a;class u{static from(l,p){return new u(l.getVersionId(),p.getCursorStates())}constructor(l,p){this.modelVersionId=l,this.cursorState=p}equals(l){if(!l||this.modelVersionId!==l.modelVersionId||this.cursorState.length!==l.cursorState.length)return!1;for(let p=0,m=this.cursorState.length;p=p.length||!p[m].strictContainsRange(l[m]))return!1;return!0}}class r{static executeCommands(l,p,m){const v={model:l,selectionsBefore:p,trackedRanges:[],trackedRangesDirection:[]},b=this._innerExecuteCommands(v,m);for(let w=0,E=v.trackedRanges.length;w0&&(w[0]._isTracked=!0);let E=l.model.pushEditOperations(l.selectionsBefore,w,M=>{const P=[];for(let A=0;AA.identifier.minor-N.identifier.minor,T=[];for(let A=0;A0?(P[A].sort(x),T[A]=p[A].computeCursorState(l.model,{getInverseEditOperations:()=>P[A],getTrackedSelection:N=>{const F=parseInt(N,10),O=l.model._getTrackedRange(l.trackedRanges[F]);return l.trackedRangesDirection[F]===0?new C.Selection(O.startLineNumber,O.startColumn,O.endLineNumber,O.endColumn):new C.Selection(O.endLineNumber,O.endColumn,O.startLineNumber,O.startColumn)}})):T[A]=l.selectionsBefore[A];return T});E||(E=l.selectionsBefore);const I=[];for(const M in b)b.hasOwnProperty(M)&&I.push(parseInt(M,10));I.sort((M,P)=>P-M);for(const M of I)E.splice(M,1);return E}static _arrayIsEmpty(l){for(let p=0,m=l.length;p{g.Range.isEmpty(x)&&T===""||v.push({identifier:{major:p,minor:b++},range:x,text:T,forceMoveMarkers:A,isAutoWhitespaceEdit:m.insertsAutoWhitespace})};let E=!1;const P={addEditOperation:w,addTrackedEditOperation:(x,T,A)=>{E=!0,w(x,T,A)},trackSelection:(x,T)=>{const A=C.Selection.liftSelection(x);let N;if(A.isEmpty())if(typeof T=="boolean")T?N=2:N=3;else{const W=l.model.getLineMaxColumn(A.startLineNumber);A.startColumn===W?N=2:N=3}else N=1;const F=l.trackedRanges.length,O=l.model._setTrackedRange(null,A,N);return l.trackedRanges[F]=O,l.trackedRangesDirection[F]=A.getDirection(),F.toString()}};try{m.getEditOperations(l.model,P)}catch(x){return(0,L.onUnexpectedError)(x),{operations:[],hadTrackedEditOperation:!1}}return{operations:v,hadTrackedEditOperation:E}}static _getLoserCursorMap(l){l=l.slice(0),l.sort((m,v)=>-g.Range.compareRangesUsingEnds(m.range,v.range));const p={};for(let m=1;mb.identifier.major?w=v.identifier.major:w=b.identifier.major,p[w.toString()]=!0;for(let E=0;E0&&m--}}return p}}class c{constructor(l,p,m){this.text=l,this.startSelection=p,this.endSelection=m}}class o{static _capture(l,p){const m=[];for(const v of p){if(v.startLineNumber!==v.endLineNumber)return null;m.push(new c(l.getLineContent(v.startLineNumber),v.startColumn-1,v.endColumn-1))}return m}constructor(l,p){this._original=o._capture(l,p)}deduceOutcome(l,p){if(!this._original)return null;const m=o._capture(l,p);if(!m||this._original.length!==m.length)return null;const v=[];for(let b=0,w=this._original.length;b{m.mime===p.mime||m.userConfigured||(p.extension&&m.extension===p.extension&&console.warn(`Overwriting extension <<${p.extension}>> to now point to mime <<${p.mime}>>`),p.filename&&m.filename===p.filename&&console.warn(`Overwriting filename <<${p.filename}>> to now point to mime <<${p.mime}>>`),p.filepattern&&m.filepattern===p.filepattern&&console.warn(`Overwriting filepattern <<${p.filepattern}>> to now point to mime <<${p.mime}>>`),p.firstline&&m.firstline===p.firstline&&console.warn(`Overwriting firstline <<${p.firstline}>> to now point to mime <<${p.mime}>>`))})}function t(o,d){return{id:o.id,mime:o.mime,filename:o.filename,extension:o.extension,filepattern:o.filepattern,firstline:o.firstline,userConfigured:d,filenameLowercase:o.filename?o.filename.toLowerCase():void 0,extensionLowercase:o.extension?o.extension.toLowerCase():void 0,filepatternLowercase:o.filepattern?(0,L.parse)(o.filepattern.toLowerCase()):void 0,filepatternOnPath:o.filepattern?o.filepattern.indexOf(D.posix.sep)>=0:!1}}function a(){g=g.filter(o=>o.userConfigured),C=[]}e.clearPlatformLanguageAssociations=a;function u(o,d){return h(o,d).map(l=>l.id)}e.getLanguageIds=u;function h(o,d){let l;if(o)switch(o.scheme){case y.Schemas.file:l=o.fsPath;break;case y.Schemas.data:{l=S.DataUri.parseMetaData(o).get(S.DataUri.META_DATA_LABEL);break}case y.Schemas.vscodeNotebookCell:l=void 0;break;default:l=o.path}if(!l)return[{id:"unknown",mime:k.Mimes.unknown}];l=l.toLowerCase();const p=(0,D.basename)(l),m=r(l,p,s);if(m)return[m,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];const v=r(l,p,C);if(v)return[v,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];if(d){const b=c(d);if(b)return[b,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}]}return[{id:"unknown",mime:k.Mimes.unknown}]}function r(o,d,l){var p;let m,v,b;for(let w=l.length-1;w>=0;w--){const E=l[w];if(d===E.filenameLowercase){m=E;break}if(E.filepattern&&(!v||E.filepattern.length>v.filepattern.length)){const I=E.filepatternOnPath?o:d;!((p=E.filepatternLowercase)===null||p===void 0)&&p.call(E,I)&&(v=E)}E.extension&&(!b||E.extension.length>b.extension.length)&&d.endsWith(E.extensionLowercase)&&(b=E)}if(m)return m;if(v)return v;if(b)return b}function c(o){if((0,f.startsWithUTF8BOM)(o)&&(o=o.substr(1)),o.length>0)for(let d=g.length-1;d>=0;d--){const l=g[d];if(!l.firstline)continue;const p=o.match(l.firstline);if(p&&p.length>0)return l}}}),define(ne[777],se([1,0,6,2,11,776,78,98,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguagesRegistry=e.LanguageIdCodec=void 0;const g=Object.prototype.hasOwnProperty,C="vs.editor.nullLanguage";class s{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(C,0),this._register(S.PLAINTEXT_LANGUAGE_ID,1),this._nextLanguageId=2}_register(t,a){this._languageIdToLanguage[a]=t,this._languageToLanguageId.set(t,a)}register(t){if(this._languageToLanguageId.has(t))return;const a=this._nextLanguageId++;this._register(t,a)}encodeLanguageId(t){return this._languageToLanguageId.get(t)||0}decodeLanguageId(t){return this._languageIdToLanguage[t]||C}}e.LanguageIdCodec=s;class i extends k.Disposable{constructor(t=!0,a=!1){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,i.instanceCount++,this._warnOnOverwrite=a,this.languageIdCodec=new s,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},t&&(this._initializeFromRegistry(),this._register(S.ModesRegistry.onDidChangeLanguages(u=>{this._initializeFromRegistry()})))}dispose(){i.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},(0,D.clearPlatformLanguageAssociations)();const t=[].concat(S.ModesRegistry.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(t)}_registerLanguages(t){for(const a of t)this._registerLanguage(a);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(a=>{const u=this._languages[a];u.name&&(this._nameMap[u.name]=u.identifier),u.aliases.forEach(h=>{this._lowercaseNameMap[h.toLowerCase()]=u.identifier}),u.mimetypes.forEach(h=>{this._mimeTypesMap[h]=u.identifier})}),_.Registry.as(f.Extensions.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(t){const a=t.id;let u;g.call(this._languages,a)?u=this._languages[a]:(this.languageIdCodec.register(a),u={identifier:a,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[a]=u),this._mergeLanguage(u,t)}_mergeLanguage(t,a){const u=a.id;let h=null;if(Array.isArray(a.mimetypes)&&a.mimetypes.length>0&&(t.mimetypes.push(...a.mimetypes),h=a.mimetypes[0]),h||(h=`text/x-${u}`,t.mimetypes.push(h)),Array.isArray(a.extensions)){a.configuration?t.extensions=a.extensions.concat(t.extensions):t.extensions=t.extensions.concat(a.extensions);for(const o of a.extensions)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,extension:o},this._warnOnOverwrite)}if(Array.isArray(a.filenames))for(const o of a.filenames)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filename:o},this._warnOnOverwrite),t.filenames.push(o);if(Array.isArray(a.filenamePatterns))for(const o of a.filenamePatterns)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filepattern:o},this._warnOnOverwrite);if(typeof a.firstLine=="string"&&a.firstLine.length>0){let o=a.firstLine;o.charAt(0)!=="^"&&(o="^"+o);try{const d=new RegExp(o);(0,y.regExpLeadsToEndlessLoop)(d)||(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,firstline:d},this._warnOnOverwrite)}catch(d){console.warn(`[${a.id}]: Invalid regular expression \`${o}\`: `,d)}}t.aliases.push(u);let r=null;if(typeof a.aliases<"u"&&Array.isArray(a.aliases)&&(a.aliases.length===0?r=[null]:r=a.aliases),r!==null)for(const o of r)!o||o.length===0||t.aliases.push(o);const c=r!==null&&r.length>0;if(!(c&&r[0]===null)){const o=(c?r[0]:null)||u;(c||!t.name)&&(t.name=o)}a.configuration&&t.configurationFiles.push(a.configuration),a.icon&&t.icons.push(a.icon)}isRegisteredLanguageId(t){return t?g.call(this._languages,t):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(t){const a=t.toLowerCase();return g.call(this._lowercaseNameMap,a)?this._lowercaseNameMap[a]:null}getLanguageIdByMimeType(t){return t&&g.call(this._mimeTypesMap,t)?this._mimeTypesMap[t]:null}guessLanguageIdByFilepathOrFirstLine(t,a){return!t&&!a?[]:(0,D.getLanguageIds)(t,a)}}e.LanguagesRegistry=i,i.instanceCount=0}),define(ne[778],se([1,0,6,2,777,14,29,78]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageService=void 0;class _ extends k.Disposable{constructor(s=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new L.Emitter),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new L.Emitter),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new L.Emitter({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,_.instanceCount++,this._registry=this._register(new y.LanguagesRegistry(!0,s)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){_.instanceCount--,super.dispose()}isRegisteredLanguageId(s){return this._registry.isRegisteredLanguageId(s)}getLanguageIdByLanguageName(s){return this._registry.getLanguageIdByLanguageName(s)}getLanguageIdByMimeType(s){return this._registry.getLanguageIdByMimeType(s)}guessLanguageIdByFilepathOrFirstLine(s,i){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(s,i);return(0,D.firstOrDefault)(n,null)}createById(s){return new g(this.onDidChange,()=>this._createAndGetLanguageIdentifier(s))}createByFilepathOrFirstLine(s,i){return new g(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(s,i);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(s){return(!s||!this.isRegisteredLanguageId(s))&&(s=f.PLAINTEXT_LANGUAGE_ID),s}requestBasicLanguageFeatures(s){this._requestedBasicLanguages.has(s)||(this._requestedBasicLanguages.add(s),this._onDidRequestBasicLanguageFeatures.fire(s))}requestRichLanguageFeatures(s){this._requestedRichLanguages.has(s)||(this._requestedRichLanguages.add(s),this.requestBasicLanguageFeatures(s),S.TokenizationRegistry.getOrCreate(s),this._onDidRequestRichLanguageFeatures.fire(s))}}e.LanguageService=_,_.instanceCount=0;class g{constructor(s,i){this._onDidChangeLanguages=s,this._selector=i,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new L.Emitter({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var s;const i=this._selector();i!==this.languageId&&(this.languageId=i,(s=this._emitter)===null||s===void 0||s.fire(this.languageId))}}}),define(ne[342],se([1,0,38,242,51,32,2,18,149]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultDocumentColorProvider=void 0;class g{constructor(i,n){this._editorWorkerClient=new k.EditorWorkerClient(i,!1,"editorWorkerService",n)}provideDocumentColors(i,n){return we(this,void 0,void 0,function*(){return this._editorWorkerClient.computeDefaultDocumentColors(i.uri)})}provideColorPresentations(i,n,t){const a=n.range,u=n.color,h=u.alpha,r=new L.Color(new L.RGBA(Math.round(255*u.red),Math.round(255*u.green),Math.round(255*u.blue),h)),c=h?L.Color.Format.CSS.formatRGB(r):L.Color.Format.CSS.formatRGBA(r),o=h?L.Color.Format.CSS.formatHSL(r):L.Color.Format.CSS.formatHSLA(r),d=h?L.Color.Format.CSS.formatHex(r):L.Color.Format.CSS.formatHexA(r),l=[];return l.push({label:c,textEdit:{range:a,text:c}}),l.push({label:o,textEdit:{range:a,text:o}}),l.push({label:d,textEdit:{range:a,text:d}}),l}}e.DefaultDocumentColorProvider=g;let C=class extends S.Disposable{constructor(i,n,t){super(),this._register(t.colorProvider.register("*",new g(i,n)))}};C=ke([fe(0,y.IModelService),fe(1,D.ILanguageConfigurationService),fe(2,f.ILanguageFeaturesService)],C),(0,_.registerEditorFeature)(C)}),define(ne[343],se([1,0,19,9,22,5,51,27,18,342,28]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColorPresentations=e.getColors=void 0;function s(r,c,o,d=!0){return we(this,void 0,void 0,function*(){return u(new n,r,c,o,d)})}e.getColors=s;function i(r,c,o,d){return Promise.resolve(o.provideColorPresentations(r,c,d))}e.getColorPresentations=i;class n{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({colorInfo:m,provider:c});return Array.isArray(p)})}}class t{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({range:m.range,color:[m.color.red,m.color.green,m.color.blue,m.color.alpha]});return Array.isArray(p)})}}class a{constructor(c){this.colorInfo=c}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideColorPresentations(o,this.colorInfo,L.CancellationToken.None);return Array.isArray(p)&&l.push(...p),Array.isArray(p)})}}function u(r,c,o,d,l){return we(this,void 0,void 0,function*(){let p=!1,m;const v=[],b=c.ordered(o);for(let w=b.length-1;w>=0;w--){const E=b[w];if(E instanceof g.DefaultDocumentColorProvider)m=E;else try{(yield r.compute(E,o,d,v))&&(p=!0)}catch(I){(0,k.onUnexpectedExternalError)(I)}}return p?v:m&&l?(yield r.compute(m,o,d,v),v):[]})}function h(r,c){const{colorProvider:o}=r.get(_.ILanguageFeaturesService),d=r.get(S.IModelService).getModel(c);if(!d)throw(0,k.illegalArgument)();const l=r.get(C.IConfigurationService).getValue("editor.defaultColorDecorators",{resource:c});return{model:d,colorProviderRegistry:o,isDefaultColorDecoratorsEnabled:l}}f.CommandsRegistry.registerCommand("_executeDocumentColorProvider",function(r,...c){const[o]=c;if(!(o instanceof y.URI))throw(0,k.illegalArgument)();const{model:d,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:p}=h(r,o);return u(new t,l,d,L.CancellationToken.None,p)}),f.CommandsRegistry.registerCommand("_executeColorPresentationProvider",function(r,...c){const[o,d]=c,{uri:l,range:p}=d;if(!(l instanceof y.URI)||!Array.isArray(o)||o.length!==4||!D.Range.isIRange(p))throw(0,k.illegalArgument)();const{model:m,colorProviderRegistry:v,isDefaultColorDecoratorsEnabled:b}=h(r,l),[w,E,I,M]=o;return u(new a({range:p,color:{red:w,green:E,blue:I,alpha:M}}),v,m,L.CancellationToken.None,b)})}),define(ne[779],se([1,0,19,72,2,42,12,29,32,18,600,296]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionWithUpdatedRange=e.UpToDateInlineCompletions=e.InlineCompletionsSource=void 0;let i=class extends y.Disposable{constructor(d,l,p,m,v){super(),this.textModel=d,this.versionId=l,this._debounceValue=p,this.languageFeaturesService=m,this.languageConfigurationService=v,this._updateOperation=this._register(new y.MutableDisposable),this.inlineCompletions=(0,D.disposableObservableValue)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,D.disposableObservableValue)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(d,l,p){var m,v;const b=new t(d,l,this.textModel.getVersionId()),w=l.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(!((m=this._updateOperation.value)===null||m===void 0)&&m.request.satisfies(b))return this._updateOperation.value.promise;if(!((v=w.get())===null||v===void 0)&&v.request.satisfies(b))return Promise.resolve(!0);const E=!!this._updateOperation.value;this._updateOperation.clear();const I=new L.CancellationTokenSource,M=(()=>we(this,void 0,void 0,function*(){if((E||l.triggerKind===f.InlineCompletionTriggerKind.Automatic)&&(yield n(this._debounceValue.get(this.textModel))),I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const T=new Date,A=yield(0,C.provideInlineCompletions)(this.languageFeaturesService.inlineCompletionsProvider,d,this.textModel,l,I.token,this.languageConfigurationService);if(I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const N=new Date;this._debounceValue.update(this.textModel,N.getTime()-T.getTime());const F=new h(A,b,this.textModel,this.versionId);if(p){const O=p.toInlineCompletion(void 0);p.canBeReused(this.textModel,d)&&!A.has(O)&&F.prepend(p.inlineCompletion,O.range,!0)}return this._updateOperation.clear(),(0,D.transaction)(O=>{w.set(F,O)}),!0}))(),P=new u(b,I,M);return this._updateOperation.value=P,M}clear(d){this._updateOperation.clear(),this.inlineCompletions.set(void 0,d),this.suggestWidgetInlineCompletions.set(void 0,d)}clearSuggestWidgetInlineCompletions(d){var l;!((l=this._updateOperation.value)===null||l===void 0)&&l.request.context.selectedSuggestionInfo&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,d)}cancelUpdate(){this._updateOperation.clear()}};e.InlineCompletionsSource=i,e.InlineCompletionsSource=i=ke([fe(3,g.ILanguageFeaturesService),fe(4,_.ILanguageConfigurationService)],i);function n(o,d){return new Promise(l=>{let p;const m=setTimeout(()=>{p&&p.dispose(),l()},o);d&&(p=d.onCancellationRequested(()=>{clearTimeout(m),p&&p.dispose(),l()}))})}class t{constructor(d,l,p){this.position=d,this.context=l,this.versionId=p}satisfies(d){return this.position.equals(d.position)&&a(this.context.selectedSuggestionInfo,d.context.selectedSuggestionInfo,(l,p)=>l.equals(p))&&(d.context.triggerKind===f.InlineCompletionTriggerKind.Automatic||this.context.triggerKind===f.InlineCompletionTriggerKind.Explicit)&&this.versionId===d.versionId}}function a(o,d,l){return!o||!d?o===d:l(o,d)}class u{constructor(d,l,p){this.request=d,this.cancellationTokenSource=l,this.promise=p}dispose(){this.cancellationTokenSource.cancel()}}class h{get inlineCompletions(){return this._inlineCompletions}constructor(d,l,p,m){this.inlineCompletionProviderResult=d,this.request=l,this.textModel=p,this.versionId=m,this._refCount=1,this._prependedInlineCompletionItems=[],this._rangeVersionIdValue=0,this._rangeVersionId=(0,D.derived)(b=>{this.versionId.read(b);let w=!1;for(const E of this._inlineCompletions)w=w||E._updateRange(this.textModel);return w&&this._rangeVersionIdValue++,this._rangeVersionIdValue});const v=p.deltaDecorations([],d.completions.map(b=>({range:b.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=d.completions.map((b,w)=>new r(b,v[w],this._rangeVersionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,this._refCount===0){setTimeout(()=>{this.textModel.isDisposed()||this.textModel.deltaDecorations(this._inlineCompletions.map(d=>d.decorationId),[])},0),this.inlineCompletionProviderResult.dispose();for(const d of this._prependedInlineCompletionItems)d.source.removeRef()}}prepend(d,l,p){p&&d.source.addRef();const m=this.textModel.deltaDecorations([],[{range:l,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new r(d,m,this._rangeVersionId,l)),this._prependedInlineCompletionItems.push(d)}}e.UpToDateInlineCompletions=h;class r{get forwardStable(){var d;return(d=this.inlineCompletion.source.inlineCompletions.enableForwardStability)!==null&&d!==void 0?d:!1}constructor(d,l,p,m){this.inlineCompletion=d,this.decorationId=l,this.rangeVersion=p,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._isValid=!0,this._updatedRange=m??d.range}toInlineCompletion(d){return this.inlineCompletion.withRange(this._getUpdatedRange(d))}toSingleTextEdit(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.insertText)}isVisible(d,l,p){const m=this._toFilterTextReplacement(p).removeCommonPrefix(d);if(!this._isValid||!this.inlineCompletion.range.getStartPosition().equals(this._getUpdatedRange(p).getStartPosition())||l.lineNumber!==m.range.startLineNumber)return!1;const v=d.getValueInRange(m.range,1).toLowerCase(),b=m.text.toLowerCase(),w=Math.max(0,l.column-m.range.startColumn);let E=b.substring(0,w),I=b.substring(w),M=v.substring(0,w),P=v.substring(w);const x=d.getLineIndentColumn(m.range.startLineNumber);return m.range.startColumn<=x&&(M=M.trimStart(),M.length===0&&(P=P.trimStart()),E=E.trimStart(),E.length===0&&(I=I.trimStart())),E.startsWith(M)&&!!(0,k.matchesSubString)(P,I)}canBeReused(d,l){return this._isValid&&this._getUpdatedRange(void 0).containsPosition(l)&&this.isVisible(d,l,void 0)&&!this._isSmallerThanOriginal(void 0)}_toFilterTextReplacement(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.filterText)}_isSmallerThanOriginal(d){return c(this._getUpdatedRange(d)).isBefore(c(this.inlineCompletion.range))}_getUpdatedRange(d){return this.rangeVersion.read(d),this._updatedRange}_updateRange(d){const l=d.getDecorationRange(this.decorationId);return l?this._updatedRange.equalsRange(l)?!1:(this._updatedRange=l,!0):(this._isValid=!1,!0)}}e.InlineCompletionWithUpdatedRange=r;function c(o){return o.startLineNumber===o.endLineNumber?new S.Position(1,1+o.endColumn-o.startColumn):new S.Position(1+o.endLineNumber-o.startLineNumber,o.endColumn)}}),define(ne[780],se([1,0,11,245,5,24,110,32,295,243,244]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveLinesCommand=void 0;let s=class{constructor(n,t,a,u){this._languageConfigurationService=u,this._selection=n,this._isMovingDown=t,this._autoIndent=a,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(n,t){const a=n.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===a){this._selectionId=t.trackSelection(this._selection);return}if(!this._isMovingDown&&this._selection.startLineNumber===1){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let u=this._selection;u.startLineNumbern.tokenization.getLineTokens(l),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(l,p)=>n.getLanguageIdAtPosition(l,p)},getLineContent:null};if(u.startLineNumber===u.endLineNumber&&n.getLineMaxColumn(u.startLineNumber)===1){const l=u.startLineNumber,p=this._isMovingDown?l+1:l-1;n.getLineMaxColumn(p)===1?t.addEditOperation(new y.Range(1,1,1,1),null):(t.addEditOperation(new y.Range(l,1,l,1),n.getLineContent(p)),t.addEditOperation(new y.Range(p,1,p,n.getLineMaxColumn(p)),null)),u=new D.Selection(p,1,p,1)}else{let l,p;if(this._isMovingDown){l=u.endLineNumber+1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l-1,n.getLineMaxColumn(l-1),l,n.getLineMaxColumn(l)),null);let m=p;if(this.shouldAutoIndent(n,u)){const v=this.matchEnterRule(n,o,h,l,u.startLineNumber-1);if(v!==null){const w=L.getLeadingWhitespace(n.getLineContent(l)),E=v+_.getSpaceCnt(w,h);m=_.generateIndent(E,h,c)+this.trimStart(p)}else{d.getLineContent=E=>E===u.startLineNumber?n.getLineContent(l):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(l)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);I!==M&&(m=_.generateIndent(I,h,c)+this.trimStart(p))}}t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`);const b=this.matchEnterRuleMovingDown(n,o,h,u.startLineNumber,l,m);if(b!==null)b!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,b);else{d.getLineContent=E=>E===u.startLineNumber?m:E>=u.startLineNumber+1&&E<=u.endLineNumber+1?n.getLineContent(E-1):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber+1,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);if(I!==M){const P=I-M;this.getIndentEditsOfMovingBlock(n,t,u,h,c,P)}}}}else t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`)}else if(l=u.startLineNumber-1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l,1,l+1,1),null),t.addEditOperation(new y.Range(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber),u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),` -`+p),this.shouldAutoIndent(n,u)){d.getLineContent=v=>v===l?n.getLineContent(u.startLineNumber):n.getLineContent(v);const m=this.matchEnterRule(n,o,h,u.startLineNumber,u.startLineNumber-2);if(m!==null)m!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,m);else{const v=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(u.startLineNumber,1),l,o,this._languageConfigurationService);if(v!==null){const b=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),w=_.getSpaceCnt(v,h),E=_.getSpaceCnt(b,h);if(w!==E){const I=w-E;this.getIndentEditsOfMovingBlock(n,t,u,h,c,I)}}}}}this._selectionId=t.trackSelection(u)}buildIndentConverter(n,t,a){return{shiftIndent:u=>k.ShiftCommand.shiftIndent(u,u.length+1,n,t,a),unshiftIndent:u=>k.ShiftCommand.unshiftIndent(u,u.length+1,n,t,a)}}parseEnterResult(n,t,a,u,h){if(h){let r=h.indentation;h.indentAction===S.IndentAction.None||h.indentAction===S.IndentAction.Indent?r=h.indentation+h.appendText:h.indentAction===S.IndentAction.IndentOutdent?r=h.indentation:h.indentAction===S.IndentAction.Outdent&&(r=t.unshiftIndent(h.indentation)+h.appendText);const c=n.getLineContent(u);if(this.trimStart(c).indexOf(this.trimStart(r))>=0){const o=L.getLeadingWhitespace(n.getLineContent(u));let d=L.getLeadingWhitespace(r);const l=(0,g.getIndentMetadata)(n,u,this._languageConfigurationService);l!==null&&l&2&&(d=t.unshiftIndent(d));const p=_.getSpaceCnt(d,a),m=_.getSpaceCnt(o,a);return p-m}}return null}matchEnterRuleMovingDown(n,t,a,u,h,r){if(L.lastNonWhitespaceIndex(r)>=0){const c=n.getLineMaxColumn(h),o=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(h,c,h,c),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,o)}else{let c=u-1;for(;c>=1;){const l=n.getLineContent(c);if(L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}}matchEnterRule(n,t,a,u,h,r){let c=h;for(;c>=1;){let l;if(c===h&&r!==void 0?l=r:l=n.getLineContent(c),L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}trimStart(n){return n.replace(/^\s+/,"")}shouldAutoIndent(n,t){if(this._autoIndent<4||!n.tokenization.isCheapToTokenize(t.startLineNumber))return!1;const a=n.getLanguageIdAtPosition(t.startLineNumber,1),u=n.getLanguageIdAtPosition(t.endLineNumber,1);return!(a!==u||this._languageConfigurationService.getLanguageConfiguration(a).indentRulesSupport===null)}getIndentEditsOfMovingBlock(n,t,a,u,h,r){for(let c=a.startLineNumber;c<=a.endLineNumber;c++){const o=n.getLineContent(c),d=L.getLeadingWhitespace(o),p=_.getSpaceCnt(d,u)+r,m=_.generateIndent(p,u,h);m!==d&&(t.addEditOperation(new y.Range(c,1,c,d.length+1),m),c===a.endLineNumber&&a.endColumn<=d.length+1&&m===""&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(n,t){let a=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(a=a.setEndPosition(a.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&a.startLineNumber{}};const o=new S.DisposableStore,d=o.add((0,L.renderMarkdown)(h,Object.assign(Object.assign({},this._getRenderOptions(h,o)),r),c));return d.element.classList.add("rendered-markdown"),{element:d.element,dispose:()=>o.dispose()}}_getRenderOptions(h,r){return{codeBlockRenderer:(c,o)=>we(this,void 0,void 0,function*(){var d,l,p;let m;c?m=this._languageService.getLanguageIdByLanguageName(c):this._options.editor&&(m=(d=this._options.editor.getModel())===null||d===void 0?void 0:d.getLanguageId()),m||(m=g.PLAINTEXT_LANGUAGE_ID);const v=yield(0,C.tokenizeToString)(this._languageService,o,m),b=document.createElement("span");if(b.innerHTML=(p=(l=i._ttpTokenizer)===null||l===void 0?void 0:l.createHTML(v))!==null&&p!==void 0?p:v,this._options.editor){const w=this._options.editor.getOption(49);(0,f.applyFontInfo)(b,w)}else this._options.codeBlockFontFamily&&(b.style.fontFamily=this._options.codeBlockFontFamily);return this._options.codeBlockFontSize!==void 0&&(b.style.fontSize=this._options.codeBlockFontSize),b}),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:c=>t(this._openerService,c,h.isTrusted),disposables:r}}}};e.MarkdownRenderer=n,n._ttpTokenizer=(0,k.createTrustedTypesPolicy)("tokenizeToString",{createHTML(u){return u}}),e.MarkdownRenderer=n=i=ke([fe(1,_.ILanguageService),fe(2,s.IOpenerService)],n);function t(u,h,r){return we(this,void 0,void 0,function*(){try{return yield u.open(h,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:a(r)})}catch(c){return(0,y.onUnexpectedError)(c),!1}})}e.openLinkFromMarkdown=t;function a(u){return u===!0?!0:u&&Array.isArray(u.enabledCommands)?u.enabledCommands:!1}}),define(ne[781],se([1,0,7,14,55,2,117,321,310]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginHoverWidget=void 0;const g=L.$;class C extends D.Disposable{constructor(n,t,a){super(),this._renderDisposeables=this._register(new D.DisposableStore),this._editor=n,this._isVisible=!1,this._messages=[],this._hover=this._register(new _.HoverWidget),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new S.MarkdownRenderer({editor:this._editor},t,a)),this._computer=new s(this._editor),this._hoverOperation=this._register(new f.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(u=>{this._withResult(u.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return C.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(n){this._computer.lineNumber!==n&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=n,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(n){this._messages=n,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(n,t){this._renderDisposeables.clear();const a=document.createDocumentFragment();for(const u of t){const h=g("div.hover-row.markdown-hover"),r=L.append(h,g("div.hover-contents")),c=this._renderDisposeables.add(this._markdownRenderer.render(u.value));r.appendChild(c.element),a.appendChild(h)}this._updateContents(a),this._showAt(n)}_updateContents(n){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(n),this._updateFont()}_showAt(n){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),a=this._editor.getTopForLineNumber(n),u=this._editor.getScrollTop(),h=this._editor.getOption(65),r=this._hover.containerDomNode.clientHeight,c=a-u-(r-h)/2;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(c),0)}px`}}e.MarginHoverWidget=C,C.ID="editor.contrib.modesGlyphHoverWidget";class s{get lineNumber(){return this._lineNumber}set lineNumber(n){this._lineNumber=n}constructor(n){this._editor=n,this._lineNumber=-1}computeSync(){const n=u=>({value:u}),t=this._editor.getLineDecorations(this._lineNumber),a=[];if(!t)return a;for(const u of t){if(!u.options.glyphMarginClassName)continue;const h=u.options.glyphMarginHoverMessage;!h||(0,y.isEmptyMarkdownString)(h)||a.push(...(0,k.asArray)(h).map(n))}return a}}}),define(ne[344],se([1,0,7,75,25,26,6,55,2,117,223,703,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestDetailsOverlay=e.SuggestDetailsWidget=e.canExpandCompletionItem=void 0;function n(u){return!!u&&!!(u.completion.documentation||u.completion.detail&&u.completion.detail!==u.completion.label)}e.canExpandCompletionItem=n;let t=class{constructor(h,r){this._editor=h,this._onDidClose=new S.Emitter,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new S.Emitter,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new _.DisposableStore,this._renderDisposeable=new _.DisposableStore,this._borderWidth=1,this._size=new L.Dimension(330,0),this.domNode=L.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=r.createInstance(g.MarkdownRenderer,{editor:h}),this._body=L.$(".body"),this._scrollbar=new k.DomScrollableElement(this._body,{alwaysConsumeMouseWheel:!0}),L.append(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=L.append(this._body,L.$(".header")),this._close=L.append(this._header,L.$("span"+D.ThemeIcon.asCSSSelector(y.Codicon.close))),this._close.title=s.localize(0,null),this._type=L.append(this._header,L.$("p.type")),this._docs=L.append(this._body,L.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(49)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const h=this._editor.getOptions(),r=h.get(49),c=r.getMassagedFontFamily(),o=h.get(117)||r.fontSize,d=h.get(118)||r.lineHeight,l=r.fontWeight,p=`${o}px`,m=`${d}px`;this.domNode.style.fontSize=p,this.domNode.style.lineHeight=`${d/o}`,this.domNode.style.fontWeight=l,this.domNode.style.fontFeatureSettings=r.fontFeatureSettings,this._type.style.fontFamily=c,this._close.style.height=m,this._close.style.width=m}getLayoutInfo(){const h=this._editor.getOption(118)||this._editor.getOption(49).lineHeight,r=this._borderWidth,c=r*2;return{lineHeight:h,borderWidth:r,borderHeight:c,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=s.localize(1,null),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,this.getLayoutInfo().lineHeight*2),this._onDidChangeContents.fire(this)}renderItem(h,r){var c,o;this._renderDisposeable.clear();let{detail:d,documentation:l}=h.completion;if(r){let p="";p+=`score: ${h.score[0]} -`,p+=`prefix: ${(c=h.word)!==null&&c!==void 0?c:"(no prefix)"} -`,p+=`word: ${h.completion.filterText?h.completion.filterText+" (filterText)":h.textLabel} -`,p+=`distance: ${h.distance} (localityBonus-setting) -`,p+=`index: ${h.idx}, based on ${h.completion.sortText&&`sortText: "${h.completion.sortText}"`||"label"} -`,p+=`commit_chars: ${(o=h.completion.commitCharacters)===null||o===void 0?void 0:o.join("")} -`,l=new f.MarkdownString().appendCodeblock("empty",p),d=`Provider: ${h.provider._debugDisplayName}`}if(!r&&!n(h)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),d){const p=d.length>1e5?`${d.substr(0,1e5)}\u2026`:d;this._type.textContent=p,this._type.title=p,L.show(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(p))}else L.clearNode(this._type),this._type.title="",L.hide(this._type),this.domNode.classList.add("no-type");if(L.clearNode(this._docs),typeof l=="string")this._docs.classList.remove("markdown-docs"),this._docs.textContent=l;else if(l){this._docs.classList.add("markdown-docs"),L.clearNode(this._docs);const p=this._markdownRenderer.render(l);this._docs.appendChild(p.element),this._renderDisposeable.add(p),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=p=>{p.preventDefault(),p.stopPropagation()},this._close.onclick=p=>{p.preventDefault(),p.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(h,r){const c=new L.Dimension(h,r);L.Dimension.equals(c,this._size)||(this._size=c,L.size(this.domNode,h,r)),this._scrollbar.scanDomNode()}scrollDown(h=8){this._body.scrollTop+=h}scrollUp(h=8){this._body.scrollTop-=h}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(h){this._borderWidth=h}get borderWidth(){return this._borderWidth}};e.SuggestDetailsWidget=t,e.SuggestDetailsWidget=t=ke([fe(1,i.IInstantiationService)],t);class a{constructor(h,r){this.widget=h,this._editor=r,this._disposables=new _.DisposableStore,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new C.ResizableHTMLElement,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(h.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let c,o,d=0,l=0;this._disposables.add(this._resizable.onDidWillResize(()=>{c=this._topLeft,o=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(p=>{if(c&&o){this.widget.layout(p.dimension.width,p.dimension.height);let m=!1;p.west&&(l=o.width-p.dimension.width,m=!0),p.north&&(d=o.height-p.dimension.height,m=!0),m&&this._applyTopLeft({top:c.top+d,left:c.left+l})}p.done&&(c=void 0,o=void 0,d=0,l=0,this._userSize=p.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var p;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(p=this._userSize)!==null&&p!==void 0?p:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(h=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),h&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(h,r){var c;const o=h.getBoundingClientRect();this._anchorBox=o,this._preferAlignAtTop=r,this._placeAtAnchor(this._anchorBox,(c=this._userSize)!==null&&c!==void 0?c:this.widget.size,r)}_placeAtAnchor(h,r,c){var o;const d=L.getClientArea(document.body),l=this.widget.getLayoutInfo(),p=new L.Dimension(220,2*l.lineHeight),m=h.top,v=function(){const N=d.width-(h.left+h.width+l.borderWidth+l.horizontalPadding),F=-l.borderWidth+h.left+h.width,O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),b=function(){const N=h.left-l.borderWidth-l.horizontalPadding,F=Math.max(l.horizontalPadding,h.left-r.width-l.borderWidth),O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),w=function(){const N=h.left,F=-l.borderWidth+h.top+h.height,O=new L.Dimension(h.width-l.borderHeight,d.height-h.top-h.height-l.verticalPadding);return{top:F,left:N,fit:O.height-r.height,maxSizeBottom:O,maxSizeTop:O,minSize:p.with(O.width)}}(),E=[v,b,w],I=(o=E.find(N=>N.fit>=0))!==null&&o!==void 0?o:E.sort((N,F)=>F.fit-N.fit)[0],M=h.top+h.height-l.borderHeight;let P,x=r.height;const T=Math.max(I.maxSizeTop.height,I.maxSizeBottom.height);x>T&&(x=T);let A;c?x<=I.maxSizeTop.height?(P=!0,A=I.maxSizeTop):(P=!1,A=I.maxSizeBottom):x<=I.maxSizeBottom.height?(P=!1,A=I.maxSizeBottom):(P=!0,A=I.maxSizeTop),this._applyTopLeft({left:I.left,top:P?I.top:M-x}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!P,I===v,P,I!==v),this._resizable.minSize=I.minSize,this._resizable.maxSize=A,this._resizable.layout(x,Math.min(A.width,r.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(h){this._topLeft=h,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}e.SuggestDetailsOverlay=a}),define(ne[345],se([1,0,14,65,47,20,22,28,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationChangeEvent=e.Configuration=e.ConfigurationModelParser=e.ConfigurationModel=void 0;function C(u){return Object.isFrozen(u)?u:y.deepFreeze(u)}class s{constructor(h={},r=[],c=[],o){this._contents=h,this._keys=r,this._overrides=c,this.raw=o,this.overrideConfigurations=new Map}get rawConfiguration(){var h;if(!this._rawConfiguration)if(!((h=this.raw)===null||h===void 0)&&h.length){const r=this.raw.map(c=>{if(c instanceof s)return c;const o=new i("");return o.parseRaw(c),o.configurationModel});this._rawConfiguration=r.reduce((c,o)=>o===c?o:c.merge(o),r[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(h){return h?(0,f.getConfigurationValue)(this.contents,h):this.contents}inspect(h,r){const c=this.rawConfiguration.getValue(h),o=r?this.rawConfiguration.getOverrideValue(h,r):void 0,d=r?this.rawConfiguration.override(r).getValue(h):c;return{value:c,override:o,merged:d}}getOverrideValue(h,r){const c=this.getContentsForOverrideIdentifer(r);return c?h?(0,f.getConfigurationValue)(c,h):c:void 0}override(h){let r=this.overrideConfigurations.get(h);return r||(r=this.createOverrideConfigurationModel(h),this.overrideConfigurations.set(h,r)),r}merge(...h){var r,c;const o=y.deepClone(this.contents),d=y.deepClone(this.overrides),l=[...this.keys],p=!((r=this.raw)===null||r===void 0)&&r.length?[...this.raw]:[this];for(const m of h)if(p.push(...!((c=m.raw)===null||c===void 0)&&c.length?m.raw:[m]),!m.isEmpty()){this.mergeContents(o,m.contents);for(const v of m.overrides){const[b]=d.filter(w=>L.equals(w.identifiers,v.identifiers));b?(this.mergeContents(b.contents,v.contents),b.keys.push(...v.keys),b.keys=L.distinct(b.keys)):d.push(y.deepClone(v))}for(const v of m.keys)l.indexOf(v)===-1&&l.push(v)}return new s(o,l,d,p.every(m=>m instanceof s)?void 0:p)}createOverrideConfigurationModel(h){const r=this.getContentsForOverrideIdentifer(h);if(!r||typeof r!="object"||!Object.keys(r).length)return this;const c={};for(const o of L.distinct([...Object.keys(this.contents),...Object.keys(r)])){let d=this.contents[o];const l=r[o];l&&(typeof d=="object"&&typeof l=="object"?(d=y.deepClone(d),this.mergeContents(d,l)):d=l),c[o]=d}return new s(c,this.keys,this.overrides)}mergeContents(h,r){for(const c of Object.keys(r)){if(c in h&&D.isObject(h[c])&&D.isObject(r[c])){this.mergeContents(h[c],r[c]);continue}h[c]=y.deepClone(r[c])}}getContentsForOverrideIdentifer(h){let r=null,c=null;const o=d=>{d&&(c?this.mergeContents(c,d):c=y.deepClone(d))};for(const d of this.overrides)d.identifiers.length===1&&d.identifiers[0]===h?r=d.contents:d.identifiers.includes(h)&&o(d.contents);return o(r),c}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(h,r){this.updateValue(h,r,!0)}setValue(h,r){this.updateValue(h,r,!1)}removeValue(h){const r=this.keys.indexOf(h);r!==-1&&(this.keys.splice(r,1),(0,f.removeFromValueTree)(this.contents,h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.splice(this.overrides.findIndex(c=>L.equals(c.identifiers,(0,_.overrideIdentifiersFromKey)(h))),1))}updateValue(h,r,c){(0,f.addToValueTree)(this.contents,h,r,o=>console.error(o)),c=c||this.keys.indexOf(h)===-1,c&&this.keys.push(h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.push({identifiers:(0,_.overrideIdentifiersFromKey)(h),keys:Object.keys(this.contents[h]),contents:(0,f.toValuesTree)(this.contents[h],o=>console.error(o))})}}e.ConfigurationModel=s;class i{constructor(h){this._name=h,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||new s}parseRaw(h,r){this._raw=h;const{contents:c,keys:o,overrides:d,restricted:l,hasExcludedProperties:p}=this.doParseRaw(h,r);this._configurationModel=new s(c,o,d,p?[h]:void 0),this._restrictedConfigurations=l||[]}doParseRaw(h,r){const c=g.Registry.as(_.Extensions.Configuration).getConfigurationProperties(),o=this.filter(h,c,!0,r);h=o.raw;const d=(0,f.toValuesTree)(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`)),l=Object.keys(h),p=this.toOverrides(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`));return{contents:d,keys:l,overrides:p,restricted:o.restricted,hasExcludedProperties:o.hasExcludedProperties}}filter(h,r,c,o){var d,l,p;let m=!1;if(!o?.scopes&&!o?.skipRestricted&&!(!((d=o?.exclude)===null||d===void 0)&&d.length))return{raw:h,restricted:[],hasExcludedProperties:m};const v={},b=[];for(const w in h)if(_.OVERRIDE_PROPERTY_REGEX.test(w)&&c){const E=this.filter(h[w],r,!1,o);v[w]=E.raw,m=m||E.hasExcludedProperties,b.push(...E.restricted)}else{const E=r[w],I=E?typeof E.scope<"u"?E.scope:3:void 0;E?.restricted&&b.push(w),!(!((l=o.exclude)===null||l===void 0)&&l.includes(w))&&(!((p=o.include)===null||p===void 0)&&p.includes(w)||(I===void 0||o.scopes===void 0||o.scopes.includes(I))&&!(o.skipRestricted&&E?.restricted))?v[w]=h[w]:m=!0}return{raw:v,restricted:b,hasExcludedProperties:m}}toOverrides(h,r){const c=[];for(const o of Object.keys(h))if(_.OVERRIDE_PROPERTY_REGEX.test(o)){const d={};for(const l in h[o])d[l]=h[o][l];c.push({identifiers:(0,_.overrideIdentifiersFromKey)(o),keys:Object.keys(d),contents:(0,f.toValuesTree)(d,r)})}return c}}e.ConfigurationModelParser=i;class n{constructor(h,r,c,o,d,l,p,m,v,b,w,E,I){this.key=h,this.overrides=r,this._value=c,this.overrideIdentifiers=o,this.defaultConfiguration=d,this.policyConfiguration=l,this.applicationConfiguration=p,this.userConfiguration=m,this.localUserConfiguration=v,this.remoteUserConfiguration=b,this.workspaceConfiguration=w,this.folderConfigurationModel=E,this.memoryConfigurationModel=I}inspect(h,r,c){const o=h.inspect(r,c);return{get value(){return C(o.value)},get override(){return C(o.override)},get merged(){return C(o.merged)}}}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.inspect(this.userConfiguration,this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.userInspectValue.value!==void 0||this.userInspectValue.override!==void 0?{value:this.userInspectValue.value,override:this.userInspectValue.override}:void 0}}class t{constructor(h,r,c,o,d=new s,l=new s,p=new k.ResourceMap,m=new s,v=new k.ResourceMap){this._defaultConfiguration=h,this._policyConfiguration=r,this._applicationConfiguration=c,this._localUserConfiguration=o,this._remoteUserConfiguration=d,this._workspaceConfiguration=l,this._folderConfigurations=p,this._memoryConfiguration=m,this._memoryConfigurationByResource=v,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new k.ResourceMap,this._userConfiguration=null}getValue(h,r,c){return this.getConsolidatedConfigurationModel(h,r,c).getValue(h)}updateValue(h,r,c={}){let o;c.resource?(o=this._memoryConfigurationByResource.get(c.resource),o||(o=new s,this._memoryConfigurationByResource.set(c.resource,o))):o=this._memoryConfiguration,r===void 0?o.removeValue(h):o.setValue(h,r),c.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(h,r,c){const o=this.getConsolidatedConfigurationModel(h,r,c),d=this.getFolderConfigurationModelForResource(r.resource,c),l=r.resource?this._memoryConfigurationByResource.get(r.resource)||this._memoryConfiguration:this._memoryConfiguration,p=new Set;for(const m of o.overrides)for(const v of m.identifiers)o.getOverrideValue(h,v)!==void 0&&p.add(v);return new n(h,r,o.getValue(h),p.size?[...p]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,c?this._workspaceConfiguration:void 0,d||void 0,l)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(h,r,c){let o=this.getConsolidatedConfigurationModelForResource(r,c);return r.overrideIdentifier&&(o=o.override(r.overrideIdentifier)),!this._policyConfiguration.isEmpty()&&this._policyConfiguration.getValue(h)!==void 0&&(o=o.merge(this._policyConfiguration)),o}getConsolidatedConfigurationModelForResource({resource:h},r){let c=this.getWorkspaceConsolidatedConfiguration();if(r&&h){const o=r.getFolder(h);o&&(c=this.getFolderConsolidatedConfiguration(o.uri)||c);const d=this._memoryConfigurationByResource.get(h);d&&(c=c.merge(d))}return c}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(h){let r=this._foldersConsolidatedConfigurations.get(h);if(!r){const c=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(h);o?(r=c.merge(o),this._foldersConsolidatedConfigurations.set(h,r)):r=c}return r}getFolderConfigurationModelForResource(h,r){if(r&&h){const c=r.getFolder(h);if(c)return this._folderConfigurations.get(c.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((h,r)=>{const{contents:c,overrides:o,keys:d}=this._folderConfigurations.get(r);return h.push([r,{contents:c,overrides:o,keys:d}]),h},[])}}static parse(h){const r=this.parseConfigurationModel(h.defaults),c=this.parseConfigurationModel(h.policy),o=this.parseConfigurationModel(h.application),d=this.parseConfigurationModel(h.user),l=this.parseConfigurationModel(h.workspace),p=h.folders.reduce((m,v)=>(m.set(S.URI.revive(v[0]),this.parseConfigurationModel(v[1])),m),new k.ResourceMap);return new t(r,c,o,d,new s,l,p,new s,new k.ResourceMap)}static parseConfigurationModel(h){return new s(h.contents,h.keys,h.overrides)}}e.Configuration=t;class a{constructor(h,r,c,o){this.change=h,this.previous=r,this.currentConfiguraiton=c,this.currentWorkspace=o,this._marker=` -`,this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=".".charCodeAt(0),this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const d of h.keys)this.affectedKeys.add(d);for(const[,d]of h.overrides)for(const l of d)this.affectedKeys.add(l);this._affectsConfigStr=this._marker;for(const d of this.affectedKeys)this._affectsConfigStr+=d+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=t.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(h,r){var c;const o=this._marker+h,d=this._affectsConfigStr.indexOf(o);if(d<0)return!1;const l=d+o.length;if(l>=this._affectsConfigStr.length)return!1;const p=this._affectsConfigStr.charCodeAt(l);if(p!==this._markerCode1&&p!==this._markerCode2)return!1;if(r){const m=this.previousConfiguration?this.previousConfiguration.getValue(h,r,(c=this.previous)===null||c===void 0?void 0:c.workspace):void 0,v=this.currentConfiguraiton.getValue(h,r,this.currentWorkspace);return!y.equals(m,v)}return!0}}e.ConfigurationChangeEvent=a}),define(ne[782],se([1,0,2,345,98,37]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultConfiguration=void 0;class S extends L.Disposable{constructor(){super(...arguments),this._configurationModel=new k.ConfigurationModel}get configurationModel(){return this._configurationModel}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=new k.ConfigurationModel;const _=D.Registry.as(y.Extensions.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(_),_)}updateConfigurationModel(_,g){const C=this.getConfigurationDefaultOverrides();for(const s of _){const i=C[s],n=g[s];i!==void 0?this._configurationModel.addValue(s,i):n?this._configurationModel.addValue(s,n.default):this._configurationModel.removeValue(s)}}}e.DefaultConfiguration=S}),define(ne[118],se([1,0,119,17,27,37,2,64]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=e.KeybindingsRegistry=void 0;class _{constructor(){this._coreKeybindings=new f.LinkedList,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(s){if(k.OS===1){if(s&&s.win)return s.win}else if(k.OS===2){if(s&&s.mac)return s.mac}else if(s&&s.linux)return s.linux;return s}registerKeybindingRule(s){const i=_.bindToCurrentPlatform(s),n=new S.DisposableStore;if(i&&i.primary){const t=(0,L.decodeKeybinding)(i.primary,k.OS);t&&n.add(this._registerDefaultKeybinding(t,s.id,s.args,s.weight,0,s.when))}if(i&&Array.isArray(i.secondary))for(let t=0,a=i.secondary.length;t{h(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(g)),this._cachedMergedKeybindings.slice(0)}}e.KeybindingsRegistry=new _,e.Extensions={EditorModes:"platform.keybindingsRegistry"},D.Registry.add(e.Extensions.EditorModes,e.KeybindingsRegistry);function g(C,s){if(C.weight1!==s.weight1)return C.weight1-s.weight1;if(C.command&&s.command){if(C.commands.command)return 1}return C.weight2-s.weight2}});var vi=this&&this.__rest||function(Q,e){var L={};for(var k in Q)Object.prototype.hasOwnProperty.call(Q,k)&&e.indexOf(k)<0&&(L[k]=Q[k]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,k=Object.getOwnPropertySymbols(Q);yl===d}}a._all=new Map,e.MenuRegistry=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new y.MicrotaskEmitter({merge:a.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(o){return this._commands.set(o.id,o),this._onDidChangeMenu.fire(a.for(t.CommandPalette)),(0,D.toDisposable)(()=>{this._commands.delete(o.id)&&this._onDidChangeMenu.fire(a.for(t.CommandPalette))})}getCommand(o){return this._commands.get(o)}getCommands(){const o=new Map;return this._commands.forEach((d,l)=>o.set(l,d)),o}appendMenuItem(o,d){let l=this._menuItems.get(o);l||(l=new S.LinkedList,this._menuItems.set(o,l));const p=l.push(d);return this._onDidChangeMenu.fire(a.for(o)),(0,D.toDisposable)(()=>{p(),this._onDidChangeMenu.fire(a.for(o))})}appendMenuItems(o){const d=new D.DisposableStore;for(const{id:l,item:p}of o)d.add(this.appendMenuItem(l,p));return d}getMenuItems(o){let d;return this._menuItems.has(o)?d=[...this._menuItems.get(o)]:d=[],o===t.CommandPalette&&this._appendImplicitItems(d),d}_appendImplicitItems(o){const d=new Set;for(const l of o)i(l)&&(d.add(l.command.id),l.alt&&d.add(l.alt.id));this._commands.forEach((l,p)=>{d.has(p)||o.push({command:l})})}};class u extends L.SubmenuAction{constructor(d,l,p){super(`submenuitem.${d.submenu.id}`,typeof d.title=="string"?d.title:d.title.value,p,"submenu"),this.item=d,this.hideActions=l}}e.SubmenuItemAction=u;let h=s=class{static label(d,l){return l?.renderShortTitle&&d.shortTitle?typeof d.shortTitle=="string"?d.shortTitle:d.shortTitle.value:typeof d.title=="string"?d.title:d.title.value}constructor(d,l,p,m,v,b){var w,E;this.hideActions=m,this._commandService=b,this.id=d.id,this.label=s.label(d,p),this.tooltip=(E=typeof d.tooltip=="string"?d.tooltip:(w=d.tooltip)===null||w===void 0?void 0:w.value)!==null&&E!==void 0?E:"",this.enabled=!d.precondition||v.contextMatchesRules(d.precondition),this.checked=void 0;let I;if(d.toggled){const M=d.toggled.condition?d.toggled:{condition:d.toggled};this.checked=v.contextMatchesRules(M.condition),this.checked&&M.tooltip&&(this.tooltip=typeof M.tooltip=="string"?M.tooltip:M.tooltip.value),this.checked&&k.ThemeIcon.isThemeIcon(M.icon)&&(I=M.icon),this.checked&&M.title&&(this.label=typeof M.title=="string"?M.title:M.title.value)}I||(I=k.ThemeIcon.isThemeIcon(d.icon)?d.icon:void 0),this.item=d,this.alt=l?new s(l,void 0,p,m,v,b):void 0,this._options=p,this.class=I&&k.ThemeIcon.asClassName(I)}run(...d){var l,p;let m=[];return!((l=this._options)===null||l===void 0)&&l.arg&&(m=[...m,this._options.arg]),!((p=this._options)===null||p===void 0)&&p.shouldForwardArgs&&(m=[...m,...d]),this._commandService.executeCommand(this.id,...m)}};e.MenuItemAction=h,e.MenuItemAction=h=s=ke([fe(4,_.IContextKeyService),fe(5,f.ICommandService)],h);class r{constructor(d){this.desc=d}}e.Action2=r;function c(o){const d=new D.DisposableStore,l=new o,p=l.desc,{f1:m,menu:v,keybinding:b,description:w}=p,E=vi(p,["f1","menu","keybinding","description"]);if(d.add(f.CommandsRegistry.registerCommand({id:E.id,handler:(I,...M)=>l.run(I,...M),description:w})),Array.isArray(v))for(const I of v)d.add(e.MenuRegistry.appendMenuItem(I.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:I.precondition===null?void 0:E.precondition})},I)));else v&&d.add(e.MenuRegistry.appendMenuItem(v.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:v.precondition===null?void 0:E.precondition})},v)));if(m&&(d.add(e.MenuRegistry.appendMenuItem(t.CommandPalette,{command:E,when:E.precondition})),d.add(e.MenuRegistry.addCommand(E))),Array.isArray(b))for(const I of b)d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},I),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,I.when):I.when})));else b&&d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},b),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,b.when):b.when})));return d}e.registerAction2=c}),define(ne[783],se([1,0,33,21,605,30,27,15]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFocusedDiffEditor=e.AccessibleDiffViewerPrev=e.AccessibleDiffViewerNext=void 0;const _={value:(0,y.localize)(0,null),original:"Accessible Diff Viewer"};class g extends D.Action2{constructor(){super({id:g.id,title:{value:(0,y.localize)(1,null),original:"Go to Next Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerNext()}}e.AccessibleDiffViewerNext=g,g.id="editor.action.accessibleDiffViewer.next",D.MenuRegistry.appendMenuItem(D.MenuId.EditorTitle,{command:{id:g.id,title:(0,y.localize)(2,null)},order:10,group:"2_diff",when:f.ContextKeyExpr.and(k.EditorContextKeys.accessibleDiffViewerVisible.negate(),f.ContextKeyExpr.has("isInDiffEditor"))});class C extends D.Action2{constructor(){super({id:C.id,title:{value:(0,y.localize)(3,null),original:"Go to Previous Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerPrev()}}e.AccessibleDiffViewerPrev=C,C.id="editor.action.accessibleDiffViewer.prev";function s(n){var t;const a=n.get(L.ICodeEditorService),u=a.listDiffEditors(),h=(t=a.getFocusedCodeEditor())!==null&&t!==void 0?t:a.getActiveCodeEditor();if(!h)return null;for(let r=0,c=u.length;r{this._instantiateSome(1)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(2)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(3)},5e3))}saveViewState(){const f={};for(const[_,g]of this._instances)typeof g.saveViewState=="function"&&(f[_]=g.saveViewState());return f}restoreViewState(f){for(const[_,g]of this._instances)typeof g.restoreViewState=="function"&&g.restoreViewState(f[_])}get(f){return this._instantiateById(f),this._instances.get(f)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(1)},50))}_instantiateSome(f){if(this._finishedInstantiation[f])return;this._finishedInstantiation[f]=!0;const _=this._findPendingContributionsByInstantiation(f);for(const g of _)this._instantiateById(g.id)}_findPendingContributionsByInstantiation(f){const _=[];for(const[,g]of this._pending)g.instantiation===f&&_.push(g);return _}_instantiateById(f){const _=this._pending.get(f);if(_){if(this._pending.delete(f),!this._instantiationService||!this._editor)throw new Error("Cannot instantiate contributions before being initialized!");try{const g=this._instantiationService.createInstance(_.ctor,this._editor);this._instances.set(_.id,g),typeof g.restoreViewState=="function"&&_.instantiation!==0&&console.warn(`Editor contribution '${_.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(g){(0,k.onUnexpectedError)(g)}}}}e.CodeEditorContributions=D}),define(ne[785],se([1,0,49,201,707,30,15]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleTabFocusModeAction=void 0;class f extends D.Action2{constructor(){super({id:f.ID,title:{value:y.localize(0,null),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(g){const C=g.get(S.IContextKeyService).getContextKeyValue("focusedView")==="terminal"?"terminalFocus":"editorFocus",i=!k.TabFocus.getTabFocusMode(C);k.TabFocus.setTabFocusMode(i,C),i?(0,L.alert)(y.localize(1,null)):(0,L.alert)(y.localize(2,null))}}e.ToggleTabFocusModeAction=f,f.ID="editor.action.toggleTabFocusMode",(0,D.registerAction2)(f)}),define(ne[346],se([1,0,228,582,15,118,726,2]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextScopedReplaceInput=e.ContextScopedFindInput=e.registerAndCreateHistoryNavigationContext=e.historyNavigationVisible=void 0,e.historyNavigationVisible=new y.RawContextKey("suggestWidgetVisible",!1,(0,S.localize)(0,null));const _="historyNavigationWidgetFocus",g="historyNavigationForwardsEnabled",C="historyNavigationBackwardsEnabled";let s;const i=[];function n(u,h){if(i.includes(h))throw new Error("Cannot register the same widget multiple times");i.push(h);const r=new f.DisposableStore,c=new y.RawContextKey(_,!1).bindTo(u),o=new y.RawContextKey(g,!0).bindTo(u),d=new y.RawContextKey(C,!0).bindTo(u),l=()=>{c.set(!0),s=h},p=()=>{c.set(!1),s===h&&(s=void 0)};return h.element===document.activeElement&&l(),r.add(h.onDidFocus(()=>l())),r.add(h.onDidBlur(()=>p())),r.add((0,f.toDisposable)(()=>{i.splice(i.indexOf(h),1),p()})),{historyNavigationForwardsEnablement:o,historyNavigationBackwardsEnablement:d,dispose(){r.dispose()}}}e.registerAndCreateHistoryNavigationContext=n;let t=class extends L.FindInput{constructor(h,r,c,o){super(h,r,c);const d=this._register(o.createScoped(this.inputBox.element));this._register(n(d,this.inputBox))}};e.ContextScopedFindInput=t,e.ContextScopedFindInput=t=ke([fe(3,y.IContextKeyService)],t);let a=class extends k.ReplaceInput{constructor(h,r,c,o,d=!1){super(h,r,d,c);const l=this._register(o.createScoped(this.inputBox.element));this._register(n(l,this.inputBox))}};e.ContextScopedReplaceInput=a,e.ContextScopedReplaceInput=a=ke([fe(3,y.IContextKeyService)],a),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(C,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:16,secondary:[528],handler:u=>{s?.showPreviousValue()}}),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(g,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:18,secondary:[530],handler:u=>{s?.showNextValue()}})}),define(ne[135],se([1,0,19,9,72,2,58,20,22,12,5,69,128,700,30,27,15,18,346]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickSuggestionsOptions=e.showSimpleSuggestions=e.getSuggestionComparator=e.provideSuggestionItems=e.CompletionItemModel=e.getSnippetSuggestSupport=e.CompletionOptions=e.CompletionItem=e.suggestWidgetStatusbarMenu=e.Context=void 0,e.Context={Visible:r.historyNavigationVisible,HasFocusedSuggestion:new u.RawContextKey("suggestWidgetHasFocusedSuggestion",!1,(0,n.localize)(0,null)),DetailsVisible:new u.RawContextKey("suggestWidgetDetailsVisible",!1,(0,n.localize)(1,null)),MultipleSuggestions:new u.RawContextKey("suggestWidgetMultipleSuggestions",!1,(0,n.localize)(2,null)),MakesTextEdit:new u.RawContextKey("suggestionMakesTextEdit",!0,(0,n.localize)(3,null)),AcceptSuggestionsOnEnter:new u.RawContextKey("acceptSuggestionOnEnter",!0,(0,n.localize)(4,null)),HasInsertAndReplaceRange:new u.RawContextKey("suggestionHasInsertAndReplaceRange",!1,(0,n.localize)(5,null)),InsertMode:new u.RawContextKey("suggestionInsertMode",void 0,{type:"string",description:(0,n.localize)(6,null)}),CanResolve:new u.RawContextKey("suggestionCanResolve",!1,(0,n.localize)(7,null))},e.suggestWidgetStatusbarMenu=new t.MenuId("suggestWidgetStatusBar");class c{constructor(T,A,N,F){var O;this.position=T,this.completion=A,this.container=N,this.provider=F,this.isInvalid=!1,this.score=y.FuzzyScore.Default,this.distance=0,this.textLabel=typeof A.label=="string"?A.label:(O=A.label)===null||O===void 0?void 0:O.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=A.sortText&&A.sortText.toLowerCase(),this.filterTextLow=A.filterText&&A.filterText.toLowerCase(),this.extensionId=A.extensionId,C.Range.isIRange(A.range)?(this.editStart=new g.Position(A.range.startLineNumber,A.range.startColumn),this.editInsertEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.editReplaceEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range)||A.range.startLineNumber!==T.lineNumber):(this.editStart=new g.Position(A.range.insert.startLineNumber,A.range.insert.startColumn),this.editInsertEnd=new g.Position(A.range.insert.endLineNumber,A.range.insert.endColumn),this.editReplaceEnd=new g.Position(A.range.replace.endLineNumber,A.range.replace.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range.insert)||C.Range.spansMultipleLines(A.range.replace)||A.range.insert.startLineNumber!==T.lineNumber||A.range.replace.startLineNumber!==T.lineNumber||A.range.insert.startColumn!==A.range.replace.startColumn),typeof F.resolveCompletionItem!="function"&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return this._resolveDuration!==void 0}get resolveDuration(){return this._resolveDuration!==void 0?this._resolveDuration:-1}resolve(T){return we(this,void 0,void 0,function*(){if(!this._resolveCache){const A=T.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),N=new S.StopWatch(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,T)).then(F=>{Object.assign(this.completion,F),this._resolveDuration=N.elapsed(),A.dispose()},F=>{(0,k.isCancellationError)(F)&&(this._resolveCache=void 0,this._resolveDuration=void 0)})}return this._resolveCache})}}e.CompletionItem=c;class o{constructor(T=2,A=new Set,N=new Set,F=new Map,O=!0){this.snippetSortOrder=T,this.kindFilter=A,this.providerFilter=N,this.providerItemsToReuse=F,this.showDeprecated=O}}e.CompletionOptions=o,o.default=new o;let d;function l(){return d}e.getSnippetSuggestSupport=l;class p{constructor(T,A,N,F){this.items=T,this.needsClipboard=A,this.durations=N,this.disposable=F}}e.CompletionItemModel=p;function m(x,T,A,N=o.default,F={triggerKind:0},O=L.CancellationToken.None){return we(this,void 0,void 0,function*(){const W=new S.StopWatch;A=A.clone();const U=T.getWordAtPosition(A),j=U?new C.Range(A.lineNumber,U.startColumn,A.lineNumber,U.endColumn):C.Range.fromPositions(A),R={replace:j,insert:j.setEndPosition(A.lineNumber,A.column)},K=[],G=new D.DisposableStore,Z=[];let J=!1;const X=(B,V,Y)=>{var ie,ae,ce;let de=!1;if(!V)return de;for(const he of V.suggestions)if(!N.kindFilter.has(he.kind)){if(!N.showDeprecated&&(!((ie=he?.tags)===null||ie===void 0)&&ie.includes(1)))continue;he.range||(he.range=R),he.sortText||(he.sortText=typeof he.label=="string"?he.label:he.label.label),!J&&he.insertTextRules&&he.insertTextRules&4&&(J=i.SnippetParser.guessNeedsClipboard(he.insertText)),K.push(new c(A,he,V,B)),de=!0}return(0,D.isDisposable)(V)&&G.add(V),Z.push({providerName:(ae=B._debugDisplayName)!==null&&ae!==void 0?ae:"unknown_provider",elapsedProvider:(ce=V.duration)!==null&&ce!==void 0?ce:-1,elapsedOverall:Y.elapsed()}),de},H=(()=>we(this,void 0,void 0,function*(){if(!d||N.kindFilter.has(27))return;const B=N.providerItemsToReuse.get(d);if(B){B.forEach(ie=>K.push(ie));return}if(N.providerFilter.size>0&&!N.providerFilter.has(d))return;const V=new S.StopWatch,Y=yield d.provideCompletionItems(T,A,F,O);X(d,Y,V)}))();for(const B of x.orderedGroups(T)){let V=!1;if(yield Promise.all(B.map(Y=>we(this,void 0,void 0,function*(){if(N.providerItemsToReuse.has(Y)){const ie=N.providerItemsToReuse.get(Y);ie.forEach(ae=>K.push(ae)),V=V||ie.length>0;return}if(!(N.providerFilter.size>0&&!N.providerFilter.has(Y)))try{const ie=new S.StopWatch,ae=yield Y.provideCompletionItems(T,A,F,O);V=X(Y,ae,ie)||V}catch(ie){(0,k.onUnexpectedExternalError)(ie)}}))),V||O.isCancellationRequested)break}return yield H,O.isCancellationRequested?(G.dispose(),Promise.reject(new k.CancellationError)):new p(K.sort(I(N.snippetSortOrder)),J,{entries:Z,elapsed:W.elapsed()},G)})}e.provideSuggestionItems=m;function v(x,T){if(x.sortTextLow&&T.sortTextLow){if(x.sortTextLowT.sortTextLow)return 1}return x.textLabelT.textLabel?1:x.completion.kind-T.completion.kind}function b(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return-1;if(T.completion.kind===27)return 1}return v(x,T)}function w(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return 1;if(T.completion.kind===27)return-1}return v(x,T)}const E=new Map;E.set(0,b),E.set(2,w),E.set(1,v);function I(x){return E.get(x)}e.getSuggestionComparator=I,a.CommandsRegistry.registerCommand("_executeCompletionItemProvider",(x,...T)=>we(void 0,void 0,void 0,function*(){const[A,N,F,O]=T;(0,f.assertType)(_.URI.isUri(A)),(0,f.assertType)(g.Position.isIPosition(N)),(0,f.assertType)(typeof F=="string"||!F),(0,f.assertType)(typeof O=="number"||!O);const{completionProvider:W}=x.get(h.ILanguageFeaturesService),U=yield x.get(s.ITextModelService).createModelReference(A);try{const j={incomplete:!1,suggestions:[]},R=[],K=U.object.textEditorModel.validatePosition(N),G=yield m(W,U.object.textEditorModel,K,void 0,{triggerCharacter:F??void 0,triggerKind:F?1:0});for(const Z of G.items)R.length<(O??0)&&R.push(Z.resolve(L.CancellationToken.None)),j.incomplete=j.incomplete||Z.container.incomplete,j.suggestions.push(Z.completion);try{return yield Promise.all(R),j}finally{setTimeout(()=>G.disposable.dispose(),100)}}finally{U.dispose()}}));function M(x,T){var A;(A=x.getContribution("editor.contrib.suggestController"))===null||A===void 0||A.triggerSuggest(new Set().add(T),void 0,!0)}e.showSimpleSuggestions=M;class P{static isAllOff(T){return T.other==="off"&&T.comments==="off"&&T.strings==="off"}static isAllOn(T){return T.other==="on"&&T.comments==="on"&&T.strings==="on"}static valueFor(T,A){switch(A){case 1:return T.comments;case 2:return T.strings;default:return T.other}}}e.QuickSuggestionsOptions=P}),define(ne[136],se([1,0,14,2,37]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessRegistry=e.Extensions=e.DefaultQuickAccessFilterValue=void 0;var D;(function(f){f[f.PRESERVE=0]="PRESERVE",f[f.LAST=1]="LAST"})(D||(e.DefaultQuickAccessFilterValue=D={})),e.Extensions={Quickaccess:"workbench.contributions.quickaccess"};class S{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(_){return _.prefix.length===0?this.defaultProvider=_:this.providers.push(_),this.providers.sort((g,C)=>C.prefix.length-g.prefix.length),(0,k.toDisposable)(()=>{this.providers.splice(this.providers.indexOf(_),1),this.defaultProvider===_&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,L.coalesce)([this.defaultProvider,...this.providers])}getQuickAccessProvider(_){return _&&this.providers.find(C=>_.startsWith(C.prefix))||void 0||this.defaultProvider}}e.QuickAccessRegistry=S,y.Registry.add(e.Extensions.Quickaccess,new S)}),define(ne[786],se([1,0,731,37,2,34,136,71]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.HelpQuickAccessProvider=void 0;let g=_=class{constructor(s,i){this.quickInputService=s,this.keybindingService=i,this.registry=k.Registry.as(S.Extensions.Quickaccess)}provide(s){const i=new y.DisposableStore;return i.add(s.onDidAccept(()=>{const[n]=s.selectedItems;n&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})),i.add(s.onDidChangeValue(n=>{const t=this.registry.getQuickAccessProvider(n.substr(_.PREFIX.length));t&&t.prefix&&t.prefix!==_.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),s.items=this.getQuickAccessProviders().filter(n=>n.prefix!==_.PREFIX),i}getQuickAccessProviders(){return this.registry.getQuickAccessProviders().sort((i,n)=>i.prefix.localeCompare(n.prefix)).flatMap(i=>this.createPicks(i))}createPicks(s){return s.helpEntries.map(i=>{const n=i.prefix||s.prefix,t=n||"\u2026";return{prefix:n,label:t,keybinding:i.commandId?this.keybindingService.lookupKeybinding(i.commandId):void 0,ariaLabel:(0,L.localize)(0,null,t,i.description),description:i.description}})}};e.HelpQuickAccessProvider=g,g.PREFIX="?",e.HelpQuickAccessProvider=g=_=ke([fe(0,f.IQuickInputService),fe(1,D.IKeybindingService)],g)}),define(ne[787],se([1,0,37,136,94,786]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:D.HelpQuickAccessProvider,prefix:"",helpEntries:[{description:y.QuickHelpNLS.helpQuickAccessActionLabel}]})}),define(ne[788],se([1,0,13,19,99,2,8,136,71,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessController=void 0;let C=class extends D.Disposable{constructor(i,n){super(),this.quickInputService=i,this.instantiationService=n,this.registry=g.Registry.as(f.Extensions.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(i="",n){this.doShowOrPick(i,!1,n)}doShowOrPick(i,n,t){var a;const[u,h]=this.getOrInstantiateProvider(i),r=this.visibleQuickAccess,c=r?.descriptor;if(r&&h&&c===h){i!==h.prefix&&!t?.preserveValue&&(r.picker.value=i),this.adjustValueSelection(r.picker,h,t);return}if(h&&!t?.preserveValue){let m;if(r&&c&&c!==h){const v=r.value.substr(c.prefix.length);v&&(m=`${h.prefix}${v}`)}if(!m){const v=u?.defaultFilterValue;v===f.DefaultQuickAccessFilterValue.LAST?m=this.lastAcceptedPickerValues.get(h):typeof v=="string"&&(m=`${h.prefix}${v}`)}typeof m=="string"&&(i=m)}const o=new D.DisposableStore,d=o.add(this.quickInputService.createQuickPick());d.value=i,this.adjustValueSelection(d,h,t),d.placeholder=h?.placeholder,d.quickNavigate=t?.quickNavigateConfiguration,d.hideInput=!!d.quickNavigate&&!r,(typeof t?.itemActivation=="number"||t?.quickNavigateConfiguration)&&(d.itemActivation=(a=t?.itemActivation)!==null&&a!==void 0?a:_.ItemActivation.SECOND),d.contextKey=h?.contextKey,d.filterValue=m=>m.substring(h?h.prefix.length:0);let l;n&&(l=new L.DeferredPromise,o.add((0,y.once)(d.onWillAccept)(m=>{m.veto(),d.hide()}))),o.add(this.registerPickerListeners(d,u,h,i,t?.providerOptions));const p=o.add(new k.CancellationTokenSource);if(u&&o.add(u.provide(d,p.token,t?.providerOptions)),(0,y.once)(d.onDidHide)(()=>{d.selectedItems.length===0&&p.cancel(),o.dispose(),l?.complete(d.selectedItems.slice(0))}),d.show(),n)return l?.p}adjustValueSelection(i,n,t){var a;let u;t?.preserveValue?u=[i.value.length,i.value.length]:u=[(a=n?.prefix.length)!==null&&a!==void 0?a:0,i.value.length],i.valueSelection=u}registerPickerListeners(i,n,t,a,u){const h=new D.DisposableStore,r=this.visibleQuickAccess={picker:i,descriptor:t,value:a};return h.add((0,D.toDisposable)(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),h.add(i.onDidChangeValue(c=>{const[o]=this.getOrInstantiateProvider(c);o!==n?this.show(c,{preserveValue:!0,providerOptions:u}):r.value=c})),t&&h.add(i.onDidAccept(()=>{this.lastAcceptedPickerValues.set(t,i.value)})),h}getOrInstantiateProvider(i){const n=this.registry.getQuickAccessProvider(i);if(!n)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(n);return t||(t=this.instantiationService.createInstance(n.ctor),this.mapProviderToDescriptor.set(n,t)),[t,n]}};e.QuickAccessController=C,e.QuickAccessController=C=ke([fe(0,_.IQuickInputService),fe(1,S.IInstantiationService)],C)}),define(ne[789],se([1,0,25,26,101,474]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SeverityIcon=void 0;var D;(function(S){function f(_){switch(_){case y.default.Ignore:return"severity-ignore "+k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Info:return k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Warning:return k.ThemeIcon.asClassName(L.Codicon.warning);case y.default.Error:return k.ThemeIcon.asClassName(L.Codicon.error);default:return""}}S.className=f})(D||(e.SeverityIcon=D={}))}),define(ne[87],se([1,0,6,2,20,588,8]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageService=e.AbstractStorageService=e.loadKeyTargets=e.WillSaveStateReason=e.IStorageService=e.TARGET_KEY=void 0,e.TARGET_KEY="__$__targetStorageMarker",e.IStorageService=(0,S.createDecorator)("storageService");var f;(function(s){s[s.NONE=0]="NONE",s[s.SHUTDOWN=1]="SHUTDOWN"})(f||(e.WillSaveStateReason=f={}));function _(s){const i=s.get(e.TARGET_KEY);if(i)try{return JSON.parse(i)}catch{}return Object.create(null)}e.loadKeyTargets=_;class g extends k.Disposable{constructor(i={flushInterval:g.DEFAULT_FLUSH_INTERVAL}){super(),this.options=i,this._onDidChangeValue=this._register(new L.PauseableEmitter),this._onDidChangeTarget=this._register(new L.PauseableEmitter),this._onWillSaveState=this._register(new L.Emitter),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(i,n,t){return L.Event.filter(this._onDidChangeValue.event,a=>a.scope===i&&(n===void 0||a.key===n),t)}emitDidChangeValue(i,n){const{key:t,external:a}=n;if(t===e.TARGET_KEY){switch(i){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0;break}this._onDidChangeTarget.fire({scope:i})}else this._onDidChangeValue.fire({scope:i,key:t,target:this.getKeyTargets(i)[t],external:a})}get(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.get(i,t)}getBoolean(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getBoolean(i,t)}getNumber(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getNumber(i,t)}store(i,n,t,a,u=!1){if((0,y.isUndefinedOrNull)(n)){this.remove(i,t,u);return}this.withPausedEmitters(()=>{var h;this.updateKeyTarget(i,t,a),(h=this.getStorage(t))===null||h===void 0||h.set(i,n,u)})}remove(i,n,t=!1){this.withPausedEmitters(()=>{var a;this.updateKeyTarget(i,n,void 0),(a=this.getStorage(n))===null||a===void 0||a.delete(i,t)})}withPausedEmitters(i){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{i()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(i,n,t,a=!1){var u,h;const r=this.getKeyTargets(n);typeof t=="number"?r[i]!==t&&(r[i]=t,(u=this.getStorage(n))===null||u===void 0||u.set(e.TARGET_KEY,JSON.stringify(r),a)):typeof r[i]=="number"&&(delete r[i],(h=this.getStorage(n))===null||h===void 0||h.set(e.TARGET_KEY,JSON.stringify(r),a))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(i){switch(i){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(i){const n=this.getStorage(i);return n?_(n):Object.create(null)}}e.AbstractStorageService=g,g.DEFAULT_FLUSH_INTERVAL=60*1e3;class C extends g{constructor(){super(),this.applicationStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(i=>this.emitDidChangeValue(1,i))),this._register(this.profileStorage.onDidChangeStorage(i=>this.emitDidChangeValue(0,i))),this._register(this.applicationStorage.onDidChangeStorage(i=>this.emitDidChangeValue(-1,i)))}getStorage(i){switch(i){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}e.InMemoryStorageService=C}),define(ne[790],se([1,0,13,99,65,5,332,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeLensCache=e.ICodeLensCache=void 0,e.ICodeLensCache=(0,_.createDecorator)("ICodeLensCache");class C{constructor(n,t){this.lineCount=n,this.data=t}}let s=class{constructor(n){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new y.LRUCache(20,.75);const t="codelens/cache";(0,L.runWhenIdle)(()=>n.remove(t,1));const a="codelens/cache2",u=n.get(a,1,"{}");this._deserialize(u),(0,k.once)(n.onWillSaveState)(h=>{h.reason===g.WillSaveStateReason.SHUTDOWN&&n.store(a,this._serialize(),1,1)})}put(n,t){const a=t.lenses.map(r=>{var c;return{range:r.symbol.range,command:r.symbol.command&&{id:"",title:(c=r.symbol.command)===null||c===void 0?void 0:c.title}}}),u=new S.CodeLensModel;u.add({lenses:a,dispose:()=>{}},this._fakeProvider);const h=new C(n.getLineCount(),u);this._cache.set(n.uri.toString(),h)}get(n){const t=this._cache.get(n.uri.toString());return t&&t.lineCount===n.getLineCount()?t.data:void 0}delete(n){this._cache.delete(n.uri.toString())}_serialize(){const n=Object.create(null);for(const[t,a]of this._cache){const u=new Set;for(const h of a.data.lenses)u.add(h.symbol.range.startLineNumber);n[t]={lineCount:a.lineCount,lines:[...u.values()]}}return JSON.stringify(n)}_deserialize(n){try{const t=JSON.parse(n);for(const a in t){const u=t[a],h=[];for(const c of u.lines)h.push({range:new D.Range(c,1,c,11)});const r=new S.CodeLensModel;r.add({lenses:h,dispose(){}},this._fakeProvider),this._cache.set(a,new C(u.lineCount,r))}}catch{}}};e.CodeLensCache=s,e.CodeLensCache=s=ke([fe(0,g.IStorageService)],s),(0,f.registerSingleton)(e.ICodeLensCache,s,1)}),define(ne[347],se([1,0,13,2,65,198,29,28,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.ISuggestMemoryService=e.SuggestMemoryService=e.PrefixMemory=e.LRUMemory=e.NoMemory=e.Memory=void 0;class i{constructor(r){this.name=r}select(r,c,o){if(o.length===0)return 0;const d=o[0].score[0];for(let l=0;lv&&E.type===o[b].completion.kind&&E.insertText===o[b].completion.insertText&&(v=E.touch,m=b),o[b].completion.preselect&&p===-1)return p=b}return m!==-1?m:p!==-1?p:0}toJSON(){return this._cache.toJSON()}fromJSON(r){this._cache.clear();const c=0;for(const[o,d]of r)d.touch=c,d.type=typeof d.type=="number"?d.type:S.CompletionItemKinds.fromString(d.type),this._cache.set(o,d);this._seq=this._cache.size}}e.LRUMemory=t;class a extends i{constructor(){super("recentlyUsedByPrefix"),this._trie=D.TernarySearchTree.forStrings(),this._seq=0}memorize(r,c,o){const{word:d}=r.getWordUntilPosition(c),l=`${r.getLanguageId()}/${d}`;this._trie.set(l,{type:o.completion.kind,insertText:o.completion.insertText,touch:this._seq++})}select(r,c,o){const{word:d}=r.getWordUntilPosition(c);if(!d)return super.select(r,c,o);const l=`${r.getLanguageId()}/${d}`;let p=this._trie.get(l);if(p||(p=this._trie.findSubstr(l)),p)for(let m=0;mr.push([o,c])),r.sort((c,o)=>-(c[1].touch-o[1].touch)).forEach((c,o)=>c[1].touch=o),r.slice(0,200)}fromJSON(r){if(this._trie.clear(),r.length>0){this._seq=r[0][1].touch+1;for(const[c,o]of r)o.type=typeof o.type=="number"?o.type:S.CompletionItemKinds.fromString(o.type),this._trie.set(c,o)}}}e.PrefixMemory=a;let u=s=class{constructor(r,c){this._storageService=r,this._configService=c,this._disposables=new k.DisposableStore,this._persistSoon=new L.RunOnceScheduler(()=>this._saveState(),500),this._disposables.add(r.onWillSaveState(o=>{o.reason===C.WillSaveStateReason.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(r,c,o){this._withStrategy(r,c).memorize(r,c,o),this._persistSoon.schedule()}select(r,c,o){return this._withStrategy(r,c).select(r,c,o)}_withStrategy(r,c){var o;const d=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:r.getLanguageIdAtPosition(c.lineNumber,c.column),resource:r.uri});if(((o=this._strategy)===null||o===void 0?void 0:o.name)!==d){this._saveState();const l=s._strategyCtors.get(d)||n;this._strategy=new l;try{const m=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,v=this._storageService.get(`${s._storagePrefix}/${d}`,m);v&&this._strategy.fromJSON(JSON.parse(v))}catch{}}return this._strategy}_saveState(){if(this._strategy){const c=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=JSON.stringify(this._strategy);this._storageService.store(`${s._storagePrefix}/${this._strategy.name}`,o,c,1)}}};e.SuggestMemoryService=u,u._strategyCtors=new Map([["recentlyUsedByPrefix",a],["recentlyUsed",t],["first",n]]),u._storagePrefix="suggest/memories",e.SuggestMemoryService=u=s=ke([fe(0,C.IStorageService),fe(1,f.IConfigurationService)],u),e.ISuggestMemoryService=(0,g.createDecorator)("ISuggestMemories"),(0,_.registerSingleton)(e.ISuggestMemoryService,u,1)}),define(ne[791],se([1,0,13,6,2,30,27,15,39,87,14,719]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),e.MenuService=void 0;let t=class{constructor(o,d){this._commandService=o,this._hiddenStates=new a(d)}createMenu(o,d,l){return new h(o,this._hiddenStates,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},l),this._commandService,d)}resetHiddenStates(o){this._hiddenStates.reset(o)}};e.MenuService=t,e.MenuService=t=ke([fe(0,S.ICommandService),fe(1,g.IStorageService)],t);let a=i=class{constructor(o){this._storageService=o,this._disposables=new y.DisposableStore,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch{this._data=Object.create(null)}this._disposables.add(o.onDidChangeValue(0,i._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch(d){console.log("FAILED to read storage after UPDATE",d)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(o,d){var l;return(l=this._hiddenByDefaultCache.get(`${o.id}/${d}`))!==null&&l!==void 0?l:!1}setDefaultState(o,d,l){this._hiddenByDefaultCache.set(`${o.id}/${d}`,l)}isHidden(o,d){var l,p;const m=this._isHiddenByDefault(o,d),v=(p=(l=this._data[o.id])===null||l===void 0?void 0:l.includes(d))!==null&&p!==void 0?p:!1;return m?!v:v}updateHidden(o,d,l){this._isHiddenByDefault(o,d)&&(l=!l);const m=this._data[o.id];if(l)m?m.indexOf(d)<0&&m.push(d):this._data[o.id]=[d];else if(m){const v=m.indexOf(d);v>=0&&(0,C.removeFastWithoutKeepingOrder)(m,v),m.length===0&&delete this._data[o.id]}this._persist()}reset(o){if(o===void 0)this._data=Object.create(null),this._persist();else{for(const{id:d}of o)this._data[d]&&delete this._data[d];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const o=JSON.stringify(this._data);this._storageService.store(i._key,o,0,0)}finally{this._ignoreChangeEvent=!1}}};a._key="menu.hiddenCommands",a=i=ke([fe(0,g.IStorageService)],a);let u=n=class{constructor(o,d,l,p,m){this._id=o,this._hiddenStates=d,this._collectContextKeysForSubmenus=l,this._commandService=p,this._contextKeyService=m,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const o=D.MenuRegistry.getMenuItems(this._id);let d;o.sort(n._compareMenuItems);for(const l of o){const p=l.group||"";(!d||d[0]!==p)&&(d=[p,[]],this._menuGroups.push(d)),d[1].push(l),this._collectContextKeys(l)}}_collectContextKeys(o){if(n._fillInKbExprKeys(o.when,this._structureContextKeys),(0,D.isIMenuItem)(o)){if(o.command.precondition&&n._fillInKbExprKeys(o.command.precondition,this._preconditionContextKeys),o.command.toggled){const d=o.command.toggled.condition||o.command.toggled;n._fillInKbExprKeys(d,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&D.MenuRegistry.getMenuItems(o.submenu).forEach(this._collectContextKeys,this)}createActionGroups(o){const d=[];for(const l of this._menuGroups){const[p,m]=l,v=[];for(const b of m)if(this._contextKeyService.contextMatchesRules(b.when)){const w=(0,D.isIMenuItem)(b);w&&this._hiddenStates.setDefaultState(this._id,b.command.id,!!b.isHiddenByDefault);const E=r(this._id,w?b.command:b,this._hiddenStates);if(w)v.push(new D.MenuItemAction(b.command,b.alt,o,E,this._contextKeyService,this._commandService));else{const I=new n(b.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._contextKeyService).createActionGroups(o),M=_.Separator.join(...I.map(P=>P[1]));M.length>0&&v.push(new D.SubmenuItemAction(b,E,M))}}v.length>0&&d.push([p,v])}return d}static _fillInKbExprKeys(o,d){if(o)for(const l of o.keys())d.add(l)}static _compareMenuItems(o,d){const l=o.group,p=d.group;if(l!==p){if(l){if(!p)return-1}else return 1;if(l==="navigation")return-1;if(p==="navigation")return 1;const b=l.localeCompare(p);if(b!==0)return b}const m=o.order||0,v=d.order||0;return mv?1:n._compareTitles((0,D.isIMenuItem)(o)?o.command.title:o.title,(0,D.isIMenuItem)(d)?d.command.title:d.title)}static _compareTitles(o,d){const l=typeof o=="string"?o:o.original,p=typeof d=="string"?d:d.original;return l.localeCompare(p)}};u=n=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],u);let h=class{constructor(o,d,l,p,m){this._disposables=new y.DisposableStore,this._menuInfo=new u(o,d,l.emitEventsForSubmenuChanges,p,m);const v=new L.RunOnceScheduler(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},l.eventDebounceDelay);this._disposables.add(v),this._disposables.add(D.MenuRegistry.onDidChangeMenu(I=>{I.has(o)&&v.schedule()}));const b=this._disposables.add(new y.DisposableStore),w=I=>{let M=!1,P=!1,x=!1;for(const T of I)if(M=M||T.isStructuralChange,P=P||T.isEnablementChange,x=x||T.isToggleChange,M&&P&&x)break;return{menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x}},E=()=>{b.add(m.onDidChangeContext(I=>{const M=I.affectsSome(this._menuInfo.structureContextKeys),P=I.affectsSome(this._menuInfo.preconditionContextKeys),x=I.affectsSome(this._menuInfo.toggledContextKeys);(M||P||x)&&this._onDidChange.fire({menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x})})),b.add(d.onDidChange(I=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))};this._onDidChange=new k.DebounceEmitter({onWillAddFirstListener:E,onDidRemoveLastListener:b.clear.bind(b),delay:l.eventDebounceDelay,merge:w}),this.onDidChange=this._onDidChange.event}getActions(o){return this._menuInfo.createActionGroups(o)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};h=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],h);function r(c,o,d){const l=(0,D.isISubmenuItem)(o)?o.submenu.id:o.id,p=typeof o.title=="string"?o.title:o.title.value,m=(0,_.toAction)({id:`hide/${c.id}/${l}`,label:(0,s.localize)(0,null,p),run(){d.updateHidden(c,l,!0)}}),v=(0,_.toAction)({id:`toggle/${c.id}/${l}`,label:p,get checked(){return!d.isHidden(c,l)},run(){d.updateHidden(c,l,!!this.checked)}});return{hide:m,toggle:v,get isHidden(){return!v.checked}}}}),define(ne[79],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITelemetryService=void 0,e.ITelemetryService=(0,L.createDecorator)("telemetryService")}),define(ne[16],se([1,0,603,22,33,12,51,69,30,27,15,8,118,37,79,20,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectAllCommand=e.RedoCommand=e.UndoCommand=e.EditorExtensionsRegistry=e.registerEditorContribution=e.registerInstantiatedEditorAction=e.registerMultiEditorAction=e.registerEditorAction=e.registerEditorCommand=e.registerModelAndPositionCommand=e.EditorAction2=e.MultiEditorAction=e.EditorAction=e.EditorCommand=e.ProxyCommand=e.MultiCommand=e.Command=void 0;class h{constructor(N){this.id=N.id,this.precondition=N.precondition,this._kbOpts=N.kbOpts,this._menuOpts=N.menuOpts,this._description=N.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const N=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const F of N){let O=F.kbExpr;this.precondition&&(O?O=C.ContextKeyExpr.and(O,this.precondition):O=this.precondition);const W={id:this.id,weight:F.weight,args:F.args,when:O,primary:F.primary,secondary:F.secondary,win:F.win,linux:F.linux,mac:F.mac};i.KeybindingsRegistry.registerKeybindingRule(W)}}g.CommandsRegistry.registerCommand({id:this.id,handler:(N,F)=>this.runCommand(N,F),description:this._description})}_registerMenuItem(N){_.MenuRegistry.appendMenuItem(N.menuId,{group:N.group,command:{id:this.id,title:N.title,icon:N.icon,precondition:this.precondition},when:N.when,order:N.order})}}e.Command=h;class r extends h{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F,O,W){return this._implementations.push({priority:N,name:F,implementation:O,when:W}),this._implementations.sort((U,j)=>j.priority-U.priority),{dispose:()=>{for(let U=0;U{if(R.get(C.IContextKeyService).contextMatchesRules(O??void 0))return W(R,j,F)})}runCommand(N,F){return o.runEditorCommand(N,F,this.precondition,(O,W,U)=>this.runEditorCommand(O,W,U))}}e.EditorCommand=o;class d extends o{static convertOptions(N){let F;Array.isArray(N.menuOpts)?F=N.menuOpts:N.menuOpts?F=[N.menuOpts]:F=[];function O(W){return W.menuId||(W.menuId=_.MenuId.EditorContext),W.title||(W.title=N.label),W.when=C.ContextKeyExpr.and(N.precondition,W.when),W}return Array.isArray(N.contextMenuOpts)?F.push(...N.contextMenuOpts.map(O)):N.contextMenuOpts&&F.push(O(N.contextMenuOpts)),N.menuOpts=F,N}constructor(N){super(d.convertOptions(N)),this.label=N.label,this.alias=N.alias}runEditorCommand(N,F,O){return this.reportTelemetry(N,F),this.run(N,F,O||{})}reportTelemetry(N,F){N.get(t.ITelemetryService).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}e.EditorAction=d;class l extends d{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F){return this._implementations.push([N,F]),this._implementations.sort((O,W)=>W[0]-O[0]),{dispose:()=>{for(let O=0;O{var j,R;const K=U.get(C.IContextKeyService),G=U.get(u.ILogService);if(!K.contextMatchesRules((j=this.desc.precondition)!==null&&j!==void 0?j:void 0)){G.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,(R=this.desc.precondition)===null||R===void 0?void 0:R.serialize());return}return this.runEditorCommand(U,W,...F)})}}e.EditorAction2=p;function m(A,N){g.CommandsRegistry.registerCommand(A,function(F,...O){const W=F.get(s.IInstantiationService),[U,j]=O;(0,a.assertType)(k.URI.isUri(U)),(0,a.assertType)(D.Position.isIPosition(j));const R=F.get(S.IModelService).getModel(U);if(R){const K=D.Position.lift(j);return W.invokeFunction(N,R,K,...O.slice(2))}return F.get(f.ITextModelService).createModelReference(U).then(K=>new Promise((G,Z)=>{try{const J=W.invokeFunction(N,K.object.textEditorModel,D.Position.lift(j),O.slice(2));G(J)}catch(J){Z(J)}}).finally(()=>{K.dispose()}))})}e.registerModelAndPositionCommand=m;function v(A){return x.INSTANCE.registerEditorCommand(A),A}e.registerEditorCommand=v;function b(A){const N=new A;return x.INSTANCE.registerEditorAction(N),N}e.registerEditorAction=b;function w(A){return x.INSTANCE.registerEditorAction(A),A}e.registerMultiEditorAction=w;function E(A){x.INSTANCE.registerEditorAction(A)}e.registerInstantiatedEditorAction=E;function I(A,N,F){x.INSTANCE.registerEditorContribution(A,N,F)}e.registerEditorContribution=I;var M;(function(A){function N(j){return x.INSTANCE.getEditorCommand(j)}A.getEditorCommand=N;function F(){return x.INSTANCE.getEditorActions()}A.getEditorActions=F;function O(){return x.INSTANCE.getEditorContributions()}A.getEditorContributions=O;function W(j){return x.INSTANCE.getEditorContributions().filter(R=>j.indexOf(R.id)>=0)}A.getSomeEditorContributions=W;function U(){return x.INSTANCE.getDiffEditorContributions()}A.getDiffEditorContributions=U})(M||(e.EditorExtensionsRegistry=M={}));const P={EditorCommonContributions:"editor.contributions"};class x{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(N,F,O){this.editorContributions.push({id:N,ctor:F,instantiation:O})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(N){N.register(),this.editorActions.push(N)}getEditorActions(){return this.editorActions}registerEditorCommand(N){N.register(),this.editorCommands[N.id]=N}getEditorCommand(N){return this.editorCommands[N]||null}}x.INSTANCE=new x,n.Registry.add(P.EditorCommonContributions,x.INSTANCE);function T(A){return A.register(),A}e.UndoCommand=T(new r({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(0,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(1,null),order:1}]})),T(new c(e.UndoCommand,{id:"default:undo",precondition:void 0})),e.RedoCommand=T(new r({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(2,null),order:2},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(3,null),order:1}]})),T(new c(e.RedoCommand,{id:"default:redo",precondition:void 0})),e.SelectAllCommand=T(new r({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:_.MenuId.MenubarSelectionMenu,group:"1_basic",title:L.localize(4,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(5,null),order:1}]}))}),define(ne[189],se([1,0,602,52,20,49,16,33,496,74,204,205,246,12,5,21,15,118]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoreEditingCommands=e.CoreNavigationCommands=e.RevealLine_=e.EditorScroll_=e.CoreEditorCommand=void 0;const r=0;class c extends S.EditorCommand{runEditorCommand(P,x,T){const A=x._getViewModel();A&&this.runCoreEditorCommand(A,T||{})}}e.CoreEditorCommand=c;var o;(function(M){const P=function(T){if(!y.isObject(T))return!1;const A=T;return!(!y.isString(A.to)||!y.isUndefined(A.by)&&!y.isString(A.by)||!y.isUndefined(A.value)&&!y.isNumber(A.value)||!y.isUndefined(A.revealCursor)&&!y.isBoolean(A.revealCursor))};M.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage', 'editor'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:P,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage","editor"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},M.RawDirection={Up:"up",Right:"right",Down:"down",Left:"left"},M.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage",Editor:"editor",Column:"column"};function x(T){let A;switch(T.to){case M.RawDirection.Up:A=1;break;case M.RawDirection.Right:A=2;break;case M.RawDirection.Down:A=3;break;case M.RawDirection.Left:A=4;break;default:return null}let N;switch(T.by){case M.RawUnit.Line:N=1;break;case M.RawUnit.WrappedLine:N=2;break;case M.RawUnit.Page:N=3;break;case M.RawUnit.HalfPage:N=4;break;case M.RawUnit.Editor:N=5;break;case M.RawUnit.Column:N=6;break;default:N=2}const F=Math.floor(T.value||1),O=!!T.revealCursor;return{direction:A,unit:N,value:F,revealCursor:O,select:!!T.select}}M.parse=x})(o||(e.EditorScroll_=o={}));var d;(function(M){const P=function(x){if(!y.isObject(x))return!1;const T=x;return!(!y.isNumber(T.lineNumber)&&!y.isString(T.lineNumber)||!y.isUndefined(T.at)&&!y.isString(T.at))};M.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed.\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:P,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},M.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}})(d||(e.RevealLine_=d={}));class l{constructor(P){P.addImplementation(1e4,"code-editor",(x,T)=>{const A=x.get(f.ICodeEditorService).getFocusedCodeEditor();return A&&A.hasTextFocus()?this._runEditorCommand(x,A,T):!1}),P.addImplementation(1e3,"generic-dom-input-textarea",(x,T)=>{const A=document.activeElement;return A&&["input","textarea"].indexOf(A.tagName.toLowerCase())>=0?(this.runDOMCommand(),!0):!1}),P.addImplementation(0,"generic-dom",(x,T)=>{const A=x.get(f.ICodeEditorService).getActiveCodeEditor();return A?(A.focus(),this._runEditorCommand(x,A,T)):!1})}_runEditorCommand(P,x,T){const A=this.runEditorCommand(P,x,T);return A||!0}}var p;(function(M){class P extends c{constructor(B){super(B),this._inSelectionMode=B.inSelectionMode}runCoreEditorCommand(B,V){if(!V.position)return;B.model.pushStackElement(),B.setCursorStates(V.source,3,[s.CursorMoveCommands.moveTo(B,B.getPrimaryCursorState(),this._inSelectionMode,V.position,V.viewPosition)])&&V.revealType!==2&&B.revealPrimaryCursor(V.source,!0,!0)}}M.MoveTo=(0,S.registerEditorCommand)(new P({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),M.MoveToSelect=(0,S.registerEditorCommand)(new P({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class x extends c{runCoreEditorCommand(B,V){B.model.pushStackElement();const Y=this._getColumnSelectResult(B,B.getPrimaryCursorState(),B.getCursorColumnSelectData(),V);Y!==null&&(B.setCursorStates(V.source,3,Y.viewStates.map(ie=>g.CursorState.fromViewState(ie))),B.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:Y.fromLineNumber,fromViewVisualColumn:Y.fromVisualColumn,toViewLineNumber:Y.toLineNumber,toViewVisualColumn:Y.toVisualColumn}),Y.reversed?B.revealTopMostCursor(V.source):B.revealBottomMostCursor(V.source))}}M.ColumnSelect=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(H,B,V,Y){if(typeof Y.position>"u"||typeof Y.viewPosition>"u"||typeof Y.mouseColumn>"u")return null;const ie=H.model.validatePosition(Y.position),ae=H.coordinatesConverter.validateViewPosition(new n.Position(Y.viewPosition.lineNumber,Y.viewPosition.column),ie),ce=Y.doColumnSelect?V.fromViewLineNumber:ae.lineNumber,de=Y.doColumnSelect?V.fromViewVisualColumn:Y.mouseColumn-1;return _.ColumnSelection.columnSelect(H.cursorConfig,H,ce,de,ae.lineNumber,Y.mouseColumn-1)}}),M.CursorColumnSelectLeft=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectLeft(H.cursorConfig,H,V)}}),M.CursorColumnSelectRight=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectRight(H.cursorConfig,H,V)}});class T extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectUp(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectUp=(0,S.registerEditorCommand)(new T({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3600,linux:{primary:0}}})),M.CursorColumnSelectPageUp=(0,S.registerEditorCommand)(new T({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3595,linux:{primary:0}}}));class A extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectDown(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectDown=(0,S.registerEditorCommand)(new A({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3602,linux:{primary:0}}})),M.CursorColumnSelectPageDown=(0,S.registerEditorCommand)(new A({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3596,linux:{primary:0}}}));class N extends c{constructor(){super({id:"cursorMove",precondition:void 0,description:s.CursorMove.description})}runCoreEditorCommand(B,V){const Y=s.CursorMove.parse(V);Y&&this._runCursorMove(B,V.source,Y)}_runCursorMove(B,V,Y){B.model.pushStackElement(),B.setCursorStates(V,3,N._move(B,B.getCursorStates(),Y)),B.revealPrimaryCursor(V,!0)}static _move(B,V,Y){const ie=Y.select,ae=Y.value;switch(Y.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return s.CursorMoveCommands.simpleMove(B,V,Y.direction,ie,ae,Y.unit);case 11:case 13:case 12:case 14:return s.CursorMoveCommands.viewportMove(B,V,Y.direction,ie,ae);default:return null}}}M.CursorMoveImpl=N,M.CursorMove=(0,S.registerEditorCommand)(new N);class F extends c{constructor(B){super(B),this._staticArgs=B.args}runCoreEditorCommand(B,V){let Y=this._staticArgs;this._staticArgs.value===-1&&(Y={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:V.pageSize||B.cursorConfig.pageSize}),B.model.pushStackElement(),B.setCursorStates(V.source,3,s.CursorMoveCommands.simpleMove(B,B.getCursorStates(),Y.direction,Y.select,Y.value,Y.unit)),B.revealPrimaryCursor(V.source,!0)}}M.CursorLeft=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),M.CursorLeftSelect=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1039}})),M.CursorRight=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),M.CursorRightSelect=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1041}})),M.CursorUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),M.CursorUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),M.CursorPageUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:11}})),M.CursorPageUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1035}})),M.CursorDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),M.CursorDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),M.CursorPageDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:12}})),M.CursorPageDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1036}})),M.CreateCursor=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(H,B){if(!B.position)return;let V;B.wholeLine?V=s.CursorMoveCommands.line(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition):V=s.CursorMoveCommands.moveTo(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition);const Y=H.getCursorStates();if(Y.length>1){const ie=V.modelState?V.modelState.position:null,ae=V.viewState?V.viewState.position:null;for(let ce=0,de=Y.length;ceae&&(ie=ae);const ce=new t.Range(ie,1,ie,H.model.getLineMaxColumn(ie));let de=0;if(V.at)switch(V.at){case d.RawAtArgument.Top:de=3;break;case d.RawAtArgument.Center:de=1;break;case d.RawAtArgument.Bottom:de=4;break;default:break}const he=H.coordinatesConverter.convertModelRangeToViewRange(ce);H.revealRange(B.source,!1,he,de,0)}}),M.SelectAll=new class extends l{constructor(){super(S.SelectAllCommand)}runDOMCommand(){k.isFirefox&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(H,B,V){const Y=B._getViewModel();Y&&this.runCoreEditorCommand(Y,V)}runCoreEditorCommand(H,B){H.model.pushStackElement(),H.setCursorStates("keyboard",3,[s.CursorMoveCommands.selectAll(H,H.getPrimaryCursorState())])}},M.SetSelection=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(H,B){B.selection&&(H.model.pushStackElement(),H.setCursorStates(B.source,3,[g.CursorState.fromModelSelection(B.selection)]))}})})(p||(e.CoreNavigationCommands=p={}));const m=u.ContextKeyExpr.and(a.EditorContextKeys.textInputFocus,a.EditorContextKeys.columnSelection);function v(M,P){h.KeybindingsRegistry.registerKeybindingRule({id:M,primary:P,when:m,weight:r+1})}v(p.CursorColumnSelectLeft.id,1039),v(p.CursorColumnSelectRight.id,1041),v(p.CursorColumnSelectUp.id,1040),v(p.CursorColumnSelectPageUp.id,1035),v(p.CursorColumnSelectDown.id,1042),v(p.CursorColumnSelectPageDown.id,1036);function b(M){return M.register(),M}var w;(function(M){class P extends S.EditorCommand{runEditorCommand(T,A,N){const F=A._getViewModel();F&&this.runCoreEditingCommand(A,F,N||{})}}M.CoreEditingCommand=P,M.LineBreakInsert=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"lineBreakInsert",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.lineBreakInsert(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection)))}}),M.Outdent=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"outdent",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.outdent(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.Tab=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"tab",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.tab(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.DeleteLeft=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteLeft(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection),T.getCursorAutoClosedCharacters());N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(2)}}),M.DeleteRight=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteRight(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection));N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(3)}}),M.Undo=new class extends l{constructor(){super(S.UndoCommand)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().undo()}},M.Redo=new class extends l{constructor(){super(S.RedoCommand)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().redo()}}})(w||(e.CoreEditingCommands=w={}));class E extends S.Command{constructor(P,x,T){super({id:P,precondition:void 0,description:T}),this._handlerId=x}runCommand(P,x){const T=P.get(f.ICodeEditorService).getFocusedCodeEditor();T&&T.trigger("keyboard",this._handlerId,x)}}function I(M,P){b(new E("default:"+M,M)),b(new E(M,M,P))}I("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I("replacePreviousChar"),I("compositionType"),I("compositionStart"),I("compositionEnd"),I("paste"),I("cut")}),define(ne[792],se([1,0,233,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsContribution=void 0;let y=class{constructor(S,f){}dispose(){}};e.MarkerDecorationsContribution=y,y.ID="editor.contrib.markerDecorations",e.MarkerDecorationsContribution=y=ke([fe(1,L.IMarkerDecorationsService)],y),(0,k.registerEditorContribution)(y.ID,y,0)}),define(ne[793],se([1,0,189,12,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewController=void 0;class D{constructor(f,_,g,C){this.configuration=f,this.viewModel=_,this.userInputEvents=g,this.commandDelegate=C}paste(f,_,g,C){this.commandDelegate.paste(f,_,g,C)}type(f){this.commandDelegate.type(f)}compositionType(f,_,g,C){this.commandDelegate.compositionType(f,_,g,C)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(f){L.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:f})}_validateViewColumn(f){const _=this.viewModel.getLineMinColumn(f.lineNumber);return f.column<_?new k.Position(f.lineNumber,_):f}_hasMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.altKey;case"ctrlKey":return f.ctrlKey;case"metaKey":return f.metaKey;default:return!1}}_hasNonMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.ctrlKey||f.metaKey;case"ctrlKey":return f.altKey||f.metaKey;case"metaKey":return f.ctrlKey||f.altKey;default:return!1}}dispatchMouse(f){const _=this.configuration.options,g=y.isLinux&&_.get(105),C=_.get(21);f.middleButton&&!g?this._columnSelect(f.position,f.mouseColumn,f.inSelectionMode):f.startedOnLineNumbers?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelect(f.position,f.revealType):this._createCursor(f.position,!0):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount>=4?this._selectAll():f.mouseDownCount===3?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelectDrag(f.position,f.revealType):this._lastCursorLineSelect(f.position,f.revealType):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount===2?f.onInjectedText||(this._hasMulticursorModifier(f)?this._lastCursorWordSelect(f.position,f.revealType):f.inSelectionMode?this._wordSelectDrag(f.position,f.revealType):this._wordSelect(f.position,f.revealType)):this._hasMulticursorModifier(f)?this._hasNonMulticursorModifier(f)||(f.shiftKey?this._columnSelect(f.position,f.mouseColumn,!0):f.inSelectionMode?this._lastCursorMoveToSelect(f.position,f.revealType):this._createCursor(f.position,!1)):f.inSelectionMode?f.altKey?this._columnSelect(f.position,f.mouseColumn,!0):C?this._columnSelect(f.position,f.mouseColumn,!0):this._moveToSelect(f.position,f.revealType):this.moveTo(f.position,f.revealType)}_usualArgs(f,_){return f=this._validateViewColumn(f),{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,revealType:_}}moveTo(f,_){L.CoreNavigationCommands.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_moveToSelect(f,_){L.CoreNavigationCommands.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_columnSelect(f,_,g){f=this._validateViewColumn(f),L.CoreNavigationCommands.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,mouseColumn:_,doColumnSelect:g})}_createCursor(f,_){f=this._validateViewColumn(f),L.CoreNavigationCommands.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,wholeLine:_})}_lastCursorMoveToSelect(f,_){L.CoreNavigationCommands.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelect(f,_){L.CoreNavigationCommands.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelectDrag(f,_){L.CoreNavigationCommands.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorWordSelect(f,_){L.CoreNavigationCommands.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelect(f,_){L.CoreNavigationCommands.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelectDrag(f,_){L.CoreNavigationCommands.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelect(f,_){L.CoreNavigationCommands.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelectDrag(f,_){L.CoreNavigationCommands.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_selectAll(){L.CoreNavigationCommands.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(f){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(f)}emitKeyDown(f){this.userInputEvents.emitKeyDown(f)}emitKeyUp(f){this.userInputEvents.emitKeyUp(f)}emitContextMenu(f){this.userInputEvents.emitContextMenu(f)}emitMouseMove(f){this.userInputEvents.emitMouseMove(f)}emitMouseLeave(f){this.userInputEvents.emitMouseLeave(f)}emitMouseUp(f){this.userInputEvents.emitMouseUp(f)}emitMouseDown(f){this.userInputEvents.emitMouseDown(f)}emitMouseDrag(f){this.userInputEvents.emitMouseDrag(f)}emitMouseDrop(f){this.userInputEvents.emitMouseDrop(f)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(f){this.userInputEvents.emitMouseWheel(f)}}e.ViewController=D}),define(ne[348],se([1,0,6,58,66,109,115,79]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.WorkerBasedDocumentDiffProvider=void 0;let g=_=class{constructor(s,i,n){this.editorWorkerService=i,this.telemetryService=n,this.onDidChangeEventEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(s)}dispose(){var s;(s=this.diffAlgorithmOnDidChangeSubscription)===null||s===void 0||s.dispose()}computeDiff(s,i,n,t){var a,u;return we(this,void 0,void 0,function*(){if(typeof this.diffAlgorithm!="string")return this.diffAlgorithm.computeDiff(s,i,n,t);if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return i.getLineCount()===1&&i.getLineMaxColumn(1)===1?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new D.LineRangeMapping(new y.LineRange(1,2),new y.LineRange(1,i.getLineCount()+1),[new D.RangeMapping(s.getFullModelRange(),i.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};const h=JSON.stringify([s.uri.toString(),i.uri.toString()]),r=JSON.stringify([s.id,i.id,s.getAlternativeVersionId(),i.getAlternativeVersionId(),JSON.stringify(n)]),c=_.diffCache.get(h);if(c&&c.context===r)return c.result;const o=k.StopWatch.create(),d=yield this.editorWorkerService.computeDiff(s.uri,i.uri,n,this.diffAlgorithm),l=o.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:l,timedOut:(a=d?.quitEarly)!==null&&a!==void 0?a:!0,detectedMoves:n.computeMoves?(u=d?.moves.length)!==null&&u!==void 0?u:0:-1}),t.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!d)throw new Error("no diff result available");return _.diffCache.size>10&&_.diffCache.delete(_.diffCache.keys().next().value),_.diffCache.set(h,{result:d,context:r}),d})}setOptions(s){var i;let n=!1;s.diffAlgorithm&&this.diffAlgorithm!==s.diffAlgorithm&&((i=this.diffAlgorithmOnDidChangeSubscription)===null||i===void 0||i.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=s.diffAlgorithm,typeof s.diffAlgorithm!="string"&&(this.diffAlgorithmOnDidChangeSubscription=s.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),n=!0),n&&this.onDidChangeEventEmitter.fire()}};e.WorkerBasedDocumentDiffProvider=g,g.diffCache=new Map,e.WorkerBasedDocumentDiffProvider=g=_=ke([fe(1,S.IEditorWorkerService),fe(2,f.ITelemetryService)],g)}),define(ne[794],se([1,0,49,55,63,16,24,21,632,15,436]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";var C;Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionAnchorSet=void 0,e.SelectionAnchorSet=new g.RawContextKey("selectionAnchorSet",!1);let s=C=class{static get(h){return h.getContribution(C.ID)}constructor(h,r){this.editor=h,this.selectionAnchorSetContextKey=e.SelectionAnchorSet.bindTo(r),this.modelChangeListener=h.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const h=this.editor.getPosition();this.editor.changeDecorations(r=>{this.decorationId&&r.removeDecoration(this.decorationId),this.decorationId=r.addDecoration(S.Selection.fromPositions(h,h),{description:"selection-anchor",stickiness:1,hoverMessage:new k.MarkdownString().appendText((0,_.localize)(0,null)),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,L.alert)((0,_.localize)(1,null,h.lineNumber,h.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);h&&this.editor.setPosition(h.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);if(h){const r=this.editor.getPosition();this.editor.setSelection(S.Selection.fromPositions(h.getStartPosition(),r)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const h=this.decorationId;this.editor.changeDecorations(r=>{r.removeDecoration(h),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};s.ID="editor.contrib.selectionAnchorController",s=C=ke([fe(1,g.IContextKeyService)],s);class i extends D.EditorAction{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,_.localize)(2,null),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2080),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.setSelectionAnchor()})}}class n extends D.EditorAction{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,_.localize)(3,null),alias:"Go to Selection Anchor",precondition:e.SelectionAnchorSet})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.goToSelectionAnchor()})}}class t extends D.EditorAction{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,_.localize)(4,null),alias:"Select from Anchor to Cursor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2089),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.selectFromAnchorToCursor()})}}class a extends D.EditorAction{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,_.localize)(5,null),alias:"Cancel Selection Anchor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:9,weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.cancelSelectionAnchor()})}}(0,D.registerEditorContribution)(s.ID,s,4),(0,D.registerEditorAction)(i),(0,D.registerEditorAction)(n),(0,D.registerEditorAction)(t),(0,D.registerEditorAction)(a)}),define(ne[795],se([1,0,16,21,537,634]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class S extends L.EditorAction{constructor(C,s){super(s),this.left=C}run(C,s){if(!s.hasModel())return;const i=[],n=s.getSelections();for(const t of n)i.push(new y.MoveCaretCommand(t,this.left));s.pushUndoStop(),s.executeCommands(this.id,i),s.pushUndoStop()}}class f extends S{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:D.localize(0,null),alias:"Move Selected Text Left",precondition:k.EditorContextKeys.writable})}}class _ extends S{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:D.localize(1,null),alias:"Move Selected Text Right",precondition:k.EditorContextKeys.writable})}}(0,L.registerEditorAction)(f),(0,L.registerEditorAction)(_)}),define(ne[796],se([1,0,16,123,203,5,21,635]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class _ extends L.EditorAction{constructor(){super({id:"editor.action.transposeLetters",label:f.localize(0,null),alias:"Transpose Letters",precondition:S.EditorContextKeys.writable,kbOpts:{kbExpr:S.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(C,s){if(!s.hasModel())return;const i=s.getModel(),n=[],t=s.getSelections();for(const a of t){if(!a.isEmpty())continue;const u=a.startLineNumber,h=a.startColumn,r=i.getLineMaxColumn(u);if(u===1&&(h===1||h===2&&r===2))continue;const c=h===r?a.getPosition():y.MoveOperations.rightPosition(i,a.getPosition().lineNumber,a.getPosition().column),o=y.MoveOperations.leftPosition(i,c),d=y.MoveOperations.leftPosition(i,o),l=i.getValueInRange(D.Range.fromPositions(d,o)),p=i.getValueInRange(D.Range.fromPositions(o,c)),m=D.Range.fromPositions(d,c);n.push(new k.ReplaceCommand(m,p+l))}n.length>0&&(s.pushUndoStop(),s.executeCommands(this.id,n),s.pushUndoStop())}}(0,L.registerEditorAction)(_)}),define(ne[797],se([1,0,52,17,185,16,33,21,636,30,96,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PasteAction=e.CopyAction=e.CutAction=void 0;const i="9_cutcopypaste",n=k.isNative||document.queryCommandSupported("cut"),t=k.isNative||document.queryCommandSupported("copy"),a=typeof navigator.clipboard>"u"||L.isFirefox?document.queryCommandSupported("paste"):!0;function u(c){return c.register(),c}e.CutAction=n?u(new D.MultiCommand({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:k.isNative?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(0,null),order:1},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(1,null),when:f.EditorContextKeys.writable,order:1},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(2,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(3,null),when:f.EditorContextKeys.writable,order:1}]})):void 0,e.CopyAction=t?u(new D.MultiCommand({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:k.isNative?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(4,null),order:2},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(5,null),order:2},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(6,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(7,null),order:2}]})):void 0,g.MenuRegistry.appendMenuItem(g.MenuId.MenubarEditMenu,{submenu:g.MenuId.MenubarCopy,title:{value:_.localize(8,null),original:"Copy As"},group:"2_ccp",order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextCopy,title:{value:_.localize(9,null),original:"Copy As"},group:i,order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextShare,title:{value:_.localize(10,null),original:"Share"},group:"11_share",order:-1,when:s.ContextKeyExpr.and(s.ContextKeyExpr.notEquals("resourceScheme","output"),f.EditorContextKeys.editorTextFocus)}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorTitleContext,{submenu:g.MenuId.EditorTitleContextShare,title:{value:_.localize(11,null),original:"Share"},group:"11_share",order:-1}),g.MenuRegistry.appendMenuItem(g.MenuId.ExplorerContext,{submenu:g.MenuId.ExplorerContextShare,title:{value:_.localize(12,null),original:"Share"},group:"11_share",order:-1}),e.PasteAction=a?u(new D.MultiCommand({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:k.isNative?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(13,null),order:4},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(14,null),when:f.EditorContextKeys.writable,order:4},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(15,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(16,null),when:f.EditorContextKeys.writable,order:4}]})):void 0;class h extends D.EditorAction{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:_.localize(17,null),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.textInputFocus,primary:0,weight:100}})}run(o,d){!d.hasModel()||!d.getOption(36)&&d.getSelection().isEmpty()||(y.CopyOptions.forceCopyWithSyntaxHighlighting=!0,d.focus(),document.execCommand("copy"),y.CopyOptions.forceCopyWithSyntaxHighlighting=!1)}}function r(c,o){c&&(c.addImplementation(1e4,"code-editor",(d,l)=>{const p=d.get(S.ICodeEditorService).getFocusedCodeEditor();if(p&&p.hasTextFocus()){const m=p.getOption(36),v=p.getSelection();return v&&v.isEmpty()&&!m||document.execCommand(o),!0}return!1}),c.addImplementation(0,"generic-dom",(d,l)=>(document.execCommand(o),!0)))}r(e.CutAction,"cut"),r(e.CopyAction,"copy"),e.PasteAction&&(e.PasteAction.addImplementation(1e4,"code-editor",(c,o)=>{const d=c.get(S.ICodeEditorService),l=c.get(C.IClipboardService),p=d.getFocusedCodeEditor();return p&&p.hasTextFocus()?!document.execCommand("paste")&&k.isWeb?(()=>we(void 0,void 0,void 0,function*(){const v=yield l.readText();if(v!==""){const b=y.InMemoryClipboardMetadataManager.INSTANCE.get(v);let w=!1,E=null,I=null;b&&(w=p.getOption(36)&&!!b.isFromEmptySelection,E=typeof b.multicursorText<"u"?b.multicursorText:null,I=b.mode),p.trigger("keyboard","paste",{text:v,pasteOnNewLine:w,multicursorText:E,mode:I})}}))():!0:!1}),e.PasteAction.addImplementation(0,"generic-dom",(c,o)=>(document.execCommand("paste"),!0))),t&&(0,D.registerEditorAction)(h)}),define(ne[798],se([1,0,63,16,5,21,32,290,539,646,30]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class s extends k.EditorAction{constructor(h,r){super(r),this._type=h}run(h,r){const c=h.get(S.ILanguageConfigurationService);if(!r.hasModel())return;const o=r.getModel(),d=[],l=o.getOptions(),p=r.getOption(22),m=r.getSelections().map((b,w)=>({selection:b,index:w,ignoreFirstLine:!1}));m.sort((b,w)=>y.Range.compareRangesUsingStarts(b.selection,w.selection));let v=m[0];for(let b=1;b{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeModelContent(n=>{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeCursorSelection(n=>{if(this._isCursorUndoRedo||!n.oldSelections||n.oldModelVersionId!==n.modelVersionId)return;const t=new S(n.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(t)||(this._undoStack.push(new f(t,i.getScrollTop(),i.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(i){this._isCursorUndoRedo=!0,this._editor.setSelections(i.cursorState.selections),this._editor.setScrollPosition({scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),this._isCursorUndoRedo=!1}}e.CursorUndoRedoController=_,_.ID="editor.contrib.cursorUndoRedoController";class g extends k.EditorAction{constructor(){super({id:"cursorUndo",label:D.localize(0,null),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2099,weight:100}})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorUndo()}}e.CursorUndo=g;class C extends k.EditorAction{constructor(){super({id:"cursorRedo",label:D.localize(1,null),alias:"Cursor Redo",precondition:void 0})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorRedo()}}e.CursorRedo=C,(0,k.registerEditorContribution)(_.ID,_,0),(0,k.registerEditorAction)(g),(0,k.registerEditorAction)(C)}),define(ne[800],se([1,0,16,15,19,64,8,50,654]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorKeybindingCancellationTokenSource=void 0;const g=(0,S.createDecorator)("IEditorCancelService"),C=new k.RawContextKey("cancellableOperation",!1,(0,_.localize)(0,null));(0,f.registerSingleton)(g,class{constructor(){this._tokens=new WeakMap}add(i,n){let t=this._tokens.get(i);t||(t=i.invokeWithinContext(u=>{const h=C.bindTo(u.get(k.IContextKeyService)),r=new D.LinkedList;return{key:h,tokens:r}}),this._tokens.set(i,t));let a;return t.key.set(!0),a=t.tokens.push(n),()=>{a&&(a(),t.key.set(!t.tokens.isEmpty()),a=void 0)}}cancel(i){const n=this._tokens.get(i);if(!n)return;const t=n.tokens.pop();t&&(t.cancel(),n.key.set(!n.tokens.isEmpty()))}},1);class s extends y.CancellationTokenSource{constructor(n,t){super(t),this.editor=n,this._unregister=n.invokeWithinContext(a=>a.get(g).add(n,this))}dispose(){this._unregister(),super.dispose()}}e.EditorKeybindingCancellationTokenSource=s,(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:C})}runEditorCommand(i,n){i.get(g).cancel(n)}})}),define(ne[104],se([1,0,11,5,19,2,800]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextModelCancellationTokenSource=e.EditorStateCancellationTokenSource=e.EditorState=void 0;class f{constructor(s,i){if(this.flags=i,this.flags&1){const n=s.getModel();this.modelVersionId=n?L.format("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;this.flags&4?this.position=s.getPosition():this.position=null,this.flags&2?this.selection=s.getSelection():this.selection=null,this.flags&8?(this.scrollLeft=s.getScrollLeft(),this.scrollTop=s.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(s){if(!(s instanceof f))return!1;const i=s;return!(this.modelVersionId!==i.modelVersionId||this.scrollLeft!==i.scrollLeft||this.scrollTop!==i.scrollTop||!this.position&&i.position||this.position&&!i.position||this.position&&i.position&&!this.position.equals(i.position)||!this.selection&&i.selection||this.selection&&!i.selection||this.selection&&i.selection&&!this.selection.equalsRange(i.selection))}validate(s){return this._equals(new f(s,this.flags))}}e.EditorState=f;class _ extends S.EditorKeybindingCancellationTokenSource{constructor(s,i,n,t){super(s,t),this._listener=new D.DisposableStore,i&4&&this._listener.add(s.onDidChangeCursorPosition(a=>{(!n||!k.Range.containsPosition(n,a.position))&&this.cancel()})),i&2&&this._listener.add(s.onDidChangeCursorSelection(a=>{(!n||!k.Range.containsRange(n,a.selection))&&this.cancel()})),i&8&&this._listener.add(s.onDidScrollChange(a=>this.cancel())),i&1&&(this._listener.add(s.onDidChangeModel(a=>this.cancel())),this._listener.add(s.onDidChangeModelContent(a=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}e.EditorStateCancellationTokenSource=_;class g extends y.CancellationTokenSource{constructor(s,i){super(i),this._listener=s.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}e.TextModelCancellationTokenSource=g}),define(ne[137],se([1,0,14,19,9,2,22,132,5,24,18,51,104,637,27,43,77,79,113]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyCodeAction=e.ApplyCodeActionReason=e.getCodeActions=e.fixAllCommandId=e.organizeImportsCommandId=e.sourceActionCommandId=e.refactorCommandId=e.autoFixCommandId=e.quickFixCommandId=e.codeActionCommandId=void 0,e.codeActionCommandId="editor.action.codeAction",e.quickFixCommandId="editor.action.quickFix",e.autoFixCommandId="editor.action.autoFix",e.refactorCommandId="editor.action.refactor",e.sourceActionCommandId="editor.action.sourceAction",e.organizeImportsCommandId="editor.action.organizeImports",e.fixAllCommandId="editor.action.fixAll";class c extends D.Disposable{static codeActionsPreferredComparator(I,M){return I.isPreferred&&!M.isPreferred?-1:!I.isPreferred&&M.isPreferred?1:0}static codeActionsComparator({action:I},{action:M}){return(0,L.isNonEmptyArray)(I.diagnostics)?(0,L.isNonEmptyArray)(M.diagnostics)?c.codeActionsPreferredComparator(I,M):-1:(0,L.isNonEmptyArray)(M.diagnostics)?1:c.codeActionsPreferredComparator(I,M)}constructor(I,M,P){super(),this.documentation=M,this._register(P),this.allActions=[...I].sort(c.codeActionsComparator),this.validActions=this.allActions.filter(({action:x})=>!x.disabled)}get hasAutoFix(){return this.validActions.some(({action:I})=>!!I.kind&&r.CodeActionKind.QuickFix.contains(new r.CodeActionKind(I.kind))&&!!I.isPreferred)}}const o={actions:[],documentation:void 0};function d(E,I,M,P,x,T){var A;return we(this,void 0,void 0,function*(){const N=P.filter||{},F={only:(A=N.include)===null||A===void 0?void 0:A.value,trigger:P.type},O=new i.TextModelCancellationTokenSource(I,T),W=l(E,I,N),U=new D.DisposableStore,j=W.map(K=>we(this,void 0,void 0,function*(){try{x.report(K);const G=yield K.provideCodeActions(I,M,F,O.token);if(G&&U.add(G),O.token.isCancellationRequested)return o;const Z=(G?.actions||[]).filter(X=>X&&(0,r.filtersAction)(N,X)),J=m(K,Z,N.include);return{actions:Z.map(X=>new r.CodeActionItem(X,K)),documentation:J}}catch(G){if((0,y.isCancellationError)(G))throw G;return(0,y.onUnexpectedExternalError)(G),o}})),R=E.onDidChange(()=>{const K=E.all(I);(0,L.equals)(K,W)||O.cancel()});try{const K=yield Promise.all(j),G=K.map(J=>J.actions).flat(),Z=[...(0,L.coalesce)(K.map(J=>J.documentation)),...p(E,I,P,G)];return new c(G,Z,U)}finally{R.dispose(),O.dispose()}})}e.getCodeActions=d;function l(E,I,M){return E.all(I).filter(P=>P.providedCodeActionKinds?P.providedCodeActionKinds.some(x=>(0,r.mayIncludeActionsOfKind)(M,new r.CodeActionKind(x))):!0)}function*p(E,I,M,P){var x,T,A;if(I&&P.length)for(const N of E.all(I))N._getAdditionalMenuItems&&(yield*(x=N._getAdditionalMenuItems)===null||x===void 0?void 0:x.call(N,{trigger:M.type,only:(A=(T=M.filter)===null||T===void 0?void 0:T.include)===null||A===void 0?void 0:A.value},P.map(F=>F.action)))}function m(E,I,M){if(!E.documentation)return;const P=E.documentation.map(x=>({kind:new r.CodeActionKind(x.kind),command:x.command}));if(M){let x;for(const T of P)T.kind.contains(M)&&(x?x.kind.contains(T.kind)&&(x=T):x=T);if(x)return x?.command}for(const x of I)if(x.kind){for(const T of P)if(T.kind.contains(new r.CodeActionKind(x.kind)))return T.command}}var v;(function(E){E.OnSave="onSave",E.FromProblemsView="fromProblemsView",E.FromCodeActions="fromCodeActions"})(v||(e.ApplyCodeActionReason=v={}));function b(E,I,M,P,x=k.CancellationToken.None){var T;return we(this,void 0,void 0,function*(){const A=E.get(f.IBulkEditService),N=E.get(t.ICommandService),F=E.get(h.ITelemetryService),O=E.get(a.INotificationService);if(F.publicLog2("codeAction.applyCodeAction",{codeActionTitle:I.action.title,codeActionKind:I.action.kind,codeActionIsPreferred:!!I.action.isPreferred,reason:M}),yield I.resolve(x),!x.isCancellationRequested&&!(!((T=I.action.edit)===null||T===void 0)&&T.edits.length&&!(yield A.apply(I.action.edit,{editor:P?.editor,label:I.action.title,quotableLabel:I.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:M!==v.OnSave,showPreview:P?.preview})).isApplied)&&I.action.command)try{yield N.executeCommand(I.action.command.id,...I.action.command.arguments||[])}catch(W){const U=w(W);O.error(typeof U=="string"?U:n.localize(0,null))}})}e.applyCodeAction=b;function w(E){return typeof E=="string"?E:E instanceof Error&&typeof E.message=="string"?E.message:void 0}t.CommandsRegistry.registerCommand("_executeCodeActionProvider",function(E,I,M,P,x){return we(this,void 0,void 0,function*(){if(!(I instanceof S.URI))throw(0,y.illegalArgument)();const{codeActionProvider:T}=E.get(C.ILanguageFeaturesService),A=E.get(s.IModelService).getModel(I);if(!A)throw(0,y.illegalArgument)();const N=g.Selection.isISelection(M)?g.Selection.liftSelection(M):_.Range.isIRange(M)?A.validateRange(M):void 0;if(!N)throw(0,y.illegalArgument)();const F=typeof P=="string"?new r.CodeActionKind(P):void 0,O=yield d(T,A,N,{type:1,triggerAction:r.CodeActionTriggerSource.Default,filter:{includeSourceActions:!0,include:F}},u.Progress.None,k.CancellationToken.None),W=[],U=Math.min(O.validActions.length,typeof x=="number"?x:0);for(let j=0;jj.action)}finally{setTimeout(()=>O.dispose(),100)}})})}),define(ne[801],se([1,0,100,137,113,34]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionKeybindingResolver=void 0;let f=S=class{constructor(g){this.keybindingService=g}getResolver(){const g=new L.Lazy(()=>this.keybindingService.getKeybindings().filter(C=>S.codeActionCommands.indexOf(C.command)>=0).filter(C=>C.resolvedKeybinding).map(C=>{let s=C.commandArgs;return C.command===k.organizeImportsCommandId?s={kind:y.CodeActionKind.SourceOrganizeImports.value}:C.command===k.fixAllCommandId&&(s={kind:y.CodeActionKind.SourceFixAll.value}),Object.assign({resolvedKeybinding:C.resolvedKeybinding},y.CodeActionCommandArgs.fromUser(s,{kind:y.CodeActionKind.None,apply:"never"}))}));return C=>{if(C.kind){const s=this.bestKeybindingForCodeAction(C,g.value);return s?.resolvedKeybinding}}}bestKeybindingForCodeAction(g,C){if(!g.kind)return;const s=new y.CodeActionKind(g.kind);return C.filter(i=>i.kind.contains(s)).filter(i=>i.preferred?g.isPreferred:!0).reduceRight((i,n)=>i?i.kind.contains(n.kind)?n:i:n,void 0)}};e.CodeActionKeybindingResolver=f,f.codeActionCommands=[k.refactorCommandId,k.codeActionCommandId,k.sourceActionCommandId,k.organizeImportsCommandId,k.fixAllCommandId],e.CodeActionKeybindingResolver=f=S=ke([fe(0,D.IKeybindingService)],f)}),define(ne[349],se([1,0,13,9,6,2,45,15,77,113,137]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionModel=e.CodeActionsState=e.SUPPORTED_CODE_ACTIONS=void 0,e.SUPPORTED_CODE_ACTIONS=new f.RawContextKey("supportedCodeAction","");class s extends D.Disposable{constructor(u,h,r,c=250){super(),this._editor=u,this._markerService=h,this._signalChange=r,this._delay=c,this._autoTriggerTimer=this._register(new L.TimeoutTimer),this._register(this._markerService.onMarkerChanged(o=>this._onMarkerChanges(o))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(u){const h=this._getRangeOfSelectionUnlessWhitespaceEnclosed(u);this._signalChange(h?{trigger:u,selection:h}:void 0)}_onMarkerChanges(u){const h=this._editor.getModel();h&&u.some(r=>(0,S.isEqual)(r,h.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(u){if(!this._editor.hasModel())return;const h=this._editor.getModel(),r=this._editor.getSelection();if(r.isEmpty()&&u.type===2){const{lineNumber:c,column:o}=r.getPosition(),d=h.getLineContent(c);if(d.length===0)return;if(o===1){if(/\s/.test(d[0]))return}else if(o===h.getLineMaxColumn(c)){if(/\s/.test(d[d.length-1]))return}else if(/\s/.test(d[o-2])&&/\s/.test(d[o-1]))return}return r}}var i;(function(a){a.Empty={type:0};class u{constructor(r,c,o){this.trigger=r,this.position=c,this._cancellablePromise=o,this.type=1,this.actions=o.catch(d=>{if((0,k.isCancellationError)(d))return n;throw d})}cancel(){this._cancellablePromise.cancel()}}a.Triggered=u})(i||(e.CodeActionsState=i={}));const n=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1});class t extends D.Disposable{constructor(u,h,r,c,o){super(),this._editor=u,this._registry=h,this._markerService=r,this._progressService=o,this._codeActionOracle=this._register(new D.MutableDisposable),this._state=i.Empty,this._onDidChangeState=this._register(new y.Emitter),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=e.SUPPORTED_CODE_ACTIONS.bindTo(c),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(i.Empty,!0))}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(i.Empty);const u=this._editor.getModel();if(u&&this._registry.has(u)&&!this._editor.getOption(89)){const h=this._registry.all(u).flatMap(r=>{var c;return(c=r.providedCodeActionKinds)!==null&&c!==void 0?c:[]});this._supportedCodeActions.set(h.join(" ")),this._codeActionOracle.value=new s(this._editor,this._markerService,r=>{var c;if(!r){this.setState(i.Empty);return}const o=(0,L.createCancelablePromise)(d=>(0,C.getCodeActions)(this._registry,u,r.selection,r.trigger,_.Progress.None,d));r.trigger.type===1&&((c=this._progressService)===null||c===void 0||c.showWhile(o,250)),this.setState(new i.Triggered(r.trigger,r.selection.getStartPosition(),o))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})}else this._supportedCodeActions.reset()}trigger(u){var h;(h=this._codeActionOracle.value)===null||h===void 0||h.trigger(u)}setState(u,h){u!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=u,!h&&!this._disposed&&this._onDidChangeState.fire(u))}}e.CodeActionModel=t}),define(ne[350],se([1,0,7,61,25,6,2,26,207,137,642,34,438]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.LightBulbWidget=void 0;var n;(function(a){a.Hidden={type:0};class u{constructor(r,c,o,d){this.actions=r,this.trigger=c,this.editorPosition=o,this.widgetPosition=d,this.type=1}}a.Showing=u})(n||(n={}));let t=i=class extends S.Disposable{constructor(u,h){super(),this._editor=u,this._onClick=this._register(new D.Emitter),this.onClick=this._onClick.event,this._state=n.Hidden,this._domNode=L.$("div.lightBulbWidget"),this._register(k.Gesture.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(r=>{const c=this._editor.getModel();(this.state.type!==1||!c||this.state.editorPosition.lineNumber>=c.getLineCount())&&this.hide()})),this._register(L.addStandardDisposableGenericMouseDownListener(this._domNode,r=>{if(this.state.type!==1)return;this._editor.focus(),r.preventDefault();const{top:c,height:o}=L.getDomNodePagePosition(this._domNode),d=this._editor.getOption(65);let l=Math.floor(d/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(r.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(63)&&!this._editor.getOption(63).enabled&&this.hide()})),this._register(D.Event.runAndSubscribe(h.onDidUpdateKeybindings,()=>{var r,c,o,d;this._preferredKbLabel=(c=(r=h.lookupKeybinding(g.autoFixCommandId))===null||r===void 0?void 0:r.getLabel())!==null&&c!==void 0?c:void 0,this._quickFixKbLabel=(d=(o=h.lookupKeybinding(g.quickFixCommandId))===null||o===void 0?void 0:o.getLabel())!==null&&d!==void 0?d:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(u,h,r){if(u.validActions.length<=0)return this.hide();const c=this._editor.getOptions();if(!c.get(63).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:d,column:l}=o.validatePosition(r),p=o.getOptions().tabSize,m=c.get(49),v=o.getLineContent(d),b=(0,_.computeIndentLevel)(v,p),w=m.spaceWidth*b>22,E=M=>M>2&&this._editor.getTopForLineNumber(M)===this._editor.getTopForLineNumber(M-1);let I=d;if(!w){if(d>1&&!E(d-1))I-=1;else if(!E(d+1))I+=1;else if(l*m.spaceWidth<22)return this.hide()}this.state=new n.Showing(u,h,r,{position:{lineNumber:I,column:1},preference:i._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==n.Hidden&&(this.state=n.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(u){this._state=u,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix&&(this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._preferredKbLabel)){this.title=C.localize(0,null,this._preferredKbLabel);return}this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._quickFixKbLabel?this.title=C.localize(1,null,this._quickFixKbLabel):this.title=C.localize(2,null)}set title(u){this._domNode.title=u}};e.LightBulbWidget=t,t.ID="editor.contrib.lightbulbWidget",t._posPref=[0],e.LightBulbWidget=t=i=ke([fe(1,s.IKeybindingService)],t)}),define(ne[802],se([1,0,16,145,659]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomIn",label:y.localize(0,null),alias:"Editor Font Zoom In",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()+1)}}class S extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomOut",label:y.localize(1,null),alias:"Editor Font Zoom Out",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()-1)}}class f extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomReset",label:y.localize(2,null),alias:"Editor Font Zoom Reset",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(0)}}(0,L.registerEditorAction)(D),(0,L.registerEditorAction)(S),(0,L.registerEditorAction)(f)}),define(ne[351],se([1,0,49,14,19,9,46,64,20,22,104,177,12,5,24,115,69,294,660,27,744,8,18,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOnTypeFormattingEdits=e.getDocumentFormattingEditsUntilResult=e.getDocumentRangeFormattingEditsUntilResult=e.formatDocumentWithProvider=e.formatDocumentWithSelectedProvider=e.formatDocumentRangesWithProvider=e.formatDocumentRangesWithSelectedProvider=e.FormattingConflicts=e.getRealAndSyntheticDocumentFormattersOrdered=e.alertFormattingEdits=void 0;function m(A){if(A=A.filter(W=>W.range),!A.length)return;let{range:N}=A[0];for(let W=1;W0&&n.Range.areIntersectingOrTouching(J[X-1],ie)?J[X-1]=n.Range.fromPositions(J[X-1].getStartPosition(),ie.getEndPosition()):X=J.push(ie);const H=ie=>we(this,void 0,void 0,function*(){var ae,ce;K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(ae=N.extensionId)===null||ae===void 0?void 0:ae.value,ie);const de=(yield N.provideDocumentRangeFormattingEdits(G,ie,G.getFormattingOptions(),Z.token))||[];return K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(ce=N.extensionId)===null||ce===void 0?void 0:ce.value,de),de}),B=(ie,ae)=>{if(!ie.length||!ae.length)return!1;const ce=ie.reduce((de,he)=>n.Range.plusRange(de,he.range),ie[0].range);if(!ae.some(de=>n.Range.intersectRanges(ce,de.range)))return!1;for(const de of ie)for(const he of ae)if(n.Range.intersectRanges(de.range,he.range))return!0;return!1},V=[],Y=[];try{if(typeof N.provideDocumentRangesFormattingEdits=="function"){K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(U=N.extensionId)===null||U===void 0?void 0:U.value,J);const ie=(yield N.provideDocumentRangesFormattingEdits(G,J,G.getFormattingOptions(),Z.token))||[];K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(j=N.extensionId)===null||j===void 0?void 0:j.value,ie),Y.push(ie)}else{for(const ie of J){if(Z.token.isCancellationRequested)return!0;Y.push(yield H(ie))}for(let ie=0;ie({text:ce.text,range:n.Range.lift(ce.range),forceMoveMarkers:!0})),ce=>{for(const{range:de}of ce)if(n.Range.areIntersectingOrTouching(de,ae))return[new t.Selection(de.startLineNumber,de.startColumn,de.endLineNumber,de.endColumn)];return null})}return!0})}e.formatDocumentRangesWithProvider=E;function I(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(d.IInstantiationService),j=A.get(l.ILanguageFeaturesService),R=(0,s.isCodeEditor)(N)?N.getModel():N,K=v(j.documentFormattingEditProvider,j.documentRangeFormattingEditProvider,R),G=yield b.select(K,R,F);G&&(O.report(G),yield U.invokeFunction(M,G,N,F,W))})}e.formatDocumentWithSelectedProvider=I;function M(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(a.IEditorWorkerService);let j,R;(0,s.isCodeEditor)(F)?(j=F.getModel(),R=new C.EditorStateCancellationTokenSource(F,5,void 0,W)):(j=F,R=new C.TextModelCancellationTokenSource(F,W));let K;try{const G=yield N.provideDocumentFormattingEdits(j,j.getFormattingOptions(),R.token);if(K=yield U.computeMoreMinimalEdits(j.uri,G),R.token.isCancellationRequested)return!0}finally{R.dispose()}if(!K||K.length===0)return!1;if((0,s.isCodeEditor)(F))h.FormattingEdit.execute(F,K,O!==2),O!==2&&(m(K),F.revealPositionInCenterIfOutsideViewport(F.getPosition(),1));else{const[{range:G}]=K,Z=new t.Selection(G.startLineNumber,G.startColumn,G.endLineNumber,G.endColumn);j.pushEditOperations([Z],K.map(J=>({text:J.text,range:n.Range.lift(J.range),forceMoveMarkers:!0})),J=>{for(const{range:X}of J)if(n.Range.areIntersectingOrTouching(X,Z))return[new t.Selection(X.startLineNumber,X.startColumn,X.endLineNumber,X.endColumn)];return null})}return!0})}e.formatDocumentWithProvider=M;function P(A,N,F,O,W,U){return we(this,void 0,void 0,function*(){const j=N.documentRangeFormattingEditProvider.ordered(F);for(const R of j){const K=yield Promise.resolve(R.provideDocumentRangeFormattingEdits(F,O,W,U)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(K))return yield A.computeMoreMinimalEdits(F.uri,K)}})}e.getDocumentRangeFormattingEditsUntilResult=P;function x(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=v(N.documentFormattingEditProvider,N.documentRangeFormattingEditProvider,F);for(const j of U){const R=yield Promise.resolve(j.provideDocumentFormattingEdits(F,O,W)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(R))return yield A.computeMoreMinimalEdits(F.uri,R)}})}e.getDocumentFormattingEditsUntilResult=x;function T(A,N,F,O,W,U,j){const R=N.onTypeFormattingEditProvider.ordered(F);return R.length===0||R[0].autoFormatTriggerCharacters.indexOf(W)<0?Promise.resolve(void 0):Promise.resolve(R[0].provideOnTypeFormattingEdits(F,O,W,U,j)).catch(D.onUnexpectedExternalError).then(K=>A.computeMoreMinimalEdits(F.uri,K))}e.getOnTypeFormattingEdits=T,c.CommandsRegistry.registerCommand("_executeFormatRangeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(n.Range.isIRange(O));const U=A.get(u.ITextModelService),j=A.get(a.IEditorWorkerService),R=A.get(l.ILanguageFeaturesService),K=yield U.createModelReference(F);try{return P(j,R,K.object.textEditorModel,n.Range.lift(O),W,y.CancellationToken.None)}finally{K.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatDocumentProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O]=N;(0,_.assertType)(g.URI.isUri(F));const W=A.get(u.ITextModelService),U=A.get(a.IEditorWorkerService),j=A.get(l.ILanguageFeaturesService),R=yield W.createModelReference(F);try{return x(U,j,R.object.textEditorModel,O,y.CancellationToken.None)}finally{R.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatOnTypeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W,U]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(i.Position.isIPosition(O)),(0,_.assertType)(typeof W=="string");const j=A.get(u.ITextModelService),R=A.get(a.IEditorWorkerService),K=A.get(l.ILanguageFeaturesService),G=yield j.createModelReference(F);try{return T(R,K,G.object.textEditorModel,i.Position.lift(O),W,U,y.CancellationToken.None)}finally{G.dispose()}})})}),define(ne[803],se([1,0,14,19,9,63,2,16,33,121,5,21,115,18,351,294,661,27,15,8,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let d=class{constructor(b,w,E){this._editor=b,this._languageFeaturesService=w,this._workerService=E,this._disposables=new S.DisposableStore,this._sessionDisposables=new S.DisposableStore,this._disposables.add(w.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(b.onDidChangeModel(()=>this._update())),this._disposables.add(b.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(b.onDidChangeConfiguration(I=>{I.hasChanged(55)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(55)||!this._editor.hasModel())return;const b=this._editor.getModel(),[w]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(b);if(!w||!w.autoFormatTriggerCharacters)return;const E=new g.CharacterSet;for(const I of w.autoFormatTriggerCharacters)E.add(I.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(I=>{const M=I.charCodeAt(I.length-1);E.has(M)&&this._trigger(String.fromCharCode(M))}))}_trigger(b){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const w=this._editor.getModel(),E=this._editor.getPosition(),I=new k.CancellationTokenSource,M=this._editor.onDidChangeModelContent(P=>{if(P.isFlush){I.cancel(),M.dispose();return}for(let x=0,T=P.changes.length;x{I.token.isCancellationRequested||(0,L.isNonEmptyArray)(P)&&(a.FormattingEdit.execute(this._editor,P,!0),(0,t.alertFormattingEdits)(P))}).finally(()=>{M.dispose()})}};d.ID="editor.contrib.autoFormat",d=ke([fe(1,n.ILanguageFeaturesService),fe(2,i.IEditorWorkerService)],d);let l=class{constructor(b,w,E){this.editor=b,this._languageFeaturesService=w,this._instantiationService=E,this._callOnDispose=new S.DisposableStore,this._callOnModel=new S.DisposableStore,this._callOnDispose.add(b.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(b.onDidChangeModel(()=>this._update())),this._callOnDispose.add(b.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(w.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(54)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:b})=>this._trigger(b)))}_trigger(b){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(t.formatDocumentRangesWithSelectedProvider,this.editor,b,2,o.Progress.None,k.CancellationToken.None).catch(y.onUnexpectedError))}};l.ID="editor.contrib.formatOnPaste",l=ke([fe(1,n.ILanguageFeaturesService),fe(2,c.IInstantiationService)],l);class p extends f.EditorAction{constructor(){super({id:"editor.action.formatDocument",label:u.localize(0,null),alias:"Format Document",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.notInCompositeEditor,s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(b,w){return we(this,void 0,void 0,function*(){if(w.hasModel()){const E=b.get(c.IInstantiationService);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentWithSelectedProvider,w,1,o.Progress.None,k.CancellationToken.None),250)}})}}class m extends f.EditorAction{constructor(){super({id:"editor.action.formatSelection",label:u.localize(1,null),alias:"Format Selection",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2084),weight:100},contextMenuOpts:{when:s.EditorContextKeys.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(b,w){return we(this,void 0,void 0,function*(){if(!w.hasModel())return;const E=b.get(c.IInstantiationService),I=w.getModel(),M=w.getSelections().map(x=>x.isEmpty()?new C.Range(x.startLineNumber,1,x.startLineNumber,I.getLineMaxColumn(x.startLineNumber)):x);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentRangesWithSelectedProvider,w,M,1,o.Progress.None,k.CancellationToken.None),250)})}}(0,f.registerEditorContribution)(d.ID,d,2),(0,f.registerEditorContribution)(l.ID,l,2),(0,f.registerEditorAction)(p),(0,f.registerEditorAction)(m),h.CommandsRegistry.registerCommand("editor.action.format",v=>we(void 0,void 0,void 0,function*(){const b=v.get(_.ICodeEditorService).getFocusedCodeEditor();if(!b||!b.hasModel())return;const w=v.get(h.ICommandService);b.getSelection().isEmpty()?yield w.executeCommand("editor.action.formatDocument"):yield w.executeCommand("editor.action.formatSelection")}))}),define(ne[247],se([1,0,14,19,9,16,18,155]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReferencesAtPosition=e.getTypeDefinitionsAtPosition=e.getImplementationsAtPosition=e.getDeclarationsAtPosition=e.getDefinitionsAtPosition=void 0;function _(a,u,h,r){return we(this,void 0,void 0,function*(){const o=h.ordered(a).map(l=>Promise.resolve(r(l,a,u)).then(void 0,p=>{(0,y.onUnexpectedExternalError)(p)})),d=yield Promise.all(o);return(0,L.coalesce)(d.flat())})}function g(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDefinition(o,d,r))}e.getDefinitionsAtPosition=g;function C(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDeclaration(o,d,r))}e.getDeclarationsAtPosition=C;function s(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideImplementation(o,d,r))}e.getImplementationsAtPosition=s;function i(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideTypeDefinition(o,d,r))}e.getTypeDefinitionsAtPosition=i;function n(a,u,h,r,c){return _(u,h,a,(o,d,l)=>we(this,void 0,void 0,function*(){const p=yield o.provideReferences(d,l,{includeDeclaration:!0},c);if(!r||!p||p.length!==2)return p;const m=yield o.provideReferences(d,l,{includeDeclaration:!1},c);return m&&m.length===1?m:p}))}e.getReferencesAtPosition=n;function t(a){return we(this,void 0,void 0,function*(){const u=yield a(),h=new f.ReferencesModel(u,""),r=h.references.map(c=>c.link);return h.dispose(),r})}(0,D.registerModelAndPositionCommand)("_executeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=g(r.definitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeTypeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=i(r.typeDefinitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeDeclarationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=C(r.declarationProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeReferenceProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=n(r.referenceProvider,u,h,!1,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeImplementationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=s(r.implementationProvider,u,h,k.CancellationToken.None);return t(()=>c)})}),define(ne[804],se([1,0,6,2,45,16,33,5,670,15,50,8,34,118,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISymbolNavigationService=e.ctxHasSymbols=void 0,e.ctxHasSymbols=new g.RawContextKey("hasSymbols",!1,(0,_.localize)(0,null)),e.ISymbolNavigationService=(0,s.createDecorator)("ISymbolNavigationService");let a=class{constructor(r,c,o,d){this._editorService=c,this._notificationService=o,this._keybindingService=d,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=e.ctxHasSymbols.bindTo(r)}reset(){var r,c;this._ctxHasSymbols.reset(),(r=this._currentState)===null||r===void 0||r.dispose(),(c=this._currentMessage)===null||c===void 0||c.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(r){const c=r.parent.parent;if(c.references.length<=1){this.reset();return}this._currentModel=c,this._currentIdx=c.references.indexOf(r),this._ctxHasSymbols.set(!0),this._showMessage();const o=new u(this._editorService),d=o.onDidChange(l=>{if(this._ignoreEditorChange)return;const p=this._editorService.getActiveCodeEditor();if(!p)return;const m=p.getModel(),v=p.getPosition();if(!m||!v)return;let b=!1,w=!1;for(const E of c.references)if((0,y.isEqual)(E.uri,m.uri))b=!0,w=w||f.Range.containsPosition(E.range,v);else if(b)break;(!b||!w)&&this.reset()});this._currentState=(0,k.combinedDisposable)(o,d)}revealNext(r){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const c=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:c.uri,options:{selection:f.Range.collapseToStart(c.range),selectionRevealType:3}},r).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var r;(r=this._currentMessage)===null||r===void 0||r.dispose();const c=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),o=c?(0,_.localize)(1,null,this._currentIdx+1,this._currentModel.references.length,c.getLabel()):(0,_.localize)(2,null,this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(o)}};a=ke([fe(0,g.IContextKeyService),fe(1,S.ICodeEditorService),fe(2,t.INotificationService),fe(3,i.IKeybindingService)],a),(0,C.registerSingleton)(e.ISymbolNavigationService,a,1),(0,D.registerEditorCommand)(new class extends D.EditorCommand{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:e.ctxHasSymbols,kbOpts:{weight:100,primary:70}})}runEditorCommand(h,r){return h.get(e.ISymbolNavigationService).revealNext(r)}}),n.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:e.ctxHasSymbols,primary:9,handler(h){h.get(e.ISymbolNavigationService).reset()}});let u=class{constructor(r){this._listener=new Map,this._disposables=new k.DisposableStore,this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._disposables.add(r.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(r.onCodeEditorAdd(this._onDidAddEditor,this)),r.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,k.dispose)(this._listener.values())}_onDidAddEditor(r){this._listener.set(r,(0,k.combinedDisposable)(r.onDidChangeCursorPosition(c=>this._onDidChange.fire({editor:r})),r.onDidChangeModelContent(c=>this._onDidChange.fire({editor:r}))))}_onDidRemoveEditor(r){var c;(c=this._listener.get(r))===null||c===void 0||c.dispose(),this._listener.delete(r)}};u=ke([fe(0,S.ICodeEditorService)],u)}),define(ne[352],se([1,0,13,19,9,16,18]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverPromise=e.getHover=e.HoverProviderResult=void 0;class f{constructor(n,t,a){this.provider=n,this.hover=t,this.ordinal=a}}e.HoverProviderResult=f;function _(i,n,t,a,u){return we(this,void 0,void 0,function*(){try{const h=yield Promise.resolve(i.provideHover(t,a,u));if(h&&s(h))return new f(i,h,n)}catch(h){(0,y.onUnexpectedExternalError)(h)}})}function g(i,n,t,a){const h=i.ordered(n).map((r,c)=>_(r,c,n,t,a));return L.AsyncIterableObject.fromPromises(h).coalesce()}e.getHover=g;function C(i,n,t,a){return g(i,n,t,a).map(u=>u.hover).toPromise()}e.getHoverPromise=C,(0,D.registerModelAndPositionCommand)("_executeHoverProvider",(i,n,t)=>{const a=i.get(S.ILanguageFeaturesService);return C(a.hoverProvider,n,t,k.CancellationToken.None)});function s(i){const n=typeof i.range<"u",t=typeof i.contents<"u"&&i.contents&&i.contents.length>0;return n&&t}}),define(ne[248],se([1,0,7,14,13,55,2,117,12,5,41,352,672,28,56,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderMarkdownHovers=e.MarkdownHoverParticipant=e.MarkdownHover=void 0;const u=L.$;class h{constructor(d,l,p,m,v){this.owner=d,this.range=l,this.contents=p,this.isBeforeContent=m,this.ordinal=v}isValidForHoverAnchor(d){return d.type===1&&this.range.startColumn<=d.range.startColumn&&this.range.endColumn>=d.range.endColumn}}e.MarkdownHover=h;let r=class{constructor(d,l,p,m,v){this._editor=d,this._languageService=l,this._openerService=p,this._configurationService=m,this._languageFeaturesService=v,this.hoverOrdinal=3}createLoadingMessage(d){return new h(this,d.range,[new D.MarkdownString().appendText(i.localize(0,null))],!1,2e3)}computeSync(d,l){if(!this._editor.hasModel()||d.type!==1)return[];const p=this._editor.getModel(),m=d.range.startLineNumber,v=p.getLineMaxColumn(m),b=[];let w=1e3;const E=p.getLineLength(m),I=p.getLanguageIdAtPosition(d.range.startLineNumber,d.range.startColumn),M=this._editor.getOption(115),P=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:I});let x=!1;M>=0&&E>M&&d.range.startColumn>=M&&(x=!0,b.push(new h(this,d.range,[{value:i.localize(1,null)}],!1,w++))),!x&&typeof P=="number"&&E>=P&&b.push(new h(this,d.range,[{value:i.localize(2,null)}],!1,w++));let T=!1;for(const A of l){const N=A.range.startLineNumber===m?A.range.startColumn:1,F=A.range.endLineNumber===m?A.range.endColumn:v,O=A.options.hoverMessage;if(!O||(0,D.isEmptyMarkdownString)(O))continue;A.options.beforeContentClassName&&(T=!0);const W=new g.Range(d.range.startLineNumber,N,d.range.startLineNumber,F);b.push(new h(this,W,(0,k.asArray)(O),T,w++))}return b}computeAsync(d,l,p){if(!this._editor.hasModel()||d.type!==1)return y.AsyncIterableObject.EMPTY;const m=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(m))return y.AsyncIterableObject.EMPTY;const v=new _.Position(d.range.startLineNumber,d.range.startColumn);return(0,s.getHover)(this._languageFeaturesService.hoverProvider,m,v,p).filter(b=>!(0,D.isEmptyMarkdownString)(b.hover.contents)).map(b=>{const w=b.hover.range?g.Range.lift(b.hover.range):d.range;return new h(this,w,b.hover.contents,!1,b.ordinal)})}renderHoverParts(d,l){return c(d,l,this._editor,this._languageService,this._openerService)}};e.MarkdownHoverParticipant=r,e.MarkdownHoverParticipant=r=ke([fe(1,C.ILanguageService),fe(2,t.IOpenerService),fe(3,n.IConfigurationService),fe(4,a.ILanguageFeaturesService)],r);function c(o,d,l,p,m){d.sort((b,w)=>b.ordinal-w.ordinal);const v=new S.DisposableStore;for(const b of d)for(const w of b.contents){if((0,D.isEmptyMarkdownString)(w))continue;const E=u("div.hover-row.markdown-hover"),I=L.append(E,u("div.hover-contents")),M=v.add(new f.MarkdownRenderer({editor:l},p,m));v.add(M.onDidRenderAsync(()=>{I.className="hover-contents code-hover-contents",o.onContentsChanged()}));const P=v.add(M.render(w));I.appendChild(P.element),o.fragment.appendChild(E)}return v}e.renderMarkdownHovers=c}),define(ne[805],se([1,0,2,11,16,245,73,5,24,21,32,51,295,675,71,202,243]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentationToTabsCommand=e.IndentationToSpacesCommand=e.AutoIndentOnPaste=e.AutoIndentOnPasteCommand=e.ReindentSelectedLinesAction=e.ReindentLinesAction=e.DetectIndentation=e.ChangeTabDisplaySize=e.IndentUsingSpaces=e.IndentUsingTabs=e.ChangeIndentationSizeAction=e.IndentationToTabsAction=e.IndentationToSpacesAction=e.getReindentEditOperations=void 0;function h(x,T,A,N,F){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return[];const O=T.getLanguageConfiguration(x.getLanguageId()).indentationRules;if(!O)return[];for(N=Math.min(N,x.getLineCount());A<=N&&O.unIndentedLinePattern;){const B=x.getLineContent(A);if(!O.unIndentedLinePattern.test(B))break;A++}if(A>N-1)return[];const{tabSize:W,indentSize:U,insertSpaces:j}=x.getOptions(),R=(B,V)=>(V=V||1,D.ShiftCommand.shiftIndent(B,B.length+V,W,U,j)),K=(B,V)=>(V=V||1,D.ShiftCommand.unshiftIndent(B,B.length+V,W,U,j)),G=[];let Z;const J=x.getLineContent(A);let X=J;if(F!=null){Z=F;const B=k.getLeadingWhitespace(J);X=Z+J.substring(B.length),O.decreaseIndentPattern&&O.decreaseIndentPattern.test(X)&&(Z=K(Z),X=Z+J.substring(B.length)),J!==X&&G.push(S.EditOperation.replaceMove(new _.Selection(A,1,A,B.length+1),(0,a.normalizeIndentation)(Z,U,j)))}else Z=k.getLeadingWhitespace(J);let H=Z;O.increaseIndentPattern&&O.increaseIndentPattern.test(X)?(H=R(H),Z=R(Z)):O.indentNextLinePattern&&O.indentNextLinePattern.test(X)&&(H=R(H)),A++;for(let B=A;B<=N;B++){const V=x.getLineContent(B),Y=k.getLeadingWhitespace(V),ie=H+V.substring(Y.length);O.decreaseIndentPattern&&O.decreaseIndentPattern.test(ie)&&(H=K(H),Z=K(Z)),Y!==H&&G.push(S.EditOperation.replaceMove(new _.Selection(B,1,B,Y.length+1),(0,a.normalizeIndentation)(H,U,j))),!(O.unIndentedLinePattern&&O.unIndentedLinePattern.test(V))&&(O.increaseIndentPattern&&O.increaseIndentPattern.test(ie)?(Z=R(Z),H=Z):O.indentNextLinePattern&&O.indentNextLinePattern.test(ie)?H=R(H):H=Z)}return G}e.getReindentEditOperations=h;class r extends y.EditorAction{constructor(){super({id:r.ID,label:n.localize(0,null),alias:"Convert Indentation to Spaces",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new M(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!0})}}e.IndentationToSpacesAction=r,r.ID="editor.action.indentationToSpaces";class c extends y.EditorAction{constructor(){super({id:c.ID,label:n.localize(1,null),alias:"Convert Indentation to Tabs",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new P(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!1})}}e.IndentationToTabsAction=c,c.ID="editor.action.indentationToTabs";class o extends y.EditorAction{constructor(T,A,N){super(N),this.insertSpaces=T,this.displaySizeOnly=A}run(T,A){const N=T.get(t.IQuickInputService),F=T.get(s.IModelService),O=A.getModel();if(!O)return;const W=F.getCreationOptions(O.getLanguageId(),O.uri,O.isForSimpleWidget),U=O.getOptions(),j=[1,2,3,4,5,6,7,8].map(K=>({id:K.toString(),label:K.toString(),description:K===W.tabSize&&K===U.tabSize?n.localize(2,null):K===W.tabSize?n.localize(3,null):K===U.tabSize?n.localize(4,null):void 0})),R=Math.min(O.getOptions().tabSize-1,7);setTimeout(()=>{N.pick(j,{placeHolder:n.localize(5,null),activeItem:j[R]}).then(K=>{if(K&&O&&!O.isDisposed()){const G=parseInt(K.label,10);this.displaySizeOnly?O.updateOptions({tabSize:G}):O.updateOptions({tabSize:G,indentSize:G,insertSpaces:this.insertSpaces})}})},50)}}e.ChangeIndentationSizeAction=o;class d extends o{constructor(){super(!1,!1,{id:d.ID,label:n.localize(6,null),alias:"Indent Using Tabs",precondition:void 0})}}e.IndentUsingTabs=d,d.ID="editor.action.indentUsingTabs";class l extends o{constructor(){super(!0,!1,{id:l.ID,label:n.localize(7,null),alias:"Indent Using Spaces",precondition:void 0})}}e.IndentUsingSpaces=l,l.ID="editor.action.indentUsingSpaces";class p extends o{constructor(){super(!0,!0,{id:p.ID,label:n.localize(8,null),alias:"Change Tab Display Size",precondition:void 0})}}e.ChangeTabDisplaySize=p,p.ID="editor.action.changeTabDisplaySize";class m extends y.EditorAction{constructor(){super({id:m.ID,label:n.localize(9,null),alias:"Detect Indentation from Content",precondition:void 0})}run(T,A){const N=T.get(s.IModelService),F=A.getModel();if(!F)return;const O=N.getCreationOptions(F.getLanguageId(),F.uri,F.isForSimpleWidget);F.detectIndentation(O.insertSpaces,O.tabSize)}}e.DetectIndentation=m,m.ID="editor.action.detectIndentation";class v extends y.EditorAction{constructor(){super({id:"editor.action.reindentlines",label:n.localize(10,null),alias:"Reindent Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=h(F,N,1,F.getLineCount());O.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,O),A.pushUndoStop())}}e.ReindentLinesAction=v;class b extends y.EditorAction{constructor(){super({id:"editor.action.reindentselectedlines",label:n.localize(11,null),alias:"Reindent Selected Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=A.getSelections();if(O===null)return;const W=[];for(const U of O){let j=U.startLineNumber,R=U.endLineNumber;if(j!==R&&U.endColumn===1&&R--,j===1){if(j===R)continue}else j--;const K=h(F,N,j,R);W.push(...K)}W.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,W),A.pushUndoStop())}}e.ReindentSelectedLinesAction=b;class w{constructor(T,A){this._initialSelection=A,this._edits=[],this._selectionId=null;for(const N of T)N.range&&typeof N.text=="string"&&this._edits.push(N)}getEditOperations(T,A){for(const F of this._edits)A.addEditOperation(f.Range.lift(F.range),F.text);let N=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!1))),N||(this._selectionId=A.trackSelection(this._initialSelection))}computeCursorState(T,A){return A.getTrackedSelection(this._selectionId)}}e.AutoIndentOnPasteCommand=w;let E=class{constructor(T,A){this.editor=T,this._languageConfigurationService=A,this.callOnDispose=new L.DisposableStore,this.callOnModel=new L.DisposableStore,this.callOnDispose.add(T.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(T.onDidChangeModel(()=>this.update())),this.callOnDispose.add(T.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(this.editor.getOption(11)<4||this.editor.getOption(54))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:T})=>{this.trigger(T)}))}trigger(T){const A=this.editor.getSelections();if(A===null||A.length>1)return;const N=this.editor.getModel();if(!N||!N.tokenization.isCheapToTokenize(T.getStartPosition().lineNumber))return;const F=this.editor.getOption(11),{tabSize:O,indentSize:W,insertSpaces:U}=N.getOptions(),j=[],R={shiftIndent:J=>D.ShiftCommand.shiftIndent(J,J.length+1,O,W,U),unshiftIndent:J=>D.ShiftCommand.unshiftIndent(J,J.length+1,O,W,U)};let K=T.startLineNumber;for(;K<=T.endLineNumber;){if(this.shouldIgnoreLine(N,K)){K++;continue}break}if(K>T.endLineNumber)return;let G=N.getLineContent(K);if(!/\S/.test(G.substring(0,T.startColumn-1))){const J=(0,u.getGoodIndentForLine)(F,N,N.getLanguageId(),K,R,this._languageConfigurationService);if(J!==null){const X=k.getLeadingWhitespace(G),H=i.getSpaceCnt(J,O),B=i.getSpaceCnt(X,O);if(H!==B){const V=i.generateIndent(H,O,U);j.push({range:new f.Range(K,1,K,X.length+1),text:V}),G=V+G.substr(X.length)}else{const V=(0,u.getIndentMetadata)(N,K,this._languageConfigurationService);if(V===0||V===8)return}}}const Z=K;for(;KN.tokenization.getLineTokens(H),getLanguageId:()=>N.getLanguageId(),getLanguageIdAtPosition:(H,B)=>N.getLanguageIdAtPosition(H,B)},getLineContent:H=>H===Z?G:N.getLineContent(H)},X=(0,u.getGoodIndentForLine)(F,J,N.getLanguageId(),K+1,R,this._languageConfigurationService);if(X!==null){const H=i.getSpaceCnt(X,O),B=i.getSpaceCnt(k.getLeadingWhitespace(N.getLineContent(K+1)),O);if(H!==B){const V=H-B;for(let Y=K+1;Y<=T.endLineNumber;Y++){const ie=N.getLineContent(Y),ae=k.getLeadingWhitespace(ie),de=i.getSpaceCnt(ae,O)+V,he=i.generateIndent(de,O,U);he!==ae&&j.push({range:new f.Range(Y,1,Y,ae.length+1),text:he})}}}}if(j.length>0){this.editor.pushUndoStop();const J=new w(j,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",J),this.editor.pushUndoStop()}}shouldIgnoreLine(T,A){T.tokenization.forceTokenization(A);const N=T.getLineFirstNonWhitespaceColumn(A);if(N===0)return!0;const F=T.tokenization.getLineTokens(A);if(F.getCount()>0){const O=F.findTokenIndexAtOffset(N);if(O>=0&&F.getStandardTokenType(O)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};e.AutoIndentOnPaste=E,E.ID="editor.contrib.autoIndentOnPaste",e.AutoIndentOnPaste=E=ke([fe(1,C.ILanguageConfigurationService)],E);function I(x,T,A,N){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return;let F="";for(let W=0;W({selection:he,index:ue,ignore:!1}));ae.sort((he,ue)=>C.Range.compareRangesUsingStarts(he.selection,ue.selection));let ce=ae[0];for(let he=1;henew g.Position(ue.positionLineNumber,ue.positionColumn)));const de=ie.getSelection();if(de===null)return;const he=new S.TrimTrailingWhitespaceCommand(de,ce);ie.pushUndoStop(),ie.executeCommands(this.id,[he]),ie.pushUndoStop()}}e.TrimTrailingWhitespaceAction=M,M.ID="editor.action.trimTrailingWhitespace";class P extends y.EditorAction{constructor(){super({id:"editor.action.deleteLines",label:u.localize(14,null),alias:"Delete Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:3113,weight:100}})}run(Y,ie){if(!ie.hasModel())return;const ae=this._getLinesToRemove(ie),ce=ie.getModel();if(ce.getLineCount()===1&&ce.getLineMaxColumn(1)===1)return;let de=0;const he=[],ue=[];for(let te=0,q=ae.length;te1&&(ee-=1,re=ce.getLineMaxColumn(ee)),he.push(_.EditOperation.replace(new s.Selection(ee,re,$,oe),"")),ue.push(new s.Selection(ee-de,z.positionColumn,ee-de,z.positionColumn)),de+=z.endLineNumber-z.startLineNumber+1}ie.pushUndoStop(),ie.executeEdits(this.id,he,ue),ie.pushUndoStop()}_getLinesToRemove(Y){const ie=Y.getSelections().map(de=>{let he=de.endLineNumber;return de.startLineNumberde.startLineNumber===he.startLineNumber?de.endLineNumber-he.endLineNumber:de.startLineNumber-he.startLineNumber);const ae=[];let ce=ie[0];for(let de=1;de=ie[de].startLineNumber?ce.endLineNumber=ie[de].endLineNumber:(ae.push(ce),ce=ie[de]);return ae.push(ce),ae}}e.DeleteLinesAction=P;class x extends y.EditorAction{constructor(){super({id:"editor.action.indentLines",label:u.localize(15,null),alias:"Indent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2142,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.indent(ae.cursorConfig,ie.getModel(),ie.getSelections())),ie.pushUndoStop())}}e.IndentLinesAction=x;class T extends y.EditorAction{constructor(){super({id:"editor.action.outdentLines",label:u.localize(16,null),alias:"Outdent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2140,weight:100}})}run(Y,ie){k.CoreEditingCommands.Outdent.runEditorCommand(Y,ie,null)}}class A extends y.EditorAction{constructor(){super({id:"editor.action.insertLineBefore",label:u.localize(17,null),alias:"Insert Line Above",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertBefore(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineBeforeAction=A;class N extends y.EditorAction{constructor(){super({id:"editor.action.insertLineAfter",label:u.localize(18,null),alias:"Insert Line Below",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertAfter(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineAfterAction=N;class F extends y.EditorAction{run(Y,ie){if(!ie.hasModel())return;const ae=ie.getSelection(),ce=this._getRangesToDelete(ie),de=[];for(let te=0,q=ce.length-1;te_.EditOperation.replace(te,""));ie.pushUndoStop(),ie.executeEdits(this.id,ue,he),ie.pushUndoStop()}}e.AbstractDeleteAllToBoundaryAction=F;class O extends F{constructor(){super({id:"deleteAllLeft",label:u.localize(19,null),alias:"Delete All Left",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];let de=0;return ie.forEach(he=>{let ue;if(he.endColumn===1&&de>0){const te=he.startLineNumber-de;ue=new s.Selection(te,he.startColumn,te,he.startColumn)}else ue=new s.Selection(he.startLineNumber,he.startColumn,he.startLineNumber,he.startColumn);de+=he.endLineNumber-he.startLineNumber,he.intersectRanges(Y)?ae=ue:ce.push(ue)}),ae&&ce.unshift(ae),ce}_getRangesToDelete(Y){const ie=Y.getSelections();if(ie===null)return[];let ae=ie;const ce=Y.getModel();return ce===null?[]:(ae.sort(C.Range.compareRangesUsingStarts),ae=ae.map(de=>{if(de.isEmpty())if(de.startColumn===1){const he=Math.max(1,de.startLineNumber-1),ue=de.startLineNumber===1?1:ce.getLineContent(he).length+1;return new C.Range(he,ue,de.startLineNumber,1)}else return new C.Range(de.startLineNumber,1,de.startLineNumber,de.startColumn);else return new C.Range(de.startLineNumber,1,de.endLineNumber,de.endColumn)}),ae)}}e.DeleteAllLeftAction=O;class W extends F{constructor(){super({id:"deleteAllRight",label:u.localize(20,null),alias:"Delete All Right",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];for(let de=0,he=ie.length,ue=0;de{if(de.isEmpty()){const he=ie.getLineMaxColumn(de.startLineNumber);return de.startColumn===he?new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber+1,1):new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber,he)}return de});return ce.sort(C.Range.compareRangesUsingStarts),ce}}e.DeleteAllRightAction=W;class U extends y.EditorAction{constructor(){super({id:"editor.action.joinLines",label:u.localize(21,null),alias:"Join Lines",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;let ce=ie.getSelection();if(ce===null)return;ae.sort(C.Range.compareRangesUsingStarts);const de=[],he=ae.reduce(($,re)=>$.isEmpty()?$.endLineNumber===re.startLineNumber?(ce.equalsSelection($)&&(ce=re),re):re.startLineNumber>$.endLineNumber+1?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn):re.startLineNumber>$.endLineNumber?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn));de.push(he);const ue=ie.getModel();if(ue===null)return;const te=[],q=[];let z=ce,ee=0;for(let $=0,re=de.length;$=1){let me=!0;Ee===""&&(me=!1),me&&(Ee.charAt(Ee.length-1)===" "||Ee.charAt(Ee.length-1)===" ")&&(me=!1,Ee=Ee.replace(/[\s\uFEFF\xA0]+$/g," "));const le=Fe.substr(_e-1);Ee+=(me?" ":"")+le,me?Se=le.length+1:Se=le.length}else Se=0}const Me=new C.Range(ge,ve,Le,De);if(!Me.isEmpty()){let Pe;oe.isEmpty()?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(Me.startLineNumber-ee,Ee.length-Se+1,ge-ee,Ee.length-Se+1)):oe.startLineNumber===oe.endLineNumber?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.endLineNumber-ee,oe.endColumn)):(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.startLineNumber-ee,Ee.length-ye)),C.Range.intersectRanges(Me,ce)!==null?z=Pe:q.push(Pe)}ee+=Me.endLineNumber-Me.startLineNumber}q.unshift(z),ie.pushUndoStop(),ie.executeEdits(this.id,te,q),ie.pushUndoStop()}}e.JoinLinesAction=U;class j extends y.EditorAction{constructor(){super({id:"editor.action.transpose",label:u.localize(22,null),alias:"Transpose Characters around the Cursor",precondition:i.EditorContextKeys.writable})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=[];for(let he=0,ue=ae.length;he=z){if(q.lineNumber===ce.getLineCount())continue;const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommand(new s.Selection(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$))}else{const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber,q.column+1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommandThatPreservesSelection(ee,$,new s.Selection(q.lineNumber,q.column+1,q.lineNumber,q.column+1)))}}ie.pushUndoStop(),ie.executeCommands(this.id,de),ie.pushUndoStop()}}e.TransposeAction=j;class R extends y.EditorAction{run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=ie.getOption(128),he=[];for(const ue of ae)if(ue.isEmpty()){const te=ue.getStartPosition(),q=ie.getConfiguredWordAtPosition(te);if(!q)continue;const z=new C.Range(te.lineNumber,q.startColumn,te.lineNumber,q.endColumn),ee=ce.getValueInRange(z);he.push(_.EditOperation.replace(z,this._modifyText(ee,de)))}else{const te=ce.getValueInRange(ue);he.push(_.EditOperation.replace(ue,this._modifyText(te,de)))}ie.pushUndoStop(),ie.executeEdits(this.id,he),ie.pushUndoStop()}}e.AbstractCaseAction=R;class K extends R{constructor(){super({id:"editor.action.transformToUppercase",label:u.localize(23,null),alias:"Transform to Uppercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleUpperCase()}}e.UpperCaseAction=K;class G extends R{constructor(){super({id:"editor.action.transformToLowercase",label:u.localize(24,null),alias:"Transform to Lowercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleLowerCase()}}e.LowerCaseAction=G;class Z{constructor(Y,ie){this._pattern=Y,this._flags=ie,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch{}}return this._actual}isSupported(){return this.get()!==null}}class J extends R{constructor(){super({id:"editor.action.transformToTitlecase",label:u.localize(25,null),alias:"Transform to Title Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=J.titleBoundary.get();return ae?Y.toLocaleLowerCase().replace(ae,ce=>ce.toLocaleUpperCase()):Y}}e.TitleCaseAction=J,J.titleBoundary=new Z("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class X extends R{constructor(){super({id:"editor.action.transformToSnakecase",label:u.localize(26,null),alias:"Transform to Snake Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=X.caseBoundary.get(),ce=X.singleLetters.get();return!ae||!ce?Y:Y.replace(ae,"$1_$2").replace(ce,"$1_$2$3").toLocaleLowerCase()}}e.SnakeCaseAction=X,X.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),X.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class H extends R{constructor(){super({id:"editor.action.transformToCamelcase",label:u.localize(27,null),alias:"Transform to Camel Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=H.wordBoundary.get();if(!ae)return Y;const ce=Y.split(ae);return ce.shift()+ce.map(he=>he.substring(0,1).toLocaleUpperCase()+he.substring(1)).join("")}}e.CamelCaseAction=H,H.wordBoundary=new Z("[_\\s-]","gm");class B extends R{static isSupported(){return[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(ie=>ie.isSupported())}constructor(){super({id:"editor.action.transformToKebabcase",label:u.localize(28,null),alias:"Transform to Kebab Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=B.caseBoundary.get(),ce=B.singleLetters.get(),de=B.underscoreBoundary.get();return!ae||!ce||!de?Y:Y.replace(de,"$1-$3").replace(ae,"$1-$2").replace(ce,"$1-$2").toLocaleLowerCase()}}e.KebabCaseAction=B,B.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),B.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),B.underscoreBoundary=new Z("(\\S)(_)(\\S)","gm"),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),(0,y.registerEditorAction)(A),(0,y.registerEditorAction)(N),(0,y.registerEditorAction)(O),(0,y.registerEditorAction)(W),(0,y.registerEditorAction)(U),(0,y.registerEditorAction)(j),(0,y.registerEditorAction)(K),(0,y.registerEditorAction)(G),X.caseBoundary.isSupported()&&X.singleLetters.isSupported()&&(0,y.registerEditorAction)(X),H.wordBoundary.isSupported()&&(0,y.registerEditorAction)(H),J.titleBoundary.isSupported()&&(0,y.registerEditorAction)(J),B.isSupported()&&(0,y.registerEditorAction)(B)}),define(ne[808],se([1,0,2,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class y extends L.Disposable{constructor(S){super(),this._editor=S,this._register(this._editor.onMouseDown(f=>{const _=this._editor.getOption(115);_>=0&&f.target.type===6&&f.target.position.column>=_&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}y.ID="editor.contrib.longLinesHelper",(0,k.registerEditorContribution)(y.ID,y,2)}),define(ne[190],se([1,0,183,49,6,55,2,16,5,117,686,15,56,7,456]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.MessageController=void 0;let a=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d){this._openerService=d,this._messageWidget=new S.MutableDisposable,this._messageListeners=new S.DisposableStore,this._mouseOverMessage=!1,this._editor=c,this._visible=t.MESSAGE_VISIBLE.bindTo(o)}dispose(){var c;(c=this._message)===null||c===void 0||c.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(c,o){(0,k.alert)((0,D.isMarkdownString)(c)?c.value:c),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=(0,D.isMarkdownString)(c)?(0,L.renderMarkdown)(c,{actionHandler:{callback:l=>(0,g.openLinkFromMarkdown)(this._openerService,l,(0,D.isMarkdownString)(c)?c.isTrusted:void 0),disposables:this._messageListeners}}):void 0,this._messageWidget.value=new h(this._editor,o,typeof c=="string"?c:this._message.element),this._messageListeners.add(y.Event.debounce(this._editor.onDidBlurEditorText,(l,p)=>p,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&n.isAncestor(document.activeElement,this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let d;this._messageListeners.add(this._editor.onMouseMove(l=>{l.target.position&&(d?d.containsPosition(l.target.position)||this.closeMessage():d=new _.Range(o.lineNumber-3,1,l.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(h.fadeOut(this._messageWidget.value))}};e.MessageController=a,a.ID="editor.contrib.messageController",a.MESSAGE_VISIBLE=new s.RawContextKey("messageVisible",!1,C.localize(0,null)),e.MessageController=a=t=ke([fe(1,s.IContextKeyService),fe(2,i.IOpenerService)],a);const u=f.EditorCommand.bindToContribution(a.get);(0,f.registerEditorCommand)(new u({id:"leaveEditorMessage",precondition:a.MESSAGE_VISIBLE,handler:r=>r.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class h{static fadeOut(c){const o=()=>{c.dispose(),clearTimeout(d),c.getDomNode().removeEventListener("animationend",o)},d=setTimeout(o,110);return c.getDomNode().addEventListener("animationend",o),c.getDomNode().classList.add("fadeOut"),{dispose:o}}constructor(c,{lineNumber:o,column:d},l){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=c,this._editor.revealLinesInCenterIfOutsideViewport(o,o,0),this._position={lineNumber:o,column:d},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const p=document.createElement("div");p.classList.add("anchor","top"),this._domNode.appendChild(p);const m=document.createElement("div");typeof l=="string"?(m.classList.add("message"),m.textContent=l):(l.classList.add("message"),m.appendChild(l)),this._domNode.appendChild(m);const v=document.createElement("div");v.classList.add("anchor","below"),this._domNode.appendChild(v),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(c){this._domNode.classList.toggle("below",c===2)}}(0,f.registerEditorContribution)(a.ID,a,4)}),define(ne[809],se([1,0,55,2,16,190,693]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReadOnlyMessageController=void 0;class f extends k.Disposable{constructor(g){super(),this.editor=g,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){const g=D.MessageController.get(this.editor);if(g&&this.editor.hasModel()){let C=this.editor.getOptions().get(90);C||(this.editor.isSimpleWidget?C=new L.MarkdownString(S.localize(0,null)):C=new L.MarkdownString(S.localize(1,null))),g.showMessage(C,this.editor.getPosition())}}}e.ReadOnlyMessageController=f,f.ID="editor.contrib.readOnlyMessageController",(0,y.registerEditorContribution)(f.ID,f,2)}),define(ne[810],se([1,0,14,19,9,16,12,5,24,21,298,547,696,30,27,18,69,20,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.provideSelectionRanges=e.SmartSelectController=void 0;class o{constructor(w,E){this.index=w,this.ranges=E}mov(w){const E=this.index+(w?1:-1);if(E<0||E>=this.ranges.length)return this;const I=new o(E,this.ranges);return I.ranges[E].equalsRange(this.ranges[this.index])?I.mov(w):I}}let d=c=class{static get(w){return w.getContribution(c.ID)}constructor(w,E){this._editor=w,this._languageFeaturesService=E,this._ignoreSelection=!1}dispose(){var w;(w=this._selectionListener)===null||w===void 0||w.dispose()}run(w){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const E=this._editor.getSelections(),I=this._editor.getModel();if(this._state||(yield v(this._languageFeaturesService.selectionRangeProvider,I,E.map(P=>P.getPosition()),this._editor.getOption(111),k.CancellationToken.None).then(P=>{var x;if(!(!L.isNonEmptyArray(P)||P.length!==E.length)&&!(!this._editor.hasModel()||!L.equals(this._editor.getSelections(),E,(T,A)=>T.equalsSelection(A)))){for(let T=0;TA.containsPosition(E[T].getStartPosition())&&A.containsPosition(E[T].getEndPosition())),P[T].unshift(E[T]);this._state=P.map(T=>new o(0,T)),(x=this._selectionListener)===null||x===void 0||x.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var T;this._ignoreSelection||((T=this._selectionListener)===null||T===void 0||T.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(P=>P.mov(w));const M=this._state.map(P=>_.Selection.fromPositions(P.ranges[P.index].getStartPosition(),P.ranges[P.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(M)}finally{this._ignoreSelection=!1}})}};e.SmartSelectController=d,d.ID="editor.contrib.smartSelectController",e.SmartSelectController=d=c=ke([fe(1,a.ILanguageFeaturesService)],d);class l extends D.EditorAction{constructor(w,E){super(E),this._forward=w}run(w,E){return we(this,void 0,void 0,function*(){const I=d.get(E);I&&(yield I.run(this._forward))})}}class p extends l{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:i.localize(0,null),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(1,null),order:2}})}}t.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");class m extends l{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:i.localize(2,null),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(3,null),order:3}})}}(0,D.registerEditorContribution)(d.ID,d,4),(0,D.registerEditorAction)(p),(0,D.registerEditorAction)(m);function v(b,w,E,I,M){return we(this,void 0,void 0,function*(){const P=b.all(w).concat(new s.WordSelectionRangeProvider(I.selectSubwords));P.length===1&&P.unshift(new C.BracketSelectionRangeProvider);const x=[],T=[];for(const A of P)x.push(Promise.resolve(A.provideSelectionRanges(w,E,M)).then(N=>{if(L.isNonEmptyArray(N)&&N.length===E.length)for(let F=0;F{if(A.length===0)return[];A.sort((W,U)=>S.Position.isBefore(W.getStartPosition(),U.getStartPosition())?1:S.Position.isBefore(U.getStartPosition(),W.getStartPosition())||S.Position.isBefore(W.getEndPosition(),U.getEndPosition())?-1:S.Position.isBefore(U.getEndPosition(),W.getEndPosition())?1:0);const N=[];let F;for(const W of A)(!F||f.Range.containsRange(W,F)&&!f.Range.equalsRange(W,F))&&(N.push(W),F=W);if(!I.selectLeadingAndTrailingWhitespace)return N;const O=[N[0]];for(let W=1;W0&&this.word.startColumn===m.startColumn&&this.word.endColumn=0&&I.resolve(L.CancellationToken.None)}return p}};r=ke([fe(5,i.ISuggestMemoryService)],r);let c=class{constructor(l,p,m,v){this._getEditorOption=l,this._languageFeatureService=p,this._clipboardService=m,this._suggestMemoryService=v}provideInlineCompletions(l,p,m,v){var b;return we(this,void 0,void 0,function*(){if(m.selectedSuggestionInfo)return;const w=this._getEditorOption(87,l);if(s.QuickSuggestionsOptions.isAllOff(w))return;l.tokenization.tokenizeIfCheap(p.lineNumber);const E=l.tokenization.getLineTokens(p.lineNumber),I=E.getStandardTokenType(E.findTokenIndexAtOffset(Math.max(p.column-1-1,0)));if(s.QuickSuggestionsOptions.valueFor(w,I)!=="inline")return;let M=l.getWordAtPosition(p),P;if(M?.word||(P=this._getTriggerCharacterInfo(l,p)),!M?.word&&!P||(M||(M=l.getWordUntilPosition(p)),M.endColumn!==p.column))return;let x;const T=l.getValueInRange(new _.Range(p.lineNumber,1,p.lineNumber,p.column));if(!P&&(!((b=this._lastResult)===null||b===void 0)&&b.canBeReused(l,p.lineNumber,M))){const A=new C.LineContext(T,p.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=A,this._lastResult.acquire(),x=this._lastResult}else{const A=yield(0,s.provideSuggestionItems)(this._languageFeatureService.completionProvider,l,p,new s.CompletionOptions(void 0,void 0,P?.providers),P&&{triggerKind:1,triggerCharacter:P.ch},v);let N;A.needsClipboard&&(N=yield this._clipboardService.readText());const F=new C.CompletionModel(A.items,p.column,new C.LineContext(T,0),n.WordDistance.None,this._getEditorOption(116,l),this._getEditorOption(110,l),{boostFullMatch:!1,firstMatchCanBeWeak:!1},N);x=new r(l,p.lineNumber,M,F,A,this._suggestMemoryService)}return this._lastResult=x,x})}handleItemDidShow(l,p){p.completion.resolve(L.CancellationToken.None)}freeInlineCompletions(l){l.release()}_getTriggerCharacterInfo(l,p){var m;const v=l.getValueInRange(_.Range.fromPositions({lineNumber:p.lineNumber,column:p.column-1},p)),b=new Set;for(const w of this._languageFeatureService.completionProvider.all(l))!((m=w.triggerCharacters)===null||m===void 0)&&m.includes(v)&&b.add(w);if(b.size!==0)return{providers:b,ch:v}}};e.SuggestInlineCompletions=c,e.SuggestInlineCompletions=c=ke([fe(1,g.ILanguageFeaturesService),fe(2,t.IClipboardService),fe(3,i.ISuggestMemoryService)],c);let o=u=class{constructor(l,p,m,v){if(++u._counter===1){const b=v.createInstance(c,(w,E)=>{var I;return((I=m.listCodeEditors().find(P=>P.getModel()===E))!==null&&I!==void 0?I:l).getOption(w)});u._disposable=p.inlineCompletionsProvider.register("*",b)}}dispose(){var l;--u._counter===0&&((l=u._disposable)===null||l===void 0||l.dispose(),u._disposable=void 0)}};o._counter=0,o=u=ke([fe(1,g.ILanguageFeaturesService),fe(2,f.ICodeEditorService),fe(3,a.IInstantiationService)],o),(0,S.registerEditorContribution)("suggest.inlineCompletionsProvider",o,0)}),define(ne[812],se([1,0,58,16,708]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends k.EditorAction{constructor(){super({id:"editor.action.forceRetokenize",label:y.localize(0,null),alias:"Developer: Force Retokenize",precondition:void 0})}run(f,_){if(!_.hasModel())return;const g=_.getModel();g.tokenization.resetTokenization();const C=new L.StopWatch;g.tokenization.forceTokenization(g.getLineCount()),C.stop(),console.log(`tokenization took ${C.elapsed()}`)}}(0,k.registerEditorAction)(D)}),define(ne[813],se([1,0,2,45,16,33,710,156]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnusualLineTerminatorsDetector=void 0;const _="ignoreUnusualLineTerminators";function g(i,n,t){i.setModelProperty(n.uri,_,t)}function C(i,n){return i.getModelProperty(n.uri,_)}let s=class extends L.Disposable{constructor(n,t,a){super(),this._editor=n,this._dialogService=t,this._codeEditorService=a,this._isPresentingDialog=!1,this._config=this._editor.getOption(124),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(124)&&(this._config=this._editor.getOption(124),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(u=>{u.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}_checkForUnusualLineTerminators(){return we(this,void 0,void 0,function*(){if(this._config==="off"||!this._editor.hasModel())return;const n=this._editor.getModel();if(!n.mightContainUnusualLineTerminators()||C(this._codeEditorService,n)===!0||this._editor.getOption(89))return;if(this._config==="auto"){n.removeUnusualLineTerminators(this._editor.getSelections());return}if(this._isPresentingDialog)return;let a;try{this._isPresentingDialog=!0,a=yield this._dialogService.confirm({title:S.localize(0,null),message:S.localize(1,null),detail:S.localize(2,null,(0,k.basename)(n.uri)),primaryButton:S.localize(3,null),cancelButton:S.localize(4,null)})}finally{this._isPresentingDialog=!1}if(!a.confirmed){g(this._codeEditorService,n,!0);return}n.removeUnusualLineTerminators(this._editor.getSelections())})}};e.UnusualLineTerminatorsDetector=s,s.ID="editor.contrib.unusualLineTerminatorsDetector",e.UnusualLineTerminatorsDetector=s=ke([fe(1,f.IDialogService),fe(2,D.ICodeEditorService)],s),(0,y.registerEditorContribution)(s.ID,s,1)}),define(ne[353],se([1,0,16,123,36,74,178,146,12,5,24,21,32,713,84,15,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeleteInsideWord=e.DeleteWordRight=e.DeleteWordEndRight=e.DeleteWordStartRight=e.DeleteWordLeft=e.DeleteWordEndLeft=e.DeleteWordStartLeft=e.DeleteWordRightCommand=e.DeleteWordLeftCommand=e.DeleteWordCommand=e.CursorWordAccessibilityRightSelect=e.CursorWordAccessibilityRight=e.CursorWordRightSelect=e.CursorWordEndRightSelect=e.CursorWordStartRightSelect=e.CursorWordRight=e.CursorWordEndRight=e.CursorWordStartRight=e.CursorWordAccessibilityLeftSelect=e.CursorWordAccessibilityLeft=e.CursorWordLeftSelect=e.CursorWordEndLeftSelect=e.CursorWordStartLeftSelect=e.CursorWordLeft=e.CursorWordEndLeft=e.CursorWordStartLeft=e.WordRightCommand=e.WordLeftCommand=e.MoveWordCommand=void 0;class h extends L.EditorCommand{constructor(H){super(H),this._inSelectionMode=H.inSelectionMode,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=new _.Position(de.positionLineNumber,de.positionColumn),ue=this._move(Y,ie,he,this._wordNavigationType);return this._moveTo(de,ue,this._inSelectionMode)});if(ie.pushStackElement(),B._getViewModel().setCursorStates("moveWordCommand",3,ce.map(de=>D.CursorState.fromModelSelection(de))),ce.length===1){const de=new _.Position(ce[0].positionLineNumber,ce[0].positionColumn);B.revealPosition(de,0)}}_moveTo(H,B,V){return V?new C.Selection(H.selectionStartLineNumber,H.selectionStartColumn,B.lineNumber,B.column):new C.Selection(B.lineNumber,B.column,B.lineNumber,B.column)}}e.MoveWordCommand=h;class r extends h{_move(H,B,V,Y){return S.WordOperations.moveWordLeft(H,B,V,Y)}}e.WordLeftCommand=r;class c extends h{_move(H,B,V,Y){return S.WordOperations.moveWordRight(H,B,V,Y)}}e.WordRightCommand=c;class o extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}e.CursorWordStartLeft=o;class d extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}e.CursorWordEndLeft=d;class l extends r{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2063,mac:{primary:527},weight:100}})}}e.CursorWordLeft=l;class p extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}e.CursorWordStartLeftSelect=p;class m extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}e.CursorWordEndLeftSelect=m;class v extends r{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3087,mac:{primary:1551},weight:100}})}}e.CursorWordLeftSelect=v;class b extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeft=b;class w extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeftSelect=w;class E extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}e.CursorWordStartRight=E;class I extends c{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2065,mac:{primary:529},weight:100}})}}e.CursorWordEndRight=I;class M extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}e.CursorWordRight=M;class P extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}e.CursorWordStartRightSelect=P;class x extends c{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3089,mac:{primary:1553},weight:100}})}}e.CursorWordEndRightSelect=x;class T extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}e.CursorWordRightSelect=T;class A extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRight=A;class N extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRightSelect=N;class F extends L.EditorCommand{constructor(H){super(H),this._whitespaceHeuristics=H.whitespaceHeuristics,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){const Y=H.get(i.ILanguageConfigurationService);if(!B.hasModel())return;const ie=(0,f.getMapForWordSeparators)(B.getOption(128)),ae=B.getModel(),ce=B.getSelections(),de=B.getOption(6),he=B.getOption(10),ue=Y.getLanguageConfiguration(ae.getLanguageId()).getAutoClosingPairs(),te=B._getViewModel(),q=ce.map(z=>{const ee=this._delete({wordSeparators:ie,model:ae,selection:z,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:B.getOption(8),autoClosingBrackets:de,autoClosingQuotes:he,autoClosingPairs:ue,autoClosedCharacters:te.getCursorAutoClosedCharacters()},this._wordNavigationType);return new k.ReplaceCommand(ee,"")});B.pushUndoStop(),B.executeCommands(this.id,q),B.pushUndoStop()}}e.DeleteWordCommand=F;class O extends F{_delete(H,B){const V=S.WordOperations.deleteWordLeft(H,B);return V||new g.Range(1,1,1,1)}}e.DeleteWordLeftCommand=O;class W extends F{_delete(H,B){const V=S.WordOperations.deleteWordRight(H,B);if(V)return V;const Y=H.model.getLineCount(),ie=H.model.getLineMaxColumn(Y);return new g.Range(Y,ie,Y,ie)}}e.DeleteWordRightCommand=W;class U extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartLeft=U;class j extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndLeft=j;class R extends O{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}e.DeleteWordLeft=R;class K extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartRight=K;class G extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndRight=G;class Z extends W{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}e.DeleteWordRight=Z;class J extends L.EditorAction{constructor(){super({id:"deleteInsideWord",precondition:s.EditorContextKeys.writable,label:n.localize(0,null),alias:"Delete Word"})}run(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=S.WordOperations.deleteInsideWord(Y,ie,de);return new k.ReplaceCommand(he,"")});B.pushUndoStop(),B.executeCommands(this.id,ce),B.pushUndoStop()}}e.DeleteInsideWord=J,(0,L.registerEditorCommand)(new o),(0,L.registerEditorCommand)(new d),(0,L.registerEditorCommand)(new l),(0,L.registerEditorCommand)(new p),(0,L.registerEditorCommand)(new m),(0,L.registerEditorCommand)(new v),(0,L.registerEditorCommand)(new E),(0,L.registerEditorCommand)(new I),(0,L.registerEditorCommand)(new M),(0,L.registerEditorCommand)(new P),(0,L.registerEditorCommand)(new x),(0,L.registerEditorCommand)(new T),(0,L.registerEditorCommand)(new b),(0,L.registerEditorCommand)(new w),(0,L.registerEditorCommand)(new A),(0,L.registerEditorCommand)(new N),(0,L.registerEditorCommand)(new U),(0,L.registerEditorCommand)(new j),(0,L.registerEditorCommand)(new R),(0,L.registerEditorCommand)(new K),(0,L.registerEditorCommand)(new G),(0,L.registerEditorCommand)(new Z),(0,L.registerEditorAction)(J)}),define(ne[814],se([1,0,16,178,5,21,353,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorWordPartRightSelect=e.CursorWordPartRight=e.WordPartRightCommand=e.CursorWordPartLeftSelect=e.CursorWordPartLeft=e.WordPartLeftCommand=e.DeleteWordPartRight=e.DeleteWordPartLeft=void 0;class _ extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartLeft(h);return c||new y.Range(1,1,1,1)}}e.DeleteWordPartLeft=_;class g extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartRight(h);if(c)return c;const o=h.model.getLineCount(),d=h.model.getLineMaxColumn(o);return new y.Range(o,d,o,d)}}e.DeleteWordPartRight=g;class C extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartLeft(h,r,c)}}e.WordPartLeftCommand=C;class s extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}e.CursorWordPartLeft=s,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class i extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}e.CursorWordPartLeftSelect=i,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class n extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartRight(h,r,c)}}e.WordPartRightCommand=n;class t extends n{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}e.CursorWordPartRight=t;class a extends n{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}e.CursorWordPartRightSelect=a,(0,L.registerEditorCommand)(new _),(0,L.registerEditorCommand)(new g),(0,L.registerEditorCommand)(new s),(0,L.registerEditorCommand)(new i),(0,L.registerEditorCommand)(new t),(0,L.registerEditorCommand)(new a)}),define(ne[815],se([1,0,7,2,16,17,468]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IPadShowKeyboard=void 0;class S extends k.Disposable{constructor(g){super(),this.editor=g,this.widget=null,D.isIOS&&(this._register(g.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const g=!this.editor.getOption(89);!this.widget&&g?this.widget=new f(this.editor):this.widget&&!g&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}e.IPadShowKeyboard=S,S.ID="editor.contrib.iPadShowKeyboard";class f extends k.Disposable{constructor(g){super(),this.editor=g,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(L.addDisposableListener(this._domNode,"touchstart",C=>{this.editor.focus()})),this._register(L.addDisposableListener(this._domNode,"focus",C=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return f.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}f.ID="editor.contrib.ShowKeyboardWidget",(0,y.registerEditorContribution)(S.ID,S,3)}),define(ne[816],se([1,0,7,38,2,16,29,124,154,41,133,94,469]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});let n=i=class extends y.Disposable{static get(c){return c.getContribution(i.ID)}constructor(c,o,d){super(),this._editor=c,this._languageService=d,this._widget=null,this._register(this._editor.onDidChangeModel(l=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(l=>this.stop())),this._register(S.TokenizationRegistry.onDidChange(l=>this.stop())),this._register(this._editor.onKeyUp(l=>l.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new h(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};n.ID="editor.contrib.inspectTokens",n=i=ke([fe(1,C.IStandaloneThemeService),fe(2,g.ILanguageService)],n);class t extends D.EditorAction{constructor(){super({id:"editor.action.inspectTokens",label:s.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(c,o){const d=n.get(o);d?.launch()}}function a(r){let c="";for(let o=0,d=r.length;o_.NullState,tokenize:(l,p,m)=>(0,_.nullTokenize)(c,m),tokenizeEncoded:(l,p,m)=>(0,_.nullTokenizeEncoded)(d,m)}}class h extends y.Disposable{constructor(c,o){super(),this.allowEditorOverflow=!0,this._editor=c,this._languageService=o,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=u(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(d=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return h._ID}_compute(c){const o=this._getTokensAtLine(c.lineNumber);let d=0;for(let b=o.tokens1.length-1;b>=0;b--){const w=o.tokens1[b];if(c.column-1>=w.offset){d=b;break}}let l=0;for(let b=o.tokens2.length>>>1;b>=0;b--)if(c.column-1>=o.tokens2[b<<1]){l=b;break}const p=this._model.getLineContent(c.lineNumber);let m="";if(d{var v;return(v=d.lookupKeybinding(m.id))!==null&&v!==void 0?v:void 0}},h),{allowContextMenu:!0,skipTelemetry:typeof h?.telemetrySource=="string"})),this._options=h,this._menuService=r,this._contextKeyService=c,this._contextMenuService=o,this._sessionDisposables=this._store.add(new f.DisposableStore);const p=h?.telemetrySource;p&&this._store.add(this.actionBar.onDidRun(m=>l.publicLog2("workbenchActionExecuted",{id:m.action.id,from:p})))}setActions(u,h=[],r){var c,o,d;this._sessionDisposables.clear();const l=u.slice(),p=h.slice(),m=[];let v=0;const b=[];let w=!1;if(((c=this._options)===null||c===void 0?void 0:c.hiddenItemStrategy)!==-1)for(let E=0;E=this._options.maxNumberOfItems&&(l[I]=void 0,b[I]=M)}}(0,S.coalesceInPlace)(l),(0,S.coalesceInPlace)(b),super.setActions(l,D.Separator.join(b,p)),m.length>0&&this._sessionDisposables.add((0,L.addDisposableListener)(this.getElement(),"contextmenu",E=>{var I,M,P,x,T;const A=new k.StandardMouseEvent(E),N=this.getItemAction(A.target);if(!N)return;A.preventDefault(),A.stopPropagation();let F=!1;if(v===1&&((I=this._options)===null||I===void 0?void 0:I.hiddenItemStrategy)===0){F=!0;for(let U=0;Uthis._menuService.resetHiddenStates(r)}))),this._contextMenuService.showContextMenu({getAnchor:()=>A,getActions:()=>W,menuId:(P=this._options)===null||P===void 0?void 0:P.contextMenu,menuActionOptions:Object.assign({renderShortTitle:!0},(x=this._options)===null||x===void 0?void 0:x.menuOptions),skipTelemetry:typeof((T=this._options)===null||T===void 0?void 0:T.telemetrySource)=="string",contextKeyService:this._contextKeyService})}))}};e.WorkbenchToolBar=t,e.WorkbenchToolBar=t=ke([fe(2,g.IMenuService),fe(3,C.IContextKeyService),fe(4,s.IContextMenuService),fe(5,i.IKeybindingService),fe(6,n.ITelemetryService)],t)}),define(ne[818],se([1,0,564,9,72,2,65,730,27,28,156,8,34,771,87,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsHistory=e.AbstractCommandsQuickAccessProvider=void 0;let r=u=class extends n.PickerQuickAccessProvider{constructor(d,l,p,m,v,b){super(u.PREFIX,d),this.instantiationService=l,this.keybindingService=p,this.commandService=m,this.telemetryService=v,this.dialogService=b,this.commandsHistory=this._register(this.instantiationService.createInstance(c)),this.options=d}_getPicks(d,l,p,m){var v,b,w,E;return we(this,void 0,void 0,function*(){const I=yield this.getCommandPicks(p);if(p.isCancellationRequested)return[];const M=[];for(const N of I){const F=(v=u.WORD_FILTER(d,N.label))!==null&&v!==void 0?v:void 0,O=N.commandAlias&&(b=u.WORD_FILTER(d,N.commandAlias))!==null&&b!==void 0?b:void 0;F||O?(N.highlights={label:F,detail:this.options.showAlias?O:void 0},M.push(N)):d===N.commandId&&M.push(N)}const P=new Map;for(const N of M){const F=P.get(N.label);F?(N.description=N.commandId,F.description=F.commandId):P.set(N.label,N)}M.sort((N,F)=>{const O=this.commandsHistory.peek(N.commandId),W=this.commandsHistory.peek(F.commandId);if(O&&W)return O>W?-1:1;if(O)return-1;if(W)return 1;if(this.options.suggestedCommandIds){const U=this.options.suggestedCommandIds.has(N.commandId),j=this.options.suggestedCommandIds.has(F.commandId);if(U&&j)return 0;if(U)return-1;if(j)return 1}return N.label.localeCompare(F.label)});const x=[];let T=!1,A=!!this.options.suggestedCommandIds;for(let N=0;Nwe(this,void 0,void 0,function*(){const N=yield this.getAdditionalCommandPicks(I,M,d,p);return p.isCancellationRequested?[]:N.map(F=>this.toCommandPick(F,m))}))()}:x})}toCommandPick(d,l){if(d.type==="separator")return d;const p=this.keybindingService.lookupKeybinding(d.commandId),m=p?(0,f.localize)(3,null,d.label,p.getAriaLabel()):d.label;return Object.assign(Object.assign({},d),{ariaLabel:m,detail:this.options.showAlias&&d.commandAlias!==d.label?d.commandAlias:void 0,keybinding:p,accept:()=>we(this,void 0,void 0,function*(){var v,b;this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:(v=l?.from)!==null&&v!==void 0?v:"quick open"});try{!((b=d.args)===null||b===void 0)&&b.length?yield this.commandService.executeCommand(d.commandId,...d.args):yield this.commandService.executeCommand(d.commandId)}catch(w){(0,k.isCancellationError)(w)||this.dialogService.error((0,f.localize)(4,null,d.label),(0,L.toErrorMessage)(w))}})})}};e.AbstractCommandsQuickAccessProvider=r,r.PREFIX=">",r.WORD_FILTER=(0,y.or)(y.matchesPrefix,y.matchesWords,y.matchesContiguousSubString),e.AbstractCommandsQuickAccessProvider=r=u=ke([fe(1,s.IInstantiationService),fe(2,i.IKeybindingService),fe(3,_.ICommandService),fe(4,a.ITelemetryService),fe(5,C.IDialogService)],r);let c=h=class extends D.Disposable{constructor(d,l){super(),this.storageService=d,this.configurationService=l,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(d=>this.updateConfiguration(d)))}updateConfiguration(d){d&&!d.affectsConfiguration("workbench.commandPalette.history")||(this.configuredCommandsHistoryLength=h.getConfiguredCommandHistoryLength(this.configurationService),h.cache&&h.cache.limit!==this.configuredCommandsHistoryLength&&(h.cache.limit=this.configuredCommandsHistoryLength,h.saveState(this.storageService)))}load(){const d=this.storageService.get(h.PREF_KEY_CACHE,0);let l;if(d)try{l=JSON.parse(d)}catch{}const p=h.cache=new S.LRUCache(this.configuredCommandsHistoryLength,1);if(l){let m;l.usesLRU?m=l.entries:m=l.entries.sort((v,b)=>v.value-b.value),m.forEach(v=>p.set(v.key,v.value))}h.counter=this.storageService.getNumber(h.PREF_KEY_COUNTER,0,h.counter)}push(d){h.cache&&(h.cache.set(d,h.counter++),h.saveState(this.storageService))}peek(d){var l;return(l=h.cache)===null||l===void 0?void 0:l.peek(d)}static saveState(d){if(!h.cache)return;const l={usesLRU:!0,entries:[]};h.cache.forEach((p,m)=>l.entries.push({key:m,value:p})),d.store(h.PREF_KEY_CACHE,JSON.stringify(l),0,0),d.store(h.PREF_KEY_COUNTER,h.counter,0,0)}static getConfiguredCommandHistoryLength(d){var l,p;const v=(p=(l=d.getValue().workbench)===null||l===void 0?void 0:l.commandPalette)===null||p===void 0?void 0:p.history;return typeof v=="number"?v:h.DEFAULT_COMMANDS_HISTORY_LENGTH}};e.CommandsHistory=c,c.DEFAULT_COMMANDS_HISTORY_LENGTH=50,c.PREF_KEY_CACHE="commandPalette.mru.cache",c.PREF_KEY_COUNTER="commandPalette.mru.counter",c.counter=1,e.CommandsHistory=c=h=ke([fe(0,t.IStorageService),fe(1,g.IConfigurationService)],c)}),define(ne[819],se([1,0,120,818]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorCommandsQuickAccessProvider=void 0;class y extends k.AbstractCommandsQuickAccessProvider{constructor(S,f,_,g,C,s){super(S,f,_,g,C,s)}getCodeEditorCommandPicks(){const S=this.activeTextEditorControl;if(!S)return[];const f=[];for(const _ of S.getSupportedActions())f.push({commandId:_.id,commandAlias:_.alias,label:(0,L.stripIcons)(_.label)||_.id});return f}}e.AbstractEditorCommandsQuickAccessProvider=y}),define(ne[820],se([1,0,37,136,94,33,819,8,34,27,79,156,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneCommandsQuickAccessProvider=void 0;let a=class extends S.AbstractEditorCommandsQuickAccessProvider{get activeTextEditorControl(){var r;return(r=this.codeEditorService.getFocusedCodeEditor())!==null&&r!==void 0?r:void 0}constructor(r,c,o,d,l,p){super({showAlias:!1},r,o,d,l,p),this.codeEditorService=c}getCommandPicks(){return we(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}hasAdditionalCommandPicks(){return!1}getAdditionalCommandPicks(){return we(this,void 0,void 0,function*(){return[]})}};e.StandaloneCommandsQuickAccessProvider=a,e.StandaloneCommandsQuickAccessProvider=a=ke([fe(0,f.IInstantiationService),fe(1,D.ICodeEditorService),fe(2,_.IKeybindingService),fe(3,g.ICommandService),fe(4,C.ITelemetryService),fe(5,s.IDialogService)],a);class u extends i.EditorAction{constructor(){super({id:u.ID,label:y.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:n.EditorContextKeys.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(r){r.get(t.IQuickInputService).quickAccess.show(a.PREFIX)}}e.GotoLineAction=u,u.ID="editor.action.quickCommand",(0,i.registerEditorAction)(u),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:a,prefix:a.PREFIX,helpEntries:[{description:y.QuickCommandNLS.quickCommandHelp,commandId:u.ID}]})}),define(ne[31],se([1,0,13,38,6,85,736,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.workbenchColorsSchemaId=e.resolveColorValue=e.ifDefinedThenElse=e.oneOf=e.transparent=e.lighten=e.darken=e.executeTransform=e.chartsPurple=e.chartsGreen=e.chartsOrange=e.chartsYellow=e.chartsBlue=e.chartsRed=e.chartsLines=e.chartsForeground=e.problemsInfoIconForeground=e.problemsWarningIconForeground=e.problemsErrorIconForeground=e.minimapSliderActiveBackground=e.minimapSliderHoverBackground=e.minimapSliderBackground=e.minimapForegroundOpacity=e.minimapBackground=e.minimapWarning=e.minimapError=e.minimapSelection=e.minimapSelectionOccurrenceHighlight=e.minimapFindMatch=e.overviewRulerSelectionHighlightForeground=e.overviewRulerFindMatchForeground=e.overviewRulerCommonContentForeground=e.overviewRulerIncomingContentForeground=e.overviewRulerCurrentContentForeground=e.mergeBorder=e.mergeCommonContentBackground=e.mergeCommonHeaderBackground=e.mergeIncomingContentBackground=e.mergeIncomingHeaderBackground=e.mergeCurrentContentBackground=e.mergeCurrentHeaderBackground=e.breadcrumbsPickerBackground=e.breadcrumbsActiveSelectionForeground=e.breadcrumbsFocusForeground=e.breadcrumbsBackground=e.breadcrumbsForeground=e.snippetFinalTabstopHighlightBorder=e.snippetFinalTabstopHighlightBackground=e.snippetTabstopHighlightBorder=e.snippetTabstopHighlightBackground=e.toolbarActiveBackground=e.toolbarHoverOutline=e.toolbarHoverBackground=e.menuSeparatorBackground=e.menuSelectionBorder=e.menuSelectionBackground=e.menuSelectionForeground=e.menuBackground=e.menuForeground=e.menuBorder=e.quickInputListFocusBackground=e.quickInputListFocusIconForeground=e.quickInputListFocusForeground=e._deprecatedQuickInputListFocusBackground=e.checkboxSelectBorder=e.checkboxBorder=e.checkboxForeground=e.checkboxSelectBackground=e.checkboxBackground=e.listDeemphasizedForeground=e.tableOddRowsBackgroundColor=e.tableColumnsBorder=e.treeInactiveIndentGuidesStroke=e.treeIndentGuidesStroke=e.listFilterMatchHighlightBorder=e.listFilterMatchHighlight=e.listFilterWidgetShadow=e.listFilterWidgetNoMatchesOutline=e.listFilterWidgetOutline=e.listFilterWidgetBackground=e.listWarningForeground=e.listErrorForeground=e.listInvalidItemForeground=e.listFocusHighlightForeground=e.listHighlightForeground=e.listDropBackground=e.listHoverForeground=e.listHoverBackground=e.listInactiveFocusOutline=e.listInactiveFocusBackground=e.listInactiveSelectionIconForeground=e.listInactiveSelectionForeground=e.listInactiveSelectionBackground=e.listActiveSelectionIconForeground=e.listActiveSelectionForeground=e.listActiveSelectionBackground=e.listFocusAndSelectionOutline=e.listFocusOutline=e.listFocusForeground=e.listFocusBackground=e.diffUnchangedTextBackground=e.diffUnchangedRegionForeground=e.diffUnchangedRegionBackground=e.diffDiagonalFill=e.diffBorder=e.diffRemovedOutline=e.diffInsertedOutline=e.diffOverviewRulerRemoved=e.diffOverviewRulerInserted=e.diffRemovedLineGutter=e.diffInsertedLineGutter=e.diffRemovedLine=e.diffInsertedLine=e.diffRemoved=e.diffInserted=e.defaultRemoveColor=e.defaultInsertColor=e.editorLightBulbAutoFixForeground=e.editorLightBulbForeground=e.editorInlayHintParameterBackground=e.editorInlayHintParameterForeground=e.editorInlayHintTypeBackground=e.editorInlayHintTypeForeground=e.editorInlayHintBackground=e.editorInlayHintForeground=e.editorActiveLinkForeground=e.editorHoverStatusBarBackground=e.editorHoverBorder=e.editorHoverForeground=e.editorHoverBackground=e.editorHoverHighlight=e.searchResultsInfoForeground=e.searchEditorFindMatchBorder=e.searchEditorFindMatch=e.editorFindRangeHighlightBorder=e.editorFindMatchHighlightBorder=e.editorFindMatchBorder=e.editorFindRangeHighlight=e.editorFindMatchHighlight=e.editorFindMatch=e.editorSelectionHighlightBorder=e.editorSelectionHighlight=e.editorInactiveSelection=e.editorSelectionForeground=e.editorSelectionBackground=e.keybindingLabelBottomBorder=e.keybindingLabelBorder=e.keybindingLabelForeground=e.keybindingLabelBackground=e.pickerGroupBorder=e.pickerGroupForeground=e.quickInputTitleBackground=e.quickInputForeground=e.quickInputBackground=e.editorWidgetResizeBorder=e.editorWidgetBorder=e.editorWidgetForeground=e.editorWidgetBackground=e.editorStickyScrollHoverBackground=e.editorStickyScrollBackground=e.editorForeground=e.editorBackground=e.sashHoverBorder=e.editorHintBorder=e.editorHintForeground=e.editorInfoBorder=e.editorInfoForeground=e.editorInfoBackground=e.editorWarningBorder=e.editorWarningForeground=e.editorWarningBackground=e.editorErrorBorder=e.editorErrorForeground=e.editorErrorBackground=e.progressBarBackground=e.scrollbarSliderActiveBackground=e.scrollbarSliderHoverBackground=e.scrollbarSliderBackground=e.scrollbarShadow=e.badgeForeground=e.badgeBackground=e.buttonSecondaryHoverBackground=e.buttonSecondaryBackground=e.buttonSecondaryForeground=e.buttonBorder=e.buttonHoverBackground=e.buttonBackground=e.buttonSeparator=e.buttonForeground=e.selectBorder=e.selectForeground=e.selectListBackground=e.selectBackground=e.inputValidationErrorBorder=e.inputValidationErrorForeground=e.inputValidationErrorBackground=e.inputValidationWarningBorder=e.inputValidationWarningForeground=e.inputValidationWarningBackground=e.inputValidationInfoBorder=e.inputValidationInfoForeground=e.inputValidationInfoBackground=e.inputPlaceholderForeground=e.inputActiveOptionForeground=e.inputActiveOptionBackground=e.inputActiveOptionHoverBackground=e.inputActiveOptionBorder=e.inputBorder=e.inputForeground=e.inputBackground=e.widgetBorder=e.widgetShadow=e.textCodeBlockBackground=e.textBlockQuoteBorder=e.textBlockQuoteBackground=e.textPreformatForeground=e.textLinkActiveForeground=e.textLinkForeground=e.textSeparatorForeground=e.selectionBackground=e.activeContrastBorder=e.contrastBorder=e.focusBorder=e.iconForeground=e.descriptionForeground=e.errorForeground=e.disabledForeground=e.foreground=e.registerColor=e.Extensions=e.asCssVariableWithDefault=e.asCssVariable=e.asCssVariableName=void 0;function g(P){return`--vscode-${P.replace(/\./g,"-")}`}e.asCssVariableName=g;function C(P){return`var(${g(P)})`}e.asCssVariable=C;function s(P,x){return`var(${g(P)}, ${x})`}e.asCssVariableWithDefault=s,e.Extensions={ColorContribution:"base.contributions.colors"};class i{constructor(){this._onDidChangeSchema=new y.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(x,T,A,N=!1,F){const O={id:x,description:A,defaults:T,needsTransparency:N,deprecationMessage:F};this.colorsById[x]=O;const W={type:"string",description:A,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return F&&(W.deprecationMessage=F),this.colorSchema.properties[x]=W,this.colorReferenceSchema.enum.push(x),this.colorReferenceSchema.enumDescriptions.push(A),this._onDidChangeSchema.fire(),x}getColors(){return Object.keys(this.colorsById).map(x=>this.colorsById[x])}resolveDefaultColor(x,T){const A=this.colorsById[x];if(A&&A.defaults){const N=A.defaults[T.type];return E(N,T)}}getColorSchema(){return this.colorSchema}toString(){const x=(T,A)=>{const N=T.indexOf(".")===-1?0:1,F=A.indexOf(".")===-1?0:1;return N!==F?N-F:T.localeCompare(A)};return Object.keys(this.colorsById).sort(x).map(T=>`- \`${T}\`: ${this.colorsById[T].description}`).join(` -`)}}const n=new i;_.Registry.add(e.Extensions.ColorContribution,n);function t(P,x,T,A,N){return n.registerColor(P,x,T,A,N)}e.registerColor=t,e.foreground=t("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(0,null)),e.disabledForeground=t("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.localize(1,null)),e.errorForeground=t("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(2,null)),e.descriptionForeground=t("descriptionForeground",{light:"#717171",dark:m(e.foreground,.7),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(3,null)),e.iconForeground=t("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(4,null)),e.focusBorder=t("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.localize(5,null)),e.contrastBorder=t("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.localize(6,null)),e.activeContrastBorder=t("contrastActiveBorder",{light:null,dark:null,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(7,null)),e.selectionBackground=t("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(8,null)),e.textSeparatorForeground=t("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:k.Color.black,hcLight:"#292929"},S.localize(9,null)),e.textLinkForeground=t("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(10,null)),e.textLinkActiveForeground=t("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(11,null)),e.textPreformatForeground=t("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},S.localize(12,null)),e.textBlockQuoteBackground=t("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},S.localize(13,null)),e.textBlockQuoteBorder=t("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:k.Color.white,hcLight:"#292929"},S.localize(14,null)),e.textCodeBlockBackground=t("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:k.Color.black,hcLight:"#F2F2F2"},S.localize(15,null)),e.widgetShadow=t("widget.shadow",{dark:m(k.Color.black,.36),light:m(k.Color.black,.16),hcDark:null,hcLight:null},S.localize(16,null)),e.widgetBorder=t("widget.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(17,null)),e.inputBackground=t("input.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(18,null)),e.inputForeground=t("input.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(19,null)),e.inputBorder=t("input.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(20,null)),e.inputActiveOptionBorder=t("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(21,null)),e.inputActiveOptionHoverBackground=t("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(22,null)),e.inputActiveOptionBackground=t("inputOption.activeBackground",{dark:m(e.focusBorder,.4),light:m(e.focusBorder,.2),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(23,null)),e.inputActiveOptionForeground=t("inputOption.activeForeground",{dark:k.Color.white,light:k.Color.black,hcDark:e.foreground,hcLight:e.foreground},S.localize(24,null)),e.inputPlaceholderForeground=t("input.placeholderForeground",{light:m(e.foreground,.5),dark:m(e.foreground,.5),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(25,null)),e.inputValidationInfoBackground=t("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(26,null)),e.inputValidationInfoForeground=t("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(27,null)),e.inputValidationInfoBorder=t("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(28,null)),e.inputValidationWarningBackground=t("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(29,null)),e.inputValidationWarningForeground=t("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(30,null)),e.inputValidationWarningBorder=t("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(31,null)),e.inputValidationErrorBackground=t("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(32,null)),e.inputValidationErrorForeground=t("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(33,null)),e.inputValidationErrorBorder=t("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(34,null)),e.selectBackground=t("dropdown.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(35,null)),e.selectListBackground=t("dropdown.listBackground",{dark:null,light:null,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(36,null)),e.selectForeground=t("dropdown.foreground",{dark:"#F0F0F0",light:e.foreground,hcDark:k.Color.white,hcLight:e.foreground},S.localize(37,null)),e.selectBorder=t("dropdown.border",{dark:e.selectBackground,light:"#CECECE",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(38,null)),e.buttonForeground=t("button.foreground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:k.Color.white},S.localize(39,null)),e.buttonSeparator=t("button.separator",{dark:m(e.buttonForeground,.4),light:m(e.buttonForeground,.4),hcDark:m(e.buttonForeground,.4),hcLight:m(e.buttonForeground,.4)},S.localize(40,null)),e.buttonBackground=t("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.localize(41,null)),e.buttonHoverBackground=t("button.hoverBackground",{dark:p(e.buttonBackground,.2),light:l(e.buttonBackground,.2),hcDark:e.buttonBackground,hcLight:e.buttonBackground},S.localize(42,null)),e.buttonBorder=t("button.border",{dark:e.contrastBorder,light:e.contrastBorder,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(43,null)),e.buttonSecondaryForeground=t("button.secondaryForeground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:e.foreground},S.localize(44,null)),e.buttonSecondaryBackground=t("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:k.Color.white},S.localize(45,null)),e.buttonSecondaryHoverBackground=t("button.secondaryHoverBackground",{dark:p(e.buttonSecondaryBackground,.2),light:l(e.buttonSecondaryBackground,.2),hcDark:null,hcLight:null},S.localize(46,null)),e.badgeBackground=t("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:k.Color.black,hcLight:"#0F4A85"},S.localize(47,null)),e.badgeForeground=t("badge.foreground",{dark:k.Color.white,light:"#333",hcDark:k.Color.white,hcLight:k.Color.white},S.localize(48,null)),e.scrollbarShadow=t("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.localize(49,null)),e.scrollbarSliderBackground=t("scrollbarSlider.background",{dark:k.Color.fromHex("#797979").transparent(.4),light:k.Color.fromHex("#646464").transparent(.4),hcDark:m(e.contrastBorder,.6),hcLight:m(e.contrastBorder,.4)},S.localize(50,null)),e.scrollbarSliderHoverBackground=t("scrollbarSlider.hoverBackground",{dark:k.Color.fromHex("#646464").transparent(.7),light:k.Color.fromHex("#646464").transparent(.7),hcDark:m(e.contrastBorder,.8),hcLight:m(e.contrastBorder,.8)},S.localize(51,null)),e.scrollbarSliderActiveBackground=t("scrollbarSlider.activeBackground",{dark:k.Color.fromHex("#BFBFBF").transparent(.4),light:k.Color.fromHex("#000000").transparent(.6),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(52,null)),e.progressBarBackground=t("progressBar.background",{dark:k.Color.fromHex("#0E70C0"),light:k.Color.fromHex("#0E70C0"),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(53,null)),e.editorErrorBackground=t("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(54,null),!0),e.editorErrorForeground=t("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(55,null)),e.editorErrorBorder=t("editorError.border",{dark:null,light:null,hcDark:k.Color.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.localize(56,null)),e.editorWarningBackground=t("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(57,null),!0),e.editorWarningForeground=t("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.localize(58,null)),e.editorWarningBorder=t("editorWarning.border",{dark:null,light:null,hcDark:k.Color.fromHex("#FFCC00").transparent(.8),hcLight:k.Color.fromHex("#FFCC00").transparent(.8)},S.localize(59,null)),e.editorInfoBackground=t("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(60,null),!0),e.editorInfoForeground=t("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.localize(61,null)),e.editorInfoBorder=t("editorInfo.border",{dark:null,light:null,hcDark:k.Color.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.localize(62,null)),e.editorHintForeground=t("editorHint.foreground",{dark:k.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.localize(63,null)),e.editorHintBorder=t("editorHint.border",{dark:null,light:null,hcDark:k.Color.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.localize(64,null)),e.sashHoverBorder=t("sash.hoverBorder",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(65,null)),e.editorBackground=t("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(66,null)),e.editorForeground=t("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:k.Color.white,hcLight:e.foreground},S.localize(67,null)),e.editorStickyScrollBackground=t("editorStickyScroll.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(68,null)),e.editorStickyScrollHoverBackground=t("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(69,null)),e.editorWidgetBackground=t("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:k.Color.white},S.localize(70,null)),e.editorWidgetForeground=t("editorWidget.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(71,null)),e.editorWidgetBorder=t("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(72,null)),e.editorWidgetResizeBorder=t("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(73,null)),e.quickInputBackground=t("quickInput.background",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(74,null)),e.quickInputForeground=t("quickInput.foreground",{dark:e.editorWidgetForeground,light:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(75,null)),e.quickInputTitleBackground=t("quickInputTitle.background",{dark:new k.Color(new k.RGBA(255,255,255,.105)),light:new k.Color(new k.RGBA(0,0,0,.06)),hcDark:"#000000",hcLight:k.Color.white},S.localize(76,null)),e.pickerGroupForeground=t("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(77,null)),e.pickerGroupBorder=t("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(78,null)),e.keybindingLabelBackground=t("keybindingLabel.background",{dark:new k.Color(new k.RGBA(128,128,128,.17)),light:new k.Color(new k.RGBA(221,221,221,.4)),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(79,null)),e.keybindingLabelForeground=t("keybindingLabel.foreground",{dark:k.Color.fromHex("#CCCCCC"),light:k.Color.fromHex("#555555"),hcDark:k.Color.white,hcLight:e.foreground},S.localize(80,null)),e.keybindingLabelBorder=t("keybindingLabel.border",{dark:new k.Color(new k.RGBA(51,51,51,.6)),light:new k.Color(new k.RGBA(204,204,204,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.contrastBorder},S.localize(81,null)),e.keybindingLabelBottomBorder=t("keybindingLabel.bottomBorder",{dark:new k.Color(new k.RGBA(68,68,68,.6)),light:new k.Color(new k.RGBA(187,187,187,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.foreground},S.localize(82,null)),e.editorSelectionBackground=t("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.localize(83,null)),e.editorSelectionForeground=t("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:k.Color.white},S.localize(84,null)),e.editorInactiveSelection=t("editor.inactiveSelectionBackground",{light:m(e.editorSelectionBackground,.5),dark:m(e.editorSelectionBackground,.5),hcDark:m(e.editorSelectionBackground,.7),hcLight:m(e.editorSelectionBackground,.5)},S.localize(85,null),!0),e.editorSelectionHighlight=t("editor.selectionHighlightBackground",{light:w(e.editorSelectionBackground,e.editorBackground,.3,.6),dark:w(e.editorSelectionBackground,e.editorBackground,.3,.6),hcDark:null,hcLight:null},S.localize(86,null),!0),e.editorSelectionHighlightBorder=t("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(87,null)),e.editorFindMatch=t("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.localize(88,null)),e.editorFindMatchHighlight=t("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.localize(89,null),!0),e.editorFindRangeHighlight=t("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.localize(90,null),!0),e.editorFindMatchBorder=t("editor.findMatchBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(91,null)),e.editorFindMatchHighlightBorder=t("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(92,null)),e.editorFindRangeHighlightBorder=t("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:m(e.activeContrastBorder,.4),hcLight:m(e.activeContrastBorder,.4)},S.localize(93,null),!0),e.searchEditorFindMatch=t("searchEditor.findMatchBackground",{light:m(e.editorFindMatchHighlight,.66),dark:m(e.editorFindMatchHighlight,.66),hcDark:e.editorFindMatchHighlight,hcLight:e.editorFindMatchHighlight},S.localize(94,null)),e.searchEditorFindMatchBorder=t("searchEditor.findMatchBorder",{light:m(e.editorFindMatchHighlightBorder,.66),dark:m(e.editorFindMatchHighlightBorder,.66),hcDark:e.editorFindMatchHighlightBorder,hcLight:e.editorFindMatchHighlightBorder},S.localize(95,null)),e.searchResultsInfoForeground=t("search.resultsInfoForeground",{light:e.foreground,dark:m(e.foreground,.65),hcDark:e.foreground,hcLight:e.foreground},S.localize(96,null)),e.editorHoverHighlight=t("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.localize(97,null),!0),e.editorHoverBackground=t("editorHoverWidget.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(98,null)),e.editorHoverForeground=t("editorHoverWidget.foreground",{light:e.editorWidgetForeground,dark:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(99,null)),e.editorHoverBorder=t("editorHoverWidget.border",{light:e.editorWidgetBorder,dark:e.editorWidgetBorder,hcDark:e.editorWidgetBorder,hcLight:e.editorWidgetBorder},S.localize(100,null)),e.editorHoverStatusBarBackground=t("editorHoverWidget.statusBarBackground",{dark:p(e.editorHoverBackground,.2),light:l(e.editorHoverBackground,.05),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(101,null)),e.editorActiveLinkForeground=t("editorLink.activeForeground",{dark:"#4E94CE",light:k.Color.blue,hcDark:k.Color.cyan,hcLight:"#292929"},S.localize(102,null)),e.editorInlayHintForeground=t("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:k.Color.white,hcLight:k.Color.black},S.localize(103,null)),e.editorInlayHintBackground=t("editorInlayHint.background",{dark:m(e.badgeBackground,.1),light:m(e.badgeBackground,.1),hcDark:m(k.Color.white,.1),hcLight:m(e.badgeBackground,.1)},S.localize(104,null)),e.editorInlayHintTypeForeground=t("editorInlayHint.typeForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(105,null)),e.editorInlayHintTypeBackground=t("editorInlayHint.typeBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(106,null)),e.editorInlayHintParameterForeground=t("editorInlayHint.parameterForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(107,null)),e.editorInlayHintParameterBackground=t("editorInlayHint.parameterBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(108,null)),e.editorLightBulbForeground=t("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.localize(109,null)),e.editorLightBulbAutoFixForeground=t("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.localize(110,null)),e.defaultInsertColor=new k.Color(new k.RGBA(155,185,85,.2)),e.defaultRemoveColor=new k.Color(new k.RGBA(255,0,0,.2)),e.diffInserted=t("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.localize(111,null),!0),e.diffRemoved=t("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.localize(112,null),!0),e.diffInsertedLine=t("diffEditor.insertedLineBackground",{dark:e.defaultInsertColor,light:e.defaultInsertColor,hcDark:null,hcLight:null},S.localize(113,null),!0),e.diffRemovedLine=t("diffEditor.removedLineBackground",{dark:e.defaultRemoveColor,light:e.defaultRemoveColor,hcDark:null,hcLight:null},S.localize(114,null),!0),e.diffInsertedLineGutter=t("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(115,null)),e.diffRemovedLineGutter=t("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(116,null)),e.diffOverviewRulerInserted=t("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(117,null)),e.diffOverviewRulerRemoved=t("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(118,null)),e.diffInsertedOutline=t("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.localize(119,null)),e.diffRemovedOutline=t("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.localize(120,null)),e.diffBorder=t("diffEditor.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(121,null)),e.diffDiagonalFill=t("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.localize(122,null)),e.diffUnchangedRegionBackground=t("diffEditor.unchangedRegionBackground",{dark:"#3e3e3e",light:"#e4e4e4",hcDark:null,hcLight:null},S.localize(123,null)),e.diffUnchangedRegionForeground=t("diffEditor.unchangedRegionForeground",{dark:"#a3a2a2",light:"#4d4c4c",hcDark:null,hcLight:null},S.localize(124,null)),e.diffUnchangedTextBackground=t("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.localize(125,null)),e.listFocusBackground=t("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(126,null)),e.listFocusForeground=t("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(127,null)),e.listFocusOutline=t("list.focusOutline",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(128,null)),e.listFocusAndSelectionOutline=t("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(129,null)),e.listActiveSelectionBackground=t("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(130,null)),e.listActiveSelectionForeground=t("list.activeSelectionForeground",{dark:k.Color.white,light:k.Color.white,hcDark:null,hcLight:null},S.localize(131,null)),e.listActiveSelectionIconForeground=t("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(132,null)),e.listInactiveSelectionBackground=t("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(133,null)),e.listInactiveSelectionForeground=t("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(134,null)),e.listInactiveSelectionIconForeground=t("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(135,null)),e.listInactiveFocusBackground=t("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(136,null)),e.listInactiveFocusOutline=t("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(137,null)),e.listHoverBackground=t("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:k.Color.white.transparent(.1),hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(138,null)),e.listHoverForeground=t("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(139,null)),e.listDropBackground=t("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.localize(140,null)),e.listHighlightForeground=t("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(141,null)),e.listFocusHighlightForeground=t("list.focusHighlightForeground",{dark:e.listHighlightForeground,light:b(e.listActiveSelectionBackground,e.listHighlightForeground,"#BBE7FF"),hcDark:e.listHighlightForeground,hcLight:e.listHighlightForeground},S.localize(142,null)),e.listInvalidItemForeground=t("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.localize(143,null)),e.listErrorForeground=t("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.localize(144,null)),e.listWarningForeground=t("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.localize(145,null)),e.listFilterWidgetBackground=t("listFilterWidget.background",{light:l(e.editorWidgetBackground,0),dark:p(e.editorWidgetBackground,0),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(146,null)),e.listFilterWidgetOutline=t("listFilterWidget.outline",{dark:k.Color.transparent,light:k.Color.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.localize(147,null)),e.listFilterWidgetNoMatchesOutline=t("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(148,null)),e.listFilterWidgetShadow=t("listFilterWidget.shadow",{dark:e.widgetShadow,light:e.widgetShadow,hcDark:e.widgetShadow,hcLight:e.widgetShadow},S.localize(149,null)),e.listFilterMatchHighlight=t("list.filterMatchBackground",{dark:e.editorFindMatchHighlight,light:e.editorFindMatchHighlight,hcDark:null,hcLight:null},S.localize(150,null)),e.listFilterMatchHighlightBorder=t("list.filterMatchBorder",{dark:e.editorFindMatchHighlightBorder,light:e.editorFindMatchHighlightBorder,hcDark:e.contrastBorder,hcLight:e.activeContrastBorder},S.localize(151,null)),e.treeIndentGuidesStroke=t("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.localize(152,null)),e.treeInactiveIndentGuidesStroke=t("tree.inactiveIndentGuidesStroke",{dark:m(e.treeIndentGuidesStroke,.4),light:m(e.treeIndentGuidesStroke,.4),hcDark:m(e.treeIndentGuidesStroke,.4),hcLight:m(e.treeIndentGuidesStroke,.4)},S.localize(153,null)),e.tableColumnsBorder=t("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.localize(154,null)),e.tableOddRowsBackgroundColor=t("tree.tableOddRowsBackground",{dark:m(e.foreground,.04),light:m(e.foreground,.04),hcDark:null,hcLight:null},S.localize(155,null)),e.listDeemphasizedForeground=t("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.localize(156,null)),e.checkboxBackground=t("checkbox.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(157,null)),e.checkboxSelectBackground=t("checkbox.selectBackground",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(158,null)),e.checkboxForeground=t("checkbox.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(159,null)),e.checkboxBorder=t("checkbox.border",{dark:e.selectBorder,light:e.selectBorder,hcDark:e.selectBorder,hcLight:e.selectBorder},S.localize(160,null)),e.checkboxSelectBorder=t("checkbox.selectBorder",{dark:e.iconForeground,light:e.iconForeground,hcDark:e.iconForeground,hcLight:e.iconForeground},S.localize(161,null)),e._deprecatedQuickInputListFocusBackground=t("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.localize(162,null)),e.quickInputListFocusForeground=t("quickInputList.focusForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(163,null)),e.quickInputListFocusIconForeground=t("quickInputList.focusIconForeground",{dark:e.listActiveSelectionIconForeground,light:e.listActiveSelectionIconForeground,hcDark:e.listActiveSelectionIconForeground,hcLight:e.listActiveSelectionIconForeground},S.localize(164,null)),e.quickInputListFocusBackground=t("quickInputList.focusBackground",{dark:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),light:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),hcDark:null,hcLight:null},S.localize(165,null)),e.menuBorder=t("menu.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(166,null)),e.menuForeground=t("menu.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(167,null)),e.menuBackground=t("menu.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(168,null)),e.menuSelectionForeground=t("menu.selectionForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(169,null)),e.menuSelectionBackground=t("menu.selectionBackground",{dark:e.listActiveSelectionBackground,light:e.listActiveSelectionBackground,hcDark:e.listActiveSelectionBackground,hcLight:e.listActiveSelectionBackground},S.localize(170,null)),e.menuSelectionBorder=t("menu.selectionBorder",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(171,null)),e.menuSeparatorBackground=t("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(172,null)),e.toolbarHoverBackground=t("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(173,null)),e.toolbarHoverOutline=t("toolbar.hoverOutline",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(174,null)),e.toolbarActiveBackground=t("toolbar.activeBackground",{dark:p(e.toolbarHoverBackground,.1),light:l(e.toolbarHoverBackground,.1),hcDark:null,hcLight:null},S.localize(175,null)),e.snippetTabstopHighlightBackground=t("editor.snippetTabstopHighlightBackground",{dark:new k.Color(new k.RGBA(124,124,124,.3)),light:new k.Color(new k.RGBA(10,50,100,.2)),hcDark:new k.Color(new k.RGBA(124,124,124,.3)),hcLight:new k.Color(new k.RGBA(10,50,100,.2))},S.localize(176,null)),e.snippetTabstopHighlightBorder=t("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(177,null)),e.snippetFinalTabstopHighlightBackground=t("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(178,null)),e.snippetFinalTabstopHighlightBorder=t("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new k.Color(new k.RGBA(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.localize(179,null)),e.breadcrumbsForeground=t("breadcrumb.foreground",{light:m(e.foreground,.8),dark:m(e.foreground,.8),hcDark:m(e.foreground,.8),hcLight:m(e.foreground,.8)},S.localize(180,null)),e.breadcrumbsBackground=t("breadcrumb.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(181,null)),e.breadcrumbsFocusForeground=t("breadcrumb.focusForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(182,null)),e.breadcrumbsActiveSelectionForeground=t("breadcrumb.activeSelectionForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(183,null)),e.breadcrumbsPickerBackground=t("breadcrumbPicker.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(184,null));const a=.5,u=k.Color.fromHex("#40C8AE").transparent(a),h=k.Color.fromHex("#40A6FF").transparent(a),r=k.Color.fromHex("#606060").transparent(.4),c=.4,o=1;e.mergeCurrentHeaderBackground=t("merge.currentHeaderBackground",{dark:u,light:u,hcDark:null,hcLight:null},S.localize(185,null),!0),e.mergeCurrentContentBackground=t("merge.currentContentBackground",{dark:m(e.mergeCurrentHeaderBackground,c),light:m(e.mergeCurrentHeaderBackground,c),hcDark:m(e.mergeCurrentHeaderBackground,c),hcLight:m(e.mergeCurrentHeaderBackground,c)},S.localize(186,null),!0),e.mergeIncomingHeaderBackground=t("merge.incomingHeaderBackground",{dark:h,light:h,hcDark:null,hcLight:null},S.localize(187,null),!0),e.mergeIncomingContentBackground=t("merge.incomingContentBackground",{dark:m(e.mergeIncomingHeaderBackground,c),light:m(e.mergeIncomingHeaderBackground,c),hcDark:m(e.mergeIncomingHeaderBackground,c),hcLight:m(e.mergeIncomingHeaderBackground,c)},S.localize(188,null),!0),e.mergeCommonHeaderBackground=t("merge.commonHeaderBackground",{dark:r,light:r,hcDark:null,hcLight:null},S.localize(189,null),!0),e.mergeCommonContentBackground=t("merge.commonContentBackground",{dark:m(e.mergeCommonHeaderBackground,c),light:m(e.mergeCommonHeaderBackground,c),hcDark:m(e.mergeCommonHeaderBackground,c),hcLight:m(e.mergeCommonHeaderBackground,c)},S.localize(190,null),!0),e.mergeBorder=t("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.localize(191,null)),e.overviewRulerCurrentContentForeground=t("editorOverviewRuler.currentContentForeground",{dark:m(e.mergeCurrentHeaderBackground,o),light:m(e.mergeCurrentHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(192,null)),e.overviewRulerIncomingContentForeground=t("editorOverviewRuler.incomingContentForeground",{dark:m(e.mergeIncomingHeaderBackground,o),light:m(e.mergeIncomingHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(193,null)),e.overviewRulerCommonContentForeground=t("editorOverviewRuler.commonContentForeground",{dark:m(e.mergeCommonHeaderBackground,o),light:m(e.mergeCommonHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(194,null)),e.overviewRulerFindMatchForeground=t("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.localize(195,null),!0),e.overviewRulerSelectionHighlightForeground=t("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.localize(196,null),!0),e.minimapFindMatch=t("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.localize(197,null),!0),e.minimapSelectionOccurrenceHighlight=t("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(198,null),!0),e.minimapSelection=t("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(199,null),!0),e.minimapError=t("minimap.errorHighlight",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},S.localize(200,null)),e.minimapWarning=t("minimap.warningHighlight",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningBorder,hcLight:e.editorWarningBorder},S.localize(201,null)),e.minimapBackground=t("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(202,null)),e.minimapForegroundOpacity=t("minimap.foregroundOpacity",{dark:k.Color.fromHex("#000f"),light:k.Color.fromHex("#000f"),hcDark:k.Color.fromHex("#000f"),hcLight:k.Color.fromHex("#000f")},S.localize(203,null)),e.minimapSliderBackground=t("minimapSlider.background",{light:m(e.scrollbarSliderBackground,.5),dark:m(e.scrollbarSliderBackground,.5),hcDark:m(e.scrollbarSliderBackground,.5),hcLight:m(e.scrollbarSliderBackground,.5)},S.localize(204,null)),e.minimapSliderHoverBackground=t("minimapSlider.hoverBackground",{light:m(e.scrollbarSliderHoverBackground,.5),dark:m(e.scrollbarSliderHoverBackground,.5),hcDark:m(e.scrollbarSliderHoverBackground,.5),hcLight:m(e.scrollbarSliderHoverBackground,.5)},S.localize(205,null)),e.minimapSliderActiveBackground=t("minimapSlider.activeBackground",{light:m(e.scrollbarSliderActiveBackground,.5),dark:m(e.scrollbarSliderActiveBackground,.5),hcDark:m(e.scrollbarSliderActiveBackground,.5),hcLight:m(e.scrollbarSliderActiveBackground,.5)},S.localize(206,null)),e.problemsErrorIconForeground=t("problemsErrorIcon.foreground",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(207,null)),e.problemsWarningIconForeground=t("problemsWarningIcon.foreground",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(208,null)),e.problemsInfoIconForeground=t("problemsInfoIcon.foreground",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(209,null)),e.chartsForeground=t("charts.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(210,null)),e.chartsLines=t("charts.lines",{dark:m(e.foreground,.5),light:m(e.foreground,.5),hcDark:m(e.foreground,.5),hcLight:m(e.foreground,.5)},S.localize(211,null)),e.chartsRed=t("charts.red",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(212,null)),e.chartsBlue=t("charts.blue",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(213,null)),e.chartsYellow=t("charts.yellow",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(214,null)),e.chartsOrange=t("charts.orange",{dark:e.minimapFindMatch,light:e.minimapFindMatch,hcDark:e.minimapFindMatch,hcLight:e.minimapFindMatch},S.localize(215,null)),e.chartsGreen=t("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.localize(216,null)),e.chartsPurple=t("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.localize(217,null));function d(P,x){var T,A,N,F;switch(P.op){case 0:return(T=E(P.value,x))===null||T===void 0?void 0:T.darken(P.factor);case 1:return(A=E(P.value,x))===null||A===void 0?void 0:A.lighten(P.factor);case 2:return(N=E(P.value,x))===null||N===void 0?void 0:N.transparent(P.factor);case 3:{const O=E(P.background,x);return O?(F=E(P.value,x))===null||F===void 0?void 0:F.makeOpaque(O):E(P.value,x)}case 4:for(const O of P.values){const W=E(O,x);if(W)return W}return;case 6:return E(x.defines(P.if)?P.then:P.else,x);case 5:{const O=E(P.value,x);if(!O)return;const W=E(P.background,x);return W?O.isDarkerThan(W)?k.Color.getLighterColor(O,W,P.factor).transparent(P.transparency):k.Color.getDarkerColor(O,W,P.factor).transparent(P.transparency):O.transparent(P.factor*P.transparency)}default:throw(0,D.assertNever)(P)}}e.executeTransform=d;function l(P,x){return{op:0,value:P,factor:x}}e.darken=l;function p(P,x){return{op:1,value:P,factor:x}}e.lighten=p;function m(P,x){return{op:2,value:P,factor:x}}e.transparent=m;function v(...P){return{op:4,values:P}}e.oneOf=v;function b(P,x,T){return{op:6,if:P,then:x,else:T}}e.ifDefinedThenElse=b;function w(P,x,T,A){return{op:5,value:P,background:x,factor:T,transparency:A}}function E(P,x){if(P!==null){if(typeof P=="string")return P[0]==="#"?k.Color.fromHex(P):x.getColor(P);if(P instanceof k.Color)return P;if(typeof P=="object")return d(P,x)}}e.resolveColorValue=E,e.workbenchColorsSchemaId="vscode://schemas/workbench-colors";const I=_.Registry.as(f.Extensions.JSONContribution);I.registerSchema(e.workbenchColorsSchemaId,n.getColorSchema());const M=new L.RunOnceScheduler(()=>I.notifySchemaChanged(e.workbenchColorsSchemaId),200);n.onDidChangeSchema(()=>{M.isScheduled()||M.schedule()})}),define(ne[159],se([1,0,7,152,60,13,2,31]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicCssRules=e.GlobalEditorPointerMoveMonitor=e.EditorPointerEventFactory=e.EditorMouseEventFactory=e.EditorMouseEvent=e.createCoordinatesRelativeToEditor=e.createEditorPagePosition=e.CoordinatesRelativeToEditor=e.EditorPagePosition=e.ClientCoordinates=e.PageCoordinates=void 0;class _{constructor(l,p){this.x=l,this.y=p,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new g(this.x-window.scrollX,this.y-window.scrollY)}}e.PageCoordinates=_;class g{constructor(l,p){this.clientX=l,this.clientY=p,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new _(this.clientX+window.scrollX,this.clientY+window.scrollY)}}e.ClientCoordinates=g;class C{constructor(l,p,m,v){this.x=l,this.y=p,this.width=m,this.height=v,this._editorPagePositionBrand=void 0}}e.EditorPagePosition=C;class s{constructor(l,p){this.x=l,this.y=p,this._positionRelativeToEditorBrand=void 0}}e.CoordinatesRelativeToEditor=s;function i(d){const l=L.getDomNodePagePosition(d);return new C(l.left,l.top,l.width,l.height)}e.createEditorPagePosition=i;function n(d,l,p){const m=l.width/d.offsetWidth,v=l.height/d.offsetHeight,b=(p.x-l.x)/m,w=(p.y-l.y)/v;return new s(b,w)}e.createCoordinatesRelativeToEditor=n;class t extends y.StandardMouseEvent{constructor(l,p,m){super(l),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=p,this.pos=new _(this.posx,this.posy),this.editorPos=i(m),this.relativePos=n(m,this.editorPos,this.pos)}}e.EditorMouseEvent=t;class a{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onContextMenu(l,p){return L.addDisposableListener(l,"contextmenu",m=>{p(this._create(m))})}onMouseUp(l,p){return L.addDisposableListener(l,"mouseup",m=>{p(this._create(m))})}onMouseDown(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_DOWN,m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onMouseLeave(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_LEAVE,m=>{p(this._create(m))})}onMouseMove(l,p){return L.addDisposableListener(l,"mousemove",m=>p(this._create(m)))}}e.EditorMouseEventFactory=a;class u{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onPointerUp(l,p){return L.addDisposableListener(l,"pointerup",m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onPointerLeave(l,p){return L.addDisposableListener(l,L.EventType.POINTER_LEAVE,m=>{p(this._create(m))})}onPointerMove(l,p){return L.addDisposableListener(l,"pointermove",m=>p(this._create(m)))}}e.EditorPointerEventFactory=u;class h extends S.Disposable{constructor(l){super(),this._editorViewDomNode=l,this._globalPointerMoveMonitor=this._register(new k.GlobalPointerMoveMonitor),this._keydownListener=null}startMonitoring(l,p,m,v,b){this._keydownListener=L.addStandardDisposableListener(document,"keydown",w=>{w.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,w.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(l,p,m,w=>{v(new t(w,!0,this._editorViewDomNode))},w=>{this._keydownListener.dispose(),b(w)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}e.GlobalEditorPointerMoveMonitor=h;class r{constructor(l){this._editor=l,this._instanceId=++r._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new D.RunOnceScheduler(()=>this.garbageCollect(),1e3)}createClassNameRef(l){const p=this.getOrCreateRule(l);return p.increaseRefCount(),{className:p.className,dispose:()=>{p.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(l){const p=this.computeUniqueKey(l);let m=this._rules.get(p);if(!m){const v=this._counter++;m=new c(p,`dyn-rule-${this._instanceId}-${v}`,L.isInShadowDOM(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,l),this._rules.set(p,m)}return m}computeUniqueKey(l){return JSON.stringify(l)}garbageCollect(){for(const l of this._rules.values())l.hasReferences()||(this._rules.delete(l.key),l.dispose())}}e.DynamicCssRules=r,r._idPool=0;class c{constructor(l,p,m,v){this.key=l,this.className=p,this.properties=v,this._referenceCount=0,this._styleElement=L.createStyleSheet(m),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(l,p){let m=`.${l} {`;for(const v in p){const b=p[v];let w;typeof b=="object"?w=(0,f.asCssVariable)(b.id):w=b;const E=o(v);m+=` - ${E}: ${w};`}return m+=` -}`,m}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function o(d){return d.replace(/(^[A-Z])/,([l])=>l.toLowerCase()).replace(/([A-Z])/g,([l])=>`-${l.toLowerCase()}`)}}),define(ne[821],se([1,0,7,35,152,2,17,11,229,53,36,5,274,328,67,31,24,61,481,48,99,425]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Minimap=void 0;const d=140,l=2;class p{constructor(T,A,N){const F=T.options,O=F.get(140),W=F.get(142),U=W.minimap,j=F.get(49),R=F.get(71);this.renderMinimap=U.renderMinimap,this.size=R.size,this.minimapHeightIsEditorHeight=U.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=F.get(103),this.paddingTop=F.get(82).top,this.paddingBottom=F.get(82).bottom,this.showSlider=R.showSlider,this.autohide=R.autohide,this.pixelRatio=O,this.typicalHalfwidthCharacterWidth=j.typicalHalfwidthCharacterWidth,this.lineHeight=F.get(65),this.minimapLeft=U.minimapLeft,this.minimapWidth=U.minimapWidth,this.minimapHeight=W.height,this.canvasInnerWidth=U.minimapCanvasInnerWidth,this.canvasInnerHeight=U.minimapCanvasInnerHeight,this.canvasOuterWidth=U.minimapCanvasOuterWidth,this.canvasOuterHeight=U.minimapCanvasOuterHeight,this.isSampling=U.minimapIsSampling,this.editorHeight=W.height,this.fontScale=U.minimapScale,this.minimapLineHeight=U.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=(0,o.once)(()=>r.MinimapCharRendererFactory.create(this.fontScale,j.fontFamily)),this.defaultBackgroundColor=N.getColor(2),this.backgroundColor=p._getMinimapBackground(A,this.defaultBackgroundColor),this.foregroundAlpha=p._getMinimapForegroundOpacity(A)}static _getMinimapBackground(T,A){const N=T.getColor(a.minimapBackground);return N?new i.RGBA8(N.rgba.r,N.rgba.g,N.rgba.b,Math.round(255*N.rgba.a)):A}static _getMinimapForegroundOpacity(T){const A=T.getColor(a.minimapForegroundOpacity);return A?i.RGBA8._clamp(Math.round(255*A.rgba.a)):255}equals(T){return this.renderMinimap===T.renderMinimap&&this.size===T.size&&this.minimapHeightIsEditorHeight===T.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===T.scrollBeyondLastLine&&this.paddingTop===T.paddingTop&&this.paddingBottom===T.paddingBottom&&this.showSlider===T.showSlider&&this.autohide===T.autohide&&this.pixelRatio===T.pixelRatio&&this.typicalHalfwidthCharacterWidth===T.typicalHalfwidthCharacterWidth&&this.lineHeight===T.lineHeight&&this.minimapLeft===T.minimapLeft&&this.minimapWidth===T.minimapWidth&&this.minimapHeight===T.minimapHeight&&this.canvasInnerWidth===T.canvasInnerWidth&&this.canvasInnerHeight===T.canvasInnerHeight&&this.canvasOuterWidth===T.canvasOuterWidth&&this.canvasOuterHeight===T.canvasOuterHeight&&this.isSampling===T.isSampling&&this.editorHeight===T.editorHeight&&this.fontScale===T.fontScale&&this.minimapLineHeight===T.minimapLineHeight&&this.minimapCharWidth===T.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(T.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(T.backgroundColor)&&this.foregroundAlpha===T.foregroundAlpha}}class m{constructor(T,A,N,F,O,W,U,j,R){this.scrollTop=T,this.scrollHeight=A,this.sliderNeeded=N,this._computedSliderRatio=F,this.sliderTop=O,this.sliderHeight=W,this.topPaddingLineCount=U,this.startLineNumber=j,this.endLineNumber=R}getDesiredScrollTopFromDelta(T){return Math.round(this.scrollTop+T/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(T){return Math.round((T-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(T){const A=Math.max(this.startLineNumber,T.startLineNumber),N=Math.min(this.endLineNumber,T.endLineNumber);return A>N?null:[A,N]}getYForLineNumber(T,A){return+(T-this.startLineNumber+this.topPaddingLineCount)*A}static create(T,A,N,F,O,W,U,j,R,K,G){const Z=T.pixelRatio,J=T.minimapLineHeight,X=Math.floor(T.canvasInnerHeight/J),H=T.lineHeight;if(T.minimapHeightIsEditorHeight){let de=j*T.lineHeight+T.paddingTop+T.paddingBottom;T.scrollBeyondLastLine&&(de+=Math.max(0,O-T.lineHeight-T.paddingBottom));const he=Math.max(1,Math.floor(O*O/de)),ue=Math.max(0,T.minimapHeight-he),te=ue/(K-O),q=R*te,z=ue>0,ee=Math.floor(T.canvasInnerHeight/T.minimapLineHeight),$=Math.floor(T.paddingTop/T.lineHeight);return new m(R,K,z,te,q,he,$,1,Math.min(U,ee))}let B;if(W&&N!==U){const de=N-A+1;B=Math.floor(de*J/Z)}else{const de=O/H;B=Math.floor(de*J/Z)}const V=Math.floor(T.paddingTop/H);let Y=Math.floor(T.paddingBottom/H);if(T.scrollBeyondLastLine){const de=O/H;Y=Math.max(Y,de-1)}let ie;if(Y>0){const de=O/H;ie=(V+U+Y-de-1)*J/Z}else ie=Math.max(0,(V+U)*J/Z-B);ie=Math.min(T.minimapHeight-B,ie);const ae=ie/(K-O),ce=R*ae;if(X>=V+U+Y){const de=ie>0;return new m(R,K,de,ae,ce,B,V,1,U)}else{let de;A>1?de=A+V:de=Math.max(1,R/H);let he,ue=Math.max(1,Math.floor(de-ce*Z/J));ueR&&(ue=Math.min(ue,G.startLineNumber),he=Math.max(he,G.topPaddingLineCount)),G.scrollTop=T.paddingTop?z=(A-ue+he+q)*J/Z:z=R/T.paddingTop*(he+q)*J/Z,new m(R,K,!0,ae,z,B,he,ue,te)}}}class v{constructor(T){this.dy=T}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}v.INVALID=new v(-1);class b{constructor(T,A,N){this.renderedLayout=T,this._imageData=A,this._renderedLines=new _.RenderedLinesCollection(()=>v.INVALID),this._renderedLines._set(T.startLineNumber,N)}linesEquals(T){if(!this.scrollEquals(T))return!1;const N=this._renderedLines._get().lines;for(let F=0,O=N.length;F1){for(let V=0,Y=F-1;V0&&this.minimapLines[N-1]>=T;)N--;let F=this.modelLineToMinimapLine(A)-1;for(;F+1A)return null}return[N+1,F+1]}decorationLineRangeToMinimapLineRange(T,A){let N=this.modelLineToMinimapLine(T),F=this.modelLineToMinimapLine(A);return T!==A&&F===N&&(F===this.minimapLines.length?N>1&&N--:F++),[N,F]}onLinesDeleted(T){const A=T.toLineNumber-T.fromLineNumber+1;let N=this.minimapLines.length,F=0;for(let O=this.minimapLines.length-1;O>=0&&!(this.minimapLines[O]=0&&!(this.minimapLines[N]0,scrollWidth:T.scrollWidth,scrollHeight:T.scrollHeight,viewportStartLineNumber:A,viewportEndLineNumber:N,viewportStartLineNumberVerticalOffset:T.getVerticalOffsetForLineNumber(A),scrollTop:T.scrollTop,scrollLeft:T.scrollLeft,viewportWidth:T.viewportWidth,viewportHeight:T.viewportHeight};this._actual.render(F)}_recreateLineSampling(){this._minimapSelections=null;const T=!!this._samplingState,[A,N]=E.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=A,T&&this._samplingState)for(const F of N)switch(F.type){case"deleted":this._actual.onLinesDeleted(F.deleteFromLineNumber,F.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(F.insertFromLineNumber,F.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(T){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineContent(T)}getLineMaxColumn(T){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineMaxColumn(T)}getMinimapLinesRenderingData(T,A,N){if(this._samplingState){const F=[];for(let O=0,W=A-T+1;O{if(N.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!=="proportional"){if(N.button===0&&this._lastRenderData){const R=L.getDomNodePagePosition(this._slider.domNode),K=R.top+R.height/2;this._startSliderDragging(N,K,this._lastRenderData.renderedLayout)}return}const O=this._model.options.minimapLineHeight,W=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*N.offsetY;let j=Math.floor(W/O)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;j=Math.min(j,this._model.getLineCount()),this._model.revealLineNumber(j)}),this._sliderPointerMoveMonitor=new y.GlobalPointerMoveMonitor,this._sliderPointerDownListener=L.addStandardDisposableListener(this._slider.domNode,L.EventType.POINTER_DOWN,N=>{N.preventDefault(),N.stopPropagation(),N.button===0&&this._lastRenderData&&this._startSliderDragging(N,N.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=h.Gesture.addTarget(this._domNode.domNode),this._sliderTouchStartListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Start,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(N))},{passive:!1}),this._sliderTouchMoveListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Change,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(N)},{passive:!1}),this._sliderTouchEndListener=L.addStandardDisposableListener(this._domNode.domNode,h.EventType.End,N=>{N.preventDefault(),N.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(T,A,N){if(!T.target||!(T.target instanceof Element))return;const F=T.pageX;this._slider.toggleClassName("active",!0);const O=(W,U)=>{const j=L.getDomNodePagePosition(this._domNode.domNode),R=Math.min(Math.abs(U-F),Math.abs(U-j.left),Math.abs(U-j.left-j.width));if(S.isWindows&&R>d){this._model.setScrollTop(N.scrollTop);return}const K=W-A;this._model.setScrollTop(N.getDesiredScrollTopFromDelta(K))};T.pageY!==A&&O(T.pageY,F),this._sliderPointerMoveMonitor.startMonitoring(T.target,T.pointerId,T.buttons,W=>O(W.pageY,W.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(T){const A=this._domNode.domNode.getBoundingClientRect().top,N=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(T.pageY-A);this._model.setScrollTop(N)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){const T=["minimap"];return this._model.options.showSlider==="always"?T.push("slider-always"):T.push("slider-mouseover"),this._model.options.autohide&&T.push("autohide"),T.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new w(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(T,A){return this._lastRenderData?this._lastRenderData.onLinesChanged(T,A):!1}onLinesDeleted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesDeleted(T,A),!0}onLinesInserted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesInserted(T,A),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(a.minimapSelection),this._renderDecorations=!0,!0}onTokensChanged(T){return this._lastRenderData?this._lastRenderData.onTokensChanged(T):!1}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(T){if(this._model.options.renderMinimap===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}T.scrollLeft+T.viewportWidth>=T.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const N=m.create(this._model.options,T.viewportStartLineNumber,T.viewportEndLineNumber,T.viewportStartLineNumberVerticalOffset,T.viewportHeight,T.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),T.scrollTop,T.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(N.sliderNeeded?"block":"none"),this._slider.setTop(N.sliderTop),this._slider.setHeight(N.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(N.sliderHeight),this.renderDecorations(N),this._lastRenderData=this.renderLines(N)}renderDecorations(T){if(this._renderDecorations){this._renderDecorations=!1;const A=this._model.getSelections();A.sort(s.Range.compareRangesUsingStarts);const N=this._model.getMinimapDecorationsInViewport(T.startLineNumber,T.endLineNumber);N.sort((Z,J)=>(Z.options.zIndex||0)-(J.options.zIndex||0));const{canvasInnerWidth:F,canvasInnerHeight:O}=this._model.options,W=this._model.options.minimapLineHeight,U=this._model.options.minimapCharWidth,j=this._model.getOptions().tabSize,R=this._decorationsCanvas.domNode.getContext("2d");R.clearRect(0,0,F,O);const K=new P(T.startLineNumber,T.endLineNumber,!1);this._renderSelectionLineHighlights(R,A,K,T,W),this._renderDecorationsLineHighlights(R,N,K,T,W);const G=new P(T.startLineNumber,T.endLineNumber,null);this._renderSelectionsHighlights(R,A,G,T,W,j,U,F),this._renderDecorationsHighlights(R,N,G,T,W,j,U,F)}}_renderSelectionLineHighlights(T,A,N,F,O){if(!this._selectionColor||this._selectionColor.isTransparent())return;T.fillStyle=this._selectionColor.transparent(.5).toString();let W=0,U=0;for(const j of A){const R=F.intersectWithViewport(j);if(!R)continue;const[K,G]=R;for(let X=K;X<=G;X++)N.set(X,!0);const Z=F.getYForLineNumber(K,O),J=F.getYForLineNumber(G,O);U>=Z||(U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W),W=Z),U=J}U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W)}_renderDecorationsLineHighlights(T,A,N,F,O){const W=new Map;for(let U=A.length-1;U>=0;U--){const j=A[U],R=j.options.minimap;if(!R||R.position!==c.MinimapPosition.Inline)continue;const K=F.intersectWithViewport(j.range);if(!K)continue;const[G,Z]=K,J=R.getColor(this._theme.value);if(!J||J.isTransparent())continue;let X=W.get(J.toString());X||(X=J.transparent(.5).toString(),W.set(J.toString(),X)),T.fillStyle=X;for(let H=G;H<=Z;H++){if(N.has(H))continue;N.set(H,!0);const B=F.getYForLineNumber(G,O);T.fillRect(C.MINIMAP_GUTTER_WIDTH,B,T.canvas.width,O)}}}_renderSelectionsHighlights(T,A,N,F,O,W,U,j){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const R of A){const K=F.intersectWithViewport(R);if(!K)continue;const[G,Z]=K;for(let J=G;J<=Z;J++)this.renderDecorationOnLine(T,N,R,this._selectionColor,F,J,O,O,W,U,j)}}_renderDecorationsHighlights(T,A,N,F,O,W,U,j){for(const R of A){const K=R.options.minimap;if(!K)continue;const G=F.intersectWithViewport(R.range);if(!G)continue;const[Z,J]=G,X=K.getColor(this._theme.value);if(!(!X||X.isTransparent()))for(let H=Z;H<=J;H++)switch(K.position){case c.MinimapPosition.Inline:this.renderDecorationOnLine(T,N,R.range,X,F,H,O,O,W,U,j);continue;case c.MinimapPosition.Gutter:{const B=F.getYForLineNumber(H,O),V=2;this.renderDecoration(T,X,V,B,l,O);continue}}}}renderDecorationOnLine(T,A,N,F,O,W,U,j,R,K,G){const Z=O.getYForLineNumber(W,j);if(Z+U<0||Z>this._model.options.canvasInnerHeight)return;const{startLineNumber:J,endLineNumber:X}=N,H=J===W?N.startColumn:1,B=X===W?N.endColumn:this._model.getLineMaxColumn(W),V=this.getXOffsetForPosition(A,W,H,R,K,G),Y=this.getXOffsetForPosition(A,W,B,R,K,G);this.renderDecoration(T,F,V,Z,Y-V,U)}getXOffsetForPosition(T,A,N,F,O,W){if(N===1)return C.MINIMAP_GUTTER_WIDTH;if((N-1)*O>=W)return W;let j=T.get(A);if(!j){const R=this._model.getLineContent(A);j=[C.MINIMAP_GUTTER_WIDTH];let K=C.MINIMAP_GUTTER_WIDTH;for(let G=1;G=W){j[G]=W;break}j[G]=X,K=X}T.set(A,j)}return N-1ce?Math.floor((F-ce)/2):0,he=Z.a/255,ue=new i.RGBA8(Math.round((Z.r-G.r)*he+G.r),Math.round((Z.g-G.g)*he+G.g),Math.round((Z.b-G.b)*he+G.b),255);let te=T.topPaddingLineCount*F;const q=[];for(let oe=0,ge=N-A+1;oe=0&&zY)return;const ee=B.charCodeAt(ce);if(ee===9){const $=Z-(ce+de)%Z;de+=$-1,ae+=$*W}else if(ee===32)ae+=W;else{const $=f.isFullWidthCharacter(ee)?2:1;for(let re=0;re<$;re++)if(O===2?R.blockRenderChar(T,ae,K+G,z,j,A,N,ie):R.renderChar(T,ae,K+G,ee,z,j,A,N,X,F,ie),ae+=W,ae>Y)return}}}}}class P{constructor(T,A,N){this._startLineNumber=T,this._endLineNumber=A,this._defaultValue=N,this._values=[];for(let F=0,O=this._endLineNumber-this._startLineNumber+1;Fthis._endLineNumber||(this._values[T-this._startLineNumber]=A)}get(T){return Tthis._endLineNumber?this._defaultValue:this._values[T-this._startLineNumber]}}}),define(ne[822],se([1,0,608,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffMoveBorderActive=e.diffMoveBorder=void 0,e.diffMoveBorder=(0,k.registerColor)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,L.localize)(0,null)),e.diffMoveBorderActive=(0,k.registerColor)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,L.localize)(1,null))}),define(ne[249],se([1,0,706,31,463]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOL_ICON_VARIABLE_FOREGROUND=e.SYMBOL_ICON_UNIT_FOREGROUND=e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=e.SYMBOL_ICON_TEXT_FOREGROUND=e.SYMBOL_ICON_STRUCT_FOREGROUND=e.SYMBOL_ICON_STRING_FOREGROUND=e.SYMBOL_ICON_SNIPPET_FOREGROUND=e.SYMBOL_ICON_REFERENCE_FOREGROUND=e.SYMBOL_ICON_PROPERTY_FOREGROUND=e.SYMBOL_ICON_PACKAGE_FOREGROUND=e.SYMBOL_ICON_OPERATOR_FOREGROUND=e.SYMBOL_ICON_OBJECT_FOREGROUND=e.SYMBOL_ICON_NUMBER_FOREGROUND=e.SYMBOL_ICON_NULL_FOREGROUND=e.SYMBOL_ICON_NAMESPACE_FOREGROUND=e.SYMBOL_ICON_MODULE_FOREGROUND=e.SYMBOL_ICON_METHOD_FOREGROUND=e.SYMBOL_ICON_KEYWORD_FOREGROUND=e.SYMBOL_ICON_KEY_FOREGROUND=e.SYMBOL_ICON_INTERFACE_FOREGROUND=e.SYMBOL_ICON_FUNCTION_FOREGROUND=e.SYMBOL_ICON_FOLDER_FOREGROUND=e.SYMBOL_ICON_FILE_FOREGROUND=e.SYMBOL_ICON_FIELD_FOREGROUND=e.SYMBOL_ICON_EVENT_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=e.SYMBOL_ICON_CONSTANT_FOREGROUND=e.SYMBOL_ICON_COLOR_FOREGROUND=e.SYMBOL_ICON_CLASS_FOREGROUND=e.SYMBOL_ICON_BOOLEAN_FOREGROUND=e.SYMBOL_ICON_ARRAY_FOREGROUND=void 0,e.SYMBOL_ICON_ARRAY_FOREGROUND=(0,k.registerColor)("symbolIcon.arrayForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(0,null)),e.SYMBOL_ICON_BOOLEAN_FOREGROUND=(0,k.registerColor)("symbolIcon.booleanForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(1,null)),e.SYMBOL_ICON_CLASS_FOREGROUND=(0,k.registerColor)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(2,null)),e.SYMBOL_ICON_COLOR_FOREGROUND=(0,k.registerColor)("symbolIcon.colorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(3,null)),e.SYMBOL_ICON_CONSTANT_FOREGROUND=(0,k.registerColor)("symbolIcon.constantForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(4,null)),e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=(0,k.registerColor)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(5,null)),e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(6,null)),e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(7,null)),e.SYMBOL_ICON_EVENT_FOREGROUND=(0,k.registerColor)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(8,null)),e.SYMBOL_ICON_FIELD_FOREGROUND=(0,k.registerColor)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(9,null)),e.SYMBOL_ICON_FILE_FOREGROUND=(0,k.registerColor)("symbolIcon.fileForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(10,null)),e.SYMBOL_ICON_FOLDER_FOREGROUND=(0,k.registerColor)("symbolIcon.folderForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(11,null)),e.SYMBOL_ICON_FUNCTION_FOREGROUND=(0,k.registerColor)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(12,null)),e.SYMBOL_ICON_INTERFACE_FOREGROUND=(0,k.registerColor)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(13,null)),e.SYMBOL_ICON_KEY_FOREGROUND=(0,k.registerColor)("symbolIcon.keyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(14,null)),e.SYMBOL_ICON_KEYWORD_FOREGROUND=(0,k.registerColor)("symbolIcon.keywordForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(15,null)),e.SYMBOL_ICON_METHOD_FOREGROUND=(0,k.registerColor)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(16,null)),e.SYMBOL_ICON_MODULE_FOREGROUND=(0,k.registerColor)("symbolIcon.moduleForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(17,null)),e.SYMBOL_ICON_NAMESPACE_FOREGROUND=(0,k.registerColor)("symbolIcon.namespaceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(18,null)),e.SYMBOL_ICON_NULL_FOREGROUND=(0,k.registerColor)("symbolIcon.nullForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(19,null)),e.SYMBOL_ICON_NUMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.numberForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(20,null)),e.SYMBOL_ICON_OBJECT_FOREGROUND=(0,k.registerColor)("symbolIcon.objectForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(21,null)),e.SYMBOL_ICON_OPERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.operatorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(22,null)),e.SYMBOL_ICON_PACKAGE_FOREGROUND=(0,k.registerColor)("symbolIcon.packageForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(23,null)),e.SYMBOL_ICON_PROPERTY_FOREGROUND=(0,k.registerColor)("symbolIcon.propertyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(24,null)),e.SYMBOL_ICON_REFERENCE_FOREGROUND=(0,k.registerColor)("symbolIcon.referenceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(25,null)),e.SYMBOL_ICON_SNIPPET_FOREGROUND=(0,k.registerColor)("symbolIcon.snippetForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(26,null)),e.SYMBOL_ICON_STRING_FOREGROUND=(0,k.registerColor)("symbolIcon.stringForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(27,null)),e.SYMBOL_ICON_STRUCT_FOREGROUND=(0,k.registerColor)("symbolIcon.structForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(28,null)),e.SYMBOL_ICON_TEXT_FOREGROUND=(0,k.registerColor)("symbolIcon.textForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(29,null)),e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=(0,k.registerColor)("symbolIcon.typeParameterForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(30,null)),e.SYMBOL_ICON_UNIT_FOREGROUND=(0,k.registerColor)("symbolIcon.unitForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(31,null)),e.SYMBOL_ICON_VARIABLE_FOREGROUND=(0,k.registerColor)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(32,null))}),define(ne[823],se([1,0,25,113,641,172,249]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMenuItems=void 0;const D=Object.freeze({kind:k.CodeActionKind.Empty,title:(0,y.localize)(0,null)}),S=Object.freeze([{kind:k.CodeActionKind.QuickFix,title:(0,y.localize)(1,null)},{kind:k.CodeActionKind.RefactorExtract,title:(0,y.localize)(2,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorInline,title:(0,y.localize)(3,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorRewrite,title:(0,y.localize)(4,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorMove,title:(0,y.localize)(5,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.SurroundWith,title:(0,y.localize)(6,null),icon:L.Codicon.symbolSnippet},{kind:k.CodeActionKind.Source,title:(0,y.localize)(7,null),icon:L.Codicon.symbolFile},D]);function f(_,g,C){if(!g)return _.map(n=>({kind:"action",item:n,group:D,disabled:!!n.action.disabled,label:n.action.disabled||n.action.title}));const s=S.map(n=>({group:n,actions:[]}));for(const n of _){const t=n.action.kind?new k.CodeActionKind(n.action.kind):k.CodeActionKind.None;for(const a of s)if(a.group.kind.contains(t)){a.actions.push(n);break}}const i=[];for(const n of s)if(n.actions.length){i.push({kind:"header",group:n.group});for(const t of n.actions)i.push({kind:"action",item:t,group:n.group,label:t.action.title,disabled:!!t.action.disabled,keybinding:C(t.action)})}return i}e.toMenuItems=f}),define(ne[105],se([1,0,31,38]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultMenuStyles=e.defaultSelectBoxStyles=e.getListStyles=e.defaultListStyles=e.defaultBreadcrumbsWidgetStyles=e.defaultCountBadgeStyles=e.defaultFindWidgetStyles=e.defaultInputBoxStyles=e.defaultDialogStyles=e.defaultCheckboxStyles=e.defaultToggleStyles=e.defaultProgressBarStyles=e.defaultButtonStyles=e.defaultKeybindingLabelStyles=void 0;function y(S,f){const _=Object.assign({},f);for(const g in S){const C=S[g];_[g]=C!==void 0?(0,L.asCssVariable)(C):void 0}return _}e.defaultKeybindingLabelStyles={keybindingLabelBackground:(0,L.asCssVariable)(L.keybindingLabelBackground),keybindingLabelForeground:(0,L.asCssVariable)(L.keybindingLabelForeground),keybindingLabelBorder:(0,L.asCssVariable)(L.keybindingLabelBorder),keybindingLabelBottomBorder:(0,L.asCssVariable)(L.keybindingLabelBottomBorder),keybindingLabelShadow:(0,L.asCssVariable)(L.widgetShadow)},e.defaultButtonStyles={buttonForeground:(0,L.asCssVariable)(L.buttonForeground),buttonSeparator:(0,L.asCssVariable)(L.buttonSeparator),buttonBackground:(0,L.asCssVariable)(L.buttonBackground),buttonHoverBackground:(0,L.asCssVariable)(L.buttonHoverBackground),buttonSecondaryForeground:(0,L.asCssVariable)(L.buttonSecondaryForeground),buttonSecondaryBackground:(0,L.asCssVariable)(L.buttonSecondaryBackground),buttonSecondaryHoverBackground:(0,L.asCssVariable)(L.buttonSecondaryHoverBackground),buttonBorder:(0,L.asCssVariable)(L.buttonBorder)},e.defaultProgressBarStyles={progressBarBackground:(0,L.asCssVariable)(L.progressBarBackground)},e.defaultToggleStyles={inputActiveOptionBorder:(0,L.asCssVariable)(L.inputActiveOptionBorder),inputActiveOptionForeground:(0,L.asCssVariable)(L.inputActiveOptionForeground),inputActiveOptionBackground:(0,L.asCssVariable)(L.inputActiveOptionBackground)},e.defaultCheckboxStyles={checkboxBackground:(0,L.asCssVariable)(L.checkboxBackground),checkboxBorder:(0,L.asCssVariable)(L.checkboxBorder),checkboxForeground:(0,L.asCssVariable)(L.checkboxForeground)},e.defaultDialogStyles={dialogBackground:(0,L.asCssVariable)(L.editorWidgetBackground),dialogForeground:(0,L.asCssVariable)(L.editorWidgetForeground),dialogShadow:(0,L.asCssVariable)(L.widgetShadow),dialogBorder:(0,L.asCssVariable)(L.contrastBorder),errorIconForeground:(0,L.asCssVariable)(L.problemsErrorIconForeground),warningIconForeground:(0,L.asCssVariable)(L.problemsWarningIconForeground),infoIconForeground:(0,L.asCssVariable)(L.problemsInfoIconForeground),textLinkForeground:(0,L.asCssVariable)(L.textLinkForeground)},e.defaultInputBoxStyles={inputBackground:(0,L.asCssVariable)(L.inputBackground),inputForeground:(0,L.asCssVariable)(L.inputForeground),inputBorder:(0,L.asCssVariable)(L.inputBorder),inputValidationInfoBorder:(0,L.asCssVariable)(L.inputValidationInfoBorder),inputValidationInfoBackground:(0,L.asCssVariable)(L.inputValidationInfoBackground),inputValidationInfoForeground:(0,L.asCssVariable)(L.inputValidationInfoForeground),inputValidationWarningBorder:(0,L.asCssVariable)(L.inputValidationWarningBorder),inputValidationWarningBackground:(0,L.asCssVariable)(L.inputValidationWarningBackground),inputValidationWarningForeground:(0,L.asCssVariable)(L.inputValidationWarningForeground),inputValidationErrorBorder:(0,L.asCssVariable)(L.inputValidationErrorBorder),inputValidationErrorBackground:(0,L.asCssVariable)(L.inputValidationErrorBackground),inputValidationErrorForeground:(0,L.asCssVariable)(L.inputValidationErrorForeground)},e.defaultFindWidgetStyles={listFilterWidgetBackground:(0,L.asCssVariable)(L.listFilterWidgetBackground),listFilterWidgetOutline:(0,L.asCssVariable)(L.listFilterWidgetOutline),listFilterWidgetNoMatchesOutline:(0,L.asCssVariable)(L.listFilterWidgetNoMatchesOutline),listFilterWidgetShadow:(0,L.asCssVariable)(L.listFilterWidgetShadow),inputBoxStyles:e.defaultInputBoxStyles,toggleStyles:e.defaultToggleStyles},e.defaultCountBadgeStyles={badgeBackground:(0,L.asCssVariable)(L.badgeBackground),badgeForeground:(0,L.asCssVariable)(L.badgeForeground),badgeBorder:(0,L.asCssVariable)(L.contrastBorder)},e.defaultBreadcrumbsWidgetStyles={breadcrumbsBackground:(0,L.asCssVariable)(L.breadcrumbsBackground),breadcrumbsForeground:(0,L.asCssVariable)(L.breadcrumbsForeground),breadcrumbsHoverForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusAndSelectionForeground:(0,L.asCssVariable)(L.breadcrumbsActiveSelectionForeground)},e.defaultListStyles={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,L.asCssVariable)(L.listFocusBackground),listFocusForeground:(0,L.asCssVariable)(L.listFocusForeground),listFocusOutline:(0,L.asCssVariable)(L.listFocusOutline),listActiveSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listActiveSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listActiveSelectionIconForeground:(0,L.asCssVariable)(L.listActiveSelectionIconForeground),listFocusAndSelectionOutline:(0,L.asCssVariable)(L.listFocusAndSelectionOutline),listFocusAndSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listFocusAndSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listInactiveSelectionBackground:(0,L.asCssVariable)(L.listInactiveSelectionBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.listInactiveSelectionIconForeground),listInactiveSelectionForeground:(0,L.asCssVariable)(L.listInactiveSelectionForeground),listInactiveFocusBackground:(0,L.asCssVariable)(L.listInactiveFocusBackground),listInactiveFocusOutline:(0,L.asCssVariable)(L.listInactiveFocusOutline),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listDropBackground:(0,L.asCssVariable)(L.listDropBackground),listSelectionOutline:(0,L.asCssVariable)(L.activeContrastBorder),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),treeIndentGuidesStroke:(0,L.asCssVariable)(L.treeIndentGuidesStroke),treeInactiveIndentGuidesStroke:(0,L.asCssVariable)(L.treeInactiveIndentGuidesStroke),tableColumnsBorder:(0,L.asCssVariable)(L.tableColumnsBorder),tableOddRowsBackgroundColor:(0,L.asCssVariable)(L.tableOddRowsBackgroundColor)};function D(S){return y(S,e.defaultListStyles)}e.getListStyles=D,e.defaultSelectBoxStyles={selectBackground:(0,L.asCssVariable)(L.selectBackground),selectListBackground:(0,L.asCssVariable)(L.selectListBackground),selectForeground:(0,L.asCssVariable)(L.selectForeground),decoratorRightForeground:(0,L.asCssVariable)(L.pickerGroupForeground),selectBorder:(0,L.asCssVariable)(L.selectBorder),focusBorder:(0,L.asCssVariable)(L.focusBorder),listFocusBackground:(0,L.asCssVariable)(L.quickInputListFocusBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.quickInputListFocusIconForeground),listFocusForeground:(0,L.asCssVariable)(L.quickInputListFocusForeground),listFocusOutline:(0,L.asCssVariableWithDefault)(L.activeContrastBorder,k.Color.transparent.toString()),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),selectListBorder:(0,L.asCssVariable)(L.editorWidgetBorder),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0},e.defaultMenuStyles={shadowColor:(0,L.asCssVariable)(L.widgetShadow),borderColor:(0,L.asCssVariable)(L.menuBorder),foregroundColor:(0,L.asCssVariable)(L.menuForeground),backgroundColor:(0,L.asCssVariable)(L.menuBackground),selectionForegroundColor:(0,L.asCssVariable)(L.menuSelectionForeground),selectionBackgroundColor:(0,L.asCssVariable)(L.menuSelectionBackground),selectionBorderColor:(0,L.asCssVariable)(L.menuSelectionBorder),separatorColor:(0,L.asCssVariable)(L.menuSeparatorBackground),scrollbarShadow:(0,L.asCssVariable)(L.scrollbarShadow),scrollbarSliderBackground:(0,L.asCssVariable)(L.scrollbarSliderBackground),scrollbarSliderHoverBackground:(0,L.asCssVariable)(L.scrollbarSliderHoverBackground),scrollbarSliderActiveBackground:(0,L.asCssVariable)(L.scrollbarSliderActiveBackground)}}),define(ne[824],se([1,0,7,307,308,226,72,2,45,69,667,8,34,158,105,155]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityProvider=e.OneReferenceRenderer=e.FileReferencesRenderer=e.IdentityProvider=e.StringRepresentationProvider=e.Delegate=e.DataSource=void 0;let h=class{constructor(w){this._resolverService=w}hasChildren(w){return w instanceof a.ReferencesModel||w instanceof a.FileReferences}getChildren(w){if(w instanceof a.ReferencesModel)return w.groups;if(w instanceof a.FileReferences)return w.resolve(this._resolverService).then(E=>E.children);throw new Error("bad tree")}};e.DataSource=h,e.DataSource=h=ke([fe(0,g.ITextModelService)],h);class r{getHeight(){return 23}getTemplateId(w){return w instanceof a.FileReferences?l.id:m.id}}e.Delegate=r;let c=class{constructor(w){this._keybindingService=w}getKeyboardNavigationLabel(w){var E;if(w instanceof a.OneReference){const I=(E=w.parent.getPreview(w))===null||E===void 0?void 0:E.preview(w.range);if(I)return I.value}return(0,_.basename)(w.uri)}};e.StringRepresentationProvider=c,e.StringRepresentationProvider=c=ke([fe(0,i.IKeybindingService)],c);class o{getId(w){return w instanceof a.OneReference?w.id:w.uri}}e.IdentityProvider=o;let d=class extends f.Disposable{constructor(w,E){super(),this._labelService=E;const I=document.createElement("div");I.classList.add("reference-file"),this.file=this._register(new D.IconLabel(I,{supportHighlights:!0})),this.badge=new k.CountBadge(L.append(I,L.$(".count")),{},t.defaultCountBadgeStyles),w.appendChild(I)}set(w,E){const I=(0,_.dirname)(w.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(w.uri),this._labelService.getUriLabel(I,{relative:!0}),{title:this._labelService.getUriLabel(w.uri),matches:E});const M=w.children.length;this.badge.setCount(M),M>1?this.badge.setTitleFormat((0,C.localize)(0,null,M)):this.badge.setTitleFormat((0,C.localize)(1,null,M))}};d=ke([fe(1,n.ILabelService)],d);let l=u=class{constructor(w){this._instantiationService=w,this.templateId=u.id}renderTemplate(w){return this._instantiationService.createInstance(d,w)}renderElement(w,E,I){I.set(w.element,(0,S.createMatches)(w.filterData))}disposeTemplate(w){w.dispose()}};e.FileReferencesRenderer=l,l.id="FileReferencesRenderer",e.FileReferencesRenderer=l=u=ke([fe(0,s.IInstantiationService)],l);class p{constructor(w){this.label=new y.HighlightedLabel(w)}set(w,E){var I;const M=(I=w.parent.getPreview(w))===null||I===void 0?void 0:I.preview(w.range);if(!M||!M.value)this.label.set(`${(0,_.basename)(w.uri)}:${w.range.startLineNumber+1}:${w.range.startColumn+1}`);else{const{value:P,highlight:x}=M;E&&!S.FuzzyScore.isDefault(E)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(P,(0,S.createMatches)(E))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(P,[x]))}}}class m{constructor(){this.templateId=m.id}renderTemplate(w){return new p(w)}renderElement(w,E,I){I.set(w.element,w.filterData)}disposeTemplate(){}}e.OneReferenceRenderer=m,m.id="OneReferenceRenderer";class v{getWidgetAriaLabel(){return(0,C.localize)(2,null)}getAriaLabel(w){return w.ariaMessage}}e.AccessibilityProvider=v}),define(ne[825],se([1,0,7,222,114,25,2,17,26,715,57,34,105,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionList=e.previewSelectedActionCommand=e.acceptSelectedActionCommand=void 0,e.acceptSelectedActionCommand="acceptSelectedCodeAction",e.previewSelectedActionCommand="previewSelectedCodeAction";class t{get templateId(){return"header"}renderTemplate(l){l.classList.add("group-header");const p=document.createElement("span");return l.append(p),{container:l,text:p}}renderElement(l,p,m){var v,b;m.text.textContent=(b=(v=l.group)===null||v===void 0?void 0:v.title)!==null&&b!==void 0?b:""}disposeTemplate(l){}}let a=class{get templateId(){return"action"}constructor(l,p){this._supportsPreview=l,this._keybindingService=p}renderTemplate(l){l.classList.add(this.templateId);const p=document.createElement("div");p.className="icon",l.append(p);const m=document.createElement("span");m.className="title",l.append(m);const v=new k.KeybindingLabel(l,f.OS);return{container:l,icon:p,text:m,keybinding:v}}renderElement(l,p,m){var v,b,w;if(!((v=l.group)===null||v===void 0)&&v.icon?(m.icon.className=_.ThemeIcon.asClassName(l.group.icon),l.group.icon.color&&(m.icon.style.color=(0,n.asCssVariable)(l.group.icon.color.id))):(m.icon.className=_.ThemeIcon.asClassName(D.Codicon.lightBulb),m.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!l.item||!l.label)return;m.text.textContent=o(l.label),m.keybinding.set(l.keybinding),L.setVisibility(!!l.keybinding,m.keybinding.element);const E=(b=this._keybindingService.lookupKeybinding(e.acceptSelectedActionCommand))===null||b===void 0?void 0:b.getLabel(),I=(w=this._keybindingService.lookupKeybinding(e.previewSelectedActionCommand))===null||w===void 0?void 0:w.getLabel();m.container.classList.toggle("option-disabled",l.disabled),l.disabled?m.container.title=l.label:E&&I?this._supportsPreview?m.container.title=(0,g.localize)(0,null,E,I):m.container.title=(0,g.localize)(1,null,E):m.container.title=""}disposeTemplate(l){}};a=ke([fe(1,s.IKeybindingService)],a);class u extends UIEvent{constructor(){super("acceptSelectedAction")}}class h extends UIEvent{constructor(){super("previewSelectedAction")}}function r(d){if(d.kind==="action")return d.label}let c=class extends S.Disposable{constructor(l,p,m,v,b,w){super(),this._delegate=v,this._contextViewService=b,this._keybindingService=w,this._actionLineHeight=24,this._headerLineHeight=26,this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const E={getHeight:I=>I.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:I=>I.kind};this._list=this._register(new y.List(l,this.domNode,E,[new a(p,this._keybindingService),new t],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:r},accessibilityProvider:{getAriaLabel:I=>{if(I.kind==="action"){let M=I.label?o(I?.label):"";return I.disabled&&(M=(0,g.localize)(2,null,M,I.disabled)),M}return null},getWidgetAriaLabel:()=>(0,g.localize)(3,null),getRole:I=>I.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(i.defaultListStyles),this._register(this._list.onMouseClick(I=>this.onListClick(I))),this._register(this._list.onMouseOver(I=>this.onListHover(I))),this._register(this._list.onDidChangeFocus(()=>this._list.domFocus())),this._register(this._list.onDidChangeSelection(I=>this.onListSelection(I))),this._allMenuItems=m,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(l){return!l.disabled&&l.kind==="action"}hide(l){this._delegate.onHide(l),this._contextViewService.hideContextView()}layout(l){const p=this._allMenuItems.filter(M=>M.kind==="header").length,v=this._allMenuItems.length*this._actionLineHeight+p*this._headerLineHeight-p*this._actionLineHeight;this._list.layout(v);const b=this._allMenuItems.map((M,P)=>{const x=document.getElementById(this._list.getElementID(P));if(x){x.style.width="auto";const T=x.getBoundingClientRect().width;return x.style.width="",T}return 0}),w=Math.max(...b,l),E=.7,I=Math.min(v,document.body.clientHeight*E);return this._list.layout(I,w),this.domNode.style.height=`${I}px`,this._list.domFocus(),w}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(l){const p=this._list.getFocus();if(p.length===0)return;const m=p[0],v=this._list.element(m);if(!this.focusCondition(v))return;const b=l?new h:new u;this._list.setSelection([m],b)}onListSelection(l){if(!l.elements.length)return;const p=l.elements[0];p.item&&this.focusCondition(p)?this._delegate.onSelect(p.item,l.browserEvent instanceof h):this._list.setSelection([])}onListHover(l){this._list.setFocus(typeof l.index=="number"?[l.index]:[])}onListClick(l){l.element&&this.focusCondition(l.element)&&this._list.setFocus([])}};e.ActionList=c,e.ActionList=c=ke([fe(4,C.IContextViewService),fe(5,s.IKeybindingService)],c);function o(d){return d.replace(/\r\n|\r|\n/g," ")}}),define(ne[826],se([1,0,7,68,2,716,825,30,15,57,50,8,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IActionWidgetService=void 0,(0,i.registerColor)("actionBar.toggledBackground",{dark:i.inputActiveOptionBackground,light:i.inputActiveOptionBackground,hcDark:i.inputActiveOptionBackground,hcLight:i.inputActiveOptionBackground},(0,D.localize)(0,null));const n={Visible:new _.RawContextKey("codeActionMenuVisible",!1,(0,D.localize)(1,null))};e.IActionWidgetService=(0,s.createDecorator)("actionWidgetService");let t=class extends y.Disposable{get isVisible(){return n.Visible.getValue(this._contextKeyService)||!1}constructor(h,r,c){super(),this._contextViewService=h,this._contextKeyService=r,this._instantiationService=c,this._list=this._register(new y.MutableDisposable)}show(h,r,c,o,d,l,p){const m=n.Visible.bindTo(this._contextKeyService),v=this._instantiationService.createInstance(S.ActionList,h,r,c,o);this._contextViewService.showContextView({getAnchor:()=>d,render:b=>(m.set(!0),this._renderWidget(b,v,p??[])),onHide:b=>{m.reset(),this._onWidgetClosed(b)}},l,!1)}acceptSelected(h){var r;(r=this._list.value)===null||r===void 0||r.acceptSelected(h)}focusPrevious(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusPrevious()}focusNext(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusNext()}hide(){var h;(h=this._list.value)===null||h===void 0||h.hide(),this._list.clear()}_renderWidget(h,r,c){var o;const d=document.createElement("div");if(d.classList.add("action-widget"),h.appendChild(d),this._list.value=r,this._list.value)d.appendChild(this._list.value.domNode);else throw new Error("List has no value");const l=new y.DisposableStore,p=document.createElement("div"),m=h.appendChild(p);m.classList.add("context-view-block"),l.add(L.addDisposableListener(m,L.EventType.MOUSE_DOWN,M=>M.stopPropagation()));const v=document.createElement("div"),b=h.appendChild(v);b.classList.add("context-view-pointerBlock"),l.add(L.addDisposableListener(b,L.EventType.POINTER_MOVE,()=>b.remove())),l.add(L.addDisposableListener(b,L.EventType.MOUSE_DOWN,()=>b.remove()));let w=0;if(c.length){const M=this._createActionBar(".action-widget-action-bar",c);M&&(d.appendChild(M.getContainer().parentElement),l.add(M),w=M.getContainer().offsetWidth)}const E=(o=this._list.value)===null||o===void 0?void 0:o.layout(w);d.style.width=`${E}px`;const I=l.add(L.trackFocus(h));return l.add(I.onDidBlur(()=>this.hide())),l}_createActionBar(h,r){if(!r.length)return;const c=L.$(h),o=new k.ActionBar(c);return o.push(r,{icon:!1,label:!0}),o}_onWidgetClosed(h){var r;(r=this._list.value)===null||r===void 0||r.hide(h)}};t=ke([fe(0,g.IContextViewService),fe(1,_.IContextKeyService),fe(2,s.IInstantiationService)],t),(0,C.registerSingleton)(e.IActionWidgetService,t,1);const a=100+1e3;(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"hideCodeActionWidget",title:{value:(0,D.localize)(2,null),original:"Hide action widget"},precondition:n.Visible,keybinding:{weight:a,primary:9,secondary:[1033]}})}run(u){u.get(e.IActionWidgetService).hide()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectPrevCodeAction",title:{value:(0,D.localize)(3,null),original:"Select previous action"},precondition:n.Visible,keybinding:{weight:a,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusPrevious()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectNextCodeAction",title:{value:(0,D.localize)(4,null),original:"Select next action"},precondition:n.Visible,keybinding:{weight:a,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusNext()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.acceptSelectedActionCommand,title:{value:(0,D.localize)(5,null),original:"Accept selected action"},precondition:n.Visible,keybinding:{weight:a,primary:3,secondary:[2137]}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.previewSelectedActionCommand,title:{value:(0,D.localize)(6,null),original:"Preview selected action"},precondition:n.Visible,keybinding:{weight:a,primary:2051}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected(!0)}})}),define(ne[250],se([1,0,7,9,100,2,12,18,137,801,823,350,190,640,826,27,28,15,8,97,77,113,349]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionController=void 0;let m=p=class extends D.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A,N){super(),this._commandService=x,this._configurationService=T,this._actionWidgetService=A,this._instantiationService=N,this._activeCodeActions=this._register(new D.MutableDisposable),this._showDisabled=!1,this._disposed=!1,this._editor=b,this._model=this._register(new l.CodeActionModel(this._editor,M.codeActionProvider,w,E,P)),this._register(this._model.onDidChangeState(F=>this.update(F))),this._lightBulbWidget=new y.Lazy(()=>{const F=this._editor.getContribution(s.LightBulbWidget.ID);return F&&this._register(F.onClick(O=>this.showCodeActionList(O.actions,O,{includeDisabledActions:!1,fromLightbulb:!0}))),F}),this._resolver=I.createInstance(g.CodeActionKeybindingResolver),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}showCodeActions(b,w,E){return this.showCodeActionList(w,E,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(b,w,E,I){var M;if(!this._editor.hasModel())return;(M=i.MessageController.get(this._editor))===null||M===void 0||M.closeMessage();const P=this._editor.getPosition();this._trigger({type:1,triggerAction:w,filter:E,autoApply:I,context:{notAvailableMessage:b,position:P}})}_trigger(b){return this._model.trigger(b)}_applyCodeAction(b,w,E){return we(this,void 0,void 0,function*(){try{yield this._instantiationService.invokeFunction(_.applyCodeAction,b,_.ApplyCodeActionReason.FromCodeActions,{preview:E,editor:this._editor})}finally{w&&this._trigger({type:2,triggerAction:d.CodeActionTriggerSource.QuickFix,filter:{}})}})}update(b){var w,E,I,M,P,x,T;return we(this,void 0,void 0,function*(){if(b.type!==1){(w=this._lightBulbWidget.rawValue)===null||w===void 0||w.hide();return}let A;try{A=yield b.actions}catch(N){(0,k.onUnexpectedError)(N);return}if(!this._disposed)if((E=this._lightBulbWidget.value)===null||E===void 0||E.update(A,b.trigger,b.position),b.trigger.type===1){if(!((I=b.trigger.filter)===null||I===void 0)&&I.include){const F=this.tryGetValidActionToApply(b.trigger,A);if(F){try{(M=this._lightBulbWidget.value)===null||M===void 0||M.hide(),yield this._applyCodeAction(F,!1,!1)}finally{A.dispose()}return}if(b.trigger.context){const O=this.getInvalidActionThatWouldHaveBeenApplied(b.trigger,A);if(O&&O.action.disabled){(P=i.MessageController.get(this._editor))===null||P===void 0||P.showMessage(O.action.disabled,b.trigger.context.position),A.dispose();return}}}const N=!!(!((x=b.trigger.filter)===null||x===void 0)&&x.include);if(b.trigger.context&&(!A.allActions.length||!N&&!A.validActions.length)){(T=i.MessageController.get(this._editor))===null||T===void 0||T.showMessage(b.trigger.context.notAvailableMessage,b.trigger.context.position),this._activeCodeActions.value=A,A.dispose();return}this._activeCodeActions.value=A,this.showCodeActionList(A,this.toCoords(b.position),{includeDisabledActions:N,fromLightbulb:!1})}else this._actionWidgetService.isVisible?A.dispose():this._activeCodeActions.value=A})}getInvalidActionThatWouldHaveBeenApplied(b,w){if(w.allActions.length&&(b.autoApply==="first"&&w.validActions.length===0||b.autoApply==="ifSingle"&&w.allActions.length===1))return w.allActions.find(({action:E})=>E.disabled)}tryGetValidActionToApply(b,w){if(w.validActions.length&&(b.autoApply==="first"&&w.validActions.length>0||b.autoApply==="ifSingle"&&w.validActions.length===1))return w.validActions[0]}showCodeActionList(b,w,E){return we(this,void 0,void 0,function*(){const I=this._editor.getDomNode();if(!I)return;const M=E.includeDisabledActions&&(this._showDisabled||b.validActions.length===0)?b.allActions:b.validActions;if(!M.length)return;const P=S.Position.isIPosition(w)?this.toCoords(w):w,x={onSelect:(T,A)=>we(this,void 0,void 0,function*(){this._applyCodeAction(T,!0,!!A),this._actionWidgetService.hide()}),onHide:()=>{var T;(T=this._editor)===null||T===void 0||T.focus()}};this._actionWidgetService.show("codeActionWidget",!0,(0,C.toMenuItems)(M,this._shouldShowHeaders(),this._resolver.getResolver()),x,P,I,this._getActionBarActions(b,w,E))})}toCoords(b){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(b,1),this._editor.render();const w=this._editor.getScrolledVisiblePosition(b),E=(0,L.getDomNodePagePosition)(this._editor.getDomNode()),I=E.left+w.left,M=E.top+w.top+w.height;return{x:I,y:M}}_shouldShowHeaders(){var b;const w=(b=this._editor)===null||b===void 0?void 0:b.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:w?.uri})}_getActionBarActions(b,w,E){if(E.fromLightbulb)return[];const I=b.documentation.map(M=>{var P;return{id:M.id,label:M.title,tooltip:(P=M.tooltip)!==null&&P!==void 0?P:"",class:void 0,enabled:!0,run:()=>{var x;return this._commandService.executeCommand(M.id,...(x=M.arguments)!==null&&x!==void 0?x:[])}}});return E.includeDisabledActions&&b.validActions.length>0&&b.allActions.length!==b.validActions.length&&I.push(this._showDisabled?{id:"hideMoreActions",label:(0,n.localize)(0,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(b,w,E))}:{id:"showMoreActions",label:(0,n.localize)(1,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(b,w,E))}),I}};e.CodeActionController=m,m.ID="editor.contrib.codeActionController",e.CodeActionController=m=p=ke([fe(1,c.IMarkerService),fe(2,h.IContextKeyService),fe(3,r.IInstantiationService),fe(4,f.ILanguageFeaturesService),fe(5,o.IEditorProgressService),fe(6,a.ICommandService),fe(7,u.IConfigurationService),fe(8,t.IActionWidgetService),fe(9,r.IInstantiationService)],m)}),define(ne[827],se([1,0,11,16,21,137,638,15,113,250,349]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoFixAction=e.FixAllAction=e.OrganizeImportsAction=e.SourceAction=e.RefactorAction=e.CodeActionCommand=e.QuickFixAction=void 0;function s(d){return f.ContextKeyExpr.regex(C.SUPPORTED_CODE_ACTIONS.keys()[0],new RegExp("(\\s|^)"+(0,L.escapeRegExpCharacters)(d.value)+"\\b"))}const i={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:S.localize(0,null)},apply:{type:"string",description:S.localize(1,null),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[S.localize(2,null),S.localize(3,null),S.localize(4,null)]},preferred:{type:"boolean",default:!1,description:S.localize(5,null)}}};function n(d,l,p,m,v=_.CodeActionTriggerSource.Default){if(d.hasModel()){const b=g.CodeActionController.get(d);b?.manualTriggerAtCurrentPosition(l,v,p,m)}}class t extends k.EditorAction{constructor(){super({id:D.quickFixCommandId,label:S.localize(6,null),alias:"Quick Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2137,weight:100}})}run(l,p){return n(p,S.localize(7,null),void 0,void 0,_.CodeActionTriggerSource.QuickFix)}}e.QuickFixAction=t;class a extends k.EditorCommand{constructor(){super({id:D.codeActionCommandId,precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:i}]}})}runEditorCommand(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Empty,apply:"ifSingle"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(8,null,m.kind):S.localize(9,null,m.kind):v.preferred?S.localize(10,null):S.localize(11,null),{include:v.kind,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply)}}e.CodeActionCommand=a;class u extends k.EditorAction{constructor(){super({id:D.refactorCommandId,label:S.localize(12,null),alias:"Refactor...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Refactor,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(13,null,m.kind):S.localize(14,null,m.kind):v.preferred?S.localize(15,null):S.localize(16,null),{include:_.CodeActionKind.Refactor.contains(v.kind)?v.kind:_.CodeActionKind.None,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.Refactor)}}e.RefactorAction=u;class h extends k.EditorAction{constructor(){super({id:D.sourceActionCommandId,label:S.localize(17,null),alias:"Source Action...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Source))},description:{description:"Source Action...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Source,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(18,null,m.kind):S.localize(19,null,m.kind):v.preferred?S.localize(20,null):S.localize(21,null),{include:_.CodeActionKind.Source.contains(v.kind)?v.kind:_.CodeActionKind.None,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.SourceAction)}}e.SourceAction=h;class r extends k.EditorAction{constructor(){super({id:D.organizeImportsCommandId,label:S.localize(22,null),alias:"Organize Imports",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceOrganizeImports)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1581,weight:100}})}run(l,p){return n(p,S.localize(23,null),{include:_.CodeActionKind.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.OrganizeImports)}}e.OrganizeImportsAction=r;class c extends k.EditorAction{constructor(){super({id:D.fixAllCommandId,label:S.localize(24,null),alias:"Fix All",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceFixAll))})}run(l,p){return n(p,S.localize(25,null),{include:_.CodeActionKind.SourceFixAll,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.FixAll)}}e.FixAllAction=c;class o extends k.EditorAction{constructor(){super({id:D.autoFixCommandId,label:S.localize(26,null),alias:"Auto Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.QuickFix)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(l,p){return n(p,S.localize(27,null),{include:_.CodeActionKind.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",_.CodeActionTriggerSource.AutoFix)}}e.AutoFixAction=o}),define(ne[828],se([1,0,16,241,827,250,350,639,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(D.CodeActionController.ID,D.CodeActionController,3),(0,L.registerEditorContribution)(S.LightBulbWidget.ID,S.LightBulbWidget,4),(0,L.registerEditorAction)(y.QuickFixAction),(0,L.registerEditorAction)(y.RefactorAction),(0,L.registerEditorAction)(y.SourceAction),(0,L.registerEditorAction)(y.OrganizeImportsAction),(0,L.registerEditorAction)(y.AutoFixAction),(0,L.registerEditorAction)(y.FixAllAction),(0,L.registerEditorCommand)(new y.CodeActionCommand),g.Registry.as(_.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:f.localize(0,null),default:!0}}}))}),define(ne[829],se([1,0,7,60,583,39,9,2,105]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuHandler=void 0;class g{constructor(s,i,n,t){this.contextViewService=s,this.telemetryService=i,this.notificationService=n,this.keybindingService=t,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(s){this.options=s}showContextMenu(s){const i=s.getActions();if(!i.length)return;this.focusToReturn=document.activeElement;let n;const t=(0,L.isHTMLElement)(s.domForShadowRoot)?s.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>s.getAnchor(),canRelayout:!1,anchorAlignment:s.anchorAlignment,anchorAxisAlignment:s.anchorAxisAlignment,render:a=>{var u;this.lastContainer=a;const h=s.getMenuClassName?s.getMenuClassName():"";h&&(a.className+=" "+h),this.options.blockMouse&&(this.block=a.appendChild((0,L.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(u=this.blockDisposable)===null||u===void 0||u.dispose(),this.blockDisposable=(0,L.addDisposableListener)(this.block,L.EventType.MOUSE_DOWN,o=>o.stopPropagation()));const r=new f.DisposableStore,c=s.actionRunner||new D.ActionRunner;return c.onWillRun(o=>this.onActionRun(o,!s.skipTelemetry),this,r),c.onDidRun(this.onDidActionRun,this,r),n=new y.Menu(a,i,{actionViewItemProvider:s.getActionViewItem,context:s.getActionsContext?s.getActionsContext():null,actionRunner:c,getKeyBinding:s.getKeyBinding?s.getKeyBinding:o=>this.keybindingService.lookupKeybinding(o.id)},_.defaultMenuStyles),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r),r.add((0,L.addDisposableListener)(window,L.EventType.BLUR,()=>this.contextViewService.hideContextView(!0))),r.add((0,L.addDisposableListener)(window,L.EventType.MOUSE_DOWN,o=>{if(o.defaultPrevented)return;const d=new k.StandardMouseEvent(o);let l=d.target;if(!d.rightButton){for(;l;){if(l===a)return;l=l.parentElement}this.contextViewService.hideContextView(!0)}})),(0,f.combinedDisposable)(r,n)},focus:()=>{n?.focus(!!s.autoSelectFirstItem)},onHide:a=>{var u,h,r;(u=s.onHide)===null||u===void 0||u.call(s,!!a),this.block&&(this.block.remove(),this.block=null),(h=this.blockDisposable)===null||h===void 0||h.dispose(),this.blockDisposable=null,this.lastContainer&&((0,L.getActiveElement)()===this.lastContainer||(0,L.isAncestor)((0,L.getActiveElement)(),this.lastContainer))&&((r=this.focusToReturn)===null||r===void 0||r.focus()),this.lastContainer=null}},t,!!t)}onActionRun(s,i){i&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:s.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(s){s.error&&!(0,S.isCancellationError)(s.error)&&this.notificationService.error(s.error)}}e.ContextMenuHandler=g}),define(ne[191],se([1,0,7,578,114,579,184,586,585,316,6,2,728,28,98,15,238,57,8,34,37,105]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WorkbenchCompressibleAsyncDataTree=e.WorkbenchAsyncDataTree=e.WorkbenchDataTree=e.WorkbenchCompressibleObjectTree=e.WorkbenchObjectTree=e.WorkbenchTable=e.WorkbenchPagedList=e.WorkbenchList=e.WorkbenchTreeFindOpen=e.WorkbenchTreeElementHasChild=e.WorkbenchTreeElementCanExpand=e.WorkbenchTreeElementHasParent=e.WorkbenchTreeElementCanCollapse=e.WorkbenchListSupportsFind=e.WorkbenchListSelectionNavigation=e.WorkbenchListMultiSelection=e.WorkbenchListDoubleSelection=e.WorkbenchListHasSelectionOrFocus=e.WorkbenchListFocusContextKey=e.WorkbenchListSupportsMultiSelectContextKey=e.RawWorkbenchListFocusContextKey=e.WorkbenchListScrollAtBottomContextKey=e.WorkbenchListScrollAtTopContextKey=e.RawWorkbenchListScrollAtBoundaryContextKey=e.ListService=e.IListService=void 0,e.IListService=(0,r.createDecorator)("listService");class l{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new s.DisposableStore,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(oe){var ge,ve;oe!==this._lastFocusedWidget&&((ge=this._lastFocusedWidget)===null||ge===void 0||ge.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=oe,(ve=this._lastFocusedWidget)===null||ve===void 0||ve.getHTMLElement().classList.add("last-focused"))}register(oe,ge){if(this._hasCreatedStyleController||(this._hasCreatedStyleController=!0,new y.DefaultStyleController((0,L.createStyleSheet)(),"").style(d.defaultListStyles)),this.lists.some(Se=>Se.widget===oe))throw new Error("Cannot register the same widget multiple times");const ve={widget:oe,extraContextKeys:ge};return this.lists.push(ve),oe.getHTMLElement()===document.activeElement&&this.setLastFocusedList(oe),(0,s.combinedDisposable)(oe.onDidFocus(()=>this.setLastFocusedList(oe)),(0,s.toDisposable)(()=>this.lists.splice(this.lists.indexOf(ve),1)),oe.onDidDispose(()=>{this.lists=this.lists.filter(Se=>Se!==ve),this._lastFocusedWidget===oe&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}e.ListService=l,e.RawWorkbenchListScrollAtBoundaryContextKey=new a.RawContextKey("listScrollAtBoundary","none"),e.WorkbenchListScrollAtTopContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("top"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.WorkbenchListScrollAtBottomContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("bottom"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.RawWorkbenchListFocusContextKey=new a.RawContextKey("listFocus",!0),e.WorkbenchListSupportsMultiSelectContextKey=new a.RawContextKey("listSupportsMultiselect",!0),e.WorkbenchListFocusContextKey=a.ContextKeyExpr.and(e.RawWorkbenchListFocusContextKey,a.ContextKeyExpr.not(u.InputFocusedContextKey)),e.WorkbenchListHasSelectionOrFocus=new a.RawContextKey("listHasSelectionOrFocus",!1),e.WorkbenchListDoubleSelection=new a.RawContextKey("listDoubleSelection",!1),e.WorkbenchListMultiSelection=new a.RawContextKey("listMultiSelection",!1),e.WorkbenchListSelectionNavigation=new a.RawContextKey("listSelectionNavigation",!1),e.WorkbenchListSupportsFind=new a.RawContextKey("listSupportsFind",!0),e.WorkbenchTreeElementCanCollapse=new a.RawContextKey("treeElementCanCollapse",!1),e.WorkbenchTreeElementHasParent=new a.RawContextKey("treeElementHasParent",!1),e.WorkbenchTreeElementCanExpand=new a.RawContextKey("treeElementCanExpand",!1),e.WorkbenchTreeElementHasChild=new a.RawContextKey("treeElementHasChild",!1),e.WorkbenchTreeFindOpen=new a.RawContextKey("treeFindOpen",!1);const p="listTypeNavigationMode",m="listAutomaticKeyboardNavigation";function v(re,oe){const ge=re.createScoped(oe.getHTMLElement());return e.RawWorkbenchListFocusContextKey.bindTo(ge),ge}function b(re,oe){const ge=e.RawWorkbenchListScrollAtBoundaryContextKey.bindTo(re),ve=()=>{const Se=oe.scrollTop===0,Le=oe.scrollHeight-oe.renderHeight-oe.scrollTop<1;Se&&Le?ge.set("both"):Se?ge.set("top"):Le?ge.set("bottom"):ge.set("none")};return ve(),oe.onDidScroll(ve)}const w="workbench.list.multiSelectModifier",E="workbench.list.openMode",I="workbench.list.horizontalScrolling",M="workbench.list.defaultFindMode",P="workbench.list.typeNavigationMode",x="workbench.list.keyboardNavigation",T="workbench.list.scrollByPage",A="workbench.list.defaultFindMatchType",N="workbench.tree.indent",F="workbench.tree.renderIndentGuides",O="workbench.list.smoothScrolling",W="workbench.list.mouseWheelScrollSensitivity",U="workbench.list.fastScrollSensitivity",j="workbench.tree.expandMode";function R(re){return re.getValue(w)==="alt"}class K extends s.Disposable{constructor(oe){super(),this.configurationService=oe,this.useAltAsMultipleSelectionModifier=R(oe),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(oe=>{oe.affectsConfiguration(w)&&(this.useAltAsMultipleSelectionModifier=R(this.configurationService))}))}isSelectionSingleChangeEvent(oe){return this.useAltAsMultipleSelectionModifier?oe.browserEvent.altKey:(0,y.isSelectionSingleChangeEvent)(oe)}isSelectionRangeChangeEvent(oe){return(0,y.isSelectionRangeChangeEvent)(oe)}}function G(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(c.IKeybindingService),Le=new s.DisposableStore;return[Object.assign(Object.assign({},oe),{keyboardNavigationDelegate:{mightProducePrintableCharacter(ye){return Se.mightProducePrintableCharacter(ye)}},smoothScrolling:!!ve.getValue(O),mouseWheelScrollSensitivity:ve.getValue(W),fastScrollSensitivity:ve.getValue(U),multipleSelectionController:(ge=oe.multipleSelectionController)!==null&&ge!==void 0?ge:Le.add(new K(ve)),keyboardNavigationEventFilter:ie(Se),scrollByPage:!!ve.getValue(T)}),Le]}let Z=class extends y.List{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=Le.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const le=this.getSelection(),pe=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(le.length>0||pe.length>0),this.listMultiSelection.set(le.length>1),this.listDoubleSelection.set(le.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const le=this.getSelection(),pe=this.getFocus();this.listHasSelectionOrFocus.set(le.length>0||pe.length>0)})),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}};e.WorkbenchList=Z,e.WorkbenchList=Z=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],Z);let J=class extends k.PagedList{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables=new s.DisposableStore,this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this.widget)),this.horizontalScrolling=Le.horizontalScrolling,this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchPagedList=J,e.WorkbenchPagedList=J=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],J);let X=class extends D.Table{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const Fe=typeof De.horizontalScrolling<"u"?De.horizontalScrolling:!!Me.getValue(I),[_e,me]=Pe.invokeFunction(G,De);super(oe,ge,ve,Se,Le,Object.assign(Object.assign({keyboardSupport:!1},_e),{horizontalScrolling:Fe})),this.disposables.add(me),this.contextKeyService=v(ye,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(De.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!De.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=De.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Me),this.disposables.add(this.contextKeyService),this.disposables.add(Ee.register(this)),this.updateStyles(De.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0),this.listMultiSelection.set(pe.length>1),this.listDoubleSelection.set(pe.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0)})),this.disposables.add(Me.onDidChangeConfiguration(pe=>{pe.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Me));let Ce={};if(pe.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const be=!!Me.getValue(I);Ce=Object.assign(Object.assign({},Ce),{horizontalScrolling:be})}if(pe.affectsConfiguration(T)){const be=!!Me.getValue(T);Ce=Object.assign(Object.assign({},Ce),{scrollByPage:be})}if(pe.affectsConfiguration(O)){const be=!!Me.getValue(O);Ce=Object.assign(Object.assign({},Ce),{smoothScrolling:be})}if(pe.affectsConfiguration(W)){const be=Me.getValue(W);Ce=Object.assign(Object.assign({},Ce),{mouseWheelScrollSensitivity:be})}if(pe.affectsConfiguration(U)){const be=Me.getValue(U);Ce=Object.assign(Object.assign({},Ce),{fastScrollSensitivity:be})}Object.keys(Ce).length>0&&this.updateOptions(Ce)})),this.navigator=new V(this,Object.assign({configurationService:Me},De)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchTable=X,e.WorkbenchTable=X=ke([fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService),fe(9,r.IInstantiationService)],X);class H extends s.Disposable{constructor(oe,ge){var ve;super(),this.widget=oe,this._onDidOpen=this._register(new C.Emitter),this.onDidOpen=this._onDidOpen.event,this._register(C.Event.filter(this.widget.onDidChangeSelection,Se=>Se.browserEvent instanceof KeyboardEvent)(Se=>this.onSelectionFromKeyboard(Se))),this._register(this.widget.onPointer(Se=>this.onPointer(Se.element,Se.browserEvent))),this._register(this.widget.onMouseDblClick(Se=>this.onMouseDblClick(Se.element,Se.browserEvent))),typeof ge?.openOnSingleClick!="boolean"&&ge?.configurationService?(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick",this._register(ge?.configurationService.onDidChangeConfiguration(Se=>{Se.affectsConfiguration(E)&&(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick")}))):this.openOnSingleClick=(ve=ge?.openOnSingleClick)!==null&&ve!==void 0?ve:!0}onSelectionFromKeyboard(oe){if(oe.elements.length!==1)return;const ge=oe.browserEvent,ve=typeof ge.preserveFocus=="boolean"?ge.preserveFocus:!0,Se=typeof ge.pinned=="boolean"?ge.pinned:!ve,Le=!1;this._open(this.getSelectedElement(),ve,Se,Le,oe.browserEvent)}onPointer(oe,ge){if(!this.openOnSingleClick||ge.detail===2)return;const Se=ge.button===1,Le=!0,De=Se,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}onMouseDblClick(oe,ge){if(!ge)return;const ve=ge.target;if(ve.classList.contains("monaco-tl-twistie")||ve.classList.contains("monaco-icon-label")&&ve.classList.contains("folder-icon")&&ge.offsetX<16)return;const Le=!1,De=!0,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}_open(oe,ge,ve,Se,Le){oe&&this._onDidOpen.fire({editorOptions:{preserveFocus:ge,pinned:ve,revealIfVisible:!0},sideBySide:Se,element:oe,browserEvent:Le})}}class B extends H{constructor(oe,ge){super(oe,ge),this.widget=oe}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class V extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Y extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){var oe;return(oe=this.widget.getSelection()[0])!==null&&oe!==void 0?oe:void 0}}function ie(re){let oe=!1;return ge=>{if(ge.toKeyCodeChord().isModifierKey())return!1;if(oe)return oe=!1,!1;const ve=re.softDispatch(ge,ge.target);return ve.kind===1?(oe=!0,!1):(oe=!1,ve.kind===0)}}let ae=class extends g.ObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchObjectTree=ae,e.WorkbenchObjectTree=ae=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ae);let ce=class extends g.CompressibleObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleObjectTree=ce,e.WorkbenchCompressibleObjectTree=ce=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ce);let de=class extends _.DataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchDataTree=de,e.WorkbenchDataTree=de=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],de);let he=class extends f.AsyncDataTree{get onDidOpen(){return this.internals.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchAsyncDataTree=he,e.WorkbenchAsyncDataTree=he=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],he);let ue=class extends f.CompressibleAsyncDataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe){const{options:_e,getTypeNavigationMode:me,disposable:le}=Ee.invokeFunction(z,ye);super(oe,ge,ve,Se,Le,De,_e),this.disposables.add(le),this.internals=new ee(this,ye,me,ye.overrideStyles,Me,Pe,Fe),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleAsyncDataTree=ue,e.WorkbenchCompressibleAsyncDataTree=ue=ke([fe(7,r.IInstantiationService),fe(8,a.IContextKeyService),fe(9,e.IListService),fe(10,n.IConfigurationService)],ue);function te(re){const oe=re.getValue(M);if(oe==="highlight")return S.TreeFindMode.Highlight;if(oe==="filter")return S.TreeFindMode.Filter;const ge=re.getValue(x);if(ge==="simple"||ge==="highlight")return S.TreeFindMode.Highlight;if(ge==="filter")return S.TreeFindMode.Filter}function q(re){const oe=re.getValue(A);if(oe==="fuzzy")return S.TreeFindMatchType.Fuzzy;if(oe==="contiguous")return S.TreeFindMatchType.Contiguous}function z(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(h.IContextViewService),Le=re.get(a.IContextKeyService),De=re.get(r.IInstantiationService),ye=()=>{const me=Le.getContextKeyValue(p);if(me==="automatic")return y.TypeNavigationMode.Automatic;if(me==="trigger"||Le.getContextKeyValue(m)===!1)return y.TypeNavigationMode.Trigger;const pe=ve.getValue(P);if(pe==="automatic")return y.TypeNavigationMode.Automatic;if(pe==="trigger")return y.TypeNavigationMode.Trigger},Ee=oe.horizontalScrolling!==void 0?oe.horizontalScrolling:!!ve.getValue(I),[Me,Pe]=De.invokeFunction(G,oe),Fe=oe.paddingBottom,_e=oe.renderIndentGuides!==void 0?oe.renderIndentGuides:ve.getValue(F);return{getTypeNavigationMode:ye,disposable:Pe,options:Object.assign(Object.assign({keyboardSupport:!1},Me),{indent:typeof ve.getValue(N)=="number"?ve.getValue(N):void 0,renderIndentGuides:_e,smoothScrolling:!!ve.getValue(O),defaultFindMode:te(ve),defaultFindMatchType:q(ve),horizontalScrolling:Ee,scrollByPage:!!ve.getValue(T),paddingBottom:Fe,hideTwistiesOfChildlessElements:oe.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(ge=oe.expandOnlyOnTwistieClick)!==null&&ge!==void 0?ge:ve.getValue(j)==="doubleClick",contextViewProvider:Se,findWidgetStyles:d.defaultFindWidgetStyles})}}let ee=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye){var Ee;this.tree=oe,this.disposables=[],this.contextKeyService=v(Le,oe),this.disposables.push(b(this.contextKeyService,oe)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(ge.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!ge.selectionNavigation),this.listSupportFindWidget=e.WorkbenchListSupportsFind.bindTo(this.contextKeyService),this.listSupportFindWidget.set((Ee=ge.findWidgetEnabled)!==null&&Ee!==void 0?Ee:!0),this.hasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.hasDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.hasMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.treeElementCanCollapse=e.WorkbenchTreeElementCanCollapse.bindTo(this.contextKeyService),this.treeElementHasParent=e.WorkbenchTreeElementHasParent.bindTo(this.contextKeyService),this.treeElementCanExpand=e.WorkbenchTreeElementCanExpand.bindTo(this.contextKeyService),this.treeElementHasChild=e.WorkbenchTreeElementHasChild.bindTo(this.contextKeyService),this.treeFindOpen=e.WorkbenchTreeFindOpen.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=R(ye),this.updateStyleOverrides(Se);const Pe=()=>{const _e=oe.getFocus()[0];if(!_e)return;const me=oe.getNode(_e);this.treeElementCanCollapse.set(me.collapsible&&!me.collapsed),this.treeElementHasParent.set(!!oe.getParentElement(_e)),this.treeElementCanExpand.set(me.collapsible&&me.collapsed),this.treeElementHasChild.set(!!oe.getFirstElementChild(_e))},Fe=new Set;Fe.add(p),Fe.add(m),this.disposables.push(this.contextKeyService,De.register(oe),oe.onDidChangeSelection(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(_e.length>0||me.length>0),this.hasMultiSelection.set(_e.length>1),this.hasDoubleSelection.set(_e.length===2)})}),oe.onDidChangeFocus(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.hasSelectionOrFocus.set(_e.length>0||me.length>0),Pe()}),oe.onDidChangeCollapseState(Pe),oe.onDidChangeModel(Pe),oe.onDidChangeFindOpenState(_e=>this.treeFindOpen.set(_e)),ye.onDidChangeConfiguration(_e=>{let me={};if(_e.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(ye)),_e.affectsConfiguration(N)){const le=ye.getValue(N);me=Object.assign(Object.assign({},me),{indent:le})}if(_e.affectsConfiguration(F)&&ge.renderIndentGuides===void 0){const le=ye.getValue(F);me=Object.assign(Object.assign({},me),{renderIndentGuides:le})}if(_e.affectsConfiguration(O)){const le=!!ye.getValue(O);me=Object.assign(Object.assign({},me),{smoothScrolling:le})}if(_e.affectsConfiguration(M)||_e.affectsConfiguration(x)){const le=te(ye);me=Object.assign(Object.assign({},me),{defaultFindMode:le})}if(_e.affectsConfiguration(P)||_e.affectsConfiguration(x)){const le=ve();me=Object.assign(Object.assign({},me),{typeNavigationMode:le})}if(_e.affectsConfiguration(A)){const le=q(ye);me=Object.assign(Object.assign({},me),{defaultFindMatchType:le})}if(_e.affectsConfiguration(I)&&ge.horizontalScrolling===void 0){const le=!!ye.getValue(I);me=Object.assign(Object.assign({},me),{horizontalScrolling:le})}if(_e.affectsConfiguration(T)){const le=!!ye.getValue(T);me=Object.assign(Object.assign({},me),{scrollByPage:le})}if(_e.affectsConfiguration(j)&&ge.expandOnlyOnTwistieClick===void 0&&(me=Object.assign(Object.assign({},me),{expandOnlyOnTwistieClick:ye.getValue(j)==="doubleClick"})),_e.affectsConfiguration(W)){const le=ye.getValue(W);me=Object.assign(Object.assign({},me),{mouseWheelScrollSensitivity:le})}if(_e.affectsConfiguration(U)){const le=ye.getValue(U);me=Object.assign(Object.assign({},me),{fastScrollSensitivity:le})}Object.keys(me).length>0&&oe.updateOptions(me)}),this.contextKeyService.onDidChangeContext(_e=>{_e.affectsSome(Fe)&&oe.updateOptions({typeNavigationMode:ve()})})),this.navigator=new Y(oe,Object.assign({configurationService:ye},ge)),this.disposables.push(this.navigator)}updateOptions(oe){oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyleOverrides(oe){this.tree.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables=(0,s.dispose)(this.disposables)}};ee=ke([fe(4,a.IContextKeyService),fe(5,e.IListService),fe(6,n.IConfigurationService)],ee),o.Registry.as(t.Extensions.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,i.localize)(0,null),type:"object",properties:{[w]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,i.localize)(1,null),(0,i.localize)(2,null)],default:"ctrlCmd",description:(0,i.localize)(3,null)},[E]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(4,null)},[I]:{type:"boolean",default:!1,description:(0,i.localize)(5,null)},[T]:{type:"boolean",default:!1,description:(0,i.localize)(6,null)},[N]:{type:"number",default:8,minimum:4,maximum:40,description:(0,i.localize)(7,null)},[F]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,i.localize)(8,null)},[O]:{type:"boolean",default:!1,description:(0,i.localize)(9,null)},[W]:{type:"number",default:1,markdownDescription:(0,i.localize)(10,null)},[U]:{type:"number",default:5,markdownDescription:(0,i.localize)(11,null)},[M]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,i.localize)(12,null),(0,i.localize)(13,null)],default:"highlight",description:(0,i.localize)(14,null)},[x]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,i.localize)(15,null),(0,i.localize)(16,null),(0,i.localize)(17,null)],default:"highlight",description:(0,i.localize)(18,null),deprecated:!0,deprecationMessage:(0,i.localize)(19,null)},[A]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,i.localize)(20,null),(0,i.localize)(21,null)],default:"fuzzy",description:(0,i.localize)(22,null)},[j]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(23,null)},[P]:{type:"string",enum:["automatic","trigger"],default:"automatic",description:(0,i.localize)(24,null)}}})}),define(ne[62],se([1,0,13,25,26,6,20,22,737,240,37]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spinningLoading=e.syncing=e.gotoNextLocation=e.gotoPreviousLocation=e.widgetClose=e.iconsSchemaId=e.getIconRegistry=e.registerIcon=e.IconFontDefinition=e.IconContribution=e.Extensions=void 0,e.Extensions={IconContribution:"base.contributions.icons"};var s;(function(o){function d(l,p){let m=l.defaults;for(;y.ThemeIcon.isThemeIcon(m);){const v=t.getIcon(m.id);if(!v)return;m=v.defaults}return m}o.getDefinition=d})(s||(e.IconContribution=s={}));var i;(function(o){function d(p){return{weight:p.weight,style:p.style,src:p.src.map(m=>({format:m.format,location:m.location.toString()}))}}o.toJSONObject=d;function l(p){const m=v=>(0,S.isString)(v)?v:void 0;if(p&&Array.isArray(p.src)&&p.src.every(v=>(0,S.isString)(v.format)&&(0,S.isString)(v.location)))return{weight:m(p.weight),style:m(p.style),src:p.src.map(v=>({format:v.format,location:f.URI.parse(v.location)}))}}o.fromJSONObject=l})(i||(e.IconFontDefinition=i={}));class n{constructor(){this._onDidChange=new D.Emitter,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,_.localize)(0,null)},fontCharacter:{type:"string",description:(0,_.localize)(1,null)}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${y.ThemeIcon.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(d,l,p,m){const v=this.iconsById[d];if(v){if(p&&!v.description){v.description=p,this.iconSchema.properties[d].markdownDescription=`${p} $(${d})`;const E=this.iconReferenceSchema.enum.indexOf(d);E!==-1&&(this.iconReferenceSchema.enumDescriptions[E]=p),this._onDidChange.fire()}return v}const b={id:d,description:p,defaults:l,deprecationMessage:m};this.iconsById[d]=b;const w={$ref:"#/definitions/icons"};return m&&(w.deprecationMessage=m),p&&(w.markdownDescription=`${p}: $(${d})`),this.iconSchema.properties[d]=w,this.iconReferenceSchema.enum.push(d),this.iconReferenceSchema.enumDescriptions.push(p||""),this._onDidChange.fire(),{id:d}}getIcons(){return Object.keys(this.iconsById).map(d=>this.iconsById[d])}getIcon(d){return this.iconsById[d]}getIconSchema(){return this.iconSchema}toString(){const d=(v,b)=>v.id.localeCompare(b.id),l=v=>{for(;y.ThemeIcon.isThemeIcon(v.defaults);)v=this.iconsById[v.defaults.id];return`codicon codicon-${v?v.id:""}`},p=[];p.push("| preview | identifier | default codicon ID | description"),p.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const m=Object.keys(this.iconsById).map(v=>this.iconsById[v]);for(const v of m.filter(b=>!!b.description).sort(d))p.push(`||${v.id}|${y.ThemeIcon.isThemeIcon(v.defaults)?v.defaults.id:v.id}|${v.description||""}|`);p.push("| preview | identifier "),p.push("| ----------- | --------------------------------- |");for(const v of m.filter(b=>!y.ThemeIcon.isThemeIcon(b.defaults)).sort(d))p.push(`||${v.id}|`);return p.join(` -`)}}const t=new n;C.Registry.add(e.Extensions.IconContribution,t);function a(o,d,l,p){return t.registerIcon(o,d,l,p)}e.registerIcon=a;function u(){return t}e.getIconRegistry=u;function h(){const o=(0,k.getCodiconFontCharacters)();for(const d in o){const l="\\"+o[d].toString(16);t.registerIcon(d,{fontCharacter:l})}}h(),e.iconsSchemaId="vscode://schemas/icons";const r=C.Registry.as(g.Extensions.JSONContribution);r.registerSchema(e.iconsSchemaId,t.getIconSchema());const c=new L.RunOnceScheduler(()=>r.notifySchemaChanged(e.iconsSchemaId),200);t.onDidChange(()=>{c.isScheduled()||c.schedule()}),e.widgetClose=a("widget-close",k.Codicon.close,(0,_.localize)(2,null)),e.gotoPreviousLocation=a("goto-previous-location",k.Codicon.arrowUp,(0,_.localize)(3,null)),e.gotoNextLocation=a("goto-next-location",k.Codicon.arrowDown,(0,_.localize)(4,null)),e.syncing=y.ThemeIcon.modify(k.Codicon.sync,"spin"),e.spinningLoading=y.ThemeIcon.modify(k.Codicon.loading,"spin")}),define(ne[354],se([1,0,7,35,89,68,75,39,25,2,26,59,36,12,41,86,95,67,615,116,28,62,434]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffReview=void 0;const p=3;class m{constructor(P,x,T,A){this.originalLineStart=P,this.originalLineEnd=x,this.modifiedLineStart=T,this.modifiedLineEnd=A}getType(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}class v{constructor(P){this.entries=P}}const b=(0,d.registerIcon)("diff-review-insert",_.Codicon.add,r.localize(0,null)),w=(0,d.registerIcon)("diff-review-remove",_.Codicon.remove,r.localize(1,null)),E=(0,d.registerIcon)("diff-review-close",_.Codicon.close,r.localize(2,null));let I=l=class extends g.Disposable{constructor(P,x,T,A){super(),this._languageService=x,this._audioCueService=T,this._configurationService=A,this._width=0,this._diffEditor=P,this._isVisible=!1,this.shadow=(0,k.createFastDomNode)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=(0,k.createFastDomNode)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new D.ActionBar(this.actionBarContainer.domNode)),this._actionBar.push(new f.Action("diffreview.close",r.localize(3,null),"close-diff-review "+C.ThemeIcon.asClassName(E),!0,()=>we(this,void 0,void 0,function*(){return this.hide()})),{label:!1,icon:!0}),this.domNode=(0,k.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=(0,k.createFastDomNode)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new S.DomScrollableElement(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(P.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(P.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"click",N=>{N.preventDefault();const F=L.findParentWithClass(N.target,"diff-review-row");F&&this._goToRow(F)})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"keydown",N=>{(N.equals(18)||N.equals(2066)||N.equals(530))&&(N.preventDefault(),this._goToRow(this._getNextRow(),"next")),(N.equals(16)||N.equals(2064)||N.equals(528))&&(N.preventDefault(),this._goToRow(this._getPrevRow(),"previous")),(N.equals(9)||N.equals(2057)||N.equals(521)||N.equals(1033)||N.equals(10)||N.equals(3))&&(N.preventDefault(),this.accept())})),this._register(this._configurationService.onDidChangeConfiguration(N=>{N.affectsConfiguration("accessibility.verbosity.diffEditor")&&this._diffEditor.updateOptions({accessibilityVerbose:this._configurationService.getValue("accessibility.verbosity.diffEditor")})})),this._diffs=[],this._currentDiff=null}prev(){let P=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let T=-1;for(let A=0,N=this._diffs.length;A0){const de=P[U-1];de.originalEndLineNumber===0?Y=de.originalStartLineNumber+1:Y=de.originalEndLineNumber+1,de.modifiedEndLineNumber===0?ie=de.modifiedStartLineNumber+1:ie=de.modifiedEndLineNumber+1}let ae=B-p+1,ce=V-p+1;if(aeY){const de=Y-ae;ae=ae+de,ce=ce+de}if(ce>ie){const de=ie-ce;ae=ae+de,ce=ce+de}X[H++]=new m(B,ae,V,ce)}A[N++]=new v(X)}let F=A[0].entries;const O=[];let W=0;for(let U=1,j=A.length;UR)&&(R=te),q!==0&&(K===0||qG)&&(G=z)}const Z=document.createElement("div");Z.className="diff-review-row";const J=document.createElement("div");J.className="diff-review-cell diff-review-summary";const X=R-j+1,H=G-K+1;J.appendChild(document.createTextNode(`${O+1}/${this._diffs.length}: @@ -${j},${X} +${K},${H} @@`)),Z.setAttribute("data-line",String(K));const B=ce=>ce===0?r.localize(4,null):ce===1?r.localize(5,null):r.localize(6,null,ce),V=B(X),Y=B(H);Z.setAttribute("aria-label",r.localize(7,null,O+1,this._diffs.length,j,V,K,Y)),Z.appendChild(J),Z.setAttribute("role","listitem"),U.appendChild(Z);const ie=x.get(65);let ae=K;for(let ce=0,de=W.length;ceM}),e.DiffReview=I=l=ke([fe(1,t.ILanguageService),fe(2,c.IAudioCueService),fe(3,o.IConfigurationService)],I)}),define(ne[830],se([1,0,7,68,75,39,25,2,42,26,59,102,354,36,66,90,12,5,109,41,86,95,67,607,116,8,62]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibleDiffViewer=void 0;const w=(0,b.registerIcon)("diff-review-insert",S.Codicon.add,(0,p.localize)(0,null)),E=(0,b.registerIcon)("diff-review-remove",S.Codicon.remove,(0,p.localize)(1,null)),I=(0,b.registerIcon)("diff-review-close",S.Codicon.close,(0,p.localize)(2,null));let M=class extends f.Disposable{constructor(Z,J,X,H,B,V,Y,ie,ae){super(),this._parentNode=Z,this._visible=J,this._setVisible=X,this._canClose=H,this._width=B,this._height=V,this._diffs=Y,this._editors=ie,this._instantiationService=ae,this.model=(0,_.derivedWithStore)("model",(ce,de)=>{const he=this._visible.read(ce);if(this._parentNode.style.visibility=he?"visible":"hidden",!he)return null;const ue=de.add(this._instantiationService.createInstance(P,this._diffs,this._editors,this._setVisible,this._canClose)),te=de.add(this._instantiationService.createInstance(j,this._parentNode,ue,this._width,this._height,this._editors));return{model:ue,view:te}}),this._register((0,_.keepAlive)(this.model,!0))}next(){(0,_.transaction)(Z=>{const J=this._visible.get();this._setVisible(!0,Z),J&&this.model.get().model.nextGroup(Z)})}prev(){(0,_.transaction)(Z=>{this._setVisible(!0,Z),this.model.get().model.previousGroup(Z)})}close(){(0,_.transaction)(Z=>{this._setVisible(!1,Z)})}};e.AccessibleDiffViewer=M,e.AccessibleDiffViewer=M=ke([fe(8,v.IInstantiationService)],M);let P=class extends f.Disposable{constructor(Z,J,X,H,B){super(),this._diffs=Z,this._editors=J,this._setVisible=X,this.canClose=H,this._audioCueService=B,this._groups=(0,_.observableValue)("groups",[]),this._currentGroupIdx=(0,_.observableValue)("currentGroupIdx",0),this._currentElementIdx=(0,_.observableValue)("currentElementIdx",0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((V,Y)=>this._groups.read(Y)[V]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((V,Y)=>{var ie;return(ie=this.currentGroup.read(Y))===null||ie===void 0?void 0:ie.lines[V]}),this._register((0,_.autorun)(V=>{const Y=this._diffs.read(V);if(!Y){this._groups.set([],void 0);return}const ie=T(Y,this._editors.original.getModel().getLineCount(),this._editors.modified.getModel().getLineCount());(0,_.transaction)(ae=>{const ce=this._editors.modified.getPosition();if(ce){const de=ie.findIndex(he=>ce?.lineNumber{const Y=this.currentElement.read(V);Y?.type===A.Deleted?this._audioCueService.playAudioCue(m.AudioCue.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):Y?.type===A.Added&&this._audioCueService.playAudioCue(m.AudioCue.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,_.autorun)(V=>{var Y;const ie=this.currentElement.read(V);if(ie&&ie.type!==A.Header){const ae=(Y=ie.modifiedLineNumber)!==null&&Y!==void 0?Y:ie.diff.modifiedRange.startLineNumber;this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(ae,1)))}}))}_goToGroupDelta(Z,J){const X=this.groups.get();!X||X.length<=1||(0,_.subtransaction)(J,H=>{this._currentGroupIdx.set(a.OffsetRange.ofLength(X.length).clipCyclic(this._currentGroupIdx.get()+Z),H),this._currentElementIdx.set(0,H)})}nextGroup(Z){this._goToGroupDelta(1,Z)}previousGroup(Z){this._goToGroupDelta(-1,Z)}_goToLineDelta(Z){const J=this.currentGroup.get();!J||J.lines.length<=1||(0,_.transaction)(X=>{this._currentElementIdx.set(a.OffsetRange.ofLength(J.lines.length).clip(this._currentElementIdx.get()+Z),X)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(Z){const J=this.currentGroup.get();if(!J)return;const X=J.lines.indexOf(Z);X!==-1&&(0,_.transaction)(H=>{this._currentElementIdx.set(X,H)})}revealCurrentElementInEditor(){this._setVisible(!1,void 0);const Z=this.currentElement.get();Z&&(Z.type===A.Deleted?(this._editors.original.setSelection(h.Range.fromPositions(new u.Position(Z.originalLineNumber,1))),this._editors.original.revealLine(Z.originalLineNumber),this._editors.original.focus()):(Z.type!==A.Header&&(this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(Z.modifiedLineNumber,1))),this._editors.modified.revealLine(Z.modifiedLineNumber)),this._editors.modified.focus()))}close(){this._setVisible(!1,void 0),this._editors.modified.focus()}};P=ke([fe(4,m.IAudioCueService)],P);const x=3;function T(G,Z,J){const X=[];for(const H of K(G,(B,V)=>V.modifiedRange.startLineNumber-B.modifiedRange.endLineNumberExclusive<2*x)){const B=[];B.push(new F);const V=new t.LineRange(Math.max(1,H[0].originalRange.startLineNumber-x),Math.min(H[H.length-1].originalRange.endLineNumberExclusive+x,Z+1)),Y=new t.LineRange(Math.max(1,H[0].modifiedRange.startLineNumber-x),Math.min(H[H.length-1].modifiedRange.endLineNumberExclusive+x,J+1));R(H,(ce,de)=>{const he=new t.LineRange(ce?ce.originalRange.endLineNumberExclusive:V.startLineNumber,de?de.originalRange.startLineNumber:V.endLineNumberExclusive),ue=new t.LineRange(ce?ce.modifiedRange.endLineNumberExclusive:Y.startLineNumber,de?de.modifiedRange.startLineNumber:Y.endLineNumberExclusive);he.forEach(te=>{B.push(new U(te,ue.startLineNumber+(te-he.startLineNumber)))}),de&&(de.originalRange.forEach(te=>{B.push(new O(de,te))}),de.modifiedRange.forEach(te=>{B.push(new W(de,te))}))});const ie=H[0].modifiedRange.join(H[H.length-1].modifiedRange),ae=H[0].originalRange.join(H[H.length-1].originalRange);X.push(new N(new r.SimpleLineRangeMapping(ie,ae),B))}return X}var A;(function(G){G[G.Header=0]="Header",G[G.Unchanged=1]="Unchanged",G[G.Deleted=2]="Deleted",G[G.Added=3]="Added"})(A||(A={}));class N{constructor(Z,J){this.range=Z,this.lines=J}}class F{constructor(){this.type=A.Header}}class O{constructor(Z,J){this.diff=Z,this.originalLineNumber=J,this.type=A.Deleted,this.modifiedLineNumber=void 0}}class W{constructor(Z,J){this.diff=Z,this.modifiedLineNumber=J,this.type=A.Added,this.originalLineNumber=void 0}}class U{constructor(Z,J){this.originalLineNumber=Z,this.modifiedLineNumber=J,this.type=A.Unchanged}}let j=class extends f.Disposable{constructor(Z,J,X,H,B,V){super(),this._element=Z,this._model=J,this._width=X,this._height=H,this._editors=B,this._languageService=V,this.domNode=this._element,this.domNode.className="diff-review monaco-editor-background";const Y=document.createElement("div");Y.className="diff-review-actions",this._actionBar=this._register(new k.ActionBar(Y)),this._register((0,_.autorun)(ie=>{this._actionBar.clear(),this._model.canClose.read(ie)&&this._actionBar.push(new D.Action("diffreview.close",(0,p.localize)(3,null),"close-diff-review "+g.ThemeIcon.asClassName(I),!0,()=>we(this,void 0,void 0,function*(){return J.close()})),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.DomScrollableElement(this._content,{})),(0,L.reset)(this.domNode,this._scrollbar.getDomNode(),Y),this._register((0,f.toDisposable)(()=>{(0,L.reset)(this.domNode)})),this._register((0,s.applyStyle)(this.domNode,{width:this._width,height:this._height})),this._register((0,s.applyStyle)(this._content,{width:this._width,height:this._height})),this._register((0,_.autorunWithStore)((ie,ae)=>{this._model.currentGroup.read(ie),this._render(ae)})),this._register((0,L.addStandardDisposableListener)(this.domNode,"keydown",ie=>{(ie.equals(18)||ie.equals(2066)||ie.equals(530))&&(ie.preventDefault(),this._model.goToNextLine()),(ie.equals(16)||ie.equals(2064)||ie.equals(528))&&(ie.preventDefault(),this._model.goToPreviousLine()),(ie.equals(9)||ie.equals(2057)||ie.equals(521)||ie.equals(1033))&&(ie.preventDefault(),this._model.close()),(ie.equals(10)||ie.equals(3))&&(ie.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(Z){const J=this._editors.original.getOptions(),X=this._editors.modified.getOptions(),H=document.createElement("div");H.className="diff-review-table",H.setAttribute("role","list"),H.setAttribute("aria-label",(0,p.localize)(4,null)),(0,C.applyFontInfo)(H,X.get(49)),(0,L.reset)(this._content,H);const B=this._editors.original.getModel(),V=this._editors.modified.getModel();if(!B||!V)return;const Y=B.getOptions(),ie=V.getOptions(),ae=X.get(65),ce=this._model.currentGroup.get();for(const de of ce?.lines||[]){if(!ce)break;let he;if(de.type===A.Header){const te=document.createElement("div");te.className="diff-review-row",te.setAttribute("role","listitem");const q=ce.range,z=this._model.currentGroupIndex.get(),ee=this._model.groups.get().length,$=ve=>ve===0?(0,p.localize)(5,null):ve===1?(0,p.localize)(6,null):(0,p.localize)(7,null,ve),re=$(q.original.length),oe=$(q.modified.length);te.setAttribute("aria-label",(0,p.localize)(8,null,z+1,ee,q.original.startLineNumber,re,q.modified.startLineNumber,oe));const ge=document.createElement("div");ge.className="diff-review-cell diff-review-summary",ge.appendChild(document.createTextNode(`${z+1}/${ee}: @@ -${q.original.startLineNumber},${q.original.length} +${q.modified.startLineNumber},${q.modified.length} @@`)),te.appendChild(ge),he=te}else he=this._createRow(de,ae,this._width.get(),J,B,Y,X,V,ie);H.appendChild(he);const ue=(0,_.derived)(te=>this._model.currentElement.read(te)===de);Z.add((0,_.autorun)(te=>{const q=ue.read(te);he.tabIndex=q?0:-1,q&&he.focus()})),Z.add((0,L.addDisposableListener)(he,"focus",()=>{this._model.goToLine(de)}))}this._scrollbar.scanDomNode()}_createRow(Z,J,X,H,B,V,Y,ie,ae){const ce=H.get(142),de=ce.glyphMarginWidth+ce.lineNumbersWidth,he=Y.get(142),ue=10+he.glyphMarginWidth+he.lineNumbersWidth;let te="diff-review-row",q="";const z="diff-review-spacer";let ee=null;switch(Z.type){case A.Added:te="diff-review-row line-insert",q=" char-insert",ee=w;break;case A.Deleted:te="diff-review-row line-delete",q=" char-delete",ee=E;break}const $=document.createElement("div");$.style.minWidth=X+"px",$.className=te,$.setAttribute("role","listitem"),$.ariaLevel="";const re=document.createElement("div");re.className="diff-review-cell",re.style.height=`${J}px`,$.appendChild(re);const oe=document.createElement("span");oe.style.width=de+"px",oe.style.minWidth=de+"px",oe.className="diff-review-line-number"+q,Z.originalLineNumber!==void 0?oe.appendChild(document.createTextNode(String(Z.originalLineNumber))):oe.innerText="\xA0",re.appendChild(oe);const ge=document.createElement("span");ge.style.width=ue+"px",ge.style.minWidth=ue+"px",ge.style.paddingRight="10px",ge.className="diff-review-line-number"+q,Z.modifiedLineNumber!==void 0?ge.appendChild(document.createTextNode(String(Z.modifiedLineNumber))):ge.innerText="\xA0",re.appendChild(ge);const ve=document.createElement("span");if(ve.className=z,ee){const De=document.createElement("span");De.className=g.ThemeIcon.asClassName(ee),De.innerText="\xA0\xA0",ve.appendChild(De)}else ve.innerText="\xA0\xA0";re.appendChild(ve);let Se;if(Z.modifiedLineNumber!==void 0){let De=this._getLineHtml(ie,Y,ae.tabSize,Z.modifiedLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=ie.getLineContent(Z.modifiedLineNumber)}else{let De=this._getLineHtml(B,H,V.tabSize,Z.originalLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=B.getLineContent(Z.originalLineNumber)}Se.length===0&&(Se=(0,p.localize)(9,null));let Le="";switch(Z.type){case A.Unchanged:Z.originalLineNumber===Z.modifiedLineNumber?Le=(0,p.localize)(10,null,Se,Z.originalLineNumber):Le=(0,p.localize)(11,null,Se,Z.originalLineNumber,Z.modifiedLineNumber);break;case A.Added:Le=(0,p.localize)(12,null,Se,Z.modifiedLineNumber);break;case A.Deleted:Le=(0,p.localize)(13,null,Se,Z.originalLineNumber);break}return $.setAttribute("aria-label",Le),$}_getLineHtml(Z,J,X,H,B){const V=Z.getLineContent(H),Y=J.get(49),ie=o.LineTokens.createEmpty(V,B),ae=l.ViewLineRenderingData.isBasicASCII(V,Z.mightContainNonBasicASCII()),ce=l.ViewLineRenderingData.containsRTL(V,ae,Z.mightContainRTL());return(0,d.renderViewLine2)(new d.RenderLineInput(Y.isMonospace&&!J.get(32),Y.canUseHalfwidthRightwardsArrow,V,!1,ae,ce,0,ie,[],X,0,Y.spaceWidth,Y.middotWidth,Y.wsmiddotWidth,J.get(115),J.get(97),J.get(92),J.get(50)!==n.EditorFontLigatures.OFF,null)).html}};j=ke([fe(5,c.ILanguageService)],j);function R(G,Z){let J;for(const X of G)Z(J,X),J=X;Z(J,void 0)}function*K(G,Z){let J,X;for(const H of G)X!==void 0&&Z(X,H)?J.push(H):(J&&(yield J),J=[H]),X=H;J&&(yield J)}}),define(ne[831],se([1,0,52,7,152,83,25,38,6,2,26,644,31,62,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerWidget=e.InsertButton=e.ColorPickerBody=e.ColorPickerHeader=void 0;const t=k.$;class a extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.showingStandaloneColorPicker=E,this._closeButton=null,this._domNode=t(".colorpicker-header"),k.append(v,this._domNode),this._pickedColorNode=k.append(this._domNode,t(".picked-color")),k.append(this._pickedColorNode,t("span.codicon.codicon-color-mode")),this._pickedColorPresentation=k.append(this._pickedColorNode,document.createElement("span")),this._pickedColorPresentation.classList.add("picked-color-presentation");const I=(0,s.localize)(0,null);this._pickedColorNode.setAttribute("title",I),this._originalColorNode=k.append(this._domNode,t(".original-color")),this._originalColorNode.style.backgroundColor=f.Color.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=w.getColorTheme().getColor(i.editorHoverBackground)||f.Color.white,this._register(w.onDidColorThemeChange(M=>{this.backgroundColor=M.getColor(i.editorHoverBackground)||f.Color.white})),this._register(k.addDisposableListener(this._pickedColorNode,k.EventType.CLICK,()=>this.model.selectNextColorPresentation())),this._register(k.addDisposableListener(this._originalColorNode,k.EventType.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this._register(b.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(b.color)||"",this._pickedColorNode.classList.toggle("light",b.color.rgba.a<.5?this.backgroundColor.isLighter():b.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new u(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(v){this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(v)||"",this._pickedColorNode.classList.toggle("light",v.rgba.a<.5?this.backgroundColor.isLighter():v.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}e.ColorPickerHeader=a;class u extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),k.append(v,this._button);const b=document.createElement("div");b.classList.add("close-button-inner-div"),k.append(this._button,b),k.append(b,t(".button"+C.ThemeIcon.asCSSSelector((0,n.registerIcon)("color-picker-close",S.Codicon.close,(0,s.localize)(1,null))))).classList.add("close-icon"),this._button.onclick=()=>{this._onClicked.fire()}}}class h extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.pixelRatio=w,this._insertButton=null,this._domNode=t(".colorpicker-body"),k.append(v,this._domNode),this._saturationBox=new r(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new o(this._domNode,this.model,E),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new d(this._domNode,this.model,E),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),E&&(this._insertButton=this._register(new l(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:v,v:b}){const w=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(w.h,v,b,w.a))}onDidOpacityChange(v){const b=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(b.h,b.s,b.v,v))}onDidHueChange(v){const b=this.model.color.hsva,w=(1-v)*360;this.model.color=new f.Color(new f.HSVA(w===360?0:w,b.s,b.v,b.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}e.ColorPickerBody=h;class r extends g.Disposable{constructor(v,b,w){super(),this.model=b,this.pixelRatio=w,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._domNode=t(".saturation-wrap"),k.append(v,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",k.append(this._domNode,this._canvas),this.selection=t(".saturation-selection"),k.append(this._domNode,this.selection),this.layout(),this._register(k.addDisposableListener(this._domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;this.monitor=this._register(new y.GlobalPointerMoveMonitor);const b=k.getDomNodePagePosition(this._domNode);v.target!==this.selection&&this.onDidChangePosition(v.offsetX,v.offsetY),this.monitor.startMonitoring(v.target,v.pointerId,v.buttons,E=>this.onDidChangePosition(E.pageX-b.left,E.pageY-b.top),()=>null);const w=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),w.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(v,b){const w=Math.max(0,Math.min(1,v/this.width)),E=Math.max(0,Math.min(1,1-b/this.height));this.paintSelection(w,E),this._onDidChange.fire({s:w,v:E})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const v=this.model.color.hsva;this.paintSelection(v.s,v.v)}paint(){const v=this.model.color.hsva,b=new f.Color(new f.HSVA(v.h,1,1,1)),w=this._canvas.getContext("2d"),E=w.createLinearGradient(0,0,this._canvas.width,0);E.addColorStop(0,"rgba(255, 255, 255, 1)"),E.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),E.addColorStop(1,"rgba(255, 255, 255, 0)");const I=w.createLinearGradient(0,0,0,this._canvas.height);I.addColorStop(0,"rgba(0, 0, 0, 0)"),I.addColorStop(1,"rgba(0, 0, 0, 1)"),w.rect(0,0,this._canvas.width,this._canvas.height),w.fillStyle=f.Color.Format.CSS.format(b),w.fill(),w.fillStyle=E,w.fill(),w.fillStyle=I,w.fill()}paintSelection(v,b){this.selection.style.left=`${v*this.width}px`,this.selection.style.top=`${this.height-b*this.height}px`}onDidChangeColor(v){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const b=v.hsva;this.paintSelection(b.s,b.v)}}class c extends g.Disposable{constructor(v,b,w=!1){super(),this.model=b,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,w?(this.domNode=k.append(v,t(".standalone-strip")),this.overlay=k.append(this.domNode,t(".standalone-overlay"))):(this.domNode=k.append(v,t(".strip")),this.overlay=k.append(this.domNode,t(".overlay"))),this.slider=k.append(this.domNode,t(".slider")),this.slider.style.top="0px",this._register(k.addDisposableListener(this.domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const v=this.getValue(this.model.color);this.updateSliderPosition(v)}onDidChangeColor(v){const b=this.getValue(v);this.updateSliderPosition(b)}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;const b=this._register(new y.GlobalPointerMoveMonitor),w=k.getDomNodePagePosition(this.domNode);this.domNode.classList.add("grabbing"),v.target!==this.slider&&this.onDidChangeTop(v.offsetY),b.startMonitoring(v.target,v.pointerId,v.buttons,I=>this.onDidChangeTop(I.pageY-w.top),()=>null);const E=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),E.dispose(),b.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(v){const b=Math.max(0,Math.min(1,1-v/this.height));this.updateSliderPosition(b),this._onDidChange.fire(b)}updateSliderPosition(v){this.slider.style.top=`${(1-v)*this.height}px`}}class o extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(v){super.onDidChangeColor(v);const{r:b,g:w,b:E}=v.rgba,I=new f.Color(new f.RGBA(b,w,E,1)),M=new f.Color(new f.RGBA(b,w,E,0));this.overlay.style.background=`linear-gradient(to bottom, ${I} 0%, ${M} 100%)`}getValue(v){return v.hsva.a}}class d extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("hue-strip")}getValue(v){return 1-v.hsva.h/360}}class l extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=k.append(v,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._button.onclick=b=>{this._onClicked.fire()}}get button(){return this._button}}e.InsertButton=l;class p extends D.Widget{constructor(v,b,w,E,I=!1){super(),this.model=b,this.pixelRatio=w,this._register(L.PixelRatio.onDidChange(()=>this.layout()));const M=t(".colorpicker-widget");v.appendChild(M),this.header=this._register(new a(M,this.model,E,I)),this.body=this._register(new h(M,this.model,this.pixelRatio,I))}layout(){this.body.layout()}}e.ColorPickerWidget=p}),define(ne[832],se([1,0,7,49,75,25,6,2,11,20,41,117,236,689,15,56,31,62,26,457]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsWidget=void 0;const o=L.$,d=(0,h.registerIcon)("parameter-hints-next",D.Codicon.chevronDown,n.localize(0,null)),l=(0,h.registerIcon)("parameter-hints-previous",D.Codicon.chevronUp,n.localize(1,null));let p=c=class extends f.Disposable{constructor(v,b,w,E,I){super(),this.editor=v,this.model=b,this.renderDisposeables=this._register(new f.DisposableStore),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new s.MarkdownRenderer({editor:v},I,E)),this.keyVisible=i.Context.Visible.bindTo(w),this.keyMultipleSignatures=i.Context.MultipleSignatures.bindTo(w)}createParameterHintDOMNodes(){const v=o(".editor-widget.parameter-hints-widget"),b=L.append(v,o(".phwrapper"));b.tabIndex=-1;const w=L.append(b,o(".controls")),E=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(l))),I=L.append(w,o(".overloads")),M=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(d)));this._register(L.addDisposableListener(E,"click",F=>{L.EventHelper.stop(F),this.previous()})),this._register(L.addDisposableListener(M,"click",F=>{L.EventHelper.stop(F),this.next()}));const P=o(".body"),x=new y.DomScrollableElement(P,{alwaysConsumeMouseWheel:!0});this._register(x),b.appendChild(x.getDomNode());const T=L.append(P,o(".signature")),A=L.append(P,o(".docs"));v.style.userSelect="text",this.domNodes={element:v,signature:T,overloads:I,docs:A,scrollbar:x},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(F=>{this.visible&&this.editor.layoutContentWidget(this)}));const N=()=>{if(!this.domNodes)return;const F=this.editor.getOption(49);this.domNodes.element.style.fontSize=`${F.fontSize}px`,this.domNodes.element.style.lineHeight=`${F.lineHeight/F.fontSize}`};N(),this._register(S.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(F=>F.hasChanged(49)).on(N,null)),this._register(this.editor.onDidLayoutChange(F=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var v;(v=this.domNodes)===null||v===void 0||v.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var v;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,(v=this.domNodes)===null||v===void 0||v.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(v){var b;if(this.renderDisposeables.clear(),!this.domNodes)return;const w=v.signatures.length>1;this.domNodes.element.classList.toggle("multiple",w),this.keyMultipleSignatures.set(w),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const E=v.signatures[v.activeSignature];if(!E)return;const I=L.append(this.domNodes.signature,o(".code")),M=this.editor.getOption(49);I.style.fontSize=`${M.fontSize}px`,I.style.fontFamily=M.fontFamily;const P=E.parameters.length>0,x=(b=E.activeParameter)!==null&&b!==void 0?b:v.activeParameter;if(P)this.renderParameters(I,E,x);else{const N=L.append(I,o("span"));N.textContent=E.label}const T=E.parameters[x];if(T?.documentation){const N=o("span.documentation");if(typeof T.documentation=="string")N.textContent=T.documentation;else{const F=this.renderMarkdownDocs(T.documentation);N.appendChild(F.element)}L.append(this.domNodes.docs,o("p",{},N))}if(E.documentation!==void 0)if(typeof E.documentation=="string")L.append(this.domNodes.docs,o("p",{},E.documentation));else{const N=this.renderMarkdownDocs(E.documentation);L.append(this.domNodes.docs,N.element)}const A=this.hasDocs(E,T);if(this.domNodes.signature.classList.toggle("has-docs",A),this.domNodes.docs.classList.toggle("empty",!A),this.domNodes.overloads.textContent=String(v.activeSignature+1).padStart(v.signatures.length.toString().length,"0")+"/"+v.signatures.length,T){let N="";const F=E.parameters[x];Array.isArray(F.label)?N=E.label.substring(F.label[0],F.label[1]):N=F.label,F.documentation&&(N+=typeof F.documentation=="string"?`, ${F.documentation}`:`, ${F.documentation.value}`),E.documentation&&(N+=typeof E.documentation=="string"?`, ${E.documentation}`:`, ${E.documentation.value}`),this.announcedLabel!==N&&(k.alert(n.localize(2,null,N)),this.announcedLabel=N)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(v){const b=this.renderDisposeables.add(this.markdownRenderer.render(v,{asyncRenderCallback:()=>{var w;(w=this.domNodes)===null||w===void 0||w.scrollbar.scanDomNode()}}));return b.element.classList.add("markdown-docs"),b}hasDocs(v,b){return!!(b&&typeof b.documentation=="string"&&(0,g.assertIsDefined)(b.documentation).length>0||b&&typeof b.documentation=="object"&&(0,g.assertIsDefined)(b.documentation).value.length>0||v.documentation&&typeof v.documentation=="string"&&(0,g.assertIsDefined)(v.documentation).length>0||v.documentation&&typeof v.documentation=="object"&&(0,g.assertIsDefined)(v.documentation.value).length>0)}renderParameters(v,b,w){const[E,I]=this.getParameterLabelOffsets(b,w),M=document.createElement("span");M.textContent=b.label.substring(0,E);const P=document.createElement("span");P.textContent=b.label.substring(E,I),P.className="parameter active";const x=document.createElement("span");x.textContent=b.label.substring(I),L.append(v,M,P,x)}getParameterLabelOffsets(v,b){const w=v.parameters[b];if(w){if(Array.isArray(w.label))return w.label;if(w.label.length){const E=new RegExp(`(\\W|^)${(0,_.escapeRegExpCharacters)(w.label)}(?=\\W|$)`,"g");E.test(v.label);const I=E.lastIndex-w.label.length;return I>=0?[I,E.lastIndex]:[0,0]}else return[0,0]}else return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return c.ID}updateMaxHeight(){if(!this.domNodes)return;const b=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=b;const w=this.domNodes.element.getElementsByClassName("phwrapper");w.length&&(w[0].style.maxHeight=b)}};e.ParameterHintsWidget=p,p.ID="editor.widget.parameterHintsWidget",e.ParameterHintsWidget=p=c=ke([fe(2,t.IContextKeyService),fe(3,a.IOpenerService),fe(4,C.ILanguageService)],p),(0,u.registerColor)("editorHoverWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},n.localize(3,null))}),define(ne[833],se([1,0,100,2,16,21,29,18,753,236,688,15,8,832]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerParameterHintsAction=e.ParameterHintsController=void 0;let a=t=class extends k.Disposable{static get(o){return o.getContribution(t.ID)}constructor(o,d,l){super(),this.editor=o,this.model=this._register(new _.ParameterHintsModel(o,l.signatureHelpProvider)),this._register(this.model.onChangedHints(p=>{var m;p?(this.widget.value.show(),this.widget.value.render(p)):(m=this.widget.rawValue)===null||m===void 0||m.hide()})),this.widget=new L.Lazy(()=>this._register(d.createInstance(n.ParameterHintsWidget,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var o;(o=this.widget.rawValue)===null||o===void 0||o.previous()}next(){var o;(o=this.widget.rawValue)===null||o===void 0||o.next()}trigger(o){this.model.trigger(o,0)}};e.ParameterHintsController=a,a.ID="editor.controller.parameterHints",e.ParameterHintsController=a=t=ke([fe(1,i.IInstantiationService),fe(2,f.ILanguageFeaturesService)],a);class u extends y.EditorAction{constructor(){super({id:"editor.action.triggerParameterHints",label:C.localize(0,null),alias:"Trigger Parameter Hints",precondition:D.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:D.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})}run(o,d){const l=a.get(d);l?.trigger({triggerKind:S.SignatureHelpTriggerKind.Invoke})}}e.TriggerParameterHintsAction=u,(0,y.registerEditorContribution)(a.ID,a,2),(0,y.registerEditorAction)(u);const h=100+75,r=y.EditorCommand.bindToContribution(a.get);(0,y.registerEditorCommand)(new r({id:"closeParameterHints",precondition:g.Context.Visible,handler:c=>c.cancel(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new r({id:"showPrevParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.previous(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,y.registerEditorCommand)(new r({id:"showNextParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.next(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))}),define(ne[834],se([1,0,7,68,39,2,117,8,770,62,26,464]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BannerController=void 0;const s=26;let i=class extends D.Disposable{constructor(a,u){super(),this._editor=a,this.instantiationService=u,this.banner=this._register(this.instantiationService.createInstance(n))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(a){this.banner.show(Object.assign(Object.assign({},a),{onClose:()=>{var u;this.hide(),(u=a.onClose)===null||u===void 0||u.call(a)}})),this._editor.setBanner(this.banner.element,s)}};e.BannerController=i,e.BannerController=i=ke([fe(1,f.IInstantiationService)],i);let n=class extends D.Disposable{constructor(a){super(),this.instantiationService=a,this.markdownRenderer=this.instantiationService.createInstance(S.MarkdownRenderer,{}),this.element=(0,L.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(a){if(a.ariaLabel)return a.ariaLabel;if(typeof a.message=="string")return a.message}getBannerMessage(a){if(typeof a=="string"){const u=(0,L.$)("span");return u.innerText=a,u}return this.markdownRenderer.render(a).element}clear(){(0,L.clearNode)(this.element)}show(a){(0,L.clearNode)(this.element);const u=this.getAriaLabel(a);u&&this.element.setAttribute("aria-label",u);const h=(0,L.append)(this.element,(0,L.$)("div.icon-container"));h.setAttribute("aria-hidden","true"),a.icon&&h.appendChild((0,L.$)(`div${C.ThemeIcon.asCSSSelector(a.icon)}`));const r=(0,L.append)(this.element,(0,L.$)("div.message-container"));if(r.setAttribute("aria-hidden","true"),r.appendChild(this.getBannerMessage(a.message)),this.messageActionsContainer=(0,L.append)(this.element,(0,L.$)("div.message-actions-container")),a.actions)for(const o of a.actions)this._register(this.instantiationService.createInstance(_.Link,this.messageActionsContainer,Object.assign(Object.assign({},o),{tabIndex:-1}),{}));const c=(0,L.append)(this.element,(0,L.$)("div.action-container"));this.actionBar=this._register(new k.ActionBar(c)),this.actionBar.push(this._register(new y.Action("banner.close","Close Banner",C.ThemeIcon.asClassName(g.widgetClose),!0,()=>{typeof a.onClose=="function"&&a.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};n=ke([fe(0,f.IInstantiationService)],n)}),define(ne[835],se([1,0,7,6,26,62]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnthemedProductIconTheme=e.getIconsStyleSheet=void 0;function S(_){const g=new k.Emitter,C=(0,D.getIconRegistry)();return C.onDidChange(()=>g.fire()),_?.onDidProductIconThemeChange(()=>g.fire()),{onDidChange:g.event,getCSS(){const s=_?_.getProductIconTheme():new f,i={},n=a=>{const u=s.getIcon(a);if(!u)return;const h=u.font;return h?(i[h.id]=h.definition,`.codicon-${a.id}:before { content: '${u.fontCharacter}'; font-family: ${(0,L.asCSSPropertyValue)(h.id)}; }`):`.codicon-${a.id}:before { content: '${u.fontCharacter}'; }`},t=[];for(const a of C.getIcons()){const u=n(a);u&&t.push(u)}for(const a in i){const u=i[a],h=u.weight?`font-weight: ${u.weight};`:"",r=u.style?`font-style: ${u.style};`:"",c=u.src.map(o=>`${(0,L.asCSSUrl)(o.location)} format('${o.format}')`).join(", ");t.push(`@font-face { src: ${c}; font-family: ${(0,L.asCSSPropertyValue)(a)};${h}${r} font-display: block; }`)}return t.join(` -`)}}}e.getIconsStyleSheet=S;class f{getIcon(g){const C=(0,D.getIconRegistry)();let s=g.defaults;for(;y.ThemeIcon.isThemeIcon(s);){const i=C.getIcon(s.id);if(!i)return;s=i.defaults}return s}}e.UnthemedProductIconTheme=f}),define(ne[88],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDark=e.isHighContrast=e.ColorScheme=void 0;var L;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST_DARK="hcDark",D.HIGH_CONTRAST_LIGHT="hcLight"})(L||(e.ColorScheme=L={}));function k(D){return D===L.HIGH_CONTRAST_DARK||D===L.HIGH_CONTRAST_LIGHT}e.isHighContrast=k;function y(D){return D===L.DARK||D===L.HIGH_CONTRAST_DARK}e.isDark=y}),define(ne[251],se([1,0,52,35,17,478,144,127,95,88,36]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColumnOfNodeOffset=e.ViewLine=e.ViewLineOptions=void 0;const s=function(){return y.isNative?!0:!(y.isLinux||L.isFirefox||L.isSafari)}();let i=!0;class n{constructor(p,m){this.themeType=m;const v=p.options,b=v.get(49);v.get(37)==="off"?this.renderWhitespace=v.get(97):this.renderWhitespace="none",this.renderControlCharacters=v.get(92),this.spaceWidth=b.spaceWidth,this.middotWidth=b.middotWidth,this.wsmiddotWidth=b.wsmiddotWidth,this.useMonospaceOptimizations=b.isMonospace&&!v.get(32),this.canUseHalfwidthRightwardsArrow=b.canUseHalfwidthRightwardsArrow,this.lineHeight=v.get(65),this.stopRenderingLineAfter=v.get(115),this.fontLigatures=v.get(50)}equals(p){return this.themeType===p.themeType&&this.renderWhitespace===p.renderWhitespace&&this.renderControlCharacters===p.renderControlCharacters&&this.spaceWidth===p.spaceWidth&&this.middotWidth===p.middotWidth&&this.wsmiddotWidth===p.wsmiddotWidth&&this.useMonospaceOptimizations===p.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===p.canUseHalfwidthRightwardsArrow&&this.lineHeight===p.lineHeight&&this.stopRenderingLineAfter===p.stopRenderingLineAfter&&this.fontLigatures===p.fontLigatures}}e.ViewLineOptions=n;class t{constructor(p){this._options=p,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(p){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,k.createFastDomNode)(p);else throw new Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(p){this._isMaybeInvalid=!0,this._options=p}onSelectionChanged(){return(0,g.isHighContrast)(this._options.themeType)||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1}renderLine(p,m,v,b){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const w=v.getViewLineRenderingData(p),E=this._options,I=f.LineDecoration.filter(w.inlineDecorations,p,w.minColumn,w.maxColumn);let M=null;if((0,g.isHighContrast)(E.themeType)||this._options.renderWhitespace==="selection"){const A=v.selections;for(const N of A){if(N.endLineNumberp)continue;const F=N.startLineNumber===p?N.startColumn:w.minColumn,O=N.endLineNumber===p?N.endColumn:w.maxColumn;F');const x=(0,_.renderViewLine)(P,b);b.appendString("");let T=null;return i&&s&&w.isBasicASCII&&E.useMonospaceOptimizations&&x.containsForeignElements===0&&(T=new a(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping)),T||(T=r(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping,x.containsRTL,x.containsForeignElements)),this._renderedViewLine=T,!0}layoutLine(p,m){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(m),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(p){return this._renderedViewLine?this._renderedViewLine.getWidth(p):0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof a:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof a?this._renderedViewLine.monospaceAssumptionsAreValid():i}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof a&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(p,m,v,b){if(!this._renderedViewLine)return null;m=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,m)),v=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,v));const w=this._renderedViewLine.input.stopRenderingLineAfter;if(w!==-1&&m>w+1&&v>w+1)return new S.VisibleRanges(!0,[new S.FloatHorizontalRange(this.getWidth(b),0)]);w!==-1&&m>w+1&&(m=w+1),w!==-1&&v>w+1&&(v=w+1);const E=this._renderedViewLine.getVisibleRangesForRange(p,m,v,b);return E&&E.length>0?new S.VisibleRanges(!1,E):null}getColumnOfNodeOffset(p,m){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(p,m):1}}e.ViewLine=t,t.CLASS_NAME="view-line";class a{constructor(p,m,v){this._cachedWidth=-1,this.domNode=p,this.input=m;const b=Math.floor(m.lineContent.length/300);if(b>0){this._keyColumnPixelOffsetCache=new Float32Array(b);for(let w=0;w=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),i=!1)}return i}toSlowRenderedLine(){return r(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(p,m,v,b){const w=this._getColumnPixelOffset(p,m,b),E=this._getColumnPixelOffset(p,v,b);return[new S.FloatHorizontalRange(w,E-w)]}_getColumnPixelOffset(p,m,v){if(m<=300){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const b=Math.floor((m-1)/300)-1,w=(b+1)*300+1;let E=-1;if(this._keyColumnPixelOffsetCache&&(E=this._keyColumnPixelOffsetCache[b],E===-1&&(E=this._actualReadPixelOffset(p,w,v),this._keyColumnPixelOffsetCache[b]=E)),E===-1){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const I=this._characterMapping.getHorizontalOffset(w),M=this._characterMapping.getHorizontalOffset(m);return E+this._charWidth*(M-I)}_getReadingTarget(p){return p.domNode.firstChild}_actualReadPixelOffset(p,m,v){if(!this.domNode)return-1;const b=this._characterMapping.getDomPosition(m),w=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(this.domNode),b.partIndex,b.charIndex,b.partIndex,b.charIndex,v);return!w||w.length===0?-1:w[0].left}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class u{constructor(p,m,v,b,w){if(this.domNode=p,this.input=m,this._characterMapping=v,this._isWhitespaceOnly=/^\s*$/.test(m.lineContent),this._containsForeignElements=w,this._cachedWidth=-1,this._pixelOffsetCache=null,!b||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let E=0,I=this._characterMapping.length;E<=I;E++)this._pixelOffsetCache[E]=-1}}_getReadingTarget(p){return p.domNode.firstChild}getWidth(p){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,p?.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(p,m,v,b){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const w=this._readPixelOffset(this.domNode,p,m,b);if(w===-1)return null;const E=this._readPixelOffset(this.domNode,p,v,b);return E===-1?null:[new S.FloatHorizontalRange(w,E-w)]}return this._readVisibleRangesForRange(this.domNode,p,m,v,b)}_readVisibleRangesForRange(p,m,v,b,w){if(v===b){const E=this._readPixelOffset(p,m,v,w);return E===-1?null:[new S.FloatHorizontalRange(E,0)]}else return this._readRawVisibleRangesForRange(p,v,b,w)}_readPixelOffset(p,m,v,b){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth(b);const w=this._getReadingTarget(p);return w.firstChild?(b.markDidDomLayout(),w.firstChild.offsetWidth):0}if(this._pixelOffsetCache!==null){const w=this._pixelOffsetCache[v];if(w!==-1)return w;const E=this._actualReadPixelOffset(p,m,v,b);return this._pixelOffsetCache[v]=E,E}return this._actualReadPixelOffset(p,m,v,b)}_actualReadPixelOffset(p,m,v,b){if(this._characterMapping.length===0){const M=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),0,0,0,0,b);return!M||M.length===0?-1:M[0].left}if(v===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth(b);const w=this._characterMapping.getDomPosition(v),E=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,w.partIndex,w.charIndex,b);if(!E||E.length===0)return-1;const I=E[0].left;if(this.input.isBasicASCII){const M=this._characterMapping.getHorizontalOffset(v),P=Math.round(this.input.spaceWidth*M);if(Math.abs(P-I)<=1)return P}return I}_readRawVisibleRangesForRange(p,m,v,b){if(m===1&&v===this._characterMapping.length)return[new S.FloatHorizontalRange(0,this.getWidth(b))];const w=this._characterMapping.getDomPosition(m),E=this._characterMapping.getDomPosition(v);return D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,E.partIndex,E.charIndex,b)}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class h extends u{_readVisibleRangesForRange(p,m,v,b,w){const E=super._readVisibleRangesForRange(p,m,v,b,w);if(!E||E.length===0||v===b||v===1&&b===this._characterMapping.length)return E;if(!this.input.containsRTL){const I=this._readPixelOffset(p,m,b,w);if(I!==-1){const M=E[E.length-1];M.left=4&&v[0]===3&&v[3]===7}static isStrictChildOfViewLines(v){return v.length>4&&v[0]===3&&v[3]===7}static isChildOfScrollableElement(v){return v.length>=2&&v[0]===3&&v[1]===5}static isChildOfMinimap(v){return v.length>=2&&v[0]===3&&v[1]===8}static isChildOfContentWidgets(v){return v.length>=4&&v[0]===3&&v[3]===1}static isChildOfOverflowGuard(v){return v.length>=1&&v[0]===3}static isChildOfOverflowingContentWidgets(v){return v.length>=1&&v[0]===2}static isChildOfOverlayWidgets(v){return v.length>=2&&v[0]===3&&v[1]===4}}class u{constructor(v,b,w){this.viewModel=v.viewModel;const E=v.configuration.options;this.layoutInfo=E.get(142),this.viewDomNode=b.viewDomNode,this.lineHeight=E.get(65),this.stickyTabStops=E.get(114),this.typicalHalfwidthCharacterWidth=E.get(49).typicalHalfwidthCharacterWidth,this.lastRenderData=w,this._context=v,this._viewHelper=b}getZoneAtCoord(v){return u.getZoneAtCoord(this._context,v)}static getZoneAtCoord(v,b){const w=v.viewLayout.getWhitespaceAtVerticalOffset(b);if(w){const E=w.verticalOffset+w.height/2,I=v.viewModel.getLineCount();let M=null,P,x=null;return w.afterLineNumber!==I&&(x=new D.Position(w.afterLineNumber+1,1)),w.afterLineNumber>0&&(M=new D.Position(w.afterLineNumber,v.viewModel.getLineMaxColumn(w.afterLineNumber))),x===null?P=M:M===null?P=x:b=v.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,d._getMouseColumn(this.mouseContentHorizontalOffset,v.typicalHalfwidthCharacterWidth))}}class r extends h{constructor(v,b,w,E,I){super(v,b,w,E),this._ctx=v,I?(this.target=I,this.targetPath=k.PartFingerprints.collect(I,v.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}_getMouseColumn(v=null){return v&&v.columnM.contentLeft+M.width)continue;const P=v.getVerticalOffsetForLineNumber(M.position.lineNumber);if(P<=I&&I<=P+M.height)return b.fulfillContentText(M.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(v,b){const w=v.getZoneAtCoord(b.mouseVerticalOffset);if(w){const E=b.isInContentArea?8:5;return b.fulfillViewZone(E,w.position,w)}return null}static _hitTestTextArea(v,b){return a.isTextArea(b.targetPath)?v.lastRenderData.lastTextareaPosition?b.fulfillContentText(v.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):b.fulfillTextarea():null}static _hitTestMargin(v,b){if(b.isInMarginArea){const w=v.getFullLineRangeAtCoord(b.mouseVerticalOffset),E=w.range.getStartPosition();let I=Math.abs(b.relativePos.x);const M={isAfterLines:w.isAfterLines,glyphMarginLeft:v.layoutInfo.glyphMarginLeft,glyphMarginWidth:v.layoutInfo.glyphMarginWidth,lineNumbersWidth:v.layoutInfo.lineNumbersWidth,offsetX:I};return I-=v.layoutInfo.glyphMarginLeft,I<=v.layoutInfo.glyphMarginWidth?b.fulfillMargin(2,E,w.range,M):(I-=v.layoutInfo.glyphMarginWidth,I<=v.layoutInfo.lineNumbersWidth?b.fulfillMargin(3,E,w.range,M):(I-=v.layoutInfo.lineNumbersWidth,b.fulfillMargin(4,E,w.range,M)))}return null}static _hitTestViewLines(v,b,w){if(!a.isChildOfViewLines(b.targetPath))return null;if(v.isInTopPadding(b.mouseVerticalOffset))return b.fulfillContentEmpty(new D.Position(1,1),c);if(v.isAfterLines(b.mouseVerticalOffset)||v.isInBottomPadding(b.mouseVerticalOffset)){const I=v.viewModel.getLineCount(),M=v.viewModel.getLineMaxColumn(I);return b.fulfillContentEmpty(new D.Position(I,M),c)}if(w){if(a.isStrictChildOfViewLines(b.targetPath)){const I=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset);if(v.viewModel.getLineLength(I)===0){const P=v.getLineWidth(I),x=o(b.mouseContentHorizontalOffset-P);return b.fulfillContentEmpty(new D.Position(I,1),x)}const M=v.getLineWidth(I);if(b.mouseContentHorizontalOffset>=M){const P=o(b.mouseContentHorizontalOffset-M),x=new D.Position(I,v.viewModel.getLineMaxColumn(I));return b.fulfillContentEmpty(x,P)}}return b.fulfillUnknown()}const E=d._doHitTest(v,b);return E.type===1?d.createMouseTargetFromHitTestPosition(v,b,E.spanNode,E.position,E.injectedText):this._createMouseTarget(v,b.withTarget(E.hitTarget),!0)}static _hitTestMinimap(v,b){if(a.isChildOfMinimap(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}static _hitTestScrollbarSlider(v,b){if(a.isChildOfScrollableElement(b.targetPath)&&b.target&&b.target.nodeType===1){const w=b.target.className;if(w&&/\b(slider|scrollbar)\b/.test(w)){const E=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),I=v.viewModel.getLineMaxColumn(E);return b.fulfillScrollbar(new D.Position(E,I))}}return null}static _hitTestScrollbar(v,b){if(a.isChildOfScrollableElement(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}getMouseColumn(v){const b=this._context.configuration.options,w=b.get(142),E=this._context.viewLayout.getCurrentScrollLeft()+v.x-w.contentLeft;return d._getMouseColumn(E,b.get(49).typicalHalfwidthCharacterWidth)}static _getMouseColumn(v,b){return v<0?1:Math.round(v/b)+1}static createMouseTargetFromHitTestPosition(v,b,w,E,I){const M=E.lineNumber,P=E.column,x=v.getLineWidth(M);if(b.mouseContentHorizontalOffset>x){const R=o(b.mouseContentHorizontalOffset-x);return b.fulfillContentEmpty(E,R)}const T=v.visibleRangeForPosition(M,P);if(!T)return b.fulfillUnknown(E);const A=T.left;if(Math.abs(b.mouseContentHorizontalOffset-A)<1)return b.fulfillContentText(E,null,{mightBeForeignElement:!!I,injectedText:I});const N=[];if(N.push({offset:T.left,column:P}),P>1){const R=v.visibleRangeForPosition(M,P-1);R&&N.push({offset:R.left,column:P-1})}const F=v.viewModel.getLineMaxColumn(M);if(PR.offset-K.offset);const O=b.pos.toClientCoordinates(),W=w.getBoundingClientRect(),U=W.left<=O.clientX&&O.clientX<=W.right;let j=null;for(let R=1;RI)){const P=Math.floor((E+I)/2);let x=b.pos.y+(P-b.mouseVerticalOffset);x<=b.editorPos.y&&(x=b.editorPos.y+1),x>=b.editorPos.y+b.editorPos.height&&(x=b.editorPos.y+b.editorPos.height-1);const T=new L.PageCoordinates(b.pos.x,x),A=this._actualDoHitTestWithCaretRangeFromPoint(v,T.toClientCoordinates());if(A.type===1)return A}return this._actualDoHitTestWithCaretRangeFromPoint(v,b.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(v,b){const w=_.getShadowRoot(v.viewDomNode);let E;if(w?typeof w.caretRangeFromPoint>"u"?E=l(w,b.clientX,b.clientY):E=w.caretRangeFromPoint(b.clientX,b.clientY):E=document.caretRangeFromPoint(b.clientX,b.clientY),!E||!E.startContainer)return new C;const I=E.startContainer;if(I.nodeType===I.TEXT_NODE){const M=I.parentNode,P=M?M.parentNode:null,x=P?P.parentNode:null;return(x&&x.nodeType===x.ELEMENT_NODE?x.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,M,E.startOffset):new C(I.parentNode)}else if(I.nodeType===I.ELEMENT_NODE){const M=I.parentNode,P=M?M.parentNode:null;return(P&&P.nodeType===P.ELEMENT_NODE?P.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,I,I.textContent.length):new C(I)}return new C}static _doHitTestWithCaretPositionFromPoint(v,b){const w=document.caretPositionFromPoint(b.clientX,b.clientY);if(w.offsetNode.nodeType===w.offsetNode.TEXT_NODE){const E=w.offsetNode.parentNode,I=E?E.parentNode:null,M=I?I.parentNode:null;return(M&&M.nodeType===M.ELEMENT_NODE?M.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,w.offsetNode.parentNode,w.offset):new C(w.offsetNode.parentNode)}if(w.offsetNode.nodeType===w.offsetNode.ELEMENT_NODE){const E=w.offsetNode.parentNode,I=E&&E.nodeType===E.ELEMENT_NODE?E.className:null,M=E?E.parentNode:null,P=M&&M.nodeType===M.ELEMENT_NODE?M.className:null;if(I===y.ViewLine.CLASS_NAME){const x=w.offsetNode.childNodes[Math.min(w.offset,w.offsetNode.childNodes.length-1)];if(x)return i.createFromDOMInfo(v,x,0)}else if(P===y.ViewLine.CLASS_NAME)return i.createFromDOMInfo(v,w.offsetNode,0)}return new C(w.offsetNode)}static _snapToSoftTabBoundary(v,b){const w=b.getLineContent(v.lineNumber),{tabSize:E}=b.model.getOptions(),I=g.AtomicTabMoveOperations.atomicPosition(w,v.column-1,E,2);return I!==-1?new D.Position(v.lineNumber,I+1):v}static _doHitTest(v,b){let w=new C;if(typeof document.caretRangeFromPoint=="function"?w=this._doHitTestWithCaretRangeFromPoint(v,b):document.caretPositionFromPoint&&(w=this._doHitTestWithCaretPositionFromPoint(v,b.pos.toClientCoordinates())),w.type===1){const E=v.viewModel.getInjectedTextAt(w.position),I=v.viewModel.normalizePosition(w.position,2);(E||!I.equals(w.position))&&(w=new s(I,w.spanNode,E))}return w}}e.MouseTargetFactory=d;function l(m,v,b){const w=document.createRange();let E=m.elementFromPoint(v,b);if(E!==null){for(;E&&E.firstChild&&E.firstChild.nodeType!==E.firstChild.TEXT_NODE&&E.lastChild&&E.lastChild.firstChild;)E=E.lastChild;const I=E.getBoundingClientRect(),M=window.getComputedStyle(E,null).getPropertyValue("font-style"),P=window.getComputedStyle(E,null).getPropertyValue("font-variant"),x=window.getComputedStyle(E,null).getPropertyValue("font-weight"),T=window.getComputedStyle(E,null).getPropertyValue("font-size"),A=window.getComputedStyle(E,null).getPropertyValue("line-height"),N=window.getComputedStyle(E,null).getPropertyValue("font-family"),F=`${M} ${P} ${x} ${T}/${A} ${N}`,O=E.innerText;let W=I.left,U=0,j;if(v>I.left+I.width)U=O.length;else{const R=p.getInstance();for(let K=0;Kthis._createMouseTarget(m,v),m=>this._getMouseColumn(m))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(142).height;const l=new f.EditorMouseEventFactory(this.viewHelper.viewDomNode);this._register(l.onContextMenu(this.viewHelper.viewDomNode,m=>this._onContextMenu(m,!0))),this._register(l.onMouseMove(this.viewHelper.viewDomNode,m=>{this._onMouseMove(m),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=L.addDisposableListener(document,"mousemove",v=>{this.viewHelper.viewDomNode.contains(v.target)||this._onMouseLeave(new f.EditorMouseEvent(v,!1,this.viewHelper.viewDomNode))}))})),this._register(l.onMouseUp(this.viewHelper.viewDomNode,m=>this._onMouseUp(m))),this._register(l.onMouseLeave(this.viewHelper.viewDomNode,m=>this._onMouseLeave(m)));let p=0;this._register(l.onPointerDown(this.viewHelper.viewDomNode,(m,v)=>{p=v})),this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.POINTER_UP,m=>{this._mouseDownOperation.onPointerUp()})),this._register(l.onMouseDown(this.viewHelper.viewDomNode,m=>this._onMouseDown(m,p))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){const c=i.MouseWheelClassifier.INSTANCE;let o=0,d=_.EditorZoom.getZoomLevel(),l=!1,p=0;const m=b=>{if(this.viewController.emitMouseWheel(b),!this._context.configuration.options.get(74))return;const w=new k.StandardWheelEvent(b);if(c.acceptStandardWheelEvent(w),c.isPhysicalMouseWheel()){if(v(b)){const E=_.EditorZoom.getZoomLevel(),I=w.deltaY>0?1:-1;_.EditorZoom.setZoomLevel(E+I),w.preventDefault(),w.stopPropagation()}}else Date.now()-o>50&&(d=_.EditorZoom.getZoomLevel(),l=v(b),p=0),o=Date.now(),p+=w.deltaY,l&&(_.EditorZoom.setZoomLevel(d+p/5),w.preventDefault(),w.stopPropagation())};this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.MOUSE_WHEEL,m,{capture:!0,passive:!1}));function v(b){return D.isMacintosh?(b.metaKey||b.ctrlKey)&&!b.shiftKey&&!b.altKey:b.ctrlKey&&!b.metaKey&&!b.shiftKey&&!b.altKey}}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(c){if(c.hasChanged(142)){const o=this._context.configuration.options.get(142).height;this._height!==o&&(this._height=o,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(c){return this._mouseDownOperation.onCursorStateChanged(c),!1}onFocusChanged(c){return!1}getTargetAtClientPoint(c,o){const l=new f.ClientCoordinates(c,o).toPageCoordinates(),p=(0,f.createEditorPagePosition)(this.viewHelper.viewDomNode);if(l.yp.y+p.height||l.xp.x+p.width)return null;const m=(0,f.createCoordinatesRelativeToEditor)(this.viewHelper.viewDomNode,p,l);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),p,l,m,null)}_createMouseTarget(c,o){let d=c.target;if(!this.viewHelper.viewDomNode.contains(d)){const l=L.getShadowRoot(this.viewHelper.viewDomNode);l&&(d=l.elementsFromPoint(c.posx,c.posy).find(p=>this.viewHelper.viewDomNode.contains(p)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),c.editorPos,c.pos,c.relativePos,o?d:null)}_getMouseColumn(c){return this.mouseTargetFactory.getMouseColumn(c.relativePos)}_onContextMenu(c,o){this.viewController.emitContextMenu({event:c,target:this._createMouseTarget(c,o)})}_onMouseMove(c){this.mouseTargetFactory.mouseTargetIsWidget(c)||c.preventDefault(),!(this._mouseDownOperation.isActive()||c.timestamp{c.preventDefault(),this.viewHelper.focusTextArea()};if(E&&(l||m&&v))I(),this._mouseDownOperation.start(d.type,c,o);else if(p)c.preventDefault();else if(b){const M=d.detail;E&&this.viewHelper.shouldSuppressMouseDownOnViewZone(M.viewZoneId)&&(I(),this._mouseDownOperation.start(d.type,c,o),c.preventDefault())}else w&&this.viewHelper.shouldSuppressMouseDownOnWidget(d.detail)&&(I(),c.preventDefault());this.viewController.emitMouseDown({event:c,target:d})}}e.MouseHandler=n;class t extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewController=o,this._viewHelper=d,this._mouseTargetFactory=l,this._createMouseTarget=p,this._getMouseColumn=m,this._mouseMoveMonitor=this._register(new f.GlobalEditorPointerMoveMonitor(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new a(this._context,this._viewHelper,this._mouseTargetFactory,(v,b,w)=>this._dispatchMouse(v,b,w))),this._mouseState=new h,this._currentSelection=new C.Selection(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(c){this._lastMouseEvent=c,this._mouseState.setModifiers(c);const o=this._findMousePosition(c,!1);o&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:c,target:o}):o.type===13&&(o.outsidePosition==="above"||o.outsidePosition==="below")?this._topBottomDragScrolling.start(o,c):(this._topBottomDragScrolling.stop(),this._dispatchMouse(o,!0,1)))}start(c,o,d){this._lastMouseEvent=o,this._mouseState.setStartedOnLineNumbers(c===3),this._mouseState.setStartButtons(o),this._mouseState.setModifiers(o);const l=this._findMousePosition(o,!0);if(!l||!l.position)return;this._mouseState.trySetCount(o.detail,l.position),o.detail=this._mouseState.count;const p=this._context.configuration.options;if(!p.get(89)&&p.get(34)&&!p.get(21)&&!this._mouseState.altKey&&o.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&l.type===6&&l.position&&this._currentSelection.containsPosition(l.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),m=>{const v=this._findMousePosition(this._lastMouseEvent,!1);m&&m instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:v?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(l,o.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(c){this._currentSelection=c.selections[0]}_getPositionOutsideEditor(c){const o=c.editorPos,d=this._context.viewModel,l=this._context.viewLayout,p=this._getMouseColumn(c);if(c.posyo.y+o.height){const v=c.posy-o.y-o.height,b=l.getCurrentScrollTop()+c.relativePos.y,w=S.HitTestContext.getZoneAtCoord(this._context,b);if(w){const I=this._helpPositionJumpOverViewZone(w);if(I)return S.MouseTarget.createOutsideEditor(p,I,"below",v)}const E=l.getLineNumberAtVerticalOffset(b);return S.MouseTarget.createOutsideEditor(p,new g.Position(E,d.getLineMaxColumn(E)),"below",v)}const m=l.getLineNumberAtVerticalOffset(l.getCurrentScrollTop()+c.relativePos.y);if(c.posxo.x+o.width){const v=c.posx-o.x-o.width;return S.MouseTarget.createOutsideEditor(p,new g.Position(m,d.getLineMaxColumn(m)),"right",v)}return null}_findMousePosition(c,o){const d=this._getPositionOutsideEditor(c);if(d)return d;const l=this._createMouseTarget(c,o);if(!l.position)return null;if(l.type===8||l.type===5){const m=this._helpPositionJumpOverViewZone(l.detail);if(m)return S.MouseTarget.createViewZone(l.type,l.element,l.mouseColumn,m,l.detail)}return l}_helpPositionJumpOverViewZone(c){const o=new g.Position(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),d=c.positionBefore,l=c.positionAfter;return d&&l?d.isBefore(o)?d:l:null}_dispatchMouse(c,o,d){c.position&&this._viewController.dispatchMouse({position:c.position,mouseColumn:c.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:d,inSelectionMode:o,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:c.type===6&&c.detail.injectedText!==null})}}class a extends y.Disposable{constructor(c,o,d,l){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._operation=null}dispose(){super.dispose(),this.stop()}start(c,o){this._operation?this._operation.setPosition(c,o):this._operation=new u(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,c,o)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class u extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._position=p,this._mouseEvent=m,this._lastTime=Date.now(),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}dispose(){this._animationFrameDisposable.dispose()}setPosition(c,o){this._position=c,this._mouseEvent=o}_tick(){const c=Date.now(),o=c-this._lastTime;return this._lastTime=c,o}_getScrollSpeed(){const c=this._context.configuration.options.get(65),o=this._context.configuration.options.get(142).height/c,d=this._position.outsideDistance/c;return d<=1.5?Math.max(30,o*(1+d)):d<=3?Math.max(60,o*(2+d)):Math.max(200,o*(7+d))}_execute(){const c=this._context.configuration.options.get(65),o=this._getScrollSpeed(),d=this._tick(),l=o*(d/1e3)*c,p=this._position.outsidePosition==="above"?-l:l;this._context.viewModel.viewLayout.deltaScrollNow(0,p),this._viewHelper.renderNow();const m=this._context.viewLayout.getLinesViewportData(),v=this._position.outsidePosition==="above"?m.startLineNumber:m.endLineNumber;let b;{const w=(0,f.createEditorPagePosition)(this._viewHelper.viewDomNode),E=this._context.configuration.options.get(142).horizontalScrollbarHeight,I=new f.PageCoordinates(this._mouseEvent.pos.x,w.y+w.height-E-.1),M=(0,f.createCoordinatesRelativeToEditor)(this._viewHelper.viewDomNode,w,I);b=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),w,I,M,null)}(!b.position||b.position.lineNumber!==v)&&(this._position.outsidePosition==="above"?b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,1),"above",this._position.outsideDistance):b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,this._context.viewModel.getLineMaxColumn(v)),"below",this._position.outsideDistance)),this._dispatchMouse(b,!0,2),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}}class h{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(c){this._altKey=c.altKey,this._ctrlKey=c.ctrlKey,this._metaKey=c.metaKey,this._shiftKey=c.shiftKey}setStartButtons(c){this._leftButton=c.leftButton,this._middleButton=c.middleButton}setStartedOnLineNumbers(c){this._startedOnLineNumbers=c}trySetCount(c,o){const d=new Date().getTime();d-this._lastSetMouseDownCountTime>h.CLEAR_MOUSE_DOWN_COUNT_TIME&&(c=1),this._lastSetMouseDownCountTime=d,c>this._lastMouseDownCount+1&&(c=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(o)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=o,this._lastMouseDownCount=Math.min(c,this._lastMouseDownPositionEqualCount)}}h.CLEAR_MOUSE_DOWN_COUNT_TIME=400}),define(ne[837],se([1,0,7,17,61,2,836,159,217,185]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PointerHandler=e.PointerEventHandler=void 0;class C extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,r=>this.onTap(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,r=>this.onChange(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,r=>this._onContextMenu(new f.EditorMouseEvent(r,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,"pointerdown",r=>{const c=r.pointerType;if(c==="mouse"){this._lastPointerType="mouse";return}else c==="touch"?this._lastPointerType="touch":this._lastPointerType="pen"}));const h=new f.EditorPointerEventFactory(this.viewHelper.viewDomNode);this._register(h.onPointerMove(this.viewHelper.viewDomNode,r=>this._onMouseMove(r))),this._register(h.onPointerUp(this.viewHelper.viewDomNode,r=>this._onMouseUp(r))),this._register(h.onPointerLeave(this.viewHelper.viewDomNode,r=>this._onMouseLeave(r))),this._register(h.onPointerDown(this.viewHelper.viewDomNode,(r,c)=>this._onMouseDown(r,c)))}onTap(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);a.position&&this.viewController.dispatchMouse({position:a.position,mouseColumn:a.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:a.type===6&&a.detail.injectedText!==null})}onChange(t){this._lastPointerType==="touch"&&this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}_onMouseDown(t,a){t.browserEvent.pointerType!=="touch"&&super._onMouseDown(t,a)}}e.PointerEventHandler=C;class s extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,h=>this.onTap(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,h=>this.onChange(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,h=>this._onContextMenu(new f.EditorMouseEvent(h,!1,this.viewHelper.viewDomNode),!1)))}onTap(t){t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);if(a.position){const u=document.createEvent("CustomEvent");u.initEvent(g.TextAreaSyntethicEvents.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(u),this.viewController.moveTo(a.position,1)}}onChange(t){this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}}class i extends D.Disposable{constructor(t,a,u){super(),k.isIOS&&_.BrowserFeatures.pointerEvents?this.handler=this._register(new C(t,a,u)):window.TouchEvent?this.handler=this._register(new s(t,a,u)):this.handler=this._register(new S.MouseHandler(t,a,u))}getTargetAtClientPoint(t,a){return this.handler.getTargetAtClientPoint(t,a)}}e.PointerHandler=i}),define(ne[838],se([1,0,173,13,17,59,144,229,53,477,251,12,5,421]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewLines=void 0;class n{constructor(){this._currentVisibleRange=new i.Range(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(r){this._currentVisibleRange=r}}class t{constructor(r,c,o,d,l,p,m){this.minimalReveal=r,this.lineNumber=c,this.startColumn=o,this.endColumn=d,this.startScrollTop=l,this.stopScrollTop=p,this.scrollType=m,this.type="range",this.minLineNumber=c,this.maxLineNumber=c}}class a{constructor(r,c,o,d,l){this.minimalReveal=r,this.selections=c,this.startScrollTop=o,this.stopScrollTop=d,this.scrollType=l,this.type="selections";let p=c[0].startLineNumber,m=c[0].endLineNumber;for(let v=1,b=c.length;v{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new k.RunOnceScheduler(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new n,this._horizontalRevealRequest=null,this._stickyScrollEnabled=d.get(113).enabled,this._maxNumberStickyLines=d.get(113).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new C.ViewLine(this._viewLineOptions)}onConfigurationChanged(r){this._visibleLines.onConfigurationChanged(r),r.hasChanged(143)&&(this._maxLineWidth=0);const c=this._context.configuration.options,o=c.get(49),d=c.get(143);return this._lineHeight=c.get(65),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=d.isViewportWrapping,this._revealHorizontalRightPadding=c.get(98),this._cursorSurroundingLines=c.get(28),this._cursorSurroundingLinesStyle=c.get(29),this._canUseLayerHinting=!c.get(31),this._stickyScrollEnabled=c.get(113).enabled,this._maxNumberStickyLines=c.get(113).maxLineCount,(0,D.applyFontInfo)(this.domNode,o),this._onOptionsMaybeChanged(),r.hasChanged(142)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const r=this._context.configuration,c=new C.ViewLineOptions(r,this._context.theme.type);if(!this._viewLineOptions.equals(c)){this._viewLineOptions=c;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=!1;for(let l=c;l<=o;l++)d=this._visibleLines.getVisibleLine(l).onSelectionChanged()||d;return d}onDecorationsChanged(r){{const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let d=c;d<=o;d++)this._visibleLines.getVisibleLine(d).onDecorationsChanged()}return!0}onFlushed(r){const c=this._visibleLines.onFlushed(r);return this._maxLineWidth=0,c}onLinesChanged(r){return this._visibleLines.onLinesChanged(r)}onLinesDeleted(r){return this._visibleLines.onLinesDeleted(r)}onLinesInserted(r){return this._visibleLines.onLinesInserted(r)}onRevealRangeRequest(r){const c=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),r.source,r.minimalReveal,r.range,r.selections,r.verticalType);if(c===-1)return!1;let o=this._context.viewLayout.validateScrollPosition({scrollTop:c});r.revealHorizontal?r.range&&r.range.startLineNumber!==r.range.endLineNumber?o={scrollTop:o.scrollTop,scrollLeft:0}:r.range?this._horizontalRevealRequest=new t(r.minimalReveal,r.range.startLineNumber,r.range.startColumn,r.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType):r.selections&&r.selections.length>0&&(this._horizontalRevealRequest=new a(r.minimalReveal,r.selections,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType)):this._horizontalRevealRequest=null;const l=Math.abs(this._context.viewLayout.getCurrentScrollTop()-o.scrollTop)<=this._lineHeight?1:r.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(o,l),!0}onScrollChanged(r){if(this._horizontalRevealRequest&&r.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&r.scrollTopChanged){const c=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),o=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(r.scrollTopo)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(r.scrollWidth),this._visibleLines.onScrollChanged(r)||!0}onTokensChanged(r){return this._visibleLines.onTokensChanged(r)}onZonesChanged(r){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(r)}onThemeChanged(r){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(r,c){const o=this._getViewLineDomNode(r);if(o===null)return null;const d=this._getLineNumberFor(o);if(d===-1||d<1||d>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(d)===1)return new s.Position(d,1);const l=this._visibleLines.getStartLineNumber(),p=this._visibleLines.getEndLineNumber();if(dp)return null;let m=this._visibleLines.getVisibleLine(d).getColumnOfNodeOffset(r,c);const v=this._context.viewModel.getLineMinColumn(d);return mo)return-1;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getWidth(d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}linesVisibleRangesForRange(r,c){if(this.shouldRender())return null;const o=r.endLineNumber,d=i.Range.intersectRanges(r,this._lastRenderedData.getCurrentVisibleRange());if(!d)return null;const l=[];let p=0;const m=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot);let v=0;c&&(v=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(d.startLineNumber,1)).lineNumber);const b=this._visibleLines.getStartLineNumber(),w=this._visibleLines.getEndLineNumber();for(let E=d.startLineNumber;E<=d.endLineNumber;E++){if(Ew)continue;const I=E===d.startLineNumber?d.startColumn:1,M=E!==d.endLineNumber,P=M?this._context.viewModel.getLineMaxColumn(E):d.endColumn,x=this._visibleLines.getVisibleLine(E).getVisibleRangesForRange(E,I,P,m);if(x){if(c&&Ethis._visibleLines.getEndLineNumber())return null;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getVisibleRangesForRange(r,c,o,d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}visibleRangeForPosition(r){const c=this._visibleRangesForLineRange(r.lineNumber,r.column,r.column);return c?new S.HorizontalPosition(c.outsideRenderedLine,c.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(r){r.didDomLayout&&(this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow()))}_updateLineWidths(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=1,l=!0;for(let p=c;p<=o;p++){const m=this._visibleLines.getVisibleLine(p);if(r&&!m.getWidthIsFast()){l=!1;continue}d=Math.max(d,m.getWidth(null))}return l&&c===1&&o===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(d),l}_checkMonospaceFontAssumptions(){let r=-1,c=-1;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++){const p=this._visibleLines.getVisibleLine(l);if(p.needsMonospaceFontCheck()){const m=p.getWidth(null);m>c&&(c=m,r=l)}}if(r!==-1&&!this._visibleLines.getVisibleLine(r).monospaceAssumptionsAreValid())for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(r){if(this._visibleLines.renderLines(r),this._lastRenderedData.setCurrentVisibleRange(r.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const o=this._horizontalRevealRequest;if(r.startLineNumber<=o.minLineNumber&&o.maxLineNumber<=r.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const d=this._computeScrollLeftToReveal(o);d&&(this._isViewportWrapping||this._ensureMaxLineWidth(d.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:d.scrollLeft},o.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.isLinux&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)if(this._visibleLines.getVisibleLine(l).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const c=this._context.viewLayout.getCurrentScrollTop()-r.bigNumbersDelta;this._linesContent.setTop(-c),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(r){const c=Math.ceil(r);this._maxLineWidth0){let A=l[0].startLineNumber,N=l[0].endLineNumber;for(let F=1,O=l.length;Fv){if(!w)return-1;T=E}else if(p===5||p===6)if(p===6&&m<=E&&I<=b)T=m;else{const A=Math.max(5*this._lineHeight,v*.2),N=E-A,F=I-v;T=Math.max(F,N)}else if(p===1||p===2)if(p===2&&m<=E&&I<=b)T=m;else{const A=(E+I)/2;T=Math.max(0,A-v/2)}else T=this._computeMinimumScrolling(m,b,E,I,p===3,p===4);return T}_computeScrollLeftToReveal(r){const c=this._context.viewLayout.getCurrentViewport(),o=this._context.configuration.options.get(142),d=c.left,l=d+c.width-o.verticalScrollbarWidth;let p=1073741824,m=0;if(r.type==="range"){const b=this._visibleRangesForLineRange(r.lineNumber,r.startColumn,r.endColumn);if(!b)return null;for(const w of b.ranges)p=Math.min(p,Math.round(w.left)),m=Math.max(m,Math.round(w.left+w.width))}else for(const b of r.selections){if(b.startLineNumber!==b.endLineNumber)return null;const w=this._visibleRangesForLineRange(b.startLineNumber,b.startColumn,b.endColumn);if(!w)return null;for(const E of w.ranges)p=Math.min(p,Math.round(E.left)),m=Math.max(m,Math.round(E.left+E.width))}return r.minimalReveal||(p=Math.max(0,p-u.HORIZONTAL_EXTRA_PX),m+=this._revealHorizontalRightPadding),r.type==="selections"&&m-p>c.width?null:{scrollLeft:this._computeMinimumScrolling(d,l,p,m),maxHorizontalOffset:m}}_computeMinimumScrolling(r,c,o,d,l,p){r=r|0,c=c|0,o=o|0,d=d|0,l=!!l,p=!!p;const m=c-r;if(d-oc)return Math.max(0,d-m)}else return o;return r}}e.ViewLines=u,u.HORIZONTAL_EXTRA_PX=30}),define(ne[356],se([1,0,7,44,68,226,222,14,13,384,106,9,6,120,2,17,11,734,339,100,22,88,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputList=e.QuickInputListFocus=void 0;const l=L.$;class p{constructor(T,A,N,F,O,W,U){var j,R,K;this._checked=!1,this._hidden=!1,this.hasCheckbox=F,this.index=N,this.fireButtonTriggered=O,this.fireSeparatorButtonTriggered=W,this._onChecked=U,this.onChecked=F?i.Event.map(i.Event.filter(this._onChecked.event,G=>G.listElement===this),G=>G.checked):i.Event.None,T.type==="separator"?this._separator=T:(this.item=T,A&&A.type==="separator"&&!A.buttons&&(this._separator=A),this.saneDescription=this.item.description,this.saneDetail=this.item.detail,this._labelHighlights=(j=this.item.highlights)===null||j===void 0?void 0:j.label,this._descriptionHighlights=(R=this.item.highlights)===null||R===void 0?void 0:R.description,this._detailHighlights=(K=this.item.highlights)===null||K===void 0?void 0:K.detail,this.saneTooltip=this.item.tooltip),this._init=new c.Lazy(()=>{var G;const Z=(G=T.label)!==null&&G!==void 0?G:"",J=(0,n.parseLabelWithIcons)(Z).text.trim(),X=T.ariaLabel||[Z,this.saneDescription,this.saneDetail].map(H=>(0,n.getCodiconAriaLabel)(H)).filter(H=>!!H).join(", ");return{saneLabel:Z,saneSortLabel:J,saneAriaLabel:X}})}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(T){this._element=T}get hidden(){return this._hidden}set hidden(T){this._hidden=T}get checked(){return this._checked}set checked(T){T!==this._checked&&(this._checked=T,this._onChecked.fire({listElement:this,checked:T}))}get separator(){return this._separator}set separator(T){this._separator=T}get labelHighlights(){return this._labelHighlights}set labelHighlights(T){this._labelHighlights=T}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(T){this._descriptionHighlights=T}get detailHighlights(){return this._detailHighlights}set detailHighlights(T){this._detailHighlights=T}}class m{constructor(T){this.themeService=T}get templateId(){return m.ID}renderTemplate(T){const A=Object.create(null);A.toDisposeElement=[],A.toDisposeTemplate=[],A.entry=L.append(T,l(".quick-input-list-entry"));const N=L.append(A.entry,l("label.quick-input-list-label"));A.toDisposeTemplate.push(L.addStandardDisposableListener(N,L.EventType.CLICK,R=>{A.checkbox.offsetParent||R.preventDefault()})),A.checkbox=L.append(N,l("input.quick-input-list-checkbox")),A.checkbox.type="checkbox",A.toDisposeTemplate.push(L.addStandardDisposableListener(A.checkbox,L.EventType.CHANGE,R=>{A.element.checked=A.checkbox.checked}));const F=L.append(N,l(".quick-input-list-rows")),O=L.append(F,l(".quick-input-list-row")),W=L.append(F,l(".quick-input-list-row"));A.label=new D.IconLabel(O,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),A.icon=L.prepend(A.label.element,l(".quick-input-list-icon"));const U=L.append(O,l(".quick-input-list-entry-keybinding"));A.keybinding=new S.KeybindingLabel(U,a.OS);const j=L.append(W,l(".quick-input-list-label-meta"));return A.detail=new D.IconLabel(j,{supportHighlights:!0,supportIcons:!0}),A.separator=L.append(A.entry,l(".quick-input-list-separator")),A.actionBar=new y.ActionBar(A.entry),A.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),A.toDisposeTemplate.push(A.actionBar),A}renderElement(T,A,N){var F,O,W,U;N.element=T,T.element=(F=N.entry)!==null&&F!==void 0?F:void 0;const j=T.item?T.item:T.separator;N.checkbox.checked=T.checked,N.toDisposeElement.push(T.onChecked(X=>N.checkbox.checked=X));const{labelHighlights:R,descriptionHighlights:K,detailHighlights:G}=T;if(!((O=T.item)===null||O===void 0)&&O.iconPath){const X=(0,d.isDark)(this.themeService.getColorTheme().type)?T.item.iconPath.dark:(W=T.item.iconPath.light)!==null&&W!==void 0?W:T.item.iconPath.dark,H=o.URI.revive(X);N.icon.className="quick-input-list-icon",N.icon.style.backgroundImage=L.asCSSUrl(H)}else N.icon.style.backgroundImage="",N.icon.className=!((U=T.item)===null||U===void 0)&&U.iconClass?`quick-input-list-icon ${T.item.iconClass}`:"";const Z={matches:R||[],descriptionTitle:T.saneDescription,descriptionMatches:K||[],labelEscapeNewLines:!0};j.type!=="separator"?(Z.extraClasses=j.iconClasses,Z.italic=j.italic,Z.strikethrough=j.strikethrough,N.entry.classList.remove("quick-input-list-separator-as-item")):N.entry.classList.add("quick-input-list-separator-as-item"),N.label.setLabel(T.saneLabel,T.saneDescription,Z),N.keybinding.set(j.type==="separator"?void 0:j.keybinding),T.saneDetail?(N.detail.element.style.display="",N.detail.setLabel(T.saneDetail,void 0,{matches:G,title:T.saneDetail,labelEscapeNewLines:!0})):N.detail.element.style.display="none",T.item&&T.separator&&T.separator.label?(N.separator.textContent=T.separator.label,N.separator.style.display=""):N.separator.style.display="none",N.entry.classList.toggle("quick-input-list-separator-border",!!T.separator);const J=j.buttons;J&&J.length?(N.actionBar.push(J.map((X,H)=>{let B=X.iconClass||(X.iconPath?(0,r.getIconClass)(X.iconPath):void 0);return X.alwaysVisible&&(B=B?`${B} always-visible`:"always-visible"),{id:`id-${H}`,class:B,enabled:!0,label:"",tooltip:X.tooltip||"",run:()=>{j.type!=="separator"?T.fireButtonTriggered({button:X,item:j}):T.fireSeparatorButtonTriggered({button:X,separator:j})}}}),{icon:!0,label:!1}),N.entry.classList.add("has-actions")):N.entry.classList.remove("has-actions")}disposeElement(T,A,N){N.toDisposeElement=(0,t.dispose)(N.toDisposeElement),N.actionBar.clear()}disposeTemplate(T){T.toDisposeElement=(0,t.dispose)(T.toDisposeElement),T.toDisposeTemplate=(0,t.dispose)(T.toDisposeTemplate)}}m.ID="listelement";class v{getHeight(T){return T.item?T.saneDetail?44:22:24}getTemplateId(T){return m.ID}}var b;(function(x){x[x.First=1]="First",x[x.Second=2]="Second",x[x.Last=3]="Last",x[x.Next=4]="Next",x[x.Previous=5]="Previous",x[x.NextPage=6]="NextPage",x[x.PreviousPage=7]="PreviousPage"})(b||(e.QuickInputListFocus=b={}));class w{constructor(T,A,N,F){this.parent=T,this.options=N,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.sortByLabel=!0,this._onChangedAllVisibleChecked=new i.Emitter,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new i.Emitter,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new i.Emitter,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new i.Emitter,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new i.Emitter,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new i.Emitter,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onKeyDown=new i.Emitter,this.onKeyDown=this._onKeyDown.event,this._onLeave=new i.Emitter,this.onLeave=this._onLeave.event,this._listElementChecked=new i.Emitter,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=A,this.container=L.append(this.parent,l(".quick-input-list"));const O=new v,W=new P;if(this.list=N.createList("QuickInput",this.container,O,[new m(F)],{identityProvider:{getId:U=>{var j,R,K,G,Z,J,X,H;return(H=(J=(G=(R=(j=U.item)===null||j===void 0?void 0:j.id)!==null&&R!==void 0?R:(K=U.item)===null||K===void 0?void 0:K.label)!==null&&G!==void 0?G:(Z=U.separator)===null||Z===void 0?void 0:Z.id)!==null&&J!==void 0?J:(X=U.separator)===null||X===void 0?void 0:X.label)!==null&&H!==void 0?H:""}},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:W}),this.list.getHTMLElement().id=A,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(U=>{const j=new k.StandardKeyboardEvent(U);switch(j.keyCode){case 10:this.toggleCheckbox();break;case 31:(a.isMacintosh?U.metaKey:U.ctrlKey)&&this.list.setFocus((0,f.range)(this.list.length));break;case 16:{const R=this.list.getFocus();R.length===1&&R[0]===0&&this._onLeave.fire();break}case 18:{const R=this.list.getFocus();R.length===1&&R[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(j)})),this.disposables.push(this.list.onMouseDown(U=>{U.browserEvent.button!==2&&U.browserEvent.preventDefault()})),this.disposables.push(L.addDisposableListener(this.container,L.EventType.CLICK,U=>{(U.x||U.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(U=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(U=>{typeof U.index=="number"&&(U.browserEvent.preventDefault(),this.list.setSelection([U.index]))})),N.hoverDelegate){const U=new _.ThrottledDelayer(N.hoverDelegate.delay);this.disposables.push(this.list.onMouseOver(j=>we(this,void 0,void 0,function*(){var R;if(j.browserEvent.target instanceof HTMLAnchorElement){U.cancel();return}if(!(!(j.browserEvent.relatedTarget instanceof HTMLAnchorElement)&&L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)))try{yield U.trigger(()=>we(this,void 0,void 0,function*(){j.element&&this.showHover(j.element)}))}catch(K){if(!(0,s.isCancellationError)(K))throw K}}))),this.disposables.push(this.list.onMouseOut(j=>{var R;L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)||U.cancel()})),this.disposables.push(U)}this.disposables.push(this._listElementChecked.event(U=>this.fireCheckedEvents())),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onSeparatorButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return i.Event.map(this.list.onDidChangeFocus,T=>T.elements.map(A=>A.item))}get onDidChangeSelection(){return i.Event.map(this.list.onDidChangeSelection,T=>({items:T.elements.map(A=>A.item),event:T.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(T){this.list.scrollTop=T}get ariaLabel(){return this.list.getHTMLElement().ariaLabel}set ariaLabel(T){this.list.getHTMLElement().ariaLabel=T}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(T,A=!0){for(let N=0,F=T.length;N{A.hidden||(A.checked=T)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(T){this.elementDisposables=(0,t.dispose)(this.elementDisposables);const A=W=>this.fireButtonTriggered(W),N=W=>this.fireSeparatorButtonTriggered(W);this.inputElements=T;const F=new Map,O=this.parent.classList.contains("show-checkboxes");this.elements=T.reduce((W,U,j)=>{var R;const K=j>0?T[j-1]:void 0;if(U.type==="separator"&&!U.buttons)return W;const G=new p(U,K,j,O,A,N,this._listElementChecked),Z=W.length;return W.push(G),F.set((R=G.item)!==null&&R!==void 0?R:G.separator,Z),W},[]),this.elementsToIndexes=F,this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(T=>T.item)}setFocusedElements(T){if(this.list.setFocus(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A))),T.length>0){const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(T){this.list.setSelection(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A)))}getCheckedElements(){return this.elements.filter(T=>T.checked).map(T=>T.item).filter(T=>!!T)}setCheckedElements(T){try{this._fireCheckedEvents=!1;const A=new Set;for(const N of T)A.add(N);for(const N of this.elements)N.checked=A.has(N.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(T){this.list.getHTMLElement().style.pointerEvents=T?"":"none"}focus(T){if(!this.list.length)return;switch(T===b.Second&&this.list.length<2&&(T=b.First),T){case b.First:this.list.scrollTop=0,this.list.focusFirst(void 0,N=>!!N.item);break;case b.Second:this.list.scrollTop=0,this.list.focusNth(1,void 0,N=>!!N.item);break;case b.Last:this.list.scrollTop=this.list.scrollHeight,this.list.focusLast(void 0,N=>!!N.item);break;case b.Next:{this.list.focusNext(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.Previous:{this.list.focusPrevious(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.NextPage:this.list.focusNextPage(void 0,N=>!!N.item);break;case b.PreviousPage:this.list.focusPreviousPage(void 0,N=>!!N.item);break}const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}showHover(T){var A,N,F;this.options.hoverDelegate!==void 0&&(this._lastHover&&!this._lastHover.isDisposed&&((N=(A=this.options.hoverDelegate).onDidHideHover)===null||N===void 0||N.call(A),(F=this._lastHover)===null||F===void 0||F.dispose()),!(!T.element||!T.saneTooltip)&&(this._lastHover=this.options.hoverDelegate.showHover({content:T.saneTooltip,target:T.element,linkHandler:O=>{this.options.linkOpenerDelegate(O)},showPointer:!0,container:this.container,hoverPosition:1},!1)))}layout(T){this.list.getHTMLElement().style.maxHeight=T?`${Math.floor(T/44)*44+6}px`:"",this.list.layout()}filter(T){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const A=T;if(T=T.trim(),!T||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(F=>{F.labelHighlights=void 0,F.descriptionHighlights=void 0,F.detailHighlights=void 0,F.hidden=!1;const O=F.index&&this.inputElements[F.index-1];F.item&&(F.separator=O&&O.type==="separator"&&!O.buttons?O:void 0)});else{let F;this.elements.forEach(O=>{var W,U,j,R;let K;this.matchOnLabelMode==="fuzzy"?K=this.matchOnLabel&&(W=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&W!==void 0?W:void 0:K=this.matchOnLabel&&(U=E(A,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&U!==void 0?U:void 0;const G=this.matchOnDescription&&(j=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDescription||"")))!==null&&j!==void 0?j:void 0,Z=this.matchOnDetail&&(R=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDetail||"")))!==null&&R!==void 0?R:void 0;if(K||G||Z?(O.labelHighlights=K,O.descriptionHighlights=G,O.detailHighlights=Z,O.hidden=!1):(O.labelHighlights=void 0,O.descriptionHighlights=void 0,O.detailHighlights=void 0,O.hidden=O.item?!O.item.alwaysShow:!0),O.item?O.separator=void 0:O.separator&&(O.hidden=!0),!this.sortByLabel){const J=O.index&&this.inputElements[O.index-1];F=J&&J.type==="separator"?J:F,F&&!O.hidden&&(O.separator=F,F=void 0)}})}const N=this.elements.filter(F=>!F.hidden);if(this.sortByLabel&&T){const F=T.toLowerCase();N.sort((O,W)=>M(O,W,F))}return this.elementsToIndexes=N.reduce((F,O,W)=>{var U;return F.set((U=O.item)!==null&&U!==void 0?U:O.separator,W),F},new Map),this.list.splice(0,this.list.length,N),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(N.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const T=this.list.getFocusedElements(),A=this.allVisibleChecked(T);for(const N of T)N.checked=!A}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(T){this.container.style.display=T?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=(0,t.dispose)(this.elementDisposables),this.disposables=(0,t.dispose)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(T){this._onButtonTriggered.fire(T)}fireSeparatorButtonTriggered(T){this._onSeparatorButtonTriggered.fire(T)}style(T){this.list.style(T)}toggleHover(){const T=this.list.getFocusedElements()[0];if(!T?.saneTooltip)return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}const A=this.list.getFocusedElements()[0];if(!A)return;this.showHover(A);const N=new t.DisposableStore;N.add(this.list.onDidChangeFocus(F=>{F.indexes.length&&this.showHover(F.elements[0])})),this._lastHover&&N.add(this._lastHover),this._toggleHover=N,this.elementDisposables.push(this._toggleHover)}}e.QuickInputList=w,ke([C.memoize],w.prototype,"onDidChangeFocus",null),ke([C.memoize],w.prototype,"onDidChangeSelection",null);function E(x,T){const{text:A,iconOffsets:N}=T;if(!N||N.length===0)return I(x,A);const F=(0,u.ltrim)(A," "),O=A.length-F.length,W=I(x,F);if(W)for(const U of W){const j=N[U.start+O]+O;U.start+=j,U.end+=j}return W}function I(x,T){const A=T.toLowerCase().indexOf(x.toLowerCase());return A!==-1?[{start:A,end:A+x.length}]:null}function M(x,T,A){const N=x.labelHighlights||[],F=T.labelHighlights||[];return N.length&&!F.length?-1:!N.length&&F.length?1:N.length===0&&F.length===0?0:(0,g.compareAnything)(x.saneSortLabel,T.saneSortLabel,A)}class P{getWidgetAriaLabel(){return(0,h.localize)(0,null)}getAriaLabel(T){var A;return!((A=T.separator)===null||A===void 0)&&A.label?`${T.saneAriaLabel}, ${T.separator.label}`:T.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(T){return T.hasCheckbox?"checkbox":"option"}isChecked(T){if(T.hasCheckbox)return{value:T.checked,onDidChange:T.onChecked}}}}),define(ne[839],se([1,0,7,44,153,39,14,13,25,6,2,17,101,26,732,71,356,339,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputBox=e.QuickPick=e.backButton=void 0,e.backButton={iconClass:n.ThemeIcon.asClassName(_.Codicon.quickInputBack),tooltip:(0,t.localize)(0,null),handle:-1};class r extends C.Disposable{constructor(l){super(),this.ui=l,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=r.noPromptMessage,this._severity=i.default.Ignore,this.onDidTriggerButtonEmitter=this._register(new g.Emitter),this.onDidHideEmitter=this._register(new g.Emitter),this.onDisposeEmitter=this._register(new g.Emitter),this.visibleDisposables=this._register(new C.DisposableStore),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(l){this._title=l,this.update()}get description(){return this._description}set description(l){this._description=l,this.update()}get step(){return this._steps}set step(l){this._steps=l,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(l){this._totalSteps=l,this.update()}get enabled(){return this._enabled}set enabled(l){this._enabled=l,this.update()}get contextKey(){return this._contextKey}set contextKey(l){this._contextKey=l,this.update()}get busy(){return this._busy}set busy(l){this._busy=l,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(l){const p=this._ignoreFocusOut!==l&&!s.isIOS;this._ignoreFocusOut=l&&!s.isIOS,p&&this.update()}get buttons(){return this._buttons}set buttons(l){this._buttons=l,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(l){this._toggles=l??[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(l){this._validationMessage=l,this.update()}get severity(){return this._severity}set severity(l){this._severity=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(l=>{this.buttons.indexOf(l)!==-1&&this.onDidTriggerButtonEmitter.fire(l)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(l=a.QuickInputHideReason.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:l})}update(){var l,p;if(!this.visible)return;const m=this.getTitle();m&&this.ui.title.textContent!==m?this.ui.title.textContent=m:!m&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0");const v=this.getDescription();if(this.ui.description1.textContent!==v&&(this.ui.description1.textContent=v),this.ui.description2.textContent!==v&&(this.ui.description2.textContent=v),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?L.reset(this.ui.widget,this._widget):L.reset(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new f.TimeoutTimer,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const w=this.buttons.filter(I=>I===e.backButton);this.ui.leftActionBar.push(w.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const E=this.buttons.filter(I=>I!==e.backButton);this.ui.rightActionBar.push(E.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const w=(p=(l=this.toggles)===null||l===void 0?void 0:l.filter(E=>E instanceof y.Toggle))!==null&&p!==void 0?p:[];this.ui.inputBox.toggles=w}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const b=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==b&&(this._lastValidationMessage=b,L.reset(this.ui.message),(0,h.renderQuickInputDescription)(b,this.ui.message,{callback:w=>{this.ui.linkOpenerDelegate(w)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,t.localize)(2,null,this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(l){if(this.ui.inputBox.showDecoration(l),l!==i.default.Ignore){const p=this.ui.inputBox.stylesForType(l);this.ui.message.style.color=p.foreground?`${p.foreground}`:"",this.ui.message.style.backgroundColor=p.background?`${p.background}`:"",this.ui.message.style.border=p.border?`1px solid ${p.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}r.noPromptMessage=(0,t.localize)(1,null);class c extends r{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new g.Emitter),this.onWillAcceptEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidCustomEmitter=this._register(new g.Emitter),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=a.ItemActivation.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new g.Emitter),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new g.Emitter),this.onDidTriggerItemButtonEmitter=this._register(new g.Emitter),this.onDidTriggerSeparatorButtonEmitter=this._register(new g.Emitter),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=l=>l,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(l){this._quickNavigate=l,this.update()}get value(){return this._value}set value(l){this.doSetValue(l)}doSetValue(l,p){this._value!==l&&(this._value=l,p||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(l){this._ariaLabel=l,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(l){this.ui.list.scrollTop=l}set items(l){this._items=l,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(l){this._canSelectMany=l,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(l){this._canAcceptInBackground=l}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(l){this._matchOnDescription=l,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(l){this._matchOnDetail=l,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(l){this._matchOnLabel=l,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(l){this._matchOnLabelMode=l,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(l){this._sortByLabel=l,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(l){this._autoFocusOnList=l,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(l){this._keepScrollPosition=l}get itemActivation(){return this._itemActivation}set itemActivation(l){this._itemActivation=l}get activeItems(){return this._activeItems}set activeItems(l){this._activeItems=l,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(l){this._selectedItems=l,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?a.NO_KEY_MODS:this.ui.keyMods}set valueSelection(l){this._valueSelection=l,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(l){this._customButton=l,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(l){this._customButtonLabel=l,this.update()}get customHover(){return this._customButtonHover}set customHover(l){this._customButtonHover=l,this.update()}get ok(){return this._ok}set ok(l){this._ok=l,this.update()}get hideInput(){return!!this._hideInput}set hideInput(l){this._hideInput=l,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(u.QuickInputListFocus.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{this.doSetValue(l,!0)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(l=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(l=>{switch(l.keyCode){case 18:this.ui.list.focus(u.QuickInputListFocus.Next),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(u.QuickInputListFocus.Previous):this.ui.list.focus(u.QuickInputListFocus.Last),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 12:this.ui.list.focus(u.QuickInputListFocus.NextPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 11:this.ui.list.focus(u.QuickInputListFocus.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.First),L.EventHelper.stop(l,!0));break;case 13:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.Last),L.EventHelper.stop(l,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(l=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,S.equals)(l,this._activeItems,(p,m)=>p===m)||(this._activeItems=l,this.onDidChangeActiveEmitter.fire(l))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:l,event:p})=>{if(this.canSelectMany){l.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(m,v)=>m===v)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l),l.length&&this.handleAccept(p instanceof MouseEvent&&p.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(l=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(p,m)=>p===m)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(l=>this.onDidTriggerItemButtonEmitter.fire(l))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(l=>this.onDidTriggerSeparatorButtonEmitter.fire(l))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(l){let p=!1;this.onWillAcceptEmitter.fire({veto:()=>p=!0}),p||this.onDidAcceptEmitter.fire({inBackground:l})}registerQuickNavigation(){return L.addDisposableListener(this.ui.container,L.EventType.KEY_UP,l=>{if(this.canSelectMany||!this._quickNavigate)return;const p=new k.StandardKeyboardEvent(l),m=p.keyCode;this._quickNavigate.keybindings.some(w=>{const E=w.getChords();return E.length>1?!1:E[0].shiftKey&&m===4?!(p.ctrlKey||p.altKey||p.metaKey):!!(E[0].altKey&&m===6||E[0].ctrlKey&&m===5||E[0].metaKey&&m===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const l=this.keepScrollPosition?this.scrollTop:0,p=!!this.description,m={title:!!this.title||!!this.step||!!this.buttons.length,description:p,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||p,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(m),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let v=this.ariaLabel;if(!v&&m.inputBox&&(v=this.placeholder||c.DEFAULT_ARIA_LABEL,this.title&&(v+=` - ${this.title}`)),this.ui.list.ariaLabel!==v&&(this.ui.list.ariaLabel=v??null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case a.ItemActivation.NONE:this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.SECOND:this.ui.list.focus(u.QuickInputListFocus.Second),this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.LAST:this.ui.list.focus(u.QuickInputListFocus.Last),this._itemActivation=a.ItemActivation.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",m.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(u.QuickInputListFocus.First)),this.keepScrollPosition&&(this.scrollTop=l)}}e.QuickPick=c,c.DEFAULT_ARIA_LABEL=(0,t.localize)(3,null);class o extends r{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(l){this._value=l||"",this.update()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get password(){return this._password}set password(l){this._password=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{l!==this.value&&(this._value=l,this.onDidValueChangeEmitter.fire(l))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");const l={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(l),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}e.InputBox=o}),define(ne[840],se([1,0,7,68,313,307,574,19,6,2,101,733,71,772,356,839]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputController=void 0;const u=L.$;class h extends g.Disposable{constructor(c,o){super(),this.options=c,this.themeService=o,this.enabled=!0,this.onDidAcceptEmitter=this._register(new _.Emitter),this.onDidCustomEmitter=this._register(new _.Emitter),this.onDidTriggerButtonEmitter=this._register(new _.Emitter),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new _.Emitter),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new _.Emitter),this.onHide=this.onHideEmitter.event,this.idPrefix=c.idPrefix,this.parentElement=c.container,this.styles=c.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const c=o=>{this.keyMods.ctrlCmd=o.ctrlKey||o.metaKey,this.keyMods.alt=o.altKey};this._register(L.addDisposableListener(window,L.EventType.KEY_DOWN,c,!0)),this._register(L.addDisposableListener(window,L.EventType.KEY_UP,c,!0)),this._register(L.addDisposableListener(window,L.EventType.MOUSE_DOWN,c,!0))}getUI(){if(this.ui)return this.ui;const c=L.append(this.parentElement,u(".quick-input-widget.show-file-icons"));c.tabIndex=-1,c.style.display="none";const o=L.createStyleSheet(c),d=L.append(c,u(".quick-input-titlebar")),l=this.options.hoverDelegate?{hoverDelegate:this.options.hoverDelegate}:void 0,p=this._register(new k.ActionBar(d,l));p.domNode.classList.add("quick-input-left-action-bar");const m=L.append(d,u(".quick-input-title")),v=this._register(new k.ActionBar(d,l));v.domNode.classList.add("quick-input-right-action-bar");const b=L.append(c,u(".quick-input-header")),w=L.append(b,u("input.quick-input-check-all"));w.type="checkbox",w.setAttribute("aria-label",(0,s.localize)(0,null)),this._register(L.addStandardDisposableListener(w,L.EventType.CHANGE,H=>{const B=w.checked;J.setAllVisibleChecked(B)})),this._register(L.addDisposableListener(w,L.EventType.CLICK,H=>{(H.x||H.y)&&P.setFocus()}));const E=L.append(b,u(".quick-input-description")),I=L.append(b,u(".quick-input-and-message")),M=L.append(I,u(".quick-input-filter")),P=this._register(new n.QuickInputBox(M,this.styles.inputBox,this.styles.toggle));P.setAttribute("aria-describedby",`${this.idPrefix}message`);const x=L.append(M,u(".quick-input-visible-count"));x.setAttribute("aria-live","polite"),x.setAttribute("aria-atomic","true");const T=new D.CountBadge(x,{countFormat:(0,s.localize)(1,null)},this.styles.countBadge),A=L.append(M,u(".quick-input-count"));A.setAttribute("aria-live","polite");const N=new D.CountBadge(A,{countFormat:(0,s.localize)(2,null)},this.styles.countBadge),F=L.append(b,u(".quick-input-action")),O=new y.Button(F,this.styles.button);O.label=(0,s.localize)(3,null),this._register(O.onDidClick(H=>{this.onDidAcceptEmitter.fire()}));const W=L.append(b,u(".quick-input-action")),U=new y.Button(W,this.styles.button);U.label=(0,s.localize)(4,null),this._register(U.onDidClick(H=>{this.onDidCustomEmitter.fire()}));const j=L.append(I,u(`#${this.idPrefix}message.quick-input-message`)),R=new S.ProgressBar(c,this.styles.progressBar);R.getContainer().classList.add("quick-input-progress");const K=L.append(c,u(".quick-input-html-widget"));K.tabIndex=-1;const G=L.append(c,u(".quick-input-description")),Z=this.idPrefix+"list",J=this._register(new t.QuickInputList(c,Z,this.options,this.themeService));P.setAttribute("aria-controls",Z),this._register(J.onDidChangeFocus(()=>{var H;P.setAttribute("aria-activedescendant",(H=J.getActiveDescendant())!==null&&H!==void 0?H:"")})),this._register(J.onChangedAllVisibleChecked(H=>{w.checked=H})),this._register(J.onChangedVisibleCount(H=>{T.setCount(H)})),this._register(J.onChangedCheckedCount(H=>{N.setCount(H)})),this._register(J.onLeave(()=>{setTimeout(()=>{P.setFocus(),this.controller instanceof a.QuickPick&&this.controller.canSelectMany&&J.clearFocus()},0)}));const X=L.trackFocus(c);return this._register(X),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{L.isAncestor(H.relatedTarget,c)||(this.previousFocusElement=H.relatedTarget instanceof HTMLElement?H.relatedTarget:void 0)},!0)),this._register(X.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(i.QuickInputHideReason.Blur),this.previousFocusElement=void 0})),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{P.setFocus()})),this._register(L.addStandardDisposableListener(c,L.EventType.KEY_DOWN,H=>{if(!L.isAncestor(H.target,K))switch(H.keyCode){case 3:L.EventHelper.stop(H,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:L.EventHelper.stop(H,!0),this.hide(i.QuickInputHideReason.Gesture);break;case 2:if(!H.altKey&&!H.ctrlKey&&!H.metaKey){const B=[".quick-input-list .monaco-action-bar .always-visible",".quick-input-list-entry:hover .monaco-action-bar",".monaco-list-row.focused .monaco-action-bar"];if(c.classList.contains("show-checkboxes")?B.push("input"):B.push("input[type=text]"),this.getUI().list.isDisplayed()&&B.push(".monaco-list"),this.getUI().message&&B.push(".quick-input-message a"),this.getUI().widget){if(L.isAncestor(H.target,this.getUI().widget))break;B.push(".quick-input-html-widget")}const V=c.querySelectorAll(B.join(", "));H.shiftKey&&H.target===V[0]?(L.EventHelper.stop(H,!0),J.clearFocus()):!H.shiftKey&&L.isAncestor(H.target,V[V.length-1])&&(L.EventHelper.stop(H,!0),V[0].focus())}break;case 10:H.ctrlKey&&(L.EventHelper.stop(H,!0),this.getUI().list.toggleHover());break}})),this.ui={container:c,styleSheet:o,leftActionBar:p,titleBar:d,title:m,description1:G,description2:E,widget:K,rightActionBar:v,checkAll:w,inputContainer:I,filterContainer:M,inputBox:P,visibleCountContainer:x,visibleCount:T,countContainer:A,count:N,okContainer:F,ok:O,message:j,customButtonContainer:W,customButton:U,list:J,progressBar:R,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:H=>this.show(H),hide:()=>this.hide(),setVisibilities:H=>this.setVisibilities(H),setEnabled:H=>this.setEnabled(H),setContextKey:H=>this.options.setContextKey(H),linkOpenerDelegate:H=>this.options.linkOpenerDelegate(H)},this.updateStyles(),this.ui}pick(c,o={},d=f.CancellationToken.None){return new Promise((l,p)=>{let m=E=>{var I;m=l,(I=o.onKeyMods)===null||I===void 0||I.call(o,v.keyMods),l(E)};if(d.isCancellationRequested){m(void 0);return}const v=this.createQuickPick();let b;const w=[v,v.onDidAccept(()=>{if(v.canSelectMany)m(v.selectedItems.slice()),v.hide();else{const E=v.activeItems[0];E&&(m(E),v.hide())}}),v.onDidChangeActive(E=>{const I=E[0];I&&o.onDidFocus&&o.onDidFocus(I)}),v.onDidChangeSelection(E=>{if(!v.canSelectMany){const I=E[0];I&&(m(I),v.hide())}}),v.onDidTriggerItemButton(E=>o.onDidTriggerItemButton&&o.onDidTriggerItemButton(Object.assign(Object.assign({},E),{removeItem:()=>{const I=v.items.indexOf(E.item);if(I!==-1){const M=v.items.slice(),P=M.splice(I,1),x=v.activeItems.filter(A=>A!==P[0]),T=v.keepScrollPosition;v.keepScrollPosition=!0,v.items=M,x&&(v.activeItems=x),v.keepScrollPosition=T}}}))),v.onDidTriggerSeparatorButton(E=>{var I;return(I=o.onDidTriggerSeparatorButton)===null||I===void 0?void 0:I.call(o,E)}),v.onDidChangeValue(E=>{b&&!E&&(v.activeItems.length!==1||v.activeItems[0]!==b)&&(v.activeItems=[b])}),d.onCancellationRequested(()=>{v.hide()}),v.onDidHide(()=>{(0,g.dispose)(w),m(void 0)})];v.title=o.title,v.canSelectMany=!!o.canPickMany,v.placeholder=o.placeHolder,v.ignoreFocusOut=!!o.ignoreFocusLost,v.matchOnDescription=!!o.matchOnDescription,v.matchOnDetail=!!o.matchOnDetail,v.matchOnLabel=o.matchOnLabel===void 0||o.matchOnLabel,v.autoFocusOnList=o.autoFocusOnList===void 0||o.autoFocusOnList,v.quickNavigate=o.quickNavigate,v.hideInput=!!o.hideInput,v.contextKey=o.contextKey,v.busy=!0,Promise.all([c,o.activeItem]).then(([E,I])=>{b=I,v.busy=!1,v.items=E,v.canSelectMany&&(v.selectedItems=E.filter(M=>M.type!=="separator"&&M.picked)),b&&(v.activeItems=[b])}),v.show(),Promise.resolve(c).then(void 0,E=>{p(E),v.hide()})})}createQuickPick(){const c=this.getUI();return new a.QuickPick(c)}createInputBox(){const c=this.getUI();return new a.InputBox(c)}show(c){const o=this.getUI();this.onShowEmitter.fire();const d=this.controller;this.controller=c,d?.didHide(),this.setEnabled(!0),o.leftActionBar.clear(),o.title.textContent="",o.description1.textContent="",o.description2.textContent="",L.reset(o.widget),o.rightActionBar.clear(),o.checkAll.checked=!1,o.inputBox.placeholder="",o.inputBox.password=!1,o.inputBox.showDecoration(C.default.Ignore),o.visibleCount.setCount(0),o.count.setCount(0),L.reset(o.message),o.progressBar.stop(),o.list.setElements([]),o.list.matchOnDescription=!1,o.list.matchOnDetail=!1,o.list.matchOnLabel=!0,o.list.sortByLabel=!0,o.ignoreFocusOut=!1,o.inputBox.toggles=void 0;const l=this.options.backKeybindingLabel();a.backButton.tooltip=l?(0,s.localize)(5,null,l):(0,s.localize)(6,null),o.container.style.display="",this.updateLayout(),o.inputBox.setFocus()}setVisibilities(c){const o=this.getUI();o.title.style.display=c.title?"":"none",o.description1.style.display=c.description&&(c.inputBox||c.checkAll)?"":"none",o.description2.style.display=c.description&&!(c.inputBox||c.checkAll)?"":"none",o.checkAll.style.display=c.checkAll?"":"none",o.inputContainer.style.display=c.inputBox?"":"none",o.filterContainer.style.display=c.inputBox?"":"none",o.visibleCountContainer.style.display=c.visibleCount?"":"none",o.countContainer.style.display=c.count?"":"none",o.okContainer.style.display=c.ok?"":"none",o.customButtonContainer.style.display=c.customButton?"":"none",o.message.style.display=c.message?"":"none",o.progressBar.getContainer().style.display=c.progressBar?"":"none",o.list.display(!!c.list),o.container.classList.toggle("show-checkboxes",!!c.checkBox),o.container.classList.toggle("hidden-input",!c.inputBox&&!c.description),this.updateLayout()}setEnabled(c){if(c!==this.enabled){this.enabled=c;for(const o of this.getUI().leftActionBar.viewItems)o.action.enabled=c;for(const o of this.getUI().rightActionBar.viewItems)o.action.enabled=c;this.getUI().checkAll.disabled=!c,this.getUI().inputBox.enabled=c,this.getUI().ok.enabled=c,this.getUI().list.enabled=c}}hide(c){var o,d,l;const p=this.controller;if(!p)return;const m=!L.isAncestor(document.activeElement,(d=(o=this.ui)===null||o===void 0?void 0:o.container)!==null&&d!==void 0?d:null);if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!m){let v=this.previousFocusElement;for(;v&&!v.offsetParent;)v=(l=v.parentElement)!==null&&l!==void 0?l:void 0;v?.offsetParent?(v.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}p.didHide(c)}layout(c,o){this.dimension=c,this.titleBarOffset=o,this.updateLayout()}updateLayout(){if(this.ui&&this.isDisplayed()){this.ui.container.style.top=`${this.titleBarOffset}px`;const c=this.ui.container.style,o=Math.min(this.dimension.width*.62,h.MAX_WIDTH);c.width=o+"px",c.marginLeft="-"+o/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(c){this.styles=c,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:c,quickInputBackground:o,quickInputForeground:d,widgetBorder:l,widgetShadow:p}=this.styles.widget;this.ui.titleBar.style.backgroundColor=c??"",this.ui.container.style.backgroundColor=o??"",this.ui.container.style.color=d??"",this.ui.container.style.border=l?`1px solid ${l}`:"",this.ui.container.style.boxShadow=p?`0 0 8px 2px ${p}`:"",this.ui.list.style(this.styles.list);const m=[];this.styles.pickerGroup.pickerGroupBorder&&m.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(m.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&m.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&m.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&m.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&m.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&m.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),m.push("}"));const v=m.join(` -`);v!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=v)}}isDisplayed(){return this.ui&&this.ui.container.style.display!=="none"}}e.QuickInputController=h,h.MAX_WIDTH=600}),define(ne[23],se([1,0,6,2,8,37,88]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Themable=e.registerThemingParticipant=e.Extensions=e.getThemeTypeSelector=e.themeColorFromId=e.IThemeService=void 0,e.IThemeService=(0,y.createDecorator)("themeService");function f(n){return{id:n}}e.themeColorFromId=f;function _(n){switch(n){case S.ColorScheme.DARK:return"vs-dark";case S.ColorScheme.HIGH_CONTRAST_DARK:return"hc-black";case S.ColorScheme.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}e.getThemeTypeSelector=_,e.Extensions={ThemingContribution:"base.contributions.theming"};class g{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Emitter}onColorThemeChange(t){return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),(0,k.toDisposable)(()=>{const a=this.themingParticipants.indexOf(t);this.themingParticipants.splice(a,1)})}getThemingParticipants(){return this.themingParticipants}}const C=new g;D.Registry.add(e.Extensions.ThemingContribution,C);function s(n){return C.onColorThemeChange(n)}e.registerThemingParticipant=s;class i extends k.Disposable{constructor(t){super(),this.themeService=t,this.theme=t.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(a=>this.onThemeChange(a)))}onThemeChange(t){this.theme=t,this.updateStyles()}updateStyles(){}}e.Themable=i}),define(ne[841],se([1,0,6,2,64,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalStyleSheet=e.AbstractCodeEditorService=void 0;let S=class extends k.Disposable{constructor(g){super(),this._themeService=g,this._onWillCreateCodeEditor=this._register(new L.Emitter),this._onCodeEditorAdd=this._register(new L.Emitter),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new L.Emitter),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new L.Emitter),this._onDiffEditorAdd=this._register(new L.Emitter),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new L.Emitter),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new y.LinkedList,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(g){this._codeEditors[g.getId()]=g,this._onCodeEditorAdd.fire(g)}removeCodeEditor(g){delete this._codeEditors[g.getId()]&&this._onCodeEditorRemove.fire(g)}listCodeEditors(){return Object.keys(this._codeEditors).map(g=>this._codeEditors[g])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(g){this._diffEditors[g.getId()]=g,this._onDiffEditorAdd.fire(g)}removeDiffEditor(g){delete this._diffEditors[g.getId()]&&this._onDiffEditorRemove.fire(g)}listDiffEditors(){return Object.keys(this._diffEditors).map(g=>this._diffEditors[g])}getFocusedCodeEditor(){let g=null;const C=this.listCodeEditors();for(const s of C){if(s.hasTextFocus())return s;s.hasWidgetFocus()&&(g=s)}return g}removeDecorationType(g){const C=this._decorationOptionProviders.get(g);C&&(C.refCount--,C.refCount<=0&&(this._decorationOptionProviders.delete(g),C.dispose(),this.listCodeEditors().forEach(s=>s.removeDecorationsByType(g))))}setModelProperty(g,C,s){const i=g.toString();let n;this._modelProperties.has(i)?n=this._modelProperties.get(i):(n=new Map,this._modelProperties.set(i,n)),n.set(C,s)}getModelProperty(g,C){const s=g.toString();if(this._modelProperties.has(s))return this._modelProperties.get(s).get(C)}openCodeEditor(g,C,s){return we(this,void 0,void 0,function*(){for(const i of this._codeEditorOpenHandlers){const n=yield i(g,C,s);if(n!==null)return n}return null})}registerCodeEditorOpenHandler(g){const C=this._codeEditorOpenHandlers.unshift(g);return(0,k.toDisposable)(C)}};e.AbstractCodeEditorService=S,e.AbstractCodeEditorService=S=ke([fe(0,D.IThemeService)],S);class f{constructor(g){this._styleSheet=g}}e.GlobalStyleSheet=f}),define(ne[842],se([1,0,7,35,75,53,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScrollbar=void 0;class f extends D.ViewPart{constructor(g,C,s,i){super(g);const n=this._context.configuration.options,t=n.get(101),a=n.get(73),u=n.get(39),h=n.get(104),r={listenOnDomNode:s.domNode,className:"editor-scrollable "+(0,S.getThemeTypeSelector)(g.theme.type),useShadows:!1,lazyRender:!0,vertical:t.vertical,horizontal:t.horizontal,verticalHasArrows:t.verticalHasArrows,horizontalHasArrows:t.horizontalHasArrows,verticalScrollbarSize:t.verticalScrollbarSize,verticalSliderSize:t.verticalSliderSize,horizontalScrollbarSize:t.horizontalScrollbarSize,horizontalSliderSize:t.horizontalSliderSize,handleMouseWheel:t.handleMouseWheel,alwaysConsumeMouseWheel:t.alwaysConsumeMouseWheel,arrowSize:t.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:u,scrollPredominantAxis:h,scrollByPage:t.scrollByPage};this.scrollbar=this._register(new y.SmoothScrollableElement(C.domNode,r,this._context.viewLayout.getScrollable())),D.PartFingerprints.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,k.createFastDomNode)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const c=(o,d,l)=>{const p={};if(d){const m=o.scrollTop;m&&(p.scrollTop=this._context.viewLayout.getCurrentScrollTop()+m,o.scrollTop=0)}if(l){const m=o.scrollLeft;m&&(p.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+m,o.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(p,1)};this._register(L.addDisposableListener(s.domNode,"scroll",o=>c(s.domNode,!0,!0))),this._register(L.addDisposableListener(C.domNode,"scroll",o=>c(C.domNode,!0,!1))),this._register(L.addDisposableListener(i.domNode,"scroll",o=>c(i.domNode,!0,!1))),this._register(L.addDisposableListener(this.scrollbarDomNode.domNode,"scroll",o=>c(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const g=this._context.configuration.options,C=g.get(142);this.scrollbarDomNode.setLeft(C.contentLeft),g.get(71).side==="right"?this.scrollbarDomNode.setWidth(C.contentWidth+C.minimap.minimapWidth):this.scrollbarDomNode.setWidth(C.contentWidth),this.scrollbarDomNode.setHeight(C.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(g){this.scrollbar.delegateVerticalScrollbarPointerDown(g)}delegateScrollFromMouseWheelEvent(g){this.scrollbar.delegateScrollFromMouseWheelEvent(g)}onConfigurationChanged(g){if(g.hasChanged(101)||g.hasChanged(73)||g.hasChanged(39)){const C=this._context.configuration.options,s=C.get(101),i=C.get(73),n=C.get(39),t=C.get(104),a={vertical:s.vertical,horizontal:s.horizontal,verticalScrollbarSize:s.verticalScrollbarSize,horizontalScrollbarSize:s.horizontalScrollbarSize,scrollByPage:s.scrollByPage,handleMouseWheel:s.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:t};this.scrollbar.updateOptions(a)}return g.hasChanged(142)&&this._setLayout(),!0}onScrollChanged(g){return!0}onThemeChanged(g){return this.scrollbar.updateClassName("editor-scrollable "+(0,S.getThemeTypeSelector)(this._context.theme.type)),!0}prepareRender(g){}render(g){this.scrollbar.renderNow()}}e.EditorScrollbar=f}),define(ne[843],se([1,0,112,31,23,429]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionsOverlay=void 0;class D{constructor(i){this.left=i.left,this.width=i.width,this.startStyle=null,this.endStyle=null}}class S{constructor(i,n){this.lineNumber=i,this.ranges=n}}function f(s){return new D(s)}function _(s){return new S(s.lineNumber,s.ranges.map(f))}class g extends L.DynamicViewOverlay{constructor(i){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=i;const n=this._context.configuration.options;this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){const n=this._context.configuration.options;return this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_visibleRangesHaveGaps(i){for(let n=0,t=i.length;n1)return!0;return!1}_enrichVisibleRangesWithStyle(i,n,t){const a=this._typicalHalfwidthCharacterWidth/4;let u=null,h=null;if(t&&t.length>0&&n.length>0){const r=n[0].lineNumber;if(r===i.startLineNumber)for(let o=0;!u&&o=0;o--)t[o].lineNumber===c&&(h=t[o].ranges[0]);u&&!u.startStyle&&(u=null),h&&!h.startStyle&&(h=null)}for(let r=0,c=n.length;r0){const v=n[r-1].ranges[0].left,b=n[r-1].ranges[0].left+n[r-1].ranges[0].width;C(d-v)v&&(p.top=1),C(l-b)'}_actualRenderOneSelection(i,n,t,a){if(a.length===0)return;const u=!!a[0].ranges[0].startStyle,h=this._lineHeight.toString(),r=(this._lineHeight-1).toString(),c=a[0].lineNumber,o=a[a.length-1].lineNumber;for(let d=0,l=a.length;d1,o)}this._previousFrameVisibleRangesWithStyle=u,this._renderResult=n.map(([h,r])=>h+r)}render(i,n){if(!this._renderResult)return"";const t=n-i;return t<0||t>=this._renderResult.length?"":this._renderResult[t]}}e.SelectionsOverlay=g,g.SELECTION_CLASS_NAME="selected-text",g.SELECTION_TOP_LEFT="top-left-radius",g.SELECTION_BOTTOM_LEFT="bottom-left-radius",g.SELECTION_TOP_RIGHT="top-right-radius",g.SELECTION_BOTTOM_RIGHT="bottom-right-radius",g.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",g.ROUNDED_PIECE_WIDTH=10,(0,y.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorSelectionForeground);n&&!n.isTransparent()&&i.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)});function C(s){return s<0?-s:s}}),define(ne[357],se([1,0,7,35,195,2,42,102,12,212,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerPart=void 0;let n=i=class extends D.Disposable{constructor(a,u,h,r,c,o,d,l){super(),this._editors=a,this._rootElement=u,this._diffModel=h,this._rootWidth=r,this._rootHeight=c,this._modifiedEditorLayoutInfo=o,this._options=d,this._themeService=l;const p=(0,S.observableFromEvent)(this._themeService.onDidColorThemeChange,()=>this._themeService.getColorTheme()),m=(0,S.derived)(w=>{const E=p.read(w),I=E.getColor(C.diffOverviewRulerInserted)||(E.getColor(C.diffInserted)||C.defaultInsertColor).transparent(2),M=E.getColor(C.diffOverviewRulerRemoved)||(E.getColor(C.diffRemoved)||C.defaultRemoveColor).transparent(2);return{insertColor:I,removeColor:M}}),v=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),b=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollHeight());this._register((0,S.autorunWithStore)((w,E)=>{if(!this._options.renderOverviewRuler.read(w))return;const I=(0,k.createFastDomNode)(document.createElement("div"));I.setClassName("diffViewport"),I.setPosition("absolute");const M=(0,L.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;E.add((0,f.appendRemoveOnDispose)(M,I.domNode)),E.add((0,L.addStandardDisposableListener)(M,L.EventType.POINTER_DOWN,P=>{this._editors.modified.delegateVerticalScrollbarPointerDown(P)})),E.add((0,L.addDisposableListener)(M,L.EventType.MOUSE_WHEEL,P=>{this._editors.modified.delegateScrollFromMouseWheelEvent(P)},{passive:!1})),E.add((0,f.appendRemoveOnDispose)(this._rootElement,M)),E.add((0,S.autorunWithStore)((P,x)=>{const T=this._diffModel.read(P),A=this._editors.original.createOverviewRuler("original diffOverviewRuler");A&&(x.add(A),x.add((0,f.appendRemoveOnDispose)(M,A.getDomNode())));const N=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(N&&(x.add(N),x.add((0,f.appendRemoveOnDispose)(M,N.getDomNode()))),!A||!N)return;const F=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.original.onDidChangeViewZones),O=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),W=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),U=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);x.add((0,S.autorun)(j=>{var R;F.read(j),O.read(j),W.read(j),U.read(j);const K=m.read(j),G=(R=T?.diff.read(j))===null||R===void 0?void 0:R.mappings;function Z(H,B,V){const Y=V._getViewModel();return Y?H.filter(ie=>ie.length>0).map(ie=>{const ae=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.startLineNumber,1)),ce=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.endLineNumberExclusive,1)),de=ce.lineNumber-ae.lineNumber;return new g.OverviewRulerZone(ae.lineNumber,ce.lineNumber,de,B.toString())}):[]}const J=Z((G||[]).map(H=>H.lineRangeMapping.originalRange),K.removeColor,this._editors.original),X=Z((G||[]).map(H=>H.lineRangeMapping.modifiedRange),K.insertColor,this._editors.modified);A?.setZones(J),N?.setZones(X)})),x.add((0,S.autorun)(j=>{const R=this._rootHeight.read(j),K=this._rootWidth.read(j),G=this._modifiedEditorLayoutInfo.read(j);if(G){const Z=i.ENTIRE_DIFF_OVERVIEW_WIDTH-2*i.ONE_OVERVIEW_WIDTH;A.setLayout({top:0,height:R,right:Z+i.ONE_OVERVIEW_WIDTH,width:i.ONE_OVERVIEW_WIDTH}),N.setLayout({top:0,height:R,right:0,width:i.ONE_OVERVIEW_WIDTH});const J=v.read(j),X=b.read(j),H=this._editors.modified.getOption(101),B=new y.ScrollbarState(H.verticalHasArrows?H.arrowSize:0,H.verticalScrollbarSize,0,G.height,X,J);I.setTop(B.getSliderPosition()),I.setHeight(B.getSliderSize())}else I.setTop(0),I.setHeight(0);M.style.height=R+"px",M.style.left=K-i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",I.setWidth(i.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}))}};e.OverviewRulerPart=n,n.ONE_OVERVIEW_WIDTH=15,n.ENTIRE_DIFF_OVERVIEW_WIDTH=i.ONE_OVERVIEW_WIDTH*2,e.OverviewRulerPart=n=i=ke([fe(7,s.IThemeService)],n)}),define(ne[844],se([1,0,6,2,42,357,36,610,8,34]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorEditors=void 0;let C=class extends k.Disposable{constructor(i,n,t,a,u,h,r){super(),this.originalEditorElement=i,this.modifiedEditorElement=n,this._options=t,this._createInnerEditor=u,this._instantiationService=h,this._keybindingService=r,this._onDidContentSizeChange=this._register(new L.Emitter),this.original=this._register(this._createLeftHandSideEditor(t.editorOptions.get(),a.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(t.editorOptions.get(),a.modifiedEditor||{})),this._register((0,y.autorunHandleChanges)({createEmptyChangeSummary:()=>({}),handleChange:(c,o)=>(c.didChange(t.editorOptions)&&Object.assign(o,c.change.changedOptions),!0)},(c,o)=>{t.editorOptions.read(c),this._options.renderSideBySide.read(c),this.modified.updateOptions(this._adjustOptionsForRightHandSide(c,o)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(c,o))}))}_createLeftHandSideEditor(i,n){const t=this._adjustOptionsForLeftHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,t,n);return a.setContextValue("isInDiffLeftEditor",!0),a}_createRightHandSideEditor(i,n){const t=this._adjustOptionsForRightHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,t,n);return a.setContextValue("isInDiffRightEditor",!0),a}_constructInnerEditor(i,n,t,a){const u=this._createInnerEditor(i,n,t,a);return this._register(u.onDidContentSizeChange(h=>{const r=this.original.getContentWidth()+this.modified.getContentWidth()+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,c=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:c,contentWidth:r,contentHeightChanged:h.contentHeightChanged,contentWidthChanged:h.contentWidthChanged})})),u}_adjustOptionsForLeftHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return this._options.renderSideBySide.get()?(t.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},t.wordWrapOverride1=this._options.diffWordWrap.get()):(t.wordWrapOverride1="off",t.wordWrapOverride2="off",t.stickyScroll={enabled:!1},t.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),n.originalAriaLabel&&(t.ariaLabel=n.originalAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.readOnly=!this._options.originalEditable.get(),t.dropIntoEditor={enabled:!t.readOnly},t.extraEditorClassName="original-in-monaco-diff-editor",t}_adjustOptionsForRightHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return n.modifiedAriaLabel&&(t.ariaLabel=n.modifiedAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.wordWrapOverride1=this._options.diffWordWrap.get(),t.revealHorizontalRightPadding=S.EditorOptions.revealHorizontalRightPadding.defaultValue+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t}_adjustOptionsForSubEditor(i){const n=Object.assign(Object.assign({},i),{dimension:{height:0,width:0}});return n.inDiffEditor=!0,n.automaticLayout=!1,n.scrollbar=Object.assign({},n.scrollbar||{}),n.scrollbar.vertical="visible",n.folding=!1,n.codeLens=this._options.diffCodeLens.get(),n.fixedOverflowWidgets=!0,n.minimap=Object.assign({},n.minimap||{}),n.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?n.stickyScroll={enabled:!1}:n.stickyScroll=this._options.editorOptions.get().stickyScroll,n}_updateAriaLabel(i){var n;i||(i="");const t=(0,f.localize)(0,null,(n=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))===null||n===void 0?void 0:n.getAriaLabel());return this._options.accessibilityVerbose.get()?i+t:i?i.replaceAll(t,""):""}};e.DiffEditorEditors=C,e.DiffEditorEditors=C=ke([fe(5,_.IInstantiationService),fe(6,g.IKeybindingService)],C)}),define(ne[80],se([1,0,622,38,31,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.editorUnicodeHighlightBackground=e.editorUnicodeHighlightBorder=e.editorBracketPairGuideActiveBackground6=e.editorBracketPairGuideActiveBackground5=e.editorBracketPairGuideActiveBackground4=e.editorBracketPairGuideActiveBackground3=e.editorBracketPairGuideActiveBackground2=e.editorBracketPairGuideActiveBackground1=e.editorBracketPairGuideBackground6=e.editorBracketPairGuideBackground5=e.editorBracketPairGuideBackground4=e.editorBracketPairGuideBackground3=e.editorBracketPairGuideBackground2=e.editorBracketPairGuideBackground1=e.editorBracketHighlightingUnexpectedBracketForeground=e.editorBracketHighlightingForeground6=e.editorBracketHighlightingForeground5=e.editorBracketHighlightingForeground4=e.editorBracketHighlightingForeground3=e.editorBracketHighlightingForeground2=e.editorBracketHighlightingForeground1=e.overviewRulerInfo=e.overviewRulerWarning=e.overviewRulerError=e.overviewRulerRangeHighlight=e.ghostTextBackground=e.ghostTextForeground=e.ghostTextBorder=e.editorUnnecessaryCodeOpacity=e.editorUnnecessaryCodeBorder=e.editorGutter=e.editorOverviewRulerBackground=e.editorOverviewRulerBorder=e.editorBracketMatchBorder=e.editorBracketMatchBackground=e.editorCodeLensForeground=e.editorRuler=e.editorDimmedLineNumber=e.editorActiveLineNumber=e.editorActiveIndentGuide6=e.editorActiveIndentGuide5=e.editorActiveIndentGuide4=e.editorActiveIndentGuide3=e.editorActiveIndentGuide2=e.editorActiveIndentGuide1=e.editorIndentGuide6=e.editorIndentGuide5=e.editorIndentGuide4=e.editorIndentGuide3=e.editorIndentGuide2=e.editorIndentGuide1=e.deprecatedEditorActiveIndentGuides=e.deprecatedEditorIndentGuides=e.editorLineNumbers=e.editorWhitespaces=e.editorCursorBackground=e.editorCursorForeground=e.editorSymbolHighlightBorder=e.editorSymbolHighlight=e.editorRangeHighlightBorder=e.editorRangeHighlight=e.editorLineHighlightBorder=e.editorLineHighlight=void 0,e.editorLineHighlight=(0,y.registerColor)("editor.lineHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(0,null)),e.editorLineHighlightBorder=(0,y.registerColor)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hcDark:"#f38518",hcLight:y.contrastBorder},L.localize(1,null)),e.editorRangeHighlight=(0,y.registerColor)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hcDark:null,hcLight:null},L.localize(2,null),!0),e.editorRangeHighlightBorder=(0,y.registerColor)("editor.rangeHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(3,null),!0),e.editorSymbolHighlight=(0,y.registerColor)("editor.symbolHighlightBackground",{dark:y.editorFindMatchHighlight,light:y.editorFindMatchHighlight,hcDark:null,hcLight:null},L.localize(4,null),!0),e.editorSymbolHighlightBorder=(0,y.registerColor)("editor.symbolHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(5,null),!0),e.editorCursorForeground=(0,y.registerColor)("editorCursor.foreground",{dark:"#AEAFAD",light:k.Color.black,hcDark:k.Color.white,hcLight:"#0F4A85"},L.localize(6,null)),e.editorCursorBackground=(0,y.registerColor)("editorCursor.background",null,L.localize(7,null)),e.editorWhitespaces=(0,y.registerColor)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hcDark:"#e3e4e229",hcLight:"#CCCCCC"},L.localize(8,null)),e.editorLineNumbers=(0,y.registerColor)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hcDark:k.Color.white,hcLight:"#292929"},L.localize(9,null)),e.deprecatedEditorIndentGuides=(0,y.registerColor)("editorIndentGuide.background",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(10,null),!1,L.localize(11,null)),e.deprecatedEditorActiveIndentGuides=(0,y.registerColor)("editorIndentGuide.activeBackground",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(12,null),!1,L.localize(13,null)),e.editorIndentGuide1=(0,y.registerColor)("editorIndentGuide.background1",{dark:e.deprecatedEditorIndentGuides,light:e.deprecatedEditorIndentGuides,hcDark:e.deprecatedEditorIndentGuides,hcLight:e.deprecatedEditorIndentGuides},L.localize(14,null)),e.editorIndentGuide2=(0,y.registerColor)("editorIndentGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(15,null)),e.editorIndentGuide3=(0,y.registerColor)("editorIndentGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(16,null)),e.editorIndentGuide4=(0,y.registerColor)("editorIndentGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(17,null)),e.editorIndentGuide5=(0,y.registerColor)("editorIndentGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(18,null)),e.editorIndentGuide6=(0,y.registerColor)("editorIndentGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(19,null)),e.editorActiveIndentGuide1=(0,y.registerColor)("editorIndentGuide.activeBackground1",{dark:e.deprecatedEditorActiveIndentGuides,light:e.deprecatedEditorActiveIndentGuides,hcDark:e.deprecatedEditorActiveIndentGuides,hcLight:e.deprecatedEditorActiveIndentGuides},L.localize(20,null)),e.editorActiveIndentGuide2=(0,y.registerColor)("editorIndentGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(21,null)),e.editorActiveIndentGuide3=(0,y.registerColor)("editorIndentGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(22,null)),e.editorActiveIndentGuide4=(0,y.registerColor)("editorIndentGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(23,null)),e.editorActiveIndentGuide5=(0,y.registerColor)("editorIndentGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(24,null)),e.editorActiveIndentGuide6=(0,y.registerColor)("editorIndentGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(25,null));const S=(0,y.registerColor)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(26,null),!1,L.localize(27,null));e.editorActiveLineNumber=(0,y.registerColor)("editorLineNumber.activeForeground",{dark:S,light:S,hcDark:S,hcLight:S},L.localize(28,null)),e.editorDimmedLineNumber=(0,y.registerColor)("editorLineNumber.dimmedForeground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(29,null)),e.editorRuler=(0,y.registerColor)("editorRuler.foreground",{dark:"#5A5A5A",light:k.Color.lightgrey,hcDark:k.Color.white,hcLight:"#292929"},L.localize(30,null)),e.editorCodeLensForeground=(0,y.registerColor)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hcDark:"#999999",hcLight:"#292929"},L.localize(31,null)),e.editorBracketMatchBackground=(0,y.registerColor)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hcDark:"#0064001a",hcLight:"#0000"},L.localize(32,null)),e.editorBracketMatchBorder=(0,y.registerColor)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hcDark:y.contrastBorder,hcLight:y.contrastBorder},L.localize(33,null)),e.editorOverviewRulerBorder=(0,y.registerColor)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hcDark:"#7f7f7f4d",hcLight:"#666666"},L.localize(34,null)),e.editorOverviewRulerBackground=(0,y.registerColor)("editorOverviewRuler.background",null,L.localize(35,null)),e.editorGutter=(0,y.registerColor)("editorGutter.background",{dark:y.editorBackground,light:y.editorBackground,hcDark:y.editorBackground,hcLight:y.editorBackground},L.localize(36,null)),e.editorUnnecessaryCodeBorder=(0,y.registerColor)("editorUnnecessaryCode.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:y.contrastBorder},L.localize(37,null)),e.editorUnnecessaryCodeOpacity=(0,y.registerColor)("editorUnnecessaryCode.opacity",{dark:k.Color.fromHex("#000a"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(38,null)),e.ghostTextBorder=(0,y.registerColor)("editorGhostText.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:k.Color.fromHex("#292929").transparent(.8)},L.localize(39,null)),e.ghostTextForeground=(0,y.registerColor)("editorGhostText.foreground",{dark:k.Color.fromHex("#ffffff56"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(40,null)),e.ghostTextBackground=(0,y.registerColor)("editorGhostText.background",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(41,null));const f=new k.Color(new k.RGBA(0,122,204,.6));e.overviewRulerRangeHighlight=(0,y.registerColor)("editorOverviewRuler.rangeHighlightForeground",{dark:f,light:f,hcDark:f,hcLight:f},L.localize(42,null),!0),e.overviewRulerError=(0,y.registerColor)("editorOverviewRuler.errorForeground",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},L.localize(43,null)),e.overviewRulerWarning=(0,y.registerColor)("editorOverviewRuler.warningForeground",{dark:y.editorWarningForeground,light:y.editorWarningForeground,hcDark:y.editorWarningBorder,hcLight:y.editorWarningBorder},L.localize(44,null)),e.overviewRulerInfo=(0,y.registerColor)("editorOverviewRuler.infoForeground",{dark:y.editorInfoForeground,light:y.editorInfoForeground,hcDark:y.editorInfoBorder,hcLight:y.editorInfoBorder},L.localize(45,null)),e.editorBracketHighlightingForeground1=(0,y.registerColor)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hcDark:"#FFD700",hcLight:"#0431FAFF"},L.localize(46,null)),e.editorBracketHighlightingForeground2=(0,y.registerColor)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hcDark:"#DA70D6",hcLight:"#319331FF"},L.localize(47,null)),e.editorBracketHighlightingForeground3=(0,y.registerColor)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hcDark:"#87CEFA",hcLight:"#7B3814FF"},L.localize(48,null)),e.editorBracketHighlightingForeground4=(0,y.registerColor)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(49,null)),e.editorBracketHighlightingForeground5=(0,y.registerColor)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(50,null)),e.editorBracketHighlightingForeground6=(0,y.registerColor)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(51,null)),e.editorBracketHighlightingUnexpectedBracketForeground=(0,y.registerColor)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new k.Color(new k.RGBA(255,18,18,.8)),light:new k.Color(new k.RGBA(255,18,18,.8)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:""},L.localize(52,null)),e.editorBracketPairGuideBackground1=(0,y.registerColor)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(53,null)),e.editorBracketPairGuideBackground2=(0,y.registerColor)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(54,null)),e.editorBracketPairGuideBackground3=(0,y.registerColor)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(55,null)),e.editorBracketPairGuideBackground4=(0,y.registerColor)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(56,null)),e.editorBracketPairGuideBackground5=(0,y.registerColor)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(57,null)),e.editorBracketPairGuideBackground6=(0,y.registerColor)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(58,null)),e.editorBracketPairGuideActiveBackground1=(0,y.registerColor)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(59,null)),e.editorBracketPairGuideActiveBackground2=(0,y.registerColor)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(60,null)),e.editorBracketPairGuideActiveBackground3=(0,y.registerColor)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(61,null)),e.editorBracketPairGuideActiveBackground4=(0,y.registerColor)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(62,null)),e.editorBracketPairGuideActiveBackground5=(0,y.registerColor)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(63,null)),e.editorBracketPairGuideActiveBackground6=(0,y.registerColor)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(64,null)),e.editorUnicodeHighlightBorder=(0,y.registerColor)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hcDark:"#ff0000",hcLight:"#CEA33D"},L.localize(65,null)),e.editorUnicodeHighlightBackground=(0,y.registerColor)("editorUnicodeHighlight.background",{dark:"#bd9b0326",light:"#cea33d14",hcDark:"#00000000",hcLight:"#cea33d14"},L.localize(66,null)),(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(y.editorBackground),s=_.getColor(e.editorLineHighlight),i=s&&!s.isTransparent()?s:C;i&&g.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${i}; }`)})}),define(ne[845],se([1,0,112,80,14,23,24,88,416]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrentLineMarginHighlightOverlay=e.CurrentLineHighlightOverlay=e.AbstractLineHighlightOverlay=void 0;class _ extends L.DynamicViewOverlay{constructor(i){super(),this._context=i;const n=this._context.configuration.options,t=n.get(142);this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new S.Selection(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let i=!1;const n=this._selections.map(a=>a.positionLineNumber);n.sort((a,u)=>a-u),y.equals(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,i=!0);const t=this._selections.every(a=>a.isEmpty());return this._selectionIsEmpty!==t&&(this._selectionIsEmpty=t,i=!0),i}onThemeChanged(i){return this._readFromSelections()}onConfigurationChanged(i){const n=this._context.configuration.options,t=n.get(142);return this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,!0}onCursorStateChanged(i){return this._selections=i.selections,this._readFromSelections()}onFlushed(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollWidthChanged||i.scrollTopChanged}onZonesChanged(i){return!0}onFocusChanged(i){return this._renderLineHighlightOnlyWhenFocus?(this._focused=i.isFocused,!0):!1}prepareRender(i){if(!this._shouldRenderThis()){this._renderData=null;return}const n=this._renderOne(i),t=i.visibleRange.startLineNumber,a=i.visibleRange.endLineNumber,u=this._cursorLineNumbers.length;let h=0;const r=[];for(let c=t;c<=a;c++){const o=c-t;for(;h=this._renderData.length?"":this._renderData[t]}_shouldRenderInMargin(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}e.AbstractLineHighlightOverlay=_;class g extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}e.CurrentLineHighlightOverlay=g;class C extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}e.CurrentLineMarginHighlightOverlay=C,(0,D.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorLineHighlight);if(n&&(i.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||s.defines(k.editorLineHighlightBorder)){const t=s.getColor(k.editorLineHighlightBorder);t&&(i.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${t}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${t}; }`),(0,f.isHighContrast)(s.type)&&(i.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),i.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}})}),define(ne[846],se([1,0,112,80,23,12,14,20,287,209,419]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentGuidesOverlay=void 0;class C extends L.DynamicViewOverlay{constructor(n){super(),this._context=n,this._primaryPosition=null;const t=this._context.configuration.options,a=t.get(143),u=t.get(49);this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(143),u=t.get(49);return this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),!0}onCursorStateChanged(n){var t;const u=n.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(u)?!1:(this._primaryPosition=u,!0)}onDecorationsChanged(n){return!0}onFlushed(n){return!0}onLinesChanged(n){return!0}onLinesDeleted(n){return!0}onLinesInserted(n){return!0}onScrollChanged(n){return n.scrollTopChanged}onZonesChanged(n){return!0}onLanguageConfigurationChanged(n){return!0}prepareRender(n){var t,a,u,h;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const r=n.visibleRange.startLineNumber,c=n.visibleRange.endLineNumber,o=n.scrollWidth,d=this._lineHeight,l=this._primaryPosition,p=this.getGuidesByLine(r,Math.min(c+1,this._context.viewModel.getLineCount()),l),m=[];for(let v=r;v<=c;v++){const b=v-r,w=p[b];let E="";const I=(a=(t=n.visibleRangeForPosition(new D.Position(v,1)))===null||t===void 0?void 0:t.left)!==null&&a!==void 0?a:0;for(const M of w){const P=M.column===-1?I+(M.visibleColumn-1)*this._spaceWidth:n.visibleRangeForPosition(new D.Position(v,M.column)).left;if(P>o||this._maxIndentLeft>0&&P>this._maxIndentLeft)break;const x=M.horizontalLine?M.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",T=M.horizontalLine?((h=(u=n.visibleRangeForPosition(new D.Position(v,M.horizontalLine.endColumn)))===null||u===void 0?void 0:u.left)!==null&&h!==void 0?h:P+this._spaceWidth)-P:this._spaceWidth;E+=`
    `}m[b]=E}this._renderResult=m}getGuidesByLine(n,t,a){const u=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(n,t,a,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?g.HorizontalGuidesState.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal==="active"?g.HorizontalGuidesState.EnabledForActive:g.HorizontalGuidesState.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,h=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(n,t):null;let r=0,c=0,o=0;if(this._bracketPairGuideOptions.highlightActiveIndentation!==!1&&a){const p=this._context.viewModel.getActiveIndentGuide(a.lineNumber,n,t);r=p.startLineNumber,c=p.endLineNumber,o=p.indent}const{indentSize:d}=this._context.viewModel.model.getOptions(),l=[];for(let p=n;p<=t;p++){const m=new Array;l.push(m);const v=u?u[p-n]:[],b=new S.ArrayQueue(v),w=h?h[p-n]:0;for(let E=1;E<=w;E++){const I=(E-1)*d+1,M=(this._bracketPairGuideOptions.highlightActiveIndentation==="always"||v.length===0)&&r<=p&&p<=c&&E===o;m.push(...b.takeWhile(x=>x.visibleColumn!0)||[])}return l}render(n,t){if(!this._renderResult)return"";const a=t-n;return a<0||a>=this._renderResult.length?"":this._renderResult[a]}}e.IndentGuidesOverlay=C;function s(i){if(!(i&&i.isTransparent()))return i}(0,y.registerThemingParticipant)((i,n)=>{const t=[{bracketColor:k.editorBracketHighlightingForeground1,guideColor:k.editorBracketPairGuideBackground1,guideColorActive:k.editorBracketPairGuideActiveBackground1},{bracketColor:k.editorBracketHighlightingForeground2,guideColor:k.editorBracketPairGuideBackground2,guideColorActive:k.editorBracketPairGuideActiveBackground2},{bracketColor:k.editorBracketHighlightingForeground3,guideColor:k.editorBracketPairGuideBackground3,guideColorActive:k.editorBracketPairGuideActiveBackground3},{bracketColor:k.editorBracketHighlightingForeground4,guideColor:k.editorBracketPairGuideBackground4,guideColorActive:k.editorBracketPairGuideActiveBackground4},{bracketColor:k.editorBracketHighlightingForeground5,guideColor:k.editorBracketPairGuideBackground5,guideColorActive:k.editorBracketPairGuideActiveBackground5},{bracketColor:k.editorBracketHighlightingForeground6,guideColor:k.editorBracketPairGuideBackground6,guideColorActive:k.editorBracketPairGuideActiveBackground6}],a=new _.BracketPairGuidesClassNames,u=[{indentColor:k.editorIndentGuide1,indentColorActive:k.editorActiveIndentGuide1},{indentColor:k.editorIndentGuide2,indentColorActive:k.editorActiveIndentGuide2},{indentColor:k.editorIndentGuide3,indentColorActive:k.editorActiveIndentGuide3},{indentColor:k.editorIndentGuide4,indentColorActive:k.editorActiveIndentGuide4},{indentColor:k.editorIndentGuide5,indentColorActive:k.editorActiveIndentGuide5},{indentColor:k.editorIndentGuide6,indentColorActive:k.editorActiveIndentGuide6}],h=t.map(c=>{var o,d;const l=i.getColor(c.bracketColor),p=i.getColor(c.guideColor),m=i.getColor(c.guideColorActive),v=s((o=s(p))!==null&&o!==void 0?o:l?.transparent(.3)),b=s((d=s(m))!==null&&d!==void 0?d:l);if(!(!v||!b))return{guideColor:v,guideColorActive:b}}).filter(f.isDefined),r=u.map(c=>{const o=i.getColor(c.indentColor),d=i.getColor(c.indentColorActive),l=s(o),p=s(d);if(!(!l||!p))return{indentColor:l,indentColorActive:p}}).filter(f.isDefined);if(h.length>0){for(let c=0;c<30;c++){const o=h[c%h.length];n.addRule(`.monaco-editor .${a.getInlineClassNameOfLevel(c).replace(/ /g,".")} { --guide-color: ${o.guideColor}; --guide-color-active: ${o.guideColorActive}; }`)}n.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),n.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),n.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),n.addRule(`.monaco-editor .vertical.${a.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),n.addRule(`.monaco-editor .horizontal-top.${a.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),n.addRule(`.monaco-editor .horizontal-bottom.${a.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let c=0;c<30;c++){const o=r[c%r.length];n.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${c} { --indent-color: ${o.indentColor}; --indent-color-active: ${o.indentColorActive}; }`)}n.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),n.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}})}),define(ne[358],se([1,0,17,112,12,23,80,420]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineNumbersOverlay=void 0;class f extends k.DynamicViewOverlay{constructor(g){super(),this._context=g,this._readConfig(),this._lastCursorModelPosition=new y.Position(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const g=this._context.configuration.options;this._lineHeight=g.get(65);const C=g.get(66);this._renderLineNumbers=C.renderType,this._renderCustomLineNumbers=C.renderFn,this._renderFinalNewline=g.get(93);const s=g.get(142);this._lineNumbersLeft=s.lineNumbersLeft,this._lineNumbersWidth=s.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(g){return this._readConfig(),!0}onCursorStateChanged(g){const C=g.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(C);let s=!1;return this._activeLineNumber!==C.lineNumber&&(this._activeLineNumber=C.lineNumber,s=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(s=!0),s}onFlushed(g){return!0}onLinesChanged(g){return!0}onLinesDeleted(g){return!0}onLinesInserted(g){return!0}onScrollChanged(g){return g.scrollTopChanged}onZonesChanged(g){return!0}_getLineRenderLineNumber(g){const C=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new y.Position(g,1));if(C.column!==1)return"";const s=C.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(s);if(this._renderLineNumbers===2){const i=Math.abs(this._lastCursorModelPosition.lineNumber-s);return i===0?''+s+"":String(i)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===s||s%10===0?String(s):"":String(s)}prepareRender(g){if(this._renderLineNumbers===0){this._renderResult=null;return}const C=L.isLinux?this._lineHeight%2===0?" lh-even":" lh-odd":"",s=g.visibleRange.startLineNumber,i=g.visibleRange.endLineNumber,n=this._context.viewModel.getLineCount(),t=[];for(let a=s;a<=i;a++){const u=a-s,h=this._getLineRenderLineNumber(a);if(!h){t[u]="";continue}let r="";if(a===n&&this._context.viewModel.getLineLength(a)===0){if(this._renderFinalNewline==="off"){t[u]="";continue}this._renderFinalNewline==="dimmed"&&(r=" dimmed-line-number")}a===this._activeLineNumber&&(r=" active-line-number"),t[u]=`
    ${h}
    `}this._renderResult=t}render(g,C){if(!this._renderResult)return"";const s=C-g;return s<0||s>=this._renderResult.length?"":this._renderResult[s]}}e.LineNumbersOverlay=f,f.CLASS_NAME="line-numbers",(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(S.editorLineNumbers),s=_.getColor(S.editorDimmedLineNumber);s?g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${s}; }`):C&&g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${C.transparent(.4)}; }`)})}),define(ne[847],se([1,0,601,52,35,17,11,59,185,273,53,358,289,36,146,12,5,24,173,29,38,263,34,414]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaHandler=void 0;class p{constructor(E,I,M,P,x){this._context=E,this.modelLineNumber=I,this.distanceToModelLineStart=M,this.widthOfHiddenLineTextBefore=P,this.distanceToModelLineEnd=x,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(E){const I=new a.Position(this.modelLineNumber,this.distanceToModelLineStart+1),M=new a.Position(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(I),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(M),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=E.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=E.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(E){return this._previousPresentation||(E?this._previousPresentation=E:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const m=k.isFirefox;let v=class extends C.ViewPart{constructor(E,I,M,P){super(E),this._keybindingService=P,this._primaryCursorPosition=new a.Position(1,1),this._primaryCursorVisibleRange=null,this._viewController=I,this._visibleRangeProvider=M,this._scrollLeft=0,this._scrollTop=0;const x=this._context.configuration.options,T=x.get(142);this._setAccessibilityOptions(x),this._contentLeft=T.contentLeft,this._contentWidth=T.contentWidth,this._contentHeight=T.height,this._fontInfo=x.get(49),this._lineHeight=x.get(65),this._emptySelectionClipboard=x.get(36),this._copyWithSyntaxHighlighting=x.get(24),this._visibleTextArea=null,this._selections=[new h.Selection(1,1,1,1)],this._modelSelections=[new h.Selection(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,y.createFastDomNode)(document.createElement("textarea")),C.PartFingerprints.write(this.textArea,6),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:A}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${A*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(x)),this.textArea.setAttribute("aria-required",x.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(x.get(122))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",L.localize(0,null)),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",x.get(89)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,y.createFastDomNode)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const N={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:W=>this._context.viewModel.getLineMaxColumn(W),getValueInRange:(W,U)=>this._context.viewModel.getValueInRange(W,U),getValueLengthInRange:(W,U)=>this._context.viewModel.getValueLengthInRange(W,U),modifyPosition:(W,U)=>this._context.viewModel.modifyPosition(W,U)},F={getDataToCopy:()=>{const W=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,D.isWindows),U=this._context.viewModel.model.getEOL(),j=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),R=Array.isArray(W)?W:null,K=Array.isArray(W)?W.join(U):W;let G,Z=null;if(_.CopyOptions.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&K.length<65536){const J=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);J&&(G=J.html,Z=J.mode)}return{isFromEmptySelection:j,multicursorText:R,text:K,html:G,mode:Z}},getScreenReaderContent:()=>{if(this._accessibilitySupport===1){const W=this._selections[0];if(D.isMacintosh&&W.isEmpty()){const j=W.getStartPosition();let R=this._getWordBeforePosition(j);if(R.length===0&&(R=this._getCharacterBeforePosition(j)),R.length>0)return new g.TextAreaState(R,R.length,R.length,u.Range.fromPositions(j),0)}const U=500;if(D.isMacintosh&&!W.isEmpty()&&N.getValueLengthInRange(W,0)0)return new g.TextAreaState(j,R,R,u.Range.fromPositions(U),0)}return g.TextAreaState.EMPTY}return g.PagedScreenReaderStrategy.fromEditorSelection(N,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(W,U,j)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(W,U,j)},O=this._register(new _.TextAreaWrapper(this.textArea.domNode));this._textAreaInput=this._register(new _.TextAreaInput(F,O,D.OS,{isAndroid:k.isAndroid,isChrome:k.isChrome,isFirefox:k.isFirefox,isSafari:k.isSafari})),this._register(this._textAreaInput.onKeyDown(W=>{this._viewController.emitKeyDown(W)})),this._register(this._textAreaInput.onKeyUp(W=>{this._viewController.emitKeyUp(W)})),this._register(this._textAreaInput.onPaste(W=>{let U=!1,j=null,R=null;W.metadata&&(U=this._emptySelectionClipboard&&!!W.metadata.isFromEmptySelection,j=typeof W.metadata.multicursorText<"u"?W.metadata.multicursorText:null,R=W.metadata.mode),this._viewController.paste(W.text,U,j,R)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(W=>{W.replacePrevCharCnt||W.replaceNextCharCnt||W.positionDelta?(g._debugComposition&&console.log(` => compositionType: <<${W.text}>>, ${W.replacePrevCharCnt}, ${W.replaceNextCharCnt}, ${W.positionDelta}`),this._viewController.compositionType(W.text,W.replacePrevCharCnt,W.replaceNextCharCnt,W.positionDelta)):(g._debugComposition&&console.log(` => type: <<${W.text}>>`),this._viewController.type(W.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(W=>{this._viewController.setSelection(W)})),this._register(this._textAreaInput.onCompositionStart(W=>{const U=this.textArea.domNode,j=this._modelSelections[0],{distanceToModelLineStart:R,widthOfHiddenTextBefore:K}=(()=>{const Z=U.value.substring(0,Math.min(U.selectionStart,U.selectionEnd)),J=Z.lastIndexOf(` -`),X=Z.substring(J+1),H=X.lastIndexOf(" "),B=X.length-H-1,V=j.getStartPosition(),Y=Math.min(V.column-1,B),ie=V.column-1-Y,ae=X.substring(0,X.length-Y),{tabSize:ce}=this._context.viewModel.model.getOptions(),de=b(ae,this._fontInfo,ce);return{distanceToModelLineStart:ie,widthOfHiddenTextBefore:de}})(),{distanceToModelLineEnd:G}=(()=>{const Z=U.value.substring(Math.max(U.selectionStart,U.selectionEnd)),J=Z.indexOf(` -`),X=J===-1?Z:Z.substring(0,J),H=X.indexOf(" "),B=H===-1?X.length:X.length-H-1,V=j.getEndPosition(),Y=Math.min(this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column,B);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column-Y}})();this._context.viewModel.revealRange("keyboard",!0,u.Range.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new p(this._context,j.startLineNumber,R,K,G),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(W=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(d.IME.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(E){this._textAreaInput.writeScreenReaderContent(E)}dispose(){super.dispose()}_getAndroidWordAtPosition(E){const I='`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',M=this._context.viewModel.getLineContent(E.lineNumber),P=(0,t.getMapForWordSeparators)(I);let x=!0,T=E.column,A=!0,N=E.column,F=0;for(;F<50&&(x||A);){if(x&&T<=1&&(x=!1),x){const O=M.charCodeAt(T-2);P.get(O)!==0?x=!1:T--}if(A&&N>M.length&&(A=!1),A){const O=M.charCodeAt(N-1);P.get(O)!==0?A=!1:N++}F++}return[M.substring(T-1,N-1),E.column-T]}_getWordBeforePosition(E){const I=this._context.viewModel.getLineContent(E.lineNumber),M=(0,t.getMapForWordSeparators)(this._context.configuration.options.get(128));let P=E.column,x=0;for(;P>1;){const T=I.charCodeAt(P-2);if(M.get(T)!==0||x>50)return I.substring(P-1,E.column-1);x++,P--}return I.substring(0,E.column-1)}_getCharacterBeforePosition(E){if(E.column>1){const M=this._context.viewModel.getLineContent(E.lineNumber).charAt(E.column-2);if(!S.isHighSurrogate(M.charCodeAt(0)))return M}return""}_getAriaLabel(E){var I,M,P;if(E.get(2)===1){const T=(I=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))===null||I===void 0?void 0:I.getAriaLabel(),A=(M=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))===null||M===void 0?void 0:M.getAriaLabel(),N=(P=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))===null||P===void 0?void 0:P.getAriaLabel(),F=L.localize(1,null);return T?L.localize(2,null,F,T):A?L.localize(3,null,F,A):N?L.localize(4,null,F,N):F}return E.get(4)}_setAccessibilityOptions(E){this._accessibilitySupport=E.get(2);const I=E.get(3);this._accessibilitySupport===2&&I===n.EditorOptions.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=I;const P=E.get(142).wrappingColumn;if(P!==-1&&this._accessibilitySupport!==1){const x=E.get(49);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(P*x.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=m?0:1}onConfigurationChanged(E){const I=this._context.configuration.options,M=I.get(142);this._setAccessibilityOptions(I),this._contentLeft=M.contentLeft,this._contentWidth=M.contentWidth,this._contentHeight=M.height,this._fontInfo=I.get(49),this._lineHeight=I.get(65),this._emptySelectionClipboard=I.get(36),this._copyWithSyntaxHighlighting=I.get(24),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:P}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${P*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(I)),this.textArea.setAttribute("aria-required",I.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(I.get(122))),(E.hasChanged(33)||E.hasChanged(89))&&this._ensureReadOnlyAttribute(),E.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(E){return this._selections=E.selections.slice(0),this._modelSelections=E.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(E){return!0}onFlushed(E){return!0}onLinesChanged(E){return!0}onLinesDeleted(E){return!0}onLinesInserted(E){return!0}onScrollChanged(E){return this._scrollLeft=E.scrollLeft,this._scrollTop=E.scrollTop,!0}onZonesChanged(E){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(E){E.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",E.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),E.role&&this.textArea.setAttribute("role",E.role)}_ensureReadOnlyAttribute(){const E=this._context.configuration.options;!d.IME.enabled||E.get(33)&&E.get(89)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(E){var I;this._primaryCursorPosition=new a.Position(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=E.visibleRangeForPosition(this._primaryCursorPosition),(I=this._visibleTextArea)===null||I===void 0||I.prepareRender(E)}render(E){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){var E;if(this._visibleTextArea){const P=this._visibleTextArea.visibleTextareaStart,x=this._visibleTextArea.visibleTextareaEnd,T=this._visibleTextArea.startPosition,A=this._visibleTextArea.endPosition;if(T&&A&&P&&x&&x.left>=this._scrollLeft&&P.left<=this._scrollLeft+this._contentWidth){const N=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,F=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let O=this._visibleTextArea.widthOfHiddenLineTextBefore,W=this._contentLeft+P.left-this._scrollLeft,U=x.left-P.left+1;if(Wthis._contentWidth&&(U=this._contentWidth);const j=this._context.viewModel.getViewLineData(T.lineNumber),R=j.tokens.findTokenIndexAtOffset(T.column-1),K=j.tokens.findTokenIndexAtOffset(A.column-1),G=R===K,Z=this._visibleTextArea.definePresentation(G?j.tokens.getPresentation(R):null);this.textArea.domNode.scrollTop=F*this._lineHeight,this.textArea.domNode.scrollLeft=O,this._doRender({lastRenderPosition:null,top:N,left:W,width:U,height:this._lineHeight,useCover:!1,color:(c.TokenizationRegistry.getColorMap()||[])[Z.foreground],italic:Z.italic,bold:Z.bold,underline:Z.underline,strikethrough:Z.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const I=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(Ithis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const M=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(M<0||M>this._contentHeight){this._renderAtTopLeft();return}if(D.isMacintosh){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const P=(E=this._textAreaInput.textAreaState.newlineCountBeforeSelection)!==null&&E!==void 0?E:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=P*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:m?0:1,useCover:!1})}_newlinecount(E){let I=0,M=-1;do{if(M=E.indexOf(` -`,M+1),M===-1)break;I++}while(!0);return I}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:m?0:1,useCover:!0})}_doRender(E){this._lastRenderPosition=E.lastRenderPosition;const I=this.textArea,M=this.textAreaCover;(0,f.applyFontInfo)(I,this._fontInfo),I.setTop(E.top),I.setLeft(E.left),I.setWidth(E.width),I.setHeight(E.height),I.setColor(E.color?o.Color.Format.CSS.formatHex(E.color):""),I.setFontStyle(E.italic?"italic":""),E.bold&&I.setFontWeight("bold"),I.setTextDecoration(`${E.underline?" underline":""}${E.strikethrough?" line-through":""}`),M.setTop(E.useCover?E.top:0),M.setLeft(E.useCover?E.left:0),M.setWidth(E.useCover?E.width:0),M.setHeight(E.useCover?E.height:0);const P=this._context.configuration.options;P.get(56)?M.setClassName("monaco-editor-background textAreaCover "+i.Margin.OUTER_CLASS_NAME):P.get(66).renderType!==0?M.setClassName("monaco-editor-background textAreaCover "+s.LineNumbersOverlay.CLASS_NAME):M.setClassName("monaco-editor-background textAreaCover")}};e.TextAreaHandler=v,e.TextAreaHandler=v=ke([fe(3,l.IKeybindingService)],v);function b(w,E,I){if(w.length===0)return 0;const M=document.createElement("div");M.style.position="absolute",M.style.top="-50000px",M.style.width="50000px";const P=document.createElement("span");(0,f.applyFontInfo)(P,E),P.style.whiteSpace="pre",P.style.tabSize=`${I*E.spaceWidth}px`,P.append(w),M.appendChild(P),document.body.appendChild(M);const x=P.offsetWidth;return document.body.removeChild(M),x}}),define(ne[848],se([1,0,35,38,53,12,29,80,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DecorationsOverviewRuler=void 0;class g{constructor(i,n){const t=i.options;this.lineHeight=t.get(65),this.pixelRatio=t.get(140),this.overviewRulerLanes=t.get(81),this.renderBorder=t.get(80);const a=n.getColor(f.editorOverviewRulerBorder);this.borderColor=a?a.toString():null,this.hideCursor=t.get(58);const u=n.getColor(f.editorCursorForeground);this.cursorColor=u?u.transparent(.7).toString():null,this.themeType=n.type;const h=t.get(71),r=h.enabled,c=h.side,o=n.getColor(f.editorOverviewRulerBackground),d=S.TokenizationRegistry.getDefaultBackground();o?this.backgroundColor=o:r&&c==="right"?this.backgroundColor=d:this.backgroundColor=null;const p=t.get(142).overviewRuler;this.top=p.top,this.right=p.right,this.domWidth=p.width,this.domHeight=p.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[m,v]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=m,this.w=v}_initLanes(i,n,t){const a=n-i;if(t>=3){const u=Math.floor(a/3),h=Math.floor(a/3),r=a-u-h,c=i,o=c+u,d=c+u+r;return[[0,c,o,c,d,c,o,c],[0,u,r,u+r,h,u+r+h,r+h,u+r+h]]}else if(t===2){const u=Math.floor(a/2),h=a-u,r=i,c=r+u;return[[0,r,r,r,c,r,r,r],[0,u,u,u,h,u+h,u+h,u+h]]}else{const u=i,h=a;return[[0,u,u,u,u,u,u,u],[0,h,h,h,h,h,h,h]]}}equals(i){return this.lineHeight===i.lineHeight&&this.pixelRatio===i.pixelRatio&&this.overviewRulerLanes===i.overviewRulerLanes&&this.renderBorder===i.renderBorder&&this.borderColor===i.borderColor&&this.hideCursor===i.hideCursor&&this.cursorColor===i.cursorColor&&this.themeType===i.themeType&&k.Color.equals(this.backgroundColor,i.backgroundColor)&&this.top===i.top&&this.right===i.right&&this.domWidth===i.domWidth&&this.domHeight===i.domHeight&&this.canvasWidth===i.canvasWidth&&this.canvasHeight===i.canvasHeight}}class C extends y.ViewPart{constructor(i){super(i),this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=S.TokenizationRegistry.onDidChange(n=>{n.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(i){const n=new g(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(n)?!1:(this._settings=n,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,i&&this._render(),!0)}onConfigurationChanged(i){return this._updateSettings(!1)}onCursorStateChanged(i){this._cursorPositions=[];for(let n=0,t=i.selections.length;nt&&(U=t-d),F=U-d,O=U+d}F>M+1||T!==E?(P!==0&&l.fillRect(p[E],I,m[E],M-I),E=T,I=F,M=O):O>M&&(M=O)}l.fillRect(p[E],I,m[E],M-I)}if(!this._settings.hideCursor&&this._settings.cursorColor){const v=2*this._settings.pixelRatio|0,b=v/2|0,w=this._settings.x[7],E=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let I=-100,M=-100;for(let P=0,x=this._cursorPositions.length;Pt&&(A=t-b);const N=A-b,F=N+v;N>M+1?(P!==0&&l.fillRect(w,I,E,M-I),I=N,M=F):F>M&&(M=F)}l.fillRect(w,I,E,M-I)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(n,0),l.stroke())}}e.DecorationsOverviewRuler=C}),define(ne[849],se([1,0,35,13,53,620,36,80,23,88,430]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursors=void 0;class C extends y.ViewPart{constructor(i){super(i);const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new D.ViewCursor(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new k.TimeoutTimer,this._cursorFlatBlinkInterval=new k.IntervalTimer,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(i){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(i){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(i){const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(i);for(let t=0,a=this._secondaryCursors.length;tn.length){const u=this._secondaryCursors.length-n.length;for(let h=0;h{for(let a=0,u=i.ranges.length;a{this._isVisible?this._hide():this._show()},C.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},C.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let i="cursors-layer";switch(this._selectionIsEmpty||(i+=" has-selection"),this._cursorStyle){case S.TextEditorCursorStyle.Line:i+=" cursor-line-style";break;case S.TextEditorCursorStyle.Block:i+=" cursor-block-style";break;case S.TextEditorCursorStyle.Underline:i+=" cursor-underline-style";break;case S.TextEditorCursorStyle.LineThin:i+=" cursor-line-thin-style";break;case S.TextEditorCursorStyle.BlockOutline:i+=" cursor-block-outline-style";break;case S.TextEditorCursorStyle.UnderlineThin:i+=" cursor-underline-thin-style";break;default:i+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:i+=" cursor-blink";break;case 2:i+=" cursor-smooth";break;case 3:i+=" cursor-phase";break;case 4:i+=" cursor-expand";break;case 5:i+=" cursor-solid";break;default:i+=" cursor-solid"}else i+=" cursor-solid";return(this._cursorSmoothCaretAnimation==="on"||this._cursorSmoothCaretAnimation==="explicit")&&(i+=" cursor-smooth-caret-animation"),i}_show(){this._primaryCursor.show();for(let i=0,n=this._secondaryCursors.length;i{const n=s.getColor(f.editorCursorForeground);if(n){let t=s.getColor(f.editorCursorBackground);t||(t=n.opposite()),i.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${t}; }`),(0,g.isHighContrast)(s.type)&&i.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${t}; border-right: 1px solid ${t}; }`)}})}),define(ne[850],se([1,0,112,11,95,12,80,431]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WhitespaceOverlay=void 0;class f extends L.DynamicViewOverlay{constructor(C){super(),this._context=C,this._options=new _(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(C){const s=new _(this._context.configuration);return this._options.equals(s)?C.hasChanged(142):(this._options=s,!0)}onCursorStateChanged(C){return this._selection=C.selections,this._options.renderWhitespace==="selection"}onDecorationsChanged(C){return!0}onFlushed(C){return!0}onLinesChanged(C){return!0}onLinesDeleted(C){return!0}onLinesInserted(C){return!0}onScrollChanged(C){return C.scrollTopChanged}onZonesChanged(C){return!0}prepareRender(C){if(this._options.renderWhitespace==="none"){this._renderResult=null;return}const s=C.visibleRange.startLineNumber,n=C.visibleRange.endLineNumber-s+1,t=new Array(n);for(let u=0;uu)continue;const l=d.startLineNumber===u?d.startColumn:r.minColumn,p=d.endLineNumber===u?d.endColumn:r.maxColumn;l=N.endOffset&&(A++,N=i&&i[A]),W!==9&&W!==32||d&&!P&&O<=T)continue;if(o&&O>=x&&O<=T&&W===32){const j=O-1>=0?u.charCodeAt(O-1):0,R=O+1=0?u.charCodeAt(O-1):0;if(W===32&&j!==32&&j!==9)continue}if(i&&(!N||N.startOffset>O||N.endOffset<=O))continue;const U=C.visibleRangeForPosition(new D.Position(s,O+1));U&&(a?(F=Math.max(F,U.left),W===9?M+=this._renderArrow(l,v,U.left):M+=``):W===9?M+=`
    ${I?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:M+=`
    ${String.fromCharCode(E)}
    `)}return a?(F=Math.round(F+v),``+M+""):M}_renderArrow(C,s,i){const n=s/7,t=s,a=C/2,u=i,h={x:0,y:n/2},r={x:100/125*t,y:h.y},c={x:r.x-.2*r.x,y:r.y+.2*r.x},o={x:c.x+.1*r.x,y:c.y+.1*r.x},d={x:o.x+.35*r.x,y:o.y-.35*r.x},l={x:d.x,y:-d.y},p={x:o.x,y:-o.y},m={x:c.x,y:-c.y},v={x:r.x,y:-r.y},b={x:h.x,y:-h.y};return``}render(C,s){if(!this._renderResult)return"";const i=s-C;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}e.WhitespaceOverlay=f;class _{constructor(C){const s=C.options,i=s.get(49),n=s.get(37);n==="off"?(this.renderWhitespace="none",this.renderWithSVG=!1):n==="svg"?(this.renderWhitespace=s.get(97),this.renderWithSVG=!0):(this.renderWhitespace=s.get(97),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=s.get(65),this.stopRenderingLineAfter=s.get(115)}equals(C){return this.renderWhitespace===C.renderWhitespace&&this.renderWithSVG===C.renderWithSVG&&this.spaceWidth===C.spaceWidth&&this.middotWidth===C.middotWidth&&this.wsmiddotWidth===C.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===C.canUseHalfwidthRightwardsArrow&&this.lineHeight===C.lineHeight&&this.stopRenderingLineAfter===C.stopRenderingLineAfter}}}),define(ne[851],se([1,0,7,24,5,35,9,837,847,793,272,592,53,589,845,522,842,846,358,838,523,289,524,821,525,848,534,526,527,843,849,528,12,144,535,531,150,23,355,521,260,850,210,48,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;let J=class extends F.ViewEventHandler{constructor(B,V,Y,ie,ae,ce,de){super(),this._instantiationService=de,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new k.Selection(1,1,1,1)],this._renderAnimationFrame=null;const he=new g.ViewController(V,ie,ae,B);this._context=new A.ViewContext(V,Y,ie),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(_.TextAreaHandler,this._context,he,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,D.createFastDomNode)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,D.createFastDomNode)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,D.createFastDomNode)(document.createElement("div")),i.PartFingerprints.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new u.EditorScrollbar(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new c.ViewLines(this._context,this._linesContent),this._viewZones=new P.ViewZones(this._context),this._viewParts.push(this._viewZones);const ue=new v.DecorationsOverviewRuler(this._context);this._viewParts.push(ue);const te=new E.ScrollDecorationViewPart(this._context);this._viewParts.push(te);const q=new s.ContentViewOverlays(this._context);this._viewParts.push(q),q.addDynamicOverlay(new t.CurrentLineHighlightOverlay(this._context)),q.addDynamicOverlay(new I.SelectionsOverlay(this._context)),q.addDynamicOverlay(new h.IndentGuidesOverlay(this._context)),q.addDynamicOverlay(new a.DecorationsOverlay(this._context)),q.addDynamicOverlay(new R.WhitespaceOverlay(this._context));const z=new s.MarginViewOverlays(this._context);this._viewParts.push(z),z.addDynamicOverlay(new t.CurrentLineMarginHighlightOverlay(this._context)),z.addDynamicOverlay(new l.MarginViewLineDecorationsOverlay(this._context)),z.addDynamicOverlay(new o.LinesDecorationsOverlay(this._context)),z.addDynamicOverlay(new r.LineNumbersOverlay(this._context)),this._glyphMarginWidgets=new K.GlyphMarginWidgets(this._context),this._viewParts.push(this._glyphMarginWidgets);const ee=new d.Margin(this._context);ee.getDomNode().appendChild(this._viewZones.marginDomNode),ee.getDomNode().appendChild(z.getDomNode()),ee.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(ee),this._contentWidgets=new n.ViewContentWidgets(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new M.ViewCursors(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new m.ViewOverlayWidgets(this._context),this._viewParts.push(this._overlayWidgets);const $=new w.Rulers(this._context);this._viewParts.push($);const re=new U.BlockDecorations(this._context);this._viewParts.push(re);const oe=new p.Minimap(this._context);if(this._viewParts.push(oe),ue){const ge=this._scrollbar.getOverviewRulerLayoutInfo();ge.parent.insertBefore(ue.getDomNode(),ge.insertBefore)}this._linesContent.appendChild(q.getDomNode()),this._linesContent.appendChild($.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(ee.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(te.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(oe.getDomNode()),this._overflowGuardContainer.appendChild(re.domNode),this.domNode.appendChild(this._overflowGuardContainer),ce?ce.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new f.PointerHandler(this._context,he,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._shouldRecomputeGlyphMarginLanes&&(this._shouldRecomputeGlyphMarginLanes=!1,this._context.configuration.setGlyphMarginDecorationLaneCount(this._computeGlyphMarginLaneCount())),j.inputLatency.onRenderStart(),this._renderNow()}_computeGlyphMarginLaneCount(){const B=this._context.viewModel.model;let V=[];V=V.concat(B.getAllMarginDecorations().map(ae=>{var ce,de;const he=(de=(ce=ae.options.glyphMargin)===null||ce===void 0?void 0:ce.position)!==null&&de!==void 0?de:G.GlyphMarginLane.Left;return{range:ae.range,lane:he}})),V=V.concat(this._glyphMarginWidgets.getWidgets().map(ae=>({range:B.validateRange(ae.preference.range),lane:ae.preference.lane}))),V.sort((ae,ce)=>y.Range.compareRangesUsingStarts(ae.range,ce.range));let Y=null,ie=null;for(const ae of V)if(ae.lane===G.GlyphMarginLane.Left&&(!Y||y.Range.compareRangesUsingEnds(Y,ae.range)<0)&&(Y=ae.range),ae.lane===G.GlyphMarginLane.Right&&(!ie||y.Range.compareRangesUsingEnds(ie,ae.range)<0)&&(ie=ae.range),Y&&ie){if(Y.endLineNumber{this.focus()},dispatchTextAreaEvent:B=>{this._textAreaHandler.textArea.domNode.dispatchEvent(B)},getLastRenderData:()=>{const B=this._viewCursors.getLastRenderData()||[],V=this._textAreaHandler.getLastRenderData();return new W.PointerHandlerLastRenderData(B,V)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:B=>this._viewZones.shouldSuppressMouseDownOnViewZone(B),shouldSuppressMouseDownOnWidget:B=>this._contentWidgets.shouldSuppressMouseDownOnWidget(B),getPositionFromDOMInfo:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(B,V)),visibleRangeForPosition:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new x.Position(B,V))),getLineWidth:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(B))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(B))}}_applyLayout(){const V=this._context.configuration.options.get(142);this.domNode.setWidth(V.width),this.domNode.setHeight(V.height),this._overflowGuardContainer.setWidth(V.width),this._overflowGuardContainer.setHeight(V.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const B=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(139)+" "+(0,O.getThemeTypeSelector)(this._context.theme.type)+B}handleEvents(B){super.handleEvents(B),this._scheduleRender()}onConfigurationChanged(B){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(B){return this._selections=B.selections,!1}onDecorationsChanged(B){return B.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(B){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(B){return this._context.theme.update(B.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const B of this._viewParts)B.dispose();super.dispose()}_scheduleRender(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=L.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){X(()=>this._actualRender())}_getViewPartsToRender(){const B=[];let V=0;for(const Y of this._viewParts)Y.shouldRender()&&(B[V++]=Y);return B}_actualRender(){if(!L.isInDOM(this.domNode.domNode))return;let B=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&B.length===0)return;const V=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(V.startLineNumber,V.endLineNumber,V.centeredLineNumber);const Y=new N.ViewportData(this._selections,V,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(Y),this._viewLines.shouldRender()&&(this._viewLines.renderText(Y),this._viewLines.onDidRender(),B=this._getViewPartsToRender());const ie=new T.RenderingContext(this._context.viewLayout,Y,this._viewLines);for(const ae of B)ae.prepareRender(ie);for(const ae of B)ae.render(ie),ae.onDidRender()}delegateVerticalScrollbarPointerDown(B){this._scrollbar.delegateVerticalScrollbarPointerDown(B)}delegateScrollFromMouseWheelEvent(B){this._scrollbar.delegateScrollFromMouseWheelEvent(B)}restoreState(B){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:B.scrollTop,scrollLeft:B.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(B,V){const Y=this._context.viewModel.model.validatePosition({lineNumber:B,column:V}),ie=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(Y);this._flushAccumulatedAndRenderNow();const ae=this._viewLines.visibleRangeForPosition(new x.Position(ie.lineNumber,ie.column));return ae?ae.left:-1}getTargetAtClientPoint(B,V){const Y=this._pointerHandler.getTargetAtClientPoint(B,V);return Y?C.ViewUserInputEvents.convertViewToModelMouseTarget(Y,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(B){return new b.OverviewRuler(this._context,B)}change(B){this._viewZones.changeViewZones(B),this._scheduleRender()}render(B,V){if(V){this._viewLines.forceShouldRender();for(const Y of this._viewParts)Y.forceShouldRender()}B?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(B){this._textAreaHandler.writeScreenReaderContent(B)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(B){this._textAreaHandler.setAriaOptions(B)}addContentWidget(B){this._contentWidgets.addWidget(B.widget),this.layoutContentWidget(B),this._scheduleRender()}layoutContentWidget(B){var V,Y,ie,ae,ce,de,he,ue;this._contentWidgets.setWidgetPosition(B.widget,(Y=(V=B.position)===null||V===void 0?void 0:V.position)!==null&&Y!==void 0?Y:null,(ae=(ie=B.position)===null||ie===void 0?void 0:ie.secondaryPosition)!==null&&ae!==void 0?ae:null,(de=(ce=B.position)===null||ce===void 0?void 0:ce.preference)!==null&&de!==void 0?de:null,(ue=(he=B.position)===null||he===void 0?void 0:he.positionAffinity)!==null&&ue!==void 0?ue:null),this._scheduleRender()}removeContentWidget(B){this._contentWidgets.removeWidget(B.widget),this._scheduleRender()}addOverlayWidget(B){this._overlayWidgets.addWidget(B.widget),this.layoutOverlayWidget(B),this._scheduleRender()}layoutOverlayWidget(B){const V=B.position?B.position.preference:null;this._overlayWidgets.setWidgetPosition(B.widget,V)&&this._scheduleRender()}removeOverlayWidget(B){this._overlayWidgets.removeWidget(B.widget),this._scheduleRender()}addGlyphMarginWidget(B){this._glyphMarginWidgets.addWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(B){const V=B.position;this._glyphMarginWidgets.setWidgetPosition(B.widget,V)&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(B){this._glyphMarginWidgets.removeWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};e.View=J,e.View=J=ke([fe(6,Z.IInstantiationService)],J);function X(H){try{return H()}catch(B){(0,S.onUnexpectedError)(B)}}}),define(ne[852],se([1,0,6,2,5,80,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorizedBracketPairsDecorationProvider=void 0;class f extends k.Disposable{constructor(C){super(),this.textModel=C,this.colorProvider=new _,this.onDidChangeEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=C.getOptions().bracketPairColorizationOptions,this._register(C.bracketPairs.onDidChange(s=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(C){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(C,s,i,n){return n?[]:s===void 0?[]:this.colorizationOptions.enabled?this.textModel.bracketPairs.getBracketsInRange(C,!0).map(a=>({id:`bracket${a.range.toString()}-${a.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(a,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:a.range})).toArray():[]}getAllDecorations(C,s){return C===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new y.Range(1,1,this.textModel.getLineCount(),1),C,s):[]}}e.ColorizedBracketPairsDecorationProvider=f;class _{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(C,s){return C.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(s?C.nestingLevelOfEqualBracketType:C.nestingLevel)}getInlineClassNameOfLevel(C){return`bracket-highlighting-${C%30}`}}(0,S.registerThemingParticipant)((g,C)=>{const s=[D.editorBracketHighlightingForeground1,D.editorBracketHighlightingForeground2,D.editorBracketHighlightingForeground3,D.editorBracketHighlightingForeground4,D.editorBracketHighlightingForeground5,D.editorBracketHighlightingForeground6],i=new _;C.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${g.getColor(D.editorBracketHighlightingUnexpectedBracketForeground)}; }`);const n=s.map(t=>g.getColor(t)).filter(t=>!!t).filter(t=>!t.isTransparent());for(let t=0;t<30;t++){const a=n[t%n.length];C.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(t)} { color: ${a}; }`)}})}),define(ne[853],se([1,0,97,2,48,23,80,51,5,54,6,31,65]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsService=void 0;class n extends k.Disposable{constructor(u){super(),this.model=u,this._markersData=new Map,this._register((0,k.toDisposable)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(u,h){const r=[...this._markersData.keys()];this._markersData.clear();const c=this.model.deltaDecorations(r,h);for(let o=0;othis._onModelAdded(r)),this._register(u.onModelAdded(this._onModelAdded,this)),this._register(u.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(u=>u.dispose()),this._markerDecorations.clear()}getMarker(u,h){const r=this._markerDecorations.get(u);return r&&r.getMarker(h)||null}_handleMarkerChange(u){u.forEach(h=>{const r=this._markerDecorations.get(h);r&&this._updateDecorations(r)})}_onModelAdded(u){const h=new n(u);this._markerDecorations.set(u.uri,h),this._updateDecorations(h)}_onModelRemoved(u){var h;const r=this._markerDecorations.get(u.uri);r&&(r.dispose(),this._markerDecorations.delete(u.uri)),(u.uri.scheme===g.Schemas.inMemory||u.uri.scheme===g.Schemas.internal||u.uri.scheme===g.Schemas.vscode)&&((h=this._markerService)===null||h===void 0||h.read({resource:u.uri}).map(c=>c.owner).forEach(c=>this._markerService.remove(c,[u.uri])))}_updateDecorations(u){const h=this._markerService.read({resource:u.model.uri,take:500}),r=h.map(c=>({range:this._createDecorationRange(u.model,c),options:this._createDecorationOption(c)}));u.update(h,r)&&this._onDidChangeMarker.fire(u.model)}_createDecorationRange(u,h){let r=_.Range.lift(h);if(h.severity===L.MarkerSeverity.Hint&&!this._hasMarkerTag(h,1)&&!this._hasMarkerTag(h,2)&&(r=r.setEndPosition(r.startLineNumber,r.startColumn+2)),r=u.validateRange(r),r.isEmpty()){const c=u.getLineLastNonWhitespaceColumn(r.startLineNumber)||u.getLineMaxColumn(r.startLineNumber);if(c===1||r.endColumn>=c)return r;const o=u.getWordAtPosition(r.getStartPosition());o&&(r=new _.Range(r.startLineNumber,o.startColumn,r.endLineNumber,o.endColumn))}else if(h.endColumn===Number.MAX_VALUE&&h.startColumn===1&&r.startLineNumber===r.endLineNumber){const c=u.getLineFirstNonWhitespaceColumn(h.startLineNumber);c=0:!1}};e.MarkerDecorationsService=t,e.MarkerDecorationsService=t=ke([fe(0,f.IModelService),fe(1,L.IMarkerService)],t)}),define(ne[252],se([1,0,124,23,70,519,41]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMultilineTokens2=e.SemanticTokensProviderStyling=void 0;let f=class{constructor(i,n,t,a){this._legend=i,this._themeService=n,this._languageService=t,this._logService=a,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new C}getMetadata(i,n,t){const a=this._languageService.languageIdCodec.encodeLanguageId(t),u=this._hashTable.get(i,n,a);let h;if(u)h=u.metadata,this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${i} / ${n}: foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`);else{let r=this._legend.tokenTypes[i];const c=[];if(r){let o=n;for(let l=0;o>0&&l>1;o>0&&this._logService.getLevel()===y.LogLevel.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${n.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),c.push("not-in-legend"));const d=this._themeService.getColorTheme().getTokenStyleMetadata(r,c,t);if(typeof d>"u")h=2147483647;else{if(h=0,typeof d.italic<"u"){const l=(d.italic?1:0)<<11;h|=l|1}if(typeof d.bold<"u"){const l=(d.bold?2:0)<<11;h|=l|2}if(typeof d.underline<"u"){const l=(d.underline?4:0)<<11;h|=l|4}if(typeof d.strikethrough<"u"){const l=(d.strikethrough?8:0)<<11;h|=l|8}if(d.foreground){const l=d.foreground<<15;h|=l|16}h===0&&(h=2147483647)}}else this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${i} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),h=2147483647,r="not-in-legend";this._hashTable.add(i,n,a,h),this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${i} (${r}) / ${n} (${c.join(" ")}): foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`)}return h}warnOverlappingSemanticTokens(i,n){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${i}, column ${n}`))}warnInvalidLengthSemanticTokens(i,n){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,console.warn(`Semantic token with invalid length detected at lineNumber ${i}, column ${n}`))}warnInvalidEditStart(i,n,t,a,u){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,console.warn(`Invalid semantic tokens edit detected (previousResultId: ${i}, resultId: ${n}) at edit #${t}: The provided start offset ${a} is outside the previous data (length ${u}).`))}};e.SemanticTokensProviderStyling=f,e.SemanticTokensProviderStyling=f=ke([fe(1,k.IThemeService),fe(2,S.ILanguageService),fe(3,y.ILogService)],f);function _(s,i,n){const t=s.data,a=s.data.length/5|0,u=Math.max(Math.ceil(a/1024),400),h=[];let r=0,c=1,o=0;for(;rd&&t[5*I]===0;)I--;if(I-1===d){let M=l;for(;M+1T)i.warnOverlappingSemanticTokens(x,T+1);else{const W=i.getMetadata(F,O,n);W!==2147483647&&(v===0&&(v=x),p[m]=x-v,p[m+1]=T,p[m+2]=N,p[m+3]=W,m+=4,b=x,w=N)}c=x,o=T,r++}m!==p.length&&(p=p.subarray(0,m));const E=D.SparseMultilineTokens.create(v,p);h.push(E)}return h}e.toMultilineTokens2=_;class g{constructor(i,n,t,a){this.tokenTypeIndex=i,this.tokenModifierSet=n,this.languageId=t,this.metadata=a,this.next=null}}class C{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1=this._growCount){const u=this._elements;this._currentLengthIndex++,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1{this._caches=new WeakMap}))}getStyling(s){return this._caches.has(s)||this._caches.set(s,new S.SemanticTokensProviderStyling(s.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(s)}};e.SemanticTokensStylingService=g,e.SemanticTokensStylingService=g=ke([fe(0,y.IThemeService),fe(1,D.ILogService),fe(2,k.ILanguageService)],g),(0,_.registerSingleton)(f.ISemanticTokensStylingService,g,1)}),define(ne[359],se([1,0,99,2,177,48,80,23,49]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorNavigationQuickAccessProvider=void 0;class g{constructor(s){this.options=s,this.rangeHighlightDecorationId=void 0}provide(s,i){var n;const t=new k.DisposableStore;s.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;const a=t.add(new k.MutableDisposable);return a.value=this.doProvide(s,i),t.add(this.onDidActiveTextEditorControlChange(()=>{a.value=void 0,a.value=this.doProvide(s,i)})),t}doProvide(s,i){var n;const t=new k.DisposableStore,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){const u={editor:a},h=(0,y.getCodeEditor)(a);if(h){let r=(n=a.saveViewState())!==null&&n!==void 0?n:void 0;t.add(h.onDidChangeCursorPosition(()=>{var c;r=(c=a.saveViewState())!==null&&c!==void 0?c:void 0})),u.restoreViewState=()=>{r&&a===this.activeTextEditorControl&&a.restoreViewState(r)},t.add((0,L.once)(i.onCancellationRequested)(()=>{var c;return(c=u.restoreViewState)===null||c===void 0?void 0:c.call(u)}))}t.add((0,k.toDisposable)(()=>this.clearDecorations(a))),t.add(this.provideWithTextEditor(u,s,i))}else t.add(this.provideWithoutTextEditor(s,i));return t}canProvideWithTextEditor(s){return!0}gotoLocation({editor:s},i){s.setSelection(i.range),s.revealRangeInCenter(i.range,0),i.preserveFocus||s.focus();const n=s.getModel();n&&"getLineContent"in n&&(0,_.status)(`${n.getLineContent(i.range.startLineNumber)}`)}getModel(s){var i;return(0,y.isDiffEditor)(s)?(i=s.getModel())===null||i===void 0?void 0:i.modified:s.getModel()}addDecorations(s,i){s.changeDecorations(n=>{const t=[];this.rangeHighlightDecorationId&&(t.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),t.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const a=[{range:i,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:i,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerRangeHighlight),position:D.OverviewRulerLane.Full}}}],[u,h]=n.deltaDecorations(t,a);this.rangeHighlightDecorationId={rangeHighlightId:u,overviewRulerDecorationId:h}})}clearDecorations(s){const i=this.rangeHighlightDecorationId;i&&(s.changeDecorations(n=>{n.deltaDecorations([i.overviewRulerDecorationId,i.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}e.AbstractEditorNavigationQuickAccessProvider=g}),define(ne[855],se([1,0,2,177,359,691]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoLineQuickAccessProvider=void 0;class S extends y.AbstractEditorNavigationQuickAccessProvider{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(_){const g=(0,D.localize)(0,null);return _.items=[{label:g}],_.ariaLabel=g,L.Disposable.None}provideWithTextEditor(_,g,C){const s=_.editor,i=new L.DisposableStore;i.add(g.onDidAccept(a=>{const[u]=g.selectedItems;if(u){if(!this.isValidLineNumber(s,u.lineNumber))return;this.gotoLocation(_,{range:this.toRange(u.lineNumber,u.column),keyMods:g.keyMods,preserveFocus:a.inBackground}),a.inBackground||g.hide()}}));const n=()=>{const a=this.parsePosition(s,g.value.trim().substr(S.PREFIX.length)),u=this.getPickLabel(s,a.lineNumber,a.column);if(g.items=[{lineNumber:a.lineNumber,column:a.column,label:u}],g.ariaLabel=u,!this.isValidLineNumber(s,a.lineNumber)){this.clearDecorations(s);return}const h=this.toRange(a.lineNumber,a.column);s.revealRangeInCenter(h,0),this.addDecorations(s,h)};n(),i.add(g.onDidChangeValue(()=>n()));const t=(0,k.getCodeEditor)(s);return t&&t.getOptions().get(66).renderType===2&&(t.updateOptions({lineNumbers:"on"}),i.add((0,L.toDisposable)(()=>t.updateOptions({lineNumbers:"relative"})))),i}toRange(_=1,g=1){return{startLineNumber:_,startColumn:g,endLineNumber:_,endColumn:g}}parsePosition(_,g){const C=g.split(/,|:|#/).map(i=>parseInt(i,10)).filter(i=>!isNaN(i)),s=this.lineCount(_)+1;return{lineNumber:C[0]>0?C[0]:s+C[0],column:C[1]}}getPickLabel(_,g,C){if(this.isValidLineNumber(_,g))return this.isValidColumn(_,g,C)?(0,D.localize)(1,null,g,C):(0,D.localize)(2,null,g);const s=_.getPosition()||{lineNumber:1,column:1},i=this.lineCount(_);return i>1?(0,D.localize)(3,null,s.lineNumber,s.column,i):(0,D.localize)(4,null,s.lineNumber,s.column)}isValidLineNumber(_,g){return!g||typeof g!="number"?!1:g>0&&g<=this.lineCount(_)}isValidColumn(_,g,C){if(!C||typeof C!="number")return!1;const s=this.getModel(_);if(!s)return!1;const i={lineNumber:g,column:C};return s.validatePosition(i).equals(i)}lineCount(_){var g,C;return(C=(g=this.getModel(_))===null||g===void 0?void 0:g.getLineCount())!==null&&C!==void 0?C:0}}e.AbstractGotoLineQuickAccessProvider=S,S.PREFIX=":"}),define(ne[856],se([1,0,13,19,25,26,570,2,11,5,29,188,359,692,18,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoSymbolQuickAccessProvider=void 0;let h=u=class extends i.AbstractEditorNavigationQuickAccessProvider{constructor(d,l,p=Object.create(null)){super(p),this._languageFeaturesService=d,this._outlineModelService=l,this.options=p,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(d){return this.provideLabelPick(d,(0,n.localize)(0,null)),f.Disposable.None}provideWithTextEditor(d,l,p){const m=d.editor,v=this.getModel(m);return v?this._languageFeaturesService.documentSymbolProvider.has(v)?this.doProvideWithEditorSymbols(d,v,l,p):this.doProvideWithoutEditorSymbols(d,v,l,p):f.Disposable.None}doProvideWithoutEditorSymbols(d,l,p,m){const v=new f.DisposableStore;return this.provideLabelPick(p,(0,n.localize)(1,null)),we(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(l,v))||m.isCancellationRequested||v.add(this.doProvideWithEditorSymbols(d,l,p,m))}),v}provideLabelPick(d,l){d.items=[{label:l,index:0,kind:14}],d.ariaLabel=l}waitForLanguageSymbolRegistry(d,l){return we(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(d))return!0;const p=new L.DeferredPromise,m=l.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(d)&&(m.dispose(),p.complete(!0))}));return l.add((0,f.toDisposable)(()=>p.complete(!1))),p.p})}doProvideWithEditorSymbols(d,l,p,m){var v;const b=d.editor,w=new f.DisposableStore;w.add(p.onDidAccept(P=>{const[x]=p.selectedItems;x&&x.range&&(this.gotoLocation(d,{range:x.range.selection,keyMods:p.keyMods,preserveFocus:P.inBackground}),P.inBackground||p.hide())})),w.add(p.onDidTriggerItemButton(({item:P})=>{P&&P.range&&(this.gotoLocation(d,{range:P.range.selection,keyMods:p.keyMods,forceSideBySide:!0}),p.hide())}));const E=this.getDocumentSymbols(l,m);let I;const M=P=>we(this,void 0,void 0,function*(){I?.dispose(!0),p.busy=!1,I=new k.CancellationTokenSource(m),p.busy=!0;try{const x=(0,S.prepareQuery)(p.value.substr(u.PREFIX.length).trim()),T=yield this.doGetSymbolPicks(E,x,void 0,I.token);if(m.isCancellationRequested)return;if(T.length>0){if(p.items=T,P&&x.original.length===0){const A=(0,a.findLast)(T,N=>!!(N.type!=="separator"&&N.range&&g.Range.containsPosition(N.range.decoration,P)));A&&(p.activeItems=[A])}}else x.original.length>0?this.provideLabelPick(p,(0,n.localize)(2,null)):this.provideLabelPick(p,(0,n.localize)(3,null))}finally{m.isCancellationRequested||(p.busy=!1)}});return w.add(p.onDidChangeValue(()=>M(void 0))),M((v=b.getSelection())===null||v===void 0?void 0:v.getPosition()),w.add(p.onDidChangeActive(()=>{const[P]=p.activeItems;P&&P.range&&(b.revealRangeInCenter(P.range.selection,0),this.addDecorations(b,P.range.decoration))})),w}doGetSymbolPicks(d,l,p,m){var v,b;return we(this,void 0,void 0,function*(){const w=yield d;if(m.isCancellationRequested)return[];const E=l.original.indexOf(u.SCOPE_PREFIX)===0,I=E?1:0;let M,P;l.values&&l.values.length>1?(M=(0,S.pieceToQuery)(l.values[0]),P=(0,S.pieceToQuery)(l.values.slice(1))):M=l;let x;const T=(b=(v=this.options)===null||v===void 0?void 0:v.openSideBySideDirection)===null||b===void 0?void 0:b.call(v);T&&(x=[{iconClass:T==="right"?D.ThemeIcon.asClassName(y.Codicon.splitHorizontal):D.ThemeIcon.asClassName(y.Codicon.splitVertical),tooltip:T==="right"?(0,n.localize)(4,null):(0,n.localize)(5,null)}]);const A=[];for(let O=0;OI){let B=!1;if(M!==l&&([G,Z]=(0,S.scoreFuzzy2)(j,Object.assign(Object.assign({},l),{values:void 0}),I,R),typeof G=="number"&&(B=!0)),typeof G!="number"&&([G,Z]=(0,S.scoreFuzzy2)(j,M,I,R),typeof G!="number"))continue;if(!B&&P){if(K&&P.original.length>0&&([J,X]=(0,S.scoreFuzzy2)(K,P)),typeof J!="number")continue;typeof G=="number"&&(G+=J)}}const H=W.tags&&W.tags.indexOf(1)>=0;A.push({index:O,kind:W.kind,score:G,label:j,ariaLabel:(0,C.getAriaLabelForSymbol)(W.name,W.kind),description:K,highlights:H?void 0:{label:Z,description:X},range:{selection:g.Range.collapseToStart(W.selectionRange),decoration:W.range},strikethrough:H,buttons:x})}const N=A.sort((O,W)=>E?this.compareByKindAndScore(O,W):this.compareByScore(O,W));let F=[];if(E){let j=function(){W&&typeof O=="number"&&U>0&&(W.label=(0,_.format)(c[O]||r,U))},O,W,U=0;for(const R of N)O!==R.kind?(j(),O=R.kind,U=1,W={type:"separator"},F.push(W)):U++,F.push(R);j()}else N.length>0&&(F=[{label:(0,n.localize)(6,null,A.length),type:"separator"},...N]);return F})}compareByScore(d,l){if(typeof d.score!="number"&&typeof l.score=="number")return 1;if(typeof d.score=="number"&&typeof l.score!="number")return-1;if(typeof d.score=="number"&&typeof l.score=="number"){if(d.score>l.score)return-1;if(d.scorel.index?1:0}compareByKindAndScore(d,l){const p=c[d.kind]||r,m=c[l.kind]||r,v=p.localeCompare(m);return v===0?this.compareByScore(d,l):v}getDocumentSymbols(d,l){return we(this,void 0,void 0,function*(){const p=yield this._outlineModelService.getOrCreate(d,l);return l.isCancellationRequested?[]:p.asListOfDocumentSymbols()})}};e.AbstractGotoSymbolQuickAccessProvider=h,h.PREFIX="@",h.SCOPE_PREFIX=":",h.PREFIX_BY_CATEGORY=`${u.PREFIX}${u.SCOPE_PREFIX}`,e.AbstractGotoSymbolQuickAccessProvider=h=u=ke([fe(0,t.ILanguageFeaturesService),fe(1,s.IOutlineModelService)],h);const r=(0,n.localize)(7,null),c={[5]:(0,n.localize)(8,null),[11]:(0,n.localize)(9,null),[8]:(0,n.localize)(10,null),[12]:(0,n.localize)(11,null),[4]:(0,n.localize)(12,null),[22]:(0,n.localize)(13,null),[23]:(0,n.localize)(14,null),[24]:(0,n.localize)(15,null),[10]:(0,n.localize)(16,null),[2]:(0,n.localize)(17,null),[3]:(0,n.localize)(18,null),[25]:(0,n.localize)(19,null),[1]:(0,n.localize)(20,null),[6]:(0,n.localize)(21,null),[9]:(0,n.localize)(22,null),[21]:(0,n.localize)(23,null),[14]:(0,n.localize)(24,null),[0]:(0,n.localize)(25,null),[17]:(0,n.localize)(26,null),[15]:(0,n.localize)(27,null),[16]:(0,n.localize)(28,null),[18]:(0,n.localize)(29,null),[19]:(0,n.localize)(30,null),[7]:(0,n.localize)(31,null),[13]:(0,n.localize)(32,null)}}),define(ne[857],se([1,0,2,12,695,15,34,31,23,459]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenameInputField=e.CONTEXT_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_RENAME_INPUT_VISIBLE=new D.RawContextKey("renameInputVisible",!1,(0,y.localize)(0,null));let g=class{constructor(s,i,n,t,a){this._editor=s,this._acceptKeybindings=i,this._themeService=n,this._keybindingService=t,this._disposables=new L.DisposableStore,this.allowEditorOverflow=!0,this._visibleContextKey=e.CONTEXT_RENAME_INPUT_VISIBLE.bindTo(a),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,y.localize)(1,null)),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(s){var i,n,t,a;if(!this._input||!this._domNode)return;const u=s.getColor(f.widgetShadow),h=s.getColor(f.widgetBorder);this._domNode.style.backgroundColor=String((i=s.getColor(f.editorWidgetBackground))!==null&&i!==void 0?i:""),this._domNode.style.boxShadow=u?` 0 0 8px 2px ${u}`:"",this._domNode.style.border=h?`1px solid ${h}`:"",this._domNode.style.color=String((n=s.getColor(f.inputForeground))!==null&&n!==void 0?n:""),this._input.style.backgroundColor=String((t=s.getColor(f.inputBackground))!==null&&t!==void 0?t:"");const r=s.getColor(f.inputBorder);this._input.style.borderWidth=r?"1px":"0px",this._input.style.borderStyle=r?"solid":"none",this._input.style.borderColor=(a=r?.toString())!==null&&a!==void 0?a:"none"}_updateFont(){if(!this._input||!this._label)return;const s=this._editor.getOption(49);this._input.style.fontFamily=s.fontFamily,this._input.style.fontWeight=s.fontWeight,this._input.style.fontSize=`${s.fontSize}px`,this._label.style.fontSize=`${s.fontSize*.8}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}beforeRender(){var s,i;const[n,t]=this._acceptKeybindings;return this._label.innerText=(0,y.localize)(2,null,(s=this._keybindingService.lookupKeybinding(n))===null||s===void 0?void 0:s.getLabel(),(i=this._keybindingService.lookupKeybinding(t))===null||i===void 0?void 0:i.getLabel()),null}afterRender(s){s||this.cancelInput(!0)}acceptInput(s){var i;(i=this._currentAcceptInput)===null||i===void 0||i.call(this,s)}cancelInput(s){var i;(i=this._currentCancelInput)===null||i===void 0||i.call(this,s)}getInput(s,i,n,t,a,u){this._domNode.classList.toggle("preview",a),this._position=new k.Position(s.startLineNumber,s.startColumn),this._input.value=i,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",t.toString()),this._input.size=Math.max((s.endColumn-s.startColumn)*1.1,20);const h=new L.DisposableStore;return new Promise(r=>{this._currentCancelInput=c=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r(c),!0),this._currentAcceptInput=c=>{if(this._input.value.trim().length===0||this._input.value===i){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r({newName:this._input.value,wantsPreview:a&&c})},h.add(u.onCancellationRequested(()=>this.cancelInput(!0))),h.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!document.hasFocus()))),this._show()}).finally(()=>{h.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};e.RenameInputField=g,e.RenameInputField=g=ke([fe(2,_.IThemeService),fe(3,S.IKeybindingService),fe(4,D.IContextKeyService)],g)}),define(ne[858],se([1,0,49,13,19,9,2,20,22,104,16,132,33,12,5,21,187,190,694,98,15,8,70,43,77,37,857,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w){"use strict";var E;Object.defineProperty(e,"__esModule",{value:!0}),e.RenameAction=e.rename=void 0;class I{constructor(N,F,O){this.model=N,this.position=F,this._providerRenameIdx=0,this._providers=O.ordered(N)}hasProvider(){return this._providers.length>0}resolveRenameLocation(N){return we(this,void 0,void 0,function*(){const F=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?F.join(` -`):void 0}:{range:t.Range.fromPositions(this.position),text:"",rejectReason:F.length>0?F.join(` -`):void 0}})}provideRenameEdits(N,F){return we(this,void 0,void 0,function*(){return this._provideRenameEdits(N,this._providerRenameIdx,[],F)})}_provideRenameEdits(N,F,O,W){return we(this,void 0,void 0,function*(){const U=this._providers[F];if(!U)return{edits:[],rejectReason:O.join(` -`)};const j=yield U.provideRenameEdits(this.model,this.position,N,W);if(j){if(j.rejectReason)return this._provideRenameEdits(N,F+1,O.concat(j.rejectReason),W)}else return this._provideRenameEdits(N,F+1,O.concat(r.localize(0,null)),W);return j})}}function M(A,N,F,O){return we(this,void 0,void 0,function*(){const W=new I(N,F,A),U=yield W.resolveRenameLocation(y.CancellationToken.None);return U?.rejectReason?{edits:[],rejectReason:U.rejectReason}:W.provideRenameEdits(O,y.CancellationToken.None)})}e.rename=M;let P=E=class{static get(N){return N.getContribution(E.ID)}constructor(N,F,O,W,U,j,R,K){this.editor=N,this._instaService=F,this._notificationService=O,this._bulkEditService=W,this._progressService=U,this._logService=j,this._configService=R,this._languageFeaturesService=K,this._disposableStore=new S.DisposableStore,this._cts=new y.CancellationTokenSource,this._renameInputField=this._disposableStore.add(this._instaService.createInstance(b.RenameInputField,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var N,F;return we(this,void 0,void 0,function*(){if(this._cts.dispose(!0),this._cts=new y.CancellationTokenSource,!this.editor.hasModel())return;const O=this.editor.getPosition(),W=new I(this.editor.getModel(),O,this._languageFeaturesService.renameProvider);if(!W.hasProvider())return;const U=new g.EditorStateCancellationTokenSource(this.editor,5,void 0,this._cts.token);let j;try{const B=W.resolveRenameLocation(U.token);this._progressService.showWhile(B,250),j=yield B}catch(B){(N=h.MessageController.get(this.editor))===null||N===void 0||N.showMessage(B||r.localize(1,null),O);return}finally{U.dispose()}if(!j)return;if(j.rejectReason){(F=h.MessageController.get(this.editor))===null||F===void 0||F.showMessage(j.rejectReason,O);return}if(U.token.isCancellationRequested)return;const R=new g.EditorStateCancellationTokenSource(this.editor,5,j.range,this._cts.token),K=this.editor.getSelection();let G=0,Z=j.text.length;!t.Range.isEmpty(K)&&!t.Range.spansMultipleLines(K)&&t.Range.containsRange(j.range,K)&&(G=Math.max(0,K.startColumn-j.range.startColumn),Z=Math.min(j.range.endColumn,K.endColumn)-j.range.startColumn);const J=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),X=yield this._renameInputField.getInput(j.range,j.text,G,Z,J,R.token);if(typeof X=="boolean"){X&&this.editor.focus(),R.dispose();return}this.editor.focus();const H=(0,k.raceCancellation)(W.provideRenameEdits(X.newName,R.token),R.token).then(B=>we(this,void 0,void 0,function*(){if(!(!B||!this.editor.hasModel())){if(B.rejectReason){this._notificationService.info(B.rejectReason);return}this.editor.setSelection(t.Range.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(B,{editor:this.editor,showPreview:X.wantsPreview,label:r.localize(2,null,j?.text,X.newName),code:"undoredo.rename",quotableLabel:r.localize(3,null,j?.text,X.newName),respectAutoSaveConfig:!0}).then(V=>{V.ariaSummary&&(0,L.alert)(r.localize(4,null,j.text,X.newName,V.ariaSummary))}).catch(V=>{this._notificationService.error(r.localize(5,null)),this._logService.error(V)})}}),B=>{this._notificationService.error(r.localize(6,null)),this._logService.error(B)}).finally(()=>{R.dispose()});return this._progressService.showWhile(H,250),H})}acceptRenameInput(N){this._renameInputField.acceptInput(N)}cancelRenameInput(){this._renameInputField.cancelInput(!0)}};P.ID="editor.contrib.renameController",P=E=ke([fe(1,d.IInstantiationService),fe(2,p.INotificationService),fe(3,s.IBulkEditService),fe(4,m.IEditorProgressService),fe(5,l.ILogService),fe(6,u.ITextResourceConfigurationService),fe(7,w.ILanguageFeaturesService)],P);class x extends C.EditorAction{constructor(){super({id:"editor.action.rename",label:r.localize(7,null),alias:"Rename Symbol",precondition:o.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(N,F){const O=N.get(i.ICodeEditorService),[W,U]=Array.isArray(F)&&F||[void 0,void 0];return _.URI.isUri(W)&&n.Position.isIPosition(U)?O.openCodeEditor({resource:W},O.getActiveCodeEditor()).then(j=>{j&&(j.setPosition(U),j.invokeWithinContext(R=>(this.reportTelemetry(R,j),this.run(R,j))))},D.onUnexpectedError):super.runCommand(N,F)}run(N,F){const O=P.get(F);return O?O.run():Promise.resolve()}}e.RenameAction=x,(0,C.registerEditorContribution)(P.ID,P,4),(0,C.registerEditorAction)(x);const T=C.EditorCommand.bindToContribution(P.get);(0,C.registerEditorCommand)(new T({id:"acceptRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.acceptRenameInput(!1),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:3}})),(0,C.registerEditorCommand)(new T({id:"acceptRenameInputWithPreview",precondition:o.ContextKeyExpr.and(b.CONTEXT_RENAME_INPUT_VISIBLE,o.ContextKeyExpr.has("config.editor.rename.enablePreview")),handler:A=>A.acceptRenameInput(!0),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:1024+3}})),(0,C.registerEditorCommand)(new T({id:"cancelRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.cancelRenameInput(),kbOpts:{weight:100+99,kbExpr:a.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,C.registerModelAndPositionCommand)("_executeDocumentRenameProvider",function(A,N,F,...O){const[W]=O;(0,f.assertType)(typeof W=="string");const{renameProvider:U}=A.get(w.ILanguageFeaturesService);return M(U,N,F,W)}),(0,C.registerModelAndPositionCommand)("_executePrepareRename",function(A,N,F){return we(this,void 0,void 0,function*(){const{renameProvider:O}=A.get(w.ILanguageFeaturesService),U=yield new I(N,F,O).resolveRenameLocation(y.CancellationToken.None);if(U?.rejectReason)throw new Error(U.rejectReason);return U})}),v.Registry.as(c.Extensions.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:r.localize(8,null),default:!0,type:"boolean"}}})}),define(ne[859],se([1,0,2,9,51,28,13,19,23,252,333,76,58,18,234,149,297]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentSemanticTokensFeature=void 0;let r=class extends L.Disposable{constructor(l,p,m,v,b,w){super(),this._watchers=Object.create(null);const E=P=>{this._watchers[P.uri.toString()]=new c(P,l,m,b,w)},I=(P,x)=>{x.dispose(),delete this._watchers[P.uri.toString()]},M=()=>{for(const P of p.getModels()){const x=this._watchers[P.uri.toString()];(0,u.isSemanticColoringEnabled)(P,m,v)?x||E(P):x&&I(P,x)}};this._register(p.onModelAdded(P=>{(0,u.isSemanticColoringEnabled)(P,m,v)&&E(P)})),this._register(p.onModelRemoved(P=>{const x=this._watchers[P.uri.toString()];x&&I(P,x)})),this._register(v.onDidChangeConfiguration(P=>{P.affectsConfiguration(u.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&M()})),this._register(m.onDidColorThemeChange(M))}dispose(){for(const l of Object.values(this._watchers))l.dispose();super.dispose()}};e.DocumentSemanticTokensFeature=r,e.DocumentSemanticTokensFeature=r=ke([fe(0,t.ISemanticTokensStylingService),fe(1,y.IModelService),fe(2,_.IThemeService),fe(3,D.IConfigurationService),fe(4,s.ILanguageFeatureDebounceService),fe(5,n.ILanguageFeaturesService)],r);let c=h=class extends L.Disposable{constructor(l,p,m,v,b){super(),this._semanticTokensStylingService=p,this._isDisposed=!1,this._model=l,this._provider=b.documentSemanticTokensProvider,this._debounceInformation=v.for(this._provider,"DocumentSemanticTokens",{min:h.REQUEST_MIN_DELAY,max:h.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new S.RunOnceScheduler(()=>this._fetchDocumentSemanticTokensNow(),h.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const w=()=>{(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const E of this._provider.all(l))typeof E.onDidChange=="function"&&this._documentProvidersChangeListeners.push(E.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};w(),this._register(this._provider.onDidChange(()=>{w(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(m.onDidColorThemeChange(E=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,C.hasDocumentSemanticTokensProvider)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;const l=new f.CancellationTokenSource,p=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,m=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,v=(0,C.getDocumentSemanticTokens)(this._provider,this._model,p,m,l.token);this._currentDocumentRequestCancellationTokenSource=l,this._providersChangedDuringRequest=!1;const b=[],w=this._model.onDidChangeContent(I=>{b.push(I)}),E=new i.StopWatch(!1);v.then(I=>{if(this._debounceInformation.update(this._model,E.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),!I)this._setDocumentSemanticTokens(null,null,null,b);else{const{provider:M,tokens:P}=I,x=this._semanticTokensStylingService.getStyling(M);this._setDocumentSemanticTokens(M,P||null,x,b)}},I=>{I&&(k.isCancellationError(I)||typeof I.message=="string"&&I.message.indexOf("busy")!==-1)||k.onUnexpectedError(I),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),(b.length>0||this._providersChangedDuringRequest)&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(l,p,m,v,b){b=Math.min(b,m.length-v,l.length-p);for(let w=0;w{(v.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){l&&p&&l.releaseDocumentSemanticTokens(p.resultId);return}if(!l||!m){this._model.tokenization.setSemanticTokens(null,!1);return}if(!p){this._model.tokenization.setSemanticTokens(null,!0),w();return}if((0,C.isSemanticTokensEdits)(p)){if(!b){this._model.tokenization.setSemanticTokens(null,!0);return}if(p.edits.length===0)p={resultId:p.resultId,data:b.data};else{let E=0;for(const T of p.edits)E+=(T.data?T.data.length:0)-T.deleteCount;const I=b.data,M=new Uint32Array(I.length+E);let P=I.length,x=M.length;for(let T=p.edits.length-1;T>=0;T--){const A=p.edits[T];if(A.start>I.length){m.warnInvalidEditStart(b.resultId,p.resultId,T,A.start,I.length),this._model.tokenization.setSemanticTokens(null,!0);return}const N=P-(A.start+A.deleteCount);N>0&&(h._copy(I,P-N,M,x-N,N),x-=N),A.data&&(h._copy(A.data,0,M,x-A.data.length,A.data.length),x-=A.data.length),P=A.start}P>0&&h._copy(I,0,M,0,P),p={resultId:p.resultId,data:M}}}if((0,C.isSemanticTokens)(p)){this._currentDocumentResponse=new o(l,p.resultId,p.data);const E=(0,g.toMultilineTokens2)(p,m,this._model.getLanguageId());if(v.length>0)for(const I of v)for(const M of E)for(const P of I.changes)M.applyEdit(P.range,P.text);this._model.tokenization.setSemanticTokens(E,!0)}else this._model.tokenization.setSemanticTokens(null,!0);w()}};c.REQUEST_MIN_DELAY=300,c.REQUEST_MAX_DELAY=2e3,c=h=ke([fe(1,t.ISemanticTokensStylingService),fe(2,_.IThemeService),fe(3,s.ILanguageFeatureDebounceService),fe(4,n.ILanguageFeaturesService)],c);class o{constructor(l,p,m){this.provider=l,this.resultId=p,this.data=m}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}(0,a.registerEditorFeature)(r)}),define(ne[860],se([1,0,13,2,16,333,297,252,28,23,76,58,18,234]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportSemanticTokensContribution=void 0;let t=class extends k.Disposable{constructor(u,h,r,c,o,d){super(),this._semanticTokensStylingService=h,this._themeService=r,this._configurationService=c,this._editor=u,this._provider=d.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new L.RunOnceScheduler(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const l=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{l()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),l()})),this._register(this._editor.onDidChangeModelContent(p=>{this._cancelAll(),l()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),l()})),this._register(this._configurationService.onDidChangeConfiguration(p=>{p.affectsConfiguration(S.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&(this._cancelAll(),l())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),l()})),l()}_cancelAll(){for(const u of this._outstandingRequests)u.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(u){for(let h=0,r=this._outstandingRequests.length;hthis._requestRange(u,r)))}_requestRange(u,h){const r=u.getVersionId(),c=(0,L.createCancelablePromise)(d=>Promise.resolve((0,D.getDocumentRangeSemanticTokens)(this._provider,u,h,d))),o=new s.StopWatch(!1);return c.then(d=>{if(this._debounceInformation.update(u,o.elapsed()),!d||!d.tokens||u.isDisposed()||u.getVersionId()!==r)return;const{provider:l,tokens:p}=d,m=this._semanticTokensStylingService.getStyling(l);u.tokenization.setPartialSemanticTokens(h,(0,f.toMultilineTokens2)(p,m,u.getLanguageId()))}).then(()=>this._removeOutstandingRequest(c),()=>this._removeOutstandingRequest(c)),c}};e.ViewportSemanticTokensContribution=t,t.ID="editor.contrib.viewportSemanticTokens",e.ViewportSemanticTokensContribution=t=ke([fe(1,n.ISemanticTokensStylingService),fe(2,g.IThemeService),fe(3,_.IConfigurationService),fe(4,C.ILanguageFeatureDebounceService),fe(5,i.ILanguageFeaturesService)],t),(0,y.registerEditorContribution)(t.ID,t,1)}),define(ne[861],se([1,0,7,226,25,26,6,72,2,22,29,775,51,41,704,330,62,23,344]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemRenderer=e.getAriaId=void 0;function o(v){return`suggest-aria-id:${v}`}e.getAriaId=o;const d=(0,u.registerIcon)("suggest-more-info",y.Codicon.chevronRight,t.localize(0,null)),l=new(c=class{extract(b,w){if(b.textLabel.match(c._regexStrict))return w[0]=b.textLabel,!0;if(b.completion.detail&&b.completion.detail.match(c._regexStrict))return w[0]=b.completion.detail,!0;if(typeof b.completion.documentation=="string"){const E=c._regexRelaxed.exec(b.completion.documentation);if(E&&(E.index===0||E.index+E[0].length===b.completion.documentation.length))return w[0]=E[0],!0}return!1}},c._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,c._regexStrict=new RegExp(`^${c._regexRelaxed.source}$`,"i"),c);let p=class{constructor(b,w,E,I){this._editor=b,this._modelService=w,this._languageService=E,this._themeService=I,this._onDidToggleDetails=new S.Emitter,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(b){const w=new _.DisposableStore,E=b;E.classList.add("show-file-icons");const I=(0,L.append)(b,(0,L.$)(".icon")),M=(0,L.append)(I,(0,L.$)("span.colorspan")),P=(0,L.append)(b,(0,L.$)(".contents")),x=(0,L.append)(P,(0,L.$)(".main")),T=(0,L.append)(x,(0,L.$)(".icon-label.codicon")),A=(0,L.append)(x,(0,L.$)("span.left")),N=(0,L.append)(x,(0,L.$)("span.right")),F=new k.IconLabel(A,{supportHighlights:!0,supportIcons:!0});w.add(F);const O=(0,L.append)(A,(0,L.$)("span.signature-label")),W=(0,L.append)(A,(0,L.$)("span.qualifier-label")),U=(0,L.append)(N,(0,L.$)("span.details-label")),j=(0,L.append)(N,(0,L.$)("span.readMore"+D.ThemeIcon.asCSSSelector(d)));j.title=t.localize(1,null);const R=()=>{const K=this._editor.getOptions(),G=K.get(49),Z=G.getMassagedFontFamily(),J=G.fontFeatureSettings,X=K.get(117)||G.fontSize,H=K.get(118)||G.lineHeight,B=G.fontWeight,V=G.letterSpacing,Y=`${X}px`,ie=`${H}px`,ae=`${V}px`;E.style.fontSize=Y,E.style.fontWeight=B,E.style.letterSpacing=ae,x.style.fontFamily=Z,x.style.fontFeatureSettings=J,x.style.lineHeight=ie,I.style.height=ie,I.style.width=ie,j.style.height=ie,j.style.width=ie};return R(),w.add(this._editor.onDidChangeConfiguration(K=>{(K.hasChanged(49)||K.hasChanged(117)||K.hasChanged(118))&&R()})),{root:E,left:A,right:N,icon:I,colorspan:M,iconLabel:F,iconContainer:T,parametersLabel:O,qualifierLabel:W,detailsLabel:U,readMore:j,disposables:w}}renderElement(b,w,E){const{completion:I}=b;E.root.id=o(w),E.colorspan.style.backgroundColor="";const M={labelEscapeNewLines:!0,matches:(0,f.createMatches)(b.score)},P=[];if(I.kind===19&&l.extract(b,P))E.icon.className="icon customcolor",E.iconContainer.className="icon hide",E.colorspan.style.backgroundColor=P[0];else if(I.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){E.icon.className="icon hide",E.iconContainer.className="icon hide";const x=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FILE),T=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FILE);M.extraClasses=x.length>T.length?x:T}else I.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(E.icon.className="icon hide",E.iconContainer.className="icon hide",M.extraClasses=[(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FOLDER),(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FOLDER)].flat()):(E.icon.className="icon hide",E.iconContainer.className="",E.iconContainer.classList.add("suggest-icon",...D.ThemeIcon.asClassNameArray(C.CompletionItemKinds.toIcon(I.kind))));I.tags&&I.tags.indexOf(1)>=0&&(M.extraClasses=(M.extraClasses||[]).concat(["deprecated"]),M.matches=[]),E.iconLabel.setLabel(b.textLabel,void 0,M),typeof I.label=="string"?(E.parametersLabel.textContent="",E.detailsLabel.textContent=m(I.detail||""),E.root.classList.add("string-label")):(E.parametersLabel.textContent=m(I.label.detail||""),E.detailsLabel.textContent=m(I.label.description||""),E.root.classList.remove("string-label")),this._editor.getOption(116).showInlineDetails?(0,L.show)(E.detailsLabel):(0,L.hide)(E.detailsLabel),(0,r.canExpandCompletionItem)(b)?(E.right.classList.add("can-expand-details"),(0,L.show)(E.readMore),E.readMore.onmousedown=x=>{x.stopPropagation(),x.preventDefault()},E.readMore.onclick=x=>{x.stopPropagation(),x.preventDefault(),this._onDidToggleDetails.fire()}):(E.right.classList.remove("can-expand-details"),(0,L.hide)(E.readMore),E.readMore.onmousedown=null,E.readMore.onclick=null)}disposeTemplate(b){b.disposables.dispose()}};e.ItemRenderer=p,e.ItemRenderer=p=ke([fe(1,i.IModelService),fe(2,n.ILanguageService),fe(3,h.IThemeService)],p);function m(v){return v.replace(/\r\n|\r|\n/g,"")}}),define(ne[862],se([1,0,855,37,136,33,94,6,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneGotoLineQuickAccessProvider=void 0;let s=class extends L.AbstractGotoLineQuickAccessProvider{constructor(t){super(),this.editorService=t,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var t;return(t=this.editorService.getFocusedCodeEditor())!==null&&t!==void 0?t:void 0}};e.StandaloneGotoLineQuickAccessProvider=s,e.StandaloneGotoLineQuickAccessProvider=s=ke([fe(0,D.ICodeEditorService)],s);class i extends _.EditorAction{constructor(){super({id:i.ID,label:S.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})}run(t){t.get(C.IQuickInputService).quickAccess.show(s.PREFIX)}}e.GotoLineAction=i,i.ID="editor.action.gotoLine",(0,_.registerEditorAction)(i),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:s,prefix:s.PREFIX,helpEntries:[{description:S.GoToLineNLS.gotoLineActionLabel,commandId:i.ID}]})}),define(ne[863],se([1,0,856,37,136,33,94,6,16,21,71,188,18,172,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoSymbolAction=e.StandaloneGotoSymbolQuickAccessProvider=void 0;let n=class extends L.AbstractGotoSymbolQuickAccessProvider{constructor(u,h,r){super(h,r),this.editorService=u,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var u;return(u=this.editorService.getFocusedCodeEditor())!==null&&u!==void 0?u:void 0}};e.StandaloneGotoSymbolQuickAccessProvider=n,e.StandaloneGotoSymbolQuickAccessProvider=n=ke([fe(0,D.ICodeEditorService),fe(1,i.ILanguageFeaturesService),fe(2,s.IOutlineModelService)],n);class t extends _.EditorAction{constructor(){super({id:t.ID,label:S.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:g.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(u){u.get(C.IQuickInputService).quickAccess.show(L.AbstractGotoSymbolQuickAccessProvider.PREFIX,{itemActivation:C.ItemActivation.NONE})}}e.GotoSymbolAction=t,t.ID="editor.action.quickOutline",(0,_.registerEditorAction)(t),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:n,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,helpEntries:[{description:S.QuickOutlineNLS.quickOutlineActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,commandId:t.ID},{description:S.QuickOutlineNLS.quickOutlineByCategoryActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY}]})}),define(ne[360],se([1,0,7,54,841,33,15,50,23]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneCodeEditorService=void 0;let g=class extends y.AbstractCodeEditorService{constructor(s,i){super(i),this.onCodeEditorAdd(()=>this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=s.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this.registerCodeEditorOpenHandler((n,t,a)=>we(this,void 0,void 0,function*(){return t?this.doOpenEditor(t,n):null}))}_checkContextKey(){let s=!1;for(const i of this.listCodeEditors())if(!i.isSimpleWidget){s=!0;break}this._editorIsOpen.set(s)}setActiveCodeEditor(s){this._activeCodeEditor=s}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(s,i){if(!this.findModel(s,i.resource)){if(i.resource){const a=i.resource.scheme;if(a===k.Schemas.http||a===k.Schemas.https)return(0,L.windowOpenNoOpener)(i.resource.toString()),s}return null}const t=i.options?i.options.selection:null;if(t)if(typeof t.endLineNumber=="number"&&typeof t.endColumn=="number")s.setSelection(t),s.revealRangeInCenter(t,1);else{const a={lineNumber:t.startLineNumber,column:t.startColumn};s.setPosition(a),s.revealPositionInCenter(a,1)}return s}findModel(s,i){const n=s.getModel();return n&&n.uri.toString()!==i.toString()?null:n}};e.StandaloneCodeEditorService=g,e.StandaloneCodeEditorService=g=ke([fe(0,S.IContextKeyService),fe(1,_.IThemeService)],g),(0,f.registerSingleton)(D.ICodeEditorService,g,0)}),define(ne[864],se([1,0,80,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hc_light=e.hc_black=e.vs_dark=e.vs=void 0,e.vs={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFE",[k.editorForeground]:"#000000",[k.editorInactiveSelection]:"#E5EBF1",[L.editorIndentGuide1]:"#D3D3D3",[L.editorActiveIndentGuide1]:"#939393",[k.editorSelectionHighlight]:"#ADD6FF4D"}},e.vs_dark={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#1E1E1E",[k.editorForeground]:"#D4D4D4",[k.editorInactiveSelection]:"#3A3D41",[L.editorIndentGuide1]:"#404040",[L.editorActiveIndentGuide1]:"#707070",[k.editorSelectionHighlight]:"#ADD6FF26"}},e.hc_black={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#000000",[k.editorForeground]:"#FFFFFF",[L.editorIndentGuide1]:"#FFFFFF",[L.editorActiveIndentGuide1]:"#FFFFFF"}},e.hc_light={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFF",[k.editorForeground]:"#292929",[L.editorIndentGuide1]:"#292929",[L.editorActiveIndentGuide1]:"#292929"}}}),define(ne[361],se([1,0,7,52,38,6,29,124,504,864,37,31,23,2,88,835]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneThemeService=e.HC_LIGHT_THEME_NAME=e.HC_BLACK_THEME_NAME=e.VS_DARK_THEME_NAME=e.VS_LIGHT_THEME_NAME=void 0,e.VS_LIGHT_THEME_NAME="vs",e.VS_DARK_THEME_NAME="vs-dark",e.HC_BLACK_THEME_NAME="hc-black",e.HC_LIGHT_THEME_NAME="hc-light";const u=C.Registry.as(s.Extensions.ColorContribution),h=C.Registry.as(i.Extensions.ThemingContribution);class r{constructor(m,v){this.semanticHighlighting=!1,this.themeData=v;const b=v.base;m.length>0?(c(m)?this.id=m:this.id=b+" "+m,this.themeName=m):(this.id=b,this.themeName=b),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const m=new Map;for(const v in this.themeData.colors)m.set(v,y.Color.fromHex(this.themeData.colors[v]));if(this.themeData.inherit){const v=o(this.themeData.base);for(const b in v.colors)m.has(b)||m.set(b,y.Color.fromHex(v.colors[b]))}this.colors=m}return this.colors}getColor(m,v){const b=this.getColors().get(m);if(b)return b;if(v!==!1)return this.getDefault(m)}getDefault(m){let v=this.defaultColors[m];return v||(v=u.resolveDefaultColor(m,this),this.defaultColors[m]=v,v)}defines(m){return this.getColors().has(m)}get type(){switch(this.base){case e.VS_LIGHT_THEME_NAME:return t.ColorScheme.LIGHT;case e.HC_BLACK_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_DARK;case e.HC_LIGHT_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_LIGHT;default:return t.ColorScheme.DARK}}get tokenTheme(){if(!this._tokenTheme){let m=[],v=[];if(this.themeData.inherit){const E=o(this.themeData.base);m=E.rules,E.encodedTokensColors&&(v=E.encodedTokensColors)}const b=this.themeData.colors["editor.foreground"],w=this.themeData.colors["editor.background"];if(b||w){const E={token:""};b&&(E.foreground=b),w&&(E.background=w),m.push(E)}m=m.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(v=this.themeData.encodedTokensColors),this._tokenTheme=_.TokenTheme.createFromRawTokenTheme(m,v)}return this._tokenTheme}getTokenStyleMetadata(m,v,b){const E=this.tokenTheme._match([m].concat(v).join(".")).metadata,I=f.TokenMetadata.getForeground(E),M=f.TokenMetadata.getFontStyle(E);return{foreground:I,italic:!!(M&1),bold:!!(M&2),underline:!!(M&4),strikethrough:!!(M&8)}}}function c(p){return p===e.VS_LIGHT_THEME_NAME||p===e.VS_DARK_THEME_NAME||p===e.HC_BLACK_THEME_NAME||p===e.HC_LIGHT_THEME_NAME}function o(p){switch(p){case e.VS_LIGHT_THEME_NAME:return g.vs;case e.VS_DARK_THEME_NAME:return g.vs_dark;case e.HC_BLACK_THEME_NAME:return g.hc_black;case e.HC_LIGHT_THEME_NAME:return g.hc_light}}function d(p){const m=o(p);return new r(p,m)}class l extends n.Disposable{constructor(){super(),this._onColorThemeChange=this._register(new D.Emitter),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new D.Emitter),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new a.UnthemedProductIconTheme,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(e.VS_LIGHT_THEME_NAME,d(e.VS_LIGHT_THEME_NAME)),this._knownThemes.set(e.VS_DARK_THEME_NAME,d(e.VS_DARK_THEME_NAME)),this._knownThemes.set(e.HC_BLACK_THEME_NAME,d(e.HC_BLACK_THEME_NAME)),this._knownThemes.set(e.HC_LIGHT_THEME_NAME,d(e.HC_LIGHT_THEME_NAME));const m=(0,a.getIconsStyleSheet)(this);this._codiconCSS=m.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(e.VS_LIGHT_THEME_NAME),this._onOSSchemeChanged(),m.onDidChange(()=>{this._codiconCSS=m.getCSS(),this._updateCSS()}),(0,k.addMatchMediaChangeListener)("(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(m){return L.isInShadowDOM(m)?this._registerShadowDomContainer(m):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=L.createStyleSheet(void 0,m=>{m.className="monaco-colors",m.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),n.Disposable.None}_registerShadowDomContainer(m){const v=L.createStyleSheet(m,b=>{b.className="monaco-colors",b.textContent=this._allCSS});return this._styleElements.push(v),{dispose:()=>{for(let b=0;b{b.base===m&&b.notifyBaseUpdated()}),this._theme.themeName===m&&this.setTheme(m)}getColorTheme(){return this._theme}setColorMapOverride(m){this._colorMapOverride=m,this._updateThemeOrColorMap()}setTheme(m){let v;this._knownThemes.has(m)?v=this._knownThemes.get(m):v=this._knownThemes.get(e.VS_LIGHT_THEME_NAME),this._updateActualTheme(v)}_updateActualTheme(m){!m||this._theme===m||(this._theme=m,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){const m=window.matchMedia("(forced-colors: active)").matches;if(m!==(0,t.isHighContrast)(this._theme.type)){let v;(0,t.isDark)(this._theme.type)?v=m?e.HC_BLACK_THEME_NAME:e.VS_DARK_THEME_NAME:v=m?e.HC_LIGHT_THEME_NAME:e.VS_LIGHT_THEME_NAME,this._updateActualTheme(this._knownThemes.get(v))}}}setAutoDetectHighContrast(m){this._autoDetectHighContrast=m,this._onOSSchemeChanged()}_updateThemeOrColorMap(){const m=[],v={},b={addRule:I=>{v[I]||(m.push(I),v[I]=!0)}};h.getThemingParticipants().forEach(I=>I(this._theme,b,this._environment));const w=[];for(const I of u.getColors()){const M=this._theme.getColor(I.id,!0);M&&w.push(`${(0,s.asCssVariableName)(I.id)}: ${M.toString()};`)}b.addRule(`.monaco-editor, .monaco-diff-editor { ${w.join(` -`)} }`);const E=this._colorMapOverride||this._theme.tokenTheme.getColorMap();b.addRule((0,_.generateTokensCSSForColorMap)(E)),this._themeCSS=m.join(` -`),this._updateCSS(),S.TokenizationRegistry.setColorMap(E),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._styleElements.forEach(m=>m.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}e.StandaloneThemeService=l}),define(ne[865],se([1,0,16,133,94,88,361]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class f extends L.EditorAction{constructor(){super({id:"editor.action.toggleHighContrast",label:y.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(g,C){const s=g.get(k.IStandaloneThemeService),i=s.getColorTheme();(0,D.isHighContrast)(i.type)?(s.setTheme(this._originalThemeName||((0,D.isDark)(i.type)?S.VS_DARK_THEME_NAME:S.VS_LIGHT_THEME_NAME)),this._originalThemeName=null):(s.setTheme((0,D.isDark)(i.type)?S.HC_BLACK_THEME_NAME:S.HC_LIGHT_THEME_NAME),this._originalThemeName=i.themeName)}}(0,L.registerEditorAction)(f)}),define(ne[160],se([1,0,7,44,131,315,39,216,2,17,717,30,740,15,57,8,34,43,87,23,26,88,20,31,105,84,472]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createActionViewItem=e.DropdownWithDefaultActionViewItem=e.SubmenuEntryActionViewItem=e.MenuEntryActionViewItem=e.createAndFillInActionBarActions=e.createAndFillInContextMenuActions=void 0;function b(A,N,F,O){const W=A.getActions(N),U=L.ModifierKeyEmitter.getInstance(),j=U.keyStatus.altKey||(g.isWindows||g.isLinux)&&U.keyStatus.shiftKey;E(W,F,j,O?R=>R===O:R=>R==="navigation")}e.createAndFillInContextMenuActions=b;function w(A,N,F,O,W,U){const j=A.getActions(N);E(j,F,!1,typeof O=="string"?K=>K===O:O,W,U)}e.createAndFillInActionBarActions=w;function E(A,N,F,O=j=>j==="navigation",W=()=>!1,U=!1){let j,R;Array.isArray(N)?(j=N,R=N):(j=N.primary,R=N.secondary);const K=new Set;for(const[G,Z]of A){let J;O(G)?(J=j,J.length>0&&U&&J.push(new S.Separator)):(J=R,J.length>0&&J.push(new S.Separator));for(let X of Z){F&&(X=X instanceof s.MenuItemAction&&X.alt?X.alt:X);const H=J.push(X);X instanceof S.SubmenuAction&&K.add({group:G,action:X,index:H-1})}}for(const{group:G,action:Z,index:J}of K){const X=O(G)?j:R,H=Z.actions;H.length<=1&&W(Z,G,X.length)&&X.splice(J,1,...H)}}let I=class extends y.ActionViewItem{constructor(N,F,O,W,U,j,R,K){super(void 0,N,{icon:!!(N.class||N.item.icon),label:!N.class&&!N.item.icon,draggable:F?.draggable,keybinding:F?.keybinding,hoverDelegate:F?.hoverDelegate}),this._keybindingService=O,this._notificationService=W,this._contextKeyService=U,this._themeService=j,this._contextMenuService=R,this._accessibilityService=K,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new _.MutableDisposable),this._altKey=L.ModifierKeyEmitter.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(N){return we(this,void 0,void 0,function*(){N.preventDefault(),N.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(F){this._notificationService.error(F)}})}render(N){if(super.render(N),N.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let F=!1;const O=()=>{var W;const U=!!(!((W=this._menuItemAction.alt)===null||W===void 0)&&W.enabled)&&(!this._accessibilityService.isMotionReduced()||F)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&F);U!==this._wantsAltCommand&&(this._wantsAltCommand=U,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(O)),this._register((0,L.addDisposableListener)(N,"mouseleave",W=>{F=!1,O()})),this._register((0,L.addDisposableListener)(N,"mouseenter",W=>{F=!0,O()})),O()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var N;const F=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),O=F&&F.getLabel(),W=this._commandAction.tooltip||this._commandAction.label;let U=O?(0,C.localize)(0,null,W,O):W;if(!this._wantsAltCommand&&(!((N=this._menuItemAction.alt)===null||N===void 0)&&N.enabled)){const j=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,R=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),K=R&&R.getLabel(),G=K?(0,C.localize)(1,null,j,K):j;U=(0,C.localize)(2,null,U,f.UILabelProvider.modifierLabels[g.OS].altKey,G)}return U}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(N){this._itemClassDispose.value=void 0;const{element:F,label:O}=this;if(!F||!O)return;const W=this._commandAction.checked&&(0,i.isICommandActionToggleInfo)(N.toggled)&&N.toggled.icon?N.toggled.icon:N.icon;if(W)if(o.ThemeIcon.isThemeIcon(W)){const U=o.ThemeIcon.asClassNameArray(W);O.classList.add(...U),this._itemClassDispose.value=(0,_.toDisposable)(()=>{O.classList.remove(...U)})}else O.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(W.dark):(0,L.asCSSUrl)(W.light),O.classList.add("icon"),this._itemClassDispose.value=(0,_.combinedDisposable)((0,_.toDisposable)(()=>{O.style.backgroundImage="",O.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}};e.MenuEntryActionViewItem=I,e.MenuEntryActionViewItem=I=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,n.IContextKeyService),fe(5,c.IThemeService),fe(6,t.IContextMenuService),fe(7,v.IAccessibilityService)],I);let M=class extends D.DropdownMenuActionViewItem{constructor(N,F,O,W,U){var j,R,K;const G=Object.assign(Object.assign({},F),{menuAsChild:(j=F?.menuAsChild)!==null&&j!==void 0?j:!1,classNames:(R=F?.classNames)!==null&&R!==void 0?R:o.ThemeIcon.isThemeIcon(N.item.icon)?o.ThemeIcon.asClassName(N.item.icon):void 0,keybindingProvider:(K=F?.keybindingProvider)!==null&&K!==void 0?K:Z=>O.lookupKeybinding(Z.id)});super(N,{getActions:()=>N.actions},W,G),this._keybindingService=O,this._contextMenuService=W,this._themeService=U}render(N){super.render(N),(0,l.assertType)(this.element),N.classList.add("menu-entry");const F=this._action,{icon:O}=F.item;if(O&&!o.ThemeIcon.isThemeIcon(O)){this.element.classList.add("icon");const W=()=>{this.element&&(this.element.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(O.dark):(0,L.asCSSUrl)(O.light))};W(),this._register(this._themeService.onDidColorThemeChange(()=>{W()}))}}};e.SubmenuEntryActionViewItem=M,e.SubmenuEntryActionViewItem=M=ke([fe(2,u.IKeybindingService),fe(3,t.IContextMenuService),fe(4,c.IThemeService)],M);let P=class extends y.BaseActionViewItem{constructor(N,F,O,W,U,j,R,K){var G,Z,J;super(null,N),this._keybindingService=O,this._notificationService=W,this._contextMenuService=U,this._menuService=j,this._instaService=R,this._storageService=K,this._container=null,this._options=F,this._storageKey=`${N.item.submenu.id}_lastActionId`;let X;const H=F?.persistLastActionId?K.get(this._storageKey,1):void 0;H&&(X=N.actions.find(V=>H===V.id)),X||(X=N.actions[0]),this._defaultAction=this._instaService.createInstance(I,X,{keybinding:this._getDefaultActionKeybindingLabel(X)});const B=Object.assign(Object.assign({keybindingProvider:V=>this._keybindingService.lookupKeybinding(V.id)},F),{menuAsChild:(G=F?.menuAsChild)!==null&&G!==void 0?G:!0,classNames:(Z=F?.classNames)!==null&&Z!==void 0?Z:["codicon","codicon-chevron-down"],actionRunner:(J=F?.actionRunner)!==null&&J!==void 0?J:new S.ActionRunner});this._dropdown=new D.DropdownMenuActionViewItem(N,N.actions,this._contextMenuService,B),this._dropdown.actionRunner.onDidRun(V=>{V.action instanceof s.MenuItemAction&&this.update(V.action)})}update(N){var F;!((F=this._options)===null||F===void 0)&&F.persistLastActionId&&this._storageService.store(this._storageKey,N.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(I,N,{keybinding:this._getDefaultActionKeybindingLabel(N)}),this._defaultAction.actionRunner=new class extends S.ActionRunner{runAction(O,W){return we(this,void 0,void 0,function*(){yield O.run(void 0)})}},this._container&&this._defaultAction.render((0,L.prepend)(this._container,(0,L.$)(".action-container")))}_getDefaultActionKeybindingLabel(N){var F;let O;if(!((F=this._options)===null||F===void 0)&&F.renderKeybindingWithDefaultActionLabel){const W=this._keybindingService.lookupKeybinding(N.id);W&&(O=`(${W.getLabel()})`)}return O}setActionContext(N){super.setActionContext(N),this._defaultAction.setActionContext(N),this._dropdown.setActionContext(N)}render(N){this._container=N,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const F=(0,L.$)(".action-container");this._defaultAction.render((0,L.append)(this._container,F)),this._register((0,L.addDisposableListener)(F,L.EventType.KEY_DOWN,W=>{const U=new k.StandardKeyboardEvent(W);U.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),U.stopPropagation())}));const O=(0,L.$)(".dropdown-action-container");this._dropdown.render((0,L.append)(this._container,O)),this._register((0,L.addDisposableListener)(O,L.EventType.KEY_DOWN,W=>{var U;const j=new k.StandardKeyboardEvent(W);j.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(U=this._defaultAction.element)===null||U===void 0||U.focus(),j.stopPropagation())}))}focus(N){N?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(N){N?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};e.DropdownWithDefaultActionViewItem=P,e.DropdownWithDefaultActionViewItem=P=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,t.IContextMenuService),fe(5,s.IMenuService),fe(6,a.IInstantiationService),fe(7,r.IStorageService)],P);let x=class extends y.SelectActionViewItem{constructor(N,F){super(null,N,N.actions.map(O=>({text:O.id===S.Separator.ID?"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500":O.label,isDisabled:!O.enabled})),0,F,m.defaultSelectBoxStyles,{ariaLabel:N.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,N.actions.findIndex(O=>O.checked)))}render(N){super.render(N),N.style.borderColor=(0,p.asCssVariable)(p.selectBorder)}runAction(N,F){const O=this.action.actions[F];O&&this.actionRunner.run(O)}};x=ke([fe(1,t.IContextViewService)],x);function T(A,N,F){return N instanceof s.MenuItemAction?A.createInstance(I,N,F):N instanceof s.SubmenuItemAction?N.item.isSelection?A.createInstance(x,N):N.item.rememberDefaultAction?A.createInstance(P,N,Object.assign(Object.assign({},F),{persistLastActionId:!0})):A.createInstance(M,N,F):void 0}e.createActionViewItem=T}),define(ne[253],se([1,0,7,131,222,39,14,13,25,2,42,17,26,12,29,214,681,160,817,30,27,15,57,8,34,79,62,451]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";var w;Object.defineProperty(e,"__esModule",{value:!0}),e.CustomizedMenuWorkbenchToolBar=e.InlineSuggestionHintsContentWidget=e.InlineCompletionsHintsWidget=void 0;let E=class extends g.Disposable{constructor(F,O,W){super(),this.editor=F,this.model=O,this.instantiationService=W,this.alwaysShowToolbar=(0,C.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).showToolbar==="always"),this.sessionPosition=void 0,this.position=(0,C.derived)(U=>{var j,R,K;const G=(j=this.model.read(U))===null||j===void 0?void 0:j.ghostText.read(U);if(!this.alwaysShowToolbar.read(U)||!G||G.parts.length===0)return this.sessionPosition=void 0,null;const Z=G.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==G.lineNumber&&(this.sessionPosition=void 0);const J=new n.Position(G.lineNumber,Math.min(Z,(K=(R=this.sessionPosition)===null||R===void 0?void 0:R.column)!==null&&K!==void 0?K:Number.MAX_SAFE_INTEGER));return this.sessionPosition=J,J}),this._register((0,C.autorunWithStore)((U,j)=>{const R=this.model.read(U);if(!R||!this.alwaysShowToolbar.read(U))return;const K=j.add(this.instantiationService.createInstance(P,this.editor,!0,this.position,R.selectedInlineCompletionIndex,R.inlineCompletionsCount,R.selectedInlineCompletion.map(G=>{var Z;return(Z=G?.inlineCompletion.source.inlineCompletions.commands)!==null&&Z!==void 0?Z:[]})));F.addContentWidget(K),j.add((0,g.toDisposable)(()=>F.removeContentWidget(K))),j.add((0,C.autorun)(G=>{this.position.read(G)&&R.lastTriggerKind.read(G)!==t.InlineCompletionTriggerKind.Explicit&&R.triggerExplicitly()}))}))}};e.InlineCompletionsHintsWidget=E,e.InlineCompletionsHintsWidget=E=ke([fe(2,p.IInstantiationService)],E);const I=(0,b.registerIcon)("inline-suggestion-hints-next",_.Codicon.chevronRight,(0,u.localize)(0,null)),M=(0,b.registerIcon)("inline-suggestion-hints-previous",_.Codicon.chevronLeft,(0,u.localize)(1,null));let P=w=class extends g.Disposable{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(F,O,W){const U=new D.Action(F,O,W,!0,()=>this._commandService.executeCommand(F)),j=this.keybindingService.lookupKeybinding(F,this._contextKeyService);let R=O;return j&&(R=(0,u.localize)(2,null,O,j.getLabel())),U.tooltip=R,U}constructor(F,O,W,U,j,R,K,G,Z,J,X){super(),this.editor=F,this.withBorder=O,this._position=W,this._currentSuggestionIdx=U,this._suggestionCount=j,this._extraCommands=R,this._commandService=K,this.keybindingService=Z,this._contextKeyService=J,this._menuService=X,this.id=`InlineSuggestionHintsContentWidget${w.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,L.h)("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[(0,L.h)("div@toolBar")]),this.previousAction=this.createCommandAction(a.showPreviousInlineSuggestionActionId,(0,u.localize)(3,null),i.ThemeIcon.asClassName(M)),this.availableSuggestionCountAction=new D.Action("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(a.showNextInlineSuggestionActionId,(0,u.localize)(4,null),i.ThemeIcon.asClassName(I)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(c.MenuId.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new f.RunOnceScheduler(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new f.RunOnceScheduler(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(G.createInstance(A,this.nodes.toolBar,c.MenuId.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:H=>H.startsWith("primary")},actionViewItemProvider:(H,B)=>{if(H instanceof c.MenuItemAction)return G.createInstance(T,H,void 0);if(H===this.availableSuggestionCountAction){const V=new x(void 0,H,{label:!0,icon:!1});return V.setClass("availableSuggestionCount"),V}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(H=>{w._dropDownVisible=H})),this._register((0,C.autorun)(H=>{this._position.read(H),this.editor.layoutContentWidget(this)})),this._register((0,C.autorun)(H=>{const B=this._suggestionCount.read(H),V=this._currentSuggestionIdx.read(H);B!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${V+1}/${B}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),B!==void 0&&B>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register((0,C.autorun)(H=>{const B=this._extraCommands.read(H);if((0,S.equals)(this.lastCommands,B))return;this.lastCommands=B;const V=B.map(Y=>({class:void 0,id:Y.id,enabled:!0,tooltip:Y.tooltip||"",label:Y.title,run:ie=>this._commandService.executeCommand(Y.id)}));for(const[Y,ie]of this.inlineCompletionsActionsMenus.getActions())for(const ae of ie)ae instanceof c.MenuItemAction&&V.push(ae);V.length>0&&V.unshift(new D.Separator),this.toolBar.setAdditionalSecondaryActions(V)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};e.InlineSuggestionHintsContentWidget=P,P._dropDownVisible=!1,P.id=0,e.InlineSuggestionHintsContentWidget=P=w=ke([fe(6,o.ICommandService),fe(7,p.IInstantiationService),fe(8,m.IKeybindingService),fe(9,d.IContextKeyService),fe(10,c.IMenuService)],P);class x extends k.ActionViewItem{constructor(){super(...arguments),this._className=void 0}setClass(F){this._className=F}render(F){super.render(F),this._className&&F.classList.add(this._className)}}class T extends h.MenuEntryActionViewItem{updateLabel(){const F=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!F)return super.updateLabel();if(this.label){const O=(0,L.h)("div.keybinding").root;new y.KeybindingLabel(O,s.OS,Object.assign({disableTitle:!0},y.unthemedKeybindingLabelOptions)).set(F),this.label.textContent=this._action.label,this.label.appendChild(O),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}}let A=class extends r.WorkbenchToolBar{constructor(F,O,W,U,j,R,K,G){super(F,Object.assign({resetMenu:O},W),U,j,R,K,G),this.menuId=O,this.options2=W,this.menuService=U,this.contextKeyService=j,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var F,O,W,U,j,R,K;const G=[],Z=[];(0,h.createAndFillInActionBarActions)(this.menu,(F=this.options2)===null||F===void 0?void 0:F.menuOptions,{primary:G,secondary:Z},(W=(O=this.options2)===null||O===void 0?void 0:O.toolbarOptions)===null||W===void 0?void 0:W.primaryGroup,(j=(U=this.options2)===null||U===void 0?void 0:U.toolbarOptions)===null||j===void 0?void 0:j.shouldInlineSubmenu,(K=(R=this.options2)===null||R===void 0?void 0:R.toolbarOptions)===null||K===void 0?void 0:K.useSeparatorsInPrimaryActions),Z.push(...this.additionalActions),G.unshift(...this.prependedPrimaryActions),this.setActions(G,Z)}setPrependedPrimaryActions(F){(0,S.equals)(this.prependedPrimaryActions,F,(O,W)=>O===W)||(this.prependedPrimaryActions=F,this.updateToolbar())}setAdditionalSecondaryActions(F){(0,S.equals)(this.additionalActions,F,(O,W)=>O===W)||(this.additionalActions=F,this.updateToolbar())}};e.CustomizedMenuWorkbenchToolBar=A,e.CustomizedMenuWorkbenchToolBar=A=ke([fe(3,c.IMenuService),fe(4,d.IContextKeyService),fe(5,l.IContextMenuService),fe(6,m.IKeybindingService),fe(7,v.ITelemetryService)],A)}),define(ne[866],se([1,0,7,68,2,705,160,30,15,8]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestWidgetStatus=void 0;class C extends S.MenuEntryActionViewItem{updateLabel(){const n=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!n)return super.updateLabel();this.label&&(this.label.textContent=(0,D.localize)(0,null,this._action.label,C.symbolPrintEnter(n)))}static symbolPrintEnter(n){var t;return(t=n.getLabel())===null||t===void 0?void 0:t.replace(/\benter\b/gi,"\u23CE")}}let s=class{constructor(n,t,a,u,h){this._menuId=t,this._menuService=u,this._contextKeyService=h,this._menuDisposables=new y.DisposableStore,this.element=L.append(n,L.$(".suggest-status-bar"));const r=c=>c instanceof f.MenuItemAction?a.createInstance(C,c,void 0):void 0;this._leftActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._rightActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const n=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{const a=[],u=[];for(const[h,r]of n.getActions())h==="left"?a.push(...r):u.push(...r);this._leftActions.clear(),this._leftActions.push(a),this._rightActions.clear(),this._rightActions.push(u)};this._menuDisposables.add(n.onDidChange(()=>t())),this._menuDisposables.add(n)}hide(){this._menuDisposables.clear()}};e.SuggestWidgetStatus=s,e.SuggestWidgetStatus=s=ke([fe(2,g.IInstantiationService),fe(3,f.IMenuService),fe(4,_.IContextKeyService)],s)}),define(ne[867],se([1,0,7,39,6,2,160,30,15,34,43,79,829,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuMenuDelegate=e.ContextMenuService=void 0;let t=class extends D.Disposable{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new i.ContextMenuHandler(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(h,r,c,o,d,l){super(),this.telemetryService=h,this.notificationService=r,this.contextViewService=c,this.keybindingService=o,this.menuService=d,this.contextKeyService=l,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new y.Emitter),this._onDidHideContextMenu=this._store.add(new y.Emitter)}configure(h){this.contextMenuHandler.configure(h)}showContextMenu(h){h=a.transform(h,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},h),{onHide:r=>{var c;(c=h.onHide)===null||c===void 0||c.call(h,r),this._onDidHideContextMenu.fire()}})),L.ModifierKeyEmitter.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};e.ContextMenuService=t,e.ContextMenuService=t=ke([fe(0,s.ITelemetryService),fe(1,C.INotificationService),fe(2,n.IContextViewService),fe(3,g.IKeybindingService),fe(4,f.IMenuService),fe(5,_.IContextKeyService)],t);var a;(function(u){function h(c){return c&&c.menuId instanceof f.MenuId}function r(c,o,d){if(!h(c))return c;const{menuId:l,menuActionOptions:p,contextKeyService:m}=c;return Object.assign(Object.assign({},c),{getActions:()=>{const v=[];if(l){const b=o.createMenu(l,m??d);(0,S.createAndFillInContextMenuActions)(b,p,v),b.dispose()}return c.getActions?k.Separator.join(c.getActions(),v):v}})}u.transform=r})(a||(e.ContextMenuMenuDelegate=a={}))}),define(ne[868],se([1,0,19,6,15,8,134,191,56,788,105,31,23,840]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputService=void 0;let t=class extends i.Themable{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(g.QuickAccessController))),this._quickAccess}constructor(u,h,r,c){super(r),this.instantiationService=u,this.contextKeyService=h,this.layoutService=c,this._onShow=this._register(new k.Emitter),this._onHide=this._register(new k.Emitter),this.contexts=new Map}createController(u=this.layoutService,h){const r={idPrefix:"quickInput_",container:u.container,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:o=>this.setContextKey(o),linkOpenerDelegate:o=>{this.instantiationService.invokeFunction(d=>{d.get(_.IOpenerService).open(o,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>u.focus(),createList:(o,d,l,p,m)=>this.instantiationService.createInstance(f.WorkbenchList,o,d,l,p,m),styles:this.computeStyles()},c=this._register(new n.QuickInputController(Object.assign(Object.assign({},r),h),this.themeService));return c.layout(u.dimension,u.offset.quickPickTop),this._register(u.onDidLayout(o=>c.layout(o,u.offset.quickPickTop))),this._register(c.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(c.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),c}setContextKey(u){let h;u&&(h=this.contexts.get(u),h||(h=new y.RawContextKey(u,!1).bindTo(this.contextKeyService),this.contexts.set(u,h))),!(h&&h.get())&&(this.resetContextKeys(),h?.set(!0))}resetContextKeys(){this.contexts.forEach(u=>{u.get()&&u.reset()})}pick(u,h={},r=L.CancellationToken.None){return this.controller.pick(u,h,r)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,s.asCssVariable)(s.quickInputBackground),quickInputForeground:(0,s.asCssVariable)(s.quickInputForeground),quickInputTitleBackground:(0,s.asCssVariable)(s.quickInputTitleBackground),widgetBorder:(0,s.asCssVariable)(s.widgetBorder),widgetShadow:(0,s.asCssVariable)(s.widgetShadow)},inputBox:C.defaultInputBoxStyles,toggle:C.defaultToggleStyles,countBadge:C.defaultCountBadgeStyles,button:C.defaultButtonStyles,progressBar:C.defaultProgressBarStyles,keybindingLabel:C.defaultKeybindingLabelStyles,list:(0,C.getListStyles)({listBackground:s.quickInputBackground,listFocusBackground:s.quickInputListFocusBackground,listFocusForeground:s.quickInputListFocusForeground,listInactiveFocusForeground:s.quickInputListFocusForeground,listInactiveSelectionIconForeground:s.quickInputListFocusIconForeground,listInactiveFocusBackground:s.quickInputListFocusBackground,listFocusOutline:s.activeContrastBorder,listInactiveFocusOutline:s.activeContrastBorder}),pickerGroup:{pickerGroupBorder:(0,s.asCssVariable)(s.pickerGroupBorder),pickerGroupForeground:(0,s.asCssVariable)(s.pickerGroupForeground)}}}};e.QuickInputService=t,e.QuickInputService=t=ke([fe(0,D.IInstantiationService),fe(1,y.IContextKeyService),fe(2,i.IThemeService),fe(3,S.ILayoutService)],t)}),define(ne[869],se([1,0,16,23,19,8,15,338,33,868,99,470]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputEditorWidget=e.QuickInputEditorContribution=e.StandaloneQuickInputService=void 0;let s=class extends g.QuickInputService{constructor(u,h,r,c,o){super(h,r,c,new f.EditorScopedLayoutService(u.getContainerDomNode(),o)),this.host=void 0;const d=n.get(u);if(d){const l=d.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return l.getDomNode()},get dimension(){return u.getLayoutInfo()},get onDidLayout(){return u.onDidLayoutChange},focus:()=>u.focus(),offset:{top:0,quickPickTop:0}}}else this.host=void 0}createController(){return super.createController(this.host)}};s=ke([fe(1,D.IInstantiationService),fe(2,S.IContextKeyService),fe(3,k.IThemeService),fe(4,_.ICodeEditorService)],s);let i=class{get activeService(){const u=this.codeEditorService.getFocusedCodeEditor();if(!u)throw new Error("Quick input service needs a focused editor to work.");let h=this.mapEditorToService.get(u);if(!h){const r=h=this.instantiationService.createInstance(s,u);this.mapEditorToService.set(u,h),(0,C.once)(u.onDidDispose)(()=>{r.dispose(),this.mapEditorToService.delete(u)})}return h}get quickAccess(){return this.activeService.quickAccess}constructor(u,h){this.instantiationService=u,this.codeEditorService=h,this.mapEditorToService=new Map}pick(u,h={},r=y.CancellationToken.None){return this.activeService.pick(u,h,r)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};e.StandaloneQuickInputService=i,e.StandaloneQuickInputService=i=ke([fe(0,D.IInstantiationService),fe(1,_.ICodeEditorService)],i);class n{static get(u){return u.getContribution(n.ID)}constructor(u){this.editor=u,this.widget=new t(this.editor)}dispose(){this.widget.dispose()}}e.QuickInputEditorContribution=n,n.ID="editor.controller.quickInput";class t{constructor(u){this.codeEditor=u,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return t.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}e.QuickInputEditorWidget=t,t.ID="editor.contrib.quickInputWidget",(0,L.registerEditorContribution)(n.ID,n,4)}),define(ne[192],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoSource=e.UndoRedoGroup=e.ResourceEditStackSnapshot=e.IUndoRedoService=void 0,e.IUndoRedoService=(0,L.createDecorator)("undoRedoService");class k{constructor(f,_){this.resource=f,this.elements=_}}e.ResourceEditStackSnapshot=k;class y{constructor(){this.id=y._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoGroup=y,y._ID=0,y.None=new y;class D{constructor(){this.id=D._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoSource=D,D._ID=0,D.None=new D}),define(ne[40],se([1,0,14,38,9,6,2,11,22,122,202,66,12,5,24,175,41,32,48,596,852,329,287,509,510,320,597,181,626,111,192]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.AttachedViews=e.ModelDecorationOptions=e.ModelDecorationInjectedTextOptions=e.ModelDecorationMinimapOptions=e.ModelDecorationGlyphMarginOptions=e.ModelDecorationOverviewRulerOptions=e.TextModel=e.createTextBuffer=e.createTextBufferFactoryFromSnapshot=e.createTextBufferFactory=void 0;function x(q){const z=new b.PieceTreeTextBufferBuilder;return z.acceptChunk(q),z.finish()}e.createTextBufferFactory=x;function T(q){const z=new b.PieceTreeTextBufferBuilder;let ee;for(;typeof(ee=q.read())=="string";)z.acceptChunk(ee);return z.finish()}e.createTextBufferFactoryFromSnapshot=T;function A(q,z){let ee;return typeof q=="string"?ee=x(q):r.isITextSnapshot(q)?ee=T(q):ee=q,ee.create(z)}e.createTextBuffer=A;let N=0;const F=999,O=1e4;class W{constructor(z){this._source=z,this._eos=!1}read(){if(this._eos)return null;const z=[];let ee=0,$=0;do{const re=this._source.read();if(re===null)return this._eos=!0,ee===0?null:z.join("");if(re.length>0&&(z[ee++]=re,$+=re.length),$>=64*1024)return z.join("")}while(!0)}}const U=()=>{throw new Error("Invalid change accessor")};let j=P=class extends S.Disposable{static resolveOptions(z,ee){if(ee.detectIndentation){const $=(0,p.guessIndentation)(z,ee.tabSize,ee.insertSpaces);return new r.TextModelResolvedOptions({tabSize:$.tabSize,indentSize:"tabSize",insertSpaces:$.insertSpaces,trimAutoWhitespace:ee.trimAutoWhitespace,defaultEOL:ee.defaultEOL,bracketPairColorizationOptions:ee.bracketPairColorizationOptions})}return new r.TextModelResolvedOptions(ee)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(z){return this._eventEmitter.slowEvent(ee=>z(ee.contentChangedEvent))}onDidChangeContentOrInjectedText(z){return(0,S.combinedDisposable)(this._eventEmitter.fastEvent(ee=>z(ee)),this._onDidChangeInjectedText.event(ee=>z(ee)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(z,ee,$,re=null,oe,ge,ve){super(),this._undoRedoService=oe,this._languageService=ge,this._languageConfigurationService=ve,this._onWillDispose=this._register(new D.Emitter),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new de(Me=>this.handleBeforeFireDecorationsChangedEvent(Me))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new D.Emitter),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new D.Emitter),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new D.Emitter),this._eventEmitter=this._register(new he),this._languageSelectionListener=this._register(new S.MutableDisposable),this._deltaDecorationCallCnt=0,this._attachedViews=new ue,N++,this.id="$model"+N,this.isForSimpleWidget=$.isForSimpleWidget,typeof re>"u"||re===null?this._associatedResource=_.URI.parse("inmemory://model/"+N):this._associatedResource=re,this._attachedEditorCount=0;const{textBuffer:Se,disposable:Le}=A(z,$.defaultEOL);this._buffer=Se,this._bufferDisposable=Le,this._options=P.resolveOptions(this._buffer,$);const De=typeof ee=="string"?ee:ee.languageId;typeof ee!="string"&&(this._languageSelectionListener.value=ee.onDidChange(()=>this._setLanguage(ee.languageId))),this._bracketPairs=this._register(new c.BracketPairsTextModelPart(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new l.GuidesTextModelPart(this,this._languageConfigurationService)),this._decorationProvider=this._register(new o.ColorizedBracketPairsDecorationProvider(this)),this._tokenizationTextModelPart=new E.TokenizationTextModelPart(this._languageService,this._languageConfigurationService,this,this._bracketPairs,De,this._attachedViews);const ye=this._buffer.getLineCount(),Ee=this._buffer.getValueLengthInRange(new n.Range(1,1,ye,this._buffer.getLineLength(ye)+1),0);$.largeFileOptimizations?this._isTooLargeForTokenization=Ee>P.LARGE_FILE_SIZE_THRESHOLD||ye>P.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=Ee>P._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=f.singleLetterHash(N),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager=new d.EditStack(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(De)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;const z=new v.PieceTreeTextBuffer([],"",` -`,!1,!1,!0,!0);z.dispose(),this._buffer=z,this._bufferDisposable=S.Disposable.None}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(z,ee){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(ee),this._bracketPairs.handleDidChangeContent(ee),this._eventEmitter.fire(new I.InternalModelContentChangeEvent(z,ee)))}setValue(z){if(this._assertNotDisposed(),z==null)throw(0,y.illegalArgument)();const{textBuffer:ee,disposable:$}=A(z,this._options.defaultEOL);this._setValueFromTextBuffer(ee,$)}_createContentChanged2(z,ee,$,re,oe,ge,ve,Se){return{changes:[{range:z,rangeOffset:ee,rangeLength:$,text:re}],eol:this._buffer.getEOL(),isEolChange:Se,versionId:this.getVersionId(),isUndoing:oe,isRedoing:ge,isFlush:ve}}_setValueFromTextBuffer(z,ee){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._buffer=z,this._bufferDisposable.dispose(),this._bufferDisposable=ee,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawFlush],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!0,!1))}setEOL(z){this._assertNotDisposed();const ee=z===1?`\r -`:` -`;if(this._buffer.getEOL()===ee)return;const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._onBeforeEOLChange(),this._buffer.setEOL(ee),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawEOLChanged],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const z=this.getVersionId(),ee=this._decorationsTree.collectNodesPostOrder();for(let $=0,re=ee.length;$0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let z=0,ee=0;const $=this._buffer.getLineCount();for(let re=1;re<=$;re++){const oe=this._buffer.getLineLength(re);oe>=O?ee+=oe:z+=oe}return ee>z}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(z){this._assertNotDisposed();const ee=typeof z.tabSize<"u"?z.tabSize:this._options.tabSize,$=typeof z.indentSize<"u"?z.indentSize:this._options.originalIndentSize,re=typeof z.insertSpaces<"u"?z.insertSpaces:this._options.insertSpaces,oe=typeof z.trimAutoWhitespace<"u"?z.trimAutoWhitespace:this._options.trimAutoWhitespace,ge=typeof z.bracketColorizationOptions<"u"?z.bracketColorizationOptions:this._options.bracketPairColorizationOptions,ve=new r.TextModelResolvedOptions({tabSize:ee,indentSize:$,insertSpaces:re,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:oe,bracketPairColorizationOptions:ge});if(this._options.equals(ve))return;const Se=this._options.createChangeEvent(ve);this._options=ve,this._bracketPairs.handleDidChangeOptions(Se),this._decorationProvider.handleDidChangeOptions(Se),this._onDidChangeOptions.fire(Se)}detectIndentation(z,ee){this._assertNotDisposed();const $=(0,p.guessIndentation)(this._buffer,ee,z);this.updateOptions({insertSpaces:$.insertSpaces,tabSize:$.tabSize,indentSize:$.tabSize})}normalizeIndentation(z){return this._assertNotDisposed(),(0,C.normalizeIndentation)(z,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(z=null){const ee=this.findMatches(f.UNUSUAL_LINE_TERMINATORS.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(z,ee.map($=>({range:$.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(z){this._assertNotDisposed();const ee=this._validatePosition(z.lineNumber,z.column,0);return this._buffer.getOffsetAt(ee.lineNumber,ee.column)}getPositionAt(z){this._assertNotDisposed();const ee=Math.min(this._buffer.getLength(),Math.max(0,z));return this._buffer.getPositionAt(ee)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(z){this._versionId=z}_overwriteAlternativeVersionId(z){this._alternativeVersionId=z}_overwriteInitialUndoRedoSnapshot(z){this._initialUndoRedoSnapshot=z}getValue(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueInRange($,z);return ee?this._buffer.getBOM()+re:re}createSnapshot(z=!1){return new W(this._buffer.createSnapshot(z))}getValueLength(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($,z);return ee?this._buffer.getBOM().length+re:re}getValueInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(z),ee)}getValueLengthInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(z),ee)}getCharacterCountInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(z),ee)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineContent(z)}getLineLength(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),this._buffer.getEOL()===` -`?0:1}getLineMinColumn(z){return this._assertNotDisposed(),1}getLineMaxColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)+1}getLineFirstNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(z)}getLineLastNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(z)}_validateRangeRelaxedNoAllocations(z){const ee=this._buffer.getLineCount(),$=z.startLineNumber,re=z.startColumn;let oe=Math.floor(typeof $=="number"&&!isNaN($)?$:1),ge=Math.floor(typeof re=="number"&&!isNaN(re)?re:1);if(oe<1)oe=1,ge=1;else if(oe>ee)oe=ee,ge=this.getLineMaxColumn(oe);else if(ge<=1)ge=1;else{const ye=this.getLineMaxColumn(oe);ge>=ye&&(ge=ye)}const ve=z.endLineNumber,Se=z.endColumn;let Le=Math.floor(typeof ve=="number"&&!isNaN(ve)?ve:1),De=Math.floor(typeof Se=="number"&&!isNaN(Se)?Se:1);if(Le<1)Le=1,De=1;else if(Le>ee)Le=ee,De=this.getLineMaxColumn(Le);else if(De<=1)De=1;else{const ye=this.getLineMaxColumn(Le);De>=ye&&(De=ye)}return $===oe&&re===ge&&ve===Le&&Se===De&&z instanceof n.Range&&!(z instanceof t.Selection)?z:new n.Range(oe,ge,Le,De)}_isValidPosition(z,ee,$){if(typeof z!="number"||typeof ee!="number"||isNaN(z)||isNaN(ee)||z<1||ee<1||(z|0)!==z||(ee|0)!==ee)return!1;const re=this._buffer.getLineCount();if(z>re)return!1;if(ee===1)return!0;const oe=this.getLineMaxColumn(z);if(ee>oe)return!1;if($===1){const ge=this._buffer.getLineCharCode(z,ee-2);if(f.isHighSurrogate(ge))return!1}return!0}_validatePosition(z,ee,$){const re=Math.floor(typeof z=="number"&&!isNaN(z)?z:1),oe=Math.floor(typeof ee=="number"&&!isNaN(ee)?ee:1),ge=this._buffer.getLineCount();if(re<1)return new i.Position(1,1);if(re>ge)return new i.Position(ge,this.getLineMaxColumn(ge));if(oe<=1)return new i.Position(re,1);const ve=this.getLineMaxColumn(re);if(oe>=ve)return new i.Position(re,ve);if($===1){const Se=this._buffer.getLineCharCode(re,oe-2);if(f.isHighSurrogate(Se))return new i.Position(re,oe-1)}return new i.Position(re,oe)}validatePosition(z){return this._assertNotDisposed(),z instanceof i.Position&&this._isValidPosition(z.lineNumber,z.column,1)?z:this._validatePosition(z.lineNumber,z.column,1)}_isValidRange(z,ee){const $=z.startLineNumber,re=z.startColumn,oe=z.endLineNumber,ge=z.endColumn;if(!this._isValidPosition($,re,0)||!this._isValidPosition(oe,ge,0))return!1;if(ee===1){const ve=re>1?this._buffer.getLineCharCode($,re-2):0,Se=ge>1&&ge<=this._buffer.getLineLength(oe)?this._buffer.getLineCharCode(oe,ge-2):0,Le=f.isHighSurrogate(ve),De=f.isHighSurrogate(Se);return!Le&&!De}return!0}validateRange(z){if(this._assertNotDisposed(),z instanceof n.Range&&!(z instanceof t.Selection)&&this._isValidRange(z,1))return z;const $=this._validatePosition(z.startLineNumber,z.startColumn,0),re=this._validatePosition(z.endLineNumber,z.endColumn,0),oe=$.lineNumber,ge=$.column,ve=re.lineNumber,Se=re.column;{const Le=ge>1?this._buffer.getLineCharCode(oe,ge-2):0,De=Se>1&&Se<=this._buffer.getLineLength(ve)?this._buffer.getLineCharCode(ve,Se-2):0,ye=f.isHighSurrogate(Le),Ee=f.isHighSurrogate(De);return!ye&&!Ee?new n.Range(oe,ge,ve,Se):oe===ve&&ge===Se?new n.Range(oe,ge-1,ve,Se-1):ye&&Ee?new n.Range(oe,ge-1,ve,Se+1):ye?new n.Range(oe,ge-1,ve,Se):new n.Range(oe,ge,ve,Se+1)}return new n.Range(oe,ge,ve,Se)}modifyPosition(z,ee){this._assertNotDisposed();const $=this.getOffsetAt(z)+ee;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,$)))}getFullModelRange(){this._assertNotDisposed();const z=this.getLineCount();return new n.Range(1,1,z,this.getLineMaxColumn(z))}findMatchesLineByLine(z,ee,$,re){return this._buffer.findMatchesLineByLine(z,ee,$,re)}findMatches(z,ee,$,re,oe,ge,ve=F){this._assertNotDisposed();let Se=null;ee!==null&&(Array.isArray(ee)||(ee=[ee]),ee.every(ye=>n.Range.isIRange(ye))&&(Se=ee.map(ye=>this.validateRange(ye)))),Se===null&&(Se=[this.getFullModelRange()]),Se=Se.sort((ye,Ee)=>ye.startLineNumber-Ee.startLineNumber||ye.startColumn-Ee.startColumn);const Le=[];Le.push(Se.reduce((ye,Ee)=>n.Range.areIntersecting(ye,Ee)?ye.plusRange(Ee):(Le.push(ye),Ee)));let De;if(!$&&z.indexOf(` -`)<0){const Ee=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Ee)return[];De=Me=>this.findMatchesLineByLine(Me,Ee,ge,ve)}else De=ye=>w.TextModelSearch.findMatches(this,new w.SearchParams(z,$,re,oe),ye,ge,ve);return Le.map(De).reduce((ye,Ee)=>ye.concat(Ee),[])}findNextMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);if(!$&&z.indexOf(` -`)<0){const Le=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Le)return null;const De=this.getLineCount();let ye=new n.Range(ve.lineNumber,ve.column,De,this.getLineMaxColumn(De)),Ee=this.findMatchesLineByLine(ye,Le,ge,1);return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge),Ee.length>0||(ye=new n.Range(1,1,ve.lineNumber,this.getLineMaxColumn(ve.lineNumber)),Ee=this.findMatchesLineByLine(ye,Le,ge,1),Ee.length>0)?Ee[0]:null}return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}findPreviousMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);return w.TextModelSearch.findPreviousMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(z){if((this.getEOL()===` -`?0:1)!==z)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(z)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(z){return z instanceof r.ValidAnnotatedEditOperation?z:new r.ValidAnnotatedEditOperation(z.identifier||null,this.validateRange(z.range),z.text,z.forceMoveMarkers||!1,z.isAutoWhitespaceEdit||!1,z._isTracked||!1)}_validateEditOperations(z){const ee=[];for(let $=0,re=z.length;$({range:this.validateRange(ve.range),text:ve.text}));let ge=!0;if(z)for(let ve=0,Se=z.length;veLe.endLineNumber,Fe=Le.startLineNumber>Me.endLineNumber;if(!Pe&&!Fe){De=!0;break}}if(!De){ge=!1;break}}if(ge)for(let ve=0,Se=this._trimAutoWhitespaceLines.length;vePe.endLineNumber)&&!(Le===Pe.startLineNumber&&Pe.startColumn===De&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(0)===` -`)&&!(Le===Pe.startLineNumber&&Pe.startColumn===1&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(Fe.length-1)===` -`)){ye=!1;break}}if(ye){const Ee=new n.Range(Le,1,Le,De);ee.push(new r.ValidAnnotatedEditOperation(null,Ee,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(z,ee,$,re)}_applyUndo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.newPosition),Se=this.getPositionAt(ge.newEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.oldText}});this._applyUndoRedoEdits(oe,ee,!0,!1,$,re)}_applyRedo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.oldPosition),Se=this.getPositionAt(ge.oldEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.newText}});this._applyUndoRedoEdits(oe,ee,!1,!0,$,re)}_applyUndoRedoEdits(z,ee,$,re,oe,ge){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=$,this._isRedoing=re,this.applyEdits(z,!1),this.setEOL(ee),this._overwriteAlternativeVersionId(oe)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(ge),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(z,ee=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const $=this._validateEditOperations(z);return this._doApplyEdits($,ee)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(z,ee){const $=this._buffer.getLineCount(),re=this._buffer.applyEdits(z,this._options.trimAutoWhitespace,ee),oe=this._buffer.getLineCount(),ge=re.changes;if(this._trimAutoWhitespaceLines=re.trimAutoWhitespaceLineNumbers,ge.length!==0){for(let Le=0,De=ge.length;Le=0;Ve--){const ze=Me+Ve,We=pe+Ve;Re.takeFromEndWhile(Oe=>Oe.lineNumber>We);const qe=Re.takeFromEndWhile(Oe=>Oe.lineNumber===We);ve.push(new I.ModelRawLineChanged(ze,this.getLineContent(We),qe))}if(ment.lineNumbernt.lineNumber===st)}ve.push(new I.ModelRawLinesInserted(ze+1,Me+_e,Ge,Oe))}Se+=le}this._emitContentChangedEvent(new I.ModelRawContentChangedEvent(ve,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:ge,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return re.reverseEdits===null?void 0:re.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(z){if(z===null||z.size===0)return;const $=Array.from(z).map(re=>new I.ModelRawLineChanged(re,this.getLineContent(re),this._getInjectedTextInLine(re)));this._onDidChangeInjectedText.fire(new I.ModelInjectedTextChangedEvent($))}changeDecorations(z,ee=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(ee,z)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(z,ee){const $={addDecoration:(oe,ge)=>this._deltaDecorationsImpl(z,[],[{range:oe,options:ge}])[0],changeDecoration:(oe,ge)=>{this._changeDecorationImpl(oe,ge)},changeDecorationOptions:(oe,ge)=>{this._changeDecorationOptionsImpl(oe,ce(ge))},removeDecoration:oe=>{this._deltaDecorationsImpl(z,[oe],[])},deltaDecorations:(oe,ge)=>oe.length===0&&ge.length===0?[]:this._deltaDecorationsImpl(z,oe,ge)};let re=null;try{re=ee($)}catch(oe){(0,y.onUnexpectedError)(oe)}return $.addDecoration=U,$.changeDecoration=U,$.changeDecorationOptions=U,$.removeDecoration=U,$.deltaDecorations=U,re}deltaDecorations(z,ee,$=0){if(this._assertNotDisposed(),z||(z=[]),z.length===0&&ee.length===0)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,y.onUnexpectedError)(new Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl($,z,ee)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(z){return this.getDecorationRange(z)}_setTrackedRange(z,ee,$){const re=z?this._decorations[z]:null;if(!re)return ee?this._deltaDecorationsImpl(0,[],[{range:ee,options:ae[$]}],!0)[0]:null;if(!ee)return this._decorationsTree.delete(re),delete this._decorations[re.id],null;const oe=this._validateRangeRelaxedNoAllocations(ee),ge=this._buffer.getOffsetAt(oe.startLineNumber,oe.startColumn),ve=this._buffer.getOffsetAt(oe.endLineNumber,oe.endColumn);return this._decorationsTree.delete(re),re.reset(this.getVersionId(),ge,ve,oe),re.setOptions(ae[$]),this._decorationsTree.insert(re),re.id}removeAllDecorationsWithOwnerId(z){if(this._isDisposed)return;const ee=this._decorationsTree.collectNodesFromOwner(z);for(let $=0,re=ee.length;$this.getLineCount()?[]:this.getLinesDecorations(z,z,ee,$)}getLinesDecorations(z,ee,$=0,re=!1,oe=!1){const ge=this.getLineCount(),ve=Math.min(ge,Math.max(1,z)),Se=Math.min(ge,Math.max(1,ee)),Le=this.getLineMaxColumn(Se),De=new n.Range(ve,1,Se,Le),ye=this._getDecorationsInRange(De,$,re,oe);return(0,L.pushMany)(ye,this._decorationProvider.getDecorationsInRange(De,$,re)),ye}getDecorationsInRange(z,ee=0,$=!1,re=!1,oe=!1){const ge=this.validateRange(z),ve=this._getDecorationsInRange(ge,ee,$,oe);return(0,L.pushMany)(ve,this._decorationProvider.getDecorationsInRange(ge,ee,$,re)),ve}getOverviewRulerDecorations(z=0,ee=!1){return this._decorationsTree.getAll(this,z,ee,!0,!1)}getInjectedTextDecorations(z=0){return this._decorationsTree.getAllInjectedText(this,z)}_getInjectedTextInLine(z){const ee=this._buffer.getOffsetAt(z,1),$=ee+this._buffer.getLineLength(z),re=this._decorationsTree.getInjectedTextInInterval(this,ee,$,0);return I.LineInjectedText.fromDecorations(re).filter(oe=>oe.lineNumber===z)}getAllDecorations(z=0,ee=!1){let $=this._decorationsTree.getAll(this,z,ee,!1,!1);return $=$.concat(this._decorationProvider.getAllDecorations(z,ee)),$}getAllMarginDecorations(z=0){return this._decorationsTree.getAll(this,z,!1,!1,!0)}_getDecorationsInRange(z,ee,$,re){const oe=this._buffer.getOffsetAt(z.startLineNumber,z.startColumn),ge=this._buffer.getOffsetAt(z.endLineNumber,z.endColumn);return this._decorationsTree.getAllInInterval(this,oe,ge,ee,$,re)}getRangeAt(z,ee){return this._buffer.getRangeAt(z,ee-z)}_changeDecorationImpl(z,ee){const $=this._decorations[z];if(!$)return;if($.options.after){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.endLineNumber)}if($.options.before){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.startLineNumber)}const re=this._validateRangeRelaxedNoAllocations(ee),oe=this._buffer.getOffsetAt(re.startLineNumber,re.startColumn),ge=this._buffer.getOffsetAt(re.endLineNumber,re.endColumn);this._decorationsTree.delete($),$.reset(this.getVersionId(),oe,ge,re),this._decorationsTree.insert($),this._onDidChangeDecorations.checkAffectedAndFire($.options),$.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.endLineNumber),$.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.startLineNumber)}_changeDecorationOptionsImpl(z,ee){const $=this._decorations[z];if(!$)return;const re=!!($.options.overviewRuler&&$.options.overviewRuler.color),oe=!!(ee.overviewRuler&&ee.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire($.options),this._onDidChangeDecorations.checkAffectedAndFire(ee),$.options.after||ee.after){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.endLineNumber)}if($.options.before||ee.before){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.startLineNumber)}re!==oe?(this._decorationsTree.delete($),$.setOptions(ee),this._decorationsTree.insert($)):$.setOptions(ee)}_deltaDecorationsImpl(z,ee,$,re=!1){const oe=this.getVersionId(),ge=ee.length;let ve=0;const Se=$.length;let Le=0;this._onDidChangeDecorations.beginDeferredEmit();try{const De=new Array(Se);for(;vethis._setLanguage(z.languageId,ee)),this._setLanguage(z.languageId,ee))}_setLanguage(z,ee){this.tokenization.setLanguageId(z,ee),this._languageService.requestRichLanguageFeatures(z)}getLanguageIdAtPosition(z,ee){return this.tokenization.getLanguageIdAtPosition(z,ee)}getWordAtPosition(z){return this._tokenizationTextModelPart.getWordAtPosition(z)}getWordUntilPosition(z){return this._tokenizationTextModelPart.getWordUntilPosition(z)}normalizePosition(z,ee){return z}getLineIndentColumn(z){return R(this.getLineContent(z))+1}};e.TextModel=j,j._MODEL_SYNC_LIMIT=50*1024*1024,j.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024,j.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3,j.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:a.EDITOR_MODEL_DEFAULTS.tabSize,indentSize:a.EDITOR_MODEL_DEFAULTS.indentSize,insertSpaces:a.EDITOR_MODEL_DEFAULTS.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:a.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,largeFileOptimizations:a.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,bracketPairColorizationOptions:a.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions},e.TextModel=j=P=ke([fe(4,M.IUndoRedoService),fe(5,u.ILanguageService),fe(6,h.ILanguageConfigurationService)],j);function R(q){let z=0;for(const ee of q)if(ee===" "||ee===" ")z++;else break;return z}function K(q){return!!(q.options.overviewRuler&&q.options.overviewRuler.color)}function G(q){return!!q.options.after||!!q.options.before}class Z{constructor(){this._decorationsTree0=new m.IntervalTree,this._decorationsTree1=new m.IntervalTree,this._injectedTextDecorationsTree=new m.IntervalTree}ensureAllNodesHaveRanges(z){this.getAll(z,0,!1,!1,!1)}_ensureNodesHaveRanges(z,ee){for(const $ of ee)$.range===null&&($.range=z.getRangeAt($.cachedAbsoluteStart,$.cachedAbsoluteEnd));return ee}getAllInInterval(z,ee,$,re,oe,ge){const ve=z.getVersionId(),Se=this._intervalSearch(ee,$,re,oe,ve,ge);return this._ensureNodesHaveRanges(z,Se)}_intervalSearch(z,ee,$,re,oe,ge){const ve=this._decorationsTree0.intervalSearch(z,ee,$,re,oe,ge),Se=this._decorationsTree1.intervalSearch(z,ee,$,re,oe,ge),Le=this._injectedTextDecorationsTree.intervalSearch(z,ee,$,re,oe,ge);return ve.concat(Se).concat(Le)}getInjectedTextInInterval(z,ee,$,re){const oe=z.getVersionId(),ge=this._injectedTextDecorationsTree.intervalSearch(ee,$,re,!1,oe,!1);return this._ensureNodesHaveRanges(z,ge).filter(ve=>ve.options.showIfCollapsed||!ve.range.isEmpty())}getAllInjectedText(z,ee){const $=z.getVersionId(),re=this._injectedTextDecorationsTree.search(ee,!1,$,!1);return this._ensureNodesHaveRanges(z,re).filter(oe=>oe.options.showIfCollapsed||!oe.range.isEmpty())}getAll(z,ee,$,re,oe){const ge=z.getVersionId(),ve=this._search(ee,$,re,ge,oe);return this._ensureNodesHaveRanges(z,ve)}_search(z,ee,$,re,oe){if($)return this._decorationsTree1.search(z,ee,re,oe);{const ge=this._decorationsTree0.search(z,ee,re,oe),ve=this._decorationsTree1.search(z,ee,re,oe),Se=this._injectedTextDecorationsTree.search(z,ee,re,oe);return ge.concat(ve).concat(Se)}}collectNodesFromOwner(z){const ee=this._decorationsTree0.collectNodesFromOwner(z),$=this._decorationsTree1.collectNodesFromOwner(z),re=this._injectedTextDecorationsTree.collectNodesFromOwner(z);return ee.concat($).concat(re)}collectNodesPostOrder(){const z=this._decorationsTree0.collectNodesPostOrder(),ee=this._decorationsTree1.collectNodesPostOrder(),$=this._injectedTextDecorationsTree.collectNodesPostOrder();return z.concat(ee).concat($)}insert(z){G(z)?this._injectedTextDecorationsTree.insert(z):K(z)?this._decorationsTree1.insert(z):this._decorationsTree0.insert(z)}delete(z){G(z)?this._injectedTextDecorationsTree.delete(z):K(z)?this._decorationsTree1.delete(z):this._decorationsTree0.delete(z)}getNodeRange(z,ee){const $=z.getVersionId();return ee.cachedVersionId!==$&&this._resolveNode(ee,$),ee.range===null&&(ee.range=z.getRangeAt(ee.cachedAbsoluteStart,ee.cachedAbsoluteEnd)),ee.range}_resolveNode(z,ee){G(z)?this._injectedTextDecorationsTree.resolveNode(z,ee):K(z)?this._decorationsTree1.resolveNode(z,ee):this._decorationsTree0.resolveNode(z,ee)}acceptReplace(z,ee,$,re){this._decorationsTree0.acceptReplace(z,ee,$,re),this._decorationsTree1.acceptReplace(z,ee,$,re),this._injectedTextDecorationsTree.acceptReplace(z,ee,$,re)}}function J(q){return q.replace(/[^a-z0-9\-_]/gi," ")}class X{constructor(z){this.color=z.color||"",this.darkColor=z.darkColor||""}}class H extends X{constructor(z){super(z),this._resolvedColor=null,this.position=typeof z.position=="number"?z.position:r.OverviewRulerLane.Center}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(z,ee){if(typeof z=="string")return z;const $=z?ee.getColor(z.id):null;return $?$.toString():""}}e.ModelDecorationOverviewRulerOptions=H;class B{constructor(z){var ee;this.position=(ee=z?.position)!==null&&ee!==void 0?ee:r.GlyphMarginLane.Left}}e.ModelDecorationGlyphMarginOptions=B;class V extends X{constructor(z){super(z),this.position=z.position}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(z,ee){return typeof z=="string"?k.Color.fromHex(z):ee.getColor(z.id)}}e.ModelDecorationMinimapOptions=V;class Y{static from(z){return z instanceof Y?z:new Y(z)}constructor(z){this.content=z.content||"",this.inlineClassName=z.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=z.attachedData||null,this.cursorStops=z.cursorStops||null}}e.ModelDecorationInjectedTextOptions=Y;class ie{static register(z){return new ie(z)}static createDynamic(z){return new ie(z)}constructor(z){var ee,$,re,oe,ge,ve;this.description=z.description,this.blockClassName=z.blockClassName?J(z.blockClassName):null,this.blockDoesNotCollapse=(ee=z.blockDoesNotCollapse)!==null&&ee!==void 0?ee:null,this.blockIsAfterEnd=($=z.blockIsAfterEnd)!==null&&$!==void 0?$:null,this.blockPadding=(re=z.blockPadding)!==null&&re!==void 0?re:null,this.stickiness=z.stickiness||0,this.zIndex=z.zIndex||0,this.className=z.className?J(z.className):null,this.shouldFillLineOnLineBreak=(oe=z.shouldFillLineOnLineBreak)!==null&&oe!==void 0?oe:null,this.hoverMessage=z.hoverMessage||null,this.glyphMarginHoverMessage=z.glyphMarginHoverMessage||null,this.isWholeLine=z.isWholeLine||!1,this.showIfCollapsed=z.showIfCollapsed||!1,this.collapseOnReplaceEdit=z.collapseOnReplaceEdit||!1,this.overviewRuler=z.overviewRuler?new H(z.overviewRuler):null,this.minimap=z.minimap?new V(z.minimap):null,this.glyphMargin=z.glyphMarginClassName?new B(z.glyphMargin):null,this.glyphMarginClassName=z.glyphMarginClassName?J(z.glyphMarginClassName):null,this.linesDecorationsClassName=z.linesDecorationsClassName?J(z.linesDecorationsClassName):null,this.firstLineDecorationClassName=z.firstLineDecorationClassName?J(z.firstLineDecorationClassName):null,this.marginClassName=z.marginClassName?J(z.marginClassName):null,this.inlineClassName=z.inlineClassName?J(z.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=z.beforeContentClassName?J(z.beforeContentClassName):null,this.afterContentClassName=z.afterContentClassName?J(z.afterContentClassName):null,this.after=z.after?Y.from(z.after):null,this.before=z.before?Y.from(z.before):null,this.hideInCommentTokens=(ge=z.hideInCommentTokens)!==null&&ge!==void 0?ge:!1,this.hideInStringTokens=(ve=z.hideInStringTokens)!==null&&ve!==void 0?ve:!1}}e.ModelDecorationOptions=ie,ie.EMPTY=ie.register({description:"empty"});const ae=[ie.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),ie.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),ie.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),ie.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function ce(q){return q instanceof ie?q:ie.createDynamic(q)}class de extends S.Disposable{constructor(z){super(),this.handleBeforeFire=z,this._actual=this._register(new D.Emitter),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var z;this._deferredCnt--,this._deferredCnt===0&&(this._shouldFireDeferred&&this.doFire(),(z=this._affectedInjectedTextLines)===null||z===void 0||z.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(z){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(z)}checkAffectedAndFire(z){this._affectsMinimap||(this._affectsMinimap=!!(z.minimap&&z.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(z.overviewRuler&&z.overviewRuler.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!z.glyphMarginClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){this._deferredCnt===0?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);const z={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(z)}}class he extends S.Disposable{constructor(){super(),this._fastEmitter=this._register(new D.Emitter),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new D.Emitter),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(z=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=z;const ee=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(ee),this._slowEmitter.fire(ee)}}fire(z){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(z):this._deferredEvent=z;return}this._fastEmitter.fire(z),this._slowEmitter.fire(z)}}class ue{constructor(){this._onDidChangeVisibleRanges=new D.Emitter,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){const z=new te(ee=>{this._onDidChangeVisibleRanges.fire({view:z,state:ee})});return this._views.add(z),z}detachView(z){this._views.delete(z),this._onDidChangeVisibleRanges.fire({view:z,state:void 0})}}e.AttachedViews=ue;class te{constructor(z){this.handleStateChange=z}setVisibleLines(z,ee){const $=z.map(re=>new s.LineRange(re.startLineNumber,re.endLineNumber+1));this.handleStateChange({visibleLineRanges:$,stabilized:ee})}}}),define(ne[362],se([1,0,25,55,26,40,609,62]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowRevertChange=e.diffDeleteDecorationEmpty=e.diffWholeLineDeleteDecoration=e.diffDeleteDecoration=e.diffAddDecorationEmpty=e.diffWholeLineAddDecoration=e.diffAddDecoration=e.diffLineDeleteDecorationBackground=e.diffLineAddDecorationBackground=e.diffLineDeleteDecorationBackgroundWithIndicator=e.diffLineAddDecorationBackgroundWithIndicator=e.diffRemoveIcon=e.diffInsertIcon=void 0,e.diffInsertIcon=(0,f.registerIcon)("diff-insert",L.Codicon.add,(0,S.localize)(0,null)),e.diffRemoveIcon=(0,f.registerIcon)("diff-remove",L.Codicon.remove,(0,S.localize)(1,null)),e.diffLineAddDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+y.ThemeIcon.asClassName(e.diffInsertIcon),marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+y.ThemeIcon.asClassName(e.diffRemoveIcon),marginClassName:"gutter-delete"}),e.diffLineAddDecorationBackground=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackground=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),e.diffAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),e.diffWholeLineAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),e.diffAddDecorationEmpty=D.ModelDecorationOptions.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),e.diffDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),e.diffWholeLineDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),e.diffDeleteDecorationEmpty=D.ModelDecorationOptions.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"}),e.arrowRevertChange=D.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new k.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,S.localize)(2,null)),glyphMarginClassName:"arrow-revert-change "+y.ThemeIcon.asClassName(L.Codicon.arrowRight),zIndex:10001})}),define(ne[870],se([1,0,2,42,362,323,102,12,5]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorDecorations=void 0;class g extends L.Disposable{constructor(s,i,n){super(),this._editors=s,this._diffModel=i,this._options=n,this._decorations=(0,k.derived)(t=>{var a;const u=(a=this._diffModel.read(t))===null||a===void 0?void 0:a.diff.read(t);if(!u)return null;const h=this._diffModel.read(t).movedTextToCompare.read(t),r=this._options.renderIndicators.read(t),c=this._options.showEmptyDecorations.read(t),o=[],d=[];if(!h)for(const p of u.mappings){if(p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||p.lineRangeMapping.originalRange.isEmpty)p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:y.diffWholeLineDeleteDecoration}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:y.diffWholeLineAddDecoration});else for(const m of p.lineRangeMapping.innerChanges||[])p.lineRangeMapping.originalRange.contains(m.originalRange.startLineNumber)&&o.push({range:m.originalRange,options:m.originalRange.isEmpty()&&c?y.diffDeleteDecorationEmpty:y.diffDeleteDecoration}),p.lineRangeMapping.modifiedRange.contains(m.modifiedRange.startLineNumber)&&d.push({range:m.modifiedRange,options:m.modifiedRange.isEmpty()&&c?y.diffAddDecorationEmpty:y.diffAddDecoration});!p.lineRangeMapping.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(t)&&!h&&d.push({range:_.Range.fromPositions(new f.Position(p.lineRangeMapping.modifiedRange.startLineNumber,1)),options:y.arrowRevertChange})}if(h)for(const p of h.changes){const m=p.originalRange.toInclusiveRange();m&&o.push({range:m,options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground});const v=p.modifiedRange.toInclusiveRange();v&&d.push({range:v,options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground});for(const b of p.innerChanges||[])o.push({range:b.originalRange,options:y.diffDeleteDecoration}),d.push({range:b.modifiedRange,options:y.diffAddDecoration})}const l=this._diffModel.read(t).activeMovedText.read(t);for(const p of u.movedTexts)o.push({range:p.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(p===l?" currentMove":""),blockPadding:[D.MovedBlocksLinesPart.movedCodeBlockPadding,0,D.MovedBlocksLinesPart.movedCodeBlockPadding,D.MovedBlocksLinesPart.movedCodeBlockPadding]}}),d.push({range:p.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(p===l?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:o,modifiedDecorations:d}}),this._register((0,S.applyObservableDecorations)(this._editors.original,this._decorations.map(t=>t?.originalDecorations||[]))),this._register((0,S.applyObservableDecorations)(this._editors.modified,this._decorations.map(t=>t?.modifiedDecorations||[])))}}e.DiffEditorDecorations=g}),define(ne[871],se([1,0,6,2,17,40,175,78,41,187,28,192,143,329,54,47,32]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.ModelService=void 0;function r(m){return m.toString()}function c(m){const v=new i.StringSHA1,b=m.createSnapshot();let w;for(;w=b.read();)v.update(w);return v.digest()}class o{constructor(v,b,w){this.model=v,this._modelEventListeners=new k.DisposableStore,this.model=v,this._modelEventListeners.add(v.onWillDispose(()=>b(v))),this._modelEventListeners.add(v.onDidChangeLanguage(E=>w(v,E)))}dispose(){this._modelEventListeners.dispose()}}const d=y.isLinux||y.isMacintosh?1:2;class l{constructor(v,b,w,E,I,M,P,x){this.uri=v,this.initialUndoRedoSnapshot=b,this.time=w,this.sharesUndoRedoStack=E,this.heapSize=I,this.sha1=M,this.versionId=P,this.alternativeVersionId=x}}let p=h=class extends k.Disposable{constructor(v,b,w,E,I){super(),this._configurationService=v,this._resourcePropertiesService=b,this._undoRedoService=w,this._languageService=E,this._languageConfigurationService=I,this._onModelAdded=this._register(new L.Emitter),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new L.Emitter),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new L.Emitter),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(M=>this._updateModelOptions(M))),this._updateModelOptions(void 0)}static _readModelOptions(v,b){var w;let E=S.EDITOR_MODEL_DEFAULTS.tabSize;if(v.editor&&typeof v.editor.tabSize<"u"){const O=parseInt(v.editor.tabSize,10);isNaN(O)||(E=O),E<1&&(E=1)}let I="tabSize";if(v.editor&&typeof v.editor.indentSize<"u"&&v.editor.indentSize!=="tabSize"){const O=parseInt(v.editor.indentSize,10);isNaN(O)||(I=Math.max(O,1))}let M=S.EDITOR_MODEL_DEFAULTS.insertSpaces;v.editor&&typeof v.editor.insertSpaces<"u"&&(M=v.editor.insertSpaces==="false"?!1:!!v.editor.insertSpaces);let P=d;const x=v.eol;x===`\r -`?P=2:x===` -`&&(P=1);let T=S.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace;v.editor&&typeof v.editor.trimAutoWhitespace<"u"&&(T=v.editor.trimAutoWhitespace==="false"?!1:!!v.editor.trimAutoWhitespace);let A=S.EDITOR_MODEL_DEFAULTS.detectIndentation;v.editor&&typeof v.editor.detectIndentation<"u"&&(A=v.editor.detectIndentation==="false"?!1:!!v.editor.detectIndentation);let N=S.EDITOR_MODEL_DEFAULTS.largeFileOptimizations;v.editor&&typeof v.editor.largeFileOptimizations<"u"&&(N=v.editor.largeFileOptimizations==="false"?!1:!!v.editor.largeFileOptimizations);let F=S.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions;return!((w=v.editor)===null||w===void 0)&&w.bracketPairColorization&&typeof v.editor.bracketPairColorization=="object"&&(F={enabled:!!v.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!v.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:b,tabSize:E,indentSize:I,insertSpaces:M,detectIndentation:A,defaultEOL:P,trimAutoWhitespace:T,largeFileOptimizations:N,bracketPairColorizationOptions:F}}_getEOL(v,b){if(v)return this._resourcePropertiesService.getEOL(v,b);const w=this._configurationService.getValue("files.eol",{overrideIdentifier:b});return w&&typeof w=="string"&&w!=="auto"?w:y.OS===3||y.OS===2?` -`:`\r -`}_shouldRestoreUndoStack(){const v=this._configurationService.getValue("files.restoreUndoStack");return typeof v=="boolean"?v:!0}getCreationOptions(v,b,w){const E=typeof v=="string"?v:v.languageId;let I=this._modelCreationOptionsByLanguageAndResource[E+b];if(!I){const M=this._configurationService.getValue("editor",{overrideIdentifier:E,resource:b}),P=this._getEOL(b,E);I=h._readModelOptions({editor:M,eol:P},w),this._modelCreationOptionsByLanguageAndResource[E+b]=I}return I}_updateModelOptions(v){const b=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const w=Object.keys(this._models);for(let E=0,I=w.length;Ev){const b=[];for(this._disposedModels.forEach(w=>{w.sharesUndoRedoStack||b.push(w)}),b.sort((w,E)=>w.time-E.time);b.length>0&&this._disposedModelsHeapSize>v;){const w=b.shift();this._removeDisposedModel(w.uri),w.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(w.initialUndoRedoSnapshot)}}}_createModelData(v,b,w,E){const I=this.getCreationOptions(b,w,E),M=new D.TextModel(v,b,I,w,this._undoRedoService,this._languageService,this._languageConfigurationService);if(w&&this._disposedModels.has(r(w))){const T=this._removeDisposedModel(w),A=this._undoRedoService.getElements(w),N=c(M)===T.sha1;if(N||T.sharesUndoRedoStack){for(const F of A.past)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);for(const F of A.future)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);this._undoRedoService.setElementsValidFlag(w,!0,F=>(0,n.isEditStackElement)(F)&&F.matchesResource(w)),N&&(M._overwriteVersionId(T.versionId),M._overwriteAlternativeVersionId(T.alternativeVersionId),M._overwriteInitialUndoRedoSnapshot(T.initialUndoRedoSnapshot))}else T.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(T.initialUndoRedoSnapshot)}const P=r(M.uri);if(this._models[P])throw new Error("ModelService: Cannot add model because it already exists!");const x=new o(M,T=>this._onWillDispose(T),(T,A)=>this._onDidChangeLanguage(T,A));return this._models[P]=x,x}createModel(v,b,w,E=!1){let I;return b?I=this._createModelData(v,b,w,E):I=this._createModelData(v,f.PLAINTEXT_LANGUAGE_ID,w,E),this._onModelAdded.fire(I.model),I.model}getModels(){const v=[],b=Object.keys(this._models);for(let w=0,E=b.length;w0||x.future.length>0){for(const T of x.past)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri));for(const T of x.future)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri))}}const P=h.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(I)if(!E&&M>P){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}else this._ensureDisposedModelsHeapSize(P-M),this._undoRedoService.setElementsValidFlag(v.uri,!1,x=>(0,n.isEditStackElement)(x)&&x.matchesResource(v.uri)),this._insertDisposedModel(new l(v.uri,w.model.getInitialUndoRedoSnapshot(),Date.now(),E,M,c(v),v.getVersionId(),v.getAlternativeVersionId()));else if(!E){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}delete this._models[b],w.dispose(),delete this._modelCreationOptionsByLanguageAndResource[v.getLanguageId()+v.uri],this._onModelRemoved.fire(v)}_onDidChangeLanguage(v,b){const w=b.oldLanguage,E=v.getLanguageId(),I=this.getCreationOptions(w,v.uri,v.isForSimpleWidget),M=this.getCreationOptions(E,v.uri,v.isForSimpleWidget);h._setModelOptionsForModel(v,M,I),this._onModelModeChanged.fire({model:v,oldLanguageId:w})}};e.ModelService=p,p.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024,e.ModelService=p=h=ke([fe(0,C.IConfigurationService),fe(1,g.ITextResourcePropertiesService),fe(2,s.IUndoRedoService),fe(3,_.ILanguageService),fe(4,u.ILanguageConfigurationService)],p)}),define(ne[872],se([1,0,14,12,5,209,40,111,211,532,281,67]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModelLinesFromModelAsIs=e.ViewModelLinesFromProjectedModel=void 0;class i{constructor(o,d,l,p,m,v,b,w,E,I){this._editorId=o,this.model=d,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=l,this._monospaceLineBreaksComputerFactory=p,this.fontInfo=m,this.tabSize=v,this.wrappingStrategy=b,this.wrappingColumn=w,this.wrappingIndent=E,this.wordBreak=I,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new u(this)}_constructLines(o,d){this.modelLineProjections=[],o&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const l=this.model.getLinesContent(),p=this.model.getInjectedTextDecorations(this._editorId),m=l.length,v=this.createLineBreaksComputer(),b=new L.ArrayQueue(f.LineInjectedText.fromDecorations(p));for(let A=0;AF.lineNumber===A+1);v.addRequest(l[A],N,d?d[A]:null)}const w=v.finalize(),E=[],I=this.hiddenAreasDecorationIds.map(A=>this.model.getDecorationRange(A)).sort(y.Range.compareRangesUsingStarts);let M=1,P=0,x=-1,T=x+1=M&&N<=P,O=(0,g.createModelLineProjection)(w[A],!F);E[A]=O.getViewLineCount(),this.modelLineProjections[A]=O}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new C.ConstantTimePrefixSumComputer(E)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(o=>this.model.getDecorationRange(o))}setHiddenAreas(o){const d=o.map(P=>this.model.validateRange(P)),l=n(d),p=this.hiddenAreasDecorationIds.map(P=>this.model.getDecorationRange(P)).sort(y.Range.compareRangesUsingStarts);if(l.length===p.length){let P=!1;for(let x=0;x({range:P,options:S.ModelDecorationOptions.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,m);const v=l;let b=1,w=0,E=-1,I=E+1=b&&x<=w?this.modelLineProjections[P].isVisible()&&(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!1),T=!0):(M=!0,this.modelLineProjections[P].isVisible()||(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!0),T=!0)),T){const A=this.modelLineProjections[P].getViewLineCount();this.projectedModelLineLineCounts.setValue(P,A)}}return M||this.setHiddenAreas([]),!0}modelPositionIsVisible(o,d){return o<1||o>this.modelLineProjections.length?!1:this.modelLineProjections[o-1].isVisible()}getModelLineViewLineCount(o){return o<1||o>this.modelLineProjections.length?1:this.modelLineProjections[o-1].getViewLineCount()}setTabSize(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)}setWrappingSettings(o,d,l,p,m){const v=this.fontInfo.equals(o),b=this.wrappingStrategy===d,w=this.wrappingColumn===l,E=this.wrappingIndent===p,I=this.wordBreak===m;if(v&&b&&w&&E&&I)return!1;const M=v&&b&&!w&&E&&I;this.fontInfo=o,this.wrappingStrategy=d,this.wrappingColumn=l,this.wrappingIndent=p,this.wordBreak=m;let P=null;if(M){P=[];for(let x=0,T=this.modelLineProjections.length;x2&&!this.modelLineProjections[d-2].isVisible(),v=d===1?1:this.projectedModelLineLineCounts.getPrefixSum(d-1)+1;let b=0;const w=[],E=[];for(let I=0,M=p.length;Iw?(I=this.projectedModelLineLineCounts.getPrefixSum(d-1)+1,M=I+w-1,T=M+1,A=T+(m-w)-1,E=!0):md?d:o|0}getActiveIndentGuide(o,d,l){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d),l=this._toValidViewLineNumber(l);const p=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),m=this.convertViewPositionToModelPosition(d,this.getViewLineMinColumn(d)),v=this.convertViewPositionToModelPosition(l,this.getViewLineMinColumn(l)),b=this.model.guides.getActiveIndentGuide(p.lineNumber,m.lineNumber,v.lineNumber),w=this.convertModelPositionToViewPosition(b.startLineNumber,1),E=this.convertModelPositionToViewPosition(b.endLineNumber,this.model.getLineMaxColumn(b.endLineNumber));return{startLineNumber:w.lineNumber,endLineNumber:E.lineNumber,indent:b.indent}}getViewLineInfo(o){o=this._toValidViewLineNumber(o);const d=this.projectedModelLineLineCounts.getIndexOf(o-1),l=d.index,p=d.remainder;return new t(l+1,p)}getMinColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getModelEndPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getViewLineInfosGroupedByModelRanges(o,d){const l=this.getViewLineInfo(o),p=this.getViewLineInfo(d),m=new Array;let v=this.getModelStartPositionOfViewLine(l),b=new Array;for(let w=l.modelLineNumber;w<=p.modelLineNumber;w++){const E=this.modelLineProjections[w-1];if(E.isVisible()){const I=w===l.modelLineNumber?l.modelLineWrappedLineIdx:0,M=w===p.modelLineNumber?p.modelLineWrappedLineIdx+1:E.getViewLineCount();for(let P=I;P{if(x.forWrappedLinesAfterColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesAfterColumn).lineNumber>=I.modelLineWrappedLineIdx||x.forWrappedLinesBeforeOrAtColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesBeforeOrAtColumn).lineNumberI.modelLineWrappedLineIdx)return}const A=this.convertModelPositionToViewPosition(I.modelLineNumber,x.horizontalLine.endColumn),N=this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.horizontalLine.endColumn);return N.lineNumber===I.modelLineWrappedLineIdx?new D.IndentGuide(x.visibleColumn,T,x.className,new D.IndentGuideHorizontalLine(x.horizontalLine.top,A.column),-1,-1):N.lineNumber!!x))}}return v}getViewLinesIndentGuides(o,d){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d);const l=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),p=this.convertViewPositionToModelPosition(d,this.getViewLineMaxColumn(d));let m=[];const v=[],b=[],w=l.lineNumber-1,E=p.lineNumber-1;let I=null;for(let T=w;T<=E;T++){const A=this.modelLineProjections[T];if(A.isVisible()){const N=A.getViewLineNumberOfModelPosition(0,T===w?l.column:1),F=A.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(T+1)),O=F-N+1;let W=0;O>1&&A.getViewLineMinColumn(this.model,T+1,F)===1&&(W=N===0?1:2),v.push(O),b.push(W),I===null&&(I=new k.Position(T+1,0))}else I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,T)),I=null)}I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,p.lineNumber)),I=null);const M=d-o+1,P=new Array(M);let x=0;for(let T=0,A=m.length;Td&&(T=!0,x=d-m+1),M.getViewLinesData(this.model,E+1,P,x,m-o,l,w),m+=x,T)break}return w}validateViewPosition(o,d,l){o=this._toValidViewLineNumber(o);const p=this.projectedModelLineLineCounts.getIndexOf(o-1),m=p.index,v=p.remainder,b=this.modelLineProjections[m],w=b.getViewLineMinColumn(this.model,m+1,v),E=b.getViewLineMaxColumn(this.model,m+1,v);dE&&(d=E);const I=b.getModelColumnOfViewPosition(v,d);return this.model.validatePosition(new k.Position(m+1,I)).equals(l)?new k.Position(o,d):this.convertModelPositionToViewPosition(l.lineNumber,l.column)}validateViewRange(o,d){const l=this.validateViewPosition(o.startLineNumber,o.startColumn,d.getStartPosition()),p=this.validateViewPosition(o.endLineNumber,o.endColumn,d.getEndPosition());return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}convertViewPositionToModelPosition(o,d){const l=this.getViewLineInfo(o),p=this.modelLineProjections[l.modelLineNumber-1].getModelColumnOfViewPosition(l.modelLineWrappedLineIdx,d);return this.model.validatePosition(new k.Position(l.modelLineNumber,p))}convertViewRangeToModelRange(o){const d=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),l=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new y.Range(d.lineNumber,d.column,l.lineNumber,l.column)}convertModelPositionToViewPosition(o,d,l=2,p=!1,m=!1){const v=this.model.validatePosition(new k.Position(o,d)),b=v.lineNumber,w=v.column;let E=b-1,I=!1;if(m)for(;E0&&!this.modelLineProjections[E].isVisible();)E--,I=!0;if(E===0&&!this.modelLineProjections[E].isVisible())return new k.Position(p?0:1,1);const M=1+this.projectedModelLineLineCounts.getPrefixSum(E);let P;return I?m?P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,1,l):P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,this.model.getLineMaxColumn(E+1),l):P=this.modelLineProjections[b-1].getViewPositionOfModelPosition(M,w,l),P}convertModelRangeToViewRange(o,d=0){if(o.isEmpty()){const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,d);return y.Range.fromPositions(l)}else{const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,1),p=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn,0);return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}}getViewLineNumberOfModelPosition(o,d){let l=o-1;if(this.modelLineProjections[l].isVisible()){const m=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(m,d)}for(;l>0&&!this.modelLineProjections[l].isVisible();)l--;if(l===0&&!this.modelLineProjections[l].isVisible())return 1;const p=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(p,this.model.getLineMaxColumn(l+1))}getDecorationsInRange(o,d,l,p,m){const v=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),b=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);if(b.lineNumber-v.lineNumber<=o.endLineNumber-o.startLineNumber)return this.model.getDecorationsInRange(new y.Range(v.lineNumber,1,b.lineNumber,b.column),d,l,p,m);let w=[];const E=v.lineNumber-1,I=b.lineNumber-1;let M=null;for(let A=E;A<=I;A++)if(this.modelLineProjections[A].isVisible())M===null&&(M=new k.Position(A+1,A===E?v.column:1));else if(M!==null){const F=this.model.getLineMaxColumn(A);w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,A,F),d,l,p)),M=null}M!==null&&(w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,b.lineNumber,b.column),d,l,p)),M=null),w.sort((A,N)=>{const F=y.Range.compareRangesUsingStarts(A.range,N.range);return F===0?A.idN.id?1:0:F});const P=[];let x=0,T=null;for(const A of w){const N=A.id;T!==N&&(T=N,P[x++]=A)}return P}getInjectedTextAt(o){const d=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[d.modelLineNumber-1].getInjectedTextAt(d.modelLineWrappedLineIdx,o.column)}normalizePosition(o,d){const l=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[l.modelLineNumber-1].normalizePosition(l.modelLineWrappedLineIdx,o,d)}getLineIndentColumn(o){const d=this.getViewLineInfo(o);return d.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(d.modelLineNumber):0}}e.ViewModelLinesFromProjectedModel=i;function n(c){if(c.length===0)return[];const o=c.slice();o.sort(y.Range.compareRangesUsingStarts);const d=[];let l=o[0].startLineNumber,p=o[0].endLineNumber;for(let m=1,v=o.length;mp+1?(d.push(new y.Range(l,1,p,1)),l=b.startLineNumber,p=b.endLineNumber):b.endLineNumber>p&&(p=b.endLineNumber)}return d.push(new y.Range(l,1,p,1)),d}class t{constructor(o,d){this.modelLineNumber=o,this.modelLineWrappedLineIdx=d}}class a{constructor(o,d){this.modelRange=o,this.viewLines=d}}class u{constructor(o){this._lines=o}convertViewPositionToModelPosition(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)}convertViewRangeToModelRange(o){return this._lines.convertViewRangeToModelRange(o)}validateViewPosition(o,d){return this._lines.validateViewPosition(o.lineNumber,o.column,d)}validateViewRange(o,d){return this._lines.validateViewRange(o,d)}convertModelPositionToViewPosition(o,d,l,p){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column,d,l,p)}convertModelRangeToViewRange(o,d){return this._lines.convertModelRangeToViewRange(o,d)}modelPositionIsVisible(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)}getModelLineViewLineCount(o){return this._lines.getModelLineViewLineCount(o)}getViewLineNumberOfModelPosition(o,d){return this._lines.getViewLineNumberOfModelPosition(o,d)}}class h{constructor(o){this.model=o}dispose(){}createCoordinatesConverter(){return new r(this)}getHiddenAreas(){return[]}setHiddenAreas(o){return!1}setTabSize(o){return!1}setWrappingSettings(o,d,l,p){return!1}createLineBreaksComputer(){const o=[];return{addRequest:(d,l,p)=>{o.push(null)},finalize:()=>o}}onModelFlushed(){}onModelLinesDeleted(o,d,l){return new _.ViewLinesDeletedEvent(d,l)}onModelLinesInserted(o,d,l,p){return new _.ViewLinesInsertedEvent(d,l)}onModelLineChanged(o,d,l){return[!1,new _.ViewLinesChangedEvent(d,1),null,null]}acceptVersionId(o){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(o,d,l){return{startLineNumber:o,endLineNumber:o,indent:0}}getViewLinesBracketGuides(o,d,l){return new Array(d-o+1).fill([])}getViewLinesIndentGuides(o,d){const l=d-o+1,p=new Array(l);for(let m=0;md)}getModelLineViewLineCount(o){return 1}getViewLineNumberOfModelPosition(o,d){return o}}}),define(ne[873],se([1,0,14,13,38,2,17,11,36,774,74,12,5,111,29,78,326,211,536,328,67,325,213,872]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModel=void 0;const m=!0;class v extends D.Disposable{constructor(T,A,N,F,O,W,U,j,R){if(super(),this.languageConfigurationService=U,this._themeService=j,this._attachedView=R,this.hiddenAreasModel=new E,this.previousHiddenAreas=[],this._editorId=T,this._configuration=A,this.model=N,this._eventDispatcher=new l.ViewModelEventDispatcher,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._updateConfigurationViewLineCount=this._register(new k.RunOnceScheduler(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=b.create(this.model),m&&this.model.isTooLargeForTokenization())this._lines=new p.ViewModelLinesFromModelAsIs(this.model);else{const K=this._configuration.options,G=K.get(49),Z=K.get(136),J=K.get(143),X=K.get(135),H=K.get(127);this._lines=new p.ViewModelLinesFromProjectedModel(this._editorId,this.model,F,O,G,this.model.getOptions().tabSize,Z,J.wrappingColumn,X,H)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new g.CursorsController(N,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new r.ViewLayout(this._configuration,this.getLineCount(),W)),this._register(this.viewLayout.onDidScroll(K=>{K.scrollTopChanged&&this._handleVisibleLinesChanged(),K.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new h.ViewScrollChangedEvent(K)),this._eventDispatcher.emitOutgoingEvent(new l.ScrollChangedEvent(K.oldScrollWidth,K.oldScrollLeft,K.oldScrollHeight,K.oldScrollTop,K.scrollWidth,K.scrollLeft,K.scrollHeight,K.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(K=>{this._eventDispatcher.emitOutgoingEvent(K)})),this._decorations=new d.ViewModelDecorations(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(K=>{try{const G=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(G,K)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(c.MinimapTokensColorTracker.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new h.ViewTokensColorsChangedEvent)})),this._register(this._themeService.onDidColorThemeChange(K=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new h.ViewThemeChangedEvent(K))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(T){this._eventDispatcher.addViewEventHandler(T)}removeViewEventHandler(T){this._eventDispatcher.removeViewEventHandler(T)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){const T=this.viewLayout.getLinesViewportData(),A=new i.Range(T.startLineNumber,this.getLineMinColumn(T.startLineNumber),T.endLineNumber,this.getLineMaxColumn(T.endLineNumber));return this._toModelVisibleRanges(A)}visibleLinesStabilized(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!0)}_handleVisibleLinesChanged(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!1)}setHasFocus(T){this._hasFocus=T,this._cursor.setHasFocus(T),this._eventDispatcher.emitSingleViewEvent(new h.ViewFocusChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.FocusChangedEvent(!T,T))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionStartEvent)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionEndEvent)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){const T=new s.Position(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),A=this.coordinatesConverter.convertViewPositionToModelPosition(T);return new P(A,this._viewportStart.startLineDelta)}return new P(null,0)}_onConfigurationChanged(T,A){const N=this._captureStableViewport(),F=this._configuration.options,O=F.get(49),W=F.get(136),U=F.get(143),j=F.get(135),R=F.get(127);this._lines.setWrappingSettings(O,W,U.wrappingColumn,j,R)&&(T.emitViewEvent(new h.ViewFlushedEvent),T.emitViewEvent(new h.ViewLineMappingChangedEvent),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(T),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),A.hasChanged(89)&&(this._decorations.reset(),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null))),T.emitViewEvent(new h.ViewConfigurationChangedEvent(A)),this.viewLayout.onConfigurationChanged(A),N.recoverViewportStart(this.coordinatesConverter,this.viewLayout),C.CursorConfiguration.shouldRecreate(A)&&(this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(T=>{try{const N=this._eventDispatcher.beginEmitViewEvents();let F=!1,O=!1;const W=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.changes:T.changes,U=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.versionId:null,j=this._lines.createLineBreaksComputer();for(const G of W)switch(G.changeType){case 4:{for(let Z=0;Z!H.ownerId||H.ownerId===this._editorId)),j.addRequest(J,X,null)}break}case 2:{let Z=null;G.injectedText&&(Z=G.injectedText.filter(J=>!J.ownerId||J.ownerId===this._editorId)),j.addRequest(G.detail,Z,null);break}}const R=j.finalize(),K=new L.ArrayQueue(R);for(const G of W)switch(G.changeType){case 1:{this._lines.onModelFlushed(),N.emitViewEvent(new h.ViewFlushedEvent),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),F=!0;break}case 3:{const Z=this._lines.onModelLinesDeleted(U,G.fromLineNumber,G.toLineNumber);Z!==null&&(N.emitViewEvent(Z),this.viewLayout.onLinesDeleted(Z.fromLineNumber,Z.toLineNumber)),F=!0;break}case 4:{const Z=K.takeCount(G.detail.length),J=this._lines.onModelLinesInserted(U,G.fromLineNumber,G.toLineNumber,Z);J!==null&&(N.emitViewEvent(J),this.viewLayout.onLinesInserted(J.fromLineNumber,J.toLineNumber)),F=!0;break}case 2:{const Z=K.dequeue(),[J,X,H,B]=this._lines.onModelLineChanged(U,G.lineNumber,Z);O=J,X&&N.emitViewEvent(X),H&&(N.emitViewEvent(H),this.viewLayout.onLinesInserted(H.fromLineNumber,H.toLineNumber)),B&&(N.emitViewEvent(B),this.viewLayout.onLinesDeleted(B.fromLineNumber,B.toLineNumber));break}case 5:break}U!==null&&this._lines.acceptVersionId(U),this.viewLayout.onHeightMaybeChanged(),!F&&O&&(N.emitViewEvent(new h.ViewLineMappingChangedEvent),N.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(N),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}const A=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&A){const N=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(N){const F=this.coordinatesConverter.convertModelPositionToViewPosition(N.getStartPosition()),O=this.viewLayout.getVerticalOffsetForLineNumber(F.lineNumber);this.viewLayout.setScrollPosition({scrollTop:O+this._viewportStart.startLineDelta},1)}}try{const N=this._eventDispatcher.beginEmitViewEvents();T instanceof n.InternalModelContentChangeEvent&&N.emitOutgoingEvent(new l.ModelContentChangedEvent(T.contentChangedEvent)),this._cursor.onModelContentChanged(N,T)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(T=>{const A=[];for(let N=0,F=T.ranges.length;N{this._eventDispatcher.emitSingleViewEvent(new h.ViewLanguageConfigurationEvent),this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageConfigurationChangedEvent(T))})),this._register(this.model.onDidChangeLanguage(T=>{this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageChangedEvent(T))})),this._register(this.model.onDidChangeOptions(T=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const A=this._eventDispatcher.beginEmitViewEvents();A.emitViewEvent(new h.ViewFlushedEvent),A.emitViewEvent(new h.ViewLineMappingChangedEvent),A.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(A),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelOptionsChangedEvent(T))})),this._register(this.model.onDidChangeDecorations(T=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new h.ViewDecorationsChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.ModelDecorationsChangedEvent(T))}))}setHiddenAreas(T,A){this.hiddenAreasModel.setHiddenAreas(A,T);const N=this.hiddenAreasModel.getMergedRanges();if(N===this.previousHiddenAreas)return;this.previousHiddenAreas=N;const F=this._captureStableViewport();let O=!1;try{const W=this._eventDispatcher.beginEmitViewEvents();O=this._lines.setHiddenAreas(N),O&&(W.emitViewEvent(new h.ViewFlushedEvent),W.emitViewEvent(new h.ViewLineMappingChangedEvent),W.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(W),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged()),F.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),O&&this._eventDispatcher.emitOutgoingEvent(new l.HiddenAreasChangedEvent)}getVisibleRangesPlusViewportAboveBelow(){const T=this._configuration.options.get(142),A=this._configuration.options.get(65),N=Math.max(20,Math.round(T.height/A)),F=this.viewLayout.getLinesViewportData(),O=Math.max(1,F.completelyVisibleStartLineNumber-N),W=Math.min(this.getLineCount(),F.completelyVisibleEndLineNumber+N);return this._toModelVisibleRanges(new i.Range(O,this.getLineMinColumn(O),W,this.getLineMaxColumn(W)))}getVisibleRanges(){const T=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(T)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(T){const A=this.coordinatesConverter.convertViewRangeToModelRange(T),N=this._lines.getHiddenAreas();if(N.length===0)return[A];const F=[];let O=0,W=A.startLineNumber,U=A.startColumn;const j=A.endLineNumber,R=A.endColumn;for(let K=0,G=N.length;Kj||(W"u")return this._reduceRestoreStateCompatibility(T);const A=this.model.validatePosition(T.firstPosition),N=this.coordinatesConverter.convertModelPositionToViewPosition(A),F=this.viewLayout.getVerticalOffsetForLineNumber(N.lineNumber)-T.firstPositionDeltaTop;return{scrollLeft:T.scrollLeft,scrollTop:F}}_reduceRestoreStateCompatibility(T){return{scrollLeft:T.scrollLeft,scrollTop:T.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(T,A,N){this._viewportStart.update(this,T)}getActiveIndentGuide(T,A,N){return this._lines.getActiveIndentGuide(T,A,N)}getLinesIndentGuides(T,A){return this._lines.getViewLinesIndentGuides(T,A)}getBracketGuidesInRangeByLine(T,A,N,F){return this._lines.getViewLinesBracketGuides(T,A,N,F)}getLineContent(T){return this._lines.getViewLineContent(T)}getLineLength(T){return this._lines.getViewLineLength(T)}getLineMinColumn(T){return this._lines.getViewLineMinColumn(T)}getLineMaxColumn(T){return this._lines.getViewLineMaxColumn(T)}getLineFirstNonWhitespaceColumn(T){const A=f.firstNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+1}getLineLastNonWhitespaceColumn(T){const A=f.lastNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+2}getMinimapDecorationsInRange(T){return this._decorations.getMinimapDecorationsInRange(T)}getDecorationsInViewport(T){return this._decorations.getDecorationsViewportData(T).decorations}getInjectedTextAt(T){return this._lines.getInjectedTextAt(T)}getViewportViewLineRenderingData(T,A){const F=this._decorations.getDecorationsViewportData(T).inlineDecorations[A-T.startLineNumber];return this._getViewLineRenderingData(A,F)}getViewLineRenderingData(T){const A=this._decorations.getInlineDecorationsOnLine(T);return this._getViewLineRenderingData(T,A)}_getViewLineRenderingData(T,A){const N=this.model.mightContainRTL(),F=this.model.mightContainNonBasicASCII(),O=this.getTabSize(),W=this._lines.getViewLineData(T);return W.inlineDecorations&&(A=[...A,...W.inlineDecorations.map(U=>U.toInlineDecoration(T))]),new o.ViewLineRenderingData(W.minColumn,W.maxColumn,W.content,W.continuesWithWrappedLine,N,F,W.tokens,A,O,W.startVisibleColumn)}getViewLineData(T){return this._lines.getViewLineData(T)}getMinimapLinesRenderingData(T,A,N){const F=this._lines.getViewLinesData(T,A,N);return new o.MinimapLinesRenderingData(this.getTabSize(),F)}getAllOverviewRulerDecorations(T){const A=this.model.getOverviewRulerDecorations(this._editorId,(0,_.filterValidationDecorations)(this._configuration.options)),N=new w;for(const F of A){const O=F.options,W=O.overviewRuler;if(!W)continue;const U=W.position;if(U===0)continue;const j=W.getColor(T.value),R=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.startLineNumber,F.range.startColumn),K=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.endLineNumber,F.range.endColumn);N.accept(j,O.zIndex,R,K,U)}return N.asArray}_invalidateDecorationsColorCache(){const T=this.model.getOverviewRulerDecorations();for(const A of T){const N=A.options.overviewRuler;N?.invalidateCachedColor();const F=A.options.minimap;F?.invalidateCachedColor()}}getValueInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueInRange(N,A)}getValueLengthInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueLengthInRange(N,A)}modifyPosition(T,A){const N=this.coordinatesConverter.convertViewPositionToModelPosition(T);return this.model.modifyPosition(N,A)}deduceModelPositionRelativeToViewPosition(T,A,N){const F=this.coordinatesConverter.convertViewPositionToModelPosition(T);this.model.getEOL().length===2&&(A<0?A-=N:A+=N);const W=this.model.getOffsetAt(F)+A;return this.model.getPositionAt(W)}getPlainTextToCopy(T,A,N){const F=N?`\r -`:this.model.getEOL();T=T.slice(0),T.sort(i.Range.compareRangesUsingStarts);let O=!1,W=!1;for(const j of T)j.isEmpty()?O=!0:W=!0;if(!W){if(!A)return"";const j=T.map(K=>K.startLineNumber);let R="";for(let K=0;K0&&j[K-1]===j[K]||(R+=this.model.getLineContent(j[K])+F);return R}if(O&&A){const j=[];let R=0;for(const K of T){const G=K.startLineNumber;K.isEmpty()?G!==R&&j.push(this.model.getLineContent(G)):j.push(this.model.getValueInRange(K,N?2:0)),R=G}return j.length===1?j[0]:j}const U=[];for(const j of T)j.isEmpty()||U.push(this.model.getValueInRange(j,N?2:0));return U.length===1?U[0]:U}getRichTextToCopy(T,A){const N=this.model.getLanguageId();if(N===a.PLAINTEXT_LANGUAGE_ID||T.length!==1)return null;let F=T[0];if(F.isEmpty()){if(!A)return null;const K=F.startLineNumber;F=new i.Range(K,this.model.getLineMinColumn(K),K,this.model.getLineMaxColumn(K))}const O=this._configuration.options.get(49),W=this._getColorMap(),j=/[:;\\\/<>]/.test(O.fontFamily)||O.fontFamily===_.EDITOR_FONT_DEFAULTS.fontFamily;let R;return j?R=_.EDITOR_FONT_DEFAULTS.fontFamily:(R=O.fontFamily,R=R.replace(/"/g,"'"),/[,']/.test(R)||/[+ ]/.test(R)&&(R=`'${R}'`),R=`${R}, ${_.EDITOR_FONT_DEFAULTS.fontFamily}`),{mode:N,html:`
    `+this._getHTMLToCopy(F,W)+"
    "}}_getHTMLToCopy(T,A){const N=T.startLineNumber,F=T.startColumn,O=T.endLineNumber,W=T.endColumn,U=this.getTabSize();let j="";for(let R=N;R<=O;R++){const K=this.model.tokenization.getLineTokens(R),G=K.getLineContent(),Z=R===N?F-1:0,J=R===O?W-1:G.length;G===""?j+="
    ":j+=(0,u.tokenizeLineToHTML)(G,K.inflate(),A,Z,J,U,S.isWindows)}return j}_getColorMap(){const T=t.TokenizationRegistry.getColorMap(),A=["#000000"];if(T)for(let N=1,F=T.length;Nthis._cursor.setStates(F,T,A,N))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(T){this._cursor.setCursorColumnSelectData(T)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(T){this._cursor.setPrevEditOperationType(T)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(T,A,N=0){this._withViewEventsCollector(F=>this._cursor.setSelections(F,T,A,N))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(T){this._withViewEventsCollector(A=>this._cursor.restoreState(A,T))}_executeCursorEdit(T){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new l.ReadOnlyEditAttemptEvent);return}this._withViewEventsCollector(T)}executeEdits(T,A,N){this._executeCursorEdit(F=>this._cursor.executeEdits(F,T,A,N))}startComposition(){this._executeCursorEdit(T=>this._cursor.startComposition(T))}endComposition(T){this._executeCursorEdit(A=>this._cursor.endComposition(A,T))}type(T,A){this._executeCursorEdit(N=>this._cursor.type(N,T,A))}compositionType(T,A,N,F,O){this._executeCursorEdit(W=>this._cursor.compositionType(W,T,A,N,F,O))}paste(T,A,N,F){this._executeCursorEdit(O=>this._cursor.paste(O,T,A,N,F))}cut(T){this._executeCursorEdit(A=>this._cursor.cut(A,T))}executeCommand(T,A){this._executeCursorEdit(N=>this._cursor.executeCommand(N,T,A))}executeCommands(T,A){this._executeCursorEdit(N=>this._cursor.executeCommands(N,T,A))}revealPrimaryCursor(T,A,N=!1){this._withViewEventsCollector(F=>this._cursor.revealPrimary(F,T,N,0,A,0))}revealTopMostCursor(T){const A=this._cursor.getTopMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealBottomMostCursor(T){const A=this._cursor.getBottomMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealRange(T,A,N,F,O){this._withViewEventsCollector(W=>W.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,F,A,O)))}changeWhitespace(T){this.viewLayout.changeWhitespace(T)&&(this._eventDispatcher.emitSingleViewEvent(new h.ViewZonesChangedEvent),this._eventDispatcher.emitOutgoingEvent(new l.ViewZonesChangedEvent))}_withViewEventsCollector(T){try{const A=this._eventDispatcher.beginEmitViewEvents();return T(A)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(T,A){return this._lines.normalizePosition(T,A)}getLineIndentColumn(T){return this._lines.getLineIndentColumn(T)}}e.ViewModel=v;class b{static create(T){const A=T._setTrackedRange(null,new i.Range(1,1,1,1),1);return new b(T,1,!1,A,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(T,A,N,F,O){this._model=T,this._viewLineNumber=A,this._isValid=N,this._modelTrackedRange=F,this._startLineDelta=O}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(T,A){const N=T.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(A,T.getLineMinColumn(A))),F=T.model._setTrackedRange(this._modelTrackedRange,new i.Range(N.lineNumber,N.column,N.lineNumber,N.column),1),O=T.viewLayout.getVerticalOffsetForLineNumber(A),W=T.viewLayout.getCurrentScrollTop();this._viewLineNumber=A,this._isValid=!0,this._modelTrackedRange=F,this._startLineDelta=W-O}invalidate(){this._isValid=!1}}class w{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(T,A,N,F,O){const W=this._asMap[T];if(W){const U=W.data,j=U[U.length-3],R=U[U.length-1];if(j===O&&R+1>=N){F>R&&(U[U.length-1]=F);return}U.push(O,N,F)}else{const U=new o.OverviewRulerDecorationsGroup(T,A,[O,N,F]);this._asMap[T]=U,this.asArray.push(U)}}}class E{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(T,A){const N=this.hiddenAreas.get(T);N&&M(N,A)||(this.hiddenAreas.set(T,A),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;const T=Array.from(this.hiddenAreas.values()).reduce((A,N)=>I(A,N),[]);return M(this.ranges,T)?this.ranges:(this.ranges=T,this.ranges)}}function I(x,T){const A=[];let N=0,F=0;for(;N{this._onDidChangeConfiguration.fire(Fe);const _e=this._configuration.options;if(Fe.hasChanged(142)){const me=_e.get(142);this._onDidLayoutChange.fire(me)}})),this._contextKeyService=this._register(oe.createScoped(this._domElement)),this._notificationService=ve,this._codeEditorService=$,this._commandService=re,this._themeService=ge,this._register(new X(this,this._contextKeyService)),this._register(new H(this,this._contextKeyService,De)),this._instantiationService=ee.createChild(new E.ServiceCollection([b.IContextKeyService,this._contextKeyService])),this._modelData=null,this._focusTracker=new B(te),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={};let Me;Array.isArray(z.contributions)?Me=z.contributions:Me=g.EditorExtensionsRegistry.getEditorContributions(),this._contributions.initialize(this,Me,this._instantiationService);for(const Fe of g.EditorExtensionsRegistry.getEditorActions()){if(this._actions.has(Fe.id)){(0,y.onUnexpectedError)(new Error(`Cannot have two actions with the same id ${Fe.id}`));continue}const _e=new r.InternalEditorAction(Fe.id,Fe.label,Fe.alias,(ye=Fe.precondition)!==null&&ye!==void 0?ye:void 0,()=>this._instantiationService.invokeFunction(me=>Promise.resolve(Fe.runEditorCommand(me,this,null))),this._contextKeyService);this._actions.set(_e.id,_e)}const Pe=()=>!this._configuration.options.get(89)&&this._configuration.options.get(35).enabled;this._register(new k.DragAndDropObserver(this._domElement,{onDragEnter:()=>{},onDragOver:Fe=>{if(!Pe())return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this.showDropIndicatorAt(_e.position)},onDrop:Fe=>we(this,void 0,void 0,function*(){if(!Pe()||(this.removeDropIndicator(),!Fe.dataTransfer))return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this._onDropIntoEditor.fire({position:_e.position,event:Fe})}),onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(te){var q;(q=this._modelData)===null||q===void 0||q.view.writeScreenReaderContent(te)}_createConfiguration(te,q,z){return new _.EditorConfiguration(te,q,this._domElement,z)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return c.EditorType.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(te){return this._instantiationService.invokeFunction(te)}updateOptions(te){this._configuration.updateOptions(te||{})}getOptions(){return this._configuration.options}getOption(te){return this._configuration.options.get(te)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(te){return this._modelData?A.WordOperations.getWordAtPosition(this._modelData.model,this._configuration.options.get(128),te):null}getValue(te=null){if(!this._modelData)return"";const q=!!(te&&te.preserveBOM);let z=0;return te&&te.lineEnding&&te.lineEnding===` -`?z=1:te&&te.lineEnding&&te.lineEnding===`\r -`&&(z=2),this._modelData.model.getValue(z,q)}setValue(te){this._modelData&&this._modelData.model.setValue(te)}getModel(){return this._modelData?this._modelData.model:null}setModel(te=null){const q=te;if(this._modelData===null&&q===null||this._modelData&&this._modelData.model===q)return;const z=this.hasTextFocus(),ee=this._detachModel();this._attachModel(q),z&&this.hasModel()&&this.focus();const $={oldModelUrl:ee?ee.uri:null,newModelUrl:q?q.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire($),this._postDetachModelCleanup(ee),this._contributions.onAfterModelAttached()}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(const te in this._decorationTypeSubtypes){const q=this._decorationTypeSubtypes[te];for(const z in q)this._removeDecorationType(te+"-"+z)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(te,q,z,ee){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(re.lineNumber,ee)}getTopForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,1,q):-1}getTopForPosition(te,q){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,q,!1):-1}static _getVerticalOffsetForPosition(te,q,z,ee=!1){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetForLineNumber(re.lineNumber,ee)}getBottomForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetAfterPosition(this._modelData,te,1,q):-1}setHiddenAreas(te,q){var z;(z=this._modelData)===null||z===void 0||z.viewModel.setHiddenAreas(te.map(ee=>u.Range.lift(ee)),q)}getVisibleColumnFromPosition(te){if(!this._modelData)return te.column;const q=this._modelData.model.validatePosition(te),z=this._modelData.model.getOptions().tabSize;return t.CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(q.lineNumber),q.column,z)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(te,q="api"){if(this._modelData){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,[{selectionStartLineNumber:te.lineNumber,selectionStartColumn:te.column,positionLineNumber:te.lineNumber,positionColumn:te.column}])}}_sendRevealRange(te,q,z,ee){if(!this._modelData)return;if(!u.Range.isIRange(te))throw new Error("Invalid arguments");const $=this._modelData.model.validateRange(te),re=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange($);this._modelData.viewModel.revealRange("api",z,re,q,ee)}revealLine(te,q=0){this._revealLine(te,0,q)}revealLineInCenter(te,q=0){this._revealLine(te,1,q)}revealLineInCenterIfOutsideViewport(te,q=0){this._revealLine(te,2,q)}revealLineNearTop(te,q=0){this._revealLine(te,5,q)}_revealLine(te,q,z){if(typeof te!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,te,1),q,!1,z)}revealPosition(te,q=0){this._revealPosition(te,0,!0,q)}revealPositionInCenter(te,q=0){this._revealPosition(te,1,!0,q)}revealPositionInCenterIfOutsideViewport(te,q=0){this._revealPosition(te,2,!0,q)}revealPositionNearTop(te,q=0){this._revealPosition(te,5,!0,q)}_revealPosition(te,q,z,ee){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),q,z,ee)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(te,q="api"){const z=h.Selection.isISelection(te),ee=u.Range.isIRange(te);if(!z&&!ee)throw new Error("Invalid arguments");if(z)this._setSelectionImpl(te,q);else if(ee){const $={selectionStartLineNumber:te.startLineNumber,selectionStartColumn:te.startColumn,positionLineNumber:te.endLineNumber,positionColumn:te.endColumn};this._setSelectionImpl($,q)}}_setSelectionImpl(te,q){if(!this._modelData)return;const z=new h.Selection(te.selectionStartLineNumber,te.selectionStartColumn,te.positionLineNumber,te.positionColumn);this._modelData.viewModel.setSelections(q,[z])}revealLines(te,q,z=0){this._revealLines(te,q,0,z)}revealLinesInCenter(te,q,z=0){this._revealLines(te,q,1,z)}revealLinesInCenterIfOutsideViewport(te,q,z=0){this._revealLines(te,q,2,z)}revealLinesNearTop(te,q,z=0){this._revealLines(te,q,5,z)}_revealLines(te,q,z,ee){if(typeof te!="number"||typeof q!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,q,1),z,!1,ee)}revealRange(te,q=0,z=!1,ee=!0){this._revealRange(te,z?1:0,ee,q)}revealRangeInCenter(te,q=0){this._revealRange(te,1,!0,q)}revealRangeInCenterIfOutsideViewport(te,q=0){this._revealRange(te,2,!0,q)}revealRangeNearTop(te,q=0){this._revealRange(te,5,!0,q)}revealRangeNearTopIfOutsideViewport(te,q=0){this._revealRange(te,6,!0,q)}revealRangeAtTop(te,q=0){this._revealRange(te,3,!0,q)}_revealRange(te,q,z,ee){if(!u.Range.isIRange(te))throw new Error("Invalid arguments");this._sendRevealRange(u.Range.lift(te),q,z,ee)}setSelections(te,q="api",z=0){if(this._modelData){if(!te||te.length===0)throw new Error("Invalid arguments");for(let ee=0,$=te.length;ee<$;ee++)if(!h.Selection.isISelection(te[ee]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,te,z)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollLeft:te},q)}}setScrollTop(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollTop:te},q)}}setScrollPosition(te,q=1){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPosition(te,q)}hasPendingScrollAnimation(){return this._modelData?this._modelData.viewModel.viewLayout.hasPendingScrollAnimation():!1}saveViewState(){if(!this._modelData)return null;const te=this._contributions.saveViewState(),q=this._modelData.viewModel.saveCursorState(),z=this._modelData.viewModel.saveState();return{cursorState:q,viewState:z,contributionsState:te}}restoreViewState(te){if(!this._modelData||!this._modelData.hasRealView)return;const q=te;if(q&&q.cursorState&&q.viewState){const z=q.cursorState;Array.isArray(z)?z.length>0&&this._modelData.viewModel.restoreCursorState(z):this._modelData.viewModel.restoreCursorState([z]),this._contributions.restoreViewState(q.contributionsState||{});const ee=this._modelData.viewModel.reduceRestoreState(q.viewState);this._modelData.view.restoreState(ee)}}handleInitialized(){var te;(te=this._getViewModel())===null||te===void 0||te.visibleLinesStabilized()}getContribution(te){return this._contributions.get(te)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){let te=this.getActions();return te=te.filter(q=>q.isSupported()),te}getAction(te){return this._actions.get(te)||null}trigger(te,q,z){switch(z=z||{},q){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(te);return;case"type":{const $=z;this._type(te,$.text||"");return}case"replacePreviousChar":{const $=z;this._compositionType(te,$.text||"",$.replaceCharCnt||0,0,0);return}case"compositionType":{const $=z;this._compositionType(te,$.text||"",$.replacePrevCharCnt||0,$.replaceNextCharCnt||0,$.positionDelta||0);return}case"paste":{const $=z;this._paste(te,$.text||"",$.pasteOnNewLine||!1,$.multicursorText||null,$.mode||null);return}case"cut":this._cut(te);return}const ee=this.getAction(q);if(ee){Promise.resolve(ee.run(z)).then(void 0,y.onUnexpectedError);return}this._modelData&&(this._triggerEditorCommand(te,q,z)||this._triggerCommand(q,z))}_triggerCommand(te,q){this._commandService.executeCommand(te,q)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(te){this._modelData&&(this._modelData.viewModel.endComposition(te),this._onDidCompositionEnd.fire())}_type(te,q){!this._modelData||q.length===0||(te==="keyboard"&&this._onWillType.fire(q),this._modelData.viewModel.type(q,te),te==="keyboard"&&this._onDidType.fire(q))}_compositionType(te,q,z,ee,$){this._modelData&&this._modelData.viewModel.compositionType(q,z,ee,$,te)}_paste(te,q,z,ee,$){if(!this._modelData||q.length===0)return;const re=this._modelData.viewModel,oe=re.getSelection().getStartPosition();re.paste(q,z,ee,te);const ge=re.getSelection().getStartPosition();te==="keyboard"&&this._onDidPaste.fire({range:new u.Range(oe.lineNumber,oe.column,ge.lineNumber,ge.column),languageId:$})}_cut(te){this._modelData&&this._modelData.viewModel.cut(te)}_triggerEditorCommand(te,q,z){const ee=g.EditorExtensionsRegistry.getEditorCommand(q);return ee?(z=z||{},z.source=te,this._instantiationService.invokeFunction($=>{Promise.resolve(ee.runEditorCommand($,this,z)).then(void 0,y.onUnexpectedError)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(te,q,z){if(!this._modelData||this._configuration.options.get(89))return!1;let ee;return z?Array.isArray(z)?ee=()=>z:ee=z:ee=()=>null,this._modelData.viewModel.executeEdits(te,q,ee),!0}executeCommand(te,q){this._modelData&&this._modelData.viewModel.executeCommand(q,te)}executeCommands(te,q){this._modelData&&this._modelData.viewModel.executeCommands(q,te)}createDecorationsCollection(te){return new V(this,te)}changeDecorations(te){return this._modelData?this._modelData.model.changeDecorations(te,this._id):null}getLineDecorations(te){return this._modelData?this._modelData.model.getLineDecorations(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}getDecorationsInRange(te){return this._modelData?this._modelData.model.getDecorationsInRange(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}deltaDecorations(te,q){return this._modelData?te.length===0&&q.length===0?te:this._modelData.model.deltaDecorations(te,q,this._id):[]}removeDecorations(te){!this._modelData||te.length===0||this._modelData.model.changeDecorations(q=>{q.deltaDecorations(te,[])})}removeDecorationsByType(te){const q=this._decorationTypeKeysToIds[te];q&&this.deltaDecorations(q,[]),this._decorationTypeKeysToIds.hasOwnProperty(te)&&delete this._decorationTypeKeysToIds[te],this._decorationTypeSubtypes.hasOwnProperty(te)&&delete this._decorationTypeSubtypes[te]}getLayoutInfo(){return this._configuration.options.get(142)}createOverviewRuler(te){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(te)}getContainerDomNode(){return this._domElement}getDomNode(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}delegateVerticalScrollbarPointerDown(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarPointerDown(te)}delegateScrollFromMouseWheelEvent(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateScrollFromMouseWheelEvent(te)}layout(te){this._configuration.observeContainer(te),this.render()}focus(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}hasTextFocus(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(te){const q={widget:te,position:te.getPosition()};this._contentWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(q)}layoutContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(z)}}removeContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];delete this._contentWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(z)}}addOverlayWidget(te){const q={widget:te,position:te.getPosition()};this._overlayWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(q)}layoutOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(z)}}removeOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];delete this._overlayWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(z)}}addGlyphMarginWidget(te){const q={widget:te,position:te.getPosition()};this._glyphMarginWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(q)}layoutGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(z)}}removeGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];delete this._glyphMarginWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(z)}}changeViewZones(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(te)}getTargetAtClientPoint(te,q){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(te,q)}getScrolledVisiblePosition(te){if(!this._modelData||!this._modelData.hasRealView)return null;const q=this._modelData.model.validatePosition(te),z=this._configuration.options,ee=z.get(142),$=j._getVerticalOffsetForPosition(this._modelData,q.lineNumber,q.column)-this.getScrollTop(),re=this._modelData.view.getOffsetForColumn(q.lineNumber,q.column)+ee.glyphMarginWidth+ee.lineNumbersWidth+ee.decorationsWidth-this.getScrollLeft();return{top:$,left:re,height:z.get(65)}}getOffsetForColumn(te,q){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(te,q)}render(te=!1){!this._modelData||!this._modelData.hasRealView||this._modelData.view.render(!0,te)}setAriaOptions(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(te)}applyFontInfo(te){(0,F.applyFontInfo)(te,this._configuration.options.get(49))}setBanner(te,q){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=te,this._configuration.setReservedHeight(te?q:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(te){if(!te){this._modelData=null;return}const q=[];this._domElement.setAttribute("data-mode-id",te.getLanguageId()),this._configuration.setIsDominatedByLongLines(te.isDominatedByLongLines()),this._configuration.setModelLineCount(te.getLineCount());const z=te.onBeforeAttached(),ee=new m.ViewModel(this._id,this._configuration,te,T.DOMLineBreaksComputerFactory.create(),x.MonospaceLineBreaksComputerFactory.create(this._configuration.options),oe=>k.scheduleAtNextAnimationFrame(oe),this.languageConfigurationService,this._themeService,z);q.push(te.onWillDispose(()=>this.setModel(null))),q.push(ee.onEvent(oe=>{switch(oe.kind){case 0:this._onDidContentSizeChange.fire(oe);break;case 1:this._editorTextFocus.setValue(oe.hasFocus);break;case 2:this._onDidScrollChange.fire(oe);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(oe.reachedMaxCursorCount){const Le=this.getOption(78),De=L.localize(0,null,Le);this._notificationService.prompt(I.Severity.Warning,De,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:L.localize(1,null),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}const ge=[];for(let Le=0,De=oe.selections.length;Le{this._paste("keyboard",$,re,oe,ge)},type:$=>{this._type("keyboard",$)},compositionType:($,re,oe,ge)=>{this._compositionType("keyboard",$,re,oe,ge)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:q={paste:($,re,oe,ge)=>{const ve={text:$,pasteOnNewLine:re,multicursorText:oe,mode:ge};this._commandService.executeCommand("paste",ve)},type:$=>{const re={text:$};this._commandService.executeCommand("type",re)},compositionType:($,re,oe,ge)=>{if(oe||ge){const ve={text:$,replacePrevCharCnt:re,replaceNextCharCnt:oe,positionDelta:ge};this._commandService.executeCommand("compositionType",ve)}else{const ve={text:$,replaceCharCnt:re};this._commandService.executeCommand("replacePreviousChar",ve)}},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const z=new i.ViewUserInputEvents(te.coordinatesConverter);return z.onKeyDown=$=>this._onKeyDown.fire($),z.onKeyUp=$=>this._onKeyUp.fire($),z.onContextMenu=$=>this._onContextMenu.fire($),z.onMouseMove=$=>this._onMouseMove.fire($),z.onMouseLeave=$=>this._onMouseLeave.fire($),z.onMouseDown=$=>this._onMouseDown.fire($),z.onMouseUp=$=>this._onMouseUp.fire($),z.onMouseDrag=$=>this._onMouseDrag.fire($),z.onMouseDrop=$=>this._onMouseDrop.fire($),z.onMouseDropCanceled=$=>this._onMouseDropCanceled.fire($),z.onMouseWheel=$=>this._onMouseWheel.fire($),[new s.View(q,this._configuration,this._themeService.getColorTheme(),te,z,this._overflowWidgetsDomNode,this._instantiationService),!0]}_postDetachModelCleanup(te){te?.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const te=this._modelData.model,q=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),q&&this._domElement.contains(q)&&this._domElement.removeChild(q),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),te}_removeDecorationType(te){this._codeEditorService.removeDecorationType(te)}hasModel(){return this._modelData!==null}showDropIndicatorAt(te){const q=[{range:new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),options:j.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(q),this.revealPosition(te,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(te,q){this._contextKeyService.createKey(te,q)}};e.CodeEditorWidget=G,G.dropIntoEditorDecorationOptions=d.ModelDecorationOptions.register({description:"workbench-dnd-target",className:"dnd-target"}),e.CodeEditorWidget=G=j=ke([fe(3,w.IInstantiationService),fe(4,C.ICodeEditorService),fe(5,v.ICommandService),fe(6,b.IContextKeyService),fe(7,M.IThemeService),fe(8,I.INotificationService),fe(9,P.IAccessibilityService),fe(10,N.ILanguageConfigurationService),fe(11,O.ILanguageFeaturesService)],G);class Z extends S.Disposable{constructor(te){super(),this._emitterOptions=te,this._onDidChangeToTrue=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(te){const q=te?2:1;this._value!==q&&(this._value=q,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}e.BooleanEventEmitter=Z;class J extends D.Emitter{constructor(te,q){super({deliveryQueue:q}),this._contributions=te}fire(te){this._contributions.onBeforeInteractionEvent(),super.fire(te)}}class X extends S.Disposable{constructor(te,q){super(),this._editor=te,q.createKey("editorId",te.getId()),this._editorSimpleInput=o.EditorContextKeys.editorSimpleInput.bindTo(q),this._editorFocus=o.EditorContextKeys.focus.bindTo(q),this._textInputFocus=o.EditorContextKeys.textInputFocus.bindTo(q),this._editorTextFocus=o.EditorContextKeys.editorTextFocus.bindTo(q),this._editorTabMovesFocus=o.EditorContextKeys.tabMovesFocus.bindTo(q),this._editorReadonly=o.EditorContextKeys.readOnly.bindTo(q),this._inDiffEditor=o.EditorContextKeys.inDiffEditor.bindTo(q),this._editorColumnSelection=o.EditorContextKeys.columnSelection.bindTo(q),this._hasMultipleSelections=o.EditorContextKeys.hasMultipleSelections.bindTo(q),this._hasNonEmptySelection=o.EditorContextKeys.hasNonEmptySelection.bindTo(q),this._canUndo=o.EditorContextKeys.canUndo.bindTo(q),this._canRedo=o.EditorContextKeys.canRedo.bindTo(q),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(U.TabFocus.onDidChangeTabFocus(()=>this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const te=this._editor.getOptions();this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")),this._editorReadonly.set(te.get(89)),this._inDiffEditor.set(te.get(60)),this._editorColumnSelection.set(te.get(21))}_updateFromSelection(){const te=this._editor.getSelections();te?(this._hasMultipleSelections.set(te.length>1),this._hasNonEmptySelection.set(te.some(q=>!q.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const te=this._editor.getModel();this._canUndo.set(!!(te&&te.canUndo())),this._canRedo.set(!!(te&&te.canRedo()))}}class H extends S.Disposable{constructor(te,q,z){super(),this._editor=te,this._contextKeyService=q,this._languageFeaturesService=z,this._langId=o.EditorContextKeys.languageId.bindTo(q),this._hasCompletionItemProvider=o.EditorContextKeys.hasCompletionItemProvider.bindTo(q),this._hasCodeActionsProvider=o.EditorContextKeys.hasCodeActionsProvider.bindTo(q),this._hasCodeLensProvider=o.EditorContextKeys.hasCodeLensProvider.bindTo(q),this._hasDefinitionProvider=o.EditorContextKeys.hasDefinitionProvider.bindTo(q),this._hasDeclarationProvider=o.EditorContextKeys.hasDeclarationProvider.bindTo(q),this._hasImplementationProvider=o.EditorContextKeys.hasImplementationProvider.bindTo(q),this._hasTypeDefinitionProvider=o.EditorContextKeys.hasTypeDefinitionProvider.bindTo(q),this._hasHoverProvider=o.EditorContextKeys.hasHoverProvider.bindTo(q),this._hasDocumentHighlightProvider=o.EditorContextKeys.hasDocumentHighlightProvider.bindTo(q),this._hasDocumentSymbolProvider=o.EditorContextKeys.hasDocumentSymbolProvider.bindTo(q),this._hasReferenceProvider=o.EditorContextKeys.hasReferenceProvider.bindTo(q),this._hasRenameProvider=o.EditorContextKeys.hasRenameProvider.bindTo(q),this._hasSignatureHelpProvider=o.EditorContextKeys.hasSignatureHelpProvider.bindTo(q),this._hasInlayHintsProvider=o.EditorContextKeys.hasInlayHintsProvider.bindTo(q),this._hasDocumentFormattingProvider=o.EditorContextKeys.hasDocumentFormattingProvider.bindTo(q),this._hasDocumentSelectionFormattingProvider=o.EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(q),this._hasMultipleDocumentFormattingProvider=o.EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(q),this._hasMultipleDocumentSelectionFormattingProvider=o.EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(q),this._isInWalkThrough=o.EditorContextKeys.isInWalkThroughSnippet.bindTo(q);const ee=()=>this._update();this._register(te.onDidChangeModel(ee)),this._register(te.onDidChangeModelLanguage(ee)),this._register(z.completionProvider.onDidChange(ee)),this._register(z.codeActionProvider.onDidChange(ee)),this._register(z.codeLensProvider.onDidChange(ee)),this._register(z.definitionProvider.onDidChange(ee)),this._register(z.declarationProvider.onDidChange(ee)),this._register(z.implementationProvider.onDidChange(ee)),this._register(z.typeDefinitionProvider.onDidChange(ee)),this._register(z.hoverProvider.onDidChange(ee)),this._register(z.documentHighlightProvider.onDidChange(ee)),this._register(z.documentSymbolProvider.onDidChange(ee)),this._register(z.referenceProvider.onDidChange(ee)),this._register(z.renameProvider.onDidChange(ee)),this._register(z.documentFormattingEditProvider.onDidChange(ee)),this._register(z.documentRangeFormattingEditProvider.onDidChange(ee)),this._register(z.signatureHelpProvider.onDidChange(ee)),this._register(z.inlayHintsProvider.onDidChange(ee)),ee()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const te=this._editor.getModel();if(!te){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(te.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(te)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(te)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(te)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(te)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(te)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(te)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(te)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(te)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(te)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(te)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(te)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(te)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(te)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(te)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(te)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(te).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._isInWalkThrough.set(te.uri.scheme===f.Schemas.walkThroughSnippet)})}}e.EditorModeContext=H;class B extends S.Disposable{constructor(te){super(),this._onChange=this._register(new D.Emitter),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(k.trackFocus(te)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}class V{get length(){return this._decorationIds.length}constructor(te,q){this._editor=te,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(q)&&q.length>0&&this.set(q)}onDidChange(te,q,z){return this._editor.onDidChangeModelDecorations(ee=>{this._isChangingDecorations||te.call(q,ee)},z)}getRange(te){return!this._editor.hasModel()||te>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[te])}getRanges(){if(!this._editor.hasModel())return[];const te=this._editor.getModel(),q=[];for(const z of this._decorationIds){const ee=te.getDecorationRange(z);ee&&q.push(ee)}return q}has(te){return this._decorationIds.includes(te.id)}clear(){this._decorationIds.length!==0&&this.set([])}set(te){try{this._isChangingDecorations=!0,this._editor.changeDecorations(q=>{this._decorationIds=q.deltaDecorations(this._decorationIds,te)})}finally{this._isChangingDecorations=!1}return this._decorationIds}}const Y=encodeURIComponent("");function ae(ue){return Y+encodeURIComponent(ue.toString())+ie}const ce=encodeURIComponent('');function he(ue){return ce+encodeURIComponent(ue.toString())+de}(0,M.registerThemingParticipant)((ue,te)=>{const q=ue.getColor(p.editorErrorForeground);q&&te.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${ae(q)}") repeat-x bottom left; }`);const z=ue.getColor(p.editorWarningForeground);z&&te.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${ae(z)}") repeat-x bottom left; }`);const ee=ue.getColor(p.editorInfoForeground);ee&&te.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${ae(ee)}") repeat-x bottom left; }`);const $=ue.getColor(p.editorHintForeground);$&&te.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${he($)}") no-repeat bottom left; }`);const re=ue.getColor(l.editorUnnecessaryCodeOpacity);re&&te.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${re.rgba.a}; }`)})}),define(ne[254],se([1,0,7,35,89,173,130,85,13,19,25,9,6,55,2,26,59,200,16,33,108,161,237,354,617,348,36,12,5,93,148,21,40,127,95,67,212,606,96,15,57,8,157,43,77,31,62,23,433]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H){"use strict";var B;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget=e.diffEditorWidgetTtPolicy=void 0;class V{constructor(me,le){this._contextMenuService=me,this._clipboardService=le,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(me){return me.filter(le=>!this._zonesMap[String(le.id)])}clean(me){this._zones.length>0&&me.changeViewZones(le=>{for(const pe of this._zones)le.removeZone(pe)}),this._zones=[],this._zonesMap={},me.changeDecorations(le=>{this._decorations=le.deltaDecorations(this._decorations,[])})}apply(me,le,pe,Ce){const be=Ce?o.StableEditorScrollState.capture(me):null;me.changeViewZones(Ie=>{var Ne;for(const Re of this._zones)Ie.removeZone(Re);for(const Re of this._inlineDiffMargins)Re.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let Re=0,Ve=pe.zones.length;Re{this._decorations=Ie.deltaDecorations(this._decorations,pe.decorations)}),le?.setZones(pe.overviewZones)}}let Y=0;const ie=(0,X.registerIcon)("diff-insert",C.Codicon.add,O.localize(0,null)),ae=(0,X.registerIcon)("diff-remove",C.Codicon.remove,O.localize(1,null));e.diffEditorWidgetTtPolicy=(0,y.createTrustedTypesPolicy)("diffEditorWidget",{createHTML:_e=>_e});const ce=O.localize(2,null);let de=B=class extends t.Disposable{constructor(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We){super(),this._editorProgressService=We,this._onDidDispose=this._register(new i.Emitter),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModel=this._register(new i.Emitter),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidUpdateDiff=this._register(new i.Emitter),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new i.Emitter),this._lastOriginalWarning=null,this._lastModifiedWarning=null,Ne.willCreateDiffEditor(),this._documentDiffProvider=this._register(Ie.createInstance(v.WorkerBasedDocumentDiffProvider,le)),this._register(this._documentDiffProvider.onDidChange(Oe=>this._beginUpdateDecorationsSoon())),this._codeEditorService=Ne,this._contextKeyService=this._register(be.createScoped(me)),this._instantiationService=Ie.createChild(new K.ServiceCollection([U.IContextKeyService,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=Re,this._notificationService=Ve,this._id=++Y,this._state=0,this._updatingDiffProgress=null,this._domElement=me,le=le||{},this._options=Pe(le,{enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showEmptyDecorations:!1,showMoves:!1},hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}),this.isEmbeddedDiffEditorKey=P.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService),this.isEmbeddedDiffEditorKey.set(typeof le.isInEmbeddedEditor<"u"?le.isInEmbeddedEditor:!1),this._updateDecorationsRunner=this._register(new _.RunOnceScheduler(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=(0,k.createFastDomNode)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(L.addStandardDisposableListener(this._overviewDomElement,L.EventType.POINTER_DOWN,Oe=>{this._modifiedEditor.delegateVerticalScrollbarPointerDown(Oe)})),this._register(L.addDisposableListener(this._overviewDomElement,L.EventType.MOUSE_WHEEL,Oe=>{this._modifiedEditor.delegateScrollFromMouseWheelEvent(Oe)},{passive:!1})),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new V(ze,Ce),this._modifiedEditorState=new V(ze,Ce),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new h.ElementSizeObserver(this._containerDomElement,le.dimension)),this._register(this._elementSizeObserver.onDidChange(()=>this._onDidContainerSizeChanged())),le.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(le,pe.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(le,pe.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=Ie.createInstance(p.DiffReview,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new ee(this._createDataSource(),this._options.enableSplitViewResizing,this._options.splitViewDefaultRatio)):this._setStrategy(new re(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(Re.onDidColorThemeChange(Oe=>{this._strategy&&this._strategy.applyColors(Oe)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)}));const qe=r.EditorExtensionsRegistry.getDiffEditorContributions();for(const Oe of qe)try{this._register(Ie.createInstance(Oe.ctor,this))}catch(Ge){(0,s.onUnexpectedError)(Ge)}this._codeEditorService.addDiffEditor(this)}_setState(me){this._state!==me&&(this._state=me,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}accessibleDiffViewerNext(){this._reviewPane.next()}accessibleDiffViewerPrev(){this._reviewPane.prev()}static _getClassName(me,le){let pe="monaco-diff-editor monaco-editor-background ";return le&&(pe+="side-by-side "),pe+=(0,H.getThemeTypeSelector)(me.type),pe}_disposeOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose(),this._originalOverviewRuler=null),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose(),this._modifiedOverviewRuler=null)}_createOverviewRulers(){this._options.renderOverviewRuler&&(f.ok(!this._originalOverviewRuler&&!this._modifiedOverviewRuler),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const Ce=this._contextKeyService.createKey("isInDiffLeftEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),pe}_createRightHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(pe.onDidChangeModelOptions(be=>{be.tabSize&&this._updateDecorationsRunner.schedule()}));const Ce=this._contextKeyService.createKey("isInDiffRightEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),this._register(pe.onMouseDown(be=>{var Ie,Ne;if(!be.event.rightButton&&be.target.position&&(!((Ie=be.target.element)===null||Ie===void 0)&&Ie.className.includes("arrow-revert-change"))){const Re=be.target.position.lineNumber,Ve=be.target,ze=(Ne=this._diffComputationResult)===null||Ne===void 0?void 0:Ne.changes.find(We=>Ve?.detail.afterLineNumber===We.modifiedStartLineNumber||We.modifiedEndLineNumber>0&&We.modifiedStartLineNumber===Re);ze&&this.revertChange(ze),be.event.stopPropagation(),this._updateDecorations();return}})),pe}revertChange(me){const le=this._modifiedEditor,pe=this._originalEditor.getModel(),Ce=this._modifiedEditor.getModel();if(!pe||!Ce||!le)return;const be=me.originalEndLineNumber>0?new E.Range(me.originalStartLineNumber,1,me.originalEndLineNumber,pe.getLineMaxColumn(me.originalEndLineNumber)):null,Ie=be?pe.getValueInRange(be):null,Ne=me.modifiedEndLineNumber>0?new E.Range(me.modifiedStartLineNumber,1,me.modifiedEndLineNumber,Ce.getLineMaxColumn(me.modifiedEndLineNumber)):null,Re=Ce.getEOL();if(me.originalEndLineNumber===0&&Ne){let Ve=Ne;me.modifiedStartLineNumber>1?Ve=Ne.setStartPosition(me.modifiedStartLineNumber-1,Ce.getLineMaxColumn(me.modifiedStartLineNumber-1)):me.modifiedEndLineNumberthis._beginUpdateDecorations(),B.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(me,le){return!me&&!le?!0:!me||!le?!1:me.toString()===le.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1);const me=this._originalEditor.getModel(),le=this._modifiedEditor.getModel();if(!me||!le)return;this._diffComputationToken++;const pe=this._diffComputationToken,Ce=this._options.maxFileSize*1024*1024,be=Ie=>{const Ne=Ie.getValueLength();return Ce===0||Ne<=Ce};if(!be(me)||!be(le)){(!B._equals(me.uri,this._lastOriginalWarning)||!B._equals(le.uri,this._lastModifiedWarning))&&(this._lastOriginalWarning=me.uri,this._lastModifiedWarning=le.uri,this._notificationService.warn(O.localize(3,null)));return}this._setState(1),this._documentDiffProvider.computeDiff(me,le,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace,maxComputationTimeMs:this._options.maxComputationTime,computeMoves:!1},g.CancellationToken.None).then(Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult={identical:Ie.identical,quitEarly:Ie.quitEarly,changes2:Ie.changes,changes:Ie.changes.map(Ne=>{let Re,Ve,ze,We,qe=Ne.innerChanges;return Ne.originalRange.isEmpty?(Re=Ne.originalRange.startLineNumber-1,Ve=0,qe=void 0):(Re=Ne.originalRange.startLineNumber,Ve=Ne.originalRange.endLineNumberExclusive-1),Ne.modifiedRange.isEmpty?(ze=Ne.modifiedRange.startLineNumber-1,We=0,qe=void 0):(ze=Ne.modifiedRange.startLineNumber,We=Ne.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:Re,originalEndLineNumber:Ve,modifiedStartLineNumber:ze,modifiedEndLineNumber:We,charChanges:qe?.map(Oe=>({originalStartLineNumber:Oe.originalRange.startLineNumber,originalStartColumn:Oe.originalRange.startColumn,originalEndLineNumber:Oe.originalRange.endLineNumber,originalEndColumn:Oe.originalRange.endColumn,modifiedStartLineNumber:Oe.modifiedRange.startLineNumber,modifiedStartColumn:Oe.modifiedRange.startColumn,modifiedEndLineNumber:Oe.modifiedRange.endLineNumber,modifiedEndColumn:Oe.modifiedRange.endColumn}))}})},this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())})}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;const me=this._diffComputationResult?this._diffComputationResult.changes:[],le=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),pe=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),Ce=this._options.renderMarginRevertIcon&&!this._modifiedEditor.getOption(89),be=this._strategy.getEditorsDiffDecorations(me,this._options.ignoreTrimWhitespace,this._options.renderIndicators,Ce,le,pe);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,be.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,be.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(me){const le=Object.assign({},me);return le.inDiffEditor=!0,le.automaticLayout=!1,le.scrollbar=Object.assign({},le.scrollbar||{}),le.scrollbar.vertical="visible",le.folding=!1,le.codeLens=this._options.diffCodeLens,le.fixedOverflowWidgets=!0,le.minimap=Object.assign({},le.minimap||{}),le.minimap.enabled=!1,le}_adjustOptionsForLeftHandSide(me){const le=this._adjustOptionsForSubEditor(me);return this._options.renderSideBySide?le.wordWrapOverride1=this._options.diffWordWrap:(le.wordWrapOverride1="off",le.wordWrapOverride2="off",le.stickyScroll={enabled:!1}),me.originalAriaLabel&&(le.ariaLabel=me.originalAriaLabel),this._updateAriaLabel(le),le.readOnly=!this._options.originalEditable,le.dropIntoEditor={enabled:!le.readOnly},le.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}_updateAriaLabel(me){var le;let pe=(le=me.ariaLabel)!==null&&le!==void 0?le:"";this._options.accessibilityVerbose?pe+=ce:pe&&(pe=pe.replaceAll(ce,"")),me.ariaLabel=pe}_adjustOptionsForRightHandSide(me){const le=this._adjustOptionsForSubEditor(me);return me.modifiedAriaLabel&&(le.ariaLabel=me.modifiedAriaLabel),this._updateAriaLabel(le),le.wordWrapOverride1=this._options.diffWordWrap,le.revealHorizontalRightPadding=b.EditorOptions.revealHorizontalRightPadding.defaultValue+B.ENTIRE_DIFF_OVERVIEW_WIDTH,le.scrollbar.verticalHasArrows=!1,le.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const me=this._elementSizeObserver.getWidth(),le=this._elementSizeObserver.getHeight(),pe=this._getReviewHeight(),Ce=this._strategy.layout();this._originalDomNode.style.width=Ce+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=me-Ce-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._modifiedDomNode.style.left=Ce+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=le-pe+"px",this._overviewDomElement.style.width=B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=me-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(B.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:Ce,height:le-pe}),this._modifiedEditor.layout({width:me-Ce-(this._options.renderOverviewRuler?B.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:le-pe}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(le-pe,me,pe),this._layoutOverviewViewport()}_layoutOverviewViewport(){const me=this._computeOverviewViewport();me?(this._overviewViewportDomElement.setTop(me.top),this._overviewViewportDomElement.setHeight(me.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){const me=this._modifiedEditor.getLayoutInfo();if(!me)return null;const le=this._modifiedEditor.getScrollTop(),pe=this._modifiedEditor.getScrollHeight(),Ce=Math.max(0,me.height),be=Math.max(0,Ce-2*0),Ie=pe>0?be/pe:0,Ne=Math.max(0,Math.floor(me.height*Ie)),Re=Math.floor(le*Ie);return{height:Ne,top:Re}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(me){var le;(le=this._strategy)===null||le===void 0||le.dispose(),this._strategy=me,this._boundarySashes&&me.setBoundarySashes(this._boundarySashes),me.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}};e.DiffEditorWidget=de,de.ONE_OVERVIEW_WIDTH=15,de.ENTIRE_DIFF_OVERVIEW_WIDTH=30,de.UPDATE_DIFF_DECORATIONS_DELAY=200,e.DiffEditorWidget=de=B=ke([fe(3,W.IClipboardService),fe(4,U.IContextKeyService),fe(5,R.IInstantiationService),fe(6,c.ICodeEditorService),fe(7,H.IThemeService),fe(8,G.INotificationService),fe(9,j.IContextMenuService),fe(10,Z.IEditorProgressService)],de);class he extends t.Disposable{constructor(me){super(),this._dataSource=me,this._insertColor=null,this._removeColor=null}applyColors(me){const le=me.getColor(J.diffOverviewRulerInserted)||(me.getColor(J.diffInserted)||J.defaultInsertColor).transparent(2),pe=me.getColor(J.diffOverviewRulerRemoved)||(me.getColor(J.diffRemoved)||J.defaultRemoveColor).transparent(2),Ce=!le.equals(this._insertColor)||!pe.equals(this._removeColor);return this._insertColor=le,this._removeColor=pe,Ce}getEditorsDiffDecorations(me,le,pe,Ce,be,Ie){Ie=Ie.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber),be=be.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber);const Ne=this._getViewZones(me,be,Ie,pe),Re=this._getOriginalEditorDecorations(Ne,me,le,pe),Ve=this._getModifiedEditorDecorations(Ne,me,le,pe,Ce);return{original:{decorations:Re.decorations,overviewZones:Re.overviewZones,zones:Ne.original},modified:{decorations:Ve.decorations,overviewZones:Ve.overviewZones,zones:Ne.modified}}}setBoundarySashes(me){}}class ue{constructor(me){this._source=me,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexat.afterLineNumber-ht.afterLineNumber,nt=(at,ht)=>{if(ht.domNode===null&&at.length>0){const Be=at[at.length-1];if(Be.afterLineNumber===ht.afterLineNumber&&Be.domNode===null){Be.heightInLines+=ht.heightInLines;return}}at.push(ht)},ot=new ue(this._modifiedForeignVZ),ct=new ue(this._originalForeignVZ);let lt=1,gt=1;for(let at=0,ht=this._lineChanges.length;at<=ht;at++){const Be=at0?-1:0),Oe=Be.modifiedStartLineNumber+(Be.modifiedEndLineNumber>0?-1:0),We=Be.originalEndLineNumber>0?te._getViewLineCount(this._originalEditor,Be.originalStartLineNumber,Be.originalEndLineNumber):0,ze=Be.modifiedEndLineNumber>0?te._getViewLineCount(this._modifiedEditor,Be.modifiedStartLineNumber,Be.modifiedEndLineNumber):0,Ge=Math.max(Be.originalStartLineNumber,Be.originalEndLineNumber),Qe=Math.max(Be.modifiedStartLineNumber,Be.modifiedEndLineNumber)):(qe+=1e7+We,Oe+=1e7+ze,Ge=qe,Qe=Oe);let Te=[],xe=[];if(be){let Ze;Be?Be.originalEndLineNumber>0?Ze=Be.originalStartLineNumber-lt:Ze=Be.modifiedStartLineNumber-gt:Ze=Ie.getLineCount()-lt+1;for(let Xe=0;XeKe&&xe.push({afterLineNumber:Ae,heightInLines:Ue-Ke,domNode:null,marginDomNode:null})}Be&&(lt=(Be.originalEndLineNumber>0?Be.originalEndLineNumber:Be.originalStartLineNumber)+1,gt=(Be.modifiedEndLineNumber>0?Be.modifiedEndLineNumber:Be.modifiedStartLineNumber)+1)}for(;ot.current&&ot.current.afterLineNumber<=Qe;){let Ze;ot.current.afterLineNumber<=Oe?Ze=qe-Oe+ot.current.afterLineNumber:Ze=Ge;let Xe=null;Be&&Be.modifiedStartLineNumber<=ot.current.afterLineNumber&&ot.current.afterLineNumber<=Be.modifiedEndLineNumber&&(Xe=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),Te.push({afterLineNumber:Ze,heightInLines:ot.current.height/le,domNode:null,marginDomNode:Xe}),ot.advance()}for(;ct.current&&ct.current.afterLineNumber<=Ge;){let Ze;ct.current.afterLineNumber<=qe?Ze=Oe-qe+ct.current.afterLineNumber:Ze=Qe,xe.push({afterLineNumber:Ze,heightInLines:ct.current.height/me,domNode:null}),ct.advance()}if(Be!==null&&ve(Be)){const Ze=this._produceOriginalFromDiff(Be,We,ze);Ze&&Te.push(Ze)}if(Be!==null&&Se(Be)){const Ze=this._produceModifiedFromDiff(Be,We,ze);Ze&&xe.push(Ze)}let He=0,Ye=0;for(Te=Te.sort(st),xe=xe.sort(st);He=Xe.heightInLines?(Ze.heightInLines-=Xe.heightInLines,Ye++):(Xe.heightInLines-=Ze.heightInLines,He++)}for(;He(le.domNode||(le.domNode=ye()),le))}}function q(_e,me,le,pe,Ce){return{range:new E.Range(_e,me,le,pe),options:Ce}}const z={arrowRevertChange:x.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new n.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown(O.localize(4,null)),glyphMarginClassName:"arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),zIndex:10001}),charDelete:x.ModelDecorationOptions.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:x.ModelDecorationOptions.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:x.ModelDecorationOptions.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"gutter-insert",isWholeLine:!0}),lineInsertWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+a.ThemeIcon.asClassName(ie),marginClassName:"gutter-insert",isWholeLine:!0}),lineDelete:x.ModelDecorationOptions.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+a.ThemeIcon.asClassName(ae),marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteMargin:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-margin",marginClassName:"gutter-delete"})};class ee extends he{constructor(me,le,pe){super(me),this._disableSash=le===!1,this._defaultRatio=pe,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new S.Sash(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(Ce=>this._onSashDrag(Ce)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(me,le){this._defaultRatio=le;const pe=me===!1;this._disableSash!==pe&&(this._disableSash=pe,this._sash.state=this._disableSash?0:3)}layout(me=this._sashRatio||this._defaultRatio){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let Ce=Math.floor((me||this._defaultRatio)*pe);const be=Math.floor(this._defaultRatio*pe);return Ce=this._disableSash?be:Ce||be,pe>ee.MINIMUM_EDITOR_WIDTH*2?(Cepe-ee.MINIMUM_EDITOR_WIDTH&&(Ce=pe-ee.MINIMUM_EDITOR_WIDTH)):Ce=be,this._sashPosition!==Ce&&(this._sashPosition=Ce),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(me){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0),Ce=this.layout((this._startSashPosition+(me.currentX-me.startX))/pe);this._sashRatio=Ce/pe,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=this._defaultRatio,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(me){return 0}getVerticalSashLeft(me){return this._sashPosition}getVerticalSashHeight(me){return this._dataSource.getHeight()}setBoundarySashes(me){this._sash.orthogonalEndSash=me.bottom}_getViewZones(me,le,pe){const Ce=this._dataSource.getOriginalEditor(),be=this._dataSource.getModifiedEditor();return new $(me,le,pe,Ce,be).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=String(this._removeColor),Ne={decorations:[],overviewZones:[]},Re=be.getModel(),Ve=be._getViewModel();for(const ze of le)if(Se(ze)){Ne.decorations.push({range:new E.Range(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824),options:Ce?z.lineDeleteWithSign:z.lineDelete}),(!ve(ze)||!ze.charChanges)&&Ne.decorations.push(q(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824,z.charDeleteWholeLine));const We=Me(Re,Ve,ze.originalStartLineNumber,ze.originalEndLineNumber);if(Ne.overviewZones.push(new F.OverviewRulerZone(We.startLineNumber,We.endLineNumber,0,Ie)),ze.charChanges){for(const qe of ze.charChanges)if(De(qe))if(pe)for(let Oe=qe.originalStartLineNumber;Oe<=qe.originalEndLineNumber;Oe++){let Ge,Qe;Oe===qe.originalStartLineNumber?Ge=qe.originalStartColumn:Ge=Re.getLineFirstNonWhitespaceColumn(Oe),Oe===qe.originalEndLineNumber?Qe=qe.originalEndColumn:Qe=Re.getLineLastNonWhitespaceColumn(Oe),Ne.decorations.push(q(Oe,Ge,Oe,Qe,z.charDelete))}else Ne.decorations.push(q(qe.originalStartLineNumber,qe.originalStartColumn,qe.originalEndLineNumber,qe.originalEndColumn,z.charDelete))}}return Ne}_getModifiedEditorDecorations(me,le,pe,Ce,be){const Ie=this._dataSource.getModifiedEditor(),Ne=String(this._insertColor),Re={decorations:[],overviewZones:[]},Ve=Ie.getModel(),ze=Ie._getViewModel();for(const We of le){if(be)if(We.modifiedEndLineNumber>0)Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedStartLineNumber,1),options:z.arrowRevertChange});else{const qe=me.modified.find(Oe=>Oe.afterLineNumber===We.modifiedStartLineNumber);qe&&(qe.marginDomNode=Ee())}if(ve(We)){Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824),options:Ce?z.lineInsertWithSign:z.lineInsert}),(!Se(We)||!We.charChanges)&&Re.decorations.push(q(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824,z.charInsertWholeLine));const qe=Me(Ve,ze,We.modifiedStartLineNumber,We.modifiedEndLineNumber);if(Re.overviewZones.push(new F.OverviewRulerZone(qe.startLineNumber,qe.endLineNumber,0,Ne)),We.charChanges){for(const Oe of We.charChanges)if(Le(Oe))if(pe)for(let Ge=Oe.modifiedStartLineNumber;Ge<=Oe.modifiedEndLineNumber;Ge++){let Qe,st;Ge===Oe.modifiedStartLineNumber?Qe=Oe.modifiedStartColumn:Qe=Ve.getLineFirstNonWhitespaceColumn(Ge),Ge===Oe.modifiedEndLineNumber?st=Oe.modifiedEndColumn:st=Ve.getLineLastNonWhitespaceColumn(Ge),Re.decorations.push(q(Ge,Qe,Ge,st,z.charInsert))}else Re.decorations.push(q(Oe.modifiedStartLineNumber,Oe.modifiedStartColumn,Oe.modifiedEndLineNumber,Oe.modifiedEndColumn,z.charInsert))}}}return Re}}ee.MINIMUM_EDITOR_WIDTH=100;class $ extends te{constructor(me,le,pe,Ce,be){super(me,le,pe,Ce,be)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(me,le,pe){return pe>le?{afterLineNumber:Math.max(me.originalStartLineNumber,me.originalEndLineNumber),heightInLines:pe-le,domNode:null}:null}_produceModifiedFromDiff(me,le,pe){return le>pe?{afterLineNumber:Math.max(me.modifiedStartLineNumber,me.modifiedEndLineNumber),heightInLines:le-pe,domNode:null}:null}}class re extends he{constructor(me,le){super(me),this._decorationsLeft=me.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(me.getOriginalEditor().onDidLayoutChange(pe=>{this._decorationsLeft!==pe.decorationsLeft&&(this._decorationsLeft=pe.decorationsLeft,me.relayoutEditors())}))}setEnableSplitViewResizing(me){}_getViewZones(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=this._dataSource.getModifiedEditor();return new oe(me,le,pe,be,Ie,Ce).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=String(this._removeColor),Ie={decorations:[],overviewZones:[]},Ne=this._dataSource.getOriginalEditor(),Re=Ne.getModel(),Ve=Ne._getViewModel();let ze=0;for(const We of le)if(Se(We)){for(Ie.decorations.push({range:new E.Range(We.originalStartLineNumber,1,We.originalEndLineNumber,1073741824),options:z.lineDeleteMargin});ze=We.originalStartLineNumber)break;ze++}let qe=0;if(ze0,xe=new I.StringBuilder(1e4);let He=0,Ye=0,Ze=null;for(let Ae=lt.originalStartLineNumber;Ae<=lt.originalEndLineNumber;Ae++){const Ue=Ae-lt.originalStartLineNumber,Ke=this._originalModel.tokenization.getLineTokens(Ae),$e=Ke.getLineContent(),et=nt[ot++],tt=T.LineDecoration.filter(Be,Ae,1,$e.length+1);if(et){let ut=0;for(const rt of et.breakOffsets){const dt=Ke.sliceAndInflate(ut,rt,0),ft=$e.substring(ut,rt);He=Math.max(He,this._renderOriginalLine(Ye++,ft,dt,T.LineDecoration.extractWrapped(tt,ut,rt),Te,Re,Ve,Ce,be,ze,qe,Oe,Ge,Qe,st,pe,xe,ht)),ut=rt}for(Ze||(Ze=[]);Ze.lengthct.afterLineNumber-lt.afterLineNumber)}_renderOriginalLine(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We,qe,Oe,Ge,Qe,st,nt,ot){nt.appendString('
    ');const ct=N.ViewLineRenderingData.isBasicASCII(le,Ie),lt=N.ViewLineRenderingData.containsRTL(le,ct,Ne),gt=(0,A.renderViewLine)(new A.RenderLineInput(Re.isMonospace&&!Ve,Re.canUseHalfwidthRightwardsArrow,le,!1,ct,lt,0,pe,Ce,st,0,Re.spaceWidth,Re.middotWidth,Re.wsmiddotWidth,qe,Oe,Ge,Qe!==b.EditorFontLigatures.OFF,null),nt);if(nt.appendString("
    "),this._renderIndicators){const at=document.createElement("div");at.className=`delete-sign ${a.ThemeIcon.asClassName(ae)}`,at.setAttribute("style",`position:absolute;top:${me*ze}px;width:${We}px;height:${ze}px;right:0;`),ot.appendChild(at)}return gt.characterMapping.getHorizontalOffset(gt.characterMapping.length)}}function ge(_e,me){return(0,b.stringSet)(_e,me,["off","on","inherit"])}function ve(_e){return _e.modifiedEndLineNumber>0}function Se(_e){return _e.originalEndLineNumber>0}function Le(_e){return _e.modifiedStartLineNumber===_e.modifiedEndLineNumber?_e.modifiedEndColumn-_e.modifiedStartColumn>0:_e.modifiedEndLineNumber-_e.modifiedStartLineNumber>0}function De(_e){return _e.originalStartLineNumber===_e.originalEndLineNumber?_e.originalEndColumn-_e.originalStartColumn>0:_e.originalEndLineNumber-_e.originalStartLineNumber>0}function ye(){const _e=document.createElement("div");return _e.className="diagonal-fill",_e}function Ee(){const _e=document.createElement("div");return _e.className="arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),L.$("div",{},_e)}function Me(_e,me,le,pe){const Ce=_e.getLineCount();return le=Math.min(Ce,Math.max(1,le)),pe=Math.min(Ce,Math.max(1,pe)),me.coordinatesConverter.convertModelRangeToViewRange(new E.Range(le,_e.getLineMinColumn(le),pe,_e.getLineMaxColumn(pe)))}function Pe(_e,me){return{enableSplitViewResizing:(0,b.boolean)(_e.enableSplitViewResizing,me.enableSplitViewResizing),splitViewDefaultRatio:(0,b.clampedFloat)(_e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,b.boolean)(_e.renderSideBySide,me.renderSideBySide),renderMarginRevertIcon:(0,b.boolean)(_e.renderMarginRevertIcon,me.renderMarginRevertIcon),maxComputationTime:(0,b.clampedInt)(_e.maxComputationTime,me.maxComputationTime,0,1073741824),maxFileSize:(0,b.clampedInt)(_e.maxFileSize,me.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,b.boolean)(_e.ignoreTrimWhitespace,me.ignoreTrimWhitespace),renderIndicators:(0,b.boolean)(_e.renderIndicators,me.renderIndicators),originalEditable:(0,b.boolean)(_e.originalEditable,me.originalEditable),diffCodeLens:(0,b.boolean)(_e.diffCodeLens,me.diffCodeLens),renderOverviewRuler:(0,b.boolean)(_e.renderOverviewRuler,me.renderOverviewRuler),diffWordWrap:ge(_e.diffWordWrap,me.diffWordWrap),diffAlgorithm:(0,b.stringSet)(_e.diffAlgorithm,me.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,b.boolean)(_e.accessibilityVerbose,me.accessibilityVerbose),hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},experimental:{showEmptyDecorations:!1,showMoves:!1},isInEmbeddedEditor:(0,b.boolean)(_e.isInEmbeddedEditor,me.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}}function Fe(_e,me){return{enableSplitViewResizing:_e.enableSplitViewResizing!==me.enableSplitViewResizing,renderSideBySide:_e.renderSideBySide!==me.renderSideBySide,renderMarginRevertIcon:_e.renderMarginRevertIcon!==me.renderMarginRevertIcon,maxComputationTime:_e.maxComputationTime!==me.maxComputationTime,maxFileSize:_e.maxFileSize!==me.maxFileSize,ignoreTrimWhitespace:_e.ignoreTrimWhitespace!==me.ignoreTrimWhitespace,renderIndicators:_e.renderIndicators!==me.renderIndicators,originalEditable:_e.originalEditable!==me.originalEditable,diffCodeLens:_e.diffCodeLens!==me.diffCodeLens,renderOverviewRuler:_e.renderOverviewRuler!==me.renderOverviewRuler,diffWordWrap:_e.diffWordWrap!==me.diffWordWrap,diffAlgorithm:_e.diffAlgorithm!==me.diffAlgorithm,accessibilityVerbose:_e.accessibilityVerbose!==me.accessibilityVerbose}}(0,H.registerThemingParticipant)((_e,me)=>{const le=_e.getColor(J.diffDiagonalFill);me.addRule(` - .monaco-editor .diagonal-fill { - background-image: linear-gradient( - -45deg, - ${le} 12.5%, - #0000 12.5%, #0000 50%, - ${le} 50%, ${le} 62.5%, - #0000 62.5%, #0000 100% - ); - background-size: 8px 8px; - } - `)})}),define(ne[874],se([1,0,59,254,36,93,127,95,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenderOptions=e.LineSource=e.renderLines=void 0;const g=k.diffEditorWidgetTtPolicy;function C(t,a,u,h){(0,L.applyFontInfo)(h,a.fontInfo);const r=u.length>0,c=new D.StringBuilder(1e4);let o=0,d=0;const l=[];for(let b=0;b');const l=a.getLineContent(),p=_.ViewLineRenderingData.isBasicASCII(l,r),m=_.ViewLineRenderingData.containsRTL(l,p,c),v=(0,f.renderViewLine)(new f.RenderLineInput(o.fontInfo.isMonospace&&!o.disableMonospaceOptimizations,o.fontInfo.canUseHalfwidthRightwardsArrow,l,!1,p,m,0,a,u,o.tabSize,0,o.fontInfo.spaceWidth,o.fontInfo.middotWidth,o.fontInfo.wsmiddotWidth,o.stopRenderingLineAfter,o.renderWhitespace,o.renderControlCharacters,o.fontLigatures!==y.EditorFontLigatures.OFF,null),d);return d.appendString(""),v.characterMapping.getHorizontalOffset(v.characterMapping.length)}}),define(ne[875],se([1,0,7,14,13,25,2,42,26,20,59,108,362,318,612,874,102,66,12,67,96,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZoneManager=void 0;let l=class extends S.Disposable{constructor(b,w,E,I,M,P,x){super(),this._editors=b,this._diffModel=w,this._options=E,this._diffEditorWidget=I,this._canIgnoreViewZoneUpdateEvent=M,this._clipboardService=P,this._contextMenuService=x,this._originalTopPadding=(0,f.observableValue)("originalTopPadding",0),this._originalScrollOffset=(0,f.observableValue)("originalScrollOffset",0),this._originalScrollOffsetAnimated=(0,u.animatedObservable)(this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,f.observableValue)("modifiedTopPadding",0),this._modifiedScrollOffset=(0,f.observableValue)("modifiedScrollOffset",0),this._modifiedScrollOffsetAnimated=(0,u.animatedObservable)(this._modifiedScrollOffset,this._store);let T=!1;const A=(0,f.observableValue)("state",0),N=this._register(new y.RunOnceScheduler(()=>{A.set(A.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()}));const F=this._diffModel.map(J=>J?(0,f.observableFromEvent)(J.model.original.onDidChangeTokens,()=>J.model.original.tokenization.backgroundTokenizationState===2):void 0).map((J,X)=>J?.read(X)),O=new Set,W=new Set,U=(0,f.derived)(J=>{const X=this._diffModel.read(J),H=X?.diff.read(J);if(!X||!H)return null;A.read(J);const V=this._options.renderSideBySide.read(J);return p(this._editors.original,this._editors.modified,H.mappings,O,W,V)}),j=(0,f.derived)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);if(!H)return null;A.read(J);const B=H.changes.map(V=>new n.DiffMapping(V));return p(this._editors.original,this._editors.modified,B,O,W,!0)});function R(){const J=document.createElement("div");return J.className="diagonal-fill",J}const K=this._register(new S.DisposableStore),G=(0,f.derived)(J=>{var X,H,B,V,Y,ie,ae,ce;K.clear();const de=U.read(J)||[],he=[],ue=[],te=this._modifiedTopPadding.read(J);te>0&&ue.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:te,showInHiddenAreas:!0});const q=this._originalTopPadding.read(J);q>0&&he.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:q,showInHiddenAreas:!0});const z=this._options.renderSideBySide.read(J),ee=z||(X=this._editors.modified._getViewModel())===null||X===void 0?void 0:X.createLineBreaksComputer();if(ee){for(const De of de)if(De.diff)for(let ye=De.originalRange.startLineNumber;yethis._editors.original.getModel().tokenization.getLineTokens(le)),De.originalRange.mapToLineArray(le=>$[re++]),ve,Se),Pe=[];for(const le of De.diff.innerChanges||[])Pe.push(new c.InlineDecoration(le.originalRange.delta(-(De.diff.originalRange.startLineNumber-1)),i.diffDeleteDecoration.className,0));const Fe=(0,a.renderLines)(Me,Le,Pe,Ee),_e=document.createElement("div");if(_e.className="inline-deleted-margin-view-zone",(0,C.applyFontInfo)(_e,Le.fontInfo),this._options.renderIndicators.read(J))for(let le=0;le(0,g.assertIsDefined)(me),_e,this._editors.modified,De.diff,this._diffEditorWidget,Fe.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let le=0;le1&&he.push({afterLineNumber:De.originalRange.startLineNumber+le,domNode:R(),heightInPx:(pe-1)*oe,showInHiddenAreas:!0})}ue.push({afterLineNumber:De.modifiedRange.startLineNumber-1,domNode:Ee,heightInPx:Fe.heightInLines*oe,minWidthInPx:Fe.minWidthInPx,marginDomNode:_e,setZoneId(le){me=le},showInHiddenAreas:!0})}const ye=document.createElement("div");ye.className="gutter-delete",he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:De.modifiedHeightInPx,marginDomNode:ye,showInHiddenAreas:!0})}else{const ye=De.modifiedHeightInPx-De.originalHeightInPx;if(ye>0){if(ge?.lineRangeMapping.original.delta(-1).deltaLength(2).contains(De.originalRange.endLineNumberExclusive-1))continue;he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0})}else{let Ee=function(){const Pe=document.createElement("div");return Pe.className="arrow-revert-change "+_.ThemeIcon.asClassName(D.Codicon.arrowRight),(0,L.$)("div",{},Pe)};if(ge?.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(De.modifiedRange.endLineNumberExclusive-1))continue;let Me;De.diff&&De.diff.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(J)&&(Me=Ee()),ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,marginDomNode:Me,showInHiddenAreas:!0})}}for(const De of(ce=j.read(J))!==null&&ce!==void 0?ce:[]){if(!ge?.lineRangeMapping.original.intersect(De.originalRange)||!ge?.lineRangeMapping.modified.intersect(De.modifiedRange))continue;const ye=De.modifiedHeightInPx-De.originalHeightInPx;ye>0?he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0}):ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,showInHiddenAreas:!0})}return{orig:he,mod:ue}});this._register((0,f.autorunWithStore)(J=>{const X=s.StableEditorScrollState.capture(this._editors.modified),H=G.read(J);T=!0,this._editors.original.changeViewZones(B=>{for(const V of O)B.removeZone(V);O.clear();for(const V of H.orig){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),O.add(Y)}}),this._editors.modified.changeViewZones(B=>{for(const V of W)B.removeZone(V);W.clear();for(const V of H.mod){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),W.add(Y)}}),T=!1,X.restore(this._editors.modified)})),this._register((0,S.toDisposable)(()=>{this._editors.original.changeViewZones(J=>{for(const X of O)J.removeZone(X);O.clear()}),this._editors.modified.changeViewZones(J=>{for(const X of W)J.removeZone(X);W.clear()})}));let Z=!1;this._register(this._editors.original.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.modified.setScrollLeft(J.scrollLeft),Z=!1)})),this._register(this._editors.modified.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.original.setScrollLeft(J.scrollLeft),Z=!1)})),this._originalScrollTop=(0,f.observableFromEvent)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,f.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,f.autorun)(J=>{const X=this._originalScrollTop.read(J)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(J))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(J));X!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{const X=this._modifiedScrollTop.read(J)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(J))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(J));X!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);let B=0;if(H){const V=this._editors.original.getTopForLineNumber(H.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get();B=this._editors.modified.getTopForLineNumber(H.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get()-V}B>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(B,void 0)):B<0?(this._modifiedTopPadding.set(-B,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-B,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+B,void 0,!0)}))}};e.ViewZoneManager=l,e.ViewZoneManager=l=ke([fe(5,o.IClipboardService),fe(6,d.IContextMenuService)],l);function p(v,b,w,E,I,M){const P=new k.ArrayQueue(m(v,E)),x=new k.ArrayQueue(m(b,I)),T=v.getOption(65),A=b.getOption(65),N=[];let F=0,O=0;function W(U,j){for(;;){let R=P.peek(),K=x.peek();if(R&&R.lineNumber>=U&&(R=void 0),K&&K.lineNumber>=j&&(K=void 0),!R&&!K)break;const G=R?R.lineNumber-F:Number.MAX_VALUE,Z=K?K.lineNumber-O:Number.MAX_VALUE;GZ?(x.dequeue(),R={lineNumber:K.lineNumber-O+F,heightInPx:0}):(P.dequeue(),x.dequeue()),N.push({originalRange:h.LineRange.ofLength(R.lineNumber,1),modifiedRange:h.LineRange.ofLength(K.lineNumber,1),originalHeightInPx:T+R.heightInPx,modifiedHeightInPx:A+K.heightInPx,diff:void 0})}}for(const U of w){let Z=function(J,X){var H,B,V,Y;if(Jhe.lineNumberhe+ue.heightInPx,0))!==null&&B!==void 0?B:0,de=(Y=(V=x.takeWhile(he=>he.lineNumberhe+ue.heightInPx,0))!==null&&Y!==void 0?Y:0;N.push({originalRange:ie,modifiedRange:ae,originalHeightInPx:ie.length*T+ce,modifiedHeightInPx:ae.length*A+de,diff:U.lineRangeMapping}),G=J,K=X};const j=U.lineRangeMapping;W(j.originalRange.startLineNumber,j.modifiedRange.startLineNumber);let R=!0,K=j.modifiedRange.startLineNumber,G=j.originalRange.startLineNumber;if(M)for(const J of j.innerChanges||[])J.originalRange.startColumn>1&&J.modifiedRange.startColumn>1&&Z(J.originalRange.startLineNumber,J.modifiedRange.startLineNumber),J.originalRange.endColumn1&&E.push({lineNumber:T,heightInPx:P*(A-1)})}for(const T of v.getWhitespaces()){if(b.has(T.id))continue;const A=T.afterLineNumber===0?0:M.convertViewPositionToModelPosition(new r.Position(T.afterLineNumber,1)).lineNumber;w.push({lineNumber:A,heightInPx:T.height})}return(0,u.joinCombine)(w,E,T=>T.lineNumber,(T,A)=>({lineNumber:T.lineNumber,heightInPx:T.heightInPx+A.heightInPx}))}}),define(ne[876],se([1,0,7,9,6,42,16,33,161,830,870,590,875,323,357,747,102,348,148,21,116,15,8,157,482,844,621,318,2,77,432,822]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget2=void 0;let M=class extends m.DelegatingEditor{constructor(T,A,N,F,O,W,U,j){var R;super(),this._domElement=T,this._parentContextKeyService=F,this._parentInstantiationService=O,this._audioCueService=U,this._editorProgressService=j,this.elements=(0,L.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,L.h)("div.noModificationsOverlay@overlay",{style:{position:"absolute",height:"100%",visibility:"hidden"}},[(0,L.$)("span",{},"No Changes")]),(0,L.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=this._register((0,D.disposableObservableValue)("diffModel",void 0)),this.onDidChangeModel=y.Event.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._parentInstantiationService.createChild(new p.ServiceCollection([d.IContextKeyService,this._contextKeyService])),this._boundarySashes=(0,D.observableValue)("boundarySashes",void 0),this._accessibleDiffViewerShouldBeVisible=(0,D.observableValue)("accessibleDiffViewerShouldBeVisible",!1),this._accessibleDiffViewerVisible=(0,D.derived)(H=>this._options.onlyShowAccessibleDiffViewer.read(H)?!0:this._accessibleDiffViewerShouldBeVisible.read(H)),this.movedBlocksLinesPart=(0,D.observableValue)("MovedBlocksLinesPart",void 0),this._layoutInfo=(0,D.derived)(H=>{var B,V,Y;const ie=this._rootSizeObserver.width.read(H),ae=this._rootSizeObserver.height.read(H),ce=(B=this._sash.read(H))===null||B===void 0?void 0:B.sashLeft.read(H),de=ce??Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft),he=ie-de-(this._options.renderOverviewRuler.read(H)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0),ue=(Y=(V=this.movedBlocksLinesPart.read(H))===null||V===void 0?void 0:V.width.read(H))!==null&&Y!==void 0?Y:0,te=de-ue;return this.elements.original.style.width=te+"px",this.elements.original.style.left="0px",this.elements.modified.style.width=he+"px",this.elements.modified.style.left=de+"px",this._editors.original.layout({width:te,height:ae}),this._editors.modified.layout({width:he,height:ae}),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((H,B)=>H?.diff.read(B)),this.onDidUpdateDiff=y.Event.fromObservableLight(this._diffValue),W.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._contextKeyService.createKey("diffEditorVersion",2),this._domElement.appendChild(this.elements.root),this._register((0,E.toDisposable)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new u.ObservableElementSizeObserver(this.elements.root,A.dimension)),this._rootSizeObserver.setAutomaticLayout((R=A.automaticLayout)!==null&&R!==void 0?R:!1),this._options=new b.DiffEditorOptions(A,this._rootSizeObserver.width),this._contextKeyService.createKey(c.EditorContextKeys.isEmbeddedDiffEditor.key,!1);const K=c.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{K.set(this._options.isInEmbeddedEditor.read(H))}));const G=c.EditorContextKeys.comparingMovedCode.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{var B;G.set(!!(!((B=this._diffModel.read(H))===null||B===void 0)&&B.movedTextToCompare.read(H)))}));const Z=c.EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{Z.set(this._options.couldShowInlineViewBecauseOfSize.read(H))})),this._editors=this._register(this._instantiationService.createInstance(v.DiffEditorEditors,this.elements.original,this.elements.modified,this._options,N,(H,B,V,Y)=>this._createInnerEditor(H,B,V,Y))),this._sash=(0,D.derivedWithStore)("sash",(H,B)=>{const V=this._options.renderSideBySide.read(H);if(this.elements.root.classList.toggle("side-by-side",V),!V)return;const Y=B.add(new s.DiffEditorSash(this._options,this.elements.root,{height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((ie,ae)=>ie-(this._options.renderOverviewRuler.read(ae)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0))}));return B.add((0,D.autorun)(ie=>{const ae=this._boundarySashes.read(ie);ae&&Y.setBoundarySashes(ae)})),Y}),this._register((0,D.keepAlive)(this._sash,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.unchangedRangesFeature=B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(a.UnchangedRangesFeature,H),this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(new((0,u.readHotReloadableExport)(C.DiffEditorDecorations,H))(this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(i.ViewZoneManager,H),this._editors,this._diffModel,this._options,this,()=>this.unchangedRangesFeature.isUpdatingViewZones))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(t.OverviewRulerPart,H),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(V=>V.modifiedEditor),this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{this._accessibleDiffViewer=B.add(this._register(this._instantiationService.createInstance((0,u.readHotReloadableExport)(g.AccessibleDiffViewer,H),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(V,Y)=>this._accessibleDiffViewerShouldBeVisible.set(V,Y),this._options.onlyShowAccessibleDiffViewer.map(V=>!V),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((V,Y)=>{var ie;return(ie=V?.diff.read(Y))===null||ie===void 0?void 0:ie.mappings.map(ae=>ae.lineRangeMapping)}),this._editors)))}));const J=this._accessibleDiffViewerVisible.map(H=>H?"hidden":"visible");this._register((0,u.applyStyle)(this.elements.modified,{visibility:J})),this._register((0,u.applyStyle)(this.elements.original,{visibility:J})),this._createDiffEditorContributions(),W.addDiffEditor(this),this._register((0,D.keepAlive)(this._layoutInfo,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.movedBlocksLinesPart.set(B.add(new((0,u.readHotReloadableExport)(n.MovedBlocksLinesPart,H))(this.elements.root,this._diffModel,this._layoutInfo.map(V=>V.originalEditor),this._layoutInfo.map(V=>V.modifiedEditor),this._editors)),void 0)})),this._register((0,u.applyStyle)(this.elements.overlay,{width:this._layoutInfo.map((H,B)=>H.originalEditor.width+(this._options.renderSideBySide.read(B)?0:H.modifiedEditor.width)),visibility:(0,D.derived)(H=>{var B,V;return this._options.hideUnchangedRegions.read(H)&&((V=(B=this._diffModel.read(H))===null||B===void 0?void 0:B.diff.read(H))===null||V===void 0?void 0:V.mappings.length)===0?"visible":"hidden"})})),this._register(this._editors.modified.onMouseDown(H=>{var B,V;if(!H.event.rightButton&&H.target.position&&(!((B=H.target.element)===null||B===void 0)&&B.className.includes("arrow-revert-change"))){const Y=H.target.position.lineNumber,ie=H.target,ae=this._diffModel.get();if(!ae)return;const ce=(V=ae.diff.get())===null||V===void 0?void 0:V.mappings;if(!ce)return;const de=ce.find(he=>ie?.detail.afterLineNumber===he.lineRangeMapping.modifiedRange.startLineNumber-1||he.lineRangeMapping.modifiedRange.startLineNumber===Y);if(!de)return;this.revert(de.lineRangeMapping),H.event.stopPropagation()}})),this._register(y.Event.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,H=>{var B,V;if(H?.reason===3){const Y=(V=(B=this._diffModel.get())===null||B===void 0?void 0:B.diff.get())===null||V===void 0?void 0:V.mappings.find(ie=>ie.lineRangeMapping.modifiedRange.contains(H.position.lineNumber));Y?.lineRangeMapping.modifiedRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):Y?.lineRangeMapping.originalRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):Y&&this._audioCueService.playAudioCue(o.AudioCue.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}));const X=this._diffModel.map((H,B)=>H?.isDiffUpToDate.read(B));this._register((0,D.autorunWithStore)((H,B)=>{if(X.read(H)===!1){const V=this._editorProgressService.show(!0,1e3);B.add((0,E.toDisposable)(()=>V.done()))}}))}_createInnerEditor(T,A,N,F){return T.createInstance(_.CodeEditorWidget,A,N,F)}_createDiffEditorContributions(){const T=S.EditorExtensionsRegistry.getDiffEditorContributions();for(const A of T)try{this._register(this._instantiationService.createInstance(A.ctor,this))}catch(N){(0,k.onUnexpectedError)(N)}}get _targetEditor(){return this._editors.modified}getEditorType(){return r.EditorType.IDiffEditor}layout(T){this._rootSizeObserver.observe(T)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var T;const A=this._editors.original.saveViewState(),N=this._editors.modified.saveViewState();return{original:A,modified:N,modelState:(T=this._diffModel.get())===null||T===void 0?void 0:T.serializeState()}}restoreViewState(T){var A;if(T&&T.original&&T.modified){const N=T;this._editors.original.restoreViewState(N.original),this._editors.modified.restoreViewState(N.modified),N.modelState&&((A=this._diffModel.get())===null||A===void 0||A.restoreSerializedState(N.modelState))}}createViewModel(T){return new w.DiffEditorViewModel(T,this._options,this._instantiationService.createInstance(h.WorkerBasedDocumentDiffProvider,{diffAlgorithm:this._options.diffAlgorithm.get()}))}getModel(){var T,A;return(A=(T=this._diffModel.get())===null||T===void 0?void 0:T.model)!==null&&A!==void 0?A:null}setModel(T){!T&&this._diffModel.get()&&this._accessibleDiffViewer.close();const A=T?"model"in T?T:this.createViewModel(T):void 0;this._editors.original.setModel(A?A.model.original:null),this._editors.modified.setModel(A?A.model.modified:null),(0,D.transaction)(N=>{this._diffModel.set(A,N)})}updateOptions(T){this._options.updateOptions(T)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var T;const A=(T=this._diffModel.get())===null||T===void 0?void 0:T.diff.get();return A?P(A):null}revert(T){var A;const N=(A=this._diffModel.get())===null||A===void 0?void 0:A.model;if(!N)return;const F=T.innerChanges?T.innerChanges.map(O=>({range:O.modifiedRange,text:N.original.getValueInRange(O.originalRange)})):[{range:T.modifiedRange.toExclusiveRange(),text:N.original.getValueInRange(T.originalRange.toExclusiveRange())}];this._editors.modified.executeEdits("diffEditor",F)}accessibleDiffViewerNext(){this._accessibleDiffViewer.next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.prev()}};e.DiffEditorWidget2=M,e.DiffEditorWidget2=M=ke([fe(3,d.IContextKeyService),fe(4,l.IInstantiationService),fe(5,f.ICodeEditorService),fe(6,o.IAudioCueService),fe(7,I.IEditorProgressService)],M);function P(x){return x.mappings.map(T=>{const A=T.lineRangeMapping;let N,F,O,W,U=A.innerChanges;return A.originalRange.isEmpty?(N=A.originalRange.startLineNumber-1,F=0,U=void 0):(N=A.originalRange.startLineNumber,F=A.originalRange.endLineNumberExclusive-1),A.modifiedRange.isEmpty?(O=A.modifiedRange.startLineNumber-1,W=0,U=void 0):(O=A.modifiedRange.startLineNumber,W=A.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:N,originalEndLineNumber:F,modifiedStartLineNumber:O,modifiedEndLineNumber:W,charChanges:U?.map(j=>({originalStartLineNumber:j.originalRange.startLineNumber,originalStartColumn:j.originalRange.startColumn,originalEndLineNumber:j.originalRange.endLineNumber,originalEndColumn:j.originalRange.endColumn,modifiedStartLineNumber:j.modifiedRange.startLineNumber,modifiedStartColumn:j.modifiedRange.startColumn,modifiedEndLineNumber:j.modifiedRange.endLineNumber,modifiedEndColumn:j.modifiedRange.endColumn}))}})}}),define(ne[162],se([1,0,47,33,161,27,15,8,43,23,84,32,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EmbeddedCodeEditorWidget=void 0;let n=class extends y.CodeEditorWidget{constructor(a,u,h,r,c,o,d,l,p,m,v,b,w){super(a,Object.assign(Object.assign({},r.getRawOptions()),{overflowWidgetsDomNode:r.getOverflowWidgetsDomNode()}),h,c,o,d,l,p,m,v,b,w),this._parentEditor=r,this._overwriteOptions=u,super.updateOptions(this._overwriteOptions),this._register(r.onDidChangeConfiguration(E=>this._onParentConfigurationChanged(E)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(a){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(a){L.mixin(this._overwriteOptions,a,!0),super.updateOptions(this._overwriteOptions)}};e.EmbeddedCodeEditorWidget=n,e.EmbeddedCodeEditorWidget=n=ke([fe(4,f.IInstantiationService),fe(5,k.ICodeEditorService),fe(6,D.ICommandService),fe(7,S.IContextKeyService),fe(8,g.IThemeService),fe(9,_.INotificationService),fe(10,C.IAccessibilityService),fe(11,s.ILanguageConfigurationService),fe(12,i.ILanguageFeaturesService)],n)}),define(ne[877],se([1,0,13,2,16,12,5,24,21,48,40,633,30,31,23,437]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketMatchingController=void 0;const a=(0,n.registerColor)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},s.localize(0,null));class u extends y.EditorAction{constructor(){super({id:"editor.action.jumpToBracket",label:s.localize(1,null),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3165,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.jumpToBracket()}}class h extends y.EditorAction{constructor(){super({id:"editor.action.selectToBracket",label:s.localize(2,null),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(l,p,m){var v;let b=!0;m&&m.selectBrackets===!1&&(b=!1),(v=o.get(p))===null||v===void 0||v.selectToBracket(b)}}class r extends y.EditorAction{constructor(){super({id:"editor.action.removeBrackets",label:s.localize(3,null),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:2561,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.removeBrackets(this.id)}}class c{constructor(l,p,m){this.position=l,this.brackets=p,this.options=m}}class o extends k.Disposable{static get(l){return l.getContribution(o.ID)}constructor(l){super(),this._editor=l,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new L.RunOnceScheduler(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(70),this._updateBracketsSoon.schedule(),this._register(l.onDidChangeCursorPosition(p=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelContent(p=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModel(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelLanguageConfiguration(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeConfiguration(p=>{p.hasChanged(70)&&(this._matchBrackets=this._editor.getOption(70),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(l.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const l=this._editor.getModel(),p=this._editor.getSelections().map(m=>{const v=m.getStartPosition(),b=l.bracketPairs.matchBracket(v);let w=null;if(b)b[0].containsPosition(v)&&!b[1].containsPosition(v)?w=b[1].getStartPosition():b[1].containsPosition(v)&&(w=b[0].getStartPosition());else{const E=l.bracketPairs.findEnclosingBrackets(v);if(E)w=E[1].getStartPosition();else{const I=l.bracketPairs.findNextBracket(v);I&&I.range&&(w=I.range.getStartPosition())}}return w?new f.Selection(w.lineNumber,w.column,w.lineNumber,w.column):new f.Selection(v.lineNumber,v.column,v.lineNumber,v.column)});this._editor.setSelections(p),this._editor.revealRange(p[0])}selectToBracket(l){if(!this._editor.hasModel())return;const p=this._editor.getModel(),m=[];this._editor.getSelections().forEach(v=>{const b=v.getStartPosition();let w=p.bracketPairs.matchBracket(b);if(!w&&(w=p.bracketPairs.findEnclosingBrackets(b),!w)){const M=p.bracketPairs.findNextBracket(b);M&&M.range&&(w=p.bracketPairs.matchBracket(M.range.getStartPosition()))}let E=null,I=null;if(w){w.sort(S.Range.compareRangesUsingStarts);const[M,P]=w;if(E=l?M.getStartPosition():M.getEndPosition(),I=l?P.getEndPosition():P.getStartPosition(),P.containsPosition(b)){const x=E;E=I,I=x}}E&&I&&m.push(new f.Selection(E.lineNumber,E.column,I.lineNumber,I.column))}),m.length>0&&(this._editor.setSelections(m),this._editor.revealRange(m[0]))}removeBrackets(l){if(!this._editor.hasModel())return;const p=this._editor.getModel();this._editor.getSelections().forEach(m=>{const v=m.getPosition();let b=p.bracketPairs.matchBracket(v);b||(b=p.bracketPairs.findEnclosingBrackets(v)),b&&(this._editor.pushUndoStop(),this._editor.executeEdits(l,[{range:b[0],text:""},{range:b[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const l=[];let p=0;for(const m of this._lastBracketsData){const v=m.brackets;v&&(l[p++]={range:v[0],options:m.options},l[p++]={range:v[1],options:m.options})}this._decorations.set(l)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const l=this._editor.getSelections();if(l.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const p=this._editor.getModel(),m=p.getVersionId();let v=[];this._lastVersionId===m&&(v=this._lastBracketsData);const b=[];let w=0;for(let x=0,T=l.length;x1&&b.sort(D.Position.compare);const E=[];let I=0,M=0;const P=v.length;for(let x=0,T=b.length;x{o.symbol.command&&c.push(o.symbol),t.addDecoration({range:o.symbol.range,options:g},l=>this._decorationIds[d]=l),r?r=y.Range.plusRange(r,o.symbol.range):r=y.Range.lift(o.symbol.range)}),this._viewZone=new S(r.startLineNumber-1,u,h),this._viewZoneId=a.addZone(this._viewZone),c.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(c,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new f(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(i,n){this._decorationIds.forEach(i.removeDecoration,i),this._decorationIds=[],n?.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((i,n)=>{const t=this._editor.getModel().getDecorationRange(i),a=this._data[n].symbol;return!!(t&&y.Range.isEmpty(a.range)===t.isEmpty())})}updateCodeLensSymbols(i,n){this._decorationIds.forEach(n.removeDecoration,n),this._decorationIds=[],this._data=i,this._data.forEach((t,a)=>{n.addDecoration({range:t.symbol.range,options:g},u=>this._decorationIds[a]=u)})}updateHeight(i,n){this._viewZone.heightInPx=i,n.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(i){if(!this._viewZone.isVisible())return null;for(let n=0;nthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(b=>{(b.hasChanged(49)||b.hasChanged(18)||b.hasChanged(17))&&this._updateLensStyle(),b.hasChanged(16)&&this._onModelChange()})),this._disposables.add(d.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var o;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(o=this._currentCodeLensModel)===null||o===void 0||o.dispose()}_getLayoutInfo(){const o=Math.max(1.3,this._editor.getOption(65)/this._editor.getOption(51));let d=this._editor.getOption(18);return(!d||d<5)&&(d=this._editor.getOption(51)*.9|0),{fontSize:d,codeLensHeight:d*o|0}}_updateLensStyle(){const{codeLensHeight:o,fontSize:d}=this._getLayoutInfo(),l=this._editor.getOption(17),p=this._editor.getOption(49),{style:m}=this._editor.getContainerDomNode();m.setProperty("--vscode-editorCodeLens-lineHeight",`${o}px`),m.setProperty("--vscode-editorCodeLens-fontSize",`${d}px`),m.setProperty("--vscode-editorCodeLens-fontFeatureSettings",p.fontFeatureSettings),l&&(m.setProperty("--vscode-editorCodeLens-fontFamily",l),m.setProperty("--vscode-editorCodeLens-fontFamilyDefault",f.EDITOR_FONT_DEFAULTS.fontFamily)),this._editor.changeViewZones(v=>{for(const b of this._lenses)b.updateHeight(o,v)})}_localDispose(){var o,d,l;(o=this._getCodeLensModelPromise)===null||o===void 0||o.cancel(),this._getCodeLensModelPromise=void 0,(d=this._resolveCodeLensesPromise)===null||d===void 0||d.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(l=this._currentCodeLensModel)===null||l===void 0||l.dispose()}_onModelChange(){this._localDispose();const o=this._editor.getModel();if(!o||!this._editor.getOption(16))return;const d=this._codeLensCache.get(o);if(d&&this._renderCodeLensSymbols(d),!this._languageFeaturesService.codeLensProvider.has(o)){d&&this._localToDispose.add((0,L.disposableTimeout)(()=>{const p=this._codeLensCache.get(o);d===p&&(this._codeLensCache.delete(o),this._onModelChange())},30*1e3));return}for(const p of this._languageFeaturesService.codeLensProvider.all(o))if(typeof p.onDidChange=="function"){const m=p.onDidChange(()=>l.schedule());this._localToDispose.add(m)}const l=new L.RunOnceScheduler(()=>{var p;const m=Date.now();(p=this._getCodeLensModelPromise)===null||p===void 0||p.cancel(),this._getCodeLensModelPromise=(0,L.createCancelablePromise)(v=>(0,g.getCodeLensModel)(this._languageFeaturesService.codeLensProvider,o,v)),this._getCodeLensModelPromise.then(v=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=v,this._codeLensCache.put(o,v);const b=this._provideCodeLensDebounce.update(o,Date.now()-m);l.delay=b,this._renderCodeLensSymbols(v),this._resolveCodeLensesInViewportSoon()},k.onUnexpectedError)},this._provideCodeLensDebounce.get(o));this._localToDispose.add(l),this._localToDispose.add((0,y.toDisposable)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var p;this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{const b=[];let w=-1;this._lenses.forEach(I=>{!I.isValid()||w===I.getLineNumber()?b.push(I):(I.update(v),w=I.getLineNumber())});const E=new s.CodeLensHelper;b.forEach(I=>{I.dispose(E,v),this._lenses.splice(this._lenses.indexOf(I),1)}),E.commit(m)})}),l.schedule(),this._resolveCodeLensesScheduler.cancel(),(p=this._resolveCodeLensesPromise)===null||p===void 0||p.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{l.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(p=>{p.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,y.toDisposable)(()=>{if(this._editor.getModel()){const p=D.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{this._disposeAllLenses(m,v)})}),p.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(p=>{if(p.target.type!==9)return;let m=p.target.element;if(m?.tagName==="SPAN"&&(m=m.parentElement),m?.tagName==="A")for(const v of this._lenses){const b=v.getCommand(m);if(b){this._commandService.executeCommand(b.id,...b.arguments||[]).catch(w=>this._notificationService.error(w));break}}})),l.schedule()}_disposeAllLenses(o,d){const l=new s.CodeLensHelper;for(const p of this._lenses)p.dispose(l,d);o&&l.commit(o),this._lenses.length=0}_renderCodeLensSymbols(o){if(!this._editor.hasModel())return;const d=this._editor.getModel().getLineCount(),l=[];let p;for(const b of o.lenses){const w=b.symbol.range.startLineNumber;w<1||w>d||(p&&p[p.length-1].symbol.range.startLineNumber===w?p.push(b):(p=[b],l.push(p)))}if(!l.length&&!this._lenses.length)return;const m=D.StableEditorScrollState.capture(this._editor),v=this._getLayoutInfo();this._editor.changeDecorations(b=>{this._editor.changeViewZones(w=>{const E=new s.CodeLensHelper;let I=0,M=0;for(;Mthis._resolveCodeLensesInViewportSoon())),I++,M++)}for(;Ithis._resolveCodeLensesInViewportSoon())),M++;E.commit(b)})}),m.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var o;(o=this._resolveCodeLensesPromise)===null||o===void 0||o.cancel(),this._resolveCodeLensesPromise=void 0;const d=this._editor.getModel();if(!d)return;const l=[],p=[];if(this._lenses.forEach(b=>{const w=b.computeIfNecessary(d);w&&(l.push(w),p.push(b))}),l.length===0)return;const m=Date.now(),v=(0,L.createCancelablePromise)(b=>{const w=l.map((E,I)=>{const M=new Array(E.length),P=E.map((x,T)=>!x.symbol.command&&typeof x.provider.resolveCodeLens=="function"?Promise.resolve(x.provider.resolveCodeLens(d,x.symbol,b)).then(A=>{M[T]=A},k.onUnexpectedExternalError):(M[T]=x.symbol,Promise.resolve(void 0)));return Promise.all(P).then(()=>{!b.isCancellationRequested&&!p[I].isDisposed()&&p[I].updateCommands(M)})});return Promise.all(w)});this._resolveCodeLensesPromise=v,this._resolveCodeLensesPromise.then(()=>{const b=this._resolveCodeLensesDebounce.update(d,Date.now()-m);this._resolveCodeLensesScheduler.delay=b,this._currentCodeLensModel&&this._codeLensCache.put(d,this._currentCodeLensModel),this._oldCodeLensModels.clear(),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},b=>{(0,k.onUnexpectedError)(b),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){return this._currentCodeLensModel}};e.CodeLensContribution=r,r.ID="css.editor.codeLens",e.CodeLensContribution=r=ke([fe(1,h.ILanguageFeaturesService),fe(2,u.ILanguageFeatureDebounceService),fe(3,n.ICommandService),fe(4,t.INotificationService),fe(5,C.ICodeLensCache)],r),(0,S.registerEditorContribution)(r.ID,r,1),(0,S.registerEditorAction)(class extends S.EditorAction{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:_.EditorContextKeys.hasCodeLensProvider,label:(0,i.localize)(0,null),alias:"Show CodeLens Commands For Current Line"})}run(o,d){return we(this,void 0,void 0,function*(){if(!d.hasModel())return;const l=o.get(a.IQuickInputService),p=o.get(n.ICommandService),m=o.get(t.INotificationService),v=d.getSelection().positionLineNumber,b=d.getContribution(r.ID);if(!b)return;const w=b.getModel();if(!w)return;const E=[];for(const M of w.lenses)M.symbol.command&&M.symbol.range.startLineNumber===v&&E.push({label:M.symbol.command.title,command:M.symbol.command});if(E.length===0)return;const I=yield l.pick(E,{canPickMany:!1});if(I){if(w.isDisposed)return yield p.executeCommand(this.id);try{yield p.executeCommand(I.command.id,...I.command.arguments||[])}catch(M){m.error(M)}}})}})}),define(ne[363],se([1,0,13,38,9,6,2,58,11,159,16,5,40,76,18,343,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DecoratorLimitReporter=e.ColorDetector=e.ColorDecorationInjectedTextMarker=void 0,e.ColorDecorationInjectedTextMarker=Object.create({});let r=h=class extends S.Disposable{constructor(d,l,p,m){super(),this._editor=d,this._configurationService=l,this._languageFeaturesService=p,this._localToDispose=this._register(new S.DisposableStore),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new g.DynamicCssRules(this._editor),this._decoratorLimitReporter=new c,this._colorDecorationClassRefs=this._register(new S.DisposableStore),this._debounceInformation=m.for(p.colorProvider,"Document Colors",{min:h.RECOMPUTE_TIME}),this._register(d.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(d.onDidChangeModelLanguage(()=>this.updateColors())),this._register(p.colorProvider.onDidChange(()=>this.updateColors())),this._register(d.onDidChangeConfiguration(v=>{const b=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144);const w=b!==this._isColorDecoratorsEnabled||v.hasChanged(20),E=v.hasChanged(144);(w||E)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144),this.updateColors()}isEnabled(){const d=this._editor.getModel();if(!d)return!1;const l=d.getLanguageId(),p=this._configurationService.getValue(l);if(p&&typeof p=="object"){const m=p.colorDecorators;if(m&&m.enable!==void 0&&!m.enable)return m.enable}return this._editor.getOption(19)}static get(d){return d.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const d=this._editor.getModel();!d||!this._languageFeaturesService.colorProvider.has(d)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new L.TimeoutTimer,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(d)))})),this.beginCompute())}beginCompute(){return we(this,void 0,void 0,function*(){this._computePromise=(0,L.createCancelablePromise)(d=>we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l)return[];const p=new f.StopWatch(!1),m=yield(0,a.getColors)(this._languageFeaturesService.colorProvider,l,d,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(l,p.elapsed()),m}));try{const d=yield this._computePromise;this.updateDecorations(d),this.updateColorDecorators(d),this._computePromise=null}catch(d){(0,y.onUnexpectedError)(d)}})}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(d){const l=d.map(p=>({range:{startLineNumber:p.colorInfo.range.startLineNumber,startColumn:p.colorInfo.range.startColumn,endLineNumber:p.colorInfo.range.endLineNumber,endColumn:p.colorInfo.range.endColumn},options:i.ModelDecorationOptions.EMPTY}));this._editor.changeDecorations(p=>{this._decorationsIds=p.deltaDecorations(this._decorationsIds,l),this._colorDatas=new Map,this._decorationsIds.forEach((m,v)=>this._colorDatas.set(m,d[v]))})}updateColorDecorators(d){this._colorDecorationClassRefs.clear();const l=[],p=this._editor.getOption(20);for(let v=0;vthis._colorDatas.has(m.id));return p.length===0?null:this._colorDatas.get(p[0].id)}isColorDecoration(d){return this._colorDecoratorIds.has(d)}};e.ColorDetector=r,r.ID="editor.contrib.colorDetector",r.RECOMPUTE_TIME=1e3,e.ColorDetector=r=h=ke([fe(1,u.IConfigurationService),fe(2,t.ILanguageFeaturesService),fe(3,n.ILanguageFeatureDebounceService)],r);class c{constructor(){this._onDidChange=new D.Emitter,this._computed=0,this._limited=!1}update(d,l){(d!==this._computed||l!==this._limited)&&(this._computed=d,this._limited=l,this._onDidChange.fire())}}e.DecoratorLimitReporter=c,(0,C.registerEditorContribution)(r.ID,r,1)}),define(ne[364],se([1,0,13,19,38,2,5,343,363,538,831,23,7]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerParticipant=e.StandaloneColorPickerHover=e.ColorHoverParticipant=e.ColorHover=void 0;class n{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v,this.forceShowAtRange=!0}isValidForHoverAnchor(l){return l.type===1&&this.range.startColumn<=l.range.startColumn&&this.range.endColumn>=l.range.endColumn}}e.ColorHover=n;let t=class{constructor(l,p){this._editor=l,this._themeService=p,this.hoverOrdinal=2}computeSync(l,p){return[]}computeAsync(l,p,m){return L.AsyncIterableObject.fromPromise(this._computeAsync(l,p,m))}_computeAsync(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const v=_.ColorDetector.get(this._editor);if(!v)return[];for(const b of p){if(!v.isColorDecoration(b))continue;const w=v.getColorData(b.range.getStartPosition());if(w)return[yield h(this,this._editor.getModel(),w.colorInfo,w.provider)]}return[]})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}};e.ColorHoverParticipant=t,e.ColorHoverParticipant=t=ke([fe(1,s.IThemeService)],t);class a{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v}}e.StandaloneColorPickerHover=a;let u=class{constructor(l,p){this._editor=l,this._themeService=p,this._color=null}createColorHover(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!_.ColorDetector.get(this._editor))return null;const b=yield(0,f.getColors)(m,this._editor.getModel(),k.CancellationToken.None);let w=null,E=null;for(const x of b){const T=x.colorInfo;S.Range.containsRange(T.range,l.range)&&(w=T,E=x.provider)}const I=w??l,M=E??p,P=!!w;return{colorHover:yield h(this,this._editor.getModel(),I,M),foundInEditor:P}})}updateEditorModel(l){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const p=l.model;let m=new S.Range(l.range.startLineNumber,l.range.startColumn,l.range.endLineNumber,l.range.endColumn);this._color&&(yield o(this._editor.getModel(),p,this._color,m,l),m=c(this._editor,m,p))})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}set color(l){this._color=l}get color(){return this._color}};e.StandaloneColorPickerParticipant=u,e.StandaloneColorPickerParticipant=u=ke([fe(1,s.IThemeService)],u);function h(d,l,p,m){return we(this,void 0,void 0,function*(){const v=l.getValueInRange(p.range),{red:b,green:w,blue:E,alpha:I}=p.color,M=new y.RGBA(Math.round(b*255),Math.round(w*255),Math.round(E*255),I),P=new y.Color(M),x=yield(0,f.getColorPresentations)(l,p,m,k.CancellationToken.None),T=new g.ColorPickerModel(P,[],0);return T.colorPresentations=x||[],T.guessColorPresentation(P,v),d instanceof t?new n(d,S.Range.lift(p.range),T,m):new a(d,S.Range.lift(p.range),T,m)})}function r(d,l,p,m,v){if(m.length===0||!l.hasModel())return D.Disposable.None;if(v.setMinimumDimensions){const T=l.getOption(65)+8;v.setMinimumDimensions(new i.Dimension(302,T))}const b=new D.DisposableStore,w=m[0],E=l.getModel(),I=w.model,M=b.add(new C.ColorPickerWidget(v.fragment,I,l.getOption(140),p,d instanceof u));v.setColorPicker(M);let P=!1,x=new S.Range(w.range.startLineNumber,w.range.startColumn,w.range.endLineNumber,w.range.endColumn);if(d instanceof u){const T=m[0].model.color;d.color=T,o(E,I,T,x,w),b.add(I.onColorFlushed(A=>{d.color=A}))}else b.add(I.onColorFlushed(T=>we(this,void 0,void 0,function*(){yield o(E,I,T,x,w),P=!0,x=c(l,x,I,v)})));return b.add(I.onDidChangeColor(T=>{o(E,I,T,x,w)})),b.add(l.onDidChangeModelContent(T=>{P?P=!1:(v.hide(),l.focus())})),b}function c(d,l,p,m){let v,b;if(p.presentation.textEdit){v=[p.presentation.textEdit],b=new S.Range(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn);const w=d.getModel()._setTrackedRange(null,b,3);d.pushUndoStop(),d.executeEdits("colorpicker",v),b=d.getModel()._getTrackedRange(w)||b}else v=[{range:l,text:p.presentation.label,forceMoveMarkers:!1}],b=l.setEndPosition(l.endLineNumber,l.startColumn+p.presentation.label.length),d.pushUndoStop(),d.executeEdits("colorpicker",v);return p.presentation.additionalTextEdits&&(v=[...p.presentation.additionalTextEdits],d.executeEdits("colorpicker",v),m&&m.hide()),d.pushUndoStop(),b}function o(d,l,p,m,v){return we(this,void 0,void 0,function*(){const b=yield(0,f.getColorPresentations)(d,{range:m,color:{red:p.rgba.r/255,green:p.rgba.g/255,blue:p.rgba.b/255,alpha:p.rgba.a}},v.provider,k.CancellationToken.None);l.colorPresentations=b||[]})}}),define(ne[880],se([1,0,2,17,16,12,5,24,40,540,440]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropController=void 0;function C(i){return k.isMacintosh?i.altKey:i.ctrlKey}class s extends L.Disposable{constructor(n){super(),this._editor=n,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!0),this._mouseDown&&C(n)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!1),this._mouseDown&&n.keyCode===s.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(n){this._mouseDown=!0}_onEditorMouseUp(n){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(n){const t=n.target;if(this._dragSelection===null){const u=(this._editor.getSelections()||[]).filter(h=>t.position&&h.containsPosition(t.position));if(u.length===1)this._dragSelection=u[0];else return}C(n.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(n){if(n.target&&(this._hitContent(n.target)||this._hitMargin(n.target))&&n.target.position){const t=new D.Position(n.target.position.lineNumber,n.target.position.column);if(this._dragSelection===null){let a=null;if(n.event.shiftKey){const u=this._editor.getSelection();if(u){const{selectionStartLineNumber:h,selectionStartColumn:r}=u;a=[new f.Selection(h,r,t.lineNumber,t.column)]}}else a=(this._editor.getSelections()||[]).map(u=>u.containsPosition(t)?new f.Selection(t.lineNumber,t.column,t.lineNumber,t.column):u);this._editor.setSelections(a||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(C(n.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(s.ID,new g.DragAndDropCommand(this._dragSelection,t,C(n.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(n){this._dndDecorationIds.set([{range:new S.Range(n.lineNumber,n.column,n.lineNumber,n.column),options:s._DECORATION_OPTIONS}]),this._editor.revealPosition(n,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(n){return n.type===6||n.type===7}_hitMargin(n){return n.type===2||n.type===3||n.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}e.DragAndDropController=s,s.ID="editor.contrib.dragAndDrop",s.TRIGGER_KEY_VALUE=k.isMacintosh?6:5,s._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"dnd-target",className:"dnd-target"}),(0,y.registerEditorContribution)(s.ID,s,2)}),define(ne[881],se([1,0,5,48,40,31,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindDecorations=void 0;class f{constructor(g){this._editor=g,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const g=this._findScopeDecorationIds.map(C=>this._editor.getModel().getDecorationRange(C)).filter(C=>!!C);if(g.length)return g}return null}getStartPosition(){return this._startPosition}setStartPosition(g){this._startPosition=g,this.setCurrentFindMatch(null)}_getDecorationIndex(g){const C=this._decorations.indexOf(g);return C>=0?C+1:1}getDecorationRangeAt(g){const C=g{if(this._highlightedDecorationId!==null&&(i.changeDecorationOptions(this._highlightedDecorationId,f._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),C!==null&&(this._highlightedDecorationId=C,i.changeDecorationOptions(this._highlightedDecorationId,f._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),C!==null){let n=this._editor.getModel().getDecorationRange(C);if(n.startLineNumber!==n.endLineNumber&&n.endColumn===1){const t=n.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(t);n=new L.Range(n.startLineNumber,n.startColumn,t,a)}this._rangeHighlightDecorationId=i.addDecoration(n,f._RANGE_HIGHLIGHT_DECORATION)}}),s}set(g,C){this._editor.changeDecorations(s=>{let i=f._FIND_MATCH_DECORATION;const n=[];if(g.length>1e3){i=f._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),h=this._editor.getLayoutInfo().height/a,r=Math.max(2,Math.ceil(3/h));let c=g[0].range.startLineNumber,o=g[0].range.endLineNumber;for(let d=1,l=g.length;d=p.startLineNumber?p.endLineNumber>o&&(o=p.endLineNumber):(n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=p.startLineNumber,o=p.endLineNumber)}n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const t=new Array(g.length);for(let a=0,u=g.length;as.removeDecoration(a)),this._findScopeDecorationIds=[]),C?.length&&(this._findScopeDecorationIds=C.map(a=>s.addDecoration(a,f._FIND_SCOPE_DECORATION)))})}matchBeforePosition(g){if(this._decorations.length===0)return null;for(let C=this._decorations.length-1;C>=0;C--){const s=this._decorations[C],i=this._editor.getModel().getDecorationRange(s);if(!(!i||i.endLineNumber>g.lineNumber)){if(i.endLineNumberg.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(g){if(this._decorations.length===0)return null;for(let C=0,s=this._decorations.length;Cg.lineNumber)return n;if(!(n.startColumnthis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(c=>{(c.reason===3||c.reason===5||c.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(c=>{this._ignoreModelContentChanged||(c.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(c=>this._onStateChanged(c))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,y.dispose)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(h){this._isDisposed||this._editor.hasModel()&&(h.searchString||h.isReplaceRevealed||h.isRegex||h.wholeWord||h.matchCase||h.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor)},t)):h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor))}static _getSearchRange(h,r){return r||h.getFullModelRange()}research(h,r){let c=null;typeof r<"u"?r!==null&&(Array.isArray(r)?c=r:c=[r]):c=this._decorations.getFindScopes(),c!==null&&(c=c.map(p=>{if(p.startLineNumber!==p.endLineNumber){let m=p.endLineNumber;return p.endColumn===1&&(m=m-1),new f.Range(p.startLineNumber,1,m,this._editor.getModel().getLineMaxColumn(m))}return p}));const o=this._findMatches(c,!1,e.MATCHES_LIMIT);this._decorations.set(o,c);const d=this._editor.getSelection();let l=this._decorations.getCurrentMatchesPosition(d);if(l===0&&o.length>0){const p=(0,L.findFirstInSorted)(o.map(m=>m.range),m=>f.Range.compareRangesUsingStarts(m,d)>=0);l=p>0?p-1+1:l}this._state.changeMatchInfo(l,this._decorations.getCount(),void 0),h&&this._editor.getOption(40).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const h=this._decorations.getFindScope();return h&&this._editor.revealRangeInCenterIfOutsideViewport(h,0),!0}return!1}_setCurrentFindMatch(h){const r=this._decorations.setCurrentFindMatch(h);this._state.changeMatchInfo(r,this._decorations.getCount(),h),this._editor.setSelection(h),this._editor.revealRangeInCenterIfOutsideViewport(h,0)}_prevSearchPosition(h){const r=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===1?(c===1?c=d.getLineCount():c--,o=d.getLineMaxColumn(c)):o--,new S.Position(c,o)}_moveToPrevMatch(h,r=!1){if(!this._state.canNavigateBack()){const b=this._decorations.matchAfterPosition(h);b&&this._setCurrentFindMatch(b);return}if(this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===d.getLineMaxColumn(c)?(c===d.getLineCount()?c=1:c++,o=1):o++,new S.Position(c,o)}_moveToNextMatch(h){if(!this._state.canNavigateForward()){const c=this._decorations.matchBeforePosition(h);c&&this._setCurrentFindMatch(c);return}if(this._decorations.getCount()a._getSearchRange(this._editor.getModel(),d));return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null,r,c)}replaceAll(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();h===null&&this._state.matchesCount>=e.MATCHES_LIMIT?this._largeReplaceAll():this._regularReplaceAll(h),this.research(!1)}_largeReplaceAll(){const r=new g.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null).parseSearchRequest();if(!r)return;let c=r.regex;if(!c.multiline){let w="mu";c.ignoreCase&&(w+="i"),c.global&&(w+="g"),c=new RegExp(c.source,w)}const o=this._editor.getModel(),d=o.getValue(1),l=o.getFullModelRange(),p=this._getReplacePattern();let m;const v=this._state.preserveCase;p.hasReplacementPatterns||v?m=d.replace(c,function(){return p.buildReplaceString(arguments,v)}):m=d.replace(c,p.buildReplaceString(null,v));const b=new D.ReplaceCommandThatPreservesSelection(l,m,this._editor.getSelection());this._executeEditorCommand("replaceAll",b)}_regularReplaceAll(h){const r=this._getReplacePattern(),c=this._findMatches(h,r.hasReplacementPatterns||this._state.preserveCase,1073741824),o=[];for(let l=0,p=c.length;ll.range),o);this._executeEditorCommand("replaceAll",d)}selectAllMatches(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();let c=this._findMatches(h,!1,1073741824).map(d=>new _.Selection(d.range.startLineNumber,d.range.startColumn,d.range.endLineNumber,d.range.endColumn));const o=this._editor.getSelection();for(let d=0,l=c.length;dthis._hide(),2e3)),this._isVisible=!1,this._editor=C,this._state=s,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n={inputActiveOptionBorder:(0,f.asCssVariable)(f.inputActiveOptionBorder),inputActiveOptionForeground:(0,f.asCssVariable)(f.inputActiveOptionForeground),inputActiveOptionBackground:(0,f.asCssVariable)(f.inputActiveOptionBackground)};this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase},n))),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleWholeWordCommand),isChecked:this._state.wholeWord},n))),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleRegexCommand),isChecked:this._state.isRegex},n))),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(t=>{let a=!1;t.isRegex&&(this.regex.checked=this._state.isRegex,a=!0),t.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,a=!0),t.matchCase&&(this.caseSensitive.checked=this._state.matchCase,a=!0),!this._state.isRevealed&&a&&this._revealTemporarily()})),this._register(L.addDisposableListener(this._domNode,L.EventType.MOUSE_LEAVE,t=>this._onMouseLeave())),this._register(L.addDisposableListener(this._domNode,"mouseover",t=>this._onMouseOver()))}_keybindingLabelFor(C){const s=this._keybindingService.lookupKeybinding(C);return s?` (${s.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return _.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}e.FindOptionsWidget=_,_.ID="editor.contrib.findOptionsWidget"}),define(ne[883],se([1,0,6,2,5,193]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindReplaceState=void 0;function S(_,g){return _===1?!0:_===2?!1:g}class f extends k.Disposable{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return S(this._isRegexOverride,this._isRegex)}get wholeWord(){return S(this._wholeWordOverride,this._wholeWord)}get matchCase(){return S(this._matchCaseOverride,this._matchCase)}get preserveCase(){return S(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new L.Emitter),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(g,C,s){const i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;C===0&&(g=0),g>C&&(g=C),this._matchesPosition!==g&&(this._matchesPosition=g,i.matchesPosition=!0,n=!0),this._matchesCount!==C&&(this._matchesCount=C,i.matchesCount=!0,n=!0),typeof s<"u"&&(y.Range.equalsRange(this._currentMatch,s)||(this._currentMatch=s,i.currentMatch=!0,n=!0)),n&&this._onFindReplaceStateChange.fire(i)}change(g,C,s=!0){var i;const n={moveCursor:C,updateHistory:s,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let t=!1;const a=this.isRegex,u=this.wholeWord,h=this.matchCase,r=this.preserveCase;typeof g.searchString<"u"&&this._searchString!==g.searchString&&(this._searchString=g.searchString,n.searchString=!0,t=!0),typeof g.replaceString<"u"&&this._replaceString!==g.replaceString&&(this._replaceString=g.replaceString,n.replaceString=!0,t=!0),typeof g.isRevealed<"u"&&this._isRevealed!==g.isRevealed&&(this._isRevealed=g.isRevealed,n.isRevealed=!0,t=!0),typeof g.isReplaceRevealed<"u"&&this._isReplaceRevealed!==g.isReplaceRevealed&&(this._isReplaceRevealed=g.isReplaceRevealed,n.isReplaceRevealed=!0,t=!0),typeof g.isRegex<"u"&&(this._isRegex=g.isRegex),typeof g.wholeWord<"u"&&(this._wholeWord=g.wholeWord),typeof g.matchCase<"u"&&(this._matchCase=g.matchCase),typeof g.preserveCase<"u"&&(this._preserveCase=g.preserveCase),typeof g.searchScope<"u"&&(!((i=g.searchScope)===null||i===void 0)&&i.every(c=>{var o;return(o=this._searchScope)===null||o===void 0?void 0:o.some(d=>!y.Range.equalsRange(d,c))})||(this._searchScope=g.searchScope,n.searchScope=!0,t=!0)),typeof g.loop<"u"&&this._loop!==g.loop&&(this._loop=g.loop,n.loop=!0,t=!0),typeof g.isSearching<"u"&&this._isSearching!==g.isSearching&&(this._isSearching=g.isSearching,n.isSearching=!0,t=!0),typeof g.filters<"u"&&(this._filters?this._filters.update(g.filters):this._filters=g.filters,n.filters=!0,t=!0),this._isRegexOverride=typeof g.isRegexOverride<"u"?g.isRegexOverride:0,this._wholeWordOverride=typeof g.wholeWordOverride<"u"?g.wholeWordOverride:0,this._matchCaseOverride=typeof g.matchCaseOverride<"u"?g.matchCaseOverride:0,this._preserveCaseOverride=typeof g.preserveCaseOverride<"u"?g.preserveCaseOverride:0,a!==this.isRegex&&(t=!0,n.isRegex=!0),u!==this.wholeWord&&(t=!0,n.wholeWord=!0),h!==this.matchCase&&(t=!0,n.matchCase=!0),r!==this.preserveCase&&(t=!0,n.preserveCase=!0),t&&this._onFindReplaceStateChange.fire(n)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=D.MATCHES_LIMIT}}e.FindReplaceState=f}),define(ne[884],se([1,0,7,49,153,130,83,13,25,9,2,17,11,5,193,656,346,745,31,62,23,26,88,20,105,443]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleButton=e.FindWidget=e.FindWidgetViewZone=e.NLS_NO_RESULTS=e.NLS_MATCHES_LOCATION=e.findNextMatchIcon=e.findPreviousMatchIcon=e.findReplaceAllIcon=e.findReplaceIcon=void 0;const v=(0,c.registerIcon)("find-selection",_.Codicon.selection,a.localize(0,null)),b=(0,c.registerIcon)("find-collapsed",_.Codicon.chevronRight,a.localize(1,null)),w=(0,c.registerIcon)("find-expanded",_.Codicon.chevronDown,a.localize(2,null));e.findReplaceIcon=(0,c.registerIcon)("find-replace",_.Codicon.replace,a.localize(3,null)),e.findReplaceAllIcon=(0,c.registerIcon)("find-replace-all",_.Codicon.replaceAll,a.localize(4,null)),e.findPreviousMatchIcon=(0,c.registerIcon)("find-previous-match",_.Codicon.arrowUp,a.localize(5,null)),e.findNextMatchIcon=(0,c.registerIcon)("find-next-match",_.Codicon.arrowDown,a.localize(6,null));const E=a.localize(7,null),I=a.localize(8,null),M=a.localize(9,null),P=a.localize(10,null),x=a.localize(11,null),T=a.localize(12,null),A=a.localize(13,null),N=a.localize(14,null),F=a.localize(15,null),O=a.localize(16,null),W=a.localize(17,null),U=a.localize(18,null),j=a.localize(19,null,t.MATCHES_LIMIT);e.NLS_MATCHES_LOCATION=a.localize(20,null),e.NLS_NO_RESULTS=a.localize(21,null);const R=419,G=275-54;let Z=69;const J=33,X="ctrlEnterReplaceAll.windows.donotask",H=s.isMacintosh?256:2048;class B{constructor(de){this.afterLineNumber=de,this.heightInPx=J,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}e.FindWidgetViewZone=B;function V(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionStart>0){ce.stopPropagation();return}}function Y(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(oe=>this._onStateChanged(oe))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(89)&&(this._codeEditor.getOption(89)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),oe.hasChanged(142)&&this._tryUpdateWidgetWidth(),oe.hasChanged(2)&&this.updateAccessibilitySupport(),oe.hasChanged(40)){const ge=this._codeEditor.getOption(40).loop;this._state.change({loop:ge},!1);const ve=this._codeEditor.getOption(40).addExtraSpaceOnTop;ve&&!this._viewZone&&(this._viewZone=new B(0),this._showViewZone()),!ve&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>we(this,void 0,void 0,function*(){if(this._isVisible){const oe=yield this._controller.getGlobalBufferTerm();oe&&oe!==this._state.searchString&&(this._state.change({searchString:oe},!1),this._findInput.select())}}))),this._findInputFocused=t.CONTEXT_FIND_INPUT_FOCUSED.bindTo(z),this._findFocusTracker=this._register(L.trackFocus(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=t.CONTEXT_REPLACE_INPUT_FOCUSED.bindTo(z),this._replaceFocusTracker=this._register(L.trackFocus(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(40).addExtraSpaceOnTop&&(this._viewZone=new B(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(oe=>{if(oe.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return ie.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(de){if(de.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(de.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),de.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),de.isReplaceRevealed&&(this._state.isReplaceRevealed?!this._codeEditor.getOption(89)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(de.isRevealed||de.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),de.isRegex&&this._findInput.setRegex(this._state.isRegex),de.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),de.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),de.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),de.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),de.searchString||de.matchesCount||de.matchesPosition){const he=this._state.searchString.length>0&&this._state.matchesCount===0;this._domNode.classList.toggle("no-results",he),this._updateMatchesCount(),this._updateButtons()}(de.searchString||de.currentMatch)&&this._layoutViewZone(),de.updateHistory&&this._delayedUpdateHistory(),de.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,g.onUnexpectedError)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=Z+"px",this._state.matchesCount>=t.MATCHES_LIMIT?this._matchesCount.title=j:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);let de;if(this._state.matchesCount>0){let he=String(this._state.matchesCount);this._state.matchesCount>=t.MATCHES_LIMIT&&(he+="+");let ue=String(this._state.matchesPosition);ue==="0"&&(ue="?"),de=i.format(e.NLS_MATCHES_LOCATION,ue,he)}else de=e.NLS_NO_RESULTS;this._matchesCount.appendChild(document.createTextNode(de)),(0,k.alert)(this._getAriaLabel(de,this._state.currentMatch,this._state.searchString)),Z=Math.max(Z,this._matchesCount.clientWidth)}_getAriaLabel(de,he,ue){if(de===e.NLS_NO_RESULTS)return ue===""?a.localize(22,null,de):a.localize(23,null,de,ue);if(he){const te=a.localize(24,null,de,ue,he.startLineNumber+":"+he.startColumn),q=this._codeEditor.getModel();return q&&he.startLineNumber<=q.getLineCount()&&he.startLineNumber>=1?`${q.getLineContent(he.startLineNumber)}, ${te}`:te}return a.localize(25,null,de,ue)}_updateToggleSelectionFindButton(){const de=this._codeEditor.getSelection(),he=de?de.startLineNumber!==de.endLineNumber||de.startColumn!==de.endColumn:!1,ue=this._toggleSelectionFind.checked;this._isVisible&&(ue||he)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const de=this._state.searchString.length>0,he=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const ue=!this._codeEditor.getOption(89);this._toggleReplaceBtn.setEnabled(this._isVisible&&ue)}_reveal(){if(this._revealTimeouts.forEach(de=>{clearTimeout(de)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const de=this._codeEditor.getSelection();switch(this._codeEditor.getOption(40).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const ue=!!de&&de.startLineNumber!==de.endLineNumber;this._toggleSelectionFind.checked=ue;break}default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let he=!0;if(this._codeEditor.getOption(40).seedSearchStringFromSelection&&de){const ue=this._codeEditor.getDomNode();if(ue){const te=L.getDomNodePagePosition(ue),q=this._codeEditor.getScrolledVisiblePosition(de.getStartPosition()),z=te.left+(q?q.left:0),ee=q?q.top:0;if(this._viewZone&&eede.startLineNumber&&(he=!1);const $=L.getTopLeftOffset(this._domNode).left;z>$&&(he=!1);const re=this._codeEditor.getScrolledVisiblePosition(de.getEndPosition());te.left+(re?re.left:0)>$&&(he=!1)}}}this._showViewZone(he)}}_hide(de){this._revealTimeouts.forEach(he=>{clearTimeout(he)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),de&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(de){if(!this._codeEditor.getOption(40).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const ue=this._viewZone;this._viewZoneId!==void 0||!ue||this._codeEditor.changeViewZones(te=>{ue.heightInPx=this._getHeight(),this._viewZoneId=te.addZone(ue),this._codeEditor.setScrollTop(de||this._codeEditor.getScrollTop()+ue.heightInPx)})}_showViewZone(de=!0){if(!this._isVisible||!this._codeEditor.getOption(40).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new B(0));const ue=this._viewZone;this._codeEditor.changeViewZones(te=>{if(this._viewZoneId!==void 0){const q=this._getHeight();if(q===ue.heightInPx)return;const z=q-ue.heightInPx;ue.heightInPx=q,te.layoutZone(this._viewZoneId),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+z);return}else{let q=this._getHeight();if(q-=this._codeEditor.getOption(82).top,q<=0)return;ue.heightInPx=q,this._viewZoneId=te.addZone(ue),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+q)}})}_removeViewZone(){this._codeEditor.changeViewZones(de=>{this._viewZoneId!==void 0&&(de.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!L.isInDOM(this._domNode))return;const de=this._codeEditor.getLayoutInfo();if(de.contentWidth<=0){this._domNode.classList.add("hiddenEditor");return}else this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const ue=de.width,te=de.minimap.minimapWidth;let q=!1,z=!1,ee=!1;if(this._resized&&L.getTotalWidth(this._domNode)>R){this._domNode.style.maxWidth=`${ue-28-te-15}px`,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode);return}if(R+28+te>=ue&&(z=!0),R+28+te-Z>=ue&&(ee=!0),R+28+te-Z>=ue+50&&(q=!0),this._domNode.classList.toggle("collapsed-find-widget",q),this._domNode.classList.toggle("narrow-find-widget",ee),this._domNode.classList.toggle("reduced-find-widget",z),!ee&&!q&&(this._domNode.style.maxWidth=`${ue-28-te-15}px`),this._findInput.layout({collapsedFindWidget:q,narrowFindWidget:ee,reducedFindWidget:z}),this._resized){const $=this._findInput.inputBox.element.clientWidth;$>0&&(this._replaceInput.width=$)}else this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode))}_getHeight(){let de=0;return de+=4,de+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(de+=4,de+=this._replaceInput.inputBox.height+2),de+=4,de}_tryUpdateHeight(){const de=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===de?!1:(this._cachedHeight=de,this._domNode.style.height=`${de}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const de=this._codeEditor.getSelections();de.map(he=>{he.endColumn===1&&he.endLineNumber>he.startLineNumber&&(he=he.setEndPosition(he.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(he.endLineNumber-1)));const ue=this._state.currentMatch;return he.startLineNumber!==he.endLineNumber&&!n.Range.equalsRange(he,ue)?he:null}).filter(he=>!!he),de.length&&this._state.change({searchScope:de},!0)}}_onFindInputMouseDown(de){de.middleButton&&de.stopPropagation()}_onFindInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{this._findInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(de.equals(18))return Y(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))}_onReplaceInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{s.isWindows&&s.isNative&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(a.localize(26,null)),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(X,!0,0,0)),this._replaceInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(1026)){this._findInput.focus(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(de.equals(18))return Y(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))}getVerticalSashLeft(de){return 0}_keybindingLabelFor(de){const he=this._keybindingService.lookupKeybinding(de);return he?` (${he.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new u.ContextScopedFindInput(null,this._contextViewProvider,{width:G,label:I,placeholder:M,appendCaseSensitiveLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleRegexCommand),validation:$=>{if($.length===0||!this._findInput.getRegex())return null;try{return new RegExp($,"gu"),null}catch(re){return{content:re.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown($=>this._onFindInputKeyDown($))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown($=>{$.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),$.preventDefault())})),this._register(this._findInput.onRegexKeyDown($=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),$.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange($=>{this._tryUpdateHeight()&&this._showViewZone()})),s.isLinux&&this._register(this._findInput.onMouseDown($=>this._onFindInputMouseDown($))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new ae({label:P+this._keybindingLabelFor(t.FIND_IDS.PreviousMatchFindAction),icon:e.findPreviousMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.PreviousMatchFindAction)).run().then(void 0,g.onUnexpectedError)}})),this._nextBtn=this._register(new ae({label:x+this._keybindingLabelFor(t.FIND_IDS.NextMatchFindAction),icon:e.findNextMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.NextMatchFindAction)).run().then(void 0,g.onUnexpectedError)}}));const ue=document.createElement("div");ue.className="find-part",ue.appendChild(this._findInput.domNode);const te=document.createElement("div");te.className="find-actions",ue.appendChild(te),te.appendChild(this._matchesCount),te.appendChild(this._prevBtn.domNode),te.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new y.Toggle({icon:v,title:T+this._keybindingLabelFor(t.FIND_IDS.ToggleSearchScopeCommand),isChecked:!1,inputActiveOptionBackground:(0,r.asCssVariable)(r.inputActiveOptionBackground),inputActiveOptionBorder:(0,r.asCssVariable)(r.inputActiveOptionBorder),inputActiveOptionForeground:(0,r.asCssVariable)(r.inputActiveOptionForeground)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const $=this._codeEditor.getSelections();$.map(re=>(re.endColumn===1&&re.endLineNumber>re.startLineNumber&&(re=re.setEndPosition(re.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(re.endLineNumber-1))),re.isEmpty()?null:re)).filter(re=>!!re),$.length&&this._state.change({searchScope:$},!0)}}else this._state.change({searchScope:null},!0)})),te.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new ae({label:A+this._keybindingLabelFor(t.FIND_IDS.CloseFindWidgetCommand),icon:c.widgetClose,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:$=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),$.preventDefault())}})),this._replaceInput=this._register(new u.ContextScopedReplaceInput(null,void 0,{label:N,placeholder:F,appendPreserveCaseLabel:this._keybindingLabelFor(t.FIND_IDS.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown($=>this._onReplaceInputKeyDown($))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange($=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown($=>{$.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),$.preventDefault())})),this._replaceBtn=this._register(new ae({label:O+this._keybindingLabelFor(t.FIND_IDS.ReplaceOneAction),icon:e.findReplaceIcon,onTrigger:()=>{this._controller.replace()},onKeyDown:$=>{$.equals(1026)&&(this._closeBtn.focus(),$.preventDefault())}})),this._replaceAllBtn=this._register(new ae({label:W+this._keybindingLabelFor(t.FIND_IDS.ReplaceAllAction),icon:e.findReplaceAllIcon,onTrigger:()=>{this._controller.replaceAll()}}));const q=document.createElement("div");q.className="replace-part",q.appendChild(this._replaceInput.domNode);const z=document.createElement("div");z.className="replace-actions",q.appendChild(z),z.appendChild(this._replaceBtn.domNode),z.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new ae({label:U,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=E,this._domNode.role="dialog",this._domNode.style.width=`${R}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(ue),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(q),this._resizeSash=new D.Sash(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let ee=R;this._register(this._resizeSash.onDidStart(()=>{ee=L.getTotalWidth(this._domNode)})),this._register(this._resizeSash.onDidChange($=>{this._resized=!0;const re=ee+$.startX-$.currentX;if(reoe||(this._domNode.style.width=`${re}px`,this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const $=L.getTotalWidth(this._domNode);if(${this._opts.onTrigger(),ue.preventDefault()}),this.onkeydown(this._domNode,ue=>{var te,q;if(ue.equals(10)||ue.equals(3)){this._opts.onTrigger(),ue.preventDefault();return}(q=(te=this._opts).onKeyDown)===null||q===void 0||q.call(te,ue)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(de){this._domNode.classList.toggle("disabled",!de),this._domNode.setAttribute("aria-disabled",String(!de)),this._domNode.tabIndex=de?0:-1}setExpanded(de){this._domNode.setAttribute("aria-expanded",String(!!de)),de?(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(b)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(w))):(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(w)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(b)))}}e.SimpleButton=ae,(0,o.registerThemingParticipant)((ce,de)=>{const he=(De,ye)=>{ye&&de.addRule(`.monaco-editor ${De} { background-color: ${ye}; }`)};he(".findMatch",ce.getColor(r.editorFindMatchHighlight)),he(".currentFindMatch",ce.getColor(r.editorFindMatch)),he(".findScope",ce.getColor(r.editorFindRangeHighlight));const ue=ce.getColor(r.editorWidgetBackground);he(".find-widget",ue);const te=ce.getColor(r.widgetShadow);te&&de.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${te}; }`);const q=ce.getColor(r.widgetBorder);q&&de.addRule(`.monaco-editor .find-widget { border-left: 1px solid ${q}; border-right: 1px solid ${q}; border-bottom: 1px solid ${q}; }`);const z=ce.getColor(r.editorFindMatchHighlightBorder);z&&de.addRule(`.monaco-editor .findMatch { border: 1px ${(0,l.isHighContrast)(ce.type)?"dotted":"solid"} ${z}; box-sizing: border-box; }`);const ee=ce.getColor(r.editorFindMatchBorder);ee&&de.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${ee}; padding: 1px; box-sizing: border-box; }`);const $=ce.getColor(r.editorFindRangeHighlightBorder);$&&de.addRule(`.monaco-editor .findScope { border: 1px ${(0,l.isHighContrast)(ce.type)?"dashed":"solid"} ${$}; }`);const re=ce.getColor(r.contrastBorder);re&&de.addRule(`.monaco-editor .find-widget { border: 1px solid ${re}; }`);const oe=ce.getColor(r.editorWidgetForeground);oe&&de.addRule(`.monaco-editor .find-widget { color: ${oe}; }`);const ge=ce.getColor(r.errorForeground);ge&&de.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${ge}; }`);const ve=ce.getColor(r.editorWidgetResizeBorder);if(ve)de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${ve}; }`);else{const De=ce.getColor(r.editorWidgetBorder);De&&de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${De}; }`)}const Se=ce.getColor(r.toolbarHoverBackground);Se&&de.addRule(` - .monaco-editor .find-widget .button:not(.disabled):hover, - .monaco-editor .find-widget .codicon-find-selection:hover { - background-color: ${Se} !important; - } - `);const Le=ce.getColor(r.focusBorder);Le&&de.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${Le}; }`)})}),define(ne[365],se([1,0,13,2,11,16,80,21,48,193,882,883,884,655,30,96,15,57,34,43,71,87,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.StartFindReplaceAction=e.PreviousSelectionMatchFindAction=e.NextSelectionMatchFindAction=e.SelectionMatchFindAction=e.MoveToMatchFindAction=e.PreviousMatchFindAction=e.NextMatchFindAction=e.MatchFindAction=e.StartFindWithSelectionAction=e.StartFindWithArgsAction=e.StartFindAction=e.FindController=e.CommonFindController=e.getSelectionSearchString=void 0;const m=524288;function v(U,j="single",R=!1){if(!U.hasModel())return null;const K=U.getSelection();if(j==="single"&&K.startLineNumber===K.endLineNumber||j==="multiple"){if(K.isEmpty()){const G=U.getConfiguredWordAtPosition(K.getStartPosition());if(G&&R===!1)return G.word}else if(U.getModel().getValueLengthInRange(K)this._onStateChanged(Z))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{const Z=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),Z&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(40).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(j){this.saveQueryState(j),j.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),j.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(j){j.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),j.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),j.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),j.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!g.CONTEXT_FIND_INPUT_FOCUSED.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const j=this._editor.getSelections();j.map(R=>(R.endColumn===1&&R.endLineNumber>R.startLineNumber&&(R=R.setEndPosition(R.endLineNumber-1,this._editor.getModel().getLineMaxColumn(R.endLineNumber-1))),R.isEmpty()?null:R)).filter(R=>!!R),j.length&&this._state.change({searchScope:j},!0)}}setSearchString(j){this._state.isRegex&&(j=y.escapeRegExpCharacters(j)),this._state.change({searchString:j},!1)}highlightFindOptions(j=!1){}_start(j,R){return we(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;const K=Object.assign(Object.assign({},R),{isRevealed:!0});if(j.seedSearchStringFromSelection==="single"){const G=v(this._editor,j.seedSearchStringFromSelection,j.seedSearchStringFromNonEmptySelection);G&&(this._state.isRegex?K.searchString=y.escapeRegExpCharacters(G):K.searchString=G)}else if(j.seedSearchStringFromSelection==="multiple"&&!j.updateSearchScope){const G=v(this._editor,j.seedSearchStringFromSelection);G&&(K.searchString=G)}if(!K.searchString&&j.seedSearchStringFromGlobalClipboard){const G=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;G&&(K.searchString=G)}if(j.forceRevealReplace||K.isReplaceRevealed?K.isReplaceRevealed=!0:this._findWidgetVisible.get()||(K.isReplaceRevealed=!1),j.updateSearchScope){const G=this._editor.getSelections();G.some(Z=>!Z.isEmpty())&&(K.searchScope=G)}K.loop=j.loop,this._state.change(K,!1),this._model||(this._model=new g.FindModelBoundToEditorModel(this._editor,this._state))})}start(j,R){return this._start(j,R)}moveToNextMatch(){return this._model?(this._model.moveToNextMatch(),!0):!1}moveToPrevMatch(){return this._model?(this._model.moveToPrevMatch(),!0):!1}goToMatch(j){return this._model?(this._model.moveToMatch(j),!0):!1}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){return this._model?(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}getGlobalBufferTerm(){return we(this,void 0,void 0,function*(){return this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(j){this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(j)}};e.CommonFindController=b,b.ID="editor.contrib.findController",e.CommonFindController=b=p=ke([fe(1,u.IContextKeyService),fe(2,d.IStorageService),fe(3,a.IClipboardService)],b);let w=class extends b{constructor(j,R,K,G,Z,J,X,H){super(j,K,X,H),this._contextViewService=R,this._keybindingService=G,this._themeService=Z,this._notificationService=J,this._widget=null,this._findOptionsWidget=null}_start(j,R){const K=Object.create(null,{_start:{get:()=>super._start}});return we(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const G=this._editor.getSelection();let Z=!1;switch(this._editor.getOption(40).autoFindInSelection){case"always":Z=!0;break;case"never":Z=!1;break;case"multiline":{Z=!!G&&G.startLineNumber!==G.endLineNumber;break}default:break}j.updateSearchScope=j.updateSearchScope||Z,yield K._start.call(this,j,R),this._widget&&(j.shouldFocus===2?this._widget.focusReplaceInput():j.shouldFocus===1&&this._widget.focusFindInput())})}highlightFindOptions(j=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!j?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new i.FindWidget(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new C.FindOptionsWidget(this._editor,this._state,this._keybindingService))}};e.FindController=w,e.FindController=w=ke([fe(1,h.IContextViewService),fe(2,u.IContextKeyService),fe(3,r.IKeybindingService),fe(4,l.IThemeService),fe(5,c.INotificationService),fe(6,d.IStorageService),fe(7,a.IClipboardService)],w),e.StartFindAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindAction,label:n.localize(0,null),alias:"Find",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(1,null),order:1}})),e.StartFindAction.addImplementation(0,(U,j,R)=>{const K=b.get(j);return K?K.start({forceRevealReplace:!1,seedSearchStringFromSelection:j.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop}):!1});const E={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:n.localize(2,null)},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:n.localize(3,null)},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:n.localize(4,null)},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:n.localize(5,null)},findInSelection:{type:"boolean"}}}}]};class I extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithArgs,label:n.localize(6,null),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:E})}run(j,R,K){return we(this,void 0,void 0,function*(){const G=b.get(R);if(G){const Z=K?{searchString:K.searchString,replaceString:K.replaceString,isReplaceRevealed:K.replaceString!==void 0,isRegex:K.isRegex,wholeWord:K.matchWholeWord,matchCase:K.isCaseSensitive,preserveCase:K.preserveCase}:{};yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:G.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:K?.findInSelection||!1,loop:R.getOption(40).loop},Z),G.setGlobalBufferTerm(G.getState().searchString)}})}}e.StartFindWithArgsAction=I;class M extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithSelection,label:n.localize(7,null),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),K.setGlobalBufferTerm(K.getState().searchString))})}}e.StartFindWithSelectionAction=M;class P extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&!this._run(K)&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:K.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.MatchFindAction=P;class x extends P{constructor(){super({id:g.FIND_IDS.NextMatchFindAction,label:n.localize(8,null),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:3,weight:100}]})}_run(j){return j.moveToNextMatch()?(j.editor.pushUndoStop(),!0):!1}}e.NextMatchFindAction=x;class T extends P{constructor(){super({id:g.FIND_IDS.PreviousMatchFindAction,label:n.localize(9,null),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:1027,weight:100}]})}_run(j){return j.moveToPrevMatch()}}e.PreviousMatchFindAction=T;class A extends D.EditorAction{constructor(){super({id:g.FIND_IDS.GoToMatchFindAction,label:n.localize(10,null),alias:"Go to Match...",precondition:g.CONTEXT_FIND_WIDGET_VISIBLE}),this._highlightDecorations=[]}run(j,R,K){const G=b.get(R);if(!G)return;const Z=G.getState().matchesCount;if(Z<1){j.get(c.INotificationService).notify({severity:c.Severity.Warning,message:n.localize(11,null)});return}const X=j.get(o.IQuickInputService).createInputBox();X.placeholder=n.localize(12,null,Z);const H=V=>{const Y=parseInt(V);if(isNaN(Y))return;const ie=G.getState().matchesCount;if(Y>0&&Y<=ie)return Y-1;if(Y<0&&Y>=-ie)return ie+Y},B=V=>{const Y=H(V);if(typeof Y=="number"){X.validationMessage=void 0,G.goToMatch(Y);const ie=G.getState().currentMatch;ie&&this.addDecorations(R,ie)}else X.validationMessage=n.localize(13,null,G.getState().matchesCount),this.clearDecorations(R)};X.onDidChangeValue(V=>{B(V)}),X.onDidAccept(()=>{const V=H(X.value);typeof V=="number"?(G.goToMatch(V),X.hide()):X.validationMessage=n.localize(14,null,G.getState().matchesCount)}),X.onDidHide(()=>{this.clearDecorations(R),X.dispose()}),X.show()}clearDecorations(j){j.changeDecorations(R=>{this._highlightDecorations=R.deltaDecorations(this._highlightDecorations,[])})}addDecorations(j,R){j.changeDecorations(K=>{this._highlightDecorations=K.deltaDecorations(this._highlightDecorations,[{range:R,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:R,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,l.themeColorFromId)(S.overviewRulerRangeHighlight),position:_.OverviewRulerLane.Full}}}])})}}e.MoveToMatchFindAction=A;class N extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);if(!K)return;const G=v(R,"single",!1);G&&K.setSearchString(G),this._run(K)||(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.SelectionMatchFindAction=N;class F extends N{constructor(){super({id:g.FIND_IDS.NextSelectionMatchFindAction,label:n.localize(15,null),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:2109,weight:100}})}_run(j){return j.moveToNextMatch()}}e.NextSelectionMatchFindAction=F;class O extends N{constructor(){super({id:g.FIND_IDS.PreviousSelectionMatchFindAction,label:n.localize(16,null),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:3133,weight:100}})}_run(j){return j.moveToPrevMatch()}}e.PreviousSelectionMatchFindAction=O,e.StartFindReplaceAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindReplaceAction,label:n.localize(17,null),alias:"Replace",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(18,null),order:2}})),e.StartFindReplaceAction.addImplementation(0,(U,j,R)=>{if(!j.hasModel()||j.getOption(89))return!1;const K=b.get(j);if(!K)return!1;const G=j.getSelection(),Z=K.isFindInputFocused(),J=!G.isEmpty()&&G.startLineNumber===G.endLineNumber&&j.getOption(40).seedSearchStringFromSelection!=="never"&&!Z,X=Z||J?2:1;return K.start({forceRevealReplace:!0,seedSearchStringFromSelection:J?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).seedSearchStringFromSelection!=="never",shouldFocus:X,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop})}),(0,D.registerEditorContribution)(b.ID,w,0),(0,D.registerEditorAction)(I),(0,D.registerEditorAction)(M),(0,D.registerEditorAction)(x),(0,D.registerEditorAction)(T),(0,D.registerEditorAction)(A),(0,D.registerEditorAction)(F),(0,D.registerEditorAction)(O);const W=D.EditorCommand.bindToContribution(b.get);(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.CloseFindWidgetCommand,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.closeFindWidget(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,u.ContextKeyExpr.not("isComposing")),primary:9,secondary:[1033]}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleCaseSensitiveCommand,precondition:void 0,handler:U=>U.toggleCaseSensitive(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleCaseSensitiveKeybinding.primary,mac:g.ToggleCaseSensitiveKeybinding.mac,win:g.ToggleCaseSensitiveKeybinding.win,linux:g.ToggleCaseSensitiveKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleWholeWordCommand,precondition:void 0,handler:U=>U.toggleWholeWords(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleWholeWordKeybinding.primary,mac:g.ToggleWholeWordKeybinding.mac,win:g.ToggleWholeWordKeybinding.win,linux:g.ToggleWholeWordKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleRegexCommand,precondition:void 0,handler:U=>U.toggleRegex(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleRegexKeybinding.primary,mac:g.ToggleRegexKeybinding.mac,win:g.ToggleRegexKeybinding.win,linux:g.ToggleRegexKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleSearchScopeCommand,precondition:void 0,handler:U=>U.toggleSearchScope(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleSearchScopeKeybinding.primary,mac:g.ToggleSearchScopeKeybinding.mac,win:g.ToggleSearchScopeKeybinding.win,linux:g.ToggleSearchScopeKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.TogglePreserveCaseCommand,precondition:void 0,handler:U=>U.togglePreserveCase(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.TogglePreserveCaseKeybinding.primary,mac:g.TogglePreserveCaseKeybinding.mac,win:g.TogglePreserveCaseKeybinding.win,linux:g.TogglePreserveCaseKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:3094}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:3}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:2563}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:void 0,mac:{primary:2051}}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.SelectAllMatchesAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.selectAllMatches(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:515}}))}),define(ne[366],se([1,0,25,48,40,658,31,62,23,26]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FoldingDecorationProvider=e.foldingManualExpandedIcon=e.foldingManualCollapsedIcon=e.foldingCollapsedIcon=e.foldingExpandedIcon=void 0;const C=(0,S.registerColor)("editor.foldBackground",{light:(0,S.transparent)(S.editorSelectionBackground,.3),dark:(0,S.transparent)(S.editorSelectionBackground,.3),hcDark:null,hcLight:null},(0,D.localize)(0,null),!0);(0,S.registerColor)("editorGutter.foldingControlForeground",{dark:S.iconForeground,light:S.iconForeground,hcDark:S.iconForeground,hcLight:S.iconForeground},(0,D.localize)(1,null)),e.foldingExpandedIcon=(0,f.registerIcon)("folding-expanded",L.Codicon.chevronDown,(0,D.localize)(2,null)),e.foldingCollapsedIcon=(0,f.registerIcon)("folding-collapsed",L.Codicon.chevronRight,(0,D.localize)(3,null)),e.foldingManualCollapsedIcon=(0,f.registerIcon)("folding-manual-collapsed",e.foldingCollapsedIcon,(0,D.localize)(4,null)),e.foldingManualExpandedIcon=(0,f.registerIcon)("folding-manual-expanded",e.foldingExpandedIcon,(0,D.localize)(5,null));const s={color:(0,_.themeColorFromId)(C),position:k.MinimapPosition.Inline};class i{constructor(t){this.editor=t,this.showFoldingControls="mouseover",this.showFoldingHighlights=!0}getDecorationOption(t,a,u){return a?i.HIDDEN_RANGE_DECORATION:this.showFoldingControls==="never"?t?this.showFoldingHighlights?i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION:i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION:i.NO_CONTROLS_EXPANDED_RANGE_DECORATION:t?u?this.showFoldingHighlights?i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.COLLAPSED_VISUAL_DECORATION:this.showFoldingControls==="mouseover"?u?i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION:i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:u?i.MANUALLY_EXPANDED_VISUAL_DECORATION:i.EXPANDED_VISUAL_DECORATION}changeDecorations(t){return this.editor.changeDecorations(t)}removeDecorations(t){this.editor.removeDecorations(t)}}e.FoldingDecorationProvider=i,i.COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.MANUALLY_COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0}),i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0}),i.EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.MANUALLY_EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-auto-hide-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.NO_CONTROLS_EXPANDED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,isWholeLine:!0}),i.HIDDEN_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-hidden-range-decoration",stickiness:1})}),define(ne[255],se([1,0,13,19,9,63,2,11,20,108,16,21,29,32,291,543,292,657,15,366,182,293,43,76,58,18,6,27,22,51,28,444]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.RangesLimitReporter=e.FoldingController=void 0;const x=new r.RawContextKey("foldingEnabled",!1);let T=P=class extends S.Disposable{static get(ue){return ue.getContribution(P.ID)}static getFoldingRangeProviders(ue,te){var q,z;const ee=ue.foldingRangeProvider.ordered(te);return(z=(q=P._foldingRangeSelector)===null||q===void 0?void 0:q.call(P,ee,te))!==null&&z!==void 0?z:ee}constructor(ue,te,q,z,ee,$){super(),this.contextKeyService=te,this.languageConfigurationService=q,this.languageFeaturesService=$,this.localToDispose=this._register(new S.DisposableStore),this.editor=ue,this._foldingLimitReporter=new A(ue);const re=this.editor.getOptions();this._isEnabled=re.get(42),this._useFoldingProviders=re.get(43)!=="indentation",this._unfoldOnClickAfterEndOfLine=re.get(47),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=re.get(45),this.updateDebounceInfo=ee.for($.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new c.FoldingDecorationProvider(ue),this.foldingDecorationProvider.showFoldingControls=re.get(108),this.foldingDecorationProvider.showFoldingHighlights=re.get(44),this.foldingEnabled=x.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(42)&&(this._isEnabled=this.editor.getOptions().get(42),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),oe.hasChanged(46)&&this.onModelChanged(),oe.hasChanged(108)||oe.hasChanged(44)){const ge=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=ge.get(108),this.foldingDecorationProvider.showFoldingHighlights=ge.get(44),this.triggerFoldingModelChanged()}oe.hasChanged(43)&&(this._useFoldingProviders=this.editor.getOptions().get(43)!=="indentation",this.onFoldingStrategyChanged()),oe.hasChanged(47)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(47)),oe.hasChanged(45)&&(this._foldingImportsByDefault=this.editor.getOptions().get(45))})),this.onModelChanged()}saveViewState(){const ue=this.editor.getModel();if(!ue||!this._isEnabled||ue.isTooLargeForTokenization())return{};if(this.foldingModel){const te=this.foldingModel.getMemento(),q=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:te,lineCount:ue.getLineCount(),provider:q,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(ue){const te=this.editor.getModel();if(!(!te||!this._isEnabled||te.isTooLargeForTokenization()||!this.hiddenRangeModel)&&ue&&(this._currentModelHasFoldedImports=!!ue.foldedImports,ue.collapsedRegions&&ue.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(ue.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const ue=this.editor.getModel();!this._isEnabled||!ue||ue.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new t.FoldingModel(ue,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new a.HiddenRangeModel(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(te=>this.onHiddenRangesChanges(te))),this.updateScheduler=new L.Delayer(this.updateDebounceInfo.get(ue)),this.cursorChangedScheduler=new L.RunOnceScheduler(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(te=>this.onDidChangeModelContent(te))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(te=>this.onEditorMouseDown(te))),this.localToDispose.add(this.editor.onMouseUp(te=>this.onEditorMouseUp(te))),this.localToDispose.add({dispose:()=>{var te,q;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),(te=this.updateScheduler)===null||te===void 0||te.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,(q=this.rangeProvider)===null||q===void 0||q.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var ue;(ue=this.rangeProvider)===null||ue===void 0||ue.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(ue){if(this.rangeProvider)return this.rangeProvider;const te=new u.IndentRangeProvider(ue,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=te,this._useFoldingProviders&&this.foldingModel){const q=P.getFoldingRangeProviders(this.languageFeaturesService,ue);q.length>0&&(this.rangeProvider=new d.SyntaxRangeProvider(ue,q,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,te))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(ue){var te;(te=this.hiddenRangeModel)===null||te===void 0||te.notifyChangeModelContent(ue),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const ue=this.foldingModel;if(!ue)return null;const te=new m.StopWatch,q=this.getRangeProvider(ue.textModel),z=this.foldingRegionPromise=(0,L.createCancelablePromise)(ee=>q.compute(ee));return z.then(ee=>{if(ee&&z===this.foldingRegionPromise){let $;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const ve=ee.setCollapsedAllOfType(i.FoldingRangeKind.Imports.value,!0);ve&&($=g.StableEditorScrollState.capture(this.editor),this._currentModelHasFoldedImports=ve)}const re=this.editor.getSelections(),oe=re?re.map(ve=>ve.startLineNumber):[];ue.update(ee,oe),$?.restore(this.editor);const ge=this.updateDebounceInfo.update(ue.textModel,te.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=ge)}return ue})}).then(void 0,ue=>((0,y.onUnexpectedError)(ue),null)))}onHiddenRangesChanges(ue){if(this.hiddenRangeModel&&ue.length&&!this._restoringViewState){const te=this.editor.getSelections();te&&this.hiddenRangeModel.adjustSelections(te)&&this.editor.setSelections(te)}this.editor.setHiddenAreas(ue,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const ue=this.getFoldingModel();ue&&ue.then(te=>{if(te){const q=this.editor.getSelections();if(q&&q.length>0){const z=[];for(const ee of q){const $=ee.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden($)&&z.push(...te.getAllRegionsAtLine($,re=>re.isCollapsed&&$>re.startLineNumber))}z.length&&(te.toggleCollapseState(z),this.reveal(q[0].getPosition()))}}}).then(void 0,y.onUnexpectedError)}onEditorMouseDown(ue){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!ue.target||!ue.target.range||!ue.event.leftButton&&!ue.event.middleButton)return;const te=ue.target.range;let q=!1;switch(ue.target.type){case 4:{const z=ue.target.detail,ee=ue.target.element.offsetLeft;if(z.offsetX-ee<4)return;q=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!ue.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){const z=this.editor.getModel();if(z&&te.startColumn===z.getLineMaxColumn(te.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:te.startLineNumber,iconClicked:q}}onEditorMouseUp(ue){const te=this.foldingModel;if(!te||!this.mouseDownInfo||!ue.target)return;const q=this.mouseDownInfo.lineNumber,z=this.mouseDownInfo.iconClicked,ee=ue.target.range;if(!ee||ee.startLineNumber!==q)return;if(z){if(ue.target.type!==4)return}else{const re=this.editor.getModel();if(!re||ee.startColumn!==re.getLineMaxColumn(q))return}const $=te.getRegionAtLine(q);if($&&$.startLineNumber===q){const re=$.isCollapsed;if(z||re){const oe=ue.event.altKey;let ge=[];if(oe){const ve=Le=>!Le.containedBy($)&&!$.containedBy(Le),Se=te.getRegionsInside(null,ve);for(const Le of Se)Le.isCollapsed&&ge.push(Le);ge.length===0&&(ge=Se)}else{const ve=ue.event.middleButton||ue.event.shiftKey;if(ve)for(const Se of te.getRegionsInside($))Se.isCollapsed===re&&ge.push(Se);(re||!ve||ge.length===0)&&ge.push($)}te.toggleCollapseState(ge),this.reveal({lineNumber:q,column:1})}}}reveal(ue){this.editor.revealPositionInCenterIfOutsideViewport(ue,0)}};e.FoldingController=T,T.ID="editor.contrib.folding",e.FoldingController=T=P=ke([fe(1,r.IContextKeyService),fe(2,n.ILanguageConfigurationService),fe(3,l.INotificationService),fe(4,p.ILanguageFeatureDebounceService),fe(5,v.ILanguageFeaturesService)],T);class A{constructor(ue){this.editor=ue,this._onDidChange=new b.Emitter,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(46)}update(ue,te){(ue!==this._computed||te!==this._limited)&&(this._computed=ue,this._limited=te,this._onDidChange.fire())}}e.RangesLimitReporter=A;class N extends C.EditorAction{runEditorCommand(ue,te,q){const z=ue.get(n.ILanguageConfigurationService),ee=T.get(te);if(!ee)return;const $=ee.getFoldingModel();if($)return this.reportTelemetry(ue,te),$.then(re=>{if(re){this.invoke(ee,re,te,q,z);const oe=te.getSelection();oe&&ee.reveal(oe.getStartPosition())}})}getSelectedLines(ue){const te=ue.getSelections();return te?te.map(q=>q.startLineNumber):[]}getLineNumbers(ue,te){return ue&&ue.selectionLines?ue.selectionLines.map(q=>q+1):this.getSelectedLines(te)}run(ue,te){}}function F(he){if(!_.isUndefined(he)){if(!_.isObject(he))return!1;const ue=he;if(!_.isUndefined(ue.levels)&&!_.isNumber(ue.levels)||!_.isUndefined(ue.direction)&&!_.isString(ue.direction)||!_.isUndefined(ue.selectionLines)&&(!Array.isArray(ue.selectionLines)||!ue.selectionLines.every(_.isNumber)))return!1}return!0}class O extends N{constructor(){super({id:"editor.unfold",label:h.localize(0,null),alias:"Unfold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to unfold. If not set, defaults to 1. - * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=z&&z.levels||1,$=this.getLineNumbers(z,q);z&&z.direction==="up"?(0,t.setCollapseStateLevelsUp)(te,!1,ee,$):(0,t.setCollapseStateLevelsDown)(te,!1,ee,$)}}class W extends N{constructor(){super({id:"editor.unfoldRecursively",label:h.localize(1,null),alias:"Unfold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2142),weight:100}})}invoke(ue,te,q,z){(0,t.setCollapseStateLevelsDown)(te,!1,Number.MAX_VALUE,this.getSelectedLines(q))}}class U extends N{constructor(){super({id:"editor.fold",label:h.localize(2,null),alias:"Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to fold. - * 'direction': If 'up', folds given number of levels up otherwise folds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. - If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=this.getLineNumbers(z,q),$=z&&z.levels,re=z&&z.direction;typeof $!="number"&&typeof re!="string"?(0,t.setCollapseStateUp)(te,!0,ee):re==="up"?(0,t.setCollapseStateLevelsUp)(te,!0,$||1,ee):(0,t.setCollapseStateLevelsDown)(te,!0,$||1,ee)}}class j extends N{constructor(){super({id:"editor.toggleFold",label:h.localize(3,null),alias:"Toggle Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2090),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.toggleCollapseState)(te,1,z)}}class R extends N{constructor(){super({id:"editor.foldRecursively",label:h.localize(4,null),alias:"Fold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2140),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateLevelsDown)(te,!0,Number.MAX_VALUE,z)}}class K extends N{constructor(){super({id:"editor.foldAllBlockComments",label:h.localize(5,null),alias:"Fold All Block Comments",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2138),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Comment.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).comments;if(re&&re.blockCommentStartToken){const oe=new RegExp("^\\s*"+(0,f.escapeRegExpCharacters)(re.blockCommentStartToken));(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class G extends N{constructor(){super({id:"editor.foldAllMarkerRegions",label:h.localize(6,null),alias:"Fold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2077),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class Z extends N{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:h.localize(7,null),alias:"Unfold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2078),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!1);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!1)}}}}class J extends N{constructor(){super({id:"editor.foldAllExcept",label:h.localize(8,null),alias:"Fold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2136),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!0,z)}}class X extends N{constructor(){super({id:"editor.unfoldAllExcept",label:h.localize(9,null),alias:"Unfold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2134),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!1,z)}}class H extends N{constructor(){super({id:"editor.foldAll",label:h.localize(10,null),alias:"Fold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2069),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!0)}}class B extends N{constructor(){super({id:"editor.unfoldAll",label:h.localize(11,null),alias:"Unfold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2088),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!1)}}class V extends N{getFoldingLevel(){return parseInt(this.id.substr(V.ID_PREFIX.length))}invoke(ue,te,q){(0,t.setCollapseStateAtLevel)(te,this.getFoldingLevel(),!0,this.getSelectedLines(q))}}V.ID_PREFIX="editor.foldLevel",V.ID=he=>V.ID_PREFIX+he;class Y extends N{constructor(){super({id:"editor.gotoParentFold",label:h.localize(12,null),alias:"Go to Parent Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getParentFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ie extends N{constructor(){super({id:"editor.gotoPreviousFold",label:h.localize(13,null),alias:"Go to Previous Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getPreviousFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ae extends N{constructor(){super({id:"editor.gotoNextFold",label:h.localize(14,null),alias:"Go to Next Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getNextFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ce extends N{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:h.localize(15,null),alias:"Create Folding Range from Selection",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2135),weight:100}})}invoke(ue,te,q){var z;const ee=[],$=q.getSelections();if($){for(const re of $){let oe=re.endLineNumber;re.endColumn===1&&--oe,oe>re.startLineNumber&&(ee.push({startLineNumber:re.startLineNumber,endLineNumber:oe,type:void 0,isCollapsed:!0,source:1}),q.setSelection({startLineNumber:re.startLineNumber,startColumn:1,endLineNumber:re.startLineNumber,endColumn:1}))}if(ee.length>0){ee.sort((oe,ge)=>oe.startLineNumber-ge.startLineNumber);const re=o.FoldingRegions.sanitizeAndMerge(te.regions,ee,(z=q.getModel())===null||z===void 0?void 0:z.getLineCount());te.updatePost(o.FoldingRegions.fromFoldRanges(re))}}}}class de extends N{constructor(){super({id:"editor.removeManualFoldingRanges",label:h.localize(16,null),alias:"Remove Manual Folding Ranges",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2137),weight:100}})}invoke(ue,te,q){const z=q.getSelections();if(z){const ee=[];for(const $ of z){const{startLineNumber:re,endLineNumber:oe}=$;ee.push(oe>=re?{startLineNumber:re,endLineNumber:oe}:{endLineNumber:oe,startLineNumber:re})}te.removeManualRanges(ee),ue.triggerFoldingModelChanged()}}}(0,C.registerEditorContribution)(T.ID,T,0),(0,C.registerEditorAction)(O),(0,C.registerEditorAction)(W),(0,C.registerEditorAction)(U),(0,C.registerEditorAction)(R),(0,C.registerEditorAction)(H),(0,C.registerEditorAction)(B),(0,C.registerEditorAction)(K),(0,C.registerEditorAction)(G),(0,C.registerEditorAction)(Z),(0,C.registerEditorAction)(J),(0,C.registerEditorAction)(X),(0,C.registerEditorAction)(j),(0,C.registerEditorAction)(Y),(0,C.registerEditorAction)(ie),(0,C.registerEditorAction)(ae),(0,C.registerEditorAction)(ce),(0,C.registerEditorAction)(de);for(let he=1;he<=7;he++)(0,C.registerInstantiatedEditorAction)(new V({id:V.ID(he),label:h.localize(17,null,he),alias:`Fold Level ${he}`,precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2048|21+he),weight:100}}));w.CommandsRegistry.registerCommand("_executeFoldingRangeProvider",function(he,...ue){return we(this,void 0,void 0,function*(){const[te]=ue;if(!(te instanceof E.URI))throw(0,y.illegalArgument)();const q=he.get(v.ILanguageFeaturesService),z=he.get(I.IModelService).getModel(te);if(!z)throw(0,y.illegalArgument)();const ee=he.get(M.IConfigurationService);if(!ee.getValue("editor.folding",{resource:te}))return[];const $=he.get(n.ILanguageConfigurationService),re=ee.getValue("editor.foldingStrategy",{resource:te}),oe={get limit(){return ee.getValue("editor.foldingMaximumRegions",{resource:te})},update:(De,ye)=>{}},ge=new u.IndentRangeProvider(z,$,oe);let ve=ge;if(re!=="indentation"){const De=T.getFoldingRangeProviders(q,z);De.length&&(ve=new d.SyntaxRangeProvider(z,De,()=>{},oe,ge))}const Se=yield ve.compute(k.CancellationToken.None),Le=[];try{if(Se)for(let De=0;DeW.hoverOrdinal-U.hoverOrdinal),this._computer=new x(this._editor,this._participants),this._hoverOperation=this._register(new C.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(W=>{if(!this._computer.anchor)return;const U=W.hasLoadingMessage?this._addLoadingMessage(W.value):W.value;this._withResult(new m(this._computer.anchor,U,W.isComplete))})),this._register(L.addStandardDisposableListener(this._widget.getDomNode(),"keydown",W=>{W.equals(9)&&this.hide()})),this._register(g.TokenizationRegistry.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}get widget(){return this._widget}maybeShowAt(N){if(this._widget.isResizing)return!0;const F=[];for(const W of this._participants)if(W.suggestHoverAnchor){const U=W.suggestHoverAnchor(N);U&&F.push(U)}const O=N.target;if(O.type===6&&F.push(new s.HoverRangeAnchor(0,O.range,N.event.posx,N.event.posy)),O.type===7){const W=this._editor.getOption(49).typicalHalfwidthCharacterWidth/2;!O.detail.isAfterLines&&typeof O.detail.horizontalDistanceToText=="number"&&O.detail.horizontalDistanceToTextU.priority-W.priority),this._startShowingOrUpdateHover(F[0],0,0,!1,N))}startShowingAtRange(N,F,O,W){this._startShowingOrUpdateHover(new s.HoverRangeAnchor(0,N,void 0,void 0),F,O,W,null)}_startShowingOrUpdateHover(N,F,O,W,U){return!this._widget.position||!this._currentResult?N?(this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):!1:this._editor.getOption(59).sticky&&U&&this._widget.isMouseGettingCloser(U.event.posx,U.event.posy)?(N&&this._startHoverOperationIfNecessary(N,F,O,W,!0),!0):N?N&&this._currentResult.anchor.equals(N)?!0:N.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(N)),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(N,F,O,W,U){this._computer.anchor&&this._computer.anchor.equals(N)||(this._hoverOperation.cancel(),this._computer.anchor=N,this._computer.shouldFocus=W,this._computer.source=O,this._computer.insistOnKeepingHoverVisible=U,this._hoverOperation.start(F))}_setCurrentResult(N){this._currentResult!==N&&(N&&N.messages.length===0&&(N=null),this._currentResult=N,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}containsNode(N){return N?this._widget.getDomNode().contains(N):!1}_addLoadingMessage(N){if(this._computer.anchor){for(const F of this._participants)if(F.createLoadingMessage){const O=F.createLoadingMessage(this._computer.anchor);if(O)return N.slice(0).concat([O])}}return N}_withResult(N){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!N.isComplete||this._computer.insistOnKeepingHoverVisible&&N.messages.length===0)||this._setCurrentResult(N)}_renderMessages(N,F){const{showAtPosition:O,showAtSecondaryPosition:W,highlightRange:U}=o.computeHoverRanges(this._editor,N.range,F),j=new D.DisposableStore,R=j.add(new P(this._keybindingService)),K=document.createDocumentFragment();let G=null;const Z={fragment:K,statusBar:R,setColorPicker:X=>G=X,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:X=>this._widget.setMinimumDimensions(X),hide:()=>this.hide()};for(const X of this._participants){const H=F.filter(B=>B.owner===X);H.length>0&&j.add(X.renderHoverParts(Z,H))}const J=F.some(X=>X.isBeforeContent);if(R.hasContent&&K.appendChild(R.hoverElement),K.hasChildNodes()){if(U){const X=this._editor.createDecorationsCollection();X.set([{range:U,options:o._DECORATION_OPTIONS}]),j.add((0,D.toDisposable)(()=>{X.clear()}))}this._widget.showAt(K,new b(G,O,W,this._editor.getOption(59).above,this._computer.shouldFocus,this._computer.source,J,N.initialMousePosX,N.initialMousePosY,j))}else j.dispose()}static computeHoverRanges(N,F,O){let W=1;if(N.hasModel()){const G=N._getViewModel(),Z=G.coordinatesConverter,J=Z.convertModelRangeToViewRange(F),X=new S.Position(J.startLineNumber,G.getLineMinColumn(J.startLineNumber));W=Z.convertViewPositionToModelPosition(X).column}const U=F.startLineNumber;let j=F.startColumn,R=O[0].range,K=null;for(const G of O)R=f.Range.plusRange(R,G.range),G.range.startLineNumber===U&&G.range.endLineNumber===U&&(j=Math.max(Math.min(j,G.range.startColumn),W)),G.forceShowAtRange&&(K=G.range);return{showAtPosition:K?K.getStartPosition():new S.Position(U,F.startColumn),showAtSecondaryPosition:K?K.getStartPosition():new S.Position(U,j),highlightRange:R}}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}};e.ContentHoverController=p,p._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"content-hover-highlight",className:"hoverHighlight"}),e.ContentHoverController=p=o=ke([fe(1,i.IInstantiationService),fe(2,n.IKeybindingService)],p);class m{constructor(N,F,O){this.anchor=N,this.messages=F,this.isComplete=O}filter(N){const F=this.messages.filter(O=>O.isValidForHoverAnchor(N));return F.length===this.messages.length?this:new v(this,this.anchor,F,this.isComplete)}}class v extends m{constructor(N,F,O,W){super(F,O,W),this.original=N}filter(N){return this.original.filter(N)}}class b{constructor(N,F,O,W,U,j,R,K,G,Z){this.colorPicker=N,this.showAtPosition=F,this.showAtSecondaryPosition=O,this.preferAbove=W,this.stoleFocus=U,this.source=j,this.isBeforeContent=R,this.initialMousePosX=K,this.initialMousePosY=G,this.disposables=Z,this.closestMouseDistance=void 0}}const w=30,E=10,I=6;let M=d=class extends h.ResizableContentWidget{get isColorPickerVisible(){var N;return!!(!((N=this._visibleData)===null||N===void 0)&&N.colorPicker)}get isVisibleFromKeyboard(){var N;return((N=this._visibleData)===null||N===void 0?void 0:N.source)===1}get isVisible(){var N;return(N=this._hoverVisibleKey.get())!==null&&N!==void 0?N:!1}get isFocused(){var N;return(N=this._hoverFocusedKey.get())!==null&&N!==void 0?N:!1}constructor(N,F,O,W,U){const j=N.getOption(65)+8,R=150,K=new L.Dimension(R,j);super(N,K),this._configurationService=O,this._accessibilityService=W,this._keybindingService=U,this._hover=this._register(new k.HoverWidget),this._minimumSize=K,this._hoverVisibleKey=a.EditorContextKeys.hoverVisible.bindTo(F),this._hoverFocusedKey=a.EditorContextKeys.hoverFocused.bindTo(F),L.append(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(Z=>{Z.hasChanged(49)&&this._updateFont()}));const G=this._register(L.trackFocus(this._resizableNode.domNode));this._register(G.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(G.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._layout(),this._editor.addContentWidget(this)}dispose(){var N;super.dispose(),(N=this._visibleData)===null||N===void 0||N.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return d.ID}static _applyDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.width=W,N.style.height=U}_setContentsDomNodeDimensions(N,F){const O=this._hover.contentsDomNode;return d._applyDimensions(O,N,F)}_setContainerDomNodeDimensions(N,F){const O=this._hover.containerDomNode;return d._applyDimensions(O,N,F)}_setHoverWidgetDimensions(N,F){this._setContentsDomNodeDimensions(N,F),this._setContainerDomNodeDimensions(N,F),this._layoutContentWidget()}static _applyMaxDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.maxWidth=W,N.style.maxHeight=U}_setHoverWidgetMaxDimensions(N,F){d._applyMaxDimensions(this._hover.contentsDomNode,N,F),d._applyMaxDimensions(this._hover.containerDomNode,N,F),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof N=="number"?`${N}px`:N),this._layoutContentWidget()}_hasHorizontalScrollbar(){const N=this._hover.scrollbar.getScrollDimensions();return N.scrollWidth>N.width}_adjustContentsBottomPadding(){const N=this._hover.contentsDomNode,F=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;N.style.paddingBottom!==F&&(N.style.paddingBottom=F)}_setAdjustedHoverWidgetDimensions(N){this._setHoverWidgetMaxDimensions("none","none");const F=N.width,O=N.height;this._setHoverWidgetDimensions(F,O),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(F,O-E))}_updateResizableNodeMaxDimensions(){var N,F;const O=(N=this._findMaximumRenderingWidth())!==null&&N!==void 0?N:1/0,W=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._resizableNode.maxSize=new L.Dimension(O,W),this._setHoverWidgetMaxDimensions(O,W)}_resize(N){var F,O;d._lastDimensions=new L.Dimension(N.width,N.height),this._setAdjustedHoverWidgetDimensions(N),this._resizableNode.layout(N.height,N.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(O=(F=this._visibleData)===null||F===void 0?void 0:F.colorPicker)===null||O===void 0||O.layout()}_findAvailableSpaceVertically(){var N;const F=(N=this._visibleData)===null||N===void 0?void 0:N.showAtPosition;if(F)return this._positionPreference===1?this._availableVerticalSpaceAbove(F):this._availableVerticalSpaceBelow(F)}_findMaximumRenderingHeight(){const N=this._findAvailableSpaceVertically();if(!N)return;let F=I;return Array.from(this._hover.contentsDomNode.children).forEach(O=>{F+=O.clientHeight}),this._hasHorizontalScrollbar()&&(F+=E),Math.min(N,F)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const N=Array.from(this._hover.contentsDomNode.children).some(F=>F.scrollWidth>F.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),N}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const N=this._isHoverTextOverflowing(),F=typeof this._contentWidth>"u"?0:this._contentWidth-2;return N||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=N,this._visibleData.initialMousePosY=F,!1;const O=L.getDomNodePagePosition(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=T(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,O.left,O.top,O.width,O.height));const W=T(N,F,O.left,O.top,O.width,O.height);return W>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,W),!0)}_setHoverData(N){var F;(F=this._visibleData)===null||F===void 0||F.disposables.dispose(),this._visibleData=N,this._hoverVisibleKey.set(!!N),this._hover.containerDomNode.classList.toggle("hidden",!N)}_layout(){const{fontSize:N,lineHeight:F}=this._editor.getOption(49),O=this._hover.contentsDomNode;O.style.fontSize=`${N}px`,O.style.lineHeight=`${F/N}`,this._updateMaxDimensions()}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(F=>this._editor.applyFontInfo(F))}_updateContent(N){const F=this._hover.contentsDomNode;F.style.paddingBottom="",F.textContent="",F.appendChild(N)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const N=Math.max(this._editor.getLayoutInfo().height/4,250,d._lastDimensions.height),F=Math.max(this._editor.getLayoutInfo().width*.66,500,d._lastDimensions.width);this._setHoverWidgetMaxDimensions(F,N)}_render(N,F){this._setHoverData(F),this._updateFont(),this._updateContent(N),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var N;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(N=this._positionPreference)!==null&&N!==void 0?N:1]}:null}showAt(N,F){var O,W,U,j;if(!this._editor||!this._editor.hasModel())return;this._render(N,F);const R=L.getTotalHeight(this._hover.containerDomNode),K=F.showAtPosition;this._positionPreference=(O=this._findPositionPreference(R,K))!==null&&O!==void 0?O:1,this.onContentsChanged(),F.stoleFocus&&this._hover.containerDomNode.focus(),(W=F.colorPicker)===null||W===void 0||W.layout();const G=(0,k.getHoverAccessibleViewHint)(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(j=(U=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||U===void 0?void 0:U.getAriaLabel())!==null&&j!==void 0?j:"");G&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+G)}hide(){if(!this._visibleData)return;const N=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new L.Dimension(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),N&&this._editor.focus()}_removeConstraintsRenderNormally(){const N=this._editor.getLayoutInfo();this._resizableNode.layout(N.height,N.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(N){var F;const O=this._hover.containerDomNode,W=this._hover.contentsDomNode,U=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._setContainerDomNodeDimensions(L.getTotalWidth(O),Math.min(U,N)),this._setContentsDomNodeDimensions(L.getTotalWidth(W),Math.min(U,N-E))}setMinimumDimensions(N){this._minimumSize=new L.Dimension(Math.max(this._minimumSize.width,N.width),Math.max(this._minimumSize.height,N.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const N=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new L.Dimension(N,this._minimumSize.height)}onContentsChanged(){var N;this._removeConstraintsRenderNormally();const F=this._hover.containerDomNode;let O=L.getTotalHeight(F),W=L.getTotalWidth(F);if(this._resizableNode.layout(O,W),this._setHoverWidgetDimensions(W,O),O=L.getTotalHeight(F),W=L.getTotalWidth(F),this._contentWidth=W,this._updateMinimumWidth(),this._resizableNode.layout(O,W),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(O)),!((N=this._visibleData)===null||N===void 0)&&N.showAtPosition){const U=L.getTotalHeight(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(U,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N-F.lineHeight})}scrollDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N+F.lineHeight})}scrollLeft(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N-w})}scrollRight(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N+w})}pageUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N-F})}pageDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N+F})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};e.ContentHoverWidget=M,M.ID="editor.contrib.resizableContentHoverWidget",M._lastDimensions=new L.Dimension(0,0),e.ContentHoverWidget=M=d=ke([fe(1,u.IContextKeyService),fe(2,r.IConfigurationService),fe(3,c.IAccessibilityService),fe(4,n.IKeybindingService)],M);let P=class extends D.Disposable{get hasContent(){return this._hasContent}constructor(N){super(),this._keybindingService=N,this._hasContent=!1,this.hoverElement=l("div.hover-row.status-bar"),this.actionsElement=L.append(this.hoverElement,l("div.actions"))}addAction(N){const F=this._keybindingService.lookupKeybinding(N.commandId),O=F?F.getLabel():null;return this._hasContent=!0,this._register(k.HoverAction.render(this.actionsElement,N,O))}append(N){const F=L.append(this.actionsElement,N);return this._hasContent=!0,F}};e.EditorHoverStatusBar=P,e.EditorHoverStatusBar=P=ke([fe(0,n.IKeybindingService)],P);class x{get anchor(){return this._anchor}set anchor(N){this._anchor=N}get shouldFocus(){return this._shouldFocus}set shouldFocus(N){this._shouldFocus=N}get source(){return this._source}set source(N){this._source=N}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(N){this._insistOnKeepingHoverVisible=N}constructor(N,F){this._editor=N,this._participants=F,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(N,F){if(F.type!==1&&!F.supportsMarkerHover)return[];const O=N.getModel(),W=F.range.startLineNumber;if(W>O.getLineCount())return[];const U=O.getLineMaxColumn(W);return N.getLineDecorations(W).filter(j=>{if(j.options.isWholeLine)return!0;const R=j.range.startLineNumber===W?j.range.startColumn:1,K=j.range.endLineNumber===W?j.range.endColumn:U;if(j.options.showIfCollapsed){if(R>F.range.startColumn+1||F.range.endColumn-1>K)return!1}else if(R>F.range.startColumn||F.range.endColumn>K)return!1;return!0})}computeAsync(N){const F=this._anchor;if(!this._editor.hasModel()||!F)return t.AsyncIterableObject.EMPTY;const O=x._getLineDecorations(this._editor,F);return t.AsyncIterableObject.merge(this._participants.map(W=>W.computeAsync?W.computeAsync(F,O,N):t.AsyncIterableObject.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const N=x._getLineDecorations(this._editor,this._anchor);let F=[];for(const O of this._participants)F=F.concat(O.computeSync(this._anchor,N));return(0,y.coalesce)(F)}}function T(A,N,F,O,W,U){const j=F+W/2,R=O+U/2,K=Math.max(Math.abs(A-j)-W/2,0),G=Math.max(Math.abs(N-R)-U/2,0);return Math.sqrt(K*K+G*G)}}),define(ne[885],se([1,0,2,364,8,367,34,6,18,16,21,15,51,32,342,7,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerWidget=e.StandaloneColorPickerController=void 0;let r=u=class extends L.Disposable{constructor(m,v,b,w,E,I,M){super(),this._editor=m,this._modelService=b,this._keybindingService=w,this._instantiationService=E,this._languageFeatureService=I,this._languageConfigurationService=M,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=C.EditorContextKeys.standaloneColorPickerVisible.bindTo(v),this._standaloneColorPickerFocused=C.EditorContextKeys.standaloneColorPickerFocused.bindTo(v)}showOrFocus(){var m;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(m=this._standaloneColorPickerWidget)===null||m===void 0||m.focus():this._standaloneColorPickerWidget=new d(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var m;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(m=this._standaloneColorPickerWidget)===null||m===void 0||m.hide(),this._editor.focus()}insertColor(){var m;(m=this._standaloneColorPickerWidget)===null||m===void 0||m.updateEditor(),this.hide()}static get(m){return m.getContribution(u.ID)}};e.StandaloneColorPickerController=r,r.ID="editor.contrib.standaloneColorPickerController",e.StandaloneColorPickerController=r=u=ke([fe(1,s.IContextKeyService),fe(2,i.IModelService),fe(3,S.IKeybindingService),fe(4,y.IInstantiationService),fe(5,_.ILanguageFeaturesService),fe(6,n.ILanguageConfigurationService)],r),(0,g.registerEditorContribution)(r.ID,r,1);const c=8,o=22;let d=h=class extends L.Disposable{constructor(m,v,b,w,E,I,M,P){var x;super(),this._editor=m,this._standaloneColorPickerVisible=v,this._standaloneColorPickerFocused=b,this._modelService=E,this._keybindingService=I,this._languageFeaturesService=M,this._languageConfigurationService=P,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new f.Emitter),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=w.createInstance(k.StandaloneColorPickerParticipant,this._editor),this._position=(x=this._editor._getViewModel())===null||x===void 0?void 0:x.getPrimaryCursorState().modelState.position;const T=this._editor.getSelection(),A=T?{startLineNumber:T.startLineNumber,startColumn:T.startColumn,endLineNumber:T.endLineNumber,endColumn:T.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},N=this._register(a.trackFocus(this._body));this._register(N.onDidBlur(F=>{this.hide()})),this._register(N.onDidFocus(F=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(F=>{var O;const W=(O=F.target.element)===null||O===void 0?void 0:O.classList;W&&W.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(F=>{this._render(F.value,F.foundInEditor)})),this._start(A),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return h.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const m=this._editor.getOption(59).above;return{position:this._position,secondaryPosition:this._position,preference:m?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}_start(m){return we(this,void 0,void 0,function*(){const v=yield this._computeAsync(m);v&&this._onResult.fire(new l(v.result,v.foundInEditor))})}_computeAsync(m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return null;const v={range:m,color:{red:0,green:0,blue:0,alpha:1}},b=yield this._standaloneColorPickerParticipant.createColorHover(v,new t.DefaultDocumentColorProvider(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return b?{result:b.colorHover,foundInEditor:b.foundInEditor}:null})}_render(m,v){const b=document.createDocumentFragment(),w=this._register(new D.EditorHoverStatusBar(this._keybindingService));let E;const I={fragment:b,statusBar:w,setColorPicker:W=>E=W,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=m,this._register(this._standaloneColorPickerParticipant.renderHoverParts(I,[m])),E===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(b),E.layout();const M=E.body,P=M.saturationBox.domNode.clientWidth,x=M.domNode.clientWidth-P-o-c,T=E.body.enterButton;T?.onClicked(()=>{this.updateEditor(),this.hide()});const A=E.header,N=A.pickedColorNode;N.style.width=P+c+"px";const F=A.originalColorNode;F.style.width=x+"px";const O=E.header.closeButton;O?.onClicked(()=>{this.hide()}),v&&(T&&(T.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(m.range)),this._editor.layoutContentWidget(this)}};e.StandaloneColorPickerWidget=d,d.ID="editor.contrib.standaloneColorPickerWidget",e.StandaloneColorPickerWidget=d=h=ke([fe(3,y.IInstantiationService),fe(4,i.IModelService),fe(5,S.IKeybindingService),fe(6,_.ILanguageFeaturesService),fe(7,n.ILanguageConfigurationService)],d);class l{constructor(m,v){this.value=m,this.foundInEditor=v}}}),define(ne[886],se([1,0,16,645,885,21,30,199]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowOrFocusStandaloneColorPicker=void 0;class f extends L.EditorAction2{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Show or Focus Standalone Color Picker"},precondition:void 0,menu:[{id:S.MenuId.CommandPalette}]})}runEditorCommand(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.showOrFocus()}}e.ShowOrFocusStandaloneColorPicker=f;class _ extends L.EditorAction{constructor(){super({id:"editor.action.hideColorPicker",label:(0,k.localize)(2,null),alias:"Hide the Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.hide()}}class g extends L.EditorAction{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,k.localize)(3,null),alias:"Insert Color with Standalone Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.insertColor()}}(0,L.registerEditorAction)(_),(0,L.registerEditorAction)(g),(0,S.registerAction2)(f)}),define(ne[887],se([1,0,13,9,104,16,5,24,21,40,115,674,544,449]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});let t=n=class{static get(r){return r.getContribution(n.ID)}constructor(r,c){this.editor=r,this.editorWorkerService=c,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(r,c){var o;(o=this.currentRequest)===null||o===void 0||o.cancel();const d=this.editor.getSelection(),l=this.editor.getModel();if(!l||!d)return;let p=d;if(p.startLineNumber!==p.endLineNumber)return;const m=new y.EditorState(this.editor,5),v=l.uri;return this.editorWorkerService.canNavigateValueSet(v)?(this.currentRequest=(0,L.createCancelablePromise)(b=>this.editorWorkerService.navigateValueSet(v,p,c)),this.currentRequest.then(b=>{var w;if(!b||!b.range||!b.value||!m.validate(this.editor))return;const E=S.Range.lift(b.range);let I=b.range;const M=b.value.length-(p.endColumn-p.startColumn);I={startLineNumber:I.startLineNumber,startColumn:I.startColumn,endLineNumber:I.endLineNumber,endColumn:I.startColumn+b.value.length},M>1&&(p=new f.Selection(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+M-1));const P=new i.InPlaceReplaceCommand(E,p,b.value);this.editor.pushUndoStop(),this.editor.executeCommand(r,P),this.editor.pushUndoStop(),this.decorations.set([{range:I,options:n.DECORATION}]),(w=this.decorationRemover)===null||w===void 0||w.cancel(),this.decorationRemover=(0,L.timeout)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(k.onUnexpectedError)}).catch(k.onUnexpectedError)):Promise.resolve(void 0)}};t.ID="editor.contrib.inPlaceReplaceController",t.DECORATION=g.ModelDecorationOptions.register({description:"in-place-replace",className:"valueSetReplacement"}),t=n=ke([fe(1,C.IEditorWorkerService)],t);class a extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.up",label:s.localize(0,null),alias:"Replace with Previous Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3159,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!1):Promise.resolve(void 0)}}class u extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.down",label:s.localize(1,null),alias:"Replace with Next Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3161,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!0):Promise.resolve(void 0)}}(0,D.registerEditorContribution)(t.ID,t,4),(0,D.registerEditorAction)(a),(0,D.registerEditorAction)(u)}),define(ne[256],se([1,0,7,13,25,2,11,26,5,40,8,452]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineProgressManager=void 0;const s=g.ModelDecorationOptions.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:S.noBreakWhitespace,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class i extends D.Disposable{constructor(a,u,h,r,c){super(),this.typeId=a,this.editor=u,this.range=h,this.delegate=c,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(r),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(a){this.domNode=L.$(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=a;const u=L.$("span.icon");this.domNode.append(u),u.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.loading),"codicon-modifier-spin");const h=()=>{const r=this.editor.getOption(65);this.domNode.style.height=`${r}px`,this.domNode.style.width=`${Math.ceil(.8*r)}px`};h(),this._register(this.editor.onDidChangeConfiguration(r=>{(r.hasChanged(51)||r.hasChanged(65))&&h()})),this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,r=>{this.delegate.cancel()}))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}i.baseId="editor.widget.inlineProgressWidget";let n=class extends D.Disposable{constructor(a,u,h){super(),this.id=a,this._editor=u,this._instantiationService=h,this._showDelay=500,this._showPromise=this._register(new D.MutableDisposable),this._currentWidget=new D.MutableDisposable,this._operationIdPool=0,this._currentDecorations=u.createDecorationsCollection()}showWhile(a,u,h){return we(this,void 0,void 0,function*(){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=(0,k.disposableTimeout)(()=>{const c=_.Range.fromPositions(a);this._currentDecorations.set([{range:c,options:s}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(i,this.id,this._editor,c,u,h))},this._showDelay);try{return yield h}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}})}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};e.InlineProgressManager=n,e.InlineProgressManager=n=ke([fe(2,C.IInstantiationService)],n)}),define(ne[888],se([1,0,7,14,13,171,2,107,17,170,185,341,132,5,18,331,104,256,650,96,15,8,77,71,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.CopyPasteController=e.pasteWidgetVisibleCtx=e.changePasteTypeCommandId=void 0,e.changePasteTypeCommandId="editor.changePasteType",e.pasteWidgetVisibleCtx=new o.RawContextKey("pasteWidgetVisible",!1,(0,r.localize)(0,null));const b="application/vnd.code.copyMetadata";let w=v=class extends S.Disposable{static get(M){return M.getContribution(v.ID)}constructor(M,P,x,T,A,N,F){super(),this._bulkEditService=x,this._clipboardService=T,this._languageFeaturesService=A,this._quickInputService=N,this._progressService=F,this._editor=M;const O=M.getContainerDomNode();this._register((0,L.addDisposableListener)(O,"copy",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"cut",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"paste",W=>this.handlePaste(W),!0)),this._pasteProgressManager=this._register(new h.InlineProgressManager("pasteIntoEditor",M,P)),this._postPasteWidgetManager=this._register(P.createInstance(m.PostEditWidgetManager,"pasteIntoEditor",M,e.pasteWidgetVisibleCtx,{id:e.changePasteTypeCommandId,label:(0,r.localize)(1,null)}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(M){this._editor.focus();try{this._pasteAsActionContext={preferredId:M},document.execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(83).enabled&&!this._editor.getOption(89)}handleCopy(M){var P,x;if(!this._editor.hasTextFocus()||(_.isWeb&&this._clipboardService.writeResources([]),!M.clipboardData||!this.isPasteAsEnabled()))return;const T=this._editor.getModel(),A=this._editor.getSelections();if(!T||!A?.length)return;const N=this._editor.getOption(36);let F=A;const O=A.length===1&&A[0].isEmpty();if(O){if(!N)return;F=[new n.Range(F[0].startLineNumber,1,F[0].startLineNumber,1+T.getLineLength(F[0].startLineNumber))]}const W=(P=this._editor._getViewModel())===null||P===void 0?void 0:P.getPlainTextToCopy(A,N,_.isWindows),j={multicursorText:Array.isArray(W)?W:null,pasteOnNewLine:O,mode:null},R=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(X=>!!X.prepareDocumentPaste);if(!R.length){this.setCopyMetadata(M.clipboardData,{defaultPastePayload:j});return}const K=(0,s.toVSDataTransfer)(M.clipboardData),G=R.flatMap(X=>{var H;return(H=X.copyMimeTypes)!==null&&H!==void 0?H:[]}),Z=(0,g.generateUuid)();this.setCopyMetadata(M.clipboardData,{id:Z,providerCopyMimeTypes:G,defaultPastePayload:j});const J=(0,y.createCancelablePromise)(X=>we(this,void 0,void 0,function*(){const H=(0,k.coalesce)(yield Promise.all(R.map(B=>we(this,void 0,void 0,function*(){try{return yield B.prepareDocumentPaste(T,F,K,X)}catch(V){console.error(V);return}}))));H.reverse();for(const B of H)for(const[V,Y]of B)K.replace(V,Y);return K}));(x=this._currentCopyOperation)===null||x===void 0||x.dataTransferPromise.cancel(),this._currentCopyOperation={handle:Z,dataTransferPromise:J}}handlePaste(M){var P,x;return we(this,void 0,void 0,function*(){if(!M.clipboardData||!this._editor.hasTextFocus())return;(P=this._currentPasteOperation)===null||P===void 0||P.cancel(),this._currentPasteOperation=void 0;const T=this._editor.getModel(),A=this._editor.getSelections();if(!A?.length||!T||!this.isPasteAsEnabled())return;const N=this.fetchCopyMetadata(M),F=(0,s.toExternalVSDataTransfer)(M.clipboardData);F.delete(b);const O=[...M.clipboardData.types,...(x=N?.providerCopyMimeTypes)!==null&&x!==void 0?x:[],f.Mimes.uriList],W=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(U=>{var j;return(j=U.pasteMimeTypes)===null||j===void 0?void 0:j.some(R=>(0,D.matchesMimeType)(R,O))});W.length&&(M.preventDefault(),M.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,W,A,F,N):this.doPasteInline(W,A,F,N))})}doPasteInline(M,P,x,T){const A=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=this._editor;if(!F.hasModel())return;const O=F.getModel(),W=new u.EditorStateCancellationTokenSource(F,3,void 0,N);try{if(yield this.mergeInDataFromCopy(x,T,W.token),W.token.isCancellationRequested)return;const U=M.filter(R=>E(R,x));if(!U.length||U.length===1&&U[0].id==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}const j=yield this.getPasteEdits(U,x,O,P,W.token);if(W.token.isCancellationRequested)return;if(j.length===1&&j[0].providerId==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}if(j.length){const R=F.getOption(83).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(P,{activeEditIndex:0,allEdits:j},R,W.token)}yield this.applyDefaultPasteHandler(x,T,W.token)}finally{W.dispose(),this._currentPasteOperation===A&&(this._currentPasteOperation=void 0)}}));this._pasteProgressManager.showWhile(P[0].getEndPosition(),(0,r.localize)(2,null),A),this._currentPasteOperation=A}showPasteAsPick(M,P,x,T,A){const N=(0,y.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){const O=this._editor;if(!O.hasModel())return;const W=O.getModel(),U=new u.EditorStateCancellationTokenSource(O,3,void 0,F);try{if(yield this.mergeInDataFromCopy(T,A,U.token),U.token.isCancellationRequested)return;let j=P.filter(Z=>E(Z,T));M&&(j=j.filter(Z=>Z.id===M));const R=yield this.getPasteEdits(j,T,W,x,U.token);if(U.token.isCancellationRequested||!R.length)return;let K;if(M)K=R.at(0);else{const Z=yield this._quickInputService.pick(R.map(J=>({label:J.label,description:J.providerId,detail:J.detail,edit:J})),{placeHolder:(0,r.localize)(3,null)});K=Z?.edit}if(!K)return;const G=(0,a.createCombinedWorkspaceEdit)(W.uri,x,K);yield this._bulkEditService.apply(G,{editor:this._editor})}finally{U.dispose(),this._currentPasteOperation===N&&(this._currentPasteOperation=void 0)}}));this._progressService.withProgress({location:10,title:(0,r.localize)(4,null)},()=>N)}setCopyMetadata(M,P){M.setData(b,JSON.stringify(P))}fetchCopyMetadata(M){var P;if(!M.clipboardData)return;const x=M.clipboardData.getData(b);if(x)try{return JSON.parse(x)}catch{return}const[T,A]=C.ClipboardEventUtils.getTextData(M.clipboardData);if(A)return{defaultPastePayload:{mode:A.mode,multicursorText:(P=A.multicursorText)!==null&&P!==void 0?P:null,pasteOnNewLine:!!A.isFromEmptySelection}}}mergeInDataFromCopy(M,P,x){var T;return we(this,void 0,void 0,function*(){if(P?.id&&((T=this._currentCopyOperation)===null||T===void 0?void 0:T.handle)===P.id){const A=yield this._currentCopyOperation.dataTransferPromise;if(x.isCancellationRequested)return;for(const[N,F]of A)M.replace(N,F)}if(!M.has(f.Mimes.uriList)){const A=yield this._clipboardService.readResources();if(x.isCancellationRequested)return;A.length&&M.append(f.Mimes.uriList,(0,D.createStringDataTransferItem)(D.UriList.create(A)))}})}getPasteEdits(M,P,x,T,A){return we(this,void 0,void 0,function*(){const N=yield(0,y.raceCancellation)(Promise.all(M.map(O=>we(this,void 0,void 0,function*(){var W;try{const U=yield(W=O.provideDocumentPasteEdits)===null||W===void 0?void 0:W.call(O,x,T,P,A);if(U)return Object.assign(Object.assign({},U),{providerId:O.id})}catch(U){console.error(U)}}))),A),F=(0,k.coalesce)(N??[]);return(0,a.sortEditsByYieldTo)(F),F})}applyDefaultPasteHandler(M,P,x){var T,A,N;return we(this,void 0,void 0,function*(){const F=(T=M.get(f.Mimes.text))!==null&&T!==void 0?T:M.get("text");if(!F)return;const O=yield F.asString();if(x.isCancellationRequested)return;const W={text:O,pasteOnNewLine:(A=P?.defaultPastePayload.pasteOnNewLine)!==null&&A!==void 0?A:!1,multicursorText:(N=P?.defaultPastePayload.multicursorText)!==null&&N!==void 0?N:null,mode:null};this._editor.trigger("keyboard","paste",W)})}};e.CopyPasteController=w,w.ID="editor.contrib.copyPasteActionController",e.CopyPasteController=w=v=ke([fe(1,d.IInstantiationService),fe(2,i.IBulkEditService),fe(3,c.IClipboardService),fe(4,t.ILanguageFeaturesService),fe(5,p.IQuickInputService),fe(6,l.IProgressService)],w);function E(I,M){var P;return!!(!((P=I.pasteMimeTypes)===null||P===void 0)&&P.some(x=>M.matches(x)))}}),define(ne[889],se([1,0,14,13,171,2,341,5,18,285,749,104,256,653,28,15,340,8,331,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.DropIntoEditorController=e.dropWidgetVisibleCtx=e.changeDropTypeCommandId=e.defaultProviderConfig=void 0,e.defaultProviderConfig="editor.experimental.dropIntoEditor.defaultProvider",e.changeDropTypeCommandId="editor.changeDropType",e.dropWidgetVisibleCtx=new a.RawContextKey("dropWidgetVisible",!1,(0,n.localize)(0,null));let d=o=class extends D.Disposable{static get(p){return p.getContribution(o.ID)}constructor(p,m,v,b,w){super(),this._configService=v,this._languageFeaturesService=b,this._treeViewsDragAndDropService=w,this.treeItemsTransfer=u.LocalSelectionTransfer.getInstance(),this._dropProgressManager=this._register(m.createInstance(i.InlineProgressManager,"dropIntoEditor",p)),this._postDropWidgetManager=this._register(m.createInstance(c.PostEditWidgetManager,"dropIntoEditor",p,e.dropWidgetVisibleCtx,{id:e.changeDropTypeCommandId,label:(0,n.localize)(1,null)})),this._register(p.onDropIntoEditor(E=>this.onDropIntoEditor(p,E.position,E.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}onDropIntoEditor(p,m,v){var b;return we(this,void 0,void 0,function*(){if(!v.dataTransfer||!p.hasModel())return;(b=this._currentOperation)===null||b===void 0||b.cancel(),p.focus(),p.setPosition(m);const w=(0,k.createCancelablePromise)(E=>we(this,void 0,void 0,function*(){const I=new s.EditorStateCancellationTokenSource(p,1,void 0,E);try{const M=yield this.extractDataTransferData(v);if(M.size===0||I.token.isCancellationRequested)return;const P=p.getModel();if(!P)return;const x=this._languageFeaturesService.documentOnDropEditProvider.ordered(P).filter(A=>A.dropMimeTypes?A.dropMimeTypes.some(N=>M.matches(N)):!0),T=yield this.getDropEdits(x,P,m,M,I);if(I.token.isCancellationRequested)return;if(T.length){const A=this.getInitialActiveEditIndex(P,T),N=p.getOption(35).showDropSelector==="afterDrop";yield this._postDropWidgetManager.applyEditAndShowIfNeeded([f.Range.fromPositions(m)],{activeEditIndex:A,allEdits:T},N,E)}}finally{I.dispose(),this._currentOperation===w&&(this._currentOperation=void 0)}}));this._dropProgressManager.showWhile(m,(0,n.localize)(2,null),w),this._currentOperation=w})}getDropEdits(p,m,v,b,w){return we(this,void 0,void 0,function*(){const E=yield(0,k.raceCancellation)(Promise.all(p.map(M=>we(this,void 0,void 0,function*(){try{const P=yield M.provideDocumentOnDropEdits(m,v,b,w.token);if(P)return Object.assign(Object.assign({},P),{providerId:M.id})}catch(P){console.error(P)}}))),w.token),I=(0,L.coalesce)(E??[]);return(0,r.sortEditsByYieldTo)(I)})}getInitialActiveEditIndex(p,m){const v=this._configService.getValue(e.defaultProviderConfig,{resource:p.uri});for(const[b,w]of Object.entries(v)){const E=m.findIndex(I=>w===I.providerId&&I.handledMimeType&&(0,y.matchesMimeType)(b,[I.handledMimeType]));if(E>=0)return E}return 0}extractDataTransferData(p){return we(this,void 0,void 0,function*(){if(!p.dataTransfer)return new y.VSDataTransfer;const m=(0,S.toExternalVSDataTransfer)(p.dataTransfer);if(this.treeItemsTransfer.hasData(g.DraggedTreeItemsIdentifier.prototype)){const v=this.treeItemsTransfer.getData(g.DraggedTreeItemsIdentifier.prototype);if(Array.isArray(v))for(const b of v){const w=yield this._treeViewsDragAndDropService.removeDragOperationTransfer(b.identifier);if(w)for(const[E,I]of w)m.replace(E,I)}}return m})}};e.DropIntoEditorController=d,d.ID="editor.contrib.dropIntoEditorController",e.DropIntoEditorController=d=o=ke([fe(1,h.IInstantiationService),fe(2,t.IConfigurationService),fe(3,_.ILanguageFeaturesService),fe(4,C.ITreeViewsDnDService)],d)}),define(ne[890],se([1,0,14,13,19,38,9,6,2,11,22,16,33,12,5,21,40,32,684,15,18,31,76,58,453]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.editorLinkedEditingBackground=e.LinkedEditingAction=e.LinkedEditingContribution=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=new c.RawContextKey("LinkedEditingInputVisible",!1);const v="linked-editing-decoration";let b=m=class extends _.Disposable{static get(P){return P.getContribution(m.ID)}constructor(P,x,T,A,N){super(),this.languageConfigurationService=A,this._syncRangesToken=0,this._localToDispose=this._register(new _.DisposableStore),this._editor=P,this._providers=T.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE.bindTo(x),this._debounceInformation=N.for(this._providers,"Linked Editing",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new _.DisposableStore),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(F=>{(F.hasChanged(68)||F.hasChanged(91))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(P){const x=this._editor.getModel(),T=x!==null&&(this._editor.getOption(68)||this._editor.getOption(91))&&this._providers.has(x);if(T===this._enabled&&!P||(this._enabled=T,this.clearRanges(),this._localToDispose.clear(),!T||x===null))return;this._localToDispose.add(f.Event.runAndSubscribe(x.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition()}));const A=new k.Delayer(this._debounceInformation.get(x)),N=()=>{var W;this._rangeUpdateTriggerPromise=A.trigger(()=>this.updateRanges(),(W=this._debounceDuration)!==null&&W!==void 0?W:this._debounceInformation.get(x))},F=new k.Delayer(0),O=W=>{this._rangeSyncTriggerPromise=F.trigger(()=>this._syncRanges(W))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{N()})),this._localToDispose.add(this._editor.onDidChangeModelContent(W=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const U=this._currentDecorations.getRange(0);if(U&&W.changes.every(j=>U.intersectRanges(j.range))){O(this._syncRangesToken);return}}N()})),this._localToDispose.add({dispose:()=>{A.dispose(),F.dispose()}}),this.updateRanges()}_syncRanges(P){if(!this._editor.hasModel()||P!==this._syncRangesToken||this._currentDecorations.length===0)return;const x=this._editor.getModel(),T=this._currentDecorations.getRange(0);if(!T||T.startLineNumber!==T.endLineNumber)return this.clearRanges();const A=x.getValueInRange(T);if(this._currentWordPattern){const F=A.match(this._currentWordPattern);if((F?F[0].length:0)!==A.length)return this.clearRanges()}const N=[];for(let F=1,O=this._currentDecorations.length;F1){this.clearRanges();return}const T=this._editor.getModel(),A=T.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===A){if(x.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){const F=this._currentDecorations.getRange(0);if(F&&F.containsPosition(x))return}}this.clearRanges(),this._currentRequestPosition=x,this._currentRequestModelVersion=A;const N=(0,k.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){try{const O=new p.StopWatch(!1),W=yield I(this._providers,T,x,F);if(this._debounceInformation.update(T,O.elapsed()),N!==this._currentRequest||(this._currentRequest=null,A!==T.getVersionId()))return;let U=[];W?.ranges&&(U=W.ranges),this._currentWordPattern=W?.wordPattern||this._languageWordPattern;let j=!1;for(let K=0,G=U.length;K({range:K,options:m.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(R),this._syncRangesToken++}catch(O){(0,S.isCancellationError)(O)||(0,S.onUnexpectedError)(O),(this._currentRequest===N||!this._currentRequest)&&this.clearRanges()}}));return this._currentRequest=N,N})}};e.LinkedEditingContribution=b,b.ID="editor.contrib.linkedEditing",b.DECORATION=u.ModelDecorationOptions.register({description:"linked-editing",stickiness:0,className:v}),e.LinkedEditingContribution=b=m=ke([fe(1,c.IContextKeyService),fe(2,o.ILanguageFeaturesService),fe(3,h.ILanguageConfigurationService),fe(4,l.ILanguageFeatureDebounceService)],b);class w extends s.EditorAction{constructor(){super({id:"editor.action.linkedEditing",label:r.localize(0,null),alias:"Start Linked Editing",precondition:c.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:3132,weight:100}})}runCommand(P,x){const T=P.get(i.ICodeEditorService),[A,N]=Array.isArray(x)&&x||[void 0,void 0];return C.URI.isUri(A)&&n.Position.isIPosition(N)?T.openCodeEditor({resource:A},T.getActiveCodeEditor()).then(F=>{F&&(F.setPosition(N),F.invokeWithinContext(O=>(this.reportTelemetry(O,F),this.run(O,F))))},S.onUnexpectedError):super.runCommand(P,x)}run(P,x){const T=b.get(x);return T?Promise.resolve(T.updateRanges(!0)):Promise.resolve()}}e.LinkedEditingAction=w;const E=s.EditorCommand.bindToContribution(b.get);(0,s.registerEditorCommand)(new E({id:"cancelLinkedEditingInput",precondition:e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE,handler:M=>M.clearRanges(),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,weight:100+99,primary:9,secondary:[1033]}}));function I(M,P,x,T){const A=M.ordered(P);return(0,k.first)(A.map(N=>()=>we(this,void 0,void 0,function*(){try{return yield N.provideLinkedEditingRanges(P,x,T)}catch(F){(0,S.onUnexpectedExternalError)(F);return}})),N=>!!N&&L.isNonEmptyArray(N?.ranges))}e.editorLinkedEditingBackground=(0,d.registerColor)("editor.linkedEditingBackground",{dark:D.Color.fromHex("#f00").transparent(.3),light:D.Color.fromHex("#f00").transparent(.3),hcDark:D.Color.fromHex("#f00").transparent(.3),hcLight:D.Color.white},r.localize(1,null)),(0,s.registerModelAndPositionCommand)("_executeLinkedEditingProvider",(M,P,x)=>{const{linkedEditingRangeProvider:T}=M.get(o.ILanguageFeaturesService);return I(T,P,x,y.CancellationToken.None)}),(0,s.registerEditorContribution)(b.ID,b,1),(0,s.registerEditorAction)(w)}),define(ne[891],se([1,0,13,19,9,55,2,54,17,45,58,22,16,40,76,18,186,751,685,43,56,454]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.LinkDetector=void 0;let l=d=class extends S.Disposable{static get(E){return E.getContribution(d.ID)}constructor(E,I,M,P,x){super(),this.editor=E,this.openerService=I,this.notificationService=M,this.languageFeaturesService=P,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=x.for(this.providers,"Links",{min:1e3,max:4e3}),this.computeLinks=this._register(new L.RunOnceScheduler(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const T=this._register(new u.ClickLinkGesture(E));this._register(T.onMouseMoveOrRelevantKeyDown(([A,N])=>{this._onEditorMouseMove(A,N)})),this._register(T.onExecute(A=>{this.onEditorMouseUp(A)})),this._register(T.onCancel(A=>{this.cleanUpActiveLinkDecoration()})),this._register(E.onDidChangeConfiguration(A=>{A.hasChanged(69)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(E.onDidChangeModelContent(A=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(E.onDidChangeModel(A=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(E.onDidChangeModelLanguage(A=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(A=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}computeLinksNow(){return we(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.editor.getOption(69))return;const E=this.editor.getModel();if(this.providers.has(E)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,L.createCancelablePromise)(I=>(0,h.getLinks)(this.providers,E,I));try{const I=new C.StopWatch(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(E,I.elapsed()),E.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(I){(0,y.onUnexpectedError)(I)}finally{this.computePromise=null}}})}updateDecorations(E){const I=this.editor.getOption(76)==="altKey",M=[],P=Object.keys(this.currentOccurrences);for(const T of P){const A=this.currentOccurrences[T];M.push(A.decorationId)}const x=[];if(E)for(const T of E)x.push(m.decoration(T,I));this.editor.changeDecorations(T=>{const A=T.deltaDecorations(M,x);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let N=0,F=A.length;N{P.activate(x,M),this.activeLinkDecorationId=P.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const E=this.editor.getOption(76)==="altKey";if(this.activeLinkDecorationId){const I=this.currentOccurrences[this.activeLinkDecorationId];I&&this.editor.changeDecorations(M=>{I.deactivate(M,E)}),this.activeLinkDecorationId=null}}onEditorMouseUp(E){if(!this.isEnabled(E))return;const I=this.getLinkOccurrence(E.target.position);I&&this.openLinkOccurrence(I,E.hasSideBySideModifier,!0)}openLinkOccurrence(E,I,M=!1){if(!this.openerService)return;const{link:P}=E;P.resolve(k.CancellationToken.None).then(x=>{if(typeof x=="string"&&this.editor.hasModel()){const T=this.editor.getModel().uri;if(T.scheme===f.Schemas.file&&x.startsWith(`${f.Schemas.file}:`)){const A=s.URI.parse(x);if(A.scheme===f.Schemas.file){const N=g.originalFSPath(A);let F=null;N.startsWith("/./")?F=`.${N.substr(1)}`:N.startsWith("//./")&&(F=`.${N.substr(2)}`),F&&(x=g.joinPath(T,F))}}}return this.openerService.open(x,{openToSide:I,fromUserGesture:M,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},x=>{const T=x instanceof Error?x.message:x;T==="invalid"?this.notificationService.warn(r.localize(0,null,P.url.toString())):T==="missing"?this.notificationService.warn(r.localize(1,null)):(0,y.onUnexpectedError)(x)})}getLinkOccurrence(E){if(!this.editor.hasModel()||!E)return null;const I=this.editor.getModel().getDecorationsInRange({startLineNumber:E.lineNumber,startColumn:E.column,endLineNumber:E.lineNumber,endColumn:E.column},0,!0);for(const M of I){const P=this.currentOccurrences[M.id];if(P)return P}return null}isEnabled(E,I){return!!(E.target.type===6&&(E.hasTriggerModifier||I&&I.keyCodeIsTriggerKey))}stop(){var E;this.computeLinks.cancel(),this.activeLinksList&&((E=this.activeLinksList)===null||E===void 0||E.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};e.LinkDetector=l,l.ID="editor.linkDetector",e.LinkDetector=l=d=ke([fe(1,o.IOpenerService),fe(2,c.INotificationService),fe(3,a.ILanguageFeaturesService),fe(4,t.ILanguageFeatureDebounceService)],l);const p={general:n.ModelDecorationOptions.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:n.ModelDecorationOptions.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class m{static decoration(E,I){return{range:E.range,options:m._getOptions(E,I,!1)}}static _getOptions(E,I,M){const P=Object.assign({},M?p.active:p.general);return P.hoverMessage=v(E,I),P}constructor(E,I){this.link=E,this.decorationId=I}activate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!0))}deactivate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!1))}}function v(w,E){const I=w.url&&/^command:/i.test(w.url.toString()),M=w.tooltip?w.tooltip:I?r.localize(2,null):r.localize(3,null),P=E?_.isMacintosh?r.localize(4,null):r.localize(5,null):_.isMacintosh?r.localize(6,null):r.localize(7,null);if(w.url){let x="";if(/^command:/i.test(w.url.toString())){const A=w.url.toString().match(/^command:([^?#]+)/);if(A){const N=A[1];x=r.localize(8,null,N)}}return new D.MarkdownString("",!0).appendLink(w.url.toString(!0).replace(/ /g,"%20"),M,x).appendMarkdown(` (${P})`)}else return new D.MarkdownString().appendText(`${M} (${P})`)}class b extends i.EditorAction{constructor(){super({id:"editor.action.openLink",label:r.localize(9,null),alias:"Open Link",precondition:void 0})}run(E,I){const M=l.get(I);if(!M||!I.hasModel())return;const P=I.getSelections();for(const x of P){const T=M.getLinkOccurrence(x.getEndPosition());T&&M.openLinkOccurrence(T,!1)}}}(0,i.registerEditorContribution)(l.ID,l,1),(0,i.registerEditorAction)(b)}),define(ne[892],se([1,0,2,18,188,13,255,293,292,32,9,299,46]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModelProvider=void 0;var n;(function(d){d.OUTLINE_MODEL="outlineModel",d.FOLDING_PROVIDER_MODEL="foldingProviderModel",d.INDENTATION_MODEL="indentationModel"})(n||(n={}));var t;(function(d){d[d.VALID=0]="VALID",d[d.INVALID=1]="INVALID",d[d.CANCELED=2]="CANCELED"})(t||(t={}));let a=class extends L.Disposable{constructor(l,p,m,v){super(),this._editor=l,this._languageConfigurationService=p,this._languageFeaturesService=m,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new D.Delayer(300)),this._updateOperation=this._register(new L.DisposableStore);const b=new h(m),w=new o(this._editor,m),E=new c(this._editor,p);switch(v){case n.OUTLINE_MODEL:this._modelProviders.push(b),this._modelProviders.push(w),this._modelProviders.push(E);break;case n.FOLDING_PROVIDER_MODEL:this._modelProviders.push(w),this._modelProviders.push(E);break;case n.INDENTATION_MODEL:this._modelProviders.push(E);break}}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}update(l,p,m){return we(this,void 0,void 0,function*(){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),yield this._updateScheduler.trigger(()=>we(this,void 0,void 0,function*(){for(const v of this._modelProviders){const{statusPromise:b,modelPromise:w}=v.computeStickyModel(l,p,m);this._modelPromise=w;const E=yield b;if(this._modelPromise!==w)return null;switch(E){case t.CANCELED:return this._updateOperation.clear(),null;case t.VALID:return v.stickyModel}}return null})).catch(v=>((0,C.onUnexpectedError)(v),null))})}};e.StickyModelProvider=a,e.StickyModelProvider=a=ke([fe(1,g.ILanguageConfigurationService),fe(2,k.ILanguageFeaturesService)],a);class u{constructor(){this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,t.INVALID}computeStickyModel(l,p,m){if(m.isCancellationRequested||!this.isProviderValid(l))return{statusPromise:this._invalid(),modelPromise:null};const v=(0,D.createCancelablePromise)(b=>this.createModelFromProvider(l,p,b));return{statusPromise:v.then(b=>this.isModelValid(b)?m.isCancellationRequested?t.CANCELED:(this._stickyModel=this.createStickyModel(l,p,m,b),t.VALID):this._invalid()).then(void 0,b=>((0,C.onUnexpectedError)(b),t.CANCELED)),modelPromise:v}}isModelValid(l){return!0}isProviderValid(l){return!0}}let h=class extends u{constructor(l){super(),this._languageFeaturesService=l}createModelFromProvider(l,p,m){return y.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,l,m)}createStickyModel(l,p,m,v){var b;const{stickyOutlineElement:w,providerID:E}=this._stickyModelFromOutlineModel(v,(b=this._stickyModel)===null||b===void 0?void 0:b.outlineProviderId);return new s.StickyModel(l.uri,p,w,E)}isModelValid(l){return l&&l.children.size>0}_stickyModelFromOutlineModel(l,p){let m;if(i.Iterable.first(l.children.values())instanceof y.OutlineGroup){const E=i.Iterable.find(l.children.values(),I=>I.id===p);if(E)m=E.children;else{let I="",M=-1,P;for(const[x,T]of l.children.entries()){const A=this._findSumOfRangesOfGroup(T);A>M&&(P=T,M=A,I=T.id)}p=I,m=P.children}}else m=l.children;const v=[],b=Array.from(m.values()).sort((E,I)=>{const M=new s.StickyRange(E.symbol.range.startLineNumber,E.symbol.range.endLineNumber),P=new s.StickyRange(I.symbol.range.startLineNumber,I.symbol.range.endLineNumber);return this._comparator(M,P)});for(const E of b)v.push(this._stickyModelFromOutlineElement(E,E.symbol.selectionRange.startLineNumber));return{stickyOutlineElement:new s.StickyElement(void 0,v,void 0),providerID:p}}_stickyModelFromOutlineElement(l,p){const m=[];for(const b of l.children.values())if(b.symbol.selectionRange.startLineNumber!==b.symbol.range.endLineNumber)if(b.symbol.selectionRange.startLineNumber!==p)m.push(this._stickyModelFromOutlineElement(b,b.symbol.selectionRange.startLineNumber));else for(const w of b.children.values())m.push(this._stickyModelFromOutlineElement(w,b.symbol.selectionRange.startLineNumber));m.sort((b,w)=>this._comparator(b.range,w.range));const v=new s.StickyRange(l.symbol.selectionRange.startLineNumber,l.symbol.range.endLineNumber);return new s.StickyElement(v,m,void 0)}_comparator(l,p){return l.startLineNumber!==p.startLineNumber?l.startLineNumber-p.startLineNumber:p.endLineNumber-l.endLineNumber}_findSumOfRangesOfGroup(l){let p=0;for(const m of l.children.values())p+=this._findSumOfRangesOfGroup(m);return l instanceof y.OutlineElement?p+l.symbol.range.endLineNumber-l.symbol.selectionRange.startLineNumber:p}};h=ke([fe(0,k.ILanguageFeaturesService)],h);class r extends u{constructor(l){super(),this._foldingLimitReporter=new S.RangesLimitReporter(l)}createStickyModel(l,p,m,v){const b=this._fromFoldingRegions(v);return new s.StickyModel(l.uri,p,b,void 0)}isModelValid(l){return l!==null}_fromFoldingRegions(l){const p=l.length,m=[],v=new s.StickyElement(void 0,[],void 0);for(let b=0;b0}createModelFromProvider(l,p,m){const v=S.FoldingController.getFoldingRangeProviders(this._languageFeaturesService,l);return new f.SyntaxRangeProvider(l,v,()=>this.createModelFromProvider(l,p,m),this._foldingLimitReporter,void 0).compute(m)}};o=ke([fe(1,k.ILanguageFeaturesService)],o)}),define(ne[893],se([1,0,2,18,19,13,14,6,32,892]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyLineCandidateProvider=e.StickyLineCandidate=void 0;class C{constructor(n,t,a){this.startLineNumber=n,this.endLineNumber=t,this.nestingDepth=a}}e.StickyLineCandidate=C;let s=class extends L.Disposable{constructor(n,t,a){super(),this._languageFeaturesService=t,this._languageConfigurationService=a,this._onDidChangeStickyScroll=this._register(new f.Emitter),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._options=null,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=n,this._sessionStore=this._register(new L.DisposableStore),this._updateSoon=this._register(new D.RunOnceScheduler(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(113)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._stickyModelProvider=null,this._sessionStore.clear(),this._options=this._editor.getOption(113),this._options.enabled&&(this._stickyModelProvider=this._sessionStore.add(new g.StickyModelProvider(this._editor,this._languageConfigurationService,this._languageFeaturesService,this._options.defaultModel)),this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this.update())}getVersionId(){var n;return(n=this._model)===null||n===void 0?void 0:n.version}update(){var n;return we(this,void 0,void 0,function*(){(n=this._cts)===null||n===void 0||n.dispose(!0),this._cts=new y.CancellationTokenSource,yield this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()})}updateStickyModel(n){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._stickyModelProvider){this._model=null;return}const t=this._editor.getModel(),a=t.getVersionId(),u=yield this._stickyModelProvider.update(t,a,n);n.isCancellationRequested||(this._model=u)})}updateIndex(n){return n===-1?n=0:n<0&&(n=-n-2),n}getCandidateStickyLinesIntersectingFromStickyModel(n,t,a,u,h){if(t.children.length===0)return;let r=h;const c=[];for(let l=0;ll-p)),d=this.updateIndex((0,S.binarySearch)(c,n.startLineNumber+u,(l,p)=>l-p));for(let l=o;l<=d;l++){const p=t.children[l];if(!p)return;if(p.range){const m=p.range.startLineNumber,v=p.range.endLineNumber;n.startLineNumber<=v+1&&m-1<=n.endLineNumber&&m!==r&&(r=m,a.push(new C(m,v-1,u+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u+1,m))}else this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u,h)}}getCandidateStickyLinesIntersecting(n){var t,a;if(!(!((t=this._model)===null||t===void 0)&&t.element))return[];let u=[];this.getCandidateStickyLinesIntersectingFromStickyModel(n,this._model.element,u,0,-1);const h=(a=this._editor._getViewModel())===null||a===void 0?void 0:a.getHiddenAreas();if(h)for(const r of h)u=u.filter(c=>!(c.startLineNumber>=r.startLineNumber&&c.endLineNumber<=r.endLineNumber+1));return u}};e.StickyLineCandidateProvider=s,e.StickyLineCandidateProvider=s=ke([fe(1,k.ILanguageFeaturesService),fe(2,_.ILanguageConfigurationService)],s)}),define(ne[894],se([1,0,7,89,2,26,251,162,12,93,127,95,255,366,291,461]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollWidget=e.StickyScrollWidgetState=void 0;class a{constructor(l,p,m,v=null){this.startLineNumbers=l,this.endLineNumbers=p,this.lastLineRelativePosition=m,this.showEndForLine=v}}e.StickyScrollWidgetState=a;const u=(0,k.createTrustedTypesPolicy)("stickyScrollViewLayer",{createHTML:d=>d}),h="data-sticky-line-index";class r extends y.Disposable{constructor(l){super(),this._editor=l,this._foldingIconStore=new y.DisposableStore,this._rootDomNode=document.createElement("div"),this._lineNumbersDomNode=document.createElement("div"),this._linesDomNodeScrollable=document.createElement("div"),this._linesDomNode=document.createElement("div"),this._lineHeight=this._editor.getOption(65),this._stickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className="sticky-widget-line-numbers",this._lineNumbersDomNode.setAttribute("role","none"),this._linesDomNode.className="sticky-widget-lines",this._linesDomNode.setAttribute("role","list"),this._linesDomNodeScrollable.className="sticky-widget-lines-scrollable",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className="sticky-widget",this._rootDomNode.classList.toggle("peek",l instanceof f.EmbeddedCodeEditorWidget),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);const p=()=>{this._linesDomNode.style.left=this._editor.getOption(113).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:"0px"};this._register(this._editor.onDidChangeConfiguration(m=>{m.hasChanged(113)&&p(),m.hasChanged(65)&&(this._lineHeight=this._editor.getOption(65))})),this._register(this._editor.onDidScrollChange(m=>{m.scrollLeftChanged&&p(),m.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{p(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),p(),this._register(this._editor.onDidLayoutChange(m=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getCurrentLines(){return this._lineNumbers}setState(l){if(this._clearStickyWidget(),!l||!this._editor._getViewModel())return;if(l.startLineNumbers.length*this._lineHeight+l.lastLineRelativePosition>0){this._lastLineRelativePosition=l.lastLineRelativePosition;const m=[...l.startLineNumbers];l.showEndForLine!==null&&(m[l.showEndForLine]=l.endLineNumbers[l.showEndForLine]),this._lineNumbers=m}else this._lastLineRelativePosition=0,this._lineNumbers=[];this._renderRootNode()}_updateWidgetWidth(){const l=this._editor.getLayoutInfo(),m=this._editor.getOption(71).side==="left"?l.contentLeft-l.minimap.minimapCanvasOuterWidth:l.contentLeft;this._lineNumbersDomNode.style.width=`${m}px`,this._linesDomNodeScrollable.style.setProperty("--vscode-editorStickyScroll-scrollableWidth",`${this._editor.getScrollWidth()-l.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${l.width-l.minimap.minimapCanvasOuterWidth-l.verticalScrollbarWidth}px`}_clearStickyWidget(){this._stickyLines=[],this._foldingIconStore.clear(),L.clearNode(this._lineNumbersDomNode),L.clearNode(this._linesDomNode),this._rootDomNode.style.display="none"}_useFoldingOpacityTransition(l){this._lineNumbersDomNode.style.setProperty("--vscode-editorStickyScroll-foldingOpacityTransition",`opacity ${l?.5:0}s`)}_setFoldingIconsVisibility(l){for(const p of this._stickyLines){const m=p.foldingIcon;m&&m.setVisible(l?!0:m.isCollapsed)}}_renderRootNode(){var l;return we(this,void 0,void 0,function*(){const p=yield(l=i.FoldingController.get(this._editor))===null||l===void 0?void 0:l.getFoldingModel(),m=this._editor.getLayoutInfo();for(const[w,E]of this._lineNumbers.entries()){const I=this._renderChildNode(w,E,m,p);this._linesDomNode.appendChild(I.lineDomNode),this._lineNumbersDomNode.appendChild(I.lineNumberDomNode),this._stickyLines.push(I)}p&&(this._setFoldingHoverListeners(),this._useFoldingOpacityTransition(!this._isOnGlyphMargin));const v=this._lineNumbers.length*this._lineHeight+this._lastLineRelativePosition;if(v===0){this._clearStickyWidget();return}this._rootDomNode.style.display="block",this._lineNumbersDomNode.style.height=`${v}px`,this._linesDomNodeScrollable.style.height=`${v}px`,this._rootDomNode.style.height=`${v}px`,this._editor.getOption(71).side==="left"?this._rootDomNode.style.marginLeft=m.minimap.minimapCanvasOuterWidth+"px":this._rootDomNode.style.marginLeft="0px",this._updateMinContentWidth(),this._editor.layoutOverlayWidget(this)})}_setFoldingHoverListeners(){this._editor.getOption(108)==="mouseover"&&(this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_ENTER,p=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(l,p,m,v){const b=this._editor._getViewModel(),w=b.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(p,1)).lineNumber,E=b.getViewLineRenderingData(w),I=this._editor.getOption(71).side,M=this._editor.getOption(66);let P;try{P=C.LineDecoration.filter(E.inlineDecorations,w,E.minColumn,E.maxColumn)}catch{P=[]}const x=new s.RenderLineInput(!0,!0,E.content,E.continuesWithWrappedLine,E.isBasicASCII,E.containsRTL,0,E.tokens,P,E.tabSize,E.startVisibleColumn,1,1,1,500,"none",!0,!0,null),T=new g.StringBuilder(2e3),A=(0,s.renderViewLine)(x,T);let N;u?N=u.createHTML(T.build()):N=T.build();const F=document.createElement("span");F.className="sticky-line-content",F.classList.add(`stickyLine${p}`),F.style.lineHeight=`${this._lineHeight}px`,F.innerHTML=N;const O=document.createElement("span");O.className="sticky-line-number",O.style.lineHeight=`${this._lineHeight}px`;const W=I==="left"?m.contentLeft-m.minimap.minimapCanvasOuterWidth:m.contentLeft;O.style.width=`${W}px`;const U=document.createElement("span");M.renderType===1||M.renderType===3&&p%10===0?U.innerText=p.toString():M.renderType===2&&(U.innerText=Math.abs(p-this._editor.getPosition().lineNumber).toString()),U.className="sticky-line-number-inner",U.style.lineHeight=`${this._lineHeight}px`,U.style.width=`${m.lineNumbersWidth}px`,U.style.float="left",I==="left"?U.style.paddingLeft=`${m.lineNumbersLeft-m.minimap.minimapCanvasOuterWidth}px`:I==="right"&&(U.style.paddingLeft=`${m.lineNumbersLeft}px`),O.appendChild(U);const j=this._renderFoldingIconForLine(O,v,l,p);this._editor.applyFontInfo(F),this._editor.applyFontInfo(U),F.setAttribute("role","listitem"),F.setAttribute(h,String(l)),F.tabIndex=0,O.style.lineHeight=`${this._lineHeight}px`,F.style.lineHeight=`${this._lineHeight}px`,O.style.height=`${this._lineHeight}px`,F.style.height=`${this._lineHeight}px`;const R=l===this._lineNumbers.length-1,K="0",G="1";F.style.zIndex=R?K:G,O.style.zIndex=R?K:G;const Z=`${l*this._lineHeight+this._lastLineRelativePosition+(j?.isCollapsed?1:0)}px`,J=`${l*this._lineHeight}px`;return F.style.top=R?Z:J,O.style.top=R?Z:J,new c(p,F,O,j,A.characterMapping)}_renderFoldingIconForLine(l,p,m,v){const b=this._editor.getOption(108);if(!p||b==="never")return;const w=p.regions,E=w.findRange(v),I=w.getStartLineNumber(E);if(!(v===I))return;const P=w.isCollapsed(E),x=new o(P,this._lineHeight);return l.append(x.domNode),x.setVisible(this._isOnGlyphMargin?!0:P||b==="always"),this._foldingIconStore.add(L.addDisposableListener(x.domNode,L.EventType.CLICK,()=>{(0,t.toggleCollapseState)(p,Number.MAX_VALUE,[v]),x.isCollapsed=!P;const T=(P?this._editor.getTopForLineNumber(I):this._editor.getTopForLineNumber(w.getEndLineNumber(E)))-this._lineHeight*m+1;this._editor.setScrollTop(T)})),x}_updateMinContentWidth(){this._minContentWidthInPx=0;for(const l of this._stickyLines)l.lineDomNode.scrollWidth>this._minContentWidthInPx&&(this._minContentWidthInPx=l.lineDomNode.scrollWidth);this._minContentWidthInPx+=this._editor.getLayoutInfo().verticalScrollbarWidth}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:null}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(l){0<=l&&l0)return null;const p=this._getRenderedStickyLineFromChildDomNode(l);if(!p)return null;const m=(0,S.getColumnOfNodeOffset)(p.characterMapping,l,0);return new _.Position(p.lineNumber,m)}getLineNumberFromChildDomNode(l){var p,m;return(m=(p=this._getRenderedStickyLineFromChildDomNode(l))===null||p===void 0?void 0:p.lineNumber)!==null&&m!==void 0?m:null}_getRenderedStickyLineFromChildDomNode(l){const p=this.getStickyLineIndexFromChildDomNode(l);return p===null||p<0||p>=this._stickyLines.length?null:this._stickyLines[p]}getStickyLineIndexFromChildDomNode(l){for(;l&&l!==this._rootDomNode;){const p=l.getAttribute(h);if(p)return parseInt(p,10);l=l.parentElement}return null}}e.StickyScrollWidget=r;class c{constructor(l,p,m,v,b){this.lineNumber=l,this.lineDomNode=p,this.lineNumberDomNode=m,this.foldingIcon=v,this.characterMapping=b}}class o{constructor(l,p){this.isCollapsed=l,this.dimension=p,this.domNode=document.createElement("div"),this.domNode.style.width=`${p}px`,this.domNode.style.height=`${p}px`,this.domNode.className=D.ThemeIcon.asClassName(l?n.foldingCollapsedIcon:n.foldingExpandedIcon)}setVisible(l){this.domNode.style.cursor=l?"pointer":"default",this.domNode.style.opacity=l?"1":"0"}}}),define(ne[895],se([1,0,7,114,13,9,6,2,141,11,162,866,702,15,8,87,31,88,23,223,135,344,861,105,49,172,462,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestContentWidget=e.SuggestWidget=e.editorSuggestWidgetSelectedBackground=void 0,(0,u.registerColor)("editorSuggestWidget.background",{dark:u.editorWidgetBackground,light:u.editorWidgetBackground,hcDark:u.editorWidgetBackground,hcLight:u.editorWidgetBackground},i.localize(0,null)),(0,u.registerColor)("editorSuggestWidget.border",{dark:u.editorWidgetBorder,light:u.editorWidgetBorder,hcDark:u.editorWidgetBorder,hcLight:u.editorWidgetBorder},i.localize(1,null));const b=(0,u.registerColor)("editorSuggestWidget.foreground",{dark:u.editorForeground,light:u.editorForeground,hcDark:u.editorForeground,hcLight:u.editorForeground},i.localize(2,null));(0,u.registerColor)("editorSuggestWidget.selectedForeground",{dark:u.quickInputListFocusForeground,light:u.quickInputListFocusForeground,hcDark:u.quickInputListFocusForeground,hcLight:u.quickInputListFocusForeground},i.localize(3,null)),(0,u.registerColor)("editorSuggestWidget.selectedIconForeground",{dark:u.quickInputListFocusIconForeground,light:u.quickInputListFocusIconForeground,hcDark:u.quickInputListFocusIconForeground,hcLight:u.quickInputListFocusIconForeground},i.localize(4,null)),e.editorSuggestWidgetSelectedBackground=(0,u.registerColor)("editorSuggestWidget.selectedBackground",{dark:u.quickInputListFocusBackground,light:u.quickInputListFocusBackground,hcDark:u.quickInputListFocusBackground,hcLight:u.quickInputListFocusBackground},i.localize(5,null)),(0,u.registerColor)("editorSuggestWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},i.localize(6,null)),(0,u.registerColor)("editorSuggestWidget.focusHighlightForeground",{dark:u.listFocusHighlightForeground,light:u.listFocusHighlightForeground,hcDark:u.listFocusHighlightForeground,hcLight:u.listFocusHighlightForeground},i.localize(7,null)),(0,u.registerColor)("editorSuggestWidgetStatus.foreground",{dark:(0,u.transparent)(b,.5),light:(0,u.transparent)(b,.5),hcDark:(0,u.transparent)(b,.5),hcLight:(0,u.transparent)(b,.5)},i.localize(8,null));class w{constructor(P,x){this._service=P,this._key=`suggestWidget.size/${x.getEditorType()}/${x instanceof C.EmbeddedCodeEditorWidget}`}restore(){var P;const x=(P=this._service.get(this._key,0))!==null&&P!==void 0?P:"";try{const T=JSON.parse(x);if(L.Dimension.is(T))return L.Dimension.lift(T)}catch{}}store(P){this._service.store(this._key,JSON.stringify(P),0,1)}reset(){this._service.remove(this._key,0)}}let E=v=class{constructor(P,x,T,A,N){this.editor=P,this._storageService=x,this._state=0,this._isAuto=!1,this._pendingLayout=new f.MutableDisposable,this._pendingShowDetails=new f.MutableDisposable,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new y.TimeoutTimer,this._disposables=new f.DisposableStore,this._onDidSelect=new S.PauseableEmitter,this._onDidFocus=new S.PauseableEmitter,this._onDidHide=new S.Emitter,this._onDidShow=new S.Emitter,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new S.Emitter,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new c.ResizableHTMLElement,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new I(this,P),this._persistedSize=new w(x,P);class F{constructor(G,Z,J=!1,X=!1){this.persistedSize=G,this.currentSize=Z,this.persistHeight=J,this.persistWidth=X}}let O;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),O=new F(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(K=>{var G,Z,J,X;if(this._resize(K.dimension.width,K.dimension.height),O&&(O.persistHeight=O.persistHeight||!!K.north||!!K.south,O.persistWidth=O.persistWidth||!!K.east||!!K.west),!!K.done){if(O){const{itemHeight:H,defaultSize:B}=this.getLayoutInfo(),V=Math.round(H/2);let{width:Y,height:ie}=this.element.size;(!O.persistHeight||Math.abs(O.currentSize.height-ie)<=V)&&(ie=(Z=(G=O.persistedSize)===null||G===void 0?void 0:G.height)!==null&&Z!==void 0?Z:B.height),(!O.persistWidth||Math.abs(O.currentSize.width-Y)<=V)&&(Y=(X=(J=O.persistedSize)===null||J===void 0?void 0:J.width)!==null&&X!==void 0?X:B.width),this._persistedSize.store(new L.Dimension(Y,ie))}this._contentWidget.unlockPreference(),O=void 0}})),this._messageElement=L.append(this.element.domNode,L.$(".message")),this._listElement=L.append(this.element.domNode,L.$(".tree"));const W=N.createInstance(d.SuggestDetailsWidget,this.editor);W.onDidClose(this.toggleDetails,this,this._disposables),this._details=new d.SuggestDetailsOverlay(W,this.editor);const U=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(116).showIcons);U();const j=N.createInstance(l.ItemRenderer,this.editor);this._disposables.add(j),this._disposables.add(j.onDidToggleDetails(()=>this.toggleDetails())),this._list=new k.List("SuggestWidget",this._listElement,{getHeight:K=>this.getLayoutInfo().itemHeight,getTemplateId:K=>"suggestion"},[j],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>i.localize(11,null),getWidgetRole:()=>"listbox",getAriaLabel:K=>{let G=K.textLabel;if(typeof K.completion.label!="string"){const{detail:H,description:B}=K.completion.label;H&&B?G=i.localize(12,null,G,H,B):H?G=i.localize(13,null,G,H):B&&(G=i.localize(14,null,G,B))}if(!K.isResolved||!this._isDetailsVisible())return G;const{documentation:Z,detail:J}=K.completion,X=g.format("{0}{1}",J||"",Z?typeof Z=="string"?Z:Z.value:"");return i.localize(15,null,G,X)}}}),this._list.style((0,p.getListStyles)({listInactiveFocusBackground:e.editorSuggestWidgetSelectedBackground,listInactiveFocusOutline:u.activeContrastBorder})),this._status=N.createInstance(s.SuggestWidgetStatus,this.element.domNode,o.suggestWidgetStatusbarMenu);const R=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(116).showStatusBar);R(),this._disposables.add(A.onDidColorThemeChange(K=>this._onThemeChange(K))),this._onThemeChange(A.getColorTheme()),this._disposables.add(this._list.onMouseDown(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onTap(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onDidChangeSelection(K=>this._onListSelection(K))),this._disposables.add(this._list.onDidChangeFocus(K=>this._onListFocus(K))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(K=>{K.hasChanged(116)&&(R(),U())})),this._ctxSuggestWidgetVisible=o.Context.Visible.bindTo(T),this._ctxSuggestWidgetDetailsVisible=o.Context.DetailsVisible.bindTo(T),this._ctxSuggestWidgetMultipleSuggestions=o.Context.MultipleSuggestions.bindTo(T),this._ctxSuggestWidgetHasFocusedSuggestion=o.Context.HasFocusedSuggestion.bindTo(T),this._disposables.add(L.addStandardDisposableListener(this._details.widget.domNode,"keydown",K=>{this._onDetailsKeydown.fire(K)})),this._disposables.add(this.editor.onMouseDown(K=>this._onEditorMouseDown(K)))}dispose(){var P;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(P){this._details.widget.domNode.contains(P.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(P.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){this._state!==0&&this._contentWidget.layout()}_onListMouseDownOrTap(P){typeof P.element>"u"||typeof P.index>"u"||(P.browserEvent.preventDefault(),P.browserEvent.stopPropagation(),this._select(P.element,P.index))}_onListSelection(P){P.elements.length&&this._select(P.elements[0],P.indexes[0])}_select(P,x){const T=this._completionModel;T&&(this._onDidSelect.fire({item:P,index:x,model:T}),this.editor.focus())}_onThemeChange(P){this._details.widget.borderWidth=(0,h.isHighContrast)(P.type)?2:1}_onListFocus(P){var x;if(this._ignoreFocusEvents)return;if(!P.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);const T=P.elements[0],A=P.indexes[0];T!==this._focusedItem&&((x=this._currentSuggestionDetails)===null||x===void 0||x.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=T,this._list.reveal(A),this._currentSuggestionDetails=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=(0,y.disposableTimeout)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),O=N.onCancellationRequested(()=>F.dispose()),W=yield T.resolve(N);return F.dispose(),O.dispose(),W})),this._currentSuggestionDetails.then(()=>{A>=this._list.length||T!==this._list.element(A)||(this._ignoreFocusEvents=!0,this._list.splice(A,1,[T]),this._list.setFocus([A]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,l.getAriaId)(A)}))}).catch(D.onUnexpectedError)),this._onDidFocus.fire({item:T,index:A,model:this._completionModel})}_setState(P){if(this._state!==P)switch(this._state=P,this.element.domNode.classList.toggle("frozen",P===4),this.element.domNode.classList.remove("message"),P){case 0:L.hide(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.LOADING_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.NO_SUGGESTIONS_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.NO_SUGGESTIONS_MESSAGE);break;case 3:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 4:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 5:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._details.show(),this._show();break}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(P,x){this._state===0&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!P,this._isAuto||(this._loadingTimeout=(0,y.disposableTimeout)(()=>this._setState(1),x)))}showSuggestions(P,x,T,A,N){var F,O;if(this._contentWidget.setPosition(this.editor.getPosition()),(F=this._loadingTimeout)===null||F===void 0||F.dispose(),(O=this._currentSuggestionDetails)===null||O===void 0||O.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==P&&(this._completionModel=P),T&&this._state!==2&&this._state!==0){this._setState(4);return}const W=this._completionModel.items.length,U=W===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(W>1),U){this._setState(A?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(T?4:3),this._list.reveal(x,0),this._list.setFocus(N?[]:[x])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(this._state!==0&&this._state!==2&&this._state!==1&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){this._state===5?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):this._state===3&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,d.canExpandCompletionItem)(this._list.getFocusedElements()[0])||this._explainMode)&&(this._state===3||this._state===5||this._state===4)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(P){this._pendingShowDetails.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingShowDetails.clear(),this._details.show(),P?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var P;this._pendingLayout.clear(),this._pendingShowDetails.clear(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const x=this._persistedSize.restore(),T=Math.ceil(this.getLayoutInfo().itemHeight*4.3);x&&x.heightU&&(W=U);const j=this._completionModel?this._completionModel.stats.pLabelLen*F.typicalHalfwidthCharacterWidth:W,R=F.statusBarHeight+this._list.contentHeight+F.borderHeight,K=F.itemHeight+F.statusBarHeight,G=L.getDomNodePagePosition(this.editor.getDomNode()),Z=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),J=G.top+Z.top+Z.height,X=Math.min(N.height-J-F.verticalPadding,R),H=G.top+Z.top-F.verticalPadding,B=Math.min(H,R);let V=Math.min(Math.max(B,X)+F.borderHeight,R);O===((x=this._cappedHeight)===null||x===void 0?void 0:x.capped)&&(O=this._cappedHeight.wanted),OV&&(O=V);const Y=150;O>X||this._forceRenderingAbove&&H>Y?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),V=B):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),V=X),this.element.preferredSize=new L.Dimension(j,F.defaultSize.height),this.element.maxSize=new L.Dimension(U,V),this.element.minSize=new L.Dimension(220,K),this._cappedHeight=O===R?{wanted:(A=(T=this._cappedHeight)===null||T===void 0?void 0:T.wanted)!==null&&A!==void 0?A:P.height,capped:O}:void 0}this._resize(W,O)}_resize(P,x){const{width:T,height:A}=this.element.maxSize;P=Math.min(T,P),x=Math.min(A,x);const{statusBarHeight:N}=this.getLayoutInfo();this._list.layout(x-N,P),this._listElement.style.height=`${x-N}px`,this.element.layout(x,P),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var P;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,((P=this._contentWidget.getPosition())===null||P===void 0?void 0:P.preference[0])===2)}getLayoutInfo(){const P=this.editor.getOption(49),x=(0,_.clamp)(this.editor.getOption(118)||P.lineHeight,8,1e3),T=!this.editor.getOption(116).showStatusBar||this._state===2||this._state===1?0:x,A=this._details.widget.borderWidth,N=2*A;return{itemHeight:x,statusBarHeight:T,borderWidth:A,borderHeight:N,typicalHalfwidthCharacterWidth:P.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new L.Dimension(430,T+12*x+N)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(P){this._storageService.store("expandSuggestionDocs",P,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};e.SuggestWidget=E,E.LOADING_MESSAGE=i.localize(9,null),E.NO_SUGGESTIONS_MESSAGE=i.localize(10,null),e.SuggestWidget=E=v=ke([fe(1,a.IStorageService),fe(2,n.IContextKeyService),fe(3,r.IThemeService),fe(4,t.IInstantiationService)],E);class I{constructor(P,x){this._widget=P,this._editor=x,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return this._hidden||!this._position||!this._preference?null:{position:this._position,preference:[this._preference]}}beforeRender(){const{height:P,width:x}=this._widget.element.size,{borderWidth:T,horizontalPadding:A}=this._widget.getLayoutInfo();return new L.Dimension(x+2*T+A,P+2*T)}afterRender(P){this._widget._afterRender(P)}setPreference(P){this._preferenceLocked||(this._preference=P)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(P){this._position=P}}e.SuggestContentWidget=I}),define(ne[368],se([1,0,48,40,29,711,31,23,466]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectionHighlightDecorationOptions=e.getHighlightDecorationOptions=void 0;const _=(0,S.registerColor)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},D.localize(0,null),!0);(0,S.registerColor)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},D.localize(1,null),!0),(0,S.registerColor)("editor.wordHighlightTextBackground",{light:_,dark:_,hcDark:_,hcLight:_},D.localize(2,null),!0);const g=(0,S.registerColor)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(3,null));(0,S.registerColor)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(4,null)),(0,S.registerColor)("editor.wordHighlightTextBorder",{light:g,dark:g,hcDark:g,hcLight:g},D.localize(5,null));const C=(0,S.registerColor)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},D.localize(6,null),!0),s=(0,S.registerColor)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},D.localize(7,null),!0),i=(0,S.registerColor)("editorOverviewRuler.wordHighlightTextForeground",{dark:S.overviewRulerSelectionHighlightForeground,light:S.overviewRulerSelectionHighlightForeground,hcDark:S.overviewRulerSelectionHighlightForeground,hcLight:S.overviewRulerSelectionHighlightForeground},D.localize(8,null),!0),n=k.ModelDecorationOptions.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,f.themeColorFromId)(s),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),t=k.ModelDecorationOptions.register({description:"word-highlight-text",stickiness:1,className:"wordHighlightText",overviewRuler:{color:(0,f.themeColorFromId)(i),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),a=k.ModelDecorationOptions.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerSelectionHighlightForeground),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),u=k.ModelDecorationOptions.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),h=k.ModelDecorationOptions.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,f.themeColorFromId)(C),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}});function r(o){return o===y.DocumentHighlightKind.Write?n:o===y.DocumentHighlightKind.Text?t:h}e.getHighlightDecorationOptions=r;function c(o){return o?u:a}e.getSelectionHighlightDecorationOptions=c,(0,f.registerThemingParticipant)((o,d)=>{const l=o.getColor(S.editorSelectionHighlight);l&&d.addRule(`.monaco-editor .selectionHighlight { background-color: ${l.transparent(.5)}; }`)})}),define(ne[896],se([1,0,49,13,63,2,16,205,5,24,21,365,687,30,15,18,368,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.FocusPreviousCursor=e.FocusNextCursor=e.SelectionHighlighter=e.CompatChangeAll=e.SelectHighlightsAction=e.MoveSelectionToPreviousFindMatchAction=e.MoveSelectionToNextFindMatchAction=e.AddSelectionToPreviousFindMatchAction=e.AddSelectionToNextFindMatchAction=e.MultiCursorSelectionControllerAction=e.MultiCursorSelectionController=e.MultiCursorSession=e.MultiCursorSessionResult=e.InsertCursorBelow=e.InsertCursorAbove=void 0;function c(R,K){const G=K.filter(Z=>!R.find(J=>J.equals(Z)));if(G.length>=1){const Z=G.map(X=>`line ${X.viewState.position.lineNumber} column ${X.viewState.position.column}`).join(", "),J=G.length===1?i.localize(0,null,Z):i.localize(1,null,Z);(0,L.status)(J)}}class o extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAbove",label:i.localize(2,null),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(3,null),order:2}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorUp(X,H,J)),X.revealTopMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorAbove=o;class d extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorBelow",label:i.localize(4,null),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(5,null),order:3}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorDown(X,H,J)),X.revealBottomMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorBelow=d;class l extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:i.localize(6,null),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(7,null),order:4}})}getCursorsForSelection(K,G,Z){if(!K.isEmpty()){for(let J=K.startLineNumber;J1&&Z.push(new g.Selection(K.endLineNumber,K.endColumn,K.endLineNumber,K.endColumn))}}run(K,G){if(!G.hasModel())return;const Z=G.getModel(),J=G.getSelections(),X=G._getViewModel(),H=X.getCursorStates(),B=[];J.forEach(V=>this.getCursorsForSelection(V,Z,B)),B.length>0&&G.setSelections(B),c(H,X.getCursorStates())}}class p extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToBottom",label:i.localize(8,null),alias:"Add Cursors To Bottom",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=G.getModel().getLineCount(),X=[];for(let V=Z[0].startLineNumber;V<=J;V++)X.push(new g.Selection(V,Z[0].startColumn,V,Z[0].endColumn));const H=G._getViewModel(),B=H.getCursorStates();X.length>0&&G.setSelections(X),c(B,H.getCursorStates())}}class m extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToTop",label:i.localize(9,null),alias:"Add Cursors To Top",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=[];for(let B=Z[0].startLineNumber;B>=1;B--)J.push(new g.Selection(B,Z[0].startColumn,B,Z[0].endColumn));const X=G._getViewModel(),H=X.getCursorStates();J.length>0&&G.setSelections(J),c(H,X.getCursorStates())}}class v{constructor(K,G,Z){this.selections=K,this.revealRange=G,this.revealScrollType=Z}}e.MultiCursorSessionResult=v;class b{static create(K,G){if(!K.hasModel())return null;const Z=G.getState();if(!K.hasTextFocus()&&Z.isRevealed&&Z.searchString.length>0)return new b(K,G,!1,Z.searchString,Z.wholeWord,Z.matchCase,null);let J=!1,X,H;const B=K.getSelections();B.length===1&&B[0].isEmpty()?(J=!0,X=!0,H=!0):(X=Z.wholeWord,H=Z.matchCase);const V=K.getSelection();let Y,ie=null;if(V.isEmpty()){const ae=K.getConfiguredWordAtPosition(V.getStartPosition());if(!ae)return null;Y=ae.word,ie=new g.Selection(V.startLineNumber,ae.startColumn,V.startLineNumber,ae.endColumn)}else Y=K.getModel().getValueInRange(V).replace(/\r\n/g,` -`);return new b(K,G,J,Y,X,H,ie)}constructor(K,G,Z,J,X,H,B){this._editor=K,this.findController=G,this.isDisconnectedFromFindController=Z,this.searchText=J,this.wholeWord=X,this.matchCase=H,this.currentMatch=B}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findNextMatch(this.searchText,G.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findPreviousMatch(this.searchText,G.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}selectAll(K){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const G=this._editor.getModel();return K?G.findMatches(this.searchText,K,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824):G.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824)}}e.MultiCursorSession=b;class w extends D.Disposable{static get(K){return K.getContribution(w.ID)}constructor(K){super(),this._sessionDispose=this._register(new D.DisposableStore),this._editor=K,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(K){if(!this._session){const G=b.create(this._editor,K);if(!G)return;this._session=G;const Z={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(Z.wholeWordOverride=1,Z.matchCaseOverride=1,Z.isRegexOverride=2),K.getState().change(Z,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(J=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(K.getState().onFindReplaceStateChange(J=>{(J.matchCase||J.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const K={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(K,!1)}this._session=null}_setSelections(K){this._ignoreSelectionChange=!0,this._editor.setSelections(K),this._ignoreSelectionChange=!1}_expandEmptyToWord(K,G){if(!G.isEmpty())return G;const Z=this._editor.getConfiguredWordAtPosition(G.getStartPosition());return Z?new g.Selection(G.startLineNumber,Z.startColumn,G.startLineNumber,Z.endColumn):G}_applySessionResult(K){K&&(this._setSelections(K.selections),K.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(K.revealRange,K.revealScrollType))}getSession(K){return this._session}addSelectionToNextFindMatch(K){if(this._editor.hasModel()){if(!this._session){const G=this._editor.getSelections();if(G.length>1){const J=K.getState().matchCase;if(!O(this._editor.getModel(),G,J)){const H=this._editor.getModel(),B=[];for(let V=0,Y=G.length;V0&&Z.isRegex){const J=this._editor.getModel();Z.searchScope?G=J.findMatches(Z.searchString,Z.searchScope,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824):G=J.findMatches(Z.searchString,!0,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(K),!this._session)return;G=this._session.selectAll(Z.searchScope)}if(G.length>0){const J=this._editor.getSelection();for(let X=0,H=G.length;Xnew g.Selection(X.range.startLineNumber,X.range.startColumn,X.range.endLineNumber,X.range.endColumn)))}}}e.MultiCursorSelectionController=w,w.ID="editor.contrib.multiCursorController";class E extends S.EditorAction{run(K,G){const Z=w.get(G);if(!Z)return;const J=G._getViewModel();if(J){const X=J.getCursorStates(),H=s.CommonFindController.get(G);if(H)this._run(Z,H);else{const B=K.get(h.IInstantiationService).createInstance(s.CommonFindController,G);this._run(Z,B),B.dispose()}c(X,J.getCursorStates())}}}e.MultiCursorSelectionControllerAction=E;class I extends E{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:i.localize(10,null),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:2082,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(11,null),order:5}})}_run(K,G){K.addSelectionToNextFindMatch(G)}}e.AddSelectionToNextFindMatchAction=I;class M extends E{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:i.localize(12,null),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(13,null),order:6}})}_run(K,G){K.addSelectionToPreviousFindMatch(G)}}e.AddSelectionToPreviousFindMatchAction=M;class P extends E{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:i.localize(14,null),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:(0,y.KeyChord)(2089,2082),weight:100}})}_run(K,G){K.moveSelectionToNextFindMatch(G)}}e.MoveSelectionToNextFindMatchAction=P;class x extends E{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:i.localize(15,null),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(K,G){K.moveSelectionToPreviousFindMatch(G)}}e.MoveSelectionToPreviousFindMatchAction=x;class T extends E{constructor(){super({id:"editor.action.selectHighlights",label:i.localize(16,null),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:3114,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(17,null),order:7}})}_run(K,G){K.selectAll(G)}}e.SelectHighlightsAction=T;class A extends E{constructor(){super({id:"editor.action.changeAll",label:i.localize(18,null),alias:"Change All Occurrences",precondition:t.ContextKeyExpr.and(C.EditorContextKeys.writable,C.EditorContextKeys.editorTextFocus),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(K,G){K.selectAll(G)}}e.CompatChangeAll=A;class N{constructor(K,G,Z,J,X){this._model=K,this._searchText=G,this._matchCase=Z,this._wordSeparators=J,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,X&&this._model===X._model&&this._searchText===X._searchText&&this._matchCase===X._matchCase&&this._wordSeparators===X._wordSeparators&&this._modelVersionId===X._modelVersionId&&(this._cachedFindMatches=X._cachedFindMatches)}findMatches(){return this._cachedFindMatches===null&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(K=>K.range),this._cachedFindMatches.sort(_.Range.compareRangesUsingStarts)),this._cachedFindMatches}}let F=r=class extends D.Disposable{constructor(K,G){super(),this._languageFeaturesService=G,this.editor=K,this._isEnabled=K.getOption(106),this._decorations=K.createDecorationsCollection(),this.updateSoon=this._register(new k.RunOnceScheduler(()=>this._update(),300)),this.state=null,this._register(K.onDidChangeConfiguration(J=>{this._isEnabled=K.getOption(106)})),this._register(K.onDidChangeCursorSelection(J=>{this._isEnabled&&(J.selection.isEmpty()?J.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(K.onDidChangeModel(J=>{this._setState(null)})),this._register(K.onDidChangeModelContent(J=>{this._isEnabled&&this.updateSoon.schedule()}));const Z=s.CommonFindController.get(K);Z&&this._register(Z.getState().onFindReplaceStateChange(J=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(r._createState(this.state,this._isEnabled,this.editor))}static _createState(K,G,Z){if(!G||!Z.hasModel())return null;const J=Z.getSelection();if(J.startLineNumber!==J.endLineNumber)return null;const X=w.get(Z);if(!X)return null;const H=s.CommonFindController.get(Z);if(!H)return null;let B=X.getSession(H);if(!B){const ie=Z.getSelections();if(ie.length>1){const ce=H.getState().matchCase;if(!O(Z.getModel(),ie,ce))return null}B=b.create(Z,H)}if(!B||B.currentMatch||/^[ \t]+$/.test(B.searchText)||B.searchText.length>200)return null;const V=H.getState(),Y=V.matchCase;if(V.isRevealed){let ie=V.searchString;Y||(ie=ie.toLowerCase());let ae=B.searchText;if(Y||(ae=ae.toLowerCase()),ie===ae&&B.matchCase===V.matchCase&&B.wholeWord===V.wholeWord&&!V.isRegex)return null}return new N(Z.getModel(),B.searchText,B.matchCase,B.wholeWord?Z.getOption(128):null,K)}_setState(K){if(this.state=K,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;const G=this.editor.getModel();if(G.isTooLargeForTokenization())return;const Z=this.state.findMatches(),J=this.editor.getSelections();J.sort(_.Range.compareRangesUsingStarts);const X=[];for(let V=0,Y=0,ie=Z.length,ae=J.length;V=ae)X.push(ce),V++;else{const de=_.Range.compareRangesUsingStarts(ce,J[Y]);de<0?((J[Y].isEmpty()||!_.Range.areIntersecting(ce,J[Y]))&&X.push(ce),V++):(de>0||V++,Y++)}}const H=this._languageFeaturesService.documentHighlightProvider.has(G)&&this.editor.getOption(79),B=X.map(V=>({range:V,options:(0,u.getSelectionHighlightDecorationOptions)(H)}));this._decorations.set(B)}dispose(){this._setState(null),super.dispose()}};e.SelectionHighlighter=F,F.ID="editor.contrib.selectionHighlighter",e.SelectionHighlighter=F=r=ke([fe(1,a.ILanguageFeaturesService)],F);function O(R,K,G){const Z=W(R,K[0],!G);for(let J=1,X=K.length;J()=>Promise.resolve(N.provideDocumentHighlights(P,x,T)).then(void 0,S.onUnexpectedExternalError)),k.isNonEmptyArray)}e.getOccurrencesAtPosition=c;class o{constructor(P,x,T){this._model=P,this._selection=x,this._wordSeparators=T,this._wordRange=this._getCurrentWordRange(P,x),this._result=null}get result(){return this._result||(this._result=(0,y.createCancelablePromise)(P=>this._compute(this._model,this._selection,this._wordSeparators,P))),this._result}_getCurrentWordRange(P,x){const T=P.getWordAtPosition(x.getPosition());return T?new g.Range(x.startLineNumber,T.startColumn,x.startLineNumber,T.endColumn):null}isValid(P,x,T){const A=x.startLineNumber,N=x.startColumn,F=x.endColumn,O=this._getCurrentWordRange(P,x);let W=!!(this._wordRange&&this._wordRange.equalsRange(O));for(let U=0,j=T.length;!W&&U=F&&(W=!0)}return W}cancel(){this.result.cancel()}}class d extends o{constructor(P,x,T,A){super(P,x,T),this._providers=A}_compute(P,x,T,A){return c(this._providers,P,x.getPosition(),A).then(N=>N||[])}}class l extends o{constructor(P,x,T){super(P,x,T),this._selectionIsEmpty=x.isEmpty()}_compute(P,x,T,A){return(0,y.timeout)(250,A).then(()=>{if(!x.isEmpty())return[];const N=P.getWordAtPosition(x.getPosition());return!N||N.word.length>1e3?[]:P.findMatches(N.word,!0,!1,!0,T,!1).map(O=>({range:O.range,kind:s.DocumentHighlightKind.Text}))})}isValid(P,x,T){const A=x.isEmpty();return this._selectionIsEmpty!==A?!1:super.isValid(P,x,T)}}function p(M,P,x,T){return M.has(P)?new d(P,x,T,M):new l(P,x,T)}(0,_.registerModelAndPositionCommand)("_executeDocumentHighlights",(M,P,x)=>{const T=M.get(t.ILanguageFeaturesService);return c(T.documentHighlightProvider,P,x,D.CancellationToken.None)});class m{constructor(P,x,T,A){this.toUnhook=new f.DisposableStore,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=P,this.providers=x,this.linkedHighlighters=T,this._hasWordHighlights=r.bindTo(A),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(79),this.model=this.editor.getModel(),this.toUnhook.add(P.onDidChangeCursorPosition(N=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(N)})),this.toUnhook.add(P.onDidChangeModelContent(N=>{this._stopAll()})),this.toUnhook.add(P.onDidChangeConfiguration(N=>{const F=this.editor.getOption(79);this.occurrencesHighlight!==F&&(this.occurrencesHighlight=F,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(g.Range.compareRangesUsingStarts)}moveNext(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))+1)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))-1+P.length)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(P){if(!this.occurrencesHighlight){this._stopAll();return}if(P.reason!==3){this._stopAll();return}this._run()}_getWord(){const P=this.editor.getSelection(),x=P.startLineNumber,T=P.startColumn;return this.model.getWordAtPosition({lineNumber:x,column:T})}_run(){const P=this.editor.getSelection();if(P.startLineNumber!==P.endLineNumber){this._stopAll();return}const x=P.startColumn,T=P.endColumn,A=this._getWord();if(!A||A.startColumn>x||A.endColumn{F===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=O||[],this._beginRenderDecorations())},S.onUnexpectedError)}}_beginRenderDecorations(){const P=new Date().getTime(),x=this.lastCursorPositionChangeTime+250;P>=x?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},x-P)}renderDecorations(){this.renderDecorationsTimer=-1;const P=[];for(const x of this.workerRequestValue)x.range&&P.push({range:x.range,options:(0,a.getHighlightDecorationOptions)(x.kind)});this.decorations.set(P),this._hasWordHighlights.set(this.hasDecorations());for(const x of this.linkedHighlighters())x?.editor.getModel()===this.editor.getModel()&&(x._stopAll(),x.decorations.set(P),x._hasWordHighlights.set(x.hasDecorations()))}dispose(){this._stopAll(),this.toUnhook.dispose()}}let v=h=class extends f.Disposable{static get(P){return P.getContribution(h.ID)}constructor(P,x,T){super(),this.wordHighlighter=null,this.linkedContributions=new Set;const A=()=>{P.hasModel()&&(this.wordHighlighter=new m(P,T.documentHighlightProvider,()=>u.Iterable.map(this.linkedContributions,N=>N.wordHighlighter),x))};this._register(P.onDidChangeModel(N=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),A()})),A()}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveNext()}moveBack(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveBack()}restoreViewState(P){this.wordHighlighter&&P&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};e.WordHighlighterContribution=v,v.ID="editor.contrib.wordHighlighter",e.WordHighlighterContribution=v=h=ke([fe(1,n.IContextKeyService),fe(2,t.ILanguageFeaturesService)],v);class b extends _.EditorAction{constructor(P,x){super(x),this._isNext=P}run(P,x){const T=v.get(x);T&&(this._isNext?T.moveNext():T.moveBack())}}class w extends b{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:i.localize(0,null),alias:"Go to Next Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:65,weight:100}})}}class E extends b{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:i.localize(1,null),alias:"Go to Previous Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})}}class I extends _.EditorAction{constructor(){super({id:"editor.action.wordHighlight.trigger",label:i.localize(2,null),alias:"Trigger Symbol Highlight",precondition:r.toNegated(),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:0,weight:100}})}run(P,x,T){const A=v.get(x);A&&A.restoreViewState(!0)}}(0,_.registerEditorContribution)(v.ID,v,0),(0,_.registerEditorAction)(w),(0,_.registerEditorAction)(E),(0,_.registerEditorAction)(I)}),define(ne[898],se([1,0,7,130,38,164,2,47,5,40,467]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ZoneWidget=e.OverlayWidgetDelegate=void 0;const C=new y.Color(new y.RGBA(0,122,204)),s={showArrow:!0,showFrame:!0,className:"",frameColor:C,arrowColor:C,keepEditorSelection:!1},i="vs.editor.contrib.zoneWidget";class n{constructor(r,c,o,d,l,p,m,v){this.id="",this.domNode=r,this.afterLineNumber=c,this.afterColumn=o,this.heightInLines=d,this.showInHiddenAreas=m,this.ordinal=v,this._onDomNodeTop=l,this._onComputedHeight=p}onDomNodeTop(r){this._onDomNodeTop(r)}onComputedHeight(r){this._onComputedHeight(r)}}class t{constructor(r,c){this._id=r,this._domNode=c}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}e.OverlayWidgetDelegate=t;class a{constructor(r){this._editor=r,this._ruleName=a._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),L.removeCSSRulesContainingSelector(this._ruleName)}set color(r){this._color!==r&&(this._color=r,this._updateStyle())}set height(r){this._height!==r&&(this._height=r,this._updateStyle())}_updateStyle(){L.removeCSSRulesContainingSelector(this._ruleName),L.createCSSRule(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(r){r.column===1&&(r={lineNumber:r.lineNumber,column:2}),this._decorations.set([{range:_.Range.fromPositions(r),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}a._IdGenerator=new D.IdGenerator(".arrow-decoration-");class u{constructor(r,c={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new S.DisposableStore,this.container=null,this._isShowing=!1,this.editor=r,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=f.deepClone(c),f.mixin(this.options,s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(o=>{const d=this._getWidth(o);this.domNode.style.width=d+"px",this.domNode.style.left=this._getLeft(o)+"px",this._onWidth(d)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(r=>{this._viewZone&&r.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new a(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(r){r.frameColor&&(this.options.frameColor=r.frameColor),r.arrowColor&&(this.options.arrowColor=r.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const r=this.options.frameColor.toString();this.container.style.borderTopColor=r,this.container.style.borderBottomColor=r}if(this._arrow&&this.options.arrowColor){const r=this.options.arrowColor.toString();this._arrow.color=r}}_getWidth(r){return r.width-r.minimap.minimapWidth-r.verticalScrollbarWidth}_getLeft(r){return r.minimap.minimapWidth>0&&r.minimap.minimapLeft===0?r.minimap.minimapWidth:0}_onViewZoneTop(r){this.domNode.style.top=r+"px"}_onViewZoneHeight(r){var c;if(this.domNode.style.height=`${r}px`,this.container){const o=r-this._decoratingElementsHeight();this.container.style.height=`${o}px`;const d=this.editor.getLayoutInfo();this._doLayout(o,this._getWidth(d))}(c=this._resizeSash)===null||c===void 0||c.layout()}get position(){const r=this._positionMarkerId.getRange(0);if(r)return r.getStartPosition()}show(r,c){const o=_.Range.isIRange(r)?_.Range.lift(r):_.Range.fromPositions(r);this._isShowing=!0,this._showImpl(o,c),this._isShowing=!1,this._positionMarkerId.set([{range:o,options:g.ModelDecorationOptions.EMPTY}])}hide(){var r;this._viewZone&&(this.editor.changeViewZones(c=>{this._viewZone&&c.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(r=this._arrow)===null||r===void 0||r.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const r=this.editor.getOption(65);let c=0;if(this.options.showArrow){const o=Math.round(r/3);c+=2*o}if(this.options.showFrame){const o=Math.round(r/9);c+=2*o}return c}_showImpl(r,c){const o=r.getStartPosition(),d=this.editor.getLayoutInfo(),l=this._getWidth(d);this.domNode.style.width=`${l}px`,this.domNode.style.left=this._getLeft(d)+"px";const p=document.createElement("div");p.style.overflow="hidden";const m=this.editor.getOption(65);if(!this.options.allowUnlimitedHeight){const I=Math.max(12,this.editor.getLayoutInfo().height/m*.8);c=Math.min(c,I)}let v=0,b=0;if(this._arrow&&this.options.showArrow&&(v=Math.round(m/3),this._arrow.height=v,this._arrow.show(o)),this.options.showFrame&&(b=Math.round(m/9)),this.editor.changeViewZones(I=>{this._viewZone&&I.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new n(p,o.lineNumber,o.column,c,M=>this._onViewZoneTop(M),M=>this._onViewZoneHeight(M),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=I.addZone(this._viewZone),this._overlayWidget=new t(i+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const I=this.options.frameWidth?this.options.frameWidth:b;this.container.style.borderTopWidth=I+"px",this.container.style.borderBottomWidth=I+"px"}const w=c*m-this._decoratingElementsHeight();this.container&&(this.container.style.top=v+"px",this.container.style.height=w+"px",this.container.style.overflow="hidden"),this._doLayout(w,l),this.options.keepEditorSelection||this.editor.setSelection(r);const E=this.editor.getModel();if(E){const I=E.validateRange(new _.Range(r.startLineNumber,1,r.endLineNumber+1,1));this.revealRange(I,I.startLineNumber===E.getLineCount())}}revealRange(r,c){c?this.editor.revealLineNearTop(r.endLineNumber,0):this.editor.revealRange(r,0)}setCssClass(r,c){this.container&&(c&&this.container.classList.remove(c),this.container.classList.add(r))}_onWidth(r){}_doLayout(r,c){}_relayout(r){this._viewZone&&this._viewZone.heightInLines!==r&&this.editor.changeViewZones(c=>{this._viewZone&&(this._viewZone.heightInLines=r,c.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new k.Sash(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let r;this._disposables.add(this._resizeSash.onDidStart(c=>{this._viewZone&&(r={startY:c.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{r=void 0})),this._disposables.add(this._resizeSash.onDidChange(c=>{if(r){const o=(c.currentY-r.startY)/this.editor.getOption(65),d=o<0?Math.ceil(o):Math.floor(o),l=r.heightInLines+d;l>5&&l<35&&this._relayout(l)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const r=this.editor.getLayoutInfo();return r.width-r.minimap.minimapWidth}}e.ZoneWidget=u}),define(ne[138],se([1,0,7,68,39,25,26,38,6,47,16,33,162,898,690,160,15,50,8,31,458]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.peekViewEditorMatchHighlightBorder=e.peekViewEditorMatchHighlight=e.peekViewResultsMatchHighlight=e.peekViewEditorStickyScrollBackground=e.peekViewEditorGutterBackground=e.peekViewEditorBackground=e.peekViewResultsSelectionForeground=e.peekViewResultsSelectionBackground=e.peekViewResultsFileForeground=e.peekViewResultsMatchForeground=e.peekViewResultsBackground=e.peekViewBorder=e.peekViewTitleInfoForeground=e.peekViewTitleForeground=e.peekViewTitleBackground=e.PeekViewWidget=e.getOuterEditor=e.PeekContext=e.IPeekViewService=void 0,e.IPeekViewService=(0,r.createDecorator)("IPeekViewService"),(0,h.registerSingleton)(e.IPeekViewService,class{constructor(){this._widgets=new Map}addExclusiveWidget(v,b){const w=this._widgets.get(v);w&&(w.listener.dispose(),w.widget.dispose());const E=()=>{const I=this._widgets.get(v);I&&I.widget===b&&(I.listener.dispose(),this._widgets.delete(v))};this._widgets.set(v,{widget:b,listener:b.onDidClose(E)})}},1);var o;(function(v){v.inPeekEditor=new u.RawContextKey("inReferenceSearchEditor",!0,t.localize(0,null)),v.notInPeekEditor=v.inPeekEditor.toNegated()})(o||(e.PeekContext=o={}));let d=class{constructor(b,w){b instanceof i.EmbeddedCodeEditorWidget&&o.inPeekEditor.bindTo(w)}dispose(){}};d.ID="editor.contrib.referenceController",d=ke([fe(1,u.IContextKeyService)],d),(0,C.registerEditorContribution)(d.ID,d,0);function l(v){const b=v.get(s.ICodeEditorService).getFocusedCodeEditor();return b instanceof i.EmbeddedCodeEditorWidget?b.getParentEditor():b}e.getOuterEditor=l;const p={headerBackgroundColor:f.Color.white,primaryHeadingColor:f.Color.fromHex("#333333"),secondaryHeadingColor:f.Color.fromHex("#6c6c6cb3")};let m=class extends n.ZoneWidget{constructor(b,w,E){super(b,w),this.instantiationService=E,this._onDidClose=new _.Emitter,this.onDidClose=this._onDidClose.event,g.mixin(this.options,p,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(b){const w=this.options;b.headerBackgroundColor&&(w.headerBackgroundColor=b.headerBackgroundColor),b.primaryHeadingColor&&(w.primaryHeadingColor=b.primaryHeadingColor),b.secondaryHeadingColor&&(w.secondaryHeadingColor=b.secondaryHeadingColor),super.style(b)}_applyStyles(){super._applyStyles();const b=this.options;this._headElement&&b.headerBackgroundColor&&(this._headElement.style.backgroundColor=b.headerBackgroundColor.toString()),this._primaryHeading&&b.primaryHeadingColor&&(this._primaryHeading.style.color=b.primaryHeadingColor.toString()),this._secondaryHeading&&b.secondaryHeadingColor&&(this._secondaryHeading.style.color=b.secondaryHeadingColor.toString()),this._bodyElement&&b.frameColor&&(this._bodyElement.style.borderColor=b.frameColor.toString())}_fillContainer(b){this.setCssClass("peekview-widget"),this._headElement=L.$(".head"),this._bodyElement=L.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),b.appendChild(this._headElement),b.appendChild(this._bodyElement)}_fillHead(b,w){this._titleElement=L.$(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),L.addStandardDisposableListener(this._titleElement,"click",M=>this._onTitleClick(M))),L.append(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=L.$("span.filename"),this._secondaryHeading=L.$("span.dirname"),this._metaHeading=L.$("span.meta"),L.append(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const E=L.$(".peekview-actions");L.append(this._headElement,E);const I=this._getActionBarOptions();this._actionbarWidget=new k.ActionBar(E,I),this._disposables.add(this._actionbarWidget),w||this._actionbarWidget.push(new y.Action("peekview.close",t.localize(1,null),S.ThemeIcon.asClassName(D.Codicon.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(b){}_getActionBarOptions(){return{actionViewItemProvider:a.createActionViewItem.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(b){}setTitle(b,w){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=b,this._primaryHeading.setAttribute("title",b),w?this._secondaryHeading.innerText=w:L.clearNode(this._secondaryHeading))}setMetaTitle(b){this._metaHeading&&(b?(this._metaHeading.innerText=b,L.show(this._metaHeading)):L.hide(this._metaHeading))}_doLayout(b,w){if(!this._isShowing&&b<0){this.dispose();return}const E=Math.ceil(this.editor.getOption(65)*1.2),I=Math.round(b-(E+2));this._doLayoutHead(E,w),this._doLayoutBody(I,w)}_doLayoutHead(b,w){this._headElement&&(this._headElement.style.height=`${b}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(b,w){this._bodyElement&&(this._bodyElement.style.height=`${b}px`)}};e.PeekViewWidget=m,e.PeekViewWidget=m=ke([fe(2,r.IInstantiationService)],m),e.peekViewTitleBackground=(0,c.registerColor)("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(2,null)),e.peekViewTitleForeground=(0,c.registerColor)("peekViewTitleLabel.foreground",{dark:f.Color.white,light:f.Color.black,hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(3,null)),e.peekViewTitleInfoForeground=(0,c.registerColor)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},t.localize(4,null)),e.peekViewBorder=(0,c.registerColor)("peekView.border",{dark:c.editorInfoForeground,light:c.editorInfoForeground,hcDark:c.contrastBorder,hcLight:c.contrastBorder},t.localize(5,null)),e.peekViewResultsBackground=(0,c.registerColor)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(6,null)),e.peekViewResultsMatchForeground=(0,c.registerColor)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(7,null)),e.peekViewResultsFileForeground=(0,c.registerColor)("peekViewResult.fileForeground",{dark:f.Color.white,light:"#1E1E1E",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(8,null)),e.peekViewResultsSelectionBackground=(0,c.registerColor)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},t.localize(9,null)),e.peekViewResultsSelectionForeground=(0,c.registerColor)("peekViewResult.selectionForeground",{dark:f.Color.white,light:"#6C6C6C",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(10,null)),e.peekViewEditorBackground=(0,c.registerColor)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(11,null)),e.peekViewEditorGutterBackground=(0,c.registerColor)("peekViewEditorGutter.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(12,null)),e.peekViewEditorStickyScrollBackground=(0,c.registerColor)("peekViewEditorStickyScroll.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(13,null)),e.peekViewResultsMatchHighlight=(0,c.registerColor)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},t.localize(14,null)),e.peekViewEditorMatchHighlight=(0,c.registerColor)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},t.localize(15,null)),e.peekViewEditorMatchHighlightBorder=(0,c.registerColor)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:c.activeContrastBorder,hcLight:c.activeContrastBorder},t.localize(16,null))}),define(ne[899],se([1,0,7,75,14,38,6,2,45,11,5,138,663,160,30,15,8,158,97,56,789,31,23,445]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerNavigationWidget=void 0;class m{constructor(O,W,U,j,R){this._openerService=j,this._labelService=R,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new f.DisposableStore,this._editor=W;const K=document.createElement("div");K.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),K.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),K.appendChild(this._relatedBlock),this._disposables.add(L.addStandardDisposableListener(this._relatedBlock,"click",G=>{G.preventDefault();const Z=this._relatedDiagnostics.get(G.target);Z&&U(Z)})),this._scrollable=new k.ScrollableElement(K,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),O.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(G=>{K.style.left=`-${G.scrollLeft}px`,K.style.top=`-${G.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,f.dispose)(this._disposables)}update(O){const{source:W,message:U,relatedInformation:j,code:R}=O;let K=(W?.length||0)+2;R&&(typeof R=="string"?K+=R.length:K+=R.value.length);const G=(0,g.splitLines)(U);this._lines=G.length,this._longestLineLength=0;for(const B of G)this._longestLineLength=Math.max(B.length+K,this._longestLineLength);L.clearNode(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(O)),this._editor.applyFontInfo(this._messageBlock);let Z=this._messageBlock;for(const B of G)Z=document.createElement("div"),Z.innerText=B,B===""&&(Z.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(Z);if(W||R){const B=document.createElement("span");if(B.classList.add("details"),Z.appendChild(B),W){const V=document.createElement("span");V.innerText=W,V.classList.add("source"),B.appendChild(V)}if(R)if(typeof R=="string"){const V=document.createElement("span");V.innerText=`(${R})`,V.classList.add("code"),B.appendChild(V)}else{this._codeLink=L.$("a.code-link"),this._codeLink.setAttribute("href",`${R.target.toString()}`),this._codeLink.onclick=Y=>{this._openerService.open(R.target,{allowCommands:!0}),Y.preventDefault(),Y.stopPropagation()};const V=L.append(this._codeLink,L.$("span"));V.innerText=R.value,B.appendChild(this._codeLink)}}if(L.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.isNonEmptyArray)(j)){const B=this._relatedBlock.appendChild(document.createElement("div"));B.style.paddingTop=`${Math.floor(this._editor.getOption(65)*.66)}px`,this._lines+=1;for(const V of j){const Y=document.createElement("div"),ie=document.createElement("a");ie.classList.add("filename"),ie.innerText=`${this._labelService.getUriBasenameLabel(V.resource)}(${V.startLineNumber}, ${V.startColumn}): `,ie.title=this._labelService.getUriLabel(V.resource),this._relatedDiagnostics.set(ie,V);const ae=document.createElement("span");ae.innerText=V.message,Y.appendChild(ie),Y.appendChild(ae),this._lines+=1,B.appendChild(Y)}}const J=this._editor.getOption(49),X=Math.ceil(J.typicalFullwidthCharacterWidth*this._longestLineLength*.75),H=J.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:X,scrollHeight:H})}layout(O,W){this._scrollable.getDomNode().style.height=`${O}px`,this._scrollable.getDomNode().style.width=`${W}px`,this._scrollable.setScrollDimensions({width:W,height:O})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(O){let W="";switch(O.severity){case r.MarkerSeverity.Error:W=i.localize(0,null);break;case r.MarkerSeverity.Warning:W=i.localize(1,null);break;case r.MarkerSeverity.Info:W=i.localize(2,null);break;case r.MarkerSeverity.Hint:W=i.localize(3,null);break}let U=i.localize(4,null,W,O.startLineNumber+":"+O.startColumn);const j=this._editor.getModel();return j&&O.startLineNumber<=j.getLineCount()&&O.startLineNumber>=1&&(U=`${j.getLineContent(O.startLineNumber)}, ${U}`),U}}let v=p=class extends s.PeekViewWidget{constructor(O,W,U,j,R,K,G){super(O,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},R),this._themeService=W,this._openerService=U,this._menuService=j,this._contextKeyService=K,this._labelService=G,this._callOnDispose=new f.DisposableStore,this._onDidSelectRelatedInformation=new S.Emitter,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=r.MarkerSeverity.Warning,this._backgroundColor=D.Color.white,this._applyTheme(W.getColorTheme()),this._callOnDispose.add(W.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(O){this._backgroundColor=O.getColor(N);let W=I,U=M;this._severity===r.MarkerSeverity.Warning?(W=P,U=x):this._severity===r.MarkerSeverity.Info&&(W=T,U=A);const j=O.getColor(W),R=O.getColor(U);this.style({arrowColor:j,frameColor:j,headerBackgroundColor:R,primaryHeadingColor:O.getColor(s.peekViewTitleForeground),secondaryHeadingColor:O.getColor(s.peekViewTitleInfoForeground)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(O){super._fillHead(O),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(j=>this.editor.focus()));const W=[],U=this._menuService.createMenu(p.TitleMenu,this._contextKeyService);(0,n.createAndFillInActionBarActions)(U,void 0,W),this._actionbarWidget.push(W,{label:!1,icon:!0,index:0}),U.dispose()}_fillTitleIcon(O){this._icon=L.append(O,L.$(""))}_fillBody(O){this._parentContainer=O,O.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),O.appendChild(this._container),this._message=new m(this._container,this.editor,W=>this._onDidSelectRelatedInformation.fire(W),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(O,W,U){this._container.classList.remove("stale"),this._message.update(O),this._severity=O.severity,this._applyTheme(this._themeService.getColorTheme());const j=C.Range.lift(O),R=this.editor.getPosition(),K=R&&j.containsPosition(R)?R:j.getStartPosition();super.show(K,this.computeRequiredHeight());const G=this.editor.getModel();if(G){const Z=U>1?i.localize(5,null,W,U):i.localize(6,null,W,U);this.setTitle((0,_.basename)(G.uri),Z)}this._icon.className=`codicon ${o.SeverityIcon.className(r.MarkerSeverity.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(K,0),this.editor.focus()}updateMarker(O){this._container.classList.remove("stale"),this._message.update(O)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(O,W){super._doLayoutBody(O,W),this._heightInPixel=O,this._message.layout(O,W),this._container.style.height=`${O}px`}_onWidth(O){this._message.layout(this._heightInPixel,O)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};e.MarkerNavigationWidget=v,v.TitleMenu=new t.MenuId("gotoErrorTitleMenu"),e.MarkerNavigationWidget=v=p=ke([fe(1,l.IThemeService),fe(2,c.IOpenerService),fe(3,t.IMenuService),fe(4,u.IInstantiationService),fe(5,a.IContextKeyService),fe(6,h.ILabelService)],v);const b=(0,d.oneOf)(d.editorErrorForeground,d.editorErrorBorder),w=(0,d.oneOf)(d.editorWarningForeground,d.editorWarningBorder),E=(0,d.oneOf)(d.editorInfoForeground,d.editorInfoBorder),I=(0,d.registerColor)("editorMarkerNavigationError.background",{dark:b,light:b,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(7,null)),M=(0,d.registerColor)("editorMarkerNavigationError.headerBackground",{dark:(0,d.transparent)(I,.1),light:(0,d.transparent)(I,.1),hcDark:null,hcLight:null},i.localize(8,null)),P=(0,d.registerColor)("editorMarkerNavigationWarning.background",{dark:w,light:w,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(9,null)),x=(0,d.registerColor)("editorMarkerNavigationWarning.headerBackground",{dark:(0,d.transparent)(P,.1),light:(0,d.transparent)(P,.1),hcDark:"#0C141F",hcLight:(0,d.transparent)(P,.2)},i.localize(10,null)),T=(0,d.registerColor)("editorMarkerNavigationInfo.background",{dark:E,light:E,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(11,null)),A=(0,d.registerColor)("editorMarkerNavigationInfo.headerBackground",{dark:(0,d.transparent)(T,.1),light:(0,d.transparent)(T,.1),hcDark:null,hcLight:null},i.localize(12,null)),N=(0,d.registerColor)("editorMarkerNavigation.background",{dark:d.editorBackground,light:d.editorBackground,hcDark:d.editorBackground,hcLight:d.editorBackground},i.localize(13,null))}),define(ne[369],se([1,0,25,2,16,33,12,5,21,766,662,30,15,8,62,899]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.NextMarkerAction=e.MarkerController=void 0;let h=u=class{static get(b){return b.getContribution(u.ID)}constructor(b,w,E,I,M){this._markerNavigationService=w,this._contextKeyService=E,this._editorService=I,this._instantiationService=M,this._sessionDispoables=new k.DisposableStore,this._editor=b,this._widgetVisible=p.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(b){if(this._model&&this._model.matches(b))return this._model;let w=!1;return this._model&&(w=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(b),w&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(a.MarkerNavigationWidget,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(E=>{var I,M,P;(!(!((I=this._model)===null||I===void 0)&&I.selected)||!f.Range.containsPosition((M=this._model)===null||M===void 0?void 0:M.selected.marker,E.position))&&((P=this._model)===null||P===void 0||P.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const E=this._model.find(this._editor.getModel().uri,this._widget.position);E?this._widget.updateMarker(E.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(E=>{this._editorService.openCodeEditor({resource:E.resource,options:{pinned:!0,revealIfOpened:!0,selection:f.Range.lift(E).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(b=!0){this._cleanUp(),b&&this._editor.focus()}showAtMarker(b){if(this._editor.hasModel()){const w=this._getOrCreateModel(this._editor.getModel().uri);w.resetIndex(),w.move(!0,this._editor.getModel(),new S.Position(b.startLineNumber,b.startColumn)),w.selected&&this._widget.showAtMarker(w.selected.marker,w.selected.index,w.selected.total)}}nagivate(b,w){var E,I;return we(this,void 0,void 0,function*(){if(this._editor.hasModel()){const M=this._getOrCreateModel(w?void 0:this._editor.getModel().uri);if(M.move(b,this._editor.getModel(),this._editor.getPosition()),!M.selected)return;if(M.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const P=yield this._editorService.openCodeEditor({resource:M.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:M.selected.marker}},this._editor);P&&((E=u.get(P))===null||E===void 0||E.close(),(I=u.get(P))===null||I===void 0||I.nagivate(b,w))}else this._widget.showAtMarker(M.selected.marker,M.selected.index,M.selected.total)}})}};e.MarkerController=h,h.ID="editor.contrib.markerController",e.MarkerController=h=u=ke([fe(1,g.IMarkerNavigationService),fe(2,i.IContextKeyService),fe(3,D.ICodeEditorService),fe(4,n.IInstantiationService)],h);class r extends y.EditorAction{constructor(b,w,E){super(E),this._next=b,this._multiFile=w}run(b,w){var E;return we(this,void 0,void 0,function*(){w.hasModel()&&((E=h.get(w))===null||E===void 0||E.nagivate(this._next,this._multiFile))})}}class c extends r{constructor(){super(!0,!1,{id:c.ID,label:c.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:578,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:c.LABEL,icon:(0,t.registerIcon)("marker-navigation-next",L.Codicon.arrowDown,C.localize(1,null)),group:"navigation",order:1}})}}e.NextMarkerAction=c,c.ID="editor.action.marker.next",c.LABEL=C.localize(0,null);class o extends r{constructor(){super(!1,!1,{id:o.ID,label:o.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1602,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:o.LABEL,icon:(0,t.registerIcon)("marker-navigation-previous",L.Codicon.arrowUp,C.localize(3,null)),group:"navigation",order:2}})}}o.ID="editor.action.marker.prev",o.LABEL=C.localize(2,null);class d extends r{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:C.localize(4,null),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:66,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(5,null),group:"6_problem_nav",order:1}})}}class l extends r{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:C.localize(6,null),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1090,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(7,null),group:"6_problem_nav",order:2}})}}(0,y.registerEditorContribution)(h.ID,h,4),(0,y.registerEditorAction)(c),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l);const p=new i.RawContextKey("markersNavigationVisible",!1),m=y.EditorCommand.bindToContribution(h.get);(0,y.registerEditorCommand)(new m({id:"closeMarkersNavigation",precondition:p,handler:v=>v.close(),kbOpts:{weight:100+50,kbExpr:_.EditorContextKeys.focus,primary:9,secondary:[1033]}}))}),define(ne[900],se([1,0,7,311,38,6,2,54,45,162,5,40,32,78,41,69,824,138,668,8,34,158,191,23,192,155,447]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferenceWidget=e.LayoutData=void 0;class b{constructor(P,x){this._editor=P,this._model=x,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new S.DisposableStore,this._callOnModelChange=new S.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const P=this._editor.getModel();if(P){for(const x of this._model.references)if(x.uri.toString()===P.uri.toString()){this._addDecorations(x.parent);return}}}_addDecorations(P){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const x=[],T=[];for(let A=0,N=P.children.length;A{const N=A.deltaDecorations([],x);for(let F=0;F{N.equals(9)&&(this._keybindingService.dispatchEvent(N,N.target),N.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(E,"ReferencesWidget",this._treeContainer,new u.Delegate,[this._instantiationService.createInstance(u.FileReferencesRenderer),this._instantiationService.createInstance(u.OneReferenceRenderer)],this._instantiationService.createInstance(u.DataSource),T),this._splitView.addView({onDidChange:D.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:N=>{this._preview.layout({height:this._dim.height,width:N})}},k.Sizing.Distribute),this._splitView.addView({onDidChange:D.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:N=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${N}px`,this._tree.layout(this._dim.height,N)}},k.Sizing.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const A=(N,F)=>{N instanceof v.OneReference&&(F==="show"&&this._revealReference(N,!1),this._onDidSelectReference.fire({element:N,kind:F,source:"tree"}))};this._tree.onDidOpen(N=>{N.sideBySide?A(N.element,"side"):N.editorOptions.pinned?A(N.element,"goto"):A(N.element,"show")}),L.hide(this._treeContainer)}_onWidth(P){this._dim&&this._doLayoutBody(this._dim.height,P)}_doLayoutBody(P,x){super._doLayoutBody(P,x),this._dim=new L.Dimension(x,P),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(x),this._splitView.resizeView(0,x*this.layoutData.ratio)}setSelection(P){return this._revealReference(P,!0).then(()=>{this._model&&(this._tree.setSelection([P]),this._tree.setFocus([P]))})}setModel(P){return this._disposeOnNewModel.clear(),this._model=P,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=r.localize(1,null),L.show(this._messageContainer),Promise.resolve(void 0)):(L.hide(this._messageContainer),this._decorationsManager=new b(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(P=>this._tree.rerender(P))),this._disposeOnNewModel.add(this._preview.onMouseDown(P=>{const{event:x,target:T}=P;if(x.detail!==2)return;const A=this._getFocusedReference();A&&this._onDidSelectReference.fire({element:{uri:A.uri,range:T.range},kind:x.ctrlKey||x.metaKey||x.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),L.show(this._treeContainer),L.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[P]=this._tree.getFocus();if(P instanceof v.OneReference)return P;if(P instanceof v.FileReferences&&P.children.length>0)return P.children[0]}revealReference(P){return we(this,void 0,void 0,function*(){yield this._revealReference(P,!1),this._onDidSelectReference.fire({element:P,kind:"goto",source:"tree"})})}_revealReference(P,x){return we(this,void 0,void 0,function*(){if(this._revealedReference===P)return;this._revealedReference=P,P.uri.scheme!==f.Schemas.inMemory?this.setTitle((0,_.basenameOrAuthority)(P.uri),this._uriLabel.getUriLabel((0,_.dirname)(P.uri))):this.setTitle(r.localize(2,null));const T=this._textModelResolverService.createModelReference(P.uri);this._tree.getInput()===P.parent?this._tree.reveal(P):(x&&this._tree.reveal(P.parent),yield this._tree.expand(P.parent),this._tree.reveal(P));const A=yield T;if(!this._model){A.dispose();return}(0,S.dispose)(this._previewModelReference);const N=A.object;if(N){const F=this._preview.getModel()===N.textEditorModel?0:1,O=C.Range.lift(P.range).collapseToStart();this._previewModelReference=A,this._preview.setModel(N.textEditorModel),this._preview.setSelection(O),this._preview.revealRangeInCenter(O,F)}else this._preview.setModel(this._previewNotAvailableMessage),A.dispose()})}};e.ReferenceWidget=I,e.ReferenceWidget=I=ke([fe(3,p.IThemeService),fe(4,a.ITextModelService),fe(5,c.IInstantiationService),fe(6,h.IPeekViewService),fe(7,d.ILabelService),fe(8,m.IUndoRedoService),fe(9,o.IKeybindingService),fe(10,t.ILanguageService),fe(11,i.ILanguageConfigurationService)],I)}),define(ne[370],se([1,0,13,9,63,2,33,12,5,138,666,27,28,15,8,118,191,43,87,155,900]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesController=e.ctxReferenceSearchVisible=void 0,e.ctxReferenceSearchVisible=new n.RawContextKey("referenceSearchVisible",!1,C.localize(0,null));let l=d=class{static get(v){return v.getContribution(d.ID)}constructor(v,b,w,E,I,M,P,x){this._defaultTreeKeyboardSupport=v,this._editor=b,this._editorService=E,this._notificationService=I,this._instantiationService=M,this._storageService=P,this._configurationService=x,this._disposables=new D.DisposableStore,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=e.ctxReferenceSearchVisible.bindTo(w)}dispose(){var v,b;this._referenceSearchVisible.reset(),this._disposables.dispose(),(v=this._widget)===null||v===void 0||v.dispose(),(b=this._model)===null||b===void 0||b.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(v,b,w){let E;if(this._widget&&(E=this._widget.position),this.closeWidget(),E&&v.containsPosition(E))return;this._peekMode=w,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const I="peekViewLayout",M=o.LayoutData.fromJSON(this._storageService.get(I,0,"{}"));this._widget=this._instantiationService.createInstance(o.ReferenceWidget,this._editor,this._defaultTreeKeyboardSupport,M),this._widget.setTitle(C.localize(1,null)),this._widget.show(v),this._disposables.add(this._widget.onDidClose(()=>{b.cancel(),this._widget&&(this._storageService.store(I,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(x=>{const{element:T,kind:A}=x;if(T)switch(A){case"open":(x.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(T,!1,!1);break;case"side":this.openReference(T,!0,!1);break;case"goto":w?this._gotoReference(T,!0):this.openReference(T,!1,!0);break}}));const P=++this._requestIdPool;b.then(x=>{var T;if(P!==this._requestIdPool||!this._widget){x.dispose();return}return(T=this._model)===null||T===void 0||T.dispose(),this._model=x,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(C.localize(2,null,this._model.title,this._model.references.length));const A=this._editor.getModel().uri,N=new f.Position(v.startLineNumber,v.startColumn),F=this._model.nearestReference(A,N);if(F)return this._widget.setSelection(F).then(()=>{this._widget&&this._editor.getOption(85)==="editor"&&this._widget.focusOnPreviewEditor()})}})},x=>{this._notificationService.error(x)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(v){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const b=this._widget.position;if(!b)return;const w=this._model.nearestReference(this._editor.getModel().uri,b);if(!w)return;const E=this._model.nextOrPreviousReference(w,v),I=this._editor.hasTextFocus(),M=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(E),yield this._gotoReference(E,!1),I?this._editor.focus():this._widget&&M&&this._widget.focusOnPreviewEditor()})}revealReference(v){return we(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(v))})}closeWidget(v=!0){var b,w;(b=this._widget)===null||b===void 0||b.dispose(),(w=this._model)===null||w===void 0||w.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,v&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(v,b){var w;(w=this._widget)===null||w===void 0||w.hide(),this._ignoreModelChangeEvent=!0;const E=_.Range.lift(v.range).collapseToStart();return this._editorService.openCodeEditor({resource:v.uri,options:{selection:E,selectionSource:"code.jump",pinned:b}},this._editor).then(I=>{var M;if(this._ignoreModelChangeEvent=!1,!I||!this._widget){this.closeWidget();return}if(this._editor===I)this._widget.show(E),this._widget.focusOnReferenceTree();else{const P=d.get(I),x=this._model.clone();this.closeWidget(),I.focus(),P?.toggleWidget(E,(0,L.createCancelablePromise)(T=>Promise.resolve(x)),(M=this._peekMode)!==null&&M!==void 0?M:!1)}},I=>{this._ignoreModelChangeEvent=!1,(0,k.onUnexpectedError)(I)})}openReference(v,b,w){b||this.closeWidget();const{uri:E,range:I}=v;this._editorService.openCodeEditor({resource:E,options:{selection:I,selectionSource:"code.jump",pinned:w}},this._editor,b)}};e.ReferencesController=l,l.ID="editor.contrib.referencesController",e.ReferencesController=l=d=ke([fe(2,n.IContextKeyService),fe(3,S.ICodeEditorService),fe(4,h.INotificationService),fe(5,t.IInstantiationService),fe(6,r.IStorageService),fe(7,i.IConfigurationService)],l);function p(m,v){const b=(0,g.getOuterEditor)(m);if(!b)return;const w=l.get(b);w&&v(w)}a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,y.KeyChord)(2089,60),when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.changeFocusBetweenPreviewAndReferences()})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:100-10,primary:62,secondary:[70],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!0)})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:100-10,primary:1086,secondary:[1094],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!1)})}}),s.CommandsRegistry.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),s.CommandsRegistry.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),s.CommandsRegistry.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),s.CommandsRegistry.registerCommand("closeReferenceSearch",m=>p(m,v=>v.closeWidget())),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:100-101,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(g.PeekContext.inPeekEditor,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:200+50,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.revealReference(w[0]))}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!0,!0))}}),s.CommandsRegistry.registerCommand("openReference",m=>{var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!1,!0))})}),define(ne[257],se([1,0,49,13,63,20,22,104,177,16,33,162,12,5,21,29,370,155,804,190,138,664,30,27,15,8,43,77,247,18,46,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P){"use strict";var x,T,A,N,F,O,W,U;Object.defineProperty(e,"__esModule",{value:!0}),e.DefinitionAction=e.SymbolNavigationAction=e.SymbolNavigationAnchor=void 0,l.MenuRegistry.appendMenuItem(l.MenuId.EditorContext,{submenu:l.MenuId.EditorContextPeek,title:d.localize(0,null),group:"navigation",order:100});class j{static is(V){return!V||typeof V!="object"?!1:!!(V instanceof j||i.Position.isIPosition(V.position)&&V.model)}constructor(V,Y){this.model=V,this.position=Y}}e.SymbolNavigationAnchor=j;class R extends g.EditorAction2{static all(){return R._allSymbolNavigationCommands.values()}static _patchConfig(V){const Y=Object.assign(Object.assign({},V),{f1:!0});if(Y.menu)for(const ie of M.Iterable.wrap(Y.menu))(ie.id===l.MenuId.EditorContext||ie.id===l.MenuId.EditorContextPeek)&&(ie.when=m.ContextKeyExpr.and(V.precondition,ie.when));return Y}constructor(V,Y){super(R._patchConfig(Y)),this.configuration=V,R._allSymbolNavigationCommands.set(Y.id,this)}runEditorCommand(V,Y,ie,ae){if(!Y.hasModel())return Promise.resolve(void 0);const ce=V.get(b.INotificationService),de=V.get(C.ICodeEditorService),he=V.get(w.IEditorProgressService),ue=V.get(r.ISymbolNavigationService),te=V.get(I.ILanguageFeaturesService),q=V.get(v.IInstantiationService),z=Y.getModel(),ee=Y.getPosition(),$=j.is(ie)?ie:new j(z,ee),re=new f.EditorStateCancellationTokenSource(Y,5),oe=(0,k.raceCancellation)(this._getLocationModel(te,$.model,$.position,re.token),re.token).then(ge=>we(this,void 0,void 0,function*(){var ve;if(!ge||re.token.isCancellationRequested)return;(0,L.alert)(ge.ariaMessage);let Se;if(ge.referenceAt(z.uri,ee)){const De=this._getAlternativeCommand(Y);!R._activeAlternativeCommands.has(De)&&R._allSymbolNavigationCommands.has(De)&&(Se=R._allSymbolNavigationCommands.get(De))}const Le=ge.references.length;if(Le===0){if(!this.configuration.muteMessage){const De=z.getWordAtPosition(ee);(ve=c.MessageController.get(Y))===null||ve===void 0||ve.showMessage(this._getNoResultFoundMessage(De),ee)}}else if(Le===1&&Se)R._activeAlternativeCommands.add(this.desc.id),q.invokeFunction(De=>Se.runEditorCommand(De,Y,ie,ae).finally(()=>{R._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(de,ue,Y,ge,ae)}),ge=>{ce.error(ge)}).finally(()=>{re.dispose()});return he.showWhile(oe,250),oe}_onResult(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){const de=this._getGoToPreference(ie);if(!(ie instanceof s.EmbeddedCodeEditorWidget)&&(this.configuration.openInPeek||de==="peek"&&ae.references.length>1))this._openInPeek(ie,ae,ce);else{const he=ae.firstReference(),ue=ae.references.length>1&&de==="gotoAndPeek",te=yield this._openReference(ie,V,he,this.configuration.openToSide,!ue);ue&&te?this._openInPeek(te,ae,ce):ae.dispose(),de==="goto"&&Y.put(he)}})}_openReference(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){let de;if((0,a.isLocationLink)(ie)&&(de=ie.targetSelectionRange),de||(de=ie.range),!de)return;const he=yield Y.openCodeEditor({resource:ie.uri,options:{selection:n.Range.collapseToStart(de),selectionRevealType:3,selectionSource:"code.jump"}},V,ae);if(he){if(ce){const ue=he.getModel(),te=he.createDecorationsCollection([{range:de,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{he.getModel()===ue&&te.clear()},350)}return he}})}_openInPeek(V,Y,ie){const ae=u.ReferencesController.get(V);ae&&V.hasModel()?ae.toggleWidget(ie??V.getSelection(),(0,k.createCancelablePromise)(ce=>Promise.resolve(Y)),this.configuration.openInPeek):Y.dispose()}}e.SymbolNavigationAction=R,R._allSymbolNavigationCommands=new Map,R._activeAlternativeCommands=new Set;class K extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDefinitionsAtPosition)(V.definitionProvider,Y,ie,ae),d.localize(1,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(2,null,V.word):d.localize(3,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleDefinitions}}e.DefinitionAction=K,(0,l.registerAction2)((x=class extends K{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:x.id,title:{value:d.localize(4,null),original:"Go to Definition",mnemonicTitle:d.localize(5,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:70,weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:2118,weight:100}],menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.1},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),p.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",x.id)}},x.id="editor.action.revealDefinition",x)),(0,l.registerAction2)((T=class extends K{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:T.id,title:{value:d.localize(6,null),original:"Open Definition to the Side"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,70),weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:(0,y.KeyChord)(2089,2118),weight:100}]}),p.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",T.id)}},T.id="editor.action.revealDefinitionAside",T)),(0,l.registerAction2)((A=class extends K{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:A.id,title:{value:d.localize(7,null),original:"Peek Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:2}}),p.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",A.id)}},A.id="editor.action.peekDefinition",A));class G extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDeclarationsAtPosition)(V.declarationProvider,Y,ie,ae),d.localize(8,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(9,null,V.word):d.localize(10,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDeclarationCommand}_getGoToPreference(V){return V.getOption(57).multipleDeclarations}}(0,l.registerAction2)((N=class extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:N.id,title:{value:d.localize(11,null),original:"Go to Declaration",mnemonicTitle:d.localize(12,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.3},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(13,null,V.word):d.localize(14,null)}},N.id="editor.action.revealDeclaration",N)),(0,l.registerAction2)(class extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:{value:d.localize(15,null),original:"Peek Declaration"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:3}})}});class Z extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getTypeDefinitionsAtPosition)(V.typeDefinitionProvider,Y,ie,ae),d.localize(16,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(17,null,V.word):d.localize(18,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeTypeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleTypeDefinitions}}(0,l.registerAction2)((F=class extends Z{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:F.ID,title:{value:d.localize(19,null),original:"Go to Type Definition",mnemonicTitle:d.localize(20,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:0,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.4},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},F.ID="editor.action.goToTypeDefinition",F)),(0,l.registerAction2)((O=class extends Z{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:O.ID,title:{value:d.localize(21,null),original:"Peek Type Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:4}})}},O.ID="editor.action.peekTypeDefinition",O));class J extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getImplementationsAtPosition)(V.implementationProvider,Y,ie,ae),d.localize(22,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(23,null,V.word):d.localize(24,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeImplementationCommand}_getGoToPreference(V){return V.getOption(57).multipleImplementations}}(0,l.registerAction2)((W=class extends J{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:W.ID,title:{value:d.localize(25,null),original:"Go to Implementations",mnemonicTitle:d.localize(26,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:2118,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},W.ID="editor.action.goToImplementation",W)),(0,l.registerAction2)((U=class extends J{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:U.ID,title:{value:d.localize(27,null),original:"Peek Implementations"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:3142,weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:5}})}},U.ID="editor.action.peekImplementation",U));class X extends R{_getNoResultFoundMessage(V){return V?d.localize(28,null,V.word):d.localize(29,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeReferenceCommand}_getGoToPreference(V){return V.getOption(57).multipleReferences}}(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{value:d.localize(30,null),original:"Go to References",mnemonicTitle:d.localize(31,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:1094,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!0,ae),d.localize(32,null))})}}),(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:{value:d.localize(33,null),original:"Peek References"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!1,ae),d.localize(34,null))})}});class H extends R{constructor(V,Y,ie){super(V,{id:"editor.action.goToLocation",title:{value:d.localize(35,null),original:"Go to Any Symbol"},precondition:m.ContextKeyExpr.and(o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated())}),this._references=Y,this._gotoMultipleBehaviour=ie}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(this._references,d.localize(36,null))})}_getNoResultFoundMessage(V){return V&&d.localize(37,null,V.word)||""}_getGoToPreference(V){var Y;return(Y=this._gotoMultipleBehaviour)!==null&&Y!==void 0?Y:V.getOption(57).multipleReferences}_getAlternativeCommand(){return""}}p.CommandsRegistry.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(B,V,Y,ie,ae,ce,de)=>we(void 0,void 0,void 0,function*(){(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y)),(0,D.assertType)(Array.isArray(ie)),(0,D.assertType)(typeof ae>"u"||typeof ae=="string"),(0,D.assertType)(typeof de>"u"||typeof de=="boolean");const he=B.get(C.ICodeEditorService),ue=yield he.openCodeEditor({resource:V},he.getFocusedCodeEditor());if((0,_.isCodeEditor)(ue))return ue.setPosition(Y),ue.revealPositionInCenterIfOutsideViewport(Y,0),ue.invokeWithinContext(te=>{const q=new class extends H{_getNoResultFoundMessage(z){return ce||super._getNoResultFoundMessage(z)}}({muteMessage:!ce,openInPeek:!!de,openToSide:!1},ie,ae);te.get(v.IInstantiationService).invokeFunction(q.run.bind(q),ue)})})}),p.CommandsRegistry.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(B,V,Y,ie,ae)=>we(void 0,void 0,void 0,function*(){B.get(p.ICommandService).executeCommand("editor.action.goToLocations",V,Y,ie,ae,void 0,!0)})}),p.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:(B,V,Y)=>{(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y));const ie=B.get(I.ILanguageFeaturesService),ae=B.get(C.ICodeEditorService);return ae.openCodeEditor({resource:V},ae.getFocusedCodeEditor()).then(ce=>{if(!(0,_.isCodeEditor)(ce)||!ce.hasModel())return;const de=u.ReferencesController.get(ce);if(!de)return;const he=(0,k.createCancelablePromise)(te=>(0,E.getReferencesAtPosition)(ie.referenceProvider,ce.getModel(),i.Position.lift(Y),!1,te).then(q=>new h.ReferencesModel(q,d.localize(38,null)))),ue=new n.Range(Y.lineNumber,Y.column,Y.lineNumber,Y.column);return Promise.resolve(de.toggleWidget(ue,he,!1))})}}),p.CommandsRegistry.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")}),define(ne[371],se([1,0,13,9,55,2,104,16,5,41,69,186,138,665,15,257,247,18,40,446]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.GotoDefinitionAtPositionEditorContribution=void 0;let o=c=class{constructor(l,p,m,v){this.textModelResolverService=p,this.languageService=m,this.languageFeaturesService=v,this.toUnhook=new D.DisposableStore,this.toUnhookForKeyboard=new D.DisposableStore,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=l,this.linkDecorations=this.editor.createDecorationsCollection();const b=new s.ClickLinkGesture(l);this.toUnhook.add(b),this.toUnhook.add(b.onMouseMoveOrRelevantKeyDown(([w,E])=>{this.startFindDefinitionFromMouse(w,E??void 0)})),this.toUnhook.add(b.onExecute(w=>{this.isEnabled(w)&&this.gotoDefinition(w.target.position,w.hasSideBySideModifier).catch(E=>{(0,k.onUnexpectedError)(E)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(b.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(l){return l.getContribution(c.ID)}startFindDefinitionFromCursor(l){return we(this,void 0,void 0,function*(){yield this.startFindDefinition(l),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(p=>{p&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(l,p){if(l.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(l,p)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const m=l.target.position;this.startFindDefinition(m)}startFindDefinition(l){var p;return we(this,void 0,void 0,function*(){this.toUnhookForKeyboard.clear();const m=l?(p=this.editor.getModel())===null||p===void 0?void 0:p.getWordAtPosition(l):null;if(!m){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===m.startColumn&&this.currentWordAtPosition.endColumn===m.endColumn&&this.currentWordAtPosition.word===m.word)return;this.currentWordAtPosition=m;const v=new S.EditorState(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,L.createCancelablePromise)(E=>this.findDefinition(l,E));let b;try{b=yield this.previousPromise}catch(E){(0,k.onUnexpectedError)(E);return}if(!b||!b.length||!v.validate(this.editor)){this.removeLinkDecorations();return}const w=b[0].originSelectionRange?_.Range.lift(b[0].originSelectionRange):new _.Range(l.lineNumber,m.startColumn,l.lineNumber,m.endColumn);if(b.length>1){let E=w;for(const{originSelectionRange:I}of b)I&&(E=_.Range.plusRange(E,I));this.addDecoration(E,new y.MarkdownString().appendText(n.localize(0,null,b.length)))}else{const E=b[0];if(!E.uri)return;this.textModelResolverService.createModelReference(E.uri).then(I=>{if(!I.object||!I.object.textEditorModel){I.dispose();return}const{object:{textEditorModel:M}}=I,{startLineNumber:P}=E.range;if(P<1||P>M.getLineCount()){I.dispose();return}const x=this.getPreviewValue(M,P,E),T=this.languageService.guessLanguageIdByFilepathOrFirstLine(M.uri);this.addDecoration(w,x?new y.MarkdownString().appendCodeblock(T||"",x):void 0),I.dispose()})}})}getPreviewValue(l,p,m){let v=m.range;return v.endLineNumber-v.startLineNumber>=c.MAX_SOURCE_PREVIEW_LINES&&(v=this.getPreviewRangeBasedOnIndentation(l,p)),this.stripIndentationFromPreviewRange(l,p,v)}stripIndentationFromPreviewRange(l,p,m){let b=l.getLineFirstNonWhitespaceColumn(p);for(let E=p+1;E{const v=!p&&this.editor.getOption(86)&&!this.isInPeekEditor(m);return new a.DefinitionAction({openToSide:p,openInPeek:v,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m)})}isInPeekEditor(l){const p=l.get(t.IContextKeyService);return i.PeekContext.inPeekEditor.getValue(p)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};e.GotoDefinitionAtPositionEditorContribution=o,o.ID="editor.contrib.gotodefinitionatposition",o.MAX_SOURCE_PREVIEW_LINES=8,e.GotoDefinitionAtPositionEditorContribution=o=c=ke([fe(1,C.ITextModelService),fe(2,g.ILanguageService),fe(3,h.ILanguageFeaturesService)],o),(0,f.registerEditorContribution)(o.ID,o,2)}),define(ne[901],se([1,0,7,14,13,9,2,45,5,18,233,137,250,113,369,673,97,56,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerHoverParticipant=e.MarkerHover=void 0;const c=L.$;class o{constructor(m,v,b){this.owner=m,this.range=v,this.marker=b}isValidForHoverAnchor(m){return m.type===1&&this.range.startColumn<=m.range.startColumn&&this.range.endColumn>=m.range.endColumn}}e.MarkerHover=o;const d={type:1,filter:{include:n.CodeActionKind.QuickFix},triggerAction:n.CodeActionTriggerSource.QuickFixHover};let l=class{constructor(m,v,b,w){this._editor=m,this._markerDecorationsService=v,this._openerService=b,this._languageFeaturesService=w,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(m,v){if(!this._editor.hasModel()||m.type!==1&&!m.supportsMarkerHover)return[];const b=this._editor.getModel(),w=m.range.startLineNumber,E=b.getLineMaxColumn(w),I=[];for(const M of v){const P=M.range.startLineNumber===w?M.range.startColumn:1,x=M.range.endLineNumber===w?M.range.endColumn:E,T=this._markerDecorationsService.getMarker(b.uri,M);if(!T)continue;const A=new _.Range(m.range.startLineNumber,P,m.range.startLineNumber,x);I.push(new o(this,A,T))}return I}renderHoverParts(m,v){if(!v.length)return S.Disposable.None;const b=new S.DisposableStore;v.forEach(E=>m.fragment.appendChild(this.renderMarkerHover(E,b)));const w=v.length===1?v[0]:v.sort((E,I)=>u.MarkerSeverity.compare(E.marker.severity,I.marker.severity))[0];return this.renderMarkerStatusbar(m,w,b),b}renderMarkerHover(m,v){const b=c("div.hover-row"),w=L.append(b,c("div.marker.hover-contents")),{source:E,message:I,code:M,relatedInformation:P}=m.marker;this._editor.applyFontInfo(w);const x=L.append(w,c("span"));if(x.style.whiteSpace="pre-wrap",x.innerText=I,E||M)if(M&&typeof M!="string"){const T=c("span");if(E){const O=L.append(T,c("span"));O.innerText=E}const A=L.append(T,c("a.code-link"));A.setAttribute("href",M.target.toString()),v.add(L.addDisposableListener(A,"click",O=>{this._openerService.open(M.target,{allowCommands:!0}),O.preventDefault(),O.stopPropagation()}));const N=L.append(A,c("span"));N.innerText=M.value;const F=L.append(w,T);F.style.opacity="0.6",F.style.paddingLeft="6px"}else{const T=L.append(w,c("span"));T.style.opacity="0.6",T.style.paddingLeft="6px",T.innerText=E&&M?`${E}(${M})`:E||`(${M})`}if((0,k.isNonEmptyArray)(P))for(const{message:T,resource:A,startLineNumber:N,startColumn:F}of P){const O=L.append(w,c("div"));O.style.marginTop="8px";const W=L.append(O,c("a"));W.innerText=`${(0,f.basename)(A)}(${N}, ${F}): `,W.style.cursor="pointer",v.add(L.addDisposableListener(W,"click",j=>{j.stopPropagation(),j.preventDefault(),this._openerService&&this._openerService.open(A,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:N,startColumn:F}}}).catch(D.onUnexpectedError)}));const U=L.append(O,c("span"));U.innerText=T,this._editor.applyFontInfo(U)}return b}renderMarkerStatusbar(m,v,b){if((v.marker.severity===u.MarkerSeverity.Error||v.marker.severity===u.MarkerSeverity.Warning||v.marker.severity===u.MarkerSeverity.Info)&&m.statusBar.addAction({label:a.localize(0,null),commandId:t.NextMarkerAction.ID,run:()=>{var w;m.hide(),(w=t.MarkerController.get(this._editor))===null||w===void 0||w.showAtMarker(v.marker),this._editor.focus()}}),!this._editor.getOption(89)){const w=m.statusBar.append(c("div"));this.recentMarkerCodeActionsInfo&&(u.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker)===u.IMarkerData.makeKey(v.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(w.textContent=a.localize(1,null)):this.recentMarkerCodeActionsInfo=void 0);const E=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?S.Disposable.None:b.add((0,y.disposableTimeout)(()=>w.textContent=a.localize(2,null),200));w.textContent||(w.textContent=String.fromCharCode(160));const I=this.getCodeActions(v.marker);b.add((0,S.toDisposable)(()=>I.cancel())),I.then(M=>{if(E.dispose(),this.recentMarkerCodeActionsInfo={marker:v.marker,hasCodeActions:M.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){M.dispose(),w.textContent=a.localize(3,null);return}w.style.display="none";let P=!1;b.add((0,S.toDisposable)(()=>{P||M.dispose()})),m.statusBar.addAction({label:a.localize(4,null),commandId:s.quickFixCommandId,run:x=>{P=!0;const T=i.CodeActionController.get(this._editor),A=L.getDomNodePagePosition(x);m.hide(),T?.showCodeActions(d,M,{x:A.left,y:A.top,width:A.width,height:A.height})}})},D.onUnexpectedError)}}getCodeActions(m){return(0,y.createCancelablePromise)(v=>(0,s.getCodeActions)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new _.Range(m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn),d,r.Progress.None,v))}};e.MarkerHoverParticipant=l,e.MarkerHoverParticipant=l=ke([fe(1,C.IMarkerDecorationsService),fe(2,h.IOpenerService),fe(3,g.ILanguageFeaturesService)],l)}),define(ne[372],se([1,0,63,2,16,5,21,41,371,367,781,8,56,31,23,103,248,901,253,34,671,448]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ModesHoverController=void 0;const l=!1;let p=d=class{static get(N){return N.getContribution(d.ID)}constructor(N,F,O,W,U){this._editor=N,this._instantiationService=F,this._openerService=O,this._languageService=W,this._keybindingService=U,this._toUnhook=new k.DisposableStore,this._hoverActivatedByColorDecoratorClick=!1,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(j=>{j.hasChanged(59)&&(this._unhookEvents(),this._hookEvents())})}_hookEvents(){const N=()=>this._hideWidgets(),F=this._editor.getOption(59);this._isHoverEnabled=F.enabled,this._isHoverSticky=F.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(O=>this._onEditorMouseDown(O))),this._toUnhook.add(this._editor.onMouseUp(O=>this._onEditorMouseUp(O))),this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))):(this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))),this._toUnhook.add(this._editor.onMouseLeave(O=>this._onEditorMouseLeave(O))),this._toUnhook.add(this._editor.onDidChangeModel(N)),this._toUnhook.add(this._editor.onDidScrollChange(O=>this._onEditorScrollChanged(O)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(N){(N.scrollTopChanged||N.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(N){var F;this._isMouseDown=!0;const O=N.target;if(O.type===9&&O.detail===g.ContentHoverWidget.ID){this._hoverClicked=!0;return}O.type===12&&O.detail===C.MarginHoverWidget.ID||(O.type!==12&&(this._hoverClicked=!1),!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||this._hideWidgets())}_onEditorMouseUp(N){this._isMouseDown=!1}_onEditorMouseLeave(N){var F,O;const W=N.event.browserEvent.relatedTarget;!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||!((O=this._contentWidget)===null||O===void 0)&&O.containsNode(W)||l||this._hideWidgets()}_onEditorMouseMove(N){var F,O,W,U,j,R,K,G,Z,J,X;const H=N.target;if(!((F=this._contentWidget)===null||F===void 0)&&F.isFocused||!((O=this._contentWidget)===null||O===void 0)&&O.isResizing||this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID||this._isHoverSticky&&(!((W=this._contentWidget)===null||W===void 0)&&W.containsNode((U=N.event.browserEvent.view)===null||U===void 0?void 0:U.document.activeElement))&&!(!((R=(j=N.event.browserEvent.view)===null||j===void 0?void 0:j.getSelection())===null||R===void 0)&&R.isCollapsed)||!this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID&&(!((K=this._contentWidget)===null||K===void 0)&&K.isColorPickerVisible)||this._isHoverSticky&&H.type===12&&H.detail===C.MarginHoverWidget.ID||this._isHoverSticky&&(!((G=this._contentWidget)===null||G===void 0)&&G.isVisibleFromKeyboard))return;const B=(Z=H.element)===null||Z===void 0?void 0:Z.classList.contains("colorpicker-color-decoration"),V=this._editor.getOption(145);if(B&&(V==="click"&&!this._hoverActivatedByColorDecoratorClick||V==="hover"&&!this._isHoverEnabled&&!l||V==="clickAndHover"&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick)||!B&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(N)){(J=this._glyphWidget)===null||J===void 0||J.hide();return}if(H.type===2&&H.position){(X=this._contentWidget)===null||X===void 0||X.hide(),this._glyphWidget||(this._glyphWidget=new C.MarginHoverWidget(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(H.position.lineNumber);return}l||this._hideWidgets()}_onKeyDown(N){var F;if(!this._editor.hasModel())return;const O=this._keybindingService.softDispatch(N,this._editor.getDomNode()),W=O.kind===1||O.kind===2&&O.commandId==="editor.action.showHover"&&((F=this._contentWidget)===null||F===void 0?void 0:F.isVisible);N.keyCode!==5&&N.keyCode!==6&&N.keyCode!==57&&N.keyCode!==4&&!W&&this._hideWidgets()}_hideWidgets(){var N,F,O;l||this._isMouseDown&&this._hoverClicked&&(!((N=this._contentWidget)===null||N===void 0)&&N.isColorPickerVisible)||r.InlineSuggestionHintsContentWidget.dropDownVisible||(this._hoverActivatedByColorDecoratorClick=!1,this._hoverClicked=!1,(F=this._glyphWidget)===null||F===void 0||F.hide(),(O=this._contentWidget)===null||O===void 0||O.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(g.ContentHoverController,this._editor)),this._contentWidget}showContentHover(N,F,O,W,U=!1){this._hoverActivatedByColorDecoratorClick=U,this._getOrCreateContentWidget().startShowingAtRange(N,F,O,W)}focus(){var N;(N=this._contentWidget)===null||N===void 0||N.focus()}scrollUp(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollUp()}scrollDown(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollDown()}scrollLeft(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollLeft()}scrollRight(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollRight()}pageUp(){var N;(N=this._contentWidget)===null||N===void 0||N.pageUp()}pageDown(){var N;(N=this._contentWidget)===null||N===void 0||N.pageDown()}goToTop(){var N;(N=this._contentWidget)===null||N===void 0||N.goToTop()}goToBottom(){var N;(N=this._contentWidget)===null||N===void 0||N.goToBottom()}get isColorPickerVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isColorPickerVisible}get isHoverVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isVisible}dispose(){var N,F;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(N=this._glyphWidget)===null||N===void 0||N.dispose(),(F=this._contentWidget)===null||F===void 0||F.dispose()}};e.ModesHoverController=p,p.ID="editor.contrib.hover",e.ModesHoverController=p=d=ke([fe(1,s.IInstantiationService),fe(2,i.IOpenerService),fe(3,f.ILanguageService),fe(4,c.IKeybindingService)],p);class m extends y.EditorAction{constructor(){super({id:"editor.action.showHover",label:o.localize(0,null),description:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if when triggered with the keyboard, the hover should take focus immediately.",type:"boolean",default:!1}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:S.EditorContextKeys.editorTextFocus,primary:(0,L.KeyChord)(2089,2087),weight:100}})}run(N,F,O){if(!F.hasModel())return;const W=p.get(F);if(!W)return;const U=F.getPosition(),j=new D.Range(U.lineNumber,U.column,U.lineNumber,U.column),R=F.getOption(2)===2||!!O?.focus;W.isHoverVisible?W.focus():W.showContentHover(j,1,1,R)}}class v extends y.EditorAction{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:o.localize(1,null),alias:"Show Definition Preview Hover",precondition:void 0})}run(N,F){const O=p.get(F);if(!O)return;const W=F.getPosition();if(!W)return;const U=new D.Range(W.lineNumber,W.column,W.lineNumber,W.column),j=_.GotoDefinitionAtPositionEditorContribution.get(F);if(!j)return;j.startFindDefinitionFromCursor(W).then(()=>{O.showContentHover(U,1,1,!0)})}}class b extends y.EditorAction{constructor(){super({id:"editor.action.scrollUpHover",label:o.localize(2,null),alias:"Scroll Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:16,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollUp()}}class w extends y.EditorAction{constructor(){super({id:"editor.action.scrollDownHover",label:o.localize(3,null),alias:"Scroll Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:18,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollDown()}}class E extends y.EditorAction{constructor(){super({id:"editor.action.scrollLeftHover",label:o.localize(4,null),alias:"Scroll Left Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:15,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollLeft()}}class I extends y.EditorAction{constructor(){super({id:"editor.action.scrollRightHover",label:o.localize(5,null),alias:"Scroll Right Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:17,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollRight()}}class M extends y.EditorAction{constructor(){super({id:"editor.action.pageUpHover",label:o.localize(6,null),alias:"Page Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:11,secondary:[528],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageUp()}}class P extends y.EditorAction{constructor(){super({id:"editor.action.pageDownHover",label:o.localize(7,null),alias:"Page Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:12,secondary:[530],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageDown()}}class x extends y.EditorAction{constructor(){super({id:"editor.action.goToTopHover",label:o.localize(8,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToTop()}}class T extends y.EditorAction{constructor(){super({id:"editor.action.goToBottomHover",label:o.localize(9,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToBottom()}}(0,y.registerEditorContribution)(p.ID,p,2),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(b),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),a.HoverParticipantRegistry.register(u.MarkdownHoverParticipant),a.HoverParticipantRegistry.register(h.MarkerHoverParticipant),(0,t.registerThemingParticipant)((A,N)=>{const F=A.getColor(n.editorHoverBorder);F&&(N.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${F.transparent(.5)}; }`))})}),define(ne[902],se([1,0,2,16,5,363,364,372,103]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorContribution=void 0;class g extends L.Disposable{constructor(s){super(),this._editor=s,this._register(s.onMouseDown(i=>this.onMouseDown(i)))}dispose(){super.dispose()}onMouseDown(s){const i=this._editor.getOption(145);if(i!=="click"&&i!=="clickAndHover")return;const n=s.target;if(n.type!==6||!n.detail.injectedText||n.detail.injectedText.options.attachedData!==D.ColorDecorationInjectedTextMarker||!n.range)return;const t=this._editor.getContribution(f.ModesHoverController.ID);if(t&&!t.isColorPickerVisible){const a=new y.Range(n.range.startLineNumber,n.range.startColumn+1,n.range.endLineNumber,n.range.endColumn+1);t.showContentHover(a,1,0,!1,!0)}}}e.ColorContribution=g,g.ID="editor.contrib.colorContribution",(0,k.registerEditorContribution)(g.ID,g,2),_.HoverParticipantRegistry.register(S.ColorHoverParticipant)}),define(ne[373],se([1,0,7,39,19,170,5,69,257,138,30,27,15,57,8,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.goToDefinitionWithLocation=e.showGoToContextMenu=void 0;function u(r,c,o,d){var l;return we(this,void 0,void 0,function*(){const p=r.get(f.ITextModelService),m=r.get(n.IContextMenuService),v=r.get(s.ICommandService),b=r.get(t.IInstantiationService),w=r.get(a.INotificationService);if(yield d.item.resolve(y.CancellationToken.None),!d.part.location)return;const E=d.part.location,I=[],M=new Set(C.MenuRegistry.getMenuItems(C.MenuId.EditorContext).map(x=>(0,C.isIMenuItem)(x)?x.command.id:(0,D.generateUuid)()));for(const x of _.SymbolNavigationAction.all())M.has(x.desc.id)&&I.push(new k.Action(x.desc.id,C.MenuItemAction.label(x.desc,{renderShortTitle:!0}),void 0,!0,()=>we(this,void 0,void 0,function*(){const T=yield p.createModelReference(E.uri);try{const A=new _.SymbolNavigationAnchor(T.object.textEditorModel,S.Range.getStartPosition(E.range)),N=d.item.anchor.range;yield b.invokeFunction(x.runEditorCommand.bind(x),c,A,N)}finally{T.dispose()}})));if(d.part.command){const{command:x}=d.part;I.push(new k.Separator),I.push(new k.Action(x.id,x.title,void 0,!0,()=>we(this,void 0,void 0,function*(){var T;try{yield v.executeCommand(x.id,...(T=x.arguments)!==null&&T!==void 0?T:[])}catch(A){w.notify({severity:a.Severity.Error,source:d.item.provider.displayName,message:A})}})))}const P=c.getOption(125);m.showContextMenu({domForShadowRoot:P&&(l=c.getDomNode())!==null&&l!==void 0?l:void 0,getAnchor:()=>{const x=L.getDomNodePagePosition(o);return{x:x.left,y:x.top+x.height+8}},getActions:()=>I,onHide:()=>{c.focus()},autoSelectFirstItem:!0})})}e.showGoToContextMenu=u;function h(r,c,o,d){return we(this,void 0,void 0,function*(){const p=yield r.get(f.ITextModelService).createModelReference(d.uri);yield o.invokeWithinContext(m=>we(this,void 0,void 0,function*(){const v=c.hasSideBySideModifier,b=m.get(i.IContextKeyService),w=g.PeekContext.inPeekEditor.getValue(b),E=!v&&o.getOption(86)&&!w;return new _.DefinitionAction({openToSide:v,openInPeek:E,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m,new _.SymbolNavigationAnchor(p.object.textEditorModel,S.Range.getStartPosition(d.range)),S.Range.lift(d.range))})),p.dispose()})}e.goToDefinitionWithLocation=h}),define(ne[374],se([1,0,7,14,13,19,9,2,65,20,22,159,108,36,73,5,29,48,40,76,18,69,186,322,373,27,50,8,43,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsController=e.RenderedInlayHintLabelPart=void 0;class x{constructor(){this._entries=new _.LRUCache(50)}get(U){const j=x._key(U);return this._entries.get(j)}set(U,j){const R=x._key(U);this._entries.set(R,j)}static _key(U){return`${U.uri.toString()}/${U.getVersionId()}`}}const T=(0,w.createDecorator)("IInlayHintsCache");(0,b.registerSingleton)(T,x,1);class A{constructor(U,j){this.item=U,this.index=j}get part(){const U=this.item.hint.label;return typeof U=="string"?{label:U}:U[this.index]}}e.RenderedInlayHintLabelPart=A;class N{constructor(U,j){this.part=U,this.hasTriggerModifier=j}}let F=P=class{static get(U){var j;return(j=U.getContribution(P.ID))!==null&&j!==void 0?j:void 0}constructor(U,j,R,K,G,Z,J){this._editor=U,this._languageFeaturesService=j,this._inlayHintsCache=K,this._commandService=G,this._notificationService=Z,this._instaService=J,this._disposables=new f.DisposableStore,this._sessionDisposables=new f.DisposableStore,this._decorationsMetadata=new Map,this._ruleFactory=new s.DynamicCssRules(this._editor),this._activeRenderMode=0,this._debounceInfo=R.for(j.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(j.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(U.onDidChangeModel(()=>this._update())),this._disposables.add(U.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(U.onDidChangeConfiguration(X=>{X.hasChanged(138)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){this._sessionDisposables.clear(),this._removeAllDecorations();const U=this._editor.getOption(138);if(U.enabled==="off")return;const j=this._editor.getModel();if(!j||!this._languageFeaturesService.inlayHintsProvider.has(j))return;const R=this._inlayHintsCache.get(j);R&&this._updateHintsDecorators([j.getFullModelRange()],R),this._sessionDisposables.add((0,f.toDisposable)(()=>{j.isDisposed()||this._cacheHintsForFastRestore(j)}));let K;const G=new Set,Z=new y.RunOnceScheduler(()=>we(this,void 0,void 0,function*(){const J=Date.now();K?.dispose(!0),K=new D.CancellationTokenSource;const X=j.onWillDispose(()=>K?.cancel());try{const H=K.token,B=yield p.InlayHintsFragments.create(this._languageFeaturesService.inlayHintsProvider,j,this._getHintsRanges(),H);if(Z.delay=this._debounceInfo.update(j,Date.now()-J),H.isCancellationRequested){B.dispose();return}for(const V of B.provider)typeof V.onDidChangeInlayHints=="function"&&!G.has(V)&&(G.add(V),this._sessionDisposables.add(V.onDidChangeInlayHints(()=>{Z.isScheduled()||Z.schedule()})));this._sessionDisposables.add(B),this._updateHintsDecorators(B.ranges,B.items),this._cacheHintsForFastRestore(j)}catch(H){(0,S.onUnexpectedError)(H)}finally{K.dispose(),X.dispose()}}),this._debounceInfo.get(j));if(this._sessionDisposables.add(Z),this._sessionDisposables.add((0,f.toDisposable)(()=>K?.dispose(!0))),Z.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(J=>{(J.scrollTopChanged||!Z.isScheduled())&&Z.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(J=>{const X=Math.max(Z.delay,1250);Z.schedule(X)})),U.enabled==="on")this._activeRenderMode=0;else{let J,X;U.enabled==="onUnlessPressed"?(J=0,X=1):(J=1,X=0),this._activeRenderMode=J,this._sessionDisposables.add(L.ModifierKeyEmitter.getInstance().event(H=>{if(!this._editor.hasModel())return;const B=H.altKey&&H.ctrlKey&&!(H.shiftKey||H.metaKey)?X:J;if(B!==this._activeRenderMode){this._activeRenderMode=B;const V=this._editor.getModel(),Y=this._copyInlayHintsWithCurrentAnchor(V);this._updateHintsDecorators([V.getFullModelRange()],Y),Z.schedule(0)}}))}this._sessionDisposables.add(this._installDblClickGesture(()=>Z.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const U=new f.DisposableStore,j=U.add(new l.ClickLinkGesture(this._editor)),R=new f.DisposableStore;return U.add(R),U.add(j.onMouseMoveOrRelevantKeyDown(K=>{const[G]=K,Z=this._getInlayHintLabelPart(G),J=this._editor.getModel();if(!Z||!J){R.clear();return}const X=new D.CancellationTokenSource;R.add((0,f.toDisposable)(()=>X.dispose(!0))),Z.item.resolve(X.token),this._activeInlayHintPart=Z.part.command||Z.part.location?new N(Z,G.hasTriggerModifier):void 0;const H=J.validatePosition(Z.item.hint.position).lineNumber,B=new a.Range(H,1,H,J.getLineMaxColumn(H)),V=this._getInlineHintsForRange(B);this._updateHintsDecorators([B],V),R.add((0,f.toDisposable)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([B],V)}))})),U.add(j.onCancel(()=>R.clear())),U.add(j.onExecute(K=>we(this,void 0,void 0,function*(){const G=this._getInlayHintLabelPart(K);if(G){const Z=G.part;Z.location?this._instaService.invokeFunction(m.goToDefinitionWithLocation,K,this._editor,Z.location):u.Command.is(Z.command)&&(yield this._invokeCommand(Z.command,G.item))}}))),U}_getInlineHintsForRange(U){const j=new Set;for(const R of this._decorationsMetadata.values())U.containsRange(R.item.anchor.range)&&j.add(R.item);return Array.from(j)}_installDblClickGesture(U){return this._editor.onMouseUp(j=>we(this,void 0,void 0,function*(){if(j.event.detail!==2)return;const R=this._getInlayHintLabelPart(j);if(R&&(j.event.preventDefault(),yield R.item.resolve(D.CancellationToken.None),(0,k.isNonEmptyArray)(R.item.hint.textEdits))){const K=R.item.hint.textEdits.map(G=>t.EditOperation.replace(a.Range.lift(G.range),G.text));this._editor.executeEdits("inlayHint.default",K),U()}}))}_installContextMenu(){return this._editor.onContextMenu(U=>we(this,void 0,void 0,function*(){if(!(U.event.target instanceof HTMLElement))return;const j=this._getInlayHintLabelPart(U);j&&(yield this._instaService.invokeFunction(m.showGoToContextMenu,this._editor,U.event.target,j))}))}_getInlayHintLabelPart(U){var j;if(U.target.type!==6)return;const R=(j=U.target.detail.injectedText)===null||j===void 0?void 0:j.options;if(R instanceof r.ModelDecorationInjectedTextOptions&&R?.attachedData instanceof A)return R.attachedData}_invokeCommand(U,j){var R;return we(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(U.id,...(R=U.arguments)!==null&&R!==void 0?R:[])}catch(K){this._notificationService.notify({severity:E.Severity.Error,source:j.provider.displayName,message:K})}})}_cacheHintsForFastRestore(U){const j=this._copyInlayHintsWithCurrentAnchor(U);this._inlayHintsCache.set(U,j)}_copyInlayHintsWithCurrentAnchor(U){const j=new Map;for(const[R,K]of this._decorationsMetadata){if(j.has(K.item))continue;const G=U.getDecorationRange(R);if(G){const Z=new p.InlayHintAnchor(G,K.item.anchor.direction),J=K.item.with({anchor:Z});j.set(K.item,J)}}return Array.from(j.values())}_getHintsRanges(){const j=this._editor.getModel(),R=this._editor.getVisibleRangesPlusViewportAboveBelow(),K=[];for(const G of R.sort(a.Range.compareRangesUsingStarts)){const Z=j.validateRange(new a.Range(G.startLineNumber-30,G.startColumn,G.endLineNumber+30,G.endColumn));K.length===0||!a.Range.areIntersectingOrTouching(K[K.length-1],Z)?K.push(Z):K[K.length-1]=a.Range.plusRange(K[K.length-1],Z)}return K}_updateHintsDecorators(U,j){var R,K;const G=[],Z=(ce,de,he,ue,te)=>{const q={content:he,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:de.className,cursorStops:ue,attachedData:te};G.push({item:ce,classNameRef:de,decoration:{range:ce.anchor.range,options:{description:"InlayHint",showIfCollapsed:ce.anchor.range.isEmpty(),collapseOnReplaceEdit:!ce.anchor.range.isEmpty(),stickiness:0,[ce.anchor.direction]:this._activeRenderMode===0?q:void 0}}})},J=(ce,de)=>{const he=this._ruleFactory.createClassNameRef({width:`${X/3|0}px`,display:"inline-block"});Z(ce,he,"\u200A",de?h.InjectedTextCursorStops.Right:h.InjectedTextCursorStops.None)},{fontSize:X,fontFamily:H,padding:B,isUniform:V}=this._getLayoutInfo(),Y="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(Y,H);for(const ce of j){ce.hint.paddingLeft&&J(ce,!1);const de=typeof ce.hint.label=="string"?[{label:ce.hint.label}]:ce.hint.label;for(let he=0;heP._MAX_DECORATORS)break}const ie=[];for(const ce of U)for(const{id:de}of(K=this._editor.getDecorationsInRange(ce))!==null&&K!==void 0?K:[]){const he=this._decorationsMetadata.get(de);he&&(ie.push(de),he.classNameRef.dispose(),this._decorationsMetadata.delete(de))}const ae=i.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(ce=>{const de=ce.deltaDecorations(ie,G.map(he=>he.decoration));for(let he=0;heR)&&(G=R);const Z=U.fontFamily||K;return{fontSize:G,fontFamily:Z,padding:j,isUniform:!j&&Z===K&&G===R}}_removeAllDecorations(){this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys()));for(const U of this._decorationsMetadata.values())U.classNameRef.dispose();this._decorationsMetadata.clear()}};e.InlayHintsController=F,F.ID="editor.contrib.InlayHints",F._MAX_DECORATORS=1500,e.InlayHintsController=F=P=ke([fe(1,o.ILanguageFeaturesService),fe(2,c.ILanguageFeatureDebounceService),fe(3,T),fe(4,v.ICommandService),fe(5,E.INotificationService),fe(6,w.IInstantiationService)],F);function O(W){const U="\xA0";return W.replace(/[ \t]/g,U)}v.CommandsRegistry.registerCommand("_executeInlayHintProvider",(W,...U)=>we(void 0,void 0,void 0,function*(){const[j,R]=U;(0,g.assertType)(C.URI.isUri(j)),(0,g.assertType)(a.Range.isIRange(R));const{inlayHintsProvider:K}=W.get(o.ILanguageFeaturesService),G=yield W.get(d.ITextModelService).createModelReference(j);try{const Z=yield p.InlayHintsFragments.create(K,G.object.textEditorModel,[a.Range.lift(R)],D.CancellationToken.None),J=Z.items.map(X=>X.hint);return setTimeout(()=>Z.dispose(),0),J}finally{G.dispose()}}))});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[903],se([1,0,13,55,12,40,103,41,69,352,248,374,28,56,18,676,17,322,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsHover=void 0;class c extends S.HoverForeignElementAnchor{constructor(l,p,m,v){super(10,p,l.item.anchor.range,m,v,!0),this.part=l}}let o=class extends C.MarkdownHoverParticipant{constructor(l,p,m,v,b,w){super(l,p,m,v,w),this._resolverService=b,this.hoverOrdinal=6}suggestHoverAnchor(l){var p;if(!s.InlayHintsController.get(this._editor)||l.target.type!==6)return null;const v=(p=l.target.detail.injectedText)===null||p===void 0?void 0:p.options;return v instanceof D.ModelDecorationInjectedTextOptions&&v.attachedData instanceof s.RenderedInlayHintLabelPart?new c(v.attachedData,this,l.event.posx,l.event.posy):null}computeSync(){return[]}computeAsync(l,p,m){return l instanceof c?new L.AsyncIterableObject(v=>we(this,void 0,void 0,function*(){var b,w,E,I;const{part:M}=l;if(yield M.item.resolve(m),m.isCancellationRequested)return;let P;typeof M.item.hint.tooltip=="string"?P=new k.MarkdownString().appendText(M.item.hint.tooltip):M.item.hint.tooltip&&(P=M.item.hint.tooltip),P&&v.emitOne(new C.MarkdownHover(this,l.range,[P],!1,0)),(0,r.isNonEmptyArray)(M.item.hint.textEdits)&&v.emitOne(new C.MarkdownHover(this,l.range,[new k.MarkdownString().appendText((0,a.localize)(0,null))],!1,10001));let x;if(typeof M.part.tooltip=="string"?x=new k.MarkdownString().appendText(M.part.tooltip):M.part.tooltip&&(x=M.part.tooltip),x&&v.emitOne(new C.MarkdownHover(this,l.range,[x],!1,1)),M.part.location||M.part.command){let O;const U=this._editor.getOption(76)==="altKey"?u.isMacintosh?(0,a.localize)(1,null):(0,a.localize)(2,null):u.isMacintosh?(0,a.localize)(3,null):(0,a.localize)(4,null);M.part.location&&M.part.command?O=new k.MarkdownString().appendText((0,a.localize)(5,null,U)):M.part.location?O=new k.MarkdownString().appendText((0,a.localize)(6,null,U)):M.part.command&&(O=new k.MarkdownString(`[${(0,a.localize)(7,null)}](${(0,h.asCommandLink)(M.part.command)} "${M.part.command.title}") (${U})`,{isTrusted:!0})),O&&v.emitOne(new C.MarkdownHover(this,l.range,[O],!1,1e4))}const T=yield this._resolveInlayHintLabelPartHover(M,m);try{for(var A=!0,N=Lt(T),F;F=yield N.next(),b=F.done,!b;A=!0){I=F.value,A=!1;const O=I;v.emitOne(O)}}catch(O){w={error:O}}finally{try{!A&&!b&&(E=N.return)&&(yield E.call(N))}finally{if(w)throw w.error}}})):L.AsyncIterableObject.EMPTY}_resolveInlayHintLabelPartHover(l,p){return we(this,void 0,void 0,function*(){if(!l.part.location)return L.AsyncIterableObject.EMPTY;const{uri:m,range:v}=l.part.location,b=yield this._resolverService.createModelReference(m);try{const w=b.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(w)?(0,g.getHover)(this._languageFeaturesService.hoverProvider,w,new y.Position(v.startLineNumber,v.startColumn),p).filter(E=>!(0,k.isEmptyMarkdownString)(E.hover.contents)).map(E=>new C.MarkdownHover(this,l.item.anchor.range,E.hover.contents,!1,2+E.ordinal)):L.AsyncIterableObject.EMPTY}finally{b.dispose()}})}};e.InlayHintsHover=o,e.InlayHintsHover=o=ke([fe(1,f.ILanguageService),fe(2,n.IOpenerService),fe(3,i.IConfigurationService),fe(4,_.ITextModelService),fe(5,t.ILanguageFeaturesService)],o)}),define(ne[904],se([1,0,16,103,374,903]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.InlayHintsController.ID,y.InlayHintsController,1),k.HoverParticipantRegistry.register(D.InlayHintsHover)}),define(ne[375],se([1,0,2,18,894,893,8,57,30,15,21,186,5,247,373,12,19,32,76,7,299,60]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollController=void 0;let p=l=class extends L.Disposable{constructor(v,b,w,E,I,M,P){super(),this._editor=v,this._contextMenuService=b,this._languageFeaturesService=w,this._instaService=E,this._contextKeyService=P,this._sessionStore=new L.DisposableStore,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new y.StickyScrollWidget(this._editor),this._stickyLineCandidateProvider=new D.StickyLineCandidateProvider(this._editor,w,I),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new y.StickyScrollWidgetState([],[],0),this._readConfiguration();const x=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(A=>{(A.hasChanged(113)||A.hasChanged(71)||A.hasChanged(65)||A.hasChanged(108))&&this._readConfiguration()})),this._register(c.addDisposableListener(x,c.EventType.CONTEXT_MENU,A=>we(this,void 0,void 0,function*(){this._onContextMenu(A)}))),this._stickyScrollFocusedContextKey=C.EditorContextKeys.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=C.EditorContextKeys.stickyScrollVisible.bindTo(this._contextKeyService);const T=this._register(c.trackFocus(x));this._register(T.onDidBlur(A=>{this._positionRevealed===!1&&x.clientHeight===0?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(T.onDidFocus(A=>{this.focus()})),this._registerMouseListeners(),this._register(c.addDisposableListener(x,c.EventType.MOUSE_DOWN,A=>{this._onMouseDown=!0}))}static get(v){return v.getContribution(l.ID)}_disposeFocusStickyScrollStore(){var v;this._stickyScrollFocusedContextKey.set(!1),(v=this._focusDisposableStore)===null||v===void 0||v.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}this._stickyScrollFocusedContextKey.get()!==!0&&(this._focused=!0,this._focusDisposableStore=new L.DisposableStore,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(v){this._focusedStickyElementIndex=v?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){const v=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:v[this._focusedStickyElementIndex],column:1})}_revealPosition(v){this._reveaInEditor(v,()=>this._editor.revealPosition(v))}_revealLineInCenterIfOutsideViewport(v){this._reveaInEditor(v,()=>this._editor.revealLineInCenterIfOutsideViewport(v.lineNumber,0))}_reveaInEditor(v,b){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,b(),this._editor.setSelection(i.Range.fromPositions(v)),this._editor.focus()}_registerMouseListeners(){const v=this._register(new L.DisposableStore),b=this._register(new s.ClickLinkGesture(this._editor,{extractLineNumberFromMouseEvent:I=>{const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);return M?M.lineNumber:0}})),w=I=>{if(!this._editor.hasModel()||I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return null;const M=I.target.element;if(!M||M.innerText!==M.innerHTML)return null;const P=this._stickyScrollWidget.getEditorPositionFromNode(M);return P?{range:new i.Range(P.lineNumber,P.column,P.lineNumber,P.column+M.innerText.length),textElement:M}:null},E=this._stickyScrollWidget.getDomNode();this._register(c.addStandardDisposableListener(E,c.EventType.CLICK,I=>{if(I.ctrlKey||I.altKey||I.metaKey||!I.leftButton)return;if(I.shiftKey){const P=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(P===null)return;const x=new a.Position(this._endLineNumbers[P],1);this._revealLineInCenterIfOutsideViewport(x);return}let M=this._stickyScrollWidget.getEditorPositionFromNode(I.target);if(!M){const P=this._stickyScrollWidget.getLineNumberFromChildDomNode(I.target);if(P===null)return;M=new a.Position(P,1)}this._revealPosition(M)})),this._register(c.addStandardDisposableListener(E,c.EventType.MOUSE_MOVE,I=>{if(I.shiftKey){const M=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(M===null||this._showEndForLine!==null&&this._showEndForLine===M)return;this._showEndForLine=M,this._renderStickyScroll();return}this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(c.addDisposableListener(E,c.EventType.MOUSE_LEAVE,I=>{this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(b.onMouseMoveOrRelevantKeyDown(([I,M])=>{const P=w(I);if(!P||!I.hasTriggerModifier||!this._editor.hasModel()){v.clear();return}const{range:x,textElement:T}=P;if(!x.equalsRange(this._stickyRangeProjectedOnEditor))this._stickyRangeProjectedOnEditor=x,v.clear();else if(T.style.textDecoration==="underline")return;const A=new u.CancellationTokenSource;v.add((0,L.toDisposable)(()=>A.dispose(!0)));let N;(0,n.getDefinitionsAtPosition)(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new a.Position(x.startLineNumber,x.startColumn+1),A.token).then(F=>{if(!A.token.isCancellationRequested)if(F.length!==0){this._candidateDefinitionsLength=F.length;const O=T;N!==O?(v.clear(),N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"}))):N||(N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"})))}else v.clear()})})),this._register(b.onCancel(()=>{v.clear()})),this._register(b.onExecute(I=>we(this,void 0,void 0,function*(){if(I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return;const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);M&&(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:M.lineNumber,column:1})),this._instaService.invokeFunction(t.goToDefinitionWithLocation,I,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor}))})))}_onContextMenu(v){const b=new d.StandardMouseEvent(v);this._contextMenuService.showContextMenu({menuId:_.MenuId.StickyScrollContext,getAnchor:()=>b})}_readConfiguration(){const v=this._editor.getOption(113);if(v.enabled===!1){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}else v.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(w=>{w.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(w=>this._onTokensChange(w))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);this._editor.getOption(66).renderType===2&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll()}))}_needsUpdate(v){const b=this._stickyScrollWidget.getCurrentLines();for(const w of b)for(const E of v.ranges)if(w>=E.fromLineNumber&&w<=E.toLineNumber)return!0;return!1}_onTokensChange(v){this._needsUpdate(v)&&this._renderStickyScroll()}_onDidResize(){const b=this._editor.getLayoutInfo().height/this._editor.getOption(65);this._maxStickyLines=Math.round(b*.25)}_renderStickyScroll(){const v=this._editor.getModel();if(!v||v.isTooLargeForTokenization()){this._stickyScrollWidget.setState(void 0);return}const b=this._stickyLineCandidateProvider.getVersionId();if(b===void 0||b===v.getVersionId())if(this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(this._widgetState.startLineNumbers.length!==0),!this._focused)this._stickyScrollWidget.setState(this._widgetState);else if(this._focusedStickyElementIndex===-1)this._stickyScrollWidget.setState(this._widgetState),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,this._focusedStickyElementIndex!==-1&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{const w=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];this._stickyScrollWidget.setState(this._widgetState),this._stickyScrollWidget.lineNumberCount===0?this._focusedStickyElementIndex=-1:(this._stickyScrollWidget.lineNumbers.includes(w)||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}}findScrollWidgetState(){const v=this._editor.getOption(65),b=Math.min(this._maxStickyLines,this._editor.getOption(113).maxLineCount),w=this._editor.getScrollTop();let E=0;const I=[],M=[],P=this._editor.getVisibleRanges();if(P.length!==0){const x=new o.StickyRange(P[0].startLineNumber,P[P.length-1].endLineNumber),T=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(x);for(const A of T){const N=A.startLineNumber,F=A.endLineNumber,O=A.nestingDepth;if(F-N>0){const W=(O-1)*v,U=O*v,j=this._editor.getBottomForLineNumber(N)-w,R=this._editor.getTopForLineNumber(F)-w,K=this._editor.getBottomForLineNumber(F)-w;if(W>R&&W<=K){I.push(N),M.push(F+1),E=K-U;break}else U>j&&U<=K&&(I.push(N),M.push(F+1));if(I.length===b)break}}}return this._endLineNumbers=M,new y.StickyScrollWidgetState(I,M,E,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};e.StickyScrollController=p,p.ID="store.contrib.stickyScrollController",e.StickyScrollController=p=l=ke([fe(1,f.IContextMenuService),fe(2,k.ILanguageFeaturesService),fe(3,S.IInstantiationService),fe(4,h.ILanguageConfigurationService),fe(5,r.ILanguageFeatureDebounceService),fe(6,g.IContextKeyService)],p)}),define(ne[905],se([1,0,16,699,741,30,28,15,21,375]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEditor=e.GoToStickyScrollLine=e.SelectPreviousStickyScrollLine=e.SelectNextStickyScrollLine=e.FocusStickyScroll=e.ToggleStickyScroll=void 0;class C extends D.Action2{constructor(){super({id:"editor.action.toggleStickyScroll",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Toggle Sticky Scroll"},category:y.Categories.View,toggled:{condition:f.ContextKeyExpr.equals("config.editor.stickyScroll.enabled",!0),title:(0,k.localize)(2,null),mnemonicTitle:(0,k.localize)(3,null)},menu:[{id:D.MenuId.CommandPalette},{id:D.MenuId.MenubarAppearanceMenu,group:"4_editor",order:3},{id:D.MenuId.StickyScrollContext}]})}run(r){return we(this,void 0,void 0,function*(){const c=r.get(S.IConfigurationService),o=!c.getValue("editor.stickyScroll.enabled");return c.updateValue("editor.stickyScroll.enabled",o)})}}e.ToggleStickyScroll=C;const s=100;class i extends L.EditorAction2{constructor(){super({id:"editor.action.focusStickyScroll",title:{value:(0,k.localize)(4,null),mnemonicTitle:(0,k.localize)(5,null),original:"Focus Sticky Scroll"},precondition:f.ContextKeyExpr.and(f.ContextKeyExpr.has("config.editor.stickyScroll.enabled"),_.EditorContextKeys.stickyScrollVisible),menu:[{id:D.MenuId.CommandPalette}]})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focus()}}e.FocusStickyScroll=i;class n extends L.EditorAction2{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:{value:(0,k.localize)(6,null),original:"Select next sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:18}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusNext()}}e.SelectNextStickyScrollLine=n;class t extends L.EditorAction2{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:{value:(0,k.localize)(7,null),original:"Select previous sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:16}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusPrevious()}}e.SelectPreviousStickyScrollLine=t;class a extends L.EditorAction2{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:{value:(0,k.localize)(8,null),original:"Go to focused sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:3}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.goToFocused()}}e.GoToStickyScrollLine=a;class u extends L.EditorAction2{constructor(){super({id:"editor.action.selectEditor",title:{value:(0,k.localize)(9,null),original:"Select Editor"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:9}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.selectEditor()}}e.SelectEditor=u}),define(ne[906],se([1,0,16,905,375,30]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.StickyScrollController.ID,y.StickyScrollController,1),(0,D.registerAction2)(k.ToggleStickyScroll),(0,D.registerAction2)(k.FocusStickyScroll),(0,D.registerAction2)(k.SelectPreviousStickyScrollLine),(0,D.registerAction2)(k.SelectNextStickyScrollLine),(0,D.registerAction2)(k.GoToStickyScrollLine),(0,D.registerAction2)(k.SelectEditor)}),define(ne[907],se([1,0,16,33,370,28,15,8,43,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneReferencesController=void 0;let C=class extends y.ReferencesController{constructor(i,n,t,a,u,h,r){super(!0,i,n,t,a,u,h,r)}};e.StandaloneReferencesController=C,e.StandaloneReferencesController=C=ke([fe(1,S.IContextKeyService),fe(2,k.ICodeEditorService),fe(3,_.INotificationService),fe(4,f.IInstantiationService),fe(5,g.IStorageService),fe(6,D.IConfigurationService)],C),(0,L.registerEditorContribution)(y.ReferencesController.ID,C,4)}),define(ne[908],se([1,0,9,2,54,101,738,156,50,43,192]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoService=void 0;const s=!1;function i(p){return p.scheme===y.Schemas.file?p.fsPath:p.path}let n=0;class t{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=0,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabel=v,this.strResource=b,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.isValid=!0}setValid(m){this.isValid=m}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class a{constructor(m,v){this.resourceLabel=m,this.reason=v}}class u{constructor(){this.elements=new Map}createMessage(){const m=[],v=[];for(const[,w]of this.elements)(w.reason===0?m:v).push(w.resourceLabel);const b=[];return m.length>0&&b.push(S.localize(0,null,m.join(", "))),v.length>0&&b.push(S.localize(1,null,v.join(", "))),b.join(` -`)}get size(){return this.elements.size}has(m){return this.elements.has(m)}set(m,v){this.elements.set(m,v)}delete(m){return this.elements.delete(m)}}class h{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=1,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabels=v,this.strResources=b,this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(m,v,b){this.removedResources||(this.removedResources=new u),this.removedResources.has(v)||this.removedResources.set(v,new a(m,b))}setValid(m,v,b){b?this.invalidatedResources&&(this.invalidatedResources.delete(v),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new u),this.invalidatedResources.has(v)||this.invalidatedResources.set(v,new a(m,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class r{constructor(m,v){this.resourceLabel=m,this.strResource=v,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const m of this._past)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);for(const m of this._future)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const m=[];m.push(`* ${this.strResource}:`);for(let v=0;v=0;v--)m.push(` * [REDO] ${this._future[v]}`);return m.join(` -`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(m,v){m.type===1?m.setValid(this.resourceLabel,this.strResource,v):m.setValid(v)}setElementsValidFlag(m,v){for(const b of this._past)v(b.actual)&&this._setElementValidFlag(b,m);for(const b of this._future)v(b.actual)&&this._setElementValidFlag(b,m)}pushElement(m){for(const v of this._future)v.type===1&&v.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(m),this.versionId++}createSnapshot(m){const v=[];for(let b=0,w=this._past.length;b=0;b--)v.push(this._future[b].id);return new C.ResourceEditStackSnapshot(m,v)}restoreSnapshot(m){const v=m.elements.length;let b=!0,w=0,E=-1;for(let M=0,P=this._past.length;M=v||x.id!==m.elements[w])&&(b=!1,E=0),!b&&x.type===1&&x.removeResource(this.resourceLabel,this.strResource,0)}let I=-1;for(let M=this._future.length-1;M>=0;M--,w++){const P=this._future[M];b&&(w>=v||P.id!==m.elements[w])&&(b=!1,I=M),!b&&P.type===1&&P.removeResource(this.resourceLabel,this.strResource,0)}E!==-1&&(this._past=this._past.slice(0,E)),I!==-1&&(this._future=this._future.slice(I+1)),this.versionId++}getElements(){const m=[],v=[];for(const b of this._past)m.push(b.actual);for(const b of this._future)v.push(b.actual);return{past:m,future:v}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(m,v){for(let b=this._past.length-1;b>=0;b--)if(this._past[b]===m){v.has(this.strResource)?this._past[b]=v.get(this.strResource):this._past.splice(b,1);break}this.versionId++}splitFutureWorkspaceElement(m,v){for(let b=this._future.length-1;b>=0;b--)if(this._future[b]===m){v.has(this.strResource)?this._future[b]=v.get(this.strResource):this._future.splice(b,1);break}this.versionId++}moveBackward(m){this._past.pop(),this._future.push(m),this.versionId++}moveForward(m){this._future.pop(),this._past.push(m),this.versionId++}}class c{constructor(m){this.editStacks=m,this._versionIds=[];for(let v=0,b=this.editStacks.length;vv.sourceOrder)&&(v=I,b=w)}return[v,b]}canUndo(m){if(m instanceof C.UndoRedoSource){const[,b]=this._findClosestUndoElementWithSource(m.id);return!!b}const v=this.getUriComparisonKey(m);return this._editStacks.has(v)?this._editStacks.get(v).hasPastElements():!1}_onError(m,v){(0,L.onUnexpectedError)(m);for(const b of v.strResources)this.removeElements(b);this._notificationService.error(m)}_acquireLocks(m){for(const v of m.editStacks)if(v.locked)throw new Error("Cannot acquire edit stack lock");for(const v of m.editStacks)v.locked=!0;return()=>{for(const v of m.editStacks)v.locked=!1}}_safeInvokeWithLocks(m,v,b,w,E){const I=this._acquireLocks(b);let M;try{M=v()}catch(P){return I(),w.dispose(),this._onError(P,m)}return M?M.then(()=>(I(),w.dispose(),E()),P=>(I(),w.dispose(),this._onError(P,m))):(I(),w.dispose(),E())}_invokeWorkspacePrepare(m){return we(this,void 0,void 0,function*(){if(typeof m.actual.prepareUndoRedo>"u")return k.Disposable.None;const v=m.actual.prepareUndoRedo();return typeof v>"u"?k.Disposable.None:v})}_invokeResourcePrepare(m,v){if(m.actual.type!==1||typeof m.actual.prepareUndoRedo>"u")return v(k.Disposable.None);const b=m.actual.prepareUndoRedo();return b?(0,k.isDisposable)(b)?v(b):b.then(w=>v(w)):v(k.Disposable.None)}_getAffectedEditStacks(m){const v=[];for(const b of m.strResources)v.push(this._editStacks.get(b)||o);return new c(v)}_tryToSplitAndUndo(m,v,b,w){if(v.canSplit())return this._splitPastWorkspaceElement(v,b),this._notificationService.warn(w),new l(this._undo(m,0,!0));for(const E of v.strResources)this.removeElements(E);return this._notificationService.warn(w),new l}_checkWorkspaceUndo(m,v,b,w){if(v.removedResources)return this._tryToSplitAndUndo(m,v,v.removedResources,S.localize(2,null,v.label,v.removedResources.createMessage()));if(w&&v.invalidatedResources)return this._tryToSplitAndUndo(m,v,v.invalidatedResources,S.localize(3,null,v.label,v.invalidatedResources.createMessage()));const E=[];for(const M of b.editStacks)M.getClosestPastElement()!==v&&E.push(M.resourceLabel);if(E.length>0)return this._tryToSplitAndUndo(m,v,null,S.localize(4,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndUndo(m,v,null,S.localize(5,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndUndo(m,v,null,S.localize(6,null,v.label))}_workspaceUndo(m,v,b){const w=this._getAffectedEditStacks(v),E=this._checkWorkspaceUndo(m,v,w,!1);return E?E.returnValue:this._confirmAndExecuteWorkspaceUndo(m,v,w,b)}_isPartOfUndoGroup(m){if(!m.groupId)return!1;for(const[,v]of this._editStacks){const b=v.getClosestPastElement();if(b){if(b===m){const w=v.getSecondClosestPastElement();if(w&&w.groupId===m.groupId)return!0}if(b.groupId===m.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(m,v,b,w){return we(this,void 0,void 0,function*(){if(v.canSplit()&&!this._isPartOfUndoGroup(v)){let M;(function(T){T[T.All=0]="All",T[T.This=1]="This",T[T.Cancel=2]="Cancel"})(M||(M={}));const{result:P}=yield this._dialogService.prompt({type:D.default.Info,message:S.localize(7,null,v.label),buttons:[{label:S.localize(8,null,b.editStacks.length),run:()=>M.All},{label:S.localize(9,null),run:()=>M.This}],cancelButton:{run:()=>M.Cancel}});if(P===M.Cancel)return;if(P===M.This)return this._splitPastWorkspaceElement(v,null),this._undo(m,0,!0);const x=this._checkWorkspaceUndo(m,v,b,!1);if(x)return x.returnValue;w=!0}let E;try{E=yield this._invokeWorkspacePrepare(v)}catch(M){return this._onError(M,v)}const I=this._checkWorkspaceUndo(m,v,b,!0);if(I)return E.dispose(),I.returnValue;for(const M of b.editStacks)M.moveBackward(v);return this._safeInvokeWithLocks(v,()=>v.actual.undo(),b,E,()=>this._continueUndoInGroup(v.groupId,w))})}_resourceUndo(m,v,b){if(!v.isValid){m.flushAllElements();return}if(m.locked){const w=S.localize(10,null,v.label);this._notificationService.warn(w);return}return this._invokeResourcePrepare(v,w=>(m.moveBackward(v),this._safeInvokeWithLocks(v,()=>v.actual.undo(),new c([m]),w,()=>this._continueUndoInGroup(v.groupId,b))))}_findClosestUndoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestPastElement();I&&I.groupId===m&&(!v||I.groupOrder>v.groupOrder)&&(v=I,b=w)}return[v,b]}_continueUndoInGroup(m,v){if(!m)return;const[,b]=this._findClosestUndoElementInGroup(m);if(b)return this._undo(b,0,v)}undo(m){if(m instanceof C.UndoRedoSource){const[,v]=this._findClosestUndoElementWithSource(m.id);return v?this._undo(v,m.id,!1):void 0}return typeof m=="string"?this._undo(m,0,!1):this._undo(this.getUriComparisonKey(m),0,!1)}_undo(m,v=0,b){if(!this._editStacks.has(m))return;const w=this._editStacks.get(m),E=w.getClosestPastElement();if(!E)return;if(E.groupId){const[M,P]=this._findClosestUndoElementInGroup(E.groupId);if(E!==M&&P)return this._undo(P,v,b)}if((E.sourceId!==v||E.confirmBeforeUndo)&&!b)return this._confirmAndContinueUndo(m,v,E);try{return E.type===1?this._workspaceUndo(m,E,b):this._resourceUndo(w,E,b)}finally{s&&this._print("undo")}}_confirmAndContinueUndo(m,v,b){return we(this,void 0,void 0,function*(){if((yield this._dialogService.confirm({message:S.localize(11,null,b.label),primaryButton:S.localize(12,null),cancelButton:S.localize(13,null)})).confirmed)return this._undo(m,v,!0)})}_findClosestRedoElementWithSource(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.sourceId===m&&(!v||I.sourceOrder0)return this._tryToSplitAndRedo(m,v,null,S.localize(16,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndRedo(m,v,null,S.localize(17,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndRedo(m,v,null,S.localize(18,null,v.label))}_workspaceRedo(m,v){const b=this._getAffectedEditStacks(v),w=this._checkWorkspaceRedo(m,v,b,!1);return w?w.returnValue:this._executeWorkspaceRedo(m,v,b)}_executeWorkspaceRedo(m,v,b){return we(this,void 0,void 0,function*(){let w;try{w=yield this._invokeWorkspacePrepare(v)}catch(I){return this._onError(I,v)}const E=this._checkWorkspaceRedo(m,v,b,!0);if(E)return w.dispose(),E.returnValue;for(const I of b.editStacks)I.moveForward(v);return this._safeInvokeWithLocks(v,()=>v.actual.redo(),b,w,()=>this._continueRedoInGroup(v.groupId))})}_resourceRedo(m,v){if(!v.isValid){m.flushAllElements();return}if(m.locked){const b=S.localize(19,null,v.label);this._notificationService.warn(b);return}return this._invokeResourcePrepare(v,b=>(m.moveForward(v),this._safeInvokeWithLocks(v,()=>v.actual.redo(),new c([m]),b,()=>this._continueRedoInGroup(v.groupId))))}_findClosestRedoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.groupId===m&&(!v||I.groupOrder"u")return typeof t=="string"?{id:(0,k.basename)(t)}:a?e.EXTENSION_DEVELOPMENT_EMPTY_WINDOW_WORKSPACE:e.UNKNOWN_EMPTY_WINDOW_WORKSPACE;const u=t;return u.configuration?{id:u.id,configPath:u.configuration}:u.folders.length===1?{id:u.id,uri:u.folders[0].uri}:{id:u.id}}e.toWorkspaceIdentifier=g;function C(t){const a=t;return typeof a?.id=="string"&&D.URI.isUri(a.configPath)}e.isWorkspaceIdentifier=C;class s{constructor(a,u,h,r,c){this._id=a,this._transient=h,this._configuration=r,this._ignorePathCasing=c,this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0),this.folders=u}get folders(){return this._folders}set folders(a){this._folders=a,this.updateFoldersMap()}get id(){return this._id}get transient(){return this._transient}get configuration(){return this._configuration}set configuration(a){this._configuration=a}getFolder(a){return a&&this._foldersMap.findSubstr(a)||null}updateFoldersMap(){this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0);for(const a of this.folders)this._foldersMap.set(a.uri,a)}toJSON(){return{id:this.id,folders:this.folders,transient:this.transient,configuration:this.configuration}}}e.Workspace=s;class i{constructor(a,u){this.raw=u,this.uri=a.uri,this.index=a.index,this.name=a.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}e.WorkspaceFolder=i,e.WORKSPACE_EXTENSION="code-workspace",e.WORKSPACE_FILTER=[{name:(0,L.localize)(0,null),extensions:[e.WORKSPACE_EXTENSION]}],e.STANDALONE_EDITOR_WORKSPACE_ID="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function n(t){return t.id===e.STANDALONE_EDITOR_WORKSPACE_ID}e.isStandaloneEditorWorkspace=n}),define(ne[909],se([1,0,7,131,39,2,17,16,21,647,30,15,57,34,28,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuController=void 0;let h=u=class{static get(o){return o.getContribution(u.ID)}constructor(o,d,l,p,m,v,b,w){this._contextMenuService=d,this._contextViewService=l,this._contextKeyService=p,this._keybindingService=m,this._menuService=v,this._configurationService=b,this._workspaceContextService=w,this._toDispose=new D.DisposableStore,this._contextMenuIsBeingShownCount=0,this._editor=o,this._toDispose.add(this._editor.onContextMenu(E=>this._onContextMenu(E))),this._toDispose.add(this._editor.onMouseWheel(E=>{if(this._contextMenuIsBeingShownCount>0){const I=this._contextViewService.getContextViewElement(),M=E.srcElement;M.shadowRoot&&L.getShadowRoot(I)===M.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(E=>{this._editor.getOption(23)&&E.keyCode===58&&(E.preventDefault(),E.stopPropagation(),this.showContextMenu())}))}_onContextMenu(o){if(!this._editor.hasModel())return;if(!this._editor.getOption(23)){this._editor.focus(),o.target.position&&!this._editor.getSelection().containsPosition(o.target.position)&&this._editor.setPosition(o.target.position);return}if(o.target.type===12||o.target.type===6&&o.target.detail.injectedText)return;if(o.event.preventDefault(),o.event.stopPropagation(),o.target.type===11)return this._showScrollbarContextMenu(o.event);if(o.target.type!==6&&o.target.type!==7&&o.target.type!==1)return;if(this._editor.focus(),o.target.position){let l=!1;for(const p of this._editor.getSelections())if(p.containsPosition(o.target.position)){l=!0;break}l||this._editor.setPosition(o.target.position)}let d=null;o.target.type!==1&&(d=o.event),this.showContextMenu(d)}showContextMenu(o){if(!this._editor.getOption(23)||!this._editor.hasModel())return;const d=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?C.MenuId.SimpleEditorContext:C.MenuId.EditorContext);d.length>0&&this._doShowContextMenu(d,o)}_getMenuActions(o,d){const l=[],p=this._menuService.createMenu(d,this._contextKeyService),m=p.getActions({arg:o.uri});p.dispose();for(const v of m){const[,b]=v;let w=0;for(const E of b)if(E instanceof C.SubmenuItemAction){const I=this._getMenuActions(o,E.item.submenu);I.length>0&&(l.push(new y.SubmenuAction(E.id,E.label,I)),w++)}else l.push(E),w++;w&&l.push(new y.Separator)}return l.length&&l.pop(),l}_doShowContextMenu(o,d=null){if(!this._editor.hasModel())return;const l=this._editor.getOption(59);this._editor.updateOptions({hover:{enabled:!1}});let p=d;if(!p){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const v=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),b=L.getDomNodePagePosition(this._editor.getDomNode()),w=b.left+v.left,E=b.top+v.top+v.height;p={x:w,y:E}}const m=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:m?this._editor.getDomNode():void 0,getAnchor:()=>p,getActions:()=>o,getActionViewItem:v=>{const b=this._keybindingFor(v);if(b)return new k.ActionViewItem(v,v,{label:!0,keybinding:b.getLabel(),isMenu:!0});const w=v;return typeof w.getActionViewItem=="function"?w.getActionViewItem():new k.ActionViewItem(v,v,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:v=>this._keybindingFor(v),onHide:v=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:l})}})}_showScrollbarContextMenu(o){if(!this._editor.hasModel()||(0,a.isStandaloneEditorWorkspace)(this._workspaceContextService.getWorkspace()))return;const d=this._editor.getOption(71);let l=0;const p=E=>({id:`menu-action-${++l}`,label:E.label,tooltip:"",class:void 0,enabled:typeof E.enabled>"u"?!0:E.enabled,checked:E.checked,run:E.run}),m=(E,I)=>new y.SubmenuAction(`menu-action-${++l}`,E,I,void 0),v=(E,I,M,P,x)=>{if(!I)return p({label:E,enabled:I,run:()=>{}});const T=N=>()=>{this._configurationService.updateValue(M,N)},A=[];for(const N of x)A.push(p({label:N.label,checked:P===N.value,run:T(N.value)}));return m(E,A)},b=[];b.push(p({label:g.localize(0,null),checked:d.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!d.enabled)}})),b.push(new y.Separator),b.push(p({label:g.localize(1,null),enabled:d.enabled,checked:d.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!d.renderCharacters)}})),b.push(v(g.localize(2,null),d.enabled,"editor.minimap.size",d.size,[{label:g.localize(3,null),value:"proportional"},{label:g.localize(4,null),value:"fill"},{label:g.localize(5,null),value:"fit"}])),b.push(v(g.localize(6,null),d.enabled,"editor.minimap.showSlider",d.showSlider,[{label:g.localize(7,null),value:"mouseover"},{label:g.localize(8,null),value:"always"}]));const w=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:w?this._editor.getDomNode():void 0,getAnchor:()=>o,getActions:()=>b,onHide:E=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(o){return this._keybindingService.lookupKeybinding(o.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};e.ContextMenuController=h,h.ID="editor.contrib.contextmenu",e.ContextMenuController=h=u=ke([fe(1,i.IContextMenuService),fe(2,i.IContextViewService),fe(3,s.IContextKeyService),fe(4,n.IKeybindingService),fe(5,C.IMenuService),fe(6,t.IConfigurationService),fe(7,a.IWorkspaceContextService)],h);class r extends f.EditorAction{constructor(){super({id:"editor.action.showContextMenu",label:g.localize(9,null),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.textInputFocus,primary:1092,weight:100}})}run(o,d){var l;(l=h.get(d))===null||l===void 0||l.showContextMenu()}}(0,f.registerEditorContribution)(h.ID,h,2),(0,f.registerEditorAction)(r)}),define(ne[376],se([1,0,14,171,2,107,54,45,22,18,651,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultPasteProvidersFeature=e.DefaultDropProvidersFeature=void 0;const i=(0,C.localize)(0,null);class n{provideDocumentPasteEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,detail:v.detail,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}provideDocumentOnDropEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}}class t extends n{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[D.Mimes.text],this.pasteMimeTypes=[D.Mimes.text]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=d.get(D.Mimes.text);if(!p||d.has(D.Mimes.uriList))return;const m=yield p.asString();return{handledMimeType:D.Mimes.text,label:(0,C.localize)(1,null),detail:i,insertText:m}})}}class a extends n{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;let m=0;const v=p.map(({uri:w,originalText:E})=>w.scheme===S.Schemas.file?w.fsPath:(m++,E)).join(" ");let b;return m>0?b=p.length>1?(0,C.localize)(2,null):(0,C.localize)(3,null):b=p.length>1?(0,C.localize)(4,null):(0,C.localize)(5,null),{handledMimeType:D.Mimes.uriList,insertText:v,label:b,detail:i}})}}let u=class extends n{constructor(d){super(),this._workspaceContextService=d,this.id="relativePath",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;const m=(0,L.coalesce)(p.map(({uri:v})=>{const b=this._workspaceContextService.getWorkspaceFolder(v);return b?(0,f.relativePath)(b.uri,v):void 0}));if(m.length)return{handledMimeType:D.Mimes.uriList,insertText:m.join(" "),label:p.length>1?(0,C.localize)(6,null):(0,C.localize)(7,null),detail:i}})}};u=ke([fe(0,s.IWorkspaceContextService)],u);function h(o){return we(this,void 0,void 0,function*(){const d=o.get(D.Mimes.uriList);if(!d)return[];const l=yield d.asString(),p=[];for(const m of k.UriList.parse(l))try{p.push({uri:_.URI.parse(m),originalText:m})}catch{}return p})}let r=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentOnDropEditProvider.register("*",new t)),this._register(d.documentOnDropEditProvider.register("*",new a)),this._register(d.documentOnDropEditProvider.register("*",new u(l)))}};e.DefaultDropProvidersFeature=r,e.DefaultDropProvidersFeature=r=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],r);let c=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentPasteEditProvider.register("*",new t)),this._register(d.documentPasteEditProvider.register("*",new a)),this._register(d.documentPasteEditProvider.register("*",new u(l)))}};e.DefaultPasteProvidersFeature=c,e.DefaultPasteProvidersFeature=c=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],c)}),define(ne[910],se([1,0,16,149,888,376,649]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.CopyPasteController.ID,y.CopyPasteController,0),(0,k.registerEditorFeature)(D.DefaultPasteProvidersFeature),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:y.changePasteTypeCommandId,precondition:y.pasteWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(f,_,g){var C;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.changePasteType()}}),(0,L.registerEditorAction)(class extends L.EditorAction{constructor(){super({id:"editor.action.pasteAs",label:S.localize(0,null),alias:"Paste As...",precondition:void 0,description:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:S.localize(1,null)}}}}]}})}run(f,_,g){var C;const s=typeof g?.id=="string"?g.id:void 0;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.pasteAs(s)}})}),define(ne[911],se([1,0,16,241,149,376,652,98,37,889]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(g.DropIntoEditorController.ID,g.DropIntoEditorController,2),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:g.changeDropTypeCommandId,precondition:g.dropWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(C,s,i){var n;(n=g.DropIntoEditorController.get(s))===null||n===void 0||n.changeDropType()}}),(0,y.registerEditorFeature)(D.DefaultDropProvidersFeature),_.Registry.as(f.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{[g.defaultProviderConfig]:{type:"object",scope:5,description:S.localize(0,null),default:{},additionalProperties:{type:"string"}}}}))}),define(ne[912],se([1,0,571,92,45,11,170,32,128,698,163]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RandomBasedVariableResolver=e.WorkspaceBasedVariableResolver=e.TimeBasedVariableResolver=e.CommentBasedVariableResolver=e.ClipboardBasedVariableResolver=e.ModelBasedVariableResolver=e.SelectionBasedVariableResolver=e.CompositeSnippetVariableResolver=e.KnownSnippetVariableNames=void 0,e.KnownSnippetVariableNames=Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,CURRENT_TIMEZONE_OFFSET:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class s{constructor(o){this._delegates=o}resolve(o){for(const d of this._delegates){const l=d.resolve(o);if(l!==void 0)return l}}}e.CompositeSnippetVariableResolver=s;class i{constructor(o,d,l,p){this._model=o,this._selection=d,this._selectionIdx=l,this._overtypingCapturer=p}resolve(o){const{name:d}=o;if(d==="SELECTION"||d==="TM_SELECTED_TEXT"){let l=this._model.getValueInRange(this._selection)||void 0,p=this._selection.startLineNumber!==this._selection.endLineNumber;if(!l&&this._overtypingCapturer){const m=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);m&&(l=m.value,p=m.multiline)}if(l&&p&&o.snippet){const m=this._model.getLineContent(this._selection.startLineNumber),v=(0,D.getLeadingWhitespace)(m,0,this._selection.startColumn-1);let b=v;o.snippet.walk(E=>E===o?!1:(E instanceof _.Text&&(b=(0,D.getLeadingWhitespace)((0,D.splitLines)(E.value).pop())),!0));const w=(0,D.commonPrefixLength)(b,v);l=l.replace(/(\r\n|\r|\n)(.*)/g,(E,I,M)=>`${I}${b.substr(w)}${M}`)}return l}else{if(d==="TM_CURRENT_LINE")return this._model.getLineContent(this._selection.positionLineNumber);if(d==="TM_CURRENT_WORD"){const l=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return l&&l.word||void 0}else{if(d==="TM_LINE_INDEX")return String(this._selection.positionLineNumber-1);if(d==="TM_LINE_NUMBER")return String(this._selection.positionLineNumber);if(d==="CURSOR_INDEX")return String(this._selectionIdx);if(d==="CURSOR_NUMBER")return String(this._selectionIdx+1)}}}}e.SelectionBasedVariableResolver=i;class n{constructor(o,d){this._labelService=o,this._model=d}resolve(o){const{name:d}=o;if(d==="TM_FILENAME")return k.basename(this._model.uri.fsPath);if(d==="TM_FILENAME_BASE"){const l=k.basename(this._model.uri.fsPath),p=l.lastIndexOf(".");return p<=0?l:l.slice(0,p)}else{if(d==="TM_DIRECTORY")return k.dirname(this._model.uri.fsPath)==="."?"":this._labelService.getUriLabel((0,y.dirname)(this._model.uri));if(d==="TM_FILEPATH")return this._labelService.getUriLabel(this._model.uri);if(d==="RELATIVE_FILEPATH")return this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0})}}}e.ModelBasedVariableResolver=n;class t{constructor(o,d,l,p){this._readClipboardText=o,this._selectionIdx=d,this._selectionCount=l,this._spread=p}resolve(o){if(o.name!=="CLIPBOARD")return;const d=this._readClipboardText();if(d){if(this._spread){const l=d.split(/\r\n|\n|\r/).filter(p=>!(0,D.isFalsyOrWhitespace)(p));if(l.length===this._selectionCount)return l[this._selectionIdx]}return d}}}e.ClipboardBasedVariableResolver=t;let a=class{constructor(o,d,l){this._model=o,this._selection=d,this._languageConfigurationService=l}resolve(o){const{name:d}=o,l=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),p=this._languageConfigurationService.getLanguageConfiguration(l).comments;if(p){if(d==="LINE_COMMENT")return p.lineCommentToken||void 0;if(d==="BLOCK_COMMENT_START")return p.blockCommentStartToken||void 0;if(d==="BLOCK_COMMENT_END")return p.blockCommentEndToken||void 0}}};e.CommentBasedVariableResolver=a,e.CommentBasedVariableResolver=a=ke([fe(2,f.ILanguageConfigurationService)],a);class u{constructor(){this._date=new Date}resolve(o){const{name:d}=o;if(d==="CURRENT_YEAR")return String(this._date.getFullYear());if(d==="CURRENT_YEAR_SHORT")return String(this._date.getFullYear()).slice(-2);if(d==="CURRENT_MONTH")return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if(d==="CURRENT_DATE")return String(this._date.getDate().valueOf()).padStart(2,"0");if(d==="CURRENT_HOUR")return String(this._date.getHours().valueOf()).padStart(2,"0");if(d==="CURRENT_MINUTE")return String(this._date.getMinutes().valueOf()).padStart(2,"0");if(d==="CURRENT_SECOND")return String(this._date.getSeconds().valueOf()).padStart(2,"0");if(d==="CURRENT_DAY_NAME")return u.dayNames[this._date.getDay()];if(d==="CURRENT_DAY_NAME_SHORT")return u.dayNamesShort[this._date.getDay()];if(d==="CURRENT_MONTH_NAME")return u.monthNames[this._date.getMonth()];if(d==="CURRENT_MONTH_NAME_SHORT")return u.monthNamesShort[this._date.getMonth()];if(d==="CURRENT_SECONDS_UNIX")return String(Math.floor(this._date.getTime()/1e3));if(d==="CURRENT_TIMEZONE_OFFSET"){const l=this._date.getTimezoneOffset(),p=l>0?"-":"+",m=Math.trunc(Math.abs(l/60)),v=m<10?"0"+m:m,b=Math.abs(l)-m*60,w=b<10?"0"+b:b;return p+v+":"+w}}}e.TimeBasedVariableResolver=u,u.dayNames=[g.localize(0,null),g.localize(1,null),g.localize(2,null),g.localize(3,null),g.localize(4,null),g.localize(5,null),g.localize(6,null)],u.dayNamesShort=[g.localize(7,null),g.localize(8,null),g.localize(9,null),g.localize(10,null),g.localize(11,null),g.localize(12,null),g.localize(13,null)],u.monthNames=[g.localize(14,null),g.localize(15,null),g.localize(16,null),g.localize(17,null),g.localize(18,null),g.localize(19,null),g.localize(20,null),g.localize(21,null),g.localize(22,null),g.localize(23,null),g.localize(24,null),g.localize(25,null)],u.monthNamesShort=[g.localize(26,null),g.localize(27,null),g.localize(28,null),g.localize(29,null),g.localize(30,null),g.localize(31,null),g.localize(32,null),g.localize(33,null),g.localize(34,null),g.localize(35,null),g.localize(36,null),g.localize(37,null)];class h{constructor(o){this._workspaceService=o}resolve(o){if(!this._workspaceService)return;const d=(0,C.toWorkspaceIdentifier)(this._workspaceService.getWorkspace());if(!(0,C.isEmptyWorkspaceIdentifier)(d)){if(o.name==="WORKSPACE_NAME")return this._resolveWorkspaceName(d);if(o.name==="WORKSPACE_FOLDER")return this._resoveWorkspacePath(d)}}_resolveWorkspaceName(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return k.basename(o.uri.path);let d=k.basename(o.configPath.path);return d.endsWith(C.WORKSPACE_EXTENSION)&&(d=d.substr(0,d.length-C.WORKSPACE_EXTENSION.length-1)),d}_resoveWorkspacePath(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return(0,L.normalizeDriveLetter)(o.uri.fsPath);const d=k.basename(o.configPath.path);let l=o.configPath.fsPath;return l.endsWith(d)&&(l=l.substr(0,l.length-d.length-1)),l?(0,L.normalizeDriveLetter)(l):"/"}}e.WorkspaceBasedVariableResolver=h;class r{resolve(o){const{name:d}=o;if(d==="RANDOM")return Math.random().toString().slice(-6);if(d==="RANDOM_HEX")return Math.random().toString(16).slice(-6);if(d==="UUID")return(0,S.generateUuid)()}}e.RandomBasedVariableResolver=r}),define(ne[377],se([1,0,14,2,11,73,5,24,32,40,158,163,128,912,460]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetSession=e.OneSnippet=void 0;class a{constructor(c,o,d){this._editor=c,this._snippet=o,this._snippetLineLeadingWhitespace=d,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,L.groupBy)(o.placeholders,i.Placeholder.compareByIndex),this._placeholderGroupsIdx=-1}initialize(c){this._offset=c.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(this._offset===-1)throw new Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const c=this._editor.getModel();this._editor.changeDecorations(o=>{for(const d of this._snippet.placeholders){const l=this._snippet.offset(d),p=this._snippet.fullLen(d),m=S.Range.fromPositions(c.getPositionAt(this._offset+l),c.getPositionAt(this._offset+l+p)),v=d.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive,b=o.addDecoration(m,v);this._placeholderDecorations.set(d,b)}})}move(c){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){const l=[];for(const p of this._placeholderGroups[this._placeholderGroupsIdx])if(p.transform){const m=this._placeholderDecorations.get(p),v=this._editor.getModel().getDecorationRange(m),b=this._editor.getModel().getValueInRange(v),w=p.transform.resolve(b).split(/\r\n|\r|\n/);for(let E=1;E0&&this._editor.executeEdits("snippet.placeholderTransform",l)}let o=!1;c===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,o=!0);const d=this._editor.getModel().changeDecorations(l=>{const p=new Set,m=[];for(const v of this._placeholderGroups[this._placeholderGroupsIdx]){const b=this._placeholderDecorations.get(v),w=this._editor.getModel().getDecorationRange(b);m.push(new f.Selection(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn)),o=o&&this._hasPlaceholderBeenCollapsed(v),l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(v);for(const E of this._snippet.enclosingPlaceholders(v)){const I=this._placeholderDecorations.get(E);l.changeDecorationOptions(I,E.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(E)}}for(const[v,b]of this._placeholderDecorations)p.has(v)||l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive);return m});return o?this.move(c):d??[]}_hasPlaceholderBeenCollapsed(c){let o=c;for(;o;){if(o instanceof i.Placeholder){const d=this._placeholderDecorations.get(o);if(this._editor.getModel().getDecorationRange(d).isEmpty()&&o.toString().length>0)return!0}o=o.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(this._snippet.placeholders.length===0)return!0;if(this._snippet.placeholders.length===1){const[c]=this._snippet.placeholders;if(c.isFinalTabstop&&this._snippet.rightMostDescendant===c)return!0}return!1}computePossibleSelections(){const c=new Map;for(const o of this._placeholderGroups){let d;for(const l of o){if(l.isFinalTabstop)break;d||(d=[],c.set(l.index,d));const p=this._placeholderDecorations.get(l),m=this._editor.getModel().getDecorationRange(p);if(!m){c.delete(l.index);break}d.push(m)}}return c}get activeChoice(){if(!this._placeholderDecorations)return;const c=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!c?.choice)return;const o=this._placeholderDecorations.get(c);if(!o)return;const d=this._editor.getModel().getDecorationRange(o);if(d)return{range:d,choice:c.choice}}get hasChoice(){let c=!1;return this._snippet.walk(o=>(c=o instanceof i.Choice,!c)),c}merge(c){const o=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(d=>{for(const l of this._placeholderGroups[this._placeholderGroupsIdx]){const p=c.shift();console.assert(p._offset!==-1),console.assert(!p._placeholderDecorations);const m=p._snippet.placeholderInfo.last.index;for(const b of p._snippet.placeholderInfo.all)b.isFinalTabstop?b.index=l.index+(m+1)/this._nestingLevel:b.index=l.index+b.index/this._nestingLevel;this._snippet.replace(l,p._snippet.children);const v=this._placeholderDecorations.get(l);d.removeDecoration(v),this._placeholderDecorations.delete(l);for(const b of p._snippet.placeholders){const w=p._snippet.offset(b),E=p._snippet.fullLen(b),I=S.Range.fromPositions(o.getPositionAt(p._offset+w),o.getPositionAt(p._offset+w+E)),M=d.addDecoration(I,a._decor.inactive);this._placeholderDecorations.set(b,M)}}this._placeholderGroups=(0,L.groupBy)(this._snippet.placeholders,i.Placeholder.compareByIndex)})}}e.OneSnippet=a,a._decor={active:g.ModelDecorationOptions.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:g.ModelDecorationOptions.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const u={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let h=t=class{static adjustWhitespace(c,o,d,l,p){const m=c.getLineContent(o.lineNumber),v=(0,y.getLeadingWhitespace)(m,0,o.column-1);let b;return l.walk(w=>{if(!(w instanceof i.Text)||w.parent instanceof i.Choice||p&&!p.has(w))return!0;const E=w.value.split(/\r\n|\r|\n/);if(d){const M=l.offset(w);if(M===0)E[0]=c.normalizeIndentation(E[0]);else{b=b??l.toString();const P=b.charCodeAt(M-1);(P===10||P===13)&&(E[0]=c.normalizeIndentation(v+E[0]))}for(let P=1;PW.get(s.IWorkspaceContextService)),x=c.invokeWithinContext(W=>new n.ModelBasedVariableResolver(W.get(C.ILabelService),M)),T=()=>v,A=M.getValueInRange(t.adjustSelection(M,c.getSelection(),d,0)),N=M.getValueInRange(t.adjustSelection(M,c.getSelection(),0,l)),F=M.getLineFirstNonWhitespaceColumn(c.getSelection().positionLineNumber),O=c.getSelections().map((W,U)=>({selection:W,idx:U})).sort((W,U)=>S.Range.compareRangesUsingStarts(W.selection,U.selection));for(const{selection:W,idx:U}of O){let j=t.adjustSelection(M,W,d,0),R=t.adjustSelection(M,W,0,l);A!==M.getValueInRange(j)&&(j=W),N!==M.getValueInRange(R)&&(R=W);const K=W.setStartPosition(j.startLineNumber,j.startColumn).setEndPosition(R.endLineNumber,R.endColumn),G=new i.SnippetParser().parse(o,!0,p),Z=K.getStartPosition(),J=t.adjustWhitespace(M,Z,m||U>0&&F!==M.getLineFirstNonWhitespaceColumn(W.positionLineNumber),G);G.resolveVariables(new n.CompositeSnippetVariableResolver([x,new n.ClipboardBasedVariableResolver(T,U,O.length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(M,W,U,b),new n.CommentBasedVariableResolver(M,W,w),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(P),new n.RandomBasedVariableResolver])),E[U]=D.EditOperation.replace(K,G.toString()),E[U].identifier={major:U,minor:0},E[U]._isTracked=!0,I[U]=new a(c,G,J)}return{edits:E,snippets:I}}static createEditsAndSnippetsFromEdits(c,o,d,l,p,m,v){if(!c.hasModel()||o.length===0)return{edits:[],snippets:[]};const b=[],w=c.getModel(),E=new i.SnippetParser,I=new i.TextmateSnippet,M=new n.CompositeSnippetVariableResolver([c.invokeWithinContext(x=>new n.ModelBasedVariableResolver(x.get(C.ILabelService),w)),new n.ClipboardBasedVariableResolver(()=>p,0,c.getSelections().length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(w,c.getSelection(),0,m),new n.CommentBasedVariableResolver(w,c.getSelection(),v),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(c.invokeWithinContext(x=>x.get(s.IWorkspaceContextService))),new n.RandomBasedVariableResolver]);o=o.sort((x,T)=>S.Range.compareRangesUsingStarts(x.range,T.range));let P=0;for(let x=0;x0){const U=o[x-1].range,j=S.Range.fromPositions(U.getEndPosition(),T.getStartPosition()),R=new i.Text(w.getValueInRange(j));I.appendChild(R),P+=R.value.length}const N=E.parseFragment(A,I);t.adjustWhitespace(w,T.getStartPosition(),!0,I,new Set(N)),I.resolveVariables(M);const F=I.toString(),O=F.slice(P);P=F.length;const W=D.EditOperation.replace(T,O);W.identifier={major:x,minor:0},W._isTracked=!0,b.push(W)}return E.ensureFinalTabstop(I,d,!0),{edits:b,snippets:[new a(c,I,"")]}}constructor(c,o,d=u,l){this._editor=c,this._template=o,this._options=d,this._languageConfigurationService=l,this._templateMerges=[],this._snippets=[]}dispose(){(0,k.dispose)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:c,snippets:o}=typeof this._template=="string"?t.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):t.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=o,this._editor.executeEdits("snippet",c,d=>{const l=d.filter(p=>!!p.identifier);for(let p=0;pf.Selection.fromPositions(p.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(c,o=u){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,c]);const{edits:d,snippets:l}=t.createEditsAndSnippetsFromSelections(this._editor,c,o.overwriteBefore,o.overwriteAfter,!0,o.adjustWhitespace,o.clipboardText,o.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",d,p=>{const m=p.filter(b=>!!b.identifier);for(let b=0;bf.Selection.fromPositions(b.range.getEndPosition()))})}next(){const c=this._move(!0);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}prev(){const c=this._move(!1);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}_move(c){const o=[];for(const d of this._snippets){const l=d.move(c);o.push(...l)}return o}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const c=this._editor.getSelections();if(c.length{p.push(...l.get(m))})}c.sort(S.Range.compareRangesUsingStarts);for(const[d,l]of o){if(l.length!==c.length){o.delete(d);continue}l.sort(S.Range.compareRangesUsingStarts);for(let p=0;p0}};e.SnippetSession=h,e.SnippetSession=h=t=ke([fe(3,_.ILanguageConfigurationService)],h)}),define(ne[194],se([1,0,2,20,16,12,21,32,18,135,697,15,70,377]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetController2=void 0;const a={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let u=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d,l,p){this._editor=c,this._logService=o,this._languageFeaturesService=d,this._languageConfigurationService=p,this._snippetListener=new L.DisposableStore,this._modelVersionId=-1,this._inSnippet=t.InSnippetMode.bindTo(l),this._hasNextTabstop=t.HasNextTabstop.bindTo(l),this._hasPrevTabstop=t.HasPrevTabstop.bindTo(l)}dispose(){var c;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),(c=this._session)===null||c===void 0||c.dispose(),this._snippetListener.dispose()}insert(c,o){try{this._doInsert(c,typeof o>"u"?a:Object.assign(Object.assign({},a),o))}catch(d){this.cancel(),this._logService.error(d),this._logService.error("snippet_error"),this._logService.error("insert_template=",c),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}}_doInsert(c,o){var d;if(this._editor.hasModel()){if(this._snippetListener.clear(),o.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&typeof c!="string"&&this.cancel(),this._session?((0,k.assertType)(typeof c=="string"),this._session.merge(c,o)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new n.SnippetSession(this._editor,c,o,this._languageConfigurationService),this._session.insert()),o.undoStopAfter&&this._editor.getModel().pushStackElement(),!((d=this._session)===null||d===void 0)&&d.hasChoice){const l={_debugDisplayName:"snippetChoiceCompletions",provideCompletionItems:(E,I)=>{if(!this._session||E!==this._editor.getModel()||!D.Position.equals(this._editor.getPosition(),I))return;const{activeChoice:M}=this._session;if(!M||M.choice.options.length===0)return;const P=E.getValueInRange(M.range),x=!!M.choice.options.find(A=>A.value===P),T=[];for(let A=0;A{m?.dispose(),v=!1},w=()=>{v||(m=this._languageFeaturesService.completionProvider.register({language:p.getLanguageId(),pattern:p.uri.fsPath,scheme:p.uri.scheme,exclusive:!0},l),this._snippetListener.add(m),v=!0)};this._choiceCompletions={provider:l,enable:w,disable:b}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(l=>l.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){if(!(!this._session||!this._editor.hasModel())){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){var c;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{activeChoice:o}=this._session;if(!o||!this._choiceCompletions){(c=this._choiceCompletions)===null||c===void 0||c.disable(),this._currentChoice=void 0;return}this._currentChoice!==o.choice&&(this._currentChoice=o.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{(0,g.showSimpleSuggestions)(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(c=!1){var o;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,(o=this._session)===null||o===void 0||o.dispose(),this._session=void 0,this._modelVersionId=-1,c&&this._editor.setSelections([this._editor.getSelection()])}prev(){var c;(c=this._session)===null||c===void 0||c.prev(),this._updateState()}next(){var c;(c=this._session)===null||c===void 0||c.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};e.SnippetController2=u,u.ID="snippetController2",u.InSnippetMode=new s.RawContextKey("inSnippetMode",!1,(0,C.localize)(0,null)),u.HasNextTabstop=new s.RawContextKey("hasNextTabstop",!1,(0,C.localize)(1,null)),u.HasPrevTabstop=new s.RawContextKey("hasPrevTabstop",!1,(0,C.localize)(2,null)),e.SnippetController2=u=t=ke([fe(1,i.ILogService),fe(2,_.ILanguageFeaturesService),fe(3,s.IContextKeyService),fe(4,f.ILanguageConfigurationService)],u),(0,y.registerEditorContribution)(u.ID,u,4);const h=y.EditorCommand.bindToContribution(u.get);(0,y.registerEditorCommand)(new h({id:"jumpToNextSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasNextTabstop),handler:r=>r.next(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:2}})),(0,y.registerEditorCommand)(new h({id:"jumpToPrevSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasPrevTabstop),handler:r=>r.prev(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:1026}})),(0,y.registerEditorCommand)(new h({id:"leaveSnippet",precondition:u.InSnippetMode,handler:r=>r.cancel(!0),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new h({id:"acceptSnippet",precondition:u.InSnippetMode,handler:r=>r.finish()}))}),define(ne[913],se([1,0,14,9,2,42,20,73,12,5,29,32,215,779,151,194,27,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsModel=e.VersionIdChangeReason=void 0;var r;(function(o){o[o.Undo=0]="Undo",o[o.Redo=1]="Redo",o[o.AcceptWord=2]="AcceptWord",o[o.Other=3]="Other"})(r||(e.VersionIdChangeReason=r={}));let c=class extends y.Disposable{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(d,l,p,m,v,b,w,E,I,M,P,x){super(),this.textModel=d,this.selectedSuggestItem=l,this.cursorPosition=p,this.textModelVersionId=m,this._debounceValue=v,this._suggestPreviewEnabled=b,this._suggestPreviewMode=w,this._inlineSuggestMode=E,this._enabled=I,this._instantiationService=M,this._commandService=P,this._languageConfigurationService=x,this._source=this._register(this._instantiationService.createInstance(n.InlineCompletionsSource,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,D.observableValue)("isActive",!1),this._forceUpdate=(0,D.observableSignal)("forceUpdate"),this._selectedInlineCompletionId=(0,D.observableValue)("selectedInlineCompletionId",void 0),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([r.Redo,r.Undo,r.AcceptWord]),this._fetchInlineCompletions=(0,D.derivedHandleChanges)("fetch inline completions",{createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:C.InlineCompletionTriggerKind.Automatic}),handleChange:(A,N)=>(A.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(A.change)?N.preserveCurrentCompletion=!0:A.didChange(this._forceUpdate)&&(N.inlineCompletionTriggerKind=A.change),!0)},(A,N)=>{if(this._forceUpdate.read(A),!(this._enabled.read(A)&&this.selectedSuggestItem.read(A)||this._isActive.read(A))){this._source.cancelUpdate();return}this.textModelVersionId.read(A);const O=this.selectedInlineCompletion.get(),W=N.preserveCurrentCompletion||O?.forwardStable?O:void 0,U=this._source.suggestWidgetInlineCompletions.get(),j=this.selectedSuggestItem.read(A);if(U&&!j){const G=this._source.inlineCompletions.get();(0,D.transaction)(Z=>{G&&U.request.versionId>G.request.versionId&&this._source.inlineCompletions.set(U.clone(),Z),this._source.clearSuggestWidgetInlineCompletions(Z)})}const R=this.cursorPosition.read(A),K={triggerKind:N.inlineCompletionTriggerKind,selectedSuggestionInfo:j?.toSelectedSuggestionInfo()};return this._source.fetch(R,K,W)}),this._filteredInlineCompletionItems=(0,D.derived)(A=>{const N=this._source.inlineCompletions.read(A);if(!N)return[];const F=this.cursorPosition.read(A);return N.inlineCompletions.filter(W=>W.isVisible(this.textModel,F,A))}),this.selectedInlineCompletionIndex=(0,D.derived)(A=>{const N=this._selectedInlineCompletionId.read(A),F=this._filteredInlineCompletionItems.read(A),O=this._selectedInlineCompletionId===void 0?-1:F.findIndex(W=>W.semanticId===N);return O===-1?(this._selectedInlineCompletionId.set(void 0,void 0),0):O}),this.selectedInlineCompletion=(0,D.derived)(A=>{const N=this._filteredInlineCompletionItems.read(A),F=this.selectedInlineCompletionIndex.read(A);return N[F]}),this.lastTriggerKind=this._source.inlineCompletions.map(A=>A?.request.context.triggerKind),this.inlineCompletionsCount=(0,D.derived)(A=>{if(this.lastTriggerKind.read(A)===C.InlineCompletionTriggerKind.Explicit)return this._filteredInlineCompletionItems.read(A).length}),this.state=(0,D.derivedOpts)({equalityComparer:(A,N)=>!A||!N?A===N:(0,i.ghostTextOrReplacementEquals)(A.ghostText,N.ghostText)&&A.inlineCompletion===N.inlineCompletion&&A.suggestItem===N.suggestItem},A=>{var N;const F=this.textModel,O=this.selectedSuggestItem.read(A);if(O){const W=O.toSingleTextEdit().removeCommonPrefix(F),U=this._computeAugmentedCompletion(W,A);if(!this._suggestPreviewEnabled.read(A)&&!U)return;const R=(N=U?.edit)!==null&&N!==void 0?N:W,K=U?U.edit.text.length-W.text.length:0,G=this._suggestPreviewMode.read(A),Z=this.cursorPosition.read(A),J=R.computeGhostText(F,G,Z,K);return{ghostText:J??new i.GhostText(R.range.endLineNumber,[]),inlineCompletion:U?.completion,suggestItem:O}}else{if(!this._isActive.read(A))return;const W=this.selectedInlineCompletion.read(A);if(!W)return;const U=W.toSingleTextEdit(A),j=this._inlineSuggestMode.read(A),R=this.cursorPosition.read(A),K=U.computeGhostText(F,j,R);return K?{ghostText:K,inlineCompletion:W,suggestItem:void 0}:void 0}}),this.ghostText=(0,D.derivedOpts)({equalityComparer:i.ghostTextOrReplacementEquals},A=>{const N=this.state.read(A);if(N)return N.ghostText}),this._register((0,D.keepAlive)(this._fetchInlineCompletions,!0));let T;this._register((0,D.autorun)(A=>{var N,F;const O=this.state.read(A),W=O?.inlineCompletion;if(W?.semanticId!==T?.semanticId&&(T=W,W)){const U=W.inlineCompletion,j=U.source;(F=(N=j.provider).handleItemDidShow)===null||F===void 0||F.call(N,j.inlineCompletions,U.sourceInlineCompletion,U.insertText)}}))}trigger(d){return we(this,void 0,void 0,function*(){this._isActive.set(!0,d),yield this._fetchInlineCompletions.get()})}triggerExplicitly(d){return we(this,void 0,void 0,function*(){(0,D.subtransaction)(d,l=>{this._isActive.set(!0,l),this._forceUpdate.trigger(l,C.InlineCompletionTriggerKind.Explicit)}),yield this._fetchInlineCompletions.get()})}stop(d){(0,D.subtransaction)(d,l=>{this._isActive.set(!1,l),this._source.clear(l)})}_computeAugmentedCompletion(d,l){const p=this.textModel,m=this._source.suggestWidgetInlineCompletions.read(l),v=m?m.inlineCompletions:[this.selectedInlineCompletion.read(l)].filter(S.isDefined);return(0,L.mapFind)(v,w=>{let E=w.toSingleTextEdit(l);return E=E.removeCommonPrefix(p,g.Range.fromPositions(E.range.getStartPosition(),d.range.getEndPosition())),E.augments(d)?{edit:E,completion:w}:void 0})}_deltaSelectedInlineCompletionIndex(d){return we(this,void 0,void 0,function*(){yield this.triggerExplicitly();const l=this._filteredInlineCompletionItems.get()||[];if(l.length>0){const p=(this.selectedInlineCompletionIndex.get()+d+l.length)%l.length;this._selectedInlineCompletionId.set(l[p].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)})}next(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(1)})}previous(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(-1)})}accept(d){var l;return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.inlineCompletion.toInlineCompletion(void 0);d.pushUndoStop(),m.snippetInfo?(d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,""),...m.additionalTextEdits]),d.setPosition(m.snippetInfo.range.getStartPosition()),(l=a.SnippetController2.get(d))===null||l===void 0||l.insert(m.snippetInfo.snippet,{undoStopBefore:!1})):d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,m.insertText),...m.additionalTextEdits]),m.command&&m.source.addRef(),(0,D.transaction)(v=>{this._source.clear(v),this._isActive.set(!1,v)}),m.command&&(yield this._commandService.executeCommand(m.command.id,...m.command.arguments||[]).then(void 0,k.onUnexpectedExternalError),m.source.removeRef())})}acceptNextWord(d){return we(this,void 0,void 0,function*(){yield this._acceptNext(d,(l,p)=>{const m=this.textModel.getLanguageIdAtPosition(l.lineNumber,l.column),v=this._languageConfigurationService.getLanguageConfiguration(m),b=new RegExp(v.wordDefinition.source,v.wordDefinition.flags.replace("g","")),w=p.match(b);let E=0;w&&w.index!==void 0?w.index===0?E=w[0].length:E=w.index:E=p.length;const M=/\s+/g.exec(p);return M&&M.index!==void 0&&M.index+M[0].length{const m=p.match(/\n/);return m&&m.index!==void 0?m.index+1:p.length})})}_acceptNext(d,l){return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.ghostText,v=p.inlineCompletion.toInlineCompletion(void 0);if(v.snippetInfo||v.filterText!==v.insertText){yield this.accept(d);return}const b=m.parts[0],w=new _.Position(m.lineNumber,b.column),E=b.lines.join(` -`),I=l(w,E);if(I===E.length&&m.parts.length===1){this.accept(d);return}const M=E.substring(0,I);this._isAcceptingPartially=!0;try{d.pushUndoStop(),d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replace(g.Range.fromPositions(w),M)]);const P=(0,t.lengthOfText)(M);d.setPosition((0,t.addPositions)(w,P))}finally{this._isAcceptingPartially=!1}if(v.source.provider.handlePartialAccept){const P=g.Range.fromPositions(v.range.getStartPosition(),(0,t.addPositions)(w,(0,t.lengthOfText)(M))),x=d.getModel().getValueInRange(P,1);v.source.provider.handlePartialAccept(v.source.inlineCompletions,v.sourceInlineCompletion,x.length)}})}handleSuggestAccepted(d){var l,p;const m=d.toSingleTextEdit().removeCommonPrefix(this.textModel),v=this._computeAugmentedCompletion(m,void 0);if(!v)return;const b=v.completion.inlineCompletion;(p=(l=b.source.provider).handlePartialAccept)===null||p===void 0||p.call(l,b.source.inlineCompletions,b.sourceInlineCompletion,m.text.length)}};e.InlineCompletionsModel=c,e.InlineCompletionsModel=c=ke([fe(9,h.IInstantiationService),fe(10,u.ICommandService),fe(11,s.ILanguageConfigurationService)],c)}),define(ne[914],se([1,0,13,19,9,6,2,11,24,115,301,96,28,15,70,79,300,135,18,72,20,235,194,239]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestModel=e.LineContext=void 0;class v{static shouldAutoTrigger(M){if(!M.hasModel())return!1;const P=M.getModel(),x=M.getPosition();P.tokenization.tokenizeIfCheap(x.lineNumber);const T=P.getWordAtPosition(x);return!(!T||T.endColumn!==x.column&&T.startColumn+1!==x.column||!isNaN(Number(T.word)))}constructor(M,P,x){this.leadingLineContent=M.getLineContent(P.lineNumber).substr(0,P.column-1),this.leadingWord=M.getWordUntilPosition(P),this.lineNumber=P.lineNumber,this.column=P.column,this.triggerOptions=x}}e.LineContext=v;function b(I,M,P){if(!M.getContextKeyValue(d.InlineCompletionContextKeys.inlineSuggestionVisible.key))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}function w(I,M,P){if(!M.getContextKeyValue("inlineSuggestionVisible"))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}let E=m=class{constructor(M,P,x,T,A,N,F,O,W){this._editor=M,this._editorWorkerService=P,this._clipboardService=x,this._telemetryService=T,this._logService=A,this._contextKeyService=N,this._configurationService=F,this._languageFeaturesService=O,this._envService=W,this._toDispose=new S.DisposableStore,this._triggerCharacterListener=new S.DisposableStore,this._triggerQuickSuggest=new L.TimeoutTimer,this._triggerState=void 0,this._completionDisposables=new S.DisposableStore,this._onDidCancel=new D.Emitter,this._onDidTrigger=new D.Emitter,this._onDidSuggest=new D.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new _.Selection(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let U=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{U=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{U=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(j=>{U||this._onCursorChange(j)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{!U&&this._triggerState!==void 0&&this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,S.dispose)(this._triggerCharacterListener),(0,S.dispose)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(89)||!this._editor.hasModel()||!this._editor.getOption(119))return;const M=new Map;for(const x of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const T of x.triggerCharacters||[]){let A=M.get(T);A||(A=new Set,A.add((0,h.getSnippetSuggestSupport)()),M.set(T,A)),A.add(x)}const P=x=>{var T;if(!w(this._editor,this._contextKeyService,this._configurationService)||v.shouldAutoTrigger(this._editor))return;if(!x){const F=this._editor.getPosition();x=this._editor.getModel().getLineContent(F.lineNumber).substr(0,F.column-1)}let A="";(0,f.isLowSurrogate)(x.charCodeAt(x.length-1))?(0,f.isHighSurrogate)(x.charCodeAt(x.length-2))&&(A=x.substr(x.length-2)):A=x.charAt(x.length-1);const N=M.get(A);if(N){const F=new Map;if(this._completionModel)for(const[O,W]of this._completionModel.getItemsByProvider())N.has(O)||F.set(O,W);this.trigger({auto:!0,triggerKind:1,triggerCharacter:A,retrigger:!!this._completionModel,clipboardText:(T=this._completionModel)===null||T===void 0?void 0:T.clipboardText,completionOptions:{providerFilter:N,providerItemsToReuse:F}})}};this._triggerCharacterListener.add(this._editor.onDidType(P)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>P()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(M=!1){var P;this._triggerState!==void 0&&(this._triggerQuickSuggest.cancel(),(P=this._requestToken)===null||P===void 0||P.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:M}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._triggerState!==void 0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._triggerState.auto,retrigger:!0}))}_onCursorChange(M){if(!this._editor.hasModel())return;const P=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!M.selection.isEmpty()||M.reason!==0&&M.reason!==3||M.source!=="keyboard"&&M.source!=="deleteLeft"){this.cancel();return}this._triggerState===void 0&&M.reason===0?(P.containsRange(this._currentSelection)||P.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._triggerState!==void 0&&M.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._triggerState===void 0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var M;h.QuickSuggestionsOptions.isAllOff(this._editor.getOption(87))||this._editor.getOption(116).snippetsPreventQuickSuggestions&&(!((M=l.SnippetController2.get(this._editor))===null||M===void 0)&&M.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._triggerState!==void 0||!v.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;const P=this._editor.getModel(),x=this._editor.getPosition(),T=this._editor.getOption(87);if(!h.QuickSuggestionsOptions.isAllOff(T)){if(!h.QuickSuggestionsOptions.isAllOn(T)){P.tokenization.tokenizeIfCheap(x.lineNumber);const A=P.tokenization.getLineTokens(x.lineNumber),N=A.getStandardTokenType(A.findTokenIndexAtOffset(Math.max(x.column-1-1,0)));if(h.QuickSuggestionsOptions.valueFor(T,N)!=="on")return}b(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(P)&&this.trigger({auto:!0})}},this._editor.getOption(88)))}_refilterCompletionItems(){(0,o.assertType)(this._editor.hasModel()),(0,o.assertType)(this._triggerState!==void 0);const M=this._editor.getModel(),P=this._editor.getPosition(),x=new v(M,P,Object.assign(Object.assign({},this._triggerState),{refilter:!0}));this._onNewContext(x)}trigger(M){var P,x,T,A,N,F;if(!this._editor.hasModel())return;const O=this._editor.getModel(),W=new v(O,this._editor.getPosition(),M);this.cancel(M.retrigger),this._triggerState=M,this._onDidTrigger.fire({auto:M.auto,shy:(P=M.shy)!==null&&P!==void 0?P:!1,position:this._editor.getPosition()}),this._context=W;let U={triggerKind:(x=M.triggerKind)!==null&&x!==void 0?x:0};M.triggerCharacter&&(U={triggerKind:1,triggerCharacter:M.triggerCharacter}),this._requestToken=new k.CancellationTokenSource;const j=this._editor.getOption(110);let R=1;switch(j){case"top":R=0;break;case"bottom":R=2;break}const{itemKind:K,showDeprecated:G}=m._createSuggestFilter(this._editor),Z=new h.CompletionOptions(R,(A=(T=M.completionOptions)===null||T===void 0?void 0:T.kindFilter)!==null&&A!==void 0?A:K,(N=M.completionOptions)===null||N===void 0?void 0:N.providerFilter,(F=M.completionOptions)===null||F===void 0?void 0:F.providerItemsToReuse,G),J=C.WordDistance.create(this._editorWorkerService,this._editor),X=(0,h.provideSuggestionItems)(this._languageFeaturesService.completionProvider,O,this._editor.getPosition(),Z,U,this._requestToken.token);Promise.all([X,J]).then(([H,B])=>we(this,void 0,void 0,function*(){var V;if((V=this._requestToken)===null||V===void 0||V.dispose(),!this._editor.hasModel())return;let Y=M?.clipboardText;if(!Y&&H.needsClipboard&&(Y=yield this._clipboardService.readText()),this._triggerState===void 0)return;const ie=this._editor.getModel(),ae=new v(ie,this._editor.getPosition(),M),ce=Object.assign(Object.assign({},c.FuzzyScoreOptions.default),{firstMatchCanBeWeak:!this._editor.getOption(116).matchOnWordStartOnly});if(this._completionModel=new u.CompletionModel(H.items,this._context.column,{leadingLineContent:ae.leadingLineContent,characterCountDelta:ae.column-this._context.column},B,this._editor.getOption(116),this._editor.getOption(110),ce,Y),this._completionDisposables.add(H.disposable),this._onNewContext(ae),this._reportDurationsTelemetry(H.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(const de of H.items)de.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${de.provider._debugDisplayName}`,de.completion)})).catch(y.onUnexpectedError)}_reportDurationsTelemetry(M){this._telemetryGate++%230===0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(M)}),this._logService.debug("suggest.durations.json",M)})}static _createSuggestFilter(M){const P=new Set;M.getOption(110)==="none"&&P.add(27);const T=M.getOption(116);return T.showMethods||P.add(0),T.showFunctions||P.add(1),T.showConstructors||P.add(2),T.showFields||P.add(3),T.showVariables||P.add(4),T.showClasses||P.add(5),T.showStructs||P.add(6),T.showInterfaces||P.add(7),T.showModules||P.add(8),T.showProperties||P.add(9),T.showEvents||P.add(10),T.showOperators||P.add(11),T.showUnits||P.add(12),T.showValues||P.add(13),T.showConstants||P.add(14),T.showEnums||P.add(15),T.showEnumMembers||P.add(16),T.showKeywords||P.add(17),T.showWords||P.add(18),T.showColors||P.add(19),T.showFiles||P.add(20),T.showReferences||P.add(21),T.showColors||P.add(22),T.showFolders||P.add(23),T.showTypeParameters||P.add(24),T.showSnippets||P.add(27),T.showUsers||P.add(25),T.showIssues||P.add(26),{itemKind:P,showDeprecated:T.showDeprecated}}_onNewContext(M){if(this._context){if(M.lineNumber!==this._context.lineNumber){this.cancel();return}if((0,f.getLeadingWhitespace)(M.leadingLineContent)!==(0,f.getLeadingWhitespace)(this._context.leadingLineContent)){this.cancel();return}if(M.columnthis._context.leadingWord.startColumn){if(v.shouldAutoTrigger(this._editor)&&this._context){const x=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:x}})}return}if(M.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&M.leadingWord.word.length!==0){const P=new Map,x=new Set;for(const[T,A]of this._completionModel.getItemsByProvider())A.length>0&&A[0].container.incomplete?x.add(T):P.set(T,A);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:x,providerItemsToReuse:P}})}else{const P=this._completionModel.lineContext;let x=!1;if(this._completionModel.lineContext={leadingLineContent:M.leadingLineContent,characterCountDelta:M.column-this._context.column},this._completionModel.items.length===0){const T=v.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(T&&this._context.leadingWord.endColumn0,x&&M.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:M.triggerOptions,isFrozen:x})}}}}};e.SuggestModel=E,e.SuggestModel=E=m=ke([fe(1,g.IEditorWorkerService),fe(2,s.IClipboardService),fe(3,a.ITelemetryService),fe(4,t.ILogService),fe(5,n.IContextKeyService),fe(6,i.IConfigurationService),fe(7,r.ILanguageFeaturesService),fe(8,p.IEnvironmentService)],E)}),define(ne[378],se([1,0,49,14,13,19,9,6,119,2,17,58,20,108,16,73,12,5,21,194,128,347,755,701,27,15,8,70,135,754,548,914,549,895,79,45,143]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F){"use strict";var O;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerSuggestAction=e.SuggestController=void 0;const W=!1;class U{constructor(X,H){if(this._model=X,this._position=H,X.getLineMaxColumn(H.lineNumber)!==H.column){const V=X.getOffsetAt(H),Y=X.getPositionAt(V+1);this._marker=X.deltaDecorations([],[{range:h.Range.fromPositions(H,Y),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(X){if(this._model.isDisposed()||this._position.lineNumber!==X.lineNumber)return 0;if(this._marker){const H=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(H.getStartPosition())-this._model.getOffsetAt(X)}else return this._model.getLineMaxColumn(X.lineNumber)-X.column}}let j=O=class{static get(X){return X.getContribution(O.ID)}constructor(X,H,B,V,Y,ie,ae){this._memoryService=H,this._commandService=B,this._contextKeyService=V,this._instantiationService=Y,this._logService=ie,this._telemetryService=ae,this._lineSuffix=new g.MutableDisposable,this._toDispose=new g.DisposableStore,this._selectors=new R(ue=>ue.priority),this._onWillInsertSuggestItem=new f.Emitter,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=X,this.model=Y.createInstance(P.SuggestModel,this.editor),this._selectors.register({priority:0,select:(ue,te,q)=>this._memoryService.select(ue,te,q)});const ce=E.Context.InsertMode.bindTo(V);ce.set(X.getOption(116).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>ce.set(X.getOption(116).insertMode))),this.widget=this._toDispose.add(new y.IdleValue(()=>{const ue=this._instantiationService.createInstance(T.SuggestWidget,this.editor);this._toDispose.add(ue),this._toDispose.add(ue.onDidSelect($=>this._insertSuggestion($,0),this));const te=new M.CommitCharacterController(this.editor,ue,this.model,$=>this._insertSuggestion($,2));this._toDispose.add(te);const q=E.Context.MakesTextEdit.bindTo(this._contextKeyService),z=E.Context.HasInsertAndReplaceRange.bindTo(this._contextKeyService),ee=E.Context.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,g.toDisposable)(()=>{q.reset(),z.reset(),ee.reset()})),this._toDispose.add(ue.onDidFocus(({item:$})=>{const re=this.editor.getPosition(),oe=$.editStart.column,ge=re.column;let ve=!0;this.editor.getOption(1)==="smart"&&this.model.state===2&&!$.completion.additionalTextEdits&&!($.completion.insertTextRules&4)&&ge-oe===$.completion.insertText.length&&(ve=this.editor.getModel().getValueInRange({startLineNumber:re.lineNumber,startColumn:oe,endLineNumber:re.lineNumber,endColumn:ge})!==$.completion.insertText),q.set(ve),z.set(!u.Position.equals($.editInsertEnd,$.editReplaceEnd)),ee.set(!!$.provider.resolveCompletionItem||!!$.completion.documentation||$.completion.detail!==$.completion.label)})),this._toDispose.add(ue.onDetailsKeyDown($=>{if($.toKeyCodeChord().equals(new _.KeyCodeChord(!0,!1,!1,!1,33))||C.isMacintosh&&$.toKeyCodeChord().equals(new _.KeyCodeChord(!1,!1,!1,!0,33))){$.stopPropagation();return}$.toKeyCodeChord().isModifierKey()||this.editor.focus()})),ue})),this._overtypingCapturer=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new x.OvertypingCapturer(this.editor,this.model)))),this._alternatives=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new I.SuggestAlternatives(this.editor,this._contextKeyService)))),this._toDispose.add(Y.createInstance(l.WordContextKey,X)),this._toDispose.add(this.model.onDidTrigger(ue=>{this.widget.value.showTriggered(ue.auto,ue.shy?250:50),this._lineSuffix.value=new U(this.editor.getModel(),ue.position)})),this._toDispose.add(this.model.onDidSuggest(ue=>{if(ue.triggerOptions.shy)return;let te=-1;for(const z of this._selectors.itemsOrderedByPriorityDesc)if(te=z.select(this.editor.getModel(),this.editor.getPosition(),ue.completionModel.items),te!==-1)break;te===-1&&(te=0);let q=!1;if(ue.triggerOptions.auto){const z=this.editor.getOption(116);z.selectionMode==="never"||z.selectionMode==="always"?q=z.selectionMode==="never":z.selectionMode==="whenTriggerCharacter"?q=ue.triggerOptions.triggerKind!==1:z.selectionMode==="whenQuickSuggestion"&&(q=ue.triggerOptions.triggerKind===1&&!ue.triggerOptions.refilter)}this.widget.value.showSuggestions(ue.completionModel,te,ue.isFrozen,ue.triggerOptions.auto,q)})),this._toDispose.add(this.model.onDidCancel(ue=>{ue.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{W||(this.model.cancel(),this.model.clear())}));const de=E.Context.AcceptSuggestionsOnEnter.bindTo(V),he=()=>{const ue=this.editor.getOption(1);de.set(ue==="on"||ue==="smart")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>he())),he()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(X,H){if(!X||!X.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;const B=c.SnippetController2.get(this.editor);if(!B)return;this._onWillInsertSuggestItem.fire({item:X.item});const V=this.editor.getModel(),Y=V.getAlternativeVersionId(),{item:ie}=X,ae=[],ce=new D.CancellationTokenSource;H&1||this.editor.pushUndoStop();const de=this.getOverwriteInfo(ie,!!(H&8));this._memoryService.memorize(V,this.editor.getPosition(),ie);const he=ie.isResolved;let ue=-1,te=-1;if(Array.isArray(ie.completion.additionalTextEdits)){this.model.cancel();const z=n.StableEditorScrollState.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",ie.completion.additionalTextEdits.map(ee=>a.EditOperation.replaceMove(h.Range.lift(ee.range),ee.text))),z.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!he){const z=new s.StopWatch;let ee;const $=V.onDidChangeContent(ve=>{if(ve.isFlush){ce.cancel(),$.dispose();return}for(const Se of ve.changes){const Le=h.Range.getEndPosition(Se.range);(!ee||u.Position.isBefore(Le,ee))&&(ee=Le)}}),re=H;H|=2;let oe=!1;const ge=this.editor.onWillType(()=>{ge.dispose(),oe=!0,re&2||this.editor.pushUndoStop()});ae.push(ie.resolve(ce.token).then(()=>{if(!ie.completion.additionalTextEdits||ce.token.isCancellationRequested)return;if(ee&&ie.completion.additionalTextEdits.some(Se=>u.Position.isBefore(ee,h.Range.getStartPosition(Se.range))))return!1;oe&&this.editor.pushUndoStop();const ve=n.StableEditorScrollState.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",ie.completion.additionalTextEdits.map(Se=>a.EditOperation.replaceMove(h.Range.lift(Se.range),Se.text))),ve.restoreRelativeVerticalPositionOfCursor(this.editor),(oe||!(re&2))&&this.editor.pushUndoStop(),!0}).then(ve=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",z.elapsed(),ve),te=ve===!0?1:ve===!1?0:-2}).finally(()=>{$.dispose(),ge.dispose()}))}let{insertText:q}=ie.completion;if(ie.completion.insertTextRules&4||(q=o.SnippetParser.escape(q)),this.model.cancel(),B.insert(q,{overwriteBefore:de.overwriteBefore,overwriteAfter:de.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(ie.completion.insertTextRules&1),clipboardText:X.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),H&2||this.editor.pushUndoStop(),ie.completion.command)if(ie.completion.command.id===K.id)this.model.trigger({auto:!0,retrigger:!0});else{const z=new s.StopWatch;ae.push(this._commandService.executeCommand(ie.completion.command.id,...ie.completion.command.arguments?[...ie.completion.command.arguments]:[]).catch(ee=>{ie.completion.extensionId?(0,S.onUnexpectedExternalError)(ee):(0,S.onUnexpectedError)(ee)}).finally(()=>{ue=z.elapsed()}))}H&4&&this._alternatives.value.set(X,z=>{for(ce.cancel();V.canUndo();){Y!==V.getAlternativeVersionId()&&V.undo(),this._insertSuggestion(z,3|(H&8?8:0));break}}),this._alertCompletionItem(ie),Promise.all(ae).finally(()=>{this._reportSuggestionAcceptedTelemetry(ie,V,he,ue,te),this.model.clear(),ce.dispose()})}_reportSuggestionAcceptedTelemetry(X,H,B,V,Y){var ie,ae,ce;Math.floor(Math.random()*100)!==0&&this._telemetryService.publicLog2("suggest.acceptedSuggestion",{extensionId:(ae=(ie=X.extensionId)===null||ie===void 0?void 0:ie.value)!==null&&ae!==void 0?ae:"unknown",providerId:(ce=X.provider._debugDisplayName)!==null&&ce!==void 0?ce:"unknown",kind:X.completion.kind,basenameHash:(0,F.hash)((0,N.basename)(H.uri)).toString(16),languageId:H.getLanguageId(),fileExtension:(0,N.extname)(H.uri),resolveInfo:X.provider.resolveCompletionItem?B?1:0:-1,resolveDuration:X.resolveDuration,commandDuration:V,additionalEditsAsync:Y})}getOverwriteInfo(X,H){(0,i.assertType)(this.editor.hasModel());let B=this.editor.getOption(116).insertMode==="replace";H&&(B=!B);const V=X.position.column-X.editStart.column,Y=(B?X.editReplaceEnd.column:X.editInsertEnd.column)-X.position.column,ie=this.editor.getPosition().column-X.position.column,ae=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:V+ie,overwriteAfter:Y+ae}}_alertCompletionItem(X){if((0,k.isNonEmptyArray)(X.completion.additionalTextEdits)){const H=p.localize(0,null,X.textLabel,X.completion.additionalTextEdits.length);(0,L.alert)(H)}}triggerSuggest(X,H,B){this.editor.hasModel()&&(this.model.trigger({auto:H??!1,completionOptions:{providerFilter:X,kindFilter:B?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(X){if(!this.editor.hasModel())return;const H=this.editor.getPosition(),B=()=>{H.equals(this.editor.getPosition())&&this._commandService.executeCommand(X.fallback)},V=Y=>{if(Y.completion.insertTextRules&4||Y.completion.additionalTextEdits)return!0;const ie=this.editor.getPosition(),ae=Y.editStart.column,ce=ie.column;return ce-ae!==Y.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:ie.lineNumber,startColumn:ae,endLineNumber:ie.lineNumber,endColumn:ce})!==Y.completion.insertText};f.Event.once(this.model.onDidTrigger)(Y=>{const ie=[];f.Event.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,g.dispose)(ie),B()},void 0,ie),this.model.onDidSuggest(({completionModel:ae})=>{if((0,g.dispose)(ie),ae.items.length===0){B();return}const ce=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),ae.items),de=ae.items[ce];if(!V(de)){B();return}this.editor.pushUndoStop(),this._insertSuggestion({index:ce,item:de,model:ae},7)},void 0,ie)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(H,0),this.editor.focus()}acceptSelectedSuggestion(X,H){const B=this.widget.value.getFocusedItem();let V=0;X&&(V|=4),H&&(V|=8),this._insertSuggestion(B,V)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(X){return this._selectors.register(X)}};e.SuggestController=j,j.ID="editor.contrib.suggestController",e.SuggestController=j=O=ke([fe(1,d.ISuggestMemoryService),fe(2,m.ICommandService),fe(3,v.IContextKeyService),fe(4,b.IInstantiationService),fe(5,w.ILogService),fe(6,A.ITelemetryService)],j);class R{constructor(X){this.prioritySelector=X,this._items=new Array}register(X){if(this._items.indexOf(X)!==-1)throw new Error("Value is already registered");return this._items.push(X),this._items.sort((H,B)=>this.prioritySelector(B)-this.prioritySelector(H)),{dispose:()=>{const H=this._items.indexOf(X);H>=0&&this._items.splice(H,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class K extends t.EditorAction{constructor(){super({id:K.id,label:p.localize(1,null),alias:"Trigger Suggest",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.writable,r.EditorContextKeys.hasCompletionItemProvider,E.Context.Visible.toNegated()),kbOpts:{kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(X,H,B){const V=j.get(H);if(!V)return;let Y;B&&typeof B=="object"&&B.auto===!0&&(Y=!0),V.triggerSuggest(void 0,Y,void 0)}}e.TriggerSuggestAction=K,K.id="editor.action.triggerSuggest",(0,t.registerEditorContribution)(j.ID,j,2),(0,t.registerEditorAction)(K);const G=100+90,Z=t.EditorCommand.bindToContribution(j.get);(0,t.registerEditorCommand)(new Z({id:"acceptSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler(J){J.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus),weight:G},{primary:3,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.AcceptSuggestionsOnEnter,E.Context.MakesTextEdit),weight:G}],menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(2,null),group:"left",order:1,when:E.Context.HasInsertAndReplaceRange.toNegated()},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(3,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert"))},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(4,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace"))}]})),(0,t.registerEditorCommand)(new Z({id:"acceptAlternativeSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.HasFocusedSuggestion),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1027,secondary:[1026]},handler(J){J.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert")),title:p.localize(5,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace")),title:p.localize(6,null)}]})),m.CommandsRegistry.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,t.registerEditorCommand)(new Z({id:"hideSuggestWidget",precondition:E.Context.Visible,handler:J=>J.cancelSuggestWidget(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),(0,t.registerEditorCommand)(new Z({id:"selectNextSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,t.registerEditorCommand)(new Z({id:"selectNextPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),(0,t.registerEditorCommand)(new Z({id:"selectLastSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectLastSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"selectPrevSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,t.registerEditorCommand)(new Z({id:"selectPrevPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),(0,t.registerEditorCommand)(new Z({id:"selectFirstSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectFirstSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"focusSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>J.focusSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}})),(0,t.registerEditorCommand)(new Z({id:"focusAndAcceptSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>{J.focusSuggestion(),J.acceptSelectedSuggestion(!0,!1)}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionDetails",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler:J=>J.toggleSuggestionDetails(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible,E.Context.CanResolve),title:p.localize(7,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible.toNegated(),E.Context.CanResolve),title:p.localize(8,null)}]})),(0,t.registerEditorCommand)(new Z({id:"toggleExplainMode",precondition:E.Context.Visible,handler:J=>J.toggleExplainMode(),kbOpts:{weight:100,primary:2138}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionFocus",precondition:E.Context.Visible,handler:J=>J.toggleSuggestionFocus(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),(0,t.registerEditorCommand)(new Z({id:"insertBestCompletion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),l.WordContextKey.AtEnd,E.Context.Visible.toNegated(),I.SuggestAlternatives.OtherSuggestions.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:(J,X)=>{J.triggerSuggestAndAcceptBest((0,i.isObject)(X)?Object.assign({fallback:"tab"},X):{fallback:"tab"})},kbOpts:{weight:G,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertNextSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertPrevSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1026}})),(0,t.registerEditorAction)(class extends t.EditorAction{constructor(){super({id:"editor.action.resetSuggestSize",label:p.localize(9,null),alias:"Reset Suggest Widget Size",precondition:void 0})}run(J,X){var H;(H=j.get(X))===null||H===void 0||H.resetWidgetSize()}})}),define(ne[915],se([1,0,6,2,12,5,29,128,377,378,42,296,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestItemInfo=e.SuggestWidgetAdaptor=void 0;class n extends k.Disposable{get selectedItem(){return this._selectedItem}constructor(h,r,c,o){super(),this.editor=h,this.suggestControllerPreselector=r,this.checkModelVersion=c,this.onWillAccept=o,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,C.observableValue)("suggestWidgetInlineCompletionProvider.selectedItem",void 0),this._register(h.onKeyDown(l=>{l.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(h.onKeyUp(l=>{l.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const d=g.SuggestController.get(this.editor);if(d){this._register(d.registerSelector({priority:100,select:(m,v,b)=>{var w;(0,C.transaction)(T=>this.checkModelVersion(T));const E=this.editor.getModel();if(!E)return-1;const I=(w=this.suggestControllerPreselector())===null||w===void 0?void 0:w.removeCommonPrefix(E);if(!I)return-1;const M=y.Position.lift(v),P=b.map((T,A)=>{const F=t.fromSuggestion(d,E,M,T,this.isShiftKeyPressed).toSingleTextEdit().removeCommonPrefix(E),O=I.augments(F);return{index:A,valid:O,prefixLength:F.text.length,suggestItem:T}}).filter(T=>T&&T.valid&&T.prefixLength>0),x=(0,i.findMaxBy)(P,(0,i.compareBy)(T=>T.prefixLength,i.numberComparator));return x?x.index:-1}}));let l=!1;const p=()=>{l||(l=!0,this._register(d.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(d.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(d.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(L.Event.once(d.model.onDidTrigger)(m=>{p()})),this._register(d.onWillInsertSuggestItem(m=>{const v=this.editor.getPosition(),b=this.editor.getModel();if(!v||!b)return;const w=t.fromSuggestion(d,b,v,m.item,this.isShiftKeyPressed);this.onWillAccept(w)}))}this.update(this._isActive)}update(h){const r=this.getSuggestItemInfo();(this._isActive!==h||!a(this._currentSuggestItemInfo,r))&&(this._isActive=h,this._currentSuggestItemInfo=r,(0,C.transaction)(c=>{this.checkModelVersion(c),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,c)}))}getSuggestItemInfo(){const h=g.SuggestController.get(this.editor);if(!h||!this.isSuggestWidgetVisible)return;const r=h.widget.value.getFocusedItem(),c=this.editor.getPosition(),o=this.editor.getModel();if(!(!r||!c||!o))return t.fromSuggestion(h,o,c,r.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.stopForceRenderingAbove()}forceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.forceRenderingAbove()}}e.SuggestWidgetAdaptor=n;class t{static fromSuggestion(h,r,c,o,d){let{insertText:l}=o.completion,p=!1;if(o.completion.insertTextRules&4){const v=new f.SnippetParser().parse(l);v.children.length<100&&_.SnippetSession.adjustWhitespace(r,c,!0,v),l=v.toString(),p=!0}const m=h.getOverwriteInfo(o,d);return new t(D.Range.fromPositions(c.delta(0,-m.overwriteBefore),c.delta(0,Math.max(m.overwriteAfter,0))),l,o.completion.kind,p)}constructor(h,r,c,o){this.range=h,this.insertText=r,this.completionItemKind=c,this.isSnippetText=o}equals(h){return this.range.equalsRange(h.range)&&this.insertText===h.insertText&&this.completionItemKind===h.completionItemKind&&this.isSnippetText===h.isSnippetText}toSelectedSuggestionInfo(){return new S.SelectedSuggestionInfo(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new s.SingleTextEdit(this.range,this.insertText)}}e.SuggestItemInfo=t;function a(u,h){return u===h?!0:!u||!h?!1:u.equals(h)}}),define(ne[258],se([1,0,49,6,2,42,189,12,76,18,214,750,235,253,913,915,680,116,27,28,15,8,34]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsController=void 0;let m=p=class extends y.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A){super(),this.editor=b,this.instantiationService=w,this.contextKeyService=E,this.configurationService=I,this.commandService=M,this.debounceService=P,this.languageFeaturesService=x,this.audioCueService=T,this._keybindingService=A,this.model=(0,D.disposableObservableValue)("inlineCompletionModel",void 0),this.textModelVersionId=(0,D.observableValue)("textModelVersionId",-1),this.cursorPosition=(0,D.observableValue)("cursorPosition",new f.Position(1,1)),this.suggestWidgetAdaptor=this._register(new a.SuggestWidgetAdaptor(this.editor,()=>{var O,W;return(W=(O=this.model.get())===null||O===void 0?void 0:O.selectedInlineCompletion.get())===null||W===void 0?void 0:W.toSingleTextEdit(void 0)},O=>this.updateObservables(O,t.VersionIdChangeReason.Other),O=>{(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(U=this.model.get())===null||U===void 0||U.handleSuggestAccepted(O)})})),this._enabled=(0,D.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).enabled),this.ghostTextWidget=this._register(this.instantiationService.createInstance(s.GhostTextWidget,this.editor,{ghostText:this.model.map((O,W)=>O?.ghostText.read(W)),minReservedLineCount:(0,D.constObservable)(0),targetTextModel:this.model.map(O=>O?.textModel)})),this._debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._register(new i.InlineCompletionContextKeys(this.contextKeyService,this.model)),this._register(k.Event.runAndSubscribe(b.onDidChangeModel,()=>(0,D.transaction)(O=>{this.model.set(void 0,O),this.updateObservables(O,t.VersionIdChangeReason.Other);const W=b.getModel();if(W){const U=w.createInstance(t.InlineCompletionsModel,W,this.suggestWidgetAdaptor.selectedItem,this.cursorPosition,this.textModelVersionId,this._debounceValue,(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).preview),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).previewMode),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(61).mode),this._enabled);this.model.set(U,O)}})));const N=O=>{var W;return O.isUndoing?t.VersionIdChangeReason.Undo:O.isRedoing?t.VersionIdChangeReason.Redo:!((W=this.model.get())===null||W===void 0)&&W.isAcceptingPartially?t.VersionIdChangeReason.AcceptWord:t.VersionIdChangeReason.Other};this._register(b.onDidChangeModelContent(O=>(0,D.transaction)(W=>this.updateObservables(W,N(O))))),this._register(b.onDidChangeCursorPosition(O=>(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(O.reason===3||O.source==="api")&&((U=this.model.get())===null||U===void 0||U.stop(W))}))),this._register(b.onDidType(()=>(0,D.transaction)(O=>{var W;this.updateObservables(O,t.VersionIdChangeReason.Other),this._enabled.get()&&((W=this.model.get())===null||W===void 0||W.trigger(O))}))),this._register(this.commandService.onDidExecuteCommand(O=>{new Set([S.CoreEditingCommands.Tab.id,S.CoreEditingCommands.DeleteLeft.id,S.CoreEditingCommands.DeleteRight.id,C.inlineSuggestCommitId,"acceptSelectedSuggestion"]).has(O.commandId)&&b.hasTextFocus()&&this._enabled.get()&&(0,D.transaction)(U=>{var j;(j=this.model.get())===null||j===void 0||j.trigger(U)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.contextKeyService.getContextKeyValue("accessibleViewIsShown")||this.configurationService.getValue("editor.inlineSuggest.keepOnBlur")||b.getOption(61).keepOnBlur||n.InlineSuggestionHintsContentWidget.dropDownVisible||(0,D.transaction)(O=>{var W;(W=this.model.get())===null||W===void 0||W.stop(O)})})),this._register((0,D.autorun)(O=>{var W;const U=(W=this.model.read(O))===null||W===void 0?void 0:W.state.read(O);U?.suggestItem?U.ghostText.lineCount>=2&&this.suggestWidgetAdaptor.forceRenderingAbove():this.suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register((0,y.toDisposable)(()=>{this.suggestWidgetAdaptor.stopForceRenderingAbove()}));let F;this._register((0,D.autorun)(O=>{const W=this.model.read(O),U=W?.state.read(O);if(!W||!U||!U.inlineCompletion){F=void 0;return}if(U.inlineCompletion.semanticId!==F){F=U.inlineCompletion.semanticId;const j=W.textModel.getLineContent(U.ghostText.lineNumber);this.audioCueService.playAudioCue(h.AudioCue.inlineSuggestion).then(()=>{this.editor.getOption(7)&&this.provideScreenReaderUpdate(U.ghostText.renderForScreenReader(j))})}})),this._register(new n.InlineCompletionsHintsWidget(this.editor,this.model,this.instantiationService)),this._register(this.configurationService.onDidChangeConfiguration(O=>{O.affectsConfiguration("accessibility.verbosity.inlineCompletions")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})}provideScreenReaderUpdate(b){const w=this.contextKeyService.getContextKeyValue("accessibleViewIsShown"),E=this._keybindingService.lookupKeybinding("editor.action.accessibleView");let I;!w&&E&&this.editor.getOption(146)&&(I=(0,u.localize)(0,null,E.getAriaLabel())),I?(0,L.alert)(b+", "+I):(0,L.alert)(b)}updateObservables(b,w){var E,I;const M=this.editor.getModel();this.textModelVersionId.set((E=M?.getVersionId())!==null&&E!==void 0?E:-1,b,w),this.cursorPosition.set((I=this.editor.getPosition())!==null&&I!==void 0?I:new f.Position(1,1),b)}shouldShowHoverAt(b){var w;const E=(w=this.model.get())===null||w===void 0?void 0:w.ghostText.get();return E?E.parts.some(I=>b.containsPosition(new f.Position(E.lineNumber,I.column))):!1}shouldShowHoverAtViewZone(b){return this.ghostTextWidget.ownsViewZone(b)}};e.InlineCompletionsController=m,m.ID="editor.contrib.inlineCompletionsController",e.InlineCompletionsController=m=p=ke([fe(1,d.IInstantiationService),fe(2,o.IContextKeyService),fe(3,c.IConfigurationService),fe(4,r.ICommandService),fe(5,_.ILanguageFeatureDebounceService),fe(6,g.ILanguageFeaturesService),fe(7,h.IAudioCueService),fe(8,l.IKeybindingService)],m)}),define(ne[916],se([1,0,42,16,21,214,235,258,135,677,30,28,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleAlwaysShowInlineSuggestionToolbar=e.HideInlineCompletion=e.AcceptInlineCompletion=e.AcceptNextLineOfInlineCompletion=e.AcceptNextWordOfInlineCompletion=e.TriggerInlineSuggestionAction=e.ShowPreviousInlineSuggestionAction=e.ShowNextInlineSuggestionAction=void 0;class n extends k.EditorAction{constructor(){super({id:n.ID,label:g.localize(0,null),alias:"Show Next Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.next()})}}e.ShowNextInlineSuggestionAction=n,n.ID=D.showNextInlineSuggestionActionId;class t extends k.EditorAction{constructor(){super({id:t.ID,label:g.localize(1,null),alias:"Show Previous Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.previous()})}}e.ShowPreviousInlineSuggestionAction=t,t.ID=D.showPreviousInlineSuggestionActionId;class a extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.trigger",label:g.localize(2,null),alias:"Trigger Inline Suggestion",precondition:y.EditorContextKeys.writable})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.triggerExplicitly()})}}e.TriggerInlineSuggestionAction=a;class u extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextWord",label:g.localize(3,null),alias:"Accept Next Word Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1,primary:2065,kbExpr:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible)},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(4,null),group:"primary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextWord(v.editor)})}}e.AcceptNextWordOfInlineCompletion=u;class h extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextLine",label:g.localize(5,null),alias:"Accept Next Line Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(6,null),group:"secondary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextLine(v.editor)})}}e.AcceptNextLineOfInlineCompletion=h;class r extends k.EditorAction{constructor(){super({id:D.inlineSuggestCommitId,label:g.localize(7,null),alias:"Accept Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(8,null),group:"primary",order:1}],kbOpts:{primary:2,weight:200,kbExpr:i.ContextKeyExpr.and(S.InlineCompletionContextKeys.inlineSuggestionVisible,y.EditorContextKeys.tabMovesFocus.toNegated(),S.InlineCompletionContextKeys.inlineSuggestionHasIndentationLessThanTabSize,_.Context.Visible.toNegated(),y.EditorContextKeys.hoverFocused.toNegated())}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);v&&((m=v.model.get())===null||m===void 0||m.accept(v.editor),v.editor.focus())})}}e.AcceptInlineCompletion=r;class c extends k.EditorAction{constructor(){super({id:c.ID,label:g.localize(9,null),alias:"Hide Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}run(l,p){return we(this,void 0,void 0,function*(){const m=f.InlineCompletionsController.get(p);(0,L.transaction)(v=>{var b;(b=m?.model.get())===null||b===void 0||b.stop(v)})})}}e.HideInlineCompletion=c,c.ID="editor.action.inlineSuggest.hide";class o extends C.Action2{constructor(){super({id:o.ID,title:g.localize(10,null),f1:!1,precondition:void 0,menu:[{id:C.MenuId.InlineSuggestionToolbar,group:"secondary",order:10}],toggled:i.ContextKeyExpr.equals("config.editor.inlineSuggest.showToolbar","always")})}run(l,p){return we(this,void 0,void 0,function*(){const m=l.get(s.IConfigurationService),b=m.getValue("editor.inlineSuggest.showToolbar")==="always"?"onHover":"always";m.updateValue("editor.inlineSuggest.showToolbar",b)})}}e.ToggleAlwaysShowInlineSuggestionToolbar=o,o.ID="editor.action.inlineSuggest.toggleAlwaysShowToolbar"}),define(ne[917],se([1,0,7,55,2,42,5,41,103,258,253,117,678,84,8,56,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsHoverParticipant=e.InlineCompletionsHover=void 0;class h{constructor(o,d,l){this.owner=o,this.range=d,this.controller=l}isValidForHoverAnchor(o){return o.type===1&&this.range.startColumn<=o.range.startColumn&&this.range.endColumn>=o.range.endColumn}}e.InlineCompletionsHover=h;let r=class{constructor(o,d,l,p,m,v){this._editor=o,this._languageService=d,this._openerService=l,this.accessibilityService=p,this._instantiationService=m,this._telemetryService=v,this.hoverOrdinal=4}suggestHoverAnchor(o){const d=g.InlineCompletionsController.get(this._editor);if(!d)return null;const l=o.target;if(l.type===8){const p=l.detail;if(d.shouldShowHoverAtViewZone(p.viewZoneId))return new _.HoverForeignElementAnchor(1e3,this,S.Range.fromPositions(this._editor.getModel().validatePosition(p.positionBefore||p.position)),o.event.posx,o.event.posy,!1)}return l.type===7&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):l.type===6&&l.detail.mightBeForeignElement&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):null}computeSync(o,d){if(this._editor.getOption(61).showToolbar==="always")return[];const l=g.InlineCompletionsController.get(this._editor);return l&&l.shouldShowHoverAt(o.range)?[new h(this,o.range,l)]:[]}renderHoverParts(o,d){const l=new y.DisposableStore,p=d[0];this._telemetryService.publicLog2("inlineCompletionHover.shown"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(7)&&this.renderScreenReaderText(o,p,l);const m=p.controller.model.get(),v=this._instantiationService.createInstance(C.InlineSuggestionHintsContentWidget,this._editor,!1,(0,D.constObservable)(null),m.selectedInlineCompletionIndex,m.inlineCompletionsCount,m.selectedInlineCompletion.map(b=>{var w;return(w=b?.inlineCompletion.source.inlineCompletions.commands)!==null&&w!==void 0?w:[]}));return o.fragment.appendChild(v.getDomNode()),m.triggerExplicitly(),l.add(v),l}renderScreenReaderText(o,d,l){const p=L.$,m=p("div.hover-row.markdown-hover"),v=L.append(m,p("div.hover-contents",{["aria-live"]:"assertive"})),b=l.add(new s.MarkdownRenderer({editor:this._editor},this._languageService,this._openerService)),w=E=>{l.add(b.onDidRenderAsync(()=>{v.className="hover-contents code-hover-contents",o.onContentsChanged()}));const I=i.localize(0,null),M=l.add(b.render(new k.MarkdownString().appendText(I).appendCodeblock("text",E)));v.replaceChildren(M.element)};l.add((0,D.autorun)(E=>{var I;const M=(I=d.controller.model.read(E))===null||I===void 0?void 0:I.ghostText.read(E);if(M){const P=this._editor.getModel().getLineContent(M.lineNumber);w(M.renderForScreenReader(P))}else L.reset(v)})),o.fragment.appendChild(m)}};e.InlineCompletionsHoverParticipant=r,e.InlineCompletionsHoverParticipant=r=ke([fe(1,f.ILanguageService),fe(2,a.IOpenerService),fe(3,n.IAccessibilityService),fe(4,t.IInstantiationService),fe(5,u.ITelemetryService)],r)}),define(ne[918],se([1,0,16,103,916,917,258,30]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(S.InlineCompletionsController.ID,S.InlineCompletionsController,3),(0,L.registerEditorAction)(y.TriggerInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowNextInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowPreviousInlineSuggestionAction),(0,L.registerEditorAction)(y.AcceptNextWordOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptNextLineOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptInlineCompletion),(0,L.registerEditorAction)(y.HideInlineCompletion),(0,f.registerAction2)(y.ToggleAlwaysShowInlineSuggestionToolbar),k.HoverParticipantRegistry.register(D.InlineCompletionsHoverParticipant)}),define(ne[379],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IWorkspaceTrustManagementService=void 0,e.IWorkspaceTrustManagementService=(0,L.createDecorator)("workspaceTrustManagementService")}),define(ne[919],se([1,0,13,25,55,2,17,11,16,36,40,286,115,41,325,103,248,834,709,28,8,56,71,62,379,465]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowExcludeOptions=e.DisableHighlightingOfNonBasicAsciiCharactersAction=e.DisableHighlightingOfInvisibleCharactersAction=e.DisableHighlightingOfAmbiguousCharactersAction=e.DisableHighlightingInStringsAction=e.DisableHighlightingInCommentsAction=e.UnicodeHighlighterHoverParticipant=e.UnicodeHighlighter=e.warningIcon=void 0,e.warningIcon=(0,p.registerIcon)("extensions-warning-message",k.Codicon.warning,r.localize(0,null));let v=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._editorWorkerService=X,this._workspaceTrustService=H,this._highlighter=null,this._bannerClosed=!1,this._updateState=V=>{if(V&&V.hasMore){if(this._bannerClosed)return;const Y=Math.max(V.ambiguousCharacterCount,V.nonBasicAsciiCharacterCount,V.invisibleCharacterCount);let ie;if(V.nonBasicAsciiCharacterCount>=Y)ie={message:r.localize(1,null),command:new U};else if(V.ambiguousCharacterCount>=Y)ie={message:r.localize(2,null),command:new O};else if(V.invisibleCharacterCount>=Y)ie={message:r.localize(3,null),command:new W};else throw new Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:ie.message,icon:e.warningIcon,actions:[{label:ie.command.shortLabel,href:`command:${ie.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(B.createInstance(h.BannerController,J)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=J.getOption(123),this._register(H.onDidChangeTrust(V=>{this._updateHighlighter()})),this._register(J.onDidChangeConfiguration(V=>{V.hasChanged(123)&&(this._options=J.getOption(123),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;const J=b(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([J.nonBasicASCII,J.ambiguousCharacters,J.invisibleCharacters].every(H=>H===!1))return;const X={nonBasicASCII:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments,includeStrings:J.includeStrings,allowedCodePoints:Object.keys(J.allowedCharacters).map(H=>H.codePointAt(0)),allowedLocales:Object.keys(J.allowedLocales).map(H=>H==="_os"?new Intl.NumberFormat().resolvedOptions().locale:H==="_vscode"?S.language:H)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new w(this._editor,X,this._updateState,this._editorWorkerService):this._highlighter=new E(this._editor,X,this._updateState)}getDecorationInfo(J){return this._highlighter?this._highlighter.getDecorationInfo(J):null}};e.UnicodeHighlighter=v,v.ID="editor.contrib.unicodeHighlighter",e.UnicodeHighlighter=v=ke([fe(1,i.IEditorWorkerService),fe(2,m.IWorkspaceTrustManagementService),fe(3,o.IInstantiationService)],v);function b(Z,J){return{nonBasicASCII:J.nonBasicASCII===g.inUntrustedWorkspace?!Z:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments===g.inUntrustedWorkspace?!Z:J.includeComments,includeStrings:J.includeStrings===g.inUntrustedWorkspace?!Z:J.includeStrings,allowedCharacters:J.allowedCharacters,allowedLocales:J.allowedLocales}}let w=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._options=X,this._updateState=H,this._editorWorkerService=B,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(X=>{if(this._model.isDisposed()||this._model.getVersionId()!==J)return;this._updateState(X);const H=[];if(!X.hasMore)for(const B of X.ranges)H.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._decorations.set(H)})}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel();if(!(0,t.isModelDecorationVisible)(X,J))return null;const H=X.getValueInRange(J.range);return{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}}};w=ke([fe(3,i.IEditorWorkerService)],w);class E extends D.Disposable{constructor(J,X,H){super(),this._editor=J,this._options=X,this._updateState=H,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._editor.getVisibleRanges(),X=[],H={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const B of J){const V=s.UnicodeTextModelHighlighter.computeUnicodeHighlights(this._model,this._options,B);for(const Y of V.ranges)H.ranges.push(Y);H.ambiguousCharacterCount+=H.ambiguousCharacterCount,H.invisibleCharacterCount+=H.invisibleCharacterCount,H.nonBasicAsciiCharacterCount+=H.nonBasicAsciiCharacterCount,H.hasMore=H.hasMore||V.hasMore}if(!H.hasMore)for(const B of H.ranges)X.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._updateState(H),this._decorations.set(X)}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel(),H=X.getValueInRange(J.range);return(0,t.isModelDecorationVisible)(X,J)?{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}:null}}let I=class{constructor(J,X,H){this._editor=J,this._languageService=X,this._openerService=H,this.hoverOrdinal=5}computeSync(J,X){if(!this._editor.hasModel()||J.type!==1)return[];const H=this._editor.getModel(),B=this._editor.getContribution(v.ID);if(!B)return[];const V=[],Y=new Set;let ie=300;for(const ae of X){const ce=B.getDecorationInfo(ae);if(!ce)continue;const he=H.getValueInRange(ae.range).codePointAt(0),ue=P(he);let te;switch(ce.reason.kind){case 0:{(0,f.isBasicASCII)(ce.reason.confusableWith)?te=r.localize(4,null,ue,P(ce.reason.confusableWith.codePointAt(0))):te=r.localize(5,null,ue,P(ce.reason.confusableWith.codePointAt(0)));break}case 1:te=r.localize(6,null,ue);break;case 2:te=r.localize(7,null,ue);break}if(Y.has(te))continue;Y.add(te);const q={codePoint:he,reason:ce.reason,inComment:ce.inComment,inString:ce.inString},z=r.localize(8,null),ee=`command:${j.ID}?${encodeURIComponent(JSON.stringify(q))}`,$=new y.MarkdownString("",!0).appendMarkdown(te).appendText(" ").appendLink(ee,z);V.push(new u.MarkdownHover(this,ae.range,[$],!1,ie++))}return V}renderHoverParts(J,X){return(0,u.renderMarkdownHovers)(J,X,this._editor,this._languageService,this._openerService)}};e.UnicodeHighlighterHoverParticipant=I,e.UnicodeHighlighterHoverParticipant=I=ke([fe(1,n.ILanguageService),fe(2,d.IOpenerService)],I);function M(Z){return`U+${Z.toString(16).padStart(4,"0")}`}function P(Z){let J=`\`${M(Z)}\``;return f.InvisibleCharacters.isInvisibleCharacter(Z)||(J+=` "${`${x(Z)}`}"`),J}function x(Z){return Z===96?"`` ` ``":"`"+String.fromCodePoint(Z)+"`"}function T(Z,J){return s.UnicodeTextModelHighlighter.computeUnicodeHighlightReason(Z,J)}class A{constructor(){this.map=new Map}getDecorationFromOptions(J){return this.getDecoration(!J.includeComments,!J.includeStrings)}getDecoration(J,X){const H=`${J}${X}`;let B=this.map.get(H);return B||(B=C.ModelDecorationOptions.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:J,hideInStringTokens:X}),this.map.set(H,B)),B}}A.instance=new A;class N extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(10,null),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=r.localize(9,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeComments,!1,2)})}}e.DisableHighlightingInCommentsAction=N;class F extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(12,null),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=r.localize(11,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeStrings,!1,2)})}}e.DisableHighlightingInStringsAction=F;class O extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(14,null),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=r.localize(13,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.ambiguousCharacters,!1,2)})}}e.DisableHighlightingOfAmbiguousCharactersAction=O,O.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class W extends _.EditorAction{constructor(){super({id:W.ID,label:r.localize(16,null),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=r.localize(15,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.invisibleCharacters,!1,2)})}}e.DisableHighlightingOfInvisibleCharactersAction=W,W.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class U extends _.EditorAction{constructor(){super({id:U.ID,label:r.localize(18,null),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=r.localize(17,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.nonBasicASCII,!1,2)})}}e.DisableHighlightingOfNonBasicAsciiCharactersAction=U,U.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class j extends _.EditorAction{constructor(){super({id:j.ID,label:r.localize(19,null),alias:"Show Exclude Options",precondition:void 0})}run(J,X,H){return we(this,void 0,void 0,function*(){const{codePoint:B,reason:V,inString:Y,inComment:ie}=H,ae=String.fromCodePoint(B),ce=J.get(l.IQuickInputService),de=J.get(c.IConfigurationService);function he(q){return f.InvisibleCharacters.isInvisibleCharacter(q)?r.localize(20,null,M(q)):r.localize(21,null,`${M(q)} "${ae}"`)}const ue=[];if(V.kind===0)for(const q of V.notAmbiguousInLocales)ue.push({label:r.localize(22,null,q),run:()=>we(this,void 0,void 0,function*(){K(de,[q])})});if(ue.push({label:he(B),run:()=>R(de,[B])}),ie){const q=new N;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(Y){const q=new F;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}if(V.kind===0){const q=new O;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===1){const q=new W;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===2){const q=new U;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else G(V);const te=yield ce.pick(ue,{title:r.localize(23,null)});te&&(yield te.run())})}}e.ShowExcludeOptions=j,j.ID="editor.action.unicodeHighlight.showExcludeOptions";function R(Z,J){return we(this,void 0,void 0,function*(){const X=Z.getValue(g.unicodeHighlightConfigKeys.allowedCharacters);let H;typeof X=="object"&&X?H=X:H={};for(const B of J)H[String.fromCodePoint(B)]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedCharacters,H,2)})}function K(Z,J){var X;return we(this,void 0,void 0,function*(){const H=(X=Z.inspect(g.unicodeHighlightConfigKeys.allowedLocales).user)===null||X===void 0?void 0:X.value;let B;typeof H=="object"&&H?B=Object.assign({},H):B={};for(const V of J)B[V]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedLocales,B,2)})}function G(Z){throw new Error(`Unexpected value: ${Z}`)}(0,_.registerEditorAction)(O),(0,_.registerEditorAction)(W),(0,_.registerEditorAction)(U),(0,_.registerEditorAction)(j),(0,_.registerEditorContribution)(v.ID,v,1),a.HoverParticipantRegistry.register(I)}),define(ne[920],se([1,0,189,161,254,237,794,877,795,796,797,828,879,902,886,798,909,799,880,910,911,365,255,802,803,769,918,256,257,371,369,372,805,904,887,806,807,890,891,808,896,833,858,859,860,810,194,906,378,811,812,785,919,813,897,353,814,809,94,172]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[259],se([1,0,11,7,44,6,119,2,17,101,22,132,241,73,12,5,51,69,187,27,28,345,15,156,8,760,34,336,118,337,761,158,43,77,79,163,134,94,45,33,70,379,57,763,778,867,50,768,115,242,41,853,233,871,869,361,133,762,84,30,791,764,96,757,232,758,157,191,97,767,56,71,87,782,116,765,149,9,239,32,360,338,908,76,854,748]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he,ue,te,q,z,ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServices=e.updateConfigurationService=e.StandaloneConfigurationService=e.StandaloneKeybindingService=e.StandaloneCommandService=e.StandaloneNotificationService=void 0;class be{constructor(Ae){this.disposed=!1,this.model=Ae,this._onWillDispose=new D.Emitter}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Ie=class{constructor(Ae){this.modelService=Ae}createModelReference(Ae){const Ue=this.modelService.getModel(Ae);return Ue?Promise.resolve(new f.ImmortalReference(new be(Ue))):Promise.reject(new Error("Model not found"))}};Ie=ke([fe(0,u.IModelService)],Ie);class Ne{show(){return Ne.NULL_PROGRESS_RUNNER}showWhile(Ae,Ue){return we(this,void 0,void 0,function*(){yield Ae})}}Ne.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Re{withProgress(Ae,Ue,Ke){return Ue({report:()=>{}})}}class Ve{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}}class ze{confirm(Ae){return we(this,void 0,void 0,function*(){return{confirmed:this.doConfirm(Ae.message,Ae.detail),checkboxChecked:!1}})}doConfirm(Ae,Ue){let Ke=Ae;return Ue&&(Ke=Ke+` - -`+Ue),window.confirm(Ke)}prompt(Ae){var Ue,Ke;return we(this,void 0,void 0,function*(){let $e;if(this.doConfirm(Ae.message,Ae.detail)){const tt=[...(Ue=Ae.buttons)!==null&&Ue!==void 0?Ue:[]];Ae.cancelButton&&typeof Ae.cancelButton!="string"&&typeof Ae.cancelButton!="boolean"&&tt.push(Ae.cancelButton),$e=yield(Ke=tt[0])===null||Ke===void 0?void 0:Ke.run({checkboxChecked:!1})}return{result:$e}})}error(Ae,Ue){return we(this,void 0,void 0,function*(){yield this.prompt({type:g.default.Error,message:Ae,detail:Ue})})}}class We{info(Ae){return this.notify({severity:g.default.Info,message:Ae})}warn(Ae){return this.notify({severity:g.default.Warning,message:Ae})}error(Ae){return this.notify({severity:g.default.Error,message:Ae})}notify(Ae){switch(Ae.severity){case g.default.Error:console.error(Ae.message);break;case g.default.Warning:console.warn(Ae.message);break;default:console.log(Ae.message);break}return We.NO_OP}prompt(Ae,Ue,Ke,$e){return We.NO_OP}status(Ae,Ue){return f.Disposable.None}}e.StandaloneNotificationService=We,We.NO_OP=new x.NoOpNotification;let qe=class{constructor(Ae){this._onWillExecuteCommand=new D.Emitter,this._onDidExecuteCommand=new D.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=Ae}executeCommand(Ae,...Ue){const Ke=c.CommandsRegistry.getCommand(Ae);if(!Ke)return Promise.reject(new Error(`command '${Ae}' not found`));try{this._onWillExecuteCommand.fire({commandId:Ae,args:Ue});const $e=this._instantiationService.invokeFunction.apply(this._instantiationService,[Ke.handler,...Ue]);return this._onDidExecuteCommand.fire({commandId:Ae,args:Ue}),Promise.resolve($e)}catch($e){return Promise.reject($e)}}};e.StandaloneCommandService=qe,e.StandaloneCommandService=qe=ke([fe(0,m.IInstantiationService)],qe);let Oe=class extends v.AbstractKeybindingService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const ut=mt=>{const wt=new f.DisposableStore;wt.add(k.addDisposableListener(mt,k.EventType.KEY_DOWN,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._dispatch(yt,yt.target)&&(yt.preventDefault(),yt.stopPropagation())})),wt.add(k.addDisposableListener(mt,k.EventType.KEY_UP,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._singleModifierDispatch(yt,yt.target)&&yt.preventDefault()})),this._domNodeListeners.push(new Ge(mt,wt))},it=mt=>{for(let wt=0;wt{mt.getOption(60)||ut(mt.getContainerDomNode())},dt=mt=>{mt.getOption(60)||it(mt.getContainerDomNode())};this._register(tt.onCodeEditorAdd(rt)),this._register(tt.onCodeEditorRemove(dt)),tt.listCodeEditors().forEach(rt);const ft=mt=>{ut(mt.getContainerDomNode())},St=mt=>{it(mt.getContainerDomNode())};this._register(tt.onDiffEditorAdd(ft)),this._register(tt.onDiffEditorRemove(St)),tt.listDiffEditors().forEach(ft)}addDynamicKeybinding(Ae,Ue,Ke,$e){return(0,f.combinedDisposable)(c.CommandsRegistry.registerCommand(Ae,Ke),this.addDynamicKeybindings([{keybinding:Ue,command:Ae,when:$e}]))}addDynamicKeybindings(Ae){const Ue=Ae.map(Ke=>{var $e;return{keybinding:(0,S.decodeKeybinding)(Ke.keybinding,_.OS),command:($e=Ke.command)!==null&&$e!==void 0?$e:null,commandArgs:Ke.commandArgs,when:Ke.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(Ue),this.updateResolver(),(0,f.toDisposable)(()=>{for(let Ke=0;Kethis._log(Ke))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(Ae,Ue){const Ke=[];let $e=0;for(const et of Ae){const tt=et.when||void 0,ut=et.keybinding;if(!ut)Ke[$e++]=new I.ResolvedKeybindingItem(void 0,et.command,et.commandArgs,tt,Ue,null,!1);else{const it=M.USLayoutResolvedKeybinding.resolveKeybinding(ut,_.OS);for(const rt of it)Ke[$e++]=new I.ResolvedKeybindingItem(rt,et.command,et.commandArgs,tt,Ue,null,!1)}}return Ke}resolveKeyboardEvent(Ae){const Ue=new S.KeyCodeChord(Ae.ctrlKey,Ae.shiftKey,Ae.altKey,Ae.metaKey,Ae.keyCode);return new M.USLayoutResolvedKeybinding([Ue],_.OS)}};e.StandaloneKeybindingService=Oe,e.StandaloneKeybindingService=Oe=ke([fe(0,l.IContextKeyService),fe(1,c.ICommandService),fe(2,A.ITelemetryService),fe(3,x.INotificationService),fe(4,j.ILogService),fe(5,U.ICodeEditorService)],Oe);class Ge extends f.Disposable{constructor(Ae,Ue){super(),this.domNode=Ae,this._register(Ue)}}function Qe(je){return je&&typeof je=="object"&&(!je.overrideIdentifier||typeof je.overrideIdentifier=="string")&&(!je.resource||je.resource instanceof C.URI)}class st{constructor(){this._onDidChangeConfiguration=new D.Emitter,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const Ae=new Fe.DefaultConfiguration;this._configuration=new d.Configuration(Ae.reload(),new d.ConfigurationModel,new d.ConfigurationModel,new d.ConfigurationModel),Ae.dispose()}getValue(Ae,Ue){const Ke=typeof Ae=="string"?Ae:void 0,$e=Qe(Ae)?Ae:Qe(Ue)?Ue:{};return this._configuration.getValue(Ke,$e,void 0)}updateValues(Ae){const Ue={data:this._configuration.toData()},Ke=[];for(const $e of Ae){const[et,tt]=$e;this.getValue(et)!==tt&&(this._configuration.updateValue(et,tt),Ke.push(et))}if(Ke.length>0){const $e=new d.ConfigurationChangeEvent({keys:Ke,overrides:[]},Ue,this._configuration);$e.source=8,$e.sourceConfig=null,this._onDidChangeConfiguration.fire($e)}return Promise.resolve()}updateValue(Ae,Ue,Ke,$e){return this.updateValues([[Ae,Ue]])}inspect(Ae,Ue={}){return this._configuration.inspect(Ae,Ue,void 0)}}e.StandaloneConfigurationService=st;let nt=class{constructor(Ae,Ue,Ke){this.configurationService=Ae,this.modelService=Ue,this.languageService=Ke,this._onDidChangeConfiguration=new D.Emitter,this.configurationService.onDidChangeConfiguration($e=>{this._onDidChangeConfiguration.fire({affectedKeys:$e.affectedKeys,affectsConfiguration:(et,tt)=>$e.affectsConfiguration(tt)})})}getValue(Ae,Ue,Ke){const $e=t.Position.isIPosition(Ue)?Ue:null,et=$e?typeof Ke=="string"?Ke:void 0:typeof Ue=="string"?Ue:void 0,tt=Ae?this.getLanguage(Ae,$e):void 0;return typeof et>"u"?this.configurationService.getValue({resource:Ae,overrideIdentifier:tt}):this.configurationService.getValue(et,{resource:Ae,overrideIdentifier:tt})}getLanguage(Ae,Ue){const Ke=this.modelService.getModel(Ae);return Ke?Ue?Ke.getLanguageIdAtPosition(Ue.lineNumber,Ue.column):Ke.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(Ae)}};nt=ke([fe(0,o.IConfigurationService),fe(1,u.IModelService),fe(2,Y.ILanguageService)],nt);let ot=class{constructor(Ae){this.configurationService=Ae}getEOL(Ae,Ue){const Ke=this.configurationService.getValue("files.eol",{overrideIdentifier:Ue,resource:Ae});return Ke&&typeof Ke=="string"&&Ke!=="auto"?Ke:_.isLinux||_.isMacintosh?` -`:`\r -`}};ot=ke([fe(0,o.IConfigurationService)],ot);class ct{publicLog2(){}}class lt{constructor(){const Ae=C.URI.from({scheme:lt.SCHEME,authority:"model",path:"/"});this.workspace={id:N.STANDALONE_EDITOR_WORKSPACE_ID,folders:[new N.WorkspaceFolder({uri:Ae,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(Ae){return Ae&&Ae.scheme===lt.SCHEME?this.workspace.folders[0]:null}}lt.SCHEME="inmemory";function gt(je,Ae,Ue){if(!Ae||!(je instanceof st))return;const Ke=[];Object.keys(Ae).forEach($e=>{(0,i.isEditorConfigurationKey)($e)&&Ke.push([`editor.${$e}`,Ae[$e]]),Ue&&(0,i.isDiffEditorConfigurationKey)($e)&&Ke.push([`diffEditor.${$e}`,Ae[$e]])}),Ke.length>0&&je.updateValues(Ke)}e.updateConfigurationService=gt;let at=class{constructor(Ae){this._modelService=Ae}hasPreviewHandler(){return!1}apply(Ae,Ue){return we(this,void 0,void 0,function*(){const Ke=Array.isArray(Ae)?Ae:s.ResourceEdit.convert(Ae),$e=new Map;for(const ut of Ke){if(!(ut instanceof s.ResourceTextEdit))throw new Error("bad edit - only text edits are supported");const it=this._modelService.getModel(ut.resource);if(!it)throw new Error("bad edit - model not found");if(typeof ut.versionId=="number"&&it.getVersionId()!==ut.versionId)throw new Error("bad state - model changed in the meantime");let rt=$e.get(it);rt||(rt=[],$e.set(it,rt)),rt.push(n.EditOperation.replaceMove(a.Range.lift(ut.textEdit.range),ut.textEdit.text))}let et=0,tt=0;for(const[ut,it]of $e)ut.pushStackElement(),ut.pushEditOperations([],it,()=>[]),ut.pushStackElement(),tt+=1,et+=it.length;return{ariaSummary:L.format(O.StandaloneServicesNLS.bulkEditServiceSummary,et,tt),isApplied:et>0}})}};at=ke([fe(0,u.IModelService)],at);class ht{getUriLabel(Ae,Ue){return Ae.scheme==="file"?Ae.fsPath:Ae.path}getUriBasenameLabel(Ae){return(0,W.basename)(Ae)}}let Be=class extends G.ContextViewService{constructor(Ae,Ue){super(Ae),this._codeEditorService=Ue}showContextView(Ae,Ue,Ke){if(!Ue){const $e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();$e&&(Ue=$e.getContainerDomNode())}return super.showContextView(Ae,Ue,Ke)}};Be=ke([fe(0,F.ILayoutService),fe(1,U.ICodeEditorService)],Be);class Te{constructor(){this._neverEmitter=new D.Emitter,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class xe extends Z.LanguageService{constructor(){super()}}class He extends me.LogService{constructor(){super(new j.ConsoleLogger)}}let Ye=class extends J.ContextMenuService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et,tt),this.configure({blockMouse:!1})}};Ye=ke([fe(0,A.ITelemetryService),fe(1,x.INotificationService),fe(2,K.IContextViewService),fe(3,b.IKeybindingService),fe(4,z.IMenuService),fe(5,l.IContextKeyService)],Ye);class Ze{playAudioCue(Ae,Ue){return we(this,void 0,void 0,function*(){})}}(0,X.registerSingleton)(o.IConfigurationService,st,0),(0,X.registerSingleton)(r.ITextResourceConfigurationService,nt,0),(0,X.registerSingleton)(r.ITextResourcePropertiesService,ot,0),(0,X.registerSingleton)(N.IWorkspaceContextService,lt,0),(0,X.registerSingleton)(P.ILabelService,ht,0),(0,X.registerSingleton)(A.ITelemetryService,ct,0),(0,X.registerSingleton)(p.IDialogService,ze,0),(0,X.registerSingleton)(Ce.IEnvironmentService,Ve,0),(0,X.registerSingleton)(x.INotificationService,We,0),(0,X.registerSingleton)(De.IMarkerService,ye.MarkerService,0),(0,X.registerSingleton)(Y.ILanguageService,xe,0),(0,X.registerSingleton)(ue.IStandaloneThemeService,he.StandaloneThemeService,0),(0,X.registerSingleton)(j.ILogService,He,0),(0,X.registerSingleton)(u.IModelService,ce.ModelService,0),(0,X.registerSingleton)(ae.IMarkerDecorationsService,ie.MarkerDecorationsService,0),(0,X.registerSingleton)(l.IContextKeyService,oe.ContextKeyService,0),(0,X.registerSingleton)(T.IProgressService,Re,0),(0,X.registerSingleton)(T.IEditorProgressService,Ne,0),(0,X.registerSingleton)(Pe.IStorageService,Pe.InMemoryStorageService,0),(0,X.registerSingleton)(B.IEditorWorkerService,V.EditorWorkerService,0),(0,X.registerSingleton)(s.IBulkEditService,at,0),(0,X.registerSingleton)(R.IWorkspaceTrustManagementService,Te,0),(0,X.registerSingleton)(h.ITextModelService,Ie,0),(0,X.registerSingleton)(q.IAccessibilityService,te.AccessibilityService,0),(0,X.registerSingleton)(Le.IListService,Le.ListService,0),(0,X.registerSingleton)(c.ICommandService,qe,0),(0,X.registerSingleton)(b.IKeybindingService,Oe,0),(0,X.registerSingleton)(Me.IQuickInputService,de.StandaloneQuickInputService,0),(0,X.registerSingleton)(K.IContextViewService,Be,0),(0,X.registerSingleton)(Ee.IOpenerService,H.OpenerService,0),(0,X.registerSingleton)(re.IClipboardService,$.BrowserClipboardService,0),(0,X.registerSingleton)(K.IContextMenuService,Ye,0),(0,X.registerSingleton)(z.IMenuService,ee.MenuService,0),(0,X.registerSingleton)(_e.IAudioCueService,Ze,0);var Xe;(function(je){const Ae=new Se.ServiceCollection;for(const[it,rt]of(0,X.getSingletonServiceDescriptors)())Ae.set(it,rt);const Ue=new ve.InstantiationService(Ae,!0);Ae.set(m.IInstantiationService,Ue);function Ke(it){$e||tt({});const rt=Ae.get(it);if(!rt)throw new Error("Missing service "+it);return rt instanceof ge.SyncDescriptor?Ue.invokeFunction(dt=>dt.get(it)):rt}je.get=Ke;let $e=!1;const et=new D.Emitter;function tt(it){if($e)return Ue;$e=!0;for(const[dt,ft]of(0,X.getSingletonServiceDescriptors)())Ae.get(dt)||Ae.set(dt,ft);for(const dt in it)if(it.hasOwnProperty(dt)){const ft=(0,m.createDecorator)(dt);Ae.get(ft)instanceof ge.SyncDescriptor&&Ae.set(ft,it[dt])}const rt=(0,le.getEditorFeatures)();for(const dt of rt)try{Ue.createInstance(dt)}catch(ft){(0,pe.onUnexpectedError)(ft)}return et.fire(),Ue}je.initialize=tt;function ut(it){if($e)return it();const rt=new f.DisposableStore,dt=rt.add(et.event(()=>{dt.dispose(),rt.add(it())}));return rt}je.withServices=ut})(Xe||(e.StandaloneServices=Xe={}))}),define(ne[921],se([1,0,49,2,33,161,254,277,259,133,30,27,28,15,57,8,34,43,23,84,94,96,77,51,41,360,78,32,18,876,116]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTextModel=e.StandaloneDiffEditor2=e.StandaloneDiffEditor=e.StandaloneEditor=e.StandaloneCodeEditor=void 0;let P=0,x=!1;function T(j){if(!j){if(x)return;x=!0}L.setARIAContainer(j||document.body)}let A=class extends D.CodeEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);ce.ariaLabel=ce.ariaLabel||o.StandaloneCodeEditorNLS.editorViewAccessibleLabel,ce.ariaLabel=ce.ariaLabel+";"+o.StandaloneCodeEditorNLS.accessibilityHelpMessage,super(R,ce,{},G,Z,J,X,B,V,Y,ie,ae),H instanceof _.StandaloneKeybindingService?this._standaloneKeybindingService=H:this._standaloneKeybindingService=null,T(ce.ariaContainerElement)}addCommand(R,K,G){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const Z="DYNAMIC_"+ ++P,J=n.ContextKeyExpr.deserialize(G);return this._standaloneKeybindingService.addDynamicKeybinding(Z,R,K,J),Z}createContextKey(R,K){return this._contextKeyService.createKey(R,K)}addAction(R){if(typeof R.id!="string"||typeof R.label!="string"||typeof R.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),k.Disposable.None;const K=R.id,G=R.label,Z=n.ContextKeyExpr.and(n.ContextKeyExpr.equals("editorId",this.getId()),n.ContextKeyExpr.deserialize(R.precondition)),J=R.keybindings,X=n.ContextKeyExpr.and(Z,n.ContextKeyExpr.deserialize(R.keybindingContext)),H=R.contextMenuGroupId||null,B=R.contextMenuOrder||0,V=(ce,...de)=>Promise.resolve(R.run(this,...de)),Y=new k.DisposableStore,ie=this.getId()+":"+K;if(Y.add(s.CommandsRegistry.registerCommand(ie,V)),H){const ce={command:{id:ie,title:G},when:Z,group:H,order:B};Y.add(C.MenuRegistry.appendMenuItem(C.MenuId.EditorContext,ce))}if(Array.isArray(J))for(const ce of J)Y.add(this._standaloneKeybindingService.addDynamicKeybinding(ie,ce,V,X));const ae=new f.InternalEditorAction(ie,G,G,Z,(...ce)=>Promise.resolve(R.run(this,...ce)),this._contextKeyService);return this._actions.set(K,ae),Y.add((0,k.toDisposable)(()=>{this._actions.delete(K)})),Y}_triggerCommand(R,K){if(this._codeEditorService instanceof v.StandaloneCodeEditorService)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(R,K)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(R,K)}};e.StandaloneCodeEditor=A,e.StandaloneCodeEditor=A=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,r.IThemeService),fe(8,h.INotificationService),fe(9,c.IAccessibilityService),fe(10,w.ILanguageConfigurationService),fe(11,E.ILanguageFeaturesService)],A);let N=class extends A{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he){const ue=Object.assign({},K);(0,_.updateConfigurationService)(Y,ue,!1);const te=B.registerEditorContainer(R);typeof ue.theme=="string"&&B.setTheme(ue.theme),typeof ue.autoDetectHighContrast<"u"&&B.setAutoDetectHighContrast(!!ue.autoDetectHighContrast);const q=ue.model;delete ue.model,super(R,ue,G,Z,J,X,H,B,V,ie,de,he),this._configurationService=Y,this._standaloneThemeService=B,this._register(te);let z;if(typeof q>"u"){const ee=ce.getLanguageIdByMimeType(ue.language)||ue.language||b.PLAINTEXT_LANGUAGE_ID;z=W(ae,ce,ue.value||"",ee,void 0),this._ownsModel=!0}else z=q,this._ownsModel=!1;if(this._attachModel(z),z){const ee={oldModelUrl:null,newModelUrl:z.uri};this._onDidChangeModel.fire(ee)}}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!1),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_postDetachModelCleanup(R){super._postDetachModelCleanup(R),R&&this._ownsModel&&(R.dispose(),this._ownsModel=!1)}};e.StandaloneEditor=N,e.StandaloneEditor=N=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,g.IStandaloneThemeService),fe(8,h.INotificationService),fe(9,i.IConfigurationService),fe(10,c.IAccessibilityService),fe(11,p.IModelService),fe(12,m.ILanguageService),fe(13,w.ILanguageConfigurationService),fe(14,E.ILanguageFeaturesService)],N);let F=class extends S.DiffEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie){const ae=Object.assign({},K);(0,_.updateConfigurationService)(B,ae,!0);const ce=X.registerEditorContainer(R);typeof ae.theme=="string"&&X.setTheme(ae.theme),typeof ae.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ae.autoDetectHighContrast),super(R,ae,{},ie,Z,G,J,X,H,V,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(ce)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor=F,e.StandaloneDiffEditor=F=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService)],F);let O=class extends I.DiffEditorWidget2{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);(0,_.updateConfigurationService)(B,ce,!0);const de=X.registerEditorContainer(R);typeof ce.theme=="string"&&X.setTheme(ce.theme),typeof ce.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ce.autoDetectHighContrast),super(R,ce,{},Z,G,J,ae,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(de)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor2=O,e.StandaloneDiffEditor2=O=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService),fe(11,M.IAudioCueService)],O);function W(j,R,K,G,Z){if(K=K||"",!G){const J=K.indexOf(` -`);let X=K;return J!==-1&&(X=K.substring(0,J)),U(j,K,R.createByFilepathOrFirstLine(Z||null,X),Z)}return U(j,K,R.createById(G),Z)}e.createTextModel=W;function U(j,R,K,G){return j.createModel(R,K,G)}}),define(ne[922],se([1,0,2,11,22,324,33,237,36,231,148,48,29,32,154,41,51,773,208,752,921,259,133,27,97,34,16,30,15,78,109,66,145,56,471]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoEditorAPI=e.registerEditorOpener=e.registerLinkOpener=e.registerCommand=e.remeasureFonts=e.setTheme=e.defineTheme=e.tokenize=e.colorizeModelLine=e.colorize=e.colorizeElement=e.createWebWorker=e.onDidChangeModelLanguage=e.onWillDisposeModel=e.onDidCreateModel=e.getModels=e.getModel=e.onDidChangeMarkers=e.getModelMarkers=e.removeAllMarkers=e.setModelMarkers=e.setModelLanguage=e.createModel=e.addKeybindingRules=e.addKeybindingRule=e.addEditorAction=e.addCommand=e.createDiffNavigator=e.createDiffEditor=e.getDiffEditors=e.getEditors=e.onDidCreateDiffEditor=e.onDidCreateEditor=e.create=void 0;function A(ye,Ee,Me){return d.StandaloneServices.initialize(Me||{}).createInstance(o.StandaloneEditor,ye,Ee)}e.create=A;function N(ye){return d.StandaloneServices.get(S.ICodeEditorService).onCodeEditorAdd(Me=>{ye(Me)})}e.onDidCreateEditor=N;function F(ye){return d.StandaloneServices.get(S.ICodeEditorService).onDiffEditorAdd(Me=>{ye(Me)})}e.onDidCreateDiffEditor=F;function O(){return d.StandaloneServices.get(S.ICodeEditorService).listCodeEditors()}e.getEditors=O;function W(){return d.StandaloneServices.get(S.ICodeEditorService).listDiffEditors()}e.getDiffEditors=W;function U(ye,Ee,Me){var Pe;const Fe=d.StandaloneServices.initialize(Me||{});return!((Pe=Ee?.experimental)===null||Pe===void 0)&&Pe.useVersion2?Fe.createInstance(o.StandaloneDiffEditor2,ye,Ee):Fe.createInstance(o.StandaloneDiffEditor,ye,Ee)}e.createDiffEditor=U;function j(ye,Ee){return d.StandaloneServices.initialize({}).createInstance(f.DiffNavigator,ye,Ee)}e.createDiffNavigator=j;function R(ye){if(typeof ye.id!="string"||typeof ye.run!="function")throw new Error("Invalid command descriptor, `id` and `run` are required properties!");return p.CommandsRegistry.registerCommand(ye.id,ye.run)}e.addCommand=R;function K(ye){if(typeof ye.id!="string"||typeof ye.label!="string"||typeof ye.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");const Ee=E.ContextKeyExpr.deserialize(ye.precondition),Me=(Fe,..._e)=>b.EditorCommand.runEditorCommand(Fe,_e,Ee,(me,le,pe)=>Promise.resolve(ye.run(le,...pe))),Pe=new L.DisposableStore;if(Pe.add(p.CommandsRegistry.registerCommand(ye.id,Me)),ye.contextMenuGroupId){const Fe={command:{id:ye.id,title:ye.label},when:Ee,group:ye.contextMenuGroupId,order:ye.contextMenuOrder||0};Pe.add(w.MenuRegistry.appendMenuItem(w.MenuId.EditorContext,Fe))}if(Array.isArray(ye.keybindings)){const Fe=d.StandaloneServices.get(v.IKeybindingService);if(!(Fe instanceof d.StandaloneKeybindingService))console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService");else{const _e=E.ContextKeyExpr.and(Ee,E.ContextKeyExpr.deserialize(ye.keybindingContext));Pe.add(Fe.addDynamicKeybindings(ye.keybindings.map(me=>({keybinding:me,command:ye.id,when:_e}))))}}return Pe}e.addEditorAction=K;function G(ye){return Z([ye])}e.addKeybindingRule=G;function Z(ye){const Ee=d.StandaloneServices.get(v.IKeybindingService);return Ee instanceof d.StandaloneKeybindingService?Ee.addDynamicKeybindings(ye.map(Me=>({keybinding:Me.keybinding,command:Me.command,commandArgs:Me.commandArgs,when:E.ContextKeyExpr.deserialize(Me.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),L.Disposable.None)}e.addKeybindingRules=Z;function J(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService),Fe=Pe.getLanguageIdByMimeType(Ee)||Ee;return(0,o.createTextModel)(d.StandaloneServices.get(u.IModelService),Pe,ye,Fe,Me)}e.createModel=J;function X(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=Me.getLanguageIdByMimeType(Ee)||Ee||I.PLAINTEXT_LANGUAGE_ID;ye.setLanguage(Me.createById(Pe))}e.setModelLanguage=X;function H(ye,Ee,Me){ye&&d.StandaloneServices.get(m.IMarkerService).changeOne(Ee,ye.uri,Me)}e.setModelMarkers=H;function B(ye){d.StandaloneServices.get(m.IMarkerService).changeAll(ye,[])}e.removeAllMarkers=B;function V(ye){return d.StandaloneServices.get(m.IMarkerService).read(ye)}e.getModelMarkers=V;function Y(ye){return d.StandaloneServices.get(m.IMarkerService).onMarkerChanged(ye)}e.onDidChangeMarkers=Y;function ie(ye){return d.StandaloneServices.get(u.IModelService).getModel(ye)}e.getModel=ie;function ae(){return d.StandaloneServices.get(u.IModelService).getModels()}e.getModels=ae;function ce(ye){return d.StandaloneServices.get(u.IModelService).onModelAdded(ye)}e.onDidCreateModel=ce;function de(ye){return d.StandaloneServices.get(u.IModelService).onModelRemoved(ye)}e.onWillDisposeModel=de;function he(ye){return d.StandaloneServices.get(u.IModelService).onModelLanguageChanged(Me=>{ye({model:Me.model,oldLanguage:Me.oldLanguageId})})}e.onDidChangeModelLanguage=he;function ue(ye){return(0,h.createWebWorker)(d.StandaloneServices.get(u.IModelService),d.StandaloneServices.get(n.ILanguageConfigurationService),ye)}e.createWebWorker=ue;function te(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=d.StandaloneServices.get(l.IStandaloneThemeService);return c.Colorizer.colorizeElement(Pe,Me,ye,Ee).then(()=>{Pe.registerEditorContainer(ye)})}e.colorizeElement=te;function q(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService);return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorize(Pe,ye,Ee,Me)}e.colorize=q;function z(ye,Ee,Me=4){return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorizeModelLine(ye,Ee,Me)}e.colorizeModelLine=z;function ee(ye){const Ee=i.TokenizationRegistry.get(ye);return Ee||{getInitialState:()=>t.NullState,tokenize:(Me,Pe,Fe)=>(0,t.nullTokenize)(ye,Fe)}}function $(ye,Ee){i.TokenizationRegistry.getOrCreate(Ee);const Me=ee(Ee),Pe=(0,k.splitLines)(ye),Fe=[];let _e=Me.getInitialState();for(let me=0,le=Pe.length;mewe(this,void 0,void 0,function*(){var _e;if(!Pe)return null;const me=(_e=Me.options)===null||_e===void 0?void 0:_e.selection;let le;return me&&typeof me.endLineNumber=="number"&&typeof me.endColumn=="number"?le=me:me&&(le={lineNumber:me.startLineNumber,column:me.startColumn}),(yield ye.openCodeEditor(Pe,Me.resource,le))?Pe:null}))}e.registerEditorOpener=Le;function De(){return{create:A,getEditors:O,getDiffEditors:W,onDidCreateEditor:N,onDidCreateDiffEditor:F,createDiffEditor:U,createDiffNavigator:j,addCommand:R,addEditorAction:K,addKeybindingRule:G,addKeybindingRules:Z,createModel:J,setModelLanguage:X,setModelMarkers:H,getModelMarkers:V,removeAllMarkers:B,onDidChangeMarkers:Y,getModels:ae,getModel:ie,onDidCreateModel:ce,onWillDisposeModel:de,onDidChangeModelLanguage:he,createWebWorker:ue,colorizeElement:te,colorize:q,colorizeModelLine:z,tokenize:$,defineTheme:re,setTheme:oe,remeasureFonts:ge,registerCommand:ve,registerLinkOpener:Se,registerEditorOpener:Le,AccessibilitySupport:r.AccessibilitySupport,ContentWidgetPositionPreference:r.ContentWidgetPositionPreference,CursorChangeReason:r.CursorChangeReason,DefaultEndOfLine:r.DefaultEndOfLine,EditorAutoIndentStrategy:r.EditorAutoIndentStrategy,EditorOption:r.EditorOption,EndOfLinePreference:r.EndOfLinePreference,EndOfLineSequence:r.EndOfLineSequence,MinimapPosition:r.MinimapPosition,MouseTargetType:r.MouseTargetType,OverlayWidgetPositionPreference:r.OverlayWidgetPositionPreference,OverviewRulerLane:r.OverviewRulerLane,GlyphMarginLane:r.GlyphMarginLane,RenderLineNumbersType:r.RenderLineNumbersType,RenderMinimap:r.RenderMinimap,ScrollbarVisibility:r.ScrollbarVisibility,ScrollType:r.ScrollType,TextEditorCursorBlinkingStyle:r.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:r.TextEditorCursorStyle,TrackedRangeStickiness:r.TrackedRangeStickiness,WrappingIndent:r.WrappingIndent,InjectedTextCursorStops:r.InjectedTextCursorStops,PositionAffinity:r.PositionAffinity,ConfigurationChangedEvent:_.ConfigurationChangedEvent,BareFontInfo:g.BareFontInfo,FontInfo:g.FontInfo,TextModelResolvedOptions:s.TextModelResolvedOptions,FindMatch:s.FindMatch,ApplyUpdateResult:_.ApplyUpdateResult,LineRange:P.LineRange,LineRangeMapping:M.LineRangeMapping,RangeMapping:M.RangeMapping,EditorZoom:x.EditorZoom,MovedText:M.MovedText,SimpleLineRangeMapping:M.SimpleLineRangeMapping,EditorType:C.EditorType,EditorOptions:_.EditorOptions}}e.createMonacoEditorAPI=De}),define(ne[923],se([1,0,38,5,29,32,78,41,208,259,550,334,133,97,18,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoLanguagesAPI=e.registerInlayHintsProvider=e.registerInlineCompletionsProvider=e.registerDocumentRangeSemanticTokensProvider=e.registerDocumentSemanticTokensProvider=e.registerSelectionRangeProvider=e.registerDeclarationProvider=e.registerFoldingRangeProvider=e.registerColorProvider=e.registerCompletionItemProvider=e.registerLinkProvider=e.registerOnTypeFormattingEditProvider=e.registerDocumentRangeFormattingEditProvider=e.registerDocumentFormattingEditProvider=e.registerCodeActionProvider=e.registerCodeLensProvider=e.registerTypeDefinitionProvider=e.registerImplementationProvider=e.registerDefinitionProvider=e.registerLinkedEditingRangeProvider=e.registerDocumentHighlightProvider=e.registerDocumentSymbolProvider=e.registerHoverProvider=e.registerSignatureHelpProvider=e.registerRenameProvider=e.registerReferenceProvider=e.setMonarchTokensProvider=e.setTokensProvider=e.registerTokensProviderFactory=e.setColorMap=e.TokenizationSupportAdapter=e.EncodedTokenizationSupportAdapter=e.setLanguageConfiguration=e.onLanguageEncountered=e.onLanguage=e.getEncodedLanguageId=e.getLanguages=e.register=void 0;function u(q){S.ModesRegistry.registerLanguage(q)}e.register=u;function h(){let q=[];return q=q.concat(S.ModesRegistry.getLanguages()),q}e.getLanguages=h;function r(q){return g.StandaloneServices.get(f.ILanguageService).languageIdCodec.encodeLanguageId(q)}e.getEncodedLanguageId=r;function c(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestRichLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguage=c;function o(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestBasicLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguageEncountered=o;function d(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set configuration for unknown language ${q}`);return g.StandaloneServices.get(D.ILanguageConfigurationService).register(q,z,100)}e.setLanguageConfiguration=d;class l{constructor(z,ee){this._languageId=z,this._actual=ee}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(z,ee,$){if(typeof this._actual.tokenize=="function")return p.adaptTokenize(this._languageId,this._actual,z,$);throw new Error("Not supported!")}tokenizeEncoded(z,ee,$){const re=this._actual.tokenizeEncoded(z,$);return new y.EncodedTokenizationResult(re.tokens,re.endState)}}e.EncodedTokenizationSupportAdapter=l;class p{constructor(z,ee,$,re){this._languageId=z,this._actual=ee,this._languageService=$,this._standaloneThemeService=re}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(z,ee){const $=[];let re=0;for(let oe=0,ge=z.length;oe0&&oe[ge-1]===Ee)continue;let Me=ye.startIndex;Le===0?Me=0:Mewe(this,void 0,void 0,function*(){const $=yield Promise.resolve(z.create());return $?m($)?E(q,$):new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService)):null}));return y.TokenizationRegistry.registerFactory(q,ee)}e.registerTokensProviderFactory=I;function M(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set tokens provider for unknown language ${q}`);return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,E(q,z))}e.setTokensProvider=M;function P(q,z){const ee=$=>new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService));return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,ee(z))}e.setMonarchTokensProvider=P;function x(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).referenceProvider.register(q,z)}e.registerReferenceProvider=x;function T(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).renameProvider.register(q,z)}e.registerRenameProvider=T;function A(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).signatureHelpProvider.register(q,z)}e.registerSignatureHelpProvider=A;function N(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).hoverProvider.register(q,{provideHover:($,re,oe)=>{const ge=$.getWordAtPosition(re);return Promise.resolve(z.provideHover($,re,oe)).then(ve=>{if(ve)return!ve.range&&ge&&(ve.range=new k.Range(re.lineNumber,ge.startColumn,re.lineNumber,ge.endColumn)),ve.range||(ve.range=new k.Range(re.lineNumber,re.column,re.lineNumber,re.column)),ve})}})}e.registerHoverProvider=N;function F(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSymbolProvider.register(q,z)}e.registerDocumentSymbolProvider=F;function O(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentHighlightProvider.register(q,z)}e.registerDocumentHighlightProvider=O;function W(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkedEditingRangeProvider.register(q,z)}e.registerLinkedEditingRangeProvider=W;function U(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).definitionProvider.register(q,z)}e.registerDefinitionProvider=U;function j(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).implementationProvider.register(q,z)}e.registerImplementationProvider=j;function R(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).typeDefinitionProvider.register(q,z)}e.registerTypeDefinitionProvider=R;function K(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeLensProvider.register(q,z)}e.registerCodeLensProvider=K;function G(q,z,ee){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeActionProvider.register(q,{providedCodeActionKinds:ee?.providedCodeActionKinds,documentation:ee?.documentation,provideCodeActions:(re,oe,ge,ve)=>{const Le=g.StandaloneServices.get(n.IMarkerService).read({resource:re.uri}).filter(De=>k.Range.areIntersectingOrTouching(De,oe));return z.provideCodeActions(re,oe,{markers:Le,only:ge.only,trigger:ge.trigger},ve)},resolveCodeAction:z.resolveCodeAction})}e.registerCodeActionProvider=G;function Z(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentFormattingEditProvider.register(q,z)}e.registerDocumentFormattingEditProvider=Z;function J(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeFormattingEditProvider.register(q,z)}e.registerDocumentRangeFormattingEditProvider=J;function X(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).onTypeFormattingEditProvider.register(q,z)}e.registerOnTypeFormattingEditProvider=X;function H(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkProvider.register(q,z)}e.registerLinkProvider=H;function B(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).completionProvider.register(q,z)}e.registerCompletionItemProvider=B;function V(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).colorProvider.register(q,z)}e.registerColorProvider=V;function Y(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).foldingRangeProvider.register(q,z)}e.registerFoldingRangeProvider=Y;function ie(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).declarationProvider.register(q,z)}e.registerDeclarationProvider=ie;function ae(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).selectionRangeProvider.register(q,z)}e.registerSelectionRangeProvider=ae;function ce(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSemanticTokensProvider.register(q,z)}e.registerDocumentSemanticTokensProvider=ce;function de(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeSemanticTokensProvider.register(q,z)}e.registerDocumentRangeSemanticTokensProvider=de;function he(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlineCompletionsProvider.register(q,z)}e.registerInlineCompletionsProvider=he;function ue(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlayHintsProvider.register(q,z)}e.registerInlayHintsProvider=ue;function te(){return{register:u,getLanguages:h,onLanguage:c,onLanguageEncountered:o,getEncodedLanguageId:r,setLanguageConfiguration:d,setColorMap:w,registerTokensProviderFactory:I,setTokensProvider:M,setMonarchTokensProvider:P,registerReferenceProvider:x,registerRenameProvider:T,registerCompletionItemProvider:B,registerSignatureHelpProvider:A,registerHoverProvider:N,registerDocumentSymbolProvider:F,registerDocumentHighlightProvider:O,registerLinkedEditingRangeProvider:W,registerDefinitionProvider:U,registerImplementationProvider:j,registerTypeDefinitionProvider:R,registerCodeLensProvider:K,registerCodeActionProvider:G,registerDocumentFormattingEditProvider:Z,registerDocumentRangeFormattingEditProvider:J,registerOnTypeFormattingEditProvider:X,registerLinkProvider:H,registerColorProvider:V,registerFoldingRangeProvider:Y,registerDeclarationProvider:ie,registerSelectionRangeProvider:ae,registerDocumentSemanticTokensProvider:ce,registerDocumentRangeSemanticTokensProvider:de,registerInlineCompletionsProvider:he,registerInlayHintsProvider:ue,DocumentHighlightKind:_.DocumentHighlightKind,CompletionItemKind:_.CompletionItemKind,CompletionItemTag:_.CompletionItemTag,CompletionItemInsertTextRule:_.CompletionItemInsertTextRule,SymbolKind:_.SymbolKind,SymbolTag:_.SymbolTag,IndentAction:_.IndentAction,CompletionTriggerKind:_.CompletionTriggerKind,SignatureHelpTriggerKind:_.SignatureHelpTriggerKind,InlayHintKind:_.InlayHintKind,InlineCompletionTriggerKind:_.InlineCompletionTriggerKind,CodeActionTriggerType:_.CodeActionTriggerType,FoldingRangeKind:y.FoldingRangeKind,SelectedSuggestionInfo:y.SelectedSuggestionInfo}}e.createMonacoLanguagesAPI=te}),define(ne[924],se([1,0,36,327,922,923,351]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.languages=e.editor=e.Token=e.Uri=e.MarkerTag=e.MarkerSeverity=e.SelectionDirection=e.Selection=e.Range=e.Position=e.KeyMod=e.KeyCode=e.Emitter=e.CancellationTokenSource=void 0,L.EditorOptions.wrappingIndent.defaultValue=0,L.EditorOptions.glyphMargin.defaultValue=!1,L.EditorOptions.autoIndent.defaultValue=3,L.EditorOptions.overviewRulerLanes.defaultValue=2,S.FormattingConflicts.setFormatterSelector((g,C,s)=>Promise.resolve(g[0]));const f=(0,k.createMonacoBaseAPI)();f.editor=(0,y.createMonacoEditorAPI)(),f.languages=(0,D.createMonacoLanguagesAPI)(),e.CancellationTokenSource=f.CancellationTokenSource,e.Emitter=f.Emitter,e.KeyCode=f.KeyCode,e.KeyMod=f.KeyMod,e.Position=f.Position,e.Range=f.Range,e.Selection=f.Selection,e.SelectionDirection=f.SelectionDirection,e.MarkerSeverity=f.MarkerSeverity,e.MarkerTag=f.MarkerTag,e.Uri=f.Uri,e.Token=f.Token,e.editor=f.editor,e.languages=f.languages;const _=globalThis.MonacoEnvironment;(_?.globalAPI||typeof define=="function"&&define.amd)&&(globalThis.monaco=f),typeof globalThis.require<"u"&&typeof globalThis.require.config=="function"&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})});var Ci=this&&this.__createBinding||(Object.create?function(Q,e,L,k){k===void 0&&(k=L);var y=Object.getOwnPropertyDescriptor(e,L);(!y||("get"in y?!e.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return e[L]}}),Object.defineProperty(Q,k,y)}:function(Q,e,L,k){k===void 0&&(k=L),Q[k]=e[L]}),bi=this&&this.__exportStar||function(Q,e){for(var L in Q)L!=="default"&&!Object.prototype.hasOwnProperty.call(e,L)&&Ci(e,Q,L)};define(ne[926],se([1,0,924,920,815,816,787,862,863,820,907,865]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),bi(L,e)})}).call(this); - - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/basic-languages/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var y=Object.create;var g=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var a=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,s)=>(typeof require!="undefined"?require:r)[s]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var D=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var m=(e,r,s,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of q(r))!M.call(e,o)&&o!==s&&g(e,o,{get:()=>r[o],enumerable:!(n=x(r,o))||n.enumerable});return e},p=(e,r,s)=>(m(e,r,"default"),s&&m(s,r,"default")),c=(e,r,s)=>(s=e!=null?y(A(e)):{},m(r||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var v=D((w,d)=>{var b=c(a("vs/editor/editor.api"));d.exports=b});var t={};p(t,c(v()));var f={},u={},l=class{static getOrCreate(r){return u[r]||(u[r]=new l(r)),u[r]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(r){this._languageId=r,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((s,n)=>{this._lazyLoadPromiseResolve=s,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,f[this._languageId].loader().then(r=>this._lazyLoadPromiseResolve(r),r=>this._lazyLoadPromiseReject(r))),this._lazyLoadPromise}};function i(e){let r=e.id;f[r]=e,t.languages.register(e);let s=l.getOrCreate(r);t.languages.registerTokensProviderFactory(r,{create:async()=>(await s.load()).language}),t.languages.onLanguageEncountered(r,async()=>{let n=await s.load();t.languages.setLanguageConfiguration(r,n.conf)})}i({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/abap/abap"],e,r)})});i({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/apex/apex"],e,r)})});i({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/azcli/azcli"],e,r)})});i({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bat/bat"],e,r)})});i({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bicep/bicep"],e,r)})});i({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cameligo/cameligo"],e,r)})});i({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/clojure/clojure"],e,r)})});i({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/coffee/coffee"],e,r)})});i({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csharp/csharp"],e,r)})});i({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csp/csp"],e,r)})});i({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/css/css"],e,r)})});i({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cypher/cypher"],e,r)})});i({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dart/dart"],e,r)})});i({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dockerfile/dockerfile"],e,r)})});i({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ecl/ecl"],e,r)})});i({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/elixir/elixir"],e,r)})});i({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/flow9/flow9"],e,r)})});i({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/fsharp/fsharp"],e,r)})});i({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationBracket)});i({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationBracket)});i({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationDollar)});i({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationBracket)});i({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/go/go"],e,r)})});i({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/graphql/graphql"],e,r)})});i({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/handlebars/handlebars"],e,r)})});i({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/hcl/hcl"],e,r)})});i({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/html/html"],e,r)})});i({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ini/ini"],e,r)})});i({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/java/java"],e,r)})});i({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/javascript/javascript"],e,r)})});i({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/julia/julia"],e,r)})});i({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/kotlin/kotlin"],e,r)})});i({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/less/less"],e,r)})});i({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lexon/lexon"],e,r)})});i({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lua/lua"],e,r)})});i({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/liquid/liquid"],e,r)})});i({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/m3/m3"],e,r)})});i({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/markdown/markdown"],e,r)})});i({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mdx/mdx"],e,r)})});i({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mips/mips"],e,r)})});i({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/msdax/msdax"],e,r)})});i({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mysql/mysql"],e,r)})});i({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/objective-c/objective-c"],e,r)})});i({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascal/pascal"],e,r)})});i({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascaligo/pascaligo"],e,r)})});i({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/perl/perl"],e,r)})});i({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pgsql/pgsql"],e,r)})});i({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/php/php"],e,r)})});i({id:"pla",extensions:[".pla"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pla/pla"],e,r)})});i({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/postiats/postiats"],e,r)})});i({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powerquery/powerquery"],e,r)})});i({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powershell/powershell"],e,r)})});i({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/protobuf/protobuf"],e,r)})});i({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pug/pug"],e,r)})});i({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/python/python"],e,r)})});i({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/qsharp/qsharp"],e,r)})});i({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/r/r"],e,r)})});i({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/razor/razor"],e,r)})});i({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redis/redis"],e,r)})});i({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redshift/redshift"],e,r)})});i({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/restructuredtext/restructuredtext"],e,r)})});i({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ruby/ruby"],e,r)})});i({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/rust/rust"],e,r)})});i({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sb/sb"],e,r)})});i({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scala/scala"],e,r)})});i({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scheme/scheme"],e,r)})});i({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scss/scss"],e,r)})});i({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/shell/shell"],e,r)})});i({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/solidity/solidity"],e,r)})});i({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sophia/sophia"],e,r)})});i({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sparql/sparql"],e,r)})});i({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sql/sql"],e,r)})});i({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/st/st"],e,r)})});i({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/swift/swift"],e,r)})});i({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/tcl/tcl"],e,r)})});i({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/twig/twig"],e,r)})});i({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/typescript/typescript"],e,r)})});i({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/vb/vb"],e,r)})});i({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/wgsl/wgsl"],e,r)})});i({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\new Promise((e,r)=>{a(["vs/basic-languages/xml/xml"],e,r)})});i({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/yaml/yaml"],e,r)})});})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/css/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var C=Object.create;var g=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(n,r)=>(typeof require!="undefined"?require:n)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),M=(e,n)=>{for(var r in n)g(e,r,{get:n[r],enumerable:!0})},s=(e,n,r,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(e,t)&&t!==r&&g(e,t,{get:()=>n[t],enumerable:!(a=S(n,t))||a.enumerable});return e},y=(e,n,r)=>(s(e,n,"default"),r&&s(r,n,"default")),w=(e,n,r)=>(r=e!=null?C(x(e)):{},s(n||!e||!e.__esModule?g(r,"default",{value:e,enumerable:!0}):r,e)),P=e=>s(g({},"__esModule",{value:!0}),e);var v=I((k,D)=>{var O=w(l("vs/editor/editor.api"));D.exports=O});var R={};M(R,{cssDefaults:()=>p,lessDefaults:()=>f,scssDefaults:()=>c});var o={};y(o,w(v()));var i=class{_onDidChange=new o.Emitter;_options;_modeConfiguration;_languageId;constructor(n,r,a){this._languageId=n,this.setOptions(r),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(n){this.setOptions(n)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},d={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},u={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},p=new i("css",d,u),c=new i("scss",d,u),f=new i("less",d,u);o.languages.css={cssDefaults:p,lessDefaults:f,scssDefaults:c};function m(){return new Promise((e,n)=>{l(["vs/language/css/cssMode"],e,n)})}o.languages.onLanguage("less",()=>{m().then(e=>e.setupMode(f))});o.languages.onLanguage("scss",()=>{m().then(e=>e.setupMode(c))});o.languages.onLanguage("css",()=>{m().then(e=>e.setupMode(p))});return P(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/html/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var w=Object.create;var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var f=(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 k=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),T=(e,n)=>{for(var t in n)l(e,t,{get:n[t],enumerable:!0})},d=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of H(n))!_.call(e,o)&&o!==t&&l(e,o,{get:()=>n[o],enumerable:!(r=R(n,o))||r.enumerable});return e},b=(e,n,t)=>(d(e,n,"default"),t&&d(t,n,"default")),v=(e,n,t)=>(t=e!=null?w(O(e)):{},d(n||!e||!e.__esModule?l(t,"default",{value:e,enumerable:!0}):t,e)),A=e=>d(l({},"__esModule",{value:!0}),e);var C=k((z,h)=>{var E=v(f("vs/editor/editor.api"));h.exports=E});var V={};T(V,{handlebarDefaults:()=>M,handlebarLanguageService:()=>m,htmlDefaults:()=>x,htmlLanguageService:()=>c,razorDefaults:()=>I,razorLanguageService:()=>y,registerHTMLLanguageService:()=>s});var a={};b(a,v(C()));var p=class{_onDidChange=new a.Emitter;_options;_modeConfiguration;_languageId;constructor(n,t,r){this._languageId=n,this.setOptions(t),this.setModeConfiguration(r)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},F={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},u={format:F,suggest:{},data:{useDefaultDataProvider:!0}};function g(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===i,documentFormattingEdits:e===i,documentRangeFormattingEdits:e===i}}var i="html",D="handlebars",L="razor",c=s(i,u,g(i)),x=c.defaults,m=s(D,u,g(D)),M=m.defaults,y=s(L,u,g(L)),I=y.defaults;a.languages.html={htmlDefaults:x,razorDefaults:I,handlebarDefaults:M,htmlLanguageService:c,handlebarLanguageService:m,razorLanguageService:y,registerHTMLLanguageService:s};function P(){return new Promise((e,n)=>{f(["vs/language/html/htmlMode"],e,n)})}function s(e,n=u,t=g(e)){let r=new p(e,n,t),o,S=a.languages.onLanguage(e,async()=>{o=(await P()).setupMode(r)});return{defaults:r,dispose(){S.dispose(),o?.dispose(),o=void 0}}}return A(V);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/json/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var p=Object.create;var r=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var g=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var D=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports),b=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},s=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of h(e))!C.call(o,i)&&i!==n&&r(o,i,{get:()=>e[i],enumerable:!(a=y(e,i))||a.enumerable});return o},u=(o,e,n)=>(s(o,e,"default"),n&&s(n,e,"default")),c=(o,e,n)=>(n=o!=null?p(v(o)):{},s(e||!o||!o.__esModule?r(n,"default",{value:o,enumerable:!0}):n,o)),O=o=>s(r({},"__esModule",{value:!0}),o);var f=D((w,m)=>{var M=c(g("vs/editor/editor.api"));m.exports=M});var R={};b(R,{jsonDefaults:()=>d});var t={};u(t,c(f()));var l=class{_onDidChange=new t.Emitter;_diagnosticsOptions;_modeConfiguration;_languageId;constructor(e,n,a){this._languageId=e,this.setDiagnosticsOptions(n),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},j={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},S={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d=new l("json",j,S);t.languages.json={jsonDefaults:d};function _(){return new Promise((o,e)=>{g(["vs/language/json/jsonMode"],o,e)})}t.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});t.languages.onLanguage("json",()=>{_().then(o=>o.setupMode(d))});return O(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/typescript/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var N=Object.create;var d=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty;var c=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var w=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),A=(n,e)=>{for(var t in e)d(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of M(e))!F.call(n,r)&&r!==t&&d(n,r,{get:()=>e[r],enumerable:!(i=H(e,r))||i.enumerable});return n},D=(n,e,t)=>(g(n,e,"default"),t&&g(t,e,"default")),C=(n,e,t)=>(t=n!=null?N(R(n)):{},g(e||!n||!n.__esModule?d(t,"default",{value:n,enumerable:!0}):t,n)),W=n=>g(d({},"__esModule",{value:!0}),n);var _=w((B,E)=>{var V=C(c("vs/editor/editor.api"));E.exports=V});var T={};A(T,{JsxEmit:()=>f,ModuleKind:()=>b,ModuleResolutionKind:()=>O,NewLineKind:()=>y,ScriptTarget:()=>h,getJavaScriptWorker:()=>k,getTypeScriptWorker:()=>P,javascriptDefaults:()=>v,typescriptDefaults:()=>x,typescriptVersion:()=>I});var L="5.0.2";var l={};D(l,C(_()));var b=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))(b||{}),f=(a=>(a[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a))(f||{}),y=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(y||{}),h=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(h||{}),O=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t))(O||{}),m=class{_onDidChange=new l.Emitter;_onDidExtraLibsChange=new l.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,t,i,r,p){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(r),this.setModeConfiguration(p),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let p=this._extraLibs[i];!p||p.version===r&&(delete this._extraLibs[i],this._removedExtraLibs[i]=r,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,r=t.content,p=1;this._removedExtraLibs[i]&&(p=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:r,version:p}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},I=L,S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},x=new m({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new m({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),P=()=>u().then(n=>n.getTypeScriptWorker()),k=()=>u().then(n=>n.getJavaScriptWorker());l.languages.typescript={ModuleKind:b,JsxEmit:f,NewLineKind:y,ScriptTarget:h,ModuleResolutionKind:O,typescriptVersion:I,typescriptDefaults:x,javascriptDefaults:v,getTypeScriptWorker:P,getJavaScriptWorker:k};function u(){return new Promise((n,e)=>{c(["vs/language/typescript/tsMode"],n,e)})}l.languages.onLanguage("typescript",()=>u().then(n=>n.setupTypeScript(x)));l.languages.onLanguage("javascript",()=>u().then(n=>n.setupJavaScript(v)));return W(T);})(); -return moduleExports; -}); - -define("vs/editor/editor.main", ["vs/editor/edcore.main","vs/basic-languages/monaco.contribution","vs/language/css/monaco.contribution","vs/language/html/monaco.contribution","vs/language/json/monaco.contribution","vs/language/typescript/monaco.contribution"], function(api) { return api; }); -//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/editor.main.min.css b/v2realbot/static/js/libs/editor.main.min.css deleted file mode 100644 index 67aff18..0000000 --- a/v2realbot/static/js/libs/editor.main.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/*!----------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * 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{display:flex;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:.6}.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-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.monaco-aria-container{position:absolute;left:-999em}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border,transparent);line-height:18px}.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-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border,transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.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-button-dropdown.default-colors>.monaco-button,.monaco-button.default-colors{color:var(--vscode-button-foreground);background-color:var(--vscode-button-background)}.monaco-button-dropdown.default-colors>.monaco-button:hover,.monaco-button.default-colors:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary,.monaco-button.default-colors.secondary{color:var(--vscode-button-secondaryForeground);background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary:hover,.monaco-button.default-colors.secondary:hover{background-color:var(--vscode-button-secondaryHoverBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator{background-color:var(--vscode-button-background);border-top:1px solid var(--vscode-button-border);border-bottom:1px solid var(--vscode-button-border)}.monaco-button-dropdown.default-colors .monaco-button.secondary+.monaco-button-dropdown-separator{background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator>div{background-color:var(--vscode-button-separator)}@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}.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}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;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}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.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:0 0}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:0 0}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:0 0}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:0 0}}.monaco-hover{cursor:default;position:absolute;overflow:hidden;user-select:text;-webkit-user-select:text;box-sizing:border-box;animation:fadein .1s linear;line-height:1.5em;white-space:var(--vscode-hover-whiteSpace,normal)}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){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:var(--vscode-hover-maxWidth,500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.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:var(--vscode-hover-sourceWhiteSpace,pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.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;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.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-container.disabled{color:var(--vscode-disabledForeground)}.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;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.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;scrollbar-width:none;outline:0}.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}.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-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-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{--vscode-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(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size)*2);width:calc(var(--vscode-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(--vscode-sash-size)*-.5);top:calc(var(--vscode-sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size)*-.5);bottom:calc(var(--vscode-sash-size)*-1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size)*-.5);left:calc(var(--vscode-sash-size)*-1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size)*-.5);right:calc(var(--vscode-sash-size)*-1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:0 0}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.active:before,.monaco-sash.hover:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - var(--vscode-sash-hover-size)/ 2)}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - var(--vscode-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:0 0;transition:opacity .1s linear;z-index:11}.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%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.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;overflow:hidden}.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(--vscode-sash-size)/2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{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}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:0 0}.monaco-custom-toggle.monaco-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-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.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}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{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}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:0!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.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 .glyph-margin-widgets .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.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}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background,var(--vscode-editor-background));color:var(--vscode-button-foreground,var(--vscode-editor-foreground));border:1px solid var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.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}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkw,.monaco-editor .mtkz{color:var(--vscode-editorWhitespace-foreground)!important}.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{background-color:var(--vscode-editorGutter-background)}.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-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.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}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.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.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .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;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:0 0!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:0 0!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:0 0!important}@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-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .diff-hidden-lines-widget{width:100%}.monaco-editor .diff-hidden-lines{height:0;transform:translateY(-10px);font-size:13px;line-height:14px}.monaco-editor .diff-hidden-lines .bottom.dragging,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .bottom,.monaco-editor .diff-hidden-lines .top{transition:background-color .1s ease-out;height:4px;background-color:transparent;background-clip:padding-box;border-bottom:2px solid transparent;border-top:4px solid transparent;cursor:ns-resize}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{z-index:1;background:var(--vscode-editor-background);display:flex;justify-content:center;align-items:center}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);color:var(--vscode-diffEditor-unchangedRegionForeground);overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;height:24px}.monaco-editor .diff-hidden-lines .center span.codicon{vertical-align:middle}.monaco-editor .diff-hidden-lines .center a:hover .codicon{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .diff-hidden-lines div.breadcrumb-item{cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedModified,.monaco-editor .movedOriginal{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedModified.currentMove,.monaco-editor .movedOriginal.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{position:absolute;pointer-events:none}.monaco-diff-editor .moved-blocks-lines path{fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2}.monaco-editor .char-delete.diff-range-empty{margin-left:-1px;border-left:3px solid var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .char-insert.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .fold-unchanged{cursor:pointer}.monaco-diff-editor .diff-moved-code-block{display:flex;justify-content:flex-end;margin-top:-4px}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{width:12px;height:12px;font-size:12px}.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 .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:0 0}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:0 0}.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,.modified-in-monaco-diff-editor.hc-light .slider.active{background:0 0}.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-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.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 .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-insert,.monaco-editor .line-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .line-delete{border-style:dashed}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,var(--vscode-diffEditor-insertedLineBackground),var(--vscode-diffEditor-insertedTextBackground))}.monaco-diff-editor .char-delete,.monaco-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,var(--vscode-diffEditor-removedLineBackground),var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;z-index:99}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.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;z-index:100}.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%;color:var(--vscode-editor-foreground)}.monaco-editor,.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground,inherit)}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground,var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{user-select:none;-webkit-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);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.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}.colorpicker-color-decoration,.hc-light .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:240px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1;white-space:nowrap;overflow:hidden}.colorpicker-header .picked-color .picked-color-presentation{white-space:nowrap;margin-left:5px;margin-right:5px}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.standalone-colorpicker{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header.standalone-colorpicker{border-bottom:none}.colorpicker-header .close-button{cursor:pointer;background-color:var(--vscode-editorHoverWidget-background);border-left:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header .close-button-inner-div{width:100%;height:100%;text-align:center}.colorpicker-header .close-button-inner-div:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.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 .standalone-strip{width:25px;height:122px}.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}.colorpicker-body .standalone-strip .standalone-overlay{height:122px;pointer-events:none}.standalone-colorpicker-body{display:block;border:1px solid transparent;border-bottom:1px solid var(--vscode-editorHoverWidget-border);overflow:hidden}.colorpicker-body .insert-button{position:absolute;height:20px;width:58px;padding:0;right:8px;bottom:8px;background:var(--vscode-button-background);color:var(--vscode-button-foreground);border-radius:2px;border:none;cursor:pointer}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor.hc-light .dnd-target,.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.hc-light.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.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.post-edit-widget{box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:1px solid var(--vscode-widget-border,transparent);border-radius:4px;background-color:var(--vscode-editorWidget-background);overflow:hidden}.post-edit-widget .monaco-button{padding:2px;border:none;border-radius:0}.post-edit-widget .monaco-button:hover{background-color:var(--vscode-button-secondaryHoverBackground)!important}.post-edit-widget .monaco-button .codicon{margin:0}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.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));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0s linear}.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:3px 25px 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{color:var(--vscode-disabledForeground);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 .find-widget>.button.codicon-widget-close{position:absolute;top:5px;right:4px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{transition:initial}.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays:hover .codicon{opacity:1}.monaco-editor .inline-folded:after{color:grey;margin:.1em .2em 0;content:"\22EF";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded{color:var(--vscode-editorGutter-foldingControlForeground)!important}.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;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;color:var(--vscode-editorLink-activeForeground)!important}.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,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.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 .ghost-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.inline-editor-progress-decoration{display:inline-block;width:1em;height:1em}.inline-progress-widget{display:flex!important;justify-content:center;align-items:center}.inline-progress-widget .icon{font-size:80%!important}.inline-progress-widget:hover .icon{font-size:90%!important;animation:none}.inline-progress-widget:hover .icon:before{content:"\ea76"}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-radius:3px;border:1px solid var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.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:2px 4px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-inputValidation-infoBorder);border-radius:3px}.monaco-editor .monaco-editor-overlaymessage .message p{margin-block:0}.monaco-editor .monaco-editor-overlaymessage .message a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-editor-overlaymessage .message a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .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;left:2px}.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;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.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.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.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;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.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 a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.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 .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{color:var(--vscode-editorHoverWidget-highlightForeground);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:baseline;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}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename,.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.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;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input{padding:3px;border-radius:2px}.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 .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{float:left;background-color:inherit}.monaco-editor .sticky-widget-lines-scrollable{display:inline-block;position:absolute;overflow:hidden;width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit}.monaco-editor .sticky-widget-lines{position:absolute;background-color:inherit}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{color:var(--vscode-editorLineNumber-foreground);white-space:nowrap;display:inline-block;position:absolute;background-color:inherit}.monaco-editor .sticky-line-number .codicon{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit;white-space:nowrap}.monaco-editor .sticky-line-number-inner{display:block;text-align:right}.monaco-editor.hc-black .sticky-widget,.monaco-editor.hc-light .sticky-widget{border-bottom:1px solid var(--vscode-contrastBorder)}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column;border-radius:3px}.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,.monaco-editor.hc-light .suggest-details,.monaco-editor.hc-light .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}.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 .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused: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)}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-enum,.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-value{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.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);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.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 .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;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.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}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.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}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #0f4a85;box-shadow:none;color:#292929}.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.hc-light .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%)}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:80vw;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;border-radius:2px;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{position:fixed;cursor:auto;left:0;top:0;width:100%;height:100%}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{user-select:none;-webkit-user-select:none;border:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!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-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>.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}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.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 6px 6px 11px}.quick-input-header .quick-input-description{margin:4px 2px;flex:1}.quick-input-header{display:flex;padding:8px 6px 6px}.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:25px;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-message a{color:inherit}.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}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.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{border-radius:3px}.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-icon{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;display:flex;align-items:center;justify-content:center}.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:4px}.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:0 0}.quick-input-list .quick-input-list-separator-as-item{font-weight:600;font-size:12px}.extension-editor .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.markers-panel .marker-icon .codicon.codicon-error,.markers-panel .marker-icon.error,.monaco-editor .zone-widget .codicon.codicon-error,.preferences-editor .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.extension-editor .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.markers-panel .marker-icon .codicon.codicon-warning,.markers-panel .marker-icon.warning,.monaco-editor .zone-widget .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.extension-editor .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.markers-panel .marker-icon .codicon.codicon-info,.markers-panel .marker-icon.info,.monaco-editor .zone-widget .codicon.codicon-info,.preferences-editor .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)} \ No newline at end of file diff --git a/v2realbot/static/js/libs/editor/editor.main.js b/v2realbot/static/js/libs/editor/editor.main.js deleted file mode 100644 index 3e21078..0000000 --- a/v2realbot/static/js/libs/editor/editor.main.js +++ /dev/null @@ -1,758 +0,0 @@ -/*!----------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/vscode/blob/main/LICENSE.txt - *-----------------------------------------------------------*/(function(){var ne=["exports","require","vs/base/common/lifecycle","vs/nls","vs/nls!vs/editor/editor.main","vs/editor/common/core/range","vs/base/common/event","vs/base/browser/dom","vs/platform/instantiation/common/instantiation","vs/base/common/errors","vs/css!vs/editor/editor.main","vs/base/common/strings","vs/editor/common/core/position","vs/base/common/async","vs/base/common/arrays","vs/platform/contextkey/common/contextkey","vs/editor/browser/editorExtensions","vs/base/common/platform","vs/editor/common/services/languageFeatures","vs/base/common/cancellation","vs/base/common/types","vs/editor/common/editorContextKeys","vs/base/common/uri","vs/platform/theme/common/themeService","vs/editor/common/core/selection","vs/base/common/codicons","vs/base/common/themables","vs/platform/commands/common/commands","vs/platform/configuration/common/configuration","vs/editor/common/languages","vs/platform/actions/common/actions","vs/platform/theme/common/colorRegistry","vs/editor/common/languages/languageConfigurationRegistry","vs/editor/browser/services/codeEditorService","vs/platform/keybinding/common/keybinding","vs/base/browser/fastDomNode","vs/editor/common/config/editorOptions","vs/platform/registry/common/platform","vs/base/common/color","vs/base/common/actions","vs/editor/common/model/textModel","vs/editor/common/languages/language","vs/base/common/observable","vs/platform/notification/common/notification","vs/base/browser/keyboardEvent","vs/base/common/resources","vs/base/common/iterator","vs/base/common/objects","vs/editor/common/model","vs/base/browser/ui/aria/aria","vs/platform/instantiation/common/extensions","vs/editor/common/services/model","vs/base/browser/browser","vs/editor/browser/view/viewPart","vs/base/common/network","vs/base/common/htmlContent","vs/platform/opener/common/opener","vs/platform/contextview/browser/contextView","vs/base/common/stopwatch","vs/editor/browser/config/domFontInfo","vs/base/browser/mouseEvent","vs/base/browser/touch","vs/platform/theme/common/iconRegistry","vs/base/common/keyCodes","vs/base/common/linkedList","vs/base/common/map","vs/editor/common/core/lineRange","vs/editor/common/viewModel","vs/base/browser/ui/actionbar/actionbar","vs/editor/common/services/resolverService","vs/platform/log/common/log","vs/platform/quickinput/common/quickInput","vs/base/common/filters","vs/editor/common/core/editOperation","vs/editor/common/cursorCommon","vs/base/browser/ui/scrollbar/scrollableElement","vs/editor/common/services/languageFeatureDebounce","vs/platform/progress/common/progress","vs/editor/common/languages/modesRegistry","vs/platform/telemetry/common/telemetry","vs/editor/common/core/editorColorRegistry","vs/base/browser/event","vs/editor/common/core/cursorColumns","vs/base/browser/ui/widget","vs/platform/accessibility/common/accessibility","vs/base/common/assert","vs/editor/common/tokens/lineTokens","vs/platform/storage/common/storage","vs/platform/theme/common/theme","vs/base/browser/trustedTypes","vs/editor/common/core/offsetRange","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length","vs/base/common/path","vs/editor/common/core/stringBuilder","vs/editor/common/standaloneStrings","vs/editor/common/viewLayout/viewLineRenderer","vs/platform/clipboard/common/clipboardService","vs/platform/markers/common/markers","vs/platform/configuration/common/configurationRegistry","vs/base/common/functional","vs/base/common/lazy","vs/base/common/severity","vs/editor/browser/widget/diffEditorWidget2/utils","vs/editor/contrib/hover/browser/hoverTypes","vs/editor/contrib/editorState/browser/editorState","vs/platform/theme/browser/defaultStyles","vs/base/common/decorators","vs/base/common/mime","vs/editor/browser/stableEditorScroll","vs/editor/common/diff/linesDiffComputer","vs/editor/common/languages/languageConfiguration","vs/editor/common/textModelEvents","vs/editor/browser/view/dynamicViewOverlay","vs/editor/contrib/codeAction/common/types","vs/base/browser/ui/list/listWidget","vs/editor/common/services/editorWorker","vs/platform/audioCues/browser/audioCueService","vs/editor/contrib/markdownRenderer/browser/markdownRenderer","vs/platform/keybinding/common/keybindingsRegistry","vs/base/common/keybindings","vs/base/common/iconLabels","vs/editor/common/core/characterClassifier","vs/editor/common/core/eolCounter","vs/editor/common/commands/replaceCommand","vs/editor/common/encodedTokenAttributes","vs/editor/common/languages/supports","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet","vs/editor/common/viewLayout/lineDecorations","vs/editor/contrib/snippet/browser/snippetParser","vs/base/browser/ui/iconLabel/iconLabels","vs/base/browser/ui/sash/sash","vs/base/browser/ui/actionbar/actionViewItems","vs/editor/browser/services/bulkEditService","vs/editor/standalone/common/standaloneTheme","vs/platform/layout/browser/layoutService","vs/editor/contrib/suggest/browser/suggest","vs/platform/quickinput/common/quickAccess","vs/editor/contrib/codeAction/browser/codeAction","vs/editor/contrib/peekView/browser/peekView","vs/base/browser/ui/tree/tree","vs/base/common/buffer","vs/base/common/numbers","vs/base/common/observableInternal/logging","vs/base/common/hash","vs/editor/browser/view/renderingContext","vs/editor/common/config/editorZoom","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/editorCommon","vs/editor/common/editorFeatures","vs/editor/common/viewEventHandler","vs/editor/contrib/inlineCompletions/browser/utils","vs/base/browser/globalPointerMoveMonitor","vs/base/browser/ui/toggle/toggle","vs/editor/common/languages/nullTokenize","vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/platform/dialogs/common/dialogs","vs/platform/instantiation/common/serviceCollection","vs/platform/label/common/label","vs/editor/browser/editorDom","vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/browser/widget/codeEditorWidget","vs/editor/browser/widget/embeddedCodeEditorWidget","vs/platform/workspace/common/workspace","vs/base/common/idGenerator","vs/base/common/observableInternal/base","vs/base/common/range","vs/base/common/scrollable","vs/base/common/diff/diff","vs/base/common/uint","vs/base/common/uuid","vs/base/common/dataTransfer","vs/base/browser/ui/codicons/codiconStyles","vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/platform/quickinput/browser/media/quickInput","vs/editor/common/core/textModelDefaults","vs/editor/common/diff/algorithms/diffAlgorithm","vs/editor/browser/editorBrowser","vs/editor/common/cursor/cursorWordOperations","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast","vs/editor/common/model/textModelSearch","vs/editor/contrib/folding/browser/foldingRanges","vs/base/browser/markdownRenderer","vs/base/browser/ui/tree/abstractTree","vs/editor/browser/controller/textAreaInput","vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture","vs/editor/common/services/textResourceConfiguration","vs/editor/contrib/documentSymbols/browser/outlineModel","vs/editor/browser/coreCommands","vs/editor/contrib/message/browser/messageController","vs/platform/list/browser/listService","vs/platform/undoRedo/common/undoRedo","vs/editor/contrib/find/browser/findModel","vs/editor/contrib/snippet/browser/snippetController2","vs/base/browser/ui/scrollbar/scrollbarState","vs/base/common/collections","vs/base/browser/dnd","vs/base/common/ternarySearchTree","vs/css!vs/editor/contrib/colorPicker/browser/colorPicker","vs/editor/browser/config/elementSizeObserver","vs/editor/browser/config/tabFocus","vs/editor/common/core/indentation","vs/editor/common/cursor/cursorMoveOperations","vs/editor/common/cursor/cursorDeleteOperations","vs/editor/common/cursor/cursorMoveCommands","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer","vs/editor/common/model/utils","vs/editor/common/standalone/standaloneEnums","vs/editor/common/textModelGuides","vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/editor/common/viewEvents","vs/editor/common/viewModel/overviewZoneManager","vs/editor/common/viewModelEventDispatcher","vs/editor/contrib/inlineCompletions/browser/commandIds","vs/editor/contrib/inlineCompletions/browser/ghostText","vs/base/common/keybindingLabels","vs/base/browser/canIUse","vs/base/browser/ui/tree/indexTreeModel","vs/base/browser/ui/tree/objectTreeModel","vs/base/common/extpath","vs/base/common/marshalling","vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/base/browser/ui/resizable/resizable","vs/base/browser/ui/scrollbar/scrollbarArrow","vs/base/browser/ui/list/listView","vs/base/browser/ui/iconLabel/iconLabel","vs/base/browser/ui/inputbox/inputBox","vs/base/browser/ui/findinput/findInput","vs/editor/browser/view/viewLayer","vs/editor/common/languages/supports/richEditBrackets","vs/editor/common/config/fontInfo","vs/platform/instantiation/common/descriptors","vs/editor/common/services/markerDecorations","vs/editor/common/services/semanticTokensStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/editor/contrib/parameterHints/browser/provideSignatureHelp","vs/editor/browser/widget/diffNavigator","vs/platform/contextkey/common/contextkeys","vs/platform/environment/common/environment","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/editor/common/config/editorConfigurationSchema","vs/editor/browser/services/editorWorkerService","vs/editor/common/languages/autoIndent","vs/editor/common/languages/enterAction","vs/editor/common/commands/shiftCommand","vs/editor/common/cursor/cursorTypeOperations","vs/editor/contrib/gotoSymbol/browser/goToSymbol","vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/editor/contrib/codeAction/browser/codeActionController","vs/editor/browser/viewParts/lines/viewLine","vs/editor/common/services/semanticTokensProviderStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/editor/browser/widget/diffEditorWidget","vs/editor/contrib/folding/browser/folding","vs/editor/contrib/inlineProgress/browser/inlineProgress","vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/editor/standalone/browser/standaloneServices","vs/base/browser/performance","vs/base/common/cache","vs/base/common/observableInternal/autorun","vs/base/common/ime","vs/base/common/symbols","vs/css!vs/base/browser/ui/actionbar/actionbar","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/css!vs/platform/actionWidget/browser/actionWidget","vs/editor/browser/viewParts/minimap/minimapCharSheet","vs/editor/common/config/diffEditor","vs/editor/browser/view/viewUserInputEvents","vs/editor/browser/controller/textAreaState","vs/editor/common/core/rgba","vs/editor/common/cursor/cursorAtomicMoveOperations","vs/editor/common/diff/advancedLinesDiffComputer","vs/editor/common/editorAction","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/textModelPart","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase","vs/editor/common/modelLineProjectionData","vs/editor/common/services/treeViewsDnd","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/model/guidesTextModelPart","vs/editor/common/tokens/contiguousMultilineTokensBuilder","vs/editor/browser/viewParts/margin/margin","vs/editor/contrib/comment/browser/blockCommentCommand","vs/editor/contrib/folding/browser/foldingModel","vs/editor/contrib/folding/browser/indentRangeProvider","vs/editor/contrib/folding/browser/syntaxRangeProvider","vs/editor/contrib/format/browser/formattingEdit","vs/editor/contrib/indentation/browser/indentUtils","vs/editor/contrib/inlineCompletions/browser/singleTextEdit","vs/editor/contrib/semanticTokens/common/semanticTokensConfig","vs/editor/contrib/smartSelect/browser/bracketSelections","vs/editor/contrib/stickyScroll/browser/stickyScrollElement","vs/editor/contrib/suggest/browser/completionModel","vs/editor/contrib/suggest/browser/wordDistance","vs/editor/standalone/common/monarch/monarchCommon","vs/base/common/glob","vs/base/browser/dompurify/dompurify","vs/base/browser/formattedTextRenderer","vs/base/browser/ui/contextview/contextview","vs/base/browser/ui/countBadge/countBadge","vs/base/browser/ui/highlightedlabel/highlightedLabel","vs/base/browser/ui/scrollbar/abstractScrollbar","vs/base/browser/ui/hover/hoverWidget","vs/base/browser/ui/splitview/splitview","vs/base/browser/ui/findinput/findInputToggles","vs/base/browser/ui/button/button","vs/base/browser/ui/iconLabel/iconLabelHover","vs/base/browser/ui/dropdown/dropdownActionViewItem","vs/base/browser/ui/tree/objectTree","vs/base/common/worker/simpleWorker","vs/editor/browser/widget/diffEditorWidget2/diffEditorViewModel","vs/editor/common/core/textChange","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer","vs/editor/contrib/hover/browser/hoverOperation","vs/editor/contrib/inlayHints/browser/inlayHints","vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/editor/browser/config/fontMeasurements","vs/editor/common/viewModel/viewModelDecorations","vs/editor/common/languages/textToHtmlTokenizer","vs/editor/common/services/editorBaseApi","vs/editor/common/viewModel/minimapTokensColorTracker","vs/editor/common/model/editStack","vs/platform/files/common/files","vs/editor/contrib/dropOrPasteInto/browser/edit","vs/editor/contrib/codelens/browser/codelens","vs/editor/contrib/semanticTokens/common/getSemanticTokens","vs/editor/standalone/common/monarch/monarchLexer","vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/platform/keybinding/common/keybindingResolver","vs/platform/keybinding/common/resolvedKeybindingItem","vs/editor/standalone/browser/standaloneLayoutService","vs/platform/quickinput/browser/quickInputUtils","vs/platform/dnd/browser/dnd","vs/editor/browser/dnd","vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider","vs/editor/contrib/colorPicker/browser/color","vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/platform/configuration/common/configurationModels","vs/platform/history/browser/contextScopedHistoryWidget","vs/editor/contrib/suggest/browser/suggestMemory","vs/editor/browser/widget/workerBasedDocumentDiffProvider","vs/editor/contrib/codeAction/browser/codeActionModel","vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/editor/contrib/format/browser/format","vs/editor/contrib/hover/browser/getHover","vs/editor/contrib/wordOperations/browser/wordOperations","vs/editor/browser/widget/diffReview","vs/editor/browser/controller/mouseTarget","vs/platform/quickinput/browser/quickInputList","vs/editor/browser/widget/diffEditorWidget2/overviewRulerPart","vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess","vs/editor/standalone/browser/standaloneCodeEditorService","vs/editor/standalone/browser/standaloneThemeService","vs/editor/browser/widget/diffEditorWidget2/decorations","vs/editor/contrib/colorPicker/browser/colorDetector","vs/editor/contrib/colorPicker/browser/colorHoverParticipant","vs/editor/contrib/find/browser/findController","vs/editor/contrib/folding/browser/foldingDecorations","vs/editor/contrib/hover/browser/contentHover","vs/editor/contrib/wordHighlighter/browser/highlightDecorations","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/inlayHintsLocations","vs/editor/contrib/inlayHints/browser/inlayHintsController","vs/editor/contrib/stickyScroll/browser/stickyScrollController","vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/editor/contrib/snippet/browser/snippetSession","vs/editor/contrib/suggest/browser/suggestController","vs/platform/workspace/common/workspaceTrust","vs/base/browser/iframe","vs/base/browser/ui/list/list","vs/base/browser/ui/list/splice","vs/base/common/diff/diffChange","vs/base/common/comparers","vs/base/common/linkedText","vs/base/common/marked/marked","vs/base/common/navigator","vs/base/common/history","vs/base/common/observableInternal/derived","vs/base/common/observableInternal/utils","vs/base/browser/ui/list/rangeMap","vs/base/common/search","vs/css!vs/base/browser/ui/aria/aria","vs/css!vs/base/browser/ui/button/button","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/css!vs/base/browser/ui/sash/sash","vs/css!vs/base/browser/ui/scrollbar/media/scrollbars","vs/css!vs/base/browser/ui/selectBox/selectBox","vs/css!vs/base/browser/ui/selectBox/selectBoxCustom","vs/css!vs/base/browser/ui/splitview/splitview","vs/css!vs/base/browser/ui/table/table","vs/css!vs/base/browser/ui/toggle/toggle","vs/css!vs/base/browser/ui/toolbar/toolbar","vs/css!vs/base/browser/ui/tree/media/tree","vs/css!vs/editor/browser/controller/textAreaHandler","vs/css!vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/margin/margin","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/viewParts/whitespace/whitespace","vs/css!vs/editor/browser/widget/diffEditorWidget2/style","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/dnd/browser/dnd","vs/css!vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/css!vs/editor/contrib/find/browser/findOptionsWidget","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/hover/browser/hover","vs/css!vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/css!vs/editor/contrib/inlineCompletions/browser/ghostText","vs/css!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/css!vs/editor/contrib/inlineProgress/browser/inlineProgressWidget","vs/css!vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/css!vs/editor/contrib/links/browser/links","vs/css!vs/editor/contrib/markdownRenderer/browser/renderedMarkdown","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/stickyScroll/browser/stickyScroll","vs/css!vs/editor/contrib/suggest/browser/media/suggest","vs/css!vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/css!vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/css!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/css!vs/editor/contrib/wordHighlighter/browser/highlightDecorations","vs/css!vs/editor/contrib/zoneWidget/browser/zoneWidget","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/opener/browser/link","vs/css!vs/platform/severityIcon/browser/media/severityIcon","vs/editor/browser/config/charWidthReader","vs/editor/browser/config/migrateOptions","vs/editor/browser/viewParts/lines/domReadingContext","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/browser/widget/diffEditorWidget2/delegatingEditorImpl","vs/editor/browser/widget/diffEditorWidget2/outlineModel","vs/editor/common/commands/trimTrailingWhitespaceCommand","vs/editor/common/commands/surroundSelectionCommand","vs/editor/common/cursor/cursorContext","vs/editor/common/diff/algorithms/joinSequenceDiffs","vs/editor/common/diff/algorithms/myersDiffAlgorithm","vs/editor/common/diff/algorithms/utils","vs/editor/common/diff/algorithms/dynamicProgrammingDiffing","vs/editor/common/diff/legacyLinesDiffComputer","vs/editor/common/diff/linesDiffComputers","vs/editor/common/editorTheme","vs/editor/common/languages/defaultDocumentColorsComputer","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/languageBracketsConfiguration","vs/editor/common/languages/supports/onEnter","vs/editor/common/languages/supports/tokenization","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees","vs/editor/common/model/bracketPairsTextModelPart/fixBrackets","vs/editor/common/model/fixedArray","vs/editor/common/model/indentationGuesser","vs/editor/common/model/intervalTree","vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase","vs/editor/common/model/mirrorTextModel","vs/editor/common/textModelBracketPairs","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree","vs/editor/common/tokenizationRegistry","vs/editor/common/tokens/contiguousMultilineTokens","vs/editor/common/tokens/contiguousTokensEditing","vs/editor/common/tokens/contiguousTokensStore","vs/editor/common/tokens/sparseMultilineTokens","vs/editor/common/tokens/sparseTokensStore","vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/rulers/rulers","vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/editor/browser/viewParts/viewZones/viewZones","vs/editor/common/viewLayout/linePart","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/comment/browser/lineCommentCommand","vs/editor/contrib/dnd/browser/dragAndDropCommand","vs/editor/contrib/find/browser/replaceAllCommand","vs/editor/contrib/find/browser/replacePattern","vs/editor/contrib/folding/browser/hiddenRangeModel","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand","vs/editor/contrib/linesOperations/browser/copyLinesCommand","vs/editor/contrib/linesOperations/browser/sortLinesCommand","vs/editor/contrib/smartSelect/browser/wordSelections","vs/editor/contrib/suggest/browser/suggestCommitCharacters","vs/editor/contrib/suggest/browser/suggestOvertypingCapturer","vs/editor/standalone/common/monarch/monarchCompile","vs/nls!vs/base/browser/ui/actionbar/actionViewItems","vs/nls!vs/base/browser/ui/findinput/findInput","vs/nls!vs/base/browser/ui/findinput/findInputToggles","vs/nls!vs/base/browser/ui/findinput/replaceInput","vs/nls!vs/base/browser/ui/hover/hoverWidget","vs/nls!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/selectBox/selectBoxCustom","vs/nls!vs/base/browser/ui/toolbar/toolbar","vs/nls!vs/base/browser/ui/tree/abstractTree","vs/nls!vs/base/common/actions","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/keybindingLabels","vs/nls!vs/base/common/platform","vs/base/browser/ui/scrollbar/scrollbarVisibilityController","vs/base/browser/ui/tree/compressedObjectTreeModel","vs/base/common/process","vs/base/common/fuzzyScorer","vs/base/common/labels","vs/base/browser/ui/dropdown/dropdown","vs/base/browser/ui/list/rowCache","vs/base/browser/ui/progressbar/progressbar","vs/base/browser/ui/selectBox/selectBoxNative","vs/base/browser/ui/scrollbar/horizontalScrollbar","vs/base/browser/ui/scrollbar/verticalScrollbar","vs/base/browser/ui/list/listPaging","vs/base/browser/ui/table/tableWidget","vs/base/browser/ui/selectBox/selectBoxCustom","vs/base/browser/ui/selectBox/selectBox","vs/base/browser/ui/findinput/replaceInput","vs/base/browser/ui/menu/menu","vs/base/browser/ui/toolbar/toolbar","vs/base/browser/ui/tree/dataTree","vs/base/browser/ui/tree/asyncDataTree","vs/base/browser/defaultWorkerFactory","vs/base/parts/storage/common/storage","vs/editor/browser/viewParts/contentWidgets/contentWidgets","vs/editor/browser/widget/diffEditorWidget2/diffEditorSash","vs/editor/browser/view/domLineBreaksComputer","vs/editor/browser/view/viewOverlays","vs/editor/common/languageSelector","vs/editor/common/languageFeatureRegistry","vs/editor/common/languages/supports/electricCharacter","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder","vs/editor/common/services/semanticTokensDto","vs/editor/contrib/hover/browser/resizableContentWidget","vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions","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/diffEditor.contribution","vs/nls!vs/editor/browser/widget/diffEditorWidget","vs/nls!vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/nls!vs/editor/browser/widget/diffEditorWidget2/colors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/decorations","vs/nls!vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/nls!vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/nls!vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","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/viewParts/viewCursors/viewCursor","vs/editor/browser/widget/diffEditorWidget2/diffEditorOptions","vs/nls!vs/editor/common/core/editorColorRegistry","vs/nls!vs/editor/common/editorContextKeys","vs/nls!vs/editor/common/languages","vs/editor/common/model/textModelTokens","vs/editor/common/model/tokenizationTextModelPart","vs/editor/common/services/editorSimpleWorker","vs/nls!vs/editor/common/languages/modesRegistry","vs/nls!vs/editor/common/model/editStack","vs/nls!vs/editor/common/standaloneStrings","vs/nls!vs/editor/common/viewLayout/viewLineRenderer","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/codeAction","vs/nls!vs/editor/contrib/codeAction/browser/codeActionCommands","vs/nls!vs/editor/contrib/codeAction/browser/codeActionContributions","vs/nls!vs/editor/contrib/codeAction/browser/codeActionController","vs/nls!vs/editor/contrib/codeAction/browser/codeActionMenu","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/colorPicker/browser/standaloneColorPickerActions","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/dropOrPasteInto/browser/copyPasteContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","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/commands","vs/nls!vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","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/readOnlyMessage/browser/contribution","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/stickyScroll/browser/stickyScrollActions","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/highlightDecorations","vs/nls!vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/nls!vs/editor/contrib/wordOperations/browser/wordOperations","vs/nls!vs/platform/action/common/actionCommonCategories","vs/nls!vs/platform/actionWidget/browser/actionList","vs/nls!vs/platform/actionWidget/browser/actionWidget","vs/nls!vs/platform/actions/browser/menuEntryActionViewItem","vs/nls!vs/platform/actions/browser/toolbar","vs/nls!vs/platform/actions/common/menuService","vs/nls!vs/platform/audioCues/browser/audioCueService","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/contextkey/browser/contextKeyService","vs/nls!vs/platform/contextkey/common/contextkey","vs/nls!vs/platform/contextkey/common/contextkeys","vs/nls!vs/platform/contextkey/common/scanner","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/quickinput/browser/quickInput","vs/nls!vs/platform/quickinput/browser/quickInputController","vs/nls!vs/platform/quickinput/browser/quickInputList","vs/nls!vs/platform/quickinput/browser/quickInputUtils","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/action/common/action","vs/platform/action/common/actionCommonCategories","vs/platform/contextkey/common/scanner","vs/platform/editor/common/editor","vs/platform/extensions/common/extensions","vs/platform/history/browser/historyWidgetKeybindingHint","vs/platform/instantiation/common/graph","vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","vs/editor/common/services/languageFeaturesService","vs/editor/common/services/treeViewsDndService","vs/editor/contrib/inlineCompletions/browser/ghostTextWidget","vs/editor/contrib/links/browser/getLinks","vs/editor/standalone/browser/colorizer","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/contextkey/browser/contextKeyService","vs/platform/instantiation/common/instantiationService","vs/platform/keybinding/common/baseResolvedKeybinding","vs/platform/keybinding/common/abstractKeybindingService","vs/platform/keybinding/common/usLayoutResolvedKeybinding","vs/platform/accessibility/browser/accessibilityService","vs/platform/contextview/browser/contextViewService","vs/platform/clipboard/browser/clipboardService","vs/platform/log/common/logService","vs/editor/contrib/gotoError/browser/markerNavigationService","vs/platform/markers/common/markerService","vs/editor/browser/services/openerService","vs/editor/contrib/documentSymbols/browser/documentSymbols","vs/platform/opener/browser/link","vs/platform/quickinput/browser/pickerQuickAccess","vs/platform/quickinput/browser/quickInputBox","vs/editor/browser/services/webWorker","vs/editor/common/cursor/cursor","vs/editor/common/services/getIconClasses","vs/editor/common/services/languagesAssociations","vs/editor/common/services/languagesRegistry","vs/editor/common/services/languageService","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource","vs/editor/contrib/linesOperations/browser/moveLinesCommand","vs/editor/contrib/hover/browser/marginHover","vs/platform/configuration/common/configurations","vs/editor/browser/widget/diffEditor.contribution","vs/editor/browser/widget/codeEditorContributions","vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/platform/quickinput/browser/helpQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess","vs/platform/quickinput/browser/quickAccess","vs/platform/severityIcon/browser/severityIcon","vs/editor/contrib/codelens/browser/codeLensCache","vs/platform/actions/common/menuService","vs/editor/browser/services/markerDecorations","vs/editor/browser/view/viewController","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/cursorUndo/browser/cursorUndo","vs/editor/contrib/editorState/browser/keybindingCancellation","vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver","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/longLinesHelper/browser/longLinesHelper","vs/editor/contrib/readOnlyMessage/browser/contribution","vs/editor/contrib/smartSelect/browser/smartSelect","vs/editor/contrib/suggest/browser/suggestInlineCompletions","vs/editor/contrib/tokenization/browser/tokenization","vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/editor/contrib/wordPartOperations/browser/wordPartOperations","vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/platform/actions/browser/toolbar","vs/platform/quickinput/browser/commandsQuickAccess","vs/editor/contrib/quickAccess/browser/commandsQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess","vs/editor/browser/viewParts/minimap/minimap","vs/editor/browser/widget/diffEditorWidget2/colors","vs/editor/contrib/codeAction/browser/codeActionMenu","vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/platform/actionWidget/browser/actionList","vs/platform/actionWidget/browser/actionWidget","vs/editor/contrib/codeAction/browser/codeActionCommands","vs/editor/contrib/codeAction/browser/codeActionContributions","vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/editor/contrib/parameterHints/browser/parameterHints","vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/platform/theme/browser/iconsStyleSheet","vs/editor/browser/controller/mouseHandler","vs/editor/browser/controller/pointerHandler","vs/editor/browser/viewParts/lines/viewLines","vs/platform/quickinput/browser/quickInput","vs/platform/quickinput/browser/quickInputController","vs/editor/browser/services/abstractCodeEditorService","vs/editor/browser/viewParts/editorScrollbar/editorScrollbar","vs/editor/browser/viewParts/selections/selections","vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","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/viewCursors/viewCursors","vs/editor/browser/viewParts/whitespace/whitespace","vs/editor/browser/view","vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider","vs/editor/common/services/markerDecorationsService","vs/editor/common/services/semanticTokensStylingService","vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/editor/contrib/rename/browser/renameInputField","vs/editor/contrib/rename/browser/rename","vs/editor/contrib/semanticTokens/browser/documentSemanticTokens","vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens","vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess","vs/editor/standalone/common/themes","vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast","vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/platform/contextview/browser/contextMenuService","vs/platform/quickinput/browser/quickInputService","vs/editor/standalone/browser/quickInput/standaloneQuickInputService","vs/editor/browser/widget/diffEditorWidget2/diffEditorDecorations","vs/editor/common/services/modelService","vs/editor/common/viewModel/viewModelLines","vs/editor/common/viewModel/viewModelImpl","vs/editor/browser/widget/diffEditorWidget2/renderLines","vs/editor/browser/widget/diffEditorWidget2/lineAlignment","vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2","vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/editor/contrib/codelens/browser/codelensWidget","vs/editor/contrib/codelens/browser/codelensController","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/colorPicker/browser/standaloneColorPickerWidget","vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/editor/contrib/links/browser/links","vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollWidget","vs/editor/contrib/suggest/browser/suggestWidget","vs/editor/contrib/multicursor/browser/multicursor","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/inlayHintsHover","vs/editor/contrib/inlayHints/browser/inlayHintsContribution","vs/editor/contrib/stickyScroll/browser/stickyScrollActions","vs/editor/contrib/stickyScroll/browser/stickyScrollContribution","vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch","vs/platform/undoRedo/common/undoRedoService","vs/editor/contrib/contextmenu/browser/contextmenu","vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/editor/contrib/snippet/browser/snippetVariables","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel","vs/editor/contrib/suggest/browser/suggestModel","vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider","vs/editor/contrib/inlineCompletions/browser/commands","vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution","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/css","vs/editor/edcore.main"],se=function(Q){for(var e=[],L=0,k=Q.length;L{g({})},n=>{typeof g.error=="function"&&g.error("Could not find "+i+".")})}e.load=L;function k(f,_,g,C){if(y(f,_)){g();return}D(f,_,g,C)}function y(f,_){const g=document.getElementsByTagName("link");for(let C=0,s=g.length;C{_.removeEventListener("load",i),_.removeEventListener("error",n)},i=t=>{s(),g()},n=t=>{s(),C(t)};_.addEventListener("load",i),_.addEventListener("error",n)}});var we=this&&this.__awaiter||function(Q,e,L,k){function y(D){return D instanceof L?D:new L(function(S){S(D)})}return new(L||(L=Promise))(function(D,S){function f(C){try{g(k.next(C))}catch(s){S(s)}}function _(C){try{g(k.throw(C))}catch(s){S(s)}}function g(C){C.done?D(C.value):y(C.value).then(f,_)}g((k=k.apply(Q,e||[])).next())})};define(ne[3],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.load=e.create=e.setPseudoTranslation=e.getConfiguredDefaultLocale=e.localize=void 0;let L=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const k="i-default";function y(t,a){let u;return a.length===0?u=t:u=t.replace(/\{(\d+)\}/g,(h,r)=>{const c=r[0],o=a[c];let d=h;return typeof o=="string"?d=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(d=String(o)),d}),L&&(u="\uFF3B"+u.replace(/[aouei]/g,"$&$&")+"\uFF3D"),u}function D(t,a){let u=t[a];return u||(u=t["*"],u)?u:null}function S(t){return t.charAt(t.length-1)==="/"?t:t+"/"}function f(t,a,u){return we(this,void 0,void 0,function*(){const h=S(t)+S(a)+"vscode/"+S(u),r=yield fetch(h);if(r.ok)return yield r.json();throw new Error(`${r.status} - ${r.statusText}`)})}function _(t){return function(a,u){const h=Array.prototype.slice.call(arguments,2);return y(t[a],h)}}function g(t,a,...u){return y(a,u)}e.localize=g;function C(t){}e.getConfiguredDefaultLocale=C;function s(t){L=t}e.setPseudoTranslation=s;function i(t,a){var u;return{localize:_(a[t]),getConfiguredDefaultLocale:(u=a.getConfiguredDefaultLocale)!==null&&u!==void 0?u:h=>{}}}e.create=i;function n(t,a,u,h){var r;const c=(r=h["vs/nls"])!==null&&r!==void 0?r:{};if(!t||t.length===0)return u({localize:g,getConfiguredDefaultLocale:()=>{var m;return(m=c.availableLanguages)===null||m===void 0?void 0:m["*"]}});const o=c.availableLanguages?D(c.availableLanguages,t):null,d=o===null||o===k;let l=".nls";d||(l=l+"."+o);const p=m=>{Array.isArray(m)?m.localize=_(m):m.localize=_(m[t]),m.getConfiguredDefaultLocale=()=>{var v;return(v=c.availableLanguages)===null||v===void 0?void 0:v["*"]},u(m)};typeof c.loadBundle=="function"?c.loadBundle(t,o,(m,v)=>{m?a([t+".nls"],p):p(v)}):c.translationServiceUrl&&!d?we(this,void 0,void 0,function*(){var m;try{const v=yield f(c.translationServiceUrl,o,t);return p(v)}catch(v){if(!o.includes("-"))return console.error(v),a([t+".nls"],p);try{const b=o.split("-")[0],w=yield f(c.translationServiceUrl,b,t);return(m=c.availableLanguages)!==null&&m!==void 0||(c.availableLanguages={}),c.availableLanguages["*"]=b,p(w)}catch(b){return console.error(b),a([t+".nls"],p)}}}):a([t+l],p,m=>{if(l===".nls"){console.error("Failed trying to load default language strings",m);return}console.error(`Failed to load message bundle for language ${o}. Falling back to the default language:`,m),a([t+".nls"],p)})}e.load=n});/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:Wt,setPrototypeOf:Vt,isFrozen:Yt,getPrototypeOf:Qt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:pt,seal:bt,create:Jt}=Object,{apply:At,construct:Rt}=typeof Reflect<"u"&&Reflect;At||(At=function(e,L,k){return e.apply(L,k)}),pt||(pt=function(e){return e}),bt||(bt=function(e){return e}),Rt||(Rt=function(e,L){return new e(...L)});const ei=Ct(Array.prototype.forEach),zt=Ct(Array.prototype.pop),It=Ct(Array.prototype.push),Tt=Ct(String.prototype.toLowerCase),Pt=Ct(String.prototype.toString),ti=Ct(String.prototype.match),_t=Ct(String.prototype.replace),ii=Ct(String.prototype.indexOf),ni=Ct(String.prototype.trim),vt=Ct(RegExp.prototype.test),kt=si(TypeError);function Ct(Q){return function(e){for(var L=arguments.length,k=new Array(L>1?L-1:0),y=1;y/gm),di=bt(/\${[\w\W]*}/gm),ci=bt(/^data-[\-\w.\u00B7-\uFFFF]/),ui=bt(/^aria-[\-\w]+$/),jt=bt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hi=bt(/^(?:\w+script|data):/i),gi=bt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$t=bt(/^html$/i);var Gt=Object.freeze({__proto__:null,MUSTACHE_EXPR:ai,ERB_EXPR:li,TMPLIT_EXPR:di,DATA_ATTR:ci,ARIA_ATTR:ui,IS_ALLOWED_URI:jt,IS_SCRIPT_OR_DATA:hi,ATTR_WHITESPACE:gi,DOCTYPE_NAME:$t});const fi=()=>typeof window>"u"?null:window,mi=function(e,L){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let k=null;const y="data-tt-policy-suffix";L&&L.hasAttribute(y)&&(k=L.getAttribute(y));const D="dompurify"+(k?"#"+k:"");try{return e.createPolicy(D,{createHTML(S){return S},createScriptURL(S){return S}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}};function Zt(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fi();const e=Be=>Zt(Be);if(e.version="3.0.5",e.removed=[],!Q||!Q.document||Q.document.nodeType!==9)return e.isSupported=!1,e;const L=Q.document,k=L.currentScript;let{document:y}=Q;const{DocumentFragment:D,HTMLTemplateElement:S,Node:f,Element:_,NodeFilter:g,NamedNodeMap:C=Q.NamedNodeMap||Q.MozNamedAttrMap,HTMLFormElement:s,DOMParser:i,trustedTypes:n}=Q,t=_.prototype,a=Nt(t,"cloneNode"),u=Nt(t,"nextSibling"),h=Nt(t,"childNodes"),r=Nt(t,"parentNode");if(typeof S=="function"){const Be=y.createElement("template");Be.content&&Be.content.ownerDocument&&(y=Be.content.ownerDocument)}let c,o="";const{implementation:d,createNodeIterator:l,createDocumentFragment:p,getElementsByTagName:m}=y,{importNode:v}=L;let b={};e.isSupported=typeof Wt=="function"&&typeof r=="function"&&d&&d.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:w,ERB_EXPR:E,TMPLIT_EXPR:I,DATA_ATTR:M,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:x,ATTR_WHITESPACE:T}=Gt;let{IS_ALLOWED_URI:A}=Gt,N=null;const F=Je({},[...Ht,...Ot,...Ft,...xt,...Ut]);let O=null;const W=Je({},[...Kt,...Bt,...qt,...Mt]);let U=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,R=null,K=!0,G=!0,Z=!1,J=!0,X=!1,H=!1,B=!1,V=!1,Y=!1,ie=!1,ae=!1,ce=!0,de=!1;const he="user-content-";let ue=!0,te=!1,q={},z=null;const ee=Je({},["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"]);let $=null;const re=Je({},["audio","video","img","source","image","track"]);let oe=null;const ge=Je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ve="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml";let De=Le,ye=!1,Ee=null;const Me=Je({},[ve,Se,Le],Pt);let Pe;const Fe=["application/xhtml+xml","text/html"],_e="text/html";let me,le=null;const pe=y.createElement("form"),Ce=function(Te){return Te instanceof RegExp||Te instanceof Function},be=function(Te){if(!(le&&le===Te)){if((!Te||typeof Te!="object")&&(Te={}),Te=Et(Te),Pe=Fe.indexOf(Te.PARSER_MEDIA_TYPE)===-1?Pe=_e:Pe=Te.PARSER_MEDIA_TYPE,me=Pe==="application/xhtml+xml"?Pt:Tt,N="ALLOWED_TAGS"in Te?Je({},Te.ALLOWED_TAGS,me):F,O="ALLOWED_ATTR"in Te?Je({},Te.ALLOWED_ATTR,me):W,Ee="ALLOWED_NAMESPACES"in Te?Je({},Te.ALLOWED_NAMESPACES,Pt):Me,oe="ADD_URI_SAFE_ATTR"in Te?Je(Et(ge),Te.ADD_URI_SAFE_ATTR,me):ge,$="ADD_DATA_URI_TAGS"in Te?Je(Et(re),Te.ADD_DATA_URI_TAGS,me):re,z="FORBID_CONTENTS"in Te?Je({},Te.FORBID_CONTENTS,me):ee,j="FORBID_TAGS"in Te?Je({},Te.FORBID_TAGS,me):{},R="FORBID_ATTR"in Te?Je({},Te.FORBID_ATTR,me):{},q="USE_PROFILES"in Te?Te.USE_PROFILES:!1,K=Te.ALLOW_ARIA_ATTR!==!1,G=Te.ALLOW_DATA_ATTR!==!1,Z=Te.ALLOW_UNKNOWN_PROTOCOLS||!1,J=Te.ALLOW_SELF_CLOSE_IN_ATTR!==!1,X=Te.SAFE_FOR_TEMPLATES||!1,H=Te.WHOLE_DOCUMENT||!1,Y=Te.RETURN_DOM||!1,ie=Te.RETURN_DOM_FRAGMENT||!1,ae=Te.RETURN_TRUSTED_TYPE||!1,V=Te.FORCE_BODY||!1,ce=Te.SANITIZE_DOM!==!1,de=Te.SANITIZE_NAMED_PROPS||!1,ue=Te.KEEP_CONTENT!==!1,te=Te.IN_PLACE||!1,A=Te.ALLOWED_URI_REGEXP||jt,De=Te.NAMESPACE||Le,U=Te.CUSTOM_ELEMENT_HANDLING||{},Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&typeof Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ie&&(Y=!0),q&&(N=Je({},[...Ut]),O=[],q.html===!0&&(Je(N,Ht),Je(O,Kt)),q.svg===!0&&(Je(N,Ot),Je(O,Bt),Je(O,Mt)),q.svgFilters===!0&&(Je(N,Ft),Je(O,Bt),Je(O,Mt)),q.mathMl===!0&&(Je(N,xt),Je(O,qt),Je(O,Mt))),Te.ADD_TAGS&&(N===F&&(N=Et(N)),Je(N,Te.ADD_TAGS,me)),Te.ADD_ATTR&&(O===W&&(O=Et(O)),Je(O,Te.ADD_ATTR,me)),Te.ADD_URI_SAFE_ATTR&&Je(oe,Te.ADD_URI_SAFE_ATTR,me),Te.FORBID_CONTENTS&&(z===ee&&(z=Et(z)),Je(z,Te.FORBID_CONTENTS,me)),ue&&(N["#text"]=!0),H&&Je(N,["html","head","body"]),N.table&&(Je(N,["tbody"]),delete j.tbody),Te.TRUSTED_TYPES_POLICY){if(typeof Te.TRUSTED_TYPES_POLICY.createHTML!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Te.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');c=Te.TRUSTED_TYPES_POLICY,o=c.createHTML("")}else c===void 0&&(c=mi(n,k)),c!==null&&typeof o=="string"&&(o=c.createHTML(""));pt&&pt(Te),le=Te}},Ie=Je({},["mi","mo","mn","ms","mtext"]),Ne=Je({},["foreignobject","desc","title","annotation-xml"]),Re=Je({},["title","style","font","a","script"]),Ve=Je({},Ot);Je(Ve,Ft),Je(Ve,oi);const ze=Je({},xt);Je(ze,ri);const We=function(Te){let xe=r(Te);(!xe||!xe.tagName)&&(xe={namespaceURI:De,tagName:"template"});const He=Tt(Te.tagName),Ye=Tt(xe.tagName);return Ee[Te.namespaceURI]?Te.namespaceURI===Se?xe.namespaceURI===Le?He==="svg":xe.namespaceURI===ve?He==="svg"&&(Ye==="annotation-xml"||Ie[Ye]):!!Ve[He]:Te.namespaceURI===ve?xe.namespaceURI===Le?He==="math":xe.namespaceURI===Se?He==="math"&&Ne[Ye]:!!ze[He]:Te.namespaceURI===Le?xe.namespaceURI===Se&&!Ne[Ye]||xe.namespaceURI===ve&&!Ie[Ye]?!1:!ze[He]&&(Re[He]||!Ve[He]):!!(Pe==="application/xhtml+xml"&&Ee[Te.namespaceURI]):!1},qe=function(Te){It(e.removed,{element:Te});try{Te.parentNode.removeChild(Te)}catch{Te.remove()}},Oe=function(Te,xe){try{It(e.removed,{attribute:xe.getAttributeNode(Te),from:xe})}catch{It(e.removed,{attribute:null,from:xe})}if(xe.removeAttribute(Te),Te==="is"&&!O[Te])if(Y||ie)try{qe(xe)}catch{}else try{xe.setAttribute(Te,"")}catch{}},Ge=function(Te){let xe,He;if(V)Te=""+Te;else{const Xe=ti(Te,/^[\r\n\t ]+/);He=Xe&&Xe[0]}Pe==="application/xhtml+xml"&&De===Le&&(Te=''+Te+"");const Ye=c?c.createHTML(Te):Te;if(De===Le)try{xe=new i().parseFromString(Ye,Pe)}catch{}if(!xe||!xe.documentElement){xe=d.createDocument(De,"template",null);try{xe.documentElement.innerHTML=ye?o:Ye}catch{}}const Ze=xe.body||xe.documentElement;return Te&&He&&Ze.insertBefore(y.createTextNode(He),Ze.childNodes[0]||null),De===Le?m.call(xe,H?"html":"body")[0]:H?xe.documentElement:Ze},Qe=function(Te){return l.call(Te.ownerDocument||Te,Te,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,null,!1)},st=function(Te){return Te instanceof s&&(typeof Te.nodeName!="string"||typeof Te.textContent!="string"||typeof Te.removeChild!="function"||!(Te.attributes instanceof C)||typeof Te.removeAttribute!="function"||typeof Te.setAttribute!="function"||typeof Te.namespaceURI!="string"||typeof Te.insertBefore!="function"||typeof Te.hasChildNodes!="function")},nt=function(Te){return typeof f=="object"?Te instanceof f:Te&&typeof Te=="object"&&typeof Te.nodeType=="number"&&typeof Te.nodeName=="string"},ot=function(Te,xe,He){b[Te]&&ei(b[Te],Ye=>{Ye.call(e,xe,He,le)})},ct=function(Te){let xe;if(ot("beforeSanitizeElements",Te,null),st(Te))return qe(Te),!0;const He=me(Te.nodeName);if(ot("uponSanitizeElement",Te,{tagName:He,allowedTags:N}),Te.hasChildNodes()&&!nt(Te.firstElementChild)&&(!nt(Te.content)||!nt(Te.content.firstElementChild))&&vt(/<[/\w]/g,Te.innerHTML)&&vt(/<[/\w]/g,Te.textContent))return qe(Te),!0;if(!N[He]||j[He]){if(!j[He]&>(He)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He)))return!1;if(ue&&!z[He]){const Ye=r(Te)||Te.parentNode,Ze=h(Te)||Te.childNodes;if(Ze&&Ye){const Xe=Ze.length;for(let je=Xe-1;je>=0;--je)Ye.insertBefore(a(Ze[je],!0),u(Te))}}return qe(Te),!0}return Te instanceof _&&!We(Te)||(He==="noscript"||He==="noembed"||He==="noframes")&&vt(/<\/no(script|embed|frames)/i,Te.innerHTML)?(qe(Te),!0):(X&&Te.nodeType===3&&(xe=Te.textContent,xe=_t(xe,w," "),xe=_t(xe,E," "),xe=_t(xe,I," "),Te.textContent!==xe&&(It(e.removed,{element:Te.cloneNode()}),Te.textContent=xe)),ot("afterSanitizeElements",Te,null),!1)},lt=function(Te,xe,He){if(ce&&(xe==="id"||xe==="name")&&(He in y||He in pe))return!1;if(!(G&&!R[xe]&&vt(M,xe))){if(!(K&&vt(P,xe))){if(!O[xe]||R[xe]){if(!(gt(Te)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,Te)||U.tagNameCheck instanceof Function&&U.tagNameCheck(Te))&&(U.attributeNameCheck instanceof RegExp&&vt(U.attributeNameCheck,xe)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(xe))||xe==="is"&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He))))return!1}else if(!oe[xe]){if(!vt(A,_t(He,T,""))){if(!((xe==="src"||xe==="xlink:href"||xe==="href")&&Te!=="script"&&ii(He,"data:")===0&&$[Te])){if(!(Z&&!vt(x,_t(He,T,"")))){if(He)return!1}}}}}}return!0},gt=function(Te){return Te.indexOf("-")>0},at=function(Te){let xe,He,Ye,Ze;ot("beforeSanitizeAttributes",Te,null);const{attributes:Xe}=Te;if(!Xe)return;const je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O};for(Ze=Xe.length;Ze--;){xe=Xe[Ze];const{name:Ae,namespaceURI:Ue}=xe;if(He=Ae==="value"?xe.value:ni(xe.value),Ye=me(Ae),je.attrName=Ye,je.attrValue=He,je.keepAttr=!0,je.forceKeepAttr=void 0,ot("uponSanitizeAttribute",Te,je),He=je.attrValue,je.forceKeepAttr||(Oe(Ae,Te),!je.keepAttr))continue;if(!J&&vt(/\/>/i,He)){Oe(Ae,Te);continue}X&&(He=_t(He,w," "),He=_t(He,E," "),He=_t(He,I," "));const Ke=me(Te.nodeName);if(lt(Ke,Ye,He)){if(de&&(Ye==="id"||Ye==="name")&&(Oe(Ae,Te),He=he+He),c&&typeof n=="object"&&typeof n.getAttributeType=="function"&&!Ue)switch(n.getAttributeType(Ke,Ye)){case"TrustedHTML":{He=c.createHTML(He);break}case"TrustedScriptURL":{He=c.createScriptURL(He);break}}try{Ue?Te.setAttributeNS(Ue,Ae,He):Te.setAttribute(Ae,He),zt(e.removed)}catch{}}}ot("afterSanitizeAttributes",Te,null)},ht=function Be(Te){let xe;const He=Qe(Te);for(ot("beforeSanitizeShadowDOM",Te,null);xe=He.nextNode();)ot("uponSanitizeShadowNode",xe,null),!ct(xe)&&(xe.content instanceof D&&Be(xe.content),at(xe));ot("afterSanitizeShadowDOM",Te,null)};return e.sanitize=function(Be){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe,He,Ye,Ze;if(ye=!Be,ye&&(Be=""),typeof Be!="string"&&!nt(Be))if(typeof Be.toString=="function"){if(Be=Be.toString(),typeof Be!="string")throw kt("dirty is not a string, aborting")}else throw kt("toString is not a function");if(!e.isSupported)return Be;if(B||be(Te),e.removed=[],typeof Be=="string"&&(te=!1),te){if(Be.nodeName){const Ae=me(Be.nodeName);if(!N[Ae]||j[Ae])throw kt("root node is forbidden and cannot be sanitized in-place")}}else if(Be instanceof f)xe=Ge(""),He=xe.ownerDocument.importNode(Be,!0),He.nodeType===1&&He.nodeName==="BODY"||He.nodeName==="HTML"?xe=He:xe.appendChild(He);else{if(!Y&&!X&&!H&&Be.indexOf("<")===-1)return c&&ae?c.createHTML(Be):Be;if(xe=Ge(Be),!xe)return Y?null:ae?o:""}xe&&V&&qe(xe.firstChild);const Xe=Qe(te?Be:xe);for(;Ye=Xe.nextNode();)ct(Ye)||(Ye.content instanceof D&&ht(Ye.content),at(Ye));if(te)return Be;if(Y){if(ie)for(Ze=p.call(xe.ownerDocument);xe.firstChild;)Ze.appendChild(xe.firstChild);else Ze=xe;return(O.shadowroot||O.shadowrootmode)&&(Ze=v.call(L,Ze,!0)),Ze}let je=H?xe.outerHTML:xe.innerHTML;return H&&N["!doctype"]&&xe.ownerDocument&&xe.ownerDocument.doctype&&xe.ownerDocument.doctype.name&&vt($t,xe.ownerDocument.doctype.name)&&(je=" -`+je),X&&(je=_t(je,w," "),je=_t(je,E," "),je=_t(je,I," ")),c&&ae?c.createHTML(je):je},e.setConfig=function(Be){be(Be),B=!0},e.clearConfig=function(){le=null,B=!1},e.isValidAttribute=function(Be,Te,xe){le||be({});const He=me(Be),Ye=me(Te);return lt(He,Ye,xe)},e.addHook=function(Be,Te){typeof Te=="function"&&(b[Be]=b[Be]||[],It(b[Be],Te))},e.removeHook=function(Be){if(b[Be])return zt(b[Be])},e.removeHooks=function(Be){b[Be]&&(b[Be]=[])},e.removeAllHooks=function(){b={}},e}var pi=Zt();define("vs/base/browser/dompurify/dompurify",function(){return pi}),define(ne[35],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class L{constructor(S){this.domNode=S,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(S){const f=k(S);this._maxWidth!==f&&(this._maxWidth=f,this.domNode.style.maxWidth=this._maxWidth)}setWidth(S){const f=k(S);this._width!==f&&(this._width=f,this.domNode.style.width=this._width)}setHeight(S){const f=k(S);this._height!==f&&(this._height=f,this.domNode.style.height=this._height)}setTop(S){const f=k(S);this._top!==f&&(this._top=f,this.domNode.style.top=this._top)}setLeft(S){const f=k(S);this._left!==f&&(this._left=f,this.domNode.style.left=this._left)}setBottom(S){const f=k(S);this._bottom!==f&&(this._bottom=f,this.domNode.style.bottom=this._bottom)}setRight(S){const f=k(S);this._right!==f&&(this._right=f,this.domNode.style.right=this._right)}setPaddingLeft(S){const f=k(S);this._paddingLeft!==f&&(this._paddingLeft=f,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(S){this._fontFamily!==S&&(this._fontFamily=S,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(S){this._fontWeight!==S&&(this._fontWeight=S,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(S){const f=k(S);this._fontSize!==f&&(this._fontSize=f,this.domNode.style.fontSize=this._fontSize)}setFontStyle(S){this._fontStyle!==S&&(this._fontStyle=S,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(S){this._fontFeatureSettings!==S&&(this._fontFeatureSettings=S,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(S){this._fontVariationSettings!==S&&(this._fontVariationSettings=S,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(S){this._textDecoration!==S&&(this._textDecoration=S,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(S){const f=k(S);this._lineHeight!==f&&(this._lineHeight=f,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(S){const f=k(S);this._letterSpacing!==f&&(this._letterSpacing=f,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(S){this._className!==S&&(this._className=S,this.domNode.className=this._className)}toggleClassName(S,f){this.domNode.classList.toggle(S,f),this._className=this.domNode.className}setDisplay(S){this._display!==S&&(this._display=S,this.domNode.style.display=this._display)}setPosition(S){this._position!==S&&(this._position=S,this.domNode.style.position=this._position)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this.domNode.style.visibility=this._visibility)}setColor(S){this._color!==S&&(this._color=S,this.domNode.style.color=this._color)}setBackgroundColor(S){this._backgroundColor!==S&&(this._backgroundColor=S,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(S){this._layerHint!==S&&(this._layerHint=S,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(S){this._boxShadow!==S&&(this._boxShadow=S,this.domNode.style.boxShadow=S)}setContain(S){this._contain!==S&&(this._contain=S,this.domNode.style.contain=this._contain)}setAttribute(S,f){this.domNode.setAttribute(S,f)}removeAttribute(S){this.domNode.removeAttribute(S)}appendChild(S){this.domNode.appendChild(S.domNode)}removeChild(S){this.domNode.removeChild(S.domNode)}}e.FastDomNode=L;function k(D){return typeof D=="number"?`${D}px`:D}function y(D){return new L(D)}e.createFastDomNode=y}),define(ne[380],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let L=!1,k=null;function y(S){if(!S.parent||S.parent===S)return null;try{const f=S.location,_=S.parent.location;if(f.origin!=="null"&&_.origin!=="null"&&f.origin!==_.origin)return L=!0,null}catch{return L=!0,null}return S.parent}class D{static getSameOriginWindowChain(){if(!k){k=[];let f=window,_;do _=y(f),_?k.push({window:f,iframeElement:f.frameElement||null}):k.push({window:f,iframeElement:null}),f=_;while(f)}return k.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(f,_){if(!_||f===_)return{top:0,left:0};let g=0,C=0;const s=this.getSameOriginWindowChain();for(const i of s){if(g+=i.window.scrollY,C+=i.window.scrollX,i.window===_||!i.iframeElement)break;const n=i.iframeElement.getBoundingClientRect();g+=n.top,C+=n.left}return{top:g,left:C}}}e.IframeUtils=D}),define(ne[260],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inputLatency=void 0;var L;(function(k){const y={total:0,min:Number.MAX_VALUE,max:0},D=Object.assign({},y),S=Object.assign({},y),f=Object.assign({},y);let _=0;const g={keydown:0,input:0,render:0};function C(){o(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),g.keydown=1,queueMicrotask(s)}k.onKeyDown=C;function s(){g.keydown===1&&(performance.mark("keydown/end"),g.keydown=2)}function i(){performance.mark("input/start"),g.input=1,c()}k.onBeforeInput=i;function n(){g.input===0&&i(),queueMicrotask(t)}k.onInput=n;function t(){g.input===1&&(performance.mark("input/end"),g.input=2)}function a(){o()}k.onKeyUp=a;function u(){o()}k.onSelectionChange=u;function h(){g.keydown===2&&g.input===2&&g.render===0&&(performance.mark("render/start"),g.render=1,queueMicrotask(r),c())}k.onRenderStart=h;function r(){g.render===1&&(performance.mark("render/end"),g.render=2)}function c(){setTimeout(o)}function o(){g.keydown===2&&g.input===2&&g.render===2&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),d("keydown",y),d("input",D),d("render",S),d("inputlatency",f),_++,l())}function d(b,w){const E=performance.getEntriesByName(b)[0].duration;w.total+=E,w.min=Math.min(w.min,E),w.max=Math.max(w.max,E)}function l(){performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),g.keydown=0,g.input=0,g.render=0}function p(){if(_===0)return;const b={keydown:m(y),input:m(D),render:m(S),total:m(f),sampleCount:_};return v(y),v(D),v(S),v(f),_=0,b}k.getAndClearMeasurements=p;function m(b){return{average:b.total/_,max:b.max,min:b.min}}function v(b){b.total=0,b.min=Number.MAX_VALUE,b.max=0}})(L||(e.inputLatency=L={}))}),define(ne[381],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class L extends Error{constructor(y,D){super(`ListError [${y}] ${D}`)}}e.ListError=L}),define(ne[382],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class L{constructor(y){this.spliceables=y}splice(y,D,S){this.spliceables.forEach(f=>f.splice(y,D,S))}}e.CombinedSpliceable=L}),define(ne[195],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const L=20;class k{constructor(D,S,f,_,g,C){this._scrollbarSize=Math.round(S),this._oppositeScrollbarSize=Math.round(f),this._arrowSize=Math.round(D),this._visibleSize=_,this._scrollSize=g,this._scrollPosition=C,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new k(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(D){const S=Math.round(D);return this._visibleSize!==S?(this._visibleSize=S,this._refreshComputedValues(),!0):!1}setScrollSize(D){const S=Math.round(D);return this._scrollSize!==S?(this._scrollSize=S,this._refreshComputedValues(),!0):!1}setScrollPosition(D){const S=Math.round(D);return this._scrollPosition!==S?(this._scrollPosition=S,this._refreshComputedValues(),!0):!1}setScrollbarSize(D){this._scrollbarSize=Math.round(D)}setOppositeScrollbarSize(D){this._oppositeScrollbarSize=Math.round(D)}static _computeValues(D,S,f,_,g){const C=Math.max(0,f-D),s=Math.max(0,C-2*S),i=_>0&&_>f;if(!i)return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const n=Math.round(Math.max(L,Math.floor(f*s/_))),t=(s-n)/(_-f),a=g*t;return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(n),computedSliderRatio:t,computedSliderPosition:Math.round(a)}}_refreshComputedValues(){const D=k._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=D.computedAvailableSize,this._computedIsNeeded=D.computedIsNeeded,this._computedSliderSize=D.computedSliderSize,this._computedSliderRatio=D.computedSliderRatio,this._computedSliderPosition=D.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(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize-this._computedSliderSize/2;return Math.round(S/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize;let f=this._scrollPosition;return SZ===J){if(R===K)return!0;if(!R||!K||R.length!==K.length)return!1;for(let Z=0,J=R.length;ZG(R[Z],K))}e.binarySearch=S;function f(R,K){let G=0,Z=R-1;for(;G<=Z;){const J=(G+Z)/2|0,X=K(J);if(X<0)G=J+1;else if(X>0)Z=J-1;else return J}return-(G+1)}e.binarySearch2=f;function _(R,K){let G=0,Z=R.length;if(Z===0)return 0;for(;G=K.length)throw new TypeError("invalid index");const Z=K[Math.floor(K.length*Math.random())],J=[],X=[],H=[];for(const B of K){const V=G(B,Z);V<0?J.push(B):V>0?X.push(B):H.push(B)}return R!!K)}e.coalesce=s;function i(R){let K=0;for(let G=0;G0}e.isNonEmptyArray=t;function a(R,K=G=>G){const G=new Set;return R.filter(Z=>{const J=K(Z);return G.has(J)?!1:(G.add(J),!0)})}e.distinct=a;function u(R,K){const G=h(R,K);if(G!==-1)return R[G]}e.findLast=u;function h(R,K){for(let G=R.length-1;G>=0;G--){const Z=R[G];if(K(Z))return G}return-1}e.findLastIndex=h;function r(R,K){return R.length>0?R[0]:K}e.firstOrDefault=r;function c(R,K){let G=typeof K=="number"?R:0;typeof K=="number"?G=R:(G=0,K=R);const Z=[];if(G<=K)for(let J=G;JK;J--)Z.push(J);return Z}e.range=c;function o(R,K,G){const Z=R.slice(0,K),J=R.slice(K);return Z.concat(G,J)}e.arrayInsert=o;function d(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.unshift(K))}e.pushToStart=d;function l(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.push(K))}e.pushToEnd=l;function p(R,K){for(const G of K)R.push(G)}e.pushMany=p;function m(R){return Array.isArray(R)?R:[R]}e.asArray=m;function v(R,K){for(const G of R){const Z=K(G);if(Z!==void 0)return Z}}e.mapFind=v;function b(R,K,G){const Z=E(R,K),J=R.length,X=G.length;R.length=J+X;for(let H=J-1;H>=Z;H--)R[H+X]=R[H];for(let H=0;H0}R.isGreaterThan=Z;function J(X){return X===0}R.isNeitherLessOrGreaterThan=J,R.greaterThan=1,R.lessThan=-1,R.neitherLessOrGreaterThan=0})(I||(e.CompareResult=I={}));function M(R,K){return(G,Z)=>K(R(G),R(Z))}e.compareBy=M;function P(...R){return(K,G)=>{for(const Z of R){const J=Z(K,G);if(!I.isNeitherLessOrGreaterThan(J))return J}return I.neitherLessOrGreaterThan}}e.tieBreakComparators=P;const x=(R,K)=>R-K;e.numberComparator=x;const T=(R,K)=>(0,e.numberComparator)(R?1:0,K?1:0);e.booleanComparator=T;function A(R){return(K,G)=>-R(K,G)}e.reverseOrder=A;function N(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z0&&(G=J)}return G}e.findMaxBy=N;function F(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z=0&&(G=J)}return G}e.findLastMaxBy=F;function O(R,K){return N(R,(G,Z)=>-K(G,Z))}e.findMinBy=O;function W(R,K){if(R.length===0)return-1;let G=0;for(let Z=1;Z0&&(G=Z)}return G}e.findMaxIdxBy=W;class U{constructor(K){this.items=K,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(K){let G=this.firstIdx;for(;G=0&&K(this.items[G]);)G--;const Z=G===this.lastIdx?null:this.items.slice(G+1,this.lastIdx+1);return this.lastIdx=G,Z}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const K=this.items[this.firstIdx];return this.firstIdx++,K}takeCount(K){const G=this.items.slice(this.firstIdx,this.firstIdx+K);return this.firstIdx+=K,G}}e.ArrayQueue=U;class j{constructor(K){this.iterate=K}toArray(){const K=[];return this.iterate(G=>(K.push(G),!0)),K}filter(K){return new j(G=>this.iterate(Z=>K(Z)?G(Z):!0))}map(K){return new j(G=>this.iterate(Z=>G(K(Z))))}findLast(K){let G;return this.iterate(Z=>(K(Z)&&(G=Z),!0)),G}findLastMaxBy(K){let G,Z=!0;return this.iterate(J=>((Z||I.isGreaterThan(K(J,G)))&&(Z=!1,G=J),!0)),G}}e.CallbackIterable=j,j.empty=new j(R=>{})}),define(ne[261],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=void 0;class L{constructor(D){this.fn=D,this.lastCache=void 0,this.lastArgKey=void 0}get(D){const S=JSON.stringify(D);return this.lastArgKey!==S&&(this.lastArgKey=S,this.lastCache=this.fn(D)),this.lastCache}}e.LRUCachedFunction=L;class k{get cachedValues(){return this._map}constructor(D){this.fn=D,this._map=new Map}get(D){if(this._map.has(D))return this._map.get(D);const S=this.fn(D);return this._map.set(D,S),S}}e.CachedFunction=k}),define(ne[196],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetMap=void 0;class L{constructor(){this.map=new Map}add(y,D){let S=this.map.get(y);S||(S=new Set,this.map.set(y,S)),S.add(D)}delete(y,D){const S=this.map.get(y);S&&(S.delete(D),S.size===0&&this.map.delete(y))}forEach(y,D){const S=this.map.get(y);S&&S.forEach(D)}get(y){const D=this.map.get(y);return D||new Set}}e.SetMap=L}),define(ne[38],se([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(f,_){const g=Math.pow(10,_);return Math.round(f*g)/g}class k{constructor(_,g,C,s=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,_))|0,this.g=Math.min(255,Math.max(0,g))|0,this.b=Math.min(255,Math.max(0,C))|0,this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.r===g.r&&_.g===g.g&&_.b===g.b&&_.a===g.a}}e.RGBA=k;class y{constructor(_,g,C,s){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.l=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.l===g.l&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=_.a,n=Math.max(g,C,s),t=Math.min(g,C,s);let a=0,u=0;const h=(t+n)/2,r=n-t;if(r>0){switch(u=Math.min(h<=.5?r/(2*h):r/(2-2*h),1),n){case g:a=(C-s)/r+(C1&&(C-=1),C<1/6?_+(g-_)*6*C:C<1/2?g:C<2/3?_+(g-_)*(2/3-C)*6:_}static toRGBA(_){const g=_.h/360,{s:C,l:s,a:i}=_;let n,t,a;if(C===0)n=t=a=s;else{const u=s<.5?s*(1+C):s+C-s*C,h=2*s-u;n=y._hue2rgb(h,u,g+1/3),t=y._hue2rgb(h,u,g),a=y._hue2rgb(h,u,g-1/3)}return new k(Math.round(n*255),Math.round(t*255),Math.round(a*255),i)}}e.HSLA=y;class D{constructor(_,g,C,s){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.v=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.v===g.v&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=Math.max(g,C,s),n=Math.min(g,C,s),t=i-n,a=i===0?0:t/i;let u;return t===0?u=0:i===g?u=((C-s)/t%6+6)%6:i===C?u=(s-g)/t+2:u=(g-C)/t+4,new D(Math.round(u*60),a,i,_.a)}static toRGBA(_){const{h:g,s:C,v:s,a:i}=_,n=s*C,t=n*(1-Math.abs(g/60%2-1)),a=s-n;let[u,h,r]=[0,0,0];return g<60?(u=n,h=t):g<120?(u=t,h=n):g<180?(h=n,r=t):g<240?(h=t,r=n):g<300?(u=t,r=n):g<=360&&(u=n,r=t),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r=Math.round((r+a)*255),new k(u,h,r,i)}}e.HSVA=D;class S{static fromHex(_){return S.Format.CSS.parseHex(_)||S.red}static equals(_,g){return!_&&!g?!0:!_||!g?!1:_.equals(g)}get hsla(){return this._hsla?this._hsla:y.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:D.fromRGBA(this.rgba)}constructor(_){if(_)if(_ instanceof k)this.rgba=_;else if(_ instanceof y)this._hsla=_,this.rgba=y.toRGBA(_);else if(_ instanceof D)this._hsva=_,this.rgba=D.toRGBA(_);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(_){return!!_&&k.equals(this.rgba,_.rgba)&&y.equals(this.hsla,_.hsla)&&D.equals(this.hsva,_.hsva)}getRelativeLuminance(){const _=S._relativeLuminanceForComponent(this.rgba.r),g=S._relativeLuminanceForComponent(this.rgba.g),C=S._relativeLuminanceForComponent(this.rgba.b),s=.2126*_+.7152*g+.0722*C;return L(s,4)}static _relativeLuminanceForComponent(_){const g=_/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g>C}isDarkerThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g{throw u.stack?n.isErrorNoTelemetry(u)?new n(u.message+` - -`+u.stack):new Error(u.message+` - -`+u.stack):u},0)}}emit(u){this.listeners.forEach(h=>{h(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}e.ErrorHandler=L,e.errorHandler=new L;function k(a){f(a)||e.errorHandler.onUnexpectedError(a)}e.onUnexpectedError=k;function y(a){f(a)||e.errorHandler.onUnexpectedExternalError(a)}e.onUnexpectedExternalError=y;function D(a){if(a instanceof Error){const{name:u,message:h}=a,r=a.stacktrace||a.stack;return{$isError:!0,name:u,message:h,stack:r,noTelemetry:n.isErrorNoTelemetry(a)}}return a}e.transformErrorForSerialization=D;const S="Canceled";function f(a){return a instanceof _?!0:a instanceof Error&&a.name===S&&a.message===S}e.isCancellationError=f;class _ extends Error{constructor(){super(S),this.name=this.message}}e.CancellationError=_;function g(){const a=new Error(S);return a.name=a.message,a}e.canceled=g;function C(a){return a?new Error(`Illegal argument: ${a}`):new Error("Illegal argument")}e.illegalArgument=C;function s(a){return a?new Error(`Illegal state: ${a}`):new Error("Illegal state")}e.illegalState=s;class i extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}e.NotSupportedError=i;class n extends Error{constructor(u){super(u),this.name="CodeExpectedError"}static fromError(u){if(u instanceof n)return u;const h=new n;return h.message=u.message,h.stack=u.stack,h}static isErrorNoTelemetry(u){return u.name==="CodeExpectedError"}}e.ErrorNoTelemetry=n;class t extends Error{constructor(u){super(u||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}}e.BugIndicatingError=t}),define(ne[89],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTrustedTypesPolicy=void 0;function k(y,D){var S;const f=globalThis.MonacoEnvironment;if(f?.createTrustedTypesPolicy)try{return f.createTrustedTypesPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}try{return(S=window.trustedTypes)===null||S===void 0?void 0:S.createPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}}e.createTrustedTypesPolicy=k}),define(ne[85],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkAdjacentItems=e.assertFn=e.assertNever=e.ok=void 0;function k(f,_){if(!f)throw new Error(_?`Assertion failed (${_})`:"Assertion Failed")}e.ok=k;function y(f,_="Unreachable"){throw new Error(_)}e.assertNever=y;function D(f){if(!f()){debugger;f(),(0,L.onUnexpectedError)(new L.BugIndicatingError("Assertion Failed"))}}e.assertFn=D;function S(f,_){let g=0;for(;go.length&&(l=o.length);d=98&&r<=113)return null;switch(r){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return k.keyCodeToStr(r)}s.toElectronAccelerator=h})(g||(e.KeyCodeUtils=g={}));function C(s,i){const n=(i&65535)<<16>>>0;return(s|n)>>>0}e.KeyChord=C}),define(ne[119],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedChord=e.Keybinding=e.ScanCodeChord=e.KeyCodeChord=e.createSimpleKeybinding=e.decodeKeybinding=void 0;function k(C,s){if(typeof C=="number"){if(C===0)return null;const i=(C&65535)>>>0,n=(C&4294901760)>>>16;return n!==0?new f([y(i,s),y(n,s)]):new f([y(i,s)])}else{const i=[];for(let n=0;nnew Uint8Array(256));let D;class S{static wrap(t){return k&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new S(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return k?this.buffer.toString():(D||(D=new TextDecoder),D.decode(this.buffer))}}e.VSBuffer=S;function f(n,t){return n[t+0]<<0>>>0|n[t+1]<<8>>>0}e.readUInt16LE=f;function _(n,t,a){n[a+0]=t&255,t=t>>>8,n[a+1]=t&255}e.writeUInt16LE=_;function g(n,t){return n[t]*Math.pow(2,24)+n[t+1]*Math.pow(2,16)+n[t+2]*Math.pow(2,8)+n[t+3]}e.readUInt32BE=g;function C(n,t,a){n[a+3]=t,t=t>>>8,n[a+2]=t,t=t>>>8,n[a+1]=t,t=t>>>8,n[a]=t}e.writeUInt32BE=C;function s(n,t){return n[t]}e.readUInt8=s;function i(n,t,a){n[a]=t}e.writeUInt8=i}),define(ne[384],se([1,0,100]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareByPrefix=e.compareAnything=e.compareFileNames=void 0;const k=new L.Lazy(()=>{const g=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:g,collatorIsNumeric:g.resolvedOptions().numeric}}),y=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0})})),D=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})}));function S(g,C,s=!1){const i=g||"",n=C||"",t=k.value.collator.compare(i,n);return k.value.collatorIsNumeric&&t===0&&i!==n?in.length)return 1}return 0}e.compareByPrefix=_}),define(ne[2],se([1,0,99,46]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.ImmortalReference=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.setDisposableTracker=void 0;const y=!1;let D=null;function S(l){D=l}if(e.setDisposableTracker=S,y){const l="__is_disposable_tracked__";S(new class{trackDisposable(p){const m=new Error("Potentially leaked disposable").stack;setTimeout(()=>{p[l]||console.log(m)},3e3)}setParent(p,m){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsDisposed(p){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsSingleton(p){}})}function f(l){return D?.trackDisposable(l),l}function _(l){D?.markAsDisposed(l)}function g(l,p){D?.setParent(l,p)}function C(l,p){if(D)for(const m of l)D.setParent(m,p)}function s(l){return D?.markAsSingleton(l),l}e.markAsSingleton=s;function i(l){return typeof l.dispose=="function"&&l.dispose.length===0}e.isDisposable=i;function n(l){if(k.Iterable.is(l)){const p=[];for(const m of l)if(m)try{m.dispose()}catch(v){p.push(v)}if(p.length===1)throw p[0];if(p.length>1)throw new AggregateError(p,"Encountered errors while disposing of store");return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}e.dispose=n;function t(...l){const p=a(()=>n(l));return C(l,p),p}e.combinedDisposable=t;function a(l){const p=f({dispose:(0,L.once)(()=>{_(p),l()})});return p}e.toDisposable=a;class u{constructor(){this._toDispose=new Set,this._isDisposed=!1,f(this)}dispose(){this._isDisposed||(_(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{n(this._toDispose)}finally{this._toDispose.clear()}}add(p){if(!p)return p;if(p===this)throw new Error("Cannot register a disposable on itself!");return g(p,this),this._isDisposed?u.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(p),p}}e.DisposableStore=u,u.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new u,f(this),g(this._store,this)}dispose(){_(this),this._store.dispose()}_register(p){if(p===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(p)}}e.Disposable=h,h.None=Object.freeze({dispose(){}});class r{constructor(){this._isDisposed=!1,f(this)}get value(){return this._isDisposed?void 0:this._value}set value(p){var m;this._isDisposed||p===this._value||((m=this._value)===null||m===void 0||m.dispose(),p&&g(p,this),this._value=p)}clear(){this.value=void 0}dispose(){var p;this._isDisposed=!0,_(this),(p=this._value)===null||p===void 0||p.dispose(),this._value=void 0}}e.MutableDisposable=r;class c{constructor(p){this._disposable=p,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=c;class o{constructor(p){this.object=p}dispose(){}}e.ImmortalReference=o;class d{constructor(){this._store=new Map,this._isDisposed=!1,f(this)}dispose(){_(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{n(this._store.values())}finally{this._store.clear()}}get(p){return this._store.get(p)}set(p,m,v=!1){var b;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),v||(b=this._store.get(p))===null||b===void 0||b.dispose(),this._store.set(p,m)}deleteAndDispose(p){var m;(m=this._store.get(p))===null||m===void 0||m.dispose(),this._store.delete(p)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=d}),define(ne[64],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class L{constructor(D){this.element=D,this.next=L.Undefined,this.prev=L.Undefined}}L.Undefined=new L(void 0);class k{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 D=this._first;for(;D!==L.Undefined;){const S=D.next;D.prev=L.Undefined,D.next=L.Undefined,D=S}this._first=L.Undefined,this._last=L.Undefined,this._size=0}unshift(D){return this._insert(D,!1)}push(D){return this._insert(D,!0)}_insert(D,S){const f=new L(D);if(this._first===L.Undefined)this._first=f,this._last=f;else if(S){const g=this._last;this._last=f,f.prev=g,g.next=f}else{const g=this._first;this._first=f,f.next=g,g.prev=f}this._size+=1;let _=!1;return()=>{_||(_=!0,this._remove(f))}}shift(){if(this._first!==L.Undefined){const D=this._first.element;return this._remove(this._first),D}}pop(){if(this._last!==L.Undefined){const D=this._last.element;return this._remove(this._last),D}}_remove(D){if(D.prev!==L.Undefined&&D.next!==L.Undefined){const S=D.prev;S.next=D.next,D.next.prev=S}else D.prev===L.Undefined&&D.next===L.Undefined?(this._first=L.Undefined,this._last=L.Undefined):D.next===L.Undefined?(this._last=this._last.prev,this._last.next=L.Undefined):D.prev===L.Undefined&&(this._first=this._first.next,this._first.prev=L.Undefined);this._size-=1}*[Symbol.iterator](){let D=this._first;for(;D!==L.Undefined;)yield D.element,D=D.next}}e.LinkedList=k});var ke=this&&this.__decorate||function(Q,e,L,k){var y=arguments.length,D=y<3?e:k===null?k=Object.getOwnPropertyDescriptor(e,L):k,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(Q,e,L,k);else for(var f=Q.length-1;f>=0;f--)(S=Q[f])&&(D=(y<3?S(D):y>3?S(e,L,D):S(e,L))||D);return y>3&&D&&Object.defineProperty(e,L,D),D};define(ne[385],se([1,0,106]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLinkedText=e.LinkedText=void 0;class k{constructor(f){this.nodes=f}toString(){return this.nodes.map(f=>typeof f=="string"?f:f.label).join("")}}e.LinkedText=k,ke([L.memoize],k.prototype,"toString",null);const y=/\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi;function D(S){const f=[];let _=0,g;for(;g=y.exec(S);){g.index-_>0&&f.push(S.substring(_,g.index));const[,C,s,,i]=g;i?f.push({label:C,href:s,title:i}):f.push({label:C,href:s}),_=g.index+g[0].length}return __.toString();class S{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 g;return(g=this._head)===null||g===void 0?void 0:g.value}get last(){var g;return(g=this._tail)===null||g===void 0?void 0:g.value}has(g){return this._map.has(g)}get(g,C=0){const s=this._map.get(g);if(s)return C!==0&&this.touch(s,C),s.value}set(g,C,s=0){let i=this._map.get(g);if(i)i.value=C,s!==0&&this.touch(i,s);else{switch(i={key:g,value:C,next:void 0,previous:void 0},s){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(g,i),this._size++}return this}delete(g){return!!this.remove(g)}remove(g){const C=this._map.get(g);if(C)return this._map.delete(g),this.removeItem(C),this._size--,C.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const g=this._head;return this._map.delete(g.key),this.removeItem(g),this._size--,g.value}forEach(g,C){const s=this._state;let i=this._head;for(;i;){if(C?g.bind(C)(i.value,i.key,this):g(i.value,i.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.key,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}values(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.value,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}entries(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:[s.key,s.value],done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}[(k=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(g){if(g>=this.size)return;if(g===0){this.clear();return}let C=this._head,s=this.size;for(;C&&s>g;)this._map.delete(C.key),C=C.next,s--;this._head=C,this._size=s,C&&(C.previous=void 0),this._state++}addItemFirst(g){if(!this._head&&!this._tail)this._tail=g;else if(this._head)g.next=this._head,this._head.previous=g;else throw new Error("Invalid list");this._head=g,this._state++}addItemLast(g){if(!this._head&&!this._tail)this._head=g;else if(this._tail)g.previous=this._tail,this._tail.next=g;else throw new Error("Invalid list");this._tail=g,this._state++}removeItem(g){if(g===this._head&&g===this._tail)this._head=void 0,this._tail=void 0;else if(g===this._head){if(!g.next)throw new Error("Invalid list");g.next.previous=void 0,this._head=g.next}else if(g===this._tail){if(!g.previous)throw new Error("Invalid list");g.previous.next=void 0,this._tail=g.previous}else{const C=g.next,s=g.previous;if(!C||!s)throw new Error("Invalid list");C.previous=s,s.next=C}g.next=void 0,g.previous=void 0,this._state++}touch(g,C){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(C!==1&&C!==2)){if(C===1){if(g===this._head)return;const s=g.next,i=g.previous;g===this._tail?(i.next=void 0,this._tail=i):(s.previous=i,i.next=s),g.previous=void 0,g.next=this._head,this._head.previous=g,this._head=g,this._state++}else if(C===2){if(g===this._tail)return;const s=g.next,i=g.previous;g===this._head?(s.previous=void 0,this._head=s):(s.previous=i,i.next=s),g.next=void 0,g.previous=this._tail,this._tail.next=g,this._tail=g,this._state++}}}toJSON(){const g=[];return this.forEach((C,s)=>{g.push([s,C])}),g}fromJSON(g){this.clear();for(const[C,s]of g)this.set(C,s)}}e.LinkedMap=S;class f extends S{constructor(g,C=1){super(),this._limit=g,this._ratio=Math.min(Math.max(0,C),1)}get limit(){return this._limit}set limit(g){this._limit=g,this.checkTrim()}get(g,C=2){return super.get(g,C)}peek(g){return super.get(g,0)}set(g,C){return super.set(g,C,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=f}),function(Q,e){typeof define=="function"&&define.amd?define(ne[386],se([0]),e):typeof exports=="object"&&typeof module<"u"?e(exports):(Q=typeof globalThis<"u"?globalThis:Q||self,e(Q.marked={}))}(this,function(Q){"use strict";function e(he,ue){for(var te=0;tehe.length)&&(ue=he.length);for(var te=0,q=new Array(ue);te=he.length?{done:!0}:{done:!1,value:he[q++]}}}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 S(){return{async:!1,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=S();function f(he){Q.defaults=he}var _=/[&<>"']/,g=/[&<>"']/g,C=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"},n=function(ue){return i[ue]};function t(he,ue){if(ue){if(_.test(he))return he.replace(g,n)}else if(C.test(he))return he.replace(s,n);return he}var a=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(he){return he.replace(a,function(ue,te){return te=te.toLowerCase(),te==="colon"?":":te.charAt(0)==="#"?te.charAt(1)==="x"?String.fromCharCode(parseInt(te.substring(2),16)):String.fromCharCode(+te.substring(1)):""})}var h=/(^|[^\[])\^/g;function r(he,ue){he=typeof he=="string"?he:he.source,ue=ue||"";var te={replace:function(z,ee){return ee=ee.source||ee,ee=ee.replace(h,"$1"),he=he.replace(z,ee),te},getRegex:function(){return new RegExp(he,ue)}};return te}var c=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function d(he,ue,te){if(he){var q;try{q=decodeURIComponent(u(te)).replace(c,"").toLowerCase()}catch{return null}if(q.indexOf("javascript:")===0||q.indexOf("vbscript:")===0||q.indexOf("data:")===0)return null}ue&&!o.test(te)&&(te=b(ue,te));try{te=encodeURI(te).replace(/%25/g,"%")}catch{return null}return te}var l={},p=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(he,ue){l[" "+he]||(p.test(he)?l[" "+he]=he+"/":l[" "+he]=M(he,"/",!0)),he=l[" "+he];var te=he.indexOf(":")===-1;return ue.substring(0,2)==="//"?te?ue:he.replace(m,"$1")+ue:ue.charAt(0)==="/"?te?ue:he.replace(v,"$1")+ue:he+ue}var w={exec:function(){}};function E(he){for(var ue=1,te,q;ue=0&&re[ge]==="\\";)oe=!oe;return oe?"|":" |"}),q=te.split(/ \|/),z=0;if(q[0].trim()||q.shift(),q.length>0&&!q[q.length-1].trim()&&q.pop(),q.length>ue)q.splice(ue);else for(;q.length1;)ue&1&&(te+=he),ue>>=1,he+=he;return te+he}function A(he,ue,te,q){var z=ue.href,ee=ue.title?t(ue.title):null,$=he[1].replace(/\\([\[\]])/g,"$1");if(he[0].charAt(0)!=="!"){q.state.inLink=!0;var re={type:"link",raw:te,href:z,title:ee,text:$,tokens:q.inlineTokens($)};return q.state.inLink=!1,re}return{type:"image",raw:te,href:z,title:ee,text:t($)}}function N(he,ue){var te=he.match(/^(\s+)(?:```)/);if(te===null)return ue;var q=te[1];return ue.split(` -`).map(function(z){var ee=z.match(/^\s+/);if(ee===null)return z;var $=ee[0];return $.length>=q.length?z.slice(q.length):z}).join(` -`)}var F=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.space=function(q){var z=this.rules.block.newline.exec(q);if(z&&z[0].length>0)return{type:"space",raw:z[0]}},ue.code=function(q){var z=this.rules.block.code.exec(q);if(z){var ee=z[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:z[0],codeBlockStyle:"indented",text:this.options.pedantic?ee:M(ee,` -`)}}},ue.fences=function(q){var z=this.rules.block.fences.exec(q);if(z){var ee=z[0],$=N(ee,z[3]||"");return{type:"code",raw:ee,lang:z[2]?z[2].trim():z[2],text:$}}},ue.heading=function(q){var z=this.rules.block.heading.exec(q);if(z){var ee=z[2].trim();if(/#$/.test(ee)){var $=M(ee,"#");(this.options.pedantic||!$||/ $/.test($))&&(ee=$.trim())}return{type:"heading",raw:z[0],depth:z[1].length,text:ee,tokens:this.lexer.inline(ee)}}},ue.hr=function(q){var z=this.rules.block.hr.exec(q);if(z)return{type:"hr",raw:z[0]}},ue.blockquote=function(q){var z=this.rules.block.blockquote.exec(q);if(z){var ee=z[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:z[0],tokens:this.lexer.blockTokens(ee,[]),text:ee}}},ue.list=function(q){var z=this.rules.block.list.exec(q);if(z){var ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe=z[1].trim(),Fe=Pe.length>1,_e={type:"list",raw:"",ordered:Fe,start:Fe?+Pe.slice(0,-1):"",loose:!1,items:[]};Pe=Fe?"\\d{1,9}\\"+Pe.slice(-1):"\\"+Pe,this.options.pedantic&&(Pe=Fe?Pe:"[*+-]");for(var me=new RegExp("^( {0,3}"+Pe+")((?:[ ][^\\n]*)?(?:\\n|$))");q&&(Me=!1,!(!(z=me.exec(q))||this.rules.block.hr.test(q)));){if(ee=z[0],q=q.substring(ee.length),Le=z[2].split(` -`,1)[0],De=q.split(` -`,1)[0],this.options.pedantic?(oe=2,Ee=Le.trimLeft()):(oe=z[2].search(/[^ ]/),oe=oe>4?1:oe,Ee=Le.slice(oe),oe+=z[1].length),ve=!1,!Le&&/^ *$/.test(De)&&(ee+=De+` -`,q=q.substring(De.length+1),Me=!0),!Me)for(var le=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),pe=new RegExp("^ {0,"+Math.min(3,oe-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),Ce=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:```|~~~)"),be=new RegExp("^ {0,"+Math.min(3,oe-1)+"}#");q&&(ye=q.split(` -`,1)[0],Le=ye,this.options.pedantic&&(Le=Le.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Ce.test(Le)||be.test(Le)||le.test(Le)||pe.test(q)));){if(Le.search(/[^ ]/)>=oe||!Le.trim())Ee+=` -`+Le.slice(oe);else if(!ve)Ee+=` -`+Le;else break;!ve&&!Le.trim()&&(ve=!0),ee+=ye+` -`,q=q.substring(ye.length+1)}_e.loose||(Se?_e.loose=!0:/\n *\n *$/.test(ee)&&(Se=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(Ee),$&&(re=$[0]!=="[ ] ",Ee=Ee.replace(/^\[[ xX]\] +/,""))),_e.items.push({type:"list_item",raw:ee,task:!!$,checked:re,loose:!1,text:Ee}),_e.raw+=ee}_e.items[_e.items.length-1].raw=ee.trimRight(),_e.items[_e.items.length-1].text=Ee.trimRight(),_e.raw=_e.raw.trimRight();var Ie=_e.items.length;for(ge=0;ge1)return!0}return!1});!_e.loose&&Ne.length&&Re&&(_e.loose=!0,_e.items[ge].loose=!0)}return _e}},ue.html=function(q){var z=this.rules.block.html.exec(q);if(z){var ee={type:"html",raw:z[0],pre:!this.options.sanitizer&&(z[1]==="pre"||z[1]==="script"||z[1]==="style"),text:z[0]};if(this.options.sanitize){var $=this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]);ee.type="paragraph",ee.text=$,ee.tokens=this.lexer.inline($)}return ee}},ue.def=function(q){var z=this.rules.block.def.exec(q);if(z){z[3]&&(z[3]=z[3].substring(1,z[3].length-1));var ee=z[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ee,raw:z[0],href:z[2],title:z[3]}}},ue.table=function(q){var z=this.rules.block.table.exec(q);if(z){var ee={type:"table",header:I(z[1]).map(function(Se){return{text:Se}}),align:z[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:z[3]&&z[3].trim()?z[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(ee.header.length===ee.align.length){ee.raw=z[0];var $=ee.align.length,re,oe,ge,ve;for(re=0;re<$;re++)/^ *-+: *$/.test(ee.align[re])?ee.align[re]="right":/^ *:-+: *$/.test(ee.align[re])?ee.align[re]="center":/^ *:-+ *$/.test(ee.align[re])?ee.align[re]="left":ee.align[re]=null;for($=ee.rows.length,re=0;re<$;re++)ee.rows[re]=I(ee.rows[re],ee.header.length).map(function(Se){return{text:Se}});for($=ee.header.length,oe=0;oe<$;oe++)ee.header[oe].tokens=this.lexer.inline(ee.header[oe].text);for($=ee.rows.length,oe=0;oe<$;oe++)for(ve=ee.rows[oe],ge=0;ge/i.test(z[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(z[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(z[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:z[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]):z[0]}},ue.link=function(q){var z=this.rules.inline.link.exec(q);if(z){var ee=z[2].trim();if(!this.options.pedantic&&/^$/.test(ee))return;var $=M(ee.slice(0,-1),"\\");if((ee.length-$.length)%2===0)return}else{var re=P(z[2],"()");if(re>-1){var oe=z[0].indexOf("!")===0?5:4,ge=oe+z[1].length+re;z[2]=z[2].substring(0,re),z[0]=z[0].substring(0,ge).trim(),z[3]=""}}var ve=z[2],Se="";if(this.options.pedantic){var Le=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);Le&&(ve=Le[1],Se=Le[3])}else Se=z[3]?z[3].slice(1,-1):"";return ve=ve.trim(),/^$/.test(ee)?ve=ve.slice(1):ve=ve.slice(1,-1)),A(z,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:Se&&Se.replace(this.rules.inline._escapes,"$1")},z[0],this.lexer)}},ue.reflink=function(q,z){var ee;if((ee=this.rules.inline.reflink.exec(q))||(ee=this.rules.inline.nolink.exec(q))){var $=(ee[2]||ee[1]).replace(/\s+/g," ");if($=z[$.toLowerCase()],!$||!$.href){var re=ee[0].charAt(0);return{type:"text",raw:re,text:re}}return A(ee,$,ee[0],this.lexer)}},ue.emStrong=function(q,z,ee){ee===void 0&&(ee="");var $=this.rules.inline.emStrong.lDelim.exec(q);if($&&!($[3]&&ee.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 re=$[1]||$[2]||"";if(!re||re&&(ee===""||this.rules.inline.punctuation.exec(ee))){var oe=$[0].length-1,ge,ve,Se=oe,Le=0,De=$[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(De.lastIndex=0,z=z.slice(-1*q.length+oe);($=De.exec(z))!=null;)if(ge=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!!ge){if(ve=ge.length,$[3]||$[4]){Se+=ve;continue}else if(($[5]||$[6])&&oe%3&&!((oe+ve)%3)){Le+=ve;continue}if(Se-=ve,!(Se>0)){if(ve=Math.min(ve,ve+Se+Le),Math.min(oe,ve)%2){var ye=q.slice(1,oe+$.index+ve);return{type:"em",raw:q.slice(0,oe+$.index+ve+1),text:ye,tokens:this.lexer.inlineTokens(ye)}}var Ee=q.slice(2,oe+$.index+ve-1);return{type:"strong",raw:q.slice(0,oe+$.index+ve+1),text:Ee,tokens:this.lexer.inlineTokens(Ee)}}}}}},ue.codespan=function(q){var z=this.rules.inline.code.exec(q);if(z){var ee=z[2].replace(/\n/g," "),$=/[^ ]/.test(ee),re=/^ /.test(ee)&&/ $/.test(ee);return $&&re&&(ee=ee.substring(1,ee.length-1)),ee=t(ee,!0),{type:"codespan",raw:z[0],text:ee}}},ue.br=function(q){var z=this.rules.inline.br.exec(q);if(z)return{type:"br",raw:z[0]}},ue.del=function(q){var z=this.rules.inline.del.exec(q);if(z)return{type:"del",raw:z[0],text:z[2],tokens:this.lexer.inlineTokens(z[2])}},ue.autolink=function(q,z){var ee=this.rules.inline.autolink.exec(q);if(ee){var $,re;return ee[2]==="@"?($=t(this.options.mangle?z(ee[1]):ee[1]),re="mailto:"+$):($=t(ee[1]),re=$),{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.url=function(q,z){var ee;if(ee=this.rules.inline.url.exec(q)){var $,re;if(ee[2]==="@")$=t(this.options.mangle?z(ee[0]):ee[0]),re="mailto:"+$;else{var oe;do oe=ee[0],ee[0]=this.rules.inline._backpedal.exec(ee[0])[0];while(oe!==ee[0]);$=t(ee[0]),ee[1]==="www."?re="http://"+$:re=$}return{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.inlineText=function(q,z){var ee=this.rules.inline.text.exec(q);if(ee){var $;return this.lexer.state.inRawBlock?$=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ee[0]):t(ee[0]):ee[0]:$=t(this.options.smartypants?z(ee[0]):ee[0]),{type:"text",raw:ee[0],text:$}}},he}(),O={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}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:w,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};O._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,O.def=r(O.def).replace("label",O._label).replace("title",O._title).getRegex(),O.bullet=/(?:[*+-]|\d{1,9}[.)])/,O.listItemStart=r(/^( *)(bull) */).replace("bull",O.bullet).getRegex(),O.list=r(O.list).replace(/bull/g,O.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+O.def.source+")").getRegex(),O._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",O._comment=/|$)/,O.html=r(O.html,"i").replace("comment",O._comment).replace("tag",O._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O.paragraph=r(O._paragraph).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.blockquote=r(O.blockquote).replace("paragraph",O.paragraph).getRegex(),O.normal=E({},O),O.gfm=E({},O.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),O.gfm.table=r(O.gfm.table).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.gfm.paragraph=r(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",O.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.pedantic=E({},O.normal,{html:r(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",O._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,paragraph:r(O.normal._paragraph).replace("hr",O.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",O.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:w,tag:"^comment|^|^<[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:w,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",W.punctuation=r(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=r(O._comment).replace("(?:-->|$)","-->").getRegex(),W.emStrong.lDelim=r(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=r(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=r(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=r(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=r(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=r(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=r(W.reflink).replace("label",W._label).replace("ref",O._label).getRegex(),W.nolink=r(W.nolink).replace("ref",O._label).getRegex(),W.reflinkSearch=r(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:r(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:r(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=E({},W.normal,{escape:r(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&&(q="x"+q.toString(16)),ue+="&#"+q+";";return ue}var R=function(){function he(te){this.tokens=[],this.tokens.links=Object.create(null),this.options=te||Q.defaults,this.options.tokenizer=this.options.tokenizer||new F,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 q={block:O.normal,inline:W.normal};this.options.pedantic?(q.block=O.pedantic,q.inline=W.pedantic):this.options.gfm&&(q.block=O.gfm,this.options.breaks?q.inline=W.breaks:q.inline=W.gfm),this.tokenizer.rules=q}he.lex=function(q,z){var ee=new he(z);return ee.lex(q)},he.lexInline=function(q,z){var ee=new he(z);return ee.inlineTokens(q)};var ue=he.prototype;return ue.lex=function(q){q=q.replace(/\r\n|\r/g,` -`),this.blockTokens(q,this.tokens);for(var z;z=this.inlineQueue.shift();)this.inlineTokens(z.src,z.tokens);return this.tokens},ue.blockTokens=function(q,z){var ee=this;z===void 0&&(z=[]),this.options.pedantic?q=q.replace(/\t/g," ").replace(/^ +$/gm,""):q=q.replace(/^( *)(\t+)/gm,function(Se,Le,De){return Le+" ".repeat(De.length)});for(var $,re,oe,ge;q;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(Se){return($=Se.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.space(q)){q=q.substring($.raw.length),$.raw.length===1&&z.length>0?z[z.length-1].raw+=` -`:z.push($);continue}if($=this.tokenizer.code(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if($=this.tokenizer.fences(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.heading(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.hr(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.blockquote(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.list(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.html(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.def(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.raw,this.inlineQueue[this.inlineQueue.length-1].src=re.text):this.tokens.links[$.tag]||(this.tokens.links[$.tag]={href:$.href,title:$.title});continue}if($=this.tokenizer.table(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.lheading(q)){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startBlock&&function(){var Se=1/0,Le=q.slice(1),De=void 0;ee.options.extensions.startBlock.forEach(function(ye){De=ye.call({lexer:this},Le),typeof De=="number"&&De>=0&&(Se=Math.min(Se,De))}),Se<1/0&&Se>=0&&(oe=q.substring(0,Se+1))}(),this.state.top&&($=this.tokenizer.paragraph(oe))){re=z[z.length-1],ge&&re.type==="paragraph"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($),ge=oe.length!==q.length,q=q.substring($.raw.length);continue}if($=this.tokenizer.text(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&re.type==="text"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if(q){var ve="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ve);break}else throw new Error(ve)}}return this.state.top=!0,z},ue.inline=function(q,z){return z===void 0&&(z=[]),this.inlineQueue.push({src:q,tokens:z}),z},ue.inlineTokens=function(q,z){var ee=this;z===void 0&&(z=[]);var $,re,oe,ge=q,ve,Se,Le;if(this.tokens.links){var De=Object.keys(this.tokens.links);if(De.length>0)for(;(ve=this.tokenizer.rules.inline.reflinkSearch.exec(ge))!=null;)De.includes(ve[0].slice(ve[0].lastIndexOf("[")+1,-1))&&(ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ve=this.tokenizer.rules.inline.blockSkip.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(ve=this.tokenizer.rules.inline.escapedEmSt.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"++"+ge.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;q;)if(Se||(Le=""),Se=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Ee){return($=Ee.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.escape(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.tag(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.link(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.reflink(q,this.tokens.links)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.emStrong(q,ge,Le)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.codespan(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.br(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.del(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.autolink(q,j)){q=q.substring($.raw.length),z.push($);continue}if(!this.state.inLink&&($=this.tokenizer.url(q,j))){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startInline&&function(){var Ee=1/0,Me=q.slice(1),Pe=void 0;ee.options.extensions.startInline.forEach(function(Fe){Pe=Fe.call({lexer:this},Me),typeof Pe=="number"&&Pe>=0&&(Ee=Math.min(Ee,Pe))}),Ee<1/0&&Ee>=0&&(oe=q.substring(0,Ee+1))}(),$=this.tokenizer.inlineText(oe,U)){q=q.substring($.raw.length),$.raw.slice(-1)!=="_"&&(Le=$.raw.slice(-1)),Se=!0,re=z[z.length-1],re&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if(q){var ye="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ye);break}else throw new Error(ye)}}return z},L(he,null,[{key:"rules",get:function(){return{block:O,inline:W}}}]),he}(),K=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.code=function(q,z,ee){var $=(z||"").match(/\S*/)[0];if(this.options.highlight){var re=this.options.highlight(q,$);re!=null&&re!==q&&(ee=!0,q=re)}return q=q.replace(/\n$/,"")+` -`,$?'
    '+(ee?q:t(q,!0))+`
    -`:"
    "+(ee?q:t(q,!0))+`
    -`},ue.blockquote=function(q){return`
    -`+q+`
    -`},ue.html=function(q){return q},ue.heading=function(q,z,ee,$){if(this.options.headerIds){var re=this.options.headerPrefix+$.slug(ee);return"'+q+" -`}return""+q+" -`},ue.hr=function(){return this.options.xhtml?`
    -`:`
    -`},ue.list=function(q,z,ee){var $=z?"ol":"ul",re=z&&ee!==1?' start="'+ee+'"':"";return"<"+$+re+`> -`+q+" -`},ue.listitem=function(q){return"
  • "+q+`
  • -`},ue.checkbox=function(q){return" "},ue.paragraph=function(q){return"

    "+q+`

    -`},ue.table=function(q,z){return z&&(z=""+z+""),` - -`+q+` -`+z+`
    -`},ue.tablerow=function(q){return` -`+q+` -`},ue.tablecell=function(q,z){var ee=z.header?"th":"td",$=z.align?"<"+ee+' align="'+z.align+'">':"<"+ee+">";return $+q+(" -`)},ue.strong=function(q){return""+q+""},ue.em=function(q){return""+q+""},ue.codespan=function(q){return""+q+""},ue.br=function(){return this.options.xhtml?"
    ":"
    "},ue.del=function(q){return""+q+""},ue.link=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $='",$},ue.image=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $=''+ee+'":">",$},ue.text=function(q){return q},he}(),G=function(){function he(){}var ue=he.prototype;return ue.strong=function(q){return q},ue.em=function(q){return q},ue.codespan=function(q){return q},ue.del=function(q){return q},ue.html=function(q){return q},ue.text=function(q){return q},ue.link=function(q,z,ee){return""+ee},ue.image=function(q,z,ee){return""+ee},ue.br=function(){return""},he}(),Z=function(){function he(){this.seen={}}var ue=he.prototype;return ue.serialize=function(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ue.getNextSafeSlug=function(q,z){var ee=q,$=0;if(this.seen.hasOwnProperty(ee)){$=this.seen[q];do $++,ee=q+"-"+$;while(this.seen.hasOwnProperty(ee))}return z||(this.seen[q]=$,this.seen[ee]=0),ee},ue.slug=function(q,z){z===void 0&&(z={});var ee=this.serialize(q);return this.getNextSafeSlug(ee,z.dryrun)},he}(),J=function(){function he(te){this.options=te||Q.defaults,this.options.renderer=this.options.renderer||new K,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new G,this.slugger=new Z}he.parse=function(q,z){var ee=new he(z);return ee.parse(q)},he.parseInline=function(q,z){var ee=new he(z);return ee.parseInline(q)};var ue=he.prototype;return ue.parse=function(q,z){z===void 0&&(z=!0);var ee="",$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce,be,Ie=q.length;for($=0;$0&&me.tokens[0].type==="paragraph"?(me.tokens[0].text=Ce+" "+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=Ce+" "+me.tokens[0].tokens[0].text)):me.tokens.unshift({type:"text",text:Ce}):_e+=Ce),_e+=this.parse(me.tokens,Fe),ye+=this.renderer.listitem(_e,pe,le);ee+=this.renderer.list(ye,Me,Pe);continue}case"html":{ee+=this.renderer.html(Ee.text);continue}case"paragraph":{ee+=this.renderer.paragraph(this.parseInline(Ee.tokens));continue}case"text":{for(ye=Ee.tokens?this.parseInline(Ee.tokens):Ee.text;$+1"u"||he===null)throw new Error("marked(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");if(typeof ue=="function"&&(te=ue,ue=null),ue=E({},X.defaults,ue||{}),x(ue),te){var q=ue.highlight,z;try{z=R.lex(he,ue)}catch(ge){return te(ge)}var ee=function(ve){var Se;if(!ve)try{ue.walkTokens&&X.walkTokens(z,ue.walkTokens),Se=J.parse(z,ue)}catch(Le){ve=Le}return ue.highlight=q,ve?te(ve):te(null,Se)};if(!q||q.length<3||(delete ue.highlight,!z.length))return ee();var $=0;X.walkTokens(z,function(ge){ge.type==="code"&&($++,setTimeout(function(){q(ge.text,ge.lang,function(ve,Se){if(ve)return ee(ve);Se!=null&&Se!==ge.text&&(ge.text=Se,ge.escaped=!0),$--,$===0&&ee()})},0))}),$===0&&ee();return}function re(ge){if(ge.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(ge.message+"",!0)+"
    ";throw ge}try{var oe=R.lex(he,ue);if(ue.walkTokens){if(ue.async)return Promise.all(X.walkTokens(oe,ue.walkTokens)).then(function(){return J.parse(oe,ue)}).catch(re);X.walkTokens(oe,ue.walkTokens)}return J.parse(oe,ue)}catch(ge){re(ge)}}X.options=X.setOptions=function(he){return E(X.defaults,he),f(X.defaults),X},X.getDefaults=S,X.defaults=Q.defaults,X.use=function(){for(var he=arguments.length,ue=new Array(he),te=0;te"u"||he===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");ue=E({},X.defaults,ue||{}),x(ue);try{var te=R.lexInline(he,ue);return ue.walkTokens&&X.walkTokens(te,ue.walkTokens),J.parseInline(te,ue)}catch(q){if(q.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(q.message+"",!0)+"
    ";throw q}},X.Parser=J,X.parser=J.parse,X.Renderer=K,X.TextRenderer=G,X.Lexer=R,X.lexer=R.lex,X.Tokenizer=F,X.Slugger=Z,X.parse=X;var H=X.options,B=X.setOptions,V=X.use,Y=X.walkTokens,ie=X.parseInline,ae=X,ce=J.parse,de=R.lex;Q.Lexer=R,Q.Parser=J,Q.Renderer=K,Q.Slugger=Z,Q.TextRenderer=G,Q.Tokenizer=F,Q.getDefaults=S,Q.lexer=de,Q.marked=X,Q.options=H,Q.parse=ae,Q.parseInline=ie,Q.parser=ce,Q.setOptions=B,Q.use=V,Q.walkTokens=Y,Object.defineProperty(Q,"__esModule",{value:!0})}),define(ne[107],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0,e.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),define(ne[197],se([1,0,107]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:L.Mimes.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}}),define(ne[387],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class L{constructor(y,D=0,S=y.length,f=D-1){this.items=y,this.start=D,this.end=S,this.index=f}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(ne[388],se([1,0,387]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class k{constructor(D=[],S=10){this._initialize(D),this._limit=S,this._onChange()}getHistory(){return this._elements}add(D){this._history.delete(D),this._history.add(D),this._onChange()}next(){return this._navigator.next()}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}isLast(){return this._currentPosition()>=this._elements.length-1}isNowhere(){return this._navigator.current()===null}has(D){return this._history.has(D)}_onChange(){this._reduceToLimit();const D=this._elements;this._navigator=new L.ArrayNavigator(D,0,D.length,D.length)}_reduceToLimit(){const D=this._elements;D.length>this._limit&&this._initialize(D.slice(D.length-this._limit))}_currentPosition(){const D=this._navigator.current();return D?this._elements.indexOf(D):-1}_initialize(D){this._history=new Set;for(const S of D)this._history.add(S)}get _elements(){const D=[];return this._history.forEach(S=>D.push(S)),D}}e.HistoryNavigator=k}),define(ne[141],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function L(D,S,f){return Math.min(Math.max(D,S),f)}e.clamp=L;class k{constructor(){this._n=1,this._val=0}update(S){return this._val=this._val+(S-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=k;class y{constructor(S){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(S),this._values.fill(0,0,S)}update(S){const f=this._values[this._index];return this._values[this._index]=S,this._index=(this._index+1)%this._values.length,this._sum-=f,this._sum+=S,this._nh.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleDerivedRecomputed(u,h){const r=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("derived recomputed"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),this.formatChanges(r),{data:[{fn:u._computeFn}]}])),r.clear()}handleFromEventObservableTriggered(u,h){console.log(...this.textToConsoleArgs([_("observable from event triggered"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),{data:[{fn:u._getValue}]}]))}handleAutorunCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleAutorunTriggered(u){const h=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("autorun"),g(u.debugName,{color:"BlueViolet"}),this.formatChanges(h),{data:[{fn:u._runFn}]}])),h.clear(),this.indentation++}handleAutorunFinished(u){this.indentation--}handleBeginTransaction(u){let h=u.getDebugName();h===void 0&&(h=""),console.log(...this.textToConsoleArgs([_("transaction"),g(h,{color:"BlueViolet"}),{data:[{fn:u._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}e.ConsoleObservableLogger=D;function S(a){const u=new Array,h=[];let r="";function c(d){if("length"in d)for(const l of d)l&&c(l);else"text"in d?(r+=`%c${d.text}`,u.push(d.style),d.data&&h.push(...d.data)):"data"in d&&h.push(...d.data)}c(a);const o=[r,...u];return o.push(...h),o}function f(a){return g(a,{color:"black"})}function _(a){return g(t(`${a}: `,10),{color:"black",bold:!0})}function g(a,u={color:"black"}){function h(c){return Object.entries(c).reduce((o,[d,l])=>`${o}${d}:${l};`,"")}const r={color:u.color};return u.strikeThrough&&(r["text-decoration"]="line-through"),u.bold&&(r["font-weight"]="bold"),{text:a,style:h(r)}}function C(a,u){switch(typeof a){case"number":return""+a;case"string":return a.length+2<=u?`"${a}"`:`"${a.substr(0,u-7)}"+...`;case"boolean":return a?"true":"false";case"undefined":return"undefined";case"object":return a===null?"null":Array.isArray(a)?s(a,u):i(a,u);case"symbol":return a.toString();case"function":return`[[Function${a.name?" "+a.name:""}]]`;default:return""+a}}function s(a,u){let h="[ ",r=!0;for(const c of a){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${C(c,u-h.length)}`}return h+=" ]",h}function i(a,u){let h="{ ",r=!0;for(const[c,o]of Object.entries(a)){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${c}: ${C(o,u-h.length)}`}return h+=" }",h}function n(a,u){let h="";for(let r=1;r<=u;r++)h+=a;return h}function t(a,u){for(;a.lengthu(this.read(h),h),()=>{const h=C(u);if(h!==void 0)return h;const c=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(u.toString());return c?`${this.debugName}.${c[2]}`:`${this.debugName} (mapped)`})}}e.ConvenientObservable=D;class S extends D{constructor(){super(...arguments),this.observers=new Set}addObserver(u){const h=this.observers.size;this.observers.add(u),h===0&&this.onFirstObserverAdded()}removeObserver(u){this.observers.delete(u)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}e.BaseObservable=S;function f(a,u){const h=new g(a,u);try{a(h)}finally{h.finish()}}e.transaction=f;function _(a,u,h){a?u(a):f(u,h)}e.subtransaction=_;class g{constructor(u,h){var r;this._fn=u,this._getDebugName=h,this.updatingObservers=[],(r=(0,L.getLogger)())===null||r===void 0||r.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():C(this._fn)}updateObserver(u,h){this.updatingObservers.push({observer:u,observable:h}),u.beginUpdate(h)}finish(){var u;const h=this.updatingObservers;this.updatingObservers=null;for(const{observer:r,observable:c}of h)r.endUpdate(c);(u=(0,L.getLogger)())===null||u===void 0||u.handleEndTransaction()}}e.TransactionImpl=g;function C(a){const u=a.toString(),r=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(u),c=r?r[1]:void 0;return c?.trim()}e.getFunctionName=C;function s(a,u){return new i(a,u)}e.observableValue=s;class i extends S{constructor(u,h){super(),this.debugName=u,this._value=h}get(){return this._value}set(u,h,r){var c;if(this._value===u)return;let o;h||(h=o=new g(()=>{},()=>`Setting ${this.debugName}`));try{const d=this._value;this._setValue(u),(c=(0,L.getLogger)())===null||c===void 0||c.handleObservableChanged(this,{oldValue:d,newValue:u,change:r,didChange:!0,hadValue:!0});for(const l of this.observers)h.updateObserver(l,this),l.handleChange(this,r)}finally{o&&o.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(u){this._value=u}}e.ObservableValue=i;function n(a,u){return new t(a,u)}e.disposableObservableValue=n;class t extends i{_setValue(u){this._value!==u&&(this._value&&this._value.dispose(),this._value=u)}dispose(){var u;(u=this._value)===null||u===void 0||u.dispose()}}e.DisposableObservableValue=t}),define(ne[262],se([1,0,85,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutorunObserver=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.autorunOpts=void 0;function S(s,i){return new C(s.debugName,i,void 0,void 0)}e.autorunOpts=S;function f(s){return new C(void 0,s,void 0,void 0)}e.autorun=f;function _(s,i){return new C(s.debugName,i,s.createEmptyChangeSummary,s.handleChange)}e.autorunHandleChanges=_;function g(s){const i=new k.DisposableStore,n=S({debugName:()=>(0,y.getFunctionName)(s)||"(anonymous)"},t=>{i.clear(),s(t,i)});return(0,k.toDisposable)(()=>{n.dispose(),i.dispose()})}e.autorunWithStore=g;class C{get debugName(){if(typeof this._debugName=="string")return this._debugName;if(typeof this._debugName=="function"){const n=this._debugName();if(n!==void 0)return n}const i=(0,y.getFunctionName)(this._runFn);return i!==void 0?i:"(anonymous)"}constructor(i,n,t,a){var u,h;this._debugName=i,this._runFn=n,this.createChangeSummary=t,this._handleChange=a,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=(u=this.createChangeSummary)===null||u===void 0?void 0:u.call(this),(h=(0,D.getLogger)())===null||h===void 0||h.handleAutorunCreated(this),this._runIfNeeded()}dispose(){this.disposed=!0;for(const i of this.dependencies)i.removeObserver(this);this.dependencies.clear()}_runIfNeeded(){var i,n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a,this.state=3;try{if(!this.disposed){(i=(0,D.getLogger)())===null||i===void 0||i.handleAutorunTriggered(this);const u=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this),this._runFn(this,u)}}finally{(t=(0,D.getLogger)())===null||t===void 0||t.handleAutorunFinished(this);for(const u of this.dependenciesToBeRemoved)u.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){this.state===3&&(this.state=1),this.updateCount++}endUpdate(){if(this.updateCount===1)do{if(this.state===1){this.state=3;for(const i of this.dependencies)if(i.reportChanges(),this.state===2)break}this._runIfNeeded()}while(this.state!==3);this.updateCount--,(0,L.assertFn)(()=>this.updateCount>=0)}handlePossibleChange(i){this.state===3&&this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(this.state=1)}handleChange(i,n){this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(!this._handleChange||this._handleChange({changedObservable:i,change:n,didChange:a=>a===i},this.changeSummary))&&(this.state=2)}readObservable(i){if(this.disposed)return i.get();i.addObserver(this);const n=i.get();return this.dependencies.add(i),this.dependenciesToBeRemoved.delete(i),n}}e.AutorunObserver=C,function(s){s.Observer=C}(f||(e.autorun=f={}))}),define(ne[389],se([1,0,9,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Derived=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=void 0;const S=(i,n)=>i===n;function f(i,n){return new s(n,i,void 0,void 0,void 0,S)}e.derived=f;function _(i,n){var t;return new s(i.debugName,n,void 0,void 0,void 0,(t=i.equalityComparer)!==null&&t!==void 0?t:S)}e.derivedOpts=_;function g(i,n,t){return new s(i,t,n.createEmptyChangeSummary,n.handleChange,void 0,S)}e.derivedHandleChanges=g;function C(i,n){const t=new k.DisposableStore;return new s(i,a=>(t.clear(),n(a,t)),void 0,void 0,()=>t.dispose(),S)}e.derivedWithStore=C,(0,y._setDerived)(f);class s extends y.BaseObservable{get debugName(){return this._debugName?typeof this._debugName=="function"?this._debugName():this._debugName:(0,y.getFunctionName)(this._computeFn)||"(anonymous)"}constructor(n,t,a,u,h=void 0,r){var c,o;super(),this._debugName=n,this._computeFn=t,this.createChangeSummary=a,this._handleChange=u,this._handleLastObserverRemoved=h,this._equalityComparator=r,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=(c=this.createChangeSummary)===null||c===void 0?void 0:c.call(this),(o=(0,D.getLogger)())===null||o===void 0||o.handleDerivedCreated(this)}onLastObserverRemoved(){var n;this.state=0,this.value=void 0;for(const t of this.dependencies)t.removeObserver(this);this.dependencies.clear(),(n=this._handleLastObserverRemoved)===null||n===void 0||n.call(this)}get(){var n;if(this.observers.size===0){const t=this._computeFn(this,(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this));return this.onLastObserverRemoved(),t}else{do{if(this.state===1){for(const t of this.dependencies)if(t.reportChanges(),this.state===2)break}this.state===1&&(this.state=3),this._recomputeIfNeeded()}while(this.state!==3);return this.value}}_recomputeIfNeeded(){var n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a;const u=this.state!==0,h=this.value;this.state=3;const r=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this);try{this.value=this._computeFn(this,r)}finally{for(const o of this.dependenciesToBeRemoved)o.removeObserver(this);this.dependenciesToBeRemoved.clear()}const c=u&&!this._equalityComparator(h,this.value);if((t=(0,D.getLogger)())===null||t===void 0||t.handleDerivedRecomputed(this,{oldValue:h,newValue:this.value,change:void 0,didChange:c,hadValue:u}),c)for(const o of this.observers)o.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(n){this.updateCount++;const t=this.updateCount===1;if(this.state===3&&(this.state=1,!t))for(const a of this.observers)a.handlePossibleChange(this);if(t)for(const a of this.observers)a.beginUpdate(this)}endUpdate(n){if(this.updateCount--,this.updateCount===0){const t=[...this.observers];for(const a of t)a.endUpdate(this)}if(this.updateCount<0)throw new L.BugIndicatingError}handlePossibleChange(n){if(this.state===3&&this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){this.state=1;for(const t of this.observers)t.handlePossibleChange(this)}}handleChange(n,t){if(this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){const a=this._handleChange?this._handleChange({changedObservable:n,change:t,didChange:h=>h===n},this.changeSummary):!0,u=this.state===3;if(a&&(this.state===1||u)&&(this.state=2,u))for(const h of this.observers)h.handlePossibleChange(this)}}readObservable(n){n.addObserver(this);const t=n.get();return this.dependencies.add(n),this.dependenciesToBeRemoved.delete(n),t}addObserver(n){const t=!this.observers.has(n)&&this.updateCount>0;super.addObserver(n),t&&n.beginUpdate(this)}removeObserver(n){const t=this.observers.has(n)&&this.updateCount>0;super.removeObserver(n),t&&n.endUpdate(this)}}e.Derived=s}),define(ne[390],se([1,0,2,262,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keepAlive=e.observableSignal=e.observableSignalFromEvent=e.FromEventObservable=e.observableFromEvent=e.waitForState=e.constObservable=void 0;function S(h){return new f(h)}e.constObservable=S;class f extends y.ConvenientObservable{constructor(r){super(),this.value=r}get debugName(){return this.toString()}get(){return this.value}addObserver(r){}removeObserver(r){}toString(){return`Const: ${this.value}`}}function _(h,r){return new Promise(c=>{let o=!1,d=!1;const l=(0,k.autorun)(p=>{const m=h.read(p);r(m)&&(o?l.dispose():d=!0,c(m))});o=!0,d&&l.dispose()})}e.waitForState=_;function g(h,r){return new C(h,r)}e.observableFromEvent=g;class C extends y.BaseObservable{constructor(r,c){super(),this.event=r,this._getValue=c,this.hasValue=!1,this.handleEvent=o=>{var d;const l=this._getValue(o),p=!this.hasValue||this.value!==l;(d=(0,D.getLogger)())===null||d===void 0||d.handleFromEventObservableTriggered(this,{oldValue:this.value,newValue:l,change:void 0,didChange:p,hadValue:this.hasValue}),p&&(this.value=l,this.hasValue&&(0,y.transaction)(m=>{for(const v of this.observers)m.updateObserver(v,this),v.handleChange(this,void 0)},()=>{const m=this.getDebugName();return"Event fired"+(m?`: ${m}`:"")}),this.hasValue=!0)}}getDebugName(){return(0,y.getFunctionName)(this._getValue)}get debugName(){const r=this.getDebugName();return"From Event"+(r?`: ${r}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}e.FromEventObservable=C,function(h){h.Observer=C}(g||(e.observableFromEvent=g={}));function s(h,r){return new i(h,r)}e.observableSignalFromEvent=s;class i extends y.BaseObservable{constructor(r,c){super(),this.debugName=r,this.event=c,this.handleEvent=()=>{(0,y.transaction)(o=>{for(const d of this.observers)o.updateObserver(d,this),d.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function n(h){return new t(h)}e.observableSignal=n;class t extends y.BaseObservable{constructor(r){super(),this.debugName=r}trigger(r,c){if(!r){(0,y.transaction)(o=>{this.trigger(o,c)},()=>`Trigger signal ${this.debugName}`);return}for(const o of this.observers)r.updateObserver(o,this),o.handleChange(this,c)}get(){}}function a(h,r){const c=new u(r??!1);return h.addObserver(c),r&&h.reportChanges(),(0,L.toDisposable)(()=>{h.removeObserver(c)})}e.keepAlive=a;class u{constructor(r){this.forceRecompute=r,this.counter=0}beginUpdate(r){this.counter++}endUpdate(r){this.counter--,this.counter===0&&this.forceRecompute&&r.reportChanges()}handlePossibleChange(r){}handleChange(r,c){}}}),define(ne[42],se([1,0,165,389,262,390,142]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waitForState=e.observableSignalFromEvent=e.observableSignal=e.observableFromEvent=e.keepAlive=e.constObservable=e.autorunOpts=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=e.subtransaction=e.transaction=e.disposableObservableValue=e.observableValue=void 0,Object.defineProperty(e,"observableValue",{enumerable:!0,get:function(){return L.observableValue}}),Object.defineProperty(e,"disposableObservableValue",{enumerable:!0,get:function(){return L.disposableObservableValue}}),Object.defineProperty(e,"transaction",{enumerable:!0,get:function(){return L.transaction}}),Object.defineProperty(e,"subtransaction",{enumerable:!0,get:function(){return L.subtransaction}}),Object.defineProperty(e,"derived",{enumerable:!0,get:function(){return k.derived}}),Object.defineProperty(e,"derivedOpts",{enumerable:!0,get:function(){return k.derivedOpts}}),Object.defineProperty(e,"derivedHandleChanges",{enumerable:!0,get:function(){return k.derivedHandleChanges}}),Object.defineProperty(e,"derivedWithStore",{enumerable:!0,get:function(){return k.derivedWithStore}}),Object.defineProperty(e,"autorun",{enumerable:!0,get:function(){return y.autorun}}),Object.defineProperty(e,"autorunHandleChanges",{enumerable:!0,get:function(){return y.autorunHandleChanges}}),Object.defineProperty(e,"autorunWithStore",{enumerable:!0,get:function(){return y.autorunWithStore}}),Object.defineProperty(e,"autorunOpts",{enumerable:!0,get:function(){return y.autorunOpts}}),Object.defineProperty(e,"constObservable",{enumerable:!0,get:function(){return D.constObservable}}),Object.defineProperty(e,"keepAlive",{enumerable:!0,get:function(){return D.keepAlive}}),Object.defineProperty(e,"observableFromEvent",{enumerable:!0,get:function(){return D.observableFromEvent}}),Object.defineProperty(e,"observableSignal",{enumerable:!0,get:function(){return D.observableSignal}}),Object.defineProperty(e,"observableSignalFromEvent",{enumerable:!0,get:function(){return D.observableSignalFromEvent}}),Object.defineProperty(e,"waitForState",{enumerable:!0,get:function(){return D.waitForState}}),!1&&(0,S.setLogger)(new S.ConsoleObservableLogger)}),define(ne[166],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Range=void 0;var L;(function(k){function y(_,g){if(_.start>=g.end||g.start>=_.end)return{start:0,end:0};const C=Math.max(_.start,g.start),s=Math.min(_.end,g.end);return s-C<=0?{start:0,end:0}:{start:C,end:s}}k.intersect=y;function D(_){return _.end-_.start<=0}k.isEmpty=D;function S(_,g){return!D(y(_,g))}k.intersects=S;function f(_,g){const C=[],s={start:_.start,end:Math.min(g.start,_.end)},i={start:Math.max(g.end,_.start),end:_.end};return D(s)||C.push(s),D(i)||C.push(i),C}k.relativeComplement=f})(L||(e.Range=L={}))}),define(ne[391],se([1,0,166]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function k(_,g){const C=[];for(const s of g){if(_.start>=s.range.end)continue;if(_.endg.concat(C),[]))}class f{get paddingTop(){return this._paddingTop}set paddingTop(g){this._size=this._size+g-this._paddingTop,this._paddingTop=g}constructor(g){this.groups=[],this._size=0,this._paddingTop=0,this._paddingTop=g??0,this._size=this._paddingTop}splice(g,C,s=[]){const i=s.length-C,n=k({start:0,end:g},this.groups),t=k({start:g+C,end:Number.POSITIVE_INFINITY},this.groups).map(u=>({range:y(u.range,i),size:u.size})),a=s.map((u,h)=>({range:{start:g+h,end:g+h+1},size:u.size}));this.groups=S(n,a,t),this._size=this._paddingTop+this.groups.reduce((u,h)=>u+h.size*(h.range.end-h.range.start),0)}get count(){const g=this.groups.length;return g?this.groups[g-1].range.end:0}get size(){return this._size}indexAt(g){if(g<0)return-1;if(gy.Disposable.None;function w(ce){if(_){const{onDidAddListener:de}=ce,he=n.create();let ue=0;ce.onDidAddListener=()=>{++ue===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),he.print()),de?.()}}}function E(ce,de){return O(ce,()=>{},0,void 0,!0,void 0,de)}b.defer=E;function I(ce){return(de,he=null,ue)=>{let te=!1,q;return q=ce(z=>{if(!te)return q?q.dispose():te=!0,de.call(he,z)},null,ue),te&&q.dispose(),q}}b.once=I;function M(ce,de,he){return F((ue,te=null,q)=>ce(z=>ue.call(te,de(z)),null,q),he)}b.map=M;function P(ce,de,he){return F((ue,te=null,q)=>ce(z=>{de(z),ue.call(te,z)},null,q),he)}b.forEach=P;function x(ce,de,he){return F((ue,te=null,q)=>ce(z=>de(z)&&ue.call(te,z),null,q),he)}b.filter=x;function T(ce){return ce}b.signal=T;function A(...ce){return(de,he=null,ue)=>(0,y.combinedDisposable)(...ce.map(te=>te(q=>de.call(he,q),null,ue)))}b.any=A;function N(ce,de,he,ue){let te=he;return M(ce,q=>(te=de(te,q),te),ue)}b.reduce=N;function F(ce,de){let he;const ue={onWillAddFirstListener(){he=ce(te.fire,te)},onDidRemoveLastListener(){he?.dispose()}};de||w(ue);const te=new h(ue);return de?.add(te),te.event}function O(ce,de,he=100,ue=!1,te=!1,q,z){let ee,$,re,oe=0,ge;const ve={leakWarningThreshold:q,onWillAddFirstListener(){ee=ce(Le=>{oe++,$=de($,Le),ue&&!re&&(Se.fire($),$=void 0),ge=()=>{const De=$;$=void 0,re=void 0,(!ue||oe>1)&&Se.fire(De),oe=0},typeof he=="number"?(clearTimeout(re),re=setTimeout(ge,he)):re===void 0&&(re=0,queueMicrotask(ge))})},onWillRemoveListener(){te&&oe>0&&ge?.()},onDidRemoveLastListener(){ge=void 0,ee.dispose()}};z||w(ve);const Se=new h(ve);return z?.add(Se),Se.event}b.debounce=O;function W(ce,de=0,he){return b.debounce(ce,(ue,te)=>ue?(ue.push(te),ue):[te],de,void 0,!0,void 0,he)}b.accumulate=W;function U(ce,de=(ue,te)=>ue===te,he){let ue=!0,te;return x(ce,q=>{const z=ue||!de(q,te);return ue=!1,te=q,z},he)}b.latch=U;function j(ce,de,he){return[b.filter(ce,de,he),b.filter(ce,ue=>!de(ue),he)]}b.split=j;function R(ce,de=!1,he=[]){let ue=he.slice(),te=ce(ee=>{ue?ue.push(ee):z.fire(ee)});const q=()=>{ue?.forEach(ee=>z.fire(ee)),ue=null},z=new h({onWillAddFirstListener(){te||(te=ce(ee=>z.fire(ee)))},onDidAddFirstListener(){ue&&(de?setTimeout(q):q())},onDidRemoveLastListener(){te&&te.dispose(),te=null}});return z.event}b.buffer=R;class K{constructor(de){this.event=de,this.disposables=new y.DisposableStore}map(de){return new K(M(this.event,de,this.disposables))}forEach(de){return new K(P(this.event,de,this.disposables))}filter(de){return new K(x(this.event,de,this.disposables))}reduce(de,he){return new K(N(this.event,de,he,this.disposables))}latch(){return new K(U(this.event,void 0,this.disposables))}debounce(de,he=100,ue=!1,te=!1,q){return new K(O(this.event,de,he,ue,te,q,this.disposables))}on(de,he,ue){return this.event(de,he,ue)}once(de,he,ue){return I(this.event)(de,he,ue)}dispose(){this.disposables.dispose()}}function G(ce){return new K(ce)}b.chain=G;function Z(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.on(de,ue),q=()=>ce.removeListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromNodeEventEmitter=Z;function J(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.addEventListener(de,ue),q=()=>ce.removeEventListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromDOMEventEmitter=J;function X(ce){return new Promise(de=>I(ce)(de))}b.toPromise=X;function H(ce){const de=new h;return ce.then(he=>{de.fire(he)},()=>{de.fire(void 0)}).finally(()=>{de.dispose()}),de.event}b.fromPromise=H;function B(ce,de){return de(void 0),ce(he=>de(he))}b.runAndSubscribe=B;function V(ce,de){let he=null;function ue(q){he?.dispose(),he=new y.DisposableStore,de(q,he)}ue(void 0);const te=ce(q=>ue(q));return(0,y.toDisposable)(()=>{te.dispose(),he?.dispose()})}b.runAndSubscribeWithStore=V;class Y{constructor(de,he){this._observable=de,this._counter=0,this._hasChanged=!1;const ue={onWillAddFirstListener:()=>{de.addObserver(this)},onDidRemoveLastListener:()=>{de.removeObserver(this)}};he||w(ue),this.emitter=new h(ue),he&&he.add(this.emitter)}beginUpdate(de){this._counter++}handlePossibleChange(de){}handleChange(de,he){this._hasChanged=!0}endUpdate(de){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function ie(ce,de){return new Y(ce,de).emitter.event}b.fromObservable=ie;function ae(ce){return de=>{let he=0,ue=!1;const te={beginUpdate(){he++},endUpdate(){he--,he===0&&(ce.reportChanges(),ue&&(ue=!1,de()))},handlePossibleChange(){},handleChange(){ue=!0}};return ce.addObserver(te),ce.reportChanges(),{dispose(){ce.removeObserver(te)}}}}b.fromObservableLight=ae})(g||(e.Event=g={}));class C{constructor(w){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${w}_${C._idPool++}`,C.all.add(this)}start(w){this._stopWatch=new S.StopWatch,this.listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this.durations.push(w),this.elapsedOverall+=w,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=C,C.all=new Set,C._idPool=0;let s=-1;class i{constructor(w,E=Math.random().toString(18).slice(2,5)){this.threshold=w,this.name=E,this._warnCountdown=0}dispose(){var w;(w=this._stacks)===null||w===void 0||w.clear()}check(w,E){const I=this.threshold;if(I<=0||E{const P=this._stacks.get(w.value)||0;this._stacks.set(w.value,P-1)}}}class n{static create(){var w;return new n((w=new Error().stack)!==null&&w!==void 0?w:"")}constructor(w){this.value=w}print(){console.warn(this.value.split(` -`).slice(2).join(` -`))}}class t{constructor(w){this.value=w}}const a=2,u=(b,w)=>{if(b instanceof t)w(b);else for(let E=0;E0||!((E=this._options)===null||E===void 0)&&E.leakWarningThreshold?new i((M=(I=this._options)===null||I===void 0?void 0:I.leakWarningThreshold)!==null&&M!==void 0?M:s):void 0,this._perfMon=!((P=this._options)===null||P===void 0)&&P._profName?new C(this._options._profName):void 0,this._deliveryQueue=(x=this._options)===null||x===void 0?void 0:x.deliveryQueue}dispose(){var w,E,I,M;if(!this._disposed){if(this._disposed=!0,((w=this._deliveryQueue)===null||w===void 0?void 0:w.current)===this&&this._deliveryQueue.reset(),this._listeners){if(f){const P=this._listeners;queueMicrotask(()=>{u(P,x=>{var T;return(T=x.stack)===null||T===void 0?void 0:T.print()})})}this._listeners=void 0,this._size=0}(I=(E=this._options)===null||E===void 0?void 0:E.onDidRemoveLastListener)===null||I===void 0||I.call(E),(M=this._leakageMon)===null||M===void 0||M.dispose()}}get event(){var w;return(w=this._event)!==null&&w!==void 0||(this._event=(E,I,M)=>{var P,x,T,A,N;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),y.Disposable.None;if(this._disposed)return y.Disposable.None;I&&(E=E.bind(I));const F=new t(E);let O,W;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(F.stack=n.create(),O=this._leakageMon.check(F.stack,this._size+1)),f&&(F.stack=W??n.create()),this._listeners?this._listeners instanceof t?((N=this._deliveryQueue)!==null&&N!==void 0||(this._deliveryQueue=new c),this._listeners=[this._listeners,F]):this._listeners.push(F):((x=(P=this._options)===null||P===void 0?void 0:P.onWillAddFirstListener)===null||x===void 0||x.call(P,this),this._listeners=F,(A=(T=this._options)===null||T===void 0?void 0:T.onDidAddFirstListener)===null||A===void 0||A.call(T,this)),this._size++;const U=(0,y.toDisposable)(()=>{O?.(),this._removeListener(F)});return M instanceof y.DisposableStore?M.add(U):Array.isArray(M)&&M.push(U),U}),this._event}_removeListener(w){var E,I,M,P;if((I=(E=this._options)===null||E===void 0?void 0:E.onWillRemoveListener)===null||I===void 0||I.call(E,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(P=(M=this._options)===null||M===void 0?void 0:M.onDidRemoveLastListener)===null||P===void 0||P.call(M,this),this._size=0;return}const x=this._listeners,T=x.indexOf(w);if(T===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,x[T]=void 0;const A=this._deliveryQueue.current===this;if(this._size*a<=x.length){let N=0;for(let F=0;F0}}e.Emitter=h;const r=()=>new c;e.createEventDeliveryQueue=r;class c{constructor(){this.i=-1,this.end=0}enqueue(w,E,I){this.i=0,this.end=I,this.current=w,this.value=E}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class o extends h{constructor(w){super(w),this._isPaused=0,this._eventQueue=new D.LinkedList,this._mergeFn=w?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._size&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}e.PauseableEmitter=o;class d extends o{constructor(w){var E;super(w),this._delay=(E=w.delay)!==null&&E!==void 0?E:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}e.DebounceEmitter=d;class l extends h{constructor(w){super(w),this._queuedEvents=[],this._mergeFn=w?.merge}fire(w){this.hasListeners()&&(this._queuedEvents.push(w),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(E=>super.fire(E)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=l;class p{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new h({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(w){const E={event:w,listener:null};this.events.push(E),this.hasListeners&&this.hook(E);const I=()=>{this.hasListeners&&this.unhook(E);const M=this.events.indexOf(E);this.events.splice(M,1)};return(0,y.toDisposable)((0,k.once)(I))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(w=>this.hook(w))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(w=>this.unhook(w))}hook(w){w.listener=w.event(E=>this.emitter.fire(E))}unhook(w){w.listener&&w.listener.dispose(),w.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=p;class m{constructor(){this.buffers=[]}wrapEvent(w){return(E,I,M)=>w(P=>{const x=this.buffers[this.buffers.length-1];x?x.push(()=>E.call(I,P)):E.call(I,P)},void 0,M)}bufferEvents(w){const E=[];this.buffers.push(E);const I=w();return this.buffers.pop(),E.forEach(M=>M()),I}}e.EventBufferer=m;class v{constructor(){this.listening=!1,this.inputEvent=g.None,this.inputEventListener=y.Disposable.None,this.emitter=new h({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=v}),define(ne[52],se([1,0,6,2]),function(Q,e,L,k){"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=e.addMatchMediaChangeListener=void 0;class y{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}y.INSTANCE=new y;class D extends k.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){var a;(a=this._mediaQueryList)===null||a===void 0||a.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class S extends k.Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const t=this._register(new D);this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const t=document.createElement("canvas").getContext("2d"),a=window.devicePixelRatio||1,u=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return a/u}}class f{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,k.markAsSingleton)(new S)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function _(n,t){typeof n=="string"&&(n=window.matchMedia(n)),n.addEventListener("change",t)}e.addMatchMediaChangeListener=_,e.PixelRatio=new f;function g(){return y.INSTANCE.getZoomFactor()}e.getZoomFactor=g;const C=navigator.userAgent;e.isFirefox=C.indexOf("Firefox")>=0,e.isWebKit=C.indexOf("AppleWebKit")>=0,e.isChrome=C.indexOf("Chrome")>=0,e.isSafari=!e.isChrome&&C.indexOf("Safari")>=0,e.isWebkitWebView=!e.isChrome&&!e.isSafari&&e.isWebKit,e.isElectron=C.indexOf("Electron/")>=0,e.isAndroid=C.indexOf("Android")>=0;let s=!1;if(window.matchMedia){const n=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");s=n.matches,_(n,({matches:a})=>{s&&t.matches||(s=a)})}function i(){return s}e.isStandalone=i}),define(ne[81],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEmitter=void 0;class k{get event(){return this.emitter.event}constructor(D,S,f){const _=g=>this.emitter.fire(g);this.emitter=new L.Emitter({onWillAddFirstListener:()=>D.addEventListener(S,_,f),onDidRemoveLastListener:()=>D.removeEventListener(S,_,f)})}dispose(){this.emitter.dispose()}}e.DomEmitter=k}),define(ne[19],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const k=Object.freeze(function(f,_){const g=setTimeout(f.bind(_),0);return{dispose(){clearTimeout(g)}}});var y;(function(f){function _(g){return g===f.None||g===f.Cancelled||g instanceof D?!0:!g||typeof g!="object"?!1:typeof g.isCancellationRequested=="boolean"&&typeof g.onCancellationRequested=="function"}f.isCancellationToken=_,f.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.Event.None}),f.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:k})})(y||(e.CancellationToken=y={}));class D{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?k:(this._emitter||(this._emitter=new L.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class S{constructor(_){this._token=void 0,this._parentListener=void 0,this._parentListener=_&&_.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new D),this._token}cancel(){this._token?this._token instanceof D&&this._token.cancel():this._token=y.Cancelled}dispose(_=!1){var g;_&&this.cancel(),(g=this._parentListener)===null||g===void 0||g.dispose(),this._token?this._token instanceof D&&this._token.dispose():this._token=y.None}}e.CancellationTokenSource=S}),define(ne[263],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IME=e.IMEImpl=void 0;class k{constructor(){this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._enabled=!0}get enabled(){return this._enabled}enable(){this._enabled=!0,this._onDidChange.fire()}disable(){this._enabled=!1,this._onDidChange.fire()}}e.IMEImpl=k,e.IME=new k}),define(ne[167],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollingOperation=e.SmoothScrollingUpdate=e.Scrollable=e.ScrollState=void 0;class y{constructor(n,t,a,u,h,r,c){this._forceIntegerValues=n,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,a=a|0,u=u|0,h=h|0,r=r|0,c=c|0),this.rawScrollLeft=u,this.rawScrollTop=c,t<0&&(t=0),u+t>a&&(u=a-t),u<0&&(u=0),h<0&&(h=0),c+h>r&&(c=r-h),c<0&&(c=0),this.width=t,this.scrollWidth=a,this.scrollLeft=u,this.height=h,this.scrollHeight=r,this.scrollTop=c}equals(n){return this.rawScrollLeft===n.rawScrollLeft&&this.rawScrollTop===n.rawScrollTop&&this.width===n.width&&this.scrollWidth===n.scrollWidth&&this.scrollLeft===n.scrollLeft&&this.height===n.height&&this.scrollHeight===n.scrollHeight&&this.scrollTop===n.scrollTop}withScrollDimensions(n,t){return new y(this._forceIntegerValues,typeof n.width<"u"?n.width:this.width,typeof n.scrollWidth<"u"?n.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof n.height<"u"?n.height:this.height,typeof n.scrollHeight<"u"?n.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(n){return new y(this._forceIntegerValues,this.width,this.scrollWidth,typeof n.scrollLeft<"u"?n.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof n.scrollTop<"u"?n.scrollTop:this.rawScrollTop)}createScrollEvent(n,t){const a=this.width!==n.width,u=this.scrollWidth!==n.scrollWidth,h=this.scrollLeft!==n.scrollLeft,r=this.height!==n.height,c=this.scrollHeight!==n.scrollHeight,o=this.scrollTop!==n.scrollTop;return{inSmoothScrolling:t,oldWidth:n.width,oldScrollWidth:n.scrollWidth,oldScrollLeft:n.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:n.height,oldScrollHeight:n.scrollHeight,oldScrollTop:n.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:a,scrollWidthChanged:u,scrollLeftChanged:h,heightChanged:r,scrollHeightChanged:c,scrollTopChanged:o}}}e.ScrollState=y;class D extends k.Disposable{constructor(n){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new L.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=n.smoothScrollDuration,this._scheduleAtNextAnimationFrame=n.scheduleAtNextAnimationFrame,this._state=new y(n.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(n){this._smoothScrollDuration=n}validateScrollPosition(n){return this._state.withScrollPosition(n)}getScrollDimensions(){return this._state}setScrollDimensions(n,t){var a;const u=this._state.withScrollDimensions(n,t);this._setState(u,!!this._smoothScrolling),(a=this._smoothScrolling)===null||a===void 0||a.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(n){const t=this._state.withScrollPosition(n);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(n,t){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(n);if(this._smoothScrolling){n={scrollLeft:typeof n.scrollLeft>"u"?this._smoothScrolling.to.scrollLeft:n.scrollLeft,scrollTop:typeof n.scrollTop>"u"?this._smoothScrolling.to.scrollTop:n.scrollTop};const a=this._state.withScrollPosition(n);if(this._smoothScrolling.to.scrollLeft===a.scrollLeft&&this._smoothScrolling.to.scrollTop===a.scrollTop)return;let u;t?u=new g(this._smoothScrolling.from,a,this._smoothScrolling.startTime,this._smoothScrolling.duration):u=this._smoothScrolling.combine(this._state,a,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=u}else{const a=this._state.withScrollPosition(n);this._smoothScrolling=g.start(this._state,a,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;const n=this._smoothScrolling.tick(),t=this._state.withScrollPosition(n);if(this._setState(t,!0),!!this._smoothScrolling){if(n.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(n,t){const a=this._state;a.equals(n)||(this._state=n,this._onScroll.fire(this._state.createScrollEvent(a,t)))}}e.Scrollable=D;class S{constructor(n,t,a){this.scrollLeft=n,this.scrollTop=t,this.isDone=a}}e.SmoothScrollingUpdate=S;function f(i,n){const t=n-i;return function(a){return i+t*s(a)}}function _(i,n,t){return function(a){return a2.5*a){let h,r;return n=re.length?oe:re[ve]})}e.format=f;function _($){return $.replace(/[<>&]/g,function(re){switch(re){case"<":return"<";case">":return">";case"&":return"&";default:return re}})}e.escape=_;function g($){return $.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=g;function C($,re=" "){const oe=s($,re);return i(oe,re)}e.trim=C;function s($,re){if(!$||!re)return $;const oe=re.length;if(oe===0||$.length===0)return $;let ge=0;for(;$.indexOf(re,ge)===ge;)ge=ge+oe;return $.substring(ge)}e.ltrim=s;function i($,re){if(!$||!re)return $;const oe=re.length,ge=$.length;if(oe===0||ge===0)return $;let ve=ge,Se=-1;for(;Se=$.lastIndexOf(re,ve-1),!(Se===-1||Se+oe!==ve);){if(Se===0)return"";ve=Se}return $.substring(0,ve)}e.rtrim=i;function n($){return $.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=n;function t($){return $.replace(/\*/g,"")}e.stripWildcards=t;function a($,re,oe={}){if(!$)throw new Error("Cannot create regex from empty string");re||($=g($)),oe.wholeWord&&(/\B/.test($.charAt(0))||($="\\b"+$),/\B/.test($.charAt($.length-1))||($=$+"\\b"));let ge="";return oe.global&&(ge+="g"),oe.matchCase||(ge+="i"),oe.multiline&&(ge+="m"),oe.unicode&&(ge+="u"),new RegExp($,ge)}e.createRegExp=a;function u($){return $.source==="^"||$.source==="^$"||$.source==="$"||$.source==="^\\s*$"?!1:!!($.exec("")&&$.lastIndex===0)}e.regExpLeadsToEndlessLoop=u;function h($){return $.split(/\r\n|\r|\n/)}e.splitLines=h;function r($){for(let re=0,oe=$.length;re=0;oe--){const ge=$.charCodeAt(oe);if(ge!==32&&ge!==9)return oe}return-1}e.lastNonWhitespaceIndex=o;function d($,re){return $re?1:0}e.compare=d;function l($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oeEe)return 1}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstring=l;function p($,re){return m($,re,0,$.length,0,re.length)}e.compareIgnoreCase=p;function m($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oe=128||Ee>=128)return l($.toLowerCase(),re.toLowerCase(),oe,ge,ve,Se);b(ye)&&(ye-=32),b(Ee)&&(Ee-=32);const Me=ye-Ee;if(Me!==0)return Me}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstringIgnoreCase=m;function v($){return $>=48&&$<=57}e.isAsciiDigit=v;function b($){return $>=97&&$<=122}e.isLowerAsciiLetter=b;function w($){return $>=65&&$<=90}e.isUpperAsciiLetter=w;function E($,re){return $.length===re.length&&m($,re)===0}e.equalsIgnoreCase=E;function I($,re){const oe=re.length;return re.length>$.length?!1:m($,re,0,oe)===0}e.startsWithIgnoreCase=I;function M($,re){const oe=Math.min($.length,re.length);let ge;for(ge=0;ge1){const ge=$.charCodeAt(re-2);if(x(ge))return A(ge,oe)}return oe}class O{get offset(){return this._offset}constructor(re,oe=0){this._str=re,this._len=re.length,this._offset=oe}setOffset(re){this._offset=re}prevCodePoint(){const re=F(this._str,this._offset);return this._offset-=re>=65536?2:1,re}nextCodePoint(){const re=N(this._str,this._len,this._offset);return this._offset+=re>=65536?2:1,re}eol(){return this._offset>=this._len}}e.CodePointIterator=O;class W{get offset(){return this._iterator.offset}constructor(re,oe=0){this._iterator=new O(re,oe)}nextGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.nextCodePoint());for(;!oe.eol();){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.nextCodePoint());if(ce(ve,Le)){oe.setOffset(Se);break}ve=Le}return oe.offset-ge}prevGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.prevCodePoint());for(;oe.offset>0;){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.prevCodePoint());if(ce(Le,ve)){oe.setOffset(Se);break}ve=Le}return ge-oe.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=W;function U($,re){return new W($,re).nextGraphemeLength()}e.nextCharLength=U;function j($,re){return new W($,re).prevGraphemeLength()}e.prevCharLength=j;function R($,re){re>0&&T($.charCodeAt(re))&&re--;const oe=re+U($,re);return[oe-j($,oe),oe]}e.getCharContainingOffset=R;let K;function G(){return/(?:[\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 Z($){return K||(K=G()),K.test($)}e.containsRTL=Z;const J=/^[\t\n\r\x20-\x7E]*$/;function X($){return J.test($)}e.isBasicASCII=X,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function H($){return e.UNUSUAL_LINE_TERMINATORS.test($)}e.containsUnusualLineTerminators=H;function B($){return $>=11904&&$<=55215||$>=63744&&$<=64255||$>=65281&&$<=65374}e.isFullWidthCharacter=B;function V($){return $>=127462&&$<=127487||$===8986||$===8987||$===9200||$===9203||$>=9728&&$<=10175||$===11088||$===11093||$>=127744&&$<=128591||$>=128640&&$<=128764||$>=128992&&$<=129008||$>=129280&&$<=129535||$>=129648&&$<=129782}e.isEmojiImprecise=V,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function Y($){return!!($&&$.length>0&&$.charCodeAt(0)===65279)}e.startsWithUTF8BOM=Y;function ie($,re=!1){return $?(re&&($=$.replace(/\\./g,"")),$.toLowerCase()!==$):!1}e.containsUppercaseCharacter=ie;function ae($){return $=$%(2*26),$<26?String.fromCharCode(97+$):String.fromCharCode(65+$-26)}e.singleLetterHash=ae;function ce($,re){return $===0?re!==5&&re!==7:$===2&&re===3?!1:$===4||$===2||$===3||re===4||re===2||re===3?!0:!($===8&&(re===8||re===9||re===11||re===12)||($===11||$===9)&&(re===9||re===10)||($===12||$===10)&&re===10||re===5||re===13||re===7||$===1||$===13&&re===14||$===6&&re===6)}class de{static getInstance(){return de._INSTANCE||(de._INSTANCE=new de),de._INSTANCE}constructor(){this._data=he()}getGraphemeBreakType(re){if(re<32)return re===10?3:re===13?2:4;if(re<127)return 0;const oe=this._data,ge=oe.length/3;let ve=1;for(;ve<=ge;)if(reoe[3*ve+1])ve=2*ve+1;else return oe[3*ve+2];return 0}}de._INSTANCE=null;function he(){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 ue($,re){if($===0)return 0;const oe=te($,re);if(oe!==void 0)return oe;const ge=new O(re,$);return ge.prevCodePoint(),ge.offset}e.getLeftDeleteOffset=ue;function te($,re){const oe=new O(re,$);let ge=oe.prevCodePoint();for(;q(ge)||ge===65039||ge===8419;){if(oe.offset===0)return;ge=oe.prevCodePoint()}if(!V(ge))return;let ve=oe.offset;return ve>0&&oe.prevCodePoint()===8205&&(ve=oe.offset),ve}function q($){return 127995<=$&&$<=127999}e.noBreakWhitespace="\xA0";class z{static getInstance(re){return y.cache.get(Array.from(re))}static getLocales(){return y._locales.value}constructor(re){this.confusableDictionary=re}isAmbiguous(re){return this.confusableDictionary.has(re)}getPrimaryConfusable(re){return this.confusableDictionary.get(re)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=z,y=z,z.ambiguousCharacterData=new k.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,119846,109],"_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]}')),z.cache=new L.LRUCachedFunction($=>{function re(Ee){const Me=new Map;for(let Pe=0;Pe!Ee.startsWith("_")&&Ee in ve);Se.length===0&&(Se=["_default"]);let Le;for(const Ee of Se){const Me=re(ve[Ee]);Le=ge(Le,Me)}const De=re(ve._common),ye=oe(De,Le);return new y(ye)}),z._locales=new k.Lazy(()=>Object.keys(y.ambiguousCharacterData.value).filter($=>!$.startsWith("_")));class ee{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(ee.getRawData())),this._data}static isInvisibleCharacter(re){return ee.getData().has(re)}static get codePoints(){return ee.getData()}}e.InvisibleCharacters=ee,ee._data=void 0}),define(ne[72],se([1,0,65,11]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScoreOptions=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy2=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function y(...q){return function(z,ee){for(let $=0,re=q.length;$0?[{start:0,end:z.length}]:[]:null}function S(q,z){const ee=z.toLowerCase().indexOf(q.toLowerCase());return ee===-1?null:[{start:ee,end:ee+q.length}]}e.matchesContiguousSubString=S;function f(q,z){return _(q.toLowerCase(),z.toLowerCase(),0,0)}e.matchesSubString=f;function _(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]===z[$]){let re=null;return(re=_(q,z,ee+1,$+1))?h({start:$,end:$+1},re):null}return _(q,z,ee,$+1)}function g(q){return 97<=q&&q<=122}function C(q){return 65<=q&&q<=90}e.isUpper=C;function s(q){return 48<=q&&q<=57}function i(q){return q===32||q===9||q===10||q===13}const n=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(q=>n.add(q.charCodeAt(0)));function t(q){return i(q)||n.has(q)}function a(q,z){return q===z||t(q)&&t(z)}function u(q){return g(q)||C(q)||s(q)}function h(q,z){return z.length===0?z=[q]:q.end===z[0].start?z[0].start=q.start:z.unshift(q),z}function r(q,z){for(let ee=z;ee0&&!u(q.charCodeAt(ee-1)))return ee}return q.length}function c(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]!==z[$].toLowerCase())return null;{let re=null,oe=$+1;for(re=c(q,z,ee+1,$+1);!re&&(oe=r(z,oe)).6}function l(q){const{upperPercent:z,lowerPercent:ee,alphaPercent:$,numericPercent:re}=q;return ee>.2&&z<.8&&$>.6&&re<.2}function p(q){let z=0,ee=0,$=0,re=0;for(let oe=0;oe60)return null;const ee=o(z);if(!l(ee)){if(!d(ee))return null;z=z.toLowerCase()}let $=null,re=0;for(q=q.toLowerCase();re0&&t(q.charCodeAt(ee-1)))return ee;return q.length}const E=y(e.matchesPrefix,m,S),I=y(e.matchesPrefix,m,f),M=new L.LRUCache(1e4);function P(q,z,ee=!1){if(typeof q!="string"||typeof z!="string")return null;let $=M.get(q);$||($=new RegExp(k.convertSimple2RegExpPattern(q),"i"),M.set(q,$));const re=$.exec(z);return re?[{start:re.index,end:re.index+re[0].length}]:ee?I(q,z):E(q,z)}e.matchesFuzzy=P;function x(q,z){const ee=ae(q,q.toLowerCase(),0,z,z.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return ee?A(ee):null}e.matchesFuzzy2=x;function T(q,z,ee,$,re,oe){const ge=Math.min(13,q.length);for(;ee"u")return[];const z=[],ee=q[1];for(let $=q.length-1;$>1;$--){const re=q[$]+ee,oe=z[z.length-1];oe&&oe.end===re?oe.end=re+1:z.push({start:re,end:re+1})}return z}e.createMatches=A;const N=128;function F(){const q=[],z=[];for(let ee=0;ee<=N;ee++)z[ee]=0;for(let ee=0;ee<=N;ee++)q.push(z.slice(0));return q}function O(q){const z=[];for(let ee=0;ee<=q;ee++)z[ee]=0;return z}const W=O(2*N),U=O(2*N),j=F(),R=F(),K=F(),G=!1;function Z(q,z,ee,$,re){function oe(ve,Se,Le=" "){for(;ve.lengthoe(ve,3)).join("|")} -`;for(let ve=0;ve<=ee;ve++)ve===0?ge+=" |":ge+=`${z[ve-1]}|`,ge+=q[ve].slice(0,re+1).map(Se=>oe(Se.toString(),3)).join("|")+` -`;return ge}function J(q,z,ee,$){q=q.substr(z),ee=ee.substr($),console.log(Z(R,q,q.length,ee,ee.length)),console.log(Z(K,q,q.length,ee,ee.length)),console.log(Z(j,q,q.length,ee,ee.length))}function X(q,z){if(z<0||z>=q.length)return!1;const ee=q.codePointAt(z);switch(ee){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!k.isEmojiImprecise(ee)}}function H(q,z){if(z<0||z>=q.length)return!1;switch(q.charCodeAt(z)){case 32:case 9:return!0;default:return!1}}function B(q,z,ee){return z[q]!==ee[q]}function V(q,z,ee,$,re,oe,ge=!1){for(;zN?N:q.length,Se=$.length>N?N:$.length;if(ee>=ve||oe>=Se||ve-ee>Se-oe||!V(z,ee,ve,re,oe,Se,!0))return;ce(ve,Se,ee,oe,z,re);let Le=1,De=1,ye=ee,Ee=oe;const Me=[!1];for(Le=1,ye=ee;yele,Ve=Re?R[Le][De-1]+(j[Le][De-1]>0?-5:0):0,ze=Ee>le+1&&j[Le][De-1]>0,We=ze?R[Le][De-2]+(j[Le][De-2]>0?-5:0):0;if(ze&&(!Re||We>=Ve)&&(!Ie||We>=Ne))R[Le][De]=We,K[Le][De]=3,j[Le][De]=0;else if(Re&&(!Ie||Ve>=Ne))R[Le][De]=Ve,K[Le][De]=2,j[Le][De]=0;else if(Ie)R[Le][De]=Ne,K[Le][De]=1,j[Le][De]=j[Le-1][De-1]+1;else throw new Error("not possible")}}if(G&&J(q,ee,$,oe),!Me[0]&&!ge.firstMatchCanBeWeak)return;Le--,De--;const Pe=[R[Le][De],oe];let Fe=0,_e=0;for(;Le>=1;){let le=De;do{const pe=K[Le][le];if(pe===3)le=le-2;else if(pe===2)le=le-1;else break}while(le>=1);Fe>1&&z[ee+Le-1]===re[oe+De-1]&&!B(le+oe-1,$,re)&&Fe+1>j[Le][le]&&(le=De),le===De?Fe++:Fe=1,_e||(_e=le),Le--,De=le-1,Pe.push(De)}Se===ve&&ge.boostFullMatch&&(Pe[0]+=2);const me=_e-ve;return Pe[0]-=me,Pe}e.fuzzyScore=ae;function ce(q,z,ee,$,re,oe){let ge=q-1,ve=z-1;for(;ge>=ee&&ve>=$;)re[ge]===oe[ve]&&(U[ge]=ve,ge--),ve--}function de(q,z,ee,$,re,oe,ge,ve,Se,Le,De){if(z[ee]!==oe[ge])return Number.MIN_SAFE_INTEGER;let ye=1,Ee=!1;return ge===ee-$?ye=q[ee]===re[ge]?7:5:B(ge,re,oe)&&(ge===0||!B(ge-1,re,oe))?(ye=q[ee]===re[ge]?7:5,Ee=!0):X(oe,ge)&&(ge===0||!X(oe,ge-1))?ye=5:(X(oe,ge-1)||H(oe,ge-1))&&(ye=5,Ee=!0),ye>1&&ee===$&&(De[0]=!0),Ee||(Ee=B(ge,re,oe)||X(oe,ge-1)||H(oe,ge-1)),ee===$?ge>Se&&(ye-=Ee?3:5):Le?ye+=Ee?2:0:ye+=Ee?0:1,ge+1===ve&&(ye-=Ee?3:5),ye}function he(q,z,ee,$,re,oe,ge){return ue(q,z,ee,$,re,oe,!0,ge)}e.fuzzyScoreGracefulAggressive=he;function ue(q,z,ee,$,re,oe,ge,ve){let Se=ae(q,z,ee,$,re,oe,ve);if(Se&&!ge)return Se;if(q.length>=3){const Le=Math.min(7,q.length-1);for(let De=ee+1;DeSe[0])&&(Se=Ee))}}}return Se}function te(q,z){if(z+1>=q.length)return;const ee=q[z],$=q[z+1];if(ee!==$)return q.slice(0,z)+$+ee+q.slice(z+2)}}),define(ne[143],se([1,0,11]),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 k(a){return y(a,0)}e.hash=k;function y(a,u){switch(typeof a){case"object":return a===null?D(349,u):Array.isArray(a)?_(a,u):g(a,u);case"string":return f(a,u);case"boolean":return S(a,u);case"number":return D(a,u);case"undefined":return D(937,u);default:return D(617,u)}}e.doHash=y;function D(a,u){return(u<<5)-u+a|0}e.numberHash=D;function S(a,u){return D(a?433:863,u)}function f(a,u){u=D(149417,u);for(let h=0,r=a.length;hy(r,h),u)}function g(a,u){return u=D(181387,u),Object.keys(a).sort().reduce((h,r)=>(h=f(r,h),y(a[r],h)),u)}function C(a,u,h=32){const r=h-u,c=~((1<>>r)>>>0}function s(a,u=0,h=a.byteLength,r=0){for(let c=0;ch.toString(16).padStart(2,"0")).join(""):i((a>>>0).toString(16),u/4)}e.toHexString=n;class t{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(u){const h=u.length;if(h===0)return;const r=this._buff;let c=this._buffLen,o=this._leftoverHighSurrogate,d,l;for(o!==0?(d=o,l=-1,o=0):(d=u.charCodeAt(0),l=0);;){let p=d;if(L.isHighSurrogate(d))if(l+1>>6,u[h++]=128|(r&63)>>>0):r<65536?(u[h++]=224|(r&61440)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0):(u[h++]=240|(r&1835008)>>>18,u[h++]=128|(r&258048)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0),h>=64&&(this._step(),h-=64,this._totalLen+=64,u[0]=u[64+0],u[1]=u[64+1],u[2]=u[64+2]),h}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()),n(this._h0)+n(this._h1)+n(this._h2)+n(this._h3)+n(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,s(this._buff,this._buffLen),this._buffLen>56&&(this._step(),s(this._buff));const u=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(u/4294967296),!1),this._buffDV.setUint32(60,u%4294967296,!1),this._step()}_step(){const u=t._bigBlock32,h=this._buffDV;for(let b=0;b<64;b+=4)u.setUint32(b,h.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)u.setUint32(b,C(u.getUint32(b-12,!1)^u.getUint32(b-32,!1)^u.getUint32(b-56,!1)^u.getUint32(b-64,!1),1),!1);let r=this._h0,c=this._h1,o=this._h2,d=this._h3,l=this._h4,p,m,v;for(let b=0;b<80;b++)b<20?(p=c&o|~c&d,m=1518500249):b<40?(p=c^o^d,m=1859775393):b<60?(p=c&o|c&d|o&d,m=2400959708):(p=c^o^d,m=3395469782),v=C(r,5)+p+l+m+u.getUint32(b*4,!1)&4294967295,l=d,d=o,o=C(c,30),c=r,r=v;this._h0=this._h0+r&4294967295,this._h1=this._h1+c&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+l&4294967295}}e.StringSHA1=t,t._bigBlock32=new DataView(new ArrayBuffer(320))}),define(ne[168],se([1,0,383,143]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.stringDiff=e.StringDiffSequence=void 0;class y{constructor(s){this.source=s}getElements(){const s=this.source,i=new Int32Array(s.length);for(let n=0,t=s.length;n0||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(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),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 g{constructor(s,i,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=s,this._modifiedSequence=i;const[t,a,u]=g._getElements(s),[h,r,c]=g._getElements(i);this._hasStrings=u&&c,this._originalStringElements=t,this._originalElementsOrHash=a,this._modifiedStringElements=h,this._modifiedElementsOrHash=r,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(s){return s.length>0&&typeof s[0]=="string"}static _getElements(s){const i=s.getElements();if(g._isStringArray(i)){const n=new Int32Array(i.length);for(let t=0,a=i.length;t=s&&t>=n&&this.ElementsAreEqual(i,t);)i--,t--;if(s>i||n>t){let d;return n<=t?(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),d=[new L.DiffChange(s,0,n,t-n+1)]):s<=i?(S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[new L.DiffChange(s,i-s+1,n,0)]):(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const u=[0],h=[0],r=this.ComputeRecursionPoint(s,i,n,t,u,h,a),c=u[0],o=h[0];if(r!==null)return r;if(!a[0]){const d=this.ComputeDiffRecursive(s,c,n,o,a);let l=[];return a[0]?l=[new L.DiffChange(c+1,i-(c+1)+1,o+1,t-(o+1)+1)]:l=this.ComputeDiffRecursive(c+1,i,o+1,t,a),this.ConcatenateChanges(d,l)}return[new L.DiffChange(s,i-s+1,n,t-n+1)]}WALKTRACE(s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E){let I=null,M=null,P=new _,x=i,T=n,A=p[0]-b[0]-t,N=-1073741824,F=this.m_forwardHistory.length-1;do{const O=A+s;O===x||O=0&&(c=this.m_forwardHistory[F],s=c[0],x=1,T=c.length-1)}while(--F>=-1);if(I=P.getReverseChanges(),E[0]){let O=p[0]+1,W=b[0]+1;if(I!==null&&I.length>0){const U=I[I.length-1];O=Math.max(O,U.getOriginalEnd()),W=Math.max(W,U.getModifiedEnd())}M=[new L.DiffChange(O,l-O+1,W,v-W+1)]}else{P=new _,x=u,T=h,A=p[0]-b[0]-r,N=1073741824,F=w?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const O=A+a;O===x||O=o[O+1]?(d=o[O+1]-1,m=d-A-r,d>N&&P.MarkNextChange(),N=d+1,P.AddOriginalElement(d+1,m+1),A=O+1-a):(d=o[O-1],m=d-A-r,d>N&&P.MarkNextChange(),N=d,P.AddModifiedElement(d+1,m+1),A=O-1-a),F>=0&&(o=this.m_reverseHistory[F],a=o[0],x=1,T=o.length-1)}while(--F>=-1);M=P.getChanges()}return this.ConcatenateChanges(I,M)}ComputeRecursionPoint(s,i,n,t,a,u,h){let r=0,c=0,o=0,d=0,l=0,p=0;s--,n--,a[0]=0,u[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=i-s+(t-n),v=m+1,b=new Int32Array(v),w=new Int32Array(v),E=t-n,I=i-s,M=s-n,P=i-t,T=(I-E)%2===0;b[E]=s,w[I]=i,h[0]=!1;for(let A=1;A<=m/2+1;A++){let N=0,F=0;o=this.ClipDiagonalBound(E-A,A,E,v),d=this.ClipDiagonalBound(E+A,A,E,v);for(let W=o;W<=d;W+=2){W===o||WN+F&&(N=r,F=c),!T&&Math.abs(W-I)<=A-1&&r>=w[W])return a[0]=r,u[0]=c,U<=w[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}const O=(N-s+(F-n)-A)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(N,O))return h[0]=!0,a[0]=N,u[0]=F,O>0&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):(s++,n++,[new L.DiffChange(s,i-s+1,n,t-n+1)]);l=this.ClipDiagonalBound(I-A,A,I,v),p=this.ClipDiagonalBound(I+A,A,I,v);for(let W=l;W<=p;W+=2){W===l||W=w[W+1]?r=w[W+1]-1:r=w[W-1],c=r-(W-I)-P;const U=r;for(;r>s&&c>n&&this.ElementsAreEqual(r,c);)r--,c--;if(w[W]=r,T&&Math.abs(W-E)<=A&&r<=b[W])return a[0]=r,u[0]=c,U>=b[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}if(A<=1447){let W=new Int32Array(d-o+2);W[0]=E-o+1,f.Copy2(b,o,W,1,d-o+1),this.m_forwardHistory.push(W),W=new Int32Array(p-l+2),W[0]=I-l+1,f.Copy2(w,l,W,1,p-l+1),this.m_reverseHistory.push(W)}}return this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h)}PrettifyChanges(s){for(let i=0;i0,h=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;i--){const n=s[i];let t=0,a=0;if(i>0){const d=s[i-1];t=d.originalStart+d.originalLength,a=d.modifiedStart+d.modifiedLength}const u=n.originalLength>0,h=n.modifiedLength>0;let r=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let d=1;;d++){const l=n.originalStart-d,p=n.modifiedStart-d;if(lc&&(c=v,r=d)}n.originalStart-=r,n.modifiedStart-=r;const o=[null];if(i>0&&this.ChangesOverlap(s[i-1],s[i],o)){s[i-1]=o[0],s.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,n=s.length;i0&&p>r&&(r=p,c=d,o=l)}return r>0?[c,o]:null}_contiguousSequenceScore(s,i,n){let t=0;for(let a=0;a=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[s])}_OriginalRegionIsBoundary(s,i){if(this._OriginalIsBoundary(s)||this._OriginalIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(s){return s<=0||s>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[s])}_ModifiedRegionIsBoundary(s,i){if(this._ModifiedIsBoundary(s)||this._ModifiedIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(s,i,n,t){const a=this._OriginalRegionIsBoundary(s,i)?1:0,u=this._ModifiedRegionIsBoundary(n,t)?1:0;return a+u}ConcatenateChanges(s,i){const n=[];if(s.length===0||i.length===0)return i.length>0?i:s;if(this.ChangesOverlap(s[s.length-1],i[0],n)){const t=new Array(s.length+i.length-1);return f.Copy(s,0,t,0,s.length-1),t[s.length-1]=n[0],f.Copy(i,1,t,s.length,i.length-1),t}else{const t=new Array(s.length+i.length);return f.Copy(s,0,t,0,s.length),f.Copy(i,0,t,s.length,i.length),t}}ChangesOverlap(s,i,n){if(S.Assert(s.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),S.Assert(s.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),s.originalStart+s.originalLength>=i.originalStart||s.modifiedStart+s.modifiedLength>=i.modifiedStart){const t=s.originalStart;let a=s.originalLength;const u=s.modifiedStart;let h=s.modifiedLength;return s.originalStart+s.originalLength>=i.originalStart&&(a=i.originalStart+i.originalLength-s.originalStart),s.modifiedStart+s.modifiedLength>=i.modifiedStart&&(h=i.modifiedStart+i.modifiedLength-s.modifiedStart),n[0]=new L.DiffChange(t,a,u,h),!0}else return n[0]=null,!1}ClipDiagonalBound(s,i,n,t){if(s>=0&&s0?f[0].toUpperCase()+f.substr(1):S[0][0].toUpperCase()!==S[0][0]&&f.length>0?f[0].toLowerCase()+f.substr(1):f}else return f}e.buildReplaceStringWithCasePreserved=k;function y(S,f,_){return S[0].indexOf(_)!==-1&&f.indexOf(_)!==-1&&S[0].split(_).length===f.split(_).length}function D(S,f,_){const g=f.split(_),C=S[0].split(_);let s="";return g.forEach((i,n)=>{s+=k([C[n]],i)+_}),s.slice(0,-1)}}),define(ne[101],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var k;(function(y){y[y.Ignore=0]="Ignore",y[y.Info=1]="Info",y[y.Warning=2]="Warning",y[y.Error=3]="Error"})(k||(k={})),function(y){const D="error",S="warning",f="warn",_="info",g="ignore";function C(i){return i?L.equalsIgnoreCase(D,i)?y.Error:L.equalsIgnoreCase(S,i)||L.equalsIgnoreCase(f,i)?y.Warning:L.equalsIgnoreCase(_,i)?y.Info:y.Ignore:y.Ignore}y.fromValue=C;function s(i){switch(i){case y.Error:return D;case y.Warning:return S;case y.Info:return _;default:return g}}y.toString=s}(k||(k={})),e.default=k}),define(ne[264],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MicrotaskDelay=void 0,e.MicrotaskDelay=Symbol("MicrotaskDelay")}),define(ne[198],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TernarySearchTree=e.UriIterator=e.PathIterator=e.ConfigKeysIterator=e.StringIterator=void 0;class k{constructor(){this._value="",this._pos=0}reset(C){return this._value=C,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;s--,this._valueLen--){const i=this._value.charCodeAt(s);if(!(i===47||this._splitOnBackslash&&i===92))break}return this.next()}hasNext(){return this._to!1,s=()=>!1){return new _(new S(C,s))}static forStrings(){return new _(new k)}static forConfigKeys(){return new _(new y)}constructor(C){this._iter=C}clear(){this._root=void 0}set(C,s){const i=this._iter.reset(C);let n;this._root||(this._root=new f,this._root.segment=i.value());const t=[];for(n=this._root;;){const u=i.cmp(n.segment);if(u>0)n.left||(n.left=new f,n.left.segment=i.value()),t.push([-1,n]),n=n.left;else if(u<0)n.right||(n.right=new f,n.right.segment=i.value()),t.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new f,n.mid.segment=i.value()),t.push([0,n]),n=n.mid;else break}const a=n.value;n.value=s,n.key=C;for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r<-1||r>1){const c=t[u][0],o=t[u+1][0];if(c===1&&o===1)t[u][1]=h.rotateLeft();else if(c===-1&&o===-1)t[u][1]=h.rotateRight();else if(c===1&&o===-1)h.right=t[u+1][1]=t[u+1][1].rotateRight(),t[u][1]=h.rotateLeft();else if(c===-1&&o===1)h.left=t[u+1][1]=t[u+1][1].rotateLeft(),t[u][1]=h.rotateRight();else throw new Error;if(u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}return a}get(C){var s;return(s=this._getNode(C))===null||s===void 0?void 0:s.value}_getNode(C){const s=this._iter.reset(C);let i=this._root;for(;i;){const n=s.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(s.hasNext())s.next(),i=i.mid;else break}return i}has(C){const s=this._getNode(C);return!(s?.value===void 0&&s?.mid===void 0)}delete(C){return this._delete(C,!1)}deleteSuperstr(C){return this._delete(C,!0)}_delete(C,s){var i;const n=this._iter.reset(C),t=[];let a=this._root;for(;a;){const u=n.cmp(a.segment);if(u>0)t.push([-1,a]),a=a.left;else if(u<0)t.push([1,a]),a=a.right;else if(n.hasNext())n.next(),t.push([0,a]),a=a.mid;else break}if(a){if(s?(a.left=void 0,a.mid=void 0,a.right=void 0,a.height=1):(a.key=void 0,a.value=void 0),!a.mid&&!a.value)if(a.left&&a.right){const u=this._min(a.right);if(u.key){const{key:h,value:r,segment:c}=u;this._delete(u.key,!1),a.key=h,a.value=r,a.segment=c}}else{const u=(i=a.left)!==null&&i!==void 0?i:a.right;if(t.length>0){const[h,r]=t[t.length-1];switch(h){case-1:r.left=u;break;case 0:r.mid=u;break;case 1:r.right=u;break}}else this._root=u}for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r>1?(h.right.balanceFactor()>=0||(h.right=h.right.rotateRight()),t[u][1]=h.rotateLeft()):r<-1&&(h.left.balanceFactor()<=0||(h.left=h.left.rotateLeft()),t[u][1]=h.rotateRight()),u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}}_min(C){for(;C.left;)C=C.left;return C}findSubstr(C){const s=this._iter.reset(C);let i=this._root,n;for(;i;){const t=s.cmp(i.segment);if(t>0)i=i.left;else if(t<0)i=i.right;else if(s.hasNext())s.next(),n=i.value||n,i=i.mid;else break}return i&&i.value||n}findSuperstr(C){return this._findSuperstrOrElement(C,!1)}_findSuperstrOrElement(C,s){const i=this._iter.reset(C);let n=this._root;for(;n;){const t=i.cmp(n.segment);if(t>0)n=n.left;else if(t<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this._entries(n.mid):s?n.value:void 0}}forEach(C){for(const[s,i]of this)C(i,s)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(C){const s=[];return this._dfsEntries(C,s),s[Symbol.iterator]()}_dfsEntries(C,s){C&&(C.left&&this._dfsEntries(C.left,s),C.value&&s.push([C.key,C.value]),C.mid&&this._dfsEntries(C.mid,s),C.right&&this._dfsEntries(C.right,s))}}e.TernarySearchTree=_}),define(ne[20],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isString=void 0;function L(u){return typeof u=="string"}e.isString=L;function k(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}e.isObject=k;function y(u){const h=Object.getPrototypeOf(Uint8Array);return typeof u=="object"&&u instanceof h}e.isTypedArray=y;function D(u){return typeof u=="number"&&!isNaN(u)}e.isNumber=D;function S(u){return!!u&&typeof u[Symbol.iterator]=="function"}e.isIterable=S;function f(u){return u===!0||u===!1}e.isBoolean=f;function _(u){return typeof u>"u"}e.isUndefined=_;function g(u){return!C(u)}e.isDefined=g;function C(u){return _(u)||u===null}e.isUndefinedOrNull=C;function s(u,h){if(!u)throw new Error(h?`Unexpected type, expected '${h}'`:"Unexpected type")}e.assertType=s;function i(u){if(C(u))throw new Error("Assertion Failed: argument is undefined or null");return u}e.assertIsDefined=i;function n(u){return typeof u=="function"}e.isFunction=n;function t(u,h){const r=Math.min(u.length,h.length);for(let c=0;c{t[a]=u&&typeof u=="object"?k(u):u}),t}e.deepClone=k;function y(n){if(!n||typeof n!="object")return n;const t=[n];for(;t.length>0;){const a=t.shift();Object.freeze(a);for(const u in a)if(D.call(a,u)){const h=a[u];typeof h=="object"&&!Object.isFrozen(h)&&!(0,L.isTypedArray)(h)&&t.push(h)}}return n}e.deepFreeze=y;const D=Object.prototype.hasOwnProperty;function S(n,t){return f(n,t,new Set)}e.cloneAndChange=S;function f(n,t,a){if((0,L.isUndefinedOrNull)(n))return n;const u=t(n);if(typeof u<"u")return u;if(Array.isArray(n)){const h=[];for(const r of n)h.push(f(r,t,a));return h}if((0,L.isObject)(n)){if(a.has(n))throw new Error("Cannot clone recursive data-structure");a.add(n);const h={};for(const r in n)D.call(n,r)&&(h[r]=f(n[r],t,a));return a.delete(n),h}return n}function _(n,t,a=!0){return(0,L.isObject)(n)?((0,L.isObject)(t)&&Object.keys(t).forEach(u=>{u in n?a&&((0,L.isObject)(n[u])&&(0,L.isObject)(t[u])?_(n[u],t[u],a):n[u]=t[u]):n[u]=t[u]}),n):t}e.mixin=_;function g(n,t){if(n===t)return!0;if(n==null||t===null||t===void 0||typeof n!=typeof t||typeof n!="object"||Array.isArray(n)!==Array.isArray(t))return!1;let a,u;if(Array.isArray(n)){if(n.length!==t.length)return!1;for(a=0;afunction(){const r=Array.prototype.slice.call(arguments,0);return t(h,r)},u={};for(const h of n)u[h]=a(h);return u}e.createProxyObject=i}),define(ne[26],se([1,0,25]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ThemeIcon=e.ThemeColor=void 0;var k;(function(D){function S(f){return f&&typeof f=="object"&&typeof f.id=="string"}D.isThemeColor=S})(k||(e.ThemeColor=k={}));var y;(function(D){D.iconNameSegment="[A-Za-z0-9]+",D.iconNameExpression="[A-Za-z0-9-]+",D.iconModifierExpression="~[A-Za-z]+",D.iconNameCharacter="[A-Za-z0-9~-]";const S=new RegExp(`^(${D.iconNameExpression})(${D.iconModifierExpression})?$`);function f(h){const r=S.exec(h.id);if(!r)return f(L.Codicon.error);const[,c,o]=r,d=["codicon","codicon-"+c];return o&&d.push("codicon-modifier-"+o.substring(1)),d}D.asClassNameArray=f;function _(h){return f(h).join(" ")}D.asClassName=_;function g(h){return"."+f(h).join(".")}D.asCSSSelector=g;function C(h){return h&&typeof h=="object"&&typeof h.id=="string"&&(typeof h.color>"u"||k.isThemeColor(h.color))}D.isThemeIcon=C;const s=new RegExp(`^\\$\\((${D.iconNameExpression}(?:${D.iconModifierExpression})?)\\)$`);function i(h){const r=s.exec(h);if(!r)return;const[,c]=r;return{id:c}}D.fromString=i;function n(h){return{id:h}}D.fromId=n;function t(h,r){let c=h.id;const o=c.lastIndexOf("~");return o!==-1&&(c=c.substring(0,o)),r&&(c=`${c}~${r}`),{id:c}}D.modify=t;function a(h){const r=h.id.lastIndexOf("~");if(r!==-1)return h.id.substring(r+1)}D.getModifier=a;function u(h,r){var c,o;return h.id===r.id&&((c=h.color)===null||c===void 0?void 0:c.id)===((o=r.color)===null||o===void 0?void 0:o.id)}D.isEqual=u})(y||(e.ThemeIcon=y={}))}),define(ne[120],se([1,0,72,11,26]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.getCodiconAriaLabel=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=void 0;const D="$(",S=new RegExp(`\\$\\(${y.ThemeIcon.iconNameExpression}(?:${y.ThemeIcon.iconModifierExpression})?\\)`,"g"),f=new RegExp(`(\\\\)?${S.source}`,"g");function _(h){return h.replace(f,(r,c)=>c?r:`\\${r}`)}e.escapeIcons=_;const g=new RegExp(`\\\\${S.source}`,"g");function C(h){return h.replace(g,r=>`\\${r}`)}e.markdownEscapeEscapedIcons=C;const s=new RegExp(`(\\s)?(\\\\)?${S.source}(\\s)?`,"g");function i(h){return h.indexOf(D)===-1?h:h.replace(s,(r,c,o,d)=>o?r:c||d||"")}e.stripIcons=i;function n(h){return h?h.replace(/\$\((.*?)\)/g,(r,c)=>` ${c} `).trim():""}e.getCodiconAriaLabel=n;const t=new RegExp(`\\$\\(${y.ThemeIcon.iconNameCharacter}+\\)`,"g");function a(h){t.lastIndex=0;let r="";const c=[];let o=0;for(;;){const d=t.lastIndex,l=t.exec(h),p=h.substring(d,l?.index);if(p.length>0){r+=p;for(let m=0;m255?255:y|0}e.toUint8=L;function k(y){return y<0?0:y>4294967295?4294967295:y|0}e.toUint32=k}),define(ne[170],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let L;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?L=crypto.getRandomValues.bind(crypto):L=function(D){for(let S=0;Swe(this,void 0,void 0,function*(){return s}),asFile:()=>{},value:typeof s=="string"?s:void 0}}e.createStringDataTransferItem=D;function S(s,i,n){const t={id:(0,y.generateUuid)(),name:s,uri:i,data:n};return{asString:()=>we(this,void 0,void 0,function*(){return""}),asFile:()=>t,value:void 0}}e.createFileDataTransferItem=S;class f{constructor(){this._entries=new Map}get size(){let i=0;for(const n of this._entries)i++;return i}has(i){return this._entries.has(this.toKey(i))}matches(i){const n=[...this._entries.keys()];return k.Iterable.some(this,([t,a])=>a.asFile())&&n.push("files"),C(_(i),n)}get(i){var n;return(n=this._entries.get(this.toKey(i)))===null||n===void 0?void 0:n[0]}append(i,n){const t=this._entries.get(i);t?t.push(n):this._entries.set(this.toKey(i),[n])}replace(i,n){this._entries.set(this.toKey(i),[n])}delete(i){this._entries.delete(this.toKey(i))}*[Symbol.iterator](){for(const[i,n]of this._entries)for(const t of n)yield[i,t]}toKey(i){return _(i)}}e.VSDataTransfer=f;function _(s){return s.toLowerCase()}function g(s,i){return C(_(s),i.map(_))}e.matchesMimeType=g;function C(s,i){if(s==="*/*")return i.length>0;if(i.includes(s))return!0;const n=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!n)return!1;const[t,a,u]=n;return u==="*"?i.some(h=>h.startsWith(a+"/")):!1}e.UriList=Object.freeze({create:s=>(0,L.distinct)(s.map(i=>i.toString())).join(`\r -`),split:s=>s.split(`\r -`),parse:s=>e.UriList.split(s).filter(i=>!i.startsWith("#"))})}),define(ne[265],se([10]),{}),define(ne[393],se([10]),{}),define(ne[394],se([10]),{}),define(ne[395],se([10]),{}),define(ne[396],se([10]),{}),define(ne[172],se([1,0,395,396]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[397],se([10]),{}),define(ne[398],se([10]),{}),define(ne[266],se([10]),{}),define(ne[267],se([10]),{}),define(ne[399],se([10]),{}),define(ne[400],se([10]),{}),define(ne[401],se([10]),{}),define(ne[402],se([10]),{}),define(ne[268],se([10]),{}),define(ne[403],se([10]),{}),define(ne[173],se([1,0,403]),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(ne[404],se([10]),{}),define(ne[405],se([10]),{}),define(ne[406],se([10]),{}),define(ne[407],se([10]),{}),define(ne[408],se([10]),{}),define(ne[409],se([10]),{}),define(ne[410],se([10]),{}),define(ne[411],se([10]),{}),define(ne[412],se([10]),{}),define(ne[413],se([10]),{}),define(ne[414],se([10]),{}),define(ne[415],se([10]),{}),define(ne[416],se([10]),{}),define(ne[417],se([10]),{}),define(ne[418],se([10]),{}),define(ne[419],se([10]),{}),define(ne[420],se([10]),{}),define(ne[421],se([10]),{}),define(ne[422],se([10]),{}),define(ne[423],se([10]),{}),define(ne[424],se([10]),{}),define(ne[425],se([10]),{}),define(ne[426],se([10]),{}),define(ne[427],se([10]),{}),define(ne[428],se([10]),{}),define(ne[429],se([10]),{}),define(ne[430],se([10]),{}),define(ne[431],se([10]),{}),define(ne[432],se([10]),{}),define(ne[433],se([10]),{}),define(ne[434],se([10]),{}),define(ne[435],se([10]),{}),define(ne[436],se([10]),{}),define(ne[437],se([10]),{}),define(ne[438],se([10]),{}),define(ne[439],se([10]),{}),define(ne[199],se([10]),{}),define(ne[440],se([10]),{}),define(ne[441],se([10]),{}),define(ne[442],se([10]),{}),define(ne[443],se([10]),{}),define(ne[444],se([10]),{}),define(ne[445],se([10]),{}),define(ne[446],se([10]),{}),define(ne[447],se([10]),{}),define(ne[448],se([10]),{}),define(ne[449],se([10]),{}),define(ne[450],se([10]),{}),define(ne[451],se([10]),{}),define(ne[452],se([10]),{}),define(ne[453],se([10]),{}),define(ne[454],se([10]),{}),define(ne[455],se([10]),{}),define(ne[456],se([10]),{}),define(ne[457],se([10]),{}),define(ne[458],se([10]),{}),define(ne[459],se([10]),{}),define(ne[460],se([10]),{}),define(ne[461],se([10]),{}),define(ne[462],se([10]),{}),define(ne[463],se([10]),{}),define(ne[464],se([10]),{}),define(ne[465],se([10]),{}),define(ne[466],se([10]),{}),define(ne[467],se([10]),{}),define(ne[468],se([10]),{}),define(ne[469],se([10]),{}),define(ne[470],se([10]),{}),define(ne[471],se([10]),{}),define(ne[269],se([10]),{}),define(ne[472],se([10]),{}),define(ne[473],se([10]),{}),define(ne[174],se([10]),{}),define(ne[474],se([10]),{}),define(ne[59],se([1,0,35]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyFontInfo=void 0;function k(y,D){y instanceof L.FastDomNode?(y.setFontFamily(D.getMassagedFontFamily()),y.setFontWeight(D.fontWeight),y.setFontSize(D.fontSize),y.setFontFeatureSettings(D.fontFeatureSettings),y.setFontVariationSettings(D.fontVariationSettings),y.setLineHeight(D.lineHeight),y.setLetterSpacing(D.letterSpacing)):(y.style.fontFamily=D.getMassagedFontFamily(),y.style.fontWeight=D.fontWeight,y.style.fontSize=D.fontSize+"px",y.style.fontFeatureSettings=D.fontFeatureSettings,y.style.fontVariationSettings=D.fontVariationSettings,y.style.lineHeight=D.lineHeight+"px",y.style.letterSpacing=D.letterSpacing+"px")}e.applyFontInfo=k}),define(ne[475],se([1,0,59]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCharWidths=e.CharWidthRequest=void 0;class k{constructor(f,_){this.chr=f,this.type=_,this.width=0}fulfill(f){this.width=f}}e.CharWidthRequest=k;class y{constructor(f,_){this._bareFontInfo=f,this._requests=_,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const f=document.createElement("div");f.style.position="absolute",f.style.top="-50000px",f.style.width="50000px";const _=document.createElement("div");(0,L.applyFontInfo)(_,this._bareFontInfo),f.appendChild(_);const g=document.createElement("div");(0,L.applyFontInfo)(g,this._bareFontInfo),g.style.fontWeight="bold",f.appendChild(g);const C=document.createElement("div");(0,L.applyFontInfo)(C,this._bareFontInfo),C.style.fontStyle="italic",f.appendChild(C);const s=[];for(const i of this._requests){let n;i.type===0&&(n=_),i.type===2&&(n=g),i.type===1&&(n=C),n.appendChild(document.createElement("br"));const t=document.createElement("span");y._render(t,i),n.appendChild(t),s.push(t)}this._container=f,this._testElements=s}static _render(f,_){if(_.chr===" "){let g="\xA0";for(let C=0;C<8;C++)g+=g;f.innerText=g}else{let g=_.chr;for(let C=0;C<8;C++)g+=g;f.textContent=g}}_readFromDomElements(){for(let f=0,_=this._requests.length;f<_;f++){const g=this._requests[f],C=this._testElements[f];g.fulfill(C.offsetWidth/256)}}}function D(S,f){new y(S,f).read()}e.readCharWidths=D}),define(ne[200],se([1,0,2,6]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ElementSizeObserver=void 0;class y extends L.Disposable{constructor(S,f){super(),this._onDidChange=this._register(new k.Emitter),this.onDidChange=this._onDidChange.event,this._referenceDomElement=S,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,f)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let S=null;const f=()=>{S?this.observe({width:S.width,height:S.height}):this.observe()};let _=!1,g=!1;const C=()=>{if(_&&!g)try{_=!1,g=!0,f()}finally{requestAnimationFrame(()=>{g=!1,C()})}};this._resizeObserver=new ResizeObserver(s=>{S=s&&s[0]&&s[0].contentRect?s[0].contentRect:null,_=!0,C()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(S){this.measureReferenceDomElement(!0,S)}measureReferenceDomElement(S,f){let _=0,g=0;f?(_=f.width,g=f.height):this._referenceDomElement&&(_=this._referenceDomElement.clientWidth,g=this._referenceDomElement.clientHeight),_=Math.max(5,_),g=Math.max(5,g),(this._width!==_||this._height!==g)&&(this._width=_,this._height=g,S&&this._onDidChange.fire())}}e.ElementSizeObserver=y}),define(ne[476],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.migrateOptions=e.EditorSettingMigration=void 0;class L{constructor(_,g){this.key=_,this.migrate=g}apply(_){const g=L._read(_,this.key),C=i=>L._read(_,i),s=(i,n)=>L._write(_,i,n);this.migrate(g,C,s)}static _read(_,g){if(typeof _>"u")return;const C=g.indexOf(".");if(C>=0){const s=g.substring(0,C);return this._read(_[s],g.substring(C+1))}return _[g]}static _write(_,g,C){const s=g.indexOf(".");if(s>=0){const i=g.substring(0,s);_[i]=_[i]||{},this._write(_[i],g.substring(s+1),C);return}_[g]=C}}e.EditorSettingMigration=L,L.items=[];function k(f,_){L.items.push(new L(f,_))}function y(f,_){k(f,(g,C,s)=>{if(typeof g<"u"){for(const[i,n]of _)if(g===i){s(f,n);return}}})}function D(f){L.items.forEach(_=>_.apply(f))}e.migrateOptions=D,y("wordWrap",[[!0,"on"],[!1,"off"]]),y("lineNumbers",[[!0,"on"],[!1,"off"]]),y("cursorBlinking",[["visible","solid"]]),y("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),y("renderLineHighlight",[[!0,"line"],[!1,"none"]]),y("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),y("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),y("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("autoIndent",[[!1,"advanced"],[!0,"full"]]),y("matchBrackets",[[!0,"always"],[!1,"never"]]),y("renderFinalNewline",[[!0,"on"],[!1,"off"]]),y("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),k("autoClosingBrackets",(f,_,g)=>{f===!1&&(g("autoClosingBrackets","never"),typeof _("autoClosingQuotes")>"u"&&g("autoClosingQuotes","never"),typeof _("autoSurround")>"u"&&g("autoSurround","never"))}),k("renderIndentGuides",(f,_,g)=>{typeof f<"u"&&(g("renderIndentGuides",void 0),typeof _("guides.indentation")>"u"&&g("guides.indentation",!!f))}),k("highlightActiveIndentGuide",(f,_,g)=>{typeof f<"u"&&(g("highlightActiveIndentGuide",void 0),typeof _("guides.highlightActiveIndentation")>"u"&&g("guides.highlightActiveIndentation",!!f))});const S={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};k("suggest.filteredTypes",(f,_,g)=>{if(f&&typeof f=="object"){for(const C of Object.entries(S))f[C[0]]===!1&&typeof _(`suggest.${C[1]}`)>"u"&&g(`suggest.${C[1]}`,!1);g("suggest.filteredTypes",void 0)}}),k("quickSuggestions",(f,_,g)=>{if(typeof f=="boolean"){const C=f?"on":"off";g("quickSuggestions",{comments:C,strings:C,other:C})}}),k("experimental.stickyScroll.enabled",(f,_,g)=>{typeof f=="boolean"&&(g("experimental.stickyScroll.enabled",void 0),typeof _("stickyScroll.enabled")>"u"&&g("stickyScroll.enabled",f))}),k("experimental.stickyScroll.maxLineCount",(f,_,g)=>{typeof f=="number"&&(g("experimental.stickyScroll.maxLineCount",void 0),typeof _("stickyScroll.maxLineCount")>"u"&&g("stickyScroll.maxLineCount",f))})}),define(ne[201],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabFocus=void 0;class k{constructor(){this._tabFocusTerminal=!1,this._tabFocusEditor=!1,this._onDidChangeTabFocus=new L.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(D){return D==="terminalFocus"?this._tabFocusTerminal:this._tabFocusEditor}setTabFocusMode(D,S){S==="terminalFocus"?this._tabFocusTerminal=D:this._tabFocusEditor=D,this._onDidChangeTabFocus.fire()}}e.TabFocus=new k}),define(ne[108],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class L{static capture(y){if(y.getScrollTop()===0||y.hasPendingScrollAnimation())return new L(y.getScrollTop(),y.getContentHeight(),null,0,null);let D=null,S=0;const f=y.getVisibleRanges();if(f.length>0){D=f[0].getStartPosition();const _=y.getTopForPosition(D.lineNumber,D.column);S=y.getScrollTop()-_}return new L(y.getScrollTop(),y.getContentHeight(),D,S,y.getPosition())}constructor(y,D,S,f,_){this._initialScrollTop=y,this._initialContentHeight=D,this._visiblePosition=S,this._visiblePositionScrollDelta=f,this._cursorPosition=_}restore(y){if(!(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())&&this._visiblePosition){const D=y.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);y.setScrollTop(D+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(y){if(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())return;const D=y.getPosition();if(!this._cursorPosition||!D)return;const S=y.getTopForLineNumber(D.lineNumber)-y.getTopForLineNumber(this._cursorPosition.lineNumber);y.setScrollTop(y.getScrollTop()+S)}}e.StableEditorScrollState=L}),define(ne[144],se([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(C,s){this._restrictedRenderingContextBrand=void 0,this._viewLayout=C,this.viewportData=s,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(C){return C-this.scrollTop}getVerticalOffsetForLineNumber(C,s){return this._viewLayout.getVerticalOffsetForLineNumber(C,s)}getVerticalOffsetAfterLineNumber(C,s){return this._viewLayout.getVerticalOffsetAfterLineNumber(C,s)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=L;class k extends L{constructor(C,s,i){super(C,s),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(C,s){return this._viewLines.linesVisibleRangesForRange(C,s)}visibleRangeForPosition(C){return this._viewLines.visibleRangeForPosition(C)}}e.RenderingContext=k;class y{constructor(C,s,i,n){this.outsideRenderedLine=C,this.lineNumber=s,this.ranges=i,this.continuesOnNextLine=n}}e.LineVisibleRanges=y;class D{static from(C){const s=new Array(C.length);for(let i=0,n=C.length;i=s.left?_.width=Math.max(_.width,s.left+s.width-_.left):(S[f++]=_,_=s)}return S[f++]=_,S}static _createHorizontalRangesFromClientRects(D,S,f){if(!D||D.length===0)return null;const _=[];for(let g=0,C=D.length;gi)return null;if(S=Math.min(i,Math.max(0,S)),_=Math.min(i,Math.max(0,_)),S===_&&f===g&&f===0&&!D.children[S].firstChild){const u=D.children[S].getClientRects();return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(u,C.clientRectDeltaLeft,C.clientRectScale)}S!==_&&_>0&&g===0&&(_--,g=1073741824);let n=D.children[S].firstChild,t=D.children[_].firstChild;if((!n||!t)&&(!n&&f===0&&S>0&&(n=D.children[S-1].firstChild,f=1073741824),!t&&g===0&&_>0&&(t=D.children[_-1].firstChild,g=1073741824)),!n||!t)return null;f=Math.min(n.textContent.length,Math.max(0,f)),g=Math.min(t.textContent.length,Math.max(0,g));const a=this._readClientRects(n,f,t,g,C.endNode);return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(a,C.clientRectDeltaLeft,C.clientRectScale)}}e.RangeUtil=k}),define(ne[270],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const k=[];for(let y=32;y<=126;y++)k.push(y);return k.push(65533),k})();const L=(k,y)=>(k-=32,k<0||k>96?y<=2?(k+96)%96:96-1:k);e.getCharIndex=L}),define(ne[479],se([1,0,270,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class y{constructor(S,f){this.scale=f,this._minimapCharRendererBrand=void 0,this.charDataNormal=y.soften(S,12/15),this.charDataLight=y.soften(S,50/60)}static soften(S,f){const _=new Uint8ClampedArray(S.length);for(let g=0,C=S.length;gS.width||_+c>S.height){console.warn("bad render request outside image data");return}const o=a?this.charDataLight:this.charDataNormal,d=(0,L.getCharIndex)(g,t),l=S.width*4,p=i.r,m=i.g,v=i.b,b=C.r-p,w=C.g-m,E=C.b-v,I=Math.max(s,n),M=S.data;let P=d*h*r,x=_*l+f*4;for(let T=0;TS.width||_+u>S.height){console.warn("bad render request outside image data");return}const h=S.width*4,r=.5*(C/255),c=s.r,o=s.g,d=s.b,l=g.r-c,p=g.g-o,m=g.b-d,v=c+l*r,b=o+p*r,w=d+m*r,E=Math.max(C,i),I=S.data;let M=_*h+f*4;for(let P=0;P{const S=new Uint8ClampedArray(D.length/2);for(let f=0;f>1]=k[D[f]]<<4|k[D[f+1]]&15;return S};e.prebakedMiniMaps={1:(0,L.once)(()=>y("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,L.once)(()=>y("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(ne[481],se([1,0,479,270,480,169]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class S{static create(_,g){if(this.lastCreated&&_===this.lastCreated.scale&&g===this.lastFontFamily)return this.lastCreated;let C;return y.prebakedMiniMaps[_]?C=new L.MinimapCharRenderer(y.prebakedMiniMaps[_](),_):C=S.createFromSampleData(S.createSampleData(g).data,_),this.lastFontFamily=g,this.lastCreated=C,C}static createSampleData(_){const g=document.createElement("canvas"),C=g.getContext("2d");g.style.height="16px",g.height=16,g.width=96*10,g.style.width=96*10+"px",C.fillStyle="#ffffff",C.font=`bold 16px ${_}`,C.textBaseline="middle";let s=0;for(const i of k.allCharCodes)C.fillText(String.fromCharCode(i),s,16/2),s+=10;return C.getImageData(0,0,96*10,16)}static createFromSampleData(_,g){if(_.length!==61440)throw new Error("Unexpected source in MinimapCharRenderer");const s=S._downsample(_,g);return new L.MinimapCharRenderer(s,g)}static _downsampleChar(_,g,C,s,i){const n=1*i,t=2*i;let a=s,u=0;for(let h=0;h0){const u=255/a;for(let h=0;hE?(l.push(b),m++):(l.push(d(v,b)),p++,m++)}for(;p{const p=c.read(l);d.set(p)})),o.add({dispose:()=>{d.clear()}}),o}e.applyObservableDecorations=S;function f(r,c){return r.appendChild(c),(0,L.toDisposable)(()=>{r.removeChild(c)})}e.appendRemoveOnDispose=f;class _ extends L.Disposable{get width(){return this._width}get height(){return this._height}constructor(c,o){super(),this.elementSizeObserver=this._register(new y.ElementSizeObserver(c,o)),this._width=(0,k.observableValue)("width",this.elementSizeObserver.getWidth()),this._height=(0,k.observableValue)("height",this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(d=>(0,k.transaction)(l=>{this._width.set(this.elementSizeObserver.getWidth(),l),this._height.set(this.elementSizeObserver.getHeight(),l)})))}observe(c){this.elementSizeObserver.observe(c)}setAutomaticLayout(c){c?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}e.ObservableElementSizeObserver=_;function g(r,c){let o=r.get(),d=o,l=o;const p=(0,k.observableValue)("animatedValue",o);let m=-1;const v=300;let b;c.add((0,k.autorunHandleChanges)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(E,I)=>(E.didChange(r)&&(I.animate=I.animate||E.change),!0)},(E,I)=>{b!==void 0&&(cancelAnimationFrame(b),b=void 0),d=l,o=r.read(E),m=Date.now()-(I.animate?0:v),w()}));function w(){const E=Date.now()-m;l=Math.floor(C(E,d,o-d,v)),E{this._actualTop.set(d,void 0)},this.onComputedHeight=d=>{this._actualHeight.set(d,void 0)}}}e.PlaceholderViewZone=i;class n{constructor(c,o){this._editor=c,this._domElement=o,this._overlayWidgetId=`managedOverlayWidget-${n._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}e.ManagedOverlayWidget=n,n._counter=0;function t(r,c){return(0,k.autorun)(o=>{for(let[d,l]of Object.entries(c))l&&typeof l=="object"&&"read"in l&&(l=l.read(o)),typeof l=="number"&&(l=`${l}px`),d=d.replace(/[A-Z]/g,p=>"-"+p.toLowerCase()),r.style[d]=l})}e.applyStyle=t;function a(r,c){return u([r],c),r}e.readHotReloadableExport=a;function u(r,c){const o=globalThis.$hotReload_deprecateExports;if(!o)return;(0,k.observableSignalFromEvent)("reload",l=>{function p(m,v){return[...Object.values(m)].some(b=>r.includes(b))?(l(void 0),!0):!1}return o.add(p),{dispose(){o.delete(p)}}}).read(c)}e.observeHotReloadableExports=u;function h(r,c,o){const d=new L.DisposableStore,l=[];return d.add((0,k.autorun)(p=>{const m=c.read(p),v=new Map,b=new Map;o&&o(!0),r.changeViewZones(w=>{for(const E of l)w.removeZone(E);l.length=0;for(const E of m){const I=w.addZone(E);l.push(I),v.set(E,I)}}),o&&o(!1),d.add((0,k.autorunHandleChanges)({createEmptyChangeSummary(){return[]},handleChange(w,E){const I=b.get(w.changedObservable);return I!==void 0&&E.push(I),!0}},(w,E)=>{for(const I of m)I.onChange&&(b.set(I.onChange,v.get(I)),I.onChange.read(w));o&&o(!0),r.changeViewZones(I=>{for(const M of E)I.layoutZone(M)}),o&&o(!1)}))})),d.add({dispose(){o&&o(!0),r.changeViewZones(p=>{for(const m of l)p.removeZone(m)}),o&&o(!1)}}),d}e.applyViewZones=h}),define(ne[271],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffEditorDefaultOptions=void 0,e.diffEditorDefaultOptions={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}}),define(ne[145],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorZoom=void 0,e.EditorZoom=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new L.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(k){k=Math.min(Math.max(-5,k),20),this._zoomLevel!==k&&(this._zoomLevel=k,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}}),define(ne[121],se([1,0,169]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterSet=e.CharacterClassifier=void 0;class k{constructor(S){const f=(0,L.toUint8)(S);this._defaultValue=f,this._asciiMap=k._createAsciiMap(f),this._map=new Map}static _createAsciiMap(S){const f=new Uint8Array(256);return f.fill(S),f}set(S,f){const _=(0,L.toUint8)(f);S>=0&&S<256?this._asciiMap[S]=_:this._map.set(S,_)}get(S){return S>=0&&S<256?this._asciiMap[S]:this._map.get(S)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}e.CharacterClassifier=k;class y{constructor(){this._actual=new k(0)}add(S){this._actual.set(S,1)}has(S){return this._actual.get(S)===1}clear(){return this._actual.clear()}}e.CharacterSet=y}),define(ne[82],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class k{static _nextVisibleColumn(D,S,f){return D===9?k.nextRenderTabStop(S,f):L.isFullWidthCharacter(D)||L.isEmojiImprecise(D)?S+2:S+1}static visibleColumnFromColumn(D,S,f){const _=Math.min(S-1,D.length),g=D.substring(0,_),C=new L.GraphemeIterator(g);let s=0;for(;!C.eol();){const i=L.getNextCodePoint(g,_,C.offset);C.nextGraphemeLength(),s=this._nextVisibleColumn(i,s,f)}return s}static columnFromVisibleColumn(D,S,f){if(S<=0)return 1;const _=D.length,g=new L.GraphemeIterator(D);let C=0,s=1;for(;!g.eol();){const i=L.getNextCodePoint(D,_,g.offset);g.nextGraphemeLength();const n=this._nextVisibleColumn(i,C,f),t=g.offset+1;if(n>=S){const a=S-C;return n-Sf))return new k(S,f)}static ofLength(S){return new k(0,S)}constructor(S,f){if(this.start=S,this.endExclusive=f,S>f)throw new L.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(S){return new k(this.start+S,this.endExclusive+S)}deltaStart(S){return new k(this.start+S,this.endExclusive)}deltaEnd(S){return new k(this.start,this.endExclusive+S)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(S){return this.start===S.start&&this.endExclusive===S.endExclusive}containsRange(S){return this.start<=S.start&&S.endExclusive<=this.endExclusive}contains(S){return this.start<=S&&S=this.endExclusive?this.start+(S-this.start)%this.length:S}}e.OffsetRange=k;class y{constructor(){this._sortedRanges=[]}addRange(S){let f=0;for(;fS.toString()).join(", ")}intersectsStrict(S){let f=0;for(;fS+f.length,0)}}e.OffsetRangeSet=y}),define(ne[12],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Position=void 0;class L{constructor(y,D){this.lineNumber=y,this.column=D}with(y=this.lineNumber,D=this.column){return y===this.lineNumber&&D===this.column?this:new L(y,D)}delta(y=0,D=0){return this.with(this.lineNumber+y,this.column+D)}equals(y){return L.equals(this,y)}static equals(y,D){return!y&&!D?!0:!!y&&!!D&&y.lineNumber===D.lineNumber&&y.column===D.column}isBefore(y){return L.isBefore(this,y)}static isBefore(y,D){return y.lineNumberf||D===f&&S>_?(this.startLineNumber=f,this.startColumn=_,this.endLineNumber=D,this.endColumn=S):(this.startLineNumber=D,this.startColumn=S,this.endLineNumber=f,this.endColumn=_)}isEmpty(){return k.isEmpty(this)}static isEmpty(D){return D.startLineNumber===D.endLineNumber&&D.startColumn===D.endColumn}containsPosition(D){return k.containsPosition(this,D)}static containsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.columnD.endColumn)}static strictContainsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.column<=D.startColumn||S.lineNumber===D.endLineNumber&&S.column>=D.endColumn)}containsRange(D){return k.containsRange(this,D)}static containsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumnD.endColumn)}strictContainsRange(D){return k.strictContainsRange(this,D)}static strictContainsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumn<=D.startColumn||S.endLineNumber===D.endLineNumber&&S.endColumn>=D.endColumn)}plusRange(D){return k.plusRange(this,D)}static plusRange(D,S){let f,_,g,C;return S.startLineNumberD.endLineNumber?(g=S.endLineNumber,C=S.endColumn):S.endLineNumber===D.endLineNumber?(g=S.endLineNumber,C=Math.max(S.endColumn,D.endColumn)):(g=D.endLineNumber,C=D.endColumn),new k(f,_,g,C)}intersectRanges(D){return k.intersectRanges(this,D)}static intersectRanges(D,S){let f=D.startLineNumber,_=D.startColumn,g=D.endLineNumber,C=D.endColumn;const s=S.startLineNumber,i=S.startColumn,n=S.endLineNumber,t=S.endColumn;return fn?(g=n,C=t):g===n&&(C=Math.min(C,t)),f>g||f===g&&_>C?null:new k(f,_,g,C)}equalsRange(D){return k.equalsRange(this,D)}static equalsRange(D,S){return!D&&!S?!0:!!D&&!!S&&D.startLineNumber===S.startLineNumber&&D.startColumn===S.startColumn&&D.endLineNumber===S.endLineNumber&&D.endColumn===S.endColumn}getEndPosition(){return k.getEndPosition(this)}static getEndPosition(D){return new L.Position(D.endLineNumber,D.endColumn)}getStartPosition(){return k.getStartPosition(this)}static getStartPosition(D){return new L.Position(D.startLineNumber,D.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(D,S){return new k(this.startLineNumber,this.startColumn,D,S)}setStartPosition(D,S){return new k(D,S,this.endLineNumber,this.endColumn)}collapseToStart(){return k.collapseToStart(this)}static collapseToStart(D){return new k(D.startLineNumber,D.startColumn,D.startLineNumber,D.startColumn)}collapseToEnd(){return k.collapseToEnd(this)}static collapseToEnd(D){return new k(D.endLineNumber,D.endColumn,D.endLineNumber,D.endColumn)}delta(D){return new k(this.startLineNumber+D,this.startColumn,this.endLineNumber+D,this.endColumn)}static fromPositions(D,S=D){return new k(D.lineNumber,D.column,S.lineNumber,S.column)}static lift(D){return D?new k(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn):null}static isIRange(D){return D&&typeof D.startLineNumber=="number"&&typeof D.startColumn=="number"&&typeof D.endLineNumber=="number"&&typeof D.endColumn=="number"}static areIntersectingOrTouching(D,S){return!(D.endLineNumberD.startLineNumber}toJSON(){return this}}e.Range=k}),define(ne[273],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class y{constructor(f,_,g,C,s){this.value=f,this.selectionStart=_,this.selectionEnd=g,this.selection=C,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(f,_){const g=f.getValue(),C=f.getSelectionStart(),s=f.getSelectionEnd();let i;if(_){const n=g.substring(0,C),t=_.value.substring(0,_.selectionStart);n===t&&(i=_.newlineCountBeforeSelection)}return new y(g,C,s,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new y(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(f,_,g){e._debugComposition&&console.log(`writeToTextArea ${f}: ${this.toString()}`),_.setValue(f,this.value),g&&_.setSelectionRange(f,this.selectionStart,this.selectionEnd)}deduceEditorPosition(f){var _,g,C,s,i,n,t,a;if(f<=this.selectionStart){const r=this.value.substring(f,this.selectionStart);return this._finishDeduceEditorPosition((g=(_=this.selection)===null||_===void 0?void 0:_.getStartPosition())!==null&&g!==void 0?g:null,r,-1)}if(f>=this.selectionEnd){const r=this.value.substring(this.selectionEnd,f);return this._finishDeduceEditorPosition((s=(C=this.selection)===null||C===void 0?void 0:C.getEndPosition())!==null&&s!==void 0?s:null,r,1)}const u=this.value.substring(this.selectionStart,f);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition((n=(i=this.selection)===null||i===void 0?void 0:i.getStartPosition())!==null&&n!==void 0?n:null,u,1);const h=this.value.substring(f,this.selectionEnd);return this._finishDeduceEditorPosition((a=(t=this.selection)===null||t===void 0?void 0:t.getEndPosition())!==null&&a!==void 0?a:null,h,-1)}_finishDeduceEditorPosition(f,_,g){let C=0,s=-1;for(;(s=_.indexOf(` -`,s+1))!==-1;)C++;return[f,g*_.length,C]}static deduceInput(f,_,g){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`));const C=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionStart,_.selectionStart),s=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd,_.value.length-_.selectionEnd),i=f.value.substring(C,f.value.length-s),n=_.value.substring(C,_.value.length-s),t=f.selectionStart-C,a=f.selectionEnd-C,u=_.selectionStart-C,h=_.selectionEnd-C;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${t}, selectionEnd: ${a}`),console.log(`AFTER DIFFING CURRENT STATE: <${n}>, selectionStart: ${u}, selectionEnd: ${h}`)),u===h){const c=f.selectionStart-C;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${c} chars`),{text:n,replacePrevCharCnt:c,replaceNextCharCnt:0,positionDelta:0}}const r=a-t;return{text:n,replacePrevCharCnt:r,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(f,_){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`)),f.value===_.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:_.selectionEnd-f.selectionEnd};const g=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionEnd),C=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd),s=f.value.substring(g,f.value.length-C),i=_.value.substring(g,_.value.length-C),n=f.selectionStart-g,t=f.selectionEnd-g,a=_.selectionStart-g,u=_.selectionEnd-g;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${s}>, selectionStart: ${n}, selectionEnd: ${t}`),console.log(`AFTER DIFFING CURRENT STATE: <${i}>, selectionStart: ${a}, selectionEnd: ${u}`)),{text:i,replacePrevCharCnt:t,replaceNextCharCnt:s.length-t,positionDelta:u-i.length}}}e.TextAreaState=y,y.EMPTY=new y("",0,0,null,void 0);class D{static _getPageOfLine(f,_){return Math.floor((f-1)/_)}static _getRangeForPage(f,_){const g=f*_,C=g+1,s=g+_;return new k.Range(C,1,s+1,1)}static fromEditorSelection(f,_,g,C){const i=D._getPageOfLine(_.startLineNumber,g),n=D._getRangeForPage(i,g),t=D._getPageOfLine(_.endLineNumber,g),a=D._getRangeForPage(t,g);let u=n.intersectRanges(new k.Range(1,1,_.startLineNumber,_.startColumn));if(C&&f.getValueLengthInRange(u,1)>500){const p=f.modifyPosition(u.getEndPosition(),-500);u=k.Range.fromPositions(p,u.getEndPosition())}const h=f.getValueInRange(u,1),r=f.getLineCount(),c=f.getLineMaxColumn(r);let o=a.intersectRanges(new k.Range(_.endLineNumber,_.endColumn,r,c));if(C&&f.getValueLengthInRange(o,1)>500){const p=f.modifyPosition(o.getStartPosition(),500);o=k.Range.fromPositions(o.getStartPosition(),p)}const d=f.getValueInRange(o,1);let l;if(i===t||i+1===t)l=f.getValueInRange(_,1);else{const p=n.intersectRanges(_),m=a.intersectRanges(_);l=f.getValueInRange(p,1)+String.fromCharCode(8230)+f.getValueInRange(m,1)}return C&&l.length>2*500&&(l=l.substring(0,500)+String.fromCharCode(8230)+l.substring(l.length-500,l.length)),new y(h+l+d,h.length,h.length+l.length,_,u.endLineNumber-u.startLineNumber)}}e.PagedScreenReaderStrategy=D}),define(ne[483],se([1,0,14,19,9,46,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class _{remove(){var n;(n=this.parent)===null||n===void 0||n.children.delete(this.id)}static findId(n,t){let a;typeof n=="string"?a=`${t.id}/${n}`:(a=`${t.id}/${n.name}`,t.children.get(a)!==void 0&&(a=`${t.id}/${n.name}_${n.range.startLineNumber}_${n.range.startColumn}`));let u=a;for(let h=0;t.children.get(u)!==void 0;h++)u=`${a}_${h}`;return u}static empty(n){return n.children.size===0}}e.TreeElement=_;class g extends _{constructor(n,t,a){super(),this.id=n,this.parent=t,this.symbol=a,this.children=new Map}}e.OutlineElement=g;class C extends _{constructor(n,t,a,u){super(),this.id=n,this.parent=t,this.label=a,this.order=u,this.children=new Map}}e.OutlineGroup=C;class s extends _{static create(n,t,a){const u=new k.CancellationTokenSource(a),h=new s(t.uri),r=n.ordered(t),c=r.map((d,l)=>{var p;const m=_.findId(`provider_${l}`,h),v=new C(m,h,(p=d.displayName)!==null&&p!==void 0?p:"Unknown Outline Provider",l);return Promise.resolve(d.provideDocumentSymbols(t,u.token)).then(b=>{for(const w of b||[])s._makeOutlineElement(w,v);return v},b=>((0,y.onUnexpectedExternalError)(b),v)).then(b=>{_.empty(b)?b.remove():h._groups.set(m,b)})}),o=n.onDidChange(()=>{const d=n.ordered(t);(0,L.equals)(d,r)||u.cancel()});return Promise.all(c).then(()=>u.token.isCancellationRequested&&!a.isCancellationRequested?s.create(n,t,a):h._compact()).finally(()=>{o.dispose()})}static _makeOutlineElement(n,t){const a=_.findId(n,t),u=new g(a,t,n);if(n.children)for(const h of n.children)s._makeOutlineElement(h,u);t.children.set(u.id,u)}constructor(n){super(),this.uri=n,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let n=0;for(const[t,a]of this._groups)a.children.size===0?this._groups.delete(t):n+=1;if(n!==1)this.children=this._groups;else{const t=D.Iterable.first(this._groups.values());for(const[,a]of t.children)a.parent=this,this.children.set(a.id,a)}return this}getTopLevelSymbols(){const n=[];for(const t of this.children.values())t instanceof g?n.push(t.symbol):n.push(...D.Iterable.map(t.children.values(),a=>a.symbol));return n.sort((t,a)=>f.Range.compareRangesUsingStarts(t.range,a.range))}asListOfDocumentSymbols(){const n=this.getTopLevelSymbols(),t=[];return s._flattenDocumentSymbols(t,n,""),t.sort((a,u)=>S.Position.compare(f.Range.getStartPosition(a.range),f.Range.getStartPosition(u.range))||S.Position.compare(f.Range.getEndPosition(u.range),f.Range.getEndPosition(a.range)))}static _flattenDocumentSymbols(n,t,a){for(const u of t)n.push({kind:u.kind,tags:u.tags,name:u.name,detail:u.detail,containerName:u.containerName||a,range:u.range,selectionRange:u.selectionRange,children:void 0}),u.children&&s._flattenDocumentSymbols(n,u.children,u.name)}}e.OutlineModel=s}),define(ne[73],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class k{static insert(D,S){return{range:new L.Range(D.lineNumber,D.column,D.lineNumber,D.column),text:S,forceMoveMarkers:!0}}static delete(D){return{range:D,text:null}}static replace(D,S){return{range:D,text:S}}static replaceMove(D,S){return{range:D,text:S,forceMoveMarkers:!0}}}e.EditOperation=k}),define(ne[484],se([1,0,11,73,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class D{constructor(_,g){this._selection=_,this._cursors=g,this._selectionId=null}getEditOperations(_,g){const C=S(_,this._cursors);for(let s=0,i=C.length;sn.lineNumber===t.lineNumber?n.column-t.column:n.lineNumber-t.lineNumber);for(let n=_.length-2;n>=0;n--)_[n].lineNumber===_[n+1].lineNumber&&_.splice(n,1);const g=[];let C=0,s=0;const i=_.length;for(let n=1,t=f.getLineCount();n<=t;n++){const a=f.getLineContent(n),u=a.length+1;let h=0;if(s=n.startLineNumber?i=new D(i.startLineNumber,Math.max(i.endLineNumberExclusive,n.endLineNumberExclusive)):(g.push(i),i=n)}return i!==null&&g.push(i),g}static ofLength(f,_){return new D(f,f+_)}static deserialize(f){return new D(f[0],f[1])}constructor(f,_){if(f>_)throw new L.BugIndicatingError(`startLineNumber ${f} cannot be after endLineNumberExclusive ${_}`);this.startLineNumber=f,this.endLineNumberExclusive=_}contains(f){return this.startLineNumber<=f&&f255?255:y|0}}e.RGBA8=L,L.Empty=new L(0,0,0,0)}),define(ne[24],se([1,0,12,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class y extends k.Range{constructor(S,f,_,g){super(S,f,_,g),this.selectionStartLineNumber=S,this.selectionStartColumn=f,this.positionLineNumber=_,this.positionColumn=g}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(S){return y.selectionsEqual(this,S)}static selectionsEqual(S,f){return S.selectionStartLineNumber===f.selectionStartLineNumber&&S.selectionStartColumn===f.selectionStartColumn&&S.positionLineNumber===f.positionLineNumber&&S.positionColumn===f.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(S,f){return this.getDirection()===0?new y(this.startLineNumber,this.startColumn,S,f):new y(S,f,this.startLineNumber,this.startColumn)}getPosition(){return new L.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new L.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(S,f){return this.getDirection()===0?new y(S,f,this.endLineNumber,this.endColumn):new y(this.endLineNumber,this.endColumn,S,f)}static fromPositions(S,f=S){return new y(S.lineNumber,S.column,f.lineNumber,f.column)}static fromRange(S,f){return f===0?new y(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn):new y(S.endLineNumber,S.endColumn,S.startLineNumber,S.startColumn)}static liftSelection(S){return new y(S.selectionStartLineNumber,S.selectionStartColumn,S.positionLineNumber,S.positionColumn)}static selectionsArrEqual(S,f){if(S&&!f||!S&&f)return!1;if(!S&&!f)return!0;if(S.length!==f.length)return!1;for(let _=0,g=S.length;_(S.hasOwnProperty(f)||(S[f]=D(f)),S[f])}e.getMapForWordSeparators=y(D=>new k(D))}),define(ne[147],se([1,0,46,64]),function(Q,e,L,k){"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 y(g=""){let C="(-?\\d*\\.\\d\\w*)|([^";for(const s of e.USUAL_WORD_SEPARATORS)g.indexOf(s)>=0||(C+="\\"+s);return C+="\\s]+)",new RegExp(C,"g")}e.DEFAULT_WORD_REGEXP=y();function D(g){let C=e.DEFAULT_WORD_REGEXP;if(g&&g instanceof RegExp)if(g.global)C=g;else{let s="g";g.ignoreCase&&(s+="i"),g.multiline&&(s+="m"),g.unicode&&(s+="u"),C=new RegExp(g.source,s)}return C.lastIndex=0,C}e.ensureValidWordDefinition=D;const S=new k.LinkedList;S.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function f(g,C,s,i,n){if(n||(n=L.Iterable.first(S)),s.length>n.maxLen){let r=g-n.maxLen/2;return r<0?r=0:i+=r,s=s.substring(r,g+n.maxLen/2),f(g,C,s,i,n)}const t=Date.now(),a=g-1-i;let u=-1,h=null;for(let r=1;!(Date.now()-t>=n.timeBudget);r++){const c=a-n.windowSize*r;C.lastIndex=Math.max(0,c);const o=_(C,s,a,u);if(!o&&h||(h=o,c<=0))break;u=c}if(h){const r={word:h[0],startColumn:i+1+h.index,endColumn:i+1+h.index+h[0].length};return C.lastIndex=0,r}return null}e.getWordAtText=f;function _(g,C,s,i){let n;for(;n=g.exec(C);){const t=n.index||0;if(t<=s&&g.lastIndex>=s)return n;if(i>0&&t>i)return null}return null}}),define(ne[275],se([1,0,82]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class k{static whitespaceVisibleColumn(D,S,f){const _=D.length;let g=0,C=-1,s=-1;for(let i=0;i<_;i++){if(i===S)return[C,s,g];switch(g%f===0&&(C=i,s=g),D.charCodeAt(i)){case 32:g+=1;break;case 9:g=L.CursorColumns.nextRenderTabStop(g,f);break;default:return[-1,-1,-1]}}return S===_?[C,s,g]:[-1,-1,-1]}static atomicPosition(D,S,f,_){const g=D.length,[C,s,i]=k.whitespaceVisibleColumn(D,S,f);if(i===-1)return-1;let n;switch(_){case 0:n=!0;break;case 1:n=!1;break;case 2:if(i%f===0)return S;n=i%f<=f/2;break}if(n){if(C===-1)return-1;let u=s;for(let h=C;h ${this.seq2Range}`}join(g){return new D(this.seq1Range.join(g.seq1Range),this.seq2Range.join(g.seq2Range))}delta(g){return g===0?this:new D(this.seq1Range.delta(g),this.seq2Range.delta(g))}}e.SequenceDiff=D;class S{isValid(){return!0}}e.InfiniteTimeout=S,S.instance=new S;class f{constructor(g){if(this.timeout=g,this.startTime=Date.now(),this.valid=!0,g<=0)throw new L.BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime5||m.seq1Range.length+m.seq2Range.length>5)};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);return t}e.removeRandomLineMatches=S;function f(s,i,n){let t=n;if(t.length===0)return t;let a=0,u;do{u=!1;const h=[t[0]];for(let r=1;r5||v.length>500)return!1;const w=s.getText(v).trim();if(w.length>20||w.split(/\r\n|\r|\n/).length>1)return!1;const E=s.countLinesIn(p.seq1Range),I=p.seq1Range.length,M=i.countLinesIn(p.seq2Range),P=p.seq2Range.length,x=s.countLinesIn(m.seq1Range),T=m.seq1Range.length,A=i.countLinesIn(m.seq2Range),N=m.seq2Range.length,F=2*40+50;function O(W){return Math.min(W,F)}return Math.pow(Math.pow(O(E*40+I),1.5)+Math.pow(O(M*40+P),1.5),1.5)+Math.pow(Math.pow(O(x*40+T),1.5)+Math.pow(O(A*40+N),1.5),1.5)>Math.pow(Math.pow(F,1.5),1.5)*1.3};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);for(let h=0;h0&&l.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>100&&(c=r.seq1Range.deltaStart(-l.length),o=r.seq2Range.deltaStart(-l.length));const p=s.getText(new L.OffsetRange(r.seq1Range.endExclusive,d.endExclusive));p.length>0&&p.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>150&&(c=c.deltaEnd(p.length),o=o.deltaEnd(p.length)),t[h]=new k.SequenceDiff(c,o)}return t}e.removeRandomMatches=f;function _(s,i,n){if(n.length===0)return n;const t=[];t.push(n[0]);for(let u=1;u0&&(r=r.delta(o))}a.push(r)}return t.length>0&&a.push(t[t.length-1]),a}e.joinSequenceDiffs=_;function g(s,i,n){if(!s.getBoundaryScore||!i.getBoundaryScore)return n;for(let t=0;t0?n[t-1]:void 0,u=n[t],h=t+1=t.start&&s.seq2Range.start-h>=a.start&&n.isStronglyEqual(s.seq2Range.start-h,s.seq2Range.endExclusive-h)&&h<100;)h++;h--;let r=0;for(;s.seq1Range.start+ro&&(o=v,c=d)}return s.delta(c)}}),define(ne[488],se([1,0,90,176]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MyersDiffAlgorithm=void 0;class y{compute(g,C,s=k.InfiniteTimeout.instance){if(g.length===0||C.length===0)return k.DiffAlgorithmResult.trivial(g,C);function i(d,l){for(;dg.length||b>C.length)continue;const w=i(v,b);t.set(u,w);const E=v===p?a.get(u+1):a.get(u-1);if(a.set(u,w!==v?new D(E,v,b,w-v):E),t.get(u)===g.length&&t.get(u)-u===C.length)break e}}let h=a.get(u);const r=[];let c=g.length,o=C.length;for(;;){const d=h?h.x+h.length:0,l=h?h.y+h.length:0;if((d!==c||l!==o)&&r.push(new k.SequenceDiff(new L.OffsetRange(d,c),new L.OffsetRange(l,o))),!h)break;c=h.x,o=h.y,h=h.prev}return r.reverse(),new k.DiffAlgorithmResult(r,!1)}}e.MyersDiffAlgorithm=y;class D{constructor(g,C,s,i){this.prev=g,this.x=C,this.y=s,this.length=i}}class S{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){if(g<0){if(g=-g-1,g>=this.negativeArr.length){const s=this.negativeArr;this.negativeArr=new Int32Array(s.length*2),this.negativeArr.set(s)}this.negativeArr[g]=C}else{if(g>=this.positiveArr.length){const s=this.positiveArr;this.positiveArr=new Int32Array(s.length*2),this.positiveArr.set(s)}this.positiveArr[g]=C}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){g<0?(g=-g-1,this.negativeArr[g]=C):this.positiveArr[g]=C}}}),define(ne[489],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Array2D=void 0;class L{constructor(y,D){this.width=y,this.height=D,this.array=[],this.array=new Array(y*D)}get(y,D){return this.array[y+D*this.width]}set(y,D,S){this.array[y+D*this.width]=S}}e.Array2D=L}),define(ne[490],se([1,0,90,176,489]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicProgrammingDiffing=void 0;class D{compute(f,_,g=k.InfiniteTimeout.instance,C){if(f.length===0||_.length===0)return k.DiffAlgorithmResult.trivial(f,_);const s=new y.Array2D(f.length,_.length),i=new y.Array2D(f.length,_.length),n=new y.Array2D(f.length,_.length);for(let o=0;o0&&d>0&&i.get(o-1,d-1)===3&&(m+=n.get(o-1,d-1)),m+=C?C(o,d):1):m=-1;const v=Math.max(l,p,m);if(v===m){const b=o>0&&d>0?n.get(o-1,d-1):0;n.set(o,d,b+1),i.set(o,d,3)}else v===l?(n.set(o,d,0),i.set(o,d,1)):v===p&&(n.set(o,d,0),i.set(o,d,2));s.set(o,d,v)}const t=[];let a=f.length,u=_.length;function h(o,d){(o+1!==a||d+1!==u)&&t.push(new k.SequenceDiff(new L.OffsetRange(o+1,a),new L.OffsetRange(d+1,u))),a=o,u=d}let r=f.length-1,c=_.length-1;for(;r>=0&&c>=0;)i.get(r,c)===3?(h(r,c),r--,c--):i.get(r,c)===1?r--:c--;return h(-1,-1),t.reverse(),new k.DiffAlgorithmResult(t,!1)}}e.DynamicProgrammingDiffing=D}),define(ne[109],se([1,0,66]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MovedText=e.SimpleLineRangeMapping=e.RangeMapping=e.LineRangeMapping=e.LinesDiff=void 0;class k{constructor(g,C,s){this.changes=g,this.moves=C,this.hitTimeout=s}}e.LinesDiff=k;class y{static inverse(g,C,s){const i=[];let n=1,t=1;for(const u of g){const h=new y(new L.LineRange(n,u.originalRange.startLineNumber),new L.LineRange(t,u.modifiedRange.startLineNumber),void 0);h.modifiedRange.isEmpty||i.push(h),n=u.originalRange.endLineNumberExclusive,t=u.modifiedRange.endLineNumberExclusive}const a=new y(new L.LineRange(n,C+1),new L.LineRange(t,s+1),void 0);return a.modifiedRange.isEmpty||i.push(a),i}constructor(g,C,s){this.originalRange=g,this.modifiedRange=C,this.innerChanges=s}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}flip(){var g;return new y(this.modifiedRange,this.originalRange,(g=this.innerChanges)===null||g===void 0?void 0:g.map(C=>C.flip()))}}e.LineRangeMapping=y;class D{constructor(g,C){this.originalRange=g,this.modifiedRange=C}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new D(this.modifiedRange,this.originalRange)}}e.RangeMapping=D;class S{constructor(g,C){this.original=g,this.modified=C}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new S(this.modified,this.original)}join(g){return new S(this.original.join(g.original),this.modified.join(g.modified))}}e.SimpleLineRangeMapping=S;class f{constructor(g,C){this.lineRangeMapping=g,this.changes=C}flip(){return new f(this.lineRangeMapping.flip(),this.changes.map(g=>g.flip()))}}e.MovedText=f}),define(ne[276],se([1,0,14,85,196,9,66,90,12,5,176,490,487,488,109]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFirstMonotonous=e.findLastMonotonous=e.LinesSliceCharSequence=e.LineSequence=e.getLineRangeMapping=e.lineRangeMappingFromRangeMappings=e.AdvancedLinesDiffComputer=void 0;class a{constructor(){this.dynamicProgrammingDiffing=new s.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new n.MyersDiffAlgorithm}computeDiff(R,K,G){if(R.length<=1&&(0,L.equals)(R,K,($,re)=>$===re))return new t.LinesDiff([],[],!1);if(R.length===1&&R[0].length===0||K.length===1&&K[0].length===0)return new t.LinesDiff([new t.LineRangeMapping(new S.LineRange(1,R.length+1),new S.LineRange(1,K.length+1),[new t.RangeMapping(new g.Range(1,1,R.length,R[0].length+1),new g.Range(1,1,K.length,K[0].length+1))])],[],!1);const Z=G.maxComputationTimeMs===0?C.InfiniteTimeout.instance:new C.DateTimeout(G.maxComputationTimeMs),J=!G.ignoreTrimWhitespace,X=new Map;function H($){let re=X.get($);return re===void 0&&(re=X.size,X.set($,re)),re}const B=R.map($=>H($.trim())),V=K.map($=>H($.trim())),Y=new v(B,R),ie=new v(V,K),ae=(()=>Y.length+ie.length<1700?this.dynamicProgrammingDiffing.compute(Y,ie,Z,($,re)=>R[$]===K[re]?K[re].length===0?.1:1+Math.log(1+K[re].length):.99):this.myersDiffingAlgorithm.compute(Y,ie))();let ce=ae.diffs,de=ae.hitTimeout;ce=(0,i.optimizeSequenceDiffs)(Y,ie,ce),ce=(0,i.removeRandomLineMatches)(Y,ie,ce);const he=[],ue=$=>{if(J)for(let re=0;re<$;re++){const oe=te+re,ge=q+re;if(R[oe]!==K[ge]){const ve=this.refineDiff(R,K,new C.SequenceDiff(new f.OffsetRange(oe,oe+1),new f.OffsetRange(ge,ge+1)),Z,J);for(const Se of ve.mappings)he.push(Se);ve.hitTimeout&&(de=!0)}}};let te=0,q=0;for(const $ of ce){(0,k.assertFn)(()=>$.seq1Range.start-te===$.seq2Range.start-q);const re=$.seq1Range.start-te;ue(re),te=$.seq1Range.endExclusive,q=$.seq2Range.endExclusive;const oe=this.refineDiff(R,K,$,Z,J);oe.hitTimeout&&(de=!0);for(const ge of oe.mappings)he.push(ge)}ue(R.length-te);const z=l(he,R,K);let ee=[];return G.computeMoves&&(ee=this.computeMoves(z,R,K,B,V,Z,J)),(0,k.assertFn)(()=>{function $(oe,ge){if(oe.lineNumber<1||oe.lineNumber>ge.length)return!1;const ve=ge[oe.lineNumber-1];return!(oe.column<1||oe.column>ve.length+1)}function re(oe,ge){return!(oe.startLineNumber<1||oe.startLineNumber>ge.length+1||oe.endLineNumberExclusive<1||oe.endLineNumberExclusive>ge.length+1)}for(const oe of z){if(!oe.innerChanges)return!1;for(const ge of oe.innerChanges)if(!($(ge.modifiedRange.getStartPosition(),K)&&$(ge.modifiedRange.getEndPosition(),K)&&$(ge.originalRange.getStartPosition(),R)&&$(ge.originalRange.getEndPosition(),R)))return!1;if(!re(oe.modifiedRange,K)||!re(oe.originalRange,R))return!1}return!0}),new t.LinesDiff(z,ee,de)}computeMoves(R,K,G,Z,J,X,H){const B=[],V=R.filter(z=>z.modifiedRange.isEmpty&&z.originalRange.length>=3).map(z=>new U(z.originalRange,K,z)),Y=new Set(R.filter(z=>z.originalRange.isEmpty&&z.modifiedRange.length>=3).map(z=>new U(z.modifiedRange,G,z))),ie=new Set;for(const z of V){let ee=-1,$;for(const re of Y){const oe=z.computeSimilarity(re);oe>ee&&(ee=oe,$=re)}if(ee>.9&&$&&(Y.delete($),B.push(new t.SimpleLineRangeMapping(z.range,$.range)),ie.add(z.source),ie.add($.source)),!X.isValid())return[]}const ae=new y.SetMap;for(const z of R)if(!ie.has(z))for(let ee=z.originalRange.startLineNumber;eez.modifiedRange.startLineNumber,L.numberComparator));for(const z of R){if(ie.has(z))continue;let ee=[];for(let $=z.modifiedRange.startLineNumber;${for(const Le of ee)if(Le.originalLineRange.endLineNumberExclusive+1===ve.endLineNumberExclusive&&Le.modifiedLineRange.endLineNumberExclusive+1===oe.endLineNumberExclusive){Le.originalLineRange=new S.LineRange(Le.originalLineRange.startLineNumber,ve.endLineNumberExclusive),Le.modifiedLineRange=new S.LineRange(Le.modifiedLineRange.startLineNumber,oe.endLineNumberExclusive),ge.push(Le);return}const Se={modifiedLineRange:oe,originalLineRange:ve};ce.push(Se),ge.push(Se)}),ee=ge}if(!X.isValid())return[]}ce.sort((0,L.reverseOrder)((0,L.compareBy)(z=>z.modifiedLineRange.length,L.numberComparator)));const de=new r,he=new r;for(const z of ce){const ee=z.modifiedLineRange.startLineNumber-z.originalLineRange.startLineNumber,$=de.subtractFrom(z.modifiedLineRange),re=he.subtractFrom(z.originalLineRange).map(ge=>ge.delta(ee)),oe=h($,re);for(const ge of oe){if(ge.length<3)continue;const ve=ge,Se=ge.delta(-ee);B.push(new t.SimpleLineRangeMapping(Se,ve)),de.addRange(ve),he.addRange(Se)}}if(B.sort((0,L.compareBy)(z=>z.original.startLineNumber,L.numberComparator)),B.length===0)return[];let ue=[B[0]];for(let z=1;z=0&&oe>=0&&re+oe<=2){ue[ue.length-1]=ee.join($);continue}$.original.toOffsetRange().slice(K).map(Se=>Se.trim()).join(` -`).length<=10||ue.push($)}const te=u.createOfSorted(R,z=>z.originalRange.endLineNumberExclusive,L.numberComparator);return ue=ue.filter(z=>{const ee=te.findLastItemBeforeOrEqual(z.original.startLineNumber)||new t.LineRangeMapping(new S.LineRange(1,1),new S.LineRange(1,1),[]),$=z.modified.startLineNumber-ee.modifiedRange.endLineNumberExclusive,re=z.original.startLineNumber-ee.originalRange.endLineNumberExclusive;return $!==re}),ue.map(z=>{const ee=this.refineDiff(K,G,new C.SequenceDiff(z.original.toOffsetRange(),z.modified.toOffsetRange()),X,H),$=l(ee.mappings,K,G,!0);return new t.MovedText(z,$)})}refineDiff(R,K,G,Z,J){const X=new w(R,G.seq1Range,J),H=new w(K,G.seq2Range,J),B=X.length+H.length<500?this.dynamicProgrammingDiffing.compute(X,H,Z):this.myersDiffingAlgorithm.compute(X,H,Z);let V=B.diffs;return V=(0,i.optimizeSequenceDiffs)(X,H,V),V=o(X,H,V),V=(0,i.smoothenSequenceDiffs)(X,H,V),V=(0,i.removeRandomMatches)(X,H,V),{mappings:V.map(ie=>new t.RangeMapping(X.translateRange(ie.seq1Range),H.translateRange(ie.seq2Range))),hitTimeout:B.hitTimeout}}}e.AdvancedLinesDiffComputer=a;class u{static createOfSorted(R,K,G){return new u(R,K,G)}constructor(R,K,G){this._items=R,this._itemToDomain=K,this._domainComparator=G,this._currentIdx=0,this._lastValue=void 0,this._hasLastValue=!1}findLastItemBeforeOrEqual(R){if(this._hasLastValue&&L.CompareResult.isLessThan(this._domainComparator(R,this._lastValue)))throw new D.BugIndicatingError;for(this._lastValue=R,this._hasLastValue=!0;this._currentIdxZ.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,Z=>Z.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)this._normalizedRanges.splice(K,0,R);else if(K===G-1){const Z=this._normalizedRanges[K];this._normalizedRanges[K]=Z.join(R)}else{const Z=this._normalizedRanges[K].join(this._normalizedRanges[G-1]).join(R);this._normalizedRanges.splice(K,G-K,Z)}}subtractFrom(R){const K=c(this._normalizedRanges.findIndex(X=>X.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,X=>X.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)return[R];const Z=[];let J=R.startLineNumber;for(let X=K;XJ&&Z.push(new S.LineRange(J,H.startLineNumber)),J=H.endLineNumberExclusive}return JH&&G.push(new C.SequenceDiff(Z.s1Range,Z.s2Range)),Z=void 0}for(const H of K){let B=function(ce,de){var he,ue,te,q;if(!Z||!Z.s1Range.containsRange(ce)||!Z.s2Range.containsRange(de))if(Z&&!(Z.s1Range.endExclusive0||R.length>0;){const G=j[0],Z=R[0];let J;G&&(!Z||G.seq1Range.start0&&K[K.length-1].seq1Range.endExclusive>=J.seq1Range.start?K[K.length-1]=K[K.length-1].join(J):K.push(J)}return K}function l(j,R,K,G=!1){const Z=[];for(const J of m(j.map(X=>p(X,R,K)),(X,H)=>X.originalRange.overlapOrTouch(H.originalRange)||X.modifiedRange.overlapOrTouch(H.modifiedRange))){const X=J[0],H=J[J.length-1];Z.push(new t.LineRangeMapping(X.originalRange.join(H.originalRange),X.modifiedRange.join(H.modifiedRange),J.map(B=>B.innerChanges[0])))}return(0,k.assertFn)(()=>!G&&Z.length>0&&Z[0].originalRange.startLineNumber!==Z[0].modifiedRange.startLineNumber?!1:(0,k.checkAdjacentItems)(Z,(J,X)=>X.originalRange.startLineNumber-J.originalRange.endLineNumberExclusive===X.modifiedRange.startLineNumber-J.modifiedRange.endLineNumberExclusive&&J.originalRange.endLineNumberExclusive=K[j.modifiedRange.startLineNumber-1].length&&j.originalRange.startColumn-1>=R[j.originalRange.startLineNumber-1].length&&j.originalRange.startLineNumber<=j.originalRange.endLineNumber+Z&&j.modifiedRange.startLineNumber<=j.modifiedRange.endLineNumber+Z&&(G=1);const J=new S.LineRange(j.originalRange.startLineNumber+G,j.originalRange.endLineNumber+1+Z),X=new S.LineRange(j.modifiedRange.startLineNumber+G,j.modifiedRange.endLineNumber+1+Z);return new t.LineRangeMapping(J,X,[j])}e.getLineRangeMapping=p;function*m(j,R){let K,G;for(const Z of j)G!==void 0&&R(G,Z)?K.push(Z):(K&&(yield K),K=[Z]),G=Z;K&&(yield K)}class v{constructor(R,K){this.trimmedHash=R,this.lines=K}getElement(R){return this.trimmedHash[R]}get length(){return this.trimmedHash.length}getBoundaryScore(R){const K=R===0?0:b(this.lines[R-1]),G=R===this.lines.length?0:b(this.lines[R]);return 1e3-(K+G)}getText(R){return this.lines.slice(R.start,R.endExclusive).join(` -`)}isStronglyEqual(R,K){return this.lines[R]===this.lines[K]}}e.LineSequence=v;function b(j){let R=0;for(;R0&&K.endExclusive>=R.length&&(K=new f.OffsetRange(K.start-1,K.endExclusive),Z=!0),this.lineRange=K;for(let J=this.lineRange.start;JString.fromCharCode(K)).join("")}getElement(R){return this.elements[R]}get length(){return this.elements.length}getBoundaryScore(R){const K=N(R>0?this.elements[R-1]:-1),G=N(RR?G=J:K=J+1}const Z=K===0?0:this.firstCharOffsetByLineMinusOne[K-1];return new _.Position(this.lineRange.start+K+1,R-Z+1+this.additionalOffsetByLine[K])}translateRange(R){return g.Range.fromPositions(this.translateOffset(R.start),this.translateOffset(R.endExclusive))}findWordContaining(R){if(R<0||R>=this.elements.length||!x(this.elements[R]))return;let K=R;for(;K>0&&x(this.elements[K-1]);)K--;let G=R;for(;GX<=R.start))!==null&&K!==void 0?K:0,J=(G=P(this.firstCharOffsetByLineMinusOne,X=>R.endExclusive<=X))!==null&&G!==void 0?G:this.elements.length;return new f.OffsetRange(Z,J)}}e.LinesSliceCharSequence=w;function E(j,R){let K=0,G=j.length;for(;K=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57}const T={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function A(j){return T[j]}function N(j){return j===10?7:j===13?6:F(j)?5:j>=97&&j<=122?0:j>=65&&j<=90?1:j>=48&&j<=57?2:j===-1?3:4}function F(j){return j===32||j===9}const O=new Map;function W(j){let R=O.get(j);return R===void 0&&(R=O.size,O.set(j,R)),R}class U{constructor(R,K,G){this.range=R,this.lines=K,this.source=G,this.histogram=[];let Z=0;for(let J=R.startLineNumber-1;Jnew k.RangeMapping(new D.Range(T.originalStartLineNumber,T.originalStartColumn,T.originalEndLineNumber,T.originalEndColumn),new D.Range(T.modifiedStartLineNumber,T.modifiedStartColumn,T.modifiedEndLineNumber,T.modifiedEndColumn))));E&&(E.modifiedRange.endLineNumberExclusive===x.modifiedRange.startLineNumber||E.originalRange.endLineNumberExclusive===x.originalRange.startLineNumber)&&(x=new k.LineRangeMapping(E.originalRange.join(x.originalRange),E.modifiedRange.join(x.modifiedRange),E.innerChanges&&x.innerChanges?E.innerChanges.concat(x.innerChanges):void 0),w.pop()),w.push(x),E=x}return(0,S.assertFn)(()=>(0,S.checkAdjacentItems)(w,(I,M)=>M.originalRange.startLineNumber-I.originalRange.endLineNumberExclusive===M.modifiedRange.startLineNumber-I.modifiedRange.endLineNumberExclusive&&I.originalRange.endLineNumberExclusive(d===10?"\\n":String.fromCharCode(d))+`-(${this._lineNumbers[l]},${this._columns[l]})`).join(", ")+"]"}_assertIndex(d,l){if(d<0||d>=l.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(d){return d>0&&d===this._lineNumbers.length?this.getEndLineNumber(d-1):(this._assertIndex(d,this._lineNumbers),this._lineNumbers[d])}getEndLineNumber(d){return d===-1?this.getStartLineNumber(d+1):(this._assertIndex(d,this._lineNumbers),this._charCodes[d]===10?this._lineNumbers[d]+1:this._lineNumbers[d])}getStartColumn(d){return d>0&&d===this._columns.length?this.getEndColumn(d-1):(this._assertIndex(d,this._columns),this._columns[d])}getEndColumn(d){return d===-1?this.getStartColumn(d+1):(this._assertIndex(d,this._columns),this._charCodes[d]===10?1:this._columns[d]+1)}}class n{constructor(d,l,p,m,v,b,w,E){this.originalStartLineNumber=d,this.originalStartColumn=l,this.originalEndLineNumber=p,this.originalEndColumn=m,this.modifiedStartLineNumber=v,this.modifiedStartColumn=b,this.modifiedEndLineNumber=w,this.modifiedEndColumn=E}static createFromDiffChange(d,l,p){const m=l.getStartLineNumber(d.originalStart),v=l.getStartColumn(d.originalStart),b=l.getEndLineNumber(d.originalStart+d.originalLength-1),w=l.getEndColumn(d.originalStart+d.originalLength-1),E=p.getStartLineNumber(d.modifiedStart),I=p.getStartColumn(d.modifiedStart),M=p.getEndLineNumber(d.modifiedStart+d.modifiedLength-1),P=p.getEndColumn(d.modifiedStart+d.modifiedLength-1);return new n(m,v,b,w,E,I,M,P)}}function t(o){if(o.length<=1)return o;const d=[o[0]];let l=d[0];for(let p=1,m=o.length;p0&&l.originalLength<20&&l.modifiedLength>0&&l.modifiedLength<20&&v()){const T=p.createCharSequence(d,l.originalStart,l.originalStart+l.originalLength-1),A=m.createCharSequence(d,l.modifiedStart,l.modifiedStart+l.modifiedLength-1);if(T.getElements().length>0&&A.getElements().length>0){let N=C(T,A,v,!0).changes;w&&(N=t(N)),x=[];for(let F=0,O=N.length;F1&&N>1;){const F=x.charCodeAt(A-2),O=T.charCodeAt(N-2);if(F!==O)break;A--,N--}(A>1||N>1)&&this._pushTrimWhitespaceCharChange(m,v+1,1,A,b+1,1,N)}{let A=r(x,1),N=r(T,1);const F=x.length+1,O=T.length+1;for(;A!0;const d=Date.now();return()=>Date.now()-dnew L.LegacyLinesDiffComputer,getAdvanced:()=>new k.AdvancedLinesDiffComputer}}),define(ne[277],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalEditorAction=void 0;class L{constructor(y,D,S,f,_,g){this.id=y,this.label=D,this.alias=S,this._precondition=f,this._run=_,this._contextKeyService=g}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(y){return this.isSupported()?this._run(y):Promise.resolve(void 0)}}e.InternalEditorAction=L}),define(ne[148],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorType=void 0,e.EditorType={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}}),define(ne[177],se([1,0,148]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeEditor=e.isCompositeEditor=e.isDiffEditor=e.isCodeEditor=void 0;function k(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.ICodeEditor:!1}e.isCodeEditor=k;function y(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.IDiffEditor:!1}e.isDiffEditor=y;function D(f){return!!f&&typeof f=="object"&&typeof f.onDidChangeActiveEditor=="function"}e.isCompositeEditor=D;function S(f){return k(f)?f:y(f)?f.getModifiedEditor():D(f)&&k(f.activeCodeEditor)?f.activeCodeEditor:null}e.getCodeEditor=S}),define(ne[149],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEditorFeatures=e.registerEditorFeature=void 0;const L=[];function k(D){L.push(D)}e.registerEditorFeature=k;function y(){return L.slice(0)}e.getEditorFeatures=y}),define(ne[493],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorTheme=void 0;class L{get type(){return this._theme.type}get value(){return this._theme}constructor(y){this._theme=y}update(y){this._theme=y}getColor(y){return this._theme.getColor(y)}}e.EditorTheme=L}),define(ne[124],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMetadata=void 0;class L{static getLanguageId(y){return(y&255)>>>0}static getTokenType(y){return(y&768)>>>8}static containsBalancedBrackets(y){return(y&1024)!==0}static getFontStyle(y){return(y&30720)>>>11}static getForeground(y){return(y&16744448)>>>15}static getBackground(y){return(y&4278190080)>>>24}static getClassNameFromMetadata(y){let S="mtk"+this.getForeground(y);const f=this.getFontStyle(y);return f&1&&(S+=" mtki"),f&2&&(S+=" mtkb"),f&4&&(S+=" mtku"),f&8&&(S+=" mtks"),S}static getInlineStyleFromMetadata(y,D){const S=this.getForeground(y),f=this.getFontStyle(y);let _=`color: ${D[S]};`;f&1&&(_+="font-style: italic;"),f&2&&(_+="font-weight: bold;");let g="";return f&4&&(g+=" underline"),f&8&&(g+=" line-through"),g&&(_+=`text-decoration:${g};`),_}static getPresentationFromMetadata(y){const D=this.getForeground(y),S=this.getFontStyle(y);return{foreground:D,italic:!!(S&1),bold:!!(S&2),underline:!!(S&4),strikethrough:!!(S&8)}}}e.TokenMetadata=L}),define(ne[494],se([1,0,38]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeDefaultDocumentColors=void 0;function k(i){const n=[];for(const t of i){const a=Number(t);(a||a===0&&t.replace(/\s/g,"")!=="")&&n.push(a)}return n}function y(i,n,t,a){return{red:i/255,blue:t/255,green:n/255,alpha:a}}function D(i,n){const t=n.index,a=n[0].length;if(!t)return;const u=i.positionAt(t);return{startLineNumber:u.lineNumber,startColumn:u.column,endLineNumber:u.lineNumber,endColumn:u.column+a}}function S(i,n){if(!i)return;const t=L.Color.Format.CSS.parseHex(n);if(t)return{range:i,color:y(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function f(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u);return{range:i,color:y(h[0],h[1],h[2],t?h[3]:1)}}function _(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u),r=new L.Color(new L.HSLA(h[0],h[1]/100,h[2]/100,t?h[3]:1));return{range:i,color:y(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function g(i,n){return typeof i=="string"?[...i.matchAll(n)]:i.findMatches(n)}function C(i){const n=[],a=g(i,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(a.length>0)for(const u of a){const h=u.filter(d=>d!==void 0),r=h[1],c=h[2];if(!c)continue;let o;if(r==="rgb"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=f(D(i,u),g(c,d),!1)}else if(r==="rgba"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=f(D(i,u),g(c,d),!0)}else if(r==="hsl"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=_(D(i,u),g(c,d),!1)}else if(r==="hsla"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=_(D(i,u),g(c,d),!0)}else r==="#"&&(o=S(D(i,u),r+c));o&&n.push(o)}return n}function s(i){return!i||typeof i.getValue!="function"||typeof i.positionAt!="function"?[]:C(i)}e.computeDefaultDocumentColors=s}),define(ne[110],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var L;(function(S){S[S.None=0]="None",S[S.Indent=1]="Indent",S[S.IndentOutdent=2]="IndentOutdent",S[S.Outdent=3]="Outdent"})(L||(e.IndentAction=L={}));class k{constructor(f){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=f.open,this.close=f.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(f.notIn))for(let _=0,g=f.notIn.length;_n&&(n=c),r>t&&(t=r),o>t&&(t=o)}n++,t++;const a=new k(t,n,0);for(let u=0,h=i.length;u=this._maxCharCode?0:this._states.get(i,n)}}e.StateMachine=y;let D=null;function S(){return D===null&&(D=new y([[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]])),D}let f=null;function _(){if(f===null){f=new L.CharacterClassifier(0);const s=` <>'"\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 n=0;na);if(a>0){const r=n.charCodeAt(a-1),c=n.charCodeAt(h);(r===40&&c===41||r===91&&c===93||r===123&&c===125)&&h--}return{range:{startLineNumber:t,startColumn:a+1,endLineNumber:t,endColumn:h+2},url:n.substring(a,h+1)}}static computeLinks(i,n=S()){const t=_(),a=[];for(let u=1,h=i.getLineCount();u<=h;u++){const r=i.getLineContent(u),c=r.length;let o=0,d=0,l=0,p=1,m=!1,v=!1,b=!1,w=!1;for(;o0&&D.getLanguageId(s-1)===g;)s--;return new k(D,g,s,C+1,D.getStartOffset(s),D.getEndOffset(C))}e.createScopedLineTokens=L;class k{constructor(S,f,_,g,C,s){this._scopedLineTokensBrand=void 0,this._actual=S,this.languageId=f,this._firstTokenIndex=_,this._lastTokenIndex=g,this.firstCharOffset=C,this._lastCharOffset=s}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(S){return this._actual.getLineContent().substring(0,this.firstCharOffset+S)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(S){return this._actual.findTokenIndexAtOffset(S+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(S){return this._actual.getStandardTokenType(S+this._firstTokenIndex)}}e.ScopedLineTokens=k;function y(D){return(D&3)!==0}e.ignoreBracketsInToken=y}),define(ne[74],se([1,0,12,5,24,125,82,202]),function(Q,e,L,k,y,D,S,f){"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 _=()=>!0,g=()=>!1,C=r=>r===" "||r===" ";class s{static shouldRecreate(c){return c.hasChanged(142)||c.hasChanged(128)||c.hasChanged(36)||c.hasChanged(75)||c.hasChanged(77)||c.hasChanged(78)||c.hasChanged(6)||c.hasChanged(10)||c.hasChanged(8)||c.hasChanged(9)||c.hasChanged(13)||c.hasChanged(126)||c.hasChanged(49)||c.hasChanged(89)}constructor(c,o,d,l){this.languageConfigurationService=l,this._cursorMoveConfigurationBrand=void 0,this._languageId=c;const p=d.options,m=p.get(142),v=p.get(49);this.readOnly=p.get(89),this.tabSize=o.tabSize,this.indentSize=o.indentSize,this.insertSpaces=o.insertSpaces,this.stickyTabStops=p.get(114),this.lineHeight=v.lineHeight,this.typicalHalfwidthCharacterWidth=v.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(m.height/this.lineHeight)-2),this.useTabStops=p.get(126),this.wordSeparators=p.get(128),this.emptySelectionClipboard=p.get(36),this.copyWithSyntaxHighlighting=p.get(24),this.multiCursorMergeOverlapping=p.get(75),this.multiCursorPaste=p.get(77),this.multiCursorLimit=p.get(78),this.autoClosingBrackets=p.get(6),this.autoClosingQuotes=p.get(10),this.autoClosingDelete=p.get(8),this.autoClosingOvertype=p.get(9),this.autoSurround=p.get(13),this.autoIndent=p.get(11),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(c,this.autoClosingQuotes,!0),bracket:this._getShouldAutoClose(c,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(c).getAutoClosingPairs();const b=this.languageConfigurationService.getLanguageConfiguration(c).getSurroundingPairs();if(b)for(const w of b)this.surroundingPairs[w.open]=w.close}get electricChars(){var c;if(!this._electricChars){this._electricChars={};const o=(c=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||c===void 0?void 0:c.getElectricCharacters();if(o)for(const d of o)this._electricChars[d]=!0}return this._electricChars}onElectricCharacter(c,o,d){const l=(0,D.createScopedLineTokens)(o,d-1),p=this.languageConfigurationService.getLanguageConfiguration(l.languageId).electricCharacter;return p?p.onElectricCharacter(c,l,d-l.firstCharOffset):null}normalizeIndentation(c){return(0,f.normalizeIndentation)(c,this.indentSize,this.insertSpaces)}_getShouldAutoClose(c,o,d){switch(o){case"beforeWhitespace":return C;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(c,d);case"always":return _;case"never":return g}}_getLanguageDefinedShouldAutoClose(c,o){const d=this.languageConfigurationService.getLanguageConfiguration(c).getAutoCloseBeforeSet(o);return l=>d.indexOf(l)!==-1}visibleColumnFromColumn(c,o){return S.CursorColumns.visibleColumnFromColumn(c.getLineContent(o.lineNumber),o.column,this.tabSize)}columnFromVisibleColumn(c,o,d){const l=S.CursorColumns.columnFromVisibleColumn(c.getLineContent(o),d,this.tabSize),p=c.getLineMinColumn(o);if(lm?m:l}}e.CursorConfiguration=s;class i{static fromModelState(c){return new n(c)}static fromViewState(c){return new t(c)}static fromModelSelection(c){const o=y.Selection.liftSelection(c),d=new a(k.Range.fromPositions(o.getSelectionStart()),0,0,o.getPosition(),0);return i.fromModelState(d)}static fromModelSelections(c){const o=[];for(let d=0,l=c.length;ds,a=C>i,u=Ci||pC||l0&&C--,D.columnSelect(f,_,g.fromViewLineNumber,g.fromViewVisualColumn,g.toViewLineNumber,C)}static columnSelectRight(f,_,g){let C=0;const s=Math.min(g.fromViewLineNumber,g.toViewLineNumber),i=Math.max(g.fromViewLineNumber,g.toViewLineNumber);for(let t=s;t<=i;t++){const a=_.getLineMaxColumn(t),u=f.visibleColumnFromColumn(_,new k.Position(t,a));C=Math.max(C,u)}let n=g.toViewVisualColumn;return ns.getLineMinColumn(i.lineNumber))return i.delta(void 0,-L.prevCharLength(s.getLineContent(i.lineNumber),i.column-1));if(i.lineNumber>1){const n=i.lineNumber-1;return new y.Position(n,s.getLineMaxColumn(n))}else return i}static leftPositionAtomicSoftTabs(s,i,n){if(i.column<=s.getLineIndentColumn(i.lineNumber)){const t=s.getLineMinColumn(i.lineNumber),a=s.getLineContent(i.lineNumber),u=S.AtomicTabMoveOperations.atomicPosition(a,i.column-1,n,0);if(u!==-1&&u+1>=t)return new y.Position(i.lineNumber,u+1)}return this.leftPosition(s,i)}static left(s,i,n){const t=s.stickyTabStops?g.leftPositionAtomicSoftTabs(i,n,s.tabSize):g.leftPosition(i,n);return new _(t.lineNumber,t.column,0)}static moveLeft(s,i,n,t,a){let u,h;if(n.hasSelection()&&!t)u=n.selection.startLineNumber,h=n.selection.startColumn;else{const r=n.position.delta(void 0,-(a-1)),c=i.normalizePosition(g.clipPositionColumn(r,i),0),o=g.left(s,i,c);u=o.lineNumber,h=o.column}return n.move(t,u,h,0)}static clipPositionColumn(s,i){return new y.Position(s.lineNumber,g.clipRange(s.column,i.getLineMinColumn(s.lineNumber),i.getLineMaxColumn(s.lineNumber)))}static clipRange(s,i,n){return sn?n:s}static rightPosition(s,i,n){return no?(n=o,h?t=i.getLineMaxColumn(n):t=Math.min(i.getLineMaxColumn(n),t)):t=s.columnFromVisibleColumn(i,n,c),p?a=0:a=c-k.CursorColumns.visibleColumnFromColumn(i.getLineContent(n),t,s.tabSize),r!==void 0){const m=new y.Position(n,t),v=i.normalizePosition(m,r);a=a+(t-v.column),n=v.lineNumber,t=v.column}return new _(n,t,a)}static down(s,i,n,t,a,u,h){return this.vertical(s,i,n,t,a,n+u,h,4)}static moveDown(s,i,n,t,a){let u,h;n.hasSelection()&&!t?(u=n.selection.endLineNumber,h=n.selection.endColumn):(u=n.position.lineNumber,h=n.position.column);let r=0,c;do if(c=g.down(s,i,u+r,h,n.leftoverVisibleColumns,a,!0),i.normalizePosition(new y.Position(c.lineNumber,c.column),2).lineNumber>u)break;while(r++<10&&u+r1&&this._isBlankLine(i,a);)a--;for(;a>1&&!this._isBlankLine(i,a);)a--;return n.move(t,a,i.getLineMinColumn(a),0)}static moveToNextBlankLine(s,i,n,t){const a=i.getLineCount();let u=n.position.lineNumber;for(;u=l.length+1)return!1;const p=l.charAt(d.column-2),m=t.get(p);if(!m)return!1;if((0,y.isQuote)(p)){if(n==="never")return!1}else if(i==="never")return!1;const v=l.charAt(d.column-1);let b=!1;for(const w of m)w.open===p&&w.close===v&&(b=!0);if(!b)return!1;if(s==="auto"){let w=!1;for(let E=0,I=h.length;E1){const a=i.getLineContent(t.lineNumber),u=L.firstNonWhitespaceIndex(a),h=u===-1?a.length+1:u+1;if(t.column<=h){const r=n.visibleColumnFromColumn(i,t),c=D.CursorColumns.prevIndentTabStop(r,n.indentSize),o=n.columnFromVisibleColumn(i,t.lineNumber,c);return new f.Range(t.lineNumber,o,t.lineNumber,t.column)}}return f.Range.fromPositions(g.getPositionAfterDeleteLeft(t,i),t)}static getPositionAfterDeleteLeft(s,i){if(s.column>1){const n=L.getLeftDeleteOffset(s.column-1,i.getLineContent(s.lineNumber));return s.with(void 0,n+1)}else if(s.lineNumber>1){const n=s.lineNumber-1;return new _.Position(n,i.getLineMaxColumn(n))}else return s}static cut(s,i,n){const t=[];let a=null;n.sort((u,h)=>_.Position.compare(u.getStartPosition(),h.getEndPosition()));for(let u=0,h=n.length;u1&&a?.endLineNumber!==c.lineNumber?(o=c.lineNumber-1,d=i.getLineMaxColumn(c.lineNumber-1),l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber)):(o=c.lineNumber,d=1,l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber));const m=new f.Range(o,d,l,p);a=m,m.isEmpty()?t[u]=null:t[u]=new k.ReplaceCommand(m,"")}else t[u]=null;else t[u]=new k.ReplaceCommand(r,"")}return new y.EditOperationResult(0,t,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=g}),define(ne[178],se([1,0,11,74,204,146,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class _{static _createWord(i,n,t,a,u){return{start:a,end:u,wordType:n,nextCharClass:t}}static _findPreviousWordOnLine(i,n,t){const a=n.getLineContent(t.lineNumber);return this._doFindPreviousWordOnLine(a,i,t)}static _doFindPreviousWordOnLine(i,n,t){let a=0;for(let u=t.column-2;u>=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===0){if(a===2)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=1}else if(r===2){if(a===1)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=2}else if(r===1&&a!==0)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1))}return a!==0?this._createWord(i,a,1,0,this._findEndOfWord(i,n,a,0)):null}static _findEndOfWord(i,n,t,a){const u=i.length;for(let h=a;h=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===1||t===1&&r===2||t===2&&r===0)return u+1}return 0}static moveWordLeft(i,n,t,a){let u=t.lineNumber,h=t.column;h===1&&u>1&&(u=u-1,h=n.getLineMaxColumn(u));let r=_._findPreviousWordOnLine(i,n,new S.Position(u,h));if(a===0)return new S.Position(u,r?r.start+1:1);if(a===1)return r&&r.wordType===2&&r.end-r.start===1&&r.nextCharClass===0&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.start+1:1);if(a===3){for(;r&&r.wordType===2;)r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1));return new S.Position(u,r?r.start+1:1)}return r&&h<=r.end+1&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.end+1:1)}static _moveWordPartLeft(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===1)return t>1?new S.Position(t-1,i.getLineMaxColumn(t-1)):n;const u=i.getLineContent(t);for(let h=n.column-1;h>1;h--){const r=u.charCodeAt(h-2),c=u.charCodeAt(h-1);if(r===95&&c!==95)return new S.Position(t,h);if(r===45&&c!==45)return new S.Position(t,h);if((L.isLowerAsciiLetter(r)||L.isAsciiDigit(r))&&L.isUpperAsciiLetter(c))return new S.Position(t,h);if(L.isUpperAsciiLetter(r)&&L.isUpperAsciiLetter(c)&&h+1=c.start+1&&(c=_._findNextWordOnLine(i,n,new S.Position(u,c.end+1))),c?h=c.start+1:h=n.getLineMaxColumn(u);return new S.Position(u,h)}static _moveWordPartRight(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===a)return t1?o=1:(c--,o=a.getLineMaxColumn(c)):(d&&o<=d.end+1&&(d=_._findPreviousWordOnLine(t,a,new S.Position(c,d.start+1))),d?o=d.end+1:o>1?o=1:(c--,o=a.getLineMaxColumn(c))),new f.Range(c,o,r.lineNumber,r.column)}static deleteInsideWord(i,n,t){if(!t.isEmpty())return t;const a=new S.Position(t.positionLineNumber,t.positionColumn),u=this._deleteInsideWordWhitespace(n,a);return u||this._deleteInsideWordDetermineDeleteRange(i,n,a)}static _charAtIsWhitespace(i,n){const t=i.charCodeAt(n);return t===32||t===9}static _deleteInsideWordWhitespace(i,n){const t=i.getLineContent(n.lineNumber),a=t.length;if(a===0)return null;let u=Math.max(n.column-2,0);if(!this._charAtIsWhitespace(t,u))return null;let h=Math.min(n.column-1,a-1);if(!this._charAtIsWhitespace(t,h))return null;for(;u>0&&this._charAtIsWhitespace(t,u-1);)u--;for(;h+11?new f.Range(t.lineNumber-1,n.getLineMaxColumn(t.lineNumber-1),t.lineNumber,1):t.lineNumberl.start+1<=t.column&&t.column<=l.end+1,r=(l,p)=>(l=Math.min(l,t.column),p=Math.max(p,t.column),new f.Range(t.lineNumber,l,t.lineNumber,p)),c=l=>{let p=l.start+1,m=l.end+1,v=!1;for(;m-11&&this._charAtIsWhitespace(a,p-2);)p--;return r(p,m)},o=_._findPreviousWordOnLine(i,n,t);if(o&&h(o))return c(o);const d=_._findNextWordOnLine(i,n,t);return d&&h(d)?c(d):o&&d?r(o.end+1,d.start+1):o?r(o.start+1,o.end+1):d?r(d.start+1,d.end+1):r(1,u+1)}static _deleteWordPartLeft(i,n){if(!n.isEmpty())return n;const t=n.getPosition(),a=_._moveWordPartLeft(i,t);return new f.Range(t.lineNumber,t.column,a.lineNumber,a.column)}static _findFirstNonWhitespaceChar(i,n){const t=i.length;for(let a=n;a=p.start+1&&(p=_._findNextWordOnLine(t,a,new S.Position(c,p.end+1))),p?o=p.start+1:o!!i)}}),define(ne[205],se([1,0,20,74,203,178,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class _{static addCursorDown(s,i,n){const t=[];let a=0;for(let u=0,h=i.length;uc&&(o=c,d=s.model.getLineMaxColumn(o)),k.CursorState.fromModelState(new k.SingleCursorState(new f.Range(u.lineNumber,1,o,d),2,0,new S.Position(o,d),0))}const r=i.modelState.selectionStart.getStartPosition().lineNumber;if(u.lineNumberr){const c=s.getLineCount();let o=h.lineNumber+1,d=1;return o>c&&(o=c,d=s.getLineMaxColumn(o)),k.CursorState.fromViewState(i.viewState.move(!0,o,d,0))}else{const c=i.modelState.selectionStart.getEndPosition();return k.CursorState.fromModelState(i.modelState.move(!0,c.lineNumber,c.column,0))}}static word(s,i,n,t){const a=s.model.validatePosition(t);return k.CursorState.fromModelState(D.WordOperations.word(s.cursorConfig,s.model,i.modelState,n,a))}static cancelSelection(s,i){if(!i.modelState.hasSelection())return new k.CursorState(i.modelState,i.viewState);const n=i.viewState.position.lineNumber,t=i.viewState.position.column;return k.CursorState.fromViewState(new k.SingleCursorState(new f.Range(n,t,n,t),0,0,new S.Position(n,t),0))}static moveTo(s,i,n,t,a){if(n){if(i.modelState.selectionStartKind===1)return this.word(s,i,n,t);if(i.modelState.selectionStartKind===2)return this.line(s,i,n,t,a)}const u=s.model.validatePosition(t),h=a?s.coordinatesConverter.validateViewPosition(new S.Position(a.lineNumber,a.column),u):s.coordinatesConverter.convertModelPositionToViewPosition(u);return k.CursorState.fromViewState(i.viewState.move(n,h.lineNumber,h.column,0))}static simpleMove(s,i,n,t,a,u){switch(n){case 0:return u===4?this._moveHalfLineLeft(s,i,t):this._moveLeft(s,i,t,a);case 1:return u===4?this._moveHalfLineRight(s,i,t):this._moveRight(s,i,t,a);case 2:return u===2?this._moveUpByViewLines(s,i,t,a):this._moveUpByModelLines(s,i,t,a);case 3:return u===2?this._moveDownByViewLines(s,i,t,a):this._moveDownByModelLines(s,i,t,a);case 4:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 5:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 6:return this._moveToViewMinColumn(s,i,t);case 7:return this._moveToViewFirstNonWhitespaceColumn(s,i,t);case 8:return this._moveToViewCenterColumn(s,i,t);case 9:return this._moveToViewMaxColumn(s,i,t);case 10:return this._moveToViewLastNonWhitespaceColumn(s,i,t);default:return null}}static viewportMove(s,i,n,t,a){const u=s.getCompletelyVisibleViewRange(),h=s.coordinatesConverter.convertViewRangeToModelRange(u);switch(n){case 11:{const r=this._firstLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 13:{const r=this._lastLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 12:{const r=Math.round((h.startLineNumber+h.endLineNumber)/2),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 14:{const r=[];for(let c=0,o=i.length;cn.endLineNumber-1?u=n.endLineNumber-1:ak.CursorState.fromViewState(y.MoveOperations.moveLeft(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineLeft(s,i,n){const t=[];for(let a=0,u=i.length;ak.CursorState.fromViewState(y.MoveOperations.moveRight(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineRight(s,i,n){const t=[];for(let a=0,u=i.length;aC.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(C=>C.asCursorState())}getViewPositions(){return this.cursors.map(C=>C.viewState.position)}getTopMostViewPosition(){return(0,L.findMinBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,L.findLastMaxBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getSelections(){return this.cursors.map(C=>C.modelState.selection)}getViewSelections(){return this.cursors.map(C=>C.viewState.selection)}setSelections(C){this.setStates(k.CursorState.fromModelSelections(C))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(C){C!==null&&(this.cursors[0].setState(this.context,C[0].modelState,C[0].viewState),this._setSecondaryStates(C.slice(1)))}_setSecondaryStates(C){const s=this.cursors.length-1,i=C.length;if(si){const n=s-i;for(let t=0;t=C+1&&this.lastAddedCursorIndex--,this.cursors[C+1].dispose(this.context),this.cursors.splice(C+1,1)}normalize(){if(this.cursors.length===1)return;const C=this.cursors.slice(0),s=[];for(let i=0,n=C.length;ii.selection,S.Range.compareRangesUsingStarts));for(let i=0;io&&m.index--;C.splice(o,1),s.splice(c,1),this._removeSecondaryCursor(o-1),i--}}}}e.CursorCollection=_}),define(ne[499],se([1,0,110]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class k{constructor(D){if(D.autoClosingPairs?this._autoClosingPairs=D.autoClosingPairs.map(S=>new L.StandardAutoClosingPairConditional(S)):D.brackets?this._autoClosingPairs=D.brackets.map(S=>new L.StandardAutoClosingPairConditional({open:S[0],close:S[1]})):this._autoClosingPairs=[],D.__electricCharacterSupport&&D.__electricCharacterSupport.docComment){const S=D.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new L.StandardAutoClosingPairConditional({open:S.open,close:S.close||""}))}this._autoCloseBeforeForQuotes=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=D.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(D){return D?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}e.CharacterPairSupport=k,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> - `,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> - `}),define(ne[500],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function L(y){return y.global&&(y.lastIndex=0),!0}class k{constructor(D){this._indentationRules=D}shouldIncrease(D){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&L(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(D))}shouldDecrease(D){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&L(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(D))}shouldIndentNextLine(D){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&L(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(D))}shouldIgnore(D){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&L(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(D))}getIndentMetadata(D){let S=0;return this.shouldIncrease(D)&&(S+=1),this.shouldDecrease(D)&&(S+=2),this.shouldIndentNextLine(D)&&(S+=4),this.shouldIgnore(D)&&(S+=8),S}}e.IndentRulesSupport=k}),define(ne[501],se([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(y,D,S,f,_){if(y&&D){const g=this.doNavigateValueSet(D,_);if(g)return{range:y,value:g}}if(S&&f){const g=this.doNavigateValueSet(f,_);if(g)return{range:S,value:g}}return null}doNavigateValueSet(y,D){const S=this.numberReplace(y,D);return S!==null?S:this.textReplace(y,D)}numberReplace(y,D){const S=Math.pow(10,y.length-(y.lastIndexOf(".")+1));let f=Number(y);const _=parseFloat(y);return!isNaN(f)&&!isNaN(_)&&f===_?f===0&&!D?null:(f=Math.floor(f*S),f+=D?S:-S,String(f/S)):null}textReplace(y,D){return this.valueSetsReplace(this._defaultValueSet,y,D)}valueSetsReplace(y,D,S){let f=null;for(let _=0,g=y.length;f===null&&_=0?(f+=S?1:-1,f<0?f=y.length-1:f%=y.length,y[f]):null}}e.BasicInplaceReplace=L,L.INSTANCE=new L}),define(ne[502],se([1,0,261]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClosingBracketKind=e.OpeningBracketKind=e.BracketKindBase=e.LanguageBracketsConfiguration=void 0;class k{constructor(g,C){this.languageId=g;const s=C.brackets?y(C.brackets):[],i=new L.CachedFunction(a=>{const u=new Set;return{info:new S(this,a,u),closing:u}}),n=new L.CachedFunction(a=>{const u=new Set,h=new Set;return{info:new f(this,a,u,h),opening:u,openingColorized:h}});for(const[a,u]of s){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.opening.add(h.info)}const t=C.colorizedBracketPairs?y(C.colorizedBracketPairs):s.filter(a=>!(a[0]==="<"&&a[1]===">"));for(const[a,u]of t){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.openingColorized.add(h.info),r.opening.add(h.info)}this._openingBrackets=new Map([...i.cachedValues].map(([a,u])=>[a,u.info])),this._closingBrackets=new Map([...n.cachedValues].map(([a,u])=>[a,u.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(g){return this._openingBrackets.get(g)}getClosingBracketInfo(g){return this._closingBrackets.get(g)}getBracketInfo(g){return this.getOpeningBracketInfo(g)||this.getClosingBracketInfo(g)}}e.LanguageBracketsConfiguration=k;function y(_){return _.filter(([g,C])=>g!==""&&C!=="")}class D{constructor(g,C){this.config=g,this.bracketText=C}get languageId(){return this.config.languageId}}e.BracketKindBase=D;class S extends D{constructor(g,C,s){super(g,C),this.openedBrackets=s,this.isOpeningBracket=!0}}e.OpeningBracketKind=S;class f extends D{constructor(g,C,s,i){super(g,C),this.openingBrackets=s,this.openingColorizedBrackets=i,this.isOpeningBracket=!1}closes(g){return g.config!==this.config?!1:this.openingBrackets.has(g)}closesColorized(g){return g.config!==this.config?!1:this.openingColorizedBrackets.has(g)}getOpeningBrackets(){return[...this.openingBrackets]}}e.ClosingBracketKind=f}),define(ne[503],se([1,0,9,11,110]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class D{constructor(f){f=f||{},f.brackets=f.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],f.brackets.forEach(_=>{const g=D._createOpenBracketRegExp(_[0]),C=D._createCloseBracketRegExp(_[1]);g&&C&&this._brackets.push({open:_[0],openRegExp:g,close:_[1],closeRegExp:C})}),this._regExpRules=f.onEnterRules||[]}onEnter(f,_,g,C){if(f>=3)for(let s=0,i=this._regExpRules.length;sa.reg?(a.reg.lastIndex=0,a.reg.test(a.text)):!0))return n.action}if(f>=2&&g.length>0&&C.length>0)for(let s=0,i=this._brackets.length;s=2&&g.length>0){for(let s=0,i=this._brackets.length;s{const w=s(v.token,b.token);return w!==0?w:v.index-b.index});let h=0,r="000000",c="ffffff";for(;a.length>=1&&a[0].token==="";){const v=a.shift();v.fontStyle!==-1&&(h=v.fontStyle),v.foreground!==null&&(r=v.foreground),v.background!==null&&(c=v.background)}const o=new f;for(const v of u)o.getId(v);const d=o.getId(r),l=o.getId(c),p=new i(h,d,l),m=new n(p);for(let v=0,b=a.length;v"u"){const c=this._match(h),o=C(h);r=(c.metadata|o<<8)>>>0,this._cache.set(h,r)}return(r|u<<0)>>>0}}e.TokenTheme=_;const g=/\b(comment|string|regex|regexp)\b/;function C(a){const u=a.match(g);if(!u)return 0;switch(u[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=C;function s(a,u){return au?1:0}e.strcmp=s;class i{constructor(u,h,r){this._themeTrieElementRuleBrand=void 0,this._fontStyle=u,this._foreground=h,this._background=r,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new i(this._fontStyle,this._foreground,this._background)}acceptOverwrite(u,h,r){u!==-1&&(this._fontStyle=u),h!==0&&(this._foreground=h),r!==0&&(this._background=r),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}e.ThemeTrieElementRule=i;class n{constructor(u){this._themeTrieElementBrand=void 0,this._mainRule=u,this._children=new Map}match(u){if(u==="")return this._mainRule;const h=u.indexOf(".");let r,c;h===-1?(r=u,c=""):(r=u.substring(0,h),c=u.substring(h+1));const o=this._children.get(r);return typeof o<"u"?o.match(c):this._mainRule}insert(u,h,r,c){if(u===""){this._mainRule.acceptOverwrite(h,r,c);return}const o=u.indexOf(".");let d,l;o===-1?(d=u,l=""):(d=u.substring(0,o),l=u.substring(o+1));let p=this._children.get(d);typeof p>"u"&&(p=new n(this._mainRule.clone()),this._children.set(d,p)),p.insert(l,h,r,c)}}e.ThemeTrieElement=n;function t(a){const u=[];for(let h=1,r=a.length;h=f&&(m=m-l%f),m}e.lengthAdd=i;function n(l,p){return l.reduce((m,v)=>i(m,p(v)),e.lengthZero)}e.sumLengths=n;function t(l,p){return l===p}e.lengthEquals=t;function a(l,p){const m=l,v=p;if(v-m<=0)return e.lengthZero;const w=Math.floor(m/f),E=Math.floor(v/f),I=v-E*f;if(w===E){const M=m-w*f;return _(0,I-M)}else return _(E-w,I)}e.lengthDiffNonNegative=a;function u(l,p){return l=p}e.lengthGreaterThanEqual=r;function c(l){return _(l.lineNumber-1,l.column-1)}e.positionToLength=c;function o(l,p){const m=l,v=Math.floor(m/f),b=m-v*f,w=p,E=Math.floor(w/f),I=w-E*f;return new k.Range(v+1,b+1,E+1,I+1)}e.lengthsToRange=o;function d(l){const p=(0,L.splitLines)(l);return _(p.length-1,p[p.length-1].length)}e.lengthOfString=d}),define(ne[179],se([1,0,5,91]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class y{static fromModelContentChanges(_){return _.map(C=>{const s=L.Range.lift(C.range);return new y((0,k.positionToLength)(s.getStartPosition()),(0,k.positionToLength)(s.getEndPosition()),(0,k.lengthOfString)(C.text))}).reverse()}constructor(_,g,C){this.startOffset=_,this.endOffset=g,this.newLength=C}toString(){return`[${(0,k.lengthToObj)(this.startOffset)}...${(0,k.lengthToObj)(this.endOffset)}) -> ${(0,k.lengthToObj)(this.newLength)}`}}e.TextEditInfo=y;class D{constructor(_){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=_.map(g=>S.from(g))}getOffsetBeforeChange(_){return this.adjustNextEdit(_),this.translateCurToOld(_)}getDistanceToNextChange(_){this.adjustNextEdit(_);const g=this.edits[this.nextEditIdx],C=g?this.translateOldToCur(g.offsetObj):null;return C===null?null:(0,k.lengthDiffNonNegative)(_,C)}translateOldToCur(_){return _.lineCount===this.deltaLineIdxInOld?(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount+this.deltaOldToNewColumnCount):(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount)}translateCurToOld(_){const g=(0,k.lengthToObj)(_);return g.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount-this.deltaOldToNewColumnCount):(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount)}adjustNextEdit(_){for(;this.nextEditIdx!0)||[];return i&&c.unshift(i),c}const r=[];for(;i&&!(0,y.lengthIsZero)(h);){const[c,o]=i.splitAt(h);r.push(c),h=(0,y.lengthDiffNonNegative)(c.lengthAfter,h),i=o??C.dequeue()}return(0,y.lengthIsZero)(h)||r.push(new S(!1,h,h)),r}const t=[];function a(h,r,c){if(t.length>0&&(0,y.lengthEquals)(t[t.length-1].endOffset,h)){const o=t[t.length-1];t[t.length-1]=new k.TextEditInfo(o.startOffset,r,(0,y.lengthAdd)(o.newLength,c))}else t.push({startOffset:h,endOffset:r,newLength:c})}let u=y.lengthZero;for(const h of s){const r=n(h.lengthBefore);if(h.modified){const c=(0,y.sumLengths)(r,d=>d.lengthBefore),o=(0,y.lengthAdd)(u,c);a(u,o,h.lengthAfter),u=o}else for(const c of r){const o=u;u=(0,y.lengthAdd)(u,c.lengthBefore),c.modified&&a(o,u,c.lengthAfter)}}return t}e.combineTextEditInfos=D;class S{constructor(g,C,s){this.modified=g,this.lengthBefore=C,this.lengthAfter=s}splitAt(g){const C=(0,y.lengthDiffNonNegative)(g,this.lengthAfter);return(0,y.lengthEquals)(C,y.lengthZero)?[this,void 0]:this.modified?[new S(this.modified,this.lengthBefore,g),new S(this.modified,y.lengthZero,C)]:[new S(this.modified,g,g),new S(this.modified,C,C)]}toString(){return`${this.modified?"M":"U"}:${(0,y.lengthToObj)(this.lengthBefore)} -> ${(0,y.lengthToObj)(this.lengthAfter)}`}}function f(_){const g=[];let C=y.lengthZero;for(const s of _){const i=(0,y.lengthDiffNonNegative)(C,s.startOffset);(0,y.lengthIsZero)(i)||g.push(new S(!1,i,i));const n=(0,y.lengthDiffNonNegative)(s.startOffset,s.endOffset);g.push(new S(!0,n,s.newLength)),C=s.endOffset}return g}}),define(ne[505],se([1,0,91]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeReader=void 0;class k{constructor(f){this.lastOffset=L.lengthZero,this.nextNodes=[f],this.offsets=[L.lengthZero],this.idxs=[]}readLongestNodeAt(f,_){if((0,L.lengthLessThan)(f,this.lastOffset))throw new Error("Invalid offset");for(this.lastOffset=f;;){const g=D(this.nextNodes);if(!g)return;const C=D(this.offsets);if((0,L.lengthLessThan)(f,C))return;if((0,L.lengthLessThan)(C,f))if((0,L.lengthAdd)(C,g.length)<=f)this.nextNodeAfterCurrent();else{const s=y(g);s!==-1?(this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)):this.nextNodeAfterCurrent()}else{if(_(g))return this.nextNodeAfterCurrent(),g;{const s=y(g);if(s===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)}}}}nextNodeAfterCurrent(){for(;;){const f=D(this.offsets),_=D(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const g=D(this.nextNodes),C=y(g,this.idxs[this.idxs.length-1]);if(C!==-1){this.nextNodes.push(g.getChild(C)),this.offsets.push((0,L.lengthAdd)(f,_.length)),this.idxs[this.idxs.length-1]=C;break}else this.idxs.pop()}}}e.NodeReader=k;function y(S,f=-1){for(;;){if(f++,f>=S.childrenLength)return-1;if(S.getChild(f))return f}}function D(S){return S.length>0?S[S.length-1]:void 0}}),define(ne[126],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const L=[];class k{static create(S,f){if(S<=128&&f.length===0){let _=k.cache[S];return _||(_=new k(S,f),k.cache[S]=_),_}return new k(S,f)}static getEmpty(){return this.empty}constructor(S,f){this.items=S,this.additionalItems=f}add(S,f){const _=f.getKey(S);let g=_>>5;if(g===0){const s=1<<_|this.items;return s===this.items?this:k.create(s,this.additionalItems)}g--;const C=this.additionalItems.slice(0);for(;C.length=g.length)return null;const a=C,u=g[a].listHeight;for(C++;C=2?y(a===0&&C===g.length?g:g.slice(a,C),!1):g[a]}let i=s(),n=s();if(!n)return i;for(let a=s();a;a=s())D(i,n)<=D(n,a)?(i=S(i,n),n=a):n=S(n,a);return S(i,n)}e.concat23Trees=k;function y(g,C=!1){if(g.length===0)return null;if(g.length===1)return g[0];let s=g.length;for(;s>3;){const i=s>>1;for(let n=0;n=3?g[2]:null,C)}e.concat23TreesOfSameHeight=y;function D(g,C){return Math.abs(g.listHeight-C.listHeight)}function S(g,C){return g.listHeight===C.listHeight?L.ListAstNode.create23(g,C,null,!1):g.listHeight>C.listHeight?f(g,C):_(C,g)}function f(g,C){g=g.toMutable();let s=g;const i=[];let n;for(;;){if(C.listHeight===s.listHeight){n=C;break}if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeLastElementMutable()}for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(a.unappendChild(),n,null,!1):(a.appendChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(g,n,null,!1):g}function _(g,C){g=g.toMutable();let s=g;const i=[];for(;C.listHeight!==s.listHeight;){if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeFirstElementMutable()}let n=C;for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(n,a.unprependChild(),null,!1):(a.prependChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(n,g,null,!1):g}}),define(ne[279],se([1,0,180,179,126,91,506,505]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function _(C,s,i,n){return new g(C,s,i,n).parseDocument()}e.parseDocument=_;class g{constructor(s,i,n,t){if(this.tokenizer=s,this.createImmutableLists=t,this._itemsConstructed=0,this._itemsFromCache=0,n&&t)throw new Error("Not supported");this.oldNodeReader=n?new f.NodeReader(n):void 0,this.positionMapper=new k.BeforeEditPositionMapper(i)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let s=this.parseList(y.SmallImmutableSet.getEmpty(),0);return s||(s=L.ListAstNode.getEmpty()),s}parseList(s,i){const n=[];for(;;){let a=this.tryReadChildFromCache(s);if(!a){const u=this.tokenizer.peek();if(!u||u.kind===2&&u.bracketIds.intersects(s))break;a=this.parseChild(s,i+1)}a.kind===4&&a.childrenLength===0||n.push(a)}return this.oldNodeReader?(0,S.concat23Trees)(n):(0,S.concat23TreesOfSameHeight)(n,this.createImmutableLists)}tryReadChildFromCache(s){if(this.oldNodeReader){const i=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(i===null||!(0,D.lengthIsZero)(i)){const n=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),t=>i!==null&&!(0,D.lengthLessThan)(t.length,i)?!1:t.canBeReused(s));if(n)return this._itemsFromCache++,this.tokenizer.skip(n.length),n}}}parseChild(s,i){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:{if(i>300)return new L.TextAstNode(n.length);const t=s.merge(n.bracketIds),a=this.parseList(t,i+1),u=this.tokenizer.peek();return u&&u.kind===2&&(u.bracketId===n.bracketId||u.bracketIds.intersects(n.bracketIds))?(this.tokenizer.read(),L.PairAstNode.create(n.astNode,a,u.astNode)):L.PairAstNode.create(n.astNode,a,null)}default:throw new Error("unexpected")}}}}),define(ne[206],se([1,0,9,124,180,91,126]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FastTokenizer=e.TextBufferTokenizer=e.Token=void 0;class f{constructor(i,n,t,a,u){this.length=i,this.kind=n,this.bracketId=t,this.bracketIds=a,this.astNode=u}}e.Token=f;class _{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.reader=new g(this.textModel,this.bracketTokens),this._offset=D.lengthZero,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,D.toLength)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(i){this.didPeek=!1,this._offset=(0,D.lengthAdd)(this._offset,i);const n=(0,D.lengthToObj)(this._offset);this.reader.setPosition(n.lineCount,n.columnCount)}read(){let i;return this.peeked?(this.didPeek=!1,i=this.peeked):i=this.reader.read(),i&&(this._offset=(0,D.lengthAdd)(this._offset,i.length)),i}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}e.TextBufferTokenizer=_;class g{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}setPosition(i,n){i===this.lineIdx?(this.lineCharOffset=n,this.line!==null&&(this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=i,this.lineCharOffset=n,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const u=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,D.lengthGetColumnCountIfZeroLineCount)(u.length),u}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const i=this.lineIdx,n=this.lineCharOffset;let t=0;for(;;){const u=this.lineTokens,h=u.getCount();let r=null;if(this.lineTokenOffset1e3))break;if(t>1500)break}const a=(0,D.lengthDiff)(i,n,this.lineIdx,this.lineCharOffset);return new f(a,0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode(a))}}class C{constructor(i,n){this.text=i,this._offset=D.lengthZero,this.idx=0;const t=n.getRegExpStr(),a=t?new RegExp(t+`| -`,"gi"):null,u=[];let h,r=0,c=0,o=0,d=0;const l=[];for(let v=0;v<60;v++)l.push(new f((0,D.toLength)(0,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(0,v))));const p=[];for(let v=0;v<60;v++)p.push(new f((0,D.toLength)(1,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(1,v))));if(a)for(a.lastIndex=0;(h=a.exec(i))!==null;){const v=h.index,b=h[0];if(b===` -`)r++,c=v+1;else{if(o!==v){let w;if(d===r){const E=v-o;if(E_(i)).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const s=this.getRegExpStr();this._regExpGlobal=s?new RegExp(s,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(s){return this.map.get(s.toLowerCase())}findClosingTokenText(s){for(const[i,n]of this.map)if(n.kind===2&&n.bracketIds.intersects(s))return i}get isEmpty(){return this.map.size===0}}e.BracketTokens=f;function _(C){let s=(0,L.escapeRegExpCharacters)(C);return/^[\w ]+/.test(C)&&(s=`\\b${s}`),/[\w ]+$/.test(C)&&(s=`${s}\\b`),s}class g{constructor(s,i){this.denseKeyProvider=s,this.getLanguageConfiguration=i,this.languageIdToBracketTokens=new Map}didLanguageChange(s){return this.languageIdToBracketTokens.has(s)}getSingleLanguageBracketTokens(s){let i=this.languageIdToBracketTokens.get(s);return i||(i=f.createFromLanguage(this.getLanguageConfiguration(s),this.denseKeyProvider),this.languageIdToBracketTokens.set(s,i)),i}}e.LanguageAgnosticBracketTokens=g}),define(ne[507],se([1,0,280,91,279,126,206]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixBracketsInLine=void 0;function f(g,C){const s=new D.DenseKeyProvider,i=new L.LanguageAgnosticBracketTokens(s,r=>C.getLanguageConfiguration(r)),n=new S.TextBufferTokenizer(new _([g]),i),t=(0,y.parseDocument)(n,[],void 0,!0);let a="";const u=g.getLineContent();function h(r,c){if(r.kind===2)if(h(r.openingBracket,c),c=(0,k.lengthAdd)(c,r.openingBracket.length),r.child&&(h(r.child,c),c=(0,k.lengthAdd)(c,r.child.length)),r.closingBracket)h(r.closingBracket,c),c=(0,k.lengthAdd)(c,r.closingBracket.length);else{const d=i.getSingleLanguageBracketTokens(r.openingBracket.languageId).findClosingTokenText(r.openingBracket.bracketIds);a+=d}else if(r.kind!==3){if(r.kind===0||r.kind===1)a+=u.substring((0,k.lengthGetColumnCountIfZeroLineCount)(c),(0,k.lengthGetColumnCountIfZeroLineCount)((0,k.lengthAdd)(c,r.length)));else if(r.kind===4)for(const o of r.children)h(o,c),c=(0,k.lengthAdd)(c,o.length)}}return h(t,k.lengthZero),a}e.fixBracketsInLine=f;class _{constructor(C){this.lines=C,this.tokenization={getLineTokens:s=>this.lines[s-1]}}getLineCount(){return this.lines.length}getLineLength(C){return this.lines[C-1].getLineContent().length}}}),define(ne[508],se([1,0,14]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FixedArray=void 0;class k{constructor(S){this._default=S,this._store=[]}get(S){return S=this._store.length;)this._store[this._store.length]=this._default;this._store[S]=f}replace(S,f,_){if(S>=this._store.length)return;if(f===0){this.insert(S,_);return}else if(_===0){this.delete(S,f);return}const g=this._store.slice(0,S),C=this._store.slice(S+f),s=y(_,this._default);this._store=g.concat(s,C)}delete(S,f){f===0||S>=this._store.length||this._store.splice(S,f)}insert(S,f){if(f===0||S>=this._store.length)return;const _=[];for(let g=0;g0&&i>0||n>0&&t>0)return;const a=Math.abs(i-t),u=Math.abs(s-n);if(a===0){g.spacesDiff=u,u>0&&0<=n-1&&n-10?g++:v>1&&C++,k(s,i,d,m,u),u.looksLikeAlignment&&!(f&&S===u.spacesDiff)))continue;const w=u.spacesDiff;w<=t&&a[w]++,s=d,i=m}let h=f;g!==C&&(h=g{const d=a[o];d>c&&(c=d,r=o)}),r===4&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(r=2)}return{insertSpaces:h,tabSize:r}}e.guessIndentation=y}),define(ne[510],se([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(F){return(F.metadata&1)>>>0}e.getNodeColor=L;function k(F,O){F.metadata=F.metadata&254|O<<0}function y(F){return(F.metadata&2)>>>1===1}function D(F,O){F.metadata=F.metadata&253|(O?1:0)<<1}function S(F){return(F.metadata&4)>>>2===1}function f(F,O){F.metadata=F.metadata&251|(O?1:0)<<2}function _(F){return(F.metadata&64)>>>6===1}function g(F,O){F.metadata=F.metadata&191|(O?1:0)<<6}function C(F){return(F.metadata&24)>>>3}function s(F,O){F.metadata=F.metadata&231|O<<3}function i(F){return(F.metadata&32)>>>5===1}function n(F,O){F.metadata=F.metadata&223|(O?1:0)<<5}class t{constructor(O,W,U){this.metadata=0,this.parent=this,this.left=this,this.right=this,k(this,1),this.start=W,this.end=U,this.delta=0,this.maxEnd=U,this.id=O,this.ownerId=0,this.options=null,f(this,!1),g(this,!1),s(this,1),n(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=null,D(this,!1)}reset(O,W,U,j){this.start=W,this.end=U,this.maxEnd=U,this.cachedVersionId=O,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=j}setOptions(O){this.options=O;const W=this.options.className;f(this,W==="squiggly-error"||W==="squiggly-warning"||W==="squiggly-info"),g(this,this.options.glyphMarginClassName!==null),s(this,this.options.stickiness),n(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(O,W,U){this.cachedVersionId!==U&&(this.range=null),this.cachedVersionId=U,this.cachedAbsoluteStart=O,this.cachedAbsoluteEnd=W}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=t,e.SENTINEL=new t(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,k(e.SENTINEL,0);class a{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(O,W,U,j,R,K){return this.root===e.SENTINEL?[]:m(this,O,W,U,j,R,K)}search(O,W,U,j){return this.root===e.SENTINEL?[]:p(this,O,W,U,j)}collectNodesFromOwner(O){return d(this,O)}collectNodesPostOrder(){return l(this)}insert(O){v(this,O),this._normalizeDeltaIfNecessary()}delete(O){w(this,O),this._normalizeDeltaIfNecessary()}resolveNode(O,W){const U=O;let j=0;for(;O!==this.root;)O===O.parent.right&&(j+=O.parent.delta),O=O.parent;const R=U.start+j,K=U.end+j;U.setCachedOffsets(R,K,W)}acceptReplace(O,W,U,j){const R=c(this,O,O+W);for(let K=0,G=R.length;KW||U===1?!1:U===2?!0:O}function r(F,O,W,U,j){const R=C(F),K=R===0||R===2,G=R===1||R===2,Z=W-O,J=U,X=Math.min(Z,J),H=F.start;let B=!1;const V=F.end;let Y=!1;O<=H&&V<=W&&i(F)&&(F.start=O,B=!0,F.end=O,Y=!0);{const ae=j?1:Z>0?2:0;!B&&h(H,K,O,ae)&&(B=!0),!Y&&h(V,G,O,ae)&&(Y=!0)}if(X>0&&!j){const ae=Z>J?2:0;!B&&h(H,K,O+X,ae)&&(B=!0),!Y&&h(V,G,O+X,ae)&&(Y=!0)}{const ae=j?1:0;!B&&h(H,K,W,ae)&&(F.start=O+J,B=!0),!Y&&h(V,G,W,ae)&&(F.end=O+J,Y=!0)}const ie=J-Z;B||(F.start=Math.max(0,H+ie)),Y||(F.end=Math.max(0,V+ie)),F.start>F.end&&(F.end=F.start)}e.nodeAcceptEdit=r;function c(F,O,W){let U=F.root,j=0,R=0,K=0,G=0;const Z=[];let J=0;for(;U!==e.SENTINEL;){if(y(U)){D(U.left,!1),D(U.right,!1),U===U.parent.right&&(j-=U.parent.delta),U=U.parent;continue}if(!y(U.left)){if(R=j+U.maxEnd,RW){D(U,!0);continue}if(G=j+U.end,G>=O&&(U.setCachedOffsets(K,G,0),Z[J++]=U),D(U,!0),U.right!==e.SENTINEL&&!y(U.right)){j+=U.delta,U=U.right;continue}}return D(F.root,!1),Z}function o(F,O,W,U){let j=F.root,R=0,K=0,G=0;const Z=U-(W-O);for(;j!==e.SENTINEL;){if(y(j)){D(j.left,!1),D(j.right,!1),j===j.parent.right&&(R-=j.parent.delta),T(j),j=j.parent;continue}if(!y(j.left)){if(K=R+j.maxEnd,KW){j.start+=Z,j.end+=Z,j.delta+=Z,(j.delta<-1073741824||j.delta>1073741824)&&(F.requestNormalizeDelta=!0),D(j,!0);continue}if(D(j,!0),j.right!==e.SENTINEL&&!y(j.right)){R+=j.delta,j=j.right;continue}}D(F.root,!1)}function d(F,O){let W=F.root;const U=[];let j=0;for(;W!==e.SENTINEL;){if(y(W)){D(W.left,!1),D(W.right,!1),W=W.parent;continue}if(W.left!==e.SENTINEL&&!y(W.left)){W=W.left;continue}if(W.ownerId===O&&(U[j++]=W),D(W,!0),W.right!==e.SENTINEL&&!y(W.right)){W=W.right;continue}}return D(F.root,!1),U}function l(F){let O=F.root;const W=[];let U=0;for(;O!==e.SENTINEL;){if(y(O)){D(O.left,!1),D(O.right,!1),O=O.parent;continue}if(O.left!==e.SENTINEL&&!y(O.left)){O=O.left;continue}if(O.right!==e.SENTINEL&&!y(O.right)){O=O.right;continue}W[U++]=O,D(O,!0)}return D(F.root,!1),W}function p(F,O,W,U,j){let R=F.root,K=0,G=0,Z=0;const J=[];let X=0;for(;R!==e.SENTINEL;){if(y(R)){D(R.left,!1),D(R.right,!1),R===R.parent.right&&(K-=R.parent.delta),R=R.parent;continue}if(R.left!==e.SENTINEL&&!y(R.left)){R=R.left;continue}G=K+R.start,Z=K+R.end,R.setCachedOffsets(G,Z,U);let H=!0;if(O&&R.ownerId&&R.ownerId!==O&&(H=!1),W&&S(R)&&(H=!1),j&&!_(R)&&(H=!1),H&&(J[X++]=R),D(R,!0),R.right!==e.SENTINEL&&!y(R.right)){K+=R.delta,R=R.right;continue}}return D(F.root,!1),J}function m(F,O,W,U,j,R,K){let G=F.root,Z=0,J=0,X=0,H=0;const B=[];let V=0;for(;G!==e.SENTINEL;){if(y(G)){D(G.left,!1),D(G.right,!1),G===G.parent.right&&(Z-=G.parent.delta),G=G.parent;continue}if(!y(G.left)){if(J=Z+G.maxEnd,JW){D(G,!0);continue}if(H=Z+G.end,H>=O){G.setCachedOffsets(X,H,R);let Y=!0;U&&G.ownerId&&G.ownerId!==U&&(Y=!1),j&&S(G)&&(Y=!1),K&&!_(G)&&(Y=!1),Y&&(B[V++]=G)}if(D(G,!0),G.right!==e.SENTINEL&&!y(G.right)){Z+=G.delta,G=G.right;continue}}return D(F.root,!1),B}function v(F,O){if(F.root===e.SENTINEL)return O.parent=e.SENTINEL,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,0),F.root=O,F.root;b(F,O),A(O.parent);let W=O;for(;W!==F.root&&L(W.parent)===1;)if(W.parent===W.parent.parent.left){const U=W.parent.parent.right;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.right&&(W=W.parent,M(F,W)),k(W.parent,0),k(W.parent.parent,1),P(F,W.parent.parent))}else{const U=W.parent.parent.left;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.left&&(W=W.parent,P(F,W)),k(W.parent,0),k(W.parent.parent,1),M(F,W.parent.parent))}return k(F.root,0),O}function b(F,O){let W=0,U=F.root;const j=O.start,R=O.end;for(;;)if(N(j,R,U.start+W,U.end+W)<0)if(U.left===e.SENTINEL){O.start-=W,O.end-=W,O.maxEnd-=W,U.left=O;break}else U=U.left;else if(U.right===e.SENTINEL){O.start-=W+U.delta,O.end-=W+U.delta,O.maxEnd-=W+U.delta,U.right=O;break}else W+=U.delta,U=U.right;O.parent=U,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,1)}function w(F,O){let W,U;if(O.left===e.SENTINEL?(W=O.right,U=O,W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta):O.right===e.SENTINEL?(W=O.left,U=O):(U=E(O.right),W=U.right,W.start+=U.delta,W.end+=U.delta,W.delta+=U.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),U.start+=O.delta,U.end+=O.delta,U.delta=O.delta,(U.delta<-1073741824||U.delta>1073741824)&&(F.requestNormalizeDelta=!0)),U===F.root){F.root=W,k(W,0),O.detach(),I(),T(W),F.root.parent=e.SENTINEL;return}const j=L(U)===1;if(U===U.parent.left?U.parent.left=W:U.parent.right=W,U===O?W.parent=U.parent:(U.parent===O?W.parent=U:W.parent=U.parent,U.left=O.left,U.right=O.right,U.parent=O.parent,k(U,L(O)),O===F.root?F.root=U:O===O.parent.left?O.parent.left=U:O.parent.right=U,U.left!==e.SENTINEL&&(U.left.parent=U),U.right!==e.SENTINEL&&(U.right.parent=U)),O.detach(),j){A(W.parent),U!==O&&(A(U),A(U.parent)),I();return}A(W),A(W.parent),U!==O&&(A(U),A(U.parent));let R;for(;W!==F.root&&L(W)===0;)W===W.parent.left?(R=W.parent.right,L(R)===1&&(k(R,0),k(W.parent,1),M(F,W.parent),R=W.parent.right),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.right)===0&&(k(R.left,0),k(R,1),P(F,R),R=W.parent.right),k(R,L(W.parent)),k(W.parent,0),k(R.right,0),M(F,W.parent),W=F.root)):(R=W.parent.left,L(R)===1&&(k(R,0),k(W.parent,1),P(F,W.parent),R=W.parent.left),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.left)===0&&(k(R.right,0),k(R,1),M(F,R),R=W.parent.left),k(R,L(W.parent)),k(W.parent,0),k(R.left,0),P(F,W.parent),W=F.root));k(W,0),I()}function E(F){for(;F.left!==e.SENTINEL;)F=F.left;return F}function I(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function M(F,O){const W=O.right;W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta,O.right=W.left,W.left!==e.SENTINEL&&(W.left.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.left?O.parent.left=W:O.parent.right=W,W.left=O,O.parent=W,T(O),T(W)}function P(F,O){const W=O.left;O.delta-=W.delta,(O.delta<-1073741824||O.delta>1073741824)&&(F.requestNormalizeDelta=!0),O.start-=W.delta,O.end-=W.delta,O.left=W.right,W.right!==e.SENTINEL&&(W.right.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.right?O.parent.right=W:O.parent.left=W,W.right=O,O.parent=W,T(O),T(W)}function x(F){let O=F.end;if(F.left!==e.SENTINEL){const W=F.left.maxEnd;W>O&&(O=W)}if(F.right!==e.SENTINEL){const W=F.right.maxEnd+F.delta;W>O&&(O=W)}return O}function T(F){F.maxEnd=x(F)}e.recomputeMaxEnd=T;function A(F){for(;F!==e.SENTINEL;){const O=x(F);if(F.maxEnd===O)return;F.maxEnd=O,F=F.parent}}function N(F,O,W,U){return F===W?O-U:F-W}e.intervalCompare=N}),define(ne[511],se([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.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class L{constructor(a,u){this.piece=a,this.color=u,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return k(this.right);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.left!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.parent}prev(){if(this.left!==e.SENTINEL)return y(this.left);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.right!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.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 k(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}e.leftest=k;function y(t){for(;t.right!==e.SENTINEL;)t=t.right;return t}e.righttest=y;function D(t){return t===e.SENTINEL?0:t.size_left+t.piece.length+D(t.right)}function S(t){return t===e.SENTINEL?0:t.lf_left+t.piece.lineFeedCnt+S(t.right)}function f(){e.SENTINEL.parent=e.SENTINEL}function _(t,a){const u=a.right;u.size_left+=a.size_left+(a.piece?a.piece.length:0),u.lf_left+=a.lf_left+(a.piece?a.piece.lineFeedCnt:0),a.right=u.left,u.left!==e.SENTINEL&&(u.left.parent=a),u.parent=a.parent,a.parent===e.SENTINEL?t.root=u:a.parent.left===a?a.parent.left=u:a.parent.right=u,u.left=a,a.parent=u}e.leftRotate=_;function g(t,a){const u=a.left;a.left=u.right,u.right!==e.SENTINEL&&(u.right.parent=a),u.parent=a.parent,a.size_left-=u.size_left+(u.piece?u.piece.length:0),a.lf_left-=u.lf_left+(u.piece?u.piece.lineFeedCnt:0),a.parent===e.SENTINEL?t.root=u:a===a.parent.right?a.parent.right=u:a.parent.left=u,u.right=a,a.parent=u}e.rightRotate=g;function C(t,a){let u,h;if(a.left===e.SENTINEL?(h=a,u=h.right):a.right===e.SENTINEL?(h=a,u=h.left):(h=k(a.right),u=h.right),h===t.root){t.root=u,u.color=0,a.detach(),f(),t.root.parent=e.SENTINEL;return}const r=h.color===1;if(h===h.parent.left?h.parent.left=u:h.parent.right=u,h===a?(u.parent=h.parent,n(t,u)):(h.parent===a?u.parent=h:u.parent=h.parent,n(t,u),h.left=a.left,h.right=a.right,h.parent=a.parent,h.color=a.color,a===t.root?t.root=h:a===a.parent.left?a.parent.left=h:a.parent.right=h,h.left!==e.SENTINEL&&(h.left.parent=h),h.right!==e.SENTINEL&&(h.right.parent=h),h.size_left=a.size_left,h.lf_left=a.lf_left,n(t,h)),a.detach(),u.parent.left===u){const o=D(u),d=S(u);if(o!==u.parent.size_left||d!==u.parent.lf_left){const l=o-u.parent.size_left,p=d-u.parent.lf_left;u.parent.size_left=o,u.parent.lf_left=d,i(t,u.parent,l,p)}}if(n(t,u.parent),r){f();return}let c;for(;u!==t.root&&u.color===0;)u===u.parent.left?(c=u.parent.right,c.color===1&&(c.color=0,u.parent.color=1,_(t,u.parent),c=u.parent.right),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.right.color===0&&(c.left.color=0,c.color=1,g(t,c),c=u.parent.right),c.color=u.parent.color,u.parent.color=0,c.right.color=0,_(t,u.parent),u=t.root)):(c=u.parent.left,c.color===1&&(c.color=0,u.parent.color=1,g(t,u.parent),c=u.parent.left),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.left.color===0&&(c.right.color=0,c.color=1,_(t,c),c=u.parent.left),c.color=u.parent.color,u.parent.color=0,c.left.color=0,g(t,u.parent),u=t.root));u.color=0,f()}e.rbDelete=C;function s(t,a){for(n(t,a);a!==t.root&&a.parent.color===1;)if(a.parent===a.parent.parent.left){const u=a.parent.parent.right;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.right&&(a=a.parent,_(t,a)),a.parent.color=0,a.parent.parent.color=1,g(t,a.parent.parent))}else{const u=a.parent.parent.left;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.left&&(a=a.parent,g(t,a)),a.parent.color=0,a.parent.parent.color=1,_(t,a.parent.parent))}t.root.color=0}e.fixInsert=s;function i(t,a,u,h){for(;a!==t.root&&a!==e.SENTINEL;)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}e.updateTreeMetadata=i;function n(t,a){let u=0,h=0;if(a!==t.root){for(;a!==t.root&&a===a.parent.right;)a=a.parent;if(a!==t.root)for(a=a.parent,u=D(a.left)-a.size_left,h=S(a.left)-a.lf_left,a.size_left+=u,a.lf_left+=h;a!==t.root&&(u!==0||h!==0);)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}}e.recomputeTreeMetadata=n}),define(ne[281],se([1,0,14,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class y{constructor(_){this.values=_,this.prefixSum=new Uint32Array(_.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(_,g){_=(0,k.toUint32)(_);const C=this.values,s=this.prefixSum,i=g.length;return i===0?!1:(this.values=new Uint32Array(C.length+i),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_),_+i),this.values.set(g,_),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(_,g){return _=(0,k.toUint32)(_),g=(0,k.toUint32)(g),this.values[_]===g?!1:(this.values[_]=g,_-1=C.length)return!1;const i=C.length-_;return g>=i&&(g=i),g===0?!1:(this.values=new Uint32Array(C.length-g),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_+g),_),this.prefixSum=new Uint32Array(this.values.length),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(_){return _<0?0:(_=(0,k.toUint32)(_),this._getPrefixSum(_))}_getPrefixSum(_){if(_<=this.prefixSumValidIndex[0])return this.prefixSum[_];let g=this.prefixSumValidIndex[0]+1;g===0&&(this.prefixSum[0]=this.values[0],g++),_>=this.values.length&&(_=this.values.length-1);for(let C=g;C<=_;C++)this.prefixSum[C]=this.prefixSum[C-1]+this.values[C];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],_),this.prefixSum[_]}getIndexOf(_){_=Math.floor(_),this.getTotalSum();let g=0,C=this.values.length-1,s=0,i=0,n=0;for(;g<=C;)if(s=g+(C-g)/2|0,i=this.prefixSum[s],n=i-this.values[s],_=i)g=s+1;else break;return new S(s,_-n)}}e.PrefixSumComputer=y;class D{constructor(_){this._values=_,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(_){return this._ensureValid(),_===0?0:this._prefixSum[_-1]}getIndexOf(_){this._ensureValid();const g=this._indexBySum[_],C=g>0?this._prefixSum[g-1]:0;return new S(g,_-C)}removeValues(_,g){this._values.splice(_,g),this._invalidate(_)}insertValues(_,g){this._values=(0,L.arrayInsert)(this._values,_,g),this._invalidate(_)}_invalidate(_){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,_-1)}_ensureValid(){if(!this._isValid){for(let _=this._validEndIndex+1,g=this._values.length;_0?this._prefixSum[_-1]:0;this._prefixSum[_]=s+C;for(let i=0;i=0;let c=null;try{c=L.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:r,global:!0,unicode:!0})}catch{return null}if(!c)return null;let o=!this.isRegex&&!r;return o&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(o=this.matchCase),new S.SearchData(c,this.wordSeparators?(0,k.getMapForWordSeparators)(this.wordSeparators):null,o?this.searchString:null)}}e.SearchParams=_;function g(h){if(!h||h.length===0)return!1;for(let r=0,c=h.length;r=c)break;const d=h.charCodeAt(r);if(d===110||d===114||d===87)return!0}}return!1}e.isMultilineRegexSource=g;function C(h,r,c){if(!c)return new S.FindMatch(h,null);const o=[];for(let d=0,l=r.length;d>0);c[l]>=r?d=l-1:c[l+1]>=r?(o=l,d=l):o=l+1}return o+1}}class i{static findMatches(r,c,o,d,l){const p=c.parseSearchRequest();return p?p.regex.multiline?this._doFindMatchesMultiline(r,o,new u(p.wordSeparators,p.regex),d,l):this._doFindMatchesLineByLine(r,o,p,d,l):[]}static _getMultilineMatchRange(r,c,o,d,l,p){let m,v=0;d?(v=d.findLineFeedCountBeforeOffset(l),m=c+l+v):m=c+l;let b;if(d){const M=d.findLineFeedCountBeforeOffset(l+p.length)-v;b=m+p.length+M}else b=m+p.length;const w=r.getPositionAt(m),E=r.getPositionAt(b);return new D.Range(w.lineNumber,w.column,E.lineNumber,E.column)}static _doFindMatchesMultiline(r,c,o,d,l){const p=r.getOffsetAt(c.getStartPosition()),m=r.getValueInRange(c,1),v=r.getEOL()===`\r -`?new s(m):null,b=[];let w=0,E;for(o.reset(0);E=o.next(m);)if(b[w++]=C(this._getMultilineMatchRange(r,p,m,v,E.index,E[0]),E,d),w>=l)return b;return b}static _doFindMatchesLineByLine(r,c,o,d,l){const p=[];let m=0;if(c.startLineNumber===c.endLineNumber){const b=r.getLineContent(c.startLineNumber).substring(c.startColumn-1,c.endColumn-1);return m=this._findMatchesInLine(o,b,c.startLineNumber,c.startColumn-1,m,p,d,l),p}const v=r.getLineContent(c.startLineNumber).substring(c.startColumn-1);m=this._findMatchesInLine(o,v,c.startLineNumber,c.startColumn-1,m,p,d,l);for(let b=c.startLineNumber+1;b=v))return l;return l}const w=new u(r.wordSeparators,r.regex);let E;w.reset(0);do if(E=w.next(c),E&&(p[l++]=C(new D.Range(o,E.index+1+d,o,E.index+1+E[0].length+d),E,m),l>=v))return l;while(E);return l}static findNextMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindNextMatchMultiline(r,o,p,d):this._doFindNextMatchLineByLine(r,o,p,d)}static _doFindNextMatchMultiline(r,c,o,d){const l=new y.Position(c.lineNumber,1),p=r.getOffsetAt(l),m=r.getLineCount(),v=r.getValueInRange(new D.Range(l.lineNumber,l.column,m,r.getLineMaxColumn(m)),1),b=r.getEOL()===`\r -`?new s(v):null;o.reset(c.column-1);const w=o.next(v);return w?C(this._getMultilineMatchRange(r,p,v,b,w.index,w[0]),w,d):c.lineNumber!==1||c.column!==1?this._doFindNextMatchMultiline(r,new y.Position(1,1),o,d):null}static _doFindNextMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p),v=this._findFirstMatchInLine(o,m,p,c.column,d);if(v)return v;for(let b=1;b<=l;b++){const w=(p+b-1)%l,E=r.getLineContent(w+1),I=this._findFirstMatchInLine(o,E,w+1,1,d);if(I)return I}return null}static _findFirstMatchInLine(r,c,o,d,l){r.reset(d-1);const p=r.next(c);return p?C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,l):null}static findPreviousMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindPreviousMatchMultiline(r,o,p,d):this._doFindPreviousMatchLineByLine(r,o,p,d)}static _doFindPreviousMatchMultiline(r,c,o,d){const l=this._doFindMatchesMultiline(r,new D.Range(1,1,c.lineNumber,c.column),o,d,10*f);if(l.length>0)return l[l.length-1];const p=r.getLineCount();return c.lineNumber!==p||c.column!==r.getLineMaxColumn(p)?this._doFindPreviousMatchMultiline(r,new y.Position(p,r.getLineMaxColumn(p)),o,d):null}static _doFindPreviousMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p).substring(0,c.column-1),v=this._findLastMatchInLine(o,m,p,d);if(v)return v;for(let b=1;b<=l;b++){const w=(l+p-b-1)%l,E=r.getLineContent(w+1),I=this._findLastMatchInLine(o,E,w+1,d);if(I)return I}return null}static _findLastMatchInLine(r,c,o,d){let l=null,p;for(r.reset(0);p=r.next(c);)l=C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,d);return l}}e.TextModelSearch=i;function n(h,r,c,o,d){if(o===0)return!0;const l=r.charCodeAt(o-1);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o);if(h.get(p)!==0)return!0}return!1}function t(h,r,c,o,d){if(o+d===c)return!0;const l=r.charCodeAt(o+d);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o+d-1);if(h.get(p)!==0)return!0}return!1}function a(h,r,c,o,d){return n(h,r,c,o,d)&&t(h,r,c,o,d)}e.isValidMatch=a;class u{constructor(r,c){this._wordSeparators=r,this._searchRegex=c,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(r){this._searchRegex.lastIndex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(r){const c=r.length;let o;do{if(this._prevMatchStartIndex+this._prevMatchLength===c||(o=this._searchRegex.exec(r),!o))return null;const d=o.index,l=o[0].length;if(d===this._prevMatchStartIndex&&l===this._prevMatchLength){if(l===0){L.getNextCodePoint(r,c,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=d,this._prevMatchLength=l,!this._wordSeparators||a(this._wordSeparators,r,c,d,l))return o}while(o);return null}}e.Searcher=u}),define(ne[283],se([1,0,12,5,48,511,181]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeBase=e.StringBuffer=e.Piece=e.createLineStarts=e.createLineStartsFast=void 0;const f=65535;function _(h){let r;return h[h.length-1]<65536?r=new Uint16Array(h.length):r=new Uint32Array(h.length),r.set(h,0),r}class g{constructor(r,c,o,d,l){this.lineStarts=r,this.cr=c,this.lf=o,this.crlf=d,this.isBasicASCII=l}}function C(h,r=!0){const c=[0];let o=1;for(let d=0,l=h.length;d126)&&(p=!1)}const m=new g(_(h),o,d,l,p);return h.length=0,m}e.createLineStarts=s;class i{constructor(r,c,o,d,l){this.bufferIndex=r,this.start=c,this.end=o,this.lineFeedCnt=d,this.length=l}}e.Piece=i;class n{constructor(r,c){this.buffer=r,this.lineStarts=c}}e.StringBuffer=n;class t{constructor(r,c){this._pieces=[],this._tree=r,this._BOM=c,this._index=0,r.root!==D.SENTINEL&&r.iterate(r.root,o=>(o!==D.SENTINEL&&this._pieces.push(o.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class a{constructor(r){this._limit=r,this._cache=[]}get(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartOffset<=r&&o.nodeStartOffset+o.node.piece.length>=r)return o}return null}get2(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartLineNumber&&o.nodeStartLineNumber=r)return o}return null}set(r){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(r)}validate(r){let c=!1;const o=this._cache;for(let d=0;d=r){o[d]=null,c=!0;continue}}if(c){const d=[];for(const l of o)l!==null&&d.push(l);this._cache=d}}}class u{constructor(r,c,o){this.create(r,c,o)}create(r,c,o){this._buffers=[new n("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=D.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=c,this._EOLLength=c.length,this._EOLNormalized=o;let d=null;for(let l=0,p=r.length;l0){r[l].lineStarts||(r[l].lineStarts=C(r[l].buffer));const m=new i(l+1,{line:0,column:0},{line:r[l].lineStarts.length-1,column:r[l].buffer.length-r[l].lineStarts[r[l].lineStarts.length-1]},r[l].lineStarts.length-1,r[l].buffer.length);this._buffers.push(r[l]),d=this.rbInsertRight(d,m)}this._searchCache=new a(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(r){const c=f,o=c-Math.floor(c/3),d=o*2;let l="",p=0;const m=[];if(this.iterate(this.root,v=>{const b=this.getNodeContent(v),w=b.length;if(p<=o||p+w0){const v=l.replace(/\r\n|\r|\n/g,r);m.push(new n(v,C(v)))}this.create(m,r,!0)}getEOL(){return this._EOL}setEOL(r){this._EOL=r,this._EOLLength=this._EOL.length,this.normalizeEOL(r)}createSnapshot(r){return new t(this,r)}getOffsetAt(r,c){let o=0,d=this.root;for(;d!==D.SENTINEL;)if(d.left!==D.SENTINEL&&d.lf_left+1>=r)d=d.left;else if(d.lf_left+d.piece.lineFeedCnt+1>=r){o+=d.size_left;const l=this.getAccumulatedValue(d,r-d.lf_left-2);return o+=l+c-1}else r-=d.lf_left+d.piece.lineFeedCnt,o+=d.size_left+d.piece.length,d=d.right;return o}getPositionAt(r){r=Math.floor(r),r=Math.max(0,r);let c=this.root,o=0;const d=r;for(;c!==D.SENTINEL;)if(c.size_left!==0&&c.size_left>=r)c=c.left;else if(c.size_left+c.piece.length>=r){const l=this.getIndexOf(c,r-c.size_left);if(o+=c.lf_left+l.index,l.index===0){const p=this.getOffsetAt(o+1,1),m=d-p;return new L.Position(o+1,m+1)}return new L.Position(o+1,l.remainder+1)}else if(r-=c.size_left+c.piece.length,o+=c.lf_left+c.piece.lineFeedCnt,c.right===D.SENTINEL){const l=this.getOffsetAt(o+1,1),p=d-r-l;return new L.Position(o+1,p+1)}else c=c.right;return new L.Position(1,1)}getValueInRange(r,c){if(r.startLineNumber===r.endLineNumber&&r.startColumn===r.endColumn)return"";const o=this.nodeAt2(r.startLineNumber,r.startColumn),d=this.nodeAt2(r.endLineNumber,r.endColumn),l=this.getValueInRange2(o,d);return c?c!==this._EOL||!this._EOLNormalized?l.replace(/\r\n|\r|\n/g,c):c===this.getEOL()&&this._EOLNormalized?l:l.replace(/\r\n|\r|\n/g,c):l}getValueInRange2(r,c){if(r.node===c.node){const m=r.node,v=this._buffers[m.piece.bufferIndex].buffer,b=this.offsetInBuffer(m.piece.bufferIndex,m.piece.start);return v.substring(b+r.remainder,b+c.remainder)}let o=r.node;const d=this._buffers[o.piece.bufferIndex].buffer,l=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);let p=d.substring(l+r.remainder,l+o.piece.length);for(o=o.next();o!==D.SENTINEL;){const m=this._buffers[o.piece.bufferIndex].buffer,v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===c.node){p+=m.substring(v,v+c.remainder);break}else p+=m.substr(v,o.piece.length);o=o.next()}return p}getLinesContent(){const r=[];let c=0,o="",d=!1;return this.iterate(this.root,l=>{if(l===D.SENTINEL)return!0;const p=l.piece;let m=p.length;if(m===0)return!0;const v=this._buffers[p.bufferIndex].buffer,b=this._buffers[p.bufferIndex].lineStarts,w=p.start.line,E=p.end.line;let I=b[w]+p.start.column;if(d&&(v.charCodeAt(I)===10&&(I++,m--),r[c++]=o,o="",d=!1,m===0))return!0;if(w===E)return!this._EOLNormalized&&v.charCodeAt(I+m-1)===13?(d=!0,o+=v.substr(I,m-1)):o+=v.substr(I,m),!0;o+=this._EOLNormalized?v.substring(I,Math.max(I,b[w+1]-this._EOLLength)):v.substring(I,b[w+1]).replace(/(\r\n|\r|\n)$/,""),r[c++]=o;for(let M=w+1;MO+P,c.reset(0)):(N=I.buffer,F=O=>O,c.reset(P));do if(T=c.next(N),T){if(F(T.index)>=x)return w;this.positionInBuffer(r,F(T.index)-M,A);const O=this.getLineFeedCnt(r.piece.bufferIndex,l,A),W=A.line===l.line?A.column-l.column+d:A.column+1,U=W+T[0].length;if(E[w++]=(0,S.createFindMatch)(new k.Range(o+O,W,o+O,U),T,v),F(T.index)+T[0].length>=x||w>=b)return w}while(T);return w}findMatchesLineByLine(r,c,o,d){const l=[];let p=0;const m=new S.Searcher(c.wordSeparators,c.regex);let v=this.nodeAt2(r.startLineNumber,r.startColumn);if(v===null)return[];const b=this.nodeAt2(r.endLineNumber,r.endColumn);if(b===null)return[];let w=this.positionInBuffer(v.node,v.remainder);const E=this.positionInBuffer(b.node,b.remainder);if(v.node===b.node)return this.findMatchesInNode(v.node,m,r.startLineNumber,r.startColumn,w,E,c,o,d,p,l),l;let I=r.startLineNumber,M=v.node;for(;M!==b.node;){const x=this.getLineFeedCnt(M.piece.bufferIndex,w,M.piece.end);if(x>=1){const A=this._buffers[M.piece.bufferIndex].lineStarts,N=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start),F=A[w.line+x],O=I===r.startLineNumber?r.startColumn:1;if(p=this.findMatchesInNode(M,m,I,O,w,this.positionInBuffer(M,F-N),c,o,d,p,l),p>=d)return l;I+=x}const T=I===r.startLineNumber?r.startColumn-1:0;if(I===r.endLineNumber){const A=this.getLineContent(I).substring(T,r.endColumn-1);return p=this._findMatchesInLine(c,m,A,r.endLineNumber,T,p,l,o,d),l}if(p=this._findMatchesInLine(c,m,this.getLineContent(I).substr(T),I,T,p,l,o,d),p>=d)return l;I++,v=this.nodeAt2(I,1),M=v.node,w=this.positionInBuffer(v.node,v.remainder)}if(I===r.endLineNumber){const x=I===r.startLineNumber?r.startColumn-1:0,T=this.getLineContent(I).substring(x,r.endColumn-1);return p=this._findMatchesInLine(c,m,T,r.endLineNumber,x,p,l,o,d),l}const P=I===r.startLineNumber?r.startColumn:1;return p=this.findMatchesInNode(b.node,m,I,P,w,E,c,o,d,p,l),l}_findMatchesInLine(r,c,o,d,l,p,m,v,b){const w=r.wordSeparators;if(!v&&r.simpleSearch){const I=r.simpleSearch,M=I.length,P=o.length;let x=-M;for(;(x=o.indexOf(I,x+M))!==-1;)if((!w||(0,S.isValidMatch)(w,o,P,x,M))&&(m[p++]=new y.FindMatch(new k.Range(d,x+1+l,d,x+1+M+l),null),p>=b))return p;return p}let E;c.reset(0);do if(E=c.next(o),E&&(m[p++]=(0,S.createFindMatch)(new k.Range(d,E.index+1+l,d,E.index+1+E[0].length+l),E,v),p>=b))return p;while(E);return p}insert(r,c,o=!1){if(this._EOLNormalized=this._EOLNormalized&&o,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==D.SENTINEL){const{node:d,remainder:l,nodeStartOffset:p}=this.nodeAt(r),m=d.piece,v=m.bufferIndex,b=this.positionInBuffer(d,l);if(d.piece.bufferIndex===0&&m.end.line===this._lastChangeBufferPos.line&&m.end.column===this._lastChangeBufferPos.column&&p+m.length===r&&c.lengthr){const w=[];let E=new i(m.bufferIndex,b,m.end,this.getLineFeedCnt(m.bufferIndex,b,m.end),this.offsetInBuffer(v,m.end)-this.offsetInBuffer(v,b));if(this.shouldCheckCRLF()&&this.endWithCR(c)&&this.nodeCharCodeAt(d,l)===10){const x={line:E.start.line+1,column:0};E=new i(E.bufferIndex,x,E.end,this.getLineFeedCnt(E.bufferIndex,x,E.end),E.length-1),c+=` -`}if(this.shouldCheckCRLF()&&this.startWithLF(c))if(this.nodeCharCodeAt(d,l-1)===13){const x=this.positionInBuffer(d,l-1);this.deleteNodeTail(d,x),c="\r"+c,d.piece.length===0&&w.push(d)}else this.deleteNodeTail(d,b);else this.deleteNodeTail(d,b);const I=this.createNewPieces(c);E.length>0&&this.rbInsertRight(d,E);let M=d;for(let P=0;P=0;p--)l=this.rbInsertLeft(l,d[p]);this.validateCRLFWithPrevNode(l),this.deleteNodes(o)}insertContentToNodeRight(r,c){this.adjustCarriageReturnFromNext(r,c)&&(r+=` -`);const o=this.createNewPieces(r),d=this.rbInsertRight(c,o[0]);let l=d;for(let p=1;p=I)b=E+1;else break;return o?(o.line=E,o.column=v-M,null):{line:E,column:v-M}}getLineFeedCnt(r,c,o){if(o.column===0)return o.line-c.line;const d=this._buffers[r].lineStarts;if(o.line===d.length-1)return o.line-c.line;const l=d[o.line+1],p=d[o.line]+o.column;if(l>p+1)return o.line-c.line;const m=p-1;return this._buffers[r].buffer.charCodeAt(m)===13?o.line-c.line+1:o.line-c.line}offsetInBuffer(r,c){return this._buffers[r].lineStarts[c.line]+c.column}deleteNodes(r){for(let c=0;cf){const w=[];for(;r.length>f;){const I=r.charCodeAt(f-1);let M;I===13||I>=55296&&I<=56319?(M=r.substring(0,f-1),r=r.substring(f-1)):(M=r.substring(0,f),r=r.substring(f));const P=C(M);w.push(new i(this._buffers.length,{line:0,column:0},{line:P.length-1,column:M.length-P[P.length-1]},P.length-1,M.length)),this._buffers.push(new n(M,P))}const E=C(r);return w.push(new i(this._buffers.length,{line:0,column:0},{line:E.length-1,column:r.length-E[E.length-1]},E.length-1,r.length)),this._buffers.push(new n(r,E)),w}let c=this._buffers[0].buffer.length;const o=C(r,!1);let d=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===c&&c!==0&&this.startWithLF(r)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},d=this._lastChangeBufferPos;for(let w=0;w=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this.getAccumulatedValue(o,r-o.lf_left-1),w=this._buffers[o.piece.bufferIndex].buffer,E=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return p+=o.size_left,this._searchCache.set({node:o,nodeStartOffset:p,nodeStartLineNumber:m-(r-1-o.lf_left)}),w.substring(E+v,E+b-c)}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this._buffers[o.piece.bufferIndex].buffer,w=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d=b.substring(w+v,w+o.piece.length);break}else r-=o.lf_left+o.piece.lineFeedCnt,p+=o.size_left+o.piece.length,o=o.right}for(o=o.next();o!==D.SENTINEL;){const p=this._buffers[o.piece.bufferIndex].buffer;if(o.piece.lineFeedCnt>0){const m=this.getAccumulatedValue(o,0),v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return d+=p.substring(v,v+m-c),d}else{const m=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d+=p.substr(m,o.piece.length)}o=o.next()}return d}computeBufferMetadata(){let r=this.root,c=1,o=0;for(;r!==D.SENTINEL;)c+=r.lf_left+r.piece.lineFeedCnt,o+=r.size_left+r.piece.length,r=r.right;this._lineCnt=c,this._length=o,this._searchCache.validate(this._length)}getIndexOf(r,c){const o=r.piece,d=this.positionInBuffer(r,c),l=d.line-o.start.line;if(this.offsetInBuffer(o.bufferIndex,o.end)-this.offsetInBuffer(o.bufferIndex,o.start)===c){const p=this.getLineFeedCnt(r.piece.bufferIndex,o.start,d);if(p!==l)return{index:p,remainder:0}}return{index:l,remainder:d.column}}getAccumulatedValue(r,c){if(c<0)return 0;const o=r.piece,d=this._buffers[o.bufferIndex].lineStarts,l=o.start.line+c+1;return l>o.end.line?d[o.end.line]+o.end.column-d[o.start.line]-o.start.column:d[l]-d[o.start.line]-o.start.column}deleteNodeTail(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.end),p=c,m=this.offsetInBuffer(o.bufferIndex,p),v=this.getLineFeedCnt(o.bufferIndex,o.start,p),b=v-d,w=m-l,E=o.length+w;r.piece=new i(o.bufferIndex,o.start,p,v,E),(0,D.updateTreeMetadata)(this,r,w,b)}deleteNodeHead(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.start),p=c,m=this.getLineFeedCnt(o.bufferIndex,p,o.end),v=this.offsetInBuffer(o.bufferIndex,p),b=m-d,w=l-v,E=o.length+w;r.piece=new i(o.bufferIndex,p,o.end,m,E),(0,D.updateTreeMetadata)(this,r,w,b)}shrinkNode(r,c,o){const d=r.piece,l=d.start,p=d.end,m=d.length,v=d.lineFeedCnt,b=c,w=this.getLineFeedCnt(d.bufferIndex,d.start,b),E=this.offsetInBuffer(d.bufferIndex,c)-this.offsetInBuffer(d.bufferIndex,l);r.piece=new i(d.bufferIndex,d.start,b,w,E),(0,D.updateTreeMetadata)(this,r,E-m,w-v);const I=new i(d.bufferIndex,o,p,this.getLineFeedCnt(d.bufferIndex,o,p),this.offsetInBuffer(d.bufferIndex,p)-this.offsetInBuffer(d.bufferIndex,o)),M=this.rbInsertRight(r,I);this.validateCRLFWithPrevNode(M)}appendToNode(r,c){this.adjustCarriageReturnFromNext(c,r)&&(c+=` -`);const o=this.shouldCheckCRLF()&&this.startWithLF(c)&&this.endWithCR(r),d=this._buffers[0].buffer.length;this._buffers[0].buffer+=c;const l=C(c,!1);for(let M=0;Mr)c=c.left;else if(c.size_left+c.piece.length>=r){d+=c.size_left;const l={node:c,remainder:r-c.size_left,nodeStartOffset:d};return this._searchCache.set(l),l}else r-=c.size_left+c.piece.length,d+=c.size_left+c.piece.length,c=c.right;return null}nodeAt2(r,c){let o=this.root,d=0;for(;o!==D.SENTINEL;)if(o.left!==D.SENTINEL&&o.lf_left>=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2),p=this.getAccumulatedValue(o,r-o.lf_left-1);return d+=o.size_left,{node:o,remainder:Math.min(l+c-1,p),nodeStartOffset:d}}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2);if(l+c-1<=o.piece.length)return{node:o,remainder:l+c-1,nodeStartOffset:d};c-=o.piece.length-l;break}else r-=o.lf_left+o.piece.lineFeedCnt,d+=o.size_left+o.piece.length,o=o.right;for(o=o.next();o!==D.SENTINEL;){if(o.piece.lineFeedCnt>0){const l=this.getAccumulatedValue(o,0),p=this.offsetOfNode(o);return{node:o,remainder:Math.min(c-1,l),nodeStartOffset:p}}else if(o.piece.length>=c-1){const l=this.offsetOfNode(o);return{node:o,remainder:c-1,nodeStartOffset:l}}else c-=o.piece.length;o=o.next()}return null}nodeCharCodeAt(r,c){if(r.piece.lineFeedCnt<1)return-1;const o=this._buffers[r.piece.bufferIndex],d=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start)+c;return o.buffer.charCodeAt(d)}offsetOfNode(r){if(!r)return 0;let c=r.size_left;for(;r!==this.root;)r.parent.right===r&&(c+=r.parent.size_left+r.parent.piece.length),r=r.parent;return c}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===` -`)}startWithLF(r){if(typeof r=="string")return r.charCodeAt(0)===10;if(r===D.SENTINEL||r.piece.lineFeedCnt===0)return!1;const c=r.piece,o=this._buffers[c.bufferIndex].lineStarts,d=c.start.line,l=o[d]+c.start.column;return d===o.length-1||o[d+1]>l+1?!1:this._buffers[c.bufferIndex].buffer.charCodeAt(l)===10}endWithCR(r){return typeof r=="string"?r.charCodeAt(r.length-1)===13:r===D.SENTINEL||r.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(r,r.piece.length-1)===13}validateCRLFWithPrevNode(r){if(this.shouldCheckCRLF()&&this.startWithLF(r)){const c=r.prev();this.endWithCR(c)&&this.fixCRLF(c,r)}}validateCRLFWithNextNode(r){if(this.shouldCheckCRLF()&&this.endWithCR(r)){const c=r.next();this.startWithLF(c)&&this.fixCRLF(r,c)}}fixCRLF(r,c){const o=[],d=this._buffers[r.piece.bufferIndex].lineStarts;let l;r.piece.end.column===0?l={line:r.piece.end.line-1,column:d[r.piece.end.line]-d[r.piece.end.line-1]-1}:l={line:r.piece.end.line,column:r.piece.end.column-1};const p=r.piece.length-1,m=r.piece.lineFeedCnt-1;r.piece=new i(r.piece.bufferIndex,r.piece.start,l,m,p),(0,D.updateTreeMetadata)(this,r,-1,-1),r.piece.length===0&&o.push(r);const v={line:c.piece.start.line+1,column:0},b=c.piece.length-1,w=this.getLineFeedCnt(c.piece.bufferIndex,v,c.piece.end);c.piece=new i(c.piece.bufferIndex,v,c.piece.end,w,b),(0,D.updateTreeMetadata)(this,c,-1,-1),c.piece.length===0&&o.push(c);const E=this.createNewPieces(`\r -`);this.rbInsertRight(r,E[0]);for(let I=0;I0?this.wrappedTextIndentLength:0}getLineLength(s){const i=s>0?this.breakOffsets[s-1]:0;let t=this.breakOffsets[s]-i;return s>0&&(t+=this.wrappedTextIndentLength),t}getMaxOutputOffset(s){return this.getLineLength(s)}translateToInputOffset(s,i){s>0&&(i=Math.max(0,i-this.wrappedTextIndentLength));let t=s===0?i:this.breakOffsets[s-1]+i;if(this.injectionOffsets!==null)for(let a=0;athis.injectionOffsets[a];a++)t0?this.breakOffsets[a-1]:0,i===0)if(s<=u)t=a-1;else if(s>r)n=a+1;else break;else if(s=r)n=a+1;else break}let h=s-u;return a>0&&(h+=this.wrappedTextIndentLength),new g(a,h)}normalizeOutputPosition(s,i,n){if(this.injectionOffsets!==null){const t=this.outputPositionToOffsetInInputWithInjections(s,i),a=this.normalizeOffsetInInputWithInjectionsAroundInjections(t,n);if(a!==t)return this.offsetInInputWithInjectionsToOutputPosition(a,n)}if(n===0){if(s>0&&i===this.getMinOutputOffset(s))return new g(s-1,this.getMaxOutputOffset(s-1))}else if(n===1){const t=this.getOutputLineCount()-1;if(s0&&(i=Math.max(0,i-this.wrappedTextIndentLength)),(s>0?this.breakOffsets[s-1]:0)+i}normalizeOffsetInInputWithInjectionsAroundInjections(s,i){const n=this.getInjectedTextAtOffset(s);if(!n)return s;if(i===2){if(s===n.offsetInInputWithInjections+n.length&&S(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let t=n.offsetInInputWithInjections;if(f(this.injectionOptions[n.injectedTextIndex].cursorStops))return t;let a=n.injectedTextIndex-1;for(;a>=0&&this.injectionOffsets[a]===this.injectionOffsets[n.injectedTextIndex]&&!(S(this.injectionOptions[a].cursorStops)||(t-=this.injectionOptions[a].content.length,f(this.injectionOptions[a].cursorStops)));)a--;return t}}else if(i===1||i===4){let t=n.offsetInInputWithInjections+n.length,a=n.injectedTextIndex;for(;a+1=0&&this.injectionOffsets[a-1]===this.injectionOffsets[a];)t-=this.injectionOptions[a-1].content.length,a--;return t}(0,L.assertNever)(i)}getInjectedText(s,i){const n=this.outputPositionToOffsetInInputWithInjections(s,i),t=this.getInjectedTextAtOffset(n);return t?{options:this.injectionOptions[t.injectedTextIndex]}:null}getInjectedTextAtOffset(s){const i=this.injectionOffsets,n=this.injectionOptions;if(i!==null){let t=0;for(let a=0;as)break;if(s<=r)return{injectedTextIndex:a,offsetInInputWithInjections:h,length:u};t+=u}}}}e.ModelLineProjectionData=D;function S(C){return C==null?!0:C===y.InjectedTextCursorStops.Right||C===y.InjectedTextCursorStops.Both}function f(C){return C==null?!0:C===y.InjectedTextCursorStops.Left||C===y.InjectedTextCursorStops.Both}class _{constructor(s){this.options=s}}e.InjectedText=_;class g{constructor(s,i){this.outputLineIndex=s,this.outputOffset=i}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(s){return new k.Position(s+this.outputLineIndex,this.outputOffset+1)}}e.OutputPosition=g}),define(ne[285],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DraggedTreeItemsIdentifier=e.TreeViewsDnDService=void 0;class L{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(D){if(D&&this._dragOperations.has(D)){const S=this._dragOperations.get(D);return this._dragOperations.delete(D),S}}}e.TreeViewsDnDService=L;class k{constructor(D){this.identifier=D}}e.DraggedTreeItemsIdentifier=k}),define(ne[286],se([1,0,5,181,11,85,147]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeTextModelHighlighter=void 0;class f{static computeUnicodeHighlights(i,n,t){const a=t?t.startLineNumber:1,u=t?t.endLineNumber:i.getLineCount(),h=new g(n),r=h.getCandidateCodePoints();let c;r==="allNonBasicAscii"?c=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):c=new RegExp(`${_(Array.from(r))}`,"g");const o=new k.Searcher(null,c),d=[];let l=!1,p,m=0,v=0,b=0;e:for(let w=a,E=u;w<=E;w++){const I=i.getLineContent(w),M=I.length;o.reset(0);do if(p=o.next(I),p){let P=p.index,x=p.index+p[0].length;if(P>0){const F=I.charCodeAt(P-1);y.isHighSurrogate(F)&&P--}if(x+1=F){l=!0;break e}d.push(new L.Range(w,P+1,w,x+1))}}while(p)}return{ranges:d,hasMore:l,ambiguousCharacterCount:m,invisibleCharacterCount:v,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(i,n){const t=new g(n);switch(t.shouldHighlightNonBasicASCII(i,null)){case 0:return null;case 2:return{kind:1};case 3:{const u=i.codePointAt(0),h=t.ambiguousCharacters.getPrimaryConfusable(u),r=y.AmbiguousCharacters.getLocales().filter(c=>!y.AmbiguousCharacters.getInstance(new Set([...n.allowedLocales,c])).isAmbiguous(u));return{kind:0,confusableWith:String.fromCodePoint(h),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}e.UnicodeTextModelHighlighter=f;function _(s,i){return`[${y.escapeRegExpCharacters(s.map(t=>String.fromCodePoint(t)).join(""))}]`}class g{constructor(i){this.options=i,this.allowedCodePoints=new Set(i.allowedCodePoints),this.ambiguousCharacters=y.AmbiguousCharacters.getInstance(new Set(i.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const i=new Set;if(this.options.invisibleCharacters)for(const n of y.InvisibleCharacters.codePoints)C(String.fromCodePoint(n))||i.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())i.add(n);for(const n of this.allowedCodePoints)i.delete(n);return i}shouldHighlightNonBasicASCII(i,n){const t=i.codePointAt(0);if(this.allowedCodePoints.has(t))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,u=!1;if(n)for(const h of n){const r=h.codePointAt(0),c=y.isBasicASCII(h);a=a||c,!c&&!this.ambiguousCharacters.isAmbiguous(r)&&!y.InvisibleCharacters.isInvisibleCharacter(r)&&(u=!0)}return!a&&u?0:this.options.invisibleCharacters&&!C(i)&&y.InvisibleCharacters.isInvisibleCharacter(t)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(t)?3:0}}function C(s){return s===" "||s===` -`||s===" "}}),define(ne[208],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappingIndent=e.TrackedRangeStickiness=e.TextEditorCursorStyle=e.TextEditorCursorBlinkingStyle=e.SymbolTag=e.SymbolKind=e.SignatureHelpTriggerKind=e.SelectionDirection=e.ScrollbarVisibility=e.ScrollType=e.RenderMinimap=e.RenderLineNumbersType=e.PositionAffinity=e.OverviewRulerLane=e.OverlayWidgetPositionPreference=e.MouseTargetType=e.MinimapPosition=e.MarkerTag=e.MarkerSeverity=e.KeyCode=e.InlineCompletionTriggerKind=e.InlayHintKind=e.InjectedTextCursorStops=e.IndentAction=e.GlyphMarginLane=e.EndOfLineSequence=e.EndOfLinePreference=e.EditorOption=e.EditorAutoIndentStrategy=e.DocumentHighlightKind=e.DefaultEndOfLine=e.CursorChangeReason=e.ContentWidgetPositionPreference=e.CompletionTriggerKind=e.CompletionItemTag=e.CompletionItemKind=e.CompletionItemInsertTextRule=e.CodeActionTriggerType=e.AccessibilitySupport=void 0;var L;(function(R){R[R.Unknown=0]="Unknown",R[R.Disabled=1]="Disabled",R[R.Enabled=2]="Enabled"})(L||(e.AccessibilitySupport=L={}));var k;(function(R){R[R.Invoke=1]="Invoke",R[R.Auto=2]="Auto"})(k||(e.CodeActionTriggerType=k={}));var y;(function(R){R[R.None=0]="None",R[R.KeepWhitespace=1]="KeepWhitespace",R[R.InsertAsSnippet=4]="InsertAsSnippet"})(y||(e.CompletionItemInsertTextRule=y={}));var D;(function(R){R[R.Method=0]="Method",R[R.Function=1]="Function",R[R.Constructor=2]="Constructor",R[R.Field=3]="Field",R[R.Variable=4]="Variable",R[R.Class=5]="Class",R[R.Struct=6]="Struct",R[R.Interface=7]="Interface",R[R.Module=8]="Module",R[R.Property=9]="Property",R[R.Event=10]="Event",R[R.Operator=11]="Operator",R[R.Unit=12]="Unit",R[R.Value=13]="Value",R[R.Constant=14]="Constant",R[R.Enum=15]="Enum",R[R.EnumMember=16]="EnumMember",R[R.Keyword=17]="Keyword",R[R.Text=18]="Text",R[R.Color=19]="Color",R[R.File=20]="File",R[R.Reference=21]="Reference",R[R.Customcolor=22]="Customcolor",R[R.Folder=23]="Folder",R[R.TypeParameter=24]="TypeParameter",R[R.User=25]="User",R[R.Issue=26]="Issue",R[R.Snippet=27]="Snippet"})(D||(e.CompletionItemKind=D={}));var S;(function(R){R[R.Deprecated=1]="Deprecated"})(S||(e.CompletionItemTag=S={}));var f;(function(R){R[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(f||(e.CompletionTriggerKind=f={}));var _;(function(R){R[R.EXACT=0]="EXACT",R[R.ABOVE=1]="ABOVE",R[R.BELOW=2]="BELOW"})(_||(e.ContentWidgetPositionPreference=_={}));var g;(function(R){R[R.NotSet=0]="NotSet",R[R.ContentFlush=1]="ContentFlush",R[R.RecoverFromMarkers=2]="RecoverFromMarkers",R[R.Explicit=3]="Explicit",R[R.Paste=4]="Paste",R[R.Undo=5]="Undo",R[R.Redo=6]="Redo"})(g||(e.CursorChangeReason=g={}));var C;(function(R){R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(C||(e.DefaultEndOfLine=C={}));var s;(function(R){R[R.Text=0]="Text",R[R.Read=1]="Read",R[R.Write=2]="Write"})(s||(e.DocumentHighlightKind=s={}));var i;(function(R){R[R.None=0]="None",R[R.Keep=1]="Keep",R[R.Brackets=2]="Brackets",R[R.Advanced=3]="Advanced",R[R.Full=4]="Full"})(i||(e.EditorAutoIndentStrategy=i={}));var n;(function(R){R[R.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",R[R.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",R[R.accessibilitySupport=2]="accessibilitySupport",R[R.accessibilityPageSize=3]="accessibilityPageSize",R[R.ariaLabel=4]="ariaLabel",R[R.ariaRequired=5]="ariaRequired",R[R.autoClosingBrackets=6]="autoClosingBrackets",R[R.screenReaderAnnounceInlineSuggestion=7]="screenReaderAnnounceInlineSuggestion",R[R.autoClosingDelete=8]="autoClosingDelete",R[R.autoClosingOvertype=9]="autoClosingOvertype",R[R.autoClosingQuotes=10]="autoClosingQuotes",R[R.autoIndent=11]="autoIndent",R[R.automaticLayout=12]="automaticLayout",R[R.autoSurround=13]="autoSurround",R[R.bracketPairColorization=14]="bracketPairColorization",R[R.guides=15]="guides",R[R.codeLens=16]="codeLens",R[R.codeLensFontFamily=17]="codeLensFontFamily",R[R.codeLensFontSize=18]="codeLensFontSize",R[R.colorDecorators=19]="colorDecorators",R[R.colorDecoratorsLimit=20]="colorDecoratorsLimit",R[R.columnSelection=21]="columnSelection",R[R.comments=22]="comments",R[R.contextmenu=23]="contextmenu",R[R.copyWithSyntaxHighlighting=24]="copyWithSyntaxHighlighting",R[R.cursorBlinking=25]="cursorBlinking",R[R.cursorSmoothCaretAnimation=26]="cursorSmoothCaretAnimation",R[R.cursorStyle=27]="cursorStyle",R[R.cursorSurroundingLines=28]="cursorSurroundingLines",R[R.cursorSurroundingLinesStyle=29]="cursorSurroundingLinesStyle",R[R.cursorWidth=30]="cursorWidth",R[R.disableLayerHinting=31]="disableLayerHinting",R[R.disableMonospaceOptimizations=32]="disableMonospaceOptimizations",R[R.domReadOnly=33]="domReadOnly",R[R.dragAndDrop=34]="dragAndDrop",R[R.dropIntoEditor=35]="dropIntoEditor",R[R.emptySelectionClipboard=36]="emptySelectionClipboard",R[R.experimentalWhitespaceRendering=37]="experimentalWhitespaceRendering",R[R.extraEditorClassName=38]="extraEditorClassName",R[R.fastScrollSensitivity=39]="fastScrollSensitivity",R[R.find=40]="find",R[R.fixedOverflowWidgets=41]="fixedOverflowWidgets",R[R.folding=42]="folding",R[R.foldingStrategy=43]="foldingStrategy",R[R.foldingHighlight=44]="foldingHighlight",R[R.foldingImportsByDefault=45]="foldingImportsByDefault",R[R.foldingMaximumRegions=46]="foldingMaximumRegions",R[R.unfoldOnClickAfterEndOfLine=47]="unfoldOnClickAfterEndOfLine",R[R.fontFamily=48]="fontFamily",R[R.fontInfo=49]="fontInfo",R[R.fontLigatures=50]="fontLigatures",R[R.fontSize=51]="fontSize",R[R.fontWeight=52]="fontWeight",R[R.fontVariations=53]="fontVariations",R[R.formatOnPaste=54]="formatOnPaste",R[R.formatOnType=55]="formatOnType",R[R.glyphMargin=56]="glyphMargin",R[R.gotoLocation=57]="gotoLocation",R[R.hideCursorInOverviewRuler=58]="hideCursorInOverviewRuler",R[R.hover=59]="hover",R[R.inDiffEditor=60]="inDiffEditor",R[R.inlineSuggest=61]="inlineSuggest",R[R.letterSpacing=62]="letterSpacing",R[R.lightbulb=63]="lightbulb",R[R.lineDecorationsWidth=64]="lineDecorationsWidth",R[R.lineHeight=65]="lineHeight",R[R.lineNumbers=66]="lineNumbers",R[R.lineNumbersMinChars=67]="lineNumbersMinChars",R[R.linkedEditing=68]="linkedEditing",R[R.links=69]="links",R[R.matchBrackets=70]="matchBrackets",R[R.minimap=71]="minimap",R[R.mouseStyle=72]="mouseStyle",R[R.mouseWheelScrollSensitivity=73]="mouseWheelScrollSensitivity",R[R.mouseWheelZoom=74]="mouseWheelZoom",R[R.multiCursorMergeOverlapping=75]="multiCursorMergeOverlapping",R[R.multiCursorModifier=76]="multiCursorModifier",R[R.multiCursorPaste=77]="multiCursorPaste",R[R.multiCursorLimit=78]="multiCursorLimit",R[R.occurrencesHighlight=79]="occurrencesHighlight",R[R.overviewRulerBorder=80]="overviewRulerBorder",R[R.overviewRulerLanes=81]="overviewRulerLanes",R[R.padding=82]="padding",R[R.pasteAs=83]="pasteAs",R[R.parameterHints=84]="parameterHints",R[R.peekWidgetDefaultFocus=85]="peekWidgetDefaultFocus",R[R.definitionLinkOpensInPeek=86]="definitionLinkOpensInPeek",R[R.quickSuggestions=87]="quickSuggestions",R[R.quickSuggestionsDelay=88]="quickSuggestionsDelay",R[R.readOnly=89]="readOnly",R[R.readOnlyMessage=90]="readOnlyMessage",R[R.renameOnType=91]="renameOnType",R[R.renderControlCharacters=92]="renderControlCharacters",R[R.renderFinalNewline=93]="renderFinalNewline",R[R.renderLineHighlight=94]="renderLineHighlight",R[R.renderLineHighlightOnlyWhenFocus=95]="renderLineHighlightOnlyWhenFocus",R[R.renderValidationDecorations=96]="renderValidationDecorations",R[R.renderWhitespace=97]="renderWhitespace",R[R.revealHorizontalRightPadding=98]="revealHorizontalRightPadding",R[R.roundedSelection=99]="roundedSelection",R[R.rulers=100]="rulers",R[R.scrollbar=101]="scrollbar",R[R.scrollBeyondLastColumn=102]="scrollBeyondLastColumn",R[R.scrollBeyondLastLine=103]="scrollBeyondLastLine",R[R.scrollPredominantAxis=104]="scrollPredominantAxis",R[R.selectionClipboard=105]="selectionClipboard",R[R.selectionHighlight=106]="selectionHighlight",R[R.selectOnLineNumbers=107]="selectOnLineNumbers",R[R.showFoldingControls=108]="showFoldingControls",R[R.showUnused=109]="showUnused",R[R.snippetSuggestions=110]="snippetSuggestions",R[R.smartSelect=111]="smartSelect",R[R.smoothScrolling=112]="smoothScrolling",R[R.stickyScroll=113]="stickyScroll",R[R.stickyTabStops=114]="stickyTabStops",R[R.stopRenderingLineAfter=115]="stopRenderingLineAfter",R[R.suggest=116]="suggest",R[R.suggestFontSize=117]="suggestFontSize",R[R.suggestLineHeight=118]="suggestLineHeight",R[R.suggestOnTriggerCharacters=119]="suggestOnTriggerCharacters",R[R.suggestSelection=120]="suggestSelection",R[R.tabCompletion=121]="tabCompletion",R[R.tabIndex=122]="tabIndex",R[R.unicodeHighlighting=123]="unicodeHighlighting",R[R.unusualLineTerminators=124]="unusualLineTerminators",R[R.useShadowDOM=125]="useShadowDOM",R[R.useTabStops=126]="useTabStops",R[R.wordBreak=127]="wordBreak",R[R.wordSeparators=128]="wordSeparators",R[R.wordWrap=129]="wordWrap",R[R.wordWrapBreakAfterCharacters=130]="wordWrapBreakAfterCharacters",R[R.wordWrapBreakBeforeCharacters=131]="wordWrapBreakBeforeCharacters",R[R.wordWrapColumn=132]="wordWrapColumn",R[R.wordWrapOverride1=133]="wordWrapOverride1",R[R.wordWrapOverride2=134]="wordWrapOverride2",R[R.wrappingIndent=135]="wrappingIndent",R[R.wrappingStrategy=136]="wrappingStrategy",R[R.showDeprecated=137]="showDeprecated",R[R.inlayHints=138]="inlayHints",R[R.editorClassName=139]="editorClassName",R[R.pixelRatio=140]="pixelRatio",R[R.tabFocusMode=141]="tabFocusMode",R[R.layoutInfo=142]="layoutInfo",R[R.wrappingInfo=143]="wrappingInfo",R[R.defaultColorDecorators=144]="defaultColorDecorators",R[R.colorDecoratorsActivatedOn=145]="colorDecoratorsActivatedOn",R[R.inlineCompletionsAccessibilityVerbose=146]="inlineCompletionsAccessibilityVerbose"})(n||(e.EditorOption=n={}));var t;(function(R){R[R.TextDefined=0]="TextDefined",R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(t||(e.EndOfLinePreference=t={}));var a;(function(R){R[R.LF=0]="LF",R[R.CRLF=1]="CRLF"})(a||(e.EndOfLineSequence=a={}));var u;(function(R){R[R.Left=1]="Left",R[R.Right=2]="Right"})(u||(e.GlyphMarginLane=u={}));var h;(function(R){R[R.None=0]="None",R[R.Indent=1]="Indent",R[R.IndentOutdent=2]="IndentOutdent",R[R.Outdent=3]="Outdent"})(h||(e.IndentAction=h={}));var r;(function(R){R[R.Both=0]="Both",R[R.Right=1]="Right",R[R.Left=2]="Left",R[R.None=3]="None"})(r||(e.InjectedTextCursorStops=r={}));var c;(function(R){R[R.Type=1]="Type",R[R.Parameter=2]="Parameter"})(c||(e.InlayHintKind=c={}));var o;(function(R){R[R.Automatic=0]="Automatic",R[R.Explicit=1]="Explicit"})(o||(e.InlineCompletionTriggerKind=o={}));var d;(function(R){R[R.DependsOnKbLayout=-1]="DependsOnKbLayout",R[R.Unknown=0]="Unknown",R[R.Backspace=1]="Backspace",R[R.Tab=2]="Tab",R[R.Enter=3]="Enter",R[R.Shift=4]="Shift",R[R.Ctrl=5]="Ctrl",R[R.Alt=6]="Alt",R[R.PauseBreak=7]="PauseBreak",R[R.CapsLock=8]="CapsLock",R[R.Escape=9]="Escape",R[R.Space=10]="Space",R[R.PageUp=11]="PageUp",R[R.PageDown=12]="PageDown",R[R.End=13]="End",R[R.Home=14]="Home",R[R.LeftArrow=15]="LeftArrow",R[R.UpArrow=16]="UpArrow",R[R.RightArrow=17]="RightArrow",R[R.DownArrow=18]="DownArrow",R[R.Insert=19]="Insert",R[R.Delete=20]="Delete",R[R.Digit0=21]="Digit0",R[R.Digit1=22]="Digit1",R[R.Digit2=23]="Digit2",R[R.Digit3=24]="Digit3",R[R.Digit4=25]="Digit4",R[R.Digit5=26]="Digit5",R[R.Digit6=27]="Digit6",R[R.Digit7=28]="Digit7",R[R.Digit8=29]="Digit8",R[R.Digit9=30]="Digit9",R[R.KeyA=31]="KeyA",R[R.KeyB=32]="KeyB",R[R.KeyC=33]="KeyC",R[R.KeyD=34]="KeyD",R[R.KeyE=35]="KeyE",R[R.KeyF=36]="KeyF",R[R.KeyG=37]="KeyG",R[R.KeyH=38]="KeyH",R[R.KeyI=39]="KeyI",R[R.KeyJ=40]="KeyJ",R[R.KeyK=41]="KeyK",R[R.KeyL=42]="KeyL",R[R.KeyM=43]="KeyM",R[R.KeyN=44]="KeyN",R[R.KeyO=45]="KeyO",R[R.KeyP=46]="KeyP",R[R.KeyQ=47]="KeyQ",R[R.KeyR=48]="KeyR",R[R.KeyS=49]="KeyS",R[R.KeyT=50]="KeyT",R[R.KeyU=51]="KeyU",R[R.KeyV=52]="KeyV",R[R.KeyW=53]="KeyW",R[R.KeyX=54]="KeyX",R[R.KeyY=55]="KeyY",R[R.KeyZ=56]="KeyZ",R[R.Meta=57]="Meta",R[R.ContextMenu=58]="ContextMenu",R[R.F1=59]="F1",R[R.F2=60]="F2",R[R.F3=61]="F3",R[R.F4=62]="F4",R[R.F5=63]="F5",R[R.F6=64]="F6",R[R.F7=65]="F7",R[R.F8=66]="F8",R[R.F9=67]="F9",R[R.F10=68]="F10",R[R.F11=69]="F11",R[R.F12=70]="F12",R[R.F13=71]="F13",R[R.F14=72]="F14",R[R.F15=73]="F15",R[R.F16=74]="F16",R[R.F17=75]="F17",R[R.F18=76]="F18",R[R.F19=77]="F19",R[R.F20=78]="F20",R[R.F21=79]="F21",R[R.F22=80]="F22",R[R.F23=81]="F23",R[R.F24=82]="F24",R[R.NumLock=83]="NumLock",R[R.ScrollLock=84]="ScrollLock",R[R.Semicolon=85]="Semicolon",R[R.Equal=86]="Equal",R[R.Comma=87]="Comma",R[R.Minus=88]="Minus",R[R.Period=89]="Period",R[R.Slash=90]="Slash",R[R.Backquote=91]="Backquote",R[R.BracketLeft=92]="BracketLeft",R[R.Backslash=93]="Backslash",R[R.BracketRight=94]="BracketRight",R[R.Quote=95]="Quote",R[R.OEM_8=96]="OEM_8",R[R.IntlBackslash=97]="IntlBackslash",R[R.Numpad0=98]="Numpad0",R[R.Numpad1=99]="Numpad1",R[R.Numpad2=100]="Numpad2",R[R.Numpad3=101]="Numpad3",R[R.Numpad4=102]="Numpad4",R[R.Numpad5=103]="Numpad5",R[R.Numpad6=104]="Numpad6",R[R.Numpad7=105]="Numpad7",R[R.Numpad8=106]="Numpad8",R[R.Numpad9=107]="Numpad9",R[R.NumpadMultiply=108]="NumpadMultiply",R[R.NumpadAdd=109]="NumpadAdd",R[R.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",R[R.NumpadSubtract=111]="NumpadSubtract",R[R.NumpadDecimal=112]="NumpadDecimal",R[R.NumpadDivide=113]="NumpadDivide",R[R.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",R[R.ABNT_C1=115]="ABNT_C1",R[R.ABNT_C2=116]="ABNT_C2",R[R.AudioVolumeMute=117]="AudioVolumeMute",R[R.AudioVolumeUp=118]="AudioVolumeUp",R[R.AudioVolumeDown=119]="AudioVolumeDown",R[R.BrowserSearch=120]="BrowserSearch",R[R.BrowserHome=121]="BrowserHome",R[R.BrowserBack=122]="BrowserBack",R[R.BrowserForward=123]="BrowserForward",R[R.MediaTrackNext=124]="MediaTrackNext",R[R.MediaTrackPrevious=125]="MediaTrackPrevious",R[R.MediaStop=126]="MediaStop",R[R.MediaPlayPause=127]="MediaPlayPause",R[R.LaunchMediaPlayer=128]="LaunchMediaPlayer",R[R.LaunchMail=129]="LaunchMail",R[R.LaunchApp2=130]="LaunchApp2",R[R.Clear=131]="Clear",R[R.MAX_VALUE=132]="MAX_VALUE"})(d||(e.KeyCode=d={}));var l;(function(R){R[R.Hint=1]="Hint",R[R.Info=2]="Info",R[R.Warning=4]="Warning",R[R.Error=8]="Error"})(l||(e.MarkerSeverity=l={}));var p;(function(R){R[R.Unnecessary=1]="Unnecessary",R[R.Deprecated=2]="Deprecated"})(p||(e.MarkerTag=p={}));var m;(function(R){R[R.Inline=1]="Inline",R[R.Gutter=2]="Gutter"})(m||(e.MinimapPosition=m={}));var v;(function(R){R[R.UNKNOWN=0]="UNKNOWN",R[R.TEXTAREA=1]="TEXTAREA",R[R.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",R[R.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",R[R.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",R[R.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",R[R.CONTENT_TEXT=6]="CONTENT_TEXT",R[R.CONTENT_EMPTY=7]="CONTENT_EMPTY",R[R.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",R[R.CONTENT_WIDGET=9]="CONTENT_WIDGET",R[R.OVERVIEW_RULER=10]="OVERVIEW_RULER",R[R.SCROLLBAR=11]="SCROLLBAR",R[R.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",R[R.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(v||(e.MouseTargetType=v={}));var b;(function(R){R[R.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",R[R.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",R[R.TOP_CENTER=2]="TOP_CENTER"})(b||(e.OverlayWidgetPositionPreference=b={}));var w;(function(R){R[R.Left=1]="Left",R[R.Center=2]="Center",R[R.Right=4]="Right",R[R.Full=7]="Full"})(w||(e.OverviewRulerLane=w={}));var E;(function(R){R[R.Left=0]="Left",R[R.Right=1]="Right",R[R.None=2]="None",R[R.LeftOfInjectedText=3]="LeftOfInjectedText",R[R.RightOfInjectedText=4]="RightOfInjectedText"})(E||(e.PositionAffinity=E={}));var I;(function(R){R[R.Off=0]="Off",R[R.On=1]="On",R[R.Relative=2]="Relative",R[R.Interval=3]="Interval",R[R.Custom=4]="Custom"})(I||(e.RenderLineNumbersType=I={}));var M;(function(R){R[R.None=0]="None",R[R.Text=1]="Text",R[R.Blocks=2]="Blocks"})(M||(e.RenderMinimap=M={}));var P;(function(R){R[R.Smooth=0]="Smooth",R[R.Immediate=1]="Immediate"})(P||(e.ScrollType=P={}));var x;(function(R){R[R.Auto=1]="Auto",R[R.Hidden=2]="Hidden",R[R.Visible=3]="Visible"})(x||(e.ScrollbarVisibility=x={}));var T;(function(R){R[R.LTR=0]="LTR",R[R.RTL=1]="RTL"})(T||(e.SelectionDirection=T={}));var A;(function(R){R[R.Invoke=1]="Invoke",R[R.TriggerCharacter=2]="TriggerCharacter",R[R.ContentChange=3]="ContentChange"})(A||(e.SignatureHelpTriggerKind=A={}));var N;(function(R){R[R.File=0]="File",R[R.Module=1]="Module",R[R.Namespace=2]="Namespace",R[R.Package=3]="Package",R[R.Class=4]="Class",R[R.Method=5]="Method",R[R.Property=6]="Property",R[R.Field=7]="Field",R[R.Constructor=8]="Constructor",R[R.Enum=9]="Enum",R[R.Interface=10]="Interface",R[R.Function=11]="Function",R[R.Variable=12]="Variable",R[R.Constant=13]="Constant",R[R.String=14]="String",R[R.Number=15]="Number",R[R.Boolean=16]="Boolean",R[R.Array=17]="Array",R[R.Object=18]="Object",R[R.Key=19]="Key",R[R.Null=20]="Null",R[R.EnumMember=21]="EnumMember",R[R.Struct=22]="Struct",R[R.Event=23]="Event",R[R.Operator=24]="Operator",R[R.TypeParameter=25]="TypeParameter"})(N||(e.SymbolKind=N={}));var F;(function(R){R[R.Deprecated=1]="Deprecated"})(F||(e.SymbolTag=F={}));var O;(function(R){R[R.Hidden=0]="Hidden",R[R.Blink=1]="Blink",R[R.Smooth=2]="Smooth",R[R.Phase=3]="Phase",R[R.Expand=4]="Expand",R[R.Solid=5]="Solid"})(O||(e.TextEditorCursorBlinkingStyle=O={}));var W;(function(R){R[R.Line=1]="Line",R[R.Block=2]="Block",R[R.Underline=3]="Underline",R[R.LineThin=4]="LineThin",R[R.BlockOutline=5]="BlockOutline",R[R.UnderlineThin=6]="UnderlineThin"})(W||(e.TextEditorCursorStyle=W={}));var U;(function(R){R[R.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",R[R.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",R[R.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",R[R.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(U||(e.TrackedRangeStickiness=U={}));var j;(function(R){R[R.None=0]="None",R[R.Same=1]="Same",R[R.Indent=2]="Indent",R[R.DeepIndent=3]="DeepIndent"})(j||(e.WrappingIndent=j={}))}),define(ne[513],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairWithMinIndentationInfo=e.BracketPairInfo=e.BracketInfo=void 0;class L{constructor(S,f,_,g){this.range=S,this.nestingLevel=f,this.nestingLevelOfEqualBracketType=_,this.isInvalid=g}}e.BracketInfo=L;class k{constructor(S,f,_,g,C,s){this.range=S,this.openingBracketRange=f,this.closingBracketRange=_,this.nestingLevel=g,this.nestingLevelOfEqualBracketType=C,this.bracketPairNode=s}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}e.BracketPairInfo=k;class y extends k{constructor(S,f,_,g,C,s,i){super(S,f,_,g,C,s),this.minVisibleColumnIndentation=i}}e.BracketPairWithMinIndentationInfo=y}),define(ne[514],se([1,0,6,2,513,179,280,91,279,126,206,14,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTree=void 0;class n extends k.Disposable{didLanguageChange(o){return this.brackets.didLanguageChange(o)}constructor(o,d){if(super(),this.textModel=o,this.getLanguageConfiguration=d,this.didChangeEmitter=new L.Emitter,this.denseKeyProvider=new g.DenseKeyProvider,this.brackets=new S.LanguageAgnosticBracketTokens(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,this.queuedTextEditsForInitialAstWithoutTokens=[],this.queuedTextEdits=[],o.tokenization.hasTokens)o.tokenization.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens);else{const l=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),p=new C.FastTokenizer(this.textModel.getValue(),l);this.initialAstWithoutTokens=(0,_.parseDocument)(p,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}}handleDidChangeBackgroundTokenizationState(){if(this.textModel.tokenization.backgroundTokenizationState===2){const o=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,o||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:o}){const d=o.map(l=>new D.TextEditInfo((0,f.toLength)(l.fromLineNumber-1,0),(0,f.toLength)(l.toLineNumber,0),(0,f.toLength)(l.toLineNumber-l.fromLineNumber+1,0)));this.handleEdits(d,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(o){const d=D.TextEditInfo.fromModelContentChanges(o.changes);this.handleEdits(d,!1)}handleEdits(o,d){const l=(0,i.combineTextEditInfos)(this.queuedTextEdits,o);this.queuedTextEdits=l,this.initialAstWithoutTokens&&!d&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,i.combineTextEditInfos)(this.queuedTextEditsForInitialAstWithoutTokens,o))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(o,d,l){const m=d,v=new C.TextBufferTokenizer(this.textModel,this.brackets);return(0,_.parseDocument)(v,o,m,l)}getBracketsInRange(o,d){this.flushQueue();const l=(0,f.toLength)(o.startLineNumber-1,o.startColumn-1),p=(0,f.toLength)(o.endLineNumber-1,o.endColumn-1);return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens;u(v,f.lengthZero,v.length,l,p,m,0,0,new Map,d)})}getBracketPairsInRange(o,d){this.flushQueue();const l=(0,f.positionToLength)(o.getStartPosition()),p=(0,f.positionToLength)(o.getEndPosition());return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens,b=new h(m,d,this.textModel);r(v,f.lengthZero,v.length,l,p,b,0,new Map)})}getFirstBracketAfter(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return a(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}getFirstBracketBefore(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return t(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}}e.BracketPairsTree=n;function t(c,o,d,l){if(c.kind===4||c.kind===2){const p=[];for(const m of c.children)d=(0,f.lengthAdd)(o,m.length),p.push({nodeOffsetStart:o,nodeOffsetEnd:d}),o=d;for(let m=p.length-1;m>=0;m--){const{nodeOffsetStart:v,nodeOffsetEnd:b}=p[m];if((0,f.lengthLessThan)(v,l)){const w=t(c.children[m],v,b,l);if(w)return w}}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function a(c,o,d,l){if(c.kind===4||c.kind===2){for(const p of c.children){if(d=(0,f.lengthAdd)(o,p.length),(0,f.lengthLessThan)(l,d)){const m=a(p,o,d,l);if(m)return m}o=d}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function u(c,o,d,l,p,m,v,b,w,E,I=!1){if(v>200)return!0;e:for(;;)switch(c.kind){case 4:{const M=c.childrenLength;for(let P=0;P200)return!0;let E=!0;if(c.kind===2){let I=0;if(b){let x=b.get(c.openingBracket.text);x===void 0&&(x=0),I=x,x++,b.set(c.openingBracket.text,x)}const M=(0,f.lengthAdd)(o,c.openingBracket.length);let P=-1;if(m.includeMinIndentation&&(P=c.computeMinIndentation(o,m.textModel)),E=m.push(new y.BracketPairWithMinIndentationInfo((0,f.lengthsToRange)(o,d),(0,f.lengthsToRange)(o,M),c.closingBracket?(0,f.lengthsToRange)((0,f.lengthAdd)(M,((w=c.child)===null||w===void 0?void 0:w.length)||f.lengthZero),d):void 0,v,I,c,P)),o=M,E&&c.child){const x=c.child;if(d=(0,f.lengthAdd)(o,x.length),(0,f.lengthLessThanEqual)(o,p)&&(0,f.lengthGreaterThanEqual)(d,l)&&(E=r(x,o,d,l,p,m,v+1,b),!E))return!1}b?.set(c.openingBracket.text,I)}else{let I=o;for(const M of c.children){const P=I;if(I=(0,f.lengthAdd)(I,M.length),(0,f.lengthLessThanEqual)(P,p)&&(0,f.lengthLessThanEqual)(l,I)&&(E=r(M,P,I,l,p,m,v,b),!E))return!1}}return E}}),define(ne[111],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalModelContentChangeEvent=e.ModelInjectedTextChangedEvent=e.ModelRawContentChangedEvent=e.ModelRawEOLChanged=e.ModelRawLinesInserted=e.ModelRawLinesDeleted=e.ModelRawLineChanged=e.LineInjectedText=e.ModelRawFlush=void 0;class L{constructor(){this.changeType=1}}e.ModelRawFlush=L;class k{static applyInjectedText(i,n){if(!n||n.length===0)return i;let t="",a=0;for(const u of n)t+=i.substring(a,u.column-1),a=u.column-1,t+=u.options.content;return t+=i.substring(a),t}static fromDecorations(i){const n=[];for(const t of i)t.options.before&&t.options.before.content.length>0&&n.push(new k(t.ownerId,t.range.startLineNumber,t.range.startColumn,t.options.before,0)),t.options.after&&t.options.after.content.length>0&&n.push(new k(t.ownerId,t.range.endLineNumber,t.range.endColumn,t.options.after,1));return n.sort((t,a)=>t.lineNumber===a.lineNumber?t.column===a.column?t.order-a.order:t.column-a.column:t.lineNumber-a.lineNumber),n}constructor(i,n,t,a,u){this.ownerId=i,this.lineNumber=n,this.column=t,this.options=a,this.order=u}}e.LineInjectedText=k;class y{constructor(i,n,t){this.changeType=2,this.lineNumber=i,this.detail=n,this.injectedText=t}}e.ModelRawLineChanged=y;class D{constructor(i,n){this.changeType=3,this.fromLineNumber=i,this.toLineNumber=n}}e.ModelRawLinesDeleted=D;class S{constructor(i,n,t,a){this.changeType=4,this.injectedTexts=a,this.fromLineNumber=i,this.toLineNumber=n,this.detail=t}}e.ModelRawLinesInserted=S;class f{constructor(){this.changeType=5}}e.ModelRawEOLChanged=f;class _{constructor(i,n,t,a){this.changes=i,this.versionId=n,this.isUndoing=t,this.isRedoing=a,this.resultingSelection=null}containsEvent(i){for(let n=0,t=this.changes.length;nu)throw new g.BugIndicatingError("Illegal value for lineNumber");const h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide);let c=-2,o=-1,d=-2,l=-1;const p=N=>{if(c!==-1&&(c===-2||c>N-1)){c=-1,o=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){c=F,o=O;break}}}if(d===-2){d=-1,l=-1;for(let F=N;F=0){d=F,l=O;break}}}};let m=-2,v=-1,b=-2,w=-1;const E=N=>{if(m===-2){m=-1,v=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){m=F,v=O;break}}}if(b!==-1&&(b===-2||b=0){b=F,w=O;break}}}};let I=0,M=!0,P=0,x=!0,T=0,A=0;for(let N=0;M||x;N++){const F=n-N,O=n+N;N>1&&(F<1||F1&&(O>u||O>a)&&(x=!1),N>5e4&&(M=!1,x=!1);let W=-1;if(M&&F>=1){const j=this._computeIndentLevel(F-1);j>=0?(d=F-1,l=j,W=Math.ceil(j/this.textModel.getOptions().indentSize)):(p(F),W=this._getIndentLevelForWhitespaceLine(r,o,l))}let U=-1;if(x&&O<=u){const j=this._computeIndentLevel(O-1);j>=0?(m=O-1,v=j,U=Math.ceil(j/this.textModel.getOptions().indentSize)):(E(O),U=this._getIndentLevelForWhitespaceLine(r,v,w))}if(N===0){A=W;continue}if(N===1){if(O<=u&&U>=0&&A+1===U){M=!1,I=O,P=O,T=U;continue}if(F>=1&&W>=0&&W-1===A){x=!1,I=F,P=F,T=W;continue}if(I=n,P=n,T=A,T===0)return{startLineNumber:I,endLineNumber:P,indent:T}}M&&(W>=T?I=F:M=!1),x&&(U>=T?P=O:x=!1)}return{startLineNumber:I,endLineNumber:P,indent:T}}getLinesBracketGuides(n,t,a,u){var h;const r=[];for(let m=n;m<=t;m++)r.push([]);const c=!0,o=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new D.Range(n,1,t,this.textModel.getLineMaxColumn(t))).toArray();let d;if(a&&o.length>0){const m=(n<=a.lineNumber&&a.lineNumber<=t?o:this.textModel.bracketPairs.getBracketPairsInRange(D.Range.fromPositions(a)).toArray()).filter(v=>D.Range.strictContainsPosition(v.range,a));d=(h=(0,L.findLast)(m,v=>c||v.range.startLineNumber!==v.range.endLineNumber))===null||h===void 0?void 0:h.range}const l=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new s;for(const m of o){if(!m.closingBracketRange)continue;const v=d&&m.range.equalsRange(d);if(!v&&!u.includeInactive)continue;const b=p.getInlineClassName(m.nestingLevel,m.nestingLevelOfEqualBracketType,l)+(u.highlightActive&&v?" "+p.activeClassName:""),w=m.openingBracketRange.getStartPosition(),E=m.closingBracketRange.getStartPosition(),I=u.horizontalGuides===_.HorizontalGuidesState.Enabled||u.horizontalGuides===_.HorizontalGuidesState.EnabledForActive&&v;if(m.range.startLineNumber===m.range.endLineNumber){c&&I&&r[m.range.startLineNumber-n].push(new _.IndentGuide(-1,m.openingBracketRange.getEndPosition().column,b,new _.IndentGuideHorizontalLine(!1,E.column),-1,-1));continue}const M=this.getVisibleColumnFromPosition(E),P=this.getVisibleColumnFromPosition(m.openingBracketRange.getStartPosition()),x=Math.min(P,M,m.minVisibleColumnIndentation+1);let T=!1;k.firstNonWhitespaceIndex(this.textModel.getLineContent(m.closingBracketRange.startLineNumber))=n&&P>x&&r[w.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!1,w.column),-1,-1)),E.lineNumber<=t&&M>x&&r[E.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!T,E.column),-1,-1)))}for(const m of r)m.sort((v,b)=>v.visibleColumn-b.visibleColumn);return r}getVisibleColumnFromPosition(n){return y.CursorColumns.visibleColumnFromColumn(this.textModel.getLineContent(n.lineNumber),n.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(n,t){this.assertNotDisposed();const a=this.textModel.getLineCount();if(n<1||n>a)throw new Error("Illegal value for startLineNumber");if(t<1||t>a)throw new Error("Illegal value for endLineNumber");const u=this.textModel.getOptions(),h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide),c=new Array(t-n+1);let o=-2,d=-1,l=-2,p=-1;for(let m=n;m<=t;m++){const v=m-n,b=this._computeIndentLevel(m-1);if(b>=0){o=m-1,d=b,c[v]=Math.ceil(b/u.indentSize);continue}if(o===-2){o=-1,d=-1;for(let w=m-2;w>=0;w--){const E=this._computeIndentLevel(w);if(E>=0){o=w,d=E;break}}}if(l!==-1&&(l===-2||l=0){l=w,p=E;break}}}c[v]=this._getIndentLevelForWhitespaceLine(r,d,p)}return c}_getIndentLevelForWhitespaceLine(n,t,a){const u=this.textModel.getOptions();return t===-1||a===-1?0:t{this._tokenizationSupports.get(f)===_&&(this._tokenizationSupports.delete(f),this.handleChange([f]))})}get(f){return this._tokenizationSupports.get(f)||null}registerFactory(f,_){var g;(g=this._factories.get(f))===null||g===void 0||g.dispose();const C=new D(this,f,_);return this._factories.set(f,C),(0,k.toDisposable)(()=>{const s=this._factories.get(f);!s||s!==C||(this._factories.delete(f),s.dispose())})}getOrCreate(f){return we(this,void 0,void 0,function*(){const _=this.get(f);if(_)return _;const g=this._factories.get(f);return!g||g.isResolved?null:(yield g.resolve(),this.get(f))})}isResolved(f){if(this.get(f))return!0;const g=this._factories.get(f);return!!(!g||g.isResolved)}setColorMap(f){this._colorMap=f,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}e.TokenizationRegistry=y;class D extends k.Disposable{get isResolved(){return this._isResolved}constructor(f,_,g){super(),this._registry=f,this._languageId=_,this._factory=g,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return we(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return we(this,void 0,void 0,function*(){const f=yield this._factory.tokenizationSupport;this._isResolved=!0,f&&!this._isDisposed&&this._register(this._registry.register(this._languageId,f))})}}}),define(ne[516],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokens=void 0;class L{get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}constructor(y,D){this._startLineNumber=y,this._tokens=D}getLineTokens(y){return this._tokens[y-this._startLineNumber]}appendLineTokens(y){this._tokens.push(y)}}e.ContiguousMultilineTokens=L}),define(ne[288],se([1,0,516]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokensBuilder=void 0;class k{constructor(){this._tokens=[]}add(D,S){if(this._tokens.length>0){const f=this._tokens[this._tokens.length-1];if(f.endLineNumber+1===D){f.appendLineTokens(S);return}}this._tokens.push(new L.ContiguousMultilineTokens(D,[S]))}finalize(){return this._tokens}}e.ContiguousMultilineTokensBuilder=k}),define(ne[86],se([1,0,124]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineTokens=void 0;class k{static createEmpty(S,f){const _=k.defaultTokenMetadata,g=new Uint32Array(2);return g[0]=S.length,g[1]=_,new k(g,S,f)}constructor(S,f,_){this._lineTokensBrand=void 0,this._tokens=S,this._tokensCount=this._tokens.length>>>1,this._text=f,this._languageIdCodec=_}equals(S){return S instanceof k?this.slicedEquals(S,0,this._tokensCount):!1}slicedEquals(S,f,_){if(this._text!==S._text||this._tokensCount!==S._tokensCount)return!1;const g=f<<1,C=g+(_<<1);for(let s=g;s0?this._tokens[S-1<<1]:0}getMetadata(S){return this._tokens[(S<<1)+1]}getLanguageId(S){const f=this._tokens[(S<<1)+1],_=L.TokenMetadata.getLanguageId(f);return this._languageIdCodec.decodeLanguageId(_)}getStandardTokenType(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getTokenType(f)}getForeground(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getForeground(f)}getClassName(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getClassNameFromMetadata(f)}getInlineStyle(S,f){const _=this._tokens[(S<<1)+1];return L.TokenMetadata.getInlineStyleFromMetadata(_,f)}getPresentation(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getPresentationFromMetadata(f)}getEndOffset(S){return this._tokens[S<<1]}findTokenIndexAtOffset(S){return k.findIndexInTokensArray(this._tokens,S)}inflate(){return this}sliceAndInflate(S,f,_){return new y(this,S,f,_)}static convertToEndOffset(S,f){const g=(S.length>>>1)-1;for(let C=0;C>>1)-1;for(;_f&&(g=C)}return _}withInserted(S){if(S.length===0)return this;let f=0,_=0,g="";const C=new Array;let s=0;for(;;){const i=fs){g+=this._text.substring(s,n.offset);const t=this._tokens[(f<<1)+1];C.push(g.length,t),s=n.offset}g+=n.text,C.push(g.length,n.tokenMetadata),_++}else break}return new k(new Uint32Array(C),g,this._languageIdCodec)}}e.LineTokens=k,k.defaultTokenMetadata=(0<<11|1<<15|2<<24)>>>0;class y{constructor(S,f,_,g){this._source=S,this._startOffset=f,this._endOffset=_,this._deltaOffset=g,this._firstTokenIndex=S.findTokenIndexAtOffset(f),this._tokensCount=0;for(let C=this._firstTokenIndex,s=S.getCount();C=_);C++)this._tokensCount++}getMetadata(S){return this._source.getMetadata(this._firstTokenIndex+S)}getLanguageId(S){return this._source.getLanguageId(this._firstTokenIndex+S)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(S){return S instanceof y?this._startOffset===S._startOffset&&this._endOffset===S._endOffset&&this._deltaOffset===S._deltaOffset&&this._source.slicedEquals(S._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(S){return this._source.getForeground(this._firstTokenIndex+S)}getEndOffset(S){const f=this._source.getEndOffset(this._firstTokenIndex+S);return Math.min(this._endOffset,f)-this._startOffset+this._deltaOffset}getClassName(S){return this._source.getClassName(this._firstTokenIndex+S)}getInlineStyle(S,f){return this._source.getInlineStyle(this._firstTokenIndex+S,f)}getPresentation(S){return this._source.getPresentation(this._firstTokenIndex+S)}findTokenIndexAtOffset(S){return this._source.findTokenIndexAtOffset(S+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),define(ne[517],se([1,0,86]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toUint32Array=e.ContiguousTokensEditing=e.EMPTY_LINE_TOKENS=void 0,e.EMPTY_LINE_TOKENS=new Uint32Array(0).buffer;class k{static deleteBeginning(S,f){return S===null||S===e.EMPTY_LINE_TOKENS?S:k.delete(S,0,f)}static deleteEnding(S,f){if(S===null||S===e.EMPTY_LINE_TOKENS)return S;const _=y(S),g=_[_.length-2];return k.delete(S,f,g)}static delete(S,f,_){if(S===null||S===e.EMPTY_LINE_TOKENS||f===_)return S;const g=y(S),C=g.length>>>1;if(f===0&&g[g.length-2]===_)return e.EMPTY_LINE_TOKENS;const s=L.LineTokens.findIndexInTokensArray(g,f),i=s>0?g[s-1<<1]:0,n=g[s<<1];if(_a&&(g[t++]=c,g[t++]=g[(r<<1)+1],a=c)}if(t===g.length)return S;const h=new Uint32Array(t);return h.set(g.subarray(0,t),0),h.buffer}static append(S,f){if(f===e.EMPTY_LINE_TOKENS)return S;if(S===e.EMPTY_LINE_TOKENS)return f;if(S===null)return S;if(f===null)return null;const _=y(S),g=y(f),C=g.length>>>1,s=new Uint32Array(_.length+g.length);s.set(_,0);let i=_.length;const n=_[_.length-2];for(let t=0;t>>1;let s=L.LineTokens.findIndexInTokensArray(g,f);s>0&&g[s-1<<1]===f&&s--;for(let i=s;i0}getTokens(C,s,i){let n=null;if(s1&&(t=S.TokenMetadata.getLanguageId(n[1])!==C),!t)return y.EMPTY_LINE_TOKENS}if(!n||n.length===0){const t=new Uint32Array(2);return t[0]=s,t[1]=_(C),t.buffer}return n[n.length-2]=s,n.byteOffset===0&&n.byteLength===n.buffer.byteLength?n.buffer:n}_ensureLine(C){for(;C>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(C,s){s!==0&&(C+s>this._len&&(s=this._len-C),this._lineTokens.splice(C,s),this._len-=s)}_insertLines(C,s){if(s===0)return;const i=[];for(let n=0;n=this._len)return;if(C.startLineNumber===C.endLineNumber){if(C.startColumn===C.endColumn)return;this._lineTokens[s]=y.ContiguousTokensEditing.delete(this._lineTokens[s],C.startColumn-1,C.endColumn-1);return}this._lineTokens[s]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[s],C.startColumn-1);const i=C.endLineNumber-1;let n=null;i=this._len)){if(s===0){this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i);return}this._lineTokens[n]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[n],C.column-1),this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i),this._insertLines(C.lineNumber,s)}}setMultilineTokens(C,s){if(C.length===0)return{changes:[]};const i=[];for(let n=0,t=C.length;n>>0}}),define(ne[519],se([1,0,12,5,122]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SparseLineTokens=e.SparseMultilineTokens=void 0;class D{static create(g,C){return new D(g,new S(C))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(g,C){this._startLineNumber=g,this._tokens=C,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(g){return this._startLineNumber<=g&&g<=this._endLineNumber?this._tokens.getLineTokens(g-this._startLineNumber):null}getRange(){const g=this._tokens.getRange();return g&&new k.Range(this._startLineNumber+g.startLineNumber,g.startColumn,this._startLineNumber+g.endLineNumber,g.endColumn)}removeTokens(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(C,g.startColumn-1,s,g.endColumn-1),this._updateEndLineNumber()}split(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber,[i,n,t]=this._tokens.split(C,g.startColumn-1,s,g.endColumn-1);return[new D(this._startLineNumber,i),new D(this._startLineNumber+t,n)]}applyEdit(g,C){const[s,i,n]=(0,y.countEOL)(C);this.acceptEdit(g,s,i,n,C.length>0?C.charCodeAt(0):0)}acceptEdit(g,C,s,i,n){this._acceptDeleteRange(g),this._acceptInsertText(new L.Position(g.startLineNumber,g.startColumn),C,s,i,n),this._updateEndLineNumber()}_acceptDeleteRange(g){if(g.startLineNumber===g.endLineNumber&&g.startColumn===g.endColumn)return;const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;if(s<0){const n=s-C;this._startLineNumber-=n;return}const i=this._tokens.getMaxDeltaLine();if(!(C>=i+1)){if(C<0&&s>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(C<0){const n=-C;this._startLineNumber-=n,this._tokens.acceptDeleteRange(g.startColumn-1,0,0,s,g.endColumn-1)}else this._tokens.acceptDeleteRange(0,C,g.startColumn-1,s,g.endColumn-1)}}_acceptInsertText(g,C,s,i,n){if(C===0&&s===0)return;const t=g.lineNumber-this._startLineNumber;if(t<0){this._startLineNumber+=C;return}const a=this._tokens.getMaxDeltaLine();t>=a+1||this._tokens.acceptInsertText(t,g.column-1,C,s,i,n)}}e.SparseMultilineTokens=D;class S{constructor(g){this._tokens=g,this._tokenCount=g.length/4}toString(g){const C=[];for(let s=0;sg)s=i-1;else{let t=i;for(;t>C&&this._getDeltaLine(t-1)===g;)t--;let a=i;for(;ag||o===g&&l>=C)&&(og||l===g&&m>=C){if(ln?p-=n-s:p=s;else if(d===C&&l===s)if(d===i&&p>n)p-=n-s;else{r=!0;continue}else if(dn)d=C,l=s,p=l+(p-n);else{r=!0;continue}else if(d>i){if(u===0&&!r){h=a;break}d-=u}else if(d===i&&l>=n)g&&d===0&&(l+=g,p+=g),d-=u,l-=n-s,p-=n-s;else throw new Error("Not possible!");const v=4*h;t[v]=d,t[v+1]=l,t[v+2]=p,t[v+3]=m,h++}this._tokenCount=h}acceptInsertText(g,C,s,i,n,t){const a=s===0&&i===1&&(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122),u=this._tokens,h=this._tokenCount;for(let r=0;r0){const C=f[0].getRange(),s=f[f.length-1].getRange();if(!C||!s)return S;_=S.plusRange(C).plusRange(s)}let g=null;for(let C=0,s=this._pieces.length;C_.endLineNumber){g=g||{index:C};break}if(i.removeTokens(_),i.isEmpty()){this._pieces.splice(C,1),C--,s--;continue}if(i.endLineNumber<_.startLineNumber)continue;if(i.startLineNumber>_.endLineNumber){g=g||{index:C};continue}const[n,t]=i.split(_);if(n.isEmpty()){g=g||{index:C};continue}t.isEmpty()||(this._pieces.splice(C,1,n,t),C++,s++,g=g||{index:C})}return g=g||{index:this._pieces.length},f.length>0&&(this._pieces=L.arrayInsert(this._pieces,g.index,f)),_}isComplete(){return this._isComplete}addSparseTokens(S,f){if(f.getLineContent().length===0)return f;const _=this._pieces;if(_.length===0)return f;const g=y._findFirstPieceWithLine(_,S),C=_[g].getLineTokens(S);if(!C)return f;const s=f.getCount(),i=C.getCount();let n=0;const t=[];let a=0,u=0;const h=(r,c)=>{r!==u&&(u=r,t[a++]=r,t[a++]=c)};for(let r=0;r>>0,p=~l>>>0;for(;nf)g=C-1;else{for(;C>_&&S[C-1].startLineNumber<=f&&f<=S[C-1].endLineNumber;)C--;return C}}return _}acceptEdit(S,f,_,g,C){for(const s of this._pieces)s.acceptEdit(S,f,_,g,C)}}e.SparseTokensStore=y}),define(ne[150],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEventHandler=void 0;class k extends L.Disposable{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(D){return!1}onCompositionEnd(D){return!1}onConfigurationChanged(D){return!1}onCursorStateChanged(D){return!1}onDecorationsChanged(D){return!1}onFlushed(D){return!1}onFocusChanged(D){return!1}onLanguageConfigurationChanged(D){return!1}onLineMappingChanged(D){return!1}onLinesChanged(D){return!1}onLinesDeleted(D){return!1}onLinesInserted(D){return!1}onRevealRangeRequest(D){return!1}onScrollChanged(D){return!1}onThemeChanged(D){return!1}onTokensChanged(D){return!1}onTokensColorsChanged(D){return!1}onZonesChanged(D){return!1}handleEvents(D){let S=!1;for(let f=0,_=D.length;f<_;f++){const g=D[f];switch(g.type){case 0:this.onCompositionStart(g)&&(S=!0);break;case 1:this.onCompositionEnd(g)&&(S=!0);break;case 2:this.onConfigurationChanged(g)&&(S=!0);break;case 3:this.onCursorStateChanged(g)&&(S=!0);break;case 4:this.onDecorationsChanged(g)&&(S=!0);break;case 5:this.onFlushed(g)&&(S=!0);break;case 6:this.onFocusChanged(g)&&(S=!0);break;case 7:this.onLanguageConfigurationChanged(g)&&(S=!0);break;case 8:this.onLineMappingChanged(g)&&(S=!0);break;case 9:this.onLinesChanged(g)&&(S=!0);break;case 10:this.onLinesDeleted(g)&&(S=!0);break;case 11:this.onLinesInserted(g)&&(S=!0);break;case 12:this.onRevealRangeRequest(g)&&(S=!0);break;case 13:this.onScrollChanged(g)&&(S=!0);break;case 15:this.onTokensChanged(g)&&(S=!0);break;case 14:this.onThemeChanged(g)&&(S=!0);break;case 16:this.onTokensColorsChanged(g)&&(S=!0);break;case 17:this.onZonesChanged(g)&&(S=!0);break;default:console.info("View received unknown event: "),console.info(g)}}S&&(this._shouldRender=!0)}}e.ViewEventHandler=k}),define(ne[112],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicViewOverlay=void 0;class k extends L.ViewEventHandler{}e.DynamicViewOverlay=k}),define(ne[53],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartFingerprints=e.ViewPart=void 0;class k extends L.ViewEventHandler{constructor(S){super(),this._context=S,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}e.ViewPart=k;class y{static write(S,f){S.setAttribute("data-mprt",String(f))}static read(S){const f=S.getAttribute("data-mprt");return f===null?0:parseInt(f,10)}static collect(S,f){const _=[];let g=0;for(;S&&S!==document.body&&S!==f;)S.nodeType===S.ELEMENT_NODE&&(_[g++]=this.read(S)),S=S.parentElement;const C=new Uint8Array(g);for(let s=0;s{if(t.options.zIndexa.options.zIndex)return 1;const u=t.options.className,h=a.options.className;return uh?1:y.Range.compareRangesUsingStarts(t.range,a.range)});const s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber,n=[];for(let t=s;t<=i;t++){const a=t-s;n[a]=""}this._renderWholeLineDecorations(f,g,n),this._renderNormalDecorations(f,g,n),this._renderResult=n}_renderWholeLineDecorations(f,_,g){const C=String(this._lineHeight),s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber;for(let n=0,t=_.length;n',h=Math.max(a.range.startLineNumber,s),r=Math.min(a.range.endLineNumber,i);for(let c=h;c<=r;c++){const o=c-s;g[o]+=u}}}_renderNormalDecorations(f,_,g){var C;const s=String(this._lineHeight),i=f.visibleRange.startLineNumber;let n=null,t=!1,a=null,u=!1;for(let h=0,r=_.length;h';t[c]+=m}}}render(f,_){if(!this._renderResult)return"";const g=_-f;return g<0||g>=this._renderResult.length?"":this._renderResult[g]}}e.DecorationsOverlay=D}),define(ne[210],se([1,0,35,14,112,53,5,418]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphMarginWidgets=e.DedupOverlay=e.VisibleLineDecorationsToRender=e.LineDecorationToRender=e.DecorationToRender=void 0;class f{constructor(u,h,r,c){this._decorationToRenderBrand=void 0,this.startLineNumber=+u,this.endLineNumber=+h,this.className=String(r),this.zIndex=c??0}}e.DecorationToRender=f;class _{constructor(u,h){this.className=u,this.zIndex=h}}e.LineDecorationToRender=_;class g{constructor(){this.decorations=[]}add(u){this.decorations.push(u)}getDecorations(){return this.decorations}}e.VisibleLineDecorationsToRender=g;class C extends y.DynamicViewOverlay{_render(u,h,r){const c=[];for(let l=u;l<=h;l++){const p=l-u;c[p]=new g}if(r.length===0)return c;r.sort((l,p)=>l.className===p.className?l.startLineNumber===p.startLineNumber?l.endLineNumber-p.endLineNumber:l.startLineNumber-p.startLineNumber:l.classNamec)continue;const l=Math.max(d.startLineNumber,r),p=Math.min(o.preference.lane,this._glyphMarginDecorationLaneCount);h.push(new n(l,p,o.preference.zIndex,o))}}_collectSortedGlyphRenderRequests(u){const h=[];return this._collectDecorationBasedGlyphRenderRequest(u,h),this._collectWidgetBasedGlyphRenderRequest(u,h),h.sort((r,c)=>r.lineNumber===c.lineNumber?r.lane===c.lane?r.zIndex===c.zIndex?c.type===r.type?r.type===0&&c.type===0?r.className0;){const c=h.peek();if(!c)break;const o=h.takeWhile(l=>l.lineNumber===c.lineNumber&&l.lane===c.lane);if(!o||o.length===0)break;const d=o[0];if(d.type===0){const l=[];for(const p of o){if(p.zIndex!==d.zIndex||p.type!==d.type)break;(l.length===0||l[l.length-1]!==p.className)&&l.push(p.className)}r.push(d.accept(l.join(" ")))}else d.widget.renderInfo={lineNumber:d.lineNumber,lane:d.lane}}this._decorationGlyphsToRender=r}render(u){if(!this._glyphMargin){for(const r of Object.values(this._widgets))r.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){const r=this._managedDomNodes.pop();r?.domNode.remove()}return}const h=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(const r of Object.values(this._widgets))if(!r.renderInfo)r.domNode.setDisplay("none");else{const c=u.viewportData.relativeVerticalOffset[r.renderInfo.lineNumber-u.viewportData.startLineNumber],o=this._glyphMarginLeft+(r.renderInfo.lane-1)*this._lineHeight;r.domNode.setDisplay("block"),r.domNode.setTop(c),r.domNode.setLeft(o),r.domNode.setWidth(h),r.domNode.setHeight(this._lineHeight)}for(let r=0;rthis._decorationGlyphsToRender.length;){const r=this._managedDomNodes.pop();r?.domNode.remove()}}}e.GlyphMarginWidgets=s;class i{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.className=c,this.type=0}accept(u){return new t(this.lineNumber,this.lane,u)}}class n{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.widget=c,this.type=1}}class t{constructor(u,h,r){this.lineNumber=u,this.lane=h,this.combinedClassName=r}}}),define(ne[523],se([1,0,210,422]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesDecorationsOverlay=void 0;class k extends L.DedupOverlay{constructor(D){super(),this._context=D;const f=this._context.configuration.options.get(142);this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(D){const f=this._context.configuration.options.get(142);return this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,!0}onDecorationsChanged(D){return!0}onFlushed(D){return!0}onLinesChanged(D){return!0}onLinesDeleted(D){return!0}onLinesInserted(D){return!0}onScrollChanged(D){return D.scrollTopChanged}onZonesChanged(D){return!0}_getDecorations(D){const S=D.getDecorationsInViewport(),f=[];let _=0;for(let g=0,C=S.length;g',i=[];for(let n=S;n<=f;n++){const t=n-S,a=_[t].getDecorations();let u="";for(const h of a)u+='
    ';g[s]=n}this._renderResult=g}render(D,S){return this._renderResult?this._renderResult[S-D]:""}}e.MarginViewLineDecorationsOverlay=k}),define(ne[525],se([1,0,35,53,426]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewOverlayWidgets=void 0;class y extends k.ViewPart{constructor(S){super(S);const _=this._context.configuration.options.get(142);this._widgets={},this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),k.PartFingerprints.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(S){const _=this._context.configuration.options.get(142);return this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,!0}addWidget(S){const f=(0,L.createFastDomNode)(S.getDomNode());this._widgets[S.getId()]={widget:S,preference:null,domNode:f},f.setPosition("absolute"),f.setAttribute("widgetId",S.getId()),this._domNode.appendChild(f),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(S,f){const _=this._widgets[S.getId()];return _.preference===f?(this._updateMaxMinWidth(),!1):(_.preference=f,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(S){const f=S.getId();if(this._widgets.hasOwnProperty(f)){const g=this._widgets[f].domNode.domNode;delete this._widgets[f],g.parentNode.removeChild(g),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var S,f;let _=0;const g=Object.keys(this._widgets);for(let C=0,s=g.length;C0;){const i=(0,L.createFastDomNode)(document.createElement("div"));i.setClassName("view-ruler"),i.setWidth(C),this.domNode.appendChild(i),this._renderedRulers.push(i),s--}return}let _=S-f;for(;_>0;){const g=this._renderedRulers.pop();this.domNode.removeChild(g),_--}}render(S){this._ensureRulersCount();for(let f=0,_=this._rulers.length;f<_;f++){const g=this._renderedRulers[f],C=this._rulers[f];g.setBoxShadow(C.color?`1px 0 0 0 ${C.color} inset`:""),g.setHeight(Math.min(S.scrollHeight,1e6)),g.setLeft(C.column*this._typicalHalfwidthCharacterWidth)}}}e.Rulers=y}),define(ne[527],se([1,0,35,53,428]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollDecorationViewPart=void 0;class y extends k.ViewPart{constructor(S){super(S),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const _=this._context.configuration.options.get(101);this._useShadows=_.useShadows,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const S=this._useShadows&&this._scrollTop>0;return this._shouldShow!==S?(this._shouldShow=S,!0):!1}getDomNode(){return this._domNode}_updateWidth(){const f=this._context.configuration.options.get(142);f.minimap.renderMinimap===0||f.minimap.minimapWidth>0&&f.minimap.minimapLeft===0?this._width=f.width:this._width=f.width-f.verticalScrollbarWidth}onConfigurationChanged(S){const _=this._context.configuration.options.get(101);return this._useShadows=_.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(S){return this._scrollTop=S.scrollTop,this._updateShouldShow()}prepareRender(S){}render(S){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}e.ScrollDecorationViewPart=y}),define(ne[528],se([1,0,35,9,53,12]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZones=void 0;const S=()=>{throw new Error("Invalid change accessor")};class f extends y.ViewPart{constructor(C){super(C);const s=this._context.configuration.options,i=s.get(142);this._lineHeight=s.get(65),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,L.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,L.createFastDomNode)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const C=this._context.viewLayout.getWhitespaces(),s=new Map;for(const n of C)s.set(n.id,n);let i=!1;return this._context.viewModel.changeWhitespace(n=>{const t=Object.keys(this._zones);for(let a=0,u=t.length;a{const n={addZone:t=>(s=!0,this._addZone(i,t)),removeZone:t=>{t&&(s=this._removeZone(i,t)||s)},layoutZone:t=>{t&&(s=this._layoutZone(i,t)||s)}};_(C,n),n.addZone=S,n.removeZone=S,n.layoutZone=S}),s}_addZone(C,s){const i=this._computeWhitespaceProps(s),t={whitespaceId:C.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(s),i.heightInPx,i.minWidthInPx),delegate:s,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,L.createFastDomNode)(s.domNode),marginDomNode:s.marginDomNode?(0,L.createFastDomNode)(s.marginDomNode):null};return this._safeCallOnComputedHeight(t.delegate,i.heightInPx),t.domNode.setPosition("absolute"),t.domNode.domNode.style.width="100%",t.domNode.setDisplay("none"),t.domNode.setAttribute("monaco-view-zone",t.whitespaceId),this.domNode.appendChild(t.domNode),t.marginDomNode&&(t.marginDomNode.setPosition("absolute"),t.marginDomNode.domNode.style.width="100%",t.marginDomNode.setDisplay("none"),t.marginDomNode.setAttribute("monaco-view-zone",t.whitespaceId),this.marginDomNode.appendChild(t.marginDomNode)),this._zones[t.whitespaceId]=t,this.setShouldRender(),t.whitespaceId}_removeZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s];return delete this._zones[s],C.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,C.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(C){return this._zones.hasOwnProperty(C)?!!this._zones[C].delegate.suppressMouseDown:!1}_heightInPixels(C){return typeof C.heightInPx=="number"?C.heightInPx:typeof C.heightInLines=="number"?this._lineHeight*C.heightInLines:this._lineHeight}_minWidthInPixels(C){return typeof C.minWidthInPx=="number"?C.minWidthInPx:0}_safeCallOnComputedHeight(C,s){if(typeof C.onComputedHeight=="function")try{C.onComputedHeight(s)}catch(i){(0,k.onUnexpectedError)(i)}}_safeCallOnDomNodeTop(C,s){if(typeof C.onDomNodeTop=="function")try{C.onDomNodeTop(s)}catch(i){(0,k.onUnexpectedError)(i)}}prepareRender(C){}render(C){const s=C.viewportData.whitespaceViewportData,i={};let n=!1;for(const a of s)this._zones[a.id].isInHiddenArea||(i[a.id]=a,n=!0);const t=Object.keys(this._zones);for(let a=0,u=t.length;a=i||(t[a++]=new k(Math.max(1,u.startColumn-s+1),Math.min(n+1,u.endColumn-s+1),u.className,u.type));return t}static filter(_,g,C,s){if(_.length===0)return[];const i=[];let n=0;for(let t=0,a=_.length;tg||h.isEmpty()&&(u.type===0||u.type===3))continue;const r=h.startLineNumber===g?h.startColumn:C,c=h.endLineNumber===g?h.endColumn:s;i[n++]=new k(r,c,u.inlineClassName,u.type)}return i}static _typeCompare(_,g){const C=[2,0,1,3];return C[_]-C[g]}static compare(_,g){if(_.startColumn!==g.startColumn)return _.startColumn-g.startColumn;if(_.endColumn!==g.endColumn)return _.endColumn-g.endColumn;const C=k._typeCompare(_.type,g.type);return C!==0?C:_.className!==g.className?_.className0&&this.stopOffsets[0]<_;){let s=0;for(;s+10&&g<_&&(C.push(new y(g,_-1,this.classNames.join(" "),D._metadata(this.metadata))),g=_),g}insert(_,g,C){if(this.count===0||this.stopOffsets[this.count-1]<=_)this.stopOffsets.push(_),this.classNames.push(g),this.metadata.push(C);else for(let s=0;s=_){this.stopOffsets.splice(s,0,_),this.classNames.splice(s,0,g),this.metadata.splice(s,0,C);break}this.count++}}class S{static normalize(_,g){if(g.length===0)return[];const C=[],s=new D;let i=0;for(let n=0,t=g.length;n1){const l=_.charCodeAt(u-2);L.isHighSurrogate(l)&&u--}if(h>1){const l=_.charCodeAt(h-2);L.isHighSurrogate(l)&&h--}const o=u-1,d=h-2;i=s.consumeLowerThan(o,i,C),s.count===0&&(i=o),s.insert(d,r,c)}return s.consumeLowerThan(1073741824,i,C),C}}e.LineDecorationsNormalizer=S}),define(ne[529],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinePart=void 0;class L{constructor(y,D,S,f){this.endIndex=y,this.type=D,this.metadata=S,this.containsRTL=f,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}e.LinePart=L}),define(ne[530],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesLayout=e.EditorWhitespace=void 0;class k{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(f){this._hasPending=!0,this._inserts.push(f)}change(f){this._hasPending=!0,this._changes.push(f)}remove(f){this._hasPending=!0,this._removes.push(f)}mustCommit(){return this._hasPending}commit(f){if(!this._hasPending)return;const _=this._inserts,g=this._changes,C=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],f._commitPendingChanges(_,g,C)}}class y{constructor(f,_,g,C,s){this.id=f,this.afterLineNumber=_,this.ordinal=g,this.height=C,this.minWidth=s,this.prefixSum=0}}e.EditorWhitespace=y;class D{constructor(f,_,g,C){this._instanceId=L.singleLetterHash(++D.INSTANCE_COUNT),this._pendingChanges=new k,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=f,this._lineHeight=_,this._paddingTop=g,this._paddingBottom=C}static findInsertionIndex(f,_,g){let C=0,s=f.length;for(;C>>1;_===f[i].afterLineNumber?g{_=!0,C=C|0,s=s|0,i=i|0,n=n|0;const t=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new y(t,C,s,i,n)),t},changeOneWhitespace:(C,s,i)=>{_=!0,s=s|0,i=i|0,this._pendingChanges.change({id:C,newAfterLineNumber:s,newHeight:i})},removeWhitespace:C=>{_=!0,this._pendingChanges.remove({id:C})}})}finally{this._pendingChanges.commit(this)}return _}_commitPendingChanges(f,_,g){if((f.length>0||g.length>0)&&(this._minWidth=-1),f.length+_.length+g.length<=1){for(const t of f)this._insertWhitespace(t);for(const t of _)this._changeOneWhitespace(t.id,t.newAfterLineNumber,t.newHeight);for(const t of g){const a=this._findWhitespaceIndex(t.id);a!==-1&&this._removeWhitespace(a)}return}const C=new Set;for(const t of g)C.add(t.id);const s=new Map;for(const t of _)s.set(t.id,t);const i=t=>{const a=[];for(const u of t)if(!C.has(u.id)){if(s.has(u.id)){const h=s.get(u.id);u.afterLineNumber=h.newAfterLineNumber,u.height=h.newHeight}a.push(u)}return a},n=i(this._arr).concat(i(f));n.sort((t,a)=>t.afterLineNumber===a.afterLineNumber?t.ordinal-a.ordinal:t.afterLineNumber-a.afterLineNumber),this._arr=n,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(f){const _=D.findInsertionIndex(this._arr,f.afterLineNumber,f.ordinal);this._arr.splice(_,0,f),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,_-1)}_findWhitespaceIndex(f){const _=this._arr;for(let g=0,C=_.length;g_&&(this._arr[g].afterLineNumber-=_-f+1)}}onLinesInserted(f,_){this._checkPendingChanges(),f=f|0,_=_|0,this._lineCount+=_-f+1;for(let g=0,C=this._arr.length;g=_.length||_[n+1].afterLineNumber>=f)return n;g=n+1|0}else C=n-1|0}return-1}_findFirstWhitespaceAfterLineNumber(f){f=f|0;const g=this._findLastWhitespaceBeforeLineNumber(f)+1;return g1?g=this._lineHeight*(f-1):g=0;const C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f-(_?1:0));return g+C+this._paddingTop}getVerticalOffsetAfterLineNumber(f,_=!1){this._checkPendingChanges(),f=f|0;const g=this._lineHeight*f,C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f+(_?1:0));return g+C+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let f=0;for(let _=0,g=this._arr.length;__}isInTopPadding(f){return this._paddingTop===0?!1:(this._checkPendingChanges(),f=_-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(f){if(this._checkPendingChanges(),f=f|0,f<0)return 1;const _=this._lineCount|0,g=this._lineHeight;let C=1,s=_;for(;C=n+g)C=i+1;else{if(f>=n)return i;s=i}}return C>_?_:C}getLinesViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this._lineHeight,C=this.getLineNumberAtOrAfterVerticalOffset(f)|0,s=this.getVerticalOffsetForLineNumber(C)|0;let i=this._lineCount|0,n=this.getFirstWhitespaceIndexAfterLineNumber(C)|0;const t=this.getWhitespacesCount()|0;let a,u;n===-1?(n=t,u=i+1,a=0):(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);let h=s,r=h;const c=5e5;let o=0;s>=c&&(o=Math.floor(s/c)*c,o=Math.floor(o/g)*g,r-=o);const d=[],l=f+(_-f)/2;let p=-1;for(let w=C;w<=i;w++){if(p===-1){const E=h,I=h+g;(E<=l&&ll)&&(p=w)}for(h+=g,d[w-C]=r,r+=g;u===w;)r+=a,h+=a,n++,n>=t?u=i+1:(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);if(h>=_){i=w;break}}p===-1&&(p=i);const m=this.getVerticalOffsetForLineNumber(i)|0;let v=C,b=i;return v_&&b--,{bigNumbersDelta:o,startLineNumber:C,endLineNumber:i,relativeVerticalOffset:d,centeredLineNumber:p,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:b}}getVerticalOffsetForWhitespaceIndex(f){this._checkPendingChanges(),f=f|0;const _=this.getAfterLineNumberForWhitespaceIndex(f);let g;_>=1?g=this._lineHeight*_:g=0;let C;return f>0?C=this.getWhitespacesAccumulatedHeight(f-1):C=0,g+C+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(f){this._checkPendingChanges(),f=f|0;let _=0,g=this.getWhitespacesCount()-1;if(g<0)return-1;const C=this.getVerticalOffsetForWhitespaceIndex(g),s=this.getHeightForWhitespaceIndex(g);if(f>=C+s)return-1;for(;_=n+t)_=i+1;else{if(f>=n)return i;g=i}}return _}getWhitespaceAtVerticalOffset(f){this._checkPendingChanges(),f=f|0;const _=this.getWhitespaceIndexAtOrAfterVerticallOffset(f);if(_<0||_>=this.getWhitespacesCount())return null;const g=this.getVerticalOffsetForWhitespaceIndex(_);if(g>f)return null;const C=this.getHeightForWhitespaceIndex(_),s=this.getIdForWhitespaceIndex(_),i=this.getAfterLineNumberForWhitespaceIndex(_);return{id:s,afterLineNumber:i,verticalOffset:g,height:C}}getWhitespaceViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this.getWhitespaceIndexAtOrAfterVerticallOffset(f),C=this.getWhitespacesCount()-1;if(g<0)return[];const s=[];for(let i=g;i<=C;i++){const n=this.getVerticalOffsetForWhitespaceIndex(i),t=this.getHeightForWhitespaceIndex(i);if(n>=_)break;s.push({id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:n,height:t})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].id}getAfterLineNumberForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].afterLineNumber}getHeightForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].height}}e.LinesLayout=D,D.INSTANCE_COUNT=0}),define(ne[531],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportData=void 0;class k{constructor(D,S,f,_){this.selections=D,this.startLineNumber=S.startLineNumber|0,this.endLineNumber=S.endLineNumber|0,this.relativeVerticalOffset=S.relativeVerticalOffset,this.bigNumbersDelta=S.bigNumbersDelta|0,this.whitespaceViewportData=f,this._model=_,this.visibleRange=new L.Range(S.startLineNumber,this._model.getLineMinColumn(S.startLineNumber),S.endLineNumber,this._model.getLineMaxColumn(S.endLineNumber))}getViewLineRenderingData(D){return this._model.getViewportViewLineRenderingData(this.visibleRange,D)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}e.ViewportData=k}),define(ne[67],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerDecorationsGroup=e.ViewModelDecoration=e.SingleLineInlineDecoration=e.InlineDecoration=e.ViewLineRenderingData=e.ViewLineData=e.MinimapLinesRenderingData=e.Viewport=void 0;class y{constructor(n,t,a,u){this._viewportBrand=void 0,this.top=n|0,this.left=t|0,this.width=a|0,this.height=u|0}}e.Viewport=y;class D{constructor(n,t){this.tabSize=n,this.data=t}}e.MinimapLinesRenderingData=D;class S{constructor(n,t,a,u,h,r,c){this._viewLineDataBrand=void 0,this.content=n,this.continuesWithWrappedLine=t,this.minColumn=a,this.maxColumn=u,this.startVisibleColumn=h,this.tokens=r,this.inlineDecorations=c}}e.ViewLineData=S;class f{constructor(n,t,a,u,h,r,c,o,d,l){this.minColumn=n,this.maxColumn=t,this.content=a,this.continuesWithWrappedLine=u,this.isBasicASCII=f.isBasicASCII(a,r),this.containsRTL=f.containsRTL(a,this.isBasicASCII,h),this.tokens=c,this.inlineDecorations=o,this.tabSize=d,this.startVisibleColumn=l}static isBasicASCII(n,t){return t?L.isBasicASCII(n):!0}static containsRTL(n,t,a){return!t&&a?L.containsRTL(n):!1}}e.ViewLineRenderingData=f;class _{constructor(n,t,a){this.range=n,this.inlineClassName=t,this.type=a}}e.InlineDecoration=_;class g{constructor(n,t,a,u){this.startOffset=n,this.endOffset=t,this.inlineClassName=a,this.inlineClassNameAffectsLetterSpacing=u}toInlineDecoration(n){return new _(new k.Range(n,this.startOffset+1,n,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}e.SingleLineInlineDecoration=g;class C{constructor(n,t){this._viewModelDecorationBrand=void 0,this.range=n,this.options=t}}e.ViewModelDecoration=C;class s{constructor(n,t,a){this.color=n,this.zIndex=t,this.data=a}static cmp(n,t){return n.zIndex===t.zIndex?n.colort.color?1:0:n.zIndex-t.zIndex}}e.OverviewRulerDecorationsGroup=s}),define(ne[532],se([1,0,86,12,111,67]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createModelLineProjection=void 0;function S(n,t){return n===null?t?_.INSTANCE:g.INSTANCE:new f(n,t)}e.createModelLineProjection=S;class f{constructor(t,a){this._projectionData=t,this._isVisible=a}isVisible(){return this._isVisible}setVisible(t){return this._isVisible=t,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(t,a,u){this._assertVisible();const h=u>0?this._projectionData.breakOffsets[u-1]:0,r=this._projectionData.breakOffsets[u];let c;if(this._projectionData.injectionOffsets!==null){const o=this._projectionData.injectionOffsets.map((l,p)=>new y.LineInjectedText(0,0,l+1,this._projectionData.injectionOptions[p],0));c=y.LineInjectedText.applyInjectedText(t.getLineContent(a),o).substring(h,r)}else c=t.getValueInRange({startLineNumber:a,startColumn:h+1,endLineNumber:a,endColumn:r+1});return u>0&&(c=s(this._projectionData.wrappedTextIndentLength)+c),c}getViewLineLength(t,a,u){return this._assertVisible(),this._projectionData.getLineLength(u)}getViewLineMinColumn(t,a,u){return this._assertVisible(),this._projectionData.getMinOutputOffset(u)+1}getViewLineMaxColumn(t,a,u){return this._assertVisible(),this._projectionData.getMaxOutputOffset(u)+1}getViewLineData(t,a,u){const h=new Array;return this.getViewLinesData(t,a,u,1,0,[!0],h),h[0]}getViewLinesData(t,a,u,h,r,c,o){this._assertVisible();const d=this._projectionData,l=d.injectionOffsets,p=d.injectionOptions;let m=null;if(l){m=[];let b=0,w=0;for(let E=0;E0?d.breakOffsets[E-1]:0,P=d.breakOffsets[E];for(;wP)break;if(M0?d.wrappedTextIndentLength:0,O=F+Math.max(T-M,0),W=F+Math.min(A-M,P-M);O!==W&&I.push(new D.SingleLineInlineDecoration(O,W,N.inlineClassName,N.inlineClassNameAffectsLetterSpacing))}}if(A<=P)b+=x,w++;else break}}}let v;l?v=t.tokenization.getLineTokens(a).withInserted(l.map((b,w)=>({offset:b,text:p[w].content,tokenMetadata:L.LineTokens.defaultTokenMetadata}))):v=t.tokenization.getLineTokens(a);for(let b=u;b0?h.wrappedTextIndentLength:0,c=u>0?h.breakOffsets[u-1]:0,o=h.breakOffsets[u],d=t.sliceAndInflate(c,o,r);let l=d.getLineContent();u>0&&(l=s(h.wrappedTextIndentLength)+l);const p=this._projectionData.getMinOutputOffset(u)+1,m=l.length+1,v=u+1=C.length)for(let t=1;t<=n;t++)C[t]=i(t);return C[n]}function i(n){return new Array(n+1).join(" ")}}),define(ne[533],se([1,0,11,121,111,284]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MonospaceLineBreaksComputerFactory=void 0;class S{static create(h){return new S(h.get(131),h.get(130))}constructor(h,r){this.classifier=new f(h,r)}createLineBreaksComputer(h,r,c,o,d){const l=[],p=[],m=[];return{addRequest:(v,b,w)=>{l.push(v),p.push(b),m.push(w)},finalize:()=>{const v=h.typicalFullwidthCharacterWidth/h.typicalHalfwidthCharacterWidth,b=[];for(let w=0,E=l.length;w=0&&h<256?this._asciiMap[h]:h>=12352&&h<=12543||h>=13312&&h<=19903||h>=19968&&h<=40959?3:this._map.get(h)||this._defaultValue}}let _=[],g=[];function C(u,h,r,c,o,d,l,p){if(o===-1)return null;const m=r.length;if(m<=1)return null;const v=p==="keepAll",b=h.breakOffsets,w=h.breakOffsetsVisibleColumn,E=a(r,c,o,d,l),I=o-E,M=_,P=g;let x=0,T=0,A=0,N=o;const F=b.length;let O=0;if(O>=0){let W=Math.abs(w[O]-N);for(;O+1=W)break;W=U,O++}}for(;OW&&(W=T,U=A);let j=0,R=0,K=0,G=0;if(U<=N){let J=U,X=W===0?0:r.charCodeAt(W-1),H=W===0?0:u.get(X),B=!0;for(let V=W;VT&&t(X,H,ie,ae,v)&&(j=Y,R=J),J+=ce,J>N){Y>T?(K=Y,G=J-ce):(K=V+1,G=J),J-R>I&&(j=0),B=!1;break}X=ie,H=ae}if(B){x>0&&(M[x]=b[b.length-1],P[x]=w[b.length-1],x++);break}}if(j===0){let J=U,X=r.charCodeAt(W),H=u.get(X),B=!1;for(let V=W-1;V>=T;V--){const Y=V+1,ie=r.charCodeAt(V);if(ie===9){B=!0;break}let ae,ce;if(L.isLowSurrogate(ie)?(V--,ae=0,ce=2):(ae=u.get(ie),ce=L.isFullWidthCharacter(ie)?d:1),J<=N){if(K===0&&(K=Y,G=J),J<=N-I)break;if(t(ie,ae,X,H,v)){j=Y,R=J;break}}J-=ce,X=ie,H=ae}if(j!==0){const V=I-(G-R);if(V<=c){const Y=r.charCodeAt(K);let ie;L.isHighSurrogate(Y)?ie=2:ie=i(Y,G,c,d),V-ie<0&&(j=0)}}if(B){O--;continue}}if(j===0&&(j=K,R=G),j<=T){const J=r.charCodeAt(T);L.isHighSurrogate(J)?(j=T+2,R=A+2):(j=T+1,R=A+i(J,A,c,d))}for(T=j,M[x]=j,A=R,P[x]=R,x++,N=R+I;O<0||O=Z)break;Z=J,O++}}return x===0?null:(M.length=x,P.length=x,_=h.breakOffsets,g=h.breakOffsetsVisibleColumn,h.breakOffsets=M,h.breakOffsetsVisibleColumn=P,h.wrappedTextIndentLength=E,h)}function s(u,h,r,c,o,d,l,p){const m=y.LineInjectedText.applyInjectedText(h,r);let v,b;if(r&&r.length>0?(v=r.map(R=>R.options),b=r.map(R=>R.column-1)):(v=null,b=null),o===-1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const w=m.length;if(w<=1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const E=p==="keepAll",I=a(m,c,o,d,l),M=o-I,P=[],x=[];let T=0,A=0,N=0,F=o,O=m.charCodeAt(0),W=u.get(O),U=i(O,0,c,d),j=1;L.isHighSurrogate(O)&&(U+=1,O=m.charCodeAt(1),W=u.get(O),j++);for(let R=j;RF&&((A===0||U-N>M)&&(A=K,N=U-J),P[T]=A,x[T]=N,T++,F=N+M,A=0),O=G,W=Z}return T===0&&(!r||r.length===0)?null:(P[T]=w,x[T]=U,new D.ModelLineProjectionData(b,v,P,x,I))}function i(u,h,r,c){return u===9?r-h%r:L.isFullWidthCharacter(u)||u<32?c:1}function n(u,h){return h-u%h}function t(u,h,r,c,o){return r!==32&&(h===2&&c!==2||h!==1&&c===1||!o&&h===3&&c!==2||!o&&c===3&&h!==1)}function a(u,h,r,c,o){let d=0;if(o!==0){const l=L.firstNonWhitespaceIndex(u);if(l!==-1){for(let m=0;mr&&(d=0)}}return d}}),define(ne[212],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewZoneManager=e.OverviewRulerZone=e.ColorZone=void 0;class L{constructor(S,f,_){this._colorZoneBrand=void 0,this.from=S|0,this.to=f|0,this.colorId=_|0}static compare(S,f){return S.colorId===f.colorId?S.from===f.from?S.to-f.to:S.from-f.from:S.colorId-f.colorId}}e.ColorZone=L;class k{constructor(S,f,_,g){this._overviewRulerZoneBrand=void 0,this.startLineNumber=S,this.endLineNumber=f,this.heightInLines=_,this.color=g,this._colorZone=null}static compare(S,f){return S.color===f.color?S.startLineNumber===f.startLineNumber?S.heightInLines===f.heightInLines?S.endLineNumber-f.endLineNumber:S.heightInLines-f.heightInLines:S.startLineNumber-f.startLineNumber:S.color_&&(o=_-d);const l=a.color;let p=this._color2Id[l];p||(p=++this._lastAssignedId,this._color2Id[l]=p,this._id2Color[p]=l);const m=new L(o-d,o+d,p);a.setColorZone(m),i.push(m)}return this._colorZonesInvalid=!1,i.sort(L.compare),i}}e.OverviewZoneManager=y}),define(ne[534],se([1,0,35,212,150]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRuler=void 0;class D extends y.ViewEventHandler{constructor(f,_){super(),this._context=f;const g=this._context.configuration.options;this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName(_),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new k.OverviewZoneManager(C=>this._context.viewLayout.getVerticalOffsetForLineNumber(C)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(g.get(65)),this._zoneManager.setPixelRatio(g.get(140)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(f){const _=this._context.configuration.options;return f.hasChanged(65)&&(this._zoneManager.setLineHeight(_.get(65)),this._render()),f.hasChanged(140)&&(this._zoneManager.setPixelRatio(_.get(140)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(f){return this._render(),!0}onScrollChanged(f){return f.scrollHeightChanged&&(this._zoneManager.setOuterHeight(f.scrollHeight),this._render()),!0}onZonesChanged(f){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(f){this._domNode.setTop(f.top),this._domNode.setRight(f.right);let _=!1;_=this._zoneManager.setDOMWidth(f.width)||_,_=this._zoneManager.setDOMHeight(f.height)||_,_&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(f){this._zoneManager.setZones(f),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;const f=this._zoneManager.getCanvasWidth(),_=this._zoneManager.getCanvasHeight(),g=this._zoneManager.resolveColorZones(),C=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,f,_),g.length>0&&this._renderOneLane(s,g,C,f),!0}_renderOneLane(f,_,g,C){let s=0,i=0,n=0;for(const t of _){const a=t.colorId,u=t.from,h=t.to;a!==s?(f.fillRect(0,i,C,n-i),s=a,f.fillStyle=g[s],i=u,n=h):n>=u?n=Math.max(n,h):(f.fillRect(0,i,C,n-i),i=u,n=h)}f.fillRect(0,i,C,n-i)}}e.OverviewRuler=D}),define(ne[535],se([1,0,493]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContext=void 0;class k{constructor(D,S,f){this.configuration=D,this.theme=new L.EditorTheme(S),this.viewModel=f,this.viewLayout=f.viewLayout}addEventHandler(D){this.viewModel.addViewEventHandler(D)}removeEventHandler(D){this.viewModel.removeViewEventHandler(D)}}e.ViewContext=k}),define(ne[213],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ModelTokensChangedEvent=e.ModelOptionsChangedEvent=e.ModelContentChangedEvent=e.ModelLanguageConfigurationChangedEvent=e.ModelLanguageChangedEvent=e.ModelDecorationsChangedEvent=e.ReadOnlyEditAttemptEvent=e.CursorStateChangedEvent=e.HiddenAreasChangedEvent=e.ViewZonesChangedEvent=e.ScrollChangedEvent=e.FocusChangedEvent=e.ContentSizeChangedEvent=e.ViewModelEventsCollector=e.ViewModelEventDispatcher=void 0;class y extends k.Disposable{constructor(){super(),this._onEvent=this._register(new L.Emitter),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(o){this._addOutgoingEvent(o),this._emitOutgoingEvents()}_addOutgoingEvent(o){for(let d=0,l=this._outgoingEvents.length;d0;){if(this._collector||this._isConsumingViewEventQueue)return;const o=this._outgoingEvents.shift();o.isNoOp()||this._onEvent.fire(o)}}addViewEventHandler(o){for(let d=0,l=this._eventHandlers.length;d0&&this._emitMany(d)}this._emitOutgoingEvents()}emitSingleViewEvent(o){try{this.beginEmitViewEvents().emitViewEvent(o)}finally{this.endEmitViewEvents()}}_emitMany(o){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(o):this._viewEventQueue=o,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const o=this._viewEventQueue;this._viewEventQueue=null;const d=this._eventHandlers.slice(0);for(const l of d)l.handleEvents(o)}}}e.ViewModelEventDispatcher=y;class D{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(o){this.viewEvents.push(o)}emitOutgoingEvent(o){this.outgoingEvents.push(o)}}e.ViewModelEventsCollector=D;class S{constructor(o,d,l,p){this.kind=0,this._oldContentWidth=o,this._oldContentHeight=d,this.contentWidth=l,this.contentHeight=p,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(o){return o.kind!==this.kind?null:new S(this._oldContentWidth,this._oldContentHeight,o.contentWidth,o.contentHeight)}}e.ContentSizeChangedEvent=S;class f{constructor(o,d){this.kind=1,this.oldHasFocus=o,this.hasFocus=d}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(o){return o.kind!==this.kind?null:new f(this.oldHasFocus,o.hasFocus)}}e.FocusChangedEvent=f;class _{constructor(o,d,l,p,m,v,b,w){this.kind=2,this._oldScrollWidth=o,this._oldScrollLeft=d,this._oldScrollHeight=l,this._oldScrollTop=p,this.scrollWidth=m,this.scrollLeft=v,this.scrollHeight=b,this.scrollTop=w,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(o){return o.kind!==this.kind?null:new _(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,o.scrollWidth,o.scrollLeft,o.scrollHeight,o.scrollTop)}}e.ScrollChangedEvent=_;class g{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.ViewZonesChangedEvent=g;class C{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.HiddenAreasChangedEvent=C;class s{constructor(o,d,l,p,m,v,b){this.kind=6,this.oldSelections=o,this.selections=d,this.oldModelVersionId=l,this.modelVersionId=p,this.source=m,this.reason=v,this.reachedMaxCursorCount=b}static _selectionsAreEqual(o,d){if(!o&&!d)return!0;if(!o||!d)return!1;const l=o.length,p=d.length;if(l!==p)return!1;for(let m=0;m=t?0:u.horizontalScrollbarSize}_getContentHeight(n,t,a){const u=this._configuration.options;let h=this._linesLayout.getLinesTotalHeight();return u.get(103)?h+=Math.max(0,t-u.get(65)-u.get(82).bottom):h+=this._getHorizontalScrollbarHeight(n,a),h}_updateHeight(){const n=this._scrollable.getScrollDimensions(),t=n.width,a=n.height,u=n.contentWidth;this._scrollable.setScrollDimensions(new g(t,n.contentWidth,a,this._getContentHeight(t,a,u)))}getCurrentViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}getFutureViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}_computeContentWidth(){const n=this._configuration.options,t=this._maxLineWidth,a=n.get(143),u=n.get(49),h=n.get(142);if(a.isViewportWrapping){const r=n.get(71);return t>h.contentWidth+u.typicalHalfwidthCharacterWidth&&r.enabled&&r.side==="right"?t+h.verticalScrollbarWidth:t}else{const r=n.get(102)*u.typicalHalfwidthCharacterWidth,c=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+r+h.verticalScrollbarWidth,c,this._overlayWidgetsMinWidth)}}setMaxLineWidth(n){this._maxLineWidth=n,this._updateContentWidth()}setOverlayWidgetsMinWidth(n){this._overlayWidgetsMinWidth=n,this._updateContentWidth()}_updateContentWidth(){const n=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new g(n.width,this._computeContentWidth(),n.height,n.contentHeight)),this._updateHeight()}saveState(){const n=this._scrollable.getFutureScrollPosition(),t=n.scrollTop,a=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),u=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(a);return{scrollTop:t,scrollTopWithoutViewZones:t-u,scrollLeft:n.scrollLeft}}changeWhitespace(n){const t=this._linesLayout.changeWhitespace(n);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(n,t)}getVerticalOffsetAfterLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(n,t)}isAfterLines(n){return this._linesLayout.isAfterLines(n)}isInTopPadding(n){return this._linesLayout.isInTopPadding(n)}isInBottomPadding(n){return this._linesLayout.isInBottomPadding(n)}getLineNumberAtVerticalOffset(n){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(n)}getWhitespaceAtVerticalOffset(n){return this._linesLayout.getWhitespaceAtVerticalOffset(n)}getLinesViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(n.top,n.top+n.height)}getLinesViewportDataAtScrollTop(n){const t=this._scrollable.getScrollDimensions();return n+t.height>t.scrollHeight&&(n=t.scrollHeight-t.height),n<0&&(n=0),this._linesLayout.getLinesViewportData(n,n+t.height)}getWhitespaceViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(n.top,n.top+n.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(n){return this._scrollable.validateScrollPosition(n)}setScrollPosition(n,t){t===1?this._scrollable.setScrollPositionNow(n):this._scrollable.setScrollPositionSmooth(n)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(n,t){const a=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:a.scrollLeft+n,scrollTop:a.scrollTop+t})}}e.ViewLayout=s}),define(ne[537],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveCaretCommand=void 0;class y{constructor(S,f){this._selection=S,this._isMovingLeft=f}getEditOperations(S,f){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const _=this._selection.startLineNumber,g=this._selection.startColumn,C=this._selection.endColumn;if(!(this._isMovingLeft&&g===1)&&!(!this._isMovingLeft&&C===S.getLineMaxColumn(_)))if(this._isMovingLeft){const s=new L.Range(_,g-1,_,g),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,C,_,C),i)}else{const s=new L.Range(_,C,_,C+1),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,g,_,g),i)}}computeCursorState(S,f){return this._isMovingLeft?new k.Selection(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new k.Selection(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}e.MoveCaretCommand=y}),define(ne[113],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionItem=e.CodeActionCommandArgs=e.filtersAction=e.mayIncludeActionsOfKind=e.CodeActionTriggerSource=e.CodeActionKind=void 0;class k{constructor(s){this.value=s}equals(s){return this.value===s.value}contains(s){return this.equals(s)||this.value===""||s.value.startsWith(this.value+k.sep)}intersects(s){return this.contains(s)||s.contains(this)}append(s){return new k(this.value+k.sep+s)}}e.CodeActionKind=k,k.sep=".",k.None=new k("@@none@@"),k.Empty=new k(""),k.QuickFix=new k("quickfix"),k.Refactor=new k("refactor"),k.RefactorExtract=k.Refactor.append("extract"),k.RefactorInline=k.Refactor.append("inline"),k.RefactorMove=k.Refactor.append("move"),k.RefactorRewrite=k.Refactor.append("rewrite"),k.Source=new k("source"),k.SourceOrganizeImports=k.Source.append("organizeImports"),k.SourceFixAll=k.Source.append("fixAll"),k.SurroundWith=k.Refactor.append("surround");var y;(function(C){C.Refactor="refactor",C.RefactorPreview="refactor preview",C.Lightbulb="lightbulb",C.Default="other (default)",C.SourceAction="source action",C.QuickFix="quick fix action",C.FixAll="fix all",C.OrganizeImports="organize imports",C.AutoFix="auto fix",C.QuickFixHover="quick fix hover window",C.OnSave="save participants",C.ProblemsView="problems view"})(y||(e.CodeActionTriggerSource=y={}));function D(C,s){return!(C.include&&!C.include.intersects(s)||C.excludes&&C.excludes.some(i=>f(s,i,C.include))||!C.includeSourceActions&&k.Source.contains(s))}e.mayIncludeActionsOfKind=D;function S(C,s){const i=s.kind?new k(s.kind):void 0;return!(C.include&&(!i||!C.include.contains(i))||C.excludes&&i&&C.excludes.some(n=>f(i,n,C.include))||!C.includeSourceActions&&i&&k.Source.contains(i)||C.onlyIncludePreferredActions&&!s.isPreferred)}e.filtersAction=S;function f(C,s,i){return!(!s.contains(C)||i&&s.contains(i))}class _{static fromUser(s,i){return!s||typeof s!="object"?new _(i.kind,i.apply,!1):new _(_.getKindFromUser(s,i.kind),_.getApplyFromUser(s,i.apply),_.getPreferredUser(s))}static getApplyFromUser(s,i){switch(typeof s.apply=="string"?s.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return i}}static getKindFromUser(s,i){return typeof s.kind=="string"?new k(s.kind):i}static getPreferredUser(s){return typeof s.preferred=="boolean"?s.preferred:!1}constructor(s,i,n){this.kind=s,this.apply=i,this.preferred=n}}e.CodeActionCommandArgs=_;class g{constructor(s,i){this.action=s,this.provider=i}resolve(s){var i;return we(this,void 0,void 0,function*(){if(!((i=this.provider)===null||i===void 0)&&i.resolveCodeAction&&!this.action.edit){let n;try{n=yield this.provider.resolveCodeAction(this.action,s)}catch(t){(0,L.onUnexpectedExternalError)(t)}n&&(this.action.edit=n.edit)}return this})}}e.CodeActionItem=g}),define(ne[538],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerModel=void 0;class k{get color(){return this._color}set color(D){this._color.equals(D)||(this._color=D,this._onDidChangeColor.fire(D))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(D){this._colorPresentations=D,this.presentationIndex>D.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(D,S,f){this.presentationIndex=f,this._onColorFlushed=new L.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new L.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new L.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=D,this._color=D,this._colorPresentations=S}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(D,S){let f=-1;for(let _=0;_i)return!1;for(let n=0;n=65&&t<=90&&t+32===a)&&!(a>=65&&a<=90&&a+32===t))return!1}return!0}_createOperationsForBlockComment(_,g,C,s,i,n){const t=_.startLineNumber,a=_.startColumn,u=_.endLineNumber,h=_.endColumn,r=i.getLineContent(t),c=i.getLineContent(u);let o=r.lastIndexOf(g,a-1+g.length),d=c.indexOf(C,h-1-C.length);if(o!==-1&&d!==-1)if(t===u)r.substring(o+g.length,d).indexOf(C)>=0&&(o=-1,d=-1);else{const p=r.substring(o+g.length),m=c.substring(0,d);(p.indexOf(C)>=0||m.indexOf(C)>=0)&&(o=-1,d=-1)}let l;o!==-1&&d!==-1?(s&&o+g.length0&&c.charCodeAt(d-1)===32&&(C=" "+C,d-=1),l=S._createRemoveBlockCommentOperations(new y.Range(t,o+g.length+1,u,d+1),g,C)):(l=S._createAddBlockCommentOperations(_,g,C,this._insertSpace),this._usedEndToken=l.length===1?C:null);for(const p of l)n.addTrackedEditOperation(p.range,p.text)}static _createRemoveBlockCommentOperations(_,g,C){const s=[];return y.Range.isEmpty(_)?s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.endLineNumber,_.endColumn+C.length))):(s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.startLineNumber,_.startColumn))),s.push(L.EditOperation.delete(new y.Range(_.endLineNumber,_.endColumn,_.endLineNumber,_.endColumn+C.length)))),s}static _createAddBlockCommentOperations(_,g,C,s){const i=[];return y.Range.isEmpty(_)?i.push(L.EditOperation.replace(new y.Range(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn),g+" "+C)):(i.push(L.EditOperation.insert(new k.Position(_.startLineNumber,_.startColumn),g+(s?" ":""))),i.push(L.EditOperation.insert(new k.Position(_.endLineNumber,_.endColumn),(s?" ":"")+C))),i}getEditOperations(_,g){const C=this._selection.startLineNumber,s=this._selection.startColumn;_.tokenization.tokenizeIfCheap(C);const i=_.getLanguageIdAtPosition(C,s),n=this.languageConfigurationService.getLanguageConfiguration(i).comments;!n||!n.blockCommentStartToken||!n.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,n.blockCommentStartToken,n.blockCommentEndToken,this._insertSpace,_,g)}computeCursorState(_,g){const C=g.getInverseEditOperations();if(C.length===2){const s=C[0],i=C[1];return new D.Selection(s.range.endLineNumber,s.range.endColumn,i.range.startLineNumber,i.range.startColumn)}else{const s=C[0].range,i=this._usedEndToken?-this._usedEndToken.length-1:0;return new D.Selection(s.endLineNumber,s.endColumn+i,s.endLineNumber,s.endColumn+i)}}}e.BlockCommentCommand=S}),define(ne[539],se([1,0,11,73,12,5,24,290]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineCommentCommand=void 0;class _{constructor(C,s,i,n,t,a,u){this.languageConfigurationService=C,this._selection=s,this._tabSize=i,this._type=n,this._insertSpace=t,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=a,this._ignoreFirstLine=u||!1}static _gatherPreflightCommentStrings(C,s,i,n){C.tokenization.tokenizeIfCheap(s);const t=C.getLanguageIdAtPosition(s,1),a=n.getLanguageConfiguration(t).comments,u=a?a.lineCommentToken:null;if(!u)return null;const h=[];for(let r=0,c=i-s+1;rt?s[h].commentStrOffset=a-1:s[h].commentStrOffset=a}}}e.LineCommentCommand=_}),define(ne[540],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropCommand=void 0;class y{constructor(S,f,_){this.selection=S,this.targetPosition=f,this.copy=_,this.targetSelection=null}getEditOperations(S,f){const _=S.getValueInRange(this.selection);if(this.copy||f.addEditOperation(this.selection,null),f.addEditOperation(new L.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),_),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new k.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new k.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber0){const f=[];for(let C=0;CL.Range.compareRangesUsingStarts(C.range,s.range));const _=[];let g=f[0];for(let C=1;C0){const h=[],r=a.caseOps.length;let c=0;for(let o=0,d=u.length;o=r){h.push(u.slice(o));break}switch(a.caseOps[c]){case"U":h.push(u[o].toUpperCase());break;case"u":h.push(u[o].toUpperCase()),c++;break;case"L":h.push(u[o].toLowerCase());break;case"l":h.push(u[o].toLowerCase()),c++;break;default:h.push(u[o])}}u=h.join("")}i+=u}return i}static _substitute(C,s){if(s===null)return"";if(C===0)return s[0];let i="";for(;C>0;){if(C=n)break;const a=g.charCodeAt(i);switch(a){case 92:s.emitUnchanged(i-1),s.emitStatic("\\",i+1);break;case 110:s.emitUnchanged(i-1),s.emitStatic(` -`,i+1);break;case 116:s.emitUnchanged(i-1),s.emitStatic(" ",i+1);break;case 117:case 85:case 108:case 76:s.emitUnchanged(i-1),s.emitStatic("",i+1),C.push(String.fromCharCode(a));break}continue}if(t===36){if(i++,i>=n)break;const a=g.charCodeAt(i);if(a===36){s.emitUnchanged(i-1),s.emitStatic("$",i+1);continue}if(a===48||a===38){s.emitUnchanged(i-1),s.emitMatchIndex(0,i+1,C),C.length=0;continue}if(49<=a&&a<=57){let u=a-48;if(i+1e.MAX_FOLDING_REGIONS)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=f,this._endIndexes=_,this._collapseStates=new k(f.length),this._userDefinedStates=new k(f.length),this._recoveredStates=new k(f.length),this._types=g,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const f=[],_=(g,C)=>{const s=f[f.length-1];return this.getStartLineNumber(s)<=g&&this.getEndLineNumber(s)>=C};for(let g=0,C=this._startIndexes.length;ge.MAX_LINE_NUMBER||i>e.MAX_LINE_NUMBER)throw new Error("startLineNumber or endLineNumber must not exceed "+e.MAX_LINE_NUMBER);for(;f.length>0&&!_(s,i);)f.pop();const n=f.length>0?f[f.length-1]:-1;f.push(g),this._startIndexes[g]=s+((n&255)<<24),this._endIndexes[g]=i+((n&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(f){return this._startIndexes[f]&e.MAX_LINE_NUMBER}getEndLineNumber(f){return this._endIndexes[f]&e.MAX_LINE_NUMBER}getType(f){return this._types?this._types[f]:void 0}hasTypes(){return!!this._types}isCollapsed(f){return this._collapseStates.get(f)}setCollapsed(f,_){this._collapseStates.set(f,_)}isUserDefined(f){return this._userDefinedStates.get(f)}setUserDefined(f,_){return this._userDefinedStates.set(f,_)}isRecovered(f){return this._recoveredStates.get(f)}setRecovered(f,_){return this._recoveredStates.set(f,_)}getSource(f){return this.isUserDefined(f)?1:this.isRecovered(f)?2:0}setSource(f,_){_===1?(this.setUserDefined(f,!0),this.setRecovered(f,!1)):_===2?(this.setUserDefined(f,!1),this.setRecovered(f,!0)):(this.setUserDefined(f,!1),this.setRecovered(f,!1))}setCollapsedAllOfType(f,_){let g=!1;if(this._types)for(let C=0;C>>24)+((this._endIndexes[f]&L)>>>16);return _===e.MAX_FOLDING_REGIONS?-1:_}contains(f,_){return this.getStartLineNumber(f)<=_&&this.getEndLineNumber(f)>=_}findIndex(f){let _=0,g=this._startIndexes.length;if(g===0)return-1;for(;_=0){if(this.getEndLineNumber(_)>=f)return _;for(_=this.getParentIndex(_);_!==-1;){if(this.contains(_,f))return _;_=this.getParentIndex(_)}}return-1}toString(){const f=[];for(let _=0;_Array.isArray(d)?p=>pp=u.startLineNumber))a&&a.startLineNumber===u.startLineNumber?(u.source===1?d=u:(d=a,d.isCollapsed=u.isCollapsed&&a.endLineNumber===u.endLineNumber,d.source=0),a=s(++n)):(d=u,u.isCollapsed&&u.source===0&&(d.source=2)),u=i(++t);else{let l=t,p=u;for(;;){if(!p||p.startLineNumber>a.endLineNumber){d=a;break}if(p.source===1&&p.endLineNumber>a.endLineNumber)break;p=i(++l)}a=s(++n)}if(d){for(;r&&r.endLineNumberd.startLineNumber&&d.startLineNumber>c&&d.endLineNumber<=g&&(!r||r.endLineNumber>=d.endLineNumber)&&(o.push(d),c=d.startLineNumber,r&&h.push(r),r=d)}}return o}}e.FoldingRegions=y;class D{constructor(f,_){this.ranges=f,this.index=_}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(f){return f.startLineNumber<=this.startLineNumber&&f.endLineNumber>=this.endLineNumber}containsLine(f){return this.startLineNumber<=f&&f<=this.endLineNumber}}e.FoldingRegion=D}),define(ne[291],se([1,0,6,182,143]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNextFoldLine=e.getPreviousFoldLine=e.getParentFoldLine=e.setCollapseStateForType=e.setCollapseStateForMatchingLines=e.setCollapseStateForRest=e.setCollapseStateAtLevel=e.setCollapseStateUp=e.setCollapseStateLevelsUp=e.setCollapseStateLevelsDown=e.toggleCollapseState=e.FoldingModel=void 0;class D{get regions(){return this._regions}get textModel(){return this._textModel}constructor(r,c){this._updateEventEmitter=new L.Emitter,this.onDidChange=this._updateEventEmitter.event,this._textModel=r,this._decorationProvider=c,this._regions=new k.FoldingRegions(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}toggleCollapseState(r){if(!r.length)return;r=r.sort((o,d)=>o.regionIndex-d.regionIndex);const c={};this._decorationProvider.changeDecorations(o=>{let d=0,l=-1,p=-1;const m=v=>{for(;dp&&(p=b),d++}};for(const v of r){const b=v.regionIndex,w=this._editorDecorationIds[b];if(w&&!c[w]){c[w]=!0,m(b);const E=!this._regions.isCollapsed(b);this._regions.setCollapsed(b,E),l=Math.max(l,this._regions.getEndLineNumber(b))}}m(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:r})}removeManualRanges(r){const c=new Array,o=d=>{for(const l of r)if(!(l.startLineNumber>d.endLineNumber||d.startLineNumber>l.endLineNumber))return!0;return!1};for(let d=0;do&&(o=m)}this._decorationProvider.changeDecorations(d=>this._editorDecorationIds=d.deltaDecorations(this._editorDecorationIds,c)),this._regions=r,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(r=[]){const c=(d,l)=>{for(const p of r)if(d=p.endLineNumber||p.startLineNumber<1||p.endLineNumber>o)continue;const m=this._getLinesChecksum(p.startLineNumber+1,p.endLineNumber);c.push({startLineNumber:p.startLineNumber,endLineNumber:p.endLineNumber,isCollapsed:p.isCollapsed,source:p.source,checksum:m})}return c.length>0?c:void 0}applyMemento(r){var c,o;if(!Array.isArray(r))return;const d=[],l=this._textModel.getLineCount();for(const m of r){if(m.startLineNumber>=m.endLineNumber||m.startLineNumber<1||m.endLineNumber>l)continue;const v=this._getLinesChecksum(m.startLineNumber+1,m.endLineNumber);(!m.checksum||v===m.checksum)&&d.push({startLineNumber:m.startLineNumber,endLineNumber:m.endLineNumber,type:void 0,isCollapsed:(c=m.isCollapsed)!==null&&c!==void 0?c:!0,source:(o=m.source)!==null&&o!==void 0?o:0})}const p=k.FoldingRegions.sanitizeAndMerge(this._regions,d,l);this.updatePost(k.FoldingRegions.fromFoldRanges(p))}_getLinesChecksum(r,c){return(0,y.hash)(this._textModel.getLineContent(r)+this._textModel.getLineContent(c))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(r,c){const o=[];if(this._regions){let d=this._regions.findRange(r),l=1;for(;d>=0;){const p=this._regions.toRegion(d);(!c||c(p,l))&&o.push(p),l++,d=p.parentIndex}}return o}getRegionAtLine(r){if(this._regions){const c=this._regions.findRange(r);if(c>=0)return this._regions.toRegion(c)}return null}getRegionsInside(r,c){const o=[],d=r?r.regionIndex+1:0,l=r?r.endLineNumber:Number.MAX_VALUE;if(c&&c.length===2){const p=[];for(let m=d,v=this._regions.length;m0&&!b.containedBy(p[p.length-1]);)p.pop();p.push(b),c(b,p.length)&&o.push(b)}else break}}else for(let p=d,m=this._regions.length;p1){const m=h.getRegionsInside(l,(v,b)=>v.isCollapsed!==p&&b0)for(const l of o){const p=h.getRegionAtLine(l);if(p&&(p.isCollapsed!==r&&d.push(p),c>1)){const m=h.getRegionsInside(p,(v,b)=>v.isCollapsed!==r&&bp.isCollapsed!==r&&mm.isCollapsed!==r&&v<=c);d.push(...p)}h.toggleCollapseState(d)}e.setCollapseStateLevelsUp=_;function g(h,r,c){const o=[];for(const d of c){const l=h.getAllRegionsAtLine(d,p=>p.isCollapsed!==r);l.length>0&&o.push(l[0])}h.toggleCollapseState(o)}e.setCollapseStateUp=g;function C(h,r,c,o){const d=(p,m)=>m===r&&p.isCollapsed!==c&&!o.some(v=>p.containsLine(v)),l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateAtLevel=C;function s(h,r,c){const o=[];for(const p of c){const m=h.getAllRegionsAtLine(p,void 0);m.length>0&&o.push(m[0])}const d=p=>o.every(m=>!m.containedBy(p)&&!p.containedBy(m))&&p.isCollapsed!==r,l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateForRest=s;function i(h,r,c){const o=h.textModel,d=h.regions,l=[];for(let p=d.length-1;p>=0;p--)if(c!==d.isCollapsed(p)){const m=d.getStartLineNumber(p);r.test(o.getLineContent(m))&&l.push(d.toRegion(p))}h.toggleCollapseState(l)}e.setCollapseStateForMatchingLines=i;function n(h,r,c){const o=h.regions,d=[];for(let l=o.length-1;l>=0;l--)c!==o.isCollapsed(l)&&r===o.getType(l)&&d.push(o.toRegion(l));h.toggleCollapseState(d)}e.setCollapseStateForType=n;function t(h,r){let c=null;const o=r.getRegionAtLine(h);if(o!==null&&(c=o.startLineNumber,h===c)){const d=o.parentIndex;d!==-1?c=r.regions.getStartLineNumber(d):c=null}return c}e.getParentFoldLine=t;function a(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){if(h!==c.startLineNumber)return c.startLineNumber;{const o=c.parentIndex;let d=0;for(o!==-1&&(d=r.regions.getStartLineNumber(c.parentIndex));c!==null;)if(c.regionIndex>0){if(c=r.regions.toRegion(c.regionIndex-1),c.startLineNumber<=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}}else if(r.regions.length>0)for(c=r.regions.toRegion(r.regions.length-1);c!==null;){if(c.startLineNumber0?c=r.regions.toRegion(c.regionIndex-1):c=null}return null}e.getPreviousFoldLine=a;function u(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){const o=c.parentIndex;let d=0;if(o!==-1)d=r.regions.getEndLineNumber(c.parentIndex);else{if(r.regions.length===0)return null;d=r.regions.getEndLineNumber(r.regions.length-1)}for(;c!==null;)if(c.regionIndex=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}else if(r.regions.length>0)for(c=r.regions.toRegion(0);c!==null;){if(c.startLineNumber>h)return c.startLineNumber;c.regionIndexthis.updateHiddenRanges()),this._hiddenRanges=[],C.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(C){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=C.changes.some(s=>s.range.endLineNumber!==s.range.startLineNumber||(0,D.countEOL)(s.text)[0]!==0))}updateHiddenRanges(){let C=!1;const s=[];let i=0,n=0,t=Number.MAX_VALUE,a=-1;const u=this._foldingModel.regions;for(;i0}isHidden(C){return _(this._hiddenRanges,C)!==null}adjustSelections(C){let s=!1;const i=this._foldingModel.textModel;let n=null;const t=a=>((!n||!f(a,n))&&(n=_(this._hiddenRanges,a)),n?n.startLineNumber-1:null);for(let a=0,u=C.length;a0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}e.HiddenRangeModel=S;function f(g,C){return g>=C.startLineNumber&&g<=C.endLineNumber}function _(g,C){const s=(0,L.findFirstInSorted)(g,i=>C=0&&g[s].endLineNumber>=C?g[s]:null}}),define(ne[292],se([1,0,207,182]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeRanges=e.RangesCollector=e.IndentRangeProvider=void 0;const y=5e3,D="indent";class S{constructor(s,i,n){this.editorModel=s,this.languageConfigurationService=i,this.foldingRangesLimit=n,this.id=D}dispose(){}compute(s){const i=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,n=i&&!!i.offSide,t=i&&i.markers;return Promise.resolve(g(this.editorModel,n,t,this.foldingRangesLimit))}}e.IndentRangeProvider=S;class f{constructor(s){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=s}insertFirst(s,i,n){if(s>k.MAX_LINE_NUMBER||i>k.MAX_LINE_NUMBER)return;const t=this._length;this._startIndexes[t]=s,this._endIndexes[t]=i,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(s){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=this._length-1,u=0;a>=0;a--,u++)n[u]=this._startIndexes[a],t[u]=this._endIndexes[a];return new k.FoldingRegions(n,t)}else{this._foldingRangesLimit.update(this._length,i);let n=0,t=this._indentOccurrences.length;for(let r=0;ri){t=r;break}n+=c}}const a=s.getOptions().tabSize,u=new Uint32Array(i),h=new Uint32Array(i);for(let r=this._length-1,c=0;r>=0;r--){const o=this._startIndexes[r],d=s.getLineContent(o),l=(0,L.computeIndentLevel)(d,a);(l{}};function g(C,s,i,n=_){const t=C.getOptions().tabSize,a=new f(n);let u;i&&(u=new RegExp(`(${i.start.source})|(?:${i.end.source})`));const h=[],r=C.getLineCount()+1;h.push({indent:-1,endAbove:r,line:r});for(let c=C.getLineCount();c>0;c--){const o=C.getLineContent(c),d=(0,L.computeIndentLevel)(o,t);let l=h[h.length-1];if(d===-1){s&&(l.endAbove=c);continue}let p;if(u&&(p=o.match(u)))if(p[1]){let m=h.length-1;for(;m>0&&h[m].indent!==-2;)m--;if(m>0){h.length=m+1,l=h[m],a.insertFirst(c,l.line,d),l.line=c,l.indent=d,l.endAbove=c;continue}}else{h.push({indent:-2,endAbove:c,line:c});continue}if(l.indent>d){do h.pop(),l=h[h.length-1];while(l.indent>d);const m=l.endAbove-1;m-c>=1&&a.insertFirst(c,m,d)}l.indent===d?l.endAbove=c:h.push({indent:d,endAbove:c,line:c})}return a.toIndentRanges(C)}e.computeRanges=g}),define(ne[293],se([1,0,9,2,182]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeRanges=e.SyntaxRangeProvider=void 0;const D={},S="syntax";class f{constructor(i,n,t,a,u){this.editorModel=i,this.providers=n,this.handleFoldingRangesChange=t,this.foldingRangesLimit=a,this.fallbackRangeProvider=u,this.id=S,this.disposables=new k.DisposableStore,u&&this.disposables.add(u);for(const h of n)typeof h.onDidChange=="function"&&this.disposables.add(h.onDidChange(t))}compute(i){return _(this.providers,this.editorModel,i).then(n=>{var t,a;return n?C(n,this.foldingRangesLimit):(a=(t=this.fallbackRangeProvider)===null||t===void 0?void 0:t.compute(i))!==null&&a!==void 0?a:null})}dispose(){this.disposables.dispose()}}e.SyntaxRangeProvider=f;function _(s,i,n){let t=null;const a=s.map((u,h)=>Promise.resolve(u.provideFoldingRanges(i,D,n)).then(r=>{if(!n.isCancellationRequested&&Array.isArray(r)){Array.isArray(t)||(t=[]);const c=i.getLineCount();for(const o of r)o.start>0&&o.end>o.start&&o.end<=c&&t.push({start:o.start,end:o.end,rank:h,kind:o.kind})}},L.onUnexpectedExternalError));return Promise.all(a).then(u=>t)}class g{constructor(i){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=i}add(i,n,t,a){if(i>y.MAX_LINE_NUMBER||n>y.MAX_LINE_NUMBER)return;const u=this._length;this._startIndexes[u]=i,this._endIndexes[u]=n,this._nestingLevels[u]=a,this._types[u]=t,this._length++,a<30&&(this._nestingLevelCounts[a]=(this._nestingLevelCounts[a]||0)+1)}toIndentRanges(){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=0;ai){t=r;break}n+=c}}const a=new Uint32Array(i),u=new Uint32Array(i),h=[];for(let r=0,c=0;r{let c=h.start-r.start;return c===0&&(c=h.rank-r.rank),c}),t=new g(i);let a;const u=[];for(const h of n)if(!a)a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else if(h.start>a.start)if(h.end<=a.end)u.push(a),a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else{if(h.start>a.end){do a=u.pop();while(a&&h.start>a.end);a&&u.push(a),a=h}t.add(h.start,h.end,h.kind&&h.kind.value,u.length)}return t.toIndentRanges()}e.sanitizeRanges=C}),define(ne[294],se([1,0,73,5,108]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormattingEdit=void 0;class D{static _handleEolEdits(f,_){let g;const C=[];for(const s of _)typeof s.eol=="number"&&(g=s.eol),s.range&&typeof s.text=="string"&&C.push(s);return typeof g=="number"&&f.hasModel()&&f.getModel().pushEOL(g),C}static _isFullModelReplaceEdit(f,_){if(!f.hasModel())return!1;const g=f.getModel(),C=g.validateRange(_.range);return g.getFullModelRange().equalsRange(C)}static execute(f,_,g){g&&f.pushUndoStop();const C=y.StableEditorScrollState.capture(f),s=D._handleEolEdits(f,_);s.length===1&&D._isFullModelReplaceEdit(f,s[0])?f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replace(k.Range.lift(i.range),i.text))):f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replaceMove(k.Range.lift(i.range),i.text))),g&&f.pushUndoStop(),C.restoreRelativeVerticalPositionOfCursor(f)}}e.FormattingEdit=D}),define(ne[103],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverParticipantRegistry=e.HoverForeignElementAnchor=e.HoverRangeAnchor=void 0;class L{constructor(D,S,f,_){this.priority=D,this.range=S,this.initialMousePosX=f,this.initialMousePosY=_,this.type=1}equals(D){return D.type===1&&this.range.equalsRange(D.range)}canAdoptVisibleHover(D,S){return D.type===1&&S.lineNumber===this.range.startLineNumber}}e.HoverRangeAnchor=L;class k{constructor(D,S,f,_,g,C){this.priority=D,this.owner=S,this.range=f,this.initialMousePosX=_,this.initialMousePosY=g,this.supportsMarkerHover=C,this.type=2}equals(D){return D.type===2&&this.owner===D.owner}canAdoptVisibleHover(D,S){return D.type===2&&this.owner===D.owner}}e.HoverForeignElementAnchor=k,e.HoverParticipantRegistry=new class{constructor(){this._participants=[]}register(D){this._participants.push(D)}getAll(){return this._participants}}}),define(ne[544],se([1,0,24]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InPlaceReplaceCommand=void 0;class k{constructor(D,S,f){this._editRange=D,this._originalSelection=S,this._text=f}getEditOperations(D,S){S.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(D,S){const _=S.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new L.Selection(_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn),_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn)):new L.Selection(_.endLineNumber,_.endColumn-this._text.length,_.endLineNumber,_.endColumn)}}e.InPlaceReplaceCommand=k}),define(ne[295],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateIndent=e.getSpaceCnt=void 0;function L(y,D){let S=0;for(let f=0;f{const o=S.Range.lift(c.range);return{startOffset:h.getOffset(o.getStartPosition()),endOffset:h.getOffset(o.getEndPosition()),text:c.text}});r.sort((c,o)=>o.startOffset-c.startOffset);for(const c of r)a=a.substring(0,c.startOffset)+c.text+a.substring(c.endOffset);return a}e.applyEdits=f;class _{constructor(u){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let h=0;hh)throw new L.BugIndicatingError(`startColumn ${u} cannot be after endColumnExclusive ${h}`)}toRange(u){return new S.Range(u,this.startColumn,u,this.endColumnExclusive)}equals(u){return this.startColumn===u.startColumn&&this.endColumnExclusive===u.endColumnExclusive}}e.ColumnRange=s;function i(a,u){const h=new k.DisposableStore,r=a.createDecorationsCollection();return h.add((0,y.autorunOpts)({debugName:()=>`Apply decorations from ${u.debugName}`},c=>{const o=u.read(c);r.set(o)})),h.add({dispose:()=>{r.clear()}}),h}e.applyObservableDecorations=i;function n(a,u){return new D.Position(a.lineNumber+u.lineNumber-1,u.lineNumber===1?a.column+u.column-1:u.column)}e.addPositions=n;function t(a){let u=1,h=1;for(const r of a)r===` -`?(u++,h=1):h++;return new D.Position(u,h)}e.lengthOfText=t}),define(ne[215],se([1,0,151]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ghostTextOrReplacementEquals=e.GhostTextReplacement=e.GhostTextPart=e.GhostText=void 0;class k{constructor(_,g){this.lineNumber=_,this.parts=g}equals(_){return this.lineNumber===_.lineNumber&&this.parts.length===_.parts.length&&this.parts.every((g,C)=>g.equals(_.parts[C]))}renderForScreenReader(_){if(this.parts.length===0)return"";const g=this.parts[this.parts.length-1],C=_.substr(0,g.column-1);return(0,L.applyEdits)(C,this.parts.map(i=>({range:{startLineNumber:1,endLineNumber:1,startColumn:i.column,endColumn:i.column},text:i.lines.join(` -`)}))).substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(_=>_.lines.length===0)}get lineCount(){return 1+this.parts.reduce((_,g)=>_+g.lines.length-1,0)}}e.GhostText=k;class y{constructor(_,g,C){this.column=_,this.lines=g,this.preview=C}equals(_){return this.column===_.column&&this.lines.length===_.lines.length&&this.lines.every((g,C)=>g===_.lines[C])}}e.GhostTextPart=y;class D{constructor(_,g,C,s=0){this.lineNumber=_,this.columnRange=g,this.newLines=C,this.additionalReservedLineCount=s,this.parts=[new y(this.columnRange.endColumnExclusive,this.newLines,!1)]}renderForScreenReader(_){return this.newLines.join(` -`)}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(_=>_.lines.length===0)}equals(_){return this.lineNumber===_.lineNumber&&this.columnRange.equals(_.columnRange)&&this.newLines.length===_.newLines.length&&this.newLines.every((g,C)=>g===_.newLines[C])&&this.additionalReservedLineCount===_.additionalReservedLineCount}}e.GhostTextReplacement=D;function S(f,_){return f===_?!0:!f||!_?!1:f instanceof k&&_ instanceof k||f instanceof D&&_ instanceof D?f.equals(_):!1}e.ghostTextOrReplacementEquals=S}),define(ne[296],se([1,0,168,11,5,215,151]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SingleTextEdit=void 0;class f{constructor(t,a){this.range=t,this.text=a}removeCommonPrefix(t,a){const u=a?this.range.intersectRanges(a):this.range;if(!u)return this;const h=t.getValueInRange(u,1),r=(0,k.commonPrefixLength)(h,this.text),c=(0,S.addPositions)(this.range.getStartPosition(),(0,S.lengthOfText)(h.substring(0,r))),o=this.text.substring(r),d=y.Range.fromPositions(c,this.range.getEndPosition());return new f(d,o)}augments(t){return this.text.startsWith(t.text)&&_(this.range,t.range)}computeGhostText(t,a,u,h=0){let r=this.removeCommonPrefix(t);if(r.range.endLineNumber!==r.range.startLineNumber)return;const c=t.getLineContent(r.range.startLineNumber),o=(0,k.getLeadingWhitespace)(c).length;if(r.range.startColumn-1<=o){const w=(0,k.getLeadingWhitespace)(r.text).length,E=c.substring(r.range.startColumn-1,o),[I,M]=[r.range.getStartPosition(),r.range.getEndPosition()],P=I.column+E.length<=M.column?I.delta(0,E.length):M,x=y.Range.fromPositions(P,M),T=r.text.startsWith(E)?r.text.substring(E.length):r.text.substring(w);r=new f(x,T)}const l=t.getValueInRange(r.range),p=C(l,r.text);if(!p)return;const m=r.range.startLineNumber,v=new Array;if(a==="prefix"){const w=p.filter(E=>E.originalLength===0);if(w.length>1||w.length===1&&w[0].originalStart!==l.length)return}const b=r.text.length-h;for(const w of p){const E=r.range.startColumn+w.originalStart+w.originalLength;if(a==="subwordSmart"&&u&&u.lineNumber===r.range.startLineNumber&&E0)return;if(w.modifiedLength===0)continue;const I=w.modifiedStart+w.modifiedLength,M=Math.max(w.modifiedStart,Math.min(I,b)),P=r.text.substring(w.modifiedStart,M),x=r.text.substring(M,Math.max(w.modifiedStart,I));if(P.length>0){const T=(0,k.splitLines)(P);v.push(new D.GhostTextPart(E,T,!1))}if(x.length>0){const T=(0,k.splitLines)(x);v.push(new D.GhostTextPart(E,T,!0))}}return new D.GhostText(m,v)}}e.SingleTextEdit=f;function _(n,t){return t.getStartPosition().equals(n.getStartPosition())&&t.getEndPosition().isBeforeOrEqual(n.getEndPosition())}let g;function C(n,t){if(g?.originalValue===n&&g?.newValue===t)return g?.changes;{let a=i(n,t,!0);if(a){const u=s(a);if(u>0){const h=i(n,t,!1);h&&s(h)5e3||t.length>5e3)return;function u(l){let p=0;for(let m=0,v=l.length;mp&&(p=b)}return p}const h=Math.max(u(n),u(t));function r(l){if(l<0)throw new Error("unexpected");return h+l+1}function c(l){let p=0,m=0;const v=new Int32Array(l.length);for(let b=0,w=l.length;bo},{getElements:()=>d}).ComputeDiff(!1).changes}}),define(ne[545],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyLinesCommand=void 0;class y{constructor(S,f,_){this._selection=S,this._isCopyingDown=f,this._noop=_||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(S,f){let _=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,_.startLineNumber<_.endLineNumber&&_.endColumn===1&&(this._endLineNumberDelta=1,_=_.setEndPosition(_.endLineNumber-1,S.getLineMaxColumn(_.endLineNumber-1)));const g=[];for(let s=_.startLineNumber;s<=_.endLineNumber;s++)g.push(S.getLineContent(s));const C=g.join(` -`);C===""&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber+1,1),_.endLineNumber===S.getLineCount()?"":` -`):this._isCopyingDown?f.addEditOperation(new L.Range(_.startLineNumber,1,_.startLineNumber,1),C+` -`):f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber,S.getLineMaxColumn(_.endLineNumber)),` -`+C),this._selectionId=f.trackSelection(_),this._selectionDirection=this._selection.getDirection()}computeCursorState(S,f){let _=f.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let g=_.startLineNumber,C=_.startColumn,s=_.endLineNumber,i=_.endColumn;this._startLineNumberDelta!==0&&(g=g+this._startLineNumberDelta,C=1),this._endLineNumberDelta!==0&&(s=s+this._endLineNumberDelta,i=1),_=k.Selection.createWithDirection(g,C,s,i,this._selectionDirection)}return _}}e.CopyLinesCommand=y}),define(ne[546],se([1,0,73,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SortLinesCommand=void 0;class y{static getCollator(){return y._COLLATOR||(y._COLLATOR=new Intl.Collator),y._COLLATOR}constructor(_,g){this.selection=_,this.descending=g,this.selectionId=null}getEditOperations(_,g){const C=S(_,this.selection,this.descending);C&&g.addEditOperation(C.range,C.text),this.selectionId=g.trackSelection(this.selection)}computeCursorState(_,g){return g.getTrackedSelection(this.selectionId)}static canRun(_,g,C){if(_===null)return!1;const s=D(_,g,C);if(!s)return!1;for(let i=0,n=s.before.length;i=s)return null;const i=[];for(let t=C;t<=s;t++)i.push(f.getLineContent(t));let n=i.slice(0);return n.sort(y.getCollator().compare),g===!0&&(n=n.reverse()),{startLineNumber:C,endLineNumber:s,before:i,after:n}}function S(f,_,g){const C=D(f,_,g);return C?L.EditOperation.replace(new k.Range(C.startLineNumber,1,C.endLineNumber,f.getLineMaxColumn(C.endLineNumber)),C.after.join(` -`)):null}}),define(ne[297],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSemanticColoringEnabled=e.SEMANTIC_HIGHLIGHTING_SETTING_ID=void 0,e.SEMANTIC_HIGHLIGHTING_SETTING_ID="editor.semanticHighlighting";function L(k,y,D){var S;const f=(S=D.getValue(e.SEMANTIC_HIGHLIGHTING_SETTING_ID,{overrideIdentifier:k.getLanguageId(),resource:k.uri}))===null||S===void 0?void 0:S.enabled;return typeof f=="boolean"?f:y.getColorTheme().semanticHighlighting}e.isSemanticColoringEnabled=L}),define(ne[298],se([1,0,64,12,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketSelectionRangeProvider=void 0;class D{provideSelectionRanges(f,_){return we(this,void 0,void 0,function*(){const g=[];for(const C of _){const s=[];g.push(s);const i=new Map;yield new Promise(n=>D._bracketsRightYield(n,0,f,C,i)),yield new Promise(n=>D._bracketsLeftYield(n,0,f,C,i,s))}return g})}static _bracketsRightYield(f,_,g,C,s){const i=new Map,n=Date.now();for(;;){if(_>=D._maxRounds){f();break}if(!C){f();break}const t=g.bracketPairs.findNextBracket(C);if(!t){f();break}if(Date.now()-n>D._maxDuration){setTimeout(()=>D._bracketsRightYield(f,_+1,g,C,s));break}if(t.bracketInfo.isOpeningBracket){const u=t.bracketInfo.bracketText,h=i.has(u)?i.get(u):0;i.set(u,h+1)}else{const u=t.bracketInfo.getOpeningBrackets()[0].bracketText;let h=i.has(u)?i.get(u):0;if(h-=1,i.set(u,Math.max(0,h)),h<0){let r=s.get(u);r||(r=new L.LinkedList,s.set(u,r)),r.push(t.range)}}C=t.range.getEndPosition()}}static _bracketsLeftYield(f,_,g,C,s,i){const n=new Map,t=Date.now();for(;;){if(_>=D._maxRounds&&s.size===0){f();break}if(!C){f();break}const a=g.bracketPairs.findPrevBracket(C);if(!a){f();break}if(Date.now()-t>D._maxDuration){setTimeout(()=>D._bracketsLeftYield(f,_+1,g,C,s,i));break}if(a.bracketInfo.isOpeningBracket){const h=a.bracketInfo.bracketText;let r=n.has(h)?n.get(h):0;if(r-=1,n.set(h,Math.max(0,r)),r<0){const c=s.get(h);if(c){const o=c.shift();c.size===0&&s.delete(h);const d=y.Range.fromPositions(a.range.getEndPosition(),o.getStartPosition()),l=y.Range.fromPositions(a.range.getStartPosition(),o.getEndPosition());i.push({range:d}),i.push({range:l}),D._addBracketLeading(g,l,i)}}}else{const h=a.bracketInfo.getOpeningBrackets()[0].bracketText,r=n.has(h)?n.get(h):0;n.set(h,r+1)}C=a.range.getStartPosition()}}static _addBracketLeading(f,_,g){if(_.startLineNumber===_.endLineNumber)return;const C=_.startLineNumber,s=f.getLineFirstNonWhitespaceColumn(C);s!==0&&s!==_.startColumn&&(g.push({range:y.Range.fromPositions(new k.Position(C,s),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(C,1),_.getEndPosition())}));const i=C-1;if(i>0){const n=f.getLineFirstNonWhitespaceColumn(i);n===_.startColumn&&n!==f.getLineLastNonWhitespaceColumn(i)&&(g.push({range:y.Range.fromPositions(new k.Position(i,n),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(i,1),_.getEndPosition())}))}}}e.BracketSelectionRangeProvider=D,D._maxDuration=30,D._maxRounds=2}),define(ne[547],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordSelectionRangeProvider=void 0;class y{constructor(S=!0){this.selectSubwords=S}provideSelectionRanges(S,f){const _=[];for(const g of f){const C=[];_.push(C),this.selectSubwords&&this._addInWordRanges(C,S,g),this._addWordRanges(C,S,g),this._addWhitespaceLine(C,S,g),C.push({range:S.getFullModelRange()})}return _}_addInWordRanges(S,f,_){const g=f.getWordAtPosition(_);if(!g)return;const{word:C,startColumn:s}=g,i=_.column-s;let n=i,t=i,a=0;for(;n>=0;n--){const u=C.charCodeAt(n);if(n!==i&&(u===95||u===45))break;if((0,L.isLowerAsciiLetter)(u)&&(0,L.isUpperAsciiLetter)(a))break;a=u}for(n+=1;t0&&f.getLineFirstNonWhitespaceColumn(_.lineNumber)===0&&f.getLineLastNonWhitespaceColumn(_.lineNumber)===0&&S.push({range:new k.Range(_.lineNumber,1,_.lineNumber,f.getLineMaxColumn(_.lineNumber))})}}e.WordSelectionRangeProvider=y}),define(ne[128],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetParser=e.TextmateSnippet=e.Variable=e.FormatString=e.Transform=e.Choice=e.Placeholder=e.TransformableMarker=e.Text=e.Marker=e.Scanner=void 0;class L{constructor(){this.value="",this.pos=0}static isDigitCharacter(a){return a>=48&&a<=57}static isVariableCharacter(a){return a===95||a>=97&&a<=122||a>=65&&a<=90}text(a){this.value=a,this.pos=0}tokenText(a){return this.value.substr(a.pos,a.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const a=this.pos;let u=0,h=this.value.charCodeAt(a),r;if(r=L._table[h],typeof r=="number")return this.pos+=1,{type:r,pos:a,len:1};if(L.isDigitCharacter(h)){r=8;do u+=1,h=this.value.charCodeAt(a+u);while(L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}if(L.isVariableCharacter(h)){r=9;do h=this.value.charCodeAt(a+ ++u);while(L.isVariableCharacter(h)||L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}r=10;do u+=1,h=this.value.charCodeAt(a+u);while(!isNaN(h)&&typeof L._table[h]>"u"&&!L.isDigitCharacter(h)&&!L.isVariableCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}}e.Scanner=L,L._table={[36]:0,[58]:1,[44]:2,[123]:3,[125]:4,[92]:5,[47]:6,[124]:7,[43]:11,[45]:12,[63]:13};class k{constructor(){this._children=[]}appendChild(a){return a instanceof y&&this._children[this._children.length-1]instanceof y?this._children[this._children.length-1].value+=a.value:(a.parent=this,this._children.push(a)),this}replace(a,u){const{parent:h}=a,r=h.children.indexOf(a),c=h.children.slice(0);c.splice(r,1,...u),h._children=c,function o(d,l){for(const p of d)p.parent=l,o(p.children,p)}(u,h)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let a=this;for(;;){if(!a)return;if(a instanceof i)return a;a=a.parent}}toString(){return this.children.reduce((a,u)=>a+u.toString(),"")}len(){return 0}}e.Marker=k;class y extends k{constructor(a){super(),this.value=a}toString(){return this.value}len(){return this.value.length}clone(){return new y(this.value)}}e.Text=y;class D extends k{}e.TransformableMarker=D;class S extends D{static compareByIndex(a,u){return a.index===u.index?0:a.isFinalTabstop?1:u.isFinalTabstop||a.indexu.index?1:0}constructor(a){super(),this.index=a}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof f?this._children[0]:void 0}clone(){const a=new S(this.index);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Placeholder=S;class f extends k{constructor(){super(...arguments),this.options=[]}appendChild(a){return a instanceof y&&(a.parent=this,this.options.push(a)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const a=new f;return this.options.forEach(a.appendChild,a),a}}e.Choice=f;class _ extends k{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(a){const u=this;let h=!1,r=a.replace(this.regexp,function(){return h=!0,u._replace(Array.prototype.slice.call(arguments,0,-2))});return!h&&this._children.some(c=>c instanceof g&&!!c.elseValue)&&(r=this._replace([])),r}_replace(a){let u="";for(const h of this._children)if(h instanceof g){let r=a[h.index]||"";r=h.resolve(r),u+=r}else u+=h.toString();return u}toString(){return""}clone(){const a=new _;return a.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),a._children=this.children.map(u=>u.clone()),a}}e.Transform=_;class g extends k{constructor(a,u,h,r){super(),this.index=a,this.shorthandName=u,this.ifValue=h,this.elseValue=r}resolve(a){return this.shorthandName==="upcase"?a?a.toLocaleUpperCase():"":this.shorthandName==="downcase"?a?a.toLocaleLowerCase():"":this.shorthandName==="capitalize"?a?a[0].toLocaleUpperCase()+a.substr(1):"":this.shorthandName==="pascalcase"?a?this._toPascalCase(a):"":this.shorthandName==="camelcase"?a?this._toCamelCase(a):"":a&&typeof this.ifValue=="string"?this.ifValue:!a&&typeof this.elseValue=="string"?this.elseValue:a||""}_toPascalCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map(h=>h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}_toCamelCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map((h,r)=>r===0?h.charAt(0).toLowerCase()+h.substr(1):h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}clone(){return new g(this.index,this.shorthandName,this.ifValue,this.elseValue)}}e.FormatString=g;class C extends D{constructor(a){super(),this.name=a}resolve(a){let u=a.resolve(this);return this.transform&&(u=this.transform.resolve(u||"")),u!==void 0?(this._children=[new y(u)],!0):!1}clone(){const a=new C(this.name);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Variable=C;function s(t,a){const u=[...t];for(;u.length>0;){const h=u.shift();if(!a(h))break;u.unshift(...h.children)}}class i extends k{get placeholderInfo(){if(!this._placeholders){const a=[];let u;this.walk(function(h){return h instanceof S&&(a.push(h),u=!u||u.indexr===a?(h=!0,!1):(u+=r.len(),!0)),h?u:-1}fullLen(a){let u=0;return s([a],h=>(u+=h.len(),!0)),u}enclosingPlaceholders(a){const u=[];let{parent:h}=a;for(;h;)h instanceof S&&u.push(h),h=h.parent;return u}resolveVariables(a){return this.walk(u=>(u instanceof C&&u.resolve(a)&&(this._placeholders=void 0),!0)),this}appendChild(a){return this._placeholders=void 0,super.appendChild(a)}replace(a,u){return this._placeholders=void 0,super.replace(a,u)}clone(){const a=new i;return this._children=this.children.map(u=>u.clone()),a}walk(a){s(this.children,a)}}e.TextmateSnippet=i;class n{constructor(){this._scanner=new L,this._token={type:14,pos:0,len:0}}static escape(a){return a.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(a){return/\${?CLIPBOARD/.test(a)}parse(a,u,h){const r=new i;return this.parseFragment(a,r),this.ensureFinalTabstop(r,h??!1,u??!1),r}parseFragment(a,u){const h=u.children.length;for(this._scanner.text(a),this._token=this._scanner.next();this._parse(u););const r=new Map,c=[];u.walk(l=>(l instanceof S&&(l.isFinalTabstop?r.set(0,void 0):!r.has(l.index)&&l.children.length>0?r.set(l.index,l.children):c.push(l)),!0));const o=(l,p)=>{const m=r.get(l.index);if(!m)return;const v=new S(l.index);v.transform=l.transform;for(const b of m){const w=b.clone();v.appendChild(w),w instanceof S&&r.has(w.index)&&!p.has(w.index)&&(p.add(w.index),o(w,p),p.delete(w.index))}u.replace(l,[v])},d=new Set;for(const l of c)o(l,d);return u.children.slice(h)}ensureFinalTabstop(a,u,h){(u||h&&a.placeholders.length>0)&&(a.placeholders.find(c=>c.index===0)||a.appendChild(new S(0)))}_accept(a,u){if(a===void 0||this._token.type===a){const h=u?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),h}return!1}_backTo(a){return this._scanner.pos=a.pos+a.len,this._token=a,!1}_until(a){const u=this._token;for(;this._token.type!==a;){if(this._token.type===14)return!1;if(this._token.type===5){const r=this._scanner.next();if(r.type!==0&&r.type!==4&&r.type!==5)return!1}this._token=this._scanner.next()}const h=this._scanner.value.substring(u.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),h}_parse(a){return this._parseEscaped(a)||this._parseTabstopOrVariableName(a)||this._parseComplexPlaceholder(a)||this._parseComplexVariable(a)||this._parseAnything(a)}_parseEscaped(a){let u;return(u=this._accept(5,!0))?(u=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||u,a.appendChild(new y(u)),!0):!1}_parseTabstopOrVariableName(a){let u;const h=this._token;return this._accept(0)&&(u=this._accept(9,!0)||this._accept(8,!0))?(a.appendChild(/^\d+$/.test(u)?new S(Number(u)):new C(u)),!0):this._backTo(h)}_parseComplexPlaceholder(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(8,!0))))return this._backTo(h);const c=new S(Number(u));if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else if(c.index>0&&this._accept(7)){const o=new f;for(;;){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(c.appendChild(o),this._accept(4)))return a.appendChild(c),!0}return this._backTo(h),!1}}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseChoiceElement(a){const u=this._token,h=[];for(;!(this._token.type===2||this._token.type===7);){let r;if((r=this._accept(5,!0))?r=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:r=this._accept(void 0,!0),!r)return this._backTo(u),!1;h.push(r)}return h.length===0?(this._backTo(u),!1):(a.appendChild(new y(h.join(""))),!0)}_parseComplexVariable(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(9,!0))))return this._backTo(h);const c=new C(u);if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseTransform(a){const u=new _;let h="",r="";for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(6,!0)||c,h+=c;continue}if(this._token.type!==14){h+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(5,!0)||this._accept(6,!0)||c,u.appendChild(new y(c));continue}if(!(this._parseFormatString(u)||this._parseAnything(u)))return!1}for(;!this._accept(4);){if(this._token.type!==14){r+=this._accept(void 0,!0);continue}return!1}try{u.regexp=new RegExp(h,r)}catch{return!1}return a.transform=u,!0}_parseFormatString(a){const u=this._token;if(!this._accept(0))return!1;let h=!1;this._accept(3)&&(h=!0);const r=this._accept(8,!0);if(r)if(h){if(this._accept(4))return a.appendChild(new g(Number(r))),!0;if(!this._accept(1))return this._backTo(u),!1}else return a.appendChild(new g(Number(r))),!0;else return this._backTo(u),!1;if(this._accept(6)){const c=this._accept(9,!0);return!c||!this._accept(4)?(this._backTo(u),!1):(a.appendChild(new g(Number(r),c)),!0)}else if(this._accept(11)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,c,void 0)),!0}else if(this._accept(12)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}else if(this._accept(13)){const c=this._until(1);if(c){const o=this._until(4);if(o)return a.appendChild(new g(Number(r),void 0,c,o)),!0}}else{const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}return this._backTo(u),!1}_parseAnything(a){return this._token.type!==14?(a.appendChild(new y(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}e.SnippetParser=n}),define(ne[299],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModel=e.StickyElement=e.StickyRange=void 0;class L{constructor(S,f){this.startLineNumber=S,this.endLineNumber=f}}e.StickyRange=L;class k{constructor(S,f,_){this.range=S,this.children=f,this.parent=_}}e.StickyElement=k;class y{constructor(S,f,_,g){this.uri=S,this.version=f,this.element=_,this.outlineProviderId=g}}e.StickyModel=y}),define(ne[300],se([1,0,14,72,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompletionModel=e.LineContext=void 0;class D{constructor(_,g){this.leadingLineContent=_,this.characterCountDelta=g}}e.LineContext=D;class S{constructor(_,g,C,s,i,n,t=k.FuzzyScoreOptions.default,a=void 0){this.clipboardText=a,this._snippetCompareFn=S._compareCompletionItems,this._items=_,this._column=g,this._wordDistance=s,this._options=i,this._refilterKind=1,this._lineContext=C,this._fuzzyScoreOptions=t,n==="top"?this._snippetCompareFn=S._compareCompletionItemsSnippetsUp:n==="bottom"&&(this._snippetCompareFn=S._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(_){(this._lineContext.leadingLineContent!==_.leadingLineContent||this._lineContext.characterCountDelta!==_.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<_.characterCountDelta&&this._filteredItems?2:1,this._lineContext=_)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();const _=new Set;for(const[g,C]of this.getItemsByProvider())C.length>0&&C[0].container.incomplete&&_.add(g);return _}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;const _=[],{leadingLineContent:g,characterCountDelta:C}=this._lineContext;let s="",i="";const n=this._refilterKind===1?this._items:this._filteredItems,t=[],a=!this._options.filterGraceful||n.length>2e3?k.fuzzyScore:k.fuzzyScoreGracefulAggressive;for(let u=0;u=o)h.score=k.FuzzyScore.Default;else if(typeof h.completion.filterText=="string"){const l=a(s,i,d,h.completion.filterText,h.filterTextLow,0,this._fuzzyScoreOptions);if(!l)continue;(0,y.compareIgnoreCase)(h.completion.filterText,h.textLabel)===0?h.score=l:(h.score=(0,k.anyScore)(s,i,d,h.textLabel,h.labelLow,0),h.score[0]=l[0])}else{const l=a(s,i,d,h.textLabel,h.labelLow,0,this._fuzzyScoreOptions);if(!l)continue;h.score=l}}h.idx=u,h.distance=this._wordDistance.distance(h.position,h.completion),t.push(h),_.push(h.textLabel.length)}this._filteredItems=t.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:_.length?(0,L.quickSelect)(_.length-.85,_,(u,h)=>u-h):0}}static _compareCompletionItems(_,g){return _.score[0]>g.score[0]?-1:_.score[0]g.distance?1:_.idxg.idx?1:0}static _compareCompletionItemsSnippetsDown(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return 1;if(g.completion.kind===27)return-1}return S._compareCompletionItems(_,g)}static _compareCompletionItemsSnippetsUp(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return-1;if(g.completion.kind===27)return 1}return S._compareCompletionItems(_,g)}}e.CompletionModel=S}),define(ne[548],se([1,0,14,2,121]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommitCharacterController=void 0;class D{constructor(f,_,g,C){this._disposables=new k.DisposableStore,this._disposables.add(g.onDidSuggest(s=>{s.completionModel.items.length===0&&this.reset()})),this._disposables.add(g.onDidCancel(s=>{this.reset()})),this._disposables.add(_.onDidShow(()=>this._onItem(_.getFocusedItem()))),this._disposables.add(_.onDidFocus(this._onItem,this)),this._disposables.add(_.onDidHide(this.reset,this)),this._disposables.add(f.onWillType(s=>{if(this._active&&!_.isFrozen()&&g.state!==0){const i=s.charCodeAt(s.length-1);this._active.acceptCharacters.has(i)&&f.getOption(0)&&C(this._active.item)}}))}_onItem(f){if(!f||!(0,L.isNonEmptyArray)(f.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===f.item)return;const _=new y.CharacterSet;for(const g of f.item.completion.commitCharacters)g.length>0&&_.add(g.charCodeAt(0));this._active={acceptCharacters:_,item:f}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}e.CommitCharacterController=D}),define(ne[549],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OvertypingCapturer=void 0;class k{constructor(D,S){this._disposables=new L.DisposableStore,this._lastOvertyped=[],this._locked=!1,this._disposables.add(D.onWillType(()=>{if(this._locked||!D.hasModel())return;const f=D.getSelections(),_=f.length;let g=!1;for(let s=0;s<_;s++)if(!f[s].isEmpty()){g=!0;break}if(!g){this._lastOvertyped.length!==0&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];const C=D.getModel();for(let s=0;s<_;s++){const i=f[s];if(C.getValueLengthInRange(i)>k._maxSelectionLength)return;this._lastOvertyped[s]={value:C.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(S.onDidTrigger(f=>{this._locked=!0})),this._disposables.add(S.onDidCancel(f=>{this._locked=!1}))}getLastOvertypedInfo(D){if(D>=0&&D=0?h[r]:h[Math.max(0,~r-1)];let o=s.length;for(const d of s){if(!k.Range.containsRange(d.range,c))break;o-=1}return o}}})}}e.WordDistance=D,D.None=new class extends D{distance(){return 0}}}),define(ne[302],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stateExists=e.findRules=e.substituteMatches=e.createError=e.log=e.sanitize=e.fixCase=e.empty=e.isIAction=e.isString=e.isFuzzyAction=e.isFuzzyActionArr=void 0;function L(t){return Array.isArray(t)}e.isFuzzyActionArr=L;function k(t){return!L(t)}e.isFuzzyAction=k;function y(t){return typeof t=="string"}e.isString=y;function D(t){return!y(t)}e.isIAction=D;function S(t){return!t}e.empty=S;function f(t,a){return t.ignoreCase&&a?a.toLowerCase():a}e.fixCase=f;function _(t){return t.replace(/[&<>'"_]/g,"-")}e.sanitize=_;function g(t,a){console.log(`${t.languageId}: ${a}`)}e.log=g;function C(t,a){return new Error(`${t.languageId}: ${a}`)}e.createError=C;function s(t,a,u,h,r){const c=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let o=null;return a.replace(c,function(d,l,p,m,v,b,w,E,I){return S(p)?S(m)?!S(v)&&v0;){const h=t.tokenizer[u];if(h)return h;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return null}e.findRules=i;function n(t,a){let u=a;for(;u&&u.length>0;){if(t.stateNames[u])return!0;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return!1}e.stateExists=n}),define(ne[550],se([1,0,302]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compile=void 0;function k(t,a){if(!a||!Array.isArray(a))return!1;for(const u of a)if(!t(u))return!1;return!0}function y(t,a){return typeof t=="boolean"?t:a}function D(t,a){return typeof t=="string"?t:a}function S(t){const a={};for(const u of t)a[u]=!0;return a}function f(t,a=!1){a&&(t=t.map(function(h){return h.toLowerCase()}));const u=S(t);return a?function(h){return u[h.toLowerCase()]!==void 0&&u.hasOwnProperty(h.toLowerCase())}:function(h){return u[h]!==void 0&&u.hasOwnProperty(h)}}function _(t,a){a=a.replace(/@@/g,"");let u=0,h;do h=!1,a=a.replace(/@(\w+)/g,function(c,o){h=!0;let d="";if(typeof t[o]=="string")d=t[o];else if(t[o]&&t[o]instanceof RegExp)d=t[o].source;else throw t[o]===void 0?L.createError(t,"language definition does not contain attribute '"+o+"', used at: "+a):L.createError(t,"attribute reference '"+o+"' must be a string, used at: "+a);return L.empty(d)?"":"(?:"+d+")"}),u++;while(h&&u<5);a=a.replace(/\x01/g,"@");const r=(t.ignoreCase?"i":"")+(t.unicode?"u":"");return new RegExp(a,r)}function g(t,a,u,h){if(h<0)return t;if(h=100){h=h-100;const r=u.split(".");if(r.unshift(u),h=0&&(h.tokenSubst=!0),typeof u.bracket=="string")if(u.bracket==="@open")h.bracket=1;else if(u.bracket==="@close")h.bracket=-1;else throw L.createError(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+a);if(u.next){if(typeof u.next!="string")throw L.createError(t,"the next state must be a string value in rule: "+a);{let r=u.next;if(!/^(@pop|@push|@popall)$/.test(r)&&(r[0]==="@"&&(r=r.substr(1)),r.indexOf("$")<0&&!L.stateExists(t,L.substituteMatches(t,r,"",[],""))))throw L.createError(t,"the next state '"+u.next+"' is not defined in rule: "+a);h.next=r}}return typeof u.goBack=="number"&&(h.goBack=u.goBack),typeof u.switchTo=="string"&&(h.switchTo=u.switchTo),typeof u.log=="string"&&(h.log=u.log),typeof u.nextEmbedded=="string"&&(h.nextEmbedded=u.nextEmbedded,t.usesEmbedded=!0),h}}else if(Array.isArray(u)){const h=[];for(let r=0,c=u.length;r0&&h[0]==="^",this.name=this.name+": "+h,this.regex=_(a,"^(?:"+(this.matchOnlyAtLineStart?h.substr(1):h)+")")}setAction(a,u){this.action=s(a,this.name,u)}}function n(t,a){if(!a||typeof a!="object")throw new Error("Monarch: expecting a language definition object");const u={};u.languageId=t,u.includeLF=y(a.includeLF,!1),u.noThrow=!1,u.maxStack=100,u.start=typeof a.start=="string"?a.start:null,u.ignoreCase=y(a.ignoreCase,!1),u.unicode=y(a.unicode,!1),u.tokenPostfix=D(a.tokenPostfix,"."+u.languageId),u.defaultToken=D(a.defaultToken,"source"),u.usesEmbedded=!1;const h=a;h.languageId=t,h.includeLF=u.includeLF,h.ignoreCase=u.ignoreCase,h.unicode=u.unicode,h.noThrow=u.noThrow,h.usesEmbedded=u.usesEmbedded,h.stateNames=a.tokenizer,h.defaultToken=u.defaultToken;function r(o,d,l){for(const p of l){let m=p.include;if(m){if(typeof m!="string")throw L.createError(u,"an 'include' attribute must be a string at: "+o);if(m[0]==="@"&&(m=m.substr(1)),!a.tokenizer[m])throw L.createError(u,"include target '"+m+"' is not defined at: "+o);r(o+"."+m,d,a.tokenizer[m])}else{const v=new i(o);if(Array.isArray(p)&&p.length>=1&&p.length<=3)if(v.setRegex(h,p[0]),p.length>=3)if(typeof p[1]=="string")v.setAction(h,{token:p[1],next:p[2]});else if(typeof p[1]=="object"){const b=p[1];b.next=p[2],v.setAction(h,b)}else throw L.createError(u,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+o);else v.setAction(h,p[1]);else{if(!p.regex)throw L.createError(u,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+o);p.name&&typeof p.name=="string"&&(v.name=p.name),p.matchOnlyAtStart&&(v.matchOnlyAtLineStart=y(p.matchOnlyAtLineStart,!1)),v.setRegex(h,p.regex),v.setAction(h,p.action)}d.push(v)}}}if(!a.tokenizer||typeof a.tokenizer!="object")throw L.createError(u,"a language definition must define the 'tokenizer' attribute as an object");u.tokenizer=[];for(const o in a.tokenizer)if(a.tokenizer.hasOwnProperty(o)){u.start||(u.start=o);const d=a.tokenizer[o];u.tokenizer[o]=new Array,r("tokenizer."+o,u.tokenizer[o],d)}if(u.usesEmbedded=h.usesEmbedded,a.brackets){if(!Array.isArray(a.brackets))throw L.createError(u,"the 'brackets' attribute must be defined as an array")}else a.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const c=[];for(const o of a.brackets){let d=o;if(d&&Array.isArray(d)&&d.length===3&&(d={token:d[2],open:d[0],close:d[1]}),d.open===d.close)throw L.createError(u,"open and close brackets in a 'brackets' attribute must be different: "+d.open+` - hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof d.open=="string"&&typeof d.token=="string"&&typeof d.close=="string")c.push({token:d.token+u.tokenPostfix,open:L.fixCase(u,d.open),close:L.fixCase(u,d.close)});else throw L.createError(u,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return u.brackets=c,u.noThrow=!0,u}e.compile=n}),define(ne[551],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/actionbar/actionViewItems",e)}),define(ne[552],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInput",e)}),define(ne[553],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInputToggles",e)}),define(ne[554],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/replaceInput",e)}),define(ne[555],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/hover/hoverWidget",e)}),define(ne[556],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/iconLabel/iconLabelHover",e)}),define(ne[557],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/inputbox/inputBox",e)}),define(ne[558],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/keybindingLabel/keybindingLabel",e)}),define(ne[559],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/selectBox/selectBoxCustom",e)}),define(ne[560],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/toolbar/toolbar",e)}),define(ne[561],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/tree/abstractTree",e)}),define(ne[562],se([3,4]),function(Q,e){return Q.create("vs/base/common/actions",e)}),define(ne[39],se([1,0,6,2,562]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toAction=e.EmptySubmenuAction=e.SubmenuAction=e.Separator=e.ActionRunner=e.Action=void 0;class D extends k.Disposable{constructor(i,n="",t="",a=!0,u){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=i,this._label=n,this._cssClass=t,this._enabled=a,this._actionCallback=u}get id(){return this._id}get label(){return this._label}set label(i){this._setLabel(i)}_setLabel(i){this._label!==i&&(this._label=i,this._onDidChange.fire({label:i}))}get tooltip(){return this._tooltip||""}set tooltip(i){this._setTooltip(i)}_setTooltip(i){this._tooltip!==i&&(this._tooltip=i,this._onDidChange.fire({tooltip:i}))}get class(){return this._cssClass}set class(i){this._setClass(i)}_setClass(i){this._cssClass!==i&&(this._cssClass=i,this._onDidChange.fire({class:i}))}get enabled(){return this._enabled}set enabled(i){this._setEnabled(i)}_setEnabled(i){this._enabled!==i&&(this._enabled=i,this._onDidChange.fire({enabled:i}))}get checked(){return this._checked}set checked(i){this._setChecked(i)}_setChecked(i){this._checked!==i&&(this._checked=i,this._onDidChange.fire({checked:i}))}run(i,n){return we(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(i))})}}e.Action=D;class S extends k.Disposable{constructor(){super(...arguments),this._onWillRun=this._register(new L.Emitter),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new L.Emitter),this.onDidRun=this._onDidRun.event}run(i,n){return we(this,void 0,void 0,function*(){if(!i.enabled)return;this._onWillRun.fire({action:i});let t;try{yield this.runAction(i,n)}catch(a){t=a}this._onDidRun.fire({action:i,error:t})})}runAction(i,n){return we(this,void 0,void 0,function*(){yield i.run(n)})}}e.ActionRunner=S;class f{constructor(){this.id=f.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...i){let n=[];for(const t of i)t.length&&(n.length?n=[...n,new f,...t]:n=t);return n}run(){return we(this,void 0,void 0,function*(){})}}e.Separator=f,f.ID="vs.actions.separator";class _{get actions(){return this._actions}constructor(i,n,t,a){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=i,this.label=n,this.class=a,this._actions=t}run(){return we(this,void 0,void 0,function*(){})}}e.SubmenuAction=_;class g extends D{constructor(){super(g.ID,y.localize(0,null),void 0,!1)}}e.EmptySubmenuAction=g,g.ID="vs.actions.empty";function C(s){var i,n;return{id:s.id,label:s.label,class:void 0,enabled:(i=s.enabled)!==null&&i!==void 0?i:!0,checked:(n=s.checked)!==null&&n!==void 0?n:!1,run:()=>we(this,void 0,void 0,function*(){return s.run()}),tooltip:s.label}}e.toAction=C}),define(ne[563],se([3,4]),function(Q,e){return Q.create("vs/base/common/errorMessage",e)}),define(ne[564],se([1,0,14,20,563]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toErrorMessage=void 0;function D(g,C){return C&&(g.stack||g.stacktrace)?y.localize(0,null,f(g),S(g.stack)||S(g.stacktrace)):f(g)}function S(g){return Array.isArray(g)?g.join(` -`):g}function f(g){return g.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${g.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof g.code=="string"&&typeof g.errno=="number"&&typeof g.syscall=="string"?y.localize(1,null,g.message):g.message||y.localize(2,null)}function _(g=null,C=!1){if(!g)return y.localize(3,null);if(Array.isArray(g)){const s=L.coalesce(g),i=_(s[0],C);return s.length>1?y.localize(4,null,i,s.length):i}if(k.isString(g))return g;if(g.detail){const s=g.detail;if(s.error)return D(s.error,C);if(s.exception)return D(s.exception,C)}return g.stack?D(g,C):g.message?g.message:y.localize(5,null)}e.toErrorMessage=_}),define(ne[565],se([3,4]),function(Q,e){return Q.create("vs/base/common/keybindingLabels",e)}),define(ne[216],se([1,0,565]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserSettingsLabelProvider=e.ElectronAcceleratorLabelProvider=e.AriaLabelProvider=e.UILabelProvider=e.ModifierLabelProvider=void 0;class k{constructor(S,f,_=f){this.modifierLabels=[null],this.modifierLabels[2]=S,this.modifierLabels[1]=f,this.modifierLabels[3]=_}toLabel(S,f,_){if(f.length===0)return null;const g=[];for(let C=0,s=f.length;C=0,D=r.indexOf("Macintosh")>=0,s=(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,S=r.indexOf("Linux")>=0,n=r?.indexOf("Mobi")>=0,g=!0,t=L.getConfiguredDefaultLocale(L.localize(0,null))||e.LANGUAGE_DEFAULT,a=t,u=navigator.language;else if(typeof c=="object"){y=c.platform==="win32",D=c.platform==="darwin",S=c.platform==="linux",f=S&&!!c.env.SNAP&&!!c.env.SNAP_REVISION,C=o,i=!!c.env.CI||!!c.env.BUILD_ARTIFACTSTAGINGDIRECTORY,t=e.LANGUAGE_DEFAULT,a=e.LANGUAGE_DEFAULT;const b=c.env.VSCODE_NLS_CONFIG;if(b)try{const w=JSON.parse(b),E=w.availableLanguages["*"];t=w.locale,u=w.osLocale,a=E||e.LANGUAGE_DEFAULT,h=w._translationsConfigFile}catch{}_=!0}else console.error("Unable to resolve platform.");let l=0;D?l=1:y?l=3:S&&(l=2),e.isWindows=y,e.isMacintosh=D,e.isLinux=S,e.isNative=_,e.isWeb=g,e.isWebWorker=g&&typeof e.globals.importScripts=="function",e.isIOS=s,e.isMobile=n,e.userAgent=r,e.language=a,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const b=[];e.globals.addEventListener("message",E=>{if(E.data&&E.data.vscodeScheduleAsyncWork)for(let I=0,M=b.length;I{const I=++w;b.push({id:I,callback:E}),e.globals.postMessage({vscodeScheduleAsyncWork:I},"*")}}return b=>setTimeout(b)})(),e.OS=D||s?2:y?1:3;let p=!0,m=!1;function v(){if(!m){m=!0;const b=new Uint8Array(2);b[0]=1,b[1]=2,p=new Uint16Array(b.buffer)[0]===(2<<8)+1}return p}e.isLittleEndian=v,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(ne[217],se([1,0,52,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserFeatures=void 0,e.BrowserFeatures={clipboard:{writeText:k.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:k.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>k.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(ne[44],se([1,0,52,63,119,17]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardKeyboardEvent=void 0;function S(i){if(i.charCode){const t=String.fromCharCode(i.charCode).toUpperCase();return k.KeyCodeUtils.fromString(t)}const n=i.keyCode;if(n===3)return 7;if(L.isFirefox)switch(n){case 59:return 85;case 60:if(D.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(D.isMacintosh)return 57;break}else if(L.isWebKit){if(D.isMacintosh&&n===93)return 57;if(!D.isMacintosh&&n===92)return 57}return k.EVENT_KEY_CODE_MAP[n]||0}const f=D.isMacintosh?256:2048,_=512,g=1024,C=D.isMacintosh?2048:256;class s{constructor(n){this._standardKeyboardEventBrand=!0;const t=n;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=S(t),this.code=t.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._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(n){return this._asKeybinding===n}_computeKeybinding(){let n=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode);let t=0;return this.ctrlKey&&(t|=f),this.altKey&&(t|=_),this.shiftKey&&(t|=g),this.metaKey&&(t|=C),t|=n,t}_computeKeyCodeChord(){let n=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode),new y.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,n)}}e.StandardKeyboardEvent=s}),define(ne[60],se([1,0,52,380,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardWheelEvent=e.StandardMouseEvent=void 0;class D{constructor(_){this.timestamp=Date.now(),this.browserEvent=_,this.leftButton=_.button===0,this.middleButton=_.button===1,this.rightButton=_.button===2,this.buttons=_.buttons,this.target=_.target,this.detail=_.detail||1,_.type==="dblclick"&&(this.detail=2),this.ctrlKey=_.ctrlKey,this.shiftKey=_.shiftKey,this.altKey=_.altKey,this.metaKey=_.metaKey,typeof _.pageX=="number"?(this.posx=_.pageX,this.posy=_.pageY):(this.posx=_.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=_.clientY+document.body.scrollTop+document.documentElement.scrollTop);const g=k.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(window,_.view);this.posx-=g.left,this.posy-=g.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}e.StandardMouseEvent=D;class S{constructor(_,g=0,C=0){if(this.browserEvent=_||null,this.target=_?_.target||_.targetNode||_.srcElement:null,this.deltaY=C,this.deltaX=g,_){const s=_,i=_;if(typeof s.wheelDeltaY<"u")this.deltaY=s.wheelDeltaY/120;else if(typeof i.VERTICAL_AXIS<"u"&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaY=-_.deltaY/3:this.deltaY=-_.deltaY:this.deltaY=-_.deltaY/40}if(typeof s.wheelDeltaX<"u")L.isSafari&&y.isWindows?this.deltaX=-(s.wheelDeltaX/120):this.deltaX=s.wheelDeltaX/120;else if(typeof i.HORIZONTAL_AXIS<"u"&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-_.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaX=-_.deltaX/3:this.deltaX=-_.deltaX:this.deltaX=-_.deltaX/40}this.deltaY===0&&this.deltaX===0&&_.wheelDelta&&(this.deltaY=_.wheelDelta/120)}}preventDefault(){var _;(_=this.browserEvent)===null||_===void 0||_.preventDefault()}stopPropagation(){var _;(_=this.browserEvent)===null||_===void 0||_.stopPropagation()}}e.StandardWheelEvent=S});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[13],se([1,0,19,9,6,2,17,264]),function(Q,e,L,k,y,D,S,f){"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.Throttler=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function _(E){return!!E&&typeof E.then=="function"}e.isThenable=_;function g(E){const I=new L.CancellationTokenSource,M=E(I.token),P=new Promise((x,T)=>{const A=I.token.onCancellationRequested(()=>{A.dispose(),I.dispose(),T(new k.CancellationError)});Promise.resolve(M).then(N=>{A.dispose(),I.dispose(),x(N)},N=>{A.dispose(),I.dispose(),T(N)})});return new class{cancel(){I.cancel()}then(x,T){return P.then(x,T)}catch(x){return this.then(void 0,x)}finally(x){return P.finally(x)}}}e.createCancelablePromise=g;function C(E,I,M){return new Promise((P,x)=>{const T=I.onCancellationRequested(()=>{T.dispose(),P(M)});E.then(P,x).finally(()=>T.dispose())})}e.raceCancellation=C;class s{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(I){if(this.isDisposed)throw new Error("Throttler is disposed");if(this.activePromise){if(this.queuedPromiseFactory=I,!this.queuedPromise){const M=()=>{if(this.queuedPromise=null,this.isDisposed)return;const P=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,P};this.queuedPromise=new Promise(P=>{this.activePromise.then(M,M).then(P)})}return new Promise((M,P)=>{this.queuedPromise.then(M,P)})}return this.activePromise=I(),new Promise((M,P)=>{this.activePromise.then(x=>{this.activePromise=null,M(x)},x=>{this.activePromise=null,P(x)})})}dispose(){this.isDisposed=!0}}e.Throttler=s;const i=(E,I)=>{let M=!0;const P=setTimeout(()=>{M=!1,I()},E);return{isTriggered:()=>M,dispose:()=>{clearTimeout(P),M=!1}}},n=E=>{let I=!0;return queueMicrotask(()=>{I&&(I=!1,E())}),{isTriggered:()=>I,dispose:()=>{I=!1}}};class t{constructor(I){this.defaultDelay=I,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(I,M=this.defaultDelay){this.task=I,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((x,T)=>{this.doResolve=x,this.doReject=T}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const x=this.task;return this.task=null,x()}}));const P=()=>{var x;this.deferred=null,(x=this.doResolve)===null||x===void 0||x.call(this,null)};return this.deferred=M===f.MicrotaskDelay?n(P):i(M,P),this.completionPromise}isTriggered(){var I;return!!(!((I=this.deferred)===null||I===void 0)&&I.isTriggered())}cancel(){var I;this.cancelTimeout(),this.completionPromise&&((I=this.doReject)===null||I===void 0||I.call(this,new k.CancellationError),this.completionPromise=null)}cancelTimeout(){var I;(I=this.deferred)===null||I===void 0||I.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=t;class a{constructor(I){this.delayer=new t(I),this.throttler=new s}trigger(I,M){return this.delayer.trigger(()=>this.throttler.queue(I),M)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}e.ThrottledDelayer=a;function u(E,I){return I?new Promise((M,P)=>{const x=setTimeout(()=>{T.dispose(),M()},E),T=I.onCancellationRequested(()=>{clearTimeout(x),T.dispose(),P(new k.CancellationError)})}):g(M=>u(E,M))}e.timeout=u;function h(E,I=0){const M=setTimeout(E,I);return(0,D.toDisposable)(()=>clearTimeout(M))}e.disposableTimeout=h;function r(E,I=P=>!!P,M=null){let P=0;const x=E.length,T=()=>{if(P>=x)return Promise.resolve(M);const A=E[P++];return Promise.resolve(A()).then(F=>I(F)?Promise.resolve(F):T())};return T()}e.first=r;class c{constructor(I,M){this._token=-1,typeof I=="function"&&typeof M=="number"&&this.setIfNotSet(I,M)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setTimeout(()=>{this._token=-1,I()},M)}setIfNotSet(I,M){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,I()},M))}}e.TimeoutTimer=c;class o{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setInterval(()=>{I()},M)}}e.IntervalTimer=o;class d{constructor(I,M){this.timeoutToken=-1,this.runner=I,this.timeout=M,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(I=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,I)}get delay(){return this.timeout}set delay(I){this.timeout=I}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var I;(I=this.runner)===null||I===void 0||I.call(this)}}e.RunOnceScheduler=d,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=E=>{(0,S.setTimeout0)(()=>{if(I)return;const M=Date.now()+15;E(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,M-Date.now())}}))});let I=!1;return{dispose(){I||(I=!0)}}}:e.runWhenIdle=(E,I)=>{const M=requestIdleCallback(E,typeof I=="number"?{timeout:I}:void 0);let P=!1;return{dispose(){P||(P=!0,cancelIdleCallback(M))}}}}();class l{constructor(I){this._didRun=!1,this._executor=()=>{try{this._value=I()}catch(M){this._error=M}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=l;class p{get isRejected(){var I;return((I=this.outcome)===null||I===void 0?void 0:I.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((I,M)=>{this.completeCallback=I,this.errorCallback=M})}complete(I){return new Promise(M=>{this.completeCallback(I),this.outcome={outcome:0,value:I},M()})}error(I){return new Promise(M=>{this.errorCallback(I),this.outcome={outcome:1,value:I},M()})}cancel(){return this.error(new k.CancellationError)}}e.DeferredPromise=p;var m;(function(E){function I(P){return we(this,void 0,void 0,function*(){let x;const T=yield Promise.all(P.map(A=>A.then(N=>N,N=>{x||(x=N)})));if(typeof x<"u")throw x;return T})}E.settled=I;function M(P){return new Promise((x,T)=>we(this,void 0,void 0,function*(){try{yield P(x,T)}catch(A){T(A)}}))}E.withAsyncBody=M})(m||(e.Promises=m={}));class v{static fromArray(I){return new v(M=>{M.emitMany(I)})}static fromPromise(I){return new v(M=>we(this,void 0,void 0,function*(){M.emitMany(yield I)}))}static fromPromises(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>we(this,void 0,void 0,function*(){return M.emitOne(yield P)})))}))}static merge(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>{var x,T,A;return we(this,void 0,void 0,function*(){var N,F,O,W;try{for(x=!0,T=Lt(P);A=yield T.next(),N=A.done,!N;x=!0){W=A.value,x=!1;const U=W;M.emitOne(U)}}catch(U){F={error:U}}finally{try{!x&&!N&&(O=T.return)&&(yield O.call(T))}finally{if(F)throw F.error}}})}))}))}constructor(I){this._state=0,this._results=[],this._error=null,this._onStateChanged=new y.Emitter,queueMicrotask(()=>we(this,void 0,void 0,function*(){const M={emitOne:P=>this.emitOne(P),emitMany:P=>this.emitMany(P),reject:P=>this.reject(P)};try{yield Promise.resolve(I(M)),this.resolve()}catch(P){this.reject(P)}finally{M.emitOne=void 0,M.emitMany=void 0,M.reject=void 0}}))}[Symbol.asyncIterator](){let I=0;return{next:()=>we(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(Iwe(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;P.emitOne(M(U))}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}map(I){return v.map(this,I)}static filter(I,M){return new v(P=>we(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;M(U)&&P.emitOne(U)}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}filter(I){return v.filter(this,I)}static coalesce(I){return v.filter(I,M=>!!M)}coalesce(){return v.coalesce(this)}static toPromise(I){var M,P,x,T,A,N,F;return we(this,void 0,void 0,function*(){const O=[];try{for(M=!0,P=Lt(I);x=yield P.next(),T=x.done,!T;M=!0){F=x.value,M=!1;const W=F;O.push(W)}}catch(W){A={error:W}}finally{try{!M&&!T&&(N=P.return)&&(yield N.call(P))}finally{if(A)throw A.error}}return O})}toPromise(){return v.toPromise(this)}emitOne(I){this._state===0&&(this._results.push(I),this._onStateChanged.fire())}emitMany(I){this._state===0&&(this._results=this._results.concat(I),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(I){this._state===0&&(this._state=2,this._error=I,this._onStateChanged.fire())}}e.AsyncIterableObject=v,v.EMPTY=v.fromArray([]);class b extends v{constructor(I,M){super(M),this._source=I}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=b;function w(E){const I=new L.CancellationTokenSource,M=E(I.token);return new b(I,P=>we(this,void 0,void 0,function*(){var x,T,A,N;const F=I.token.onCancellationRequested(()=>{F.dispose(),I.dispose(),P.reject(new k.CancellationError)});try{try{for(var O=!0,W=Lt(M),U;U=yield W.next(),x=U.done,!x;O=!0){N=U.value,O=!1;const j=N;if(I.token.isCancellationRequested)return;P.emitOne(j)}}catch(j){T={error:j}}finally{try{!O&&!x&&(A=W.return)&&(yield A.call(W))}finally{if(T)throw T.error}}F.dispose(),I.dispose()}catch(j){F.dispose(),I.dispose(),P.reject(j)}}))}e.createCancelableAsyncIterable=w}),define(ne[567],se([1,0,13,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarVisibilityController=void 0;class y extends k.Disposable{constructor(S,f,_){super(),this._visibility=S,this._visibleClassName=f,this._invisibleClassName=_,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new L.TimeoutTimer)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this._updateShouldBeVisible())}setShouldBeVisible(S){this._rawShouldBeVisible=S,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const S=this._applyVisibilitySetting();this._shouldBeVisible!==S&&(this._shouldBeVisible=S,this.ensureVisibility())}setIsNeeded(S){this._isNeeded!==S&&(this._isNeeded=S,this.ensureVisibility())}setDomNode(S){this._domNode=S,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(()=>{var S;(S=this._domNode)===null||S===void 0||S.setClassName(this._visibleClassName)},0))}_hide(S){var f;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,(f=this._domNode)===null||f===void 0||f.setClassName(this._invisibleClassName+(S?" fade":"")))}}e.ScrollbarVisibilityController=y}),define(ne[218],se([1,0,139,14,13,264,168,6,46]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndexTreeModel=e.getVisibleState=e.isFilterResult=void 0;function g(n){return typeof n=="object"&&"visibility"in n&&"data"in n}e.isFilterResult=g;function C(n){switch(n){case!0:return 1;case!1:return 0;default:return n}}e.getVisibleState=C;function s(n){return typeof n.collapsible=="boolean"}class i{constructor(t,a,u,h={}){this.user=t,this.list=a,this.rootRef=[],this.eventBufferer=new f.EventBufferer,this._onDidChangeCollapseState=new f.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new f.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new f.Emitter,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new y.Delayer(D.MicrotaskDelay),this.collapseByDefault=typeof h.collapseByDefault>"u"?!1:h.collapseByDefault,this.filter=h.filter,this.autoExpandSingleChildren=typeof h.autoExpandSingleChildren>"u"?!1:h.autoExpandSingleChildren,this.root={parent:void 0,element:u,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(t,a,u=_.Iterable.empty(),h={}){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");h.diffIdentityProvider?this.spliceSmart(h.diffIdentityProvider,t,a,u,h):this.spliceSimple(t,a,u,h)}spliceSmart(t,a,u,h,r,c){var o;h===void 0&&(h=_.Iterable.empty()),c===void 0&&(c=(o=r.diffDepth)!==null&&o!==void 0?o:0);const{parentNode:d}=this.getParentNodeWithListIndex(a);if(!d.lastDiffIds)return this.spliceSimple(a,u,h,r);const l=[...h],p=a[a.length-1],m=new S.LcsDiff({getElements:()=>d.lastDiffIds},{getElements:()=>[...d.children.slice(0,p),...l,...d.children.slice(p+u)].map(I=>t.getId(I.element).toString())}).ComputeDiff(!1);if(m.quitEarly)return d.lastDiffIds=void 0,this.spliceSimple(a,u,l,r);const v=a.slice(0,-1),b=(I,M,P)=>{if(c>0)for(let x=0;xP.originalStart-M.originalStart))b(w,E,w-(I.originalStart+I.originalLength)),w=I.originalStart,E=I.modifiedStart-p,this.spliceSimple([...v,w],I.originalLength,_.Iterable.slice(l,E,E+I.modifiedLength),r);b(w,E,w)}spliceSimple(t,a,u=_.Iterable.empty(),{onDidCreateNode:h,onDidDeleteNode:r,diffIdentityProvider:c}){const{parentNode:o,listIndex:d,revealed:l,visible:p}=this.getParentNodeWithListIndex(t),m=[],v=_.Iterable.map(u,F=>this.createTreeNode(F,o,o.visible?1:0,l,m,h)),b=t[t.length-1],w=o.children.length>0;let E=0;for(let F=b;F>=0&&Fc.getId(F.element).toString())):o.lastDiffIds=o.children.map(F=>c.getId(F.element).toString()):o.lastDiffIds=void 0;let T=0;for(const F of x)F.visible&&T++;if(T!==0)for(let F=b+I.length;FO+(W.visible?W.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(o,P-F),this.list.splice(d,F,m)}if(x.length>0&&r){const F=O=>{r(O),O.children.forEach(F)};x.forEach(F)}this._onDidSplice.fire({insertedNodes:I,deletedNodes:x});const A=o.children.length>0;w!==A&&this.setCollapsible(t.slice(0,-1),A);let N=o;for(;N;){if(N.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}N=N.parent}}rerender(t){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");const{node:a,listIndex:u,revealed:h}=this.getTreeNodeWithListIndex(t);a.visible&&h&&this.list.splice(u,1,[a])}has(t){return this.hasTreeNode(t)}getListIndex(t){const{listIndex:a,visible:u,revealed:h}=this.getTreeNodeWithListIndex(t);return u&&h?a:-1}getListRenderCount(t){return this.getTreeNode(t).renderNodeCount}isCollapsible(t){return this.getTreeNode(t).collapsible}setCollapsible(t,a){const u=this.getTreeNode(t);typeof a>"u"&&(a=!u.collapsible);const h={collapsible:a};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,h))}isCollapsed(t){return this.getTreeNode(t).collapsed}setCollapsed(t,a,u){const h=this.getTreeNode(t);typeof a>"u"&&(a=!h.collapsed);const r={collapsed:a,recursive:u||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,r))}_setCollapseState(t,a){const{node:u,listIndex:h,revealed:r}=this.getTreeNodeWithListIndex(t),c=this._setListNodeCollapseState(u,h,r,a);if(u!==this.root&&this.autoExpandSingleChildren&&c&&!s(a)&&u.collapsible&&!u.collapsed&&!a.recursive){let o=-1;for(let d=0;d-1){o=-1;break}else o=d;o>-1&&this._setCollapseState([...t,o],a)}return c}_setListNodeCollapseState(t,a,u,h){const r=this._setNodeCollapseState(t,h,!1);if(!u||!t.visible||!r)return r;const c=t.renderNodeCount,o=this.updateNodeAfterCollapseChange(t),d=c-(a===-1?0:1);return this.list.splice(a+1,d,o.slice(1)),r}_setNodeCollapseState(t,a,u){let h;if(t===this.root?h=!1:(s(a)?(h=t.collapsible!==a.collapsible,t.collapsible=a.collapsible):t.collapsible?(h=t.collapsed!==a.collapsed,t.collapsed=a.collapsed):h=!1,h&&this._onDidChangeCollapseState.fire({node:t,deep:u})),!s(a)&&a.recursive)for(const r of t.children)h=this._setNodeCollapseState(r,a,!0)||h;return h}expandTo(t){this.eventBufferer.bufferEvents(()=>{let a=this.getTreeNode(t);for(;a.parent;)a=a.parent,t=t.slice(0,t.length-1),a.collapsed&&this._setCollapseState(t,{collapsed:!1,recursive:!1})})}refilter(){const t=this.root.renderNodeCount,a=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,t,a),this.refilterDelayer.cancel()}createTreeNode(t,a,u,h,r,c){const o={parent:a,element:t.element,children:[],depth:a.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof t.collapsible=="boolean"?t.collapsible:typeof t.collapsed<"u",collapsed:typeof t.collapsed>"u"?this.collapseByDefault:t.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},d=this._filterNode(o,u);o.visibility=d,h&&r.push(o);const l=t.children||_.Iterable.empty(),p=h&&d!==0&&!o.collapsed;let m=0,v=1;for(const b of l){const w=this.createTreeNode(b,o,d,p,r,c);o.children.push(w),v+=w.renderNodeCount,w.visible&&(w.visibleChildIndex=m++)}return o.collapsible=o.collapsible||o.children.length>0,o.visibleChildrenCount=m,o.visible=d===2?m>0:d===1,o.visible?o.collapsed||(o.renderNodeCount=v):(o.renderNodeCount=0,h&&r.pop()),c?.(o),o}updateNodeAfterCollapseChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterCollapseChange(t,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterCollapseChange(t,a){if(t.visible===!1)return 0;if(a.push(t),t.renderNodeCount=1,!t.collapsed)for(const u of t.children)t.renderNodeCount+=this._updateNodeAfterCollapseChange(u,a);return this._onDidChangeRenderNodeCount.fire(t),t.renderNodeCount}updateNodeAfterFilterChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterFilterChange(t,t.visible?1:0,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterFilterChange(t,a,u,h=!0){let r;if(t!==this.root){if(r=this._filterNode(t,a),r===0)return t.visible=!1,t.renderNodeCount=0,!1;h&&u.push(t)}const c=u.length;t.renderNodeCount=t===this.root?0:1;let o=!1;if(!t.collapsed||r!==0){let d=0;for(const l of t.children)o=this._updateNodeAfterFilterChange(l,r,u,h&&!t.collapsed)||o,l.visible&&(l.visibleChildIndex=d++);t.visibleChildrenCount=d}else t.visibleChildrenCount=0;return t!==this.root&&(t.visible=r===2?o:r===1,t.visibility=r),t.visible?t.collapsed||(t.renderNodeCount+=u.length-c):(t.renderNodeCount=0,h&&u.pop()),this._onDidChangeRenderNodeCount.fire(t),t.visible}_updateAncestorsRenderNodeCount(t,a){if(a!==0)for(;t;)t.renderNodeCount+=a,this._onDidChangeRenderNodeCount.fire(t),t=t.parent}_filterNode(t,a){const u=this.filter?this.filter.filter(t.element,a):1;return typeof u=="boolean"?(t.filterData=void 0,u?1:0):g(u)?(t.filterData=u.data,C(u.visibility)):(t.filterData=void 0,C(u))}hasTreeNode(t,a=this.root){if(!t||t.length===0)return!0;const[u,...h]=t;return u<0||u>a.children.length?!1:this.hasTreeNode(h,a.children[u])}getTreeNode(t,a=this.root){if(!t||t.length===0)return a;const[u,...h]=t;if(u<0||u>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");return this.getTreeNode(h,a.children[u])}getTreeNodeWithListIndex(t){if(t.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:a,listIndex:u,revealed:h,visible:r}=this.getParentNodeWithListIndex(t),c=t[t.length-1];if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");const o=a.children[c];return{node:o,listIndex:u,revealed:h,visible:r&&o.visible}}getParentNodeWithListIndex(t,a=this.root,u=0,h=!0,r=!0){const[c,...o]=t;if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");for(let d=0;d{var a;if(t.element===null)return;const u=t;if(C.add(u.element),this.nodes.set(u.element,u),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.add(h),this.nodesByIdentity.set(h,u)}(a=g.onDidCreateNode)===null||a===void 0||a.call(g,u)},n=t=>{var a;if(t.element===null)return;const u=t;if(C.has(u.element)||this.nodes.delete(u.element),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.has(h)||this.nodesByIdentity.delete(h)}(a=g.onDidDeleteNode)===null||a===void 0||a.call(g,u)};this.model.splice([...f,0],Number.MAX_VALUE,_,Object.assign(Object.assign({},g),{onDidCreateNode:i,onDidDeleteNode:n}))}preserveCollapseState(f=y.Iterable.empty()){return this.sorter&&(f=[...f].sort(this.sorter.compare.bind(this.sorter))),y.Iterable.map(f,_=>{let g=this.nodes.get(_.element);if(!g&&this.identityProvider){const i=this.identityProvider.getId(_.element).toString();g=this.nodesByIdentity.get(i)}if(!g){let i;return typeof _.collapsed>"u"?i=void 0:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed?i=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?i=!1:i=!!_.collapsed,Object.assign(Object.assign({},_),{children:this.preserveCollapseState(_.children),collapsed:i})}const C=typeof _.collapsible=="boolean"?_.collapsible:g.collapsible;let s;return typeof _.collapsed>"u"||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?s=g.collapsed:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed?s=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded?s=!1:s=!!_.collapsed,Object.assign(Object.assign({},_),{collapsible:C,collapsed:s,children:this.preserveCollapseState(_.children)})})}rerender(f){const _=this.getElementLocation(f);this.model.rerender(_)}getFirstElementChild(f=null){const _=this.getElementLocation(f);return this.model.getFirstElementChild(_)}has(f){return this.nodes.has(f)}getListIndex(f){const _=this.getElementLocation(f);return this.model.getListIndex(_)}getListRenderCount(f){const _=this.getElementLocation(f);return this.model.getListRenderCount(_)}isCollapsible(f){const _=this.getElementLocation(f);return this.model.isCollapsible(_)}setCollapsible(f,_){const g=this.getElementLocation(f);return this.model.setCollapsible(g,_)}isCollapsed(f){const _=this.getElementLocation(f);return this.model.isCollapsed(_)}setCollapsed(f,_,g){const C=this.getElementLocation(f);return this.model.setCollapsed(C,_,g)}expandTo(f){const _=this.getElementLocation(f);this.model.expandTo(_)}refilter(){this.model.refilter()}getNode(f=null){if(f===null)return this.model.getNode(this.model.rootRef);const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return _}getNodeLocation(f){return f.element}getParentNodeLocation(f){if(f===null)throw new k.TreeError(this.user,"Invalid getParentNodeLocation call");const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);const g=this.model.getNodeLocation(_),C=this.model.getParentNodeLocation(g);return this.model.getNode(C).element}getElementLocation(f){if(f===null)return[];const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return this.model.getNodeLocation(_)}}e.ObjectTreeModel=D}),define(ne[568],se([1,0,219,139,14,6,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTreeModel=e.DefaultElementMapper=e.CompressedObjectTreeModel=e.decompress=e.compress=void 0;function f(c){const o=[c.element],d=c.incompressible||!1;return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.from(c.children),f),collapsible:c.collapsible,collapsed:c.collapsed}}function _(c){const o=[c.element],d=c.incompressible||!1;let l,p;for(;[p,l]=S.Iterable.consume(S.Iterable.from(c.children),2),!(p.length!==1||p[0].incompressible);)c=p[0],o.push(c.element);return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.concat(p,l),_),collapsible:c.collapsible,collapsed:c.collapsed}}e.compress=_;function g(c,o=0){let d;return og(l,0)),o===0&&c.element.incompressible?{element:c.element.elements[o],children:d,incompressible:!0,collapsible:c.collapsible,collapsed:c.collapsed}:{element:c.element.elements[o],children:d,collapsible:c.collapsible,collapsed:c.collapsed}}function C(c){return g(c,0)}e.decompress=C;function s(c,o,d){return c.element===o?Object.assign(Object.assign({},c),{children:d}):Object.assign(Object.assign({},c),{children:S.Iterable.map(S.Iterable.from(c.children),l=>s(l,o,d))})}const i=c=>({getId(o){return o.elements.map(d=>c.getId(d).toString()).join("\0")}});class n{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(o,d,l={}){this.user=o,this.rootRef=null,this.nodes=new Map,this.model=new L.ObjectTreeModel(o,d,l),this.enabled=typeof l.compressionEnabled>"u"?!0:l.compressionEnabled,this.identityProvider=l.identityProvider}setChildren(o,d=S.Iterable.empty(),l){const p=l.diffIdentityProvider&&i(l.diffIdentityProvider);if(o===null){const T=S.Iterable.map(d,this.enabled?_:f);this._setChildren(null,T,{diffIdentityProvider:p,diffDepth:1/0});return}const m=this.nodes.get(o);if(!m)throw new k.TreeError(this.user,"Unknown compressed tree node");const v=this.model.getNode(m),b=this.model.getParentNodeLocation(m),w=this.model.getNode(b),E=C(v),I=s(E,o,d),M=(this.enabled?_:f)(I),P=l.diffIdentityProvider?(T,A)=>l.diffIdentityProvider.getId(T)===l.diffIdentityProvider.getId(A):void 0;if((0,y.equals)(M.element.elements,v.element.elements,P)){this._setChildren(m,M.children||S.Iterable.empty(),{diffIdentityProvider:p,diffDepth:1});return}const x=w.children.map(T=>T===v?M:T);this._setChildren(w.element,x,{diffIdentityProvider:p,diffDepth:v.depth-w.depth})}setCompressionEnabled(o){if(o===this.enabled)return;this.enabled=o;const l=this.model.getNode().children,p=S.Iterable.map(l,C),m=S.Iterable.map(p,o?_:f);this._setChildren(null,m,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(o,d,l){const p=new Set,m=b=>{for(const w of b.element.elements)p.add(w),this.nodes.set(w,b.element)},v=b=>{for(const w of b.element.elements)p.has(w)||this.nodes.delete(w)};this.model.setChildren(o,d,Object.assign(Object.assign({},l),{onDidCreateNode:m,onDidDeleteNode:v}))}has(o){return this.nodes.has(o)}getListIndex(o){const d=this.getCompressedNode(o);return this.model.getListIndex(d)}getListRenderCount(o){const d=this.getCompressedNode(o);return this.model.getListRenderCount(d)}getNode(o){if(typeof o>"u")return this.model.getNode();const d=this.getCompressedNode(o);return this.model.getNode(d)}getNodeLocation(o){const d=this.model.getNodeLocation(o);return d===null?null:d.elements[d.elements.length-1]}getParentNodeLocation(o){const d=this.getCompressedNode(o),l=this.model.getParentNodeLocation(d);return l===null?null:l.elements[l.elements.length-1]}getFirstElementChild(o){const d=this.getCompressedNode(o);return this.model.getFirstElementChild(d)}isCollapsible(o){const d=this.getCompressedNode(o);return this.model.isCollapsible(d)}setCollapsible(o,d){const l=this.getCompressedNode(o);return this.model.setCollapsible(l,d)}isCollapsed(o){const d=this.getCompressedNode(o);return this.model.isCollapsed(d)}setCollapsed(o,d,l){const p=this.getCompressedNode(o);return this.model.setCollapsed(p,d,l)}expandTo(o){const d=this.getCompressedNode(o);this.model.expandTo(d)}rerender(o){const d=this.getCompressedNode(o);this.model.rerender(d)}refilter(){this.model.refilter()}getCompressedNode(o){if(o===null)return null;const d=this.nodes.get(o);if(!d)throw new k.TreeError(this.user,`Tree element not found: ${o}`);return d}}e.CompressedObjectTreeModel=n;const t=c=>c[c.length-1];e.DefaultElementMapper=t;class a{get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(o=>new a(this.unwrapper,o))}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}constructor(o,d){this.unwrapper=o,this.node=d}}function u(c,o){return{splice(d,l,p){o.splice(d,l,p.map(m=>c.map(m)))},updateElementHeight(d,l){o.updateElementHeight(d,l)}}}function h(c,o){return Object.assign(Object.assign({},o),{identityProvider:o.identityProvider&&{getId(d){return o.identityProvider.getId(c(d))}},sorter:o.sorter&&{compare(d,l){return o.sorter.compare(d.elements[0],l.elements[0])}},filter:o.filter&&{filter(d,l){return o.filter.filter(c(d),l)}}})}class r{get onDidSplice(){return D.Event.map(this.model.onDidSplice,({insertedNodes:o,deletedNodes:d})=>({insertedNodes:o.map(l=>this.nodeMapper.map(l)),deletedNodes:d.map(l=>this.nodeMapper.map(l))}))}get onDidChangeCollapseState(){return D.Event.map(this.model.onDidChangeCollapseState,({node:o,deep:d})=>({node:this.nodeMapper.map(o),deep:d}))}get onDidChangeRenderNodeCount(){return D.Event.map(this.model.onDidChangeRenderNodeCount,o=>this.nodeMapper.map(o))}constructor(o,d,l={}){this.rootRef=null,this.elementMapper=l.elementMapper||e.DefaultElementMapper;const p=m=>this.elementMapper(m.elements);this.nodeMapper=new k.WeakMapper(m=>new a(p,m)),this.model=new n(o,u(this.nodeMapper,d),h(p,l))}setChildren(o,d=S.Iterable.empty(),l={}){this.model.setChildren(o,d,l)}setCompressionEnabled(o){this.model.setCompressionEnabled(o)}has(o){return this.model.has(o)}getListIndex(o){return this.model.getListIndex(o)}getListRenderCount(o){return this.model.getListRenderCount(o)}getNode(o){return this.nodeMapper.map(this.model.getNode(o))}getNodeLocation(o){return o.element}getParentNodeLocation(o){return this.model.getParentNodeLocation(o)}getFirstElementChild(o){const d=this.model.getFirstElementChild(o);return d===null||typeof d>"u"?d:this.elementMapper(d.elements)}isCollapsible(o){return this.model.isCollapsible(o)}setCollapsible(o,d){return this.model.setCollapsible(o,d)}isCollapsed(o){return this.model.isCollapsed(o)}setCollapsed(o,d,l){return this.model.setCollapsed(o,d,l)}expandTo(o){return this.model.expandTo(o)}rerender(o){return this.model.rerender(o)}refilter(){return this.model.refilter()}getCompressedTreeNode(o=null){return this.model.getNode(o)}}e.CompressibleObjectTreeModel=r}),define(ne[569],se([1,0,17]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.platform=e.env=e.cwd=void 0;let k;if(typeof L.globals.vscode<"u"&&typeof L.globals.vscode.process<"u"){const y=L.globals.vscode.process;k={get platform(){return y.platform},get arch(){return y.arch},get env(){return y.env},cwd(){return y.cwd()}}}else typeof process<"u"?k={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:k={get platform(){return L.isWindows?"win32":L.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=k.cwd,e.env=k.env,e.platform=k.platform}),define(ne[92],se([1,0,569]),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 k=65,y=97,D=90,S=122,f=46,_=47,g=92,C=58,s=63;class i extends Error{constructor(p,m,v){let b;typeof m=="string"&&m.indexOf("not ")===0?(b="must not be",m=m.replace(/^not /,"")):b="must be";const w=p.indexOf(".")!==-1?"property":"argument";let E=`The "${p}" ${w} ${b} of type ${m}`;E+=`. Received type ${typeof v}`,super(E),this.code="ERR_INVALID_ARG_TYPE"}}function n(l,p){if(l===null||typeof l!="object")throw new i(p,"Object",l)}function t(l,p){if(typeof l!="string")throw new i(p,"string",l)}const a=L.platform==="win32";function u(l){return l===_||l===g}function h(l){return l===_}function r(l){return l>=k&&l<=D||l>=y&&l<=S}function c(l,p,m,v){let b="",w=0,E=-1,I=0,M=0;for(let P=0;P<=l.length;++P){if(P2){const x=b.lastIndexOf(m);x===-1?(b="",w=0):(b=b.slice(0,x),w=b.length-1-b.lastIndexOf(m)),E=P,I=0;continue}else if(b.length!==0){b="",w=0,E=P,I=0;continue}}p&&(b+=b.length>0?`${m}..`:"..",w=2)}else b.length>0?b+=`${m}${l.slice(E+1,P)}`:b=l.slice(E+1,P),w=P-E-1;E=P,I=0}else M===f&&I!==-1?++I:I=-1}return b}function o(l,p){n(p,"pathObject");const m=p.dir||p.root,v=p.base||`${p.name||""}${p.ext||""}`;return m?m===p.root?`${m}${v}`:`${m}${l}${v}`:v}e.win32={resolve(...l){let p="",m="",v=!1;for(let b=l.length-1;b>=-1;b--){let w;if(b>=0){if(w=l[b],t(w,"path"),w.length===0)continue}else p.length===0?w=L.cwd():(w=L.env[`=${p}`]||L.cwd(),(w===void 0||w.slice(0,2).toLowerCase()!==p.toLowerCase()&&w.charCodeAt(2)===g)&&(w=`${p}\\`));const E=w.length;let I=0,M="",P=!1;const x=w.charCodeAt(0);if(E===1)u(x)&&(I=1,P=!0);else if(u(x))if(P=!0,u(w.charCodeAt(1))){let T=2,A=T;for(;T2&&u(w.charCodeAt(2))&&(P=!0,I=3));if(M.length>0)if(p.length>0){if(M.toLowerCase()!==p.toLowerCase())continue}else p=M;if(v){if(p.length>0)break}else if(m=`${w.slice(I)}\\${m}`,v=P,P&&p.length>0)break}return m=c(m,!v,"\\",u),v?`${p}\\${m}`:`${p}${m}`||"."},normalize(l){t(l,"path");const p=l.length;if(p===0)return".";let m=0,v,b=!1;const w=l.charCodeAt(0);if(p===1)return h(w)?"\\":l;if(u(w))if(b=!0,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))&&(b=!0,m=3));let E=m0&&u(l.charCodeAt(p-1))&&(E+="\\"),v===void 0?b?`\\${E}`:E:b?`${v}\\${E}`:`${v}${E}`},isAbsolute(l){t(l,"path");const p=l.length;if(p===0)return!1;const m=l.charCodeAt(0);return u(m)||p>2&&r(m)&&l.charCodeAt(1)===C&&u(l.charCodeAt(2))},join(...l){if(l.length===0)return".";let p,m;for(let w=0;w0&&(p===void 0?p=m=E:p+=`\\${E}`)}if(p===void 0)return".";let v=!0,b=0;if(typeof m=="string"&&u(m.charCodeAt(0))){++b;const w=m.length;w>1&&u(m.charCodeAt(1))&&(++b,w>2&&(u(m.charCodeAt(2))?++b:v=!1))}if(v){for(;b=2&&(p=`\\${p.slice(b)}`)}return e.win32.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p)return"";const m=e.win32.resolve(l),v=e.win32.resolve(p);if(m===v||(l=m.toLowerCase(),p=v.toLowerCase(),l===p))return"";let b=0;for(;bb&&l.charCodeAt(w-1)===g;)w--;const E=w-b;let I=0;for(;II&&p.charCodeAt(M-1)===g;)M--;const P=M-I,x=Ex){if(p.charCodeAt(I+A)===g)return v.slice(I+A+1);if(A===2)return v.slice(I+A)}E>x&&(l.charCodeAt(b+A)===g?T=A:A===2&&(T=3)),T===-1&&(T=0)}let N="";for(A=b+T+1;A<=w;++A)(A===w||l.charCodeAt(A)===g)&&(N+=N.length===0?"..":"\\..");return I+=T,N.length>0?`${N}${v.slice(I,M)}`:(v.charCodeAt(I)===g&&++I,v.slice(I,M))},toNamespacedPath(l){if(typeof l!="string"||l.length===0)return l;const p=e.win32.resolve(l);if(p.length<=2)return l;if(p.charCodeAt(0)===g){if(p.charCodeAt(1)===g){const m=p.charCodeAt(2);if(m!==s&&m!==f)return`\\\\?\\UNC\\${p.slice(2)}`}}else if(r(p.charCodeAt(0))&&p.charCodeAt(1)===C&&p.charCodeAt(2)===g)return`\\\\?\\${p}`;return l},dirname(l){t(l,"path");const p=l.length;if(p===0)return".";let m=-1,v=0;const b=l.charCodeAt(0);if(p===1)return u(b)?l:".";if(u(b)){if(m=v=1,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))?3:2,v=m);let w=-1,E=!0;for(let I=p-1;I>=v;--I)if(u(l.charCodeAt(I))){if(!E){w=I;break}}else E=!1;if(w===-1){if(m===-1)return".";w=m}return l.slice(0,w)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(l.length>=2&&r(l.charCodeAt(0))&&l.charCodeAt(1)===C&&(m=2),p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=m;--w){const M=l.charCodeAt(w);if(u(M)){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=m;--w)if(u(l.charCodeAt(w))){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=0,m=-1,v=0,b=-1,w=!0,E=0;l.length>=2&&l.charCodeAt(1)===C&&r(l.charCodeAt(0))&&(p=v=2);for(let I=l.length-1;I>=p;--I){const M=l.charCodeAt(I);if(u(M)){if(!w){v=I+1;break}continue}b===-1&&(w=!1,b=I+1),M===f?m===-1?m=I:E!==1&&(E=1):m!==-1&&(E=-1)}return m===-1||b===-1||E===0||E===1&&m===b-1&&m===v+1?"":l.slice(m,b)},format:o.bind(null,"\\"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.length;let v=0,b=l.charCodeAt(0);if(m===1)return u(b)?(p.root=p.dir=l,p):(p.base=p.name=l,p);if(u(b)){if(v=1,u(l.charCodeAt(1))){let T=2,A=T;for(;T0&&(p.root=l.slice(0,v));let w=-1,E=v,I=-1,M=!0,P=l.length-1,x=0;for(;P>=v;--P){if(b=l.charCodeAt(P),u(b)){if(!M){E=P+1;break}continue}I===-1&&(M=!1,I=P+1),b===f?w===-1?w=P:x!==1&&(x=1):w!==-1&&(x=-1)}return I!==-1&&(w===-1||x===0||x===1&&w===I-1&&w===E+1?p.base=p.name=l.slice(E,I):(p.name=l.slice(E,w),p.base=l.slice(E,I),p.ext=l.slice(w,I))),E>0&&E!==v?p.dir=l.slice(0,E-1):p.dir=p.root,p},sep:"\\",delimiter:";",win32:null,posix:null};const d=(()=>{if(a){const l=/\\/g;return()=>{const p=L.cwd().replace(l,"/");return p.slice(p.indexOf("/"))}}return()=>L.cwd()})();e.posix={resolve(...l){let p="",m=!1;for(let v=l.length-1;v>=-1&&!m;v--){const b=v>=0?l[v]:d();t(b,"path"),b.length!==0&&(p=`${b}/${p}`,m=b.charCodeAt(0)===_)}return p=c(p,!m,"/",h),m?`/${p}`:p.length>0?p:"."},normalize(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_,m=l.charCodeAt(l.length-1)===_;return l=c(l,!p,"/",h),l.length===0?p?"/":m?"./":".":(m&&(l+="/"),p?`/${l}`:l)},isAbsolute(l){return t(l,"path"),l.length>0&&l.charCodeAt(0)===_},join(...l){if(l.length===0)return".";let p;for(let m=0;m0&&(p===void 0?p=v:p+=`/${v}`)}return p===void 0?".":e.posix.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p||(l=e.posix.resolve(l),p=e.posix.resolve(p),l===p))return"";const m=1,v=l.length,b=v-m,w=1,E=p.length-w,I=bI){if(p.charCodeAt(w+P)===_)return p.slice(w+P+1);if(P===0)return p.slice(w+P)}else b>I&&(l.charCodeAt(m+P)===_?M=P:P===0&&(M=0));let x="";for(P=m+M+1;P<=v;++P)(P===v||l.charCodeAt(P)===_)&&(x+=x.length===0?"..":"/..");return`${x}${p.slice(w+M)}`},toNamespacedPath(l){return l},dirname(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_;let m=-1,v=!0;for(let b=l.length-1;b>=1;--b)if(l.charCodeAt(b)===_){if(!v){m=b;break}}else v=!1;return m===-1?p?"/":".":p&&m===1?"//":l.slice(0,m)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=0;--w){const M=l.charCodeAt(w);if(M===_){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=0;--w)if(l.charCodeAt(w)===_){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=-1,m=0,v=-1,b=!0,w=0;for(let E=l.length-1;E>=0;--E){const I=l.charCodeAt(E);if(I===_){if(!b){m=E+1;break}continue}v===-1&&(b=!1,v=E+1),I===f?p===-1?p=E:w!==1&&(w=1):p!==-1&&(w=-1)}return p===-1||v===-1||w===0||w===1&&p===v-1&&p===m+1?"":l.slice(p,v)},format:o.bind(null,"/"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.charCodeAt(0)===_;let v;m?(p.root="/",v=1):v=0;let b=-1,w=0,E=-1,I=!0,M=l.length-1,P=0;for(;M>=v;--M){const x=l.charCodeAt(M);if(x===_){if(!I){w=M+1;break}continue}E===-1&&(I=!1,E=M+1),x===f?b===-1?b=M:P!==1&&(P=1):b!==-1&&(P=-1)}if(E!==-1){const x=w===0&&m?1:w;b===-1||P===0||P===1&&b===E-1&&b===w+1?p.base=p.name=l.slice(x,E):(p.name=l.slice(x,b),p.base=l.slice(x,E),p.ext=l.slice(b,E))}return w>0?p.dir=l.slice(0,w-1):m&&(p.dir="/"),p},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=a?e.win32.normalize:e.posix.normalize,e.resolve=a?e.win32.resolve:e.posix.resolve,e.relative=a?e.win32.relative:e.posix.relative,e.dirname=a?e.win32.dirname:e.posix.dirname,e.basename=a?e.win32.basename:e.posix.basename,e.extname=a?e.win32.extname:e.posix.extname,e.sep=a?e.win32.sep:e.posix.sep}),define(ne[220],se([1,0,92,17,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasDriveLetter=e.isWindowsDriveLetter=e.isEqualOrParent=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function D(i){return i===47||i===92}e.isPathSeparator=D;function S(i){return i.replace(/[\\/]/g,L.posix.sep)}e.toSlashes=S;function f(i){return i.indexOf("/")===-1&&(i=S(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=f;function _(i,n=L.posix.sep){if(!i)return"";const t=i.length,a=i.charCodeAt(0);if(D(a)){if(D(i.charCodeAt(1))&&!D(i.charCodeAt(2))){let h=3;const r=h;for(;hi.length)return!1;if(t){if(!(0,y.startsWithIgnoreCase)(i,n))return!1;if(n.length===i.length)return!0;let h=n.length;return n.charAt(n.length-1)===a&&h--,i.charAt(h)===a}return n.charAt(n.length-1)!==a&&(n+=a),i.indexOf(n)===0}e.isEqualOrParent=g;function C(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=C;function s(i,n=k.isWindows){return n?C(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=s}),define(ne[570],se([1,0,72,92,17,11]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieceToQuery=e.prepareQuery=e.scoreFuzzy2=void 0;const S=[void 0,[]];function f(r,c,o=0,d=0){const l=c;return l.values&&l.values.length>1?_(r,l.values,o,d):g(r,c,o,d)}e.scoreFuzzy2=f;function _(r,c,o,d){let l=0;const p=[];for(const m of c){const[v,b]=g(r,m,o,d);if(typeof v!="number")return S;l+=v,p.push(...b)}return[l,s(p)]}function g(r,c,o,d){const l=(0,L.fuzzyScore)(c.original,c.originalLowercase,o,r,r.toLowerCase(),d,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return l?[l[0],(0,L.createMatches)(l)]:S}const C=Object.freeze({score:0});function s(r){const c=r.sort((l,p)=>l.start-p.start),o=[];let d;for(const l of c)!d||!i(d,l)?(d=l,o.push(l)):(d.start=Math.min(d.start,l.start),d.end=Math.max(d.end,l.end));return o}function i(r,c){return!(r.end=0,m=n(r);let v;const b=r.split(t);if(b.length>1)for(const w of b){const E=n(w),{pathNormalized:I,normalized:M,normalizedLowercase:P}=u(w);M&&(v||(v=[]),v.push({original:w,originalLowercase:w.toLowerCase(),pathNormalized:I,normalized:M,normalizedLowercase:P,expectContiguousMatch:E}))}return{original:r,originalLowercase:c,pathNormalized:o,normalized:d,normalizedLowercase:l,values:v,containsPathSeparator:p,expectContiguousMatch:m}}e.prepareQuery=a;function u(r){let c;y.isWindows?c=r.replace(/\//g,k.sep):c=r.replace(/\\/g,k.sep);const o=(0,D.stripWildcards)(c).replace(/\s|"/g,"");return{pathNormalized:c,normalized:o,normalizedLowercase:o.toLowerCase()}}function h(r){return Array.isArray(r)?a(r.map(c=>c.original).join(t)):a(r.original)}e.pieceToQuery=h}),define(ne[303],se([1,0,13,220,65,92,17,11]),function(Q,e,L,k,y,D,S,f){"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 _="[/\\\\]",g="[^/\\\\]",C=/\//g;function s(O,W){switch(O){case 0:return"";case 1:return`${g}*?`;default:return`(?:${_}|${g}+${_}${W?`|${_}${g}+`:""})*?`}}function i(O,W){if(!O)return[];const U=[];let j=!1,R=!1,K="";for(const G of O){switch(G){case W:if(!j&&!R){U.push(K),K="";continue}break;case"{":j=!0;break;case"}":j=!1;break;case"[":R=!0;break;case"]":R=!1;break}K+=G}return K&&U.push(K),U}e.splitGlobAware=i;function n(O){if(!O)return"";let W="";const U=i(O,e.GLOB_SPLIT);if(U.every(j=>j===e.GLOBSTAR))W=".*";else{let j=!1;U.forEach((R,K)=>{if(R===e.GLOBSTAR){if(j)return;W+=s(2,K===U.length-1)}else{let G=!1,Z="",J=!1,X="";for(const H of R){if(H!=="}"&&G){Z+=H;continue}if(J&&(H!=="]"||!X)){let B;H==="-"?B=H:(H==="^"||H==="!")&&!X?B="^":H===e.GLOB_SPLIT?B="":B=(0,f.escapeRegExpCharacters)(H),X+=B;continue}switch(H){case"{":G=!0;continue;case"[":J=!0;continue;case"}":{const V=`(?:${i(Z,",").map(Y=>n(Y)).join("|")})`;W+=V,G=!1,Z="";break}case"]":{W+="["+X+"]",J=!1,X="";break}case"?":W+=g;continue;case"*":W+=s(1);continue;default:W+=(0,f.escapeRegExpCharacters)(H)}}Kp(Z,W)).filter(Z=>Z!==l),O),j=U.length;if(!j)return l;if(j===1)return U[0];const R=function(Z,J){for(let X=0,H=U.length;X!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function I(O,W,U){const j=D.sep===D.posix.sep,R=j?O:O.replace(C,D.sep),K=D.sep+R,G=D.posix.sep+O;let Z;return U?Z=function(J,X){return typeof J=="string"&&(J===R||J.endsWith(K)||!j&&(J===O||J.endsWith(G)))?W:null}:Z=function(J,X){return typeof J=="string"&&(J===R||!j&&J===O)?W:null},Z.allPaths=[(U?"*/":"./")+O],Z}function M(O){try{const W=new RegExp(`^${n(O)}$`);return function(U){return W.lastIndex=0,typeof U=="string"&&W.test(U)?O:null}}catch{return l}}function P(O,W,U){return!O||typeof W!="string"?!1:x(O)(W,void 0,U)}e.match=P;function x(O,W={}){if(!O)return d;if(typeof O=="string"||T(O)){const U=p(O,W);if(U===l)return d;const j=function(R,K){return!!U(R,K)};return U.allBasenames&&(j.allBasenames=U.allBasenames),U.allPaths&&(j.allPaths=U.allPaths),j}return A(O,W)}e.parse=x;function T(O){const W=O;return W?typeof W.base=="string"&&typeof W.pattern=="string":!1}e.isRelativePattern=T;function A(O,W){const U=F(Object.getOwnPropertyNames(O).map(Z=>N(Z,O[Z],W)).filter(Z=>Z!==l)),j=U.length;if(!j)return l;if(!U.some(Z=>!!Z.requiresSiblings)){if(j===1)return U[0];const Z=function(H,B){let V;for(let Y=0,ie=U.length;Ywe(this,void 0,void 0,function*(){for(const Y of V){const ie=yield Y;if(typeof ie=="string")return ie}return null}))():null},J=U.find(H=>!!H.allBasenames);J&&(Z.allBasenames=J.allBasenames);const X=U.reduce((H,B)=>B.allPaths?H.concat(B.allPaths):H,[]);return X.length&&(Z.allPaths=X),Z}const R=function(Z,J,X){let H,B;for(let V=0,Y=U.length;Vwe(this,void 0,void 0,function*(){for(const V of B){const Y=yield V;if(typeof Y=="string")return Y}return null}))():null},K=U.find(Z=>!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function N(O,W,U){if(W===!1)return l;const j=p(O,U);if(j===l)return l;if(typeof W=="boolean")return j;if(W){const R=W.when;if(typeof R=="string"){const K=(G,Z,J,X)=>{if(!X||!j(G,Z))return null;const H=R.replace("$(basename)",()=>J),B=X(H);return(0,L.isThenable)(B)?B.then(V=>V?O:null):B?O:null};return K.requiresSiblings=!0,K}}return j}function F(O,W){const U=O.filter(Z=>!!Z.basenames);if(U.length<2)return O;const j=U.reduce((Z,J)=>{const X=J.basenames;return X?Z.concat(X):Z},[]);let R;if(W){R=[];for(let Z=0,J=j.length;Z{const X=J.patterns;return X?Z.concat(X):Z},[]);const K=function(Z,J){if(typeof Z!="string")return null;if(!J){let H;for(H=Z.length;H>0;H--){const B=Z.charCodeAt(H-1);if(B===47||B===92)break}J=Z.substr(H)}const X=j.indexOf(J);return X!==-1?R[X]:null};K.basenames=j,K.patterns=R,K.allBasenames=j;const G=O.filter(Z=>!Z.basenames);return G.push(K),G}}),define(ne[571],se([1,0,220,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeDriveLetter=void 0;function y(S,f=k.isWindows){return(0,L.hasDriveLetter)(S,f)?S.charAt(0).toUpperCase()+S.slice(1):S}e.normalizeDriveLetter=y;let D=Object.create(null)}),define(ne[22],se([1,0,92,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const y=/^\w[\w\d+.-]*$/,D=/^\//,S=/^\/\//;function f(m,v){if(!m.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${m.authority}", path: "${m.path}", query: "${m.query}", fragment: "${m.fragment}"}`);if(m.scheme&&!y.test(m.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(m.path){if(m.authority){if(!D.test(m.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(S.test(m.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function _(m,v){return!m&&!v?"file":m}function g(m,v){switch(m){case"https":case"http":case"file":v?v[0]!==s&&(v=s+v):v=s;break}return v}const C="",s="/",i=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class n{static isUri(v){return v instanceof n?!0:v?typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function":!1}constructor(v,b,w,E,I,M=!1){typeof v=="object"?(this.scheme=v.scheme||C,this.authority=v.authority||C,this.path=v.path||C,this.query=v.query||C,this.fragment=v.fragment||C):(this.scheme=_(v,M),this.authority=b||C,this.path=g(this.scheme,w||C),this.query=E||C,this.fragment=I||C,f(this,M))}get fsPath(){return c(this,!1)}with(v){if(!v)return this;let{scheme:b,authority:w,path:E,query:I,fragment:M}=v;return b===void 0?b=this.scheme:b===null&&(b=C),w===void 0?w=this.authority:w===null&&(w=C),E===void 0?E=this.path:E===null&&(E=C),I===void 0?I=this.query:I===null&&(I=C),M===void 0?M=this.fragment:M===null&&(M=C),b===this.scheme&&w===this.authority&&E===this.path&&I===this.query&&M===this.fragment?this:new a(b,w,E,I,M)}static parse(v,b=!1){const w=i.exec(v);return w?new a(w[2]||C,p(w[4]||C),p(w[5]||C),p(w[7]||C),p(w[9]||C),b):new a(C,C,C,C,C)}static file(v){let b=C;if(k.isWindows&&(v=v.replace(/\\/g,s)),v[0]===s&&v[1]===s){const w=v.indexOf(s,2);w===-1?(b=v.substring(2),v=s):(b=v.substring(2,w),v=v.substring(w)||s)}return new a("file",b,v,C,C)}static from(v,b){return new a(v.scheme,v.authority,v.path,v.query,v.fragment,b)}static joinPath(v,...b){if(!v.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let w;return k.isWindows&&v.scheme==="file"?w=n.file(L.win32.join(c(v,!0),...b)).path:w=L.posix.join(v.path,...b),v.with({path:w})}toString(v=!1){return o(this,v)}toJSON(){return this}static revive(v){var b,w;if(v){if(v instanceof n)return v;{const E=new a(v);return E._formatted=(b=v.external)!==null&&b!==void 0?b:null,E._fsPath=v._sep===t&&(w=v.fsPath)!==null&&w!==void 0?w:null,E}}else return v}}e.URI=n;const t=k.isWindows?1:void 0;class a extends n{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=c(this,!1)),this._fsPath}toString(v=!1){return v?o(this,!0):(this._formatted||(this._formatted=o(this,!1)),this._formatted)}toJSON(){const v={$mid:1};return this._fsPath&&(v.fsPath=this._fsPath,v._sep=t),this._formatted&&(v.external=this._formatted),this.path&&(v.path=this.path),this.scheme&&(v.scheme=this.scheme),this.authority&&(v.authority=this.authority),this.query&&(v.query=this.query),this.fragment&&(v.fragment=this.fragment),v}}const u={[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 h(m,v,b){let w,E=-1;for(let I=0;I=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||v&&M===47||b&&M===91||b&&M===93||b&&M===58)E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w!==void 0&&(w+=m.charAt(I));else{w===void 0&&(w=m.substr(0,I));const P=u[M];P!==void 0?(E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w+=P):E===-1&&(E=I)}}return E!==-1&&(w+=encodeURIComponent(m.substring(E))),w!==void 0?w:m}function r(m){let v;for(let b=0;b1&&m.scheme==="file"?b=`//${m.authority}${m.path}`:m.path.charCodeAt(0)===47&&(m.path.charCodeAt(1)>=65&&m.path.charCodeAt(1)<=90||m.path.charCodeAt(1)>=97&&m.path.charCodeAt(1)<=122)&&m.path.charCodeAt(2)===58?v?b=m.path.substr(1):b=m.path[1].toLowerCase()+m.path.substr(2):b=m.path,k.isWindows&&(b=b.replace(/\//g,"\\")),b}e.uriToFsPath=c;function o(m,v){const b=v?r:h;let w="",{scheme:E,authority:I,path:M,query:P,fragment:x}=m;if(E&&(w+=E,w+=":"),(I||E==="file")&&(w+=s,w+=s),I){let T=I.indexOf("@");if(T!==-1){const A=I.substr(0,T);I=I.substr(T+1),T=A.lastIndexOf(":"),T===-1?w+=b(A,!1,!1):(w+=b(A.substr(0,T),!1,!1),w+=":",w+=b(A.substr(T+1),!1,!0)),w+="@"}I=I.toLowerCase(),T=I.lastIndexOf(":"),T===-1?w+=b(I,!1,!0):(w+=b(I.substr(0,T),!1,!0),w+=I.substr(T))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const T=M.charCodeAt(1);T>=65&&T<=90&&(M=`/${String.fromCharCode(T+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const T=M.charCodeAt(0);T>=65&&T<=90&&(M=`${String.fromCharCode(T+32)}:${M.substr(2)}`)}w+=b(M,!0,!1)}return P&&(w+="?",w+=b(P,!1,!1)),x&&(w+="#",w+=v?x:h(x,!1,!1)),w}function d(m){try{return decodeURIComponent(m)}catch{return m.length>3?m.substr(0,3)+d(m.substr(3)):m}}const l=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function p(m){return m.match(l)?m.replace(l,v=>d(v)):m}}),define(ne[221],se([1,0,140,22]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=e.stringify=void 0;function y(_){return JSON.stringify(_,S)}e.stringify=y;function D(_){let g=JSON.parse(_);return g=f(g),g}e.parse=D;function S(_,g){return g instanceof RegExp?{$mid:2,source:g.source,flags:g.flags}:g}function f(_,g=0){if(!_||g>200)return _;if(typeof _=="object"){switch(_.$mid){case 1:return k.URI.revive(_);case 2:return new RegExp(_.source,_.flags);case 16:return new Date(_.source)}if(_ instanceof L.VSBuffer||_ instanceof Uint8Array)return _;if(Array.isArray(_))for(let C=0;C<_.length;++C)_[C]=f(_[C],g+1);else for(const C in _)Object.hasOwnProperty.call(_,C)&&(_[C]=f(_[C],g+1))}return _}e.revive=f}),define(ne[54],se([1,0,9,17,22]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.RemoteAuthorities=e.connectionTokenQueryName=e.Schemas=void 0;var D;(function(g){g.inMemory="inmemory",g.vscode="vscode",g.internal="private",g.walkThrough="walkThrough",g.walkThroughSnippet="walkThroughSnippet",g.http="http",g.https="https",g.file="file",g.mailto="mailto",g.untitled="untitled",g.data="data",g.command="command",g.vscodeRemote="vscode-remote",g.vscodeRemoteResource="vscode-remote-resource",g.vscodeManagedRemoteResource="vscode-managed-remote-resource",g.vscodeUserData="vscode-userdata",g.vscodeCustomEditor="vscode-custom-editor",g.vscodeNotebookCell="vscode-notebook-cell",g.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",g.vscodeNotebookCellOutput="vscode-notebook-cell-output",g.vscodeInteractiveInput="vscode-interactive-input",g.vscodeSettings="vscode-settings",g.vscodeWorkspaceTrust="vscode-workspace-trust",g.vscodeTerminal="vscode-terminal",g.vscodeChatSesssion="vscode-chat-editor",g.webviewPanel="webview-panel",g.vscodeWebview="vscode-webview",g.extension="extension",g.vscodeFileResource="vscode-file",g.tmp="tmp",g.vsls="vsls",g.vscodeSourceControl="vscode-scm"})(D||(e.Schemas=D={})),e.connectionTokenQueryName="tkn";class S{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${D.vscodeRemoteResource}`}setPreferredWebSchema(C){this._preferredWebSchema=C}rewrite(C){if(this._delegate)try{return this._delegate(C)}catch(u){return L.onUnexpectedError(u),C}const s=C.authority;let i=this._hosts[s];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);const n=this._ports[s],t=this._connectionTokens[s];let a=`path=${encodeURIComponent(C.path)}`;return typeof t=="string"&&(a+=`&${e.connectionTokenQueryName}=${encodeURIComponent(t)}`),y.URI.from({scheme:k.isWeb?this._preferredWebSchema:D.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:a})}}e.RemoteAuthorities=new S;class f{uriToBrowserUri(C){return C.scheme===D.vscodeRemote?e.RemoteAuthorities.rewrite(C):C.scheme===D.file&&(k.isNative||k.isWebWorker&&k.globals.origin===`${D.vscodeFileResource}://${f.FALLBACK_AUTHORITY}`)?C.with({scheme:D.vscodeFileResource,authority:C.authority||f.FALLBACK_AUTHORITY,query:null,fragment:null}):C}}f.FALLBACK_AUTHORITY="vscode-app",e.FileAccess=new f;var _;(function(g){const C=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);g.CoopAndCoep=Object.freeze(C.get("3"));const s="vscode-coi";function i(t){let a;typeof t=="string"?a=new URL(t).searchParams:t instanceof URL?a=t.searchParams:y.URI.isUri(t)&&(a=new URL(t.toString(!0)).searchParams);const u=a?.get(s);if(u)return C.get(u)}g.getHeadersFromQuery=i;function n(t,a,u){if(!globalThis.crossOriginIsolated)return;const h=a&&u?"3":u?"2":"1";t instanceof URLSearchParams?t.set(s,h):t[s]=h}g.addSearchParam=n})(_||(e.COI=_={}))}),define(ne[7],se([1,0,52,217,44,60,9,6,304,2,54,17]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h=e.DragAndDropObserver=e.ModifierKeyEmitter=e.basicMarkupHtmlTags=e.hookDomPurifyHrefAndSrcSanitizer=e.asCssValueWithDefault=e.asCSSPropertyValue=e.asCSSUrl=e.animate=e.windowOpenNoOpener=e.computeScreenAwareSize=e.hide=e.show=e.setVisibility=e.$=e.Namespace=e.reset=e.prepend=e.append=e.trackFocus=e.restoreParentsScrollTop=e.saveParentsScrollTop=e.EventHelper=e.isEventLike=e.EventType=e.isHTMLElement=e.removeCSSRulesContainingSelector=e.createCSSRule=e.createStyleSheet=e.getActiveElement=e.getShadowRoot=e.isInShadowDOM=e.isShadowRoot=e.hasParentWithClass=e.findParentWithClass=e.isAncestor=e.getTotalHeight=e.getContentHeight=e.getContentWidth=e.getTotalWidth=e.getDomNodeZoomLevel=e.getDomNodePagePosition=e.size=e.getTopLeftOffset=e.Dimension=e.getClientArea=e.getComputedStyle=e.scheduleAtNextAnimationFrame=e.runAtThisOrScheduleAtNextAnimationFrame=e.addDisposableGenericMouseUpListener=e.addDisposableGenericMouseDownListener=e.addStandardDisposableGenericMouseUpListener=e.addStandardDisposableGenericMouseDownListener=e.addStandardDisposableListener=e.addDisposableListener=e.isInDOM=e.clearNode=void 0;function i(Ce){for(;Ce.firstChild;)Ce.firstChild.remove()}e.clearNode=i;function n(Ce){var be;return(be=Ce?.isConnected)!==null&&be!==void 0?be:!1}e.isInDOM=n;class t{constructor(be,Ie,Ne,Re){this._node=be,this._type=Ie,this._handler=Ne,this._options=Re||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function a(Ce,be,Ie,Ne){return new t(Ce,be,Ie,Ne)}e.addDisposableListener=a;function u(Ce){return function(be){return Ce(new D.StandardMouseEvent(be))}}function h(Ce){return function(be){return Ce(new y.StandardKeyboardEvent(be))}}const r=function(be,Ie,Ne,Re){let Ve=Ne;return Ie==="click"||Ie==="mousedown"?Ve=u(Ne):(Ie==="keydown"||Ie==="keypress"||Ie==="keyup")&&(Ve=h(Ne)),a(be,Ie,Ve,Re)};e.addStandardDisposableListener=r;const c=function(be,Ie,Ne){const Re=u(Ie);return d(be,Re,Ne)};e.addStandardDisposableGenericMouseDownListener=c;const o=function(be,Ie,Ne){const Re=u(Ie);return l(be,Re,Ne)};e.addStandardDisposableGenericMouseUpListener=o;function d(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_DOWN:e.EventType.MOUSE_DOWN,be,Ie)}e.addDisposableGenericMouseDownListener=d;function l(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_UP:e.EventType.MOUSE_UP,be,Ie)}e.addDisposableGenericMouseUpListener=l;class p{constructor(be,Ie=0){this._runner=be,this.priority=Ie,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(be){(0,S.onUnexpectedError)(be)}}static sort(be,Ie){return Ie.priority-be.priority}}(function(){let Ce=[],be=null,Ie=!1,Ne=!1;const Re=()=>{for(Ie=!1,be=Ce,Ce=[],Ne=!0;be.length>0;)be.sort(p.sort),be.shift().execute();Ne=!1};e.scheduleAtNextAnimationFrame=(Ve,ze=0)=>{const We=new p(Ve,ze);return Ce.push(We),Ie||(Ie=!0,requestAnimationFrame(Re)),We},e.runAtThisOrScheduleAtNextAnimationFrame=(Ve,ze)=>{if(Ne){const We=new p(Ve,ze);return be.push(We),We}else return(0,e.scheduleAtNextAnimationFrame)(Ve,ze)}})();function m(Ce){return document.defaultView.getComputedStyle(Ce,null)}e.getComputedStyle=m;function v(Ce){if(Ce!==document.body)return new w(Ce.clientWidth,Ce.clientHeight);if(s.isIOS&&window.visualViewport)return new w(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new w(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new w(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new w(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}e.getClientArea=v;class b{static convertToPixels(be,Ie){return parseFloat(Ie)||0}static getDimension(be,Ie,Ne){const Re=m(be),Ve=Re?Re.getPropertyValue(Ie):"0";return b.convertToPixels(be,Ve)}static getBorderLeftWidth(be){return b.getDimension(be,"border-left-width","borderLeftWidth")}static getBorderRightWidth(be){return b.getDimension(be,"border-right-width","borderRightWidth")}static getBorderTopWidth(be){return b.getDimension(be,"border-top-width","borderTopWidth")}static getBorderBottomWidth(be){return b.getDimension(be,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(be){return b.getDimension(be,"padding-left","paddingLeft")}static getPaddingRight(be){return b.getDimension(be,"padding-right","paddingRight")}static getPaddingTop(be){return b.getDimension(be,"padding-top","paddingTop")}static getPaddingBottom(be){return b.getDimension(be,"padding-bottom","paddingBottom")}static getMarginLeft(be){return b.getDimension(be,"margin-left","marginLeft")}static getMarginTop(be){return b.getDimension(be,"margin-top","marginTop")}static getMarginRight(be){return b.getDimension(be,"margin-right","marginRight")}static getMarginBottom(be){return b.getDimension(be,"margin-bottom","marginBottom")}}class w{constructor(be,Ie){this.width=be,this.height=Ie}with(be=this.width,Ie=this.height){return be!==this.width||Ie!==this.height?new w(be,Ie):this}static is(be){return typeof be=="object"&&typeof be.height=="number"&&typeof be.width=="number"}static lift(be){return be instanceof w?be:new w(be.width,be.height)}static equals(be,Ie){return be===Ie?!0:!be||!Ie?!1:be.width===Ie.width&&be.height===Ie.height}}e.Dimension=w,w.None=new w(0,0);function E(Ce){let be=Ce.offsetParent,Ie=Ce.offsetTop,Ne=Ce.offsetLeft;for(;(Ce=Ce.parentNode)!==null&&Ce!==document.body&&Ce!==document.documentElement;){Ie-=Ce.scrollTop;const Re=U(Ce)?null:m(Ce);Re&&(Ne-=Re.direction!=="rtl"?Ce.scrollLeft:-Ce.scrollLeft),Ce===be&&(Ne+=b.getBorderLeftWidth(Ce),Ie+=b.getBorderTopWidth(Ce),Ie+=Ce.offsetTop,Ne+=Ce.offsetLeft,be=Ce.offsetParent)}return{left:Ne,top:Ie}}e.getTopLeftOffset=E;function I(Ce,be,Ie){typeof be=="number"&&(Ce.style.width=`${be}px`),typeof Ie=="number"&&(Ce.style.height=`${Ie}px`)}e.size=I;function M(Ce){const be=Ce.getBoundingClientRect();return{left:be.left+window.scrollX,top:be.top+window.scrollY,width:be.width,height:be.height}}e.getDomNodePagePosition=M;function P(Ce){let be=Ce,Ie=1;do{const Ne=m(be).zoom;Ne!=null&&Ne!=="1"&&(Ie*=Ne),be=be.parentElement}while(be!==null&&be!==document.documentElement);return Ie}e.getDomNodeZoomLevel=P;function x(Ce){const be=b.getMarginLeft(Ce)+b.getMarginRight(Ce);return Ce.offsetWidth+be}e.getTotalWidth=x;function T(Ce){const be=b.getBorderLeftWidth(Ce)+b.getBorderRightWidth(Ce),Ie=b.getPaddingLeft(Ce)+b.getPaddingRight(Ce);return Ce.offsetWidth-be-Ie}e.getContentWidth=T;function A(Ce){const be=b.getBorderTopWidth(Ce)+b.getBorderBottomWidth(Ce),Ie=b.getPaddingTop(Ce)+b.getPaddingBottom(Ce);return Ce.offsetHeight-be-Ie}e.getContentHeight=A;function N(Ce){const be=b.getMarginTop(Ce)+b.getMarginBottom(Ce);return Ce.offsetHeight+be}e.getTotalHeight=N;function F(Ce,be){for(;Ce;){if(Ce===be)return!0;Ce=Ce.parentNode}return!1}e.isAncestor=F;function O(Ce,be,Ie){for(;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;){if(Ce.classList.contains(be))return Ce;if(Ie){if(typeof Ie=="string"){if(Ce.classList.contains(Ie))return null}else if(Ce===Ie)return null}Ce=Ce.parentNode}return null}e.findParentWithClass=O;function W(Ce,be,Ie){return!!O(Ce,be,Ie)}e.hasParentWithClass=W;function U(Ce){return Ce&&!!Ce.host&&!!Ce.mode}e.isShadowRoot=U;function j(Ce){return!!R(Ce)}e.isInShadowDOM=j;function R(Ce){for(;Ce.parentNode;){if(Ce===document.body)return null;Ce=Ce.parentNode}return U(Ce)?Ce:null}e.getShadowRoot=R;function K(){let Ce=document.activeElement;for(;Ce?.shadowRoot;)Ce=Ce.shadowRoot.activeElement;return Ce}e.getActiveElement=K;function G(Ce=document.getElementsByTagName("head")[0],be){const Ie=document.createElement("style");return Ie.type="text/css",Ie.media="screen",be?.(Ie),Ce.appendChild(Ie),Ie}e.createStyleSheet=G;let Z=null;function J(){return Z||(Z=G()),Z}function X(Ce){var be,Ie;return!((be=Ce?.sheet)===null||be===void 0)&&be.rules?Ce.sheet.rules:!((Ie=Ce?.sheet)===null||Ie===void 0)&&Ie.cssRules?Ce.sheet.cssRules:[]}function H(Ce,be,Ie=J()){!Ie||!be||Ie.sheet.insertRule(Ce+"{"+be+"}",0)}e.createCSSRule=H;function B(Ce,be=J()){if(!be)return;const Ie=X(be),Ne=[];for(let Re=0;Re=0;Re--)be.sheet.deleteRule(Ne[Re])}e.removeCSSRulesContainingSelector=B;function V(Ce){return typeof HTMLElement=="object"?Ce instanceof HTMLElement:Ce&&typeof Ce=="object"&&Ce.nodeType===1&&typeof Ce.nodeName=="string"}e.isHTMLElement=V,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",POINTER_LEAVE:"pointerleave",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"};function Y(Ce){const be=Ce;return!!(be&&typeof be.preventDefault=="function"&&typeof be.stopPropagation=="function")}e.isEventLike=Y,e.EventHelper={stop:(Ce,be)=>(Ce.preventDefault(),be&&Ce.stopPropagation(),Ce)};function ie(Ce){const be=[];for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)be[Ie]=Ce.scrollTop,Ce=Ce.parentNode;return be}e.saveParentsScrollTop=ie;function ae(Ce,be){for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)Ce.scrollTop!==be[Ie]&&(Ce.scrollTop=be[Ie]),Ce=Ce.parentNode}e.restoreParentsScrollTop=ae;class ce extends g.Disposable{static hasFocusWithin(be){const Ie=R(be),Ne=Ie?Ie.activeElement:document.activeElement;return F(Ne,be)}constructor(be){super(),this._onDidFocus=this._register(new f.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new f.Emitter),this.onDidBlur=this._onDidBlur.event;let Ie=ce.hasFocusWithin(be),Ne=!1;const Re=()=>{Ne=!1,Ie||(Ie=!0,this._onDidFocus.fire())},Ve=()=>{Ie&&(Ne=!0,window.setTimeout(()=>{Ne&&(Ne=!1,Ie=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{ce.hasFocusWithin(be)!==Ie&&(Ie?Ve():Re())},this._register(a(be,e.EventType.FOCUS,Re,!0)),this._register(a(be,e.EventType.BLUR,Ve,!0)),this._register(a(be,e.EventType.FOCUS_IN,()=>this._refreshStateHandler())),this._register(a(be,e.EventType.FOCUS_OUT,()=>this._refreshStateHandler()))}}function de(Ce){return new ce(Ce)}e.trackFocus=de;function he(Ce,...be){if(Ce.append(...be),be.length===1&&typeof be[0]!="string")return be[0]}e.append=he;function ue(Ce,be){return Ce.insertBefore(be,Ce.firstChild),be}e.prepend=ue;function te(Ce,...be){Ce.innerText="",he(Ce,...be)}e.reset=te;const q=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var z;(function(Ce){Ce.HTML="http://www.w3.org/1999/xhtml",Ce.SVG="http://www.w3.org/2000/svg"})(z||(e.Namespace=z={}));function ee(Ce,be,Ie,...Ne){const Re=q.exec(be);if(!Re)throw new Error("Bad use of emmet");const Ve=Re[1]||"div";let ze;return Ce!==z.HTML?ze=document.createElementNS(Ce,Ve):ze=document.createElement(Ve),Re[3]&&(ze.id=Re[3]),Re[4]&&(ze.className=Re[4].replace(/\./g," ").trim()),Ie&&Object.entries(Ie).forEach(([We,qe])=>{typeof qe>"u"||(/^on\w+$/.test(We)?ze[We]=qe:We==="selected"?qe&&ze.setAttribute(We,"true"):ze.setAttribute(We,qe))}),ze.append(...Ne),ze}function $(Ce,be,...Ie){return ee(z.HTML,Ce,be,...Ie)}e.$=$,$.SVG=function(Ce,be,...Ie){return ee(z.SVG,Ce,be,...Ie)};function re(Ce,...be){Ce?oe(...be):ge(...be)}e.setVisibility=re;function oe(...Ce){for(const be of Ce)be.style.display="",be.removeAttribute("aria-hidden")}e.show=oe;function ge(...Ce){for(const be of Ce)be.style.display="none",be.setAttribute("aria-hidden","true")}e.hide=ge;function ve(Ce){const be=window.devicePixelRatio*Ce;return Math.max(1,Math.floor(be))/window.devicePixelRatio}e.computeScreenAwareSize=ve;function Se(Ce){window.open(Ce,"_blank","noopener")}e.windowOpenNoOpener=Se;function Le(Ce){const be=()=>{Ce(),Ie=(0,e.scheduleAtNextAnimationFrame)(be)};let Ie=(0,e.scheduleAtNextAnimationFrame)(be);return(0,g.toDisposable)(()=>Ie.dispose())}e.animate=Le,C.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function De(Ce){return Ce?`url('${C.FileAccess.uriToBrowserUri(Ce).toString(!0).replace(/'/g,"%27")}')`:"url('')"}e.asCSSUrl=De;function ye(Ce){return`'${Ce.replace(/'/g,"%27")}'`}e.asCSSPropertyValue=ye;function Ee(Ce,be){if(Ce!==void 0){const Ie=Ce.match(/^\s*var\((.+)\)$/);if(Ie){const Ne=Ie[1].split(",",2);return Ne.length===2&&(be=Ee(Ne[1].trim(),be)),`var(${Ne[0]}, ${be})`}return Ce}return be}e.asCssValueWithDefault=Ee;function Me(Ce,be=!1){const Ie=document.createElement("a");return _.addHook("afterSanitizeAttributes",Ne=>{for(const Re of["href","src"])if(Ne.hasAttribute(Re)){const Ve=Ne.getAttribute(Re);if(Re==="href"&&Ve.startsWith("#"))continue;if(Ie.href=Ve,!Ce.includes(Ie.protocol.replace(/:$/,""))){if(be&&Re==="src"&&Ie.href.startsWith("data:"))continue;Ne.removeAttribute(Re)}}}),(0,g.toDisposable)(()=>{_.removeHook("afterSanitizeAttributes")})}e.hookDomPurifyHrefAndSrcSanitizer=Me,e.basicMarkupHtmlTags=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);const Pe=Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class Fe extends f.Emitter{constructor(){super(),this._subscriptions=new g.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(a(window,"keydown",be=>{if(be.defaultPrevented)return;const Ie=new y.StandardKeyboardEvent(be);if(!(Ie.keyCode===6&&be.repeat)){if(be.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(be.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(be.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(be.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(Ie.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=be,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(a(window,"keyup",be=>{be.defaultPrevented||(!be.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!be.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!be.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!be.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=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=be,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(a(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mousemove",be=>{be.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(a(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 Fe.instance||(Fe.instance=new Fe),Fe.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}e.ModifierKeyEmitter=Fe;class _e extends g.Disposable{constructor(be,Ie){super(),this.element=be,this.callbacks=Ie,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(a(this.element,e.EventType.DRAG_ENTER,be=>{this.counter++,this.dragStartTime=be.timeStamp,this.callbacks.onDragEnter(be)})),this._register(a(this.element,e.EventType.DRAG_OVER,be=>{var Ie,Ne;be.preventDefault(),(Ne=(Ie=this.callbacks).onDragOver)===null||Ne===void 0||Ne.call(Ie,be,be.timeStamp-this.dragStartTime)})),this._register(a(this.element,e.EventType.DRAG_LEAVE,be=>{this.counter--,this.counter===0&&(this.dragStartTime=0,this.callbacks.onDragLeave(be))})),this._register(a(this.element,e.EventType.DRAG_END,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(be)})),this._register(a(this.element,e.EventType.DROP,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(be)}))}}e.DragAndDropObserver=_e;const me=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function le(Ce,...be){let Ie,Ne;Array.isArray(be[0])?(Ie={},Ne=be[0]):(Ie=be[0]||{},Ne=be[1]);const Re=me.exec(Ce);if(!Re||!Re.groups)throw new Error("Bad use of h");const Ve=Re.groups.tag||"div",ze=document.createElement(Ve);Re.groups.id&&(ze.id=Re.groups.id);const We=[];if(Re.groups.class)for(const Oe of Re.groups.class.split("."))Oe!==""&&We.push(Oe);if(Ie.className!==void 0)for(const Oe of Ie.className.split("."))Oe!==""&&We.push(Oe);We.length>0&&(ze.className=We.join(" "));const qe={};if(Re.groups.name&&(qe[Re.groups.name]=ze),Ne)for(const Oe of Ne)Oe instanceof HTMLElement?ze.appendChild(Oe):typeof Oe=="string"?ze.append(Oe):"root"in Oe&&(Object.assign(qe,Oe),ze.appendChild(Oe.root));for(const[Oe,Ge]of Object.entries(Ie))if(Oe!=="className")if(Oe==="style")for(const[Qe,st]of Object.entries(Ge))ze.style.setProperty(pe(Qe),typeof st=="number"?st+"px":""+st);else Oe==="tabIndex"?ze.tabIndex=Ge:ze.setAttribute(pe(Oe),Ge.toString());return qe.root=ze,qe}e.h=le;function pe(Ce){return Ce.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),define(ne[305],se([1,0,7]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=e.renderFormattedText=e.renderText=void 0;function k(s,i={}){const n=D(i);return n.textContent=s,n}e.renderText=k;function y(s,i={}){const n=D(i);return f(n,_(s,!!i.renderCodeSegments),i.actionHandler,i.renderCodeSegments),n}e.renderFormattedText=y;function D(s){const i=s.inline?"span":"div",n=document.createElement(i);return s.className&&(n.className=s.className),n}e.createElement=D;class S{constructor(i){this.source=i,this.index=0}eos(){return this.index>=this.source.length}next(){const i=this.peek();return this.advance(),i}peek(){return this.source[this.index]}advance(){this.index++}}function f(s,i,n,t){let a;if(i.type===2)a=document.createTextNode(i.content||"");else if(i.type===3)a=document.createElement("b");else if(i.type===4)a=document.createElement("i");else if(i.type===7&&t)a=document.createElement("code");else if(i.type===5&&n){const u=document.createElement("a");n.disposables.add(L.addStandardDisposableListener(u,"click",h=>{n.callback(String(i.index),h)})),a=u}else i.type===8?a=document.createElement("br"):i.type===1&&(a=s);a&&s!==a&&s.appendChild(a),a&&Array.isArray(i.children)&&i.children.forEach(u=>{f(a,u,n,t)})}function _(s,i){const n={type:1,children:[]};let t=0,a=n;const u=[],h=new S(s);for(;!h.eos();){let r=h.next();const c=r==="\\"&&C(h.peek(),i)!==0;if(c&&(r=h.next()),!c&&g(r,i)&&r===h.peek()){h.advance(),a.type===2&&(a=u.pop());const o=C(r,i);if(a.type===o||a.type===5&&o===6)a=u.pop();else{const d={type:o,children:[]};o===5&&(d.index=t,t++),a.children.push(d),u.push(a),a=d}}else if(r===` -`)a.type===2&&(a=u.pop()),a.children.push({type:8});else if(a.type!==2){const o={type:2,content:r};a.children.push(o),u.push(a),a=o}else a.content+=r}return a.type===2&&(a=u.pop()),u.length,n}function g(s,i){return C(s,i)!==0}function C(s,i){switch(s){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return i?7:0;default:return 0}}}),define(ne[152],se([1,0,7,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalPointerMoveMonitor=void 0;class y{constructor(){this._hooks=new k.DisposableStore,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(S,f){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const _=this._onStopCallback;this._onStopCallback=null,S&&_&&_(f)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(S,f,_,g,C){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=g,this._onStopCallback=C;let s=S;try{S.setPointerCapture(f),this._hooks.add((0,k.toDisposable)(()=>{try{S.releasePointerCapture(f)}catch{}}))}catch{s=window}this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_MOVE,i=>{if(i.buttons!==_){this.stopMonitoring(!0);return}i.preventDefault(),this._pointerMoveCallback(i)})),this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_UP,i=>this.stopMonitoring(!0)))}}e.GlobalPointerMoveMonitor=y}),define(ne[61],se([1,0,7,14,106,2,64]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gesture=e.EventType=void 0;var f;(function(g){g.Tap="-monaco-gesturetap",g.Change="-monaco-gesturechange",g.Start="-monaco-gesturestart",g.End="-monaco-gesturesend",g.Contextmenu="-monaco-gesturecontextmenu"})(f||(e.EventType=f={}));class _ extends D.Disposable{constructor(){super(),this.dispatched=!1,this.targets=new S.LinkedList,this.ignoreTargets=new S.LinkedList,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(L.addDisposableListener(document,"touchstart",C=>this.onTouchStart(C),{passive:!1})),this._register(L.addDisposableListener(document,"touchend",C=>this.onTouchEnd(C))),this._register(L.addDisposableListener(document,"touchmove",C=>this.onTouchMove(C),{passive:!1}))}static addTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.targets.push(C);return(0,D.toDisposable)(s)}static ignoreTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.ignoreTargets.push(C);return(0,D.toDisposable)(s)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(C){const s=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=C.targetTouches.length;i=_.HOLD_DELAY&&Math.abs(u.initialPageX-k.tail(u.rollingPageX))<30&&Math.abs(u.initialPageY-k.tail(u.rollingPageY))<30){const r=this.newGestureEvent(f.Contextmenu,u.initialTarget);r.pageX=k.tail(u.rollingPageX),r.pageY=k.tail(u.rollingPageY),this.dispatchEvent(r)}else if(i===1){const r=k.tail(u.rollingPageX),c=k.tail(u.rollingPageY),o=k.tail(u.rollingTimestamps)-u.rollingTimestamps[0],d=r-u.rollingPageX[0],l=c-u.rollingPageY[0],p=[...this.targets].filter(m=>u.initialTarget instanceof Node&&m.contains(u.initialTarget));this.inertia(p,s,Math.abs(d)/o,d>0?1:-1,r,Math.abs(l)/o,l>0?1:-1,c)}this.dispatchEvent(this.newGestureEvent(f.End,u.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}newGestureEvent(C,s){const i=document.createEvent("CustomEvent");return i.initEvent(C,!1,!0),i.initialTarget=s,i.tapCount=0,i}dispatchEvent(C){if(C.type===f.Tap){const s=new Date().getTime();let i=0;s-this._lastSetTapCountTime>_.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=s,C.tapCount=i}else(C.type===f.Change||C.type===f.Contextmenu)&&(this._lastSetTapCountTime=0);if(C.initialTarget instanceof Node){for(const s of this.ignoreTargets)if(s.contains(C.initialTarget))return;for(const s of this.targets)s.contains(C.initialTarget)&&(s.dispatchEvent(C),this.dispatched=!0)}}inertia(C,s,i,n,t,a,u,h){this.handle=L.scheduleAtNextAnimationFrame(()=>{const r=Date.now(),c=r-s;let o=0,d=0,l=!0;i+=_.SCROLL_FRICTION*c,a+=_.SCROLL_FRICTION*c,i>0&&(l=!1,o=n*i*c),a>0&&(l=!1,d=u*a*c);const p=this.newGestureEvent(f.Change);p.translationX=o,p.translationY=d,C.forEach(m=>m.dispatchEvent(p)),l||this.inertia(C,r,i,n,t+o,a,u,h+d)})}onTouchMove(C){const s=Date.now();for(let i=0,n=C.changedTouches.length;i3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(t.pageX),a.rollingPageY.push(t.pageY),a.rollingTimestamps.push(s)}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}}e.Gesture=_,_.SCROLL_FRICTION=-.005,_.HOLD_DELAY=700,_.CLEAR_TAP_COUNT_TIME=400,ke([y.memoize],_,"isTouchDevice",null)}),define(ne[49],se([1,0,7,393]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.status=e.alert=e.setARIAContainer=void 0;const k=2e4;let y,D,S,f,_;function g(n){y=document.createElement("div"),y.className="monaco-aria-container";const t=()=>{const u=document.createElement("div");return u.className="monaco-alert",u.setAttribute("role","alert"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};D=t(),S=t();const a=()=>{const u=document.createElement("div");return u.className="monaco-status",u.setAttribute("aria-live","polite"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};f=a(),_=a(),n.appendChild(y)}e.setARIAContainer=g;function C(n){y&&(D.textContent!==n?(L.clearNode(S),i(D,n)):(L.clearNode(D),i(S,n)))}e.alert=C;function s(n){y&&(f.textContent!==n?(L.clearNode(_),i(f,n)):(L.clearNode(f),i(_,n)))}e.status=s;function i(n,t){L.clearNode(n),t.length>k&&(t=t.substr(0,k)),n.textContent=t,n.style.visibility="hidden",n.style.visibility="visible"}}),define(ne[306],se([1,0,217,7,2,17,166,397]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextView=e.layout=e.LayoutAnchorMode=e.isAnchor=void 0;function f(i){const n=i;return!!n&&typeof n.x=="number"&&typeof n.y=="number"}e.isAnchor=f;var _;(function(i){i[i.AVOID=0]="AVOID",i[i.ALIGN=1]="ALIGN"})(_||(e.LayoutAnchorMode=_={}));function g(i,n,t){const a=t.mode===_.ALIGN?t.offset:t.offset+t.size,u=t.mode===_.ALIGN?t.offset+t.size:t.offset;return t.position===0?n<=i-a?a:n<=u?u-n:Math.max(i-n,0):n<=u?u-n:n<=i-a?a:0}e.layout=g;class C extends y.Disposable{constructor(n,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=y.Disposable.None,this.toDisposeOnSetContainer=y.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=k.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,k.hide(this.view),this.setContainer(n,t),this._register((0,y.toDisposable)(()=>this.setContainer(null,1)))}setContainer(n,t){var a;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(a=this.shadowRootHostElement)===null||a===void 0||a.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),n){if(this.container=n,this.useFixedPosition=t!==1,this.useShadowDOM=t===3,this.useShadowDOM){this.shadowRootHostElement=k.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const h=document.createElement("style");h.textContent=s,this.shadowRoot.appendChild(h),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(k.$("slot"))}else this.container.appendChild(this.view);const u=new y.DisposableStore;C.BUBBLE_UP_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!1)}))}),C.BUBBLE_DOWN_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!0)},!0))}),this.toDisposeOnSetContainer=u}}show(n){var t,a;this.isVisible()&&this.hide(),k.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2575",this.view.style.position=this.useFixedPosition?"fixed":"absolute",k.show(this.view),this.toDisposeOnClean=n.render(this.view)||y.Disposable.None,this.delegate=n,this.doLayout(),(a=(t=this.delegate).focus)===null||a===void 0||a.call(t)}getViewElement(){return this.view}layout(){if(this.isVisible()){if(this.delegate.canRelayout===!1&&!(D.isIOS&&L.BrowserFeatures.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;const n=this.delegate.getAnchor();let t;if(k.isHTMLElement(n)){const p=k.getDomNodePagePosition(n),m=k.getDomNodeZoomLevel(n);t={top:p.top*m,left:p.left*m,width:p.width*m,height:p.height*m}}else f(n)?t={top:n.y,left:n.x,width:n.width||1,height:n.height||2}:t={top:n.posy,left:n.posx,width:2,height:2};const a=k.getTotalWidth(this.view),u=k.getTotalHeight(this.view),h=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,c=this.delegate.anchorAxisAlignment||0;let o,d;if(c===0){const p={offset:t.top-window.pageYOffset,size:t.height,position:h===0?0:1},m={offset:t.left,size:t.width,position:r===0?0:1,mode:_.ALIGN};o=g(window.innerHeight,u,p)+window.pageYOffset,S.Range.intersects({start:o,end:o+u},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),d=g(window.innerWidth,a,m)}else{const p={offset:t.left,size:t.width,position:r===0?0:1},m={offset:t.top,size:t.height,position:h===0?0:1,mode:_.ALIGN};d=g(window.innerWidth,a,p),S.Range.intersects({start:d,end:d+a},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),o=g(window.innerHeight,u,m)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(h===0?"bottom":"top"),this.view.classList.add(r===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const l=k.getDomNodePagePosition(this.container);this.view.style.top=`${o-(this.useFixedPosition?k.getDomNodePagePosition(this.view).top:l.top)}px`,this.view.style.left=`${d-(this.useFixedPosition?k.getDomNodePagePosition(this.view).left:l.left)}px`,this.view.style.width="initial"}hide(n){const t=this.delegate;this.delegate=null,t?.onHide&&t.onHide(n),this.toDisposeOnClean.dispose(),k.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(n,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):t&&!k.isAncestor(n.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}e.ContextView=C,C.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],C.BUBBLE_DOWN_EVENTS=["click"];const s=` - :host { - all: initial; /* 1st rule so subsequent properties are reset. */ - } - - .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(ne[307],se([1,0,7,11,398]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountBadge=void 0;class y{constructor(S,f,_){this.options=f,this.styles=_,this.count=0,this.element=(0,L.append)(S,(0,L.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(S){this.count=S,this.render()}setTitleFormat(S){this.titleFormat=S,this.render()}render(){var S,f;this.element.textContent=(0,k.format)(this.countFormat,this.count),this.element.title=(0,k.format)(this.titleFormat,this.count),this.element.style.backgroundColor=(S=this.styles.badgeBackground)!==null&&S!==void 0?S:"",this.element.style.color=(f=this.styles.badgeForeground)!==null&&f!==void 0?f:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}e.CountBadge=y}),define(ne[572],se([1,0,7,44,61,39,6,266]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenu=void 0;class f extends D.ActionRunner{constructor(C,s){super(),this._onDidChangeVisibility=this._register(new S.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,L.append)(C,(0,L.$)(".monaco-dropdown")),this._label=(0,L.append)(this._element,(0,L.$)(".dropdown-label"));let i=s.labelRenderer;i||(i=t=>(t.textContent=s.label||"",null));for(const t of[L.EventType.CLICK,L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this.element,t,a=>L.EventHelper.stop(a,!0)));for(const t of[L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this._label,t,a=>{a instanceof MouseEvent&&(a.detail>1||a.button!==0)||(this.visible?this.hide():this.show())}));this._register((0,L.addDisposableListener)(this._label,L.EventType.KEY_UP,t=>{const a=new k.StandardKeyboardEvent(t);(a.equals(3)||a.equals(10))&&(L.EventHelper.stop(t,!0),this.visible?this.hide():this.show())}));const n=i(this._label);n&&this._register(n),this._register(y.Gesture.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class _ extends f{constructor(C,s){super(C,s),this._options=s,this._actions=[],this.actions=s.actions||[]}set menuOptions(C){this._menuOptions=C}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(C){this._actions=C}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(C,s)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(C,s):void 0,getKeyBinding:C=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(C):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}e.DropdownMenu=_}),define(ne[129],se([1,0,7,26]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderIcon=e.renderLabelWithIcons=void 0;const y=new RegExp(`(\\\\)?\\$\\((${k.ThemeIcon.iconNameExpression}(?:${k.ThemeIcon.iconModifierExpression})?)\\)`,"g");function D(f){const _=new Array;let g,C=0,s=0;for(;(g=y.exec(f))!==null;){s=g.index||0,C{C=s===`\r -`?-1:0,i+=g;for(const n of _)n.end<=i||(n.start>=i&&(n.start+=C),n.end>=i&&(n.end+=C));return g+=C,"\u23CE"})}}e.HighlightedLabel=D}),define(ne[222],se([1,0,7,216,47,558,402]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingLabel=e.unthemedKeybindingLabelOptions=void 0;const S=L.$;e.unthemedKeybindingLabelOptions={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class f{constructor(g,C,s){this.os=C,this.keyElements=new Set,this.options=s||Object.create(null);const i=this.options.keybindingLabelForeground;this.domNode=L.append(g,S(".monaco-keybinding")),i&&(this.domNode.style.color=i),this.didEverRender=!1,g.appendChild(this.domNode)}get element(){return this.domNode}set(g,C){this.didEverRender&&this.keybinding===g&&f.areSame(this.matches,C)||(this.keybinding=g,this.matches=C,this.render())}render(){var g;if(this.clear(),this.keybinding){const C=this.keybinding.getChords();C[0]&&this.renderChord(this.domNode,C[0],this.matches?this.matches.firstPart:null);for(let i=1;i{for(const _ of S)this.getRenderer(f).disposeTemplate(_.templateData),_.templateData=null}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(S){const f=this.renderers.get(S);if(!f)throw new Error(`No renderer found for ${S}`);return f}}e.RowCache=y}),define(ne[574],se([1,0,7,13,2,404]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;const D="done",S="active",f="infinite",_="infinite-long-running",g="discrete";class C extends y.Disposable{constructor(i,n){super(),this.workedVal=0,this.showDelayedScheduler=this._register(new k.RunOnceScheduler(()=>(0,L.show)(this.element),0)),this.longRunningScheduler=this._register(new k.RunOnceScheduler(()=>this.infiniteLongRunning(),C.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(i,n)}create(i,n){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),i.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=n?.progressBarBackground||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(S,f,_,g),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(i){return this.element.classList.add(D),this.element.classList.contains(f)?(this.bit.style.opacity="0",i?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",i?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(g,D,_),this.element.classList.add(S,f),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(_)}getContainer(){return this.element}}e.ProgressBar=C,C.LONG_RUNNING_INFINITE_THRESHOLD=1e4}),define(ne[130],se([1,0,7,81,61,13,106,6,2,17,405]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sash=e.OrthogonalEdge=void 0;const C=!1;var s;(function(d){d.North="north",d.South="south",d.East="east",d.West="west"})(s||(e.OrthogonalEdge=s={}));let i=4;const n=new f.Emitter;let t=300;const a=new f.Emitter;class u{constructor(){this.disposables=new _.DisposableStore}get onPointerMove(){return this.disposables.add(new k.DomEmitter(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(window,"mouseup")).event}dispose(){this.disposables.dispose()}}ke([S.memoize],u.prototype,"onPointerMove",null),ke([S.memoize],u.prototype,"onPointerUp",null);class h{get onPointerMove(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.Change)).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.End)).event}constructor(l){this.el=l,this.disposables=new _.DisposableStore}dispose(){this.disposables.dispose()}}ke([S.memoize],h.prototype,"onPointerMove",null),ke([S.memoize],h.prototype,"onPointerUp",null);class r{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(l){this.factory=l}dispose(){}}ke([S.memoize],r.prototype,"onPointerMove",null),ke([S.memoize],r.prototype,"onPointerUp",null);const c="pointer-events-disabled";class o extends _.Disposable{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(l){this._state!==l&&(this.el.classList.toggle("disabled",l===0),this.el.classList.toggle("minimum",l===1),this.el.classList.toggle("maximum",l===2),this._state=l,this.onDidEnablementChange.fire(l))}set orthogonalStartSash(l){if(this._orthogonalStartSash!==l){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),l){const p=m=>{this.orthogonalStartDragHandleDisposables.clear(),m!==0&&(this._orthogonalStartDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalStartSash=l}}set orthogonalEndSash(l){if(this._orthogonalEndSash!==l){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),l){const p=m=>{this.orthogonalEndDragHandleDisposables.clear(),m!==0&&(this._orthogonalEndDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalEndSash=l}}constructor(l,p,m){super(),this.hoverDelay=t,this.hoverDelayer=this._register(new D.Delayer(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new f.Emitter),this._onDidStart=this._register(new f.Emitter),this._onDidChange=this._register(new f.Emitter),this._onDidReset=this._register(new f.Emitter),this._onDidEnd=this._register(new f.Emitter),this.orthogonalStartSashDisposables=this._register(new _.DisposableStore),this.orthogonalStartDragHandleDisposables=this._register(new _.DisposableStore),this.orthogonalEndSashDisposables=this._register(new _.DisposableStore),this.orthogonalEndDragHandleDisposables=this._register(new _.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)(l,(0,L.$)(".monaco-sash")),m.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${m.orthogonalEdge}`),g.isMacintosh&&this.el.classList.add("mac");const v=this._register(new k.DomEmitter(this.el,"mousedown")).event;this._register(v(x=>this.onPointerStart(x,new u),this));const b=this._register(new k.DomEmitter(this.el,"dblclick")).event;this._register(b(this.onPointerDoublePress,this));const w=this._register(new k.DomEmitter(this.el,"mouseenter")).event;this._register(w(()=>o.onMouseEnter(this)));const E=this._register(new k.DomEmitter(this.el,"mouseleave")).event;this._register(E(()=>o.onMouseLeave(this))),this._register(y.Gesture.addTarget(this.el));const I=this._register(new k.DomEmitter(this.el,y.EventType.Start)).event;this._register(I(x=>this.onPointerStart(x,new h(this.el)),this));const M=this._register(new k.DomEmitter(this.el,y.EventType.Tap)).event;let P;this._register(M(x=>{if(P){clearTimeout(P),P=void 0,this.onPointerDoublePress(x);return}clearTimeout(P),P=setTimeout(()=>P=void 0,250)},this)),typeof m.size=="number"?(this.size=m.size,m.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=i,this._register(n.event(x=>{this.size=x,this.layout()}))),this._register(a.event(x=>this.hoverDelay=x)),this.layoutProvider=p,this.orthogonalStartSash=m.orthogonalStartSash,this.orthogonalEndSash=m.orthogonalEndSash,this.orientation=m.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",C),this.layout()}onPointerStart(l,p){L.EventHelper.stop(l);let m=!1;if(!l.__orthogonalSashEvent){const N=this.getOrthogonalSash(l);N&&(m=!0,l.__orthogonalSashEvent=!0,N.onPointerStart(l,new r(p)))}if(this.linkedSash&&!l.__linkedSashEvent&&(l.__linkedSashEvent=!0,this.linkedSash.onPointerStart(l,new r(p))),!this.state)return;const v=document.getElementsByTagName("iframe");for(const N of v)N.classList.add(c);const b=l.pageX,w=l.pageY,E=l.altKey,I={startX:b,currentX:b,startY:w,currentY:w,altKey:E};this.el.classList.add("active"),this._onDidStart.fire(I);const M=(0,L.createStyleSheet)(this.el),P=()=>{let N="";m?N="all-scroll":this.orientation===1?this.state===1?N="s-resize":this.state===2?N="n-resize":N=g.isMacintosh?"row-resize":"ns-resize":this.state===1?N="e-resize":this.state===2?N="w-resize":N=g.isMacintosh?"col-resize":"ew-resize",M.textContent=`* { cursor: ${N} !important; }`},x=new _.DisposableStore;P(),m||this.onDidEnablementChange.event(P,null,x);const T=N=>{L.EventHelper.stop(N,!1);const F={startX:b,currentX:N.pageX,startY:w,currentY:N.pageY,altKey:E};this._onDidChange.fire(F)},A=N=>{L.EventHelper.stop(N,!1),this.el.removeChild(M),this.el.classList.remove("active"),this._onDidEnd.fire(),x.dispose();for(const F of v)F.classList.remove(c)};p.onPointerMove(T,null,x),p.onPointerUp(A,null,x),x.add(p)}onPointerDoublePress(l){const p=this.getOrthogonalSash(l);p&&p._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(l,p=!1){l.el.classList.contains("active")?(l.hoverDelayer.cancel(),l.el.classList.add("hover")):l.hoverDelayer.trigger(()=>l.el.classList.add("hover"),l.hoverDelay).then(void 0,()=>{}),!p&&l.linkedSash&&o.onMouseEnter(l.linkedSash,!0)}static onMouseLeave(l,p=!1){l.hoverDelayer.cancel(),l.el.classList.remove("hover"),!p&&l.linkedSash&&o.onMouseLeave(l.linkedSash,!0)}clearSashHoverState(){o.onMouseLeave(this)}layout(){if(this.orientation===0){const l=this.layoutProvider;this.el.style.left=l.getVerticalSashLeft(this)-this.size/2+"px",l.getVerticalSashTop&&(this.el.style.top=l.getVerticalSashTop(this)+"px"),l.getVerticalSashHeight&&(this.el.style.height=l.getVerticalSashHeight(this)+"px")}else{const l=this.layoutProvider;this.el.style.top=l.getHorizontalSashTop(this)-this.size/2+"px",l.getHorizontalSashLeft&&(this.el.style.left=l.getHorizontalSashLeft(this)+"px"),l.getHorizontalSashWidth&&(this.el.style.width=l.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(l){var p;const m=(p=l.initialTarget)!==null&&p!==void 0?p:l.target;if(!(!m||!(m instanceof HTMLElement))&&m.classList.contains("orthogonal-drag-handle"))return m.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}e.Sash=o}),define(ne[223],se([1,0,7,130,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableHTMLElement=void 0;class S{constructor(){this._onDidWillResize=new y.Emitter,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new y.Emitter,this.onDidResize=this._onDidResize.event,this._sashListener=new D.DisposableStore,this._size=new L.Dimension(0,0),this._minSize=new L.Dimension(0,0),this._maxSize=new L.Dimension(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:k.OrthogonalEdge.North}),this._southSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:k.OrthogonalEdge.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let _,g=0,C=0;this._sashListener.add(y.Event.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{_===void 0&&(this._onDidWillResize.fire(),_=this._size,g=0,C=0)})),this._sashListener.add(y.Event.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{_!==void 0&&(_=void 0,g=0,C=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(s=>{_&&(C=s.currentX-s.startX,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(s=>{_&&(C=-(s.currentX-s.startX),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(s=>{_&&(g=-(s.currentY-s.startY),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(s=>{_&&(g=s.currentY-s.startY,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(y.Event.any(this._eastSash.onDidReset,this._westSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(y.Event.any(this._northSash.onDidReset,this._southSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(_,g,C,s){this._northSash.state=_?3:0,this._eastSash.state=g?3:0,this._southSash.state=C?3:0,this._westSash.state=s?3:0}layout(_=this.size.height,g=this.size.width){const{height:C,width:s}=this._minSize,{height:i,width:n}=this._maxSize;_=Math.max(C,Math.min(i,_)),g=Math.max(s,Math.min(n,g));const t=new L.Dimension(g,_);L.Dimension.equals(t,this._size)||(this.domNode.style.height=_+"px",this.domNode.style.width=g+"px",this._size=t,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(_){this._maxSize=_}get maxSize(){return this._maxSize}set minSize(_){this._minSize=_}get minSize(){return this._minSize}set preferredSize(_){this._preferredSize=_}get preferredSize(){return this._preferredSize}}e.ResizableHTMLElement=S}),define(ne[575],se([1,0,7,61,14,6,2,17]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectBoxNative=void 0;class _ extends S.Disposable{constructor(C,s,i,n){super(),this.selected=0,this.selectBoxOptions=n||Object.create(null),this.options=[],this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box",typeof this.selectBoxOptions.ariaLabel=="string"&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription=="string"&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=this._register(new D.Emitter),this.styles=i,this.registerListeners(),this.setOptions(C,s)}registerListeners(){this._register(k.Gesture.addTarget(this.selectElement)),[k.EventType.Tap].forEach(C=>{this._register(L.addDisposableListener(this.selectElement,C,s=>{this.selectElement.focus()}))}),this._register(L.addStandardDisposableListener(this.selectElement,"click",C=>{L.EventHelper.stop(C,!0)})),this._register(L.addStandardDisposableListener(this.selectElement,"change",C=>{this.selectElement.title=C.target.value,this._onDidSelect.fire({index:C.target.selectedIndex,selected:C.target.value})})),this._register(L.addStandardDisposableListener(this.selectElement,"keydown",C=>{let s=!1;f.isMacintosh?(C.keyCode===18||C.keyCode===16||C.keyCode===10)&&(s=!0):(C.keyCode===18&&C.altKey||C.keyCode===10||C.keyCode===3)&&(s=!0),s&&C.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(C,s){(!this.options||!y.equals(this.options,C))&&(this.options=C,this.selectElement.options.length=0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled))})),s!==void 0&&this.select(s)}select(C){this.options.length===0?this.selected=0:C>=0&&Cthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selectedC(new y.StandardMouseEvent(s))))}onmousedown(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_DOWN,s=>C(new y.StandardMouseEvent(s))))}onmouseover(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_OVER,s=>C(new y.StandardMouseEvent(s))))}onmouseleave(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_LEAVE,s=>C(new y.StandardMouseEvent(s))))}onkeydown(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_DOWN,s=>C(new k.StandardKeyboardEvent(s))))}onkeyup(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_UP,s=>C(new k.StandardKeyboardEvent(s))))}oninput(g,C){this._register(L.addDisposableListener(g,L.EventType.INPUT,C))}onblur(g,C){this._register(L.addDisposableListener(g,L.EventType.BLUR,C))}onfocus(g,C){this._register(L.addDisposableListener(g,L.EventType.FOCUS,C))}ignoreGesture(g){return D.Gesture.ignoreTarget(g)}}e.Widget=f}),define(ne[224],se([1,0,152,83,13,26,7]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarArrow=e.ARROW_IMG_SIZE=void 0,e.ARROW_IMG_SIZE=11;class f extends k.Widget{constructor(g){super(),this._onActivate=g.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=g.bgWidth+"px",this.bgDomNode.style.height=g.bgHeight+"px",typeof g.top<"u"&&(this.bgDomNode.style.top="0px"),typeof g.left<"u"&&(this.bgDomNode.style.left="0px"),typeof g.bottom<"u"&&(this.bgDomNode.style.bottom="0px"),typeof g.right<"u"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=g.className,this.domNode.classList.add(...D.ThemeIcon.asClassNameArray(g.icon)),this.domNode.style.position="absolute",this.domNode.style.width=e.ARROW_IMG_SIZE+"px",this.domNode.style.height=e.ARROW_IMG_SIZE+"px",typeof g.top<"u"&&(this.domNode.style.top=g.top+"px"),typeof g.left<"u"&&(this.domNode.style.left=g.left+"px"),typeof g.bottom<"u"&&(this.domNode.style.bottom=g.bottom+"px"),typeof g.right<"u"&&(this.domNode.style.right=g.right+"px"),this._pointerMoveMonitor=this._register(new L.GlobalPointerMoveMonitor),this._register(S.addStandardDisposableListener(this.bgDomNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._register(S.addStandardDisposableListener(this.domNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._pointerdownRepeatTimer=this._register(new y.IntervalTimer),this._pointerdownScheduleRepeatTimer=this._register(new y.TimeoutTimer)}_arrowPointerDown(g){if(!g.target||!(g.target instanceof Element))return;const C=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(C,200),this._pointerMoveMonitor.startMonitoring(g.target,g.pointerId,g.buttons,s=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),g.preventDefault()}}e.ScrollbarArrow=f}),define(ne[309],se([1,0,7,35,152,224,567,83,17]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractScrollbar=void 0;const g=140;class C extends f.Widget{constructor(i){super(),this._lazyRender=i.lazyRender,this._host=i.host,this._scrollable=i.scrollable,this._scrollByPage=i.scrollByPage,this._scrollbarState=i.scrollbarState,this._visibilityController=this._register(new S.ScrollbarVisibilityController(i.visibility,"visible scrollbar "+i.extraScrollbarClassName,"invisible scrollbar "+i.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new y.GlobalPointerMoveMonitor),this._shouldRender=!0,this.domNode=(0,k.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._register(L.addDisposableListener(this.domNode.domNode,L.EventType.POINTER_DOWN,n=>this._domNodePointerDown(n)))}_createArrow(i){const n=this._register(new D.ScrollbarArrow(i));this.domNode.domNode.appendChild(n.bgDomNode),this.domNode.domNode.appendChild(n.domNode)}_createSlider(i,n,t,a){this.slider=(0,k.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(i),this.slider.setLeft(n),typeof t=="number"&&this.slider.setWidth(t),typeof a=="number"&&this.slider.setHeight(a),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(L.addDisposableListener(this.slider.domNode,L.EventType.POINTER_DOWN,u=>{u.button===0&&(u.preventDefault(),this._sliderPointerDown(u))})),this.onclick(this.slider.domNode,u=>{u.leftButton&&u.stopPropagation()})}_onElementSize(i){return this._scrollbarState.setVisibleSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(i){return this._scrollbarState.setScrollSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(i){return this._scrollbarState.setScrollPosition(i)&&(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()))}_domNodePointerDown(i){i.target===this.domNode.domNode&&this._onPointerDown(i)}delegatePointerDown(i){const n=this.domNode.domNode.getClientRects()[0].top,t=n+this._scrollbarState.getSliderPosition(),a=n+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),u=this._sliderPointerPosition(i);t<=u&&u<=a?i.button===0&&(i.preventDefault(),this._sliderPointerDown(i)):this._onPointerDown(i)}_onPointerDown(i){let n,t;if(i.target===this.domNode.domNode&&typeof i.offsetX=="number"&&typeof i.offsetY=="number")n=i.offsetX,t=i.offsetY;else{const u=L.getDomNodePagePosition(this.domNode.domNode);n=i.pageX-u.left,t=i.pageY-u.top}const a=this._pointerDownRelativePosition(n,t);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(a):this._scrollbarState.getDesiredScrollPositionFromOffset(a)),i.button===0&&(i.preventDefault(),this._sliderPointerDown(i))}_sliderPointerDown(i){if(!i.target||!(i.target instanceof Element))return;const n=this._sliderPointerPosition(i),t=this._sliderOrthogonalPointerPosition(i),a=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(i.target,i.pointerId,i.buttons,u=>{const h=this._sliderOrthogonalPointerPosition(u),r=Math.abs(h-t);if(_.isWindows&&r>g){this._setDesiredScrollPositionNow(a.getScrollPosition());return}const o=this._sliderPointerPosition(u)-n;this._setDesiredScrollPositionNow(a.getDesiredScrollPositionFromDelta(o))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(i){const n={};this.writeScrollPosition(n,i),this._scrollable.setScrollPositionNow(n)}updateScrollbarSize(i){this._updateScrollbarSize(i),this._scrollbarState.setScrollbarSize(i),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}e.AbstractScrollbar=C}),define(ne[576],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HorizontalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.horizontalHasArrows?C.arrowSize:0,C.horizontal===2?0:C.horizontalScrollbarSize,C.vertical===2?0:C.verticalScrollbarSize,i.width,i.scrollWidth,n.scrollLeft),visibility:C.horizontal,extraScrollbarClassName:"horizontal",scrollable:g,scrollByPage:C.scrollByPage}),C.horizontalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.horizontalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonLeft,top:a,left:t,bottom:void 0,right:void 0,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonRight,top:a,left:void 0,bottom:void 0,right:t,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((C.horizontalScrollbarSize-C.horizontalSliderSize)/2),0,void 0,C.horizontalSliderSize)}_updateSlider(g,C){this.slider.setWidth(g),this.slider.setLeft(C)}_renderDomNode(g,C){this.domNode.setWidth(g),this.domNode.setHeight(C),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(g.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return g}_sliderPointerPosition(g){return g.pageX}_sliderOrthogonalPointerPosition(g){return g.pageY}_updateScrollbarSize(g){this.slider.setHeight(g)}writeScrollPosition(g,C){g.scrollLeft=C}updateOptions(g){this.updateScrollbarSize(g.horizontal===2?0:g.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._visibilityController.setVisibility(g.horizontal),this._scrollByPage=g.scrollByPage}}e.HorizontalScrollbar=f}),define(ne[577],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VerticalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.verticalHasArrows?C.arrowSize:0,C.vertical===2?0:C.verticalScrollbarSize,0,i.height,i.scrollHeight,n.scrollTop),visibility:C.vertical,extraScrollbarClassName:"vertical",scrollable:g,scrollByPage:C.scrollByPage}),C.verticalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.verticalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonUp,top:t,left:a,bottom:void 0,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonDown,top:void 0,left:a,bottom:t,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((C.verticalScrollbarSize-C.verticalSliderSize)/2),C.verticalSliderSize,void 0)}_updateSlider(g,C){this.slider.setHeight(g),this.slider.setTop(C)}_renderDomNode(g,C){this.domNode.setWidth(C),this.domNode.setHeight(g),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(g.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return C}_sliderPointerPosition(g){return g.pageY}_sliderOrthogonalPointerPosition(g){return g.pageX}_updateScrollbarSize(g){this.slider.setWidth(g)}writeScrollPosition(g,C){g.scrollTop=C}updateOptions(g){this.updateScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(g.vertical),this._scrollByPage=g.scrollByPage}}e.VerticalScrollbar=f}),define(ne[75],se([1,0,52,7,35,60,576,577,83,13,6,2,17,167,406]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomScrollableElement=e.SmoothScrollableElement=e.ScrollableElement=e.AbstractScrollableElement=e.MouseWheelClassifier=void 0;const t=500,a=50,u=!0;class h{constructor(v,b,w){this.timestamp=v,this.deltaX=b,this.deltaY=w,this.score=0}}class r{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let v=1,b=0,w=1,E=this._rear;do{const I=E===this._front?v:Math.pow(2,-w);if(v-=I,b+=this._memory[E].score*I,E===this._front)break;E=(this._capacity+E-1)%this._capacity,w++}while(!0);return b<=.5}acceptStandardWheelEvent(v){const b=window.devicePixelRatio/(0,L.getZoomFactor)();i.isWindows||i.isLinux?this.accept(Date.now(),v.deltaX/b,v.deltaY/b):this.accept(Date.now(),v.deltaX,v.deltaY)}accept(v,b,w){const E=new h(v,b,w);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(v){if(Math.abs(v.deltaX)>0&&Math.abs(v.deltaY)>0)return 1;let b=.5;const w=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(v.deltaX)||!this._isAlmostInt(v.deltaY))&&(b+=.25),Math.min(Math.max(b,0),1)}_isAlmostInt(v){return Math.abs(Math.round(v)-v)<.01}}e.MouseWheelClassifier=r,r.INSTANCE=new r;class c extends _.Widget{get options(){return this._options}constructor(v,b,w){super(),this._onScroll=this._register(new C.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Emitter),v.style.overflow="hidden",this._options=p(b),this._scrollable=w,this._register(this._scrollable.onScroll(I=>{this._onWillScroll.fire(I),this._onDidScroll(I),this._onScroll.fire(I)}));const E={onMouseWheel:I=>this._onMouseWheel(I),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new f.VerticalScrollbar(this._scrollable,this._options,E)),this._horizontalScrollbar=this._register(new S.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(v),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,y.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,I=>this._onMouseOver(I)),this.onmouseleave(this._listenOnDomNode,I=>this._onMouseLeave(I)),this._hideTimeout=this._register(new g.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(v){this._verticalScrollbar.delegatePointerDown(v)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(v){this._scrollable.setScrollDimensions(v,!1)}updateClassName(v){this._options.className=v,i.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(v){typeof v.handleMouseWheel<"u"&&(this._options.handleMouseWheel=v.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof v.mouseWheelScrollSensitivity<"u"&&(this._options.mouseWheelScrollSensitivity=v.mouseWheelScrollSensitivity),typeof v.fastScrollSensitivity<"u"&&(this._options.fastScrollSensitivity=v.fastScrollSensitivity),typeof v.scrollPredominantAxis<"u"&&(this._options.scrollPredominantAxis=v.scrollPredominantAxis),typeof v.horizontal<"u"&&(this._options.horizontal=v.horizontal),typeof v.vertical<"u"&&(this._options.vertical=v.vertical),typeof v.horizontalScrollbarSize<"u"&&(this._options.horizontalScrollbarSize=v.horizontalScrollbarSize),typeof v.verticalScrollbarSize<"u"&&(this._options.verticalScrollbarSize=v.verticalScrollbarSize),typeof v.scrollByPage<"u"&&(this._options.scrollByPage=v.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(v){this._onMouseWheel(new D.StandardWheelEvent(v))}_setListeningToMouseWheel(v){if(this._mouseWheelToDispose.length>0!==v&&(this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),v)){const w=E=>{this._onMouseWheel(new D.StandardWheelEvent(E))};this._mouseWheelToDispose.push(k.addDisposableListener(this._listenOnDomNode,k.EventType.MOUSE_WHEEL,w,{passive:!1}))}}_onMouseWheel(v){var b;if(!((b=v.browserEvent)===null||b===void 0)&&b.defaultPrevented)return;const w=r.INSTANCE;u&&w.acceptStandardWheelEvent(v);let E=!1;if(v.deltaY||v.deltaX){let M=v.deltaY*this._options.mouseWheelScrollSensitivity,P=v.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&P+M===0?P=M=0:Math.abs(M)>=Math.abs(P)?P=0:M=0),this._options.flipAxes&&([M,P]=[P,M]);const x=!i.isMacintosh&&v.browserEvent&&v.browserEvent.shiftKey;(this._options.scrollYToX||x)&&!P&&(P=M,M=0),v.browserEvent&&v.browserEvent.altKey&&(P=P*this._options.fastScrollSensitivity,M=M*this._options.fastScrollSensitivity);const T=this._scrollable.getFutureScrollPosition();let A={};if(M){const N=a*M,F=T.scrollTop-(N<0?Math.floor(N):Math.ceil(N));this._verticalScrollbar.writeScrollPosition(A,F)}if(P){const N=a*P,F=T.scrollLeft-(N<0?Math.floor(N):Math.ceil(N));this._horizontalScrollbar.writeScrollPosition(A,F)}A=this._scrollable.validateScrollPosition(A),(T.scrollLeft!==A.scrollLeft||T.scrollTop!==A.scrollTop)&&(u&&this._options.mouseWheelSmoothScroll&&w.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(A):this._scrollable.setScrollPositionNow(A),E=!0)}let I=E;!I&&this._options.alwaysConsumeMouseWheel&&(I=!0),!I&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(I=!0),I&&(v.preventDefault(),v.stopPropagation())}_onDidScroll(v){this._shouldRender=this._horizontalScrollbar.onDidScroll(v)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(v)||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 v=this._scrollable.getCurrentScrollPosition(),b=v.scrollTop>0,w=v.scrollLeft>0,E=w?" left":"",I=b?" top":"",M=w||b?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${E}`),this._topShadowDomNode.setClassName(`shadow${I}`),this._topLeftShadowDomNode.setClassName(`shadow${M}${I}${E}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(v){this._mouseIsOver=!1,this._hide()}_onMouseOver(v){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(),t)}}e.AbstractScrollableElement=c;class o extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w)}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}}e.ScrollableElement=o;class d extends c{constructor(v,b,w){super(v,b,w)}setScrollPosition(v){v.reuseAnimation?this._scrollable.setScrollPositionSmooth(v,v.reuseAnimation):this._scrollable.setScrollPositionNow(v)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}e.SmoothScrollableElement=d;class l extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w),this._element=v,this.onScroll(E=>{E.scrollTopChanged&&(this._element.scrollTop=E.scrollTop),E.scrollLeftChanged&&(this._element.scrollLeft=E.scrollLeft)}),this.scanDomNode()}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}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=l;function p(m){const v={lazyRender:typeof m.lazyRender<"u"?m.lazyRender:!1,className:typeof m.className<"u"?m.className:"",useShadows:typeof m.useShadows<"u"?m.useShadows:!0,handleMouseWheel:typeof m.handleMouseWheel<"u"?m.handleMouseWheel:!0,flipAxes:typeof m.flipAxes<"u"?m.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof m.consumeMouseWheelIfScrollbarIsNeeded<"u"?m.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof m.alwaysConsumeMouseWheel<"u"?m.alwaysConsumeMouseWheel:!1,scrollYToX:typeof m.scrollYToX<"u"?m.scrollYToX:!1,mouseWheelScrollSensitivity:typeof m.mouseWheelScrollSensitivity<"u"?m.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof m.fastScrollSensitivity<"u"?m.fastScrollSensitivity:5,scrollPredominantAxis:typeof m.scrollPredominantAxis<"u"?m.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof m.mouseWheelSmoothScroll<"u"?m.mouseWheelSmoothScroll:!0,arrowSize:typeof m.arrowSize<"u"?m.arrowSize:11,listenOnDomNode:typeof m.listenOnDomNode<"u"?m.listenOnDomNode:null,horizontal:typeof m.horizontal<"u"?m.horizontal:1,horizontalScrollbarSize:typeof m.horizontalScrollbarSize<"u"?m.horizontalScrollbarSize:10,horizontalSliderSize:typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:0,horizontalHasArrows:typeof m.horizontalHasArrows<"u"?m.horizontalHasArrows:!1,vertical:typeof m.vertical<"u"?m.vertical:1,verticalScrollbarSize:typeof m.verticalScrollbarSize<"u"?m.verticalScrollbarSize:10,verticalHasArrows:typeof m.verticalHasArrows<"u"?m.verticalHasArrows:!1,verticalSliderSize:typeof m.verticalSliderSize<"u"?m.verticalSliderSize:0,scrollByPage:typeof m.scrollByPage<"u"?m.scrollByPage:!1};return v.horizontalSliderSize=typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:v.horizontalScrollbarSize,v.verticalSliderSize=typeof m.verticalSliderSize<"u"?m.verticalSliderSize:v.verticalScrollbarSize,i.isMacintosh&&(v.className+=" mac"),v}}),define(ne[310],se([1,0,7,44,75,2,555,399]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverAccessibleViewHint=e.HoverAction=e.HoverWidget=void 0;const f=L.$;class _ extends D.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 y.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}e.HoverWidget=_;class g extends D.Disposable{static render(i,n,t){return new g(i,n,t)}constructor(i,n,t){super(),this.actionContainer=L.append(i,f("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=L.append(this.actionContainer,f("a.action")),this.action.setAttribute("role","button"),n.iconClass&&L.append(this.action,f(`span.icon.${n.iconClass}`));const a=L.append(this.action,f("span"));a.textContent=t?`${n.label} (${t})`:n.label,this._register(L.addDisposableListener(this.actionContainer,L.EventType.CLICK,u=>{u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer)})),this._register(L.addDisposableListener(this.actionContainer,L.EventType.KEY_DOWN,u=>{const h=new k.StandardKeyboardEvent(u);(h.equals(3)||h.equals(10))&&(u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer))})),this.setEnabled(!0)}setEnabled(i){i?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}e.HoverAction=g;function C(s,i){return s&&i?(0,S.localize)(0,null,i):s?(0,S.localize)(1,null):""}e.getHoverAccessibleViewHint=C}),define(ne[225],se([1,0,197,7,81,61,75,14,13,106,6,2,166,167,391,573,9]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListView=e.NativeDragAndDropData=e.ExternalElementsDragAndDropData=e.ElementsDragAndDropData=void 0;const h={CurrentDragAndDropData:void 0},r={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(v){return[v]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class c{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ElementsDragAndDropData=c;class o{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ExternalElementsDragAndDropData=o;class d{constructor(){this.types=[],this.files=[]}update(b){if(b.types&&this.types.splice(0,this.types.length,...b.types),b.files){this.files.splice(0,this.files.length);for(let w=0;wI,b?.getPosInSet?this.getPosInSet=b.getPosInSet.bind(b):this.getPosInSet=(w,E)=>E+1,b?.getRole?this.getRole=b.getRole.bind(b):this.getRole=w=>"listitem",b?.isChecked?this.isChecked=b.isChecked.bind(b):this.isChecked=w=>{}}}class m{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(b){if(b!==this._horizontalScrolling){if(b&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=b,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const w of this.items)this.measureItemWidth(w);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=""}}constructor(b,w,E,I=r){var M,P,x,T,A,N,F,O,W,U,j,R,K;if(this.virtualDelegate=w,this.domId=`list_id_${++m.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new _.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=s.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=s.Disposable.None,this.onDragLeaveTimeout=s.Disposable.None,this.disposables=new s.DisposableStore,this._onDidChangeContentHeight=new C.Emitter,this._onDidChangeContentWidth=new C.Emitter,this._horizontalScrolling=!1,I.horizontalScrolling&&I.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new t.RangeMap((M=I.paddingTop)!==null&&M!==void 0?M:0);for(const Z of E)this.renderers.set(Z.templateId,Z);this.cache=this.disposables.add(new a.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 I.mouseSupport=="boolean"?I.mouseSupport:!0),this._horizontalScrolling=(P=I.horizontalScrolling)!==null&&P!==void 0?P:r.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=typeof I.paddingBottom>"u"?0:I.paddingBottom,this.accessibilityProvider=new p(I.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",((x=I.transformOptimization)!==null&&x!==void 0?x:r.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(D.Gesture.addTarget(this.rowsContainer)),this.scrollable=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:(T=I.smoothScrolling)!==null&&T!==void 0&&T?125:0,scheduleAtNextAnimationFrame:Z=>(0,k.scheduleAtNextAnimationFrame)(Z)}),this.scrollableElement=this.disposables.add(new S.SmoothScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:(A=I.alwaysConsumeMouseWheel)!==null&&A!==void 0?A:r.alwaysConsumeMouseWheel,horizontal:1,vertical:(N=I.verticalScrollMode)!==null&&N!==void 0?N:r.verticalScrollMode,useShadows:(F=I.useShadows)!==null&&F!==void 0?F:r.useShadows,mouseWheelScrollSensitivity:I.mouseWheelScrollSensitivity,fastScrollSensitivity:I.fastScrollSensitivity,scrollByPage:I.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),b.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,k.addDisposableListener)(this.rowsContainer,D.EventType.Change,Z=>this.onTouchChange(Z))),this.disposables.add((0,k.addDisposableListener)(this.scrollableElement.getDomNode(),"scroll",Z=>Z.target.scrollTop=0)),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragover",Z=>this.onDragOver(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"drop",Z=>this.onDrop(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragleave",Z=>this.onDragLeave(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragend",Z=>this.onDragEnd(Z))),this.setRowLineHeight=(O=I.setRowLineHeight)!==null&&O!==void 0?O:r.setRowLineHeight,this.setRowHeight=(W=I.setRowHeight)!==null&&W!==void 0?W:r.setRowHeight,this.supportDynamicHeights=(U=I.supportDynamicHeights)!==null&&U!==void 0?U:r.supportDynamicHeights,this.dnd=(j=I.dnd)!==null&&j!==void 0?j:r.dnd,this.layout((R=I.initialSize)===null||R===void 0?void 0:R.height,(K=I.initialSize)===null||K===void 0?void 0:K.width)}updateOptions(b){b.paddingBottom!==void 0&&(this.paddingBottom=b.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),b.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(b.smoothScrolling?125:0),b.horizontalScrolling!==void 0&&(this.horizontalScrolling=b.horizontalScrolling);let w;if(b.scrollByPage!==void 0&&(w=Object.assign(Object.assign({},w??{}),{scrollByPage:b.scrollByPage})),b.mouseWheelScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{mouseWheelScrollSensitivity:b.mouseWheelScrollSensitivity})),b.fastScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{fastScrollSensitivity:b.fastScrollSensitivity})),w&&this.scrollableElement.updateOptions(w),b.paddingTop!==void 0&&b.paddingTop!==this.rangeMap.paddingTop){const E=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),I=b.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=b.paddingTop,this.render(E,Math.max(0,this.lastRenderTop+I),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}splice(b,w,E=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(b,w,E)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(b,w,E=[]){const I=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),M={start:b,end:b+w},P=i.Range.intersect(I,M),x=new Map;for(let H=P.end-1;H>=P.start;H--){const B=this.items[H];if(B.dragStartDisposable.dispose(),B.checkedDisposable.dispose(),B.row){let V=x.get(B.templateId);V||(V=[],x.set(B.templateId,V));const Y=this.renderers.get(B.templateId);Y&&Y.disposeElement&&Y.disposeElement(B.element,H,B.row.templateData,B.size),V.push(B.row)}B.row=null}const T={start:b+w,end:this.items.length},A=i.Range.intersect(T,I),N=i.Range.relativeComplement(T,I),F=E.map(H=>({id:String(this.itemId++),element:H,templateId:this.virtualDelegate.getTemplateId(H),size:this.virtualDelegate.getHeight(H),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(H),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:s.Disposable.None,checkedDisposable:s.Disposable.None}));let O;b===0&&w>=this.items.length?(this.rangeMap=new t.RangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,F),O=this.items,this.items=F):(this.rangeMap.splice(b,w,F),O=this.items.splice(b,w,...F));const W=E.length-w,U=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),j=(0,t.shift)(A,W),R=i.Range.intersect(U,j);for(let H=R.start;H(0,t.shift)(H,W)),J=[{start:b,end:b+E.length},...G].map(H=>i.Range.intersect(U,H)),X=this.getNextToLastElement(J);for(const H of J)for(let B=H.start;BH.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 b=0;for(const w of this.items)typeof w.width<"u"&&(b=Math.max(b,w.width));this.scrollWidth=b,this.scrollableElement.setScrollDimensions({scrollWidth:b===0?0:b+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(const b of this.items)b.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}get firstVisibleIndex(){const b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),w=this.rangeMap.positionAt(b.start),E=this.rangeMap.positionAt(b.start+1);return E!==-1&&(E-w)/2+w{for(const F of A)for(let O=F.start;OI.row.domNode.setAttribute("aria-checked",String(!!F));N(x.value),I.checkedDisposable=x.onDidChange(N)}(M||!I.row.domNode.parentElement)&&(w?this.rowsContainer.insertBefore(I.row.domNode,w):this.rowsContainer.appendChild(I.row.domNode)),this.updateItemInDOM(I,b);const T=this.renderers.get(I.templateId);if(!T)throw new Error(`No renderer found for template id ${I.templateId}`);T?.renderElement(I.element,b,I.row.templateData,I.size);const A=this.dnd.getDragURI(I.element);I.dragStartDisposable.dispose(),I.row.domNode.draggable=!!A,A&&(I.dragStartDisposable=(0,k.addDisposableListener)(I.row.domNode,"dragstart",N=>this.onDragStart(I.element,A,N))),this.horizontalScrolling&&(this.measureItemWidth(I),this.eventuallyUpdateScrollWidth())}measureItemWidth(b){if(!b.row||!b.row.domNode)return;b.row.domNode.style.width="fit-content",b.width=(0,k.getContentWidth)(b.row.domNode);const w=window.getComputedStyle(b.row.domNode);w.paddingLeft&&(b.width+=parseFloat(w.paddingLeft)),w.paddingRight&&(b.width+=parseFloat(w.paddingRight)),b.row.domNode.style.width=""}updateItemInDOM(b,w){b.row.domNode.style.top=`${this.elementTop(w)}px`,this.setRowHeight&&(b.row.domNode.style.height=`${b.size}px`),this.setRowLineHeight&&(b.row.domNode.style.lineHeight=`${b.size}px`),b.row.domNode.setAttribute("data-index",`${w}`),b.row.domNode.setAttribute("data-last-element",w===this.length-1?"true":"false"),b.row.domNode.setAttribute("data-parity",w%2===0?"even":"odd"),b.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(b.element,w,this.length))),b.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(b.element,w))),b.row.domNode.setAttribute("id",this.getElementDomId(w)),b.row.domNode.classList.toggle("drop-target",b.dropTarget)}removeItemFromDOM(b){const w=this.items[b];if(w.dragStartDisposable.dispose(),w.checkedDisposable.dispose(),w.row){const E=this.renderers.get(w.templateId);E&&E.disposeElement&&E.disposeElement(w.element,b,w.row.templateData,w.size),this.cache.release(w.row),w.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(b,w){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:b,reuseAnimation:w})}get scrollTop(){return this.getScrollTop()}set scrollTop(b){this.setScrollTop(b)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"click")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseDblClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"dblclick")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseMiddleClick(){return C.Event.filter(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"auxclick")).event,b=>this.toMouseEvent(b),this.disposables),b=>b.browserEvent.button===1,this.disposables)}get onMouseDown(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mousedown")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOver(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseover")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOut(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseout")).event,b=>this.toMouseEvent(b),this.disposables)}get onContextMenu(){return C.Event.any(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"contextmenu")).event,b=>this.toMouseEvent(b),this.disposables),C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,D.EventType.Contextmenu)).event,b=>this.toGestureEvent(b),this.disposables))}get onTouchStart(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"touchstart")).event,b=>this.toTouchEvent(b),this.disposables)}get onTap(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.rowsContainer,D.EventType.Tap)).event,b=>this.toGestureEvent(b),this.disposables)}toMouseEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toTouchEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toGestureEvent(b){const w=this.getItemIndexFromEventTarget(b.initialTarget||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toDragEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}onScroll(b){try{const w=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(w,b.scrollTop,b.height,b.scrollLeft,b.scrollWidth),this.supportDynamicHeights&&this._rerender(b.scrollTop,b.height,b.inSmoothScrolling)}catch(w){throw console.error("Got bad scroll event:",b),w}}onTouchChange(b){b.preventDefault(),b.stopPropagation(),this.scrollTop-=b.translationY}onDragStart(b,w,E){var I,M;if(!E.dataTransfer)return;const P=this.dnd.getDragElements(b);if(E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setData(L.DataTransfers.TEXT,w),E.dataTransfer.setDragImage){let x;this.dnd.getDragLabel&&(x=this.dnd.getDragLabel(P,E)),typeof x>"u"&&(x=String(P.length));const T=(0,k.$)(".monaco-drag-image");T.textContent=x;const N=(F=>{for(;F&&!F.classList.contains("monaco-workbench");)F=F.parentElement;return F||document.body})(this.domNode);N.appendChild(T),E.dataTransfer.setDragImage(T,-10,-10),setTimeout(()=>N.removeChild(T),0)}this.domNode.classList.add("dragging"),this.currentDragData=new c(P),h.CurrentDragAndDropData=new o(P),(M=(I=this.dnd).onDragStart)===null||M===void 0||M.call(I,this.currentDragData,E)}onDragOver(b){var w;if(b.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),h.CurrentDragAndDropData&&h.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(b.browserEvent),!b.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(h.CurrentDragAndDropData)this.currentDragData=h.CurrentDragAndDropData;else{if(!b.browserEvent.dataTransfer.types)return!1;this.currentDragData=new d}const E=this.dnd.onDragOver(this.currentDragData,b.element,b.index,b.browserEvent);if(this.canDrop=typeof E=="boolean"?E:E.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;b.browserEvent.dataTransfer.dropEffect=typeof E!="boolean"&&E.effect===0?"copy":"move";let I;if(typeof E!="boolean"&&E.feedback?I=E.feedback:typeof b.index>"u"?I=[-1]:I=[b.index],I=(0,f.distinct)(I).filter(M=>M>=-1&&MM-P),I=I[0]===-1?[-1]:I,l(this.currentDragFeedback,I))return!0;if(this.currentDragFeedback=I,this.currentDragFeedbackDisposable.dispose(),I[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const M of I){const P=this.items[M];P.dropTarget=!0,(w=P.row)===null||w===void 0||w.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{var M;for(const P of I){const x=this.items[P];x.dropTarget=!1,(M=x.row)===null||M===void 0||M.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(b){var w,E;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,_.disposableTimeout)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&((E=(w=this.dnd).onDragLeave)===null||E===void 0||E.call(w,this.currentDragData,b.element,b.index,b.browserEvent))}onDrop(b){if(!this.canDrop)return;const w=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,!(!w||!b.browserEvent.dataTransfer)&&(b.browserEvent.preventDefault(),w.update(b.browserEvent.dataTransfer),this.dnd.drop(w,b.element,b.index,b.browserEvent))}onDragEnd(b){var w,E;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,(E=(w=this.dnd).onDragEnd)===null||E===void 0||E.call(w,b)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=s.Disposable.None}setupDragAndDropScrollTopAnimation(b){if(!this.dragOverAnimationDisposable){const w=(0,k.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,k.animate)(this.animateDragAndDropScrollTop.bind(this,w))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,_.disposableTimeout)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=b.pageY}animateDragAndDropScrollTop(b){if(this.dragOverMouseY===void 0)return;const w=this.dragOverMouseY-b,E=this.renderHeight-35;w<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(w-35))):w>E&&(this.scrollTop+=Math.min(14,Math.floor(.3*(w-E))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(b){const w=this.scrollableElement.getDomNode();let E=b;for(;E instanceof HTMLElement&&E!==this.rowsContainer&&w.contains(E);){const I=E.getAttribute("data-index");if(I){const M=Number(I);if(!isNaN(M))return M}E=E.parentElement}}getRenderRange(b,w){return{start:this.rangeMap.indexAt(b),end:this.rangeMap.indexAfter(b+w-1)}}_rerender(b,w,E){const I=this.getRenderRange(b,w);let M,P;b===this.elementTop(I.start)?(M=I.start,P=0):I.end-I.start>1&&(M=I.start+1,P=this.elementTop(M)-b);let x=0;for(;;){const T=this.getRenderRange(b,w);let A=!1;for(let N=T.start;Nce.templateData===ie);if(ae>=0){const ce=this.renderedElements[ae];this.trait.unrender(ie),ce.index=Y}else{const ce={index:Y,templateData:ie};this.renderedElements.push(ce)}this.trait.renderIndex(Y,ie)}splice(V,Y,ie){const ae=[];for(const ce of this.renderedElements)ce.index=V+Y&&ae.push({index:ce.index+ie-Y,templateData:ce.templateData});this.renderedElements=ae}renderIndexes(V){for(const{index:Y,templateData:ie}of this.renderedElements)V.indexOf(Y)>-1&&this.trait.renderIndex(Y,ie)}disposeTemplate(V){const Y=this.renderedElements.findIndex(ie=>ie.templateData===V);Y<0||this.renderedElements.splice(Y,1)}}class l{get name(){return this._trait}get renderer(){return new d(this)}constructor(V){this._trait=V,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new i.Emitter,this.onChange=this._onChange.event}splice(V,Y,ie){var ae;Y=Math.max(0,Math.min(Y,this.length-V));const ce=ie.length-Y,de=V+Y,he=[];let ue=0;for(;ue=de;)he.push(this.sortedIndexes[ue++]+ce);const te=this.length+ce;if(this.sortedIndexes.length>0&&he.length===0&&te>0){const q=(ae=this.sortedIndexes.find(z=>z>=V))!==null&&ae!==void 0?ae:te-1;he.push(Math.min(q,te-1))}this.renderer.splice(V,Y,ie.length),this._set(he,he),this.length=te}renderIndex(V,Y){Y.classList.toggle(this._trait,this.contains(V))}unrender(V){V.classList.remove(this._trait)}set(V,Y){return this._set(V,[...V].sort(G),Y)}_set(V,Y,ie){const ae=this.indexes,ce=this.sortedIndexes;this.indexes=V,this.sortedIndexes=Y;const de=R(ce,V);return this.renderer.renderIndexes(de),this._onChange.fire({indexes:V,browserEvent:ie}),ae}get(){return this.indexes}contains(V){return(0,_.binarySearch)(this.sortedIndexes,V,G)>=0}dispose(){(0,t.dispose)(this._onChange)}}ke([s.memoize],l.prototype,"renderer",null);class p extends l{constructor(V){super("selected"),this.setAriaSelected=V}renderIndex(V,Y){super.renderIndex(V,Y),this.setAriaSelected&&(this.contains(V)?Y.setAttribute("aria-selected","true"):Y.setAttribute("aria-selected","false"))}}class m{constructor(V,Y,ie){this.trait=V,this.view=Y,this.identityProvider=ie}splice(V,Y,ie){if(!this.identityProvider)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ae=this.trait.get().map(he=>this.identityProvider.getId(this.view.element(he)).toString());if(ae.length===0)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ce=new Set(ae),de=ie.map(he=>ce.has(this.identityProvider.getId(he).toString()));this.trait.splice(V,Y,de)}}function v(B){return B.tagName==="INPUT"||B.tagName==="TEXTAREA"}e.isInputElement=v;function b(B){return B.classList.contains("monaco-editor")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:b(B.parentElement)}e.isMonacoEditor=b;function w(B){return B.tagName==="A"&&B.classList.contains("monaco-button")||B.tagName==="DIV"&&B.classList.contains("monaco-button-dropdown")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:w(B.parentElement)}e.isButton=w;class E{get onKeyDown(){return this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event).filter(V=>!v(V.target)).map(V=>new y.StandardKeyboardEvent(V)))}constructor(V,Y,ie){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.multipleSelectionDisposables=new t.DisposableStore,this.onKeyDown.filter(ae=>ae.keyCode===3).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===16).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===18).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===11).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===12).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===9).on(this.onEscape,this,this.disposables),ie.multipleSelectionSupport!==!1&&this.onKeyDown.filter(ae=>(u.isMacintosh?ae.metaKey:ae.ctrlKey)&&ae.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables)}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionDisposables.clear(),V.multipleSelectionSupport&&this.onKeyDown.filter(Y=>(u.isMacintosh?Y.metaKey:Y.ctrlKey)&&Y.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 Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNext(1,!1,V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPreviousPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNextPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onCtrlA(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection((0,_.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()}}ke([s.memoize],E.prototype,"onKeyDown",null);var I;(function(B){B[B.Automatic=0]="Automatic",B[B.Trigger=1]="Trigger"})(I||(e.TypeNavigationMode=I={}));var M;(function(B){B[B.Idle=0]="Idle",B[B.Typing=1]="Typing"})(M||(M={})),e.DefaultKeyboardNavigationDelegate=new class{mightProducePrintableCharacter(B){return B.ctrlKey||B.metaKey||B.altKey?!1:B.keyCode>=31&&B.keyCode<=56||B.keyCode>=21&&B.keyCode<=30||B.keyCode>=98&&B.keyCode<=107||B.keyCode>=85&&B.keyCode<=95}};class P{constructor(V,Y,ie,ae,ce){this.list=V,this.view=Y,this.keyboardNavigationLabelProvider=ie,this.keyboardNavigationEventFilter=ae,this.delegate=ce,this.enabled=!1,this.state=M.Idle,this.mode=I.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new t.DisposableStore,this.disposables=new t.DisposableStore,this.updateOptions(V.options)}updateOptions(V){var Y,ie;!((Y=V.typeNavigationEnabled)!==null&&Y!==void 0)||Y?this.enable():this.disable(),this.mode=(ie=V.typeNavigationMode)!==null&&ie!==void 0?ie:I.Automatic}enable(){if(this.enabled)return;let V=!1;const Y=this.enabledDisposables.add(i.Event.chain(this.enabledDisposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).filter(ce=>!v(ce.target)).filter(()=>this.mode===I.Automatic||this.triggered).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V||this.keyboardNavigationEventFilter(ce)).filter(ce=>this.delegate.mightProducePrintableCharacter(ce)).forEach(ce=>L.EventHelper.stop(ce,!0)).map(ce=>ce.browserEvent.key).event,ie=i.Event.debounce(Y,()=>null,800,void 0,void 0,void 0,this.enabledDisposables);i.Event.reduce(i.Event.any(Y,ie),(ce,de)=>de===null?null:(ce||"")+de,void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),ie(this.onClear,this,this.enabledDisposables),Y(()=>V=!0,void 0,this.enabledDisposables),ie(()=>V=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var V;const Y=this.list.getFocus();if(Y.length>0&&Y[0]===this.previouslyFocused){const ie=(V=this.list.options.accessibilityProvider)===null||V===void 0?void 0:V.getAriaLabel(this.list.element(Y[0]));ie&&(0,S.alert)(ie)}this.previouslyFocused=-1}onInput(V){if(!V){this.state=M.Idle,this.triggered=!1;return}const Y=this.list.getFocus(),ie=Y.length>0?Y[0]:0,ae=this.state===M.Idle?1:0;this.state=M.Typing;for(let ce=0;ce1&&q.length===1){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}}else if(typeof ue>"u"||(0,n.matchesPrefix)(V,ue)){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class x{constructor(V,Y){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(Y.domNode,"keydown")).event)).filter(ae=>!v(ae.target)).map(ae=>new y.StandardKeyboardEvent(ae)).filter(ae=>ae.keyCode===2&&!ae.ctrlKey&&!ae.metaKey&&!ae.shiftKey&&!ae.altKey).on(this.onTab,this,this.disposables)}onTab(V){if(V.target!==this.view.domNode)return;const Y=this.list.getFocus();if(Y.length===0)return;const ie=this.view.domElement(Y[0]);if(!ie)return;const ae=ie.querySelector("[tabIndex]");if(!ae||!(ae instanceof HTMLElement)||ae.tabIndex===-1)return;const ce=window.getComputedStyle(ae);ce.visibility==="hidden"||ce.display==="none"||(V.preventDefault(),V.stopPropagation(),ae.focus())}dispose(){this.disposables.dispose()}}function T(B){return u.isMacintosh?B.browserEvent.metaKey:B.browserEvent.ctrlKey}e.isSelectionSingleChangeEvent=T;function A(B){return B.browserEvent.shiftKey}e.isSelectionRangeChangeEvent=A;function N(B){return B instanceof MouseEvent&&B.button===2}const F={isSelectionSingleChangeEvent:T,isSelectionRangeChangeEvent:A};class O{constructor(V){this.list=V,this.disposables=new t.DisposableStore,this._onPointer=new i.Emitter,this.onPointer=this._onPointer.event,V.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||F),this.mouseSupport=typeof V.options.mouseSupport>"u"||!!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(D.Gesture.addTarget(V.getHTMLElement()))),i.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||F))}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){b(V.browserEvent.target)||document.activeElement!==V.browserEvent.target&&this.list.domFocus()}onContextMenu(V){if(v(V.browserEvent.target)||b(V.browserEvent.target))return;const Y=typeof V.index>"u"?[]:[V.index];this.list.setFocus(Y,V.browserEvent)}onViewPointer(V){if(!this.mouseSupport||v(V.browserEvent.target)||b(V.browserEvent.target)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=V.index;if(typeof Y>"u"){this.list.setFocus([],V.browserEvent),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(V))return this.changeSelection(V);this.list.setFocus([Y],V.browserEvent),this.list.setAnchor(Y),N(V.browserEvent)||this.list.setSelection([Y],V.browserEvent),this._onPointer.fire(V)}onDoubleClick(V){if(v(V.browserEvent.target)||b(V.browserEvent.target)||this.isSelectionChangeEvent(V)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=this.list.getFocus();this.list.setSelection(Y,V.browserEvent)}changeSelection(V){const Y=V.index;let ie=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(V)){if(typeof ie>"u"){const q=this.list.getFocus()[0];ie=q??Y,this.list.setAnchor(ie)}const ae=Math.min(ie,Y),ce=Math.max(ie,Y),de=(0,_.range)(ae,ce+1),he=this.list.getSelection(),ue=j(R(he,[ie]),ie);if(ue.length===0)return;const te=R(de,K(he,ue));this.list.setSelection(te,V.browserEvent),this.list.setFocus([Y],V.browserEvent)}else if(this.isSelectionSingleChangeEvent(V)){const ae=this.list.getSelection(),ce=ae.filter(de=>de!==Y);this.list.setFocus([Y]),this.list.setAnchor(Y),ae.length===ce.length?this.list.setSelection([...ce,Y],V.browserEvent):this.list.setSelection(ce,V.browserEvent)}}dispose(){this.disposables.dispose()}}e.MouseController=O;class W{constructor(V,Y){this.styleElement=V,this.selectorSuffix=Y}style(V){var Y,ie;const ae=this.selectorSuffix&&`.${this.selectorSuffix}`,ce=[];V.listBackground&&ce.push(`.monaco-list${ae} .monaco-list-rows { background: ${V.listBackground}; }`),V.listFocusBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { background-color: ${V.listFocusBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused:hover { background-color: ${V.listFocusBackground}; }`)),V.listFocusForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { color: ${V.listFocusForeground}; }`),V.listActiveSelectionBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { background-color: ${V.listActiveSelectionBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected:hover { background-color: ${V.listActiveSelectionBackground}; }`)),V.listActiveSelectionForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { color: ${V.listActiveSelectionForeground}; }`),V.listActiveSelectionIconForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected .codicon { color: ${V.listActiveSelectionIconForeground}; }`),V.listFocusAndSelectionBackground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { background-color: ${V.listFocusAndSelectionBackground}; } - `),V.listFocusAndSelectionForeground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { color: ${V.listFocusAndSelectionForeground}; } - `),V.listInactiveFocusForeground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { color: ${V.listInactiveFocusForeground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { color: ${V.listInactiveFocusForeground}; }`)),V.listInactiveSelectionIconForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.focused .codicon { color: ${V.listInactiveSelectionIconForeground}; }`),V.listInactiveFocusBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { background-color: ${V.listInactiveFocusBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { background-color: ${V.listInactiveFocusBackground}; }`)),V.listInactiveSelectionBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.selected { background-color: ${V.listInactiveSelectionBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.selected:hover { background-color: ${V.listInactiveSelectionBackground}; }`)),V.listInactiveSelectionForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { color: ${V.listInactiveSelectionForeground}; }`),V.listHoverBackground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${V.listHoverBackground}; }`),V.listHoverForeground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${V.listHoverForeground}; }`);const de=(0,L.asCssValueWithDefault)(V.listFocusAndSelectionOutline,(0,L.asCssValueWithDefault)(V.listSelectionOutline,(Y=V.listFocusOutline)!==null&&Y!==void 0?Y:""));de&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused.selected { outline: 1px solid ${de}; outline-offset: -1px;}`),V.listFocusOutline&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - .monaco-workbench.context-menu-visible .monaco-list${ae}.last-focused .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - `);const he=(0,L.asCssValueWithDefault)(V.listSelectionOutline,(ie=V.listInactiveFocusOutline)!==null&&ie!==void 0?ie:"");he&&ce.push(`.monaco-list${ae} .monaco-list-row.focused.selected { outline: 1px dotted ${he}; outline-offset: -1px; }`),V.listSelectionOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { outline: 1px dotted ${V.listSelectionOutline}; outline-offset: -1px; }`),V.listInactiveFocusOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.focused { outline: 1px dotted ${V.listInactiveFocusOutline}; outline-offset: -1px; }`),V.listHoverOutline&&ce.push(`.monaco-list${ae} .monaco-list-row:hover { outline: 1px dashed ${V.listHoverOutline}; outline-offset: -1px; }`),V.listDropBackground&&ce.push(` - .monaco-list${ae}.drop-target, - .monaco-list${ae} .monaco-list-rows.drop-target, - .monaco-list${ae} .monaco-list-row.drop-target { background-color: ${V.listDropBackground} !important; color: inherit !important; } - `),V.tableColumnsBorder&&ce.push(` - .monaco-table > .monaco-split-view2, - .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: ${V.tableColumnsBorder}; - } - - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: transparent; - } - `),V.tableOddRowsBackgroundColor&&ce.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=ce.join(` -`)}}e.DefaultStyleController=W,e.unthemedListStyles={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropBackground:"#383B3D",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:C.Color.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:C.Color.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:C.Color.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0};const U={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function j(B,V){const Y=B.indexOf(V);if(Y===-1)return[];const ie=[];let ae=Y-1;for(;ae>=0&&B[ae]===V-(Y-ae);)ie.push(B[ae--]);for(ie.reverse(),ae=Y;ae=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){Y.push(B[ie]),ie++,ae++;continue}else B[ie]=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){ie++,ae++;continue}else B[ie]B-V;class Z{constructor(V,Y){this._templateId=V,this.renderers=Y}get templateId(){return this._templateId}renderTemplate(V){return this.renderers.map(Y=>Y.renderTemplate(V))}renderElement(V,Y,ie,ae){let ce=0;for(const de of this.renderers)de.renderElement(V,Y,ie[ce++],ae)}disposeElement(V,Y,ie,ae){var ce;let de=0;for(const he of this.renderers)(ce=he.disposeElement)===null||ce===void 0||ce.call(he,V,Y,ie[de],ae),de+=1}disposeTemplate(V){let Y=0;for(const ie of this.renderers)ie.disposeTemplate(V[Y++])}}class J{constructor(V){this.accessibilityProvider=V,this.templateId="a18n"}renderTemplate(V){return V}renderElement(V,Y,ie){const ae=this.accessibilityProvider.getAriaLabel(V);ae?ie.setAttribute("aria-label",ae):ie.removeAttribute("aria-label");const ce=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(V);typeof ce=="number"?ie.setAttribute("aria-level",`${ce}`):ie.removeAttribute("aria-level")}disposeTemplate(V){}}class X{constructor(V,Y){this.list=V,this.dnd=Y}getDragElements(V){const Y=this.list.getSelectedElements();return Y.indexOf(V)>-1?Y:[V]}getDragURI(V){return this.dnd.getDragURI(V)}getDragLabel(V,Y){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(V,Y)}onDragStart(V,Y){var ie,ae;(ae=(ie=this.dnd).onDragStart)===null||ae===void 0||ae.call(ie,V,Y)}onDragOver(V,Y,ie,ae){return this.dnd.onDragOver(V,Y,ie,ae)}onDragLeave(V,Y,ie,ae){var ce,de;(de=(ce=this.dnd).onDragLeave)===null||de===void 0||de.call(ce,V,Y,ie,ae)}onDragEnd(V){var Y,ie;(ie=(Y=this.dnd).onDragEnd)===null||ie===void 0||ie.call(Y,V)}drop(V,Y,ie,ae){this.dnd.drop(V,Y,ie,ae)}}class H{get onDidChangeFocus(){return i.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),V=>this.toListEvent(V),this.disposables)}get onDidChangeSelection(){return i.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),V=>this.toListEvent(V),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}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 onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let V=!1;const Y=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V=ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).filter(()=>!1).event,ie=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keyup")).event)).forEach(()=>V=!1).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).map(({browserEvent:ce})=>{const de=this.getFocus(),he=de.length?de[0]:void 0,ue=typeof he<"u"?this.view.element(he):void 0,te=typeof he<"u"?this.view.domElement(he):this.view.domNode;return{index:he,element:ue,anchor:te,browserEvent:ce}}).event,ae=this.disposables.add(i.Event.chain(this.view.onContextMenu)).filter(ce=>!V).map(({element:ce,index:de,browserEvent:he})=>({element:ce,index:de,anchor:new o.StandardMouseEvent(he),browserEvent:he})).event;return i.Event.any(Y,ie,ae)}get onKeyDown(){return this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event}get onDidFocus(){return i.Event.signal(this.disposables.add(new k.DomEmitter(this.view.domNode,"focus",!0)).event)}constructor(V,Y,ie,ae,ce=U){var de,he,ue,te;this.user=V,this._options=ce,this.focus=new l("focused"),this.anchor=new l("anchor"),this.eventBufferer=new i.EventBufferer,this._ariaLabel="",this.disposables=new t.DisposableStore,this._onDidDispose=new i.Emitter,this.onDidDispose=this._onDidDispose.event;const q=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(de=this._options.accessibilityProvider)===null||de===void 0?void 0:de.getWidgetRole():"list";this.selection=new p(q!=="listbox");const z=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=ce.accessibilityProvider,this.accessibilityProvider&&(z.push(new J(this.accessibilityProvider)),(ue=(he=this.accessibilityProvider).onDidChangeActiveDescendant)===null||ue===void 0||ue.call(he,this.onDidChangeActiveDescendant,this,this.disposables)),ae=ae.map($=>new Z($.templateId,[...z,$]));const ee=Object.assign(Object.assign({},ce),{dnd:ce.dnd&&new X(this,ce.dnd)});if(this.view=this.createListView(Y,ie,ae,ee),this.view.domNode.setAttribute("role",q),ce.styleController)this.styleController=ce.styleController(this.view.domId);else{const $=(0,L.createStyleSheet)(this.view.domNode);this.styleController=new W($,this.view.domId)}if(this.spliceable=new f.CombinedSpliceable([new m(this.focus,this.view,ce.identityProvider),new m(this.selection,this.view,ce.identityProvider),new m(this.anchor,this.view,ce.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 x(this,this.view)),(typeof ce.keyboardSupport!="boolean"||ce.keyboardSupport)&&(this.keyboardController=new E(this,this.view,ce),this.disposables.add(this.keyboardController)),ce.keyboardNavigationLabelProvider){const $=ce.keyboardNavigationDelegate||e.DefaultKeyboardNavigationDelegate;this.typeNavigationController=new P(this,this.view,ce.keyboardNavigationLabelProvider,(te=ce.keyboardNavigationEventFilter)!==null&&te!==void 0?te:()=>!0,$),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(ce),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")}createListView(V,Y,ie,ae){return new c.ListView(V,Y,ie,ae)}createMouseController(V){return new O(this)}updateOptions(V={}){var Y,ie;this._options=Object.assign(Object.assign({},this._options),V),(Y=this.typeNavigationController)===null||Y===void 0||Y.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),(ie=this.keyboardController)===null||ie===void 0||ie.updateOptions(V),this.view.updateOptions(V)}get options(){return this._options}splice(V,Y,ie=[]){if(V<0||V>this.view.length)throw new r.ListError(this.user,`Invalid start index: ${V}`);if(Y<0)throw new r.ListError(this.user,`Invalid delete count: ${Y}`);Y===0&&ie.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(V,Y,ie))}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 scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}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,Y){this.view.layout(V,Y)}setSelection(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.selection.set(V,Y)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(V=>this.view.element(V))}setAnchor(V){if(typeof V>"u"){this.anchor.set([]);return}if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);this.anchor.set([V])}getAnchor(){return(0,_.firstOrDefault)(this.anchor.get(),void 0)}getAnchorElement(){const V=this.getAnchor();return typeof V>"u"?void 0:this.element(V)}setFocus(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.focus.set(V,Y)}focusNext(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findNextIndex(ce.length>0?ce[0]+V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusPrevious(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findPreviousIndex(ce.length>0?ce[0]-V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusNextPage(V,Y){return we(this,void 0,void 0,function*(){let ie=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);ie=ie===0?0:ie-1;const ae=this.getFocus()[0];if(ae!==ie&&(ae===void 0||ie>ae)){const ce=this.findPreviousIndex(ie,!1,Y);ce>-1&&ae!==ce?this.setFocus([ce],V):this.setFocus([ie],V)}else{const ce=this.view.getScrollTop();let de=ce+this.view.renderHeight;ie>ae&&(de-=this.view.elementHeight(ie)),this.view.setScrollTop(de),this.view.getScrollTop()!==ce&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusNextPage(V,Y))}})}focusPreviousPage(V,Y){return we(this,void 0,void 0,function*(){let ie;const ae=this.view.getScrollTop();ae===0?ie=this.view.indexAt(ae):ie=this.view.indexAfter(ae-1);const ce=this.getFocus()[0];if(ce!==ie&&(ce===void 0||ce>=ie)){const de=this.findNextIndex(ie,!1,Y);de>-1&&ce!==de?this.setFocus([de],V):this.setFocus([ie],V)}else{const de=ae;this.view.setScrollTop(ae-this.view.renderHeight),this.view.getScrollTop()!==de&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusPreviousPage(V,Y))}})}focusLast(V,Y){if(this.length===0)return;const ie=this.findPreviousIndex(this.length-1,!1,Y);ie>-1&&this.setFocus([ie],V)}focusFirst(V,Y){this.focusNth(0,V,Y)}focusNth(V,Y,ie){if(this.length===0)return;const ae=this.findNextIndex(V,!1,ie);ae>-1&&this.setFocus([ae],Y)}findNextIndex(V,Y=!1,ie){for(let ae=0;ae=this.length&&!Y)return-1;if(V=V%this.length,!ie||ie(this.element(V)))return V;V++}return-1}findPreviousIndex(V,Y=!1,ie){for(let ae=0;aethis.view.element(V))}reveal(V,Y){if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);const ie=this.view.getScrollTop(),ae=this.view.elementTop(V),ce=this.view.elementHeight(V);if((0,h.isNumber)(Y)){const de=ce-this.view.renderHeight;this.view.setScrollTop(de*(0,a.clamp)(Y,0,1)+ae)}else{const de=ae+ce,he=ie+this.view.renderHeight;ae=he||(ae=he&&ce>=this.view.renderHeight?this.view.setScrollTop(ae):de>=he&&this.view.setScrollTop(de-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}getElementID(V){return this.view.getElementDomId(V)}style(V){this.styleController.style(V)}toListEvent({indexes:V,browserEvent:Y}){return{indexes:V,elements:V.map(ie=>this.view.element(ie)),browserEvent:Y}}_onFocusChange(){const V=this.focus.get();this.view.domNode.classList.toggle("element-focused",V.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var V;const Y=this.focus.get();if(Y.length>0){let ie;!((V=this.accessibilityProvider)===null||V===void 0)&&V.getActiveDescendantId&&(ie=this.accessibilityProvider.getActiveDescendantId(this.view.element(Y[0]))),this.view.domNode.setAttribute("aria-activedescendant",ie||this.view.getElementDomId(Y[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()}}e.List=H,ke([s.memoize],H.prototype,"onDidChangeFocus",null),ke([s.memoize],H.prototype,"onDidChangeSelection",null),ke([s.memoize],H.prototype,"onContextMenu",null),ke([s.memoize],H.prototype,"onKeyDown",null),ke([s.memoize],H.prototype,"onDidFocus",null)}),define(ne[578],se([1,0,14,19,6,2,114,268]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedList=void 0;class f{get templateId(){return this.renderer.templateId}constructor(i,n){this.renderer=i,this.modelProvider=n}renderTemplate(i){return{data:this.renderer.renderTemplate(i),disposable:D.Disposable.None}}renderElement(i,n,t,a){var u;if((u=t.disposable)===null||u===void 0||u.dispose(),!t.data)return;const h=this.modelProvider();if(h.isResolved(i))return this.renderer.renderElement(h.get(i),i,t.data,a);const r=new k.CancellationTokenSource,c=h.resolve(i,r.token);t.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(i,t.data),c.then(o=>this.renderer.renderElement(o,i,t.data,a))}disposeTemplate(i){i.disposable&&(i.disposable.dispose(),i.disposable=void 0),i.data&&(this.renderer.disposeTemplate(i.data),i.data=void 0)}}class _{constructor(i,n){this.modelProvider=i,this.accessibilityProvider=n}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(i){const n=this.modelProvider();return n.isResolved(i)?this.accessibilityProvider.getAriaLabel(n.get(i)):null}}function g(s,i){return Object.assign(Object.assign({},i),{accessibilityProvider:i.accessibilityProvider&&new _(s,i.accessibilityProvider)})}class C{constructor(i,n,t,a,u={}){const h=()=>this.model,r=a.map(c=>new f(c,h));this.list=new S.List(i,n,t,r,g(h,u))}updateOptions(i){this.list.updateOptions(i)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return y.Event.map(this.list.onMouseDblClick,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onPointer(){return y.Event.map(this.list.onPointer,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onDidChangeSelection(){return y.Event.map(this.list.onDidChangeSelection,({elements:i,indexes:n,browserEvent:t})=>({elements:i.map(a=>this._model.get(a)),indexes:n,browserEvent:t}))}get model(){return this._model}set model(i){this._model=i,this.list.splice(0,this.list.length,(0,L.range)(i.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(i=>this.model.get(i))}style(i){this.list.style(i)}dispose(){this.list.dispose()}}e.PagedList=C}),define(ne[311],se([1,0,7,81,130,75,14,38,6,2,141,167,20,409]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SplitView=e.Sizing=void 0;const n={separatorBorder:f.Color.transparent};class t{set size(d){this._size=d}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize>"u"}setVisible(d,l){var p,m;d!==this.visible&&(d?(this.size=(0,C.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof l=="number"?l:this.size,this.size=0),this.container.classList.toggle("visible",d),(m=(p=this.view).setVisible)===null||m===void 0||m.call(p,d))}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 proportionalLayout(){var d;return(d=this.view.proportionalLayout)!==null&&d!==void 0?d:!0}get snap(){return!!this.view.snap}set enabled(d){this.container.style.pointerEvents=d?"":"none"}constructor(d,l,p,m){this.container=d,this.view=l,this.disposable=m,this._cachedVisibleSize=void 0,typeof p=="number"?(this._size=p,this._cachedVisibleSize=void 0,d.classList.add("visible")):(this._size=0,this._cachedVisibleSize=p.cachedVisibleSize)}layout(d,l){this.layoutContainer(d),this.view.layout(this.size,d,l)}dispose(){this.disposable.dispose()}}class a extends t{layoutContainer(d){this.container.style.top=`${d}px`,this.container.style.height=`${this.size}px`}}class u extends t{layoutContainer(d){this.container.style.left=`${d}px`,this.container.style.width=`${this.size}px`}}var h;(function(o){o[o.Idle=0]="Idle",o[o.Busy=1]="Busy"})(h||(h={}));var r;(function(o){o.Distribute={type:"distribute"};function d(m){return{type:"split",index:m}}o.Split=d;function l(m){return{type:"auto",index:m}}o.Auto=l;function p(m){return{type:"invisible",cachedVisibleSize:m}}o.Invisible=p})(r||(e.Sizing=r={}));class c extends g.Disposable{get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(d){for(const l of this.sashItems)l.sash.orthogonalStartSash=d;this._orthogonalStartSash=d}set orthogonalEndSash(d){for(const l of this.sashItems)l.sash.orthogonalEndSash=d;this._orthogonalEndSash=d}set startSnappingEnabled(d){this._startSnappingEnabled!==d&&(this._startSnappingEnabled=d,this.updateSashEnablement())}set endSnappingEnabled(d){this._endSnappingEnabled!==d&&(this._endSnappingEnabled=d,this.updateSashEnablement())}constructor(d,l={}){var p,m,v,b,w;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=h.Idle,this._onDidSashChange=this._register(new _.Emitter),this._onDidSashReset=this._register(new _.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(p=l.orientation)!==null&&p!==void 0?p:0,this.inverseAltBehavior=(m=l.inverseAltBehavior)!==null&&m!==void 0?m:!1,this.proportionalLayout=(v=l.proportionalLayout)!==null&&v!==void 0?v:!0,this.getSashOrthogonalSize=l.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(this.orientation===0?"vertical":"horizontal"),d.appendChild(this.el),this.sashContainer=(0,L.append)(this.el,(0,L.$)(".sash-container")),this.viewContainer=(0,L.$)(".split-view-container"),this.scrollable=this._register(new s.Scrollable({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:L.scheduleAtNextAnimationFrame})),this.scrollableElement=this._register(new D.SmoothScrollableElement(this.viewContainer,{vertical:this.orientation===0?(b=l.scrollbarVisibility)!==null&&b!==void 0?b:1:2,horizontal:this.orientation===1?(w=l.scrollbarVisibility)!==null&&w!==void 0?w:1:2},this.scrollable));const E=this._register(new k.DomEmitter(this.viewContainer,"scroll")).event;this._register(E(I=>{const M=this.scrollableElement.getScrollPosition(),P=Math.abs(this.viewContainer.scrollLeft-M.scrollLeft)<=1?void 0:this.viewContainer.scrollLeft,x=Math.abs(this.viewContainer.scrollTop-M.scrollTop)<=1?void 0:this.viewContainer.scrollTop;(P!==void 0||x!==void 0)&&this.scrollableElement.setScrollPosition({scrollLeft:P,scrollTop:x})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(I=>{I.scrollTopChanged&&(this.viewContainer.scrollTop=I.scrollTop),I.scrollLeftChanged&&(this.viewContainer.scrollLeft=I.scrollLeft)})),(0,L.append)(this.el,this.scrollableElement.getDomNode()),this.style(l.styles||n),l.descriptor&&(this.size=l.descriptor.size,l.descriptor.views.forEach((I,M)=>{const P=i.isUndefined(I.visible)||I.visible?I.size:{type:"invisible",cachedVisibleSize:I.size},x=I.view;this.doAddView(x,P,M,!0)}),this.contentSize=this.viewItems.reduce((I,M)=>I+M.size,0),this.saveProportions())}style(d){d.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",d.separatorBorder.toString()))}addView(d,l,p=this.viewItems.length,m){this.doAddView(d,l,p,m)}layout(d,l){const p=Math.max(this.size,this.contentSize);if(this.size=d,this.layoutContext=l,this.proportions){let m=0;for(let v=0;vthis.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.resize(this.viewItems.length-1,d-p,void 0,v,b)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(d=>d.proportionalLayout?d.size/this.contentSize:void 0))}onSashStart({sash:d,start:l,alt:p}){for(const w of this.viewItems)w.enabled=!1;const m=this.sashItems.findIndex(w=>w.sash===d),v=(0,g.combinedDisposable)((0,L.addDisposableListener)(document.body,"keydown",w=>b(this.sashDragState.current,w.altKey)),(0,L.addDisposableListener)(document.body,"keyup",()=>b(this.sashDragState.current,!1))),b=(w,E)=>{const I=this.viewItems.map(A=>A.size);let M=Number.NEGATIVE_INFINITY,P=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(E=!E),E)if(m===this.sashItems.length-1){const N=this.viewItems[m];M=(N.minimumSize-N.size)/2,P=(N.maximumSize-N.size)/2}else{const N=this.viewItems[m+1];M=(N.size-N.maximumSize)/2,P=(N.size-N.minimumSize)/2}let x,T;if(!E){const A=(0,S.range)(m,-1),N=(0,S.range)(m+1,this.viewItems.length),F=A.reduce((Z,J)=>Z+(this.viewItems[J].minimumSize-I[J]),0),O=A.reduce((Z,J)=>Z+(this.viewItems[J].viewMaximumSize-I[J]),0),W=N.length===0?Number.POSITIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].minimumSize),0),U=N.length===0?Number.NEGATIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].viewMaximumSize),0),j=Math.max(F,U),R=Math.min(W,O),K=this.findFirstSnapIndex(A),G=this.findFirstSnapIndex(N);if(typeof K=="number"){const Z=this.viewItems[K],J=Math.floor(Z.viewMinimumSize/2);x={index:K,limitDelta:Z.visible?j-J:j+J,size:Z.size}}if(typeof G=="number"){const Z=this.viewItems[G],J=Math.floor(Z.viewMinimumSize/2);T={index:G,limitDelta:Z.visible?R+J:R-J,size:Z.size}}}this.sashDragState={start:w,current:w,index:m,sizes:I,minDelta:M,maxDelta:P,alt:E,snapBefore:x,snapAfter:T,disposable:v}};b(l,p)}onSashChange({current:d}){const{index:l,start:p,sizes:m,alt:v,minDelta:b,maxDelta:w,snapBefore:E,snapAfter:I}=this.sashDragState;this.sashDragState.current=d;const M=d-p,P=this.resize(l,M,m,void 0,void 0,b,w,E,I);if(v){const x=l===this.sashItems.length-1,T=this.viewItems.map(U=>U.size),A=x?l:l+1,N=this.viewItems[A],F=N.size-N.maximumSize,O=N.size-N.minimumSize,W=x?l-1:l+1;this.resize(W,-P,T,void 0,void 0,F,O)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(d){this._onDidSashChange.fire(d),this.sashDragState.disposable.dispose(),this.saveProportions();for(const l of this.viewItems)l.enabled=!0}onViewChange(d,l){const p=this.viewItems.indexOf(d);p<0||p>=this.viewItems.length||(l=typeof l=="number"?l:d.size,l=(0,C.clamp)(l,d.minimumSize,d.maximumSize),this.inverseAltBehavior&&p>0?(this.resize(p-1,Math.floor((d.size-l)/2)),this.distributeEmptySpace(),this.layoutViews()):(d.size=l,this.relayout([p],void 0)))}resizeView(d,l){if(this.state!==h.Idle)throw new Error("Cant modify splitview");if(this.state=h.Busy,d<0||d>=this.viewItems.length)return;const p=(0,S.range)(this.viewItems.length).filter(w=>w!==d),m=[...p.filter(w=>this.viewItems[w].priority===1),d],v=p.filter(w=>this.viewItems[w].priority===2),b=this.viewItems[d];l=Math.round(l),l=(0,C.clamp)(l,b.minimumSize,Math.min(b.maximumSize,this.size)),b.size=l,this.relayout(m,v),this.state=h.Idle}distributeViewSizes(){const d=[];let l=0;for(const w of this.viewItems)w.maximumSize-w.minimumSize>0&&(d.push(w),l+=w.size);const p=Math.floor(l/d.length);for(const w of d)w.size=(0,C.clamp)(p,w.minimumSize,w.maximumSize);const m=(0,S.range)(this.viewItems.length),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.relayout(v,b)}getViewSize(d){return d<0||d>=this.viewItems.length?-1:this.viewItems[d].size}doAddView(d,l,p=this.viewItems.length,m){if(this.state!==h.Idle)throw new Error("Cant modify splitview");this.state=h.Busy;const v=(0,L.$)(".split-view-view");p===this.viewItems.length?this.viewContainer.appendChild(v):this.viewContainer.insertBefore(v,this.viewContainer.children.item(p));const b=d.onDidChange(x=>this.onViewChange(M,x)),w=(0,g.toDisposable)(()=>this.viewContainer.removeChild(v)),E=(0,g.combinedDisposable)(b,w);let I;typeof l=="number"?I=l:(l.type==="auto"&&(this.areViewsDistributed()?l={type:"distribute"}:l={type:"split",index:l.index}),l.type==="split"?I=this.getViewSize(l.index)/2:l.type==="invisible"?I={cachedVisibleSize:l.cachedVisibleSize}:I=d.minimumSize);const M=this.orientation===0?new a(v,d,I,E):new u(v,d,I,E);if(this.viewItems.splice(p,0,M),this.viewItems.length>1){const x={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},T=this.orientation===0?new y.Sash(this.sashContainer,{getHorizontalSashTop:Z=>this.getSashPosition(Z),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:1})):new y.Sash(this.sashContainer,{getVerticalSashLeft:Z=>this.getSashPosition(Z),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:0})),A=this.orientation===0?Z=>({sash:T,start:Z.startY,current:Z.currentY,alt:Z.altKey}):Z=>({sash:T,start:Z.startX,current:Z.currentX,alt:Z.altKey}),F=_.Event.map(T.onDidStart,A)(this.onSashStart,this),W=_.Event.map(T.onDidChange,A)(this.onSashChange,this),j=_.Event.map(T.onDidEnd,()=>this.sashItems.findIndex(Z=>Z.sash===T))(this.onSashEnd,this),R=T.onDidReset(()=>{const Z=this.sashItems.findIndex(V=>V.sash===T),J=(0,S.range)(Z,-1),X=(0,S.range)(Z+1,this.viewItems.length),H=this.findFirstSnapIndex(J),B=this.findFirstSnapIndex(X);typeof H=="number"&&!this.viewItems[H].visible||typeof B=="number"&&!this.viewItems[B].visible||this._onDidSashReset.fire(Z)}),K=(0,g.combinedDisposable)(F,W,j,R,T),G={sash:T,disposable:K};this.sashItems.splice(p-1,0,G)}v.appendChild(d.element);let P;typeof l!="number"&&l.type==="split"&&(P=[l.index]),m||this.relayout([p],P),this.state=h.Idle,!m&&typeof l!="number"&&l.type==="distribute"&&this.distributeViewSizes()}relayout(d,l){const p=this.viewItems.reduce((m,v)=>m+v.size,0);this.resize(this.viewItems.length-1,this.size-p,void 0,d,l),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(d,l,p=this.viewItems.map(M=>M.size),m,v,b=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,E,I){if(d<0||d>=this.viewItems.length)return 0;const M=(0,S.range)(d,-1),P=(0,S.range)(d+1,this.viewItems.length);if(v)for(const G of v)(0,S.pushToStart)(M,G),(0,S.pushToStart)(P,G);if(m)for(const G of m)(0,S.pushToEnd)(M,G),(0,S.pushToEnd)(P,G);const x=M.map(G=>this.viewItems[G]),T=M.map(G=>p[G]),A=P.map(G=>this.viewItems[G]),N=P.map(G=>p[G]),F=M.reduce((G,Z)=>G+(this.viewItems[Z].minimumSize-p[Z]),0),O=M.reduce((G,Z)=>G+(this.viewItems[Z].maximumSize-p[Z]),0),W=P.length===0?Number.POSITIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].minimumSize),0),U=P.length===0?Number.NEGATIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].maximumSize),0),j=Math.max(F,U,b),R=Math.min(W,O,w);let K=!1;if(E){const G=this.viewItems[E.index],Z=l>=E.limitDelta;K=Z!==G.visible,G.setVisible(Z,E.size)}if(!K&&I){const G=this.viewItems[I.index],Z=lw+E.size,0);let p=this.size-l;const m=(0,S.range)(this.viewItems.length-1,-1),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);for(const w of b)(0,S.pushToStart)(m,w);for(const w of v)(0,S.pushToEnd)(m,w);typeof d=="number"&&(0,S.pushToEnd)(m,d);for(let w=0;p!==0&&wl+p.size,0);let d=0;for(const l of this.viewItems)l.layout(d,this.layoutContext),d+=l.size;this.sashItems.forEach(l=>l.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 d=!1;const l=this.viewItems.map(E=>d=E.size-E.minimumSize>0||d);d=!1;const p=this.viewItems.map(E=>d=E.maximumSize-E.size>0||d),m=[...this.viewItems].reverse();d=!1;const v=m.map(E=>d=E.size-E.minimumSize>0||d).reverse();d=!1;const b=m.map(E=>d=E.maximumSize-E.size>0||d).reverse();let w=0;for(let E=0;E0||this.startSnappingEnabled)?I.state=1:W&&l[E]&&(w0)return;if(!p.visible&&p.snap)return l}}areViewsDistributed(){let d,l;for(const p of this.viewItems)if(d=d===void 0?p.size:Math.min(d,p.size),l=l===void 0?p.size:Math.max(l,p.size),l-d>2)return!1;return!0}dispose(){var d;(d=this.sashDragState)===null||d===void 0||d.disposable.dispose(),(0,g.dispose)(this.viewItems),this.viewItems=[],this.sashItems.forEach(l=>l.disposable.dispose()),this.sashItems=[],super.dispose()}}e.SplitView=c}),define(ne[579],se([1,0,7,114,311,6,2,410]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;class f{constructor(i,n,t){this.columns=i,this.getColumnSize=t,this.templateId=f.TemplateId,this.renderedTemplates=new Set;const a=new Map(n.map(u=>[u.templateId,u]));this.renderers=[];for(const u of i){const h=a.get(u.templateId);if(!h)throw new Error(`Table cell renderer for template id ${u.templateId} not found.`);this.renderers.push(h)}}renderTemplate(i){const n=(0,L.append)(i,(0,L.$)(".monaco-table-tr")),t=[],a=[];for(let h=0;hnew g(d,l)),c={size:r.reduce((d,l)=>d+l.column.weight,0),views:r.map(d=>({size:d.column.weight,view:d}))};this.splitview=this.disposables.add(new y.SplitView(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:c})),this.splitview.el.style.height=`${t.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${t.headerRowHeight}px`;const o=new f(a,u,d=>this.splitview.getViewSize(d));this.list=this.disposables.add(new k.List(i,this.domNode,_(t),[o],h)),D.Event.any(...r.map(d=>d.onDidLayout))(([d,l])=>o.layoutColumn(d,l),null,this.disposables),this.splitview.onDidSashReset(d=>{const l=a.reduce((m,v)=>m+v.weight,0),p=a[d].weight/l*this.cachedWidth;this.splitview.resizeView(d,p)},null,this.disposables),this.styleElement=(0,L.createStyleSheet)(this.domNode),this.style(k.unthemedListStyles)}updateOptions(i){this.list.updateOptions(i)}splice(i,n,t=[]){this.list.splice(i,n,t)}getHTMLElement(){return this.domNode}style(i){const n=[];n.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=n.join(` -`),this.list.style(i)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}e.Table=C,C.InstanceCount=0}),define(ne[153],se([1,0,83,26,6,411]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=e.unthemedToggleStyles=void 0,e.unthemedToggleStyles={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class D extends L.Widget{constructor(f){super(),this._onChange=this._register(new y.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new y.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=f,this._checked=this._opts.isChecked;const _=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,_.push(...k.ThemeIcon.asClassNameArray(this._icon))),this._opts.actionClassName&&_.push(...this._opts.actionClassName.split(" ")),this._checked&&_.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(..._),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,g=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),g.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,g=>{if(g.keyCode===10||g.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),g.preventDefault(),g.stopPropagation();return}this._onKeyDown.fire(g)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(f){this._checked=f,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 2+2+2+16}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}e.Toggle=D}),define(ne[312],se([1,0,153,25,553]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RegexToggle=e.WholeWordsToggle=e.CaseSensitiveToggle=void 0;const D=y.localize(0,null),S=y.localize(1,null),f=y.localize(2,null);class _ extends L.Toggle{constructor(i){super({icon:k.Codicon.caseSensitive,title:D+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.CaseSensitiveToggle=_;class g extends L.Toggle{constructor(i){super({icon:k.Codicon.wholeWord,title:S+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.WholeWordsToggle=g;class C extends L.Toggle{constructor(i){super({icon:k.Codicon.regex,title:f+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.RegexToggle=C}),define(ne[45],se([1,0,220,54,92,17,11,22]),function(Q,e,L,k,y,D,S,f){"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 _(s){return(0,f.uriToFsPath)(s,!0)}e.originalFSPath=_;class g{constructor(i){this._ignorePathCasing=i}compare(i,n,t=!1){return i===n?0:(0,S.compare)(this.getComparisonKey(i,t),this.getComparisonKey(n,t))}isEqual(i,n,t=!1){return i===n?!0:!i||!n?!1:this.getComparisonKey(i,t)===this.getComparisonKey(n,t)}getComparisonKey(i,n=!1){return i.with({path:this._ignorePathCasing(i)?i.path.toLowerCase():void 0,fragment:n?null:void 0}).toString()}isEqualOrParent(i,n,t=!1){if(i.scheme===n.scheme){if(i.scheme===k.Schemas.file)return L.isEqualOrParent(_(i),_(n),this._ignorePathCasing(i))&&i.query===n.query&&(t||i.fragment===n.fragment);if((0,e.isEqualAuthority)(i.authority,n.authority))return L.isEqualOrParent(i.path,n.path,this._ignorePathCasing(i),"/")&&i.query===n.query&&(t||i.fragment===n.fragment)}return!1}joinPath(i,...n){return f.URI.joinPath(i,...n)}basenameOrAuthority(i){return(0,e.basename)(i)||i.authority}basename(i){return y.posix.basename(i.path)}extname(i){return y.posix.extname(i.path)}dirname(i){if(i.path.length===0)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.dirname(_(i))).path:(n=y.posix.dirname(i.path),i.authority&&n.length&&n.charCodeAt(0)!==47&&(console.error(`dirname("${i.toString})) resulted in a relative path`),n="/")),i.with({path:n})}normalizePath(i){if(!i.path.length)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.normalize(_(i))).path:n=y.posix.normalize(i.path),i.with({path:n})}relativePath(i,n){if(i.scheme!==n.scheme||!(0,e.isEqualAuthority)(i.authority,n.authority))return;if(i.scheme===k.Schemas.file){const u=y.relative(_(i),_(n));return D.isWindows?L.toSlashes(u):u}let t=i.path||"/";const a=n.path||"/";if(this._ignorePathCasing(i)){let u=0;for(const h=Math.min(t.length,a.length);uL.getRoot(t).length&&t[t.length-1]===n}else{const t=i.path;return t.length>1&&t.charCodeAt(t.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(i.fsPath)}}removeTrailingPathSeparator(i,n=y.sep){return(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path.substr(0,i.path.length-1)}):i}addTrailingPathSeparator(i,n=y.sep){let t=!1;if(i.scheme===k.Schemas.file){const a=_(i);t=a!==void 0&&a.length===L.getRoot(a).length&&a[a.length-1]===n}else{n="/";const a=i.path;t=a.length===1&&a.charCodeAt(a.length-1)===47}return!t&&!(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path+"/"}):i}}e.ExtUri=g,e.extUri=new g(()=>!1),e.extUriBiasedIgnorePathCase=new g(s=>s.scheme===k.Schemas.file?!D.isLinux:!0),e.extUriIgnorePathCase=new g(s=>!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 C;(function(s){s.META_DATA_LABEL="label",s.META_DATA_DESCRIPTION="description",s.META_DATA_SIZE="size",s.META_DATA_MIME="mime";function i(n){const t=new Map;n.path.substring(n.path.indexOf(";")+1,n.path.lastIndexOf(";")).split(";").forEach(h=>{const[r,c]=h.split(":");r&&c&&t.set(r,c)});const u=n.path.substring(0,n.path.indexOf(";"));return u&&t.set(s.META_DATA_MIME,u),t}s.parseMetaData=i})(C||(e.DataUri=C={}))}),define(ne[55],se([1,0,9,120,45,11,22]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseHrefAndDimensions=e.removeMarkdownEscapes=e.escapeDoubleQuotes=e.escapeMarkdownSyntaxTokens=e.markdownStringEqual=e.isMarkdownString=e.isEmptyMarkdownString=e.MarkdownString=void 0;class f{constructor(u="",h=!1){var r,c,o;if(this.value=u,typeof this.value!="string")throw(0,L.illegalArgument)("value");typeof h=="boolean"?(this.isTrusted=h,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(r=h.isTrusted)!==null&&r!==void 0?r:void 0,this.supportThemeIcons=(c=h.supportThemeIcons)!==null&&c!==void 0?c:!1,this.supportHtml=(o=h.supportHtml)!==null&&o!==void 0?o:!1)}appendText(u,h=0){return this.value+=s(this.supportThemeIcons?(0,k.escapeIcons)(u):u).replace(/([ \t]+)/g,(r,c)=>" ".repeat(c.length)).replace(/\>/gm,"\\>").replace(/\n/g,h===1?`\\ -`:` - -`),this}appendMarkdown(u){return this.value+=u,this}appendCodeblock(u,h){return this.value+="\n```",this.value+=u,this.value+=` -`,this.value+=h,this.value+="\n```\n",this}appendLink(u,h,r){return this.value+="[",this.value+=this._escape(h,"]"),this.value+="](",this.value+=this._escape(String(u),")"),r&&(this.value+=` "${this._escape(this._escape(r,'"'),")")}"`),this.value+=")",this}_escape(u,h){const r=new RegExp((0,D.escapeRegExpCharacters)(h),"g");return u.replace(r,(c,o)=>u.charAt(o-1)!=="\\"?`\\${c}`:c)}}e.MarkdownString=f;function _(a){return g(a)?!a.value:Array.isArray(a)?a.every(_):!0}e.isEmptyMarkdownString=_;function g(a){return a instanceof f?!0:a&&typeof a=="object"?typeof a.value=="string"&&(typeof a.isTrusted=="boolean"||typeof a.isTrusted=="object"||a.isTrusted===void 0)&&(typeof a.supportThemeIcons=="boolean"||a.supportThemeIcons===void 0):!1}e.isMarkdownString=g;function C(a,u){return a===u?!0:!a||!u?!1:a.value===u.value&&a.isTrusted===u.isTrusted&&a.supportThemeIcons===u.supportThemeIcons&&a.supportHtml===u.supportHtml&&(a.baseUri===u.baseUri||!!a.baseUri&&!!u.baseUri&&(0,y.isEqual)(S.URI.from(a.baseUri),S.URI.from(u.baseUri)))}e.markdownStringEqual=C;function s(a){return a.replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=s;function i(a){return a.replace(/"/g,""")}e.escapeDoubleQuotes=i;function n(a){return a&&a.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1")}e.removeMarkdownEscapes=n;function t(a){const u=[],h=a.split("|").map(c=>c.trim());a=h[0];const r=h[1];if(r){const c=/height=(\d+)/.exec(r),o=/width=(\d+)/.exec(r),d=c?c[1]:"",l=o?o[1]:"",p=isFinite(parseInt(l)),m=isFinite(parseInt(d));p&&u.push(`width="${l}"`),m&&u.push(`height="${d}"`)}return{href:a,dimensions:u}}e.parseHrefAndDimensions=t}),define(ne[183],se([1,0,7,304,81,305,44,60,129,9,6,55,120,164,100,2,386,221,54,47,45,11,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fillInIncompleteTokens=e.renderMarkdownAsPlaintext=e.renderStringAsPlaintext=e.allowedMarkdownAttr=e.renderMarkdown=void 0;const p=Object.freeze({image:(X,H,B)=>{let V=[],Y=[];return X&&({href:X,dimensions:V}=(0,s.parseHrefAndDimensions)(X),Y.push(`src="${(0,s.escapeDoubleQuotes)(X)}"`)),B&&Y.push(`alt="${(0,s.escapeDoubleQuotes)(B)}"`),H&&Y.push(`title="${(0,s.escapeDoubleQuotes)(H)}"`),V.length&&(Y=Y.concat(V)),""},paragraph:X=>`

    ${X}

    `,link:(X,H,B)=>typeof X!="string"?"":(X===B&&(B=(0,s.removeMarkdownEscapes)(B)),H=typeof H=="string"?(0,s.escapeDoubleQuotes)((0,s.removeMarkdownEscapes)(H)):"",X=(0,s.removeMarkdownEscapes)(X),X=X.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${B}`)});function m(X,H={},B={}){var V,Y;const ie=new a.DisposableStore;let ae=!1;const ce=(0,D.createElement)(H),de=function(oe){let ge;try{ge=(0,h.parse)(decodeURIComponent(oe))}catch{}return ge?(ge=(0,c.cloneAndChange)(ge,ve=>{if(X.uris&&X.uris[ve])return l.URI.revive(X.uris[ve])}),encodeURIComponent(JSON.stringify(ge))):oe},he=function(oe,ge){const ve=X.uris&&X.uris[oe];let Se=l.URI.revive(ve);return ge?oe.startsWith(r.Schemas.data+":")?oe:(Se||(Se=l.URI.parse(oe)),r.FileAccess.uriToBrowserUri(Se).toString(!0)):!Se||l.URI.parse(oe).toString()===Se.toString()?oe:(Se.query&&(Se=Se.with({query:de(Se.query)})),Se.toString())},ue=new u.marked.Renderer;ue.image=p.image,ue.link=p.link,ue.paragraph=p.paragraph;const te=[],q=[];if(H.codeBlockRendererSync?ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRendererSync(v(ge),oe);return q.push([ve,Se]),`
    ${(0,d.escape)(oe)}
    `}:H.codeBlockRenderer&&(ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRenderer(v(ge),oe);return te.push(Se.then(Le=>[ve,Le])),`
    ${(0,d.escape)(oe)}
    `}),H.actionHandler){const oe=function(Se){let Le=Se.target;if(!(Le.tagName!=="A"&&(Le=Le.parentElement,!Le||Le.tagName!=="A")))try{let De=Le.dataset.href;De&&(X.baseUri&&(De=b(l.URI.from(X.baseUri),De)),H.actionHandler.callback(De,Se))}catch(De){(0,g.onUnexpectedError)(De)}finally{Se.preventDefault()}},ge=H.actionHandler.disposables.add(new y.DomEmitter(ce,"click")),ve=H.actionHandler.disposables.add(new y.DomEmitter(ce,"auxclick"));H.actionHandler.disposables.add(C.Event.any(ge.event,ve.event)(Se=>{const Le=new f.StandardMouseEvent(Se);!Le.leftButton&&!Le.middleButton||oe(Le)})),H.actionHandler.disposables.add(L.addDisposableListener(ce,"keydown",Se=>{const Le=new S.StandardKeyboardEvent(Se);!Le.equals(10)&&!Le.equals(3)||oe(Le)}))}X.supportHtml||(B.sanitizer=oe=>(X.isTrusted?oe.match(/^(]+>)|(<\/\s*span>)$/):void 0)?oe:"",B.sanitize=!0,B.silent=!0),B.renderer=ue;let z=(V=X.value)!==null&&V!==void 0?V:"";z.length>1e5&&(z=`${z.substr(0,1e5)}\u2026`),X.supportThemeIcons&&(z=(0,i.markdownEscapeEscapedIcons)(z));let ee;if(H.fillInIncompleteTokens){const oe=Object.assign(Object.assign({},u.marked.defaults),B),ge=u.marked.lexer(z,oe),ve=N(ge);ee=u.marked.parser(ve,oe)}else ee=u.marked.parse(z,B);X.supportThemeIcons&&(ee=(0,_.renderLabelWithIcons)(ee).map(ge=>typeof ge=="string"?ge:ge.outerHTML).join(""));const re=new DOMParser().parseFromString(w(X,ee),"text/html");if(re.body.querySelectorAll("img").forEach(oe=>{const ge=oe.getAttribute("src");if(ge){let ve=ge;try{X.baseUri&&(ve=b(l.URI.from(X.baseUri),ve))}catch{}oe.src=he(ve,!0)}}),re.body.querySelectorAll("a").forEach(oe=>{const ge=oe.getAttribute("href");if(oe.setAttribute("href",""),!ge||/^data:|javascript:/i.test(ge)||/^command:/i.test(ge)&&!X.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(ge))oe.replaceWith(...oe.childNodes);else{let ve=he(ge,!1);X.baseUri&&(ve=b(l.URI.from(X.baseUri),ge)),oe.dataset.href=ve}}),ce.innerHTML=w(X,re.body.innerHTML),te.length>0)Promise.all(te).then(oe=>{var ge,ve;if(ae)return;const Se=new Map(oe),Le=ce.querySelectorAll("div[data-code]");for(const De of Le){const ye=Se.get((ge=De.dataset.code)!==null&&ge!==void 0?ge:"");ye&&L.reset(De,ye)}(ve=H.asyncRenderCallback)===null||ve===void 0||ve.call(H)});else if(q.length>0){const oe=new Map(q),ge=ce.querySelectorAll("div[data-code]");for(const ve of ge){const Se=oe.get((Y=ve.dataset.code)!==null&&Y!==void 0?Y:"");Se&&L.reset(ve,Se)}}if(H.asyncRenderCallback)for(const oe of ce.getElementsByTagName("img")){const ge=ie.add(L.addDisposableListener(oe,"load",()=>{ge.dispose(),H.asyncRenderCallback()}))}return{element:ce,dispose:()=>{ae=!0,ie.dispose()}}}e.renderMarkdown=m;function v(X){if(!X)return"";const H=X.split(/[\s+|:|,|\{|\?]/,1);return H.length?H[0]:X}function b(X,H){return/^\w[\w\d+.-]*:/.test(H)?H:X.path.endsWith("/")?(0,o.resolvePath)(X,H).toString():(0,o.resolvePath)((0,o.dirname)(X),H).toString()}function w(X,H){const{config:B,allowedSchemes:V}=E(X);k.addHook("uponSanitizeAttribute",(ie,ae)=>{if(ae.attrName==="style"||ae.attrName==="class"){if(ie.tagName==="SPAN"){if(ae.attrName==="style"){ae.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(ae.attrValue);return}else if(ae.attrName==="class"){ae.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(ae.attrValue);return}}ae.keepAttr=!1;return}});const Y=L.hookDomPurifyHrefAndSrcSanitizer(V);try{return k.sanitize(H,Object.assign(Object.assign({},B),{RETURN_TRUSTED_TYPE:!0}))}finally{k.removeHook("uponSanitizeAttribute"),Y.dispose()}}e.allowedMarkdownAttr=["align","autoplay","alt","class","controls","data-code","data-href","height","href","loop","muted","playsinline","poster","src","style","target","title","width","start"];function E(X){const H=[r.Schemas.http,r.Schemas.https,r.Schemas.mailto,r.Schemas.data,r.Schemas.file,r.Schemas.vscodeFileResource,r.Schemas.vscodeRemote,r.Schemas.vscodeRemoteResource];return X.isTrusted&&H.push(r.Schemas.command),{config:{ALLOWED_TAGS:[...L.basicMarkupHtmlTags],ALLOWED_ATTR:e.allowedMarkdownAttr,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:H}}function I(X){return typeof X=="string"?X:M(X)}e.renderStringAsPlaintext=I;function M(X){var H;let B=(H=X.value)!==null&&H!==void 0?H:"";B.length>1e5&&(B=`${B.substr(0,1e5)}\u2026`);const V=u.marked.parse(B,{renderer:x.value}).replace(/&(#\d+|[a-zA-Z]+);/g,Y=>{var ie;return(ie=P.get(Y))!==null&&ie!==void 0?ie:Y});return w({isTrusted:!1},V).toString()}e.renderMarkdownAsPlaintext=M;const P=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]),x=new t.Lazy(()=>{const X=new u.marked.Renderer;return X.code=H=>H,X.blockquote=H=>H,X.html=H=>"",X.heading=(H,B,V)=>H+` -`,X.hr=()=>"",X.list=(H,B)=>H,X.listitem=H=>H+` -`,X.paragraph=H=>H+` -`,X.table=(H,B)=>H+B+` -`,X.tablerow=H=>H,X.tablecell=(H,B)=>H+" ",X.strong=H=>H,X.em=H=>H,X.codespan=H=>H,X.br=()=>` -`,X.del=H=>H,X.image=(H,B,V)=>"",X.text=H=>H,X.link=(H,B,V)=>V,X});function T(X){let H="";return X.forEach(B=>{H+=B.raw}),H}function A(X){for(const H of X.tokens)if(H.type==="text"){const B=H.raw.split(` -`),V=B[B.length-1];if(V.includes("`"))return O(X);if(V.includes("**"))return K(X);if(V.match(/\*\w/))return W(X);if(V.match(/(^|\s)__\w/))return G(X);if(V.match(/(^|\s)_\w/))return U(X);if(V.match(/(^|\s)\[.*\]\(\w*/))return j(X);if(V.match(/(^|\s)\[\w/))return R(X)}}function N(X){let H,B;for(H=0;H"u"&&ae.match(/^\s*\|/)){const ce=ae.match(/(\|[^\|]+)(?=\||$)/g);ce&&(V=ce.length)}else if(typeof V=="number")if(ae.match(/^\s*\|/)){if(ie!==B.length-1)return;Y=!0}else return}if(typeof V=="number"&&V>0){const ie=Y?B.slice(0,-1).join(` -`):H,ae=!!ie.match(/\|\s*$/),ce=ie+(ae?"":"|")+` -|${" --- |".repeat(V)}`;return u.marked.lexer(ce)}}}),define(ne[313],se([1,0,7,304,44,183,61,129,38,6,55,2,394]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=e.unthemedButtonStyles=void 0,e.unthemedButtonStyles={buttonBackground:"#0E639C",buttonHoverBackground:"#006BB3",buttonSeparator:_.Color.white.toString(),buttonForeground:_.Color.white.toString(),buttonBorder:void 0,buttonSecondaryBackground:void 0,buttonSecondaryForeground:void 0,buttonSecondaryHoverBackground:void 0};class i extends s.Disposable{get onDidClick(){return this._onDidClick.event}constructor(t,a){super(),this._label="",this._onDidClick=this._register(new g.Emitter),this.options=a,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!a.secondary);const u=a.secondary?a.buttonSecondaryBackground:a.buttonBackground,h=a.secondary?a.buttonSecondaryForeground:a.buttonForeground;this._element.style.color=h||"",this._element.style.backgroundColor=u||"",a.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),t.appendChild(this._element),this._register(S.Gesture.addTarget(this._element)),[L.EventType.CLICK,S.EventType.Tap].forEach(r=>{this._register((0,L.addDisposableListener)(this._element,r,c=>{if(!this.enabled){L.EventHelper.stop(c);return}this._onDidClick.fire(c)}))}),this._register((0,L.addDisposableListener)(this._element,L.EventType.KEY_DOWN,r=>{const c=new y.StandardKeyboardEvent(r);let o=!1;this.enabled&&(c.equals(3)||c.equals(10))?(this._onDidClick.fire(r),o=!0):c.equals(9)&&(this._element.blur(),o=!0),o&&L.EventHelper.stop(c,!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OVER,r=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OUT,r=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,L.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(t){const a=[];for(let u of(0,f.renderLabelWithIcons)(t))if(typeof u=="string"){if(u=u.trim(),u==="")continue;const h=document.createElement("span");h.textContent=u,a.push(h)}else a.push(u);return a}updateBackground(t){let a;this.options.secondary?a=t?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:a=t?this.options.buttonHoverBackground:this.options.buttonBackground,a&&(this._element.style.backgroundColor=a)}get element(){return this._element}set label(t){var a;if(this._label===t||(0,C.isMarkdownString)(this._label)&&(0,C.isMarkdownString)(t)&&(0,C.markdownStringEqual)(this._label,t))return;this._element.classList.add("monaco-text-button");const u=this.options.supportShortLabel?this._labelElement:this._element;if((0,C.isMarkdownString)(t)){const h=(0,D.renderMarkdown)(t,{inline:!0});h.dispose();const r=(a=h.element.querySelector("p"))===null||a===void 0?void 0:a.innerHTML;if(r){const c=(0,k.sanitize)(r,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});u.innerHTML=c}else(0,L.reset)(u)}else this.options.supportIcons?(0,L.reset)(u,...this.getContentElements(t)):u.textContent=t;typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=(0,D.renderStringAsPlaintext)(t)),this._label=t}get label(){return this._label}set enabled(t){t?(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=i}),define(ne[314],se([1,0,7,13,19,55,120,2,20,556]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setupCustomHover=e.setupNativeHover=void 0;function C(n,t){(0,_.isString)(t)?n.title=(0,S.stripIcons)(t):t?.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")}e.setupNativeHover=C;class s{constructor(t,a,u){this.hoverDelegate=t,this.target=a,this.fadeInAnimation=u}update(t,a,u){var h;return we(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let r;if(t===void 0||(0,_.isString)(t)||t instanceof HTMLElement)r=t;else if(!(0,_.isFunction)(t.markdown))r=(h=t.markdown)!==null&&h!==void 0?h:t.markdownNotSupportedFallback;else{this._hoverWidget||this.show((0,g.localize)(0,null),a),this._cancellationTokenSource=new y.CancellationTokenSource;const c=this._cancellationTokenSource.token;if(r=yield t.markdown(c),r===void 0&&(r=t.markdownNotSupportedFallback),this.isDisposed||c.isCancellationRequested)return}this.show(r,a,u)})}show(t,a,u){const h=this._hoverWidget;if(this.hasContent(t)){const r=Object.assign({content:t,target:this.target,showPointer:this.hoverDelegate.placement==="element",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!h},u);this._hoverWidget=this.hoverDelegate.showHover(r,a)}h?.dispose()}hasContent(t){return t?(0,D.isMarkdownString)(t)?!!t.value:!0:!1}get isDisposed(){var t;return(t=this._hoverWidget)===null||t===void 0?void 0:t.isDisposed}dispose(){var t,a;(t=this._hoverWidget)===null||t===void 0||t.dispose(),(a=this._cancellationTokenSource)===null||a===void 0||a.dispose(!0),this._cancellationTokenSource=void 0}}function i(n,t,a,u){let h,r;const c=(m,v)=>{var b;const w=r!==void 0;m&&(r?.dispose(),r=void 0),v&&(h?.dispose(),h=void 0),w&&((b=n.onDidHideHover)===null||b===void 0||b.call(n))},o=(m,v,b)=>new k.TimeoutTimer(()=>we(this,void 0,void 0,function*(){(!r||r.isDisposed)&&(r=new s(n,b||t,m>0),yield r.update(a,v,u))}),m),d=()=>{if(h)return;const m=new f.DisposableStore,v=E=>c(!1,E.fromElement===t);m.add(L.addDisposableListener(t,L.EventType.MOUSE_LEAVE,v,!0));const b=()=>c(!0,!0);m.add(L.addDisposableListener(t,L.EventType.MOUSE_DOWN,b,!0));const w={targetElements:[t],dispose:()=>{}};if(n.placement===void 0||n.placement==="mouse"){const E=I=>{w.x=I.x+10,I.target instanceof HTMLElement&&I.target.classList.contains("action-label")&&c(!0,!0)};m.add(L.addDisposableListener(t,L.EventType.MOUSE_MOVE,E,!0))}m.add(o(n.delay,!1,w)),h=m},l=L.addDisposableListener(t,L.EventType.MOUSE_OVER,d,!0);return{show:m=>{c(!1,!0),o(0,m)},hide:()=>{c(!0,!0)},update:(m,v)=>we(this,void 0,void 0,function*(){a=m,yield r?.update(a,void 0,v)}),dispose:()=>{l.dispose(),c(!0,!0)}}}e.setupCustomHover=i}),define(ne[226],se([1,0,7,308,314,2,47,166,400]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IconLabel=void 0;class _{constructor(t){this._element=t}get element(){return this._element}set textContent(t){this.disposed||t===this._textContent||(this._textContent=t,this._element.textContent=t)}set className(t){this.disposed||t===this._className||(this._className=t,this._element.className=t)}set empty(t){this.disposed||t===this._empty||(this._empty=t,this._element.style.marginLeft=t?"0":"")}dispose(){this.disposed=!0}}class g extends D.Disposable{constructor(t,a){super(),this.customHovers=new Map,this.creationOptions=a,this.domNode=this._register(new _(L.append(t,L.$(".monaco-icon-label")))),this.labelContainer=L.append(this.domNode.element,L.$(".monaco-icon-label-container"));const u=L.append(this.labelContainer,L.$("span.monaco-icon-name-container"));a?.supportHighlights||a?.supportIcons?this.nameNode=new i(u,!!a.supportIcons):this.nameNode=new C(u),this.hoverDelegate=a?.hoverDelegate}get element(){return this.domNode.element}setLabel(t,a,u){const h=["monaco-icon-label"],r=["monaco-icon-label-container"];let c="";if(u&&(u.extraClasses&&h.push(...u.extraClasses),u.italic&&h.push("italic"),u.strikethrough&&h.push("strikethrough"),u.disabledCommand&&r.push("disabled"),u.title&&(c+=u.title)),this.domNode.className=h.join(" "),this.domNode.element.setAttribute("aria-label",c),this.labelContainer.className=r.join(" "),this.setupHover(u?.descriptionTitle?this.labelContainer:this.element,u?.title),this.nameNode.setLabel(t,u),a||this.descriptionNode){const o=this.getOrCreateDescriptionNode();o instanceof k.HighlightedLabel?(o.set(a||"",u?u.descriptionMatches:void 0,void 0,u?.labelEscapeNewLines),this.setupHover(o.element,u?.descriptionTitle)):(o.textContent=a&&u?.labelEscapeNewLines?k.HighlightedLabel.escapeNewLines(a,[]):a||"",this.setupHover(o.element,u?.descriptionTitle||""),o.empty=!a)}}setupHover(t,a){const u=this.customHovers.get(t);if(u&&(u.dispose(),this.customHovers.delete(t)),!a){t.removeAttribute("title");return}if(!this.hoverDelegate)(0,y.setupNativeHover)(t,a);else{const h=(0,y.setupCustomHover)(this.hoverDelegate,t,a);h&&this.customHovers.set(t,h)}}dispose(){super.dispose();for(const t of this.customHovers.values())t.dispose();this.customHovers.clear()}getOrCreateDescriptionNode(){var t;if(!this.descriptionNode){const a=this._register(new _(L.append(this.labelContainer,L.$("span.monaco-icon-description-container"))));!((t=this.creationOptions)===null||t===void 0)&&t.supportDescriptionHighlights?this.descriptionNode=new k.HighlightedLabel(L.append(a.element,L.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons}):this.descriptionNode=this._register(new _(L.append(a.element,L.$("span.label-description"))))}return this.descriptionNode}}e.IconLabel=g;class C{constructor(t){this.container=t,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=L.append(this.container,L.$("a.label-name",{id:a?.domId}))),this.singleLabel.textContent=t;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let u=0;u{const r={start:u,end:u+h.length},c=a.map(o=>f.Range.intersect(r,o)).filter(o=>!f.Range.isEmpty(o)).map(({start:o,end:d})=>({start:o-u,end:d-u}));return u=r.end+t.length,c})}class i{constructor(t,a){this.container=t,this.supportIcons=a,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new k.HighlightedLabel(L.append(this.container,L.$("a.label-name",{id:a?.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(t,a?.matches,void 0,a?.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const u=a?.separator||"/",h=s(t,u,a?.matches);for(let r=0;r{L.EventHelper.stop(d,!0)}))}registerListeners(){this._register(L.addStandardDisposableListener(this.selectElement,"change",c=>{this.selected=c.target.selectedIndex,this._onDidSelect.fire({index:c.target.selectedIndex,selected:c.target.value}),this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)})),this._register(L.addDisposableListener(this.selectElement,L.EventType.CLICK,c=>{L.EventHelper.stop(c),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.MOUSE_DOWN,c=>{L.EventHelper.stop(c)}));let r;this._register(L.addDisposableListener(this.selectElement,"touchstart",c=>{r=this._isVisible})),this._register(L.addDisposableListener(this.selectElement,"touchend",c=>{L.EventHelper.stop(c),r?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.KEY_DOWN,c=>{const o=new y.StandardKeyboardEvent(c);let d=!1;s.isMacintosh?(o.keyCode===18||o.keyCode===16||o.keyCode===10||o.keyCode===3)&&(d=!0):(o.keyCode===18&&o.altKey||o.keyCode===16&&o.altKey||o.keyCode===10||o.keyCode===3)&&(d=!0),d&&(this.showSelectDropDown(),L.EventHelper.stop(c,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(r,c){f.equals(this.options,r)||(this.options=r,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((o,d)=>{this.selectElement.add(this.createOption(o.text,d,o.isDisabled)),typeof o.description=="string"&&(this._hasDetails=!0)})),c!==void 0&&(this.select(c),this._currentSelection=this.selected)}setOptionsList(){var r;(r=this.selectList)===null||r===void 0||r.splice(0,this.selectList.length,this.options)}select(r){r>=0&&rthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(r){this.selectElement.tabIndex=r?0:-1}render(r){this.container=r,r.classList.add("select-container"),r.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){const r=[];this.styles.listFocusBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(r.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=r.join(` -`)}styleSelectElement(){var r,c,o;const d=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",l=(c=this.styles.selectForeground)!==null&&c!==void 0?c:"",p=(o=this.styles.selectBorder)!==null&&o!==void 0?o:"";this.selectElement.style.backgroundColor=d,this.selectElement.style.color=l,this.selectElement.style.borderColor=p}styleList(){var r,c;const o=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",d=L.asCssValueWithDefault(this.styles.selectListBackground,o);this.selectDropDownListContainer.style.backgroundColor=d,this.selectionDetailsPane.style.backgroundColor=d;const l=(c=this.styles.focusBorder)!==null&&c!==void 0?c:"";this.selectDropDownContainer.style.outlineColor=l,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(r,c,o){const d=document.createElement("option");return d.value=r,d.text=r,d.disabled=!!o,d}showSelectDropDown(){this.selectionDetailsPane.innerText="",!(!this.contextViewProvider||this._isVisible)&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(r){!this.contextViewProvider||!this._isVisible||(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),r&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(r,c){return r.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(c),{dispose:()=>{try{r.removeChild(this.selectDropDownContainer)}catch{}}}}measureMaxDetailsHeight(){let r=0;return this.options.forEach((c,o)=>{this.updateDetail(o),this.selectionDetailsPane.offsetHeight>r&&(r=this.selectionDetailsPane.offsetHeight)}),r}layoutSelectDropDown(r){if(this._skipLayout)return!1;if(this.selectList){this.selectDropDownContainer.classList.add("visible");const c=L.getDomNodePagePosition(this.selectElement),o=getComputedStyle(this.selectElement),d=parseFloat(o.getPropertyValue("--dropdown-padding-top"))+parseFloat(o.getPropertyValue("--dropdown-padding-bottom")),l=window.innerHeight-c.top-c.height-(this.selectBoxOptions.minBottomMargin||0),p=c.top-u.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,m=this.selectElement.offsetWidth,v=this.setWidthControlElement(this.widthControlElement),b=Math.max(v,Math.round(m)).toString()+"px";this.selectDropDownContainer.style.width=b,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let w=this.selectList.contentHeight;this._hasDetails&&this._cachedMaxDetailsHeight===void 0&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());const E=this._hasDetails?this._cachedMaxDetailsHeight:0,I=w+d+E,M=Math.floor((l-d-E)/this.getHeight()),P=Math.floor((p-d-E)/this.getHeight());if(r)return c.top+c.height>window.innerHeight-22||c.topM&&this.options.length>M?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(c.top+c.height>window.innerHeight-22||c.topl&&(w=M*this.getHeight())}else I>p&&(w=P*this.getHeight());return this.selectList.layout(w),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=w+d+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=w+d+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=b,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}else return!1}setWidthControlElement(r){let c=0;if(r){let o=0,d=0;this.options.forEach((l,p)=>{const m=l.detail?l.detail.length:0,v=l.decoratorRight?l.decoratorRight.length:0,b=l.text.length+m+v;b>d&&(o=p,d=b)}),r.textContent=this.options[o].text+(this.options[o].decoratorRight?this.options[o].decoratorRight+" ":""),c=L.getTotalWidth(r)}return c}createSelectList(r){if(this.selectList)return;this.selectDropDownListContainer=L.append(r,n(".select-box-dropdown-list-container")),this.listRenderer=new a,this.selectList=new S.List("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:d=>{let l=d.text;return d.detail&&(l+=`. ${d.detail}`),d.decoratorRight&&(l+=`. ${d.decoratorRight}`),d.description&&(l+=`. ${d.description}`),l},getWidgetAriaLabel:()=>(0,i.localize)(0,null),getRole:()=>s.isMacintosh?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);const c=this._register(new k.DomEmitter(this.selectDropDownListContainer,"keydown")),o=_.Event.chain(c.event).filter(()=>this.selectList.length>0).map(d=>new y.StandardKeyboardEvent(d));this._register(o.filter(d=>d.keyCode===3).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===2).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===9).on(d=>this.onEscape(d),this)),this._register(o.filter(d=>d.keyCode===16).on(d=>this.onUpArrow(d),this)),this._register(o.filter(d=>d.keyCode===18).on(d=>this.onDownArrow(d),this)),this._register(o.filter(d=>d.keyCode===12).on(this.onPageDown,this)),this._register(o.filter(d=>d.keyCode===11).on(this.onPageUp,this)),this._register(o.filter(d=>d.keyCode===14).on(this.onHome,this)),this._register(o.filter(d=>d.keyCode===13).on(this.onEnd,this)),this._register(o.filter(d=>d.keyCode>=21&&d.keyCode<=56||d.keyCode>=85&&d.keyCode<=113).on(this.onCharacter,this)),this._register(L.addDisposableListener(this.selectList.getHTMLElement(),L.EventType.POINTER_UP,d=>this.onPointerUp(d))),this._register(this.selectList.onMouseOver(d=>typeof d.index<"u"&&this.selectList.setFocus([d.index]))),this._register(this.selectList.onDidChangeFocus(d=>this.onListFocus(d))),this._register(L.addDisposableListener(this.selectDropDownContainer,L.EventType.FOCUS_OUT,d=>{!this._isVisible||L.isAncestor(d.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(r){if(!this.selectList.length)return;L.EventHelper.stop(r);const c=r.target;if(!c||c.classList.contains("slider"))return;const o=c.closest(".monaco-list-row");if(!o)return;const d=Number(o.getAttribute("data-index")),l=o.classList.contains("option-disabled");d>=0&&d{for(let p=0;pthis.selected+2)this.selected+=2;else{if(c)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(r){this.selected>0&&(L.EventHelper.stop(r,!0),this.options[this.selected-1].isDisabled&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]))}onPageUp(r){L.EventHelper.stop(r),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(r){const c=g.KeyCodeUtils.toString(r.keyCode);let o=-1;for(let d=0;d{this.element&&this.handleActionChangeEvent(o)}))}handleActionChangeEvent(h){h.enabled!==void 0&&this.updateEnabled(),h.checked!==void 0&&this.updateChecked(),h.class!==void 0&&this.updateClass(),h.label!==void 0&&(this.updateLabel(),this.updateTooltip()),h.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new _.ActionRunner)),this._actionRunner}set actionRunner(h){this._actionRunner=h}isEnabled(){return this._action.enabled}setActionContext(h){this._context=h}render(h){const r=this.element=h;this._register(D.Gesture.addTarget(h));const c=this.options&&this.options.draggable;c&&(h.draggable=!0,L.isFirefox&&this._register((0,y.addDisposableListener)(h,y.EventType.DRAG_START,o=>{var d;return(d=o.dataTransfer)===null||d===void 0?void 0:d.setData(k.DataTransfers.TEXT,this._action.label)}))),this._register((0,y.addDisposableListener)(r,D.EventType.Tap,o=>this.onClick(o,!0))),this._register((0,y.addDisposableListener)(r,y.EventType.MOUSE_DOWN,o=>{c||y.EventHelper.stop(o,!0),this._action.enabled&&o.button===0&&r.classList.add("active")})),C.isMacintosh&&this._register((0,y.addDisposableListener)(r,y.EventType.CONTEXT_MENU,o=>{o.button===0&&o.ctrlKey===!0&&this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.CLICK,o=>{y.EventHelper.stop(o,!0),this.options&&this.options.isMenu||this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.DBLCLICK,o=>{y.EventHelper.stop(o,!0)})),[y.EventType.MOUSE_UP,y.EventType.MOUSE_OUT].forEach(o=>{this._register((0,y.addDisposableListener)(r,o,d=>{y.EventHelper.stop(d),r.classList.remove("active")}))})}onClick(h,r=!1){var c;y.EventHelper.stop(h,!0);const o=s.isUndefinedOrNull(this._context)?!((c=this.options)===null||c===void 0)&&c.useEventAsContext?h:{preserveFocus:r}:this._context;this.actionRunner.run(this._action,o)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(h){this.element&&(this.element.tabIndex=h?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.action.tooltip}updateTooltip(){var h;if(!this.element)return;const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.updateAriaLabel(),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(r):(this.customHover=(0,S.setupCustomHover)(this.options.hoverDelegate,this.element,r),this._store.add(this.customHover))):this.element.title=r}updateAriaLabel(){var h;if(this.element){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.element.setAttribute("aria-label",r)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}e.BaseActionViewItem=n;class t extends n{constructor(h,r,c){super(h,r,c),this.options=c,this.options.icon=c.icon!==void 0?c.icon:!1,this.options.label=c.label!==void 0?c.label:!0,this.cssClass=""}render(h){super.render(h),this.element&&(this.label=(0,y.append)(this.element,(0,y.$)("a.action-label"))),this.label&&this.label.setAttribute("role",this.getDefaultAriaRole()),this.options.label&&this.options.keybinding&&this.element&&((0,y.append)(this.element,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===_.Separator.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(h){this.label&&(this.label.tabIndex=h?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let h=null;return this.action.tooltip?h=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(h=this.action.label,this.options.keybinding&&(h=i.localize(0,null,h,this.options.keybinding))),h??void 0}updateClass(){var h;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.action.class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):(h=this.label)===null||h===void 0||h.classList.remove("codicon")}updateEnabled(){var h,r;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),(h=this.element)===null||h===void 0||h.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),(r=this.element)===null||r===void 0||r.classList.add("disabled"))}updateAriaLabel(){var h;if(this.label){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.label.setAttribute("aria-label",r)}}updateChecked(){this.label&&(this.action.checked!==void 0?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.setAttribute("aria-checked",""),this.label.setAttribute("role",this.getDefaultAriaRole())))}}e.ActionViewItem=t;class a extends n{constructor(h,r,c,o,d,l,p){super(h,r),this.selectBox=new f.SelectBox(c,o,d,l,p),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(h){this.selectBox.select(h)}registerListeners(){this._register(this.selectBox.onDidSelect(h=>this.runAction(h.selected,h.index)))}runAction(h,r){this.actionRunner.run(this._action,this.getActionContext(h,r))}getActionContext(h,r){return h}setFocusable(h){this.selectBox.setFocusable(h)}focus(){var h;(h=this.selectBox)===null||h===void 0||h.focus()}blur(){var h;(h=this.selectBox)===null||h===void 0||h.blur()}render(h){this.selectBox.render(h)}}e.SelectActionViewItem=a}),define(ne[68],se([1,0,7,44,131,39,6,2,20,265]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionBar=void 0;class g extends f.Disposable{constructor(s,i={}){var n,t,a,u,h,r;super(),this._actionRunnerDisposables=this._register(new f.DisposableStore),this.viewItemDisposables=this._register(new f.DisposableMap),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new S.Emitter),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new S.Emitter({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new S.Emitter),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new S.Emitter),this.onWillRun=this._onWillRun.event,this.options=i,this._context=(n=i.context)!==null&&n!==void 0?n:null,this._orientation=(t=this.options.orientation)!==null&&t!==void 0?t:0,this._triggerKeys={keyDown:(u=(a=this.options.triggerKeys)===null||a===void 0?void 0:a.keyDown)!==null&&u!==void 0?u:!1,keys:(r=(h=this.options.triggerKeys)===null||h===void 0?void 0:h.keys)!==null&&r!==void 0?r:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new D.ActionRunner,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(d=>this._onDidRun.fire(d))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(d=>this._onWillRun.fire(d))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",i.animated!==!1&&this.domNode.classList.add("animated");let c,o;switch(this._orientation){case 0:c=[15],o=[17];break;case 1:c=[16],o=[18],this.domNode.className+=" vertical";break}this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_DOWN,d=>{const l=new k.StandardKeyboardEvent(d);let p=!0;const m=typeof this.focusedItem=="number"?this.viewItems[this.focusedItem]:void 0;c&&(l.equals(c[0])||l.equals(c[1]))?p=this.focusPrevious():o&&(l.equals(o[0])||l.equals(o[1]))?p=this.focusNext():l.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():l.equals(14)?p=this.focusFirst():l.equals(13)?p=this.focusLast():l.equals(2)&&m instanceof y.BaseActionViewItem&&m.trapsArrowNavigation?p=this.focusNext():this.isTriggerKeyEvent(l)?this._triggerKeys.keyDown?this.doTrigger(l):this.triggerKeyDown=!0:p=!1,p&&(l.preventDefault(),l.stopPropagation())})),this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_UP,d=>{const l=new k.StandardKeyboardEvent(d);this.isTriggerKeyEvent(l)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(l)),l.preventDefault(),l.stopPropagation()):(l.equals(2)||l.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(L.trackFocus(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(L.getActiveElement()===this.domNode||!L.isAncestor(L.getActiveElement(),this.domNode))&&(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),s.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(s){if(this.focusable=s,this.focusable){const i=this.viewItems.find(n=>n instanceof y.BaseActionViewItem&&n.isEnabled());i instanceof y.BaseActionViewItem&&i.setFocusable(!0)}else this.viewItems.forEach(i=>{i instanceof y.BaseActionViewItem&&i.setFocusable(!1)})}isTriggerKeyEvent(s){let i=!1;return this._triggerKeys.keys.forEach(n=>{i=i||s.equals(n)}),i}updateFocusedItem(){for(let s=0;si.setActionContext(s))}get actionRunner(){return this._actionRunner}set actionRunner(s){this._actionRunner=s,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(i=>this._onDidRun.fire(i))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(i=>this._onWillRun.fire(i))),this.viewItems.forEach(i=>i.actionRunner=s)}getContainer(){return this.domNode}getAction(s){var i;if(typeof s=="number")return(i=this.viewItems[s])===null||i===void 0?void 0:i.action;if(s instanceof HTMLElement){for(;s.parentElement!==this.actionsList;){if(!s.parentElement)return;s=s.parentElement}for(let n=0;n{const u=document.createElement("li");u.className="action-item",u.setAttribute("role","presentation");let h;const r=Object.assign({hoverDelegate:this.options.hoverDelegate},i);this.options.actionViewItemProvider&&(h=this.options.actionViewItemProvider(a,r)),h||(h=new y.ActionViewItem(this.context,a,r)),this.options.allowContextMenu||this.viewItemDisposables.set(h,L.addDisposableListener(u,L.EventType.CONTEXT_MENU,c=>{L.EventHelper.stop(c,!0)})),h.actionRunner=this._actionRunner,h.setActionContext(this.context),h.render(u),this.focusable&&h instanceof y.BaseActionViewItem&&this.viewItems.length===0&&h.setFocusable(!0),t===null||t<0||t>=this.actionsList.children.length?(this.actionsList.appendChild(u),this.viewItems.push(h)):(this.actionsList.insertBefore(u,this.actionsList.children[t]),this.viewItems.splice(t,0,h),t++)}),typeof this.focusedItem=="number"&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,f.dispose)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),L.clearNode(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return this.viewItems.length===0}focus(s){let i=!1,n;if(s===void 0?i=!0:typeof s=="number"?n=s:typeof s=="boolean"&&(i=s),i&&typeof this.focusedItem>"u"){const t=this.viewItems.findIndex(a=>a.isEnabled());this.focusedItem=t===-1?void 0:t,this.updateFocus(void 0,void 0,!0)}else n!==void 0&&(this.focusedItem=n),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(s){if(typeof this.focusedItem>"u")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(!s&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(),!0}focusPrevious(s){if(typeof this.focusedItem>"u")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!s&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(!0),!0}updateFocus(s,i,n=!1){var t;typeof this.focusedItem>"u"&&this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((t=this.viewItems[this.previouslyFocusedItem])===null||t===void 0||t.blur());const a=this.focusedItem!==void 0&&this.viewItems[this.focusedItem];if(a){let u=!0;_.isFunction(a.focus)||(u=!1),this.options.focusOnlyEnabledItems&&_.isFunction(a.isEnabled)&&!a.isEnabled()&&(u=!1),a.action.id===D.Separator.ID&&(u=!1),u?(n||this.previouslyFocusedItem!==this.focusedItem)&&(a.focus(s),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem=void 0)}}doTrigger(s){if(typeof this.focusedItem>"u")return;const i=this.viewItems[this.focusedItem];if(i instanceof y.BaseActionViewItem){const n=i._context===null||i._context===void 0?s:i._context;this.run(i._action,n)}}run(s,i){return we(this,void 0,void 0,function*(){yield this._actionRunner.run(s,i)})}dispose(){this._context=void 0,this.viewItems=(0,f.dispose)(this.viewItems),this.getContainer().remove(),super.dispose()}}e.ActionBar=g}),define(ne[315],se([1,0,7,131,572,6,266]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenuActionViewItem=void 0;class S extends k.BaseActionViewItem{constructor(_,g,C,s=Object.create(null)){super(null,_,s),this.actionItem=null,this._onDidChangeVisibility=this._register(new D.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=g,this.contextMenuProvider=C,this.options=s,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(_){this.actionItem=_;const g=i=>{this.element=(0,L.append)(i,(0,L.$)("a.action-label"));let n=[];return typeof this.options.classNames=="string"?n=this.options.classNames.split(/\s+/g).filter(t=>!!t):this.options.classNames&&(n=this.options.classNames),n.find(t=>t==="icon")||n.push("codicon"),this.element.classList.add(...n),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",this.element.ariaLabel=this._action.label||"",null},C=Array.isArray(this.menuActionsOrProvider),s={contextMenuProvider:this.contextMenuProvider,labelRenderer:g,menuAsChild:this.options.menuAsChild,actions:C?this.menuActionsOrProvider:void 0,actionProvider:C?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new y.DropdownMenu(_,s)),this._register(this.dropdownMenu.onDidChangeVisibility(i=>{var n;(n=this.element)===null||n===void 0||n.setAttribute("aria-expanded",`${i}`),this._onDidChangeVisibility.fire(i)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const i=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return i.options.anchorAlignmentProvider()}})}this.updateTooltip(),this.updateEnabled()}getTooltip(){let _=null;return this.action.tooltip?_=this.action.tooltip:this.action.label&&(_=this.action.label),_??void 0}setActionContext(_){super.setActionContext(_),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=_:this.dropdownMenu.menuOptions={context:_})}show(){var _;(_=this.dropdownMenu)===null||_===void 0||_.show()}updateEnabled(){var _,g;const C=!this.action.enabled;(_=this.actionItem)===null||_===void 0||_.classList.toggle("disabled",C),(g=this.element)===null||g===void 0||g.classList.toggle("disabled",C)}}e.DropdownMenuActionViewItem=S}),define(ne[227],se([1,0,7,81,305,68,49,75,83,6,388,47,557,401]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryInputBox=e.InputBox=e.unthemedInboxStyles=void 0;const n=L.$;e.unthemedInboxStyles={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class t extends _.Widget{constructor(h,r,c){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new g.Emitter),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new g.Emitter),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=r,this.options=c,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=(o=this.options.tooltip)!==null&&o!==void 0?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=L.append(h,n(".monaco-inputbox.idle"));const d=this.options.flexibleHeight?"textarea":"input",l=L.append(this.element,n(".ibwrapper"));if(this.input=L.append(l,n(d+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight=="number"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=L.append(l,n("div.mirror")),this.mirror.innerText="\xA0",this.scrollableElement=new f.ScrollableElement(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),L.append(h,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(v=>this.input.scrollTop=v.scrollTop));const p=this._register(new k.DomEmitter(document,"selectionchange")),m=g.Event.filter(p.event,()=>{const v=document.getSelection();return v?.anchorNode===l});this._register(m(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new D.ActionBar(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(h){this.placeholder=h,this.input.setAttribute("placeholder",h)}setTooltip(h){this.tooltip=h,this.input.title=h}get inputElement(){return this.input}get value(){return this.input.value}set value(h){this.input.value!==h&&(this.input.value=h,this.onValueChange())}get height(){return typeof this.cachedHeight=="number"?this.cachedHeight:L.getTotalHeight(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(h=null){this.input.select(),h&&(this.input.setSelectionRange(h.start,h.end),h.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(h){this.input.style.width=`calc(100% - ${h}px)`,this.mirror&&(this.mirror.style.paddingRight=h+"px")}updateScrollDimensions(){if(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)return;const h=this.cachedContentHeight,r=this.cachedHeight,c=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:h,height:r}),this.scrollableElement.setScrollPosition({scrollTop:c})}showMessage(h,r){if(this.state==="open"&&(0,s.equals)(this.message,h))return;this.message=h,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(h.type));const c=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${L.asCssValueWithDefault(c.border,"transparent")}`,this.message.content&&(this.hasFocus()||r)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let h=null;return this.validation&&(h=this.validation(this.value),h?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(h)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),h?.type}stylesForType(h){const r=this.options.inputBoxStyles;switch(h){case 1:return{border:r.inputValidationInfoBorder,background:r.inputValidationInfoBackground,foreground:r.inputValidationInfoForeground};case 2:return{border:r.inputValidationWarningBorder,background:r.inputValidationWarningBackground,foreground:r.inputValidationWarningForeground};default:return{border:r.inputValidationErrorBorder,background:r.inputValidationErrorBackground,foreground:r.inputValidationErrorForeground}}}classForType(h){switch(h){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let h;const r=()=>h.style.width=L.getTotalWidth(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:o=>{var d,l;if(!this.message)return null;h=L.append(o,n(".monaco-inputbox-container")),r();const p={inline:!0,className:"monaco-inputbox-message"},m=this.message.formatContent?(0,y.renderFormattedText)(this.message.content,p):(0,y.renderText)(this.message.content,p);m.classList.add(this.classForType(this.message.type));const v=this.stylesForType(this.message.type);return m.style.backgroundColor=(d=v.background)!==null&&d!==void 0?d:"",m.style.color=(l=v.foreground)!==null&&l!==void 0?l:"",m.style.border=v.border?`1px solid ${v.border}`:"",L.append(h,m),null},onHide:()=>{this.state="closed"},layout:r});let c;this.message.type===3?c=i.localize(0,null,this.message.content):this.message.type===2?c=i.localize(1,null,this.message.content):c=i.localize(2,null,this.message.content),S.alert(c),this.state="open"}_hideMessage(){this.contextViewProvider&&(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const h=this.value,c=h.charCodeAt(h.length-1)===10?" ":"";(h+c).replace(/\u000c/g,"")?this.mirror.textContent=h+c:this.mirror.innerText="\xA0",this.layout()}applyStyles(){var h,r,c;const o=this.options.inputBoxStyles,d=(h=o.inputBackground)!==null&&h!==void 0?h:"",l=(r=o.inputForeground)!==null&&r!==void 0?r:"",p=(c=o.inputBorder)!==null&&c!==void 0?c:"";this.element.style.backgroundColor=d,this.element.style.color=l,this.input.style.backgroundColor="inherit",this.input.style.color=l,this.element.style.border=`1px solid ${L.asCssValueWithDefault(p,"transparent")}`}layout(){if(!this.mirror)return;const h=this.cachedContentHeight;this.cachedContentHeight=L.getTotalHeight(this.mirror),h!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(h){const r=this.inputElement,c=r.selectionStart,o=r.selectionEnd,d=r.value;c!==null&&o!==null&&(this.value=d.substr(0,c)+h+d.substr(o),r.setSelectionRange(c+1,c+1),this.layout())}dispose(){var h;this._hideMessage(),this.message=null,(h=this.actionbar)===null||h===void 0||h.dispose(),super.dispose()}}e.InputBox=t;class a extends t{constructor(h,r,c){const o=i.localize(3,null),d=` or \u21C5 ${o}`,l=` (\u21C5 ${o})`;super(h,r,c),this._onDidFocus=this._register(new g.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Emitter),this.onDidBlur=this._onDidBlur.event,this.history=new C.HistoryNavigator(c.history,100);const p=()=>{if(c.showHistoryHint&&c.showHistoryHint()&&!this.placeholder.endsWith(d)&&!this.placeholder.endsWith(l)&&this.history.getHistory().length){const m=this.placeholder.endsWith(")")?d:l,v=this.placeholder+m;c.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=v:this.setPlaceHolder(v)}};this.observer=new MutationObserver((m,v)=>{m.forEach(b=>{b.target.textContent||p()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>p()),this.onblur(this.input,()=>{const m=v=>{if(this.placeholder.endsWith(v)){const b=this.placeholder.slice(0,this.placeholder.length-v.length);return c.showPlaceholderOnFocus?this.placeholder=b:this.setPlaceHolder(b),!0}else return!1};m(l)||m(d)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(h){this.value&&(h||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let h=this.getNextValue();h&&(h=h===this.value?this.getNextValue():h),this.value=h??"",S.status(this.value?this.value:i.localize(4,null))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let h=this.getPreviousValue();h&&(h=h===this.value?this.getPreviousValue():h),h&&(this.value=h,S.status(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let h=this.history.current();return h||(h=this.history.last(),this.history.next()),h}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}e.HistoryInputBox=a}),define(ne[228],se([1,0,7,312,227,83,6,552,2,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindInput=void 0;const g=f.localize(0,null);class C extends D.Widget{constructor(i,n,t){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=new _.DisposableStore,this.additionalToggles=[],this._onDidOptionChange=this._register(new S.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new S.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new S.Emitter),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new S.Emitter),this._onKeyUp=this._register(new S.Emitter),this._onCaseSensitiveKeyDown=this._register(new S.Emitter),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new S.Emitter),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=t.placeholder||"",this.validation=t.validation,this.label=t.label||g,this.showCommonFindToggles=!!t.showCommonFindToggles;const a=t.appendCaseSensitiveLabel||"",u=t.appendWholeWordsLabel||"",h=t.appendRegexLabel||"",r=t.history||[],c=!!t.flexibleHeight,o=!!t.flexibleWidth,d=t.flexibleMaxHeight;if(this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,n,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:r,showHistoryHint:t.showHistoryHint,flexibleHeight:c,flexibleWidth:o,flexibleMaxHeight:d,inputBoxStyles:t.inputBoxStyles})),this.showCommonFindToggles){this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:h,isChecked:!1},t.toggleStyles))),this._register(this.regex.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(p=>{this._onRegexKeyDown.fire(p)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:u,isChecked:!1},t.toggleStyles))),this._register(this.wholeWords.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:a,isChecked:!1},t.toggleStyles))),this._register(this.caseSensitive.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(p=>{this._onCaseSensitiveKeyDown.fire(p)}));const l=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,p=>{if(p.equals(15)||p.equals(17)||p.equals(9)){const m=l.indexOf(document.activeElement);if(m>=0){let v=-1;p.equals(17)?v=(m+1)%l.length:p.equals(15)&&(m===0?v=l.length-1:v=m-1),p.equals(9)?(l[m].blur(),this.inputBox.focus()):v>=0&&l[v].focus(),L.EventHelper.stop(p,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(t?.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),i?.appendChild(this.domNode),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionstart",l=>{this.imeSessionInProgress=!0})),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionend",l=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,l=>this._onKeyDown.fire(l)),this.onkeyup(this.inputBox.inputElement,l=>this._onKeyUp.fire(l)),this.oninput(this.inputBox.inputElement,l=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,l=>this._onMouseDown.fire(l))}get onDidChange(){return this.inputBox.onDidChange}layout(i){this.inputBox.layout(),this.updateInputBoxPadding(i.collapsedFindWidget)}enable(){var i,n,t;this.domNode.classList.remove("disabled"),this.inputBox.enable(),(i=this.regex)===null||i===void 0||i.enable(),(n=this.wholeWords)===null||n===void 0||n.enable(),(t=this.caseSensitive)===null||t===void 0||t.enable();for(const a of this.additionalToggles)a.enable()}disable(){var i,n,t;this.domNode.classList.add("disabled"),this.inputBox.disable(),(i=this.regex)===null||i===void 0||i.disable(),(n=this.wholeWords)===null||n===void 0||n.disable(),(t=this.caseSensitive)===null||t===void 0||t.disable();for(const a of this.additionalToggles)a.disable()}setFocusInputOnOptionClick(i){this.fixFocusOnOptionClickEnabled=i}setEnabled(i){i?this.enable():this.disable()}setAdditionalToggles(i){for(const n of this.additionalToggles)n.domNode.remove();this.additionalToggles=[],this.additionalTogglesDisposables.dispose(),this.additionalTogglesDisposables=new _.DisposableStore;for(const n of i??[])this.additionalTogglesDisposables.add(n),this.controls.appendChild(n.domNode),this.additionalTogglesDisposables.add(n.onChange(t=>{this._onDidOptionChange.fire(t),!t&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(n);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(i=!1){var n,t,a,u,h,r;i?this.inputBox.paddingRight=0:this.inputBox.paddingRight=((t=(n=this.caseSensitive)===null||n===void 0?void 0:n.width())!==null&&t!==void 0?t:0)+((u=(a=this.wholeWords)===null||a===void 0?void 0:a.width())!==null&&u!==void 0?u:0)+((r=(h=this.regex)===null||h===void 0?void 0:h.width())!==null&&r!==void 0?r:0)+this.additionalToggles.reduce((c,o)=>c+o.width(),0)}getValue(){return this.inputBox.value}setValue(i){this.inputBox.value!==i&&(this.inputBox.value=i)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var i,n;return(n=(i=this.caseSensitive)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setCaseSensitive(i){this.caseSensitive&&(this.caseSensitive.checked=i)}getWholeWords(){var i,n;return(n=(i=this.wholeWords)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setWholeWords(i){this.wholeWords&&(this.wholeWords.checked=i)}getRegex(){var i,n;return(n=(i=this.regex)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setRegex(i){this.regex&&(this.regex.checked=i,this.validate())}focusOnCaseSensitive(){var i;(i=this.caseSensitive)===null||i===void 0||i.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(i){this.inputBox.showMessage(i)}clearMessage(){this.inputBox.hideMessage()}}e.FindInput=C}),define(ne[582],se([1,0,7,153,227,83,25,6,554,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReplaceInput=void 0;const g=_.localize(0,null),C=_.localize(1,null);class s extends k.Toggle{constructor(t){super({icon:S.Codicon.preserveCase,title:C+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionForeground:t.inputActiveOptionForeground,inputActiveOptionBackground:t.inputActiveOptionBackground})}}class i extends D.Widget{constructor(t,a,u,h){super(),this._showOptionButtons=u,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new f.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new f.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new f.Emitter),this._onInput=this._register(new f.Emitter),this._onKeyUp=this._register(new f.Emitter),this._onPreserveCaseKeyDown=this._register(new f.Emitter),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=a,this.placeholder=h.placeholder||"",this.validation=h.validation,this.label=h.label||g;const r=h.appendPreserveCaseLabel||"",c=h.history||[],o=!!h.flexibleHeight,d=!!h.flexibleWidth,l=h.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},history:c,showHistoryHint:h.showHistoryHint,flexibleHeight:o,flexibleWidth:d,flexibleMaxHeight:l,inputBoxStyles:h.inputBoxStyles})),this.preserveCase=this._register(new s(Object.assign({appendTitle:r,isChecked:!1},h.toggleStyles))),this._register(this.preserveCase.onChange(v=>{this._onDidOptionChange.fire(v),!v&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(v=>{this._onPreserveCaseKeyDown.fire(v)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;const p=[this.preserveCase.domNode];this.onkeydown(this.domNode,v=>{if(v.equals(15)||v.equals(17)||v.equals(9)){const b=p.indexOf(document.activeElement);if(b>=0){let w=-1;v.equals(17)?w=(b+1)%p.length:v.equals(15)&&(b===0?w=p.length-1:w=b-1),v.equals(9)?(p[b].blur(),this.inputBox.focus()):w>=0&&p[w].focus(),L.EventHelper.stop(v,!0)}}});const m=document.createElement("div");m.className="controls",m.style.display=this._showOptionButtons?"block":"none",m.appendChild(this.preserveCase.domNode),this.domNode.appendChild(m),t?.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,v=>this._onKeyDown.fire(v)),this.onkeyup(this.inputBox.inputElement,v=>this._onKeyUp.fire(v)),this.oninput(this.inputBox.inputElement,v=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,v=>this._onMouseDown.fire(v))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(t){t?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(t){this.preserveCase.checked=t}focusOnPreserve(){this.preserveCase.focus()}validate(){var t;(t=this.inputBox)===null||t===void 0||t.validate()}set width(t){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=t+"px"}dispose(){super.dispose()}}e.ReplaceInput=i}),define(ne[583],se([1,0,52,61,7,44,60,68,131,306,75,39,13,25,26,120,2,17,11]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRule=e.cleanMnemonic=e.Menu=e.Direction=e.MENU_ESCAPED_MNEMONIC_REGEX=e.MENU_MNEMONIC_REGEX=void 0,e.MENU_MNEMONIC_REGEX=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,e.MENU_ESCAPED_MNEMONIC_REGEX=/(&)?(&)([^\s&])/g;var c;(function(w){w[w.Right=0]="Right",w[w.Left=1]="Left"})(c||(e.Direction=c={}));class o extends f.ActionBar{constructor(E,I,M,P){E.classList.add("monaco-menu-container"),E.setAttribute("role","presentation");const x=document.createElement("div");x.classList.add("monaco-menu"),x.setAttribute("role","presentation"),super(x,{orientation:1,actionViewItemProvider:N=>this.doGetActionViewItem(N,M,T),context:M.context,actionRunner:M.actionRunner,ariaLabel:M.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...h.isMacintosh||h.isLinux?[10]:[]],keyDown:!0}}),this.menuStyles=P,this.menuElement=x,this.actionsList.tabIndex=0,this.menuDisposables=this._register(new u.DisposableStore),this.initializeOrUpdateStyleSheet(E,P),this._register(k.Gesture.addTarget(x)),(0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{new D.StandardKeyboardEvent(N).equals(2)&&N.preventDefault()}),M.enableMnemonics&&this.menuDisposables.add((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=N.key.toLocaleLowerCase();if(this.mnemonics.has(F)){y.EventHelper.stop(N,!0);const O=this.mnemonics.get(F);if(O.length===1&&(O[0]instanceof l&&O[0].container&&this.focusItemByElement(O[0].container),O[0].onClick(N)),O.length>1){const W=O.shift();W&&W.container&&(this.focusItemByElement(W.container),O.push(W)),this.mnemonics.set(F,O)}}})),h.isLinux&&this._register((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=new D.StandardKeyboardEvent(N);F.equals(14)||F.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),y.EventHelper.stop(N,!0)):(F.equals(13)||F.equals(12))&&(this.focusedItem=0,this.focusPrevious(),y.EventHelper.stop(N,!0))})),this._register((0,y.addDisposableListener)(this.domNode,y.EventType.MOUSE_OUT,N=>{const F=N.relatedTarget;(0,y.isAncestor)(F,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),N.stopPropagation())})),this._register((0,y.addDisposableListener)(this.actionsList,y.EventType.MOUSE_OVER,N=>{let F=N.target;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}})),this._register(k.Gesture.addTarget(this.actionsList)),this._register((0,y.addDisposableListener)(this.actionsList,k.EventType.Tap,N=>{let F=N.initialTarget;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}}));const T={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new C.DomScrollableElement(x,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const A=this.scrollableElement.getDomNode();A.style.position="",this.styleScrollElement(A,P),this._register((0,y.addDisposableListener)(x,k.EventType.Change,N=>{y.EventHelper.stop(N,!0);const F=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:F-N.translationY})})),this._register((0,y.addDisposableListener)(A,y.EventType.MOUSE_UP,N=>{N.preventDefault()})),x.style.maxHeight=`${Math.max(10,window.innerHeight-E.getBoundingClientRect().top-35)}px`,I=I.filter(N=>{var F;return!((F=M.submenuIds)===null||F===void 0)&&F.has(N.id)?(console.warn(`Found submenu cycle: ${N.id}`),!1):!0}),this.push(I,{icon:!0,label:!0,isMenu:!0}),E.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(N=>!(N instanceof p)).forEach((N,F,O)=>{N.updatePositionInSet(F+1,O.length)})}initializeOrUpdateStyleSheet(E,I){this.styleSheet||((0,y.isInShadowDOM)(E)?this.styleSheet=(0,y.createStyleSheet)(E):(o.globalStyleSheet||(o.globalStyleSheet=(0,y.createStyleSheet)()),this.styleSheet=o.globalStyleSheet)),this.styleSheet.textContent=b(I,(0,y.isInShadowDOM)(E))}styleScrollElement(E,I){var M,P;const x=(M=I.foregroundColor)!==null&&M!==void 0?M:"",T=(P=I.backgroundColor)!==null&&P!==void 0?P:"",A=I.borderColor?`1px solid ${I.borderColor}`:"",N="5px",F=I.shadowColor?`0 2px 8px ${I.shadowColor}`:"";E.style.outline=A,E.style.borderRadius=N,E.style.color=x,E.style.backgroundColor=T,E.style.boxShadow=F}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(E){const I=this.focusedItem;this.setFocusedItem(E),I!==this.focusedItem&&this.updateFocus()}setFocusedItem(E){for(let I=0;I{this.element&&(this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_UP,x=>{if(y.EventHelper.stop(x,!0),L.isFirefox){if(new S.StandardMouseEvent(x).rightButton)return;this.onClick(x)}else setTimeout(()=>{this.onClick(x)},0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.CONTEXT_MENU,x=>{y.EventHelper.stop(x,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(E){super.render(E),this.element&&(this.container=E,this.item=(0,y.append)(this.element,(0,y.$)("a.action-menu-item")),this._action.id===s.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,y.append)(this.item,(0,y.$)("span.menu-item-check"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSelection))),this.check.setAttribute("role","none"),this.label=(0,y.append)(this.item,(0,y.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,y.append)(this.item,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var E;super.focus(),(E=this.item)===null||E===void 0||E.focus(),this.applyStyle()}updatePositionInSet(E,I){this.item&&(this.item.setAttribute("aria-posinset",`${E}`),this.item.setAttribute("aria-setsize",`${I}`))}updateLabel(){var E;if(this.label&&this.options.label){(0,y.clearNode)(this.label);let I=(0,a.stripIcons)(this.action.label);if(I){const M=m(I);this.options.enableMnemonics||(I=M),this.label.setAttribute("aria-label",M.replace(/&&/g,"&"));const P=e.MENU_MNEMONIC_REGEX.exec(I);if(P){I=r.escape(I),e.MENU_ESCAPED_MNEMONIC_REGEX.lastIndex=0;let x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);for(;x&&x[1];)x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);const T=A=>A.replace(/&&/g,"&");x?this.label.append(r.ltrim(T(I.substr(0,x.index))," "),(0,y.$)("u",{"aria-hidden":"true"},x[3]),r.rtrim(T(I.substr(x.index+x[0].length))," ")):this.label.innerText=T(I).trim(),(E=this.item)===null||E===void 0||E.setAttribute("aria-keyshortcuts",(P[1]?P[1]:P[3]).toLocaleLowerCase())}else this.label.innerText=I.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.action.class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const E=this.action.checked;this.item.classList.toggle("checked",!!E),E!==void 0?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",E?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){const E=this.element&&this.element.classList.contains("focused"),I=E&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,M=E&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,P=E&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",x=E&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=I??"",this.item.style.backgroundColor=M??"",this.item.style.outline=P,this.item.style.outlineOffset=x),this.check&&(this.check.style.color=I??"")}}class l extends d{constructor(E,I,M,P,x){super(E,E,P,x),this.submenuActions=I,this.parentData=M,this.submenuOptions=P,this.mysubmenu=null,this.submenuDisposables=this._register(new u.DisposableStore),this.mouseOver=!1,this.expandDirection=P&&P.expandDirection!==void 0?P.expandDirection:c.Right,this.showScheduler=new i.RunOnceScheduler(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new i.RunOnceScheduler(()=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(E){super.render(E),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,y.append)(this.item,(0,y.$)("span.submenu-indicator"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSubmenu))),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_UP,I=>{const M=new D.StandardKeyboardEvent(I);(M.equals(17)||M.equals(3))&&(y.EventHelper.stop(I,!0),this.createSubmenu(!0))})),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_DOWN,I=>{const M=new D.StandardKeyboardEvent(I);(0,y.getActiveElement)()===this.item&&(M.equals(17)||M.equals(3))&&y.EventHelper.stop(I,!0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_OVER,I=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_LEAVE,I=>{this.mouseOver=!1})),this._register((0,y.addDisposableListener)(this.element,y.EventType.FOCUS_OUT,I=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(E){y.EventHelper.stop(E,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(E){if(this.parentData.submenu&&(E||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch{}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(E,I,M,P){const x={top:0,left:0};return x.left=(0,g.layout)(E.width,I.width,{position:P===c.Right?0:1,offset:M.left,size:M.width}),x.left>=M.left&&x.left{new D.StandardKeyboardEvent(F).equals(15)&&(y.EventHelper.stop(F,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add((0,y.addDisposableListener)(this.submenuContainer,y.EventType.KEY_DOWN,F=>{new D.StandardKeyboardEvent(F).equals(15)&&y.EventHelper.stop(F,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(E),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(E){var I;this.item&&((I=this.item)===null||I===void 0||I.setAttribute("aria-expanded",E))}applyStyle(){super.applyStyle();const I=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=I??"")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class p extends _.ActionViewItem{constructor(E,I,M,P){super(E,I,M),this.menuStyles=P}render(E){super.render(E),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:"")}}function m(w){const E=e.MENU_MNEMONIC_REGEX,I=E.exec(w);if(!I)return w;const M=!I[1];return w.replace(E,M?"$2$3":"").trim()}e.cleanMnemonic=m;function v(w){const E=(0,n.getCodiconFontCharacters)()[w.id];return`.codicon-${w.id}:before { content: '\\${E.toString(16)}'; }`}e.formatRule=v;function b(w,E){let I=` -.monaco-menu { - font-size: 13px; - border-radius: 5px; - min-width: 160px; -} - -${v(n.Codicon.menuSelection)} -${v(n.Codicon.menuSubmenu)} - -.monaco-menu .monaco-action-bar { - text-align: right; - overflow: hidden; - white-space: nowrap; -} - -.monaco-menu .monaco-action-bar .actions-container { - display: flex; - margin: 0 auto; - padding: 0; - width: 100%; - justify-content: flex-end; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: inline-block; -} - -.monaco-menu .monaco-action-bar.reverse .actions-container { - flex-direction: row-reverse; -} - -.monaco-menu .monaco-action-bar .action-item { - cursor: pointer; - display: inline-block; - transition: transform 50ms ease; - position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ -} - -.monaco-menu .monaco-action-bar .action-item.disabled { - cursor: default; -} - -.monaco-menu .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ -} - -.monaco-menu .monaco-action-bar .action-item .icon, -.monaco-menu .monaco-action-bar .action-item .codicon { - display: inline-block; -} - -.monaco-menu .monaco-action-bar .action-item .codicon { - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar .action-label { - font-size: 11px; - margin-right: 4px; -} - -.monaco-menu .monaco-action-bar .action-item.disabled .action-label, -.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover { - color: var(--vscode-disabledForeground); -} - -/* Vertical actions */ - -.monaco-menu .monaco-action-bar.vertical { - text-align: left; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - display: block; - border-bottom: 1px solid var(--vscode-menu-separatorBackground); - padding-top: 1px; - padding: 30px; -} - -.monaco-menu .secondary-actions .monaco-action-bar .action-label { - margin-left: 6px; -} - -/* Action Items */ -.monaco-menu .monaco-action-bar .action-item.select-container { - overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ - flex: 1; - max-width: 170px; - min-width: 60px; - display: flex; - align-items: center; - justify-content: center; - margin-right: 10px; -} - -.monaco-menu .monaco-action-bar.vertical { - margin-left: 0; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - padding: 0; - transform: none; - display: flex; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.active { - transform: none; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - flex: 1 1 auto; - display: flex; - height: 2em; - align-items: center; - position: relative; - margin: 0 4px; - border-radius: 4px; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding { - opacity: unset; -} - -.monaco-menu .monaco-action-bar.vertical .action-label { - flex: 1 1 auto; - text-decoration: none; - padding: 0 1em; - background: none; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .keybinding, -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - display: inline-block; - flex: 2 1 auto; - padding: 0 1em; - text-align: right; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon { - font-size: 16px !important; - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before { - margin-left: auto; - margin-right: -20px; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator { - opacity: 0.4; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) { - display: inline-block; - box-sizing: border-box; - margin: 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - position: static; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu { - position: absolute; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - width: 100%; - height: 0px !important; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator.text { - padding: 0.7em 1em 0.1em 1em; - font-weight: bold; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:hover { - color: inherit; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - position: absolute; - visibility: hidden; - width: 1em; - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check { - visibility: visible; - display: flex; - align-items: center; - justify-content: center; -} - -/* Context Menu */ - -.context-view.monaco-menu-container { - outline: 0; - border: none; - animation: fadeIn 0.083s linear; - -webkit-app-region: no-drag; -} - -.context-view.monaco-menu-container :focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical:focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical :focus { - outline: 0; -} - -.hc-black .context-view.monaco-menu-container, -.hc-light .context-view.monaco-menu-container, -:host-context(.hc-black) .context-view.monaco-menu-container, -:host-context(.hc-light) .context-view.monaco-menu-container { - box-shadow: none; -} - -.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused, -.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused { - background: none; -} - -/* Vertical Action Bar Styles */ - -.monaco-menu .monaco-action-bar.vertical { - padding: 4px 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - height: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator), -.monaco-menu .monaco-action-bar.vertical .keybinding { - font-size: inherit; - padding: 0 2em; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - font-size: inherit; - width: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - font-size: inherit; - margin: 5px 0 !important; - padding: 0; - border-radius: 0; -} - -.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator { - margin-left: 0; - margin-right: 0; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - font-size: 60%; - padding: 0 1.8em; -} - -.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; - mask-size: 10px 10px; - -webkit-mask-size: 10px 10px; -} - -.monaco-menu .action-item { - cursor: default; -}`;if(E){I+=` - /* Arrows */ - .monaco-scrollable-element > .scrollbar > .scra { - cursor: pointer; - font-size: 11px !important; - } - - .monaco-scrollable-element > .visible { - opacity: 1; - - /* Background rule added for IE9 - to allow clicks on dom node */ - background:rgba(0,0,0,0); - - transition: opacity 100ms linear; - } - .monaco-scrollable-element > .invisible { - opacity: 0; - pointer-events: none; - } - .monaco-scrollable-element > .invisible.fade { - transition: opacity 800ms linear; - } - - /* Scrollable Content Inset Shadow */ - .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; - } - `;const M=w.scrollbarShadow;M&&(I+=` - .monaco-scrollable-element > .shadow.top { - box-shadow: ${M} 0 6px 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.left { - box-shadow: ${M} 6px 0 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.top.left { - box-shadow: ${M} 6px 6px 6px -6px inset; - } - `);const P=w.scrollbarSliderBackground;P&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider { - background: ${P}; - } - `);const x=w.scrollbarSliderHoverBackground;x&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider:hover { - background: ${x}; - } - `);const T=w.scrollbarSliderActiveBackground;T&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider.active { - background: ${T}; - } - `)}return I}}),define(ne[584],se([1,0,68,315,39,25,26,6,2,560,412]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleMenuAction=e.ToolBar=void 0;class C extends _.Disposable{constructor(n,t,a={orientation:0}){super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new f.EventMultiplexer),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new _.DisposableStore),this.options=a,this.lookupKeybindings=typeof this.options.getKeyBinding=="function",this.toggleMenuAction=this._register(new s(()=>{var u;return(u=this.toggleMenuActionViewItem)===null||u===void 0?void 0:u.show()},a.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",n.appendChild(this.element),this.actionBar=this._register(new L.ActionBar(this.element,{orientation:a.orientation,ariaLabel:a.ariaLabel,actionRunner:a.actionRunner,allowContextMenu:a.allowContextMenu,highlightToggledItems:a.highlightToggledItems,actionViewItemProvider:(u,h)=>{var r;if(u.id===s.ID)return this.toggleMenuActionViewItem=new k.DropdownMenuActionViewItem(u,u.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:S.ThemeIcon.asClassNameArray((r=a.moreIcon)!==null&&r!==void 0?r:D.Codicon.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(a.actionViewItemProvider){const c=a.actionViewItemProvider(u,h);if(c)return c}if(u instanceof y.SubmenuAction){const c=new k.DropdownMenuActionViewItem(u,u.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:u.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry});return c.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(c),this.disposables.add(this._onDidChangeDropdownVisibility.add(c.onDidChangeVisibility)),c}}}))}set actionRunner(n){this.actionBar.actionRunner=n}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(n){return this.actionBar.getAction(n)}setActions(n,t){this.clear();const a=n?n.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),a.push(this.toggleMenuAction)),a.forEach(u=>{this.actionBar.push(u,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(u)})})}getKeybindingLabel(n){var t,a,u;const h=this.lookupKeybindings?(a=(t=this.options).getKeyBinding)===null||a===void 0?void 0:a.call(t,n):void 0;return(u=h?.getLabel())!==null&&u!==void 0?u:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),super.dispose()}}e.ToolBar=C;class s extends y.Action{constructor(n,t){t=t||g.localize(0,null),super(s.ID,t,void 0,!0),this._menuActions=[],this.toggleDropdownMenu=n}run(){return we(this,void 0,void 0,function*(){this.toggleDropdownMenu()})}get menuActions(){return this._menuActions}set menuActions(n){this._menuActions=n}}e.ToggleMenuAction=s,s.ID="toolbar.toggle.more"}),define(ne[184],se([1,0,7,81,44,68,228,227,225,114,153,218,139,39,14,13,25,26,196,6,72,2,141,20,561,413]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractTree=e.TreeFindMatchType=e.TreeFindMode=e.FuzzyToggle=e.ModeToggle=e.RenderIndentGuides=e.ComposedTreeDelegate=void 0;class v extends _.ElementsDragAndDropData{constructor(B){super(B.elements.map(V=>V.element)),this.data=B}}function b(H){return H instanceof _.ElementsDragAndDropData?new v(H):H}class w{constructor(B,V){this.modelProvider=B,this.dnd=V,this.autoExpandDisposable=d.Disposable.None}getDragURI(B){return this.dnd.getDragURI(B.element)}getDragLabel(B,V){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(B.map(Y=>Y.element),V)}onDragStart(B,V){var Y,ie;(ie=(Y=this.dnd).onDragStart)===null||ie===void 0||ie.call(Y,b(B),V)}onDragOver(B,V,Y,ie,ae=!0){const ce=this.dnd.onDragOver(b(B),V&&V.element,Y,ie),de=this.autoExpandNode!==V;if(de&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=V),typeof V>"u")return ce;if(de&&typeof ce!="boolean"&&ce.autoExpand&&(this.autoExpandDisposable=(0,a.disposableTimeout)(()=>{const z=this.modelProvider(),ee=z.getNodeLocation(V);z.isCollapsed(ee)&&z.setCollapsed(ee,!1),this.autoExpandNode=void 0},500)),typeof ce=="boolean"||!ce.accept||typeof ce.bubble>"u"||ce.feedback){if(!ae){const z=typeof ce=="boolean"?ce:ce.accept,ee=typeof ce=="boolean"?void 0:ce.effect;return{accept:z,effect:ee,feedback:[Y]}}return ce}if(ce.bubble===1){const z=this.modelProvider(),ee=z.getNodeLocation(V),$=z.getParentNodeLocation(ee),re=z.getNode($),oe=$&&z.getListIndex($);return this.onDragOver(B,re,oe,ie,!1)}const he=this.modelProvider(),ue=he.getNodeLocation(V),te=he.getListIndex(ue),q=he.getListRenderCount(ue);return Object.assign(Object.assign({},ce),{feedback:(0,t.range)(te,te+q)})}drop(B,V,Y,ie){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(b(B),V&&V.element,Y,ie)}onDragEnd(B){var V,Y;(Y=(V=this.dnd).onDragEnd)===null||Y===void 0||Y.call(V,B)}}function E(H,B){return B&&Object.assign(Object.assign({},B),{identityProvider:B.identityProvider&&{getId(V){return B.identityProvider.getId(V.element)}},dnd:B.dnd&&new w(H,B.dnd),multipleSelectionController:B.multipleSelectionController&&{isSelectionSingleChangeEvent(V){return B.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))},isSelectionRangeChangeEvent(V){return B.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))}},accessibilityProvider:B.accessibilityProvider&&Object.assign(Object.assign({},B.accessibilityProvider),{getSetSize(V){const Y=H(),ie=Y.getNodeLocation(V),ae=Y.getParentNodeLocation(ie);return Y.getNode(ae).visibleChildrenCount},getPosInSet(V){return V.visibleChildIndex+1},isChecked:B.accessibilityProvider&&B.accessibilityProvider.isChecked?V=>B.accessibilityProvider.isChecked(V.element):void 0,getRole:B.accessibilityProvider&&B.accessibilityProvider.getRole?V=>B.accessibilityProvider.getRole(V.element):()=>"treeitem",getAriaLabel(V){return B.accessibilityProvider.getAriaLabel(V.element)},getWidgetAriaLabel(){return B.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:B.accessibilityProvider&&B.accessibilityProvider.getWidgetRole?()=>B.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:B.accessibilityProvider&&B.accessibilityProvider.getAriaLevel?V=>B.accessibilityProvider.getAriaLevel(V.element):V=>V.depth,getActiveDescendantId:B.accessibilityProvider.getActiveDescendantId&&(V=>B.accessibilityProvider.getActiveDescendantId(V.element))}),keyboardNavigationLabelProvider:B.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},B.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(V){return B.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(V.element)}})})}class I{constructor(B){this.delegate=B}getHeight(B){return this.delegate.getHeight(B.element)}getTemplateId(B){return this.delegate.getTemplateId(B.element)}hasDynamicHeight(B){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(B.element)}setDynamicHeight(B,V){var Y,ie;(ie=(Y=this.delegate).setDynamicHeight)===null||ie===void 0||ie.call(Y,B.element,V)}}e.ComposedTreeDelegate=I;var M;(function(H){H.None="none",H.OnHover="onHover",H.Always="always"})(M||(e.RenderIndentGuides=M={}));class P{get elements(){return this._elements}constructor(B,V=[]){this._elements=V,this.disposables=new d.DisposableStore,this.onDidChange=c.Event.forEach(B,Y=>this._elements=Y,this.disposables)}dispose(){this.disposables.dispose()}}class x{constructor(B,V,Y,ie,ae,ce={}){var de;this.renderer=B,this.modelProvider=V,this.activeNodes=ie,this.renderedIndentGuides=ae,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=x.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=d.Disposable.None,this.disposables=new d.DisposableStore,this.templateId=B.templateId,this.updateOptions(ce),c.Event.map(Y,he=>he.node)(this.onDidChangeNodeTwistieState,this,this.disposables),(de=B.onDidChangeTwistieState)===null||de===void 0||de.call(B,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(B={}){if(typeof B.indent<"u"){const V=(0,l.clamp)(B.indent,0,40);if(V!==this.indent){this.indent=V;for(const[Y,ie]of this.renderedNodes)this.renderTreeElement(Y,ie)}}if(typeof B.renderIndentGuides<"u"){const V=B.renderIndentGuides!==M.None;if(V!==this.shouldRenderIndentGuides){this.shouldRenderIndentGuides=V;for(const[Y,ie]of this.renderedNodes)this._renderIndentGuides(Y,ie);if(this.indentGuidesDisposable.dispose(),V){const Y=new d.DisposableStore;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,Y),this.indentGuidesDisposable=Y,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}typeof B.hideTwistiesOfChildlessElements<"u"&&(this.hideTwistiesOfChildlessElements=B.hideTwistiesOfChildlessElements)}renderTemplate(B){const V=(0,L.append)(B,(0,L.$)(".monaco-tl-row")),Y=(0,L.append)(V,(0,L.$)(".monaco-tl-indent")),ie=(0,L.append)(V,(0,L.$)(".monaco-tl-twistie")),ae=(0,L.append)(V,(0,L.$)(".monaco-tl-contents")),ce=this.renderer.renderTemplate(ae);return{container:B,indent:Y,twistie:ie,indentGuidesDisposable:d.Disposable.None,templateData:ce}}renderElement(B,V,Y,ie){this.renderedNodes.set(B,Y),this.renderedElements.set(B.element,B),this.renderTreeElement(B,Y),this.renderer.renderElement(B,V,Y.templateData,ie)}disposeElement(B,V,Y,ie){var ae,ce;Y.indentGuidesDisposable.dispose(),(ce=(ae=this.renderer).disposeElement)===null||ce===void 0||ce.call(ae,B,V,Y.templateData,ie),typeof ie=="number"&&(this.renderedNodes.delete(B),this.renderedElements.delete(B.element))}disposeTemplate(B){this.renderer.disposeTemplate(B.templateData)}onDidChangeTwistieState(B){const V=this.renderedElements.get(B);V&&this.onDidChangeNodeTwistieState(V)}onDidChangeNodeTwistieState(B){const V=this.renderedNodes.get(B);V&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(B,V))}renderTreeElement(B,V){const Y=x.DefaultIndent+(B.depth-1)*this.indent;V.twistie.style.paddingLeft=`${Y}px`,V.indent.style.width=`${Y+this.indent-16}px`,B.collapsible?V.container.setAttribute("aria-expanded",String(!B.collapsed)):V.container.removeAttribute("aria-expanded"),V.twistie.classList.remove(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded));let ie=!1;this.renderer.renderTwistie&&(ie=this.renderer.renderTwistie(B.element,V.twistie)),B.collapsible&&(!this.hideTwistiesOfChildlessElements||B.visibleChildrenCount>0)?(ie||V.twistie.classList.add(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded)),V.twistie.classList.add("collapsible"),V.twistie.classList.toggle("collapsed",B.collapsed)):V.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(B,V)}_renderIndentGuides(B,V){if((0,L.clearNode)(V.indent),V.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const Y=new d.DisposableStore,ie=this.modelProvider();for(;;){const ae=ie.getNodeLocation(B),ce=ie.getParentNodeLocation(ae);if(!ce)break;const de=ie.getNode(ce),he=(0,L.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(de)&&he.classList.add("active"),V.indent.childElementCount===0?V.indent.appendChild(he):V.indent.insertBefore(he,V.indent.firstElementChild),this.renderedIndentGuides.add(de,he),Y.add((0,d.toDisposable)(()=>this.renderedIndentGuides.delete(de,he))),B=de}V.indentGuidesDisposable=Y}_onDidChangeActiveNodes(B){if(!this.shouldRenderIndentGuides)return;const V=new Set,Y=this.modelProvider();B.forEach(ie=>{const ae=Y.getNodeLocation(ie);try{const ce=Y.getParentNodeLocation(ae);ie.collapsible&&ie.children.length>0&&!ie.collapsed?V.add(ie):ce&&V.add(Y.getNode(ce))}catch{}}),this.activeIndentNodes.forEach(ie=>{V.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.remove("active"))}),V.forEach(ie=>{this.activeIndentNodes.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.add("active"))}),this.activeIndentNodes=V}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,d.dispose)(this.disposables)}}x.DefaultIndent=8;class T{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(B,V,Y){this.tree=B,this.keyboardNavigationLabelProvider=V,this._filter=Y,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new d.DisposableStore,B.onWillRefilter(this.reset,this,this.disposables)}filter(B,V){let Y=1;if(this._filter){const ce=this._filter.filter(B,V);if(typeof ce=="boolean"?Y=ce?1:0:(0,s.isFilterResult)(ce)?Y=(0,s.getVisibleState)(ce.visibility):Y=ce,Y===0)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:o.FuzzyScore.Default,visibility:Y};const ie=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(B),ae=Array.isArray(ie)?ie:[ie];for(const ce of ae){const de=ce&&ce.toString();if(typeof de>"u")return{data:o.FuzzyScore.Default,visibility:Y};let he;if(this.tree.findMatchType===W.Contiguous){const ue=de.toLowerCase().indexOf(this._lowercasePattern);if(ue>-1){he=[Number.MAX_SAFE_INTEGER,0];for(let te=this._lowercasePattern.length;te>0;te--)he.push(ue+te-1)}}else he=(0,o.fuzzyScore)(this._pattern,this._lowercasePattern,0,de,de.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(he)return this._matchCount++,ae.length===1?{data:he,visibility:Y}:{data:{label:de,score:he},visibility:Y}}return this.tree.findMode===O.Filter?typeof this.tree.options.defaultFindVisibility=="number"?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(B):2:{data:o.FuzzyScore.Default,visibility:Y}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,d.dispose)(this.disposables)}}class A extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.listFilter,title:(0,m.localize)(0,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.ModeToggle=A;class N extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.searchFuzzy,title:(0,m.localize)(1,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.FuzzyToggle=N;const F={inputBoxStyles:f.unthemedInboxStyles,toggleStyles:C.unthemedToggleStyles,listFilterWidgetBackground:void 0,listFilterWidgetNoMatchesOutline:void 0,listFilterWidgetOutline:void 0,listFilterWidgetShadow:void 0};var O;(function(H){H[H.Highlight=0]="Highlight",H[H.Filter=1]="Filter"})(O||(e.TreeFindMode=O={}));var W;(function(H){H[H.Fuzzy=0]="Fuzzy",H[H.Contiguous=1]="Contiguous"})(W||(e.TreeFindMatchType=W={}));class U extends d.Disposable{set mode(B){this.modeToggle.checked=B===O.Filter,this.findInput.inputBox.setPlaceHolder(B===O.Filter?(0,m.localize)(2,null):(0,m.localize)(3,null))}set matchType(B){this.matchTypeToggle.checked=B===W.Fuzzy}constructor(B,V,Y,ie,ae,ce){var de;super(),this.tree=V,this.elements=(0,L.h)(".monaco-tree-type-filter",[(0,L.h)(".monaco-tree-type-filter-grab.codicon.codicon-debug-gripper@grab",{tabIndex:0}),(0,L.h)(".monaco-tree-type-filter-input@findInput"),(0,L.h)(".monaco-tree-type-filter-actionbar@actionbar")]),this.width=0,this.right=0,this.top=0,this._onDidDisable=new c.Emitter,B.appendChild(this.elements.root),this._register((0,d.toDisposable)(()=>B.removeChild(this.elements.root)));const he=(de=ce?.styles)!==null&&de!==void 0?de:F;he.listFilterWidgetBackground&&(this.elements.root.style.backgroundColor=he.listFilterWidgetBackground),he.listFilterWidgetShadow&&(this.elements.root.style.boxShadow=`0 0 8px 2px ${he.listFilterWidgetShadow}`),this.modeToggle=this._register(new A(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ie===O.Filter}))),this.matchTypeToggle=this._register(new N(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ae===W.Fuzzy}))),this.onDidChangeMode=c.Event.map(this.modeToggle.onChange,()=>this.modeToggle.checked?O.Filter:O.Highlight,this._store),this.onDidChangeMatchType=c.Event.map(this.matchTypeToggle.onChange,()=>this.matchTypeToggle.checked?W.Fuzzy:W.Contiguous,this._store),this.findInput=this._register(new S.FindInput(this.elements.findInput,Y,{label:(0,m.localize)(4,null),additionalToggles:[this.modeToggle,this.matchTypeToggle],showCommonFindToggles:!1,inputBoxStyles:he.inputBoxStyles,toggleStyles:he.toggleStyles,history:ce?.history})),this.actionbar=this._register(new D.ActionBar(this.elements.actionbar)),this.mode=ie;const ue=this._register(new k.DomEmitter(this.findInput.inputBox.inputElement,"keydown")),te=this._register(c.Event.chain(ue.event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(te($=>{if($.equals(3)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.addToHistory(),this.tree.domFocus();return}if($.equals(18)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.isAtLastInHistory()||this.findInput.inputBox.isNowhereInHistory()?(this.findInput.inputBox.addToHistory(),this.tree.domFocus()):this.findInput.inputBox.showNextValue();return}if($.equals(16)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.showPreviousValue();return}}));const q=this._register(new n.Action("close",(0,m.localize)(5,null),"codicon codicon-close",!0,()=>this.dispose()));this.actionbar.push(q,{icon:!0,label:!1});const z=this._register(new k.DomEmitter(this.elements.grab,"mousedown"));this._register(z.event($=>{const re=new d.DisposableStore,oe=re.add(new k.DomEmitter(window,"mousemove")),ge=re.add(new k.DomEmitter(window,"mouseup")),ve=this.right,Se=$.pageX,Le=this.top,De=$.pageY;this.elements.grab.classList.add("grabbing");const ye=this.elements.root.style.transition;this.elements.root.style.transition="unset";const Ee=Me=>{const Pe=Me.pageX-Se;this.right=ve-Pe;const Fe=Me.pageY-De;this.top=Le+Fe,this.layout()};re.add(oe.event(Ee)),re.add(ge.event(Me=>{Ee(Me),this.elements.grab.classList.remove("grabbing"),this.elements.root.style.transition=ye,re.dispose()}))}));const ee=this._register(c.Event.chain(this._register(new k.DomEmitter(this.elements.grab,"keydown")).event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(ee($=>{let re,oe;if($.keyCode===15?re=Number.POSITIVE_INFINITY:$.keyCode===17?re=0:$.keyCode===10&&(re=this.right===0?Number.POSITIVE_INFINITY:0),$.keyCode===16?oe=0:$.keyCode===18&&(oe=Number.POSITIVE_INFINITY),re!==void 0&&($.preventDefault(),$.stopPropagation(),this.right=re,this.layout()),oe!==void 0){$.preventDefault(),$.stopPropagation(),this.top=oe;const ge=this.elements.root.style.transition;this.elements.root.style.transition="unset",this.layout(),setTimeout(()=>{this.elements.root.style.transition=ge},0)}})),this.onDidChangeValue=this.findInput.onDidChange}layout(B=this.width){this.width=B,this.right=(0,l.clamp)(this.right,0,Math.max(0,B-212)),this.elements.root.style.right=`${this.right}px`,this.top=(0,l.clamp)(this.top,0,24),this.elements.root.style.top=`${this.top}px`}showMessage(B){this.findInput.showMessage(B)}clearMessage(){this.findInput.clearMessage()}dispose(){const B=Object.create(null,{dispose:{get:()=>super.dispose}});return we(this,void 0,void 0,function*(){this._onDidDisable.fire(),this.elements.root.classList.add("disabled"),yield(0,a.timeout)(300),B.dispose.call(this)})}}class j{get pattern(){return this._pattern}get mode(){return this._mode}set mode(B){B!==this._mode&&(this._mode=B,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(B))}get matchType(){return this._matchType}set matchType(B){B!==this._matchType&&(this._matchType=B,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(B))}constructor(B,V,Y,ie,ae,ce={}){var de,he;this.tree=B,this.view=Y,this.filter=ie,this.contextViewProvider=ae,this.options=ce,this._pattern="",this.width=0,this._onDidChangeMode=new c.Emitter,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new c.Emitter,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new c.Emitter,this._onDidChangeOpenState=new c.Emitter,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new d.DisposableStore,this.disposables=new d.DisposableStore,this._mode=(de=B.options.defaultFindMode)!==null&&de!==void 0?de:O.Highlight,this._matchType=(he=B.options.defaultFindMatchType)!==null&&he!==void 0?he:W.Fuzzy,V.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(B={}){B.defaultFindMode!==void 0&&(this.mode=B.defaultFindMode),B.defaultFindMatchType!==void 0&&(this.matchType=B.defaultFindMatchType)}onDidSpliceModel(){!this.widget||this.pattern.length===0||(this.tree.refilter(),this.render())}render(){var B,V,Y,ie;const ae=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&ae?!((B=this.tree.options.showNotFoundMessage)!==null&&B!==void 0)||B?(V=this.widget)===null||V===void 0||V.showMessage({type:2,content:(0,m.localize)(6,null)}):(Y=this.widget)===null||Y===void 0||Y.showMessage({type:2}):(ie=this.widget)===null||ie===void 0||ie.clearMessage()}shouldAllowFocus(B){return!this.widget||!this.pattern||this._mode===O.Filter||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!o.FuzzyScore.isDefault(B.filterData)}layout(B){var V;this.width=B,(V=this.widget)===null||V===void 0||V.layout(B)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function R(H){let B=i.TreeMouseEventTarget.Unknown;return(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?B=i.TreeMouseEventTarget.Twistie:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?B=i.TreeMouseEventTarget.Element:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(B=i.TreeMouseEventTarget.Filter),{browserEvent:H.browserEvent,element:H.element?H.element.element:null,target:B}}function K(H,B){B(H),H.children.forEach(V=>K(V,B))}class G{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(B,V){this.getFirstViewElementWithTrait=B,this.identityProvider=V,this.nodes=[],this._onDidChange=new c.Emitter,this.onDidChange=this._onDidChange.event}set(B,V){!V?.__forceEvent&&(0,t.equals)(this.nodes,B)||this._set(B,!1,V)}_set(B,V,Y){if(this.nodes=[...B],this.elements=void 0,this._nodeSet=void 0,!V){const ie=this;this._onDidChange.fire({get elements(){return ie.get()},browserEvent:Y})}}get(){return this.elements||(this.elements=this.nodes.map(B=>B.element)),[...this.elements]}getNodes(){return this.nodes}has(B){return this.nodeSet.has(B)}onDidModelSplice({insertedNodes:B,deletedNodes:V}){if(!this.identityProvider){const he=this.createNodeSet(),ue=te=>he.delete(te);V.forEach(te=>K(te,ue)),this.set([...he.values()]);return}const Y=new Set,ie=he=>Y.add(this.identityProvider.getId(he.element).toString());V.forEach(he=>K(he,ie));const ae=new Map,ce=he=>ae.set(this.identityProvider.getId(he.element).toString(),he);B.forEach(he=>K(he,ce));const de=[];for(const he of this.nodes){const ue=this.identityProvider.getId(he.element).toString();if(!Y.has(ue))de.push(he);else{const q=ae.get(ue);q&&q.visible&&de.push(q)}}if(this.nodes.length>0&&de.length===0){const he=this.getFirstViewElementWithTrait();he&&de.push(he)}this._set(de,!0)}createNodeSet(){const B=new Set;for(const V of this.nodes)B.add(V);return B}}class Z extends g.MouseController{constructor(B,V){super(B),this.tree=V}onViewPointer(B){if((0,g.isButton)(B.browserEvent.target)||(0,g.isInputElement)(B.browserEvent.target)||(0,g.isMonacoEditor)(B.browserEvent.target)||B.browserEvent.isHandledByList)return;const V=B.element;if(!V)return super.onViewPointer(B);if(this.isSelectionRangeChangeEvent(B)||this.isSelectionSingleChangeEvent(B))return super.onViewPointer(B);const Y=B.browserEvent.target,ie=Y.classList.contains("monaco-tl-twistie")||Y.classList.contains("monaco-icon-label")&&Y.classList.contains("folder-icon")&&B.browserEvent.offsetX<16;let ae=!1;if(typeof this.tree.expandOnlyOnTwistieClick=="function"?ae=this.tree.expandOnlyOnTwistieClick(V.element):ae=!!this.tree.expandOnlyOnTwistieClick,ae&&!ie&&B.browserEvent.detail!==2)return super.onViewPointer(B);if(!this.tree.expandOnDoubleClick&&B.browserEvent.detail===2)return super.onViewPointer(B);if(V.collapsible){const ce=this.tree.getNodeLocation(V),de=B.browserEvent.altKey;if(this.tree.setFocus([ce]),this.tree.toggleCollapsed(ce,de),ae&&ie){B.browserEvent.isHandledByList=!0;return}}super.onViewPointer(B)}onDoubleClick(B){B.browserEvent.target.classList.contains("monaco-tl-twistie")||!this.tree.expandOnDoubleClick||B.browserEvent.isHandledByList||super.onDoubleClick(B)}}class J extends g.List{constructor(B,V,Y,ie,ae,ce,de,he){super(B,V,Y,ie,he),this.focusTrait=ae,this.selectionTrait=ce,this.anchorTrait=de}createMouseController(B){return new Z(this,B.tree)}splice(B,V,Y=[]){if(super.splice(B,V,Y),Y.length===0)return;const ie=[],ae=[];let ce;Y.forEach((de,he)=>{this.focusTrait.has(de)&&ie.push(B+he),this.selectionTrait.has(de)&&ae.push(B+he),this.anchorTrait.has(de)&&(ce=B+he)}),ie.length>0&&super.setFocus((0,t.distinct)([...super.getFocus(),...ie])),ae.length>0&&super.setSelection((0,t.distinct)([...super.getSelection(),...ae])),typeof ce=="number"&&super.setAnchor(ce)}setFocus(B,V,Y=!1){super.setFocus(B,V),Y||this.focusTrait.set(B.map(ie=>this.element(ie)),V)}setSelection(B,V,Y=!1){super.setSelection(B,V),Y||this.selectionTrait.set(B.map(ie=>this.element(ie)),V)}setAnchor(B,V=!1){super.setAnchor(B),V||(typeof B>"u"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(B)]))}}class X{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return c.Event.filter(c.Event.map(this.view.onMouseDblClick,R),B=>B.target!==i.TreeMouseEventTarget.Filter)}get onPointer(){return c.Event.map(this.view.onPointer,R)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return c.Event.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.mode)!==null&&V!==void 0?V:O.Highlight}set findMode(B){this.findController&&(this.findController.mode=B)}get findMatchType(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.matchType)!==null&&V!==void 0?V:W.Fuzzy}set findMatchType(B){this.findController&&(this.findController.matchType=B)}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick>"u"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick>"u"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(B,V,Y,ie,ae={}){var ce;this._user=B,this._options=ae,this.eventBufferer=new c.EventBufferer,this.onDidChangeFindOpenState=c.Event.None,this.disposables=new d.DisposableStore,this._onWillRefilter=new c.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new c.Emitter;const de=new I(Y),he=new c.Relay,ue=new c.Relay,te=this.disposables.add(new P(ue.event)),q=new r.SetMap;this.renderers=ie.map($=>new x($,()=>this.model,he.event,te,q,ae));for(const $ of this.renderers)this.disposables.add($);let z;ae.keyboardNavigationLabelProvider&&(z=new T(this,ae.keyboardNavigationLabelProvider,ae.filter),ae=Object.assign(Object.assign({},ae),{filter:z}),this.disposables.add(z)),this.focus=new G(()=>this.view.getFocusedElements()[0],ae.identityProvider),this.selection=new G(()=>this.view.getSelectedElements()[0],ae.identityProvider),this.anchor=new G(()=>this.view.getAnchorElement(),ae.identityProvider),this.view=new J(B,V,de,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},E(()=>this.model,ae)),{tree:this})),this.model=this.createModel(B,this.view,ae),he.input=this.model.onDidChangeCollapseState;const ee=c.Event.forEach(this.model.onDidSplice,$=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice($),this.selection.onDidModelSplice($)})},this.disposables);if(ee(()=>null,null,this.disposables),ue.input=c.Event.chain(c.Event.any(ee,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const $=new Set;for(const re of this.focus.getNodes())$.add(re);for(const re of this.selection.getNodes())$.add(re);return[...$.values()]}).event,ae.keyboardSupport!==!1){const $=c.Event.chain(this.view.onKeyDown).filter(re=>!(0,g.isInputElement)(re.target)).map(re=>new y.StandardKeyboardEvent(re));$.filter(re=>re.keyCode===15).on(this.onLeftArrow,this,this.disposables),$.filter(re=>re.keyCode===17).on(this.onRightArrow,this,this.disposables),$.filter(re=>re.keyCode===10).on(this.onSpace,this,this.disposables)}if((!((ce=ae.findWidgetEnabled)!==null&&ce!==void 0)||ce)&&ae.keyboardNavigationLabelProvider&&ae.contextViewProvider){const $=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new j(this,this.model,this.view,z,ae.contextViewProvider,$),this.focusNavigationFilter=re=>this.findController.shouldAllowFocus(re),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=c.Event.None,this.onDidChangeFindMatchType=c.Event.None;this.styleElement=(0,L.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}updateOptions(B={}){var V;this._options=Object.assign(Object.assign({},this._options),B);for(const Y of this.renderers)Y.updateOptions(B);this.view.updateOptions(this._options),(V=this.findController)===null||V===void 0||V.updateOptions(B),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(B){this.view.scrollTop=B}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}domFocus(){this.view.domFocus()}layout(B,V){var Y;this.view.layout(B,V),(0,p.isNumber)(V)&&((Y=this.findController)===null||Y===void 0||Y.layout(V))}style(B){const V=`.${this.view.domId}`,Y=[];B.treeIndentGuidesStroke&&(Y.push(`.monaco-list${V}:hover .monaco-tl-indent > .indent-guide, .monaco-list${V}.always .monaco-tl-indent > .indent-guide { border-color: ${B.treeInactiveIndentGuidesStroke}; }`),Y.push(`.monaco-list${V} .monaco-tl-indent > .indent-guide.active { border-color: ${B.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=Y.join(` -`),this.view.style(B)}getParentElement(B){const V=this.model.getParentNodeLocation(B);return this.model.getNode(V).element}getFirstElementChild(B){return this.model.getFirstElementChild(B)}getNode(B){return this.model.getNode(B)}getNodeLocation(B){return this.model.getNodeLocation(B)}collapse(B,V=!1){return this.model.setCollapsed(B,!0,V)}expand(B,V=!1){return this.model.setCollapsed(B,!1,V)}toggleCollapsed(B,V=!1){return this.model.setCollapsed(B,void 0,V)}isCollapsible(B){return this.model.isCollapsible(B)}setCollapsible(B,V){return this.model.setCollapsible(B,V)}isCollapsed(B){return this.model.isCollapsed(B)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.selection.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setSelection(ie,V,!0)}getSelection(){return this.selection.get()}setFocus(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.focus.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setFocus(ie,V,!0)}getFocus(){return this.focus.get()}reveal(B,V){this.model.expandTo(B);const Y=this.model.getListIndex(B);Y!==-1&&this.view.reveal(Y,V)}onLeftArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!0)){const ce=this.model.getParentNodeLocation(ie);if(!ce)return;const de=this.model.getListIndex(ce);this.view.reveal(de),this.view.setFocus([de])}}onRightArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!1)){if(!Y.children.some(he=>he.visible))return;const[ce]=this.view.getFocus(),de=ce+1;this.view.reveal(de),this.view.setFocus([de])}}onSpace(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y),ae=B.browserEvent.altKey;this.model.setCollapsed(ie,void 0,ae)}dispose(){(0,d.dispose)(this.disposables),this.view.dispose()}}e.AbstractTree=X}),define(ne[585],se([1,0,184,219]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTree=void 0;class y extends L.AbstractTree{constructor(S,f,_,g,C,s={}){super(S,f,_,g,s),this.user=S,this.dataSource=C,this.identityProvider=s.identityProvider}createModel(S,f,_){return new k.ObjectTreeModel(S,f,_)}}e.DataTree=y}),define(ne[316],se([1,0,184,568,219,106,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTree=e.ObjectTree=void 0;class f extends L.AbstractTree{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(i,n,t,a,u={}){super(i,n,t,a,u),this.user=i}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}rerender(i){if(i===void 0){this.view.rerender();return}this.model.rerender(i)}hasElement(i){return this.model.has(i)}createModel(i,n,t){return new y.ObjectTreeModel(i,n,t)}}e.ObjectTree=f;class _{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(i,n){this._compressedTreeNodeProvider=i,this.renderer=n,this.templateId=n.templateId,n.onDidChangeTwistieState&&(this.onDidChangeTwistieState=n.onDidChangeTwistieState)}renderTemplate(i){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(i)}}renderElement(i,n,t,a){const u=this.compressedTreeNodeProvider.getCompressedTreeNode(i.element);u.element.elements.length===1?(t.compressedTreeNode=void 0,this.renderer.renderElement(i,n,t.data,a)):(t.compressedTreeNode=u,this.renderer.renderCompressedElements(u,n,t.data,a))}disposeElement(i,n,t,a){var u,h,r,c;t.compressedTreeNode?(h=(u=this.renderer).disposeCompressedElements)===null||h===void 0||h.call(u,t.compressedTreeNode,n,t.data,a):(c=(r=this.renderer).disposeElement)===null||c===void 0||c.call(r,i,n,t.data,a)}disposeTemplate(i){this.renderer.disposeTemplate(i.data)}renderTwistie(i,n){return this.renderer.renderTwistie?this.renderer.renderTwistie(i,n):!1}}ke([D.memoize],_.prototype,"compressedTreeNodeProvider",null);function g(s,i){return i&&Object.assign(Object.assign({},i),{keyboardNavigationLabelProvider:i.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let t;try{t=s().getCompressedTreeNode(n)}catch{return i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return t.element.elements.length===1?i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):i.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})}class C extends f{constructor(i,n,t,a,u={}){const h=()=>this,r=a.map(c=>new _(h,c));super(i,n,t,r,g(h,u))}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}createModel(i,n,t){return new k.CompressibleObjectTreeModel(i,n,t)}updateOptions(i={}){super.updateOptions(i),typeof i.compressionEnabled<"u"&&this.model.setCompressionEnabled(i.compressionEnabled)}getCompressedTreeNode(i=null){return this.model.getCompressedTreeNode(i)}}e.CompressibleObjectTree=C}),define(ne[586],se([1,0,225,184,218,316,139,13,25,26,9,6,46,2,20]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleAsyncDataTree=e.AsyncDataTree=void 0;function a(T){return Object.assign(Object.assign({},T),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function u(T,A){return A.parent?A.parent===T?!0:u(T,A.parent):!1}function h(T,A){return T===A||u(T,A)||u(A,T)}class r{get element(){return this.node.element.element}get children(){return this.node.children.map(A=>new r(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}constructor(A){this.node=A}}class c{constructor(A,N,F){this.renderer=A,this.nodeMapper=N,this.onDidChangeTwistieState=F,this.renderedNodes=new Map,this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear()}}function o(T){return{browserEvent:T.browserEvent,elements:T.elements.map(A=>A.element)}}function d(T){return{browserEvent:T.browserEvent,element:T.element&&T.element.element,target:T.target}}class l extends L.ElementsDragAndDropData{constructor(A){super(A.elements.map(N=>N.element)),this.data=A}}function p(T){return T instanceof L.ElementsDragAndDropData?new l(T):T}class m{constructor(A){this.dnd=A}getDragURI(A){return this.dnd.getDragURI(A.element)}getDragLabel(A,N){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(A.map(F=>F.element),N)}onDragStart(A,N){var F,O;(O=(F=this.dnd).onDragStart)===null||O===void 0||O.call(F,p(A),N)}onDragOver(A,N,F,O,W=!0){return this.dnd.onDragOver(p(A),N&&N.element,F,O)}drop(A,N,F,O){this.dnd.drop(p(A),N&&N.element,F,O)}onDragEnd(A){var N,F;(F=(N=this.dnd).onDragEnd)===null||F===void 0||F.call(N,A)}}function v(T){return T&&Object.assign(Object.assign({},T),{collapseByDefault:!0,identityProvider:T.identityProvider&&{getId(A){return T.identityProvider.getId(A.element)}},dnd:T.dnd&&new m(T.dnd),multipleSelectionController:T.multipleSelectionController&&{isSelectionSingleChangeEvent(A){return T.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))},isSelectionRangeChangeEvent(A){return T.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))}},accessibilityProvider:T.accessibilityProvider&&Object.assign(Object.assign({},T.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:T.accessibilityProvider.getRole?A=>T.accessibilityProvider.getRole(A.element):()=>"treeitem",isChecked:T.accessibilityProvider.isChecked?A=>{var N;return!!(!((N=T.accessibilityProvider)===null||N===void 0)&&N.isChecked(A.element))}:void 0,getAriaLabel(A){return T.accessibilityProvider.getAriaLabel(A.element)},getWidgetAriaLabel(){return T.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:T.accessibilityProvider.getWidgetRole?()=>T.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:T.accessibilityProvider.getAriaLevel&&(A=>T.accessibilityProvider.getAriaLevel(A.element)),getActiveDescendantId:T.accessibilityProvider.getActiveDescendantId&&(A=>T.accessibilityProvider.getActiveDescendantId(A.element))}),filter:T.filter&&{filter(A,N){return T.filter.filter(A.element,N)}},keyboardNavigationLabelProvider:T.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},T.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(A){return T.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(A.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof T.expandOnlyOnTwistieClick>"u"?void 0:typeof T.expandOnlyOnTwistieClick!="function"?T.expandOnlyOnTwistieClick:A=>T.expandOnlyOnTwistieClick(A.element),defaultFindVisibility:A=>A.hasChildren&&A.stale?1:typeof T.defaultFindVisibility=="number"?T.defaultFindVisibility:typeof T.defaultFindVisibility>"u"?2:T.defaultFindVisibility(A.element)})}function b(T,A){A(T),T.children.forEach(N=>b(N,A))}class w{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return s.Event.map(this.tree.onDidChangeFocus,o)}get onDidChangeSelection(){return s.Event.map(this.tree.onDidChangeSelection,o)}get onMouseDblClick(){return s.Event.map(this.tree.onMouseDblClick,d)}get onPointer(){return s.Event.map(this.tree.onPointer,d)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}constructor(A,N,F,O,W,U={}){this.user=A,this.dataSource=W,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new s.Emitter,this._onDidChangeNodeSlowState=new s.Emitter,this.nodeMapper=new S.WeakMapper(j=>new r(j)),this.disposables=new n.DisposableStore,this.identityProvider=U.identityProvider,this.autoExpandSingleChildren=typeof U.autoExpandSingleChildren>"u"?!1:U.autoExpandSingleChildren,this.sorter=U.sorter,this.collapseByDefault=U.collapseByDefault,this.tree=this.createTree(A,N,F,O,U),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=a({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new c(K,this.nodeMapper,this._onDidChangeNodeSlowState.event)),R=v(W)||{};return new D.ObjectTree(A,N,U,j,R)}updateOptions(A={}){this.tree.updateOptions(A)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(A){this.tree.scrollTop=A}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(A,N){this.tree.layout(A,N)}style(A){this.tree.style(A)}getInput(){return this.root.element}setInput(A,N){return we(this,void 0,void 0,function*(){this.refreshPromises.forEach(O=>O.cancel()),this.refreshPromises.clear(),this.root.element=A;const F=N&&{viewState:N,focus:[],selection:[]};yield this._updateChildren(A,!0,!1,F),F&&(this.tree.setFocus(F.focus),this.tree.setSelection(F.selection)),N&&typeof N.scrollTop=="number"&&(this.scrollTop=N.scrollTop)})}_updateChildren(A=this.root.element,N=!0,F=!1,O,W){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const U=this.getDataNode(A);if(yield this.refreshAndRenderNode(U,N,O,W),F)try{this.tree.rerender(U)}catch{}})}rerender(A){if(A===void 0||A===this.root.element){this.tree.rerender();return}const N=this.getDataNode(A);this.tree.rerender(N)}getNode(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getNode(N===this.root?null:N);return this.nodeMapper.map(F)}collapse(A,N=!1){const F=this.getDataNode(A);return this.tree.collapse(F===this.root?null:F,N)}expand(A,N=!1){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const F=this.getDataNode(A);if(this.tree.hasElement(F)&&!this.tree.isCollapsible(F)||(F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),F!==this.root&&!F.refreshPromise&&!this.tree.isCollapsed(F)))return!1;const O=this.tree.expand(F===this.root?null:F,N);return F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),O})}setSelection(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setSelection(F,N)}getSelection(){return this.tree.getSelection().map(N=>N.element)}setFocus(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setFocus(F,N)}getFocus(){return this.tree.getFocus().map(N=>N.element)}reveal(A,N){this.tree.reveal(this.getDataNode(A),N)}getParentElement(A){const N=this.tree.getParentElement(this.getDataNode(A));return N&&N.element}getFirstElementChild(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getFirstElementChild(N===this.root?null:N);return F&&F.element}getDataNode(A){const N=this.nodes.get(A===this.root.element?null:A);if(!N)throw new S.TreeError(this.user,`Data tree node not found: ${A}`);return N}refreshAndRenderNode(A,N,F,O){return we(this,void 0,void 0,function*(){yield this.refreshNode(A,N,F),this.render(A,F,O)})}refreshNode(A,N,F){return we(this,void 0,void 0,function*(){let O;if(this.subTreeRefreshPromises.forEach((W,U)=>{!O&&h(U,A)&&(O=W.then(()=>this.refreshNode(A,N,F)))}),O)return O;if(A!==this.root&&this.tree.getNode(A).collapsed){A.hasChildren=!!this.dataSource.hasChildren(A.element),A.stale=!0;return}return this.doRefreshSubTree(A,N,F)})}doRefreshSubTree(A,N,F){return we(this,void 0,void 0,function*(){let O;A.refreshPromise=new Promise(W=>O=W),this.subTreeRefreshPromises.set(A,A.refreshPromise),A.refreshPromise.finally(()=>{A.refreshPromise=void 0,this.subTreeRefreshPromises.delete(A)});try{const W=yield this.doRefreshNode(A,N,F);A.stale=!1,yield f.Promises.settled(W.map(U=>this.doRefreshSubTree(U,N,F)))}finally{O()}})}doRefreshNode(A,N,F){return we(this,void 0,void 0,function*(){A.hasChildren=!!this.dataSource.hasChildren(A.element);let O;if(!A.hasChildren)O=Promise.resolve(i.Iterable.empty());else{const W=this.doGetChildren(A);if((0,t.isIterable)(W))O=Promise.resolve(W);else{const U=(0,f.timeout)(800);U.then(()=>{A.slow=!0,this._onDidChangeNodeSlowState.fire(A)},j=>null),O=W.finally(()=>U.cancel())}}try{const W=yield O;return this.setChildren(A,W,N,F)}catch(W){if(A!==this.root&&this.tree.hasElement(A)&&this.tree.collapse(A),(0,C.isCancellationError)(W))return[];throw W}finally{A.slow&&(A.slow=!1,this._onDidChangeNodeSlowState.fire(A))}})}doGetChildren(A){let N=this.refreshPromises.get(A);if(N)return N;const F=this.dataSource.getChildren(A.element);return(0,t.isIterable)(F)?this.processChildren(F):(N=(0,f.createCancelablePromise)(()=>we(this,void 0,void 0,function*(){return this.processChildren(yield F)})),this.refreshPromises.set(A,N),N.finally(()=>{this.refreshPromises.delete(A)}))}_onDidChangeCollapseState({node:A,deep:N}){A.element!==null&&!A.collapsed&&A.element.stale&&(N?this.collapse(A.element.element):this.refreshAndRenderNode(A.element,!1).catch(C.onUnexpectedError))}setChildren(A,N,F,O){const W=[...N];if(A.children.length===0&&W.length===0)return[];const U=new Map,j=new Map;for(const G of A.children)if(U.set(G.element,G),this.identityProvider){const Z=this.tree.isCollapsed(G);j.set(G.id,{node:G,collapsed:Z})}const R=[],K=W.map(G=>{const Z=!!this.dataSource.hasChildren(G);if(!this.identityProvider){const B=a({element:G,parent:A,hasChildren:Z});return Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const J=this.identityProvider.getId(G).toString(),X=j.get(J);if(X){const B=X.node;return U.delete(B.element),this.nodes.delete(B.element),this.nodes.set(G,B),B.element=G,B.hasChildren=Z,F?X.collapsed?(B.children.forEach(V=>b(V,Y=>this.nodes.delete(Y.element))),B.children.splice(0,B.children.length),B.stale=!0):R.push(B):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const H=a({element:G,parent:A,id:J,hasChildren:Z});return O&&O.viewState.focus&&O.viewState.focus.indexOf(J)>-1&&O.focus.push(H),O&&O.viewState.selection&&O.viewState.selection.indexOf(J)>-1&&O.selection.push(H),O&&O.viewState.expanded&&O.viewState.expanded.indexOf(J)>-1?R.push(H):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(H.collapsedByDefault=!1,R.push(H)),H});for(const G of U.values())b(G,Z=>this.nodes.delete(Z.element));for(const G of K)this.nodes.set(G.element,G);return A.children.splice(0,A.children.length,...K),A!==this.root&&this.autoExpandSingleChildren&&K.length===1&&R.length===0&&(K[0].collapsedByDefault=!1,R.push(K[0])),R}render(A,N,F){const O=A.children.map(U=>this.asTreeElement(U,N)),W=F&&Object.assign(Object.assign({},F),{diffIdentityProvider:F.diffIdentityProvider&&{getId(U){return F.diffIdentityProvider.getId(U.element)}}});this.tree.setChildren(A===this.root?null:A,O,W),A!==this.root&&this.tree.setCollapsible(A,A.hasChildren),this._onDidRender.fire()}asTreeElement(A,N){if(A.stale)return{element:A,collapsible:A.hasChildren,collapsed:!0};let F;return N&&N.viewState.expanded&&A.id&&N.viewState.expanded.indexOf(A.id)>-1?F=!1:F=A.collapsedByDefault,A.collapsedByDefault=void 0,{element:A,children:A.hasChildren?i.Iterable.map(A.children,O=>this.asTreeElement(O,N)):[],collapsible:A.hasChildren,collapsed:F}}processChildren(A){return this.sorter&&(A=[...A].sort(this.sorter.compare.bind(this.sorter))),A}dispose(){this.disposables.dispose()}}e.AsyncDataTree=w;class E{get element(){return{elements:this.node.element.elements.map(A=>A.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(A=>new E(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}constructor(A){this.node=A}}class I{constructor(A,N,F,O){this.renderer=A,this.nodeMapper=N,this.compressibleNodeMapperProvider=F,this.onDidChangeTwistieState=O,this.renderedNodes=new Map,this.disposables=[],this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderCompressedElements(A,N,F,O){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeCompressedElements(A,N,F,O){var W,U;(U=(W=this.renderer).disposeCompressedElements)===null||U===void 0||U.call(W,this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,n.dispose)(this.disposables)}}function M(T){const A=T&&v(T);return A&&Object.assign(Object.assign({},A),{keyboardNavigationLabelProvider:A.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},A.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(N){return T.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(N.map(F=>F.element))}})})}class P extends w{constructor(A,N,F,O,W,U,j={}){super(A,N,F,W,U,j),this.compressionDelegate=O,this.compressibleNodeMapper=new S.WeakMapper(R=>new E(R)),this.filter=j.filter}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new I(K,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),R=M(W)||{};return new D.CompressibleObjectTree(A,N,U,j,R)}asTreeElement(A,N){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(A.element)},super.asTreeElement(A,N))}updateOptions(A={}){this.tree.updateOptions(A)}render(A,N){if(!this.identityProvider)return super.render(A,N);const F=J=>this.identityProvider.getId(J).toString(),O=J=>{const X=new Set;for(const H of J){const B=this.tree.getCompressedTreeNode(H===this.root?null:H);if(B.element)for(const V of B.element.elements)X.add(F(V.element))}return X},W=O(this.tree.getSelection()),U=O(this.tree.getFocus());super.render(A,N);const j=this.getSelection();let R=!1;const K=this.getFocus();let G=!1;const Z=J=>{const X=J.element;if(X)for(let H=0;H{const F=this.filter.filter(N,1),O=x(F);if(O===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return O===1})),super.processChildren(A)}}e.CompressibleAsyncDataTree=P;function x(T){return typeof T=="boolean"?T?1:0:(0,y.isFilterResult)(T)?(0,y.getVisibleState)(T.visibility):(0,y.getVisibleState)(T)}}),define(ne[317],se([1,0,9,6,2,47,17,11]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.SimpleWorkerServer=e.SimpleWorkerClient=e.logOnceWebWorkerWarning=void 0;const _="$initialize";let g=!1;function C(p){S.isWeb&&(g||(g=!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(p.message))}e.logOnceWebWorkerWarning=C;class s{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.method=b,this.args=w,this.type=0}}class i{constructor(m,v,b,w){this.vsWorker=m,this.seq=v,this.res=b,this.err=w,this.type=1}}class n{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.eventName=b,this.arg=w,this.type=2}}class t{constructor(m,v,b){this.vsWorker=m,this.req=v,this.event=b,this.type=3}}class a{constructor(m,v){this.vsWorker=m,this.req=v,this.type=4}}class u{constructor(m){this._workerId=-1,this._handler=m,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(m){this._workerId=m}sendMessage(m,v){const b=String(++this._lastSentReq);return new Promise((w,E)=>{this._pendingReplies[b]={resolve:w,reject:E},this._send(new s(this._workerId,b,m,v))})}listen(m,v){let b=null;const w=new k.Emitter({onWillAddFirstListener:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,w),this._send(new n(this._workerId,b,m,v))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(b),this._send(new a(this._workerId,b)),b=null}});return w.event}handleMessage(m){!m||!m.vsWorker||this._workerId!==-1&&m.vsWorker!==this._workerId||this._handleMessage(m)}_handleMessage(m){switch(m.type){case 1:return this._handleReplyMessage(m);case 0:return this._handleRequestMessage(m);case 2:return this._handleSubscribeEventMessage(m);case 3:return this._handleEventMessage(m);case 4:return this._handleUnsubscribeEventMessage(m)}}_handleReplyMessage(m){if(!this._pendingReplies[m.seq]){console.warn("Got reply to unknown seq");return}const v=this._pendingReplies[m.seq];if(delete this._pendingReplies[m.seq],m.err){let b=m.err;m.err.$isError&&(b=new Error,b.name=m.err.name,b.message=m.err.message,b.stack=m.err.stack),v.reject(b);return}v.resolve(m.res)}_handleRequestMessage(m){const v=m.req;this._handler.handleMessage(m.method,m.args).then(w=>{this._send(new i(this._workerId,v,w,void 0))},w=>{w.detail instanceof Error&&(w.detail=(0,L.transformErrorForSerialization)(w.detail)),this._send(new i(this._workerId,v,void 0,(0,L.transformErrorForSerialization)(w)))})}_handleSubscribeEventMessage(m){const v=m.req,b=this._handler.handleEvent(m.eventName,m.arg)(w=>{this._send(new t(this._workerId,v,w))});this._pendingEvents.set(v,b)}_handleEventMessage(m){if(!this._pendingEmitters.has(m.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(m.req).fire(m.event)}_handleUnsubscribeEventMessage(m){if(!this._pendingEvents.has(m.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(m.req).dispose(),this._pendingEvents.delete(m.req)}_send(m){const v=[];if(m.type===0)for(let b=0;b{this._protocol.handleMessage(T)},T=>{w?.(T)})),this._protocol=new u({sendMessage:(T,A)=>{this._worker.postMessage(T,A)},handleMessage:(T,A)=>{if(typeof b[T]!="function")return Promise.reject(new Error("Missing method "+T+" on main thread host."));try{return Promise.resolve(b[T].apply(b,A))}catch(N){return Promise.reject(N)}},handleEvent:(T,A)=>{if(c(T)){const N=b[T].call(b,A);if(typeof N!="function")throw new Error(`Missing dynamic event ${T} on main thread host.`);return N}if(r(T)){const N=b[T];if(typeof N!="function")throw new Error(`Missing event ${T} on main thread host.`);return N}throw new Error(`Malformed event name ${T}`)}}),this._protocol.setWorkerId(this._worker.getId());let E=null;const I=globalThis.require;typeof I<"u"&&typeof I.getConfig=="function"?E=I.getConfig():typeof globalThis.requirejs<"u"&&(E=globalThis.requirejs.s.contexts._.config);const M=(0,D.getAllMethodNames)(b);this._onModuleLoaded=this._protocol.sendMessage(_,[this._worker.getId(),JSON.parse(JSON.stringify(E)),v,M]);const P=(T,A)=>this._request(T,A),x=(T,A)=>this._protocol.listen(T,A);this._lazyProxy=new Promise((T,A)=>{w=A,this._onModuleLoaded.then(N=>{T(o(N,P,x))},N=>{A(N),this._onError("Worker failed to load "+v,N)})})}getProxyObject(){return this._lazyProxy}_request(m,v){return new Promise((b,w)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(m,v).then(b,w)},w)})}_onError(m,v){console.error(m),console.info(v)}}e.SimpleWorkerClient=h;function r(p){return p[0]==="o"&&p[1]==="n"&&f.isUpperAsciiLetter(p.charCodeAt(2))}function c(p){return/^onDynamic/.test(p)&&f.isUpperAsciiLetter(p.charCodeAt(9))}function o(p,m,v){const b=I=>function(){const M=Array.prototype.slice.call(arguments,0);return m(I,M)},w=I=>function(M){return v(I,M)},E={};for(const I of p){if(c(I)){E[I]=w(I);continue}if(r(I)){E[I]=v(I,void 0);continue}E[I]=b(I)}return E}class d{constructor(m,v){this._requestHandlerFactory=v,this._requestHandler=null,this._protocol=new u({sendMessage:(b,w)=>{m(b,w)},handleMessage:(b,w)=>this._handleMessage(b,w),handleEvent:(b,w)=>this._handleEvent(b,w)})}onmessage(m){this._protocol.handleMessage(m)}_handleMessage(m,v){if(m===_)return this.initialize(v[0],v[1],v[2],v[3]);if(!this._requestHandler||typeof this._requestHandler[m]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+m));try{return Promise.resolve(this._requestHandler[m].apply(this._requestHandler,v))}catch(b){return Promise.reject(b)}}_handleEvent(m,v){if(!this._requestHandler)throw new Error("Missing requestHandler");if(c(m)){const b=this._requestHandler[m].call(this._requestHandler,v);if(typeof b!="function")throw new Error(`Missing dynamic event ${m} on request handler.`);return b}if(r(m)){const b=this._requestHandler[m];if(typeof b!="function")throw new Error(`Missing event ${m} on request handler.`);return b}throw new Error(`Malformed event name ${m}`)}initialize(m,v,b,w){this._protocol.setWorkerId(m);const M=o(w,(P,x)=>this._protocol.sendMessage(P,x),(P,x)=>this._protocol.listen(P,x));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(M),Promise.resolve((0,D.getAllMethodNames)(this._requestHandler))):(v&&(typeof v.baseUrl<"u"&&delete v.baseUrl,typeof v.paths<"u"&&typeof v.paths.vs<"u"&&delete v.paths.vs,typeof v.trustedTypesPolicy!==void 0&&delete v.trustedTypesPolicy,v.catchError=!0,globalThis.require.config(v)),new Promise((P,x)=>{(globalThis.require||Q)([b],A=>{if(this._requestHandler=A.create(M),!this._requestHandler){x(new Error("No RequestHandler!"));return}P((0,D.getAllMethodNames)(this._requestHandler))},x)}))}}e.SimpleWorkerServer=d;function l(p){return new d(p,null)}e.create=l}),define(ne[587],se([1,0,89,9,54,317]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultWorkerFactory=e.getWorkerBootstrapUrl=void 0;const S=(0,L.createTrustedTypesPolicy)("defaultWorkerFactory",{createScriptURL:i=>i});function f(i){const n=globalThis.MonacoEnvironment;if(n){if(typeof n.getWorker=="function")return n.getWorker("workerMain.js",i);if(typeof n.getWorkerUrl=="function"){const t=n.getWorkerUrl("workerMain.js",i);return new Worker(S?S.createScriptURL(t):t,{name:i})}}if(typeof Q=="function"){const t=Q.toUrl("vs/base/worker/workerMain.js"),a=_(t,i);return new Worker(S?S.createScriptURL(a):a,{name:i})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function _(i,n){if(/^((http:)|(https:)|(file:))/.test(i)&&i.substring(0,globalThis.origin.length)!==globalThis.origin){const r="vs/base/worker/defaultWorkerFactory.js",c=Q.toUrl(r).slice(0,-r.length),o=`/*${n}*/globalThis.MonacoEnvironment={baseUrl: '${c}'};const ttPolicy = globalThis.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });importScripts(ttPolicy?.createScriptURL('${i}') ?? '${i}');/*${n}*/`,d=new Blob([o],{type:"application/javascript"});return URL.createObjectURL(d)}const t=i.lastIndexOf("?"),a=i.lastIndexOf("#",t),u=t>0?new URLSearchParams(i.substring(t+1,~a?a:void 0)):new URLSearchParams;return y.COI.addSearchParam(u,!0,!0),u.toString()?`${i}?${u.toString()}#${n}`:`${i}#${n}`}e.getWorkerBootstrapUrl=_;function g(i){return typeof i.then=="function"}class C{constructor(n,t,a,u,h){this.id=t,this.label=a;const r=f(a);g(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(n,[]),this.worker.then(c=>{c.onmessage=function(o){u(o.data)},c.onmessageerror=h,typeof c.addEventListener=="function"&&c.addEventListener("error",h)})}getId(){return this.id}postMessage(n,t){var a;(a=this.worker)===null||a===void 0||a.then(u=>{try{u.postMessage(n,t)}catch(h){(0,k.onUnexpectedError)(h),(0,k.onUnexpectedError)(new Error(`FAILED to post message to '${this.label}'-worker`,{cause:h}))}})}dispose(){var n;(n=this.worker)===null||n===void 0||n.then(t=>t.terminate()),this.worker=null}}class s{constructor(n){this._label=n,this._webWorkerFailedBeforeError=!1}create(n,t,a){const u=++s.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new C(n,u,this._label||"anonymous"+u,t,h=>{(0,D.logOnceWebWorkerWarning)(h),this._webWorkerFailedBeforeError=h,a(h)})}}e.DefaultWorkerFactory=s,s.LAST_WORKER_ID=0}),define(ne[588],se([1,0,13,6,2,221,20]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageDatabase=e.Storage=e.StorageState=e.StorageHint=void 0;var f;(function(s){s[s.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",s[s.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY"})(f||(e.StorageHint=f={}));var _;(function(s){s[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed"})(_||(e.StorageState=_={}));class g extends y.Disposable{constructor(i,n=Object.create(null)){super(),this.database=i,this.options=n,this._onDidChangeStorage=this._register(new k.PauseableEmitter),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=_.None,this.cache=new Map,this.flushDelayer=new L.ThrottledDelayer(g.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(i=>this.onDidChangeItemsExternal(i)))}onDidChangeItemsExternal(i){var n,t;this._onDidChangeStorage.pause();try{(n=i.changed)===null||n===void 0||n.forEach((a,u)=>this.acceptExternal(u,a)),(t=i.deleted)===null||t===void 0||t.forEach(a=>this.acceptExternal(a,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(i,n){if(this.state===_.Closed)return;let t=!1;(0,S.isUndefinedOrNull)(n)?t=this.cache.delete(i):this.cache.get(i)!==n&&(this.cache.set(i,n),t=!0),t&&this._onDidChangeStorage.fire({key:i,external:!0})}get(i,n){const t=this.cache.get(i);return(0,S.isUndefinedOrNull)(t)?n:t}getBoolean(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:t==="true"}getNumber(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:parseInt(t,10)}set(i,n,t=!1){return we(this,void 0,void 0,function*(){if(this.state===_.Closed)return;if((0,S.isUndefinedOrNull)(n))return this.delete(i,t);const a=(0,S.isObject)(n)||Array.isArray(n)?(0,D.stringify)(n):String(n);if(this.cache.get(i)!==a)return this.cache.set(i,a),this.pendingInserts.set(i,a),this.pendingDeletes.delete(i),this._onDidChangeStorage.fire({key:i,external:t}),this.doFlush()})}delete(i,n=!1){return we(this,void 0,void 0,function*(){if(!(this.state===_.Closed||!this.cache.delete(i)))return this.pendingDeletes.has(i)||this.pendingDeletes.add(i),this.pendingInserts.delete(i),this._onDidChangeStorage.fire({key:i,external:n}),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 i={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(i).finally(()=>{var n;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(n=this.whenFlushedCallbacks.pop())===null||n===void 0||n()})})}doFlush(i){return we(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),i)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}e.Storage=g,g.DEFAULT_FLUSH_DELAY=100;class C{constructor(){this.onDidChangeItemsExternal=k.Event.None,this.items=new Map}updateItems(i){var n,t;return we(this,void 0,void 0,function*(){(n=i.insert)===null||n===void 0||n.forEach((a,u)=>this.items.set(u,a)),(t=i.delete)===null||t===void 0||t.forEach(a=>this.items.delete(a))})}}e.InMemoryStorageDatabase=C}),define(ne[185],se([1,0,52,7,81,44,260,13,6,2,107,11,273,24]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaWrapper=e.ClipboardEventUtils=e.TextAreaInput=e.InMemoryClipboardMetadataManager=e.CopyOptions=e.TextAreaSyntethicEvents=void 0;var t;(function(c){c.Tap="-monaco-textarea-synthetic-tap"})(t||(e.TextAreaSyntethicEvents=t={})),e.CopyOptions={forceCopyWithSyntaxHighlighting:!1};class a{constructor(){this._lastState=null}set(o,d){this._lastState={lastCopiedValue:o,data:d}}get(o){return this._lastState&&this._lastState.lastCopiedValue===o?this._lastState.data:(this._lastState=null,null)}}e.InMemoryClipboardMetadataManager=a,a.INSTANCE=new a;class u{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(o){o=o||"";const d={text:o,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=o.length,d}}class h extends g.Disposable{get textAreaState(){return this._textAreaState}constructor(o,d,l,p){super(),this._host=o,this._textArea=d,this._OS=l,this._browser=p,this._onFocus=this._register(new _.Emitter),this.onFocus=this._onFocus.event,this._onBlur=this._register(new _.Emitter),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new _.Emitter),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new _.Emitter),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new _.Emitter),this.onCut=this._onCut.event,this._onPaste=this._register(new _.Emitter),this.onPaste=this._onPaste.event,this._onType=this._register(new _.Emitter),this.onType=this._onType.event,this._onCompositionStart=this._register(new _.Emitter),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new _.Emitter),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new _.Emitter),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new _.Emitter),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new f.RunOnceScheduler(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new f.RunOnceScheduler(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=i.TextAreaState.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let m=null;this._register(this._textArea.onKeyDown(v=>{const b=new D.StandardKeyboardEvent(v);(b.keyCode===114||this._currentComposition&&b.keyCode===1)&&b.stopPropagation(),b.equals(9)&&b.preventDefault(),m=b,this._onKeyDown.fire(b)})),this._register(this._textArea.onKeyUp(v=>{const b=new D.StandardKeyboardEvent(v);this._onKeyUp.fire(b)})),this._register(this._textArea.onCompositionStart(v=>{i._debugComposition&&console.log("[compositionstart]",v);const b=new u;if(this._currentComposition){this._currentComposition=b;return}if(this._currentComposition=b,this._OS===2&&m&&m.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===v.data&&(m.code==="ArrowRight"||m.code==="ArrowLeft")){i._debugComposition&&console.log("[compositionstart] Handling long press case on macOS + arrow key",v),b.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=>{i._debugComposition&&console.log("[compositionupdate]",v);const b=this._currentComposition;if(!b)return;if(this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionUpdate.fire(v);return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionUpdate.fire(v)})),this._register(this._textArea.onCompositionEnd(v=>{i._debugComposition&&console.log("[compositionend]",v);const b=this._currentComposition;if(!b)return;if(this._currentComposition=null,this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionEnd.fire();return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(v=>{if(i._debugComposition&&console.log("[input]",v),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const b=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),w=i.TextAreaState.deduceInput(this._textAreaState,b,this._OS===2);w.replacePrevCharCnt===0&&w.text.length===1&&(s.isHighSurrogate(w.text.charCodeAt(0))||w.text.charCodeAt(0)===127)||(this._textAreaState=b,(w.text!==""||w.replacePrevCharCnt!==0||w.replaceNextCharCnt!==0||w.positionDelta!==0)&&this._onType.fire(w))})),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[b,w]=e.ClipboardEventUtils.getTextData(v.clipboardData);b&&(w=w||a.INSTANCE.get(b),this._onPaste.fire({text:b,metadata:w}))})),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 o=0;return k.addDisposableListener(document,"selectionchange",d=>{if(S.inputLatency.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const l=Date.now(),p=l-o;if(o=l,p<5)return;const m=l-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),m<100||!this._textAreaState.selection)return;const v=this._textArea.getValue();if(this._textAreaState.value!==v)return;const b=this._textArea.getSelectionStart(),w=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===b&&this._textAreaState.selectionEnd===w)return;const E=this._textAreaState.deduceEditorPosition(b),I=this._host.deduceModelPosition(E[0],E[1],E[2]),M=this._textAreaState.deduceEditorPosition(w),P=this._host.deduceModelPosition(M[0],M[1],M[2]),x=new n.Selection(I.lineNumber,I.column,P.lineNumber,P.column);this._onSelectionChangeRequest.fire(x)})}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(o){this._hasFocus!==o&&(this._hasFocus=o,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(o,d){this._hasFocus||(d=d.collapseSelection()),d.writeToTextArea(o,this._textArea,this._hasFocus),this._textAreaState=d}writeScreenReaderContent(o){this._currentComposition||this._setAndWriteTextAreaState(o,this._host.getScreenReaderContent())}_ensureClipboardGetsEditorSelection(o){const d=this._host.getDataToCopy(),l={version:1,isFromEmptySelection:d.isFromEmptySelection,multicursorText:d.multicursorText,mode:d.mode};a.INSTANCE.set(this._browser.isFirefox?d.text.replace(/\r\n/g,` -`):d.text,l),o.preventDefault(),o.clipboardData&&e.ClipboardEventUtils.setTextData(o.clipboardData,d.text,d.html,l)}}e.TextAreaInput=h,e.ClipboardEventUtils={getTextData(c){const o=c.getData(C.Mimes.text);let d=null;const l=c.getData("vscode-editor-data");if(typeof l=="string")try{d=JSON.parse(l),d.version!==1&&(d=null)}catch{}return o.length===0&&d===null&&c.files.length>0?[Array.prototype.slice.call(c.files,0).map(m=>m.name).join(` -`),null]:[o,d]},setTextData(c,o,d,l){c.setData(C.Mimes.text,o),typeof d=="string"&&c.setData("text/html",d),c.setData("vscode-editor-data",JSON.stringify(l))}};class r extends g.Disposable{constructor(o){super(),this._actual=o,this.onKeyDown=this._register(new y.DomEmitter(this._actual,"keydown")).event,this.onKeyUp=this._register(new y.DomEmitter(this._actual,"keyup")).event,this.onCompositionStart=this._register(new y.DomEmitter(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new y.DomEmitter(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new y.DomEmitter(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new y.DomEmitter(this._actual,"beforeinput")).event,this.onInput=this._register(new y.DomEmitter(this._actual,"input")).event,this.onCut=this._register(new y.DomEmitter(this._actual,"cut")).event,this.onCopy=this._register(new y.DomEmitter(this._actual,"copy")).event,this.onPaste=this._register(new y.DomEmitter(this._actual,"paste")).event,this.onFocus=this._register(new y.DomEmitter(this._actual,"focus")).event,this.onBlur=this._register(new y.DomEmitter(this._actual,"blur")).event,this._onSyntheticTap=this._register(new _.Emitter),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>S.inputLatency.onKeyDown())),this._register(this.onBeforeInput(()=>S.inputLatency.onBeforeInput())),this._register(this.onInput(()=>S.inputLatency.onInput())),this._register(this.onKeyUp(()=>S.inputLatency.onKeyUp())),this._register(k.addDisposableListener(this._actual,t.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const o=k.getShadowRoot(this._actual);return o?o.activeElement===this._actual:k.isInDOM(this._actual)?document.activeElement===this._actual:!1}setIgnoreSelectionChangeTime(o){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(o,d){const l=this._actual;l.value!==d&&(this.setIgnoreSelectionChangeTime("setValue"),l.value=d)}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(o,d,l){const p=this._actual;let m=null;const v=k.getShadowRoot(p);v?m=v.activeElement:m=document.activeElement;const b=m===p,w=p.selectionStart,E=p.selectionEnd;if(b&&w===d&&E===l){L.isFirefox&&window.parent!==window&&p.focus();return}if(b){this.setIgnoreSelectionChangeTime("setSelectionRange"),p.setSelectionRange(d,l),L.isFirefox&&window.parent!==window&&p.focus();return}try{const I=k.saveParentsScrollTop(p);this.setIgnoreSelectionChangeTime("setSelectionRange"),p.focus(),p.setSelectionRange(d,l),k.restoreParentsScrollTop(p,I)}catch{}}}e.TextAreaWrapper=r}),define(ne[589],se([1,0,7,35,53]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContentWidgets=void 0;class D extends y.ViewPart{constructor(i,n){super(i),this._viewDomNode=n,this._widgets={},this.domNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onConfigurationChanged(i);return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLineMappingChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesDeleted(i){return this._updateAnchorsViewPositions(),!0}onLinesInserted(i){return this._updateAnchorsViewPositions(),!0}onScrollChanged(i){return!0}onZonesChanged(i){return!0}_updateAnchorsViewPositions(){const i=Object.keys(this._widgets);for(const n of i)this._widgets[n].updateAnchorViewPosition()}addWidget(i){const n=new S(this._context,this._viewDomNode,i);this._widgets[n.id]=n,n.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(n.domNode):this.domNode.appendChild(n.domNode),this.setShouldRender()}setWidgetPosition(i,n,t,a,u){this._widgets[i.getId()].setPosition(n,t,a,u),this.setShouldRender()}removeWidget(i){const n=i.getId();if(this._widgets.hasOwnProperty(n)){const t=this._widgets[n];delete this._widgets[n];const a=t.domNode.domNode;a.parentNode.removeChild(a),a.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(i){return this._widgets.hasOwnProperty(i)?this._widgets[i].suppressMouseDown:!1}onBeforeRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onBeforeRender(i)}prepareRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].prepareRender(i)}render(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].render(i)}}e.ViewContentWidgets=D;class S{constructor(i,n,t){this._primaryAnchor=new f(null,null),this._secondaryAnchor=new f(null,null),this._context=i,this._viewDomNode=n,this._actual=t,this.domNode=(0,k.createFastDomNode)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const a=this._context.configuration.options,u=a.get(142);this._fixedOverflowWidgets=a.get(41),this._contentWidth=u.contentWidth,this._contentLeft=u.contentLeft,this._lineHeight=a.get(65),this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(i){const n=this._context.configuration.options;if(this._lineHeight=n.get(65),i.hasChanged(142)){const t=n.get(142);this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._maxWidth=this._getMaxWidth()}}updateAnchorViewPosition(){this._setPosition(this._affinity,this._primaryAnchor.modelPosition,this._secondaryAnchor.modelPosition)}_setPosition(i,n,t){this._affinity=i,this._primaryAnchor=a(n,this._context.viewModel,this._affinity),this._secondaryAnchor=a(t,this._context.viewModel,this._affinity);function a(u,h,r){if(!u)return new f(null,null);const c=h.model.validatePosition(u);if(h.coordinatesConverter.modelPositionIsVisible(c)){const o=h.coordinatesConverter.convertModelPositionToViewPosition(c,r??void 0);return new f(u,o)}return new f(u,null)}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(i,n,t,a){this._setPosition(a,i,n),this._preference=t,this._primaryAnchor.viewPosition&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(i,n,t,a){const u=i.top,h=u,r=i.top+i.height,c=a.viewportHeight-r,o=u-t,d=h>=t,l=r,p=c>=t;let m=i.left;return m+n>a.scrollLeft+a.viewportWidth&&(m=a.scrollLeft+a.viewportWidth-n),mc){const d=o-(c-a);o-=d,t-=d}if(o=m,w=o+t<=d.height-v;return this._fixedOverflowWidgets?{fitsAbove:b,aboveTop:Math.max(c,m),fitsBelow:w,belowTop:o,left:p}:{fitsAbove:b,aboveTop:u,fitsBelow:w,belowTop:h,left:l}}_prepareRenderWidgetAtExactPositionOverflowing(i){return new _(i.top,i.left+this._contentLeft)}_getAnchorsCoordinates(i){var n,t;const a=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),u=((n=this._secondaryAnchor.viewPosition)===null||n===void 0?void 0:n.lineNumber)===((t=this._primaryAnchor.viewPosition)===null||t===void 0?void 0:t.lineNumber)?this._secondaryAnchor.viewPosition:null,h=r(u,this._affinity,this._lineHeight);return{primary:a,secondary:h};function r(c,o,d){if(!c)return null;const l=i.visibleRangeForPosition(c);if(!l)return null;const p=c.column===1&&o===3?0:l.left,m=i.getVerticalOffsetForLineNumber(c.lineNumber)-i.scrollTop;return new g(m,p,d)}}_reduceAnchorCoordinates(i,n,t){if(!n)return i;const a=this._context.configuration.options.get(49);let u=n.left;return ui.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}prepareRender(i){this._renderData=this._prepareRenderWidget(i)}render(i){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+i.scrollTop-i.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,this._renderData.position)}}class f{constructor(i,n){this.modelPosition=i,this.viewPosition=n}}class _{constructor(i,n){this.top=i,this.left=n,this._coordinateBrand=void 0}}class g{constructor(i,n,t){this.top=i,this.left=n,this.height=t,this._anchorCoordinateBrand=void 0}}function C(s,i,...n){try{return s.call(i,...n)}catch{return null}}}),define(ne[590],se([1,0,130,2,42]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorSash=void 0;class D extends k.Disposable{constructor(f,_,g){super(),this._options=f,this._domNode=_,this._dimensions=g,this._sashRatio=(0,y.observableValue)("sashRatio",void 0),this.sashLeft=(0,y.derived)(C=>{var s;const i=(s=this._sashRatio.read(C))!==null&&s!==void 0?s:this._options.splitViewDefaultRatio.read(C);return this._computeSashLeft(i,C)}),this._sash=this._register(new L.Sash(this._domNode,{getVerticalSashTop:C=>0,getVerticalSashLeft:C=>this.sashLeft.get(),getVerticalSashHeight:C=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(C=>{const s=this._dimensions.width.get(),i=this._computeSashLeft((this._startSashPosition+(C.currentX-C.startX))/s,void 0);this._sashRatio.set(i/s,void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._sashRatio.set(void 0,void 0))),this._register((0,y.autorun)(C=>{const s=this._options.enableSplitViewResizing.read(C);this._sash.state=s?3:0,this.sashLeft.read(C),this._sash.layout()}))}setBoundarySashes(f){this._sash.orthogonalEndSash=f.bottom}_computeSashLeft(f,_){const g=this._dimensions.width.read(_),C=Math.floor(this._options.splitViewDefaultRatio.read(_)*g),s=this._options.enableSplitViewResizing.read(_)?Math.floor(f*g):C,i=100;return g<=i*2?C:sg-i?g-i:s}}e.DiffEditorSash=D}),define(ne[318],se([1,0,13,19,2,42,102,66,276,109,179,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRegion=e.DiffMapping=e.DiffState=e.DiffEditorViewModel=void 0;class i extends y.Disposable{setActiveMovedText(c){this._activeMovedText.set(c,void 0)}constructor(c,o,d){super(),this.model=c,this._options=o,this._isDiffUpToDate=(0,D.observableValue)("isDiffUpToDate",!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,D.observableValue)("diff",void 0),this.diff=this._diff,this._unchangedRegions=(0,D.observableValue)("unchangedRegion",{regions:[],originalDecorationIds:[],modifiedDecorationIds:[]}),this.unchangedRegions=(0,D.derived)(b=>this._options.hideUnchangedRegions.read(b)?this._unchangedRegions.read(b).regions:((0,D.transaction)(w=>{for(const E of this._unchangedRegions.get().regions)E.collapseAll(w)}),[])),this.movedTextToCompare=(0,D.observableValue)("movedTextToCompare",void 0),this._activeMovedText=(0,D.observableValue)("activeMovedText",void 0),this._hoveredMovedText=(0,D.observableValue)("hoveredMovedText",void 0),this.activeMovedText=(0,D.derived)(b=>{var w,E;return(E=(w=this.movedTextToCompare.read(b))!==null&&w!==void 0?w:this._hoveredMovedText.read(b))!==null&&E!==void 0?E:this._activeMovedText.read(b)}),this._cancellationTokenSource=new k.CancellationTokenSource,this._register((0,y.toDisposable)(()=>this._cancellationTokenSource.cancel()));const l=(0,D.observableSignal)("contentChangedSignal"),p=this._register(new L.RunOnceScheduler(()=>l.trigger(void 0),200)),m=(b,w,E)=>{const I=a.fromDiffs(b.changes,c.original.getLineCount(),c.modified.getLineCount(),this._options.hideUnchangedRegionsminimumLineCount.read(E),this._options.hideUnchangedRegionsContextLineCount.read(E)),M=this._unchangedRegions.get(),P=M.originalDecorationIds.map(N=>c.original.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),x=M.modifiedDecorationIds.map(N=>c.modified.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),T=c.original.deltaDecorations(M.originalDecorationIds,I.map(N=>({range:N.originalRange.toInclusiveRange(),options:{description:"unchanged"}}))),A=c.modified.deltaDecorations(M.modifiedDecorationIds,I.map(N=>({range:N.modifiedRange.toInclusiveRange(),options:{description:"unchanged"}})));for(const N of I)for(let F=0;F{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()})),this._register(c.original.onDidChangeContent(b=>{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()}));const v=(0,D.observableSignalFromEvent)("documentDiffProviderOptionChanged",d.onDidChange);this._register((0,D.autorunWithStore)((b,w)=>we(this,void 0,void 0,function*(){var E,I;this._options.hideUnchangedRegionsminimumLineCount.read(b),this._options.hideUnchangedRegionsContextLineCount.read(b),p.cancel(),l.read(b),v.read(b),(0,S.readHotReloadableExport)(_.AdvancedLinesDiffComputer,b),this._isDiffUpToDate.set(!1,void 0);let M=[];w.add(c.original.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);M=(0,s.combineTextEditInfos)(M,A)}));let P=[];w.add(c.modified.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);P=(0,s.combineTextEditInfos)(P,A)}));let x=yield d.computeDiff(c.original,c.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(b),maxComputationTimeMs:this._options.maxComputationTimeMs.read(b),computeMoves:this._options.showMoves.read(b)},this._cancellationTokenSource.token);this._cancellationTokenSource.token.isCancellationRequested||(x=(E=(c.original,c.modified,void 0))!==null&&E!==void 0?E:x,x=(I=(c.original,c.modified,void 0))!==null&&I!==void 0?I:x,(0,D.transaction)(T=>{m(x,T),this._lastDiff=x;const A=n.fromDiffResult(x);this._diff.set(A,T),this._isDiffUpToDate.set(!0,T);const N=this.movedTextToCompare.get();this.movedTextToCompare.set(N?this._lastDiff.moves.find(F=>F.lineRangeMapping.modified.intersect(N.lineRangeMapping.modified)):void 0,T)}))})))}ensureModifiedLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenModifiedRange(void 0).contains(c)){p.showModifiedLine(c,o);return}}ensureOriginalLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenOriginalRange(void 0).contains(c)){p.showOriginalLine(c,o);return}}waitForDiff(){return we(this,void 0,void 0,function*(){yield(0,D.waitForState)(this.isDiffUpToDate,c=>c)})}serializeState(){return{collapsedRegions:this._unchangedRegions.get().regions.map(o=>({range:o.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(c){const o=c.collapsedRegions.map(l=>f.LineRange.deserialize(l.range)),d=this._unchangedRegions.get();(0,D.transaction)(l=>{for(const p of d.regions)for(const m of o)if(p.modifiedRange.intersect(m)){p.setHiddenModifiedRange(m,l);break}})}}e.DiffEditorViewModel=i;class n{static fromDiffResult(c){return new n(c.changes.map(o=>new t(o)),c.moves||[],c.identical,c.quitEarly)}constructor(c,o,d,l){this.mappings=c,this.movedTexts=o,this.identical=d,this.quitEarly=l}}e.DiffState=n;class t{constructor(c){this.lineRangeMapping=c}}e.DiffMapping=t;class a{static fromDiffs(c,o,d,l,p){const m=g.LineRangeMapping.inverse(c,o,d),v=[];for(const b of m){let w=b.originalRange.startLineNumber,E=b.modifiedRange.startLineNumber,I=b.originalRange.length;const M=w===1&&E===1,P=w+I===o+1&&E+I===d+1;(M||P)&&I>=p+l?(M&&!P&&(I-=p),P&&!M&&(w+=p,E+=p,I-=p),v.push(new a(w,E,I,0,0))):I>=p*2+l&&(w+=p,E+=p,I-=p*2,v.push(new a(w,E,I,0,0)))}return v}get originalRange(){return f.LineRange.ofLength(this.originalLineNumber,this.lineCount)}get modifiedRange(){return f.LineRange.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(c,o,d,l,p){this.originalLineNumber=c,this.modifiedLineNumber=o,this.lineCount=d,this._visibleLineCountTop=(0,D.observableValue)("visibleLineCountTop",0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,D.observableValue)("visibleLineCountBottom",0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,D.derived)(m=>this.visibleLineCountTop.read(m)+this.visibleLineCountBottom.read(m)===this.lineCount&&!this.isDragged.read(m)),this.isDragged=(0,D.observableValue)("isDragged",!1),this._visibleLineCountTop.set(l,void 0),this._visibleLineCountBottom.set(p,void 0)}shouldHideControls(c){return this._shouldHideControls.read(c)}getHiddenOriginalRange(c){return f.LineRange.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}getHiddenModifiedRange(c){return f.LineRange.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}setHiddenModifiedRange(c,o){const d=c.startLineNumber-this.modifiedLineNumber,l=this.modifiedLineNumber+this.lineCount-c.endLineNumberExclusive;this.setState(d,l,o)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(c=10,o){const d=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+c,d),o)}showMoreBelow(c=10,o){const d=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+c,d),o)}showAll(c){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),c)}showModifiedLine(c,o){const d=c+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),l=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-c;d0&&(h[0]===65279||h[0]===65534)?i(t,a,u):S().decode(h)}e.decodeUTF16LE=s;function i(t,a,u){const h=[];let r=0;for(let c=0;c=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=a;return}for(let h=0;ha});class g{static create(){return new g}constructor(){}createLineBreaksComputer(u,h,r,c,o){const d=[],l=[];return{addRequest:(p,m,v)=>{d.push(p),l.push(m)},finalize:()=>C(d,u,h,r,c,o,l)}}}e.DOMLineBreaksComputerFactory=g;function C(a,u,h,r,c,o,d){var l;function p(j){const R=d[j];if(R){const K=f.LineInjectedText.applyInjectedText(a[j],R),G=R.map(J=>J.options),Z=R.map(J=>J.column-1);return new S.ModelLineProjectionData(Z,G,[K.length],[],0)}else return null}if(r===-1){const j=[];for(let R=0,K=a.length;Rm?(K=0,G=0):Z=m-H}const J=R.substr(K),X=s(J,G,h,Z,I,w);M[j]=K,P[j]=G,x[j]=J,T[j]=X[0],A[j]=X[1]}const N=I.build(),F=(l=_?.createHTML(N))!==null&&l!==void 0?l:N;E.innerHTML=F,E.style.position="absolute",E.style.top="10000",o==="keepAll"?(E.style.wordBreak="keep-all",E.style.overflowWrap="anywhere"):(E.style.wordBreak="inherit",E.style.overflowWrap="break-word"),document.body.appendChild(E);const O=document.createRange(),W=Array.prototype.slice.call(E.children,0),U=[];for(let j=0;jY.options),B=V.map(Y=>Y.column-1)):(H=null,B=null),U[j]=new S.ModelLineProjectionData(B,H,K,X,Z)}return document.body.removeChild(E),U}function s(a,u,h,r,c,o){if(o!==0){const w=String(o);c.appendString('
    ');const d=a.length;let l=u,p=0;const m=[],v=[];let b=0");for(let w=0;w"),m[w]=p,v[w]=l;const E=b;b=w+1"),m[a.length]=p,v[a.length]=l,c.appendString("
    "),[m,v]}function i(a,u,h,r){if(h.length<=1)return null;const c=Array.prototype.slice.call(u.children,0),o=[];try{n(a,c,r,0,null,h.length-1,null,o)}catch(d){return console.log(d),null}return o.length===0?null:(o.push(h.length),o)}function n(a,u,h,r,c,o,d,l){if(r===o||(c=c||t(a,u,h[r],h[r+1]),d=d||t(a,u,h[o],h[o+1]),Math.abs(c[0].top-d[0].top)<=.1))return;if(r+1===o){l.push(o);return}const p=r+(o-r)/2|0,m=t(a,u,h[p],h[p+1]);n(a,u,h,r,c,p,m,l),n(a,u,h,p,m,o,d,l)}function t(a,u,h,r){return a.setStart(u[h/16384|0].firstChild,h%16384),a.setEnd(u[r/16384|0].firstChild,r%16384),a.getClientRects()}}),define(ne[229],se([1,0,35,89,9,93]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleLinesCollection=e.RenderedLinesCollection=void 0;class S{constructor(C){this._createLine=C,this._set(1,[])}flush(){this._set(1,[])}_set(C,s){this._lines=s,this._rendLineNumberStart=C}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(C){const s=C-this._rendLineNumberStart;if(s<0||s>=this._lines.length)throw new y.BugIndicatingError("Illegal value for lineNumber");return this._lines[s]}onLinesDeleted(C,s){if(this.getCount()===0)return null;const i=this.getStartLineNumber(),n=this.getEndLineNumber();if(sn)return null;let t=0,a=0;for(let h=i;h<=n;h++){const r=h-this._rendLineNumberStart;C<=h&&h<=s&&(a===0?(t=r,a=1):a++)}if(C=n&&u<=t&&(this._lines[u-this._rendLineNumberStart].onContentChanged(),a=!0);return a}onLinesInserted(C,s){if(this.getCount()===0)return null;const i=s-C+1,n=this.getStartLineNumber(),t=this.getEndLineNumber();if(C<=n)return this._rendLineNumberStart+=i,null;if(C>t)return null;if(i+C>t)return this._lines.splice(C-this._rendLineNumberStart,t-C+1);const a=[];for(let o=0;oi)continue;const h=Math.max(s,u.fromLineNumber),r=Math.min(i,u.toLineNumber);for(let c=h;c<=r;c++){const o=c-this._rendLineNumberStart;this._lines[o].onTokensChanged(),n=!0}}return n}}e.RenderedLinesCollection=S;class f{constructor(C){this._host=C,this.domNode=this._createDomNode(),this._linesCollection=new S(()=>this._host.createVisibleLine())}_createDomNode(){const C=(0,L.createFastDomNode)(document.createElement("div"));return C.setClassName("view-layer"),C.setPosition("absolute"),C.domNode.setAttribute("role","presentation"),C.domNode.setAttribute("aria-hidden","true"),C}onConfigurationChanged(C){return!!C.hasChanged(142)}onFlushed(C){return this._linesCollection.flush(),!0}onLinesChanged(C){return this._linesCollection.onLinesChanged(C.fromLineNumber,C.count)}onLinesDeleted(C){const s=this._linesCollection.onLinesDeleted(C.fromLineNumber,C.toLineNumber);if(s)for(let i=0,n=s.length;is){const a=s,u=Math.min(i,t.rendLineNumberStart-1);a<=u&&(this._insertLinesBefore(t,a,u,n,s),t.linesLength+=u-a+1)}else if(t.rendLineNumberStart0&&(this._removeLinesBefore(t,a),t.linesLength-=a)}if(t.rendLineNumberStart=s,t.rendLineNumberStart+t.linesLength-1i){const a=Math.max(0,i-t.rendLineNumberStart+1),h=t.linesLength-1-a+1;h>0&&(this._removeLinesAfter(t,h),t.linesLength-=h)}return this._finishRendering(t,!1,n),t}_renderUntouchedLines(C,s,i,n,t){const a=C.rendLineNumberStart,u=C.lines;for(let h=s;h<=i;h++){const r=a+h;u[h].layoutLine(r,n[r-t])}}_insertLinesBefore(C,s,i,n,t){const a=[];let u=0;for(let h=s;h<=i;h++)a[u++]=this.host.createVisibleLine();C.lines=a.concat(C.lines)}_removeLinesBefore(C,s){for(let i=0;i=0;u--){const h=C.lines[u];n[u]&&(h.setDomNode(a),a=a.previousSibling)}}_finishRenderingInvalidLines(C,s,i){const n=document.createElement("div");_._ttPolicy&&(s=_._ttPolicy.createHTML(s)),n.innerHTML=s;for(let t=0;tg}),_._sb=new D.StringBuilder(1e5)}),define(ne[592],se([1,0,35,59,229,53]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginViewOverlays=e.ContentViewOverlays=e.ViewOverlayLine=e.ViewOverlays=void 0;class S extends D.ViewPart{constructor(s){super(s),this._visibleLines=new y.VisibleLinesCollection(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration.options.get(49);(0,k.applyFontInfo)(this.domNode,n),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let s=0,i=this._dynamicOverlays.length;sn.shouldRender());for(let n=0,t=i.length;n'),t.appendString(a),t.appendString(""),!0)}layoutLine(s,i){this._domNode&&(this._domNode.setTop(i),this._domNode.setHeight(this._lineHeight))}}e.ViewOverlayLine=f;class _ extends S{constructor(s){super(s);const n=this._context.configuration.options.get(142);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(s){const n=this._context.configuration.options.get(142);return this._contentWidth=n.contentWidth,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollWidthChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s),this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth))}}e.ContentViewOverlays=_;class g extends S{constructor(s){super(s);const i=this._context.configuration.options,n=i.get(142);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,k.applyFontInfo)(this.domNode,i.get(49))}onConfigurationChanged(s){const i=this._context.configuration.options;(0,k.applyFontInfo)(this.domNode,i.get(49));const n=i.get(142);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollHeightChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s);const i=Math.min(s.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)}}e.MarginViewOverlays=g}),define(ne[319],se([1,0,140,93]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compressConsecutiveTextChanges=e.TextChange=void 0;function y(_){return _.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class D{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}constructor(g,C,s,i){this.oldPosition=g,this.oldText=C,this.newPosition=s,this.newText=i}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${y(this.newText)}")`:this.newText.length===0?`(delete@${this.oldPosition} "${y(this.oldText)}")`:`(replace@${this.oldPosition} "${y(this.oldText)}" with "${y(this.newText)}")`}static _writeStringSize(g){return 4+2*g.length}static _writeString(g,C,s){const i=C.length;L.writeUInt32BE(g,i,s),s+=4;for(let n=0;ns&&(s=n)}return s}else{if(typeof D=="string")return _?D==="*"?5:D===f?10:0:0;if(D){const{language:s,pattern:i,scheme:n,hasAccessToAllModels:t,notebookType:a}=D;if(!_&&!t)return 0;a&&g&&(S=g);let u=0;if(n)if(n===S.scheme)u=10;else if(n==="*")u=5;else return 0;if(s)if(s===f)u=10;else if(s==="*")u=Math.max(u,5);else return 0;if(a)if(a===C)u=10;else if(a==="*"&&C!==void 0)u=Math.max(u,5);else return 0;if(i){let h;if(typeof i=="string"?h=i:h=Object.assign(Object.assign({},i),{base:(0,k.normalize)(i.base)}),h===S.fsPath||(0,L.match)(h,S.fsPath))u=10;else return 0}return u}else return 0}}e.score=y}),define(ne[594],se([1,0,6,2,48,593]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureRegistry=void 0;function S(C){return typeof C=="string"?!1:Array.isArray(C)?C.every(S):!!C.exclusive}class f{constructor(s,i,n,t){this.uri=s,this.languageId=i,this.notebookUri=n,this.notebookType=t}equals(s){var i,n;return this.notebookType===s.notebookType&&this.languageId===s.languageId&&this.uri.toString()===s.uri.toString()&&((i=this.notebookUri)===null||i===void 0?void 0:i.toString())===((n=s.notebookUri)===null||n===void 0?void 0:n.toString())}}class _{constructor(s){this._notebookInfoResolver=s,this._clock=0,this._entries=[],this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event}register(s,i){let n={selector:s,provider:i,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,k.toDisposable)(()=>{if(n){const t=this._entries.indexOf(n);t>=0&&(this._entries.splice(t,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(s){return this.all(s).length>0}all(s){if(!s)return[];this._updateScores(s);const i=[];for(const n of this._entries)n._score>0&&i.push(n.provider);return i}ordered(s){const i=[];return this._orderedForEach(s,n=>i.push(n.provider)),i}orderedGroups(s){const i=[];let n,t;return this._orderedForEach(s,a=>{n&&t===a._score?n.push(a.provider):(t=a._score,n=[a.provider],i.push(n))}),i}_orderedForEach(s,i){this._updateScores(s);for(const n of this._entries)n._score>0&&i(n)}_updateScores(s){var i,n;const t=(i=this._notebookInfoResolver)===null||i===void 0?void 0:i.call(this,s.uri),a=t?new f(s.uri,s.getLanguageId(),t.uri,t.type):new f(s.uri,s.getLanguageId(),void 0,void 0);if(!(!((n=this._lastCandidate)===null||n===void 0)&&n.equals(a))){this._lastCandidate=a;for(const u of this._entries)if(u._score=(0,D.score)(u.selector,a.uri,a.languageId,(0,y.shouldSynchronizeModel)(s),a.notebookUri,a.notebookType),S(u.selector)&&u._score>0){for(const h of this._entries)h._score=0;u._score=1e3;break}this._entries.sort(_._compareByScoreAndTime)}}static _compareByScoreAndTime(s,i){return s._scorei._score?-1:g(s.selector)&&!g(i.selector)?1:!g(s.selector)&&g(i.selector)?-1:s._timei._time?-1:0}}e.LanguageFeatureRegistry=_;function g(C){return typeof C=="string"?!1:Array.isArray(C)?C.some(g):!!C.isBuiltin}}),define(ne[230],se([1,0,11,93,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketsUtils=e.RichEditBrackets=e.RichEditBracket=void 0;class D{constructor(o,d,l,p,m,v){this._richEditBracketBrand=void 0,this.languageId=o,this.index=d,this.open=l,this.close=p,this.forwardRegex=m,this.reversedRegex=v,this._openSet=D._toSet(this.open),this._closeSet=D._toSet(this.close)}isOpen(o){return this._openSet.has(o)}isClose(o){return this._closeSet.has(o)}static _toSet(o){const d=new Set;for(const l of o)d.add(l);return d}}e.RichEditBracket=D;function S(c){const o=c.length;c=c.map(v=>[v[0].toLowerCase(),v[1].toLowerCase()]);const d=[];for(let v=0;v{const[w,E]=v,[I,M]=b;return w===I||w===M||E===I||E===M},p=(v,b)=>{const w=Math.min(v,b),E=Math.max(v,b);for(let I=0;I0&&m.push({open:b,close:w})}return m}class f{constructor(o,d){this._richEditBracketsBrand=void 0;const l=S(d);this.brackets=l.map((p,m)=>new D(o,m,p.open,p.close,s(p.open,p.close,l,m),i(p.open,p.close,l,m))),this.forwardRegex=n(this.brackets),this.reversedRegex=t(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const p of this.brackets){for(const m of p.open)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,m.length);for(const m of p.close)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,m.length)}}}e.RichEditBrackets=f;function _(c,o,d,l){for(let p=0,m=o.length;p=0&&l.push(b);for(const b of v.close)b.indexOf(c)>=0&&l.push(b)}}function g(c,o){return c.length-o.length}function C(c){if(c.length<=1)return c;const o=[],d=new Set;for(const l of c)d.has(l)||(o.push(l),d.add(l));return o}function s(c,o,d,l){let p=[];p=p.concat(c),p=p.concat(o);for(let m=0,v=p.length;m=0;v--)p[m++]=l.charCodeAt(v);return k.getPlatformTextDecoder().decode(p)}let o=null,d=null;return function(p){return o!==p&&(o=p,d=c(o)),d}}();class r{static _findPrevBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=l.length-(m.index||0),b=m[0].length,w=p+v;return new y.Range(d,w-b+1,d,w+1)}static findPrevBracketInRange(o,d,l,p,m){const b=h(l).substring(l.length-m,l.length-p);return this._findPrevBracketInText(o,d,b,p)}static findNextBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=m.index||0,b=m[0].length;if(b===0)return null;const w=p+v;return new y.Range(d,w+1,d,w+1+b)}static findNextBracketInRange(o,d,l,p,m){const v=l.substring(p,m);return this.findNextBracketInText(o,d,v,p)}}e.BracketsUtils=r}),define(ne[595],se([1,0,14,125,230]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketElectricCharacterSupport=void 0;class D{constructor(f){this._richEditBrackets=f}getElectricCharacters(){const f=[];if(this._richEditBrackets)for(const _ of this._richEditBrackets.brackets)for(const g of _.close){const C=g.charAt(g.length-1);f.push(C)}return(0,L.distinct)(f)}onElectricCharacter(f,_,g){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const C=_.findTokenIndexAtOffset(g-1);if((0,k.ignoreBracketsInToken)(_.getStandardTokenType(C)))return null;const s=this._richEditBrackets.reversedRegex,i=_.getLineContent().substring(0,g-1)+f,n=y.BracketsUtils.findPrevBracketInRange(s,1,i,0,i.length);if(!n)return null;const t=i.substring(n.startColumn-1,n.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[t])return null;const u=_.getActualLineContentBefore(n.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:t}:null}}e.BracketElectricCharacterSupport=D}),define(ne[596],se([1,0,14,6,2,5,125,230,514]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTextModelPart=void 0;class g extends y.Disposable{get canBuildAST(){return this.textModel.getValueLength()<=5e6}constructor(a,u){super(),this.textModel=a,this.languageConfigurationService=u,this.bracketPairsTree=this._register(new y.MutableDisposable),this.onDidChangeEmitter=new k.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(h=>{var r;(!h.languageId||!((r=this.bracketPairsTree.value)===null||r===void 0)&&r.object.didLanguageChange(h.languageId))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleContentChanged(a)}handleDidChangeBackgroundTokenizationState(){var a;(a=this.bracketPairsTree.value)===null||a===void 0||a.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleDidChangeTokens(a)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){const a=new y.DisposableStore;this.bracketPairsTree.value=C(a.add(new _.BracketPairsTree(this.textModel,u=>this.languageConfigurationService.getLanguageConfiguration(u))),a),a.add(this.bracketPairsTree.value.object.onDidChange(u=>this.onDidChangeEmitter.fire(u))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!1))||L.CallbackIterable.empty}getBracketPairsInRangeWithMinIndentation(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!0))||L.CallbackIterable.empty}getBracketsInRange(a,u=!1){var h;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((h=this.bracketPairsTree.value)===null||h===void 0?void 0:h.object.getBracketsInRange(a,u))||L.CallbackIterable.empty}findMatchingBracketUp(a,u,h){const r=this.textModel.validatePosition(u),c=this.textModel.getLanguageIdAtPosition(r.lineNumber,r.column);if(this.canBuildAST){const o=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew.getClosingBracketInfo(a);if(!o)return null;const d=this.getBracketPairsInRange(D.Range.fromPositions(u,u)).findLast(l=>o.closes(l.openingBracketInfo));return d?d.openingBracketRange:null}else{const o=a.toLowerCase(),d=this.languageConfigurationService.getLanguageConfiguration(c).brackets;if(!d)return null;const l=d.textIsBracket[o];return l?n(this._findMatchingBracketUp(l,r,s(h))):null}}matchBracket(a,u){if(this.canBuildAST){const h=this.getBracketPairsInRange(D.Range.fromPositions(a,a)).filter(r=>r.closingBracketRange!==void 0&&(r.openingBracketRange.containsPosition(a)||r.closingBracketRange.containsPosition(a))).findLastMaxBy((0,L.compareBy)(r=>r.openingBracketRange.containsPosition(a)?r.openingBracketRange:r.closingBracketRange,D.Range.compareRangesUsingStarts));return h?[h.openingBracketRange,h.closingBracketRange]:null}else{const h=s(u);return this._matchBracket(this.textModel.validatePosition(a),h)}}_establishBracketSearchOffsets(a,u,h,r){const c=u.getCount(),o=u.getLanguageId(r);let d=Math.max(0,a.column-1-h.maxBracketLength);for(let p=r-1;p>=0;p--){const m=u.getEndOffset(p);if(m<=d)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){d=m;break}}let l=Math.min(u.getLineContent().length,a.column-1+h.maxBracketLength);for(let p=r+1;p=l)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){l=m;break}}return{searchStartOffset:d,searchEndOffset:l}}_matchBracket(a,u){const h=a.lineNumber,r=this.textModel.tokenization.getLineTokens(h),c=this.textModel.getLineContent(h),o=r.findTokenIndexAtOffset(a.column-1);if(o<0)return null;const d=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(o)).brackets;if(d&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:p}=this._establishBracketSearchOffsets(a,r,d,o),m=null;for(;;){const v=f.BracketsUtils.findNextBracketInRange(d.forwardRegex,h,c,l,p);if(!v)break;if(v.startColumn<=a.column&&a.column<=v.endColumn){const b=c.substring(v.startColumn-1,v.endColumn-1).toLowerCase(),w=this._matchFoundBracket(v,d.textIsBracket[b],d.textIsOpenBracket[b],u);if(w){if(w instanceof i)return null;m=w}}l=v.endColumn-1}if(m)return m}if(o>0&&r.getStartOffset(o)===a.column-1){const l=o-1,p=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(l)).brackets;if(p&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(l))){const{searchStartOffset:m,searchEndOffset:v}=this._establishBracketSearchOffsets(a,r,p,l),b=f.BracketsUtils.findPrevBracketInRange(p.reversedRegex,h,c,m,v);if(b&&b.startColumn<=a.column&&a.column<=b.endColumn){const w=c.substring(b.startColumn-1,b.endColumn-1).toLowerCase(),E=this._matchFoundBracket(b,p.textIsBracket[w],p.textIsOpenBracket[w],u);if(E)return E instanceof i?null:E}}}return null}_matchFoundBracket(a,u,h,r){if(!u)return null;const c=h?this._findMatchingBracketDown(u,a.getEndPosition(),r):this._findMatchingBracketUp(u,a.getStartPosition(),r);return c?c instanceof i?c:[a,c]:null}_findMatchingBracketUp(a,u,h){const r=a.languageId,c=a.reversedRegex;let o=-1,d=0;const l=(p,m,v,b)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const w=f.BracketsUtils.findPrevBracketInRange(c,p,m,v,b);if(!w)break;const E=m.substring(w.startColumn-1,w.endColumn-1).toLowerCase();if(a.isOpen(E)?o++:a.isClose(E)&&o--,o===0)return w;b=w.startColumn-1}return null};for(let p=u.lineNumber;p>=1;p--){const m=this.textModel.tokenization.getLineTokens(p),v=m.getCount(),b=this.textModel.getLineContent(p);let w=v-1,E=b.length,I=b.length;p===u.lineNumber&&(w=m.findTokenIndexAtOffset(u.column-1),E=u.column-1,I=u.column-1);let M=!0;for(;w>=0;w--){const P=m.getLanguageId(w)===r&&!(0,S.ignoreBracketsInToken)(m.getStandardTokenType(w));if(P)M?E=m.getStartOffset(w):(E=m.getStartOffset(w),I=m.getEndOffset(w));else if(M&&E!==I){const x=l(p,b,E,I);if(x)return x}M=P}if(M&&E!==I){const P=l(p,b,E,I);if(P)return P}}return null}_findMatchingBracketDown(a,u,h){const r=a.languageId,c=a.forwardRegex;let o=1,d=0;const l=(m,v,b,w)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const E=f.BracketsUtils.findNextBracketInRange(c,m,v,b,w);if(!E)break;const I=v.substring(E.startColumn-1,E.endColumn-1).toLowerCase();if(a.isOpen(I)?o++:a.isClose(I)&&o--,o===0)return E;b=E.endColumn-1}return null},p=this.textModel.getLineCount();for(let m=u.lineNumber;m<=p;m++){const v=this.textModel.tokenization.getLineTokens(m),b=v.getCount(),w=this.textModel.getLineContent(m);let E=0,I=0,M=0;m===u.lineNumber&&(E=v.findTokenIndexAtOffset(u.column-1),I=u.column-1,M=u.column-1);let P=!0;for(;E=1;d--){const l=this.textModel.tokenization.getLineTokens(d),p=l.getCount(),m=this.textModel.getLineContent(d);let v=p-1,b=m.length,w=m.length;if(d===h.lineNumber){v=l.findTokenIndexAtOffset(h.column-1),b=h.column-1,w=h.column-1;const I=l.getLanguageId(v);r!==I&&(r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew)}let E=!0;for(;v>=0;v--){const I=l.getLanguageId(v);if(r!==I){if(c&&o&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P);E=!1}r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew}const M=!!c&&!(0,S.ignoreBracketsInToken)(l.getStandardTokenType(v));if(M)E?b=l.getStartOffset(v):(b=l.getStartOffset(v),w=l.getEndOffset(v));else if(o&&c&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P)}E=M}if(o&&c&&E&&b!==w){const I=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(I)return this._toFoundBracket(o,I)}}return null}findNextBracket(a){var u;const h=this.textModel.validatePosition(a);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getFirstBracketAfter(h))||null;const r=this.textModel.getLineCount();let c=null,o=null,d=null;for(let l=h.lineNumber;l<=r;l++){const p=this.textModel.tokenization.getLineTokens(l),m=p.getCount(),v=this.textModel.getLineContent(l);let b=0,w=0,E=0;if(l===h.lineNumber){b=p.findTokenIndexAtOffset(h.column-1),w=h.column-1,E=h.column-1;const M=p.getLanguageId(b);c!==M&&(c=M,o=this.languageConfigurationService.getLanguageConfiguration(c).brackets,d=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew)}let I=!0;for(;bI.closingBracketRange!==void 0&&I.range.strictContainsRange(w));return E?[E.openingBracketRange,E.closingBracketRange]:null}const r=s(u),c=this.textModel.getLineCount(),o=new Map;let d=[];const l=(w,E)=>{if(!o.has(w)){const I=[];for(let M=0,P=E?E.brackets.length:0;M{for(;;){if(r&&++p%100===0&&!r())return i.INSTANCE;const x=f.BracketsUtils.findNextBracketInRange(w.forwardRegex,E,I,M,P);if(!x)break;const T=I.substring(x.startColumn-1,x.endColumn-1).toLowerCase(),A=w.textIsBracket[T];if(A&&(A.isOpen(T)?d[A.index]++:A.isClose(T)&&d[A.index]--,d[A.index]===-1))return this._matchFoundBracket(x,A,!1,r);M=x.endColumn-1}return null};let v=null,b=null;for(let w=h.lineNumber;w<=c;w++){const E=this.textModel.tokenization.getLineTokens(w),I=E.getCount(),M=this.textModel.getLineContent(w);let P=0,x=0,T=0;if(w===h.lineNumber){P=E.findTokenIndexAtOffset(h.column-1),x=h.column-1,T=h.column-1;const N=E.getLanguageId(P);v!==N&&(v=N,b=this.languageConfigurationService.getLanguageConfiguration(v).brackets,l(v,b))}let A=!0;for(;Pa?.dispose()}}function s(t){if(typeof t>"u")return()=>!0;{const a=Date.now();return()=>Date.now()-a<=t}}class i{constructor(){this._searchCanceledBrand=void 0}}i.INSTANCE=new i;function n(t){return t instanceof i?null:t}}),define(ne[320],se([1,0,6,11,5,48,283,122,319,2]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBuffer=void 0;class C extends g.Disposable{constructor(i,n,t,a,u,h,r){super(),this._onDidChangeContent=this._register(new L.Emitter),this._BOM=n,this._mightContainNonBasicASCII=!h,this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._pieceTree=new S.PieceTreeBase(i,t,r)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(i){return this._pieceTree.createSnapshot(i?this._BOM:"")}getOffsetAt(i,n){return this._pieceTree.getOffsetAt(i,n)}getPositionAt(i){return this._pieceTree.getPositionAt(i)}getRangeAt(i,n){const t=i+n,a=this.getPositionAt(i),u=this.getPositionAt(t);return new y.Range(a.lineNumber,a.column,u.lineNumber,u.column)}getValueInRange(i,n=0){if(i.isEmpty())return"";const t=this._getEndOfLine(n);return this._pieceTree.getValueInRange(i,t)}getValueLengthInRange(i,n=0){if(i.isEmpty())return 0;if(i.startLineNumber===i.endLineNumber)return i.endColumn-i.startColumn;const t=this.getOffsetAt(i.startLineNumber,i.startColumn),a=this.getOffsetAt(i.endLineNumber,i.endColumn);let u=0;const h=this._getEndOfLine(n),r=this.getEOL();if(h.length!==r.length){const c=h.length-r.length,o=i.endLineNumber-i.startLineNumber;u=c*o}return a-t+u}getCharacterCountInRange(i,n=0){if(this._mightContainNonBasicASCII){let t=0;const a=i.startLineNumber,u=i.endLineNumber;for(let h=a;h<=u;h++){const r=this.getLineContent(h),c=h===a?i.startColumn-1:0,o=h===u?i.endColumn-1:r.length;for(let d=c;dw.sortIndex-E.sortIndex)}this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._mightContainNonBasicASCII=h;const m=this._doApplyEdits(c);let v=null;if(n&&l.length>0){l.sort((b,w)=>w.lineNumber-b.lineNumber),v=[];for(let b=0,w=l.length;b0&&l[b-1].lineNumber===E)continue;const I=l[b].oldContent,M=this.getLineContent(E);M.length===0||M===I||k.firstNonWhitespaceIndex(M)!==-1||v.push(E)}}return this._onDidChangeContent.fire(),new D.ApplyEditsResult(p,m,v)}_reduceOperations(i){return i.length<1e3?i:[this._toSingleEditOperation(i)]}_toSingleEditOperation(i){let n=!1;const t=i[0].range,a=i[i.length-1].range,u=new y.Range(t.startLineNumber,t.startColumn,a.endLineNumber,a.endColumn);let h=t.startLineNumber,r=t.startColumn;const c=[];for(let m=0,v=i.length;m0&&c.push(b.text),h=w.endLineNumber,r=w.endColumn}const o=c.join(""),[d,l,p]=(0,f.countEOL)(o);return{sortIndex:0,identifier:i[0].identifier,range:u,rangeOffset:this.getOffsetAt(u.startLineNumber,u.startColumn),rangeLength:this.getValueLengthInRange(u,0),text:o,eolCount:d,firstLineLength:l,lastLineLength:p,forceMoveMarkers:n,isAutoWhitespaceEdit:!1}}_doApplyEdits(i){i.sort(C._sortOpsDescending);const n=[];for(let t=0;t0){const p=c.eolCount+1;p===1?l=new y.Range(o,d,o,d+c.firstLineLength):l=new y.Range(o,d,o+p-1,c.lastLineLength+1)}else l=new y.Range(o,d,o,d);t=l.endLineNumber,a=l.endColumn,n.push(l),u=c}return n}static _sortOpsAscending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?i.sortIndex-n.sortIndex:t}static _sortOpsDescending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?n.sortIndex-i.sortIndex:-t}}e.PieceTreeTextBuffer=C}),define(ne[597],se([1,0,11,283,320]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBufferBuilder=void 0;class D{constructor(_,g,C,s,i,n,t,a,u){this._chunks=_,this._bom=g,this._cr=C,this._lf=s,this._crlf=i,this._containsRTL=n,this._containsUnusualLineTerminators=t,this._isBasicASCII=a,this._normalizeEOL=u}_getEOL(_){const g=this._cr+this._lf+this._crlf,C=this._cr+this._crlf;return g===0?_===1?` -`:`\r -`:C>g/2?`\r -`:` -`}create(_){const g=this._getEOL(_),C=this._chunks;if(this._normalizeEOL&&(g===`\r -`&&(this._cr>0||this._lf>0)||g===` -`&&(this._cr>0||this._crlf>0)))for(let i=0,n=C.length;i=55296&&g<=56319?(this._acceptChunk1(_.substr(0,_.length-1),!1),this._hasPreviousChar=!0,this._previousChar=g):(this._acceptChunk1(_,!1),this._hasPreviousChar=!1,this._previousChar=g)}_acceptChunk1(_,g){!g&&_.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+_):this._acceptChunk2(_))}_acceptChunk2(_){const g=(0,k.createLineStarts)(this._tmpLineStarts,_);this.chunks.push(new k.StringBuffer(_,g.lineStarts)),this.cr+=g.cr,this.lf+=g.lf,this.crlf+=g.crlf,g.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=L.containsRTL(_)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=L.containsUnusualLineTerminators(_)))}finish(_=!0){return this._finish(),new D(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,_)}_finish(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const _=this.chunks[this.chunks.length-1];_.buffer+=String.fromCharCode(this._previousChar);const g=(0,k.createLineStartsFast)(_.buffer);_.lineStarts=g,this._previousChar===13&&this.cr++}}}e.PieceTreeTextBufferBuilder=S}),define(ne[598],se([1,0,140,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeSemanticTokensDto=void 0;function y(_){for(let g=0,C=_.length;ga.target.position?a.target.position.lineNumber:0,this._opts=g(this._editor.getOption(76)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(a=>{if(a.hasChanged(76)){const u=g(this._editor.getOption(76));if(this._opts.equals(u))return;this._opts=u,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(a=>this._onEditorMouseMove(new S(a,this._opts)))),this._register(this._editor.onMouseDown(a=>this._onEditorMouseDown(new S(a,this._opts)))),this._register(this._editor.onMouseUp(a=>this._onEditorMouseUp(new S(a,this._opts)))),this._register(this._editor.onKeyDown(a=>this._onEditorKeyDown(new f(a,this._opts)))),this._register(this._editor.onKeyUp(a=>this._onEditorKeyUp(new f(a,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(a=>this._onDidChangeCursorSelection(a))),this._register(this._editor.onDidChangeModel(a=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(a=>{(a.scrollTopChanged||a.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(i){i.selection&&i.selection.startColumn!==i.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(i){this._lastMouseMoveEvent=i,this._onMouseMoveOrRelevantKeyDown.fire([i,null])}_onEditorMouseDown(i){this._hasTriggerKeyOnMouseDown=i.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(i)}_onEditorMouseUp(i){const n=this._extractLineNumberFromMouseEvent(i);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===n&&this._onExecute.fire(i)}_onEditorKeyDown(i){this._lastMouseMoveEvent&&(i.keyCodeIsTriggerKey||i.keyCodeIsSideBySideKey&&i.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,i]):i.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(i){i.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}e.ClickLinkGesture=C});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[321],se([1,0,13,9,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverOperation=e.HoverResult=void 0;class S{constructor(g,C,s){this.value=g,this.isComplete=C,this.hasLoadingMessage=s}}e.HoverResult=S;class f extends D.Disposable{constructor(g,C){super(),this._editor=g,this._computer=C,this._onResult=this._register(new y.Emitter),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(59).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(g,C=!0){this._state=g,C&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,L.createCancelableAsyncIterable)(g=>this._computer.computeAsync(g)),we(this,void 0,void 0,function*(){var g,C,s,i;try{try{for(var n=!0,t=Lt(this._asyncIterable),a;a=yield t.next(),g=a.done,!g;n=!0){i=a.value,n=!1;const u=i;u&&(this._result.push(u),this._fireResult())}}catch(u){C={error:u}}finally{try{!n&&!g&&(s=t.return)&&(yield s.call(t))}finally{if(C)throw C.error}}this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(u){(0,k.onUnexpectedError)(u)}})):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const g=this._state===0,C=this._state===4;this._onResult.fire(new S(this._result.slice(0),g,C))}start(g){if(g===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}e.HoverOperation=f}),define(ne[599],se([1,0,223,2,12,7]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableContentWidget=void 0;const S=30,f=24;class _ extends k.Disposable{constructor(C,s=new D.Dimension(10,10)){super(),this._editor=C,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new L.ResizableHTMLElement),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=D.Dimension.lift(s),this._resizableNode.layout(s.height,s.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new D.Dimension(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var C;return!((C=this._contentPosition)===null||C===void 0)&&C.position?y.Position.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);return!s||!i?void 0:D.getDomNodePagePosition(s).top+i.top-S}_availableVerticalSpaceBelow(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);if(!s||!i)return;const n=D.getDomNodePagePosition(s),t=D.getClientArea(document.body),a=n.top+i.top+i.height;return t.height-a-f}_findPositionPreference(C,s){var i,n;const t=Math.min((i=this._availableVerticalSpaceBelow(s))!==null&&i!==void 0?i:1/0,C),a=Math.min((n=this._availableVerticalSpaceAbove(s))!==null&&n!==void 0?n:1/0,C),u=Math.min(Math.max(a,t),C),h=Math.min(C,u);let r;return this._editor.getOption(59).above?r=h<=a?1:2:r=h<=t?2:1,r===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),r}_resize(C){this._resizableNode.layout(C.height,C.width)}}e.ResizableContentWidget=_}),define(ne[322],se([1,0,9,2,12,5,54,22]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asCommandLink=e.InlayHintsFragments=e.InlayHintItem=e.InlayHintAnchor=void 0;class _{constructor(n,t){this.range=n,this.direction=t}}e.InlayHintAnchor=_;class g{constructor(n,t,a){this.hint=n,this.anchor=t,this.provider=a,this._isResolved=!1}with(n){const t=new g(this.hint,n.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(n){return we(this,void 0,void 0,function*(){if(typeof this.provider.resolveInlayHint=="function"){if(this._currentResolve)return yield this._currentResolve,n.isCancellationRequested?void 0:this.resolve(n);this._isResolved||(this._currentResolve=this._doResolve(n).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(n){var t,a;return we(this,void 0,void 0,function*(){try{const u=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,n));this.hint.tooltip=(t=u?.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(a=u?.label)!==null&&a!==void 0?a:this.hint.label,this._isResolved=!0}catch(u){(0,L.onUnexpectedExternalError)(u),this._isResolved=!1}})}}e.InlayHintItem=g;class C{static create(n,t,a,u){return we(this,void 0,void 0,function*(){const h=[],r=n.ordered(t).reverse().map(c=>a.map(o=>we(this,void 0,void 0,function*(){try{const d=yield c.provideInlayHints(t,o,u);d?.hints.length&&h.push([d,c])}catch(d){(0,L.onUnexpectedExternalError)(d)}})));if(yield Promise.all(r.flat()),u.isCancellationRequested||t.isDisposed())throw new L.CancellationError;return new C(a,h,t)})}constructor(n,t,a){this._disposables=new k.DisposableStore,this.ranges=n,this.provider=new Set;const u=[];for(const[h,r]of t){this._disposables.add(h),this.provider.add(r);for(const c of h.hints){const o=a.validatePosition(c.position);let d="before";const l=C._getRangeAtPosition(a,o);let p;l.getStartPosition().isBefore(o)?(p=D.Range.fromPositions(l.getStartPosition(),o),d="after"):(p=D.Range.fromPositions(o,l.getEndPosition()),d="before"),u.push(new g(c,new _(p,d),r))}}this.items=u.sort((h,r)=>y.Position.compare(h.hint.position,r.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(n,t){const a=t.lineNumber,u=n.getWordAtPosition(t);if(u)return new D.Range(a,u.startColumn,a,u.endColumn);n.tokenization.tokenizeIfCheap(a);const h=n.tokenization.getLineTokens(a),r=t.column-1,c=h.findTokenIndexAtOffset(r);let o=h.getStartOffset(c),d=h.getEndOffset(c);return d-o===1&&(o===r&&c>1?(o=h.getStartOffset(c-1),d=h.getEndOffset(c-1)):d===r&&cW.toString?W.toString():""+W).join(" -> ")}`));const O=new k.DeferredPromise;return w.set(A,O.p),(()=>we(this,void 0,void 0,function*(){if(!F){const W=b(A);for(const U of W){const j=yield M(U);if(j&&j.items.length>0)return}}try{return yield A.provideInlineCompletions(c,r,o,d)}catch(W){(0,S.onUnexpectedExternalError)(W);return}}))().then(W=>O.complete(W),W=>O.error(W)),O.p}const P=yield Promise.all(m.map(A=>we(this,void 0,void 0,function*(){return{provider:A,completions:yield M(A)}}))),x=new Map,T=[];for(const A of P){const N=A.completions;if(!N)continue;const F=new n(N,A.provider);T.push(F);for(const O of N.items){const W=t.from(O,F,p,c,l);x.set(W.hash(),W)}}return new i(Array.from(x.values()),new Set(x.keys()),T)})}e.provideInlineCompletions=s;class i{constructor(r,c,o){this.completions=r,this.hashs=c,this.providerResults=o}has(r){return this.hashs.has(r.hash())}dispose(){for(const r of this.providerResults)r.removeRef()}}e.InlineCompletionProviderResult=i;class n{constructor(r,c){this.inlineCompletions=r,this.provider=c,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,this.refCount===0&&this.provider.freeInlineCompletions(this.inlineCompletions)}}e.InlineCompletionList=n;class t{static from(r,c,o,d,l){let p,m,v=r.range?f.Range.lift(r.range):o;if(typeof r.insertText=="string"){if(p=r.insertText,l&&r.completeBracketPairs){p=u(p,v.getStartPosition(),d,l);const b=p.length-r.insertText.length;b!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+b))}m=void 0}else if("snippet"in r.insertText){const b=r.insertText.snippet.length;if(l&&r.completeBracketPairs){r.insertText.snippet=u(r.insertText.snippet,v.getStartPosition(),d,l);const E=r.insertText.snippet.length-b;E!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+E))}const w=new C.SnippetParser().parse(r.insertText.snippet);w.children.length===1&&w.children[0]instanceof C.Text?(p=w.children[0].value,m=void 0):(p=w.toString(),m={snippet:r.insertText.snippet,range:v})}else(0,L.assertNever)(r.insertText);return new t(p,r.command,v,p,m,r.additionalTextEdits||(0,g.getReadonlyEmptyArray)(),r,c)}constructor(r,c,o,d,l,p,m,v){this.filterText=r,this.command=c,this.range=o,this.insertText=d,this.snippetInfo=l,this.additionalTextEdits=p,this.sourceInlineCompletion=m,this.source=v,r=r.replace(/\r\n|\r/g,` -`),d=r.replace(/\r\n|\r/g,` -`)}withRange(r){return new t(this.filterText,this.command,r,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}e.InlineCompletionItem=t;function a(h,r){const c=r.getWordAtPosition(h),o=r.getLineMaxColumn(h.lineNumber);return c?new f.Range(h.lineNumber,c.startColumn,h.lineNumber,o):f.Range.fromPositions(h,h.with(void 0,o))}function u(h,r,c,o){const l=c.getLineContent(r.lineNumber).substring(0,r.column-1)+h,p=c.tokenization.tokenizeLineWithEdit(r,l.length-(r.column-1),h),m=p?.sliceAndInflate(r.column-1,l.length,0);return m?(0,_.fixBracketsInLine)(m,o):h}}),define(ne[601],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/controller/textAreaHandler",e)}),define(ne[602],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/coreCommands",e)}),define(ne[603],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/editorExtensions",e)}),define(ne[604],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/codeEditorWidget",e)}),define(ne[605],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditor.contribution",e)}),define(ne[606],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget",e)}),define(ne[607],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer",e)}),define(ne[608],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/colors",e)}),define(ne[609],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/decorations",e)}),define(ne[610],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors",e)}),define(ne[611],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin",e)}),define(ne[612],se([1,0,7,39,25,2,17,26,611]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffDeletedCodeMargin=void 0;class g extends D.Disposable{get visibility(){return this._visibility}set visibility(s){this._visibility!==s&&(this._visibility=s,this._diffActions.style.visibility=s?"visible":"hidden")}constructor(s,i,n,t,a,u,h,r,c){super(),this._getViewZoneId=s,this._marginDomNode=i,this._modifiedEditor=n,this._diff=t,this._editor=a,this._viewLineCounts=u,this._originalTextModel=h,this._contextMenuService=r,this._clipboardService=c,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=f.ThemeIcon.asClassName(y.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const o=this._modifiedEditor.getOption(65);this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${o}px`,this._diffActions.style.lineHeight=`${o}px`,this._marginDomNode.appendChild(this._diffActions);let d=0;const l=n.getOption(125)&&!S.isIOS,p=(m,v)=>{var b;this._contextMenuService.showContextMenu({domForShadowRoot:l&&(b=n.getDomNode())!==null&&b!==void 0?b:void 0,getAnchor:()=>({x:m,y:v}),getActions:()=>{const w=[],E=t.modifiedRange.isEmpty;return w.push(new k.Action("diff.clipboard.copyDeletedContent",E?t.originalRange.length>1?(0,_.localize)(0,null):(0,_.localize)(1,null):t.originalRange.length>1?(0,_.localize)(2,null):(0,_.localize)(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const M=this._originalTextModel.getValueInRange(t.originalRange.toExclusiveRange());yield this._clipboardService.writeText(M)}))),t.originalRange.length>1&&w.push(new k.Action("diff.clipboard.copyDeletedLineContent",E?(0,_.localize)(4,null,t.originalRange.startLineNumber+d):(0,_.localize)(5,null,t.originalRange.startLineNumber+d),void 0,!0,()=>we(this,void 0,void 0,function*(){let M=this._originalTextModel.getLineContent(t.originalRange.startLineNumber+d);M===""&&(M=this._originalTextModel.getEndOfLineSequence()===0?` -`:`\r -`),yield this._clipboardService.writeText(M)}))),n.getOption(89)||w.push(new k.Action("diff.inline.revertChange",(0,_.localize)(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){this._editor.revert(this._diff)}))),w},autoSelectFirstItem:!0})};this._register((0,L.addStandardDisposableListener)(this._diffActions,"mousedown",m=>{const{top:v,height:b}=(0,L.getDomNodePagePosition)(this._diffActions),w=Math.floor(o/3);m.preventDefault(),p(m.posx,v+b+w)})),this._register(n.onMouseMove(m=>{(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()?(d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),this.visibility=!0):this.visibility=!1})),this._register(n.onMouseDown(m=>{m.event.rightButton&&(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()&&(m.event.preventDefault(),d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),p(m.event.posx,m.event.posy+o))}))}_updateLightBulbPosition(s,i,n){const{top:t}=(0,L.getDomNodePagePosition)(s),a=i-t,u=Math.floor(a/n),h=u*n;if(this._diffActions.style.top=`${h}px`,this._viewLineCounts){let r=0;for(let c=0;cthis._editors.original.getScrollTop()),this._modifiedScrollTop=(0,_.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,_.observableSignalFromEvent)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,_.observableValue)("width",0),this._modifiedViewZonesChangedSignal=(0,_.observableSignalFromEvent)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,_.observableSignalFromEvent)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,_.derivedWithStore)("state",(E,I)=>{var M;this._element.replaceChildren();const P=this._diffModel.read(E),x=(M=P?.diff.read(E))===null||M===void 0?void 0:M.movedTexts;if(!x||x.length===0){this.width.set(0,void 0);return}this._viewZonesChanged.read(E);const T=this._originalEditorLayoutInfo.read(E),A=this._modifiedEditorLayoutInfo.read(E);if(!T||!A){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(E),this._originalViewZonesChangedSignal.read(E);const N=x.map(K=>{function G(ae,ce){const de=ce.getTopForLineNumber(ae.startLineNumber,!0),he=ce.getTopForLineNumber(ae.endLineNumberExclusive,!0);return(de+he)/2}const Z=G(K.lineRangeMapping.original,this._editors.original),J=this._originalScrollTop.read(E),X=G(K.lineRangeMapping.modified,this._editors.modified),H=this._modifiedScrollTop.read(E),B=Z-J,V=X-H,Y=Math.min(Z,X),ie=Math.max(Z,X);return{range:new s.OffsetRange(Y,ie),from:B,to:V,fromWithoutScroll:Z,toWithoutScroll:X,move:K}});N.sort((0,D.tieBreakComparators)((0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll,D.booleanComparator),(0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll?K.fromWithoutScroll:-K.toWithoutScroll,D.numberComparator)));const F=t.compute(N.map(K=>K.range)),O=10,W=T.verticalScrollbarWidth,U=(F.getTrackCount()-1)*10+O*2,j=W+U+(A.contentLeft-n.movedCodeBlockPadding);let R=0;for(const K of N){const G=F.getTrack(R),Z=W+O+G*10,J=15,X=15,H=j,B=A.glyphMarginWidth+A.lineNumbersWidth,V=18,Y=document.createElementNS("http://www.w3.org/2000/svg","rect");Y.classList.add("arrow-rectangle"),Y.setAttribute("x",`${H-B}`),Y.setAttribute("y",`${K.to-V/2}`),Y.setAttribute("width",`${B}`),Y.setAttribute("height",`${V}`),this._element.appendChild(Y);const ie=document.createElementNS("http://www.w3.org/2000/svg","g"),ae=document.createElementNS("http://www.w3.org/2000/svg","path");ae.setAttribute("d",`M 0 ${K.from} L ${Z} ${K.from} L ${Z} ${K.to} L ${H-X} ${K.to}`),ae.setAttribute("fill","none"),ie.appendChild(ae);const ce=document.createElementNS("http://www.w3.org/2000/svg","polygon");ce.classList.add("arrow"),I.add((0,_.autorun)(de=>{ae.classList.toggle("currentMove",K.move===P.activeMovedText.read(de)),ce.classList.toggle("currentMove",K.move===P.activeMovedText.read(de))})),ce.setAttribute("points",`${H-X},${K.to-J/2} ${H},${K.to} ${H-X},${K.to+J/2}`),ie.appendChild(ce),this._element.appendChild(ie),R++}this.width.set(U,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,f.toDisposable)(()=>this._element.remove())),this._register((0,_.autorun)(E=>{const I=this._originalEditorLayoutInfo.read(E),M=this._modifiedEditorLayoutInfo.read(E);!I||!M||(this._element.style.left=`${I.width-I.verticalScrollbarWidth}px`,this._element.style.height=`${I.height}px`,this._element.style.width=`${I.verticalScrollbarWidth+I.contentLeft-n.movedCodeBlockPadding+this.width.read(E)}px`)})),this._register((0,_.keepAlive)(this._state,!0));const l=(0,_.derived)(E=>{const I=this._diffModel.read(E),M=I?.diff.read(E);return M?M.movedTexts.map(P=>({move:P,original:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.original.startLineNumber-1),18),modified:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,C.applyViewZones)(this._editors.original,l.map(E=>E.map(I=>I.original)))),this._register((0,C.applyViewZones)(this._editors.modified,l.map(E=>E.map(I=>I.modified)))),this._register((0,_.autorunWithStore)((E,I)=>{const M=l.read(E);for(const P of M)I.add(new a(this._editors.original,P.original,P.move,"original",this._diffModel.get())),I.add(new a(this._editors.modified,P.modified,P.move,"modified",this._diffModel.get()))}));const p=(0,_.observableFromEvent)(this._editors.original.onDidChangeCursorPosition,()=>this._editors.original.getPosition()),m=(0,_.observableFromEvent)(this._editors.modified.onDidChangeCursorPosition,()=>this._editors.modified.getPosition()),v=(0,_.observableSignalFromEvent)("original.onDidFocusEditorWidget",E=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0))),b=(0,_.observableSignalFromEvent)("modified.onDidFocusEditorWidget",E=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0)));let w="modified";this._register((0,_.autorunHandleChanges)({createEmptyChangeSummary:()=>{},handleChange:(E,I)=>(E.didChange(v)&&(w="original"),E.didChange(b)&&(w="modified"),!0)},E=>{v.read(E),b.read(E);const I=this._diffModel.read(E);if(!I)return;const M=I.diff.read(E);let P;if(M&&w==="original"){const x=p.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.original.contains(x.lineNumber)))}if(M&&w==="modified"){const x=m.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.modified.contains(x.lineNumber)))}P!==I.movedTextToCompare.get()&&I.movedTextToCompare.set(void 0,void 0),I.setActiveMovedText(P)}))}}e.MovedBlocksLinesPart=n,n.movedCodeBlockPadding=4;class t{static compute(h){const r=[],c=[];for(const o of h){let d=r.findIndex(l=>!l.intersectsStrict(o));d===-1&&(r.length>=6?d=(0,D.findMaxIdxBy)(r,(0,D.compareBy)(p=>p.intersectWithRangeLength(o),D.numberComparator)):(d=r.length,r.push(new s.OffsetRangeSet))),r[d].addRange(o),c.push(d)}return new t(r.length,c)}constructor(h,r){this._trackCount=h,this.trackPerLineIdx=r}getTrack(h){return this.trackPerLineIdx[h]}getTrackCount(){return this._trackCount}}class a extends C.ViewZoneOverlayWidget{constructor(h,r,c,o,d){const l=(0,L.h)("div.diff-hidden-lines-widget");super(h,r,l.root),this._editor=h,this._move=c,this._kind=o,this._diffModel=d,this._nodes=(0,L.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,L.h)("div.text-content@textContent"),(0,L.h)("div.action-bar@actionBar")]),l.root.appendChild(this._nodes.root);const p=(0,_.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,C.applyStyle)(this._nodes.root,{paddingRight:p.map(E=>E.verticalScrollbarWidth)}));let m;c.changes.length>0?m=this._kind==="original"?(0,i.localize)(0,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(1,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive):m=this._kind==="original"?(0,i.localize)(2,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(3,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive);const v=this._register(new k.ActionBar(this._nodes.actionBar,{highlightToggledItems:!0})),b=new y.Action("",m,"",!1);v.push(b,{icon:!1,label:!0});const w=new y.Action("","Compare",g.ThemeIcon.asClassName(S.Codicon.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===c?void 0:this._move,void 0)});this._register((0,_.autorun)(E=>{const I=this._diffModel.movedTextToCompare.read(E)===c;w.checked=I})),v.push(w,{icon:!1,label:!0})}}}),define(ne[614],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/unchangedRanges",e)}),define(ne[615],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffReview",e)}),define(ne[616],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/inlineDiffMargin",e)}),define(ne[617],se([1,0,616,7,39,2,5,25,26,17]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffMargin=void 0;class C extends D.Disposable{get visibility(){return this._visibility}set visibility(i){this._visibility!==i&&(this._visibility=i,i?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")}constructor(i,n,t,a,u,h){super(),this._viewZoneId=i,this._marginDomNode=n,this.editor=t,this.diff=a,this._contextMenuService=u,this._clipboardService=h,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=_.ThemeIcon.asClassName(f.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const r=t.getOption(65),c=t.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${r}px`,this._diffActions.style.lineHeight=`${r}px`,this._marginDomNode.appendChild(this._diffActions);const o=[],d=a.modifiedEndLineNumber===0;o.push(new y.Action("diff.clipboard.copyDeletedContent",d?a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(0,null):L.localize(1,null):a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(2,null):L.localize(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber+1,1),E=a.originalModel.getValueInRange(w);yield this._clipboardService.writeText(E)})));let l=0,p;a.originalEndLineNumber>a.modifiedStartLineNumber&&(p=new y.Action("diff.clipboard.copyDeletedLineContent",d?L.localize(4,null,a.originalStartLineNumber):L.localize(5,null,a.originalStartLineNumber),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=a.originalModel.getLineContent(a.originalStartLineNumber+l);if(w===""){const E=a.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(E===0?` -`:`\r -`)}else yield this._clipboardService.writeText(w)})),o.push(p)),t.getOption(89)||o.push(new y.Action("diff.inline.revertChange",L.localize(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber,a.originalModel.getLineMaxColumn(a.originalEndLineNumber)),E=a.originalModel.getValueInRange(w);if(a.modifiedEndLineNumber===0){const I=t.getModel().getLineMaxColumn(a.modifiedStartLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,I,a.modifiedStartLineNumber,I),text:c+E}])}else{const I=t.getModel().getLineMaxColumn(a.modifiedEndLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,1,a.modifiedEndLineNumber,I),text:E}])}})));const v=t.getOption(125)&&!g.isIOS,b=(w,E)=>{var I;this._contextMenuService.showContextMenu({domForShadowRoot:v&&(I=t.getDomNode())!==null&&I!==void 0?I:void 0,getAnchor:()=>({x:w,y:E}),getActions:()=>(p&&(p.label=d?L.localize(7,null,a.originalStartLineNumber+l):L.localize(8,null,a.originalStartLineNumber+l)),o),autoSelectFirstItem:!0})};this._register(k.addStandardDisposableListener(this._diffActions,"mousedown",w=>{const{top:E,height:I}=k.getDomNodePagePosition(this._diffActions),M=Math.floor(r/3);w.preventDefault(),b(w.posx,E+I+M)})),this._register(t.onMouseMove(w=>{w.target.type===8||w.target.type===5?w.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r)):this.visibility=!1:this.visibility=!1})),this._register(t.onMouseDown(w=>{w.event.rightButton&&(w.target.type===8||w.target.type===5)&&w.target.detail.viewZoneId===this._viewZoneId&&(w.event.preventDefault(),l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r),b(w.event.posx,w.event.posy+r))}))}_updateLightBulbPosition(i,n,t){const{top:a}=k.getDomNodePagePosition(i),u=n-a,h=Math.floor(u/t),r=h*t;if(this._diffActions.style.top=`${r}px`,this.diff.viewLineCounts){let c=0;for(let o=0;o"u"?this.defaultValue:le}compute(le,pe,Ce){return Ce}}function a(me,le){return typeof me>"u"?le:me==="false"?!1:!!me}e.boolean=a;class u extends t{constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="boolean",be.default=Ce),super(le,pe,Ce,be)}validate(le){return a(le,this.defaultValue)}}function h(me,le,pe,Ce){if(typeof me>"u")return le;let be=parseInt(me,10);return isNaN(be)?le:(be=Math.max(pe,be),be=Math.min(Ce,be),be|0)}e.clampedInt=h;class r extends t{static clampedInt(le,pe,Ce,be){return h(le,pe,Ce,be)}constructor(le,pe,Ce,be,Ie,Ne=void 0){typeof Ne<"u"&&(Ne.type="integer",Ne.default=Ce,Ne.minimum=be,Ne.maximum=Ie),super(le,pe,Ce,Ne),this.minimum=be,this.maximum=Ie}validate(le){return r.clampedInt(le,this.defaultValue,this.minimum,this.maximum)}}function c(me,le,pe,Ce){if(typeof me>"u")return le;const be=o.float(me,le);return o.clamp(be,pe,Ce)}e.clampedFloat=c;class o extends t{static clamp(le,pe,Ce){return leCe?Ce:le}static float(le,pe){if(typeof le=="number")return le;if(typeof le>"u")return pe;const Ce=parseFloat(le);return isNaN(Ce)?pe:Ce}constructor(le,pe,Ce,be,Ie){typeof Ie<"u"&&(Ie.type="number",Ie.default=Ce),super(le,pe,Ce,Ie),this.validationFn=be}validate(le){return this.validationFn(o.float(le,this.defaultValue))}}class d extends t{static string(le,pe){return typeof le!="string"?pe:le}constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="string",be.default=Ce),super(le,pe,Ce,be)}validate(le){return d.string(le,this.defaultValue)}}function l(me,le,pe,Ce){return typeof me!="string"?le:Ce&&me in Ce?Ce[me]:pe.indexOf(me)===-1?le:me}e.stringSet=l;class p extends t{constructor(le,pe,Ce,be,Ie=void 0){typeof Ie<"u"&&(Ie.type="string",Ie.enum=be,Ie.default=Ce),super(le,pe,Ce,Ie),this._allowedValues=be}validate(le){return l(le,this.defaultValue,this._allowedValues)}}class m extends C{constructor(le,pe,Ce,be,Ie,Ne,Re=void 0){typeof Re<"u"&&(Re.type="string",Re.enum=Ie,Re.default=be),super(le,pe,Ce,Re),this._allowedValues=Ie,this._convert=Ne}validate(le){return typeof le!="string"?this.defaultValue:this._allowedValues.indexOf(le)===-1?this.defaultValue:this._convert(le)}}function v(me){switch(me){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class b extends C{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[f.localize(0,null),f.localize(1,null),f.localize(2,null)],default:"auto",tags:["accessibility"],description:f.localize(3,null)})}validate(le){switch(le){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(le,pe,Ce){return Ce===0?le.accessibilitySupport:Ce}}class w extends C{constructor(){const le={insertSpace:!0,ignoreEmptyLines:!0};super(22,"comments",le,{"editor.comments.insertSpace":{type:"boolean",default:le.insertSpace,description:f.localize(4,null)},"editor.comments.ignoreEmptyLines":{type:"boolean",default:le.ignoreEmptyLines,description:f.localize(5,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertSpace:a(pe.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:a(pe.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function E(me){switch(me){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var I;(function(me){me[me.Line=1]="Line",me[me.Block=2]="Block",me[me.Underline=3]="Underline",me[me.LineThin=4]="LineThin",me[me.BlockOutline=5]="BlockOutline",me[me.UnderlineThin=6]="UnderlineThin"})(I||(e.TextEditorCursorStyle=I={}));function M(me){switch(me){case"line":return I.Line;case"block":return I.Block;case"underline":return I.Underline;case"line-thin":return I.LineThin;case"block-outline":return I.BlockOutline;case"underline-thin":return I.UnderlineThin}}class P extends n{constructor(){super(139)}compute(le,pe,Ce){const be=["monaco-editor"];return pe.get(38)&&be.push(pe.get(38)),le.extraEditorClassName&&be.push(le.extraEditorClassName),pe.get(72)==="default"?be.push("mouse-default"):pe.get(72)==="copy"&&be.push("mouse-copy"),pe.get(109)&&be.push("showUnused"),pe.get(137)&&be.push("showDeprecated"),be.join(" ")}}class x extends u{constructor(){super(36,"emptySelectionClipboard",!0,{description:f.localize(6,null)})}compute(le,pe,Ce){return Ce&&le.emptySelectionClipboard}}class T extends C{constructor(){const le={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(40,"find",le,{"editor.find.cursorMoveOnType":{type:"boolean",default:le.cursorMoveOnType,description:f.localize(7,null)},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:le.seedSearchStringFromSelection,enumDescriptions:[f.localize(8,null),f.localize(9,null),f.localize(10,null)],description:f.localize(11,null)},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:le.autoFindInSelection,enumDescriptions:[f.localize(12,null),f.localize(13,null),f.localize(14,null)],description:f.localize(15,null)},"editor.find.globalFindClipboard":{type:"boolean",default:le.globalFindClipboard,description:f.localize(16,null),included:y.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:le.addExtraSpaceOnTop,description:f.localize(17,null)},"editor.find.loop":{type:"boolean",default:le.loop,description:f.localize(18,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{cursorMoveOnType:a(pe.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof le.seedSearchStringFromSelection=="boolean"?le.seedSearchStringFromSelection?"always":"never":l(pe.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof le.autoFindInSelection=="boolean"?le.autoFindInSelection?"always":"never":l(pe.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:a(pe.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:a(pe.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:a(pe.loop,this.defaultValue.loop)}}}class A extends C{constructor(){super(50,"fontLigatures",A.OFF,{anyOf:[{type:"boolean",description:f.localize(19,null)},{type:"string",description:f.localize(20,null)}],description:f.localize(21,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?A.OFF:le==="true"?A.ON:le:le?A.ON:A.OFF}}e.EditorFontLigatures=A,A.OFF='"liga" off, "calt" off',A.ON='"liga" on, "calt" on';class N extends C{constructor(){super(53,"fontVariations",N.OFF,{anyOf:[{type:"boolean",description:f.localize(22,null)},{type:"string",description:f.localize(23,null)}],description:f.localize(24,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?N.OFF:le==="true"?N.TRANSLATE:le:le?N.TRANSLATE:N.OFF}compute(le,pe,Ce){return le.fontInfo.fontVariationSettings}}e.EditorFontVariations=N,N.OFF="normal",N.TRANSLATE="translate";class F extends n{constructor(){super(49)}compute(le,pe,Ce){return le.fontInfo}}class O extends t{constructor(){super(51,"fontSize",e.EDITOR_FONT_DEFAULTS.fontSize,{type:"number",minimum:6,maximum:100,default:e.EDITOR_FONT_DEFAULTS.fontSize,description:f.localize(25,null)})}validate(le){const pe=o.float(le,this.defaultValue);return pe===0?e.EDITOR_FONT_DEFAULTS.fontSize:o.clamp(pe,6,100)}compute(le,pe,Ce){return le.fontInfo.fontSize}}class W extends C{constructor(){super(52,"fontWeight",e.EDITOR_FONT_DEFAULTS.fontWeight,{anyOf:[{type:"number",minimum:W.MINIMUM_VALUE,maximum:W.MAXIMUM_VALUE,errorMessage:f.localize(26,null)},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:W.SUGGESTION_VALUES}],default:e.EDITOR_FONT_DEFAULTS.fontWeight,description:f.localize(27,null)})}validate(le){return le==="normal"||le==="bold"?le:String(r.clampedInt(le,e.EDITOR_FONT_DEFAULTS.fontWeight,W.MINIMUM_VALUE,W.MAXIMUM_VALUE))}}W.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],W.MINIMUM_VALUE=1,W.MAXIMUM_VALUE=1e3;class U extends C{constructor(){const le={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},pe={type:"string",enum:["peek","gotoAndPeek","goto"],default:le.multiple,enumDescriptions:[f.localize(28,null),f.localize(29,null),f.localize(30,null)]},Ce=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(57,"gotoLocation",le,{"editor.gotoLocation.multiple":{deprecationMessage:f.localize(31,null)},"editor.gotoLocation.multipleDefinitions":Object.assign({description:f.localize(32,null)},pe),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:f.localize(33,null)},pe),"editor.gotoLocation.multipleDeclarations":Object.assign({description:f.localize(34,null)},pe),"editor.gotoLocation.multipleImplementations":Object.assign({description:f.localize(35,null)},pe),"editor.gotoLocation.multipleReferences":Object.assign({description:f.localize(36,null)},pe),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:le.alternativeDefinitionCommand,enum:Ce,description:f.localize(37,null)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:le.alternativeTypeDefinitionCommand,enum:Ce,description:f.localize(38,null)},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:le.alternativeDeclarationCommand,enum:Ce,description:f.localize(39,null)},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:le.alternativeImplementationCommand,enum:Ce,description:f.localize(40,null)},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:le.alternativeReferenceCommand,enum:Ce,description:f.localize(41,null)}})}validate(le){var pe,Ce,be,Ie,Ne;if(!le||typeof le!="object")return this.defaultValue;const Re=le;return{multiple:l(Re.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(pe=Re.multipleDefinitions)!==null&&pe!==void 0?pe:l(Re.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ce=Re.multipleTypeDefinitions)!==null&&Ce!==void 0?Ce:l(Re.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(be=Re.multipleDeclarations)!==null&&be!==void 0?be:l(Re.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Ie=Re.multipleImplementations)!==null&&Ie!==void 0?Ie:l(Re.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(Ne=Re.multipleReferences)!==null&&Ne!==void 0?Ne:l(Re.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:d.string(Re.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:d.string(Re.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:d.string(Re.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:d.string(Re.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:d.string(Re.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class j extends C{constructor(){const le={enabled:!0,delay:300,sticky:!0,above:!0};super(59,"hover",le,{"editor.hover.enabled":{type:"boolean",default:le.enabled,description:f.localize(42,null)},"editor.hover.delay":{type:"number",default:le.delay,minimum:0,maximum:1e4,description:f.localize(43,null)},"editor.hover.sticky":{type:"boolean",default:le.sticky,description:f.localize(44,null)},"editor.hover.above":{type:"boolean",default:le.above,description:f.localize(45,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),delay:r.clampedInt(pe.delay,this.defaultValue.delay,0,1e4),sticky:a(pe.sticky,this.defaultValue.sticky),above:a(pe.above,this.defaultValue.above)}}}class R extends n{constructor(){super(142)}compute(le,pe,Ce){return R.computeLayout(pe,{memory:le.memory,outerWidth:le.outerWidth,outerHeight:le.outerHeight,isDominatedByLongLines:le.isDominatedByLongLines,lineHeight:le.fontInfo.lineHeight,viewLineCount:le.viewLineCount,lineNumbersDigitCount:le.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:le.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:le.fontInfo.maxDigitWidth,pixelRatio:le.pixelRatio,glyphMarginDecorationLaneCount:le.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(le){const pe=le.height/le.lineHeight,Ce=Math.floor(le.paddingTop/le.lineHeight);let be=Math.floor(le.paddingBottom/le.lineHeight);le.scrollBeyondLastLine&&(be=Math.max(be,pe-1));const Ie=(Ce+le.viewLineCount+be)/(le.pixelRatio*le.height),Ne=Math.floor(le.viewLineCount/Ie);return{typicalViewportLineCount:pe,extraLinesBeforeFirstLine:Ce,extraLinesBeyondLastLine:be,desiredRatio:Ie,minimapLineCount:Ne}}static _computeMinimapLayout(le,pe){const Ce=le.outerWidth,be=le.outerHeight,Ie=le.pixelRatio;if(!le.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Ie*be),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:be};const Ne=pe.stableMinimapLayoutInput,Re=Ne&&le.outerHeight===Ne.outerHeight&&le.lineHeight===Ne.lineHeight&&le.typicalHalfwidthCharacterWidth===Ne.typicalHalfwidthCharacterWidth&&le.pixelRatio===Ne.pixelRatio&&le.scrollBeyondLastLine===Ne.scrollBeyondLastLine&&le.paddingTop===Ne.paddingTop&&le.paddingBottom===Ne.paddingBottom&&le.minimap.enabled===Ne.minimap.enabled&&le.minimap.side===Ne.minimap.side&&le.minimap.size===Ne.minimap.size&&le.minimap.showSlider===Ne.minimap.showSlider&&le.minimap.renderCharacters===Ne.minimap.renderCharacters&&le.minimap.maxColumn===Ne.minimap.maxColumn&&le.minimap.scale===Ne.minimap.scale&&le.verticalScrollbarWidth===Ne.verticalScrollbarWidth&&le.isViewportWrapping===Ne.isViewportWrapping,Ve=le.lineHeight,ze=le.typicalHalfwidthCharacterWidth,We=le.scrollBeyondLastLine,qe=le.minimap.renderCharacters;let Oe=Ie>=2?Math.round(le.minimap.scale*2):le.minimap.scale;const Ge=le.minimap.maxColumn,Qe=le.minimap.size,st=le.minimap.side,nt=le.verticalScrollbarWidth,ot=le.viewLineCount,ct=le.remainingWidth,lt=le.isViewportWrapping,gt=qe?2:3;let at=Math.floor(Ie*be);const ht=at/Ie;let Be=!1,Te=!1,xe=gt*Oe,He=Oe/Ie,Ye=1;if(Qe==="fill"||Qe==="fit"){const{typicalViewportLineCount:$e,extraLinesBeforeFirstLine:et,extraLinesBeyondLastLine:tt,desiredRatio:ut,minimapLineCount:it}=R.computeContainedMinimapLineCount({viewLineCount:ot,scrollBeyondLastLine:We,paddingTop:le.paddingTop,paddingBottom:le.paddingBottom,height:be,lineHeight:Ve,pixelRatio:Ie});if(ot/it>1)Be=!0,Te=!0,Oe=1,xe=1,He=Oe/Ie;else{let dt=!1,ft=Oe+1;if(Qe==="fit"){const St=Math.ceil((et+ot+tt)*xe);lt&&Re&&ct<=pe.stableFitRemainingWidth?(dt=!0,ft=pe.stableFitMaxMinimapScale):dt=St>at}if(Qe==="fill"||dt){Be=!0;const St=Oe;xe=Math.min(Ve*Ie,Math.max(1,Math.floor(1/ut))),lt&&Re&&ct<=pe.stableFitRemainingWidth&&(ft=pe.stableFitMaxMinimapScale),Oe=Math.min(ft,Math.max(1,Math.floor(xe/gt))),Oe>St&&(Ye=Math.min(2,Oe/St)),He=Oe/Ie/Ye,at=Math.ceil(Math.max($e,et+ot+tt)*xe),lt?(pe.stableMinimapLayoutInput=le,pe.stableFitRemainingWidth=ct,pe.stableFitMaxMinimapScale=Oe):(pe.stableMinimapLayoutInput=null,pe.stableFitRemainingWidth=0)}}}const Ze=Math.floor(Ge*He),Xe=Math.min(Ze,Math.max(0,Math.floor((ct-nt-2)*He/(ze+He)))+e.MINIMAP_GUTTER_WIDTH);let je=Math.floor(Ie*Xe);const Ae=je/Ie;je=Math.floor(je*Ye);const Ue=qe?1:2,Ke=st==="left"?0:Ce-Xe-nt;return{renderMinimap:Ue,minimapLeft:Ke,minimapWidth:Xe,minimapHeightIsEditorHeight:Be,minimapIsSampling:Te,minimapScale:Oe,minimapLineHeight:xe,minimapCanvasInnerWidth:je,minimapCanvasInnerHeight:at,minimapCanvasOuterWidth:Ae,minimapCanvasOuterHeight:ht}}static computeLayout(le,pe){const Ce=pe.outerWidth|0,be=pe.outerHeight|0,Ie=pe.lineHeight|0,Ne=pe.lineNumbersDigitCount|0,Re=pe.typicalHalfwidthCharacterWidth,Ve=pe.maxDigitWidth,ze=pe.pixelRatio,We=pe.viewLineCount,qe=le.get(134),Oe=qe==="inherit"?le.get(133):qe,Ge=Oe==="inherit"?le.get(129):Oe,Qe=le.get(132),st=pe.isDominatedByLongLines,nt=le.get(56),ot=le.get(66).renderType!==0,ct=le.get(67),lt=le.get(103),gt=le.get(82),at=le.get(71),ht=le.get(101),Be=ht.verticalScrollbarSize,Te=ht.verticalHasArrows,xe=ht.arrowSize,He=ht.horizontalScrollbarSize,Ye=le.get(42),Ze=le.get(108)!=="never";let Xe=le.get(64);Ye&&Ze&&(Xe+=16);let je=0;if(ot){const wt=Math.max(Ne,ct);je=Math.round(wt*Ve)}let Ae=0;nt&&(Ae=Ie*pe.glyphMarginDecorationLaneCount);let Ue=0,Ke=Ue+Ae,$e=Ke+je,et=$e+Xe;const tt=Ce-Ae-je-Xe;let ut=!1,it=!1,rt=-1;Oe==="inherit"&&st?(ut=!0,it=!0):Ge==="on"||Ge==="bounded"?it=!0:Ge==="wordWrapColumn"&&(rt=Qe);const dt=R._computeMinimapLayout({outerWidth:Ce,outerHeight:be,lineHeight:Ie,typicalHalfwidthCharacterWidth:Re,pixelRatio:ze,scrollBeyondLastLine:lt,paddingTop:gt.top,paddingBottom:gt.bottom,minimap:at,verticalScrollbarWidth:Be,viewLineCount:We,remainingWidth:tt,isViewportWrapping:it},pe.memory||new g);dt.renderMinimap!==0&&dt.minimapLeft===0&&(Ue+=dt.minimapWidth,Ke+=dt.minimapWidth,$e+=dt.minimapWidth,et+=dt.minimapWidth);const ft=tt-dt.minimapWidth,St=Math.max(1,Math.floor((ft-Be-2)/Re)),mt=Te?xe:0;return it&&(rt=Math.max(1,St),Ge==="bounded"&&(rt=Math.min(rt,Qe))),{width:Ce,height:be,glyphMarginLeft:Ue,glyphMarginWidth:Ae,glyphMarginDecorationLaneCount:pe.glyphMarginDecorationLaneCount,lineNumbersLeft:Ke,lineNumbersWidth:je,decorationsLeft:$e,decorationsWidth:Xe,contentLeft:et,contentWidth:ft,minimap:dt,viewportColumn:St,isWordWrapMinified:ut,isViewportWrapping:it,wrappingColumn:rt,verticalScrollbarWidth:Be,horizontalScrollbarHeight:He,overviewRuler:{top:mt,width:Be,height:be-2*mt,right:0}}}}e.EditorLayoutInfoComputer=R;class K extends C{constructor(){super(136,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[f.localize(46,null),f.localize(47,null)],type:"string",enum:["simple","advanced"],default:"simple",description:f.localize(48,null)}})}validate(le){return l(le,"simple",["simple","advanced"])}compute(le,pe,Ce){return pe.get(2)===2?"advanced":Ce}}class G extends C{constructor(){const le={enabled:!0};super(63,"lightbulb",le,{"editor.lightbulb.enabled":{type:"boolean",default:le.enabled,description:f.localize(49,null)}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{enabled:a(le.enabled,this.defaultValue.enabled)}}}class Z extends C{constructor(){const le={enabled:!1,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(113,"stickyScroll",le,{"editor.stickyScroll.enabled":{type:"boolean",default:le.enabled,description:f.localize(50,null)},"editor.stickyScroll.maxLineCount":{type:"number",default:le.maxLineCount,minimum:1,maximum:10,description:f.localize(51,null)},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:le.defaultModel,description:f.localize(52,null)},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:le.scrollWithEditor,description:f.localize(53,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),maxLineCount:r.clampedInt(pe.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:l(pe.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:a(pe.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class J extends C{constructor(){const le={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(138,"inlayHints",le,{"editor.inlayHints.enabled":{type:"string",default:le.enabled,description:f.localize(54,null),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[f.localize(55,null),f.localize(56,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(57,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(58,null)]},"editor.inlayHints.fontSize":{type:"number",default:le.fontSize,markdownDescription:f.localize(59,null,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:le.fontFamily,markdownDescription:f.localize(60,null,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:le.padding,description:f.localize(61,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return typeof pe.enabled=="boolean"&&(pe.enabled=pe.enabled?"on":"off"),{enabled:l(pe.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:r.clampedInt(pe.fontSize,this.defaultValue.fontSize,0,100),fontFamily:d.string(pe.fontFamily,this.defaultValue.fontFamily),padding:a(pe.padding,this.defaultValue.padding)}}}class X extends C{constructor(){super(64,"lineDecorationsWidth",10)}validate(le){return typeof le=="string"&&/^\d+(\.\d+)?ch$/.test(le)?-parseFloat(le.substring(0,le.length-2)):r.clampedInt(le,this.defaultValue,0,1e3)}compute(le,pe,Ce){return Ce<0?r.clampedInt(-Ce*le.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):Ce}}class H extends o{constructor(){super(65,"lineHeight",e.EDITOR_FONT_DEFAULTS.lineHeight,le=>o.clamp(le,0,150),{markdownDescription:f.localize(62,null)})}compute(le,pe,Ce){return le.fontInfo.lineHeight}}class B extends C{constructor(){const le={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(71,"minimap",le,{"editor.minimap.enabled":{type:"boolean",default:le.enabled,description:f.localize(63,null)},"editor.minimap.autohide":{type:"boolean",default:le.autohide,description:f.localize(64,null)},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[f.localize(65,null),f.localize(66,null),f.localize(67,null)],default:le.size,description:f.localize(68,null)},"editor.minimap.side":{type:"string",enum:["left","right"],default:le.side,description:f.localize(69,null)},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:le.showSlider,description:f.localize(70,null)},"editor.minimap.scale":{type:"number",default:le.scale,minimum:1,maximum:3,enum:[1,2,3],description:f.localize(71,null)},"editor.minimap.renderCharacters":{type:"boolean",default:le.renderCharacters,description:f.localize(72,null)},"editor.minimap.maxColumn":{type:"number",default:le.maxColumn,description:f.localize(73,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),autohide:a(pe.autohide,this.defaultValue.autohide),size:l(pe.size,this.defaultValue.size,["proportional","fill","fit"]),side:l(pe.side,this.defaultValue.side,["right","left"]),showSlider:l(pe.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:a(pe.renderCharacters,this.defaultValue.renderCharacters),scale:r.clampedInt(pe.scale,1,1,3),maxColumn:r.clampedInt(pe.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function V(me){return me==="ctrlCmd"?y.isMacintosh?"metaKey":"ctrlKey":"altKey"}class Y extends C{constructor(){super(82,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(74,null)},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(75,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{top:r.clampedInt(pe.top,0,0,1e3),bottom:r.clampedInt(pe.bottom,0,0,1e3)}}}class ie extends C{constructor(){const le={enabled:!0,cycle:!0};super(84,"parameterHints",le,{"editor.parameterHints.enabled":{type:"boolean",default:le.enabled,description:f.localize(76,null)},"editor.parameterHints.cycle":{type:"boolean",default:le.cycle,description:f.localize(77,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),cycle:a(pe.cycle,this.defaultValue.cycle)}}}class ae extends n{constructor(){super(140)}compute(le,pe,Ce){return le.pixelRatio}}class ce extends C{constructor(){const le={other:"on",comments:"off",strings:"off"},pe=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[f.localize(78,null),f.localize(79,null),f.localize(80,null)]}];super(87,"quickSuggestions",le,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:pe,default:le.strings,description:f.localize(81,null)},comments:{anyOf:pe,default:le.comments,description:f.localize(82,null)},other:{anyOf:pe,default:le.other,description:f.localize(83,null)}},default:le,markdownDescription:f.localize(84,null,"#editor.suggestOnTriggerCharacters#")}),this.defaultValue=le}validate(le){if(typeof le=="boolean"){const ze=le?"on":"off";return{comments:ze,strings:ze,other:ze}}if(!le||typeof le!="object")return this.defaultValue;const{other:pe,comments:Ce,strings:be}=le,Ie=["on","inline","off"];let Ne,Re,Ve;return typeof pe=="boolean"?Ne=pe?"on":"off":Ne=l(pe,this.defaultValue.other,Ie),typeof Ce=="boolean"?Re=Ce?"on":"off":Re=l(Ce,this.defaultValue.comments,Ie),typeof be=="boolean"?Ve=be?"on":"off":Ve=l(be,this.defaultValue.strings,Ie),{other:Ne,comments:Re,strings:Ve}}}class de extends C{constructor(){super(66,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[f.localize(85,null),f.localize(86,null),f.localize(87,null),f.localize(88,null)],default:"on",description:f.localize(89,null)})}validate(le){let pe=this.defaultValue.renderType,Ce=this.defaultValue.renderFn;return typeof le<"u"&&(typeof le=="function"?(pe=4,Ce=le):le==="interval"?pe=3:le==="relative"?pe=2:le==="on"?pe=1:pe=0),{renderType:pe,renderFn:Ce}}}function he(me){const le=me.get(96);return le==="editable"?me.get(89):le!=="on"}e.filterValidationDecorations=he;class ue extends C{constructor(){const le=[],pe={type:"number",description:f.localize(90,null)};super(100,"rulers",le,{type:"array",items:{anyOf:[pe,{type:["object"],properties:{column:pe,color:{type:"string",description:f.localize(91,null),format:"color-hex"}}}]},default:le,description:f.localize(92,null)})}validate(le){if(Array.isArray(le)){const pe=[];for(const Ce of le)if(typeof Ce=="number")pe.push({column:r.clampedInt(Ce,0,0,1e4),color:null});else if(Ce&&typeof Ce=="object"){const be=Ce;pe.push({column:r.clampedInt(be.column,0,0,1e4),color:be.color})}return pe.sort((Ce,be)=>Ce.column-be.column),pe}return this.defaultValue}}class te extends C{constructor(){super(90,"readOnlyMessage",void 0)}validate(le){return!le||typeof le!="object"?this.defaultValue:le}}function q(me,le){if(typeof me!="string")return le;switch(me){case"hidden":return 2;case"visible":return 3;default:return 1}}class z extends C{constructor(){const le={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(101,"scrollbar",le,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(93,null),f.localize(94,null),f.localize(95,null)],default:"auto",description:f.localize(96,null)},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(97,null),f.localize(98,null),f.localize(99,null)],default:"auto",description:f.localize(100,null)},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:le.verticalScrollbarSize,description:f.localize(101,null)},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:le.horizontalScrollbarSize,description:f.localize(102,null)},"editor.scrollbar.scrollByPage":{type:"boolean",default:le.scrollByPage,description:f.localize(103,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le,Ce=r.clampedInt(pe.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),be=r.clampedInt(pe.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:r.clampedInt(pe.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:q(pe.vertical,this.defaultValue.vertical),horizontal:q(pe.horizontal,this.defaultValue.horizontal),useShadows:a(pe.useShadows,this.defaultValue.useShadows),verticalHasArrows:a(pe.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:a(pe.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:a(pe.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:a(pe.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:Ce,horizontalSliderSize:r.clampedInt(pe.horizontalSliderSize,Ce,0,1e3),verticalScrollbarSize:be,verticalSliderSize:r.clampedInt(pe.verticalSliderSize,be,0,1e3),scrollByPage:a(pe.scrollByPage,this.defaultValue.scrollByPage)}}}e.inUntrustedWorkspace="inUntrustedWorkspace",e.unicodeHighlightConfigKeys={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class ee extends C{constructor(){const le={nonBasicASCII:e.inUntrustedWorkspace,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:e.inUntrustedWorkspace,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(123,"unicodeHighlight",le,{[e.unicodeHighlightConfigKeys.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.nonBasicASCII,description:f.localize(104,null)},[e.unicodeHighlightConfigKeys.invisibleCharacters]:{restricted:!0,type:"boolean",default:le.invisibleCharacters,description:f.localize(105,null)},[e.unicodeHighlightConfigKeys.ambiguousCharacters]:{restricted:!0,type:"boolean",default:le.ambiguousCharacters,description:f.localize(106,null)},[e.unicodeHighlightConfigKeys.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeComments,description:f.localize(107,null)},[e.unicodeHighlightConfigKeys.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeStrings,description:f.localize(108,null)},[e.unicodeHighlightConfigKeys.allowedCharacters]:{restricted:!0,type:"object",default:le.allowedCharacters,description:f.localize(109,null),additionalProperties:{type:"boolean"}},[e.unicodeHighlightConfigKeys.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:le.allowedLocales,description:f.localize(110,null)}})}applyUpdate(le,pe){let Ce=!1;pe.allowedCharacters&&le&&(k.equals(le.allowedCharacters,pe.allowedCharacters)||(le=Object.assign(Object.assign({},le),{allowedCharacters:pe.allowedCharacters}),Ce=!0)),pe.allowedLocales&&le&&(k.equals(le.allowedLocales,pe.allowedLocales)||(le=Object.assign(Object.assign({},le),{allowedLocales:pe.allowedLocales}),Ce=!0));const be=super.applyUpdate(le,pe);return Ce?new s(be.newValue,!0):be}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{nonBasicASCII:ge(pe.nonBasicASCII,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),invisibleCharacters:a(pe.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:a(pe.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:ge(pe.includeComments,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),includeStrings:ge(pe.includeStrings,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),allowedCharacters:this.validateBooleanMap(le.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(le.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(le,pe){if(typeof le!="object"||!le)return pe;const Ce={};for(const[be,Ie]of Object.entries(le))Ie===!0&&(Ce[be]=!0);return Ce}}class $ extends C{constructor(){const le={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1};super(61,"inlineSuggest",le,{"editor.inlineSuggest.enabled":{type:"boolean",default:le.enabled,description:f.localize(111,null)},"editor.inlineSuggest.showToolbar":{type:"string",default:le.showToolbar,enum:["always","onHover"],enumDescriptions:[f.localize(112,null),f.localize(113,null)],description:f.localize(114,null)},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:le.suppressSuggestions,description:f.localize(115,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),mode:l(pe.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:l(pe.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:a(pe.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:a(pe.keepOnBlur,this.defaultValue.keepOnBlur)}}}class re extends C{constructor(){const le={enabled:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(14,"bracketPairColorization",le,{"editor.bracketPairColorization.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(116,null,"`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:le.independentColorPoolPerBracketType,description:f.localize(117,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:a(pe.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class oe extends C{constructor(){const le={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(15,"guides",le,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(118,null),f.localize(119,null),f.localize(120,null)],default:le.bracketPairs,description:f.localize(121,null)},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(122,null),f.localize(123,null),f.localize(124,null)],default:le.bracketPairsHorizontal,description:f.localize(125,null)},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:le.highlightActiveBracketPair,description:f.localize(126,null)},"editor.guides.indentation":{type:"boolean",default:le.indentation,description:f.localize(127,null)},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[f.localize(128,null),f.localize(129,null),f.localize(130,null)],default:le.highlightActiveIndentation,description:f.localize(131,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{bracketPairs:ge(pe.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:ge(pe.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:a(pe.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:a(pe.indentation,this.defaultValue.indentation),highlightActiveIndentation:ge(pe.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function ge(me,le,pe){const Ce=pe.indexOf(me);return Ce===-1?le:pe[Ce]}class ve extends C{constructor(){const le={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(116,"suggest",le,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[f.localize(132,null),f.localize(133,null)],default:le.insertMode,description:f.localize(134,null)},"editor.suggest.filterGraceful":{type:"boolean",default:le.filterGraceful,description:f.localize(135,null)},"editor.suggest.localityBonus":{type:"boolean",default:le.localityBonus,description:f.localize(136,null)},"editor.suggest.shareSuggestSelections":{type:"boolean",default:le.shareSuggestSelections,markdownDescription:f.localize(137,null)},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[f.localize(138,null),f.localize(139,null),f.localize(140,null),f.localize(141,null)],default:le.selectionMode,markdownDescription:f.localize(142,null)},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:le.snippetsPreventQuickSuggestions,description:f.localize(143,null)},"editor.suggest.showIcons":{type:"boolean",default:le.showIcons,description:f.localize(144,null)},"editor.suggest.showStatusBar":{type:"boolean",default:le.showStatusBar,description:f.localize(145,null)},"editor.suggest.preview":{type:"boolean",default:le.preview,description:f.localize(146,null)},"editor.suggest.showInlineDetails":{type:"boolean",default:le.showInlineDetails,description:f.localize(147,null)},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:f.localize(148,null)},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:f.localize(149,null)},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:f.localize(150,null)},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:f.localize(151,null)},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:f.localize(152,null)},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:f.localize(153,null)},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:f.localize(154,null)},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:f.localize(155,null)},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:f.localize(156,null)},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:f.localize(157,null)},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:f.localize(158,null)},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:f.localize(159,null)},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:f.localize(160,null)},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:f.localize(161,null)},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:f.localize(162,null)},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:f.localize(163,null)},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:f.localize(164,null)},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:f.localize(165,null)},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:f.localize(166,null)},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:f.localize(167,null)},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:f.localize(168,null)},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:f.localize(169,null)},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:f.localize(170,null)},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:f.localize(171,null)},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:f.localize(172,null)},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:f.localize(173,null)},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:f.localize(174,null)},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:f.localize(175,null)},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:f.localize(176,null)},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:f.localize(177,null)},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:f.localize(178,null)},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:f.localize(179,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertMode:l(pe.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:a(pe.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:a(pe.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:a(pe.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:a(pe.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:l(pe.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:a(pe.showIcons,this.defaultValue.showIcons),showStatusBar:a(pe.showStatusBar,this.defaultValue.showStatusBar),preview:a(pe.preview,this.defaultValue.preview),previewMode:l(pe.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:a(pe.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:a(pe.showMethods,this.defaultValue.showMethods),showFunctions:a(pe.showFunctions,this.defaultValue.showFunctions),showConstructors:a(pe.showConstructors,this.defaultValue.showConstructors),showDeprecated:a(pe.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:a(pe.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:a(pe.showFields,this.defaultValue.showFields),showVariables:a(pe.showVariables,this.defaultValue.showVariables),showClasses:a(pe.showClasses,this.defaultValue.showClasses),showStructs:a(pe.showStructs,this.defaultValue.showStructs),showInterfaces:a(pe.showInterfaces,this.defaultValue.showInterfaces),showModules:a(pe.showModules,this.defaultValue.showModules),showProperties:a(pe.showProperties,this.defaultValue.showProperties),showEvents:a(pe.showEvents,this.defaultValue.showEvents),showOperators:a(pe.showOperators,this.defaultValue.showOperators),showUnits:a(pe.showUnits,this.defaultValue.showUnits),showValues:a(pe.showValues,this.defaultValue.showValues),showConstants:a(pe.showConstants,this.defaultValue.showConstants),showEnums:a(pe.showEnums,this.defaultValue.showEnums),showEnumMembers:a(pe.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:a(pe.showKeywords,this.defaultValue.showKeywords),showWords:a(pe.showWords,this.defaultValue.showWords),showColors:a(pe.showColors,this.defaultValue.showColors),showFiles:a(pe.showFiles,this.defaultValue.showFiles),showReferences:a(pe.showReferences,this.defaultValue.showReferences),showFolders:a(pe.showFolders,this.defaultValue.showFolders),showTypeParameters:a(pe.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:a(pe.showSnippets,this.defaultValue.showSnippets),showUsers:a(pe.showUsers,this.defaultValue.showUsers),showIssues:a(pe.showIssues,this.defaultValue.showIssues)}}}class Se extends C{constructor(){super(111,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:f.localize(180,null),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:f.localize(181,null),default:!0,type:"boolean"}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:a(le.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:a(le.selectSubwords,this.defaultValue.selectSubwords)}}}class Le extends C{constructor(){super(135,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[f.localize(182,null),f.localize(183,null),f.localize(184,null),f.localize(185,null)],description:f.localize(186,null),default:"same"}})}validate(le){switch(le){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(le,pe,Ce){return pe.get(2)===2?0:Ce}}class De extends n{constructor(){super(143)}compute(le,pe,Ce){const be=pe.get(142);return{isDominatedByLongLines:le.isDominatedByLongLines,isWordWrapMinified:be.isWordWrapMinified,isViewportWrapping:be.isViewportWrapping,wrappingColumn:be.wrappingColumn}}}class ye extends C{constructor(){const le={enabled:!0,showDropSelector:"afterDrop"};super(35,"dropIntoEditor",le,{"editor.dropIntoEditor.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(187,null)},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:f.localize(188,null),enum:["afterDrop","never"],enumDescriptions:[f.localize(189,null),f.localize(190,null)],default:"afterDrop"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showDropSelector:l(pe.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class Ee extends C{constructor(){const le={enabled:!0,showPasteSelector:"afterPaste"};super(83,"pasteAs",le,{"editor.pasteAs.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(191,null)},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:f.localize(192,null),enum:["afterPaste","never"],enumDescriptions:[f.localize(193,null),f.localize(194,null)],default:"afterPaste"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showPasteSelector:l(pe.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const Me="Consolas, 'Courier New', monospace",Pe="Menlo, Monaco, 'Courier New', monospace",Fe="'Droid Sans Mono', 'monospace', monospace";e.EDITOR_FONT_DEFAULTS={fontFamily:y.isMacintosh?Pe:y.isLinux?Fe:Me,fontWeight:"normal",fontSize:y.isMacintosh?12:14,lineHeight:0,letterSpacing:0},e.editorOptionsRegistry=[];function _e(me){return e.editorOptionsRegistry[me.id]=me,me}e.EditorOptions={acceptSuggestionOnCommitCharacter:_e(new u(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:f.localize(195,null)})),acceptSuggestionOnEnter:_e(new p(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",f.localize(196,null),""],markdownDescription:f.localize(197,null)})),accessibilitySupport:_e(new b),accessibilityPageSize:_e(new r(3,"accessibilityPageSize",10,1,1073741824,{description:f.localize(198,null),tags:["accessibility"]})),ariaLabel:_e(new d(4,"ariaLabel",f.localize(199,null))),ariaRequired:_e(new u(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:_e(new u(7,"screenReaderAnnounceInlineSuggestion",!0,{description:f.localize(200,null),tags:["accessibility"]})),autoClosingBrackets:_e(new p(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(201,null),f.localize(202,null),""],description:f.localize(203,null)})),autoClosingDelete:_e(new p(8,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",f.localize(204,null),""],description:f.localize(205,null)})),autoClosingOvertype:_e(new p(9,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",f.localize(206,null),""],description:f.localize(207,null)})),autoClosingQuotes:_e(new p(10,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(208,null),f.localize(209,null),""],description:f.localize(210,null)})),autoIndent:_e(new m(11,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],v,{enumDescriptions:[f.localize(211,null),f.localize(212,null),f.localize(213,null),f.localize(214,null),f.localize(215,null)],description:f.localize(216,null)})),automaticLayout:_e(new u(12,"automaticLayout",!1)),autoSurround:_e(new p(13,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[f.localize(217,null),f.localize(218,null),f.localize(219,null),""],description:f.localize(220,null)})),bracketPairColorization:_e(new re),bracketPairGuides:_e(new oe),stickyTabStops:_e(new u(114,"stickyTabStops",!1,{description:f.localize(221,null)})),codeLens:_e(new u(16,"codeLens",!0,{description:f.localize(222,null)})),codeLensFontFamily:_e(new d(17,"codeLensFontFamily","",{description:f.localize(223,null)})),codeLensFontSize:_e(new r(18,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:f.localize(224,null)})),colorDecorators:_e(new u(19,"colorDecorators",!0,{description:f.localize(225,null)})),colorDecoratorActivatedOn:_e(new p(145,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[f.localize(226,null),f.localize(227,null),f.localize(228,null)],description:f.localize(229,null)})),colorDecoratorsLimit:_e(new r(20,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:f.localize(230,null)})),columnSelection:_e(new u(21,"columnSelection",!1,{description:f.localize(231,null)})),comments:_e(new w),contextmenu:_e(new u(23,"contextmenu",!0)),copyWithSyntaxHighlighting:_e(new u(24,"copyWithSyntaxHighlighting",!0,{description:f.localize(232,null)})),cursorBlinking:_e(new m(25,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],E,{description:f.localize(233,null)})),cursorSmoothCaretAnimation:_e(new p(26,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[f.localize(234,null),f.localize(235,null),f.localize(236,null)],description:f.localize(237,null)})),cursorStyle:_e(new m(27,"cursorStyle",I.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],M,{description:f.localize(238,null)})),cursorSurroundingLines:_e(new r(28,"cursorSurroundingLines",0,0,1073741824,{description:f.localize(239,null)})),cursorSurroundingLinesStyle:_e(new p(29,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[f.localize(240,null),f.localize(241,null)],description:f.localize(242,null)})),cursorWidth:_e(new r(30,"cursorWidth",0,0,1073741824,{markdownDescription:f.localize(243,null)})),disableLayerHinting:_e(new u(31,"disableLayerHinting",!1)),disableMonospaceOptimizations:_e(new u(32,"disableMonospaceOptimizations",!1)),domReadOnly:_e(new u(33,"domReadOnly",!1)),dragAndDrop:_e(new u(34,"dragAndDrop",!0,{description:f.localize(244,null)})),emptySelectionClipboard:_e(new x),dropIntoEditor:_e(new ye),stickyScroll:_e(new Z),experimentalWhitespaceRendering:_e(new p(37,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[f.localize(245,null),f.localize(246,null),f.localize(247,null)],description:f.localize(248,null)})),extraEditorClassName:_e(new d(38,"extraEditorClassName","")),fastScrollSensitivity:_e(new o(39,"fastScrollSensitivity",5,me=>me<=0?5:me,{markdownDescription:f.localize(249,null)})),find:_e(new T),fixedOverflowWidgets:_e(new u(41,"fixedOverflowWidgets",!1)),folding:_e(new u(42,"folding",!0,{description:f.localize(250,null)})),foldingStrategy:_e(new p(43,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[f.localize(251,null),f.localize(252,null)],description:f.localize(253,null)})),foldingHighlight:_e(new u(44,"foldingHighlight",!0,{description:f.localize(254,null)})),foldingImportsByDefault:_e(new u(45,"foldingImportsByDefault",!1,{description:f.localize(255,null)})),foldingMaximumRegions:_e(new r(46,"foldingMaximumRegions",5e3,10,65e3,{description:f.localize(256,null)})),unfoldOnClickAfterEndOfLine:_e(new u(47,"unfoldOnClickAfterEndOfLine",!1,{description:f.localize(257,null)})),fontFamily:_e(new d(48,"fontFamily",e.EDITOR_FONT_DEFAULTS.fontFamily,{description:f.localize(258,null)})),fontInfo:_e(new F),fontLigatures2:_e(new A),fontSize:_e(new O),fontWeight:_e(new W),fontVariations:_e(new N),formatOnPaste:_e(new u(54,"formatOnPaste",!1,{description:f.localize(259,null)})),formatOnType:_e(new u(55,"formatOnType",!1,{description:f.localize(260,null)})),glyphMargin:_e(new u(56,"glyphMargin",!0,{description:f.localize(261,null)})),gotoLocation:_e(new U),hideCursorInOverviewRuler:_e(new u(58,"hideCursorInOverviewRuler",!1,{description:f.localize(262,null)})),hover:_e(new j),inDiffEditor:_e(new u(60,"inDiffEditor",!1)),letterSpacing:_e(new o(62,"letterSpacing",e.EDITOR_FONT_DEFAULTS.letterSpacing,me=>o.clamp(me,-5,20),{description:f.localize(263,null)})),lightbulb:_e(new G),lineDecorationsWidth:_e(new X),lineHeight:_e(new H),lineNumbers:_e(new de),lineNumbersMinChars:_e(new r(67,"lineNumbersMinChars",5,1,300)),linkedEditing:_e(new u(68,"linkedEditing",!1,{description:f.localize(264,null)})),links:_e(new u(69,"links",!0,{description:f.localize(265,null)})),matchBrackets:_e(new p(70,"matchBrackets","always",["always","near","never"],{description:f.localize(266,null)})),minimap:_e(new B),mouseStyle:_e(new p(72,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:_e(new o(73,"mouseWheelScrollSensitivity",1,me=>me===0?1:me,{markdownDescription:f.localize(267,null)})),mouseWheelZoom:_e(new u(74,"mouseWheelZoom",!1,{markdownDescription:f.localize(268,null)})),multiCursorMergeOverlapping:_e(new u(75,"multiCursorMergeOverlapping",!0,{description:f.localize(269,null)})),multiCursorModifier:_e(new m(76,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],V,{markdownEnumDescriptions:[f.localize(270,null),f.localize(271,null)],markdownDescription:f.localize(272,null)})),multiCursorPaste:_e(new p(77,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[f.localize(273,null),f.localize(274,null)],markdownDescription:f.localize(275,null)})),multiCursorLimit:_e(new r(78,"multiCursorLimit",1e4,1,1e5,{markdownDescription:f.localize(276,null)})),occurrencesHighlight:_e(new u(79,"occurrencesHighlight",!0,{description:f.localize(277,null)})),overviewRulerBorder:_e(new u(80,"overviewRulerBorder",!0,{description:f.localize(278,null)})),overviewRulerLanes:_e(new r(81,"overviewRulerLanes",3,0,3)),padding:_e(new Y),pasteAs:_e(new Ee),parameterHints:_e(new ie),peekWidgetDefaultFocus:_e(new p(85,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[f.localize(279,null),f.localize(280,null)],description:f.localize(281,null)})),definitionLinkOpensInPeek:_e(new u(86,"definitionLinkOpensInPeek",!1,{description:f.localize(282,null)})),quickSuggestions:_e(new ce),quickSuggestionsDelay:_e(new r(88,"quickSuggestionsDelay",10,0,1073741824,{description:f.localize(283,null)})),readOnly:_e(new u(89,"readOnly",!1)),readOnlyMessage:_e(new te),renameOnType:_e(new u(91,"renameOnType",!1,{description:f.localize(284,null),markdownDeprecationMessage:f.localize(285,null)})),renderControlCharacters:_e(new u(92,"renderControlCharacters",!0,{description:f.localize(286,null),restricted:!0})),renderFinalNewline:_e(new p(93,"renderFinalNewline",y.isLinux?"dimmed":"on",["off","on","dimmed"],{description:f.localize(287,null)})),renderLineHighlight:_e(new p(94,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",f.localize(288,null)],description:f.localize(289,null)})),renderLineHighlightOnlyWhenFocus:_e(new u(95,"renderLineHighlightOnlyWhenFocus",!1,{description:f.localize(290,null)})),renderValidationDecorations:_e(new p(96,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:_e(new p(97,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",f.localize(291,null),f.localize(292,null),f.localize(293,null),""],description:f.localize(294,null)})),revealHorizontalRightPadding:_e(new r(98,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:_e(new u(99,"roundedSelection",!0,{description:f.localize(295,null)})),rulers:_e(new ue),scrollbar:_e(new z),scrollBeyondLastColumn:_e(new r(102,"scrollBeyondLastColumn",4,0,1073741824,{description:f.localize(296,null)})),scrollBeyondLastLine:_e(new u(103,"scrollBeyondLastLine",!0,{description:f.localize(297,null)})),scrollPredominantAxis:_e(new u(104,"scrollPredominantAxis",!0,{description:f.localize(298,null)})),selectionClipboard:_e(new u(105,"selectionClipboard",!0,{description:f.localize(299,null),included:y.isLinux})),selectionHighlight:_e(new u(106,"selectionHighlight",!0,{description:f.localize(300,null)})),selectOnLineNumbers:_e(new u(107,"selectOnLineNumbers",!0)),showFoldingControls:_e(new p(108,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[f.localize(301,null),f.localize(302,null),f.localize(303,null)],description:f.localize(304,null)})),showUnused:_e(new u(109,"showUnused",!0,{description:f.localize(305,null)})),showDeprecated:_e(new u(137,"showDeprecated",!0,{description:f.localize(306,null)})),inlayHints:_e(new J),snippetSuggestions:_e(new p(110,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[f.localize(307,null),f.localize(308,null),f.localize(309,null),f.localize(310,null)],description:f.localize(311,null)})),smartSelect:_e(new Se),smoothScrolling:_e(new u(112,"smoothScrolling",!1,{description:f.localize(312,null)})),stopRenderingLineAfter:_e(new r(115,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:_e(new ve),inlineSuggest:_e(new $),inlineCompletionsAccessibilityVerbose:_e(new u(146,"inlineCompletionsAccessibilityVerbose",!1,{description:f.localize(313,null)})),suggestFontSize:_e(new r(117,"suggestFontSize",0,0,1e3,{markdownDescription:f.localize(314,null,"`0`","`#editor.fontSize#`")})),suggestLineHeight:_e(new r(118,"suggestLineHeight",0,0,1e3,{markdownDescription:f.localize(315,null,"`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:_e(new u(119,"suggestOnTriggerCharacters",!0,{description:f.localize(316,null)})),suggestSelection:_e(new p(120,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[f.localize(317,null),f.localize(318,null),f.localize(319,null)],description:f.localize(320,null)})),tabCompletion:_e(new p(121,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[f.localize(321,null),f.localize(322,null),f.localize(323,null)],description:f.localize(324,null)})),tabIndex:_e(new r(122,"tabIndex",0,-1,1073741824)),unicodeHighlight:_e(new ee),unusualLineTerminators:_e(new p(124,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[f.localize(325,null),f.localize(326,null),f.localize(327,null)],description:f.localize(328,null)})),useShadowDOM:_e(new u(125,"useShadowDOM",!0)),useTabStops:_e(new u(126,"useTabStops",!0,{description:f.localize(329,null)})),wordBreak:_e(new p(127,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[f.localize(330,null),f.localize(331,null)],description:f.localize(332,null)})),wordSeparators:_e(new d(128,"wordSeparators",S.USUAL_WORD_SEPARATORS,{description:f.localize(333,null)})),wordWrap:_e(new p(129,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[f.localize(334,null),f.localize(335,null),f.localize(336,null),f.localize(337,null)],description:f.localize(338,null)})),wordWrapBreakAfterCharacters:_e(new d(130,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:_e(new d(131,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:_e(new r(132,"wordWrapColumn",80,1,1073741824,{markdownDescription:f.localize(339,null)})),wordWrapOverride1:_e(new p(133,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:_e(new p(134,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:_e(new P),defaultColorDecorators:_e(new u(144,"defaultColorDecorators",!1,{markdownDescription:f.localize(340,null)})),pixelRatio:_e(new ae),tabFocusMode:_e(new u(141,"tabFocusMode",!1,{markdownDescription:f.localize(341,null)})),layoutInfo:_e(new R),wrappingInfo:_e(new De),wrappingIndent:_e(new Le),wrappingStrategy:_e(new K)}}),define(ne[620],se([1,0,7,35,11,59,36,12,5,173]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursor=void 0;class C{constructor(n,t,a,u,h,r,c){this.top=n,this.left=t,this.paddingLeft=a,this.width=u,this.height=h,this.textContent=r,this.textContentClassName=c}}class s{constructor(n){this._context=n;const t=this._context.configuration.options,a=t.get(49);this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,k.createFastDomNode)(document.createElement("div")),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,D.applyFontInfo)(this._domNode,a),this._domNode.setDisplay("none"),this._position=new f.Position(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(49);return this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),(0,D.applyFontInfo)(this._domNode,a),!0}onCursorPositionChanged(n,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=n,!0}_getGraphemeAwarePosition(){const{lineNumber:n,column:t}=this._position,a=this._context.viewModel.getLineContent(n),[u,h]=y.getCharContainingOffset(a,t-1);return[new f.Position(n,u+1),a.substring(u,h)]}_prepareRender(n){let t="",a="";const[u,h]=this._getGraphemeAwarePosition();if(this._cursorStyle===S.TextEditorCursorStyle.Line||this._cursorStyle===S.TextEditorCursorStyle.LineThin){const m=n.visibleRangeForPosition(u);if(!m||m.outsideRenderedLine)return null;let v;this._cursorStyle===S.TextEditorCursorStyle.Line?(v=L.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),v>2&&(t=h,a=this._getTokenClassName(u))):v=L.computeScreenAwareSize(1);let b=m.left,w=0;v>=2&&b>=1&&(w=1,b-=w);const E=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta;return new C(E,b,w,v,this._lineHeight,t,a)}const r=n.linesVisibleRangesForRange(new _.Range(u.lineNumber,u.column,u.lineNumber,u.column+h.length),!1);if(!r||r.length===0)return null;const c=r[0];if(c.outsideRenderedLine||c.ranges.length===0)return null;const o=c.ranges[0],d=h===" "?this._typicalHalfwidthCharacterWidth:o.width<1?this._typicalHalfwidthCharacterWidth:o.width;this._cursorStyle===S.TextEditorCursorStyle.Block&&(t=h,a=this._getTokenClassName(u));let l=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta,p=this._lineHeight;return(this._cursorStyle===S.TextEditorCursorStyle.Underline||this._cursorStyle===S.TextEditorCursorStyle.UnderlineThin)&&(l+=this._lineHeight-2,p=2),new C(l,o.left,0,d,p,t,a)}_getTokenClassName(n){const t=this._context.viewModel.getViewLineData(n.lineNumber),a=t.tokens.findTokenIndexAtOffset(n.column-1);return t.tokens.getClassName(a)}prepareRender(n){this._renderData=this._prepareRender(n)}render(n){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}e.ViewCursor=s}),define(ne[621],se([1,0,42,271,36]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorOptions=void 0;class D{get editorOptions(){return this._options}constructor(_,g){this.diffEditorWidth=g,this.couldShowInlineViewBecauseOfSize=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&this.diffEditorWidth.read(s)<=this._options.read(s).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,L.derived)(s=>this._options.read(s).renderOverviewRuler),this.renderSideBySide=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&!(this._options.read(s).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(s))),this.readOnly=(0,L.derived)(s=>this._options.read(s).readOnly),this.shouldRenderRevertArrows=(0,L.derived)(s=>!(!this._options.read(s).renderMarginRevertIcon||!this.renderSideBySide.read(s)||this.readOnly.read(s))),this.renderIndicators=(0,L.derived)(s=>this._options.read(s).renderIndicators),this.enableSplitViewResizing=(0,L.derived)(s=>this._options.read(s).enableSplitViewResizing),this.splitViewDefaultRatio=(0,L.derived)(s=>this._options.read(s).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,L.derived)(s=>this._options.read(s).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,L.derived)(s=>this._options.read(s).maxComputationTime),this.showMoves=(0,L.derived)(s=>this._options.read(s).experimental.showMoves&&this.renderSideBySide.read(s)),this.isInEmbeddedEditor=(0,L.derived)(s=>this._options.read(s).isInEmbeddedEditor),this.diffWordWrap=(0,L.derived)(s=>this._options.read(s).diffWordWrap),this.originalEditable=(0,L.derived)(s=>this._options.read(s).originalEditable),this.diffCodeLens=(0,L.derived)(s=>this._options.read(s).diffCodeLens),this.accessibilityVerbose=(0,L.derived)(s=>this._options.read(s).accessibilityVerbose),this.diffAlgorithm=(0,L.derived)(s=>this._options.read(s).diffAlgorithm),this.showEmptyDecorations=(0,L.derived)(s=>this._options.read(s).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,L.derived)(s=>this._options.read(s).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsminimumLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.minimumLineCount);const C=Object.assign(Object.assign({},_),S(_,k.diffEditorDefaultOptions));this._options=(0,L.observableValue)("options",C)}updateOptions(_){const g=S(_,this._options.get()),C=Object.assign(Object.assign(Object.assign({},this._options.get()),_),g);this._options.set(C,void 0,{changedOptions:_})}}e.DiffEditorOptions=D;function S(f,_){var g,C,s,i,n,t,a,u;return{enableSplitViewResizing:(0,y.boolean)(f.enableSplitViewResizing,_.enableSplitViewResizing),splitViewDefaultRatio:(0,y.clampedFloat)(f.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,y.boolean)(f.renderSideBySide,_.renderSideBySide),renderMarginRevertIcon:(0,y.boolean)(f.renderMarginRevertIcon,_.renderMarginRevertIcon),maxComputationTime:(0,y.clampedInt)(f.maxComputationTime,_.maxComputationTime,0,1073741824),maxFileSize:(0,y.clampedInt)(f.maxFileSize,_.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,y.boolean)(f.ignoreTrimWhitespace,_.ignoreTrimWhitespace),renderIndicators:(0,y.boolean)(f.renderIndicators,_.renderIndicators),originalEditable:(0,y.boolean)(f.originalEditable,_.originalEditable),diffCodeLens:(0,y.boolean)(f.diffCodeLens,_.diffCodeLens),renderOverviewRuler:(0,y.boolean)(f.renderOverviewRuler,_.renderOverviewRuler),diffWordWrap:(0,y.stringSet)(f.diffWordWrap,_.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,y.stringSet)(f.diffAlgorithm,_.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,y.boolean)(f.accessibilityVerbose,_.accessibilityVerbose),experimental:{showMoves:(0,y.boolean)((g=f.experimental)===null||g===void 0?void 0:g.showMoves,_.experimental.showMoves),showEmptyDecorations:(0,y.boolean)((C=f.experimental)===null||C===void 0?void 0:C.showEmptyDecorations,_.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,y.boolean)((i=(s=f.hideUnchangedRegions)===null||s===void 0?void 0:s.enabled)!==null&&i!==void 0?i:(n=f.experimental)===null||n===void 0?void 0:n.collapseUnchangedRegions,_.hideUnchangedRegions.enabled),contextLineCount:(0,y.clampedInt)((t=f.hideUnchangedRegions)===null||t===void 0?void 0:t.contextLineCount,_.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,y.clampedInt)((a=f.hideUnchangedRegions)===null||a===void 0?void 0:a.minimumLineCount,_.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,y.clampedInt)((u=f.hideUnchangedRegions)===null||u===void 0?void 0:u.revealLineCount,_.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,y.boolean)(f.isInEmbeddedEditor,_.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,y.boolean)(f.onlyShowAccessibleDiffViewer,_.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,y.clampedInt)(f.renderSideBySideInlineBreakpoint,_.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,y.boolean)(f.useInlineViewWhenSpaceIsLimited,_.useInlineViewWhenSpaceIsLimited)}}}),define(ne[231],se([1,0,17,36,145]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontInfo=e.SERIALIZED_FONT_INFO_VERSION=e.BareFontInfo=void 0;const D=L.isMacintosh?1.5:1.35,S=8;class f{static createFromValidatedSettings(C,s,i){const n=C.get(48),t=C.get(52),a=C.get(51),u=C.get(50),h=C.get(53),r=C.get(65),c=C.get(62);return f._create(n,t,a,u,h,r,c,s,i)}static _create(C,s,i,n,t,a,u,h,r){a===0?a=D*i:a{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const s=this._cache.getValues();let i=!1;for(const n of s)n.isTrusted||(i=!0,this._cache.remove(n));i&&this._onDidChange.fire()}readFontInfo(s){if(!this._cache.has(s)){let i=this._actualReadFontInfo(s);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(s,i)}return this._cache.get(s)}_createRequest(s,i,n,t){const a=new D.CharWidthRequest(s,i);return n.push(a),t?.push(a),a}_actualReadFontInfo(s){const i=[],n=[],t=this._createRequest("n",0,i,n),a=this._createRequest("\uFF4D",0,i,null),u=this._createRequest(" ",0,i,n),h=this._createRequest("0",0,i,n),r=this._createRequest("1",0,i,n),c=this._createRequest("2",0,i,n),o=this._createRequest("3",0,i,n),d=this._createRequest("4",0,i,n),l=this._createRequest("5",0,i,n),p=this._createRequest("6",0,i,n),m=this._createRequest("7",0,i,n),v=this._createRequest("8",0,i,n),b=this._createRequest("9",0,i,n),w=this._createRequest("\u2192",0,i,n),E=this._createRequest("\uFFEB",0,i,null),I=this._createRequest("\xB7",0,i,n),M=this._createRequest(String.fromCharCode(11825),0,i,null),P="|/-_ilm%";for(let F=0,O=P.length;F.001){T=!1;break}}let N=!0;return T&&E.width!==A&&(N=!1),E.width>w.width&&(N=!1),new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:s.fontFamily,fontWeight:s.fontWeight,fontSize:s.fontSize,fontFeatureSettings:s.fontFeatureSettings,fontVariationSettings:s.fontVariationSettings,lineHeight:s.lineHeight,letterSpacing:s.letterSpacing,isMonospace:T,typicalHalfwidthCharacterWidth:t.width,typicalFullwidthCharacterWidth:a.width,canUseHalfwidthRightwardsArrow:N,spaceWidth:u.width,middotWidth:I.width,wsmiddotWidth:M.width,maxDigitWidth:x},!0)}}e.FontMeasurementsImpl=_;class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(s){const i=s.getId();return!!this._values[i]}get(s){const i=s.getId();return this._values[i]}put(s,i){const n=s.getId();this._keys[n]=s,this._values[n]=i}remove(s){const i=s.getId();delete this._keys[i],delete this._values[i]}getValues(){return Object.keys(this._keys).map(s=>this._values[s])}}e.FontMeasurements=new _}),define(ne[325],se([1,0,12,5,67,36]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isModelDecorationInString=e.isModelDecorationInComment=e.isModelDecorationVisible=e.ViewModelDecorations=void 0;class S{constructor(i,n,t,a,u){this.editorId=i,this.model=n,this.configuration=t,this._linesCollection=a,this._coordinatesConverter=u,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(i){const n=i.id;let t=this._decorationsCache[n];if(!t){const a=i.range,u=i.options;let h;if(u.isWholeLine){const r=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.startLineNumber,1),0,!1,!0),c=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber)),1);h=new k.Range(r.lineNumber,r.column,c.lineNumber,c.column)}else h=this._coordinatesConverter.convertModelRangeToViewRange(a,1);t=new y.ViewModelDecoration(h,u),this._decorationsCache[n]=t}return t}getMinimapDecorationsInRange(i){return this._getDecorationsInRange(i,!0,!1).decorations}getDecorationsViewportData(i){let n=this._cachedModelDecorationsResolver!==null;return n=n&&i.equalsRange(this._cachedModelDecorationsResolverViewRange),n||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(i,!1,!1),this._cachedModelDecorationsResolverViewRange=i),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(i,n=!1,t=!1){const a=new k.Range(i,this._linesCollection.getViewLineMinColumn(i),i,this._linesCollection.getViewLineMaxColumn(i));return this._getDecorationsInRange(a,n,t).inlineDecorations[0]}_getDecorationsInRange(i,n,t){const a=this._linesCollection.getDecorationsInRange(i,this.editorId,(0,D.filterValidationDecorations)(this.configuration.options),n,t),u=i.startLineNumber,h=i.endLineNumber,r=[];let c=0;const o=[];for(let d=u;d<=h;d++)o[d-u]=[];for(let d=0,l=a.length;dn===1)}e.isModelDecorationInComment=_;function g(s,i){return C(s,i.range,n=>n===2)}e.isModelDecorationInString=g;function C(s,i,n){for(let t=i.startLineNumber;t<=i.endLineNumber;t++){const a=s.tokenization.getLineTokens(t),u=t===i.startLineNumber,h=t===i.endLineNumber;let r=u?a.findTokenIndexAtOffset(i.startColumn-1):0;for(;ri.endColumn-1);){if(!n(a.getStandardTokenType(r)))return!1;r++}}return!0}}),define(ne[622],se([3,4]),function(Q,e){return Q.create("vs/editor/common/core/editorColorRegistry",e)}),define(ne[623],se([3,4]),function(Q,e){return Q.create("vs/editor/common/editorContextKeys",e)}),define(ne[624],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages",e)}),define(ne[29],se([1,0,25,22,5,515,624]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationRegistry=e.LazyTokenizationSupport=e.InlayHintKind=e.Command=e.FoldingRangeKind=e.TextEdit=e.SymbolKinds=e.getAriaLabelForSymbol=e.symbolKindNames=e.isLocationLink=e.DocumentHighlightKind=e.SignatureHelpTriggerKind=e.SelectedSuggestionInfo=e.InlineCompletionTriggerKind=e.CompletionItemKinds=e.EncodedTokenizationResult=e.TokenizationResult=e.Token=void 0;class f{constructor(m,v,b){this.offset=m,this.type=v,this.language=b,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}e.Token=f;class _{constructor(m,v){this.tokens=m,this.endState=v,this._tokenizationResultBrand=void 0}}e.TokenizationResult=_;class g{constructor(m,v){this.tokens=m,this.endState=v,this._encodedTokenizationResultBrand=void 0}}e.EncodedTokenizationResult=g;var C;(function(p){const m=new Map;m.set(0,L.Codicon.symbolMethod),m.set(1,L.Codicon.symbolFunction),m.set(2,L.Codicon.symbolConstructor),m.set(3,L.Codicon.symbolField),m.set(4,L.Codicon.symbolVariable),m.set(5,L.Codicon.symbolClass),m.set(6,L.Codicon.symbolStruct),m.set(7,L.Codicon.symbolInterface),m.set(8,L.Codicon.symbolModule),m.set(9,L.Codicon.symbolProperty),m.set(10,L.Codicon.symbolEvent),m.set(11,L.Codicon.symbolOperator),m.set(12,L.Codicon.symbolUnit),m.set(13,L.Codicon.symbolValue),m.set(15,L.Codicon.symbolEnum),m.set(14,L.Codicon.symbolConstant),m.set(15,L.Codicon.symbolEnum),m.set(16,L.Codicon.symbolEnumMember),m.set(17,L.Codicon.symbolKeyword),m.set(27,L.Codicon.symbolSnippet),m.set(18,L.Codicon.symbolText),m.set(19,L.Codicon.symbolColor),m.set(20,L.Codicon.symbolFile),m.set(21,L.Codicon.symbolReference),m.set(22,L.Codicon.symbolCustomColor),m.set(23,L.Codicon.symbolFolder),m.set(24,L.Codicon.symbolTypeParameter),m.set(25,L.Codicon.account),m.set(26,L.Codicon.issues);function v(E){let I=m.get(E);return I||(console.info("No codicon found for CompletionItemKind "+E),I=L.Codicon.symbolProperty),I}p.toIcon=v;const b=new Map;b.set("method",0),b.set("function",1),b.set("constructor",2),b.set("field",3),b.set("variable",4),b.set("class",5),b.set("struct",6),b.set("interface",7),b.set("module",8),b.set("property",9),b.set("event",10),b.set("operator",11),b.set("unit",12),b.set("value",13),b.set("constant",14),b.set("enum",15),b.set("enum-member",16),b.set("enumMember",16),b.set("keyword",17),b.set("snippet",27),b.set("text",18),b.set("color",19),b.set("file",20),b.set("reference",21),b.set("customcolor",22),b.set("folder",23),b.set("type-parameter",24),b.set("typeParameter",24),b.set("account",25),b.set("issue",26);function w(E,I){let M=b.get(E);return typeof M>"u"&&!I&&(M=9),M}p.fromString=w})(C||(e.CompletionItemKinds=C={}));var s;(function(p){p[p.Automatic=0]="Automatic",p[p.Explicit=1]="Explicit"})(s||(e.InlineCompletionTriggerKind=s={}));class i{constructor(m,v,b,w){this.range=m,this.text=v,this.completionKind=b,this.isSnippetText=w}equals(m){return y.Range.lift(this.range).equalsRange(m.range)&&this.text===m.text&&this.completionKind===m.completionKind&&this.isSnippetText===m.isSnippetText}}e.SelectedSuggestionInfo=i;var n;(function(p){p[p.Invoke=1]="Invoke",p[p.TriggerCharacter=2]="TriggerCharacter",p[p.ContentChange=3]="ContentChange"})(n||(e.SignatureHelpTriggerKind=n={}));var t;(function(p){p[p.Text=0]="Text",p[p.Read=1]="Read",p[p.Write=2]="Write"})(t||(e.DocumentHighlightKind=t={}));function a(p){return p&&k.URI.isUri(p.uri)&&y.Range.isIRange(p.range)&&(y.Range.isIRange(p.originSelectionRange)||y.Range.isIRange(p.targetSelectionRange))}e.isLocationLink=a,e.symbolKindNames={[17]:(0,S.localize)(0,null),[16]:(0,S.localize)(1,null),[4]:(0,S.localize)(2,null),[13]:(0,S.localize)(3,null),[8]:(0,S.localize)(4,null),[9]:(0,S.localize)(5,null),[21]:(0,S.localize)(6,null),[23]:(0,S.localize)(7,null),[7]:(0,S.localize)(8,null),[0]:(0,S.localize)(9,null),[11]:(0,S.localize)(10,null),[10]:(0,S.localize)(11,null),[19]:(0,S.localize)(12,null),[5]:(0,S.localize)(13,null),[1]:(0,S.localize)(14,null),[2]:(0,S.localize)(15,null),[20]:(0,S.localize)(16,null),[15]:(0,S.localize)(17,null),[18]:(0,S.localize)(18,null),[24]:(0,S.localize)(19,null),[3]:(0,S.localize)(20,null),[6]:(0,S.localize)(21,null),[14]:(0,S.localize)(22,null),[22]:(0,S.localize)(23,null),[25]:(0,S.localize)(24,null),[12]:(0,S.localize)(25,null)};function u(p,m){return(0,S.localize)(26,null,p,e.symbolKindNames[m])}e.getAriaLabelForSymbol=u;var h;(function(p){const m=new Map;m.set(0,L.Codicon.symbolFile),m.set(1,L.Codicon.symbolModule),m.set(2,L.Codicon.symbolNamespace),m.set(3,L.Codicon.symbolPackage),m.set(4,L.Codicon.symbolClass),m.set(5,L.Codicon.symbolMethod),m.set(6,L.Codicon.symbolProperty),m.set(7,L.Codicon.symbolField),m.set(8,L.Codicon.symbolConstructor),m.set(9,L.Codicon.symbolEnum),m.set(10,L.Codicon.symbolInterface),m.set(11,L.Codicon.symbolFunction),m.set(12,L.Codicon.symbolVariable),m.set(13,L.Codicon.symbolConstant),m.set(14,L.Codicon.symbolString),m.set(15,L.Codicon.symbolNumber),m.set(16,L.Codicon.symbolBoolean),m.set(17,L.Codicon.symbolArray),m.set(18,L.Codicon.symbolObject),m.set(19,L.Codicon.symbolKey),m.set(20,L.Codicon.symbolNull),m.set(21,L.Codicon.symbolEnumMember),m.set(22,L.Codicon.symbolStruct),m.set(23,L.Codicon.symbolEvent),m.set(24,L.Codicon.symbolOperator),m.set(25,L.Codicon.symbolTypeParameter);function v(b){let w=m.get(b);return w||(console.info("No codicon found for SymbolKind "+b),w=L.Codicon.symbolProperty),w}p.toIcon=v})(h||(e.SymbolKinds=h={}));class r{}e.TextEdit=r;class c{static fromValue(m){switch(m){case"comment":return c.Comment;case"imports":return c.Imports;case"region":return c.Region}return new c(m)}constructor(m){this.value=m}}e.FoldingRangeKind=c,c.Comment=new c("comment"),c.Imports=new c("imports"),c.Region=new c("region");var o;(function(p){function m(v){return!v||typeof v!="object"?!1:typeof v.id=="string"&&typeof v.title=="string"}p.is=m})(o||(e.Command=o={}));var d;(function(p){p[p.Type=1]="Type",p[p.Parameter=2]="Parameter"})(d||(e.InlayHintKind=d={}));class l{constructor(m){this.createSupport=m,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(m=>{m&&m.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}e.LazyTokenizationSupport=l,e.TokenizationRegistry=new D.TokenizationRegistry}),define(ne[154],se([1,0,29]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nullTokenizeEncoded=e.nullTokenize=e.NullState=void 0,e.NullState=new class{clone(){return this}equals(D){return this===D}};function k(D,S){return new L.TokenizationResult([new L.Token(0,"",D)],S)}e.nullTokenize=k;function y(D,S){const f=new Uint32Array(2);return f[0]=0,f[1]=(D<<0|0<<8|0<<11|1<<15|2<<24)>>>0,new L.EncodedTokenizationResult(f,S===null?e.NullState:S)}e.nullTokenizeEncoded=y}),define(ne[326],se([1,0,11,86,29,154]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._tokenizeToString=e.tokenizeLineToHTML=e.tokenizeToString=void 0;const S={getInitialState:()=>D.NullState,tokenizeEncoded:(C,s,i)=>(0,D.nullTokenizeEncoded)(0,i)};function f(C,s,i){return we(this,void 0,void 0,function*(){if(!i)return g(s,C.languageIdCodec,S);const n=yield y.TokenizationRegistry.getOrCreate(i);return g(s,C.languageIdCodec,n||S)})}e.tokenizeToString=f;function _(C,s,i,n,t,a,u){let h="
    ",r=n,c=0,o=!0;for(let d=0,l=s.getCount();d0;)u&&o?(m+=" ",o=!1):(m+=" ",o=!0),b--;break}case 60:m+="<",o=!1;break;case 62:m+=">",o=!1;break;case 38:m+="&",o=!1;break;case 0:m+="�",o=!1;break;case 65279:case 8232:case 8233:case 133:m+="\uFFFD",o=!1;break;case 13:m+="​",o=!1;break;case 32:u&&o?(m+=" ",o=!1):(m+=" ",o=!0);break;default:m+=String.fromCharCode(v),o=!1}}if(h+=`${m}`,p>t||r>=t)break}return h+="
    ",h}e.tokenizeLineToHTML=_;function g(C,s,i){let n='
    ';const t=L.splitLines(C);let a=i.getInitialState();for(let u=0,h=t.length;u0&&(n+="
    ");const c=i.tokenizeEncoded(r,!0,a);k.LineTokens.convertToEndOffset(c.tokens,r.length);const d=new k.LineTokens(c.tokens,r,s).inflate();let l=0;for(let p=0,m=d.getCount();p${L.escape(r.substring(l,b))}`,l=b}a=c.endState}return n+="
    ",n}e._tokenizeToString=g}),define(ne[625],se([1,0,13,9,17,58,122,66,90,154,508,288,86]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultBackgroundTokenizer=e.RangePriorityQueueImpl=e.TokenizationStateStore=e.TrackingTokenizationStateStore=e.TokenizerWithStateStoreAndTextModel=e.TokenizerWithStateStore=void 0;class n{constructor(d,l){this.tokenizationSupport=l,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new a(d)}getStartState(d){return this.store.getStartState(d,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}e.TokenizerWithStateStore=n;class t extends n{constructor(d,l,p,m){super(d,l),this._textModel=p,this._languageIdCodec=m}updateTokensUntilLine(d,l){const p=this._textModel.getLanguageId();for(;;){const m=this.getFirstInvalidLine();if(!m||m.lineNumber>l)break;const v=this._textModel.getLineContent(m.lineNumber),b=r(this._languageIdCodec,p,this.tokenizationSupport,v,!0,m.startState);d.add(m.lineNumber,b.tokens),this.store.setEndState(m.lineNumber,b.endState)}}getTokenTypeIfInsertingCharacter(d,l){const p=this.getStartState(d.lineNumber);if(!p)return 0;const m=this._textModel.getLanguageId(),v=this._textModel.getLineContent(d.lineNumber),b=v.substring(0,d.column-1)+l+v.substring(d.column-1),w=r(this._languageIdCodec,m,this.tokenizationSupport,b,!0,p),E=new i.LineTokens(w.tokens,b,this._languageIdCodec);if(E.getCount()===0)return 0;const I=E.findTokenIndexAtOffset(d.column-1);return E.getStandardTokenType(I)}tokenizeLineWithEdit(d,l,p){const m=d.lineNumber,v=d.column,b=this.getStartState(m);if(!b)return null;const w=this._textModel.getLineContent(m),E=w.substring(0,v-1)+p+w.substring(v-1+l),I=this._textModel.getLanguageIdAtPosition(m,0),M=r(this._languageIdCodec,I,this.tokenizationSupport,E,!0,b);return new i.LineTokens(M.tokens,E,this._languageIdCodec)}isCheapToTokenize(d){const l=this.store.getFirstInvalidEndStateLineNumberOrMax();return d1&&w>=1;w--){const E=this._textModel.getLineFirstNonWhitespaceColumn(w);if(E!==0&&E0&&p>0&&(p--,l--),this._lineEndStates.replace(d.startLineNumber,p,l)}}e.TokenizationStateStore=u;class h{constructor(){this._ranges=[]}get min(){return this._ranges.length===0?null:this._ranges[0].start}delete(d){const l=this._ranges.findIndex(p=>p.contains(d));if(l!==-1){const p=this._ranges[l];p.start===d?p.endExclusive===d+1?this._ranges.splice(l,1):this._ranges[l]=new _.OffsetRange(d+1,p.endExclusive):p.endExclusive===d+1?this._ranges[l]=new _.OffsetRange(p.start,d):this._ranges.splice(l,1,new _.OffsetRange(p.start,d),new _.OffsetRange(d+1,p.endExclusive))}}addRange(d){_.OffsetRange.addRange(d,this._ranges)}addRangeAndResize(d,l){let p=0;for(;!(p>=this._ranges.length||d.start<=this._ranges[p].endExclusive);)p++;let m=p;for(;!(m>=this._ranges.length||d.endExclusived.toString()).join(" + ")}}e.RangePriorityQueueImpl=h;function r(o,d,l,p,m,v){let b=null;if(l)try{b=l.tokenizeEncoded(p,m,v.clone())}catch(w){(0,k.onUnexpectedError)(w)}return b||(b=(0,g.nullTokenizeEncoded)(o.encodeLanguageId(d),v)),i.LineTokens.convertToEndOffset(b.tokens,p.length),b}class c{constructor(d,l){this._tokenizerWithStateStore=d,this._backgroundTokenStore=l,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,(0,L.runWhenIdle)(d=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(d)}))}_backgroundTokenizeWithDeadline(d){const l=Date.now()+d.timeRemaining(),p=()=>{this._isDisposed||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()1||this._tokenizeOneInvalidLine(l)>=d)break;while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(l.finalize()),this.checkFinished()}_hasLinesToTokenize(){return this._tokenizerWithStateStore?!this._tokenizerWithStateStore.store.allStatesValid():!1}_tokenizeOneInvalidLine(d){var l;const p=(l=this._tokenizerWithStateStore)===null||l===void 0?void 0:l.getFirstInvalidLine();return p?(this._tokenizerWithStateStore.updateTokensUntilLine(d,p.lineNumber),p.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){this._isDisposed||this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(d,l){this._tokenizerWithStateStore.store.invalidateEndStateRange(new f.LineRange(d,l))}}e.DefaultBackgroundTokenizer=c}),define(ne[626],se([1,0,14,13,9,6,2,122,66,12,147,29,282,625,288,518,520]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationTextModelPart=void 0;class h extends i.TextModelPart{constructor(d,l,p,m,v,b){super(),this._languageService=d,this._languageConfigurationService=l,this._textModel=p,this._bracketPairsTextModelPart=m,this._languageId=v,this._attachedViews=b,this._semanticTokens=new u.SparseTokensStore(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new D.Emitter),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new D.Emitter),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new D.Emitter),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new r(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(w=>{w.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(w=>{this._emitModelTokensChangedEvent(w)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(w=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(d){if(d.isFlush)this._semanticTokens.flush();else if(!d.isEolChange)for(const l of d.changes){const[p,m,v]=(0,f.countEOL)(l.text);this._semanticTokens.acceptEdit(l.range,p,m,v,l.text.length>0?l.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(d)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(d){this.validateLineNumber(d);const l=this.grammarTokens.getLineTokens(d);return this._semanticTokens.addSparseTokens(d,l)}_emitModelTokensChangedEvent(d){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(d),this._onDidChangeTokens.fire(d))}validateLineNumber(d){if(d<1||d>this._textModel.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(d){this.validateLineNumber(d),this.grammarTokens.forceTokenization(d)}isCheapToTokenize(d){return this.validateLineNumber(d),this.grammarTokens.isCheapToTokenize(d)}tokenizeIfCheap(d){this.validateLineNumber(d),this.grammarTokens.tokenizeIfCheap(d)}getTokenTypeIfInsertingCharacter(d,l,p){return this.grammarTokens.getTokenTypeIfInsertingCharacter(d,l,p)}tokenizeLineWithEdit(d,l,p){return this.grammarTokens.tokenizeLineWithEdit(d,l,p)}setSemanticTokens(d,l){this._semanticTokens.set(d,l),this._emitModelTokensChangedEvent({semanticTokensApplied:d!==null,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(d,l){if(this.hasCompleteSemanticTokens())return;const p=this._textModel.validateRange(this._semanticTokens.setPartial(d,l));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:p.startLineNumber,toLineNumber:p.endLineNumber}]})}getWordAtPosition(d){this.assertNotDisposed();const l=this._textModel.validatePosition(d),p=this._textModel.getLineContent(l.lineNumber),m=this.getLineTokens(l.lineNumber),v=m.findTokenIndexAtOffset(l.column-1),[b,w]=h._findLanguageBoundaries(m,v),E=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v)).getWordDefinition(),p.substring(b,w),b);if(E&&E.startColumn<=d.column&&d.column<=E.endColumn)return E;if(v>0&&b===l.column-1){const[I,M]=h._findLanguageBoundaries(m,v-1),P=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v-1)).getWordDefinition(),p.substring(I,M),I);if(P&&P.startColumn<=d.column&&d.column<=P.endColumn)return P}return null}getLanguageConfiguration(d){return this._languageConfigurationService.getLanguageConfiguration(d)}static _findLanguageBoundaries(d,l){const p=d.getLanguageId(l);let m=0;for(let b=l;b>=0&&d.getLanguageId(b)===p;b--)m=d.getStartOffset(b);let v=d.getLineContent().length;for(let b=l,w=d.getCount();b{const b=this.getLanguageId();v.changedLanguages.indexOf(b)!==-1&&this.resetTokenization()})),this.resetTokenization(),this._register(m.onDidChangeVisibleRanges(({view:v,state:b})=>{if(b){let w=this._attachedViewStates.get(v);w||(w=new c(()=>this.refreshRanges(w.lineRanges)),this._attachedViewStates.set(v,w)),w.handleStateChange(b)}else this._attachedViewStates.deleteAndDispose(v)}))}resetTokenization(d=!0){var l;this._tokens.flush(),(l=this._debugBackgroundTokens)===null||l===void 0||l.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount())),d&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});const p=()=>{if(this._textModel.isTooLargeForTokenization())return[null,null];const b=s.TokenizationRegistry.get(this.getLanguageId());if(!b)return[null,null];let w;try{w=b.getInitialState()}catch(E){return(0,y.onUnexpectedError)(E),[null,null]}return[b,w]},[m,v]=p();if(m&&v?this._tokenizer=new n.TokenizerWithStateStoreAndTextModel(this._textModel.getLineCount(),m,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){const b={setTokens:w=>{this.setTokens(w)},backgroundTokenizationFinished:()=>{if(this._backgroundTokenizationState===2)return;const w=2;this._backgroundTokenizationState=w,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(w,E)=>{var I;if(!this._tokenizer)return;const M=this._tokenizer.store.getFirstInvalidEndStateLineNumber();M!==null&&w>=M&&((I=this._tokenizer)===null||I===void 0||I.store.setEndState(w,E))}};m&&m.createBackgroundTokenizer&&!m.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,b)),this._backgroundTokenizer.value||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new n.DefaultBackgroundTokenizer(this._tokenizer,b),this._defaultBackgroundTokenizer.handleChanges()),m?.backgroundTokenizerShouldOnlyVerifyTokens&&m.createBackgroundTokenizer?(this._debugBackgroundTokens=new a.ContiguousTokensStore(this._languageIdCodec),this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,{setTokens:w=>{var E;(E=this._debugBackgroundTokens)===null||E===void 0||E.setMultilineTokens(w,this._textModel)},backgroundTokenizationFinished(){},setEndState:(w,E)=>{var I;(I=this._debugBackgroundStates)===null||I===void 0||I.setEndState(w,E)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var d;(d=this._defaultBackgroundTokenizer)===null||d===void 0||d.handleChanges()}handleDidChangeContent(d){var l,p,m;if(d.isFlush)this.resetTokenization(!1);else if(!d.isEolChange){for(const v of d.changes){const[b,w]=(0,f.countEOL)(v.text);this._tokens.acceptEdit(v.range,b,w),(l=this._debugBackgroundTokens)===null||l===void 0||l.acceptEdit(v.range,b,w)}(p=this._debugBackgroundStates)===null||p===void 0||p.acceptChanges(d.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(d.changes),(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.handleChanges()}}setTokens(d){const{changes:l}=this._tokens.setMultilineTokens(d,this._textModel);return l.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:l}),{changes:l}}refreshAllVisibleLineTokens(){const d=_.LineRange.joinMany([...this._attachedViewStates].map(([l,p])=>p.lineRanges));this.refreshRanges(d)}refreshRanges(d){for(const l of d)this.refreshRange(l.startLineNumber,l.endLineNumberExclusive-1)}refreshRange(d,l){var p,m;if(!this._tokenizer)return;d=Math.max(1,Math.min(this._textModel.getLineCount(),d)),l=Math.min(this._textModel.getLineCount(),l);const v=new t.ContiguousMultilineTokensBuilder,{heuristicTokens:b}=this._tokenizer.tokenizeHeuristically(v,d,l),w=this.setTokens(v.finalize());if(b)for(const E of w.changes)(p=this._backgroundTokenizer.value)===null||p===void 0||p.requestTokens(E.fromLineNumber,E.toLineNumber+1);(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.checkFinished()}forceTokenization(d){var l,p;const m=new t.ContiguousMultilineTokensBuilder;(l=this._tokenizer)===null||l===void 0||l.updateTokensUntilLine(m,d),this.setTokens(m.finalize()),(p=this._defaultBackgroundTokenizer)===null||p===void 0||p.checkFinished()}isCheapToTokenize(d){return this._tokenizer?this._tokenizer.isCheapToTokenize(d):!0}tokenizeIfCheap(d){this.isCheapToTokenize(d)&&this.forceTokenization(d)}getLineTokens(d){var l;const p=this._textModel.getLineContent(d),m=this._tokens.getTokens(this._textModel.getLanguageId(),d-1,p);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>d&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>d){const v=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),d-1,p);!m.equals(v)&&(!((l=this._debugBackgroundTokenizer.value)===null||l===void 0)&&l.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(d)}return m}getTokenTypeIfInsertingCharacter(d,l,p){if(!this._tokenizer)return 0;const m=this._textModel.validatePosition(new g.Position(d,l));return this.forceTokenization(m.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(m,p)}tokenizeLineWithEdit(d,l,p){if(!this._tokenizer)return null;const m=this._textModel.validatePosition(d);return this.forceTokenization(m.lineNumber),this._tokenizer.tokenizeLineWithEdit(m,l,p)}get hasTokens(){return this._tokens.hasTokens}}class c extends S.Disposable{get lineRanges(){return this._lineRanges}constructor(d){super(),this._refreshTokens=d,this.runner=this._register(new k.RunOnceScheduler(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,L.equals)(this._computedLineRanges,this._lineRanges,(d,l)=>d.equals(l))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(d){this._lineRanges=d.visibleLineRanges,d.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}}),define(ne[327],se([1,0,19,6,63,22,12,5,24,29,208]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoBaseAPI=e.KeyMod=void 0;class s{static chord(t,a){return(0,y.KeyChord)(t,a)}}e.KeyMod=s,s.CtrlCmd=2048,s.Shift=1024,s.Alt=512,s.WinCtrl=256;function i(){return{editor:void 0,languages:void 0,CancellationTokenSource:L.CancellationTokenSource,Emitter:k.Emitter,KeyCode:C.KeyCode,KeyMod:s,Position:S.Position,Range:f.Range,Selection:_.Selection,SelectionDirection:C.SelectionDirection,MarkerSeverity:C.MarkerSeverity,MarkerTag:C.MarkerTag,Uri:D.URI,Token:g.Token}}e.createMonacoBaseAPI=i}),define(ne[627],se([1,0,168,22,12,5,512,147,495,501,327,58,286,492,47,494]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.EditorSimpleWorker=void 0;class u extends S.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(o){const d=[];for(let l=0;lthis._lines.length)d=this._lines.length,l=this._lines[d-1].length+1,p=!0;else{const m=this._lines[d-1].length+1;l<1?(l=1,p=!0):l>m&&(l=m,p=!0)}return p?{lineNumber:d,column:l}:o}}class h{constructor(o,d){this._host=o,this._models=Object.create(null),this._foreignModuleFactory=d,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(o){return this._models[o]}_getModels(){const o=[];return Object.keys(this._models).forEach(d=>o.push(this._models[d])),o}acceptNewModel(o){this._models[o.url]=new u(k.URI.parse(o.url),o.lines,o.EOL,o.versionId)}acceptModelChanged(o,d){if(!this._models[o])return;this._models[o].onEvents(d)}acceptRemovedModel(o){this._models[o]&&delete this._models[o]}computeUnicodeHighlights(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);return p?i.UnicodeTextModelHighlighter.computeUnicodeHighlights(p,d,l):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o),v=this._getModel(d);return!m||!v?null:h.computeDiff(m,v,l,p)})}static computeDiff(o,d,l,p){const m=p==="advanced"?n.linesDiffComputers.getAdvanced():n.linesDiffComputers.getLegacy(),v=o.getLinesContent(),b=d.getLinesContent(),w=m.computeDiff(v,b,l),E=w.changes.length>0?!1:this._modelsAreIdentical(o,d);function I(M){return M.map(P=>{var x;return[P.originalRange.startLineNumber,P.originalRange.endLineNumberExclusive,P.modifiedRange.startLineNumber,P.modifiedRange.endLineNumberExclusive,(x=P.innerChanges)===null||x===void 0?void 0:x.map(T=>[T.originalRange.startLineNumber,T.originalRange.startColumn,T.originalRange.endLineNumber,T.originalRange.endColumn,T.modifiedRange.startLineNumber,T.modifiedRange.startColumn,T.modifiedRange.endLineNumber,T.modifiedRange.endColumn])]})}return{identical:E,quitEarly:w.hitTimeout,changes:I(w.changes),moves:w.moves.map(M=>[M.lineRangeMapping.original.startLineNumber,M.lineRangeMapping.original.endLineNumberExclusive,M.lineRangeMapping.modified.startLineNumber,M.lineRangeMapping.modified.endLineNumberExclusive,I(M.changes)])}}static _modelsAreIdentical(o,d){const l=o.getLineCount(),p=d.getLineCount();if(l!==p)return!1;for(let m=1;m<=l;m++){const v=o.getLineContent(m),b=d.getLineContent(m);if(v!==b)return!1}return!0}computeMoreMinimalEdits(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);if(!p)return d;const m=[];let v;d=d.slice(0).sort((b,w)=>{if(b.range&&w.range)return D.Range.compareRangesUsingStarts(b.range,w.range);const E=b.range?0:1,I=w.range?0:1;return E-I});for(let{range:b,text:w,eol:E}of d){if(typeof E=="number"&&(v=E),D.Range.isEmpty(b)&&!w)continue;const I=p.getValueInRange(b);if(w=w.replace(/\r\n|\n|\r/g,p.eol),I===w)continue;if(Math.max(w.length,I.length)>h._diffLimit){m.push({range:b,text:w});continue}const M=(0,L.stringDiff)(I,w,l),P=p.offsetAt(D.Range.lift(b).getStartPosition());for(const x of M){const T=p.positionAt(P+x.originalStart),A=p.positionAt(P+x.originalStart+x.originalLength),N={text:w.substr(x.modifiedStart,x.modifiedLength),range:{startLineNumber:T.lineNumber,startColumn:T.column,endLineNumber:A.lineNumber,endColumn:A.column}};p.getValueInRange(N.range)!==N.text&&m.push(N)}}return typeof v=="number"&&m.push({eol:v,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),m})}computeLinks(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,_.computeLinks)(d):null})}computeDefaultDocumentColors(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,a.computeDefaultDocumentColors)(d):null})}textualSuggest(o,d,l,p){return we(this,void 0,void 0,function*(){const m=new s.StopWatch,v=new RegExp(l,p),b=new Set;e:for(const w of o){const E=this._getModel(w);if(E){for(const I of E.words(v))if(!(I===d||!isNaN(Number(I)))&&(b.add(I),b.size>h._suggestionsLimit))break e}}return{words:Array.from(b),duration:m.elapsed()}})}computeWordRanges(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o);if(!m)return Object.create(null);const v=new RegExp(l,p),b=Object.create(null);for(let w=d.startLineNumber;wthis._host.fhr(b,w),v={host:(0,t.createProxyObject)(l,p),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(v,d),Promise.resolve((0,t.getAllMethodNames)(this._foreignModule))):new Promise((b,w)=>{Q([o],E=>{this._foreignModule=E.create(v,d),b((0,t.getAllMethodNames)(this._foreignModule))},w)})}fmr(o,d){if(!this._foreignModule||typeof this._foreignModule[o]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+o));try{return Promise.resolve(this._foreignModule[o].apply(this._foreignModule,d))}catch(l){return Promise.reject(l)}}}e.EditorSimpleWorker=h,h._diffLimit=1e5,h._suggestionsLimit=1e4;function r(c){return new h(c,null)}e.create=r,typeof importScripts=="function"&&(globalThis.monaco=(0,C.createMonacoBaseAPI)())}),define(ne[328],se([1,0,6,2,274,29]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapTokensColorTracker=void 0;class S extends k.Disposable{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,k.markAsSingleton)(new S)),this._INSTANCE}constructor(){super(),this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(D.TokenizationRegistry.onDidChange(_=>{_.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){const _=D.TokenizationRegistry.getColorMap();if(!_){this._colors=[y.RGBA8.Empty],this._backgroundIsLight=!0;return}this._colors=[y.RGBA8.Empty];for(let C=1;C<_.length;C++){const s=_[C].rgba;this._colors[C]=new y.RGBA8(s.r,s.g,s.b,Math.round(s.a*255))}const g=_[2].getRelativeLuminance();this._backgroundIsLight=g>=.5,this._onDidChange.fire(void 0)}getColor(_){return(_<1||_>=this._colors.length)&&(_=2),this._colors[_]}backgroundIsLight(){return this._backgroundIsLight}}e.MinimapTokensColorTracker=S,S._INSTANCE=null}),define(ne[628],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages/modesRegistry",e)}),define(ne[629],se([3,4]),function(Q,e){return Q.create("vs/editor/common/model/editStack",e)}),define(ne[329],se([1,0,629,9,24,22,319,140,45]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditStack=e.isEditStackElement=e.MultiModelEditStackElement=e.SingleModelEditStackElement=e.SingleModelEditStackData=void 0;function g(u){return u.toString()}class C{static create(h,r){const c=h.getAlternativeVersionId(),o=n(h);return new C(c,c,o,o,r,r,[])}constructor(h,r,c,o,d,l,p){this.beforeVersionId=h,this.afterVersionId=r,this.beforeEOL=c,this.afterEOL=o,this.beforeCursorState=d,this.afterCursorState=l,this.changes=p}append(h,r,c,o,d){r.length>0&&(this.changes=(0,S.compressConsecutiveTextChanges)(this.changes,r)),this.afterEOL=c,this.afterVersionId=o,this.afterCursorState=d}static _writeSelectionsSize(h){return 4+4*4*(h?h.length:0)}static _writeSelections(h,r,c){if(f.writeUInt32BE(h,r?r.length:0,c),c+=4,r)for(const o of r)f.writeUInt32BE(h,o.selectionStartLineNumber,c),c+=4,f.writeUInt32BE(h,o.selectionStartColumn,c),c+=4,f.writeUInt32BE(h,o.positionLineNumber,c),c+=4,f.writeUInt32BE(h,o.positionColumn,c),c+=4;return c}static _readSelections(h,r,c){const o=f.readUInt32BE(h,r);r+=4;for(let d=0;dr.toString()).join(", ")}matchesResource(h){return(D.URI.isUri(this.model)?this.model:this.model.uri).toString()===h.toString()}setModel(h){this.model=h}canAppend(h){return this.model===h&&this._data instanceof C}append(h,r,c,o,d){this._data instanceof C&&this._data.append(h,r,c,o,d)}close(){this._data instanceof C&&(this._data=this._data.serialize())}open(){this._data instanceof C||(this._data=C.deserialize(this._data))}undo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyUndo(h.changes,h.beforeEOL,h.beforeVersionId,h.beforeCursorState)}redo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyRedo(h.changes,h.afterEOL,h.afterVersionId,h.afterCursorState)}heapSize(){return this._data instanceof C&&(this._data=this._data.serialize()),this._data.byteLength+168}}e.SingleModelEditStackElement=s;class i{get resources(){return this._editStackElementsArr.map(h=>h.resource)}constructor(h,r,c){this.label=h,this.code=r,this.type=1,this._isOpen=!0,this._editStackElementsArr=c.slice(0),this._editStackElementsMap=new Map;for(const o of this._editStackElementsArr){const d=g(o.resource);this._editStackElementsMap.set(d,o)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(h){const r=g(h);return this._editStackElementsMap.has(r)}setModel(h){const r=g(D.URI.isUri(h)?h:h.uri);this._editStackElementsMap.has(r)&&this._editStackElementsMap.get(r).setModel(h)}canAppend(h){if(!this._isOpen)return!1;const r=g(h.uri);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).canAppend(h):!1}append(h,r,c,o,d){const l=g(h.uri);this._editStackElementsMap.get(l).append(h,r,c,o,d)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const h of this._editStackElementsArr)h.undo()}redo(){for(const h of this._editStackElementsArr)h.redo()}heapSize(h){const r=g(h);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).heapSize():0}split(){return this._editStackElementsArr}toString(){const h=[];for(const r of this._editStackElementsArr)h.push(`${(0,_.basename)(r.resource)}: ${r}`);return`{${h.join(", ")}}`}}e.MultiModelEditStackElement=i;function n(u){return u.getEOL()===` -`?0:1}function t(u){return u?u instanceof s||u instanceof i:!1}e.isEditStackElement=t;class a{constructor(h,r){this._model=h,this._undoRedoService=r}pushStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.close()}popStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(h,r){const c=this._undoRedoService.getLastElement(this._model.uri);if(t(c)&&c.canAppend(this._model))return c;const o=new s(L.localize(0,null),"undoredo.textBufferEdit",this._model,h);return this._undoRedoService.pushElement(o,r),o}pushEOL(h){const r=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(h),r.append(this._model,[],n(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(h,r,c,o){const d=this._getOrCreateEditStackElement(h,o),l=this._model.applyEdits(r,!0),p=a._computeCursorState(c,l),m=l.map((v,b)=>({index:b,textChange:v.textChange}));return m.sort((v,b)=>v.textChange.oldPosition===b.textChange.oldPosition?v.index-b.index:v.textChange.oldPosition-b.textChange.oldPosition),d.append(this._model,m.map(v=>v.textChange),n(this._model),this._model.getAlternativeVersionId(),p),p}static _computeCursorState(h,r){try{return h?h(r):null}catch(c){return(0,k.onUnexpectedError)(c),null}}}e.EditStack=a}),define(ne[630],se([3,4]),function(Q,e){return Q.create("vs/editor/common/standaloneStrings",e)}),define(ne[94],se([1,0,630]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServicesNLS=e.ToggleHighContrastNLS=e.StandaloneCodeEditorNLS=e.QuickOutlineNLS=e.QuickCommandNLS=e.QuickHelpNLS=e.GoToLineNLS=e.InspectTokensNLS=void 0;var k;(function(s){s.inspectTokensAction=L.localize(0,null)})(k||(e.InspectTokensNLS=k={}));var y;(function(s){s.gotoLineActionLabel=L.localize(1,null)})(y||(e.GoToLineNLS=y={}));var D;(function(s){s.helpQuickAccessActionLabel=L.localize(2,null)})(D||(e.QuickHelpNLS=D={}));var S;(function(s){s.quickCommandActionLabel=L.localize(3,null),s.quickCommandHelp=L.localize(4,null)})(S||(e.QuickCommandNLS=S={}));var f;(function(s){s.quickOutlineActionLabel=L.localize(5,null),s.quickOutlineByCategoryActionLabel=L.localize(6,null)})(f||(e.QuickOutlineNLS=f={}));var _;(function(s){s.editorViewAccessibleLabel=L.localize(7,null),s.accessibilityHelpMessage=L.localize(8,null)})(_||(e.StandaloneCodeEditorNLS=_={}));var g;(function(s){s.toggleHighContrast=L.localize(9,null)})(g||(e.ToggleHighContrastNLS=g={}));var C;(function(s){s.bulkEditServiceSummary=L.localize(10,null)})(C||(e.StandaloneServicesNLS=C={}))}),define(ne[631],se([3,4]),function(Q,e){return Q.create("vs/editor/common/viewLayout/viewLineRenderer",e)}),define(ne[95],se([1,0,631,11,93,127,529]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderViewLine2=e.RenderLineOutput2=e.renderViewLine=e.RenderLineOutput=e.CharacterMapping=e.DomPosition=e.RenderLineInput=e.LineRange=void 0;class f{constructor(w,E){this.startOffset=w,this.endOffset=E}equals(w){return this.startOffset===w.startOffset&&this.endOffset===w.endOffset}}e.LineRange=f;class _{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J){this.useMonospaceOptimizations=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.continuesWithWrappedLine=M,this.isBasicASCII=P,this.containsRTL=x,this.fauxIndentLength=T,this.lineTokens=A,this.lineDecorations=N.sort(D.LineDecoration.compare),this.tabSize=F,this.startVisibleColumn=O,this.spaceWidth=W,this.stopRenderingLineAfter=R,this.renderWhitespace=K==="all"?4:K==="boundary"?1:K==="selection"?2:K==="trailing"?3:0,this.renderControlCharacters=G,this.fontLigatures=Z,this.selectionsOnLine=J&&J.sort((B,V)=>B.startOffset>>16}static getCharIndex(w){return(w&65535)>>>0}constructor(w,E){this.length=w,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(w,E,I,M){const P=(E<<16|I<<0)>>>0;this._data[w-1]=P,this._horizontalOffset[w-1]=M}getHorizontalOffset(w){return this._horizontalOffset.length===0?0:this._horizontalOffset[w-1]}charOffsetToPartData(w){return this.length===0?0:w<0?this._data[0]:w>=this.length?this._data[this.length-1]:this._data[w]}getDomPosition(w){const E=this.charOffsetToPartData(w-1),I=C.getPartIndex(E),M=C.getCharIndex(E);return new g(I,M)}getColumn(w,E){return this.partDataToCharOffset(w.partIndex,E,w.charIndex)+1}partDataToCharOffset(w,E,I){if(this.length===0)return 0;const M=(w<<16|I<<0)>>>0;let P=0,x=this.length-1;for(;P+1>>1,K=this._data[R];if(K===M)return R;K>M?x=R:P=R}if(P===x)return P;const T=this._data[P],A=this._data[x];if(T===M)return P;if(A===M)return x;const N=C.getPartIndex(T),F=C.getCharIndex(T),O=C.getPartIndex(A);let W;N!==O?W=E:W=C.getCharIndex(A);const U=I-F,j=W-I;return U<=j?P:x}}e.CharacterMapping=C;class s{constructor(w,E,I){this._renderLineOutputBrand=void 0,this.characterMapping=w,this.containsRTL=E,this.containsForeignElements=I}}e.RenderLineOutput=s;function i(b,w){if(b.lineContent.length===0){if(b.lineDecorations.length>0){w.appendString("");let E=0,I=0,M=0;for(const x of b.lineDecorations)(x.type===1||x.type===2)&&(w.appendString(''),x.type===1&&(M|=1,E++),x.type===2&&(M|=2,I++));w.appendString("");const P=new C(1,E+I);return P.setColumnInfo(1,E,0,0),new s(P,!1,M)}return w.appendString(""),new s(new C(0,0),!1,0)}return p(u(b),w)}e.renderViewLine=i;class n{constructor(w,E,I,M){this.characterMapping=w,this.html=E,this.containsRTL=I,this.containsForeignElements=M}}e.RenderLineOutput2=n;function t(b){const w=new y.StringBuilder(1e4),E=i(b,w);return new n(E.characterMapping,w.build(),E.containsRTL,E.containsForeignElements)}e.renderViewLine2=t;class a{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K){this.fontIsMonospace=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.len=M,this.isOverflowing=P,this.overflowingCharCount=x,this.parts=T,this.containsForeignElements=A,this.fauxIndentLength=N,this.tabSize=F,this.startVisibleColumn=O,this.containsRTL=W,this.spaceWidth=U,this.renderSpaceCharCode=j,this.renderWhitespace=R,this.renderControlCharacters=K}}function u(b){const w=b.lineContent;let E,I,M;b.stopRenderingLineAfter!==-1&&b.stopRenderingLineAfter0){for(let T=0,A=b.lineDecorations.length;T0&&(P[x++]=new S.LinePart(I,"",0,!1));let T=I;for(let A=0,N=E.getCount();A=M){const U=w?k.containsRTL(b.substring(T,M)):!1;P[x++]=new S.LinePart(M,O,0,U);break}const W=w?k.containsRTL(b.substring(T,F)):!1;P[x++]=new S.LinePart(F,O,0,W),T=F}return P}function r(b,w,E){let I=0;const M=[];let P=0;if(E)for(let x=0,T=w.length;x=50&&(M[P++]=new S.LinePart(U+1,F,O,W),j=U+1,U=-1);j!==N&&(M[P++]=new S.LinePart(N,F,O,W))}else M[P++]=A;I=N}else for(let x=0,T=w.length;x50){const O=A.type,W=A.metadata,U=A.containsRTL,j=Math.ceil(F/50);for(let R=1;R=8234&&b<=8238||b>=8294&&b<=8297||b>=8206&&b<=8207||b===1564}function o(b,w){const E=[];let I=new S.LinePart(0,"",0,!1),M=0;for(const P of w){const x=P.endIndex;for(;MI.endIndex&&(I=new S.LinePart(M,P.type,P.metadata,P.containsRTL),E.push(I)),I=new S.LinePart(M+1,"mtkcontrol",P.metadata,!1),E.push(I))}M>I.endIndex&&(I=new S.LinePart(x,P.type,P.metadata,P.containsRTL),E.push(I))}return E}function d(b,w,E,I){const M=b.continuesWithWrappedLine,P=b.fauxIndentLength,x=b.tabSize,T=b.startVisibleColumn,A=b.useMonospaceOptimizations,N=b.selectionsOnLine,F=b.renderWhitespace===1,O=b.renderWhitespace===3,W=b.renderSpaceWidth!==b.spaceWidth,U=[];let j=0,R=0,K=I[R].type,G=I[R].containsRTL,Z=I[R].endIndex;const J=I.length;let X=!1,H=k.firstNonWhitespaceIndex(w),B;H===-1?(X=!0,H=E,B=E):B=k.lastNonWhitespaceIndex(w);let V=!1,Y=0,ie=N&&N[Y],ae=T%x;for(let de=P;de=ie.endOffset&&(Y++,ie=N&&N[Y]);let ue;if(deB)ue=!0;else if(he===9)ue=!0;else if(he===32)if(F)if(V)ue=!0;else{const te=de+1de),ue&&O&&(ue=X||de>B),ue&&G&&de>=H&&de<=B&&(ue=!1),V){if(!ue||!A&&ae>=x){if(W){const te=j>0?U[j-1].endIndex:P;for(let q=te+1;q<=de;q++)U[j++]=new S.LinePart(q,"mtkw",1,!1)}else U[j++]=new S.LinePart(de,"mtkw",1,!1);ae=ae%x}}else(de===Z||ue&&de>P)&&(U[j++]=new S.LinePart(de,K,0,G),ae=ae%x);for(he===9?ae=x:k.isFullWidthCharacter(he)?ae+=2:ae++,V=ue;de===Z&&(R++,R0?w.charCodeAt(E-1):0,he=E>1?w.charCodeAt(E-2):0;de===32&&he!==32&&he!==9||(ce=!0)}else ce=!0;if(ce)if(W){const de=j>0?U[j-1].endIndex:P;for(let he=de+1;he<=E;he++)U[j++]=new S.LinePart(he,"mtkw",1,!1)}else U[j++]=new S.LinePart(E,"mtkw",1,!1);else U[j++]=new S.LinePart(E,K,0,G);return U}function l(b,w,E,I){I.sort(D.LineDecoration.compare);const M=D.LineDecorationsNormalizer.normalize(b,I),P=M.length;let x=0;const T=[];let A=0,N=0;for(let O=0,W=E.length;ON&&(N=Z.startOffset,T[A++]=new S.LinePart(N,R,K,G)),Z.endOffset+1<=j)N=Z.endOffset+1,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G),x++;else{N=j,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G);break}}j>N&&(N=j,T[A++]=new S.LinePart(N,R,K,G))}const F=E[E.length-1].endIndex;if(x'):w.appendString("");for(let ie=0,ae=N.length;ie=F&&(re+=ge)}}for(q&&(w.appendString(' style="width:'),w.appendString(String(j*ee)),w.appendString('px"')),w.appendASCIICharCode(62);X1?w.appendCharCode(8594):w.appendCharCode(65515);for(let ge=2;ge<=oe;ge++)w.appendCharCode(160)}else re=2,oe=1,w.appendCharCode(R),w.appendCharCode(8204);B+=re,V+=oe,X>=F&&(H+=oe)}}else for(w.appendASCIICharCode(62);X=F&&(H+=re)}z?Y++:Y=0,X>=x&&!J&&ce.isPseudoAfter()&&(J=!0,Z.setColumnInfo(X+1,ie,B,V)),w.appendString("")}return J||Z.setColumnInfo(x+1,N.length-1,B,V),T&&(w.appendString(''),w.appendString(L.localize(0,null,v(A))),w.appendString("")),w.appendString(""),new s(Z,U,M)}function m(b){return b.toString(16).toUpperCase().padStart(4,"0")}function v(b){return b<1024?L.localize(1,null,b):b<1024*1024?`${(b/1024).toFixed(1)} KB`:`${(b/1024/1024).toFixed(1)} MB`}}),define(ne[632],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/anchorSelect/browser/anchorSelect",e)}),define(ne[633],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/bracketMatching/browser/bracketMatching",e)}),define(ne[634],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/caretOperations",e)}),define(ne[635],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/transpose",e)}),define(ne[636],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/clipboard/browser/clipboard",e)}),define(ne[637],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeAction",e)}),define(ne[638],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionCommands",e)}),define(ne[639],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionContributions",e)}),define(ne[640],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionController",e)}),define(ne[641],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionMenu",e)}),define(ne[642],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/lightBulbWidget",e)}),define(ne[643],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codelens/browser/codelensController",e)}),define(ne[644],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/colorPickerWidget",e)}),define(ne[645],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions",e)}),define(ne[646],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/comment/browser/comment",e)}),define(ne[647],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/contextmenu/browser/contextmenu",e)}),define(ne[648],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/cursorUndo/browser/cursorUndo",e)}),define(ne[649],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution",e)}),define(ne[650],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteController",e)}),define(ne[651],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/defaultProviders",e)}),define(ne[652],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution",e)}),define(ne[653],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController",e)}),define(ne[654],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/editorState/browser/keybindingCancellation",e)}),define(ne[655],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findController",e)}),define(ne[656],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findWidget",e)}),define(ne[657],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/folding",e)}),define(ne[658],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/foldingDecorations",e)}),define(ne[659],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/fontZoom/browser/fontZoom",e)}),define(ne[660],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/format",e)}),define(ne[661],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/formatActions",e)}),define(ne[662],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoError",e)}),define(ne[663],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoErrorWidget",e)}),define(ne[664],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/goToCommands",e)}),define(ne[665],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition",e)}),define(ne[666],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesController",e)}),define(ne[667],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesTree",e)}),define(ne[668],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget",e)}),define(ne[669],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/referencesModel",e)}),define(ne[155],se([1,0,9,6,164,2,65,45,11,5,669]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesModel=e.FileReferences=e.FilePreview=e.OneReference=void 0;class s{constructor(u,h,r,c){this.isProviderFirst=u,this.parent=h,this.link=r,this._rangeCallback=c,this.id=y.defaultGenerator.nextId()}get uri(){return this.link.uri}get range(){var u,h;return(h=(u=this._range)!==null&&u!==void 0?u:this.link.targetSelectionRange)!==null&&h!==void 0?h:this.link.range}set range(u){this._range=u,this._rangeCallback(this)}get ariaMessage(){var u;const h=(u=this.parent.getPreview(this))===null||u===void 0?void 0:u.preview(this.range);return h?(0,C.localize)(1,null,h.value,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,C.localize)(0,null,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn)}}e.OneReference=s;class i{constructor(u){this._modelReference=u}dispose(){this._modelReference.dispose()}preview(u,h=8){const r=this._modelReference.object.textEditorModel;if(!r)return;const{startLineNumber:c,startColumn:o,endLineNumber:d,endColumn:l}=u,p=r.getWordUntilPosition({lineNumber:c,column:o-h}),m=new g.Range(c,p.startColumn,c,o),v=new g.Range(d,l,d,1073741824),b=r.getValueInRange(m).replace(/^\s+/,""),w=r.getValueInRange(u),E=r.getValueInRange(v).replace(/\s+$/,"");return{value:b+w+E,highlight:{start:b.length,end:b.length+w.length}}}}e.FilePreview=i;class n{constructor(u,h){this.parent=u,this.uri=h,this.children=[],this._previews=new S.ResourceMap}dispose(){(0,D.dispose)(this._previews.values()),this._previews.clear()}getPreview(u){return this._previews.get(u.uri)}get ariaMessage(){const u=this.children.length;return u===1?(0,C.localize)(2,null,(0,f.basename)(this.uri),this.uri.fsPath):(0,C.localize)(3,null,u,(0,f.basename)(this.uri),this.uri.fsPath)}resolve(u){return we(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(const h of this.children)if(!this._previews.has(h.uri))try{const r=yield u.createModelReference(h.uri);this._previews.set(h.uri,new i(r))}catch(r){(0,L.onUnexpectedError)(r)}return this})}}e.FileReferences=n;class t{constructor(u,h){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new k.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=u,this._title=h;const[r]=u;u.sort(t._compareReferences);let c;for(const o of u)if((!c||!f.extUri.isEqual(c.uri,o.uri,!0))&&(c=new n(this,o.uri),this.groups.push(c)),c.children.length===0||t._compareReferences(o,c.children[c.children.length-1])!==0){const d=new s(r===o,c,o,l=>this._onDidChangeReferenceRange.fire(l));this.references.push(d),c.children.push(d)}}dispose(){(0,D.dispose)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new t(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,C.localize)(4,null):this.references.length===1?(0,C.localize)(5,null,this.references[0].uri.fsPath):this.groups.length===1?(0,C.localize)(6,null,this.references.length,this.groups[0].uri.fsPath):(0,C.localize)(7,null,this.references.length,this.groups.length)}nextOrPreviousReference(u,h){const{parent:r}=u;let c=r.children.indexOf(u);const o=r.children.length,d=r.parent.groups.length;return d===1||h&&c+10?(h?c=(c+1)%o:c=(c+o-1)%o,r.children[c]):(c=r.parent.groups.indexOf(r),h?(c=(c+1)%d,r.parent.groups[c].children[0]):(c=(c+d-1)%d,r.parent.groups[c].children[r.parent.groups[c].children.length-1]))}nearestReference(u,h){const r=this.references.map((c,o)=>({idx:o,prefixLen:_.commonPrefixLength(c.uri.toString(),u.toString()),offsetDist:Math.abs(c.range.startLineNumber-h.lineNumber)*100+Math.abs(c.range.startColumn-h.column)})).sort((c,o)=>c.prefixLen>o.prefixLen?-1:c.prefixLeno.offsetDist?1:0)[0];if(r)return this.references[r.idx]}referenceAt(u,h){for(const r of this.references)if(r.uri.toString()===u.toString()&&g.Range.containsPosition(r.range,h))return r}firstReference(){for(const u of this.references)if(u.isProviderFirst)return u;return this.references[0]}static _compareReferences(u,h){return f.extUri.compare(u.uri,h.uri)||g.Range.compareRangesUsingStarts(u.range,h.range)}}e.ReferencesModel=t}),define(ne[670],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/symbolNavigation",e)}),define(ne[671],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/hover",e)}),define(ne[672],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markdownHoverParticipant",e)}),define(ne[673],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markerHoverParticipant",e)}),define(ne[674],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace",e)}),define(ne[675],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/indentation/browser/indentation",e)}),define(ne[676],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlayHints/browser/inlayHintsHover",e)}),define(ne[677],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/commands",e)}),define(ne[678],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/hoverParticipant",e)}),define(ne[679],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys",e)}),define(ne[680],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController",e)}),define(ne[681],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget",e)}),define(ne[682],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/lineSelection/browser/lineSelection",e)}),define(ne[683],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linesOperations/browser/linesOperations",e)}),define(ne[684],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linkedEditing/browser/linkedEditing",e)}),define(ne[685],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/links/browser/links",e)}),define(ne[686],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/message/browser/messageController",e)}),define(ne[687],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/multicursor/browser/multicursor",e)}),define(ne[688],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHints",e)}),define(ne[689],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHintsWidget",e)}),define(ne[690],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/peekView/browser/peekView",e)}),define(ne[691],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess",e)}),define(ne[692],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess",e)}),define(ne[693],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/readOnlyMessage/browser/contribution",e)}),define(ne[694],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/rename",e)}),define(ne[695],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/renameInputField",e)}),define(ne[696],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/smartSelect/browser/smartSelect",e)}),define(ne[697],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetController2",e)}),define(ne[698],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetVariables",e)}),define(ne[699],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/stickyScroll/browser/stickyScrollActions",e)}),define(ne[700],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggest",e)}),define(ne[701],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestController",e)}),define(ne[702],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidget",e)}),define(ne[703],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetDetails",e)}),define(ne[704],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetRenderer",e)}),define(ne[705],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetStatus",e)}),define(ne[706],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/symbolIcons/browser/symbolIcons",e)}),define(ne[707],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode",e)}),define(ne[708],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/tokenization/browser/tokenization",e)}),define(ne[709],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter",e)}),define(ne[710],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators",e)}),define(ne[711],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/highlightDecorations",e)}),define(ne[712],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/wordHighlighter",e)}),define(ne[713],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordOperations/browser/wordOperations",e)}),define(ne[714],se([3,4]),function(Q,e){return Q.create("vs/platform/action/common/actionCommonCategories",e)}),define(ne[715],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionList",e)}),define(ne[716],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionWidget",e)}),define(ne[717],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/menuEntryActionViewItem",e)}),define(ne[718],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/toolbar",e)}),define(ne[719],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/common/menuService",e)}),define(ne[720],se([3,4]),function(Q,e){return Q.create("vs/platform/audioCues/browser/audioCueService",e)}),define(ne[721],se([3,4]),function(Q,e){return Q.create("vs/platform/configuration/common/configurationRegistry",e)}),define(ne[722],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/browser/contextKeyService",e)}),define(ne[723],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkey",e)}),define(ne[724],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkeys",e)}),define(ne[725],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/scanner",e)}),define(ne[726],se([3,4]),function(Q,e){return Q.create("vs/platform/history/browser/contextScopedHistoryWidget",e)}),define(ne[727],se([3,4]),function(Q,e){return Q.create("vs/platform/keybinding/common/abstractKeybindingService",e)}),define(ne[728],se([3,4]),function(Q,e){return Q.create("vs/platform/list/browser/listService",e)}),define(ne[729],se([3,4]),function(Q,e){return Q.create("vs/platform/markers/common/markers",e)}),define(ne[730],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/commandsQuickAccess",e)}),define(ne[731],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/helpQuickAccess",e)}),define(ne[732],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInput",e)}),define(ne[733],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputController",e)}),define(ne[734],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputList",e)}),define(ne[735],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputUtils",e)}),define(ne[736],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/colorRegistry",e)}),define(ne[737],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/iconRegistry",e)}),define(ne[738],se([3,4]),function(Q,e){return Q.create("vs/platform/undoRedo/common/undoRedoService",e)}),define(ne[739],se([3,4]),function(Q,e){return Q.create("vs/platform/workspace/common/workspace",e)}),define(ne[740],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isICommandActionToggleInfo=void 0;function L(k){return k?k.condition!==void 0:!1}e.isICommandActionToggleInfo=L}),define(ne[741],se([1,0,714]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Categories=void 0,e.Categories=Object.freeze({View:{value:(0,L.localize)(0,null),original:"View"},Help:{value:(0,L.localize)(1,null),original:"Help"},Test:{value:(0,L.localize)(2,null),original:"Test"},File:{value:(0,L.localize)(3,null),original:"File"},Preferences:{value:(0,L.localize)(4,null),original:"Preferences"},Developer:{value:(0,L.localize)(5,null),original:"Developer"}})}),define(ne[742],se([1,0,9,725]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scanner=void 0;function y(..._){switch(_.length){case 1:return(0,k.localize)(0,null,_[0]);case 2:return(0,k.localize)(1,null,_[0],_[1]);case 3:return(0,k.localize)(2,null,_[0],_[1],_[2]);default:return}}const D=(0,k.localize)(3,null),S=(0,k.localize)(4,null);class f{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(g){switch(g.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return g.isTripleEq?"===":"==";case 4:return g.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return g.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return g.lexeme;case 18:return g.lexeme;case 19:return g.lexeme;case 20:return"EOF";default:throw(0,L.illegalState)(`unhandled token type: ${JSON.stringify(g)}; have you forgotten to add a case?`)}}reset(g){return this._input=g,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const C=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:C})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const C=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:C})}else this._match(126)?this._addToken(9):this._error(y("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(y("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(y("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(g){return this._isAtEnd()||this._input.charCodeAt(this._current)!==g?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(g){this._tokens.push({type:g,offset:this._start})}_error(g){const C=this._start,s=this._input.substring(this._start,this._current),i={type:19,offset:this._start,lexeme:s};this._errors.push({offset:C,lexeme:s,additionalInfo:g}),this._tokens.push(i)}_string(){this.stringRe.lastIndex=this._start;const g=this.stringRe.exec(this._input);if(g){this._current=this._start+g[0].length;const C=this._input.substring(this._start,this._current),s=f._keywords.get(C);s?this._addToken(s):this._tokens.push({type:17,lexeme:C,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(D);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let g=this._current,C=!1,s=!1;for(;;){if(g>=this._input.length){this._current=g,this._error(S);return}const n=this._input.charCodeAt(g);if(C)C=!1;else if(n===47&&!s){g++;break}else n===91?s=!0:n===92?C=!0:n===93&&(s=!1);g++}for(;g=this._input.length}}e.Scanner=f,f._regexFlags=new Set(["i","g","s","m","y","u"].map(_=>_.charCodeAt(0))),f._keywords=new Map([["not",14],["in",13],["false",12],["true",11]])}),define(ne[743],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorOpenSource=void 0;var L;(function(k){k[k.API=0]="API",k[k.USER=1]="USER"})(L||(e.EditorOpenSource=L={}))}),define(ne[744],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionIdentifierSet=e.ExtensionIdentifier=void 0;class L{constructor(D){this.value=D,this._lower=D.toLowerCase()}static toKey(D){return typeof D=="string"?D.toLowerCase():D._lower}}e.ExtensionIdentifier=L;class k{constructor(D){if(this._set=new Set,D)for(const S of D)this.add(S)}add(D){this._set.add(L.toKey(D))}has(D){return this._set.has(L.toKey(D))}}e.ExtensionIdentifierSet=k}),define(ne[330],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileKind=void 0;var L;(function(k){k[k.FILE=0]="FILE",k[k.FOLDER=1]="FOLDER",k[k.ROOT_FOLDER=2]="ROOT_FOLDER"})(L||(e.FileKind=L={}))}),define(ne[745],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showHistoryKeybindingHint=void 0;function L(k){var y,D;return((y=k.lookupKeybinding("history.showPrevious"))===null||y===void 0?void 0:y.getElectronAccelerator())==="Up"&&((D=k.lookupKeybinding("history.showNext"))===null||D===void 0?void 0:D.getElectronAccelerator())==="Down"}e.showHistoryKeybindingHint=L}),define(ne[232],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SyncDescriptor=void 0;class L{constructor(y,D=[],S=!1){this.ctor=y,this.staticArguments=D,this.supportsDelayedInstantiation=S}}e.SyncDescriptor=L}),define(ne[50],se([1,0,232]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingletonServiceDescriptors=e.registerSingleton=void 0;const k=[];function y(S,f,_){f instanceof L.SyncDescriptor||(f=new L.SyncDescriptor(f,[],!!_)),k.push([S,f])}e.registerSingleton=y;function D(){return k}e.getSingletonServiceDescriptors=D}),define(ne[746],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Graph=e.Node=void 0;class L{constructor(D,S){this.key=D,this.data=S,this.incoming=new Map,this.outgoing=new Map}}e.Node=L;class k{constructor(D){this._hashFn=D,this._nodes=new Map}roots(){const D=[];for(const S of this._nodes.values())S.outgoing.size===0&&D.push(S);return D}insertEdge(D,S){const f=this.lookupOrInsertNode(D),_=this.lookupOrInsertNode(S);f.outgoing.set(_.key,_),_.incoming.set(f.key,f)}removeNode(D){const S=this._hashFn(D);this._nodes.delete(S);for(const f of this._nodes.values())f.outgoing.delete(S),f.incoming.delete(S)}lookupOrInsertNode(D){const S=this._hashFn(D);let f=this._nodes.get(S);return f||(f=new L(S,D),this._nodes.set(S,f)),f}isEmpty(){return this._nodes.size===0}toString(){const D=[];for(const[S,f]of this._nodes)D.push(`${S} - (-> incoming)[${[...f.incoming.keys()].join(", ")}] - (outgoing ->)[${[...f.outgoing.keys()].join(",")}] -`);return D.join(` -`)}findCycleSlow(){for(const[D,S]of this._nodes){const f=new Set([D]),_=this._findCycle(S,f);if(_)return _}}_findCycle(D,S){for(const[f,_]of D.outgoing){if(S.has(f))return[...S,f].join(" -> ");S.add(f);const g=this._findCycle(_,S);if(g)return g;S.delete(f)}}}e.Graph=k}),define(ne[8],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDecorator=e.IInstantiationService=e._util=void 0;var L;(function(D){D.serviceIds=new Map,D.DI_TARGET="$di$target",D.DI_DEPENDENCIES="$di$dependencies";function S(f){return f[D.DI_DEPENDENCIES]||[]}D.getServiceDependencies=S})(L||(e._util=L={})),e.IInstantiationService=y("instantiationService");function k(D,S,f){S[L.DI_TARGET]===S?S[L.DI_DEPENDENCIES].push({id:D,index:f}):(S[L.DI_DEPENDENCIES]=[{id:D,index:f}],S[L.DI_TARGET]=S)}function y(D){if(L.serviceIds.has(D))return L.serviceIds.get(D);const S=function(f,_,g){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");k(S,f,g)};return S.toString=()=>D,L.serviceIds.set(D,S),S}e.createDecorator=y}),define(ne[132],se([1,0,8,22,20]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceFileEdit=e.ResourceTextEdit=e.ResourceEdit=e.IBulkEditService=void 0,e.IBulkEditService=(0,L.createDecorator)("IWorkspaceEditService");class D{constructor(g){this.metadata=g}static convert(g){return g.edits.map(C=>{if(S.is(C))return S.lift(C);if(f.is(C))return f.lift(C);throw new Error("Unsupported edit")})}}e.ResourceEdit=D;class S extends D{static is(g){return g instanceof S?!0:(0,y.isObject)(g)&&k.URI.isUri(g.resource)&&(0,y.isObject)(g.textEdit)}static lift(g){return g instanceof S?g:new S(g.resource,g.textEdit,g.versionId,g.metadata)}constructor(g,C,s=void 0,i){super(i),this.resource=g,this.textEdit=C,this.versionId=s}}e.ResourceTextEdit=S;class f extends D{static is(g){return g instanceof f?!0:(0,y.isObject)(g)&&(!!g.newResource||!!g.oldResource)}static lift(g){return g instanceof f?g:new f(g.oldResource,g.newResource,g.options,g.metadata)}constructor(g,C,s={},i){super(i),this.oldResource=g,this.newResource=C,this.options=s}}e.ResourceFileEdit=f}),define(ne[33],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICodeEditorService=void 0,e.ICodeEditorService=(0,L.createDecorator)("codeEditorService")}),define(ne[41],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageService=void 0,e.ILanguageService=(0,L.createDecorator)("languageService")}),define(ne[115],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorWorkerService=void 0,e.IEditorWorkerService=(0,L.createDecorator)("editorWorkerService")}),define(ne[18],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageFeaturesService=void 0,e.ILanguageFeaturesService=(0,L.createDecorator)("ILanguageFeaturesService")});var fe=this&&this.__param||function(Q,e){return function(L,k){e(L,k,Q)}};define(ne[747],se([1,0,7,129,14,19,25,6,55,2,42,26,20,483,102,66,12,5,29,18,614]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRangesFeature=void 0;let d=class extends g.Disposable{get isUpdatingViewZones(){return this._isUpdatingViewZones}constructor(b,w,E,I){super(),this._editors=b,this._diffModel=w,this._options=E,this._languageFeaturesService=I,this._isUpdatingViewZones=!1,this._modifiedModel=(0,C.observableFromEvent)(this._editors.modified.onDidChangeModel,()=>this._editors.modified.getModel()),this._modifiedOutlineSource=(0,C.derivedWithStore)("modified outline source",(A,N)=>{const F=this._modifiedModel.read(A);if(F)return N.add(new p(this._languageFeaturesService,F))}),this._register(this._editors.original.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.original.getSelections()||[])N?.ensureOriginalLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureOriginalLineIsVisible(O.getEndPosition().lineNumber,F)})}})),this._register(this._editors.modified.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.modified.getSelections()||[])N?.ensureModifiedLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureModifiedLineIsVisible(O.getEndPosition().lineNumber,F)})}}));const M=this._diffModel.map((A,N)=>{var F,O;return((F=A?.diff.read(N))===null||F===void 0?void 0:F.mappings.length)===0?[]:(O=A?.unchangedRegions.read(N))!==null&&O!==void 0?O:[]}),P=(0,C.derivedWithStore)("view zones",(A,N)=>{const F=[],O=[],W=this._options.renderSideBySide.read(A),U=this._modifiedOutlineSource.read(A);if(!U)return{origViewZones:F,modViewZones:O};const j=M.read(A);for(const R of j)if(!R.shouldHideControls(A)){{const K=(0,C.derived)(Z=>R.getHiddenOriginalRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);F.push(G),N.add(new m(this._editors.original,G,R,R.originalRange,!W,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}{const K=(0,C.derived)(Z=>R.getHiddenModifiedRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);O.push(G),N.add(new m(this._editors.modified,G,R,R.modifiedRange,!1,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}}return{origViewZones:F,modViewZones:O}}),x={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},T={description:"Fold Unchanged",glyphMarginHoverMessage:new _.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,o.localize)(0,null)),glyphMarginClassName:"fold-unchanged "+s.ThemeIcon.asClassName(S.Codicon.fold),zIndex:10001};this._register((0,t.applyObservableDecorations)(this._editors.original,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.originalRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:h.Range.fromPositions(new u.Position(O.originalLineNumber,1)),options:T});return F}))),this._register((0,t.applyObservableDecorations)(this._editors.modified,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.modifiedRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:a.LineRange.ofLength(O.modifiedLineNumber,1).toInclusiveRange(),options:T});return F}))),this._register((0,t.applyViewZones)(this._editors.original,P.map(A=>A.origViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,t.applyViewZones)(this._editors.modified,P.map(A=>A.modViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,C.autorun)(A=>{const N=M.read(A);this._editors.original.setHiddenAreas(N.map(F=>F.getHiddenOriginalRange(A).toInclusiveRange()).filter(i.isDefined)),this._editors.modified.setHiddenAreas(N.map(F=>F.getHiddenModifiedRange(A).toInclusiveRange()).filter(i.isDefined))})),this._register(this._editors.modified.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.modifiedRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.originalRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}}))}};e.UnchangedRangesFeature=d,e.UnchangedRangesFeature=d=ke([fe(3,c.ILanguageFeaturesService)],d);class l extends D.CancellationTokenSource{dispose(){super.dispose(!0)}}let p=class extends g.Disposable{constructor(b,w){super(),this._languageFeaturesService=b,this._textModel=w,this._currentModel=(0,C.observableValue)("current model",void 0);const E=(0,C.observableSignalFromEvent)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),I=(0,C.observableSignalFromEvent)("_textModel.onDidChangeContent",f.Event.debounce(M=>this._textModel.onDidChangeContent(M),()=>{},100));this._register((0,C.autorunWithStore)((M,P)=>we(this,void 0,void 0,function*(){E.read(M),I.read(M);const x=P.add(new l),T=yield n.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,this._textModel,x.token);P.isDisposed||this._currentModel.set(T,void 0)})))}getBreadcrumbItems(b,w){const E=this._currentModel.read(w);if(!E)return[];const I=E.asListOfDocumentSymbols().filter(M=>b.contains(M.range.startLineNumber)&&!b.contains(M.range.endLineNumber));return I.sort((0,y.reverseOrder)((0,y.compareBy)(M=>M.range.endLineNumber-M.range.startLineNumber,y.numberComparator))),I.map(M=>({name:M.name,kind:M.kind,startLineNumber:M.range.startLineNumber}))}};p=ke([fe(0,c.ILanguageFeaturesService)],p);class m extends t.ViewZoneOverlayWidget{constructor(b,w,E,I,M,P,x,T){const A=(0,L.h)("div.diff-hidden-lines-widget");super(b,w,A.root),this._editor=b,this._unchangedRegion=E,this._unchangedRegionRange=I,this.hide=M,this._modifiedOutlineSource=P,this._revealModifiedHiddenLine=x,this._options=T,this._nodes=(0,L.h)("div.diff-hidden-lines",[(0,L.h)("div.top@top",{title:(0,o.localize)(1,null)}),(0,L.h)("div.center@content",{style:{display:"flex"}},[(0,L.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,L.$)("a",{title:(0,o.localize)(2,null),role:"button",onclick:()=>{this.showAll()}},...(0,k.renderLabelWithIcons)("$(unfold)"))]),(0,L.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,L.h)("div.bottom@bottom",{title:(0,o.localize)(3,null),role:"button"})]),A.root.appendChild(this._nodes.root);const N=(0,C.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this.hide?(0,L.reset)(this._nodes.first):this._register((0,t.applyStyle)(this._nodes.first,{width:N.map(O=>O.contentLeft)}));const F=this._editor;this._register((0,L.addDisposableListener)(this._nodes.top,"mousedown",O=>{if(O.button!==0)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j+X,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(H,void 0)}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{U||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(!1,void 0),R.dispose(),K.dispose()})})),this._register((0,L.addDisposableListener)(this._nodes.bottom,"mousedown",O=>{if(O.button!==0)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j-X,this._unchangedRegion.getMaxVisibleLineCountBottom())),B=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(H,void 0);const V=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(V-B))}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{if(this._unchangedRegion.isDragged.set(!1,void 0),!U){const Z=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);const J=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(J-Z))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),R.dispose(),K.dispose()})})),this._register((0,C.autorun)(O=>{const W=[];if(!this.hide){const U=E.getHiddenModifiedRange(O).length,j=(0,o.localize)(4,null,U),R=(0,L.$)("span",{title:(0,o.localize)(5,null)},j);R.addEventListener("dblclick",Z=>{Z.button===0&&(Z.preventDefault(),this.showAll())}),W.push(R);const K=this._unchangedRegion.getHiddenModifiedRange(O),G=this._modifiedOutlineSource.getBreadcrumbItems(K,O);if(G.length>0){W.push((0,L.$)("span",void 0,"\xA0\xA0|\xA0\xA0"));for(let Z=0;Z{this._revealModifiedHiddenLine(J.startLineNumber)}}}}(0,L.reset)(this._nodes.others,...W)}))}showAll(){this._unchangedRegion.showAll(void 0)}}}),define(ne[748],se([1,0,594,18,50]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeaturesService=void 0;class D{constructor(){this.referenceProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.renameProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeActionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.definitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.typeDefinitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.declarationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.implementationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSymbolProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlayHintsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.colorProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeLensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.onTypeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.signatureHelpProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.hoverProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentHighlightProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.selectionRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.foldingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlineCompletionsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.completionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkedEditingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentOnDropEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentPasteEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this))}_score(f){var _;return(_=this._notebookTypeResolver)===null||_===void 0?void 0:_.call(this,f)}}e.LanguageFeaturesService=D,(0,y.registerSingleton)(k.ILanguageFeaturesService,D,1)}),define(ne[233],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerDecorationsService=void 0,e.IMarkerDecorationsService=(0,L.createDecorator)("markerDecorationsService")}),define(ne[51],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IModelService=void 0,e.IModelService=(0,L.createDecorator)("modelService")}),define(ne[69],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextModelService=void 0,e.ITextModelService=(0,L.createDecorator)("textModelService")}),define(ne[234],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISemanticTokensStylingService=void 0,e.ISemanticTokensStylingService=(0,L.createDecorator)("semanticTokensStylingService")}),define(ne[187],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextResourcePropertiesService=e.ITextResourceConfigurationService=void 0,e.ITextResourceConfigurationService=(0,L.createDecorator)("textResourceConfigurationService"),e.ITextResourcePropertiesService=(0,L.createDecorator)("textResourcePropertiesService")}),define(ne[749],se([1,0,50,8,285]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITreeViewsDnDService=void 0,e.ITreeViewsDnDService=(0,k.createDecorator)("treeViewsDndService"),(0,L.registerSingleton)(e.ITreeViewsDnDService,y.TreeViewsDnDService,1)}),define(ne[331],se([1,0,132]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortEditsByYieldTo=e.createCombinedWorkspaceEdit=void 0;function k(D,S,f){var _,g;return{edits:[...S.map(C=>new L.ResourceTextEdit(D,typeof f.insertText=="string"?{range:C,text:f.insertText,insertAsSnippet:!1}:{range:C,text:f.insertText.snippet,insertAsSnippet:!0})),...(g=(_=f.additionalEdit)===null||_===void 0?void 0:_.edits)!==null&&g!==void 0?g:[]]}}e.createCombinedWorkspaceEdit=k;function y(D){var S;function f(i,n){return"providerId"in i&&i.providerId===n.providerId||"mimeType"in i&&i.mimeType===n.handledMimeType}const _=new Map;for(const i of D)for(const n of(S=i.yieldTo)!==null&&S!==void 0?S:[])for(const t of D)if(t!==i&&f(n,t)){let a=_.get(i);a||(a=[],_.set(i,a)),a.push(t)}if(!_.size)return Array.from(D);const g=new Set,C=[];function s(i){if(!i.length)return[];const n=i[0];if(C.includes(n))return console.warn(`Yield to cycle detected for ${n.providerId}`),i;if(g.has(n))return s(i.slice(1));let t=[];const a=_.get(n);return a&&(C.push(n),t=s(a),C.pop()),g.add(n),[...t,n,...s(i.slice(1))]}return s(Array.from(D))}e.sortEditsByYieldTo=y}),define(ne[750],se([1,0,89,6,2,42,11,59,36,12,5,93,41,48,86,127,95,215,151,450]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GhostTextWidget=void 0;let c=class extends y.Disposable{constructor(m,v,b){super(),this.editor=m,this.model=v,this.languageService=b,this.isDisposed=(0,D.observableValue)("isDisposed",!1),this.currentTextModel=(0,D.observableFromEvent)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,D.derived)(w=>{if(this.isDisposed.read(w))return;const E=this.currentTextModel.read(w);if(E!==this.model.targetTextModel.read(w))return;const I=this.model.ghostText.read(w);if(!I)return;const M=I instanceof h.GhostTextReplacement?I.columnRange:void 0,P=[],x=[];function T(W,U){if(x.length>0){const j=x[x.length-1];U&&j.decorations.push(new a.LineDecoration(j.content.length+1,j.content.length+1+W[0].length,U,0)),j.content+=W[0],W=W.slice(1)}for(const j of W)x.push({content:j,decorations:U?[new a.LineDecoration(1,j.length+1,U,0)]:[]})}const A=E.getLineContent(I.lineNumber);let N,F=0;for(const W of I.parts){let U=W.lines;N===void 0?(P.push({column:W.column,text:U[0],preview:W.preview}),U=U.slice(1)):T([A.substring(F,W.column-1)],void 0),U.length>0&&(T(U,"ghost-text"),N===void 0&&W.column<=A.length&&(N=W.column)),F=W.column-1}N!==void 0&&T([A.substring(F)],void 0);const O=N!==void 0?new r.ColumnRange(N,A.length+1):void 0;return{replacedRange:M,inlineTexts:P,additionalLines:x,hiddenRange:O,lineNumber:I.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(w),targetTextModel:E}}),this.decorations=(0,D.derived)(w=>{const E=this.uiState.read(w);if(!E)return[];const I=[];E.replacedRange&&I.push({range:E.replacedRange.toRange(E.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),E.hiddenRange&&I.push({range:E.hiddenRange.toRange(E.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}});for(const M of E.inlineTexts)I.push({range:C.Range.fromPositions(new g.Position(E.lineNumber,M.column)),options:{description:"ghost-text",after:{content:M.text,inlineClassName:M.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:n.InjectedTextCursorStops.Left},showIfCollapsed:!0}});return I}),this.additionalLinesWidget=this._register(new o(this.editor,this.languageService.languageIdCodec,(0,D.derived)(w=>{const E=this.uiState.read(w);return E?{lineNumber:E.lineNumber,additionalLines:E.additionalLines,minReservedLineCount:E.additionalReservedLineCount,targetTextModel:E.targetTextModel}:void 0}))),this._register((0,y.toDisposable)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,r.applyObservableDecorations)(this.editor,this.decorations))}ownsViewZone(m){return this.additionalLinesWidget.viewZoneId===m}};e.GhostTextWidget=c,e.GhostTextWidget=c=ke([fe(2,i.ILanguageService)],c);class o extends y.Disposable{get viewZoneId(){return this._viewZoneId}constructor(m,v,b){super(),this.editor=m,this.languageIdCodec=v,this.lines=b,this._viewZoneId=void 0,this.editorOptionsChanged=(0,D.observableSignalFromEvent)("editorOptionChanged",k.Event.filter(this.editor.onDidChangeConfiguration,w=>w.hasChanged(32)||w.hasChanged(115)||w.hasChanged(97)||w.hasChanged(92)||w.hasChanged(50)||w.hasChanged(49)||w.hasChanged(65))),this._register((0,D.autorun)(w=>{const E=this.lines.read(w);this.editorOptionsChanged.read(w),E?this.updateLines(E.lineNumber,E.additionalLines,E.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(m=>{this._viewZoneId&&(m.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(m,v,b){const w=this.editor.getModel();if(!w)return;const{tabSize:E}=w.getOptions();this.editor.changeViewZones(I=>{this._viewZoneId&&(I.removeZone(this._viewZoneId),this._viewZoneId=void 0);const M=Math.max(v.length,b);if(M>0){const P=document.createElement("div");d(P,E,v,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=I.addZone({afterLineNumber:m,heightInLines:M,domNode:P,afterColumnAffinity:1})}})}}function d(p,m,v,b,w){const E=b.get(32),I=b.get(115),M="none",P=b.get(92),x=b.get(50),T=b.get(49),A=b.get(65),N=new s.StringBuilder(1e4);N.appendString('
    ');for(let W=0,U=v.length;W');const K=S.isBasicASCII(R),G=S.containsRTL(R),Z=t.LineTokens.createEmpty(R,w);(0,u.renderViewLine)(new u.RenderLineInput(T.isMonospace&&!E,T.canUseHalfwidthRightwardsArrow,R,!1,K,G,0,Z,j.decorations,m,0,T.spaceWidth,T.middotWidth,T.wsmiddotWidth,I,M,P,x!==_.EditorFontLigatures.OFF,null),N),N.appendString("
    ")}N.appendString(""),(0,f.applyFontInfo)(p,T);const F=N.build(),O=l?l.createHTML(F):F;p.innerHTML=O}const l=(0,L.createTrustedTypesPolicy)("editorGhostText",{createHTML:p=>p})}),define(ne[133],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IStandaloneThemeService=void 0,e.IStandaloneThemeService=(0,L.createDecorator)("themeService")}),define(ne[116],se([1,0,8,720]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AudioCue=e.SoundSource=e.Sound=e.IAudioCueService=void 0,e.IAudioCueService=(0,L.createDecorator)("audioCue");class y{static register(_){return new y(_.fileName)}constructor(_){this.fileName=_}}e.Sound=y,y.error=y.register({fileName:"error.mp3"}),y.warning=y.register({fileName:"warning.mp3"}),y.foldedArea=y.register({fileName:"foldedAreas.mp3"}),y.break=y.register({fileName:"break.mp3"}),y.quickFixes=y.register({fileName:"quickFixes.mp3"}),y.taskCompleted=y.register({fileName:"taskCompleted.mp3"}),y.taskFailed=y.register({fileName:"taskFailed.mp3"}),y.terminalBell=y.register({fileName:"terminalBell.mp3"}),y.diffLineInserted=y.register({fileName:"diffLineInserted.mp3"}),y.diffLineDeleted=y.register({fileName:"diffLineDeleted.mp3"}),y.diffLineModified=y.register({fileName:"diffLineModified.mp3"}),y.chatRequestSent=y.register({fileName:"chatRequestSent.mp3"}),y.chatResponsePending=y.register({fileName:"chatResponsePending.mp3"}),y.chatResponseReceived1=y.register({fileName:"chatResponseReceived1.mp3"}),y.chatResponseReceived2=y.register({fileName:"chatResponseReceived2.mp3"}),y.chatResponseReceived3=y.register({fileName:"chatResponseReceived3.mp3"}),y.chatResponseReceived4=y.register({fileName:"chatResponseReceived4.mp3"});class D{constructor(_){this.randomOneOf=_}}e.SoundSource=D;class S{static register(_){const g=new D("randomOneOf"in _.sound?_.sound.randomOneOf:[_.sound]),C=new S(g,_.name,_.settingsKey);return S._audioCues.add(C),C}constructor(_,g,C){this.sound=_,this.name=g,this.settingsKey=C}}e.AudioCue=S,S._audioCues=new Set,S.error=S.register({name:(0,k.localize)(0,null),sound:y.error,settingsKey:"audioCues.lineHasError"}),S.warning=S.register({name:(0,k.localize)(1,null),sound:y.warning,settingsKey:"audioCues.lineHasWarning"}),S.foldedArea=S.register({name:(0,k.localize)(2,null),sound:y.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),S.break=S.register({name:(0,k.localize)(3,null),sound:y.break,settingsKey:"audioCues.lineHasBreakpoint"}),S.inlineSuggestion=S.register({name:(0,k.localize)(4,null),sound:y.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),S.terminalQuickFix=S.register({name:(0,k.localize)(5,null),sound:y.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),S.onDebugBreak=S.register({name:(0,k.localize)(6,null),sound:y.break,settingsKey:"audioCues.onDebugBreak"}),S.noInlayHints=S.register({name:(0,k.localize)(7,null),sound:y.error,settingsKey:"audioCues.noInlayHints"}),S.taskCompleted=S.register({name:(0,k.localize)(8,null),sound:y.taskCompleted,settingsKey:"audioCues.taskCompleted"}),S.taskFailed=S.register({name:(0,k.localize)(9,null),sound:y.taskFailed,settingsKey:"audioCues.taskFailed"}),S.terminalCommandFailed=S.register({name:(0,k.localize)(10,null),sound:y.error,settingsKey:"audioCues.terminalCommandFailed"}),S.terminalBell=S.register({name:(0,k.localize)(11,null),sound:y.terminalBell,settingsKey:"audioCues.terminalBell"}),S.notebookCellCompleted=S.register({name:(0,k.localize)(12,null),sound:y.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),S.notebookCellFailed=S.register({name:(0,k.localize)(13,null),sound:y.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),S.diffLineInserted=S.register({name:(0,k.localize)(14,null),sound:y.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),S.diffLineDeleted=S.register({name:(0,k.localize)(15,null),sound:y.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),S.diffLineModified=S.register({name:(0,k.localize)(16,null),sound:y.diffLineModified,settingsKey:"audioCues.diffLineModified"}),S.chatRequestSent=S.register({name:(0,k.localize)(17,null),sound:y.chatRequestSent,settingsKey:"audioCues.chatRequestSent"}),S.chatResponseReceived=S.register({name:(0,k.localize)(18,null),settingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[y.chatResponseReceived1,y.chatResponseReceived2,y.chatResponseReceived3,y.chatResponseReceived4]}}),S.chatResponsePending=S.register({name:(0,k.localize)(19,null),sound:y.chatResponsePending,settingsKey:"audioCues.chatResponsePending"})}),define(ne[96],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IClipboardService=void 0,e.IClipboardService=(0,L.createDecorator)("clipboardService")}),define(ne[27],se([1,0,6,46,2,64,20,8]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsRegistry=e.ICommandService=void 0,e.ICommandService=(0,f.createDecorator)("commandService"),e.CommandsRegistry=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new L.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(_,g){if(!_)throw new Error("invalid command");if(typeof _=="string"){if(!g)throw new Error("invalid command");return this.registerCommand({id:_,handler:g})}if(_.description){const t=[];for(const u of _.description.args)t.push(u.constraint);const a=_.handler;_.handler=function(u,...h){return(0,S.validateConstraints)(h,t),a(u,...h)}}const{id:C}=_;let s=this._commands.get(C);s||(s=new D.LinkedList,this._commands.set(C,s));const i=s.unshift(_),n=(0,y.toDisposable)(()=>{i();const t=this._commands.get(C);t?.isEmpty()&&this._commands.delete(C)});return this._onDidRegisterCommand.fire(C),n}registerCommandAlias(_,g){return e.CommandsRegistry.registerCommand(_,(C,...s)=>C.get(e.ICommandService).executeCommand(g,...s))}getCommand(_){const g=this._commands.get(_);if(!(!g||g.isEmpty()))return k.Iterable.first(g)}getCommands(){const _=new Map;for(const g of this._commands.keys()){const C=this.getCommand(g);C&&_.set(g,C)}return _}},e.CommandsRegistry.registerCommand("noop",()=>{})}),define(ne[332],se([1,0,19,9,2,20,22,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeLensModel=e.CodeLensModel=void 0;class C{constructor(){this.lenses=[],this._disposables=new y.DisposableStore}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(n,t){this._disposables.add(n);for(const a of n.lenses)this.lenses.push({symbol:a,provider:t})}}e.CodeLensModel=C;function s(i,n,t){return we(this,void 0,void 0,function*(){const a=i.ordered(n),u=new Map,h=new C,r=a.map((c,o)=>we(this,void 0,void 0,function*(){u.set(c,o);try{const d=yield Promise.resolve(c.provideCodeLenses(n,t));d&&h.add(d,c)}catch(d){(0,k.onUnexpectedExternalError)(d)}}));return yield Promise.all(r),h.lenses=h.lenses.sort((c,o)=>c.symbol.range.startLineNumbero.symbol.range.startLineNumber?1:u.get(c.provider)u.get(o.provider)?1:c.symbol.range.startColumno.symbol.range.startColumn?1:0),h})}e.getCodeLensModel=s,_.CommandsRegistry.registerCommand("_executeCodeLensProvider",function(i,...n){let[t,a]=n;(0,D.assertType)(S.URI.isUri(t)),(0,D.assertType)(typeof a=="number"||!a);const{codeLensProvider:u}=i.get(g.ILanguageFeaturesService),h=i.get(f.IModelService).getModel(t);if(!h)throw(0,k.illegalArgument)();const r=[],c=new y.DisposableStore;return s(u,h,L.CancellationToken.None).then(o=>{c.add(o);const d=[];for(const l of o.lenses)a==null||l.symbol.command?r.push(l.symbol):a-- >0&&l.provider.resolveCodeLens&&d.push(Promise.resolve(l.provider.resolveCodeLens(h,l.symbol,L.CancellationToken.None)).then(p=>r.push(p||l.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>c.dispose(),100)})})}),define(ne[751],se([1,0,14,19,9,2,20,22,5,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLinks=e.LinksList=e.Link=void 0;class i{constructor(u,h){this._link=u,this._provider=h}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(u){return we(this,void 0,void 0,function*(){return this._link.url?this._link.url:typeof this._provider.resolveLink=="function"?Promise.resolve(this._provider.resolveLink(this._link,u)).then(h=>(this._link=h||this._link,this._link.url?this.resolve(u):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}e.Link=i;class n{constructor(u){this._disposables=new D.DisposableStore;let h=[];for(const[r,c]of u){const o=r.links.map(d=>new i(d,c));h=n._union(h,o),(0,D.isDisposable)(r)&&this._disposables.add(r)}this.links=h}dispose(){this._disposables.dispose(),this.links.length=0}static _union(u,h){const r=[];let c,o,d,l;for(c=0,d=0,o=u.length,l=h.length;cPromise.resolve(o.provideLinks(u,h)).then(l=>{l&&(r[d]=[l,o])},y.onUnexpectedExternalError));return Promise.all(c).then(()=>{const o=new n((0,L.coalesce)(r));return h.isCancellationRequested?(o.dispose(),new n([])):o})}e.getLinks=t,C.CommandsRegistry.registerCommand("_executeLinkProvider",(a,...u)=>we(void 0,void 0,void 0,function*(){let[h,r]=u;(0,S.assertType)(h instanceof f.URI),typeof r!="number"&&(r=0);const{linkProvider:c}=a.get(s.ILanguageFeaturesService),o=a.get(g.IModelService).getModel(h);if(!o)return[];const d=yield t(c,o,k.CancellationToken.None);if(!d)return[];for(let p=0;p0?m[0]:[]}function u(l,p,m,v,b){return we(this,void 0,void 0,function*(){const w=a(l,p),E=yield Promise.all(w.map(I=>we(this,void 0,void 0,function*(){let M,P=null;try{M=yield I.provideDocumentSemanticTokens(p,I===m?v:null,b)}catch(x){P=x,M=null}return(!M||!s(M)&&!i(M))&&(M=null),new n(I,M,P)})));for(const I of E){if(I.error)throw I.error;if(I.tokens)return I}return E.length>0?E[0]:null})}e.getDocumentSemanticTokens=u;function h(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:null}class r{constructor(p,m){this.provider=p,this.tokens=m}}function c(l,p){return l.has(p)}e.hasDocumentRangeSemanticTokensProvider=c;function o(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:[]}function d(l,p,m,v){return we(this,void 0,void 0,function*(){const b=o(l,p),w=yield Promise.all(b.map(E=>we(this,void 0,void 0,function*(){let I;try{I=yield E.provideDocumentRangeSemanticTokens(p,m,v)}catch(M){(0,k.onUnexpectedExternalError)(M),I=null}return(!I||!s(I))&&(I=null),new r(E,I)})));for(const E of w)if(E.tokens)return E;return w.length>0?w[0]:null})}e.getDocumentRangeSemanticTokens=d,S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService),w=h(b,v);return w?w[0].getLegend():l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokensLegend",m)})),S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService);if(!t(b,v))return l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokens",m,v.getFullModelRange());const w=yield u(b,v,null,null,L.CancellationToken.None);if(!w)return;const{provider:E,tokens:I}=w;if(!I||!s(I))return;const M=(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:I.data});return I.resultId&&E.releaseDocumentSemanticTokens(I.resultId),M})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI);const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=o(w,b);if(E.length===0)return;if(E.length===1)return E[0].getLegend();if(!v||!g.Range.isIRange(v))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),E[0].getLegend();const I=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(I)return I.provider.getLegend()})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI),(0,f.assertType)(g.Range.isIRange(v));const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(!(!E||!E.tokens))return(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:E.tokens.data})}))}),define(ne[28],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageTagSettingPlainKey=e.getConfigurationValue=e.removeFromValueTree=e.addToValueTree=e.toValuesTree=e.IConfigurationService=void 0,e.IConfigurationService=(0,L.createDecorator)("configurationService");function k(g,C){const s=Object.create(null);for(const i in g)y(s,i,g[i],C);return s}e.toValuesTree=k;function y(g,C,s,i){const n=C.split("."),t=n.pop();let a=g;for(let u=0;u"u"?s:t}e.getConfigurationValue=f;function _(g){return g.replace(/[\[\]]/g,"")}e.getLanguageTagSettingPlainKey=_}),define(ne[334],se([1,0,29,154,302,28]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.MonarchTokenizer=void 0;const f=5;class _{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(r!==null&&r.depth>=this._maxCacheDepth)return new g(r,c);let o=g.getStackElementId(r);o.length>0&&(o+="|"),o+=c;let d=this._entries[o];return d||(d=new g(r,c),this._entries[o]=d,d)}}_._INSTANCE=new _(f);class g{constructor(r,c){this.parent=r,this.state=c,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(r){let c="";for(;r!==null;)c.length>0&&(c+="|"),c+=r.state,r=r.parent;return c}static _equals(r,c){for(;r!==null&&c!==null;){if(r===c)return!0;if(r.state!==c.state)return!1;r=r.parent,c=c.parent}return r===null&&c===null}equals(r){return g._equals(this,r)}push(r){return _.create(this,r)}pop(){return this.parent}popall(){let r=this;for(;r.parent;)r=r.parent;return r}switchTo(r){return _.create(this.parent,r)}}class C{constructor(r,c){this.languageId=r,this.state=c}equals(r){return this.languageId===r.languageId&&this.state.equals(r.state)}clone(){return this.state.clone()===this.state?this:new C(this.languageId,this.state)}}class s{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(c!==null)return new i(r,c);if(r!==null&&r.depth>=this._maxCacheDepth)return new i(r,c);const o=g.getStackElementId(r);let d=this._entries[o];return d||(d=new i(r,null),this._entries[o]=d,d)}}s._INSTANCE=new s(f);class i{constructor(r,c){this.stack=r,this.embeddedLanguageData=c}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:s.create(this.stack,this.embeddedLanguageData)}equals(r){return!(r instanceof i)||!this.stack.equals(r.stack)?!1:this.embeddedLanguageData===null&&r.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||r.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(r.embeddedLanguageData)}}class n{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(r){this._languageId=r}emit(r,c){this._lastTokenType===c&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=c,this._lastTokenLanguage=this._languageId,this._tokens.push(new L.Token(r,c,this._languageId)))}nestedLanguageTokenize(r,c,o,d){const l=o.languageId,p=o.state,m=L.TokenizationRegistry.get(l);if(!m)return this.enterLanguage(l),this.emit(d,""),p;const v=m.tokenize(r,c,p);if(d!==0)for(const b of v.tokens)this._tokens.push(new L.Token(b.offset+d,b.type,b.language));else this._tokens=this._tokens.concat(v.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,v.endState}finalize(r){return new L.TokenizationResult(this._tokens,r)}}class t{constructor(r,c){this._languageService=r,this._theme=c,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(r){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(r)}emit(r,c){const o=this._theme.match(this._currentLanguageId,c)|1024;this._lastTokenMetadata!==o&&(this._lastTokenMetadata=o,this._tokens.push(r),this._tokens.push(o))}static _merge(r,c,o){const d=r!==null?r.length:0,l=c.length,p=o!==null?o.length:0;if(d===0&&l===0&&p===0)return new Uint32Array(0);if(d===0&&l===0)return o;if(l===0&&p===0)return r;const m=new Uint32Array(d+l+p);r!==null&&m.set(r);for(let v=0;v{if(p)return;let v=!1;for(let b=0,w=m.changedLanguages.length;b{m.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const r=[];for(const c in this._embeddedLanguages){const o=L.TokenizationRegistry.get(c);if(o){if(o instanceof S){const d=o.getLoadStatus();d.loaded===!1&&r.push(d.promise)}continue}L.TokenizationRegistry.isResolved(c)||r.push(L.TokenizationRegistry.getOrCreate(c))}return r.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(r).then(c=>{})}}getInitialState(){const r=_.create(null,this._lexer.start);return s.create(r,null)}tokenize(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenize)(this._languageId,o);const d=new n,l=this._tokenize(r,c,o,d);return d.finalize(l)}tokenizeEncoded(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenizeEncoded)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),o);const d=new t(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),l=this._tokenize(r,c,o,d);return d.finalize(l)}_tokenize(r,c,o,d){return o.embeddedLanguageData?this._nestedTokenize(r,c,o,0,d):this._myTokenize(r,c,o,0,d)}_findLeavingNestedLanguageOffset(r,c){let o=this._lexer.tokenizer[c.stack.state];if(!o&&(o=y.findRules(this._lexer,c.stack.state),!o))throw y.createError(this._lexer,"tokenizer state is not defined: "+c.stack.state);let d=-1,l=!1;for(const p of o){if(!y.isIAction(p.action)||p.action.nextEmbedded!=="@pop")continue;l=!0;let m=p.regex;const v=p.regex.source;if(v.substr(0,4)==="^(?:"&&v.substr(v.length-1,1)===")"){const w=(m.ignoreCase?"i":"")+(m.unicode?"u":"");m=new RegExp(v.substr(4,v.length-5),w)}const b=r.search(m);b===-1||b!==0&&p.matchOnlyAtLineStart||(d===-1||b0&&l.nestedLanguageTokenize(m,!1,o.embeddedLanguageData,d);const v=r.substring(p);return this._myTokenize(v,c,o,d+p,l)}_safeRuleName(r){return r?r.name:"(unknown)"}_myTokenize(r,c,o,d,l){l.enterLanguage(this._languageId);const p=r.length,m=c&&this._lexer.includeLF?r+` -`:r,v=m.length;let b=o.embeddedLanguageData,w=o.stack,E=0,I=null,M=!0;for(;M||E=v)break;M=!1;let K=this._lexer.tokenizer[A];if(!K&&(K=y.findRules(this._lexer,A),!K))throw y.createError(this._lexer,"tokenizer state is not defined: "+A);const G=m.substr(E);for(const Z of K)if((E===0||!Z.matchOnlyAtLineStart)&&(N=G.match(Z.regex),N)){F=N[0],O=Z.action;break}}if(N||(N=[""],F=""),O||(E=this._lexer.maxStack)throw y.createError(this._lexer,"maximum tokenizer stack size reached: ["+w.state+","+w.parent.state+",...]");w=w.push(A)}else if(O.next==="@pop"){if(w.depth<=1)throw y.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(W));w=w.pop()}else if(O.next==="@popall")w=w.popall();else{let K=y.substituteMatches(this._lexer,O.next,F,N,A);if(K[0]==="@"&&(K=K.substr(1)),y.findRules(this._lexer,K))w=w.push(K);else throw y.createError(this._lexer,"trying to set a next state '"+K+"' that is undefined in rule: "+this._safeRuleName(W))}}O.log&&typeof O.log=="string"&&y.log(this._lexer,this._lexer.languageId+": "+y.substituteMatches(this._lexer,O.log,F,N,A))}if(j===null)throw y.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(W));const R=K=>{const G=this._languageService.getLanguageIdByLanguageName(K)||this._languageService.getLanguageIdByMimeType(K)||K,Z=this._getNestedEmbeddedLanguageData(G);if(E0)throw y.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(W));if(N.length!==j.length+1)throw y.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(W));let K=0;for(let G=1;Gt});class C{static colorizeElement(a,u,h,r){r=r||{};const c=r.theme||"vs",o=r.mimeType||h.getAttribute("lang")||h.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();const d=u.getLanguageIdByMimeType(o)||o;a.setTheme(c);const l=h.firstChild?h.firstChild.nodeValue:"";h.className+=" "+c;const p=m=>{var v;const b=(v=g?.createHTML(m))!==null&&v!==void 0?v:m;h.innerHTML=b};return this.colorize(u,l||"",d,r).then(p,m=>console.error(m))}static colorize(a,u,h,r){return we(this,void 0,void 0,function*(){const c=a.languageIdCodec;let o=4;r&&typeof r.tabSize=="number"&&(o=r.tabSize),k.startsWithUTF8BOM(u)&&(u=u.substr(1));const d=k.splitLines(u);if(!a.isRegisteredLanguageId(h))return i(d,o,c);const l=yield y.TokenizationRegistry.getOrCreate(h);return l?s(d,o,l,c):i(d,o,c)})}static colorizeLine(a,u,h,r,c=4){const o=f.ViewLineRenderingData.isBasicASCII(a,u),d=f.ViewLineRenderingData.containsRTL(a,o,h);return(0,S.renderViewLine2)(new S.RenderLineInput(!1,!0,a,!1,o,d,0,r,[],c,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(a,u,h=4){const r=a.getLineContent(u);a.tokenization.forceTokenization(u);const o=a.tokenization.getLineTokens(u).inflate();return this.colorizeLine(r,a.mightContainNonBasicASCII(),a.mightContainRTL(),o,h)}}e.Colorizer=C;function s(t,a,u,h){return new Promise((r,c)=>{const o=()=>{const d=n(t,a,u,h);if(u instanceof _.MonarchTokenizer){const l=u.getLoadStatus();if(l.loaded===!1){l.promise.then(o,c);return}}r(d)};o()})}function i(t,a,u){let h=[];const c=new Uint32Array(2);c[0]=0,c[1]=33587200;for(let o=0,d=t.length;o")}return h.join("")}function n(t,a,u,h){let r=[],c=u.getInitialState();for(let o=0,d=t.length;o"),c=p.endState}return r.join("")}}),define(ne[15],se([1,0,17,11,742,8,723]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.implies=e.IContextKeyService=e.RawContextKey=e.ContextKeyOrExpr=e.ContextKeyAndExpr=e.ContextKeyNotRegexExpr=e.ContextKeyRegexExpr=e.ContextKeySmallerEqualsExpr=e.ContextKeySmallerExpr=e.ContextKeyGreaterEqualsExpr=e.ContextKeyGreaterExpr=e.ContextKeyNotExpr=e.ContextKeyNotEqualsExpr=e.ContextKeyNotInExpr=e.ContextKeyInExpr=e.ContextKeyEqualsExpr=e.ContextKeyDefinedExpr=e.ContextKeyTrueExpr=e.ContextKeyFalseExpr=e.expressionsAreEqualWithConstantSubstitution=e.ContextKeyExpr=e.Parser=void 0;const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",L.isMacintosh),f.set("isLinux",L.isLinux),f.set("isWindows",L.isWindows),f.set("isWeb",L.isWeb),f.set("isMacNative",L.isMacintosh&&!L.isWeb),f.set("isEdge",L.isEdge),f.set("isFirefox",L.isFirefox),f.set("isChrome",L.isChrome),f.set("isSafari",L.isSafari);const _=Object.prototype.hasOwnProperty,g={regexParsingWithErrorRecovery:!0},C=(0,S.localize)(0,null),s=(0,S.localize)(1,null),i=(0,S.localize)(2,null),n=(0,S.localize)(3,null),t=(0,S.localize)(4,null),a=(0,S.localize)(5,null),u=(0,S.localize)(6,null),h=(0,S.localize)(7,null);class r{constructor(H=g){this._config=H,this._scanner=new y.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(H){if(H===""){this._parsingErrors.push({message:C,offset:0,lexeme:"",additionalInfo:s});return}this._tokens=this._scanner.reset(H).scan(),this._current=0,this._parsingErrors=[];try{const B=this._expr();if(!this._isAtEnd()){const V=this._peek(),Y=V.type===17?a:void 0;throw this._parsingErrors.push({message:t,offset:V.offset,lexeme:y.Scanner.getLexeme(V),additionalInfo:Y}),r._parseError}return B}catch(B){if(B!==r._parseError)throw B;return}}_expr(){return this._or()}_or(){const H=[this._and()];for(;this._matchOne(16);){const B=this._and();H.push(B)}return H.length===1?H[0]:c.or(...H)}_and(){const H=[this._term()];for(;this._matchOne(15);){const B=this._term();H.push(B)}return H.length===1?H[0]:c.and(...H)}_term(){if(this._matchOne(2)){const H=this._peek();switch(H.type){case 11:return this._advance(),l.INSTANCE;case 12:return this._advance(),p.INSTANCE;case 0:{this._advance();const B=this._expr();return this._consume(1,n),B?.negate()}case 17:return this._advance(),I.create(H.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",H)}}return this._primary()}_primary(){const H=this._peek();switch(H.type){case 11:return this._advance(),c.true();case 12:return this._advance(),c.false();case 0:{this._advance();const B=this._expr();return this._consume(1,n),B}case 17:{const B=H.lexeme;if(this._advance(),this._matchOne(9)){const Y=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),Y.type!==10)throw this._errExpectedButGot("REGEX",Y);const ie=Y.lexeme,ae=ie.lastIndexOf("/"),ce=ae===ie.length-1?void 0:this._removeFlagsGY(ie.substring(ae+1));let de;try{de=new RegExp(ie.substring(1,ae),ce)}catch{throw this._errExpectedButGot("REGEX",Y)}return N.create(B,de)}switch(Y.type){case 10:case 19:{const ie=[Y.lexeme];this._advance();let ae=this._peek(),ce=0;for(let q=0;q=0){const he=ie.slice(ce+1,de),ue=ie[de+1]==="i"?"i":"";try{ae=new RegExp(he,ue)}catch{throw this._errExpectedButGot("REGEX",Y)}}}if(ae===null)throw this._errExpectedButGot("REGEX",Y);return N.create(B,ae)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,i);const Y=this._value();return c.notIn(B,Y)}switch(this._peek().type){case 3:{this._advance();const Y=this._value();if(this._previous().type===18)return c.equals(B,Y);switch(Y){case"true":return c.has(B);case"false":return c.not(B);default:return c.equals(B,Y)}}case 4:{this._advance();const Y=this._value();if(this._previous().type===18)return c.notEquals(B,Y);switch(Y){case"true":return c.not(B);case"false":return c.has(B);default:return c.notEquals(B,Y)}}case 5:return this._advance(),T.create(B,this._value());case 6:return this._advance(),A.create(B,this._value());case 7:return this._advance(),P.create(B,this._value());case 8:return this._advance(),x.create(B,this._value());case 13:return this._advance(),c.in(B,this._value());default:return c.has(B)}}case 20:throw this._parsingErrors.push({message:u,offset:H.offset,lexeme:"",additionalInfo:h}),r._parseError;default:throw this._errExpectedButGot(`true | false | KEY - | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const H=this._peek();switch(H.type){case 17:case 18:return this._advance(),H.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(H){return H.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(H){return this._check(H)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(H,B){if(this._check(H))return this._advance();throw this._errExpectedButGot(B,this._peek())}_errExpectedButGot(H,B,V){const Y=(0,S.localize)(8,null,H,y.Scanner.getLexeme(B)),ie=B.offset,ae=y.Scanner.getLexeme(B);return this._parsingErrors.push({message:Y,offset:ie,lexeme:ae,additionalInfo:V}),r._parseError}_check(H){return this._peek().type===H}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}}e.Parser=r,r._parseError=new Error;class c{static false(){return l.INSTANCE}static true(){return p.INSTANCE}static has(H){return m.create(H)}static equals(H,B){return v.create(H,B)}static notEquals(H,B){return E.create(H,B)}static regex(H,B){return N.create(H,B)}static in(H,B){return b.create(H,B)}static notIn(H,B){return w.create(H,B)}static not(H){return I.create(H)}static and(...H){return W.create(H,null,!0)}static or(...H){return U.create(H,null,!0)}static deserialize(H){return H==null?void 0:this._parser.parse(H)}}e.ContextKeyExpr=c,c._parser=new r({regexParsingWithErrorRecovery:!1});function o(X,H){const B=X?X.substituteConstants():void 0,V=H?H.substituteConstants():void 0;return!B&&!V?!0:!B||!V?!1:B.equals(V)}e.expressionsAreEqualWithConstantSubstitution=o;function d(X,H){return X.cmp(H)}class l{constructor(){this.type=0}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}e.ContextKeyFalseExpr=l,l.INSTANCE=new l;class p{constructor(){this.type=1}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!0}serialize(){return"true"}keys(){return[]}negate(){return l.INSTANCE}}e.ContextKeyTrueExpr=p,p.INSTANCE=new p;class m{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?p.INSTANCE:l.INSTANCE:new m(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=2}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?p.INSTANCE:l.INSTANCE:this}evaluate(H){return!!H.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this)),this.negated}}e.ContextKeyDefinedExpr=m;class v{static create(H,B,V=null){if(typeof B=="boolean")return B?m.create(H,V):I.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?p.INSTANCE:l.INSTANCE:new v(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=4}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?p.INSTANCE:l.INSTANCE}return this}evaluate(H){return H.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this.value,this)),this.negated}}e.ContextKeyEqualsExpr=v;class b{static create(H,B){return new b(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=10,this.negated=null}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.valueKey,H.key,H.valueKey)}equals(H){return H.type===this.type?this.key===H.key&&this.valueKey===H.valueKey:!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.valueKey),V=H.getValue(this.key);return Array.isArray(B)?B.includes(V):typeof V=="string"&&typeof B=="object"&&B!==null?_.call(B,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=w.create(this.key,this.valueKey)),this.negated}}e.ContextKeyInExpr=b;class w{static create(H,B){return new w(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=11,this._negated=b.create(H,B)}cmp(H){return H.type!==this.type?this.type-H.type:this._negated.cmp(H._negated)}equals(H){return H.type===this.type?this._negated.equals(H._negated):!1}substituteConstants(){return this}evaluate(H){return!this._negated.evaluate(H)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}e.ContextKeyNotInExpr=w;class E{static create(H,B,V=null){if(typeof B=="boolean")return B?I.create(H,V):m.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?l.INSTANCE:p.INSTANCE:new E(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=5}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?l.INSTANCE:p.INSTANCE}return this}evaluate(H){return H.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}e.ContextKeyNotEqualsExpr=E;class I{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?l.INSTANCE:p.INSTANCE:new I(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=3}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?l.INSTANCE:p.INSTANCE:this}evaluate(H){return!H.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this)),this.negated}}e.ContextKeyNotExpr=I;function M(X,H){if(typeof X=="string"){const B=parseFloat(X);isNaN(B)||(X=B)}return typeof X=="string"||typeof X=="number"?H(X):l.INSTANCE}class P{static create(H,B,V=null){return M(B,Y=>new P(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=12}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterExpr=P;class x{static create(H,B,V=null){return M(B,Y=>new x(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=13}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterEqualsExpr=x;class T{static create(H,B,V=null){return M(B,Y=>new T(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=14}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))new A(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=15}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}e.ContextKeySmallerEqualsExpr=A;class N{static create(H,B){return new N(H,B)}constructor(H,B){this.key=H,this.regexp=B,this.type=7,this.negated=null}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.keyH.key)return 1;const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return BV?1:0}equals(H){if(H.type===this.type){const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return this.key===H.key&&B===V}return!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.key);return this.regexp?this.regexp.test(B):!1}serialize(){const H=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${H}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F.create(this)),this.negated}}e.ContextKeyRegexExpr=N;class F{static create(H){return new F(H)}constructor(H){this._actual=H,this.type=8}cmp(H){return H.type!==this.type?this.type-H.type:this._actual.cmp(H._actual)}equals(H){return H.type===this.type?this._actual.equals(H._actual):!1}substituteConstants(){return this}evaluate(H){return!this._actual.evaluate(H)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}e.ContextKeyNotRegexExpr=F;function O(X){let H=null;for(let B=0,V=X.length;BH.expr.length)return 1;for(let B=0,V=this.expr.length;B1;){const ae=Y[Y.length-1];if(ae.type!==9)break;Y.pop();const ce=Y.pop(),de=Y.length===0,he=U.create(ae.expr.map(ue=>W.create([ue,ce],null,V)),null,de);he&&(Y.push(he),Y.sort(d))}if(Y.length===1)return Y[0];if(V){for(let ae=0;aeH.serialize()).join(" && ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyAndExpr=W;class U{static create(H,B,V){return U._normalizeArr(H,B,V)}constructor(H,B){this.expr=H,this.negated=B,this.type=9}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.expr.lengthH.expr.length)return 1;for(let B=0,V=this.expr.length;BH.serialize()).join(" || ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());for(;H.length>1;){const B=H.shift(),V=H.shift(),Y=[];for(const ie of J(B))for(const ae of J(V))Y.push(W.create([ie,ae],null,!1));H.unshift(U.create(Y,null,!1))}this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyOrExpr=U;class j extends m{static all(){return j._info.values()}constructor(H,B,V){super(H,null),this._defaultValue=B,typeof V=="object"?j._info.push(Object.assign(Object.assign({},V),{key:H})):V!==!0&&j._info.push({key:H,description:V,type:B!=null?typeof B:void 0})}bindTo(H){return H.createKey(this.key,this._defaultValue)}getValue(H){return H.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(H){return v.create(this.key,H)}}e.RawContextKey=j,j._info=[],e.IContextKeyService=(0,D.createDecorator)("contextKeyService");function R(X,H){return XH?1:0}function K(X,H,B,V){return XB?1:HV?1:0}function G(X,H){if(X.type===0||H.type===1)return!0;if(X.type===9)return H.type===9?Z(X.expr,H.expr):!1;if(H.type===9){for(const B of H.expr)if(G(X,B))return!0;return!1}if(X.type===6){if(H.type===6)return Z(H.expr,X.expr);for(const B of X.expr)if(G(B,H))return!0;return!1}return X.equals(H)}e.implies=G;function Z(X,H){let B=0,V=0;for(;B{const n=this.model.read(i),t=n?.state.read(i),a=!!t?.inlineCompletion&&t?.ghostText!==void 0&&!t?.ghostText.isEmpty();this.inlineCompletionVisible.set(a),t?.ghostText&&t?.inlineCompletion&&this.suppressSuggestions.set(t.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,L.autorun)(i=>{const n=this.model.read(i);let t=!1,a=!0;const u=n?.ghostText.read(i);if(n?.selectedSuggestItem&&u&&u.parts.length>0){const{column:h,lines:r}=u.parts[0],c=r[0],o=n.textModel.getLineIndentColumn(u.lineNumber);if(h<=o){let l=(0,k.firstNonWhitespaceIndex)(c);l===-1&&(l=c.length-1),t=l>0;const p=n.textModel.getOptions().tabSize;a=y.CursorColumns.visibleColumnFromColumn(c,l+1,p)we(void 0,void 0,void 0,function*(){const[a,u,h]=t;(0,y.assertType)(D.URI.isUri(a)),(0,y.assertType)(S.Position.isIPosition(u)),(0,y.assertType)(typeof h=="string"||!h);const r=n.get(_.ILanguageFeaturesService),c=yield n.get(g.ITextModelService).createModelReference(a);try{const o=yield i(r.signatureHelpProvider,c.object.textEditorModel,S.Position.lift(u),{triggerKind:f.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:h},L.CancellationToken.None);return o?(setTimeout(()=>o.dispose(),0),o.value):void 0}finally{c.dispose()}}))}),define(ne[753],se([1,0,13,9,6,2,121,29,236]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsModel=void 0;var g;(function(i){i.Default={type:0};class n{constructor(u,h){this.request=u,this.previouslyActiveHints=h,this.type=2}}i.Pending=n;class t{constructor(u){this.hints=u,this.type=1}}i.Active=t})(g||(g={}));class C extends D.Disposable{constructor(n,t,a=C.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new y.Emitter),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=g.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new D.MutableDisposable),this.triggerChars=new S.CharacterSet,this.retriggerChars=new S.CharacterSet,this.triggerId=0,this.editor=n,this.providers=t,this.throttledDelayer=new L.Delayer(a),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(u=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(u=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(u=>this.onCursorChange(u))),this._register(this.editor.onDidChangeModelContent(u=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(u=>this.onDidType(u))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(n){this._state.type===2&&this._state.request.cancel(),this._state=n}cancel(n=!1){this.state=g.Default,this.throttledDelayer.cancel(),n||this._onChangedHints.fire(void 0)}trigger(n,t){const a=this.editor.getModel();if(!a||!this.providers.has(a))return;const u=++this.triggerId;this._pendingTriggers.push(n),this.throttledDelayer.trigger(()=>this.doTrigger(u),t).catch(k.onUnexpectedError)}next(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t%n===n-1,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?0:t+1)}previous(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t===0,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?n-1:t-1)}updateActiveSignature(n){this.state.type===1&&(this.state=new g.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:n})),this._onChangedHints.fire(this.state.hints))}doTrigger(n){return we(this,void 0,void 0,function*(){const t=this.state.type===1||this.state.type===2,a=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const u=this._pendingTriggers.reduce(s);this._pendingTriggers=[];const h={triggerKind:u.triggerKind,triggerCharacter:u.triggerCharacter,isRetrigger:t,activeSignatureHelp:a};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),c=this.editor.getPosition();this.state=new g.Pending((0,L.createCancelablePromise)(o=>(0,_.provideSignatureHelp)(this.providers,r,c,h,o)),a);try{const o=yield this.state.request;return n!==this.triggerId?(o?.dispose(),!1):!o||!o.value.signatures||o.value.signatures.length===0?(o?.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new g.Active(o.value),this._lastSignatureHelpResult.value=o,this._onChangedHints.fire(this.state.hints),!0)}catch(o){return n===this.triggerId&&(this.state=g.Default),(0,k.onUnexpectedError)(o),!1}})}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();const n=this.editor.getModel();if(n)for(const t of this.providers.ordered(n)){for(const a of t.signatureHelpTriggerCharacters||[])if(a.length){const u=a.charCodeAt(0);this.triggerChars.add(u),this.retriggerChars.add(u)}for(const a of t.signatureHelpRetriggerCharacters||[])a.length&&this.retriggerChars.add(a.charCodeAt(0))}}onDidType(n){if(!this.triggerOnType)return;const t=n.length-1,a=n.charCodeAt(t);(this.triggerChars.has(a)||this.isTriggered&&this.retriggerChars.has(a))&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:n.charAt(t)})}onCursorChange(n){n.source==="mouse"?this.cancel():this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(84).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}e.ParameterHintsModel=C,C.DEFAULT_DELAY=120;function s(i,n){switch(n.triggerKind){case f.SignatureHelpTriggerKind.Invoke:return n;case f.SignatureHelpTriggerKind.ContentChange:return i;case f.SignatureHelpTriggerKind.TriggerCharacter:default:return n}}}),define(ne[754],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestAlternatives=void 0;let y=k=class{constructor(S,f){this._editor=S,this._index=0,this._ckOtherSuggestions=k.OtherSuggestions.bindTo(f)}dispose(){this.reset()}reset(){var S;this._ckOtherSuggestions.reset(),(S=this._listener)===null||S===void 0||S.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:S,index:f},_){if(S.items.length===0){this.reset();return}if(k._moveIndex(!0,S,f)===f){this.reset();return}this._acceptNext=_,this._model=S,this._index=f,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(S,f,_){let g=_;for(let C=f.items.length;C>0&&(g=(g+f.items.length+(S?1:-1))%f.items.length,!(g===_||!f.items[g].completion.additionalTextEdits));C--);return g}next(){this._move(!0)}prev(){this._move(!1)}_move(S){if(this._model)try{this._ignore=!0,this._index=k._moveIndex(S,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};e.SuggestAlternatives=y,y.OtherSuggestions=new L.RawContextKey("hasOtherSuggestions",!1),e.SuggestAlternatives=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[755],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.WordContextKey=void 0;let y=k=class{constructor(S,f){this._editor=S,this._enabled=!1,this._ckAtEnd=k.AtEnd.bindTo(f),this._configListener=this._editor.onDidChangeConfiguration(_=>_.hasChanged(121)&&this._update()),this._update()}dispose(){var S;this._configListener.dispose(),(S=this._selectionListener)===null||S===void 0||S.dispose(),this._ckAtEnd.reset()}_update(){const S=this._editor.getOption(121)==="on";if(this._enabled!==S)if(this._enabled=S,this._enabled){const f=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const _=this._editor.getModel(),g=this._editor.getSelection(),C=_.getWordAtPosition(g.getStartPosition());if(!C){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(C.endColumn===g.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(f),f()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};e.WordContextKey=y,y.AtEnd=new L.RawContextKey("atEndOfWord",!1),e.WordContextKey=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[84],se([1,0,15,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=e.IAccessibilityService=void 0,e.IAccessibilityService=(0,k.createDecorator)("accessibilityService"),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=new L.RawContextKey("accessibilityModeEnabled",!1)}),define(ne[756],se([1,0,52,14,6,2,47,17,200,324,476,201,36,145,231,84]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputedEditorOptions=e.EditorConfiguration=void 0;let u=class extends D.Disposable{constructor(m,v,b,w){super(),this._accessibilityService=w,this._onDidChange=this._register(new y.Emitter),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new y.Emitter),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new i.ComputeOptionsMemory,this.isSimpleWidget=m,this._containerObserver=this._register(new _.ElementSizeObserver(b,v.dimension)),this._rawOptions=l(v),this._validatedOptions=d.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(12)&&this._containerObserver.startObserving(),this._register(n.EditorZoom.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(s.TabFocus.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(g.FontMeasurements.onDidChange(()=>this._recomputeOptions())),this._register(L.PixelRatio.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const m=this._computeOptions(),v=d.checkEquals(this.options,m);v!==null&&(this.options=m,this._onDidChangeFast.fire(v),this._onDidChange.fire(v))}_computeOptions(){const m=this._readEnvConfiguration(),v=t.BareFontInfo.createFromValidatedSettings(this._validatedOptions,m.pixelRatio,this.isSimpleWidget),b=this._readFontInfo(v),w={memory:this._computeOptionsMemory,outerWidth:m.outerWidth,outerHeight:m.outerHeight-this._reservedHeight,fontInfo:b,extraEditorClassName:m.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:m.emptySelectionClipboard,pixelRatio:m.pixelRatio,tabFocusMode:s.TabFocus.getTabFocusMode("editorFocus"),accessibilitySupport:m.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return d.computeOptions(this._validatedOptions,w)}_readEnvConfiguration(){return{extraEditorClassName:r(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:L.isWebKit||L.isFirefox,pixelRatio:L.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(m){return g.FontMeasurements.readFontInfo(m)}getRawOptions(){return this._rawOptions}updateOptions(m){const v=l(m);d.applyUpdate(this._rawOptions,v)&&(this._validatedOptions=d.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(m){this._containerObserver.observe(m)}setIsDominatedByLongLines(m){this._isDominatedByLongLines!==m&&(this._isDominatedByLongLines=m,this._recomputeOptions())}setModelLineCount(m){const v=h(m);this._lineNumbersDigitCount!==v&&(this._lineNumbersDigitCount=v,this._recomputeOptions())}setViewLineCount(m){this._viewLineCount!==m&&(this._viewLineCount=m,this._recomputeOptions())}setReservedHeight(m){this._reservedHeight!==m&&(this._reservedHeight=m,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(m){this._glyphMarginDecorationLaneCount!==m&&(this._glyphMarginDecorationLaneCount=m,this._recomputeOptions())}};e.EditorConfiguration=u,e.EditorConfiguration=u=ke([fe(3,a.IAccessibilityService)],u);function h(p){let m=0;for(;p;)p=Math.floor(p/10),m++;return m||1}function r(){let p="";return!L.isSafari&&!L.isWebkitWebView&&(p+="no-user-select "),L.isSafari&&(p+="no-minimap-shadow ",p+="enable-user-select "),f.isMacintosh&&(p+="mac "),p}class c{constructor(){this._values=[]}_read(m){return this._values[m]}get(m){return this._values[m]}_write(m,v){this._values[m]=v}}class o{constructor(){this._values=[]}_read(m){if(m>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[m]}get(m){return this._read(m)}_write(m,v){this._values[m]=v}}e.ComputedEditorOptions=o;class d{static validateOptions(m){const v=new c;for(const b of i.editorOptionsRegistry){const w=b.name==="_never_"?void 0:m[b.name];v._write(b.id,b.validate(w))}return v}static computeOptions(m,v){const b=new o;for(const w of i.editorOptionsRegistry)b._write(w.id,w.compute(v,b,m._read(w.id)));return b}static _deepEquals(m,v){if(typeof m!="object"||typeof v!="object"||!m||!v)return m===v;if(Array.isArray(m)||Array.isArray(v))return Array.isArray(m)&&Array.isArray(v)?k.equals(m,v):!1;if(Object.keys(m).length!==Object.keys(v).length)return!1;for(const b in m)if(!d._deepEquals(m[b],v[b]))return!1;return!0}static checkEquals(m,v){const b=[];let w=!1;for(const E of i.editorOptionsRegistry){const I=!d._deepEquals(m._read(E.id),v._read(E.id));b[E.id]=I,I&&(w=!0)}return w?new i.ConfigurationChangedEvent(b):null}static applyUpdate(m,v){let b=!1;for(const w of i.editorOptionsRegistry)if(v.hasOwnProperty(w.name)){const E=w.applyUpdate(m[w.name],v[w.name]);m[w.name]=E.newValue,b=b||E.didChange}return b}}function l(p){const m=S.deepClone(p);return(0,C.migrateOptions)(m),m}}),define(ne[237],se([1,0,85,6,2,47,5,116,33,84]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffNavigator=void 0;const C={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0};let s=class extends y.Disposable{constructor(n,t={},a,u,h){super(),this._audioCueService=a,this._codeEditorService=u,this._accessibilityService=h,this._onDidUpdate=this._register(new k.Emitter),this._editor=n,this._options=D.mixin(t,C,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(r=>{this.ignoreSelectionChange||(this._updateAccessibilityState(r.position.lineNumber),this.nextIdx=-1)})),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(n){this.ranges=[],n&&n.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(a=>{this.ranges.push({rhs:!0,range:new S.Range(a.modifiedStartLineNumber,a.modifiedStartColumn,a.modifiedEndLineNumber,a.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,a)=>S.Range.compareRangesUsingStarts(t.range,a.range)),this._onDidUpdate.fire(this)}_initIdx(n){let t=!1;const a=this._editor.getPosition();if(!a){this.nextIdx=0;return}for(let u=0,h=this.ranges.length;u=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const a=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const u=a.range.getStartPosition();this._editor.setPosition(u),this._editor.revealRangeInCenter(a.range,t),this._updateAccessibilityState(u.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(n,t){var a;const u=(a=this._editor.getModel())===null||a===void 0?void 0:a.modified;if(!u)return;const h=u.getLineDecorations(n).find(c=>c.options.className==="line-insert");if(h)this._audioCueService.playAudioCue(f.AudioCue.diffLineModified,{allowManyInParallel:!0});else if(t)this._audioCueService.playAudioCue(f.AudioCue.diffLineDeleted,{allowManyInParallel:!0});else return;const r=this._codeEditorService.getActiveCodeEditor();t&&r&&h&&this._accessibilityService.isScreenReaderOptimized()&&(r.setSelection({startLineNumber:n,startColumn:0,endLineNumber:n,endColumn:Number.MAX_VALUE}),r.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(n=0){this.canNavigateNext()&&this._move(!0,n)}previous(n=0){this.canNavigatePrevious()&&this._move(!1,n)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx"u"&&this._parent?this._parent.getValue(E):I}}e.Context=n;class t extends n{constructor(){super(-1,null)}setValue(E,I){return!1}removeValue(E){return!1}getValue(E){}}t.INSTANCE=new t;class a extends n{constructor(E,I,M){super(E,null),this._configurationService=I,this._values=S.TernarySearchTree.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(P=>{if(P.source===7){const x=Array.from(this._values,([T])=>T);this._values.clear(),M.fire(new r(x))}else{const x=[];for(const T of P.affectedKeys){const A=`config.${T}`,N=this._values.findSuperstr(A);N!==void 0&&(x.push(...k.Iterable.map(N,([F])=>F)),this._values.deleteSuperstr(A)),this._values.has(A)&&(x.push(A),this._values.delete(A))}M.fire(new r(x))}})}dispose(){this._listener.dispose()}getValue(E){if(E.indexOf(a._keyPrefix)!==0)return super.getValue(E);if(this._values.has(E))return this._values.get(E);const I=E.substr(a._keyPrefix.length),M=this._configurationService.getValue(I);let P;switch(typeof M){case"number":case"boolean":case"string":P=M;break;default:Array.isArray(M)?P=JSON.stringify(M):P=M}return this._values.set(E,P),P}setValue(E,I){return super.setValue(E,I)}removeValue(E){return super.removeValue(E)}}a._keyPrefix="config.";class u{constructor(E,I,M){this._service=E,this._key=I,this._defaultValue=M,this.reset()}set(E){this._service.setContext(this._key,E)}reset(){typeof this._defaultValue>"u"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class h{constructor(E){this.key=E}affectsSome(E){return E.has(this.key)}allKeysContainedIn(E){return this.affectsSome(E)}}class r{constructor(E){this.keys=E}affectsSome(E){for(const I of this.keys)if(E.has(I))return!0;return!1}allKeysContainedIn(E){return this.keys.every(I=>E.has(I))}}class c{constructor(E){this.events=E}affectsSome(E){for(const I of this.events)if(I.affectsSome(E))return!0;return!1}allKeysContainedIn(E){return this.events.every(I=>I.allKeysContainedIn(E))}}function o(w,E){return w.allKeysContainedIn(new Set(Object.keys(E)))}class d{constructor(E){this._onDidChangeContext=new L.PauseableEmitter({merge:I=>new c(I)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=E}createKey(E,I){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new u(this,E,I)}bufferChangeEvents(E){this._onDidChangeContext.pause();try{E()}finally{this._onDidChangeContext.resume()}}createScoped(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new p(this,E)}contextMatchesRules(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const I=this.getContextValuesContainer(this._myContextId);return E?E.evaluate(I):!0}getContextKeyValue(E){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(E)}setContext(E,I){if(this._isDisposed)return;const M=this.getContextValuesContainer(this._myContextId);M&&M.setValue(E,I)&&this._onDidChangeContext.fire(new h(E))}removeContext(E){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(E)&&this._onDidChangeContext.fire(new h(E))}getContext(E){return this._isDisposed?t.INSTANCE:this.getContextValuesContainer(m(E))}}e.AbstractContextKeyService=d;let l=class extends d{constructor(E){super(0),this._contexts=new Map,this._toDispose=new y.DisposableStore,this._lastContextId=0;const I=new a(this._myContextId,E,this._onDidChangeContext);this._contexts.set(this._myContextId,I),this._toDispose.add(I)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._contexts.get(E)||t.INSTANCE}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");const I=++this._lastContextId;return this._contexts.set(I,new n(I,this.getContextValuesContainer(E))),I}disposeContext(E){this._isDisposed||this._contexts.delete(E)}};e.ContextKeyService=l,e.ContextKeyService=l=ke([fe(0,C.IConfigurationService)],l);class p extends d{constructor(E,I){if(super(E.createChildContext()),this._parentChangeListener=new y.MutableDisposable,this._parent=E,this._updateParentChangeListener(),this._domNode=I,this._domNode.hasAttribute(i)){let M="";this._domNode.classList&&(M=Array.from(this._domNode.classList.values()).join(", ")),console.error(`Element already has context attribute${M?": "+M:""}`)}this._domNode.setAttribute(i,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(E=>{const M=this._parent.getContextValuesContainer(this._myContextId).value;o(E,M)||this._onDidChangeContext.fire(E)})}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(i),this._isDisposed=!0)}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._parent.getContextValuesContainer(E)}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(E)}disposeContext(E){this._isDisposed||this._parent.disposeContext(E)}}function m(w){for(;w;){if(w.hasAttribute(i)){const E=w.getAttribute(i);return E?parseInt(E,10):NaN}w=w.parentElement}return 0}function v(w,E,I){w.get(s.IContextKeyService).createKey(String(E),b(I))}e.setContext=v;function b(w){return(0,D.cloneAndChange)(w,E=>{if(typeof E=="object"&&E.$mid===1)return f.URI.revive(E).toString();if(E instanceof f.URI)return E.toString()})}g.CommandsRegistry.registerCommand("_setContext",v),g.CommandsRegistry.registerCommand({id:"getContextKeyInfo",handler(){return[...s.RawContextKey.all()].sort((w,E)=>w.key.localeCompare(E.key))},description:{description:(0,_.localize)(0,null),args:[]}}),g.CommandsRegistry.registerCommand("_generateContextKeyInfo",function(){const w=[],E=new Set;for(const I of s.RawContextKey.all())E.has(I.key)||(E.add(I.key),w.push(I));w.sort((I,M)=>I.key.localeCompare(M.key)),console.log(JSON.stringify(w,void 0,2))})}),define(ne[238],se([1,0,17,724,15]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputFocusedContext=e.InputFocusedContextKey=e.ProductQualityContext=e.IsDevelopmentContext=e.IsMobileContext=e.IsIOSContext=e.IsMacNativeContext=e.IsWebContext=e.IsWindowsContext=e.IsLinuxContext=e.IsMacContext=void 0,e.IsMacContext=new y.RawContextKey("isMac",L.isMacintosh,(0,k.localize)(0,null)),e.IsLinuxContext=new y.RawContextKey("isLinux",L.isLinux,(0,k.localize)(1,null)),e.IsWindowsContext=new y.RawContextKey("isWindows",L.isWindows,(0,k.localize)(2,null)),e.IsWebContext=new y.RawContextKey("isWeb",L.isWeb,(0,k.localize)(3,null)),e.IsMacNativeContext=new y.RawContextKey("isMacNative",L.isMacintosh&&!L.isWeb,(0,k.localize)(4,null)),e.IsIOSContext=new y.RawContextKey("isIOS",L.isIOS,(0,k.localize)(5,null)),e.IsMobileContext=new y.RawContextKey("isMobile",L.isMobile,(0,k.localize)(6,null)),e.IsDevelopmentContext=new y.RawContextKey("isDevelopment",!1,!0),e.ProductQualityContext=new y.RawContextKey("productQualityType","",(0,k.localize)(7,null)),e.InputFocusedContextKey="inputFocus",e.InputFocusedContext=new y.RawContextKey(e.InputFocusedContextKey,!1,(0,k.localize)(8,null))}),define(ne[57],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IContextMenuService=e.IContextViewService=void 0,e.IContextViewService=(0,L.createDecorator)("contextViewService"),e.IContextMenuService=(0,L.createDecorator)("contextMenuService")}),define(ne[156],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IDialogService=void 0,e.IDialogService=(0,L.createDecorator)("dialogService")}),define(ne[239],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEnvironmentService=void 0,e.IEnvironmentService=(0,L.createDecorator)("environmentService")}),define(ne[157],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ServiceCollection=void 0;class L{constructor(...y){this._entries=new Map;for(const[D,S]of y)this.set(D,S)}set(y,D){const S=this._entries.get(y);return this._entries.set(y,D),S}get(y){return this._entries.get(y)}}e.ServiceCollection=L}),define(ne[758],se([1,0,13,9,2,232,746,8,157,64]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Trace=e.InstantiationService=void 0;const C=!1;class s extends Error{constructor(a){var u;super("cyclic dependency between services"),this.message=(u=a.findCycleSlow())!==null&&u!==void 0?u:`UNABLE to detect cycle, dumping graph: -${a.toString()}`}}class i{constructor(a=new _.ServiceCollection,u=!1,h,r=C){var c;this._services=a,this._strict=u,this._parent=h,this._enableTracing=r,this._activeInstantiations=new Set,this._services.set(f.IInstantiationService,this),this._globalGraph=r?(c=h?._globalGraph)!==null&&c!==void 0?c:new S.Graph(o=>o):void 0}createChild(a){return new i(a,this._strict,this,this._enableTracing)}invokeFunction(a,...u){const h=n.traceInvocation(this._enableTracing,a);let r=!1;try{return a({get:o=>{if(r)throw(0,k.illegalState)("service accessor is only valid during the invocation of its target method");const d=this._getOrCreateServiceInstance(o,h);if(!d)throw new Error(`[invokeFunction] unknown service '${o}'`);return d}},...u)}finally{r=!0,h.stop()}}createInstance(a,...u){let h,r;return a instanceof D.SyncDescriptor?(h=n.traceCreation(this._enableTracing,a.ctor),r=this._createInstance(a.ctor,a.staticArguments.concat(u),h)):(h=n.traceCreation(this._enableTracing,a),r=this._createInstance(a,u,h)),h.stop(),r}_createInstance(a,u=[],h){const r=f._util.getServiceDependencies(a).sort((d,l)=>d.index-l.index),c=[];for(const d of r){const l=this._getOrCreateServiceInstance(d.id,h);l||this._throwIfStrict(`[createInstance] ${a.name} depends on UNKNOWN service ${d.id}.`,!1),c.push(l)}const o=r.length>0?r[0].index:u.length;if(u.length!==o){console.trace(`[createInstance] First service dependency of ${a.name} at position ${o+1} conflicts with ${u.length} static arguments`);const d=o-u.length;d>0?u=u.concat(new Array(d)):u=u.slice(0,o)}return Reflect.construct(a,u.concat(c))}_setServiceInstance(a,u){if(this._services.get(a)instanceof D.SyncDescriptor)this._services.set(a,u);else if(this._parent)this._parent._setServiceInstance(a,u);else throw new Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(a){const u=this._services.get(a);return!u&&this._parent?this._parent._getServiceInstanceOrDescriptor(a):u}_getOrCreateServiceInstance(a,u){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(a));const h=this._getServiceInstanceOrDescriptor(a);return h instanceof D.SyncDescriptor?this._safeCreateAndCacheServiceInstance(a,h,u.branch(a,!0)):(u.branch(a,!1),h)}_safeCreateAndCacheServiceInstance(a,u,h){if(this._activeInstantiations.has(a))throw new Error(`illegal state - RECURSIVELY instantiating service '${a}'`);this._activeInstantiations.add(a);try{return this._createAndCacheServiceInstance(a,u,h)}finally{this._activeInstantiations.delete(a)}}_createAndCacheServiceInstance(a,u,h){var r;const c=new S.Graph(l=>l.id.toString());let o=0;const d=[{id:a,desc:u,_trace:h}];for(;d.length;){const l=d.pop();if(c.lookupOrInsertNode(l),o++>1e3)throw new s(c);for(const p of f._util.getServiceDependencies(l.desc.ctor)){const m=this._getServiceInstanceOrDescriptor(p.id);if(m||this._throwIfStrict(`[createInstance] ${a} depends on ${p.id} which is NOT registered.`,!0),(r=this._globalGraph)===null||r===void 0||r.insertEdge(String(l.id),String(p.id)),m instanceof D.SyncDescriptor){const v={id:p.id,desc:m,_trace:l._trace.branch(p.id,!0)};c.insertEdge(l,v),d.push(v)}}}for(;;){const l=c.roots();if(l.length===0){if(!c.isEmpty())throw new s(c);break}for(const{data:p}of l){if(this._getServiceInstanceOrDescriptor(p.id)instanceof D.SyncDescriptor){const v=this._createServiceInstanceWithOwner(p.id,p.desc.ctor,p.desc.staticArguments,p.desc.supportsDelayedInstantiation,p._trace);this._setServiceInstance(p.id,v)}c.removeNode(p)}}return this._getServiceInstanceOrDescriptor(a)}_createServiceInstanceWithOwner(a,u,h=[],r,c){if(this._services.get(a)instanceof D.SyncDescriptor)return this._createServiceInstance(a,u,h,r,c);if(this._parent)return this._parent._createServiceInstanceWithOwner(a,u,h,r,c);throw new Error(`illegalState - creating UNKNOWN service instance ${u.name}`)}_createServiceInstance(a,u,h=[],r,c){if(r){const o=new i(void 0,this._strict,this,this._enableTracing);o._globalGraphImplicitDependency=String(a);const d=new Map,l=new L.IdleValue(()=>{const p=o._createInstance(u,h,c);for(const[m,v]of d){const b=p[m];if(typeof b=="function")for(const w of v)b.apply(p,w)}return d.clear(),p});return new Proxy(Object.create(null),{get(p,m){if(!l.isInitialized&&typeof m=="string"&&(m.startsWith("onDid")||m.startsWith("onWill"))){let w=d.get(m);return w||(w=new g.LinkedList,d.set(m,w)),(I,M,P)=>{const x=w.push([I,M,P]);return(0,y.toDisposable)(x)}}if(m in p)return p[m];const v=l.value;let b=v[m];return typeof b!="function"||(b=b.bind(v),p[m]=b),b},set(p,m,v){return l.value[m]=v,!0},getPrototypeOf(p){return u.prototype}})}else return this._createInstance(u,h,c)}_throwIfStrict(a,u){if(u&&console.warn(a),this._strict)throw new Error(a)}}e.InstantiationService=i;class n{static traceInvocation(a,u){return a?new n(2,u.name||new Error().stack.split(` -`).slice(3,4).join(` -`)):n._None}static traceCreation(a,u){return a?new n(1,u.name):n._None}constructor(a,u){this.type=a,this.name=u,this._start=Date.now(),this._dep=[]}branch(a,u){const h=new n(3,a.toString());return this._dep.push([a,u,h]),h}stop(){const a=Date.now()-this._start;n._totals+=a;let u=!1;function h(c,o){const d=[],l=new Array(c+1).join(" ");for(const[p,m,v]of o._dep)if(m&&v){u=!0,d.push(`${l}CREATES -> ${p}`);const b=h(c+1,v);b&&d.push(b)}else d.push(`${l}uses -> ${p}`);return d.join(` -`)}const r=[`${this.type===1?"CREATE":"CALL"} ${this.name}`,`${h(1,this)}`,`DONE, took ${a.toFixed(2)}ms (grand total ${n._totals.toFixed(2)}ms)`];(a>2||u)&&n.all.add(r.join(` -`))}}e.Trace=n,n.all=new Set,n._None=new class extends n{constructor(){super(0,null)}stop(){}branch(){return this}},n._totals=0}),define(ne[759],se([1,0,9,216,119]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseResolvedKeybinding=void 0;class D extends y.ResolvedKeybinding{constructor(f,_){if(super(),_.length===0)throw(0,L.illegalArgument)("chords");this._os=f,this._chords=_}getLabel(){return k.UILabelProvider.toLabel(this._os,this._chords,f=>this._getLabel(f))}getAriaLabel(){return k.AriaLabelProvider.toLabel(this._os,this._chords,f=>this._getAriaLabel(f))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:k.ElectronAcceleratorLabelProvider.toLabel(this._os,this._chords,f=>this._getElectronAccelerator(f))}getUserSettingsLabel(){return k.UserSettingsLabelProvider.toLabel(this._os,this._chords,f=>this._getUserSettingsLabel(f))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(f=>this._getChord(f))}_getChord(f){return new y.ResolvedChord(f.ctrlKey,f.shiftKey,f.altKey,f.metaKey,this._getLabel(f),this._getAriaLabel(f))}getDispatchChords(){return this._chords.map(f=>this._getChordDispatch(f))}getSingleModifierDispatchChords(){return this._chords.map(f=>this._getSingleModifierChordDispatch(f))}}e.BaseResolvedKeybinding=D}),define(ne[34],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IKeybindingService=void 0,e.IKeybindingService=(0,L.createDecorator)("keybindingService")}),define(ne[335],se([1,0,7,313,39,6,2,132,15,57,8,34,441]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.PostEditWidgetManager=void 0;let n=i=class extends S.Disposable{constructor(u,h,r,c,o,d,l,p,m,v){super(),this.typeId=u,this.editor=h,this.showCommand=c,this.range=o,this.edits=d,this.onSelectNewEdit=l,this._contextMenuService=p,this._keybindingService=v,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=r.bindTo(m),this.visibleContext.set(!0),this._register((0,S.toDisposable)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,S.toDisposable)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(b=>{o.containsPosition(b.position)||this.dispose()})),this._register(D.Event.runAndSubscribe(v.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var u;const h=(u=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||u===void 0?void 0:u.getLabel();this.button.element.title=this.showCommand.label+(h?` (${h})`:"")}create(){this.domNode=L.$(".post-edit-widget"),this.button=this._register(new k.Button(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,()=>this.showSelector()))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const u=L.getDomNodePagePosition(this.button.element);return{x:u.left+u.width,y:u.top+u.height}},getActions:()=>this.edits.allEdits.map((u,h)=>(0,y.toAction)({id:"",label:u.label,checked:h===this.edits.activeEditIndex,run:()=>{if(h!==this.edits.activeEditIndex)return this.onSelectNewEdit(h)}}))})}};n.baseId="editor.widget.postEditWidget",n=i=ke([fe(7,g.IContextMenuService),fe(8,_.IContextKeyService),fe(9,s.IKeybindingService)],n);let t=class extends S.Disposable{constructor(u,h,r,c,o,d){super(),this._id=u,this._editor=h,this._visibleContext=r,this._showCommand=c,this._instantiationService=o,this._bulkEditService=d,this._currentWidget=this._register(new S.MutableDisposable),this._register(D.Event.any(h.onDidChangeModel,h.onDidChangeModelContent)(()=>this.clear()))}applyEditAndShowIfNeeded(u,h,r,c){var o,d;return we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l||!u.length)return;const p=h.allEdits[h.activeEditIndex];if(!p)return;let m=[];(typeof p.insertText=="string"?p.insertText==="":p.insertText.snippet==="")?m=[]:m=u.map(P=>new f.ResourceTextEdit(l.uri,typeof p.insertText=="string"?{range:P,text:p.insertText,insertAsSnippet:!1}:{range:P,text:p.insertText.snippet,insertAsSnippet:!0}));const b={edits:[...m,...(d=(o=p.additionalEdit)===null||o===void 0?void 0:o.edits)!==null&&d!==void 0?d:[]]},w=u[0],E=l.deltaDecorations([],[{range:w,options:{description:"paste-line-suffix",stickiness:0}}]);let I,M;try{I=yield this._bulkEditService.apply(b,{editor:this._editor,token:c}),M=l.getDecorationRange(E[0])}finally{l.deltaDecorations(E,[])}r&&I.isApplied&&h.allEdits.length>1&&this.show(M??w,h,P=>we(this,void 0,void 0,function*(){const x=this._editor.getModel();x&&(yield x.undo(),this.applyEditAndShowIfNeeded(u,{activeEditIndex:P,allEdits:h.allEdits},r,c))}))})}show(u,h,r){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(n,this._id,this._editor,this._visibleContext,this._showCommand,u,h,r))}clear(){this._currentWidget.clear()}tryShowSelector(){var u;(u=this._currentWidget.value)===null||u===void 0||u.showSelector()}};e.PostEditWidgetManager=t,e.PostEditWidgetManager=t=ke([fe(4,C.IInstantiationService),fe(5,f.IBulkEditService)],t)}),define(ne[336],se([1,0,15]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingResolver=e.NoMatchingKb=void 0,e.NoMatchingKb={kind:0};const k={kind:1};function y(_,g,C){return{kind:2,commandId:_,commandArgs:g,isBubble:C}}class D{constructor(g,C,s){var i;this._log=s,this._defaultKeybindings=g,this._defaultBoundCommands=new Map;for(const n of g){const t=n.command;t&&t.charAt(0)!=="-"&&this._defaultBoundCommands.set(t,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=D.handleRemovals([].concat(g).concat(C));for(let n=0,t=this._keybindings.length;n"u"){this._map.set(g,[C]),this._addToLookupMap(C);return}for(let i=s.length-1;i>=0;i--){const n=s[i];if(n.command===C.command)continue;let t=!0;for(let a=1;a"u"?(C=[g],this._lookupMap.set(g.command,C)):C.push(g)}_removeFromLookupMap(g){if(!g.command)return;const C=this._lookupMap.get(g.command);if(!(typeof C>"u")){for(let s=0,i=C.length;s"u"||s.length===0)return null;if(s.length===1)return s[0];for(let i=s.length-1;i>=0;i--){const n=s[i];if(C.contextMatchesRules(n.when))return n}return s[s.length-1]}resolve(g,C,s){const i=[...C,s];this._log(`| Resolving ${i}`);const n=this._map.get(i[0]);if(n===void 0)return this._log("\\ No keybinding entries."),e.NoMatchingKb;let t=null;if(i.length<2)t=n;else{t=[];for(let u=0,h=n.length;ur.chords.length)continue;let c=!0;for(let o=1;o=0;s--){const i=C[s];if(D._contextMatchesRules(g,i.when))return i}return null}static _contextMatchesRules(g,C){return C?C.evaluate(g):!0}}e.KeybindingResolver=D;function S(_){return _?`${_.serialize()}`:"no when condition"}function f(_){return _.extensionId?_.isBuiltinExtension?`built-in extension ${_.extensionId}`:`user extension ${_.extensionId}`:_.isDefault?"built-in":"user"}}),define(ne[760],se([1,0,13,9,6,263,2,727,336]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractKeybindingService=void 0;const g=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class C extends S.Disposable{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:y.Event.None}get inChordMode(){return this._currentChords.length>0}constructor(n,t,a,u,h){super(),this._contextKeyService=n,this._commandService=t,this._telemetryService=a,this._notificationService=u,this._logService=h,this._onDidUpdateKeybindings=this._register(new y.Emitter),this._currentChords=[],this._currentChordChecker=new L.IntervalTimer,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new L.TimeoutTimer,this._logging=!1}dispose(){super.dispose()}_log(n){this._logging&&this._logService.info(`[KeybindingService]: ${n}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(n,t){const a=this._getResolver().lookupPrimaryKeybinding(n,t||this._contextKeyService);if(a)return a.resolvedKeybinding}dispatchEvent(n,t){return this._dispatch(n,t)}softDispatch(n,t){this._log("/ Soft dispatching keyboard event");const a=this.resolveKeyboardEvent(n);if(a.hasMultipleChords())return console.warn("keyboard event should not be mapped to multiple chords"),_.NoMatchingKb;const[u]=a.getDispatchChords();if(u===null)return this._log("\\ Keyboard event cannot be dispatched"),_.NoMatchingKb;const h=this._contextKeyService.getContext(t),r=this._currentChords.map(({keypress:c})=>c);return this._getResolver().resolve(h,r,u)}_scheduleLeaveChordMode(){const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-n>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(n,t){switch(this._currentChords.push({keypress:n,label:t}),this._currentChords.length){case 0:throw(0,k.illegalState)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(f.localize(0,null,t));break;default:{const a=this._currentChords.map(({label:u})=>u).join(", ");this._currentChordStatusMessage=this._notificationService.status(f.localize(1,null,a))}}this._scheduleLeaveChordMode(),D.IME.enabled&&D.IME.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],D.IME.enable()}_dispatch(n,t){return this._doDispatch(this.resolveKeyboardEvent(n),t,!1)}_singleModifierDispatch(n,t){const a=this.resolveKeyboardEvent(n),[u]=a.getSingleModifierDispatchChords();if(u)return this._ignoreSingleModifiers.has(u)?(this._log(`+ Ignoring single modifier ${u} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${u}.`),this._currentSingleModifier=u,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300),!1):u===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${u} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(a,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[h]=a.getChords();return this._ignoreSingleModifiers=new s(h),this._currentSingleModifier!==null&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(n,t,a=!1){var u;let h=!1;if(n.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let r=null,c=null;if(a){const[p]=n.getSingleModifierDispatchChords();r=p,c=p?[p]:[]}else[r]=n.getDispatchChords(),c=this._currentChords.map(({keypress:p})=>p);if(r===null)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),h;const o=this._contextKeyService.getContext(t),d=n.getLabel(),l=this._getResolver().resolve(o,c,r);switch(l.kind){case 0:{if(this._logService.trace("KeybindingService#dispatch",d,"[ No matching keybinding ]"),this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(2,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}return h}case 1:return this._logService.trace("KeybindingService#dispatch",d,"[ Several keybindings match - more chords needed ]"),h=!0,this._expectAnotherChord(r,d),this._log(this._currentChords.length===1?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),h;case 2:{if(this._logService.trace("KeybindingService#dispatch",d,`[ Will dispatch command ${l.commandId} ]`),l.commandId===null||l.commandId===""){if(this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(3,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}}else this.inChordMode&&this._leaveChordMode(),l.isBubble||(h=!0),this._log(`+ Invoking command ${l.commandId}.`),typeof l.commandArgs>"u"?this._commandService.executeCommand(l.commandId).then(void 0,p=>this._notificationService.warn(p)):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,p=>this._notificationService.warn(p)),g.test(l.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding",detail:(u=n.getUserSettingsLabel())!==null&&u!==void 0?u:void 0});return h}}}mightProducePrintableCharacter(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30}}e.AbstractKeybindingService=C;class s{constructor(n){this._ctrlKey=n?n.ctrlKey:!1,this._shiftKey=n?n.shiftKey:!1,this._altKey=n?n.altKey:!1,this._metaKey=n?n.metaKey:!1}has(n){switch(n){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}s.EMPTY=new s(null)}),define(ne[337],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toEmptyArrayIfContainsNull=e.ResolvedKeybindingItem=void 0;class L{constructor(D,S,f,_,g,C,s){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=D,this.chords=D?k(D.getDispatchChords()):[],D&&this.chords.length===0&&(this.chords=k(D.getSingleModifierDispatchChords())),this.bubble=S?S.charCodeAt(0)===94:!1,this.command=this.bubble?S.substr(1):S,this.commandArgs=f,this.when=_,this.isDefault=g,this.extensionId=C,this.isBuiltinExtension=s}}e.ResolvedKeybindingItem=L;function k(y){const D=[];for(let S=0,f=y.length;Sthis._toKeyCodeChord(s)));return C.length>0?[new S(C,g)]:[]}}e.USLayoutResolvedKeybinding=S}),define(ne[158],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILabelService=void 0,e.ILabelService=(0,L.createDecorator)("labelService")}),define(ne[134],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILayoutService=void 0,e.ILayoutService=(0,L.createDecorator)("layoutService")}),define(ne[338],se([1,0,7,6,134,33,50]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScopedLayoutService=void 0;let f=class{get dimension(){return this._dimension||(this._dimension=L.getClientArea(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var C;(C=this._codeEditorService.getFocusedCodeEditor())===null||C===void 0||C.focus()}constructor(C){this._codeEditorService=C,this.onDidLayout=k.Event.None,this.offset={top:0,quickPickTop:0}}};f=ke([fe(0,D.ICodeEditorService)],f);let _=class extends f{get hasContainer(){return!1}get container(){return this._container}constructor(C,s){super(s),this._container=C}};e.EditorScopedLayoutService=_,e.EditorScopedLayoutService=_=ke([fe(1,D.ICodeEditorService)],_),(0,S.registerSingleton)(y.ILayoutService,f,1)}),define(ne[762],se([1,0,7,6,2,84,28,15,134]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityService=void 0;let g=class extends y.Disposable{constructor(s,i,n){super(),this._contextKeyService=s,this._layoutService=i,this._configurationService=n,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new k.Emitter,this._onDidChangeReducedMotion=new k.Emitter,this._accessibilityModeEnabledContext=D.CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);const t=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(u=>{u.affectsConfiguration("editor.accessibilitySupport")&&(t(),this._onDidChangeScreenReaderOptimized.fire()),u.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())})),t(),this._register(this.onDidChangeScreenReaderOptimized(()=>t()));const a=window.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=a.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(a)}initReducedMotionListeners(s){if(!this._layoutService.hasContainer)return;this._register((0,L.addDisposableListener)(s,"change",()=>{this._systemMotionReduced=s.matches,this._configMotionReduced==="auto"&&this._onDidChangeReducedMotion.fire()}));const i=()=>{const n=this.isMotionReduced();this._layoutService.container.classList.toggle("reduce-motion",n),this._layoutService.container.classList.toggle("enable-motion",!n)};i(),this._register(this.onDidChangeReducedMotion(()=>i()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const s=this._configurationService.getValue("editor.accessibilitySupport");return s==="on"||s==="auto"&&this._accessibilitySupport===2}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const s=this._configMotionReduced;return s==="on"||s==="auto"&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};e.AccessibilityService=g,e.AccessibilityService=g=ke([fe(0,f.IContextKeyService),fe(1,_.ILayoutService),fe(2,S.IConfigurationService)],g)}),define(ne[763],se([1,0,306,2,134]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextViewService=void 0;let D=class extends k.Disposable{constructor(f){super(),this.layoutService=f,this.currentViewDisposable=k.Disposable.None,this.container=f.hasContainer?f.container:null,this.contextView=this._register(new L.ContextView(this.container,1)),this.layout(),this._register(f.onDidLayout(()=>this.layout()))}setContainer(f,_){this.contextView.setContainer(f,_||1)}showContextView(f,_,g){_?(_!==this.container||this.shadowRoot!==g)&&(this.container=_,this.setContainer(_,g?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.shadowRoot=g,this.contextView.show(f);const C=(0,k.toDisposable)(()=>{this.currentViewDisposable===C&&this.hideContextView()});return this.currentViewDisposable=C,C}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(f){this.contextView.hide(f)}};e.ContextViewService=D,e.ContextViewService=D=ke([fe(0,y.ILayoutService)],D)}),define(ne[70],se([1,0,6,2,15,8]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_LOG_LEVEL=e.LogLevelToString=e.MultiplexLogger=e.ConsoleLogger=e.AbstractLogger=e.DEFAULT_LOG_LEVEL=e.LogLevel=e.ILogService=void 0,e.ILogService=(0,D.createDecorator)("logService");var S;(function(s){s[s.Off=0]="Off",s[s.Trace=1]="Trace",s[s.Debug=2]="Debug",s[s.Info=3]="Info",s[s.Warning=4]="Warning",s[s.Error=5]="Error"})(S||(e.LogLevel=S={})),e.DEFAULT_LOG_LEVEL=S.Info;class f extends k.Disposable{constructor(){super(...arguments),this.level=e.DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new L.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(i){this.level!==i&&(this.level=i,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(i){return this.level!==S.Off&&this.level<=i}}e.AbstractLogger=f;class _ extends f{constructor(i=e.DEFAULT_LOG_LEVEL,n=!0){super(),this.useColors=n,this.setLevel(i)}trace(i,...n){this.checkLogLevel(S.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",i,...n):console.log(i,...n))}debug(i,...n){this.checkLogLevel(S.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",i,...n):console.log(i,...n))}info(i,...n){this.checkLogLevel(S.Info)&&(this.useColors?console.log("%c INFO","color: #33f",i,...n):console.log(i,...n))}warn(i,...n){this.checkLogLevel(S.Warning)&&(this.useColors?console.log("%c WARN","color: #993",i,...n):console.log(i,...n))}error(i,...n){this.checkLogLevel(S.Error)&&(this.useColors?console.log("%c ERR","color: #f33",i,...n):console.error(i,...n))}dispose(){}}e.ConsoleLogger=_;class g extends f{constructor(i){super(),this.loggers=i,i.length&&this.setLevel(i[0].getLevel())}setLevel(i){for(const n of this.loggers)n.setLevel(i);super.setLevel(i)}trace(i,...n){for(const t of this.loggers)t.trace(i,...n)}debug(i,...n){for(const t of this.loggers)t.debug(i,...n)}info(i,...n){for(const t of this.loggers)t.info(i,...n)}warn(i,...n){for(const t of this.loggers)t.warn(i,...n)}error(i,...n){for(const t of this.loggers)t.error(i,...n)}dispose(){for(const i of this.loggers)i.dispose()}}e.MultiplexLogger=g;function C(s){switch(s){case S.Trace:return"trace";case S.Debug:return"debug";case S.Info:return"info";case S.Warning:return"warn";case S.Error:return"error";case S.Off:return"off"}}e.LogLevelToString=C,e.CONTEXT_LOG_LEVEL=new y.RawContextKey("logLevel",C(S.Info))}),define(ne[764],se([1,0,52,7,13,2,134,70]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserClipboardService=void 0;let _=class extends D.Disposable{constructor(C,s){super(),this.layoutService=C,this.logService=s,this.mapTextToType=new Map,this.findText="",this.resources=[],(L.isSafari||L.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const C=()=>{const s=new y.DeferredPromise;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=s,navigator.clipboard.write([new ClipboardItem({"text/plain":s.p})]).catch(i=>we(this,void 0,void 0,function*(){(!(i instanceof Error)||i.name!=="NotAllowedError"||!s.isRejected)&&this.logService.error(i)}))};this.layoutService.hasContainer&&(this._register((0,k.addDisposableListener)(this.layoutService.container,"click",C)),this._register((0,k.addDisposableListener)(this.layoutService.container,"keydown",C)))}writeText(C,s){return we(this,void 0,void 0,function*(){if(s){this.mapTextToType.set(s,C);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(C);try{return yield navigator.clipboard.writeText(C)}catch(t){console.error(t)}const i=document.activeElement,n=document.body.appendChild((0,k.$)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=C,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)})}readText(C){return we(this,void 0,void 0,function*(){if(C)return this.mapTextToType.get(C)||"";try{return yield navigator.clipboard.readText()}catch(s){return console.error(s),""}})}readFindText(){return we(this,void 0,void 0,function*(){return this.findText})}writeFindText(C){return we(this,void 0,void 0,function*(){this.findText=C})}writeResources(C){return we(this,void 0,void 0,function*(){this.resources=C})}readResources(){return we(this,void 0,void 0,function*(){return this.resources})}};e.BrowserClipboardService=_,e.BrowserClipboardService=_=ke([fe(0,S.ILayoutService),fe(1,f.ILogService)],_)}),define(ne[765],se([1,0,2,70]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogService=void 0;class y extends L.Disposable{constructor(S,f=[]){super(),this.logger=new k.MultiplexLogger([S,...f]),this._register(S.onDidChangeLogLevel(_=>this.setLevel(_)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(S){this.logger.setLevel(S)}getLevel(){return this.logger.getLevel()}trace(S,...f){this.logger.trace(S,...f)}debug(S,...f){this.logger.debug(S,...f)}info(S,...f){this.logger.info(S,...f)}warn(S,...f){this.logger.warn(S,...f)}error(S,...f){this.logger.error(S,...f)}}e.LogService=y}),define(ne[97],se([1,0,101,729,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerService=e.IMarkerData=e.MarkerSeverity=void 0;var D;(function(f){f[f.Hint=1]="Hint",f[f.Info=2]="Info",f[f.Warning=4]="Warning",f[f.Error=8]="Error"})(D||(e.MarkerSeverity=D={})),function(f){function _(n,t){return t-n}f.compare=_;const g=Object.create(null);g[f.Error]=(0,k.localize)(0,null),g[f.Warning]=(0,k.localize)(1,null),g[f.Info]=(0,k.localize)(2,null);function C(n){return g[n]||""}f.toString=C;function s(n){switch(n){case L.default.Error:return f.Error;case L.default.Warning:return f.Warning;case L.default.Info:return f.Info;case L.default.Ignore:return f.Hint}}f.fromSeverity=s;function i(n){switch(n){case f.Error:return L.default.Error;case f.Warning:return L.default.Warning;case f.Info:return L.default.Info;case f.Hint:return L.default.Ignore}}f.toSeverity=i}(D||(e.MarkerSeverity=D={}));var S;(function(f){const _="";function g(s){return C(s,!0)}f.makeKey=g;function C(s,i){const n=[_];return s.source?n.push(s.source.replace("\xA6","\\\xA6")):n.push(_),s.code?typeof s.code=="string"?n.push(s.code.replace("\xA6","\\\xA6")):n.push(s.code.value.replace("\xA6","\\\xA6")):n.push(_),s.severity!==void 0&&s.severity!==null?n.push(D.toString(s.severity)):n.push(_),s.message&&i?n.push(s.message.replace("\xA6","\\\xA6")):n.push(_),s.startLineNumber!==void 0&&s.startLineNumber!==null?n.push(s.startLineNumber.toString()):n.push(_),s.startColumn!==void 0&&s.startColumn!==null?n.push(s.startColumn.toString()):n.push(_),s.endLineNumber!==void 0&&s.endLineNumber!==null?n.push(s.endLineNumber.toString()):n.push(_),s.endColumn!==void 0&&s.endColumn!==null?n.push(s.endColumn.toString()):n.push(_),n.push(_),n.join("\xA6")}f.makeKeyOptionalMessage=C})(S||(e.IMarkerData=S={})),e.IMarkerService=(0,y.createDecorator)("markerService")}),define(ne[766],se([1,0,14,6,2,64,11,22,5,50,8,97,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerNavigationService=e.MarkerList=e.MarkerCoordinate=void 0;class n{constructor(h,r,c){this.marker=h,this.index=r,this.total=c}}e.MarkerCoordinate=n;let t=class{constructor(h,r,c){this._markerService=r,this._configService=c,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._dispoables=new y.DisposableStore,this._markers=[],this._nextIdx=-1,f.URI.isUri(h)?this._resourceFilter=p=>p.toString()===h.toString():h&&(this._resourceFilter=h);const o=this._configService.getValue("problems.sortOrder"),d=(p,m)=>{let v=(0,S.compare)(p.resource.toString(),m.resource.toString());return v===0&&(o==="position"?v=_.Range.compareRangesUsingStarts(p,m)||s.MarkerSeverity.compare(p.severity,m.severity):v=s.MarkerSeverity.compare(p.severity,m.severity)||_.Range.compareRangesUsingStarts(p,m)),v},l=()=>{this._markers=this._markerService.read({resource:f.URI.isUri(h)?h:void 0,severities:s.MarkerSeverity.Error|s.MarkerSeverity.Warning|s.MarkerSeverity.Info}),typeof h=="function"&&(this._markers=this._markers.filter(p=>this._resourceFilter(p.resource))),this._markers.sort(d)};l(),this._dispoables.add(r.onMarkerChanged(p=>{(!this._resourceFilter||p.some(m=>this._resourceFilter(m)))&&(l(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(h){return!this._resourceFilter&&!h?!0:!this._resourceFilter||!h?!1:this._resourceFilter(h)}get selected(){const h=this._markers[this._nextIdx];return h&&new n(h,this._nextIdx+1,this._markers.length)}_initIdx(h,r,c){let o=!1,d=this._markers.findIndex(l=>l.resource.toString()===h.uri.toString());d<0&&(d=(0,L.binarySearch)(this._markers,{resource:h.uri},(l,p)=>(0,S.compare)(l.resource.toString(),p.resource.toString())),d<0&&(d=~d));for(let l=d;lo.resource.toString()===h.toString());if(!(c<0)){for(;cr[1])}}class C{constructor(n){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new D.ResourceMap,this._service=n,this._subscription=n.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(n){for(const t of n){const a=this._data.get(t);a&&this._substract(a);const u=this._resourceStats(t);this._add(u),this._data.set(t,u)}}_resourceStats(n){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.unsupportedSchemas.has(n.scheme))return t;for(const{severity:a}of this._service.read({resource:n}))a===_.MarkerSeverity.Error?t.errors+=1:a===_.MarkerSeverity.Warning?t.warnings+=1:a===_.MarkerSeverity.Info?t.infos+=1:t.unknowns+=1;return t}_substract(n){this.errors-=n.errors,this.warnings-=n.warnings,this.infos-=n.infos,this.unknowns-=n.unknowns}_add(n){this.errors+=n.errors,this.warnings+=n.warnings,this.infos+=n.infos,this.unknowns+=n.unknowns}}class s{constructor(){this._onMarkerChanged=new k.DebounceEmitter({delay:0,merge:s._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new g,this._stats=new C(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(n,t){for(const a of t||[])this.changeOne(n,a,[])}changeOne(n,t,a){if((0,L.isFalsyOrEmpty)(a))this._data.delete(t,n)&&this._onMarkerChanged.fire([t]);else{const u=[];for(const h of a){const r=s._toMarker(n,t,h);r&&u.push(r)}this._data.set(t,n,u),this._onMarkerChanged.fire([t])}}static _toMarker(n,t,a){let{code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}=a;if(r)return o=o>0?o:1,d=d>0?d:1,l=l>=o?l:o,p=p>0?p:d,{resource:t,owner:n,code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}}changeAll(n,t){const a=[],u=this._data.values(n);if(u)for(const h of u){const r=y.Iterable.first(h);r&&(a.push(r.resource),this._data.delete(r.resource,n))}if((0,L.isNonEmptyArray)(t)){const h=new D.ResourceMap;for(const{resource:r,marker:c}of t){const o=s._toMarker(n,r,c);if(!o)continue;const d=h.get(r);d?d.push(o):(h.set(r,[o]),a.push(r))}for(const[r,c]of h)this._data.set(r,n,c)}a.length>0&&this._onMarkerChanged.fire(a)}read(n=Object.create(null)){let{owner:t,resource:a,severities:u,take:h}=n;if((!h||h<0)&&(h=-1),t&&a){const r=this._data.get(a,t);if(r){const c=[];for(const o of r)if(s._accept(o,u)){const d=c.push(o);if(h>0&&d===h)break}return c}else return[]}else if(!t&&!a){const r=[];for(const c of this._data.values())for(const o of c)if(s._accept(o,u)){const d=r.push(o);if(h>0&&d===h)return r}return r}else{const r=this._data.values(a??t),c=[];for(const o of r)for(const d of o)if(s._accept(d,u)){const l=c.push(d);if(h>0&&l===h)return c}return c}}static _accept(n,t){return t===void 0||(t&n.severity)===n.severity}static _merge(n){const t=new D.ResourceMap;for(const a of n)for(const u of a)t.set(u,!0);return Array.from(t.keys())}}e.MarkerService=s}),define(ne[43],se([1,0,101,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoOpNotification=e.INotificationService=e.Severity=void 0,e.Severity=L.default,e.INotificationService=(0,k.createDecorator)("notificationService");class y{}e.NoOpNotification=y}),define(ne[56],se([1,0,11,22,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractSelection=e.matchesSomeScheme=e.matchesScheme=e.IOpenerService=void 0,e.IOpenerService=(0,y.createDecorator)("openerService");function D(_,g){return k.URI.isUri(_)?(0,L.equalsIgnoreCase)(_.scheme,g):(0,L.startsWithIgnoreCase)(_,g+":")}e.matchesScheme=D;function S(_,...g){return g.some(C=>D(_,C))}e.matchesSomeScheme=S;function f(_){let g;const C=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(_.fragment);return C&&(g={startLineNumber:parseInt(C[1]),startColumn:C[2]?parseInt(C[2]):1,endLineNumber:C[4]?parseInt(C[4]):void 0,endColumn:C[4]?C[5]?parseInt(C[5]):1:void 0},_=_.with({fragment:""})),{selection:g,uri:_}}e.extractSelection=f}),define(ne[768],se([1,0,7,19,64,65,221,54,45,22,33,27,743,56]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OpenerService=void 0;let t=class{constructor(r){this._commandService=r}open(r,c){return we(this,void 0,void 0,function*(){if(!(0,n.matchesScheme)(r,f.Schemas.command))return!1;if(!c?.allowCommands||(typeof r=="string"&&(r=g.URI.parse(r)),Array.isArray(c.allowCommands)&&!c.allowCommands.includes(r.path)))return!0;let o=[];try{o=(0,S.parse)(decodeURIComponent(r.query))}catch{try{o=(0,S.parse)(r.query)}catch{}}return Array.isArray(o)||(o=[o]),yield this._commandService.executeCommand(r.path,...o),!0})}};t=ke([fe(0,s.ICommandService)],t);let a=class{constructor(r){this._editorService=r}open(r,c){return we(this,void 0,void 0,function*(){typeof r=="string"&&(r=g.URI.parse(r));const{selection:o,uri:d}=(0,n.extractSelection)(r);return r=d,r.scheme===f.Schemas.file&&(r=(0,_.normalizePath)(r)),yield this._editorService.openCodeEditor({resource:r,options:Object.assign({selection:o,source:c?.fromUserGesture?i.EditorOpenSource.USER:i.EditorOpenSource.API},c?.editorOptions)},this._editorService.getFocusedCodeEditor(),c?.openToSide),!0})}};a=ke([fe(0,C.ICodeEditorService)],a);let u=class{constructor(r,c){this._openers=new y.LinkedList,this._validators=new y.LinkedList,this._resolvers=new y.LinkedList,this._resolvedUriTargets=new D.ResourceMap(o=>o.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new y.LinkedList,this._defaultExternalOpener={openExternal:o=>we(this,void 0,void 0,function*(){return(0,n.matchesSomeScheme)(o,f.Schemas.http,f.Schemas.https)?L.windowOpenNoOpener(o):window.location.href=o,!0})},this._openers.push({open:(o,d)=>we(this,void 0,void 0,function*(){return d?.openExternal||(0,n.matchesSomeScheme)(o,f.Schemas.mailto,f.Schemas.http,f.Schemas.https,f.Schemas.vsls)?(yield this._doOpenExternal(o,d),!0):!1})}),this._openers.push(new t(c)),this._openers.push(new a(r))}registerOpener(r){return{dispose:this._openers.unshift(r)}}open(r,c){var o;return we(this,void 0,void 0,function*(){const d=typeof r=="string"?g.URI.parse(r):r,l=(o=this._resolvedUriTargets.get(d))!==null&&o!==void 0?o:r;for(const p of this._validators)if(!(yield p.shouldOpen(l,c)))return!1;for(const p of this._openers)if(yield p.open(r,c))return!0;return!1})}resolveExternalUri(r,c){return we(this,void 0,void 0,function*(){for(const o of this._resolvers)try{const d=yield o.resolveExternalUri(r,c);if(d)return this._resolvedUriTargets.has(d.resolved)||this._resolvedUriTargets.set(d.resolved,r),d}catch{}throw new Error("Could not resolve external URI: "+r.toString())})}_doOpenExternal(r,c){return we(this,void 0,void 0,function*(){const o=typeof r=="string"?g.URI.parse(r):r;let d;try{d=(yield this.resolveExternalUri(o,c)).resolved}catch{d=o}let l;if(typeof r=="string"&&o.toString()===d.toString()?l=r:l=encodeURI(d.toString(!0)),c?.allowContributedOpeners){const p=typeof c?.allowContributedOpeners=="string"?c?.allowContributedOpeners:void 0;for(const m of this._externalOpeners)if(yield m.openExternal(l,{sourceUri:o,preferredOpenerId:p},k.CancellationToken.None))return!0}return this._defaultExternalOpener.openExternal(l,{sourceUri:o},k.CancellationToken.None)})}dispose(){this._validators.clear()}};e.OpenerService=u,e.OpenerService=u=ke([fe(0,C.ICodeEditorService),fe(1,s.ICommandService)],u)}),define(ne[76],se([1,0,143,65,141,239,50,8,70,56]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureDebounceService=e.ILanguageFeatureDebounceService=void 0,e.ILanguageFeatureDebounceService=(0,f.createDecorator)("ILanguageFeatureDebounceService");var C;(function(t){const a=new WeakMap;let u=0;function h(r){let c=a.get(r);return c===void 0&&(c=++u,a.set(r,c)),c}t.of=h})(C||(C={}));class s{constructor(a){this._default=a}get(a){return this._default}update(a,u){return this._default}default(){return this._default}}class i{constructor(a,u,h,r,c,o){this._logService=a,this._name=u,this._registry=h,this._default=r,this._min=c,this._max=o,this._cache=new k.LRUCache(50,.7)}_key(a){return a.id+this._registry.all(a).reduce((u,h)=>(0,L.doHash)(C.of(h),u),0)}get(a){const u=this._key(a),h=this._cache.get(u);return h?(0,y.clamp)(h.value,this._min,this._max):this.default()}update(a,u){const h=this._key(a);let r=this._cache.get(h);r||(r=new y.SlidingWindowAverage(6),this._cache.set(h,r));const c=(0,y.clamp)(r.update(u),this._min,this._max);return(0,g.matchesScheme)(a.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${a.uri.toString()} is ${c}ms`),c}_overall(){const a=new y.MovingAverage;for(const[,u]of this._cache)a.update(u.value);return a.value}default(){const a=this._overall()|0||this._default;return(0,y.clamp)(a,this._min,this._max)}}let n=class{constructor(a,u){this._logService=a,this._data=new Map,this._isDev=u.isExtensionDevelopment||!u.isBuilt}for(a,u,h){var r,c,o;const d=(r=h?.min)!==null&&r!==void 0?r:50,l=(c=h?.max)!==null&&c!==void 0?c:Math.pow(d,2),p=(o=h?.key)!==null&&o!==void 0?o:void 0,m=`${C.of(a)},${d}${p?","+p:""}`;let v=this._data.get(m);return v||(this._isDev?v=new i(this._logService,u,a,this._overallAverage()|0||d*1.5,d,l):(this._logService.debug(`[DEBOUNCE: ${u}] is disabled in developed mode`),v=new s(d*1.5)),this._data.set(m,v)),v}_overallAverage(){const a=new y.MovingAverage;for(const u of this._data.values())a.update(u.default());return a.value}};e.LanguageFeatureDebounceService=n,e.LanguageFeatureDebounceService=n=ke([fe(0,_.ILogService),fe(1,D.IEnvironmentService)],n),(0,S.registerSingleton)(e.ILanguageFeatureDebounceService,n,1)}),define(ne[188],se([1,0,14,19,9,46,65,12,5,76,8,50,51,2,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModelService=e.IOutlineModelService=e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class a{remove(){var d;(d=this.parent)===null||d===void 0||d.children.delete(this.id)}static findId(d,l){let p;typeof d=="string"?p=`${l.id}/${d}`:(p=`${l.id}/${d.name}`,l.children.get(p)!==void 0&&(p=`${l.id}/${d.name}_${d.range.startLineNumber}_${d.range.startColumn}`));let m=p;for(let v=0;l.children.get(m)!==void 0;v++)m=`${p}_${v}`;return m}static empty(d){return d.children.size===0}}e.TreeElement=a;class u extends a{constructor(d,l,p){super(),this.id=d,this.parent=l,this.symbol=p,this.children=new Map}}e.OutlineElement=u;class h extends a{constructor(d,l,p,m){super(),this.id=d,this.parent=l,this.label=p,this.order=m,this.children=new Map}}e.OutlineGroup=h;class r extends a{static create(d,l,p){const m=new k.CancellationTokenSource(p),v=new r(l.uri),b=d.ordered(l),w=b.map((I,M)=>{var P;const x=a.findId(`provider_${M}`,v),T=new h(x,v,(P=I.displayName)!==null&&P!==void 0?P:"Unknown Outline Provider",M);return Promise.resolve(I.provideDocumentSymbols(l,m.token)).then(A=>{for(const N of A||[])r._makeOutlineElement(N,T);return T},A=>((0,y.onUnexpectedExternalError)(A),T)).then(A=>{a.empty(A)?A.remove():v._groups.set(x,A)})}),E=d.onDidChange(()=>{const I=d.ordered(l);(0,L.equals)(I,b)||m.cancel()});return Promise.all(w).then(()=>m.token.isCancellationRequested&&!p.isCancellationRequested?r.create(d,l,p):v._compact()).finally(()=>{E.dispose()})}static _makeOutlineElement(d,l){const p=a.findId(d,l),m=new u(p,l,d);if(d.children)for(const v of d.children)r._makeOutlineElement(v,m);l.children.set(m.id,m)}constructor(d){super(),this.uri=d,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let d=0;for(const[l,p]of this._groups)p.children.size===0?this._groups.delete(l):d+=1;if(d!==1)this.children=this._groups;else{const l=D.Iterable.first(this._groups.values());for(const[,p]of l.children)p.parent=this,this.children.set(p.id,p)}return this}getTopLevelSymbols(){const d=[];for(const l of this.children.values())l instanceof u?d.push(l.symbol):d.push(...D.Iterable.map(l.children.values(),p=>p.symbol));return d.sort((l,p)=>_.Range.compareRangesUsingStarts(l.range,p.range))}asListOfDocumentSymbols(){const d=this.getTopLevelSymbols(),l=[];return r._flattenDocumentSymbols(l,d,""),l.sort((p,m)=>f.Position.compare(_.Range.getStartPosition(p.range),_.Range.getStartPosition(m.range))||f.Position.compare(_.Range.getEndPosition(m.range),_.Range.getEndPosition(p.range)))}static _flattenDocumentSymbols(d,l,p){for(const m of l)d.push({kind:m.kind,tags:m.tags,name:m.name,detail:m.detail,containerName:m.containerName||p,range:m.range,selectionRange:m.selectionRange,children:void 0}),m.children&&r._flattenDocumentSymbols(d,m.children,m.name)}}e.OutlineModel=r,e.IOutlineModelService=(0,C.createDecorator)("IOutlineModelService");let c=class{constructor(d,l,p){this._languageFeaturesService=d,this._disposables=new n.DisposableStore,this._cache=new S.LRUCache(10,.7),this._debounceInformation=l.for(d.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(p.onModelRemoved(m=>{this._cache.delete(m.id)}))}dispose(){this._disposables.dispose()}getOrCreate(d,l){return we(this,void 0,void 0,function*(){const p=this._languageFeaturesService.documentSymbolProvider,m=p.ordered(d);let v=this._cache.get(d.id);if(!v||v.versionId!==d.getVersionId()||!(0,L.equals)(v.provider,m)){const w=new k.CancellationTokenSource;v={versionId:d.getVersionId(),provider:m,promiseCnt:0,source:w,promise:r.create(p,d,w.token),model:void 0},this._cache.set(d.id,v);const E=Date.now();v.promise.then(I=>{v.model=I,this._debounceInformation.update(d,Date.now()-E)}).catch(I=>{this._cache.delete(d.id)})}if(v.model)return v.model;v.promiseCnt+=1;const b=l.onCancellationRequested(()=>{--v.promiseCnt===0&&(v.source.cancel(),this._cache.delete(d.id))});try{return yield v.promise}finally{b.dispose()}})}};e.OutlineModelService=c,e.OutlineModelService=c=ke([fe(0,t.ILanguageFeaturesService),fe(1,g.ILanguageFeatureDebounceService),fe(2,i.IModelService)],c),(0,s.registerSingleton)(e.IOutlineModelService,c,1)}),define(ne[769],se([1,0,19,20,22,69,188,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),f.CommandsRegistry.registerCommand("_executeDocumentSymbolProvider",function(_,...g){return we(this,void 0,void 0,function*(){const[C]=g;(0,k.assertType)(y.URI.isUri(C));const s=_.get(S.IOutlineModelService),n=yield _.get(D.ITextModelService).createModelReference(C);try{return(yield s.getOrCreate(n.object.textEditorModel,L.CancellationToken.None)).getTopLevelSymbols()}finally{n.dispose()}})})}),define(ne[770],se([1,0,7,81,44,61,6,2,56,473]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Link=void 0;let g=class extends f.Disposable{get enabled(){return this._enabled}set enabled(s){s?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=s}constructor(s,i,n={},t){var a;super(),this._link=i,this._enabled=!0,this.el=(0,L.append)(s,(0,L.$)("a.monaco-link",{tabIndex:(a=i.tabIndex)!==null&&a!==void 0?a:0,href:i.href,title:i.title},i.label)),this.el.setAttribute("role","button");const u=this._register(new k.DomEmitter(this.el,"click")),h=this._register(new k.DomEmitter(this.el,"keypress")),r=S.Event.chain(h.event).map(d=>new y.StandardKeyboardEvent(d)).filter(d=>d.keyCode===3).event,c=this._register(new k.DomEmitter(this.el,D.EventType.Tap)).event;this._register(D.Gesture.addTarget(this.el));const o=S.Event.any(u.event,r,c);this._register(o(d=>{this.enabled&&(L.EventHelper.stop(d,!0),n?.opener?n.opener(this._link.href):t.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}};e.Link=g,e.Link=g=ke([fe(3,_.IOpenerService)],g)}),define(ne[77],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorProgressService=e.Progress=e.emptyProgressRunner=e.IProgressService=void 0,e.IProgressService=(0,L.createDecorator)("progressService"),e.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}});class k{constructor(D,S){this.callback=D,this.report=S?.async?this._reportAsync.bind(this):this._reportSync.bind(this)}_reportSync(D){this._value=D,this.callback(this._value)}_reportAsync(D){Promise.resolve(this._lastTask).finally(()=>{this._value=D;const S=this.callback(this._value);this._lastTask=Promise.resolve(S).finally(()=>this._lastTask=void 0)})}}e.Progress=k,k.None=Object.freeze({report(){}}),e.IEditorProgressService=(0,L.createDecorator)("editorProgressService")}),define(ne[771],se([1,0,13,19,2,20]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PickerQuickAccessProvider=e.TriggerAction=void 0;var S;(function(C){C[C.NO_ACTION=0]="NO_ACTION",C[C.CLOSE_PICKER=1]="CLOSE_PICKER",C[C.REFRESH_PICKER=2]="REFRESH_PICKER",C[C.REMOVE_ITEM=3]="REMOVE_ITEM"})(S||(e.TriggerAction=S={}));function f(C){const s=C;return Array.isArray(s.items)}function _(C){const s=C;return!!s.picks&&s.additionalPicks instanceof Promise}class g extends y.Disposable{constructor(s,i){super(),this.prefix=s,this.options=i}provide(s,i,n){var t;const a=new y.DisposableStore;s.canAcceptInBackground=!!(!((t=this.options)===null||t===void 0)&&t.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;let u;const h=a.add(new y.MutableDisposable),r=()=>we(this,void 0,void 0,function*(){const c=h.value=new y.DisposableStore;u?.dispose(!0),s.busy=!1,u=new k.CancellationTokenSource(i);const o=u.token,d=s.value.substr(this.prefix.length).trim(),l=this._getPicks(d,c,o,n),p=(v,b)=>{var w;let E,I;if(f(v)?(E=v.items,I=v.active):E=v,E.length===0){if(b)return!1;(d.length>0||s.hideInput)&&(!((w=this.options)===null||w===void 0)&&w.noResultsPick)&&((0,D.isFunction)(this.options.noResultsPick)?E=[this.options.noResultsPick(d)]:E=[this.options.noResultsPick])}return s.items=E,I&&(s.activeItems=[I]),!0},m=v=>we(this,void 0,void 0,function*(){let b=!1,w=!1;yield Promise.all([(()=>we(this,void 0,void 0,function*(){typeof v.mergeDelay=="number"&&(yield(0,L.timeout)(v.mergeDelay),o.isCancellationRequested)||w||(b=p(v.picks,!0))}))(),(()=>we(this,void 0,void 0,function*(){s.busy=!0;try{const E=yield v.additionalPicks;if(o.isCancellationRequested)return;let I,M;f(v.picks)?(I=v.picks.items,M=v.picks.active):I=v.picks;let P,x;if(f(E)?(P=E.items,x=E.active):P=E,P.length>0||!b){let T;if(!M&&!x){const A=s.activeItems[0];A&&I.indexOf(A)!==-1&&(T=A)}p({items:[...I,...P],active:M||x||T})}}finally{o.isCancellationRequested||(s.busy=!1),w=!0}}))()])});if(l!==null)if(_(l))yield m(l);else if(!(l instanceof Promise))p(l);else{s.busy=!0;try{const v=yield l;if(o.isCancellationRequested)return;_(v)?yield m(v):p(v)}finally{o.isCancellationRequested||(s.busy=!1)}}});return a.add(s.onDidChangeValue(()=>r())),r(),a.add(s.onDidAccept(c=>{const[o]=s.selectedItems;typeof o?.accept=="function"&&(c.inBackground||s.hide(),o.accept(s.keyMods,c))})),a.add(s.onDidTriggerItemButton(({button:c,item:o})=>we(this,void 0,void 0,function*(){var d,l;if(typeof o.trigger=="function"){const p=(l=(d=o.buttons)===null||d===void 0?void 0:d.indexOf(c))!==null&&l!==void 0?l:-1;if(p>=0){const m=o.trigger(p,s.keyMods),v=typeof m=="number"?m:yield m;if(i.isCancellationRequested)return;switch(v){case S.NO_ACTION:break;case S.CLOSE_PICKER:s.hide();break;case S.REFRESH_PICKER:r();break;case S.REMOVE_ITEM:{const b=s.items.indexOf(o);if(b!==-1){const w=s.items.slice(),E=w.splice(b,1),I=s.activeItems.filter(P=>P!==E[0]),M=s.keepScrollPosition;s.keepScrollPosition=!0,s.items=w,I&&(s.activeItems=I),s.keepScrollPosition=M}break}}}}}))),a}}e.PickerQuickAccessProvider=g}),define(ne[772],se([1,0,7,44,60,228,2,101,174]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputBox=void 0;const _=L.$;class g extends S.Disposable{constructor(s,i,n){super(),this.parent=s,this.onKeyDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.KEY_DOWN,u=>{a(new k.StandardKeyboardEvent(u))}),this.onMouseDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.MOUSE_DOWN,u=>{a(new y.StandardMouseEvent(u))}),this.onDidChange=a=>this.findInput.onDidChange(a),this.container=L.append(this.parent,_(".quick-input-box")),this.findInput=this._register(new D.FindInput(this.container,void 0,{label:"",inputBoxStyles:i,toggleStyles:n}));const t=this.findInput.inputBox.inputElement;t.role="combobox",t.ariaHasPopup="menu",t.ariaAutoComplete="list",t.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(s){this.findInput.setValue(s)}select(s=null){this.findInput.inputBox.select(s)}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(s){this.findInput.inputBox.setPlaceHolder(s)}get password(){return this.findInput.inputBox.inputElement.type==="password"}set password(s){this.findInput.inputBox.inputElement.type=s?"password":"text"}set enabled(s){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!s)}set toggles(s){this.findInput.setAdditionalToggles(s)}setAttribute(s,i){this.findInput.inputBox.inputElement.setAttribute(s,i)}showDecoration(s){s===f.default.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:s===f.default.Info?1:s===f.default.Warning?2:3,content:""})}stylesForType(s){return this.findInput.inputBox.stylesForType(s===f.default.Info?1:s===f.default.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}e.QuickInputBox=g}),define(ne[339],se([1,0,7,81,6,44,61,129,164,385,735,174]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderQuickInputDescription=e.getIconClass=void 0;const s={},i=new _.IdGenerator("quick-input-button-icon-");function n(a){if(!a)return;let u;const h=a.dark.toString();return s[h]?u=s[h]:(u=i.nextId(),L.createCSSRule(`.${u}, .hc-light .${u}`,`background-image: ${L.asCSSUrl(a.light||a.dark)}`),L.createCSSRule(`.vs-dark .${u}, .hc-black .${u}`,`background-image: ${L.asCSSUrl(a.dark)}`),s[h]=u),u}e.getIconClass=n;function t(a,u,h){L.reset(u);const r=(0,g.parseLinkedText)(a);let c=0;for(const o of r.nodes)if(typeof o=="string")u.append(...(0,f.renderLabelWithIcons)(o));else{let d=o.title;!d&&o.href.startsWith("command:")?d=(0,C.localize)(0,null,o.href.substring(8)):d||(d=o.href);const l=L.$("a",{href:o.href,title:d,tabIndex:c++},o.label);l.style.textDecoration="underline";const p=E=>{L.isEventLike(E)&&L.EventHelper.stop(E,!0),h.callback(o.href)},m=h.disposables.add(new k.DomEmitter(l,L.EventType.CLICK)).event,v=h.disposables.add(new k.DomEmitter(l,L.EventType.KEY_DOWN)).event,b=h.disposables.add(y.Event.chain(v)).filter(E=>{const I=new D.StandardKeyboardEvent(E);return I.equals(10)||I.equals(3)}).event;h.disposables.add(S.Gesture.addTarget(l));const w=h.disposables.add(new k.DomEmitter(l,S.EventType.Tap)).event;y.Event.any(m,w,b)(p,null,h.disposables),u.appendChild(l)}}e.renderQuickInputDescription=t}),define(ne[71],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IQuickInputService=e.quickPickItemScorerAccessor=e.QuickPickItemScorerAccessor=e.ItemActivation=e.QuickInputHideReason=e.NO_KEY_MODS=void 0,e.NO_KEY_MODS={ctrlCmd:!1,alt:!1};var k;(function(S){S[S.Blur=1]="Blur",S[S.Gesture=2]="Gesture",S[S.Other=3]="Other"})(k||(e.QuickInputHideReason=k={}));var y;(function(S){S[S.NONE=0]="NONE",S[S.FIRST=1]="FIRST",S[S.SECOND=2]="SECOND",S[S.LAST=3]="LAST"})(y||(e.ItemActivation=y={}));class D{constructor(f){this.options=f}}e.QuickPickItemScorerAccessor=D,e.quickPickItemScorerAccessor=new D,e.IQuickInputService=(0,L.createDecorator)("quickInputService")}),define(ne[37],se([1,0,85,20]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Registry=void 0;class y{constructor(){this.data=new Map}add(S,f){L.ok(k.isString(S)),L.ok(k.isObject(f)),L.ok(!this.data.has(S),"There is already an extension with this id"),this.data.set(S,f)}as(S){return this.data.get(S)||null}}e.Registry=new y}),define(ne[340],se([1,0,37]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LocalSelectionTransfer=e.Extensions=e.CodeDataTransfers=void 0,e.CodeDataTransfers={EDITORS:"CodeEditors",FILES:"CodeFiles"};class k{}e.Extensions={DragAndDropContribution:"workbench.contributions.dragAndDrop"},L.Registry.add(e.Extensions.DragAndDropContribution,new k);class y{constructor(){}static getInstance(){return y.INSTANCE}hasData(S){return S&&S===this.proto}getData(S){if(this.hasData(S))return this.data}}e.LocalSelectionTransfer=y,y.INSTANCE=new y}),define(ne[341],se([1,0,197,171,107,22,340]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toExternalVSDataTransfer=e.toVSDataTransfer=void 0;function f(s){const i=new k.VSDataTransfer;for(const n of s.items){const t=n.type;if(n.kind==="string"){const a=new Promise(u=>n.getAsString(u));i.append(t,(0,k.createStringDataTransferItem)(a))}else if(n.kind==="file"){const a=n.getAsFile();a&&i.append(t,_(a))}}return i}e.toVSDataTransfer=f;function _(s){const i=s.path?D.URI.parse(s.path):void 0;return(0,k.createFileDataTransferItem)(s.name,i,()=>we(this,void 0,void 0,function*(){return new Uint8Array(yield s.arrayBuffer())}))}const g=Object.freeze([S.CodeDataTransfers.EDITORS,S.CodeDataTransfers.FILES,L.DataTransfers.RESOURCES,L.DataTransfers.INTERNAL_URI_LIST]);function C(s,i=!1){const n=f(s),t=n.get(L.DataTransfers.INTERNAL_URI_LIST);if(t)n.replace(y.Mimes.uriList,t);else if(i||!n.has(y.Mimes.uriList)){const a=[];for(const u of s.items){const h=u.getAsFile();if(h){const r=h.path;try{r?a.push(D.URI.file(r).toString()):a.push(D.URI.parse(h.name,!0).toString())}catch{}}}a.length&&n.replace(y.Mimes.uriList,(0,k.createStringDataTransferItem)(k.UriList.create(a)))}for(const a of g)n.delete(a);return n}e.toExternalVSDataTransfer=C}),define(ne[240],se([1,0,6,37]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=void 0,e.Extensions={JSONContribution:"base.contributions.json"};function y(f){return f.length>0&&f.charAt(f.length-1)==="#"?f.substring(0,f.length-1):f}class D{constructor(){this._onDidChangeSchema=new L.Emitter,this.schemasById={}}registerSchema(_,g){this.schemasById[y(_)]=g,this._onDidChangeSchema.fire(_)}notifySchemaChanged(_){this._onDidChangeSchema.fire(_)}}const S=new D;k.Registry.add(e.Extensions.JSONContribution,S)}),define(ne[98],se([1,0,14,6,20,721,28,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateProperty=e.getDefaultValue=e.overrideIdentifiersFromKey=e.OVERRIDE_PROPERTY_REGEX=e.OVERRIDE_PROPERTY_PATTERN=e.resourceLanguageSettingsSchemaId=e.resourceSettings=e.windowSettings=e.machineOverridableSettings=e.machineSettings=e.applicationSettings=e.allSettings=e.Extensions=void 0,e.Extensions={Configuration:"base.contributions.configuration"},e.allSettings={properties:{},patternProperties:{}},e.applicationSettings={properties:{},patternProperties:{}},e.machineSettings={properties:{},patternProperties:{}},e.machineOverridableSettings={properties:{},patternProperties:{}},e.windowSettings={properties:{},patternProperties:{}},e.resourceSettings={properties:{},patternProperties:{}},e.resourceLanguageSettingsSchemaId="vscode://schemas/settings/resourceLanguage";const g=_.Registry.as(f.Extensions.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new k.Emitter,this._onDidUpdateConfiguration=new k.Emitter,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:D.localize(0,null),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(r,c=!0){this.registerConfigurations([r],c)}registerConfigurations(r,c=!0){const o=new Set;this.doRegisterConfigurations(r,c,o),g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:o})}registerDefaultConfigurations(r){const c=new Set;this.doRegisterDefaultConfigurations(r,c),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:c,defaultsOverrides:!0})}doRegisterDefaultConfigurations(r,c){var o;const d=[];for(const{overrides:l,source:p}of r)for(const m in l)if(c.add(m),e.OVERRIDE_PROPERTY_REGEX.test(m)){const v=this.configurationDefaultsOverrides.get(m),b=(o=v?.valuesSources)!==null&&o!==void 0?o:new Map;if(p)for(const M of Object.keys(l[m]))b.set(M,p);const w=Object.assign(Object.assign({},v?.value||{}),l[m]);this.configurationDefaultsOverrides.set(m,{source:p,value:w,valuesSources:b});const E=(0,S.getLanguageTagSettingPlainKey)(m),I={type:"object",default:w,description:D.localize(1,null,E),$ref:e.resourceLanguageSettingsSchemaId,defaultDefaultValue:w,source:y.isString(p)?void 0:p,defaultValueSource:p};d.push(...n(m)),this.configurationProperties[m]=I,this.defaultLanguageConfigurationOverridesNode.properties[m]=I}else{this.configurationDefaultsOverrides.set(m,{value:l[m],source:p});const v=this.configurationProperties[m];v&&(this.updatePropertyDefaultValue(m,v),this.updateSchema(m,v))}this.doRegisterOverrideIdentifiers(d)}registerOverrideIdentifiers(r){this.doRegisterOverrideIdentifiers(r),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(r){for(const c of r)this.overrideIdentifiers.add(c);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(r,c,o){r.forEach(d=>{this.validateAndRegisterProperties(d,c,d.extensionInfo,d.restrictedProperties,void 0,o),this.configurationContributors.push(d),this.registerJSONConfiguration(d)})}validateAndRegisterProperties(r,c=!0,o,d,l=3,p){var m;l=y.isUndefinedOrNull(r.scope)?l:r.scope;const v=r.properties;if(v)for(const w in v){const E=v[w];if(c&&u(w,E)){delete v[w];continue}if(E.source=o,E.defaultDefaultValue=v[w].default,this.updatePropertyDefaultValue(w,E),e.OVERRIDE_PROPERTY_REGEX.test(w)?E.scope=void 0:(E.scope=y.isUndefinedOrNull(E.scope)?l:E.scope,E.restricted=y.isUndefinedOrNull(E.restricted)?!!d?.includes(w):E.restricted),v[w].hasOwnProperty("included")&&!v[w].included){this.excludedConfigurationProperties[w]=v[w],delete v[w];continue}else this.configurationProperties[w]=v[w],!((m=v[w].policy)===null||m===void 0)&&m.name&&this.policyConfigurations.set(v[w].policy.name,w);!v[w].deprecationMessage&&v[w].markdownDeprecationMessage&&(v[w].deprecationMessage=v[w].markdownDeprecationMessage),p.add(w)}const b=r.allOf;if(b)for(const w of b)this.validateAndRegisterProperties(w,c,o,d,l,p)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(r){const c=o=>{const d=o.properties;if(d)for(const p in d)this.updateSchema(p,d[p]);const l=o.allOf;l?.forEach(c)};c(r)}updateSchema(r,c){switch(e.allSettings.properties[r]=c,c.scope){case 1:e.applicationSettings.properties[r]=c;break;case 2:e.machineSettings.properties[r]=c;break;case 6:e.machineOverridableSettings.properties[r]=c;break;case 3:e.windowSettings.properties[r]=c;break;case 4:e.resourceSettings.properties[r]=c;break;case 5:e.resourceSettings.properties[r]=c,this.resourceLanguageSettingsSchema.properties[r]=c;break}}updateOverridePropertyPatternKey(){for(const r of this.overrideIdentifiers.values()){const c=`[${r}]`,o={type:"object",description:D.localize(2,null),errorMessage:D.localize(3,null),$ref:e.resourceLanguageSettingsSchemaId};this.updatePropertyDefaultValue(c,o),e.allSettings.properties[c]=o,e.applicationSettings.properties[c]=o,e.machineSettings.properties[c]=o,e.machineOverridableSettings.properties[c]=o,e.windowSettings.properties[c]=o,e.resourceSettings.properties[c]=o}}registerOverridePropertyPatternKey(){const r={type:"object",description:D.localize(4,null),errorMessage:D.localize(5,null),$ref:e.resourceLanguageSettingsSchemaId};e.allSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.applicationSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineOverridableSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.windowSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.resourceSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(r,c){const o=this.configurationDefaultsOverrides.get(r);let d=o?.value,l=o?.source;y.isUndefined(d)&&(d=c.defaultDefaultValue,l=void 0),y.isUndefined(d)&&(d=t(c.type)),c.default=d,c.defaultValueSource=l}}const s="\\[([^\\]]+)\\]",i=new RegExp(s,"g");e.OVERRIDE_PROPERTY_PATTERN=`^(${s})+$`,e.OVERRIDE_PROPERTY_REGEX=new RegExp(e.OVERRIDE_PROPERTY_PATTERN);function n(h){const r=[];if(e.OVERRIDE_PROPERTY_REGEX.test(h)){let c=i.exec(h);for(;c?.length;){const o=c[1].trim();o&&r.push(o),c=i.exec(h)}}return(0,L.distinct)(r)}e.overrideIdentifiersFromKey=n;function t(h){switch(Array.isArray(h)?h[0]:h){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}e.getDefaultValue=t;const a=new C;_.Registry.add(e.Extensions.Configuration,a);function u(h,r){var c,o,d,l;return h.trim()?e.OVERRIDE_PROPERTY_REGEX.test(h)?D.localize(7,null,h):a.getConfigurationProperties()[h]!==void 0?D.localize(8,null,h):!((c=r.policy)===null||c===void 0)&&c.name&&a.getPolicyConfigurations().get((o=r.policy)===null||o===void 0?void 0:o.name)!==void 0?D.localize(9,null,h,(d=r.policy)===null||d===void 0?void 0:d.name,a.getPolicyConfigurations().get((l=r.policy)===null||l===void 0?void 0:l.name)):null:D.localize(6,null)}e.validateProperty=u}),define(ne[241],se([1,0,271,36,175,618,98,37]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDiffEditorConfigurationKey=e.isEditorConfigurationKey=e.editorConfigurationBaseNode=void 0,e.editorConfigurationBaseNode=Object.freeze({id:"editor",order:5,type:"object",title:D.localize(0,null),scope:5});const _=Object.assign(Object.assign({},e.editorConfigurationBaseNode),{properties:{"editor.tabSize":{type:"number",default:y.EDITOR_MODEL_DEFAULTS.tabSize,minimum:1,markdownDescription:D.localize(1,null,"`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:D.localize(2,null)},"editor.insertSpaces":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.insertSpaces,markdownDescription:D.localize(3,null,"`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.detectIndentation,markdownDescription:D.localize(4,null,"`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,description:D.localize(5,null)},"editor.largeFileOptimizations":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,description:D.localize(6,null)},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:D.localize(7,null)},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[D.localize(8,null),D.localize(9,null),D.localize(10,null)],description:D.localize(11,null)},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[D.localize(12,null),D.localize(13,null),D.localize(14,null)],default:"configuredByTheme",description:D.localize(15,null)},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:D.localize(16,null)},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:D.localize(17,null)},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:D.localize(18,null),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:D.localize(19,null)},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:D.localize(20,null),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:D.localize(21,null),items:{type:"array",items:[{type:"string",description:D.localize(22,null)},{type:"string",description:D.localize(23,null)}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:D.localize(24,null),items:{type:"array",items:[{type:"string",description:D.localize(25,null)},{type:"string",description:D.localize(26,null)}]}},"diffEditor.maxComputationTime":{type:"number",default:L.diffEditorDefaultOptions.maxComputationTime,description:D.localize(27,null)},"diffEditor.maxFileSize":{type:"number",default:L.diffEditorDefaultOptions.maxFileSize,description:D.localize(28,null)},"diffEditor.renderSideBySide":{type:"boolean",default:L.diffEditorDefaultOptions.renderSideBySide,description:D.localize(29,null)},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:L.diffEditorDefaultOptions.renderSideBySideInlineBreakpoint,description:D.localize(30,null)},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:L.diffEditorDefaultOptions.useInlineViewWhenSpaceIsLimited,description:D.localize(31,null)},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:L.diffEditorDefaultOptions.renderMarginRevertIcon,description:D.localize(32,null)},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:L.diffEditorDefaultOptions.ignoreTrimWhitespace,description:D.localize(33,null)},"diffEditor.renderIndicators":{type:"boolean",default:L.diffEditorDefaultOptions.renderIndicators,description:D.localize(34,null)},"diffEditor.codeLens":{type:"boolean",default:L.diffEditorDefaultOptions.diffCodeLens,description:D.localize(35,null)},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:L.diffEditorDefaultOptions.diffWordWrap,markdownEnumDescriptions:[D.localize(36,null),D.localize(37,null),D.localize(38,null,"`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:L.diffEditorDefaultOptions.diffAlgorithm,markdownEnumDescriptions:[D.localize(39,null),D.localize(40,null)],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:L.diffEditorDefaultOptions.hideUnchangedRegions.enabled,markdownDescription:D.localize(41,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.revealLineCount,markdownDescription:D.localize(42,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.minimumLineCount,markdownDescription:D.localize(43,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.contextLineCount,markdownDescription:D.localize(44,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showMoves,markdownDescription:D.localize(45,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.experimental.useVersion2":{type:"boolean",default:!0,description:D.localize(46,null),tags:["experimental"]},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showEmptyDecorations,description:D.localize(47,null)}}});function g(a){return typeof a.type<"u"||typeof a.anyOf<"u"}for(const a of k.editorOptionsRegistry){const u=a.schema;if(typeof u<"u")if(g(u))_.properties[`editor.${a.name}`]=u;else for(const h in u)Object.hasOwnProperty.call(u,h)&&(_.properties[h]=u[h])}let C=null;function s(){return C===null&&(C=Object.create(null),Object.keys(_.properties).forEach(a=>{C[a]=!0})),C}function i(a){return s()[`editor.${a}`]||!1}e.isEditorConfigurationKey=i;function n(a){return s()[`diffEditor.${a}`]||!1}e.isDiffEditorConfigurationKey=n,f.Registry.as(S.Extensions.Configuration).registerConfiguration(_)}),define(ne[78],se([1,0,628,6,37,107,98]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLAINTEXT_EXTENSION=e.PLAINTEXT_LANGUAGE_ID=e.ModesRegistry=e.EditorModesRegistry=e.Extensions=void 0,e.Extensions={ModesRegistry:"editor.modesRegistry"};class f{constructor(){this._onDidChangeLanguages=new k.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(g){return this._languages.push(g),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let C=0,s=this._languages.length;C{const W=O.change.keys.some(j=>F.has(j)),U=O.change.overrides.filter(([j,R])=>R.some(K=>F.has(K))).map(([j])=>j);if(W)this.configurations.clear(),this.onDidChangeEmitter.fire(new c(void 0));else for(const j of U)this.languageService.isRegisteredLanguageId(j)&&(this.configurations.delete(j),this.onDidChangeEmitter.fire(new c(j)))})),this._register(this._registry.onDidChange(O=>{this.configurations.delete(O.languageId),this.onDidChangeEmitter.fire(new c(O.languageId))}))}register(A,N,F){return this._registry.register(A,N,F)}getLanguageConfiguration(A){let N=this.configurations.get(A);return N||(N=d(A,this._registry,this.configurationService,this.languageService),this.configurations.set(A,N)),N}};e.LanguageConfigurationService=o,e.LanguageConfigurationService=o=ke([fe(0,t.IConfigurationService),fe(1,a.ILanguageService)],o);function d(T,A,N,F){let O=A.getLanguageConfiguration(T);if(!O){if(!F.isRegisteredLanguageId(T))return new x(T,{});O=new x(T,{})}const W=p(O.languageId,N),U=E([O.underlyingConfig,W]);return new x(O.languageId,U)}const l={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function p(T,A){const N=A.getValue(l.brackets,{overrideIdentifier:T}),F=A.getValue(l.colorizedBracketPairs,{overrideIdentifier:T});return{brackets:m(N),colorizedBracketPairs:m(F)}}function m(T){if(Array.isArray(T))return T.map(A=>{if(!(!Array.isArray(A)||A.length!==2))return[A[0],A[1]]}).filter(A=>!!A)}function v(T,A,N){const F=T.getLineContent(A);let O=y.getLeadingWhitespace(F);return O.length>N-1&&(O=O.substring(0,N-1)),O}e.getIndentationAtPosition=v;function b(T,A,N){T.tokenization.forceTokenization(A);const F=T.tokenization.getLineTokens(A),O=typeof N>"u"?T.getLineMaxColumn(A)-1:N-1;return(0,f.createScopedLineTokens)(F,O)}e.getScopedLineTokens=b;class w{constructor(A){this.languageId=A,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(A,N){const F=new I(A,N,++this._order);return this._entries.push(F),this._resolved=null,(0,k.toDisposable)(()=>{for(let O=0;OA.configuration)))}}function E(T){let A={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const N of T)A={comments:N.comments||A.comments,brackets:N.brackets||A.brackets,wordPattern:N.wordPattern||A.wordPattern,indentationRules:N.indentationRules||A.indentationRules,onEnterRules:N.onEnterRules||A.onEnterRules,autoClosingPairs:N.autoClosingPairs||A.autoClosingPairs,surroundingPairs:N.surroundingPairs||A.surroundingPairs,autoCloseBefore:N.autoCloseBefore||A.autoCloseBefore,folding:N.folding||A.folding,colorizedBracketPairs:N.colorizedBracketPairs||A.colorizedBracketPairs,__electricCharacterSupport:N.__electricCharacterSupport||A.__electricCharacterSupport};return A}class I{constructor(A,N,F){this.configuration=A,this.priority=N,this.order=F}static cmp(A,N){return A.priority===N.priority?A.order-N.order:A.priority-N.priority}}class M{constructor(A){this.languageId=A}}e.LanguageConfigurationChangeEvent=M;class P extends k.Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._register(this.register(h.PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(A,N,F=0){let O=this._entries.get(A);O||(O=new w(A),this._entries.set(A,O));const W=O.register(N,F);return this._onDidChange.fire(new M(A)),(0,k.toDisposable)(()=>{W.dispose(),this._onDidChange.fire(new M(A))})}getLanguageConfiguration(A){const N=this._entries.get(A);return N?.getResolvedConfiguration()||null}}e.LanguageConfigurationRegistry=P;class x{constructor(A,N){this.languageId=A,this.underlyingConfig=N,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new s.OnEnterSupport(this.underlyingConfig):null,this.comments=x._handleComments(this.underlyingConfig),this.characterPair=new _.CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||D.DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new C.IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new r.LanguageBracketsConfiguration(A,this.underlyingConfig)}getWordDefinition(){return(0,D.ensureValidWordDefinition)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new i.RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new g.BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(A,N,F,O){return this._onEnterSupport?this._onEnterSupport.onEnter(A,N,F,O):null}getAutoClosingPairs(){return new S.AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(A){return this.characterPair.getAutoCloseBeforeSet(A)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(A){const N=A.comments;if(!N)return null;const F={};if(N.lineComment&&(F.lineCommentToken=N.lineComment),N.blockComment){const[O,W]=N.blockComment;F.blockCommentStartToken=O,F.blockCommentEndToken=W}return F}}e.ResolvedLanguageConfiguration=x,(0,u.registerSingleton)(e.ILanguageConfigurationService,o,1)}),define(ne[242],se([1,0,13,2,317,587,5,32,627,51,187,14,70,58,9,18,109,66]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorWorkerClient=e.EditorWorkerHost=e.EditorWorkerService=void 0;const r=60*1e3,c=5*60*1e3;function o(E,I){const M=E.getModel(I);return!(!M||M.isTooLargeForSyncing())}let d=class extends k.Disposable{constructor(I,M,P,x,T){super(),this._modelService=I,this._workerManager=this._register(new p(this._modelService,x)),this._logService=P,this._register(T.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(A,N)=>o(this._modelService,A.uri)?this._workerManager.withWorker().then(F=>F.computeLinks(A.uri)).then(F=>F&&{links:F}):Promise.resolve({links:[]})})),this._register(T.completionProvider.register("*",new l(this._workerManager,M,this._modelService,x)))}dispose(){super.dispose()}canComputeUnicodeHighlights(I){return o(this._modelService,I)}computedUnicodeHighlights(I,M,P){return this._workerManager.withWorker().then(x=>x.computedUnicodeHighlights(I,M,P))}computeDiff(I,M,P,x){return we(this,void 0,void 0,function*(){const T=yield this._workerManager.withWorker().then(F=>F.computeDiff(I,M,P,x));if(!T)return null;return{identical:T.identical,quitEarly:T.quitEarly,changes:N(T.changes),moves:T.moves.map(F=>new u.MovedText(new u.SimpleLineRangeMapping(new h.LineRange(F[0],F[1]),new h.LineRange(F[2],F[3])),N(F[4])))};function N(F){return F.map(O=>{var W;return new u.LineRangeMapping(new h.LineRange(O[0],O[1]),new h.LineRange(O[2],O[3]),(W=O[4])===null||W===void 0?void 0:W.map(U=>new u.RangeMapping(new S.Range(U[0],U[1],U[2],U[3]),new S.Range(U[4],U[5],U[6],U[7]))))})}})}computeMoreMinimalEdits(I,M,P=!1){if((0,s.isNonEmptyArray)(M)){if(!o(this._modelService,I))return Promise.resolve(M);const x=n.StopWatch.create(),T=this._workerManager.withWorker().then(A=>A.computeMoreMinimalEdits(I,M,P));return T.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",I.toString(!0),x.elapsed())),Promise.race([T,(0,L.timeout)(1e3).then(()=>M)])}else return Promise.resolve(void 0)}canNavigateValueSet(I){return o(this._modelService,I)}navigateValueSet(I,M,P){return this._workerManager.withWorker().then(x=>x.navigateValueSet(I,M,P))}canComputeWordRanges(I){return o(this._modelService,I)}computeWordRanges(I,M){return this._workerManager.withWorker().then(P=>P.computeWordRanges(I,M))}};e.EditorWorkerService=d,e.EditorWorkerService=d=ke([fe(0,g.IModelService),fe(1,C.ITextResourceConfigurationService),fe(2,i.ILogService),fe(3,f.ILanguageConfigurationService),fe(4,a.ILanguageFeaturesService)],d);class l{constructor(I,M,P,x){this.languageConfigurationService=x,this._debugDisplayName="wordbasedCompletions",this._workerManager=I,this._configurationService=M,this._modelService=P}provideCompletionItems(I,M){return we(this,void 0,void 0,function*(){const P=this._configurationService.getValue(I.uri,M,"editor");if(!P.wordBasedSuggestions)return;const x=[];if(P.wordBasedSuggestionsMode==="currentDocument")o(this._modelService,I.uri)&&x.push(I.uri);else for(const U of this._modelService.getModels())o(this._modelService,U.uri)&&(U===I?x.unshift(U.uri):(P.wordBasedSuggestionsMode==="allDocuments"||U.getLanguageId()===I.getLanguageId())&&x.push(U.uri));if(x.length===0)return;const T=this.languageConfigurationService.getLanguageConfiguration(I.getLanguageId()).getWordDefinition(),A=I.getWordAtPosition(M),N=A?new S.Range(M.lineNumber,A.startColumn,M.lineNumber,A.endColumn):S.Range.fromPositions(M),F=N.setEndPosition(M.lineNumber,M.column),W=yield(yield this._workerManager.withWorker()).textualSuggest(x,A?.word,T);if(W)return{duration:W.duration,suggestions:W.words.map(U=>({kind:18,label:U,insertText:U,range:{insert:F,replace:N}}))}})}}class p extends k.Disposable{constructor(I,M){super(),this.languageConfigurationService=M,this._modelService=I,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new L.IntervalTimer).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(c/2)),this._register(this._modelService.onModelRemoved(x=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>c&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new w(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class m extends k.Disposable{constructor(I,M,P){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=I,this._modelService=M,!P){const x=new L.IntervalTimer;x.cancelAndSet(()=>this._checkStopModelSync(),Math.round(r/2)),this._register(x)}}dispose(){for(const I in this._syncedModels)(0,k.dispose)(this._syncedModels[I]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(I,M){for(const P of I){const x=P.toString();this._syncedModels[x]||this._beginModelSync(P,M),this._syncedModels[x]&&(this._syncedModelsLastUsedTime[x]=new Date().getTime())}}_checkStopModelSync(){const I=new Date().getTime(),M=[];for(const P in this._syncedModelsLastUsedTime)I-this._syncedModelsLastUsedTime[P]>r&&M.push(P);for(const P of M)this._stopModelSync(P)}_beginModelSync(I,M){const P=this._modelService.getModel(I);if(!P||!M&&P.isTooLargeForSyncing())return;const x=I.toString();this._proxy.acceptNewModel({url:P.uri.toString(),lines:P.getLinesContent(),EOL:P.getEOL(),versionId:P.getVersionId()});const T=new k.DisposableStore;T.add(P.onDidChangeContent(A=>{this._proxy.acceptModelChanged(x.toString(),A)})),T.add(P.onWillDispose(()=>{this._stopModelSync(x)})),T.add((0,k.toDisposable)(()=>{this._proxy.acceptRemovedModel(x)})),this._syncedModels[x]=T}_stopModelSync(I){const M=this._syncedModels[I];delete this._syncedModels[I],delete this._syncedModelsLastUsedTime[I],(0,k.dispose)(M)}}class v{constructor(I){this._instance=I,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class b{constructor(I){this._workerClient=I}fhr(I,M){return this._workerClient.fhr(I,M)}}e.EditorWorkerHost=b;class w extends k.Disposable{constructor(I,M,P,x){super(),this.languageConfigurationService=x,this._disposed=!1,this._modelService=I,this._keepIdleModels=M,this._workerFactory=new D.DefaultWorkerFactory(P),this._worker=null,this._modelManager=null}fhr(I,M){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new y.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new b(this)))}catch(I){(0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,I=>((0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(I){return this._modelManager||(this._modelManager=this._register(new m(I,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(I,M=!1){return we(this,void 0,void 0,function*(){return this._disposed?Promise.reject((0,t.canceled)()):this._getProxy().then(P=>(this._getOrCreateModelManager(P).ensureSyncedResources(I,M),P))})}computedUnicodeHighlights(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeUnicodeHighlights(I.toString(),M,P))}computeDiff(I,M,P,x){return this._withSyncedResources([I,M],!0).then(T=>T.computeDiff(I.toString(),M.toString(),P,x))}computeMoreMinimalEdits(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeMoreMinimalEdits(I.toString(),M,P))}computeLinks(I){return this._withSyncedResources([I]).then(M=>M.computeLinks(I.toString()))}computeDefaultDocumentColors(I){return this._withSyncedResources([I]).then(M=>M.computeDefaultDocumentColors(I.toString()))}textualSuggest(I,M,P){return we(this,void 0,void 0,function*(){const x=yield this._withSyncedResources(I),T=P.source,A=P.flags;return x.textualSuggest(I.map(N=>N.toString()),M,T,A)})}computeWordRanges(I,M){return this._withSyncedResources([I]).then(P=>{const x=this._modelService.getModel(I);if(!x)return Promise.resolve(null);const T=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition(),A=T.source,N=T.flags;return P.computeWordRanges(I.toString(),M,A,N)})}navigateValueSet(I,M,P){return this._withSyncedResources([I]).then(x=>{const T=this._modelService.getModel(I);if(!T)return null;const A=this.languageConfigurationService.getLanguageConfiguration(T.getLanguageId()).getWordDefinition(),N=A.source,F=A.flags;return x.navigateValueSet(I.toString(),M,P,N,F)})}dispose(){super.dispose(),this._disposed=!0}}e.EditorWorkerClient=w}),define(ne[773],se([1,0,47,242]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWebWorker=void 0;function y(S,f,_){return new D(S,f,_)}e.createWebWorker=y;class D extends k.EditorWorkerClient{constructor(f,_,g){super(f,g.keepIdleModels||!1,g.label,_),this._foreignModuleId=g.moduleId,this._foreignModuleCreateData=g.createData||null,this._foreignModuleHost=g.host||null,this._foreignProxy=null}fhr(f,_){if(!this._foreignModuleHost||typeof this._foreignModuleHost[f]!="function")return Promise.reject(new Error("Missing method "+f+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[f].apply(this._foreignModuleHost,_))}catch(g){return Promise.reject(g)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(f=>{const _=this._foreignModuleHost?(0,L.getAllMethodNames)(this._foreignModuleHost):[];return f.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,_).then(g=>{this._foreignModuleCreateData=null;const C=(n,t)=>f.fmr(n,t),s=(n,t)=>function(){const a=Array.prototype.slice.call(arguments,0);return t(n,a)},i={};for(const n of g)i[n]=s(n,C);return i})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(f){return this._withSyncedResources(f).then(_=>this.getProxy())}}}),define(ne[243],se([1,0,11,110,125,32]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndentMetadata=e.getIndentActionForType=e.getIndentForEnter=e.getGoodIndentForLine=e.getInheritIndentForLine=void 0;function S(i,n,t){const a=i.tokenization.getLanguageIdAtPosition(n,0);if(n>1){let u,h=-1;for(u=n-1;u>=1;u--){if(i.tokenization.getLanguageIdAtPosition(u,0)!==a)return h;const r=i.getLineContent(u);if(t.shouldIgnore(r)||/^\s+$/.test(r)||r===""){h=u;continue}return u}}return-1}function f(i,n,t,a=!0,u){if(i<4)return null;const h=u.getLanguageConfiguration(n.tokenization.getLanguageId()).indentRulesSupport;if(!h)return null;if(t<=1)return{indentation:"",action:null};for(let o=t-1;o>0&&n.getLineContent(o)==="";o--)if(o===1)return{indentation:"",action:null};const r=S(n,t,h);if(r<0)return null;if(r<1)return{indentation:"",action:null};const c=n.getLineContent(r);if(h.shouldIncrease(c)||h.shouldIndentNextLine(c))return{indentation:L.getLeadingWhitespace(c),action:k.IndentAction.Indent,line:r};if(h.shouldDecrease(c))return{indentation:L.getLeadingWhitespace(c),action:null,line:r};{if(r===1)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};const o=r-1,d=h.getIndentMetadata(n.getLineContent(o));if(!(d&3)&&d&4){let l=0;for(let p=o-1;p>0;p--)if(!h.shouldIndentNextLine(n.getLineContent(p))){l=p;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(l+1)),action:null,line:l+1}}if(a)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};for(let l=r;l>0;l--){const p=n.getLineContent(l);if(h.shouldIncrease(p))return{indentation:L.getLeadingWhitespace(p),action:k.IndentAction.Indent,line:l};if(h.shouldIndentNextLine(p)){let m=0;for(let v=l-1;v>0;v--)if(!h.shouldIndentNextLine(n.getLineContent(l))){m=v;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(m+1)),action:null,line:m+1}}else if(h.shouldDecrease(p))return{indentation:L.getLeadingWhitespace(p),action:null,line:l}}return{indentation:L.getLeadingWhitespace(n.getLineContent(1)),action:null,line:1}}}e.getInheritIndentForLine=f;function _(i,n,t,a,u,h){if(i<4)return null;const r=h.getLanguageConfiguration(t);if(!r)return null;const c=h.getLanguageConfiguration(t).indentRulesSupport;if(!c)return null;const o=f(i,n,a,void 0,h),d=n.getLineContent(a);if(o){const l=o.line;if(l!==void 0){let p=!0;for(let m=l;m0&&h.getLanguageId(0)!==r.languageId?(o=!0,d=c.substr(0,t.startColumn-1-r.firstCharOffset)):d=h.getLineContent().substring(0,t.startColumn-1);let l;t.isEmpty()?l=c.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset);const p=u.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!p)return null;const m=d,v=L.getLeadingWhitespace(d),b={tokenization:{getLineTokens:M=>n.tokenization.getLineTokens(M),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(M,P)=>n.getLanguageIdAtPosition(M,P)},getLineContent:M=>M===t.startLineNumber?m:n.getLineContent(M)},w=L.getLeadingWhitespace(h.getLineContent()),E=f(i,b,t.startLineNumber+1,void 0,u);if(!E){const M=o?w:v;return{beforeEnter:M,afterEnter:M}}let I=o?w:E.indentation;return E.action===k.IndentAction.Indent&&(I=a.shiftIndent(I)),p.shouldDecrease(l)&&(I=a.unshiftIndent(I)),{beforeEnter:o?w:v,afterEnter:I}}e.getIndentForEnter=g;function C(i,n,t,a,u,h){if(i<4)return null;const r=(0,D.getScopedLineTokens)(n,t.startLineNumber,t.startColumn);if(r.firstCharOffset)return null;const c=h.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!c)return null;const o=r.getLineContent(),d=o.substr(0,t.startColumn-1-r.firstCharOffset);let l;if(t.isEmpty()?l=o.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset),!c.shouldDecrease(d+l)&&c.shouldDecrease(d+a+l)){const p=f(i,n,t.startLineNumber,!1,h);if(!p)return null;let m=p.indentation;return p.action!==k.IndentAction.Indent&&(m=u.unshiftIndent(m)),m}return null}e.getIndentActionForType=C;function s(i,n,t){const a=t.getLanguageConfiguration(i.getLanguageId()).indentRulesSupport;return!a||n<1||n>i.getLineCount()?null:a.getIndentMetadata(i.getLineContent(n))}e.getIndentMetadata=s}),define(ne[244],se([1,0,110,32]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnterAction=void 0;function y(D,S,f,_){const g=(0,k.getScopedLineTokens)(S,f.startLineNumber,f.startColumn),C=_.getLanguageConfiguration(g.languageId);if(!C)return null;const s=g.getLineContent(),i=s.substr(0,f.startColumn-1-g.firstCharOffset);let n;f.isEmpty()?n=s.substr(f.startColumn-1-g.firstCharOffset):n=(0,k.getScopedLineTokens)(S,f.endLineNumber,f.endColumn).getLineContent().substr(f.endColumn-1-g.firstCharOffset);let t="";if(f.startLineNumber>1&&g.firstCharOffset===0){const o=(0,k.getScopedLineTokens)(S,f.startLineNumber-1);o.languageId===g.languageId&&(t=o.getLineContent())}const a=C.onEnter(D,t,i,n);if(!a)return null;const u=a.indentAction;let h=a.appendText;const r=a.removeText||0;h?u===L.IndentAction.Indent&&(h=" "+h):u===L.IndentAction.Indent||u===L.IndentAction.IndentOutdent?h=" ":h="";let c=(0,k.getIndentationAtPosition)(S,f.startLineNumber,f.startColumn);return r&&(c=c.substring(0,c.length-r)),{indentAction:u,appendText:h,removeText:r,indentation:c}}e.getEnterAction=y}),define(ne[245],se([1,0,11,82,5,24,244,32]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ShiftCommand=void 0;const g=Object.create(null);function C(i,n){if(n<=0)return"";g[i]||(g[i]=["",i]);const t=g[i];for(let a=t.length;a<=n;a++)t[a]=t[a-1]+i;return t[n]}let s=_=class{static unshiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.prevIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.prevRenderTabStop(r,a)/a;return C(c,d)}}static shiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.nextIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.nextRenderTabStop(r,a)/a;return C(c,d)}}constructor(n,t,a){this._languageConfigurationService=a,this._opts=t,this._selection=n,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(n,t,a){this._useLastEditRangeForCursorEndPosition?n.addTrackedEditOperation(t,a):n.addEditOperation(t,a)}getEditOperations(n,t){const a=this._selection.startLineNumber;let u=this._selection.endLineNumber;this._selection.endColumn===1&&a!==u&&(u=u-1);const{tabSize:h,indentSize:r,insertSpaces:c}=this._opts,o=a===u;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(n.getLineContent(a))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,l=0;for(let p=a;p<=u;p++,d=l){l=0;const m=n.getLineContent(p);let v=L.firstNonWhitespaceIndex(m);if(this._opts.isUnshift&&(m.length===0||v===0)||!o&&!this._opts.isUnshift&&m.length===0)continue;if(v===-1&&(v=m.length),p>1&&k.CursorColumns.visibleColumnFromColumn(m,v+1,h)%r!==0&&n.tokenization.isCheapToTokenize(p-1)){const E=(0,S.getEnterAction)(this._opts.autoIndent,n,new y.Range(p-1,n.getLineMaxColumn(p-1),p-1,n.getLineMaxColumn(p-1)),this._languageConfigurationService);if(E){if(l=d,E.appendText)for(let I=0,M=E.appendText.length;I1){let M;for(M=b-1;M>=1;M--){const T=v.getLineContent(M);if(k.lastNonWhitespaceIndex(T)>=0)break}if(M<1)return null;const P=v.getLineMaxColumn(M),x=(0,a.getEnterAction)(m.autoIndent,v,new g.Range(M,P,M,P),m.languageConfigurationService);x&&(E=x.indentation+x.appendText)}return w&&(w===s.IndentAction.Indent&&(E=u.shiftIndent(m,E)),w===s.IndentAction.Outdent&&(E=u.unshiftIndent(m,E)),E=m.normalizeIndentation(E)),E||null}static _replaceJumpToNextIndent(m,v,b,w){let E="";const I=b.getStartPosition();if(m.insertSpaces){const M=m.visibleColumnFromColumn(v,I),P=m.indentSize,x=P-M%P;for(let T=0;Tthis._compositionType(b,T,E,I,M,P));return new f.EditOperationResult(4,x,{shouldPushStackElementBefore:o(m,4),shouldPushStackElementAfter:!1})}static _compositionType(m,v,b,w,E,I){if(!v.isEmpty())return null;const M=v.getPosition(),P=Math.max(1,M.column-w),x=Math.min(m.getLineMaxColumn(M.lineNumber),M.column+E),T=new g.Range(M.lineNumber,P,M.lineNumber,x);return m.getValueInRange(T)===b&&I===0?null:new y.ReplaceCommandWithOffsetCursorState(T,b,0,I)}static _typeCommand(m,v,b){return b?new y.ReplaceCommandWithoutChangingPosition(m,v,!0):new y.ReplaceCommand(m,v,!0)}static _enter(m,v,b,w){if(m.autoIndent===0)return u._typeCommand(w,` -`,b);if(!v.tokenization.isCheapToTokenize(w.getStartPosition().lineNumber)||m.autoIndent===1){const P=v.getLineContent(w.startLineNumber),x=k.getLeadingWhitespace(P).substring(0,w.startColumn-1);return u._typeCommand(w,` -`+m.normalizeIndentation(x),b)}const E=(0,a.getEnterAction)(m.autoIndent,v,w,m.languageConfigurationService);if(E){if(E.indentAction===s.IndentAction.None)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.Indent)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.IndentOutdent){const P=m.normalizeIndentation(E.indentation),x=m.normalizeIndentation(E.indentation+E.appendText),T=` -`+x+` -`+P;return b?new y.ReplaceCommandWithoutChangingPosition(w,T,!0):new y.ReplaceCommandWithOffsetCursorState(w,T,-1,x.length-P.length,!0)}else if(E.indentAction===s.IndentAction.Outdent){const P=u.unshiftIndent(m,E.indentation);return u._typeCommand(w,` -`+m.normalizeIndentation(P+E.appendText),b)}}const I=v.getLineContent(w.startLineNumber),M=k.getLeadingWhitespace(I).substring(0,w.startColumn-1);if(m.autoIndent>=4){const P=(0,t.getIndentForEnter)(m.autoIndent,v,w,{unshiftIndent:x=>u.unshiftIndent(m,x),shiftIndent:x=>u.shiftIndent(m,x),normalizeIndentation:x=>m.normalizeIndentation(x)},m.languageConfigurationService);if(P){let x=m.visibleColumnFromColumn(v,w.getEndPosition());const T=w.endColumn,A=v.getLineContent(w.endLineNumber),N=k.firstNonWhitespaceIndex(A);if(N>=0?w=w.setEndPosition(w.endLineNumber,Math.max(w.endColumn,N+1)):w=w.setEndPosition(w.endLineNumber,v.getLineMaxColumn(w.endLineNumber)),b)return new y.ReplaceCommandWithoutChangingPosition(w,` -`+m.normalizeIndentation(P.afterEnter),!0);{let F=0;return T<=N+1&&(m.insertSpaces||(x=Math.ceil(x/m.indentSize)),F=Math.min(x+1-m.normalizeIndentation(P.afterEnter).length-1,0)),new y.ReplaceCommandWithOffsetCursorState(w,` -`+m.normalizeIndentation(P.afterEnter),0,F,!0)}}}return u._typeCommand(w,` -`+m.normalizeIndentation(M),b)}static _isAutoIndentType(m,v,b){if(m.autoIndent<4)return!1;for(let w=0,E=b.length;wu.shiftIndent(m,M),unshiftIndent:M=>u.unshiftIndent(m,M)},m.languageConfigurationService);if(I===null)return null;if(I!==m.normalizeIndentation(E)){const M=v.getLineFirstNonWhitespaceColumn(b.startLineNumber);return M===0?u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+w,!1):u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+v.getLineContent(b.startLineNumber).substring(M-1,b.startColumn-1)+w,!1)}return null}static _isAutoClosingOvertype(m,v,b,w,E){if(m.autoClosingOvertype==="never"||!m.autoClosingPairs.autoClosingPairsCloseSingleChar.has(E))return!1;for(let I=0,M=b.length;I2?T.charCodeAt(x.column-2):0)===92&&N)return!1;if(m.autoClosingOvertype==="auto"){let O=!1;for(let W=0,U=w.length;Wv.startsWith(P.open)),M=E.some(P=>v.startsWith(P.close));return!I&&M}static _findAutoClosingPairOpen(m,v,b,w){const E=m.autoClosingPairs.autoClosingPairsOpenByEnd.get(w);if(!E)return null;let I=null;for(const M of E)if(I===null||M.open.length>I.open.length){let P=!0;for(const x of b)if(v.getValueInRange(new g.Range(x.lineNumber,x.column-M.open.length+1,x.lineNumber,x.column))+w!==M.open){P=!1;break}P&&(I=M)}return I}static _findContainedAutoClosingPair(m,v){if(v.open.length<=1)return null;const b=v.close.charAt(v.close.length-1),w=m.autoClosingPairs.autoClosingPairsCloseByEnd.get(b)||[];let E=null;for(const I of w)I.open!==v.open&&v.open.includes(I.open)&&v.close.endsWith(I.close)&&(!E||I.open.length>E.open.length)&&(E=I);return E}static _getAutoClosingPairClose(m,v,b,w,E){const I=(0,f.isQuote)(w),M=I?m.autoClosingQuotes:m.autoClosingBrackets,P=I?m.shouldAutoCloseBefore.quote:m.shouldAutoCloseBefore.bracket;if(M==="never")return null;for(const O of b)if(!O.isEmpty())return null;const x=b.map(O=>{const W=O.getPosition();return E?{lineNumber:W.lineNumber,beforeColumn:W.column-w.length,afterColumn:W.column}:{lineNumber:W.lineNumber,beforeColumn:W.column,afterColumn:W.column}}),T=this._findAutoClosingPairOpen(m,v,x.map(O=>new C.Position(O.lineNumber,O.beforeColumn)),w);if(!T)return null;const A=this._findContainedAutoClosingPair(m,T),N=A?A.close:"";let F=!0;for(const O of x){const{lineNumber:W,beforeColumn:U,afterColumn:j}=O,R=v.getLineContent(W),K=R.substring(0,U-1),G=R.substring(j-1);if(G.startsWith(N)||(F=!1),G.length>0){const H=G.charAt(0);if(!u._isBeforeClosingBrace(m,G)&&!P(H))return null}if(T.open.length===1&&(w==="'"||w==='"')&&M!=="always"){const H=(0,_.getMapForWordSeparators)(m.wordSeparators);if(K.length>0){const B=K.charCodeAt(K.length-1);if(H.get(B)===0)return null}}if(!v.tokenization.isCheapToTokenize(W))return null;v.tokenization.forceTokenization(W);const Z=v.tokenization.getLineTokens(W),J=(0,n.createScopedLineTokens)(Z,U-1);if(!T.shouldAutoClose(J,U-J.firstCharOffset))return null;const X=T.findNeutralCharacter();if(X){const H=v.tokenization.getTokenTypeIfInsertingCharacter(W,U,X);if(!T.isOK(H))return null}}return F?T.close.substring(0,T.close.length-N.length):T.close}static _runAutoClosingOpenCharType(m,v,b,w,E,I,M){const P=[];for(let x=0,T=w.length;xnew y.ReplaceCommand(new g.Range(N.positionLineNumber,N.positionColumn,N.positionLineNumber,N.positionColumn+1),"",!1));return new f.EditOperationResult(4,A,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const T=this._getAutoClosingPairClose(v,b,E,P,!0);return T!==null?this._runAutoClosingOpenCharType(m,v,b,E,P,!0,T):null}static typeWithInterceptors(m,v,b,w,E,I,M){if(!m&&M===` -`){const T=[];for(let A=0,N=E.length;A0){const l=this._cursors.getSelections();for(let p=0;pw&&(v=v.slice(0,w),b=!0);const E=u.from(this._model,this);return this._cursors.setStates(v),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(l,p,m,E,b)}setCursorColumnSelectData(l){this._columnSelectData=l}revealPrimary(l,p,m,v,b,w){const E=this._cursors.getViewPositions();let I=null,M=null;E.length>1?M=this._cursors.getViewSelections():I=g.Range.fromPositions(E[0],E[0]),l.emitViewEvent(new i.ViewRevealRangeRequestEvent(p,m,I,M,v,b,w))}saveState(){const l=[],p=this._cursors.getSelections();for(let m=0,v=p.length;m0){const b=D.CursorState.fromModelSelections(m.resultingSelection);this.setStates(l,"modelChange",m.isUndoing?5:m.isRedoing?6:2,b)&&this.revealPrimary(l,"modelChange",!1,0,!0,0)}else{const b=this._cursors.readSelectionFromMarkers();this.setStates(l,"modelChange",2,D.CursorState.fromModelSelections(b))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const l=this._cursors.getPrimaryCursor(),p=l.viewState.selectionStart.getStartPosition(),m=l.viewState.position;return{isReal:!1,fromViewLineNumber:p.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,p),toViewLineNumber:m.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,m)}}getSelections(){return this._cursors.getSelections()}setSelections(l,p,m,v){this.setStates(l,p,v,D.CursorState.fromModelSelections(m))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(l){this._prevEditOperationType=l}_pushAutoClosedAction(l,p){const m=[],v=[];for(let E=0,I=l.length;E0&&this._pushAutoClosedAction(m,v),this._prevEditOperationType=l.type}l.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(l){(!l||l.length===0)&&(l=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(l),this._cursors.normalize()}_emitStateChangedIfNecessary(l,p,m,v,b){const w=u.from(this._model,this);if(w.equals(v))return!1;const E=this._cursors.getSelections(),I=this._cursors.getViewSelections();if(l.emitViewEvent(new i.ViewCursorStateChangedEvent(I,E,m)),!v||v.cursorState.length!==w.cursorState.length||w.cursorState.some((M,P)=>!M.modelState.equals(v.cursorState[P].modelState))){const M=v?v.cursorState.map(x=>x.modelState.selection):null,P=v?v.modelVersionId:0;l.emitOutgoingEvent(new t.CursorStateChangedEvent(M,E,P,w.modelVersionId,p||"keyboard",m,b))}return!0}_findAutoClosingPairs(l){if(!l.length)return null;const p=[];for(let m=0,v=l.length;m=0)return null;const w=b.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!w)return null;const E=w[1],I=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(E);if(!I||I.length!==1)return null;const M=I[0].open,P=b.text.length-w[2].length-1,x=b.text.lastIndexOf(M,P-1);if(x===-1)return null;p.push([x,P])}return p}executeEdits(l,p,m,v){let b=null;p==="snippet"&&(b=this._findAutoClosingPairs(m)),b&&(m[0]._isTracked=!0);const w=[],E=[],I=this._model.pushEditOperations(this.getSelections(),m,M=>{if(b)for(let x=0,T=b.length;x0&&this._pushAutoClosedAction(w,E)}_executeEdit(l,p,m,v=0){if(this.context.cursorConfig.readOnly)return;const b=u.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),l()}catch(w){(0,L.onUnexpectedError)(w)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(p,m,v,b,!1)&&this.revealPrimary(p,m,!1,0,!0,0)}getAutoClosedCharacters(){return h.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(l){this._compositionState=new o(this._model,this.getSelections())}endComposition(l,p){const m=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{p==="keyboard"&&this._executeEditOperation(_.TypeOperations.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,m,this.getSelections(),this.getAutoClosedCharacters()))},l,p)}type(l,p,m){this._executeEdit(()=>{if(m==="keyboard"){const v=p.length;let b=0;for(;b{const M=I.getPosition();return new C.Selection(M.lineNumber,M.column+b,M.lineNumber,M.column+b)});this.setSelections(l,w,E,0)}return}this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),p,m,v,b))},l,w)}paste(l,p,m,v,b){this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.paste(this.context.cursorConfig,this._model,this.getSelections(),p,m,v||[]))},l,b,4)}cut(l,p){this._executeEdit(()=>{this._executeEditOperation(f.DeleteOperations.cut(this.context.cursorConfig,this._model,this.getSelections()))},l,p)}executeCommand(l,p,m){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new D.EditOperationResult(0,[p],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}executeCommands(l,p,m){this._executeEdit(()=>{this._executeEditOperation(new D.EditOperationResult(0,p,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}}e.CursorsController=a;class u{static from(l,p){return new u(l.getVersionId(),p.getCursorStates())}constructor(l,p){this.modelVersionId=l,this.cursorState=p}equals(l){if(!l||this.modelVersionId!==l.modelVersionId||this.cursorState.length!==l.cursorState.length)return!1;for(let p=0,m=this.cursorState.length;p=p.length||!p[m].strictContainsRange(l[m]))return!1;return!0}}class r{static executeCommands(l,p,m){const v={model:l,selectionsBefore:p,trackedRanges:[],trackedRangesDirection:[]},b=this._innerExecuteCommands(v,m);for(let w=0,E=v.trackedRanges.length;w0&&(w[0]._isTracked=!0);let E=l.model.pushEditOperations(l.selectionsBefore,w,M=>{const P=[];for(let A=0;AA.identifier.minor-N.identifier.minor,T=[];for(let A=0;A0?(P[A].sort(x),T[A]=p[A].computeCursorState(l.model,{getInverseEditOperations:()=>P[A],getTrackedSelection:N=>{const F=parseInt(N,10),O=l.model._getTrackedRange(l.trackedRanges[F]);return l.trackedRangesDirection[F]===0?new C.Selection(O.startLineNumber,O.startColumn,O.endLineNumber,O.endColumn):new C.Selection(O.endLineNumber,O.endColumn,O.startLineNumber,O.startColumn)}})):T[A]=l.selectionsBefore[A];return T});E||(E=l.selectionsBefore);const I=[];for(const M in b)b.hasOwnProperty(M)&&I.push(parseInt(M,10));I.sort((M,P)=>P-M);for(const M of I)E.splice(M,1);return E}static _arrayIsEmpty(l){for(let p=0,m=l.length;p{g.Range.isEmpty(x)&&T===""||v.push({identifier:{major:p,minor:b++},range:x,text:T,forceMoveMarkers:A,isAutoWhitespaceEdit:m.insertsAutoWhitespace})};let E=!1;const P={addEditOperation:w,addTrackedEditOperation:(x,T,A)=>{E=!0,w(x,T,A)},trackSelection:(x,T)=>{const A=C.Selection.liftSelection(x);let N;if(A.isEmpty())if(typeof T=="boolean")T?N=2:N=3;else{const W=l.model.getLineMaxColumn(A.startLineNumber);A.startColumn===W?N=2:N=3}else N=1;const F=l.trackedRanges.length,O=l.model._setTrackedRange(null,A,N);return l.trackedRanges[F]=O,l.trackedRangesDirection[F]=A.getDirection(),F.toString()}};try{m.getEditOperations(l.model,P)}catch(x){return(0,L.onUnexpectedError)(x),{operations:[],hadTrackedEditOperation:!1}}return{operations:v,hadTrackedEditOperation:E}}static _getLoserCursorMap(l){l=l.slice(0),l.sort((m,v)=>-g.Range.compareRangesUsingEnds(m.range,v.range));const p={};for(let m=1;mb.identifier.major?w=v.identifier.major:w=b.identifier.major,p[w.toString()]=!0;for(let E=0;E0&&m--}}return p}}class c{constructor(l,p,m){this.text=l,this.startSelection=p,this.endSelection=m}}class o{static _capture(l,p){const m=[];for(const v of p){if(v.startLineNumber!==v.endLineNumber)return null;m.push(new c(l.getLineContent(v.startLineNumber),v.startColumn-1,v.endColumn-1))}return m}constructor(l,p){this._original=o._capture(l,p)}deduceOutcome(l,p){if(!this._original)return null;const m=o._capture(l,p);if(!m||this._original.length!==m.length)return null;const v=[];for(let b=0,w=this._original.length;b{m.mime===p.mime||m.userConfigured||(p.extension&&m.extension===p.extension&&console.warn(`Overwriting extension <<${p.extension}>> to now point to mime <<${p.mime}>>`),p.filename&&m.filename===p.filename&&console.warn(`Overwriting filename <<${p.filename}>> to now point to mime <<${p.mime}>>`),p.filepattern&&m.filepattern===p.filepattern&&console.warn(`Overwriting filepattern <<${p.filepattern}>> to now point to mime <<${p.mime}>>`),p.firstline&&m.firstline===p.firstline&&console.warn(`Overwriting firstline <<${p.firstline}>> to now point to mime <<${p.mime}>>`))})}function t(o,d){return{id:o.id,mime:o.mime,filename:o.filename,extension:o.extension,filepattern:o.filepattern,firstline:o.firstline,userConfigured:d,filenameLowercase:o.filename?o.filename.toLowerCase():void 0,extensionLowercase:o.extension?o.extension.toLowerCase():void 0,filepatternLowercase:o.filepattern?(0,L.parse)(o.filepattern.toLowerCase()):void 0,filepatternOnPath:o.filepattern?o.filepattern.indexOf(D.posix.sep)>=0:!1}}function a(){g=g.filter(o=>o.userConfigured),C=[]}e.clearPlatformLanguageAssociations=a;function u(o,d){return h(o,d).map(l=>l.id)}e.getLanguageIds=u;function h(o,d){let l;if(o)switch(o.scheme){case y.Schemas.file:l=o.fsPath;break;case y.Schemas.data:{l=S.DataUri.parseMetaData(o).get(S.DataUri.META_DATA_LABEL);break}case y.Schemas.vscodeNotebookCell:l=void 0;break;default:l=o.path}if(!l)return[{id:"unknown",mime:k.Mimes.unknown}];l=l.toLowerCase();const p=(0,D.basename)(l),m=r(l,p,s);if(m)return[m,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];const v=r(l,p,C);if(v)return[v,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];if(d){const b=c(d);if(b)return[b,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}]}return[{id:"unknown",mime:k.Mimes.unknown}]}function r(o,d,l){var p;let m,v,b;for(let w=l.length-1;w>=0;w--){const E=l[w];if(d===E.filenameLowercase){m=E;break}if(E.filepattern&&(!v||E.filepattern.length>v.filepattern.length)){const I=E.filepatternOnPath?o:d;!((p=E.filepatternLowercase)===null||p===void 0)&&p.call(E,I)&&(v=E)}E.extension&&(!b||E.extension.length>b.extension.length)&&d.endsWith(E.extensionLowercase)&&(b=E)}if(m)return m;if(v)return v;if(b)return b}function c(o){if((0,f.startsWithUTF8BOM)(o)&&(o=o.substr(1)),o.length>0)for(let d=g.length-1;d>=0;d--){const l=g[d];if(!l.firstline)continue;const p=o.match(l.firstline);if(p&&p.length>0)return l}}}),define(ne[777],se([1,0,6,2,11,776,78,98,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguagesRegistry=e.LanguageIdCodec=void 0;const g=Object.prototype.hasOwnProperty,C="vs.editor.nullLanguage";class s{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(C,0),this._register(S.PLAINTEXT_LANGUAGE_ID,1),this._nextLanguageId=2}_register(t,a){this._languageIdToLanguage[a]=t,this._languageToLanguageId.set(t,a)}register(t){if(this._languageToLanguageId.has(t))return;const a=this._nextLanguageId++;this._register(t,a)}encodeLanguageId(t){return this._languageToLanguageId.get(t)||0}decodeLanguageId(t){return this._languageIdToLanguage[t]||C}}e.LanguageIdCodec=s;class i extends k.Disposable{constructor(t=!0,a=!1){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,i.instanceCount++,this._warnOnOverwrite=a,this.languageIdCodec=new s,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},t&&(this._initializeFromRegistry(),this._register(S.ModesRegistry.onDidChangeLanguages(u=>{this._initializeFromRegistry()})))}dispose(){i.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},(0,D.clearPlatformLanguageAssociations)();const t=[].concat(S.ModesRegistry.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(t)}_registerLanguages(t){for(const a of t)this._registerLanguage(a);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(a=>{const u=this._languages[a];u.name&&(this._nameMap[u.name]=u.identifier),u.aliases.forEach(h=>{this._lowercaseNameMap[h.toLowerCase()]=u.identifier}),u.mimetypes.forEach(h=>{this._mimeTypesMap[h]=u.identifier})}),_.Registry.as(f.Extensions.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(t){const a=t.id;let u;g.call(this._languages,a)?u=this._languages[a]:(this.languageIdCodec.register(a),u={identifier:a,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[a]=u),this._mergeLanguage(u,t)}_mergeLanguage(t,a){const u=a.id;let h=null;if(Array.isArray(a.mimetypes)&&a.mimetypes.length>0&&(t.mimetypes.push(...a.mimetypes),h=a.mimetypes[0]),h||(h=`text/x-${u}`,t.mimetypes.push(h)),Array.isArray(a.extensions)){a.configuration?t.extensions=a.extensions.concat(t.extensions):t.extensions=t.extensions.concat(a.extensions);for(const o of a.extensions)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,extension:o},this._warnOnOverwrite)}if(Array.isArray(a.filenames))for(const o of a.filenames)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filename:o},this._warnOnOverwrite),t.filenames.push(o);if(Array.isArray(a.filenamePatterns))for(const o of a.filenamePatterns)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filepattern:o},this._warnOnOverwrite);if(typeof a.firstLine=="string"&&a.firstLine.length>0){let o=a.firstLine;o.charAt(0)!=="^"&&(o="^"+o);try{const d=new RegExp(o);(0,y.regExpLeadsToEndlessLoop)(d)||(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,firstline:d},this._warnOnOverwrite)}catch(d){console.warn(`[${a.id}]: Invalid regular expression \`${o}\`: `,d)}}t.aliases.push(u);let r=null;if(typeof a.aliases<"u"&&Array.isArray(a.aliases)&&(a.aliases.length===0?r=[null]:r=a.aliases),r!==null)for(const o of r)!o||o.length===0||t.aliases.push(o);const c=r!==null&&r.length>0;if(!(c&&r[0]===null)){const o=(c?r[0]:null)||u;(c||!t.name)&&(t.name=o)}a.configuration&&t.configurationFiles.push(a.configuration),a.icon&&t.icons.push(a.icon)}isRegisteredLanguageId(t){return t?g.call(this._languages,t):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(t){const a=t.toLowerCase();return g.call(this._lowercaseNameMap,a)?this._lowercaseNameMap[a]:null}getLanguageIdByMimeType(t){return t&&g.call(this._mimeTypesMap,t)?this._mimeTypesMap[t]:null}guessLanguageIdByFilepathOrFirstLine(t,a){return!t&&!a?[]:(0,D.getLanguageIds)(t,a)}}e.LanguagesRegistry=i,i.instanceCount=0}),define(ne[778],se([1,0,6,2,777,14,29,78]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageService=void 0;class _ extends k.Disposable{constructor(s=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new L.Emitter),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new L.Emitter),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new L.Emitter({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,_.instanceCount++,this._registry=this._register(new y.LanguagesRegistry(!0,s)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){_.instanceCount--,super.dispose()}isRegisteredLanguageId(s){return this._registry.isRegisteredLanguageId(s)}getLanguageIdByLanguageName(s){return this._registry.getLanguageIdByLanguageName(s)}getLanguageIdByMimeType(s){return this._registry.getLanguageIdByMimeType(s)}guessLanguageIdByFilepathOrFirstLine(s,i){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(s,i);return(0,D.firstOrDefault)(n,null)}createById(s){return new g(this.onDidChange,()=>this._createAndGetLanguageIdentifier(s))}createByFilepathOrFirstLine(s,i){return new g(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(s,i);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(s){return(!s||!this.isRegisteredLanguageId(s))&&(s=f.PLAINTEXT_LANGUAGE_ID),s}requestBasicLanguageFeatures(s){this._requestedBasicLanguages.has(s)||(this._requestedBasicLanguages.add(s),this._onDidRequestBasicLanguageFeatures.fire(s))}requestRichLanguageFeatures(s){this._requestedRichLanguages.has(s)||(this._requestedRichLanguages.add(s),this.requestBasicLanguageFeatures(s),S.TokenizationRegistry.getOrCreate(s),this._onDidRequestRichLanguageFeatures.fire(s))}}e.LanguageService=_,_.instanceCount=0;class g{constructor(s,i){this._onDidChangeLanguages=s,this._selector=i,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new L.Emitter({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var s;const i=this._selector();i!==this.languageId&&(this.languageId=i,(s=this._emitter)===null||s===void 0||s.fire(this.languageId))}}}),define(ne[342],se([1,0,38,242,51,32,2,18,149]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultDocumentColorProvider=void 0;class g{constructor(i,n){this._editorWorkerClient=new k.EditorWorkerClient(i,!1,"editorWorkerService",n)}provideDocumentColors(i,n){return we(this,void 0,void 0,function*(){return this._editorWorkerClient.computeDefaultDocumentColors(i.uri)})}provideColorPresentations(i,n,t){const a=n.range,u=n.color,h=u.alpha,r=new L.Color(new L.RGBA(Math.round(255*u.red),Math.round(255*u.green),Math.round(255*u.blue),h)),c=h?L.Color.Format.CSS.formatRGB(r):L.Color.Format.CSS.formatRGBA(r),o=h?L.Color.Format.CSS.formatHSL(r):L.Color.Format.CSS.formatHSLA(r),d=h?L.Color.Format.CSS.formatHex(r):L.Color.Format.CSS.formatHexA(r),l=[];return l.push({label:c,textEdit:{range:a,text:c}}),l.push({label:o,textEdit:{range:a,text:o}}),l.push({label:d,textEdit:{range:a,text:d}}),l}}e.DefaultDocumentColorProvider=g;let C=class extends S.Disposable{constructor(i,n,t){super(),this._register(t.colorProvider.register("*",new g(i,n)))}};C=ke([fe(0,y.IModelService),fe(1,D.ILanguageConfigurationService),fe(2,f.ILanguageFeaturesService)],C),(0,_.registerEditorFeature)(C)}),define(ne[343],se([1,0,19,9,22,5,51,27,18,342,28]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColorPresentations=e.getColors=void 0;function s(r,c,o,d=!0){return we(this,void 0,void 0,function*(){return u(new n,r,c,o,d)})}e.getColors=s;function i(r,c,o,d){return Promise.resolve(o.provideColorPresentations(r,c,d))}e.getColorPresentations=i;class n{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({colorInfo:m,provider:c});return Array.isArray(p)})}}class t{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({range:m.range,color:[m.color.red,m.color.green,m.color.blue,m.color.alpha]});return Array.isArray(p)})}}class a{constructor(c){this.colorInfo=c}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideColorPresentations(o,this.colorInfo,L.CancellationToken.None);return Array.isArray(p)&&l.push(...p),Array.isArray(p)})}}function u(r,c,o,d,l){return we(this,void 0,void 0,function*(){let p=!1,m;const v=[],b=c.ordered(o);for(let w=b.length-1;w>=0;w--){const E=b[w];if(E instanceof g.DefaultDocumentColorProvider)m=E;else try{(yield r.compute(E,o,d,v))&&(p=!0)}catch(I){(0,k.onUnexpectedExternalError)(I)}}return p?v:m&&l?(yield r.compute(m,o,d,v),v):[]})}function h(r,c){const{colorProvider:o}=r.get(_.ILanguageFeaturesService),d=r.get(S.IModelService).getModel(c);if(!d)throw(0,k.illegalArgument)();const l=r.get(C.IConfigurationService).getValue("editor.defaultColorDecorators",{resource:c});return{model:d,colorProviderRegistry:o,isDefaultColorDecoratorsEnabled:l}}f.CommandsRegistry.registerCommand("_executeDocumentColorProvider",function(r,...c){const[o]=c;if(!(o instanceof y.URI))throw(0,k.illegalArgument)();const{model:d,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:p}=h(r,o);return u(new t,l,d,L.CancellationToken.None,p)}),f.CommandsRegistry.registerCommand("_executeColorPresentationProvider",function(r,...c){const[o,d]=c,{uri:l,range:p}=d;if(!(l instanceof y.URI)||!Array.isArray(o)||o.length!==4||!D.Range.isIRange(p))throw(0,k.illegalArgument)();const{model:m,colorProviderRegistry:v,isDefaultColorDecoratorsEnabled:b}=h(r,l),[w,E,I,M]=o;return u(new a({range:p,color:{red:w,green:E,blue:I,alpha:M}}),v,m,L.CancellationToken.None,b)})}),define(ne[779],se([1,0,19,72,2,42,12,29,32,18,600,296]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionWithUpdatedRange=e.UpToDateInlineCompletions=e.InlineCompletionsSource=void 0;let i=class extends y.Disposable{constructor(d,l,p,m,v){super(),this.textModel=d,this.versionId=l,this._debounceValue=p,this.languageFeaturesService=m,this.languageConfigurationService=v,this._updateOperation=this._register(new y.MutableDisposable),this.inlineCompletions=(0,D.disposableObservableValue)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,D.disposableObservableValue)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(d,l,p){var m,v;const b=new t(d,l,this.textModel.getVersionId()),w=l.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(!((m=this._updateOperation.value)===null||m===void 0)&&m.request.satisfies(b))return this._updateOperation.value.promise;if(!((v=w.get())===null||v===void 0)&&v.request.satisfies(b))return Promise.resolve(!0);const E=!!this._updateOperation.value;this._updateOperation.clear();const I=new L.CancellationTokenSource,M=(()=>we(this,void 0,void 0,function*(){if((E||l.triggerKind===f.InlineCompletionTriggerKind.Automatic)&&(yield n(this._debounceValue.get(this.textModel))),I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const T=new Date,A=yield(0,C.provideInlineCompletions)(this.languageFeaturesService.inlineCompletionsProvider,d,this.textModel,l,I.token,this.languageConfigurationService);if(I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const N=new Date;this._debounceValue.update(this.textModel,N.getTime()-T.getTime());const F=new h(A,b,this.textModel,this.versionId);if(p){const O=p.toInlineCompletion(void 0);p.canBeReused(this.textModel,d)&&!A.has(O)&&F.prepend(p.inlineCompletion,O.range,!0)}return this._updateOperation.clear(),(0,D.transaction)(O=>{w.set(F,O)}),!0}))(),P=new u(b,I,M);return this._updateOperation.value=P,M}clear(d){this._updateOperation.clear(),this.inlineCompletions.set(void 0,d),this.suggestWidgetInlineCompletions.set(void 0,d)}clearSuggestWidgetInlineCompletions(d){var l;!((l=this._updateOperation.value)===null||l===void 0)&&l.request.context.selectedSuggestionInfo&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,d)}cancelUpdate(){this._updateOperation.clear()}};e.InlineCompletionsSource=i,e.InlineCompletionsSource=i=ke([fe(3,g.ILanguageFeaturesService),fe(4,_.ILanguageConfigurationService)],i);function n(o,d){return new Promise(l=>{let p;const m=setTimeout(()=>{p&&p.dispose(),l()},o);d&&(p=d.onCancellationRequested(()=>{clearTimeout(m),p&&p.dispose(),l()}))})}class t{constructor(d,l,p){this.position=d,this.context=l,this.versionId=p}satisfies(d){return this.position.equals(d.position)&&a(this.context.selectedSuggestionInfo,d.context.selectedSuggestionInfo,(l,p)=>l.equals(p))&&(d.context.triggerKind===f.InlineCompletionTriggerKind.Automatic||this.context.triggerKind===f.InlineCompletionTriggerKind.Explicit)&&this.versionId===d.versionId}}function a(o,d,l){return!o||!d?o===d:l(o,d)}class u{constructor(d,l,p){this.request=d,this.cancellationTokenSource=l,this.promise=p}dispose(){this.cancellationTokenSource.cancel()}}class h{get inlineCompletions(){return this._inlineCompletions}constructor(d,l,p,m){this.inlineCompletionProviderResult=d,this.request=l,this.textModel=p,this.versionId=m,this._refCount=1,this._prependedInlineCompletionItems=[],this._rangeVersionIdValue=0,this._rangeVersionId=(0,D.derived)(b=>{this.versionId.read(b);let w=!1;for(const E of this._inlineCompletions)w=w||E._updateRange(this.textModel);return w&&this._rangeVersionIdValue++,this._rangeVersionIdValue});const v=p.deltaDecorations([],d.completions.map(b=>({range:b.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=d.completions.map((b,w)=>new r(b,v[w],this._rangeVersionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,this._refCount===0){setTimeout(()=>{this.textModel.isDisposed()||this.textModel.deltaDecorations(this._inlineCompletions.map(d=>d.decorationId),[])},0),this.inlineCompletionProviderResult.dispose();for(const d of this._prependedInlineCompletionItems)d.source.removeRef()}}prepend(d,l,p){p&&d.source.addRef();const m=this.textModel.deltaDecorations([],[{range:l,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new r(d,m,this._rangeVersionId,l)),this._prependedInlineCompletionItems.push(d)}}e.UpToDateInlineCompletions=h;class r{get forwardStable(){var d;return(d=this.inlineCompletion.source.inlineCompletions.enableForwardStability)!==null&&d!==void 0?d:!1}constructor(d,l,p,m){this.inlineCompletion=d,this.decorationId=l,this.rangeVersion=p,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._isValid=!0,this._updatedRange=m??d.range}toInlineCompletion(d){return this.inlineCompletion.withRange(this._getUpdatedRange(d))}toSingleTextEdit(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.insertText)}isVisible(d,l,p){const m=this._toFilterTextReplacement(p).removeCommonPrefix(d);if(!this._isValid||!this.inlineCompletion.range.getStartPosition().equals(this._getUpdatedRange(p).getStartPosition())||l.lineNumber!==m.range.startLineNumber)return!1;const v=d.getValueInRange(m.range,1).toLowerCase(),b=m.text.toLowerCase(),w=Math.max(0,l.column-m.range.startColumn);let E=b.substring(0,w),I=b.substring(w),M=v.substring(0,w),P=v.substring(w);const x=d.getLineIndentColumn(m.range.startLineNumber);return m.range.startColumn<=x&&(M=M.trimStart(),M.length===0&&(P=P.trimStart()),E=E.trimStart(),E.length===0&&(I=I.trimStart())),E.startsWith(M)&&!!(0,k.matchesSubString)(P,I)}canBeReused(d,l){return this._isValid&&this._getUpdatedRange(void 0).containsPosition(l)&&this.isVisible(d,l,void 0)&&!this._isSmallerThanOriginal(void 0)}_toFilterTextReplacement(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.filterText)}_isSmallerThanOriginal(d){return c(this._getUpdatedRange(d)).isBefore(c(this.inlineCompletion.range))}_getUpdatedRange(d){return this.rangeVersion.read(d),this._updatedRange}_updateRange(d){const l=d.getDecorationRange(this.decorationId);return l?this._updatedRange.equalsRange(l)?!1:(this._updatedRange=l,!0):(this._isValid=!1,!0)}}e.InlineCompletionWithUpdatedRange=r;function c(o){return o.startLineNumber===o.endLineNumber?new S.Position(1,1+o.endColumn-o.startColumn):new S.Position(1+o.endLineNumber-o.startLineNumber,o.endColumn)}}),define(ne[780],se([1,0,11,245,5,24,110,32,295,243,244]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveLinesCommand=void 0;let s=class{constructor(n,t,a,u){this._languageConfigurationService=u,this._selection=n,this._isMovingDown=t,this._autoIndent=a,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(n,t){const a=n.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===a){this._selectionId=t.trackSelection(this._selection);return}if(!this._isMovingDown&&this._selection.startLineNumber===1){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let u=this._selection;u.startLineNumbern.tokenization.getLineTokens(l),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(l,p)=>n.getLanguageIdAtPosition(l,p)},getLineContent:null};if(u.startLineNumber===u.endLineNumber&&n.getLineMaxColumn(u.startLineNumber)===1){const l=u.startLineNumber,p=this._isMovingDown?l+1:l-1;n.getLineMaxColumn(p)===1?t.addEditOperation(new y.Range(1,1,1,1),null):(t.addEditOperation(new y.Range(l,1,l,1),n.getLineContent(p)),t.addEditOperation(new y.Range(p,1,p,n.getLineMaxColumn(p)),null)),u=new D.Selection(p,1,p,1)}else{let l,p;if(this._isMovingDown){l=u.endLineNumber+1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l-1,n.getLineMaxColumn(l-1),l,n.getLineMaxColumn(l)),null);let m=p;if(this.shouldAutoIndent(n,u)){const v=this.matchEnterRule(n,o,h,l,u.startLineNumber-1);if(v!==null){const w=L.getLeadingWhitespace(n.getLineContent(l)),E=v+_.getSpaceCnt(w,h);m=_.generateIndent(E,h,c)+this.trimStart(p)}else{d.getLineContent=E=>E===u.startLineNumber?n.getLineContent(l):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(l)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);I!==M&&(m=_.generateIndent(I,h,c)+this.trimStart(p))}}t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`);const b=this.matchEnterRuleMovingDown(n,o,h,u.startLineNumber,l,m);if(b!==null)b!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,b);else{d.getLineContent=E=>E===u.startLineNumber?m:E>=u.startLineNumber+1&&E<=u.endLineNumber+1?n.getLineContent(E-1):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber+1,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);if(I!==M){const P=I-M;this.getIndentEditsOfMovingBlock(n,t,u,h,c,P)}}}}else t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`)}else if(l=u.startLineNumber-1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l,1,l+1,1),null),t.addEditOperation(new y.Range(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber),u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),` -`+p),this.shouldAutoIndent(n,u)){d.getLineContent=v=>v===l?n.getLineContent(u.startLineNumber):n.getLineContent(v);const m=this.matchEnterRule(n,o,h,u.startLineNumber,u.startLineNumber-2);if(m!==null)m!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,m);else{const v=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(u.startLineNumber,1),l,o,this._languageConfigurationService);if(v!==null){const b=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),w=_.getSpaceCnt(v,h),E=_.getSpaceCnt(b,h);if(w!==E){const I=w-E;this.getIndentEditsOfMovingBlock(n,t,u,h,c,I)}}}}}this._selectionId=t.trackSelection(u)}buildIndentConverter(n,t,a){return{shiftIndent:u=>k.ShiftCommand.shiftIndent(u,u.length+1,n,t,a),unshiftIndent:u=>k.ShiftCommand.unshiftIndent(u,u.length+1,n,t,a)}}parseEnterResult(n,t,a,u,h){if(h){let r=h.indentation;h.indentAction===S.IndentAction.None||h.indentAction===S.IndentAction.Indent?r=h.indentation+h.appendText:h.indentAction===S.IndentAction.IndentOutdent?r=h.indentation:h.indentAction===S.IndentAction.Outdent&&(r=t.unshiftIndent(h.indentation)+h.appendText);const c=n.getLineContent(u);if(this.trimStart(c).indexOf(this.trimStart(r))>=0){const o=L.getLeadingWhitespace(n.getLineContent(u));let d=L.getLeadingWhitespace(r);const l=(0,g.getIndentMetadata)(n,u,this._languageConfigurationService);l!==null&&l&2&&(d=t.unshiftIndent(d));const p=_.getSpaceCnt(d,a),m=_.getSpaceCnt(o,a);return p-m}}return null}matchEnterRuleMovingDown(n,t,a,u,h,r){if(L.lastNonWhitespaceIndex(r)>=0){const c=n.getLineMaxColumn(h),o=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(h,c,h,c),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,o)}else{let c=u-1;for(;c>=1;){const l=n.getLineContent(c);if(L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}}matchEnterRule(n,t,a,u,h,r){let c=h;for(;c>=1;){let l;if(c===h&&r!==void 0?l=r:l=n.getLineContent(c),L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}trimStart(n){return n.replace(/^\s+/,"")}shouldAutoIndent(n,t){if(this._autoIndent<4||!n.tokenization.isCheapToTokenize(t.startLineNumber))return!1;const a=n.getLanguageIdAtPosition(t.startLineNumber,1),u=n.getLanguageIdAtPosition(t.endLineNumber,1);return!(a!==u||this._languageConfigurationService.getLanguageConfiguration(a).indentRulesSupport===null)}getIndentEditsOfMovingBlock(n,t,a,u,h,r){for(let c=a.startLineNumber;c<=a.endLineNumber;c++){const o=n.getLineContent(c),d=L.getLeadingWhitespace(o),p=_.getSpaceCnt(d,u)+r,m=_.generateIndent(p,u,h);m!==d&&(t.addEditOperation(new y.Range(c,1,c,d.length+1),m),c===a.endLineNumber&&a.endColumn<=d.length+1&&m===""&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(n,t){let a=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(a=a.setEndPosition(a.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&a.startLineNumber{}};const o=new S.DisposableStore,d=o.add((0,L.renderMarkdown)(h,Object.assign(Object.assign({},this._getRenderOptions(h,o)),r),c));return d.element.classList.add("rendered-markdown"),{element:d.element,dispose:()=>o.dispose()}}_getRenderOptions(h,r){return{codeBlockRenderer:(c,o)=>we(this,void 0,void 0,function*(){var d,l,p;let m;c?m=this._languageService.getLanguageIdByLanguageName(c):this._options.editor&&(m=(d=this._options.editor.getModel())===null||d===void 0?void 0:d.getLanguageId()),m||(m=g.PLAINTEXT_LANGUAGE_ID);const v=yield(0,C.tokenizeToString)(this._languageService,o,m),b=document.createElement("span");if(b.innerHTML=(p=(l=i._ttpTokenizer)===null||l===void 0?void 0:l.createHTML(v))!==null&&p!==void 0?p:v,this._options.editor){const w=this._options.editor.getOption(49);(0,f.applyFontInfo)(b,w)}else this._options.codeBlockFontFamily&&(b.style.fontFamily=this._options.codeBlockFontFamily);return this._options.codeBlockFontSize!==void 0&&(b.style.fontSize=this._options.codeBlockFontSize),b}),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:c=>t(this._openerService,c,h.isTrusted),disposables:r}}}};e.MarkdownRenderer=n,n._ttpTokenizer=(0,k.createTrustedTypesPolicy)("tokenizeToString",{createHTML(u){return u}}),e.MarkdownRenderer=n=i=ke([fe(1,_.ILanguageService),fe(2,s.IOpenerService)],n);function t(u,h,r){return we(this,void 0,void 0,function*(){try{return yield u.open(h,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:a(r)})}catch(c){return(0,y.onUnexpectedError)(c),!1}})}e.openLinkFromMarkdown=t;function a(u){return u===!0?!0:u&&Array.isArray(u.enabledCommands)?u.enabledCommands:!1}}),define(ne[781],se([1,0,7,14,55,2,117,321,310]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginHoverWidget=void 0;const g=L.$;class C extends D.Disposable{constructor(n,t,a){super(),this._renderDisposeables=this._register(new D.DisposableStore),this._editor=n,this._isVisible=!1,this._messages=[],this._hover=this._register(new _.HoverWidget),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new S.MarkdownRenderer({editor:this._editor},t,a)),this._computer=new s(this._editor),this._hoverOperation=this._register(new f.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(u=>{this._withResult(u.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return C.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(n){this._computer.lineNumber!==n&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=n,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(n){this._messages=n,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(n,t){this._renderDisposeables.clear();const a=document.createDocumentFragment();for(const u of t){const h=g("div.hover-row.markdown-hover"),r=L.append(h,g("div.hover-contents")),c=this._renderDisposeables.add(this._markdownRenderer.render(u.value));r.appendChild(c.element),a.appendChild(h)}this._updateContents(a),this._showAt(n)}_updateContents(n){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(n),this._updateFont()}_showAt(n){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),a=this._editor.getTopForLineNumber(n),u=this._editor.getScrollTop(),h=this._editor.getOption(65),r=this._hover.containerDomNode.clientHeight,c=a-u-(r-h)/2;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(c),0)}px`}}e.MarginHoverWidget=C,C.ID="editor.contrib.modesGlyphHoverWidget";class s{get lineNumber(){return this._lineNumber}set lineNumber(n){this._lineNumber=n}constructor(n){this._editor=n,this._lineNumber=-1}computeSync(){const n=u=>({value:u}),t=this._editor.getLineDecorations(this._lineNumber),a=[];if(!t)return a;for(const u of t){if(!u.options.glyphMarginClassName)continue;const h=u.options.glyphMarginHoverMessage;!h||(0,y.isEmptyMarkdownString)(h)||a.push(...(0,k.asArray)(h).map(n))}return a}}}),define(ne[344],se([1,0,7,75,25,26,6,55,2,117,223,703,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestDetailsOverlay=e.SuggestDetailsWidget=e.canExpandCompletionItem=void 0;function n(u){return!!u&&!!(u.completion.documentation||u.completion.detail&&u.completion.detail!==u.completion.label)}e.canExpandCompletionItem=n;let t=class{constructor(h,r){this._editor=h,this._onDidClose=new S.Emitter,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new S.Emitter,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new _.DisposableStore,this._renderDisposeable=new _.DisposableStore,this._borderWidth=1,this._size=new L.Dimension(330,0),this.domNode=L.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=r.createInstance(g.MarkdownRenderer,{editor:h}),this._body=L.$(".body"),this._scrollbar=new k.DomScrollableElement(this._body,{alwaysConsumeMouseWheel:!0}),L.append(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=L.append(this._body,L.$(".header")),this._close=L.append(this._header,L.$("span"+D.ThemeIcon.asCSSSelector(y.Codicon.close))),this._close.title=s.localize(0,null),this._type=L.append(this._header,L.$("p.type")),this._docs=L.append(this._body,L.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(49)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const h=this._editor.getOptions(),r=h.get(49),c=r.getMassagedFontFamily(),o=h.get(117)||r.fontSize,d=h.get(118)||r.lineHeight,l=r.fontWeight,p=`${o}px`,m=`${d}px`;this.domNode.style.fontSize=p,this.domNode.style.lineHeight=`${d/o}`,this.domNode.style.fontWeight=l,this.domNode.style.fontFeatureSettings=r.fontFeatureSettings,this._type.style.fontFamily=c,this._close.style.height=m,this._close.style.width=m}getLayoutInfo(){const h=this._editor.getOption(118)||this._editor.getOption(49).lineHeight,r=this._borderWidth,c=r*2;return{lineHeight:h,borderWidth:r,borderHeight:c,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=s.localize(1,null),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,this.getLayoutInfo().lineHeight*2),this._onDidChangeContents.fire(this)}renderItem(h,r){var c,o;this._renderDisposeable.clear();let{detail:d,documentation:l}=h.completion;if(r){let p="";p+=`score: ${h.score[0]} -`,p+=`prefix: ${(c=h.word)!==null&&c!==void 0?c:"(no prefix)"} -`,p+=`word: ${h.completion.filterText?h.completion.filterText+" (filterText)":h.textLabel} -`,p+=`distance: ${h.distance} (localityBonus-setting) -`,p+=`index: ${h.idx}, based on ${h.completion.sortText&&`sortText: "${h.completion.sortText}"`||"label"} -`,p+=`commit_chars: ${(o=h.completion.commitCharacters)===null||o===void 0?void 0:o.join("")} -`,l=new f.MarkdownString().appendCodeblock("empty",p),d=`Provider: ${h.provider._debugDisplayName}`}if(!r&&!n(h)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),d){const p=d.length>1e5?`${d.substr(0,1e5)}\u2026`:d;this._type.textContent=p,this._type.title=p,L.show(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(p))}else L.clearNode(this._type),this._type.title="",L.hide(this._type),this.domNode.classList.add("no-type");if(L.clearNode(this._docs),typeof l=="string")this._docs.classList.remove("markdown-docs"),this._docs.textContent=l;else if(l){this._docs.classList.add("markdown-docs"),L.clearNode(this._docs);const p=this._markdownRenderer.render(l);this._docs.appendChild(p.element),this._renderDisposeable.add(p),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=p=>{p.preventDefault(),p.stopPropagation()},this._close.onclick=p=>{p.preventDefault(),p.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(h,r){const c=new L.Dimension(h,r);L.Dimension.equals(c,this._size)||(this._size=c,L.size(this.domNode,h,r)),this._scrollbar.scanDomNode()}scrollDown(h=8){this._body.scrollTop+=h}scrollUp(h=8){this._body.scrollTop-=h}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(h){this._borderWidth=h}get borderWidth(){return this._borderWidth}};e.SuggestDetailsWidget=t,e.SuggestDetailsWidget=t=ke([fe(1,i.IInstantiationService)],t);class a{constructor(h,r){this.widget=h,this._editor=r,this._disposables=new _.DisposableStore,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new C.ResizableHTMLElement,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(h.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let c,o,d=0,l=0;this._disposables.add(this._resizable.onDidWillResize(()=>{c=this._topLeft,o=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(p=>{if(c&&o){this.widget.layout(p.dimension.width,p.dimension.height);let m=!1;p.west&&(l=o.width-p.dimension.width,m=!0),p.north&&(d=o.height-p.dimension.height,m=!0),m&&this._applyTopLeft({top:c.top+d,left:c.left+l})}p.done&&(c=void 0,o=void 0,d=0,l=0,this._userSize=p.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var p;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(p=this._userSize)!==null&&p!==void 0?p:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(h=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),h&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(h,r){var c;const o=h.getBoundingClientRect();this._anchorBox=o,this._preferAlignAtTop=r,this._placeAtAnchor(this._anchorBox,(c=this._userSize)!==null&&c!==void 0?c:this.widget.size,r)}_placeAtAnchor(h,r,c){var o;const d=L.getClientArea(document.body),l=this.widget.getLayoutInfo(),p=new L.Dimension(220,2*l.lineHeight),m=h.top,v=function(){const N=d.width-(h.left+h.width+l.borderWidth+l.horizontalPadding),F=-l.borderWidth+h.left+h.width,O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),b=function(){const N=h.left-l.borderWidth-l.horizontalPadding,F=Math.max(l.horizontalPadding,h.left-r.width-l.borderWidth),O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),w=function(){const N=h.left,F=-l.borderWidth+h.top+h.height,O=new L.Dimension(h.width-l.borderHeight,d.height-h.top-h.height-l.verticalPadding);return{top:F,left:N,fit:O.height-r.height,maxSizeBottom:O,maxSizeTop:O,minSize:p.with(O.width)}}(),E=[v,b,w],I=(o=E.find(N=>N.fit>=0))!==null&&o!==void 0?o:E.sort((N,F)=>F.fit-N.fit)[0],M=h.top+h.height-l.borderHeight;let P,x=r.height;const T=Math.max(I.maxSizeTop.height,I.maxSizeBottom.height);x>T&&(x=T);let A;c?x<=I.maxSizeTop.height?(P=!0,A=I.maxSizeTop):(P=!1,A=I.maxSizeBottom):x<=I.maxSizeBottom.height?(P=!1,A=I.maxSizeBottom):(P=!0,A=I.maxSizeTop),this._applyTopLeft({left:I.left,top:P?I.top:M-x}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!P,I===v,P,I!==v),this._resizable.minSize=I.minSize,this._resizable.maxSize=A,this._resizable.layout(x,Math.min(A.width,r.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(h){this._topLeft=h,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}e.SuggestDetailsOverlay=a}),define(ne[345],se([1,0,14,65,47,20,22,28,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationChangeEvent=e.Configuration=e.ConfigurationModelParser=e.ConfigurationModel=void 0;function C(u){return Object.isFrozen(u)?u:y.deepFreeze(u)}class s{constructor(h={},r=[],c=[],o){this._contents=h,this._keys=r,this._overrides=c,this.raw=o,this.overrideConfigurations=new Map}get rawConfiguration(){var h;if(!this._rawConfiguration)if(!((h=this.raw)===null||h===void 0)&&h.length){const r=this.raw.map(c=>{if(c instanceof s)return c;const o=new i("");return o.parseRaw(c),o.configurationModel});this._rawConfiguration=r.reduce((c,o)=>o===c?o:c.merge(o),r[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(h){return h?(0,f.getConfigurationValue)(this.contents,h):this.contents}inspect(h,r){const c=this.rawConfiguration.getValue(h),o=r?this.rawConfiguration.getOverrideValue(h,r):void 0,d=r?this.rawConfiguration.override(r).getValue(h):c;return{value:c,override:o,merged:d}}getOverrideValue(h,r){const c=this.getContentsForOverrideIdentifer(r);return c?h?(0,f.getConfigurationValue)(c,h):c:void 0}override(h){let r=this.overrideConfigurations.get(h);return r||(r=this.createOverrideConfigurationModel(h),this.overrideConfigurations.set(h,r)),r}merge(...h){var r,c;const o=y.deepClone(this.contents),d=y.deepClone(this.overrides),l=[...this.keys],p=!((r=this.raw)===null||r===void 0)&&r.length?[...this.raw]:[this];for(const m of h)if(p.push(...!((c=m.raw)===null||c===void 0)&&c.length?m.raw:[m]),!m.isEmpty()){this.mergeContents(o,m.contents);for(const v of m.overrides){const[b]=d.filter(w=>L.equals(w.identifiers,v.identifiers));b?(this.mergeContents(b.contents,v.contents),b.keys.push(...v.keys),b.keys=L.distinct(b.keys)):d.push(y.deepClone(v))}for(const v of m.keys)l.indexOf(v)===-1&&l.push(v)}return new s(o,l,d,p.every(m=>m instanceof s)?void 0:p)}createOverrideConfigurationModel(h){const r=this.getContentsForOverrideIdentifer(h);if(!r||typeof r!="object"||!Object.keys(r).length)return this;const c={};for(const o of L.distinct([...Object.keys(this.contents),...Object.keys(r)])){let d=this.contents[o];const l=r[o];l&&(typeof d=="object"&&typeof l=="object"?(d=y.deepClone(d),this.mergeContents(d,l)):d=l),c[o]=d}return new s(c,this.keys,this.overrides)}mergeContents(h,r){for(const c of Object.keys(r)){if(c in h&&D.isObject(h[c])&&D.isObject(r[c])){this.mergeContents(h[c],r[c]);continue}h[c]=y.deepClone(r[c])}}getContentsForOverrideIdentifer(h){let r=null,c=null;const o=d=>{d&&(c?this.mergeContents(c,d):c=y.deepClone(d))};for(const d of this.overrides)d.identifiers.length===1&&d.identifiers[0]===h?r=d.contents:d.identifiers.includes(h)&&o(d.contents);return o(r),c}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(h,r){this.updateValue(h,r,!0)}setValue(h,r){this.updateValue(h,r,!1)}removeValue(h){const r=this.keys.indexOf(h);r!==-1&&(this.keys.splice(r,1),(0,f.removeFromValueTree)(this.contents,h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.splice(this.overrides.findIndex(c=>L.equals(c.identifiers,(0,_.overrideIdentifiersFromKey)(h))),1))}updateValue(h,r,c){(0,f.addToValueTree)(this.contents,h,r,o=>console.error(o)),c=c||this.keys.indexOf(h)===-1,c&&this.keys.push(h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.push({identifiers:(0,_.overrideIdentifiersFromKey)(h),keys:Object.keys(this.contents[h]),contents:(0,f.toValuesTree)(this.contents[h],o=>console.error(o))})}}e.ConfigurationModel=s;class i{constructor(h){this._name=h,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||new s}parseRaw(h,r){this._raw=h;const{contents:c,keys:o,overrides:d,restricted:l,hasExcludedProperties:p}=this.doParseRaw(h,r);this._configurationModel=new s(c,o,d,p?[h]:void 0),this._restrictedConfigurations=l||[]}doParseRaw(h,r){const c=g.Registry.as(_.Extensions.Configuration).getConfigurationProperties(),o=this.filter(h,c,!0,r);h=o.raw;const d=(0,f.toValuesTree)(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`)),l=Object.keys(h),p=this.toOverrides(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`));return{contents:d,keys:l,overrides:p,restricted:o.restricted,hasExcludedProperties:o.hasExcludedProperties}}filter(h,r,c,o){var d,l,p;let m=!1;if(!o?.scopes&&!o?.skipRestricted&&!(!((d=o?.exclude)===null||d===void 0)&&d.length))return{raw:h,restricted:[],hasExcludedProperties:m};const v={},b=[];for(const w in h)if(_.OVERRIDE_PROPERTY_REGEX.test(w)&&c){const E=this.filter(h[w],r,!1,o);v[w]=E.raw,m=m||E.hasExcludedProperties,b.push(...E.restricted)}else{const E=r[w],I=E?typeof E.scope<"u"?E.scope:3:void 0;E?.restricted&&b.push(w),!(!((l=o.exclude)===null||l===void 0)&&l.includes(w))&&(!((p=o.include)===null||p===void 0)&&p.includes(w)||(I===void 0||o.scopes===void 0||o.scopes.includes(I))&&!(o.skipRestricted&&E?.restricted))?v[w]=h[w]:m=!0}return{raw:v,restricted:b,hasExcludedProperties:m}}toOverrides(h,r){const c=[];for(const o of Object.keys(h))if(_.OVERRIDE_PROPERTY_REGEX.test(o)){const d={};for(const l in h[o])d[l]=h[o][l];c.push({identifiers:(0,_.overrideIdentifiersFromKey)(o),keys:Object.keys(d),contents:(0,f.toValuesTree)(d,r)})}return c}}e.ConfigurationModelParser=i;class n{constructor(h,r,c,o,d,l,p,m,v,b,w,E,I){this.key=h,this.overrides=r,this._value=c,this.overrideIdentifiers=o,this.defaultConfiguration=d,this.policyConfiguration=l,this.applicationConfiguration=p,this.userConfiguration=m,this.localUserConfiguration=v,this.remoteUserConfiguration=b,this.workspaceConfiguration=w,this.folderConfigurationModel=E,this.memoryConfigurationModel=I}inspect(h,r,c){const o=h.inspect(r,c);return{get value(){return C(o.value)},get override(){return C(o.override)},get merged(){return C(o.merged)}}}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.inspect(this.userConfiguration,this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.userInspectValue.value!==void 0||this.userInspectValue.override!==void 0?{value:this.userInspectValue.value,override:this.userInspectValue.override}:void 0}}class t{constructor(h,r,c,o,d=new s,l=new s,p=new k.ResourceMap,m=new s,v=new k.ResourceMap){this._defaultConfiguration=h,this._policyConfiguration=r,this._applicationConfiguration=c,this._localUserConfiguration=o,this._remoteUserConfiguration=d,this._workspaceConfiguration=l,this._folderConfigurations=p,this._memoryConfiguration=m,this._memoryConfigurationByResource=v,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new k.ResourceMap,this._userConfiguration=null}getValue(h,r,c){return this.getConsolidatedConfigurationModel(h,r,c).getValue(h)}updateValue(h,r,c={}){let o;c.resource?(o=this._memoryConfigurationByResource.get(c.resource),o||(o=new s,this._memoryConfigurationByResource.set(c.resource,o))):o=this._memoryConfiguration,r===void 0?o.removeValue(h):o.setValue(h,r),c.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(h,r,c){const o=this.getConsolidatedConfigurationModel(h,r,c),d=this.getFolderConfigurationModelForResource(r.resource,c),l=r.resource?this._memoryConfigurationByResource.get(r.resource)||this._memoryConfiguration:this._memoryConfiguration,p=new Set;for(const m of o.overrides)for(const v of m.identifiers)o.getOverrideValue(h,v)!==void 0&&p.add(v);return new n(h,r,o.getValue(h),p.size?[...p]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,c?this._workspaceConfiguration:void 0,d||void 0,l)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(h,r,c){let o=this.getConsolidatedConfigurationModelForResource(r,c);return r.overrideIdentifier&&(o=o.override(r.overrideIdentifier)),!this._policyConfiguration.isEmpty()&&this._policyConfiguration.getValue(h)!==void 0&&(o=o.merge(this._policyConfiguration)),o}getConsolidatedConfigurationModelForResource({resource:h},r){let c=this.getWorkspaceConsolidatedConfiguration();if(r&&h){const o=r.getFolder(h);o&&(c=this.getFolderConsolidatedConfiguration(o.uri)||c);const d=this._memoryConfigurationByResource.get(h);d&&(c=c.merge(d))}return c}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(h){let r=this._foldersConsolidatedConfigurations.get(h);if(!r){const c=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(h);o?(r=c.merge(o),this._foldersConsolidatedConfigurations.set(h,r)):r=c}return r}getFolderConfigurationModelForResource(h,r){if(r&&h){const c=r.getFolder(h);if(c)return this._folderConfigurations.get(c.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((h,r)=>{const{contents:c,overrides:o,keys:d}=this._folderConfigurations.get(r);return h.push([r,{contents:c,overrides:o,keys:d}]),h},[])}}static parse(h){const r=this.parseConfigurationModel(h.defaults),c=this.parseConfigurationModel(h.policy),o=this.parseConfigurationModel(h.application),d=this.parseConfigurationModel(h.user),l=this.parseConfigurationModel(h.workspace),p=h.folders.reduce((m,v)=>(m.set(S.URI.revive(v[0]),this.parseConfigurationModel(v[1])),m),new k.ResourceMap);return new t(r,c,o,d,new s,l,p,new s,new k.ResourceMap)}static parseConfigurationModel(h){return new s(h.contents,h.keys,h.overrides)}}e.Configuration=t;class a{constructor(h,r,c,o){this.change=h,this.previous=r,this.currentConfiguraiton=c,this.currentWorkspace=o,this._marker=` -`,this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=".".charCodeAt(0),this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const d of h.keys)this.affectedKeys.add(d);for(const[,d]of h.overrides)for(const l of d)this.affectedKeys.add(l);this._affectsConfigStr=this._marker;for(const d of this.affectedKeys)this._affectsConfigStr+=d+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=t.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(h,r){var c;const o=this._marker+h,d=this._affectsConfigStr.indexOf(o);if(d<0)return!1;const l=d+o.length;if(l>=this._affectsConfigStr.length)return!1;const p=this._affectsConfigStr.charCodeAt(l);if(p!==this._markerCode1&&p!==this._markerCode2)return!1;if(r){const m=this.previousConfiguration?this.previousConfiguration.getValue(h,r,(c=this.previous)===null||c===void 0?void 0:c.workspace):void 0,v=this.currentConfiguraiton.getValue(h,r,this.currentWorkspace);return!y.equals(m,v)}return!0}}e.ConfigurationChangeEvent=a}),define(ne[782],se([1,0,2,345,98,37]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultConfiguration=void 0;class S extends L.Disposable{constructor(){super(...arguments),this._configurationModel=new k.ConfigurationModel}get configurationModel(){return this._configurationModel}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=new k.ConfigurationModel;const _=D.Registry.as(y.Extensions.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(_),_)}updateConfigurationModel(_,g){const C=this.getConfigurationDefaultOverrides();for(const s of _){const i=C[s],n=g[s];i!==void 0?this._configurationModel.addValue(s,i):n?this._configurationModel.addValue(s,n.default):this._configurationModel.removeValue(s)}}}e.DefaultConfiguration=S}),define(ne[118],se([1,0,119,17,27,37,2,64]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=e.KeybindingsRegistry=void 0;class _{constructor(){this._coreKeybindings=new f.LinkedList,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(s){if(k.OS===1){if(s&&s.win)return s.win}else if(k.OS===2){if(s&&s.mac)return s.mac}else if(s&&s.linux)return s.linux;return s}registerKeybindingRule(s){const i=_.bindToCurrentPlatform(s),n=new S.DisposableStore;if(i&&i.primary){const t=(0,L.decodeKeybinding)(i.primary,k.OS);t&&n.add(this._registerDefaultKeybinding(t,s.id,s.args,s.weight,0,s.when))}if(i&&Array.isArray(i.secondary))for(let t=0,a=i.secondary.length;t{h(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(g)),this._cachedMergedKeybindings.slice(0)}}e.KeybindingsRegistry=new _,e.Extensions={EditorModes:"platform.keybindingsRegistry"},D.Registry.add(e.Extensions.EditorModes,e.KeybindingsRegistry);function g(C,s){if(C.weight1!==s.weight1)return C.weight1-s.weight1;if(C.command&&s.command){if(C.commands.command)return 1}return C.weight2-s.weight2}});var vi=this&&this.__rest||function(Q,e){var L={};for(var k in Q)Object.prototype.hasOwnProperty.call(Q,k)&&e.indexOf(k)<0&&(L[k]=Q[k]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,k=Object.getOwnPropertySymbols(Q);yl===d}}a._all=new Map,e.MenuRegistry=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new y.MicrotaskEmitter({merge:a.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(o){return this._commands.set(o.id,o),this._onDidChangeMenu.fire(a.for(t.CommandPalette)),(0,D.toDisposable)(()=>{this._commands.delete(o.id)&&this._onDidChangeMenu.fire(a.for(t.CommandPalette))})}getCommand(o){return this._commands.get(o)}getCommands(){const o=new Map;return this._commands.forEach((d,l)=>o.set(l,d)),o}appendMenuItem(o,d){let l=this._menuItems.get(o);l||(l=new S.LinkedList,this._menuItems.set(o,l));const p=l.push(d);return this._onDidChangeMenu.fire(a.for(o)),(0,D.toDisposable)(()=>{p(),this._onDidChangeMenu.fire(a.for(o))})}appendMenuItems(o){const d=new D.DisposableStore;for(const{id:l,item:p}of o)d.add(this.appendMenuItem(l,p));return d}getMenuItems(o){let d;return this._menuItems.has(o)?d=[...this._menuItems.get(o)]:d=[],o===t.CommandPalette&&this._appendImplicitItems(d),d}_appendImplicitItems(o){const d=new Set;for(const l of o)i(l)&&(d.add(l.command.id),l.alt&&d.add(l.alt.id));this._commands.forEach((l,p)=>{d.has(p)||o.push({command:l})})}};class u extends L.SubmenuAction{constructor(d,l,p){super(`submenuitem.${d.submenu.id}`,typeof d.title=="string"?d.title:d.title.value,p,"submenu"),this.item=d,this.hideActions=l}}e.SubmenuItemAction=u;let h=s=class{static label(d,l){return l?.renderShortTitle&&d.shortTitle?typeof d.shortTitle=="string"?d.shortTitle:d.shortTitle.value:typeof d.title=="string"?d.title:d.title.value}constructor(d,l,p,m,v,b){var w,E;this.hideActions=m,this._commandService=b,this.id=d.id,this.label=s.label(d,p),this.tooltip=(E=typeof d.tooltip=="string"?d.tooltip:(w=d.tooltip)===null||w===void 0?void 0:w.value)!==null&&E!==void 0?E:"",this.enabled=!d.precondition||v.contextMatchesRules(d.precondition),this.checked=void 0;let I;if(d.toggled){const M=d.toggled.condition?d.toggled:{condition:d.toggled};this.checked=v.contextMatchesRules(M.condition),this.checked&&M.tooltip&&(this.tooltip=typeof M.tooltip=="string"?M.tooltip:M.tooltip.value),this.checked&&k.ThemeIcon.isThemeIcon(M.icon)&&(I=M.icon),this.checked&&M.title&&(this.label=typeof M.title=="string"?M.title:M.title.value)}I||(I=k.ThemeIcon.isThemeIcon(d.icon)?d.icon:void 0),this.item=d,this.alt=l?new s(l,void 0,p,m,v,b):void 0,this._options=p,this.class=I&&k.ThemeIcon.asClassName(I)}run(...d){var l,p;let m=[];return!((l=this._options)===null||l===void 0)&&l.arg&&(m=[...m,this._options.arg]),!((p=this._options)===null||p===void 0)&&p.shouldForwardArgs&&(m=[...m,...d]),this._commandService.executeCommand(this.id,...m)}};e.MenuItemAction=h,e.MenuItemAction=h=s=ke([fe(4,_.IContextKeyService),fe(5,f.ICommandService)],h);class r{constructor(d){this.desc=d}}e.Action2=r;function c(o){const d=new D.DisposableStore,l=new o,p=l.desc,{f1:m,menu:v,keybinding:b,description:w}=p,E=vi(p,["f1","menu","keybinding","description"]);if(d.add(f.CommandsRegistry.registerCommand({id:E.id,handler:(I,...M)=>l.run(I,...M),description:w})),Array.isArray(v))for(const I of v)d.add(e.MenuRegistry.appendMenuItem(I.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:I.precondition===null?void 0:E.precondition})},I)));else v&&d.add(e.MenuRegistry.appendMenuItem(v.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:v.precondition===null?void 0:E.precondition})},v)));if(m&&(d.add(e.MenuRegistry.appendMenuItem(t.CommandPalette,{command:E,when:E.precondition})),d.add(e.MenuRegistry.addCommand(E))),Array.isArray(b))for(const I of b)d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},I),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,I.when):I.when})));else b&&d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},b),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,b.when):b.when})));return d}e.registerAction2=c}),define(ne[783],se([1,0,33,21,605,30,27,15]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFocusedDiffEditor=e.AccessibleDiffViewerPrev=e.AccessibleDiffViewerNext=void 0;const _={value:(0,y.localize)(0,null),original:"Accessible Diff Viewer"};class g extends D.Action2{constructor(){super({id:g.id,title:{value:(0,y.localize)(1,null),original:"Go to Next Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerNext()}}e.AccessibleDiffViewerNext=g,g.id="editor.action.accessibleDiffViewer.next",D.MenuRegistry.appendMenuItem(D.MenuId.EditorTitle,{command:{id:g.id,title:(0,y.localize)(2,null)},order:10,group:"2_diff",when:f.ContextKeyExpr.and(k.EditorContextKeys.accessibleDiffViewerVisible.negate(),f.ContextKeyExpr.has("isInDiffEditor"))});class C extends D.Action2{constructor(){super({id:C.id,title:{value:(0,y.localize)(3,null),original:"Go to Previous Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerPrev()}}e.AccessibleDiffViewerPrev=C,C.id="editor.action.accessibleDiffViewer.prev";function s(n){var t;const a=n.get(L.ICodeEditorService),u=a.listDiffEditors(),h=(t=a.getFocusedCodeEditor())!==null&&t!==void 0?t:a.getActiveCodeEditor();if(!h)return null;for(let r=0,c=u.length;r{this._instantiateSome(1)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(2)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(3)},5e3))}saveViewState(){const f={};for(const[_,g]of this._instances)typeof g.saveViewState=="function"&&(f[_]=g.saveViewState());return f}restoreViewState(f){for(const[_,g]of this._instances)typeof g.restoreViewState=="function"&&g.restoreViewState(f[_])}get(f){return this._instantiateById(f),this._instances.get(f)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(1)},50))}_instantiateSome(f){if(this._finishedInstantiation[f])return;this._finishedInstantiation[f]=!0;const _=this._findPendingContributionsByInstantiation(f);for(const g of _)this._instantiateById(g.id)}_findPendingContributionsByInstantiation(f){const _=[];for(const[,g]of this._pending)g.instantiation===f&&_.push(g);return _}_instantiateById(f){const _=this._pending.get(f);if(_){if(this._pending.delete(f),!this._instantiationService||!this._editor)throw new Error("Cannot instantiate contributions before being initialized!");try{const g=this._instantiationService.createInstance(_.ctor,this._editor);this._instances.set(_.id,g),typeof g.restoreViewState=="function"&&_.instantiation!==0&&console.warn(`Editor contribution '${_.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(g){(0,k.onUnexpectedError)(g)}}}}e.CodeEditorContributions=D}),define(ne[785],se([1,0,49,201,707,30,15]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleTabFocusModeAction=void 0;class f extends D.Action2{constructor(){super({id:f.ID,title:{value:y.localize(0,null),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(g){const C=g.get(S.IContextKeyService).getContextKeyValue("focusedView")==="terminal"?"terminalFocus":"editorFocus",i=!k.TabFocus.getTabFocusMode(C);k.TabFocus.setTabFocusMode(i,C),i?(0,L.alert)(y.localize(1,null)):(0,L.alert)(y.localize(2,null))}}e.ToggleTabFocusModeAction=f,f.ID="editor.action.toggleTabFocusMode",(0,D.registerAction2)(f)}),define(ne[346],se([1,0,228,582,15,118,726,2]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextScopedReplaceInput=e.ContextScopedFindInput=e.registerAndCreateHistoryNavigationContext=e.historyNavigationVisible=void 0,e.historyNavigationVisible=new y.RawContextKey("suggestWidgetVisible",!1,(0,S.localize)(0,null));const _="historyNavigationWidgetFocus",g="historyNavigationForwardsEnabled",C="historyNavigationBackwardsEnabled";let s;const i=[];function n(u,h){if(i.includes(h))throw new Error("Cannot register the same widget multiple times");i.push(h);const r=new f.DisposableStore,c=new y.RawContextKey(_,!1).bindTo(u),o=new y.RawContextKey(g,!0).bindTo(u),d=new y.RawContextKey(C,!0).bindTo(u),l=()=>{c.set(!0),s=h},p=()=>{c.set(!1),s===h&&(s=void 0)};return h.element===document.activeElement&&l(),r.add(h.onDidFocus(()=>l())),r.add(h.onDidBlur(()=>p())),r.add((0,f.toDisposable)(()=>{i.splice(i.indexOf(h),1),p()})),{historyNavigationForwardsEnablement:o,historyNavigationBackwardsEnablement:d,dispose(){r.dispose()}}}e.registerAndCreateHistoryNavigationContext=n;let t=class extends L.FindInput{constructor(h,r,c,o){super(h,r,c);const d=this._register(o.createScoped(this.inputBox.element));this._register(n(d,this.inputBox))}};e.ContextScopedFindInput=t,e.ContextScopedFindInput=t=ke([fe(3,y.IContextKeyService)],t);let a=class extends k.ReplaceInput{constructor(h,r,c,o,d=!1){super(h,r,d,c);const l=this._register(o.createScoped(this.inputBox.element));this._register(n(l,this.inputBox))}};e.ContextScopedReplaceInput=a,e.ContextScopedReplaceInput=a=ke([fe(3,y.IContextKeyService)],a),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(C,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:16,secondary:[528],handler:u=>{s?.showPreviousValue()}}),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(g,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:18,secondary:[530],handler:u=>{s?.showNextValue()}})}),define(ne[135],se([1,0,19,9,72,2,58,20,22,12,5,69,128,700,30,27,15,18,346]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickSuggestionsOptions=e.showSimpleSuggestions=e.getSuggestionComparator=e.provideSuggestionItems=e.CompletionItemModel=e.getSnippetSuggestSupport=e.CompletionOptions=e.CompletionItem=e.suggestWidgetStatusbarMenu=e.Context=void 0,e.Context={Visible:r.historyNavigationVisible,HasFocusedSuggestion:new u.RawContextKey("suggestWidgetHasFocusedSuggestion",!1,(0,n.localize)(0,null)),DetailsVisible:new u.RawContextKey("suggestWidgetDetailsVisible",!1,(0,n.localize)(1,null)),MultipleSuggestions:new u.RawContextKey("suggestWidgetMultipleSuggestions",!1,(0,n.localize)(2,null)),MakesTextEdit:new u.RawContextKey("suggestionMakesTextEdit",!0,(0,n.localize)(3,null)),AcceptSuggestionsOnEnter:new u.RawContextKey("acceptSuggestionOnEnter",!0,(0,n.localize)(4,null)),HasInsertAndReplaceRange:new u.RawContextKey("suggestionHasInsertAndReplaceRange",!1,(0,n.localize)(5,null)),InsertMode:new u.RawContextKey("suggestionInsertMode",void 0,{type:"string",description:(0,n.localize)(6,null)}),CanResolve:new u.RawContextKey("suggestionCanResolve",!1,(0,n.localize)(7,null))},e.suggestWidgetStatusbarMenu=new t.MenuId("suggestWidgetStatusBar");class c{constructor(T,A,N,F){var O;this.position=T,this.completion=A,this.container=N,this.provider=F,this.isInvalid=!1,this.score=y.FuzzyScore.Default,this.distance=0,this.textLabel=typeof A.label=="string"?A.label:(O=A.label)===null||O===void 0?void 0:O.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=A.sortText&&A.sortText.toLowerCase(),this.filterTextLow=A.filterText&&A.filterText.toLowerCase(),this.extensionId=A.extensionId,C.Range.isIRange(A.range)?(this.editStart=new g.Position(A.range.startLineNumber,A.range.startColumn),this.editInsertEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.editReplaceEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range)||A.range.startLineNumber!==T.lineNumber):(this.editStart=new g.Position(A.range.insert.startLineNumber,A.range.insert.startColumn),this.editInsertEnd=new g.Position(A.range.insert.endLineNumber,A.range.insert.endColumn),this.editReplaceEnd=new g.Position(A.range.replace.endLineNumber,A.range.replace.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range.insert)||C.Range.spansMultipleLines(A.range.replace)||A.range.insert.startLineNumber!==T.lineNumber||A.range.replace.startLineNumber!==T.lineNumber||A.range.insert.startColumn!==A.range.replace.startColumn),typeof F.resolveCompletionItem!="function"&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return this._resolveDuration!==void 0}get resolveDuration(){return this._resolveDuration!==void 0?this._resolveDuration:-1}resolve(T){return we(this,void 0,void 0,function*(){if(!this._resolveCache){const A=T.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),N=new S.StopWatch(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,T)).then(F=>{Object.assign(this.completion,F),this._resolveDuration=N.elapsed(),A.dispose()},F=>{(0,k.isCancellationError)(F)&&(this._resolveCache=void 0,this._resolveDuration=void 0)})}return this._resolveCache})}}e.CompletionItem=c;class o{constructor(T=2,A=new Set,N=new Set,F=new Map,O=!0){this.snippetSortOrder=T,this.kindFilter=A,this.providerFilter=N,this.providerItemsToReuse=F,this.showDeprecated=O}}e.CompletionOptions=o,o.default=new o;let d;function l(){return d}e.getSnippetSuggestSupport=l;class p{constructor(T,A,N,F){this.items=T,this.needsClipboard=A,this.durations=N,this.disposable=F}}e.CompletionItemModel=p;function m(x,T,A,N=o.default,F={triggerKind:0},O=L.CancellationToken.None){return we(this,void 0,void 0,function*(){const W=new S.StopWatch;A=A.clone();const U=T.getWordAtPosition(A),j=U?new C.Range(A.lineNumber,U.startColumn,A.lineNumber,U.endColumn):C.Range.fromPositions(A),R={replace:j,insert:j.setEndPosition(A.lineNumber,A.column)},K=[],G=new D.DisposableStore,Z=[];let J=!1;const X=(B,V,Y)=>{var ie,ae,ce;let de=!1;if(!V)return de;for(const he of V.suggestions)if(!N.kindFilter.has(he.kind)){if(!N.showDeprecated&&(!((ie=he?.tags)===null||ie===void 0)&&ie.includes(1)))continue;he.range||(he.range=R),he.sortText||(he.sortText=typeof he.label=="string"?he.label:he.label.label),!J&&he.insertTextRules&&he.insertTextRules&4&&(J=i.SnippetParser.guessNeedsClipboard(he.insertText)),K.push(new c(A,he,V,B)),de=!0}return(0,D.isDisposable)(V)&&G.add(V),Z.push({providerName:(ae=B._debugDisplayName)!==null&&ae!==void 0?ae:"unknown_provider",elapsedProvider:(ce=V.duration)!==null&&ce!==void 0?ce:-1,elapsedOverall:Y.elapsed()}),de},H=(()=>we(this,void 0,void 0,function*(){if(!d||N.kindFilter.has(27))return;const B=N.providerItemsToReuse.get(d);if(B){B.forEach(ie=>K.push(ie));return}if(N.providerFilter.size>0&&!N.providerFilter.has(d))return;const V=new S.StopWatch,Y=yield d.provideCompletionItems(T,A,F,O);X(d,Y,V)}))();for(const B of x.orderedGroups(T)){let V=!1;if(yield Promise.all(B.map(Y=>we(this,void 0,void 0,function*(){if(N.providerItemsToReuse.has(Y)){const ie=N.providerItemsToReuse.get(Y);ie.forEach(ae=>K.push(ae)),V=V||ie.length>0;return}if(!(N.providerFilter.size>0&&!N.providerFilter.has(Y)))try{const ie=new S.StopWatch,ae=yield Y.provideCompletionItems(T,A,F,O);V=X(Y,ae,ie)||V}catch(ie){(0,k.onUnexpectedExternalError)(ie)}}))),V||O.isCancellationRequested)break}return yield H,O.isCancellationRequested?(G.dispose(),Promise.reject(new k.CancellationError)):new p(K.sort(I(N.snippetSortOrder)),J,{entries:Z,elapsed:W.elapsed()},G)})}e.provideSuggestionItems=m;function v(x,T){if(x.sortTextLow&&T.sortTextLow){if(x.sortTextLowT.sortTextLow)return 1}return x.textLabelT.textLabel?1:x.completion.kind-T.completion.kind}function b(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return-1;if(T.completion.kind===27)return 1}return v(x,T)}function w(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return 1;if(T.completion.kind===27)return-1}return v(x,T)}const E=new Map;E.set(0,b),E.set(2,w),E.set(1,v);function I(x){return E.get(x)}e.getSuggestionComparator=I,a.CommandsRegistry.registerCommand("_executeCompletionItemProvider",(x,...T)=>we(void 0,void 0,void 0,function*(){const[A,N,F,O]=T;(0,f.assertType)(_.URI.isUri(A)),(0,f.assertType)(g.Position.isIPosition(N)),(0,f.assertType)(typeof F=="string"||!F),(0,f.assertType)(typeof O=="number"||!O);const{completionProvider:W}=x.get(h.ILanguageFeaturesService),U=yield x.get(s.ITextModelService).createModelReference(A);try{const j={incomplete:!1,suggestions:[]},R=[],K=U.object.textEditorModel.validatePosition(N),G=yield m(W,U.object.textEditorModel,K,void 0,{triggerCharacter:F??void 0,triggerKind:F?1:0});for(const Z of G.items)R.length<(O??0)&&R.push(Z.resolve(L.CancellationToken.None)),j.incomplete=j.incomplete||Z.container.incomplete,j.suggestions.push(Z.completion);try{return yield Promise.all(R),j}finally{setTimeout(()=>G.disposable.dispose(),100)}}finally{U.dispose()}}));function M(x,T){var A;(A=x.getContribution("editor.contrib.suggestController"))===null||A===void 0||A.triggerSuggest(new Set().add(T),void 0,!0)}e.showSimpleSuggestions=M;class P{static isAllOff(T){return T.other==="off"&&T.comments==="off"&&T.strings==="off"}static isAllOn(T){return T.other==="on"&&T.comments==="on"&&T.strings==="on"}static valueFor(T,A){switch(A){case 1:return T.comments;case 2:return T.strings;default:return T.other}}}e.QuickSuggestionsOptions=P}),define(ne[136],se([1,0,14,2,37]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessRegistry=e.Extensions=e.DefaultQuickAccessFilterValue=void 0;var D;(function(f){f[f.PRESERVE=0]="PRESERVE",f[f.LAST=1]="LAST"})(D||(e.DefaultQuickAccessFilterValue=D={})),e.Extensions={Quickaccess:"workbench.contributions.quickaccess"};class S{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(_){return _.prefix.length===0?this.defaultProvider=_:this.providers.push(_),this.providers.sort((g,C)=>C.prefix.length-g.prefix.length),(0,k.toDisposable)(()=>{this.providers.splice(this.providers.indexOf(_),1),this.defaultProvider===_&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,L.coalesce)([this.defaultProvider,...this.providers])}getQuickAccessProvider(_){return _&&this.providers.find(C=>_.startsWith(C.prefix))||void 0||this.defaultProvider}}e.QuickAccessRegistry=S,y.Registry.add(e.Extensions.Quickaccess,new S)}),define(ne[786],se([1,0,731,37,2,34,136,71]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.HelpQuickAccessProvider=void 0;let g=_=class{constructor(s,i){this.quickInputService=s,this.keybindingService=i,this.registry=k.Registry.as(S.Extensions.Quickaccess)}provide(s){const i=new y.DisposableStore;return i.add(s.onDidAccept(()=>{const[n]=s.selectedItems;n&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})),i.add(s.onDidChangeValue(n=>{const t=this.registry.getQuickAccessProvider(n.substr(_.PREFIX.length));t&&t.prefix&&t.prefix!==_.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),s.items=this.getQuickAccessProviders().filter(n=>n.prefix!==_.PREFIX),i}getQuickAccessProviders(){return this.registry.getQuickAccessProviders().sort((i,n)=>i.prefix.localeCompare(n.prefix)).flatMap(i=>this.createPicks(i))}createPicks(s){return s.helpEntries.map(i=>{const n=i.prefix||s.prefix,t=n||"\u2026";return{prefix:n,label:t,keybinding:i.commandId?this.keybindingService.lookupKeybinding(i.commandId):void 0,ariaLabel:(0,L.localize)(0,null,t,i.description),description:i.description}})}};e.HelpQuickAccessProvider=g,g.PREFIX="?",e.HelpQuickAccessProvider=g=_=ke([fe(0,f.IQuickInputService),fe(1,D.IKeybindingService)],g)}),define(ne[787],se([1,0,37,136,94,786]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:D.HelpQuickAccessProvider,prefix:"",helpEntries:[{description:y.QuickHelpNLS.helpQuickAccessActionLabel}]})}),define(ne[788],se([1,0,13,19,99,2,8,136,71,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessController=void 0;let C=class extends D.Disposable{constructor(i,n){super(),this.quickInputService=i,this.instantiationService=n,this.registry=g.Registry.as(f.Extensions.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(i="",n){this.doShowOrPick(i,!1,n)}doShowOrPick(i,n,t){var a;const[u,h]=this.getOrInstantiateProvider(i),r=this.visibleQuickAccess,c=r?.descriptor;if(r&&h&&c===h){i!==h.prefix&&!t?.preserveValue&&(r.picker.value=i),this.adjustValueSelection(r.picker,h,t);return}if(h&&!t?.preserveValue){let m;if(r&&c&&c!==h){const v=r.value.substr(c.prefix.length);v&&(m=`${h.prefix}${v}`)}if(!m){const v=u?.defaultFilterValue;v===f.DefaultQuickAccessFilterValue.LAST?m=this.lastAcceptedPickerValues.get(h):typeof v=="string"&&(m=`${h.prefix}${v}`)}typeof m=="string"&&(i=m)}const o=new D.DisposableStore,d=o.add(this.quickInputService.createQuickPick());d.value=i,this.adjustValueSelection(d,h,t),d.placeholder=h?.placeholder,d.quickNavigate=t?.quickNavigateConfiguration,d.hideInput=!!d.quickNavigate&&!r,(typeof t?.itemActivation=="number"||t?.quickNavigateConfiguration)&&(d.itemActivation=(a=t?.itemActivation)!==null&&a!==void 0?a:_.ItemActivation.SECOND),d.contextKey=h?.contextKey,d.filterValue=m=>m.substring(h?h.prefix.length:0);let l;n&&(l=new L.DeferredPromise,o.add((0,y.once)(d.onWillAccept)(m=>{m.veto(),d.hide()}))),o.add(this.registerPickerListeners(d,u,h,i,t?.providerOptions));const p=o.add(new k.CancellationTokenSource);if(u&&o.add(u.provide(d,p.token,t?.providerOptions)),(0,y.once)(d.onDidHide)(()=>{d.selectedItems.length===0&&p.cancel(),o.dispose(),l?.complete(d.selectedItems.slice(0))}),d.show(),n)return l?.p}adjustValueSelection(i,n,t){var a;let u;t?.preserveValue?u=[i.value.length,i.value.length]:u=[(a=n?.prefix.length)!==null&&a!==void 0?a:0,i.value.length],i.valueSelection=u}registerPickerListeners(i,n,t,a,u){const h=new D.DisposableStore,r=this.visibleQuickAccess={picker:i,descriptor:t,value:a};return h.add((0,D.toDisposable)(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),h.add(i.onDidChangeValue(c=>{const[o]=this.getOrInstantiateProvider(c);o!==n?this.show(c,{preserveValue:!0,providerOptions:u}):r.value=c})),t&&h.add(i.onDidAccept(()=>{this.lastAcceptedPickerValues.set(t,i.value)})),h}getOrInstantiateProvider(i){const n=this.registry.getQuickAccessProvider(i);if(!n)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(n);return t||(t=this.instantiationService.createInstance(n.ctor),this.mapProviderToDescriptor.set(n,t)),[t,n]}};e.QuickAccessController=C,e.QuickAccessController=C=ke([fe(0,_.IQuickInputService),fe(1,S.IInstantiationService)],C)}),define(ne[789],se([1,0,25,26,101,474]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SeverityIcon=void 0;var D;(function(S){function f(_){switch(_){case y.default.Ignore:return"severity-ignore "+k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Info:return k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Warning:return k.ThemeIcon.asClassName(L.Codicon.warning);case y.default.Error:return k.ThemeIcon.asClassName(L.Codicon.error);default:return""}}S.className=f})(D||(e.SeverityIcon=D={}))}),define(ne[87],se([1,0,6,2,20,588,8]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageService=e.AbstractStorageService=e.loadKeyTargets=e.WillSaveStateReason=e.IStorageService=e.TARGET_KEY=void 0,e.TARGET_KEY="__$__targetStorageMarker",e.IStorageService=(0,S.createDecorator)("storageService");var f;(function(s){s[s.NONE=0]="NONE",s[s.SHUTDOWN=1]="SHUTDOWN"})(f||(e.WillSaveStateReason=f={}));function _(s){const i=s.get(e.TARGET_KEY);if(i)try{return JSON.parse(i)}catch{}return Object.create(null)}e.loadKeyTargets=_;class g extends k.Disposable{constructor(i={flushInterval:g.DEFAULT_FLUSH_INTERVAL}){super(),this.options=i,this._onDidChangeValue=this._register(new L.PauseableEmitter),this._onDidChangeTarget=this._register(new L.PauseableEmitter),this._onWillSaveState=this._register(new L.Emitter),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(i,n,t){return L.Event.filter(this._onDidChangeValue.event,a=>a.scope===i&&(n===void 0||a.key===n),t)}emitDidChangeValue(i,n){const{key:t,external:a}=n;if(t===e.TARGET_KEY){switch(i){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0;break}this._onDidChangeTarget.fire({scope:i})}else this._onDidChangeValue.fire({scope:i,key:t,target:this.getKeyTargets(i)[t],external:a})}get(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.get(i,t)}getBoolean(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getBoolean(i,t)}getNumber(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getNumber(i,t)}store(i,n,t,a,u=!1){if((0,y.isUndefinedOrNull)(n)){this.remove(i,t,u);return}this.withPausedEmitters(()=>{var h;this.updateKeyTarget(i,t,a),(h=this.getStorage(t))===null||h===void 0||h.set(i,n,u)})}remove(i,n,t=!1){this.withPausedEmitters(()=>{var a;this.updateKeyTarget(i,n,void 0),(a=this.getStorage(n))===null||a===void 0||a.delete(i,t)})}withPausedEmitters(i){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{i()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(i,n,t,a=!1){var u,h;const r=this.getKeyTargets(n);typeof t=="number"?r[i]!==t&&(r[i]=t,(u=this.getStorage(n))===null||u===void 0||u.set(e.TARGET_KEY,JSON.stringify(r),a)):typeof r[i]=="number"&&(delete r[i],(h=this.getStorage(n))===null||h===void 0||h.set(e.TARGET_KEY,JSON.stringify(r),a))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(i){switch(i){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(i){const n=this.getStorage(i);return n?_(n):Object.create(null)}}e.AbstractStorageService=g,g.DEFAULT_FLUSH_INTERVAL=60*1e3;class C extends g{constructor(){super(),this.applicationStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(i=>this.emitDidChangeValue(1,i))),this._register(this.profileStorage.onDidChangeStorage(i=>this.emitDidChangeValue(0,i))),this._register(this.applicationStorage.onDidChangeStorage(i=>this.emitDidChangeValue(-1,i)))}getStorage(i){switch(i){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}e.InMemoryStorageService=C}),define(ne[790],se([1,0,13,99,65,5,332,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeLensCache=e.ICodeLensCache=void 0,e.ICodeLensCache=(0,_.createDecorator)("ICodeLensCache");class C{constructor(n,t){this.lineCount=n,this.data=t}}let s=class{constructor(n){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new y.LRUCache(20,.75);const t="codelens/cache";(0,L.runWhenIdle)(()=>n.remove(t,1));const a="codelens/cache2",u=n.get(a,1,"{}");this._deserialize(u),(0,k.once)(n.onWillSaveState)(h=>{h.reason===g.WillSaveStateReason.SHUTDOWN&&n.store(a,this._serialize(),1,1)})}put(n,t){const a=t.lenses.map(r=>{var c;return{range:r.symbol.range,command:r.symbol.command&&{id:"",title:(c=r.symbol.command)===null||c===void 0?void 0:c.title}}}),u=new S.CodeLensModel;u.add({lenses:a,dispose:()=>{}},this._fakeProvider);const h=new C(n.getLineCount(),u);this._cache.set(n.uri.toString(),h)}get(n){const t=this._cache.get(n.uri.toString());return t&&t.lineCount===n.getLineCount()?t.data:void 0}delete(n){this._cache.delete(n.uri.toString())}_serialize(){const n=Object.create(null);for(const[t,a]of this._cache){const u=new Set;for(const h of a.data.lenses)u.add(h.symbol.range.startLineNumber);n[t]={lineCount:a.lineCount,lines:[...u.values()]}}return JSON.stringify(n)}_deserialize(n){try{const t=JSON.parse(n);for(const a in t){const u=t[a],h=[];for(const c of u.lines)h.push({range:new D.Range(c,1,c,11)});const r=new S.CodeLensModel;r.add({lenses:h,dispose(){}},this._fakeProvider),this._cache.set(a,new C(u.lineCount,r))}}catch{}}};e.CodeLensCache=s,e.CodeLensCache=s=ke([fe(0,g.IStorageService)],s),(0,f.registerSingleton)(e.ICodeLensCache,s,1)}),define(ne[347],se([1,0,13,2,65,198,29,28,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.ISuggestMemoryService=e.SuggestMemoryService=e.PrefixMemory=e.LRUMemory=e.NoMemory=e.Memory=void 0;class i{constructor(r){this.name=r}select(r,c,o){if(o.length===0)return 0;const d=o[0].score[0];for(let l=0;lv&&E.type===o[b].completion.kind&&E.insertText===o[b].completion.insertText&&(v=E.touch,m=b),o[b].completion.preselect&&p===-1)return p=b}return m!==-1?m:p!==-1?p:0}toJSON(){return this._cache.toJSON()}fromJSON(r){this._cache.clear();const c=0;for(const[o,d]of r)d.touch=c,d.type=typeof d.type=="number"?d.type:S.CompletionItemKinds.fromString(d.type),this._cache.set(o,d);this._seq=this._cache.size}}e.LRUMemory=t;class a extends i{constructor(){super("recentlyUsedByPrefix"),this._trie=D.TernarySearchTree.forStrings(),this._seq=0}memorize(r,c,o){const{word:d}=r.getWordUntilPosition(c),l=`${r.getLanguageId()}/${d}`;this._trie.set(l,{type:o.completion.kind,insertText:o.completion.insertText,touch:this._seq++})}select(r,c,o){const{word:d}=r.getWordUntilPosition(c);if(!d)return super.select(r,c,o);const l=`${r.getLanguageId()}/${d}`;let p=this._trie.get(l);if(p||(p=this._trie.findSubstr(l)),p)for(let m=0;mr.push([o,c])),r.sort((c,o)=>-(c[1].touch-o[1].touch)).forEach((c,o)=>c[1].touch=o),r.slice(0,200)}fromJSON(r){if(this._trie.clear(),r.length>0){this._seq=r[0][1].touch+1;for(const[c,o]of r)o.type=typeof o.type=="number"?o.type:S.CompletionItemKinds.fromString(o.type),this._trie.set(c,o)}}}e.PrefixMemory=a;let u=s=class{constructor(r,c){this._storageService=r,this._configService=c,this._disposables=new k.DisposableStore,this._persistSoon=new L.RunOnceScheduler(()=>this._saveState(),500),this._disposables.add(r.onWillSaveState(o=>{o.reason===C.WillSaveStateReason.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(r,c,o){this._withStrategy(r,c).memorize(r,c,o),this._persistSoon.schedule()}select(r,c,o){return this._withStrategy(r,c).select(r,c,o)}_withStrategy(r,c){var o;const d=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:r.getLanguageIdAtPosition(c.lineNumber,c.column),resource:r.uri});if(((o=this._strategy)===null||o===void 0?void 0:o.name)!==d){this._saveState();const l=s._strategyCtors.get(d)||n;this._strategy=new l;try{const m=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,v=this._storageService.get(`${s._storagePrefix}/${d}`,m);v&&this._strategy.fromJSON(JSON.parse(v))}catch{}}return this._strategy}_saveState(){if(this._strategy){const c=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=JSON.stringify(this._strategy);this._storageService.store(`${s._storagePrefix}/${this._strategy.name}`,o,c,1)}}};e.SuggestMemoryService=u,u._strategyCtors=new Map([["recentlyUsedByPrefix",a],["recentlyUsed",t],["first",n]]),u._storagePrefix="suggest/memories",e.SuggestMemoryService=u=s=ke([fe(0,C.IStorageService),fe(1,f.IConfigurationService)],u),e.ISuggestMemoryService=(0,g.createDecorator)("ISuggestMemories"),(0,_.registerSingleton)(e.ISuggestMemoryService,u,1)}),define(ne[791],se([1,0,13,6,2,30,27,15,39,87,14,719]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),e.MenuService=void 0;let t=class{constructor(o,d){this._commandService=o,this._hiddenStates=new a(d)}createMenu(o,d,l){return new h(o,this._hiddenStates,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},l),this._commandService,d)}resetHiddenStates(o){this._hiddenStates.reset(o)}};e.MenuService=t,e.MenuService=t=ke([fe(0,S.ICommandService),fe(1,g.IStorageService)],t);let a=i=class{constructor(o){this._storageService=o,this._disposables=new y.DisposableStore,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch{this._data=Object.create(null)}this._disposables.add(o.onDidChangeValue(0,i._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch(d){console.log("FAILED to read storage after UPDATE",d)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(o,d){var l;return(l=this._hiddenByDefaultCache.get(`${o.id}/${d}`))!==null&&l!==void 0?l:!1}setDefaultState(o,d,l){this._hiddenByDefaultCache.set(`${o.id}/${d}`,l)}isHidden(o,d){var l,p;const m=this._isHiddenByDefault(o,d),v=(p=(l=this._data[o.id])===null||l===void 0?void 0:l.includes(d))!==null&&p!==void 0?p:!1;return m?!v:v}updateHidden(o,d,l){this._isHiddenByDefault(o,d)&&(l=!l);const m=this._data[o.id];if(l)m?m.indexOf(d)<0&&m.push(d):this._data[o.id]=[d];else if(m){const v=m.indexOf(d);v>=0&&(0,C.removeFastWithoutKeepingOrder)(m,v),m.length===0&&delete this._data[o.id]}this._persist()}reset(o){if(o===void 0)this._data=Object.create(null),this._persist();else{for(const{id:d}of o)this._data[d]&&delete this._data[d];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const o=JSON.stringify(this._data);this._storageService.store(i._key,o,0,0)}finally{this._ignoreChangeEvent=!1}}};a._key="menu.hiddenCommands",a=i=ke([fe(0,g.IStorageService)],a);let u=n=class{constructor(o,d,l,p,m){this._id=o,this._hiddenStates=d,this._collectContextKeysForSubmenus=l,this._commandService=p,this._contextKeyService=m,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const o=D.MenuRegistry.getMenuItems(this._id);let d;o.sort(n._compareMenuItems);for(const l of o){const p=l.group||"";(!d||d[0]!==p)&&(d=[p,[]],this._menuGroups.push(d)),d[1].push(l),this._collectContextKeys(l)}}_collectContextKeys(o){if(n._fillInKbExprKeys(o.when,this._structureContextKeys),(0,D.isIMenuItem)(o)){if(o.command.precondition&&n._fillInKbExprKeys(o.command.precondition,this._preconditionContextKeys),o.command.toggled){const d=o.command.toggled.condition||o.command.toggled;n._fillInKbExprKeys(d,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&D.MenuRegistry.getMenuItems(o.submenu).forEach(this._collectContextKeys,this)}createActionGroups(o){const d=[];for(const l of this._menuGroups){const[p,m]=l,v=[];for(const b of m)if(this._contextKeyService.contextMatchesRules(b.when)){const w=(0,D.isIMenuItem)(b);w&&this._hiddenStates.setDefaultState(this._id,b.command.id,!!b.isHiddenByDefault);const E=r(this._id,w?b.command:b,this._hiddenStates);if(w)v.push(new D.MenuItemAction(b.command,b.alt,o,E,this._contextKeyService,this._commandService));else{const I=new n(b.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._contextKeyService).createActionGroups(o),M=_.Separator.join(...I.map(P=>P[1]));M.length>0&&v.push(new D.SubmenuItemAction(b,E,M))}}v.length>0&&d.push([p,v])}return d}static _fillInKbExprKeys(o,d){if(o)for(const l of o.keys())d.add(l)}static _compareMenuItems(o,d){const l=o.group,p=d.group;if(l!==p){if(l){if(!p)return-1}else return 1;if(l==="navigation")return-1;if(p==="navigation")return 1;const b=l.localeCompare(p);if(b!==0)return b}const m=o.order||0,v=d.order||0;return mv?1:n._compareTitles((0,D.isIMenuItem)(o)?o.command.title:o.title,(0,D.isIMenuItem)(d)?d.command.title:d.title)}static _compareTitles(o,d){const l=typeof o=="string"?o:o.original,p=typeof d=="string"?d:d.original;return l.localeCompare(p)}};u=n=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],u);let h=class{constructor(o,d,l,p,m){this._disposables=new y.DisposableStore,this._menuInfo=new u(o,d,l.emitEventsForSubmenuChanges,p,m);const v=new L.RunOnceScheduler(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},l.eventDebounceDelay);this._disposables.add(v),this._disposables.add(D.MenuRegistry.onDidChangeMenu(I=>{I.has(o)&&v.schedule()}));const b=this._disposables.add(new y.DisposableStore),w=I=>{let M=!1,P=!1,x=!1;for(const T of I)if(M=M||T.isStructuralChange,P=P||T.isEnablementChange,x=x||T.isToggleChange,M&&P&&x)break;return{menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x}},E=()=>{b.add(m.onDidChangeContext(I=>{const M=I.affectsSome(this._menuInfo.structureContextKeys),P=I.affectsSome(this._menuInfo.preconditionContextKeys),x=I.affectsSome(this._menuInfo.toggledContextKeys);(M||P||x)&&this._onDidChange.fire({menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x})})),b.add(d.onDidChange(I=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))};this._onDidChange=new k.DebounceEmitter({onWillAddFirstListener:E,onDidRemoveLastListener:b.clear.bind(b),delay:l.eventDebounceDelay,merge:w}),this.onDidChange=this._onDidChange.event}getActions(o){return this._menuInfo.createActionGroups(o)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};h=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],h);function r(c,o,d){const l=(0,D.isISubmenuItem)(o)?o.submenu.id:o.id,p=typeof o.title=="string"?o.title:o.title.value,m=(0,_.toAction)({id:`hide/${c.id}/${l}`,label:(0,s.localize)(0,null,p),run(){d.updateHidden(c,l,!0)}}),v=(0,_.toAction)({id:`toggle/${c.id}/${l}`,label:p,get checked(){return!d.isHidden(c,l)},run(){d.updateHidden(c,l,!!this.checked)}});return{hide:m,toggle:v,get isHidden(){return!v.checked}}}}),define(ne[79],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITelemetryService=void 0,e.ITelemetryService=(0,L.createDecorator)("telemetryService")}),define(ne[16],se([1,0,603,22,33,12,51,69,30,27,15,8,118,37,79,20,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectAllCommand=e.RedoCommand=e.UndoCommand=e.EditorExtensionsRegistry=e.registerEditorContribution=e.registerInstantiatedEditorAction=e.registerMultiEditorAction=e.registerEditorAction=e.registerEditorCommand=e.registerModelAndPositionCommand=e.EditorAction2=e.MultiEditorAction=e.EditorAction=e.EditorCommand=e.ProxyCommand=e.MultiCommand=e.Command=void 0;class h{constructor(N){this.id=N.id,this.precondition=N.precondition,this._kbOpts=N.kbOpts,this._menuOpts=N.menuOpts,this._description=N.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const N=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const F of N){let O=F.kbExpr;this.precondition&&(O?O=C.ContextKeyExpr.and(O,this.precondition):O=this.precondition);const W={id:this.id,weight:F.weight,args:F.args,when:O,primary:F.primary,secondary:F.secondary,win:F.win,linux:F.linux,mac:F.mac};i.KeybindingsRegistry.registerKeybindingRule(W)}}g.CommandsRegistry.registerCommand({id:this.id,handler:(N,F)=>this.runCommand(N,F),description:this._description})}_registerMenuItem(N){_.MenuRegistry.appendMenuItem(N.menuId,{group:N.group,command:{id:this.id,title:N.title,icon:N.icon,precondition:this.precondition},when:N.when,order:N.order})}}e.Command=h;class r extends h{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F,O,W){return this._implementations.push({priority:N,name:F,implementation:O,when:W}),this._implementations.sort((U,j)=>j.priority-U.priority),{dispose:()=>{for(let U=0;U{if(R.get(C.IContextKeyService).contextMatchesRules(O??void 0))return W(R,j,F)})}runCommand(N,F){return o.runEditorCommand(N,F,this.precondition,(O,W,U)=>this.runEditorCommand(O,W,U))}}e.EditorCommand=o;class d extends o{static convertOptions(N){let F;Array.isArray(N.menuOpts)?F=N.menuOpts:N.menuOpts?F=[N.menuOpts]:F=[];function O(W){return W.menuId||(W.menuId=_.MenuId.EditorContext),W.title||(W.title=N.label),W.when=C.ContextKeyExpr.and(N.precondition,W.when),W}return Array.isArray(N.contextMenuOpts)?F.push(...N.contextMenuOpts.map(O)):N.contextMenuOpts&&F.push(O(N.contextMenuOpts)),N.menuOpts=F,N}constructor(N){super(d.convertOptions(N)),this.label=N.label,this.alias=N.alias}runEditorCommand(N,F,O){return this.reportTelemetry(N,F),this.run(N,F,O||{})}reportTelemetry(N,F){N.get(t.ITelemetryService).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}e.EditorAction=d;class l extends d{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F){return this._implementations.push([N,F]),this._implementations.sort((O,W)=>W[0]-O[0]),{dispose:()=>{for(let O=0;O{var j,R;const K=U.get(C.IContextKeyService),G=U.get(u.ILogService);if(!K.contextMatchesRules((j=this.desc.precondition)!==null&&j!==void 0?j:void 0)){G.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,(R=this.desc.precondition)===null||R===void 0?void 0:R.serialize());return}return this.runEditorCommand(U,W,...F)})}}e.EditorAction2=p;function m(A,N){g.CommandsRegistry.registerCommand(A,function(F,...O){const W=F.get(s.IInstantiationService),[U,j]=O;(0,a.assertType)(k.URI.isUri(U)),(0,a.assertType)(D.Position.isIPosition(j));const R=F.get(S.IModelService).getModel(U);if(R){const K=D.Position.lift(j);return W.invokeFunction(N,R,K,...O.slice(2))}return F.get(f.ITextModelService).createModelReference(U).then(K=>new Promise((G,Z)=>{try{const J=W.invokeFunction(N,K.object.textEditorModel,D.Position.lift(j),O.slice(2));G(J)}catch(J){Z(J)}}).finally(()=>{K.dispose()}))})}e.registerModelAndPositionCommand=m;function v(A){return x.INSTANCE.registerEditorCommand(A),A}e.registerEditorCommand=v;function b(A){const N=new A;return x.INSTANCE.registerEditorAction(N),N}e.registerEditorAction=b;function w(A){return x.INSTANCE.registerEditorAction(A),A}e.registerMultiEditorAction=w;function E(A){x.INSTANCE.registerEditorAction(A)}e.registerInstantiatedEditorAction=E;function I(A,N,F){x.INSTANCE.registerEditorContribution(A,N,F)}e.registerEditorContribution=I;var M;(function(A){function N(j){return x.INSTANCE.getEditorCommand(j)}A.getEditorCommand=N;function F(){return x.INSTANCE.getEditorActions()}A.getEditorActions=F;function O(){return x.INSTANCE.getEditorContributions()}A.getEditorContributions=O;function W(j){return x.INSTANCE.getEditorContributions().filter(R=>j.indexOf(R.id)>=0)}A.getSomeEditorContributions=W;function U(){return x.INSTANCE.getDiffEditorContributions()}A.getDiffEditorContributions=U})(M||(e.EditorExtensionsRegistry=M={}));const P={EditorCommonContributions:"editor.contributions"};class x{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(N,F,O){this.editorContributions.push({id:N,ctor:F,instantiation:O})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(N){N.register(),this.editorActions.push(N)}getEditorActions(){return this.editorActions}registerEditorCommand(N){N.register(),this.editorCommands[N.id]=N}getEditorCommand(N){return this.editorCommands[N]||null}}x.INSTANCE=new x,n.Registry.add(P.EditorCommonContributions,x.INSTANCE);function T(A){return A.register(),A}e.UndoCommand=T(new r({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(0,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(1,null),order:1}]})),T(new c(e.UndoCommand,{id:"default:undo",precondition:void 0})),e.RedoCommand=T(new r({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(2,null),order:2},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(3,null),order:1}]})),T(new c(e.RedoCommand,{id:"default:redo",precondition:void 0})),e.SelectAllCommand=T(new r({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:_.MenuId.MenubarSelectionMenu,group:"1_basic",title:L.localize(4,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(5,null),order:1}]}))}),define(ne[189],se([1,0,602,52,20,49,16,33,496,74,204,205,246,12,5,21,15,118]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoreEditingCommands=e.CoreNavigationCommands=e.RevealLine_=e.EditorScroll_=e.CoreEditorCommand=void 0;const r=0;class c extends S.EditorCommand{runEditorCommand(P,x,T){const A=x._getViewModel();A&&this.runCoreEditorCommand(A,T||{})}}e.CoreEditorCommand=c;var o;(function(M){const P=function(T){if(!y.isObject(T))return!1;const A=T;return!(!y.isString(A.to)||!y.isUndefined(A.by)&&!y.isString(A.by)||!y.isUndefined(A.value)&&!y.isNumber(A.value)||!y.isUndefined(A.revealCursor)&&!y.isBoolean(A.revealCursor))};M.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage', 'editor'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:P,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage","editor"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},M.RawDirection={Up:"up",Right:"right",Down:"down",Left:"left"},M.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage",Editor:"editor",Column:"column"};function x(T){let A;switch(T.to){case M.RawDirection.Up:A=1;break;case M.RawDirection.Right:A=2;break;case M.RawDirection.Down:A=3;break;case M.RawDirection.Left:A=4;break;default:return null}let N;switch(T.by){case M.RawUnit.Line:N=1;break;case M.RawUnit.WrappedLine:N=2;break;case M.RawUnit.Page:N=3;break;case M.RawUnit.HalfPage:N=4;break;case M.RawUnit.Editor:N=5;break;case M.RawUnit.Column:N=6;break;default:N=2}const F=Math.floor(T.value||1),O=!!T.revealCursor;return{direction:A,unit:N,value:F,revealCursor:O,select:!!T.select}}M.parse=x})(o||(e.EditorScroll_=o={}));var d;(function(M){const P=function(x){if(!y.isObject(x))return!1;const T=x;return!(!y.isNumber(T.lineNumber)&&!y.isString(T.lineNumber)||!y.isUndefined(T.at)&&!y.isString(T.at))};M.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed.\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:P,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},M.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}})(d||(e.RevealLine_=d={}));class l{constructor(P){P.addImplementation(1e4,"code-editor",(x,T)=>{const A=x.get(f.ICodeEditorService).getFocusedCodeEditor();return A&&A.hasTextFocus()?this._runEditorCommand(x,A,T):!1}),P.addImplementation(1e3,"generic-dom-input-textarea",(x,T)=>{const A=document.activeElement;return A&&["input","textarea"].indexOf(A.tagName.toLowerCase())>=0?(this.runDOMCommand(),!0):!1}),P.addImplementation(0,"generic-dom",(x,T)=>{const A=x.get(f.ICodeEditorService).getActiveCodeEditor();return A?(A.focus(),this._runEditorCommand(x,A,T)):!1})}_runEditorCommand(P,x,T){const A=this.runEditorCommand(P,x,T);return A||!0}}var p;(function(M){class P extends c{constructor(B){super(B),this._inSelectionMode=B.inSelectionMode}runCoreEditorCommand(B,V){if(!V.position)return;B.model.pushStackElement(),B.setCursorStates(V.source,3,[s.CursorMoveCommands.moveTo(B,B.getPrimaryCursorState(),this._inSelectionMode,V.position,V.viewPosition)])&&V.revealType!==2&&B.revealPrimaryCursor(V.source,!0,!0)}}M.MoveTo=(0,S.registerEditorCommand)(new P({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),M.MoveToSelect=(0,S.registerEditorCommand)(new P({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class x extends c{runCoreEditorCommand(B,V){B.model.pushStackElement();const Y=this._getColumnSelectResult(B,B.getPrimaryCursorState(),B.getCursorColumnSelectData(),V);Y!==null&&(B.setCursorStates(V.source,3,Y.viewStates.map(ie=>g.CursorState.fromViewState(ie))),B.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:Y.fromLineNumber,fromViewVisualColumn:Y.fromVisualColumn,toViewLineNumber:Y.toLineNumber,toViewVisualColumn:Y.toVisualColumn}),Y.reversed?B.revealTopMostCursor(V.source):B.revealBottomMostCursor(V.source))}}M.ColumnSelect=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(H,B,V,Y){if(typeof Y.position>"u"||typeof Y.viewPosition>"u"||typeof Y.mouseColumn>"u")return null;const ie=H.model.validatePosition(Y.position),ae=H.coordinatesConverter.validateViewPosition(new n.Position(Y.viewPosition.lineNumber,Y.viewPosition.column),ie),ce=Y.doColumnSelect?V.fromViewLineNumber:ae.lineNumber,de=Y.doColumnSelect?V.fromViewVisualColumn:Y.mouseColumn-1;return _.ColumnSelection.columnSelect(H.cursorConfig,H,ce,de,ae.lineNumber,Y.mouseColumn-1)}}),M.CursorColumnSelectLeft=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectLeft(H.cursorConfig,H,V)}}),M.CursorColumnSelectRight=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectRight(H.cursorConfig,H,V)}});class T extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectUp(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectUp=(0,S.registerEditorCommand)(new T({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3600,linux:{primary:0}}})),M.CursorColumnSelectPageUp=(0,S.registerEditorCommand)(new T({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3595,linux:{primary:0}}}));class A extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectDown(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectDown=(0,S.registerEditorCommand)(new A({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3602,linux:{primary:0}}})),M.CursorColumnSelectPageDown=(0,S.registerEditorCommand)(new A({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3596,linux:{primary:0}}}));class N extends c{constructor(){super({id:"cursorMove",precondition:void 0,description:s.CursorMove.description})}runCoreEditorCommand(B,V){const Y=s.CursorMove.parse(V);Y&&this._runCursorMove(B,V.source,Y)}_runCursorMove(B,V,Y){B.model.pushStackElement(),B.setCursorStates(V,3,N._move(B,B.getCursorStates(),Y)),B.revealPrimaryCursor(V,!0)}static _move(B,V,Y){const ie=Y.select,ae=Y.value;switch(Y.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return s.CursorMoveCommands.simpleMove(B,V,Y.direction,ie,ae,Y.unit);case 11:case 13:case 12:case 14:return s.CursorMoveCommands.viewportMove(B,V,Y.direction,ie,ae);default:return null}}}M.CursorMoveImpl=N,M.CursorMove=(0,S.registerEditorCommand)(new N);class F extends c{constructor(B){super(B),this._staticArgs=B.args}runCoreEditorCommand(B,V){let Y=this._staticArgs;this._staticArgs.value===-1&&(Y={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:V.pageSize||B.cursorConfig.pageSize}),B.model.pushStackElement(),B.setCursorStates(V.source,3,s.CursorMoveCommands.simpleMove(B,B.getCursorStates(),Y.direction,Y.select,Y.value,Y.unit)),B.revealPrimaryCursor(V.source,!0)}}M.CursorLeft=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),M.CursorLeftSelect=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1039}})),M.CursorRight=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),M.CursorRightSelect=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1041}})),M.CursorUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),M.CursorUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),M.CursorPageUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:11}})),M.CursorPageUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1035}})),M.CursorDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),M.CursorDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),M.CursorPageDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:12}})),M.CursorPageDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1036}})),M.CreateCursor=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(H,B){if(!B.position)return;let V;B.wholeLine?V=s.CursorMoveCommands.line(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition):V=s.CursorMoveCommands.moveTo(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition);const Y=H.getCursorStates();if(Y.length>1){const ie=V.modelState?V.modelState.position:null,ae=V.viewState?V.viewState.position:null;for(let ce=0,de=Y.length;ceae&&(ie=ae);const ce=new t.Range(ie,1,ie,H.model.getLineMaxColumn(ie));let de=0;if(V.at)switch(V.at){case d.RawAtArgument.Top:de=3;break;case d.RawAtArgument.Center:de=1;break;case d.RawAtArgument.Bottom:de=4;break;default:break}const he=H.coordinatesConverter.convertModelRangeToViewRange(ce);H.revealRange(B.source,!1,he,de,0)}}),M.SelectAll=new class extends l{constructor(){super(S.SelectAllCommand)}runDOMCommand(){k.isFirefox&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(H,B,V){const Y=B._getViewModel();Y&&this.runCoreEditorCommand(Y,V)}runCoreEditorCommand(H,B){H.model.pushStackElement(),H.setCursorStates("keyboard",3,[s.CursorMoveCommands.selectAll(H,H.getPrimaryCursorState())])}},M.SetSelection=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(H,B){B.selection&&(H.model.pushStackElement(),H.setCursorStates(B.source,3,[g.CursorState.fromModelSelection(B.selection)]))}})})(p||(e.CoreNavigationCommands=p={}));const m=u.ContextKeyExpr.and(a.EditorContextKeys.textInputFocus,a.EditorContextKeys.columnSelection);function v(M,P){h.KeybindingsRegistry.registerKeybindingRule({id:M,primary:P,when:m,weight:r+1})}v(p.CursorColumnSelectLeft.id,1039),v(p.CursorColumnSelectRight.id,1041),v(p.CursorColumnSelectUp.id,1040),v(p.CursorColumnSelectPageUp.id,1035),v(p.CursorColumnSelectDown.id,1042),v(p.CursorColumnSelectPageDown.id,1036);function b(M){return M.register(),M}var w;(function(M){class P extends S.EditorCommand{runEditorCommand(T,A,N){const F=A._getViewModel();F&&this.runCoreEditingCommand(A,F,N||{})}}M.CoreEditingCommand=P,M.LineBreakInsert=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"lineBreakInsert",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.lineBreakInsert(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection)))}}),M.Outdent=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"outdent",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.outdent(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.Tab=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"tab",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.tab(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.DeleteLeft=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteLeft(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection),T.getCursorAutoClosedCharacters());N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(2)}}),M.DeleteRight=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteRight(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection));N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(3)}}),M.Undo=new class extends l{constructor(){super(S.UndoCommand)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().undo()}},M.Redo=new class extends l{constructor(){super(S.RedoCommand)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().redo()}}})(w||(e.CoreEditingCommands=w={}));class E extends S.Command{constructor(P,x,T){super({id:P,precondition:void 0,description:T}),this._handlerId=x}runCommand(P,x){const T=P.get(f.ICodeEditorService).getFocusedCodeEditor();T&&T.trigger("keyboard",this._handlerId,x)}}function I(M,P){b(new E("default:"+M,M)),b(new E(M,M,P))}I("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I("replacePreviousChar"),I("compositionType"),I("compositionStart"),I("compositionEnd"),I("paste"),I("cut")}),define(ne[792],se([1,0,233,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsContribution=void 0;let y=class{constructor(S,f){}dispose(){}};e.MarkerDecorationsContribution=y,y.ID="editor.contrib.markerDecorations",e.MarkerDecorationsContribution=y=ke([fe(1,L.IMarkerDecorationsService)],y),(0,k.registerEditorContribution)(y.ID,y,0)}),define(ne[793],se([1,0,189,12,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewController=void 0;class D{constructor(f,_,g,C){this.configuration=f,this.viewModel=_,this.userInputEvents=g,this.commandDelegate=C}paste(f,_,g,C){this.commandDelegate.paste(f,_,g,C)}type(f){this.commandDelegate.type(f)}compositionType(f,_,g,C){this.commandDelegate.compositionType(f,_,g,C)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(f){L.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:f})}_validateViewColumn(f){const _=this.viewModel.getLineMinColumn(f.lineNumber);return f.column<_?new k.Position(f.lineNumber,_):f}_hasMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.altKey;case"ctrlKey":return f.ctrlKey;case"metaKey":return f.metaKey;default:return!1}}_hasNonMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.ctrlKey||f.metaKey;case"ctrlKey":return f.altKey||f.metaKey;case"metaKey":return f.ctrlKey||f.altKey;default:return!1}}dispatchMouse(f){const _=this.configuration.options,g=y.isLinux&&_.get(105),C=_.get(21);f.middleButton&&!g?this._columnSelect(f.position,f.mouseColumn,f.inSelectionMode):f.startedOnLineNumbers?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelect(f.position,f.revealType):this._createCursor(f.position,!0):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount>=4?this._selectAll():f.mouseDownCount===3?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelectDrag(f.position,f.revealType):this._lastCursorLineSelect(f.position,f.revealType):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount===2?f.onInjectedText||(this._hasMulticursorModifier(f)?this._lastCursorWordSelect(f.position,f.revealType):f.inSelectionMode?this._wordSelectDrag(f.position,f.revealType):this._wordSelect(f.position,f.revealType)):this._hasMulticursorModifier(f)?this._hasNonMulticursorModifier(f)||(f.shiftKey?this._columnSelect(f.position,f.mouseColumn,!0):f.inSelectionMode?this._lastCursorMoveToSelect(f.position,f.revealType):this._createCursor(f.position,!1)):f.inSelectionMode?f.altKey?this._columnSelect(f.position,f.mouseColumn,!0):C?this._columnSelect(f.position,f.mouseColumn,!0):this._moveToSelect(f.position,f.revealType):this.moveTo(f.position,f.revealType)}_usualArgs(f,_){return f=this._validateViewColumn(f),{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,revealType:_}}moveTo(f,_){L.CoreNavigationCommands.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_moveToSelect(f,_){L.CoreNavigationCommands.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_columnSelect(f,_,g){f=this._validateViewColumn(f),L.CoreNavigationCommands.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,mouseColumn:_,doColumnSelect:g})}_createCursor(f,_){f=this._validateViewColumn(f),L.CoreNavigationCommands.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,wholeLine:_})}_lastCursorMoveToSelect(f,_){L.CoreNavigationCommands.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelect(f,_){L.CoreNavigationCommands.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelectDrag(f,_){L.CoreNavigationCommands.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorWordSelect(f,_){L.CoreNavigationCommands.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelect(f,_){L.CoreNavigationCommands.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelectDrag(f,_){L.CoreNavigationCommands.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelect(f,_){L.CoreNavigationCommands.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelectDrag(f,_){L.CoreNavigationCommands.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_selectAll(){L.CoreNavigationCommands.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(f){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(f)}emitKeyDown(f){this.userInputEvents.emitKeyDown(f)}emitKeyUp(f){this.userInputEvents.emitKeyUp(f)}emitContextMenu(f){this.userInputEvents.emitContextMenu(f)}emitMouseMove(f){this.userInputEvents.emitMouseMove(f)}emitMouseLeave(f){this.userInputEvents.emitMouseLeave(f)}emitMouseUp(f){this.userInputEvents.emitMouseUp(f)}emitMouseDown(f){this.userInputEvents.emitMouseDown(f)}emitMouseDrag(f){this.userInputEvents.emitMouseDrag(f)}emitMouseDrop(f){this.userInputEvents.emitMouseDrop(f)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(f){this.userInputEvents.emitMouseWheel(f)}}e.ViewController=D}),define(ne[348],se([1,0,6,58,66,109,115,79]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.WorkerBasedDocumentDiffProvider=void 0;let g=_=class{constructor(s,i,n){this.editorWorkerService=i,this.telemetryService=n,this.onDidChangeEventEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(s)}dispose(){var s;(s=this.diffAlgorithmOnDidChangeSubscription)===null||s===void 0||s.dispose()}computeDiff(s,i,n,t){var a,u;return we(this,void 0,void 0,function*(){if(typeof this.diffAlgorithm!="string")return this.diffAlgorithm.computeDiff(s,i,n,t);if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return i.getLineCount()===1&&i.getLineMaxColumn(1)===1?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new D.LineRangeMapping(new y.LineRange(1,2),new y.LineRange(1,i.getLineCount()+1),[new D.RangeMapping(s.getFullModelRange(),i.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};const h=JSON.stringify([s.uri.toString(),i.uri.toString()]),r=JSON.stringify([s.id,i.id,s.getAlternativeVersionId(),i.getAlternativeVersionId(),JSON.stringify(n)]),c=_.diffCache.get(h);if(c&&c.context===r)return c.result;const o=k.StopWatch.create(),d=yield this.editorWorkerService.computeDiff(s.uri,i.uri,n,this.diffAlgorithm),l=o.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:l,timedOut:(a=d?.quitEarly)!==null&&a!==void 0?a:!0,detectedMoves:n.computeMoves?(u=d?.moves.length)!==null&&u!==void 0?u:0:-1}),t.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!d)throw new Error("no diff result available");return _.diffCache.size>10&&_.diffCache.delete(_.diffCache.keys().next().value),_.diffCache.set(h,{result:d,context:r}),d})}setOptions(s){var i;let n=!1;s.diffAlgorithm&&this.diffAlgorithm!==s.diffAlgorithm&&((i=this.diffAlgorithmOnDidChangeSubscription)===null||i===void 0||i.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=s.diffAlgorithm,typeof s.diffAlgorithm!="string"&&(this.diffAlgorithmOnDidChangeSubscription=s.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),n=!0),n&&this.onDidChangeEventEmitter.fire()}};e.WorkerBasedDocumentDiffProvider=g,g.diffCache=new Map,e.WorkerBasedDocumentDiffProvider=g=_=ke([fe(1,S.IEditorWorkerService),fe(2,f.ITelemetryService)],g)}),define(ne[794],se([1,0,49,55,63,16,24,21,632,15,436]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";var C;Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionAnchorSet=void 0,e.SelectionAnchorSet=new g.RawContextKey("selectionAnchorSet",!1);let s=C=class{static get(h){return h.getContribution(C.ID)}constructor(h,r){this.editor=h,this.selectionAnchorSetContextKey=e.SelectionAnchorSet.bindTo(r),this.modelChangeListener=h.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const h=this.editor.getPosition();this.editor.changeDecorations(r=>{this.decorationId&&r.removeDecoration(this.decorationId),this.decorationId=r.addDecoration(S.Selection.fromPositions(h,h),{description:"selection-anchor",stickiness:1,hoverMessage:new k.MarkdownString().appendText((0,_.localize)(0,null)),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,L.alert)((0,_.localize)(1,null,h.lineNumber,h.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);h&&this.editor.setPosition(h.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);if(h){const r=this.editor.getPosition();this.editor.setSelection(S.Selection.fromPositions(h.getStartPosition(),r)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const h=this.decorationId;this.editor.changeDecorations(r=>{r.removeDecoration(h),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};s.ID="editor.contrib.selectionAnchorController",s=C=ke([fe(1,g.IContextKeyService)],s);class i extends D.EditorAction{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,_.localize)(2,null),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2080),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.setSelectionAnchor()})}}class n extends D.EditorAction{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,_.localize)(3,null),alias:"Go to Selection Anchor",precondition:e.SelectionAnchorSet})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.goToSelectionAnchor()})}}class t extends D.EditorAction{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,_.localize)(4,null),alias:"Select from Anchor to Cursor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2089),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.selectFromAnchorToCursor()})}}class a extends D.EditorAction{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,_.localize)(5,null),alias:"Cancel Selection Anchor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:9,weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.cancelSelectionAnchor()})}}(0,D.registerEditorContribution)(s.ID,s,4),(0,D.registerEditorAction)(i),(0,D.registerEditorAction)(n),(0,D.registerEditorAction)(t),(0,D.registerEditorAction)(a)}),define(ne[795],se([1,0,16,21,537,634]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class S extends L.EditorAction{constructor(C,s){super(s),this.left=C}run(C,s){if(!s.hasModel())return;const i=[],n=s.getSelections();for(const t of n)i.push(new y.MoveCaretCommand(t,this.left));s.pushUndoStop(),s.executeCommands(this.id,i),s.pushUndoStop()}}class f extends S{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:D.localize(0,null),alias:"Move Selected Text Left",precondition:k.EditorContextKeys.writable})}}class _ extends S{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:D.localize(1,null),alias:"Move Selected Text Right",precondition:k.EditorContextKeys.writable})}}(0,L.registerEditorAction)(f),(0,L.registerEditorAction)(_)}),define(ne[796],se([1,0,16,123,203,5,21,635]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class _ extends L.EditorAction{constructor(){super({id:"editor.action.transposeLetters",label:f.localize(0,null),alias:"Transpose Letters",precondition:S.EditorContextKeys.writable,kbOpts:{kbExpr:S.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(C,s){if(!s.hasModel())return;const i=s.getModel(),n=[],t=s.getSelections();for(const a of t){if(!a.isEmpty())continue;const u=a.startLineNumber,h=a.startColumn,r=i.getLineMaxColumn(u);if(u===1&&(h===1||h===2&&r===2))continue;const c=h===r?a.getPosition():y.MoveOperations.rightPosition(i,a.getPosition().lineNumber,a.getPosition().column),o=y.MoveOperations.leftPosition(i,c),d=y.MoveOperations.leftPosition(i,o),l=i.getValueInRange(D.Range.fromPositions(d,o)),p=i.getValueInRange(D.Range.fromPositions(o,c)),m=D.Range.fromPositions(d,c);n.push(new k.ReplaceCommand(m,p+l))}n.length>0&&(s.pushUndoStop(),s.executeCommands(this.id,n),s.pushUndoStop())}}(0,L.registerEditorAction)(_)}),define(ne[797],se([1,0,52,17,185,16,33,21,636,30,96,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PasteAction=e.CopyAction=e.CutAction=void 0;const i="9_cutcopypaste",n=k.isNative||document.queryCommandSupported("cut"),t=k.isNative||document.queryCommandSupported("copy"),a=typeof navigator.clipboard>"u"||L.isFirefox?document.queryCommandSupported("paste"):!0;function u(c){return c.register(),c}e.CutAction=n?u(new D.MultiCommand({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:k.isNative?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(0,null),order:1},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(1,null),when:f.EditorContextKeys.writable,order:1},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(2,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(3,null),when:f.EditorContextKeys.writable,order:1}]})):void 0,e.CopyAction=t?u(new D.MultiCommand({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:k.isNative?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(4,null),order:2},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(5,null),order:2},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(6,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(7,null),order:2}]})):void 0,g.MenuRegistry.appendMenuItem(g.MenuId.MenubarEditMenu,{submenu:g.MenuId.MenubarCopy,title:{value:_.localize(8,null),original:"Copy As"},group:"2_ccp",order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextCopy,title:{value:_.localize(9,null),original:"Copy As"},group:i,order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextShare,title:{value:_.localize(10,null),original:"Share"},group:"11_share",order:-1,when:s.ContextKeyExpr.and(s.ContextKeyExpr.notEquals("resourceScheme","output"),f.EditorContextKeys.editorTextFocus)}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorTitleContext,{submenu:g.MenuId.EditorTitleContextShare,title:{value:_.localize(11,null),original:"Share"},group:"11_share",order:-1}),g.MenuRegistry.appendMenuItem(g.MenuId.ExplorerContext,{submenu:g.MenuId.ExplorerContextShare,title:{value:_.localize(12,null),original:"Share"},group:"11_share",order:-1}),e.PasteAction=a?u(new D.MultiCommand({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:k.isNative?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(13,null),order:4},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(14,null),when:f.EditorContextKeys.writable,order:4},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(15,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(16,null),when:f.EditorContextKeys.writable,order:4}]})):void 0;class h extends D.EditorAction{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:_.localize(17,null),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.textInputFocus,primary:0,weight:100}})}run(o,d){!d.hasModel()||!d.getOption(36)&&d.getSelection().isEmpty()||(y.CopyOptions.forceCopyWithSyntaxHighlighting=!0,d.focus(),document.execCommand("copy"),y.CopyOptions.forceCopyWithSyntaxHighlighting=!1)}}function r(c,o){c&&(c.addImplementation(1e4,"code-editor",(d,l)=>{const p=d.get(S.ICodeEditorService).getFocusedCodeEditor();if(p&&p.hasTextFocus()){const m=p.getOption(36),v=p.getSelection();return v&&v.isEmpty()&&!m||document.execCommand(o),!0}return!1}),c.addImplementation(0,"generic-dom",(d,l)=>(document.execCommand(o),!0)))}r(e.CutAction,"cut"),r(e.CopyAction,"copy"),e.PasteAction&&(e.PasteAction.addImplementation(1e4,"code-editor",(c,o)=>{const d=c.get(S.ICodeEditorService),l=c.get(C.IClipboardService),p=d.getFocusedCodeEditor();return p&&p.hasTextFocus()?!document.execCommand("paste")&&k.isWeb?(()=>we(void 0,void 0,void 0,function*(){const v=yield l.readText();if(v!==""){const b=y.InMemoryClipboardMetadataManager.INSTANCE.get(v);let w=!1,E=null,I=null;b&&(w=p.getOption(36)&&!!b.isFromEmptySelection,E=typeof b.multicursorText<"u"?b.multicursorText:null,I=b.mode),p.trigger("keyboard","paste",{text:v,pasteOnNewLine:w,multicursorText:E,mode:I})}}))():!0:!1}),e.PasteAction.addImplementation(0,"generic-dom",(c,o)=>(document.execCommand("paste"),!0))),t&&(0,D.registerEditorAction)(h)}),define(ne[798],se([1,0,63,16,5,21,32,290,539,646,30]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class s extends k.EditorAction{constructor(h,r){super(r),this._type=h}run(h,r){const c=h.get(S.ILanguageConfigurationService);if(!r.hasModel())return;const o=r.getModel(),d=[],l=o.getOptions(),p=r.getOption(22),m=r.getSelections().map((b,w)=>({selection:b,index:w,ignoreFirstLine:!1}));m.sort((b,w)=>y.Range.compareRangesUsingStarts(b.selection,w.selection));let v=m[0];for(let b=1;b{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeModelContent(n=>{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeCursorSelection(n=>{if(this._isCursorUndoRedo||!n.oldSelections||n.oldModelVersionId!==n.modelVersionId)return;const t=new S(n.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(t)||(this._undoStack.push(new f(t,i.getScrollTop(),i.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(i){this._isCursorUndoRedo=!0,this._editor.setSelections(i.cursorState.selections),this._editor.setScrollPosition({scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),this._isCursorUndoRedo=!1}}e.CursorUndoRedoController=_,_.ID="editor.contrib.cursorUndoRedoController";class g extends k.EditorAction{constructor(){super({id:"cursorUndo",label:D.localize(0,null),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2099,weight:100}})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorUndo()}}e.CursorUndo=g;class C extends k.EditorAction{constructor(){super({id:"cursorRedo",label:D.localize(1,null),alias:"Cursor Redo",precondition:void 0})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorRedo()}}e.CursorRedo=C,(0,k.registerEditorContribution)(_.ID,_,0),(0,k.registerEditorAction)(g),(0,k.registerEditorAction)(C)}),define(ne[800],se([1,0,16,15,19,64,8,50,654]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorKeybindingCancellationTokenSource=void 0;const g=(0,S.createDecorator)("IEditorCancelService"),C=new k.RawContextKey("cancellableOperation",!1,(0,_.localize)(0,null));(0,f.registerSingleton)(g,class{constructor(){this._tokens=new WeakMap}add(i,n){let t=this._tokens.get(i);t||(t=i.invokeWithinContext(u=>{const h=C.bindTo(u.get(k.IContextKeyService)),r=new D.LinkedList;return{key:h,tokens:r}}),this._tokens.set(i,t));let a;return t.key.set(!0),a=t.tokens.push(n),()=>{a&&(a(),t.key.set(!t.tokens.isEmpty()),a=void 0)}}cancel(i){const n=this._tokens.get(i);if(!n)return;const t=n.tokens.pop();t&&(t.cancel(),n.key.set(!n.tokens.isEmpty()))}},1);class s extends y.CancellationTokenSource{constructor(n,t){super(t),this.editor=n,this._unregister=n.invokeWithinContext(a=>a.get(g).add(n,this))}dispose(){this._unregister(),super.dispose()}}e.EditorKeybindingCancellationTokenSource=s,(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:C})}runEditorCommand(i,n){i.get(g).cancel(n)}})}),define(ne[104],se([1,0,11,5,19,2,800]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextModelCancellationTokenSource=e.EditorStateCancellationTokenSource=e.EditorState=void 0;class f{constructor(s,i){if(this.flags=i,this.flags&1){const n=s.getModel();this.modelVersionId=n?L.format("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;this.flags&4?this.position=s.getPosition():this.position=null,this.flags&2?this.selection=s.getSelection():this.selection=null,this.flags&8?(this.scrollLeft=s.getScrollLeft(),this.scrollTop=s.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(s){if(!(s instanceof f))return!1;const i=s;return!(this.modelVersionId!==i.modelVersionId||this.scrollLeft!==i.scrollLeft||this.scrollTop!==i.scrollTop||!this.position&&i.position||this.position&&!i.position||this.position&&i.position&&!this.position.equals(i.position)||!this.selection&&i.selection||this.selection&&!i.selection||this.selection&&i.selection&&!this.selection.equalsRange(i.selection))}validate(s){return this._equals(new f(s,this.flags))}}e.EditorState=f;class _ extends S.EditorKeybindingCancellationTokenSource{constructor(s,i,n,t){super(s,t),this._listener=new D.DisposableStore,i&4&&this._listener.add(s.onDidChangeCursorPosition(a=>{(!n||!k.Range.containsPosition(n,a.position))&&this.cancel()})),i&2&&this._listener.add(s.onDidChangeCursorSelection(a=>{(!n||!k.Range.containsRange(n,a.selection))&&this.cancel()})),i&8&&this._listener.add(s.onDidScrollChange(a=>this.cancel())),i&1&&(this._listener.add(s.onDidChangeModel(a=>this.cancel())),this._listener.add(s.onDidChangeModelContent(a=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}e.EditorStateCancellationTokenSource=_;class g extends y.CancellationTokenSource{constructor(s,i){super(i),this._listener=s.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}e.TextModelCancellationTokenSource=g}),define(ne[137],se([1,0,14,19,9,2,22,132,5,24,18,51,104,637,27,43,77,79,113]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyCodeAction=e.ApplyCodeActionReason=e.getCodeActions=e.fixAllCommandId=e.organizeImportsCommandId=e.sourceActionCommandId=e.refactorCommandId=e.autoFixCommandId=e.quickFixCommandId=e.codeActionCommandId=void 0,e.codeActionCommandId="editor.action.codeAction",e.quickFixCommandId="editor.action.quickFix",e.autoFixCommandId="editor.action.autoFix",e.refactorCommandId="editor.action.refactor",e.sourceActionCommandId="editor.action.sourceAction",e.organizeImportsCommandId="editor.action.organizeImports",e.fixAllCommandId="editor.action.fixAll";class c extends D.Disposable{static codeActionsPreferredComparator(I,M){return I.isPreferred&&!M.isPreferred?-1:!I.isPreferred&&M.isPreferred?1:0}static codeActionsComparator({action:I},{action:M}){return(0,L.isNonEmptyArray)(I.diagnostics)?(0,L.isNonEmptyArray)(M.diagnostics)?c.codeActionsPreferredComparator(I,M):-1:(0,L.isNonEmptyArray)(M.diagnostics)?1:c.codeActionsPreferredComparator(I,M)}constructor(I,M,P){super(),this.documentation=M,this._register(P),this.allActions=[...I].sort(c.codeActionsComparator),this.validActions=this.allActions.filter(({action:x})=>!x.disabled)}get hasAutoFix(){return this.validActions.some(({action:I})=>!!I.kind&&r.CodeActionKind.QuickFix.contains(new r.CodeActionKind(I.kind))&&!!I.isPreferred)}}const o={actions:[],documentation:void 0};function d(E,I,M,P,x,T){var A;return we(this,void 0,void 0,function*(){const N=P.filter||{},F={only:(A=N.include)===null||A===void 0?void 0:A.value,trigger:P.type},O=new i.TextModelCancellationTokenSource(I,T),W=l(E,I,N),U=new D.DisposableStore,j=W.map(K=>we(this,void 0,void 0,function*(){try{x.report(K);const G=yield K.provideCodeActions(I,M,F,O.token);if(G&&U.add(G),O.token.isCancellationRequested)return o;const Z=(G?.actions||[]).filter(X=>X&&(0,r.filtersAction)(N,X)),J=m(K,Z,N.include);return{actions:Z.map(X=>new r.CodeActionItem(X,K)),documentation:J}}catch(G){if((0,y.isCancellationError)(G))throw G;return(0,y.onUnexpectedExternalError)(G),o}})),R=E.onDidChange(()=>{const K=E.all(I);(0,L.equals)(K,W)||O.cancel()});try{const K=yield Promise.all(j),G=K.map(J=>J.actions).flat(),Z=[...(0,L.coalesce)(K.map(J=>J.documentation)),...p(E,I,P,G)];return new c(G,Z,U)}finally{R.dispose(),O.dispose()}})}e.getCodeActions=d;function l(E,I,M){return E.all(I).filter(P=>P.providedCodeActionKinds?P.providedCodeActionKinds.some(x=>(0,r.mayIncludeActionsOfKind)(M,new r.CodeActionKind(x))):!0)}function*p(E,I,M,P){var x,T,A;if(I&&P.length)for(const N of E.all(I))N._getAdditionalMenuItems&&(yield*(x=N._getAdditionalMenuItems)===null||x===void 0?void 0:x.call(N,{trigger:M.type,only:(A=(T=M.filter)===null||T===void 0?void 0:T.include)===null||A===void 0?void 0:A.value},P.map(F=>F.action)))}function m(E,I,M){if(!E.documentation)return;const P=E.documentation.map(x=>({kind:new r.CodeActionKind(x.kind),command:x.command}));if(M){let x;for(const T of P)T.kind.contains(M)&&(x?x.kind.contains(T.kind)&&(x=T):x=T);if(x)return x?.command}for(const x of I)if(x.kind){for(const T of P)if(T.kind.contains(new r.CodeActionKind(x.kind)))return T.command}}var v;(function(E){E.OnSave="onSave",E.FromProblemsView="fromProblemsView",E.FromCodeActions="fromCodeActions"})(v||(e.ApplyCodeActionReason=v={}));function b(E,I,M,P,x=k.CancellationToken.None){var T;return we(this,void 0,void 0,function*(){const A=E.get(f.IBulkEditService),N=E.get(t.ICommandService),F=E.get(h.ITelemetryService),O=E.get(a.INotificationService);if(F.publicLog2("codeAction.applyCodeAction",{codeActionTitle:I.action.title,codeActionKind:I.action.kind,codeActionIsPreferred:!!I.action.isPreferred,reason:M}),yield I.resolve(x),!x.isCancellationRequested&&!(!((T=I.action.edit)===null||T===void 0)&&T.edits.length&&!(yield A.apply(I.action.edit,{editor:P?.editor,label:I.action.title,quotableLabel:I.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:M!==v.OnSave,showPreview:P?.preview})).isApplied)&&I.action.command)try{yield N.executeCommand(I.action.command.id,...I.action.command.arguments||[])}catch(W){const U=w(W);O.error(typeof U=="string"?U:n.localize(0,null))}})}e.applyCodeAction=b;function w(E){return typeof E=="string"?E:E instanceof Error&&typeof E.message=="string"?E.message:void 0}t.CommandsRegistry.registerCommand("_executeCodeActionProvider",function(E,I,M,P,x){return we(this,void 0,void 0,function*(){if(!(I instanceof S.URI))throw(0,y.illegalArgument)();const{codeActionProvider:T}=E.get(C.ILanguageFeaturesService),A=E.get(s.IModelService).getModel(I);if(!A)throw(0,y.illegalArgument)();const N=g.Selection.isISelection(M)?g.Selection.liftSelection(M):_.Range.isIRange(M)?A.validateRange(M):void 0;if(!N)throw(0,y.illegalArgument)();const F=typeof P=="string"?new r.CodeActionKind(P):void 0,O=yield d(T,A,N,{type:1,triggerAction:r.CodeActionTriggerSource.Default,filter:{includeSourceActions:!0,include:F}},u.Progress.None,k.CancellationToken.None),W=[],U=Math.min(O.validActions.length,typeof x=="number"?x:0);for(let j=0;jj.action)}finally{setTimeout(()=>O.dispose(),100)}})})}),define(ne[801],se([1,0,100,137,113,34]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionKeybindingResolver=void 0;let f=S=class{constructor(g){this.keybindingService=g}getResolver(){const g=new L.Lazy(()=>this.keybindingService.getKeybindings().filter(C=>S.codeActionCommands.indexOf(C.command)>=0).filter(C=>C.resolvedKeybinding).map(C=>{let s=C.commandArgs;return C.command===k.organizeImportsCommandId?s={kind:y.CodeActionKind.SourceOrganizeImports.value}:C.command===k.fixAllCommandId&&(s={kind:y.CodeActionKind.SourceFixAll.value}),Object.assign({resolvedKeybinding:C.resolvedKeybinding},y.CodeActionCommandArgs.fromUser(s,{kind:y.CodeActionKind.None,apply:"never"}))}));return C=>{if(C.kind){const s=this.bestKeybindingForCodeAction(C,g.value);return s?.resolvedKeybinding}}}bestKeybindingForCodeAction(g,C){if(!g.kind)return;const s=new y.CodeActionKind(g.kind);return C.filter(i=>i.kind.contains(s)).filter(i=>i.preferred?g.isPreferred:!0).reduceRight((i,n)=>i?i.kind.contains(n.kind)?n:i:n,void 0)}};e.CodeActionKeybindingResolver=f,f.codeActionCommands=[k.refactorCommandId,k.codeActionCommandId,k.sourceActionCommandId,k.organizeImportsCommandId,k.fixAllCommandId],e.CodeActionKeybindingResolver=f=S=ke([fe(0,D.IKeybindingService)],f)}),define(ne[349],se([1,0,13,9,6,2,45,15,77,113,137]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionModel=e.CodeActionsState=e.SUPPORTED_CODE_ACTIONS=void 0,e.SUPPORTED_CODE_ACTIONS=new f.RawContextKey("supportedCodeAction","");class s extends D.Disposable{constructor(u,h,r,c=250){super(),this._editor=u,this._markerService=h,this._signalChange=r,this._delay=c,this._autoTriggerTimer=this._register(new L.TimeoutTimer),this._register(this._markerService.onMarkerChanged(o=>this._onMarkerChanges(o))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(u){const h=this._getRangeOfSelectionUnlessWhitespaceEnclosed(u);this._signalChange(h?{trigger:u,selection:h}:void 0)}_onMarkerChanges(u){const h=this._editor.getModel();h&&u.some(r=>(0,S.isEqual)(r,h.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(u){if(!this._editor.hasModel())return;const h=this._editor.getModel(),r=this._editor.getSelection();if(r.isEmpty()&&u.type===2){const{lineNumber:c,column:o}=r.getPosition(),d=h.getLineContent(c);if(d.length===0)return;if(o===1){if(/\s/.test(d[0]))return}else if(o===h.getLineMaxColumn(c)){if(/\s/.test(d[d.length-1]))return}else if(/\s/.test(d[o-2])&&/\s/.test(d[o-1]))return}return r}}var i;(function(a){a.Empty={type:0};class u{constructor(r,c,o){this.trigger=r,this.position=c,this._cancellablePromise=o,this.type=1,this.actions=o.catch(d=>{if((0,k.isCancellationError)(d))return n;throw d})}cancel(){this._cancellablePromise.cancel()}}a.Triggered=u})(i||(e.CodeActionsState=i={}));const n=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1});class t extends D.Disposable{constructor(u,h,r,c,o){super(),this._editor=u,this._registry=h,this._markerService=r,this._progressService=o,this._codeActionOracle=this._register(new D.MutableDisposable),this._state=i.Empty,this._onDidChangeState=this._register(new y.Emitter),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=e.SUPPORTED_CODE_ACTIONS.bindTo(c),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(i.Empty,!0))}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(i.Empty);const u=this._editor.getModel();if(u&&this._registry.has(u)&&!this._editor.getOption(89)){const h=this._registry.all(u).flatMap(r=>{var c;return(c=r.providedCodeActionKinds)!==null&&c!==void 0?c:[]});this._supportedCodeActions.set(h.join(" ")),this._codeActionOracle.value=new s(this._editor,this._markerService,r=>{var c;if(!r){this.setState(i.Empty);return}const o=(0,L.createCancelablePromise)(d=>(0,C.getCodeActions)(this._registry,u,r.selection,r.trigger,_.Progress.None,d));r.trigger.type===1&&((c=this._progressService)===null||c===void 0||c.showWhile(o,250)),this.setState(new i.Triggered(r.trigger,r.selection.getStartPosition(),o))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})}else this._supportedCodeActions.reset()}trigger(u){var h;(h=this._codeActionOracle.value)===null||h===void 0||h.trigger(u)}setState(u,h){u!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=u,!h&&!this._disposed&&this._onDidChangeState.fire(u))}}e.CodeActionModel=t}),define(ne[350],se([1,0,7,61,25,6,2,26,207,137,642,34,438]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.LightBulbWidget=void 0;var n;(function(a){a.Hidden={type:0};class u{constructor(r,c,o,d){this.actions=r,this.trigger=c,this.editorPosition=o,this.widgetPosition=d,this.type=1}}a.Showing=u})(n||(n={}));let t=i=class extends S.Disposable{constructor(u,h){super(),this._editor=u,this._onClick=this._register(new D.Emitter),this.onClick=this._onClick.event,this._state=n.Hidden,this._domNode=L.$("div.lightBulbWidget"),this._register(k.Gesture.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(r=>{const c=this._editor.getModel();(this.state.type!==1||!c||this.state.editorPosition.lineNumber>=c.getLineCount())&&this.hide()})),this._register(L.addStandardDisposableGenericMouseDownListener(this._domNode,r=>{if(this.state.type!==1)return;this._editor.focus(),r.preventDefault();const{top:c,height:o}=L.getDomNodePagePosition(this._domNode),d=this._editor.getOption(65);let l=Math.floor(d/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(r.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(63)&&!this._editor.getOption(63).enabled&&this.hide()})),this._register(D.Event.runAndSubscribe(h.onDidUpdateKeybindings,()=>{var r,c,o,d;this._preferredKbLabel=(c=(r=h.lookupKeybinding(g.autoFixCommandId))===null||r===void 0?void 0:r.getLabel())!==null&&c!==void 0?c:void 0,this._quickFixKbLabel=(d=(o=h.lookupKeybinding(g.quickFixCommandId))===null||o===void 0?void 0:o.getLabel())!==null&&d!==void 0?d:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(u,h,r){if(u.validActions.length<=0)return this.hide();const c=this._editor.getOptions();if(!c.get(63).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:d,column:l}=o.validatePosition(r),p=o.getOptions().tabSize,m=c.get(49),v=o.getLineContent(d),b=(0,_.computeIndentLevel)(v,p),w=m.spaceWidth*b>22,E=M=>M>2&&this._editor.getTopForLineNumber(M)===this._editor.getTopForLineNumber(M-1);let I=d;if(!w){if(d>1&&!E(d-1))I-=1;else if(!E(d+1))I+=1;else if(l*m.spaceWidth<22)return this.hide()}this.state=new n.Showing(u,h,r,{position:{lineNumber:I,column:1},preference:i._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==n.Hidden&&(this.state=n.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(u){this._state=u,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix&&(this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._preferredKbLabel)){this.title=C.localize(0,null,this._preferredKbLabel);return}this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._quickFixKbLabel?this.title=C.localize(1,null,this._quickFixKbLabel):this.title=C.localize(2,null)}set title(u){this._domNode.title=u}};e.LightBulbWidget=t,t.ID="editor.contrib.lightbulbWidget",t._posPref=[0],e.LightBulbWidget=t=i=ke([fe(1,s.IKeybindingService)],t)}),define(ne[802],se([1,0,16,145,659]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomIn",label:y.localize(0,null),alias:"Editor Font Zoom In",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()+1)}}class S extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomOut",label:y.localize(1,null),alias:"Editor Font Zoom Out",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()-1)}}class f extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomReset",label:y.localize(2,null),alias:"Editor Font Zoom Reset",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(0)}}(0,L.registerEditorAction)(D),(0,L.registerEditorAction)(S),(0,L.registerEditorAction)(f)}),define(ne[351],se([1,0,49,14,19,9,46,64,20,22,104,177,12,5,24,115,69,294,660,27,744,8,18,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOnTypeFormattingEdits=e.getDocumentFormattingEditsUntilResult=e.getDocumentRangeFormattingEditsUntilResult=e.formatDocumentWithProvider=e.formatDocumentWithSelectedProvider=e.formatDocumentRangesWithProvider=e.formatDocumentRangesWithSelectedProvider=e.FormattingConflicts=e.getRealAndSyntheticDocumentFormattersOrdered=e.alertFormattingEdits=void 0;function m(A){if(A=A.filter(W=>W.range),!A.length)return;let{range:N}=A[0];for(let W=1;W0&&n.Range.areIntersectingOrTouching(J[X-1],ie)?J[X-1]=n.Range.fromPositions(J[X-1].getStartPosition(),ie.getEndPosition()):X=J.push(ie);const H=ie=>we(this,void 0,void 0,function*(){var ae,ce;K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(ae=N.extensionId)===null||ae===void 0?void 0:ae.value,ie);const de=(yield N.provideDocumentRangeFormattingEdits(G,ie,G.getFormattingOptions(),Z.token))||[];return K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(ce=N.extensionId)===null||ce===void 0?void 0:ce.value,de),de}),B=(ie,ae)=>{if(!ie.length||!ae.length)return!1;const ce=ie.reduce((de,he)=>n.Range.plusRange(de,he.range),ie[0].range);if(!ae.some(de=>n.Range.intersectRanges(ce,de.range)))return!1;for(const de of ie)for(const he of ae)if(n.Range.intersectRanges(de.range,he.range))return!0;return!1},V=[],Y=[];try{if(typeof N.provideDocumentRangesFormattingEdits=="function"){K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(U=N.extensionId)===null||U===void 0?void 0:U.value,J);const ie=(yield N.provideDocumentRangesFormattingEdits(G,J,G.getFormattingOptions(),Z.token))||[];K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(j=N.extensionId)===null||j===void 0?void 0:j.value,ie),Y.push(ie)}else{for(const ie of J){if(Z.token.isCancellationRequested)return!0;Y.push(yield H(ie))}for(let ie=0;ie({text:ce.text,range:n.Range.lift(ce.range),forceMoveMarkers:!0})),ce=>{for(const{range:de}of ce)if(n.Range.areIntersectingOrTouching(de,ae))return[new t.Selection(de.startLineNumber,de.startColumn,de.endLineNumber,de.endColumn)];return null})}return!0})}e.formatDocumentRangesWithProvider=E;function I(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(d.IInstantiationService),j=A.get(l.ILanguageFeaturesService),R=(0,s.isCodeEditor)(N)?N.getModel():N,K=v(j.documentFormattingEditProvider,j.documentRangeFormattingEditProvider,R),G=yield b.select(K,R,F);G&&(O.report(G),yield U.invokeFunction(M,G,N,F,W))})}e.formatDocumentWithSelectedProvider=I;function M(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(a.IEditorWorkerService);let j,R;(0,s.isCodeEditor)(F)?(j=F.getModel(),R=new C.EditorStateCancellationTokenSource(F,5,void 0,W)):(j=F,R=new C.TextModelCancellationTokenSource(F,W));let K;try{const G=yield N.provideDocumentFormattingEdits(j,j.getFormattingOptions(),R.token);if(K=yield U.computeMoreMinimalEdits(j.uri,G),R.token.isCancellationRequested)return!0}finally{R.dispose()}if(!K||K.length===0)return!1;if((0,s.isCodeEditor)(F))h.FormattingEdit.execute(F,K,O!==2),O!==2&&(m(K),F.revealPositionInCenterIfOutsideViewport(F.getPosition(),1));else{const[{range:G}]=K,Z=new t.Selection(G.startLineNumber,G.startColumn,G.endLineNumber,G.endColumn);j.pushEditOperations([Z],K.map(J=>({text:J.text,range:n.Range.lift(J.range),forceMoveMarkers:!0})),J=>{for(const{range:X}of J)if(n.Range.areIntersectingOrTouching(X,Z))return[new t.Selection(X.startLineNumber,X.startColumn,X.endLineNumber,X.endColumn)];return null})}return!0})}e.formatDocumentWithProvider=M;function P(A,N,F,O,W,U){return we(this,void 0,void 0,function*(){const j=N.documentRangeFormattingEditProvider.ordered(F);for(const R of j){const K=yield Promise.resolve(R.provideDocumentRangeFormattingEdits(F,O,W,U)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(K))return yield A.computeMoreMinimalEdits(F.uri,K)}})}e.getDocumentRangeFormattingEditsUntilResult=P;function x(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=v(N.documentFormattingEditProvider,N.documentRangeFormattingEditProvider,F);for(const j of U){const R=yield Promise.resolve(j.provideDocumentFormattingEdits(F,O,W)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(R))return yield A.computeMoreMinimalEdits(F.uri,R)}})}e.getDocumentFormattingEditsUntilResult=x;function T(A,N,F,O,W,U,j){const R=N.onTypeFormattingEditProvider.ordered(F);return R.length===0||R[0].autoFormatTriggerCharacters.indexOf(W)<0?Promise.resolve(void 0):Promise.resolve(R[0].provideOnTypeFormattingEdits(F,O,W,U,j)).catch(D.onUnexpectedExternalError).then(K=>A.computeMoreMinimalEdits(F.uri,K))}e.getOnTypeFormattingEdits=T,c.CommandsRegistry.registerCommand("_executeFormatRangeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(n.Range.isIRange(O));const U=A.get(u.ITextModelService),j=A.get(a.IEditorWorkerService),R=A.get(l.ILanguageFeaturesService),K=yield U.createModelReference(F);try{return P(j,R,K.object.textEditorModel,n.Range.lift(O),W,y.CancellationToken.None)}finally{K.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatDocumentProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O]=N;(0,_.assertType)(g.URI.isUri(F));const W=A.get(u.ITextModelService),U=A.get(a.IEditorWorkerService),j=A.get(l.ILanguageFeaturesService),R=yield W.createModelReference(F);try{return x(U,j,R.object.textEditorModel,O,y.CancellationToken.None)}finally{R.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatOnTypeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W,U]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(i.Position.isIPosition(O)),(0,_.assertType)(typeof W=="string");const j=A.get(u.ITextModelService),R=A.get(a.IEditorWorkerService),K=A.get(l.ILanguageFeaturesService),G=yield j.createModelReference(F);try{return T(R,K,G.object.textEditorModel,i.Position.lift(O),W,U,y.CancellationToken.None)}finally{G.dispose()}})})}),define(ne[803],se([1,0,14,19,9,63,2,16,33,121,5,21,115,18,351,294,661,27,15,8,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let d=class{constructor(b,w,E){this._editor=b,this._languageFeaturesService=w,this._workerService=E,this._disposables=new S.DisposableStore,this._sessionDisposables=new S.DisposableStore,this._disposables.add(w.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(b.onDidChangeModel(()=>this._update())),this._disposables.add(b.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(b.onDidChangeConfiguration(I=>{I.hasChanged(55)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(55)||!this._editor.hasModel())return;const b=this._editor.getModel(),[w]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(b);if(!w||!w.autoFormatTriggerCharacters)return;const E=new g.CharacterSet;for(const I of w.autoFormatTriggerCharacters)E.add(I.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(I=>{const M=I.charCodeAt(I.length-1);E.has(M)&&this._trigger(String.fromCharCode(M))}))}_trigger(b){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const w=this._editor.getModel(),E=this._editor.getPosition(),I=new k.CancellationTokenSource,M=this._editor.onDidChangeModelContent(P=>{if(P.isFlush){I.cancel(),M.dispose();return}for(let x=0,T=P.changes.length;x{I.token.isCancellationRequested||(0,L.isNonEmptyArray)(P)&&(a.FormattingEdit.execute(this._editor,P,!0),(0,t.alertFormattingEdits)(P))}).finally(()=>{M.dispose()})}};d.ID="editor.contrib.autoFormat",d=ke([fe(1,n.ILanguageFeaturesService),fe(2,i.IEditorWorkerService)],d);let l=class{constructor(b,w,E){this.editor=b,this._languageFeaturesService=w,this._instantiationService=E,this._callOnDispose=new S.DisposableStore,this._callOnModel=new S.DisposableStore,this._callOnDispose.add(b.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(b.onDidChangeModel(()=>this._update())),this._callOnDispose.add(b.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(w.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(54)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:b})=>this._trigger(b)))}_trigger(b){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(t.formatDocumentRangesWithSelectedProvider,this.editor,b,2,o.Progress.None,k.CancellationToken.None).catch(y.onUnexpectedError))}};l.ID="editor.contrib.formatOnPaste",l=ke([fe(1,n.ILanguageFeaturesService),fe(2,c.IInstantiationService)],l);class p extends f.EditorAction{constructor(){super({id:"editor.action.formatDocument",label:u.localize(0,null),alias:"Format Document",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.notInCompositeEditor,s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(b,w){return we(this,void 0,void 0,function*(){if(w.hasModel()){const E=b.get(c.IInstantiationService);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentWithSelectedProvider,w,1,o.Progress.None,k.CancellationToken.None),250)}})}}class m extends f.EditorAction{constructor(){super({id:"editor.action.formatSelection",label:u.localize(1,null),alias:"Format Selection",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2084),weight:100},contextMenuOpts:{when:s.EditorContextKeys.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(b,w){return we(this,void 0,void 0,function*(){if(!w.hasModel())return;const E=b.get(c.IInstantiationService),I=w.getModel(),M=w.getSelections().map(x=>x.isEmpty()?new C.Range(x.startLineNumber,1,x.startLineNumber,I.getLineMaxColumn(x.startLineNumber)):x);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentRangesWithSelectedProvider,w,M,1,o.Progress.None,k.CancellationToken.None),250)})}}(0,f.registerEditorContribution)(d.ID,d,2),(0,f.registerEditorContribution)(l.ID,l,2),(0,f.registerEditorAction)(p),(0,f.registerEditorAction)(m),h.CommandsRegistry.registerCommand("editor.action.format",v=>we(void 0,void 0,void 0,function*(){const b=v.get(_.ICodeEditorService).getFocusedCodeEditor();if(!b||!b.hasModel())return;const w=v.get(h.ICommandService);b.getSelection().isEmpty()?yield w.executeCommand("editor.action.formatDocument"):yield w.executeCommand("editor.action.formatSelection")}))}),define(ne[247],se([1,0,14,19,9,16,18,155]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReferencesAtPosition=e.getTypeDefinitionsAtPosition=e.getImplementationsAtPosition=e.getDeclarationsAtPosition=e.getDefinitionsAtPosition=void 0;function _(a,u,h,r){return we(this,void 0,void 0,function*(){const o=h.ordered(a).map(l=>Promise.resolve(r(l,a,u)).then(void 0,p=>{(0,y.onUnexpectedExternalError)(p)})),d=yield Promise.all(o);return(0,L.coalesce)(d.flat())})}function g(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDefinition(o,d,r))}e.getDefinitionsAtPosition=g;function C(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDeclaration(o,d,r))}e.getDeclarationsAtPosition=C;function s(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideImplementation(o,d,r))}e.getImplementationsAtPosition=s;function i(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideTypeDefinition(o,d,r))}e.getTypeDefinitionsAtPosition=i;function n(a,u,h,r,c){return _(u,h,a,(o,d,l)=>we(this,void 0,void 0,function*(){const p=yield o.provideReferences(d,l,{includeDeclaration:!0},c);if(!r||!p||p.length!==2)return p;const m=yield o.provideReferences(d,l,{includeDeclaration:!1},c);return m&&m.length===1?m:p}))}e.getReferencesAtPosition=n;function t(a){return we(this,void 0,void 0,function*(){const u=yield a(),h=new f.ReferencesModel(u,""),r=h.references.map(c=>c.link);return h.dispose(),r})}(0,D.registerModelAndPositionCommand)("_executeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=g(r.definitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeTypeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=i(r.typeDefinitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeDeclarationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=C(r.declarationProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeReferenceProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=n(r.referenceProvider,u,h,!1,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeImplementationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=s(r.implementationProvider,u,h,k.CancellationToken.None);return t(()=>c)})}),define(ne[804],se([1,0,6,2,45,16,33,5,670,15,50,8,34,118,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISymbolNavigationService=e.ctxHasSymbols=void 0,e.ctxHasSymbols=new g.RawContextKey("hasSymbols",!1,(0,_.localize)(0,null)),e.ISymbolNavigationService=(0,s.createDecorator)("ISymbolNavigationService");let a=class{constructor(r,c,o,d){this._editorService=c,this._notificationService=o,this._keybindingService=d,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=e.ctxHasSymbols.bindTo(r)}reset(){var r,c;this._ctxHasSymbols.reset(),(r=this._currentState)===null||r===void 0||r.dispose(),(c=this._currentMessage)===null||c===void 0||c.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(r){const c=r.parent.parent;if(c.references.length<=1){this.reset();return}this._currentModel=c,this._currentIdx=c.references.indexOf(r),this._ctxHasSymbols.set(!0),this._showMessage();const o=new u(this._editorService),d=o.onDidChange(l=>{if(this._ignoreEditorChange)return;const p=this._editorService.getActiveCodeEditor();if(!p)return;const m=p.getModel(),v=p.getPosition();if(!m||!v)return;let b=!1,w=!1;for(const E of c.references)if((0,y.isEqual)(E.uri,m.uri))b=!0,w=w||f.Range.containsPosition(E.range,v);else if(b)break;(!b||!w)&&this.reset()});this._currentState=(0,k.combinedDisposable)(o,d)}revealNext(r){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const c=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:c.uri,options:{selection:f.Range.collapseToStart(c.range),selectionRevealType:3}},r).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var r;(r=this._currentMessage)===null||r===void 0||r.dispose();const c=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),o=c?(0,_.localize)(1,null,this._currentIdx+1,this._currentModel.references.length,c.getLabel()):(0,_.localize)(2,null,this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(o)}};a=ke([fe(0,g.IContextKeyService),fe(1,S.ICodeEditorService),fe(2,t.INotificationService),fe(3,i.IKeybindingService)],a),(0,C.registerSingleton)(e.ISymbolNavigationService,a,1),(0,D.registerEditorCommand)(new class extends D.EditorCommand{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:e.ctxHasSymbols,kbOpts:{weight:100,primary:70}})}runEditorCommand(h,r){return h.get(e.ISymbolNavigationService).revealNext(r)}}),n.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:e.ctxHasSymbols,primary:9,handler(h){h.get(e.ISymbolNavigationService).reset()}});let u=class{constructor(r){this._listener=new Map,this._disposables=new k.DisposableStore,this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._disposables.add(r.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(r.onCodeEditorAdd(this._onDidAddEditor,this)),r.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,k.dispose)(this._listener.values())}_onDidAddEditor(r){this._listener.set(r,(0,k.combinedDisposable)(r.onDidChangeCursorPosition(c=>this._onDidChange.fire({editor:r})),r.onDidChangeModelContent(c=>this._onDidChange.fire({editor:r}))))}_onDidRemoveEditor(r){var c;(c=this._listener.get(r))===null||c===void 0||c.dispose(),this._listener.delete(r)}};u=ke([fe(0,S.ICodeEditorService)],u)}),define(ne[352],se([1,0,13,19,9,16,18]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverPromise=e.getHover=e.HoverProviderResult=void 0;class f{constructor(n,t,a){this.provider=n,this.hover=t,this.ordinal=a}}e.HoverProviderResult=f;function _(i,n,t,a,u){return we(this,void 0,void 0,function*(){try{const h=yield Promise.resolve(i.provideHover(t,a,u));if(h&&s(h))return new f(i,h,n)}catch(h){(0,y.onUnexpectedExternalError)(h)}})}function g(i,n,t,a){const h=i.ordered(n).map((r,c)=>_(r,c,n,t,a));return L.AsyncIterableObject.fromPromises(h).coalesce()}e.getHover=g;function C(i,n,t,a){return g(i,n,t,a).map(u=>u.hover).toPromise()}e.getHoverPromise=C,(0,D.registerModelAndPositionCommand)("_executeHoverProvider",(i,n,t)=>{const a=i.get(S.ILanguageFeaturesService);return C(a.hoverProvider,n,t,k.CancellationToken.None)});function s(i){const n=typeof i.range<"u",t=typeof i.contents<"u"&&i.contents&&i.contents.length>0;return n&&t}}),define(ne[248],se([1,0,7,14,13,55,2,117,12,5,41,352,672,28,56,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderMarkdownHovers=e.MarkdownHoverParticipant=e.MarkdownHover=void 0;const u=L.$;class h{constructor(d,l,p,m,v){this.owner=d,this.range=l,this.contents=p,this.isBeforeContent=m,this.ordinal=v}isValidForHoverAnchor(d){return d.type===1&&this.range.startColumn<=d.range.startColumn&&this.range.endColumn>=d.range.endColumn}}e.MarkdownHover=h;let r=class{constructor(d,l,p,m,v){this._editor=d,this._languageService=l,this._openerService=p,this._configurationService=m,this._languageFeaturesService=v,this.hoverOrdinal=3}createLoadingMessage(d){return new h(this,d.range,[new D.MarkdownString().appendText(i.localize(0,null))],!1,2e3)}computeSync(d,l){if(!this._editor.hasModel()||d.type!==1)return[];const p=this._editor.getModel(),m=d.range.startLineNumber,v=p.getLineMaxColumn(m),b=[];let w=1e3;const E=p.getLineLength(m),I=p.getLanguageIdAtPosition(d.range.startLineNumber,d.range.startColumn),M=this._editor.getOption(115),P=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:I});let x=!1;M>=0&&E>M&&d.range.startColumn>=M&&(x=!0,b.push(new h(this,d.range,[{value:i.localize(1,null)}],!1,w++))),!x&&typeof P=="number"&&E>=P&&b.push(new h(this,d.range,[{value:i.localize(2,null)}],!1,w++));let T=!1;for(const A of l){const N=A.range.startLineNumber===m?A.range.startColumn:1,F=A.range.endLineNumber===m?A.range.endColumn:v,O=A.options.hoverMessage;if(!O||(0,D.isEmptyMarkdownString)(O))continue;A.options.beforeContentClassName&&(T=!0);const W=new g.Range(d.range.startLineNumber,N,d.range.startLineNumber,F);b.push(new h(this,W,(0,k.asArray)(O),T,w++))}return b}computeAsync(d,l,p){if(!this._editor.hasModel()||d.type!==1)return y.AsyncIterableObject.EMPTY;const m=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(m))return y.AsyncIterableObject.EMPTY;const v=new _.Position(d.range.startLineNumber,d.range.startColumn);return(0,s.getHover)(this._languageFeaturesService.hoverProvider,m,v,p).filter(b=>!(0,D.isEmptyMarkdownString)(b.hover.contents)).map(b=>{const w=b.hover.range?g.Range.lift(b.hover.range):d.range;return new h(this,w,b.hover.contents,!1,b.ordinal)})}renderHoverParts(d,l){return c(d,l,this._editor,this._languageService,this._openerService)}};e.MarkdownHoverParticipant=r,e.MarkdownHoverParticipant=r=ke([fe(1,C.ILanguageService),fe(2,t.IOpenerService),fe(3,n.IConfigurationService),fe(4,a.ILanguageFeaturesService)],r);function c(o,d,l,p,m){d.sort((b,w)=>b.ordinal-w.ordinal);const v=new S.DisposableStore;for(const b of d)for(const w of b.contents){if((0,D.isEmptyMarkdownString)(w))continue;const E=u("div.hover-row.markdown-hover"),I=L.append(E,u("div.hover-contents")),M=v.add(new f.MarkdownRenderer({editor:l},p,m));v.add(M.onDidRenderAsync(()=>{I.className="hover-contents code-hover-contents",o.onContentsChanged()}));const P=v.add(M.render(w));I.appendChild(P.element),o.fragment.appendChild(E)}return v}e.renderMarkdownHovers=c}),define(ne[805],se([1,0,2,11,16,245,73,5,24,21,32,51,295,675,71,202,243]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentationToTabsCommand=e.IndentationToSpacesCommand=e.AutoIndentOnPaste=e.AutoIndentOnPasteCommand=e.ReindentSelectedLinesAction=e.ReindentLinesAction=e.DetectIndentation=e.ChangeTabDisplaySize=e.IndentUsingSpaces=e.IndentUsingTabs=e.ChangeIndentationSizeAction=e.IndentationToTabsAction=e.IndentationToSpacesAction=e.getReindentEditOperations=void 0;function h(x,T,A,N,F){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return[];const O=T.getLanguageConfiguration(x.getLanguageId()).indentationRules;if(!O)return[];for(N=Math.min(N,x.getLineCount());A<=N&&O.unIndentedLinePattern;){const B=x.getLineContent(A);if(!O.unIndentedLinePattern.test(B))break;A++}if(A>N-1)return[];const{tabSize:W,indentSize:U,insertSpaces:j}=x.getOptions(),R=(B,V)=>(V=V||1,D.ShiftCommand.shiftIndent(B,B.length+V,W,U,j)),K=(B,V)=>(V=V||1,D.ShiftCommand.unshiftIndent(B,B.length+V,W,U,j)),G=[];let Z;const J=x.getLineContent(A);let X=J;if(F!=null){Z=F;const B=k.getLeadingWhitespace(J);X=Z+J.substring(B.length),O.decreaseIndentPattern&&O.decreaseIndentPattern.test(X)&&(Z=K(Z),X=Z+J.substring(B.length)),J!==X&&G.push(S.EditOperation.replaceMove(new _.Selection(A,1,A,B.length+1),(0,a.normalizeIndentation)(Z,U,j)))}else Z=k.getLeadingWhitespace(J);let H=Z;O.increaseIndentPattern&&O.increaseIndentPattern.test(X)?(H=R(H),Z=R(Z)):O.indentNextLinePattern&&O.indentNextLinePattern.test(X)&&(H=R(H)),A++;for(let B=A;B<=N;B++){const V=x.getLineContent(B),Y=k.getLeadingWhitespace(V),ie=H+V.substring(Y.length);O.decreaseIndentPattern&&O.decreaseIndentPattern.test(ie)&&(H=K(H),Z=K(Z)),Y!==H&&G.push(S.EditOperation.replaceMove(new _.Selection(B,1,B,Y.length+1),(0,a.normalizeIndentation)(H,U,j))),!(O.unIndentedLinePattern&&O.unIndentedLinePattern.test(V))&&(O.increaseIndentPattern&&O.increaseIndentPattern.test(ie)?(Z=R(Z),H=Z):O.indentNextLinePattern&&O.indentNextLinePattern.test(ie)?H=R(H):H=Z)}return G}e.getReindentEditOperations=h;class r extends y.EditorAction{constructor(){super({id:r.ID,label:n.localize(0,null),alias:"Convert Indentation to Spaces",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new M(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!0})}}e.IndentationToSpacesAction=r,r.ID="editor.action.indentationToSpaces";class c extends y.EditorAction{constructor(){super({id:c.ID,label:n.localize(1,null),alias:"Convert Indentation to Tabs",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new P(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!1})}}e.IndentationToTabsAction=c,c.ID="editor.action.indentationToTabs";class o extends y.EditorAction{constructor(T,A,N){super(N),this.insertSpaces=T,this.displaySizeOnly=A}run(T,A){const N=T.get(t.IQuickInputService),F=T.get(s.IModelService),O=A.getModel();if(!O)return;const W=F.getCreationOptions(O.getLanguageId(),O.uri,O.isForSimpleWidget),U=O.getOptions(),j=[1,2,3,4,5,6,7,8].map(K=>({id:K.toString(),label:K.toString(),description:K===W.tabSize&&K===U.tabSize?n.localize(2,null):K===W.tabSize?n.localize(3,null):K===U.tabSize?n.localize(4,null):void 0})),R=Math.min(O.getOptions().tabSize-1,7);setTimeout(()=>{N.pick(j,{placeHolder:n.localize(5,null),activeItem:j[R]}).then(K=>{if(K&&O&&!O.isDisposed()){const G=parseInt(K.label,10);this.displaySizeOnly?O.updateOptions({tabSize:G}):O.updateOptions({tabSize:G,indentSize:G,insertSpaces:this.insertSpaces})}})},50)}}e.ChangeIndentationSizeAction=o;class d extends o{constructor(){super(!1,!1,{id:d.ID,label:n.localize(6,null),alias:"Indent Using Tabs",precondition:void 0})}}e.IndentUsingTabs=d,d.ID="editor.action.indentUsingTabs";class l extends o{constructor(){super(!0,!1,{id:l.ID,label:n.localize(7,null),alias:"Indent Using Spaces",precondition:void 0})}}e.IndentUsingSpaces=l,l.ID="editor.action.indentUsingSpaces";class p extends o{constructor(){super(!0,!0,{id:p.ID,label:n.localize(8,null),alias:"Change Tab Display Size",precondition:void 0})}}e.ChangeTabDisplaySize=p,p.ID="editor.action.changeTabDisplaySize";class m extends y.EditorAction{constructor(){super({id:m.ID,label:n.localize(9,null),alias:"Detect Indentation from Content",precondition:void 0})}run(T,A){const N=T.get(s.IModelService),F=A.getModel();if(!F)return;const O=N.getCreationOptions(F.getLanguageId(),F.uri,F.isForSimpleWidget);F.detectIndentation(O.insertSpaces,O.tabSize)}}e.DetectIndentation=m,m.ID="editor.action.detectIndentation";class v extends y.EditorAction{constructor(){super({id:"editor.action.reindentlines",label:n.localize(10,null),alias:"Reindent Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=h(F,N,1,F.getLineCount());O.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,O),A.pushUndoStop())}}e.ReindentLinesAction=v;class b extends y.EditorAction{constructor(){super({id:"editor.action.reindentselectedlines",label:n.localize(11,null),alias:"Reindent Selected Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=A.getSelections();if(O===null)return;const W=[];for(const U of O){let j=U.startLineNumber,R=U.endLineNumber;if(j!==R&&U.endColumn===1&&R--,j===1){if(j===R)continue}else j--;const K=h(F,N,j,R);W.push(...K)}W.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,W),A.pushUndoStop())}}e.ReindentSelectedLinesAction=b;class w{constructor(T,A){this._initialSelection=A,this._edits=[],this._selectionId=null;for(const N of T)N.range&&typeof N.text=="string"&&this._edits.push(N)}getEditOperations(T,A){for(const F of this._edits)A.addEditOperation(f.Range.lift(F.range),F.text);let N=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!1))),N||(this._selectionId=A.trackSelection(this._initialSelection))}computeCursorState(T,A){return A.getTrackedSelection(this._selectionId)}}e.AutoIndentOnPasteCommand=w;let E=class{constructor(T,A){this.editor=T,this._languageConfigurationService=A,this.callOnDispose=new L.DisposableStore,this.callOnModel=new L.DisposableStore,this.callOnDispose.add(T.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(T.onDidChangeModel(()=>this.update())),this.callOnDispose.add(T.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(this.editor.getOption(11)<4||this.editor.getOption(54))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:T})=>{this.trigger(T)}))}trigger(T){const A=this.editor.getSelections();if(A===null||A.length>1)return;const N=this.editor.getModel();if(!N||!N.tokenization.isCheapToTokenize(T.getStartPosition().lineNumber))return;const F=this.editor.getOption(11),{tabSize:O,indentSize:W,insertSpaces:U}=N.getOptions(),j=[],R={shiftIndent:J=>D.ShiftCommand.shiftIndent(J,J.length+1,O,W,U),unshiftIndent:J=>D.ShiftCommand.unshiftIndent(J,J.length+1,O,W,U)};let K=T.startLineNumber;for(;K<=T.endLineNumber;){if(this.shouldIgnoreLine(N,K)){K++;continue}break}if(K>T.endLineNumber)return;let G=N.getLineContent(K);if(!/\S/.test(G.substring(0,T.startColumn-1))){const J=(0,u.getGoodIndentForLine)(F,N,N.getLanguageId(),K,R,this._languageConfigurationService);if(J!==null){const X=k.getLeadingWhitespace(G),H=i.getSpaceCnt(J,O),B=i.getSpaceCnt(X,O);if(H!==B){const V=i.generateIndent(H,O,U);j.push({range:new f.Range(K,1,K,X.length+1),text:V}),G=V+G.substr(X.length)}else{const V=(0,u.getIndentMetadata)(N,K,this._languageConfigurationService);if(V===0||V===8)return}}}const Z=K;for(;KN.tokenization.getLineTokens(H),getLanguageId:()=>N.getLanguageId(),getLanguageIdAtPosition:(H,B)=>N.getLanguageIdAtPosition(H,B)},getLineContent:H=>H===Z?G:N.getLineContent(H)},X=(0,u.getGoodIndentForLine)(F,J,N.getLanguageId(),K+1,R,this._languageConfigurationService);if(X!==null){const H=i.getSpaceCnt(X,O),B=i.getSpaceCnt(k.getLeadingWhitespace(N.getLineContent(K+1)),O);if(H!==B){const V=H-B;for(let Y=K+1;Y<=T.endLineNumber;Y++){const ie=N.getLineContent(Y),ae=k.getLeadingWhitespace(ie),de=i.getSpaceCnt(ae,O)+V,he=i.generateIndent(de,O,U);he!==ae&&j.push({range:new f.Range(Y,1,Y,ae.length+1),text:he})}}}}if(j.length>0){this.editor.pushUndoStop();const J=new w(j,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",J),this.editor.pushUndoStop()}}shouldIgnoreLine(T,A){T.tokenization.forceTokenization(A);const N=T.getLineFirstNonWhitespaceColumn(A);if(N===0)return!0;const F=T.tokenization.getLineTokens(A);if(F.getCount()>0){const O=F.findTokenIndexAtOffset(N);if(O>=0&&F.getStandardTokenType(O)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};e.AutoIndentOnPaste=E,E.ID="editor.contrib.autoIndentOnPaste",e.AutoIndentOnPaste=E=ke([fe(1,C.ILanguageConfigurationService)],E);function I(x,T,A,N){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return;let F="";for(let W=0;W({selection:he,index:ue,ignore:!1}));ae.sort((he,ue)=>C.Range.compareRangesUsingStarts(he.selection,ue.selection));let ce=ae[0];for(let he=1;henew g.Position(ue.positionLineNumber,ue.positionColumn)));const de=ie.getSelection();if(de===null)return;const he=new S.TrimTrailingWhitespaceCommand(de,ce);ie.pushUndoStop(),ie.executeCommands(this.id,[he]),ie.pushUndoStop()}}e.TrimTrailingWhitespaceAction=M,M.ID="editor.action.trimTrailingWhitespace";class P extends y.EditorAction{constructor(){super({id:"editor.action.deleteLines",label:u.localize(14,null),alias:"Delete Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:3113,weight:100}})}run(Y,ie){if(!ie.hasModel())return;const ae=this._getLinesToRemove(ie),ce=ie.getModel();if(ce.getLineCount()===1&&ce.getLineMaxColumn(1)===1)return;let de=0;const he=[],ue=[];for(let te=0,q=ae.length;te1&&(ee-=1,re=ce.getLineMaxColumn(ee)),he.push(_.EditOperation.replace(new s.Selection(ee,re,$,oe),"")),ue.push(new s.Selection(ee-de,z.positionColumn,ee-de,z.positionColumn)),de+=z.endLineNumber-z.startLineNumber+1}ie.pushUndoStop(),ie.executeEdits(this.id,he,ue),ie.pushUndoStop()}_getLinesToRemove(Y){const ie=Y.getSelections().map(de=>{let he=de.endLineNumber;return de.startLineNumberde.startLineNumber===he.startLineNumber?de.endLineNumber-he.endLineNumber:de.startLineNumber-he.startLineNumber);const ae=[];let ce=ie[0];for(let de=1;de=ie[de].startLineNumber?ce.endLineNumber=ie[de].endLineNumber:(ae.push(ce),ce=ie[de]);return ae.push(ce),ae}}e.DeleteLinesAction=P;class x extends y.EditorAction{constructor(){super({id:"editor.action.indentLines",label:u.localize(15,null),alias:"Indent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2142,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.indent(ae.cursorConfig,ie.getModel(),ie.getSelections())),ie.pushUndoStop())}}e.IndentLinesAction=x;class T extends y.EditorAction{constructor(){super({id:"editor.action.outdentLines",label:u.localize(16,null),alias:"Outdent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2140,weight:100}})}run(Y,ie){k.CoreEditingCommands.Outdent.runEditorCommand(Y,ie,null)}}class A extends y.EditorAction{constructor(){super({id:"editor.action.insertLineBefore",label:u.localize(17,null),alias:"Insert Line Above",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertBefore(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineBeforeAction=A;class N extends y.EditorAction{constructor(){super({id:"editor.action.insertLineAfter",label:u.localize(18,null),alias:"Insert Line Below",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertAfter(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineAfterAction=N;class F extends y.EditorAction{run(Y,ie){if(!ie.hasModel())return;const ae=ie.getSelection(),ce=this._getRangesToDelete(ie),de=[];for(let te=0,q=ce.length-1;te_.EditOperation.replace(te,""));ie.pushUndoStop(),ie.executeEdits(this.id,ue,he),ie.pushUndoStop()}}e.AbstractDeleteAllToBoundaryAction=F;class O extends F{constructor(){super({id:"deleteAllLeft",label:u.localize(19,null),alias:"Delete All Left",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];let de=0;return ie.forEach(he=>{let ue;if(he.endColumn===1&&de>0){const te=he.startLineNumber-de;ue=new s.Selection(te,he.startColumn,te,he.startColumn)}else ue=new s.Selection(he.startLineNumber,he.startColumn,he.startLineNumber,he.startColumn);de+=he.endLineNumber-he.startLineNumber,he.intersectRanges(Y)?ae=ue:ce.push(ue)}),ae&&ce.unshift(ae),ce}_getRangesToDelete(Y){const ie=Y.getSelections();if(ie===null)return[];let ae=ie;const ce=Y.getModel();return ce===null?[]:(ae.sort(C.Range.compareRangesUsingStarts),ae=ae.map(de=>{if(de.isEmpty())if(de.startColumn===1){const he=Math.max(1,de.startLineNumber-1),ue=de.startLineNumber===1?1:ce.getLineContent(he).length+1;return new C.Range(he,ue,de.startLineNumber,1)}else return new C.Range(de.startLineNumber,1,de.startLineNumber,de.startColumn);else return new C.Range(de.startLineNumber,1,de.endLineNumber,de.endColumn)}),ae)}}e.DeleteAllLeftAction=O;class W extends F{constructor(){super({id:"deleteAllRight",label:u.localize(20,null),alias:"Delete All Right",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];for(let de=0,he=ie.length,ue=0;de{if(de.isEmpty()){const he=ie.getLineMaxColumn(de.startLineNumber);return de.startColumn===he?new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber+1,1):new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber,he)}return de});return ce.sort(C.Range.compareRangesUsingStarts),ce}}e.DeleteAllRightAction=W;class U extends y.EditorAction{constructor(){super({id:"editor.action.joinLines",label:u.localize(21,null),alias:"Join Lines",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;let ce=ie.getSelection();if(ce===null)return;ae.sort(C.Range.compareRangesUsingStarts);const de=[],he=ae.reduce(($,re)=>$.isEmpty()?$.endLineNumber===re.startLineNumber?(ce.equalsSelection($)&&(ce=re),re):re.startLineNumber>$.endLineNumber+1?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn):re.startLineNumber>$.endLineNumber?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn));de.push(he);const ue=ie.getModel();if(ue===null)return;const te=[],q=[];let z=ce,ee=0;for(let $=0,re=de.length;$=1){let me=!0;Ee===""&&(me=!1),me&&(Ee.charAt(Ee.length-1)===" "||Ee.charAt(Ee.length-1)===" ")&&(me=!1,Ee=Ee.replace(/[\s\uFEFF\xA0]+$/g," "));const le=Fe.substr(_e-1);Ee+=(me?" ":"")+le,me?Se=le.length+1:Se=le.length}else Se=0}const Me=new C.Range(ge,ve,Le,De);if(!Me.isEmpty()){let Pe;oe.isEmpty()?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(Me.startLineNumber-ee,Ee.length-Se+1,ge-ee,Ee.length-Se+1)):oe.startLineNumber===oe.endLineNumber?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.endLineNumber-ee,oe.endColumn)):(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.startLineNumber-ee,Ee.length-ye)),C.Range.intersectRanges(Me,ce)!==null?z=Pe:q.push(Pe)}ee+=Me.endLineNumber-Me.startLineNumber}q.unshift(z),ie.pushUndoStop(),ie.executeEdits(this.id,te,q),ie.pushUndoStop()}}e.JoinLinesAction=U;class j extends y.EditorAction{constructor(){super({id:"editor.action.transpose",label:u.localize(22,null),alias:"Transpose Characters around the Cursor",precondition:i.EditorContextKeys.writable})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=[];for(let he=0,ue=ae.length;he=z){if(q.lineNumber===ce.getLineCount())continue;const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommand(new s.Selection(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$))}else{const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber,q.column+1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommandThatPreservesSelection(ee,$,new s.Selection(q.lineNumber,q.column+1,q.lineNumber,q.column+1)))}}ie.pushUndoStop(),ie.executeCommands(this.id,de),ie.pushUndoStop()}}e.TransposeAction=j;class R extends y.EditorAction{run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=ie.getOption(128),he=[];for(const ue of ae)if(ue.isEmpty()){const te=ue.getStartPosition(),q=ie.getConfiguredWordAtPosition(te);if(!q)continue;const z=new C.Range(te.lineNumber,q.startColumn,te.lineNumber,q.endColumn),ee=ce.getValueInRange(z);he.push(_.EditOperation.replace(z,this._modifyText(ee,de)))}else{const te=ce.getValueInRange(ue);he.push(_.EditOperation.replace(ue,this._modifyText(te,de)))}ie.pushUndoStop(),ie.executeEdits(this.id,he),ie.pushUndoStop()}}e.AbstractCaseAction=R;class K extends R{constructor(){super({id:"editor.action.transformToUppercase",label:u.localize(23,null),alias:"Transform to Uppercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleUpperCase()}}e.UpperCaseAction=K;class G extends R{constructor(){super({id:"editor.action.transformToLowercase",label:u.localize(24,null),alias:"Transform to Lowercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleLowerCase()}}e.LowerCaseAction=G;class Z{constructor(Y,ie){this._pattern=Y,this._flags=ie,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch{}}return this._actual}isSupported(){return this.get()!==null}}class J extends R{constructor(){super({id:"editor.action.transformToTitlecase",label:u.localize(25,null),alias:"Transform to Title Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=J.titleBoundary.get();return ae?Y.toLocaleLowerCase().replace(ae,ce=>ce.toLocaleUpperCase()):Y}}e.TitleCaseAction=J,J.titleBoundary=new Z("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class X extends R{constructor(){super({id:"editor.action.transformToSnakecase",label:u.localize(26,null),alias:"Transform to Snake Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=X.caseBoundary.get(),ce=X.singleLetters.get();return!ae||!ce?Y:Y.replace(ae,"$1_$2").replace(ce,"$1_$2$3").toLocaleLowerCase()}}e.SnakeCaseAction=X,X.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),X.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class H extends R{constructor(){super({id:"editor.action.transformToCamelcase",label:u.localize(27,null),alias:"Transform to Camel Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=H.wordBoundary.get();if(!ae)return Y;const ce=Y.split(ae);return ce.shift()+ce.map(he=>he.substring(0,1).toLocaleUpperCase()+he.substring(1)).join("")}}e.CamelCaseAction=H,H.wordBoundary=new Z("[_\\s-]","gm");class B extends R{static isSupported(){return[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(ie=>ie.isSupported())}constructor(){super({id:"editor.action.transformToKebabcase",label:u.localize(28,null),alias:"Transform to Kebab Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=B.caseBoundary.get(),ce=B.singleLetters.get(),de=B.underscoreBoundary.get();return!ae||!ce||!de?Y:Y.replace(de,"$1-$3").replace(ae,"$1-$2").replace(ce,"$1-$2").toLocaleLowerCase()}}e.KebabCaseAction=B,B.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),B.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),B.underscoreBoundary=new Z("(\\S)(_)(\\S)","gm"),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),(0,y.registerEditorAction)(A),(0,y.registerEditorAction)(N),(0,y.registerEditorAction)(O),(0,y.registerEditorAction)(W),(0,y.registerEditorAction)(U),(0,y.registerEditorAction)(j),(0,y.registerEditorAction)(K),(0,y.registerEditorAction)(G),X.caseBoundary.isSupported()&&X.singleLetters.isSupported()&&(0,y.registerEditorAction)(X),H.wordBoundary.isSupported()&&(0,y.registerEditorAction)(H),J.titleBoundary.isSupported()&&(0,y.registerEditorAction)(J),B.isSupported()&&(0,y.registerEditorAction)(B)}),define(ne[808],se([1,0,2,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class y extends L.Disposable{constructor(S){super(),this._editor=S,this._register(this._editor.onMouseDown(f=>{const _=this._editor.getOption(115);_>=0&&f.target.type===6&&f.target.position.column>=_&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}y.ID="editor.contrib.longLinesHelper",(0,k.registerEditorContribution)(y.ID,y,2)}),define(ne[190],se([1,0,183,49,6,55,2,16,5,117,686,15,56,7,456]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.MessageController=void 0;let a=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d){this._openerService=d,this._messageWidget=new S.MutableDisposable,this._messageListeners=new S.DisposableStore,this._mouseOverMessage=!1,this._editor=c,this._visible=t.MESSAGE_VISIBLE.bindTo(o)}dispose(){var c;(c=this._message)===null||c===void 0||c.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(c,o){(0,k.alert)((0,D.isMarkdownString)(c)?c.value:c),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=(0,D.isMarkdownString)(c)?(0,L.renderMarkdown)(c,{actionHandler:{callback:l=>(0,g.openLinkFromMarkdown)(this._openerService,l,(0,D.isMarkdownString)(c)?c.isTrusted:void 0),disposables:this._messageListeners}}):void 0,this._messageWidget.value=new h(this._editor,o,typeof c=="string"?c:this._message.element),this._messageListeners.add(y.Event.debounce(this._editor.onDidBlurEditorText,(l,p)=>p,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&n.isAncestor(document.activeElement,this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let d;this._messageListeners.add(this._editor.onMouseMove(l=>{l.target.position&&(d?d.containsPosition(l.target.position)||this.closeMessage():d=new _.Range(o.lineNumber-3,1,l.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(h.fadeOut(this._messageWidget.value))}};e.MessageController=a,a.ID="editor.contrib.messageController",a.MESSAGE_VISIBLE=new s.RawContextKey("messageVisible",!1,C.localize(0,null)),e.MessageController=a=t=ke([fe(1,s.IContextKeyService),fe(2,i.IOpenerService)],a);const u=f.EditorCommand.bindToContribution(a.get);(0,f.registerEditorCommand)(new u({id:"leaveEditorMessage",precondition:a.MESSAGE_VISIBLE,handler:r=>r.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class h{static fadeOut(c){const o=()=>{c.dispose(),clearTimeout(d),c.getDomNode().removeEventListener("animationend",o)},d=setTimeout(o,110);return c.getDomNode().addEventListener("animationend",o),c.getDomNode().classList.add("fadeOut"),{dispose:o}}constructor(c,{lineNumber:o,column:d},l){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=c,this._editor.revealLinesInCenterIfOutsideViewport(o,o,0),this._position={lineNumber:o,column:d},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const p=document.createElement("div");p.classList.add("anchor","top"),this._domNode.appendChild(p);const m=document.createElement("div");typeof l=="string"?(m.classList.add("message"),m.textContent=l):(l.classList.add("message"),m.appendChild(l)),this._domNode.appendChild(m);const v=document.createElement("div");v.classList.add("anchor","below"),this._domNode.appendChild(v),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(c){this._domNode.classList.toggle("below",c===2)}}(0,f.registerEditorContribution)(a.ID,a,4)}),define(ne[809],se([1,0,55,2,16,190,693]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReadOnlyMessageController=void 0;class f extends k.Disposable{constructor(g){super(),this.editor=g,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){const g=D.MessageController.get(this.editor);if(g&&this.editor.hasModel()){let C=this.editor.getOptions().get(90);C||(this.editor.isSimpleWidget?C=new L.MarkdownString(S.localize(0,null)):C=new L.MarkdownString(S.localize(1,null))),g.showMessage(C,this.editor.getPosition())}}}e.ReadOnlyMessageController=f,f.ID="editor.contrib.readOnlyMessageController",(0,y.registerEditorContribution)(f.ID,f,2)}),define(ne[810],se([1,0,14,19,9,16,12,5,24,21,298,547,696,30,27,18,69,20,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.provideSelectionRanges=e.SmartSelectController=void 0;class o{constructor(w,E){this.index=w,this.ranges=E}mov(w){const E=this.index+(w?1:-1);if(E<0||E>=this.ranges.length)return this;const I=new o(E,this.ranges);return I.ranges[E].equalsRange(this.ranges[this.index])?I.mov(w):I}}let d=c=class{static get(w){return w.getContribution(c.ID)}constructor(w,E){this._editor=w,this._languageFeaturesService=E,this._ignoreSelection=!1}dispose(){var w;(w=this._selectionListener)===null||w===void 0||w.dispose()}run(w){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const E=this._editor.getSelections(),I=this._editor.getModel();if(this._state||(yield v(this._languageFeaturesService.selectionRangeProvider,I,E.map(P=>P.getPosition()),this._editor.getOption(111),k.CancellationToken.None).then(P=>{var x;if(!(!L.isNonEmptyArray(P)||P.length!==E.length)&&!(!this._editor.hasModel()||!L.equals(this._editor.getSelections(),E,(T,A)=>T.equalsSelection(A)))){for(let T=0;TA.containsPosition(E[T].getStartPosition())&&A.containsPosition(E[T].getEndPosition())),P[T].unshift(E[T]);this._state=P.map(T=>new o(0,T)),(x=this._selectionListener)===null||x===void 0||x.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var T;this._ignoreSelection||((T=this._selectionListener)===null||T===void 0||T.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(P=>P.mov(w));const M=this._state.map(P=>_.Selection.fromPositions(P.ranges[P.index].getStartPosition(),P.ranges[P.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(M)}finally{this._ignoreSelection=!1}})}};e.SmartSelectController=d,d.ID="editor.contrib.smartSelectController",e.SmartSelectController=d=c=ke([fe(1,a.ILanguageFeaturesService)],d);class l extends D.EditorAction{constructor(w,E){super(E),this._forward=w}run(w,E){return we(this,void 0,void 0,function*(){const I=d.get(E);I&&(yield I.run(this._forward))})}}class p extends l{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:i.localize(0,null),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(1,null),order:2}})}}t.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");class m extends l{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:i.localize(2,null),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(3,null),order:3}})}}(0,D.registerEditorContribution)(d.ID,d,4),(0,D.registerEditorAction)(p),(0,D.registerEditorAction)(m);function v(b,w,E,I,M){return we(this,void 0,void 0,function*(){const P=b.all(w).concat(new s.WordSelectionRangeProvider(I.selectSubwords));P.length===1&&P.unshift(new C.BracketSelectionRangeProvider);const x=[],T=[];for(const A of P)x.push(Promise.resolve(A.provideSelectionRanges(w,E,M)).then(N=>{if(L.isNonEmptyArray(N)&&N.length===E.length)for(let F=0;F{if(A.length===0)return[];A.sort((W,U)=>S.Position.isBefore(W.getStartPosition(),U.getStartPosition())?1:S.Position.isBefore(U.getStartPosition(),W.getStartPosition())||S.Position.isBefore(W.getEndPosition(),U.getEndPosition())?-1:S.Position.isBefore(U.getEndPosition(),W.getEndPosition())?1:0);const N=[];let F;for(const W of A)(!F||f.Range.containsRange(W,F)&&!f.Range.equalsRange(W,F))&&(N.push(W),F=W);if(!I.selectLeadingAndTrailingWhitespace)return N;const O=[N[0]];for(let W=1;W0&&this.word.startColumn===m.startColumn&&this.word.endColumn=0&&I.resolve(L.CancellationToken.None)}return p}};r=ke([fe(5,i.ISuggestMemoryService)],r);let c=class{constructor(l,p,m,v){this._getEditorOption=l,this._languageFeatureService=p,this._clipboardService=m,this._suggestMemoryService=v}provideInlineCompletions(l,p,m,v){var b;return we(this,void 0,void 0,function*(){if(m.selectedSuggestionInfo)return;const w=this._getEditorOption(87,l);if(s.QuickSuggestionsOptions.isAllOff(w))return;l.tokenization.tokenizeIfCheap(p.lineNumber);const E=l.tokenization.getLineTokens(p.lineNumber),I=E.getStandardTokenType(E.findTokenIndexAtOffset(Math.max(p.column-1-1,0)));if(s.QuickSuggestionsOptions.valueFor(w,I)!=="inline")return;let M=l.getWordAtPosition(p),P;if(M?.word||(P=this._getTriggerCharacterInfo(l,p)),!M?.word&&!P||(M||(M=l.getWordUntilPosition(p)),M.endColumn!==p.column))return;let x;const T=l.getValueInRange(new _.Range(p.lineNumber,1,p.lineNumber,p.column));if(!P&&(!((b=this._lastResult)===null||b===void 0)&&b.canBeReused(l,p.lineNumber,M))){const A=new C.LineContext(T,p.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=A,this._lastResult.acquire(),x=this._lastResult}else{const A=yield(0,s.provideSuggestionItems)(this._languageFeatureService.completionProvider,l,p,new s.CompletionOptions(void 0,void 0,P?.providers),P&&{triggerKind:1,triggerCharacter:P.ch},v);let N;A.needsClipboard&&(N=yield this._clipboardService.readText());const F=new C.CompletionModel(A.items,p.column,new C.LineContext(T,0),n.WordDistance.None,this._getEditorOption(116,l),this._getEditorOption(110,l),{boostFullMatch:!1,firstMatchCanBeWeak:!1},N);x=new r(l,p.lineNumber,M,F,A,this._suggestMemoryService)}return this._lastResult=x,x})}handleItemDidShow(l,p){p.completion.resolve(L.CancellationToken.None)}freeInlineCompletions(l){l.release()}_getTriggerCharacterInfo(l,p){var m;const v=l.getValueInRange(_.Range.fromPositions({lineNumber:p.lineNumber,column:p.column-1},p)),b=new Set;for(const w of this._languageFeatureService.completionProvider.all(l))!((m=w.triggerCharacters)===null||m===void 0)&&m.includes(v)&&b.add(w);if(b.size!==0)return{providers:b,ch:v}}};e.SuggestInlineCompletions=c,e.SuggestInlineCompletions=c=ke([fe(1,g.ILanguageFeaturesService),fe(2,t.IClipboardService),fe(3,i.ISuggestMemoryService)],c);let o=u=class{constructor(l,p,m,v){if(++u._counter===1){const b=v.createInstance(c,(w,E)=>{var I;return((I=m.listCodeEditors().find(P=>P.getModel()===E))!==null&&I!==void 0?I:l).getOption(w)});u._disposable=p.inlineCompletionsProvider.register("*",b)}}dispose(){var l;--u._counter===0&&((l=u._disposable)===null||l===void 0||l.dispose(),u._disposable=void 0)}};o._counter=0,o=u=ke([fe(1,g.ILanguageFeaturesService),fe(2,f.ICodeEditorService),fe(3,a.IInstantiationService)],o),(0,S.registerEditorContribution)("suggest.inlineCompletionsProvider",o,0)}),define(ne[812],se([1,0,58,16,708]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends k.EditorAction{constructor(){super({id:"editor.action.forceRetokenize",label:y.localize(0,null),alias:"Developer: Force Retokenize",precondition:void 0})}run(f,_){if(!_.hasModel())return;const g=_.getModel();g.tokenization.resetTokenization();const C=new L.StopWatch;g.tokenization.forceTokenization(g.getLineCount()),C.stop(),console.log(`tokenization took ${C.elapsed()}`)}}(0,k.registerEditorAction)(D)}),define(ne[813],se([1,0,2,45,16,33,710,156]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnusualLineTerminatorsDetector=void 0;const _="ignoreUnusualLineTerminators";function g(i,n,t){i.setModelProperty(n.uri,_,t)}function C(i,n){return i.getModelProperty(n.uri,_)}let s=class extends L.Disposable{constructor(n,t,a){super(),this._editor=n,this._dialogService=t,this._codeEditorService=a,this._isPresentingDialog=!1,this._config=this._editor.getOption(124),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(124)&&(this._config=this._editor.getOption(124),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(u=>{u.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}_checkForUnusualLineTerminators(){return we(this,void 0,void 0,function*(){if(this._config==="off"||!this._editor.hasModel())return;const n=this._editor.getModel();if(!n.mightContainUnusualLineTerminators()||C(this._codeEditorService,n)===!0||this._editor.getOption(89))return;if(this._config==="auto"){n.removeUnusualLineTerminators(this._editor.getSelections());return}if(this._isPresentingDialog)return;let a;try{this._isPresentingDialog=!0,a=yield this._dialogService.confirm({title:S.localize(0,null),message:S.localize(1,null),detail:S.localize(2,null,(0,k.basename)(n.uri)),primaryButton:S.localize(3,null),cancelButton:S.localize(4,null)})}finally{this._isPresentingDialog=!1}if(!a.confirmed){g(this._codeEditorService,n,!0);return}n.removeUnusualLineTerminators(this._editor.getSelections())})}};e.UnusualLineTerminatorsDetector=s,s.ID="editor.contrib.unusualLineTerminatorsDetector",e.UnusualLineTerminatorsDetector=s=ke([fe(1,f.IDialogService),fe(2,D.ICodeEditorService)],s),(0,y.registerEditorContribution)(s.ID,s,1)}),define(ne[353],se([1,0,16,123,36,74,178,146,12,5,24,21,32,713,84,15,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeleteInsideWord=e.DeleteWordRight=e.DeleteWordEndRight=e.DeleteWordStartRight=e.DeleteWordLeft=e.DeleteWordEndLeft=e.DeleteWordStartLeft=e.DeleteWordRightCommand=e.DeleteWordLeftCommand=e.DeleteWordCommand=e.CursorWordAccessibilityRightSelect=e.CursorWordAccessibilityRight=e.CursorWordRightSelect=e.CursorWordEndRightSelect=e.CursorWordStartRightSelect=e.CursorWordRight=e.CursorWordEndRight=e.CursorWordStartRight=e.CursorWordAccessibilityLeftSelect=e.CursorWordAccessibilityLeft=e.CursorWordLeftSelect=e.CursorWordEndLeftSelect=e.CursorWordStartLeftSelect=e.CursorWordLeft=e.CursorWordEndLeft=e.CursorWordStartLeft=e.WordRightCommand=e.WordLeftCommand=e.MoveWordCommand=void 0;class h extends L.EditorCommand{constructor(H){super(H),this._inSelectionMode=H.inSelectionMode,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=new _.Position(de.positionLineNumber,de.positionColumn),ue=this._move(Y,ie,he,this._wordNavigationType);return this._moveTo(de,ue,this._inSelectionMode)});if(ie.pushStackElement(),B._getViewModel().setCursorStates("moveWordCommand",3,ce.map(de=>D.CursorState.fromModelSelection(de))),ce.length===1){const de=new _.Position(ce[0].positionLineNumber,ce[0].positionColumn);B.revealPosition(de,0)}}_moveTo(H,B,V){return V?new C.Selection(H.selectionStartLineNumber,H.selectionStartColumn,B.lineNumber,B.column):new C.Selection(B.lineNumber,B.column,B.lineNumber,B.column)}}e.MoveWordCommand=h;class r extends h{_move(H,B,V,Y){return S.WordOperations.moveWordLeft(H,B,V,Y)}}e.WordLeftCommand=r;class c extends h{_move(H,B,V,Y){return S.WordOperations.moveWordRight(H,B,V,Y)}}e.WordRightCommand=c;class o extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}e.CursorWordStartLeft=o;class d extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}e.CursorWordEndLeft=d;class l extends r{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2063,mac:{primary:527},weight:100}})}}e.CursorWordLeft=l;class p extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}e.CursorWordStartLeftSelect=p;class m extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}e.CursorWordEndLeftSelect=m;class v extends r{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3087,mac:{primary:1551},weight:100}})}}e.CursorWordLeftSelect=v;class b extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeft=b;class w extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeftSelect=w;class E extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}e.CursorWordStartRight=E;class I extends c{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2065,mac:{primary:529},weight:100}})}}e.CursorWordEndRight=I;class M extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}e.CursorWordRight=M;class P extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}e.CursorWordStartRightSelect=P;class x extends c{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3089,mac:{primary:1553},weight:100}})}}e.CursorWordEndRightSelect=x;class T extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}e.CursorWordRightSelect=T;class A extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRight=A;class N extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRightSelect=N;class F extends L.EditorCommand{constructor(H){super(H),this._whitespaceHeuristics=H.whitespaceHeuristics,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){const Y=H.get(i.ILanguageConfigurationService);if(!B.hasModel())return;const ie=(0,f.getMapForWordSeparators)(B.getOption(128)),ae=B.getModel(),ce=B.getSelections(),de=B.getOption(6),he=B.getOption(10),ue=Y.getLanguageConfiguration(ae.getLanguageId()).getAutoClosingPairs(),te=B._getViewModel(),q=ce.map(z=>{const ee=this._delete({wordSeparators:ie,model:ae,selection:z,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:B.getOption(8),autoClosingBrackets:de,autoClosingQuotes:he,autoClosingPairs:ue,autoClosedCharacters:te.getCursorAutoClosedCharacters()},this._wordNavigationType);return new k.ReplaceCommand(ee,"")});B.pushUndoStop(),B.executeCommands(this.id,q),B.pushUndoStop()}}e.DeleteWordCommand=F;class O extends F{_delete(H,B){const V=S.WordOperations.deleteWordLeft(H,B);return V||new g.Range(1,1,1,1)}}e.DeleteWordLeftCommand=O;class W extends F{_delete(H,B){const V=S.WordOperations.deleteWordRight(H,B);if(V)return V;const Y=H.model.getLineCount(),ie=H.model.getLineMaxColumn(Y);return new g.Range(Y,ie,Y,ie)}}e.DeleteWordRightCommand=W;class U extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartLeft=U;class j extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndLeft=j;class R extends O{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}e.DeleteWordLeft=R;class K extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartRight=K;class G extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndRight=G;class Z extends W{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}e.DeleteWordRight=Z;class J extends L.EditorAction{constructor(){super({id:"deleteInsideWord",precondition:s.EditorContextKeys.writable,label:n.localize(0,null),alias:"Delete Word"})}run(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=S.WordOperations.deleteInsideWord(Y,ie,de);return new k.ReplaceCommand(he,"")});B.pushUndoStop(),B.executeCommands(this.id,ce),B.pushUndoStop()}}e.DeleteInsideWord=J,(0,L.registerEditorCommand)(new o),(0,L.registerEditorCommand)(new d),(0,L.registerEditorCommand)(new l),(0,L.registerEditorCommand)(new p),(0,L.registerEditorCommand)(new m),(0,L.registerEditorCommand)(new v),(0,L.registerEditorCommand)(new E),(0,L.registerEditorCommand)(new I),(0,L.registerEditorCommand)(new M),(0,L.registerEditorCommand)(new P),(0,L.registerEditorCommand)(new x),(0,L.registerEditorCommand)(new T),(0,L.registerEditorCommand)(new b),(0,L.registerEditorCommand)(new w),(0,L.registerEditorCommand)(new A),(0,L.registerEditorCommand)(new N),(0,L.registerEditorCommand)(new U),(0,L.registerEditorCommand)(new j),(0,L.registerEditorCommand)(new R),(0,L.registerEditorCommand)(new K),(0,L.registerEditorCommand)(new G),(0,L.registerEditorCommand)(new Z),(0,L.registerEditorAction)(J)}),define(ne[814],se([1,0,16,178,5,21,353,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorWordPartRightSelect=e.CursorWordPartRight=e.WordPartRightCommand=e.CursorWordPartLeftSelect=e.CursorWordPartLeft=e.WordPartLeftCommand=e.DeleteWordPartRight=e.DeleteWordPartLeft=void 0;class _ extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartLeft(h);return c||new y.Range(1,1,1,1)}}e.DeleteWordPartLeft=_;class g extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartRight(h);if(c)return c;const o=h.model.getLineCount(),d=h.model.getLineMaxColumn(o);return new y.Range(o,d,o,d)}}e.DeleteWordPartRight=g;class C extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartLeft(h,r,c)}}e.WordPartLeftCommand=C;class s extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}e.CursorWordPartLeft=s,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class i extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}e.CursorWordPartLeftSelect=i,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class n extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartRight(h,r,c)}}e.WordPartRightCommand=n;class t extends n{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}e.CursorWordPartRight=t;class a extends n{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}e.CursorWordPartRightSelect=a,(0,L.registerEditorCommand)(new _),(0,L.registerEditorCommand)(new g),(0,L.registerEditorCommand)(new s),(0,L.registerEditorCommand)(new i),(0,L.registerEditorCommand)(new t),(0,L.registerEditorCommand)(new a)}),define(ne[815],se([1,0,7,2,16,17,468]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IPadShowKeyboard=void 0;class S extends k.Disposable{constructor(g){super(),this.editor=g,this.widget=null,D.isIOS&&(this._register(g.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const g=!this.editor.getOption(89);!this.widget&&g?this.widget=new f(this.editor):this.widget&&!g&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}e.IPadShowKeyboard=S,S.ID="editor.contrib.iPadShowKeyboard";class f extends k.Disposable{constructor(g){super(),this.editor=g,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(L.addDisposableListener(this._domNode,"touchstart",C=>{this.editor.focus()})),this._register(L.addDisposableListener(this._domNode,"focus",C=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return f.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}f.ID="editor.contrib.ShowKeyboardWidget",(0,y.registerEditorContribution)(S.ID,S,3)}),define(ne[816],se([1,0,7,38,2,16,29,124,154,41,133,94,469]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});let n=i=class extends y.Disposable{static get(c){return c.getContribution(i.ID)}constructor(c,o,d){super(),this._editor=c,this._languageService=d,this._widget=null,this._register(this._editor.onDidChangeModel(l=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(l=>this.stop())),this._register(S.TokenizationRegistry.onDidChange(l=>this.stop())),this._register(this._editor.onKeyUp(l=>l.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new h(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};n.ID="editor.contrib.inspectTokens",n=i=ke([fe(1,C.IStandaloneThemeService),fe(2,g.ILanguageService)],n);class t extends D.EditorAction{constructor(){super({id:"editor.action.inspectTokens",label:s.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(c,o){const d=n.get(o);d?.launch()}}function a(r){let c="";for(let o=0,d=r.length;o_.NullState,tokenize:(l,p,m)=>(0,_.nullTokenize)(c,m),tokenizeEncoded:(l,p,m)=>(0,_.nullTokenizeEncoded)(d,m)}}class h extends y.Disposable{constructor(c,o){super(),this.allowEditorOverflow=!0,this._editor=c,this._languageService=o,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=u(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(d=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return h._ID}_compute(c){const o=this._getTokensAtLine(c.lineNumber);let d=0;for(let b=o.tokens1.length-1;b>=0;b--){const w=o.tokens1[b];if(c.column-1>=w.offset){d=b;break}}let l=0;for(let b=o.tokens2.length>>>1;b>=0;b--)if(c.column-1>=o.tokens2[b<<1]){l=b;break}const p=this._model.getLineContent(c.lineNumber);let m="";if(d{var v;return(v=d.lookupKeybinding(m.id))!==null&&v!==void 0?v:void 0}},h),{allowContextMenu:!0,skipTelemetry:typeof h?.telemetrySource=="string"})),this._options=h,this._menuService=r,this._contextKeyService=c,this._contextMenuService=o,this._sessionDisposables=this._store.add(new f.DisposableStore);const p=h?.telemetrySource;p&&this._store.add(this.actionBar.onDidRun(m=>l.publicLog2("workbenchActionExecuted",{id:m.action.id,from:p})))}setActions(u,h=[],r){var c,o,d;this._sessionDisposables.clear();const l=u.slice(),p=h.slice(),m=[];let v=0;const b=[];let w=!1;if(((c=this._options)===null||c===void 0?void 0:c.hiddenItemStrategy)!==-1)for(let E=0;E=this._options.maxNumberOfItems&&(l[I]=void 0,b[I]=M)}}(0,S.coalesceInPlace)(l),(0,S.coalesceInPlace)(b),super.setActions(l,D.Separator.join(b,p)),m.length>0&&this._sessionDisposables.add((0,L.addDisposableListener)(this.getElement(),"contextmenu",E=>{var I,M,P,x,T;const A=new k.StandardMouseEvent(E),N=this.getItemAction(A.target);if(!N)return;A.preventDefault(),A.stopPropagation();let F=!1;if(v===1&&((I=this._options)===null||I===void 0?void 0:I.hiddenItemStrategy)===0){F=!0;for(let U=0;Uthis._menuService.resetHiddenStates(r)}))),this._contextMenuService.showContextMenu({getAnchor:()=>A,getActions:()=>W,menuId:(P=this._options)===null||P===void 0?void 0:P.contextMenu,menuActionOptions:Object.assign({renderShortTitle:!0},(x=this._options)===null||x===void 0?void 0:x.menuOptions),skipTelemetry:typeof((T=this._options)===null||T===void 0?void 0:T.telemetrySource)=="string",contextKeyService:this._contextKeyService})}))}};e.WorkbenchToolBar=t,e.WorkbenchToolBar=t=ke([fe(2,g.IMenuService),fe(3,C.IContextKeyService),fe(4,s.IContextMenuService),fe(5,i.IKeybindingService),fe(6,n.ITelemetryService)],t)}),define(ne[818],se([1,0,564,9,72,2,65,730,27,28,156,8,34,771,87,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsHistory=e.AbstractCommandsQuickAccessProvider=void 0;let r=u=class extends n.PickerQuickAccessProvider{constructor(d,l,p,m,v,b){super(u.PREFIX,d),this.instantiationService=l,this.keybindingService=p,this.commandService=m,this.telemetryService=v,this.dialogService=b,this.commandsHistory=this._register(this.instantiationService.createInstance(c)),this.options=d}_getPicks(d,l,p,m){var v,b,w,E;return we(this,void 0,void 0,function*(){const I=yield this.getCommandPicks(p);if(p.isCancellationRequested)return[];const M=[];for(const N of I){const F=(v=u.WORD_FILTER(d,N.label))!==null&&v!==void 0?v:void 0,O=N.commandAlias&&(b=u.WORD_FILTER(d,N.commandAlias))!==null&&b!==void 0?b:void 0;F||O?(N.highlights={label:F,detail:this.options.showAlias?O:void 0},M.push(N)):d===N.commandId&&M.push(N)}const P=new Map;for(const N of M){const F=P.get(N.label);F?(N.description=N.commandId,F.description=F.commandId):P.set(N.label,N)}M.sort((N,F)=>{const O=this.commandsHistory.peek(N.commandId),W=this.commandsHistory.peek(F.commandId);if(O&&W)return O>W?-1:1;if(O)return-1;if(W)return 1;if(this.options.suggestedCommandIds){const U=this.options.suggestedCommandIds.has(N.commandId),j=this.options.suggestedCommandIds.has(F.commandId);if(U&&j)return 0;if(U)return-1;if(j)return 1}return N.label.localeCompare(F.label)});const x=[];let T=!1,A=!!this.options.suggestedCommandIds;for(let N=0;Nwe(this,void 0,void 0,function*(){const N=yield this.getAdditionalCommandPicks(I,M,d,p);return p.isCancellationRequested?[]:N.map(F=>this.toCommandPick(F,m))}))()}:x})}toCommandPick(d,l){if(d.type==="separator")return d;const p=this.keybindingService.lookupKeybinding(d.commandId),m=p?(0,f.localize)(3,null,d.label,p.getAriaLabel()):d.label;return Object.assign(Object.assign({},d),{ariaLabel:m,detail:this.options.showAlias&&d.commandAlias!==d.label?d.commandAlias:void 0,keybinding:p,accept:()=>we(this,void 0,void 0,function*(){var v,b;this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:(v=l?.from)!==null&&v!==void 0?v:"quick open"});try{!((b=d.args)===null||b===void 0)&&b.length?yield this.commandService.executeCommand(d.commandId,...d.args):yield this.commandService.executeCommand(d.commandId)}catch(w){(0,k.isCancellationError)(w)||this.dialogService.error((0,f.localize)(4,null,d.label),(0,L.toErrorMessage)(w))}})})}};e.AbstractCommandsQuickAccessProvider=r,r.PREFIX=">",r.WORD_FILTER=(0,y.or)(y.matchesPrefix,y.matchesWords,y.matchesContiguousSubString),e.AbstractCommandsQuickAccessProvider=r=u=ke([fe(1,s.IInstantiationService),fe(2,i.IKeybindingService),fe(3,_.ICommandService),fe(4,a.ITelemetryService),fe(5,C.IDialogService)],r);let c=h=class extends D.Disposable{constructor(d,l){super(),this.storageService=d,this.configurationService=l,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(d=>this.updateConfiguration(d)))}updateConfiguration(d){d&&!d.affectsConfiguration("workbench.commandPalette.history")||(this.configuredCommandsHistoryLength=h.getConfiguredCommandHistoryLength(this.configurationService),h.cache&&h.cache.limit!==this.configuredCommandsHistoryLength&&(h.cache.limit=this.configuredCommandsHistoryLength,h.saveState(this.storageService)))}load(){const d=this.storageService.get(h.PREF_KEY_CACHE,0);let l;if(d)try{l=JSON.parse(d)}catch{}const p=h.cache=new S.LRUCache(this.configuredCommandsHistoryLength,1);if(l){let m;l.usesLRU?m=l.entries:m=l.entries.sort((v,b)=>v.value-b.value),m.forEach(v=>p.set(v.key,v.value))}h.counter=this.storageService.getNumber(h.PREF_KEY_COUNTER,0,h.counter)}push(d){h.cache&&(h.cache.set(d,h.counter++),h.saveState(this.storageService))}peek(d){var l;return(l=h.cache)===null||l===void 0?void 0:l.peek(d)}static saveState(d){if(!h.cache)return;const l={usesLRU:!0,entries:[]};h.cache.forEach((p,m)=>l.entries.push({key:m,value:p})),d.store(h.PREF_KEY_CACHE,JSON.stringify(l),0,0),d.store(h.PREF_KEY_COUNTER,h.counter,0,0)}static getConfiguredCommandHistoryLength(d){var l,p;const v=(p=(l=d.getValue().workbench)===null||l===void 0?void 0:l.commandPalette)===null||p===void 0?void 0:p.history;return typeof v=="number"?v:h.DEFAULT_COMMANDS_HISTORY_LENGTH}};e.CommandsHistory=c,c.DEFAULT_COMMANDS_HISTORY_LENGTH=50,c.PREF_KEY_CACHE="commandPalette.mru.cache",c.PREF_KEY_COUNTER="commandPalette.mru.counter",c.counter=1,e.CommandsHistory=c=h=ke([fe(0,t.IStorageService),fe(1,g.IConfigurationService)],c)}),define(ne[819],se([1,0,120,818]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorCommandsQuickAccessProvider=void 0;class y extends k.AbstractCommandsQuickAccessProvider{constructor(S,f,_,g,C,s){super(S,f,_,g,C,s)}getCodeEditorCommandPicks(){const S=this.activeTextEditorControl;if(!S)return[];const f=[];for(const _ of S.getSupportedActions())f.push({commandId:_.id,commandAlias:_.alias,label:(0,L.stripIcons)(_.label)||_.id});return f}}e.AbstractEditorCommandsQuickAccessProvider=y}),define(ne[820],se([1,0,37,136,94,33,819,8,34,27,79,156,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneCommandsQuickAccessProvider=void 0;let a=class extends S.AbstractEditorCommandsQuickAccessProvider{get activeTextEditorControl(){var r;return(r=this.codeEditorService.getFocusedCodeEditor())!==null&&r!==void 0?r:void 0}constructor(r,c,o,d,l,p){super({showAlias:!1},r,o,d,l,p),this.codeEditorService=c}getCommandPicks(){return we(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}hasAdditionalCommandPicks(){return!1}getAdditionalCommandPicks(){return we(this,void 0,void 0,function*(){return[]})}};e.StandaloneCommandsQuickAccessProvider=a,e.StandaloneCommandsQuickAccessProvider=a=ke([fe(0,f.IInstantiationService),fe(1,D.ICodeEditorService),fe(2,_.IKeybindingService),fe(3,g.ICommandService),fe(4,C.ITelemetryService),fe(5,s.IDialogService)],a);class u extends i.EditorAction{constructor(){super({id:u.ID,label:y.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:n.EditorContextKeys.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(r){r.get(t.IQuickInputService).quickAccess.show(a.PREFIX)}}e.GotoLineAction=u,u.ID="editor.action.quickCommand",(0,i.registerEditorAction)(u),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:a,prefix:a.PREFIX,helpEntries:[{description:y.QuickCommandNLS.quickCommandHelp,commandId:u.ID}]})}),define(ne[31],se([1,0,13,38,6,85,736,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.workbenchColorsSchemaId=e.resolveColorValue=e.ifDefinedThenElse=e.oneOf=e.transparent=e.lighten=e.darken=e.executeTransform=e.chartsPurple=e.chartsGreen=e.chartsOrange=e.chartsYellow=e.chartsBlue=e.chartsRed=e.chartsLines=e.chartsForeground=e.problemsInfoIconForeground=e.problemsWarningIconForeground=e.problemsErrorIconForeground=e.minimapSliderActiveBackground=e.minimapSliderHoverBackground=e.minimapSliderBackground=e.minimapForegroundOpacity=e.minimapBackground=e.minimapWarning=e.minimapError=e.minimapSelection=e.minimapSelectionOccurrenceHighlight=e.minimapFindMatch=e.overviewRulerSelectionHighlightForeground=e.overviewRulerFindMatchForeground=e.overviewRulerCommonContentForeground=e.overviewRulerIncomingContentForeground=e.overviewRulerCurrentContentForeground=e.mergeBorder=e.mergeCommonContentBackground=e.mergeCommonHeaderBackground=e.mergeIncomingContentBackground=e.mergeIncomingHeaderBackground=e.mergeCurrentContentBackground=e.mergeCurrentHeaderBackground=e.breadcrumbsPickerBackground=e.breadcrumbsActiveSelectionForeground=e.breadcrumbsFocusForeground=e.breadcrumbsBackground=e.breadcrumbsForeground=e.snippetFinalTabstopHighlightBorder=e.snippetFinalTabstopHighlightBackground=e.snippetTabstopHighlightBorder=e.snippetTabstopHighlightBackground=e.toolbarActiveBackground=e.toolbarHoverOutline=e.toolbarHoverBackground=e.menuSeparatorBackground=e.menuSelectionBorder=e.menuSelectionBackground=e.menuSelectionForeground=e.menuBackground=e.menuForeground=e.menuBorder=e.quickInputListFocusBackground=e.quickInputListFocusIconForeground=e.quickInputListFocusForeground=e._deprecatedQuickInputListFocusBackground=e.checkboxSelectBorder=e.checkboxBorder=e.checkboxForeground=e.checkboxSelectBackground=e.checkboxBackground=e.listDeemphasizedForeground=e.tableOddRowsBackgroundColor=e.tableColumnsBorder=e.treeInactiveIndentGuidesStroke=e.treeIndentGuidesStroke=e.listFilterMatchHighlightBorder=e.listFilterMatchHighlight=e.listFilterWidgetShadow=e.listFilterWidgetNoMatchesOutline=e.listFilterWidgetOutline=e.listFilterWidgetBackground=e.listWarningForeground=e.listErrorForeground=e.listInvalidItemForeground=e.listFocusHighlightForeground=e.listHighlightForeground=e.listDropBackground=e.listHoverForeground=e.listHoverBackground=e.listInactiveFocusOutline=e.listInactiveFocusBackground=e.listInactiveSelectionIconForeground=e.listInactiveSelectionForeground=e.listInactiveSelectionBackground=e.listActiveSelectionIconForeground=e.listActiveSelectionForeground=e.listActiveSelectionBackground=e.listFocusAndSelectionOutline=e.listFocusOutline=e.listFocusForeground=e.listFocusBackground=e.diffUnchangedTextBackground=e.diffUnchangedRegionForeground=e.diffUnchangedRegionBackground=e.diffDiagonalFill=e.diffBorder=e.diffRemovedOutline=e.diffInsertedOutline=e.diffOverviewRulerRemoved=e.diffOverviewRulerInserted=e.diffRemovedLineGutter=e.diffInsertedLineGutter=e.diffRemovedLine=e.diffInsertedLine=e.diffRemoved=e.diffInserted=e.defaultRemoveColor=e.defaultInsertColor=e.editorLightBulbAutoFixForeground=e.editorLightBulbForeground=e.editorInlayHintParameterBackground=e.editorInlayHintParameterForeground=e.editorInlayHintTypeBackground=e.editorInlayHintTypeForeground=e.editorInlayHintBackground=e.editorInlayHintForeground=e.editorActiveLinkForeground=e.editorHoverStatusBarBackground=e.editorHoverBorder=e.editorHoverForeground=e.editorHoverBackground=e.editorHoverHighlight=e.searchResultsInfoForeground=e.searchEditorFindMatchBorder=e.searchEditorFindMatch=e.editorFindRangeHighlightBorder=e.editorFindMatchHighlightBorder=e.editorFindMatchBorder=e.editorFindRangeHighlight=e.editorFindMatchHighlight=e.editorFindMatch=e.editorSelectionHighlightBorder=e.editorSelectionHighlight=e.editorInactiveSelection=e.editorSelectionForeground=e.editorSelectionBackground=e.keybindingLabelBottomBorder=e.keybindingLabelBorder=e.keybindingLabelForeground=e.keybindingLabelBackground=e.pickerGroupBorder=e.pickerGroupForeground=e.quickInputTitleBackground=e.quickInputForeground=e.quickInputBackground=e.editorWidgetResizeBorder=e.editorWidgetBorder=e.editorWidgetForeground=e.editorWidgetBackground=e.editorStickyScrollHoverBackground=e.editorStickyScrollBackground=e.editorForeground=e.editorBackground=e.sashHoverBorder=e.editorHintBorder=e.editorHintForeground=e.editorInfoBorder=e.editorInfoForeground=e.editorInfoBackground=e.editorWarningBorder=e.editorWarningForeground=e.editorWarningBackground=e.editorErrorBorder=e.editorErrorForeground=e.editorErrorBackground=e.progressBarBackground=e.scrollbarSliderActiveBackground=e.scrollbarSliderHoverBackground=e.scrollbarSliderBackground=e.scrollbarShadow=e.badgeForeground=e.badgeBackground=e.buttonSecondaryHoverBackground=e.buttonSecondaryBackground=e.buttonSecondaryForeground=e.buttonBorder=e.buttonHoverBackground=e.buttonBackground=e.buttonSeparator=e.buttonForeground=e.selectBorder=e.selectForeground=e.selectListBackground=e.selectBackground=e.inputValidationErrorBorder=e.inputValidationErrorForeground=e.inputValidationErrorBackground=e.inputValidationWarningBorder=e.inputValidationWarningForeground=e.inputValidationWarningBackground=e.inputValidationInfoBorder=e.inputValidationInfoForeground=e.inputValidationInfoBackground=e.inputPlaceholderForeground=e.inputActiveOptionForeground=e.inputActiveOptionBackground=e.inputActiveOptionHoverBackground=e.inputActiveOptionBorder=e.inputBorder=e.inputForeground=e.inputBackground=e.widgetBorder=e.widgetShadow=e.textCodeBlockBackground=e.textBlockQuoteBorder=e.textBlockQuoteBackground=e.textPreformatForeground=e.textLinkActiveForeground=e.textLinkForeground=e.textSeparatorForeground=e.selectionBackground=e.activeContrastBorder=e.contrastBorder=e.focusBorder=e.iconForeground=e.descriptionForeground=e.errorForeground=e.disabledForeground=e.foreground=e.registerColor=e.Extensions=e.asCssVariableWithDefault=e.asCssVariable=e.asCssVariableName=void 0;function g(P){return`--vscode-${P.replace(/\./g,"-")}`}e.asCssVariableName=g;function C(P){return`var(${g(P)})`}e.asCssVariable=C;function s(P,x){return`var(${g(P)}, ${x})`}e.asCssVariableWithDefault=s,e.Extensions={ColorContribution:"base.contributions.colors"};class i{constructor(){this._onDidChangeSchema=new y.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(x,T,A,N=!1,F){const O={id:x,description:A,defaults:T,needsTransparency:N,deprecationMessage:F};this.colorsById[x]=O;const W={type:"string",description:A,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return F&&(W.deprecationMessage=F),this.colorSchema.properties[x]=W,this.colorReferenceSchema.enum.push(x),this.colorReferenceSchema.enumDescriptions.push(A),this._onDidChangeSchema.fire(),x}getColors(){return Object.keys(this.colorsById).map(x=>this.colorsById[x])}resolveDefaultColor(x,T){const A=this.colorsById[x];if(A&&A.defaults){const N=A.defaults[T.type];return E(N,T)}}getColorSchema(){return this.colorSchema}toString(){const x=(T,A)=>{const N=T.indexOf(".")===-1?0:1,F=A.indexOf(".")===-1?0:1;return N!==F?N-F:T.localeCompare(A)};return Object.keys(this.colorsById).sort(x).map(T=>`- \`${T}\`: ${this.colorsById[T].description}`).join(` -`)}}const n=new i;_.Registry.add(e.Extensions.ColorContribution,n);function t(P,x,T,A,N){return n.registerColor(P,x,T,A,N)}e.registerColor=t,e.foreground=t("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(0,null)),e.disabledForeground=t("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.localize(1,null)),e.errorForeground=t("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(2,null)),e.descriptionForeground=t("descriptionForeground",{light:"#717171",dark:m(e.foreground,.7),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(3,null)),e.iconForeground=t("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(4,null)),e.focusBorder=t("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.localize(5,null)),e.contrastBorder=t("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.localize(6,null)),e.activeContrastBorder=t("contrastActiveBorder",{light:null,dark:null,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(7,null)),e.selectionBackground=t("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(8,null)),e.textSeparatorForeground=t("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:k.Color.black,hcLight:"#292929"},S.localize(9,null)),e.textLinkForeground=t("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(10,null)),e.textLinkActiveForeground=t("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(11,null)),e.textPreformatForeground=t("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},S.localize(12,null)),e.textBlockQuoteBackground=t("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},S.localize(13,null)),e.textBlockQuoteBorder=t("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:k.Color.white,hcLight:"#292929"},S.localize(14,null)),e.textCodeBlockBackground=t("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:k.Color.black,hcLight:"#F2F2F2"},S.localize(15,null)),e.widgetShadow=t("widget.shadow",{dark:m(k.Color.black,.36),light:m(k.Color.black,.16),hcDark:null,hcLight:null},S.localize(16,null)),e.widgetBorder=t("widget.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(17,null)),e.inputBackground=t("input.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(18,null)),e.inputForeground=t("input.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(19,null)),e.inputBorder=t("input.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(20,null)),e.inputActiveOptionBorder=t("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(21,null)),e.inputActiveOptionHoverBackground=t("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(22,null)),e.inputActiveOptionBackground=t("inputOption.activeBackground",{dark:m(e.focusBorder,.4),light:m(e.focusBorder,.2),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(23,null)),e.inputActiveOptionForeground=t("inputOption.activeForeground",{dark:k.Color.white,light:k.Color.black,hcDark:e.foreground,hcLight:e.foreground},S.localize(24,null)),e.inputPlaceholderForeground=t("input.placeholderForeground",{light:m(e.foreground,.5),dark:m(e.foreground,.5),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(25,null)),e.inputValidationInfoBackground=t("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(26,null)),e.inputValidationInfoForeground=t("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(27,null)),e.inputValidationInfoBorder=t("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(28,null)),e.inputValidationWarningBackground=t("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(29,null)),e.inputValidationWarningForeground=t("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(30,null)),e.inputValidationWarningBorder=t("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(31,null)),e.inputValidationErrorBackground=t("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(32,null)),e.inputValidationErrorForeground=t("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(33,null)),e.inputValidationErrorBorder=t("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(34,null)),e.selectBackground=t("dropdown.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(35,null)),e.selectListBackground=t("dropdown.listBackground",{dark:null,light:null,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(36,null)),e.selectForeground=t("dropdown.foreground",{dark:"#F0F0F0",light:e.foreground,hcDark:k.Color.white,hcLight:e.foreground},S.localize(37,null)),e.selectBorder=t("dropdown.border",{dark:e.selectBackground,light:"#CECECE",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(38,null)),e.buttonForeground=t("button.foreground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:k.Color.white},S.localize(39,null)),e.buttonSeparator=t("button.separator",{dark:m(e.buttonForeground,.4),light:m(e.buttonForeground,.4),hcDark:m(e.buttonForeground,.4),hcLight:m(e.buttonForeground,.4)},S.localize(40,null)),e.buttonBackground=t("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.localize(41,null)),e.buttonHoverBackground=t("button.hoverBackground",{dark:p(e.buttonBackground,.2),light:l(e.buttonBackground,.2),hcDark:e.buttonBackground,hcLight:e.buttonBackground},S.localize(42,null)),e.buttonBorder=t("button.border",{dark:e.contrastBorder,light:e.contrastBorder,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(43,null)),e.buttonSecondaryForeground=t("button.secondaryForeground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:e.foreground},S.localize(44,null)),e.buttonSecondaryBackground=t("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:k.Color.white},S.localize(45,null)),e.buttonSecondaryHoverBackground=t("button.secondaryHoverBackground",{dark:p(e.buttonSecondaryBackground,.2),light:l(e.buttonSecondaryBackground,.2),hcDark:null,hcLight:null},S.localize(46,null)),e.badgeBackground=t("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:k.Color.black,hcLight:"#0F4A85"},S.localize(47,null)),e.badgeForeground=t("badge.foreground",{dark:k.Color.white,light:"#333",hcDark:k.Color.white,hcLight:k.Color.white},S.localize(48,null)),e.scrollbarShadow=t("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.localize(49,null)),e.scrollbarSliderBackground=t("scrollbarSlider.background",{dark:k.Color.fromHex("#797979").transparent(.4),light:k.Color.fromHex("#646464").transparent(.4),hcDark:m(e.contrastBorder,.6),hcLight:m(e.contrastBorder,.4)},S.localize(50,null)),e.scrollbarSliderHoverBackground=t("scrollbarSlider.hoverBackground",{dark:k.Color.fromHex("#646464").transparent(.7),light:k.Color.fromHex("#646464").transparent(.7),hcDark:m(e.contrastBorder,.8),hcLight:m(e.contrastBorder,.8)},S.localize(51,null)),e.scrollbarSliderActiveBackground=t("scrollbarSlider.activeBackground",{dark:k.Color.fromHex("#BFBFBF").transparent(.4),light:k.Color.fromHex("#000000").transparent(.6),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(52,null)),e.progressBarBackground=t("progressBar.background",{dark:k.Color.fromHex("#0E70C0"),light:k.Color.fromHex("#0E70C0"),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(53,null)),e.editorErrorBackground=t("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(54,null),!0),e.editorErrorForeground=t("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(55,null)),e.editorErrorBorder=t("editorError.border",{dark:null,light:null,hcDark:k.Color.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.localize(56,null)),e.editorWarningBackground=t("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(57,null),!0),e.editorWarningForeground=t("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.localize(58,null)),e.editorWarningBorder=t("editorWarning.border",{dark:null,light:null,hcDark:k.Color.fromHex("#FFCC00").transparent(.8),hcLight:k.Color.fromHex("#FFCC00").transparent(.8)},S.localize(59,null)),e.editorInfoBackground=t("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(60,null),!0),e.editorInfoForeground=t("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.localize(61,null)),e.editorInfoBorder=t("editorInfo.border",{dark:null,light:null,hcDark:k.Color.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.localize(62,null)),e.editorHintForeground=t("editorHint.foreground",{dark:k.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.localize(63,null)),e.editorHintBorder=t("editorHint.border",{dark:null,light:null,hcDark:k.Color.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.localize(64,null)),e.sashHoverBorder=t("sash.hoverBorder",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(65,null)),e.editorBackground=t("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(66,null)),e.editorForeground=t("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:k.Color.white,hcLight:e.foreground},S.localize(67,null)),e.editorStickyScrollBackground=t("editorStickyScroll.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(68,null)),e.editorStickyScrollHoverBackground=t("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(69,null)),e.editorWidgetBackground=t("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:k.Color.white},S.localize(70,null)),e.editorWidgetForeground=t("editorWidget.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(71,null)),e.editorWidgetBorder=t("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(72,null)),e.editorWidgetResizeBorder=t("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(73,null)),e.quickInputBackground=t("quickInput.background",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(74,null)),e.quickInputForeground=t("quickInput.foreground",{dark:e.editorWidgetForeground,light:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(75,null)),e.quickInputTitleBackground=t("quickInputTitle.background",{dark:new k.Color(new k.RGBA(255,255,255,.105)),light:new k.Color(new k.RGBA(0,0,0,.06)),hcDark:"#000000",hcLight:k.Color.white},S.localize(76,null)),e.pickerGroupForeground=t("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(77,null)),e.pickerGroupBorder=t("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(78,null)),e.keybindingLabelBackground=t("keybindingLabel.background",{dark:new k.Color(new k.RGBA(128,128,128,.17)),light:new k.Color(new k.RGBA(221,221,221,.4)),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(79,null)),e.keybindingLabelForeground=t("keybindingLabel.foreground",{dark:k.Color.fromHex("#CCCCCC"),light:k.Color.fromHex("#555555"),hcDark:k.Color.white,hcLight:e.foreground},S.localize(80,null)),e.keybindingLabelBorder=t("keybindingLabel.border",{dark:new k.Color(new k.RGBA(51,51,51,.6)),light:new k.Color(new k.RGBA(204,204,204,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.contrastBorder},S.localize(81,null)),e.keybindingLabelBottomBorder=t("keybindingLabel.bottomBorder",{dark:new k.Color(new k.RGBA(68,68,68,.6)),light:new k.Color(new k.RGBA(187,187,187,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.foreground},S.localize(82,null)),e.editorSelectionBackground=t("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.localize(83,null)),e.editorSelectionForeground=t("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:k.Color.white},S.localize(84,null)),e.editorInactiveSelection=t("editor.inactiveSelectionBackground",{light:m(e.editorSelectionBackground,.5),dark:m(e.editorSelectionBackground,.5),hcDark:m(e.editorSelectionBackground,.7),hcLight:m(e.editorSelectionBackground,.5)},S.localize(85,null),!0),e.editorSelectionHighlight=t("editor.selectionHighlightBackground",{light:w(e.editorSelectionBackground,e.editorBackground,.3,.6),dark:w(e.editorSelectionBackground,e.editorBackground,.3,.6),hcDark:null,hcLight:null},S.localize(86,null),!0),e.editorSelectionHighlightBorder=t("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(87,null)),e.editorFindMatch=t("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.localize(88,null)),e.editorFindMatchHighlight=t("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.localize(89,null),!0),e.editorFindRangeHighlight=t("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.localize(90,null),!0),e.editorFindMatchBorder=t("editor.findMatchBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(91,null)),e.editorFindMatchHighlightBorder=t("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(92,null)),e.editorFindRangeHighlightBorder=t("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:m(e.activeContrastBorder,.4),hcLight:m(e.activeContrastBorder,.4)},S.localize(93,null),!0),e.searchEditorFindMatch=t("searchEditor.findMatchBackground",{light:m(e.editorFindMatchHighlight,.66),dark:m(e.editorFindMatchHighlight,.66),hcDark:e.editorFindMatchHighlight,hcLight:e.editorFindMatchHighlight},S.localize(94,null)),e.searchEditorFindMatchBorder=t("searchEditor.findMatchBorder",{light:m(e.editorFindMatchHighlightBorder,.66),dark:m(e.editorFindMatchHighlightBorder,.66),hcDark:e.editorFindMatchHighlightBorder,hcLight:e.editorFindMatchHighlightBorder},S.localize(95,null)),e.searchResultsInfoForeground=t("search.resultsInfoForeground",{light:e.foreground,dark:m(e.foreground,.65),hcDark:e.foreground,hcLight:e.foreground},S.localize(96,null)),e.editorHoverHighlight=t("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.localize(97,null),!0),e.editorHoverBackground=t("editorHoverWidget.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(98,null)),e.editorHoverForeground=t("editorHoverWidget.foreground",{light:e.editorWidgetForeground,dark:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(99,null)),e.editorHoverBorder=t("editorHoverWidget.border",{light:e.editorWidgetBorder,dark:e.editorWidgetBorder,hcDark:e.editorWidgetBorder,hcLight:e.editorWidgetBorder},S.localize(100,null)),e.editorHoverStatusBarBackground=t("editorHoverWidget.statusBarBackground",{dark:p(e.editorHoverBackground,.2),light:l(e.editorHoverBackground,.05),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(101,null)),e.editorActiveLinkForeground=t("editorLink.activeForeground",{dark:"#4E94CE",light:k.Color.blue,hcDark:k.Color.cyan,hcLight:"#292929"},S.localize(102,null)),e.editorInlayHintForeground=t("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:k.Color.white,hcLight:k.Color.black},S.localize(103,null)),e.editorInlayHintBackground=t("editorInlayHint.background",{dark:m(e.badgeBackground,.1),light:m(e.badgeBackground,.1),hcDark:m(k.Color.white,.1),hcLight:m(e.badgeBackground,.1)},S.localize(104,null)),e.editorInlayHintTypeForeground=t("editorInlayHint.typeForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(105,null)),e.editorInlayHintTypeBackground=t("editorInlayHint.typeBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(106,null)),e.editorInlayHintParameterForeground=t("editorInlayHint.parameterForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(107,null)),e.editorInlayHintParameterBackground=t("editorInlayHint.parameterBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(108,null)),e.editorLightBulbForeground=t("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.localize(109,null)),e.editorLightBulbAutoFixForeground=t("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.localize(110,null)),e.defaultInsertColor=new k.Color(new k.RGBA(155,185,85,.2)),e.defaultRemoveColor=new k.Color(new k.RGBA(255,0,0,.2)),e.diffInserted=t("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.localize(111,null),!0),e.diffRemoved=t("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.localize(112,null),!0),e.diffInsertedLine=t("diffEditor.insertedLineBackground",{dark:e.defaultInsertColor,light:e.defaultInsertColor,hcDark:null,hcLight:null},S.localize(113,null),!0),e.diffRemovedLine=t("diffEditor.removedLineBackground",{dark:e.defaultRemoveColor,light:e.defaultRemoveColor,hcDark:null,hcLight:null},S.localize(114,null),!0),e.diffInsertedLineGutter=t("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(115,null)),e.diffRemovedLineGutter=t("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(116,null)),e.diffOverviewRulerInserted=t("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(117,null)),e.diffOverviewRulerRemoved=t("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(118,null)),e.diffInsertedOutline=t("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.localize(119,null)),e.diffRemovedOutline=t("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.localize(120,null)),e.diffBorder=t("diffEditor.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(121,null)),e.diffDiagonalFill=t("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.localize(122,null)),e.diffUnchangedRegionBackground=t("diffEditor.unchangedRegionBackground",{dark:"#3e3e3e",light:"#e4e4e4",hcDark:null,hcLight:null},S.localize(123,null)),e.diffUnchangedRegionForeground=t("diffEditor.unchangedRegionForeground",{dark:"#a3a2a2",light:"#4d4c4c",hcDark:null,hcLight:null},S.localize(124,null)),e.diffUnchangedTextBackground=t("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.localize(125,null)),e.listFocusBackground=t("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(126,null)),e.listFocusForeground=t("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(127,null)),e.listFocusOutline=t("list.focusOutline",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(128,null)),e.listFocusAndSelectionOutline=t("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(129,null)),e.listActiveSelectionBackground=t("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(130,null)),e.listActiveSelectionForeground=t("list.activeSelectionForeground",{dark:k.Color.white,light:k.Color.white,hcDark:null,hcLight:null},S.localize(131,null)),e.listActiveSelectionIconForeground=t("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(132,null)),e.listInactiveSelectionBackground=t("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(133,null)),e.listInactiveSelectionForeground=t("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(134,null)),e.listInactiveSelectionIconForeground=t("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(135,null)),e.listInactiveFocusBackground=t("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(136,null)),e.listInactiveFocusOutline=t("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(137,null)),e.listHoverBackground=t("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:k.Color.white.transparent(.1),hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(138,null)),e.listHoverForeground=t("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(139,null)),e.listDropBackground=t("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.localize(140,null)),e.listHighlightForeground=t("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(141,null)),e.listFocusHighlightForeground=t("list.focusHighlightForeground",{dark:e.listHighlightForeground,light:b(e.listActiveSelectionBackground,e.listHighlightForeground,"#BBE7FF"),hcDark:e.listHighlightForeground,hcLight:e.listHighlightForeground},S.localize(142,null)),e.listInvalidItemForeground=t("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.localize(143,null)),e.listErrorForeground=t("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.localize(144,null)),e.listWarningForeground=t("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.localize(145,null)),e.listFilterWidgetBackground=t("listFilterWidget.background",{light:l(e.editorWidgetBackground,0),dark:p(e.editorWidgetBackground,0),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(146,null)),e.listFilterWidgetOutline=t("listFilterWidget.outline",{dark:k.Color.transparent,light:k.Color.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.localize(147,null)),e.listFilterWidgetNoMatchesOutline=t("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(148,null)),e.listFilterWidgetShadow=t("listFilterWidget.shadow",{dark:e.widgetShadow,light:e.widgetShadow,hcDark:e.widgetShadow,hcLight:e.widgetShadow},S.localize(149,null)),e.listFilterMatchHighlight=t("list.filterMatchBackground",{dark:e.editorFindMatchHighlight,light:e.editorFindMatchHighlight,hcDark:null,hcLight:null},S.localize(150,null)),e.listFilterMatchHighlightBorder=t("list.filterMatchBorder",{dark:e.editorFindMatchHighlightBorder,light:e.editorFindMatchHighlightBorder,hcDark:e.contrastBorder,hcLight:e.activeContrastBorder},S.localize(151,null)),e.treeIndentGuidesStroke=t("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.localize(152,null)),e.treeInactiveIndentGuidesStroke=t("tree.inactiveIndentGuidesStroke",{dark:m(e.treeIndentGuidesStroke,.4),light:m(e.treeIndentGuidesStroke,.4),hcDark:m(e.treeIndentGuidesStroke,.4),hcLight:m(e.treeIndentGuidesStroke,.4)},S.localize(153,null)),e.tableColumnsBorder=t("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.localize(154,null)),e.tableOddRowsBackgroundColor=t("tree.tableOddRowsBackground",{dark:m(e.foreground,.04),light:m(e.foreground,.04),hcDark:null,hcLight:null},S.localize(155,null)),e.listDeemphasizedForeground=t("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.localize(156,null)),e.checkboxBackground=t("checkbox.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(157,null)),e.checkboxSelectBackground=t("checkbox.selectBackground",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(158,null)),e.checkboxForeground=t("checkbox.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(159,null)),e.checkboxBorder=t("checkbox.border",{dark:e.selectBorder,light:e.selectBorder,hcDark:e.selectBorder,hcLight:e.selectBorder},S.localize(160,null)),e.checkboxSelectBorder=t("checkbox.selectBorder",{dark:e.iconForeground,light:e.iconForeground,hcDark:e.iconForeground,hcLight:e.iconForeground},S.localize(161,null)),e._deprecatedQuickInputListFocusBackground=t("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.localize(162,null)),e.quickInputListFocusForeground=t("quickInputList.focusForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(163,null)),e.quickInputListFocusIconForeground=t("quickInputList.focusIconForeground",{dark:e.listActiveSelectionIconForeground,light:e.listActiveSelectionIconForeground,hcDark:e.listActiveSelectionIconForeground,hcLight:e.listActiveSelectionIconForeground},S.localize(164,null)),e.quickInputListFocusBackground=t("quickInputList.focusBackground",{dark:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),light:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),hcDark:null,hcLight:null},S.localize(165,null)),e.menuBorder=t("menu.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(166,null)),e.menuForeground=t("menu.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(167,null)),e.menuBackground=t("menu.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(168,null)),e.menuSelectionForeground=t("menu.selectionForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(169,null)),e.menuSelectionBackground=t("menu.selectionBackground",{dark:e.listActiveSelectionBackground,light:e.listActiveSelectionBackground,hcDark:e.listActiveSelectionBackground,hcLight:e.listActiveSelectionBackground},S.localize(170,null)),e.menuSelectionBorder=t("menu.selectionBorder",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(171,null)),e.menuSeparatorBackground=t("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(172,null)),e.toolbarHoverBackground=t("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(173,null)),e.toolbarHoverOutline=t("toolbar.hoverOutline",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(174,null)),e.toolbarActiveBackground=t("toolbar.activeBackground",{dark:p(e.toolbarHoverBackground,.1),light:l(e.toolbarHoverBackground,.1),hcDark:null,hcLight:null},S.localize(175,null)),e.snippetTabstopHighlightBackground=t("editor.snippetTabstopHighlightBackground",{dark:new k.Color(new k.RGBA(124,124,124,.3)),light:new k.Color(new k.RGBA(10,50,100,.2)),hcDark:new k.Color(new k.RGBA(124,124,124,.3)),hcLight:new k.Color(new k.RGBA(10,50,100,.2))},S.localize(176,null)),e.snippetTabstopHighlightBorder=t("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(177,null)),e.snippetFinalTabstopHighlightBackground=t("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(178,null)),e.snippetFinalTabstopHighlightBorder=t("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new k.Color(new k.RGBA(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.localize(179,null)),e.breadcrumbsForeground=t("breadcrumb.foreground",{light:m(e.foreground,.8),dark:m(e.foreground,.8),hcDark:m(e.foreground,.8),hcLight:m(e.foreground,.8)},S.localize(180,null)),e.breadcrumbsBackground=t("breadcrumb.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(181,null)),e.breadcrumbsFocusForeground=t("breadcrumb.focusForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(182,null)),e.breadcrumbsActiveSelectionForeground=t("breadcrumb.activeSelectionForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(183,null)),e.breadcrumbsPickerBackground=t("breadcrumbPicker.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(184,null));const a=.5,u=k.Color.fromHex("#40C8AE").transparent(a),h=k.Color.fromHex("#40A6FF").transparent(a),r=k.Color.fromHex("#606060").transparent(.4),c=.4,o=1;e.mergeCurrentHeaderBackground=t("merge.currentHeaderBackground",{dark:u,light:u,hcDark:null,hcLight:null},S.localize(185,null),!0),e.mergeCurrentContentBackground=t("merge.currentContentBackground",{dark:m(e.mergeCurrentHeaderBackground,c),light:m(e.mergeCurrentHeaderBackground,c),hcDark:m(e.mergeCurrentHeaderBackground,c),hcLight:m(e.mergeCurrentHeaderBackground,c)},S.localize(186,null),!0),e.mergeIncomingHeaderBackground=t("merge.incomingHeaderBackground",{dark:h,light:h,hcDark:null,hcLight:null},S.localize(187,null),!0),e.mergeIncomingContentBackground=t("merge.incomingContentBackground",{dark:m(e.mergeIncomingHeaderBackground,c),light:m(e.mergeIncomingHeaderBackground,c),hcDark:m(e.mergeIncomingHeaderBackground,c),hcLight:m(e.mergeIncomingHeaderBackground,c)},S.localize(188,null),!0),e.mergeCommonHeaderBackground=t("merge.commonHeaderBackground",{dark:r,light:r,hcDark:null,hcLight:null},S.localize(189,null),!0),e.mergeCommonContentBackground=t("merge.commonContentBackground",{dark:m(e.mergeCommonHeaderBackground,c),light:m(e.mergeCommonHeaderBackground,c),hcDark:m(e.mergeCommonHeaderBackground,c),hcLight:m(e.mergeCommonHeaderBackground,c)},S.localize(190,null),!0),e.mergeBorder=t("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.localize(191,null)),e.overviewRulerCurrentContentForeground=t("editorOverviewRuler.currentContentForeground",{dark:m(e.mergeCurrentHeaderBackground,o),light:m(e.mergeCurrentHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(192,null)),e.overviewRulerIncomingContentForeground=t("editorOverviewRuler.incomingContentForeground",{dark:m(e.mergeIncomingHeaderBackground,o),light:m(e.mergeIncomingHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(193,null)),e.overviewRulerCommonContentForeground=t("editorOverviewRuler.commonContentForeground",{dark:m(e.mergeCommonHeaderBackground,o),light:m(e.mergeCommonHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(194,null)),e.overviewRulerFindMatchForeground=t("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.localize(195,null),!0),e.overviewRulerSelectionHighlightForeground=t("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.localize(196,null),!0),e.minimapFindMatch=t("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.localize(197,null),!0),e.minimapSelectionOccurrenceHighlight=t("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(198,null),!0),e.minimapSelection=t("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(199,null),!0),e.minimapError=t("minimap.errorHighlight",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},S.localize(200,null)),e.minimapWarning=t("minimap.warningHighlight",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningBorder,hcLight:e.editorWarningBorder},S.localize(201,null)),e.minimapBackground=t("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(202,null)),e.minimapForegroundOpacity=t("minimap.foregroundOpacity",{dark:k.Color.fromHex("#000f"),light:k.Color.fromHex("#000f"),hcDark:k.Color.fromHex("#000f"),hcLight:k.Color.fromHex("#000f")},S.localize(203,null)),e.minimapSliderBackground=t("minimapSlider.background",{light:m(e.scrollbarSliderBackground,.5),dark:m(e.scrollbarSliderBackground,.5),hcDark:m(e.scrollbarSliderBackground,.5),hcLight:m(e.scrollbarSliderBackground,.5)},S.localize(204,null)),e.minimapSliderHoverBackground=t("minimapSlider.hoverBackground",{light:m(e.scrollbarSliderHoverBackground,.5),dark:m(e.scrollbarSliderHoverBackground,.5),hcDark:m(e.scrollbarSliderHoverBackground,.5),hcLight:m(e.scrollbarSliderHoverBackground,.5)},S.localize(205,null)),e.minimapSliderActiveBackground=t("minimapSlider.activeBackground",{light:m(e.scrollbarSliderActiveBackground,.5),dark:m(e.scrollbarSliderActiveBackground,.5),hcDark:m(e.scrollbarSliderActiveBackground,.5),hcLight:m(e.scrollbarSliderActiveBackground,.5)},S.localize(206,null)),e.problemsErrorIconForeground=t("problemsErrorIcon.foreground",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(207,null)),e.problemsWarningIconForeground=t("problemsWarningIcon.foreground",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(208,null)),e.problemsInfoIconForeground=t("problemsInfoIcon.foreground",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(209,null)),e.chartsForeground=t("charts.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(210,null)),e.chartsLines=t("charts.lines",{dark:m(e.foreground,.5),light:m(e.foreground,.5),hcDark:m(e.foreground,.5),hcLight:m(e.foreground,.5)},S.localize(211,null)),e.chartsRed=t("charts.red",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(212,null)),e.chartsBlue=t("charts.blue",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(213,null)),e.chartsYellow=t("charts.yellow",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(214,null)),e.chartsOrange=t("charts.orange",{dark:e.minimapFindMatch,light:e.minimapFindMatch,hcDark:e.minimapFindMatch,hcLight:e.minimapFindMatch},S.localize(215,null)),e.chartsGreen=t("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.localize(216,null)),e.chartsPurple=t("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.localize(217,null));function d(P,x){var T,A,N,F;switch(P.op){case 0:return(T=E(P.value,x))===null||T===void 0?void 0:T.darken(P.factor);case 1:return(A=E(P.value,x))===null||A===void 0?void 0:A.lighten(P.factor);case 2:return(N=E(P.value,x))===null||N===void 0?void 0:N.transparent(P.factor);case 3:{const O=E(P.background,x);return O?(F=E(P.value,x))===null||F===void 0?void 0:F.makeOpaque(O):E(P.value,x)}case 4:for(const O of P.values){const W=E(O,x);if(W)return W}return;case 6:return E(x.defines(P.if)?P.then:P.else,x);case 5:{const O=E(P.value,x);if(!O)return;const W=E(P.background,x);return W?O.isDarkerThan(W)?k.Color.getLighterColor(O,W,P.factor).transparent(P.transparency):k.Color.getDarkerColor(O,W,P.factor).transparent(P.transparency):O.transparent(P.factor*P.transparency)}default:throw(0,D.assertNever)(P)}}e.executeTransform=d;function l(P,x){return{op:0,value:P,factor:x}}e.darken=l;function p(P,x){return{op:1,value:P,factor:x}}e.lighten=p;function m(P,x){return{op:2,value:P,factor:x}}e.transparent=m;function v(...P){return{op:4,values:P}}e.oneOf=v;function b(P,x,T){return{op:6,if:P,then:x,else:T}}e.ifDefinedThenElse=b;function w(P,x,T,A){return{op:5,value:P,background:x,factor:T,transparency:A}}function E(P,x){if(P!==null){if(typeof P=="string")return P[0]==="#"?k.Color.fromHex(P):x.getColor(P);if(P instanceof k.Color)return P;if(typeof P=="object")return d(P,x)}}e.resolveColorValue=E,e.workbenchColorsSchemaId="vscode://schemas/workbench-colors";const I=_.Registry.as(f.Extensions.JSONContribution);I.registerSchema(e.workbenchColorsSchemaId,n.getColorSchema());const M=new L.RunOnceScheduler(()=>I.notifySchemaChanged(e.workbenchColorsSchemaId),200);n.onDidChangeSchema(()=>{M.isScheduled()||M.schedule()})}),define(ne[159],se([1,0,7,152,60,13,2,31]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicCssRules=e.GlobalEditorPointerMoveMonitor=e.EditorPointerEventFactory=e.EditorMouseEventFactory=e.EditorMouseEvent=e.createCoordinatesRelativeToEditor=e.createEditorPagePosition=e.CoordinatesRelativeToEditor=e.EditorPagePosition=e.ClientCoordinates=e.PageCoordinates=void 0;class _{constructor(l,p){this.x=l,this.y=p,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new g(this.x-window.scrollX,this.y-window.scrollY)}}e.PageCoordinates=_;class g{constructor(l,p){this.clientX=l,this.clientY=p,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new _(this.clientX+window.scrollX,this.clientY+window.scrollY)}}e.ClientCoordinates=g;class C{constructor(l,p,m,v){this.x=l,this.y=p,this.width=m,this.height=v,this._editorPagePositionBrand=void 0}}e.EditorPagePosition=C;class s{constructor(l,p){this.x=l,this.y=p,this._positionRelativeToEditorBrand=void 0}}e.CoordinatesRelativeToEditor=s;function i(d){const l=L.getDomNodePagePosition(d);return new C(l.left,l.top,l.width,l.height)}e.createEditorPagePosition=i;function n(d,l,p){const m=l.width/d.offsetWidth,v=l.height/d.offsetHeight,b=(p.x-l.x)/m,w=(p.y-l.y)/v;return new s(b,w)}e.createCoordinatesRelativeToEditor=n;class t extends y.StandardMouseEvent{constructor(l,p,m){super(l),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=p,this.pos=new _(this.posx,this.posy),this.editorPos=i(m),this.relativePos=n(m,this.editorPos,this.pos)}}e.EditorMouseEvent=t;class a{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onContextMenu(l,p){return L.addDisposableListener(l,"contextmenu",m=>{p(this._create(m))})}onMouseUp(l,p){return L.addDisposableListener(l,"mouseup",m=>{p(this._create(m))})}onMouseDown(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_DOWN,m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onMouseLeave(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_LEAVE,m=>{p(this._create(m))})}onMouseMove(l,p){return L.addDisposableListener(l,"mousemove",m=>p(this._create(m)))}}e.EditorMouseEventFactory=a;class u{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onPointerUp(l,p){return L.addDisposableListener(l,"pointerup",m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onPointerLeave(l,p){return L.addDisposableListener(l,L.EventType.POINTER_LEAVE,m=>{p(this._create(m))})}onPointerMove(l,p){return L.addDisposableListener(l,"pointermove",m=>p(this._create(m)))}}e.EditorPointerEventFactory=u;class h extends S.Disposable{constructor(l){super(),this._editorViewDomNode=l,this._globalPointerMoveMonitor=this._register(new k.GlobalPointerMoveMonitor),this._keydownListener=null}startMonitoring(l,p,m,v,b){this._keydownListener=L.addStandardDisposableListener(document,"keydown",w=>{w.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,w.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(l,p,m,w=>{v(new t(w,!0,this._editorViewDomNode))},w=>{this._keydownListener.dispose(),b(w)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}e.GlobalEditorPointerMoveMonitor=h;class r{constructor(l){this._editor=l,this._instanceId=++r._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new D.RunOnceScheduler(()=>this.garbageCollect(),1e3)}createClassNameRef(l){const p=this.getOrCreateRule(l);return p.increaseRefCount(),{className:p.className,dispose:()=>{p.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(l){const p=this.computeUniqueKey(l);let m=this._rules.get(p);if(!m){const v=this._counter++;m=new c(p,`dyn-rule-${this._instanceId}-${v}`,L.isInShadowDOM(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,l),this._rules.set(p,m)}return m}computeUniqueKey(l){return JSON.stringify(l)}garbageCollect(){for(const l of this._rules.values())l.hasReferences()||(this._rules.delete(l.key),l.dispose())}}e.DynamicCssRules=r,r._idPool=0;class c{constructor(l,p,m,v){this.key=l,this.className=p,this.properties=v,this._referenceCount=0,this._styleElement=L.createStyleSheet(m),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(l,p){let m=`.${l} {`;for(const v in p){const b=p[v];let w;typeof b=="object"?w=(0,f.asCssVariable)(b.id):w=b;const E=o(v);m+=` - ${E}: ${w};`}return m+=` -}`,m}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function o(d){return d.replace(/(^[A-Z])/,([l])=>l.toLowerCase()).replace(/([A-Z])/g,([l])=>`-${l.toLowerCase()}`)}}),define(ne[821],se([1,0,7,35,152,2,17,11,229,53,36,5,274,328,67,31,24,61,481,48,99,425]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Minimap=void 0;const d=140,l=2;class p{constructor(T,A,N){const F=T.options,O=F.get(140),W=F.get(142),U=W.minimap,j=F.get(49),R=F.get(71);this.renderMinimap=U.renderMinimap,this.size=R.size,this.minimapHeightIsEditorHeight=U.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=F.get(103),this.paddingTop=F.get(82).top,this.paddingBottom=F.get(82).bottom,this.showSlider=R.showSlider,this.autohide=R.autohide,this.pixelRatio=O,this.typicalHalfwidthCharacterWidth=j.typicalHalfwidthCharacterWidth,this.lineHeight=F.get(65),this.minimapLeft=U.minimapLeft,this.minimapWidth=U.minimapWidth,this.minimapHeight=W.height,this.canvasInnerWidth=U.minimapCanvasInnerWidth,this.canvasInnerHeight=U.minimapCanvasInnerHeight,this.canvasOuterWidth=U.minimapCanvasOuterWidth,this.canvasOuterHeight=U.minimapCanvasOuterHeight,this.isSampling=U.minimapIsSampling,this.editorHeight=W.height,this.fontScale=U.minimapScale,this.minimapLineHeight=U.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=(0,o.once)(()=>r.MinimapCharRendererFactory.create(this.fontScale,j.fontFamily)),this.defaultBackgroundColor=N.getColor(2),this.backgroundColor=p._getMinimapBackground(A,this.defaultBackgroundColor),this.foregroundAlpha=p._getMinimapForegroundOpacity(A)}static _getMinimapBackground(T,A){const N=T.getColor(a.minimapBackground);return N?new i.RGBA8(N.rgba.r,N.rgba.g,N.rgba.b,Math.round(255*N.rgba.a)):A}static _getMinimapForegroundOpacity(T){const A=T.getColor(a.minimapForegroundOpacity);return A?i.RGBA8._clamp(Math.round(255*A.rgba.a)):255}equals(T){return this.renderMinimap===T.renderMinimap&&this.size===T.size&&this.minimapHeightIsEditorHeight===T.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===T.scrollBeyondLastLine&&this.paddingTop===T.paddingTop&&this.paddingBottom===T.paddingBottom&&this.showSlider===T.showSlider&&this.autohide===T.autohide&&this.pixelRatio===T.pixelRatio&&this.typicalHalfwidthCharacterWidth===T.typicalHalfwidthCharacterWidth&&this.lineHeight===T.lineHeight&&this.minimapLeft===T.minimapLeft&&this.minimapWidth===T.minimapWidth&&this.minimapHeight===T.minimapHeight&&this.canvasInnerWidth===T.canvasInnerWidth&&this.canvasInnerHeight===T.canvasInnerHeight&&this.canvasOuterWidth===T.canvasOuterWidth&&this.canvasOuterHeight===T.canvasOuterHeight&&this.isSampling===T.isSampling&&this.editorHeight===T.editorHeight&&this.fontScale===T.fontScale&&this.minimapLineHeight===T.minimapLineHeight&&this.minimapCharWidth===T.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(T.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(T.backgroundColor)&&this.foregroundAlpha===T.foregroundAlpha}}class m{constructor(T,A,N,F,O,W,U,j,R){this.scrollTop=T,this.scrollHeight=A,this.sliderNeeded=N,this._computedSliderRatio=F,this.sliderTop=O,this.sliderHeight=W,this.topPaddingLineCount=U,this.startLineNumber=j,this.endLineNumber=R}getDesiredScrollTopFromDelta(T){return Math.round(this.scrollTop+T/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(T){return Math.round((T-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(T){const A=Math.max(this.startLineNumber,T.startLineNumber),N=Math.min(this.endLineNumber,T.endLineNumber);return A>N?null:[A,N]}getYForLineNumber(T,A){return+(T-this.startLineNumber+this.topPaddingLineCount)*A}static create(T,A,N,F,O,W,U,j,R,K,G){const Z=T.pixelRatio,J=T.minimapLineHeight,X=Math.floor(T.canvasInnerHeight/J),H=T.lineHeight;if(T.minimapHeightIsEditorHeight){let de=j*T.lineHeight+T.paddingTop+T.paddingBottom;T.scrollBeyondLastLine&&(de+=Math.max(0,O-T.lineHeight-T.paddingBottom));const he=Math.max(1,Math.floor(O*O/de)),ue=Math.max(0,T.minimapHeight-he),te=ue/(K-O),q=R*te,z=ue>0,ee=Math.floor(T.canvasInnerHeight/T.minimapLineHeight),$=Math.floor(T.paddingTop/T.lineHeight);return new m(R,K,z,te,q,he,$,1,Math.min(U,ee))}let B;if(W&&N!==U){const de=N-A+1;B=Math.floor(de*J/Z)}else{const de=O/H;B=Math.floor(de*J/Z)}const V=Math.floor(T.paddingTop/H);let Y=Math.floor(T.paddingBottom/H);if(T.scrollBeyondLastLine){const de=O/H;Y=Math.max(Y,de-1)}let ie;if(Y>0){const de=O/H;ie=(V+U+Y-de-1)*J/Z}else ie=Math.max(0,(V+U)*J/Z-B);ie=Math.min(T.minimapHeight-B,ie);const ae=ie/(K-O),ce=R*ae;if(X>=V+U+Y){const de=ie>0;return new m(R,K,de,ae,ce,B,V,1,U)}else{let de;A>1?de=A+V:de=Math.max(1,R/H);let he,ue=Math.max(1,Math.floor(de-ce*Z/J));ueR&&(ue=Math.min(ue,G.startLineNumber),he=Math.max(he,G.topPaddingLineCount)),G.scrollTop=T.paddingTop?z=(A-ue+he+q)*J/Z:z=R/T.paddingTop*(he+q)*J/Z,new m(R,K,!0,ae,z,B,he,ue,te)}}}class v{constructor(T){this.dy=T}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}v.INVALID=new v(-1);class b{constructor(T,A,N){this.renderedLayout=T,this._imageData=A,this._renderedLines=new _.RenderedLinesCollection(()=>v.INVALID),this._renderedLines._set(T.startLineNumber,N)}linesEquals(T){if(!this.scrollEquals(T))return!1;const N=this._renderedLines._get().lines;for(let F=0,O=N.length;F1){for(let V=0,Y=F-1;V0&&this.minimapLines[N-1]>=T;)N--;let F=this.modelLineToMinimapLine(A)-1;for(;F+1A)return null}return[N+1,F+1]}decorationLineRangeToMinimapLineRange(T,A){let N=this.modelLineToMinimapLine(T),F=this.modelLineToMinimapLine(A);return T!==A&&F===N&&(F===this.minimapLines.length?N>1&&N--:F++),[N,F]}onLinesDeleted(T){const A=T.toLineNumber-T.fromLineNumber+1;let N=this.minimapLines.length,F=0;for(let O=this.minimapLines.length-1;O>=0&&!(this.minimapLines[O]=0&&!(this.minimapLines[N]0,scrollWidth:T.scrollWidth,scrollHeight:T.scrollHeight,viewportStartLineNumber:A,viewportEndLineNumber:N,viewportStartLineNumberVerticalOffset:T.getVerticalOffsetForLineNumber(A),scrollTop:T.scrollTop,scrollLeft:T.scrollLeft,viewportWidth:T.viewportWidth,viewportHeight:T.viewportHeight};this._actual.render(F)}_recreateLineSampling(){this._minimapSelections=null;const T=!!this._samplingState,[A,N]=E.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=A,T&&this._samplingState)for(const F of N)switch(F.type){case"deleted":this._actual.onLinesDeleted(F.deleteFromLineNumber,F.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(F.insertFromLineNumber,F.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(T){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineContent(T)}getLineMaxColumn(T){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineMaxColumn(T)}getMinimapLinesRenderingData(T,A,N){if(this._samplingState){const F=[];for(let O=0,W=A-T+1;O{if(N.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!=="proportional"){if(N.button===0&&this._lastRenderData){const R=L.getDomNodePagePosition(this._slider.domNode),K=R.top+R.height/2;this._startSliderDragging(N,K,this._lastRenderData.renderedLayout)}return}const O=this._model.options.minimapLineHeight,W=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*N.offsetY;let j=Math.floor(W/O)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;j=Math.min(j,this._model.getLineCount()),this._model.revealLineNumber(j)}),this._sliderPointerMoveMonitor=new y.GlobalPointerMoveMonitor,this._sliderPointerDownListener=L.addStandardDisposableListener(this._slider.domNode,L.EventType.POINTER_DOWN,N=>{N.preventDefault(),N.stopPropagation(),N.button===0&&this._lastRenderData&&this._startSliderDragging(N,N.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=h.Gesture.addTarget(this._domNode.domNode),this._sliderTouchStartListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Start,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(N))},{passive:!1}),this._sliderTouchMoveListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Change,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(N)},{passive:!1}),this._sliderTouchEndListener=L.addStandardDisposableListener(this._domNode.domNode,h.EventType.End,N=>{N.preventDefault(),N.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(T,A,N){if(!T.target||!(T.target instanceof Element))return;const F=T.pageX;this._slider.toggleClassName("active",!0);const O=(W,U)=>{const j=L.getDomNodePagePosition(this._domNode.domNode),R=Math.min(Math.abs(U-F),Math.abs(U-j.left),Math.abs(U-j.left-j.width));if(S.isWindows&&R>d){this._model.setScrollTop(N.scrollTop);return}const K=W-A;this._model.setScrollTop(N.getDesiredScrollTopFromDelta(K))};T.pageY!==A&&O(T.pageY,F),this._sliderPointerMoveMonitor.startMonitoring(T.target,T.pointerId,T.buttons,W=>O(W.pageY,W.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(T){const A=this._domNode.domNode.getBoundingClientRect().top,N=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(T.pageY-A);this._model.setScrollTop(N)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){const T=["minimap"];return this._model.options.showSlider==="always"?T.push("slider-always"):T.push("slider-mouseover"),this._model.options.autohide&&T.push("autohide"),T.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new w(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(T,A){return this._lastRenderData?this._lastRenderData.onLinesChanged(T,A):!1}onLinesDeleted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesDeleted(T,A),!0}onLinesInserted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesInserted(T,A),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(a.minimapSelection),this._renderDecorations=!0,!0}onTokensChanged(T){return this._lastRenderData?this._lastRenderData.onTokensChanged(T):!1}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(T){if(this._model.options.renderMinimap===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}T.scrollLeft+T.viewportWidth>=T.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const N=m.create(this._model.options,T.viewportStartLineNumber,T.viewportEndLineNumber,T.viewportStartLineNumberVerticalOffset,T.viewportHeight,T.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),T.scrollTop,T.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(N.sliderNeeded?"block":"none"),this._slider.setTop(N.sliderTop),this._slider.setHeight(N.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(N.sliderHeight),this.renderDecorations(N),this._lastRenderData=this.renderLines(N)}renderDecorations(T){if(this._renderDecorations){this._renderDecorations=!1;const A=this._model.getSelections();A.sort(s.Range.compareRangesUsingStarts);const N=this._model.getMinimapDecorationsInViewport(T.startLineNumber,T.endLineNumber);N.sort((Z,J)=>(Z.options.zIndex||0)-(J.options.zIndex||0));const{canvasInnerWidth:F,canvasInnerHeight:O}=this._model.options,W=this._model.options.minimapLineHeight,U=this._model.options.minimapCharWidth,j=this._model.getOptions().tabSize,R=this._decorationsCanvas.domNode.getContext("2d");R.clearRect(0,0,F,O);const K=new P(T.startLineNumber,T.endLineNumber,!1);this._renderSelectionLineHighlights(R,A,K,T,W),this._renderDecorationsLineHighlights(R,N,K,T,W);const G=new P(T.startLineNumber,T.endLineNumber,null);this._renderSelectionsHighlights(R,A,G,T,W,j,U,F),this._renderDecorationsHighlights(R,N,G,T,W,j,U,F)}}_renderSelectionLineHighlights(T,A,N,F,O){if(!this._selectionColor||this._selectionColor.isTransparent())return;T.fillStyle=this._selectionColor.transparent(.5).toString();let W=0,U=0;for(const j of A){const R=F.intersectWithViewport(j);if(!R)continue;const[K,G]=R;for(let X=K;X<=G;X++)N.set(X,!0);const Z=F.getYForLineNumber(K,O),J=F.getYForLineNumber(G,O);U>=Z||(U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W),W=Z),U=J}U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W)}_renderDecorationsLineHighlights(T,A,N,F,O){const W=new Map;for(let U=A.length-1;U>=0;U--){const j=A[U],R=j.options.minimap;if(!R||R.position!==c.MinimapPosition.Inline)continue;const K=F.intersectWithViewport(j.range);if(!K)continue;const[G,Z]=K,J=R.getColor(this._theme.value);if(!J||J.isTransparent())continue;let X=W.get(J.toString());X||(X=J.transparent(.5).toString(),W.set(J.toString(),X)),T.fillStyle=X;for(let H=G;H<=Z;H++){if(N.has(H))continue;N.set(H,!0);const B=F.getYForLineNumber(G,O);T.fillRect(C.MINIMAP_GUTTER_WIDTH,B,T.canvas.width,O)}}}_renderSelectionsHighlights(T,A,N,F,O,W,U,j){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const R of A){const K=F.intersectWithViewport(R);if(!K)continue;const[G,Z]=K;for(let J=G;J<=Z;J++)this.renderDecorationOnLine(T,N,R,this._selectionColor,F,J,O,O,W,U,j)}}_renderDecorationsHighlights(T,A,N,F,O,W,U,j){for(const R of A){const K=R.options.minimap;if(!K)continue;const G=F.intersectWithViewport(R.range);if(!G)continue;const[Z,J]=G,X=K.getColor(this._theme.value);if(!(!X||X.isTransparent()))for(let H=Z;H<=J;H++)switch(K.position){case c.MinimapPosition.Inline:this.renderDecorationOnLine(T,N,R.range,X,F,H,O,O,W,U,j);continue;case c.MinimapPosition.Gutter:{const B=F.getYForLineNumber(H,O),V=2;this.renderDecoration(T,X,V,B,l,O);continue}}}}renderDecorationOnLine(T,A,N,F,O,W,U,j,R,K,G){const Z=O.getYForLineNumber(W,j);if(Z+U<0||Z>this._model.options.canvasInnerHeight)return;const{startLineNumber:J,endLineNumber:X}=N,H=J===W?N.startColumn:1,B=X===W?N.endColumn:this._model.getLineMaxColumn(W),V=this.getXOffsetForPosition(A,W,H,R,K,G),Y=this.getXOffsetForPosition(A,W,B,R,K,G);this.renderDecoration(T,F,V,Z,Y-V,U)}getXOffsetForPosition(T,A,N,F,O,W){if(N===1)return C.MINIMAP_GUTTER_WIDTH;if((N-1)*O>=W)return W;let j=T.get(A);if(!j){const R=this._model.getLineContent(A);j=[C.MINIMAP_GUTTER_WIDTH];let K=C.MINIMAP_GUTTER_WIDTH;for(let G=1;G=W){j[G]=W;break}j[G]=X,K=X}T.set(A,j)}return N-1ce?Math.floor((F-ce)/2):0,he=Z.a/255,ue=new i.RGBA8(Math.round((Z.r-G.r)*he+G.r),Math.round((Z.g-G.g)*he+G.g),Math.round((Z.b-G.b)*he+G.b),255);let te=T.topPaddingLineCount*F;const q=[];for(let oe=0,ge=N-A+1;oe=0&&zY)return;const ee=B.charCodeAt(ce);if(ee===9){const $=Z-(ce+de)%Z;de+=$-1,ae+=$*W}else if(ee===32)ae+=W;else{const $=f.isFullWidthCharacter(ee)?2:1;for(let re=0;re<$;re++)if(O===2?R.blockRenderChar(T,ae,K+G,z,j,A,N,ie):R.renderChar(T,ae,K+G,ee,z,j,A,N,X,F,ie),ae+=W,ae>Y)return}}}}}class P{constructor(T,A,N){this._startLineNumber=T,this._endLineNumber=A,this._defaultValue=N,this._values=[];for(let F=0,O=this._endLineNumber-this._startLineNumber+1;Fthis._endLineNumber||(this._values[T-this._startLineNumber]=A)}get(T){return Tthis._endLineNumber?this._defaultValue:this._values[T-this._startLineNumber]}}}),define(ne[822],se([1,0,608,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffMoveBorderActive=e.diffMoveBorder=void 0,e.diffMoveBorder=(0,k.registerColor)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,L.localize)(0,null)),e.diffMoveBorderActive=(0,k.registerColor)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,L.localize)(1,null))}),define(ne[249],se([1,0,706,31,463]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOL_ICON_VARIABLE_FOREGROUND=e.SYMBOL_ICON_UNIT_FOREGROUND=e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=e.SYMBOL_ICON_TEXT_FOREGROUND=e.SYMBOL_ICON_STRUCT_FOREGROUND=e.SYMBOL_ICON_STRING_FOREGROUND=e.SYMBOL_ICON_SNIPPET_FOREGROUND=e.SYMBOL_ICON_REFERENCE_FOREGROUND=e.SYMBOL_ICON_PROPERTY_FOREGROUND=e.SYMBOL_ICON_PACKAGE_FOREGROUND=e.SYMBOL_ICON_OPERATOR_FOREGROUND=e.SYMBOL_ICON_OBJECT_FOREGROUND=e.SYMBOL_ICON_NUMBER_FOREGROUND=e.SYMBOL_ICON_NULL_FOREGROUND=e.SYMBOL_ICON_NAMESPACE_FOREGROUND=e.SYMBOL_ICON_MODULE_FOREGROUND=e.SYMBOL_ICON_METHOD_FOREGROUND=e.SYMBOL_ICON_KEYWORD_FOREGROUND=e.SYMBOL_ICON_KEY_FOREGROUND=e.SYMBOL_ICON_INTERFACE_FOREGROUND=e.SYMBOL_ICON_FUNCTION_FOREGROUND=e.SYMBOL_ICON_FOLDER_FOREGROUND=e.SYMBOL_ICON_FILE_FOREGROUND=e.SYMBOL_ICON_FIELD_FOREGROUND=e.SYMBOL_ICON_EVENT_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=e.SYMBOL_ICON_CONSTANT_FOREGROUND=e.SYMBOL_ICON_COLOR_FOREGROUND=e.SYMBOL_ICON_CLASS_FOREGROUND=e.SYMBOL_ICON_BOOLEAN_FOREGROUND=e.SYMBOL_ICON_ARRAY_FOREGROUND=void 0,e.SYMBOL_ICON_ARRAY_FOREGROUND=(0,k.registerColor)("symbolIcon.arrayForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(0,null)),e.SYMBOL_ICON_BOOLEAN_FOREGROUND=(0,k.registerColor)("symbolIcon.booleanForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(1,null)),e.SYMBOL_ICON_CLASS_FOREGROUND=(0,k.registerColor)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(2,null)),e.SYMBOL_ICON_COLOR_FOREGROUND=(0,k.registerColor)("symbolIcon.colorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(3,null)),e.SYMBOL_ICON_CONSTANT_FOREGROUND=(0,k.registerColor)("symbolIcon.constantForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(4,null)),e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=(0,k.registerColor)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(5,null)),e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(6,null)),e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(7,null)),e.SYMBOL_ICON_EVENT_FOREGROUND=(0,k.registerColor)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(8,null)),e.SYMBOL_ICON_FIELD_FOREGROUND=(0,k.registerColor)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(9,null)),e.SYMBOL_ICON_FILE_FOREGROUND=(0,k.registerColor)("symbolIcon.fileForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(10,null)),e.SYMBOL_ICON_FOLDER_FOREGROUND=(0,k.registerColor)("symbolIcon.folderForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(11,null)),e.SYMBOL_ICON_FUNCTION_FOREGROUND=(0,k.registerColor)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(12,null)),e.SYMBOL_ICON_INTERFACE_FOREGROUND=(0,k.registerColor)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(13,null)),e.SYMBOL_ICON_KEY_FOREGROUND=(0,k.registerColor)("symbolIcon.keyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(14,null)),e.SYMBOL_ICON_KEYWORD_FOREGROUND=(0,k.registerColor)("symbolIcon.keywordForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(15,null)),e.SYMBOL_ICON_METHOD_FOREGROUND=(0,k.registerColor)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(16,null)),e.SYMBOL_ICON_MODULE_FOREGROUND=(0,k.registerColor)("symbolIcon.moduleForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(17,null)),e.SYMBOL_ICON_NAMESPACE_FOREGROUND=(0,k.registerColor)("symbolIcon.namespaceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(18,null)),e.SYMBOL_ICON_NULL_FOREGROUND=(0,k.registerColor)("symbolIcon.nullForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(19,null)),e.SYMBOL_ICON_NUMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.numberForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(20,null)),e.SYMBOL_ICON_OBJECT_FOREGROUND=(0,k.registerColor)("symbolIcon.objectForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(21,null)),e.SYMBOL_ICON_OPERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.operatorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(22,null)),e.SYMBOL_ICON_PACKAGE_FOREGROUND=(0,k.registerColor)("symbolIcon.packageForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(23,null)),e.SYMBOL_ICON_PROPERTY_FOREGROUND=(0,k.registerColor)("symbolIcon.propertyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(24,null)),e.SYMBOL_ICON_REFERENCE_FOREGROUND=(0,k.registerColor)("symbolIcon.referenceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(25,null)),e.SYMBOL_ICON_SNIPPET_FOREGROUND=(0,k.registerColor)("symbolIcon.snippetForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(26,null)),e.SYMBOL_ICON_STRING_FOREGROUND=(0,k.registerColor)("symbolIcon.stringForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(27,null)),e.SYMBOL_ICON_STRUCT_FOREGROUND=(0,k.registerColor)("symbolIcon.structForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(28,null)),e.SYMBOL_ICON_TEXT_FOREGROUND=(0,k.registerColor)("symbolIcon.textForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(29,null)),e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=(0,k.registerColor)("symbolIcon.typeParameterForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(30,null)),e.SYMBOL_ICON_UNIT_FOREGROUND=(0,k.registerColor)("symbolIcon.unitForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(31,null)),e.SYMBOL_ICON_VARIABLE_FOREGROUND=(0,k.registerColor)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(32,null))}),define(ne[823],se([1,0,25,113,641,172,249]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMenuItems=void 0;const D=Object.freeze({kind:k.CodeActionKind.Empty,title:(0,y.localize)(0,null)}),S=Object.freeze([{kind:k.CodeActionKind.QuickFix,title:(0,y.localize)(1,null)},{kind:k.CodeActionKind.RefactorExtract,title:(0,y.localize)(2,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorInline,title:(0,y.localize)(3,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorRewrite,title:(0,y.localize)(4,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorMove,title:(0,y.localize)(5,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.SurroundWith,title:(0,y.localize)(6,null),icon:L.Codicon.symbolSnippet},{kind:k.CodeActionKind.Source,title:(0,y.localize)(7,null),icon:L.Codicon.symbolFile},D]);function f(_,g,C){if(!g)return _.map(n=>({kind:"action",item:n,group:D,disabled:!!n.action.disabled,label:n.action.disabled||n.action.title}));const s=S.map(n=>({group:n,actions:[]}));for(const n of _){const t=n.action.kind?new k.CodeActionKind(n.action.kind):k.CodeActionKind.None;for(const a of s)if(a.group.kind.contains(t)){a.actions.push(n);break}}const i=[];for(const n of s)if(n.actions.length){i.push({kind:"header",group:n.group});for(const t of n.actions)i.push({kind:"action",item:t,group:n.group,label:t.action.title,disabled:!!t.action.disabled,keybinding:C(t.action)})}return i}e.toMenuItems=f}),define(ne[105],se([1,0,31,38]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultMenuStyles=e.defaultSelectBoxStyles=e.getListStyles=e.defaultListStyles=e.defaultBreadcrumbsWidgetStyles=e.defaultCountBadgeStyles=e.defaultFindWidgetStyles=e.defaultInputBoxStyles=e.defaultDialogStyles=e.defaultCheckboxStyles=e.defaultToggleStyles=e.defaultProgressBarStyles=e.defaultButtonStyles=e.defaultKeybindingLabelStyles=void 0;function y(S,f){const _=Object.assign({},f);for(const g in S){const C=S[g];_[g]=C!==void 0?(0,L.asCssVariable)(C):void 0}return _}e.defaultKeybindingLabelStyles={keybindingLabelBackground:(0,L.asCssVariable)(L.keybindingLabelBackground),keybindingLabelForeground:(0,L.asCssVariable)(L.keybindingLabelForeground),keybindingLabelBorder:(0,L.asCssVariable)(L.keybindingLabelBorder),keybindingLabelBottomBorder:(0,L.asCssVariable)(L.keybindingLabelBottomBorder),keybindingLabelShadow:(0,L.asCssVariable)(L.widgetShadow)},e.defaultButtonStyles={buttonForeground:(0,L.asCssVariable)(L.buttonForeground),buttonSeparator:(0,L.asCssVariable)(L.buttonSeparator),buttonBackground:(0,L.asCssVariable)(L.buttonBackground),buttonHoverBackground:(0,L.asCssVariable)(L.buttonHoverBackground),buttonSecondaryForeground:(0,L.asCssVariable)(L.buttonSecondaryForeground),buttonSecondaryBackground:(0,L.asCssVariable)(L.buttonSecondaryBackground),buttonSecondaryHoverBackground:(0,L.asCssVariable)(L.buttonSecondaryHoverBackground),buttonBorder:(0,L.asCssVariable)(L.buttonBorder)},e.defaultProgressBarStyles={progressBarBackground:(0,L.asCssVariable)(L.progressBarBackground)},e.defaultToggleStyles={inputActiveOptionBorder:(0,L.asCssVariable)(L.inputActiveOptionBorder),inputActiveOptionForeground:(0,L.asCssVariable)(L.inputActiveOptionForeground),inputActiveOptionBackground:(0,L.asCssVariable)(L.inputActiveOptionBackground)},e.defaultCheckboxStyles={checkboxBackground:(0,L.asCssVariable)(L.checkboxBackground),checkboxBorder:(0,L.asCssVariable)(L.checkboxBorder),checkboxForeground:(0,L.asCssVariable)(L.checkboxForeground)},e.defaultDialogStyles={dialogBackground:(0,L.asCssVariable)(L.editorWidgetBackground),dialogForeground:(0,L.asCssVariable)(L.editorWidgetForeground),dialogShadow:(0,L.asCssVariable)(L.widgetShadow),dialogBorder:(0,L.asCssVariable)(L.contrastBorder),errorIconForeground:(0,L.asCssVariable)(L.problemsErrorIconForeground),warningIconForeground:(0,L.asCssVariable)(L.problemsWarningIconForeground),infoIconForeground:(0,L.asCssVariable)(L.problemsInfoIconForeground),textLinkForeground:(0,L.asCssVariable)(L.textLinkForeground)},e.defaultInputBoxStyles={inputBackground:(0,L.asCssVariable)(L.inputBackground),inputForeground:(0,L.asCssVariable)(L.inputForeground),inputBorder:(0,L.asCssVariable)(L.inputBorder),inputValidationInfoBorder:(0,L.asCssVariable)(L.inputValidationInfoBorder),inputValidationInfoBackground:(0,L.asCssVariable)(L.inputValidationInfoBackground),inputValidationInfoForeground:(0,L.asCssVariable)(L.inputValidationInfoForeground),inputValidationWarningBorder:(0,L.asCssVariable)(L.inputValidationWarningBorder),inputValidationWarningBackground:(0,L.asCssVariable)(L.inputValidationWarningBackground),inputValidationWarningForeground:(0,L.asCssVariable)(L.inputValidationWarningForeground),inputValidationErrorBorder:(0,L.asCssVariable)(L.inputValidationErrorBorder),inputValidationErrorBackground:(0,L.asCssVariable)(L.inputValidationErrorBackground),inputValidationErrorForeground:(0,L.asCssVariable)(L.inputValidationErrorForeground)},e.defaultFindWidgetStyles={listFilterWidgetBackground:(0,L.asCssVariable)(L.listFilterWidgetBackground),listFilterWidgetOutline:(0,L.asCssVariable)(L.listFilterWidgetOutline),listFilterWidgetNoMatchesOutline:(0,L.asCssVariable)(L.listFilterWidgetNoMatchesOutline),listFilterWidgetShadow:(0,L.asCssVariable)(L.listFilterWidgetShadow),inputBoxStyles:e.defaultInputBoxStyles,toggleStyles:e.defaultToggleStyles},e.defaultCountBadgeStyles={badgeBackground:(0,L.asCssVariable)(L.badgeBackground),badgeForeground:(0,L.asCssVariable)(L.badgeForeground),badgeBorder:(0,L.asCssVariable)(L.contrastBorder)},e.defaultBreadcrumbsWidgetStyles={breadcrumbsBackground:(0,L.asCssVariable)(L.breadcrumbsBackground),breadcrumbsForeground:(0,L.asCssVariable)(L.breadcrumbsForeground),breadcrumbsHoverForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusAndSelectionForeground:(0,L.asCssVariable)(L.breadcrumbsActiveSelectionForeground)},e.defaultListStyles={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,L.asCssVariable)(L.listFocusBackground),listFocusForeground:(0,L.asCssVariable)(L.listFocusForeground),listFocusOutline:(0,L.asCssVariable)(L.listFocusOutline),listActiveSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listActiveSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listActiveSelectionIconForeground:(0,L.asCssVariable)(L.listActiveSelectionIconForeground),listFocusAndSelectionOutline:(0,L.asCssVariable)(L.listFocusAndSelectionOutline),listFocusAndSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listFocusAndSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listInactiveSelectionBackground:(0,L.asCssVariable)(L.listInactiveSelectionBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.listInactiveSelectionIconForeground),listInactiveSelectionForeground:(0,L.asCssVariable)(L.listInactiveSelectionForeground),listInactiveFocusBackground:(0,L.asCssVariable)(L.listInactiveFocusBackground),listInactiveFocusOutline:(0,L.asCssVariable)(L.listInactiveFocusOutline),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listDropBackground:(0,L.asCssVariable)(L.listDropBackground),listSelectionOutline:(0,L.asCssVariable)(L.activeContrastBorder),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),treeIndentGuidesStroke:(0,L.asCssVariable)(L.treeIndentGuidesStroke),treeInactiveIndentGuidesStroke:(0,L.asCssVariable)(L.treeInactiveIndentGuidesStroke),tableColumnsBorder:(0,L.asCssVariable)(L.tableColumnsBorder),tableOddRowsBackgroundColor:(0,L.asCssVariable)(L.tableOddRowsBackgroundColor)};function D(S){return y(S,e.defaultListStyles)}e.getListStyles=D,e.defaultSelectBoxStyles={selectBackground:(0,L.asCssVariable)(L.selectBackground),selectListBackground:(0,L.asCssVariable)(L.selectListBackground),selectForeground:(0,L.asCssVariable)(L.selectForeground),decoratorRightForeground:(0,L.asCssVariable)(L.pickerGroupForeground),selectBorder:(0,L.asCssVariable)(L.selectBorder),focusBorder:(0,L.asCssVariable)(L.focusBorder),listFocusBackground:(0,L.asCssVariable)(L.quickInputListFocusBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.quickInputListFocusIconForeground),listFocusForeground:(0,L.asCssVariable)(L.quickInputListFocusForeground),listFocusOutline:(0,L.asCssVariableWithDefault)(L.activeContrastBorder,k.Color.transparent.toString()),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),selectListBorder:(0,L.asCssVariable)(L.editorWidgetBorder),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0},e.defaultMenuStyles={shadowColor:(0,L.asCssVariable)(L.widgetShadow),borderColor:(0,L.asCssVariable)(L.menuBorder),foregroundColor:(0,L.asCssVariable)(L.menuForeground),backgroundColor:(0,L.asCssVariable)(L.menuBackground),selectionForegroundColor:(0,L.asCssVariable)(L.menuSelectionForeground),selectionBackgroundColor:(0,L.asCssVariable)(L.menuSelectionBackground),selectionBorderColor:(0,L.asCssVariable)(L.menuSelectionBorder),separatorColor:(0,L.asCssVariable)(L.menuSeparatorBackground),scrollbarShadow:(0,L.asCssVariable)(L.scrollbarShadow),scrollbarSliderBackground:(0,L.asCssVariable)(L.scrollbarSliderBackground),scrollbarSliderHoverBackground:(0,L.asCssVariable)(L.scrollbarSliderHoverBackground),scrollbarSliderActiveBackground:(0,L.asCssVariable)(L.scrollbarSliderActiveBackground)}}),define(ne[824],se([1,0,7,307,308,226,72,2,45,69,667,8,34,158,105,155]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityProvider=e.OneReferenceRenderer=e.FileReferencesRenderer=e.IdentityProvider=e.StringRepresentationProvider=e.Delegate=e.DataSource=void 0;let h=class{constructor(w){this._resolverService=w}hasChildren(w){return w instanceof a.ReferencesModel||w instanceof a.FileReferences}getChildren(w){if(w instanceof a.ReferencesModel)return w.groups;if(w instanceof a.FileReferences)return w.resolve(this._resolverService).then(E=>E.children);throw new Error("bad tree")}};e.DataSource=h,e.DataSource=h=ke([fe(0,g.ITextModelService)],h);class r{getHeight(){return 23}getTemplateId(w){return w instanceof a.FileReferences?l.id:m.id}}e.Delegate=r;let c=class{constructor(w){this._keybindingService=w}getKeyboardNavigationLabel(w){var E;if(w instanceof a.OneReference){const I=(E=w.parent.getPreview(w))===null||E===void 0?void 0:E.preview(w.range);if(I)return I.value}return(0,_.basename)(w.uri)}};e.StringRepresentationProvider=c,e.StringRepresentationProvider=c=ke([fe(0,i.IKeybindingService)],c);class o{getId(w){return w instanceof a.OneReference?w.id:w.uri}}e.IdentityProvider=o;let d=class extends f.Disposable{constructor(w,E){super(),this._labelService=E;const I=document.createElement("div");I.classList.add("reference-file"),this.file=this._register(new D.IconLabel(I,{supportHighlights:!0})),this.badge=new k.CountBadge(L.append(I,L.$(".count")),{},t.defaultCountBadgeStyles),w.appendChild(I)}set(w,E){const I=(0,_.dirname)(w.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(w.uri),this._labelService.getUriLabel(I,{relative:!0}),{title:this._labelService.getUriLabel(w.uri),matches:E});const M=w.children.length;this.badge.setCount(M),M>1?this.badge.setTitleFormat((0,C.localize)(0,null,M)):this.badge.setTitleFormat((0,C.localize)(1,null,M))}};d=ke([fe(1,n.ILabelService)],d);let l=u=class{constructor(w){this._instantiationService=w,this.templateId=u.id}renderTemplate(w){return this._instantiationService.createInstance(d,w)}renderElement(w,E,I){I.set(w.element,(0,S.createMatches)(w.filterData))}disposeTemplate(w){w.dispose()}};e.FileReferencesRenderer=l,l.id="FileReferencesRenderer",e.FileReferencesRenderer=l=u=ke([fe(0,s.IInstantiationService)],l);class p{constructor(w){this.label=new y.HighlightedLabel(w)}set(w,E){var I;const M=(I=w.parent.getPreview(w))===null||I===void 0?void 0:I.preview(w.range);if(!M||!M.value)this.label.set(`${(0,_.basename)(w.uri)}:${w.range.startLineNumber+1}:${w.range.startColumn+1}`);else{const{value:P,highlight:x}=M;E&&!S.FuzzyScore.isDefault(E)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(P,(0,S.createMatches)(E))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(P,[x]))}}}class m{constructor(){this.templateId=m.id}renderTemplate(w){return new p(w)}renderElement(w,E,I){I.set(w.element,w.filterData)}disposeTemplate(){}}e.OneReferenceRenderer=m,m.id="OneReferenceRenderer";class v{getWidgetAriaLabel(){return(0,C.localize)(2,null)}getAriaLabel(w){return w.ariaMessage}}e.AccessibilityProvider=v}),define(ne[825],se([1,0,7,222,114,25,2,17,26,715,57,34,105,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionList=e.previewSelectedActionCommand=e.acceptSelectedActionCommand=void 0,e.acceptSelectedActionCommand="acceptSelectedCodeAction",e.previewSelectedActionCommand="previewSelectedCodeAction";class t{get templateId(){return"header"}renderTemplate(l){l.classList.add("group-header");const p=document.createElement("span");return l.append(p),{container:l,text:p}}renderElement(l,p,m){var v,b;m.text.textContent=(b=(v=l.group)===null||v===void 0?void 0:v.title)!==null&&b!==void 0?b:""}disposeTemplate(l){}}let a=class{get templateId(){return"action"}constructor(l,p){this._supportsPreview=l,this._keybindingService=p}renderTemplate(l){l.classList.add(this.templateId);const p=document.createElement("div");p.className="icon",l.append(p);const m=document.createElement("span");m.className="title",l.append(m);const v=new k.KeybindingLabel(l,f.OS);return{container:l,icon:p,text:m,keybinding:v}}renderElement(l,p,m){var v,b,w;if(!((v=l.group)===null||v===void 0)&&v.icon?(m.icon.className=_.ThemeIcon.asClassName(l.group.icon),l.group.icon.color&&(m.icon.style.color=(0,n.asCssVariable)(l.group.icon.color.id))):(m.icon.className=_.ThemeIcon.asClassName(D.Codicon.lightBulb),m.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!l.item||!l.label)return;m.text.textContent=o(l.label),m.keybinding.set(l.keybinding),L.setVisibility(!!l.keybinding,m.keybinding.element);const E=(b=this._keybindingService.lookupKeybinding(e.acceptSelectedActionCommand))===null||b===void 0?void 0:b.getLabel(),I=(w=this._keybindingService.lookupKeybinding(e.previewSelectedActionCommand))===null||w===void 0?void 0:w.getLabel();m.container.classList.toggle("option-disabled",l.disabled),l.disabled?m.container.title=l.label:E&&I?this._supportsPreview?m.container.title=(0,g.localize)(0,null,E,I):m.container.title=(0,g.localize)(1,null,E):m.container.title=""}disposeTemplate(l){}};a=ke([fe(1,s.IKeybindingService)],a);class u extends UIEvent{constructor(){super("acceptSelectedAction")}}class h extends UIEvent{constructor(){super("previewSelectedAction")}}function r(d){if(d.kind==="action")return d.label}let c=class extends S.Disposable{constructor(l,p,m,v,b,w){super(),this._delegate=v,this._contextViewService=b,this._keybindingService=w,this._actionLineHeight=24,this._headerLineHeight=26,this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const E={getHeight:I=>I.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:I=>I.kind};this._list=this._register(new y.List(l,this.domNode,E,[new a(p,this._keybindingService),new t],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:r},accessibilityProvider:{getAriaLabel:I=>{if(I.kind==="action"){let M=I.label?o(I?.label):"";return I.disabled&&(M=(0,g.localize)(2,null,M,I.disabled)),M}return null},getWidgetAriaLabel:()=>(0,g.localize)(3,null),getRole:I=>I.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(i.defaultListStyles),this._register(this._list.onMouseClick(I=>this.onListClick(I))),this._register(this._list.onMouseOver(I=>this.onListHover(I))),this._register(this._list.onDidChangeFocus(()=>this._list.domFocus())),this._register(this._list.onDidChangeSelection(I=>this.onListSelection(I))),this._allMenuItems=m,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(l){return!l.disabled&&l.kind==="action"}hide(l){this._delegate.onHide(l),this._contextViewService.hideContextView()}layout(l){const p=this._allMenuItems.filter(M=>M.kind==="header").length,v=this._allMenuItems.length*this._actionLineHeight+p*this._headerLineHeight-p*this._actionLineHeight;this._list.layout(v);const b=this._allMenuItems.map((M,P)=>{const x=document.getElementById(this._list.getElementID(P));if(x){x.style.width="auto";const T=x.getBoundingClientRect().width;return x.style.width="",T}return 0}),w=Math.max(...b,l),E=.7,I=Math.min(v,document.body.clientHeight*E);return this._list.layout(I,w),this.domNode.style.height=`${I}px`,this._list.domFocus(),w}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(l){const p=this._list.getFocus();if(p.length===0)return;const m=p[0],v=this._list.element(m);if(!this.focusCondition(v))return;const b=l?new h:new u;this._list.setSelection([m],b)}onListSelection(l){if(!l.elements.length)return;const p=l.elements[0];p.item&&this.focusCondition(p)?this._delegate.onSelect(p.item,l.browserEvent instanceof h):this._list.setSelection([])}onListHover(l){this._list.setFocus(typeof l.index=="number"?[l.index]:[])}onListClick(l){l.element&&this.focusCondition(l.element)&&this._list.setFocus([])}};e.ActionList=c,e.ActionList=c=ke([fe(4,C.IContextViewService),fe(5,s.IKeybindingService)],c);function o(d){return d.replace(/\r\n|\r|\n/g," ")}}),define(ne[826],se([1,0,7,68,2,716,825,30,15,57,50,8,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IActionWidgetService=void 0,(0,i.registerColor)("actionBar.toggledBackground",{dark:i.inputActiveOptionBackground,light:i.inputActiveOptionBackground,hcDark:i.inputActiveOptionBackground,hcLight:i.inputActiveOptionBackground},(0,D.localize)(0,null));const n={Visible:new _.RawContextKey("codeActionMenuVisible",!1,(0,D.localize)(1,null))};e.IActionWidgetService=(0,s.createDecorator)("actionWidgetService");let t=class extends y.Disposable{get isVisible(){return n.Visible.getValue(this._contextKeyService)||!1}constructor(h,r,c){super(),this._contextViewService=h,this._contextKeyService=r,this._instantiationService=c,this._list=this._register(new y.MutableDisposable)}show(h,r,c,o,d,l,p){const m=n.Visible.bindTo(this._contextKeyService),v=this._instantiationService.createInstance(S.ActionList,h,r,c,o);this._contextViewService.showContextView({getAnchor:()=>d,render:b=>(m.set(!0),this._renderWidget(b,v,p??[])),onHide:b=>{m.reset(),this._onWidgetClosed(b)}},l,!1)}acceptSelected(h){var r;(r=this._list.value)===null||r===void 0||r.acceptSelected(h)}focusPrevious(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusPrevious()}focusNext(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusNext()}hide(){var h;(h=this._list.value)===null||h===void 0||h.hide(),this._list.clear()}_renderWidget(h,r,c){var o;const d=document.createElement("div");if(d.classList.add("action-widget"),h.appendChild(d),this._list.value=r,this._list.value)d.appendChild(this._list.value.domNode);else throw new Error("List has no value");const l=new y.DisposableStore,p=document.createElement("div"),m=h.appendChild(p);m.classList.add("context-view-block"),l.add(L.addDisposableListener(m,L.EventType.MOUSE_DOWN,M=>M.stopPropagation()));const v=document.createElement("div"),b=h.appendChild(v);b.classList.add("context-view-pointerBlock"),l.add(L.addDisposableListener(b,L.EventType.POINTER_MOVE,()=>b.remove())),l.add(L.addDisposableListener(b,L.EventType.MOUSE_DOWN,()=>b.remove()));let w=0;if(c.length){const M=this._createActionBar(".action-widget-action-bar",c);M&&(d.appendChild(M.getContainer().parentElement),l.add(M),w=M.getContainer().offsetWidth)}const E=(o=this._list.value)===null||o===void 0?void 0:o.layout(w);d.style.width=`${E}px`;const I=l.add(L.trackFocus(h));return l.add(I.onDidBlur(()=>this.hide())),l}_createActionBar(h,r){if(!r.length)return;const c=L.$(h),o=new k.ActionBar(c);return o.push(r,{icon:!1,label:!0}),o}_onWidgetClosed(h){var r;(r=this._list.value)===null||r===void 0||r.hide(h)}};t=ke([fe(0,g.IContextViewService),fe(1,_.IContextKeyService),fe(2,s.IInstantiationService)],t),(0,C.registerSingleton)(e.IActionWidgetService,t,1);const a=100+1e3;(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"hideCodeActionWidget",title:{value:(0,D.localize)(2,null),original:"Hide action widget"},precondition:n.Visible,keybinding:{weight:a,primary:9,secondary:[1033]}})}run(u){u.get(e.IActionWidgetService).hide()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectPrevCodeAction",title:{value:(0,D.localize)(3,null),original:"Select previous action"},precondition:n.Visible,keybinding:{weight:a,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusPrevious()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectNextCodeAction",title:{value:(0,D.localize)(4,null),original:"Select next action"},precondition:n.Visible,keybinding:{weight:a,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusNext()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.acceptSelectedActionCommand,title:{value:(0,D.localize)(5,null),original:"Accept selected action"},precondition:n.Visible,keybinding:{weight:a,primary:3,secondary:[2137]}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.previewSelectedActionCommand,title:{value:(0,D.localize)(6,null),original:"Preview selected action"},precondition:n.Visible,keybinding:{weight:a,primary:2051}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected(!0)}})}),define(ne[250],se([1,0,7,9,100,2,12,18,137,801,823,350,190,640,826,27,28,15,8,97,77,113,349]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionController=void 0;let m=p=class extends D.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A,N){super(),this._commandService=x,this._configurationService=T,this._actionWidgetService=A,this._instantiationService=N,this._activeCodeActions=this._register(new D.MutableDisposable),this._showDisabled=!1,this._disposed=!1,this._editor=b,this._model=this._register(new l.CodeActionModel(this._editor,M.codeActionProvider,w,E,P)),this._register(this._model.onDidChangeState(F=>this.update(F))),this._lightBulbWidget=new y.Lazy(()=>{const F=this._editor.getContribution(s.LightBulbWidget.ID);return F&&this._register(F.onClick(O=>this.showCodeActionList(O.actions,O,{includeDisabledActions:!1,fromLightbulb:!0}))),F}),this._resolver=I.createInstance(g.CodeActionKeybindingResolver),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}showCodeActions(b,w,E){return this.showCodeActionList(w,E,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(b,w,E,I){var M;if(!this._editor.hasModel())return;(M=i.MessageController.get(this._editor))===null||M===void 0||M.closeMessage();const P=this._editor.getPosition();this._trigger({type:1,triggerAction:w,filter:E,autoApply:I,context:{notAvailableMessage:b,position:P}})}_trigger(b){return this._model.trigger(b)}_applyCodeAction(b,w,E){return we(this,void 0,void 0,function*(){try{yield this._instantiationService.invokeFunction(_.applyCodeAction,b,_.ApplyCodeActionReason.FromCodeActions,{preview:E,editor:this._editor})}finally{w&&this._trigger({type:2,triggerAction:d.CodeActionTriggerSource.QuickFix,filter:{}})}})}update(b){var w,E,I,M,P,x,T;return we(this,void 0,void 0,function*(){if(b.type!==1){(w=this._lightBulbWidget.rawValue)===null||w===void 0||w.hide();return}let A;try{A=yield b.actions}catch(N){(0,k.onUnexpectedError)(N);return}if(!this._disposed)if((E=this._lightBulbWidget.value)===null||E===void 0||E.update(A,b.trigger,b.position),b.trigger.type===1){if(!((I=b.trigger.filter)===null||I===void 0)&&I.include){const F=this.tryGetValidActionToApply(b.trigger,A);if(F){try{(M=this._lightBulbWidget.value)===null||M===void 0||M.hide(),yield this._applyCodeAction(F,!1,!1)}finally{A.dispose()}return}if(b.trigger.context){const O=this.getInvalidActionThatWouldHaveBeenApplied(b.trigger,A);if(O&&O.action.disabled){(P=i.MessageController.get(this._editor))===null||P===void 0||P.showMessage(O.action.disabled,b.trigger.context.position),A.dispose();return}}}const N=!!(!((x=b.trigger.filter)===null||x===void 0)&&x.include);if(b.trigger.context&&(!A.allActions.length||!N&&!A.validActions.length)){(T=i.MessageController.get(this._editor))===null||T===void 0||T.showMessage(b.trigger.context.notAvailableMessage,b.trigger.context.position),this._activeCodeActions.value=A,A.dispose();return}this._activeCodeActions.value=A,this.showCodeActionList(A,this.toCoords(b.position),{includeDisabledActions:N,fromLightbulb:!1})}else this._actionWidgetService.isVisible?A.dispose():this._activeCodeActions.value=A})}getInvalidActionThatWouldHaveBeenApplied(b,w){if(w.allActions.length&&(b.autoApply==="first"&&w.validActions.length===0||b.autoApply==="ifSingle"&&w.allActions.length===1))return w.allActions.find(({action:E})=>E.disabled)}tryGetValidActionToApply(b,w){if(w.validActions.length&&(b.autoApply==="first"&&w.validActions.length>0||b.autoApply==="ifSingle"&&w.validActions.length===1))return w.validActions[0]}showCodeActionList(b,w,E){return we(this,void 0,void 0,function*(){const I=this._editor.getDomNode();if(!I)return;const M=E.includeDisabledActions&&(this._showDisabled||b.validActions.length===0)?b.allActions:b.validActions;if(!M.length)return;const P=S.Position.isIPosition(w)?this.toCoords(w):w,x={onSelect:(T,A)=>we(this,void 0,void 0,function*(){this._applyCodeAction(T,!0,!!A),this._actionWidgetService.hide()}),onHide:()=>{var T;(T=this._editor)===null||T===void 0||T.focus()}};this._actionWidgetService.show("codeActionWidget",!0,(0,C.toMenuItems)(M,this._shouldShowHeaders(),this._resolver.getResolver()),x,P,I,this._getActionBarActions(b,w,E))})}toCoords(b){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(b,1),this._editor.render();const w=this._editor.getScrolledVisiblePosition(b),E=(0,L.getDomNodePagePosition)(this._editor.getDomNode()),I=E.left+w.left,M=E.top+w.top+w.height;return{x:I,y:M}}_shouldShowHeaders(){var b;const w=(b=this._editor)===null||b===void 0?void 0:b.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:w?.uri})}_getActionBarActions(b,w,E){if(E.fromLightbulb)return[];const I=b.documentation.map(M=>{var P;return{id:M.id,label:M.title,tooltip:(P=M.tooltip)!==null&&P!==void 0?P:"",class:void 0,enabled:!0,run:()=>{var x;return this._commandService.executeCommand(M.id,...(x=M.arguments)!==null&&x!==void 0?x:[])}}});return E.includeDisabledActions&&b.validActions.length>0&&b.allActions.length!==b.validActions.length&&I.push(this._showDisabled?{id:"hideMoreActions",label:(0,n.localize)(0,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(b,w,E))}:{id:"showMoreActions",label:(0,n.localize)(1,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(b,w,E))}),I}};e.CodeActionController=m,m.ID="editor.contrib.codeActionController",e.CodeActionController=m=p=ke([fe(1,c.IMarkerService),fe(2,h.IContextKeyService),fe(3,r.IInstantiationService),fe(4,f.ILanguageFeaturesService),fe(5,o.IEditorProgressService),fe(6,a.ICommandService),fe(7,u.IConfigurationService),fe(8,t.IActionWidgetService),fe(9,r.IInstantiationService)],m)}),define(ne[827],se([1,0,11,16,21,137,638,15,113,250,349]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoFixAction=e.FixAllAction=e.OrganizeImportsAction=e.SourceAction=e.RefactorAction=e.CodeActionCommand=e.QuickFixAction=void 0;function s(d){return f.ContextKeyExpr.regex(C.SUPPORTED_CODE_ACTIONS.keys()[0],new RegExp("(\\s|^)"+(0,L.escapeRegExpCharacters)(d.value)+"\\b"))}const i={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:S.localize(0,null)},apply:{type:"string",description:S.localize(1,null),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[S.localize(2,null),S.localize(3,null),S.localize(4,null)]},preferred:{type:"boolean",default:!1,description:S.localize(5,null)}}};function n(d,l,p,m,v=_.CodeActionTriggerSource.Default){if(d.hasModel()){const b=g.CodeActionController.get(d);b?.manualTriggerAtCurrentPosition(l,v,p,m)}}class t extends k.EditorAction{constructor(){super({id:D.quickFixCommandId,label:S.localize(6,null),alias:"Quick Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2137,weight:100}})}run(l,p){return n(p,S.localize(7,null),void 0,void 0,_.CodeActionTriggerSource.QuickFix)}}e.QuickFixAction=t;class a extends k.EditorCommand{constructor(){super({id:D.codeActionCommandId,precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:i}]}})}runEditorCommand(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Empty,apply:"ifSingle"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(8,null,m.kind):S.localize(9,null,m.kind):v.preferred?S.localize(10,null):S.localize(11,null),{include:v.kind,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply)}}e.CodeActionCommand=a;class u extends k.EditorAction{constructor(){super({id:D.refactorCommandId,label:S.localize(12,null),alias:"Refactor...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Refactor,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(13,null,m.kind):S.localize(14,null,m.kind):v.preferred?S.localize(15,null):S.localize(16,null),{include:_.CodeActionKind.Refactor.contains(v.kind)?v.kind:_.CodeActionKind.None,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.Refactor)}}e.RefactorAction=u;class h extends k.EditorAction{constructor(){super({id:D.sourceActionCommandId,label:S.localize(17,null),alias:"Source Action...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Source))},description:{description:"Source Action...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Source,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(18,null,m.kind):S.localize(19,null,m.kind):v.preferred?S.localize(20,null):S.localize(21,null),{include:_.CodeActionKind.Source.contains(v.kind)?v.kind:_.CodeActionKind.None,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.SourceAction)}}e.SourceAction=h;class r extends k.EditorAction{constructor(){super({id:D.organizeImportsCommandId,label:S.localize(22,null),alias:"Organize Imports",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceOrganizeImports)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1581,weight:100}})}run(l,p){return n(p,S.localize(23,null),{include:_.CodeActionKind.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.OrganizeImports)}}e.OrganizeImportsAction=r;class c extends k.EditorAction{constructor(){super({id:D.fixAllCommandId,label:S.localize(24,null),alias:"Fix All",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceFixAll))})}run(l,p){return n(p,S.localize(25,null),{include:_.CodeActionKind.SourceFixAll,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.FixAll)}}e.FixAllAction=c;class o extends k.EditorAction{constructor(){super({id:D.autoFixCommandId,label:S.localize(26,null),alias:"Auto Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.QuickFix)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(l,p){return n(p,S.localize(27,null),{include:_.CodeActionKind.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",_.CodeActionTriggerSource.AutoFix)}}e.AutoFixAction=o}),define(ne[828],se([1,0,16,241,827,250,350,639,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(D.CodeActionController.ID,D.CodeActionController,3),(0,L.registerEditorContribution)(S.LightBulbWidget.ID,S.LightBulbWidget,4),(0,L.registerEditorAction)(y.QuickFixAction),(0,L.registerEditorAction)(y.RefactorAction),(0,L.registerEditorAction)(y.SourceAction),(0,L.registerEditorAction)(y.OrganizeImportsAction),(0,L.registerEditorAction)(y.AutoFixAction),(0,L.registerEditorAction)(y.FixAllAction),(0,L.registerEditorCommand)(new y.CodeActionCommand),g.Registry.as(_.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:f.localize(0,null),default:!0}}}))}),define(ne[829],se([1,0,7,60,583,39,9,2,105]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuHandler=void 0;class g{constructor(s,i,n,t){this.contextViewService=s,this.telemetryService=i,this.notificationService=n,this.keybindingService=t,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(s){this.options=s}showContextMenu(s){const i=s.getActions();if(!i.length)return;this.focusToReturn=document.activeElement;let n;const t=(0,L.isHTMLElement)(s.domForShadowRoot)?s.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>s.getAnchor(),canRelayout:!1,anchorAlignment:s.anchorAlignment,anchorAxisAlignment:s.anchorAxisAlignment,render:a=>{var u;this.lastContainer=a;const h=s.getMenuClassName?s.getMenuClassName():"";h&&(a.className+=" "+h),this.options.blockMouse&&(this.block=a.appendChild((0,L.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(u=this.blockDisposable)===null||u===void 0||u.dispose(),this.blockDisposable=(0,L.addDisposableListener)(this.block,L.EventType.MOUSE_DOWN,o=>o.stopPropagation()));const r=new f.DisposableStore,c=s.actionRunner||new D.ActionRunner;return c.onWillRun(o=>this.onActionRun(o,!s.skipTelemetry),this,r),c.onDidRun(this.onDidActionRun,this,r),n=new y.Menu(a,i,{actionViewItemProvider:s.getActionViewItem,context:s.getActionsContext?s.getActionsContext():null,actionRunner:c,getKeyBinding:s.getKeyBinding?s.getKeyBinding:o=>this.keybindingService.lookupKeybinding(o.id)},_.defaultMenuStyles),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r),r.add((0,L.addDisposableListener)(window,L.EventType.BLUR,()=>this.contextViewService.hideContextView(!0))),r.add((0,L.addDisposableListener)(window,L.EventType.MOUSE_DOWN,o=>{if(o.defaultPrevented)return;const d=new k.StandardMouseEvent(o);let l=d.target;if(!d.rightButton){for(;l;){if(l===a)return;l=l.parentElement}this.contextViewService.hideContextView(!0)}})),(0,f.combinedDisposable)(r,n)},focus:()=>{n?.focus(!!s.autoSelectFirstItem)},onHide:a=>{var u,h,r;(u=s.onHide)===null||u===void 0||u.call(s,!!a),this.block&&(this.block.remove(),this.block=null),(h=this.blockDisposable)===null||h===void 0||h.dispose(),this.blockDisposable=null,this.lastContainer&&((0,L.getActiveElement)()===this.lastContainer||(0,L.isAncestor)((0,L.getActiveElement)(),this.lastContainer))&&((r=this.focusToReturn)===null||r===void 0||r.focus()),this.lastContainer=null}},t,!!t)}onActionRun(s,i){i&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:s.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(s){s.error&&!(0,S.isCancellationError)(s.error)&&this.notificationService.error(s.error)}}e.ContextMenuHandler=g}),define(ne[191],se([1,0,7,578,114,579,184,586,585,316,6,2,728,28,98,15,238,57,8,34,37,105]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WorkbenchCompressibleAsyncDataTree=e.WorkbenchAsyncDataTree=e.WorkbenchDataTree=e.WorkbenchCompressibleObjectTree=e.WorkbenchObjectTree=e.WorkbenchTable=e.WorkbenchPagedList=e.WorkbenchList=e.WorkbenchTreeFindOpen=e.WorkbenchTreeElementHasChild=e.WorkbenchTreeElementCanExpand=e.WorkbenchTreeElementHasParent=e.WorkbenchTreeElementCanCollapse=e.WorkbenchListSupportsFind=e.WorkbenchListSelectionNavigation=e.WorkbenchListMultiSelection=e.WorkbenchListDoubleSelection=e.WorkbenchListHasSelectionOrFocus=e.WorkbenchListFocusContextKey=e.WorkbenchListSupportsMultiSelectContextKey=e.RawWorkbenchListFocusContextKey=e.WorkbenchListScrollAtBottomContextKey=e.WorkbenchListScrollAtTopContextKey=e.RawWorkbenchListScrollAtBoundaryContextKey=e.ListService=e.IListService=void 0,e.IListService=(0,r.createDecorator)("listService");class l{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new s.DisposableStore,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(oe){var ge,ve;oe!==this._lastFocusedWidget&&((ge=this._lastFocusedWidget)===null||ge===void 0||ge.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=oe,(ve=this._lastFocusedWidget)===null||ve===void 0||ve.getHTMLElement().classList.add("last-focused"))}register(oe,ge){if(this._hasCreatedStyleController||(this._hasCreatedStyleController=!0,new y.DefaultStyleController((0,L.createStyleSheet)(),"").style(d.defaultListStyles)),this.lists.some(Se=>Se.widget===oe))throw new Error("Cannot register the same widget multiple times");const ve={widget:oe,extraContextKeys:ge};return this.lists.push(ve),oe.getHTMLElement()===document.activeElement&&this.setLastFocusedList(oe),(0,s.combinedDisposable)(oe.onDidFocus(()=>this.setLastFocusedList(oe)),(0,s.toDisposable)(()=>this.lists.splice(this.lists.indexOf(ve),1)),oe.onDidDispose(()=>{this.lists=this.lists.filter(Se=>Se!==ve),this._lastFocusedWidget===oe&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}e.ListService=l,e.RawWorkbenchListScrollAtBoundaryContextKey=new a.RawContextKey("listScrollAtBoundary","none"),e.WorkbenchListScrollAtTopContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("top"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.WorkbenchListScrollAtBottomContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("bottom"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.RawWorkbenchListFocusContextKey=new a.RawContextKey("listFocus",!0),e.WorkbenchListSupportsMultiSelectContextKey=new a.RawContextKey("listSupportsMultiselect",!0),e.WorkbenchListFocusContextKey=a.ContextKeyExpr.and(e.RawWorkbenchListFocusContextKey,a.ContextKeyExpr.not(u.InputFocusedContextKey)),e.WorkbenchListHasSelectionOrFocus=new a.RawContextKey("listHasSelectionOrFocus",!1),e.WorkbenchListDoubleSelection=new a.RawContextKey("listDoubleSelection",!1),e.WorkbenchListMultiSelection=new a.RawContextKey("listMultiSelection",!1),e.WorkbenchListSelectionNavigation=new a.RawContextKey("listSelectionNavigation",!1),e.WorkbenchListSupportsFind=new a.RawContextKey("listSupportsFind",!0),e.WorkbenchTreeElementCanCollapse=new a.RawContextKey("treeElementCanCollapse",!1),e.WorkbenchTreeElementHasParent=new a.RawContextKey("treeElementHasParent",!1),e.WorkbenchTreeElementCanExpand=new a.RawContextKey("treeElementCanExpand",!1),e.WorkbenchTreeElementHasChild=new a.RawContextKey("treeElementHasChild",!1),e.WorkbenchTreeFindOpen=new a.RawContextKey("treeFindOpen",!1);const p="listTypeNavigationMode",m="listAutomaticKeyboardNavigation";function v(re,oe){const ge=re.createScoped(oe.getHTMLElement());return e.RawWorkbenchListFocusContextKey.bindTo(ge),ge}function b(re,oe){const ge=e.RawWorkbenchListScrollAtBoundaryContextKey.bindTo(re),ve=()=>{const Se=oe.scrollTop===0,Le=oe.scrollHeight-oe.renderHeight-oe.scrollTop<1;Se&&Le?ge.set("both"):Se?ge.set("top"):Le?ge.set("bottom"):ge.set("none")};return ve(),oe.onDidScroll(ve)}const w="workbench.list.multiSelectModifier",E="workbench.list.openMode",I="workbench.list.horizontalScrolling",M="workbench.list.defaultFindMode",P="workbench.list.typeNavigationMode",x="workbench.list.keyboardNavigation",T="workbench.list.scrollByPage",A="workbench.list.defaultFindMatchType",N="workbench.tree.indent",F="workbench.tree.renderIndentGuides",O="workbench.list.smoothScrolling",W="workbench.list.mouseWheelScrollSensitivity",U="workbench.list.fastScrollSensitivity",j="workbench.tree.expandMode";function R(re){return re.getValue(w)==="alt"}class K extends s.Disposable{constructor(oe){super(),this.configurationService=oe,this.useAltAsMultipleSelectionModifier=R(oe),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(oe=>{oe.affectsConfiguration(w)&&(this.useAltAsMultipleSelectionModifier=R(this.configurationService))}))}isSelectionSingleChangeEvent(oe){return this.useAltAsMultipleSelectionModifier?oe.browserEvent.altKey:(0,y.isSelectionSingleChangeEvent)(oe)}isSelectionRangeChangeEvent(oe){return(0,y.isSelectionRangeChangeEvent)(oe)}}function G(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(c.IKeybindingService),Le=new s.DisposableStore;return[Object.assign(Object.assign({},oe),{keyboardNavigationDelegate:{mightProducePrintableCharacter(ye){return Se.mightProducePrintableCharacter(ye)}},smoothScrolling:!!ve.getValue(O),mouseWheelScrollSensitivity:ve.getValue(W),fastScrollSensitivity:ve.getValue(U),multipleSelectionController:(ge=oe.multipleSelectionController)!==null&&ge!==void 0?ge:Le.add(new K(ve)),keyboardNavigationEventFilter:ie(Se),scrollByPage:!!ve.getValue(T)}),Le]}let Z=class extends y.List{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=Le.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const le=this.getSelection(),pe=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(le.length>0||pe.length>0),this.listMultiSelection.set(le.length>1),this.listDoubleSelection.set(le.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const le=this.getSelection(),pe=this.getFocus();this.listHasSelectionOrFocus.set(le.length>0||pe.length>0)})),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}};e.WorkbenchList=Z,e.WorkbenchList=Z=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],Z);let J=class extends k.PagedList{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables=new s.DisposableStore,this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this.widget)),this.horizontalScrolling=Le.horizontalScrolling,this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchPagedList=J,e.WorkbenchPagedList=J=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],J);let X=class extends D.Table{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const Fe=typeof De.horizontalScrolling<"u"?De.horizontalScrolling:!!Me.getValue(I),[_e,me]=Pe.invokeFunction(G,De);super(oe,ge,ve,Se,Le,Object.assign(Object.assign({keyboardSupport:!1},_e),{horizontalScrolling:Fe})),this.disposables.add(me),this.contextKeyService=v(ye,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(De.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!De.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=De.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Me),this.disposables.add(this.contextKeyService),this.disposables.add(Ee.register(this)),this.updateStyles(De.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0),this.listMultiSelection.set(pe.length>1),this.listDoubleSelection.set(pe.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0)})),this.disposables.add(Me.onDidChangeConfiguration(pe=>{pe.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Me));let Ce={};if(pe.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const be=!!Me.getValue(I);Ce=Object.assign(Object.assign({},Ce),{horizontalScrolling:be})}if(pe.affectsConfiguration(T)){const be=!!Me.getValue(T);Ce=Object.assign(Object.assign({},Ce),{scrollByPage:be})}if(pe.affectsConfiguration(O)){const be=!!Me.getValue(O);Ce=Object.assign(Object.assign({},Ce),{smoothScrolling:be})}if(pe.affectsConfiguration(W)){const be=Me.getValue(W);Ce=Object.assign(Object.assign({},Ce),{mouseWheelScrollSensitivity:be})}if(pe.affectsConfiguration(U)){const be=Me.getValue(U);Ce=Object.assign(Object.assign({},Ce),{fastScrollSensitivity:be})}Object.keys(Ce).length>0&&this.updateOptions(Ce)})),this.navigator=new V(this,Object.assign({configurationService:Me},De)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchTable=X,e.WorkbenchTable=X=ke([fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService),fe(9,r.IInstantiationService)],X);class H extends s.Disposable{constructor(oe,ge){var ve;super(),this.widget=oe,this._onDidOpen=this._register(new C.Emitter),this.onDidOpen=this._onDidOpen.event,this._register(C.Event.filter(this.widget.onDidChangeSelection,Se=>Se.browserEvent instanceof KeyboardEvent)(Se=>this.onSelectionFromKeyboard(Se))),this._register(this.widget.onPointer(Se=>this.onPointer(Se.element,Se.browserEvent))),this._register(this.widget.onMouseDblClick(Se=>this.onMouseDblClick(Se.element,Se.browserEvent))),typeof ge?.openOnSingleClick!="boolean"&&ge?.configurationService?(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick",this._register(ge?.configurationService.onDidChangeConfiguration(Se=>{Se.affectsConfiguration(E)&&(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick")}))):this.openOnSingleClick=(ve=ge?.openOnSingleClick)!==null&&ve!==void 0?ve:!0}onSelectionFromKeyboard(oe){if(oe.elements.length!==1)return;const ge=oe.browserEvent,ve=typeof ge.preserveFocus=="boolean"?ge.preserveFocus:!0,Se=typeof ge.pinned=="boolean"?ge.pinned:!ve,Le=!1;this._open(this.getSelectedElement(),ve,Se,Le,oe.browserEvent)}onPointer(oe,ge){if(!this.openOnSingleClick||ge.detail===2)return;const Se=ge.button===1,Le=!0,De=Se,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}onMouseDblClick(oe,ge){if(!ge)return;const ve=ge.target;if(ve.classList.contains("monaco-tl-twistie")||ve.classList.contains("monaco-icon-label")&&ve.classList.contains("folder-icon")&&ge.offsetX<16)return;const Le=!1,De=!0,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}_open(oe,ge,ve,Se,Le){oe&&this._onDidOpen.fire({editorOptions:{preserveFocus:ge,pinned:ve,revealIfVisible:!0},sideBySide:Se,element:oe,browserEvent:Le})}}class B extends H{constructor(oe,ge){super(oe,ge),this.widget=oe}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class V extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Y extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){var oe;return(oe=this.widget.getSelection()[0])!==null&&oe!==void 0?oe:void 0}}function ie(re){let oe=!1;return ge=>{if(ge.toKeyCodeChord().isModifierKey())return!1;if(oe)return oe=!1,!1;const ve=re.softDispatch(ge,ge.target);return ve.kind===1?(oe=!0,!1):(oe=!1,ve.kind===0)}}let ae=class extends g.ObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchObjectTree=ae,e.WorkbenchObjectTree=ae=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ae);let ce=class extends g.CompressibleObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleObjectTree=ce,e.WorkbenchCompressibleObjectTree=ce=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ce);let de=class extends _.DataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchDataTree=de,e.WorkbenchDataTree=de=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],de);let he=class extends f.AsyncDataTree{get onDidOpen(){return this.internals.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchAsyncDataTree=he,e.WorkbenchAsyncDataTree=he=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],he);let ue=class extends f.CompressibleAsyncDataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe){const{options:_e,getTypeNavigationMode:me,disposable:le}=Ee.invokeFunction(z,ye);super(oe,ge,ve,Se,Le,De,_e),this.disposables.add(le),this.internals=new ee(this,ye,me,ye.overrideStyles,Me,Pe,Fe),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleAsyncDataTree=ue,e.WorkbenchCompressibleAsyncDataTree=ue=ke([fe(7,r.IInstantiationService),fe(8,a.IContextKeyService),fe(9,e.IListService),fe(10,n.IConfigurationService)],ue);function te(re){const oe=re.getValue(M);if(oe==="highlight")return S.TreeFindMode.Highlight;if(oe==="filter")return S.TreeFindMode.Filter;const ge=re.getValue(x);if(ge==="simple"||ge==="highlight")return S.TreeFindMode.Highlight;if(ge==="filter")return S.TreeFindMode.Filter}function q(re){const oe=re.getValue(A);if(oe==="fuzzy")return S.TreeFindMatchType.Fuzzy;if(oe==="contiguous")return S.TreeFindMatchType.Contiguous}function z(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(h.IContextViewService),Le=re.get(a.IContextKeyService),De=re.get(r.IInstantiationService),ye=()=>{const me=Le.getContextKeyValue(p);if(me==="automatic")return y.TypeNavigationMode.Automatic;if(me==="trigger"||Le.getContextKeyValue(m)===!1)return y.TypeNavigationMode.Trigger;const pe=ve.getValue(P);if(pe==="automatic")return y.TypeNavigationMode.Automatic;if(pe==="trigger")return y.TypeNavigationMode.Trigger},Ee=oe.horizontalScrolling!==void 0?oe.horizontalScrolling:!!ve.getValue(I),[Me,Pe]=De.invokeFunction(G,oe),Fe=oe.paddingBottom,_e=oe.renderIndentGuides!==void 0?oe.renderIndentGuides:ve.getValue(F);return{getTypeNavigationMode:ye,disposable:Pe,options:Object.assign(Object.assign({keyboardSupport:!1},Me),{indent:typeof ve.getValue(N)=="number"?ve.getValue(N):void 0,renderIndentGuides:_e,smoothScrolling:!!ve.getValue(O),defaultFindMode:te(ve),defaultFindMatchType:q(ve),horizontalScrolling:Ee,scrollByPage:!!ve.getValue(T),paddingBottom:Fe,hideTwistiesOfChildlessElements:oe.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(ge=oe.expandOnlyOnTwistieClick)!==null&&ge!==void 0?ge:ve.getValue(j)==="doubleClick",contextViewProvider:Se,findWidgetStyles:d.defaultFindWidgetStyles})}}let ee=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye){var Ee;this.tree=oe,this.disposables=[],this.contextKeyService=v(Le,oe),this.disposables.push(b(this.contextKeyService,oe)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(ge.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!ge.selectionNavigation),this.listSupportFindWidget=e.WorkbenchListSupportsFind.bindTo(this.contextKeyService),this.listSupportFindWidget.set((Ee=ge.findWidgetEnabled)!==null&&Ee!==void 0?Ee:!0),this.hasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.hasDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.hasMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.treeElementCanCollapse=e.WorkbenchTreeElementCanCollapse.bindTo(this.contextKeyService),this.treeElementHasParent=e.WorkbenchTreeElementHasParent.bindTo(this.contextKeyService),this.treeElementCanExpand=e.WorkbenchTreeElementCanExpand.bindTo(this.contextKeyService),this.treeElementHasChild=e.WorkbenchTreeElementHasChild.bindTo(this.contextKeyService),this.treeFindOpen=e.WorkbenchTreeFindOpen.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=R(ye),this.updateStyleOverrides(Se);const Pe=()=>{const _e=oe.getFocus()[0];if(!_e)return;const me=oe.getNode(_e);this.treeElementCanCollapse.set(me.collapsible&&!me.collapsed),this.treeElementHasParent.set(!!oe.getParentElement(_e)),this.treeElementCanExpand.set(me.collapsible&&me.collapsed),this.treeElementHasChild.set(!!oe.getFirstElementChild(_e))},Fe=new Set;Fe.add(p),Fe.add(m),this.disposables.push(this.contextKeyService,De.register(oe),oe.onDidChangeSelection(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(_e.length>0||me.length>0),this.hasMultiSelection.set(_e.length>1),this.hasDoubleSelection.set(_e.length===2)})}),oe.onDidChangeFocus(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.hasSelectionOrFocus.set(_e.length>0||me.length>0),Pe()}),oe.onDidChangeCollapseState(Pe),oe.onDidChangeModel(Pe),oe.onDidChangeFindOpenState(_e=>this.treeFindOpen.set(_e)),ye.onDidChangeConfiguration(_e=>{let me={};if(_e.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(ye)),_e.affectsConfiguration(N)){const le=ye.getValue(N);me=Object.assign(Object.assign({},me),{indent:le})}if(_e.affectsConfiguration(F)&&ge.renderIndentGuides===void 0){const le=ye.getValue(F);me=Object.assign(Object.assign({},me),{renderIndentGuides:le})}if(_e.affectsConfiguration(O)){const le=!!ye.getValue(O);me=Object.assign(Object.assign({},me),{smoothScrolling:le})}if(_e.affectsConfiguration(M)||_e.affectsConfiguration(x)){const le=te(ye);me=Object.assign(Object.assign({},me),{defaultFindMode:le})}if(_e.affectsConfiguration(P)||_e.affectsConfiguration(x)){const le=ve();me=Object.assign(Object.assign({},me),{typeNavigationMode:le})}if(_e.affectsConfiguration(A)){const le=q(ye);me=Object.assign(Object.assign({},me),{defaultFindMatchType:le})}if(_e.affectsConfiguration(I)&&ge.horizontalScrolling===void 0){const le=!!ye.getValue(I);me=Object.assign(Object.assign({},me),{horizontalScrolling:le})}if(_e.affectsConfiguration(T)){const le=!!ye.getValue(T);me=Object.assign(Object.assign({},me),{scrollByPage:le})}if(_e.affectsConfiguration(j)&&ge.expandOnlyOnTwistieClick===void 0&&(me=Object.assign(Object.assign({},me),{expandOnlyOnTwistieClick:ye.getValue(j)==="doubleClick"})),_e.affectsConfiguration(W)){const le=ye.getValue(W);me=Object.assign(Object.assign({},me),{mouseWheelScrollSensitivity:le})}if(_e.affectsConfiguration(U)){const le=ye.getValue(U);me=Object.assign(Object.assign({},me),{fastScrollSensitivity:le})}Object.keys(me).length>0&&oe.updateOptions(me)}),this.contextKeyService.onDidChangeContext(_e=>{_e.affectsSome(Fe)&&oe.updateOptions({typeNavigationMode:ve()})})),this.navigator=new Y(oe,Object.assign({configurationService:ye},ge)),this.disposables.push(this.navigator)}updateOptions(oe){oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyleOverrides(oe){this.tree.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables=(0,s.dispose)(this.disposables)}};ee=ke([fe(4,a.IContextKeyService),fe(5,e.IListService),fe(6,n.IConfigurationService)],ee),o.Registry.as(t.Extensions.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,i.localize)(0,null),type:"object",properties:{[w]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,i.localize)(1,null),(0,i.localize)(2,null)],default:"ctrlCmd",description:(0,i.localize)(3,null)},[E]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(4,null)},[I]:{type:"boolean",default:!1,description:(0,i.localize)(5,null)},[T]:{type:"boolean",default:!1,description:(0,i.localize)(6,null)},[N]:{type:"number",default:8,minimum:4,maximum:40,description:(0,i.localize)(7,null)},[F]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,i.localize)(8,null)},[O]:{type:"boolean",default:!1,description:(0,i.localize)(9,null)},[W]:{type:"number",default:1,markdownDescription:(0,i.localize)(10,null)},[U]:{type:"number",default:5,markdownDescription:(0,i.localize)(11,null)},[M]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,i.localize)(12,null),(0,i.localize)(13,null)],default:"highlight",description:(0,i.localize)(14,null)},[x]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,i.localize)(15,null),(0,i.localize)(16,null),(0,i.localize)(17,null)],default:"highlight",description:(0,i.localize)(18,null),deprecated:!0,deprecationMessage:(0,i.localize)(19,null)},[A]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,i.localize)(20,null),(0,i.localize)(21,null)],default:"fuzzy",description:(0,i.localize)(22,null)},[j]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(23,null)},[P]:{type:"string",enum:["automatic","trigger"],default:"automatic",description:(0,i.localize)(24,null)}}})}),define(ne[62],se([1,0,13,25,26,6,20,22,737,240,37]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spinningLoading=e.syncing=e.gotoNextLocation=e.gotoPreviousLocation=e.widgetClose=e.iconsSchemaId=e.getIconRegistry=e.registerIcon=e.IconFontDefinition=e.IconContribution=e.Extensions=void 0,e.Extensions={IconContribution:"base.contributions.icons"};var s;(function(o){function d(l,p){let m=l.defaults;for(;y.ThemeIcon.isThemeIcon(m);){const v=t.getIcon(m.id);if(!v)return;m=v.defaults}return m}o.getDefinition=d})(s||(e.IconContribution=s={}));var i;(function(o){function d(p){return{weight:p.weight,style:p.style,src:p.src.map(m=>({format:m.format,location:m.location.toString()}))}}o.toJSONObject=d;function l(p){const m=v=>(0,S.isString)(v)?v:void 0;if(p&&Array.isArray(p.src)&&p.src.every(v=>(0,S.isString)(v.format)&&(0,S.isString)(v.location)))return{weight:m(p.weight),style:m(p.style),src:p.src.map(v=>({format:v.format,location:f.URI.parse(v.location)}))}}o.fromJSONObject=l})(i||(e.IconFontDefinition=i={}));class n{constructor(){this._onDidChange=new D.Emitter,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,_.localize)(0,null)},fontCharacter:{type:"string",description:(0,_.localize)(1,null)}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${y.ThemeIcon.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(d,l,p,m){const v=this.iconsById[d];if(v){if(p&&!v.description){v.description=p,this.iconSchema.properties[d].markdownDescription=`${p} $(${d})`;const E=this.iconReferenceSchema.enum.indexOf(d);E!==-1&&(this.iconReferenceSchema.enumDescriptions[E]=p),this._onDidChange.fire()}return v}const b={id:d,description:p,defaults:l,deprecationMessage:m};this.iconsById[d]=b;const w={$ref:"#/definitions/icons"};return m&&(w.deprecationMessage=m),p&&(w.markdownDescription=`${p}: $(${d})`),this.iconSchema.properties[d]=w,this.iconReferenceSchema.enum.push(d),this.iconReferenceSchema.enumDescriptions.push(p||""),this._onDidChange.fire(),{id:d}}getIcons(){return Object.keys(this.iconsById).map(d=>this.iconsById[d])}getIcon(d){return this.iconsById[d]}getIconSchema(){return this.iconSchema}toString(){const d=(v,b)=>v.id.localeCompare(b.id),l=v=>{for(;y.ThemeIcon.isThemeIcon(v.defaults);)v=this.iconsById[v.defaults.id];return`codicon codicon-${v?v.id:""}`},p=[];p.push("| preview | identifier | default codicon ID | description"),p.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const m=Object.keys(this.iconsById).map(v=>this.iconsById[v]);for(const v of m.filter(b=>!!b.description).sort(d))p.push(`||${v.id}|${y.ThemeIcon.isThemeIcon(v.defaults)?v.defaults.id:v.id}|${v.description||""}|`);p.push("| preview | identifier "),p.push("| ----------- | --------------------------------- |");for(const v of m.filter(b=>!y.ThemeIcon.isThemeIcon(b.defaults)).sort(d))p.push(`||${v.id}|`);return p.join(` -`)}}const t=new n;C.Registry.add(e.Extensions.IconContribution,t);function a(o,d,l,p){return t.registerIcon(o,d,l,p)}e.registerIcon=a;function u(){return t}e.getIconRegistry=u;function h(){const o=(0,k.getCodiconFontCharacters)();for(const d in o){const l="\\"+o[d].toString(16);t.registerIcon(d,{fontCharacter:l})}}h(),e.iconsSchemaId="vscode://schemas/icons";const r=C.Registry.as(g.Extensions.JSONContribution);r.registerSchema(e.iconsSchemaId,t.getIconSchema());const c=new L.RunOnceScheduler(()=>r.notifySchemaChanged(e.iconsSchemaId),200);t.onDidChange(()=>{c.isScheduled()||c.schedule()}),e.widgetClose=a("widget-close",k.Codicon.close,(0,_.localize)(2,null)),e.gotoPreviousLocation=a("goto-previous-location",k.Codicon.arrowUp,(0,_.localize)(3,null)),e.gotoNextLocation=a("goto-next-location",k.Codicon.arrowDown,(0,_.localize)(4,null)),e.syncing=y.ThemeIcon.modify(k.Codicon.sync,"spin"),e.spinningLoading=y.ThemeIcon.modify(k.Codicon.loading,"spin")}),define(ne[354],se([1,0,7,35,89,68,75,39,25,2,26,59,36,12,41,86,95,67,615,116,28,62,434]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffReview=void 0;const p=3;class m{constructor(P,x,T,A){this.originalLineStart=P,this.originalLineEnd=x,this.modifiedLineStart=T,this.modifiedLineEnd=A}getType(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}class v{constructor(P){this.entries=P}}const b=(0,d.registerIcon)("diff-review-insert",_.Codicon.add,r.localize(0,null)),w=(0,d.registerIcon)("diff-review-remove",_.Codicon.remove,r.localize(1,null)),E=(0,d.registerIcon)("diff-review-close",_.Codicon.close,r.localize(2,null));let I=l=class extends g.Disposable{constructor(P,x,T,A){super(),this._languageService=x,this._audioCueService=T,this._configurationService=A,this._width=0,this._diffEditor=P,this._isVisible=!1,this.shadow=(0,k.createFastDomNode)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=(0,k.createFastDomNode)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new D.ActionBar(this.actionBarContainer.domNode)),this._actionBar.push(new f.Action("diffreview.close",r.localize(3,null),"close-diff-review "+C.ThemeIcon.asClassName(E),!0,()=>we(this,void 0,void 0,function*(){return this.hide()})),{label:!1,icon:!0}),this.domNode=(0,k.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=(0,k.createFastDomNode)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new S.DomScrollableElement(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(P.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(P.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"click",N=>{N.preventDefault();const F=L.findParentWithClass(N.target,"diff-review-row");F&&this._goToRow(F)})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"keydown",N=>{(N.equals(18)||N.equals(2066)||N.equals(530))&&(N.preventDefault(),this._goToRow(this._getNextRow(),"next")),(N.equals(16)||N.equals(2064)||N.equals(528))&&(N.preventDefault(),this._goToRow(this._getPrevRow(),"previous")),(N.equals(9)||N.equals(2057)||N.equals(521)||N.equals(1033)||N.equals(10)||N.equals(3))&&(N.preventDefault(),this.accept())})),this._register(this._configurationService.onDidChangeConfiguration(N=>{N.affectsConfiguration("accessibility.verbosity.diffEditor")&&this._diffEditor.updateOptions({accessibilityVerbose:this._configurationService.getValue("accessibility.verbosity.diffEditor")})})),this._diffs=[],this._currentDiff=null}prev(){let P=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let T=-1;for(let A=0,N=this._diffs.length;A0){const de=P[U-1];de.originalEndLineNumber===0?Y=de.originalStartLineNumber+1:Y=de.originalEndLineNumber+1,de.modifiedEndLineNumber===0?ie=de.modifiedStartLineNumber+1:ie=de.modifiedEndLineNumber+1}let ae=B-p+1,ce=V-p+1;if(aeY){const de=Y-ae;ae=ae+de,ce=ce+de}if(ce>ie){const de=ie-ce;ae=ae+de,ce=ce+de}X[H++]=new m(B,ae,V,ce)}A[N++]=new v(X)}let F=A[0].entries;const O=[];let W=0;for(let U=1,j=A.length;UR)&&(R=te),q!==0&&(K===0||qG)&&(G=z)}const Z=document.createElement("div");Z.className="diff-review-row";const J=document.createElement("div");J.className="diff-review-cell diff-review-summary";const X=R-j+1,H=G-K+1;J.appendChild(document.createTextNode(`${O+1}/${this._diffs.length}: @@ -${j},${X} +${K},${H} @@`)),Z.setAttribute("data-line",String(K));const B=ce=>ce===0?r.localize(4,null):ce===1?r.localize(5,null):r.localize(6,null,ce),V=B(X),Y=B(H);Z.setAttribute("aria-label",r.localize(7,null,O+1,this._diffs.length,j,V,K,Y)),Z.appendChild(J),Z.setAttribute("role","listitem"),U.appendChild(Z);const ie=x.get(65);let ae=K;for(let ce=0,de=W.length;ceM}),e.DiffReview=I=l=ke([fe(1,t.ILanguageService),fe(2,c.IAudioCueService),fe(3,o.IConfigurationService)],I)}),define(ne[830],se([1,0,7,68,75,39,25,2,42,26,59,102,354,36,66,90,12,5,109,41,86,95,67,607,116,8,62]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibleDiffViewer=void 0;const w=(0,b.registerIcon)("diff-review-insert",S.Codicon.add,(0,p.localize)(0,null)),E=(0,b.registerIcon)("diff-review-remove",S.Codicon.remove,(0,p.localize)(1,null)),I=(0,b.registerIcon)("diff-review-close",S.Codicon.close,(0,p.localize)(2,null));let M=class extends f.Disposable{constructor(Z,J,X,H,B,V,Y,ie,ae){super(),this._parentNode=Z,this._visible=J,this._setVisible=X,this._canClose=H,this._width=B,this._height=V,this._diffs=Y,this._editors=ie,this._instantiationService=ae,this.model=(0,_.derivedWithStore)("model",(ce,de)=>{const he=this._visible.read(ce);if(this._parentNode.style.visibility=he?"visible":"hidden",!he)return null;const ue=de.add(this._instantiationService.createInstance(P,this._diffs,this._editors,this._setVisible,this._canClose)),te=de.add(this._instantiationService.createInstance(j,this._parentNode,ue,this._width,this._height,this._editors));return{model:ue,view:te}}),this._register((0,_.keepAlive)(this.model,!0))}next(){(0,_.transaction)(Z=>{const J=this._visible.get();this._setVisible(!0,Z),J&&this.model.get().model.nextGroup(Z)})}prev(){(0,_.transaction)(Z=>{this._setVisible(!0,Z),this.model.get().model.previousGroup(Z)})}close(){(0,_.transaction)(Z=>{this._setVisible(!1,Z)})}};e.AccessibleDiffViewer=M,e.AccessibleDiffViewer=M=ke([fe(8,v.IInstantiationService)],M);let P=class extends f.Disposable{constructor(Z,J,X,H,B){super(),this._diffs=Z,this._editors=J,this._setVisible=X,this.canClose=H,this._audioCueService=B,this._groups=(0,_.observableValue)("groups",[]),this._currentGroupIdx=(0,_.observableValue)("currentGroupIdx",0),this._currentElementIdx=(0,_.observableValue)("currentElementIdx",0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((V,Y)=>this._groups.read(Y)[V]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((V,Y)=>{var ie;return(ie=this.currentGroup.read(Y))===null||ie===void 0?void 0:ie.lines[V]}),this._register((0,_.autorun)(V=>{const Y=this._diffs.read(V);if(!Y){this._groups.set([],void 0);return}const ie=T(Y,this._editors.original.getModel().getLineCount(),this._editors.modified.getModel().getLineCount());(0,_.transaction)(ae=>{const ce=this._editors.modified.getPosition();if(ce){const de=ie.findIndex(he=>ce?.lineNumber{const Y=this.currentElement.read(V);Y?.type===A.Deleted?this._audioCueService.playAudioCue(m.AudioCue.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):Y?.type===A.Added&&this._audioCueService.playAudioCue(m.AudioCue.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,_.autorun)(V=>{var Y;const ie=this.currentElement.read(V);if(ie&&ie.type!==A.Header){const ae=(Y=ie.modifiedLineNumber)!==null&&Y!==void 0?Y:ie.diff.modifiedRange.startLineNumber;this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(ae,1)))}}))}_goToGroupDelta(Z,J){const X=this.groups.get();!X||X.length<=1||(0,_.subtransaction)(J,H=>{this._currentGroupIdx.set(a.OffsetRange.ofLength(X.length).clipCyclic(this._currentGroupIdx.get()+Z),H),this._currentElementIdx.set(0,H)})}nextGroup(Z){this._goToGroupDelta(1,Z)}previousGroup(Z){this._goToGroupDelta(-1,Z)}_goToLineDelta(Z){const J=this.currentGroup.get();!J||J.lines.length<=1||(0,_.transaction)(X=>{this._currentElementIdx.set(a.OffsetRange.ofLength(J.lines.length).clip(this._currentElementIdx.get()+Z),X)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(Z){const J=this.currentGroup.get();if(!J)return;const X=J.lines.indexOf(Z);X!==-1&&(0,_.transaction)(H=>{this._currentElementIdx.set(X,H)})}revealCurrentElementInEditor(){this._setVisible(!1,void 0);const Z=this.currentElement.get();Z&&(Z.type===A.Deleted?(this._editors.original.setSelection(h.Range.fromPositions(new u.Position(Z.originalLineNumber,1))),this._editors.original.revealLine(Z.originalLineNumber),this._editors.original.focus()):(Z.type!==A.Header&&(this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(Z.modifiedLineNumber,1))),this._editors.modified.revealLine(Z.modifiedLineNumber)),this._editors.modified.focus()))}close(){this._setVisible(!1,void 0),this._editors.modified.focus()}};P=ke([fe(4,m.IAudioCueService)],P);const x=3;function T(G,Z,J){const X=[];for(const H of K(G,(B,V)=>V.modifiedRange.startLineNumber-B.modifiedRange.endLineNumberExclusive<2*x)){const B=[];B.push(new F);const V=new t.LineRange(Math.max(1,H[0].originalRange.startLineNumber-x),Math.min(H[H.length-1].originalRange.endLineNumberExclusive+x,Z+1)),Y=new t.LineRange(Math.max(1,H[0].modifiedRange.startLineNumber-x),Math.min(H[H.length-1].modifiedRange.endLineNumberExclusive+x,J+1));R(H,(ce,de)=>{const he=new t.LineRange(ce?ce.originalRange.endLineNumberExclusive:V.startLineNumber,de?de.originalRange.startLineNumber:V.endLineNumberExclusive),ue=new t.LineRange(ce?ce.modifiedRange.endLineNumberExclusive:Y.startLineNumber,de?de.modifiedRange.startLineNumber:Y.endLineNumberExclusive);he.forEach(te=>{B.push(new U(te,ue.startLineNumber+(te-he.startLineNumber)))}),de&&(de.originalRange.forEach(te=>{B.push(new O(de,te))}),de.modifiedRange.forEach(te=>{B.push(new W(de,te))}))});const ie=H[0].modifiedRange.join(H[H.length-1].modifiedRange),ae=H[0].originalRange.join(H[H.length-1].originalRange);X.push(new N(new r.SimpleLineRangeMapping(ie,ae),B))}return X}var A;(function(G){G[G.Header=0]="Header",G[G.Unchanged=1]="Unchanged",G[G.Deleted=2]="Deleted",G[G.Added=3]="Added"})(A||(A={}));class N{constructor(Z,J){this.range=Z,this.lines=J}}class F{constructor(){this.type=A.Header}}class O{constructor(Z,J){this.diff=Z,this.originalLineNumber=J,this.type=A.Deleted,this.modifiedLineNumber=void 0}}class W{constructor(Z,J){this.diff=Z,this.modifiedLineNumber=J,this.type=A.Added,this.originalLineNumber=void 0}}class U{constructor(Z,J){this.originalLineNumber=Z,this.modifiedLineNumber=J,this.type=A.Unchanged}}let j=class extends f.Disposable{constructor(Z,J,X,H,B,V){super(),this._element=Z,this._model=J,this._width=X,this._height=H,this._editors=B,this._languageService=V,this.domNode=this._element,this.domNode.className="diff-review monaco-editor-background";const Y=document.createElement("div");Y.className="diff-review-actions",this._actionBar=this._register(new k.ActionBar(Y)),this._register((0,_.autorun)(ie=>{this._actionBar.clear(),this._model.canClose.read(ie)&&this._actionBar.push(new D.Action("diffreview.close",(0,p.localize)(3,null),"close-diff-review "+g.ThemeIcon.asClassName(I),!0,()=>we(this,void 0,void 0,function*(){return J.close()})),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.DomScrollableElement(this._content,{})),(0,L.reset)(this.domNode,this._scrollbar.getDomNode(),Y),this._register((0,f.toDisposable)(()=>{(0,L.reset)(this.domNode)})),this._register((0,s.applyStyle)(this.domNode,{width:this._width,height:this._height})),this._register((0,s.applyStyle)(this._content,{width:this._width,height:this._height})),this._register((0,_.autorunWithStore)((ie,ae)=>{this._model.currentGroup.read(ie),this._render(ae)})),this._register((0,L.addStandardDisposableListener)(this.domNode,"keydown",ie=>{(ie.equals(18)||ie.equals(2066)||ie.equals(530))&&(ie.preventDefault(),this._model.goToNextLine()),(ie.equals(16)||ie.equals(2064)||ie.equals(528))&&(ie.preventDefault(),this._model.goToPreviousLine()),(ie.equals(9)||ie.equals(2057)||ie.equals(521)||ie.equals(1033))&&(ie.preventDefault(),this._model.close()),(ie.equals(10)||ie.equals(3))&&(ie.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(Z){const J=this._editors.original.getOptions(),X=this._editors.modified.getOptions(),H=document.createElement("div");H.className="diff-review-table",H.setAttribute("role","list"),H.setAttribute("aria-label",(0,p.localize)(4,null)),(0,C.applyFontInfo)(H,X.get(49)),(0,L.reset)(this._content,H);const B=this._editors.original.getModel(),V=this._editors.modified.getModel();if(!B||!V)return;const Y=B.getOptions(),ie=V.getOptions(),ae=X.get(65),ce=this._model.currentGroup.get();for(const de of ce?.lines||[]){if(!ce)break;let he;if(de.type===A.Header){const te=document.createElement("div");te.className="diff-review-row",te.setAttribute("role","listitem");const q=ce.range,z=this._model.currentGroupIndex.get(),ee=this._model.groups.get().length,$=ve=>ve===0?(0,p.localize)(5,null):ve===1?(0,p.localize)(6,null):(0,p.localize)(7,null,ve),re=$(q.original.length),oe=$(q.modified.length);te.setAttribute("aria-label",(0,p.localize)(8,null,z+1,ee,q.original.startLineNumber,re,q.modified.startLineNumber,oe));const ge=document.createElement("div");ge.className="diff-review-cell diff-review-summary",ge.appendChild(document.createTextNode(`${z+1}/${ee}: @@ -${q.original.startLineNumber},${q.original.length} +${q.modified.startLineNumber},${q.modified.length} @@`)),te.appendChild(ge),he=te}else he=this._createRow(de,ae,this._width.get(),J,B,Y,X,V,ie);H.appendChild(he);const ue=(0,_.derived)(te=>this._model.currentElement.read(te)===de);Z.add((0,_.autorun)(te=>{const q=ue.read(te);he.tabIndex=q?0:-1,q&&he.focus()})),Z.add((0,L.addDisposableListener)(he,"focus",()=>{this._model.goToLine(de)}))}this._scrollbar.scanDomNode()}_createRow(Z,J,X,H,B,V,Y,ie,ae){const ce=H.get(142),de=ce.glyphMarginWidth+ce.lineNumbersWidth,he=Y.get(142),ue=10+he.glyphMarginWidth+he.lineNumbersWidth;let te="diff-review-row",q="";const z="diff-review-spacer";let ee=null;switch(Z.type){case A.Added:te="diff-review-row line-insert",q=" char-insert",ee=w;break;case A.Deleted:te="diff-review-row line-delete",q=" char-delete",ee=E;break}const $=document.createElement("div");$.style.minWidth=X+"px",$.className=te,$.setAttribute("role","listitem"),$.ariaLevel="";const re=document.createElement("div");re.className="diff-review-cell",re.style.height=`${J}px`,$.appendChild(re);const oe=document.createElement("span");oe.style.width=de+"px",oe.style.minWidth=de+"px",oe.className="diff-review-line-number"+q,Z.originalLineNumber!==void 0?oe.appendChild(document.createTextNode(String(Z.originalLineNumber))):oe.innerText="\xA0",re.appendChild(oe);const ge=document.createElement("span");ge.style.width=ue+"px",ge.style.minWidth=ue+"px",ge.style.paddingRight="10px",ge.className="diff-review-line-number"+q,Z.modifiedLineNumber!==void 0?ge.appendChild(document.createTextNode(String(Z.modifiedLineNumber))):ge.innerText="\xA0",re.appendChild(ge);const ve=document.createElement("span");if(ve.className=z,ee){const De=document.createElement("span");De.className=g.ThemeIcon.asClassName(ee),De.innerText="\xA0\xA0",ve.appendChild(De)}else ve.innerText="\xA0\xA0";re.appendChild(ve);let Se;if(Z.modifiedLineNumber!==void 0){let De=this._getLineHtml(ie,Y,ae.tabSize,Z.modifiedLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=ie.getLineContent(Z.modifiedLineNumber)}else{let De=this._getLineHtml(B,H,V.tabSize,Z.originalLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=B.getLineContent(Z.originalLineNumber)}Se.length===0&&(Se=(0,p.localize)(9,null));let Le="";switch(Z.type){case A.Unchanged:Z.originalLineNumber===Z.modifiedLineNumber?Le=(0,p.localize)(10,null,Se,Z.originalLineNumber):Le=(0,p.localize)(11,null,Se,Z.originalLineNumber,Z.modifiedLineNumber);break;case A.Added:Le=(0,p.localize)(12,null,Se,Z.modifiedLineNumber);break;case A.Deleted:Le=(0,p.localize)(13,null,Se,Z.originalLineNumber);break}return $.setAttribute("aria-label",Le),$}_getLineHtml(Z,J,X,H,B){const V=Z.getLineContent(H),Y=J.get(49),ie=o.LineTokens.createEmpty(V,B),ae=l.ViewLineRenderingData.isBasicASCII(V,Z.mightContainNonBasicASCII()),ce=l.ViewLineRenderingData.containsRTL(V,ae,Z.mightContainRTL());return(0,d.renderViewLine2)(new d.RenderLineInput(Y.isMonospace&&!J.get(32),Y.canUseHalfwidthRightwardsArrow,V,!1,ae,ce,0,ie,[],X,0,Y.spaceWidth,Y.middotWidth,Y.wsmiddotWidth,J.get(115),J.get(97),J.get(92),J.get(50)!==n.EditorFontLigatures.OFF,null)).html}};j=ke([fe(5,c.ILanguageService)],j);function R(G,Z){let J;for(const X of G)Z(J,X),J=X;Z(J,void 0)}function*K(G,Z){let J,X;for(const H of G)X!==void 0&&Z(X,H)?J.push(H):(J&&(yield J),J=[H]),X=H;J&&(yield J)}}),define(ne[831],se([1,0,52,7,152,83,25,38,6,2,26,644,31,62,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerWidget=e.InsertButton=e.ColorPickerBody=e.ColorPickerHeader=void 0;const t=k.$;class a extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.showingStandaloneColorPicker=E,this._closeButton=null,this._domNode=t(".colorpicker-header"),k.append(v,this._domNode),this._pickedColorNode=k.append(this._domNode,t(".picked-color")),k.append(this._pickedColorNode,t("span.codicon.codicon-color-mode")),this._pickedColorPresentation=k.append(this._pickedColorNode,document.createElement("span")),this._pickedColorPresentation.classList.add("picked-color-presentation");const I=(0,s.localize)(0,null);this._pickedColorNode.setAttribute("title",I),this._originalColorNode=k.append(this._domNode,t(".original-color")),this._originalColorNode.style.backgroundColor=f.Color.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=w.getColorTheme().getColor(i.editorHoverBackground)||f.Color.white,this._register(w.onDidColorThemeChange(M=>{this.backgroundColor=M.getColor(i.editorHoverBackground)||f.Color.white})),this._register(k.addDisposableListener(this._pickedColorNode,k.EventType.CLICK,()=>this.model.selectNextColorPresentation())),this._register(k.addDisposableListener(this._originalColorNode,k.EventType.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this._register(b.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(b.color)||"",this._pickedColorNode.classList.toggle("light",b.color.rgba.a<.5?this.backgroundColor.isLighter():b.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new u(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(v){this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(v)||"",this._pickedColorNode.classList.toggle("light",v.rgba.a<.5?this.backgroundColor.isLighter():v.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}e.ColorPickerHeader=a;class u extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),k.append(v,this._button);const b=document.createElement("div");b.classList.add("close-button-inner-div"),k.append(this._button,b),k.append(b,t(".button"+C.ThemeIcon.asCSSSelector((0,n.registerIcon)("color-picker-close",S.Codicon.close,(0,s.localize)(1,null))))).classList.add("close-icon"),this._button.onclick=()=>{this._onClicked.fire()}}}class h extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.pixelRatio=w,this._insertButton=null,this._domNode=t(".colorpicker-body"),k.append(v,this._domNode),this._saturationBox=new r(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new o(this._domNode,this.model,E),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new d(this._domNode,this.model,E),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),E&&(this._insertButton=this._register(new l(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:v,v:b}){const w=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(w.h,v,b,w.a))}onDidOpacityChange(v){const b=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(b.h,b.s,b.v,v))}onDidHueChange(v){const b=this.model.color.hsva,w=(1-v)*360;this.model.color=new f.Color(new f.HSVA(w===360?0:w,b.s,b.v,b.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}e.ColorPickerBody=h;class r extends g.Disposable{constructor(v,b,w){super(),this.model=b,this.pixelRatio=w,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._domNode=t(".saturation-wrap"),k.append(v,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",k.append(this._domNode,this._canvas),this.selection=t(".saturation-selection"),k.append(this._domNode,this.selection),this.layout(),this._register(k.addDisposableListener(this._domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;this.monitor=this._register(new y.GlobalPointerMoveMonitor);const b=k.getDomNodePagePosition(this._domNode);v.target!==this.selection&&this.onDidChangePosition(v.offsetX,v.offsetY),this.monitor.startMonitoring(v.target,v.pointerId,v.buttons,E=>this.onDidChangePosition(E.pageX-b.left,E.pageY-b.top),()=>null);const w=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),w.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(v,b){const w=Math.max(0,Math.min(1,v/this.width)),E=Math.max(0,Math.min(1,1-b/this.height));this.paintSelection(w,E),this._onDidChange.fire({s:w,v:E})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const v=this.model.color.hsva;this.paintSelection(v.s,v.v)}paint(){const v=this.model.color.hsva,b=new f.Color(new f.HSVA(v.h,1,1,1)),w=this._canvas.getContext("2d"),E=w.createLinearGradient(0,0,this._canvas.width,0);E.addColorStop(0,"rgba(255, 255, 255, 1)"),E.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),E.addColorStop(1,"rgba(255, 255, 255, 0)");const I=w.createLinearGradient(0,0,0,this._canvas.height);I.addColorStop(0,"rgba(0, 0, 0, 0)"),I.addColorStop(1,"rgba(0, 0, 0, 1)"),w.rect(0,0,this._canvas.width,this._canvas.height),w.fillStyle=f.Color.Format.CSS.format(b),w.fill(),w.fillStyle=E,w.fill(),w.fillStyle=I,w.fill()}paintSelection(v,b){this.selection.style.left=`${v*this.width}px`,this.selection.style.top=`${this.height-b*this.height}px`}onDidChangeColor(v){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const b=v.hsva;this.paintSelection(b.s,b.v)}}class c extends g.Disposable{constructor(v,b,w=!1){super(),this.model=b,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,w?(this.domNode=k.append(v,t(".standalone-strip")),this.overlay=k.append(this.domNode,t(".standalone-overlay"))):(this.domNode=k.append(v,t(".strip")),this.overlay=k.append(this.domNode,t(".overlay"))),this.slider=k.append(this.domNode,t(".slider")),this.slider.style.top="0px",this._register(k.addDisposableListener(this.domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const v=this.getValue(this.model.color);this.updateSliderPosition(v)}onDidChangeColor(v){const b=this.getValue(v);this.updateSliderPosition(b)}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;const b=this._register(new y.GlobalPointerMoveMonitor),w=k.getDomNodePagePosition(this.domNode);this.domNode.classList.add("grabbing"),v.target!==this.slider&&this.onDidChangeTop(v.offsetY),b.startMonitoring(v.target,v.pointerId,v.buttons,I=>this.onDidChangeTop(I.pageY-w.top),()=>null);const E=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),E.dispose(),b.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(v){const b=Math.max(0,Math.min(1,1-v/this.height));this.updateSliderPosition(b),this._onDidChange.fire(b)}updateSliderPosition(v){this.slider.style.top=`${(1-v)*this.height}px`}}class o extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(v){super.onDidChangeColor(v);const{r:b,g:w,b:E}=v.rgba,I=new f.Color(new f.RGBA(b,w,E,1)),M=new f.Color(new f.RGBA(b,w,E,0));this.overlay.style.background=`linear-gradient(to bottom, ${I} 0%, ${M} 100%)`}getValue(v){return v.hsva.a}}class d extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("hue-strip")}getValue(v){return 1-v.hsva.h/360}}class l extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=k.append(v,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._button.onclick=b=>{this._onClicked.fire()}}get button(){return this._button}}e.InsertButton=l;class p extends D.Widget{constructor(v,b,w,E,I=!1){super(),this.model=b,this.pixelRatio=w,this._register(L.PixelRatio.onDidChange(()=>this.layout()));const M=t(".colorpicker-widget");v.appendChild(M),this.header=this._register(new a(M,this.model,E,I)),this.body=this._register(new h(M,this.model,this.pixelRatio,I))}layout(){this.body.layout()}}e.ColorPickerWidget=p}),define(ne[832],se([1,0,7,49,75,25,6,2,11,20,41,117,236,689,15,56,31,62,26,457]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsWidget=void 0;const o=L.$,d=(0,h.registerIcon)("parameter-hints-next",D.Codicon.chevronDown,n.localize(0,null)),l=(0,h.registerIcon)("parameter-hints-previous",D.Codicon.chevronUp,n.localize(1,null));let p=c=class extends f.Disposable{constructor(v,b,w,E,I){super(),this.editor=v,this.model=b,this.renderDisposeables=this._register(new f.DisposableStore),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new s.MarkdownRenderer({editor:v},I,E)),this.keyVisible=i.Context.Visible.bindTo(w),this.keyMultipleSignatures=i.Context.MultipleSignatures.bindTo(w)}createParameterHintDOMNodes(){const v=o(".editor-widget.parameter-hints-widget"),b=L.append(v,o(".phwrapper"));b.tabIndex=-1;const w=L.append(b,o(".controls")),E=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(l))),I=L.append(w,o(".overloads")),M=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(d)));this._register(L.addDisposableListener(E,"click",F=>{L.EventHelper.stop(F),this.previous()})),this._register(L.addDisposableListener(M,"click",F=>{L.EventHelper.stop(F),this.next()}));const P=o(".body"),x=new y.DomScrollableElement(P,{alwaysConsumeMouseWheel:!0});this._register(x),b.appendChild(x.getDomNode());const T=L.append(P,o(".signature")),A=L.append(P,o(".docs"));v.style.userSelect="text",this.domNodes={element:v,signature:T,overloads:I,docs:A,scrollbar:x},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(F=>{this.visible&&this.editor.layoutContentWidget(this)}));const N=()=>{if(!this.domNodes)return;const F=this.editor.getOption(49);this.domNodes.element.style.fontSize=`${F.fontSize}px`,this.domNodes.element.style.lineHeight=`${F.lineHeight/F.fontSize}`};N(),this._register(S.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(F=>F.hasChanged(49)).on(N,null)),this._register(this.editor.onDidLayoutChange(F=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var v;(v=this.domNodes)===null||v===void 0||v.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var v;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,(v=this.domNodes)===null||v===void 0||v.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(v){var b;if(this.renderDisposeables.clear(),!this.domNodes)return;const w=v.signatures.length>1;this.domNodes.element.classList.toggle("multiple",w),this.keyMultipleSignatures.set(w),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const E=v.signatures[v.activeSignature];if(!E)return;const I=L.append(this.domNodes.signature,o(".code")),M=this.editor.getOption(49);I.style.fontSize=`${M.fontSize}px`,I.style.fontFamily=M.fontFamily;const P=E.parameters.length>0,x=(b=E.activeParameter)!==null&&b!==void 0?b:v.activeParameter;if(P)this.renderParameters(I,E,x);else{const N=L.append(I,o("span"));N.textContent=E.label}const T=E.parameters[x];if(T?.documentation){const N=o("span.documentation");if(typeof T.documentation=="string")N.textContent=T.documentation;else{const F=this.renderMarkdownDocs(T.documentation);N.appendChild(F.element)}L.append(this.domNodes.docs,o("p",{},N))}if(E.documentation!==void 0)if(typeof E.documentation=="string")L.append(this.domNodes.docs,o("p",{},E.documentation));else{const N=this.renderMarkdownDocs(E.documentation);L.append(this.domNodes.docs,N.element)}const A=this.hasDocs(E,T);if(this.domNodes.signature.classList.toggle("has-docs",A),this.domNodes.docs.classList.toggle("empty",!A),this.domNodes.overloads.textContent=String(v.activeSignature+1).padStart(v.signatures.length.toString().length,"0")+"/"+v.signatures.length,T){let N="";const F=E.parameters[x];Array.isArray(F.label)?N=E.label.substring(F.label[0],F.label[1]):N=F.label,F.documentation&&(N+=typeof F.documentation=="string"?`, ${F.documentation}`:`, ${F.documentation.value}`),E.documentation&&(N+=typeof E.documentation=="string"?`, ${E.documentation}`:`, ${E.documentation.value}`),this.announcedLabel!==N&&(k.alert(n.localize(2,null,N)),this.announcedLabel=N)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(v){const b=this.renderDisposeables.add(this.markdownRenderer.render(v,{asyncRenderCallback:()=>{var w;(w=this.domNodes)===null||w===void 0||w.scrollbar.scanDomNode()}}));return b.element.classList.add("markdown-docs"),b}hasDocs(v,b){return!!(b&&typeof b.documentation=="string"&&(0,g.assertIsDefined)(b.documentation).length>0||b&&typeof b.documentation=="object"&&(0,g.assertIsDefined)(b.documentation).value.length>0||v.documentation&&typeof v.documentation=="string"&&(0,g.assertIsDefined)(v.documentation).length>0||v.documentation&&typeof v.documentation=="object"&&(0,g.assertIsDefined)(v.documentation.value).length>0)}renderParameters(v,b,w){const[E,I]=this.getParameterLabelOffsets(b,w),M=document.createElement("span");M.textContent=b.label.substring(0,E);const P=document.createElement("span");P.textContent=b.label.substring(E,I),P.className="parameter active";const x=document.createElement("span");x.textContent=b.label.substring(I),L.append(v,M,P,x)}getParameterLabelOffsets(v,b){const w=v.parameters[b];if(w){if(Array.isArray(w.label))return w.label;if(w.label.length){const E=new RegExp(`(\\W|^)${(0,_.escapeRegExpCharacters)(w.label)}(?=\\W|$)`,"g");E.test(v.label);const I=E.lastIndex-w.label.length;return I>=0?[I,E.lastIndex]:[0,0]}else return[0,0]}else return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return c.ID}updateMaxHeight(){if(!this.domNodes)return;const b=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=b;const w=this.domNodes.element.getElementsByClassName("phwrapper");w.length&&(w[0].style.maxHeight=b)}};e.ParameterHintsWidget=p,p.ID="editor.widget.parameterHintsWidget",e.ParameterHintsWidget=p=c=ke([fe(2,t.IContextKeyService),fe(3,a.IOpenerService),fe(4,C.ILanguageService)],p),(0,u.registerColor)("editorHoverWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},n.localize(3,null))}),define(ne[833],se([1,0,100,2,16,21,29,18,753,236,688,15,8,832]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerParameterHintsAction=e.ParameterHintsController=void 0;let a=t=class extends k.Disposable{static get(o){return o.getContribution(t.ID)}constructor(o,d,l){super(),this.editor=o,this.model=this._register(new _.ParameterHintsModel(o,l.signatureHelpProvider)),this._register(this.model.onChangedHints(p=>{var m;p?(this.widget.value.show(),this.widget.value.render(p)):(m=this.widget.rawValue)===null||m===void 0||m.hide()})),this.widget=new L.Lazy(()=>this._register(d.createInstance(n.ParameterHintsWidget,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var o;(o=this.widget.rawValue)===null||o===void 0||o.previous()}next(){var o;(o=this.widget.rawValue)===null||o===void 0||o.next()}trigger(o){this.model.trigger(o,0)}};e.ParameterHintsController=a,a.ID="editor.controller.parameterHints",e.ParameterHintsController=a=t=ke([fe(1,i.IInstantiationService),fe(2,f.ILanguageFeaturesService)],a);class u extends y.EditorAction{constructor(){super({id:"editor.action.triggerParameterHints",label:C.localize(0,null),alias:"Trigger Parameter Hints",precondition:D.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:D.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})}run(o,d){const l=a.get(d);l?.trigger({triggerKind:S.SignatureHelpTriggerKind.Invoke})}}e.TriggerParameterHintsAction=u,(0,y.registerEditorContribution)(a.ID,a,2),(0,y.registerEditorAction)(u);const h=100+75,r=y.EditorCommand.bindToContribution(a.get);(0,y.registerEditorCommand)(new r({id:"closeParameterHints",precondition:g.Context.Visible,handler:c=>c.cancel(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new r({id:"showPrevParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.previous(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,y.registerEditorCommand)(new r({id:"showNextParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.next(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))}),define(ne[834],se([1,0,7,68,39,2,117,8,770,62,26,464]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BannerController=void 0;const s=26;let i=class extends D.Disposable{constructor(a,u){super(),this._editor=a,this.instantiationService=u,this.banner=this._register(this.instantiationService.createInstance(n))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(a){this.banner.show(Object.assign(Object.assign({},a),{onClose:()=>{var u;this.hide(),(u=a.onClose)===null||u===void 0||u.call(a)}})),this._editor.setBanner(this.banner.element,s)}};e.BannerController=i,e.BannerController=i=ke([fe(1,f.IInstantiationService)],i);let n=class extends D.Disposable{constructor(a){super(),this.instantiationService=a,this.markdownRenderer=this.instantiationService.createInstance(S.MarkdownRenderer,{}),this.element=(0,L.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(a){if(a.ariaLabel)return a.ariaLabel;if(typeof a.message=="string")return a.message}getBannerMessage(a){if(typeof a=="string"){const u=(0,L.$)("span");return u.innerText=a,u}return this.markdownRenderer.render(a).element}clear(){(0,L.clearNode)(this.element)}show(a){(0,L.clearNode)(this.element);const u=this.getAriaLabel(a);u&&this.element.setAttribute("aria-label",u);const h=(0,L.append)(this.element,(0,L.$)("div.icon-container"));h.setAttribute("aria-hidden","true"),a.icon&&h.appendChild((0,L.$)(`div${C.ThemeIcon.asCSSSelector(a.icon)}`));const r=(0,L.append)(this.element,(0,L.$)("div.message-container"));if(r.setAttribute("aria-hidden","true"),r.appendChild(this.getBannerMessage(a.message)),this.messageActionsContainer=(0,L.append)(this.element,(0,L.$)("div.message-actions-container")),a.actions)for(const o of a.actions)this._register(this.instantiationService.createInstance(_.Link,this.messageActionsContainer,Object.assign(Object.assign({},o),{tabIndex:-1}),{}));const c=(0,L.append)(this.element,(0,L.$)("div.action-container"));this.actionBar=this._register(new k.ActionBar(c)),this.actionBar.push(this._register(new y.Action("banner.close","Close Banner",C.ThemeIcon.asClassName(g.widgetClose),!0,()=>{typeof a.onClose=="function"&&a.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};n=ke([fe(0,f.IInstantiationService)],n)}),define(ne[835],se([1,0,7,6,26,62]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnthemedProductIconTheme=e.getIconsStyleSheet=void 0;function S(_){const g=new k.Emitter,C=(0,D.getIconRegistry)();return C.onDidChange(()=>g.fire()),_?.onDidProductIconThemeChange(()=>g.fire()),{onDidChange:g.event,getCSS(){const s=_?_.getProductIconTheme():new f,i={},n=a=>{const u=s.getIcon(a);if(!u)return;const h=u.font;return h?(i[h.id]=h.definition,`.codicon-${a.id}:before { content: '${u.fontCharacter}'; font-family: ${(0,L.asCSSPropertyValue)(h.id)}; }`):`.codicon-${a.id}:before { content: '${u.fontCharacter}'; }`},t=[];for(const a of C.getIcons()){const u=n(a);u&&t.push(u)}for(const a in i){const u=i[a],h=u.weight?`font-weight: ${u.weight};`:"",r=u.style?`font-style: ${u.style};`:"",c=u.src.map(o=>`${(0,L.asCSSUrl)(o.location)} format('${o.format}')`).join(", ");t.push(`@font-face { src: ${c}; font-family: ${(0,L.asCSSPropertyValue)(a)};${h}${r} font-display: block; }`)}return t.join(` -`)}}}e.getIconsStyleSheet=S;class f{getIcon(g){const C=(0,D.getIconRegistry)();let s=g.defaults;for(;y.ThemeIcon.isThemeIcon(s);){const i=C.getIcon(s.id);if(!i)return;s=i.defaults}return s}}e.UnthemedProductIconTheme=f}),define(ne[88],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDark=e.isHighContrast=e.ColorScheme=void 0;var L;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST_DARK="hcDark",D.HIGH_CONTRAST_LIGHT="hcLight"})(L||(e.ColorScheme=L={}));function k(D){return D===L.HIGH_CONTRAST_DARK||D===L.HIGH_CONTRAST_LIGHT}e.isHighContrast=k;function y(D){return D===L.DARK||D===L.HIGH_CONTRAST_DARK}e.isDark=y}),define(ne[251],se([1,0,52,35,17,478,144,127,95,88,36]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColumnOfNodeOffset=e.ViewLine=e.ViewLineOptions=void 0;const s=function(){return y.isNative?!0:!(y.isLinux||L.isFirefox||L.isSafari)}();let i=!0;class n{constructor(p,m){this.themeType=m;const v=p.options,b=v.get(49);v.get(37)==="off"?this.renderWhitespace=v.get(97):this.renderWhitespace="none",this.renderControlCharacters=v.get(92),this.spaceWidth=b.spaceWidth,this.middotWidth=b.middotWidth,this.wsmiddotWidth=b.wsmiddotWidth,this.useMonospaceOptimizations=b.isMonospace&&!v.get(32),this.canUseHalfwidthRightwardsArrow=b.canUseHalfwidthRightwardsArrow,this.lineHeight=v.get(65),this.stopRenderingLineAfter=v.get(115),this.fontLigatures=v.get(50)}equals(p){return this.themeType===p.themeType&&this.renderWhitespace===p.renderWhitespace&&this.renderControlCharacters===p.renderControlCharacters&&this.spaceWidth===p.spaceWidth&&this.middotWidth===p.middotWidth&&this.wsmiddotWidth===p.wsmiddotWidth&&this.useMonospaceOptimizations===p.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===p.canUseHalfwidthRightwardsArrow&&this.lineHeight===p.lineHeight&&this.stopRenderingLineAfter===p.stopRenderingLineAfter&&this.fontLigatures===p.fontLigatures}}e.ViewLineOptions=n;class t{constructor(p){this._options=p,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(p){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,k.createFastDomNode)(p);else throw new Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(p){this._isMaybeInvalid=!0,this._options=p}onSelectionChanged(){return(0,g.isHighContrast)(this._options.themeType)||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1}renderLine(p,m,v,b){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const w=v.getViewLineRenderingData(p),E=this._options,I=f.LineDecoration.filter(w.inlineDecorations,p,w.minColumn,w.maxColumn);let M=null;if((0,g.isHighContrast)(E.themeType)||this._options.renderWhitespace==="selection"){const A=v.selections;for(const N of A){if(N.endLineNumberp)continue;const F=N.startLineNumber===p?N.startColumn:w.minColumn,O=N.endLineNumber===p?N.endColumn:w.maxColumn;F');const x=(0,_.renderViewLine)(P,b);b.appendString("");let T=null;return i&&s&&w.isBasicASCII&&E.useMonospaceOptimizations&&x.containsForeignElements===0&&(T=new a(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping)),T||(T=r(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping,x.containsRTL,x.containsForeignElements)),this._renderedViewLine=T,!0}layoutLine(p,m){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(m),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(p){return this._renderedViewLine?this._renderedViewLine.getWidth(p):0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof a:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof a?this._renderedViewLine.monospaceAssumptionsAreValid():i}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof a&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(p,m,v,b){if(!this._renderedViewLine)return null;m=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,m)),v=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,v));const w=this._renderedViewLine.input.stopRenderingLineAfter;if(w!==-1&&m>w+1&&v>w+1)return new S.VisibleRanges(!0,[new S.FloatHorizontalRange(this.getWidth(b),0)]);w!==-1&&m>w+1&&(m=w+1),w!==-1&&v>w+1&&(v=w+1);const E=this._renderedViewLine.getVisibleRangesForRange(p,m,v,b);return E&&E.length>0?new S.VisibleRanges(!1,E):null}getColumnOfNodeOffset(p,m){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(p,m):1}}e.ViewLine=t,t.CLASS_NAME="view-line";class a{constructor(p,m,v){this._cachedWidth=-1,this.domNode=p,this.input=m;const b=Math.floor(m.lineContent.length/300);if(b>0){this._keyColumnPixelOffsetCache=new Float32Array(b);for(let w=0;w=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),i=!1)}return i}toSlowRenderedLine(){return r(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(p,m,v,b){const w=this._getColumnPixelOffset(p,m,b),E=this._getColumnPixelOffset(p,v,b);return[new S.FloatHorizontalRange(w,E-w)]}_getColumnPixelOffset(p,m,v){if(m<=300){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const b=Math.floor((m-1)/300)-1,w=(b+1)*300+1;let E=-1;if(this._keyColumnPixelOffsetCache&&(E=this._keyColumnPixelOffsetCache[b],E===-1&&(E=this._actualReadPixelOffset(p,w,v),this._keyColumnPixelOffsetCache[b]=E)),E===-1){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const I=this._characterMapping.getHorizontalOffset(w),M=this._characterMapping.getHorizontalOffset(m);return E+this._charWidth*(M-I)}_getReadingTarget(p){return p.domNode.firstChild}_actualReadPixelOffset(p,m,v){if(!this.domNode)return-1;const b=this._characterMapping.getDomPosition(m),w=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(this.domNode),b.partIndex,b.charIndex,b.partIndex,b.charIndex,v);return!w||w.length===0?-1:w[0].left}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class u{constructor(p,m,v,b,w){if(this.domNode=p,this.input=m,this._characterMapping=v,this._isWhitespaceOnly=/^\s*$/.test(m.lineContent),this._containsForeignElements=w,this._cachedWidth=-1,this._pixelOffsetCache=null,!b||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let E=0,I=this._characterMapping.length;E<=I;E++)this._pixelOffsetCache[E]=-1}}_getReadingTarget(p){return p.domNode.firstChild}getWidth(p){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,p?.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(p,m,v,b){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const w=this._readPixelOffset(this.domNode,p,m,b);if(w===-1)return null;const E=this._readPixelOffset(this.domNode,p,v,b);return E===-1?null:[new S.FloatHorizontalRange(w,E-w)]}return this._readVisibleRangesForRange(this.domNode,p,m,v,b)}_readVisibleRangesForRange(p,m,v,b,w){if(v===b){const E=this._readPixelOffset(p,m,v,w);return E===-1?null:[new S.FloatHorizontalRange(E,0)]}else return this._readRawVisibleRangesForRange(p,v,b,w)}_readPixelOffset(p,m,v,b){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth(b);const w=this._getReadingTarget(p);return w.firstChild?(b.markDidDomLayout(),w.firstChild.offsetWidth):0}if(this._pixelOffsetCache!==null){const w=this._pixelOffsetCache[v];if(w!==-1)return w;const E=this._actualReadPixelOffset(p,m,v,b);return this._pixelOffsetCache[v]=E,E}return this._actualReadPixelOffset(p,m,v,b)}_actualReadPixelOffset(p,m,v,b){if(this._characterMapping.length===0){const M=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),0,0,0,0,b);return!M||M.length===0?-1:M[0].left}if(v===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth(b);const w=this._characterMapping.getDomPosition(v),E=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,w.partIndex,w.charIndex,b);if(!E||E.length===0)return-1;const I=E[0].left;if(this.input.isBasicASCII){const M=this._characterMapping.getHorizontalOffset(v),P=Math.round(this.input.spaceWidth*M);if(Math.abs(P-I)<=1)return P}return I}_readRawVisibleRangesForRange(p,m,v,b){if(m===1&&v===this._characterMapping.length)return[new S.FloatHorizontalRange(0,this.getWidth(b))];const w=this._characterMapping.getDomPosition(m),E=this._characterMapping.getDomPosition(v);return D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,E.partIndex,E.charIndex,b)}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class h extends u{_readVisibleRangesForRange(p,m,v,b,w){const E=super._readVisibleRangesForRange(p,m,v,b,w);if(!E||E.length===0||v===b||v===1&&b===this._characterMapping.length)return E;if(!this.input.containsRTL){const I=this._readPixelOffset(p,m,b,w);if(I!==-1){const M=E[E.length-1];M.left=4&&v[0]===3&&v[3]===7}static isStrictChildOfViewLines(v){return v.length>4&&v[0]===3&&v[3]===7}static isChildOfScrollableElement(v){return v.length>=2&&v[0]===3&&v[1]===5}static isChildOfMinimap(v){return v.length>=2&&v[0]===3&&v[1]===8}static isChildOfContentWidgets(v){return v.length>=4&&v[0]===3&&v[3]===1}static isChildOfOverflowGuard(v){return v.length>=1&&v[0]===3}static isChildOfOverflowingContentWidgets(v){return v.length>=1&&v[0]===2}static isChildOfOverlayWidgets(v){return v.length>=2&&v[0]===3&&v[1]===4}}class u{constructor(v,b,w){this.viewModel=v.viewModel;const E=v.configuration.options;this.layoutInfo=E.get(142),this.viewDomNode=b.viewDomNode,this.lineHeight=E.get(65),this.stickyTabStops=E.get(114),this.typicalHalfwidthCharacterWidth=E.get(49).typicalHalfwidthCharacterWidth,this.lastRenderData=w,this._context=v,this._viewHelper=b}getZoneAtCoord(v){return u.getZoneAtCoord(this._context,v)}static getZoneAtCoord(v,b){const w=v.viewLayout.getWhitespaceAtVerticalOffset(b);if(w){const E=w.verticalOffset+w.height/2,I=v.viewModel.getLineCount();let M=null,P,x=null;return w.afterLineNumber!==I&&(x=new D.Position(w.afterLineNumber+1,1)),w.afterLineNumber>0&&(M=new D.Position(w.afterLineNumber,v.viewModel.getLineMaxColumn(w.afterLineNumber))),x===null?P=M:M===null?P=x:b=v.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,d._getMouseColumn(this.mouseContentHorizontalOffset,v.typicalHalfwidthCharacterWidth))}}class r extends h{constructor(v,b,w,E,I){super(v,b,w,E),this._ctx=v,I?(this.target=I,this.targetPath=k.PartFingerprints.collect(I,v.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}_getMouseColumn(v=null){return v&&v.columnM.contentLeft+M.width)continue;const P=v.getVerticalOffsetForLineNumber(M.position.lineNumber);if(P<=I&&I<=P+M.height)return b.fulfillContentText(M.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(v,b){const w=v.getZoneAtCoord(b.mouseVerticalOffset);if(w){const E=b.isInContentArea?8:5;return b.fulfillViewZone(E,w.position,w)}return null}static _hitTestTextArea(v,b){return a.isTextArea(b.targetPath)?v.lastRenderData.lastTextareaPosition?b.fulfillContentText(v.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):b.fulfillTextarea():null}static _hitTestMargin(v,b){if(b.isInMarginArea){const w=v.getFullLineRangeAtCoord(b.mouseVerticalOffset),E=w.range.getStartPosition();let I=Math.abs(b.relativePos.x);const M={isAfterLines:w.isAfterLines,glyphMarginLeft:v.layoutInfo.glyphMarginLeft,glyphMarginWidth:v.layoutInfo.glyphMarginWidth,lineNumbersWidth:v.layoutInfo.lineNumbersWidth,offsetX:I};return I-=v.layoutInfo.glyphMarginLeft,I<=v.layoutInfo.glyphMarginWidth?b.fulfillMargin(2,E,w.range,M):(I-=v.layoutInfo.glyphMarginWidth,I<=v.layoutInfo.lineNumbersWidth?b.fulfillMargin(3,E,w.range,M):(I-=v.layoutInfo.lineNumbersWidth,b.fulfillMargin(4,E,w.range,M)))}return null}static _hitTestViewLines(v,b,w){if(!a.isChildOfViewLines(b.targetPath))return null;if(v.isInTopPadding(b.mouseVerticalOffset))return b.fulfillContentEmpty(new D.Position(1,1),c);if(v.isAfterLines(b.mouseVerticalOffset)||v.isInBottomPadding(b.mouseVerticalOffset)){const I=v.viewModel.getLineCount(),M=v.viewModel.getLineMaxColumn(I);return b.fulfillContentEmpty(new D.Position(I,M),c)}if(w){if(a.isStrictChildOfViewLines(b.targetPath)){const I=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset);if(v.viewModel.getLineLength(I)===0){const P=v.getLineWidth(I),x=o(b.mouseContentHorizontalOffset-P);return b.fulfillContentEmpty(new D.Position(I,1),x)}const M=v.getLineWidth(I);if(b.mouseContentHorizontalOffset>=M){const P=o(b.mouseContentHorizontalOffset-M),x=new D.Position(I,v.viewModel.getLineMaxColumn(I));return b.fulfillContentEmpty(x,P)}}return b.fulfillUnknown()}const E=d._doHitTest(v,b);return E.type===1?d.createMouseTargetFromHitTestPosition(v,b,E.spanNode,E.position,E.injectedText):this._createMouseTarget(v,b.withTarget(E.hitTarget),!0)}static _hitTestMinimap(v,b){if(a.isChildOfMinimap(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}static _hitTestScrollbarSlider(v,b){if(a.isChildOfScrollableElement(b.targetPath)&&b.target&&b.target.nodeType===1){const w=b.target.className;if(w&&/\b(slider|scrollbar)\b/.test(w)){const E=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),I=v.viewModel.getLineMaxColumn(E);return b.fulfillScrollbar(new D.Position(E,I))}}return null}static _hitTestScrollbar(v,b){if(a.isChildOfScrollableElement(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}getMouseColumn(v){const b=this._context.configuration.options,w=b.get(142),E=this._context.viewLayout.getCurrentScrollLeft()+v.x-w.contentLeft;return d._getMouseColumn(E,b.get(49).typicalHalfwidthCharacterWidth)}static _getMouseColumn(v,b){return v<0?1:Math.round(v/b)+1}static createMouseTargetFromHitTestPosition(v,b,w,E,I){const M=E.lineNumber,P=E.column,x=v.getLineWidth(M);if(b.mouseContentHorizontalOffset>x){const R=o(b.mouseContentHorizontalOffset-x);return b.fulfillContentEmpty(E,R)}const T=v.visibleRangeForPosition(M,P);if(!T)return b.fulfillUnknown(E);const A=T.left;if(Math.abs(b.mouseContentHorizontalOffset-A)<1)return b.fulfillContentText(E,null,{mightBeForeignElement:!!I,injectedText:I});const N=[];if(N.push({offset:T.left,column:P}),P>1){const R=v.visibleRangeForPosition(M,P-1);R&&N.push({offset:R.left,column:P-1})}const F=v.viewModel.getLineMaxColumn(M);if(PR.offset-K.offset);const O=b.pos.toClientCoordinates(),W=w.getBoundingClientRect(),U=W.left<=O.clientX&&O.clientX<=W.right;let j=null;for(let R=1;RI)){const P=Math.floor((E+I)/2);let x=b.pos.y+(P-b.mouseVerticalOffset);x<=b.editorPos.y&&(x=b.editorPos.y+1),x>=b.editorPos.y+b.editorPos.height&&(x=b.editorPos.y+b.editorPos.height-1);const T=new L.PageCoordinates(b.pos.x,x),A=this._actualDoHitTestWithCaretRangeFromPoint(v,T.toClientCoordinates());if(A.type===1)return A}return this._actualDoHitTestWithCaretRangeFromPoint(v,b.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(v,b){const w=_.getShadowRoot(v.viewDomNode);let E;if(w?typeof w.caretRangeFromPoint>"u"?E=l(w,b.clientX,b.clientY):E=w.caretRangeFromPoint(b.clientX,b.clientY):E=document.caretRangeFromPoint(b.clientX,b.clientY),!E||!E.startContainer)return new C;const I=E.startContainer;if(I.nodeType===I.TEXT_NODE){const M=I.parentNode,P=M?M.parentNode:null,x=P?P.parentNode:null;return(x&&x.nodeType===x.ELEMENT_NODE?x.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,M,E.startOffset):new C(I.parentNode)}else if(I.nodeType===I.ELEMENT_NODE){const M=I.parentNode,P=M?M.parentNode:null;return(P&&P.nodeType===P.ELEMENT_NODE?P.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,I,I.textContent.length):new C(I)}return new C}static _doHitTestWithCaretPositionFromPoint(v,b){const w=document.caretPositionFromPoint(b.clientX,b.clientY);if(w.offsetNode.nodeType===w.offsetNode.TEXT_NODE){const E=w.offsetNode.parentNode,I=E?E.parentNode:null,M=I?I.parentNode:null;return(M&&M.nodeType===M.ELEMENT_NODE?M.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,w.offsetNode.parentNode,w.offset):new C(w.offsetNode.parentNode)}if(w.offsetNode.nodeType===w.offsetNode.ELEMENT_NODE){const E=w.offsetNode.parentNode,I=E&&E.nodeType===E.ELEMENT_NODE?E.className:null,M=E?E.parentNode:null,P=M&&M.nodeType===M.ELEMENT_NODE?M.className:null;if(I===y.ViewLine.CLASS_NAME){const x=w.offsetNode.childNodes[Math.min(w.offset,w.offsetNode.childNodes.length-1)];if(x)return i.createFromDOMInfo(v,x,0)}else if(P===y.ViewLine.CLASS_NAME)return i.createFromDOMInfo(v,w.offsetNode,0)}return new C(w.offsetNode)}static _snapToSoftTabBoundary(v,b){const w=b.getLineContent(v.lineNumber),{tabSize:E}=b.model.getOptions(),I=g.AtomicTabMoveOperations.atomicPosition(w,v.column-1,E,2);return I!==-1?new D.Position(v.lineNumber,I+1):v}static _doHitTest(v,b){let w=new C;if(typeof document.caretRangeFromPoint=="function"?w=this._doHitTestWithCaretRangeFromPoint(v,b):document.caretPositionFromPoint&&(w=this._doHitTestWithCaretPositionFromPoint(v,b.pos.toClientCoordinates())),w.type===1){const E=v.viewModel.getInjectedTextAt(w.position),I=v.viewModel.normalizePosition(w.position,2);(E||!I.equals(w.position))&&(w=new s(I,w.spanNode,E))}return w}}e.MouseTargetFactory=d;function l(m,v,b){const w=document.createRange();let E=m.elementFromPoint(v,b);if(E!==null){for(;E&&E.firstChild&&E.firstChild.nodeType!==E.firstChild.TEXT_NODE&&E.lastChild&&E.lastChild.firstChild;)E=E.lastChild;const I=E.getBoundingClientRect(),M=window.getComputedStyle(E,null).getPropertyValue("font-style"),P=window.getComputedStyle(E,null).getPropertyValue("font-variant"),x=window.getComputedStyle(E,null).getPropertyValue("font-weight"),T=window.getComputedStyle(E,null).getPropertyValue("font-size"),A=window.getComputedStyle(E,null).getPropertyValue("line-height"),N=window.getComputedStyle(E,null).getPropertyValue("font-family"),F=`${M} ${P} ${x} ${T}/${A} ${N}`,O=E.innerText;let W=I.left,U=0,j;if(v>I.left+I.width)U=O.length;else{const R=p.getInstance();for(let K=0;Kthis._createMouseTarget(m,v),m=>this._getMouseColumn(m))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(142).height;const l=new f.EditorMouseEventFactory(this.viewHelper.viewDomNode);this._register(l.onContextMenu(this.viewHelper.viewDomNode,m=>this._onContextMenu(m,!0))),this._register(l.onMouseMove(this.viewHelper.viewDomNode,m=>{this._onMouseMove(m),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=L.addDisposableListener(document,"mousemove",v=>{this.viewHelper.viewDomNode.contains(v.target)||this._onMouseLeave(new f.EditorMouseEvent(v,!1,this.viewHelper.viewDomNode))}))})),this._register(l.onMouseUp(this.viewHelper.viewDomNode,m=>this._onMouseUp(m))),this._register(l.onMouseLeave(this.viewHelper.viewDomNode,m=>this._onMouseLeave(m)));let p=0;this._register(l.onPointerDown(this.viewHelper.viewDomNode,(m,v)=>{p=v})),this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.POINTER_UP,m=>{this._mouseDownOperation.onPointerUp()})),this._register(l.onMouseDown(this.viewHelper.viewDomNode,m=>this._onMouseDown(m,p))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){const c=i.MouseWheelClassifier.INSTANCE;let o=0,d=_.EditorZoom.getZoomLevel(),l=!1,p=0;const m=b=>{if(this.viewController.emitMouseWheel(b),!this._context.configuration.options.get(74))return;const w=new k.StandardWheelEvent(b);if(c.acceptStandardWheelEvent(w),c.isPhysicalMouseWheel()){if(v(b)){const E=_.EditorZoom.getZoomLevel(),I=w.deltaY>0?1:-1;_.EditorZoom.setZoomLevel(E+I),w.preventDefault(),w.stopPropagation()}}else Date.now()-o>50&&(d=_.EditorZoom.getZoomLevel(),l=v(b),p=0),o=Date.now(),p+=w.deltaY,l&&(_.EditorZoom.setZoomLevel(d+p/5),w.preventDefault(),w.stopPropagation())};this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.MOUSE_WHEEL,m,{capture:!0,passive:!1}));function v(b){return D.isMacintosh?(b.metaKey||b.ctrlKey)&&!b.shiftKey&&!b.altKey:b.ctrlKey&&!b.metaKey&&!b.shiftKey&&!b.altKey}}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(c){if(c.hasChanged(142)){const o=this._context.configuration.options.get(142).height;this._height!==o&&(this._height=o,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(c){return this._mouseDownOperation.onCursorStateChanged(c),!1}onFocusChanged(c){return!1}getTargetAtClientPoint(c,o){const l=new f.ClientCoordinates(c,o).toPageCoordinates(),p=(0,f.createEditorPagePosition)(this.viewHelper.viewDomNode);if(l.yp.y+p.height||l.xp.x+p.width)return null;const m=(0,f.createCoordinatesRelativeToEditor)(this.viewHelper.viewDomNode,p,l);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),p,l,m,null)}_createMouseTarget(c,o){let d=c.target;if(!this.viewHelper.viewDomNode.contains(d)){const l=L.getShadowRoot(this.viewHelper.viewDomNode);l&&(d=l.elementsFromPoint(c.posx,c.posy).find(p=>this.viewHelper.viewDomNode.contains(p)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),c.editorPos,c.pos,c.relativePos,o?d:null)}_getMouseColumn(c){return this.mouseTargetFactory.getMouseColumn(c.relativePos)}_onContextMenu(c,o){this.viewController.emitContextMenu({event:c,target:this._createMouseTarget(c,o)})}_onMouseMove(c){this.mouseTargetFactory.mouseTargetIsWidget(c)||c.preventDefault(),!(this._mouseDownOperation.isActive()||c.timestamp{c.preventDefault(),this.viewHelper.focusTextArea()};if(E&&(l||m&&v))I(),this._mouseDownOperation.start(d.type,c,o);else if(p)c.preventDefault();else if(b){const M=d.detail;E&&this.viewHelper.shouldSuppressMouseDownOnViewZone(M.viewZoneId)&&(I(),this._mouseDownOperation.start(d.type,c,o),c.preventDefault())}else w&&this.viewHelper.shouldSuppressMouseDownOnWidget(d.detail)&&(I(),c.preventDefault());this.viewController.emitMouseDown({event:c,target:d})}}e.MouseHandler=n;class t extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewController=o,this._viewHelper=d,this._mouseTargetFactory=l,this._createMouseTarget=p,this._getMouseColumn=m,this._mouseMoveMonitor=this._register(new f.GlobalEditorPointerMoveMonitor(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new a(this._context,this._viewHelper,this._mouseTargetFactory,(v,b,w)=>this._dispatchMouse(v,b,w))),this._mouseState=new h,this._currentSelection=new C.Selection(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(c){this._lastMouseEvent=c,this._mouseState.setModifiers(c);const o=this._findMousePosition(c,!1);o&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:c,target:o}):o.type===13&&(o.outsidePosition==="above"||o.outsidePosition==="below")?this._topBottomDragScrolling.start(o,c):(this._topBottomDragScrolling.stop(),this._dispatchMouse(o,!0,1)))}start(c,o,d){this._lastMouseEvent=o,this._mouseState.setStartedOnLineNumbers(c===3),this._mouseState.setStartButtons(o),this._mouseState.setModifiers(o);const l=this._findMousePosition(o,!0);if(!l||!l.position)return;this._mouseState.trySetCount(o.detail,l.position),o.detail=this._mouseState.count;const p=this._context.configuration.options;if(!p.get(89)&&p.get(34)&&!p.get(21)&&!this._mouseState.altKey&&o.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&l.type===6&&l.position&&this._currentSelection.containsPosition(l.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),m=>{const v=this._findMousePosition(this._lastMouseEvent,!1);m&&m instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:v?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(l,o.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(c){this._currentSelection=c.selections[0]}_getPositionOutsideEditor(c){const o=c.editorPos,d=this._context.viewModel,l=this._context.viewLayout,p=this._getMouseColumn(c);if(c.posyo.y+o.height){const v=c.posy-o.y-o.height,b=l.getCurrentScrollTop()+c.relativePos.y,w=S.HitTestContext.getZoneAtCoord(this._context,b);if(w){const I=this._helpPositionJumpOverViewZone(w);if(I)return S.MouseTarget.createOutsideEditor(p,I,"below",v)}const E=l.getLineNumberAtVerticalOffset(b);return S.MouseTarget.createOutsideEditor(p,new g.Position(E,d.getLineMaxColumn(E)),"below",v)}const m=l.getLineNumberAtVerticalOffset(l.getCurrentScrollTop()+c.relativePos.y);if(c.posxo.x+o.width){const v=c.posx-o.x-o.width;return S.MouseTarget.createOutsideEditor(p,new g.Position(m,d.getLineMaxColumn(m)),"right",v)}return null}_findMousePosition(c,o){const d=this._getPositionOutsideEditor(c);if(d)return d;const l=this._createMouseTarget(c,o);if(!l.position)return null;if(l.type===8||l.type===5){const m=this._helpPositionJumpOverViewZone(l.detail);if(m)return S.MouseTarget.createViewZone(l.type,l.element,l.mouseColumn,m,l.detail)}return l}_helpPositionJumpOverViewZone(c){const o=new g.Position(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),d=c.positionBefore,l=c.positionAfter;return d&&l?d.isBefore(o)?d:l:null}_dispatchMouse(c,o,d){c.position&&this._viewController.dispatchMouse({position:c.position,mouseColumn:c.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:d,inSelectionMode:o,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:c.type===6&&c.detail.injectedText!==null})}}class a extends y.Disposable{constructor(c,o,d,l){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._operation=null}dispose(){super.dispose(),this.stop()}start(c,o){this._operation?this._operation.setPosition(c,o):this._operation=new u(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,c,o)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class u extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._position=p,this._mouseEvent=m,this._lastTime=Date.now(),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}dispose(){this._animationFrameDisposable.dispose()}setPosition(c,o){this._position=c,this._mouseEvent=o}_tick(){const c=Date.now(),o=c-this._lastTime;return this._lastTime=c,o}_getScrollSpeed(){const c=this._context.configuration.options.get(65),o=this._context.configuration.options.get(142).height/c,d=this._position.outsideDistance/c;return d<=1.5?Math.max(30,o*(1+d)):d<=3?Math.max(60,o*(2+d)):Math.max(200,o*(7+d))}_execute(){const c=this._context.configuration.options.get(65),o=this._getScrollSpeed(),d=this._tick(),l=o*(d/1e3)*c,p=this._position.outsidePosition==="above"?-l:l;this._context.viewModel.viewLayout.deltaScrollNow(0,p),this._viewHelper.renderNow();const m=this._context.viewLayout.getLinesViewportData(),v=this._position.outsidePosition==="above"?m.startLineNumber:m.endLineNumber;let b;{const w=(0,f.createEditorPagePosition)(this._viewHelper.viewDomNode),E=this._context.configuration.options.get(142).horizontalScrollbarHeight,I=new f.PageCoordinates(this._mouseEvent.pos.x,w.y+w.height-E-.1),M=(0,f.createCoordinatesRelativeToEditor)(this._viewHelper.viewDomNode,w,I);b=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),w,I,M,null)}(!b.position||b.position.lineNumber!==v)&&(this._position.outsidePosition==="above"?b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,1),"above",this._position.outsideDistance):b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,this._context.viewModel.getLineMaxColumn(v)),"below",this._position.outsideDistance)),this._dispatchMouse(b,!0,2),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}}class h{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(c){this._altKey=c.altKey,this._ctrlKey=c.ctrlKey,this._metaKey=c.metaKey,this._shiftKey=c.shiftKey}setStartButtons(c){this._leftButton=c.leftButton,this._middleButton=c.middleButton}setStartedOnLineNumbers(c){this._startedOnLineNumbers=c}trySetCount(c,o){const d=new Date().getTime();d-this._lastSetMouseDownCountTime>h.CLEAR_MOUSE_DOWN_COUNT_TIME&&(c=1),this._lastSetMouseDownCountTime=d,c>this._lastMouseDownCount+1&&(c=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(o)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=o,this._lastMouseDownCount=Math.min(c,this._lastMouseDownPositionEqualCount)}}h.CLEAR_MOUSE_DOWN_COUNT_TIME=400}),define(ne[837],se([1,0,7,17,61,2,836,159,217,185]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PointerHandler=e.PointerEventHandler=void 0;class C extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,r=>this.onTap(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,r=>this.onChange(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,r=>this._onContextMenu(new f.EditorMouseEvent(r,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,"pointerdown",r=>{const c=r.pointerType;if(c==="mouse"){this._lastPointerType="mouse";return}else c==="touch"?this._lastPointerType="touch":this._lastPointerType="pen"}));const h=new f.EditorPointerEventFactory(this.viewHelper.viewDomNode);this._register(h.onPointerMove(this.viewHelper.viewDomNode,r=>this._onMouseMove(r))),this._register(h.onPointerUp(this.viewHelper.viewDomNode,r=>this._onMouseUp(r))),this._register(h.onPointerLeave(this.viewHelper.viewDomNode,r=>this._onMouseLeave(r))),this._register(h.onPointerDown(this.viewHelper.viewDomNode,(r,c)=>this._onMouseDown(r,c)))}onTap(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);a.position&&this.viewController.dispatchMouse({position:a.position,mouseColumn:a.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:a.type===6&&a.detail.injectedText!==null})}onChange(t){this._lastPointerType==="touch"&&this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}_onMouseDown(t,a){t.browserEvent.pointerType!=="touch"&&super._onMouseDown(t,a)}}e.PointerEventHandler=C;class s extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,h=>this.onTap(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,h=>this.onChange(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,h=>this._onContextMenu(new f.EditorMouseEvent(h,!1,this.viewHelper.viewDomNode),!1)))}onTap(t){t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);if(a.position){const u=document.createEvent("CustomEvent");u.initEvent(g.TextAreaSyntethicEvents.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(u),this.viewController.moveTo(a.position,1)}}onChange(t){this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}}class i extends D.Disposable{constructor(t,a,u){super(),k.isIOS&&_.BrowserFeatures.pointerEvents?this.handler=this._register(new C(t,a,u)):window.TouchEvent?this.handler=this._register(new s(t,a,u)):this.handler=this._register(new S.MouseHandler(t,a,u))}getTargetAtClientPoint(t,a){return this.handler.getTargetAtClientPoint(t,a)}}e.PointerHandler=i}),define(ne[838],se([1,0,173,13,17,59,144,229,53,477,251,12,5,421]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewLines=void 0;class n{constructor(){this._currentVisibleRange=new i.Range(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(r){this._currentVisibleRange=r}}class t{constructor(r,c,o,d,l,p,m){this.minimalReveal=r,this.lineNumber=c,this.startColumn=o,this.endColumn=d,this.startScrollTop=l,this.stopScrollTop=p,this.scrollType=m,this.type="range",this.minLineNumber=c,this.maxLineNumber=c}}class a{constructor(r,c,o,d,l){this.minimalReveal=r,this.selections=c,this.startScrollTop=o,this.stopScrollTop=d,this.scrollType=l,this.type="selections";let p=c[0].startLineNumber,m=c[0].endLineNumber;for(let v=1,b=c.length;v{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new k.RunOnceScheduler(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new n,this._horizontalRevealRequest=null,this._stickyScrollEnabled=d.get(113).enabled,this._maxNumberStickyLines=d.get(113).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new C.ViewLine(this._viewLineOptions)}onConfigurationChanged(r){this._visibleLines.onConfigurationChanged(r),r.hasChanged(143)&&(this._maxLineWidth=0);const c=this._context.configuration.options,o=c.get(49),d=c.get(143);return this._lineHeight=c.get(65),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=d.isViewportWrapping,this._revealHorizontalRightPadding=c.get(98),this._cursorSurroundingLines=c.get(28),this._cursorSurroundingLinesStyle=c.get(29),this._canUseLayerHinting=!c.get(31),this._stickyScrollEnabled=c.get(113).enabled,this._maxNumberStickyLines=c.get(113).maxLineCount,(0,D.applyFontInfo)(this.domNode,o),this._onOptionsMaybeChanged(),r.hasChanged(142)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const r=this._context.configuration,c=new C.ViewLineOptions(r,this._context.theme.type);if(!this._viewLineOptions.equals(c)){this._viewLineOptions=c;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=!1;for(let l=c;l<=o;l++)d=this._visibleLines.getVisibleLine(l).onSelectionChanged()||d;return d}onDecorationsChanged(r){{const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let d=c;d<=o;d++)this._visibleLines.getVisibleLine(d).onDecorationsChanged()}return!0}onFlushed(r){const c=this._visibleLines.onFlushed(r);return this._maxLineWidth=0,c}onLinesChanged(r){return this._visibleLines.onLinesChanged(r)}onLinesDeleted(r){return this._visibleLines.onLinesDeleted(r)}onLinesInserted(r){return this._visibleLines.onLinesInserted(r)}onRevealRangeRequest(r){const c=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),r.source,r.minimalReveal,r.range,r.selections,r.verticalType);if(c===-1)return!1;let o=this._context.viewLayout.validateScrollPosition({scrollTop:c});r.revealHorizontal?r.range&&r.range.startLineNumber!==r.range.endLineNumber?o={scrollTop:o.scrollTop,scrollLeft:0}:r.range?this._horizontalRevealRequest=new t(r.minimalReveal,r.range.startLineNumber,r.range.startColumn,r.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType):r.selections&&r.selections.length>0&&(this._horizontalRevealRequest=new a(r.minimalReveal,r.selections,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType)):this._horizontalRevealRequest=null;const l=Math.abs(this._context.viewLayout.getCurrentScrollTop()-o.scrollTop)<=this._lineHeight?1:r.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(o,l),!0}onScrollChanged(r){if(this._horizontalRevealRequest&&r.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&r.scrollTopChanged){const c=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),o=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(r.scrollTopo)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(r.scrollWidth),this._visibleLines.onScrollChanged(r)||!0}onTokensChanged(r){return this._visibleLines.onTokensChanged(r)}onZonesChanged(r){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(r)}onThemeChanged(r){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(r,c){const o=this._getViewLineDomNode(r);if(o===null)return null;const d=this._getLineNumberFor(o);if(d===-1||d<1||d>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(d)===1)return new s.Position(d,1);const l=this._visibleLines.getStartLineNumber(),p=this._visibleLines.getEndLineNumber();if(dp)return null;let m=this._visibleLines.getVisibleLine(d).getColumnOfNodeOffset(r,c);const v=this._context.viewModel.getLineMinColumn(d);return mo)return-1;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getWidth(d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}linesVisibleRangesForRange(r,c){if(this.shouldRender())return null;const o=r.endLineNumber,d=i.Range.intersectRanges(r,this._lastRenderedData.getCurrentVisibleRange());if(!d)return null;const l=[];let p=0;const m=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot);let v=0;c&&(v=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(d.startLineNumber,1)).lineNumber);const b=this._visibleLines.getStartLineNumber(),w=this._visibleLines.getEndLineNumber();for(let E=d.startLineNumber;E<=d.endLineNumber;E++){if(Ew)continue;const I=E===d.startLineNumber?d.startColumn:1,M=E!==d.endLineNumber,P=M?this._context.viewModel.getLineMaxColumn(E):d.endColumn,x=this._visibleLines.getVisibleLine(E).getVisibleRangesForRange(E,I,P,m);if(x){if(c&&Ethis._visibleLines.getEndLineNumber())return null;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getVisibleRangesForRange(r,c,o,d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}visibleRangeForPosition(r){const c=this._visibleRangesForLineRange(r.lineNumber,r.column,r.column);return c?new S.HorizontalPosition(c.outsideRenderedLine,c.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(r){r.didDomLayout&&(this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow()))}_updateLineWidths(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=1,l=!0;for(let p=c;p<=o;p++){const m=this._visibleLines.getVisibleLine(p);if(r&&!m.getWidthIsFast()){l=!1;continue}d=Math.max(d,m.getWidth(null))}return l&&c===1&&o===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(d),l}_checkMonospaceFontAssumptions(){let r=-1,c=-1;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++){const p=this._visibleLines.getVisibleLine(l);if(p.needsMonospaceFontCheck()){const m=p.getWidth(null);m>c&&(c=m,r=l)}}if(r!==-1&&!this._visibleLines.getVisibleLine(r).monospaceAssumptionsAreValid())for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(r){if(this._visibleLines.renderLines(r),this._lastRenderedData.setCurrentVisibleRange(r.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const o=this._horizontalRevealRequest;if(r.startLineNumber<=o.minLineNumber&&o.maxLineNumber<=r.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const d=this._computeScrollLeftToReveal(o);d&&(this._isViewportWrapping||this._ensureMaxLineWidth(d.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:d.scrollLeft},o.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.isLinux&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)if(this._visibleLines.getVisibleLine(l).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const c=this._context.viewLayout.getCurrentScrollTop()-r.bigNumbersDelta;this._linesContent.setTop(-c),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(r){const c=Math.ceil(r);this._maxLineWidth0){let A=l[0].startLineNumber,N=l[0].endLineNumber;for(let F=1,O=l.length;Fv){if(!w)return-1;T=E}else if(p===5||p===6)if(p===6&&m<=E&&I<=b)T=m;else{const A=Math.max(5*this._lineHeight,v*.2),N=E-A,F=I-v;T=Math.max(F,N)}else if(p===1||p===2)if(p===2&&m<=E&&I<=b)T=m;else{const A=(E+I)/2;T=Math.max(0,A-v/2)}else T=this._computeMinimumScrolling(m,b,E,I,p===3,p===4);return T}_computeScrollLeftToReveal(r){const c=this._context.viewLayout.getCurrentViewport(),o=this._context.configuration.options.get(142),d=c.left,l=d+c.width-o.verticalScrollbarWidth;let p=1073741824,m=0;if(r.type==="range"){const b=this._visibleRangesForLineRange(r.lineNumber,r.startColumn,r.endColumn);if(!b)return null;for(const w of b.ranges)p=Math.min(p,Math.round(w.left)),m=Math.max(m,Math.round(w.left+w.width))}else for(const b of r.selections){if(b.startLineNumber!==b.endLineNumber)return null;const w=this._visibleRangesForLineRange(b.startLineNumber,b.startColumn,b.endColumn);if(!w)return null;for(const E of w.ranges)p=Math.min(p,Math.round(E.left)),m=Math.max(m,Math.round(E.left+E.width))}return r.minimalReveal||(p=Math.max(0,p-u.HORIZONTAL_EXTRA_PX),m+=this._revealHorizontalRightPadding),r.type==="selections"&&m-p>c.width?null:{scrollLeft:this._computeMinimumScrolling(d,l,p,m),maxHorizontalOffset:m}}_computeMinimumScrolling(r,c,o,d,l,p){r=r|0,c=c|0,o=o|0,d=d|0,l=!!l,p=!!p;const m=c-r;if(d-oc)return Math.max(0,d-m)}else return o;return r}}e.ViewLines=u,u.HORIZONTAL_EXTRA_PX=30}),define(ne[356],se([1,0,7,44,68,226,222,14,13,384,106,9,6,120,2,17,11,734,339,100,22,88,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputList=e.QuickInputListFocus=void 0;const l=L.$;class p{constructor(T,A,N,F,O,W,U){var j,R,K;this._checked=!1,this._hidden=!1,this.hasCheckbox=F,this.index=N,this.fireButtonTriggered=O,this.fireSeparatorButtonTriggered=W,this._onChecked=U,this.onChecked=F?i.Event.map(i.Event.filter(this._onChecked.event,G=>G.listElement===this),G=>G.checked):i.Event.None,T.type==="separator"?this._separator=T:(this.item=T,A&&A.type==="separator"&&!A.buttons&&(this._separator=A),this.saneDescription=this.item.description,this.saneDetail=this.item.detail,this._labelHighlights=(j=this.item.highlights)===null||j===void 0?void 0:j.label,this._descriptionHighlights=(R=this.item.highlights)===null||R===void 0?void 0:R.description,this._detailHighlights=(K=this.item.highlights)===null||K===void 0?void 0:K.detail,this.saneTooltip=this.item.tooltip),this._init=new c.Lazy(()=>{var G;const Z=(G=T.label)!==null&&G!==void 0?G:"",J=(0,n.parseLabelWithIcons)(Z).text.trim(),X=T.ariaLabel||[Z,this.saneDescription,this.saneDetail].map(H=>(0,n.getCodiconAriaLabel)(H)).filter(H=>!!H).join(", ");return{saneLabel:Z,saneSortLabel:J,saneAriaLabel:X}})}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(T){this._element=T}get hidden(){return this._hidden}set hidden(T){this._hidden=T}get checked(){return this._checked}set checked(T){T!==this._checked&&(this._checked=T,this._onChecked.fire({listElement:this,checked:T}))}get separator(){return this._separator}set separator(T){this._separator=T}get labelHighlights(){return this._labelHighlights}set labelHighlights(T){this._labelHighlights=T}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(T){this._descriptionHighlights=T}get detailHighlights(){return this._detailHighlights}set detailHighlights(T){this._detailHighlights=T}}class m{constructor(T){this.themeService=T}get templateId(){return m.ID}renderTemplate(T){const A=Object.create(null);A.toDisposeElement=[],A.toDisposeTemplate=[],A.entry=L.append(T,l(".quick-input-list-entry"));const N=L.append(A.entry,l("label.quick-input-list-label"));A.toDisposeTemplate.push(L.addStandardDisposableListener(N,L.EventType.CLICK,R=>{A.checkbox.offsetParent||R.preventDefault()})),A.checkbox=L.append(N,l("input.quick-input-list-checkbox")),A.checkbox.type="checkbox",A.toDisposeTemplate.push(L.addStandardDisposableListener(A.checkbox,L.EventType.CHANGE,R=>{A.element.checked=A.checkbox.checked}));const F=L.append(N,l(".quick-input-list-rows")),O=L.append(F,l(".quick-input-list-row")),W=L.append(F,l(".quick-input-list-row"));A.label=new D.IconLabel(O,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),A.icon=L.prepend(A.label.element,l(".quick-input-list-icon"));const U=L.append(O,l(".quick-input-list-entry-keybinding"));A.keybinding=new S.KeybindingLabel(U,a.OS);const j=L.append(W,l(".quick-input-list-label-meta"));return A.detail=new D.IconLabel(j,{supportHighlights:!0,supportIcons:!0}),A.separator=L.append(A.entry,l(".quick-input-list-separator")),A.actionBar=new y.ActionBar(A.entry),A.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),A.toDisposeTemplate.push(A.actionBar),A}renderElement(T,A,N){var F,O,W,U;N.element=T,T.element=(F=N.entry)!==null&&F!==void 0?F:void 0;const j=T.item?T.item:T.separator;N.checkbox.checked=T.checked,N.toDisposeElement.push(T.onChecked(X=>N.checkbox.checked=X));const{labelHighlights:R,descriptionHighlights:K,detailHighlights:G}=T;if(!((O=T.item)===null||O===void 0)&&O.iconPath){const X=(0,d.isDark)(this.themeService.getColorTheme().type)?T.item.iconPath.dark:(W=T.item.iconPath.light)!==null&&W!==void 0?W:T.item.iconPath.dark,H=o.URI.revive(X);N.icon.className="quick-input-list-icon",N.icon.style.backgroundImage=L.asCSSUrl(H)}else N.icon.style.backgroundImage="",N.icon.className=!((U=T.item)===null||U===void 0)&&U.iconClass?`quick-input-list-icon ${T.item.iconClass}`:"";const Z={matches:R||[],descriptionTitle:T.saneDescription,descriptionMatches:K||[],labelEscapeNewLines:!0};j.type!=="separator"?(Z.extraClasses=j.iconClasses,Z.italic=j.italic,Z.strikethrough=j.strikethrough,N.entry.classList.remove("quick-input-list-separator-as-item")):N.entry.classList.add("quick-input-list-separator-as-item"),N.label.setLabel(T.saneLabel,T.saneDescription,Z),N.keybinding.set(j.type==="separator"?void 0:j.keybinding),T.saneDetail?(N.detail.element.style.display="",N.detail.setLabel(T.saneDetail,void 0,{matches:G,title:T.saneDetail,labelEscapeNewLines:!0})):N.detail.element.style.display="none",T.item&&T.separator&&T.separator.label?(N.separator.textContent=T.separator.label,N.separator.style.display=""):N.separator.style.display="none",N.entry.classList.toggle("quick-input-list-separator-border",!!T.separator);const J=j.buttons;J&&J.length?(N.actionBar.push(J.map((X,H)=>{let B=X.iconClass||(X.iconPath?(0,r.getIconClass)(X.iconPath):void 0);return X.alwaysVisible&&(B=B?`${B} always-visible`:"always-visible"),{id:`id-${H}`,class:B,enabled:!0,label:"",tooltip:X.tooltip||"",run:()=>{j.type!=="separator"?T.fireButtonTriggered({button:X,item:j}):T.fireSeparatorButtonTriggered({button:X,separator:j})}}}),{icon:!0,label:!1}),N.entry.classList.add("has-actions")):N.entry.classList.remove("has-actions")}disposeElement(T,A,N){N.toDisposeElement=(0,t.dispose)(N.toDisposeElement),N.actionBar.clear()}disposeTemplate(T){T.toDisposeElement=(0,t.dispose)(T.toDisposeElement),T.toDisposeTemplate=(0,t.dispose)(T.toDisposeTemplate)}}m.ID="listelement";class v{getHeight(T){return T.item?T.saneDetail?44:22:24}getTemplateId(T){return m.ID}}var b;(function(x){x[x.First=1]="First",x[x.Second=2]="Second",x[x.Last=3]="Last",x[x.Next=4]="Next",x[x.Previous=5]="Previous",x[x.NextPage=6]="NextPage",x[x.PreviousPage=7]="PreviousPage"})(b||(e.QuickInputListFocus=b={}));class w{constructor(T,A,N,F){this.parent=T,this.options=N,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.sortByLabel=!0,this._onChangedAllVisibleChecked=new i.Emitter,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new i.Emitter,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new i.Emitter,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new i.Emitter,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new i.Emitter,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new i.Emitter,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onKeyDown=new i.Emitter,this.onKeyDown=this._onKeyDown.event,this._onLeave=new i.Emitter,this.onLeave=this._onLeave.event,this._listElementChecked=new i.Emitter,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=A,this.container=L.append(this.parent,l(".quick-input-list"));const O=new v,W=new P;if(this.list=N.createList("QuickInput",this.container,O,[new m(F)],{identityProvider:{getId:U=>{var j,R,K,G,Z,J,X,H;return(H=(J=(G=(R=(j=U.item)===null||j===void 0?void 0:j.id)!==null&&R!==void 0?R:(K=U.item)===null||K===void 0?void 0:K.label)!==null&&G!==void 0?G:(Z=U.separator)===null||Z===void 0?void 0:Z.id)!==null&&J!==void 0?J:(X=U.separator)===null||X===void 0?void 0:X.label)!==null&&H!==void 0?H:""}},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:W}),this.list.getHTMLElement().id=A,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(U=>{const j=new k.StandardKeyboardEvent(U);switch(j.keyCode){case 10:this.toggleCheckbox();break;case 31:(a.isMacintosh?U.metaKey:U.ctrlKey)&&this.list.setFocus((0,f.range)(this.list.length));break;case 16:{const R=this.list.getFocus();R.length===1&&R[0]===0&&this._onLeave.fire();break}case 18:{const R=this.list.getFocus();R.length===1&&R[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(j)})),this.disposables.push(this.list.onMouseDown(U=>{U.browserEvent.button!==2&&U.browserEvent.preventDefault()})),this.disposables.push(L.addDisposableListener(this.container,L.EventType.CLICK,U=>{(U.x||U.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(U=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(U=>{typeof U.index=="number"&&(U.browserEvent.preventDefault(),this.list.setSelection([U.index]))})),N.hoverDelegate){const U=new _.ThrottledDelayer(N.hoverDelegate.delay);this.disposables.push(this.list.onMouseOver(j=>we(this,void 0,void 0,function*(){var R;if(j.browserEvent.target instanceof HTMLAnchorElement){U.cancel();return}if(!(!(j.browserEvent.relatedTarget instanceof HTMLAnchorElement)&&L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)))try{yield U.trigger(()=>we(this,void 0,void 0,function*(){j.element&&this.showHover(j.element)}))}catch(K){if(!(0,s.isCancellationError)(K))throw K}}))),this.disposables.push(this.list.onMouseOut(j=>{var R;L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)||U.cancel()})),this.disposables.push(U)}this.disposables.push(this._listElementChecked.event(U=>this.fireCheckedEvents())),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onSeparatorButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return i.Event.map(this.list.onDidChangeFocus,T=>T.elements.map(A=>A.item))}get onDidChangeSelection(){return i.Event.map(this.list.onDidChangeSelection,T=>({items:T.elements.map(A=>A.item),event:T.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(T){this.list.scrollTop=T}get ariaLabel(){return this.list.getHTMLElement().ariaLabel}set ariaLabel(T){this.list.getHTMLElement().ariaLabel=T}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(T,A=!0){for(let N=0,F=T.length;N{A.hidden||(A.checked=T)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(T){this.elementDisposables=(0,t.dispose)(this.elementDisposables);const A=W=>this.fireButtonTriggered(W),N=W=>this.fireSeparatorButtonTriggered(W);this.inputElements=T;const F=new Map,O=this.parent.classList.contains("show-checkboxes");this.elements=T.reduce((W,U,j)=>{var R;const K=j>0?T[j-1]:void 0;if(U.type==="separator"&&!U.buttons)return W;const G=new p(U,K,j,O,A,N,this._listElementChecked),Z=W.length;return W.push(G),F.set((R=G.item)!==null&&R!==void 0?R:G.separator,Z),W},[]),this.elementsToIndexes=F,this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(T=>T.item)}setFocusedElements(T){if(this.list.setFocus(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A))),T.length>0){const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(T){this.list.setSelection(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A)))}getCheckedElements(){return this.elements.filter(T=>T.checked).map(T=>T.item).filter(T=>!!T)}setCheckedElements(T){try{this._fireCheckedEvents=!1;const A=new Set;for(const N of T)A.add(N);for(const N of this.elements)N.checked=A.has(N.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(T){this.list.getHTMLElement().style.pointerEvents=T?"":"none"}focus(T){if(!this.list.length)return;switch(T===b.Second&&this.list.length<2&&(T=b.First),T){case b.First:this.list.scrollTop=0,this.list.focusFirst(void 0,N=>!!N.item);break;case b.Second:this.list.scrollTop=0,this.list.focusNth(1,void 0,N=>!!N.item);break;case b.Last:this.list.scrollTop=this.list.scrollHeight,this.list.focusLast(void 0,N=>!!N.item);break;case b.Next:{this.list.focusNext(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.Previous:{this.list.focusPrevious(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.NextPage:this.list.focusNextPage(void 0,N=>!!N.item);break;case b.PreviousPage:this.list.focusPreviousPage(void 0,N=>!!N.item);break}const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}showHover(T){var A,N,F;this.options.hoverDelegate!==void 0&&(this._lastHover&&!this._lastHover.isDisposed&&((N=(A=this.options.hoverDelegate).onDidHideHover)===null||N===void 0||N.call(A),(F=this._lastHover)===null||F===void 0||F.dispose()),!(!T.element||!T.saneTooltip)&&(this._lastHover=this.options.hoverDelegate.showHover({content:T.saneTooltip,target:T.element,linkHandler:O=>{this.options.linkOpenerDelegate(O)},showPointer:!0,container:this.container,hoverPosition:1},!1)))}layout(T){this.list.getHTMLElement().style.maxHeight=T?`${Math.floor(T/44)*44+6}px`:"",this.list.layout()}filter(T){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const A=T;if(T=T.trim(),!T||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(F=>{F.labelHighlights=void 0,F.descriptionHighlights=void 0,F.detailHighlights=void 0,F.hidden=!1;const O=F.index&&this.inputElements[F.index-1];F.item&&(F.separator=O&&O.type==="separator"&&!O.buttons?O:void 0)});else{let F;this.elements.forEach(O=>{var W,U,j,R;let K;this.matchOnLabelMode==="fuzzy"?K=this.matchOnLabel&&(W=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&W!==void 0?W:void 0:K=this.matchOnLabel&&(U=E(A,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&U!==void 0?U:void 0;const G=this.matchOnDescription&&(j=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDescription||"")))!==null&&j!==void 0?j:void 0,Z=this.matchOnDetail&&(R=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDetail||"")))!==null&&R!==void 0?R:void 0;if(K||G||Z?(O.labelHighlights=K,O.descriptionHighlights=G,O.detailHighlights=Z,O.hidden=!1):(O.labelHighlights=void 0,O.descriptionHighlights=void 0,O.detailHighlights=void 0,O.hidden=O.item?!O.item.alwaysShow:!0),O.item?O.separator=void 0:O.separator&&(O.hidden=!0),!this.sortByLabel){const J=O.index&&this.inputElements[O.index-1];F=J&&J.type==="separator"?J:F,F&&!O.hidden&&(O.separator=F,F=void 0)}})}const N=this.elements.filter(F=>!F.hidden);if(this.sortByLabel&&T){const F=T.toLowerCase();N.sort((O,W)=>M(O,W,F))}return this.elementsToIndexes=N.reduce((F,O,W)=>{var U;return F.set((U=O.item)!==null&&U!==void 0?U:O.separator,W),F},new Map),this.list.splice(0,this.list.length,N),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(N.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const T=this.list.getFocusedElements(),A=this.allVisibleChecked(T);for(const N of T)N.checked=!A}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(T){this.container.style.display=T?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=(0,t.dispose)(this.elementDisposables),this.disposables=(0,t.dispose)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(T){this._onButtonTriggered.fire(T)}fireSeparatorButtonTriggered(T){this._onSeparatorButtonTriggered.fire(T)}style(T){this.list.style(T)}toggleHover(){const T=this.list.getFocusedElements()[0];if(!T?.saneTooltip)return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}const A=this.list.getFocusedElements()[0];if(!A)return;this.showHover(A);const N=new t.DisposableStore;N.add(this.list.onDidChangeFocus(F=>{F.indexes.length&&this.showHover(F.elements[0])})),this._lastHover&&N.add(this._lastHover),this._toggleHover=N,this.elementDisposables.push(this._toggleHover)}}e.QuickInputList=w,ke([C.memoize],w.prototype,"onDidChangeFocus",null),ke([C.memoize],w.prototype,"onDidChangeSelection",null);function E(x,T){const{text:A,iconOffsets:N}=T;if(!N||N.length===0)return I(x,A);const F=(0,u.ltrim)(A," "),O=A.length-F.length,W=I(x,F);if(W)for(const U of W){const j=N[U.start+O]+O;U.start+=j,U.end+=j}return W}function I(x,T){const A=T.toLowerCase().indexOf(x.toLowerCase());return A!==-1?[{start:A,end:A+x.length}]:null}function M(x,T,A){const N=x.labelHighlights||[],F=T.labelHighlights||[];return N.length&&!F.length?-1:!N.length&&F.length?1:N.length===0&&F.length===0?0:(0,g.compareAnything)(x.saneSortLabel,T.saneSortLabel,A)}class P{getWidgetAriaLabel(){return(0,h.localize)(0,null)}getAriaLabel(T){var A;return!((A=T.separator)===null||A===void 0)&&A.label?`${T.saneAriaLabel}, ${T.separator.label}`:T.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(T){return T.hasCheckbox?"checkbox":"option"}isChecked(T){if(T.hasCheckbox)return{value:T.checked,onDidChange:T.onChecked}}}}),define(ne[839],se([1,0,7,44,153,39,14,13,25,6,2,17,101,26,732,71,356,339,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputBox=e.QuickPick=e.backButton=void 0,e.backButton={iconClass:n.ThemeIcon.asClassName(_.Codicon.quickInputBack),tooltip:(0,t.localize)(0,null),handle:-1};class r extends C.Disposable{constructor(l){super(),this.ui=l,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=r.noPromptMessage,this._severity=i.default.Ignore,this.onDidTriggerButtonEmitter=this._register(new g.Emitter),this.onDidHideEmitter=this._register(new g.Emitter),this.onDisposeEmitter=this._register(new g.Emitter),this.visibleDisposables=this._register(new C.DisposableStore),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(l){this._title=l,this.update()}get description(){return this._description}set description(l){this._description=l,this.update()}get step(){return this._steps}set step(l){this._steps=l,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(l){this._totalSteps=l,this.update()}get enabled(){return this._enabled}set enabled(l){this._enabled=l,this.update()}get contextKey(){return this._contextKey}set contextKey(l){this._contextKey=l,this.update()}get busy(){return this._busy}set busy(l){this._busy=l,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(l){const p=this._ignoreFocusOut!==l&&!s.isIOS;this._ignoreFocusOut=l&&!s.isIOS,p&&this.update()}get buttons(){return this._buttons}set buttons(l){this._buttons=l,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(l){this._toggles=l??[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(l){this._validationMessage=l,this.update()}get severity(){return this._severity}set severity(l){this._severity=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(l=>{this.buttons.indexOf(l)!==-1&&this.onDidTriggerButtonEmitter.fire(l)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(l=a.QuickInputHideReason.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:l})}update(){var l,p;if(!this.visible)return;const m=this.getTitle();m&&this.ui.title.textContent!==m?this.ui.title.textContent=m:!m&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0");const v=this.getDescription();if(this.ui.description1.textContent!==v&&(this.ui.description1.textContent=v),this.ui.description2.textContent!==v&&(this.ui.description2.textContent=v),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?L.reset(this.ui.widget,this._widget):L.reset(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new f.TimeoutTimer,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const w=this.buttons.filter(I=>I===e.backButton);this.ui.leftActionBar.push(w.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const E=this.buttons.filter(I=>I!==e.backButton);this.ui.rightActionBar.push(E.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const w=(p=(l=this.toggles)===null||l===void 0?void 0:l.filter(E=>E instanceof y.Toggle))!==null&&p!==void 0?p:[];this.ui.inputBox.toggles=w}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const b=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==b&&(this._lastValidationMessage=b,L.reset(this.ui.message),(0,h.renderQuickInputDescription)(b,this.ui.message,{callback:w=>{this.ui.linkOpenerDelegate(w)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,t.localize)(2,null,this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(l){if(this.ui.inputBox.showDecoration(l),l!==i.default.Ignore){const p=this.ui.inputBox.stylesForType(l);this.ui.message.style.color=p.foreground?`${p.foreground}`:"",this.ui.message.style.backgroundColor=p.background?`${p.background}`:"",this.ui.message.style.border=p.border?`1px solid ${p.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}r.noPromptMessage=(0,t.localize)(1,null);class c extends r{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new g.Emitter),this.onWillAcceptEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidCustomEmitter=this._register(new g.Emitter),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=a.ItemActivation.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new g.Emitter),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new g.Emitter),this.onDidTriggerItemButtonEmitter=this._register(new g.Emitter),this.onDidTriggerSeparatorButtonEmitter=this._register(new g.Emitter),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=l=>l,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(l){this._quickNavigate=l,this.update()}get value(){return this._value}set value(l){this.doSetValue(l)}doSetValue(l,p){this._value!==l&&(this._value=l,p||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(l){this._ariaLabel=l,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(l){this.ui.list.scrollTop=l}set items(l){this._items=l,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(l){this._canSelectMany=l,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(l){this._canAcceptInBackground=l}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(l){this._matchOnDescription=l,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(l){this._matchOnDetail=l,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(l){this._matchOnLabel=l,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(l){this._matchOnLabelMode=l,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(l){this._sortByLabel=l,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(l){this._autoFocusOnList=l,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(l){this._keepScrollPosition=l}get itemActivation(){return this._itemActivation}set itemActivation(l){this._itemActivation=l}get activeItems(){return this._activeItems}set activeItems(l){this._activeItems=l,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(l){this._selectedItems=l,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?a.NO_KEY_MODS:this.ui.keyMods}set valueSelection(l){this._valueSelection=l,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(l){this._customButton=l,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(l){this._customButtonLabel=l,this.update()}get customHover(){return this._customButtonHover}set customHover(l){this._customButtonHover=l,this.update()}get ok(){return this._ok}set ok(l){this._ok=l,this.update()}get hideInput(){return!!this._hideInput}set hideInput(l){this._hideInput=l,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(u.QuickInputListFocus.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{this.doSetValue(l,!0)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(l=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(l=>{switch(l.keyCode){case 18:this.ui.list.focus(u.QuickInputListFocus.Next),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(u.QuickInputListFocus.Previous):this.ui.list.focus(u.QuickInputListFocus.Last),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 12:this.ui.list.focus(u.QuickInputListFocus.NextPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 11:this.ui.list.focus(u.QuickInputListFocus.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.First),L.EventHelper.stop(l,!0));break;case 13:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.Last),L.EventHelper.stop(l,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(l=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,S.equals)(l,this._activeItems,(p,m)=>p===m)||(this._activeItems=l,this.onDidChangeActiveEmitter.fire(l))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:l,event:p})=>{if(this.canSelectMany){l.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(m,v)=>m===v)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l),l.length&&this.handleAccept(p instanceof MouseEvent&&p.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(l=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(p,m)=>p===m)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(l=>this.onDidTriggerItemButtonEmitter.fire(l))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(l=>this.onDidTriggerSeparatorButtonEmitter.fire(l))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(l){let p=!1;this.onWillAcceptEmitter.fire({veto:()=>p=!0}),p||this.onDidAcceptEmitter.fire({inBackground:l})}registerQuickNavigation(){return L.addDisposableListener(this.ui.container,L.EventType.KEY_UP,l=>{if(this.canSelectMany||!this._quickNavigate)return;const p=new k.StandardKeyboardEvent(l),m=p.keyCode;this._quickNavigate.keybindings.some(w=>{const E=w.getChords();return E.length>1?!1:E[0].shiftKey&&m===4?!(p.ctrlKey||p.altKey||p.metaKey):!!(E[0].altKey&&m===6||E[0].ctrlKey&&m===5||E[0].metaKey&&m===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const l=this.keepScrollPosition?this.scrollTop:0,p=!!this.description,m={title:!!this.title||!!this.step||!!this.buttons.length,description:p,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||p,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(m),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let v=this.ariaLabel;if(!v&&m.inputBox&&(v=this.placeholder||c.DEFAULT_ARIA_LABEL,this.title&&(v+=` - ${this.title}`)),this.ui.list.ariaLabel!==v&&(this.ui.list.ariaLabel=v??null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case a.ItemActivation.NONE:this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.SECOND:this.ui.list.focus(u.QuickInputListFocus.Second),this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.LAST:this.ui.list.focus(u.QuickInputListFocus.Last),this._itemActivation=a.ItemActivation.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",m.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(u.QuickInputListFocus.First)),this.keepScrollPosition&&(this.scrollTop=l)}}e.QuickPick=c,c.DEFAULT_ARIA_LABEL=(0,t.localize)(3,null);class o extends r{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(l){this._value=l||"",this.update()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get password(){return this._password}set password(l){this._password=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{l!==this.value&&(this._value=l,this.onDidValueChangeEmitter.fire(l))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");const l={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(l),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}e.InputBox=o}),define(ne[840],se([1,0,7,68,313,307,574,19,6,2,101,733,71,772,356,839]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputController=void 0;const u=L.$;class h extends g.Disposable{constructor(c,o){super(),this.options=c,this.themeService=o,this.enabled=!0,this.onDidAcceptEmitter=this._register(new _.Emitter),this.onDidCustomEmitter=this._register(new _.Emitter),this.onDidTriggerButtonEmitter=this._register(new _.Emitter),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new _.Emitter),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new _.Emitter),this.onHide=this.onHideEmitter.event,this.idPrefix=c.idPrefix,this.parentElement=c.container,this.styles=c.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const c=o=>{this.keyMods.ctrlCmd=o.ctrlKey||o.metaKey,this.keyMods.alt=o.altKey};this._register(L.addDisposableListener(window,L.EventType.KEY_DOWN,c,!0)),this._register(L.addDisposableListener(window,L.EventType.KEY_UP,c,!0)),this._register(L.addDisposableListener(window,L.EventType.MOUSE_DOWN,c,!0))}getUI(){if(this.ui)return this.ui;const c=L.append(this.parentElement,u(".quick-input-widget.show-file-icons"));c.tabIndex=-1,c.style.display="none";const o=L.createStyleSheet(c),d=L.append(c,u(".quick-input-titlebar")),l=this.options.hoverDelegate?{hoverDelegate:this.options.hoverDelegate}:void 0,p=this._register(new k.ActionBar(d,l));p.domNode.classList.add("quick-input-left-action-bar");const m=L.append(d,u(".quick-input-title")),v=this._register(new k.ActionBar(d,l));v.domNode.classList.add("quick-input-right-action-bar");const b=L.append(c,u(".quick-input-header")),w=L.append(b,u("input.quick-input-check-all"));w.type="checkbox",w.setAttribute("aria-label",(0,s.localize)(0,null)),this._register(L.addStandardDisposableListener(w,L.EventType.CHANGE,H=>{const B=w.checked;J.setAllVisibleChecked(B)})),this._register(L.addDisposableListener(w,L.EventType.CLICK,H=>{(H.x||H.y)&&P.setFocus()}));const E=L.append(b,u(".quick-input-description")),I=L.append(b,u(".quick-input-and-message")),M=L.append(I,u(".quick-input-filter")),P=this._register(new n.QuickInputBox(M,this.styles.inputBox,this.styles.toggle));P.setAttribute("aria-describedby",`${this.idPrefix}message`);const x=L.append(M,u(".quick-input-visible-count"));x.setAttribute("aria-live","polite"),x.setAttribute("aria-atomic","true");const T=new D.CountBadge(x,{countFormat:(0,s.localize)(1,null)},this.styles.countBadge),A=L.append(M,u(".quick-input-count"));A.setAttribute("aria-live","polite");const N=new D.CountBadge(A,{countFormat:(0,s.localize)(2,null)},this.styles.countBadge),F=L.append(b,u(".quick-input-action")),O=new y.Button(F,this.styles.button);O.label=(0,s.localize)(3,null),this._register(O.onDidClick(H=>{this.onDidAcceptEmitter.fire()}));const W=L.append(b,u(".quick-input-action")),U=new y.Button(W,this.styles.button);U.label=(0,s.localize)(4,null),this._register(U.onDidClick(H=>{this.onDidCustomEmitter.fire()}));const j=L.append(I,u(`#${this.idPrefix}message.quick-input-message`)),R=new S.ProgressBar(c,this.styles.progressBar);R.getContainer().classList.add("quick-input-progress");const K=L.append(c,u(".quick-input-html-widget"));K.tabIndex=-1;const G=L.append(c,u(".quick-input-description")),Z=this.idPrefix+"list",J=this._register(new t.QuickInputList(c,Z,this.options,this.themeService));P.setAttribute("aria-controls",Z),this._register(J.onDidChangeFocus(()=>{var H;P.setAttribute("aria-activedescendant",(H=J.getActiveDescendant())!==null&&H!==void 0?H:"")})),this._register(J.onChangedAllVisibleChecked(H=>{w.checked=H})),this._register(J.onChangedVisibleCount(H=>{T.setCount(H)})),this._register(J.onChangedCheckedCount(H=>{N.setCount(H)})),this._register(J.onLeave(()=>{setTimeout(()=>{P.setFocus(),this.controller instanceof a.QuickPick&&this.controller.canSelectMany&&J.clearFocus()},0)}));const X=L.trackFocus(c);return this._register(X),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{L.isAncestor(H.relatedTarget,c)||(this.previousFocusElement=H.relatedTarget instanceof HTMLElement?H.relatedTarget:void 0)},!0)),this._register(X.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(i.QuickInputHideReason.Blur),this.previousFocusElement=void 0})),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{P.setFocus()})),this._register(L.addStandardDisposableListener(c,L.EventType.KEY_DOWN,H=>{if(!L.isAncestor(H.target,K))switch(H.keyCode){case 3:L.EventHelper.stop(H,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:L.EventHelper.stop(H,!0),this.hide(i.QuickInputHideReason.Gesture);break;case 2:if(!H.altKey&&!H.ctrlKey&&!H.metaKey){const B=[".quick-input-list .monaco-action-bar .always-visible",".quick-input-list-entry:hover .monaco-action-bar",".monaco-list-row.focused .monaco-action-bar"];if(c.classList.contains("show-checkboxes")?B.push("input"):B.push("input[type=text]"),this.getUI().list.isDisplayed()&&B.push(".monaco-list"),this.getUI().message&&B.push(".quick-input-message a"),this.getUI().widget){if(L.isAncestor(H.target,this.getUI().widget))break;B.push(".quick-input-html-widget")}const V=c.querySelectorAll(B.join(", "));H.shiftKey&&H.target===V[0]?(L.EventHelper.stop(H,!0),J.clearFocus()):!H.shiftKey&&L.isAncestor(H.target,V[V.length-1])&&(L.EventHelper.stop(H,!0),V[0].focus())}break;case 10:H.ctrlKey&&(L.EventHelper.stop(H,!0),this.getUI().list.toggleHover());break}})),this.ui={container:c,styleSheet:o,leftActionBar:p,titleBar:d,title:m,description1:G,description2:E,widget:K,rightActionBar:v,checkAll:w,inputContainer:I,filterContainer:M,inputBox:P,visibleCountContainer:x,visibleCount:T,countContainer:A,count:N,okContainer:F,ok:O,message:j,customButtonContainer:W,customButton:U,list:J,progressBar:R,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:H=>this.show(H),hide:()=>this.hide(),setVisibilities:H=>this.setVisibilities(H),setEnabled:H=>this.setEnabled(H),setContextKey:H=>this.options.setContextKey(H),linkOpenerDelegate:H=>this.options.linkOpenerDelegate(H)},this.updateStyles(),this.ui}pick(c,o={},d=f.CancellationToken.None){return new Promise((l,p)=>{let m=E=>{var I;m=l,(I=o.onKeyMods)===null||I===void 0||I.call(o,v.keyMods),l(E)};if(d.isCancellationRequested){m(void 0);return}const v=this.createQuickPick();let b;const w=[v,v.onDidAccept(()=>{if(v.canSelectMany)m(v.selectedItems.slice()),v.hide();else{const E=v.activeItems[0];E&&(m(E),v.hide())}}),v.onDidChangeActive(E=>{const I=E[0];I&&o.onDidFocus&&o.onDidFocus(I)}),v.onDidChangeSelection(E=>{if(!v.canSelectMany){const I=E[0];I&&(m(I),v.hide())}}),v.onDidTriggerItemButton(E=>o.onDidTriggerItemButton&&o.onDidTriggerItemButton(Object.assign(Object.assign({},E),{removeItem:()=>{const I=v.items.indexOf(E.item);if(I!==-1){const M=v.items.slice(),P=M.splice(I,1),x=v.activeItems.filter(A=>A!==P[0]),T=v.keepScrollPosition;v.keepScrollPosition=!0,v.items=M,x&&(v.activeItems=x),v.keepScrollPosition=T}}}))),v.onDidTriggerSeparatorButton(E=>{var I;return(I=o.onDidTriggerSeparatorButton)===null||I===void 0?void 0:I.call(o,E)}),v.onDidChangeValue(E=>{b&&!E&&(v.activeItems.length!==1||v.activeItems[0]!==b)&&(v.activeItems=[b])}),d.onCancellationRequested(()=>{v.hide()}),v.onDidHide(()=>{(0,g.dispose)(w),m(void 0)})];v.title=o.title,v.canSelectMany=!!o.canPickMany,v.placeholder=o.placeHolder,v.ignoreFocusOut=!!o.ignoreFocusLost,v.matchOnDescription=!!o.matchOnDescription,v.matchOnDetail=!!o.matchOnDetail,v.matchOnLabel=o.matchOnLabel===void 0||o.matchOnLabel,v.autoFocusOnList=o.autoFocusOnList===void 0||o.autoFocusOnList,v.quickNavigate=o.quickNavigate,v.hideInput=!!o.hideInput,v.contextKey=o.contextKey,v.busy=!0,Promise.all([c,o.activeItem]).then(([E,I])=>{b=I,v.busy=!1,v.items=E,v.canSelectMany&&(v.selectedItems=E.filter(M=>M.type!=="separator"&&M.picked)),b&&(v.activeItems=[b])}),v.show(),Promise.resolve(c).then(void 0,E=>{p(E),v.hide()})})}createQuickPick(){const c=this.getUI();return new a.QuickPick(c)}createInputBox(){const c=this.getUI();return new a.InputBox(c)}show(c){const o=this.getUI();this.onShowEmitter.fire();const d=this.controller;this.controller=c,d?.didHide(),this.setEnabled(!0),o.leftActionBar.clear(),o.title.textContent="",o.description1.textContent="",o.description2.textContent="",L.reset(o.widget),o.rightActionBar.clear(),o.checkAll.checked=!1,o.inputBox.placeholder="",o.inputBox.password=!1,o.inputBox.showDecoration(C.default.Ignore),o.visibleCount.setCount(0),o.count.setCount(0),L.reset(o.message),o.progressBar.stop(),o.list.setElements([]),o.list.matchOnDescription=!1,o.list.matchOnDetail=!1,o.list.matchOnLabel=!0,o.list.sortByLabel=!0,o.ignoreFocusOut=!1,o.inputBox.toggles=void 0;const l=this.options.backKeybindingLabel();a.backButton.tooltip=l?(0,s.localize)(5,null,l):(0,s.localize)(6,null),o.container.style.display="",this.updateLayout(),o.inputBox.setFocus()}setVisibilities(c){const o=this.getUI();o.title.style.display=c.title?"":"none",o.description1.style.display=c.description&&(c.inputBox||c.checkAll)?"":"none",o.description2.style.display=c.description&&!(c.inputBox||c.checkAll)?"":"none",o.checkAll.style.display=c.checkAll?"":"none",o.inputContainer.style.display=c.inputBox?"":"none",o.filterContainer.style.display=c.inputBox?"":"none",o.visibleCountContainer.style.display=c.visibleCount?"":"none",o.countContainer.style.display=c.count?"":"none",o.okContainer.style.display=c.ok?"":"none",o.customButtonContainer.style.display=c.customButton?"":"none",o.message.style.display=c.message?"":"none",o.progressBar.getContainer().style.display=c.progressBar?"":"none",o.list.display(!!c.list),o.container.classList.toggle("show-checkboxes",!!c.checkBox),o.container.classList.toggle("hidden-input",!c.inputBox&&!c.description),this.updateLayout()}setEnabled(c){if(c!==this.enabled){this.enabled=c;for(const o of this.getUI().leftActionBar.viewItems)o.action.enabled=c;for(const o of this.getUI().rightActionBar.viewItems)o.action.enabled=c;this.getUI().checkAll.disabled=!c,this.getUI().inputBox.enabled=c,this.getUI().ok.enabled=c,this.getUI().list.enabled=c}}hide(c){var o,d,l;const p=this.controller;if(!p)return;const m=!L.isAncestor(document.activeElement,(d=(o=this.ui)===null||o===void 0?void 0:o.container)!==null&&d!==void 0?d:null);if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!m){let v=this.previousFocusElement;for(;v&&!v.offsetParent;)v=(l=v.parentElement)!==null&&l!==void 0?l:void 0;v?.offsetParent?(v.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}p.didHide(c)}layout(c,o){this.dimension=c,this.titleBarOffset=o,this.updateLayout()}updateLayout(){if(this.ui&&this.isDisplayed()){this.ui.container.style.top=`${this.titleBarOffset}px`;const c=this.ui.container.style,o=Math.min(this.dimension.width*.62,h.MAX_WIDTH);c.width=o+"px",c.marginLeft="-"+o/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(c){this.styles=c,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:c,quickInputBackground:o,quickInputForeground:d,widgetBorder:l,widgetShadow:p}=this.styles.widget;this.ui.titleBar.style.backgroundColor=c??"",this.ui.container.style.backgroundColor=o??"",this.ui.container.style.color=d??"",this.ui.container.style.border=l?`1px solid ${l}`:"",this.ui.container.style.boxShadow=p?`0 0 8px 2px ${p}`:"",this.ui.list.style(this.styles.list);const m=[];this.styles.pickerGroup.pickerGroupBorder&&m.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(m.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&m.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&m.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&m.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&m.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&m.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),m.push("}"));const v=m.join(` -`);v!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=v)}}isDisplayed(){return this.ui&&this.ui.container.style.display!=="none"}}e.QuickInputController=h,h.MAX_WIDTH=600}),define(ne[23],se([1,0,6,2,8,37,88]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Themable=e.registerThemingParticipant=e.Extensions=e.getThemeTypeSelector=e.themeColorFromId=e.IThemeService=void 0,e.IThemeService=(0,y.createDecorator)("themeService");function f(n){return{id:n}}e.themeColorFromId=f;function _(n){switch(n){case S.ColorScheme.DARK:return"vs-dark";case S.ColorScheme.HIGH_CONTRAST_DARK:return"hc-black";case S.ColorScheme.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}e.getThemeTypeSelector=_,e.Extensions={ThemingContribution:"base.contributions.theming"};class g{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Emitter}onColorThemeChange(t){return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),(0,k.toDisposable)(()=>{const a=this.themingParticipants.indexOf(t);this.themingParticipants.splice(a,1)})}getThemingParticipants(){return this.themingParticipants}}const C=new g;D.Registry.add(e.Extensions.ThemingContribution,C);function s(n){return C.onColorThemeChange(n)}e.registerThemingParticipant=s;class i extends k.Disposable{constructor(t){super(),this.themeService=t,this.theme=t.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(a=>this.onThemeChange(a)))}onThemeChange(t){this.theme=t,this.updateStyles()}updateStyles(){}}e.Themable=i}),define(ne[841],se([1,0,6,2,64,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalStyleSheet=e.AbstractCodeEditorService=void 0;let S=class extends k.Disposable{constructor(g){super(),this._themeService=g,this._onWillCreateCodeEditor=this._register(new L.Emitter),this._onCodeEditorAdd=this._register(new L.Emitter),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new L.Emitter),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new L.Emitter),this._onDiffEditorAdd=this._register(new L.Emitter),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new L.Emitter),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new y.LinkedList,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(g){this._codeEditors[g.getId()]=g,this._onCodeEditorAdd.fire(g)}removeCodeEditor(g){delete this._codeEditors[g.getId()]&&this._onCodeEditorRemove.fire(g)}listCodeEditors(){return Object.keys(this._codeEditors).map(g=>this._codeEditors[g])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(g){this._diffEditors[g.getId()]=g,this._onDiffEditorAdd.fire(g)}removeDiffEditor(g){delete this._diffEditors[g.getId()]&&this._onDiffEditorRemove.fire(g)}listDiffEditors(){return Object.keys(this._diffEditors).map(g=>this._diffEditors[g])}getFocusedCodeEditor(){let g=null;const C=this.listCodeEditors();for(const s of C){if(s.hasTextFocus())return s;s.hasWidgetFocus()&&(g=s)}return g}removeDecorationType(g){const C=this._decorationOptionProviders.get(g);C&&(C.refCount--,C.refCount<=0&&(this._decorationOptionProviders.delete(g),C.dispose(),this.listCodeEditors().forEach(s=>s.removeDecorationsByType(g))))}setModelProperty(g,C,s){const i=g.toString();let n;this._modelProperties.has(i)?n=this._modelProperties.get(i):(n=new Map,this._modelProperties.set(i,n)),n.set(C,s)}getModelProperty(g,C){const s=g.toString();if(this._modelProperties.has(s))return this._modelProperties.get(s).get(C)}openCodeEditor(g,C,s){return we(this,void 0,void 0,function*(){for(const i of this._codeEditorOpenHandlers){const n=yield i(g,C,s);if(n!==null)return n}return null})}registerCodeEditorOpenHandler(g){const C=this._codeEditorOpenHandlers.unshift(g);return(0,k.toDisposable)(C)}};e.AbstractCodeEditorService=S,e.AbstractCodeEditorService=S=ke([fe(0,D.IThemeService)],S);class f{constructor(g){this._styleSheet=g}}e.GlobalStyleSheet=f}),define(ne[842],se([1,0,7,35,75,53,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScrollbar=void 0;class f extends D.ViewPart{constructor(g,C,s,i){super(g);const n=this._context.configuration.options,t=n.get(101),a=n.get(73),u=n.get(39),h=n.get(104),r={listenOnDomNode:s.domNode,className:"editor-scrollable "+(0,S.getThemeTypeSelector)(g.theme.type),useShadows:!1,lazyRender:!0,vertical:t.vertical,horizontal:t.horizontal,verticalHasArrows:t.verticalHasArrows,horizontalHasArrows:t.horizontalHasArrows,verticalScrollbarSize:t.verticalScrollbarSize,verticalSliderSize:t.verticalSliderSize,horizontalScrollbarSize:t.horizontalScrollbarSize,horizontalSliderSize:t.horizontalSliderSize,handleMouseWheel:t.handleMouseWheel,alwaysConsumeMouseWheel:t.alwaysConsumeMouseWheel,arrowSize:t.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:u,scrollPredominantAxis:h,scrollByPage:t.scrollByPage};this.scrollbar=this._register(new y.SmoothScrollableElement(C.domNode,r,this._context.viewLayout.getScrollable())),D.PartFingerprints.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,k.createFastDomNode)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const c=(o,d,l)=>{const p={};if(d){const m=o.scrollTop;m&&(p.scrollTop=this._context.viewLayout.getCurrentScrollTop()+m,o.scrollTop=0)}if(l){const m=o.scrollLeft;m&&(p.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+m,o.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(p,1)};this._register(L.addDisposableListener(s.domNode,"scroll",o=>c(s.domNode,!0,!0))),this._register(L.addDisposableListener(C.domNode,"scroll",o=>c(C.domNode,!0,!1))),this._register(L.addDisposableListener(i.domNode,"scroll",o=>c(i.domNode,!0,!1))),this._register(L.addDisposableListener(this.scrollbarDomNode.domNode,"scroll",o=>c(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const g=this._context.configuration.options,C=g.get(142);this.scrollbarDomNode.setLeft(C.contentLeft),g.get(71).side==="right"?this.scrollbarDomNode.setWidth(C.contentWidth+C.minimap.minimapWidth):this.scrollbarDomNode.setWidth(C.contentWidth),this.scrollbarDomNode.setHeight(C.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(g){this.scrollbar.delegateVerticalScrollbarPointerDown(g)}delegateScrollFromMouseWheelEvent(g){this.scrollbar.delegateScrollFromMouseWheelEvent(g)}onConfigurationChanged(g){if(g.hasChanged(101)||g.hasChanged(73)||g.hasChanged(39)){const C=this._context.configuration.options,s=C.get(101),i=C.get(73),n=C.get(39),t=C.get(104),a={vertical:s.vertical,horizontal:s.horizontal,verticalScrollbarSize:s.verticalScrollbarSize,horizontalScrollbarSize:s.horizontalScrollbarSize,scrollByPage:s.scrollByPage,handleMouseWheel:s.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:t};this.scrollbar.updateOptions(a)}return g.hasChanged(142)&&this._setLayout(),!0}onScrollChanged(g){return!0}onThemeChanged(g){return this.scrollbar.updateClassName("editor-scrollable "+(0,S.getThemeTypeSelector)(this._context.theme.type)),!0}prepareRender(g){}render(g){this.scrollbar.renderNow()}}e.EditorScrollbar=f}),define(ne[843],se([1,0,112,31,23,429]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionsOverlay=void 0;class D{constructor(i){this.left=i.left,this.width=i.width,this.startStyle=null,this.endStyle=null}}class S{constructor(i,n){this.lineNumber=i,this.ranges=n}}function f(s){return new D(s)}function _(s){return new S(s.lineNumber,s.ranges.map(f))}class g extends L.DynamicViewOverlay{constructor(i){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=i;const n=this._context.configuration.options;this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){const n=this._context.configuration.options;return this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_visibleRangesHaveGaps(i){for(let n=0,t=i.length;n1)return!0;return!1}_enrichVisibleRangesWithStyle(i,n,t){const a=this._typicalHalfwidthCharacterWidth/4;let u=null,h=null;if(t&&t.length>0&&n.length>0){const r=n[0].lineNumber;if(r===i.startLineNumber)for(let o=0;!u&&o=0;o--)t[o].lineNumber===c&&(h=t[o].ranges[0]);u&&!u.startStyle&&(u=null),h&&!h.startStyle&&(h=null)}for(let r=0,c=n.length;r0){const v=n[r-1].ranges[0].left,b=n[r-1].ranges[0].left+n[r-1].ranges[0].width;C(d-v)v&&(p.top=1),C(l-b)'}_actualRenderOneSelection(i,n,t,a){if(a.length===0)return;const u=!!a[0].ranges[0].startStyle,h=this._lineHeight.toString(),r=(this._lineHeight-1).toString(),c=a[0].lineNumber,o=a[a.length-1].lineNumber;for(let d=0,l=a.length;d1,o)}this._previousFrameVisibleRangesWithStyle=u,this._renderResult=n.map(([h,r])=>h+r)}render(i,n){if(!this._renderResult)return"";const t=n-i;return t<0||t>=this._renderResult.length?"":this._renderResult[t]}}e.SelectionsOverlay=g,g.SELECTION_CLASS_NAME="selected-text",g.SELECTION_TOP_LEFT="top-left-radius",g.SELECTION_BOTTOM_LEFT="bottom-left-radius",g.SELECTION_TOP_RIGHT="top-right-radius",g.SELECTION_BOTTOM_RIGHT="bottom-right-radius",g.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",g.ROUNDED_PIECE_WIDTH=10,(0,y.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorSelectionForeground);n&&!n.isTransparent()&&i.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)});function C(s){return s<0?-s:s}}),define(ne[357],se([1,0,7,35,195,2,42,102,12,212,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerPart=void 0;let n=i=class extends D.Disposable{constructor(a,u,h,r,c,o,d,l){super(),this._editors=a,this._rootElement=u,this._diffModel=h,this._rootWidth=r,this._rootHeight=c,this._modifiedEditorLayoutInfo=o,this._options=d,this._themeService=l;const p=(0,S.observableFromEvent)(this._themeService.onDidColorThemeChange,()=>this._themeService.getColorTheme()),m=(0,S.derived)(w=>{const E=p.read(w),I=E.getColor(C.diffOverviewRulerInserted)||(E.getColor(C.diffInserted)||C.defaultInsertColor).transparent(2),M=E.getColor(C.diffOverviewRulerRemoved)||(E.getColor(C.diffRemoved)||C.defaultRemoveColor).transparent(2);return{insertColor:I,removeColor:M}}),v=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),b=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollHeight());this._register((0,S.autorunWithStore)((w,E)=>{if(!this._options.renderOverviewRuler.read(w))return;const I=(0,k.createFastDomNode)(document.createElement("div"));I.setClassName("diffViewport"),I.setPosition("absolute");const M=(0,L.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;E.add((0,f.appendRemoveOnDispose)(M,I.domNode)),E.add((0,L.addStandardDisposableListener)(M,L.EventType.POINTER_DOWN,P=>{this._editors.modified.delegateVerticalScrollbarPointerDown(P)})),E.add((0,L.addDisposableListener)(M,L.EventType.MOUSE_WHEEL,P=>{this._editors.modified.delegateScrollFromMouseWheelEvent(P)},{passive:!1})),E.add((0,f.appendRemoveOnDispose)(this._rootElement,M)),E.add((0,S.autorunWithStore)((P,x)=>{const T=this._diffModel.read(P),A=this._editors.original.createOverviewRuler("original diffOverviewRuler");A&&(x.add(A),x.add((0,f.appendRemoveOnDispose)(M,A.getDomNode())));const N=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(N&&(x.add(N),x.add((0,f.appendRemoveOnDispose)(M,N.getDomNode()))),!A||!N)return;const F=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.original.onDidChangeViewZones),O=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),W=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),U=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);x.add((0,S.autorun)(j=>{var R;F.read(j),O.read(j),W.read(j),U.read(j);const K=m.read(j),G=(R=T?.diff.read(j))===null||R===void 0?void 0:R.mappings;function Z(H,B,V){const Y=V._getViewModel();return Y?H.filter(ie=>ie.length>0).map(ie=>{const ae=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.startLineNumber,1)),ce=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.endLineNumberExclusive,1)),de=ce.lineNumber-ae.lineNumber;return new g.OverviewRulerZone(ae.lineNumber,ce.lineNumber,de,B.toString())}):[]}const J=Z((G||[]).map(H=>H.lineRangeMapping.originalRange),K.removeColor,this._editors.original),X=Z((G||[]).map(H=>H.lineRangeMapping.modifiedRange),K.insertColor,this._editors.modified);A?.setZones(J),N?.setZones(X)})),x.add((0,S.autorun)(j=>{const R=this._rootHeight.read(j),K=this._rootWidth.read(j),G=this._modifiedEditorLayoutInfo.read(j);if(G){const Z=i.ENTIRE_DIFF_OVERVIEW_WIDTH-2*i.ONE_OVERVIEW_WIDTH;A.setLayout({top:0,height:R,right:Z+i.ONE_OVERVIEW_WIDTH,width:i.ONE_OVERVIEW_WIDTH}),N.setLayout({top:0,height:R,right:0,width:i.ONE_OVERVIEW_WIDTH});const J=v.read(j),X=b.read(j),H=this._editors.modified.getOption(101),B=new y.ScrollbarState(H.verticalHasArrows?H.arrowSize:0,H.verticalScrollbarSize,0,G.height,X,J);I.setTop(B.getSliderPosition()),I.setHeight(B.getSliderSize())}else I.setTop(0),I.setHeight(0);M.style.height=R+"px",M.style.left=K-i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",I.setWidth(i.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}))}};e.OverviewRulerPart=n,n.ONE_OVERVIEW_WIDTH=15,n.ENTIRE_DIFF_OVERVIEW_WIDTH=i.ONE_OVERVIEW_WIDTH*2,e.OverviewRulerPart=n=i=ke([fe(7,s.IThemeService)],n)}),define(ne[844],se([1,0,6,2,42,357,36,610,8,34]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorEditors=void 0;let C=class extends k.Disposable{constructor(i,n,t,a,u,h,r){super(),this.originalEditorElement=i,this.modifiedEditorElement=n,this._options=t,this._createInnerEditor=u,this._instantiationService=h,this._keybindingService=r,this._onDidContentSizeChange=this._register(new L.Emitter),this.original=this._register(this._createLeftHandSideEditor(t.editorOptions.get(),a.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(t.editorOptions.get(),a.modifiedEditor||{})),this._register((0,y.autorunHandleChanges)({createEmptyChangeSummary:()=>({}),handleChange:(c,o)=>(c.didChange(t.editorOptions)&&Object.assign(o,c.change.changedOptions),!0)},(c,o)=>{t.editorOptions.read(c),this._options.renderSideBySide.read(c),this.modified.updateOptions(this._adjustOptionsForRightHandSide(c,o)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(c,o))}))}_createLeftHandSideEditor(i,n){const t=this._adjustOptionsForLeftHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,t,n);return a.setContextValue("isInDiffLeftEditor",!0),a}_createRightHandSideEditor(i,n){const t=this._adjustOptionsForRightHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,t,n);return a.setContextValue("isInDiffRightEditor",!0),a}_constructInnerEditor(i,n,t,a){const u=this._createInnerEditor(i,n,t,a);return this._register(u.onDidContentSizeChange(h=>{const r=this.original.getContentWidth()+this.modified.getContentWidth()+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,c=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:c,contentWidth:r,contentHeightChanged:h.contentHeightChanged,contentWidthChanged:h.contentWidthChanged})})),u}_adjustOptionsForLeftHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return this._options.renderSideBySide.get()?(t.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},t.wordWrapOverride1=this._options.diffWordWrap.get()):(t.wordWrapOverride1="off",t.wordWrapOverride2="off",t.stickyScroll={enabled:!1},t.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),n.originalAriaLabel&&(t.ariaLabel=n.originalAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.readOnly=!this._options.originalEditable.get(),t.dropIntoEditor={enabled:!t.readOnly},t.extraEditorClassName="original-in-monaco-diff-editor",t}_adjustOptionsForRightHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return n.modifiedAriaLabel&&(t.ariaLabel=n.modifiedAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.wordWrapOverride1=this._options.diffWordWrap.get(),t.revealHorizontalRightPadding=S.EditorOptions.revealHorizontalRightPadding.defaultValue+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t}_adjustOptionsForSubEditor(i){const n=Object.assign(Object.assign({},i),{dimension:{height:0,width:0}});return n.inDiffEditor=!0,n.automaticLayout=!1,n.scrollbar=Object.assign({},n.scrollbar||{}),n.scrollbar.vertical="visible",n.folding=!1,n.codeLens=this._options.diffCodeLens.get(),n.fixedOverflowWidgets=!0,n.minimap=Object.assign({},n.minimap||{}),n.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?n.stickyScroll={enabled:!1}:n.stickyScroll=this._options.editorOptions.get().stickyScroll,n}_updateAriaLabel(i){var n;i||(i="");const t=(0,f.localize)(0,null,(n=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))===null||n===void 0?void 0:n.getAriaLabel());return this._options.accessibilityVerbose.get()?i+t:i?i.replaceAll(t,""):""}};e.DiffEditorEditors=C,e.DiffEditorEditors=C=ke([fe(5,_.IInstantiationService),fe(6,g.IKeybindingService)],C)}),define(ne[80],se([1,0,622,38,31,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.editorUnicodeHighlightBackground=e.editorUnicodeHighlightBorder=e.editorBracketPairGuideActiveBackground6=e.editorBracketPairGuideActiveBackground5=e.editorBracketPairGuideActiveBackground4=e.editorBracketPairGuideActiveBackground3=e.editorBracketPairGuideActiveBackground2=e.editorBracketPairGuideActiveBackground1=e.editorBracketPairGuideBackground6=e.editorBracketPairGuideBackground5=e.editorBracketPairGuideBackground4=e.editorBracketPairGuideBackground3=e.editorBracketPairGuideBackground2=e.editorBracketPairGuideBackground1=e.editorBracketHighlightingUnexpectedBracketForeground=e.editorBracketHighlightingForeground6=e.editorBracketHighlightingForeground5=e.editorBracketHighlightingForeground4=e.editorBracketHighlightingForeground3=e.editorBracketHighlightingForeground2=e.editorBracketHighlightingForeground1=e.overviewRulerInfo=e.overviewRulerWarning=e.overviewRulerError=e.overviewRulerRangeHighlight=e.ghostTextBackground=e.ghostTextForeground=e.ghostTextBorder=e.editorUnnecessaryCodeOpacity=e.editorUnnecessaryCodeBorder=e.editorGutter=e.editorOverviewRulerBackground=e.editorOverviewRulerBorder=e.editorBracketMatchBorder=e.editorBracketMatchBackground=e.editorCodeLensForeground=e.editorRuler=e.editorDimmedLineNumber=e.editorActiveLineNumber=e.editorActiveIndentGuide6=e.editorActiveIndentGuide5=e.editorActiveIndentGuide4=e.editorActiveIndentGuide3=e.editorActiveIndentGuide2=e.editorActiveIndentGuide1=e.editorIndentGuide6=e.editorIndentGuide5=e.editorIndentGuide4=e.editorIndentGuide3=e.editorIndentGuide2=e.editorIndentGuide1=e.deprecatedEditorActiveIndentGuides=e.deprecatedEditorIndentGuides=e.editorLineNumbers=e.editorWhitespaces=e.editorCursorBackground=e.editorCursorForeground=e.editorSymbolHighlightBorder=e.editorSymbolHighlight=e.editorRangeHighlightBorder=e.editorRangeHighlight=e.editorLineHighlightBorder=e.editorLineHighlight=void 0,e.editorLineHighlight=(0,y.registerColor)("editor.lineHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(0,null)),e.editorLineHighlightBorder=(0,y.registerColor)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hcDark:"#f38518",hcLight:y.contrastBorder},L.localize(1,null)),e.editorRangeHighlight=(0,y.registerColor)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hcDark:null,hcLight:null},L.localize(2,null),!0),e.editorRangeHighlightBorder=(0,y.registerColor)("editor.rangeHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(3,null),!0),e.editorSymbolHighlight=(0,y.registerColor)("editor.symbolHighlightBackground",{dark:y.editorFindMatchHighlight,light:y.editorFindMatchHighlight,hcDark:null,hcLight:null},L.localize(4,null),!0),e.editorSymbolHighlightBorder=(0,y.registerColor)("editor.symbolHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(5,null),!0),e.editorCursorForeground=(0,y.registerColor)("editorCursor.foreground",{dark:"#AEAFAD",light:k.Color.black,hcDark:k.Color.white,hcLight:"#0F4A85"},L.localize(6,null)),e.editorCursorBackground=(0,y.registerColor)("editorCursor.background",null,L.localize(7,null)),e.editorWhitespaces=(0,y.registerColor)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hcDark:"#e3e4e229",hcLight:"#CCCCCC"},L.localize(8,null)),e.editorLineNumbers=(0,y.registerColor)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hcDark:k.Color.white,hcLight:"#292929"},L.localize(9,null)),e.deprecatedEditorIndentGuides=(0,y.registerColor)("editorIndentGuide.background",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(10,null),!1,L.localize(11,null)),e.deprecatedEditorActiveIndentGuides=(0,y.registerColor)("editorIndentGuide.activeBackground",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(12,null),!1,L.localize(13,null)),e.editorIndentGuide1=(0,y.registerColor)("editorIndentGuide.background1",{dark:e.deprecatedEditorIndentGuides,light:e.deprecatedEditorIndentGuides,hcDark:e.deprecatedEditorIndentGuides,hcLight:e.deprecatedEditorIndentGuides},L.localize(14,null)),e.editorIndentGuide2=(0,y.registerColor)("editorIndentGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(15,null)),e.editorIndentGuide3=(0,y.registerColor)("editorIndentGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(16,null)),e.editorIndentGuide4=(0,y.registerColor)("editorIndentGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(17,null)),e.editorIndentGuide5=(0,y.registerColor)("editorIndentGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(18,null)),e.editorIndentGuide6=(0,y.registerColor)("editorIndentGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(19,null)),e.editorActiveIndentGuide1=(0,y.registerColor)("editorIndentGuide.activeBackground1",{dark:e.deprecatedEditorActiveIndentGuides,light:e.deprecatedEditorActiveIndentGuides,hcDark:e.deprecatedEditorActiveIndentGuides,hcLight:e.deprecatedEditorActiveIndentGuides},L.localize(20,null)),e.editorActiveIndentGuide2=(0,y.registerColor)("editorIndentGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(21,null)),e.editorActiveIndentGuide3=(0,y.registerColor)("editorIndentGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(22,null)),e.editorActiveIndentGuide4=(0,y.registerColor)("editorIndentGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(23,null)),e.editorActiveIndentGuide5=(0,y.registerColor)("editorIndentGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(24,null)),e.editorActiveIndentGuide6=(0,y.registerColor)("editorIndentGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(25,null));const S=(0,y.registerColor)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(26,null),!1,L.localize(27,null));e.editorActiveLineNumber=(0,y.registerColor)("editorLineNumber.activeForeground",{dark:S,light:S,hcDark:S,hcLight:S},L.localize(28,null)),e.editorDimmedLineNumber=(0,y.registerColor)("editorLineNumber.dimmedForeground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(29,null)),e.editorRuler=(0,y.registerColor)("editorRuler.foreground",{dark:"#5A5A5A",light:k.Color.lightgrey,hcDark:k.Color.white,hcLight:"#292929"},L.localize(30,null)),e.editorCodeLensForeground=(0,y.registerColor)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hcDark:"#999999",hcLight:"#292929"},L.localize(31,null)),e.editorBracketMatchBackground=(0,y.registerColor)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hcDark:"#0064001a",hcLight:"#0000"},L.localize(32,null)),e.editorBracketMatchBorder=(0,y.registerColor)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hcDark:y.contrastBorder,hcLight:y.contrastBorder},L.localize(33,null)),e.editorOverviewRulerBorder=(0,y.registerColor)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hcDark:"#7f7f7f4d",hcLight:"#666666"},L.localize(34,null)),e.editorOverviewRulerBackground=(0,y.registerColor)("editorOverviewRuler.background",null,L.localize(35,null)),e.editorGutter=(0,y.registerColor)("editorGutter.background",{dark:y.editorBackground,light:y.editorBackground,hcDark:y.editorBackground,hcLight:y.editorBackground},L.localize(36,null)),e.editorUnnecessaryCodeBorder=(0,y.registerColor)("editorUnnecessaryCode.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:y.contrastBorder},L.localize(37,null)),e.editorUnnecessaryCodeOpacity=(0,y.registerColor)("editorUnnecessaryCode.opacity",{dark:k.Color.fromHex("#000a"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(38,null)),e.ghostTextBorder=(0,y.registerColor)("editorGhostText.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:k.Color.fromHex("#292929").transparent(.8)},L.localize(39,null)),e.ghostTextForeground=(0,y.registerColor)("editorGhostText.foreground",{dark:k.Color.fromHex("#ffffff56"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(40,null)),e.ghostTextBackground=(0,y.registerColor)("editorGhostText.background",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(41,null));const f=new k.Color(new k.RGBA(0,122,204,.6));e.overviewRulerRangeHighlight=(0,y.registerColor)("editorOverviewRuler.rangeHighlightForeground",{dark:f,light:f,hcDark:f,hcLight:f},L.localize(42,null),!0),e.overviewRulerError=(0,y.registerColor)("editorOverviewRuler.errorForeground",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},L.localize(43,null)),e.overviewRulerWarning=(0,y.registerColor)("editorOverviewRuler.warningForeground",{dark:y.editorWarningForeground,light:y.editorWarningForeground,hcDark:y.editorWarningBorder,hcLight:y.editorWarningBorder},L.localize(44,null)),e.overviewRulerInfo=(0,y.registerColor)("editorOverviewRuler.infoForeground",{dark:y.editorInfoForeground,light:y.editorInfoForeground,hcDark:y.editorInfoBorder,hcLight:y.editorInfoBorder},L.localize(45,null)),e.editorBracketHighlightingForeground1=(0,y.registerColor)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hcDark:"#FFD700",hcLight:"#0431FAFF"},L.localize(46,null)),e.editorBracketHighlightingForeground2=(0,y.registerColor)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hcDark:"#DA70D6",hcLight:"#319331FF"},L.localize(47,null)),e.editorBracketHighlightingForeground3=(0,y.registerColor)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hcDark:"#87CEFA",hcLight:"#7B3814FF"},L.localize(48,null)),e.editorBracketHighlightingForeground4=(0,y.registerColor)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(49,null)),e.editorBracketHighlightingForeground5=(0,y.registerColor)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(50,null)),e.editorBracketHighlightingForeground6=(0,y.registerColor)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(51,null)),e.editorBracketHighlightingUnexpectedBracketForeground=(0,y.registerColor)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new k.Color(new k.RGBA(255,18,18,.8)),light:new k.Color(new k.RGBA(255,18,18,.8)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:""},L.localize(52,null)),e.editorBracketPairGuideBackground1=(0,y.registerColor)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(53,null)),e.editorBracketPairGuideBackground2=(0,y.registerColor)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(54,null)),e.editorBracketPairGuideBackground3=(0,y.registerColor)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(55,null)),e.editorBracketPairGuideBackground4=(0,y.registerColor)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(56,null)),e.editorBracketPairGuideBackground5=(0,y.registerColor)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(57,null)),e.editorBracketPairGuideBackground6=(0,y.registerColor)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(58,null)),e.editorBracketPairGuideActiveBackground1=(0,y.registerColor)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(59,null)),e.editorBracketPairGuideActiveBackground2=(0,y.registerColor)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(60,null)),e.editorBracketPairGuideActiveBackground3=(0,y.registerColor)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(61,null)),e.editorBracketPairGuideActiveBackground4=(0,y.registerColor)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(62,null)),e.editorBracketPairGuideActiveBackground5=(0,y.registerColor)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(63,null)),e.editorBracketPairGuideActiveBackground6=(0,y.registerColor)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(64,null)),e.editorUnicodeHighlightBorder=(0,y.registerColor)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hcDark:"#ff0000",hcLight:"#CEA33D"},L.localize(65,null)),e.editorUnicodeHighlightBackground=(0,y.registerColor)("editorUnicodeHighlight.background",{dark:"#bd9b0326",light:"#cea33d14",hcDark:"#00000000",hcLight:"#cea33d14"},L.localize(66,null)),(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(y.editorBackground),s=_.getColor(e.editorLineHighlight),i=s&&!s.isTransparent()?s:C;i&&g.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${i}; }`)})}),define(ne[845],se([1,0,112,80,14,23,24,88,416]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrentLineMarginHighlightOverlay=e.CurrentLineHighlightOverlay=e.AbstractLineHighlightOverlay=void 0;class _ extends L.DynamicViewOverlay{constructor(i){super(),this._context=i;const n=this._context.configuration.options,t=n.get(142);this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new S.Selection(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let i=!1;const n=this._selections.map(a=>a.positionLineNumber);n.sort((a,u)=>a-u),y.equals(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,i=!0);const t=this._selections.every(a=>a.isEmpty());return this._selectionIsEmpty!==t&&(this._selectionIsEmpty=t,i=!0),i}onThemeChanged(i){return this._readFromSelections()}onConfigurationChanged(i){const n=this._context.configuration.options,t=n.get(142);return this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,!0}onCursorStateChanged(i){return this._selections=i.selections,this._readFromSelections()}onFlushed(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollWidthChanged||i.scrollTopChanged}onZonesChanged(i){return!0}onFocusChanged(i){return this._renderLineHighlightOnlyWhenFocus?(this._focused=i.isFocused,!0):!1}prepareRender(i){if(!this._shouldRenderThis()){this._renderData=null;return}const n=this._renderOne(i),t=i.visibleRange.startLineNumber,a=i.visibleRange.endLineNumber,u=this._cursorLineNumbers.length;let h=0;const r=[];for(let c=t;c<=a;c++){const o=c-t;for(;h=this._renderData.length?"":this._renderData[t]}_shouldRenderInMargin(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}e.AbstractLineHighlightOverlay=_;class g extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}e.CurrentLineHighlightOverlay=g;class C extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}e.CurrentLineMarginHighlightOverlay=C,(0,D.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorLineHighlight);if(n&&(i.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||s.defines(k.editorLineHighlightBorder)){const t=s.getColor(k.editorLineHighlightBorder);t&&(i.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${t}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${t}; }`),(0,f.isHighContrast)(s.type)&&(i.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),i.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}})}),define(ne[846],se([1,0,112,80,23,12,14,20,287,209,419]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentGuidesOverlay=void 0;class C extends L.DynamicViewOverlay{constructor(n){super(),this._context=n,this._primaryPosition=null;const t=this._context.configuration.options,a=t.get(143),u=t.get(49);this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(143),u=t.get(49);return this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),!0}onCursorStateChanged(n){var t;const u=n.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(u)?!1:(this._primaryPosition=u,!0)}onDecorationsChanged(n){return!0}onFlushed(n){return!0}onLinesChanged(n){return!0}onLinesDeleted(n){return!0}onLinesInserted(n){return!0}onScrollChanged(n){return n.scrollTopChanged}onZonesChanged(n){return!0}onLanguageConfigurationChanged(n){return!0}prepareRender(n){var t,a,u,h;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const r=n.visibleRange.startLineNumber,c=n.visibleRange.endLineNumber,o=n.scrollWidth,d=this._lineHeight,l=this._primaryPosition,p=this.getGuidesByLine(r,Math.min(c+1,this._context.viewModel.getLineCount()),l),m=[];for(let v=r;v<=c;v++){const b=v-r,w=p[b];let E="";const I=(a=(t=n.visibleRangeForPosition(new D.Position(v,1)))===null||t===void 0?void 0:t.left)!==null&&a!==void 0?a:0;for(const M of w){const P=M.column===-1?I+(M.visibleColumn-1)*this._spaceWidth:n.visibleRangeForPosition(new D.Position(v,M.column)).left;if(P>o||this._maxIndentLeft>0&&P>this._maxIndentLeft)break;const x=M.horizontalLine?M.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",T=M.horizontalLine?((h=(u=n.visibleRangeForPosition(new D.Position(v,M.horizontalLine.endColumn)))===null||u===void 0?void 0:u.left)!==null&&h!==void 0?h:P+this._spaceWidth)-P:this._spaceWidth;E+=`
    `}m[b]=E}this._renderResult=m}getGuidesByLine(n,t,a){const u=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(n,t,a,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?g.HorizontalGuidesState.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal==="active"?g.HorizontalGuidesState.EnabledForActive:g.HorizontalGuidesState.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,h=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(n,t):null;let r=0,c=0,o=0;if(this._bracketPairGuideOptions.highlightActiveIndentation!==!1&&a){const p=this._context.viewModel.getActiveIndentGuide(a.lineNumber,n,t);r=p.startLineNumber,c=p.endLineNumber,o=p.indent}const{indentSize:d}=this._context.viewModel.model.getOptions(),l=[];for(let p=n;p<=t;p++){const m=new Array;l.push(m);const v=u?u[p-n]:[],b=new S.ArrayQueue(v),w=h?h[p-n]:0;for(let E=1;E<=w;E++){const I=(E-1)*d+1,M=(this._bracketPairGuideOptions.highlightActiveIndentation==="always"||v.length===0)&&r<=p&&p<=c&&E===o;m.push(...b.takeWhile(x=>x.visibleColumn!0)||[])}return l}render(n,t){if(!this._renderResult)return"";const a=t-n;return a<0||a>=this._renderResult.length?"":this._renderResult[a]}}e.IndentGuidesOverlay=C;function s(i){if(!(i&&i.isTransparent()))return i}(0,y.registerThemingParticipant)((i,n)=>{const t=[{bracketColor:k.editorBracketHighlightingForeground1,guideColor:k.editorBracketPairGuideBackground1,guideColorActive:k.editorBracketPairGuideActiveBackground1},{bracketColor:k.editorBracketHighlightingForeground2,guideColor:k.editorBracketPairGuideBackground2,guideColorActive:k.editorBracketPairGuideActiveBackground2},{bracketColor:k.editorBracketHighlightingForeground3,guideColor:k.editorBracketPairGuideBackground3,guideColorActive:k.editorBracketPairGuideActiveBackground3},{bracketColor:k.editorBracketHighlightingForeground4,guideColor:k.editorBracketPairGuideBackground4,guideColorActive:k.editorBracketPairGuideActiveBackground4},{bracketColor:k.editorBracketHighlightingForeground5,guideColor:k.editorBracketPairGuideBackground5,guideColorActive:k.editorBracketPairGuideActiveBackground5},{bracketColor:k.editorBracketHighlightingForeground6,guideColor:k.editorBracketPairGuideBackground6,guideColorActive:k.editorBracketPairGuideActiveBackground6}],a=new _.BracketPairGuidesClassNames,u=[{indentColor:k.editorIndentGuide1,indentColorActive:k.editorActiveIndentGuide1},{indentColor:k.editorIndentGuide2,indentColorActive:k.editorActiveIndentGuide2},{indentColor:k.editorIndentGuide3,indentColorActive:k.editorActiveIndentGuide3},{indentColor:k.editorIndentGuide4,indentColorActive:k.editorActiveIndentGuide4},{indentColor:k.editorIndentGuide5,indentColorActive:k.editorActiveIndentGuide5},{indentColor:k.editorIndentGuide6,indentColorActive:k.editorActiveIndentGuide6}],h=t.map(c=>{var o,d;const l=i.getColor(c.bracketColor),p=i.getColor(c.guideColor),m=i.getColor(c.guideColorActive),v=s((o=s(p))!==null&&o!==void 0?o:l?.transparent(.3)),b=s((d=s(m))!==null&&d!==void 0?d:l);if(!(!v||!b))return{guideColor:v,guideColorActive:b}}).filter(f.isDefined),r=u.map(c=>{const o=i.getColor(c.indentColor),d=i.getColor(c.indentColorActive),l=s(o),p=s(d);if(!(!l||!p))return{indentColor:l,indentColorActive:p}}).filter(f.isDefined);if(h.length>0){for(let c=0;c<30;c++){const o=h[c%h.length];n.addRule(`.monaco-editor .${a.getInlineClassNameOfLevel(c).replace(/ /g,".")} { --guide-color: ${o.guideColor}; --guide-color-active: ${o.guideColorActive}; }`)}n.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),n.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),n.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),n.addRule(`.monaco-editor .vertical.${a.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),n.addRule(`.monaco-editor .horizontal-top.${a.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),n.addRule(`.monaco-editor .horizontal-bottom.${a.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let c=0;c<30;c++){const o=r[c%r.length];n.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${c} { --indent-color: ${o.indentColor}; --indent-color-active: ${o.indentColorActive}; }`)}n.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),n.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}})}),define(ne[358],se([1,0,17,112,12,23,80,420]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineNumbersOverlay=void 0;class f extends k.DynamicViewOverlay{constructor(g){super(),this._context=g,this._readConfig(),this._lastCursorModelPosition=new y.Position(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const g=this._context.configuration.options;this._lineHeight=g.get(65);const C=g.get(66);this._renderLineNumbers=C.renderType,this._renderCustomLineNumbers=C.renderFn,this._renderFinalNewline=g.get(93);const s=g.get(142);this._lineNumbersLeft=s.lineNumbersLeft,this._lineNumbersWidth=s.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(g){return this._readConfig(),!0}onCursorStateChanged(g){const C=g.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(C);let s=!1;return this._activeLineNumber!==C.lineNumber&&(this._activeLineNumber=C.lineNumber,s=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(s=!0),s}onFlushed(g){return!0}onLinesChanged(g){return!0}onLinesDeleted(g){return!0}onLinesInserted(g){return!0}onScrollChanged(g){return g.scrollTopChanged}onZonesChanged(g){return!0}_getLineRenderLineNumber(g){const C=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new y.Position(g,1));if(C.column!==1)return"";const s=C.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(s);if(this._renderLineNumbers===2){const i=Math.abs(this._lastCursorModelPosition.lineNumber-s);return i===0?''+s+"":String(i)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===s||s%10===0?String(s):"":String(s)}prepareRender(g){if(this._renderLineNumbers===0){this._renderResult=null;return}const C=L.isLinux?this._lineHeight%2===0?" lh-even":" lh-odd":"",s=g.visibleRange.startLineNumber,i=g.visibleRange.endLineNumber,n=this._context.viewModel.getLineCount(),t=[];for(let a=s;a<=i;a++){const u=a-s,h=this._getLineRenderLineNumber(a);if(!h){t[u]="";continue}let r="";if(a===n&&this._context.viewModel.getLineLength(a)===0){if(this._renderFinalNewline==="off"){t[u]="";continue}this._renderFinalNewline==="dimmed"&&(r=" dimmed-line-number")}a===this._activeLineNumber&&(r=" active-line-number"),t[u]=`
    ${h}
    `}this._renderResult=t}render(g,C){if(!this._renderResult)return"";const s=C-g;return s<0||s>=this._renderResult.length?"":this._renderResult[s]}}e.LineNumbersOverlay=f,f.CLASS_NAME="line-numbers",(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(S.editorLineNumbers),s=_.getColor(S.editorDimmedLineNumber);s?g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${s}; }`):C&&g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${C.transparent(.4)}; }`)})}),define(ne[847],se([1,0,601,52,35,17,11,59,185,273,53,358,289,36,146,12,5,24,173,29,38,263,34,414]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaHandler=void 0;class p{constructor(E,I,M,P,x){this._context=E,this.modelLineNumber=I,this.distanceToModelLineStart=M,this.widthOfHiddenLineTextBefore=P,this.distanceToModelLineEnd=x,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(E){const I=new a.Position(this.modelLineNumber,this.distanceToModelLineStart+1),M=new a.Position(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(I),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(M),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=E.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=E.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(E){return this._previousPresentation||(E?this._previousPresentation=E:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const m=k.isFirefox;let v=class extends C.ViewPart{constructor(E,I,M,P){super(E),this._keybindingService=P,this._primaryCursorPosition=new a.Position(1,1),this._primaryCursorVisibleRange=null,this._viewController=I,this._visibleRangeProvider=M,this._scrollLeft=0,this._scrollTop=0;const x=this._context.configuration.options,T=x.get(142);this._setAccessibilityOptions(x),this._contentLeft=T.contentLeft,this._contentWidth=T.contentWidth,this._contentHeight=T.height,this._fontInfo=x.get(49),this._lineHeight=x.get(65),this._emptySelectionClipboard=x.get(36),this._copyWithSyntaxHighlighting=x.get(24),this._visibleTextArea=null,this._selections=[new h.Selection(1,1,1,1)],this._modelSelections=[new h.Selection(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,y.createFastDomNode)(document.createElement("textarea")),C.PartFingerprints.write(this.textArea,6),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:A}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${A*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(x)),this.textArea.setAttribute("aria-required",x.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(x.get(122))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",L.localize(0,null)),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",x.get(89)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,y.createFastDomNode)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const N={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:W=>this._context.viewModel.getLineMaxColumn(W),getValueInRange:(W,U)=>this._context.viewModel.getValueInRange(W,U),getValueLengthInRange:(W,U)=>this._context.viewModel.getValueLengthInRange(W,U),modifyPosition:(W,U)=>this._context.viewModel.modifyPosition(W,U)},F={getDataToCopy:()=>{const W=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,D.isWindows),U=this._context.viewModel.model.getEOL(),j=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),R=Array.isArray(W)?W:null,K=Array.isArray(W)?W.join(U):W;let G,Z=null;if(_.CopyOptions.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&K.length<65536){const J=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);J&&(G=J.html,Z=J.mode)}return{isFromEmptySelection:j,multicursorText:R,text:K,html:G,mode:Z}},getScreenReaderContent:()=>{if(this._accessibilitySupport===1){const W=this._selections[0];if(D.isMacintosh&&W.isEmpty()){const j=W.getStartPosition();let R=this._getWordBeforePosition(j);if(R.length===0&&(R=this._getCharacterBeforePosition(j)),R.length>0)return new g.TextAreaState(R,R.length,R.length,u.Range.fromPositions(j),0)}const U=500;if(D.isMacintosh&&!W.isEmpty()&&N.getValueLengthInRange(W,0)0)return new g.TextAreaState(j,R,R,u.Range.fromPositions(U),0)}return g.TextAreaState.EMPTY}return g.PagedScreenReaderStrategy.fromEditorSelection(N,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(W,U,j)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(W,U,j)},O=this._register(new _.TextAreaWrapper(this.textArea.domNode));this._textAreaInput=this._register(new _.TextAreaInput(F,O,D.OS,{isAndroid:k.isAndroid,isChrome:k.isChrome,isFirefox:k.isFirefox,isSafari:k.isSafari})),this._register(this._textAreaInput.onKeyDown(W=>{this._viewController.emitKeyDown(W)})),this._register(this._textAreaInput.onKeyUp(W=>{this._viewController.emitKeyUp(W)})),this._register(this._textAreaInput.onPaste(W=>{let U=!1,j=null,R=null;W.metadata&&(U=this._emptySelectionClipboard&&!!W.metadata.isFromEmptySelection,j=typeof W.metadata.multicursorText<"u"?W.metadata.multicursorText:null,R=W.metadata.mode),this._viewController.paste(W.text,U,j,R)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(W=>{W.replacePrevCharCnt||W.replaceNextCharCnt||W.positionDelta?(g._debugComposition&&console.log(` => compositionType: <<${W.text}>>, ${W.replacePrevCharCnt}, ${W.replaceNextCharCnt}, ${W.positionDelta}`),this._viewController.compositionType(W.text,W.replacePrevCharCnt,W.replaceNextCharCnt,W.positionDelta)):(g._debugComposition&&console.log(` => type: <<${W.text}>>`),this._viewController.type(W.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(W=>{this._viewController.setSelection(W)})),this._register(this._textAreaInput.onCompositionStart(W=>{const U=this.textArea.domNode,j=this._modelSelections[0],{distanceToModelLineStart:R,widthOfHiddenTextBefore:K}=(()=>{const Z=U.value.substring(0,Math.min(U.selectionStart,U.selectionEnd)),J=Z.lastIndexOf(` -`),X=Z.substring(J+1),H=X.lastIndexOf(" "),B=X.length-H-1,V=j.getStartPosition(),Y=Math.min(V.column-1,B),ie=V.column-1-Y,ae=X.substring(0,X.length-Y),{tabSize:ce}=this._context.viewModel.model.getOptions(),de=b(ae,this._fontInfo,ce);return{distanceToModelLineStart:ie,widthOfHiddenTextBefore:de}})(),{distanceToModelLineEnd:G}=(()=>{const Z=U.value.substring(Math.max(U.selectionStart,U.selectionEnd)),J=Z.indexOf(` -`),X=J===-1?Z:Z.substring(0,J),H=X.indexOf(" "),B=H===-1?X.length:X.length-H-1,V=j.getEndPosition(),Y=Math.min(this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column,B);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column-Y}})();this._context.viewModel.revealRange("keyboard",!0,u.Range.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new p(this._context,j.startLineNumber,R,K,G),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(W=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(d.IME.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(E){this._textAreaInput.writeScreenReaderContent(E)}dispose(){super.dispose()}_getAndroidWordAtPosition(E){const I='`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',M=this._context.viewModel.getLineContent(E.lineNumber),P=(0,t.getMapForWordSeparators)(I);let x=!0,T=E.column,A=!0,N=E.column,F=0;for(;F<50&&(x||A);){if(x&&T<=1&&(x=!1),x){const O=M.charCodeAt(T-2);P.get(O)!==0?x=!1:T--}if(A&&N>M.length&&(A=!1),A){const O=M.charCodeAt(N-1);P.get(O)!==0?A=!1:N++}F++}return[M.substring(T-1,N-1),E.column-T]}_getWordBeforePosition(E){const I=this._context.viewModel.getLineContent(E.lineNumber),M=(0,t.getMapForWordSeparators)(this._context.configuration.options.get(128));let P=E.column,x=0;for(;P>1;){const T=I.charCodeAt(P-2);if(M.get(T)!==0||x>50)return I.substring(P-1,E.column-1);x++,P--}return I.substring(0,E.column-1)}_getCharacterBeforePosition(E){if(E.column>1){const M=this._context.viewModel.getLineContent(E.lineNumber).charAt(E.column-2);if(!S.isHighSurrogate(M.charCodeAt(0)))return M}return""}_getAriaLabel(E){var I,M,P;if(E.get(2)===1){const T=(I=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))===null||I===void 0?void 0:I.getAriaLabel(),A=(M=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))===null||M===void 0?void 0:M.getAriaLabel(),N=(P=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))===null||P===void 0?void 0:P.getAriaLabel(),F=L.localize(1,null);return T?L.localize(2,null,F,T):A?L.localize(3,null,F,A):N?L.localize(4,null,F,N):F}return E.get(4)}_setAccessibilityOptions(E){this._accessibilitySupport=E.get(2);const I=E.get(3);this._accessibilitySupport===2&&I===n.EditorOptions.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=I;const P=E.get(142).wrappingColumn;if(P!==-1&&this._accessibilitySupport!==1){const x=E.get(49);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(P*x.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=m?0:1}onConfigurationChanged(E){const I=this._context.configuration.options,M=I.get(142);this._setAccessibilityOptions(I),this._contentLeft=M.contentLeft,this._contentWidth=M.contentWidth,this._contentHeight=M.height,this._fontInfo=I.get(49),this._lineHeight=I.get(65),this._emptySelectionClipboard=I.get(36),this._copyWithSyntaxHighlighting=I.get(24),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:P}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${P*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(I)),this.textArea.setAttribute("aria-required",I.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(I.get(122))),(E.hasChanged(33)||E.hasChanged(89))&&this._ensureReadOnlyAttribute(),E.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(E){return this._selections=E.selections.slice(0),this._modelSelections=E.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(E){return!0}onFlushed(E){return!0}onLinesChanged(E){return!0}onLinesDeleted(E){return!0}onLinesInserted(E){return!0}onScrollChanged(E){return this._scrollLeft=E.scrollLeft,this._scrollTop=E.scrollTop,!0}onZonesChanged(E){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(E){E.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",E.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),E.role&&this.textArea.setAttribute("role",E.role)}_ensureReadOnlyAttribute(){const E=this._context.configuration.options;!d.IME.enabled||E.get(33)&&E.get(89)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(E){var I;this._primaryCursorPosition=new a.Position(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=E.visibleRangeForPosition(this._primaryCursorPosition),(I=this._visibleTextArea)===null||I===void 0||I.prepareRender(E)}render(E){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){var E;if(this._visibleTextArea){const P=this._visibleTextArea.visibleTextareaStart,x=this._visibleTextArea.visibleTextareaEnd,T=this._visibleTextArea.startPosition,A=this._visibleTextArea.endPosition;if(T&&A&&P&&x&&x.left>=this._scrollLeft&&P.left<=this._scrollLeft+this._contentWidth){const N=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,F=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let O=this._visibleTextArea.widthOfHiddenLineTextBefore,W=this._contentLeft+P.left-this._scrollLeft,U=x.left-P.left+1;if(Wthis._contentWidth&&(U=this._contentWidth);const j=this._context.viewModel.getViewLineData(T.lineNumber),R=j.tokens.findTokenIndexAtOffset(T.column-1),K=j.tokens.findTokenIndexAtOffset(A.column-1),G=R===K,Z=this._visibleTextArea.definePresentation(G?j.tokens.getPresentation(R):null);this.textArea.domNode.scrollTop=F*this._lineHeight,this.textArea.domNode.scrollLeft=O,this._doRender({lastRenderPosition:null,top:N,left:W,width:U,height:this._lineHeight,useCover:!1,color:(c.TokenizationRegistry.getColorMap()||[])[Z.foreground],italic:Z.italic,bold:Z.bold,underline:Z.underline,strikethrough:Z.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const I=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(Ithis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const M=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(M<0||M>this._contentHeight){this._renderAtTopLeft();return}if(D.isMacintosh){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const P=(E=this._textAreaInput.textAreaState.newlineCountBeforeSelection)!==null&&E!==void 0?E:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=P*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:m?0:1,useCover:!1})}_newlinecount(E){let I=0,M=-1;do{if(M=E.indexOf(` -`,M+1),M===-1)break;I++}while(!0);return I}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:m?0:1,useCover:!0})}_doRender(E){this._lastRenderPosition=E.lastRenderPosition;const I=this.textArea,M=this.textAreaCover;(0,f.applyFontInfo)(I,this._fontInfo),I.setTop(E.top),I.setLeft(E.left),I.setWidth(E.width),I.setHeight(E.height),I.setColor(E.color?o.Color.Format.CSS.formatHex(E.color):""),I.setFontStyle(E.italic?"italic":""),E.bold&&I.setFontWeight("bold"),I.setTextDecoration(`${E.underline?" underline":""}${E.strikethrough?" line-through":""}`),M.setTop(E.useCover?E.top:0),M.setLeft(E.useCover?E.left:0),M.setWidth(E.useCover?E.width:0),M.setHeight(E.useCover?E.height:0);const P=this._context.configuration.options;P.get(56)?M.setClassName("monaco-editor-background textAreaCover "+i.Margin.OUTER_CLASS_NAME):P.get(66).renderType!==0?M.setClassName("monaco-editor-background textAreaCover "+s.LineNumbersOverlay.CLASS_NAME):M.setClassName("monaco-editor-background textAreaCover")}};e.TextAreaHandler=v,e.TextAreaHandler=v=ke([fe(3,l.IKeybindingService)],v);function b(w,E,I){if(w.length===0)return 0;const M=document.createElement("div");M.style.position="absolute",M.style.top="-50000px",M.style.width="50000px";const P=document.createElement("span");(0,f.applyFontInfo)(P,E),P.style.whiteSpace="pre",P.style.tabSize=`${I*E.spaceWidth}px`,P.append(w),M.appendChild(P),document.body.appendChild(M);const x=P.offsetWidth;return document.body.removeChild(M),x}}),define(ne[848],se([1,0,35,38,53,12,29,80,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DecorationsOverviewRuler=void 0;class g{constructor(i,n){const t=i.options;this.lineHeight=t.get(65),this.pixelRatio=t.get(140),this.overviewRulerLanes=t.get(81),this.renderBorder=t.get(80);const a=n.getColor(f.editorOverviewRulerBorder);this.borderColor=a?a.toString():null,this.hideCursor=t.get(58);const u=n.getColor(f.editorCursorForeground);this.cursorColor=u?u.transparent(.7).toString():null,this.themeType=n.type;const h=t.get(71),r=h.enabled,c=h.side,o=n.getColor(f.editorOverviewRulerBackground),d=S.TokenizationRegistry.getDefaultBackground();o?this.backgroundColor=o:r&&c==="right"?this.backgroundColor=d:this.backgroundColor=null;const p=t.get(142).overviewRuler;this.top=p.top,this.right=p.right,this.domWidth=p.width,this.domHeight=p.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[m,v]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=m,this.w=v}_initLanes(i,n,t){const a=n-i;if(t>=3){const u=Math.floor(a/3),h=Math.floor(a/3),r=a-u-h,c=i,o=c+u,d=c+u+r;return[[0,c,o,c,d,c,o,c],[0,u,r,u+r,h,u+r+h,r+h,u+r+h]]}else if(t===2){const u=Math.floor(a/2),h=a-u,r=i,c=r+u;return[[0,r,r,r,c,r,r,r],[0,u,u,u,h,u+h,u+h,u+h]]}else{const u=i,h=a;return[[0,u,u,u,u,u,u,u],[0,h,h,h,h,h,h,h]]}}equals(i){return this.lineHeight===i.lineHeight&&this.pixelRatio===i.pixelRatio&&this.overviewRulerLanes===i.overviewRulerLanes&&this.renderBorder===i.renderBorder&&this.borderColor===i.borderColor&&this.hideCursor===i.hideCursor&&this.cursorColor===i.cursorColor&&this.themeType===i.themeType&&k.Color.equals(this.backgroundColor,i.backgroundColor)&&this.top===i.top&&this.right===i.right&&this.domWidth===i.domWidth&&this.domHeight===i.domHeight&&this.canvasWidth===i.canvasWidth&&this.canvasHeight===i.canvasHeight}}class C extends y.ViewPart{constructor(i){super(i),this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=S.TokenizationRegistry.onDidChange(n=>{n.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(i){const n=new g(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(n)?!1:(this._settings=n,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,i&&this._render(),!0)}onConfigurationChanged(i){return this._updateSettings(!1)}onCursorStateChanged(i){this._cursorPositions=[];for(let n=0,t=i.selections.length;nt&&(U=t-d),F=U-d,O=U+d}F>M+1||T!==E?(P!==0&&l.fillRect(p[E],I,m[E],M-I),E=T,I=F,M=O):O>M&&(M=O)}l.fillRect(p[E],I,m[E],M-I)}if(!this._settings.hideCursor&&this._settings.cursorColor){const v=2*this._settings.pixelRatio|0,b=v/2|0,w=this._settings.x[7],E=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let I=-100,M=-100;for(let P=0,x=this._cursorPositions.length;Pt&&(A=t-b);const N=A-b,F=N+v;N>M+1?(P!==0&&l.fillRect(w,I,E,M-I),I=N,M=F):F>M&&(M=F)}l.fillRect(w,I,E,M-I)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(n,0),l.stroke())}}e.DecorationsOverviewRuler=C}),define(ne[849],se([1,0,35,13,53,620,36,80,23,88,430]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursors=void 0;class C extends y.ViewPart{constructor(i){super(i);const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new D.ViewCursor(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new k.TimeoutTimer,this._cursorFlatBlinkInterval=new k.IntervalTimer,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(i){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(i){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(i){const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(i);for(let t=0,a=this._secondaryCursors.length;tn.length){const u=this._secondaryCursors.length-n.length;for(let h=0;h{for(let a=0,u=i.ranges.length;a{this._isVisible?this._hide():this._show()},C.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},C.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let i="cursors-layer";switch(this._selectionIsEmpty||(i+=" has-selection"),this._cursorStyle){case S.TextEditorCursorStyle.Line:i+=" cursor-line-style";break;case S.TextEditorCursorStyle.Block:i+=" cursor-block-style";break;case S.TextEditorCursorStyle.Underline:i+=" cursor-underline-style";break;case S.TextEditorCursorStyle.LineThin:i+=" cursor-line-thin-style";break;case S.TextEditorCursorStyle.BlockOutline:i+=" cursor-block-outline-style";break;case S.TextEditorCursorStyle.UnderlineThin:i+=" cursor-underline-thin-style";break;default:i+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:i+=" cursor-blink";break;case 2:i+=" cursor-smooth";break;case 3:i+=" cursor-phase";break;case 4:i+=" cursor-expand";break;case 5:i+=" cursor-solid";break;default:i+=" cursor-solid"}else i+=" cursor-solid";return(this._cursorSmoothCaretAnimation==="on"||this._cursorSmoothCaretAnimation==="explicit")&&(i+=" cursor-smooth-caret-animation"),i}_show(){this._primaryCursor.show();for(let i=0,n=this._secondaryCursors.length;i{const n=s.getColor(f.editorCursorForeground);if(n){let t=s.getColor(f.editorCursorBackground);t||(t=n.opposite()),i.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${t}; }`),(0,g.isHighContrast)(s.type)&&i.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${t}; border-right: 1px solid ${t}; }`)}})}),define(ne[850],se([1,0,112,11,95,12,80,431]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WhitespaceOverlay=void 0;class f extends L.DynamicViewOverlay{constructor(C){super(),this._context=C,this._options=new _(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(C){const s=new _(this._context.configuration);return this._options.equals(s)?C.hasChanged(142):(this._options=s,!0)}onCursorStateChanged(C){return this._selection=C.selections,this._options.renderWhitespace==="selection"}onDecorationsChanged(C){return!0}onFlushed(C){return!0}onLinesChanged(C){return!0}onLinesDeleted(C){return!0}onLinesInserted(C){return!0}onScrollChanged(C){return C.scrollTopChanged}onZonesChanged(C){return!0}prepareRender(C){if(this._options.renderWhitespace==="none"){this._renderResult=null;return}const s=C.visibleRange.startLineNumber,n=C.visibleRange.endLineNumber-s+1,t=new Array(n);for(let u=0;uu)continue;const l=d.startLineNumber===u?d.startColumn:r.minColumn,p=d.endLineNumber===u?d.endColumn:r.maxColumn;l=N.endOffset&&(A++,N=i&&i[A]),W!==9&&W!==32||d&&!P&&O<=T)continue;if(o&&O>=x&&O<=T&&W===32){const j=O-1>=0?u.charCodeAt(O-1):0,R=O+1=0?u.charCodeAt(O-1):0;if(W===32&&j!==32&&j!==9)continue}if(i&&(!N||N.startOffset>O||N.endOffset<=O))continue;const U=C.visibleRangeForPosition(new D.Position(s,O+1));U&&(a?(F=Math.max(F,U.left),W===9?M+=this._renderArrow(l,v,U.left):M+=``):W===9?M+=`
    ${I?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:M+=`
    ${String.fromCharCode(E)}
    `)}return a?(F=Math.round(F+v),``+M+""):M}_renderArrow(C,s,i){const n=s/7,t=s,a=C/2,u=i,h={x:0,y:n/2},r={x:100/125*t,y:h.y},c={x:r.x-.2*r.x,y:r.y+.2*r.x},o={x:c.x+.1*r.x,y:c.y+.1*r.x},d={x:o.x+.35*r.x,y:o.y-.35*r.x},l={x:d.x,y:-d.y},p={x:o.x,y:-o.y},m={x:c.x,y:-c.y},v={x:r.x,y:-r.y},b={x:h.x,y:-h.y};return``}render(C,s){if(!this._renderResult)return"";const i=s-C;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}e.WhitespaceOverlay=f;class _{constructor(C){const s=C.options,i=s.get(49),n=s.get(37);n==="off"?(this.renderWhitespace="none",this.renderWithSVG=!1):n==="svg"?(this.renderWhitespace=s.get(97),this.renderWithSVG=!0):(this.renderWhitespace=s.get(97),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=s.get(65),this.stopRenderingLineAfter=s.get(115)}equals(C){return this.renderWhitespace===C.renderWhitespace&&this.renderWithSVG===C.renderWithSVG&&this.spaceWidth===C.spaceWidth&&this.middotWidth===C.middotWidth&&this.wsmiddotWidth===C.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===C.canUseHalfwidthRightwardsArrow&&this.lineHeight===C.lineHeight&&this.stopRenderingLineAfter===C.stopRenderingLineAfter}}}),define(ne[851],se([1,0,7,24,5,35,9,837,847,793,272,592,53,589,845,522,842,846,358,838,523,289,524,821,525,848,534,526,527,843,849,528,12,144,535,531,150,23,355,521,260,850,210,48,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;let J=class extends F.ViewEventHandler{constructor(B,V,Y,ie,ae,ce,de){super(),this._instantiationService=de,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new k.Selection(1,1,1,1)],this._renderAnimationFrame=null;const he=new g.ViewController(V,ie,ae,B);this._context=new A.ViewContext(V,Y,ie),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(_.TextAreaHandler,this._context,he,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,D.createFastDomNode)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,D.createFastDomNode)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,D.createFastDomNode)(document.createElement("div")),i.PartFingerprints.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new u.EditorScrollbar(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new c.ViewLines(this._context,this._linesContent),this._viewZones=new P.ViewZones(this._context),this._viewParts.push(this._viewZones);const ue=new v.DecorationsOverviewRuler(this._context);this._viewParts.push(ue);const te=new E.ScrollDecorationViewPart(this._context);this._viewParts.push(te);const q=new s.ContentViewOverlays(this._context);this._viewParts.push(q),q.addDynamicOverlay(new t.CurrentLineHighlightOverlay(this._context)),q.addDynamicOverlay(new I.SelectionsOverlay(this._context)),q.addDynamicOverlay(new h.IndentGuidesOverlay(this._context)),q.addDynamicOverlay(new a.DecorationsOverlay(this._context)),q.addDynamicOverlay(new R.WhitespaceOverlay(this._context));const z=new s.MarginViewOverlays(this._context);this._viewParts.push(z),z.addDynamicOverlay(new t.CurrentLineMarginHighlightOverlay(this._context)),z.addDynamicOverlay(new l.MarginViewLineDecorationsOverlay(this._context)),z.addDynamicOverlay(new o.LinesDecorationsOverlay(this._context)),z.addDynamicOverlay(new r.LineNumbersOverlay(this._context)),this._glyphMarginWidgets=new K.GlyphMarginWidgets(this._context),this._viewParts.push(this._glyphMarginWidgets);const ee=new d.Margin(this._context);ee.getDomNode().appendChild(this._viewZones.marginDomNode),ee.getDomNode().appendChild(z.getDomNode()),ee.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(ee),this._contentWidgets=new n.ViewContentWidgets(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new M.ViewCursors(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new m.ViewOverlayWidgets(this._context),this._viewParts.push(this._overlayWidgets);const $=new w.Rulers(this._context);this._viewParts.push($);const re=new U.BlockDecorations(this._context);this._viewParts.push(re);const oe=new p.Minimap(this._context);if(this._viewParts.push(oe),ue){const ge=this._scrollbar.getOverviewRulerLayoutInfo();ge.parent.insertBefore(ue.getDomNode(),ge.insertBefore)}this._linesContent.appendChild(q.getDomNode()),this._linesContent.appendChild($.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(ee.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(te.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(oe.getDomNode()),this._overflowGuardContainer.appendChild(re.domNode),this.domNode.appendChild(this._overflowGuardContainer),ce?ce.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new f.PointerHandler(this._context,he,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._shouldRecomputeGlyphMarginLanes&&(this._shouldRecomputeGlyphMarginLanes=!1,this._context.configuration.setGlyphMarginDecorationLaneCount(this._computeGlyphMarginLaneCount())),j.inputLatency.onRenderStart(),this._renderNow()}_computeGlyphMarginLaneCount(){const B=this._context.viewModel.model;let V=[];V=V.concat(B.getAllMarginDecorations().map(ae=>{var ce,de;const he=(de=(ce=ae.options.glyphMargin)===null||ce===void 0?void 0:ce.position)!==null&&de!==void 0?de:G.GlyphMarginLane.Left;return{range:ae.range,lane:he}})),V=V.concat(this._glyphMarginWidgets.getWidgets().map(ae=>({range:B.validateRange(ae.preference.range),lane:ae.preference.lane}))),V.sort((ae,ce)=>y.Range.compareRangesUsingStarts(ae.range,ce.range));let Y=null,ie=null;for(const ae of V)if(ae.lane===G.GlyphMarginLane.Left&&(!Y||y.Range.compareRangesUsingEnds(Y,ae.range)<0)&&(Y=ae.range),ae.lane===G.GlyphMarginLane.Right&&(!ie||y.Range.compareRangesUsingEnds(ie,ae.range)<0)&&(ie=ae.range),Y&&ie){if(Y.endLineNumber{this.focus()},dispatchTextAreaEvent:B=>{this._textAreaHandler.textArea.domNode.dispatchEvent(B)},getLastRenderData:()=>{const B=this._viewCursors.getLastRenderData()||[],V=this._textAreaHandler.getLastRenderData();return new W.PointerHandlerLastRenderData(B,V)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:B=>this._viewZones.shouldSuppressMouseDownOnViewZone(B),shouldSuppressMouseDownOnWidget:B=>this._contentWidgets.shouldSuppressMouseDownOnWidget(B),getPositionFromDOMInfo:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(B,V)),visibleRangeForPosition:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new x.Position(B,V))),getLineWidth:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(B))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(B))}}_applyLayout(){const V=this._context.configuration.options.get(142);this.domNode.setWidth(V.width),this.domNode.setHeight(V.height),this._overflowGuardContainer.setWidth(V.width),this._overflowGuardContainer.setHeight(V.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const B=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(139)+" "+(0,O.getThemeTypeSelector)(this._context.theme.type)+B}handleEvents(B){super.handleEvents(B),this._scheduleRender()}onConfigurationChanged(B){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(B){return this._selections=B.selections,!1}onDecorationsChanged(B){return B.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(B){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(B){return this._context.theme.update(B.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const B of this._viewParts)B.dispose();super.dispose()}_scheduleRender(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=L.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){X(()=>this._actualRender())}_getViewPartsToRender(){const B=[];let V=0;for(const Y of this._viewParts)Y.shouldRender()&&(B[V++]=Y);return B}_actualRender(){if(!L.isInDOM(this.domNode.domNode))return;let B=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&B.length===0)return;const V=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(V.startLineNumber,V.endLineNumber,V.centeredLineNumber);const Y=new N.ViewportData(this._selections,V,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(Y),this._viewLines.shouldRender()&&(this._viewLines.renderText(Y),this._viewLines.onDidRender(),B=this._getViewPartsToRender());const ie=new T.RenderingContext(this._context.viewLayout,Y,this._viewLines);for(const ae of B)ae.prepareRender(ie);for(const ae of B)ae.render(ie),ae.onDidRender()}delegateVerticalScrollbarPointerDown(B){this._scrollbar.delegateVerticalScrollbarPointerDown(B)}delegateScrollFromMouseWheelEvent(B){this._scrollbar.delegateScrollFromMouseWheelEvent(B)}restoreState(B){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:B.scrollTop,scrollLeft:B.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(B,V){const Y=this._context.viewModel.model.validatePosition({lineNumber:B,column:V}),ie=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(Y);this._flushAccumulatedAndRenderNow();const ae=this._viewLines.visibleRangeForPosition(new x.Position(ie.lineNumber,ie.column));return ae?ae.left:-1}getTargetAtClientPoint(B,V){const Y=this._pointerHandler.getTargetAtClientPoint(B,V);return Y?C.ViewUserInputEvents.convertViewToModelMouseTarget(Y,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(B){return new b.OverviewRuler(this._context,B)}change(B){this._viewZones.changeViewZones(B),this._scheduleRender()}render(B,V){if(V){this._viewLines.forceShouldRender();for(const Y of this._viewParts)Y.forceShouldRender()}B?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(B){this._textAreaHandler.writeScreenReaderContent(B)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(B){this._textAreaHandler.setAriaOptions(B)}addContentWidget(B){this._contentWidgets.addWidget(B.widget),this.layoutContentWidget(B),this._scheduleRender()}layoutContentWidget(B){var V,Y,ie,ae,ce,de,he,ue;this._contentWidgets.setWidgetPosition(B.widget,(Y=(V=B.position)===null||V===void 0?void 0:V.position)!==null&&Y!==void 0?Y:null,(ae=(ie=B.position)===null||ie===void 0?void 0:ie.secondaryPosition)!==null&&ae!==void 0?ae:null,(de=(ce=B.position)===null||ce===void 0?void 0:ce.preference)!==null&&de!==void 0?de:null,(ue=(he=B.position)===null||he===void 0?void 0:he.positionAffinity)!==null&&ue!==void 0?ue:null),this._scheduleRender()}removeContentWidget(B){this._contentWidgets.removeWidget(B.widget),this._scheduleRender()}addOverlayWidget(B){this._overlayWidgets.addWidget(B.widget),this.layoutOverlayWidget(B),this._scheduleRender()}layoutOverlayWidget(B){const V=B.position?B.position.preference:null;this._overlayWidgets.setWidgetPosition(B.widget,V)&&this._scheduleRender()}removeOverlayWidget(B){this._overlayWidgets.removeWidget(B.widget),this._scheduleRender()}addGlyphMarginWidget(B){this._glyphMarginWidgets.addWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(B){const V=B.position;this._glyphMarginWidgets.setWidgetPosition(B.widget,V)&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(B){this._glyphMarginWidgets.removeWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};e.View=J,e.View=J=ke([fe(6,Z.IInstantiationService)],J);function X(H){try{return H()}catch(B){(0,S.onUnexpectedError)(B)}}}),define(ne[852],se([1,0,6,2,5,80,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorizedBracketPairsDecorationProvider=void 0;class f extends k.Disposable{constructor(C){super(),this.textModel=C,this.colorProvider=new _,this.onDidChangeEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=C.getOptions().bracketPairColorizationOptions,this._register(C.bracketPairs.onDidChange(s=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(C){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(C,s,i,n){return n?[]:s===void 0?[]:this.colorizationOptions.enabled?this.textModel.bracketPairs.getBracketsInRange(C,!0).map(a=>({id:`bracket${a.range.toString()}-${a.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(a,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:a.range})).toArray():[]}getAllDecorations(C,s){return C===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new y.Range(1,1,this.textModel.getLineCount(),1),C,s):[]}}e.ColorizedBracketPairsDecorationProvider=f;class _{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(C,s){return C.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(s?C.nestingLevelOfEqualBracketType:C.nestingLevel)}getInlineClassNameOfLevel(C){return`bracket-highlighting-${C%30}`}}(0,S.registerThemingParticipant)((g,C)=>{const s=[D.editorBracketHighlightingForeground1,D.editorBracketHighlightingForeground2,D.editorBracketHighlightingForeground3,D.editorBracketHighlightingForeground4,D.editorBracketHighlightingForeground5,D.editorBracketHighlightingForeground6],i=new _;C.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${g.getColor(D.editorBracketHighlightingUnexpectedBracketForeground)}; }`);const n=s.map(t=>g.getColor(t)).filter(t=>!!t).filter(t=>!t.isTransparent());for(let t=0;t<30;t++){const a=n[t%n.length];C.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(t)} { color: ${a}; }`)}})}),define(ne[853],se([1,0,97,2,48,23,80,51,5,54,6,31,65]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsService=void 0;class n extends k.Disposable{constructor(u){super(),this.model=u,this._markersData=new Map,this._register((0,k.toDisposable)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(u,h){const r=[...this._markersData.keys()];this._markersData.clear();const c=this.model.deltaDecorations(r,h);for(let o=0;othis._onModelAdded(r)),this._register(u.onModelAdded(this._onModelAdded,this)),this._register(u.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(u=>u.dispose()),this._markerDecorations.clear()}getMarker(u,h){const r=this._markerDecorations.get(u);return r&&r.getMarker(h)||null}_handleMarkerChange(u){u.forEach(h=>{const r=this._markerDecorations.get(h);r&&this._updateDecorations(r)})}_onModelAdded(u){const h=new n(u);this._markerDecorations.set(u.uri,h),this._updateDecorations(h)}_onModelRemoved(u){var h;const r=this._markerDecorations.get(u.uri);r&&(r.dispose(),this._markerDecorations.delete(u.uri)),(u.uri.scheme===g.Schemas.inMemory||u.uri.scheme===g.Schemas.internal||u.uri.scheme===g.Schemas.vscode)&&((h=this._markerService)===null||h===void 0||h.read({resource:u.uri}).map(c=>c.owner).forEach(c=>this._markerService.remove(c,[u.uri])))}_updateDecorations(u){const h=this._markerService.read({resource:u.model.uri,take:500}),r=h.map(c=>({range:this._createDecorationRange(u.model,c),options:this._createDecorationOption(c)}));u.update(h,r)&&this._onDidChangeMarker.fire(u.model)}_createDecorationRange(u,h){let r=_.Range.lift(h);if(h.severity===L.MarkerSeverity.Hint&&!this._hasMarkerTag(h,1)&&!this._hasMarkerTag(h,2)&&(r=r.setEndPosition(r.startLineNumber,r.startColumn+2)),r=u.validateRange(r),r.isEmpty()){const c=u.getLineLastNonWhitespaceColumn(r.startLineNumber)||u.getLineMaxColumn(r.startLineNumber);if(c===1||r.endColumn>=c)return r;const o=u.getWordAtPosition(r.getStartPosition());o&&(r=new _.Range(r.startLineNumber,o.startColumn,r.endLineNumber,o.endColumn))}else if(h.endColumn===Number.MAX_VALUE&&h.startColumn===1&&r.startLineNumber===r.endLineNumber){const c=u.getLineFirstNonWhitespaceColumn(h.startLineNumber);c=0:!1}};e.MarkerDecorationsService=t,e.MarkerDecorationsService=t=ke([fe(0,f.IModelService),fe(1,L.IMarkerService)],t)}),define(ne[252],se([1,0,124,23,70,519,41]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMultilineTokens2=e.SemanticTokensProviderStyling=void 0;let f=class{constructor(i,n,t,a){this._legend=i,this._themeService=n,this._languageService=t,this._logService=a,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new C}getMetadata(i,n,t){const a=this._languageService.languageIdCodec.encodeLanguageId(t),u=this._hashTable.get(i,n,a);let h;if(u)h=u.metadata,this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${i} / ${n}: foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`);else{let r=this._legend.tokenTypes[i];const c=[];if(r){let o=n;for(let l=0;o>0&&l>1;o>0&&this._logService.getLevel()===y.LogLevel.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${n.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),c.push("not-in-legend"));const d=this._themeService.getColorTheme().getTokenStyleMetadata(r,c,t);if(typeof d>"u")h=2147483647;else{if(h=0,typeof d.italic<"u"){const l=(d.italic?1:0)<<11;h|=l|1}if(typeof d.bold<"u"){const l=(d.bold?2:0)<<11;h|=l|2}if(typeof d.underline<"u"){const l=(d.underline?4:0)<<11;h|=l|4}if(typeof d.strikethrough<"u"){const l=(d.strikethrough?8:0)<<11;h|=l|8}if(d.foreground){const l=d.foreground<<15;h|=l|16}h===0&&(h=2147483647)}}else this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${i} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),h=2147483647,r="not-in-legend";this._hashTable.add(i,n,a,h),this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${i} (${r}) / ${n} (${c.join(" ")}): foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`)}return h}warnOverlappingSemanticTokens(i,n){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${i}, column ${n}`))}warnInvalidLengthSemanticTokens(i,n){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,console.warn(`Semantic token with invalid length detected at lineNumber ${i}, column ${n}`))}warnInvalidEditStart(i,n,t,a,u){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,console.warn(`Invalid semantic tokens edit detected (previousResultId: ${i}, resultId: ${n}) at edit #${t}: The provided start offset ${a} is outside the previous data (length ${u}).`))}};e.SemanticTokensProviderStyling=f,e.SemanticTokensProviderStyling=f=ke([fe(1,k.IThemeService),fe(2,S.ILanguageService),fe(3,y.ILogService)],f);function _(s,i,n){const t=s.data,a=s.data.length/5|0,u=Math.max(Math.ceil(a/1024),400),h=[];let r=0,c=1,o=0;for(;rd&&t[5*I]===0;)I--;if(I-1===d){let M=l;for(;M+1T)i.warnOverlappingSemanticTokens(x,T+1);else{const W=i.getMetadata(F,O,n);W!==2147483647&&(v===0&&(v=x),p[m]=x-v,p[m+1]=T,p[m+2]=N,p[m+3]=W,m+=4,b=x,w=N)}c=x,o=T,r++}m!==p.length&&(p=p.subarray(0,m));const E=D.SparseMultilineTokens.create(v,p);h.push(E)}return h}e.toMultilineTokens2=_;class g{constructor(i,n,t,a){this.tokenTypeIndex=i,this.tokenModifierSet=n,this.languageId=t,this.metadata=a,this.next=null}}class C{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1=this._growCount){const u=this._elements;this._currentLengthIndex++,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1{this._caches=new WeakMap}))}getStyling(s){return this._caches.has(s)||this._caches.set(s,new S.SemanticTokensProviderStyling(s.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(s)}};e.SemanticTokensStylingService=g,e.SemanticTokensStylingService=g=ke([fe(0,y.IThemeService),fe(1,D.ILogService),fe(2,k.ILanguageService)],g),(0,_.registerSingleton)(f.ISemanticTokensStylingService,g,1)}),define(ne[359],se([1,0,99,2,177,48,80,23,49]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorNavigationQuickAccessProvider=void 0;class g{constructor(s){this.options=s,this.rangeHighlightDecorationId=void 0}provide(s,i){var n;const t=new k.DisposableStore;s.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;const a=t.add(new k.MutableDisposable);return a.value=this.doProvide(s,i),t.add(this.onDidActiveTextEditorControlChange(()=>{a.value=void 0,a.value=this.doProvide(s,i)})),t}doProvide(s,i){var n;const t=new k.DisposableStore,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){const u={editor:a},h=(0,y.getCodeEditor)(a);if(h){let r=(n=a.saveViewState())!==null&&n!==void 0?n:void 0;t.add(h.onDidChangeCursorPosition(()=>{var c;r=(c=a.saveViewState())!==null&&c!==void 0?c:void 0})),u.restoreViewState=()=>{r&&a===this.activeTextEditorControl&&a.restoreViewState(r)},t.add((0,L.once)(i.onCancellationRequested)(()=>{var c;return(c=u.restoreViewState)===null||c===void 0?void 0:c.call(u)}))}t.add((0,k.toDisposable)(()=>this.clearDecorations(a))),t.add(this.provideWithTextEditor(u,s,i))}else t.add(this.provideWithoutTextEditor(s,i));return t}canProvideWithTextEditor(s){return!0}gotoLocation({editor:s},i){s.setSelection(i.range),s.revealRangeInCenter(i.range,0),i.preserveFocus||s.focus();const n=s.getModel();n&&"getLineContent"in n&&(0,_.status)(`${n.getLineContent(i.range.startLineNumber)}`)}getModel(s){var i;return(0,y.isDiffEditor)(s)?(i=s.getModel())===null||i===void 0?void 0:i.modified:s.getModel()}addDecorations(s,i){s.changeDecorations(n=>{const t=[];this.rangeHighlightDecorationId&&(t.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),t.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const a=[{range:i,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:i,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerRangeHighlight),position:D.OverviewRulerLane.Full}}}],[u,h]=n.deltaDecorations(t,a);this.rangeHighlightDecorationId={rangeHighlightId:u,overviewRulerDecorationId:h}})}clearDecorations(s){const i=this.rangeHighlightDecorationId;i&&(s.changeDecorations(n=>{n.deltaDecorations([i.overviewRulerDecorationId,i.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}e.AbstractEditorNavigationQuickAccessProvider=g}),define(ne[855],se([1,0,2,177,359,691]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoLineQuickAccessProvider=void 0;class S extends y.AbstractEditorNavigationQuickAccessProvider{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(_){const g=(0,D.localize)(0,null);return _.items=[{label:g}],_.ariaLabel=g,L.Disposable.None}provideWithTextEditor(_,g,C){const s=_.editor,i=new L.DisposableStore;i.add(g.onDidAccept(a=>{const[u]=g.selectedItems;if(u){if(!this.isValidLineNumber(s,u.lineNumber))return;this.gotoLocation(_,{range:this.toRange(u.lineNumber,u.column),keyMods:g.keyMods,preserveFocus:a.inBackground}),a.inBackground||g.hide()}}));const n=()=>{const a=this.parsePosition(s,g.value.trim().substr(S.PREFIX.length)),u=this.getPickLabel(s,a.lineNumber,a.column);if(g.items=[{lineNumber:a.lineNumber,column:a.column,label:u}],g.ariaLabel=u,!this.isValidLineNumber(s,a.lineNumber)){this.clearDecorations(s);return}const h=this.toRange(a.lineNumber,a.column);s.revealRangeInCenter(h,0),this.addDecorations(s,h)};n(),i.add(g.onDidChangeValue(()=>n()));const t=(0,k.getCodeEditor)(s);return t&&t.getOptions().get(66).renderType===2&&(t.updateOptions({lineNumbers:"on"}),i.add((0,L.toDisposable)(()=>t.updateOptions({lineNumbers:"relative"})))),i}toRange(_=1,g=1){return{startLineNumber:_,startColumn:g,endLineNumber:_,endColumn:g}}parsePosition(_,g){const C=g.split(/,|:|#/).map(i=>parseInt(i,10)).filter(i=>!isNaN(i)),s=this.lineCount(_)+1;return{lineNumber:C[0]>0?C[0]:s+C[0],column:C[1]}}getPickLabel(_,g,C){if(this.isValidLineNumber(_,g))return this.isValidColumn(_,g,C)?(0,D.localize)(1,null,g,C):(0,D.localize)(2,null,g);const s=_.getPosition()||{lineNumber:1,column:1},i=this.lineCount(_);return i>1?(0,D.localize)(3,null,s.lineNumber,s.column,i):(0,D.localize)(4,null,s.lineNumber,s.column)}isValidLineNumber(_,g){return!g||typeof g!="number"?!1:g>0&&g<=this.lineCount(_)}isValidColumn(_,g,C){if(!C||typeof C!="number")return!1;const s=this.getModel(_);if(!s)return!1;const i={lineNumber:g,column:C};return s.validatePosition(i).equals(i)}lineCount(_){var g,C;return(C=(g=this.getModel(_))===null||g===void 0?void 0:g.getLineCount())!==null&&C!==void 0?C:0}}e.AbstractGotoLineQuickAccessProvider=S,S.PREFIX=":"}),define(ne[856],se([1,0,13,19,25,26,570,2,11,5,29,188,359,692,18,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoSymbolQuickAccessProvider=void 0;let h=u=class extends i.AbstractEditorNavigationQuickAccessProvider{constructor(d,l,p=Object.create(null)){super(p),this._languageFeaturesService=d,this._outlineModelService=l,this.options=p,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(d){return this.provideLabelPick(d,(0,n.localize)(0,null)),f.Disposable.None}provideWithTextEditor(d,l,p){const m=d.editor,v=this.getModel(m);return v?this._languageFeaturesService.documentSymbolProvider.has(v)?this.doProvideWithEditorSymbols(d,v,l,p):this.doProvideWithoutEditorSymbols(d,v,l,p):f.Disposable.None}doProvideWithoutEditorSymbols(d,l,p,m){const v=new f.DisposableStore;return this.provideLabelPick(p,(0,n.localize)(1,null)),we(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(l,v))||m.isCancellationRequested||v.add(this.doProvideWithEditorSymbols(d,l,p,m))}),v}provideLabelPick(d,l){d.items=[{label:l,index:0,kind:14}],d.ariaLabel=l}waitForLanguageSymbolRegistry(d,l){return we(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(d))return!0;const p=new L.DeferredPromise,m=l.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(d)&&(m.dispose(),p.complete(!0))}));return l.add((0,f.toDisposable)(()=>p.complete(!1))),p.p})}doProvideWithEditorSymbols(d,l,p,m){var v;const b=d.editor,w=new f.DisposableStore;w.add(p.onDidAccept(P=>{const[x]=p.selectedItems;x&&x.range&&(this.gotoLocation(d,{range:x.range.selection,keyMods:p.keyMods,preserveFocus:P.inBackground}),P.inBackground||p.hide())})),w.add(p.onDidTriggerItemButton(({item:P})=>{P&&P.range&&(this.gotoLocation(d,{range:P.range.selection,keyMods:p.keyMods,forceSideBySide:!0}),p.hide())}));const E=this.getDocumentSymbols(l,m);let I;const M=P=>we(this,void 0,void 0,function*(){I?.dispose(!0),p.busy=!1,I=new k.CancellationTokenSource(m),p.busy=!0;try{const x=(0,S.prepareQuery)(p.value.substr(u.PREFIX.length).trim()),T=yield this.doGetSymbolPicks(E,x,void 0,I.token);if(m.isCancellationRequested)return;if(T.length>0){if(p.items=T,P&&x.original.length===0){const A=(0,a.findLast)(T,N=>!!(N.type!=="separator"&&N.range&&g.Range.containsPosition(N.range.decoration,P)));A&&(p.activeItems=[A])}}else x.original.length>0?this.provideLabelPick(p,(0,n.localize)(2,null)):this.provideLabelPick(p,(0,n.localize)(3,null))}finally{m.isCancellationRequested||(p.busy=!1)}});return w.add(p.onDidChangeValue(()=>M(void 0))),M((v=b.getSelection())===null||v===void 0?void 0:v.getPosition()),w.add(p.onDidChangeActive(()=>{const[P]=p.activeItems;P&&P.range&&(b.revealRangeInCenter(P.range.selection,0),this.addDecorations(b,P.range.decoration))})),w}doGetSymbolPicks(d,l,p,m){var v,b;return we(this,void 0,void 0,function*(){const w=yield d;if(m.isCancellationRequested)return[];const E=l.original.indexOf(u.SCOPE_PREFIX)===0,I=E?1:0;let M,P;l.values&&l.values.length>1?(M=(0,S.pieceToQuery)(l.values[0]),P=(0,S.pieceToQuery)(l.values.slice(1))):M=l;let x;const T=(b=(v=this.options)===null||v===void 0?void 0:v.openSideBySideDirection)===null||b===void 0?void 0:b.call(v);T&&(x=[{iconClass:T==="right"?D.ThemeIcon.asClassName(y.Codicon.splitHorizontal):D.ThemeIcon.asClassName(y.Codicon.splitVertical),tooltip:T==="right"?(0,n.localize)(4,null):(0,n.localize)(5,null)}]);const A=[];for(let O=0;OI){let B=!1;if(M!==l&&([G,Z]=(0,S.scoreFuzzy2)(j,Object.assign(Object.assign({},l),{values:void 0}),I,R),typeof G=="number"&&(B=!0)),typeof G!="number"&&([G,Z]=(0,S.scoreFuzzy2)(j,M,I,R),typeof G!="number"))continue;if(!B&&P){if(K&&P.original.length>0&&([J,X]=(0,S.scoreFuzzy2)(K,P)),typeof J!="number")continue;typeof G=="number"&&(G+=J)}}const H=W.tags&&W.tags.indexOf(1)>=0;A.push({index:O,kind:W.kind,score:G,label:j,ariaLabel:(0,C.getAriaLabelForSymbol)(W.name,W.kind),description:K,highlights:H?void 0:{label:Z,description:X},range:{selection:g.Range.collapseToStart(W.selectionRange),decoration:W.range},strikethrough:H,buttons:x})}const N=A.sort((O,W)=>E?this.compareByKindAndScore(O,W):this.compareByScore(O,W));let F=[];if(E){let j=function(){W&&typeof O=="number"&&U>0&&(W.label=(0,_.format)(c[O]||r,U))},O,W,U=0;for(const R of N)O!==R.kind?(j(),O=R.kind,U=1,W={type:"separator"},F.push(W)):U++,F.push(R);j()}else N.length>0&&(F=[{label:(0,n.localize)(6,null,A.length),type:"separator"},...N]);return F})}compareByScore(d,l){if(typeof d.score!="number"&&typeof l.score=="number")return 1;if(typeof d.score=="number"&&typeof l.score!="number")return-1;if(typeof d.score=="number"&&typeof l.score=="number"){if(d.score>l.score)return-1;if(d.scorel.index?1:0}compareByKindAndScore(d,l){const p=c[d.kind]||r,m=c[l.kind]||r,v=p.localeCompare(m);return v===0?this.compareByScore(d,l):v}getDocumentSymbols(d,l){return we(this,void 0,void 0,function*(){const p=yield this._outlineModelService.getOrCreate(d,l);return l.isCancellationRequested?[]:p.asListOfDocumentSymbols()})}};e.AbstractGotoSymbolQuickAccessProvider=h,h.PREFIX="@",h.SCOPE_PREFIX=":",h.PREFIX_BY_CATEGORY=`${u.PREFIX}${u.SCOPE_PREFIX}`,e.AbstractGotoSymbolQuickAccessProvider=h=u=ke([fe(0,t.ILanguageFeaturesService),fe(1,s.IOutlineModelService)],h);const r=(0,n.localize)(7,null),c={[5]:(0,n.localize)(8,null),[11]:(0,n.localize)(9,null),[8]:(0,n.localize)(10,null),[12]:(0,n.localize)(11,null),[4]:(0,n.localize)(12,null),[22]:(0,n.localize)(13,null),[23]:(0,n.localize)(14,null),[24]:(0,n.localize)(15,null),[10]:(0,n.localize)(16,null),[2]:(0,n.localize)(17,null),[3]:(0,n.localize)(18,null),[25]:(0,n.localize)(19,null),[1]:(0,n.localize)(20,null),[6]:(0,n.localize)(21,null),[9]:(0,n.localize)(22,null),[21]:(0,n.localize)(23,null),[14]:(0,n.localize)(24,null),[0]:(0,n.localize)(25,null),[17]:(0,n.localize)(26,null),[15]:(0,n.localize)(27,null),[16]:(0,n.localize)(28,null),[18]:(0,n.localize)(29,null),[19]:(0,n.localize)(30,null),[7]:(0,n.localize)(31,null),[13]:(0,n.localize)(32,null)}}),define(ne[857],se([1,0,2,12,695,15,34,31,23,459]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenameInputField=e.CONTEXT_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_RENAME_INPUT_VISIBLE=new D.RawContextKey("renameInputVisible",!1,(0,y.localize)(0,null));let g=class{constructor(s,i,n,t,a){this._editor=s,this._acceptKeybindings=i,this._themeService=n,this._keybindingService=t,this._disposables=new L.DisposableStore,this.allowEditorOverflow=!0,this._visibleContextKey=e.CONTEXT_RENAME_INPUT_VISIBLE.bindTo(a),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,y.localize)(1,null)),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(s){var i,n,t,a;if(!this._input||!this._domNode)return;const u=s.getColor(f.widgetShadow),h=s.getColor(f.widgetBorder);this._domNode.style.backgroundColor=String((i=s.getColor(f.editorWidgetBackground))!==null&&i!==void 0?i:""),this._domNode.style.boxShadow=u?` 0 0 8px 2px ${u}`:"",this._domNode.style.border=h?`1px solid ${h}`:"",this._domNode.style.color=String((n=s.getColor(f.inputForeground))!==null&&n!==void 0?n:""),this._input.style.backgroundColor=String((t=s.getColor(f.inputBackground))!==null&&t!==void 0?t:"");const r=s.getColor(f.inputBorder);this._input.style.borderWidth=r?"1px":"0px",this._input.style.borderStyle=r?"solid":"none",this._input.style.borderColor=(a=r?.toString())!==null&&a!==void 0?a:"none"}_updateFont(){if(!this._input||!this._label)return;const s=this._editor.getOption(49);this._input.style.fontFamily=s.fontFamily,this._input.style.fontWeight=s.fontWeight,this._input.style.fontSize=`${s.fontSize}px`,this._label.style.fontSize=`${s.fontSize*.8}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}beforeRender(){var s,i;const[n,t]=this._acceptKeybindings;return this._label.innerText=(0,y.localize)(2,null,(s=this._keybindingService.lookupKeybinding(n))===null||s===void 0?void 0:s.getLabel(),(i=this._keybindingService.lookupKeybinding(t))===null||i===void 0?void 0:i.getLabel()),null}afterRender(s){s||this.cancelInput(!0)}acceptInput(s){var i;(i=this._currentAcceptInput)===null||i===void 0||i.call(this,s)}cancelInput(s){var i;(i=this._currentCancelInput)===null||i===void 0||i.call(this,s)}getInput(s,i,n,t,a,u){this._domNode.classList.toggle("preview",a),this._position=new k.Position(s.startLineNumber,s.startColumn),this._input.value=i,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",t.toString()),this._input.size=Math.max((s.endColumn-s.startColumn)*1.1,20);const h=new L.DisposableStore;return new Promise(r=>{this._currentCancelInput=c=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r(c),!0),this._currentAcceptInput=c=>{if(this._input.value.trim().length===0||this._input.value===i){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r({newName:this._input.value,wantsPreview:a&&c})},h.add(u.onCancellationRequested(()=>this.cancelInput(!0))),h.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!document.hasFocus()))),this._show()}).finally(()=>{h.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};e.RenameInputField=g,e.RenameInputField=g=ke([fe(2,_.IThemeService),fe(3,S.IKeybindingService),fe(4,D.IContextKeyService)],g)}),define(ne[858],se([1,0,49,13,19,9,2,20,22,104,16,132,33,12,5,21,187,190,694,98,15,8,70,43,77,37,857,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w){"use strict";var E;Object.defineProperty(e,"__esModule",{value:!0}),e.RenameAction=e.rename=void 0;class I{constructor(N,F,O){this.model=N,this.position=F,this._providerRenameIdx=0,this._providers=O.ordered(N)}hasProvider(){return this._providers.length>0}resolveRenameLocation(N){return we(this,void 0,void 0,function*(){const F=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?F.join(` -`):void 0}:{range:t.Range.fromPositions(this.position),text:"",rejectReason:F.length>0?F.join(` -`):void 0}})}provideRenameEdits(N,F){return we(this,void 0,void 0,function*(){return this._provideRenameEdits(N,this._providerRenameIdx,[],F)})}_provideRenameEdits(N,F,O,W){return we(this,void 0,void 0,function*(){const U=this._providers[F];if(!U)return{edits:[],rejectReason:O.join(` -`)};const j=yield U.provideRenameEdits(this.model,this.position,N,W);if(j){if(j.rejectReason)return this._provideRenameEdits(N,F+1,O.concat(j.rejectReason),W)}else return this._provideRenameEdits(N,F+1,O.concat(r.localize(0,null)),W);return j})}}function M(A,N,F,O){return we(this,void 0,void 0,function*(){const W=new I(N,F,A),U=yield W.resolveRenameLocation(y.CancellationToken.None);return U?.rejectReason?{edits:[],rejectReason:U.rejectReason}:W.provideRenameEdits(O,y.CancellationToken.None)})}e.rename=M;let P=E=class{static get(N){return N.getContribution(E.ID)}constructor(N,F,O,W,U,j,R,K){this.editor=N,this._instaService=F,this._notificationService=O,this._bulkEditService=W,this._progressService=U,this._logService=j,this._configService=R,this._languageFeaturesService=K,this._disposableStore=new S.DisposableStore,this._cts=new y.CancellationTokenSource,this._renameInputField=this._disposableStore.add(this._instaService.createInstance(b.RenameInputField,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var N,F;return we(this,void 0,void 0,function*(){if(this._cts.dispose(!0),this._cts=new y.CancellationTokenSource,!this.editor.hasModel())return;const O=this.editor.getPosition(),W=new I(this.editor.getModel(),O,this._languageFeaturesService.renameProvider);if(!W.hasProvider())return;const U=new g.EditorStateCancellationTokenSource(this.editor,5,void 0,this._cts.token);let j;try{const B=W.resolveRenameLocation(U.token);this._progressService.showWhile(B,250),j=yield B}catch(B){(N=h.MessageController.get(this.editor))===null||N===void 0||N.showMessage(B||r.localize(1,null),O);return}finally{U.dispose()}if(!j)return;if(j.rejectReason){(F=h.MessageController.get(this.editor))===null||F===void 0||F.showMessage(j.rejectReason,O);return}if(U.token.isCancellationRequested)return;const R=new g.EditorStateCancellationTokenSource(this.editor,5,j.range,this._cts.token),K=this.editor.getSelection();let G=0,Z=j.text.length;!t.Range.isEmpty(K)&&!t.Range.spansMultipleLines(K)&&t.Range.containsRange(j.range,K)&&(G=Math.max(0,K.startColumn-j.range.startColumn),Z=Math.min(j.range.endColumn,K.endColumn)-j.range.startColumn);const J=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),X=yield this._renameInputField.getInput(j.range,j.text,G,Z,J,R.token);if(typeof X=="boolean"){X&&this.editor.focus(),R.dispose();return}this.editor.focus();const H=(0,k.raceCancellation)(W.provideRenameEdits(X.newName,R.token),R.token).then(B=>we(this,void 0,void 0,function*(){if(!(!B||!this.editor.hasModel())){if(B.rejectReason){this._notificationService.info(B.rejectReason);return}this.editor.setSelection(t.Range.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(B,{editor:this.editor,showPreview:X.wantsPreview,label:r.localize(2,null,j?.text,X.newName),code:"undoredo.rename",quotableLabel:r.localize(3,null,j?.text,X.newName),respectAutoSaveConfig:!0}).then(V=>{V.ariaSummary&&(0,L.alert)(r.localize(4,null,j.text,X.newName,V.ariaSummary))}).catch(V=>{this._notificationService.error(r.localize(5,null)),this._logService.error(V)})}}),B=>{this._notificationService.error(r.localize(6,null)),this._logService.error(B)}).finally(()=>{R.dispose()});return this._progressService.showWhile(H,250),H})}acceptRenameInput(N){this._renameInputField.acceptInput(N)}cancelRenameInput(){this._renameInputField.cancelInput(!0)}};P.ID="editor.contrib.renameController",P=E=ke([fe(1,d.IInstantiationService),fe(2,p.INotificationService),fe(3,s.IBulkEditService),fe(4,m.IEditorProgressService),fe(5,l.ILogService),fe(6,u.ITextResourceConfigurationService),fe(7,w.ILanguageFeaturesService)],P);class x extends C.EditorAction{constructor(){super({id:"editor.action.rename",label:r.localize(7,null),alias:"Rename Symbol",precondition:o.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(N,F){const O=N.get(i.ICodeEditorService),[W,U]=Array.isArray(F)&&F||[void 0,void 0];return _.URI.isUri(W)&&n.Position.isIPosition(U)?O.openCodeEditor({resource:W},O.getActiveCodeEditor()).then(j=>{j&&(j.setPosition(U),j.invokeWithinContext(R=>(this.reportTelemetry(R,j),this.run(R,j))))},D.onUnexpectedError):super.runCommand(N,F)}run(N,F){const O=P.get(F);return O?O.run():Promise.resolve()}}e.RenameAction=x,(0,C.registerEditorContribution)(P.ID,P,4),(0,C.registerEditorAction)(x);const T=C.EditorCommand.bindToContribution(P.get);(0,C.registerEditorCommand)(new T({id:"acceptRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.acceptRenameInput(!1),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:3}})),(0,C.registerEditorCommand)(new T({id:"acceptRenameInputWithPreview",precondition:o.ContextKeyExpr.and(b.CONTEXT_RENAME_INPUT_VISIBLE,o.ContextKeyExpr.has("config.editor.rename.enablePreview")),handler:A=>A.acceptRenameInput(!0),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:1024+3}})),(0,C.registerEditorCommand)(new T({id:"cancelRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.cancelRenameInput(),kbOpts:{weight:100+99,kbExpr:a.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,C.registerModelAndPositionCommand)("_executeDocumentRenameProvider",function(A,N,F,...O){const[W]=O;(0,f.assertType)(typeof W=="string");const{renameProvider:U}=A.get(w.ILanguageFeaturesService);return M(U,N,F,W)}),(0,C.registerModelAndPositionCommand)("_executePrepareRename",function(A,N,F){return we(this,void 0,void 0,function*(){const{renameProvider:O}=A.get(w.ILanguageFeaturesService),U=yield new I(N,F,O).resolveRenameLocation(y.CancellationToken.None);if(U?.rejectReason)throw new Error(U.rejectReason);return U})}),v.Registry.as(c.Extensions.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:r.localize(8,null),default:!0,type:"boolean"}}})}),define(ne[859],se([1,0,2,9,51,28,13,19,23,252,333,76,58,18,234,149,297]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentSemanticTokensFeature=void 0;let r=class extends L.Disposable{constructor(l,p,m,v,b,w){super(),this._watchers=Object.create(null);const E=P=>{this._watchers[P.uri.toString()]=new c(P,l,m,b,w)},I=(P,x)=>{x.dispose(),delete this._watchers[P.uri.toString()]},M=()=>{for(const P of p.getModels()){const x=this._watchers[P.uri.toString()];(0,u.isSemanticColoringEnabled)(P,m,v)?x||E(P):x&&I(P,x)}};this._register(p.onModelAdded(P=>{(0,u.isSemanticColoringEnabled)(P,m,v)&&E(P)})),this._register(p.onModelRemoved(P=>{const x=this._watchers[P.uri.toString()];x&&I(P,x)})),this._register(v.onDidChangeConfiguration(P=>{P.affectsConfiguration(u.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&M()})),this._register(m.onDidColorThemeChange(M))}dispose(){for(const l of Object.values(this._watchers))l.dispose();super.dispose()}};e.DocumentSemanticTokensFeature=r,e.DocumentSemanticTokensFeature=r=ke([fe(0,t.ISemanticTokensStylingService),fe(1,y.IModelService),fe(2,_.IThemeService),fe(3,D.IConfigurationService),fe(4,s.ILanguageFeatureDebounceService),fe(5,n.ILanguageFeaturesService)],r);let c=h=class extends L.Disposable{constructor(l,p,m,v,b){super(),this._semanticTokensStylingService=p,this._isDisposed=!1,this._model=l,this._provider=b.documentSemanticTokensProvider,this._debounceInformation=v.for(this._provider,"DocumentSemanticTokens",{min:h.REQUEST_MIN_DELAY,max:h.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new S.RunOnceScheduler(()=>this._fetchDocumentSemanticTokensNow(),h.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const w=()=>{(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const E of this._provider.all(l))typeof E.onDidChange=="function"&&this._documentProvidersChangeListeners.push(E.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};w(),this._register(this._provider.onDidChange(()=>{w(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(m.onDidColorThemeChange(E=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,C.hasDocumentSemanticTokensProvider)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;const l=new f.CancellationTokenSource,p=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,m=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,v=(0,C.getDocumentSemanticTokens)(this._provider,this._model,p,m,l.token);this._currentDocumentRequestCancellationTokenSource=l,this._providersChangedDuringRequest=!1;const b=[],w=this._model.onDidChangeContent(I=>{b.push(I)}),E=new i.StopWatch(!1);v.then(I=>{if(this._debounceInformation.update(this._model,E.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),!I)this._setDocumentSemanticTokens(null,null,null,b);else{const{provider:M,tokens:P}=I,x=this._semanticTokensStylingService.getStyling(M);this._setDocumentSemanticTokens(M,P||null,x,b)}},I=>{I&&(k.isCancellationError(I)||typeof I.message=="string"&&I.message.indexOf("busy")!==-1)||k.onUnexpectedError(I),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),(b.length>0||this._providersChangedDuringRequest)&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(l,p,m,v,b){b=Math.min(b,m.length-v,l.length-p);for(let w=0;w{(v.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){l&&p&&l.releaseDocumentSemanticTokens(p.resultId);return}if(!l||!m){this._model.tokenization.setSemanticTokens(null,!1);return}if(!p){this._model.tokenization.setSemanticTokens(null,!0),w();return}if((0,C.isSemanticTokensEdits)(p)){if(!b){this._model.tokenization.setSemanticTokens(null,!0);return}if(p.edits.length===0)p={resultId:p.resultId,data:b.data};else{let E=0;for(const T of p.edits)E+=(T.data?T.data.length:0)-T.deleteCount;const I=b.data,M=new Uint32Array(I.length+E);let P=I.length,x=M.length;for(let T=p.edits.length-1;T>=0;T--){const A=p.edits[T];if(A.start>I.length){m.warnInvalidEditStart(b.resultId,p.resultId,T,A.start,I.length),this._model.tokenization.setSemanticTokens(null,!0);return}const N=P-(A.start+A.deleteCount);N>0&&(h._copy(I,P-N,M,x-N,N),x-=N),A.data&&(h._copy(A.data,0,M,x-A.data.length,A.data.length),x-=A.data.length),P=A.start}P>0&&h._copy(I,0,M,0,P),p={resultId:p.resultId,data:M}}}if((0,C.isSemanticTokens)(p)){this._currentDocumentResponse=new o(l,p.resultId,p.data);const E=(0,g.toMultilineTokens2)(p,m,this._model.getLanguageId());if(v.length>0)for(const I of v)for(const M of E)for(const P of I.changes)M.applyEdit(P.range,P.text);this._model.tokenization.setSemanticTokens(E,!0)}else this._model.tokenization.setSemanticTokens(null,!0);w()}};c.REQUEST_MIN_DELAY=300,c.REQUEST_MAX_DELAY=2e3,c=h=ke([fe(1,t.ISemanticTokensStylingService),fe(2,_.IThemeService),fe(3,s.ILanguageFeatureDebounceService),fe(4,n.ILanguageFeaturesService)],c);class o{constructor(l,p,m){this.provider=l,this.resultId=p,this.data=m}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}(0,a.registerEditorFeature)(r)}),define(ne[860],se([1,0,13,2,16,333,297,252,28,23,76,58,18,234]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportSemanticTokensContribution=void 0;let t=class extends k.Disposable{constructor(u,h,r,c,o,d){super(),this._semanticTokensStylingService=h,this._themeService=r,this._configurationService=c,this._editor=u,this._provider=d.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new L.RunOnceScheduler(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const l=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{l()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),l()})),this._register(this._editor.onDidChangeModelContent(p=>{this._cancelAll(),l()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),l()})),this._register(this._configurationService.onDidChangeConfiguration(p=>{p.affectsConfiguration(S.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&(this._cancelAll(),l())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),l()})),l()}_cancelAll(){for(const u of this._outstandingRequests)u.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(u){for(let h=0,r=this._outstandingRequests.length;hthis._requestRange(u,r)))}_requestRange(u,h){const r=u.getVersionId(),c=(0,L.createCancelablePromise)(d=>Promise.resolve((0,D.getDocumentRangeSemanticTokens)(this._provider,u,h,d))),o=new s.StopWatch(!1);return c.then(d=>{if(this._debounceInformation.update(u,o.elapsed()),!d||!d.tokens||u.isDisposed()||u.getVersionId()!==r)return;const{provider:l,tokens:p}=d,m=this._semanticTokensStylingService.getStyling(l);u.tokenization.setPartialSemanticTokens(h,(0,f.toMultilineTokens2)(p,m,u.getLanguageId()))}).then(()=>this._removeOutstandingRequest(c),()=>this._removeOutstandingRequest(c)),c}};e.ViewportSemanticTokensContribution=t,t.ID="editor.contrib.viewportSemanticTokens",e.ViewportSemanticTokensContribution=t=ke([fe(1,n.ISemanticTokensStylingService),fe(2,g.IThemeService),fe(3,_.IConfigurationService),fe(4,C.ILanguageFeatureDebounceService),fe(5,i.ILanguageFeaturesService)],t),(0,y.registerEditorContribution)(t.ID,t,1)}),define(ne[861],se([1,0,7,226,25,26,6,72,2,22,29,775,51,41,704,330,62,23,344]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemRenderer=e.getAriaId=void 0;function o(v){return`suggest-aria-id:${v}`}e.getAriaId=o;const d=(0,u.registerIcon)("suggest-more-info",y.Codicon.chevronRight,t.localize(0,null)),l=new(c=class{extract(b,w){if(b.textLabel.match(c._regexStrict))return w[0]=b.textLabel,!0;if(b.completion.detail&&b.completion.detail.match(c._regexStrict))return w[0]=b.completion.detail,!0;if(typeof b.completion.documentation=="string"){const E=c._regexRelaxed.exec(b.completion.documentation);if(E&&(E.index===0||E.index+E[0].length===b.completion.documentation.length))return w[0]=E[0],!0}return!1}},c._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,c._regexStrict=new RegExp(`^${c._regexRelaxed.source}$`,"i"),c);let p=class{constructor(b,w,E,I){this._editor=b,this._modelService=w,this._languageService=E,this._themeService=I,this._onDidToggleDetails=new S.Emitter,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(b){const w=new _.DisposableStore,E=b;E.classList.add("show-file-icons");const I=(0,L.append)(b,(0,L.$)(".icon")),M=(0,L.append)(I,(0,L.$)("span.colorspan")),P=(0,L.append)(b,(0,L.$)(".contents")),x=(0,L.append)(P,(0,L.$)(".main")),T=(0,L.append)(x,(0,L.$)(".icon-label.codicon")),A=(0,L.append)(x,(0,L.$)("span.left")),N=(0,L.append)(x,(0,L.$)("span.right")),F=new k.IconLabel(A,{supportHighlights:!0,supportIcons:!0});w.add(F);const O=(0,L.append)(A,(0,L.$)("span.signature-label")),W=(0,L.append)(A,(0,L.$)("span.qualifier-label")),U=(0,L.append)(N,(0,L.$)("span.details-label")),j=(0,L.append)(N,(0,L.$)("span.readMore"+D.ThemeIcon.asCSSSelector(d)));j.title=t.localize(1,null);const R=()=>{const K=this._editor.getOptions(),G=K.get(49),Z=G.getMassagedFontFamily(),J=G.fontFeatureSettings,X=K.get(117)||G.fontSize,H=K.get(118)||G.lineHeight,B=G.fontWeight,V=G.letterSpacing,Y=`${X}px`,ie=`${H}px`,ae=`${V}px`;E.style.fontSize=Y,E.style.fontWeight=B,E.style.letterSpacing=ae,x.style.fontFamily=Z,x.style.fontFeatureSettings=J,x.style.lineHeight=ie,I.style.height=ie,I.style.width=ie,j.style.height=ie,j.style.width=ie};return R(),w.add(this._editor.onDidChangeConfiguration(K=>{(K.hasChanged(49)||K.hasChanged(117)||K.hasChanged(118))&&R()})),{root:E,left:A,right:N,icon:I,colorspan:M,iconLabel:F,iconContainer:T,parametersLabel:O,qualifierLabel:W,detailsLabel:U,readMore:j,disposables:w}}renderElement(b,w,E){const{completion:I}=b;E.root.id=o(w),E.colorspan.style.backgroundColor="";const M={labelEscapeNewLines:!0,matches:(0,f.createMatches)(b.score)},P=[];if(I.kind===19&&l.extract(b,P))E.icon.className="icon customcolor",E.iconContainer.className="icon hide",E.colorspan.style.backgroundColor=P[0];else if(I.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){E.icon.className="icon hide",E.iconContainer.className="icon hide";const x=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FILE),T=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FILE);M.extraClasses=x.length>T.length?x:T}else I.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(E.icon.className="icon hide",E.iconContainer.className="icon hide",M.extraClasses=[(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FOLDER),(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FOLDER)].flat()):(E.icon.className="icon hide",E.iconContainer.className="",E.iconContainer.classList.add("suggest-icon",...D.ThemeIcon.asClassNameArray(C.CompletionItemKinds.toIcon(I.kind))));I.tags&&I.tags.indexOf(1)>=0&&(M.extraClasses=(M.extraClasses||[]).concat(["deprecated"]),M.matches=[]),E.iconLabel.setLabel(b.textLabel,void 0,M),typeof I.label=="string"?(E.parametersLabel.textContent="",E.detailsLabel.textContent=m(I.detail||""),E.root.classList.add("string-label")):(E.parametersLabel.textContent=m(I.label.detail||""),E.detailsLabel.textContent=m(I.label.description||""),E.root.classList.remove("string-label")),this._editor.getOption(116).showInlineDetails?(0,L.show)(E.detailsLabel):(0,L.hide)(E.detailsLabel),(0,r.canExpandCompletionItem)(b)?(E.right.classList.add("can-expand-details"),(0,L.show)(E.readMore),E.readMore.onmousedown=x=>{x.stopPropagation(),x.preventDefault()},E.readMore.onclick=x=>{x.stopPropagation(),x.preventDefault(),this._onDidToggleDetails.fire()}):(E.right.classList.remove("can-expand-details"),(0,L.hide)(E.readMore),E.readMore.onmousedown=null,E.readMore.onclick=null)}disposeTemplate(b){b.disposables.dispose()}};e.ItemRenderer=p,e.ItemRenderer=p=ke([fe(1,i.IModelService),fe(2,n.ILanguageService),fe(3,h.IThemeService)],p);function m(v){return v.replace(/\r\n|\r|\n/g,"")}}),define(ne[862],se([1,0,855,37,136,33,94,6,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneGotoLineQuickAccessProvider=void 0;let s=class extends L.AbstractGotoLineQuickAccessProvider{constructor(t){super(),this.editorService=t,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var t;return(t=this.editorService.getFocusedCodeEditor())!==null&&t!==void 0?t:void 0}};e.StandaloneGotoLineQuickAccessProvider=s,e.StandaloneGotoLineQuickAccessProvider=s=ke([fe(0,D.ICodeEditorService)],s);class i extends _.EditorAction{constructor(){super({id:i.ID,label:S.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})}run(t){t.get(C.IQuickInputService).quickAccess.show(s.PREFIX)}}e.GotoLineAction=i,i.ID="editor.action.gotoLine",(0,_.registerEditorAction)(i),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:s,prefix:s.PREFIX,helpEntries:[{description:S.GoToLineNLS.gotoLineActionLabel,commandId:i.ID}]})}),define(ne[863],se([1,0,856,37,136,33,94,6,16,21,71,188,18,172,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoSymbolAction=e.StandaloneGotoSymbolQuickAccessProvider=void 0;let n=class extends L.AbstractGotoSymbolQuickAccessProvider{constructor(u,h,r){super(h,r),this.editorService=u,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var u;return(u=this.editorService.getFocusedCodeEditor())!==null&&u!==void 0?u:void 0}};e.StandaloneGotoSymbolQuickAccessProvider=n,e.StandaloneGotoSymbolQuickAccessProvider=n=ke([fe(0,D.ICodeEditorService),fe(1,i.ILanguageFeaturesService),fe(2,s.IOutlineModelService)],n);class t extends _.EditorAction{constructor(){super({id:t.ID,label:S.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:g.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(u){u.get(C.IQuickInputService).quickAccess.show(L.AbstractGotoSymbolQuickAccessProvider.PREFIX,{itemActivation:C.ItemActivation.NONE})}}e.GotoSymbolAction=t,t.ID="editor.action.quickOutline",(0,_.registerEditorAction)(t),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:n,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,helpEntries:[{description:S.QuickOutlineNLS.quickOutlineActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,commandId:t.ID},{description:S.QuickOutlineNLS.quickOutlineByCategoryActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY}]})}),define(ne[360],se([1,0,7,54,841,33,15,50,23]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneCodeEditorService=void 0;let g=class extends y.AbstractCodeEditorService{constructor(s,i){super(i),this.onCodeEditorAdd(()=>this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=s.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this.registerCodeEditorOpenHandler((n,t,a)=>we(this,void 0,void 0,function*(){return t?this.doOpenEditor(t,n):null}))}_checkContextKey(){let s=!1;for(const i of this.listCodeEditors())if(!i.isSimpleWidget){s=!0;break}this._editorIsOpen.set(s)}setActiveCodeEditor(s){this._activeCodeEditor=s}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(s,i){if(!this.findModel(s,i.resource)){if(i.resource){const a=i.resource.scheme;if(a===k.Schemas.http||a===k.Schemas.https)return(0,L.windowOpenNoOpener)(i.resource.toString()),s}return null}const t=i.options?i.options.selection:null;if(t)if(typeof t.endLineNumber=="number"&&typeof t.endColumn=="number")s.setSelection(t),s.revealRangeInCenter(t,1);else{const a={lineNumber:t.startLineNumber,column:t.startColumn};s.setPosition(a),s.revealPositionInCenter(a,1)}return s}findModel(s,i){const n=s.getModel();return n&&n.uri.toString()!==i.toString()?null:n}};e.StandaloneCodeEditorService=g,e.StandaloneCodeEditorService=g=ke([fe(0,S.IContextKeyService),fe(1,_.IThemeService)],g),(0,f.registerSingleton)(D.ICodeEditorService,g,0)}),define(ne[864],se([1,0,80,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hc_light=e.hc_black=e.vs_dark=e.vs=void 0,e.vs={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFE",[k.editorForeground]:"#000000",[k.editorInactiveSelection]:"#E5EBF1",[L.editorIndentGuide1]:"#D3D3D3",[L.editorActiveIndentGuide1]:"#939393",[k.editorSelectionHighlight]:"#ADD6FF4D"}},e.vs_dark={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#1E1E1E",[k.editorForeground]:"#D4D4D4",[k.editorInactiveSelection]:"#3A3D41",[L.editorIndentGuide1]:"#404040",[L.editorActiveIndentGuide1]:"#707070",[k.editorSelectionHighlight]:"#ADD6FF26"}},e.hc_black={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#000000",[k.editorForeground]:"#FFFFFF",[L.editorIndentGuide1]:"#FFFFFF",[L.editorActiveIndentGuide1]:"#FFFFFF"}},e.hc_light={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFF",[k.editorForeground]:"#292929",[L.editorIndentGuide1]:"#292929",[L.editorActiveIndentGuide1]:"#292929"}}}),define(ne[361],se([1,0,7,52,38,6,29,124,504,864,37,31,23,2,88,835]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneThemeService=e.HC_LIGHT_THEME_NAME=e.HC_BLACK_THEME_NAME=e.VS_DARK_THEME_NAME=e.VS_LIGHT_THEME_NAME=void 0,e.VS_LIGHT_THEME_NAME="vs",e.VS_DARK_THEME_NAME="vs-dark",e.HC_BLACK_THEME_NAME="hc-black",e.HC_LIGHT_THEME_NAME="hc-light";const u=C.Registry.as(s.Extensions.ColorContribution),h=C.Registry.as(i.Extensions.ThemingContribution);class r{constructor(m,v){this.semanticHighlighting=!1,this.themeData=v;const b=v.base;m.length>0?(c(m)?this.id=m:this.id=b+" "+m,this.themeName=m):(this.id=b,this.themeName=b),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const m=new Map;for(const v in this.themeData.colors)m.set(v,y.Color.fromHex(this.themeData.colors[v]));if(this.themeData.inherit){const v=o(this.themeData.base);for(const b in v.colors)m.has(b)||m.set(b,y.Color.fromHex(v.colors[b]))}this.colors=m}return this.colors}getColor(m,v){const b=this.getColors().get(m);if(b)return b;if(v!==!1)return this.getDefault(m)}getDefault(m){let v=this.defaultColors[m];return v||(v=u.resolveDefaultColor(m,this),this.defaultColors[m]=v,v)}defines(m){return this.getColors().has(m)}get type(){switch(this.base){case e.VS_LIGHT_THEME_NAME:return t.ColorScheme.LIGHT;case e.HC_BLACK_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_DARK;case e.HC_LIGHT_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_LIGHT;default:return t.ColorScheme.DARK}}get tokenTheme(){if(!this._tokenTheme){let m=[],v=[];if(this.themeData.inherit){const E=o(this.themeData.base);m=E.rules,E.encodedTokensColors&&(v=E.encodedTokensColors)}const b=this.themeData.colors["editor.foreground"],w=this.themeData.colors["editor.background"];if(b||w){const E={token:""};b&&(E.foreground=b),w&&(E.background=w),m.push(E)}m=m.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(v=this.themeData.encodedTokensColors),this._tokenTheme=_.TokenTheme.createFromRawTokenTheme(m,v)}return this._tokenTheme}getTokenStyleMetadata(m,v,b){const E=this.tokenTheme._match([m].concat(v).join(".")).metadata,I=f.TokenMetadata.getForeground(E),M=f.TokenMetadata.getFontStyle(E);return{foreground:I,italic:!!(M&1),bold:!!(M&2),underline:!!(M&4),strikethrough:!!(M&8)}}}function c(p){return p===e.VS_LIGHT_THEME_NAME||p===e.VS_DARK_THEME_NAME||p===e.HC_BLACK_THEME_NAME||p===e.HC_LIGHT_THEME_NAME}function o(p){switch(p){case e.VS_LIGHT_THEME_NAME:return g.vs;case e.VS_DARK_THEME_NAME:return g.vs_dark;case e.HC_BLACK_THEME_NAME:return g.hc_black;case e.HC_LIGHT_THEME_NAME:return g.hc_light}}function d(p){const m=o(p);return new r(p,m)}class l extends n.Disposable{constructor(){super(),this._onColorThemeChange=this._register(new D.Emitter),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new D.Emitter),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new a.UnthemedProductIconTheme,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(e.VS_LIGHT_THEME_NAME,d(e.VS_LIGHT_THEME_NAME)),this._knownThemes.set(e.VS_DARK_THEME_NAME,d(e.VS_DARK_THEME_NAME)),this._knownThemes.set(e.HC_BLACK_THEME_NAME,d(e.HC_BLACK_THEME_NAME)),this._knownThemes.set(e.HC_LIGHT_THEME_NAME,d(e.HC_LIGHT_THEME_NAME));const m=(0,a.getIconsStyleSheet)(this);this._codiconCSS=m.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(e.VS_LIGHT_THEME_NAME),this._onOSSchemeChanged(),m.onDidChange(()=>{this._codiconCSS=m.getCSS(),this._updateCSS()}),(0,k.addMatchMediaChangeListener)("(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(m){return L.isInShadowDOM(m)?this._registerShadowDomContainer(m):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=L.createStyleSheet(void 0,m=>{m.className="monaco-colors",m.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),n.Disposable.None}_registerShadowDomContainer(m){const v=L.createStyleSheet(m,b=>{b.className="monaco-colors",b.textContent=this._allCSS});return this._styleElements.push(v),{dispose:()=>{for(let b=0;b{b.base===m&&b.notifyBaseUpdated()}),this._theme.themeName===m&&this.setTheme(m)}getColorTheme(){return this._theme}setColorMapOverride(m){this._colorMapOverride=m,this._updateThemeOrColorMap()}setTheme(m){let v;this._knownThemes.has(m)?v=this._knownThemes.get(m):v=this._knownThemes.get(e.VS_LIGHT_THEME_NAME),this._updateActualTheme(v)}_updateActualTheme(m){!m||this._theme===m||(this._theme=m,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){const m=window.matchMedia("(forced-colors: active)").matches;if(m!==(0,t.isHighContrast)(this._theme.type)){let v;(0,t.isDark)(this._theme.type)?v=m?e.HC_BLACK_THEME_NAME:e.VS_DARK_THEME_NAME:v=m?e.HC_LIGHT_THEME_NAME:e.VS_LIGHT_THEME_NAME,this._updateActualTheme(this._knownThemes.get(v))}}}setAutoDetectHighContrast(m){this._autoDetectHighContrast=m,this._onOSSchemeChanged()}_updateThemeOrColorMap(){const m=[],v={},b={addRule:I=>{v[I]||(m.push(I),v[I]=!0)}};h.getThemingParticipants().forEach(I=>I(this._theme,b,this._environment));const w=[];for(const I of u.getColors()){const M=this._theme.getColor(I.id,!0);M&&w.push(`${(0,s.asCssVariableName)(I.id)}: ${M.toString()};`)}b.addRule(`.monaco-editor, .monaco-diff-editor { ${w.join(` -`)} }`);const E=this._colorMapOverride||this._theme.tokenTheme.getColorMap();b.addRule((0,_.generateTokensCSSForColorMap)(E)),this._themeCSS=m.join(` -`),this._updateCSS(),S.TokenizationRegistry.setColorMap(E),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._styleElements.forEach(m=>m.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}e.StandaloneThemeService=l}),define(ne[865],se([1,0,16,133,94,88,361]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class f extends L.EditorAction{constructor(){super({id:"editor.action.toggleHighContrast",label:y.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(g,C){const s=g.get(k.IStandaloneThemeService),i=s.getColorTheme();(0,D.isHighContrast)(i.type)?(s.setTheme(this._originalThemeName||((0,D.isDark)(i.type)?S.VS_DARK_THEME_NAME:S.VS_LIGHT_THEME_NAME)),this._originalThemeName=null):(s.setTheme((0,D.isDark)(i.type)?S.HC_BLACK_THEME_NAME:S.HC_LIGHT_THEME_NAME),this._originalThemeName=i.themeName)}}(0,L.registerEditorAction)(f)}),define(ne[160],se([1,0,7,44,131,315,39,216,2,17,717,30,740,15,57,8,34,43,87,23,26,88,20,31,105,84,472]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createActionViewItem=e.DropdownWithDefaultActionViewItem=e.SubmenuEntryActionViewItem=e.MenuEntryActionViewItem=e.createAndFillInActionBarActions=e.createAndFillInContextMenuActions=void 0;function b(A,N,F,O){const W=A.getActions(N),U=L.ModifierKeyEmitter.getInstance(),j=U.keyStatus.altKey||(g.isWindows||g.isLinux)&&U.keyStatus.shiftKey;E(W,F,j,O?R=>R===O:R=>R==="navigation")}e.createAndFillInContextMenuActions=b;function w(A,N,F,O,W,U){const j=A.getActions(N);E(j,F,!1,typeof O=="string"?K=>K===O:O,W,U)}e.createAndFillInActionBarActions=w;function E(A,N,F,O=j=>j==="navigation",W=()=>!1,U=!1){let j,R;Array.isArray(N)?(j=N,R=N):(j=N.primary,R=N.secondary);const K=new Set;for(const[G,Z]of A){let J;O(G)?(J=j,J.length>0&&U&&J.push(new S.Separator)):(J=R,J.length>0&&J.push(new S.Separator));for(let X of Z){F&&(X=X instanceof s.MenuItemAction&&X.alt?X.alt:X);const H=J.push(X);X instanceof S.SubmenuAction&&K.add({group:G,action:X,index:H-1})}}for(const{group:G,action:Z,index:J}of K){const X=O(G)?j:R,H=Z.actions;H.length<=1&&W(Z,G,X.length)&&X.splice(J,1,...H)}}let I=class extends y.ActionViewItem{constructor(N,F,O,W,U,j,R,K){super(void 0,N,{icon:!!(N.class||N.item.icon),label:!N.class&&!N.item.icon,draggable:F?.draggable,keybinding:F?.keybinding,hoverDelegate:F?.hoverDelegate}),this._keybindingService=O,this._notificationService=W,this._contextKeyService=U,this._themeService=j,this._contextMenuService=R,this._accessibilityService=K,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new _.MutableDisposable),this._altKey=L.ModifierKeyEmitter.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(N){return we(this,void 0,void 0,function*(){N.preventDefault(),N.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(F){this._notificationService.error(F)}})}render(N){if(super.render(N),N.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let F=!1;const O=()=>{var W;const U=!!(!((W=this._menuItemAction.alt)===null||W===void 0)&&W.enabled)&&(!this._accessibilityService.isMotionReduced()||F)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&F);U!==this._wantsAltCommand&&(this._wantsAltCommand=U,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(O)),this._register((0,L.addDisposableListener)(N,"mouseleave",W=>{F=!1,O()})),this._register((0,L.addDisposableListener)(N,"mouseenter",W=>{F=!0,O()})),O()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var N;const F=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),O=F&&F.getLabel(),W=this._commandAction.tooltip||this._commandAction.label;let U=O?(0,C.localize)(0,null,W,O):W;if(!this._wantsAltCommand&&(!((N=this._menuItemAction.alt)===null||N===void 0)&&N.enabled)){const j=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,R=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),K=R&&R.getLabel(),G=K?(0,C.localize)(1,null,j,K):j;U=(0,C.localize)(2,null,U,f.UILabelProvider.modifierLabels[g.OS].altKey,G)}return U}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(N){this._itemClassDispose.value=void 0;const{element:F,label:O}=this;if(!F||!O)return;const W=this._commandAction.checked&&(0,i.isICommandActionToggleInfo)(N.toggled)&&N.toggled.icon?N.toggled.icon:N.icon;if(W)if(o.ThemeIcon.isThemeIcon(W)){const U=o.ThemeIcon.asClassNameArray(W);O.classList.add(...U),this._itemClassDispose.value=(0,_.toDisposable)(()=>{O.classList.remove(...U)})}else O.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(W.dark):(0,L.asCSSUrl)(W.light),O.classList.add("icon"),this._itemClassDispose.value=(0,_.combinedDisposable)((0,_.toDisposable)(()=>{O.style.backgroundImage="",O.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}};e.MenuEntryActionViewItem=I,e.MenuEntryActionViewItem=I=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,n.IContextKeyService),fe(5,c.IThemeService),fe(6,t.IContextMenuService),fe(7,v.IAccessibilityService)],I);let M=class extends D.DropdownMenuActionViewItem{constructor(N,F,O,W,U){var j,R,K;const G=Object.assign(Object.assign({},F),{menuAsChild:(j=F?.menuAsChild)!==null&&j!==void 0?j:!1,classNames:(R=F?.classNames)!==null&&R!==void 0?R:o.ThemeIcon.isThemeIcon(N.item.icon)?o.ThemeIcon.asClassName(N.item.icon):void 0,keybindingProvider:(K=F?.keybindingProvider)!==null&&K!==void 0?K:Z=>O.lookupKeybinding(Z.id)});super(N,{getActions:()=>N.actions},W,G),this._keybindingService=O,this._contextMenuService=W,this._themeService=U}render(N){super.render(N),(0,l.assertType)(this.element),N.classList.add("menu-entry");const F=this._action,{icon:O}=F.item;if(O&&!o.ThemeIcon.isThemeIcon(O)){this.element.classList.add("icon");const W=()=>{this.element&&(this.element.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(O.dark):(0,L.asCSSUrl)(O.light))};W(),this._register(this._themeService.onDidColorThemeChange(()=>{W()}))}}};e.SubmenuEntryActionViewItem=M,e.SubmenuEntryActionViewItem=M=ke([fe(2,u.IKeybindingService),fe(3,t.IContextMenuService),fe(4,c.IThemeService)],M);let P=class extends y.BaseActionViewItem{constructor(N,F,O,W,U,j,R,K){var G,Z,J;super(null,N),this._keybindingService=O,this._notificationService=W,this._contextMenuService=U,this._menuService=j,this._instaService=R,this._storageService=K,this._container=null,this._options=F,this._storageKey=`${N.item.submenu.id}_lastActionId`;let X;const H=F?.persistLastActionId?K.get(this._storageKey,1):void 0;H&&(X=N.actions.find(V=>H===V.id)),X||(X=N.actions[0]),this._defaultAction=this._instaService.createInstance(I,X,{keybinding:this._getDefaultActionKeybindingLabel(X)});const B=Object.assign(Object.assign({keybindingProvider:V=>this._keybindingService.lookupKeybinding(V.id)},F),{menuAsChild:(G=F?.menuAsChild)!==null&&G!==void 0?G:!0,classNames:(Z=F?.classNames)!==null&&Z!==void 0?Z:["codicon","codicon-chevron-down"],actionRunner:(J=F?.actionRunner)!==null&&J!==void 0?J:new S.ActionRunner});this._dropdown=new D.DropdownMenuActionViewItem(N,N.actions,this._contextMenuService,B),this._dropdown.actionRunner.onDidRun(V=>{V.action instanceof s.MenuItemAction&&this.update(V.action)})}update(N){var F;!((F=this._options)===null||F===void 0)&&F.persistLastActionId&&this._storageService.store(this._storageKey,N.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(I,N,{keybinding:this._getDefaultActionKeybindingLabel(N)}),this._defaultAction.actionRunner=new class extends S.ActionRunner{runAction(O,W){return we(this,void 0,void 0,function*(){yield O.run(void 0)})}},this._container&&this._defaultAction.render((0,L.prepend)(this._container,(0,L.$)(".action-container")))}_getDefaultActionKeybindingLabel(N){var F;let O;if(!((F=this._options)===null||F===void 0)&&F.renderKeybindingWithDefaultActionLabel){const W=this._keybindingService.lookupKeybinding(N.id);W&&(O=`(${W.getLabel()})`)}return O}setActionContext(N){super.setActionContext(N),this._defaultAction.setActionContext(N),this._dropdown.setActionContext(N)}render(N){this._container=N,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const F=(0,L.$)(".action-container");this._defaultAction.render((0,L.append)(this._container,F)),this._register((0,L.addDisposableListener)(F,L.EventType.KEY_DOWN,W=>{const U=new k.StandardKeyboardEvent(W);U.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),U.stopPropagation())}));const O=(0,L.$)(".dropdown-action-container");this._dropdown.render((0,L.append)(this._container,O)),this._register((0,L.addDisposableListener)(O,L.EventType.KEY_DOWN,W=>{var U;const j=new k.StandardKeyboardEvent(W);j.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(U=this._defaultAction.element)===null||U===void 0||U.focus(),j.stopPropagation())}))}focus(N){N?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(N){N?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};e.DropdownWithDefaultActionViewItem=P,e.DropdownWithDefaultActionViewItem=P=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,t.IContextMenuService),fe(5,s.IMenuService),fe(6,a.IInstantiationService),fe(7,r.IStorageService)],P);let x=class extends y.SelectActionViewItem{constructor(N,F){super(null,N,N.actions.map(O=>({text:O.id===S.Separator.ID?"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500":O.label,isDisabled:!O.enabled})),0,F,m.defaultSelectBoxStyles,{ariaLabel:N.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,N.actions.findIndex(O=>O.checked)))}render(N){super.render(N),N.style.borderColor=(0,p.asCssVariable)(p.selectBorder)}runAction(N,F){const O=this.action.actions[F];O&&this.actionRunner.run(O)}};x=ke([fe(1,t.IContextViewService)],x);function T(A,N,F){return N instanceof s.MenuItemAction?A.createInstance(I,N,F):N instanceof s.SubmenuItemAction?N.item.isSelection?A.createInstance(x,N):N.item.rememberDefaultAction?A.createInstance(P,N,Object.assign(Object.assign({},F),{persistLastActionId:!0})):A.createInstance(M,N,F):void 0}e.createActionViewItem=T}),define(ne[253],se([1,0,7,131,222,39,14,13,25,2,42,17,26,12,29,214,681,160,817,30,27,15,57,8,34,79,62,451]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";var w;Object.defineProperty(e,"__esModule",{value:!0}),e.CustomizedMenuWorkbenchToolBar=e.InlineSuggestionHintsContentWidget=e.InlineCompletionsHintsWidget=void 0;let E=class extends g.Disposable{constructor(F,O,W){super(),this.editor=F,this.model=O,this.instantiationService=W,this.alwaysShowToolbar=(0,C.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).showToolbar==="always"),this.sessionPosition=void 0,this.position=(0,C.derived)(U=>{var j,R,K;const G=(j=this.model.read(U))===null||j===void 0?void 0:j.ghostText.read(U);if(!this.alwaysShowToolbar.read(U)||!G||G.parts.length===0)return this.sessionPosition=void 0,null;const Z=G.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==G.lineNumber&&(this.sessionPosition=void 0);const J=new n.Position(G.lineNumber,Math.min(Z,(K=(R=this.sessionPosition)===null||R===void 0?void 0:R.column)!==null&&K!==void 0?K:Number.MAX_SAFE_INTEGER));return this.sessionPosition=J,J}),this._register((0,C.autorunWithStore)((U,j)=>{const R=this.model.read(U);if(!R||!this.alwaysShowToolbar.read(U))return;const K=j.add(this.instantiationService.createInstance(P,this.editor,!0,this.position,R.selectedInlineCompletionIndex,R.inlineCompletionsCount,R.selectedInlineCompletion.map(G=>{var Z;return(Z=G?.inlineCompletion.source.inlineCompletions.commands)!==null&&Z!==void 0?Z:[]})));F.addContentWidget(K),j.add((0,g.toDisposable)(()=>F.removeContentWidget(K))),j.add((0,C.autorun)(G=>{this.position.read(G)&&R.lastTriggerKind.read(G)!==t.InlineCompletionTriggerKind.Explicit&&R.triggerExplicitly()}))}))}};e.InlineCompletionsHintsWidget=E,e.InlineCompletionsHintsWidget=E=ke([fe(2,p.IInstantiationService)],E);const I=(0,b.registerIcon)("inline-suggestion-hints-next",_.Codicon.chevronRight,(0,u.localize)(0,null)),M=(0,b.registerIcon)("inline-suggestion-hints-previous",_.Codicon.chevronLeft,(0,u.localize)(1,null));let P=w=class extends g.Disposable{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(F,O,W){const U=new D.Action(F,O,W,!0,()=>this._commandService.executeCommand(F)),j=this.keybindingService.lookupKeybinding(F,this._contextKeyService);let R=O;return j&&(R=(0,u.localize)(2,null,O,j.getLabel())),U.tooltip=R,U}constructor(F,O,W,U,j,R,K,G,Z,J,X){super(),this.editor=F,this.withBorder=O,this._position=W,this._currentSuggestionIdx=U,this._suggestionCount=j,this._extraCommands=R,this._commandService=K,this.keybindingService=Z,this._contextKeyService=J,this._menuService=X,this.id=`InlineSuggestionHintsContentWidget${w.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,L.h)("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[(0,L.h)("div@toolBar")]),this.previousAction=this.createCommandAction(a.showPreviousInlineSuggestionActionId,(0,u.localize)(3,null),i.ThemeIcon.asClassName(M)),this.availableSuggestionCountAction=new D.Action("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(a.showNextInlineSuggestionActionId,(0,u.localize)(4,null),i.ThemeIcon.asClassName(I)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(c.MenuId.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new f.RunOnceScheduler(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new f.RunOnceScheduler(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(G.createInstance(A,this.nodes.toolBar,c.MenuId.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:H=>H.startsWith("primary")},actionViewItemProvider:(H,B)=>{if(H instanceof c.MenuItemAction)return G.createInstance(T,H,void 0);if(H===this.availableSuggestionCountAction){const V=new x(void 0,H,{label:!0,icon:!1});return V.setClass("availableSuggestionCount"),V}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(H=>{w._dropDownVisible=H})),this._register((0,C.autorun)(H=>{this._position.read(H),this.editor.layoutContentWidget(this)})),this._register((0,C.autorun)(H=>{const B=this._suggestionCount.read(H),V=this._currentSuggestionIdx.read(H);B!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${V+1}/${B}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),B!==void 0&&B>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register((0,C.autorun)(H=>{const B=this._extraCommands.read(H);if((0,S.equals)(this.lastCommands,B))return;this.lastCommands=B;const V=B.map(Y=>({class:void 0,id:Y.id,enabled:!0,tooltip:Y.tooltip||"",label:Y.title,run:ie=>this._commandService.executeCommand(Y.id)}));for(const[Y,ie]of this.inlineCompletionsActionsMenus.getActions())for(const ae of ie)ae instanceof c.MenuItemAction&&V.push(ae);V.length>0&&V.unshift(new D.Separator),this.toolBar.setAdditionalSecondaryActions(V)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};e.InlineSuggestionHintsContentWidget=P,P._dropDownVisible=!1,P.id=0,e.InlineSuggestionHintsContentWidget=P=w=ke([fe(6,o.ICommandService),fe(7,p.IInstantiationService),fe(8,m.IKeybindingService),fe(9,d.IContextKeyService),fe(10,c.IMenuService)],P);class x extends k.ActionViewItem{constructor(){super(...arguments),this._className=void 0}setClass(F){this._className=F}render(F){super.render(F),this._className&&F.classList.add(this._className)}}class T extends h.MenuEntryActionViewItem{updateLabel(){const F=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!F)return super.updateLabel();if(this.label){const O=(0,L.h)("div.keybinding").root;new y.KeybindingLabel(O,s.OS,Object.assign({disableTitle:!0},y.unthemedKeybindingLabelOptions)).set(F),this.label.textContent=this._action.label,this.label.appendChild(O),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}}let A=class extends r.WorkbenchToolBar{constructor(F,O,W,U,j,R,K,G){super(F,Object.assign({resetMenu:O},W),U,j,R,K,G),this.menuId=O,this.options2=W,this.menuService=U,this.contextKeyService=j,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var F,O,W,U,j,R,K;const G=[],Z=[];(0,h.createAndFillInActionBarActions)(this.menu,(F=this.options2)===null||F===void 0?void 0:F.menuOptions,{primary:G,secondary:Z},(W=(O=this.options2)===null||O===void 0?void 0:O.toolbarOptions)===null||W===void 0?void 0:W.primaryGroup,(j=(U=this.options2)===null||U===void 0?void 0:U.toolbarOptions)===null||j===void 0?void 0:j.shouldInlineSubmenu,(K=(R=this.options2)===null||R===void 0?void 0:R.toolbarOptions)===null||K===void 0?void 0:K.useSeparatorsInPrimaryActions),Z.push(...this.additionalActions),G.unshift(...this.prependedPrimaryActions),this.setActions(G,Z)}setPrependedPrimaryActions(F){(0,S.equals)(this.prependedPrimaryActions,F,(O,W)=>O===W)||(this.prependedPrimaryActions=F,this.updateToolbar())}setAdditionalSecondaryActions(F){(0,S.equals)(this.additionalActions,F,(O,W)=>O===W)||(this.additionalActions=F,this.updateToolbar())}};e.CustomizedMenuWorkbenchToolBar=A,e.CustomizedMenuWorkbenchToolBar=A=ke([fe(3,c.IMenuService),fe(4,d.IContextKeyService),fe(5,l.IContextMenuService),fe(6,m.IKeybindingService),fe(7,v.ITelemetryService)],A)}),define(ne[866],se([1,0,7,68,2,705,160,30,15,8]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestWidgetStatus=void 0;class C extends S.MenuEntryActionViewItem{updateLabel(){const n=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!n)return super.updateLabel();this.label&&(this.label.textContent=(0,D.localize)(0,null,this._action.label,C.symbolPrintEnter(n)))}static symbolPrintEnter(n){var t;return(t=n.getLabel())===null||t===void 0?void 0:t.replace(/\benter\b/gi,"\u23CE")}}let s=class{constructor(n,t,a,u,h){this._menuId=t,this._menuService=u,this._contextKeyService=h,this._menuDisposables=new y.DisposableStore,this.element=L.append(n,L.$(".suggest-status-bar"));const r=c=>c instanceof f.MenuItemAction?a.createInstance(C,c,void 0):void 0;this._leftActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._rightActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const n=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{const a=[],u=[];for(const[h,r]of n.getActions())h==="left"?a.push(...r):u.push(...r);this._leftActions.clear(),this._leftActions.push(a),this._rightActions.clear(),this._rightActions.push(u)};this._menuDisposables.add(n.onDidChange(()=>t())),this._menuDisposables.add(n)}hide(){this._menuDisposables.clear()}};e.SuggestWidgetStatus=s,e.SuggestWidgetStatus=s=ke([fe(2,g.IInstantiationService),fe(3,f.IMenuService),fe(4,_.IContextKeyService)],s)}),define(ne[867],se([1,0,7,39,6,2,160,30,15,34,43,79,829,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuMenuDelegate=e.ContextMenuService=void 0;let t=class extends D.Disposable{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new i.ContextMenuHandler(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(h,r,c,o,d,l){super(),this.telemetryService=h,this.notificationService=r,this.contextViewService=c,this.keybindingService=o,this.menuService=d,this.contextKeyService=l,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new y.Emitter),this._onDidHideContextMenu=this._store.add(new y.Emitter)}configure(h){this.contextMenuHandler.configure(h)}showContextMenu(h){h=a.transform(h,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},h),{onHide:r=>{var c;(c=h.onHide)===null||c===void 0||c.call(h,r),this._onDidHideContextMenu.fire()}})),L.ModifierKeyEmitter.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};e.ContextMenuService=t,e.ContextMenuService=t=ke([fe(0,s.ITelemetryService),fe(1,C.INotificationService),fe(2,n.IContextViewService),fe(3,g.IKeybindingService),fe(4,f.IMenuService),fe(5,_.IContextKeyService)],t);var a;(function(u){function h(c){return c&&c.menuId instanceof f.MenuId}function r(c,o,d){if(!h(c))return c;const{menuId:l,menuActionOptions:p,contextKeyService:m}=c;return Object.assign(Object.assign({},c),{getActions:()=>{const v=[];if(l){const b=o.createMenu(l,m??d);(0,S.createAndFillInContextMenuActions)(b,p,v),b.dispose()}return c.getActions?k.Separator.join(c.getActions(),v):v}})}u.transform=r})(a||(e.ContextMenuMenuDelegate=a={}))}),define(ne[868],se([1,0,19,6,15,8,134,191,56,788,105,31,23,840]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputService=void 0;let t=class extends i.Themable{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(g.QuickAccessController))),this._quickAccess}constructor(u,h,r,c){super(r),this.instantiationService=u,this.contextKeyService=h,this.layoutService=c,this._onShow=this._register(new k.Emitter),this._onHide=this._register(new k.Emitter),this.contexts=new Map}createController(u=this.layoutService,h){const r={idPrefix:"quickInput_",container:u.container,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:o=>this.setContextKey(o),linkOpenerDelegate:o=>{this.instantiationService.invokeFunction(d=>{d.get(_.IOpenerService).open(o,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>u.focus(),createList:(o,d,l,p,m)=>this.instantiationService.createInstance(f.WorkbenchList,o,d,l,p,m),styles:this.computeStyles()},c=this._register(new n.QuickInputController(Object.assign(Object.assign({},r),h),this.themeService));return c.layout(u.dimension,u.offset.quickPickTop),this._register(u.onDidLayout(o=>c.layout(o,u.offset.quickPickTop))),this._register(c.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(c.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),c}setContextKey(u){let h;u&&(h=this.contexts.get(u),h||(h=new y.RawContextKey(u,!1).bindTo(this.contextKeyService),this.contexts.set(u,h))),!(h&&h.get())&&(this.resetContextKeys(),h?.set(!0))}resetContextKeys(){this.contexts.forEach(u=>{u.get()&&u.reset()})}pick(u,h={},r=L.CancellationToken.None){return this.controller.pick(u,h,r)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,s.asCssVariable)(s.quickInputBackground),quickInputForeground:(0,s.asCssVariable)(s.quickInputForeground),quickInputTitleBackground:(0,s.asCssVariable)(s.quickInputTitleBackground),widgetBorder:(0,s.asCssVariable)(s.widgetBorder),widgetShadow:(0,s.asCssVariable)(s.widgetShadow)},inputBox:C.defaultInputBoxStyles,toggle:C.defaultToggleStyles,countBadge:C.defaultCountBadgeStyles,button:C.defaultButtonStyles,progressBar:C.defaultProgressBarStyles,keybindingLabel:C.defaultKeybindingLabelStyles,list:(0,C.getListStyles)({listBackground:s.quickInputBackground,listFocusBackground:s.quickInputListFocusBackground,listFocusForeground:s.quickInputListFocusForeground,listInactiveFocusForeground:s.quickInputListFocusForeground,listInactiveSelectionIconForeground:s.quickInputListFocusIconForeground,listInactiveFocusBackground:s.quickInputListFocusBackground,listFocusOutline:s.activeContrastBorder,listInactiveFocusOutline:s.activeContrastBorder}),pickerGroup:{pickerGroupBorder:(0,s.asCssVariable)(s.pickerGroupBorder),pickerGroupForeground:(0,s.asCssVariable)(s.pickerGroupForeground)}}}};e.QuickInputService=t,e.QuickInputService=t=ke([fe(0,D.IInstantiationService),fe(1,y.IContextKeyService),fe(2,i.IThemeService),fe(3,S.ILayoutService)],t)}),define(ne[869],se([1,0,16,23,19,8,15,338,33,868,99,470]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputEditorWidget=e.QuickInputEditorContribution=e.StandaloneQuickInputService=void 0;let s=class extends g.QuickInputService{constructor(u,h,r,c,o){super(h,r,c,new f.EditorScopedLayoutService(u.getContainerDomNode(),o)),this.host=void 0;const d=n.get(u);if(d){const l=d.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return l.getDomNode()},get dimension(){return u.getLayoutInfo()},get onDidLayout(){return u.onDidLayoutChange},focus:()=>u.focus(),offset:{top:0,quickPickTop:0}}}else this.host=void 0}createController(){return super.createController(this.host)}};s=ke([fe(1,D.IInstantiationService),fe(2,S.IContextKeyService),fe(3,k.IThemeService),fe(4,_.ICodeEditorService)],s);let i=class{get activeService(){const u=this.codeEditorService.getFocusedCodeEditor();if(!u)throw new Error("Quick input service needs a focused editor to work.");let h=this.mapEditorToService.get(u);if(!h){const r=h=this.instantiationService.createInstance(s,u);this.mapEditorToService.set(u,h),(0,C.once)(u.onDidDispose)(()=>{r.dispose(),this.mapEditorToService.delete(u)})}return h}get quickAccess(){return this.activeService.quickAccess}constructor(u,h){this.instantiationService=u,this.codeEditorService=h,this.mapEditorToService=new Map}pick(u,h={},r=y.CancellationToken.None){return this.activeService.pick(u,h,r)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};e.StandaloneQuickInputService=i,e.StandaloneQuickInputService=i=ke([fe(0,D.IInstantiationService),fe(1,_.ICodeEditorService)],i);class n{static get(u){return u.getContribution(n.ID)}constructor(u){this.editor=u,this.widget=new t(this.editor)}dispose(){this.widget.dispose()}}e.QuickInputEditorContribution=n,n.ID="editor.controller.quickInput";class t{constructor(u){this.codeEditor=u,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return t.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}e.QuickInputEditorWidget=t,t.ID="editor.contrib.quickInputWidget",(0,L.registerEditorContribution)(n.ID,n,4)}),define(ne[192],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoSource=e.UndoRedoGroup=e.ResourceEditStackSnapshot=e.IUndoRedoService=void 0,e.IUndoRedoService=(0,L.createDecorator)("undoRedoService");class k{constructor(f,_){this.resource=f,this.elements=_}}e.ResourceEditStackSnapshot=k;class y{constructor(){this.id=y._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoGroup=y,y._ID=0,y.None=new y;class D{constructor(){this.id=D._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoSource=D,D._ID=0,D.None=new D}),define(ne[40],se([1,0,14,38,9,6,2,11,22,122,202,66,12,5,24,175,41,32,48,596,852,329,287,509,510,320,597,181,626,111,192]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.AttachedViews=e.ModelDecorationOptions=e.ModelDecorationInjectedTextOptions=e.ModelDecorationMinimapOptions=e.ModelDecorationGlyphMarginOptions=e.ModelDecorationOverviewRulerOptions=e.TextModel=e.createTextBuffer=e.createTextBufferFactoryFromSnapshot=e.createTextBufferFactory=void 0;function x(q){const z=new b.PieceTreeTextBufferBuilder;return z.acceptChunk(q),z.finish()}e.createTextBufferFactory=x;function T(q){const z=new b.PieceTreeTextBufferBuilder;let ee;for(;typeof(ee=q.read())=="string";)z.acceptChunk(ee);return z.finish()}e.createTextBufferFactoryFromSnapshot=T;function A(q,z){let ee;return typeof q=="string"?ee=x(q):r.isITextSnapshot(q)?ee=T(q):ee=q,ee.create(z)}e.createTextBuffer=A;let N=0;const F=999,O=1e4;class W{constructor(z){this._source=z,this._eos=!1}read(){if(this._eos)return null;const z=[];let ee=0,$=0;do{const re=this._source.read();if(re===null)return this._eos=!0,ee===0?null:z.join("");if(re.length>0&&(z[ee++]=re,$+=re.length),$>=64*1024)return z.join("")}while(!0)}}const U=()=>{throw new Error("Invalid change accessor")};let j=P=class extends S.Disposable{static resolveOptions(z,ee){if(ee.detectIndentation){const $=(0,p.guessIndentation)(z,ee.tabSize,ee.insertSpaces);return new r.TextModelResolvedOptions({tabSize:$.tabSize,indentSize:"tabSize",insertSpaces:$.insertSpaces,trimAutoWhitespace:ee.trimAutoWhitespace,defaultEOL:ee.defaultEOL,bracketPairColorizationOptions:ee.bracketPairColorizationOptions})}return new r.TextModelResolvedOptions(ee)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(z){return this._eventEmitter.slowEvent(ee=>z(ee.contentChangedEvent))}onDidChangeContentOrInjectedText(z){return(0,S.combinedDisposable)(this._eventEmitter.fastEvent(ee=>z(ee)),this._onDidChangeInjectedText.event(ee=>z(ee)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(z,ee,$,re=null,oe,ge,ve){super(),this._undoRedoService=oe,this._languageService=ge,this._languageConfigurationService=ve,this._onWillDispose=this._register(new D.Emitter),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new de(Me=>this.handleBeforeFireDecorationsChangedEvent(Me))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new D.Emitter),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new D.Emitter),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new D.Emitter),this._eventEmitter=this._register(new he),this._languageSelectionListener=this._register(new S.MutableDisposable),this._deltaDecorationCallCnt=0,this._attachedViews=new ue,N++,this.id="$model"+N,this.isForSimpleWidget=$.isForSimpleWidget,typeof re>"u"||re===null?this._associatedResource=_.URI.parse("inmemory://model/"+N):this._associatedResource=re,this._attachedEditorCount=0;const{textBuffer:Se,disposable:Le}=A(z,$.defaultEOL);this._buffer=Se,this._bufferDisposable=Le,this._options=P.resolveOptions(this._buffer,$);const De=typeof ee=="string"?ee:ee.languageId;typeof ee!="string"&&(this._languageSelectionListener.value=ee.onDidChange(()=>this._setLanguage(ee.languageId))),this._bracketPairs=this._register(new c.BracketPairsTextModelPart(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new l.GuidesTextModelPart(this,this._languageConfigurationService)),this._decorationProvider=this._register(new o.ColorizedBracketPairsDecorationProvider(this)),this._tokenizationTextModelPart=new E.TokenizationTextModelPart(this._languageService,this._languageConfigurationService,this,this._bracketPairs,De,this._attachedViews);const ye=this._buffer.getLineCount(),Ee=this._buffer.getValueLengthInRange(new n.Range(1,1,ye,this._buffer.getLineLength(ye)+1),0);$.largeFileOptimizations?this._isTooLargeForTokenization=Ee>P.LARGE_FILE_SIZE_THRESHOLD||ye>P.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=Ee>P._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=f.singleLetterHash(N),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager=new d.EditStack(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(De)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;const z=new v.PieceTreeTextBuffer([],"",` -`,!1,!1,!0,!0);z.dispose(),this._buffer=z,this._bufferDisposable=S.Disposable.None}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(z,ee){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(ee),this._bracketPairs.handleDidChangeContent(ee),this._eventEmitter.fire(new I.InternalModelContentChangeEvent(z,ee)))}setValue(z){if(this._assertNotDisposed(),z==null)throw(0,y.illegalArgument)();const{textBuffer:ee,disposable:$}=A(z,this._options.defaultEOL);this._setValueFromTextBuffer(ee,$)}_createContentChanged2(z,ee,$,re,oe,ge,ve,Se){return{changes:[{range:z,rangeOffset:ee,rangeLength:$,text:re}],eol:this._buffer.getEOL(),isEolChange:Se,versionId:this.getVersionId(),isUndoing:oe,isRedoing:ge,isFlush:ve}}_setValueFromTextBuffer(z,ee){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._buffer=z,this._bufferDisposable.dispose(),this._bufferDisposable=ee,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawFlush],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!0,!1))}setEOL(z){this._assertNotDisposed();const ee=z===1?`\r -`:` -`;if(this._buffer.getEOL()===ee)return;const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._onBeforeEOLChange(),this._buffer.setEOL(ee),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawEOLChanged],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const z=this.getVersionId(),ee=this._decorationsTree.collectNodesPostOrder();for(let $=0,re=ee.length;$0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let z=0,ee=0;const $=this._buffer.getLineCount();for(let re=1;re<=$;re++){const oe=this._buffer.getLineLength(re);oe>=O?ee+=oe:z+=oe}return ee>z}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(z){this._assertNotDisposed();const ee=typeof z.tabSize<"u"?z.tabSize:this._options.tabSize,$=typeof z.indentSize<"u"?z.indentSize:this._options.originalIndentSize,re=typeof z.insertSpaces<"u"?z.insertSpaces:this._options.insertSpaces,oe=typeof z.trimAutoWhitespace<"u"?z.trimAutoWhitespace:this._options.trimAutoWhitespace,ge=typeof z.bracketColorizationOptions<"u"?z.bracketColorizationOptions:this._options.bracketPairColorizationOptions,ve=new r.TextModelResolvedOptions({tabSize:ee,indentSize:$,insertSpaces:re,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:oe,bracketPairColorizationOptions:ge});if(this._options.equals(ve))return;const Se=this._options.createChangeEvent(ve);this._options=ve,this._bracketPairs.handleDidChangeOptions(Se),this._decorationProvider.handleDidChangeOptions(Se),this._onDidChangeOptions.fire(Se)}detectIndentation(z,ee){this._assertNotDisposed();const $=(0,p.guessIndentation)(this._buffer,ee,z);this.updateOptions({insertSpaces:$.insertSpaces,tabSize:$.tabSize,indentSize:$.tabSize})}normalizeIndentation(z){return this._assertNotDisposed(),(0,C.normalizeIndentation)(z,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(z=null){const ee=this.findMatches(f.UNUSUAL_LINE_TERMINATORS.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(z,ee.map($=>({range:$.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(z){this._assertNotDisposed();const ee=this._validatePosition(z.lineNumber,z.column,0);return this._buffer.getOffsetAt(ee.lineNumber,ee.column)}getPositionAt(z){this._assertNotDisposed();const ee=Math.min(this._buffer.getLength(),Math.max(0,z));return this._buffer.getPositionAt(ee)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(z){this._versionId=z}_overwriteAlternativeVersionId(z){this._alternativeVersionId=z}_overwriteInitialUndoRedoSnapshot(z){this._initialUndoRedoSnapshot=z}getValue(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueInRange($,z);return ee?this._buffer.getBOM()+re:re}createSnapshot(z=!1){return new W(this._buffer.createSnapshot(z))}getValueLength(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($,z);return ee?this._buffer.getBOM().length+re:re}getValueInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(z),ee)}getValueLengthInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(z),ee)}getCharacterCountInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(z),ee)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineContent(z)}getLineLength(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),this._buffer.getEOL()===` -`?0:1}getLineMinColumn(z){return this._assertNotDisposed(),1}getLineMaxColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)+1}getLineFirstNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(z)}getLineLastNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(z)}_validateRangeRelaxedNoAllocations(z){const ee=this._buffer.getLineCount(),$=z.startLineNumber,re=z.startColumn;let oe=Math.floor(typeof $=="number"&&!isNaN($)?$:1),ge=Math.floor(typeof re=="number"&&!isNaN(re)?re:1);if(oe<1)oe=1,ge=1;else if(oe>ee)oe=ee,ge=this.getLineMaxColumn(oe);else if(ge<=1)ge=1;else{const ye=this.getLineMaxColumn(oe);ge>=ye&&(ge=ye)}const ve=z.endLineNumber,Se=z.endColumn;let Le=Math.floor(typeof ve=="number"&&!isNaN(ve)?ve:1),De=Math.floor(typeof Se=="number"&&!isNaN(Se)?Se:1);if(Le<1)Le=1,De=1;else if(Le>ee)Le=ee,De=this.getLineMaxColumn(Le);else if(De<=1)De=1;else{const ye=this.getLineMaxColumn(Le);De>=ye&&(De=ye)}return $===oe&&re===ge&&ve===Le&&Se===De&&z instanceof n.Range&&!(z instanceof t.Selection)?z:new n.Range(oe,ge,Le,De)}_isValidPosition(z,ee,$){if(typeof z!="number"||typeof ee!="number"||isNaN(z)||isNaN(ee)||z<1||ee<1||(z|0)!==z||(ee|0)!==ee)return!1;const re=this._buffer.getLineCount();if(z>re)return!1;if(ee===1)return!0;const oe=this.getLineMaxColumn(z);if(ee>oe)return!1;if($===1){const ge=this._buffer.getLineCharCode(z,ee-2);if(f.isHighSurrogate(ge))return!1}return!0}_validatePosition(z,ee,$){const re=Math.floor(typeof z=="number"&&!isNaN(z)?z:1),oe=Math.floor(typeof ee=="number"&&!isNaN(ee)?ee:1),ge=this._buffer.getLineCount();if(re<1)return new i.Position(1,1);if(re>ge)return new i.Position(ge,this.getLineMaxColumn(ge));if(oe<=1)return new i.Position(re,1);const ve=this.getLineMaxColumn(re);if(oe>=ve)return new i.Position(re,ve);if($===1){const Se=this._buffer.getLineCharCode(re,oe-2);if(f.isHighSurrogate(Se))return new i.Position(re,oe-1)}return new i.Position(re,oe)}validatePosition(z){return this._assertNotDisposed(),z instanceof i.Position&&this._isValidPosition(z.lineNumber,z.column,1)?z:this._validatePosition(z.lineNumber,z.column,1)}_isValidRange(z,ee){const $=z.startLineNumber,re=z.startColumn,oe=z.endLineNumber,ge=z.endColumn;if(!this._isValidPosition($,re,0)||!this._isValidPosition(oe,ge,0))return!1;if(ee===1){const ve=re>1?this._buffer.getLineCharCode($,re-2):0,Se=ge>1&&ge<=this._buffer.getLineLength(oe)?this._buffer.getLineCharCode(oe,ge-2):0,Le=f.isHighSurrogate(ve),De=f.isHighSurrogate(Se);return!Le&&!De}return!0}validateRange(z){if(this._assertNotDisposed(),z instanceof n.Range&&!(z instanceof t.Selection)&&this._isValidRange(z,1))return z;const $=this._validatePosition(z.startLineNumber,z.startColumn,0),re=this._validatePosition(z.endLineNumber,z.endColumn,0),oe=$.lineNumber,ge=$.column,ve=re.lineNumber,Se=re.column;{const Le=ge>1?this._buffer.getLineCharCode(oe,ge-2):0,De=Se>1&&Se<=this._buffer.getLineLength(ve)?this._buffer.getLineCharCode(ve,Se-2):0,ye=f.isHighSurrogate(Le),Ee=f.isHighSurrogate(De);return!ye&&!Ee?new n.Range(oe,ge,ve,Se):oe===ve&&ge===Se?new n.Range(oe,ge-1,ve,Se-1):ye&&Ee?new n.Range(oe,ge-1,ve,Se+1):ye?new n.Range(oe,ge-1,ve,Se):new n.Range(oe,ge,ve,Se+1)}return new n.Range(oe,ge,ve,Se)}modifyPosition(z,ee){this._assertNotDisposed();const $=this.getOffsetAt(z)+ee;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,$)))}getFullModelRange(){this._assertNotDisposed();const z=this.getLineCount();return new n.Range(1,1,z,this.getLineMaxColumn(z))}findMatchesLineByLine(z,ee,$,re){return this._buffer.findMatchesLineByLine(z,ee,$,re)}findMatches(z,ee,$,re,oe,ge,ve=F){this._assertNotDisposed();let Se=null;ee!==null&&(Array.isArray(ee)||(ee=[ee]),ee.every(ye=>n.Range.isIRange(ye))&&(Se=ee.map(ye=>this.validateRange(ye)))),Se===null&&(Se=[this.getFullModelRange()]),Se=Se.sort((ye,Ee)=>ye.startLineNumber-Ee.startLineNumber||ye.startColumn-Ee.startColumn);const Le=[];Le.push(Se.reduce((ye,Ee)=>n.Range.areIntersecting(ye,Ee)?ye.plusRange(Ee):(Le.push(ye),Ee)));let De;if(!$&&z.indexOf(` -`)<0){const Ee=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Ee)return[];De=Me=>this.findMatchesLineByLine(Me,Ee,ge,ve)}else De=ye=>w.TextModelSearch.findMatches(this,new w.SearchParams(z,$,re,oe),ye,ge,ve);return Le.map(De).reduce((ye,Ee)=>ye.concat(Ee),[])}findNextMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);if(!$&&z.indexOf(` -`)<0){const Le=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Le)return null;const De=this.getLineCount();let ye=new n.Range(ve.lineNumber,ve.column,De,this.getLineMaxColumn(De)),Ee=this.findMatchesLineByLine(ye,Le,ge,1);return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge),Ee.length>0||(ye=new n.Range(1,1,ve.lineNumber,this.getLineMaxColumn(ve.lineNumber)),Ee=this.findMatchesLineByLine(ye,Le,ge,1),Ee.length>0)?Ee[0]:null}return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}findPreviousMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);return w.TextModelSearch.findPreviousMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(z){if((this.getEOL()===` -`?0:1)!==z)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(z)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(z){return z instanceof r.ValidAnnotatedEditOperation?z:new r.ValidAnnotatedEditOperation(z.identifier||null,this.validateRange(z.range),z.text,z.forceMoveMarkers||!1,z.isAutoWhitespaceEdit||!1,z._isTracked||!1)}_validateEditOperations(z){const ee=[];for(let $=0,re=z.length;$({range:this.validateRange(ve.range),text:ve.text}));let ge=!0;if(z)for(let ve=0,Se=z.length;veLe.endLineNumber,Fe=Le.startLineNumber>Me.endLineNumber;if(!Pe&&!Fe){De=!0;break}}if(!De){ge=!1;break}}if(ge)for(let ve=0,Se=this._trimAutoWhitespaceLines.length;vePe.endLineNumber)&&!(Le===Pe.startLineNumber&&Pe.startColumn===De&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(0)===` -`)&&!(Le===Pe.startLineNumber&&Pe.startColumn===1&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(Fe.length-1)===` -`)){ye=!1;break}}if(ye){const Ee=new n.Range(Le,1,Le,De);ee.push(new r.ValidAnnotatedEditOperation(null,Ee,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(z,ee,$,re)}_applyUndo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.newPosition),Se=this.getPositionAt(ge.newEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.oldText}});this._applyUndoRedoEdits(oe,ee,!0,!1,$,re)}_applyRedo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.oldPosition),Se=this.getPositionAt(ge.oldEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.newText}});this._applyUndoRedoEdits(oe,ee,!1,!0,$,re)}_applyUndoRedoEdits(z,ee,$,re,oe,ge){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=$,this._isRedoing=re,this.applyEdits(z,!1),this.setEOL(ee),this._overwriteAlternativeVersionId(oe)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(ge),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(z,ee=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const $=this._validateEditOperations(z);return this._doApplyEdits($,ee)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(z,ee){const $=this._buffer.getLineCount(),re=this._buffer.applyEdits(z,this._options.trimAutoWhitespace,ee),oe=this._buffer.getLineCount(),ge=re.changes;if(this._trimAutoWhitespaceLines=re.trimAutoWhitespaceLineNumbers,ge.length!==0){for(let Le=0,De=ge.length;Le=0;Ve--){const ze=Me+Ve,We=pe+Ve;Re.takeFromEndWhile(Oe=>Oe.lineNumber>We);const qe=Re.takeFromEndWhile(Oe=>Oe.lineNumber===We);ve.push(new I.ModelRawLineChanged(ze,this.getLineContent(We),qe))}if(ment.lineNumbernt.lineNumber===st)}ve.push(new I.ModelRawLinesInserted(ze+1,Me+_e,Ge,Oe))}Se+=le}this._emitContentChangedEvent(new I.ModelRawContentChangedEvent(ve,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:ge,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return re.reverseEdits===null?void 0:re.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(z){if(z===null||z.size===0)return;const $=Array.from(z).map(re=>new I.ModelRawLineChanged(re,this.getLineContent(re),this._getInjectedTextInLine(re)));this._onDidChangeInjectedText.fire(new I.ModelInjectedTextChangedEvent($))}changeDecorations(z,ee=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(ee,z)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(z,ee){const $={addDecoration:(oe,ge)=>this._deltaDecorationsImpl(z,[],[{range:oe,options:ge}])[0],changeDecoration:(oe,ge)=>{this._changeDecorationImpl(oe,ge)},changeDecorationOptions:(oe,ge)=>{this._changeDecorationOptionsImpl(oe,ce(ge))},removeDecoration:oe=>{this._deltaDecorationsImpl(z,[oe],[])},deltaDecorations:(oe,ge)=>oe.length===0&&ge.length===0?[]:this._deltaDecorationsImpl(z,oe,ge)};let re=null;try{re=ee($)}catch(oe){(0,y.onUnexpectedError)(oe)}return $.addDecoration=U,$.changeDecoration=U,$.changeDecorationOptions=U,$.removeDecoration=U,$.deltaDecorations=U,re}deltaDecorations(z,ee,$=0){if(this._assertNotDisposed(),z||(z=[]),z.length===0&&ee.length===0)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,y.onUnexpectedError)(new Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl($,z,ee)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(z){return this.getDecorationRange(z)}_setTrackedRange(z,ee,$){const re=z?this._decorations[z]:null;if(!re)return ee?this._deltaDecorationsImpl(0,[],[{range:ee,options:ae[$]}],!0)[0]:null;if(!ee)return this._decorationsTree.delete(re),delete this._decorations[re.id],null;const oe=this._validateRangeRelaxedNoAllocations(ee),ge=this._buffer.getOffsetAt(oe.startLineNumber,oe.startColumn),ve=this._buffer.getOffsetAt(oe.endLineNumber,oe.endColumn);return this._decorationsTree.delete(re),re.reset(this.getVersionId(),ge,ve,oe),re.setOptions(ae[$]),this._decorationsTree.insert(re),re.id}removeAllDecorationsWithOwnerId(z){if(this._isDisposed)return;const ee=this._decorationsTree.collectNodesFromOwner(z);for(let $=0,re=ee.length;$this.getLineCount()?[]:this.getLinesDecorations(z,z,ee,$)}getLinesDecorations(z,ee,$=0,re=!1,oe=!1){const ge=this.getLineCount(),ve=Math.min(ge,Math.max(1,z)),Se=Math.min(ge,Math.max(1,ee)),Le=this.getLineMaxColumn(Se),De=new n.Range(ve,1,Se,Le),ye=this._getDecorationsInRange(De,$,re,oe);return(0,L.pushMany)(ye,this._decorationProvider.getDecorationsInRange(De,$,re)),ye}getDecorationsInRange(z,ee=0,$=!1,re=!1,oe=!1){const ge=this.validateRange(z),ve=this._getDecorationsInRange(ge,ee,$,oe);return(0,L.pushMany)(ve,this._decorationProvider.getDecorationsInRange(ge,ee,$,re)),ve}getOverviewRulerDecorations(z=0,ee=!1){return this._decorationsTree.getAll(this,z,ee,!0,!1)}getInjectedTextDecorations(z=0){return this._decorationsTree.getAllInjectedText(this,z)}_getInjectedTextInLine(z){const ee=this._buffer.getOffsetAt(z,1),$=ee+this._buffer.getLineLength(z),re=this._decorationsTree.getInjectedTextInInterval(this,ee,$,0);return I.LineInjectedText.fromDecorations(re).filter(oe=>oe.lineNumber===z)}getAllDecorations(z=0,ee=!1){let $=this._decorationsTree.getAll(this,z,ee,!1,!1);return $=$.concat(this._decorationProvider.getAllDecorations(z,ee)),$}getAllMarginDecorations(z=0){return this._decorationsTree.getAll(this,z,!1,!1,!0)}_getDecorationsInRange(z,ee,$,re){const oe=this._buffer.getOffsetAt(z.startLineNumber,z.startColumn),ge=this._buffer.getOffsetAt(z.endLineNumber,z.endColumn);return this._decorationsTree.getAllInInterval(this,oe,ge,ee,$,re)}getRangeAt(z,ee){return this._buffer.getRangeAt(z,ee-z)}_changeDecorationImpl(z,ee){const $=this._decorations[z];if(!$)return;if($.options.after){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.endLineNumber)}if($.options.before){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.startLineNumber)}const re=this._validateRangeRelaxedNoAllocations(ee),oe=this._buffer.getOffsetAt(re.startLineNumber,re.startColumn),ge=this._buffer.getOffsetAt(re.endLineNumber,re.endColumn);this._decorationsTree.delete($),$.reset(this.getVersionId(),oe,ge,re),this._decorationsTree.insert($),this._onDidChangeDecorations.checkAffectedAndFire($.options),$.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.endLineNumber),$.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.startLineNumber)}_changeDecorationOptionsImpl(z,ee){const $=this._decorations[z];if(!$)return;const re=!!($.options.overviewRuler&&$.options.overviewRuler.color),oe=!!(ee.overviewRuler&&ee.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire($.options),this._onDidChangeDecorations.checkAffectedAndFire(ee),$.options.after||ee.after){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.endLineNumber)}if($.options.before||ee.before){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.startLineNumber)}re!==oe?(this._decorationsTree.delete($),$.setOptions(ee),this._decorationsTree.insert($)):$.setOptions(ee)}_deltaDecorationsImpl(z,ee,$,re=!1){const oe=this.getVersionId(),ge=ee.length;let ve=0;const Se=$.length;let Le=0;this._onDidChangeDecorations.beginDeferredEmit();try{const De=new Array(Se);for(;vethis._setLanguage(z.languageId,ee)),this._setLanguage(z.languageId,ee))}_setLanguage(z,ee){this.tokenization.setLanguageId(z,ee),this._languageService.requestRichLanguageFeatures(z)}getLanguageIdAtPosition(z,ee){return this.tokenization.getLanguageIdAtPosition(z,ee)}getWordAtPosition(z){return this._tokenizationTextModelPart.getWordAtPosition(z)}getWordUntilPosition(z){return this._tokenizationTextModelPart.getWordUntilPosition(z)}normalizePosition(z,ee){return z}getLineIndentColumn(z){return R(this.getLineContent(z))+1}};e.TextModel=j,j._MODEL_SYNC_LIMIT=50*1024*1024,j.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024,j.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3,j.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:a.EDITOR_MODEL_DEFAULTS.tabSize,indentSize:a.EDITOR_MODEL_DEFAULTS.indentSize,insertSpaces:a.EDITOR_MODEL_DEFAULTS.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:a.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,largeFileOptimizations:a.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,bracketPairColorizationOptions:a.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions},e.TextModel=j=P=ke([fe(4,M.IUndoRedoService),fe(5,u.ILanguageService),fe(6,h.ILanguageConfigurationService)],j);function R(q){let z=0;for(const ee of q)if(ee===" "||ee===" ")z++;else break;return z}function K(q){return!!(q.options.overviewRuler&&q.options.overviewRuler.color)}function G(q){return!!q.options.after||!!q.options.before}class Z{constructor(){this._decorationsTree0=new m.IntervalTree,this._decorationsTree1=new m.IntervalTree,this._injectedTextDecorationsTree=new m.IntervalTree}ensureAllNodesHaveRanges(z){this.getAll(z,0,!1,!1,!1)}_ensureNodesHaveRanges(z,ee){for(const $ of ee)$.range===null&&($.range=z.getRangeAt($.cachedAbsoluteStart,$.cachedAbsoluteEnd));return ee}getAllInInterval(z,ee,$,re,oe,ge){const ve=z.getVersionId(),Se=this._intervalSearch(ee,$,re,oe,ve,ge);return this._ensureNodesHaveRanges(z,Se)}_intervalSearch(z,ee,$,re,oe,ge){const ve=this._decorationsTree0.intervalSearch(z,ee,$,re,oe,ge),Se=this._decorationsTree1.intervalSearch(z,ee,$,re,oe,ge),Le=this._injectedTextDecorationsTree.intervalSearch(z,ee,$,re,oe,ge);return ve.concat(Se).concat(Le)}getInjectedTextInInterval(z,ee,$,re){const oe=z.getVersionId(),ge=this._injectedTextDecorationsTree.intervalSearch(ee,$,re,!1,oe,!1);return this._ensureNodesHaveRanges(z,ge).filter(ve=>ve.options.showIfCollapsed||!ve.range.isEmpty())}getAllInjectedText(z,ee){const $=z.getVersionId(),re=this._injectedTextDecorationsTree.search(ee,!1,$,!1);return this._ensureNodesHaveRanges(z,re).filter(oe=>oe.options.showIfCollapsed||!oe.range.isEmpty())}getAll(z,ee,$,re,oe){const ge=z.getVersionId(),ve=this._search(ee,$,re,ge,oe);return this._ensureNodesHaveRanges(z,ve)}_search(z,ee,$,re,oe){if($)return this._decorationsTree1.search(z,ee,re,oe);{const ge=this._decorationsTree0.search(z,ee,re,oe),ve=this._decorationsTree1.search(z,ee,re,oe),Se=this._injectedTextDecorationsTree.search(z,ee,re,oe);return ge.concat(ve).concat(Se)}}collectNodesFromOwner(z){const ee=this._decorationsTree0.collectNodesFromOwner(z),$=this._decorationsTree1.collectNodesFromOwner(z),re=this._injectedTextDecorationsTree.collectNodesFromOwner(z);return ee.concat($).concat(re)}collectNodesPostOrder(){const z=this._decorationsTree0.collectNodesPostOrder(),ee=this._decorationsTree1.collectNodesPostOrder(),$=this._injectedTextDecorationsTree.collectNodesPostOrder();return z.concat(ee).concat($)}insert(z){G(z)?this._injectedTextDecorationsTree.insert(z):K(z)?this._decorationsTree1.insert(z):this._decorationsTree0.insert(z)}delete(z){G(z)?this._injectedTextDecorationsTree.delete(z):K(z)?this._decorationsTree1.delete(z):this._decorationsTree0.delete(z)}getNodeRange(z,ee){const $=z.getVersionId();return ee.cachedVersionId!==$&&this._resolveNode(ee,$),ee.range===null&&(ee.range=z.getRangeAt(ee.cachedAbsoluteStart,ee.cachedAbsoluteEnd)),ee.range}_resolveNode(z,ee){G(z)?this._injectedTextDecorationsTree.resolveNode(z,ee):K(z)?this._decorationsTree1.resolveNode(z,ee):this._decorationsTree0.resolveNode(z,ee)}acceptReplace(z,ee,$,re){this._decorationsTree0.acceptReplace(z,ee,$,re),this._decorationsTree1.acceptReplace(z,ee,$,re),this._injectedTextDecorationsTree.acceptReplace(z,ee,$,re)}}function J(q){return q.replace(/[^a-z0-9\-_]/gi," ")}class X{constructor(z){this.color=z.color||"",this.darkColor=z.darkColor||""}}class H extends X{constructor(z){super(z),this._resolvedColor=null,this.position=typeof z.position=="number"?z.position:r.OverviewRulerLane.Center}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(z,ee){if(typeof z=="string")return z;const $=z?ee.getColor(z.id):null;return $?$.toString():""}}e.ModelDecorationOverviewRulerOptions=H;class B{constructor(z){var ee;this.position=(ee=z?.position)!==null&&ee!==void 0?ee:r.GlyphMarginLane.Left}}e.ModelDecorationGlyphMarginOptions=B;class V extends X{constructor(z){super(z),this.position=z.position}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(z,ee){return typeof z=="string"?k.Color.fromHex(z):ee.getColor(z.id)}}e.ModelDecorationMinimapOptions=V;class Y{static from(z){return z instanceof Y?z:new Y(z)}constructor(z){this.content=z.content||"",this.inlineClassName=z.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=z.attachedData||null,this.cursorStops=z.cursorStops||null}}e.ModelDecorationInjectedTextOptions=Y;class ie{static register(z){return new ie(z)}static createDynamic(z){return new ie(z)}constructor(z){var ee,$,re,oe,ge,ve;this.description=z.description,this.blockClassName=z.blockClassName?J(z.blockClassName):null,this.blockDoesNotCollapse=(ee=z.blockDoesNotCollapse)!==null&&ee!==void 0?ee:null,this.blockIsAfterEnd=($=z.blockIsAfterEnd)!==null&&$!==void 0?$:null,this.blockPadding=(re=z.blockPadding)!==null&&re!==void 0?re:null,this.stickiness=z.stickiness||0,this.zIndex=z.zIndex||0,this.className=z.className?J(z.className):null,this.shouldFillLineOnLineBreak=(oe=z.shouldFillLineOnLineBreak)!==null&&oe!==void 0?oe:null,this.hoverMessage=z.hoverMessage||null,this.glyphMarginHoverMessage=z.glyphMarginHoverMessage||null,this.isWholeLine=z.isWholeLine||!1,this.showIfCollapsed=z.showIfCollapsed||!1,this.collapseOnReplaceEdit=z.collapseOnReplaceEdit||!1,this.overviewRuler=z.overviewRuler?new H(z.overviewRuler):null,this.minimap=z.minimap?new V(z.minimap):null,this.glyphMargin=z.glyphMarginClassName?new B(z.glyphMargin):null,this.glyphMarginClassName=z.glyphMarginClassName?J(z.glyphMarginClassName):null,this.linesDecorationsClassName=z.linesDecorationsClassName?J(z.linesDecorationsClassName):null,this.firstLineDecorationClassName=z.firstLineDecorationClassName?J(z.firstLineDecorationClassName):null,this.marginClassName=z.marginClassName?J(z.marginClassName):null,this.inlineClassName=z.inlineClassName?J(z.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=z.beforeContentClassName?J(z.beforeContentClassName):null,this.afterContentClassName=z.afterContentClassName?J(z.afterContentClassName):null,this.after=z.after?Y.from(z.after):null,this.before=z.before?Y.from(z.before):null,this.hideInCommentTokens=(ge=z.hideInCommentTokens)!==null&&ge!==void 0?ge:!1,this.hideInStringTokens=(ve=z.hideInStringTokens)!==null&&ve!==void 0?ve:!1}}e.ModelDecorationOptions=ie,ie.EMPTY=ie.register({description:"empty"});const ae=[ie.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),ie.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),ie.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),ie.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function ce(q){return q instanceof ie?q:ie.createDynamic(q)}class de extends S.Disposable{constructor(z){super(),this.handleBeforeFire=z,this._actual=this._register(new D.Emitter),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var z;this._deferredCnt--,this._deferredCnt===0&&(this._shouldFireDeferred&&this.doFire(),(z=this._affectedInjectedTextLines)===null||z===void 0||z.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(z){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(z)}checkAffectedAndFire(z){this._affectsMinimap||(this._affectsMinimap=!!(z.minimap&&z.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(z.overviewRuler&&z.overviewRuler.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!z.glyphMarginClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){this._deferredCnt===0?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);const z={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(z)}}class he extends S.Disposable{constructor(){super(),this._fastEmitter=this._register(new D.Emitter),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new D.Emitter),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(z=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=z;const ee=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(ee),this._slowEmitter.fire(ee)}}fire(z){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(z):this._deferredEvent=z;return}this._fastEmitter.fire(z),this._slowEmitter.fire(z)}}class ue{constructor(){this._onDidChangeVisibleRanges=new D.Emitter,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){const z=new te(ee=>{this._onDidChangeVisibleRanges.fire({view:z,state:ee})});return this._views.add(z),z}detachView(z){this._views.delete(z),this._onDidChangeVisibleRanges.fire({view:z,state:void 0})}}e.AttachedViews=ue;class te{constructor(z){this.handleStateChange=z}setVisibleLines(z,ee){const $=z.map(re=>new s.LineRange(re.startLineNumber,re.endLineNumber+1));this.handleStateChange({visibleLineRanges:$,stabilized:ee})}}}),define(ne[362],se([1,0,25,55,26,40,609,62]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowRevertChange=e.diffDeleteDecorationEmpty=e.diffWholeLineDeleteDecoration=e.diffDeleteDecoration=e.diffAddDecorationEmpty=e.diffWholeLineAddDecoration=e.diffAddDecoration=e.diffLineDeleteDecorationBackground=e.diffLineAddDecorationBackground=e.diffLineDeleteDecorationBackgroundWithIndicator=e.diffLineAddDecorationBackgroundWithIndicator=e.diffRemoveIcon=e.diffInsertIcon=void 0,e.diffInsertIcon=(0,f.registerIcon)("diff-insert",L.Codicon.add,(0,S.localize)(0,null)),e.diffRemoveIcon=(0,f.registerIcon)("diff-remove",L.Codicon.remove,(0,S.localize)(1,null)),e.diffLineAddDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+y.ThemeIcon.asClassName(e.diffInsertIcon),marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+y.ThemeIcon.asClassName(e.diffRemoveIcon),marginClassName:"gutter-delete"}),e.diffLineAddDecorationBackground=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackground=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),e.diffAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),e.diffWholeLineAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),e.diffAddDecorationEmpty=D.ModelDecorationOptions.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),e.diffDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),e.diffWholeLineDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),e.diffDeleteDecorationEmpty=D.ModelDecorationOptions.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"}),e.arrowRevertChange=D.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new k.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,S.localize)(2,null)),glyphMarginClassName:"arrow-revert-change "+y.ThemeIcon.asClassName(L.Codicon.arrowRight),zIndex:10001})}),define(ne[870],se([1,0,2,42,362,323,102,12,5]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorDecorations=void 0;class g extends L.Disposable{constructor(s,i,n){super(),this._editors=s,this._diffModel=i,this._options=n,this._decorations=(0,k.derived)(t=>{var a;const u=(a=this._diffModel.read(t))===null||a===void 0?void 0:a.diff.read(t);if(!u)return null;const h=this._diffModel.read(t).movedTextToCompare.read(t),r=this._options.renderIndicators.read(t),c=this._options.showEmptyDecorations.read(t),o=[],d=[];if(!h)for(const p of u.mappings){if(p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||p.lineRangeMapping.originalRange.isEmpty)p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:y.diffWholeLineDeleteDecoration}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:y.diffWholeLineAddDecoration});else for(const m of p.lineRangeMapping.innerChanges||[])p.lineRangeMapping.originalRange.contains(m.originalRange.startLineNumber)&&o.push({range:m.originalRange,options:m.originalRange.isEmpty()&&c?y.diffDeleteDecorationEmpty:y.diffDeleteDecoration}),p.lineRangeMapping.modifiedRange.contains(m.modifiedRange.startLineNumber)&&d.push({range:m.modifiedRange,options:m.modifiedRange.isEmpty()&&c?y.diffAddDecorationEmpty:y.diffAddDecoration});!p.lineRangeMapping.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(t)&&!h&&d.push({range:_.Range.fromPositions(new f.Position(p.lineRangeMapping.modifiedRange.startLineNumber,1)),options:y.arrowRevertChange})}if(h)for(const p of h.changes){const m=p.originalRange.toInclusiveRange();m&&o.push({range:m,options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground});const v=p.modifiedRange.toInclusiveRange();v&&d.push({range:v,options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground});for(const b of p.innerChanges||[])o.push({range:b.originalRange,options:y.diffDeleteDecoration}),d.push({range:b.modifiedRange,options:y.diffAddDecoration})}const l=this._diffModel.read(t).activeMovedText.read(t);for(const p of u.movedTexts)o.push({range:p.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(p===l?" currentMove":""),blockPadding:[D.MovedBlocksLinesPart.movedCodeBlockPadding,0,D.MovedBlocksLinesPart.movedCodeBlockPadding,D.MovedBlocksLinesPart.movedCodeBlockPadding]}}),d.push({range:p.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(p===l?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:o,modifiedDecorations:d}}),this._register((0,S.applyObservableDecorations)(this._editors.original,this._decorations.map(t=>t?.originalDecorations||[]))),this._register((0,S.applyObservableDecorations)(this._editors.modified,this._decorations.map(t=>t?.modifiedDecorations||[])))}}e.DiffEditorDecorations=g}),define(ne[871],se([1,0,6,2,17,40,175,78,41,187,28,192,143,329,54,47,32]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.ModelService=void 0;function r(m){return m.toString()}function c(m){const v=new i.StringSHA1,b=m.createSnapshot();let w;for(;w=b.read();)v.update(w);return v.digest()}class o{constructor(v,b,w){this.model=v,this._modelEventListeners=new k.DisposableStore,this.model=v,this._modelEventListeners.add(v.onWillDispose(()=>b(v))),this._modelEventListeners.add(v.onDidChangeLanguage(E=>w(v,E)))}dispose(){this._modelEventListeners.dispose()}}const d=y.isLinux||y.isMacintosh?1:2;class l{constructor(v,b,w,E,I,M,P,x){this.uri=v,this.initialUndoRedoSnapshot=b,this.time=w,this.sharesUndoRedoStack=E,this.heapSize=I,this.sha1=M,this.versionId=P,this.alternativeVersionId=x}}let p=h=class extends k.Disposable{constructor(v,b,w,E,I){super(),this._configurationService=v,this._resourcePropertiesService=b,this._undoRedoService=w,this._languageService=E,this._languageConfigurationService=I,this._onModelAdded=this._register(new L.Emitter),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new L.Emitter),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new L.Emitter),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(M=>this._updateModelOptions(M))),this._updateModelOptions(void 0)}static _readModelOptions(v,b){var w;let E=S.EDITOR_MODEL_DEFAULTS.tabSize;if(v.editor&&typeof v.editor.tabSize<"u"){const O=parseInt(v.editor.tabSize,10);isNaN(O)||(E=O),E<1&&(E=1)}let I="tabSize";if(v.editor&&typeof v.editor.indentSize<"u"&&v.editor.indentSize!=="tabSize"){const O=parseInt(v.editor.indentSize,10);isNaN(O)||(I=Math.max(O,1))}let M=S.EDITOR_MODEL_DEFAULTS.insertSpaces;v.editor&&typeof v.editor.insertSpaces<"u"&&(M=v.editor.insertSpaces==="false"?!1:!!v.editor.insertSpaces);let P=d;const x=v.eol;x===`\r -`?P=2:x===` -`&&(P=1);let T=S.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace;v.editor&&typeof v.editor.trimAutoWhitespace<"u"&&(T=v.editor.trimAutoWhitespace==="false"?!1:!!v.editor.trimAutoWhitespace);let A=S.EDITOR_MODEL_DEFAULTS.detectIndentation;v.editor&&typeof v.editor.detectIndentation<"u"&&(A=v.editor.detectIndentation==="false"?!1:!!v.editor.detectIndentation);let N=S.EDITOR_MODEL_DEFAULTS.largeFileOptimizations;v.editor&&typeof v.editor.largeFileOptimizations<"u"&&(N=v.editor.largeFileOptimizations==="false"?!1:!!v.editor.largeFileOptimizations);let F=S.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions;return!((w=v.editor)===null||w===void 0)&&w.bracketPairColorization&&typeof v.editor.bracketPairColorization=="object"&&(F={enabled:!!v.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!v.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:b,tabSize:E,indentSize:I,insertSpaces:M,detectIndentation:A,defaultEOL:P,trimAutoWhitespace:T,largeFileOptimizations:N,bracketPairColorizationOptions:F}}_getEOL(v,b){if(v)return this._resourcePropertiesService.getEOL(v,b);const w=this._configurationService.getValue("files.eol",{overrideIdentifier:b});return w&&typeof w=="string"&&w!=="auto"?w:y.OS===3||y.OS===2?` -`:`\r -`}_shouldRestoreUndoStack(){const v=this._configurationService.getValue("files.restoreUndoStack");return typeof v=="boolean"?v:!0}getCreationOptions(v,b,w){const E=typeof v=="string"?v:v.languageId;let I=this._modelCreationOptionsByLanguageAndResource[E+b];if(!I){const M=this._configurationService.getValue("editor",{overrideIdentifier:E,resource:b}),P=this._getEOL(b,E);I=h._readModelOptions({editor:M,eol:P},w),this._modelCreationOptionsByLanguageAndResource[E+b]=I}return I}_updateModelOptions(v){const b=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const w=Object.keys(this._models);for(let E=0,I=w.length;Ev){const b=[];for(this._disposedModels.forEach(w=>{w.sharesUndoRedoStack||b.push(w)}),b.sort((w,E)=>w.time-E.time);b.length>0&&this._disposedModelsHeapSize>v;){const w=b.shift();this._removeDisposedModel(w.uri),w.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(w.initialUndoRedoSnapshot)}}}_createModelData(v,b,w,E){const I=this.getCreationOptions(b,w,E),M=new D.TextModel(v,b,I,w,this._undoRedoService,this._languageService,this._languageConfigurationService);if(w&&this._disposedModels.has(r(w))){const T=this._removeDisposedModel(w),A=this._undoRedoService.getElements(w),N=c(M)===T.sha1;if(N||T.sharesUndoRedoStack){for(const F of A.past)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);for(const F of A.future)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);this._undoRedoService.setElementsValidFlag(w,!0,F=>(0,n.isEditStackElement)(F)&&F.matchesResource(w)),N&&(M._overwriteVersionId(T.versionId),M._overwriteAlternativeVersionId(T.alternativeVersionId),M._overwriteInitialUndoRedoSnapshot(T.initialUndoRedoSnapshot))}else T.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(T.initialUndoRedoSnapshot)}const P=r(M.uri);if(this._models[P])throw new Error("ModelService: Cannot add model because it already exists!");const x=new o(M,T=>this._onWillDispose(T),(T,A)=>this._onDidChangeLanguage(T,A));return this._models[P]=x,x}createModel(v,b,w,E=!1){let I;return b?I=this._createModelData(v,b,w,E):I=this._createModelData(v,f.PLAINTEXT_LANGUAGE_ID,w,E),this._onModelAdded.fire(I.model),I.model}getModels(){const v=[],b=Object.keys(this._models);for(let w=0,E=b.length;w0||x.future.length>0){for(const T of x.past)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri));for(const T of x.future)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri))}}const P=h.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(I)if(!E&&M>P){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}else this._ensureDisposedModelsHeapSize(P-M),this._undoRedoService.setElementsValidFlag(v.uri,!1,x=>(0,n.isEditStackElement)(x)&&x.matchesResource(v.uri)),this._insertDisposedModel(new l(v.uri,w.model.getInitialUndoRedoSnapshot(),Date.now(),E,M,c(v),v.getVersionId(),v.getAlternativeVersionId()));else if(!E){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}delete this._models[b],w.dispose(),delete this._modelCreationOptionsByLanguageAndResource[v.getLanguageId()+v.uri],this._onModelRemoved.fire(v)}_onDidChangeLanguage(v,b){const w=b.oldLanguage,E=v.getLanguageId(),I=this.getCreationOptions(w,v.uri,v.isForSimpleWidget),M=this.getCreationOptions(E,v.uri,v.isForSimpleWidget);h._setModelOptionsForModel(v,M,I),this._onModelModeChanged.fire({model:v,oldLanguageId:w})}};e.ModelService=p,p.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024,e.ModelService=p=h=ke([fe(0,C.IConfigurationService),fe(1,g.ITextResourcePropertiesService),fe(2,s.IUndoRedoService),fe(3,_.ILanguageService),fe(4,u.ILanguageConfigurationService)],p)}),define(ne[872],se([1,0,14,12,5,209,40,111,211,532,281,67]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModelLinesFromModelAsIs=e.ViewModelLinesFromProjectedModel=void 0;class i{constructor(o,d,l,p,m,v,b,w,E,I){this._editorId=o,this.model=d,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=l,this._monospaceLineBreaksComputerFactory=p,this.fontInfo=m,this.tabSize=v,this.wrappingStrategy=b,this.wrappingColumn=w,this.wrappingIndent=E,this.wordBreak=I,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new u(this)}_constructLines(o,d){this.modelLineProjections=[],o&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const l=this.model.getLinesContent(),p=this.model.getInjectedTextDecorations(this._editorId),m=l.length,v=this.createLineBreaksComputer(),b=new L.ArrayQueue(f.LineInjectedText.fromDecorations(p));for(let A=0;AF.lineNumber===A+1);v.addRequest(l[A],N,d?d[A]:null)}const w=v.finalize(),E=[],I=this.hiddenAreasDecorationIds.map(A=>this.model.getDecorationRange(A)).sort(y.Range.compareRangesUsingStarts);let M=1,P=0,x=-1,T=x+1=M&&N<=P,O=(0,g.createModelLineProjection)(w[A],!F);E[A]=O.getViewLineCount(),this.modelLineProjections[A]=O}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new C.ConstantTimePrefixSumComputer(E)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(o=>this.model.getDecorationRange(o))}setHiddenAreas(o){const d=o.map(P=>this.model.validateRange(P)),l=n(d),p=this.hiddenAreasDecorationIds.map(P=>this.model.getDecorationRange(P)).sort(y.Range.compareRangesUsingStarts);if(l.length===p.length){let P=!1;for(let x=0;x({range:P,options:S.ModelDecorationOptions.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,m);const v=l;let b=1,w=0,E=-1,I=E+1=b&&x<=w?this.modelLineProjections[P].isVisible()&&(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!1),T=!0):(M=!0,this.modelLineProjections[P].isVisible()||(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!0),T=!0)),T){const A=this.modelLineProjections[P].getViewLineCount();this.projectedModelLineLineCounts.setValue(P,A)}}return M||this.setHiddenAreas([]),!0}modelPositionIsVisible(o,d){return o<1||o>this.modelLineProjections.length?!1:this.modelLineProjections[o-1].isVisible()}getModelLineViewLineCount(o){return o<1||o>this.modelLineProjections.length?1:this.modelLineProjections[o-1].getViewLineCount()}setTabSize(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)}setWrappingSettings(o,d,l,p,m){const v=this.fontInfo.equals(o),b=this.wrappingStrategy===d,w=this.wrappingColumn===l,E=this.wrappingIndent===p,I=this.wordBreak===m;if(v&&b&&w&&E&&I)return!1;const M=v&&b&&!w&&E&&I;this.fontInfo=o,this.wrappingStrategy=d,this.wrappingColumn=l,this.wrappingIndent=p,this.wordBreak=m;let P=null;if(M){P=[];for(let x=0,T=this.modelLineProjections.length;x2&&!this.modelLineProjections[d-2].isVisible(),v=d===1?1:this.projectedModelLineLineCounts.getPrefixSum(d-1)+1;let b=0;const w=[],E=[];for(let I=0,M=p.length;Iw?(I=this.projectedModelLineLineCounts.getPrefixSum(d-1)+1,M=I+w-1,T=M+1,A=T+(m-w)-1,E=!0):md?d:o|0}getActiveIndentGuide(o,d,l){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d),l=this._toValidViewLineNumber(l);const p=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),m=this.convertViewPositionToModelPosition(d,this.getViewLineMinColumn(d)),v=this.convertViewPositionToModelPosition(l,this.getViewLineMinColumn(l)),b=this.model.guides.getActiveIndentGuide(p.lineNumber,m.lineNumber,v.lineNumber),w=this.convertModelPositionToViewPosition(b.startLineNumber,1),E=this.convertModelPositionToViewPosition(b.endLineNumber,this.model.getLineMaxColumn(b.endLineNumber));return{startLineNumber:w.lineNumber,endLineNumber:E.lineNumber,indent:b.indent}}getViewLineInfo(o){o=this._toValidViewLineNumber(o);const d=this.projectedModelLineLineCounts.getIndexOf(o-1),l=d.index,p=d.remainder;return new t(l+1,p)}getMinColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getModelEndPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getViewLineInfosGroupedByModelRanges(o,d){const l=this.getViewLineInfo(o),p=this.getViewLineInfo(d),m=new Array;let v=this.getModelStartPositionOfViewLine(l),b=new Array;for(let w=l.modelLineNumber;w<=p.modelLineNumber;w++){const E=this.modelLineProjections[w-1];if(E.isVisible()){const I=w===l.modelLineNumber?l.modelLineWrappedLineIdx:0,M=w===p.modelLineNumber?p.modelLineWrappedLineIdx+1:E.getViewLineCount();for(let P=I;P{if(x.forWrappedLinesAfterColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesAfterColumn).lineNumber>=I.modelLineWrappedLineIdx||x.forWrappedLinesBeforeOrAtColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesBeforeOrAtColumn).lineNumberI.modelLineWrappedLineIdx)return}const A=this.convertModelPositionToViewPosition(I.modelLineNumber,x.horizontalLine.endColumn),N=this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.horizontalLine.endColumn);return N.lineNumber===I.modelLineWrappedLineIdx?new D.IndentGuide(x.visibleColumn,T,x.className,new D.IndentGuideHorizontalLine(x.horizontalLine.top,A.column),-1,-1):N.lineNumber!!x))}}return v}getViewLinesIndentGuides(o,d){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d);const l=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),p=this.convertViewPositionToModelPosition(d,this.getViewLineMaxColumn(d));let m=[];const v=[],b=[],w=l.lineNumber-1,E=p.lineNumber-1;let I=null;for(let T=w;T<=E;T++){const A=this.modelLineProjections[T];if(A.isVisible()){const N=A.getViewLineNumberOfModelPosition(0,T===w?l.column:1),F=A.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(T+1)),O=F-N+1;let W=0;O>1&&A.getViewLineMinColumn(this.model,T+1,F)===1&&(W=N===0?1:2),v.push(O),b.push(W),I===null&&(I=new k.Position(T+1,0))}else I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,T)),I=null)}I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,p.lineNumber)),I=null);const M=d-o+1,P=new Array(M);let x=0;for(let T=0,A=m.length;Td&&(T=!0,x=d-m+1),M.getViewLinesData(this.model,E+1,P,x,m-o,l,w),m+=x,T)break}return w}validateViewPosition(o,d,l){o=this._toValidViewLineNumber(o);const p=this.projectedModelLineLineCounts.getIndexOf(o-1),m=p.index,v=p.remainder,b=this.modelLineProjections[m],w=b.getViewLineMinColumn(this.model,m+1,v),E=b.getViewLineMaxColumn(this.model,m+1,v);dE&&(d=E);const I=b.getModelColumnOfViewPosition(v,d);return this.model.validatePosition(new k.Position(m+1,I)).equals(l)?new k.Position(o,d):this.convertModelPositionToViewPosition(l.lineNumber,l.column)}validateViewRange(o,d){const l=this.validateViewPosition(o.startLineNumber,o.startColumn,d.getStartPosition()),p=this.validateViewPosition(o.endLineNumber,o.endColumn,d.getEndPosition());return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}convertViewPositionToModelPosition(o,d){const l=this.getViewLineInfo(o),p=this.modelLineProjections[l.modelLineNumber-1].getModelColumnOfViewPosition(l.modelLineWrappedLineIdx,d);return this.model.validatePosition(new k.Position(l.modelLineNumber,p))}convertViewRangeToModelRange(o){const d=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),l=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new y.Range(d.lineNumber,d.column,l.lineNumber,l.column)}convertModelPositionToViewPosition(o,d,l=2,p=!1,m=!1){const v=this.model.validatePosition(new k.Position(o,d)),b=v.lineNumber,w=v.column;let E=b-1,I=!1;if(m)for(;E0&&!this.modelLineProjections[E].isVisible();)E--,I=!0;if(E===0&&!this.modelLineProjections[E].isVisible())return new k.Position(p?0:1,1);const M=1+this.projectedModelLineLineCounts.getPrefixSum(E);let P;return I?m?P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,1,l):P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,this.model.getLineMaxColumn(E+1),l):P=this.modelLineProjections[b-1].getViewPositionOfModelPosition(M,w,l),P}convertModelRangeToViewRange(o,d=0){if(o.isEmpty()){const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,d);return y.Range.fromPositions(l)}else{const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,1),p=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn,0);return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}}getViewLineNumberOfModelPosition(o,d){let l=o-1;if(this.modelLineProjections[l].isVisible()){const m=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(m,d)}for(;l>0&&!this.modelLineProjections[l].isVisible();)l--;if(l===0&&!this.modelLineProjections[l].isVisible())return 1;const p=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(p,this.model.getLineMaxColumn(l+1))}getDecorationsInRange(o,d,l,p,m){const v=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),b=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);if(b.lineNumber-v.lineNumber<=o.endLineNumber-o.startLineNumber)return this.model.getDecorationsInRange(new y.Range(v.lineNumber,1,b.lineNumber,b.column),d,l,p,m);let w=[];const E=v.lineNumber-1,I=b.lineNumber-1;let M=null;for(let A=E;A<=I;A++)if(this.modelLineProjections[A].isVisible())M===null&&(M=new k.Position(A+1,A===E?v.column:1));else if(M!==null){const F=this.model.getLineMaxColumn(A);w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,A,F),d,l,p)),M=null}M!==null&&(w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,b.lineNumber,b.column),d,l,p)),M=null),w.sort((A,N)=>{const F=y.Range.compareRangesUsingStarts(A.range,N.range);return F===0?A.idN.id?1:0:F});const P=[];let x=0,T=null;for(const A of w){const N=A.id;T!==N&&(T=N,P[x++]=A)}return P}getInjectedTextAt(o){const d=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[d.modelLineNumber-1].getInjectedTextAt(d.modelLineWrappedLineIdx,o.column)}normalizePosition(o,d){const l=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[l.modelLineNumber-1].normalizePosition(l.modelLineWrappedLineIdx,o,d)}getLineIndentColumn(o){const d=this.getViewLineInfo(o);return d.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(d.modelLineNumber):0}}e.ViewModelLinesFromProjectedModel=i;function n(c){if(c.length===0)return[];const o=c.slice();o.sort(y.Range.compareRangesUsingStarts);const d=[];let l=o[0].startLineNumber,p=o[0].endLineNumber;for(let m=1,v=o.length;mp+1?(d.push(new y.Range(l,1,p,1)),l=b.startLineNumber,p=b.endLineNumber):b.endLineNumber>p&&(p=b.endLineNumber)}return d.push(new y.Range(l,1,p,1)),d}class t{constructor(o,d){this.modelLineNumber=o,this.modelLineWrappedLineIdx=d}}class a{constructor(o,d){this.modelRange=o,this.viewLines=d}}class u{constructor(o){this._lines=o}convertViewPositionToModelPosition(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)}convertViewRangeToModelRange(o){return this._lines.convertViewRangeToModelRange(o)}validateViewPosition(o,d){return this._lines.validateViewPosition(o.lineNumber,o.column,d)}validateViewRange(o,d){return this._lines.validateViewRange(o,d)}convertModelPositionToViewPosition(o,d,l,p){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column,d,l,p)}convertModelRangeToViewRange(o,d){return this._lines.convertModelRangeToViewRange(o,d)}modelPositionIsVisible(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)}getModelLineViewLineCount(o){return this._lines.getModelLineViewLineCount(o)}getViewLineNumberOfModelPosition(o,d){return this._lines.getViewLineNumberOfModelPosition(o,d)}}class h{constructor(o){this.model=o}dispose(){}createCoordinatesConverter(){return new r(this)}getHiddenAreas(){return[]}setHiddenAreas(o){return!1}setTabSize(o){return!1}setWrappingSettings(o,d,l,p){return!1}createLineBreaksComputer(){const o=[];return{addRequest:(d,l,p)=>{o.push(null)},finalize:()=>o}}onModelFlushed(){}onModelLinesDeleted(o,d,l){return new _.ViewLinesDeletedEvent(d,l)}onModelLinesInserted(o,d,l,p){return new _.ViewLinesInsertedEvent(d,l)}onModelLineChanged(o,d,l){return[!1,new _.ViewLinesChangedEvent(d,1),null,null]}acceptVersionId(o){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(o,d,l){return{startLineNumber:o,endLineNumber:o,indent:0}}getViewLinesBracketGuides(o,d,l){return new Array(d-o+1).fill([])}getViewLinesIndentGuides(o,d){const l=d-o+1,p=new Array(l);for(let m=0;md)}getModelLineViewLineCount(o){return 1}getViewLineNumberOfModelPosition(o,d){return o}}}),define(ne[873],se([1,0,14,13,38,2,17,11,36,774,74,12,5,111,29,78,326,211,536,328,67,325,213,872]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModel=void 0;const m=!0;class v extends D.Disposable{constructor(T,A,N,F,O,W,U,j,R){if(super(),this.languageConfigurationService=U,this._themeService=j,this._attachedView=R,this.hiddenAreasModel=new E,this.previousHiddenAreas=[],this._editorId=T,this._configuration=A,this.model=N,this._eventDispatcher=new l.ViewModelEventDispatcher,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._updateConfigurationViewLineCount=this._register(new k.RunOnceScheduler(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=b.create(this.model),m&&this.model.isTooLargeForTokenization())this._lines=new p.ViewModelLinesFromModelAsIs(this.model);else{const K=this._configuration.options,G=K.get(49),Z=K.get(136),J=K.get(143),X=K.get(135),H=K.get(127);this._lines=new p.ViewModelLinesFromProjectedModel(this._editorId,this.model,F,O,G,this.model.getOptions().tabSize,Z,J.wrappingColumn,X,H)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new g.CursorsController(N,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new r.ViewLayout(this._configuration,this.getLineCount(),W)),this._register(this.viewLayout.onDidScroll(K=>{K.scrollTopChanged&&this._handleVisibleLinesChanged(),K.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new h.ViewScrollChangedEvent(K)),this._eventDispatcher.emitOutgoingEvent(new l.ScrollChangedEvent(K.oldScrollWidth,K.oldScrollLeft,K.oldScrollHeight,K.oldScrollTop,K.scrollWidth,K.scrollLeft,K.scrollHeight,K.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(K=>{this._eventDispatcher.emitOutgoingEvent(K)})),this._decorations=new d.ViewModelDecorations(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(K=>{try{const G=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(G,K)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(c.MinimapTokensColorTracker.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new h.ViewTokensColorsChangedEvent)})),this._register(this._themeService.onDidColorThemeChange(K=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new h.ViewThemeChangedEvent(K))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(T){this._eventDispatcher.addViewEventHandler(T)}removeViewEventHandler(T){this._eventDispatcher.removeViewEventHandler(T)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){const T=this.viewLayout.getLinesViewportData(),A=new i.Range(T.startLineNumber,this.getLineMinColumn(T.startLineNumber),T.endLineNumber,this.getLineMaxColumn(T.endLineNumber));return this._toModelVisibleRanges(A)}visibleLinesStabilized(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!0)}_handleVisibleLinesChanged(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!1)}setHasFocus(T){this._hasFocus=T,this._cursor.setHasFocus(T),this._eventDispatcher.emitSingleViewEvent(new h.ViewFocusChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.FocusChangedEvent(!T,T))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionStartEvent)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionEndEvent)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){const T=new s.Position(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),A=this.coordinatesConverter.convertViewPositionToModelPosition(T);return new P(A,this._viewportStart.startLineDelta)}return new P(null,0)}_onConfigurationChanged(T,A){const N=this._captureStableViewport(),F=this._configuration.options,O=F.get(49),W=F.get(136),U=F.get(143),j=F.get(135),R=F.get(127);this._lines.setWrappingSettings(O,W,U.wrappingColumn,j,R)&&(T.emitViewEvent(new h.ViewFlushedEvent),T.emitViewEvent(new h.ViewLineMappingChangedEvent),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(T),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),A.hasChanged(89)&&(this._decorations.reset(),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null))),T.emitViewEvent(new h.ViewConfigurationChangedEvent(A)),this.viewLayout.onConfigurationChanged(A),N.recoverViewportStart(this.coordinatesConverter,this.viewLayout),C.CursorConfiguration.shouldRecreate(A)&&(this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(T=>{try{const N=this._eventDispatcher.beginEmitViewEvents();let F=!1,O=!1;const W=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.changes:T.changes,U=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.versionId:null,j=this._lines.createLineBreaksComputer();for(const G of W)switch(G.changeType){case 4:{for(let Z=0;Z!H.ownerId||H.ownerId===this._editorId)),j.addRequest(J,X,null)}break}case 2:{let Z=null;G.injectedText&&(Z=G.injectedText.filter(J=>!J.ownerId||J.ownerId===this._editorId)),j.addRequest(G.detail,Z,null);break}}const R=j.finalize(),K=new L.ArrayQueue(R);for(const G of W)switch(G.changeType){case 1:{this._lines.onModelFlushed(),N.emitViewEvent(new h.ViewFlushedEvent),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),F=!0;break}case 3:{const Z=this._lines.onModelLinesDeleted(U,G.fromLineNumber,G.toLineNumber);Z!==null&&(N.emitViewEvent(Z),this.viewLayout.onLinesDeleted(Z.fromLineNumber,Z.toLineNumber)),F=!0;break}case 4:{const Z=K.takeCount(G.detail.length),J=this._lines.onModelLinesInserted(U,G.fromLineNumber,G.toLineNumber,Z);J!==null&&(N.emitViewEvent(J),this.viewLayout.onLinesInserted(J.fromLineNumber,J.toLineNumber)),F=!0;break}case 2:{const Z=K.dequeue(),[J,X,H,B]=this._lines.onModelLineChanged(U,G.lineNumber,Z);O=J,X&&N.emitViewEvent(X),H&&(N.emitViewEvent(H),this.viewLayout.onLinesInserted(H.fromLineNumber,H.toLineNumber)),B&&(N.emitViewEvent(B),this.viewLayout.onLinesDeleted(B.fromLineNumber,B.toLineNumber));break}case 5:break}U!==null&&this._lines.acceptVersionId(U),this.viewLayout.onHeightMaybeChanged(),!F&&O&&(N.emitViewEvent(new h.ViewLineMappingChangedEvent),N.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(N),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}const A=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&A){const N=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(N){const F=this.coordinatesConverter.convertModelPositionToViewPosition(N.getStartPosition()),O=this.viewLayout.getVerticalOffsetForLineNumber(F.lineNumber);this.viewLayout.setScrollPosition({scrollTop:O+this._viewportStart.startLineDelta},1)}}try{const N=this._eventDispatcher.beginEmitViewEvents();T instanceof n.InternalModelContentChangeEvent&&N.emitOutgoingEvent(new l.ModelContentChangedEvent(T.contentChangedEvent)),this._cursor.onModelContentChanged(N,T)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(T=>{const A=[];for(let N=0,F=T.ranges.length;N{this._eventDispatcher.emitSingleViewEvent(new h.ViewLanguageConfigurationEvent),this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageConfigurationChangedEvent(T))})),this._register(this.model.onDidChangeLanguage(T=>{this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageChangedEvent(T))})),this._register(this.model.onDidChangeOptions(T=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const A=this._eventDispatcher.beginEmitViewEvents();A.emitViewEvent(new h.ViewFlushedEvent),A.emitViewEvent(new h.ViewLineMappingChangedEvent),A.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(A),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelOptionsChangedEvent(T))})),this._register(this.model.onDidChangeDecorations(T=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new h.ViewDecorationsChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.ModelDecorationsChangedEvent(T))}))}setHiddenAreas(T,A){this.hiddenAreasModel.setHiddenAreas(A,T);const N=this.hiddenAreasModel.getMergedRanges();if(N===this.previousHiddenAreas)return;this.previousHiddenAreas=N;const F=this._captureStableViewport();let O=!1;try{const W=this._eventDispatcher.beginEmitViewEvents();O=this._lines.setHiddenAreas(N),O&&(W.emitViewEvent(new h.ViewFlushedEvent),W.emitViewEvent(new h.ViewLineMappingChangedEvent),W.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(W),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged()),F.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),O&&this._eventDispatcher.emitOutgoingEvent(new l.HiddenAreasChangedEvent)}getVisibleRangesPlusViewportAboveBelow(){const T=this._configuration.options.get(142),A=this._configuration.options.get(65),N=Math.max(20,Math.round(T.height/A)),F=this.viewLayout.getLinesViewportData(),O=Math.max(1,F.completelyVisibleStartLineNumber-N),W=Math.min(this.getLineCount(),F.completelyVisibleEndLineNumber+N);return this._toModelVisibleRanges(new i.Range(O,this.getLineMinColumn(O),W,this.getLineMaxColumn(W)))}getVisibleRanges(){const T=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(T)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(T){const A=this.coordinatesConverter.convertViewRangeToModelRange(T),N=this._lines.getHiddenAreas();if(N.length===0)return[A];const F=[];let O=0,W=A.startLineNumber,U=A.startColumn;const j=A.endLineNumber,R=A.endColumn;for(let K=0,G=N.length;Kj||(W"u")return this._reduceRestoreStateCompatibility(T);const A=this.model.validatePosition(T.firstPosition),N=this.coordinatesConverter.convertModelPositionToViewPosition(A),F=this.viewLayout.getVerticalOffsetForLineNumber(N.lineNumber)-T.firstPositionDeltaTop;return{scrollLeft:T.scrollLeft,scrollTop:F}}_reduceRestoreStateCompatibility(T){return{scrollLeft:T.scrollLeft,scrollTop:T.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(T,A,N){this._viewportStart.update(this,T)}getActiveIndentGuide(T,A,N){return this._lines.getActiveIndentGuide(T,A,N)}getLinesIndentGuides(T,A){return this._lines.getViewLinesIndentGuides(T,A)}getBracketGuidesInRangeByLine(T,A,N,F){return this._lines.getViewLinesBracketGuides(T,A,N,F)}getLineContent(T){return this._lines.getViewLineContent(T)}getLineLength(T){return this._lines.getViewLineLength(T)}getLineMinColumn(T){return this._lines.getViewLineMinColumn(T)}getLineMaxColumn(T){return this._lines.getViewLineMaxColumn(T)}getLineFirstNonWhitespaceColumn(T){const A=f.firstNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+1}getLineLastNonWhitespaceColumn(T){const A=f.lastNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+2}getMinimapDecorationsInRange(T){return this._decorations.getMinimapDecorationsInRange(T)}getDecorationsInViewport(T){return this._decorations.getDecorationsViewportData(T).decorations}getInjectedTextAt(T){return this._lines.getInjectedTextAt(T)}getViewportViewLineRenderingData(T,A){const F=this._decorations.getDecorationsViewportData(T).inlineDecorations[A-T.startLineNumber];return this._getViewLineRenderingData(A,F)}getViewLineRenderingData(T){const A=this._decorations.getInlineDecorationsOnLine(T);return this._getViewLineRenderingData(T,A)}_getViewLineRenderingData(T,A){const N=this.model.mightContainRTL(),F=this.model.mightContainNonBasicASCII(),O=this.getTabSize(),W=this._lines.getViewLineData(T);return W.inlineDecorations&&(A=[...A,...W.inlineDecorations.map(U=>U.toInlineDecoration(T))]),new o.ViewLineRenderingData(W.minColumn,W.maxColumn,W.content,W.continuesWithWrappedLine,N,F,W.tokens,A,O,W.startVisibleColumn)}getViewLineData(T){return this._lines.getViewLineData(T)}getMinimapLinesRenderingData(T,A,N){const F=this._lines.getViewLinesData(T,A,N);return new o.MinimapLinesRenderingData(this.getTabSize(),F)}getAllOverviewRulerDecorations(T){const A=this.model.getOverviewRulerDecorations(this._editorId,(0,_.filterValidationDecorations)(this._configuration.options)),N=new w;for(const F of A){const O=F.options,W=O.overviewRuler;if(!W)continue;const U=W.position;if(U===0)continue;const j=W.getColor(T.value),R=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.startLineNumber,F.range.startColumn),K=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.endLineNumber,F.range.endColumn);N.accept(j,O.zIndex,R,K,U)}return N.asArray}_invalidateDecorationsColorCache(){const T=this.model.getOverviewRulerDecorations();for(const A of T){const N=A.options.overviewRuler;N?.invalidateCachedColor();const F=A.options.minimap;F?.invalidateCachedColor()}}getValueInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueInRange(N,A)}getValueLengthInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueLengthInRange(N,A)}modifyPosition(T,A){const N=this.coordinatesConverter.convertViewPositionToModelPosition(T);return this.model.modifyPosition(N,A)}deduceModelPositionRelativeToViewPosition(T,A,N){const F=this.coordinatesConverter.convertViewPositionToModelPosition(T);this.model.getEOL().length===2&&(A<0?A-=N:A+=N);const W=this.model.getOffsetAt(F)+A;return this.model.getPositionAt(W)}getPlainTextToCopy(T,A,N){const F=N?`\r -`:this.model.getEOL();T=T.slice(0),T.sort(i.Range.compareRangesUsingStarts);let O=!1,W=!1;for(const j of T)j.isEmpty()?O=!0:W=!0;if(!W){if(!A)return"";const j=T.map(K=>K.startLineNumber);let R="";for(let K=0;K0&&j[K-1]===j[K]||(R+=this.model.getLineContent(j[K])+F);return R}if(O&&A){const j=[];let R=0;for(const K of T){const G=K.startLineNumber;K.isEmpty()?G!==R&&j.push(this.model.getLineContent(G)):j.push(this.model.getValueInRange(K,N?2:0)),R=G}return j.length===1?j[0]:j}const U=[];for(const j of T)j.isEmpty()||U.push(this.model.getValueInRange(j,N?2:0));return U.length===1?U[0]:U}getRichTextToCopy(T,A){const N=this.model.getLanguageId();if(N===a.PLAINTEXT_LANGUAGE_ID||T.length!==1)return null;let F=T[0];if(F.isEmpty()){if(!A)return null;const K=F.startLineNumber;F=new i.Range(K,this.model.getLineMinColumn(K),K,this.model.getLineMaxColumn(K))}const O=this._configuration.options.get(49),W=this._getColorMap(),j=/[:;\\\/<>]/.test(O.fontFamily)||O.fontFamily===_.EDITOR_FONT_DEFAULTS.fontFamily;let R;return j?R=_.EDITOR_FONT_DEFAULTS.fontFamily:(R=O.fontFamily,R=R.replace(/"/g,"'"),/[,']/.test(R)||/[+ ]/.test(R)&&(R=`'${R}'`),R=`${R}, ${_.EDITOR_FONT_DEFAULTS.fontFamily}`),{mode:N,html:`
    `+this._getHTMLToCopy(F,W)+"
    "}}_getHTMLToCopy(T,A){const N=T.startLineNumber,F=T.startColumn,O=T.endLineNumber,W=T.endColumn,U=this.getTabSize();let j="";for(let R=N;R<=O;R++){const K=this.model.tokenization.getLineTokens(R),G=K.getLineContent(),Z=R===N?F-1:0,J=R===O?W-1:G.length;G===""?j+="
    ":j+=(0,u.tokenizeLineToHTML)(G,K.inflate(),A,Z,J,U,S.isWindows)}return j}_getColorMap(){const T=t.TokenizationRegistry.getColorMap(),A=["#000000"];if(T)for(let N=1,F=T.length;Nthis._cursor.setStates(F,T,A,N))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(T){this._cursor.setCursorColumnSelectData(T)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(T){this._cursor.setPrevEditOperationType(T)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(T,A,N=0){this._withViewEventsCollector(F=>this._cursor.setSelections(F,T,A,N))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(T){this._withViewEventsCollector(A=>this._cursor.restoreState(A,T))}_executeCursorEdit(T){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new l.ReadOnlyEditAttemptEvent);return}this._withViewEventsCollector(T)}executeEdits(T,A,N){this._executeCursorEdit(F=>this._cursor.executeEdits(F,T,A,N))}startComposition(){this._executeCursorEdit(T=>this._cursor.startComposition(T))}endComposition(T){this._executeCursorEdit(A=>this._cursor.endComposition(A,T))}type(T,A){this._executeCursorEdit(N=>this._cursor.type(N,T,A))}compositionType(T,A,N,F,O){this._executeCursorEdit(W=>this._cursor.compositionType(W,T,A,N,F,O))}paste(T,A,N,F){this._executeCursorEdit(O=>this._cursor.paste(O,T,A,N,F))}cut(T){this._executeCursorEdit(A=>this._cursor.cut(A,T))}executeCommand(T,A){this._executeCursorEdit(N=>this._cursor.executeCommand(N,T,A))}executeCommands(T,A){this._executeCursorEdit(N=>this._cursor.executeCommands(N,T,A))}revealPrimaryCursor(T,A,N=!1){this._withViewEventsCollector(F=>this._cursor.revealPrimary(F,T,N,0,A,0))}revealTopMostCursor(T){const A=this._cursor.getTopMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealBottomMostCursor(T){const A=this._cursor.getBottomMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealRange(T,A,N,F,O){this._withViewEventsCollector(W=>W.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,F,A,O)))}changeWhitespace(T){this.viewLayout.changeWhitespace(T)&&(this._eventDispatcher.emitSingleViewEvent(new h.ViewZonesChangedEvent),this._eventDispatcher.emitOutgoingEvent(new l.ViewZonesChangedEvent))}_withViewEventsCollector(T){try{const A=this._eventDispatcher.beginEmitViewEvents();return T(A)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(T,A){return this._lines.normalizePosition(T,A)}getLineIndentColumn(T){return this._lines.getLineIndentColumn(T)}}e.ViewModel=v;class b{static create(T){const A=T._setTrackedRange(null,new i.Range(1,1,1,1),1);return new b(T,1,!1,A,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(T,A,N,F,O){this._model=T,this._viewLineNumber=A,this._isValid=N,this._modelTrackedRange=F,this._startLineDelta=O}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(T,A){const N=T.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(A,T.getLineMinColumn(A))),F=T.model._setTrackedRange(this._modelTrackedRange,new i.Range(N.lineNumber,N.column,N.lineNumber,N.column),1),O=T.viewLayout.getVerticalOffsetForLineNumber(A),W=T.viewLayout.getCurrentScrollTop();this._viewLineNumber=A,this._isValid=!0,this._modelTrackedRange=F,this._startLineDelta=W-O}invalidate(){this._isValid=!1}}class w{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(T,A,N,F,O){const W=this._asMap[T];if(W){const U=W.data,j=U[U.length-3],R=U[U.length-1];if(j===O&&R+1>=N){F>R&&(U[U.length-1]=F);return}U.push(O,N,F)}else{const U=new o.OverviewRulerDecorationsGroup(T,A,[O,N,F]);this._asMap[T]=U,this.asArray.push(U)}}}class E{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(T,A){const N=this.hiddenAreas.get(T);N&&M(N,A)||(this.hiddenAreas.set(T,A),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;const T=Array.from(this.hiddenAreas.values()).reduce((A,N)=>I(A,N),[]);return M(this.ranges,T)?this.ranges:(this.ranges=T,this.ranges)}}function I(x,T){const A=[];let N=0,F=0;for(;N{this._onDidChangeConfiguration.fire(Fe);const _e=this._configuration.options;if(Fe.hasChanged(142)){const me=_e.get(142);this._onDidLayoutChange.fire(me)}})),this._contextKeyService=this._register(oe.createScoped(this._domElement)),this._notificationService=ve,this._codeEditorService=$,this._commandService=re,this._themeService=ge,this._register(new X(this,this._contextKeyService)),this._register(new H(this,this._contextKeyService,De)),this._instantiationService=ee.createChild(new E.ServiceCollection([b.IContextKeyService,this._contextKeyService])),this._modelData=null,this._focusTracker=new B(te),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={};let Me;Array.isArray(z.contributions)?Me=z.contributions:Me=g.EditorExtensionsRegistry.getEditorContributions(),this._contributions.initialize(this,Me,this._instantiationService);for(const Fe of g.EditorExtensionsRegistry.getEditorActions()){if(this._actions.has(Fe.id)){(0,y.onUnexpectedError)(new Error(`Cannot have two actions with the same id ${Fe.id}`));continue}const _e=new r.InternalEditorAction(Fe.id,Fe.label,Fe.alias,(ye=Fe.precondition)!==null&&ye!==void 0?ye:void 0,()=>this._instantiationService.invokeFunction(me=>Promise.resolve(Fe.runEditorCommand(me,this,null))),this._contextKeyService);this._actions.set(_e.id,_e)}const Pe=()=>!this._configuration.options.get(89)&&this._configuration.options.get(35).enabled;this._register(new k.DragAndDropObserver(this._domElement,{onDragEnter:()=>{},onDragOver:Fe=>{if(!Pe())return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this.showDropIndicatorAt(_e.position)},onDrop:Fe=>we(this,void 0,void 0,function*(){if(!Pe()||(this.removeDropIndicator(),!Fe.dataTransfer))return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this._onDropIntoEditor.fire({position:_e.position,event:Fe})}),onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(te){var q;(q=this._modelData)===null||q===void 0||q.view.writeScreenReaderContent(te)}_createConfiguration(te,q,z){return new _.EditorConfiguration(te,q,this._domElement,z)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return c.EditorType.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(te){return this._instantiationService.invokeFunction(te)}updateOptions(te){this._configuration.updateOptions(te||{})}getOptions(){return this._configuration.options}getOption(te){return this._configuration.options.get(te)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(te){return this._modelData?A.WordOperations.getWordAtPosition(this._modelData.model,this._configuration.options.get(128),te):null}getValue(te=null){if(!this._modelData)return"";const q=!!(te&&te.preserveBOM);let z=0;return te&&te.lineEnding&&te.lineEnding===` -`?z=1:te&&te.lineEnding&&te.lineEnding===`\r -`&&(z=2),this._modelData.model.getValue(z,q)}setValue(te){this._modelData&&this._modelData.model.setValue(te)}getModel(){return this._modelData?this._modelData.model:null}setModel(te=null){const q=te;if(this._modelData===null&&q===null||this._modelData&&this._modelData.model===q)return;const z=this.hasTextFocus(),ee=this._detachModel();this._attachModel(q),z&&this.hasModel()&&this.focus();const $={oldModelUrl:ee?ee.uri:null,newModelUrl:q?q.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire($),this._postDetachModelCleanup(ee),this._contributions.onAfterModelAttached()}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(const te in this._decorationTypeSubtypes){const q=this._decorationTypeSubtypes[te];for(const z in q)this._removeDecorationType(te+"-"+z)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(te,q,z,ee){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(re.lineNumber,ee)}getTopForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,1,q):-1}getTopForPosition(te,q){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,q,!1):-1}static _getVerticalOffsetForPosition(te,q,z,ee=!1){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetForLineNumber(re.lineNumber,ee)}getBottomForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetAfterPosition(this._modelData,te,1,q):-1}setHiddenAreas(te,q){var z;(z=this._modelData)===null||z===void 0||z.viewModel.setHiddenAreas(te.map(ee=>u.Range.lift(ee)),q)}getVisibleColumnFromPosition(te){if(!this._modelData)return te.column;const q=this._modelData.model.validatePosition(te),z=this._modelData.model.getOptions().tabSize;return t.CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(q.lineNumber),q.column,z)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(te,q="api"){if(this._modelData){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,[{selectionStartLineNumber:te.lineNumber,selectionStartColumn:te.column,positionLineNumber:te.lineNumber,positionColumn:te.column}])}}_sendRevealRange(te,q,z,ee){if(!this._modelData)return;if(!u.Range.isIRange(te))throw new Error("Invalid arguments");const $=this._modelData.model.validateRange(te),re=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange($);this._modelData.viewModel.revealRange("api",z,re,q,ee)}revealLine(te,q=0){this._revealLine(te,0,q)}revealLineInCenter(te,q=0){this._revealLine(te,1,q)}revealLineInCenterIfOutsideViewport(te,q=0){this._revealLine(te,2,q)}revealLineNearTop(te,q=0){this._revealLine(te,5,q)}_revealLine(te,q,z){if(typeof te!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,te,1),q,!1,z)}revealPosition(te,q=0){this._revealPosition(te,0,!0,q)}revealPositionInCenter(te,q=0){this._revealPosition(te,1,!0,q)}revealPositionInCenterIfOutsideViewport(te,q=0){this._revealPosition(te,2,!0,q)}revealPositionNearTop(te,q=0){this._revealPosition(te,5,!0,q)}_revealPosition(te,q,z,ee){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),q,z,ee)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(te,q="api"){const z=h.Selection.isISelection(te),ee=u.Range.isIRange(te);if(!z&&!ee)throw new Error("Invalid arguments");if(z)this._setSelectionImpl(te,q);else if(ee){const $={selectionStartLineNumber:te.startLineNumber,selectionStartColumn:te.startColumn,positionLineNumber:te.endLineNumber,positionColumn:te.endColumn};this._setSelectionImpl($,q)}}_setSelectionImpl(te,q){if(!this._modelData)return;const z=new h.Selection(te.selectionStartLineNumber,te.selectionStartColumn,te.positionLineNumber,te.positionColumn);this._modelData.viewModel.setSelections(q,[z])}revealLines(te,q,z=0){this._revealLines(te,q,0,z)}revealLinesInCenter(te,q,z=0){this._revealLines(te,q,1,z)}revealLinesInCenterIfOutsideViewport(te,q,z=0){this._revealLines(te,q,2,z)}revealLinesNearTop(te,q,z=0){this._revealLines(te,q,5,z)}_revealLines(te,q,z,ee){if(typeof te!="number"||typeof q!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,q,1),z,!1,ee)}revealRange(te,q=0,z=!1,ee=!0){this._revealRange(te,z?1:0,ee,q)}revealRangeInCenter(te,q=0){this._revealRange(te,1,!0,q)}revealRangeInCenterIfOutsideViewport(te,q=0){this._revealRange(te,2,!0,q)}revealRangeNearTop(te,q=0){this._revealRange(te,5,!0,q)}revealRangeNearTopIfOutsideViewport(te,q=0){this._revealRange(te,6,!0,q)}revealRangeAtTop(te,q=0){this._revealRange(te,3,!0,q)}_revealRange(te,q,z,ee){if(!u.Range.isIRange(te))throw new Error("Invalid arguments");this._sendRevealRange(u.Range.lift(te),q,z,ee)}setSelections(te,q="api",z=0){if(this._modelData){if(!te||te.length===0)throw new Error("Invalid arguments");for(let ee=0,$=te.length;ee<$;ee++)if(!h.Selection.isISelection(te[ee]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,te,z)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollLeft:te},q)}}setScrollTop(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollTop:te},q)}}setScrollPosition(te,q=1){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPosition(te,q)}hasPendingScrollAnimation(){return this._modelData?this._modelData.viewModel.viewLayout.hasPendingScrollAnimation():!1}saveViewState(){if(!this._modelData)return null;const te=this._contributions.saveViewState(),q=this._modelData.viewModel.saveCursorState(),z=this._modelData.viewModel.saveState();return{cursorState:q,viewState:z,contributionsState:te}}restoreViewState(te){if(!this._modelData||!this._modelData.hasRealView)return;const q=te;if(q&&q.cursorState&&q.viewState){const z=q.cursorState;Array.isArray(z)?z.length>0&&this._modelData.viewModel.restoreCursorState(z):this._modelData.viewModel.restoreCursorState([z]),this._contributions.restoreViewState(q.contributionsState||{});const ee=this._modelData.viewModel.reduceRestoreState(q.viewState);this._modelData.view.restoreState(ee)}}handleInitialized(){var te;(te=this._getViewModel())===null||te===void 0||te.visibleLinesStabilized()}getContribution(te){return this._contributions.get(te)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){let te=this.getActions();return te=te.filter(q=>q.isSupported()),te}getAction(te){return this._actions.get(te)||null}trigger(te,q,z){switch(z=z||{},q){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(te);return;case"type":{const $=z;this._type(te,$.text||"");return}case"replacePreviousChar":{const $=z;this._compositionType(te,$.text||"",$.replaceCharCnt||0,0,0);return}case"compositionType":{const $=z;this._compositionType(te,$.text||"",$.replacePrevCharCnt||0,$.replaceNextCharCnt||0,$.positionDelta||0);return}case"paste":{const $=z;this._paste(te,$.text||"",$.pasteOnNewLine||!1,$.multicursorText||null,$.mode||null);return}case"cut":this._cut(te);return}const ee=this.getAction(q);if(ee){Promise.resolve(ee.run(z)).then(void 0,y.onUnexpectedError);return}this._modelData&&(this._triggerEditorCommand(te,q,z)||this._triggerCommand(q,z))}_triggerCommand(te,q){this._commandService.executeCommand(te,q)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(te){this._modelData&&(this._modelData.viewModel.endComposition(te),this._onDidCompositionEnd.fire())}_type(te,q){!this._modelData||q.length===0||(te==="keyboard"&&this._onWillType.fire(q),this._modelData.viewModel.type(q,te),te==="keyboard"&&this._onDidType.fire(q))}_compositionType(te,q,z,ee,$){this._modelData&&this._modelData.viewModel.compositionType(q,z,ee,$,te)}_paste(te,q,z,ee,$){if(!this._modelData||q.length===0)return;const re=this._modelData.viewModel,oe=re.getSelection().getStartPosition();re.paste(q,z,ee,te);const ge=re.getSelection().getStartPosition();te==="keyboard"&&this._onDidPaste.fire({range:new u.Range(oe.lineNumber,oe.column,ge.lineNumber,ge.column),languageId:$})}_cut(te){this._modelData&&this._modelData.viewModel.cut(te)}_triggerEditorCommand(te,q,z){const ee=g.EditorExtensionsRegistry.getEditorCommand(q);return ee?(z=z||{},z.source=te,this._instantiationService.invokeFunction($=>{Promise.resolve(ee.runEditorCommand($,this,z)).then(void 0,y.onUnexpectedError)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(te,q,z){if(!this._modelData||this._configuration.options.get(89))return!1;let ee;return z?Array.isArray(z)?ee=()=>z:ee=z:ee=()=>null,this._modelData.viewModel.executeEdits(te,q,ee),!0}executeCommand(te,q){this._modelData&&this._modelData.viewModel.executeCommand(q,te)}executeCommands(te,q){this._modelData&&this._modelData.viewModel.executeCommands(q,te)}createDecorationsCollection(te){return new V(this,te)}changeDecorations(te){return this._modelData?this._modelData.model.changeDecorations(te,this._id):null}getLineDecorations(te){return this._modelData?this._modelData.model.getLineDecorations(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}getDecorationsInRange(te){return this._modelData?this._modelData.model.getDecorationsInRange(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}deltaDecorations(te,q){return this._modelData?te.length===0&&q.length===0?te:this._modelData.model.deltaDecorations(te,q,this._id):[]}removeDecorations(te){!this._modelData||te.length===0||this._modelData.model.changeDecorations(q=>{q.deltaDecorations(te,[])})}removeDecorationsByType(te){const q=this._decorationTypeKeysToIds[te];q&&this.deltaDecorations(q,[]),this._decorationTypeKeysToIds.hasOwnProperty(te)&&delete this._decorationTypeKeysToIds[te],this._decorationTypeSubtypes.hasOwnProperty(te)&&delete this._decorationTypeSubtypes[te]}getLayoutInfo(){return this._configuration.options.get(142)}createOverviewRuler(te){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(te)}getContainerDomNode(){return this._domElement}getDomNode(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}delegateVerticalScrollbarPointerDown(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarPointerDown(te)}delegateScrollFromMouseWheelEvent(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateScrollFromMouseWheelEvent(te)}layout(te){this._configuration.observeContainer(te),this.render()}focus(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}hasTextFocus(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(te){const q={widget:te,position:te.getPosition()};this._contentWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(q)}layoutContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(z)}}removeContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];delete this._contentWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(z)}}addOverlayWidget(te){const q={widget:te,position:te.getPosition()};this._overlayWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(q)}layoutOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(z)}}removeOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];delete this._overlayWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(z)}}addGlyphMarginWidget(te){const q={widget:te,position:te.getPosition()};this._glyphMarginWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(q)}layoutGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(z)}}removeGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];delete this._glyphMarginWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(z)}}changeViewZones(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(te)}getTargetAtClientPoint(te,q){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(te,q)}getScrolledVisiblePosition(te){if(!this._modelData||!this._modelData.hasRealView)return null;const q=this._modelData.model.validatePosition(te),z=this._configuration.options,ee=z.get(142),$=j._getVerticalOffsetForPosition(this._modelData,q.lineNumber,q.column)-this.getScrollTop(),re=this._modelData.view.getOffsetForColumn(q.lineNumber,q.column)+ee.glyphMarginWidth+ee.lineNumbersWidth+ee.decorationsWidth-this.getScrollLeft();return{top:$,left:re,height:z.get(65)}}getOffsetForColumn(te,q){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(te,q)}render(te=!1){!this._modelData||!this._modelData.hasRealView||this._modelData.view.render(!0,te)}setAriaOptions(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(te)}applyFontInfo(te){(0,F.applyFontInfo)(te,this._configuration.options.get(49))}setBanner(te,q){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=te,this._configuration.setReservedHeight(te?q:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(te){if(!te){this._modelData=null;return}const q=[];this._domElement.setAttribute("data-mode-id",te.getLanguageId()),this._configuration.setIsDominatedByLongLines(te.isDominatedByLongLines()),this._configuration.setModelLineCount(te.getLineCount());const z=te.onBeforeAttached(),ee=new m.ViewModel(this._id,this._configuration,te,T.DOMLineBreaksComputerFactory.create(),x.MonospaceLineBreaksComputerFactory.create(this._configuration.options),oe=>k.scheduleAtNextAnimationFrame(oe),this.languageConfigurationService,this._themeService,z);q.push(te.onWillDispose(()=>this.setModel(null))),q.push(ee.onEvent(oe=>{switch(oe.kind){case 0:this._onDidContentSizeChange.fire(oe);break;case 1:this._editorTextFocus.setValue(oe.hasFocus);break;case 2:this._onDidScrollChange.fire(oe);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(oe.reachedMaxCursorCount){const Le=this.getOption(78),De=L.localize(0,null,Le);this._notificationService.prompt(I.Severity.Warning,De,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:L.localize(1,null),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}const ge=[];for(let Le=0,De=oe.selections.length;Le{this._paste("keyboard",$,re,oe,ge)},type:$=>{this._type("keyboard",$)},compositionType:($,re,oe,ge)=>{this._compositionType("keyboard",$,re,oe,ge)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:q={paste:($,re,oe,ge)=>{const ve={text:$,pasteOnNewLine:re,multicursorText:oe,mode:ge};this._commandService.executeCommand("paste",ve)},type:$=>{const re={text:$};this._commandService.executeCommand("type",re)},compositionType:($,re,oe,ge)=>{if(oe||ge){const ve={text:$,replacePrevCharCnt:re,replaceNextCharCnt:oe,positionDelta:ge};this._commandService.executeCommand("compositionType",ve)}else{const ve={text:$,replaceCharCnt:re};this._commandService.executeCommand("replacePreviousChar",ve)}},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const z=new i.ViewUserInputEvents(te.coordinatesConverter);return z.onKeyDown=$=>this._onKeyDown.fire($),z.onKeyUp=$=>this._onKeyUp.fire($),z.onContextMenu=$=>this._onContextMenu.fire($),z.onMouseMove=$=>this._onMouseMove.fire($),z.onMouseLeave=$=>this._onMouseLeave.fire($),z.onMouseDown=$=>this._onMouseDown.fire($),z.onMouseUp=$=>this._onMouseUp.fire($),z.onMouseDrag=$=>this._onMouseDrag.fire($),z.onMouseDrop=$=>this._onMouseDrop.fire($),z.onMouseDropCanceled=$=>this._onMouseDropCanceled.fire($),z.onMouseWheel=$=>this._onMouseWheel.fire($),[new s.View(q,this._configuration,this._themeService.getColorTheme(),te,z,this._overflowWidgetsDomNode,this._instantiationService),!0]}_postDetachModelCleanup(te){te?.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const te=this._modelData.model,q=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),q&&this._domElement.contains(q)&&this._domElement.removeChild(q),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),te}_removeDecorationType(te){this._codeEditorService.removeDecorationType(te)}hasModel(){return this._modelData!==null}showDropIndicatorAt(te){const q=[{range:new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),options:j.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(q),this.revealPosition(te,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(te,q){this._contextKeyService.createKey(te,q)}};e.CodeEditorWidget=G,G.dropIntoEditorDecorationOptions=d.ModelDecorationOptions.register({description:"workbench-dnd-target",className:"dnd-target"}),e.CodeEditorWidget=G=j=ke([fe(3,w.IInstantiationService),fe(4,C.ICodeEditorService),fe(5,v.ICommandService),fe(6,b.IContextKeyService),fe(7,M.IThemeService),fe(8,I.INotificationService),fe(9,P.IAccessibilityService),fe(10,N.ILanguageConfigurationService),fe(11,O.ILanguageFeaturesService)],G);class Z extends S.Disposable{constructor(te){super(),this._emitterOptions=te,this._onDidChangeToTrue=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(te){const q=te?2:1;this._value!==q&&(this._value=q,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}e.BooleanEventEmitter=Z;class J extends D.Emitter{constructor(te,q){super({deliveryQueue:q}),this._contributions=te}fire(te){this._contributions.onBeforeInteractionEvent(),super.fire(te)}}class X extends S.Disposable{constructor(te,q){super(),this._editor=te,q.createKey("editorId",te.getId()),this._editorSimpleInput=o.EditorContextKeys.editorSimpleInput.bindTo(q),this._editorFocus=o.EditorContextKeys.focus.bindTo(q),this._textInputFocus=o.EditorContextKeys.textInputFocus.bindTo(q),this._editorTextFocus=o.EditorContextKeys.editorTextFocus.bindTo(q),this._editorTabMovesFocus=o.EditorContextKeys.tabMovesFocus.bindTo(q),this._editorReadonly=o.EditorContextKeys.readOnly.bindTo(q),this._inDiffEditor=o.EditorContextKeys.inDiffEditor.bindTo(q),this._editorColumnSelection=o.EditorContextKeys.columnSelection.bindTo(q),this._hasMultipleSelections=o.EditorContextKeys.hasMultipleSelections.bindTo(q),this._hasNonEmptySelection=o.EditorContextKeys.hasNonEmptySelection.bindTo(q),this._canUndo=o.EditorContextKeys.canUndo.bindTo(q),this._canRedo=o.EditorContextKeys.canRedo.bindTo(q),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(U.TabFocus.onDidChangeTabFocus(()=>this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const te=this._editor.getOptions();this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")),this._editorReadonly.set(te.get(89)),this._inDiffEditor.set(te.get(60)),this._editorColumnSelection.set(te.get(21))}_updateFromSelection(){const te=this._editor.getSelections();te?(this._hasMultipleSelections.set(te.length>1),this._hasNonEmptySelection.set(te.some(q=>!q.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const te=this._editor.getModel();this._canUndo.set(!!(te&&te.canUndo())),this._canRedo.set(!!(te&&te.canRedo()))}}class H extends S.Disposable{constructor(te,q,z){super(),this._editor=te,this._contextKeyService=q,this._languageFeaturesService=z,this._langId=o.EditorContextKeys.languageId.bindTo(q),this._hasCompletionItemProvider=o.EditorContextKeys.hasCompletionItemProvider.bindTo(q),this._hasCodeActionsProvider=o.EditorContextKeys.hasCodeActionsProvider.bindTo(q),this._hasCodeLensProvider=o.EditorContextKeys.hasCodeLensProvider.bindTo(q),this._hasDefinitionProvider=o.EditorContextKeys.hasDefinitionProvider.bindTo(q),this._hasDeclarationProvider=o.EditorContextKeys.hasDeclarationProvider.bindTo(q),this._hasImplementationProvider=o.EditorContextKeys.hasImplementationProvider.bindTo(q),this._hasTypeDefinitionProvider=o.EditorContextKeys.hasTypeDefinitionProvider.bindTo(q),this._hasHoverProvider=o.EditorContextKeys.hasHoverProvider.bindTo(q),this._hasDocumentHighlightProvider=o.EditorContextKeys.hasDocumentHighlightProvider.bindTo(q),this._hasDocumentSymbolProvider=o.EditorContextKeys.hasDocumentSymbolProvider.bindTo(q),this._hasReferenceProvider=o.EditorContextKeys.hasReferenceProvider.bindTo(q),this._hasRenameProvider=o.EditorContextKeys.hasRenameProvider.bindTo(q),this._hasSignatureHelpProvider=o.EditorContextKeys.hasSignatureHelpProvider.bindTo(q),this._hasInlayHintsProvider=o.EditorContextKeys.hasInlayHintsProvider.bindTo(q),this._hasDocumentFormattingProvider=o.EditorContextKeys.hasDocumentFormattingProvider.bindTo(q),this._hasDocumentSelectionFormattingProvider=o.EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(q),this._hasMultipleDocumentFormattingProvider=o.EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(q),this._hasMultipleDocumentSelectionFormattingProvider=o.EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(q),this._isInWalkThrough=o.EditorContextKeys.isInWalkThroughSnippet.bindTo(q);const ee=()=>this._update();this._register(te.onDidChangeModel(ee)),this._register(te.onDidChangeModelLanguage(ee)),this._register(z.completionProvider.onDidChange(ee)),this._register(z.codeActionProvider.onDidChange(ee)),this._register(z.codeLensProvider.onDidChange(ee)),this._register(z.definitionProvider.onDidChange(ee)),this._register(z.declarationProvider.onDidChange(ee)),this._register(z.implementationProvider.onDidChange(ee)),this._register(z.typeDefinitionProvider.onDidChange(ee)),this._register(z.hoverProvider.onDidChange(ee)),this._register(z.documentHighlightProvider.onDidChange(ee)),this._register(z.documentSymbolProvider.onDidChange(ee)),this._register(z.referenceProvider.onDidChange(ee)),this._register(z.renameProvider.onDidChange(ee)),this._register(z.documentFormattingEditProvider.onDidChange(ee)),this._register(z.documentRangeFormattingEditProvider.onDidChange(ee)),this._register(z.signatureHelpProvider.onDidChange(ee)),this._register(z.inlayHintsProvider.onDidChange(ee)),ee()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const te=this._editor.getModel();if(!te){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(te.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(te)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(te)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(te)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(te)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(te)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(te)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(te)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(te)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(te)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(te)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(te)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(te)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(te)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(te)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(te)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(te).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._isInWalkThrough.set(te.uri.scheme===f.Schemas.walkThroughSnippet)})}}e.EditorModeContext=H;class B extends S.Disposable{constructor(te){super(),this._onChange=this._register(new D.Emitter),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(k.trackFocus(te)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}class V{get length(){return this._decorationIds.length}constructor(te,q){this._editor=te,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(q)&&q.length>0&&this.set(q)}onDidChange(te,q,z){return this._editor.onDidChangeModelDecorations(ee=>{this._isChangingDecorations||te.call(q,ee)},z)}getRange(te){return!this._editor.hasModel()||te>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[te])}getRanges(){if(!this._editor.hasModel())return[];const te=this._editor.getModel(),q=[];for(const z of this._decorationIds){const ee=te.getDecorationRange(z);ee&&q.push(ee)}return q}has(te){return this._decorationIds.includes(te.id)}clear(){this._decorationIds.length!==0&&this.set([])}set(te){try{this._isChangingDecorations=!0,this._editor.changeDecorations(q=>{this._decorationIds=q.deltaDecorations(this._decorationIds,te)})}finally{this._isChangingDecorations=!1}return this._decorationIds}}const Y=encodeURIComponent("");function ae(ue){return Y+encodeURIComponent(ue.toString())+ie}const ce=encodeURIComponent('');function he(ue){return ce+encodeURIComponent(ue.toString())+de}(0,M.registerThemingParticipant)((ue,te)=>{const q=ue.getColor(p.editorErrorForeground);q&&te.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${ae(q)}") repeat-x bottom left; }`);const z=ue.getColor(p.editorWarningForeground);z&&te.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${ae(z)}") repeat-x bottom left; }`);const ee=ue.getColor(p.editorInfoForeground);ee&&te.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${ae(ee)}") repeat-x bottom left; }`);const $=ue.getColor(p.editorHintForeground);$&&te.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${he($)}") no-repeat bottom left; }`);const re=ue.getColor(l.editorUnnecessaryCodeOpacity);re&&te.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${re.rgba.a}; }`)})}),define(ne[254],se([1,0,7,35,89,173,130,85,13,19,25,9,6,55,2,26,59,200,16,33,108,161,237,354,617,348,36,12,5,93,148,21,40,127,95,67,212,606,96,15,57,8,157,43,77,31,62,23,433]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H){"use strict";var B;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget=e.diffEditorWidgetTtPolicy=void 0;class V{constructor(me,le){this._contextMenuService=me,this._clipboardService=le,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(me){return me.filter(le=>!this._zonesMap[String(le.id)])}clean(me){this._zones.length>0&&me.changeViewZones(le=>{for(const pe of this._zones)le.removeZone(pe)}),this._zones=[],this._zonesMap={},me.changeDecorations(le=>{this._decorations=le.deltaDecorations(this._decorations,[])})}apply(me,le,pe,Ce){const be=Ce?o.StableEditorScrollState.capture(me):null;me.changeViewZones(Ie=>{var Ne;for(const Re of this._zones)Ie.removeZone(Re);for(const Re of this._inlineDiffMargins)Re.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let Re=0,Ve=pe.zones.length;Re{this._decorations=Ie.deltaDecorations(this._decorations,pe.decorations)}),le?.setZones(pe.overviewZones)}}let Y=0;const ie=(0,X.registerIcon)("diff-insert",C.Codicon.add,O.localize(0,null)),ae=(0,X.registerIcon)("diff-remove",C.Codicon.remove,O.localize(1,null));e.diffEditorWidgetTtPolicy=(0,y.createTrustedTypesPolicy)("diffEditorWidget",{createHTML:_e=>_e});const ce=O.localize(2,null);let de=B=class extends t.Disposable{constructor(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We){super(),this._editorProgressService=We,this._onDidDispose=this._register(new i.Emitter),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModel=this._register(new i.Emitter),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidUpdateDiff=this._register(new i.Emitter),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new i.Emitter),this._lastOriginalWarning=null,this._lastModifiedWarning=null,Ne.willCreateDiffEditor(),this._documentDiffProvider=this._register(Ie.createInstance(v.WorkerBasedDocumentDiffProvider,le)),this._register(this._documentDiffProvider.onDidChange(Oe=>this._beginUpdateDecorationsSoon())),this._codeEditorService=Ne,this._contextKeyService=this._register(be.createScoped(me)),this._instantiationService=Ie.createChild(new K.ServiceCollection([U.IContextKeyService,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=Re,this._notificationService=Ve,this._id=++Y,this._state=0,this._updatingDiffProgress=null,this._domElement=me,le=le||{},this._options=Pe(le,{enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showEmptyDecorations:!1,showMoves:!1},hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}),this.isEmbeddedDiffEditorKey=P.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService),this.isEmbeddedDiffEditorKey.set(typeof le.isInEmbeddedEditor<"u"?le.isInEmbeddedEditor:!1),this._updateDecorationsRunner=this._register(new _.RunOnceScheduler(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=(0,k.createFastDomNode)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(L.addStandardDisposableListener(this._overviewDomElement,L.EventType.POINTER_DOWN,Oe=>{this._modifiedEditor.delegateVerticalScrollbarPointerDown(Oe)})),this._register(L.addDisposableListener(this._overviewDomElement,L.EventType.MOUSE_WHEEL,Oe=>{this._modifiedEditor.delegateScrollFromMouseWheelEvent(Oe)},{passive:!1})),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new V(ze,Ce),this._modifiedEditorState=new V(ze,Ce),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new h.ElementSizeObserver(this._containerDomElement,le.dimension)),this._register(this._elementSizeObserver.onDidChange(()=>this._onDidContainerSizeChanged())),le.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(le,pe.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(le,pe.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=Ie.createInstance(p.DiffReview,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new ee(this._createDataSource(),this._options.enableSplitViewResizing,this._options.splitViewDefaultRatio)):this._setStrategy(new re(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(Re.onDidColorThemeChange(Oe=>{this._strategy&&this._strategy.applyColors(Oe)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)}));const qe=r.EditorExtensionsRegistry.getDiffEditorContributions();for(const Oe of qe)try{this._register(Ie.createInstance(Oe.ctor,this))}catch(Ge){(0,s.onUnexpectedError)(Ge)}this._codeEditorService.addDiffEditor(this)}_setState(me){this._state!==me&&(this._state=me,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}accessibleDiffViewerNext(){this._reviewPane.next()}accessibleDiffViewerPrev(){this._reviewPane.prev()}static _getClassName(me,le){let pe="monaco-diff-editor monaco-editor-background ";return le&&(pe+="side-by-side "),pe+=(0,H.getThemeTypeSelector)(me.type),pe}_disposeOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose(),this._originalOverviewRuler=null),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose(),this._modifiedOverviewRuler=null)}_createOverviewRulers(){this._options.renderOverviewRuler&&(f.ok(!this._originalOverviewRuler&&!this._modifiedOverviewRuler),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const Ce=this._contextKeyService.createKey("isInDiffLeftEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),pe}_createRightHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(pe.onDidChangeModelOptions(be=>{be.tabSize&&this._updateDecorationsRunner.schedule()}));const Ce=this._contextKeyService.createKey("isInDiffRightEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),this._register(pe.onMouseDown(be=>{var Ie,Ne;if(!be.event.rightButton&&be.target.position&&(!((Ie=be.target.element)===null||Ie===void 0)&&Ie.className.includes("arrow-revert-change"))){const Re=be.target.position.lineNumber,Ve=be.target,ze=(Ne=this._diffComputationResult)===null||Ne===void 0?void 0:Ne.changes.find(We=>Ve?.detail.afterLineNumber===We.modifiedStartLineNumber||We.modifiedEndLineNumber>0&&We.modifiedStartLineNumber===Re);ze&&this.revertChange(ze),be.event.stopPropagation(),this._updateDecorations();return}})),pe}revertChange(me){const le=this._modifiedEditor,pe=this._originalEditor.getModel(),Ce=this._modifiedEditor.getModel();if(!pe||!Ce||!le)return;const be=me.originalEndLineNumber>0?new E.Range(me.originalStartLineNumber,1,me.originalEndLineNumber,pe.getLineMaxColumn(me.originalEndLineNumber)):null,Ie=be?pe.getValueInRange(be):null,Ne=me.modifiedEndLineNumber>0?new E.Range(me.modifiedStartLineNumber,1,me.modifiedEndLineNumber,Ce.getLineMaxColumn(me.modifiedEndLineNumber)):null,Re=Ce.getEOL();if(me.originalEndLineNumber===0&&Ne){let Ve=Ne;me.modifiedStartLineNumber>1?Ve=Ne.setStartPosition(me.modifiedStartLineNumber-1,Ce.getLineMaxColumn(me.modifiedStartLineNumber-1)):me.modifiedEndLineNumberthis._beginUpdateDecorations(),B.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(me,le){return!me&&!le?!0:!me||!le?!1:me.toString()===le.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1);const me=this._originalEditor.getModel(),le=this._modifiedEditor.getModel();if(!me||!le)return;this._diffComputationToken++;const pe=this._diffComputationToken,Ce=this._options.maxFileSize*1024*1024,be=Ie=>{const Ne=Ie.getValueLength();return Ce===0||Ne<=Ce};if(!be(me)||!be(le)){(!B._equals(me.uri,this._lastOriginalWarning)||!B._equals(le.uri,this._lastModifiedWarning))&&(this._lastOriginalWarning=me.uri,this._lastModifiedWarning=le.uri,this._notificationService.warn(O.localize(3,null)));return}this._setState(1),this._documentDiffProvider.computeDiff(me,le,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace,maxComputationTimeMs:this._options.maxComputationTime,computeMoves:!1},g.CancellationToken.None).then(Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult={identical:Ie.identical,quitEarly:Ie.quitEarly,changes2:Ie.changes,changes:Ie.changes.map(Ne=>{let Re,Ve,ze,We,qe=Ne.innerChanges;return Ne.originalRange.isEmpty?(Re=Ne.originalRange.startLineNumber-1,Ve=0,qe=void 0):(Re=Ne.originalRange.startLineNumber,Ve=Ne.originalRange.endLineNumberExclusive-1),Ne.modifiedRange.isEmpty?(ze=Ne.modifiedRange.startLineNumber-1,We=0,qe=void 0):(ze=Ne.modifiedRange.startLineNumber,We=Ne.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:Re,originalEndLineNumber:Ve,modifiedStartLineNumber:ze,modifiedEndLineNumber:We,charChanges:qe?.map(Oe=>({originalStartLineNumber:Oe.originalRange.startLineNumber,originalStartColumn:Oe.originalRange.startColumn,originalEndLineNumber:Oe.originalRange.endLineNumber,originalEndColumn:Oe.originalRange.endColumn,modifiedStartLineNumber:Oe.modifiedRange.startLineNumber,modifiedStartColumn:Oe.modifiedRange.startColumn,modifiedEndLineNumber:Oe.modifiedRange.endLineNumber,modifiedEndColumn:Oe.modifiedRange.endColumn}))}})},this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())})}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;const me=this._diffComputationResult?this._diffComputationResult.changes:[],le=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),pe=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),Ce=this._options.renderMarginRevertIcon&&!this._modifiedEditor.getOption(89),be=this._strategy.getEditorsDiffDecorations(me,this._options.ignoreTrimWhitespace,this._options.renderIndicators,Ce,le,pe);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,be.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,be.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(me){const le=Object.assign({},me);return le.inDiffEditor=!0,le.automaticLayout=!1,le.scrollbar=Object.assign({},le.scrollbar||{}),le.scrollbar.vertical="visible",le.folding=!1,le.codeLens=this._options.diffCodeLens,le.fixedOverflowWidgets=!0,le.minimap=Object.assign({},le.minimap||{}),le.minimap.enabled=!1,le}_adjustOptionsForLeftHandSide(me){const le=this._adjustOptionsForSubEditor(me);return this._options.renderSideBySide?le.wordWrapOverride1=this._options.diffWordWrap:(le.wordWrapOverride1="off",le.wordWrapOverride2="off",le.stickyScroll={enabled:!1}),me.originalAriaLabel&&(le.ariaLabel=me.originalAriaLabel),this._updateAriaLabel(le),le.readOnly=!this._options.originalEditable,le.dropIntoEditor={enabled:!le.readOnly},le.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}_updateAriaLabel(me){var le;let pe=(le=me.ariaLabel)!==null&&le!==void 0?le:"";this._options.accessibilityVerbose?pe+=ce:pe&&(pe=pe.replaceAll(ce,"")),me.ariaLabel=pe}_adjustOptionsForRightHandSide(me){const le=this._adjustOptionsForSubEditor(me);return me.modifiedAriaLabel&&(le.ariaLabel=me.modifiedAriaLabel),this._updateAriaLabel(le),le.wordWrapOverride1=this._options.diffWordWrap,le.revealHorizontalRightPadding=b.EditorOptions.revealHorizontalRightPadding.defaultValue+B.ENTIRE_DIFF_OVERVIEW_WIDTH,le.scrollbar.verticalHasArrows=!1,le.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const me=this._elementSizeObserver.getWidth(),le=this._elementSizeObserver.getHeight(),pe=this._getReviewHeight(),Ce=this._strategy.layout();this._originalDomNode.style.width=Ce+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=me-Ce-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._modifiedDomNode.style.left=Ce+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=le-pe+"px",this._overviewDomElement.style.width=B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=me-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(B.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:Ce,height:le-pe}),this._modifiedEditor.layout({width:me-Ce-(this._options.renderOverviewRuler?B.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:le-pe}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(le-pe,me,pe),this._layoutOverviewViewport()}_layoutOverviewViewport(){const me=this._computeOverviewViewport();me?(this._overviewViewportDomElement.setTop(me.top),this._overviewViewportDomElement.setHeight(me.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){const me=this._modifiedEditor.getLayoutInfo();if(!me)return null;const le=this._modifiedEditor.getScrollTop(),pe=this._modifiedEditor.getScrollHeight(),Ce=Math.max(0,me.height),be=Math.max(0,Ce-2*0),Ie=pe>0?be/pe:0,Ne=Math.max(0,Math.floor(me.height*Ie)),Re=Math.floor(le*Ie);return{height:Ne,top:Re}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(me){var le;(le=this._strategy)===null||le===void 0||le.dispose(),this._strategy=me,this._boundarySashes&&me.setBoundarySashes(this._boundarySashes),me.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}};e.DiffEditorWidget=de,de.ONE_OVERVIEW_WIDTH=15,de.ENTIRE_DIFF_OVERVIEW_WIDTH=30,de.UPDATE_DIFF_DECORATIONS_DELAY=200,e.DiffEditorWidget=de=B=ke([fe(3,W.IClipboardService),fe(4,U.IContextKeyService),fe(5,R.IInstantiationService),fe(6,c.ICodeEditorService),fe(7,H.IThemeService),fe(8,G.INotificationService),fe(9,j.IContextMenuService),fe(10,Z.IEditorProgressService)],de);class he extends t.Disposable{constructor(me){super(),this._dataSource=me,this._insertColor=null,this._removeColor=null}applyColors(me){const le=me.getColor(J.diffOverviewRulerInserted)||(me.getColor(J.diffInserted)||J.defaultInsertColor).transparent(2),pe=me.getColor(J.diffOverviewRulerRemoved)||(me.getColor(J.diffRemoved)||J.defaultRemoveColor).transparent(2),Ce=!le.equals(this._insertColor)||!pe.equals(this._removeColor);return this._insertColor=le,this._removeColor=pe,Ce}getEditorsDiffDecorations(me,le,pe,Ce,be,Ie){Ie=Ie.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber),be=be.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber);const Ne=this._getViewZones(me,be,Ie,pe),Re=this._getOriginalEditorDecorations(Ne,me,le,pe),Ve=this._getModifiedEditorDecorations(Ne,me,le,pe,Ce);return{original:{decorations:Re.decorations,overviewZones:Re.overviewZones,zones:Ne.original},modified:{decorations:Ve.decorations,overviewZones:Ve.overviewZones,zones:Ne.modified}}}setBoundarySashes(me){}}class ue{constructor(me){this._source=me,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexat.afterLineNumber-ht.afterLineNumber,nt=(at,ht)=>{if(ht.domNode===null&&at.length>0){const Be=at[at.length-1];if(Be.afterLineNumber===ht.afterLineNumber&&Be.domNode===null){Be.heightInLines+=ht.heightInLines;return}}at.push(ht)},ot=new ue(this._modifiedForeignVZ),ct=new ue(this._originalForeignVZ);let lt=1,gt=1;for(let at=0,ht=this._lineChanges.length;at<=ht;at++){const Be=at0?-1:0),Oe=Be.modifiedStartLineNumber+(Be.modifiedEndLineNumber>0?-1:0),We=Be.originalEndLineNumber>0?te._getViewLineCount(this._originalEditor,Be.originalStartLineNumber,Be.originalEndLineNumber):0,ze=Be.modifiedEndLineNumber>0?te._getViewLineCount(this._modifiedEditor,Be.modifiedStartLineNumber,Be.modifiedEndLineNumber):0,Ge=Math.max(Be.originalStartLineNumber,Be.originalEndLineNumber),Qe=Math.max(Be.modifiedStartLineNumber,Be.modifiedEndLineNumber)):(qe+=1e7+We,Oe+=1e7+ze,Ge=qe,Qe=Oe);let Te=[],xe=[];if(be){let Ze;Be?Be.originalEndLineNumber>0?Ze=Be.originalStartLineNumber-lt:Ze=Be.modifiedStartLineNumber-gt:Ze=Ie.getLineCount()-lt+1;for(let Xe=0;XeKe&&xe.push({afterLineNumber:Ae,heightInLines:Ue-Ke,domNode:null,marginDomNode:null})}Be&&(lt=(Be.originalEndLineNumber>0?Be.originalEndLineNumber:Be.originalStartLineNumber)+1,gt=(Be.modifiedEndLineNumber>0?Be.modifiedEndLineNumber:Be.modifiedStartLineNumber)+1)}for(;ot.current&&ot.current.afterLineNumber<=Qe;){let Ze;ot.current.afterLineNumber<=Oe?Ze=qe-Oe+ot.current.afterLineNumber:Ze=Ge;let Xe=null;Be&&Be.modifiedStartLineNumber<=ot.current.afterLineNumber&&ot.current.afterLineNumber<=Be.modifiedEndLineNumber&&(Xe=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),Te.push({afterLineNumber:Ze,heightInLines:ot.current.height/le,domNode:null,marginDomNode:Xe}),ot.advance()}for(;ct.current&&ct.current.afterLineNumber<=Ge;){let Ze;ct.current.afterLineNumber<=qe?Ze=Oe-qe+ct.current.afterLineNumber:Ze=Qe,xe.push({afterLineNumber:Ze,heightInLines:ct.current.height/me,domNode:null}),ct.advance()}if(Be!==null&&ve(Be)){const Ze=this._produceOriginalFromDiff(Be,We,ze);Ze&&Te.push(Ze)}if(Be!==null&&Se(Be)){const Ze=this._produceModifiedFromDiff(Be,We,ze);Ze&&xe.push(Ze)}let He=0,Ye=0;for(Te=Te.sort(st),xe=xe.sort(st);He=Xe.heightInLines?(Ze.heightInLines-=Xe.heightInLines,Ye++):(Xe.heightInLines-=Ze.heightInLines,He++)}for(;He(le.domNode||(le.domNode=ye()),le))}}function q(_e,me,le,pe,Ce){return{range:new E.Range(_e,me,le,pe),options:Ce}}const z={arrowRevertChange:x.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new n.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown(O.localize(4,null)),glyphMarginClassName:"arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),zIndex:10001}),charDelete:x.ModelDecorationOptions.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:x.ModelDecorationOptions.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:x.ModelDecorationOptions.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"gutter-insert",isWholeLine:!0}),lineInsertWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+a.ThemeIcon.asClassName(ie),marginClassName:"gutter-insert",isWholeLine:!0}),lineDelete:x.ModelDecorationOptions.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+a.ThemeIcon.asClassName(ae),marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteMargin:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-margin",marginClassName:"gutter-delete"})};class ee extends he{constructor(me,le,pe){super(me),this._disableSash=le===!1,this._defaultRatio=pe,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new S.Sash(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(Ce=>this._onSashDrag(Ce)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(me,le){this._defaultRatio=le;const pe=me===!1;this._disableSash!==pe&&(this._disableSash=pe,this._sash.state=this._disableSash?0:3)}layout(me=this._sashRatio||this._defaultRatio){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let Ce=Math.floor((me||this._defaultRatio)*pe);const be=Math.floor(this._defaultRatio*pe);return Ce=this._disableSash?be:Ce||be,pe>ee.MINIMUM_EDITOR_WIDTH*2?(Cepe-ee.MINIMUM_EDITOR_WIDTH&&(Ce=pe-ee.MINIMUM_EDITOR_WIDTH)):Ce=be,this._sashPosition!==Ce&&(this._sashPosition=Ce),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(me){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0),Ce=this.layout((this._startSashPosition+(me.currentX-me.startX))/pe);this._sashRatio=Ce/pe,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=this._defaultRatio,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(me){return 0}getVerticalSashLeft(me){return this._sashPosition}getVerticalSashHeight(me){return this._dataSource.getHeight()}setBoundarySashes(me){this._sash.orthogonalEndSash=me.bottom}_getViewZones(me,le,pe){const Ce=this._dataSource.getOriginalEditor(),be=this._dataSource.getModifiedEditor();return new $(me,le,pe,Ce,be).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=String(this._removeColor),Ne={decorations:[],overviewZones:[]},Re=be.getModel(),Ve=be._getViewModel();for(const ze of le)if(Se(ze)){Ne.decorations.push({range:new E.Range(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824),options:Ce?z.lineDeleteWithSign:z.lineDelete}),(!ve(ze)||!ze.charChanges)&&Ne.decorations.push(q(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824,z.charDeleteWholeLine));const We=Me(Re,Ve,ze.originalStartLineNumber,ze.originalEndLineNumber);if(Ne.overviewZones.push(new F.OverviewRulerZone(We.startLineNumber,We.endLineNumber,0,Ie)),ze.charChanges){for(const qe of ze.charChanges)if(De(qe))if(pe)for(let Oe=qe.originalStartLineNumber;Oe<=qe.originalEndLineNumber;Oe++){let Ge,Qe;Oe===qe.originalStartLineNumber?Ge=qe.originalStartColumn:Ge=Re.getLineFirstNonWhitespaceColumn(Oe),Oe===qe.originalEndLineNumber?Qe=qe.originalEndColumn:Qe=Re.getLineLastNonWhitespaceColumn(Oe),Ne.decorations.push(q(Oe,Ge,Oe,Qe,z.charDelete))}else Ne.decorations.push(q(qe.originalStartLineNumber,qe.originalStartColumn,qe.originalEndLineNumber,qe.originalEndColumn,z.charDelete))}}return Ne}_getModifiedEditorDecorations(me,le,pe,Ce,be){const Ie=this._dataSource.getModifiedEditor(),Ne=String(this._insertColor),Re={decorations:[],overviewZones:[]},Ve=Ie.getModel(),ze=Ie._getViewModel();for(const We of le){if(be)if(We.modifiedEndLineNumber>0)Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedStartLineNumber,1),options:z.arrowRevertChange});else{const qe=me.modified.find(Oe=>Oe.afterLineNumber===We.modifiedStartLineNumber);qe&&(qe.marginDomNode=Ee())}if(ve(We)){Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824),options:Ce?z.lineInsertWithSign:z.lineInsert}),(!Se(We)||!We.charChanges)&&Re.decorations.push(q(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824,z.charInsertWholeLine));const qe=Me(Ve,ze,We.modifiedStartLineNumber,We.modifiedEndLineNumber);if(Re.overviewZones.push(new F.OverviewRulerZone(qe.startLineNumber,qe.endLineNumber,0,Ne)),We.charChanges){for(const Oe of We.charChanges)if(Le(Oe))if(pe)for(let Ge=Oe.modifiedStartLineNumber;Ge<=Oe.modifiedEndLineNumber;Ge++){let Qe,st;Ge===Oe.modifiedStartLineNumber?Qe=Oe.modifiedStartColumn:Qe=Ve.getLineFirstNonWhitespaceColumn(Ge),Ge===Oe.modifiedEndLineNumber?st=Oe.modifiedEndColumn:st=Ve.getLineLastNonWhitespaceColumn(Ge),Re.decorations.push(q(Ge,Qe,Ge,st,z.charInsert))}else Re.decorations.push(q(Oe.modifiedStartLineNumber,Oe.modifiedStartColumn,Oe.modifiedEndLineNumber,Oe.modifiedEndColumn,z.charInsert))}}}return Re}}ee.MINIMUM_EDITOR_WIDTH=100;class $ extends te{constructor(me,le,pe,Ce,be){super(me,le,pe,Ce,be)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(me,le,pe){return pe>le?{afterLineNumber:Math.max(me.originalStartLineNumber,me.originalEndLineNumber),heightInLines:pe-le,domNode:null}:null}_produceModifiedFromDiff(me,le,pe){return le>pe?{afterLineNumber:Math.max(me.modifiedStartLineNumber,me.modifiedEndLineNumber),heightInLines:le-pe,domNode:null}:null}}class re extends he{constructor(me,le){super(me),this._decorationsLeft=me.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(me.getOriginalEditor().onDidLayoutChange(pe=>{this._decorationsLeft!==pe.decorationsLeft&&(this._decorationsLeft=pe.decorationsLeft,me.relayoutEditors())}))}setEnableSplitViewResizing(me){}_getViewZones(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=this._dataSource.getModifiedEditor();return new oe(me,le,pe,be,Ie,Ce).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=String(this._removeColor),Ie={decorations:[],overviewZones:[]},Ne=this._dataSource.getOriginalEditor(),Re=Ne.getModel(),Ve=Ne._getViewModel();let ze=0;for(const We of le)if(Se(We)){for(Ie.decorations.push({range:new E.Range(We.originalStartLineNumber,1,We.originalEndLineNumber,1073741824),options:z.lineDeleteMargin});ze=We.originalStartLineNumber)break;ze++}let qe=0;if(ze0,xe=new I.StringBuilder(1e4);let He=0,Ye=0,Ze=null;for(let Ae=lt.originalStartLineNumber;Ae<=lt.originalEndLineNumber;Ae++){const Ue=Ae-lt.originalStartLineNumber,Ke=this._originalModel.tokenization.getLineTokens(Ae),$e=Ke.getLineContent(),et=nt[ot++],tt=T.LineDecoration.filter(Be,Ae,1,$e.length+1);if(et){let ut=0;for(const rt of et.breakOffsets){const dt=Ke.sliceAndInflate(ut,rt,0),ft=$e.substring(ut,rt);He=Math.max(He,this._renderOriginalLine(Ye++,ft,dt,T.LineDecoration.extractWrapped(tt,ut,rt),Te,Re,Ve,Ce,be,ze,qe,Oe,Ge,Qe,st,pe,xe,ht)),ut=rt}for(Ze||(Ze=[]);Ze.lengthct.afterLineNumber-lt.afterLineNumber)}_renderOriginalLine(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We,qe,Oe,Ge,Qe,st,nt,ot){nt.appendString('
    ');const ct=N.ViewLineRenderingData.isBasicASCII(le,Ie),lt=N.ViewLineRenderingData.containsRTL(le,ct,Ne),gt=(0,A.renderViewLine)(new A.RenderLineInput(Re.isMonospace&&!Ve,Re.canUseHalfwidthRightwardsArrow,le,!1,ct,lt,0,pe,Ce,st,0,Re.spaceWidth,Re.middotWidth,Re.wsmiddotWidth,qe,Oe,Ge,Qe!==b.EditorFontLigatures.OFF,null),nt);if(nt.appendString("
    "),this._renderIndicators){const at=document.createElement("div");at.className=`delete-sign ${a.ThemeIcon.asClassName(ae)}`,at.setAttribute("style",`position:absolute;top:${me*ze}px;width:${We}px;height:${ze}px;right:0;`),ot.appendChild(at)}return gt.characterMapping.getHorizontalOffset(gt.characterMapping.length)}}function ge(_e,me){return(0,b.stringSet)(_e,me,["off","on","inherit"])}function ve(_e){return _e.modifiedEndLineNumber>0}function Se(_e){return _e.originalEndLineNumber>0}function Le(_e){return _e.modifiedStartLineNumber===_e.modifiedEndLineNumber?_e.modifiedEndColumn-_e.modifiedStartColumn>0:_e.modifiedEndLineNumber-_e.modifiedStartLineNumber>0}function De(_e){return _e.originalStartLineNumber===_e.originalEndLineNumber?_e.originalEndColumn-_e.originalStartColumn>0:_e.originalEndLineNumber-_e.originalStartLineNumber>0}function ye(){const _e=document.createElement("div");return _e.className="diagonal-fill",_e}function Ee(){const _e=document.createElement("div");return _e.className="arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),L.$("div",{},_e)}function Me(_e,me,le,pe){const Ce=_e.getLineCount();return le=Math.min(Ce,Math.max(1,le)),pe=Math.min(Ce,Math.max(1,pe)),me.coordinatesConverter.convertModelRangeToViewRange(new E.Range(le,_e.getLineMinColumn(le),pe,_e.getLineMaxColumn(pe)))}function Pe(_e,me){return{enableSplitViewResizing:(0,b.boolean)(_e.enableSplitViewResizing,me.enableSplitViewResizing),splitViewDefaultRatio:(0,b.clampedFloat)(_e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,b.boolean)(_e.renderSideBySide,me.renderSideBySide),renderMarginRevertIcon:(0,b.boolean)(_e.renderMarginRevertIcon,me.renderMarginRevertIcon),maxComputationTime:(0,b.clampedInt)(_e.maxComputationTime,me.maxComputationTime,0,1073741824),maxFileSize:(0,b.clampedInt)(_e.maxFileSize,me.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,b.boolean)(_e.ignoreTrimWhitespace,me.ignoreTrimWhitespace),renderIndicators:(0,b.boolean)(_e.renderIndicators,me.renderIndicators),originalEditable:(0,b.boolean)(_e.originalEditable,me.originalEditable),diffCodeLens:(0,b.boolean)(_e.diffCodeLens,me.diffCodeLens),renderOverviewRuler:(0,b.boolean)(_e.renderOverviewRuler,me.renderOverviewRuler),diffWordWrap:ge(_e.diffWordWrap,me.diffWordWrap),diffAlgorithm:(0,b.stringSet)(_e.diffAlgorithm,me.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,b.boolean)(_e.accessibilityVerbose,me.accessibilityVerbose),hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},experimental:{showEmptyDecorations:!1,showMoves:!1},isInEmbeddedEditor:(0,b.boolean)(_e.isInEmbeddedEditor,me.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}}function Fe(_e,me){return{enableSplitViewResizing:_e.enableSplitViewResizing!==me.enableSplitViewResizing,renderSideBySide:_e.renderSideBySide!==me.renderSideBySide,renderMarginRevertIcon:_e.renderMarginRevertIcon!==me.renderMarginRevertIcon,maxComputationTime:_e.maxComputationTime!==me.maxComputationTime,maxFileSize:_e.maxFileSize!==me.maxFileSize,ignoreTrimWhitespace:_e.ignoreTrimWhitespace!==me.ignoreTrimWhitespace,renderIndicators:_e.renderIndicators!==me.renderIndicators,originalEditable:_e.originalEditable!==me.originalEditable,diffCodeLens:_e.diffCodeLens!==me.diffCodeLens,renderOverviewRuler:_e.renderOverviewRuler!==me.renderOverviewRuler,diffWordWrap:_e.diffWordWrap!==me.diffWordWrap,diffAlgorithm:_e.diffAlgorithm!==me.diffAlgorithm,accessibilityVerbose:_e.accessibilityVerbose!==me.accessibilityVerbose}}(0,H.registerThemingParticipant)((_e,me)=>{const le=_e.getColor(J.diffDiagonalFill);me.addRule(` - .monaco-editor .diagonal-fill { - background-image: linear-gradient( - -45deg, - ${le} 12.5%, - #0000 12.5%, #0000 50%, - ${le} 50%, ${le} 62.5%, - #0000 62.5%, #0000 100% - ); - background-size: 8px 8px; - } - `)})}),define(ne[874],se([1,0,59,254,36,93,127,95,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenderOptions=e.LineSource=e.renderLines=void 0;const g=k.diffEditorWidgetTtPolicy;function C(t,a,u,h){(0,L.applyFontInfo)(h,a.fontInfo);const r=u.length>0,c=new D.StringBuilder(1e4);let o=0,d=0;const l=[];for(let b=0;b');const l=a.getLineContent(),p=_.ViewLineRenderingData.isBasicASCII(l,r),m=_.ViewLineRenderingData.containsRTL(l,p,c),v=(0,f.renderViewLine)(new f.RenderLineInput(o.fontInfo.isMonospace&&!o.disableMonospaceOptimizations,o.fontInfo.canUseHalfwidthRightwardsArrow,l,!1,p,m,0,a,u,o.tabSize,0,o.fontInfo.spaceWidth,o.fontInfo.middotWidth,o.fontInfo.wsmiddotWidth,o.stopRenderingLineAfter,o.renderWhitespace,o.renderControlCharacters,o.fontLigatures!==y.EditorFontLigatures.OFF,null),d);return d.appendString(""),v.characterMapping.getHorizontalOffset(v.characterMapping.length)}}),define(ne[875],se([1,0,7,14,13,25,2,42,26,20,59,108,362,318,612,874,102,66,12,67,96,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZoneManager=void 0;let l=class extends S.Disposable{constructor(b,w,E,I,M,P,x){super(),this._editors=b,this._diffModel=w,this._options=E,this._diffEditorWidget=I,this._canIgnoreViewZoneUpdateEvent=M,this._clipboardService=P,this._contextMenuService=x,this._originalTopPadding=(0,f.observableValue)("originalTopPadding",0),this._originalScrollOffset=(0,f.observableValue)("originalScrollOffset",0),this._originalScrollOffsetAnimated=(0,u.animatedObservable)(this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,f.observableValue)("modifiedTopPadding",0),this._modifiedScrollOffset=(0,f.observableValue)("modifiedScrollOffset",0),this._modifiedScrollOffsetAnimated=(0,u.animatedObservable)(this._modifiedScrollOffset,this._store);let T=!1;const A=(0,f.observableValue)("state",0),N=this._register(new y.RunOnceScheduler(()=>{A.set(A.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()}));const F=this._diffModel.map(J=>J?(0,f.observableFromEvent)(J.model.original.onDidChangeTokens,()=>J.model.original.tokenization.backgroundTokenizationState===2):void 0).map((J,X)=>J?.read(X)),O=new Set,W=new Set,U=(0,f.derived)(J=>{const X=this._diffModel.read(J),H=X?.diff.read(J);if(!X||!H)return null;A.read(J);const V=this._options.renderSideBySide.read(J);return p(this._editors.original,this._editors.modified,H.mappings,O,W,V)}),j=(0,f.derived)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);if(!H)return null;A.read(J);const B=H.changes.map(V=>new n.DiffMapping(V));return p(this._editors.original,this._editors.modified,B,O,W,!0)});function R(){const J=document.createElement("div");return J.className="diagonal-fill",J}const K=this._register(new S.DisposableStore),G=(0,f.derived)(J=>{var X,H,B,V,Y,ie,ae,ce;K.clear();const de=U.read(J)||[],he=[],ue=[],te=this._modifiedTopPadding.read(J);te>0&&ue.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:te,showInHiddenAreas:!0});const q=this._originalTopPadding.read(J);q>0&&he.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:q,showInHiddenAreas:!0});const z=this._options.renderSideBySide.read(J),ee=z||(X=this._editors.modified._getViewModel())===null||X===void 0?void 0:X.createLineBreaksComputer();if(ee){for(const De of de)if(De.diff)for(let ye=De.originalRange.startLineNumber;yethis._editors.original.getModel().tokenization.getLineTokens(le)),De.originalRange.mapToLineArray(le=>$[re++]),ve,Se),Pe=[];for(const le of De.diff.innerChanges||[])Pe.push(new c.InlineDecoration(le.originalRange.delta(-(De.diff.originalRange.startLineNumber-1)),i.diffDeleteDecoration.className,0));const Fe=(0,a.renderLines)(Me,Le,Pe,Ee),_e=document.createElement("div");if(_e.className="inline-deleted-margin-view-zone",(0,C.applyFontInfo)(_e,Le.fontInfo),this._options.renderIndicators.read(J))for(let le=0;le(0,g.assertIsDefined)(me),_e,this._editors.modified,De.diff,this._diffEditorWidget,Fe.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let le=0;le1&&he.push({afterLineNumber:De.originalRange.startLineNumber+le,domNode:R(),heightInPx:(pe-1)*oe,showInHiddenAreas:!0})}ue.push({afterLineNumber:De.modifiedRange.startLineNumber-1,domNode:Ee,heightInPx:Fe.heightInLines*oe,minWidthInPx:Fe.minWidthInPx,marginDomNode:_e,setZoneId(le){me=le},showInHiddenAreas:!0})}const ye=document.createElement("div");ye.className="gutter-delete",he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:De.modifiedHeightInPx,marginDomNode:ye,showInHiddenAreas:!0})}else{const ye=De.modifiedHeightInPx-De.originalHeightInPx;if(ye>0){if(ge?.lineRangeMapping.original.delta(-1).deltaLength(2).contains(De.originalRange.endLineNumberExclusive-1))continue;he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0})}else{let Ee=function(){const Pe=document.createElement("div");return Pe.className="arrow-revert-change "+_.ThemeIcon.asClassName(D.Codicon.arrowRight),(0,L.$)("div",{},Pe)};if(ge?.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(De.modifiedRange.endLineNumberExclusive-1))continue;let Me;De.diff&&De.diff.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(J)&&(Me=Ee()),ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,marginDomNode:Me,showInHiddenAreas:!0})}}for(const De of(ce=j.read(J))!==null&&ce!==void 0?ce:[]){if(!ge?.lineRangeMapping.original.intersect(De.originalRange)||!ge?.lineRangeMapping.modified.intersect(De.modifiedRange))continue;const ye=De.modifiedHeightInPx-De.originalHeightInPx;ye>0?he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0}):ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,showInHiddenAreas:!0})}return{orig:he,mod:ue}});this._register((0,f.autorunWithStore)(J=>{const X=s.StableEditorScrollState.capture(this._editors.modified),H=G.read(J);T=!0,this._editors.original.changeViewZones(B=>{for(const V of O)B.removeZone(V);O.clear();for(const V of H.orig){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),O.add(Y)}}),this._editors.modified.changeViewZones(B=>{for(const V of W)B.removeZone(V);W.clear();for(const V of H.mod){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),W.add(Y)}}),T=!1,X.restore(this._editors.modified)})),this._register((0,S.toDisposable)(()=>{this._editors.original.changeViewZones(J=>{for(const X of O)J.removeZone(X);O.clear()}),this._editors.modified.changeViewZones(J=>{for(const X of W)J.removeZone(X);W.clear()})}));let Z=!1;this._register(this._editors.original.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.modified.setScrollLeft(J.scrollLeft),Z=!1)})),this._register(this._editors.modified.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.original.setScrollLeft(J.scrollLeft),Z=!1)})),this._originalScrollTop=(0,f.observableFromEvent)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,f.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,f.autorun)(J=>{const X=this._originalScrollTop.read(J)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(J))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(J));X!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{const X=this._modifiedScrollTop.read(J)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(J))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(J));X!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);let B=0;if(H){const V=this._editors.original.getTopForLineNumber(H.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get();B=this._editors.modified.getTopForLineNumber(H.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get()-V}B>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(B,void 0)):B<0?(this._modifiedTopPadding.set(-B,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-B,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+B,void 0,!0)}))}};e.ViewZoneManager=l,e.ViewZoneManager=l=ke([fe(5,o.IClipboardService),fe(6,d.IContextMenuService)],l);function p(v,b,w,E,I,M){const P=new k.ArrayQueue(m(v,E)),x=new k.ArrayQueue(m(b,I)),T=v.getOption(65),A=b.getOption(65),N=[];let F=0,O=0;function W(U,j){for(;;){let R=P.peek(),K=x.peek();if(R&&R.lineNumber>=U&&(R=void 0),K&&K.lineNumber>=j&&(K=void 0),!R&&!K)break;const G=R?R.lineNumber-F:Number.MAX_VALUE,Z=K?K.lineNumber-O:Number.MAX_VALUE;GZ?(x.dequeue(),R={lineNumber:K.lineNumber-O+F,heightInPx:0}):(P.dequeue(),x.dequeue()),N.push({originalRange:h.LineRange.ofLength(R.lineNumber,1),modifiedRange:h.LineRange.ofLength(K.lineNumber,1),originalHeightInPx:T+R.heightInPx,modifiedHeightInPx:A+K.heightInPx,diff:void 0})}}for(const U of w){let Z=function(J,X){var H,B,V,Y;if(Jhe.lineNumberhe+ue.heightInPx,0))!==null&&B!==void 0?B:0,de=(Y=(V=x.takeWhile(he=>he.lineNumberhe+ue.heightInPx,0))!==null&&Y!==void 0?Y:0;N.push({originalRange:ie,modifiedRange:ae,originalHeightInPx:ie.length*T+ce,modifiedHeightInPx:ae.length*A+de,diff:U.lineRangeMapping}),G=J,K=X};const j=U.lineRangeMapping;W(j.originalRange.startLineNumber,j.modifiedRange.startLineNumber);let R=!0,K=j.modifiedRange.startLineNumber,G=j.originalRange.startLineNumber;if(M)for(const J of j.innerChanges||[])J.originalRange.startColumn>1&&J.modifiedRange.startColumn>1&&Z(J.originalRange.startLineNumber,J.modifiedRange.startLineNumber),J.originalRange.endColumn1&&E.push({lineNumber:T,heightInPx:P*(A-1)})}for(const T of v.getWhitespaces()){if(b.has(T.id))continue;const A=T.afterLineNumber===0?0:M.convertViewPositionToModelPosition(new r.Position(T.afterLineNumber,1)).lineNumber;w.push({lineNumber:A,heightInPx:T.height})}return(0,u.joinCombine)(w,E,T=>T.lineNumber,(T,A)=>({lineNumber:T.lineNumber,heightInPx:T.heightInPx+A.heightInPx}))}}),define(ne[876],se([1,0,7,9,6,42,16,33,161,830,870,590,875,323,357,747,102,348,148,21,116,15,8,157,482,844,621,318,2,77,432,822]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget2=void 0;let M=class extends m.DelegatingEditor{constructor(T,A,N,F,O,W,U,j){var R;super(),this._domElement=T,this._parentContextKeyService=F,this._parentInstantiationService=O,this._audioCueService=U,this._editorProgressService=j,this.elements=(0,L.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,L.h)("div.noModificationsOverlay@overlay",{style:{position:"absolute",height:"100%",visibility:"hidden"}},[(0,L.$)("span",{},"No Changes")]),(0,L.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=this._register((0,D.disposableObservableValue)("diffModel",void 0)),this.onDidChangeModel=y.Event.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._parentInstantiationService.createChild(new p.ServiceCollection([d.IContextKeyService,this._contextKeyService])),this._boundarySashes=(0,D.observableValue)("boundarySashes",void 0),this._accessibleDiffViewerShouldBeVisible=(0,D.observableValue)("accessibleDiffViewerShouldBeVisible",!1),this._accessibleDiffViewerVisible=(0,D.derived)(H=>this._options.onlyShowAccessibleDiffViewer.read(H)?!0:this._accessibleDiffViewerShouldBeVisible.read(H)),this.movedBlocksLinesPart=(0,D.observableValue)("MovedBlocksLinesPart",void 0),this._layoutInfo=(0,D.derived)(H=>{var B,V,Y;const ie=this._rootSizeObserver.width.read(H),ae=this._rootSizeObserver.height.read(H),ce=(B=this._sash.read(H))===null||B===void 0?void 0:B.sashLeft.read(H),de=ce??Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft),he=ie-de-(this._options.renderOverviewRuler.read(H)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0),ue=(Y=(V=this.movedBlocksLinesPart.read(H))===null||V===void 0?void 0:V.width.read(H))!==null&&Y!==void 0?Y:0,te=de-ue;return this.elements.original.style.width=te+"px",this.elements.original.style.left="0px",this.elements.modified.style.width=he+"px",this.elements.modified.style.left=de+"px",this._editors.original.layout({width:te,height:ae}),this._editors.modified.layout({width:he,height:ae}),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((H,B)=>H?.diff.read(B)),this.onDidUpdateDiff=y.Event.fromObservableLight(this._diffValue),W.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._contextKeyService.createKey("diffEditorVersion",2),this._domElement.appendChild(this.elements.root),this._register((0,E.toDisposable)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new u.ObservableElementSizeObserver(this.elements.root,A.dimension)),this._rootSizeObserver.setAutomaticLayout((R=A.automaticLayout)!==null&&R!==void 0?R:!1),this._options=new b.DiffEditorOptions(A,this._rootSizeObserver.width),this._contextKeyService.createKey(c.EditorContextKeys.isEmbeddedDiffEditor.key,!1);const K=c.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{K.set(this._options.isInEmbeddedEditor.read(H))}));const G=c.EditorContextKeys.comparingMovedCode.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{var B;G.set(!!(!((B=this._diffModel.read(H))===null||B===void 0)&&B.movedTextToCompare.read(H)))}));const Z=c.EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{Z.set(this._options.couldShowInlineViewBecauseOfSize.read(H))})),this._editors=this._register(this._instantiationService.createInstance(v.DiffEditorEditors,this.elements.original,this.elements.modified,this._options,N,(H,B,V,Y)=>this._createInnerEditor(H,B,V,Y))),this._sash=(0,D.derivedWithStore)("sash",(H,B)=>{const V=this._options.renderSideBySide.read(H);if(this.elements.root.classList.toggle("side-by-side",V),!V)return;const Y=B.add(new s.DiffEditorSash(this._options,this.elements.root,{height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((ie,ae)=>ie-(this._options.renderOverviewRuler.read(ae)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0))}));return B.add((0,D.autorun)(ie=>{const ae=this._boundarySashes.read(ie);ae&&Y.setBoundarySashes(ae)})),Y}),this._register((0,D.keepAlive)(this._sash,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.unchangedRangesFeature=B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(a.UnchangedRangesFeature,H),this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(new((0,u.readHotReloadableExport)(C.DiffEditorDecorations,H))(this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(i.ViewZoneManager,H),this._editors,this._diffModel,this._options,this,()=>this.unchangedRangesFeature.isUpdatingViewZones))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(t.OverviewRulerPart,H),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(V=>V.modifiedEditor),this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{this._accessibleDiffViewer=B.add(this._register(this._instantiationService.createInstance((0,u.readHotReloadableExport)(g.AccessibleDiffViewer,H),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(V,Y)=>this._accessibleDiffViewerShouldBeVisible.set(V,Y),this._options.onlyShowAccessibleDiffViewer.map(V=>!V),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((V,Y)=>{var ie;return(ie=V?.diff.read(Y))===null||ie===void 0?void 0:ie.mappings.map(ae=>ae.lineRangeMapping)}),this._editors)))}));const J=this._accessibleDiffViewerVisible.map(H=>H?"hidden":"visible");this._register((0,u.applyStyle)(this.elements.modified,{visibility:J})),this._register((0,u.applyStyle)(this.elements.original,{visibility:J})),this._createDiffEditorContributions(),W.addDiffEditor(this),this._register((0,D.keepAlive)(this._layoutInfo,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.movedBlocksLinesPart.set(B.add(new((0,u.readHotReloadableExport)(n.MovedBlocksLinesPart,H))(this.elements.root,this._diffModel,this._layoutInfo.map(V=>V.originalEditor),this._layoutInfo.map(V=>V.modifiedEditor),this._editors)),void 0)})),this._register((0,u.applyStyle)(this.elements.overlay,{width:this._layoutInfo.map((H,B)=>H.originalEditor.width+(this._options.renderSideBySide.read(B)?0:H.modifiedEditor.width)),visibility:(0,D.derived)(H=>{var B,V;return this._options.hideUnchangedRegions.read(H)&&((V=(B=this._diffModel.read(H))===null||B===void 0?void 0:B.diff.read(H))===null||V===void 0?void 0:V.mappings.length)===0?"visible":"hidden"})})),this._register(this._editors.modified.onMouseDown(H=>{var B,V;if(!H.event.rightButton&&H.target.position&&(!((B=H.target.element)===null||B===void 0)&&B.className.includes("arrow-revert-change"))){const Y=H.target.position.lineNumber,ie=H.target,ae=this._diffModel.get();if(!ae)return;const ce=(V=ae.diff.get())===null||V===void 0?void 0:V.mappings;if(!ce)return;const de=ce.find(he=>ie?.detail.afterLineNumber===he.lineRangeMapping.modifiedRange.startLineNumber-1||he.lineRangeMapping.modifiedRange.startLineNumber===Y);if(!de)return;this.revert(de.lineRangeMapping),H.event.stopPropagation()}})),this._register(y.Event.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,H=>{var B,V;if(H?.reason===3){const Y=(V=(B=this._diffModel.get())===null||B===void 0?void 0:B.diff.get())===null||V===void 0?void 0:V.mappings.find(ie=>ie.lineRangeMapping.modifiedRange.contains(H.position.lineNumber));Y?.lineRangeMapping.modifiedRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):Y?.lineRangeMapping.originalRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):Y&&this._audioCueService.playAudioCue(o.AudioCue.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}));const X=this._diffModel.map((H,B)=>H?.isDiffUpToDate.read(B));this._register((0,D.autorunWithStore)((H,B)=>{if(X.read(H)===!1){const V=this._editorProgressService.show(!0,1e3);B.add((0,E.toDisposable)(()=>V.done()))}}))}_createInnerEditor(T,A,N,F){return T.createInstance(_.CodeEditorWidget,A,N,F)}_createDiffEditorContributions(){const T=S.EditorExtensionsRegistry.getDiffEditorContributions();for(const A of T)try{this._register(this._instantiationService.createInstance(A.ctor,this))}catch(N){(0,k.onUnexpectedError)(N)}}get _targetEditor(){return this._editors.modified}getEditorType(){return r.EditorType.IDiffEditor}layout(T){this._rootSizeObserver.observe(T)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var T;const A=this._editors.original.saveViewState(),N=this._editors.modified.saveViewState();return{original:A,modified:N,modelState:(T=this._diffModel.get())===null||T===void 0?void 0:T.serializeState()}}restoreViewState(T){var A;if(T&&T.original&&T.modified){const N=T;this._editors.original.restoreViewState(N.original),this._editors.modified.restoreViewState(N.modified),N.modelState&&((A=this._diffModel.get())===null||A===void 0||A.restoreSerializedState(N.modelState))}}createViewModel(T){return new w.DiffEditorViewModel(T,this._options,this._instantiationService.createInstance(h.WorkerBasedDocumentDiffProvider,{diffAlgorithm:this._options.diffAlgorithm.get()}))}getModel(){var T,A;return(A=(T=this._diffModel.get())===null||T===void 0?void 0:T.model)!==null&&A!==void 0?A:null}setModel(T){!T&&this._diffModel.get()&&this._accessibleDiffViewer.close();const A=T?"model"in T?T:this.createViewModel(T):void 0;this._editors.original.setModel(A?A.model.original:null),this._editors.modified.setModel(A?A.model.modified:null),(0,D.transaction)(N=>{this._diffModel.set(A,N)})}updateOptions(T){this._options.updateOptions(T)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var T;const A=(T=this._diffModel.get())===null||T===void 0?void 0:T.diff.get();return A?P(A):null}revert(T){var A;const N=(A=this._diffModel.get())===null||A===void 0?void 0:A.model;if(!N)return;const F=T.innerChanges?T.innerChanges.map(O=>({range:O.modifiedRange,text:N.original.getValueInRange(O.originalRange)})):[{range:T.modifiedRange.toExclusiveRange(),text:N.original.getValueInRange(T.originalRange.toExclusiveRange())}];this._editors.modified.executeEdits("diffEditor",F)}accessibleDiffViewerNext(){this._accessibleDiffViewer.next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.prev()}};e.DiffEditorWidget2=M,e.DiffEditorWidget2=M=ke([fe(3,d.IContextKeyService),fe(4,l.IInstantiationService),fe(5,f.ICodeEditorService),fe(6,o.IAudioCueService),fe(7,I.IEditorProgressService)],M);function P(x){return x.mappings.map(T=>{const A=T.lineRangeMapping;let N,F,O,W,U=A.innerChanges;return A.originalRange.isEmpty?(N=A.originalRange.startLineNumber-1,F=0,U=void 0):(N=A.originalRange.startLineNumber,F=A.originalRange.endLineNumberExclusive-1),A.modifiedRange.isEmpty?(O=A.modifiedRange.startLineNumber-1,W=0,U=void 0):(O=A.modifiedRange.startLineNumber,W=A.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:N,originalEndLineNumber:F,modifiedStartLineNumber:O,modifiedEndLineNumber:W,charChanges:U?.map(j=>({originalStartLineNumber:j.originalRange.startLineNumber,originalStartColumn:j.originalRange.startColumn,originalEndLineNumber:j.originalRange.endLineNumber,originalEndColumn:j.originalRange.endColumn,modifiedStartLineNumber:j.modifiedRange.startLineNumber,modifiedStartColumn:j.modifiedRange.startColumn,modifiedEndLineNumber:j.modifiedRange.endLineNumber,modifiedEndColumn:j.modifiedRange.endColumn}))}})}}),define(ne[162],se([1,0,47,33,161,27,15,8,43,23,84,32,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EmbeddedCodeEditorWidget=void 0;let n=class extends y.CodeEditorWidget{constructor(a,u,h,r,c,o,d,l,p,m,v,b,w){super(a,Object.assign(Object.assign({},r.getRawOptions()),{overflowWidgetsDomNode:r.getOverflowWidgetsDomNode()}),h,c,o,d,l,p,m,v,b,w),this._parentEditor=r,this._overwriteOptions=u,super.updateOptions(this._overwriteOptions),this._register(r.onDidChangeConfiguration(E=>this._onParentConfigurationChanged(E)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(a){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(a){L.mixin(this._overwriteOptions,a,!0),super.updateOptions(this._overwriteOptions)}};e.EmbeddedCodeEditorWidget=n,e.EmbeddedCodeEditorWidget=n=ke([fe(4,f.IInstantiationService),fe(5,k.ICodeEditorService),fe(6,D.ICommandService),fe(7,S.IContextKeyService),fe(8,g.IThemeService),fe(9,_.INotificationService),fe(10,C.IAccessibilityService),fe(11,s.ILanguageConfigurationService),fe(12,i.ILanguageFeaturesService)],n)}),define(ne[877],se([1,0,13,2,16,12,5,24,21,48,40,633,30,31,23,437]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketMatchingController=void 0;const a=(0,n.registerColor)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},s.localize(0,null));class u extends y.EditorAction{constructor(){super({id:"editor.action.jumpToBracket",label:s.localize(1,null),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3165,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.jumpToBracket()}}class h extends y.EditorAction{constructor(){super({id:"editor.action.selectToBracket",label:s.localize(2,null),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(l,p,m){var v;let b=!0;m&&m.selectBrackets===!1&&(b=!1),(v=o.get(p))===null||v===void 0||v.selectToBracket(b)}}class r extends y.EditorAction{constructor(){super({id:"editor.action.removeBrackets",label:s.localize(3,null),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:2561,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.removeBrackets(this.id)}}class c{constructor(l,p,m){this.position=l,this.brackets=p,this.options=m}}class o extends k.Disposable{static get(l){return l.getContribution(o.ID)}constructor(l){super(),this._editor=l,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new L.RunOnceScheduler(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(70),this._updateBracketsSoon.schedule(),this._register(l.onDidChangeCursorPosition(p=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelContent(p=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModel(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelLanguageConfiguration(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeConfiguration(p=>{p.hasChanged(70)&&(this._matchBrackets=this._editor.getOption(70),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(l.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const l=this._editor.getModel(),p=this._editor.getSelections().map(m=>{const v=m.getStartPosition(),b=l.bracketPairs.matchBracket(v);let w=null;if(b)b[0].containsPosition(v)&&!b[1].containsPosition(v)?w=b[1].getStartPosition():b[1].containsPosition(v)&&(w=b[0].getStartPosition());else{const E=l.bracketPairs.findEnclosingBrackets(v);if(E)w=E[1].getStartPosition();else{const I=l.bracketPairs.findNextBracket(v);I&&I.range&&(w=I.range.getStartPosition())}}return w?new f.Selection(w.lineNumber,w.column,w.lineNumber,w.column):new f.Selection(v.lineNumber,v.column,v.lineNumber,v.column)});this._editor.setSelections(p),this._editor.revealRange(p[0])}selectToBracket(l){if(!this._editor.hasModel())return;const p=this._editor.getModel(),m=[];this._editor.getSelections().forEach(v=>{const b=v.getStartPosition();let w=p.bracketPairs.matchBracket(b);if(!w&&(w=p.bracketPairs.findEnclosingBrackets(b),!w)){const M=p.bracketPairs.findNextBracket(b);M&&M.range&&(w=p.bracketPairs.matchBracket(M.range.getStartPosition()))}let E=null,I=null;if(w){w.sort(S.Range.compareRangesUsingStarts);const[M,P]=w;if(E=l?M.getStartPosition():M.getEndPosition(),I=l?P.getEndPosition():P.getStartPosition(),P.containsPosition(b)){const x=E;E=I,I=x}}E&&I&&m.push(new f.Selection(E.lineNumber,E.column,I.lineNumber,I.column))}),m.length>0&&(this._editor.setSelections(m),this._editor.revealRange(m[0]))}removeBrackets(l){if(!this._editor.hasModel())return;const p=this._editor.getModel();this._editor.getSelections().forEach(m=>{const v=m.getPosition();let b=p.bracketPairs.matchBracket(v);b||(b=p.bracketPairs.findEnclosingBrackets(v)),b&&(this._editor.pushUndoStop(),this._editor.executeEdits(l,[{range:b[0],text:""},{range:b[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const l=[];let p=0;for(const m of this._lastBracketsData){const v=m.brackets;v&&(l[p++]={range:v[0],options:m.options},l[p++]={range:v[1],options:m.options})}this._decorations.set(l)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const l=this._editor.getSelections();if(l.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const p=this._editor.getModel(),m=p.getVersionId();let v=[];this._lastVersionId===m&&(v=this._lastBracketsData);const b=[];let w=0;for(let x=0,T=l.length;x1&&b.sort(D.Position.compare);const E=[];let I=0,M=0;const P=v.length;for(let x=0,T=b.length;x{o.symbol.command&&c.push(o.symbol),t.addDecoration({range:o.symbol.range,options:g},l=>this._decorationIds[d]=l),r?r=y.Range.plusRange(r,o.symbol.range):r=y.Range.lift(o.symbol.range)}),this._viewZone=new S(r.startLineNumber-1,u,h),this._viewZoneId=a.addZone(this._viewZone),c.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(c,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new f(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(i,n){this._decorationIds.forEach(i.removeDecoration,i),this._decorationIds=[],n?.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((i,n)=>{const t=this._editor.getModel().getDecorationRange(i),a=this._data[n].symbol;return!!(t&&y.Range.isEmpty(a.range)===t.isEmpty())})}updateCodeLensSymbols(i,n){this._decorationIds.forEach(n.removeDecoration,n),this._decorationIds=[],this._data=i,this._data.forEach((t,a)=>{n.addDecoration({range:t.symbol.range,options:g},u=>this._decorationIds[a]=u)})}updateHeight(i,n){this._viewZone.heightInPx=i,n.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(i){if(!this._viewZone.isVisible())return null;for(let n=0;nthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(b=>{(b.hasChanged(49)||b.hasChanged(18)||b.hasChanged(17))&&this._updateLensStyle(),b.hasChanged(16)&&this._onModelChange()})),this._disposables.add(d.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var o;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(o=this._currentCodeLensModel)===null||o===void 0||o.dispose()}_getLayoutInfo(){const o=Math.max(1.3,this._editor.getOption(65)/this._editor.getOption(51));let d=this._editor.getOption(18);return(!d||d<5)&&(d=this._editor.getOption(51)*.9|0),{fontSize:d,codeLensHeight:d*o|0}}_updateLensStyle(){const{codeLensHeight:o,fontSize:d}=this._getLayoutInfo(),l=this._editor.getOption(17),p=this._editor.getOption(49),{style:m}=this._editor.getContainerDomNode();m.setProperty("--vscode-editorCodeLens-lineHeight",`${o}px`),m.setProperty("--vscode-editorCodeLens-fontSize",`${d}px`),m.setProperty("--vscode-editorCodeLens-fontFeatureSettings",p.fontFeatureSettings),l&&(m.setProperty("--vscode-editorCodeLens-fontFamily",l),m.setProperty("--vscode-editorCodeLens-fontFamilyDefault",f.EDITOR_FONT_DEFAULTS.fontFamily)),this._editor.changeViewZones(v=>{for(const b of this._lenses)b.updateHeight(o,v)})}_localDispose(){var o,d,l;(o=this._getCodeLensModelPromise)===null||o===void 0||o.cancel(),this._getCodeLensModelPromise=void 0,(d=this._resolveCodeLensesPromise)===null||d===void 0||d.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(l=this._currentCodeLensModel)===null||l===void 0||l.dispose()}_onModelChange(){this._localDispose();const o=this._editor.getModel();if(!o||!this._editor.getOption(16))return;const d=this._codeLensCache.get(o);if(d&&this._renderCodeLensSymbols(d),!this._languageFeaturesService.codeLensProvider.has(o)){d&&this._localToDispose.add((0,L.disposableTimeout)(()=>{const p=this._codeLensCache.get(o);d===p&&(this._codeLensCache.delete(o),this._onModelChange())},30*1e3));return}for(const p of this._languageFeaturesService.codeLensProvider.all(o))if(typeof p.onDidChange=="function"){const m=p.onDidChange(()=>l.schedule());this._localToDispose.add(m)}const l=new L.RunOnceScheduler(()=>{var p;const m=Date.now();(p=this._getCodeLensModelPromise)===null||p===void 0||p.cancel(),this._getCodeLensModelPromise=(0,L.createCancelablePromise)(v=>(0,g.getCodeLensModel)(this._languageFeaturesService.codeLensProvider,o,v)),this._getCodeLensModelPromise.then(v=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=v,this._codeLensCache.put(o,v);const b=this._provideCodeLensDebounce.update(o,Date.now()-m);l.delay=b,this._renderCodeLensSymbols(v),this._resolveCodeLensesInViewportSoon()},k.onUnexpectedError)},this._provideCodeLensDebounce.get(o));this._localToDispose.add(l),this._localToDispose.add((0,y.toDisposable)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var p;this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{const b=[];let w=-1;this._lenses.forEach(I=>{!I.isValid()||w===I.getLineNumber()?b.push(I):(I.update(v),w=I.getLineNumber())});const E=new s.CodeLensHelper;b.forEach(I=>{I.dispose(E,v),this._lenses.splice(this._lenses.indexOf(I),1)}),E.commit(m)})}),l.schedule(),this._resolveCodeLensesScheduler.cancel(),(p=this._resolveCodeLensesPromise)===null||p===void 0||p.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{l.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(p=>{p.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,y.toDisposable)(()=>{if(this._editor.getModel()){const p=D.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{this._disposeAllLenses(m,v)})}),p.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(p=>{if(p.target.type!==9)return;let m=p.target.element;if(m?.tagName==="SPAN"&&(m=m.parentElement),m?.tagName==="A")for(const v of this._lenses){const b=v.getCommand(m);if(b){this._commandService.executeCommand(b.id,...b.arguments||[]).catch(w=>this._notificationService.error(w));break}}})),l.schedule()}_disposeAllLenses(o,d){const l=new s.CodeLensHelper;for(const p of this._lenses)p.dispose(l,d);o&&l.commit(o),this._lenses.length=0}_renderCodeLensSymbols(o){if(!this._editor.hasModel())return;const d=this._editor.getModel().getLineCount(),l=[];let p;for(const b of o.lenses){const w=b.symbol.range.startLineNumber;w<1||w>d||(p&&p[p.length-1].symbol.range.startLineNumber===w?p.push(b):(p=[b],l.push(p)))}if(!l.length&&!this._lenses.length)return;const m=D.StableEditorScrollState.capture(this._editor),v=this._getLayoutInfo();this._editor.changeDecorations(b=>{this._editor.changeViewZones(w=>{const E=new s.CodeLensHelper;let I=0,M=0;for(;Mthis._resolveCodeLensesInViewportSoon())),I++,M++)}for(;Ithis._resolveCodeLensesInViewportSoon())),M++;E.commit(b)})}),m.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var o;(o=this._resolveCodeLensesPromise)===null||o===void 0||o.cancel(),this._resolveCodeLensesPromise=void 0;const d=this._editor.getModel();if(!d)return;const l=[],p=[];if(this._lenses.forEach(b=>{const w=b.computeIfNecessary(d);w&&(l.push(w),p.push(b))}),l.length===0)return;const m=Date.now(),v=(0,L.createCancelablePromise)(b=>{const w=l.map((E,I)=>{const M=new Array(E.length),P=E.map((x,T)=>!x.symbol.command&&typeof x.provider.resolveCodeLens=="function"?Promise.resolve(x.provider.resolveCodeLens(d,x.symbol,b)).then(A=>{M[T]=A},k.onUnexpectedExternalError):(M[T]=x.symbol,Promise.resolve(void 0)));return Promise.all(P).then(()=>{!b.isCancellationRequested&&!p[I].isDisposed()&&p[I].updateCommands(M)})});return Promise.all(w)});this._resolveCodeLensesPromise=v,this._resolveCodeLensesPromise.then(()=>{const b=this._resolveCodeLensesDebounce.update(d,Date.now()-m);this._resolveCodeLensesScheduler.delay=b,this._currentCodeLensModel&&this._codeLensCache.put(d,this._currentCodeLensModel),this._oldCodeLensModels.clear(),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},b=>{(0,k.onUnexpectedError)(b),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){return this._currentCodeLensModel}};e.CodeLensContribution=r,r.ID="css.editor.codeLens",e.CodeLensContribution=r=ke([fe(1,h.ILanguageFeaturesService),fe(2,u.ILanguageFeatureDebounceService),fe(3,n.ICommandService),fe(4,t.INotificationService),fe(5,C.ICodeLensCache)],r),(0,S.registerEditorContribution)(r.ID,r,1),(0,S.registerEditorAction)(class extends S.EditorAction{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:_.EditorContextKeys.hasCodeLensProvider,label:(0,i.localize)(0,null),alias:"Show CodeLens Commands For Current Line"})}run(o,d){return we(this,void 0,void 0,function*(){if(!d.hasModel())return;const l=o.get(a.IQuickInputService),p=o.get(n.ICommandService),m=o.get(t.INotificationService),v=d.getSelection().positionLineNumber,b=d.getContribution(r.ID);if(!b)return;const w=b.getModel();if(!w)return;const E=[];for(const M of w.lenses)M.symbol.command&&M.symbol.range.startLineNumber===v&&E.push({label:M.symbol.command.title,command:M.symbol.command});if(E.length===0)return;const I=yield l.pick(E,{canPickMany:!1});if(I){if(w.isDisposed)return yield p.executeCommand(this.id);try{yield p.executeCommand(I.command.id,...I.command.arguments||[])}catch(M){m.error(M)}}})}})}),define(ne[363],se([1,0,13,38,9,6,2,58,11,159,16,5,40,76,18,343,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DecoratorLimitReporter=e.ColorDetector=e.ColorDecorationInjectedTextMarker=void 0,e.ColorDecorationInjectedTextMarker=Object.create({});let r=h=class extends S.Disposable{constructor(d,l,p,m){super(),this._editor=d,this._configurationService=l,this._languageFeaturesService=p,this._localToDispose=this._register(new S.DisposableStore),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new g.DynamicCssRules(this._editor),this._decoratorLimitReporter=new c,this._colorDecorationClassRefs=this._register(new S.DisposableStore),this._debounceInformation=m.for(p.colorProvider,"Document Colors",{min:h.RECOMPUTE_TIME}),this._register(d.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(d.onDidChangeModelLanguage(()=>this.updateColors())),this._register(p.colorProvider.onDidChange(()=>this.updateColors())),this._register(d.onDidChangeConfiguration(v=>{const b=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144);const w=b!==this._isColorDecoratorsEnabled||v.hasChanged(20),E=v.hasChanged(144);(w||E)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144),this.updateColors()}isEnabled(){const d=this._editor.getModel();if(!d)return!1;const l=d.getLanguageId(),p=this._configurationService.getValue(l);if(p&&typeof p=="object"){const m=p.colorDecorators;if(m&&m.enable!==void 0&&!m.enable)return m.enable}return this._editor.getOption(19)}static get(d){return d.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const d=this._editor.getModel();!d||!this._languageFeaturesService.colorProvider.has(d)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new L.TimeoutTimer,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(d)))})),this.beginCompute())}beginCompute(){return we(this,void 0,void 0,function*(){this._computePromise=(0,L.createCancelablePromise)(d=>we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l)return[];const p=new f.StopWatch(!1),m=yield(0,a.getColors)(this._languageFeaturesService.colorProvider,l,d,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(l,p.elapsed()),m}));try{const d=yield this._computePromise;this.updateDecorations(d),this.updateColorDecorators(d),this._computePromise=null}catch(d){(0,y.onUnexpectedError)(d)}})}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(d){const l=d.map(p=>({range:{startLineNumber:p.colorInfo.range.startLineNumber,startColumn:p.colorInfo.range.startColumn,endLineNumber:p.colorInfo.range.endLineNumber,endColumn:p.colorInfo.range.endColumn},options:i.ModelDecorationOptions.EMPTY}));this._editor.changeDecorations(p=>{this._decorationsIds=p.deltaDecorations(this._decorationsIds,l),this._colorDatas=new Map,this._decorationsIds.forEach((m,v)=>this._colorDatas.set(m,d[v]))})}updateColorDecorators(d){this._colorDecorationClassRefs.clear();const l=[],p=this._editor.getOption(20);for(let v=0;vthis._colorDatas.has(m.id));return p.length===0?null:this._colorDatas.get(p[0].id)}isColorDecoration(d){return this._colorDecoratorIds.has(d)}};e.ColorDetector=r,r.ID="editor.contrib.colorDetector",r.RECOMPUTE_TIME=1e3,e.ColorDetector=r=h=ke([fe(1,u.IConfigurationService),fe(2,t.ILanguageFeaturesService),fe(3,n.ILanguageFeatureDebounceService)],r);class c{constructor(){this._onDidChange=new D.Emitter,this._computed=0,this._limited=!1}update(d,l){(d!==this._computed||l!==this._limited)&&(this._computed=d,this._limited=l,this._onDidChange.fire())}}e.DecoratorLimitReporter=c,(0,C.registerEditorContribution)(r.ID,r,1)}),define(ne[364],se([1,0,13,19,38,2,5,343,363,538,831,23,7]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerParticipant=e.StandaloneColorPickerHover=e.ColorHoverParticipant=e.ColorHover=void 0;class n{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v,this.forceShowAtRange=!0}isValidForHoverAnchor(l){return l.type===1&&this.range.startColumn<=l.range.startColumn&&this.range.endColumn>=l.range.endColumn}}e.ColorHover=n;let t=class{constructor(l,p){this._editor=l,this._themeService=p,this.hoverOrdinal=2}computeSync(l,p){return[]}computeAsync(l,p,m){return L.AsyncIterableObject.fromPromise(this._computeAsync(l,p,m))}_computeAsync(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const v=_.ColorDetector.get(this._editor);if(!v)return[];for(const b of p){if(!v.isColorDecoration(b))continue;const w=v.getColorData(b.range.getStartPosition());if(w)return[yield h(this,this._editor.getModel(),w.colorInfo,w.provider)]}return[]})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}};e.ColorHoverParticipant=t,e.ColorHoverParticipant=t=ke([fe(1,s.IThemeService)],t);class a{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v}}e.StandaloneColorPickerHover=a;let u=class{constructor(l,p){this._editor=l,this._themeService=p,this._color=null}createColorHover(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!_.ColorDetector.get(this._editor))return null;const b=yield(0,f.getColors)(m,this._editor.getModel(),k.CancellationToken.None);let w=null,E=null;for(const x of b){const T=x.colorInfo;S.Range.containsRange(T.range,l.range)&&(w=T,E=x.provider)}const I=w??l,M=E??p,P=!!w;return{colorHover:yield h(this,this._editor.getModel(),I,M),foundInEditor:P}})}updateEditorModel(l){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const p=l.model;let m=new S.Range(l.range.startLineNumber,l.range.startColumn,l.range.endLineNumber,l.range.endColumn);this._color&&(yield o(this._editor.getModel(),p,this._color,m,l),m=c(this._editor,m,p))})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}set color(l){this._color=l}get color(){return this._color}};e.StandaloneColorPickerParticipant=u,e.StandaloneColorPickerParticipant=u=ke([fe(1,s.IThemeService)],u);function h(d,l,p,m){return we(this,void 0,void 0,function*(){const v=l.getValueInRange(p.range),{red:b,green:w,blue:E,alpha:I}=p.color,M=new y.RGBA(Math.round(b*255),Math.round(w*255),Math.round(E*255),I),P=new y.Color(M),x=yield(0,f.getColorPresentations)(l,p,m,k.CancellationToken.None),T=new g.ColorPickerModel(P,[],0);return T.colorPresentations=x||[],T.guessColorPresentation(P,v),d instanceof t?new n(d,S.Range.lift(p.range),T,m):new a(d,S.Range.lift(p.range),T,m)})}function r(d,l,p,m,v){if(m.length===0||!l.hasModel())return D.Disposable.None;if(v.setMinimumDimensions){const T=l.getOption(65)+8;v.setMinimumDimensions(new i.Dimension(302,T))}const b=new D.DisposableStore,w=m[0],E=l.getModel(),I=w.model,M=b.add(new C.ColorPickerWidget(v.fragment,I,l.getOption(140),p,d instanceof u));v.setColorPicker(M);let P=!1,x=new S.Range(w.range.startLineNumber,w.range.startColumn,w.range.endLineNumber,w.range.endColumn);if(d instanceof u){const T=m[0].model.color;d.color=T,o(E,I,T,x,w),b.add(I.onColorFlushed(A=>{d.color=A}))}else b.add(I.onColorFlushed(T=>we(this,void 0,void 0,function*(){yield o(E,I,T,x,w),P=!0,x=c(l,x,I,v)})));return b.add(I.onDidChangeColor(T=>{o(E,I,T,x,w)})),b.add(l.onDidChangeModelContent(T=>{P?P=!1:(v.hide(),l.focus())})),b}function c(d,l,p,m){let v,b;if(p.presentation.textEdit){v=[p.presentation.textEdit],b=new S.Range(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn);const w=d.getModel()._setTrackedRange(null,b,3);d.pushUndoStop(),d.executeEdits("colorpicker",v),b=d.getModel()._getTrackedRange(w)||b}else v=[{range:l,text:p.presentation.label,forceMoveMarkers:!1}],b=l.setEndPosition(l.endLineNumber,l.startColumn+p.presentation.label.length),d.pushUndoStop(),d.executeEdits("colorpicker",v);return p.presentation.additionalTextEdits&&(v=[...p.presentation.additionalTextEdits],d.executeEdits("colorpicker",v),m&&m.hide()),d.pushUndoStop(),b}function o(d,l,p,m,v){return we(this,void 0,void 0,function*(){const b=yield(0,f.getColorPresentations)(d,{range:m,color:{red:p.rgba.r/255,green:p.rgba.g/255,blue:p.rgba.b/255,alpha:p.rgba.a}},v.provider,k.CancellationToken.None);l.colorPresentations=b||[]})}}),define(ne[880],se([1,0,2,17,16,12,5,24,40,540,440]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropController=void 0;function C(i){return k.isMacintosh?i.altKey:i.ctrlKey}class s extends L.Disposable{constructor(n){super(),this._editor=n,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!0),this._mouseDown&&C(n)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!1),this._mouseDown&&n.keyCode===s.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(n){this._mouseDown=!0}_onEditorMouseUp(n){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(n){const t=n.target;if(this._dragSelection===null){const u=(this._editor.getSelections()||[]).filter(h=>t.position&&h.containsPosition(t.position));if(u.length===1)this._dragSelection=u[0];else return}C(n.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(n){if(n.target&&(this._hitContent(n.target)||this._hitMargin(n.target))&&n.target.position){const t=new D.Position(n.target.position.lineNumber,n.target.position.column);if(this._dragSelection===null){let a=null;if(n.event.shiftKey){const u=this._editor.getSelection();if(u){const{selectionStartLineNumber:h,selectionStartColumn:r}=u;a=[new f.Selection(h,r,t.lineNumber,t.column)]}}else a=(this._editor.getSelections()||[]).map(u=>u.containsPosition(t)?new f.Selection(t.lineNumber,t.column,t.lineNumber,t.column):u);this._editor.setSelections(a||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(C(n.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(s.ID,new g.DragAndDropCommand(this._dragSelection,t,C(n.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(n){this._dndDecorationIds.set([{range:new S.Range(n.lineNumber,n.column,n.lineNumber,n.column),options:s._DECORATION_OPTIONS}]),this._editor.revealPosition(n,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(n){return n.type===6||n.type===7}_hitMargin(n){return n.type===2||n.type===3||n.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}e.DragAndDropController=s,s.ID="editor.contrib.dragAndDrop",s.TRIGGER_KEY_VALUE=k.isMacintosh?6:5,s._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"dnd-target",className:"dnd-target"}),(0,y.registerEditorContribution)(s.ID,s,2)}),define(ne[881],se([1,0,5,48,40,31,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindDecorations=void 0;class f{constructor(g){this._editor=g,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const g=this._findScopeDecorationIds.map(C=>this._editor.getModel().getDecorationRange(C)).filter(C=>!!C);if(g.length)return g}return null}getStartPosition(){return this._startPosition}setStartPosition(g){this._startPosition=g,this.setCurrentFindMatch(null)}_getDecorationIndex(g){const C=this._decorations.indexOf(g);return C>=0?C+1:1}getDecorationRangeAt(g){const C=g{if(this._highlightedDecorationId!==null&&(i.changeDecorationOptions(this._highlightedDecorationId,f._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),C!==null&&(this._highlightedDecorationId=C,i.changeDecorationOptions(this._highlightedDecorationId,f._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),C!==null){let n=this._editor.getModel().getDecorationRange(C);if(n.startLineNumber!==n.endLineNumber&&n.endColumn===1){const t=n.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(t);n=new L.Range(n.startLineNumber,n.startColumn,t,a)}this._rangeHighlightDecorationId=i.addDecoration(n,f._RANGE_HIGHLIGHT_DECORATION)}}),s}set(g,C){this._editor.changeDecorations(s=>{let i=f._FIND_MATCH_DECORATION;const n=[];if(g.length>1e3){i=f._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),h=this._editor.getLayoutInfo().height/a,r=Math.max(2,Math.ceil(3/h));let c=g[0].range.startLineNumber,o=g[0].range.endLineNumber;for(let d=1,l=g.length;d=p.startLineNumber?p.endLineNumber>o&&(o=p.endLineNumber):(n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=p.startLineNumber,o=p.endLineNumber)}n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const t=new Array(g.length);for(let a=0,u=g.length;as.removeDecoration(a)),this._findScopeDecorationIds=[]),C?.length&&(this._findScopeDecorationIds=C.map(a=>s.addDecoration(a,f._FIND_SCOPE_DECORATION)))})}matchBeforePosition(g){if(this._decorations.length===0)return null;for(let C=this._decorations.length-1;C>=0;C--){const s=this._decorations[C],i=this._editor.getModel().getDecorationRange(s);if(!(!i||i.endLineNumber>g.lineNumber)){if(i.endLineNumberg.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(g){if(this._decorations.length===0)return null;for(let C=0,s=this._decorations.length;Cg.lineNumber)return n;if(!(n.startColumnthis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(c=>{(c.reason===3||c.reason===5||c.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(c=>{this._ignoreModelContentChanged||(c.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(c=>this._onStateChanged(c))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,y.dispose)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(h){this._isDisposed||this._editor.hasModel()&&(h.searchString||h.isReplaceRevealed||h.isRegex||h.wholeWord||h.matchCase||h.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor)},t)):h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor))}static _getSearchRange(h,r){return r||h.getFullModelRange()}research(h,r){let c=null;typeof r<"u"?r!==null&&(Array.isArray(r)?c=r:c=[r]):c=this._decorations.getFindScopes(),c!==null&&(c=c.map(p=>{if(p.startLineNumber!==p.endLineNumber){let m=p.endLineNumber;return p.endColumn===1&&(m=m-1),new f.Range(p.startLineNumber,1,m,this._editor.getModel().getLineMaxColumn(m))}return p}));const o=this._findMatches(c,!1,e.MATCHES_LIMIT);this._decorations.set(o,c);const d=this._editor.getSelection();let l=this._decorations.getCurrentMatchesPosition(d);if(l===0&&o.length>0){const p=(0,L.findFirstInSorted)(o.map(m=>m.range),m=>f.Range.compareRangesUsingStarts(m,d)>=0);l=p>0?p-1+1:l}this._state.changeMatchInfo(l,this._decorations.getCount(),void 0),h&&this._editor.getOption(40).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const h=this._decorations.getFindScope();return h&&this._editor.revealRangeInCenterIfOutsideViewport(h,0),!0}return!1}_setCurrentFindMatch(h){const r=this._decorations.setCurrentFindMatch(h);this._state.changeMatchInfo(r,this._decorations.getCount(),h),this._editor.setSelection(h),this._editor.revealRangeInCenterIfOutsideViewport(h,0)}_prevSearchPosition(h){const r=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===1?(c===1?c=d.getLineCount():c--,o=d.getLineMaxColumn(c)):o--,new S.Position(c,o)}_moveToPrevMatch(h,r=!1){if(!this._state.canNavigateBack()){const b=this._decorations.matchAfterPosition(h);b&&this._setCurrentFindMatch(b);return}if(this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===d.getLineMaxColumn(c)?(c===d.getLineCount()?c=1:c++,o=1):o++,new S.Position(c,o)}_moveToNextMatch(h){if(!this._state.canNavigateForward()){const c=this._decorations.matchBeforePosition(h);c&&this._setCurrentFindMatch(c);return}if(this._decorations.getCount()a._getSearchRange(this._editor.getModel(),d));return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null,r,c)}replaceAll(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();h===null&&this._state.matchesCount>=e.MATCHES_LIMIT?this._largeReplaceAll():this._regularReplaceAll(h),this.research(!1)}_largeReplaceAll(){const r=new g.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null).parseSearchRequest();if(!r)return;let c=r.regex;if(!c.multiline){let w="mu";c.ignoreCase&&(w+="i"),c.global&&(w+="g"),c=new RegExp(c.source,w)}const o=this._editor.getModel(),d=o.getValue(1),l=o.getFullModelRange(),p=this._getReplacePattern();let m;const v=this._state.preserveCase;p.hasReplacementPatterns||v?m=d.replace(c,function(){return p.buildReplaceString(arguments,v)}):m=d.replace(c,p.buildReplaceString(null,v));const b=new D.ReplaceCommandThatPreservesSelection(l,m,this._editor.getSelection());this._executeEditorCommand("replaceAll",b)}_regularReplaceAll(h){const r=this._getReplacePattern(),c=this._findMatches(h,r.hasReplacementPatterns||this._state.preserveCase,1073741824),o=[];for(let l=0,p=c.length;ll.range),o);this._executeEditorCommand("replaceAll",d)}selectAllMatches(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();let c=this._findMatches(h,!1,1073741824).map(d=>new _.Selection(d.range.startLineNumber,d.range.startColumn,d.range.endLineNumber,d.range.endColumn));const o=this._editor.getSelection();for(let d=0,l=c.length;dthis._hide(),2e3)),this._isVisible=!1,this._editor=C,this._state=s,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n={inputActiveOptionBorder:(0,f.asCssVariable)(f.inputActiveOptionBorder),inputActiveOptionForeground:(0,f.asCssVariable)(f.inputActiveOptionForeground),inputActiveOptionBackground:(0,f.asCssVariable)(f.inputActiveOptionBackground)};this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase},n))),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleWholeWordCommand),isChecked:this._state.wholeWord},n))),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleRegexCommand),isChecked:this._state.isRegex},n))),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(t=>{let a=!1;t.isRegex&&(this.regex.checked=this._state.isRegex,a=!0),t.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,a=!0),t.matchCase&&(this.caseSensitive.checked=this._state.matchCase,a=!0),!this._state.isRevealed&&a&&this._revealTemporarily()})),this._register(L.addDisposableListener(this._domNode,L.EventType.MOUSE_LEAVE,t=>this._onMouseLeave())),this._register(L.addDisposableListener(this._domNode,"mouseover",t=>this._onMouseOver()))}_keybindingLabelFor(C){const s=this._keybindingService.lookupKeybinding(C);return s?` (${s.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return _.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}e.FindOptionsWidget=_,_.ID="editor.contrib.findOptionsWidget"}),define(ne[883],se([1,0,6,2,5,193]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindReplaceState=void 0;function S(_,g){return _===1?!0:_===2?!1:g}class f extends k.Disposable{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return S(this._isRegexOverride,this._isRegex)}get wholeWord(){return S(this._wholeWordOverride,this._wholeWord)}get matchCase(){return S(this._matchCaseOverride,this._matchCase)}get preserveCase(){return S(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new L.Emitter),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(g,C,s){const i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;C===0&&(g=0),g>C&&(g=C),this._matchesPosition!==g&&(this._matchesPosition=g,i.matchesPosition=!0,n=!0),this._matchesCount!==C&&(this._matchesCount=C,i.matchesCount=!0,n=!0),typeof s<"u"&&(y.Range.equalsRange(this._currentMatch,s)||(this._currentMatch=s,i.currentMatch=!0,n=!0)),n&&this._onFindReplaceStateChange.fire(i)}change(g,C,s=!0){var i;const n={moveCursor:C,updateHistory:s,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let t=!1;const a=this.isRegex,u=this.wholeWord,h=this.matchCase,r=this.preserveCase;typeof g.searchString<"u"&&this._searchString!==g.searchString&&(this._searchString=g.searchString,n.searchString=!0,t=!0),typeof g.replaceString<"u"&&this._replaceString!==g.replaceString&&(this._replaceString=g.replaceString,n.replaceString=!0,t=!0),typeof g.isRevealed<"u"&&this._isRevealed!==g.isRevealed&&(this._isRevealed=g.isRevealed,n.isRevealed=!0,t=!0),typeof g.isReplaceRevealed<"u"&&this._isReplaceRevealed!==g.isReplaceRevealed&&(this._isReplaceRevealed=g.isReplaceRevealed,n.isReplaceRevealed=!0,t=!0),typeof g.isRegex<"u"&&(this._isRegex=g.isRegex),typeof g.wholeWord<"u"&&(this._wholeWord=g.wholeWord),typeof g.matchCase<"u"&&(this._matchCase=g.matchCase),typeof g.preserveCase<"u"&&(this._preserveCase=g.preserveCase),typeof g.searchScope<"u"&&(!((i=g.searchScope)===null||i===void 0)&&i.every(c=>{var o;return(o=this._searchScope)===null||o===void 0?void 0:o.some(d=>!y.Range.equalsRange(d,c))})||(this._searchScope=g.searchScope,n.searchScope=!0,t=!0)),typeof g.loop<"u"&&this._loop!==g.loop&&(this._loop=g.loop,n.loop=!0,t=!0),typeof g.isSearching<"u"&&this._isSearching!==g.isSearching&&(this._isSearching=g.isSearching,n.isSearching=!0,t=!0),typeof g.filters<"u"&&(this._filters?this._filters.update(g.filters):this._filters=g.filters,n.filters=!0,t=!0),this._isRegexOverride=typeof g.isRegexOverride<"u"?g.isRegexOverride:0,this._wholeWordOverride=typeof g.wholeWordOverride<"u"?g.wholeWordOverride:0,this._matchCaseOverride=typeof g.matchCaseOverride<"u"?g.matchCaseOverride:0,this._preserveCaseOverride=typeof g.preserveCaseOverride<"u"?g.preserveCaseOverride:0,a!==this.isRegex&&(t=!0,n.isRegex=!0),u!==this.wholeWord&&(t=!0,n.wholeWord=!0),h!==this.matchCase&&(t=!0,n.matchCase=!0),r!==this.preserveCase&&(t=!0,n.preserveCase=!0),t&&this._onFindReplaceStateChange.fire(n)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=D.MATCHES_LIMIT}}e.FindReplaceState=f}),define(ne[884],se([1,0,7,49,153,130,83,13,25,9,2,17,11,5,193,656,346,745,31,62,23,26,88,20,105,443]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleButton=e.FindWidget=e.FindWidgetViewZone=e.NLS_NO_RESULTS=e.NLS_MATCHES_LOCATION=e.findNextMatchIcon=e.findPreviousMatchIcon=e.findReplaceAllIcon=e.findReplaceIcon=void 0;const v=(0,c.registerIcon)("find-selection",_.Codicon.selection,a.localize(0,null)),b=(0,c.registerIcon)("find-collapsed",_.Codicon.chevronRight,a.localize(1,null)),w=(0,c.registerIcon)("find-expanded",_.Codicon.chevronDown,a.localize(2,null));e.findReplaceIcon=(0,c.registerIcon)("find-replace",_.Codicon.replace,a.localize(3,null)),e.findReplaceAllIcon=(0,c.registerIcon)("find-replace-all",_.Codicon.replaceAll,a.localize(4,null)),e.findPreviousMatchIcon=(0,c.registerIcon)("find-previous-match",_.Codicon.arrowUp,a.localize(5,null)),e.findNextMatchIcon=(0,c.registerIcon)("find-next-match",_.Codicon.arrowDown,a.localize(6,null));const E=a.localize(7,null),I=a.localize(8,null),M=a.localize(9,null),P=a.localize(10,null),x=a.localize(11,null),T=a.localize(12,null),A=a.localize(13,null),N=a.localize(14,null),F=a.localize(15,null),O=a.localize(16,null),W=a.localize(17,null),U=a.localize(18,null),j=a.localize(19,null,t.MATCHES_LIMIT);e.NLS_MATCHES_LOCATION=a.localize(20,null),e.NLS_NO_RESULTS=a.localize(21,null);const R=419,G=275-54;let Z=69;const J=33,X="ctrlEnterReplaceAll.windows.donotask",H=s.isMacintosh?256:2048;class B{constructor(de){this.afterLineNumber=de,this.heightInPx=J,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}e.FindWidgetViewZone=B;function V(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionStart>0){ce.stopPropagation();return}}function Y(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(oe=>this._onStateChanged(oe))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(89)&&(this._codeEditor.getOption(89)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),oe.hasChanged(142)&&this._tryUpdateWidgetWidth(),oe.hasChanged(2)&&this.updateAccessibilitySupport(),oe.hasChanged(40)){const ge=this._codeEditor.getOption(40).loop;this._state.change({loop:ge},!1);const ve=this._codeEditor.getOption(40).addExtraSpaceOnTop;ve&&!this._viewZone&&(this._viewZone=new B(0),this._showViewZone()),!ve&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>we(this,void 0,void 0,function*(){if(this._isVisible){const oe=yield this._controller.getGlobalBufferTerm();oe&&oe!==this._state.searchString&&(this._state.change({searchString:oe},!1),this._findInput.select())}}))),this._findInputFocused=t.CONTEXT_FIND_INPUT_FOCUSED.bindTo(z),this._findFocusTracker=this._register(L.trackFocus(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=t.CONTEXT_REPLACE_INPUT_FOCUSED.bindTo(z),this._replaceFocusTracker=this._register(L.trackFocus(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(40).addExtraSpaceOnTop&&(this._viewZone=new B(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(oe=>{if(oe.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return ie.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(de){if(de.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(de.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),de.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),de.isReplaceRevealed&&(this._state.isReplaceRevealed?!this._codeEditor.getOption(89)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(de.isRevealed||de.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),de.isRegex&&this._findInput.setRegex(this._state.isRegex),de.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),de.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),de.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),de.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),de.searchString||de.matchesCount||de.matchesPosition){const he=this._state.searchString.length>0&&this._state.matchesCount===0;this._domNode.classList.toggle("no-results",he),this._updateMatchesCount(),this._updateButtons()}(de.searchString||de.currentMatch)&&this._layoutViewZone(),de.updateHistory&&this._delayedUpdateHistory(),de.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,g.onUnexpectedError)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=Z+"px",this._state.matchesCount>=t.MATCHES_LIMIT?this._matchesCount.title=j:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);let de;if(this._state.matchesCount>0){let he=String(this._state.matchesCount);this._state.matchesCount>=t.MATCHES_LIMIT&&(he+="+");let ue=String(this._state.matchesPosition);ue==="0"&&(ue="?"),de=i.format(e.NLS_MATCHES_LOCATION,ue,he)}else de=e.NLS_NO_RESULTS;this._matchesCount.appendChild(document.createTextNode(de)),(0,k.alert)(this._getAriaLabel(de,this._state.currentMatch,this._state.searchString)),Z=Math.max(Z,this._matchesCount.clientWidth)}_getAriaLabel(de,he,ue){if(de===e.NLS_NO_RESULTS)return ue===""?a.localize(22,null,de):a.localize(23,null,de,ue);if(he){const te=a.localize(24,null,de,ue,he.startLineNumber+":"+he.startColumn),q=this._codeEditor.getModel();return q&&he.startLineNumber<=q.getLineCount()&&he.startLineNumber>=1?`${q.getLineContent(he.startLineNumber)}, ${te}`:te}return a.localize(25,null,de,ue)}_updateToggleSelectionFindButton(){const de=this._codeEditor.getSelection(),he=de?de.startLineNumber!==de.endLineNumber||de.startColumn!==de.endColumn:!1,ue=this._toggleSelectionFind.checked;this._isVisible&&(ue||he)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const de=this._state.searchString.length>0,he=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const ue=!this._codeEditor.getOption(89);this._toggleReplaceBtn.setEnabled(this._isVisible&&ue)}_reveal(){if(this._revealTimeouts.forEach(de=>{clearTimeout(de)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const de=this._codeEditor.getSelection();switch(this._codeEditor.getOption(40).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const ue=!!de&&de.startLineNumber!==de.endLineNumber;this._toggleSelectionFind.checked=ue;break}default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let he=!0;if(this._codeEditor.getOption(40).seedSearchStringFromSelection&&de){const ue=this._codeEditor.getDomNode();if(ue){const te=L.getDomNodePagePosition(ue),q=this._codeEditor.getScrolledVisiblePosition(de.getStartPosition()),z=te.left+(q?q.left:0),ee=q?q.top:0;if(this._viewZone&&eede.startLineNumber&&(he=!1);const $=L.getTopLeftOffset(this._domNode).left;z>$&&(he=!1);const re=this._codeEditor.getScrolledVisiblePosition(de.getEndPosition());te.left+(re?re.left:0)>$&&(he=!1)}}}this._showViewZone(he)}}_hide(de){this._revealTimeouts.forEach(he=>{clearTimeout(he)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),de&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(de){if(!this._codeEditor.getOption(40).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const ue=this._viewZone;this._viewZoneId!==void 0||!ue||this._codeEditor.changeViewZones(te=>{ue.heightInPx=this._getHeight(),this._viewZoneId=te.addZone(ue),this._codeEditor.setScrollTop(de||this._codeEditor.getScrollTop()+ue.heightInPx)})}_showViewZone(de=!0){if(!this._isVisible||!this._codeEditor.getOption(40).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new B(0));const ue=this._viewZone;this._codeEditor.changeViewZones(te=>{if(this._viewZoneId!==void 0){const q=this._getHeight();if(q===ue.heightInPx)return;const z=q-ue.heightInPx;ue.heightInPx=q,te.layoutZone(this._viewZoneId),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+z);return}else{let q=this._getHeight();if(q-=this._codeEditor.getOption(82).top,q<=0)return;ue.heightInPx=q,this._viewZoneId=te.addZone(ue),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+q)}})}_removeViewZone(){this._codeEditor.changeViewZones(de=>{this._viewZoneId!==void 0&&(de.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!L.isInDOM(this._domNode))return;const de=this._codeEditor.getLayoutInfo();if(de.contentWidth<=0){this._domNode.classList.add("hiddenEditor");return}else this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const ue=de.width,te=de.minimap.minimapWidth;let q=!1,z=!1,ee=!1;if(this._resized&&L.getTotalWidth(this._domNode)>R){this._domNode.style.maxWidth=`${ue-28-te-15}px`,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode);return}if(R+28+te>=ue&&(z=!0),R+28+te-Z>=ue&&(ee=!0),R+28+te-Z>=ue+50&&(q=!0),this._domNode.classList.toggle("collapsed-find-widget",q),this._domNode.classList.toggle("narrow-find-widget",ee),this._domNode.classList.toggle("reduced-find-widget",z),!ee&&!q&&(this._domNode.style.maxWidth=`${ue-28-te-15}px`),this._findInput.layout({collapsedFindWidget:q,narrowFindWidget:ee,reducedFindWidget:z}),this._resized){const $=this._findInput.inputBox.element.clientWidth;$>0&&(this._replaceInput.width=$)}else this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode))}_getHeight(){let de=0;return de+=4,de+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(de+=4,de+=this._replaceInput.inputBox.height+2),de+=4,de}_tryUpdateHeight(){const de=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===de?!1:(this._cachedHeight=de,this._domNode.style.height=`${de}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const de=this._codeEditor.getSelections();de.map(he=>{he.endColumn===1&&he.endLineNumber>he.startLineNumber&&(he=he.setEndPosition(he.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(he.endLineNumber-1)));const ue=this._state.currentMatch;return he.startLineNumber!==he.endLineNumber&&!n.Range.equalsRange(he,ue)?he:null}).filter(he=>!!he),de.length&&this._state.change({searchScope:de},!0)}}_onFindInputMouseDown(de){de.middleButton&&de.stopPropagation()}_onFindInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{this._findInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(de.equals(18))return Y(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))}_onReplaceInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{s.isWindows&&s.isNative&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(a.localize(26,null)),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(X,!0,0,0)),this._replaceInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(1026)){this._findInput.focus(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(de.equals(18))return Y(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))}getVerticalSashLeft(de){return 0}_keybindingLabelFor(de){const he=this._keybindingService.lookupKeybinding(de);return he?` (${he.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new u.ContextScopedFindInput(null,this._contextViewProvider,{width:G,label:I,placeholder:M,appendCaseSensitiveLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleRegexCommand),validation:$=>{if($.length===0||!this._findInput.getRegex())return null;try{return new RegExp($,"gu"),null}catch(re){return{content:re.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown($=>this._onFindInputKeyDown($))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown($=>{$.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),$.preventDefault())})),this._register(this._findInput.onRegexKeyDown($=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),$.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange($=>{this._tryUpdateHeight()&&this._showViewZone()})),s.isLinux&&this._register(this._findInput.onMouseDown($=>this._onFindInputMouseDown($))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new ae({label:P+this._keybindingLabelFor(t.FIND_IDS.PreviousMatchFindAction),icon:e.findPreviousMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.PreviousMatchFindAction)).run().then(void 0,g.onUnexpectedError)}})),this._nextBtn=this._register(new ae({label:x+this._keybindingLabelFor(t.FIND_IDS.NextMatchFindAction),icon:e.findNextMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.NextMatchFindAction)).run().then(void 0,g.onUnexpectedError)}}));const ue=document.createElement("div");ue.className="find-part",ue.appendChild(this._findInput.domNode);const te=document.createElement("div");te.className="find-actions",ue.appendChild(te),te.appendChild(this._matchesCount),te.appendChild(this._prevBtn.domNode),te.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new y.Toggle({icon:v,title:T+this._keybindingLabelFor(t.FIND_IDS.ToggleSearchScopeCommand),isChecked:!1,inputActiveOptionBackground:(0,r.asCssVariable)(r.inputActiveOptionBackground),inputActiveOptionBorder:(0,r.asCssVariable)(r.inputActiveOptionBorder),inputActiveOptionForeground:(0,r.asCssVariable)(r.inputActiveOptionForeground)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const $=this._codeEditor.getSelections();$.map(re=>(re.endColumn===1&&re.endLineNumber>re.startLineNumber&&(re=re.setEndPosition(re.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(re.endLineNumber-1))),re.isEmpty()?null:re)).filter(re=>!!re),$.length&&this._state.change({searchScope:$},!0)}}else this._state.change({searchScope:null},!0)})),te.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new ae({label:A+this._keybindingLabelFor(t.FIND_IDS.CloseFindWidgetCommand),icon:c.widgetClose,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:$=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),$.preventDefault())}})),this._replaceInput=this._register(new u.ContextScopedReplaceInput(null,void 0,{label:N,placeholder:F,appendPreserveCaseLabel:this._keybindingLabelFor(t.FIND_IDS.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown($=>this._onReplaceInputKeyDown($))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange($=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown($=>{$.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),$.preventDefault())})),this._replaceBtn=this._register(new ae({label:O+this._keybindingLabelFor(t.FIND_IDS.ReplaceOneAction),icon:e.findReplaceIcon,onTrigger:()=>{this._controller.replace()},onKeyDown:$=>{$.equals(1026)&&(this._closeBtn.focus(),$.preventDefault())}})),this._replaceAllBtn=this._register(new ae({label:W+this._keybindingLabelFor(t.FIND_IDS.ReplaceAllAction),icon:e.findReplaceAllIcon,onTrigger:()=>{this._controller.replaceAll()}}));const q=document.createElement("div");q.className="replace-part",q.appendChild(this._replaceInput.domNode);const z=document.createElement("div");z.className="replace-actions",q.appendChild(z),z.appendChild(this._replaceBtn.domNode),z.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new ae({label:U,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=E,this._domNode.role="dialog",this._domNode.style.width=`${R}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(ue),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(q),this._resizeSash=new D.Sash(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let ee=R;this._register(this._resizeSash.onDidStart(()=>{ee=L.getTotalWidth(this._domNode)})),this._register(this._resizeSash.onDidChange($=>{this._resized=!0;const re=ee+$.startX-$.currentX;if(reoe||(this._domNode.style.width=`${re}px`,this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const $=L.getTotalWidth(this._domNode);if(${this._opts.onTrigger(),ue.preventDefault()}),this.onkeydown(this._domNode,ue=>{var te,q;if(ue.equals(10)||ue.equals(3)){this._opts.onTrigger(),ue.preventDefault();return}(q=(te=this._opts).onKeyDown)===null||q===void 0||q.call(te,ue)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(de){this._domNode.classList.toggle("disabled",!de),this._domNode.setAttribute("aria-disabled",String(!de)),this._domNode.tabIndex=de?0:-1}setExpanded(de){this._domNode.setAttribute("aria-expanded",String(!!de)),de?(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(b)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(w))):(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(w)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(b)))}}e.SimpleButton=ae,(0,o.registerThemingParticipant)((ce,de)=>{const he=(De,ye)=>{ye&&de.addRule(`.monaco-editor ${De} { background-color: ${ye}; }`)};he(".findMatch",ce.getColor(r.editorFindMatchHighlight)),he(".currentFindMatch",ce.getColor(r.editorFindMatch)),he(".findScope",ce.getColor(r.editorFindRangeHighlight));const ue=ce.getColor(r.editorWidgetBackground);he(".find-widget",ue);const te=ce.getColor(r.widgetShadow);te&&de.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${te}; }`);const q=ce.getColor(r.widgetBorder);q&&de.addRule(`.monaco-editor .find-widget { border-left: 1px solid ${q}; border-right: 1px solid ${q}; border-bottom: 1px solid ${q}; }`);const z=ce.getColor(r.editorFindMatchHighlightBorder);z&&de.addRule(`.monaco-editor .findMatch { border: 1px ${(0,l.isHighContrast)(ce.type)?"dotted":"solid"} ${z}; box-sizing: border-box; }`);const ee=ce.getColor(r.editorFindMatchBorder);ee&&de.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${ee}; padding: 1px; box-sizing: border-box; }`);const $=ce.getColor(r.editorFindRangeHighlightBorder);$&&de.addRule(`.monaco-editor .findScope { border: 1px ${(0,l.isHighContrast)(ce.type)?"dashed":"solid"} ${$}; }`);const re=ce.getColor(r.contrastBorder);re&&de.addRule(`.monaco-editor .find-widget { border: 1px solid ${re}; }`);const oe=ce.getColor(r.editorWidgetForeground);oe&&de.addRule(`.monaco-editor .find-widget { color: ${oe}; }`);const ge=ce.getColor(r.errorForeground);ge&&de.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${ge}; }`);const ve=ce.getColor(r.editorWidgetResizeBorder);if(ve)de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${ve}; }`);else{const De=ce.getColor(r.editorWidgetBorder);De&&de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${De}; }`)}const Se=ce.getColor(r.toolbarHoverBackground);Se&&de.addRule(` - .monaco-editor .find-widget .button:not(.disabled):hover, - .monaco-editor .find-widget .codicon-find-selection:hover { - background-color: ${Se} !important; - } - `);const Le=ce.getColor(r.focusBorder);Le&&de.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${Le}; }`)})}),define(ne[365],se([1,0,13,2,11,16,80,21,48,193,882,883,884,655,30,96,15,57,34,43,71,87,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.StartFindReplaceAction=e.PreviousSelectionMatchFindAction=e.NextSelectionMatchFindAction=e.SelectionMatchFindAction=e.MoveToMatchFindAction=e.PreviousMatchFindAction=e.NextMatchFindAction=e.MatchFindAction=e.StartFindWithSelectionAction=e.StartFindWithArgsAction=e.StartFindAction=e.FindController=e.CommonFindController=e.getSelectionSearchString=void 0;const m=524288;function v(U,j="single",R=!1){if(!U.hasModel())return null;const K=U.getSelection();if(j==="single"&&K.startLineNumber===K.endLineNumber||j==="multiple"){if(K.isEmpty()){const G=U.getConfiguredWordAtPosition(K.getStartPosition());if(G&&R===!1)return G.word}else if(U.getModel().getValueLengthInRange(K)this._onStateChanged(Z))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{const Z=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),Z&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(40).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(j){this.saveQueryState(j),j.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),j.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(j){j.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),j.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),j.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),j.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!g.CONTEXT_FIND_INPUT_FOCUSED.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const j=this._editor.getSelections();j.map(R=>(R.endColumn===1&&R.endLineNumber>R.startLineNumber&&(R=R.setEndPosition(R.endLineNumber-1,this._editor.getModel().getLineMaxColumn(R.endLineNumber-1))),R.isEmpty()?null:R)).filter(R=>!!R),j.length&&this._state.change({searchScope:j},!0)}}setSearchString(j){this._state.isRegex&&(j=y.escapeRegExpCharacters(j)),this._state.change({searchString:j},!1)}highlightFindOptions(j=!1){}_start(j,R){return we(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;const K=Object.assign(Object.assign({},R),{isRevealed:!0});if(j.seedSearchStringFromSelection==="single"){const G=v(this._editor,j.seedSearchStringFromSelection,j.seedSearchStringFromNonEmptySelection);G&&(this._state.isRegex?K.searchString=y.escapeRegExpCharacters(G):K.searchString=G)}else if(j.seedSearchStringFromSelection==="multiple"&&!j.updateSearchScope){const G=v(this._editor,j.seedSearchStringFromSelection);G&&(K.searchString=G)}if(!K.searchString&&j.seedSearchStringFromGlobalClipboard){const G=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;G&&(K.searchString=G)}if(j.forceRevealReplace||K.isReplaceRevealed?K.isReplaceRevealed=!0:this._findWidgetVisible.get()||(K.isReplaceRevealed=!1),j.updateSearchScope){const G=this._editor.getSelections();G.some(Z=>!Z.isEmpty())&&(K.searchScope=G)}K.loop=j.loop,this._state.change(K,!1),this._model||(this._model=new g.FindModelBoundToEditorModel(this._editor,this._state))})}start(j,R){return this._start(j,R)}moveToNextMatch(){return this._model?(this._model.moveToNextMatch(),!0):!1}moveToPrevMatch(){return this._model?(this._model.moveToPrevMatch(),!0):!1}goToMatch(j){return this._model?(this._model.moveToMatch(j),!0):!1}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){return this._model?(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}getGlobalBufferTerm(){return we(this,void 0,void 0,function*(){return this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(j){this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(j)}};e.CommonFindController=b,b.ID="editor.contrib.findController",e.CommonFindController=b=p=ke([fe(1,u.IContextKeyService),fe(2,d.IStorageService),fe(3,a.IClipboardService)],b);let w=class extends b{constructor(j,R,K,G,Z,J,X,H){super(j,K,X,H),this._contextViewService=R,this._keybindingService=G,this._themeService=Z,this._notificationService=J,this._widget=null,this._findOptionsWidget=null}_start(j,R){const K=Object.create(null,{_start:{get:()=>super._start}});return we(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const G=this._editor.getSelection();let Z=!1;switch(this._editor.getOption(40).autoFindInSelection){case"always":Z=!0;break;case"never":Z=!1;break;case"multiline":{Z=!!G&&G.startLineNumber!==G.endLineNumber;break}default:break}j.updateSearchScope=j.updateSearchScope||Z,yield K._start.call(this,j,R),this._widget&&(j.shouldFocus===2?this._widget.focusReplaceInput():j.shouldFocus===1&&this._widget.focusFindInput())})}highlightFindOptions(j=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!j?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new i.FindWidget(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new C.FindOptionsWidget(this._editor,this._state,this._keybindingService))}};e.FindController=w,e.FindController=w=ke([fe(1,h.IContextViewService),fe(2,u.IContextKeyService),fe(3,r.IKeybindingService),fe(4,l.IThemeService),fe(5,c.INotificationService),fe(6,d.IStorageService),fe(7,a.IClipboardService)],w),e.StartFindAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindAction,label:n.localize(0,null),alias:"Find",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(1,null),order:1}})),e.StartFindAction.addImplementation(0,(U,j,R)=>{const K=b.get(j);return K?K.start({forceRevealReplace:!1,seedSearchStringFromSelection:j.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop}):!1});const E={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:n.localize(2,null)},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:n.localize(3,null)},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:n.localize(4,null)},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:n.localize(5,null)},findInSelection:{type:"boolean"}}}}]};class I extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithArgs,label:n.localize(6,null),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:E})}run(j,R,K){return we(this,void 0,void 0,function*(){const G=b.get(R);if(G){const Z=K?{searchString:K.searchString,replaceString:K.replaceString,isReplaceRevealed:K.replaceString!==void 0,isRegex:K.isRegex,wholeWord:K.matchWholeWord,matchCase:K.isCaseSensitive,preserveCase:K.preserveCase}:{};yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:G.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:K?.findInSelection||!1,loop:R.getOption(40).loop},Z),G.setGlobalBufferTerm(G.getState().searchString)}})}}e.StartFindWithArgsAction=I;class M extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithSelection,label:n.localize(7,null),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),K.setGlobalBufferTerm(K.getState().searchString))})}}e.StartFindWithSelectionAction=M;class P extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&!this._run(K)&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:K.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.MatchFindAction=P;class x extends P{constructor(){super({id:g.FIND_IDS.NextMatchFindAction,label:n.localize(8,null),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:3,weight:100}]})}_run(j){return j.moveToNextMatch()?(j.editor.pushUndoStop(),!0):!1}}e.NextMatchFindAction=x;class T extends P{constructor(){super({id:g.FIND_IDS.PreviousMatchFindAction,label:n.localize(9,null),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:1027,weight:100}]})}_run(j){return j.moveToPrevMatch()}}e.PreviousMatchFindAction=T;class A extends D.EditorAction{constructor(){super({id:g.FIND_IDS.GoToMatchFindAction,label:n.localize(10,null),alias:"Go to Match...",precondition:g.CONTEXT_FIND_WIDGET_VISIBLE}),this._highlightDecorations=[]}run(j,R,K){const G=b.get(R);if(!G)return;const Z=G.getState().matchesCount;if(Z<1){j.get(c.INotificationService).notify({severity:c.Severity.Warning,message:n.localize(11,null)});return}const X=j.get(o.IQuickInputService).createInputBox();X.placeholder=n.localize(12,null,Z);const H=V=>{const Y=parseInt(V);if(isNaN(Y))return;const ie=G.getState().matchesCount;if(Y>0&&Y<=ie)return Y-1;if(Y<0&&Y>=-ie)return ie+Y},B=V=>{const Y=H(V);if(typeof Y=="number"){X.validationMessage=void 0,G.goToMatch(Y);const ie=G.getState().currentMatch;ie&&this.addDecorations(R,ie)}else X.validationMessage=n.localize(13,null,G.getState().matchesCount),this.clearDecorations(R)};X.onDidChangeValue(V=>{B(V)}),X.onDidAccept(()=>{const V=H(X.value);typeof V=="number"?(G.goToMatch(V),X.hide()):X.validationMessage=n.localize(14,null,G.getState().matchesCount)}),X.onDidHide(()=>{this.clearDecorations(R),X.dispose()}),X.show()}clearDecorations(j){j.changeDecorations(R=>{this._highlightDecorations=R.deltaDecorations(this._highlightDecorations,[])})}addDecorations(j,R){j.changeDecorations(K=>{this._highlightDecorations=K.deltaDecorations(this._highlightDecorations,[{range:R,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:R,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,l.themeColorFromId)(S.overviewRulerRangeHighlight),position:_.OverviewRulerLane.Full}}}])})}}e.MoveToMatchFindAction=A;class N extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);if(!K)return;const G=v(R,"single",!1);G&&K.setSearchString(G),this._run(K)||(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.SelectionMatchFindAction=N;class F extends N{constructor(){super({id:g.FIND_IDS.NextSelectionMatchFindAction,label:n.localize(15,null),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:2109,weight:100}})}_run(j){return j.moveToNextMatch()}}e.NextSelectionMatchFindAction=F;class O extends N{constructor(){super({id:g.FIND_IDS.PreviousSelectionMatchFindAction,label:n.localize(16,null),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:3133,weight:100}})}_run(j){return j.moveToPrevMatch()}}e.PreviousSelectionMatchFindAction=O,e.StartFindReplaceAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindReplaceAction,label:n.localize(17,null),alias:"Replace",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(18,null),order:2}})),e.StartFindReplaceAction.addImplementation(0,(U,j,R)=>{if(!j.hasModel()||j.getOption(89))return!1;const K=b.get(j);if(!K)return!1;const G=j.getSelection(),Z=K.isFindInputFocused(),J=!G.isEmpty()&&G.startLineNumber===G.endLineNumber&&j.getOption(40).seedSearchStringFromSelection!=="never"&&!Z,X=Z||J?2:1;return K.start({forceRevealReplace:!0,seedSearchStringFromSelection:J?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).seedSearchStringFromSelection!=="never",shouldFocus:X,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop})}),(0,D.registerEditorContribution)(b.ID,w,0),(0,D.registerEditorAction)(I),(0,D.registerEditorAction)(M),(0,D.registerEditorAction)(x),(0,D.registerEditorAction)(T),(0,D.registerEditorAction)(A),(0,D.registerEditorAction)(F),(0,D.registerEditorAction)(O);const W=D.EditorCommand.bindToContribution(b.get);(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.CloseFindWidgetCommand,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.closeFindWidget(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,u.ContextKeyExpr.not("isComposing")),primary:9,secondary:[1033]}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleCaseSensitiveCommand,precondition:void 0,handler:U=>U.toggleCaseSensitive(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleCaseSensitiveKeybinding.primary,mac:g.ToggleCaseSensitiveKeybinding.mac,win:g.ToggleCaseSensitiveKeybinding.win,linux:g.ToggleCaseSensitiveKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleWholeWordCommand,precondition:void 0,handler:U=>U.toggleWholeWords(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleWholeWordKeybinding.primary,mac:g.ToggleWholeWordKeybinding.mac,win:g.ToggleWholeWordKeybinding.win,linux:g.ToggleWholeWordKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleRegexCommand,precondition:void 0,handler:U=>U.toggleRegex(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleRegexKeybinding.primary,mac:g.ToggleRegexKeybinding.mac,win:g.ToggleRegexKeybinding.win,linux:g.ToggleRegexKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleSearchScopeCommand,precondition:void 0,handler:U=>U.toggleSearchScope(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleSearchScopeKeybinding.primary,mac:g.ToggleSearchScopeKeybinding.mac,win:g.ToggleSearchScopeKeybinding.win,linux:g.ToggleSearchScopeKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.TogglePreserveCaseCommand,precondition:void 0,handler:U=>U.togglePreserveCase(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.TogglePreserveCaseKeybinding.primary,mac:g.TogglePreserveCaseKeybinding.mac,win:g.TogglePreserveCaseKeybinding.win,linux:g.TogglePreserveCaseKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:3094}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:3}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:2563}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:void 0,mac:{primary:2051}}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.SelectAllMatchesAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.selectAllMatches(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:515}}))}),define(ne[366],se([1,0,25,48,40,658,31,62,23,26]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FoldingDecorationProvider=e.foldingManualExpandedIcon=e.foldingManualCollapsedIcon=e.foldingCollapsedIcon=e.foldingExpandedIcon=void 0;const C=(0,S.registerColor)("editor.foldBackground",{light:(0,S.transparent)(S.editorSelectionBackground,.3),dark:(0,S.transparent)(S.editorSelectionBackground,.3),hcDark:null,hcLight:null},(0,D.localize)(0,null),!0);(0,S.registerColor)("editorGutter.foldingControlForeground",{dark:S.iconForeground,light:S.iconForeground,hcDark:S.iconForeground,hcLight:S.iconForeground},(0,D.localize)(1,null)),e.foldingExpandedIcon=(0,f.registerIcon)("folding-expanded",L.Codicon.chevronDown,(0,D.localize)(2,null)),e.foldingCollapsedIcon=(0,f.registerIcon)("folding-collapsed",L.Codicon.chevronRight,(0,D.localize)(3,null)),e.foldingManualCollapsedIcon=(0,f.registerIcon)("folding-manual-collapsed",e.foldingCollapsedIcon,(0,D.localize)(4,null)),e.foldingManualExpandedIcon=(0,f.registerIcon)("folding-manual-expanded",e.foldingExpandedIcon,(0,D.localize)(5,null));const s={color:(0,_.themeColorFromId)(C),position:k.MinimapPosition.Inline};class i{constructor(t){this.editor=t,this.showFoldingControls="mouseover",this.showFoldingHighlights=!0}getDecorationOption(t,a,u){return a?i.HIDDEN_RANGE_DECORATION:this.showFoldingControls==="never"?t?this.showFoldingHighlights?i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION:i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION:i.NO_CONTROLS_EXPANDED_RANGE_DECORATION:t?u?this.showFoldingHighlights?i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.COLLAPSED_VISUAL_DECORATION:this.showFoldingControls==="mouseover"?u?i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION:i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:u?i.MANUALLY_EXPANDED_VISUAL_DECORATION:i.EXPANDED_VISUAL_DECORATION}changeDecorations(t){return this.editor.changeDecorations(t)}removeDecorations(t){this.editor.removeDecorations(t)}}e.FoldingDecorationProvider=i,i.COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.MANUALLY_COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0}),i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0}),i.EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.MANUALLY_EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-auto-hide-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.NO_CONTROLS_EXPANDED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,isWholeLine:!0}),i.HIDDEN_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-hidden-range-decoration",stickiness:1})}),define(ne[255],se([1,0,13,19,9,63,2,11,20,108,16,21,29,32,291,543,292,657,15,366,182,293,43,76,58,18,6,27,22,51,28,444]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.RangesLimitReporter=e.FoldingController=void 0;const x=new r.RawContextKey("foldingEnabled",!1);let T=P=class extends S.Disposable{static get(ue){return ue.getContribution(P.ID)}static getFoldingRangeProviders(ue,te){var q,z;const ee=ue.foldingRangeProvider.ordered(te);return(z=(q=P._foldingRangeSelector)===null||q===void 0?void 0:q.call(P,ee,te))!==null&&z!==void 0?z:ee}constructor(ue,te,q,z,ee,$){super(),this.contextKeyService=te,this.languageConfigurationService=q,this.languageFeaturesService=$,this.localToDispose=this._register(new S.DisposableStore),this.editor=ue,this._foldingLimitReporter=new A(ue);const re=this.editor.getOptions();this._isEnabled=re.get(42),this._useFoldingProviders=re.get(43)!=="indentation",this._unfoldOnClickAfterEndOfLine=re.get(47),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=re.get(45),this.updateDebounceInfo=ee.for($.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new c.FoldingDecorationProvider(ue),this.foldingDecorationProvider.showFoldingControls=re.get(108),this.foldingDecorationProvider.showFoldingHighlights=re.get(44),this.foldingEnabled=x.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(42)&&(this._isEnabled=this.editor.getOptions().get(42),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),oe.hasChanged(46)&&this.onModelChanged(),oe.hasChanged(108)||oe.hasChanged(44)){const ge=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=ge.get(108),this.foldingDecorationProvider.showFoldingHighlights=ge.get(44),this.triggerFoldingModelChanged()}oe.hasChanged(43)&&(this._useFoldingProviders=this.editor.getOptions().get(43)!=="indentation",this.onFoldingStrategyChanged()),oe.hasChanged(47)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(47)),oe.hasChanged(45)&&(this._foldingImportsByDefault=this.editor.getOptions().get(45))})),this.onModelChanged()}saveViewState(){const ue=this.editor.getModel();if(!ue||!this._isEnabled||ue.isTooLargeForTokenization())return{};if(this.foldingModel){const te=this.foldingModel.getMemento(),q=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:te,lineCount:ue.getLineCount(),provider:q,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(ue){const te=this.editor.getModel();if(!(!te||!this._isEnabled||te.isTooLargeForTokenization()||!this.hiddenRangeModel)&&ue&&(this._currentModelHasFoldedImports=!!ue.foldedImports,ue.collapsedRegions&&ue.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(ue.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const ue=this.editor.getModel();!this._isEnabled||!ue||ue.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new t.FoldingModel(ue,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new a.HiddenRangeModel(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(te=>this.onHiddenRangesChanges(te))),this.updateScheduler=new L.Delayer(this.updateDebounceInfo.get(ue)),this.cursorChangedScheduler=new L.RunOnceScheduler(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(te=>this.onDidChangeModelContent(te))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(te=>this.onEditorMouseDown(te))),this.localToDispose.add(this.editor.onMouseUp(te=>this.onEditorMouseUp(te))),this.localToDispose.add({dispose:()=>{var te,q;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),(te=this.updateScheduler)===null||te===void 0||te.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,(q=this.rangeProvider)===null||q===void 0||q.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var ue;(ue=this.rangeProvider)===null||ue===void 0||ue.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(ue){if(this.rangeProvider)return this.rangeProvider;const te=new u.IndentRangeProvider(ue,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=te,this._useFoldingProviders&&this.foldingModel){const q=P.getFoldingRangeProviders(this.languageFeaturesService,ue);q.length>0&&(this.rangeProvider=new d.SyntaxRangeProvider(ue,q,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,te))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(ue){var te;(te=this.hiddenRangeModel)===null||te===void 0||te.notifyChangeModelContent(ue),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const ue=this.foldingModel;if(!ue)return null;const te=new m.StopWatch,q=this.getRangeProvider(ue.textModel),z=this.foldingRegionPromise=(0,L.createCancelablePromise)(ee=>q.compute(ee));return z.then(ee=>{if(ee&&z===this.foldingRegionPromise){let $;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const ve=ee.setCollapsedAllOfType(i.FoldingRangeKind.Imports.value,!0);ve&&($=g.StableEditorScrollState.capture(this.editor),this._currentModelHasFoldedImports=ve)}const re=this.editor.getSelections(),oe=re?re.map(ve=>ve.startLineNumber):[];ue.update(ee,oe),$?.restore(this.editor);const ge=this.updateDebounceInfo.update(ue.textModel,te.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=ge)}return ue})}).then(void 0,ue=>((0,y.onUnexpectedError)(ue),null)))}onHiddenRangesChanges(ue){if(this.hiddenRangeModel&&ue.length&&!this._restoringViewState){const te=this.editor.getSelections();te&&this.hiddenRangeModel.adjustSelections(te)&&this.editor.setSelections(te)}this.editor.setHiddenAreas(ue,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const ue=this.getFoldingModel();ue&&ue.then(te=>{if(te){const q=this.editor.getSelections();if(q&&q.length>0){const z=[];for(const ee of q){const $=ee.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden($)&&z.push(...te.getAllRegionsAtLine($,re=>re.isCollapsed&&$>re.startLineNumber))}z.length&&(te.toggleCollapseState(z),this.reveal(q[0].getPosition()))}}}).then(void 0,y.onUnexpectedError)}onEditorMouseDown(ue){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!ue.target||!ue.target.range||!ue.event.leftButton&&!ue.event.middleButton)return;const te=ue.target.range;let q=!1;switch(ue.target.type){case 4:{const z=ue.target.detail,ee=ue.target.element.offsetLeft;if(z.offsetX-ee<4)return;q=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!ue.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){const z=this.editor.getModel();if(z&&te.startColumn===z.getLineMaxColumn(te.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:te.startLineNumber,iconClicked:q}}onEditorMouseUp(ue){const te=this.foldingModel;if(!te||!this.mouseDownInfo||!ue.target)return;const q=this.mouseDownInfo.lineNumber,z=this.mouseDownInfo.iconClicked,ee=ue.target.range;if(!ee||ee.startLineNumber!==q)return;if(z){if(ue.target.type!==4)return}else{const re=this.editor.getModel();if(!re||ee.startColumn!==re.getLineMaxColumn(q))return}const $=te.getRegionAtLine(q);if($&&$.startLineNumber===q){const re=$.isCollapsed;if(z||re){const oe=ue.event.altKey;let ge=[];if(oe){const ve=Le=>!Le.containedBy($)&&!$.containedBy(Le),Se=te.getRegionsInside(null,ve);for(const Le of Se)Le.isCollapsed&&ge.push(Le);ge.length===0&&(ge=Se)}else{const ve=ue.event.middleButton||ue.event.shiftKey;if(ve)for(const Se of te.getRegionsInside($))Se.isCollapsed===re&&ge.push(Se);(re||!ve||ge.length===0)&&ge.push($)}te.toggleCollapseState(ge),this.reveal({lineNumber:q,column:1})}}}reveal(ue){this.editor.revealPositionInCenterIfOutsideViewport(ue,0)}};e.FoldingController=T,T.ID="editor.contrib.folding",e.FoldingController=T=P=ke([fe(1,r.IContextKeyService),fe(2,n.ILanguageConfigurationService),fe(3,l.INotificationService),fe(4,p.ILanguageFeatureDebounceService),fe(5,v.ILanguageFeaturesService)],T);class A{constructor(ue){this.editor=ue,this._onDidChange=new b.Emitter,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(46)}update(ue,te){(ue!==this._computed||te!==this._limited)&&(this._computed=ue,this._limited=te,this._onDidChange.fire())}}e.RangesLimitReporter=A;class N extends C.EditorAction{runEditorCommand(ue,te,q){const z=ue.get(n.ILanguageConfigurationService),ee=T.get(te);if(!ee)return;const $=ee.getFoldingModel();if($)return this.reportTelemetry(ue,te),$.then(re=>{if(re){this.invoke(ee,re,te,q,z);const oe=te.getSelection();oe&&ee.reveal(oe.getStartPosition())}})}getSelectedLines(ue){const te=ue.getSelections();return te?te.map(q=>q.startLineNumber):[]}getLineNumbers(ue,te){return ue&&ue.selectionLines?ue.selectionLines.map(q=>q+1):this.getSelectedLines(te)}run(ue,te){}}function F(he){if(!_.isUndefined(he)){if(!_.isObject(he))return!1;const ue=he;if(!_.isUndefined(ue.levels)&&!_.isNumber(ue.levels)||!_.isUndefined(ue.direction)&&!_.isString(ue.direction)||!_.isUndefined(ue.selectionLines)&&(!Array.isArray(ue.selectionLines)||!ue.selectionLines.every(_.isNumber)))return!1}return!0}class O extends N{constructor(){super({id:"editor.unfold",label:h.localize(0,null),alias:"Unfold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to unfold. If not set, defaults to 1. - * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=z&&z.levels||1,$=this.getLineNumbers(z,q);z&&z.direction==="up"?(0,t.setCollapseStateLevelsUp)(te,!1,ee,$):(0,t.setCollapseStateLevelsDown)(te,!1,ee,$)}}class W extends N{constructor(){super({id:"editor.unfoldRecursively",label:h.localize(1,null),alias:"Unfold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2142),weight:100}})}invoke(ue,te,q,z){(0,t.setCollapseStateLevelsDown)(te,!1,Number.MAX_VALUE,this.getSelectedLines(q))}}class U extends N{constructor(){super({id:"editor.fold",label:h.localize(2,null),alias:"Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to fold. - * 'direction': If 'up', folds given number of levels up otherwise folds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. - If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=this.getLineNumbers(z,q),$=z&&z.levels,re=z&&z.direction;typeof $!="number"&&typeof re!="string"?(0,t.setCollapseStateUp)(te,!0,ee):re==="up"?(0,t.setCollapseStateLevelsUp)(te,!0,$||1,ee):(0,t.setCollapseStateLevelsDown)(te,!0,$||1,ee)}}class j extends N{constructor(){super({id:"editor.toggleFold",label:h.localize(3,null),alias:"Toggle Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2090),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.toggleCollapseState)(te,1,z)}}class R extends N{constructor(){super({id:"editor.foldRecursively",label:h.localize(4,null),alias:"Fold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2140),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateLevelsDown)(te,!0,Number.MAX_VALUE,z)}}class K extends N{constructor(){super({id:"editor.foldAllBlockComments",label:h.localize(5,null),alias:"Fold All Block Comments",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2138),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Comment.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).comments;if(re&&re.blockCommentStartToken){const oe=new RegExp("^\\s*"+(0,f.escapeRegExpCharacters)(re.blockCommentStartToken));(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class G extends N{constructor(){super({id:"editor.foldAllMarkerRegions",label:h.localize(6,null),alias:"Fold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2077),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class Z extends N{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:h.localize(7,null),alias:"Unfold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2078),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!1);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!1)}}}}class J extends N{constructor(){super({id:"editor.foldAllExcept",label:h.localize(8,null),alias:"Fold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2136),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!0,z)}}class X extends N{constructor(){super({id:"editor.unfoldAllExcept",label:h.localize(9,null),alias:"Unfold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2134),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!1,z)}}class H extends N{constructor(){super({id:"editor.foldAll",label:h.localize(10,null),alias:"Fold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2069),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!0)}}class B extends N{constructor(){super({id:"editor.unfoldAll",label:h.localize(11,null),alias:"Unfold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2088),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!1)}}class V extends N{getFoldingLevel(){return parseInt(this.id.substr(V.ID_PREFIX.length))}invoke(ue,te,q){(0,t.setCollapseStateAtLevel)(te,this.getFoldingLevel(),!0,this.getSelectedLines(q))}}V.ID_PREFIX="editor.foldLevel",V.ID=he=>V.ID_PREFIX+he;class Y extends N{constructor(){super({id:"editor.gotoParentFold",label:h.localize(12,null),alias:"Go to Parent Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getParentFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ie extends N{constructor(){super({id:"editor.gotoPreviousFold",label:h.localize(13,null),alias:"Go to Previous Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getPreviousFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ae extends N{constructor(){super({id:"editor.gotoNextFold",label:h.localize(14,null),alias:"Go to Next Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getNextFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ce extends N{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:h.localize(15,null),alias:"Create Folding Range from Selection",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2135),weight:100}})}invoke(ue,te,q){var z;const ee=[],$=q.getSelections();if($){for(const re of $){let oe=re.endLineNumber;re.endColumn===1&&--oe,oe>re.startLineNumber&&(ee.push({startLineNumber:re.startLineNumber,endLineNumber:oe,type:void 0,isCollapsed:!0,source:1}),q.setSelection({startLineNumber:re.startLineNumber,startColumn:1,endLineNumber:re.startLineNumber,endColumn:1}))}if(ee.length>0){ee.sort((oe,ge)=>oe.startLineNumber-ge.startLineNumber);const re=o.FoldingRegions.sanitizeAndMerge(te.regions,ee,(z=q.getModel())===null||z===void 0?void 0:z.getLineCount());te.updatePost(o.FoldingRegions.fromFoldRanges(re))}}}}class de extends N{constructor(){super({id:"editor.removeManualFoldingRanges",label:h.localize(16,null),alias:"Remove Manual Folding Ranges",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2137),weight:100}})}invoke(ue,te,q){const z=q.getSelections();if(z){const ee=[];for(const $ of z){const{startLineNumber:re,endLineNumber:oe}=$;ee.push(oe>=re?{startLineNumber:re,endLineNumber:oe}:{endLineNumber:oe,startLineNumber:re})}te.removeManualRanges(ee),ue.triggerFoldingModelChanged()}}}(0,C.registerEditorContribution)(T.ID,T,0),(0,C.registerEditorAction)(O),(0,C.registerEditorAction)(W),(0,C.registerEditorAction)(U),(0,C.registerEditorAction)(R),(0,C.registerEditorAction)(H),(0,C.registerEditorAction)(B),(0,C.registerEditorAction)(K),(0,C.registerEditorAction)(G),(0,C.registerEditorAction)(Z),(0,C.registerEditorAction)(J),(0,C.registerEditorAction)(X),(0,C.registerEditorAction)(j),(0,C.registerEditorAction)(Y),(0,C.registerEditorAction)(ie),(0,C.registerEditorAction)(ae),(0,C.registerEditorAction)(ce),(0,C.registerEditorAction)(de);for(let he=1;he<=7;he++)(0,C.registerInstantiatedEditorAction)(new V({id:V.ID(he),label:h.localize(17,null,he),alias:`Fold Level ${he}`,precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2048|21+he),weight:100}}));w.CommandsRegistry.registerCommand("_executeFoldingRangeProvider",function(he,...ue){return we(this,void 0,void 0,function*(){const[te]=ue;if(!(te instanceof E.URI))throw(0,y.illegalArgument)();const q=he.get(v.ILanguageFeaturesService),z=he.get(I.IModelService).getModel(te);if(!z)throw(0,y.illegalArgument)();const ee=he.get(M.IConfigurationService);if(!ee.getValue("editor.folding",{resource:te}))return[];const $=he.get(n.ILanguageConfigurationService),re=ee.getValue("editor.foldingStrategy",{resource:te}),oe={get limit(){return ee.getValue("editor.foldingMaximumRegions",{resource:te})},update:(De,ye)=>{}},ge=new u.IndentRangeProvider(z,$,oe);let ve=ge;if(re!=="indentation"){const De=T.getFoldingRangeProviders(q,z);De.length&&(ve=new d.SyntaxRangeProvider(z,De,()=>{},oe,ge))}const Se=yield ve.compute(k.CancellationToken.None),Le=[];try{if(Se)for(let De=0;DeW.hoverOrdinal-U.hoverOrdinal),this._computer=new x(this._editor,this._participants),this._hoverOperation=this._register(new C.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(W=>{if(!this._computer.anchor)return;const U=W.hasLoadingMessage?this._addLoadingMessage(W.value):W.value;this._withResult(new m(this._computer.anchor,U,W.isComplete))})),this._register(L.addStandardDisposableListener(this._widget.getDomNode(),"keydown",W=>{W.equals(9)&&this.hide()})),this._register(g.TokenizationRegistry.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}get widget(){return this._widget}maybeShowAt(N){if(this._widget.isResizing)return!0;const F=[];for(const W of this._participants)if(W.suggestHoverAnchor){const U=W.suggestHoverAnchor(N);U&&F.push(U)}const O=N.target;if(O.type===6&&F.push(new s.HoverRangeAnchor(0,O.range,N.event.posx,N.event.posy)),O.type===7){const W=this._editor.getOption(49).typicalHalfwidthCharacterWidth/2;!O.detail.isAfterLines&&typeof O.detail.horizontalDistanceToText=="number"&&O.detail.horizontalDistanceToTextU.priority-W.priority),this._startShowingOrUpdateHover(F[0],0,0,!1,N))}startShowingAtRange(N,F,O,W){this._startShowingOrUpdateHover(new s.HoverRangeAnchor(0,N,void 0,void 0),F,O,W,null)}_startShowingOrUpdateHover(N,F,O,W,U){return!this._widget.position||!this._currentResult?N?(this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):!1:this._editor.getOption(59).sticky&&U&&this._widget.isMouseGettingCloser(U.event.posx,U.event.posy)?(N&&this._startHoverOperationIfNecessary(N,F,O,W,!0),!0):N?N&&this._currentResult.anchor.equals(N)?!0:N.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(N)),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(N,F,O,W,U){this._computer.anchor&&this._computer.anchor.equals(N)||(this._hoverOperation.cancel(),this._computer.anchor=N,this._computer.shouldFocus=W,this._computer.source=O,this._computer.insistOnKeepingHoverVisible=U,this._hoverOperation.start(F))}_setCurrentResult(N){this._currentResult!==N&&(N&&N.messages.length===0&&(N=null),this._currentResult=N,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}containsNode(N){return N?this._widget.getDomNode().contains(N):!1}_addLoadingMessage(N){if(this._computer.anchor){for(const F of this._participants)if(F.createLoadingMessage){const O=F.createLoadingMessage(this._computer.anchor);if(O)return N.slice(0).concat([O])}}return N}_withResult(N){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!N.isComplete||this._computer.insistOnKeepingHoverVisible&&N.messages.length===0)||this._setCurrentResult(N)}_renderMessages(N,F){const{showAtPosition:O,showAtSecondaryPosition:W,highlightRange:U}=o.computeHoverRanges(this._editor,N.range,F),j=new D.DisposableStore,R=j.add(new P(this._keybindingService)),K=document.createDocumentFragment();let G=null;const Z={fragment:K,statusBar:R,setColorPicker:X=>G=X,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:X=>this._widget.setMinimumDimensions(X),hide:()=>this.hide()};for(const X of this._participants){const H=F.filter(B=>B.owner===X);H.length>0&&j.add(X.renderHoverParts(Z,H))}const J=F.some(X=>X.isBeforeContent);if(R.hasContent&&K.appendChild(R.hoverElement),K.hasChildNodes()){if(U){const X=this._editor.createDecorationsCollection();X.set([{range:U,options:o._DECORATION_OPTIONS}]),j.add((0,D.toDisposable)(()=>{X.clear()}))}this._widget.showAt(K,new b(G,O,W,this._editor.getOption(59).above,this._computer.shouldFocus,this._computer.source,J,N.initialMousePosX,N.initialMousePosY,j))}else j.dispose()}static computeHoverRanges(N,F,O){let W=1;if(N.hasModel()){const G=N._getViewModel(),Z=G.coordinatesConverter,J=Z.convertModelRangeToViewRange(F),X=new S.Position(J.startLineNumber,G.getLineMinColumn(J.startLineNumber));W=Z.convertViewPositionToModelPosition(X).column}const U=F.startLineNumber;let j=F.startColumn,R=O[0].range,K=null;for(const G of O)R=f.Range.plusRange(R,G.range),G.range.startLineNumber===U&&G.range.endLineNumber===U&&(j=Math.max(Math.min(j,G.range.startColumn),W)),G.forceShowAtRange&&(K=G.range);return{showAtPosition:K?K.getStartPosition():new S.Position(U,F.startColumn),showAtSecondaryPosition:K?K.getStartPosition():new S.Position(U,j),highlightRange:R}}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}};e.ContentHoverController=p,p._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"content-hover-highlight",className:"hoverHighlight"}),e.ContentHoverController=p=o=ke([fe(1,i.IInstantiationService),fe(2,n.IKeybindingService)],p);class m{constructor(N,F,O){this.anchor=N,this.messages=F,this.isComplete=O}filter(N){const F=this.messages.filter(O=>O.isValidForHoverAnchor(N));return F.length===this.messages.length?this:new v(this,this.anchor,F,this.isComplete)}}class v extends m{constructor(N,F,O,W){super(F,O,W),this.original=N}filter(N){return this.original.filter(N)}}class b{constructor(N,F,O,W,U,j,R,K,G,Z){this.colorPicker=N,this.showAtPosition=F,this.showAtSecondaryPosition=O,this.preferAbove=W,this.stoleFocus=U,this.source=j,this.isBeforeContent=R,this.initialMousePosX=K,this.initialMousePosY=G,this.disposables=Z,this.closestMouseDistance=void 0}}const w=30,E=10,I=6;let M=d=class extends h.ResizableContentWidget{get isColorPickerVisible(){var N;return!!(!((N=this._visibleData)===null||N===void 0)&&N.colorPicker)}get isVisibleFromKeyboard(){var N;return((N=this._visibleData)===null||N===void 0?void 0:N.source)===1}get isVisible(){var N;return(N=this._hoverVisibleKey.get())!==null&&N!==void 0?N:!1}get isFocused(){var N;return(N=this._hoverFocusedKey.get())!==null&&N!==void 0?N:!1}constructor(N,F,O,W,U){const j=N.getOption(65)+8,R=150,K=new L.Dimension(R,j);super(N,K),this._configurationService=O,this._accessibilityService=W,this._keybindingService=U,this._hover=this._register(new k.HoverWidget),this._minimumSize=K,this._hoverVisibleKey=a.EditorContextKeys.hoverVisible.bindTo(F),this._hoverFocusedKey=a.EditorContextKeys.hoverFocused.bindTo(F),L.append(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(Z=>{Z.hasChanged(49)&&this._updateFont()}));const G=this._register(L.trackFocus(this._resizableNode.domNode));this._register(G.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(G.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._layout(),this._editor.addContentWidget(this)}dispose(){var N;super.dispose(),(N=this._visibleData)===null||N===void 0||N.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return d.ID}static _applyDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.width=W,N.style.height=U}_setContentsDomNodeDimensions(N,F){const O=this._hover.contentsDomNode;return d._applyDimensions(O,N,F)}_setContainerDomNodeDimensions(N,F){const O=this._hover.containerDomNode;return d._applyDimensions(O,N,F)}_setHoverWidgetDimensions(N,F){this._setContentsDomNodeDimensions(N,F),this._setContainerDomNodeDimensions(N,F),this._layoutContentWidget()}static _applyMaxDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.maxWidth=W,N.style.maxHeight=U}_setHoverWidgetMaxDimensions(N,F){d._applyMaxDimensions(this._hover.contentsDomNode,N,F),d._applyMaxDimensions(this._hover.containerDomNode,N,F),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof N=="number"?`${N}px`:N),this._layoutContentWidget()}_hasHorizontalScrollbar(){const N=this._hover.scrollbar.getScrollDimensions();return N.scrollWidth>N.width}_adjustContentsBottomPadding(){const N=this._hover.contentsDomNode,F=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;N.style.paddingBottom!==F&&(N.style.paddingBottom=F)}_setAdjustedHoverWidgetDimensions(N){this._setHoverWidgetMaxDimensions("none","none");const F=N.width,O=N.height;this._setHoverWidgetDimensions(F,O),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(F,O-E))}_updateResizableNodeMaxDimensions(){var N,F;const O=(N=this._findMaximumRenderingWidth())!==null&&N!==void 0?N:1/0,W=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._resizableNode.maxSize=new L.Dimension(O,W),this._setHoverWidgetMaxDimensions(O,W)}_resize(N){var F,O;d._lastDimensions=new L.Dimension(N.width,N.height),this._setAdjustedHoverWidgetDimensions(N),this._resizableNode.layout(N.height,N.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(O=(F=this._visibleData)===null||F===void 0?void 0:F.colorPicker)===null||O===void 0||O.layout()}_findAvailableSpaceVertically(){var N;const F=(N=this._visibleData)===null||N===void 0?void 0:N.showAtPosition;if(F)return this._positionPreference===1?this._availableVerticalSpaceAbove(F):this._availableVerticalSpaceBelow(F)}_findMaximumRenderingHeight(){const N=this._findAvailableSpaceVertically();if(!N)return;let F=I;return Array.from(this._hover.contentsDomNode.children).forEach(O=>{F+=O.clientHeight}),this._hasHorizontalScrollbar()&&(F+=E),Math.min(N,F)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const N=Array.from(this._hover.contentsDomNode.children).some(F=>F.scrollWidth>F.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),N}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const N=this._isHoverTextOverflowing(),F=typeof this._contentWidth>"u"?0:this._contentWidth-2;return N||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=N,this._visibleData.initialMousePosY=F,!1;const O=L.getDomNodePagePosition(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=T(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,O.left,O.top,O.width,O.height));const W=T(N,F,O.left,O.top,O.width,O.height);return W>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,W),!0)}_setHoverData(N){var F;(F=this._visibleData)===null||F===void 0||F.disposables.dispose(),this._visibleData=N,this._hoverVisibleKey.set(!!N),this._hover.containerDomNode.classList.toggle("hidden",!N)}_layout(){const{fontSize:N,lineHeight:F}=this._editor.getOption(49),O=this._hover.contentsDomNode;O.style.fontSize=`${N}px`,O.style.lineHeight=`${F/N}`,this._updateMaxDimensions()}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(F=>this._editor.applyFontInfo(F))}_updateContent(N){const F=this._hover.contentsDomNode;F.style.paddingBottom="",F.textContent="",F.appendChild(N)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const N=Math.max(this._editor.getLayoutInfo().height/4,250,d._lastDimensions.height),F=Math.max(this._editor.getLayoutInfo().width*.66,500,d._lastDimensions.width);this._setHoverWidgetMaxDimensions(F,N)}_render(N,F){this._setHoverData(F),this._updateFont(),this._updateContent(N),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var N;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(N=this._positionPreference)!==null&&N!==void 0?N:1]}:null}showAt(N,F){var O,W,U,j;if(!this._editor||!this._editor.hasModel())return;this._render(N,F);const R=L.getTotalHeight(this._hover.containerDomNode),K=F.showAtPosition;this._positionPreference=(O=this._findPositionPreference(R,K))!==null&&O!==void 0?O:1,this.onContentsChanged(),F.stoleFocus&&this._hover.containerDomNode.focus(),(W=F.colorPicker)===null||W===void 0||W.layout();const G=(0,k.getHoverAccessibleViewHint)(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(j=(U=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||U===void 0?void 0:U.getAriaLabel())!==null&&j!==void 0?j:"");G&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+G)}hide(){if(!this._visibleData)return;const N=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new L.Dimension(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),N&&this._editor.focus()}_removeConstraintsRenderNormally(){const N=this._editor.getLayoutInfo();this._resizableNode.layout(N.height,N.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(N){var F;const O=this._hover.containerDomNode,W=this._hover.contentsDomNode,U=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._setContainerDomNodeDimensions(L.getTotalWidth(O),Math.min(U,N)),this._setContentsDomNodeDimensions(L.getTotalWidth(W),Math.min(U,N-E))}setMinimumDimensions(N){this._minimumSize=new L.Dimension(Math.max(this._minimumSize.width,N.width),Math.max(this._minimumSize.height,N.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const N=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new L.Dimension(N,this._minimumSize.height)}onContentsChanged(){var N;this._removeConstraintsRenderNormally();const F=this._hover.containerDomNode;let O=L.getTotalHeight(F),W=L.getTotalWidth(F);if(this._resizableNode.layout(O,W),this._setHoverWidgetDimensions(W,O),O=L.getTotalHeight(F),W=L.getTotalWidth(F),this._contentWidth=W,this._updateMinimumWidth(),this._resizableNode.layout(O,W),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(O)),!((N=this._visibleData)===null||N===void 0)&&N.showAtPosition){const U=L.getTotalHeight(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(U,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N-F.lineHeight})}scrollDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N+F.lineHeight})}scrollLeft(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N-w})}scrollRight(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N+w})}pageUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N-F})}pageDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N+F})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};e.ContentHoverWidget=M,M.ID="editor.contrib.resizableContentHoverWidget",M._lastDimensions=new L.Dimension(0,0),e.ContentHoverWidget=M=d=ke([fe(1,u.IContextKeyService),fe(2,r.IConfigurationService),fe(3,c.IAccessibilityService),fe(4,n.IKeybindingService)],M);let P=class extends D.Disposable{get hasContent(){return this._hasContent}constructor(N){super(),this._keybindingService=N,this._hasContent=!1,this.hoverElement=l("div.hover-row.status-bar"),this.actionsElement=L.append(this.hoverElement,l("div.actions"))}addAction(N){const F=this._keybindingService.lookupKeybinding(N.commandId),O=F?F.getLabel():null;return this._hasContent=!0,this._register(k.HoverAction.render(this.actionsElement,N,O))}append(N){const F=L.append(this.actionsElement,N);return this._hasContent=!0,F}};e.EditorHoverStatusBar=P,e.EditorHoverStatusBar=P=ke([fe(0,n.IKeybindingService)],P);class x{get anchor(){return this._anchor}set anchor(N){this._anchor=N}get shouldFocus(){return this._shouldFocus}set shouldFocus(N){this._shouldFocus=N}get source(){return this._source}set source(N){this._source=N}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(N){this._insistOnKeepingHoverVisible=N}constructor(N,F){this._editor=N,this._participants=F,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(N,F){if(F.type!==1&&!F.supportsMarkerHover)return[];const O=N.getModel(),W=F.range.startLineNumber;if(W>O.getLineCount())return[];const U=O.getLineMaxColumn(W);return N.getLineDecorations(W).filter(j=>{if(j.options.isWholeLine)return!0;const R=j.range.startLineNumber===W?j.range.startColumn:1,K=j.range.endLineNumber===W?j.range.endColumn:U;if(j.options.showIfCollapsed){if(R>F.range.startColumn+1||F.range.endColumn-1>K)return!1}else if(R>F.range.startColumn||F.range.endColumn>K)return!1;return!0})}computeAsync(N){const F=this._anchor;if(!this._editor.hasModel()||!F)return t.AsyncIterableObject.EMPTY;const O=x._getLineDecorations(this._editor,F);return t.AsyncIterableObject.merge(this._participants.map(W=>W.computeAsync?W.computeAsync(F,O,N):t.AsyncIterableObject.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const N=x._getLineDecorations(this._editor,this._anchor);let F=[];for(const O of this._participants)F=F.concat(O.computeSync(this._anchor,N));return(0,y.coalesce)(F)}}function T(A,N,F,O,W,U){const j=F+W/2,R=O+U/2,K=Math.max(Math.abs(A-j)-W/2,0),G=Math.max(Math.abs(N-R)-U/2,0);return Math.sqrt(K*K+G*G)}}),define(ne[885],se([1,0,2,364,8,367,34,6,18,16,21,15,51,32,342,7,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerWidget=e.StandaloneColorPickerController=void 0;let r=u=class extends L.Disposable{constructor(m,v,b,w,E,I,M){super(),this._editor=m,this._modelService=b,this._keybindingService=w,this._instantiationService=E,this._languageFeatureService=I,this._languageConfigurationService=M,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=C.EditorContextKeys.standaloneColorPickerVisible.bindTo(v),this._standaloneColorPickerFocused=C.EditorContextKeys.standaloneColorPickerFocused.bindTo(v)}showOrFocus(){var m;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(m=this._standaloneColorPickerWidget)===null||m===void 0||m.focus():this._standaloneColorPickerWidget=new d(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var m;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(m=this._standaloneColorPickerWidget)===null||m===void 0||m.hide(),this._editor.focus()}insertColor(){var m;(m=this._standaloneColorPickerWidget)===null||m===void 0||m.updateEditor(),this.hide()}static get(m){return m.getContribution(u.ID)}};e.StandaloneColorPickerController=r,r.ID="editor.contrib.standaloneColorPickerController",e.StandaloneColorPickerController=r=u=ke([fe(1,s.IContextKeyService),fe(2,i.IModelService),fe(3,S.IKeybindingService),fe(4,y.IInstantiationService),fe(5,_.ILanguageFeaturesService),fe(6,n.ILanguageConfigurationService)],r),(0,g.registerEditorContribution)(r.ID,r,1);const c=8,o=22;let d=h=class extends L.Disposable{constructor(m,v,b,w,E,I,M,P){var x;super(),this._editor=m,this._standaloneColorPickerVisible=v,this._standaloneColorPickerFocused=b,this._modelService=E,this._keybindingService=I,this._languageFeaturesService=M,this._languageConfigurationService=P,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new f.Emitter),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=w.createInstance(k.StandaloneColorPickerParticipant,this._editor),this._position=(x=this._editor._getViewModel())===null||x===void 0?void 0:x.getPrimaryCursorState().modelState.position;const T=this._editor.getSelection(),A=T?{startLineNumber:T.startLineNumber,startColumn:T.startColumn,endLineNumber:T.endLineNumber,endColumn:T.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},N=this._register(a.trackFocus(this._body));this._register(N.onDidBlur(F=>{this.hide()})),this._register(N.onDidFocus(F=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(F=>{var O;const W=(O=F.target.element)===null||O===void 0?void 0:O.classList;W&&W.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(F=>{this._render(F.value,F.foundInEditor)})),this._start(A),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return h.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const m=this._editor.getOption(59).above;return{position:this._position,secondaryPosition:this._position,preference:m?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}_start(m){return we(this,void 0,void 0,function*(){const v=yield this._computeAsync(m);v&&this._onResult.fire(new l(v.result,v.foundInEditor))})}_computeAsync(m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return null;const v={range:m,color:{red:0,green:0,blue:0,alpha:1}},b=yield this._standaloneColorPickerParticipant.createColorHover(v,new t.DefaultDocumentColorProvider(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return b?{result:b.colorHover,foundInEditor:b.foundInEditor}:null})}_render(m,v){const b=document.createDocumentFragment(),w=this._register(new D.EditorHoverStatusBar(this._keybindingService));let E;const I={fragment:b,statusBar:w,setColorPicker:W=>E=W,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=m,this._register(this._standaloneColorPickerParticipant.renderHoverParts(I,[m])),E===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(b),E.layout();const M=E.body,P=M.saturationBox.domNode.clientWidth,x=M.domNode.clientWidth-P-o-c,T=E.body.enterButton;T?.onClicked(()=>{this.updateEditor(),this.hide()});const A=E.header,N=A.pickedColorNode;N.style.width=P+c+"px";const F=A.originalColorNode;F.style.width=x+"px";const O=E.header.closeButton;O?.onClicked(()=>{this.hide()}),v&&(T&&(T.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(m.range)),this._editor.layoutContentWidget(this)}};e.StandaloneColorPickerWidget=d,d.ID="editor.contrib.standaloneColorPickerWidget",e.StandaloneColorPickerWidget=d=h=ke([fe(3,y.IInstantiationService),fe(4,i.IModelService),fe(5,S.IKeybindingService),fe(6,_.ILanguageFeaturesService),fe(7,n.ILanguageConfigurationService)],d);class l{constructor(m,v){this.value=m,this.foundInEditor=v}}}),define(ne[886],se([1,0,16,645,885,21,30,199]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowOrFocusStandaloneColorPicker=void 0;class f extends L.EditorAction2{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Show or Focus Standalone Color Picker"},precondition:void 0,menu:[{id:S.MenuId.CommandPalette}]})}runEditorCommand(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.showOrFocus()}}e.ShowOrFocusStandaloneColorPicker=f;class _ extends L.EditorAction{constructor(){super({id:"editor.action.hideColorPicker",label:(0,k.localize)(2,null),alias:"Hide the Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.hide()}}class g extends L.EditorAction{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,k.localize)(3,null),alias:"Insert Color with Standalone Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.insertColor()}}(0,L.registerEditorAction)(_),(0,L.registerEditorAction)(g),(0,S.registerAction2)(f)}),define(ne[887],se([1,0,13,9,104,16,5,24,21,40,115,674,544,449]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});let t=n=class{static get(r){return r.getContribution(n.ID)}constructor(r,c){this.editor=r,this.editorWorkerService=c,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(r,c){var o;(o=this.currentRequest)===null||o===void 0||o.cancel();const d=this.editor.getSelection(),l=this.editor.getModel();if(!l||!d)return;let p=d;if(p.startLineNumber!==p.endLineNumber)return;const m=new y.EditorState(this.editor,5),v=l.uri;return this.editorWorkerService.canNavigateValueSet(v)?(this.currentRequest=(0,L.createCancelablePromise)(b=>this.editorWorkerService.navigateValueSet(v,p,c)),this.currentRequest.then(b=>{var w;if(!b||!b.range||!b.value||!m.validate(this.editor))return;const E=S.Range.lift(b.range);let I=b.range;const M=b.value.length-(p.endColumn-p.startColumn);I={startLineNumber:I.startLineNumber,startColumn:I.startColumn,endLineNumber:I.endLineNumber,endColumn:I.startColumn+b.value.length},M>1&&(p=new f.Selection(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+M-1));const P=new i.InPlaceReplaceCommand(E,p,b.value);this.editor.pushUndoStop(),this.editor.executeCommand(r,P),this.editor.pushUndoStop(),this.decorations.set([{range:I,options:n.DECORATION}]),(w=this.decorationRemover)===null||w===void 0||w.cancel(),this.decorationRemover=(0,L.timeout)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(k.onUnexpectedError)}).catch(k.onUnexpectedError)):Promise.resolve(void 0)}};t.ID="editor.contrib.inPlaceReplaceController",t.DECORATION=g.ModelDecorationOptions.register({description:"in-place-replace",className:"valueSetReplacement"}),t=n=ke([fe(1,C.IEditorWorkerService)],t);class a extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.up",label:s.localize(0,null),alias:"Replace with Previous Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3159,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!1):Promise.resolve(void 0)}}class u extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.down",label:s.localize(1,null),alias:"Replace with Next Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3161,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!0):Promise.resolve(void 0)}}(0,D.registerEditorContribution)(t.ID,t,4),(0,D.registerEditorAction)(a),(0,D.registerEditorAction)(u)}),define(ne[256],se([1,0,7,13,25,2,11,26,5,40,8,452]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineProgressManager=void 0;const s=g.ModelDecorationOptions.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:S.noBreakWhitespace,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class i extends D.Disposable{constructor(a,u,h,r,c){super(),this.typeId=a,this.editor=u,this.range=h,this.delegate=c,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(r),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(a){this.domNode=L.$(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=a;const u=L.$("span.icon");this.domNode.append(u),u.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.loading),"codicon-modifier-spin");const h=()=>{const r=this.editor.getOption(65);this.domNode.style.height=`${r}px`,this.domNode.style.width=`${Math.ceil(.8*r)}px`};h(),this._register(this.editor.onDidChangeConfiguration(r=>{(r.hasChanged(51)||r.hasChanged(65))&&h()})),this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,r=>{this.delegate.cancel()}))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}i.baseId="editor.widget.inlineProgressWidget";let n=class extends D.Disposable{constructor(a,u,h){super(),this.id=a,this._editor=u,this._instantiationService=h,this._showDelay=500,this._showPromise=this._register(new D.MutableDisposable),this._currentWidget=new D.MutableDisposable,this._operationIdPool=0,this._currentDecorations=u.createDecorationsCollection()}showWhile(a,u,h){return we(this,void 0,void 0,function*(){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=(0,k.disposableTimeout)(()=>{const c=_.Range.fromPositions(a);this._currentDecorations.set([{range:c,options:s}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(i,this.id,this._editor,c,u,h))},this._showDelay);try{return yield h}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}})}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};e.InlineProgressManager=n,e.InlineProgressManager=n=ke([fe(2,C.IInstantiationService)],n)}),define(ne[888],se([1,0,7,14,13,171,2,107,17,170,185,341,132,5,18,331,104,256,650,96,15,8,77,71,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.CopyPasteController=e.pasteWidgetVisibleCtx=e.changePasteTypeCommandId=void 0,e.changePasteTypeCommandId="editor.changePasteType",e.pasteWidgetVisibleCtx=new o.RawContextKey("pasteWidgetVisible",!1,(0,r.localize)(0,null));const b="application/vnd.code.copyMetadata";let w=v=class extends S.Disposable{static get(M){return M.getContribution(v.ID)}constructor(M,P,x,T,A,N,F){super(),this._bulkEditService=x,this._clipboardService=T,this._languageFeaturesService=A,this._quickInputService=N,this._progressService=F,this._editor=M;const O=M.getContainerDomNode();this._register((0,L.addDisposableListener)(O,"copy",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"cut",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"paste",W=>this.handlePaste(W),!0)),this._pasteProgressManager=this._register(new h.InlineProgressManager("pasteIntoEditor",M,P)),this._postPasteWidgetManager=this._register(P.createInstance(m.PostEditWidgetManager,"pasteIntoEditor",M,e.pasteWidgetVisibleCtx,{id:e.changePasteTypeCommandId,label:(0,r.localize)(1,null)}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(M){this._editor.focus();try{this._pasteAsActionContext={preferredId:M},document.execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(83).enabled&&!this._editor.getOption(89)}handleCopy(M){var P,x;if(!this._editor.hasTextFocus()||(_.isWeb&&this._clipboardService.writeResources([]),!M.clipboardData||!this.isPasteAsEnabled()))return;const T=this._editor.getModel(),A=this._editor.getSelections();if(!T||!A?.length)return;const N=this._editor.getOption(36);let F=A;const O=A.length===1&&A[0].isEmpty();if(O){if(!N)return;F=[new n.Range(F[0].startLineNumber,1,F[0].startLineNumber,1+T.getLineLength(F[0].startLineNumber))]}const W=(P=this._editor._getViewModel())===null||P===void 0?void 0:P.getPlainTextToCopy(A,N,_.isWindows),j={multicursorText:Array.isArray(W)?W:null,pasteOnNewLine:O,mode:null},R=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(X=>!!X.prepareDocumentPaste);if(!R.length){this.setCopyMetadata(M.clipboardData,{defaultPastePayload:j});return}const K=(0,s.toVSDataTransfer)(M.clipboardData),G=R.flatMap(X=>{var H;return(H=X.copyMimeTypes)!==null&&H!==void 0?H:[]}),Z=(0,g.generateUuid)();this.setCopyMetadata(M.clipboardData,{id:Z,providerCopyMimeTypes:G,defaultPastePayload:j});const J=(0,y.createCancelablePromise)(X=>we(this,void 0,void 0,function*(){const H=(0,k.coalesce)(yield Promise.all(R.map(B=>we(this,void 0,void 0,function*(){try{return yield B.prepareDocumentPaste(T,F,K,X)}catch(V){console.error(V);return}}))));H.reverse();for(const B of H)for(const[V,Y]of B)K.replace(V,Y);return K}));(x=this._currentCopyOperation)===null||x===void 0||x.dataTransferPromise.cancel(),this._currentCopyOperation={handle:Z,dataTransferPromise:J}}handlePaste(M){var P,x;return we(this,void 0,void 0,function*(){if(!M.clipboardData||!this._editor.hasTextFocus())return;(P=this._currentPasteOperation)===null||P===void 0||P.cancel(),this._currentPasteOperation=void 0;const T=this._editor.getModel(),A=this._editor.getSelections();if(!A?.length||!T||!this.isPasteAsEnabled())return;const N=this.fetchCopyMetadata(M),F=(0,s.toExternalVSDataTransfer)(M.clipboardData);F.delete(b);const O=[...M.clipboardData.types,...(x=N?.providerCopyMimeTypes)!==null&&x!==void 0?x:[],f.Mimes.uriList],W=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(U=>{var j;return(j=U.pasteMimeTypes)===null||j===void 0?void 0:j.some(R=>(0,D.matchesMimeType)(R,O))});W.length&&(M.preventDefault(),M.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,W,A,F,N):this.doPasteInline(W,A,F,N))})}doPasteInline(M,P,x,T){const A=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=this._editor;if(!F.hasModel())return;const O=F.getModel(),W=new u.EditorStateCancellationTokenSource(F,3,void 0,N);try{if(yield this.mergeInDataFromCopy(x,T,W.token),W.token.isCancellationRequested)return;const U=M.filter(R=>E(R,x));if(!U.length||U.length===1&&U[0].id==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}const j=yield this.getPasteEdits(U,x,O,P,W.token);if(W.token.isCancellationRequested)return;if(j.length===1&&j[0].providerId==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}if(j.length){const R=F.getOption(83).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(P,{activeEditIndex:0,allEdits:j},R,W.token)}yield this.applyDefaultPasteHandler(x,T,W.token)}finally{W.dispose(),this._currentPasteOperation===A&&(this._currentPasteOperation=void 0)}}));this._pasteProgressManager.showWhile(P[0].getEndPosition(),(0,r.localize)(2,null),A),this._currentPasteOperation=A}showPasteAsPick(M,P,x,T,A){const N=(0,y.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){const O=this._editor;if(!O.hasModel())return;const W=O.getModel(),U=new u.EditorStateCancellationTokenSource(O,3,void 0,F);try{if(yield this.mergeInDataFromCopy(T,A,U.token),U.token.isCancellationRequested)return;let j=P.filter(Z=>E(Z,T));M&&(j=j.filter(Z=>Z.id===M));const R=yield this.getPasteEdits(j,T,W,x,U.token);if(U.token.isCancellationRequested||!R.length)return;let K;if(M)K=R.at(0);else{const Z=yield this._quickInputService.pick(R.map(J=>({label:J.label,description:J.providerId,detail:J.detail,edit:J})),{placeHolder:(0,r.localize)(3,null)});K=Z?.edit}if(!K)return;const G=(0,a.createCombinedWorkspaceEdit)(W.uri,x,K);yield this._bulkEditService.apply(G,{editor:this._editor})}finally{U.dispose(),this._currentPasteOperation===N&&(this._currentPasteOperation=void 0)}}));this._progressService.withProgress({location:10,title:(0,r.localize)(4,null)},()=>N)}setCopyMetadata(M,P){M.setData(b,JSON.stringify(P))}fetchCopyMetadata(M){var P;if(!M.clipboardData)return;const x=M.clipboardData.getData(b);if(x)try{return JSON.parse(x)}catch{return}const[T,A]=C.ClipboardEventUtils.getTextData(M.clipboardData);if(A)return{defaultPastePayload:{mode:A.mode,multicursorText:(P=A.multicursorText)!==null&&P!==void 0?P:null,pasteOnNewLine:!!A.isFromEmptySelection}}}mergeInDataFromCopy(M,P,x){var T;return we(this,void 0,void 0,function*(){if(P?.id&&((T=this._currentCopyOperation)===null||T===void 0?void 0:T.handle)===P.id){const A=yield this._currentCopyOperation.dataTransferPromise;if(x.isCancellationRequested)return;for(const[N,F]of A)M.replace(N,F)}if(!M.has(f.Mimes.uriList)){const A=yield this._clipboardService.readResources();if(x.isCancellationRequested)return;A.length&&M.append(f.Mimes.uriList,(0,D.createStringDataTransferItem)(D.UriList.create(A)))}})}getPasteEdits(M,P,x,T,A){return we(this,void 0,void 0,function*(){const N=yield(0,y.raceCancellation)(Promise.all(M.map(O=>we(this,void 0,void 0,function*(){var W;try{const U=yield(W=O.provideDocumentPasteEdits)===null||W===void 0?void 0:W.call(O,x,T,P,A);if(U)return Object.assign(Object.assign({},U),{providerId:O.id})}catch(U){console.error(U)}}))),A),F=(0,k.coalesce)(N??[]);return(0,a.sortEditsByYieldTo)(F),F})}applyDefaultPasteHandler(M,P,x){var T,A,N;return we(this,void 0,void 0,function*(){const F=(T=M.get(f.Mimes.text))!==null&&T!==void 0?T:M.get("text");if(!F)return;const O=yield F.asString();if(x.isCancellationRequested)return;const W={text:O,pasteOnNewLine:(A=P?.defaultPastePayload.pasteOnNewLine)!==null&&A!==void 0?A:!1,multicursorText:(N=P?.defaultPastePayload.multicursorText)!==null&&N!==void 0?N:null,mode:null};this._editor.trigger("keyboard","paste",W)})}};e.CopyPasteController=w,w.ID="editor.contrib.copyPasteActionController",e.CopyPasteController=w=v=ke([fe(1,d.IInstantiationService),fe(2,i.IBulkEditService),fe(3,c.IClipboardService),fe(4,t.ILanguageFeaturesService),fe(5,p.IQuickInputService),fe(6,l.IProgressService)],w);function E(I,M){var P;return!!(!((P=I.pasteMimeTypes)===null||P===void 0)&&P.some(x=>M.matches(x)))}}),define(ne[889],se([1,0,14,13,171,2,341,5,18,285,749,104,256,653,28,15,340,8,331,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.DropIntoEditorController=e.dropWidgetVisibleCtx=e.changeDropTypeCommandId=e.defaultProviderConfig=void 0,e.defaultProviderConfig="editor.experimental.dropIntoEditor.defaultProvider",e.changeDropTypeCommandId="editor.changeDropType",e.dropWidgetVisibleCtx=new a.RawContextKey("dropWidgetVisible",!1,(0,n.localize)(0,null));let d=o=class extends D.Disposable{static get(p){return p.getContribution(o.ID)}constructor(p,m,v,b,w){super(),this._configService=v,this._languageFeaturesService=b,this._treeViewsDragAndDropService=w,this.treeItemsTransfer=u.LocalSelectionTransfer.getInstance(),this._dropProgressManager=this._register(m.createInstance(i.InlineProgressManager,"dropIntoEditor",p)),this._postDropWidgetManager=this._register(m.createInstance(c.PostEditWidgetManager,"dropIntoEditor",p,e.dropWidgetVisibleCtx,{id:e.changeDropTypeCommandId,label:(0,n.localize)(1,null)})),this._register(p.onDropIntoEditor(E=>this.onDropIntoEditor(p,E.position,E.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}onDropIntoEditor(p,m,v){var b;return we(this,void 0,void 0,function*(){if(!v.dataTransfer||!p.hasModel())return;(b=this._currentOperation)===null||b===void 0||b.cancel(),p.focus(),p.setPosition(m);const w=(0,k.createCancelablePromise)(E=>we(this,void 0,void 0,function*(){const I=new s.EditorStateCancellationTokenSource(p,1,void 0,E);try{const M=yield this.extractDataTransferData(v);if(M.size===0||I.token.isCancellationRequested)return;const P=p.getModel();if(!P)return;const x=this._languageFeaturesService.documentOnDropEditProvider.ordered(P).filter(A=>A.dropMimeTypes?A.dropMimeTypes.some(N=>M.matches(N)):!0),T=yield this.getDropEdits(x,P,m,M,I);if(I.token.isCancellationRequested)return;if(T.length){const A=this.getInitialActiveEditIndex(P,T),N=p.getOption(35).showDropSelector==="afterDrop";yield this._postDropWidgetManager.applyEditAndShowIfNeeded([f.Range.fromPositions(m)],{activeEditIndex:A,allEdits:T},N,E)}}finally{I.dispose(),this._currentOperation===w&&(this._currentOperation=void 0)}}));this._dropProgressManager.showWhile(m,(0,n.localize)(2,null),w),this._currentOperation=w})}getDropEdits(p,m,v,b,w){return we(this,void 0,void 0,function*(){const E=yield(0,k.raceCancellation)(Promise.all(p.map(M=>we(this,void 0,void 0,function*(){try{const P=yield M.provideDocumentOnDropEdits(m,v,b,w.token);if(P)return Object.assign(Object.assign({},P),{providerId:M.id})}catch(P){console.error(P)}}))),w.token),I=(0,L.coalesce)(E??[]);return(0,r.sortEditsByYieldTo)(I)})}getInitialActiveEditIndex(p,m){const v=this._configService.getValue(e.defaultProviderConfig,{resource:p.uri});for(const[b,w]of Object.entries(v)){const E=m.findIndex(I=>w===I.providerId&&I.handledMimeType&&(0,y.matchesMimeType)(b,[I.handledMimeType]));if(E>=0)return E}return 0}extractDataTransferData(p){return we(this,void 0,void 0,function*(){if(!p.dataTransfer)return new y.VSDataTransfer;const m=(0,S.toExternalVSDataTransfer)(p.dataTransfer);if(this.treeItemsTransfer.hasData(g.DraggedTreeItemsIdentifier.prototype)){const v=this.treeItemsTransfer.getData(g.DraggedTreeItemsIdentifier.prototype);if(Array.isArray(v))for(const b of v){const w=yield this._treeViewsDragAndDropService.removeDragOperationTransfer(b.identifier);if(w)for(const[E,I]of w)m.replace(E,I)}}return m})}};e.DropIntoEditorController=d,d.ID="editor.contrib.dropIntoEditorController",e.DropIntoEditorController=d=o=ke([fe(1,h.IInstantiationService),fe(2,t.IConfigurationService),fe(3,_.ILanguageFeaturesService),fe(4,C.ITreeViewsDnDService)],d)}),define(ne[890],se([1,0,14,13,19,38,9,6,2,11,22,16,33,12,5,21,40,32,684,15,18,31,76,58,453]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.editorLinkedEditingBackground=e.LinkedEditingAction=e.LinkedEditingContribution=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=new c.RawContextKey("LinkedEditingInputVisible",!1);const v="linked-editing-decoration";let b=m=class extends _.Disposable{static get(P){return P.getContribution(m.ID)}constructor(P,x,T,A,N){super(),this.languageConfigurationService=A,this._syncRangesToken=0,this._localToDispose=this._register(new _.DisposableStore),this._editor=P,this._providers=T.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE.bindTo(x),this._debounceInformation=N.for(this._providers,"Linked Editing",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new _.DisposableStore),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(F=>{(F.hasChanged(68)||F.hasChanged(91))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(P){const x=this._editor.getModel(),T=x!==null&&(this._editor.getOption(68)||this._editor.getOption(91))&&this._providers.has(x);if(T===this._enabled&&!P||(this._enabled=T,this.clearRanges(),this._localToDispose.clear(),!T||x===null))return;this._localToDispose.add(f.Event.runAndSubscribe(x.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition()}));const A=new k.Delayer(this._debounceInformation.get(x)),N=()=>{var W;this._rangeUpdateTriggerPromise=A.trigger(()=>this.updateRanges(),(W=this._debounceDuration)!==null&&W!==void 0?W:this._debounceInformation.get(x))},F=new k.Delayer(0),O=W=>{this._rangeSyncTriggerPromise=F.trigger(()=>this._syncRanges(W))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{N()})),this._localToDispose.add(this._editor.onDidChangeModelContent(W=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const U=this._currentDecorations.getRange(0);if(U&&W.changes.every(j=>U.intersectRanges(j.range))){O(this._syncRangesToken);return}}N()})),this._localToDispose.add({dispose:()=>{A.dispose(),F.dispose()}}),this.updateRanges()}_syncRanges(P){if(!this._editor.hasModel()||P!==this._syncRangesToken||this._currentDecorations.length===0)return;const x=this._editor.getModel(),T=this._currentDecorations.getRange(0);if(!T||T.startLineNumber!==T.endLineNumber)return this.clearRanges();const A=x.getValueInRange(T);if(this._currentWordPattern){const F=A.match(this._currentWordPattern);if((F?F[0].length:0)!==A.length)return this.clearRanges()}const N=[];for(let F=1,O=this._currentDecorations.length;F1){this.clearRanges();return}const T=this._editor.getModel(),A=T.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===A){if(x.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){const F=this._currentDecorations.getRange(0);if(F&&F.containsPosition(x))return}}this.clearRanges(),this._currentRequestPosition=x,this._currentRequestModelVersion=A;const N=(0,k.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){try{const O=new p.StopWatch(!1),W=yield I(this._providers,T,x,F);if(this._debounceInformation.update(T,O.elapsed()),N!==this._currentRequest||(this._currentRequest=null,A!==T.getVersionId()))return;let U=[];W?.ranges&&(U=W.ranges),this._currentWordPattern=W?.wordPattern||this._languageWordPattern;let j=!1;for(let K=0,G=U.length;K({range:K,options:m.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(R),this._syncRangesToken++}catch(O){(0,S.isCancellationError)(O)||(0,S.onUnexpectedError)(O),(this._currentRequest===N||!this._currentRequest)&&this.clearRanges()}}));return this._currentRequest=N,N})}};e.LinkedEditingContribution=b,b.ID="editor.contrib.linkedEditing",b.DECORATION=u.ModelDecorationOptions.register({description:"linked-editing",stickiness:0,className:v}),e.LinkedEditingContribution=b=m=ke([fe(1,c.IContextKeyService),fe(2,o.ILanguageFeaturesService),fe(3,h.ILanguageConfigurationService),fe(4,l.ILanguageFeatureDebounceService)],b);class w extends s.EditorAction{constructor(){super({id:"editor.action.linkedEditing",label:r.localize(0,null),alias:"Start Linked Editing",precondition:c.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:3132,weight:100}})}runCommand(P,x){const T=P.get(i.ICodeEditorService),[A,N]=Array.isArray(x)&&x||[void 0,void 0];return C.URI.isUri(A)&&n.Position.isIPosition(N)?T.openCodeEditor({resource:A},T.getActiveCodeEditor()).then(F=>{F&&(F.setPosition(N),F.invokeWithinContext(O=>(this.reportTelemetry(O,F),this.run(O,F))))},S.onUnexpectedError):super.runCommand(P,x)}run(P,x){const T=b.get(x);return T?Promise.resolve(T.updateRanges(!0)):Promise.resolve()}}e.LinkedEditingAction=w;const E=s.EditorCommand.bindToContribution(b.get);(0,s.registerEditorCommand)(new E({id:"cancelLinkedEditingInput",precondition:e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE,handler:M=>M.clearRanges(),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,weight:100+99,primary:9,secondary:[1033]}}));function I(M,P,x,T){const A=M.ordered(P);return(0,k.first)(A.map(N=>()=>we(this,void 0,void 0,function*(){try{return yield N.provideLinkedEditingRanges(P,x,T)}catch(F){(0,S.onUnexpectedExternalError)(F);return}})),N=>!!N&&L.isNonEmptyArray(N?.ranges))}e.editorLinkedEditingBackground=(0,d.registerColor)("editor.linkedEditingBackground",{dark:D.Color.fromHex("#f00").transparent(.3),light:D.Color.fromHex("#f00").transparent(.3),hcDark:D.Color.fromHex("#f00").transparent(.3),hcLight:D.Color.white},r.localize(1,null)),(0,s.registerModelAndPositionCommand)("_executeLinkedEditingProvider",(M,P,x)=>{const{linkedEditingRangeProvider:T}=M.get(o.ILanguageFeaturesService);return I(T,P,x,y.CancellationToken.None)}),(0,s.registerEditorContribution)(b.ID,b,1),(0,s.registerEditorAction)(w)}),define(ne[891],se([1,0,13,19,9,55,2,54,17,45,58,22,16,40,76,18,186,751,685,43,56,454]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.LinkDetector=void 0;let l=d=class extends S.Disposable{static get(E){return E.getContribution(d.ID)}constructor(E,I,M,P,x){super(),this.editor=E,this.openerService=I,this.notificationService=M,this.languageFeaturesService=P,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=x.for(this.providers,"Links",{min:1e3,max:4e3}),this.computeLinks=this._register(new L.RunOnceScheduler(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const T=this._register(new u.ClickLinkGesture(E));this._register(T.onMouseMoveOrRelevantKeyDown(([A,N])=>{this._onEditorMouseMove(A,N)})),this._register(T.onExecute(A=>{this.onEditorMouseUp(A)})),this._register(T.onCancel(A=>{this.cleanUpActiveLinkDecoration()})),this._register(E.onDidChangeConfiguration(A=>{A.hasChanged(69)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(E.onDidChangeModelContent(A=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(E.onDidChangeModel(A=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(E.onDidChangeModelLanguage(A=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(A=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}computeLinksNow(){return we(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.editor.getOption(69))return;const E=this.editor.getModel();if(this.providers.has(E)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,L.createCancelablePromise)(I=>(0,h.getLinks)(this.providers,E,I));try{const I=new C.StopWatch(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(E,I.elapsed()),E.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(I){(0,y.onUnexpectedError)(I)}finally{this.computePromise=null}}})}updateDecorations(E){const I=this.editor.getOption(76)==="altKey",M=[],P=Object.keys(this.currentOccurrences);for(const T of P){const A=this.currentOccurrences[T];M.push(A.decorationId)}const x=[];if(E)for(const T of E)x.push(m.decoration(T,I));this.editor.changeDecorations(T=>{const A=T.deltaDecorations(M,x);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let N=0,F=A.length;N{P.activate(x,M),this.activeLinkDecorationId=P.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const E=this.editor.getOption(76)==="altKey";if(this.activeLinkDecorationId){const I=this.currentOccurrences[this.activeLinkDecorationId];I&&this.editor.changeDecorations(M=>{I.deactivate(M,E)}),this.activeLinkDecorationId=null}}onEditorMouseUp(E){if(!this.isEnabled(E))return;const I=this.getLinkOccurrence(E.target.position);I&&this.openLinkOccurrence(I,E.hasSideBySideModifier,!0)}openLinkOccurrence(E,I,M=!1){if(!this.openerService)return;const{link:P}=E;P.resolve(k.CancellationToken.None).then(x=>{if(typeof x=="string"&&this.editor.hasModel()){const T=this.editor.getModel().uri;if(T.scheme===f.Schemas.file&&x.startsWith(`${f.Schemas.file}:`)){const A=s.URI.parse(x);if(A.scheme===f.Schemas.file){const N=g.originalFSPath(A);let F=null;N.startsWith("/./")?F=`.${N.substr(1)}`:N.startsWith("//./")&&(F=`.${N.substr(2)}`),F&&(x=g.joinPath(T,F))}}}return this.openerService.open(x,{openToSide:I,fromUserGesture:M,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},x=>{const T=x instanceof Error?x.message:x;T==="invalid"?this.notificationService.warn(r.localize(0,null,P.url.toString())):T==="missing"?this.notificationService.warn(r.localize(1,null)):(0,y.onUnexpectedError)(x)})}getLinkOccurrence(E){if(!this.editor.hasModel()||!E)return null;const I=this.editor.getModel().getDecorationsInRange({startLineNumber:E.lineNumber,startColumn:E.column,endLineNumber:E.lineNumber,endColumn:E.column},0,!0);for(const M of I){const P=this.currentOccurrences[M.id];if(P)return P}return null}isEnabled(E,I){return!!(E.target.type===6&&(E.hasTriggerModifier||I&&I.keyCodeIsTriggerKey))}stop(){var E;this.computeLinks.cancel(),this.activeLinksList&&((E=this.activeLinksList)===null||E===void 0||E.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};e.LinkDetector=l,l.ID="editor.linkDetector",e.LinkDetector=l=d=ke([fe(1,o.IOpenerService),fe(2,c.INotificationService),fe(3,a.ILanguageFeaturesService),fe(4,t.ILanguageFeatureDebounceService)],l);const p={general:n.ModelDecorationOptions.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:n.ModelDecorationOptions.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class m{static decoration(E,I){return{range:E.range,options:m._getOptions(E,I,!1)}}static _getOptions(E,I,M){const P=Object.assign({},M?p.active:p.general);return P.hoverMessage=v(E,I),P}constructor(E,I){this.link=E,this.decorationId=I}activate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!0))}deactivate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!1))}}function v(w,E){const I=w.url&&/^command:/i.test(w.url.toString()),M=w.tooltip?w.tooltip:I?r.localize(2,null):r.localize(3,null),P=E?_.isMacintosh?r.localize(4,null):r.localize(5,null):_.isMacintosh?r.localize(6,null):r.localize(7,null);if(w.url){let x="";if(/^command:/i.test(w.url.toString())){const A=w.url.toString().match(/^command:([^?#]+)/);if(A){const N=A[1];x=r.localize(8,null,N)}}return new D.MarkdownString("",!0).appendLink(w.url.toString(!0).replace(/ /g,"%20"),M,x).appendMarkdown(` (${P})`)}else return new D.MarkdownString().appendText(`${M} (${P})`)}class b extends i.EditorAction{constructor(){super({id:"editor.action.openLink",label:r.localize(9,null),alias:"Open Link",precondition:void 0})}run(E,I){const M=l.get(I);if(!M||!I.hasModel())return;const P=I.getSelections();for(const x of P){const T=M.getLinkOccurrence(x.getEndPosition());T&&M.openLinkOccurrence(T,!1)}}}(0,i.registerEditorContribution)(l.ID,l,1),(0,i.registerEditorAction)(b)}),define(ne[892],se([1,0,2,18,188,13,255,293,292,32,9,299,46]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModelProvider=void 0;var n;(function(d){d.OUTLINE_MODEL="outlineModel",d.FOLDING_PROVIDER_MODEL="foldingProviderModel",d.INDENTATION_MODEL="indentationModel"})(n||(n={}));var t;(function(d){d[d.VALID=0]="VALID",d[d.INVALID=1]="INVALID",d[d.CANCELED=2]="CANCELED"})(t||(t={}));let a=class extends L.Disposable{constructor(l,p,m,v){super(),this._editor=l,this._languageConfigurationService=p,this._languageFeaturesService=m,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new D.Delayer(300)),this._updateOperation=this._register(new L.DisposableStore);const b=new h(m),w=new o(this._editor,m),E=new c(this._editor,p);switch(v){case n.OUTLINE_MODEL:this._modelProviders.push(b),this._modelProviders.push(w),this._modelProviders.push(E);break;case n.FOLDING_PROVIDER_MODEL:this._modelProviders.push(w),this._modelProviders.push(E);break;case n.INDENTATION_MODEL:this._modelProviders.push(E);break}}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}update(l,p,m){return we(this,void 0,void 0,function*(){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),yield this._updateScheduler.trigger(()=>we(this,void 0,void 0,function*(){for(const v of this._modelProviders){const{statusPromise:b,modelPromise:w}=v.computeStickyModel(l,p,m);this._modelPromise=w;const E=yield b;if(this._modelPromise!==w)return null;switch(E){case t.CANCELED:return this._updateOperation.clear(),null;case t.VALID:return v.stickyModel}}return null})).catch(v=>((0,C.onUnexpectedError)(v),null))})}};e.StickyModelProvider=a,e.StickyModelProvider=a=ke([fe(1,g.ILanguageConfigurationService),fe(2,k.ILanguageFeaturesService)],a);class u{constructor(){this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,t.INVALID}computeStickyModel(l,p,m){if(m.isCancellationRequested||!this.isProviderValid(l))return{statusPromise:this._invalid(),modelPromise:null};const v=(0,D.createCancelablePromise)(b=>this.createModelFromProvider(l,p,b));return{statusPromise:v.then(b=>this.isModelValid(b)?m.isCancellationRequested?t.CANCELED:(this._stickyModel=this.createStickyModel(l,p,m,b),t.VALID):this._invalid()).then(void 0,b=>((0,C.onUnexpectedError)(b),t.CANCELED)),modelPromise:v}}isModelValid(l){return!0}isProviderValid(l){return!0}}let h=class extends u{constructor(l){super(),this._languageFeaturesService=l}createModelFromProvider(l,p,m){return y.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,l,m)}createStickyModel(l,p,m,v){var b;const{stickyOutlineElement:w,providerID:E}=this._stickyModelFromOutlineModel(v,(b=this._stickyModel)===null||b===void 0?void 0:b.outlineProviderId);return new s.StickyModel(l.uri,p,w,E)}isModelValid(l){return l&&l.children.size>0}_stickyModelFromOutlineModel(l,p){let m;if(i.Iterable.first(l.children.values())instanceof y.OutlineGroup){const E=i.Iterable.find(l.children.values(),I=>I.id===p);if(E)m=E.children;else{let I="",M=-1,P;for(const[x,T]of l.children.entries()){const A=this._findSumOfRangesOfGroup(T);A>M&&(P=T,M=A,I=T.id)}p=I,m=P.children}}else m=l.children;const v=[],b=Array.from(m.values()).sort((E,I)=>{const M=new s.StickyRange(E.symbol.range.startLineNumber,E.symbol.range.endLineNumber),P=new s.StickyRange(I.symbol.range.startLineNumber,I.symbol.range.endLineNumber);return this._comparator(M,P)});for(const E of b)v.push(this._stickyModelFromOutlineElement(E,E.symbol.selectionRange.startLineNumber));return{stickyOutlineElement:new s.StickyElement(void 0,v,void 0),providerID:p}}_stickyModelFromOutlineElement(l,p){const m=[];for(const b of l.children.values())if(b.symbol.selectionRange.startLineNumber!==b.symbol.range.endLineNumber)if(b.symbol.selectionRange.startLineNumber!==p)m.push(this._stickyModelFromOutlineElement(b,b.symbol.selectionRange.startLineNumber));else for(const w of b.children.values())m.push(this._stickyModelFromOutlineElement(w,b.symbol.selectionRange.startLineNumber));m.sort((b,w)=>this._comparator(b.range,w.range));const v=new s.StickyRange(l.symbol.selectionRange.startLineNumber,l.symbol.range.endLineNumber);return new s.StickyElement(v,m,void 0)}_comparator(l,p){return l.startLineNumber!==p.startLineNumber?l.startLineNumber-p.startLineNumber:p.endLineNumber-l.endLineNumber}_findSumOfRangesOfGroup(l){let p=0;for(const m of l.children.values())p+=this._findSumOfRangesOfGroup(m);return l instanceof y.OutlineElement?p+l.symbol.range.endLineNumber-l.symbol.selectionRange.startLineNumber:p}};h=ke([fe(0,k.ILanguageFeaturesService)],h);class r extends u{constructor(l){super(),this._foldingLimitReporter=new S.RangesLimitReporter(l)}createStickyModel(l,p,m,v){const b=this._fromFoldingRegions(v);return new s.StickyModel(l.uri,p,b,void 0)}isModelValid(l){return l!==null}_fromFoldingRegions(l){const p=l.length,m=[],v=new s.StickyElement(void 0,[],void 0);for(let b=0;b0}createModelFromProvider(l,p,m){const v=S.FoldingController.getFoldingRangeProviders(this._languageFeaturesService,l);return new f.SyntaxRangeProvider(l,v,()=>this.createModelFromProvider(l,p,m),this._foldingLimitReporter,void 0).compute(m)}};o=ke([fe(1,k.ILanguageFeaturesService)],o)}),define(ne[893],se([1,0,2,18,19,13,14,6,32,892]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyLineCandidateProvider=e.StickyLineCandidate=void 0;class C{constructor(n,t,a){this.startLineNumber=n,this.endLineNumber=t,this.nestingDepth=a}}e.StickyLineCandidate=C;let s=class extends L.Disposable{constructor(n,t,a){super(),this._languageFeaturesService=t,this._languageConfigurationService=a,this._onDidChangeStickyScroll=this._register(new f.Emitter),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._options=null,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=n,this._sessionStore=this._register(new L.DisposableStore),this._updateSoon=this._register(new D.RunOnceScheduler(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(113)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._stickyModelProvider=null,this._sessionStore.clear(),this._options=this._editor.getOption(113),this._options.enabled&&(this._stickyModelProvider=this._sessionStore.add(new g.StickyModelProvider(this._editor,this._languageConfigurationService,this._languageFeaturesService,this._options.defaultModel)),this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this.update())}getVersionId(){var n;return(n=this._model)===null||n===void 0?void 0:n.version}update(){var n;return we(this,void 0,void 0,function*(){(n=this._cts)===null||n===void 0||n.dispose(!0),this._cts=new y.CancellationTokenSource,yield this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()})}updateStickyModel(n){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._stickyModelProvider){this._model=null;return}const t=this._editor.getModel(),a=t.getVersionId(),u=yield this._stickyModelProvider.update(t,a,n);n.isCancellationRequested||(this._model=u)})}updateIndex(n){return n===-1?n=0:n<0&&(n=-n-2),n}getCandidateStickyLinesIntersectingFromStickyModel(n,t,a,u,h){if(t.children.length===0)return;let r=h;const c=[];for(let l=0;ll-p)),d=this.updateIndex((0,S.binarySearch)(c,n.startLineNumber+u,(l,p)=>l-p));for(let l=o;l<=d;l++){const p=t.children[l];if(!p)return;if(p.range){const m=p.range.startLineNumber,v=p.range.endLineNumber;n.startLineNumber<=v+1&&m-1<=n.endLineNumber&&m!==r&&(r=m,a.push(new C(m,v-1,u+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u+1,m))}else this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u,h)}}getCandidateStickyLinesIntersecting(n){var t,a;if(!(!((t=this._model)===null||t===void 0)&&t.element))return[];let u=[];this.getCandidateStickyLinesIntersectingFromStickyModel(n,this._model.element,u,0,-1);const h=(a=this._editor._getViewModel())===null||a===void 0?void 0:a.getHiddenAreas();if(h)for(const r of h)u=u.filter(c=>!(c.startLineNumber>=r.startLineNumber&&c.endLineNumber<=r.endLineNumber+1));return u}};e.StickyLineCandidateProvider=s,e.StickyLineCandidateProvider=s=ke([fe(1,k.ILanguageFeaturesService),fe(2,_.ILanguageConfigurationService)],s)}),define(ne[894],se([1,0,7,89,2,26,251,162,12,93,127,95,255,366,291,461]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollWidget=e.StickyScrollWidgetState=void 0;class a{constructor(l,p,m,v=null){this.startLineNumbers=l,this.endLineNumbers=p,this.lastLineRelativePosition=m,this.showEndForLine=v}}e.StickyScrollWidgetState=a;const u=(0,k.createTrustedTypesPolicy)("stickyScrollViewLayer",{createHTML:d=>d}),h="data-sticky-line-index";class r extends y.Disposable{constructor(l){super(),this._editor=l,this._foldingIconStore=new y.DisposableStore,this._rootDomNode=document.createElement("div"),this._lineNumbersDomNode=document.createElement("div"),this._linesDomNodeScrollable=document.createElement("div"),this._linesDomNode=document.createElement("div"),this._lineHeight=this._editor.getOption(65),this._stickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className="sticky-widget-line-numbers",this._lineNumbersDomNode.setAttribute("role","none"),this._linesDomNode.className="sticky-widget-lines",this._linesDomNode.setAttribute("role","list"),this._linesDomNodeScrollable.className="sticky-widget-lines-scrollable",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className="sticky-widget",this._rootDomNode.classList.toggle("peek",l instanceof f.EmbeddedCodeEditorWidget),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);const p=()=>{this._linesDomNode.style.left=this._editor.getOption(113).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:"0px"};this._register(this._editor.onDidChangeConfiguration(m=>{m.hasChanged(113)&&p(),m.hasChanged(65)&&(this._lineHeight=this._editor.getOption(65))})),this._register(this._editor.onDidScrollChange(m=>{m.scrollLeftChanged&&p(),m.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{p(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),p(),this._register(this._editor.onDidLayoutChange(m=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getCurrentLines(){return this._lineNumbers}setState(l){if(this._clearStickyWidget(),!l||!this._editor._getViewModel())return;if(l.startLineNumbers.length*this._lineHeight+l.lastLineRelativePosition>0){this._lastLineRelativePosition=l.lastLineRelativePosition;const m=[...l.startLineNumbers];l.showEndForLine!==null&&(m[l.showEndForLine]=l.endLineNumbers[l.showEndForLine]),this._lineNumbers=m}else this._lastLineRelativePosition=0,this._lineNumbers=[];this._renderRootNode()}_updateWidgetWidth(){const l=this._editor.getLayoutInfo(),m=this._editor.getOption(71).side==="left"?l.contentLeft-l.minimap.minimapCanvasOuterWidth:l.contentLeft;this._lineNumbersDomNode.style.width=`${m}px`,this._linesDomNodeScrollable.style.setProperty("--vscode-editorStickyScroll-scrollableWidth",`${this._editor.getScrollWidth()-l.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${l.width-l.minimap.minimapCanvasOuterWidth-l.verticalScrollbarWidth}px`}_clearStickyWidget(){this._stickyLines=[],this._foldingIconStore.clear(),L.clearNode(this._lineNumbersDomNode),L.clearNode(this._linesDomNode),this._rootDomNode.style.display="none"}_useFoldingOpacityTransition(l){this._lineNumbersDomNode.style.setProperty("--vscode-editorStickyScroll-foldingOpacityTransition",`opacity ${l?.5:0}s`)}_setFoldingIconsVisibility(l){for(const p of this._stickyLines){const m=p.foldingIcon;m&&m.setVisible(l?!0:m.isCollapsed)}}_renderRootNode(){var l;return we(this,void 0,void 0,function*(){const p=yield(l=i.FoldingController.get(this._editor))===null||l===void 0?void 0:l.getFoldingModel(),m=this._editor.getLayoutInfo();for(const[w,E]of this._lineNumbers.entries()){const I=this._renderChildNode(w,E,m,p);this._linesDomNode.appendChild(I.lineDomNode),this._lineNumbersDomNode.appendChild(I.lineNumberDomNode),this._stickyLines.push(I)}p&&(this._setFoldingHoverListeners(),this._useFoldingOpacityTransition(!this._isOnGlyphMargin));const v=this._lineNumbers.length*this._lineHeight+this._lastLineRelativePosition;if(v===0){this._clearStickyWidget();return}this._rootDomNode.style.display="block",this._lineNumbersDomNode.style.height=`${v}px`,this._linesDomNodeScrollable.style.height=`${v}px`,this._rootDomNode.style.height=`${v}px`,this._editor.getOption(71).side==="left"?this._rootDomNode.style.marginLeft=m.minimap.minimapCanvasOuterWidth+"px":this._rootDomNode.style.marginLeft="0px",this._updateMinContentWidth(),this._editor.layoutOverlayWidget(this)})}_setFoldingHoverListeners(){this._editor.getOption(108)==="mouseover"&&(this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_ENTER,p=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(l,p,m,v){const b=this._editor._getViewModel(),w=b.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(p,1)).lineNumber,E=b.getViewLineRenderingData(w),I=this._editor.getOption(71).side,M=this._editor.getOption(66);let P;try{P=C.LineDecoration.filter(E.inlineDecorations,w,E.minColumn,E.maxColumn)}catch{P=[]}const x=new s.RenderLineInput(!0,!0,E.content,E.continuesWithWrappedLine,E.isBasicASCII,E.containsRTL,0,E.tokens,P,E.tabSize,E.startVisibleColumn,1,1,1,500,"none",!0,!0,null),T=new g.StringBuilder(2e3),A=(0,s.renderViewLine)(x,T);let N;u?N=u.createHTML(T.build()):N=T.build();const F=document.createElement("span");F.className="sticky-line-content",F.classList.add(`stickyLine${p}`),F.style.lineHeight=`${this._lineHeight}px`,F.innerHTML=N;const O=document.createElement("span");O.className="sticky-line-number",O.style.lineHeight=`${this._lineHeight}px`;const W=I==="left"?m.contentLeft-m.minimap.minimapCanvasOuterWidth:m.contentLeft;O.style.width=`${W}px`;const U=document.createElement("span");M.renderType===1||M.renderType===3&&p%10===0?U.innerText=p.toString():M.renderType===2&&(U.innerText=Math.abs(p-this._editor.getPosition().lineNumber).toString()),U.className="sticky-line-number-inner",U.style.lineHeight=`${this._lineHeight}px`,U.style.width=`${m.lineNumbersWidth}px`,U.style.float="left",I==="left"?U.style.paddingLeft=`${m.lineNumbersLeft-m.minimap.minimapCanvasOuterWidth}px`:I==="right"&&(U.style.paddingLeft=`${m.lineNumbersLeft}px`),O.appendChild(U);const j=this._renderFoldingIconForLine(O,v,l,p);this._editor.applyFontInfo(F),this._editor.applyFontInfo(U),F.setAttribute("role","listitem"),F.setAttribute(h,String(l)),F.tabIndex=0,O.style.lineHeight=`${this._lineHeight}px`,F.style.lineHeight=`${this._lineHeight}px`,O.style.height=`${this._lineHeight}px`,F.style.height=`${this._lineHeight}px`;const R=l===this._lineNumbers.length-1,K="0",G="1";F.style.zIndex=R?K:G,O.style.zIndex=R?K:G;const Z=`${l*this._lineHeight+this._lastLineRelativePosition+(j?.isCollapsed?1:0)}px`,J=`${l*this._lineHeight}px`;return F.style.top=R?Z:J,O.style.top=R?Z:J,new c(p,F,O,j,A.characterMapping)}_renderFoldingIconForLine(l,p,m,v){const b=this._editor.getOption(108);if(!p||b==="never")return;const w=p.regions,E=w.findRange(v),I=w.getStartLineNumber(E);if(!(v===I))return;const P=w.isCollapsed(E),x=new o(P,this._lineHeight);return l.append(x.domNode),x.setVisible(this._isOnGlyphMargin?!0:P||b==="always"),this._foldingIconStore.add(L.addDisposableListener(x.domNode,L.EventType.CLICK,()=>{(0,t.toggleCollapseState)(p,Number.MAX_VALUE,[v]),x.isCollapsed=!P;const T=(P?this._editor.getTopForLineNumber(I):this._editor.getTopForLineNumber(w.getEndLineNumber(E)))-this._lineHeight*m+1;this._editor.setScrollTop(T)})),x}_updateMinContentWidth(){this._minContentWidthInPx=0;for(const l of this._stickyLines)l.lineDomNode.scrollWidth>this._minContentWidthInPx&&(this._minContentWidthInPx=l.lineDomNode.scrollWidth);this._minContentWidthInPx+=this._editor.getLayoutInfo().verticalScrollbarWidth}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:null}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(l){0<=l&&l0)return null;const p=this._getRenderedStickyLineFromChildDomNode(l);if(!p)return null;const m=(0,S.getColumnOfNodeOffset)(p.characterMapping,l,0);return new _.Position(p.lineNumber,m)}getLineNumberFromChildDomNode(l){var p,m;return(m=(p=this._getRenderedStickyLineFromChildDomNode(l))===null||p===void 0?void 0:p.lineNumber)!==null&&m!==void 0?m:null}_getRenderedStickyLineFromChildDomNode(l){const p=this.getStickyLineIndexFromChildDomNode(l);return p===null||p<0||p>=this._stickyLines.length?null:this._stickyLines[p]}getStickyLineIndexFromChildDomNode(l){for(;l&&l!==this._rootDomNode;){const p=l.getAttribute(h);if(p)return parseInt(p,10);l=l.parentElement}return null}}e.StickyScrollWidget=r;class c{constructor(l,p,m,v,b){this.lineNumber=l,this.lineDomNode=p,this.lineNumberDomNode=m,this.foldingIcon=v,this.characterMapping=b}}class o{constructor(l,p){this.isCollapsed=l,this.dimension=p,this.domNode=document.createElement("div"),this.domNode.style.width=`${p}px`,this.domNode.style.height=`${p}px`,this.domNode.className=D.ThemeIcon.asClassName(l?n.foldingCollapsedIcon:n.foldingExpandedIcon)}setVisible(l){this.domNode.style.cursor=l?"pointer":"default",this.domNode.style.opacity=l?"1":"0"}}}),define(ne[895],se([1,0,7,114,13,9,6,2,141,11,162,866,702,15,8,87,31,88,23,223,135,344,861,105,49,172,462,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestContentWidget=e.SuggestWidget=e.editorSuggestWidgetSelectedBackground=void 0,(0,u.registerColor)("editorSuggestWidget.background",{dark:u.editorWidgetBackground,light:u.editorWidgetBackground,hcDark:u.editorWidgetBackground,hcLight:u.editorWidgetBackground},i.localize(0,null)),(0,u.registerColor)("editorSuggestWidget.border",{dark:u.editorWidgetBorder,light:u.editorWidgetBorder,hcDark:u.editorWidgetBorder,hcLight:u.editorWidgetBorder},i.localize(1,null));const b=(0,u.registerColor)("editorSuggestWidget.foreground",{dark:u.editorForeground,light:u.editorForeground,hcDark:u.editorForeground,hcLight:u.editorForeground},i.localize(2,null));(0,u.registerColor)("editorSuggestWidget.selectedForeground",{dark:u.quickInputListFocusForeground,light:u.quickInputListFocusForeground,hcDark:u.quickInputListFocusForeground,hcLight:u.quickInputListFocusForeground},i.localize(3,null)),(0,u.registerColor)("editorSuggestWidget.selectedIconForeground",{dark:u.quickInputListFocusIconForeground,light:u.quickInputListFocusIconForeground,hcDark:u.quickInputListFocusIconForeground,hcLight:u.quickInputListFocusIconForeground},i.localize(4,null)),e.editorSuggestWidgetSelectedBackground=(0,u.registerColor)("editorSuggestWidget.selectedBackground",{dark:u.quickInputListFocusBackground,light:u.quickInputListFocusBackground,hcDark:u.quickInputListFocusBackground,hcLight:u.quickInputListFocusBackground},i.localize(5,null)),(0,u.registerColor)("editorSuggestWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},i.localize(6,null)),(0,u.registerColor)("editorSuggestWidget.focusHighlightForeground",{dark:u.listFocusHighlightForeground,light:u.listFocusHighlightForeground,hcDark:u.listFocusHighlightForeground,hcLight:u.listFocusHighlightForeground},i.localize(7,null)),(0,u.registerColor)("editorSuggestWidgetStatus.foreground",{dark:(0,u.transparent)(b,.5),light:(0,u.transparent)(b,.5),hcDark:(0,u.transparent)(b,.5),hcLight:(0,u.transparent)(b,.5)},i.localize(8,null));class w{constructor(P,x){this._service=P,this._key=`suggestWidget.size/${x.getEditorType()}/${x instanceof C.EmbeddedCodeEditorWidget}`}restore(){var P;const x=(P=this._service.get(this._key,0))!==null&&P!==void 0?P:"";try{const T=JSON.parse(x);if(L.Dimension.is(T))return L.Dimension.lift(T)}catch{}}store(P){this._service.store(this._key,JSON.stringify(P),0,1)}reset(){this._service.remove(this._key,0)}}let E=v=class{constructor(P,x,T,A,N){this.editor=P,this._storageService=x,this._state=0,this._isAuto=!1,this._pendingLayout=new f.MutableDisposable,this._pendingShowDetails=new f.MutableDisposable,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new y.TimeoutTimer,this._disposables=new f.DisposableStore,this._onDidSelect=new S.PauseableEmitter,this._onDidFocus=new S.PauseableEmitter,this._onDidHide=new S.Emitter,this._onDidShow=new S.Emitter,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new S.Emitter,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new c.ResizableHTMLElement,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new I(this,P),this._persistedSize=new w(x,P);class F{constructor(G,Z,J=!1,X=!1){this.persistedSize=G,this.currentSize=Z,this.persistHeight=J,this.persistWidth=X}}let O;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),O=new F(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(K=>{var G,Z,J,X;if(this._resize(K.dimension.width,K.dimension.height),O&&(O.persistHeight=O.persistHeight||!!K.north||!!K.south,O.persistWidth=O.persistWidth||!!K.east||!!K.west),!!K.done){if(O){const{itemHeight:H,defaultSize:B}=this.getLayoutInfo(),V=Math.round(H/2);let{width:Y,height:ie}=this.element.size;(!O.persistHeight||Math.abs(O.currentSize.height-ie)<=V)&&(ie=(Z=(G=O.persistedSize)===null||G===void 0?void 0:G.height)!==null&&Z!==void 0?Z:B.height),(!O.persistWidth||Math.abs(O.currentSize.width-Y)<=V)&&(Y=(X=(J=O.persistedSize)===null||J===void 0?void 0:J.width)!==null&&X!==void 0?X:B.width),this._persistedSize.store(new L.Dimension(Y,ie))}this._contentWidget.unlockPreference(),O=void 0}})),this._messageElement=L.append(this.element.domNode,L.$(".message")),this._listElement=L.append(this.element.domNode,L.$(".tree"));const W=N.createInstance(d.SuggestDetailsWidget,this.editor);W.onDidClose(this.toggleDetails,this,this._disposables),this._details=new d.SuggestDetailsOverlay(W,this.editor);const U=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(116).showIcons);U();const j=N.createInstance(l.ItemRenderer,this.editor);this._disposables.add(j),this._disposables.add(j.onDidToggleDetails(()=>this.toggleDetails())),this._list=new k.List("SuggestWidget",this._listElement,{getHeight:K=>this.getLayoutInfo().itemHeight,getTemplateId:K=>"suggestion"},[j],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>i.localize(11,null),getWidgetRole:()=>"listbox",getAriaLabel:K=>{let G=K.textLabel;if(typeof K.completion.label!="string"){const{detail:H,description:B}=K.completion.label;H&&B?G=i.localize(12,null,G,H,B):H?G=i.localize(13,null,G,H):B&&(G=i.localize(14,null,G,B))}if(!K.isResolved||!this._isDetailsVisible())return G;const{documentation:Z,detail:J}=K.completion,X=g.format("{0}{1}",J||"",Z?typeof Z=="string"?Z:Z.value:"");return i.localize(15,null,G,X)}}}),this._list.style((0,p.getListStyles)({listInactiveFocusBackground:e.editorSuggestWidgetSelectedBackground,listInactiveFocusOutline:u.activeContrastBorder})),this._status=N.createInstance(s.SuggestWidgetStatus,this.element.domNode,o.suggestWidgetStatusbarMenu);const R=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(116).showStatusBar);R(),this._disposables.add(A.onDidColorThemeChange(K=>this._onThemeChange(K))),this._onThemeChange(A.getColorTheme()),this._disposables.add(this._list.onMouseDown(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onTap(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onDidChangeSelection(K=>this._onListSelection(K))),this._disposables.add(this._list.onDidChangeFocus(K=>this._onListFocus(K))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(K=>{K.hasChanged(116)&&(R(),U())})),this._ctxSuggestWidgetVisible=o.Context.Visible.bindTo(T),this._ctxSuggestWidgetDetailsVisible=o.Context.DetailsVisible.bindTo(T),this._ctxSuggestWidgetMultipleSuggestions=o.Context.MultipleSuggestions.bindTo(T),this._ctxSuggestWidgetHasFocusedSuggestion=o.Context.HasFocusedSuggestion.bindTo(T),this._disposables.add(L.addStandardDisposableListener(this._details.widget.domNode,"keydown",K=>{this._onDetailsKeydown.fire(K)})),this._disposables.add(this.editor.onMouseDown(K=>this._onEditorMouseDown(K)))}dispose(){var P;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(P){this._details.widget.domNode.contains(P.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(P.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){this._state!==0&&this._contentWidget.layout()}_onListMouseDownOrTap(P){typeof P.element>"u"||typeof P.index>"u"||(P.browserEvent.preventDefault(),P.browserEvent.stopPropagation(),this._select(P.element,P.index))}_onListSelection(P){P.elements.length&&this._select(P.elements[0],P.indexes[0])}_select(P,x){const T=this._completionModel;T&&(this._onDidSelect.fire({item:P,index:x,model:T}),this.editor.focus())}_onThemeChange(P){this._details.widget.borderWidth=(0,h.isHighContrast)(P.type)?2:1}_onListFocus(P){var x;if(this._ignoreFocusEvents)return;if(!P.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);const T=P.elements[0],A=P.indexes[0];T!==this._focusedItem&&((x=this._currentSuggestionDetails)===null||x===void 0||x.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=T,this._list.reveal(A),this._currentSuggestionDetails=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=(0,y.disposableTimeout)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),O=N.onCancellationRequested(()=>F.dispose()),W=yield T.resolve(N);return F.dispose(),O.dispose(),W})),this._currentSuggestionDetails.then(()=>{A>=this._list.length||T!==this._list.element(A)||(this._ignoreFocusEvents=!0,this._list.splice(A,1,[T]),this._list.setFocus([A]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,l.getAriaId)(A)}))}).catch(D.onUnexpectedError)),this._onDidFocus.fire({item:T,index:A,model:this._completionModel})}_setState(P){if(this._state!==P)switch(this._state=P,this.element.domNode.classList.toggle("frozen",P===4),this.element.domNode.classList.remove("message"),P){case 0:L.hide(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.LOADING_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.NO_SUGGESTIONS_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.NO_SUGGESTIONS_MESSAGE);break;case 3:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 4:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 5:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._details.show(),this._show();break}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(P,x){this._state===0&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!P,this._isAuto||(this._loadingTimeout=(0,y.disposableTimeout)(()=>this._setState(1),x)))}showSuggestions(P,x,T,A,N){var F,O;if(this._contentWidget.setPosition(this.editor.getPosition()),(F=this._loadingTimeout)===null||F===void 0||F.dispose(),(O=this._currentSuggestionDetails)===null||O===void 0||O.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==P&&(this._completionModel=P),T&&this._state!==2&&this._state!==0){this._setState(4);return}const W=this._completionModel.items.length,U=W===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(W>1),U){this._setState(A?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(T?4:3),this._list.reveal(x,0),this._list.setFocus(N?[]:[x])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(this._state!==0&&this._state!==2&&this._state!==1&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){this._state===5?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):this._state===3&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,d.canExpandCompletionItem)(this._list.getFocusedElements()[0])||this._explainMode)&&(this._state===3||this._state===5||this._state===4)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(P){this._pendingShowDetails.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingShowDetails.clear(),this._details.show(),P?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var P;this._pendingLayout.clear(),this._pendingShowDetails.clear(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const x=this._persistedSize.restore(),T=Math.ceil(this.getLayoutInfo().itemHeight*4.3);x&&x.heightU&&(W=U);const j=this._completionModel?this._completionModel.stats.pLabelLen*F.typicalHalfwidthCharacterWidth:W,R=F.statusBarHeight+this._list.contentHeight+F.borderHeight,K=F.itemHeight+F.statusBarHeight,G=L.getDomNodePagePosition(this.editor.getDomNode()),Z=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),J=G.top+Z.top+Z.height,X=Math.min(N.height-J-F.verticalPadding,R),H=G.top+Z.top-F.verticalPadding,B=Math.min(H,R);let V=Math.min(Math.max(B,X)+F.borderHeight,R);O===((x=this._cappedHeight)===null||x===void 0?void 0:x.capped)&&(O=this._cappedHeight.wanted),OV&&(O=V);const Y=150;O>X||this._forceRenderingAbove&&H>Y?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),V=B):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),V=X),this.element.preferredSize=new L.Dimension(j,F.defaultSize.height),this.element.maxSize=new L.Dimension(U,V),this.element.minSize=new L.Dimension(220,K),this._cappedHeight=O===R?{wanted:(A=(T=this._cappedHeight)===null||T===void 0?void 0:T.wanted)!==null&&A!==void 0?A:P.height,capped:O}:void 0}this._resize(W,O)}_resize(P,x){const{width:T,height:A}=this.element.maxSize;P=Math.min(T,P),x=Math.min(A,x);const{statusBarHeight:N}=this.getLayoutInfo();this._list.layout(x-N,P),this._listElement.style.height=`${x-N}px`,this.element.layout(x,P),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var P;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,((P=this._contentWidget.getPosition())===null||P===void 0?void 0:P.preference[0])===2)}getLayoutInfo(){const P=this.editor.getOption(49),x=(0,_.clamp)(this.editor.getOption(118)||P.lineHeight,8,1e3),T=!this.editor.getOption(116).showStatusBar||this._state===2||this._state===1?0:x,A=this._details.widget.borderWidth,N=2*A;return{itemHeight:x,statusBarHeight:T,borderWidth:A,borderHeight:N,typicalHalfwidthCharacterWidth:P.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new L.Dimension(430,T+12*x+N)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(P){this._storageService.store("expandSuggestionDocs",P,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};e.SuggestWidget=E,E.LOADING_MESSAGE=i.localize(9,null),E.NO_SUGGESTIONS_MESSAGE=i.localize(10,null),e.SuggestWidget=E=v=ke([fe(1,a.IStorageService),fe(2,n.IContextKeyService),fe(3,r.IThemeService),fe(4,t.IInstantiationService)],E);class I{constructor(P,x){this._widget=P,this._editor=x,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return this._hidden||!this._position||!this._preference?null:{position:this._position,preference:[this._preference]}}beforeRender(){const{height:P,width:x}=this._widget.element.size,{borderWidth:T,horizontalPadding:A}=this._widget.getLayoutInfo();return new L.Dimension(x+2*T+A,P+2*T)}afterRender(P){this._widget._afterRender(P)}setPreference(P){this._preferenceLocked||(this._preference=P)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(P){this._position=P}}e.SuggestContentWidget=I}),define(ne[368],se([1,0,48,40,29,711,31,23,466]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectionHighlightDecorationOptions=e.getHighlightDecorationOptions=void 0;const _=(0,S.registerColor)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},D.localize(0,null),!0);(0,S.registerColor)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},D.localize(1,null),!0),(0,S.registerColor)("editor.wordHighlightTextBackground",{light:_,dark:_,hcDark:_,hcLight:_},D.localize(2,null),!0);const g=(0,S.registerColor)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(3,null));(0,S.registerColor)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(4,null)),(0,S.registerColor)("editor.wordHighlightTextBorder",{light:g,dark:g,hcDark:g,hcLight:g},D.localize(5,null));const C=(0,S.registerColor)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},D.localize(6,null),!0),s=(0,S.registerColor)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},D.localize(7,null),!0),i=(0,S.registerColor)("editorOverviewRuler.wordHighlightTextForeground",{dark:S.overviewRulerSelectionHighlightForeground,light:S.overviewRulerSelectionHighlightForeground,hcDark:S.overviewRulerSelectionHighlightForeground,hcLight:S.overviewRulerSelectionHighlightForeground},D.localize(8,null),!0),n=k.ModelDecorationOptions.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,f.themeColorFromId)(s),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),t=k.ModelDecorationOptions.register({description:"word-highlight-text",stickiness:1,className:"wordHighlightText",overviewRuler:{color:(0,f.themeColorFromId)(i),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),a=k.ModelDecorationOptions.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerSelectionHighlightForeground),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),u=k.ModelDecorationOptions.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),h=k.ModelDecorationOptions.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,f.themeColorFromId)(C),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}});function r(o){return o===y.DocumentHighlightKind.Write?n:o===y.DocumentHighlightKind.Text?t:h}e.getHighlightDecorationOptions=r;function c(o){return o?u:a}e.getSelectionHighlightDecorationOptions=c,(0,f.registerThemingParticipant)((o,d)=>{const l=o.getColor(S.editorSelectionHighlight);l&&d.addRule(`.monaco-editor .selectionHighlight { background-color: ${l.transparent(.5)}; }`)})}),define(ne[896],se([1,0,49,13,63,2,16,205,5,24,21,365,687,30,15,18,368,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.FocusPreviousCursor=e.FocusNextCursor=e.SelectionHighlighter=e.CompatChangeAll=e.SelectHighlightsAction=e.MoveSelectionToPreviousFindMatchAction=e.MoveSelectionToNextFindMatchAction=e.AddSelectionToPreviousFindMatchAction=e.AddSelectionToNextFindMatchAction=e.MultiCursorSelectionControllerAction=e.MultiCursorSelectionController=e.MultiCursorSession=e.MultiCursorSessionResult=e.InsertCursorBelow=e.InsertCursorAbove=void 0;function c(R,K){const G=K.filter(Z=>!R.find(J=>J.equals(Z)));if(G.length>=1){const Z=G.map(X=>`line ${X.viewState.position.lineNumber} column ${X.viewState.position.column}`).join(", "),J=G.length===1?i.localize(0,null,Z):i.localize(1,null,Z);(0,L.status)(J)}}class o extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAbove",label:i.localize(2,null),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(3,null),order:2}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorUp(X,H,J)),X.revealTopMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorAbove=o;class d extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorBelow",label:i.localize(4,null),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(5,null),order:3}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorDown(X,H,J)),X.revealBottomMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorBelow=d;class l extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:i.localize(6,null),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(7,null),order:4}})}getCursorsForSelection(K,G,Z){if(!K.isEmpty()){for(let J=K.startLineNumber;J1&&Z.push(new g.Selection(K.endLineNumber,K.endColumn,K.endLineNumber,K.endColumn))}}run(K,G){if(!G.hasModel())return;const Z=G.getModel(),J=G.getSelections(),X=G._getViewModel(),H=X.getCursorStates(),B=[];J.forEach(V=>this.getCursorsForSelection(V,Z,B)),B.length>0&&G.setSelections(B),c(H,X.getCursorStates())}}class p extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToBottom",label:i.localize(8,null),alias:"Add Cursors To Bottom",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=G.getModel().getLineCount(),X=[];for(let V=Z[0].startLineNumber;V<=J;V++)X.push(new g.Selection(V,Z[0].startColumn,V,Z[0].endColumn));const H=G._getViewModel(),B=H.getCursorStates();X.length>0&&G.setSelections(X),c(B,H.getCursorStates())}}class m extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToTop",label:i.localize(9,null),alias:"Add Cursors To Top",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=[];for(let B=Z[0].startLineNumber;B>=1;B--)J.push(new g.Selection(B,Z[0].startColumn,B,Z[0].endColumn));const X=G._getViewModel(),H=X.getCursorStates();J.length>0&&G.setSelections(J),c(H,X.getCursorStates())}}class v{constructor(K,G,Z){this.selections=K,this.revealRange=G,this.revealScrollType=Z}}e.MultiCursorSessionResult=v;class b{static create(K,G){if(!K.hasModel())return null;const Z=G.getState();if(!K.hasTextFocus()&&Z.isRevealed&&Z.searchString.length>0)return new b(K,G,!1,Z.searchString,Z.wholeWord,Z.matchCase,null);let J=!1,X,H;const B=K.getSelections();B.length===1&&B[0].isEmpty()?(J=!0,X=!0,H=!0):(X=Z.wholeWord,H=Z.matchCase);const V=K.getSelection();let Y,ie=null;if(V.isEmpty()){const ae=K.getConfiguredWordAtPosition(V.getStartPosition());if(!ae)return null;Y=ae.word,ie=new g.Selection(V.startLineNumber,ae.startColumn,V.startLineNumber,ae.endColumn)}else Y=K.getModel().getValueInRange(V).replace(/\r\n/g,` -`);return new b(K,G,J,Y,X,H,ie)}constructor(K,G,Z,J,X,H,B){this._editor=K,this.findController=G,this.isDisconnectedFromFindController=Z,this.searchText=J,this.wholeWord=X,this.matchCase=H,this.currentMatch=B}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findNextMatch(this.searchText,G.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findPreviousMatch(this.searchText,G.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}selectAll(K){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const G=this._editor.getModel();return K?G.findMatches(this.searchText,K,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824):G.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824)}}e.MultiCursorSession=b;class w extends D.Disposable{static get(K){return K.getContribution(w.ID)}constructor(K){super(),this._sessionDispose=this._register(new D.DisposableStore),this._editor=K,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(K){if(!this._session){const G=b.create(this._editor,K);if(!G)return;this._session=G;const Z={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(Z.wholeWordOverride=1,Z.matchCaseOverride=1,Z.isRegexOverride=2),K.getState().change(Z,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(J=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(K.getState().onFindReplaceStateChange(J=>{(J.matchCase||J.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const K={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(K,!1)}this._session=null}_setSelections(K){this._ignoreSelectionChange=!0,this._editor.setSelections(K),this._ignoreSelectionChange=!1}_expandEmptyToWord(K,G){if(!G.isEmpty())return G;const Z=this._editor.getConfiguredWordAtPosition(G.getStartPosition());return Z?new g.Selection(G.startLineNumber,Z.startColumn,G.startLineNumber,Z.endColumn):G}_applySessionResult(K){K&&(this._setSelections(K.selections),K.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(K.revealRange,K.revealScrollType))}getSession(K){return this._session}addSelectionToNextFindMatch(K){if(this._editor.hasModel()){if(!this._session){const G=this._editor.getSelections();if(G.length>1){const J=K.getState().matchCase;if(!O(this._editor.getModel(),G,J)){const H=this._editor.getModel(),B=[];for(let V=0,Y=G.length;V0&&Z.isRegex){const J=this._editor.getModel();Z.searchScope?G=J.findMatches(Z.searchString,Z.searchScope,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824):G=J.findMatches(Z.searchString,!0,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(K),!this._session)return;G=this._session.selectAll(Z.searchScope)}if(G.length>0){const J=this._editor.getSelection();for(let X=0,H=G.length;Xnew g.Selection(X.range.startLineNumber,X.range.startColumn,X.range.endLineNumber,X.range.endColumn)))}}}e.MultiCursorSelectionController=w,w.ID="editor.contrib.multiCursorController";class E extends S.EditorAction{run(K,G){const Z=w.get(G);if(!Z)return;const J=G._getViewModel();if(J){const X=J.getCursorStates(),H=s.CommonFindController.get(G);if(H)this._run(Z,H);else{const B=K.get(h.IInstantiationService).createInstance(s.CommonFindController,G);this._run(Z,B),B.dispose()}c(X,J.getCursorStates())}}}e.MultiCursorSelectionControllerAction=E;class I extends E{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:i.localize(10,null),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:2082,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(11,null),order:5}})}_run(K,G){K.addSelectionToNextFindMatch(G)}}e.AddSelectionToNextFindMatchAction=I;class M extends E{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:i.localize(12,null),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(13,null),order:6}})}_run(K,G){K.addSelectionToPreviousFindMatch(G)}}e.AddSelectionToPreviousFindMatchAction=M;class P extends E{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:i.localize(14,null),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:(0,y.KeyChord)(2089,2082),weight:100}})}_run(K,G){K.moveSelectionToNextFindMatch(G)}}e.MoveSelectionToNextFindMatchAction=P;class x extends E{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:i.localize(15,null),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(K,G){K.moveSelectionToPreviousFindMatch(G)}}e.MoveSelectionToPreviousFindMatchAction=x;class T extends E{constructor(){super({id:"editor.action.selectHighlights",label:i.localize(16,null),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:3114,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(17,null),order:7}})}_run(K,G){K.selectAll(G)}}e.SelectHighlightsAction=T;class A extends E{constructor(){super({id:"editor.action.changeAll",label:i.localize(18,null),alias:"Change All Occurrences",precondition:t.ContextKeyExpr.and(C.EditorContextKeys.writable,C.EditorContextKeys.editorTextFocus),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(K,G){K.selectAll(G)}}e.CompatChangeAll=A;class N{constructor(K,G,Z,J,X){this._model=K,this._searchText=G,this._matchCase=Z,this._wordSeparators=J,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,X&&this._model===X._model&&this._searchText===X._searchText&&this._matchCase===X._matchCase&&this._wordSeparators===X._wordSeparators&&this._modelVersionId===X._modelVersionId&&(this._cachedFindMatches=X._cachedFindMatches)}findMatches(){return this._cachedFindMatches===null&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(K=>K.range),this._cachedFindMatches.sort(_.Range.compareRangesUsingStarts)),this._cachedFindMatches}}let F=r=class extends D.Disposable{constructor(K,G){super(),this._languageFeaturesService=G,this.editor=K,this._isEnabled=K.getOption(106),this._decorations=K.createDecorationsCollection(),this.updateSoon=this._register(new k.RunOnceScheduler(()=>this._update(),300)),this.state=null,this._register(K.onDidChangeConfiguration(J=>{this._isEnabled=K.getOption(106)})),this._register(K.onDidChangeCursorSelection(J=>{this._isEnabled&&(J.selection.isEmpty()?J.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(K.onDidChangeModel(J=>{this._setState(null)})),this._register(K.onDidChangeModelContent(J=>{this._isEnabled&&this.updateSoon.schedule()}));const Z=s.CommonFindController.get(K);Z&&this._register(Z.getState().onFindReplaceStateChange(J=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(r._createState(this.state,this._isEnabled,this.editor))}static _createState(K,G,Z){if(!G||!Z.hasModel())return null;const J=Z.getSelection();if(J.startLineNumber!==J.endLineNumber)return null;const X=w.get(Z);if(!X)return null;const H=s.CommonFindController.get(Z);if(!H)return null;let B=X.getSession(H);if(!B){const ie=Z.getSelections();if(ie.length>1){const ce=H.getState().matchCase;if(!O(Z.getModel(),ie,ce))return null}B=b.create(Z,H)}if(!B||B.currentMatch||/^[ \t]+$/.test(B.searchText)||B.searchText.length>200)return null;const V=H.getState(),Y=V.matchCase;if(V.isRevealed){let ie=V.searchString;Y||(ie=ie.toLowerCase());let ae=B.searchText;if(Y||(ae=ae.toLowerCase()),ie===ae&&B.matchCase===V.matchCase&&B.wholeWord===V.wholeWord&&!V.isRegex)return null}return new N(Z.getModel(),B.searchText,B.matchCase,B.wholeWord?Z.getOption(128):null,K)}_setState(K){if(this.state=K,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;const G=this.editor.getModel();if(G.isTooLargeForTokenization())return;const Z=this.state.findMatches(),J=this.editor.getSelections();J.sort(_.Range.compareRangesUsingStarts);const X=[];for(let V=0,Y=0,ie=Z.length,ae=J.length;V=ae)X.push(ce),V++;else{const de=_.Range.compareRangesUsingStarts(ce,J[Y]);de<0?((J[Y].isEmpty()||!_.Range.areIntersecting(ce,J[Y]))&&X.push(ce),V++):(de>0||V++,Y++)}}const H=this._languageFeaturesService.documentHighlightProvider.has(G)&&this.editor.getOption(79),B=X.map(V=>({range:V,options:(0,u.getSelectionHighlightDecorationOptions)(H)}));this._decorations.set(B)}dispose(){this._setState(null),super.dispose()}};e.SelectionHighlighter=F,F.ID="editor.contrib.selectionHighlighter",e.SelectionHighlighter=F=r=ke([fe(1,a.ILanguageFeaturesService)],F);function O(R,K,G){const Z=W(R,K[0],!G);for(let J=1,X=K.length;J()=>Promise.resolve(N.provideDocumentHighlights(P,x,T)).then(void 0,S.onUnexpectedExternalError)),k.isNonEmptyArray)}e.getOccurrencesAtPosition=c;class o{constructor(P,x,T){this._model=P,this._selection=x,this._wordSeparators=T,this._wordRange=this._getCurrentWordRange(P,x),this._result=null}get result(){return this._result||(this._result=(0,y.createCancelablePromise)(P=>this._compute(this._model,this._selection,this._wordSeparators,P))),this._result}_getCurrentWordRange(P,x){const T=P.getWordAtPosition(x.getPosition());return T?new g.Range(x.startLineNumber,T.startColumn,x.startLineNumber,T.endColumn):null}isValid(P,x,T){const A=x.startLineNumber,N=x.startColumn,F=x.endColumn,O=this._getCurrentWordRange(P,x);let W=!!(this._wordRange&&this._wordRange.equalsRange(O));for(let U=0,j=T.length;!W&&U=F&&(W=!0)}return W}cancel(){this.result.cancel()}}class d extends o{constructor(P,x,T,A){super(P,x,T),this._providers=A}_compute(P,x,T,A){return c(this._providers,P,x.getPosition(),A).then(N=>N||[])}}class l extends o{constructor(P,x,T){super(P,x,T),this._selectionIsEmpty=x.isEmpty()}_compute(P,x,T,A){return(0,y.timeout)(250,A).then(()=>{if(!x.isEmpty())return[];const N=P.getWordAtPosition(x.getPosition());return!N||N.word.length>1e3?[]:P.findMatches(N.word,!0,!1,!0,T,!1).map(O=>({range:O.range,kind:s.DocumentHighlightKind.Text}))})}isValid(P,x,T){const A=x.isEmpty();return this._selectionIsEmpty!==A?!1:super.isValid(P,x,T)}}function p(M,P,x,T){return M.has(P)?new d(P,x,T,M):new l(P,x,T)}(0,_.registerModelAndPositionCommand)("_executeDocumentHighlights",(M,P,x)=>{const T=M.get(t.ILanguageFeaturesService);return c(T.documentHighlightProvider,P,x,D.CancellationToken.None)});class m{constructor(P,x,T,A){this.toUnhook=new f.DisposableStore,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=P,this.providers=x,this.linkedHighlighters=T,this._hasWordHighlights=r.bindTo(A),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(79),this.model=this.editor.getModel(),this.toUnhook.add(P.onDidChangeCursorPosition(N=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(N)})),this.toUnhook.add(P.onDidChangeModelContent(N=>{this._stopAll()})),this.toUnhook.add(P.onDidChangeConfiguration(N=>{const F=this.editor.getOption(79);this.occurrencesHighlight!==F&&(this.occurrencesHighlight=F,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(g.Range.compareRangesUsingStarts)}moveNext(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))+1)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))-1+P.length)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(P){if(!this.occurrencesHighlight){this._stopAll();return}if(P.reason!==3){this._stopAll();return}this._run()}_getWord(){const P=this.editor.getSelection(),x=P.startLineNumber,T=P.startColumn;return this.model.getWordAtPosition({lineNumber:x,column:T})}_run(){const P=this.editor.getSelection();if(P.startLineNumber!==P.endLineNumber){this._stopAll();return}const x=P.startColumn,T=P.endColumn,A=this._getWord();if(!A||A.startColumn>x||A.endColumn{F===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=O||[],this._beginRenderDecorations())},S.onUnexpectedError)}}_beginRenderDecorations(){const P=new Date().getTime(),x=this.lastCursorPositionChangeTime+250;P>=x?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},x-P)}renderDecorations(){this.renderDecorationsTimer=-1;const P=[];for(const x of this.workerRequestValue)x.range&&P.push({range:x.range,options:(0,a.getHighlightDecorationOptions)(x.kind)});this.decorations.set(P),this._hasWordHighlights.set(this.hasDecorations());for(const x of this.linkedHighlighters())x?.editor.getModel()===this.editor.getModel()&&(x._stopAll(),x.decorations.set(P),x._hasWordHighlights.set(x.hasDecorations()))}dispose(){this._stopAll(),this.toUnhook.dispose()}}let v=h=class extends f.Disposable{static get(P){return P.getContribution(h.ID)}constructor(P,x,T){super(),this.wordHighlighter=null,this.linkedContributions=new Set;const A=()=>{P.hasModel()&&(this.wordHighlighter=new m(P,T.documentHighlightProvider,()=>u.Iterable.map(this.linkedContributions,N=>N.wordHighlighter),x))};this._register(P.onDidChangeModel(N=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),A()})),A()}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveNext()}moveBack(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveBack()}restoreViewState(P){this.wordHighlighter&&P&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};e.WordHighlighterContribution=v,v.ID="editor.contrib.wordHighlighter",e.WordHighlighterContribution=v=h=ke([fe(1,n.IContextKeyService),fe(2,t.ILanguageFeaturesService)],v);class b extends _.EditorAction{constructor(P,x){super(x),this._isNext=P}run(P,x){const T=v.get(x);T&&(this._isNext?T.moveNext():T.moveBack())}}class w extends b{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:i.localize(0,null),alias:"Go to Next Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:65,weight:100}})}}class E extends b{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:i.localize(1,null),alias:"Go to Previous Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})}}class I extends _.EditorAction{constructor(){super({id:"editor.action.wordHighlight.trigger",label:i.localize(2,null),alias:"Trigger Symbol Highlight",precondition:r.toNegated(),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:0,weight:100}})}run(P,x,T){const A=v.get(x);A&&A.restoreViewState(!0)}}(0,_.registerEditorContribution)(v.ID,v,0),(0,_.registerEditorAction)(w),(0,_.registerEditorAction)(E),(0,_.registerEditorAction)(I)}),define(ne[898],se([1,0,7,130,38,164,2,47,5,40,467]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ZoneWidget=e.OverlayWidgetDelegate=void 0;const C=new y.Color(new y.RGBA(0,122,204)),s={showArrow:!0,showFrame:!0,className:"",frameColor:C,arrowColor:C,keepEditorSelection:!1},i="vs.editor.contrib.zoneWidget";class n{constructor(r,c,o,d,l,p,m,v){this.id="",this.domNode=r,this.afterLineNumber=c,this.afterColumn=o,this.heightInLines=d,this.showInHiddenAreas=m,this.ordinal=v,this._onDomNodeTop=l,this._onComputedHeight=p}onDomNodeTop(r){this._onDomNodeTop(r)}onComputedHeight(r){this._onComputedHeight(r)}}class t{constructor(r,c){this._id=r,this._domNode=c}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}e.OverlayWidgetDelegate=t;class a{constructor(r){this._editor=r,this._ruleName=a._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),L.removeCSSRulesContainingSelector(this._ruleName)}set color(r){this._color!==r&&(this._color=r,this._updateStyle())}set height(r){this._height!==r&&(this._height=r,this._updateStyle())}_updateStyle(){L.removeCSSRulesContainingSelector(this._ruleName),L.createCSSRule(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(r){r.column===1&&(r={lineNumber:r.lineNumber,column:2}),this._decorations.set([{range:_.Range.fromPositions(r),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}a._IdGenerator=new D.IdGenerator(".arrow-decoration-");class u{constructor(r,c={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new S.DisposableStore,this.container=null,this._isShowing=!1,this.editor=r,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=f.deepClone(c),f.mixin(this.options,s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(o=>{const d=this._getWidth(o);this.domNode.style.width=d+"px",this.domNode.style.left=this._getLeft(o)+"px",this._onWidth(d)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(r=>{this._viewZone&&r.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new a(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(r){r.frameColor&&(this.options.frameColor=r.frameColor),r.arrowColor&&(this.options.arrowColor=r.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const r=this.options.frameColor.toString();this.container.style.borderTopColor=r,this.container.style.borderBottomColor=r}if(this._arrow&&this.options.arrowColor){const r=this.options.arrowColor.toString();this._arrow.color=r}}_getWidth(r){return r.width-r.minimap.minimapWidth-r.verticalScrollbarWidth}_getLeft(r){return r.minimap.minimapWidth>0&&r.minimap.minimapLeft===0?r.minimap.minimapWidth:0}_onViewZoneTop(r){this.domNode.style.top=r+"px"}_onViewZoneHeight(r){var c;if(this.domNode.style.height=`${r}px`,this.container){const o=r-this._decoratingElementsHeight();this.container.style.height=`${o}px`;const d=this.editor.getLayoutInfo();this._doLayout(o,this._getWidth(d))}(c=this._resizeSash)===null||c===void 0||c.layout()}get position(){const r=this._positionMarkerId.getRange(0);if(r)return r.getStartPosition()}show(r,c){const o=_.Range.isIRange(r)?_.Range.lift(r):_.Range.fromPositions(r);this._isShowing=!0,this._showImpl(o,c),this._isShowing=!1,this._positionMarkerId.set([{range:o,options:g.ModelDecorationOptions.EMPTY}])}hide(){var r;this._viewZone&&(this.editor.changeViewZones(c=>{this._viewZone&&c.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(r=this._arrow)===null||r===void 0||r.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const r=this.editor.getOption(65);let c=0;if(this.options.showArrow){const o=Math.round(r/3);c+=2*o}if(this.options.showFrame){const o=Math.round(r/9);c+=2*o}return c}_showImpl(r,c){const o=r.getStartPosition(),d=this.editor.getLayoutInfo(),l=this._getWidth(d);this.domNode.style.width=`${l}px`,this.domNode.style.left=this._getLeft(d)+"px";const p=document.createElement("div");p.style.overflow="hidden";const m=this.editor.getOption(65);if(!this.options.allowUnlimitedHeight){const I=Math.max(12,this.editor.getLayoutInfo().height/m*.8);c=Math.min(c,I)}let v=0,b=0;if(this._arrow&&this.options.showArrow&&(v=Math.round(m/3),this._arrow.height=v,this._arrow.show(o)),this.options.showFrame&&(b=Math.round(m/9)),this.editor.changeViewZones(I=>{this._viewZone&&I.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new n(p,o.lineNumber,o.column,c,M=>this._onViewZoneTop(M),M=>this._onViewZoneHeight(M),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=I.addZone(this._viewZone),this._overlayWidget=new t(i+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const I=this.options.frameWidth?this.options.frameWidth:b;this.container.style.borderTopWidth=I+"px",this.container.style.borderBottomWidth=I+"px"}const w=c*m-this._decoratingElementsHeight();this.container&&(this.container.style.top=v+"px",this.container.style.height=w+"px",this.container.style.overflow="hidden"),this._doLayout(w,l),this.options.keepEditorSelection||this.editor.setSelection(r);const E=this.editor.getModel();if(E){const I=E.validateRange(new _.Range(r.startLineNumber,1,r.endLineNumber+1,1));this.revealRange(I,I.startLineNumber===E.getLineCount())}}revealRange(r,c){c?this.editor.revealLineNearTop(r.endLineNumber,0):this.editor.revealRange(r,0)}setCssClass(r,c){this.container&&(c&&this.container.classList.remove(c),this.container.classList.add(r))}_onWidth(r){}_doLayout(r,c){}_relayout(r){this._viewZone&&this._viewZone.heightInLines!==r&&this.editor.changeViewZones(c=>{this._viewZone&&(this._viewZone.heightInLines=r,c.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new k.Sash(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let r;this._disposables.add(this._resizeSash.onDidStart(c=>{this._viewZone&&(r={startY:c.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{r=void 0})),this._disposables.add(this._resizeSash.onDidChange(c=>{if(r){const o=(c.currentY-r.startY)/this.editor.getOption(65),d=o<0?Math.ceil(o):Math.floor(o),l=r.heightInLines+d;l>5&&l<35&&this._relayout(l)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const r=this.editor.getLayoutInfo();return r.width-r.minimap.minimapWidth}}e.ZoneWidget=u}),define(ne[138],se([1,0,7,68,39,25,26,38,6,47,16,33,162,898,690,160,15,50,8,31,458]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.peekViewEditorMatchHighlightBorder=e.peekViewEditorMatchHighlight=e.peekViewResultsMatchHighlight=e.peekViewEditorStickyScrollBackground=e.peekViewEditorGutterBackground=e.peekViewEditorBackground=e.peekViewResultsSelectionForeground=e.peekViewResultsSelectionBackground=e.peekViewResultsFileForeground=e.peekViewResultsMatchForeground=e.peekViewResultsBackground=e.peekViewBorder=e.peekViewTitleInfoForeground=e.peekViewTitleForeground=e.peekViewTitleBackground=e.PeekViewWidget=e.getOuterEditor=e.PeekContext=e.IPeekViewService=void 0,e.IPeekViewService=(0,r.createDecorator)("IPeekViewService"),(0,h.registerSingleton)(e.IPeekViewService,class{constructor(){this._widgets=new Map}addExclusiveWidget(v,b){const w=this._widgets.get(v);w&&(w.listener.dispose(),w.widget.dispose());const E=()=>{const I=this._widgets.get(v);I&&I.widget===b&&(I.listener.dispose(),this._widgets.delete(v))};this._widgets.set(v,{widget:b,listener:b.onDidClose(E)})}},1);var o;(function(v){v.inPeekEditor=new u.RawContextKey("inReferenceSearchEditor",!0,t.localize(0,null)),v.notInPeekEditor=v.inPeekEditor.toNegated()})(o||(e.PeekContext=o={}));let d=class{constructor(b,w){b instanceof i.EmbeddedCodeEditorWidget&&o.inPeekEditor.bindTo(w)}dispose(){}};d.ID="editor.contrib.referenceController",d=ke([fe(1,u.IContextKeyService)],d),(0,C.registerEditorContribution)(d.ID,d,0);function l(v){const b=v.get(s.ICodeEditorService).getFocusedCodeEditor();return b instanceof i.EmbeddedCodeEditorWidget?b.getParentEditor():b}e.getOuterEditor=l;const p={headerBackgroundColor:f.Color.white,primaryHeadingColor:f.Color.fromHex("#333333"),secondaryHeadingColor:f.Color.fromHex("#6c6c6cb3")};let m=class extends n.ZoneWidget{constructor(b,w,E){super(b,w),this.instantiationService=E,this._onDidClose=new _.Emitter,this.onDidClose=this._onDidClose.event,g.mixin(this.options,p,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(b){const w=this.options;b.headerBackgroundColor&&(w.headerBackgroundColor=b.headerBackgroundColor),b.primaryHeadingColor&&(w.primaryHeadingColor=b.primaryHeadingColor),b.secondaryHeadingColor&&(w.secondaryHeadingColor=b.secondaryHeadingColor),super.style(b)}_applyStyles(){super._applyStyles();const b=this.options;this._headElement&&b.headerBackgroundColor&&(this._headElement.style.backgroundColor=b.headerBackgroundColor.toString()),this._primaryHeading&&b.primaryHeadingColor&&(this._primaryHeading.style.color=b.primaryHeadingColor.toString()),this._secondaryHeading&&b.secondaryHeadingColor&&(this._secondaryHeading.style.color=b.secondaryHeadingColor.toString()),this._bodyElement&&b.frameColor&&(this._bodyElement.style.borderColor=b.frameColor.toString())}_fillContainer(b){this.setCssClass("peekview-widget"),this._headElement=L.$(".head"),this._bodyElement=L.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),b.appendChild(this._headElement),b.appendChild(this._bodyElement)}_fillHead(b,w){this._titleElement=L.$(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),L.addStandardDisposableListener(this._titleElement,"click",M=>this._onTitleClick(M))),L.append(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=L.$("span.filename"),this._secondaryHeading=L.$("span.dirname"),this._metaHeading=L.$("span.meta"),L.append(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const E=L.$(".peekview-actions");L.append(this._headElement,E);const I=this._getActionBarOptions();this._actionbarWidget=new k.ActionBar(E,I),this._disposables.add(this._actionbarWidget),w||this._actionbarWidget.push(new y.Action("peekview.close",t.localize(1,null),S.ThemeIcon.asClassName(D.Codicon.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(b){}_getActionBarOptions(){return{actionViewItemProvider:a.createActionViewItem.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(b){}setTitle(b,w){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=b,this._primaryHeading.setAttribute("title",b),w?this._secondaryHeading.innerText=w:L.clearNode(this._secondaryHeading))}setMetaTitle(b){this._metaHeading&&(b?(this._metaHeading.innerText=b,L.show(this._metaHeading)):L.hide(this._metaHeading))}_doLayout(b,w){if(!this._isShowing&&b<0){this.dispose();return}const E=Math.ceil(this.editor.getOption(65)*1.2),I=Math.round(b-(E+2));this._doLayoutHead(E,w),this._doLayoutBody(I,w)}_doLayoutHead(b,w){this._headElement&&(this._headElement.style.height=`${b}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(b,w){this._bodyElement&&(this._bodyElement.style.height=`${b}px`)}};e.PeekViewWidget=m,e.PeekViewWidget=m=ke([fe(2,r.IInstantiationService)],m),e.peekViewTitleBackground=(0,c.registerColor)("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(2,null)),e.peekViewTitleForeground=(0,c.registerColor)("peekViewTitleLabel.foreground",{dark:f.Color.white,light:f.Color.black,hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(3,null)),e.peekViewTitleInfoForeground=(0,c.registerColor)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},t.localize(4,null)),e.peekViewBorder=(0,c.registerColor)("peekView.border",{dark:c.editorInfoForeground,light:c.editorInfoForeground,hcDark:c.contrastBorder,hcLight:c.contrastBorder},t.localize(5,null)),e.peekViewResultsBackground=(0,c.registerColor)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(6,null)),e.peekViewResultsMatchForeground=(0,c.registerColor)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(7,null)),e.peekViewResultsFileForeground=(0,c.registerColor)("peekViewResult.fileForeground",{dark:f.Color.white,light:"#1E1E1E",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(8,null)),e.peekViewResultsSelectionBackground=(0,c.registerColor)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},t.localize(9,null)),e.peekViewResultsSelectionForeground=(0,c.registerColor)("peekViewResult.selectionForeground",{dark:f.Color.white,light:"#6C6C6C",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(10,null)),e.peekViewEditorBackground=(0,c.registerColor)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(11,null)),e.peekViewEditorGutterBackground=(0,c.registerColor)("peekViewEditorGutter.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(12,null)),e.peekViewEditorStickyScrollBackground=(0,c.registerColor)("peekViewEditorStickyScroll.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(13,null)),e.peekViewResultsMatchHighlight=(0,c.registerColor)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},t.localize(14,null)),e.peekViewEditorMatchHighlight=(0,c.registerColor)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},t.localize(15,null)),e.peekViewEditorMatchHighlightBorder=(0,c.registerColor)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:c.activeContrastBorder,hcLight:c.activeContrastBorder},t.localize(16,null))}),define(ne[899],se([1,0,7,75,14,38,6,2,45,11,5,138,663,160,30,15,8,158,97,56,789,31,23,445]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerNavigationWidget=void 0;class m{constructor(O,W,U,j,R){this._openerService=j,this._labelService=R,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new f.DisposableStore,this._editor=W;const K=document.createElement("div");K.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),K.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),K.appendChild(this._relatedBlock),this._disposables.add(L.addStandardDisposableListener(this._relatedBlock,"click",G=>{G.preventDefault();const Z=this._relatedDiagnostics.get(G.target);Z&&U(Z)})),this._scrollable=new k.ScrollableElement(K,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),O.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(G=>{K.style.left=`-${G.scrollLeft}px`,K.style.top=`-${G.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,f.dispose)(this._disposables)}update(O){const{source:W,message:U,relatedInformation:j,code:R}=O;let K=(W?.length||0)+2;R&&(typeof R=="string"?K+=R.length:K+=R.value.length);const G=(0,g.splitLines)(U);this._lines=G.length,this._longestLineLength=0;for(const B of G)this._longestLineLength=Math.max(B.length+K,this._longestLineLength);L.clearNode(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(O)),this._editor.applyFontInfo(this._messageBlock);let Z=this._messageBlock;for(const B of G)Z=document.createElement("div"),Z.innerText=B,B===""&&(Z.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(Z);if(W||R){const B=document.createElement("span");if(B.classList.add("details"),Z.appendChild(B),W){const V=document.createElement("span");V.innerText=W,V.classList.add("source"),B.appendChild(V)}if(R)if(typeof R=="string"){const V=document.createElement("span");V.innerText=`(${R})`,V.classList.add("code"),B.appendChild(V)}else{this._codeLink=L.$("a.code-link"),this._codeLink.setAttribute("href",`${R.target.toString()}`),this._codeLink.onclick=Y=>{this._openerService.open(R.target,{allowCommands:!0}),Y.preventDefault(),Y.stopPropagation()};const V=L.append(this._codeLink,L.$("span"));V.innerText=R.value,B.appendChild(this._codeLink)}}if(L.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.isNonEmptyArray)(j)){const B=this._relatedBlock.appendChild(document.createElement("div"));B.style.paddingTop=`${Math.floor(this._editor.getOption(65)*.66)}px`,this._lines+=1;for(const V of j){const Y=document.createElement("div"),ie=document.createElement("a");ie.classList.add("filename"),ie.innerText=`${this._labelService.getUriBasenameLabel(V.resource)}(${V.startLineNumber}, ${V.startColumn}): `,ie.title=this._labelService.getUriLabel(V.resource),this._relatedDiagnostics.set(ie,V);const ae=document.createElement("span");ae.innerText=V.message,Y.appendChild(ie),Y.appendChild(ae),this._lines+=1,B.appendChild(Y)}}const J=this._editor.getOption(49),X=Math.ceil(J.typicalFullwidthCharacterWidth*this._longestLineLength*.75),H=J.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:X,scrollHeight:H})}layout(O,W){this._scrollable.getDomNode().style.height=`${O}px`,this._scrollable.getDomNode().style.width=`${W}px`,this._scrollable.setScrollDimensions({width:W,height:O})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(O){let W="";switch(O.severity){case r.MarkerSeverity.Error:W=i.localize(0,null);break;case r.MarkerSeverity.Warning:W=i.localize(1,null);break;case r.MarkerSeverity.Info:W=i.localize(2,null);break;case r.MarkerSeverity.Hint:W=i.localize(3,null);break}let U=i.localize(4,null,W,O.startLineNumber+":"+O.startColumn);const j=this._editor.getModel();return j&&O.startLineNumber<=j.getLineCount()&&O.startLineNumber>=1&&(U=`${j.getLineContent(O.startLineNumber)}, ${U}`),U}}let v=p=class extends s.PeekViewWidget{constructor(O,W,U,j,R,K,G){super(O,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},R),this._themeService=W,this._openerService=U,this._menuService=j,this._contextKeyService=K,this._labelService=G,this._callOnDispose=new f.DisposableStore,this._onDidSelectRelatedInformation=new S.Emitter,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=r.MarkerSeverity.Warning,this._backgroundColor=D.Color.white,this._applyTheme(W.getColorTheme()),this._callOnDispose.add(W.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(O){this._backgroundColor=O.getColor(N);let W=I,U=M;this._severity===r.MarkerSeverity.Warning?(W=P,U=x):this._severity===r.MarkerSeverity.Info&&(W=T,U=A);const j=O.getColor(W),R=O.getColor(U);this.style({arrowColor:j,frameColor:j,headerBackgroundColor:R,primaryHeadingColor:O.getColor(s.peekViewTitleForeground),secondaryHeadingColor:O.getColor(s.peekViewTitleInfoForeground)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(O){super._fillHead(O),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(j=>this.editor.focus()));const W=[],U=this._menuService.createMenu(p.TitleMenu,this._contextKeyService);(0,n.createAndFillInActionBarActions)(U,void 0,W),this._actionbarWidget.push(W,{label:!1,icon:!0,index:0}),U.dispose()}_fillTitleIcon(O){this._icon=L.append(O,L.$(""))}_fillBody(O){this._parentContainer=O,O.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),O.appendChild(this._container),this._message=new m(this._container,this.editor,W=>this._onDidSelectRelatedInformation.fire(W),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(O,W,U){this._container.classList.remove("stale"),this._message.update(O),this._severity=O.severity,this._applyTheme(this._themeService.getColorTheme());const j=C.Range.lift(O),R=this.editor.getPosition(),K=R&&j.containsPosition(R)?R:j.getStartPosition();super.show(K,this.computeRequiredHeight());const G=this.editor.getModel();if(G){const Z=U>1?i.localize(5,null,W,U):i.localize(6,null,W,U);this.setTitle((0,_.basename)(G.uri),Z)}this._icon.className=`codicon ${o.SeverityIcon.className(r.MarkerSeverity.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(K,0),this.editor.focus()}updateMarker(O){this._container.classList.remove("stale"),this._message.update(O)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(O,W){super._doLayoutBody(O,W),this._heightInPixel=O,this._message.layout(O,W),this._container.style.height=`${O}px`}_onWidth(O){this._message.layout(this._heightInPixel,O)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};e.MarkerNavigationWidget=v,v.TitleMenu=new t.MenuId("gotoErrorTitleMenu"),e.MarkerNavigationWidget=v=p=ke([fe(1,l.IThemeService),fe(2,c.IOpenerService),fe(3,t.IMenuService),fe(4,u.IInstantiationService),fe(5,a.IContextKeyService),fe(6,h.ILabelService)],v);const b=(0,d.oneOf)(d.editorErrorForeground,d.editorErrorBorder),w=(0,d.oneOf)(d.editorWarningForeground,d.editorWarningBorder),E=(0,d.oneOf)(d.editorInfoForeground,d.editorInfoBorder),I=(0,d.registerColor)("editorMarkerNavigationError.background",{dark:b,light:b,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(7,null)),M=(0,d.registerColor)("editorMarkerNavigationError.headerBackground",{dark:(0,d.transparent)(I,.1),light:(0,d.transparent)(I,.1),hcDark:null,hcLight:null},i.localize(8,null)),P=(0,d.registerColor)("editorMarkerNavigationWarning.background",{dark:w,light:w,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(9,null)),x=(0,d.registerColor)("editorMarkerNavigationWarning.headerBackground",{dark:(0,d.transparent)(P,.1),light:(0,d.transparent)(P,.1),hcDark:"#0C141F",hcLight:(0,d.transparent)(P,.2)},i.localize(10,null)),T=(0,d.registerColor)("editorMarkerNavigationInfo.background",{dark:E,light:E,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(11,null)),A=(0,d.registerColor)("editorMarkerNavigationInfo.headerBackground",{dark:(0,d.transparent)(T,.1),light:(0,d.transparent)(T,.1),hcDark:null,hcLight:null},i.localize(12,null)),N=(0,d.registerColor)("editorMarkerNavigation.background",{dark:d.editorBackground,light:d.editorBackground,hcDark:d.editorBackground,hcLight:d.editorBackground},i.localize(13,null))}),define(ne[369],se([1,0,25,2,16,33,12,5,21,766,662,30,15,8,62,899]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.NextMarkerAction=e.MarkerController=void 0;let h=u=class{static get(b){return b.getContribution(u.ID)}constructor(b,w,E,I,M){this._markerNavigationService=w,this._contextKeyService=E,this._editorService=I,this._instantiationService=M,this._sessionDispoables=new k.DisposableStore,this._editor=b,this._widgetVisible=p.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(b){if(this._model&&this._model.matches(b))return this._model;let w=!1;return this._model&&(w=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(b),w&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(a.MarkerNavigationWidget,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(E=>{var I,M,P;(!(!((I=this._model)===null||I===void 0)&&I.selected)||!f.Range.containsPosition((M=this._model)===null||M===void 0?void 0:M.selected.marker,E.position))&&((P=this._model)===null||P===void 0||P.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const E=this._model.find(this._editor.getModel().uri,this._widget.position);E?this._widget.updateMarker(E.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(E=>{this._editorService.openCodeEditor({resource:E.resource,options:{pinned:!0,revealIfOpened:!0,selection:f.Range.lift(E).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(b=!0){this._cleanUp(),b&&this._editor.focus()}showAtMarker(b){if(this._editor.hasModel()){const w=this._getOrCreateModel(this._editor.getModel().uri);w.resetIndex(),w.move(!0,this._editor.getModel(),new S.Position(b.startLineNumber,b.startColumn)),w.selected&&this._widget.showAtMarker(w.selected.marker,w.selected.index,w.selected.total)}}nagivate(b,w){var E,I;return we(this,void 0,void 0,function*(){if(this._editor.hasModel()){const M=this._getOrCreateModel(w?void 0:this._editor.getModel().uri);if(M.move(b,this._editor.getModel(),this._editor.getPosition()),!M.selected)return;if(M.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const P=yield this._editorService.openCodeEditor({resource:M.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:M.selected.marker}},this._editor);P&&((E=u.get(P))===null||E===void 0||E.close(),(I=u.get(P))===null||I===void 0||I.nagivate(b,w))}else this._widget.showAtMarker(M.selected.marker,M.selected.index,M.selected.total)}})}};e.MarkerController=h,h.ID="editor.contrib.markerController",e.MarkerController=h=u=ke([fe(1,g.IMarkerNavigationService),fe(2,i.IContextKeyService),fe(3,D.ICodeEditorService),fe(4,n.IInstantiationService)],h);class r extends y.EditorAction{constructor(b,w,E){super(E),this._next=b,this._multiFile=w}run(b,w){var E;return we(this,void 0,void 0,function*(){w.hasModel()&&((E=h.get(w))===null||E===void 0||E.nagivate(this._next,this._multiFile))})}}class c extends r{constructor(){super(!0,!1,{id:c.ID,label:c.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:578,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:c.LABEL,icon:(0,t.registerIcon)("marker-navigation-next",L.Codicon.arrowDown,C.localize(1,null)),group:"navigation",order:1}})}}e.NextMarkerAction=c,c.ID="editor.action.marker.next",c.LABEL=C.localize(0,null);class o extends r{constructor(){super(!1,!1,{id:o.ID,label:o.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1602,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:o.LABEL,icon:(0,t.registerIcon)("marker-navigation-previous",L.Codicon.arrowUp,C.localize(3,null)),group:"navigation",order:2}})}}o.ID="editor.action.marker.prev",o.LABEL=C.localize(2,null);class d extends r{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:C.localize(4,null),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:66,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(5,null),group:"6_problem_nav",order:1}})}}class l extends r{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:C.localize(6,null),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1090,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(7,null),group:"6_problem_nav",order:2}})}}(0,y.registerEditorContribution)(h.ID,h,4),(0,y.registerEditorAction)(c),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l);const p=new i.RawContextKey("markersNavigationVisible",!1),m=y.EditorCommand.bindToContribution(h.get);(0,y.registerEditorCommand)(new m({id:"closeMarkersNavigation",precondition:p,handler:v=>v.close(),kbOpts:{weight:100+50,kbExpr:_.EditorContextKeys.focus,primary:9,secondary:[1033]}}))}),define(ne[900],se([1,0,7,311,38,6,2,54,45,162,5,40,32,78,41,69,824,138,668,8,34,158,191,23,192,155,447]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferenceWidget=e.LayoutData=void 0;class b{constructor(P,x){this._editor=P,this._model=x,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new S.DisposableStore,this._callOnModelChange=new S.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const P=this._editor.getModel();if(P){for(const x of this._model.references)if(x.uri.toString()===P.uri.toString()){this._addDecorations(x.parent);return}}}_addDecorations(P){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const x=[],T=[];for(let A=0,N=P.children.length;A{const N=A.deltaDecorations([],x);for(let F=0;F{N.equals(9)&&(this._keybindingService.dispatchEvent(N,N.target),N.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(E,"ReferencesWidget",this._treeContainer,new u.Delegate,[this._instantiationService.createInstance(u.FileReferencesRenderer),this._instantiationService.createInstance(u.OneReferenceRenderer)],this._instantiationService.createInstance(u.DataSource),T),this._splitView.addView({onDidChange:D.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:N=>{this._preview.layout({height:this._dim.height,width:N})}},k.Sizing.Distribute),this._splitView.addView({onDidChange:D.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:N=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${N}px`,this._tree.layout(this._dim.height,N)}},k.Sizing.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const A=(N,F)=>{N instanceof v.OneReference&&(F==="show"&&this._revealReference(N,!1),this._onDidSelectReference.fire({element:N,kind:F,source:"tree"}))};this._tree.onDidOpen(N=>{N.sideBySide?A(N.element,"side"):N.editorOptions.pinned?A(N.element,"goto"):A(N.element,"show")}),L.hide(this._treeContainer)}_onWidth(P){this._dim&&this._doLayoutBody(this._dim.height,P)}_doLayoutBody(P,x){super._doLayoutBody(P,x),this._dim=new L.Dimension(x,P),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(x),this._splitView.resizeView(0,x*this.layoutData.ratio)}setSelection(P){return this._revealReference(P,!0).then(()=>{this._model&&(this._tree.setSelection([P]),this._tree.setFocus([P]))})}setModel(P){return this._disposeOnNewModel.clear(),this._model=P,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=r.localize(1,null),L.show(this._messageContainer),Promise.resolve(void 0)):(L.hide(this._messageContainer),this._decorationsManager=new b(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(P=>this._tree.rerender(P))),this._disposeOnNewModel.add(this._preview.onMouseDown(P=>{const{event:x,target:T}=P;if(x.detail!==2)return;const A=this._getFocusedReference();A&&this._onDidSelectReference.fire({element:{uri:A.uri,range:T.range},kind:x.ctrlKey||x.metaKey||x.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),L.show(this._treeContainer),L.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[P]=this._tree.getFocus();if(P instanceof v.OneReference)return P;if(P instanceof v.FileReferences&&P.children.length>0)return P.children[0]}revealReference(P){return we(this,void 0,void 0,function*(){yield this._revealReference(P,!1),this._onDidSelectReference.fire({element:P,kind:"goto",source:"tree"})})}_revealReference(P,x){return we(this,void 0,void 0,function*(){if(this._revealedReference===P)return;this._revealedReference=P,P.uri.scheme!==f.Schemas.inMemory?this.setTitle((0,_.basenameOrAuthority)(P.uri),this._uriLabel.getUriLabel((0,_.dirname)(P.uri))):this.setTitle(r.localize(2,null));const T=this._textModelResolverService.createModelReference(P.uri);this._tree.getInput()===P.parent?this._tree.reveal(P):(x&&this._tree.reveal(P.parent),yield this._tree.expand(P.parent),this._tree.reveal(P));const A=yield T;if(!this._model){A.dispose();return}(0,S.dispose)(this._previewModelReference);const N=A.object;if(N){const F=this._preview.getModel()===N.textEditorModel?0:1,O=C.Range.lift(P.range).collapseToStart();this._previewModelReference=A,this._preview.setModel(N.textEditorModel),this._preview.setSelection(O),this._preview.revealRangeInCenter(O,F)}else this._preview.setModel(this._previewNotAvailableMessage),A.dispose()})}};e.ReferenceWidget=I,e.ReferenceWidget=I=ke([fe(3,p.IThemeService),fe(4,a.ITextModelService),fe(5,c.IInstantiationService),fe(6,h.IPeekViewService),fe(7,d.ILabelService),fe(8,m.IUndoRedoService),fe(9,o.IKeybindingService),fe(10,t.ILanguageService),fe(11,i.ILanguageConfigurationService)],I)}),define(ne[370],se([1,0,13,9,63,2,33,12,5,138,666,27,28,15,8,118,191,43,87,155,900]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesController=e.ctxReferenceSearchVisible=void 0,e.ctxReferenceSearchVisible=new n.RawContextKey("referenceSearchVisible",!1,C.localize(0,null));let l=d=class{static get(v){return v.getContribution(d.ID)}constructor(v,b,w,E,I,M,P,x){this._defaultTreeKeyboardSupport=v,this._editor=b,this._editorService=E,this._notificationService=I,this._instantiationService=M,this._storageService=P,this._configurationService=x,this._disposables=new D.DisposableStore,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=e.ctxReferenceSearchVisible.bindTo(w)}dispose(){var v,b;this._referenceSearchVisible.reset(),this._disposables.dispose(),(v=this._widget)===null||v===void 0||v.dispose(),(b=this._model)===null||b===void 0||b.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(v,b,w){let E;if(this._widget&&(E=this._widget.position),this.closeWidget(),E&&v.containsPosition(E))return;this._peekMode=w,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const I="peekViewLayout",M=o.LayoutData.fromJSON(this._storageService.get(I,0,"{}"));this._widget=this._instantiationService.createInstance(o.ReferenceWidget,this._editor,this._defaultTreeKeyboardSupport,M),this._widget.setTitle(C.localize(1,null)),this._widget.show(v),this._disposables.add(this._widget.onDidClose(()=>{b.cancel(),this._widget&&(this._storageService.store(I,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(x=>{const{element:T,kind:A}=x;if(T)switch(A){case"open":(x.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(T,!1,!1);break;case"side":this.openReference(T,!0,!1);break;case"goto":w?this._gotoReference(T,!0):this.openReference(T,!1,!0);break}}));const P=++this._requestIdPool;b.then(x=>{var T;if(P!==this._requestIdPool||!this._widget){x.dispose();return}return(T=this._model)===null||T===void 0||T.dispose(),this._model=x,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(C.localize(2,null,this._model.title,this._model.references.length));const A=this._editor.getModel().uri,N=new f.Position(v.startLineNumber,v.startColumn),F=this._model.nearestReference(A,N);if(F)return this._widget.setSelection(F).then(()=>{this._widget&&this._editor.getOption(85)==="editor"&&this._widget.focusOnPreviewEditor()})}})},x=>{this._notificationService.error(x)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(v){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const b=this._widget.position;if(!b)return;const w=this._model.nearestReference(this._editor.getModel().uri,b);if(!w)return;const E=this._model.nextOrPreviousReference(w,v),I=this._editor.hasTextFocus(),M=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(E),yield this._gotoReference(E,!1),I?this._editor.focus():this._widget&&M&&this._widget.focusOnPreviewEditor()})}revealReference(v){return we(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(v))})}closeWidget(v=!0){var b,w;(b=this._widget)===null||b===void 0||b.dispose(),(w=this._model)===null||w===void 0||w.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,v&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(v,b){var w;(w=this._widget)===null||w===void 0||w.hide(),this._ignoreModelChangeEvent=!0;const E=_.Range.lift(v.range).collapseToStart();return this._editorService.openCodeEditor({resource:v.uri,options:{selection:E,selectionSource:"code.jump",pinned:b}},this._editor).then(I=>{var M;if(this._ignoreModelChangeEvent=!1,!I||!this._widget){this.closeWidget();return}if(this._editor===I)this._widget.show(E),this._widget.focusOnReferenceTree();else{const P=d.get(I),x=this._model.clone();this.closeWidget(),I.focus(),P?.toggleWidget(E,(0,L.createCancelablePromise)(T=>Promise.resolve(x)),(M=this._peekMode)!==null&&M!==void 0?M:!1)}},I=>{this._ignoreModelChangeEvent=!1,(0,k.onUnexpectedError)(I)})}openReference(v,b,w){b||this.closeWidget();const{uri:E,range:I}=v;this._editorService.openCodeEditor({resource:E,options:{selection:I,selectionSource:"code.jump",pinned:w}},this._editor,b)}};e.ReferencesController=l,l.ID="editor.contrib.referencesController",e.ReferencesController=l=d=ke([fe(2,n.IContextKeyService),fe(3,S.ICodeEditorService),fe(4,h.INotificationService),fe(5,t.IInstantiationService),fe(6,r.IStorageService),fe(7,i.IConfigurationService)],l);function p(m,v){const b=(0,g.getOuterEditor)(m);if(!b)return;const w=l.get(b);w&&v(w)}a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,y.KeyChord)(2089,60),when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.changeFocusBetweenPreviewAndReferences()})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:100-10,primary:62,secondary:[70],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!0)})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:100-10,primary:1086,secondary:[1094],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!1)})}}),s.CommandsRegistry.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),s.CommandsRegistry.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),s.CommandsRegistry.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),s.CommandsRegistry.registerCommand("closeReferenceSearch",m=>p(m,v=>v.closeWidget())),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:100-101,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(g.PeekContext.inPeekEditor,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:200+50,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.revealReference(w[0]))}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!0,!0))}}),s.CommandsRegistry.registerCommand("openReference",m=>{var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!1,!0))})}),define(ne[257],se([1,0,49,13,63,20,22,104,177,16,33,162,12,5,21,29,370,155,804,190,138,664,30,27,15,8,43,77,247,18,46,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P){"use strict";var x,T,A,N,F,O,W,U;Object.defineProperty(e,"__esModule",{value:!0}),e.DefinitionAction=e.SymbolNavigationAction=e.SymbolNavigationAnchor=void 0,l.MenuRegistry.appendMenuItem(l.MenuId.EditorContext,{submenu:l.MenuId.EditorContextPeek,title:d.localize(0,null),group:"navigation",order:100});class j{static is(V){return!V||typeof V!="object"?!1:!!(V instanceof j||i.Position.isIPosition(V.position)&&V.model)}constructor(V,Y){this.model=V,this.position=Y}}e.SymbolNavigationAnchor=j;class R extends g.EditorAction2{static all(){return R._allSymbolNavigationCommands.values()}static _patchConfig(V){const Y=Object.assign(Object.assign({},V),{f1:!0});if(Y.menu)for(const ie of M.Iterable.wrap(Y.menu))(ie.id===l.MenuId.EditorContext||ie.id===l.MenuId.EditorContextPeek)&&(ie.when=m.ContextKeyExpr.and(V.precondition,ie.when));return Y}constructor(V,Y){super(R._patchConfig(Y)),this.configuration=V,R._allSymbolNavigationCommands.set(Y.id,this)}runEditorCommand(V,Y,ie,ae){if(!Y.hasModel())return Promise.resolve(void 0);const ce=V.get(b.INotificationService),de=V.get(C.ICodeEditorService),he=V.get(w.IEditorProgressService),ue=V.get(r.ISymbolNavigationService),te=V.get(I.ILanguageFeaturesService),q=V.get(v.IInstantiationService),z=Y.getModel(),ee=Y.getPosition(),$=j.is(ie)?ie:new j(z,ee),re=new f.EditorStateCancellationTokenSource(Y,5),oe=(0,k.raceCancellation)(this._getLocationModel(te,$.model,$.position,re.token),re.token).then(ge=>we(this,void 0,void 0,function*(){var ve;if(!ge||re.token.isCancellationRequested)return;(0,L.alert)(ge.ariaMessage);let Se;if(ge.referenceAt(z.uri,ee)){const De=this._getAlternativeCommand(Y);!R._activeAlternativeCommands.has(De)&&R._allSymbolNavigationCommands.has(De)&&(Se=R._allSymbolNavigationCommands.get(De))}const Le=ge.references.length;if(Le===0){if(!this.configuration.muteMessage){const De=z.getWordAtPosition(ee);(ve=c.MessageController.get(Y))===null||ve===void 0||ve.showMessage(this._getNoResultFoundMessage(De),ee)}}else if(Le===1&&Se)R._activeAlternativeCommands.add(this.desc.id),q.invokeFunction(De=>Se.runEditorCommand(De,Y,ie,ae).finally(()=>{R._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(de,ue,Y,ge,ae)}),ge=>{ce.error(ge)}).finally(()=>{re.dispose()});return he.showWhile(oe,250),oe}_onResult(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){const de=this._getGoToPreference(ie);if(!(ie instanceof s.EmbeddedCodeEditorWidget)&&(this.configuration.openInPeek||de==="peek"&&ae.references.length>1))this._openInPeek(ie,ae,ce);else{const he=ae.firstReference(),ue=ae.references.length>1&&de==="gotoAndPeek",te=yield this._openReference(ie,V,he,this.configuration.openToSide,!ue);ue&&te?this._openInPeek(te,ae,ce):ae.dispose(),de==="goto"&&Y.put(he)}})}_openReference(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){let de;if((0,a.isLocationLink)(ie)&&(de=ie.targetSelectionRange),de||(de=ie.range),!de)return;const he=yield Y.openCodeEditor({resource:ie.uri,options:{selection:n.Range.collapseToStart(de),selectionRevealType:3,selectionSource:"code.jump"}},V,ae);if(he){if(ce){const ue=he.getModel(),te=he.createDecorationsCollection([{range:de,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{he.getModel()===ue&&te.clear()},350)}return he}})}_openInPeek(V,Y,ie){const ae=u.ReferencesController.get(V);ae&&V.hasModel()?ae.toggleWidget(ie??V.getSelection(),(0,k.createCancelablePromise)(ce=>Promise.resolve(Y)),this.configuration.openInPeek):Y.dispose()}}e.SymbolNavigationAction=R,R._allSymbolNavigationCommands=new Map,R._activeAlternativeCommands=new Set;class K extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDefinitionsAtPosition)(V.definitionProvider,Y,ie,ae),d.localize(1,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(2,null,V.word):d.localize(3,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleDefinitions}}e.DefinitionAction=K,(0,l.registerAction2)((x=class extends K{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:x.id,title:{value:d.localize(4,null),original:"Go to Definition",mnemonicTitle:d.localize(5,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:70,weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:2118,weight:100}],menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.1},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),p.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",x.id)}},x.id="editor.action.revealDefinition",x)),(0,l.registerAction2)((T=class extends K{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:T.id,title:{value:d.localize(6,null),original:"Open Definition to the Side"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,70),weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:(0,y.KeyChord)(2089,2118),weight:100}]}),p.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",T.id)}},T.id="editor.action.revealDefinitionAside",T)),(0,l.registerAction2)((A=class extends K{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:A.id,title:{value:d.localize(7,null),original:"Peek Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:2}}),p.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",A.id)}},A.id="editor.action.peekDefinition",A));class G extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDeclarationsAtPosition)(V.declarationProvider,Y,ie,ae),d.localize(8,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(9,null,V.word):d.localize(10,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDeclarationCommand}_getGoToPreference(V){return V.getOption(57).multipleDeclarations}}(0,l.registerAction2)((N=class extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:N.id,title:{value:d.localize(11,null),original:"Go to Declaration",mnemonicTitle:d.localize(12,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.3},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(13,null,V.word):d.localize(14,null)}},N.id="editor.action.revealDeclaration",N)),(0,l.registerAction2)(class extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:{value:d.localize(15,null),original:"Peek Declaration"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:3}})}});class Z extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getTypeDefinitionsAtPosition)(V.typeDefinitionProvider,Y,ie,ae),d.localize(16,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(17,null,V.word):d.localize(18,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeTypeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleTypeDefinitions}}(0,l.registerAction2)((F=class extends Z{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:F.ID,title:{value:d.localize(19,null),original:"Go to Type Definition",mnemonicTitle:d.localize(20,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:0,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.4},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},F.ID="editor.action.goToTypeDefinition",F)),(0,l.registerAction2)((O=class extends Z{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:O.ID,title:{value:d.localize(21,null),original:"Peek Type Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:4}})}},O.ID="editor.action.peekTypeDefinition",O));class J extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getImplementationsAtPosition)(V.implementationProvider,Y,ie,ae),d.localize(22,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(23,null,V.word):d.localize(24,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeImplementationCommand}_getGoToPreference(V){return V.getOption(57).multipleImplementations}}(0,l.registerAction2)((W=class extends J{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:W.ID,title:{value:d.localize(25,null),original:"Go to Implementations",mnemonicTitle:d.localize(26,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:2118,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},W.ID="editor.action.goToImplementation",W)),(0,l.registerAction2)((U=class extends J{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:U.ID,title:{value:d.localize(27,null),original:"Peek Implementations"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:3142,weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:5}})}},U.ID="editor.action.peekImplementation",U));class X extends R{_getNoResultFoundMessage(V){return V?d.localize(28,null,V.word):d.localize(29,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeReferenceCommand}_getGoToPreference(V){return V.getOption(57).multipleReferences}}(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{value:d.localize(30,null),original:"Go to References",mnemonicTitle:d.localize(31,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:1094,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!0,ae),d.localize(32,null))})}}),(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:{value:d.localize(33,null),original:"Peek References"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!1,ae),d.localize(34,null))})}});class H extends R{constructor(V,Y,ie){super(V,{id:"editor.action.goToLocation",title:{value:d.localize(35,null),original:"Go to Any Symbol"},precondition:m.ContextKeyExpr.and(o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated())}),this._references=Y,this._gotoMultipleBehaviour=ie}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(this._references,d.localize(36,null))})}_getNoResultFoundMessage(V){return V&&d.localize(37,null,V.word)||""}_getGoToPreference(V){var Y;return(Y=this._gotoMultipleBehaviour)!==null&&Y!==void 0?Y:V.getOption(57).multipleReferences}_getAlternativeCommand(){return""}}p.CommandsRegistry.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(B,V,Y,ie,ae,ce,de)=>we(void 0,void 0,void 0,function*(){(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y)),(0,D.assertType)(Array.isArray(ie)),(0,D.assertType)(typeof ae>"u"||typeof ae=="string"),(0,D.assertType)(typeof de>"u"||typeof de=="boolean");const he=B.get(C.ICodeEditorService),ue=yield he.openCodeEditor({resource:V},he.getFocusedCodeEditor());if((0,_.isCodeEditor)(ue))return ue.setPosition(Y),ue.revealPositionInCenterIfOutsideViewport(Y,0),ue.invokeWithinContext(te=>{const q=new class extends H{_getNoResultFoundMessage(z){return ce||super._getNoResultFoundMessage(z)}}({muteMessage:!ce,openInPeek:!!de,openToSide:!1},ie,ae);te.get(v.IInstantiationService).invokeFunction(q.run.bind(q),ue)})})}),p.CommandsRegistry.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(B,V,Y,ie,ae)=>we(void 0,void 0,void 0,function*(){B.get(p.ICommandService).executeCommand("editor.action.goToLocations",V,Y,ie,ae,void 0,!0)})}),p.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:(B,V,Y)=>{(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y));const ie=B.get(I.ILanguageFeaturesService),ae=B.get(C.ICodeEditorService);return ae.openCodeEditor({resource:V},ae.getFocusedCodeEditor()).then(ce=>{if(!(0,_.isCodeEditor)(ce)||!ce.hasModel())return;const de=u.ReferencesController.get(ce);if(!de)return;const he=(0,k.createCancelablePromise)(te=>(0,E.getReferencesAtPosition)(ie.referenceProvider,ce.getModel(),i.Position.lift(Y),!1,te).then(q=>new h.ReferencesModel(q,d.localize(38,null)))),ue=new n.Range(Y.lineNumber,Y.column,Y.lineNumber,Y.column);return Promise.resolve(de.toggleWidget(ue,he,!1))})}}),p.CommandsRegistry.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")}),define(ne[371],se([1,0,13,9,55,2,104,16,5,41,69,186,138,665,15,257,247,18,40,446]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.GotoDefinitionAtPositionEditorContribution=void 0;let o=c=class{constructor(l,p,m,v){this.textModelResolverService=p,this.languageService=m,this.languageFeaturesService=v,this.toUnhook=new D.DisposableStore,this.toUnhookForKeyboard=new D.DisposableStore,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=l,this.linkDecorations=this.editor.createDecorationsCollection();const b=new s.ClickLinkGesture(l);this.toUnhook.add(b),this.toUnhook.add(b.onMouseMoveOrRelevantKeyDown(([w,E])=>{this.startFindDefinitionFromMouse(w,E??void 0)})),this.toUnhook.add(b.onExecute(w=>{this.isEnabled(w)&&this.gotoDefinition(w.target.position,w.hasSideBySideModifier).catch(E=>{(0,k.onUnexpectedError)(E)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(b.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(l){return l.getContribution(c.ID)}startFindDefinitionFromCursor(l){return we(this,void 0,void 0,function*(){yield this.startFindDefinition(l),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(p=>{p&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(l,p){if(l.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(l,p)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const m=l.target.position;this.startFindDefinition(m)}startFindDefinition(l){var p;return we(this,void 0,void 0,function*(){this.toUnhookForKeyboard.clear();const m=l?(p=this.editor.getModel())===null||p===void 0?void 0:p.getWordAtPosition(l):null;if(!m){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===m.startColumn&&this.currentWordAtPosition.endColumn===m.endColumn&&this.currentWordAtPosition.word===m.word)return;this.currentWordAtPosition=m;const v=new S.EditorState(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,L.createCancelablePromise)(E=>this.findDefinition(l,E));let b;try{b=yield this.previousPromise}catch(E){(0,k.onUnexpectedError)(E);return}if(!b||!b.length||!v.validate(this.editor)){this.removeLinkDecorations();return}const w=b[0].originSelectionRange?_.Range.lift(b[0].originSelectionRange):new _.Range(l.lineNumber,m.startColumn,l.lineNumber,m.endColumn);if(b.length>1){let E=w;for(const{originSelectionRange:I}of b)I&&(E=_.Range.plusRange(E,I));this.addDecoration(E,new y.MarkdownString().appendText(n.localize(0,null,b.length)))}else{const E=b[0];if(!E.uri)return;this.textModelResolverService.createModelReference(E.uri).then(I=>{if(!I.object||!I.object.textEditorModel){I.dispose();return}const{object:{textEditorModel:M}}=I,{startLineNumber:P}=E.range;if(P<1||P>M.getLineCount()){I.dispose();return}const x=this.getPreviewValue(M,P,E),T=this.languageService.guessLanguageIdByFilepathOrFirstLine(M.uri);this.addDecoration(w,x?new y.MarkdownString().appendCodeblock(T||"",x):void 0),I.dispose()})}})}getPreviewValue(l,p,m){let v=m.range;return v.endLineNumber-v.startLineNumber>=c.MAX_SOURCE_PREVIEW_LINES&&(v=this.getPreviewRangeBasedOnIndentation(l,p)),this.stripIndentationFromPreviewRange(l,p,v)}stripIndentationFromPreviewRange(l,p,m){let b=l.getLineFirstNonWhitespaceColumn(p);for(let E=p+1;E{const v=!p&&this.editor.getOption(86)&&!this.isInPeekEditor(m);return new a.DefinitionAction({openToSide:p,openInPeek:v,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m)})}isInPeekEditor(l){const p=l.get(t.IContextKeyService);return i.PeekContext.inPeekEditor.getValue(p)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};e.GotoDefinitionAtPositionEditorContribution=o,o.ID="editor.contrib.gotodefinitionatposition",o.MAX_SOURCE_PREVIEW_LINES=8,e.GotoDefinitionAtPositionEditorContribution=o=c=ke([fe(1,C.ITextModelService),fe(2,g.ILanguageService),fe(3,h.ILanguageFeaturesService)],o),(0,f.registerEditorContribution)(o.ID,o,2)}),define(ne[901],se([1,0,7,14,13,9,2,45,5,18,233,137,250,113,369,673,97,56,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerHoverParticipant=e.MarkerHover=void 0;const c=L.$;class o{constructor(m,v,b){this.owner=m,this.range=v,this.marker=b}isValidForHoverAnchor(m){return m.type===1&&this.range.startColumn<=m.range.startColumn&&this.range.endColumn>=m.range.endColumn}}e.MarkerHover=o;const d={type:1,filter:{include:n.CodeActionKind.QuickFix},triggerAction:n.CodeActionTriggerSource.QuickFixHover};let l=class{constructor(m,v,b,w){this._editor=m,this._markerDecorationsService=v,this._openerService=b,this._languageFeaturesService=w,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(m,v){if(!this._editor.hasModel()||m.type!==1&&!m.supportsMarkerHover)return[];const b=this._editor.getModel(),w=m.range.startLineNumber,E=b.getLineMaxColumn(w),I=[];for(const M of v){const P=M.range.startLineNumber===w?M.range.startColumn:1,x=M.range.endLineNumber===w?M.range.endColumn:E,T=this._markerDecorationsService.getMarker(b.uri,M);if(!T)continue;const A=new _.Range(m.range.startLineNumber,P,m.range.startLineNumber,x);I.push(new o(this,A,T))}return I}renderHoverParts(m,v){if(!v.length)return S.Disposable.None;const b=new S.DisposableStore;v.forEach(E=>m.fragment.appendChild(this.renderMarkerHover(E,b)));const w=v.length===1?v[0]:v.sort((E,I)=>u.MarkerSeverity.compare(E.marker.severity,I.marker.severity))[0];return this.renderMarkerStatusbar(m,w,b),b}renderMarkerHover(m,v){const b=c("div.hover-row"),w=L.append(b,c("div.marker.hover-contents")),{source:E,message:I,code:M,relatedInformation:P}=m.marker;this._editor.applyFontInfo(w);const x=L.append(w,c("span"));if(x.style.whiteSpace="pre-wrap",x.innerText=I,E||M)if(M&&typeof M!="string"){const T=c("span");if(E){const O=L.append(T,c("span"));O.innerText=E}const A=L.append(T,c("a.code-link"));A.setAttribute("href",M.target.toString()),v.add(L.addDisposableListener(A,"click",O=>{this._openerService.open(M.target,{allowCommands:!0}),O.preventDefault(),O.stopPropagation()}));const N=L.append(A,c("span"));N.innerText=M.value;const F=L.append(w,T);F.style.opacity="0.6",F.style.paddingLeft="6px"}else{const T=L.append(w,c("span"));T.style.opacity="0.6",T.style.paddingLeft="6px",T.innerText=E&&M?`${E}(${M})`:E||`(${M})`}if((0,k.isNonEmptyArray)(P))for(const{message:T,resource:A,startLineNumber:N,startColumn:F}of P){const O=L.append(w,c("div"));O.style.marginTop="8px";const W=L.append(O,c("a"));W.innerText=`${(0,f.basename)(A)}(${N}, ${F}): `,W.style.cursor="pointer",v.add(L.addDisposableListener(W,"click",j=>{j.stopPropagation(),j.preventDefault(),this._openerService&&this._openerService.open(A,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:N,startColumn:F}}}).catch(D.onUnexpectedError)}));const U=L.append(O,c("span"));U.innerText=T,this._editor.applyFontInfo(U)}return b}renderMarkerStatusbar(m,v,b){if((v.marker.severity===u.MarkerSeverity.Error||v.marker.severity===u.MarkerSeverity.Warning||v.marker.severity===u.MarkerSeverity.Info)&&m.statusBar.addAction({label:a.localize(0,null),commandId:t.NextMarkerAction.ID,run:()=>{var w;m.hide(),(w=t.MarkerController.get(this._editor))===null||w===void 0||w.showAtMarker(v.marker),this._editor.focus()}}),!this._editor.getOption(89)){const w=m.statusBar.append(c("div"));this.recentMarkerCodeActionsInfo&&(u.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker)===u.IMarkerData.makeKey(v.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(w.textContent=a.localize(1,null)):this.recentMarkerCodeActionsInfo=void 0);const E=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?S.Disposable.None:b.add((0,y.disposableTimeout)(()=>w.textContent=a.localize(2,null),200));w.textContent||(w.textContent=String.fromCharCode(160));const I=this.getCodeActions(v.marker);b.add((0,S.toDisposable)(()=>I.cancel())),I.then(M=>{if(E.dispose(),this.recentMarkerCodeActionsInfo={marker:v.marker,hasCodeActions:M.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){M.dispose(),w.textContent=a.localize(3,null);return}w.style.display="none";let P=!1;b.add((0,S.toDisposable)(()=>{P||M.dispose()})),m.statusBar.addAction({label:a.localize(4,null),commandId:s.quickFixCommandId,run:x=>{P=!0;const T=i.CodeActionController.get(this._editor),A=L.getDomNodePagePosition(x);m.hide(),T?.showCodeActions(d,M,{x:A.left,y:A.top,width:A.width,height:A.height})}})},D.onUnexpectedError)}}getCodeActions(m){return(0,y.createCancelablePromise)(v=>(0,s.getCodeActions)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new _.Range(m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn),d,r.Progress.None,v))}};e.MarkerHoverParticipant=l,e.MarkerHoverParticipant=l=ke([fe(1,C.IMarkerDecorationsService),fe(2,h.IOpenerService),fe(3,g.ILanguageFeaturesService)],l)}),define(ne[372],se([1,0,63,2,16,5,21,41,371,367,781,8,56,31,23,103,248,901,253,34,671,448]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ModesHoverController=void 0;const l=!1;let p=d=class{static get(N){return N.getContribution(d.ID)}constructor(N,F,O,W,U){this._editor=N,this._instantiationService=F,this._openerService=O,this._languageService=W,this._keybindingService=U,this._toUnhook=new k.DisposableStore,this._hoverActivatedByColorDecoratorClick=!1,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(j=>{j.hasChanged(59)&&(this._unhookEvents(),this._hookEvents())})}_hookEvents(){const N=()=>this._hideWidgets(),F=this._editor.getOption(59);this._isHoverEnabled=F.enabled,this._isHoverSticky=F.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(O=>this._onEditorMouseDown(O))),this._toUnhook.add(this._editor.onMouseUp(O=>this._onEditorMouseUp(O))),this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))):(this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))),this._toUnhook.add(this._editor.onMouseLeave(O=>this._onEditorMouseLeave(O))),this._toUnhook.add(this._editor.onDidChangeModel(N)),this._toUnhook.add(this._editor.onDidScrollChange(O=>this._onEditorScrollChanged(O)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(N){(N.scrollTopChanged||N.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(N){var F;this._isMouseDown=!0;const O=N.target;if(O.type===9&&O.detail===g.ContentHoverWidget.ID){this._hoverClicked=!0;return}O.type===12&&O.detail===C.MarginHoverWidget.ID||(O.type!==12&&(this._hoverClicked=!1),!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||this._hideWidgets())}_onEditorMouseUp(N){this._isMouseDown=!1}_onEditorMouseLeave(N){var F,O;const W=N.event.browserEvent.relatedTarget;!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||!((O=this._contentWidget)===null||O===void 0)&&O.containsNode(W)||l||this._hideWidgets()}_onEditorMouseMove(N){var F,O,W,U,j,R,K,G,Z,J,X;const H=N.target;if(!((F=this._contentWidget)===null||F===void 0)&&F.isFocused||!((O=this._contentWidget)===null||O===void 0)&&O.isResizing||this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID||this._isHoverSticky&&(!((W=this._contentWidget)===null||W===void 0)&&W.containsNode((U=N.event.browserEvent.view)===null||U===void 0?void 0:U.document.activeElement))&&!(!((R=(j=N.event.browserEvent.view)===null||j===void 0?void 0:j.getSelection())===null||R===void 0)&&R.isCollapsed)||!this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID&&(!((K=this._contentWidget)===null||K===void 0)&&K.isColorPickerVisible)||this._isHoverSticky&&H.type===12&&H.detail===C.MarginHoverWidget.ID||this._isHoverSticky&&(!((G=this._contentWidget)===null||G===void 0)&&G.isVisibleFromKeyboard))return;const B=(Z=H.element)===null||Z===void 0?void 0:Z.classList.contains("colorpicker-color-decoration"),V=this._editor.getOption(145);if(B&&(V==="click"&&!this._hoverActivatedByColorDecoratorClick||V==="hover"&&!this._isHoverEnabled&&!l||V==="clickAndHover"&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick)||!B&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(N)){(J=this._glyphWidget)===null||J===void 0||J.hide();return}if(H.type===2&&H.position){(X=this._contentWidget)===null||X===void 0||X.hide(),this._glyphWidget||(this._glyphWidget=new C.MarginHoverWidget(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(H.position.lineNumber);return}l||this._hideWidgets()}_onKeyDown(N){var F;if(!this._editor.hasModel())return;const O=this._keybindingService.softDispatch(N,this._editor.getDomNode()),W=O.kind===1||O.kind===2&&O.commandId==="editor.action.showHover"&&((F=this._contentWidget)===null||F===void 0?void 0:F.isVisible);N.keyCode!==5&&N.keyCode!==6&&N.keyCode!==57&&N.keyCode!==4&&!W&&this._hideWidgets()}_hideWidgets(){var N,F,O;l||this._isMouseDown&&this._hoverClicked&&(!((N=this._contentWidget)===null||N===void 0)&&N.isColorPickerVisible)||r.InlineSuggestionHintsContentWidget.dropDownVisible||(this._hoverActivatedByColorDecoratorClick=!1,this._hoverClicked=!1,(F=this._glyphWidget)===null||F===void 0||F.hide(),(O=this._contentWidget)===null||O===void 0||O.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(g.ContentHoverController,this._editor)),this._contentWidget}showContentHover(N,F,O,W,U=!1){this._hoverActivatedByColorDecoratorClick=U,this._getOrCreateContentWidget().startShowingAtRange(N,F,O,W)}focus(){var N;(N=this._contentWidget)===null||N===void 0||N.focus()}scrollUp(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollUp()}scrollDown(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollDown()}scrollLeft(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollLeft()}scrollRight(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollRight()}pageUp(){var N;(N=this._contentWidget)===null||N===void 0||N.pageUp()}pageDown(){var N;(N=this._contentWidget)===null||N===void 0||N.pageDown()}goToTop(){var N;(N=this._contentWidget)===null||N===void 0||N.goToTop()}goToBottom(){var N;(N=this._contentWidget)===null||N===void 0||N.goToBottom()}get isColorPickerVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isColorPickerVisible}get isHoverVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isVisible}dispose(){var N,F;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(N=this._glyphWidget)===null||N===void 0||N.dispose(),(F=this._contentWidget)===null||F===void 0||F.dispose()}};e.ModesHoverController=p,p.ID="editor.contrib.hover",e.ModesHoverController=p=d=ke([fe(1,s.IInstantiationService),fe(2,i.IOpenerService),fe(3,f.ILanguageService),fe(4,c.IKeybindingService)],p);class m extends y.EditorAction{constructor(){super({id:"editor.action.showHover",label:o.localize(0,null),description:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if when triggered with the keyboard, the hover should take focus immediately.",type:"boolean",default:!1}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:S.EditorContextKeys.editorTextFocus,primary:(0,L.KeyChord)(2089,2087),weight:100}})}run(N,F,O){if(!F.hasModel())return;const W=p.get(F);if(!W)return;const U=F.getPosition(),j=new D.Range(U.lineNumber,U.column,U.lineNumber,U.column),R=F.getOption(2)===2||!!O?.focus;W.isHoverVisible?W.focus():W.showContentHover(j,1,1,R)}}class v extends y.EditorAction{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:o.localize(1,null),alias:"Show Definition Preview Hover",precondition:void 0})}run(N,F){const O=p.get(F);if(!O)return;const W=F.getPosition();if(!W)return;const U=new D.Range(W.lineNumber,W.column,W.lineNumber,W.column),j=_.GotoDefinitionAtPositionEditorContribution.get(F);if(!j)return;j.startFindDefinitionFromCursor(W).then(()=>{O.showContentHover(U,1,1,!0)})}}class b extends y.EditorAction{constructor(){super({id:"editor.action.scrollUpHover",label:o.localize(2,null),alias:"Scroll Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:16,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollUp()}}class w extends y.EditorAction{constructor(){super({id:"editor.action.scrollDownHover",label:o.localize(3,null),alias:"Scroll Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:18,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollDown()}}class E extends y.EditorAction{constructor(){super({id:"editor.action.scrollLeftHover",label:o.localize(4,null),alias:"Scroll Left Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:15,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollLeft()}}class I extends y.EditorAction{constructor(){super({id:"editor.action.scrollRightHover",label:o.localize(5,null),alias:"Scroll Right Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:17,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollRight()}}class M extends y.EditorAction{constructor(){super({id:"editor.action.pageUpHover",label:o.localize(6,null),alias:"Page Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:11,secondary:[528],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageUp()}}class P extends y.EditorAction{constructor(){super({id:"editor.action.pageDownHover",label:o.localize(7,null),alias:"Page Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:12,secondary:[530],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageDown()}}class x extends y.EditorAction{constructor(){super({id:"editor.action.goToTopHover",label:o.localize(8,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToTop()}}class T extends y.EditorAction{constructor(){super({id:"editor.action.goToBottomHover",label:o.localize(9,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToBottom()}}(0,y.registerEditorContribution)(p.ID,p,2),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(b),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),a.HoverParticipantRegistry.register(u.MarkdownHoverParticipant),a.HoverParticipantRegistry.register(h.MarkerHoverParticipant),(0,t.registerThemingParticipant)((A,N)=>{const F=A.getColor(n.editorHoverBorder);F&&(N.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${F.transparent(.5)}; }`))})}),define(ne[902],se([1,0,2,16,5,363,364,372,103]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorContribution=void 0;class g extends L.Disposable{constructor(s){super(),this._editor=s,this._register(s.onMouseDown(i=>this.onMouseDown(i)))}dispose(){super.dispose()}onMouseDown(s){const i=this._editor.getOption(145);if(i!=="click"&&i!=="clickAndHover")return;const n=s.target;if(n.type!==6||!n.detail.injectedText||n.detail.injectedText.options.attachedData!==D.ColorDecorationInjectedTextMarker||!n.range)return;const t=this._editor.getContribution(f.ModesHoverController.ID);if(t&&!t.isColorPickerVisible){const a=new y.Range(n.range.startLineNumber,n.range.startColumn+1,n.range.endLineNumber,n.range.endColumn+1);t.showContentHover(a,1,0,!1,!0)}}}e.ColorContribution=g,g.ID="editor.contrib.colorContribution",(0,k.registerEditorContribution)(g.ID,g,2),_.HoverParticipantRegistry.register(S.ColorHoverParticipant)}),define(ne[373],se([1,0,7,39,19,170,5,69,257,138,30,27,15,57,8,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.goToDefinitionWithLocation=e.showGoToContextMenu=void 0;function u(r,c,o,d){var l;return we(this,void 0,void 0,function*(){const p=r.get(f.ITextModelService),m=r.get(n.IContextMenuService),v=r.get(s.ICommandService),b=r.get(t.IInstantiationService),w=r.get(a.INotificationService);if(yield d.item.resolve(y.CancellationToken.None),!d.part.location)return;const E=d.part.location,I=[],M=new Set(C.MenuRegistry.getMenuItems(C.MenuId.EditorContext).map(x=>(0,C.isIMenuItem)(x)?x.command.id:(0,D.generateUuid)()));for(const x of _.SymbolNavigationAction.all())M.has(x.desc.id)&&I.push(new k.Action(x.desc.id,C.MenuItemAction.label(x.desc,{renderShortTitle:!0}),void 0,!0,()=>we(this,void 0,void 0,function*(){const T=yield p.createModelReference(E.uri);try{const A=new _.SymbolNavigationAnchor(T.object.textEditorModel,S.Range.getStartPosition(E.range)),N=d.item.anchor.range;yield b.invokeFunction(x.runEditorCommand.bind(x),c,A,N)}finally{T.dispose()}})));if(d.part.command){const{command:x}=d.part;I.push(new k.Separator),I.push(new k.Action(x.id,x.title,void 0,!0,()=>we(this,void 0,void 0,function*(){var T;try{yield v.executeCommand(x.id,...(T=x.arguments)!==null&&T!==void 0?T:[])}catch(A){w.notify({severity:a.Severity.Error,source:d.item.provider.displayName,message:A})}})))}const P=c.getOption(125);m.showContextMenu({domForShadowRoot:P&&(l=c.getDomNode())!==null&&l!==void 0?l:void 0,getAnchor:()=>{const x=L.getDomNodePagePosition(o);return{x:x.left,y:x.top+x.height+8}},getActions:()=>I,onHide:()=>{c.focus()},autoSelectFirstItem:!0})})}e.showGoToContextMenu=u;function h(r,c,o,d){return we(this,void 0,void 0,function*(){const p=yield r.get(f.ITextModelService).createModelReference(d.uri);yield o.invokeWithinContext(m=>we(this,void 0,void 0,function*(){const v=c.hasSideBySideModifier,b=m.get(i.IContextKeyService),w=g.PeekContext.inPeekEditor.getValue(b),E=!v&&o.getOption(86)&&!w;return new _.DefinitionAction({openToSide:v,openInPeek:E,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m,new _.SymbolNavigationAnchor(p.object.textEditorModel,S.Range.getStartPosition(d.range)),S.Range.lift(d.range))})),p.dispose()})}e.goToDefinitionWithLocation=h}),define(ne[374],se([1,0,7,14,13,19,9,2,65,20,22,159,108,36,73,5,29,48,40,76,18,69,186,322,373,27,50,8,43,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsController=e.RenderedInlayHintLabelPart=void 0;class x{constructor(){this._entries=new _.LRUCache(50)}get(U){const j=x._key(U);return this._entries.get(j)}set(U,j){const R=x._key(U);this._entries.set(R,j)}static _key(U){return`${U.uri.toString()}/${U.getVersionId()}`}}const T=(0,w.createDecorator)("IInlayHintsCache");(0,b.registerSingleton)(T,x,1);class A{constructor(U,j){this.item=U,this.index=j}get part(){const U=this.item.hint.label;return typeof U=="string"?{label:U}:U[this.index]}}e.RenderedInlayHintLabelPart=A;class N{constructor(U,j){this.part=U,this.hasTriggerModifier=j}}let F=P=class{static get(U){var j;return(j=U.getContribution(P.ID))!==null&&j!==void 0?j:void 0}constructor(U,j,R,K,G,Z,J){this._editor=U,this._languageFeaturesService=j,this._inlayHintsCache=K,this._commandService=G,this._notificationService=Z,this._instaService=J,this._disposables=new f.DisposableStore,this._sessionDisposables=new f.DisposableStore,this._decorationsMetadata=new Map,this._ruleFactory=new s.DynamicCssRules(this._editor),this._activeRenderMode=0,this._debounceInfo=R.for(j.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(j.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(U.onDidChangeModel(()=>this._update())),this._disposables.add(U.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(U.onDidChangeConfiguration(X=>{X.hasChanged(138)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){this._sessionDisposables.clear(),this._removeAllDecorations();const U=this._editor.getOption(138);if(U.enabled==="off")return;const j=this._editor.getModel();if(!j||!this._languageFeaturesService.inlayHintsProvider.has(j))return;const R=this._inlayHintsCache.get(j);R&&this._updateHintsDecorators([j.getFullModelRange()],R),this._sessionDisposables.add((0,f.toDisposable)(()=>{j.isDisposed()||this._cacheHintsForFastRestore(j)}));let K;const G=new Set,Z=new y.RunOnceScheduler(()=>we(this,void 0,void 0,function*(){const J=Date.now();K?.dispose(!0),K=new D.CancellationTokenSource;const X=j.onWillDispose(()=>K?.cancel());try{const H=K.token,B=yield p.InlayHintsFragments.create(this._languageFeaturesService.inlayHintsProvider,j,this._getHintsRanges(),H);if(Z.delay=this._debounceInfo.update(j,Date.now()-J),H.isCancellationRequested){B.dispose();return}for(const V of B.provider)typeof V.onDidChangeInlayHints=="function"&&!G.has(V)&&(G.add(V),this._sessionDisposables.add(V.onDidChangeInlayHints(()=>{Z.isScheduled()||Z.schedule()})));this._sessionDisposables.add(B),this._updateHintsDecorators(B.ranges,B.items),this._cacheHintsForFastRestore(j)}catch(H){(0,S.onUnexpectedError)(H)}finally{K.dispose(),X.dispose()}}),this._debounceInfo.get(j));if(this._sessionDisposables.add(Z),this._sessionDisposables.add((0,f.toDisposable)(()=>K?.dispose(!0))),Z.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(J=>{(J.scrollTopChanged||!Z.isScheduled())&&Z.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(J=>{const X=Math.max(Z.delay,1250);Z.schedule(X)})),U.enabled==="on")this._activeRenderMode=0;else{let J,X;U.enabled==="onUnlessPressed"?(J=0,X=1):(J=1,X=0),this._activeRenderMode=J,this._sessionDisposables.add(L.ModifierKeyEmitter.getInstance().event(H=>{if(!this._editor.hasModel())return;const B=H.altKey&&H.ctrlKey&&!(H.shiftKey||H.metaKey)?X:J;if(B!==this._activeRenderMode){this._activeRenderMode=B;const V=this._editor.getModel(),Y=this._copyInlayHintsWithCurrentAnchor(V);this._updateHintsDecorators([V.getFullModelRange()],Y),Z.schedule(0)}}))}this._sessionDisposables.add(this._installDblClickGesture(()=>Z.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const U=new f.DisposableStore,j=U.add(new l.ClickLinkGesture(this._editor)),R=new f.DisposableStore;return U.add(R),U.add(j.onMouseMoveOrRelevantKeyDown(K=>{const[G]=K,Z=this._getInlayHintLabelPart(G),J=this._editor.getModel();if(!Z||!J){R.clear();return}const X=new D.CancellationTokenSource;R.add((0,f.toDisposable)(()=>X.dispose(!0))),Z.item.resolve(X.token),this._activeInlayHintPart=Z.part.command||Z.part.location?new N(Z,G.hasTriggerModifier):void 0;const H=J.validatePosition(Z.item.hint.position).lineNumber,B=new a.Range(H,1,H,J.getLineMaxColumn(H)),V=this._getInlineHintsForRange(B);this._updateHintsDecorators([B],V),R.add((0,f.toDisposable)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([B],V)}))})),U.add(j.onCancel(()=>R.clear())),U.add(j.onExecute(K=>we(this,void 0,void 0,function*(){const G=this._getInlayHintLabelPart(K);if(G){const Z=G.part;Z.location?this._instaService.invokeFunction(m.goToDefinitionWithLocation,K,this._editor,Z.location):u.Command.is(Z.command)&&(yield this._invokeCommand(Z.command,G.item))}}))),U}_getInlineHintsForRange(U){const j=new Set;for(const R of this._decorationsMetadata.values())U.containsRange(R.item.anchor.range)&&j.add(R.item);return Array.from(j)}_installDblClickGesture(U){return this._editor.onMouseUp(j=>we(this,void 0,void 0,function*(){if(j.event.detail!==2)return;const R=this._getInlayHintLabelPart(j);if(R&&(j.event.preventDefault(),yield R.item.resolve(D.CancellationToken.None),(0,k.isNonEmptyArray)(R.item.hint.textEdits))){const K=R.item.hint.textEdits.map(G=>t.EditOperation.replace(a.Range.lift(G.range),G.text));this._editor.executeEdits("inlayHint.default",K),U()}}))}_installContextMenu(){return this._editor.onContextMenu(U=>we(this,void 0,void 0,function*(){if(!(U.event.target instanceof HTMLElement))return;const j=this._getInlayHintLabelPart(U);j&&(yield this._instaService.invokeFunction(m.showGoToContextMenu,this._editor,U.event.target,j))}))}_getInlayHintLabelPart(U){var j;if(U.target.type!==6)return;const R=(j=U.target.detail.injectedText)===null||j===void 0?void 0:j.options;if(R instanceof r.ModelDecorationInjectedTextOptions&&R?.attachedData instanceof A)return R.attachedData}_invokeCommand(U,j){var R;return we(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(U.id,...(R=U.arguments)!==null&&R!==void 0?R:[])}catch(K){this._notificationService.notify({severity:E.Severity.Error,source:j.provider.displayName,message:K})}})}_cacheHintsForFastRestore(U){const j=this._copyInlayHintsWithCurrentAnchor(U);this._inlayHintsCache.set(U,j)}_copyInlayHintsWithCurrentAnchor(U){const j=new Map;for(const[R,K]of this._decorationsMetadata){if(j.has(K.item))continue;const G=U.getDecorationRange(R);if(G){const Z=new p.InlayHintAnchor(G,K.item.anchor.direction),J=K.item.with({anchor:Z});j.set(K.item,J)}}return Array.from(j.values())}_getHintsRanges(){const j=this._editor.getModel(),R=this._editor.getVisibleRangesPlusViewportAboveBelow(),K=[];for(const G of R.sort(a.Range.compareRangesUsingStarts)){const Z=j.validateRange(new a.Range(G.startLineNumber-30,G.startColumn,G.endLineNumber+30,G.endColumn));K.length===0||!a.Range.areIntersectingOrTouching(K[K.length-1],Z)?K.push(Z):K[K.length-1]=a.Range.plusRange(K[K.length-1],Z)}return K}_updateHintsDecorators(U,j){var R,K;const G=[],Z=(ce,de,he,ue,te)=>{const q={content:he,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:de.className,cursorStops:ue,attachedData:te};G.push({item:ce,classNameRef:de,decoration:{range:ce.anchor.range,options:{description:"InlayHint",showIfCollapsed:ce.anchor.range.isEmpty(),collapseOnReplaceEdit:!ce.anchor.range.isEmpty(),stickiness:0,[ce.anchor.direction]:this._activeRenderMode===0?q:void 0}}})},J=(ce,de)=>{const he=this._ruleFactory.createClassNameRef({width:`${X/3|0}px`,display:"inline-block"});Z(ce,he,"\u200A",de?h.InjectedTextCursorStops.Right:h.InjectedTextCursorStops.None)},{fontSize:X,fontFamily:H,padding:B,isUniform:V}=this._getLayoutInfo(),Y="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(Y,H);for(const ce of j){ce.hint.paddingLeft&&J(ce,!1);const de=typeof ce.hint.label=="string"?[{label:ce.hint.label}]:ce.hint.label;for(let he=0;heP._MAX_DECORATORS)break}const ie=[];for(const ce of U)for(const{id:de}of(K=this._editor.getDecorationsInRange(ce))!==null&&K!==void 0?K:[]){const he=this._decorationsMetadata.get(de);he&&(ie.push(de),he.classNameRef.dispose(),this._decorationsMetadata.delete(de))}const ae=i.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(ce=>{const de=ce.deltaDecorations(ie,G.map(he=>he.decoration));for(let he=0;heR)&&(G=R);const Z=U.fontFamily||K;return{fontSize:G,fontFamily:Z,padding:j,isUniform:!j&&Z===K&&G===R}}_removeAllDecorations(){this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys()));for(const U of this._decorationsMetadata.values())U.classNameRef.dispose();this._decorationsMetadata.clear()}};e.InlayHintsController=F,F.ID="editor.contrib.InlayHints",F._MAX_DECORATORS=1500,e.InlayHintsController=F=P=ke([fe(1,o.ILanguageFeaturesService),fe(2,c.ILanguageFeatureDebounceService),fe(3,T),fe(4,v.ICommandService),fe(5,E.INotificationService),fe(6,w.IInstantiationService)],F);function O(W){const U="\xA0";return W.replace(/[ \t]/g,U)}v.CommandsRegistry.registerCommand("_executeInlayHintProvider",(W,...U)=>we(void 0,void 0,void 0,function*(){const[j,R]=U;(0,g.assertType)(C.URI.isUri(j)),(0,g.assertType)(a.Range.isIRange(R));const{inlayHintsProvider:K}=W.get(o.ILanguageFeaturesService),G=yield W.get(d.ITextModelService).createModelReference(j);try{const Z=yield p.InlayHintsFragments.create(K,G.object.textEditorModel,[a.Range.lift(R)],D.CancellationToken.None),J=Z.items.map(X=>X.hint);return setTimeout(()=>Z.dispose(),0),J}finally{G.dispose()}}))});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[903],se([1,0,13,55,12,40,103,41,69,352,248,374,28,56,18,676,17,322,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsHover=void 0;class c extends S.HoverForeignElementAnchor{constructor(l,p,m,v){super(10,p,l.item.anchor.range,m,v,!0),this.part=l}}let o=class extends C.MarkdownHoverParticipant{constructor(l,p,m,v,b,w){super(l,p,m,v,w),this._resolverService=b,this.hoverOrdinal=6}suggestHoverAnchor(l){var p;if(!s.InlayHintsController.get(this._editor)||l.target.type!==6)return null;const v=(p=l.target.detail.injectedText)===null||p===void 0?void 0:p.options;return v instanceof D.ModelDecorationInjectedTextOptions&&v.attachedData instanceof s.RenderedInlayHintLabelPart?new c(v.attachedData,this,l.event.posx,l.event.posy):null}computeSync(){return[]}computeAsync(l,p,m){return l instanceof c?new L.AsyncIterableObject(v=>we(this,void 0,void 0,function*(){var b,w,E,I;const{part:M}=l;if(yield M.item.resolve(m),m.isCancellationRequested)return;let P;typeof M.item.hint.tooltip=="string"?P=new k.MarkdownString().appendText(M.item.hint.tooltip):M.item.hint.tooltip&&(P=M.item.hint.tooltip),P&&v.emitOne(new C.MarkdownHover(this,l.range,[P],!1,0)),(0,r.isNonEmptyArray)(M.item.hint.textEdits)&&v.emitOne(new C.MarkdownHover(this,l.range,[new k.MarkdownString().appendText((0,a.localize)(0,null))],!1,10001));let x;if(typeof M.part.tooltip=="string"?x=new k.MarkdownString().appendText(M.part.tooltip):M.part.tooltip&&(x=M.part.tooltip),x&&v.emitOne(new C.MarkdownHover(this,l.range,[x],!1,1)),M.part.location||M.part.command){let O;const U=this._editor.getOption(76)==="altKey"?u.isMacintosh?(0,a.localize)(1,null):(0,a.localize)(2,null):u.isMacintosh?(0,a.localize)(3,null):(0,a.localize)(4,null);M.part.location&&M.part.command?O=new k.MarkdownString().appendText((0,a.localize)(5,null,U)):M.part.location?O=new k.MarkdownString().appendText((0,a.localize)(6,null,U)):M.part.command&&(O=new k.MarkdownString(`[${(0,a.localize)(7,null)}](${(0,h.asCommandLink)(M.part.command)} "${M.part.command.title}") (${U})`,{isTrusted:!0})),O&&v.emitOne(new C.MarkdownHover(this,l.range,[O],!1,1e4))}const T=yield this._resolveInlayHintLabelPartHover(M,m);try{for(var A=!0,N=Lt(T),F;F=yield N.next(),b=F.done,!b;A=!0){I=F.value,A=!1;const O=I;v.emitOne(O)}}catch(O){w={error:O}}finally{try{!A&&!b&&(E=N.return)&&(yield E.call(N))}finally{if(w)throw w.error}}})):L.AsyncIterableObject.EMPTY}_resolveInlayHintLabelPartHover(l,p){return we(this,void 0,void 0,function*(){if(!l.part.location)return L.AsyncIterableObject.EMPTY;const{uri:m,range:v}=l.part.location,b=yield this._resolverService.createModelReference(m);try{const w=b.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(w)?(0,g.getHover)(this._languageFeaturesService.hoverProvider,w,new y.Position(v.startLineNumber,v.startColumn),p).filter(E=>!(0,k.isEmptyMarkdownString)(E.hover.contents)).map(E=>new C.MarkdownHover(this,l.item.anchor.range,E.hover.contents,!1,2+E.ordinal)):L.AsyncIterableObject.EMPTY}finally{b.dispose()}})}};e.InlayHintsHover=o,e.InlayHintsHover=o=ke([fe(1,f.ILanguageService),fe(2,n.IOpenerService),fe(3,i.IConfigurationService),fe(4,_.ITextModelService),fe(5,t.ILanguageFeaturesService)],o)}),define(ne[904],se([1,0,16,103,374,903]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.InlayHintsController.ID,y.InlayHintsController,1),k.HoverParticipantRegistry.register(D.InlayHintsHover)}),define(ne[375],se([1,0,2,18,894,893,8,57,30,15,21,186,5,247,373,12,19,32,76,7,299,60]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollController=void 0;let p=l=class extends L.Disposable{constructor(v,b,w,E,I,M,P){super(),this._editor=v,this._contextMenuService=b,this._languageFeaturesService=w,this._instaService=E,this._contextKeyService=P,this._sessionStore=new L.DisposableStore,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new y.StickyScrollWidget(this._editor),this._stickyLineCandidateProvider=new D.StickyLineCandidateProvider(this._editor,w,I),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new y.StickyScrollWidgetState([],[],0),this._readConfiguration();const x=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(A=>{(A.hasChanged(113)||A.hasChanged(71)||A.hasChanged(65)||A.hasChanged(108))&&this._readConfiguration()})),this._register(c.addDisposableListener(x,c.EventType.CONTEXT_MENU,A=>we(this,void 0,void 0,function*(){this._onContextMenu(A)}))),this._stickyScrollFocusedContextKey=C.EditorContextKeys.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=C.EditorContextKeys.stickyScrollVisible.bindTo(this._contextKeyService);const T=this._register(c.trackFocus(x));this._register(T.onDidBlur(A=>{this._positionRevealed===!1&&x.clientHeight===0?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(T.onDidFocus(A=>{this.focus()})),this._registerMouseListeners(),this._register(c.addDisposableListener(x,c.EventType.MOUSE_DOWN,A=>{this._onMouseDown=!0}))}static get(v){return v.getContribution(l.ID)}_disposeFocusStickyScrollStore(){var v;this._stickyScrollFocusedContextKey.set(!1),(v=this._focusDisposableStore)===null||v===void 0||v.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}this._stickyScrollFocusedContextKey.get()!==!0&&(this._focused=!0,this._focusDisposableStore=new L.DisposableStore,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(v){this._focusedStickyElementIndex=v?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){const v=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:v[this._focusedStickyElementIndex],column:1})}_revealPosition(v){this._reveaInEditor(v,()=>this._editor.revealPosition(v))}_revealLineInCenterIfOutsideViewport(v){this._reveaInEditor(v,()=>this._editor.revealLineInCenterIfOutsideViewport(v.lineNumber,0))}_reveaInEditor(v,b){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,b(),this._editor.setSelection(i.Range.fromPositions(v)),this._editor.focus()}_registerMouseListeners(){const v=this._register(new L.DisposableStore),b=this._register(new s.ClickLinkGesture(this._editor,{extractLineNumberFromMouseEvent:I=>{const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);return M?M.lineNumber:0}})),w=I=>{if(!this._editor.hasModel()||I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return null;const M=I.target.element;if(!M||M.innerText!==M.innerHTML)return null;const P=this._stickyScrollWidget.getEditorPositionFromNode(M);return P?{range:new i.Range(P.lineNumber,P.column,P.lineNumber,P.column+M.innerText.length),textElement:M}:null},E=this._stickyScrollWidget.getDomNode();this._register(c.addStandardDisposableListener(E,c.EventType.CLICK,I=>{if(I.ctrlKey||I.altKey||I.metaKey||!I.leftButton)return;if(I.shiftKey){const P=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(P===null)return;const x=new a.Position(this._endLineNumbers[P],1);this._revealLineInCenterIfOutsideViewport(x);return}let M=this._stickyScrollWidget.getEditorPositionFromNode(I.target);if(!M){const P=this._stickyScrollWidget.getLineNumberFromChildDomNode(I.target);if(P===null)return;M=new a.Position(P,1)}this._revealPosition(M)})),this._register(c.addStandardDisposableListener(E,c.EventType.MOUSE_MOVE,I=>{if(I.shiftKey){const M=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(M===null||this._showEndForLine!==null&&this._showEndForLine===M)return;this._showEndForLine=M,this._renderStickyScroll();return}this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(c.addDisposableListener(E,c.EventType.MOUSE_LEAVE,I=>{this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(b.onMouseMoveOrRelevantKeyDown(([I,M])=>{const P=w(I);if(!P||!I.hasTriggerModifier||!this._editor.hasModel()){v.clear();return}const{range:x,textElement:T}=P;if(!x.equalsRange(this._stickyRangeProjectedOnEditor))this._stickyRangeProjectedOnEditor=x,v.clear();else if(T.style.textDecoration==="underline")return;const A=new u.CancellationTokenSource;v.add((0,L.toDisposable)(()=>A.dispose(!0)));let N;(0,n.getDefinitionsAtPosition)(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new a.Position(x.startLineNumber,x.startColumn+1),A.token).then(F=>{if(!A.token.isCancellationRequested)if(F.length!==0){this._candidateDefinitionsLength=F.length;const O=T;N!==O?(v.clear(),N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"}))):N||(N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"})))}else v.clear()})})),this._register(b.onCancel(()=>{v.clear()})),this._register(b.onExecute(I=>we(this,void 0,void 0,function*(){if(I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return;const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);M&&(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:M.lineNumber,column:1})),this._instaService.invokeFunction(t.goToDefinitionWithLocation,I,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor}))})))}_onContextMenu(v){const b=new d.StandardMouseEvent(v);this._contextMenuService.showContextMenu({menuId:_.MenuId.StickyScrollContext,getAnchor:()=>b})}_readConfiguration(){const v=this._editor.getOption(113);if(v.enabled===!1){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}else v.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(w=>{w.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(w=>this._onTokensChange(w))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);this._editor.getOption(66).renderType===2&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll()}))}_needsUpdate(v){const b=this._stickyScrollWidget.getCurrentLines();for(const w of b)for(const E of v.ranges)if(w>=E.fromLineNumber&&w<=E.toLineNumber)return!0;return!1}_onTokensChange(v){this._needsUpdate(v)&&this._renderStickyScroll()}_onDidResize(){const b=this._editor.getLayoutInfo().height/this._editor.getOption(65);this._maxStickyLines=Math.round(b*.25)}_renderStickyScroll(){const v=this._editor.getModel();if(!v||v.isTooLargeForTokenization()){this._stickyScrollWidget.setState(void 0);return}const b=this._stickyLineCandidateProvider.getVersionId();if(b===void 0||b===v.getVersionId())if(this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(this._widgetState.startLineNumbers.length!==0),!this._focused)this._stickyScrollWidget.setState(this._widgetState);else if(this._focusedStickyElementIndex===-1)this._stickyScrollWidget.setState(this._widgetState),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,this._focusedStickyElementIndex!==-1&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{const w=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];this._stickyScrollWidget.setState(this._widgetState),this._stickyScrollWidget.lineNumberCount===0?this._focusedStickyElementIndex=-1:(this._stickyScrollWidget.lineNumbers.includes(w)||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}}findScrollWidgetState(){const v=this._editor.getOption(65),b=Math.min(this._maxStickyLines,this._editor.getOption(113).maxLineCount),w=this._editor.getScrollTop();let E=0;const I=[],M=[],P=this._editor.getVisibleRanges();if(P.length!==0){const x=new o.StickyRange(P[0].startLineNumber,P[P.length-1].endLineNumber),T=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(x);for(const A of T){const N=A.startLineNumber,F=A.endLineNumber,O=A.nestingDepth;if(F-N>0){const W=(O-1)*v,U=O*v,j=this._editor.getBottomForLineNumber(N)-w,R=this._editor.getTopForLineNumber(F)-w,K=this._editor.getBottomForLineNumber(F)-w;if(W>R&&W<=K){I.push(N),M.push(F+1),E=K-U;break}else U>j&&U<=K&&(I.push(N),M.push(F+1));if(I.length===b)break}}}return this._endLineNumbers=M,new y.StickyScrollWidgetState(I,M,E,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};e.StickyScrollController=p,p.ID="store.contrib.stickyScrollController",e.StickyScrollController=p=l=ke([fe(1,f.IContextMenuService),fe(2,k.ILanguageFeaturesService),fe(3,S.IInstantiationService),fe(4,h.ILanguageConfigurationService),fe(5,r.ILanguageFeatureDebounceService),fe(6,g.IContextKeyService)],p)}),define(ne[905],se([1,0,16,699,741,30,28,15,21,375]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEditor=e.GoToStickyScrollLine=e.SelectPreviousStickyScrollLine=e.SelectNextStickyScrollLine=e.FocusStickyScroll=e.ToggleStickyScroll=void 0;class C extends D.Action2{constructor(){super({id:"editor.action.toggleStickyScroll",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Toggle Sticky Scroll"},category:y.Categories.View,toggled:{condition:f.ContextKeyExpr.equals("config.editor.stickyScroll.enabled",!0),title:(0,k.localize)(2,null),mnemonicTitle:(0,k.localize)(3,null)},menu:[{id:D.MenuId.CommandPalette},{id:D.MenuId.MenubarAppearanceMenu,group:"4_editor",order:3},{id:D.MenuId.StickyScrollContext}]})}run(r){return we(this,void 0,void 0,function*(){const c=r.get(S.IConfigurationService),o=!c.getValue("editor.stickyScroll.enabled");return c.updateValue("editor.stickyScroll.enabled",o)})}}e.ToggleStickyScroll=C;const s=100;class i extends L.EditorAction2{constructor(){super({id:"editor.action.focusStickyScroll",title:{value:(0,k.localize)(4,null),mnemonicTitle:(0,k.localize)(5,null),original:"Focus Sticky Scroll"},precondition:f.ContextKeyExpr.and(f.ContextKeyExpr.has("config.editor.stickyScroll.enabled"),_.EditorContextKeys.stickyScrollVisible),menu:[{id:D.MenuId.CommandPalette}]})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focus()}}e.FocusStickyScroll=i;class n extends L.EditorAction2{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:{value:(0,k.localize)(6,null),original:"Select next sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:18}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusNext()}}e.SelectNextStickyScrollLine=n;class t extends L.EditorAction2{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:{value:(0,k.localize)(7,null),original:"Select previous sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:16}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusPrevious()}}e.SelectPreviousStickyScrollLine=t;class a extends L.EditorAction2{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:{value:(0,k.localize)(8,null),original:"Go to focused sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:3}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.goToFocused()}}e.GoToStickyScrollLine=a;class u extends L.EditorAction2{constructor(){super({id:"editor.action.selectEditor",title:{value:(0,k.localize)(9,null),original:"Select Editor"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:9}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.selectEditor()}}e.SelectEditor=u}),define(ne[906],se([1,0,16,905,375,30]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.StickyScrollController.ID,y.StickyScrollController,1),(0,D.registerAction2)(k.ToggleStickyScroll),(0,D.registerAction2)(k.FocusStickyScroll),(0,D.registerAction2)(k.SelectPreviousStickyScrollLine),(0,D.registerAction2)(k.SelectNextStickyScrollLine),(0,D.registerAction2)(k.GoToStickyScrollLine),(0,D.registerAction2)(k.SelectEditor)}),define(ne[907],se([1,0,16,33,370,28,15,8,43,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneReferencesController=void 0;let C=class extends y.ReferencesController{constructor(i,n,t,a,u,h,r){super(!0,i,n,t,a,u,h,r)}};e.StandaloneReferencesController=C,e.StandaloneReferencesController=C=ke([fe(1,S.IContextKeyService),fe(2,k.ICodeEditorService),fe(3,_.INotificationService),fe(4,f.IInstantiationService),fe(5,g.IStorageService),fe(6,D.IConfigurationService)],C),(0,L.registerEditorContribution)(y.ReferencesController.ID,C,4)}),define(ne[908],se([1,0,9,2,54,101,738,156,50,43,192]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoService=void 0;const s=!1;function i(p){return p.scheme===y.Schemas.file?p.fsPath:p.path}let n=0;class t{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=0,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabel=v,this.strResource=b,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.isValid=!0}setValid(m){this.isValid=m}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class a{constructor(m,v){this.resourceLabel=m,this.reason=v}}class u{constructor(){this.elements=new Map}createMessage(){const m=[],v=[];for(const[,w]of this.elements)(w.reason===0?m:v).push(w.resourceLabel);const b=[];return m.length>0&&b.push(S.localize(0,null,m.join(", "))),v.length>0&&b.push(S.localize(1,null,v.join(", "))),b.join(` -`)}get size(){return this.elements.size}has(m){return this.elements.has(m)}set(m,v){this.elements.set(m,v)}delete(m){return this.elements.delete(m)}}class h{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=1,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabels=v,this.strResources=b,this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(m,v,b){this.removedResources||(this.removedResources=new u),this.removedResources.has(v)||this.removedResources.set(v,new a(m,b))}setValid(m,v,b){b?this.invalidatedResources&&(this.invalidatedResources.delete(v),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new u),this.invalidatedResources.has(v)||this.invalidatedResources.set(v,new a(m,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class r{constructor(m,v){this.resourceLabel=m,this.strResource=v,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const m of this._past)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);for(const m of this._future)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const m=[];m.push(`* ${this.strResource}:`);for(let v=0;v=0;v--)m.push(` * [REDO] ${this._future[v]}`);return m.join(` -`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(m,v){m.type===1?m.setValid(this.resourceLabel,this.strResource,v):m.setValid(v)}setElementsValidFlag(m,v){for(const b of this._past)v(b.actual)&&this._setElementValidFlag(b,m);for(const b of this._future)v(b.actual)&&this._setElementValidFlag(b,m)}pushElement(m){for(const v of this._future)v.type===1&&v.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(m),this.versionId++}createSnapshot(m){const v=[];for(let b=0,w=this._past.length;b=0;b--)v.push(this._future[b].id);return new C.ResourceEditStackSnapshot(m,v)}restoreSnapshot(m){const v=m.elements.length;let b=!0,w=0,E=-1;for(let M=0,P=this._past.length;M=v||x.id!==m.elements[w])&&(b=!1,E=0),!b&&x.type===1&&x.removeResource(this.resourceLabel,this.strResource,0)}let I=-1;for(let M=this._future.length-1;M>=0;M--,w++){const P=this._future[M];b&&(w>=v||P.id!==m.elements[w])&&(b=!1,I=M),!b&&P.type===1&&P.removeResource(this.resourceLabel,this.strResource,0)}E!==-1&&(this._past=this._past.slice(0,E)),I!==-1&&(this._future=this._future.slice(I+1)),this.versionId++}getElements(){const m=[],v=[];for(const b of this._past)m.push(b.actual);for(const b of this._future)v.push(b.actual);return{past:m,future:v}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(m,v){for(let b=this._past.length-1;b>=0;b--)if(this._past[b]===m){v.has(this.strResource)?this._past[b]=v.get(this.strResource):this._past.splice(b,1);break}this.versionId++}splitFutureWorkspaceElement(m,v){for(let b=this._future.length-1;b>=0;b--)if(this._future[b]===m){v.has(this.strResource)?this._future[b]=v.get(this.strResource):this._future.splice(b,1);break}this.versionId++}moveBackward(m){this._past.pop(),this._future.push(m),this.versionId++}moveForward(m){this._future.pop(),this._past.push(m),this.versionId++}}class c{constructor(m){this.editStacks=m,this._versionIds=[];for(let v=0,b=this.editStacks.length;vv.sourceOrder)&&(v=I,b=w)}return[v,b]}canUndo(m){if(m instanceof C.UndoRedoSource){const[,b]=this._findClosestUndoElementWithSource(m.id);return!!b}const v=this.getUriComparisonKey(m);return this._editStacks.has(v)?this._editStacks.get(v).hasPastElements():!1}_onError(m,v){(0,L.onUnexpectedError)(m);for(const b of v.strResources)this.removeElements(b);this._notificationService.error(m)}_acquireLocks(m){for(const v of m.editStacks)if(v.locked)throw new Error("Cannot acquire edit stack lock");for(const v of m.editStacks)v.locked=!0;return()=>{for(const v of m.editStacks)v.locked=!1}}_safeInvokeWithLocks(m,v,b,w,E){const I=this._acquireLocks(b);let M;try{M=v()}catch(P){return I(),w.dispose(),this._onError(P,m)}return M?M.then(()=>(I(),w.dispose(),E()),P=>(I(),w.dispose(),this._onError(P,m))):(I(),w.dispose(),E())}_invokeWorkspacePrepare(m){return we(this,void 0,void 0,function*(){if(typeof m.actual.prepareUndoRedo>"u")return k.Disposable.None;const v=m.actual.prepareUndoRedo();return typeof v>"u"?k.Disposable.None:v})}_invokeResourcePrepare(m,v){if(m.actual.type!==1||typeof m.actual.prepareUndoRedo>"u")return v(k.Disposable.None);const b=m.actual.prepareUndoRedo();return b?(0,k.isDisposable)(b)?v(b):b.then(w=>v(w)):v(k.Disposable.None)}_getAffectedEditStacks(m){const v=[];for(const b of m.strResources)v.push(this._editStacks.get(b)||o);return new c(v)}_tryToSplitAndUndo(m,v,b,w){if(v.canSplit())return this._splitPastWorkspaceElement(v,b),this._notificationService.warn(w),new l(this._undo(m,0,!0));for(const E of v.strResources)this.removeElements(E);return this._notificationService.warn(w),new l}_checkWorkspaceUndo(m,v,b,w){if(v.removedResources)return this._tryToSplitAndUndo(m,v,v.removedResources,S.localize(2,null,v.label,v.removedResources.createMessage()));if(w&&v.invalidatedResources)return this._tryToSplitAndUndo(m,v,v.invalidatedResources,S.localize(3,null,v.label,v.invalidatedResources.createMessage()));const E=[];for(const M of b.editStacks)M.getClosestPastElement()!==v&&E.push(M.resourceLabel);if(E.length>0)return this._tryToSplitAndUndo(m,v,null,S.localize(4,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndUndo(m,v,null,S.localize(5,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndUndo(m,v,null,S.localize(6,null,v.label))}_workspaceUndo(m,v,b){const w=this._getAffectedEditStacks(v),E=this._checkWorkspaceUndo(m,v,w,!1);return E?E.returnValue:this._confirmAndExecuteWorkspaceUndo(m,v,w,b)}_isPartOfUndoGroup(m){if(!m.groupId)return!1;for(const[,v]of this._editStacks){const b=v.getClosestPastElement();if(b){if(b===m){const w=v.getSecondClosestPastElement();if(w&&w.groupId===m.groupId)return!0}if(b.groupId===m.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(m,v,b,w){return we(this,void 0,void 0,function*(){if(v.canSplit()&&!this._isPartOfUndoGroup(v)){let M;(function(T){T[T.All=0]="All",T[T.This=1]="This",T[T.Cancel=2]="Cancel"})(M||(M={}));const{result:P}=yield this._dialogService.prompt({type:D.default.Info,message:S.localize(7,null,v.label),buttons:[{label:S.localize(8,null,b.editStacks.length),run:()=>M.All},{label:S.localize(9,null),run:()=>M.This}],cancelButton:{run:()=>M.Cancel}});if(P===M.Cancel)return;if(P===M.This)return this._splitPastWorkspaceElement(v,null),this._undo(m,0,!0);const x=this._checkWorkspaceUndo(m,v,b,!1);if(x)return x.returnValue;w=!0}let E;try{E=yield this._invokeWorkspacePrepare(v)}catch(M){return this._onError(M,v)}const I=this._checkWorkspaceUndo(m,v,b,!0);if(I)return E.dispose(),I.returnValue;for(const M of b.editStacks)M.moveBackward(v);return this._safeInvokeWithLocks(v,()=>v.actual.undo(),b,E,()=>this._continueUndoInGroup(v.groupId,w))})}_resourceUndo(m,v,b){if(!v.isValid){m.flushAllElements();return}if(m.locked){const w=S.localize(10,null,v.label);this._notificationService.warn(w);return}return this._invokeResourcePrepare(v,w=>(m.moveBackward(v),this._safeInvokeWithLocks(v,()=>v.actual.undo(),new c([m]),w,()=>this._continueUndoInGroup(v.groupId,b))))}_findClosestUndoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestPastElement();I&&I.groupId===m&&(!v||I.groupOrder>v.groupOrder)&&(v=I,b=w)}return[v,b]}_continueUndoInGroup(m,v){if(!m)return;const[,b]=this._findClosestUndoElementInGroup(m);if(b)return this._undo(b,0,v)}undo(m){if(m instanceof C.UndoRedoSource){const[,v]=this._findClosestUndoElementWithSource(m.id);return v?this._undo(v,m.id,!1):void 0}return typeof m=="string"?this._undo(m,0,!1):this._undo(this.getUriComparisonKey(m),0,!1)}_undo(m,v=0,b){if(!this._editStacks.has(m))return;const w=this._editStacks.get(m),E=w.getClosestPastElement();if(!E)return;if(E.groupId){const[M,P]=this._findClosestUndoElementInGroup(E.groupId);if(E!==M&&P)return this._undo(P,v,b)}if((E.sourceId!==v||E.confirmBeforeUndo)&&!b)return this._confirmAndContinueUndo(m,v,E);try{return E.type===1?this._workspaceUndo(m,E,b):this._resourceUndo(w,E,b)}finally{s&&this._print("undo")}}_confirmAndContinueUndo(m,v,b){return we(this,void 0,void 0,function*(){if((yield this._dialogService.confirm({message:S.localize(11,null,b.label),primaryButton:S.localize(12,null),cancelButton:S.localize(13,null)})).confirmed)return this._undo(m,v,!0)})}_findClosestRedoElementWithSource(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.sourceId===m&&(!v||I.sourceOrder0)return this._tryToSplitAndRedo(m,v,null,S.localize(16,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndRedo(m,v,null,S.localize(17,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndRedo(m,v,null,S.localize(18,null,v.label))}_workspaceRedo(m,v){const b=this._getAffectedEditStacks(v),w=this._checkWorkspaceRedo(m,v,b,!1);return w?w.returnValue:this._executeWorkspaceRedo(m,v,b)}_executeWorkspaceRedo(m,v,b){return we(this,void 0,void 0,function*(){let w;try{w=yield this._invokeWorkspacePrepare(v)}catch(I){return this._onError(I,v)}const E=this._checkWorkspaceRedo(m,v,b,!0);if(E)return w.dispose(),E.returnValue;for(const I of b.editStacks)I.moveForward(v);return this._safeInvokeWithLocks(v,()=>v.actual.redo(),b,w,()=>this._continueRedoInGroup(v.groupId))})}_resourceRedo(m,v){if(!v.isValid){m.flushAllElements();return}if(m.locked){const b=S.localize(19,null,v.label);this._notificationService.warn(b);return}return this._invokeResourcePrepare(v,b=>(m.moveForward(v),this._safeInvokeWithLocks(v,()=>v.actual.redo(),new c([m]),b,()=>this._continueRedoInGroup(v.groupId))))}_findClosestRedoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.groupId===m&&(!v||I.groupOrder"u")return typeof t=="string"?{id:(0,k.basename)(t)}:a?e.EXTENSION_DEVELOPMENT_EMPTY_WINDOW_WORKSPACE:e.UNKNOWN_EMPTY_WINDOW_WORKSPACE;const u=t;return u.configuration?{id:u.id,configPath:u.configuration}:u.folders.length===1?{id:u.id,uri:u.folders[0].uri}:{id:u.id}}e.toWorkspaceIdentifier=g;function C(t){const a=t;return typeof a?.id=="string"&&D.URI.isUri(a.configPath)}e.isWorkspaceIdentifier=C;class s{constructor(a,u,h,r,c){this._id=a,this._transient=h,this._configuration=r,this._ignorePathCasing=c,this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0),this.folders=u}get folders(){return this._folders}set folders(a){this._folders=a,this.updateFoldersMap()}get id(){return this._id}get transient(){return this._transient}get configuration(){return this._configuration}set configuration(a){this._configuration=a}getFolder(a){return a&&this._foldersMap.findSubstr(a)||null}updateFoldersMap(){this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0);for(const a of this.folders)this._foldersMap.set(a.uri,a)}toJSON(){return{id:this.id,folders:this.folders,transient:this.transient,configuration:this.configuration}}}e.Workspace=s;class i{constructor(a,u){this.raw=u,this.uri=a.uri,this.index=a.index,this.name=a.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}e.WorkspaceFolder=i,e.WORKSPACE_EXTENSION="code-workspace",e.WORKSPACE_FILTER=[{name:(0,L.localize)(0,null),extensions:[e.WORKSPACE_EXTENSION]}],e.STANDALONE_EDITOR_WORKSPACE_ID="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function n(t){return t.id===e.STANDALONE_EDITOR_WORKSPACE_ID}e.isStandaloneEditorWorkspace=n}),define(ne[909],se([1,0,7,131,39,2,17,16,21,647,30,15,57,34,28,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuController=void 0;let h=u=class{static get(o){return o.getContribution(u.ID)}constructor(o,d,l,p,m,v,b,w){this._contextMenuService=d,this._contextViewService=l,this._contextKeyService=p,this._keybindingService=m,this._menuService=v,this._configurationService=b,this._workspaceContextService=w,this._toDispose=new D.DisposableStore,this._contextMenuIsBeingShownCount=0,this._editor=o,this._toDispose.add(this._editor.onContextMenu(E=>this._onContextMenu(E))),this._toDispose.add(this._editor.onMouseWheel(E=>{if(this._contextMenuIsBeingShownCount>0){const I=this._contextViewService.getContextViewElement(),M=E.srcElement;M.shadowRoot&&L.getShadowRoot(I)===M.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(E=>{this._editor.getOption(23)&&E.keyCode===58&&(E.preventDefault(),E.stopPropagation(),this.showContextMenu())}))}_onContextMenu(o){if(!this._editor.hasModel())return;if(!this._editor.getOption(23)){this._editor.focus(),o.target.position&&!this._editor.getSelection().containsPosition(o.target.position)&&this._editor.setPosition(o.target.position);return}if(o.target.type===12||o.target.type===6&&o.target.detail.injectedText)return;if(o.event.preventDefault(),o.event.stopPropagation(),o.target.type===11)return this._showScrollbarContextMenu(o.event);if(o.target.type!==6&&o.target.type!==7&&o.target.type!==1)return;if(this._editor.focus(),o.target.position){let l=!1;for(const p of this._editor.getSelections())if(p.containsPosition(o.target.position)){l=!0;break}l||this._editor.setPosition(o.target.position)}let d=null;o.target.type!==1&&(d=o.event),this.showContextMenu(d)}showContextMenu(o){if(!this._editor.getOption(23)||!this._editor.hasModel())return;const d=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?C.MenuId.SimpleEditorContext:C.MenuId.EditorContext);d.length>0&&this._doShowContextMenu(d,o)}_getMenuActions(o,d){const l=[],p=this._menuService.createMenu(d,this._contextKeyService),m=p.getActions({arg:o.uri});p.dispose();for(const v of m){const[,b]=v;let w=0;for(const E of b)if(E instanceof C.SubmenuItemAction){const I=this._getMenuActions(o,E.item.submenu);I.length>0&&(l.push(new y.SubmenuAction(E.id,E.label,I)),w++)}else l.push(E),w++;w&&l.push(new y.Separator)}return l.length&&l.pop(),l}_doShowContextMenu(o,d=null){if(!this._editor.hasModel())return;const l=this._editor.getOption(59);this._editor.updateOptions({hover:{enabled:!1}});let p=d;if(!p){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const v=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),b=L.getDomNodePagePosition(this._editor.getDomNode()),w=b.left+v.left,E=b.top+v.top+v.height;p={x:w,y:E}}const m=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:m?this._editor.getDomNode():void 0,getAnchor:()=>p,getActions:()=>o,getActionViewItem:v=>{const b=this._keybindingFor(v);if(b)return new k.ActionViewItem(v,v,{label:!0,keybinding:b.getLabel(),isMenu:!0});const w=v;return typeof w.getActionViewItem=="function"?w.getActionViewItem():new k.ActionViewItem(v,v,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:v=>this._keybindingFor(v),onHide:v=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:l})}})}_showScrollbarContextMenu(o){if(!this._editor.hasModel()||(0,a.isStandaloneEditorWorkspace)(this._workspaceContextService.getWorkspace()))return;const d=this._editor.getOption(71);let l=0;const p=E=>({id:`menu-action-${++l}`,label:E.label,tooltip:"",class:void 0,enabled:typeof E.enabled>"u"?!0:E.enabled,checked:E.checked,run:E.run}),m=(E,I)=>new y.SubmenuAction(`menu-action-${++l}`,E,I,void 0),v=(E,I,M,P,x)=>{if(!I)return p({label:E,enabled:I,run:()=>{}});const T=N=>()=>{this._configurationService.updateValue(M,N)},A=[];for(const N of x)A.push(p({label:N.label,checked:P===N.value,run:T(N.value)}));return m(E,A)},b=[];b.push(p({label:g.localize(0,null),checked:d.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!d.enabled)}})),b.push(new y.Separator),b.push(p({label:g.localize(1,null),enabled:d.enabled,checked:d.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!d.renderCharacters)}})),b.push(v(g.localize(2,null),d.enabled,"editor.minimap.size",d.size,[{label:g.localize(3,null),value:"proportional"},{label:g.localize(4,null),value:"fill"},{label:g.localize(5,null),value:"fit"}])),b.push(v(g.localize(6,null),d.enabled,"editor.minimap.showSlider",d.showSlider,[{label:g.localize(7,null),value:"mouseover"},{label:g.localize(8,null),value:"always"}]));const w=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:w?this._editor.getDomNode():void 0,getAnchor:()=>o,getActions:()=>b,onHide:E=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(o){return this._keybindingService.lookupKeybinding(o.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};e.ContextMenuController=h,h.ID="editor.contrib.contextmenu",e.ContextMenuController=h=u=ke([fe(1,i.IContextMenuService),fe(2,i.IContextViewService),fe(3,s.IContextKeyService),fe(4,n.IKeybindingService),fe(5,C.IMenuService),fe(6,t.IConfigurationService),fe(7,a.IWorkspaceContextService)],h);class r extends f.EditorAction{constructor(){super({id:"editor.action.showContextMenu",label:g.localize(9,null),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.textInputFocus,primary:1092,weight:100}})}run(o,d){var l;(l=h.get(d))===null||l===void 0||l.showContextMenu()}}(0,f.registerEditorContribution)(h.ID,h,2),(0,f.registerEditorAction)(r)}),define(ne[376],se([1,0,14,171,2,107,54,45,22,18,651,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultPasteProvidersFeature=e.DefaultDropProvidersFeature=void 0;const i=(0,C.localize)(0,null);class n{provideDocumentPasteEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,detail:v.detail,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}provideDocumentOnDropEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}}class t extends n{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[D.Mimes.text],this.pasteMimeTypes=[D.Mimes.text]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=d.get(D.Mimes.text);if(!p||d.has(D.Mimes.uriList))return;const m=yield p.asString();return{handledMimeType:D.Mimes.text,label:(0,C.localize)(1,null),detail:i,insertText:m}})}}class a extends n{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;let m=0;const v=p.map(({uri:w,originalText:E})=>w.scheme===S.Schemas.file?w.fsPath:(m++,E)).join(" ");let b;return m>0?b=p.length>1?(0,C.localize)(2,null):(0,C.localize)(3,null):b=p.length>1?(0,C.localize)(4,null):(0,C.localize)(5,null),{handledMimeType:D.Mimes.uriList,insertText:v,label:b,detail:i}})}}let u=class extends n{constructor(d){super(),this._workspaceContextService=d,this.id="relativePath",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;const m=(0,L.coalesce)(p.map(({uri:v})=>{const b=this._workspaceContextService.getWorkspaceFolder(v);return b?(0,f.relativePath)(b.uri,v):void 0}));if(m.length)return{handledMimeType:D.Mimes.uriList,insertText:m.join(" "),label:p.length>1?(0,C.localize)(6,null):(0,C.localize)(7,null),detail:i}})}};u=ke([fe(0,s.IWorkspaceContextService)],u);function h(o){return we(this,void 0,void 0,function*(){const d=o.get(D.Mimes.uriList);if(!d)return[];const l=yield d.asString(),p=[];for(const m of k.UriList.parse(l))try{p.push({uri:_.URI.parse(m),originalText:m})}catch{}return p})}let r=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentOnDropEditProvider.register("*",new t)),this._register(d.documentOnDropEditProvider.register("*",new a)),this._register(d.documentOnDropEditProvider.register("*",new u(l)))}};e.DefaultDropProvidersFeature=r,e.DefaultDropProvidersFeature=r=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],r);let c=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentPasteEditProvider.register("*",new t)),this._register(d.documentPasteEditProvider.register("*",new a)),this._register(d.documentPasteEditProvider.register("*",new u(l)))}};e.DefaultPasteProvidersFeature=c,e.DefaultPasteProvidersFeature=c=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],c)}),define(ne[910],se([1,0,16,149,888,376,649]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.CopyPasteController.ID,y.CopyPasteController,0),(0,k.registerEditorFeature)(D.DefaultPasteProvidersFeature),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:y.changePasteTypeCommandId,precondition:y.pasteWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(f,_,g){var C;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.changePasteType()}}),(0,L.registerEditorAction)(class extends L.EditorAction{constructor(){super({id:"editor.action.pasteAs",label:S.localize(0,null),alias:"Paste As...",precondition:void 0,description:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:S.localize(1,null)}}}}]}})}run(f,_,g){var C;const s=typeof g?.id=="string"?g.id:void 0;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.pasteAs(s)}})}),define(ne[911],se([1,0,16,241,149,376,652,98,37,889]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(g.DropIntoEditorController.ID,g.DropIntoEditorController,2),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:g.changeDropTypeCommandId,precondition:g.dropWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(C,s,i){var n;(n=g.DropIntoEditorController.get(s))===null||n===void 0||n.changeDropType()}}),(0,y.registerEditorFeature)(D.DefaultDropProvidersFeature),_.Registry.as(f.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{[g.defaultProviderConfig]:{type:"object",scope:5,description:S.localize(0,null),default:{},additionalProperties:{type:"string"}}}}))}),define(ne[912],se([1,0,571,92,45,11,170,32,128,698,163]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RandomBasedVariableResolver=e.WorkspaceBasedVariableResolver=e.TimeBasedVariableResolver=e.CommentBasedVariableResolver=e.ClipboardBasedVariableResolver=e.ModelBasedVariableResolver=e.SelectionBasedVariableResolver=e.CompositeSnippetVariableResolver=e.KnownSnippetVariableNames=void 0,e.KnownSnippetVariableNames=Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,CURRENT_TIMEZONE_OFFSET:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class s{constructor(o){this._delegates=o}resolve(o){for(const d of this._delegates){const l=d.resolve(o);if(l!==void 0)return l}}}e.CompositeSnippetVariableResolver=s;class i{constructor(o,d,l,p){this._model=o,this._selection=d,this._selectionIdx=l,this._overtypingCapturer=p}resolve(o){const{name:d}=o;if(d==="SELECTION"||d==="TM_SELECTED_TEXT"){let l=this._model.getValueInRange(this._selection)||void 0,p=this._selection.startLineNumber!==this._selection.endLineNumber;if(!l&&this._overtypingCapturer){const m=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);m&&(l=m.value,p=m.multiline)}if(l&&p&&o.snippet){const m=this._model.getLineContent(this._selection.startLineNumber),v=(0,D.getLeadingWhitespace)(m,0,this._selection.startColumn-1);let b=v;o.snippet.walk(E=>E===o?!1:(E instanceof _.Text&&(b=(0,D.getLeadingWhitespace)((0,D.splitLines)(E.value).pop())),!0));const w=(0,D.commonPrefixLength)(b,v);l=l.replace(/(\r\n|\r|\n)(.*)/g,(E,I,M)=>`${I}${b.substr(w)}${M}`)}return l}else{if(d==="TM_CURRENT_LINE")return this._model.getLineContent(this._selection.positionLineNumber);if(d==="TM_CURRENT_WORD"){const l=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return l&&l.word||void 0}else{if(d==="TM_LINE_INDEX")return String(this._selection.positionLineNumber-1);if(d==="TM_LINE_NUMBER")return String(this._selection.positionLineNumber);if(d==="CURSOR_INDEX")return String(this._selectionIdx);if(d==="CURSOR_NUMBER")return String(this._selectionIdx+1)}}}}e.SelectionBasedVariableResolver=i;class n{constructor(o,d){this._labelService=o,this._model=d}resolve(o){const{name:d}=o;if(d==="TM_FILENAME")return k.basename(this._model.uri.fsPath);if(d==="TM_FILENAME_BASE"){const l=k.basename(this._model.uri.fsPath),p=l.lastIndexOf(".");return p<=0?l:l.slice(0,p)}else{if(d==="TM_DIRECTORY")return k.dirname(this._model.uri.fsPath)==="."?"":this._labelService.getUriLabel((0,y.dirname)(this._model.uri));if(d==="TM_FILEPATH")return this._labelService.getUriLabel(this._model.uri);if(d==="RELATIVE_FILEPATH")return this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0})}}}e.ModelBasedVariableResolver=n;class t{constructor(o,d,l,p){this._readClipboardText=o,this._selectionIdx=d,this._selectionCount=l,this._spread=p}resolve(o){if(o.name!=="CLIPBOARD")return;const d=this._readClipboardText();if(d){if(this._spread){const l=d.split(/\r\n|\n|\r/).filter(p=>!(0,D.isFalsyOrWhitespace)(p));if(l.length===this._selectionCount)return l[this._selectionIdx]}return d}}}e.ClipboardBasedVariableResolver=t;let a=class{constructor(o,d,l){this._model=o,this._selection=d,this._languageConfigurationService=l}resolve(o){const{name:d}=o,l=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),p=this._languageConfigurationService.getLanguageConfiguration(l).comments;if(p){if(d==="LINE_COMMENT")return p.lineCommentToken||void 0;if(d==="BLOCK_COMMENT_START")return p.blockCommentStartToken||void 0;if(d==="BLOCK_COMMENT_END")return p.blockCommentEndToken||void 0}}};e.CommentBasedVariableResolver=a,e.CommentBasedVariableResolver=a=ke([fe(2,f.ILanguageConfigurationService)],a);class u{constructor(){this._date=new Date}resolve(o){const{name:d}=o;if(d==="CURRENT_YEAR")return String(this._date.getFullYear());if(d==="CURRENT_YEAR_SHORT")return String(this._date.getFullYear()).slice(-2);if(d==="CURRENT_MONTH")return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if(d==="CURRENT_DATE")return String(this._date.getDate().valueOf()).padStart(2,"0");if(d==="CURRENT_HOUR")return String(this._date.getHours().valueOf()).padStart(2,"0");if(d==="CURRENT_MINUTE")return String(this._date.getMinutes().valueOf()).padStart(2,"0");if(d==="CURRENT_SECOND")return String(this._date.getSeconds().valueOf()).padStart(2,"0");if(d==="CURRENT_DAY_NAME")return u.dayNames[this._date.getDay()];if(d==="CURRENT_DAY_NAME_SHORT")return u.dayNamesShort[this._date.getDay()];if(d==="CURRENT_MONTH_NAME")return u.monthNames[this._date.getMonth()];if(d==="CURRENT_MONTH_NAME_SHORT")return u.monthNamesShort[this._date.getMonth()];if(d==="CURRENT_SECONDS_UNIX")return String(Math.floor(this._date.getTime()/1e3));if(d==="CURRENT_TIMEZONE_OFFSET"){const l=this._date.getTimezoneOffset(),p=l>0?"-":"+",m=Math.trunc(Math.abs(l/60)),v=m<10?"0"+m:m,b=Math.abs(l)-m*60,w=b<10?"0"+b:b;return p+v+":"+w}}}e.TimeBasedVariableResolver=u,u.dayNames=[g.localize(0,null),g.localize(1,null),g.localize(2,null),g.localize(3,null),g.localize(4,null),g.localize(5,null),g.localize(6,null)],u.dayNamesShort=[g.localize(7,null),g.localize(8,null),g.localize(9,null),g.localize(10,null),g.localize(11,null),g.localize(12,null),g.localize(13,null)],u.monthNames=[g.localize(14,null),g.localize(15,null),g.localize(16,null),g.localize(17,null),g.localize(18,null),g.localize(19,null),g.localize(20,null),g.localize(21,null),g.localize(22,null),g.localize(23,null),g.localize(24,null),g.localize(25,null)],u.monthNamesShort=[g.localize(26,null),g.localize(27,null),g.localize(28,null),g.localize(29,null),g.localize(30,null),g.localize(31,null),g.localize(32,null),g.localize(33,null),g.localize(34,null),g.localize(35,null),g.localize(36,null),g.localize(37,null)];class h{constructor(o){this._workspaceService=o}resolve(o){if(!this._workspaceService)return;const d=(0,C.toWorkspaceIdentifier)(this._workspaceService.getWorkspace());if(!(0,C.isEmptyWorkspaceIdentifier)(d)){if(o.name==="WORKSPACE_NAME")return this._resolveWorkspaceName(d);if(o.name==="WORKSPACE_FOLDER")return this._resoveWorkspacePath(d)}}_resolveWorkspaceName(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return k.basename(o.uri.path);let d=k.basename(o.configPath.path);return d.endsWith(C.WORKSPACE_EXTENSION)&&(d=d.substr(0,d.length-C.WORKSPACE_EXTENSION.length-1)),d}_resoveWorkspacePath(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return(0,L.normalizeDriveLetter)(o.uri.fsPath);const d=k.basename(o.configPath.path);let l=o.configPath.fsPath;return l.endsWith(d)&&(l=l.substr(0,l.length-d.length-1)),l?(0,L.normalizeDriveLetter)(l):"/"}}e.WorkspaceBasedVariableResolver=h;class r{resolve(o){const{name:d}=o;if(d==="RANDOM")return Math.random().toString().slice(-6);if(d==="RANDOM_HEX")return Math.random().toString(16).slice(-6);if(d==="UUID")return(0,S.generateUuid)()}}e.RandomBasedVariableResolver=r}),define(ne[377],se([1,0,14,2,11,73,5,24,32,40,158,163,128,912,460]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetSession=e.OneSnippet=void 0;class a{constructor(c,o,d){this._editor=c,this._snippet=o,this._snippetLineLeadingWhitespace=d,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,L.groupBy)(o.placeholders,i.Placeholder.compareByIndex),this._placeholderGroupsIdx=-1}initialize(c){this._offset=c.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(this._offset===-1)throw new Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const c=this._editor.getModel();this._editor.changeDecorations(o=>{for(const d of this._snippet.placeholders){const l=this._snippet.offset(d),p=this._snippet.fullLen(d),m=S.Range.fromPositions(c.getPositionAt(this._offset+l),c.getPositionAt(this._offset+l+p)),v=d.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive,b=o.addDecoration(m,v);this._placeholderDecorations.set(d,b)}})}move(c){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){const l=[];for(const p of this._placeholderGroups[this._placeholderGroupsIdx])if(p.transform){const m=this._placeholderDecorations.get(p),v=this._editor.getModel().getDecorationRange(m),b=this._editor.getModel().getValueInRange(v),w=p.transform.resolve(b).split(/\r\n|\r|\n/);for(let E=1;E0&&this._editor.executeEdits("snippet.placeholderTransform",l)}let o=!1;c===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,o=!0);const d=this._editor.getModel().changeDecorations(l=>{const p=new Set,m=[];for(const v of this._placeholderGroups[this._placeholderGroupsIdx]){const b=this._placeholderDecorations.get(v),w=this._editor.getModel().getDecorationRange(b);m.push(new f.Selection(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn)),o=o&&this._hasPlaceholderBeenCollapsed(v),l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(v);for(const E of this._snippet.enclosingPlaceholders(v)){const I=this._placeholderDecorations.get(E);l.changeDecorationOptions(I,E.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(E)}}for(const[v,b]of this._placeholderDecorations)p.has(v)||l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive);return m});return o?this.move(c):d??[]}_hasPlaceholderBeenCollapsed(c){let o=c;for(;o;){if(o instanceof i.Placeholder){const d=this._placeholderDecorations.get(o);if(this._editor.getModel().getDecorationRange(d).isEmpty()&&o.toString().length>0)return!0}o=o.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(this._snippet.placeholders.length===0)return!0;if(this._snippet.placeholders.length===1){const[c]=this._snippet.placeholders;if(c.isFinalTabstop&&this._snippet.rightMostDescendant===c)return!0}return!1}computePossibleSelections(){const c=new Map;for(const o of this._placeholderGroups){let d;for(const l of o){if(l.isFinalTabstop)break;d||(d=[],c.set(l.index,d));const p=this._placeholderDecorations.get(l),m=this._editor.getModel().getDecorationRange(p);if(!m){c.delete(l.index);break}d.push(m)}}return c}get activeChoice(){if(!this._placeholderDecorations)return;const c=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!c?.choice)return;const o=this._placeholderDecorations.get(c);if(!o)return;const d=this._editor.getModel().getDecorationRange(o);if(d)return{range:d,choice:c.choice}}get hasChoice(){let c=!1;return this._snippet.walk(o=>(c=o instanceof i.Choice,!c)),c}merge(c){const o=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(d=>{for(const l of this._placeholderGroups[this._placeholderGroupsIdx]){const p=c.shift();console.assert(p._offset!==-1),console.assert(!p._placeholderDecorations);const m=p._snippet.placeholderInfo.last.index;for(const b of p._snippet.placeholderInfo.all)b.isFinalTabstop?b.index=l.index+(m+1)/this._nestingLevel:b.index=l.index+b.index/this._nestingLevel;this._snippet.replace(l,p._snippet.children);const v=this._placeholderDecorations.get(l);d.removeDecoration(v),this._placeholderDecorations.delete(l);for(const b of p._snippet.placeholders){const w=p._snippet.offset(b),E=p._snippet.fullLen(b),I=S.Range.fromPositions(o.getPositionAt(p._offset+w),o.getPositionAt(p._offset+w+E)),M=d.addDecoration(I,a._decor.inactive);this._placeholderDecorations.set(b,M)}}this._placeholderGroups=(0,L.groupBy)(this._snippet.placeholders,i.Placeholder.compareByIndex)})}}e.OneSnippet=a,a._decor={active:g.ModelDecorationOptions.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:g.ModelDecorationOptions.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const u={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let h=t=class{static adjustWhitespace(c,o,d,l,p){const m=c.getLineContent(o.lineNumber),v=(0,y.getLeadingWhitespace)(m,0,o.column-1);let b;return l.walk(w=>{if(!(w instanceof i.Text)||w.parent instanceof i.Choice||p&&!p.has(w))return!0;const E=w.value.split(/\r\n|\r|\n/);if(d){const M=l.offset(w);if(M===0)E[0]=c.normalizeIndentation(E[0]);else{b=b??l.toString();const P=b.charCodeAt(M-1);(P===10||P===13)&&(E[0]=c.normalizeIndentation(v+E[0]))}for(let P=1;PW.get(s.IWorkspaceContextService)),x=c.invokeWithinContext(W=>new n.ModelBasedVariableResolver(W.get(C.ILabelService),M)),T=()=>v,A=M.getValueInRange(t.adjustSelection(M,c.getSelection(),d,0)),N=M.getValueInRange(t.adjustSelection(M,c.getSelection(),0,l)),F=M.getLineFirstNonWhitespaceColumn(c.getSelection().positionLineNumber),O=c.getSelections().map((W,U)=>({selection:W,idx:U})).sort((W,U)=>S.Range.compareRangesUsingStarts(W.selection,U.selection));for(const{selection:W,idx:U}of O){let j=t.adjustSelection(M,W,d,0),R=t.adjustSelection(M,W,0,l);A!==M.getValueInRange(j)&&(j=W),N!==M.getValueInRange(R)&&(R=W);const K=W.setStartPosition(j.startLineNumber,j.startColumn).setEndPosition(R.endLineNumber,R.endColumn),G=new i.SnippetParser().parse(o,!0,p),Z=K.getStartPosition(),J=t.adjustWhitespace(M,Z,m||U>0&&F!==M.getLineFirstNonWhitespaceColumn(W.positionLineNumber),G);G.resolveVariables(new n.CompositeSnippetVariableResolver([x,new n.ClipboardBasedVariableResolver(T,U,O.length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(M,W,U,b),new n.CommentBasedVariableResolver(M,W,w),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(P),new n.RandomBasedVariableResolver])),E[U]=D.EditOperation.replace(K,G.toString()),E[U].identifier={major:U,minor:0},E[U]._isTracked=!0,I[U]=new a(c,G,J)}return{edits:E,snippets:I}}static createEditsAndSnippetsFromEdits(c,o,d,l,p,m,v){if(!c.hasModel()||o.length===0)return{edits:[],snippets:[]};const b=[],w=c.getModel(),E=new i.SnippetParser,I=new i.TextmateSnippet,M=new n.CompositeSnippetVariableResolver([c.invokeWithinContext(x=>new n.ModelBasedVariableResolver(x.get(C.ILabelService),w)),new n.ClipboardBasedVariableResolver(()=>p,0,c.getSelections().length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(w,c.getSelection(),0,m),new n.CommentBasedVariableResolver(w,c.getSelection(),v),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(c.invokeWithinContext(x=>x.get(s.IWorkspaceContextService))),new n.RandomBasedVariableResolver]);o=o.sort((x,T)=>S.Range.compareRangesUsingStarts(x.range,T.range));let P=0;for(let x=0;x0){const U=o[x-1].range,j=S.Range.fromPositions(U.getEndPosition(),T.getStartPosition()),R=new i.Text(w.getValueInRange(j));I.appendChild(R),P+=R.value.length}const N=E.parseFragment(A,I);t.adjustWhitespace(w,T.getStartPosition(),!0,I,new Set(N)),I.resolveVariables(M);const F=I.toString(),O=F.slice(P);P=F.length;const W=D.EditOperation.replace(T,O);W.identifier={major:x,minor:0},W._isTracked=!0,b.push(W)}return E.ensureFinalTabstop(I,d,!0),{edits:b,snippets:[new a(c,I,"")]}}constructor(c,o,d=u,l){this._editor=c,this._template=o,this._options=d,this._languageConfigurationService=l,this._templateMerges=[],this._snippets=[]}dispose(){(0,k.dispose)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:c,snippets:o}=typeof this._template=="string"?t.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):t.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=o,this._editor.executeEdits("snippet",c,d=>{const l=d.filter(p=>!!p.identifier);for(let p=0;pf.Selection.fromPositions(p.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(c,o=u){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,c]);const{edits:d,snippets:l}=t.createEditsAndSnippetsFromSelections(this._editor,c,o.overwriteBefore,o.overwriteAfter,!0,o.adjustWhitespace,o.clipboardText,o.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",d,p=>{const m=p.filter(b=>!!b.identifier);for(let b=0;bf.Selection.fromPositions(b.range.getEndPosition()))})}next(){const c=this._move(!0);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}prev(){const c=this._move(!1);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}_move(c){const o=[];for(const d of this._snippets){const l=d.move(c);o.push(...l)}return o}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const c=this._editor.getSelections();if(c.length{p.push(...l.get(m))})}c.sort(S.Range.compareRangesUsingStarts);for(const[d,l]of o){if(l.length!==c.length){o.delete(d);continue}l.sort(S.Range.compareRangesUsingStarts);for(let p=0;p0}};e.SnippetSession=h,e.SnippetSession=h=t=ke([fe(3,_.ILanguageConfigurationService)],h)}),define(ne[194],se([1,0,2,20,16,12,21,32,18,135,697,15,70,377]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetController2=void 0;const a={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let u=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d,l,p){this._editor=c,this._logService=o,this._languageFeaturesService=d,this._languageConfigurationService=p,this._snippetListener=new L.DisposableStore,this._modelVersionId=-1,this._inSnippet=t.InSnippetMode.bindTo(l),this._hasNextTabstop=t.HasNextTabstop.bindTo(l),this._hasPrevTabstop=t.HasPrevTabstop.bindTo(l)}dispose(){var c;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),(c=this._session)===null||c===void 0||c.dispose(),this._snippetListener.dispose()}insert(c,o){try{this._doInsert(c,typeof o>"u"?a:Object.assign(Object.assign({},a),o))}catch(d){this.cancel(),this._logService.error(d),this._logService.error("snippet_error"),this._logService.error("insert_template=",c),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}}_doInsert(c,o){var d;if(this._editor.hasModel()){if(this._snippetListener.clear(),o.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&typeof c!="string"&&this.cancel(),this._session?((0,k.assertType)(typeof c=="string"),this._session.merge(c,o)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new n.SnippetSession(this._editor,c,o,this._languageConfigurationService),this._session.insert()),o.undoStopAfter&&this._editor.getModel().pushStackElement(),!((d=this._session)===null||d===void 0)&&d.hasChoice){const l={_debugDisplayName:"snippetChoiceCompletions",provideCompletionItems:(E,I)=>{if(!this._session||E!==this._editor.getModel()||!D.Position.equals(this._editor.getPosition(),I))return;const{activeChoice:M}=this._session;if(!M||M.choice.options.length===0)return;const P=E.getValueInRange(M.range),x=!!M.choice.options.find(A=>A.value===P),T=[];for(let A=0;A{m?.dispose(),v=!1},w=()=>{v||(m=this._languageFeaturesService.completionProvider.register({language:p.getLanguageId(),pattern:p.uri.fsPath,scheme:p.uri.scheme,exclusive:!0},l),this._snippetListener.add(m),v=!0)};this._choiceCompletions={provider:l,enable:w,disable:b}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(l=>l.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){if(!(!this._session||!this._editor.hasModel())){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){var c;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{activeChoice:o}=this._session;if(!o||!this._choiceCompletions){(c=this._choiceCompletions)===null||c===void 0||c.disable(),this._currentChoice=void 0;return}this._currentChoice!==o.choice&&(this._currentChoice=o.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{(0,g.showSimpleSuggestions)(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(c=!1){var o;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,(o=this._session)===null||o===void 0||o.dispose(),this._session=void 0,this._modelVersionId=-1,c&&this._editor.setSelections([this._editor.getSelection()])}prev(){var c;(c=this._session)===null||c===void 0||c.prev(),this._updateState()}next(){var c;(c=this._session)===null||c===void 0||c.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};e.SnippetController2=u,u.ID="snippetController2",u.InSnippetMode=new s.RawContextKey("inSnippetMode",!1,(0,C.localize)(0,null)),u.HasNextTabstop=new s.RawContextKey("hasNextTabstop",!1,(0,C.localize)(1,null)),u.HasPrevTabstop=new s.RawContextKey("hasPrevTabstop",!1,(0,C.localize)(2,null)),e.SnippetController2=u=t=ke([fe(1,i.ILogService),fe(2,_.ILanguageFeaturesService),fe(3,s.IContextKeyService),fe(4,f.ILanguageConfigurationService)],u),(0,y.registerEditorContribution)(u.ID,u,4);const h=y.EditorCommand.bindToContribution(u.get);(0,y.registerEditorCommand)(new h({id:"jumpToNextSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasNextTabstop),handler:r=>r.next(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:2}})),(0,y.registerEditorCommand)(new h({id:"jumpToPrevSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasPrevTabstop),handler:r=>r.prev(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:1026}})),(0,y.registerEditorCommand)(new h({id:"leaveSnippet",precondition:u.InSnippetMode,handler:r=>r.cancel(!0),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new h({id:"acceptSnippet",precondition:u.InSnippetMode,handler:r=>r.finish()}))}),define(ne[913],se([1,0,14,9,2,42,20,73,12,5,29,32,215,779,151,194,27,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsModel=e.VersionIdChangeReason=void 0;var r;(function(o){o[o.Undo=0]="Undo",o[o.Redo=1]="Redo",o[o.AcceptWord=2]="AcceptWord",o[o.Other=3]="Other"})(r||(e.VersionIdChangeReason=r={}));let c=class extends y.Disposable{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(d,l,p,m,v,b,w,E,I,M,P,x){super(),this.textModel=d,this.selectedSuggestItem=l,this.cursorPosition=p,this.textModelVersionId=m,this._debounceValue=v,this._suggestPreviewEnabled=b,this._suggestPreviewMode=w,this._inlineSuggestMode=E,this._enabled=I,this._instantiationService=M,this._commandService=P,this._languageConfigurationService=x,this._source=this._register(this._instantiationService.createInstance(n.InlineCompletionsSource,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,D.observableValue)("isActive",!1),this._forceUpdate=(0,D.observableSignal)("forceUpdate"),this._selectedInlineCompletionId=(0,D.observableValue)("selectedInlineCompletionId",void 0),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([r.Redo,r.Undo,r.AcceptWord]),this._fetchInlineCompletions=(0,D.derivedHandleChanges)("fetch inline completions",{createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:C.InlineCompletionTriggerKind.Automatic}),handleChange:(A,N)=>(A.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(A.change)?N.preserveCurrentCompletion=!0:A.didChange(this._forceUpdate)&&(N.inlineCompletionTriggerKind=A.change),!0)},(A,N)=>{if(this._forceUpdate.read(A),!(this._enabled.read(A)&&this.selectedSuggestItem.read(A)||this._isActive.read(A))){this._source.cancelUpdate();return}this.textModelVersionId.read(A);const O=this.selectedInlineCompletion.get(),W=N.preserveCurrentCompletion||O?.forwardStable?O:void 0,U=this._source.suggestWidgetInlineCompletions.get(),j=this.selectedSuggestItem.read(A);if(U&&!j){const G=this._source.inlineCompletions.get();(0,D.transaction)(Z=>{G&&U.request.versionId>G.request.versionId&&this._source.inlineCompletions.set(U.clone(),Z),this._source.clearSuggestWidgetInlineCompletions(Z)})}const R=this.cursorPosition.read(A),K={triggerKind:N.inlineCompletionTriggerKind,selectedSuggestionInfo:j?.toSelectedSuggestionInfo()};return this._source.fetch(R,K,W)}),this._filteredInlineCompletionItems=(0,D.derived)(A=>{const N=this._source.inlineCompletions.read(A);if(!N)return[];const F=this.cursorPosition.read(A);return N.inlineCompletions.filter(W=>W.isVisible(this.textModel,F,A))}),this.selectedInlineCompletionIndex=(0,D.derived)(A=>{const N=this._selectedInlineCompletionId.read(A),F=this._filteredInlineCompletionItems.read(A),O=this._selectedInlineCompletionId===void 0?-1:F.findIndex(W=>W.semanticId===N);return O===-1?(this._selectedInlineCompletionId.set(void 0,void 0),0):O}),this.selectedInlineCompletion=(0,D.derived)(A=>{const N=this._filteredInlineCompletionItems.read(A),F=this.selectedInlineCompletionIndex.read(A);return N[F]}),this.lastTriggerKind=this._source.inlineCompletions.map(A=>A?.request.context.triggerKind),this.inlineCompletionsCount=(0,D.derived)(A=>{if(this.lastTriggerKind.read(A)===C.InlineCompletionTriggerKind.Explicit)return this._filteredInlineCompletionItems.read(A).length}),this.state=(0,D.derivedOpts)({equalityComparer:(A,N)=>!A||!N?A===N:(0,i.ghostTextOrReplacementEquals)(A.ghostText,N.ghostText)&&A.inlineCompletion===N.inlineCompletion&&A.suggestItem===N.suggestItem},A=>{var N;const F=this.textModel,O=this.selectedSuggestItem.read(A);if(O){const W=O.toSingleTextEdit().removeCommonPrefix(F),U=this._computeAugmentedCompletion(W,A);if(!this._suggestPreviewEnabled.read(A)&&!U)return;const R=(N=U?.edit)!==null&&N!==void 0?N:W,K=U?U.edit.text.length-W.text.length:0,G=this._suggestPreviewMode.read(A),Z=this.cursorPosition.read(A),J=R.computeGhostText(F,G,Z,K);return{ghostText:J??new i.GhostText(R.range.endLineNumber,[]),inlineCompletion:U?.completion,suggestItem:O}}else{if(!this._isActive.read(A))return;const W=this.selectedInlineCompletion.read(A);if(!W)return;const U=W.toSingleTextEdit(A),j=this._inlineSuggestMode.read(A),R=this.cursorPosition.read(A),K=U.computeGhostText(F,j,R);return K?{ghostText:K,inlineCompletion:W,suggestItem:void 0}:void 0}}),this.ghostText=(0,D.derivedOpts)({equalityComparer:i.ghostTextOrReplacementEquals},A=>{const N=this.state.read(A);if(N)return N.ghostText}),this._register((0,D.keepAlive)(this._fetchInlineCompletions,!0));let T;this._register((0,D.autorun)(A=>{var N,F;const O=this.state.read(A),W=O?.inlineCompletion;if(W?.semanticId!==T?.semanticId&&(T=W,W)){const U=W.inlineCompletion,j=U.source;(F=(N=j.provider).handleItemDidShow)===null||F===void 0||F.call(N,j.inlineCompletions,U.sourceInlineCompletion,U.insertText)}}))}trigger(d){return we(this,void 0,void 0,function*(){this._isActive.set(!0,d),yield this._fetchInlineCompletions.get()})}triggerExplicitly(d){return we(this,void 0,void 0,function*(){(0,D.subtransaction)(d,l=>{this._isActive.set(!0,l),this._forceUpdate.trigger(l,C.InlineCompletionTriggerKind.Explicit)}),yield this._fetchInlineCompletions.get()})}stop(d){(0,D.subtransaction)(d,l=>{this._isActive.set(!1,l),this._source.clear(l)})}_computeAugmentedCompletion(d,l){const p=this.textModel,m=this._source.suggestWidgetInlineCompletions.read(l),v=m?m.inlineCompletions:[this.selectedInlineCompletion.read(l)].filter(S.isDefined);return(0,L.mapFind)(v,w=>{let E=w.toSingleTextEdit(l);return E=E.removeCommonPrefix(p,g.Range.fromPositions(E.range.getStartPosition(),d.range.getEndPosition())),E.augments(d)?{edit:E,completion:w}:void 0})}_deltaSelectedInlineCompletionIndex(d){return we(this,void 0,void 0,function*(){yield this.triggerExplicitly();const l=this._filteredInlineCompletionItems.get()||[];if(l.length>0){const p=(this.selectedInlineCompletionIndex.get()+d+l.length)%l.length;this._selectedInlineCompletionId.set(l[p].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)})}next(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(1)})}previous(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(-1)})}accept(d){var l;return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.inlineCompletion.toInlineCompletion(void 0);d.pushUndoStop(),m.snippetInfo?(d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,""),...m.additionalTextEdits]),d.setPosition(m.snippetInfo.range.getStartPosition()),(l=a.SnippetController2.get(d))===null||l===void 0||l.insert(m.snippetInfo.snippet,{undoStopBefore:!1})):d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,m.insertText),...m.additionalTextEdits]),m.command&&m.source.addRef(),(0,D.transaction)(v=>{this._source.clear(v),this._isActive.set(!1,v)}),m.command&&(yield this._commandService.executeCommand(m.command.id,...m.command.arguments||[]).then(void 0,k.onUnexpectedExternalError),m.source.removeRef())})}acceptNextWord(d){return we(this,void 0,void 0,function*(){yield this._acceptNext(d,(l,p)=>{const m=this.textModel.getLanguageIdAtPosition(l.lineNumber,l.column),v=this._languageConfigurationService.getLanguageConfiguration(m),b=new RegExp(v.wordDefinition.source,v.wordDefinition.flags.replace("g","")),w=p.match(b);let E=0;w&&w.index!==void 0?w.index===0?E=w[0].length:E=w.index:E=p.length;const M=/\s+/g.exec(p);return M&&M.index!==void 0&&M.index+M[0].length{const m=p.match(/\n/);return m&&m.index!==void 0?m.index+1:p.length})})}_acceptNext(d,l){return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.ghostText,v=p.inlineCompletion.toInlineCompletion(void 0);if(v.snippetInfo||v.filterText!==v.insertText){yield this.accept(d);return}const b=m.parts[0],w=new _.Position(m.lineNumber,b.column),E=b.lines.join(` -`),I=l(w,E);if(I===E.length&&m.parts.length===1){this.accept(d);return}const M=E.substring(0,I);this._isAcceptingPartially=!0;try{d.pushUndoStop(),d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replace(g.Range.fromPositions(w),M)]);const P=(0,t.lengthOfText)(M);d.setPosition((0,t.addPositions)(w,P))}finally{this._isAcceptingPartially=!1}if(v.source.provider.handlePartialAccept){const P=g.Range.fromPositions(v.range.getStartPosition(),(0,t.addPositions)(w,(0,t.lengthOfText)(M))),x=d.getModel().getValueInRange(P,1);v.source.provider.handlePartialAccept(v.source.inlineCompletions,v.sourceInlineCompletion,x.length)}})}handleSuggestAccepted(d){var l,p;const m=d.toSingleTextEdit().removeCommonPrefix(this.textModel),v=this._computeAugmentedCompletion(m,void 0);if(!v)return;const b=v.completion.inlineCompletion;(p=(l=b.source.provider).handlePartialAccept)===null||p===void 0||p.call(l,b.source.inlineCompletions,b.sourceInlineCompletion,m.text.length)}};e.InlineCompletionsModel=c,e.InlineCompletionsModel=c=ke([fe(9,h.IInstantiationService),fe(10,u.ICommandService),fe(11,s.ILanguageConfigurationService)],c)}),define(ne[914],se([1,0,13,19,9,6,2,11,24,115,301,96,28,15,70,79,300,135,18,72,20,235,194,239]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestModel=e.LineContext=void 0;class v{static shouldAutoTrigger(M){if(!M.hasModel())return!1;const P=M.getModel(),x=M.getPosition();P.tokenization.tokenizeIfCheap(x.lineNumber);const T=P.getWordAtPosition(x);return!(!T||T.endColumn!==x.column&&T.startColumn+1!==x.column||!isNaN(Number(T.word)))}constructor(M,P,x){this.leadingLineContent=M.getLineContent(P.lineNumber).substr(0,P.column-1),this.leadingWord=M.getWordUntilPosition(P),this.lineNumber=P.lineNumber,this.column=P.column,this.triggerOptions=x}}e.LineContext=v;function b(I,M,P){if(!M.getContextKeyValue(d.InlineCompletionContextKeys.inlineSuggestionVisible.key))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}function w(I,M,P){if(!M.getContextKeyValue("inlineSuggestionVisible"))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}let E=m=class{constructor(M,P,x,T,A,N,F,O,W){this._editor=M,this._editorWorkerService=P,this._clipboardService=x,this._telemetryService=T,this._logService=A,this._contextKeyService=N,this._configurationService=F,this._languageFeaturesService=O,this._envService=W,this._toDispose=new S.DisposableStore,this._triggerCharacterListener=new S.DisposableStore,this._triggerQuickSuggest=new L.TimeoutTimer,this._triggerState=void 0,this._completionDisposables=new S.DisposableStore,this._onDidCancel=new D.Emitter,this._onDidTrigger=new D.Emitter,this._onDidSuggest=new D.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new _.Selection(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let U=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{U=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{U=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(j=>{U||this._onCursorChange(j)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{!U&&this._triggerState!==void 0&&this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,S.dispose)(this._triggerCharacterListener),(0,S.dispose)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(89)||!this._editor.hasModel()||!this._editor.getOption(119))return;const M=new Map;for(const x of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const T of x.triggerCharacters||[]){let A=M.get(T);A||(A=new Set,A.add((0,h.getSnippetSuggestSupport)()),M.set(T,A)),A.add(x)}const P=x=>{var T;if(!w(this._editor,this._contextKeyService,this._configurationService)||v.shouldAutoTrigger(this._editor))return;if(!x){const F=this._editor.getPosition();x=this._editor.getModel().getLineContent(F.lineNumber).substr(0,F.column-1)}let A="";(0,f.isLowSurrogate)(x.charCodeAt(x.length-1))?(0,f.isHighSurrogate)(x.charCodeAt(x.length-2))&&(A=x.substr(x.length-2)):A=x.charAt(x.length-1);const N=M.get(A);if(N){const F=new Map;if(this._completionModel)for(const[O,W]of this._completionModel.getItemsByProvider())N.has(O)||F.set(O,W);this.trigger({auto:!0,triggerKind:1,triggerCharacter:A,retrigger:!!this._completionModel,clipboardText:(T=this._completionModel)===null||T===void 0?void 0:T.clipboardText,completionOptions:{providerFilter:N,providerItemsToReuse:F}})}};this._triggerCharacterListener.add(this._editor.onDidType(P)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>P()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(M=!1){var P;this._triggerState!==void 0&&(this._triggerQuickSuggest.cancel(),(P=this._requestToken)===null||P===void 0||P.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:M}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._triggerState!==void 0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._triggerState.auto,retrigger:!0}))}_onCursorChange(M){if(!this._editor.hasModel())return;const P=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!M.selection.isEmpty()||M.reason!==0&&M.reason!==3||M.source!=="keyboard"&&M.source!=="deleteLeft"){this.cancel();return}this._triggerState===void 0&&M.reason===0?(P.containsRange(this._currentSelection)||P.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._triggerState!==void 0&&M.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._triggerState===void 0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var M;h.QuickSuggestionsOptions.isAllOff(this._editor.getOption(87))||this._editor.getOption(116).snippetsPreventQuickSuggestions&&(!((M=l.SnippetController2.get(this._editor))===null||M===void 0)&&M.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._triggerState!==void 0||!v.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;const P=this._editor.getModel(),x=this._editor.getPosition(),T=this._editor.getOption(87);if(!h.QuickSuggestionsOptions.isAllOff(T)){if(!h.QuickSuggestionsOptions.isAllOn(T)){P.tokenization.tokenizeIfCheap(x.lineNumber);const A=P.tokenization.getLineTokens(x.lineNumber),N=A.getStandardTokenType(A.findTokenIndexAtOffset(Math.max(x.column-1-1,0)));if(h.QuickSuggestionsOptions.valueFor(T,N)!=="on")return}b(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(P)&&this.trigger({auto:!0})}},this._editor.getOption(88)))}_refilterCompletionItems(){(0,o.assertType)(this._editor.hasModel()),(0,o.assertType)(this._triggerState!==void 0);const M=this._editor.getModel(),P=this._editor.getPosition(),x=new v(M,P,Object.assign(Object.assign({},this._triggerState),{refilter:!0}));this._onNewContext(x)}trigger(M){var P,x,T,A,N,F;if(!this._editor.hasModel())return;const O=this._editor.getModel(),W=new v(O,this._editor.getPosition(),M);this.cancel(M.retrigger),this._triggerState=M,this._onDidTrigger.fire({auto:M.auto,shy:(P=M.shy)!==null&&P!==void 0?P:!1,position:this._editor.getPosition()}),this._context=W;let U={triggerKind:(x=M.triggerKind)!==null&&x!==void 0?x:0};M.triggerCharacter&&(U={triggerKind:1,triggerCharacter:M.triggerCharacter}),this._requestToken=new k.CancellationTokenSource;const j=this._editor.getOption(110);let R=1;switch(j){case"top":R=0;break;case"bottom":R=2;break}const{itemKind:K,showDeprecated:G}=m._createSuggestFilter(this._editor),Z=new h.CompletionOptions(R,(A=(T=M.completionOptions)===null||T===void 0?void 0:T.kindFilter)!==null&&A!==void 0?A:K,(N=M.completionOptions)===null||N===void 0?void 0:N.providerFilter,(F=M.completionOptions)===null||F===void 0?void 0:F.providerItemsToReuse,G),J=C.WordDistance.create(this._editorWorkerService,this._editor),X=(0,h.provideSuggestionItems)(this._languageFeaturesService.completionProvider,O,this._editor.getPosition(),Z,U,this._requestToken.token);Promise.all([X,J]).then(([H,B])=>we(this,void 0,void 0,function*(){var V;if((V=this._requestToken)===null||V===void 0||V.dispose(),!this._editor.hasModel())return;let Y=M?.clipboardText;if(!Y&&H.needsClipboard&&(Y=yield this._clipboardService.readText()),this._triggerState===void 0)return;const ie=this._editor.getModel(),ae=new v(ie,this._editor.getPosition(),M),ce=Object.assign(Object.assign({},c.FuzzyScoreOptions.default),{firstMatchCanBeWeak:!this._editor.getOption(116).matchOnWordStartOnly});if(this._completionModel=new u.CompletionModel(H.items,this._context.column,{leadingLineContent:ae.leadingLineContent,characterCountDelta:ae.column-this._context.column},B,this._editor.getOption(116),this._editor.getOption(110),ce,Y),this._completionDisposables.add(H.disposable),this._onNewContext(ae),this._reportDurationsTelemetry(H.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(const de of H.items)de.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${de.provider._debugDisplayName}`,de.completion)})).catch(y.onUnexpectedError)}_reportDurationsTelemetry(M){this._telemetryGate++%230===0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(M)}),this._logService.debug("suggest.durations.json",M)})}static _createSuggestFilter(M){const P=new Set;M.getOption(110)==="none"&&P.add(27);const T=M.getOption(116);return T.showMethods||P.add(0),T.showFunctions||P.add(1),T.showConstructors||P.add(2),T.showFields||P.add(3),T.showVariables||P.add(4),T.showClasses||P.add(5),T.showStructs||P.add(6),T.showInterfaces||P.add(7),T.showModules||P.add(8),T.showProperties||P.add(9),T.showEvents||P.add(10),T.showOperators||P.add(11),T.showUnits||P.add(12),T.showValues||P.add(13),T.showConstants||P.add(14),T.showEnums||P.add(15),T.showEnumMembers||P.add(16),T.showKeywords||P.add(17),T.showWords||P.add(18),T.showColors||P.add(19),T.showFiles||P.add(20),T.showReferences||P.add(21),T.showColors||P.add(22),T.showFolders||P.add(23),T.showTypeParameters||P.add(24),T.showSnippets||P.add(27),T.showUsers||P.add(25),T.showIssues||P.add(26),{itemKind:P,showDeprecated:T.showDeprecated}}_onNewContext(M){if(this._context){if(M.lineNumber!==this._context.lineNumber){this.cancel();return}if((0,f.getLeadingWhitespace)(M.leadingLineContent)!==(0,f.getLeadingWhitespace)(this._context.leadingLineContent)){this.cancel();return}if(M.columnthis._context.leadingWord.startColumn){if(v.shouldAutoTrigger(this._editor)&&this._context){const x=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:x}})}return}if(M.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&M.leadingWord.word.length!==0){const P=new Map,x=new Set;for(const[T,A]of this._completionModel.getItemsByProvider())A.length>0&&A[0].container.incomplete?x.add(T):P.set(T,A);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:x,providerItemsToReuse:P}})}else{const P=this._completionModel.lineContext;let x=!1;if(this._completionModel.lineContext={leadingLineContent:M.leadingLineContent,characterCountDelta:M.column-this._context.column},this._completionModel.items.length===0){const T=v.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(T&&this._context.leadingWord.endColumn0,x&&M.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:M.triggerOptions,isFrozen:x})}}}}};e.SuggestModel=E,e.SuggestModel=E=m=ke([fe(1,g.IEditorWorkerService),fe(2,s.IClipboardService),fe(3,a.ITelemetryService),fe(4,t.ILogService),fe(5,n.IContextKeyService),fe(6,i.IConfigurationService),fe(7,r.ILanguageFeaturesService),fe(8,p.IEnvironmentService)],E)}),define(ne[378],se([1,0,49,14,13,19,9,6,119,2,17,58,20,108,16,73,12,5,21,194,128,347,755,701,27,15,8,70,135,754,548,914,549,895,79,45,143]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F){"use strict";var O;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerSuggestAction=e.SuggestController=void 0;const W=!1;class U{constructor(X,H){if(this._model=X,this._position=H,X.getLineMaxColumn(H.lineNumber)!==H.column){const V=X.getOffsetAt(H),Y=X.getPositionAt(V+1);this._marker=X.deltaDecorations([],[{range:h.Range.fromPositions(H,Y),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(X){if(this._model.isDisposed()||this._position.lineNumber!==X.lineNumber)return 0;if(this._marker){const H=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(H.getStartPosition())-this._model.getOffsetAt(X)}else return this._model.getLineMaxColumn(X.lineNumber)-X.column}}let j=O=class{static get(X){return X.getContribution(O.ID)}constructor(X,H,B,V,Y,ie,ae){this._memoryService=H,this._commandService=B,this._contextKeyService=V,this._instantiationService=Y,this._logService=ie,this._telemetryService=ae,this._lineSuffix=new g.MutableDisposable,this._toDispose=new g.DisposableStore,this._selectors=new R(ue=>ue.priority),this._onWillInsertSuggestItem=new f.Emitter,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=X,this.model=Y.createInstance(P.SuggestModel,this.editor),this._selectors.register({priority:0,select:(ue,te,q)=>this._memoryService.select(ue,te,q)});const ce=E.Context.InsertMode.bindTo(V);ce.set(X.getOption(116).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>ce.set(X.getOption(116).insertMode))),this.widget=this._toDispose.add(new y.IdleValue(()=>{const ue=this._instantiationService.createInstance(T.SuggestWidget,this.editor);this._toDispose.add(ue),this._toDispose.add(ue.onDidSelect($=>this._insertSuggestion($,0),this));const te=new M.CommitCharacterController(this.editor,ue,this.model,$=>this._insertSuggestion($,2));this._toDispose.add(te);const q=E.Context.MakesTextEdit.bindTo(this._contextKeyService),z=E.Context.HasInsertAndReplaceRange.bindTo(this._contextKeyService),ee=E.Context.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,g.toDisposable)(()=>{q.reset(),z.reset(),ee.reset()})),this._toDispose.add(ue.onDidFocus(({item:$})=>{const re=this.editor.getPosition(),oe=$.editStart.column,ge=re.column;let ve=!0;this.editor.getOption(1)==="smart"&&this.model.state===2&&!$.completion.additionalTextEdits&&!($.completion.insertTextRules&4)&&ge-oe===$.completion.insertText.length&&(ve=this.editor.getModel().getValueInRange({startLineNumber:re.lineNumber,startColumn:oe,endLineNumber:re.lineNumber,endColumn:ge})!==$.completion.insertText),q.set(ve),z.set(!u.Position.equals($.editInsertEnd,$.editReplaceEnd)),ee.set(!!$.provider.resolveCompletionItem||!!$.completion.documentation||$.completion.detail!==$.completion.label)})),this._toDispose.add(ue.onDetailsKeyDown($=>{if($.toKeyCodeChord().equals(new _.KeyCodeChord(!0,!1,!1,!1,33))||C.isMacintosh&&$.toKeyCodeChord().equals(new _.KeyCodeChord(!1,!1,!1,!0,33))){$.stopPropagation();return}$.toKeyCodeChord().isModifierKey()||this.editor.focus()})),ue})),this._overtypingCapturer=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new x.OvertypingCapturer(this.editor,this.model)))),this._alternatives=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new I.SuggestAlternatives(this.editor,this._contextKeyService)))),this._toDispose.add(Y.createInstance(l.WordContextKey,X)),this._toDispose.add(this.model.onDidTrigger(ue=>{this.widget.value.showTriggered(ue.auto,ue.shy?250:50),this._lineSuffix.value=new U(this.editor.getModel(),ue.position)})),this._toDispose.add(this.model.onDidSuggest(ue=>{if(ue.triggerOptions.shy)return;let te=-1;for(const z of this._selectors.itemsOrderedByPriorityDesc)if(te=z.select(this.editor.getModel(),this.editor.getPosition(),ue.completionModel.items),te!==-1)break;te===-1&&(te=0);let q=!1;if(ue.triggerOptions.auto){const z=this.editor.getOption(116);z.selectionMode==="never"||z.selectionMode==="always"?q=z.selectionMode==="never":z.selectionMode==="whenTriggerCharacter"?q=ue.triggerOptions.triggerKind!==1:z.selectionMode==="whenQuickSuggestion"&&(q=ue.triggerOptions.triggerKind===1&&!ue.triggerOptions.refilter)}this.widget.value.showSuggestions(ue.completionModel,te,ue.isFrozen,ue.triggerOptions.auto,q)})),this._toDispose.add(this.model.onDidCancel(ue=>{ue.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{W||(this.model.cancel(),this.model.clear())}));const de=E.Context.AcceptSuggestionsOnEnter.bindTo(V),he=()=>{const ue=this.editor.getOption(1);de.set(ue==="on"||ue==="smart")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>he())),he()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(X,H){if(!X||!X.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;const B=c.SnippetController2.get(this.editor);if(!B)return;this._onWillInsertSuggestItem.fire({item:X.item});const V=this.editor.getModel(),Y=V.getAlternativeVersionId(),{item:ie}=X,ae=[],ce=new D.CancellationTokenSource;H&1||this.editor.pushUndoStop();const de=this.getOverwriteInfo(ie,!!(H&8));this._memoryService.memorize(V,this.editor.getPosition(),ie);const he=ie.isResolved;let ue=-1,te=-1;if(Array.isArray(ie.completion.additionalTextEdits)){this.model.cancel();const z=n.StableEditorScrollState.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",ie.completion.additionalTextEdits.map(ee=>a.EditOperation.replaceMove(h.Range.lift(ee.range),ee.text))),z.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!he){const z=new s.StopWatch;let ee;const $=V.onDidChangeContent(ve=>{if(ve.isFlush){ce.cancel(),$.dispose();return}for(const Se of ve.changes){const Le=h.Range.getEndPosition(Se.range);(!ee||u.Position.isBefore(Le,ee))&&(ee=Le)}}),re=H;H|=2;let oe=!1;const ge=this.editor.onWillType(()=>{ge.dispose(),oe=!0,re&2||this.editor.pushUndoStop()});ae.push(ie.resolve(ce.token).then(()=>{if(!ie.completion.additionalTextEdits||ce.token.isCancellationRequested)return;if(ee&&ie.completion.additionalTextEdits.some(Se=>u.Position.isBefore(ee,h.Range.getStartPosition(Se.range))))return!1;oe&&this.editor.pushUndoStop();const ve=n.StableEditorScrollState.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",ie.completion.additionalTextEdits.map(Se=>a.EditOperation.replaceMove(h.Range.lift(Se.range),Se.text))),ve.restoreRelativeVerticalPositionOfCursor(this.editor),(oe||!(re&2))&&this.editor.pushUndoStop(),!0}).then(ve=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",z.elapsed(),ve),te=ve===!0?1:ve===!1?0:-2}).finally(()=>{$.dispose(),ge.dispose()}))}let{insertText:q}=ie.completion;if(ie.completion.insertTextRules&4||(q=o.SnippetParser.escape(q)),this.model.cancel(),B.insert(q,{overwriteBefore:de.overwriteBefore,overwriteAfter:de.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(ie.completion.insertTextRules&1),clipboardText:X.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),H&2||this.editor.pushUndoStop(),ie.completion.command)if(ie.completion.command.id===K.id)this.model.trigger({auto:!0,retrigger:!0});else{const z=new s.StopWatch;ae.push(this._commandService.executeCommand(ie.completion.command.id,...ie.completion.command.arguments?[...ie.completion.command.arguments]:[]).catch(ee=>{ie.completion.extensionId?(0,S.onUnexpectedExternalError)(ee):(0,S.onUnexpectedError)(ee)}).finally(()=>{ue=z.elapsed()}))}H&4&&this._alternatives.value.set(X,z=>{for(ce.cancel();V.canUndo();){Y!==V.getAlternativeVersionId()&&V.undo(),this._insertSuggestion(z,3|(H&8?8:0));break}}),this._alertCompletionItem(ie),Promise.all(ae).finally(()=>{this._reportSuggestionAcceptedTelemetry(ie,V,he,ue,te),this.model.clear(),ce.dispose()})}_reportSuggestionAcceptedTelemetry(X,H,B,V,Y){var ie,ae,ce;Math.floor(Math.random()*100)!==0&&this._telemetryService.publicLog2("suggest.acceptedSuggestion",{extensionId:(ae=(ie=X.extensionId)===null||ie===void 0?void 0:ie.value)!==null&&ae!==void 0?ae:"unknown",providerId:(ce=X.provider._debugDisplayName)!==null&&ce!==void 0?ce:"unknown",kind:X.completion.kind,basenameHash:(0,F.hash)((0,N.basename)(H.uri)).toString(16),languageId:H.getLanguageId(),fileExtension:(0,N.extname)(H.uri),resolveInfo:X.provider.resolveCompletionItem?B?1:0:-1,resolveDuration:X.resolveDuration,commandDuration:V,additionalEditsAsync:Y})}getOverwriteInfo(X,H){(0,i.assertType)(this.editor.hasModel());let B=this.editor.getOption(116).insertMode==="replace";H&&(B=!B);const V=X.position.column-X.editStart.column,Y=(B?X.editReplaceEnd.column:X.editInsertEnd.column)-X.position.column,ie=this.editor.getPosition().column-X.position.column,ae=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:V+ie,overwriteAfter:Y+ae}}_alertCompletionItem(X){if((0,k.isNonEmptyArray)(X.completion.additionalTextEdits)){const H=p.localize(0,null,X.textLabel,X.completion.additionalTextEdits.length);(0,L.alert)(H)}}triggerSuggest(X,H,B){this.editor.hasModel()&&(this.model.trigger({auto:H??!1,completionOptions:{providerFilter:X,kindFilter:B?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(X){if(!this.editor.hasModel())return;const H=this.editor.getPosition(),B=()=>{H.equals(this.editor.getPosition())&&this._commandService.executeCommand(X.fallback)},V=Y=>{if(Y.completion.insertTextRules&4||Y.completion.additionalTextEdits)return!0;const ie=this.editor.getPosition(),ae=Y.editStart.column,ce=ie.column;return ce-ae!==Y.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:ie.lineNumber,startColumn:ae,endLineNumber:ie.lineNumber,endColumn:ce})!==Y.completion.insertText};f.Event.once(this.model.onDidTrigger)(Y=>{const ie=[];f.Event.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,g.dispose)(ie),B()},void 0,ie),this.model.onDidSuggest(({completionModel:ae})=>{if((0,g.dispose)(ie),ae.items.length===0){B();return}const ce=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),ae.items),de=ae.items[ce];if(!V(de)){B();return}this.editor.pushUndoStop(),this._insertSuggestion({index:ce,item:de,model:ae},7)},void 0,ie)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(H,0),this.editor.focus()}acceptSelectedSuggestion(X,H){const B=this.widget.value.getFocusedItem();let V=0;X&&(V|=4),H&&(V|=8),this._insertSuggestion(B,V)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(X){return this._selectors.register(X)}};e.SuggestController=j,j.ID="editor.contrib.suggestController",e.SuggestController=j=O=ke([fe(1,d.ISuggestMemoryService),fe(2,m.ICommandService),fe(3,v.IContextKeyService),fe(4,b.IInstantiationService),fe(5,w.ILogService),fe(6,A.ITelemetryService)],j);class R{constructor(X){this.prioritySelector=X,this._items=new Array}register(X){if(this._items.indexOf(X)!==-1)throw new Error("Value is already registered");return this._items.push(X),this._items.sort((H,B)=>this.prioritySelector(B)-this.prioritySelector(H)),{dispose:()=>{const H=this._items.indexOf(X);H>=0&&this._items.splice(H,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class K extends t.EditorAction{constructor(){super({id:K.id,label:p.localize(1,null),alias:"Trigger Suggest",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.writable,r.EditorContextKeys.hasCompletionItemProvider,E.Context.Visible.toNegated()),kbOpts:{kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(X,H,B){const V=j.get(H);if(!V)return;let Y;B&&typeof B=="object"&&B.auto===!0&&(Y=!0),V.triggerSuggest(void 0,Y,void 0)}}e.TriggerSuggestAction=K,K.id="editor.action.triggerSuggest",(0,t.registerEditorContribution)(j.ID,j,2),(0,t.registerEditorAction)(K);const G=100+90,Z=t.EditorCommand.bindToContribution(j.get);(0,t.registerEditorCommand)(new Z({id:"acceptSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler(J){J.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus),weight:G},{primary:3,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.AcceptSuggestionsOnEnter,E.Context.MakesTextEdit),weight:G}],menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(2,null),group:"left",order:1,when:E.Context.HasInsertAndReplaceRange.toNegated()},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(3,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert"))},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(4,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace"))}]})),(0,t.registerEditorCommand)(new Z({id:"acceptAlternativeSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.HasFocusedSuggestion),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1027,secondary:[1026]},handler(J){J.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert")),title:p.localize(5,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace")),title:p.localize(6,null)}]})),m.CommandsRegistry.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,t.registerEditorCommand)(new Z({id:"hideSuggestWidget",precondition:E.Context.Visible,handler:J=>J.cancelSuggestWidget(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),(0,t.registerEditorCommand)(new Z({id:"selectNextSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,t.registerEditorCommand)(new Z({id:"selectNextPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),(0,t.registerEditorCommand)(new Z({id:"selectLastSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectLastSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"selectPrevSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,t.registerEditorCommand)(new Z({id:"selectPrevPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),(0,t.registerEditorCommand)(new Z({id:"selectFirstSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectFirstSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"focusSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>J.focusSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}})),(0,t.registerEditorCommand)(new Z({id:"focusAndAcceptSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>{J.focusSuggestion(),J.acceptSelectedSuggestion(!0,!1)}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionDetails",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler:J=>J.toggleSuggestionDetails(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible,E.Context.CanResolve),title:p.localize(7,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible.toNegated(),E.Context.CanResolve),title:p.localize(8,null)}]})),(0,t.registerEditorCommand)(new Z({id:"toggleExplainMode",precondition:E.Context.Visible,handler:J=>J.toggleExplainMode(),kbOpts:{weight:100,primary:2138}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionFocus",precondition:E.Context.Visible,handler:J=>J.toggleSuggestionFocus(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),(0,t.registerEditorCommand)(new Z({id:"insertBestCompletion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),l.WordContextKey.AtEnd,E.Context.Visible.toNegated(),I.SuggestAlternatives.OtherSuggestions.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:(J,X)=>{J.triggerSuggestAndAcceptBest((0,i.isObject)(X)?Object.assign({fallback:"tab"},X):{fallback:"tab"})},kbOpts:{weight:G,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertNextSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertPrevSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1026}})),(0,t.registerEditorAction)(class extends t.EditorAction{constructor(){super({id:"editor.action.resetSuggestSize",label:p.localize(9,null),alias:"Reset Suggest Widget Size",precondition:void 0})}run(J,X){var H;(H=j.get(X))===null||H===void 0||H.resetWidgetSize()}})}),define(ne[915],se([1,0,6,2,12,5,29,128,377,378,42,296,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestItemInfo=e.SuggestWidgetAdaptor=void 0;class n extends k.Disposable{get selectedItem(){return this._selectedItem}constructor(h,r,c,o){super(),this.editor=h,this.suggestControllerPreselector=r,this.checkModelVersion=c,this.onWillAccept=o,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,C.observableValue)("suggestWidgetInlineCompletionProvider.selectedItem",void 0),this._register(h.onKeyDown(l=>{l.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(h.onKeyUp(l=>{l.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const d=g.SuggestController.get(this.editor);if(d){this._register(d.registerSelector({priority:100,select:(m,v,b)=>{var w;(0,C.transaction)(T=>this.checkModelVersion(T));const E=this.editor.getModel();if(!E)return-1;const I=(w=this.suggestControllerPreselector())===null||w===void 0?void 0:w.removeCommonPrefix(E);if(!I)return-1;const M=y.Position.lift(v),P=b.map((T,A)=>{const F=t.fromSuggestion(d,E,M,T,this.isShiftKeyPressed).toSingleTextEdit().removeCommonPrefix(E),O=I.augments(F);return{index:A,valid:O,prefixLength:F.text.length,suggestItem:T}}).filter(T=>T&&T.valid&&T.prefixLength>0),x=(0,i.findMaxBy)(P,(0,i.compareBy)(T=>T.prefixLength,i.numberComparator));return x?x.index:-1}}));let l=!1;const p=()=>{l||(l=!0,this._register(d.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(d.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(d.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(L.Event.once(d.model.onDidTrigger)(m=>{p()})),this._register(d.onWillInsertSuggestItem(m=>{const v=this.editor.getPosition(),b=this.editor.getModel();if(!v||!b)return;const w=t.fromSuggestion(d,b,v,m.item,this.isShiftKeyPressed);this.onWillAccept(w)}))}this.update(this._isActive)}update(h){const r=this.getSuggestItemInfo();(this._isActive!==h||!a(this._currentSuggestItemInfo,r))&&(this._isActive=h,this._currentSuggestItemInfo=r,(0,C.transaction)(c=>{this.checkModelVersion(c),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,c)}))}getSuggestItemInfo(){const h=g.SuggestController.get(this.editor);if(!h||!this.isSuggestWidgetVisible)return;const r=h.widget.value.getFocusedItem(),c=this.editor.getPosition(),o=this.editor.getModel();if(!(!r||!c||!o))return t.fromSuggestion(h,o,c,r.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.stopForceRenderingAbove()}forceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.forceRenderingAbove()}}e.SuggestWidgetAdaptor=n;class t{static fromSuggestion(h,r,c,o,d){let{insertText:l}=o.completion,p=!1;if(o.completion.insertTextRules&4){const v=new f.SnippetParser().parse(l);v.children.length<100&&_.SnippetSession.adjustWhitespace(r,c,!0,v),l=v.toString(),p=!0}const m=h.getOverwriteInfo(o,d);return new t(D.Range.fromPositions(c.delta(0,-m.overwriteBefore),c.delta(0,Math.max(m.overwriteAfter,0))),l,o.completion.kind,p)}constructor(h,r,c,o){this.range=h,this.insertText=r,this.completionItemKind=c,this.isSnippetText=o}equals(h){return this.range.equalsRange(h.range)&&this.insertText===h.insertText&&this.completionItemKind===h.completionItemKind&&this.isSnippetText===h.isSnippetText}toSelectedSuggestionInfo(){return new S.SelectedSuggestionInfo(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new s.SingleTextEdit(this.range,this.insertText)}}e.SuggestItemInfo=t;function a(u,h){return u===h?!0:!u||!h?!1:u.equals(h)}}),define(ne[258],se([1,0,49,6,2,42,189,12,76,18,214,750,235,253,913,915,680,116,27,28,15,8,34]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsController=void 0;let m=p=class extends y.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A){super(),this.editor=b,this.instantiationService=w,this.contextKeyService=E,this.configurationService=I,this.commandService=M,this.debounceService=P,this.languageFeaturesService=x,this.audioCueService=T,this._keybindingService=A,this.model=(0,D.disposableObservableValue)("inlineCompletionModel",void 0),this.textModelVersionId=(0,D.observableValue)("textModelVersionId",-1),this.cursorPosition=(0,D.observableValue)("cursorPosition",new f.Position(1,1)),this.suggestWidgetAdaptor=this._register(new a.SuggestWidgetAdaptor(this.editor,()=>{var O,W;return(W=(O=this.model.get())===null||O===void 0?void 0:O.selectedInlineCompletion.get())===null||W===void 0?void 0:W.toSingleTextEdit(void 0)},O=>this.updateObservables(O,t.VersionIdChangeReason.Other),O=>{(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(U=this.model.get())===null||U===void 0||U.handleSuggestAccepted(O)})})),this._enabled=(0,D.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).enabled),this.ghostTextWidget=this._register(this.instantiationService.createInstance(s.GhostTextWidget,this.editor,{ghostText:this.model.map((O,W)=>O?.ghostText.read(W)),minReservedLineCount:(0,D.constObservable)(0),targetTextModel:this.model.map(O=>O?.textModel)})),this._debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._register(new i.InlineCompletionContextKeys(this.contextKeyService,this.model)),this._register(k.Event.runAndSubscribe(b.onDidChangeModel,()=>(0,D.transaction)(O=>{this.model.set(void 0,O),this.updateObservables(O,t.VersionIdChangeReason.Other);const W=b.getModel();if(W){const U=w.createInstance(t.InlineCompletionsModel,W,this.suggestWidgetAdaptor.selectedItem,this.cursorPosition,this.textModelVersionId,this._debounceValue,(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).preview),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).previewMode),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(61).mode),this._enabled);this.model.set(U,O)}})));const N=O=>{var W;return O.isUndoing?t.VersionIdChangeReason.Undo:O.isRedoing?t.VersionIdChangeReason.Redo:!((W=this.model.get())===null||W===void 0)&&W.isAcceptingPartially?t.VersionIdChangeReason.AcceptWord:t.VersionIdChangeReason.Other};this._register(b.onDidChangeModelContent(O=>(0,D.transaction)(W=>this.updateObservables(W,N(O))))),this._register(b.onDidChangeCursorPosition(O=>(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(O.reason===3||O.source==="api")&&((U=this.model.get())===null||U===void 0||U.stop(W))}))),this._register(b.onDidType(()=>(0,D.transaction)(O=>{var W;this.updateObservables(O,t.VersionIdChangeReason.Other),this._enabled.get()&&((W=this.model.get())===null||W===void 0||W.trigger(O))}))),this._register(this.commandService.onDidExecuteCommand(O=>{new Set([S.CoreEditingCommands.Tab.id,S.CoreEditingCommands.DeleteLeft.id,S.CoreEditingCommands.DeleteRight.id,C.inlineSuggestCommitId,"acceptSelectedSuggestion"]).has(O.commandId)&&b.hasTextFocus()&&this._enabled.get()&&(0,D.transaction)(U=>{var j;(j=this.model.get())===null||j===void 0||j.trigger(U)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.contextKeyService.getContextKeyValue("accessibleViewIsShown")||this.configurationService.getValue("editor.inlineSuggest.keepOnBlur")||b.getOption(61).keepOnBlur||n.InlineSuggestionHintsContentWidget.dropDownVisible||(0,D.transaction)(O=>{var W;(W=this.model.get())===null||W===void 0||W.stop(O)})})),this._register((0,D.autorun)(O=>{var W;const U=(W=this.model.read(O))===null||W===void 0?void 0:W.state.read(O);U?.suggestItem?U.ghostText.lineCount>=2&&this.suggestWidgetAdaptor.forceRenderingAbove():this.suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register((0,y.toDisposable)(()=>{this.suggestWidgetAdaptor.stopForceRenderingAbove()}));let F;this._register((0,D.autorun)(O=>{const W=this.model.read(O),U=W?.state.read(O);if(!W||!U||!U.inlineCompletion){F=void 0;return}if(U.inlineCompletion.semanticId!==F){F=U.inlineCompletion.semanticId;const j=W.textModel.getLineContent(U.ghostText.lineNumber);this.audioCueService.playAudioCue(h.AudioCue.inlineSuggestion).then(()=>{this.editor.getOption(7)&&this.provideScreenReaderUpdate(U.ghostText.renderForScreenReader(j))})}})),this._register(new n.InlineCompletionsHintsWidget(this.editor,this.model,this.instantiationService)),this._register(this.configurationService.onDidChangeConfiguration(O=>{O.affectsConfiguration("accessibility.verbosity.inlineCompletions")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})}provideScreenReaderUpdate(b){const w=this.contextKeyService.getContextKeyValue("accessibleViewIsShown"),E=this._keybindingService.lookupKeybinding("editor.action.accessibleView");let I;!w&&E&&this.editor.getOption(146)&&(I=(0,u.localize)(0,null,E.getAriaLabel())),I?(0,L.alert)(b+", "+I):(0,L.alert)(b)}updateObservables(b,w){var E,I;const M=this.editor.getModel();this.textModelVersionId.set((E=M?.getVersionId())!==null&&E!==void 0?E:-1,b,w),this.cursorPosition.set((I=this.editor.getPosition())!==null&&I!==void 0?I:new f.Position(1,1),b)}shouldShowHoverAt(b){var w;const E=(w=this.model.get())===null||w===void 0?void 0:w.ghostText.get();return E?E.parts.some(I=>b.containsPosition(new f.Position(E.lineNumber,I.column))):!1}shouldShowHoverAtViewZone(b){return this.ghostTextWidget.ownsViewZone(b)}};e.InlineCompletionsController=m,m.ID="editor.contrib.inlineCompletionsController",e.InlineCompletionsController=m=p=ke([fe(1,d.IInstantiationService),fe(2,o.IContextKeyService),fe(3,c.IConfigurationService),fe(4,r.ICommandService),fe(5,_.ILanguageFeatureDebounceService),fe(6,g.ILanguageFeaturesService),fe(7,h.IAudioCueService),fe(8,l.IKeybindingService)],m)}),define(ne[916],se([1,0,42,16,21,214,235,258,135,677,30,28,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleAlwaysShowInlineSuggestionToolbar=e.HideInlineCompletion=e.AcceptInlineCompletion=e.AcceptNextLineOfInlineCompletion=e.AcceptNextWordOfInlineCompletion=e.TriggerInlineSuggestionAction=e.ShowPreviousInlineSuggestionAction=e.ShowNextInlineSuggestionAction=void 0;class n extends k.EditorAction{constructor(){super({id:n.ID,label:g.localize(0,null),alias:"Show Next Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.next()})}}e.ShowNextInlineSuggestionAction=n,n.ID=D.showNextInlineSuggestionActionId;class t extends k.EditorAction{constructor(){super({id:t.ID,label:g.localize(1,null),alias:"Show Previous Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.previous()})}}e.ShowPreviousInlineSuggestionAction=t,t.ID=D.showPreviousInlineSuggestionActionId;class a extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.trigger",label:g.localize(2,null),alias:"Trigger Inline Suggestion",precondition:y.EditorContextKeys.writable})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.triggerExplicitly()})}}e.TriggerInlineSuggestionAction=a;class u extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextWord",label:g.localize(3,null),alias:"Accept Next Word Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1,primary:2065,kbExpr:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible)},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(4,null),group:"primary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextWord(v.editor)})}}e.AcceptNextWordOfInlineCompletion=u;class h extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextLine",label:g.localize(5,null),alias:"Accept Next Line Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(6,null),group:"secondary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextLine(v.editor)})}}e.AcceptNextLineOfInlineCompletion=h;class r extends k.EditorAction{constructor(){super({id:D.inlineSuggestCommitId,label:g.localize(7,null),alias:"Accept Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(8,null),group:"primary",order:1}],kbOpts:{primary:2,weight:200,kbExpr:i.ContextKeyExpr.and(S.InlineCompletionContextKeys.inlineSuggestionVisible,y.EditorContextKeys.tabMovesFocus.toNegated(),S.InlineCompletionContextKeys.inlineSuggestionHasIndentationLessThanTabSize,_.Context.Visible.toNegated(),y.EditorContextKeys.hoverFocused.toNegated())}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);v&&((m=v.model.get())===null||m===void 0||m.accept(v.editor),v.editor.focus())})}}e.AcceptInlineCompletion=r;class c extends k.EditorAction{constructor(){super({id:c.ID,label:g.localize(9,null),alias:"Hide Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}run(l,p){return we(this,void 0,void 0,function*(){const m=f.InlineCompletionsController.get(p);(0,L.transaction)(v=>{var b;(b=m?.model.get())===null||b===void 0||b.stop(v)})})}}e.HideInlineCompletion=c,c.ID="editor.action.inlineSuggest.hide";class o extends C.Action2{constructor(){super({id:o.ID,title:g.localize(10,null),f1:!1,precondition:void 0,menu:[{id:C.MenuId.InlineSuggestionToolbar,group:"secondary",order:10}],toggled:i.ContextKeyExpr.equals("config.editor.inlineSuggest.showToolbar","always")})}run(l,p){return we(this,void 0,void 0,function*(){const m=l.get(s.IConfigurationService),b=m.getValue("editor.inlineSuggest.showToolbar")==="always"?"onHover":"always";m.updateValue("editor.inlineSuggest.showToolbar",b)})}}e.ToggleAlwaysShowInlineSuggestionToolbar=o,o.ID="editor.action.inlineSuggest.toggleAlwaysShowToolbar"}),define(ne[917],se([1,0,7,55,2,42,5,41,103,258,253,117,678,84,8,56,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsHoverParticipant=e.InlineCompletionsHover=void 0;class h{constructor(o,d,l){this.owner=o,this.range=d,this.controller=l}isValidForHoverAnchor(o){return o.type===1&&this.range.startColumn<=o.range.startColumn&&this.range.endColumn>=o.range.endColumn}}e.InlineCompletionsHover=h;let r=class{constructor(o,d,l,p,m,v){this._editor=o,this._languageService=d,this._openerService=l,this.accessibilityService=p,this._instantiationService=m,this._telemetryService=v,this.hoverOrdinal=4}suggestHoverAnchor(o){const d=g.InlineCompletionsController.get(this._editor);if(!d)return null;const l=o.target;if(l.type===8){const p=l.detail;if(d.shouldShowHoverAtViewZone(p.viewZoneId))return new _.HoverForeignElementAnchor(1e3,this,S.Range.fromPositions(this._editor.getModel().validatePosition(p.positionBefore||p.position)),o.event.posx,o.event.posy,!1)}return l.type===7&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):l.type===6&&l.detail.mightBeForeignElement&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):null}computeSync(o,d){if(this._editor.getOption(61).showToolbar==="always")return[];const l=g.InlineCompletionsController.get(this._editor);return l&&l.shouldShowHoverAt(o.range)?[new h(this,o.range,l)]:[]}renderHoverParts(o,d){const l=new y.DisposableStore,p=d[0];this._telemetryService.publicLog2("inlineCompletionHover.shown"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(7)&&this.renderScreenReaderText(o,p,l);const m=p.controller.model.get(),v=this._instantiationService.createInstance(C.InlineSuggestionHintsContentWidget,this._editor,!1,(0,D.constObservable)(null),m.selectedInlineCompletionIndex,m.inlineCompletionsCount,m.selectedInlineCompletion.map(b=>{var w;return(w=b?.inlineCompletion.source.inlineCompletions.commands)!==null&&w!==void 0?w:[]}));return o.fragment.appendChild(v.getDomNode()),m.triggerExplicitly(),l.add(v),l}renderScreenReaderText(o,d,l){const p=L.$,m=p("div.hover-row.markdown-hover"),v=L.append(m,p("div.hover-contents",{["aria-live"]:"assertive"})),b=l.add(new s.MarkdownRenderer({editor:this._editor},this._languageService,this._openerService)),w=E=>{l.add(b.onDidRenderAsync(()=>{v.className="hover-contents code-hover-contents",o.onContentsChanged()}));const I=i.localize(0,null),M=l.add(b.render(new k.MarkdownString().appendText(I).appendCodeblock("text",E)));v.replaceChildren(M.element)};l.add((0,D.autorun)(E=>{var I;const M=(I=d.controller.model.read(E))===null||I===void 0?void 0:I.ghostText.read(E);if(M){const P=this._editor.getModel().getLineContent(M.lineNumber);w(M.renderForScreenReader(P))}else L.reset(v)})),o.fragment.appendChild(m)}};e.InlineCompletionsHoverParticipant=r,e.InlineCompletionsHoverParticipant=r=ke([fe(1,f.ILanguageService),fe(2,a.IOpenerService),fe(3,n.IAccessibilityService),fe(4,t.IInstantiationService),fe(5,u.ITelemetryService)],r)}),define(ne[918],se([1,0,16,103,916,917,258,30]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(S.InlineCompletionsController.ID,S.InlineCompletionsController,3),(0,L.registerEditorAction)(y.TriggerInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowNextInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowPreviousInlineSuggestionAction),(0,L.registerEditorAction)(y.AcceptNextWordOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptNextLineOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptInlineCompletion),(0,L.registerEditorAction)(y.HideInlineCompletion),(0,f.registerAction2)(y.ToggleAlwaysShowInlineSuggestionToolbar),k.HoverParticipantRegistry.register(D.InlineCompletionsHoverParticipant)}),define(ne[379],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IWorkspaceTrustManagementService=void 0,e.IWorkspaceTrustManagementService=(0,L.createDecorator)("workspaceTrustManagementService")}),define(ne[919],se([1,0,13,25,55,2,17,11,16,36,40,286,115,41,325,103,248,834,709,28,8,56,71,62,379,465]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowExcludeOptions=e.DisableHighlightingOfNonBasicAsciiCharactersAction=e.DisableHighlightingOfInvisibleCharactersAction=e.DisableHighlightingOfAmbiguousCharactersAction=e.DisableHighlightingInStringsAction=e.DisableHighlightingInCommentsAction=e.UnicodeHighlighterHoverParticipant=e.UnicodeHighlighter=e.warningIcon=void 0,e.warningIcon=(0,p.registerIcon)("extensions-warning-message",k.Codicon.warning,r.localize(0,null));let v=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._editorWorkerService=X,this._workspaceTrustService=H,this._highlighter=null,this._bannerClosed=!1,this._updateState=V=>{if(V&&V.hasMore){if(this._bannerClosed)return;const Y=Math.max(V.ambiguousCharacterCount,V.nonBasicAsciiCharacterCount,V.invisibleCharacterCount);let ie;if(V.nonBasicAsciiCharacterCount>=Y)ie={message:r.localize(1,null),command:new U};else if(V.ambiguousCharacterCount>=Y)ie={message:r.localize(2,null),command:new O};else if(V.invisibleCharacterCount>=Y)ie={message:r.localize(3,null),command:new W};else throw new Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:ie.message,icon:e.warningIcon,actions:[{label:ie.command.shortLabel,href:`command:${ie.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(B.createInstance(h.BannerController,J)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=J.getOption(123),this._register(H.onDidChangeTrust(V=>{this._updateHighlighter()})),this._register(J.onDidChangeConfiguration(V=>{V.hasChanged(123)&&(this._options=J.getOption(123),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;const J=b(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([J.nonBasicASCII,J.ambiguousCharacters,J.invisibleCharacters].every(H=>H===!1))return;const X={nonBasicASCII:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments,includeStrings:J.includeStrings,allowedCodePoints:Object.keys(J.allowedCharacters).map(H=>H.codePointAt(0)),allowedLocales:Object.keys(J.allowedLocales).map(H=>H==="_os"?new Intl.NumberFormat().resolvedOptions().locale:H==="_vscode"?S.language:H)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new w(this._editor,X,this._updateState,this._editorWorkerService):this._highlighter=new E(this._editor,X,this._updateState)}getDecorationInfo(J){return this._highlighter?this._highlighter.getDecorationInfo(J):null}};e.UnicodeHighlighter=v,v.ID="editor.contrib.unicodeHighlighter",e.UnicodeHighlighter=v=ke([fe(1,i.IEditorWorkerService),fe(2,m.IWorkspaceTrustManagementService),fe(3,o.IInstantiationService)],v);function b(Z,J){return{nonBasicASCII:J.nonBasicASCII===g.inUntrustedWorkspace?!Z:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments===g.inUntrustedWorkspace?!Z:J.includeComments,includeStrings:J.includeStrings===g.inUntrustedWorkspace?!Z:J.includeStrings,allowedCharacters:J.allowedCharacters,allowedLocales:J.allowedLocales}}let w=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._options=X,this._updateState=H,this._editorWorkerService=B,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(X=>{if(this._model.isDisposed()||this._model.getVersionId()!==J)return;this._updateState(X);const H=[];if(!X.hasMore)for(const B of X.ranges)H.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._decorations.set(H)})}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel();if(!(0,t.isModelDecorationVisible)(X,J))return null;const H=X.getValueInRange(J.range);return{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}}};w=ke([fe(3,i.IEditorWorkerService)],w);class E extends D.Disposable{constructor(J,X,H){super(),this._editor=J,this._options=X,this._updateState=H,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._editor.getVisibleRanges(),X=[],H={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const B of J){const V=s.UnicodeTextModelHighlighter.computeUnicodeHighlights(this._model,this._options,B);for(const Y of V.ranges)H.ranges.push(Y);H.ambiguousCharacterCount+=H.ambiguousCharacterCount,H.invisibleCharacterCount+=H.invisibleCharacterCount,H.nonBasicAsciiCharacterCount+=H.nonBasicAsciiCharacterCount,H.hasMore=H.hasMore||V.hasMore}if(!H.hasMore)for(const B of H.ranges)X.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._updateState(H),this._decorations.set(X)}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel(),H=X.getValueInRange(J.range);return(0,t.isModelDecorationVisible)(X,J)?{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}:null}}let I=class{constructor(J,X,H){this._editor=J,this._languageService=X,this._openerService=H,this.hoverOrdinal=5}computeSync(J,X){if(!this._editor.hasModel()||J.type!==1)return[];const H=this._editor.getModel(),B=this._editor.getContribution(v.ID);if(!B)return[];const V=[],Y=new Set;let ie=300;for(const ae of X){const ce=B.getDecorationInfo(ae);if(!ce)continue;const he=H.getValueInRange(ae.range).codePointAt(0),ue=P(he);let te;switch(ce.reason.kind){case 0:{(0,f.isBasicASCII)(ce.reason.confusableWith)?te=r.localize(4,null,ue,P(ce.reason.confusableWith.codePointAt(0))):te=r.localize(5,null,ue,P(ce.reason.confusableWith.codePointAt(0)));break}case 1:te=r.localize(6,null,ue);break;case 2:te=r.localize(7,null,ue);break}if(Y.has(te))continue;Y.add(te);const q={codePoint:he,reason:ce.reason,inComment:ce.inComment,inString:ce.inString},z=r.localize(8,null),ee=`command:${j.ID}?${encodeURIComponent(JSON.stringify(q))}`,$=new y.MarkdownString("",!0).appendMarkdown(te).appendText(" ").appendLink(ee,z);V.push(new u.MarkdownHover(this,ae.range,[$],!1,ie++))}return V}renderHoverParts(J,X){return(0,u.renderMarkdownHovers)(J,X,this._editor,this._languageService,this._openerService)}};e.UnicodeHighlighterHoverParticipant=I,e.UnicodeHighlighterHoverParticipant=I=ke([fe(1,n.ILanguageService),fe(2,d.IOpenerService)],I);function M(Z){return`U+${Z.toString(16).padStart(4,"0")}`}function P(Z){let J=`\`${M(Z)}\``;return f.InvisibleCharacters.isInvisibleCharacter(Z)||(J+=` "${`${x(Z)}`}"`),J}function x(Z){return Z===96?"`` ` ``":"`"+String.fromCodePoint(Z)+"`"}function T(Z,J){return s.UnicodeTextModelHighlighter.computeUnicodeHighlightReason(Z,J)}class A{constructor(){this.map=new Map}getDecorationFromOptions(J){return this.getDecoration(!J.includeComments,!J.includeStrings)}getDecoration(J,X){const H=`${J}${X}`;let B=this.map.get(H);return B||(B=C.ModelDecorationOptions.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:J,hideInStringTokens:X}),this.map.set(H,B)),B}}A.instance=new A;class N extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(10,null),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=r.localize(9,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeComments,!1,2)})}}e.DisableHighlightingInCommentsAction=N;class F extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(12,null),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=r.localize(11,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeStrings,!1,2)})}}e.DisableHighlightingInStringsAction=F;class O extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(14,null),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=r.localize(13,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.ambiguousCharacters,!1,2)})}}e.DisableHighlightingOfAmbiguousCharactersAction=O,O.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class W extends _.EditorAction{constructor(){super({id:W.ID,label:r.localize(16,null),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=r.localize(15,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.invisibleCharacters,!1,2)})}}e.DisableHighlightingOfInvisibleCharactersAction=W,W.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class U extends _.EditorAction{constructor(){super({id:U.ID,label:r.localize(18,null),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=r.localize(17,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.nonBasicASCII,!1,2)})}}e.DisableHighlightingOfNonBasicAsciiCharactersAction=U,U.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class j extends _.EditorAction{constructor(){super({id:j.ID,label:r.localize(19,null),alias:"Show Exclude Options",precondition:void 0})}run(J,X,H){return we(this,void 0,void 0,function*(){const{codePoint:B,reason:V,inString:Y,inComment:ie}=H,ae=String.fromCodePoint(B),ce=J.get(l.IQuickInputService),de=J.get(c.IConfigurationService);function he(q){return f.InvisibleCharacters.isInvisibleCharacter(q)?r.localize(20,null,M(q)):r.localize(21,null,`${M(q)} "${ae}"`)}const ue=[];if(V.kind===0)for(const q of V.notAmbiguousInLocales)ue.push({label:r.localize(22,null,q),run:()=>we(this,void 0,void 0,function*(){K(de,[q])})});if(ue.push({label:he(B),run:()=>R(de,[B])}),ie){const q=new N;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(Y){const q=new F;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}if(V.kind===0){const q=new O;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===1){const q=new W;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===2){const q=new U;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else G(V);const te=yield ce.pick(ue,{title:r.localize(23,null)});te&&(yield te.run())})}}e.ShowExcludeOptions=j,j.ID="editor.action.unicodeHighlight.showExcludeOptions";function R(Z,J){return we(this,void 0,void 0,function*(){const X=Z.getValue(g.unicodeHighlightConfigKeys.allowedCharacters);let H;typeof X=="object"&&X?H=X:H={};for(const B of J)H[String.fromCodePoint(B)]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedCharacters,H,2)})}function K(Z,J){var X;return we(this,void 0,void 0,function*(){const H=(X=Z.inspect(g.unicodeHighlightConfigKeys.allowedLocales).user)===null||X===void 0?void 0:X.value;let B;typeof H=="object"&&H?B=Object.assign({},H):B={};for(const V of J)B[V]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedLocales,B,2)})}function G(Z){throw new Error(`Unexpected value: ${Z}`)}(0,_.registerEditorAction)(O),(0,_.registerEditorAction)(W),(0,_.registerEditorAction)(U),(0,_.registerEditorAction)(j),(0,_.registerEditorContribution)(v.ID,v,1),a.HoverParticipantRegistry.register(I)}),define(ne[920],se([1,0,189,161,254,237,794,877,795,796,797,828,879,902,886,798,909,799,880,910,911,365,255,802,803,769,918,256,257,371,369,372,805,904,887,806,807,890,891,808,896,833,858,859,860,810,194,906,378,811,812,785,919,813,897,353,814,809,94,172]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[259],se([1,0,11,7,44,6,119,2,17,101,22,132,241,73,12,5,51,69,187,27,28,345,15,156,8,760,34,336,118,337,761,158,43,77,79,163,134,94,45,33,70,379,57,763,778,867,50,768,115,242,41,853,233,871,869,361,133,762,84,30,791,764,96,757,232,758,157,191,97,767,56,71,87,782,116,765,149,9,239,32,360,338,908,76,854,748]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he,ue,te,q,z,ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServices=e.updateConfigurationService=e.StandaloneConfigurationService=e.StandaloneKeybindingService=e.StandaloneCommandService=e.StandaloneNotificationService=void 0;class be{constructor(Ae){this.disposed=!1,this.model=Ae,this._onWillDispose=new D.Emitter}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Ie=class{constructor(Ae){this.modelService=Ae}createModelReference(Ae){const Ue=this.modelService.getModel(Ae);return Ue?Promise.resolve(new f.ImmortalReference(new be(Ue))):Promise.reject(new Error("Model not found"))}};Ie=ke([fe(0,u.IModelService)],Ie);class Ne{show(){return Ne.NULL_PROGRESS_RUNNER}showWhile(Ae,Ue){return we(this,void 0,void 0,function*(){yield Ae})}}Ne.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Re{withProgress(Ae,Ue,Ke){return Ue({report:()=>{}})}}class Ve{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}}class ze{confirm(Ae){return we(this,void 0,void 0,function*(){return{confirmed:this.doConfirm(Ae.message,Ae.detail),checkboxChecked:!1}})}doConfirm(Ae,Ue){let Ke=Ae;return Ue&&(Ke=Ke+` - -`+Ue),window.confirm(Ke)}prompt(Ae){var Ue,Ke;return we(this,void 0,void 0,function*(){let $e;if(this.doConfirm(Ae.message,Ae.detail)){const tt=[...(Ue=Ae.buttons)!==null&&Ue!==void 0?Ue:[]];Ae.cancelButton&&typeof Ae.cancelButton!="string"&&typeof Ae.cancelButton!="boolean"&&tt.push(Ae.cancelButton),$e=yield(Ke=tt[0])===null||Ke===void 0?void 0:Ke.run({checkboxChecked:!1})}return{result:$e}})}error(Ae,Ue){return we(this,void 0,void 0,function*(){yield this.prompt({type:g.default.Error,message:Ae,detail:Ue})})}}class We{info(Ae){return this.notify({severity:g.default.Info,message:Ae})}warn(Ae){return this.notify({severity:g.default.Warning,message:Ae})}error(Ae){return this.notify({severity:g.default.Error,message:Ae})}notify(Ae){switch(Ae.severity){case g.default.Error:console.error(Ae.message);break;case g.default.Warning:console.warn(Ae.message);break;default:console.log(Ae.message);break}return We.NO_OP}prompt(Ae,Ue,Ke,$e){return We.NO_OP}status(Ae,Ue){return f.Disposable.None}}e.StandaloneNotificationService=We,We.NO_OP=new x.NoOpNotification;let qe=class{constructor(Ae){this._onWillExecuteCommand=new D.Emitter,this._onDidExecuteCommand=new D.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=Ae}executeCommand(Ae,...Ue){const Ke=c.CommandsRegistry.getCommand(Ae);if(!Ke)return Promise.reject(new Error(`command '${Ae}' not found`));try{this._onWillExecuteCommand.fire({commandId:Ae,args:Ue});const $e=this._instantiationService.invokeFunction.apply(this._instantiationService,[Ke.handler,...Ue]);return this._onDidExecuteCommand.fire({commandId:Ae,args:Ue}),Promise.resolve($e)}catch($e){return Promise.reject($e)}}};e.StandaloneCommandService=qe,e.StandaloneCommandService=qe=ke([fe(0,m.IInstantiationService)],qe);let Oe=class extends v.AbstractKeybindingService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const ut=mt=>{const wt=new f.DisposableStore;wt.add(k.addDisposableListener(mt,k.EventType.KEY_DOWN,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._dispatch(yt,yt.target)&&(yt.preventDefault(),yt.stopPropagation())})),wt.add(k.addDisposableListener(mt,k.EventType.KEY_UP,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._singleModifierDispatch(yt,yt.target)&&yt.preventDefault()})),this._domNodeListeners.push(new Ge(mt,wt))},it=mt=>{for(let wt=0;wt{mt.getOption(60)||ut(mt.getContainerDomNode())},dt=mt=>{mt.getOption(60)||it(mt.getContainerDomNode())};this._register(tt.onCodeEditorAdd(rt)),this._register(tt.onCodeEditorRemove(dt)),tt.listCodeEditors().forEach(rt);const ft=mt=>{ut(mt.getContainerDomNode())},St=mt=>{it(mt.getContainerDomNode())};this._register(tt.onDiffEditorAdd(ft)),this._register(tt.onDiffEditorRemove(St)),tt.listDiffEditors().forEach(ft)}addDynamicKeybinding(Ae,Ue,Ke,$e){return(0,f.combinedDisposable)(c.CommandsRegistry.registerCommand(Ae,Ke),this.addDynamicKeybindings([{keybinding:Ue,command:Ae,when:$e}]))}addDynamicKeybindings(Ae){const Ue=Ae.map(Ke=>{var $e;return{keybinding:(0,S.decodeKeybinding)(Ke.keybinding,_.OS),command:($e=Ke.command)!==null&&$e!==void 0?$e:null,commandArgs:Ke.commandArgs,when:Ke.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(Ue),this.updateResolver(),(0,f.toDisposable)(()=>{for(let Ke=0;Kethis._log(Ke))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(Ae,Ue){const Ke=[];let $e=0;for(const et of Ae){const tt=et.when||void 0,ut=et.keybinding;if(!ut)Ke[$e++]=new I.ResolvedKeybindingItem(void 0,et.command,et.commandArgs,tt,Ue,null,!1);else{const it=M.USLayoutResolvedKeybinding.resolveKeybinding(ut,_.OS);for(const rt of it)Ke[$e++]=new I.ResolvedKeybindingItem(rt,et.command,et.commandArgs,tt,Ue,null,!1)}}return Ke}resolveKeyboardEvent(Ae){const Ue=new S.KeyCodeChord(Ae.ctrlKey,Ae.shiftKey,Ae.altKey,Ae.metaKey,Ae.keyCode);return new M.USLayoutResolvedKeybinding([Ue],_.OS)}};e.StandaloneKeybindingService=Oe,e.StandaloneKeybindingService=Oe=ke([fe(0,l.IContextKeyService),fe(1,c.ICommandService),fe(2,A.ITelemetryService),fe(3,x.INotificationService),fe(4,j.ILogService),fe(5,U.ICodeEditorService)],Oe);class Ge extends f.Disposable{constructor(Ae,Ue){super(),this.domNode=Ae,this._register(Ue)}}function Qe(je){return je&&typeof je=="object"&&(!je.overrideIdentifier||typeof je.overrideIdentifier=="string")&&(!je.resource||je.resource instanceof C.URI)}class st{constructor(){this._onDidChangeConfiguration=new D.Emitter,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const Ae=new Fe.DefaultConfiguration;this._configuration=new d.Configuration(Ae.reload(),new d.ConfigurationModel,new d.ConfigurationModel,new d.ConfigurationModel),Ae.dispose()}getValue(Ae,Ue){const Ke=typeof Ae=="string"?Ae:void 0,$e=Qe(Ae)?Ae:Qe(Ue)?Ue:{};return this._configuration.getValue(Ke,$e,void 0)}updateValues(Ae){const Ue={data:this._configuration.toData()},Ke=[];for(const $e of Ae){const[et,tt]=$e;this.getValue(et)!==tt&&(this._configuration.updateValue(et,tt),Ke.push(et))}if(Ke.length>0){const $e=new d.ConfigurationChangeEvent({keys:Ke,overrides:[]},Ue,this._configuration);$e.source=8,$e.sourceConfig=null,this._onDidChangeConfiguration.fire($e)}return Promise.resolve()}updateValue(Ae,Ue,Ke,$e){return this.updateValues([[Ae,Ue]])}inspect(Ae,Ue={}){return this._configuration.inspect(Ae,Ue,void 0)}}e.StandaloneConfigurationService=st;let nt=class{constructor(Ae,Ue,Ke){this.configurationService=Ae,this.modelService=Ue,this.languageService=Ke,this._onDidChangeConfiguration=new D.Emitter,this.configurationService.onDidChangeConfiguration($e=>{this._onDidChangeConfiguration.fire({affectedKeys:$e.affectedKeys,affectsConfiguration:(et,tt)=>$e.affectsConfiguration(tt)})})}getValue(Ae,Ue,Ke){const $e=t.Position.isIPosition(Ue)?Ue:null,et=$e?typeof Ke=="string"?Ke:void 0:typeof Ue=="string"?Ue:void 0,tt=Ae?this.getLanguage(Ae,$e):void 0;return typeof et>"u"?this.configurationService.getValue({resource:Ae,overrideIdentifier:tt}):this.configurationService.getValue(et,{resource:Ae,overrideIdentifier:tt})}getLanguage(Ae,Ue){const Ke=this.modelService.getModel(Ae);return Ke?Ue?Ke.getLanguageIdAtPosition(Ue.lineNumber,Ue.column):Ke.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(Ae)}};nt=ke([fe(0,o.IConfigurationService),fe(1,u.IModelService),fe(2,Y.ILanguageService)],nt);let ot=class{constructor(Ae){this.configurationService=Ae}getEOL(Ae,Ue){const Ke=this.configurationService.getValue("files.eol",{overrideIdentifier:Ue,resource:Ae});return Ke&&typeof Ke=="string"&&Ke!=="auto"?Ke:_.isLinux||_.isMacintosh?` -`:`\r -`}};ot=ke([fe(0,o.IConfigurationService)],ot);class ct{publicLog2(){}}class lt{constructor(){const Ae=C.URI.from({scheme:lt.SCHEME,authority:"model",path:"/"});this.workspace={id:N.STANDALONE_EDITOR_WORKSPACE_ID,folders:[new N.WorkspaceFolder({uri:Ae,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(Ae){return Ae&&Ae.scheme===lt.SCHEME?this.workspace.folders[0]:null}}lt.SCHEME="inmemory";function gt(je,Ae,Ue){if(!Ae||!(je instanceof st))return;const Ke=[];Object.keys(Ae).forEach($e=>{(0,i.isEditorConfigurationKey)($e)&&Ke.push([`editor.${$e}`,Ae[$e]]),Ue&&(0,i.isDiffEditorConfigurationKey)($e)&&Ke.push([`diffEditor.${$e}`,Ae[$e]])}),Ke.length>0&&je.updateValues(Ke)}e.updateConfigurationService=gt;let at=class{constructor(Ae){this._modelService=Ae}hasPreviewHandler(){return!1}apply(Ae,Ue){return we(this,void 0,void 0,function*(){const Ke=Array.isArray(Ae)?Ae:s.ResourceEdit.convert(Ae),$e=new Map;for(const ut of Ke){if(!(ut instanceof s.ResourceTextEdit))throw new Error("bad edit - only text edits are supported");const it=this._modelService.getModel(ut.resource);if(!it)throw new Error("bad edit - model not found");if(typeof ut.versionId=="number"&&it.getVersionId()!==ut.versionId)throw new Error("bad state - model changed in the meantime");let rt=$e.get(it);rt||(rt=[],$e.set(it,rt)),rt.push(n.EditOperation.replaceMove(a.Range.lift(ut.textEdit.range),ut.textEdit.text))}let et=0,tt=0;for(const[ut,it]of $e)ut.pushStackElement(),ut.pushEditOperations([],it,()=>[]),ut.pushStackElement(),tt+=1,et+=it.length;return{ariaSummary:L.format(O.StandaloneServicesNLS.bulkEditServiceSummary,et,tt),isApplied:et>0}})}};at=ke([fe(0,u.IModelService)],at);class ht{getUriLabel(Ae,Ue){return Ae.scheme==="file"?Ae.fsPath:Ae.path}getUriBasenameLabel(Ae){return(0,W.basename)(Ae)}}let Be=class extends G.ContextViewService{constructor(Ae,Ue){super(Ae),this._codeEditorService=Ue}showContextView(Ae,Ue,Ke){if(!Ue){const $e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();$e&&(Ue=$e.getContainerDomNode())}return super.showContextView(Ae,Ue,Ke)}};Be=ke([fe(0,F.ILayoutService),fe(1,U.ICodeEditorService)],Be);class Te{constructor(){this._neverEmitter=new D.Emitter,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class xe extends Z.LanguageService{constructor(){super()}}class He extends me.LogService{constructor(){super(new j.ConsoleLogger)}}let Ye=class extends J.ContextMenuService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et,tt),this.configure({blockMouse:!1})}};Ye=ke([fe(0,A.ITelemetryService),fe(1,x.INotificationService),fe(2,K.IContextViewService),fe(3,b.IKeybindingService),fe(4,z.IMenuService),fe(5,l.IContextKeyService)],Ye);class Ze{playAudioCue(Ae,Ue){return we(this,void 0,void 0,function*(){})}}(0,X.registerSingleton)(o.IConfigurationService,st,0),(0,X.registerSingleton)(r.ITextResourceConfigurationService,nt,0),(0,X.registerSingleton)(r.ITextResourcePropertiesService,ot,0),(0,X.registerSingleton)(N.IWorkspaceContextService,lt,0),(0,X.registerSingleton)(P.ILabelService,ht,0),(0,X.registerSingleton)(A.ITelemetryService,ct,0),(0,X.registerSingleton)(p.IDialogService,ze,0),(0,X.registerSingleton)(Ce.IEnvironmentService,Ve,0),(0,X.registerSingleton)(x.INotificationService,We,0),(0,X.registerSingleton)(De.IMarkerService,ye.MarkerService,0),(0,X.registerSingleton)(Y.ILanguageService,xe,0),(0,X.registerSingleton)(ue.IStandaloneThemeService,he.StandaloneThemeService,0),(0,X.registerSingleton)(j.ILogService,He,0),(0,X.registerSingleton)(u.IModelService,ce.ModelService,0),(0,X.registerSingleton)(ae.IMarkerDecorationsService,ie.MarkerDecorationsService,0),(0,X.registerSingleton)(l.IContextKeyService,oe.ContextKeyService,0),(0,X.registerSingleton)(T.IProgressService,Re,0),(0,X.registerSingleton)(T.IEditorProgressService,Ne,0),(0,X.registerSingleton)(Pe.IStorageService,Pe.InMemoryStorageService,0),(0,X.registerSingleton)(B.IEditorWorkerService,V.EditorWorkerService,0),(0,X.registerSingleton)(s.IBulkEditService,at,0),(0,X.registerSingleton)(R.IWorkspaceTrustManagementService,Te,0),(0,X.registerSingleton)(h.ITextModelService,Ie,0),(0,X.registerSingleton)(q.IAccessibilityService,te.AccessibilityService,0),(0,X.registerSingleton)(Le.IListService,Le.ListService,0),(0,X.registerSingleton)(c.ICommandService,qe,0),(0,X.registerSingleton)(b.IKeybindingService,Oe,0),(0,X.registerSingleton)(Me.IQuickInputService,de.StandaloneQuickInputService,0),(0,X.registerSingleton)(K.IContextViewService,Be,0),(0,X.registerSingleton)(Ee.IOpenerService,H.OpenerService,0),(0,X.registerSingleton)(re.IClipboardService,$.BrowserClipboardService,0),(0,X.registerSingleton)(K.IContextMenuService,Ye,0),(0,X.registerSingleton)(z.IMenuService,ee.MenuService,0),(0,X.registerSingleton)(_e.IAudioCueService,Ze,0);var Xe;(function(je){const Ae=new Se.ServiceCollection;for(const[it,rt]of(0,X.getSingletonServiceDescriptors)())Ae.set(it,rt);const Ue=new ve.InstantiationService(Ae,!0);Ae.set(m.IInstantiationService,Ue);function Ke(it){$e||tt({});const rt=Ae.get(it);if(!rt)throw new Error("Missing service "+it);return rt instanceof ge.SyncDescriptor?Ue.invokeFunction(dt=>dt.get(it)):rt}je.get=Ke;let $e=!1;const et=new D.Emitter;function tt(it){if($e)return Ue;$e=!0;for(const[dt,ft]of(0,X.getSingletonServiceDescriptors)())Ae.get(dt)||Ae.set(dt,ft);for(const dt in it)if(it.hasOwnProperty(dt)){const ft=(0,m.createDecorator)(dt);Ae.get(ft)instanceof ge.SyncDescriptor&&Ae.set(ft,it[dt])}const rt=(0,le.getEditorFeatures)();for(const dt of rt)try{Ue.createInstance(dt)}catch(ft){(0,pe.onUnexpectedError)(ft)}return et.fire(),Ue}je.initialize=tt;function ut(it){if($e)return it();const rt=new f.DisposableStore,dt=rt.add(et.event(()=>{dt.dispose(),rt.add(it())}));return rt}je.withServices=ut})(Xe||(e.StandaloneServices=Xe={}))}),define(ne[921],se([1,0,49,2,33,161,254,277,259,133,30,27,28,15,57,8,34,43,23,84,94,96,77,51,41,360,78,32,18,876,116]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTextModel=e.StandaloneDiffEditor2=e.StandaloneDiffEditor=e.StandaloneEditor=e.StandaloneCodeEditor=void 0;let P=0,x=!1;function T(j){if(!j){if(x)return;x=!0}L.setARIAContainer(j||document.body)}let A=class extends D.CodeEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);ce.ariaLabel=ce.ariaLabel||o.StandaloneCodeEditorNLS.editorViewAccessibleLabel,ce.ariaLabel=ce.ariaLabel+";"+o.StandaloneCodeEditorNLS.accessibilityHelpMessage,super(R,ce,{},G,Z,J,X,B,V,Y,ie,ae),H instanceof _.StandaloneKeybindingService?this._standaloneKeybindingService=H:this._standaloneKeybindingService=null,T(ce.ariaContainerElement)}addCommand(R,K,G){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const Z="DYNAMIC_"+ ++P,J=n.ContextKeyExpr.deserialize(G);return this._standaloneKeybindingService.addDynamicKeybinding(Z,R,K,J),Z}createContextKey(R,K){return this._contextKeyService.createKey(R,K)}addAction(R){if(typeof R.id!="string"||typeof R.label!="string"||typeof R.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),k.Disposable.None;const K=R.id,G=R.label,Z=n.ContextKeyExpr.and(n.ContextKeyExpr.equals("editorId",this.getId()),n.ContextKeyExpr.deserialize(R.precondition)),J=R.keybindings,X=n.ContextKeyExpr.and(Z,n.ContextKeyExpr.deserialize(R.keybindingContext)),H=R.contextMenuGroupId||null,B=R.contextMenuOrder||0,V=(ce,...de)=>Promise.resolve(R.run(this,...de)),Y=new k.DisposableStore,ie=this.getId()+":"+K;if(Y.add(s.CommandsRegistry.registerCommand(ie,V)),H){const ce={command:{id:ie,title:G},when:Z,group:H,order:B};Y.add(C.MenuRegistry.appendMenuItem(C.MenuId.EditorContext,ce))}if(Array.isArray(J))for(const ce of J)Y.add(this._standaloneKeybindingService.addDynamicKeybinding(ie,ce,V,X));const ae=new f.InternalEditorAction(ie,G,G,Z,(...ce)=>Promise.resolve(R.run(this,...ce)),this._contextKeyService);return this._actions.set(K,ae),Y.add((0,k.toDisposable)(()=>{this._actions.delete(K)})),Y}_triggerCommand(R,K){if(this._codeEditorService instanceof v.StandaloneCodeEditorService)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(R,K)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(R,K)}};e.StandaloneCodeEditor=A,e.StandaloneCodeEditor=A=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,r.IThemeService),fe(8,h.INotificationService),fe(9,c.IAccessibilityService),fe(10,w.ILanguageConfigurationService),fe(11,E.ILanguageFeaturesService)],A);let N=class extends A{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he){const ue=Object.assign({},K);(0,_.updateConfigurationService)(Y,ue,!1);const te=B.registerEditorContainer(R);typeof ue.theme=="string"&&B.setTheme(ue.theme),typeof ue.autoDetectHighContrast<"u"&&B.setAutoDetectHighContrast(!!ue.autoDetectHighContrast);const q=ue.model;delete ue.model,super(R,ue,G,Z,J,X,H,B,V,ie,de,he),this._configurationService=Y,this._standaloneThemeService=B,this._register(te);let z;if(typeof q>"u"){const ee=ce.getLanguageIdByMimeType(ue.language)||ue.language||b.PLAINTEXT_LANGUAGE_ID;z=W(ae,ce,ue.value||"",ee,void 0),this._ownsModel=!0}else z=q,this._ownsModel=!1;if(this._attachModel(z),z){const ee={oldModelUrl:null,newModelUrl:z.uri};this._onDidChangeModel.fire(ee)}}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!1),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_postDetachModelCleanup(R){super._postDetachModelCleanup(R),R&&this._ownsModel&&(R.dispose(),this._ownsModel=!1)}};e.StandaloneEditor=N,e.StandaloneEditor=N=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,g.IStandaloneThemeService),fe(8,h.INotificationService),fe(9,i.IConfigurationService),fe(10,c.IAccessibilityService),fe(11,p.IModelService),fe(12,m.ILanguageService),fe(13,w.ILanguageConfigurationService),fe(14,E.ILanguageFeaturesService)],N);let F=class extends S.DiffEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie){const ae=Object.assign({},K);(0,_.updateConfigurationService)(B,ae,!0);const ce=X.registerEditorContainer(R);typeof ae.theme=="string"&&X.setTheme(ae.theme),typeof ae.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ae.autoDetectHighContrast),super(R,ae,{},ie,Z,G,J,X,H,V,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(ce)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor=F,e.StandaloneDiffEditor=F=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService)],F);let O=class extends I.DiffEditorWidget2{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);(0,_.updateConfigurationService)(B,ce,!0);const de=X.registerEditorContainer(R);typeof ce.theme=="string"&&X.setTheme(ce.theme),typeof ce.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ce.autoDetectHighContrast),super(R,ce,{},Z,G,J,ae,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(de)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor2=O,e.StandaloneDiffEditor2=O=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService),fe(11,M.IAudioCueService)],O);function W(j,R,K,G,Z){if(K=K||"",!G){const J=K.indexOf(` -`);let X=K;return J!==-1&&(X=K.substring(0,J)),U(j,K,R.createByFilepathOrFirstLine(Z||null,X),Z)}return U(j,K,R.createById(G),Z)}e.createTextModel=W;function U(j,R,K,G){return j.createModel(R,K,G)}}),define(ne[922],se([1,0,2,11,22,324,33,237,36,231,148,48,29,32,154,41,51,773,208,752,921,259,133,27,97,34,16,30,15,78,109,66,145,56,471]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoEditorAPI=e.registerEditorOpener=e.registerLinkOpener=e.registerCommand=e.remeasureFonts=e.setTheme=e.defineTheme=e.tokenize=e.colorizeModelLine=e.colorize=e.colorizeElement=e.createWebWorker=e.onDidChangeModelLanguage=e.onWillDisposeModel=e.onDidCreateModel=e.getModels=e.getModel=e.onDidChangeMarkers=e.getModelMarkers=e.removeAllMarkers=e.setModelMarkers=e.setModelLanguage=e.createModel=e.addKeybindingRules=e.addKeybindingRule=e.addEditorAction=e.addCommand=e.createDiffNavigator=e.createDiffEditor=e.getDiffEditors=e.getEditors=e.onDidCreateDiffEditor=e.onDidCreateEditor=e.create=void 0;function A(ye,Ee,Me){return d.StandaloneServices.initialize(Me||{}).createInstance(o.StandaloneEditor,ye,Ee)}e.create=A;function N(ye){return d.StandaloneServices.get(S.ICodeEditorService).onCodeEditorAdd(Me=>{ye(Me)})}e.onDidCreateEditor=N;function F(ye){return d.StandaloneServices.get(S.ICodeEditorService).onDiffEditorAdd(Me=>{ye(Me)})}e.onDidCreateDiffEditor=F;function O(){return d.StandaloneServices.get(S.ICodeEditorService).listCodeEditors()}e.getEditors=O;function W(){return d.StandaloneServices.get(S.ICodeEditorService).listDiffEditors()}e.getDiffEditors=W;function U(ye,Ee,Me){var Pe;const Fe=d.StandaloneServices.initialize(Me||{});return!((Pe=Ee?.experimental)===null||Pe===void 0)&&Pe.useVersion2?Fe.createInstance(o.StandaloneDiffEditor2,ye,Ee):Fe.createInstance(o.StandaloneDiffEditor,ye,Ee)}e.createDiffEditor=U;function j(ye,Ee){return d.StandaloneServices.initialize({}).createInstance(f.DiffNavigator,ye,Ee)}e.createDiffNavigator=j;function R(ye){if(typeof ye.id!="string"||typeof ye.run!="function")throw new Error("Invalid command descriptor, `id` and `run` are required properties!");return p.CommandsRegistry.registerCommand(ye.id,ye.run)}e.addCommand=R;function K(ye){if(typeof ye.id!="string"||typeof ye.label!="string"||typeof ye.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");const Ee=E.ContextKeyExpr.deserialize(ye.precondition),Me=(Fe,..._e)=>b.EditorCommand.runEditorCommand(Fe,_e,Ee,(me,le,pe)=>Promise.resolve(ye.run(le,...pe))),Pe=new L.DisposableStore;if(Pe.add(p.CommandsRegistry.registerCommand(ye.id,Me)),ye.contextMenuGroupId){const Fe={command:{id:ye.id,title:ye.label},when:Ee,group:ye.contextMenuGroupId,order:ye.contextMenuOrder||0};Pe.add(w.MenuRegistry.appendMenuItem(w.MenuId.EditorContext,Fe))}if(Array.isArray(ye.keybindings)){const Fe=d.StandaloneServices.get(v.IKeybindingService);if(!(Fe instanceof d.StandaloneKeybindingService))console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService");else{const _e=E.ContextKeyExpr.and(Ee,E.ContextKeyExpr.deserialize(ye.keybindingContext));Pe.add(Fe.addDynamicKeybindings(ye.keybindings.map(me=>({keybinding:me,command:ye.id,when:_e}))))}}return Pe}e.addEditorAction=K;function G(ye){return Z([ye])}e.addKeybindingRule=G;function Z(ye){const Ee=d.StandaloneServices.get(v.IKeybindingService);return Ee instanceof d.StandaloneKeybindingService?Ee.addDynamicKeybindings(ye.map(Me=>({keybinding:Me.keybinding,command:Me.command,commandArgs:Me.commandArgs,when:E.ContextKeyExpr.deserialize(Me.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),L.Disposable.None)}e.addKeybindingRules=Z;function J(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService),Fe=Pe.getLanguageIdByMimeType(Ee)||Ee;return(0,o.createTextModel)(d.StandaloneServices.get(u.IModelService),Pe,ye,Fe,Me)}e.createModel=J;function X(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=Me.getLanguageIdByMimeType(Ee)||Ee||I.PLAINTEXT_LANGUAGE_ID;ye.setLanguage(Me.createById(Pe))}e.setModelLanguage=X;function H(ye,Ee,Me){ye&&d.StandaloneServices.get(m.IMarkerService).changeOne(Ee,ye.uri,Me)}e.setModelMarkers=H;function B(ye){d.StandaloneServices.get(m.IMarkerService).changeAll(ye,[])}e.removeAllMarkers=B;function V(ye){return d.StandaloneServices.get(m.IMarkerService).read(ye)}e.getModelMarkers=V;function Y(ye){return d.StandaloneServices.get(m.IMarkerService).onMarkerChanged(ye)}e.onDidChangeMarkers=Y;function ie(ye){return d.StandaloneServices.get(u.IModelService).getModel(ye)}e.getModel=ie;function ae(){return d.StandaloneServices.get(u.IModelService).getModels()}e.getModels=ae;function ce(ye){return d.StandaloneServices.get(u.IModelService).onModelAdded(ye)}e.onDidCreateModel=ce;function de(ye){return d.StandaloneServices.get(u.IModelService).onModelRemoved(ye)}e.onWillDisposeModel=de;function he(ye){return d.StandaloneServices.get(u.IModelService).onModelLanguageChanged(Me=>{ye({model:Me.model,oldLanguage:Me.oldLanguageId})})}e.onDidChangeModelLanguage=he;function ue(ye){return(0,h.createWebWorker)(d.StandaloneServices.get(u.IModelService),d.StandaloneServices.get(n.ILanguageConfigurationService),ye)}e.createWebWorker=ue;function te(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=d.StandaloneServices.get(l.IStandaloneThemeService);return c.Colorizer.colorizeElement(Pe,Me,ye,Ee).then(()=>{Pe.registerEditorContainer(ye)})}e.colorizeElement=te;function q(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService);return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorize(Pe,ye,Ee,Me)}e.colorize=q;function z(ye,Ee,Me=4){return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorizeModelLine(ye,Ee,Me)}e.colorizeModelLine=z;function ee(ye){const Ee=i.TokenizationRegistry.get(ye);return Ee||{getInitialState:()=>t.NullState,tokenize:(Me,Pe,Fe)=>(0,t.nullTokenize)(ye,Fe)}}function $(ye,Ee){i.TokenizationRegistry.getOrCreate(Ee);const Me=ee(Ee),Pe=(0,k.splitLines)(ye),Fe=[];let _e=Me.getInitialState();for(let me=0,le=Pe.length;mewe(this,void 0,void 0,function*(){var _e;if(!Pe)return null;const me=(_e=Me.options)===null||_e===void 0?void 0:_e.selection;let le;return me&&typeof me.endLineNumber=="number"&&typeof me.endColumn=="number"?le=me:me&&(le={lineNumber:me.startLineNumber,column:me.startColumn}),(yield ye.openCodeEditor(Pe,Me.resource,le))?Pe:null}))}e.registerEditorOpener=Le;function De(){return{create:A,getEditors:O,getDiffEditors:W,onDidCreateEditor:N,onDidCreateDiffEditor:F,createDiffEditor:U,createDiffNavigator:j,addCommand:R,addEditorAction:K,addKeybindingRule:G,addKeybindingRules:Z,createModel:J,setModelLanguage:X,setModelMarkers:H,getModelMarkers:V,removeAllMarkers:B,onDidChangeMarkers:Y,getModels:ae,getModel:ie,onDidCreateModel:ce,onWillDisposeModel:de,onDidChangeModelLanguage:he,createWebWorker:ue,colorizeElement:te,colorize:q,colorizeModelLine:z,tokenize:$,defineTheme:re,setTheme:oe,remeasureFonts:ge,registerCommand:ve,registerLinkOpener:Se,registerEditorOpener:Le,AccessibilitySupport:r.AccessibilitySupport,ContentWidgetPositionPreference:r.ContentWidgetPositionPreference,CursorChangeReason:r.CursorChangeReason,DefaultEndOfLine:r.DefaultEndOfLine,EditorAutoIndentStrategy:r.EditorAutoIndentStrategy,EditorOption:r.EditorOption,EndOfLinePreference:r.EndOfLinePreference,EndOfLineSequence:r.EndOfLineSequence,MinimapPosition:r.MinimapPosition,MouseTargetType:r.MouseTargetType,OverlayWidgetPositionPreference:r.OverlayWidgetPositionPreference,OverviewRulerLane:r.OverviewRulerLane,GlyphMarginLane:r.GlyphMarginLane,RenderLineNumbersType:r.RenderLineNumbersType,RenderMinimap:r.RenderMinimap,ScrollbarVisibility:r.ScrollbarVisibility,ScrollType:r.ScrollType,TextEditorCursorBlinkingStyle:r.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:r.TextEditorCursorStyle,TrackedRangeStickiness:r.TrackedRangeStickiness,WrappingIndent:r.WrappingIndent,InjectedTextCursorStops:r.InjectedTextCursorStops,PositionAffinity:r.PositionAffinity,ConfigurationChangedEvent:_.ConfigurationChangedEvent,BareFontInfo:g.BareFontInfo,FontInfo:g.FontInfo,TextModelResolvedOptions:s.TextModelResolvedOptions,FindMatch:s.FindMatch,ApplyUpdateResult:_.ApplyUpdateResult,LineRange:P.LineRange,LineRangeMapping:M.LineRangeMapping,RangeMapping:M.RangeMapping,EditorZoom:x.EditorZoom,MovedText:M.MovedText,SimpleLineRangeMapping:M.SimpleLineRangeMapping,EditorType:C.EditorType,EditorOptions:_.EditorOptions}}e.createMonacoEditorAPI=De}),define(ne[923],se([1,0,38,5,29,32,78,41,208,259,550,334,133,97,18,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoLanguagesAPI=e.registerInlayHintsProvider=e.registerInlineCompletionsProvider=e.registerDocumentRangeSemanticTokensProvider=e.registerDocumentSemanticTokensProvider=e.registerSelectionRangeProvider=e.registerDeclarationProvider=e.registerFoldingRangeProvider=e.registerColorProvider=e.registerCompletionItemProvider=e.registerLinkProvider=e.registerOnTypeFormattingEditProvider=e.registerDocumentRangeFormattingEditProvider=e.registerDocumentFormattingEditProvider=e.registerCodeActionProvider=e.registerCodeLensProvider=e.registerTypeDefinitionProvider=e.registerImplementationProvider=e.registerDefinitionProvider=e.registerLinkedEditingRangeProvider=e.registerDocumentHighlightProvider=e.registerDocumentSymbolProvider=e.registerHoverProvider=e.registerSignatureHelpProvider=e.registerRenameProvider=e.registerReferenceProvider=e.setMonarchTokensProvider=e.setTokensProvider=e.registerTokensProviderFactory=e.setColorMap=e.TokenizationSupportAdapter=e.EncodedTokenizationSupportAdapter=e.setLanguageConfiguration=e.onLanguageEncountered=e.onLanguage=e.getEncodedLanguageId=e.getLanguages=e.register=void 0;function u(q){S.ModesRegistry.registerLanguage(q)}e.register=u;function h(){let q=[];return q=q.concat(S.ModesRegistry.getLanguages()),q}e.getLanguages=h;function r(q){return g.StandaloneServices.get(f.ILanguageService).languageIdCodec.encodeLanguageId(q)}e.getEncodedLanguageId=r;function c(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestRichLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguage=c;function o(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestBasicLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguageEncountered=o;function d(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set configuration for unknown language ${q}`);return g.StandaloneServices.get(D.ILanguageConfigurationService).register(q,z,100)}e.setLanguageConfiguration=d;class l{constructor(z,ee){this._languageId=z,this._actual=ee}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(z,ee,$){if(typeof this._actual.tokenize=="function")return p.adaptTokenize(this._languageId,this._actual,z,$);throw new Error("Not supported!")}tokenizeEncoded(z,ee,$){const re=this._actual.tokenizeEncoded(z,$);return new y.EncodedTokenizationResult(re.tokens,re.endState)}}e.EncodedTokenizationSupportAdapter=l;class p{constructor(z,ee,$,re){this._languageId=z,this._actual=ee,this._languageService=$,this._standaloneThemeService=re}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(z,ee){const $=[];let re=0;for(let oe=0,ge=z.length;oe0&&oe[ge-1]===Ee)continue;let Me=ye.startIndex;Le===0?Me=0:Mewe(this,void 0,void 0,function*(){const $=yield Promise.resolve(z.create());return $?m($)?E(q,$):new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService)):null}));return y.TokenizationRegistry.registerFactory(q,ee)}e.registerTokensProviderFactory=I;function M(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set tokens provider for unknown language ${q}`);return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,E(q,z))}e.setTokensProvider=M;function P(q,z){const ee=$=>new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService));return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,ee(z))}e.setMonarchTokensProvider=P;function x(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).referenceProvider.register(q,z)}e.registerReferenceProvider=x;function T(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).renameProvider.register(q,z)}e.registerRenameProvider=T;function A(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).signatureHelpProvider.register(q,z)}e.registerSignatureHelpProvider=A;function N(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).hoverProvider.register(q,{provideHover:($,re,oe)=>{const ge=$.getWordAtPosition(re);return Promise.resolve(z.provideHover($,re,oe)).then(ve=>{if(ve)return!ve.range&&ge&&(ve.range=new k.Range(re.lineNumber,ge.startColumn,re.lineNumber,ge.endColumn)),ve.range||(ve.range=new k.Range(re.lineNumber,re.column,re.lineNumber,re.column)),ve})}})}e.registerHoverProvider=N;function F(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSymbolProvider.register(q,z)}e.registerDocumentSymbolProvider=F;function O(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentHighlightProvider.register(q,z)}e.registerDocumentHighlightProvider=O;function W(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkedEditingRangeProvider.register(q,z)}e.registerLinkedEditingRangeProvider=W;function U(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).definitionProvider.register(q,z)}e.registerDefinitionProvider=U;function j(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).implementationProvider.register(q,z)}e.registerImplementationProvider=j;function R(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).typeDefinitionProvider.register(q,z)}e.registerTypeDefinitionProvider=R;function K(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeLensProvider.register(q,z)}e.registerCodeLensProvider=K;function G(q,z,ee){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeActionProvider.register(q,{providedCodeActionKinds:ee?.providedCodeActionKinds,documentation:ee?.documentation,provideCodeActions:(re,oe,ge,ve)=>{const Le=g.StandaloneServices.get(n.IMarkerService).read({resource:re.uri}).filter(De=>k.Range.areIntersectingOrTouching(De,oe));return z.provideCodeActions(re,oe,{markers:Le,only:ge.only,trigger:ge.trigger},ve)},resolveCodeAction:z.resolveCodeAction})}e.registerCodeActionProvider=G;function Z(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentFormattingEditProvider.register(q,z)}e.registerDocumentFormattingEditProvider=Z;function J(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeFormattingEditProvider.register(q,z)}e.registerDocumentRangeFormattingEditProvider=J;function X(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).onTypeFormattingEditProvider.register(q,z)}e.registerOnTypeFormattingEditProvider=X;function H(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkProvider.register(q,z)}e.registerLinkProvider=H;function B(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).completionProvider.register(q,z)}e.registerCompletionItemProvider=B;function V(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).colorProvider.register(q,z)}e.registerColorProvider=V;function Y(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).foldingRangeProvider.register(q,z)}e.registerFoldingRangeProvider=Y;function ie(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).declarationProvider.register(q,z)}e.registerDeclarationProvider=ie;function ae(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).selectionRangeProvider.register(q,z)}e.registerSelectionRangeProvider=ae;function ce(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSemanticTokensProvider.register(q,z)}e.registerDocumentSemanticTokensProvider=ce;function de(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeSemanticTokensProvider.register(q,z)}e.registerDocumentRangeSemanticTokensProvider=de;function he(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlineCompletionsProvider.register(q,z)}e.registerInlineCompletionsProvider=he;function ue(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlayHintsProvider.register(q,z)}e.registerInlayHintsProvider=ue;function te(){return{register:u,getLanguages:h,onLanguage:c,onLanguageEncountered:o,getEncodedLanguageId:r,setLanguageConfiguration:d,setColorMap:w,registerTokensProviderFactory:I,setTokensProvider:M,setMonarchTokensProvider:P,registerReferenceProvider:x,registerRenameProvider:T,registerCompletionItemProvider:B,registerSignatureHelpProvider:A,registerHoverProvider:N,registerDocumentSymbolProvider:F,registerDocumentHighlightProvider:O,registerLinkedEditingRangeProvider:W,registerDefinitionProvider:U,registerImplementationProvider:j,registerTypeDefinitionProvider:R,registerCodeLensProvider:K,registerCodeActionProvider:G,registerDocumentFormattingEditProvider:Z,registerDocumentRangeFormattingEditProvider:J,registerOnTypeFormattingEditProvider:X,registerLinkProvider:H,registerColorProvider:V,registerFoldingRangeProvider:Y,registerDeclarationProvider:ie,registerSelectionRangeProvider:ae,registerDocumentSemanticTokensProvider:ce,registerDocumentRangeSemanticTokensProvider:de,registerInlineCompletionsProvider:he,registerInlayHintsProvider:ue,DocumentHighlightKind:_.DocumentHighlightKind,CompletionItemKind:_.CompletionItemKind,CompletionItemTag:_.CompletionItemTag,CompletionItemInsertTextRule:_.CompletionItemInsertTextRule,SymbolKind:_.SymbolKind,SymbolTag:_.SymbolTag,IndentAction:_.IndentAction,CompletionTriggerKind:_.CompletionTriggerKind,SignatureHelpTriggerKind:_.SignatureHelpTriggerKind,InlayHintKind:_.InlayHintKind,InlineCompletionTriggerKind:_.InlineCompletionTriggerKind,CodeActionTriggerType:_.CodeActionTriggerType,FoldingRangeKind:y.FoldingRangeKind,SelectedSuggestionInfo:y.SelectedSuggestionInfo}}e.createMonacoLanguagesAPI=te}),define(ne[924],se([1,0,36,327,922,923,351]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.languages=e.editor=e.Token=e.Uri=e.MarkerTag=e.MarkerSeverity=e.SelectionDirection=e.Selection=e.Range=e.Position=e.KeyMod=e.KeyCode=e.Emitter=e.CancellationTokenSource=void 0,L.EditorOptions.wrappingIndent.defaultValue=0,L.EditorOptions.glyphMargin.defaultValue=!1,L.EditorOptions.autoIndent.defaultValue=3,L.EditorOptions.overviewRulerLanes.defaultValue=2,S.FormattingConflicts.setFormatterSelector((g,C,s)=>Promise.resolve(g[0]));const f=(0,k.createMonacoBaseAPI)();f.editor=(0,y.createMonacoEditorAPI)(),f.languages=(0,D.createMonacoLanguagesAPI)(),e.CancellationTokenSource=f.CancellationTokenSource,e.Emitter=f.Emitter,e.KeyCode=f.KeyCode,e.KeyMod=f.KeyMod,e.Position=f.Position,e.Range=f.Range,e.Selection=f.Selection,e.SelectionDirection=f.SelectionDirection,e.MarkerSeverity=f.MarkerSeverity,e.MarkerTag=f.MarkerTag,e.Uri=f.Uri,e.Token=f.Token,e.editor=f.editor,e.languages=f.languages;const _=globalThis.MonacoEnvironment;(_?.globalAPI||typeof define=="function"&&define.amd)&&(globalThis.monaco=f),typeof globalThis.require<"u"&&typeof globalThis.require.config=="function"&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})});var Ci=this&&this.__createBinding||(Object.create?function(Q,e,L,k){k===void 0&&(k=L);var y=Object.getOwnPropertyDescriptor(e,L);(!y||("get"in y?!e.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return e[L]}}),Object.defineProperty(Q,k,y)}:function(Q,e,L,k){k===void 0&&(k=L),Q[k]=e[L]}),bi=this&&this.__exportStar||function(Q,e){for(var L in Q)L!=="default"&&!Object.prototype.hasOwnProperty.call(e,L)&&Ci(e,Q,L)};define(ne[926],se([1,0,924,920,815,816,787,862,863,820,907,865]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),bi(L,e)})}).call(this); - - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/basic-languages/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var y=Object.create;var g=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var a=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,s)=>(typeof require!="undefined"?require:r)[s]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var D=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var m=(e,r,s,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of q(r))!M.call(e,o)&&o!==s&&g(e,o,{get:()=>r[o],enumerable:!(n=x(r,o))||n.enumerable});return e},p=(e,r,s)=>(m(e,r,"default"),s&&m(s,r,"default")),c=(e,r,s)=>(s=e!=null?y(A(e)):{},m(r||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var v=D((w,d)=>{var b=c(a("vs/editor/editor.api"));d.exports=b});var t={};p(t,c(v()));var f={},u={},l=class{static getOrCreate(r){return u[r]||(u[r]=new l(r)),u[r]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(r){this._languageId=r,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((s,n)=>{this._lazyLoadPromiseResolve=s,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,f[this._languageId].loader().then(r=>this._lazyLoadPromiseResolve(r),r=>this._lazyLoadPromiseReject(r))),this._lazyLoadPromise}};function i(e){let r=e.id;f[r]=e,t.languages.register(e);let s=l.getOrCreate(r);t.languages.registerTokensProviderFactory(r,{create:async()=>(await s.load()).language}),t.languages.onLanguageEncountered(r,async()=>{let n=await s.load();t.languages.setLanguageConfiguration(r,n.conf)})}i({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/abap/abap"],e,r)})});i({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/apex/apex"],e,r)})});i({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/azcli/azcli"],e,r)})});i({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bat/bat"],e,r)})});i({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bicep/bicep"],e,r)})});i({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cameligo/cameligo"],e,r)})});i({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/clojure/clojure"],e,r)})});i({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/coffee/coffee"],e,r)})});i({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csharp/csharp"],e,r)})});i({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csp/csp"],e,r)})});i({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/css/css"],e,r)})});i({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cypher/cypher"],e,r)})});i({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dart/dart"],e,r)})});i({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dockerfile/dockerfile"],e,r)})});i({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ecl/ecl"],e,r)})});i({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/elixir/elixir"],e,r)})});i({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/flow9/flow9"],e,r)})});i({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/fsharp/fsharp"],e,r)})});i({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationBracket)});i({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationBracket)});i({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationDollar)});i({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationBracket)});i({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/go/go"],e,r)})});i({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/graphql/graphql"],e,r)})});i({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/handlebars/handlebars"],e,r)})});i({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/hcl/hcl"],e,r)})});i({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/html/html"],e,r)})});i({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ini/ini"],e,r)})});i({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/java/java"],e,r)})});i({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/javascript/javascript"],e,r)})});i({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/julia/julia"],e,r)})});i({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/kotlin/kotlin"],e,r)})});i({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/less/less"],e,r)})});i({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lexon/lexon"],e,r)})});i({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lua/lua"],e,r)})});i({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/liquid/liquid"],e,r)})});i({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/m3/m3"],e,r)})});i({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/markdown/markdown"],e,r)})});i({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mdx/mdx"],e,r)})});i({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mips/mips"],e,r)})});i({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/msdax/msdax"],e,r)})});i({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mysql/mysql"],e,r)})});i({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/objective-c/objective-c"],e,r)})});i({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascal/pascal"],e,r)})});i({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascaligo/pascaligo"],e,r)})});i({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/perl/perl"],e,r)})});i({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pgsql/pgsql"],e,r)})});i({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/php/php"],e,r)})});i({id:"pla",extensions:[".pla"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pla/pla"],e,r)})});i({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/postiats/postiats"],e,r)})});i({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powerquery/powerquery"],e,r)})});i({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powershell/powershell"],e,r)})});i({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/protobuf/protobuf"],e,r)})});i({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pug/pug"],e,r)})});i({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/python/python"],e,r)})});i({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/qsharp/qsharp"],e,r)})});i({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/r/r"],e,r)})});i({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/razor/razor"],e,r)})});i({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redis/redis"],e,r)})});i({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redshift/redshift"],e,r)})});i({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/restructuredtext/restructuredtext"],e,r)})});i({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ruby/ruby"],e,r)})});i({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/rust/rust"],e,r)})});i({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sb/sb"],e,r)})});i({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scala/scala"],e,r)})});i({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scheme/scheme"],e,r)})});i({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scss/scss"],e,r)})});i({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/shell/shell"],e,r)})});i({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/solidity/solidity"],e,r)})});i({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sophia/sophia"],e,r)})});i({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sparql/sparql"],e,r)})});i({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sql/sql"],e,r)})});i({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/st/st"],e,r)})});i({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/swift/swift"],e,r)})});i({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/tcl/tcl"],e,r)})});i({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/twig/twig"],e,r)})});i({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/typescript/typescript"],e,r)})});i({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/vb/vb"],e,r)})});i({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/wgsl/wgsl"],e,r)})});i({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\new Promise((e,r)=>{a(["vs/basic-languages/xml/xml"],e,r)})});i({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/yaml/yaml"],e,r)})});})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/css/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var C=Object.create;var g=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(n,r)=>(typeof require!="undefined"?require:n)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),M=(e,n)=>{for(var r in n)g(e,r,{get:n[r],enumerable:!0})},s=(e,n,r,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(e,t)&&t!==r&&g(e,t,{get:()=>n[t],enumerable:!(a=S(n,t))||a.enumerable});return e},y=(e,n,r)=>(s(e,n,"default"),r&&s(r,n,"default")),w=(e,n,r)=>(r=e!=null?C(x(e)):{},s(n||!e||!e.__esModule?g(r,"default",{value:e,enumerable:!0}):r,e)),P=e=>s(g({},"__esModule",{value:!0}),e);var v=I((k,D)=>{var O=w(l("vs/editor/editor.api"));D.exports=O});var R={};M(R,{cssDefaults:()=>p,lessDefaults:()=>f,scssDefaults:()=>c});var o={};y(o,w(v()));var i=class{_onDidChange=new o.Emitter;_options;_modeConfiguration;_languageId;constructor(n,r,a){this._languageId=n,this.setOptions(r),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(n){this.setOptions(n)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},d={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},u={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},p=new i("css",d,u),c=new i("scss",d,u),f=new i("less",d,u);o.languages.css={cssDefaults:p,lessDefaults:f,scssDefaults:c};function m(){return new Promise((e,n)=>{l(["vs/language/css/cssMode"],e,n)})}o.languages.onLanguage("less",()=>{m().then(e=>e.setupMode(f))});o.languages.onLanguage("scss",()=>{m().then(e=>e.setupMode(c))});o.languages.onLanguage("css",()=>{m().then(e=>e.setupMode(p))});return P(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/html/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var w=Object.create;var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var f=(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 k=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),T=(e,n)=>{for(var t in n)l(e,t,{get:n[t],enumerable:!0})},d=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of H(n))!_.call(e,o)&&o!==t&&l(e,o,{get:()=>n[o],enumerable:!(r=R(n,o))||r.enumerable});return e},b=(e,n,t)=>(d(e,n,"default"),t&&d(t,n,"default")),v=(e,n,t)=>(t=e!=null?w(O(e)):{},d(n||!e||!e.__esModule?l(t,"default",{value:e,enumerable:!0}):t,e)),A=e=>d(l({},"__esModule",{value:!0}),e);var C=k((z,h)=>{var E=v(f("vs/editor/editor.api"));h.exports=E});var V={};T(V,{handlebarDefaults:()=>M,handlebarLanguageService:()=>m,htmlDefaults:()=>x,htmlLanguageService:()=>c,razorDefaults:()=>I,razorLanguageService:()=>y,registerHTMLLanguageService:()=>s});var a={};b(a,v(C()));var p=class{_onDidChange=new a.Emitter;_options;_modeConfiguration;_languageId;constructor(n,t,r){this._languageId=n,this.setOptions(t),this.setModeConfiguration(r)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},F={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},u={format:F,suggest:{},data:{useDefaultDataProvider:!0}};function g(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===i,documentFormattingEdits:e===i,documentRangeFormattingEdits:e===i}}var i="html",D="handlebars",L="razor",c=s(i,u,g(i)),x=c.defaults,m=s(D,u,g(D)),M=m.defaults,y=s(L,u,g(L)),I=y.defaults;a.languages.html={htmlDefaults:x,razorDefaults:I,handlebarDefaults:M,htmlLanguageService:c,handlebarLanguageService:m,razorLanguageService:y,registerHTMLLanguageService:s};function P(){return new Promise((e,n)=>{f(["vs/language/html/htmlMode"],e,n)})}function s(e,n=u,t=g(e)){let r=new p(e,n,t),o,S=a.languages.onLanguage(e,async()=>{o=(await P()).setupMode(r)});return{defaults:r,dispose(){S.dispose(),o?.dispose(),o=void 0}}}return A(V);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/json/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var p=Object.create;var r=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var g=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var D=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports),b=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},s=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of h(e))!C.call(o,i)&&i!==n&&r(o,i,{get:()=>e[i],enumerable:!(a=y(e,i))||a.enumerable});return o},u=(o,e,n)=>(s(o,e,"default"),n&&s(n,e,"default")),c=(o,e,n)=>(n=o!=null?p(v(o)):{},s(e||!o||!o.__esModule?r(n,"default",{value:o,enumerable:!0}):n,o)),O=o=>s(r({},"__esModule",{value:!0}),o);var f=D((w,m)=>{var M=c(g("vs/editor/editor.api"));m.exports=M});var R={};b(R,{jsonDefaults:()=>d});var t={};u(t,c(f()));var l=class{_onDidChange=new t.Emitter;_diagnosticsOptions;_modeConfiguration;_languageId;constructor(e,n,a){this._languageId=e,this.setDiagnosticsOptions(n),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},j={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},S={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d=new l("json",j,S);t.languages.json={jsonDefaults:d};function _(){return new Promise((o,e)=>{g(["vs/language/json/jsonMode"],o,e)})}t.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});t.languages.onLanguage("json",()=>{_().then(o=>o.setupMode(d))});return O(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/typescript/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var N=Object.create;var d=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty;var c=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var w=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),A=(n,e)=>{for(var t in e)d(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of M(e))!F.call(n,r)&&r!==t&&d(n,r,{get:()=>e[r],enumerable:!(i=H(e,r))||i.enumerable});return n},D=(n,e,t)=>(g(n,e,"default"),t&&g(t,e,"default")),C=(n,e,t)=>(t=n!=null?N(R(n)):{},g(e||!n||!n.__esModule?d(t,"default",{value:n,enumerable:!0}):t,n)),W=n=>g(d({},"__esModule",{value:!0}),n);var _=w((B,E)=>{var V=C(c("vs/editor/editor.api"));E.exports=V});var T={};A(T,{JsxEmit:()=>f,ModuleKind:()=>b,ModuleResolutionKind:()=>O,NewLineKind:()=>y,ScriptTarget:()=>h,getJavaScriptWorker:()=>k,getTypeScriptWorker:()=>P,javascriptDefaults:()=>v,typescriptDefaults:()=>x,typescriptVersion:()=>I});var L="5.0.2";var l={};D(l,C(_()));var b=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))(b||{}),f=(a=>(a[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a))(f||{}),y=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(y||{}),h=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(h||{}),O=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t))(O||{}),m=class{_onDidChange=new l.Emitter;_onDidExtraLibsChange=new l.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,t,i,r,p){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(r),this.setModeConfiguration(p),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let p=this._extraLibs[i];!p||p.version===r&&(delete this._extraLibs[i],this._removedExtraLibs[i]=r,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,r=t.content,p=1;this._removedExtraLibs[i]&&(p=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:r,version:p}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},I=L,S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},x=new m({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new m({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),P=()=>u().then(n=>n.getTypeScriptWorker()),k=()=>u().then(n=>n.getJavaScriptWorker());l.languages.typescript={ModuleKind:b,JsxEmit:f,NewLineKind:y,ScriptTarget:h,ModuleResolutionKind:O,typescriptVersion:I,typescriptDefaults:x,javascriptDefaults:v,getTypeScriptWorker:P,getJavaScriptWorker:k};function u(){return new Promise((n,e)=>{c(["vs/language/typescript/tsMode"],n,e)})}l.languages.onLanguage("typescript",()=>u().then(n=>n.setupTypeScript(x)));l.languages.onLanguage("javascript",()=>u().then(n=>n.setupJavaScript(v)));return W(T);})(); -return moduleExports; -}); - -define("vs/editor/editor.main", ["vs/editor/edcore.main","vs/basic-languages/monaco.contribution","vs/language/css/monaco.contribution","vs/language/html/monaco.contribution","vs/language/json/monaco.contribution","vs/language/typescript/monaco.contribution"], function(api) { return api; }); -//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/editor/editor.main.nls.js b/v2realbot/static/js/libs/editor/editor.main.nls.js deleted file mode 100644 index 3e21078..0000000 --- a/v2realbot/static/js/libs/editor/editor.main.nls.js +++ /dev/null @@ -1,758 +0,0 @@ -/*!----------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/vscode/blob/main/LICENSE.txt - *-----------------------------------------------------------*/(function(){var ne=["exports","require","vs/base/common/lifecycle","vs/nls","vs/nls!vs/editor/editor.main","vs/editor/common/core/range","vs/base/common/event","vs/base/browser/dom","vs/platform/instantiation/common/instantiation","vs/base/common/errors","vs/css!vs/editor/editor.main","vs/base/common/strings","vs/editor/common/core/position","vs/base/common/async","vs/base/common/arrays","vs/platform/contextkey/common/contextkey","vs/editor/browser/editorExtensions","vs/base/common/platform","vs/editor/common/services/languageFeatures","vs/base/common/cancellation","vs/base/common/types","vs/editor/common/editorContextKeys","vs/base/common/uri","vs/platform/theme/common/themeService","vs/editor/common/core/selection","vs/base/common/codicons","vs/base/common/themables","vs/platform/commands/common/commands","vs/platform/configuration/common/configuration","vs/editor/common/languages","vs/platform/actions/common/actions","vs/platform/theme/common/colorRegistry","vs/editor/common/languages/languageConfigurationRegistry","vs/editor/browser/services/codeEditorService","vs/platform/keybinding/common/keybinding","vs/base/browser/fastDomNode","vs/editor/common/config/editorOptions","vs/platform/registry/common/platform","vs/base/common/color","vs/base/common/actions","vs/editor/common/model/textModel","vs/editor/common/languages/language","vs/base/common/observable","vs/platform/notification/common/notification","vs/base/browser/keyboardEvent","vs/base/common/resources","vs/base/common/iterator","vs/base/common/objects","vs/editor/common/model","vs/base/browser/ui/aria/aria","vs/platform/instantiation/common/extensions","vs/editor/common/services/model","vs/base/browser/browser","vs/editor/browser/view/viewPart","vs/base/common/network","vs/base/common/htmlContent","vs/platform/opener/common/opener","vs/platform/contextview/browser/contextView","vs/base/common/stopwatch","vs/editor/browser/config/domFontInfo","vs/base/browser/mouseEvent","vs/base/browser/touch","vs/platform/theme/common/iconRegistry","vs/base/common/keyCodes","vs/base/common/linkedList","vs/base/common/map","vs/editor/common/core/lineRange","vs/editor/common/viewModel","vs/base/browser/ui/actionbar/actionbar","vs/editor/common/services/resolverService","vs/platform/log/common/log","vs/platform/quickinput/common/quickInput","vs/base/common/filters","vs/editor/common/core/editOperation","vs/editor/common/cursorCommon","vs/base/browser/ui/scrollbar/scrollableElement","vs/editor/common/services/languageFeatureDebounce","vs/platform/progress/common/progress","vs/editor/common/languages/modesRegistry","vs/platform/telemetry/common/telemetry","vs/editor/common/core/editorColorRegistry","vs/base/browser/event","vs/editor/common/core/cursorColumns","vs/base/browser/ui/widget","vs/platform/accessibility/common/accessibility","vs/base/common/assert","vs/editor/common/tokens/lineTokens","vs/platform/storage/common/storage","vs/platform/theme/common/theme","vs/base/browser/trustedTypes","vs/editor/common/core/offsetRange","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length","vs/base/common/path","vs/editor/common/core/stringBuilder","vs/editor/common/standaloneStrings","vs/editor/common/viewLayout/viewLineRenderer","vs/platform/clipboard/common/clipboardService","vs/platform/markers/common/markers","vs/platform/configuration/common/configurationRegistry","vs/base/common/functional","vs/base/common/lazy","vs/base/common/severity","vs/editor/browser/widget/diffEditorWidget2/utils","vs/editor/contrib/hover/browser/hoverTypes","vs/editor/contrib/editorState/browser/editorState","vs/platform/theme/browser/defaultStyles","vs/base/common/decorators","vs/base/common/mime","vs/editor/browser/stableEditorScroll","vs/editor/common/diff/linesDiffComputer","vs/editor/common/languages/languageConfiguration","vs/editor/common/textModelEvents","vs/editor/browser/view/dynamicViewOverlay","vs/editor/contrib/codeAction/common/types","vs/base/browser/ui/list/listWidget","vs/editor/common/services/editorWorker","vs/platform/audioCues/browser/audioCueService","vs/editor/contrib/markdownRenderer/browser/markdownRenderer","vs/platform/keybinding/common/keybindingsRegistry","vs/base/common/keybindings","vs/base/common/iconLabels","vs/editor/common/core/characterClassifier","vs/editor/common/core/eolCounter","vs/editor/common/commands/replaceCommand","vs/editor/common/encodedTokenAttributes","vs/editor/common/languages/supports","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet","vs/editor/common/viewLayout/lineDecorations","vs/editor/contrib/snippet/browser/snippetParser","vs/base/browser/ui/iconLabel/iconLabels","vs/base/browser/ui/sash/sash","vs/base/browser/ui/actionbar/actionViewItems","vs/editor/browser/services/bulkEditService","vs/editor/standalone/common/standaloneTheme","vs/platform/layout/browser/layoutService","vs/editor/contrib/suggest/browser/suggest","vs/platform/quickinput/common/quickAccess","vs/editor/contrib/codeAction/browser/codeAction","vs/editor/contrib/peekView/browser/peekView","vs/base/browser/ui/tree/tree","vs/base/common/buffer","vs/base/common/numbers","vs/base/common/observableInternal/logging","vs/base/common/hash","vs/editor/browser/view/renderingContext","vs/editor/common/config/editorZoom","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/editorCommon","vs/editor/common/editorFeatures","vs/editor/common/viewEventHandler","vs/editor/contrib/inlineCompletions/browser/utils","vs/base/browser/globalPointerMoveMonitor","vs/base/browser/ui/toggle/toggle","vs/editor/common/languages/nullTokenize","vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/platform/dialogs/common/dialogs","vs/platform/instantiation/common/serviceCollection","vs/platform/label/common/label","vs/editor/browser/editorDom","vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/browser/widget/codeEditorWidget","vs/editor/browser/widget/embeddedCodeEditorWidget","vs/platform/workspace/common/workspace","vs/base/common/idGenerator","vs/base/common/observableInternal/base","vs/base/common/range","vs/base/common/scrollable","vs/base/common/diff/diff","vs/base/common/uint","vs/base/common/uuid","vs/base/common/dataTransfer","vs/base/browser/ui/codicons/codiconStyles","vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/platform/quickinput/browser/media/quickInput","vs/editor/common/core/textModelDefaults","vs/editor/common/diff/algorithms/diffAlgorithm","vs/editor/browser/editorBrowser","vs/editor/common/cursor/cursorWordOperations","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast","vs/editor/common/model/textModelSearch","vs/editor/contrib/folding/browser/foldingRanges","vs/base/browser/markdownRenderer","vs/base/browser/ui/tree/abstractTree","vs/editor/browser/controller/textAreaInput","vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture","vs/editor/common/services/textResourceConfiguration","vs/editor/contrib/documentSymbols/browser/outlineModel","vs/editor/browser/coreCommands","vs/editor/contrib/message/browser/messageController","vs/platform/list/browser/listService","vs/platform/undoRedo/common/undoRedo","vs/editor/contrib/find/browser/findModel","vs/editor/contrib/snippet/browser/snippetController2","vs/base/browser/ui/scrollbar/scrollbarState","vs/base/common/collections","vs/base/browser/dnd","vs/base/common/ternarySearchTree","vs/css!vs/editor/contrib/colorPicker/browser/colorPicker","vs/editor/browser/config/elementSizeObserver","vs/editor/browser/config/tabFocus","vs/editor/common/core/indentation","vs/editor/common/cursor/cursorMoveOperations","vs/editor/common/cursor/cursorDeleteOperations","vs/editor/common/cursor/cursorMoveCommands","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer","vs/editor/common/model/utils","vs/editor/common/standalone/standaloneEnums","vs/editor/common/textModelGuides","vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/editor/common/viewEvents","vs/editor/common/viewModel/overviewZoneManager","vs/editor/common/viewModelEventDispatcher","vs/editor/contrib/inlineCompletions/browser/commandIds","vs/editor/contrib/inlineCompletions/browser/ghostText","vs/base/common/keybindingLabels","vs/base/browser/canIUse","vs/base/browser/ui/tree/indexTreeModel","vs/base/browser/ui/tree/objectTreeModel","vs/base/common/extpath","vs/base/common/marshalling","vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/base/browser/ui/resizable/resizable","vs/base/browser/ui/scrollbar/scrollbarArrow","vs/base/browser/ui/list/listView","vs/base/browser/ui/iconLabel/iconLabel","vs/base/browser/ui/inputbox/inputBox","vs/base/browser/ui/findinput/findInput","vs/editor/browser/view/viewLayer","vs/editor/common/languages/supports/richEditBrackets","vs/editor/common/config/fontInfo","vs/platform/instantiation/common/descriptors","vs/editor/common/services/markerDecorations","vs/editor/common/services/semanticTokensStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/editor/contrib/parameterHints/browser/provideSignatureHelp","vs/editor/browser/widget/diffNavigator","vs/platform/contextkey/common/contextkeys","vs/platform/environment/common/environment","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/editor/common/config/editorConfigurationSchema","vs/editor/browser/services/editorWorkerService","vs/editor/common/languages/autoIndent","vs/editor/common/languages/enterAction","vs/editor/common/commands/shiftCommand","vs/editor/common/cursor/cursorTypeOperations","vs/editor/contrib/gotoSymbol/browser/goToSymbol","vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/editor/contrib/codeAction/browser/codeActionController","vs/editor/browser/viewParts/lines/viewLine","vs/editor/common/services/semanticTokensProviderStyling","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/editor/browser/widget/diffEditorWidget","vs/editor/contrib/folding/browser/folding","vs/editor/contrib/inlineProgress/browser/inlineProgress","vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/editor/standalone/browser/standaloneServices","vs/base/browser/performance","vs/base/common/cache","vs/base/common/observableInternal/autorun","vs/base/common/ime","vs/base/common/symbols","vs/css!vs/base/browser/ui/actionbar/actionbar","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/css!vs/platform/actionWidget/browser/actionWidget","vs/editor/browser/viewParts/minimap/minimapCharSheet","vs/editor/common/config/diffEditor","vs/editor/browser/view/viewUserInputEvents","vs/editor/browser/controller/textAreaState","vs/editor/common/core/rgba","vs/editor/common/cursor/cursorAtomicMoveOperations","vs/editor/common/diff/advancedLinesDiffComputer","vs/editor/common/editorAction","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/textModelPart","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase","vs/editor/common/modelLineProjectionData","vs/editor/common/services/treeViewsDnd","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/model/guidesTextModelPart","vs/editor/common/tokens/contiguousMultilineTokensBuilder","vs/editor/browser/viewParts/margin/margin","vs/editor/contrib/comment/browser/blockCommentCommand","vs/editor/contrib/folding/browser/foldingModel","vs/editor/contrib/folding/browser/indentRangeProvider","vs/editor/contrib/folding/browser/syntaxRangeProvider","vs/editor/contrib/format/browser/formattingEdit","vs/editor/contrib/indentation/browser/indentUtils","vs/editor/contrib/inlineCompletions/browser/singleTextEdit","vs/editor/contrib/semanticTokens/common/semanticTokensConfig","vs/editor/contrib/smartSelect/browser/bracketSelections","vs/editor/contrib/stickyScroll/browser/stickyScrollElement","vs/editor/contrib/suggest/browser/completionModel","vs/editor/contrib/suggest/browser/wordDistance","vs/editor/standalone/common/monarch/monarchCommon","vs/base/common/glob","vs/base/browser/dompurify/dompurify","vs/base/browser/formattedTextRenderer","vs/base/browser/ui/contextview/contextview","vs/base/browser/ui/countBadge/countBadge","vs/base/browser/ui/highlightedlabel/highlightedLabel","vs/base/browser/ui/scrollbar/abstractScrollbar","vs/base/browser/ui/hover/hoverWidget","vs/base/browser/ui/splitview/splitview","vs/base/browser/ui/findinput/findInputToggles","vs/base/browser/ui/button/button","vs/base/browser/ui/iconLabel/iconLabelHover","vs/base/browser/ui/dropdown/dropdownActionViewItem","vs/base/browser/ui/tree/objectTree","vs/base/common/worker/simpleWorker","vs/editor/browser/widget/diffEditorWidget2/diffEditorViewModel","vs/editor/common/core/textChange","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer","vs/editor/contrib/hover/browser/hoverOperation","vs/editor/contrib/inlayHints/browser/inlayHints","vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/editor/browser/config/fontMeasurements","vs/editor/common/viewModel/viewModelDecorations","vs/editor/common/languages/textToHtmlTokenizer","vs/editor/common/services/editorBaseApi","vs/editor/common/viewModel/minimapTokensColorTracker","vs/editor/common/model/editStack","vs/platform/files/common/files","vs/editor/contrib/dropOrPasteInto/browser/edit","vs/editor/contrib/codelens/browser/codelens","vs/editor/contrib/semanticTokens/common/getSemanticTokens","vs/editor/standalone/common/monarch/monarchLexer","vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/platform/keybinding/common/keybindingResolver","vs/platform/keybinding/common/resolvedKeybindingItem","vs/editor/standalone/browser/standaloneLayoutService","vs/platform/quickinput/browser/quickInputUtils","vs/platform/dnd/browser/dnd","vs/editor/browser/dnd","vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider","vs/editor/contrib/colorPicker/browser/color","vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/platform/configuration/common/configurationModels","vs/platform/history/browser/contextScopedHistoryWidget","vs/editor/contrib/suggest/browser/suggestMemory","vs/editor/browser/widget/workerBasedDocumentDiffProvider","vs/editor/contrib/codeAction/browser/codeActionModel","vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/editor/contrib/format/browser/format","vs/editor/contrib/hover/browser/getHover","vs/editor/contrib/wordOperations/browser/wordOperations","vs/editor/browser/widget/diffReview","vs/editor/browser/controller/mouseTarget","vs/platform/quickinput/browser/quickInputList","vs/editor/browser/widget/diffEditorWidget2/overviewRulerPart","vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess","vs/editor/standalone/browser/standaloneCodeEditorService","vs/editor/standalone/browser/standaloneThemeService","vs/editor/browser/widget/diffEditorWidget2/decorations","vs/editor/contrib/colorPicker/browser/colorDetector","vs/editor/contrib/colorPicker/browser/colorHoverParticipant","vs/editor/contrib/find/browser/findController","vs/editor/contrib/folding/browser/foldingDecorations","vs/editor/contrib/hover/browser/contentHover","vs/editor/contrib/wordHighlighter/browser/highlightDecorations","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/inlayHintsLocations","vs/editor/contrib/inlayHints/browser/inlayHintsController","vs/editor/contrib/stickyScroll/browser/stickyScrollController","vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/editor/contrib/snippet/browser/snippetSession","vs/editor/contrib/suggest/browser/suggestController","vs/platform/workspace/common/workspaceTrust","vs/base/browser/iframe","vs/base/browser/ui/list/list","vs/base/browser/ui/list/splice","vs/base/common/diff/diffChange","vs/base/common/comparers","vs/base/common/linkedText","vs/base/common/marked/marked","vs/base/common/navigator","vs/base/common/history","vs/base/common/observableInternal/derived","vs/base/common/observableInternal/utils","vs/base/browser/ui/list/rangeMap","vs/base/common/search","vs/css!vs/base/browser/ui/aria/aria","vs/css!vs/base/browser/ui/button/button","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/css!vs/base/browser/ui/sash/sash","vs/css!vs/base/browser/ui/scrollbar/media/scrollbars","vs/css!vs/base/browser/ui/selectBox/selectBox","vs/css!vs/base/browser/ui/selectBox/selectBoxCustom","vs/css!vs/base/browser/ui/splitview/splitview","vs/css!vs/base/browser/ui/table/table","vs/css!vs/base/browser/ui/toggle/toggle","vs/css!vs/base/browser/ui/toolbar/toolbar","vs/css!vs/base/browser/ui/tree/media/tree","vs/css!vs/editor/browser/controller/textAreaHandler","vs/css!vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/margin/margin","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/viewParts/whitespace/whitespace","vs/css!vs/editor/browser/widget/diffEditorWidget2/style","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/dnd/browser/dnd","vs/css!vs/editor/contrib/dropOrPasteInto/browser/postEditWidget","vs/css!vs/editor/contrib/find/browser/findOptionsWidget","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/hover/browser/hover","vs/css!vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/css!vs/editor/contrib/inlineCompletions/browser/ghostText","vs/css!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","vs/css!vs/editor/contrib/inlineProgress/browser/inlineProgressWidget","vs/css!vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/css!vs/editor/contrib/links/browser/links","vs/css!vs/editor/contrib/markdownRenderer/browser/renderedMarkdown","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/stickyScroll/browser/stickyScroll","vs/css!vs/editor/contrib/suggest/browser/media/suggest","vs/css!vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/css!vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/css!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/css!vs/editor/contrib/wordHighlighter/browser/highlightDecorations","vs/css!vs/editor/contrib/zoneWidget/browser/zoneWidget","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/opener/browser/link","vs/css!vs/platform/severityIcon/browser/media/severityIcon","vs/editor/browser/config/charWidthReader","vs/editor/browser/config/migrateOptions","vs/editor/browser/viewParts/lines/domReadingContext","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/browser/widget/diffEditorWidget2/delegatingEditorImpl","vs/editor/browser/widget/diffEditorWidget2/outlineModel","vs/editor/common/commands/trimTrailingWhitespaceCommand","vs/editor/common/commands/surroundSelectionCommand","vs/editor/common/cursor/cursorContext","vs/editor/common/diff/algorithms/joinSequenceDiffs","vs/editor/common/diff/algorithms/myersDiffAlgorithm","vs/editor/common/diff/algorithms/utils","vs/editor/common/diff/algorithms/dynamicProgrammingDiffing","vs/editor/common/diff/legacyLinesDiffComputer","vs/editor/common/diff/linesDiffComputers","vs/editor/common/editorTheme","vs/editor/common/languages/defaultDocumentColorsComputer","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/languageBracketsConfiguration","vs/editor/common/languages/supports/onEnter","vs/editor/common/languages/supports/tokenization","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees","vs/editor/common/model/bracketPairsTextModelPart/fixBrackets","vs/editor/common/model/fixedArray","vs/editor/common/model/indentationGuesser","vs/editor/common/model/intervalTree","vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase","vs/editor/common/model/mirrorTextModel","vs/editor/common/textModelBracketPairs","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree","vs/editor/common/tokenizationRegistry","vs/editor/common/tokens/contiguousMultilineTokens","vs/editor/common/tokens/contiguousTokensEditing","vs/editor/common/tokens/contiguousTokensStore","vs/editor/common/tokens/sparseMultilineTokens","vs/editor/common/tokens/sparseTokensStore","vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/rulers/rulers","vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/editor/browser/viewParts/viewZones/viewZones","vs/editor/common/viewLayout/linePart","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/comment/browser/lineCommentCommand","vs/editor/contrib/dnd/browser/dragAndDropCommand","vs/editor/contrib/find/browser/replaceAllCommand","vs/editor/contrib/find/browser/replacePattern","vs/editor/contrib/folding/browser/hiddenRangeModel","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand","vs/editor/contrib/linesOperations/browser/copyLinesCommand","vs/editor/contrib/linesOperations/browser/sortLinesCommand","vs/editor/contrib/smartSelect/browser/wordSelections","vs/editor/contrib/suggest/browser/suggestCommitCharacters","vs/editor/contrib/suggest/browser/suggestOvertypingCapturer","vs/editor/standalone/common/monarch/monarchCompile","vs/nls!vs/base/browser/ui/actionbar/actionViewItems","vs/nls!vs/base/browser/ui/findinput/findInput","vs/nls!vs/base/browser/ui/findinput/findInputToggles","vs/nls!vs/base/browser/ui/findinput/replaceInput","vs/nls!vs/base/browser/ui/hover/hoverWidget","vs/nls!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/selectBox/selectBoxCustom","vs/nls!vs/base/browser/ui/toolbar/toolbar","vs/nls!vs/base/browser/ui/tree/abstractTree","vs/nls!vs/base/common/actions","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/keybindingLabels","vs/nls!vs/base/common/platform","vs/base/browser/ui/scrollbar/scrollbarVisibilityController","vs/base/browser/ui/tree/compressedObjectTreeModel","vs/base/common/process","vs/base/common/fuzzyScorer","vs/base/common/labels","vs/base/browser/ui/dropdown/dropdown","vs/base/browser/ui/list/rowCache","vs/base/browser/ui/progressbar/progressbar","vs/base/browser/ui/selectBox/selectBoxNative","vs/base/browser/ui/scrollbar/horizontalScrollbar","vs/base/browser/ui/scrollbar/verticalScrollbar","vs/base/browser/ui/list/listPaging","vs/base/browser/ui/table/tableWidget","vs/base/browser/ui/selectBox/selectBoxCustom","vs/base/browser/ui/selectBox/selectBox","vs/base/browser/ui/findinput/replaceInput","vs/base/browser/ui/menu/menu","vs/base/browser/ui/toolbar/toolbar","vs/base/browser/ui/tree/dataTree","vs/base/browser/ui/tree/asyncDataTree","vs/base/browser/defaultWorkerFactory","vs/base/parts/storage/common/storage","vs/editor/browser/viewParts/contentWidgets/contentWidgets","vs/editor/browser/widget/diffEditorWidget2/diffEditorSash","vs/editor/browser/view/domLineBreaksComputer","vs/editor/browser/view/viewOverlays","vs/editor/common/languageSelector","vs/editor/common/languageFeatureRegistry","vs/editor/common/languages/supports/electricCharacter","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder","vs/editor/common/services/semanticTokensDto","vs/editor/contrib/hover/browser/resizableContentWidget","vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions","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/diffEditor.contribution","vs/nls!vs/editor/browser/widget/diffEditorWidget","vs/nls!vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/nls!vs/editor/browser/widget/diffEditorWidget2/colors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/decorations","vs/nls!vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","vs/nls!vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin","vs/nls!vs/editor/browser/widget/diffEditorWidget2/movedBlocksLines","vs/nls!vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","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/viewParts/viewCursors/viewCursor","vs/editor/browser/widget/diffEditorWidget2/diffEditorOptions","vs/nls!vs/editor/common/core/editorColorRegistry","vs/nls!vs/editor/common/editorContextKeys","vs/nls!vs/editor/common/languages","vs/editor/common/model/textModelTokens","vs/editor/common/model/tokenizationTextModelPart","vs/editor/common/services/editorSimpleWorker","vs/nls!vs/editor/common/languages/modesRegistry","vs/nls!vs/editor/common/model/editStack","vs/nls!vs/editor/common/standaloneStrings","vs/nls!vs/editor/common/viewLayout/viewLineRenderer","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/codeAction","vs/nls!vs/editor/contrib/codeAction/browser/codeActionCommands","vs/nls!vs/editor/contrib/codeAction/browser/codeActionContributions","vs/nls!vs/editor/contrib/codeAction/browser/codeActionController","vs/nls!vs/editor/contrib/codeAction/browser/codeActionMenu","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/colorPicker/browser/standaloneColorPickerActions","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/dropOrPasteInto/browser/copyPasteContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/defaultProviders","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/nls!vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","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/commands","vs/nls!vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget","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/readOnlyMessage/browser/contribution","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/stickyScroll/browser/stickyScrollActions","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/highlightDecorations","vs/nls!vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/nls!vs/editor/contrib/wordOperations/browser/wordOperations","vs/nls!vs/platform/action/common/actionCommonCategories","vs/nls!vs/platform/actionWidget/browser/actionList","vs/nls!vs/platform/actionWidget/browser/actionWidget","vs/nls!vs/platform/actions/browser/menuEntryActionViewItem","vs/nls!vs/platform/actions/browser/toolbar","vs/nls!vs/platform/actions/common/menuService","vs/nls!vs/platform/audioCues/browser/audioCueService","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/contextkey/browser/contextKeyService","vs/nls!vs/platform/contextkey/common/contextkey","vs/nls!vs/platform/contextkey/common/contextkeys","vs/nls!vs/platform/contextkey/common/scanner","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/quickinput/browser/quickInput","vs/nls!vs/platform/quickinput/browser/quickInputController","vs/nls!vs/platform/quickinput/browser/quickInputList","vs/nls!vs/platform/quickinput/browser/quickInputUtils","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/action/common/action","vs/platform/action/common/actionCommonCategories","vs/platform/contextkey/common/scanner","vs/platform/editor/common/editor","vs/platform/extensions/common/extensions","vs/platform/history/browser/historyWidgetKeybindingHint","vs/platform/instantiation/common/graph","vs/editor/browser/widget/diffEditorWidget2/unchangedRanges","vs/editor/common/services/languageFeaturesService","vs/editor/common/services/treeViewsDndService","vs/editor/contrib/inlineCompletions/browser/ghostTextWidget","vs/editor/contrib/links/browser/getLinks","vs/editor/standalone/browser/colorizer","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/contextkey/browser/contextKeyService","vs/platform/instantiation/common/instantiationService","vs/platform/keybinding/common/baseResolvedKeybinding","vs/platform/keybinding/common/abstractKeybindingService","vs/platform/keybinding/common/usLayoutResolvedKeybinding","vs/platform/accessibility/browser/accessibilityService","vs/platform/contextview/browser/contextViewService","vs/platform/clipboard/browser/clipboardService","vs/platform/log/common/logService","vs/editor/contrib/gotoError/browser/markerNavigationService","vs/platform/markers/common/markerService","vs/editor/browser/services/openerService","vs/editor/contrib/documentSymbols/browser/documentSymbols","vs/platform/opener/browser/link","vs/platform/quickinput/browser/pickerQuickAccess","vs/platform/quickinput/browser/quickInputBox","vs/editor/browser/services/webWorker","vs/editor/common/cursor/cursor","vs/editor/common/services/getIconClasses","vs/editor/common/services/languagesAssociations","vs/editor/common/services/languagesRegistry","vs/editor/common/services/languageService","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource","vs/editor/contrib/linesOperations/browser/moveLinesCommand","vs/editor/contrib/hover/browser/marginHover","vs/platform/configuration/common/configurations","vs/editor/browser/widget/diffEditor.contribution","vs/editor/browser/widget/codeEditorContributions","vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/platform/quickinput/browser/helpQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess","vs/platform/quickinput/browser/quickAccess","vs/platform/severityIcon/browser/severityIcon","vs/editor/contrib/codelens/browser/codeLensCache","vs/platform/actions/common/menuService","vs/editor/browser/services/markerDecorations","vs/editor/browser/view/viewController","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/cursorUndo/browser/cursorUndo","vs/editor/contrib/editorState/browser/keybindingCancellation","vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver","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/longLinesHelper/browser/longLinesHelper","vs/editor/contrib/readOnlyMessage/browser/contribution","vs/editor/contrib/smartSelect/browser/smartSelect","vs/editor/contrib/suggest/browser/suggestInlineCompletions","vs/editor/contrib/tokenization/browser/tokenization","vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/editor/contrib/wordPartOperations/browser/wordPartOperations","vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/platform/actions/browser/toolbar","vs/platform/quickinput/browser/commandsQuickAccess","vs/editor/contrib/quickAccess/browser/commandsQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess","vs/editor/browser/viewParts/minimap/minimap","vs/editor/browser/widget/diffEditorWidget2/colors","vs/editor/contrib/codeAction/browser/codeActionMenu","vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/platform/actionWidget/browser/actionList","vs/platform/actionWidget/browser/actionWidget","vs/editor/contrib/codeAction/browser/codeActionCommands","vs/editor/contrib/codeAction/browser/codeActionContributions","vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer","vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/editor/contrib/parameterHints/browser/parameterHints","vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/platform/theme/browser/iconsStyleSheet","vs/editor/browser/controller/mouseHandler","vs/editor/browser/controller/pointerHandler","vs/editor/browser/viewParts/lines/viewLines","vs/platform/quickinput/browser/quickInput","vs/platform/quickinput/browser/quickInputController","vs/editor/browser/services/abstractCodeEditorService","vs/editor/browser/viewParts/editorScrollbar/editorScrollbar","vs/editor/browser/viewParts/selections/selections","vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors","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/viewCursors/viewCursors","vs/editor/browser/viewParts/whitespace/whitespace","vs/editor/browser/view","vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider","vs/editor/common/services/markerDecorationsService","vs/editor/common/services/semanticTokensStylingService","vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/editor/contrib/rename/browser/renameInputField","vs/editor/contrib/rename/browser/rename","vs/editor/contrib/semanticTokens/browser/documentSemanticTokens","vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens","vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess","vs/editor/standalone/common/themes","vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast","vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/platform/contextview/browser/contextMenuService","vs/platform/quickinput/browser/quickInputService","vs/editor/standalone/browser/quickInput/standaloneQuickInputService","vs/editor/browser/widget/diffEditorWidget2/diffEditorDecorations","vs/editor/common/services/modelService","vs/editor/common/viewModel/viewModelLines","vs/editor/common/viewModel/viewModelImpl","vs/editor/browser/widget/diffEditorWidget2/renderLines","vs/editor/browser/widget/diffEditorWidget2/lineAlignment","vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2","vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/editor/contrib/codelens/browser/codelensWidget","vs/editor/contrib/codelens/browser/codelensController","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/colorPicker/browser/standaloneColorPickerWidget","vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/editor/contrib/dropOrPasteInto/browser/copyPasteController","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController","vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/editor/contrib/links/browser/links","vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollProvider","vs/editor/contrib/stickyScroll/browser/stickyScrollWidget","vs/editor/contrib/suggest/browser/suggestWidget","vs/editor/contrib/multicursor/browser/multicursor","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/inlayHintsHover","vs/editor/contrib/inlayHints/browser/inlayHintsContribution","vs/editor/contrib/stickyScroll/browser/stickyScrollActions","vs/editor/contrib/stickyScroll/browser/stickyScrollContribution","vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch","vs/platform/undoRedo/common/undoRedoService","vs/editor/contrib/contextmenu/browser/contextmenu","vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution","vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution","vs/editor/contrib/snippet/browser/snippetVariables","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel","vs/editor/contrib/suggest/browser/suggestModel","vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider","vs/editor/contrib/inlineCompletions/browser/commands","vs/editor/contrib/inlineCompletions/browser/hoverParticipant","vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution","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/css","vs/editor/edcore.main"],se=function(Q){for(var e=[],L=0,k=Q.length;L{g({})},n=>{typeof g.error=="function"&&g.error("Could not find "+i+".")})}e.load=L;function k(f,_,g,C){if(y(f,_)){g();return}D(f,_,g,C)}function y(f,_){const g=document.getElementsByTagName("link");for(let C=0,s=g.length;C{_.removeEventListener("load",i),_.removeEventListener("error",n)},i=t=>{s(),g()},n=t=>{s(),C(t)};_.addEventListener("load",i),_.addEventListener("error",n)}});var we=this&&this.__awaiter||function(Q,e,L,k){function y(D){return D instanceof L?D:new L(function(S){S(D)})}return new(L||(L=Promise))(function(D,S){function f(C){try{g(k.next(C))}catch(s){S(s)}}function _(C){try{g(k.throw(C))}catch(s){S(s)}}function g(C){C.done?D(C.value):y(C.value).then(f,_)}g((k=k.apply(Q,e||[])).next())})};define(ne[3],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.load=e.create=e.setPseudoTranslation=e.getConfiguredDefaultLocale=e.localize=void 0;let L=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const k="i-default";function y(t,a){let u;return a.length===0?u=t:u=t.replace(/\{(\d+)\}/g,(h,r)=>{const c=r[0],o=a[c];let d=h;return typeof o=="string"?d=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(d=String(o)),d}),L&&(u="\uFF3B"+u.replace(/[aouei]/g,"$&$&")+"\uFF3D"),u}function D(t,a){let u=t[a];return u||(u=t["*"],u)?u:null}function S(t){return t.charAt(t.length-1)==="/"?t:t+"/"}function f(t,a,u){return we(this,void 0,void 0,function*(){const h=S(t)+S(a)+"vscode/"+S(u),r=yield fetch(h);if(r.ok)return yield r.json();throw new Error(`${r.status} - ${r.statusText}`)})}function _(t){return function(a,u){const h=Array.prototype.slice.call(arguments,2);return y(t[a],h)}}function g(t,a,...u){return y(a,u)}e.localize=g;function C(t){}e.getConfiguredDefaultLocale=C;function s(t){L=t}e.setPseudoTranslation=s;function i(t,a){var u;return{localize:_(a[t]),getConfiguredDefaultLocale:(u=a.getConfiguredDefaultLocale)!==null&&u!==void 0?u:h=>{}}}e.create=i;function n(t,a,u,h){var r;const c=(r=h["vs/nls"])!==null&&r!==void 0?r:{};if(!t||t.length===0)return u({localize:g,getConfiguredDefaultLocale:()=>{var m;return(m=c.availableLanguages)===null||m===void 0?void 0:m["*"]}});const o=c.availableLanguages?D(c.availableLanguages,t):null,d=o===null||o===k;let l=".nls";d||(l=l+"."+o);const p=m=>{Array.isArray(m)?m.localize=_(m):m.localize=_(m[t]),m.getConfiguredDefaultLocale=()=>{var v;return(v=c.availableLanguages)===null||v===void 0?void 0:v["*"]},u(m)};typeof c.loadBundle=="function"?c.loadBundle(t,o,(m,v)=>{m?a([t+".nls"],p):p(v)}):c.translationServiceUrl&&!d?we(this,void 0,void 0,function*(){var m;try{const v=yield f(c.translationServiceUrl,o,t);return p(v)}catch(v){if(!o.includes("-"))return console.error(v),a([t+".nls"],p);try{const b=o.split("-")[0],w=yield f(c.translationServiceUrl,b,t);return(m=c.availableLanguages)!==null&&m!==void 0||(c.availableLanguages={}),c.availableLanguages["*"]=b,p(w)}catch(b){return console.error(b),a([t+".nls"],p)}}}):a([t+l],p,m=>{if(l===".nls"){console.error("Failed trying to load default language strings",m);return}console.error(`Failed to load message bundle for language ${o}. Falling back to the default language:`,m),a([t+".nls"],p)})}e.load=n});/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:Wt,setPrototypeOf:Vt,isFrozen:Yt,getPrototypeOf:Qt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:pt,seal:bt,create:Jt}=Object,{apply:At,construct:Rt}=typeof Reflect<"u"&&Reflect;At||(At=function(e,L,k){return e.apply(L,k)}),pt||(pt=function(e){return e}),bt||(bt=function(e){return e}),Rt||(Rt=function(e,L){return new e(...L)});const ei=Ct(Array.prototype.forEach),zt=Ct(Array.prototype.pop),It=Ct(Array.prototype.push),Tt=Ct(String.prototype.toLowerCase),Pt=Ct(String.prototype.toString),ti=Ct(String.prototype.match),_t=Ct(String.prototype.replace),ii=Ct(String.prototype.indexOf),ni=Ct(String.prototype.trim),vt=Ct(RegExp.prototype.test),kt=si(TypeError);function Ct(Q){return function(e){for(var L=arguments.length,k=new Array(L>1?L-1:0),y=1;y/gm),di=bt(/\${[\w\W]*}/gm),ci=bt(/^data-[\-\w.\u00B7-\uFFFF]/),ui=bt(/^aria-[\-\w]+$/),jt=bt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hi=bt(/^(?:\w+script|data):/i),gi=bt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$t=bt(/^html$/i);var Gt=Object.freeze({__proto__:null,MUSTACHE_EXPR:ai,ERB_EXPR:li,TMPLIT_EXPR:di,DATA_ATTR:ci,ARIA_ATTR:ui,IS_ALLOWED_URI:jt,IS_SCRIPT_OR_DATA:hi,ATTR_WHITESPACE:gi,DOCTYPE_NAME:$t});const fi=()=>typeof window>"u"?null:window,mi=function(e,L){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let k=null;const y="data-tt-policy-suffix";L&&L.hasAttribute(y)&&(k=L.getAttribute(y));const D="dompurify"+(k?"#"+k:"");try{return e.createPolicy(D,{createHTML(S){return S},createScriptURL(S){return S}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}};function Zt(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fi();const e=Be=>Zt(Be);if(e.version="3.0.5",e.removed=[],!Q||!Q.document||Q.document.nodeType!==9)return e.isSupported=!1,e;const L=Q.document,k=L.currentScript;let{document:y}=Q;const{DocumentFragment:D,HTMLTemplateElement:S,Node:f,Element:_,NodeFilter:g,NamedNodeMap:C=Q.NamedNodeMap||Q.MozNamedAttrMap,HTMLFormElement:s,DOMParser:i,trustedTypes:n}=Q,t=_.prototype,a=Nt(t,"cloneNode"),u=Nt(t,"nextSibling"),h=Nt(t,"childNodes"),r=Nt(t,"parentNode");if(typeof S=="function"){const Be=y.createElement("template");Be.content&&Be.content.ownerDocument&&(y=Be.content.ownerDocument)}let c,o="";const{implementation:d,createNodeIterator:l,createDocumentFragment:p,getElementsByTagName:m}=y,{importNode:v}=L;let b={};e.isSupported=typeof Wt=="function"&&typeof r=="function"&&d&&d.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:w,ERB_EXPR:E,TMPLIT_EXPR:I,DATA_ATTR:M,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:x,ATTR_WHITESPACE:T}=Gt;let{IS_ALLOWED_URI:A}=Gt,N=null;const F=Je({},[...Ht,...Ot,...Ft,...xt,...Ut]);let O=null;const W=Je({},[...Kt,...Bt,...qt,...Mt]);let U=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,R=null,K=!0,G=!0,Z=!1,J=!0,X=!1,H=!1,B=!1,V=!1,Y=!1,ie=!1,ae=!1,ce=!0,de=!1;const he="user-content-";let ue=!0,te=!1,q={},z=null;const ee=Je({},["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"]);let $=null;const re=Je({},["audio","video","img","source","image","track"]);let oe=null;const ge=Je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ve="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml";let De=Le,ye=!1,Ee=null;const Me=Je({},[ve,Se,Le],Pt);let Pe;const Fe=["application/xhtml+xml","text/html"],_e="text/html";let me,le=null;const pe=y.createElement("form"),Ce=function(Te){return Te instanceof RegExp||Te instanceof Function},be=function(Te){if(!(le&&le===Te)){if((!Te||typeof Te!="object")&&(Te={}),Te=Et(Te),Pe=Fe.indexOf(Te.PARSER_MEDIA_TYPE)===-1?Pe=_e:Pe=Te.PARSER_MEDIA_TYPE,me=Pe==="application/xhtml+xml"?Pt:Tt,N="ALLOWED_TAGS"in Te?Je({},Te.ALLOWED_TAGS,me):F,O="ALLOWED_ATTR"in Te?Je({},Te.ALLOWED_ATTR,me):W,Ee="ALLOWED_NAMESPACES"in Te?Je({},Te.ALLOWED_NAMESPACES,Pt):Me,oe="ADD_URI_SAFE_ATTR"in Te?Je(Et(ge),Te.ADD_URI_SAFE_ATTR,me):ge,$="ADD_DATA_URI_TAGS"in Te?Je(Et(re),Te.ADD_DATA_URI_TAGS,me):re,z="FORBID_CONTENTS"in Te?Je({},Te.FORBID_CONTENTS,me):ee,j="FORBID_TAGS"in Te?Je({},Te.FORBID_TAGS,me):{},R="FORBID_ATTR"in Te?Je({},Te.FORBID_ATTR,me):{},q="USE_PROFILES"in Te?Te.USE_PROFILES:!1,K=Te.ALLOW_ARIA_ATTR!==!1,G=Te.ALLOW_DATA_ATTR!==!1,Z=Te.ALLOW_UNKNOWN_PROTOCOLS||!1,J=Te.ALLOW_SELF_CLOSE_IN_ATTR!==!1,X=Te.SAFE_FOR_TEMPLATES||!1,H=Te.WHOLE_DOCUMENT||!1,Y=Te.RETURN_DOM||!1,ie=Te.RETURN_DOM_FRAGMENT||!1,ae=Te.RETURN_TRUSTED_TYPE||!1,V=Te.FORCE_BODY||!1,ce=Te.SANITIZE_DOM!==!1,de=Te.SANITIZE_NAMED_PROPS||!1,ue=Te.KEEP_CONTENT!==!1,te=Te.IN_PLACE||!1,A=Te.ALLOWED_URI_REGEXP||jt,De=Te.NAMESPACE||Le,U=Te.CUSTOM_ELEMENT_HANDLING||{},Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=Te.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&Ce(Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=Te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Te.CUSTOM_ELEMENT_HANDLING&&typeof Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=Te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ie&&(Y=!0),q&&(N=Je({},[...Ut]),O=[],q.html===!0&&(Je(N,Ht),Je(O,Kt)),q.svg===!0&&(Je(N,Ot),Je(O,Bt),Je(O,Mt)),q.svgFilters===!0&&(Je(N,Ft),Je(O,Bt),Je(O,Mt)),q.mathMl===!0&&(Je(N,xt),Je(O,qt),Je(O,Mt))),Te.ADD_TAGS&&(N===F&&(N=Et(N)),Je(N,Te.ADD_TAGS,me)),Te.ADD_ATTR&&(O===W&&(O=Et(O)),Je(O,Te.ADD_ATTR,me)),Te.ADD_URI_SAFE_ATTR&&Je(oe,Te.ADD_URI_SAFE_ATTR,me),Te.FORBID_CONTENTS&&(z===ee&&(z=Et(z)),Je(z,Te.FORBID_CONTENTS,me)),ue&&(N["#text"]=!0),H&&Je(N,["html","head","body"]),N.table&&(Je(N,["tbody"]),delete j.tbody),Te.TRUSTED_TYPES_POLICY){if(typeof Te.TRUSTED_TYPES_POLICY.createHTML!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Te.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');c=Te.TRUSTED_TYPES_POLICY,o=c.createHTML("")}else c===void 0&&(c=mi(n,k)),c!==null&&typeof o=="string"&&(o=c.createHTML(""));pt&&pt(Te),le=Te}},Ie=Je({},["mi","mo","mn","ms","mtext"]),Ne=Je({},["foreignobject","desc","title","annotation-xml"]),Re=Je({},["title","style","font","a","script"]),Ve=Je({},Ot);Je(Ve,Ft),Je(Ve,oi);const ze=Je({},xt);Je(ze,ri);const We=function(Te){let xe=r(Te);(!xe||!xe.tagName)&&(xe={namespaceURI:De,tagName:"template"});const He=Tt(Te.tagName),Ye=Tt(xe.tagName);return Ee[Te.namespaceURI]?Te.namespaceURI===Se?xe.namespaceURI===Le?He==="svg":xe.namespaceURI===ve?He==="svg"&&(Ye==="annotation-xml"||Ie[Ye]):!!Ve[He]:Te.namespaceURI===ve?xe.namespaceURI===Le?He==="math":xe.namespaceURI===Se?He==="math"&&Ne[Ye]:!!ze[He]:Te.namespaceURI===Le?xe.namespaceURI===Se&&!Ne[Ye]||xe.namespaceURI===ve&&!Ie[Ye]?!1:!ze[He]&&(Re[He]||!Ve[He]):!!(Pe==="application/xhtml+xml"&&Ee[Te.namespaceURI]):!1},qe=function(Te){It(e.removed,{element:Te});try{Te.parentNode.removeChild(Te)}catch{Te.remove()}},Oe=function(Te,xe){try{It(e.removed,{attribute:xe.getAttributeNode(Te),from:xe})}catch{It(e.removed,{attribute:null,from:xe})}if(xe.removeAttribute(Te),Te==="is"&&!O[Te])if(Y||ie)try{qe(xe)}catch{}else try{xe.setAttribute(Te,"")}catch{}},Ge=function(Te){let xe,He;if(V)Te=""+Te;else{const Xe=ti(Te,/^[\r\n\t ]+/);He=Xe&&Xe[0]}Pe==="application/xhtml+xml"&&De===Le&&(Te=''+Te+"");const Ye=c?c.createHTML(Te):Te;if(De===Le)try{xe=new i().parseFromString(Ye,Pe)}catch{}if(!xe||!xe.documentElement){xe=d.createDocument(De,"template",null);try{xe.documentElement.innerHTML=ye?o:Ye}catch{}}const Ze=xe.body||xe.documentElement;return Te&&He&&Ze.insertBefore(y.createTextNode(He),Ze.childNodes[0]||null),De===Le?m.call(xe,H?"html":"body")[0]:H?xe.documentElement:Ze},Qe=function(Te){return l.call(Te.ownerDocument||Te,Te,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,null,!1)},st=function(Te){return Te instanceof s&&(typeof Te.nodeName!="string"||typeof Te.textContent!="string"||typeof Te.removeChild!="function"||!(Te.attributes instanceof C)||typeof Te.removeAttribute!="function"||typeof Te.setAttribute!="function"||typeof Te.namespaceURI!="string"||typeof Te.insertBefore!="function"||typeof Te.hasChildNodes!="function")},nt=function(Te){return typeof f=="object"?Te instanceof f:Te&&typeof Te=="object"&&typeof Te.nodeType=="number"&&typeof Te.nodeName=="string"},ot=function(Te,xe,He){b[Te]&&ei(b[Te],Ye=>{Ye.call(e,xe,He,le)})},ct=function(Te){let xe;if(ot("beforeSanitizeElements",Te,null),st(Te))return qe(Te),!0;const He=me(Te.nodeName);if(ot("uponSanitizeElement",Te,{tagName:He,allowedTags:N}),Te.hasChildNodes()&&!nt(Te.firstElementChild)&&(!nt(Te.content)||!nt(Te.content.firstElementChild))&&vt(/<[/\w]/g,Te.innerHTML)&&vt(/<[/\w]/g,Te.textContent))return qe(Te),!0;if(!N[He]||j[He]){if(!j[He]&>(He)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He)))return!1;if(ue&&!z[He]){const Ye=r(Te)||Te.parentNode,Ze=h(Te)||Te.childNodes;if(Ze&&Ye){const Xe=Ze.length;for(let je=Xe-1;je>=0;--je)Ye.insertBefore(a(Ze[je],!0),u(Te))}}return qe(Te),!0}return Te instanceof _&&!We(Te)||(He==="noscript"||He==="noembed"||He==="noframes")&&vt(/<\/no(script|embed|frames)/i,Te.innerHTML)?(qe(Te),!0):(X&&Te.nodeType===3&&(xe=Te.textContent,xe=_t(xe,w," "),xe=_t(xe,E," "),xe=_t(xe,I," "),Te.textContent!==xe&&(It(e.removed,{element:Te.cloneNode()}),Te.textContent=xe)),ot("afterSanitizeElements",Te,null),!1)},lt=function(Te,xe,He){if(ce&&(xe==="id"||xe==="name")&&(He in y||He in pe))return!1;if(!(G&&!R[xe]&&vt(M,xe))){if(!(K&&vt(P,xe))){if(!O[xe]||R[xe]){if(!(gt(Te)&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,Te)||U.tagNameCheck instanceof Function&&U.tagNameCheck(Te))&&(U.attributeNameCheck instanceof RegExp&&vt(U.attributeNameCheck,xe)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(xe))||xe==="is"&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&vt(U.tagNameCheck,He)||U.tagNameCheck instanceof Function&&U.tagNameCheck(He))))return!1}else if(!oe[xe]){if(!vt(A,_t(He,T,""))){if(!((xe==="src"||xe==="xlink:href"||xe==="href")&&Te!=="script"&&ii(He,"data:")===0&&$[Te])){if(!(Z&&!vt(x,_t(He,T,"")))){if(He)return!1}}}}}}return!0},gt=function(Te){return Te.indexOf("-")>0},at=function(Te){let xe,He,Ye,Ze;ot("beforeSanitizeAttributes",Te,null);const{attributes:Xe}=Te;if(!Xe)return;const je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O};for(Ze=Xe.length;Ze--;){xe=Xe[Ze];const{name:Ae,namespaceURI:Ue}=xe;if(He=Ae==="value"?xe.value:ni(xe.value),Ye=me(Ae),je.attrName=Ye,je.attrValue=He,je.keepAttr=!0,je.forceKeepAttr=void 0,ot("uponSanitizeAttribute",Te,je),He=je.attrValue,je.forceKeepAttr||(Oe(Ae,Te),!je.keepAttr))continue;if(!J&&vt(/\/>/i,He)){Oe(Ae,Te);continue}X&&(He=_t(He,w," "),He=_t(He,E," "),He=_t(He,I," "));const Ke=me(Te.nodeName);if(lt(Ke,Ye,He)){if(de&&(Ye==="id"||Ye==="name")&&(Oe(Ae,Te),He=he+He),c&&typeof n=="object"&&typeof n.getAttributeType=="function"&&!Ue)switch(n.getAttributeType(Ke,Ye)){case"TrustedHTML":{He=c.createHTML(He);break}case"TrustedScriptURL":{He=c.createScriptURL(He);break}}try{Ue?Te.setAttributeNS(Ue,Ae,He):Te.setAttribute(Ae,He),zt(e.removed)}catch{}}}ot("afterSanitizeAttributes",Te,null)},ht=function Be(Te){let xe;const He=Qe(Te);for(ot("beforeSanitizeShadowDOM",Te,null);xe=He.nextNode();)ot("uponSanitizeShadowNode",xe,null),!ct(xe)&&(xe.content instanceof D&&Be(xe.content),at(xe));ot("afterSanitizeShadowDOM",Te,null)};return e.sanitize=function(Be){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe,He,Ye,Ze;if(ye=!Be,ye&&(Be=""),typeof Be!="string"&&!nt(Be))if(typeof Be.toString=="function"){if(Be=Be.toString(),typeof Be!="string")throw kt("dirty is not a string, aborting")}else throw kt("toString is not a function");if(!e.isSupported)return Be;if(B||be(Te),e.removed=[],typeof Be=="string"&&(te=!1),te){if(Be.nodeName){const Ae=me(Be.nodeName);if(!N[Ae]||j[Ae])throw kt("root node is forbidden and cannot be sanitized in-place")}}else if(Be instanceof f)xe=Ge(""),He=xe.ownerDocument.importNode(Be,!0),He.nodeType===1&&He.nodeName==="BODY"||He.nodeName==="HTML"?xe=He:xe.appendChild(He);else{if(!Y&&!X&&!H&&Be.indexOf("<")===-1)return c&&ae?c.createHTML(Be):Be;if(xe=Ge(Be),!xe)return Y?null:ae?o:""}xe&&V&&qe(xe.firstChild);const Xe=Qe(te?Be:xe);for(;Ye=Xe.nextNode();)ct(Ye)||(Ye.content instanceof D&&ht(Ye.content),at(Ye));if(te)return Be;if(Y){if(ie)for(Ze=p.call(xe.ownerDocument);xe.firstChild;)Ze.appendChild(xe.firstChild);else Ze=xe;return(O.shadowroot||O.shadowrootmode)&&(Ze=v.call(L,Ze,!0)),Ze}let je=H?xe.outerHTML:xe.innerHTML;return H&&N["!doctype"]&&xe.ownerDocument&&xe.ownerDocument.doctype&&xe.ownerDocument.doctype.name&&vt($t,xe.ownerDocument.doctype.name)&&(je=" -`+je),X&&(je=_t(je,w," "),je=_t(je,E," "),je=_t(je,I," ")),c&&ae?c.createHTML(je):je},e.setConfig=function(Be){be(Be),B=!0},e.clearConfig=function(){le=null,B=!1},e.isValidAttribute=function(Be,Te,xe){le||be({});const He=me(Be),Ye=me(Te);return lt(He,Ye,xe)},e.addHook=function(Be,Te){typeof Te=="function"&&(b[Be]=b[Be]||[],It(b[Be],Te))},e.removeHook=function(Be){if(b[Be])return zt(b[Be])},e.removeHooks=function(Be){b[Be]&&(b[Be]=[])},e.removeAllHooks=function(){b={}},e}var pi=Zt();define("vs/base/browser/dompurify/dompurify",function(){return pi}),define(ne[35],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class L{constructor(S){this.domNode=S,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(S){const f=k(S);this._maxWidth!==f&&(this._maxWidth=f,this.domNode.style.maxWidth=this._maxWidth)}setWidth(S){const f=k(S);this._width!==f&&(this._width=f,this.domNode.style.width=this._width)}setHeight(S){const f=k(S);this._height!==f&&(this._height=f,this.domNode.style.height=this._height)}setTop(S){const f=k(S);this._top!==f&&(this._top=f,this.domNode.style.top=this._top)}setLeft(S){const f=k(S);this._left!==f&&(this._left=f,this.domNode.style.left=this._left)}setBottom(S){const f=k(S);this._bottom!==f&&(this._bottom=f,this.domNode.style.bottom=this._bottom)}setRight(S){const f=k(S);this._right!==f&&(this._right=f,this.domNode.style.right=this._right)}setPaddingLeft(S){const f=k(S);this._paddingLeft!==f&&(this._paddingLeft=f,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(S){this._fontFamily!==S&&(this._fontFamily=S,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(S){this._fontWeight!==S&&(this._fontWeight=S,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(S){const f=k(S);this._fontSize!==f&&(this._fontSize=f,this.domNode.style.fontSize=this._fontSize)}setFontStyle(S){this._fontStyle!==S&&(this._fontStyle=S,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(S){this._fontFeatureSettings!==S&&(this._fontFeatureSettings=S,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(S){this._fontVariationSettings!==S&&(this._fontVariationSettings=S,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(S){this._textDecoration!==S&&(this._textDecoration=S,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(S){const f=k(S);this._lineHeight!==f&&(this._lineHeight=f,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(S){const f=k(S);this._letterSpacing!==f&&(this._letterSpacing=f,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(S){this._className!==S&&(this._className=S,this.domNode.className=this._className)}toggleClassName(S,f){this.domNode.classList.toggle(S,f),this._className=this.domNode.className}setDisplay(S){this._display!==S&&(this._display=S,this.domNode.style.display=this._display)}setPosition(S){this._position!==S&&(this._position=S,this.domNode.style.position=this._position)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this.domNode.style.visibility=this._visibility)}setColor(S){this._color!==S&&(this._color=S,this.domNode.style.color=this._color)}setBackgroundColor(S){this._backgroundColor!==S&&(this._backgroundColor=S,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(S){this._layerHint!==S&&(this._layerHint=S,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(S){this._boxShadow!==S&&(this._boxShadow=S,this.domNode.style.boxShadow=S)}setContain(S){this._contain!==S&&(this._contain=S,this.domNode.style.contain=this._contain)}setAttribute(S,f){this.domNode.setAttribute(S,f)}removeAttribute(S){this.domNode.removeAttribute(S)}appendChild(S){this.domNode.appendChild(S.domNode)}removeChild(S){this.domNode.removeChild(S.domNode)}}e.FastDomNode=L;function k(D){return typeof D=="number"?`${D}px`:D}function y(D){return new L(D)}e.createFastDomNode=y}),define(ne[380],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let L=!1,k=null;function y(S){if(!S.parent||S.parent===S)return null;try{const f=S.location,_=S.parent.location;if(f.origin!=="null"&&_.origin!=="null"&&f.origin!==_.origin)return L=!0,null}catch{return L=!0,null}return S.parent}class D{static getSameOriginWindowChain(){if(!k){k=[];let f=window,_;do _=y(f),_?k.push({window:f,iframeElement:f.frameElement||null}):k.push({window:f,iframeElement:null}),f=_;while(f)}return k.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(f,_){if(!_||f===_)return{top:0,left:0};let g=0,C=0;const s=this.getSameOriginWindowChain();for(const i of s){if(g+=i.window.scrollY,C+=i.window.scrollX,i.window===_||!i.iframeElement)break;const n=i.iframeElement.getBoundingClientRect();g+=n.top,C+=n.left}return{top:g,left:C}}}e.IframeUtils=D}),define(ne[260],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inputLatency=void 0;var L;(function(k){const y={total:0,min:Number.MAX_VALUE,max:0},D=Object.assign({},y),S=Object.assign({},y),f=Object.assign({},y);let _=0;const g={keydown:0,input:0,render:0};function C(){o(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),g.keydown=1,queueMicrotask(s)}k.onKeyDown=C;function s(){g.keydown===1&&(performance.mark("keydown/end"),g.keydown=2)}function i(){performance.mark("input/start"),g.input=1,c()}k.onBeforeInput=i;function n(){g.input===0&&i(),queueMicrotask(t)}k.onInput=n;function t(){g.input===1&&(performance.mark("input/end"),g.input=2)}function a(){o()}k.onKeyUp=a;function u(){o()}k.onSelectionChange=u;function h(){g.keydown===2&&g.input===2&&g.render===0&&(performance.mark("render/start"),g.render=1,queueMicrotask(r),c())}k.onRenderStart=h;function r(){g.render===1&&(performance.mark("render/end"),g.render=2)}function c(){setTimeout(o)}function o(){g.keydown===2&&g.input===2&&g.render===2&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),d("keydown",y),d("input",D),d("render",S),d("inputlatency",f),_++,l())}function d(b,w){const E=performance.getEntriesByName(b)[0].duration;w.total+=E,w.min=Math.min(w.min,E),w.max=Math.max(w.max,E)}function l(){performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),g.keydown=0,g.input=0,g.render=0}function p(){if(_===0)return;const b={keydown:m(y),input:m(D),render:m(S),total:m(f),sampleCount:_};return v(y),v(D),v(S),v(f),_=0,b}k.getAndClearMeasurements=p;function m(b){return{average:b.total/_,max:b.max,min:b.min}}function v(b){b.total=0,b.min=Number.MAX_VALUE,b.max=0}})(L||(e.inputLatency=L={}))}),define(ne[381],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class L extends Error{constructor(y,D){super(`ListError [${y}] ${D}`)}}e.ListError=L}),define(ne[382],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class L{constructor(y){this.spliceables=y}splice(y,D,S){this.spliceables.forEach(f=>f.splice(y,D,S))}}e.CombinedSpliceable=L}),define(ne[195],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const L=20;class k{constructor(D,S,f,_,g,C){this._scrollbarSize=Math.round(S),this._oppositeScrollbarSize=Math.round(f),this._arrowSize=Math.round(D),this._visibleSize=_,this._scrollSize=g,this._scrollPosition=C,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new k(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(D){const S=Math.round(D);return this._visibleSize!==S?(this._visibleSize=S,this._refreshComputedValues(),!0):!1}setScrollSize(D){const S=Math.round(D);return this._scrollSize!==S?(this._scrollSize=S,this._refreshComputedValues(),!0):!1}setScrollPosition(D){const S=Math.round(D);return this._scrollPosition!==S?(this._scrollPosition=S,this._refreshComputedValues(),!0):!1}setScrollbarSize(D){this._scrollbarSize=Math.round(D)}setOppositeScrollbarSize(D){this._oppositeScrollbarSize=Math.round(D)}static _computeValues(D,S,f,_,g){const C=Math.max(0,f-D),s=Math.max(0,C-2*S),i=_>0&&_>f;if(!i)return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const n=Math.round(Math.max(L,Math.floor(f*s/_))),t=(s-n)/(_-f),a=g*t;return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(n),computedSliderRatio:t,computedSliderPosition:Math.round(a)}}_refreshComputedValues(){const D=k._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=D.computedAvailableSize,this._computedIsNeeded=D.computedIsNeeded,this._computedSliderSize=D.computedSliderSize,this._computedSliderRatio=D.computedSliderRatio,this._computedSliderPosition=D.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(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize-this._computedSliderSize/2;return Math.round(S/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize;let f=this._scrollPosition;return SZ===J){if(R===K)return!0;if(!R||!K||R.length!==K.length)return!1;for(let Z=0,J=R.length;ZG(R[Z],K))}e.binarySearch=S;function f(R,K){let G=0,Z=R-1;for(;G<=Z;){const J=(G+Z)/2|0,X=K(J);if(X<0)G=J+1;else if(X>0)Z=J-1;else return J}return-(G+1)}e.binarySearch2=f;function _(R,K){let G=0,Z=R.length;if(Z===0)return 0;for(;G=K.length)throw new TypeError("invalid index");const Z=K[Math.floor(K.length*Math.random())],J=[],X=[],H=[];for(const B of K){const V=G(B,Z);V<0?J.push(B):V>0?X.push(B):H.push(B)}return R!!K)}e.coalesce=s;function i(R){let K=0;for(let G=0;G0}e.isNonEmptyArray=t;function a(R,K=G=>G){const G=new Set;return R.filter(Z=>{const J=K(Z);return G.has(J)?!1:(G.add(J),!0)})}e.distinct=a;function u(R,K){const G=h(R,K);if(G!==-1)return R[G]}e.findLast=u;function h(R,K){for(let G=R.length-1;G>=0;G--){const Z=R[G];if(K(Z))return G}return-1}e.findLastIndex=h;function r(R,K){return R.length>0?R[0]:K}e.firstOrDefault=r;function c(R,K){let G=typeof K=="number"?R:0;typeof K=="number"?G=R:(G=0,K=R);const Z=[];if(G<=K)for(let J=G;JK;J--)Z.push(J);return Z}e.range=c;function o(R,K,G){const Z=R.slice(0,K),J=R.slice(K);return Z.concat(G,J)}e.arrayInsert=o;function d(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.unshift(K))}e.pushToStart=d;function l(R,K){const G=R.indexOf(K);G>-1&&(R.splice(G,1),R.push(K))}e.pushToEnd=l;function p(R,K){for(const G of K)R.push(G)}e.pushMany=p;function m(R){return Array.isArray(R)?R:[R]}e.asArray=m;function v(R,K){for(const G of R){const Z=K(G);if(Z!==void 0)return Z}}e.mapFind=v;function b(R,K,G){const Z=E(R,K),J=R.length,X=G.length;R.length=J+X;for(let H=J-1;H>=Z;H--)R[H+X]=R[H];for(let H=0;H0}R.isGreaterThan=Z;function J(X){return X===0}R.isNeitherLessOrGreaterThan=J,R.greaterThan=1,R.lessThan=-1,R.neitherLessOrGreaterThan=0})(I||(e.CompareResult=I={}));function M(R,K){return(G,Z)=>K(R(G),R(Z))}e.compareBy=M;function P(...R){return(K,G)=>{for(const Z of R){const J=Z(K,G);if(!I.isNeitherLessOrGreaterThan(J))return J}return I.neitherLessOrGreaterThan}}e.tieBreakComparators=P;const x=(R,K)=>R-K;e.numberComparator=x;const T=(R,K)=>(0,e.numberComparator)(R?1:0,K?1:0);e.booleanComparator=T;function A(R){return(K,G)=>-R(K,G)}e.reverseOrder=A;function N(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z0&&(G=J)}return G}e.findMaxBy=N;function F(R,K){if(R.length===0)return;let G=R[0];for(let Z=1;Z=0&&(G=J)}return G}e.findLastMaxBy=F;function O(R,K){return N(R,(G,Z)=>-K(G,Z))}e.findMinBy=O;function W(R,K){if(R.length===0)return-1;let G=0;for(let Z=1;Z0&&(G=Z)}return G}e.findMaxIdxBy=W;class U{constructor(K){this.items=K,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(K){let G=this.firstIdx;for(;G=0&&K(this.items[G]);)G--;const Z=G===this.lastIdx?null:this.items.slice(G+1,this.lastIdx+1);return this.lastIdx=G,Z}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const K=this.items[this.firstIdx];return this.firstIdx++,K}takeCount(K){const G=this.items.slice(this.firstIdx,this.firstIdx+K);return this.firstIdx+=K,G}}e.ArrayQueue=U;class j{constructor(K){this.iterate=K}toArray(){const K=[];return this.iterate(G=>(K.push(G),!0)),K}filter(K){return new j(G=>this.iterate(Z=>K(Z)?G(Z):!0))}map(K){return new j(G=>this.iterate(Z=>G(K(Z))))}findLast(K){let G;return this.iterate(Z=>(K(Z)&&(G=Z),!0)),G}findLastMaxBy(K){let G,Z=!0;return this.iterate(J=>((Z||I.isGreaterThan(K(J,G)))&&(Z=!1,G=J),!0)),G}}e.CallbackIterable=j,j.empty=new j(R=>{})}),define(ne[261],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=void 0;class L{constructor(D){this.fn=D,this.lastCache=void 0,this.lastArgKey=void 0}get(D){const S=JSON.stringify(D);return this.lastArgKey!==S&&(this.lastArgKey=S,this.lastCache=this.fn(D)),this.lastCache}}e.LRUCachedFunction=L;class k{get cachedValues(){return this._map}constructor(D){this.fn=D,this._map=new Map}get(D){if(this._map.has(D))return this._map.get(D);const S=this.fn(D);return this._map.set(D,S),S}}e.CachedFunction=k}),define(ne[196],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetMap=void 0;class L{constructor(){this.map=new Map}add(y,D){let S=this.map.get(y);S||(S=new Set,this.map.set(y,S)),S.add(D)}delete(y,D){const S=this.map.get(y);S&&(S.delete(D),S.size===0&&this.map.delete(y))}forEach(y,D){const S=this.map.get(y);S&&S.forEach(D)}get(y){const D=this.map.get(y);return D||new Set}}e.SetMap=L}),define(ne[38],se([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(f,_){const g=Math.pow(10,_);return Math.round(f*g)/g}class k{constructor(_,g,C,s=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,_))|0,this.g=Math.min(255,Math.max(0,g))|0,this.b=Math.min(255,Math.max(0,C))|0,this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.r===g.r&&_.g===g.g&&_.b===g.b&&_.a===g.a}}e.RGBA=k;class y{constructor(_,g,C,s){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.l=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.l===g.l&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=_.a,n=Math.max(g,C,s),t=Math.min(g,C,s);let a=0,u=0;const h=(t+n)/2,r=n-t;if(r>0){switch(u=Math.min(h<=.5?r/(2*h):r/(2-2*h),1),n){case g:a=(C-s)/r+(C1&&(C-=1),C<1/6?_+(g-_)*6*C:C<1/2?g:C<2/3?_+(g-_)*(2/3-C)*6:_}static toRGBA(_){const g=_.h/360,{s:C,l:s,a:i}=_;let n,t,a;if(C===0)n=t=a=s;else{const u=s<.5?s*(1+C):s+C-s*C,h=2*s-u;n=y._hue2rgb(h,u,g+1/3),t=y._hue2rgb(h,u,g),a=y._hue2rgb(h,u,g-1/3)}return new k(Math.round(n*255),Math.round(t*255),Math.round(a*255),i)}}e.HSLA=y;class D{constructor(_,g,C,s){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,g),0),3),this.v=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,g){return _.h===g.h&&_.s===g.s&&_.v===g.v&&_.a===g.a}static fromRGBA(_){const g=_.r/255,C=_.g/255,s=_.b/255,i=Math.max(g,C,s),n=Math.min(g,C,s),t=i-n,a=i===0?0:t/i;let u;return t===0?u=0:i===g?u=((C-s)/t%6+6)%6:i===C?u=(s-g)/t+2:u=(g-C)/t+4,new D(Math.round(u*60),a,i,_.a)}static toRGBA(_){const{h:g,s:C,v:s,a:i}=_,n=s*C,t=n*(1-Math.abs(g/60%2-1)),a=s-n;let[u,h,r]=[0,0,0];return g<60?(u=n,h=t):g<120?(u=t,h=n):g<180?(h=n,r=t):g<240?(h=t,r=n):g<300?(u=t,r=n):g<=360&&(u=n,r=t),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r=Math.round((r+a)*255),new k(u,h,r,i)}}e.HSVA=D;class S{static fromHex(_){return S.Format.CSS.parseHex(_)||S.red}static equals(_,g){return!_&&!g?!0:!_||!g?!1:_.equals(g)}get hsla(){return this._hsla?this._hsla:y.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:D.fromRGBA(this.rgba)}constructor(_){if(_)if(_ instanceof k)this.rgba=_;else if(_ instanceof y)this._hsla=_,this.rgba=y.toRGBA(_);else if(_ instanceof D)this._hsva=_,this.rgba=D.toRGBA(_);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(_){return!!_&&k.equals(this.rgba,_.rgba)&&y.equals(this.hsla,_.hsla)&&D.equals(this.hsva,_.hsva)}getRelativeLuminance(){const _=S._relativeLuminanceForComponent(this.rgba.r),g=S._relativeLuminanceForComponent(this.rgba.g),C=S._relativeLuminanceForComponent(this.rgba.b),s=.2126*_+.7152*g+.0722*C;return L(s,4)}static _relativeLuminanceForComponent(_){const g=_/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g>C}isDarkerThan(_){const g=this.getRelativeLuminance(),C=_.getRelativeLuminance();return g{throw u.stack?n.isErrorNoTelemetry(u)?new n(u.message+` - -`+u.stack):new Error(u.message+` - -`+u.stack):u},0)}}emit(u){this.listeners.forEach(h=>{h(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}e.ErrorHandler=L,e.errorHandler=new L;function k(a){f(a)||e.errorHandler.onUnexpectedError(a)}e.onUnexpectedError=k;function y(a){f(a)||e.errorHandler.onUnexpectedExternalError(a)}e.onUnexpectedExternalError=y;function D(a){if(a instanceof Error){const{name:u,message:h}=a,r=a.stacktrace||a.stack;return{$isError:!0,name:u,message:h,stack:r,noTelemetry:n.isErrorNoTelemetry(a)}}return a}e.transformErrorForSerialization=D;const S="Canceled";function f(a){return a instanceof _?!0:a instanceof Error&&a.name===S&&a.message===S}e.isCancellationError=f;class _ extends Error{constructor(){super(S),this.name=this.message}}e.CancellationError=_;function g(){const a=new Error(S);return a.name=a.message,a}e.canceled=g;function C(a){return a?new Error(`Illegal argument: ${a}`):new Error("Illegal argument")}e.illegalArgument=C;function s(a){return a?new Error(`Illegal state: ${a}`):new Error("Illegal state")}e.illegalState=s;class i extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}e.NotSupportedError=i;class n extends Error{constructor(u){super(u),this.name="CodeExpectedError"}static fromError(u){if(u instanceof n)return u;const h=new n;return h.message=u.message,h.stack=u.stack,h}static isErrorNoTelemetry(u){return u.name==="CodeExpectedError"}}e.ErrorNoTelemetry=n;class t extends Error{constructor(u){super(u||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}}e.BugIndicatingError=t}),define(ne[89],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTrustedTypesPolicy=void 0;function k(y,D){var S;const f=globalThis.MonacoEnvironment;if(f?.createTrustedTypesPolicy)try{return f.createTrustedTypesPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}try{return(S=window.trustedTypes)===null||S===void 0?void 0:S.createPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}}e.createTrustedTypesPolicy=k}),define(ne[85],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkAdjacentItems=e.assertFn=e.assertNever=e.ok=void 0;function k(f,_){if(!f)throw new Error(_?`Assertion failed (${_})`:"Assertion Failed")}e.ok=k;function y(f,_="Unreachable"){throw new Error(_)}e.assertNever=y;function D(f){if(!f()){debugger;f(),(0,L.onUnexpectedError)(new L.BugIndicatingError("Assertion Failed"))}}e.assertFn=D;function S(f,_){let g=0;for(;go.length&&(l=o.length);d=98&&r<=113)return null;switch(r){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return k.keyCodeToStr(r)}s.toElectronAccelerator=h})(g||(e.KeyCodeUtils=g={}));function C(s,i){const n=(i&65535)<<16>>>0;return(s|n)>>>0}e.KeyChord=C}),define(ne[119],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedChord=e.Keybinding=e.ScanCodeChord=e.KeyCodeChord=e.createSimpleKeybinding=e.decodeKeybinding=void 0;function k(C,s){if(typeof C=="number"){if(C===0)return null;const i=(C&65535)>>>0,n=(C&4294901760)>>>16;return n!==0?new f([y(i,s),y(n,s)]):new f([y(i,s)])}else{const i=[];for(let n=0;nnew Uint8Array(256));let D;class S{static wrap(t){return k&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new S(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return k?this.buffer.toString():(D||(D=new TextDecoder),D.decode(this.buffer))}}e.VSBuffer=S;function f(n,t){return n[t+0]<<0>>>0|n[t+1]<<8>>>0}e.readUInt16LE=f;function _(n,t,a){n[a+0]=t&255,t=t>>>8,n[a+1]=t&255}e.writeUInt16LE=_;function g(n,t){return n[t]*Math.pow(2,24)+n[t+1]*Math.pow(2,16)+n[t+2]*Math.pow(2,8)+n[t+3]}e.readUInt32BE=g;function C(n,t,a){n[a+3]=t,t=t>>>8,n[a+2]=t,t=t>>>8,n[a+1]=t,t=t>>>8,n[a]=t}e.writeUInt32BE=C;function s(n,t){return n[t]}e.readUInt8=s;function i(n,t,a){n[a]=t}e.writeUInt8=i}),define(ne[384],se([1,0,100]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareByPrefix=e.compareAnything=e.compareFileNames=void 0;const k=new L.Lazy(()=>{const g=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:g,collatorIsNumeric:g.resolvedOptions().numeric}}),y=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0})})),D=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})}));function S(g,C,s=!1){const i=g||"",n=C||"",t=k.value.collator.compare(i,n);return k.value.collatorIsNumeric&&t===0&&i!==n?in.length)return 1}return 0}e.compareByPrefix=_}),define(ne[2],se([1,0,99,46]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.ImmortalReference=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.setDisposableTracker=void 0;const y=!1;let D=null;function S(l){D=l}if(e.setDisposableTracker=S,y){const l="__is_disposable_tracked__";S(new class{trackDisposable(p){const m=new Error("Potentially leaked disposable").stack;setTimeout(()=>{p[l]||console.log(m)},3e3)}setParent(p,m){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsDisposed(p){if(p&&p!==h.None)try{p[l]=!0}catch{}}markAsSingleton(p){}})}function f(l){return D?.trackDisposable(l),l}function _(l){D?.markAsDisposed(l)}function g(l,p){D?.setParent(l,p)}function C(l,p){if(D)for(const m of l)D.setParent(m,p)}function s(l){return D?.markAsSingleton(l),l}e.markAsSingleton=s;function i(l){return typeof l.dispose=="function"&&l.dispose.length===0}e.isDisposable=i;function n(l){if(k.Iterable.is(l)){const p=[];for(const m of l)if(m)try{m.dispose()}catch(v){p.push(v)}if(p.length===1)throw p[0];if(p.length>1)throw new AggregateError(p,"Encountered errors while disposing of store");return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}e.dispose=n;function t(...l){const p=a(()=>n(l));return C(l,p),p}e.combinedDisposable=t;function a(l){const p=f({dispose:(0,L.once)(()=>{_(p),l()})});return p}e.toDisposable=a;class u{constructor(){this._toDispose=new Set,this._isDisposed=!1,f(this)}dispose(){this._isDisposed||(_(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{n(this._toDispose)}finally{this._toDispose.clear()}}add(p){if(!p)return p;if(p===this)throw new Error("Cannot register a disposable on itself!");return g(p,this),this._isDisposed?u.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(p),p}}e.DisposableStore=u,u.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new u,f(this),g(this._store,this)}dispose(){_(this),this._store.dispose()}_register(p){if(p===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(p)}}e.Disposable=h,h.None=Object.freeze({dispose(){}});class r{constructor(){this._isDisposed=!1,f(this)}get value(){return this._isDisposed?void 0:this._value}set value(p){var m;this._isDisposed||p===this._value||((m=this._value)===null||m===void 0||m.dispose(),p&&g(p,this),this._value=p)}clear(){this.value=void 0}dispose(){var p;this._isDisposed=!0,_(this),(p=this._value)===null||p===void 0||p.dispose(),this._value=void 0}}e.MutableDisposable=r;class c{constructor(p){this._disposable=p,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=c;class o{constructor(p){this.object=p}dispose(){}}e.ImmortalReference=o;class d{constructor(){this._store=new Map,this._isDisposed=!1,f(this)}dispose(){_(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{n(this._store.values())}finally{this._store.clear()}}get(p){return this._store.get(p)}set(p,m,v=!1){var b;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),v||(b=this._store.get(p))===null||b===void 0||b.dispose(),this._store.set(p,m)}deleteAndDispose(p){var m;(m=this._store.get(p))===null||m===void 0||m.dispose(),this._store.delete(p)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=d}),define(ne[64],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class L{constructor(D){this.element=D,this.next=L.Undefined,this.prev=L.Undefined}}L.Undefined=new L(void 0);class k{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 D=this._first;for(;D!==L.Undefined;){const S=D.next;D.prev=L.Undefined,D.next=L.Undefined,D=S}this._first=L.Undefined,this._last=L.Undefined,this._size=0}unshift(D){return this._insert(D,!1)}push(D){return this._insert(D,!0)}_insert(D,S){const f=new L(D);if(this._first===L.Undefined)this._first=f,this._last=f;else if(S){const g=this._last;this._last=f,f.prev=g,g.next=f}else{const g=this._first;this._first=f,f.next=g,g.prev=f}this._size+=1;let _=!1;return()=>{_||(_=!0,this._remove(f))}}shift(){if(this._first!==L.Undefined){const D=this._first.element;return this._remove(this._first),D}}pop(){if(this._last!==L.Undefined){const D=this._last.element;return this._remove(this._last),D}}_remove(D){if(D.prev!==L.Undefined&&D.next!==L.Undefined){const S=D.prev;S.next=D.next,D.next.prev=S}else D.prev===L.Undefined&&D.next===L.Undefined?(this._first=L.Undefined,this._last=L.Undefined):D.next===L.Undefined?(this._last=this._last.prev,this._last.next=L.Undefined):D.prev===L.Undefined&&(this._first=this._first.next,this._first.prev=L.Undefined);this._size-=1}*[Symbol.iterator](){let D=this._first;for(;D!==L.Undefined;)yield D.element,D=D.next}}e.LinkedList=k});var ke=this&&this.__decorate||function(Q,e,L,k){var y=arguments.length,D=y<3?e:k===null?k=Object.getOwnPropertyDescriptor(e,L):k,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(Q,e,L,k);else for(var f=Q.length-1;f>=0;f--)(S=Q[f])&&(D=(y<3?S(D):y>3?S(e,L,D):S(e,L))||D);return y>3&&D&&Object.defineProperty(e,L,D),D};define(ne[385],se([1,0,106]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLinkedText=e.LinkedText=void 0;class k{constructor(f){this.nodes=f}toString(){return this.nodes.map(f=>typeof f=="string"?f:f.label).join("")}}e.LinkedText=k,ke([L.memoize],k.prototype,"toString",null);const y=/\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi;function D(S){const f=[];let _=0,g;for(;g=y.exec(S);){g.index-_>0&&f.push(S.substring(_,g.index));const[,C,s,,i]=g;i?f.push({label:C,href:s,title:i}):f.push({label:C,href:s}),_=g.index+g[0].length}return __.toString();class S{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 g;return(g=this._head)===null||g===void 0?void 0:g.value}get last(){var g;return(g=this._tail)===null||g===void 0?void 0:g.value}has(g){return this._map.has(g)}get(g,C=0){const s=this._map.get(g);if(s)return C!==0&&this.touch(s,C),s.value}set(g,C,s=0){let i=this._map.get(g);if(i)i.value=C,s!==0&&this.touch(i,s);else{switch(i={key:g,value:C,next:void 0,previous:void 0},s){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(g,i),this._size++}return this}delete(g){return!!this.remove(g)}remove(g){const C=this._map.get(g);if(C)return this._map.delete(g),this.removeItem(C),this._size--,C.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const g=this._head;return this._map.delete(g.key),this.removeItem(g),this._size--,g.value}forEach(g,C){const s=this._state;let i=this._head;for(;i;){if(C?g.bind(C)(i.value,i.key,this):g(i.value,i.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.key,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}values(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.value,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}entries(){const g=this,C=this._state;let s=this._head;const i={[Symbol.iterator](){return i},next(){if(g._state!==C)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:[s.key,s.value],done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}[(k=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(g){if(g>=this.size)return;if(g===0){this.clear();return}let C=this._head,s=this.size;for(;C&&s>g;)this._map.delete(C.key),C=C.next,s--;this._head=C,this._size=s,C&&(C.previous=void 0),this._state++}addItemFirst(g){if(!this._head&&!this._tail)this._tail=g;else if(this._head)g.next=this._head,this._head.previous=g;else throw new Error("Invalid list");this._head=g,this._state++}addItemLast(g){if(!this._head&&!this._tail)this._head=g;else if(this._tail)g.previous=this._tail,this._tail.next=g;else throw new Error("Invalid list");this._tail=g,this._state++}removeItem(g){if(g===this._head&&g===this._tail)this._head=void 0,this._tail=void 0;else if(g===this._head){if(!g.next)throw new Error("Invalid list");g.next.previous=void 0,this._head=g.next}else if(g===this._tail){if(!g.previous)throw new Error("Invalid list");g.previous.next=void 0,this._tail=g.previous}else{const C=g.next,s=g.previous;if(!C||!s)throw new Error("Invalid list");C.previous=s,s.next=C}g.next=void 0,g.previous=void 0,this._state++}touch(g,C){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(C!==1&&C!==2)){if(C===1){if(g===this._head)return;const s=g.next,i=g.previous;g===this._tail?(i.next=void 0,this._tail=i):(s.previous=i,i.next=s),g.previous=void 0,g.next=this._head,this._head.previous=g,this._head=g,this._state++}else if(C===2){if(g===this._tail)return;const s=g.next,i=g.previous;g===this._head?(s.previous=void 0,this._head=s):(s.previous=i,i.next=s),g.next=void 0,g.previous=this._tail,this._tail.next=g,this._tail=g,this._state++}}}toJSON(){const g=[];return this.forEach((C,s)=>{g.push([s,C])}),g}fromJSON(g){this.clear();for(const[C,s]of g)this.set(C,s)}}e.LinkedMap=S;class f extends S{constructor(g,C=1){super(),this._limit=g,this._ratio=Math.min(Math.max(0,C),1)}get limit(){return this._limit}set limit(g){this._limit=g,this.checkTrim()}get(g,C=2){return super.get(g,C)}peek(g){return super.get(g,0)}set(g,C){return super.set(g,C,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=f}),function(Q,e){typeof define=="function"&&define.amd?define(ne[386],se([0]),e):typeof exports=="object"&&typeof module<"u"?e(exports):(Q=typeof globalThis<"u"?globalThis:Q||self,e(Q.marked={}))}(this,function(Q){"use strict";function e(he,ue){for(var te=0;tehe.length)&&(ue=he.length);for(var te=0,q=new Array(ue);te=he.length?{done:!0}:{done:!1,value:he[q++]}}}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 S(){return{async:!1,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=S();function f(he){Q.defaults=he}var _=/[&<>"']/,g=/[&<>"']/g,C=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"},n=function(ue){return i[ue]};function t(he,ue){if(ue){if(_.test(he))return he.replace(g,n)}else if(C.test(he))return he.replace(s,n);return he}var a=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(he){return he.replace(a,function(ue,te){return te=te.toLowerCase(),te==="colon"?":":te.charAt(0)==="#"?te.charAt(1)==="x"?String.fromCharCode(parseInt(te.substring(2),16)):String.fromCharCode(+te.substring(1)):""})}var h=/(^|[^\[])\^/g;function r(he,ue){he=typeof he=="string"?he:he.source,ue=ue||"";var te={replace:function(z,ee){return ee=ee.source||ee,ee=ee.replace(h,"$1"),he=he.replace(z,ee),te},getRegex:function(){return new RegExp(he,ue)}};return te}var c=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function d(he,ue,te){if(he){var q;try{q=decodeURIComponent(u(te)).replace(c,"").toLowerCase()}catch{return null}if(q.indexOf("javascript:")===0||q.indexOf("vbscript:")===0||q.indexOf("data:")===0)return null}ue&&!o.test(te)&&(te=b(ue,te));try{te=encodeURI(te).replace(/%25/g,"%")}catch{return null}return te}var l={},p=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(he,ue){l[" "+he]||(p.test(he)?l[" "+he]=he+"/":l[" "+he]=M(he,"/",!0)),he=l[" "+he];var te=he.indexOf(":")===-1;return ue.substring(0,2)==="//"?te?ue:he.replace(m,"$1")+ue:ue.charAt(0)==="/"?te?ue:he.replace(v,"$1")+ue:he+ue}var w={exec:function(){}};function E(he){for(var ue=1,te,q;ue=0&&re[ge]==="\\";)oe=!oe;return oe?"|":" |"}),q=te.split(/ \|/),z=0;if(q[0].trim()||q.shift(),q.length>0&&!q[q.length-1].trim()&&q.pop(),q.length>ue)q.splice(ue);else for(;q.length1;)ue&1&&(te+=he),ue>>=1,he+=he;return te+he}function A(he,ue,te,q){var z=ue.href,ee=ue.title?t(ue.title):null,$=he[1].replace(/\\([\[\]])/g,"$1");if(he[0].charAt(0)!=="!"){q.state.inLink=!0;var re={type:"link",raw:te,href:z,title:ee,text:$,tokens:q.inlineTokens($)};return q.state.inLink=!1,re}return{type:"image",raw:te,href:z,title:ee,text:t($)}}function N(he,ue){var te=he.match(/^(\s+)(?:```)/);if(te===null)return ue;var q=te[1];return ue.split(` -`).map(function(z){var ee=z.match(/^\s+/);if(ee===null)return z;var $=ee[0];return $.length>=q.length?z.slice(q.length):z}).join(` -`)}var F=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.space=function(q){var z=this.rules.block.newline.exec(q);if(z&&z[0].length>0)return{type:"space",raw:z[0]}},ue.code=function(q){var z=this.rules.block.code.exec(q);if(z){var ee=z[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:z[0],codeBlockStyle:"indented",text:this.options.pedantic?ee:M(ee,` -`)}}},ue.fences=function(q){var z=this.rules.block.fences.exec(q);if(z){var ee=z[0],$=N(ee,z[3]||"");return{type:"code",raw:ee,lang:z[2]?z[2].trim():z[2],text:$}}},ue.heading=function(q){var z=this.rules.block.heading.exec(q);if(z){var ee=z[2].trim();if(/#$/.test(ee)){var $=M(ee,"#");(this.options.pedantic||!$||/ $/.test($))&&(ee=$.trim())}return{type:"heading",raw:z[0],depth:z[1].length,text:ee,tokens:this.lexer.inline(ee)}}},ue.hr=function(q){var z=this.rules.block.hr.exec(q);if(z)return{type:"hr",raw:z[0]}},ue.blockquote=function(q){var z=this.rules.block.blockquote.exec(q);if(z){var ee=z[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:z[0],tokens:this.lexer.blockTokens(ee,[]),text:ee}}},ue.list=function(q){var z=this.rules.block.list.exec(q);if(z){var ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe=z[1].trim(),Fe=Pe.length>1,_e={type:"list",raw:"",ordered:Fe,start:Fe?+Pe.slice(0,-1):"",loose:!1,items:[]};Pe=Fe?"\\d{1,9}\\"+Pe.slice(-1):"\\"+Pe,this.options.pedantic&&(Pe=Fe?Pe:"[*+-]");for(var me=new RegExp("^( {0,3}"+Pe+")((?:[ ][^\\n]*)?(?:\\n|$))");q&&(Me=!1,!(!(z=me.exec(q))||this.rules.block.hr.test(q)));){if(ee=z[0],q=q.substring(ee.length),Le=z[2].split(` -`,1)[0],De=q.split(` -`,1)[0],this.options.pedantic?(oe=2,Ee=Le.trimLeft()):(oe=z[2].search(/[^ ]/),oe=oe>4?1:oe,Ee=Le.slice(oe),oe+=z[1].length),ve=!1,!Le&&/^ *$/.test(De)&&(ee+=De+` -`,q=q.substring(De.length+1),Me=!0),!Me)for(var le=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),pe=new RegExp("^ {0,"+Math.min(3,oe-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),Ce=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:```|~~~)"),be=new RegExp("^ {0,"+Math.min(3,oe-1)+"}#");q&&(ye=q.split(` -`,1)[0],Le=ye,this.options.pedantic&&(Le=Le.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Ce.test(Le)||be.test(Le)||le.test(Le)||pe.test(q)));){if(Le.search(/[^ ]/)>=oe||!Le.trim())Ee+=` -`+Le.slice(oe);else if(!ve)Ee+=` -`+Le;else break;!ve&&!Le.trim()&&(ve=!0),ee+=ye+` -`,q=q.substring(ye.length+1)}_e.loose||(Se?_e.loose=!0:/\n *\n *$/.test(ee)&&(Se=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(Ee),$&&(re=$[0]!=="[ ] ",Ee=Ee.replace(/^\[[ xX]\] +/,""))),_e.items.push({type:"list_item",raw:ee,task:!!$,checked:re,loose:!1,text:Ee}),_e.raw+=ee}_e.items[_e.items.length-1].raw=ee.trimRight(),_e.items[_e.items.length-1].text=Ee.trimRight(),_e.raw=_e.raw.trimRight();var Ie=_e.items.length;for(ge=0;ge1)return!0}return!1});!_e.loose&&Ne.length&&Re&&(_e.loose=!0,_e.items[ge].loose=!0)}return _e}},ue.html=function(q){var z=this.rules.block.html.exec(q);if(z){var ee={type:"html",raw:z[0],pre:!this.options.sanitizer&&(z[1]==="pre"||z[1]==="script"||z[1]==="style"),text:z[0]};if(this.options.sanitize){var $=this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]);ee.type="paragraph",ee.text=$,ee.tokens=this.lexer.inline($)}return ee}},ue.def=function(q){var z=this.rules.block.def.exec(q);if(z){z[3]&&(z[3]=z[3].substring(1,z[3].length-1));var ee=z[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ee,raw:z[0],href:z[2],title:z[3]}}},ue.table=function(q){var z=this.rules.block.table.exec(q);if(z){var ee={type:"table",header:I(z[1]).map(function(Se){return{text:Se}}),align:z[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:z[3]&&z[3].trim()?z[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(ee.header.length===ee.align.length){ee.raw=z[0];var $=ee.align.length,re,oe,ge,ve;for(re=0;re<$;re++)/^ *-+: *$/.test(ee.align[re])?ee.align[re]="right":/^ *:-+: *$/.test(ee.align[re])?ee.align[re]="center":/^ *:-+ *$/.test(ee.align[re])?ee.align[re]="left":ee.align[re]=null;for($=ee.rows.length,re=0;re<$;re++)ee.rows[re]=I(ee.rows[re],ee.header.length).map(function(Se){return{text:Se}});for($=ee.header.length,oe=0;oe<$;oe++)ee.header[oe].tokens=this.lexer.inline(ee.header[oe].text);for($=ee.rows.length,oe=0;oe<$;oe++)for(ve=ee.rows[oe],ge=0;ge/i.test(z[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(z[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(z[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:z[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]):z[0]}},ue.link=function(q){var z=this.rules.inline.link.exec(q);if(z){var ee=z[2].trim();if(!this.options.pedantic&&/^$/.test(ee))return;var $=M(ee.slice(0,-1),"\\");if((ee.length-$.length)%2===0)return}else{var re=P(z[2],"()");if(re>-1){var oe=z[0].indexOf("!")===0?5:4,ge=oe+z[1].length+re;z[2]=z[2].substring(0,re),z[0]=z[0].substring(0,ge).trim(),z[3]=""}}var ve=z[2],Se="";if(this.options.pedantic){var Le=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);Le&&(ve=Le[1],Se=Le[3])}else Se=z[3]?z[3].slice(1,-1):"";return ve=ve.trim(),/^$/.test(ee)?ve=ve.slice(1):ve=ve.slice(1,-1)),A(z,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:Se&&Se.replace(this.rules.inline._escapes,"$1")},z[0],this.lexer)}},ue.reflink=function(q,z){var ee;if((ee=this.rules.inline.reflink.exec(q))||(ee=this.rules.inline.nolink.exec(q))){var $=(ee[2]||ee[1]).replace(/\s+/g," ");if($=z[$.toLowerCase()],!$||!$.href){var re=ee[0].charAt(0);return{type:"text",raw:re,text:re}}return A(ee,$,ee[0],this.lexer)}},ue.emStrong=function(q,z,ee){ee===void 0&&(ee="");var $=this.rules.inline.emStrong.lDelim.exec(q);if($&&!($[3]&&ee.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 re=$[1]||$[2]||"";if(!re||re&&(ee===""||this.rules.inline.punctuation.exec(ee))){var oe=$[0].length-1,ge,ve,Se=oe,Le=0,De=$[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(De.lastIndex=0,z=z.slice(-1*q.length+oe);($=De.exec(z))!=null;)if(ge=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!!ge){if(ve=ge.length,$[3]||$[4]){Se+=ve;continue}else if(($[5]||$[6])&&oe%3&&!((oe+ve)%3)){Le+=ve;continue}if(Se-=ve,!(Se>0)){if(ve=Math.min(ve,ve+Se+Le),Math.min(oe,ve)%2){var ye=q.slice(1,oe+$.index+ve);return{type:"em",raw:q.slice(0,oe+$.index+ve+1),text:ye,tokens:this.lexer.inlineTokens(ye)}}var Ee=q.slice(2,oe+$.index+ve-1);return{type:"strong",raw:q.slice(0,oe+$.index+ve+1),text:Ee,tokens:this.lexer.inlineTokens(Ee)}}}}}},ue.codespan=function(q){var z=this.rules.inline.code.exec(q);if(z){var ee=z[2].replace(/\n/g," "),$=/[^ ]/.test(ee),re=/^ /.test(ee)&&/ $/.test(ee);return $&&re&&(ee=ee.substring(1,ee.length-1)),ee=t(ee,!0),{type:"codespan",raw:z[0],text:ee}}},ue.br=function(q){var z=this.rules.inline.br.exec(q);if(z)return{type:"br",raw:z[0]}},ue.del=function(q){var z=this.rules.inline.del.exec(q);if(z)return{type:"del",raw:z[0],text:z[2],tokens:this.lexer.inlineTokens(z[2])}},ue.autolink=function(q,z){var ee=this.rules.inline.autolink.exec(q);if(ee){var $,re;return ee[2]==="@"?($=t(this.options.mangle?z(ee[1]):ee[1]),re="mailto:"+$):($=t(ee[1]),re=$),{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.url=function(q,z){var ee;if(ee=this.rules.inline.url.exec(q)){var $,re;if(ee[2]==="@")$=t(this.options.mangle?z(ee[0]):ee[0]),re="mailto:"+$;else{var oe;do oe=ee[0],ee[0]=this.rules.inline._backpedal.exec(ee[0])[0];while(oe!==ee[0]);$=t(ee[0]),ee[1]==="www."?re="http://"+$:re=$}return{type:"link",raw:ee[0],text:$,href:re,tokens:[{type:"text",raw:$,text:$}]}}},ue.inlineText=function(q,z){var ee=this.rules.inline.text.exec(q);if(ee){var $;return this.lexer.state.inRawBlock?$=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ee[0]):t(ee[0]):ee[0]:$=t(this.options.smartypants?z(ee[0]):ee[0]),{type:"text",raw:ee[0],text:$}}},he}(),O={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}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:w,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};O._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,O.def=r(O.def).replace("label",O._label).replace("title",O._title).getRegex(),O.bullet=/(?:[*+-]|\d{1,9}[.)])/,O.listItemStart=r(/^( *)(bull) */).replace("bull",O.bullet).getRegex(),O.list=r(O.list).replace(/bull/g,O.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+O.def.source+")").getRegex(),O._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",O._comment=/|$)/,O.html=r(O.html,"i").replace("comment",O._comment).replace("tag",O._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O.paragraph=r(O._paragraph).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.blockquote=r(O.blockquote).replace("paragraph",O.paragraph).getRegex(),O.normal=E({},O),O.gfm=E({},O.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),O.gfm.table=r(O.gfm.table).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.gfm.paragraph=r(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",O.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.pedantic=E({},O.normal,{html:r(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",O._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,paragraph:r(O.normal._paragraph).replace("hr",O.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",O.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:w,tag:"^comment|^|^<[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:w,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",W.punctuation=r(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=r(O._comment).replace("(?:-->|$)","-->").getRegex(),W.emStrong.lDelim=r(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=r(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=r(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=r(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=r(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=r(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=r(W.reflink).replace("label",W._label).replace("ref",O._label).getRegex(),W.nolink=r(W.nolink).replace("ref",O._label).getRegex(),W.reflinkSearch=r(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:r(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:r(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=E({},W.normal,{escape:r(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&&(q="x"+q.toString(16)),ue+="&#"+q+";";return ue}var R=function(){function he(te){this.tokens=[],this.tokens.links=Object.create(null),this.options=te||Q.defaults,this.options.tokenizer=this.options.tokenizer||new F,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 q={block:O.normal,inline:W.normal};this.options.pedantic?(q.block=O.pedantic,q.inline=W.pedantic):this.options.gfm&&(q.block=O.gfm,this.options.breaks?q.inline=W.breaks:q.inline=W.gfm),this.tokenizer.rules=q}he.lex=function(q,z){var ee=new he(z);return ee.lex(q)},he.lexInline=function(q,z){var ee=new he(z);return ee.inlineTokens(q)};var ue=he.prototype;return ue.lex=function(q){q=q.replace(/\r\n|\r/g,` -`),this.blockTokens(q,this.tokens);for(var z;z=this.inlineQueue.shift();)this.inlineTokens(z.src,z.tokens);return this.tokens},ue.blockTokens=function(q,z){var ee=this;z===void 0&&(z=[]),this.options.pedantic?q=q.replace(/\t/g," ").replace(/^ +$/gm,""):q=q.replace(/^( *)(\t+)/gm,function(Se,Le,De){return Le+" ".repeat(De.length)});for(var $,re,oe,ge;q;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(Se){return($=Se.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.space(q)){q=q.substring($.raw.length),$.raw.length===1&&z.length>0?z[z.length-1].raw+=` -`:z.push($);continue}if($=this.tokenizer.code(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if($=this.tokenizer.fences(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.heading(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.hr(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.blockquote(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.list(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.html(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.def(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` -`+$.raw,re.text+=` -`+$.raw,this.inlineQueue[this.inlineQueue.length-1].src=re.text):this.tokens.links[$.tag]||(this.tokens.links[$.tag]={href:$.href,title:$.title});continue}if($=this.tokenizer.table(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.lheading(q)){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startBlock&&function(){var Se=1/0,Le=q.slice(1),De=void 0;ee.options.extensions.startBlock.forEach(function(ye){De=ye.call({lexer:this},Le),typeof De=="number"&&De>=0&&(Se=Math.min(Se,De))}),Se<1/0&&Se>=0&&(oe=q.substring(0,Se+1))}(),this.state.top&&($=this.tokenizer.paragraph(oe))){re=z[z.length-1],ge&&re.type==="paragraph"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($),ge=oe.length!==q.length,q=q.substring($.raw.length);continue}if($=this.tokenizer.text(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&re.type==="text"?(re.raw+=` -`+$.raw,re.text+=` -`+$.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push($);continue}if(q){var ve="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ve);break}else throw new Error(ve)}}return this.state.top=!0,z},ue.inline=function(q,z){return z===void 0&&(z=[]),this.inlineQueue.push({src:q,tokens:z}),z},ue.inlineTokens=function(q,z){var ee=this;z===void 0&&(z=[]);var $,re,oe,ge=q,ve,Se,Le;if(this.tokens.links){var De=Object.keys(this.tokens.links);if(De.length>0)for(;(ve=this.tokenizer.rules.inline.reflinkSearch.exec(ge))!=null;)De.includes(ve[0].slice(ve[0].lastIndexOf("[")+1,-1))&&(ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ve=this.tokenizer.rules.inline.blockSkip.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"["+T("a",ve[0].length-2)+"]"+ge.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(ve=this.tokenizer.rules.inline.escapedEmSt.exec(ge))!=null;)ge=ge.slice(0,ve.index)+"++"+ge.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;q;)if(Se||(Le=""),Se=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Ee){return($=Ee.call({lexer:ee},q,z))?(q=q.substring($.raw.length),z.push($),!0):!1}))){if($=this.tokenizer.escape(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.tag(q)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.link(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.reflink(q,this.tokens.links)){q=q.substring($.raw.length),re=z[z.length-1],re&&$.type==="text"&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if($=this.tokenizer.emStrong(q,ge,Le)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.codespan(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.br(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.del(q)){q=q.substring($.raw.length),z.push($);continue}if($=this.tokenizer.autolink(q,j)){q=q.substring($.raw.length),z.push($);continue}if(!this.state.inLink&&($=this.tokenizer.url(q,j))){q=q.substring($.raw.length),z.push($);continue}if(oe=q,this.options.extensions&&this.options.extensions.startInline&&function(){var Ee=1/0,Me=q.slice(1),Pe=void 0;ee.options.extensions.startInline.forEach(function(Fe){Pe=Fe.call({lexer:this},Me),typeof Pe=="number"&&Pe>=0&&(Ee=Math.min(Ee,Pe))}),Ee<1/0&&Ee>=0&&(oe=q.substring(0,Ee+1))}(),$=this.tokenizer.inlineText(oe,U)){q=q.substring($.raw.length),$.raw.slice(-1)!=="_"&&(Le=$.raw.slice(-1)),Se=!0,re=z[z.length-1],re&&re.type==="text"?(re.raw+=$.raw,re.text+=$.text):z.push($);continue}if(q){var ye="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(ye);break}else throw new Error(ye)}}return z},L(he,null,[{key:"rules",get:function(){return{block:O,inline:W}}}]),he}(),K=function(){function he(te){this.options=te||Q.defaults}var ue=he.prototype;return ue.code=function(q,z,ee){var $=(z||"").match(/\S*/)[0];if(this.options.highlight){var re=this.options.highlight(q,$);re!=null&&re!==q&&(ee=!0,q=re)}return q=q.replace(/\n$/,"")+` -`,$?'
    '+(ee?q:t(q,!0))+`
    -`:"
    "+(ee?q:t(q,!0))+`
    -`},ue.blockquote=function(q){return`
    -`+q+`
    -`},ue.html=function(q){return q},ue.heading=function(q,z,ee,$){if(this.options.headerIds){var re=this.options.headerPrefix+$.slug(ee);return"'+q+" -`}return""+q+" -`},ue.hr=function(){return this.options.xhtml?`
    -`:`
    -`},ue.list=function(q,z,ee){var $=z?"ol":"ul",re=z&&ee!==1?' start="'+ee+'"':"";return"<"+$+re+`> -`+q+" -`},ue.listitem=function(q){return"
  • "+q+`
  • -`},ue.checkbox=function(q){return" "},ue.paragraph=function(q){return"

    "+q+`

    -`},ue.table=function(q,z){return z&&(z=""+z+""),` - -`+q+` -`+z+`
    -`},ue.tablerow=function(q){return` -`+q+` -`},ue.tablecell=function(q,z){var ee=z.header?"th":"td",$=z.align?"<"+ee+' align="'+z.align+'">':"<"+ee+">";return $+q+(" -`)},ue.strong=function(q){return""+q+""},ue.em=function(q){return""+q+""},ue.codespan=function(q){return""+q+""},ue.br=function(){return this.options.xhtml?"
    ":"
    "},ue.del=function(q){return""+q+""},ue.link=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $='",$},ue.image=function(q,z,ee){if(q=d(this.options.sanitize,this.options.baseUrl,q),q===null)return ee;var $=''+ee+'":">",$},ue.text=function(q){return q},he}(),G=function(){function he(){}var ue=he.prototype;return ue.strong=function(q){return q},ue.em=function(q){return q},ue.codespan=function(q){return q},ue.del=function(q){return q},ue.html=function(q){return q},ue.text=function(q){return q},ue.link=function(q,z,ee){return""+ee},ue.image=function(q,z,ee){return""+ee},ue.br=function(){return""},he}(),Z=function(){function he(){this.seen={}}var ue=he.prototype;return ue.serialize=function(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ue.getNextSafeSlug=function(q,z){var ee=q,$=0;if(this.seen.hasOwnProperty(ee)){$=this.seen[q];do $++,ee=q+"-"+$;while(this.seen.hasOwnProperty(ee))}return z||(this.seen[q]=$,this.seen[ee]=0),ee},ue.slug=function(q,z){z===void 0&&(z={});var ee=this.serialize(q);return this.getNextSafeSlug(ee,z.dryrun)},he}(),J=function(){function he(te){this.options=te||Q.defaults,this.options.renderer=this.options.renderer||new K,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new G,this.slugger=new Z}he.parse=function(q,z){var ee=new he(z);return ee.parse(q)},he.parseInline=function(q,z){var ee=new he(z);return ee.parseInline(q)};var ue=he.prototype;return ue.parse=function(q,z){z===void 0&&(z=!0);var ee="",$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce,be,Ie=q.length;for($=0;$0&&me.tokens[0].type==="paragraph"?(me.tokens[0].text=Ce+" "+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=Ce+" "+me.tokens[0].tokens[0].text)):me.tokens.unshift({type:"text",text:Ce}):_e+=Ce),_e+=this.parse(me.tokens,Fe),ye+=this.renderer.listitem(_e,pe,le);ee+=this.renderer.list(ye,Me,Pe);continue}case"html":{ee+=this.renderer.html(Ee.text);continue}case"paragraph":{ee+=this.renderer.paragraph(this.parseInline(Ee.tokens));continue}case"text":{for(ye=Ee.tokens?this.parseInline(Ee.tokens):Ee.text;$+1"u"||he===null)throw new Error("marked(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");if(typeof ue=="function"&&(te=ue,ue=null),ue=E({},X.defaults,ue||{}),x(ue),te){var q=ue.highlight,z;try{z=R.lex(he,ue)}catch(ge){return te(ge)}var ee=function(ve){var Se;if(!ve)try{ue.walkTokens&&X.walkTokens(z,ue.walkTokens),Se=J.parse(z,ue)}catch(Le){ve=Le}return ue.highlight=q,ve?te(ve):te(null,Se)};if(!q||q.length<3||(delete ue.highlight,!z.length))return ee();var $=0;X.walkTokens(z,function(ge){ge.type==="code"&&($++,setTimeout(function(){q(ge.text,ge.lang,function(ve,Se){if(ve)return ee(ve);Se!=null&&Se!==ge.text&&(ge.text=Se,ge.escaped=!0),$--,$===0&&ee()})},0))}),$===0&&ee();return}function re(ge){if(ge.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(ge.message+"",!0)+"
    ";throw ge}try{var oe=R.lex(he,ue);if(ue.walkTokens){if(ue.async)return Promise.all(X.walkTokens(oe,ue.walkTokens)).then(function(){return J.parse(oe,ue)}).catch(re);X.walkTokens(oe,ue.walkTokens)}return J.parse(oe,ue)}catch(ge){re(ge)}}X.options=X.setOptions=function(he){return E(X.defaults,he),f(X.defaults),X},X.getDefaults=S,X.defaults=Q.defaults,X.use=function(){for(var he=arguments.length,ue=new Array(he),te=0;te"u"||he===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof he!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(he)+", string expected");ue=E({},X.defaults,ue||{}),x(ue);try{var te=R.lexInline(he,ue);return ue.walkTokens&&X.walkTokens(te,ue.walkTokens),J.parseInline(te,ue)}catch(q){if(q.message+=` -Please report this to https://github.com/markedjs/marked.`,ue.silent)return"

    An error occurred:

    "+t(q.message+"",!0)+"
    ";throw q}},X.Parser=J,X.parser=J.parse,X.Renderer=K,X.TextRenderer=G,X.Lexer=R,X.lexer=R.lex,X.Tokenizer=F,X.Slugger=Z,X.parse=X;var H=X.options,B=X.setOptions,V=X.use,Y=X.walkTokens,ie=X.parseInline,ae=X,ce=J.parse,de=R.lex;Q.Lexer=R,Q.Parser=J,Q.Renderer=K,Q.Slugger=Z,Q.TextRenderer=G,Q.Tokenizer=F,Q.getDefaults=S,Q.lexer=de,Q.marked=X,Q.options=H,Q.parse=ae,Q.parseInline=ie,Q.parser=ce,Q.setOptions=B,Q.use=V,Q.walkTokens=Y,Object.defineProperty(Q,"__esModule",{value:!0})}),define(ne[107],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0,e.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),define(ne[197],se([1,0,107]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:L.Mimes.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}}),define(ne[387],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class L{constructor(y,D=0,S=y.length,f=D-1){this.items=y,this.start=D,this.end=S,this.index=f}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(ne[388],se([1,0,387]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class k{constructor(D=[],S=10){this._initialize(D),this._limit=S,this._onChange()}getHistory(){return this._elements}add(D){this._history.delete(D),this._history.add(D),this._onChange()}next(){return this._navigator.next()}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}isLast(){return this._currentPosition()>=this._elements.length-1}isNowhere(){return this._navigator.current()===null}has(D){return this._history.has(D)}_onChange(){this._reduceToLimit();const D=this._elements;this._navigator=new L.ArrayNavigator(D,0,D.length,D.length)}_reduceToLimit(){const D=this._elements;D.length>this._limit&&this._initialize(D.slice(D.length-this._limit))}_currentPosition(){const D=this._navigator.current();return D?this._elements.indexOf(D):-1}_initialize(D){this._history=new Set;for(const S of D)this._history.add(S)}get _elements(){const D=[];return this._history.forEach(S=>D.push(S)),D}}e.HistoryNavigator=k}),define(ne[141],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function L(D,S,f){return Math.min(Math.max(D,S),f)}e.clamp=L;class k{constructor(){this._n=1,this._val=0}update(S){return this._val=this._val+(S-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=k;class y{constructor(S){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(S),this._values.fill(0,0,S)}update(S){const f=this._values[this._index];return this._values[this._index]=S,this._index=(this._index+1)%this._values.length,this._sum-=f,this._sum+=S,this._nh.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleDerivedRecomputed(u,h){const r=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("derived recomputed"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),this.formatChanges(r),{data:[{fn:u._computeFn}]}])),r.clear()}handleFromEventObservableTriggered(u,h){console.log(...this.textToConsoleArgs([_("observable from event triggered"),g(u.debugName,{color:"BlueViolet"}),...this.formatInfo(h),{data:[{fn:u._getValue}]}]))}handleAutorunCreated(u){const h=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(r,c)=>(this.changedObservablesSets.get(u).add(r),h.apply(u,[r,c]))}handleAutorunTriggered(u){const h=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("autorun"),g(u.debugName,{color:"BlueViolet"}),this.formatChanges(h),{data:[{fn:u._runFn}]}])),h.clear(),this.indentation++}handleAutorunFinished(u){this.indentation--}handleBeginTransaction(u){let h=u.getDebugName();h===void 0&&(h=""),console.log(...this.textToConsoleArgs([_("transaction"),g(h,{color:"BlueViolet"}),{data:[{fn:u._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}e.ConsoleObservableLogger=D;function S(a){const u=new Array,h=[];let r="";function c(d){if("length"in d)for(const l of d)l&&c(l);else"text"in d?(r+=`%c${d.text}`,u.push(d.style),d.data&&h.push(...d.data)):"data"in d&&h.push(...d.data)}c(a);const o=[r,...u];return o.push(...h),o}function f(a){return g(a,{color:"black"})}function _(a){return g(t(`${a}: `,10),{color:"black",bold:!0})}function g(a,u={color:"black"}){function h(c){return Object.entries(c).reduce((o,[d,l])=>`${o}${d}:${l};`,"")}const r={color:u.color};return u.strikeThrough&&(r["text-decoration"]="line-through"),u.bold&&(r["font-weight"]="bold"),{text:a,style:h(r)}}function C(a,u){switch(typeof a){case"number":return""+a;case"string":return a.length+2<=u?`"${a}"`:`"${a.substr(0,u-7)}"+...`;case"boolean":return a?"true":"false";case"undefined":return"undefined";case"object":return a===null?"null":Array.isArray(a)?s(a,u):i(a,u);case"symbol":return a.toString();case"function":return`[[Function${a.name?" "+a.name:""}]]`;default:return""+a}}function s(a,u){let h="[ ",r=!0;for(const c of a){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${C(c,u-h.length)}`}return h+=" ]",h}function i(a,u){let h="{ ",r=!0;for(const[c,o]of Object.entries(a)){if(r||(h+=", "),h.length-5>u){h+="...";break}r=!1,h+=`${c}: ${C(o,u-h.length)}`}return h+=" }",h}function n(a,u){let h="";for(let r=1;r<=u;r++)h+=a;return h}function t(a,u){for(;a.lengthu(this.read(h),h),()=>{const h=C(u);if(h!==void 0)return h;const c=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(u.toString());return c?`${this.debugName}.${c[2]}`:`${this.debugName} (mapped)`})}}e.ConvenientObservable=D;class S extends D{constructor(){super(...arguments),this.observers=new Set}addObserver(u){const h=this.observers.size;this.observers.add(u),h===0&&this.onFirstObserverAdded()}removeObserver(u){this.observers.delete(u)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}e.BaseObservable=S;function f(a,u){const h=new g(a,u);try{a(h)}finally{h.finish()}}e.transaction=f;function _(a,u,h){a?u(a):f(u,h)}e.subtransaction=_;class g{constructor(u,h){var r;this._fn=u,this._getDebugName=h,this.updatingObservers=[],(r=(0,L.getLogger)())===null||r===void 0||r.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():C(this._fn)}updateObserver(u,h){this.updatingObservers.push({observer:u,observable:h}),u.beginUpdate(h)}finish(){var u;const h=this.updatingObservers;this.updatingObservers=null;for(const{observer:r,observable:c}of h)r.endUpdate(c);(u=(0,L.getLogger)())===null||u===void 0||u.handleEndTransaction()}}e.TransactionImpl=g;function C(a){const u=a.toString(),r=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(u),c=r?r[1]:void 0;return c?.trim()}e.getFunctionName=C;function s(a,u){return new i(a,u)}e.observableValue=s;class i extends S{constructor(u,h){super(),this.debugName=u,this._value=h}get(){return this._value}set(u,h,r){var c;if(this._value===u)return;let o;h||(h=o=new g(()=>{},()=>`Setting ${this.debugName}`));try{const d=this._value;this._setValue(u),(c=(0,L.getLogger)())===null||c===void 0||c.handleObservableChanged(this,{oldValue:d,newValue:u,change:r,didChange:!0,hadValue:!0});for(const l of this.observers)h.updateObserver(l,this),l.handleChange(this,r)}finally{o&&o.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(u){this._value=u}}e.ObservableValue=i;function n(a,u){return new t(a,u)}e.disposableObservableValue=n;class t extends i{_setValue(u){this._value!==u&&(this._value&&this._value.dispose(),this._value=u)}dispose(){var u;(u=this._value)===null||u===void 0||u.dispose()}}e.DisposableObservableValue=t}),define(ne[262],se([1,0,85,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutorunObserver=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.autorunOpts=void 0;function S(s,i){return new C(s.debugName,i,void 0,void 0)}e.autorunOpts=S;function f(s){return new C(void 0,s,void 0,void 0)}e.autorun=f;function _(s,i){return new C(s.debugName,i,s.createEmptyChangeSummary,s.handleChange)}e.autorunHandleChanges=_;function g(s){const i=new k.DisposableStore,n=S({debugName:()=>(0,y.getFunctionName)(s)||"(anonymous)"},t=>{i.clear(),s(t,i)});return(0,k.toDisposable)(()=>{n.dispose(),i.dispose()})}e.autorunWithStore=g;class C{get debugName(){if(typeof this._debugName=="string")return this._debugName;if(typeof this._debugName=="function"){const n=this._debugName();if(n!==void 0)return n}const i=(0,y.getFunctionName)(this._runFn);return i!==void 0?i:"(anonymous)"}constructor(i,n,t,a){var u,h;this._debugName=i,this._runFn=n,this.createChangeSummary=t,this._handleChange=a,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=(u=this.createChangeSummary)===null||u===void 0?void 0:u.call(this),(h=(0,D.getLogger)())===null||h===void 0||h.handleAutorunCreated(this),this._runIfNeeded()}dispose(){this.disposed=!0;for(const i of this.dependencies)i.removeObserver(this);this.dependencies.clear()}_runIfNeeded(){var i,n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a,this.state=3;try{if(!this.disposed){(i=(0,D.getLogger)())===null||i===void 0||i.handleAutorunTriggered(this);const u=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this),this._runFn(this,u)}}finally{(t=(0,D.getLogger)())===null||t===void 0||t.handleAutorunFinished(this);for(const u of this.dependenciesToBeRemoved)u.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){this.state===3&&(this.state=1),this.updateCount++}endUpdate(){if(this.updateCount===1)do{if(this.state===1){this.state=3;for(const i of this.dependencies)if(i.reportChanges(),this.state===2)break}this._runIfNeeded()}while(this.state!==3);this.updateCount--,(0,L.assertFn)(()=>this.updateCount>=0)}handlePossibleChange(i){this.state===3&&this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(this.state=1)}handleChange(i,n){this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(!this._handleChange||this._handleChange({changedObservable:i,change:n,didChange:a=>a===i},this.changeSummary))&&(this.state=2)}readObservable(i){if(this.disposed)return i.get();i.addObserver(this);const n=i.get();return this.dependencies.add(i),this.dependenciesToBeRemoved.delete(i),n}}e.AutorunObserver=C,function(s){s.Observer=C}(f||(e.autorun=f={}))}),define(ne[389],se([1,0,9,2,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Derived=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=void 0;const S=(i,n)=>i===n;function f(i,n){return new s(n,i,void 0,void 0,void 0,S)}e.derived=f;function _(i,n){var t;return new s(i.debugName,n,void 0,void 0,void 0,(t=i.equalityComparer)!==null&&t!==void 0?t:S)}e.derivedOpts=_;function g(i,n,t){return new s(i,t,n.createEmptyChangeSummary,n.handleChange,void 0,S)}e.derivedHandleChanges=g;function C(i,n){const t=new k.DisposableStore;return new s(i,a=>(t.clear(),n(a,t)),void 0,void 0,()=>t.dispose(),S)}e.derivedWithStore=C,(0,y._setDerived)(f);class s extends y.BaseObservable{get debugName(){return this._debugName?typeof this._debugName=="function"?this._debugName():this._debugName:(0,y.getFunctionName)(this._computeFn)||"(anonymous)"}constructor(n,t,a,u,h=void 0,r){var c,o;super(),this._debugName=n,this._computeFn=t,this.createChangeSummary=a,this._handleChange=u,this._handleLastObserverRemoved=h,this._equalityComparator=r,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=(c=this.createChangeSummary)===null||c===void 0?void 0:c.call(this),(o=(0,D.getLogger)())===null||o===void 0||o.handleDerivedCreated(this)}onLastObserverRemoved(){var n;this.state=0,this.value=void 0;for(const t of this.dependencies)t.removeObserver(this);this.dependencies.clear(),(n=this._handleLastObserverRemoved)===null||n===void 0||n.call(this)}get(){var n;if(this.observers.size===0){const t=this._computeFn(this,(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this));return this.onLastObserverRemoved(),t}else{do{if(this.state===1){for(const t of this.dependencies)if(t.reportChanges(),this.state===2)break}this.state===1&&(this.state=3),this._recomputeIfNeeded()}while(this.state!==3);return this.value}}_recomputeIfNeeded(){var n,t;if(this.state===3)return;const a=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=a;const u=this.state!==0,h=this.value;this.state=3;const r=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this);try{this.value=this._computeFn(this,r)}finally{for(const o of this.dependenciesToBeRemoved)o.removeObserver(this);this.dependenciesToBeRemoved.clear()}const c=u&&!this._equalityComparator(h,this.value);if((t=(0,D.getLogger)())===null||t===void 0||t.handleDerivedRecomputed(this,{oldValue:h,newValue:this.value,change:void 0,didChange:c,hadValue:u}),c)for(const o of this.observers)o.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(n){this.updateCount++;const t=this.updateCount===1;if(this.state===3&&(this.state=1,!t))for(const a of this.observers)a.handlePossibleChange(this);if(t)for(const a of this.observers)a.beginUpdate(this)}endUpdate(n){if(this.updateCount--,this.updateCount===0){const t=[...this.observers];for(const a of t)a.endUpdate(this)}if(this.updateCount<0)throw new L.BugIndicatingError}handlePossibleChange(n){if(this.state===3&&this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){this.state=1;for(const t of this.observers)t.handlePossibleChange(this)}}handleChange(n,t){if(this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){const a=this._handleChange?this._handleChange({changedObservable:n,change:t,didChange:h=>h===n},this.changeSummary):!0,u=this.state===3;if(a&&(this.state===1||u)&&(this.state=2,u))for(const h of this.observers)h.handlePossibleChange(this)}}readObservable(n){n.addObserver(this);const t=n.get();return this.dependencies.add(n),this.dependenciesToBeRemoved.delete(n),t}addObserver(n){const t=!this.observers.has(n)&&this.updateCount>0;super.addObserver(n),t&&n.beginUpdate(this)}removeObserver(n){const t=this.observers.has(n)&&this.updateCount>0;super.removeObserver(n),t&&n.endUpdate(this)}}e.Derived=s}),define(ne[390],se([1,0,2,262,165,142]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keepAlive=e.observableSignal=e.observableSignalFromEvent=e.FromEventObservable=e.observableFromEvent=e.waitForState=e.constObservable=void 0;function S(h){return new f(h)}e.constObservable=S;class f extends y.ConvenientObservable{constructor(r){super(),this.value=r}get debugName(){return this.toString()}get(){return this.value}addObserver(r){}removeObserver(r){}toString(){return`Const: ${this.value}`}}function _(h,r){return new Promise(c=>{let o=!1,d=!1;const l=(0,k.autorun)(p=>{const m=h.read(p);r(m)&&(o?l.dispose():d=!0,c(m))});o=!0,d&&l.dispose()})}e.waitForState=_;function g(h,r){return new C(h,r)}e.observableFromEvent=g;class C extends y.BaseObservable{constructor(r,c){super(),this.event=r,this._getValue=c,this.hasValue=!1,this.handleEvent=o=>{var d;const l=this._getValue(o),p=!this.hasValue||this.value!==l;(d=(0,D.getLogger)())===null||d===void 0||d.handleFromEventObservableTriggered(this,{oldValue:this.value,newValue:l,change:void 0,didChange:p,hadValue:this.hasValue}),p&&(this.value=l,this.hasValue&&(0,y.transaction)(m=>{for(const v of this.observers)m.updateObserver(v,this),v.handleChange(this,void 0)},()=>{const m=this.getDebugName();return"Event fired"+(m?`: ${m}`:"")}),this.hasValue=!0)}}getDebugName(){return(0,y.getFunctionName)(this._getValue)}get debugName(){const r=this.getDebugName();return"From Event"+(r?`: ${r}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}e.FromEventObservable=C,function(h){h.Observer=C}(g||(e.observableFromEvent=g={}));function s(h,r){return new i(h,r)}e.observableSignalFromEvent=s;class i extends y.BaseObservable{constructor(r,c){super(),this.debugName=r,this.event=c,this.handleEvent=()=>{(0,y.transaction)(o=>{for(const d of this.observers)o.updateObserver(d,this),d.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function n(h){return new t(h)}e.observableSignal=n;class t extends y.BaseObservable{constructor(r){super(),this.debugName=r}trigger(r,c){if(!r){(0,y.transaction)(o=>{this.trigger(o,c)},()=>`Trigger signal ${this.debugName}`);return}for(const o of this.observers)r.updateObserver(o,this),o.handleChange(this,c)}get(){}}function a(h,r){const c=new u(r??!1);return h.addObserver(c),r&&h.reportChanges(),(0,L.toDisposable)(()=>{h.removeObserver(c)})}e.keepAlive=a;class u{constructor(r){this.forceRecompute=r,this.counter=0}beginUpdate(r){this.counter++}endUpdate(r){this.counter--,this.counter===0&&this.forceRecompute&&r.reportChanges()}handlePossibleChange(r){}handleChange(r,c){}}}),define(ne[42],se([1,0,165,389,262,390,142]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waitForState=e.observableSignalFromEvent=e.observableSignal=e.observableFromEvent=e.keepAlive=e.constObservable=e.autorunOpts=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=e.subtransaction=e.transaction=e.disposableObservableValue=e.observableValue=void 0,Object.defineProperty(e,"observableValue",{enumerable:!0,get:function(){return L.observableValue}}),Object.defineProperty(e,"disposableObservableValue",{enumerable:!0,get:function(){return L.disposableObservableValue}}),Object.defineProperty(e,"transaction",{enumerable:!0,get:function(){return L.transaction}}),Object.defineProperty(e,"subtransaction",{enumerable:!0,get:function(){return L.subtransaction}}),Object.defineProperty(e,"derived",{enumerable:!0,get:function(){return k.derived}}),Object.defineProperty(e,"derivedOpts",{enumerable:!0,get:function(){return k.derivedOpts}}),Object.defineProperty(e,"derivedHandleChanges",{enumerable:!0,get:function(){return k.derivedHandleChanges}}),Object.defineProperty(e,"derivedWithStore",{enumerable:!0,get:function(){return k.derivedWithStore}}),Object.defineProperty(e,"autorun",{enumerable:!0,get:function(){return y.autorun}}),Object.defineProperty(e,"autorunHandleChanges",{enumerable:!0,get:function(){return y.autorunHandleChanges}}),Object.defineProperty(e,"autorunWithStore",{enumerable:!0,get:function(){return y.autorunWithStore}}),Object.defineProperty(e,"autorunOpts",{enumerable:!0,get:function(){return y.autorunOpts}}),Object.defineProperty(e,"constObservable",{enumerable:!0,get:function(){return D.constObservable}}),Object.defineProperty(e,"keepAlive",{enumerable:!0,get:function(){return D.keepAlive}}),Object.defineProperty(e,"observableFromEvent",{enumerable:!0,get:function(){return D.observableFromEvent}}),Object.defineProperty(e,"observableSignal",{enumerable:!0,get:function(){return D.observableSignal}}),Object.defineProperty(e,"observableSignalFromEvent",{enumerable:!0,get:function(){return D.observableSignalFromEvent}}),Object.defineProperty(e,"waitForState",{enumerable:!0,get:function(){return D.waitForState}}),!1&&(0,S.setLogger)(new S.ConsoleObservableLogger)}),define(ne[166],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Range=void 0;var L;(function(k){function y(_,g){if(_.start>=g.end||g.start>=_.end)return{start:0,end:0};const C=Math.max(_.start,g.start),s=Math.min(_.end,g.end);return s-C<=0?{start:0,end:0}:{start:C,end:s}}k.intersect=y;function D(_){return _.end-_.start<=0}k.isEmpty=D;function S(_,g){return!D(y(_,g))}k.intersects=S;function f(_,g){const C=[],s={start:_.start,end:Math.min(g.start,_.end)},i={start:Math.max(g.end,_.start),end:_.end};return D(s)||C.push(s),D(i)||C.push(i),C}k.relativeComplement=f})(L||(e.Range=L={}))}),define(ne[391],se([1,0,166]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function k(_,g){const C=[];for(const s of g){if(_.start>=s.range.end)continue;if(_.endg.concat(C),[]))}class f{get paddingTop(){return this._paddingTop}set paddingTop(g){this._size=this._size+g-this._paddingTop,this._paddingTop=g}constructor(g){this.groups=[],this._size=0,this._paddingTop=0,this._paddingTop=g??0,this._size=this._paddingTop}splice(g,C,s=[]){const i=s.length-C,n=k({start:0,end:g},this.groups),t=k({start:g+C,end:Number.POSITIVE_INFINITY},this.groups).map(u=>({range:y(u.range,i),size:u.size})),a=s.map((u,h)=>({range:{start:g+h,end:g+h+1},size:u.size}));this.groups=S(n,a,t),this._size=this._paddingTop+this.groups.reduce((u,h)=>u+h.size*(h.range.end-h.range.start),0)}get count(){const g=this.groups.length;return g?this.groups[g-1].range.end:0}get size(){return this._size}indexAt(g){if(g<0)return-1;if(gy.Disposable.None;function w(ce){if(_){const{onDidAddListener:de}=ce,he=n.create();let ue=0;ce.onDidAddListener=()=>{++ue===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),he.print()),de?.()}}}function E(ce,de){return O(ce,()=>{},0,void 0,!0,void 0,de)}b.defer=E;function I(ce){return(de,he=null,ue)=>{let te=!1,q;return q=ce(z=>{if(!te)return q?q.dispose():te=!0,de.call(he,z)},null,ue),te&&q.dispose(),q}}b.once=I;function M(ce,de,he){return F((ue,te=null,q)=>ce(z=>ue.call(te,de(z)),null,q),he)}b.map=M;function P(ce,de,he){return F((ue,te=null,q)=>ce(z=>{de(z),ue.call(te,z)},null,q),he)}b.forEach=P;function x(ce,de,he){return F((ue,te=null,q)=>ce(z=>de(z)&&ue.call(te,z),null,q),he)}b.filter=x;function T(ce){return ce}b.signal=T;function A(...ce){return(de,he=null,ue)=>(0,y.combinedDisposable)(...ce.map(te=>te(q=>de.call(he,q),null,ue)))}b.any=A;function N(ce,de,he,ue){let te=he;return M(ce,q=>(te=de(te,q),te),ue)}b.reduce=N;function F(ce,de){let he;const ue={onWillAddFirstListener(){he=ce(te.fire,te)},onDidRemoveLastListener(){he?.dispose()}};de||w(ue);const te=new h(ue);return de?.add(te),te.event}function O(ce,de,he=100,ue=!1,te=!1,q,z){let ee,$,re,oe=0,ge;const ve={leakWarningThreshold:q,onWillAddFirstListener(){ee=ce(Le=>{oe++,$=de($,Le),ue&&!re&&(Se.fire($),$=void 0),ge=()=>{const De=$;$=void 0,re=void 0,(!ue||oe>1)&&Se.fire(De),oe=0},typeof he=="number"?(clearTimeout(re),re=setTimeout(ge,he)):re===void 0&&(re=0,queueMicrotask(ge))})},onWillRemoveListener(){te&&oe>0&&ge?.()},onDidRemoveLastListener(){ge=void 0,ee.dispose()}};z||w(ve);const Se=new h(ve);return z?.add(Se),Se.event}b.debounce=O;function W(ce,de=0,he){return b.debounce(ce,(ue,te)=>ue?(ue.push(te),ue):[te],de,void 0,!0,void 0,he)}b.accumulate=W;function U(ce,de=(ue,te)=>ue===te,he){let ue=!0,te;return x(ce,q=>{const z=ue||!de(q,te);return ue=!1,te=q,z},he)}b.latch=U;function j(ce,de,he){return[b.filter(ce,de,he),b.filter(ce,ue=>!de(ue),he)]}b.split=j;function R(ce,de=!1,he=[]){let ue=he.slice(),te=ce(ee=>{ue?ue.push(ee):z.fire(ee)});const q=()=>{ue?.forEach(ee=>z.fire(ee)),ue=null},z=new h({onWillAddFirstListener(){te||(te=ce(ee=>z.fire(ee)))},onDidAddFirstListener(){ue&&(de?setTimeout(q):q())},onDidRemoveLastListener(){te&&te.dispose(),te=null}});return z.event}b.buffer=R;class K{constructor(de){this.event=de,this.disposables=new y.DisposableStore}map(de){return new K(M(this.event,de,this.disposables))}forEach(de){return new K(P(this.event,de,this.disposables))}filter(de){return new K(x(this.event,de,this.disposables))}reduce(de,he){return new K(N(this.event,de,he,this.disposables))}latch(){return new K(U(this.event,void 0,this.disposables))}debounce(de,he=100,ue=!1,te=!1,q){return new K(O(this.event,de,he,ue,te,q,this.disposables))}on(de,he,ue){return this.event(de,he,ue)}once(de,he,ue){return I(this.event)(de,he,ue)}dispose(){this.disposables.dispose()}}function G(ce){return new K(ce)}b.chain=G;function Z(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.on(de,ue),q=()=>ce.removeListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromNodeEventEmitter=Z;function J(ce,de,he=ue=>ue){const ue=(...ee)=>z.fire(he(...ee)),te=()=>ce.addEventListener(de,ue),q=()=>ce.removeEventListener(de,ue),z=new h({onWillAddFirstListener:te,onDidRemoveLastListener:q});return z.event}b.fromDOMEventEmitter=J;function X(ce){return new Promise(de=>I(ce)(de))}b.toPromise=X;function H(ce){const de=new h;return ce.then(he=>{de.fire(he)},()=>{de.fire(void 0)}).finally(()=>{de.dispose()}),de.event}b.fromPromise=H;function B(ce,de){return de(void 0),ce(he=>de(he))}b.runAndSubscribe=B;function V(ce,de){let he=null;function ue(q){he?.dispose(),he=new y.DisposableStore,de(q,he)}ue(void 0);const te=ce(q=>ue(q));return(0,y.toDisposable)(()=>{te.dispose(),he?.dispose()})}b.runAndSubscribeWithStore=V;class Y{constructor(de,he){this._observable=de,this._counter=0,this._hasChanged=!1;const ue={onWillAddFirstListener:()=>{de.addObserver(this)},onDidRemoveLastListener:()=>{de.removeObserver(this)}};he||w(ue),this.emitter=new h(ue),he&&he.add(this.emitter)}beginUpdate(de){this._counter++}handlePossibleChange(de){}handleChange(de,he){this._hasChanged=!0}endUpdate(de){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function ie(ce,de){return new Y(ce,de).emitter.event}b.fromObservable=ie;function ae(ce){return de=>{let he=0,ue=!1;const te={beginUpdate(){he++},endUpdate(){he--,he===0&&(ce.reportChanges(),ue&&(ue=!1,de()))},handlePossibleChange(){},handleChange(){ue=!0}};return ce.addObserver(te),ce.reportChanges(),{dispose(){ce.removeObserver(te)}}}}b.fromObservableLight=ae})(g||(e.Event=g={}));class C{constructor(w){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${w}_${C._idPool++}`,C.all.add(this)}start(w){this._stopWatch=new S.StopWatch,this.listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this.durations.push(w),this.elapsedOverall+=w,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=C,C.all=new Set,C._idPool=0;let s=-1;class i{constructor(w,E=Math.random().toString(18).slice(2,5)){this.threshold=w,this.name=E,this._warnCountdown=0}dispose(){var w;(w=this._stacks)===null||w===void 0||w.clear()}check(w,E){const I=this.threshold;if(I<=0||E{const P=this._stacks.get(w.value)||0;this._stacks.set(w.value,P-1)}}}class n{static create(){var w;return new n((w=new Error().stack)!==null&&w!==void 0?w:"")}constructor(w){this.value=w}print(){console.warn(this.value.split(` -`).slice(2).join(` -`))}}class t{constructor(w){this.value=w}}const a=2,u=(b,w)=>{if(b instanceof t)w(b);else for(let E=0;E0||!((E=this._options)===null||E===void 0)&&E.leakWarningThreshold?new i((M=(I=this._options)===null||I===void 0?void 0:I.leakWarningThreshold)!==null&&M!==void 0?M:s):void 0,this._perfMon=!((P=this._options)===null||P===void 0)&&P._profName?new C(this._options._profName):void 0,this._deliveryQueue=(x=this._options)===null||x===void 0?void 0:x.deliveryQueue}dispose(){var w,E,I,M;if(!this._disposed){if(this._disposed=!0,((w=this._deliveryQueue)===null||w===void 0?void 0:w.current)===this&&this._deliveryQueue.reset(),this._listeners){if(f){const P=this._listeners;queueMicrotask(()=>{u(P,x=>{var T;return(T=x.stack)===null||T===void 0?void 0:T.print()})})}this._listeners=void 0,this._size=0}(I=(E=this._options)===null||E===void 0?void 0:E.onDidRemoveLastListener)===null||I===void 0||I.call(E),(M=this._leakageMon)===null||M===void 0||M.dispose()}}get event(){var w;return(w=this._event)!==null&&w!==void 0||(this._event=(E,I,M)=>{var P,x,T,A,N;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),y.Disposable.None;if(this._disposed)return y.Disposable.None;I&&(E=E.bind(I));const F=new t(E);let O,W;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(F.stack=n.create(),O=this._leakageMon.check(F.stack,this._size+1)),f&&(F.stack=W??n.create()),this._listeners?this._listeners instanceof t?((N=this._deliveryQueue)!==null&&N!==void 0||(this._deliveryQueue=new c),this._listeners=[this._listeners,F]):this._listeners.push(F):((x=(P=this._options)===null||P===void 0?void 0:P.onWillAddFirstListener)===null||x===void 0||x.call(P,this),this._listeners=F,(A=(T=this._options)===null||T===void 0?void 0:T.onDidAddFirstListener)===null||A===void 0||A.call(T,this)),this._size++;const U=(0,y.toDisposable)(()=>{O?.(),this._removeListener(F)});return M instanceof y.DisposableStore?M.add(U):Array.isArray(M)&&M.push(U),U}),this._event}_removeListener(w){var E,I,M,P;if((I=(E=this._options)===null||E===void 0?void 0:E.onWillRemoveListener)===null||I===void 0||I.call(E,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(P=(M=this._options)===null||M===void 0?void 0:M.onDidRemoveLastListener)===null||P===void 0||P.call(M,this),this._size=0;return}const x=this._listeners,T=x.indexOf(w);if(T===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,x[T]=void 0;const A=this._deliveryQueue.current===this;if(this._size*a<=x.length){let N=0;for(let F=0;F0}}e.Emitter=h;const r=()=>new c;e.createEventDeliveryQueue=r;class c{constructor(){this.i=-1,this.end=0}enqueue(w,E,I){this.i=0,this.end=I,this.current=w,this.value=E}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class o extends h{constructor(w){super(w),this._isPaused=0,this._eventQueue=new D.LinkedList,this._mergeFn=w?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._size&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}e.PauseableEmitter=o;class d extends o{constructor(w){var E;super(w),this._delay=(E=w.delay)!==null&&E!==void 0?E:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}e.DebounceEmitter=d;class l extends h{constructor(w){super(w),this._queuedEvents=[],this._mergeFn=w?.merge}fire(w){this.hasListeners()&&(this._queuedEvents.push(w),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(E=>super.fire(E)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=l;class p{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new h({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(w){const E={event:w,listener:null};this.events.push(E),this.hasListeners&&this.hook(E);const I=()=>{this.hasListeners&&this.unhook(E);const M=this.events.indexOf(E);this.events.splice(M,1)};return(0,y.toDisposable)((0,k.once)(I))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(w=>this.hook(w))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(w=>this.unhook(w))}hook(w){w.listener=w.event(E=>this.emitter.fire(E))}unhook(w){w.listener&&w.listener.dispose(),w.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=p;class m{constructor(){this.buffers=[]}wrapEvent(w){return(E,I,M)=>w(P=>{const x=this.buffers[this.buffers.length-1];x?x.push(()=>E.call(I,P)):E.call(I,P)},void 0,M)}bufferEvents(w){const E=[];this.buffers.push(E);const I=w();return this.buffers.pop(),E.forEach(M=>M()),I}}e.EventBufferer=m;class v{constructor(){this.listening=!1,this.inputEvent=g.None,this.inputEventListener=y.Disposable.None,this.emitter=new h({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=v}),define(ne[52],se([1,0,6,2]),function(Q,e,L,k){"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=e.addMatchMediaChangeListener=void 0;class y{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}y.INSTANCE=new y;class D extends k.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){var a;(a=this._mediaQueryList)===null||a===void 0||a.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class S extends k.Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const t=this._register(new D);this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const t=document.createElement("canvas").getContext("2d"),a=window.devicePixelRatio||1,u=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return a/u}}class f{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,k.markAsSingleton)(new S)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function _(n,t){typeof n=="string"&&(n=window.matchMedia(n)),n.addEventListener("change",t)}e.addMatchMediaChangeListener=_,e.PixelRatio=new f;function g(){return y.INSTANCE.getZoomFactor()}e.getZoomFactor=g;const C=navigator.userAgent;e.isFirefox=C.indexOf("Firefox")>=0,e.isWebKit=C.indexOf("AppleWebKit")>=0,e.isChrome=C.indexOf("Chrome")>=0,e.isSafari=!e.isChrome&&C.indexOf("Safari")>=0,e.isWebkitWebView=!e.isChrome&&!e.isSafari&&e.isWebKit,e.isElectron=C.indexOf("Electron/")>=0,e.isAndroid=C.indexOf("Android")>=0;let s=!1;if(window.matchMedia){const n=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");s=n.matches,_(n,({matches:a})=>{s&&t.matches||(s=a)})}function i(){return s}e.isStandalone=i}),define(ne[81],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEmitter=void 0;class k{get event(){return this.emitter.event}constructor(D,S,f){const _=g=>this.emitter.fire(g);this.emitter=new L.Emitter({onWillAddFirstListener:()=>D.addEventListener(S,_,f),onDidRemoveLastListener:()=>D.removeEventListener(S,_,f)})}dispose(){this.emitter.dispose()}}e.DomEmitter=k}),define(ne[19],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const k=Object.freeze(function(f,_){const g=setTimeout(f.bind(_),0);return{dispose(){clearTimeout(g)}}});var y;(function(f){function _(g){return g===f.None||g===f.Cancelled||g instanceof D?!0:!g||typeof g!="object"?!1:typeof g.isCancellationRequested=="boolean"&&typeof g.onCancellationRequested=="function"}f.isCancellationToken=_,f.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.Event.None}),f.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:k})})(y||(e.CancellationToken=y={}));class D{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?k:(this._emitter||(this._emitter=new L.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class S{constructor(_){this._token=void 0,this._parentListener=void 0,this._parentListener=_&&_.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new D),this._token}cancel(){this._token?this._token instanceof D&&this._token.cancel():this._token=y.Cancelled}dispose(_=!1){var g;_&&this.cancel(),(g=this._parentListener)===null||g===void 0||g.dispose(),this._token?this._token instanceof D&&this._token.dispose():this._token=y.None}}e.CancellationTokenSource=S}),define(ne[263],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IME=e.IMEImpl=void 0;class k{constructor(){this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._enabled=!0}get enabled(){return this._enabled}enable(){this._enabled=!0,this._onDidChange.fire()}disable(){this._enabled=!1,this._onDidChange.fire()}}e.IMEImpl=k,e.IME=new k}),define(ne[167],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollingOperation=e.SmoothScrollingUpdate=e.Scrollable=e.ScrollState=void 0;class y{constructor(n,t,a,u,h,r,c){this._forceIntegerValues=n,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,a=a|0,u=u|0,h=h|0,r=r|0,c=c|0),this.rawScrollLeft=u,this.rawScrollTop=c,t<0&&(t=0),u+t>a&&(u=a-t),u<0&&(u=0),h<0&&(h=0),c+h>r&&(c=r-h),c<0&&(c=0),this.width=t,this.scrollWidth=a,this.scrollLeft=u,this.height=h,this.scrollHeight=r,this.scrollTop=c}equals(n){return this.rawScrollLeft===n.rawScrollLeft&&this.rawScrollTop===n.rawScrollTop&&this.width===n.width&&this.scrollWidth===n.scrollWidth&&this.scrollLeft===n.scrollLeft&&this.height===n.height&&this.scrollHeight===n.scrollHeight&&this.scrollTop===n.scrollTop}withScrollDimensions(n,t){return new y(this._forceIntegerValues,typeof n.width<"u"?n.width:this.width,typeof n.scrollWidth<"u"?n.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof n.height<"u"?n.height:this.height,typeof n.scrollHeight<"u"?n.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(n){return new y(this._forceIntegerValues,this.width,this.scrollWidth,typeof n.scrollLeft<"u"?n.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof n.scrollTop<"u"?n.scrollTop:this.rawScrollTop)}createScrollEvent(n,t){const a=this.width!==n.width,u=this.scrollWidth!==n.scrollWidth,h=this.scrollLeft!==n.scrollLeft,r=this.height!==n.height,c=this.scrollHeight!==n.scrollHeight,o=this.scrollTop!==n.scrollTop;return{inSmoothScrolling:t,oldWidth:n.width,oldScrollWidth:n.scrollWidth,oldScrollLeft:n.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:n.height,oldScrollHeight:n.scrollHeight,oldScrollTop:n.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:a,scrollWidthChanged:u,scrollLeftChanged:h,heightChanged:r,scrollHeightChanged:c,scrollTopChanged:o}}}e.ScrollState=y;class D extends k.Disposable{constructor(n){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new L.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=n.smoothScrollDuration,this._scheduleAtNextAnimationFrame=n.scheduleAtNextAnimationFrame,this._state=new y(n.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(n){this._smoothScrollDuration=n}validateScrollPosition(n){return this._state.withScrollPosition(n)}getScrollDimensions(){return this._state}setScrollDimensions(n,t){var a;const u=this._state.withScrollDimensions(n,t);this._setState(u,!!this._smoothScrolling),(a=this._smoothScrolling)===null||a===void 0||a.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(n){const t=this._state.withScrollPosition(n);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(n,t){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(n);if(this._smoothScrolling){n={scrollLeft:typeof n.scrollLeft>"u"?this._smoothScrolling.to.scrollLeft:n.scrollLeft,scrollTop:typeof n.scrollTop>"u"?this._smoothScrolling.to.scrollTop:n.scrollTop};const a=this._state.withScrollPosition(n);if(this._smoothScrolling.to.scrollLeft===a.scrollLeft&&this._smoothScrolling.to.scrollTop===a.scrollTop)return;let u;t?u=new g(this._smoothScrolling.from,a,this._smoothScrolling.startTime,this._smoothScrolling.duration):u=this._smoothScrolling.combine(this._state,a,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=u}else{const a=this._state.withScrollPosition(n);this._smoothScrolling=g.start(this._state,a,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;const n=this._smoothScrolling.tick(),t=this._state.withScrollPosition(n);if(this._setState(t,!0),!!this._smoothScrolling){if(n.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(n,t){const a=this._state;a.equals(n)||(this._state=n,this._onScroll.fire(this._state.createScrollEvent(a,t)))}}e.Scrollable=D;class S{constructor(n,t,a){this.scrollLeft=n,this.scrollTop=t,this.isDone=a}}e.SmoothScrollingUpdate=S;function f(i,n){const t=n-i;return function(a){return i+t*s(a)}}function _(i,n,t){return function(a){return a2.5*a){let h,r;return n=re.length?oe:re[ve]})}e.format=f;function _($){return $.replace(/[<>&]/g,function(re){switch(re){case"<":return"<";case">":return">";case"&":return"&";default:return re}})}e.escape=_;function g($){return $.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=g;function C($,re=" "){const oe=s($,re);return i(oe,re)}e.trim=C;function s($,re){if(!$||!re)return $;const oe=re.length;if(oe===0||$.length===0)return $;let ge=0;for(;$.indexOf(re,ge)===ge;)ge=ge+oe;return $.substring(ge)}e.ltrim=s;function i($,re){if(!$||!re)return $;const oe=re.length,ge=$.length;if(oe===0||ge===0)return $;let ve=ge,Se=-1;for(;Se=$.lastIndexOf(re,ve-1),!(Se===-1||Se+oe!==ve);){if(Se===0)return"";ve=Se}return $.substring(0,ve)}e.rtrim=i;function n($){return $.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=n;function t($){return $.replace(/\*/g,"")}e.stripWildcards=t;function a($,re,oe={}){if(!$)throw new Error("Cannot create regex from empty string");re||($=g($)),oe.wholeWord&&(/\B/.test($.charAt(0))||($="\\b"+$),/\B/.test($.charAt($.length-1))||($=$+"\\b"));let ge="";return oe.global&&(ge+="g"),oe.matchCase||(ge+="i"),oe.multiline&&(ge+="m"),oe.unicode&&(ge+="u"),new RegExp($,ge)}e.createRegExp=a;function u($){return $.source==="^"||$.source==="^$"||$.source==="$"||$.source==="^\\s*$"?!1:!!($.exec("")&&$.lastIndex===0)}e.regExpLeadsToEndlessLoop=u;function h($){return $.split(/\r\n|\r|\n/)}e.splitLines=h;function r($){for(let re=0,oe=$.length;re=0;oe--){const ge=$.charCodeAt(oe);if(ge!==32&&ge!==9)return oe}return-1}e.lastNonWhitespaceIndex=o;function d($,re){return $re?1:0}e.compare=d;function l($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oeEe)return 1}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstring=l;function p($,re){return m($,re,0,$.length,0,re.length)}e.compareIgnoreCase=p;function m($,re,oe=0,ge=$.length,ve=0,Se=re.length){for(;oe=128||Ee>=128)return l($.toLowerCase(),re.toLowerCase(),oe,ge,ve,Se);b(ye)&&(ye-=32),b(Ee)&&(Ee-=32);const Me=ye-Ee;if(Me!==0)return Me}const Le=ge-oe,De=Se-ve;return LeDe?1:0}e.compareSubstringIgnoreCase=m;function v($){return $>=48&&$<=57}e.isAsciiDigit=v;function b($){return $>=97&&$<=122}e.isLowerAsciiLetter=b;function w($){return $>=65&&$<=90}e.isUpperAsciiLetter=w;function E($,re){return $.length===re.length&&m($,re)===0}e.equalsIgnoreCase=E;function I($,re){const oe=re.length;return re.length>$.length?!1:m($,re,0,oe)===0}e.startsWithIgnoreCase=I;function M($,re){const oe=Math.min($.length,re.length);let ge;for(ge=0;ge1){const ge=$.charCodeAt(re-2);if(x(ge))return A(ge,oe)}return oe}class O{get offset(){return this._offset}constructor(re,oe=0){this._str=re,this._len=re.length,this._offset=oe}setOffset(re){this._offset=re}prevCodePoint(){const re=F(this._str,this._offset);return this._offset-=re>=65536?2:1,re}nextCodePoint(){const re=N(this._str,this._len,this._offset);return this._offset+=re>=65536?2:1,re}eol(){return this._offset>=this._len}}e.CodePointIterator=O;class W{get offset(){return this._iterator.offset}constructor(re,oe=0){this._iterator=new O(re,oe)}nextGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.nextCodePoint());for(;!oe.eol();){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.nextCodePoint());if(ce(ve,Le)){oe.setOffset(Se);break}ve=Le}return oe.offset-ge}prevGraphemeLength(){const re=de.getInstance(),oe=this._iterator,ge=oe.offset;let ve=re.getGraphemeBreakType(oe.prevCodePoint());for(;oe.offset>0;){const Se=oe.offset,Le=re.getGraphemeBreakType(oe.prevCodePoint());if(ce(Le,ve)){oe.setOffset(Se);break}ve=Le}return ge-oe.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=W;function U($,re){return new W($,re).nextGraphemeLength()}e.nextCharLength=U;function j($,re){return new W($,re).prevGraphemeLength()}e.prevCharLength=j;function R($,re){re>0&&T($.charCodeAt(re))&&re--;const oe=re+U($,re);return[oe-j($,oe),oe]}e.getCharContainingOffset=R;let K;function G(){return/(?:[\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 Z($){return K||(K=G()),K.test($)}e.containsRTL=Z;const J=/^[\t\n\r\x20-\x7E]*$/;function X($){return J.test($)}e.isBasicASCII=X,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function H($){return e.UNUSUAL_LINE_TERMINATORS.test($)}e.containsUnusualLineTerminators=H;function B($){return $>=11904&&$<=55215||$>=63744&&$<=64255||$>=65281&&$<=65374}e.isFullWidthCharacter=B;function V($){return $>=127462&&$<=127487||$===8986||$===8987||$===9200||$===9203||$>=9728&&$<=10175||$===11088||$===11093||$>=127744&&$<=128591||$>=128640&&$<=128764||$>=128992&&$<=129008||$>=129280&&$<=129535||$>=129648&&$<=129782}e.isEmojiImprecise=V,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function Y($){return!!($&&$.length>0&&$.charCodeAt(0)===65279)}e.startsWithUTF8BOM=Y;function ie($,re=!1){return $?(re&&($=$.replace(/\\./g,"")),$.toLowerCase()!==$):!1}e.containsUppercaseCharacter=ie;function ae($){return $=$%(2*26),$<26?String.fromCharCode(97+$):String.fromCharCode(65+$-26)}e.singleLetterHash=ae;function ce($,re){return $===0?re!==5&&re!==7:$===2&&re===3?!1:$===4||$===2||$===3||re===4||re===2||re===3?!0:!($===8&&(re===8||re===9||re===11||re===12)||($===11||$===9)&&(re===9||re===10)||($===12||$===10)&&re===10||re===5||re===13||re===7||$===1||$===13&&re===14||$===6&&re===6)}class de{static getInstance(){return de._INSTANCE||(de._INSTANCE=new de),de._INSTANCE}constructor(){this._data=he()}getGraphemeBreakType(re){if(re<32)return re===10?3:re===13?2:4;if(re<127)return 0;const oe=this._data,ge=oe.length/3;let ve=1;for(;ve<=ge;)if(reoe[3*ve+1])ve=2*ve+1;else return oe[3*ve+2];return 0}}de._INSTANCE=null;function he(){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 ue($,re){if($===0)return 0;const oe=te($,re);if(oe!==void 0)return oe;const ge=new O(re,$);return ge.prevCodePoint(),ge.offset}e.getLeftDeleteOffset=ue;function te($,re){const oe=new O(re,$);let ge=oe.prevCodePoint();for(;q(ge)||ge===65039||ge===8419;){if(oe.offset===0)return;ge=oe.prevCodePoint()}if(!V(ge))return;let ve=oe.offset;return ve>0&&oe.prevCodePoint()===8205&&(ve=oe.offset),ve}function q($){return 127995<=$&&$<=127999}e.noBreakWhitespace="\xA0";class z{static getInstance(re){return y.cache.get(Array.from(re))}static getLocales(){return y._locales.value}constructor(re){this.confusableDictionary=re}isAmbiguous(re){return this.confusableDictionary.has(re)}getPrimaryConfusable(re){return this.confusableDictionary.get(re)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=z,y=z,z.ambiguousCharacterData=new k.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,119846,109],"_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]}')),z.cache=new L.LRUCachedFunction($=>{function re(Ee){const Me=new Map;for(let Pe=0;Pe!Ee.startsWith("_")&&Ee in ve);Se.length===0&&(Se=["_default"]);let Le;for(const Ee of Se){const Me=re(ve[Ee]);Le=ge(Le,Me)}const De=re(ve._common),ye=oe(De,Le);return new y(ye)}),z._locales=new k.Lazy(()=>Object.keys(y.ambiguousCharacterData.value).filter($=>!$.startsWith("_")));class ee{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(ee.getRawData())),this._data}static isInvisibleCharacter(re){return ee.getData().has(re)}static get codePoints(){return ee.getData()}}e.InvisibleCharacters=ee,ee._data=void 0}),define(ne[72],se([1,0,65,11]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScoreOptions=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy2=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function y(...q){return function(z,ee){for(let $=0,re=q.length;$0?[{start:0,end:z.length}]:[]:null}function S(q,z){const ee=z.toLowerCase().indexOf(q.toLowerCase());return ee===-1?null:[{start:ee,end:ee+q.length}]}e.matchesContiguousSubString=S;function f(q,z){return _(q.toLowerCase(),z.toLowerCase(),0,0)}e.matchesSubString=f;function _(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]===z[$]){let re=null;return(re=_(q,z,ee+1,$+1))?h({start:$,end:$+1},re):null}return _(q,z,ee,$+1)}function g(q){return 97<=q&&q<=122}function C(q){return 65<=q&&q<=90}e.isUpper=C;function s(q){return 48<=q&&q<=57}function i(q){return q===32||q===9||q===10||q===13}const n=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(q=>n.add(q.charCodeAt(0)));function t(q){return i(q)||n.has(q)}function a(q,z){return q===z||t(q)&&t(z)}function u(q){return g(q)||C(q)||s(q)}function h(q,z){return z.length===0?z=[q]:q.end===z[0].start?z[0].start=q.start:z.unshift(q),z}function r(q,z){for(let ee=z;ee0&&!u(q.charCodeAt(ee-1)))return ee}return q.length}function c(q,z,ee,$){if(ee===q.length)return[];if($===z.length)return null;if(q[ee]!==z[$].toLowerCase())return null;{let re=null,oe=$+1;for(re=c(q,z,ee+1,$+1);!re&&(oe=r(z,oe)).6}function l(q){const{upperPercent:z,lowerPercent:ee,alphaPercent:$,numericPercent:re}=q;return ee>.2&&z<.8&&$>.6&&re<.2}function p(q){let z=0,ee=0,$=0,re=0;for(let oe=0;oe60)return null;const ee=o(z);if(!l(ee)){if(!d(ee))return null;z=z.toLowerCase()}let $=null,re=0;for(q=q.toLowerCase();re0&&t(q.charCodeAt(ee-1)))return ee;return q.length}const E=y(e.matchesPrefix,m,S),I=y(e.matchesPrefix,m,f),M=new L.LRUCache(1e4);function P(q,z,ee=!1){if(typeof q!="string"||typeof z!="string")return null;let $=M.get(q);$||($=new RegExp(k.convertSimple2RegExpPattern(q),"i"),M.set(q,$));const re=$.exec(z);return re?[{start:re.index,end:re.index+re[0].length}]:ee?I(q,z):E(q,z)}e.matchesFuzzy=P;function x(q,z){const ee=ae(q,q.toLowerCase(),0,z,z.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return ee?A(ee):null}e.matchesFuzzy2=x;function T(q,z,ee,$,re,oe){const ge=Math.min(13,q.length);for(;ee"u")return[];const z=[],ee=q[1];for(let $=q.length-1;$>1;$--){const re=q[$]+ee,oe=z[z.length-1];oe&&oe.end===re?oe.end=re+1:z.push({start:re,end:re+1})}return z}e.createMatches=A;const N=128;function F(){const q=[],z=[];for(let ee=0;ee<=N;ee++)z[ee]=0;for(let ee=0;ee<=N;ee++)q.push(z.slice(0));return q}function O(q){const z=[];for(let ee=0;ee<=q;ee++)z[ee]=0;return z}const W=O(2*N),U=O(2*N),j=F(),R=F(),K=F(),G=!1;function Z(q,z,ee,$,re){function oe(ve,Se,Le=" "){for(;ve.lengthoe(ve,3)).join("|")} -`;for(let ve=0;ve<=ee;ve++)ve===0?ge+=" |":ge+=`${z[ve-1]}|`,ge+=q[ve].slice(0,re+1).map(Se=>oe(Se.toString(),3)).join("|")+` -`;return ge}function J(q,z,ee,$){q=q.substr(z),ee=ee.substr($),console.log(Z(R,q,q.length,ee,ee.length)),console.log(Z(K,q,q.length,ee,ee.length)),console.log(Z(j,q,q.length,ee,ee.length))}function X(q,z){if(z<0||z>=q.length)return!1;const ee=q.codePointAt(z);switch(ee){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!k.isEmojiImprecise(ee)}}function H(q,z){if(z<0||z>=q.length)return!1;switch(q.charCodeAt(z)){case 32:case 9:return!0;default:return!1}}function B(q,z,ee){return z[q]!==ee[q]}function V(q,z,ee,$,re,oe,ge=!1){for(;zN?N:q.length,Se=$.length>N?N:$.length;if(ee>=ve||oe>=Se||ve-ee>Se-oe||!V(z,ee,ve,re,oe,Se,!0))return;ce(ve,Se,ee,oe,z,re);let Le=1,De=1,ye=ee,Ee=oe;const Me=[!1];for(Le=1,ye=ee;yele,Ve=Re?R[Le][De-1]+(j[Le][De-1]>0?-5:0):0,ze=Ee>le+1&&j[Le][De-1]>0,We=ze?R[Le][De-2]+(j[Le][De-2]>0?-5:0):0;if(ze&&(!Re||We>=Ve)&&(!Ie||We>=Ne))R[Le][De]=We,K[Le][De]=3,j[Le][De]=0;else if(Re&&(!Ie||Ve>=Ne))R[Le][De]=Ve,K[Le][De]=2,j[Le][De]=0;else if(Ie)R[Le][De]=Ne,K[Le][De]=1,j[Le][De]=j[Le-1][De-1]+1;else throw new Error("not possible")}}if(G&&J(q,ee,$,oe),!Me[0]&&!ge.firstMatchCanBeWeak)return;Le--,De--;const Pe=[R[Le][De],oe];let Fe=0,_e=0;for(;Le>=1;){let le=De;do{const pe=K[Le][le];if(pe===3)le=le-2;else if(pe===2)le=le-1;else break}while(le>=1);Fe>1&&z[ee+Le-1]===re[oe+De-1]&&!B(le+oe-1,$,re)&&Fe+1>j[Le][le]&&(le=De),le===De?Fe++:Fe=1,_e||(_e=le),Le--,De=le-1,Pe.push(De)}Se===ve&&ge.boostFullMatch&&(Pe[0]+=2);const me=_e-ve;return Pe[0]-=me,Pe}e.fuzzyScore=ae;function ce(q,z,ee,$,re,oe){let ge=q-1,ve=z-1;for(;ge>=ee&&ve>=$;)re[ge]===oe[ve]&&(U[ge]=ve,ge--),ve--}function de(q,z,ee,$,re,oe,ge,ve,Se,Le,De){if(z[ee]!==oe[ge])return Number.MIN_SAFE_INTEGER;let ye=1,Ee=!1;return ge===ee-$?ye=q[ee]===re[ge]?7:5:B(ge,re,oe)&&(ge===0||!B(ge-1,re,oe))?(ye=q[ee]===re[ge]?7:5,Ee=!0):X(oe,ge)&&(ge===0||!X(oe,ge-1))?ye=5:(X(oe,ge-1)||H(oe,ge-1))&&(ye=5,Ee=!0),ye>1&&ee===$&&(De[0]=!0),Ee||(Ee=B(ge,re,oe)||X(oe,ge-1)||H(oe,ge-1)),ee===$?ge>Se&&(ye-=Ee?3:5):Le?ye+=Ee?2:0:ye+=Ee?0:1,ge+1===ve&&(ye-=Ee?3:5),ye}function he(q,z,ee,$,re,oe,ge){return ue(q,z,ee,$,re,oe,!0,ge)}e.fuzzyScoreGracefulAggressive=he;function ue(q,z,ee,$,re,oe,ge,ve){let Se=ae(q,z,ee,$,re,oe,ve);if(Se&&!ge)return Se;if(q.length>=3){const Le=Math.min(7,q.length-1);for(let De=ee+1;DeSe[0])&&(Se=Ee))}}}return Se}function te(q,z){if(z+1>=q.length)return;const ee=q[z],$=q[z+1];if(ee!==$)return q.slice(0,z)+$+ee+q.slice(z+2)}}),define(ne[143],se([1,0,11]),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 k(a){return y(a,0)}e.hash=k;function y(a,u){switch(typeof a){case"object":return a===null?D(349,u):Array.isArray(a)?_(a,u):g(a,u);case"string":return f(a,u);case"boolean":return S(a,u);case"number":return D(a,u);case"undefined":return D(937,u);default:return D(617,u)}}e.doHash=y;function D(a,u){return(u<<5)-u+a|0}e.numberHash=D;function S(a,u){return D(a?433:863,u)}function f(a,u){u=D(149417,u);for(let h=0,r=a.length;hy(r,h),u)}function g(a,u){return u=D(181387,u),Object.keys(a).sort().reduce((h,r)=>(h=f(r,h),y(a[r],h)),u)}function C(a,u,h=32){const r=h-u,c=~((1<>>r)>>>0}function s(a,u=0,h=a.byteLength,r=0){for(let c=0;ch.toString(16).padStart(2,"0")).join(""):i((a>>>0).toString(16),u/4)}e.toHexString=n;class t{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(u){const h=u.length;if(h===0)return;const r=this._buff;let c=this._buffLen,o=this._leftoverHighSurrogate,d,l;for(o!==0?(d=o,l=-1,o=0):(d=u.charCodeAt(0),l=0);;){let p=d;if(L.isHighSurrogate(d))if(l+1>>6,u[h++]=128|(r&63)>>>0):r<65536?(u[h++]=224|(r&61440)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0):(u[h++]=240|(r&1835008)>>>18,u[h++]=128|(r&258048)>>>12,u[h++]=128|(r&4032)>>>6,u[h++]=128|(r&63)>>>0),h>=64&&(this._step(),h-=64,this._totalLen+=64,u[0]=u[64+0],u[1]=u[64+1],u[2]=u[64+2]),h}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()),n(this._h0)+n(this._h1)+n(this._h2)+n(this._h3)+n(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,s(this._buff,this._buffLen),this._buffLen>56&&(this._step(),s(this._buff));const u=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(u/4294967296),!1),this._buffDV.setUint32(60,u%4294967296,!1),this._step()}_step(){const u=t._bigBlock32,h=this._buffDV;for(let b=0;b<64;b+=4)u.setUint32(b,h.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)u.setUint32(b,C(u.getUint32(b-12,!1)^u.getUint32(b-32,!1)^u.getUint32(b-56,!1)^u.getUint32(b-64,!1),1),!1);let r=this._h0,c=this._h1,o=this._h2,d=this._h3,l=this._h4,p,m,v;for(let b=0;b<80;b++)b<20?(p=c&o|~c&d,m=1518500249):b<40?(p=c^o^d,m=1859775393):b<60?(p=c&o|c&d|o&d,m=2400959708):(p=c^o^d,m=3395469782),v=C(r,5)+p+l+m+u.getUint32(b*4,!1)&4294967295,l=d,d=o,o=C(c,30),c=r,r=v;this._h0=this._h0+r&4294967295,this._h1=this._h1+c&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+l&4294967295}}e.StringSHA1=t,t._bigBlock32=new DataView(new ArrayBuffer(320))}),define(ne[168],se([1,0,383,143]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.stringDiff=e.StringDiffSequence=void 0;class y{constructor(s){this.source=s}getElements(){const s=this.source,i=new Int32Array(s.length);for(let n=0,t=s.length;n0||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(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),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 g{constructor(s,i,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=s,this._modifiedSequence=i;const[t,a,u]=g._getElements(s),[h,r,c]=g._getElements(i);this._hasStrings=u&&c,this._originalStringElements=t,this._originalElementsOrHash=a,this._modifiedStringElements=h,this._modifiedElementsOrHash=r,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(s){return s.length>0&&typeof s[0]=="string"}static _getElements(s){const i=s.getElements();if(g._isStringArray(i)){const n=new Int32Array(i.length);for(let t=0,a=i.length;t=s&&t>=n&&this.ElementsAreEqual(i,t);)i--,t--;if(s>i||n>t){let d;return n<=t?(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),d=[new L.DiffChange(s,0,n,t-n+1)]):s<=i?(S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[new L.DiffChange(s,i-s+1,n,0)]):(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const u=[0],h=[0],r=this.ComputeRecursionPoint(s,i,n,t,u,h,a),c=u[0],o=h[0];if(r!==null)return r;if(!a[0]){const d=this.ComputeDiffRecursive(s,c,n,o,a);let l=[];return a[0]?l=[new L.DiffChange(c+1,i-(c+1)+1,o+1,t-(o+1)+1)]:l=this.ComputeDiffRecursive(c+1,i,o+1,t,a),this.ConcatenateChanges(d,l)}return[new L.DiffChange(s,i-s+1,n,t-n+1)]}WALKTRACE(s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E){let I=null,M=null,P=new _,x=i,T=n,A=p[0]-b[0]-t,N=-1073741824,F=this.m_forwardHistory.length-1;do{const O=A+s;O===x||O=0&&(c=this.m_forwardHistory[F],s=c[0],x=1,T=c.length-1)}while(--F>=-1);if(I=P.getReverseChanges(),E[0]){let O=p[0]+1,W=b[0]+1;if(I!==null&&I.length>0){const U=I[I.length-1];O=Math.max(O,U.getOriginalEnd()),W=Math.max(W,U.getModifiedEnd())}M=[new L.DiffChange(O,l-O+1,W,v-W+1)]}else{P=new _,x=u,T=h,A=p[0]-b[0]-r,N=1073741824,F=w?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const O=A+a;O===x||O=o[O+1]?(d=o[O+1]-1,m=d-A-r,d>N&&P.MarkNextChange(),N=d+1,P.AddOriginalElement(d+1,m+1),A=O+1-a):(d=o[O-1],m=d-A-r,d>N&&P.MarkNextChange(),N=d,P.AddModifiedElement(d+1,m+1),A=O-1-a),F>=0&&(o=this.m_reverseHistory[F],a=o[0],x=1,T=o.length-1)}while(--F>=-1);M=P.getChanges()}return this.ConcatenateChanges(I,M)}ComputeRecursionPoint(s,i,n,t,a,u,h){let r=0,c=0,o=0,d=0,l=0,p=0;s--,n--,a[0]=0,u[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=i-s+(t-n),v=m+1,b=new Int32Array(v),w=new Int32Array(v),E=t-n,I=i-s,M=s-n,P=i-t,T=(I-E)%2===0;b[E]=s,w[I]=i,h[0]=!1;for(let A=1;A<=m/2+1;A++){let N=0,F=0;o=this.ClipDiagonalBound(E-A,A,E,v),d=this.ClipDiagonalBound(E+A,A,E,v);for(let W=o;W<=d;W+=2){W===o||WN+F&&(N=r,F=c),!T&&Math.abs(W-I)<=A-1&&r>=w[W])return a[0]=r,u[0]=c,U<=w[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}const O=(N-s+(F-n)-A)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(N,O))return h[0]=!0,a[0]=N,u[0]=F,O>0&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):(s++,n++,[new L.DiffChange(s,i-s+1,n,t-n+1)]);l=this.ClipDiagonalBound(I-A,A,I,v),p=this.ClipDiagonalBound(I+A,A,I,v);for(let W=l;W<=p;W+=2){W===l||W=w[W+1]?r=w[W+1]-1:r=w[W-1],c=r-(W-I)-P;const U=r;for(;r>s&&c>n&&this.ElementsAreEqual(r,c);)r--,c--;if(w[W]=r,T&&Math.abs(W-E)<=A&&r<=b[W])return a[0]=r,u[0]=c,U>=b[W]&&1447>0&&A<=1447+1?this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h):null}if(A<=1447){let W=new Int32Array(d-o+2);W[0]=E-o+1,f.Copy2(b,o,W,1,d-o+1),this.m_forwardHistory.push(W),W=new Int32Array(p-l+2),W[0]=I-l+1,f.Copy2(w,l,W,1,p-l+1),this.m_reverseHistory.push(W)}}return this.WALKTRACE(E,o,d,M,I,l,p,P,b,w,r,i,a,c,t,u,T,h)}PrettifyChanges(s){for(let i=0;i0,h=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;i--){const n=s[i];let t=0,a=0;if(i>0){const d=s[i-1];t=d.originalStart+d.originalLength,a=d.modifiedStart+d.modifiedLength}const u=n.originalLength>0,h=n.modifiedLength>0;let r=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let d=1;;d++){const l=n.originalStart-d,p=n.modifiedStart-d;if(lc&&(c=v,r=d)}n.originalStart-=r,n.modifiedStart-=r;const o=[null];if(i>0&&this.ChangesOverlap(s[i-1],s[i],o)){s[i-1]=o[0],s.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,n=s.length;i0&&p>r&&(r=p,c=d,o=l)}return r>0?[c,o]:null}_contiguousSequenceScore(s,i,n){let t=0;for(let a=0;a=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[s])}_OriginalRegionIsBoundary(s,i){if(this._OriginalIsBoundary(s)||this._OriginalIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(s){return s<=0||s>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[s])}_ModifiedRegionIsBoundary(s,i){if(this._ModifiedIsBoundary(s)||this._ModifiedIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(s,i,n,t){const a=this._OriginalRegionIsBoundary(s,i)?1:0,u=this._ModifiedRegionIsBoundary(n,t)?1:0;return a+u}ConcatenateChanges(s,i){const n=[];if(s.length===0||i.length===0)return i.length>0?i:s;if(this.ChangesOverlap(s[s.length-1],i[0],n)){const t=new Array(s.length+i.length-1);return f.Copy(s,0,t,0,s.length-1),t[s.length-1]=n[0],f.Copy(i,1,t,s.length,i.length-1),t}else{const t=new Array(s.length+i.length);return f.Copy(s,0,t,0,s.length),f.Copy(i,0,t,s.length,i.length),t}}ChangesOverlap(s,i,n){if(S.Assert(s.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),S.Assert(s.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),s.originalStart+s.originalLength>=i.originalStart||s.modifiedStart+s.modifiedLength>=i.modifiedStart){const t=s.originalStart;let a=s.originalLength;const u=s.modifiedStart;let h=s.modifiedLength;return s.originalStart+s.originalLength>=i.originalStart&&(a=i.originalStart+i.originalLength-s.originalStart),s.modifiedStart+s.modifiedLength>=i.modifiedStart&&(h=i.modifiedStart+i.modifiedLength-s.modifiedStart),n[0]=new L.DiffChange(t,a,u,h),!0}else return n[0]=null,!1}ClipDiagonalBound(s,i,n,t){if(s>=0&&s0?f[0].toUpperCase()+f.substr(1):S[0][0].toUpperCase()!==S[0][0]&&f.length>0?f[0].toLowerCase()+f.substr(1):f}else return f}e.buildReplaceStringWithCasePreserved=k;function y(S,f,_){return S[0].indexOf(_)!==-1&&f.indexOf(_)!==-1&&S[0].split(_).length===f.split(_).length}function D(S,f,_){const g=f.split(_),C=S[0].split(_);let s="";return g.forEach((i,n)=>{s+=k([C[n]],i)+_}),s.slice(0,-1)}}),define(ne[101],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var k;(function(y){y[y.Ignore=0]="Ignore",y[y.Info=1]="Info",y[y.Warning=2]="Warning",y[y.Error=3]="Error"})(k||(k={})),function(y){const D="error",S="warning",f="warn",_="info",g="ignore";function C(i){return i?L.equalsIgnoreCase(D,i)?y.Error:L.equalsIgnoreCase(S,i)||L.equalsIgnoreCase(f,i)?y.Warning:L.equalsIgnoreCase(_,i)?y.Info:y.Ignore:y.Ignore}y.fromValue=C;function s(i){switch(i){case y.Error:return D;case y.Warning:return S;case y.Info:return _;default:return g}}y.toString=s}(k||(k={})),e.default=k}),define(ne[264],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MicrotaskDelay=void 0,e.MicrotaskDelay=Symbol("MicrotaskDelay")}),define(ne[198],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TernarySearchTree=e.UriIterator=e.PathIterator=e.ConfigKeysIterator=e.StringIterator=void 0;class k{constructor(){this._value="",this._pos=0}reset(C){return this._value=C,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;s--,this._valueLen--){const i=this._value.charCodeAt(s);if(!(i===47||this._splitOnBackslash&&i===92))break}return this.next()}hasNext(){return this._to!1,s=()=>!1){return new _(new S(C,s))}static forStrings(){return new _(new k)}static forConfigKeys(){return new _(new y)}constructor(C){this._iter=C}clear(){this._root=void 0}set(C,s){const i=this._iter.reset(C);let n;this._root||(this._root=new f,this._root.segment=i.value());const t=[];for(n=this._root;;){const u=i.cmp(n.segment);if(u>0)n.left||(n.left=new f,n.left.segment=i.value()),t.push([-1,n]),n=n.left;else if(u<0)n.right||(n.right=new f,n.right.segment=i.value()),t.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new f,n.mid.segment=i.value()),t.push([0,n]),n=n.mid;else break}const a=n.value;n.value=s,n.key=C;for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r<-1||r>1){const c=t[u][0],o=t[u+1][0];if(c===1&&o===1)t[u][1]=h.rotateLeft();else if(c===-1&&o===-1)t[u][1]=h.rotateRight();else if(c===1&&o===-1)h.right=t[u+1][1]=t[u+1][1].rotateRight(),t[u][1]=h.rotateLeft();else if(c===-1&&o===1)h.left=t[u+1][1]=t[u+1][1].rotateLeft(),t[u][1]=h.rotateRight();else throw new Error;if(u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}return a}get(C){var s;return(s=this._getNode(C))===null||s===void 0?void 0:s.value}_getNode(C){const s=this._iter.reset(C);let i=this._root;for(;i;){const n=s.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(s.hasNext())s.next(),i=i.mid;else break}return i}has(C){const s=this._getNode(C);return!(s?.value===void 0&&s?.mid===void 0)}delete(C){return this._delete(C,!1)}deleteSuperstr(C){return this._delete(C,!0)}_delete(C,s){var i;const n=this._iter.reset(C),t=[];let a=this._root;for(;a;){const u=n.cmp(a.segment);if(u>0)t.push([-1,a]),a=a.left;else if(u<0)t.push([1,a]),a=a.right;else if(n.hasNext())n.next(),t.push([0,a]),a=a.mid;else break}if(a){if(s?(a.left=void 0,a.mid=void 0,a.right=void 0,a.height=1):(a.key=void 0,a.value=void 0),!a.mid&&!a.value)if(a.left&&a.right){const u=this._min(a.right);if(u.key){const{key:h,value:r,segment:c}=u;this._delete(u.key,!1),a.key=h,a.value=r,a.segment=c}}else{const u=(i=a.left)!==null&&i!==void 0?i:a.right;if(t.length>0){const[h,r]=t[t.length-1];switch(h){case-1:r.left=u;break;case 0:r.mid=u;break;case 1:r.right=u;break}}else this._root=u}for(let u=t.length-1;u>=0;u--){const h=t[u][1];h.updateHeight();const r=h.balanceFactor();if(r>1?(h.right.balanceFactor()>=0||(h.right=h.right.rotateRight()),t[u][1]=h.rotateLeft()):r<-1&&(h.left.balanceFactor()<=0||(h.left=h.left.rotateLeft()),t[u][1]=h.rotateRight()),u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}}_min(C){for(;C.left;)C=C.left;return C}findSubstr(C){const s=this._iter.reset(C);let i=this._root,n;for(;i;){const t=s.cmp(i.segment);if(t>0)i=i.left;else if(t<0)i=i.right;else if(s.hasNext())s.next(),n=i.value||n,i=i.mid;else break}return i&&i.value||n}findSuperstr(C){return this._findSuperstrOrElement(C,!1)}_findSuperstrOrElement(C,s){const i=this._iter.reset(C);let n=this._root;for(;n;){const t=i.cmp(n.segment);if(t>0)n=n.left;else if(t<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this._entries(n.mid):s?n.value:void 0}}forEach(C){for(const[s,i]of this)C(i,s)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(C){const s=[];return this._dfsEntries(C,s),s[Symbol.iterator]()}_dfsEntries(C,s){C&&(C.left&&this._dfsEntries(C.left,s),C.value&&s.push([C.key,C.value]),C.mid&&this._dfsEntries(C.mid,s),C.right&&this._dfsEntries(C.right,s))}}e.TernarySearchTree=_}),define(ne[20],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isString=void 0;function L(u){return typeof u=="string"}e.isString=L;function k(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}e.isObject=k;function y(u){const h=Object.getPrototypeOf(Uint8Array);return typeof u=="object"&&u instanceof h}e.isTypedArray=y;function D(u){return typeof u=="number"&&!isNaN(u)}e.isNumber=D;function S(u){return!!u&&typeof u[Symbol.iterator]=="function"}e.isIterable=S;function f(u){return u===!0||u===!1}e.isBoolean=f;function _(u){return typeof u>"u"}e.isUndefined=_;function g(u){return!C(u)}e.isDefined=g;function C(u){return _(u)||u===null}e.isUndefinedOrNull=C;function s(u,h){if(!u)throw new Error(h?`Unexpected type, expected '${h}'`:"Unexpected type")}e.assertType=s;function i(u){if(C(u))throw new Error("Assertion Failed: argument is undefined or null");return u}e.assertIsDefined=i;function n(u){return typeof u=="function"}e.isFunction=n;function t(u,h){const r=Math.min(u.length,h.length);for(let c=0;c{t[a]=u&&typeof u=="object"?k(u):u}),t}e.deepClone=k;function y(n){if(!n||typeof n!="object")return n;const t=[n];for(;t.length>0;){const a=t.shift();Object.freeze(a);for(const u in a)if(D.call(a,u)){const h=a[u];typeof h=="object"&&!Object.isFrozen(h)&&!(0,L.isTypedArray)(h)&&t.push(h)}}return n}e.deepFreeze=y;const D=Object.prototype.hasOwnProperty;function S(n,t){return f(n,t,new Set)}e.cloneAndChange=S;function f(n,t,a){if((0,L.isUndefinedOrNull)(n))return n;const u=t(n);if(typeof u<"u")return u;if(Array.isArray(n)){const h=[];for(const r of n)h.push(f(r,t,a));return h}if((0,L.isObject)(n)){if(a.has(n))throw new Error("Cannot clone recursive data-structure");a.add(n);const h={};for(const r in n)D.call(n,r)&&(h[r]=f(n[r],t,a));return a.delete(n),h}return n}function _(n,t,a=!0){return(0,L.isObject)(n)?((0,L.isObject)(t)&&Object.keys(t).forEach(u=>{u in n?a&&((0,L.isObject)(n[u])&&(0,L.isObject)(t[u])?_(n[u],t[u],a):n[u]=t[u]):n[u]=t[u]}),n):t}e.mixin=_;function g(n,t){if(n===t)return!0;if(n==null||t===null||t===void 0||typeof n!=typeof t||typeof n!="object"||Array.isArray(n)!==Array.isArray(t))return!1;let a,u;if(Array.isArray(n)){if(n.length!==t.length)return!1;for(a=0;afunction(){const r=Array.prototype.slice.call(arguments,0);return t(h,r)},u={};for(const h of n)u[h]=a(h);return u}e.createProxyObject=i}),define(ne[26],se([1,0,25]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ThemeIcon=e.ThemeColor=void 0;var k;(function(D){function S(f){return f&&typeof f=="object"&&typeof f.id=="string"}D.isThemeColor=S})(k||(e.ThemeColor=k={}));var y;(function(D){D.iconNameSegment="[A-Za-z0-9]+",D.iconNameExpression="[A-Za-z0-9-]+",D.iconModifierExpression="~[A-Za-z]+",D.iconNameCharacter="[A-Za-z0-9~-]";const S=new RegExp(`^(${D.iconNameExpression})(${D.iconModifierExpression})?$`);function f(h){const r=S.exec(h.id);if(!r)return f(L.Codicon.error);const[,c,o]=r,d=["codicon","codicon-"+c];return o&&d.push("codicon-modifier-"+o.substring(1)),d}D.asClassNameArray=f;function _(h){return f(h).join(" ")}D.asClassName=_;function g(h){return"."+f(h).join(".")}D.asCSSSelector=g;function C(h){return h&&typeof h=="object"&&typeof h.id=="string"&&(typeof h.color>"u"||k.isThemeColor(h.color))}D.isThemeIcon=C;const s=new RegExp(`^\\$\\((${D.iconNameExpression}(?:${D.iconModifierExpression})?)\\)$`);function i(h){const r=s.exec(h);if(!r)return;const[,c]=r;return{id:c}}D.fromString=i;function n(h){return{id:h}}D.fromId=n;function t(h,r){let c=h.id;const o=c.lastIndexOf("~");return o!==-1&&(c=c.substring(0,o)),r&&(c=`${c}~${r}`),{id:c}}D.modify=t;function a(h){const r=h.id.lastIndexOf("~");if(r!==-1)return h.id.substring(r+1)}D.getModifier=a;function u(h,r){var c,o;return h.id===r.id&&((c=h.color)===null||c===void 0?void 0:c.id)===((o=r.color)===null||o===void 0?void 0:o.id)}D.isEqual=u})(y||(e.ThemeIcon=y={}))}),define(ne[120],se([1,0,72,11,26]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.getCodiconAriaLabel=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=void 0;const D="$(",S=new RegExp(`\\$\\(${y.ThemeIcon.iconNameExpression}(?:${y.ThemeIcon.iconModifierExpression})?\\)`,"g"),f=new RegExp(`(\\\\)?${S.source}`,"g");function _(h){return h.replace(f,(r,c)=>c?r:`\\${r}`)}e.escapeIcons=_;const g=new RegExp(`\\\\${S.source}`,"g");function C(h){return h.replace(g,r=>`\\${r}`)}e.markdownEscapeEscapedIcons=C;const s=new RegExp(`(\\s)?(\\\\)?${S.source}(\\s)?`,"g");function i(h){return h.indexOf(D)===-1?h:h.replace(s,(r,c,o,d)=>o?r:c||d||"")}e.stripIcons=i;function n(h){return h?h.replace(/\$\((.*?)\)/g,(r,c)=>` ${c} `).trim():""}e.getCodiconAriaLabel=n;const t=new RegExp(`\\$\\(${y.ThemeIcon.iconNameCharacter}+\\)`,"g");function a(h){t.lastIndex=0;let r="";const c=[];let o=0;for(;;){const d=t.lastIndex,l=t.exec(h),p=h.substring(d,l?.index);if(p.length>0){r+=p;for(let m=0;m255?255:y|0}e.toUint8=L;function k(y){return y<0?0:y>4294967295?4294967295:y|0}e.toUint32=k}),define(ne[170],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let L;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?L=crypto.getRandomValues.bind(crypto):L=function(D){for(let S=0;Swe(this,void 0,void 0,function*(){return s}),asFile:()=>{},value:typeof s=="string"?s:void 0}}e.createStringDataTransferItem=D;function S(s,i,n){const t={id:(0,y.generateUuid)(),name:s,uri:i,data:n};return{asString:()=>we(this,void 0,void 0,function*(){return""}),asFile:()=>t,value:void 0}}e.createFileDataTransferItem=S;class f{constructor(){this._entries=new Map}get size(){let i=0;for(const n of this._entries)i++;return i}has(i){return this._entries.has(this.toKey(i))}matches(i){const n=[...this._entries.keys()];return k.Iterable.some(this,([t,a])=>a.asFile())&&n.push("files"),C(_(i),n)}get(i){var n;return(n=this._entries.get(this.toKey(i)))===null||n===void 0?void 0:n[0]}append(i,n){const t=this._entries.get(i);t?t.push(n):this._entries.set(this.toKey(i),[n])}replace(i,n){this._entries.set(this.toKey(i),[n])}delete(i){this._entries.delete(this.toKey(i))}*[Symbol.iterator](){for(const[i,n]of this._entries)for(const t of n)yield[i,t]}toKey(i){return _(i)}}e.VSDataTransfer=f;function _(s){return s.toLowerCase()}function g(s,i){return C(_(s),i.map(_))}e.matchesMimeType=g;function C(s,i){if(s==="*/*")return i.length>0;if(i.includes(s))return!0;const n=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!n)return!1;const[t,a,u]=n;return u==="*"?i.some(h=>h.startsWith(a+"/")):!1}e.UriList=Object.freeze({create:s=>(0,L.distinct)(s.map(i=>i.toString())).join(`\r -`),split:s=>s.split(`\r -`),parse:s=>e.UriList.split(s).filter(i=>!i.startsWith("#"))})}),define(ne[265],se([10]),{}),define(ne[393],se([10]),{}),define(ne[394],se([10]),{}),define(ne[395],se([10]),{}),define(ne[396],se([10]),{}),define(ne[172],se([1,0,395,396]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[397],se([10]),{}),define(ne[398],se([10]),{}),define(ne[266],se([10]),{}),define(ne[267],se([10]),{}),define(ne[399],se([10]),{}),define(ne[400],se([10]),{}),define(ne[401],se([10]),{}),define(ne[402],se([10]),{}),define(ne[268],se([10]),{}),define(ne[403],se([10]),{}),define(ne[173],se([1,0,403]),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(ne[404],se([10]),{}),define(ne[405],se([10]),{}),define(ne[406],se([10]),{}),define(ne[407],se([10]),{}),define(ne[408],se([10]),{}),define(ne[409],se([10]),{}),define(ne[410],se([10]),{}),define(ne[411],se([10]),{}),define(ne[412],se([10]),{}),define(ne[413],se([10]),{}),define(ne[414],se([10]),{}),define(ne[415],se([10]),{}),define(ne[416],se([10]),{}),define(ne[417],se([10]),{}),define(ne[418],se([10]),{}),define(ne[419],se([10]),{}),define(ne[420],se([10]),{}),define(ne[421],se([10]),{}),define(ne[422],se([10]),{}),define(ne[423],se([10]),{}),define(ne[424],se([10]),{}),define(ne[425],se([10]),{}),define(ne[426],se([10]),{}),define(ne[427],se([10]),{}),define(ne[428],se([10]),{}),define(ne[429],se([10]),{}),define(ne[430],se([10]),{}),define(ne[431],se([10]),{}),define(ne[432],se([10]),{}),define(ne[433],se([10]),{}),define(ne[434],se([10]),{}),define(ne[435],se([10]),{}),define(ne[436],se([10]),{}),define(ne[437],se([10]),{}),define(ne[438],se([10]),{}),define(ne[439],se([10]),{}),define(ne[199],se([10]),{}),define(ne[440],se([10]),{}),define(ne[441],se([10]),{}),define(ne[442],se([10]),{}),define(ne[443],se([10]),{}),define(ne[444],se([10]),{}),define(ne[445],se([10]),{}),define(ne[446],se([10]),{}),define(ne[447],se([10]),{}),define(ne[448],se([10]),{}),define(ne[449],se([10]),{}),define(ne[450],se([10]),{}),define(ne[451],se([10]),{}),define(ne[452],se([10]),{}),define(ne[453],se([10]),{}),define(ne[454],se([10]),{}),define(ne[455],se([10]),{}),define(ne[456],se([10]),{}),define(ne[457],se([10]),{}),define(ne[458],se([10]),{}),define(ne[459],se([10]),{}),define(ne[460],se([10]),{}),define(ne[461],se([10]),{}),define(ne[462],se([10]),{}),define(ne[463],se([10]),{}),define(ne[464],se([10]),{}),define(ne[465],se([10]),{}),define(ne[466],se([10]),{}),define(ne[467],se([10]),{}),define(ne[468],se([10]),{}),define(ne[469],se([10]),{}),define(ne[470],se([10]),{}),define(ne[471],se([10]),{}),define(ne[269],se([10]),{}),define(ne[472],se([10]),{}),define(ne[473],se([10]),{}),define(ne[174],se([10]),{}),define(ne[474],se([10]),{}),define(ne[59],se([1,0,35]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyFontInfo=void 0;function k(y,D){y instanceof L.FastDomNode?(y.setFontFamily(D.getMassagedFontFamily()),y.setFontWeight(D.fontWeight),y.setFontSize(D.fontSize),y.setFontFeatureSettings(D.fontFeatureSettings),y.setFontVariationSettings(D.fontVariationSettings),y.setLineHeight(D.lineHeight),y.setLetterSpacing(D.letterSpacing)):(y.style.fontFamily=D.getMassagedFontFamily(),y.style.fontWeight=D.fontWeight,y.style.fontSize=D.fontSize+"px",y.style.fontFeatureSettings=D.fontFeatureSettings,y.style.fontVariationSettings=D.fontVariationSettings,y.style.lineHeight=D.lineHeight+"px",y.style.letterSpacing=D.letterSpacing+"px")}e.applyFontInfo=k}),define(ne[475],se([1,0,59]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCharWidths=e.CharWidthRequest=void 0;class k{constructor(f,_){this.chr=f,this.type=_,this.width=0}fulfill(f){this.width=f}}e.CharWidthRequest=k;class y{constructor(f,_){this._bareFontInfo=f,this._requests=_,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const f=document.createElement("div");f.style.position="absolute",f.style.top="-50000px",f.style.width="50000px";const _=document.createElement("div");(0,L.applyFontInfo)(_,this._bareFontInfo),f.appendChild(_);const g=document.createElement("div");(0,L.applyFontInfo)(g,this._bareFontInfo),g.style.fontWeight="bold",f.appendChild(g);const C=document.createElement("div");(0,L.applyFontInfo)(C,this._bareFontInfo),C.style.fontStyle="italic",f.appendChild(C);const s=[];for(const i of this._requests){let n;i.type===0&&(n=_),i.type===2&&(n=g),i.type===1&&(n=C),n.appendChild(document.createElement("br"));const t=document.createElement("span");y._render(t,i),n.appendChild(t),s.push(t)}this._container=f,this._testElements=s}static _render(f,_){if(_.chr===" "){let g="\xA0";for(let C=0;C<8;C++)g+=g;f.innerText=g}else{let g=_.chr;for(let C=0;C<8;C++)g+=g;f.textContent=g}}_readFromDomElements(){for(let f=0,_=this._requests.length;f<_;f++){const g=this._requests[f],C=this._testElements[f];g.fulfill(C.offsetWidth/256)}}}function D(S,f){new y(S,f).read()}e.readCharWidths=D}),define(ne[200],se([1,0,2,6]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ElementSizeObserver=void 0;class y extends L.Disposable{constructor(S,f){super(),this._onDidChange=this._register(new k.Emitter),this.onDidChange=this._onDidChange.event,this._referenceDomElement=S,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,f)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let S=null;const f=()=>{S?this.observe({width:S.width,height:S.height}):this.observe()};let _=!1,g=!1;const C=()=>{if(_&&!g)try{_=!1,g=!0,f()}finally{requestAnimationFrame(()=>{g=!1,C()})}};this._resizeObserver=new ResizeObserver(s=>{S=s&&s[0]&&s[0].contentRect?s[0].contentRect:null,_=!0,C()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(S){this.measureReferenceDomElement(!0,S)}measureReferenceDomElement(S,f){let _=0,g=0;f?(_=f.width,g=f.height):this._referenceDomElement&&(_=this._referenceDomElement.clientWidth,g=this._referenceDomElement.clientHeight),_=Math.max(5,_),g=Math.max(5,g),(this._width!==_||this._height!==g)&&(this._width=_,this._height=g,S&&this._onDidChange.fire())}}e.ElementSizeObserver=y}),define(ne[476],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.migrateOptions=e.EditorSettingMigration=void 0;class L{constructor(_,g){this.key=_,this.migrate=g}apply(_){const g=L._read(_,this.key),C=i=>L._read(_,i),s=(i,n)=>L._write(_,i,n);this.migrate(g,C,s)}static _read(_,g){if(typeof _>"u")return;const C=g.indexOf(".");if(C>=0){const s=g.substring(0,C);return this._read(_[s],g.substring(C+1))}return _[g]}static _write(_,g,C){const s=g.indexOf(".");if(s>=0){const i=g.substring(0,s);_[i]=_[i]||{},this._write(_[i],g.substring(s+1),C);return}_[g]=C}}e.EditorSettingMigration=L,L.items=[];function k(f,_){L.items.push(new L(f,_))}function y(f,_){k(f,(g,C,s)=>{if(typeof g<"u"){for(const[i,n]of _)if(g===i){s(f,n);return}}})}function D(f){L.items.forEach(_=>_.apply(f))}e.migrateOptions=D,y("wordWrap",[[!0,"on"],[!1,"off"]]),y("lineNumbers",[[!0,"on"],[!1,"off"]]),y("cursorBlinking",[["visible","solid"]]),y("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),y("renderLineHighlight",[[!0,"line"],[!1,"none"]]),y("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),y("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),y("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("autoIndent",[[!1,"advanced"],[!0,"full"]]),y("matchBrackets",[[!0,"always"],[!1,"never"]]),y("renderFinalNewline",[[!0,"on"],[!1,"off"]]),y("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),k("autoClosingBrackets",(f,_,g)=>{f===!1&&(g("autoClosingBrackets","never"),typeof _("autoClosingQuotes")>"u"&&g("autoClosingQuotes","never"),typeof _("autoSurround")>"u"&&g("autoSurround","never"))}),k("renderIndentGuides",(f,_,g)=>{typeof f<"u"&&(g("renderIndentGuides",void 0),typeof _("guides.indentation")>"u"&&g("guides.indentation",!!f))}),k("highlightActiveIndentGuide",(f,_,g)=>{typeof f<"u"&&(g("highlightActiveIndentGuide",void 0),typeof _("guides.highlightActiveIndentation")>"u"&&g("guides.highlightActiveIndentation",!!f))});const S={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};k("suggest.filteredTypes",(f,_,g)=>{if(f&&typeof f=="object"){for(const C of Object.entries(S))f[C[0]]===!1&&typeof _(`suggest.${C[1]}`)>"u"&&g(`suggest.${C[1]}`,!1);g("suggest.filteredTypes",void 0)}}),k("quickSuggestions",(f,_,g)=>{if(typeof f=="boolean"){const C=f?"on":"off";g("quickSuggestions",{comments:C,strings:C,other:C})}}),k("experimental.stickyScroll.enabled",(f,_,g)=>{typeof f=="boolean"&&(g("experimental.stickyScroll.enabled",void 0),typeof _("stickyScroll.enabled")>"u"&&g("stickyScroll.enabled",f))}),k("experimental.stickyScroll.maxLineCount",(f,_,g)=>{typeof f=="number"&&(g("experimental.stickyScroll.maxLineCount",void 0),typeof _("stickyScroll.maxLineCount")>"u"&&g("stickyScroll.maxLineCount",f))})}),define(ne[201],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabFocus=void 0;class k{constructor(){this._tabFocusTerminal=!1,this._tabFocusEditor=!1,this._onDidChangeTabFocus=new L.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(D){return D==="terminalFocus"?this._tabFocusTerminal:this._tabFocusEditor}setTabFocusMode(D,S){S==="terminalFocus"?this._tabFocusTerminal=D:this._tabFocusEditor=D,this._onDidChangeTabFocus.fire()}}e.TabFocus=new k}),define(ne[108],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class L{static capture(y){if(y.getScrollTop()===0||y.hasPendingScrollAnimation())return new L(y.getScrollTop(),y.getContentHeight(),null,0,null);let D=null,S=0;const f=y.getVisibleRanges();if(f.length>0){D=f[0].getStartPosition();const _=y.getTopForPosition(D.lineNumber,D.column);S=y.getScrollTop()-_}return new L(y.getScrollTop(),y.getContentHeight(),D,S,y.getPosition())}constructor(y,D,S,f,_){this._initialScrollTop=y,this._initialContentHeight=D,this._visiblePosition=S,this._visiblePositionScrollDelta=f,this._cursorPosition=_}restore(y){if(!(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())&&this._visiblePosition){const D=y.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);y.setScrollTop(D+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(y){if(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())return;const D=y.getPosition();if(!this._cursorPosition||!D)return;const S=y.getTopForLineNumber(D.lineNumber)-y.getTopForLineNumber(this._cursorPosition.lineNumber);y.setScrollTop(y.getScrollTop()+S)}}e.StableEditorScrollState=L}),define(ne[144],se([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(C,s){this._restrictedRenderingContextBrand=void 0,this._viewLayout=C,this.viewportData=s,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(C){return C-this.scrollTop}getVerticalOffsetForLineNumber(C,s){return this._viewLayout.getVerticalOffsetForLineNumber(C,s)}getVerticalOffsetAfterLineNumber(C,s){return this._viewLayout.getVerticalOffsetAfterLineNumber(C,s)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=L;class k extends L{constructor(C,s,i){super(C,s),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(C,s){return this._viewLines.linesVisibleRangesForRange(C,s)}visibleRangeForPosition(C){return this._viewLines.visibleRangeForPosition(C)}}e.RenderingContext=k;class y{constructor(C,s,i,n){this.outsideRenderedLine=C,this.lineNumber=s,this.ranges=i,this.continuesOnNextLine=n}}e.LineVisibleRanges=y;class D{static from(C){const s=new Array(C.length);for(let i=0,n=C.length;i=s.left?_.width=Math.max(_.width,s.left+s.width-_.left):(S[f++]=_,_=s)}return S[f++]=_,S}static _createHorizontalRangesFromClientRects(D,S,f){if(!D||D.length===0)return null;const _=[];for(let g=0,C=D.length;gi)return null;if(S=Math.min(i,Math.max(0,S)),_=Math.min(i,Math.max(0,_)),S===_&&f===g&&f===0&&!D.children[S].firstChild){const u=D.children[S].getClientRects();return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(u,C.clientRectDeltaLeft,C.clientRectScale)}S!==_&&_>0&&g===0&&(_--,g=1073741824);let n=D.children[S].firstChild,t=D.children[_].firstChild;if((!n||!t)&&(!n&&f===0&&S>0&&(n=D.children[S-1].firstChild,f=1073741824),!t&&g===0&&_>0&&(t=D.children[_-1].firstChild,g=1073741824)),!n||!t)return null;f=Math.min(n.textContent.length,Math.max(0,f)),g=Math.min(t.textContent.length,Math.max(0,g));const a=this._readClientRects(n,f,t,g,C.endNode);return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(a,C.clientRectDeltaLeft,C.clientRectScale)}}e.RangeUtil=k}),define(ne[270],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const k=[];for(let y=32;y<=126;y++)k.push(y);return k.push(65533),k})();const L=(k,y)=>(k-=32,k<0||k>96?y<=2?(k+96)%96:96-1:k);e.getCharIndex=L}),define(ne[479],se([1,0,270,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class y{constructor(S,f){this.scale=f,this._minimapCharRendererBrand=void 0,this.charDataNormal=y.soften(S,12/15),this.charDataLight=y.soften(S,50/60)}static soften(S,f){const _=new Uint8ClampedArray(S.length);for(let g=0,C=S.length;gS.width||_+c>S.height){console.warn("bad render request outside image data");return}const o=a?this.charDataLight:this.charDataNormal,d=(0,L.getCharIndex)(g,t),l=S.width*4,p=i.r,m=i.g,v=i.b,b=C.r-p,w=C.g-m,E=C.b-v,I=Math.max(s,n),M=S.data;let P=d*h*r,x=_*l+f*4;for(let T=0;TS.width||_+u>S.height){console.warn("bad render request outside image data");return}const h=S.width*4,r=.5*(C/255),c=s.r,o=s.g,d=s.b,l=g.r-c,p=g.g-o,m=g.b-d,v=c+l*r,b=o+p*r,w=d+m*r,E=Math.max(C,i),I=S.data;let M=_*h+f*4;for(let P=0;P{const S=new Uint8ClampedArray(D.length/2);for(let f=0;f>1]=k[D[f]]<<4|k[D[f+1]]&15;return S};e.prebakedMiniMaps={1:(0,L.once)(()=>y("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,L.once)(()=>y("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(ne[481],se([1,0,479,270,480,169]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class S{static create(_,g){if(this.lastCreated&&_===this.lastCreated.scale&&g===this.lastFontFamily)return this.lastCreated;let C;return y.prebakedMiniMaps[_]?C=new L.MinimapCharRenderer(y.prebakedMiniMaps[_](),_):C=S.createFromSampleData(S.createSampleData(g).data,_),this.lastFontFamily=g,this.lastCreated=C,C}static createSampleData(_){const g=document.createElement("canvas"),C=g.getContext("2d");g.style.height="16px",g.height=16,g.width=96*10,g.style.width=96*10+"px",C.fillStyle="#ffffff",C.font=`bold 16px ${_}`,C.textBaseline="middle";let s=0;for(const i of k.allCharCodes)C.fillText(String.fromCharCode(i),s,16/2),s+=10;return C.getImageData(0,0,96*10,16)}static createFromSampleData(_,g){if(_.length!==61440)throw new Error("Unexpected source in MinimapCharRenderer");const s=S._downsample(_,g);return new L.MinimapCharRenderer(s,g)}static _downsampleChar(_,g,C,s,i){const n=1*i,t=2*i;let a=s,u=0;for(let h=0;h0){const u=255/a;for(let h=0;hE?(l.push(b),m++):(l.push(d(v,b)),p++,m++)}for(;p{const p=c.read(l);d.set(p)})),o.add({dispose:()=>{d.clear()}}),o}e.applyObservableDecorations=S;function f(r,c){return r.appendChild(c),(0,L.toDisposable)(()=>{r.removeChild(c)})}e.appendRemoveOnDispose=f;class _ extends L.Disposable{get width(){return this._width}get height(){return this._height}constructor(c,o){super(),this.elementSizeObserver=this._register(new y.ElementSizeObserver(c,o)),this._width=(0,k.observableValue)("width",this.elementSizeObserver.getWidth()),this._height=(0,k.observableValue)("height",this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(d=>(0,k.transaction)(l=>{this._width.set(this.elementSizeObserver.getWidth(),l),this._height.set(this.elementSizeObserver.getHeight(),l)})))}observe(c){this.elementSizeObserver.observe(c)}setAutomaticLayout(c){c?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}e.ObservableElementSizeObserver=_;function g(r,c){let o=r.get(),d=o,l=o;const p=(0,k.observableValue)("animatedValue",o);let m=-1;const v=300;let b;c.add((0,k.autorunHandleChanges)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(E,I)=>(E.didChange(r)&&(I.animate=I.animate||E.change),!0)},(E,I)=>{b!==void 0&&(cancelAnimationFrame(b),b=void 0),d=l,o=r.read(E),m=Date.now()-(I.animate?0:v),w()}));function w(){const E=Date.now()-m;l=Math.floor(C(E,d,o-d,v)),E{this._actualTop.set(d,void 0)},this.onComputedHeight=d=>{this._actualHeight.set(d,void 0)}}}e.PlaceholderViewZone=i;class n{constructor(c,o){this._editor=c,this._domElement=o,this._overlayWidgetId=`managedOverlayWidget-${n._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}e.ManagedOverlayWidget=n,n._counter=0;function t(r,c){return(0,k.autorun)(o=>{for(let[d,l]of Object.entries(c))l&&typeof l=="object"&&"read"in l&&(l=l.read(o)),typeof l=="number"&&(l=`${l}px`),d=d.replace(/[A-Z]/g,p=>"-"+p.toLowerCase()),r.style[d]=l})}e.applyStyle=t;function a(r,c){return u([r],c),r}e.readHotReloadableExport=a;function u(r,c){const o=globalThis.$hotReload_deprecateExports;if(!o)return;(0,k.observableSignalFromEvent)("reload",l=>{function p(m,v){return[...Object.values(m)].some(b=>r.includes(b))?(l(void 0),!0):!1}return o.add(p),{dispose(){o.delete(p)}}}).read(c)}e.observeHotReloadableExports=u;function h(r,c,o){const d=new L.DisposableStore,l=[];return d.add((0,k.autorun)(p=>{const m=c.read(p),v=new Map,b=new Map;o&&o(!0),r.changeViewZones(w=>{for(const E of l)w.removeZone(E);l.length=0;for(const E of m){const I=w.addZone(E);l.push(I),v.set(E,I)}}),o&&o(!1),d.add((0,k.autorunHandleChanges)({createEmptyChangeSummary(){return[]},handleChange(w,E){const I=b.get(w.changedObservable);return I!==void 0&&E.push(I),!0}},(w,E)=>{for(const I of m)I.onChange&&(b.set(I.onChange,v.get(I)),I.onChange.read(w));o&&o(!0),r.changeViewZones(I=>{for(const M of E)I.layoutZone(M)}),o&&o(!1)}))})),d.add({dispose(){o&&o(!0),r.changeViewZones(p=>{for(const m of l)p.removeZone(m)}),o&&o(!1)}}),d}e.applyViewZones=h}),define(ne[271],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffEditorDefaultOptions=void 0,e.diffEditorDefaultOptions={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}}),define(ne[145],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorZoom=void 0,e.EditorZoom=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new L.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(k){k=Math.min(Math.max(-5,k),20),this._zoomLevel!==k&&(this._zoomLevel=k,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}}),define(ne[121],se([1,0,169]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterSet=e.CharacterClassifier=void 0;class k{constructor(S){const f=(0,L.toUint8)(S);this._defaultValue=f,this._asciiMap=k._createAsciiMap(f),this._map=new Map}static _createAsciiMap(S){const f=new Uint8Array(256);return f.fill(S),f}set(S,f){const _=(0,L.toUint8)(f);S>=0&&S<256?this._asciiMap[S]=_:this._map.set(S,_)}get(S){return S>=0&&S<256?this._asciiMap[S]:this._map.get(S)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}e.CharacterClassifier=k;class y{constructor(){this._actual=new k(0)}add(S){this._actual.set(S,1)}has(S){return this._actual.get(S)===1}clear(){return this._actual.clear()}}e.CharacterSet=y}),define(ne[82],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class k{static _nextVisibleColumn(D,S,f){return D===9?k.nextRenderTabStop(S,f):L.isFullWidthCharacter(D)||L.isEmojiImprecise(D)?S+2:S+1}static visibleColumnFromColumn(D,S,f){const _=Math.min(S-1,D.length),g=D.substring(0,_),C=new L.GraphemeIterator(g);let s=0;for(;!C.eol();){const i=L.getNextCodePoint(g,_,C.offset);C.nextGraphemeLength(),s=this._nextVisibleColumn(i,s,f)}return s}static columnFromVisibleColumn(D,S,f){if(S<=0)return 1;const _=D.length,g=new L.GraphemeIterator(D);let C=0,s=1;for(;!g.eol();){const i=L.getNextCodePoint(D,_,g.offset);g.nextGraphemeLength();const n=this._nextVisibleColumn(i,C,f),t=g.offset+1;if(n>=S){const a=S-C;return n-Sf))return new k(S,f)}static ofLength(S){return new k(0,S)}constructor(S,f){if(this.start=S,this.endExclusive=f,S>f)throw new L.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(S){return new k(this.start+S,this.endExclusive+S)}deltaStart(S){return new k(this.start+S,this.endExclusive)}deltaEnd(S){return new k(this.start,this.endExclusive+S)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(S){return this.start===S.start&&this.endExclusive===S.endExclusive}containsRange(S){return this.start<=S.start&&S.endExclusive<=this.endExclusive}contains(S){return this.start<=S&&S=this.endExclusive?this.start+(S-this.start)%this.length:S}}e.OffsetRange=k;class y{constructor(){this._sortedRanges=[]}addRange(S){let f=0;for(;fS.toString()).join(", ")}intersectsStrict(S){let f=0;for(;fS+f.length,0)}}e.OffsetRangeSet=y}),define(ne[12],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Position=void 0;class L{constructor(y,D){this.lineNumber=y,this.column=D}with(y=this.lineNumber,D=this.column){return y===this.lineNumber&&D===this.column?this:new L(y,D)}delta(y=0,D=0){return this.with(this.lineNumber+y,this.column+D)}equals(y){return L.equals(this,y)}static equals(y,D){return!y&&!D?!0:!!y&&!!D&&y.lineNumber===D.lineNumber&&y.column===D.column}isBefore(y){return L.isBefore(this,y)}static isBefore(y,D){return y.lineNumberf||D===f&&S>_?(this.startLineNumber=f,this.startColumn=_,this.endLineNumber=D,this.endColumn=S):(this.startLineNumber=D,this.startColumn=S,this.endLineNumber=f,this.endColumn=_)}isEmpty(){return k.isEmpty(this)}static isEmpty(D){return D.startLineNumber===D.endLineNumber&&D.startColumn===D.endColumn}containsPosition(D){return k.containsPosition(this,D)}static containsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.columnD.endColumn)}static strictContainsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.column<=D.startColumn||S.lineNumber===D.endLineNumber&&S.column>=D.endColumn)}containsRange(D){return k.containsRange(this,D)}static containsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumnD.endColumn)}strictContainsRange(D){return k.strictContainsRange(this,D)}static strictContainsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumn<=D.startColumn||S.endLineNumber===D.endLineNumber&&S.endColumn>=D.endColumn)}plusRange(D){return k.plusRange(this,D)}static plusRange(D,S){let f,_,g,C;return S.startLineNumberD.endLineNumber?(g=S.endLineNumber,C=S.endColumn):S.endLineNumber===D.endLineNumber?(g=S.endLineNumber,C=Math.max(S.endColumn,D.endColumn)):(g=D.endLineNumber,C=D.endColumn),new k(f,_,g,C)}intersectRanges(D){return k.intersectRanges(this,D)}static intersectRanges(D,S){let f=D.startLineNumber,_=D.startColumn,g=D.endLineNumber,C=D.endColumn;const s=S.startLineNumber,i=S.startColumn,n=S.endLineNumber,t=S.endColumn;return fn?(g=n,C=t):g===n&&(C=Math.min(C,t)),f>g||f===g&&_>C?null:new k(f,_,g,C)}equalsRange(D){return k.equalsRange(this,D)}static equalsRange(D,S){return!D&&!S?!0:!!D&&!!S&&D.startLineNumber===S.startLineNumber&&D.startColumn===S.startColumn&&D.endLineNumber===S.endLineNumber&&D.endColumn===S.endColumn}getEndPosition(){return k.getEndPosition(this)}static getEndPosition(D){return new L.Position(D.endLineNumber,D.endColumn)}getStartPosition(){return k.getStartPosition(this)}static getStartPosition(D){return new L.Position(D.startLineNumber,D.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(D,S){return new k(this.startLineNumber,this.startColumn,D,S)}setStartPosition(D,S){return new k(D,S,this.endLineNumber,this.endColumn)}collapseToStart(){return k.collapseToStart(this)}static collapseToStart(D){return new k(D.startLineNumber,D.startColumn,D.startLineNumber,D.startColumn)}collapseToEnd(){return k.collapseToEnd(this)}static collapseToEnd(D){return new k(D.endLineNumber,D.endColumn,D.endLineNumber,D.endColumn)}delta(D){return new k(this.startLineNumber+D,this.startColumn,this.endLineNumber+D,this.endColumn)}static fromPositions(D,S=D){return new k(D.lineNumber,D.column,S.lineNumber,S.column)}static lift(D){return D?new k(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn):null}static isIRange(D){return D&&typeof D.startLineNumber=="number"&&typeof D.startColumn=="number"&&typeof D.endLineNumber=="number"&&typeof D.endColumn=="number"}static areIntersectingOrTouching(D,S){return!(D.endLineNumberD.startLineNumber}toJSON(){return this}}e.Range=k}),define(ne[273],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class y{constructor(f,_,g,C,s){this.value=f,this.selectionStart=_,this.selectionEnd=g,this.selection=C,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(f,_){const g=f.getValue(),C=f.getSelectionStart(),s=f.getSelectionEnd();let i;if(_){const n=g.substring(0,C),t=_.value.substring(0,_.selectionStart);n===t&&(i=_.newlineCountBeforeSelection)}return new y(g,C,s,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new y(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(f,_,g){e._debugComposition&&console.log(`writeToTextArea ${f}: ${this.toString()}`),_.setValue(f,this.value),g&&_.setSelectionRange(f,this.selectionStart,this.selectionEnd)}deduceEditorPosition(f){var _,g,C,s,i,n,t,a;if(f<=this.selectionStart){const r=this.value.substring(f,this.selectionStart);return this._finishDeduceEditorPosition((g=(_=this.selection)===null||_===void 0?void 0:_.getStartPosition())!==null&&g!==void 0?g:null,r,-1)}if(f>=this.selectionEnd){const r=this.value.substring(this.selectionEnd,f);return this._finishDeduceEditorPosition((s=(C=this.selection)===null||C===void 0?void 0:C.getEndPosition())!==null&&s!==void 0?s:null,r,1)}const u=this.value.substring(this.selectionStart,f);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition((n=(i=this.selection)===null||i===void 0?void 0:i.getStartPosition())!==null&&n!==void 0?n:null,u,1);const h=this.value.substring(f,this.selectionEnd);return this._finishDeduceEditorPosition((a=(t=this.selection)===null||t===void 0?void 0:t.getEndPosition())!==null&&a!==void 0?a:null,h,-1)}_finishDeduceEditorPosition(f,_,g){let C=0,s=-1;for(;(s=_.indexOf(` -`,s+1))!==-1;)C++;return[f,g*_.length,C]}static deduceInput(f,_,g){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`));const C=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionStart,_.selectionStart),s=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd,_.value.length-_.selectionEnd),i=f.value.substring(C,f.value.length-s),n=_.value.substring(C,_.value.length-s),t=f.selectionStart-C,a=f.selectionEnd-C,u=_.selectionStart-C,h=_.selectionEnd-C;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${t}, selectionEnd: ${a}`),console.log(`AFTER DIFFING CURRENT STATE: <${n}>, selectionStart: ${u}, selectionEnd: ${h}`)),u===h){const c=f.selectionStart-C;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${c} chars`),{text:n,replacePrevCharCnt:c,replaceNextCharCnt:0,positionDelta:0}}const r=a-t;return{text:n,replacePrevCharCnt:r,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(f,_){if(!f)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${f.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`)),f.value===_.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:_.selectionEnd-f.selectionEnd};const g=Math.min(L.commonPrefixLength(f.value,_.value),f.selectionEnd),C=Math.min(L.commonSuffixLength(f.value,_.value),f.value.length-f.selectionEnd),s=f.value.substring(g,f.value.length-C),i=_.value.substring(g,_.value.length-C),n=f.selectionStart-g,t=f.selectionEnd-g,a=_.selectionStart-g,u=_.selectionEnd-g;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${s}>, selectionStart: ${n}, selectionEnd: ${t}`),console.log(`AFTER DIFFING CURRENT STATE: <${i}>, selectionStart: ${a}, selectionEnd: ${u}`)),{text:i,replacePrevCharCnt:t,replaceNextCharCnt:s.length-t,positionDelta:u-i.length}}}e.TextAreaState=y,y.EMPTY=new y("",0,0,null,void 0);class D{static _getPageOfLine(f,_){return Math.floor((f-1)/_)}static _getRangeForPage(f,_){const g=f*_,C=g+1,s=g+_;return new k.Range(C,1,s+1,1)}static fromEditorSelection(f,_,g,C){const i=D._getPageOfLine(_.startLineNumber,g),n=D._getRangeForPage(i,g),t=D._getPageOfLine(_.endLineNumber,g),a=D._getRangeForPage(t,g);let u=n.intersectRanges(new k.Range(1,1,_.startLineNumber,_.startColumn));if(C&&f.getValueLengthInRange(u,1)>500){const p=f.modifyPosition(u.getEndPosition(),-500);u=k.Range.fromPositions(p,u.getEndPosition())}const h=f.getValueInRange(u,1),r=f.getLineCount(),c=f.getLineMaxColumn(r);let o=a.intersectRanges(new k.Range(_.endLineNumber,_.endColumn,r,c));if(C&&f.getValueLengthInRange(o,1)>500){const p=f.modifyPosition(o.getStartPosition(),500);o=k.Range.fromPositions(o.getStartPosition(),p)}const d=f.getValueInRange(o,1);let l;if(i===t||i+1===t)l=f.getValueInRange(_,1);else{const p=n.intersectRanges(_),m=a.intersectRanges(_);l=f.getValueInRange(p,1)+String.fromCharCode(8230)+f.getValueInRange(m,1)}return C&&l.length>2*500&&(l=l.substring(0,500)+String.fromCharCode(8230)+l.substring(l.length-500,l.length)),new y(h+l+d,h.length,h.length+l.length,_,u.endLineNumber-u.startLineNumber)}}e.PagedScreenReaderStrategy=D}),define(ne[483],se([1,0,14,19,9,46,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class _{remove(){var n;(n=this.parent)===null||n===void 0||n.children.delete(this.id)}static findId(n,t){let a;typeof n=="string"?a=`${t.id}/${n}`:(a=`${t.id}/${n.name}`,t.children.get(a)!==void 0&&(a=`${t.id}/${n.name}_${n.range.startLineNumber}_${n.range.startColumn}`));let u=a;for(let h=0;t.children.get(u)!==void 0;h++)u=`${a}_${h}`;return u}static empty(n){return n.children.size===0}}e.TreeElement=_;class g extends _{constructor(n,t,a){super(),this.id=n,this.parent=t,this.symbol=a,this.children=new Map}}e.OutlineElement=g;class C extends _{constructor(n,t,a,u){super(),this.id=n,this.parent=t,this.label=a,this.order=u,this.children=new Map}}e.OutlineGroup=C;class s extends _{static create(n,t,a){const u=new k.CancellationTokenSource(a),h=new s(t.uri),r=n.ordered(t),c=r.map((d,l)=>{var p;const m=_.findId(`provider_${l}`,h),v=new C(m,h,(p=d.displayName)!==null&&p!==void 0?p:"Unknown Outline Provider",l);return Promise.resolve(d.provideDocumentSymbols(t,u.token)).then(b=>{for(const w of b||[])s._makeOutlineElement(w,v);return v},b=>((0,y.onUnexpectedExternalError)(b),v)).then(b=>{_.empty(b)?b.remove():h._groups.set(m,b)})}),o=n.onDidChange(()=>{const d=n.ordered(t);(0,L.equals)(d,r)||u.cancel()});return Promise.all(c).then(()=>u.token.isCancellationRequested&&!a.isCancellationRequested?s.create(n,t,a):h._compact()).finally(()=>{o.dispose()})}static _makeOutlineElement(n,t){const a=_.findId(n,t),u=new g(a,t,n);if(n.children)for(const h of n.children)s._makeOutlineElement(h,u);t.children.set(u.id,u)}constructor(n){super(),this.uri=n,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let n=0;for(const[t,a]of this._groups)a.children.size===0?this._groups.delete(t):n+=1;if(n!==1)this.children=this._groups;else{const t=D.Iterable.first(this._groups.values());for(const[,a]of t.children)a.parent=this,this.children.set(a.id,a)}return this}getTopLevelSymbols(){const n=[];for(const t of this.children.values())t instanceof g?n.push(t.symbol):n.push(...D.Iterable.map(t.children.values(),a=>a.symbol));return n.sort((t,a)=>f.Range.compareRangesUsingStarts(t.range,a.range))}asListOfDocumentSymbols(){const n=this.getTopLevelSymbols(),t=[];return s._flattenDocumentSymbols(t,n,""),t.sort((a,u)=>S.Position.compare(f.Range.getStartPosition(a.range),f.Range.getStartPosition(u.range))||S.Position.compare(f.Range.getEndPosition(u.range),f.Range.getEndPosition(a.range)))}static _flattenDocumentSymbols(n,t,a){for(const u of t)n.push({kind:u.kind,tags:u.tags,name:u.name,detail:u.detail,containerName:u.containerName||a,range:u.range,selectionRange:u.selectionRange,children:void 0}),u.children&&s._flattenDocumentSymbols(n,u.children,u.name)}}e.OutlineModel=s}),define(ne[73],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class k{static insert(D,S){return{range:new L.Range(D.lineNumber,D.column,D.lineNumber,D.column),text:S,forceMoveMarkers:!0}}static delete(D){return{range:D,text:null}}static replace(D,S){return{range:D,text:S}}static replaceMove(D,S){return{range:D,text:S,forceMoveMarkers:!0}}}e.EditOperation=k}),define(ne[484],se([1,0,11,73,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class D{constructor(_,g){this._selection=_,this._cursors=g,this._selectionId=null}getEditOperations(_,g){const C=S(_,this._cursors);for(let s=0,i=C.length;sn.lineNumber===t.lineNumber?n.column-t.column:n.lineNumber-t.lineNumber);for(let n=_.length-2;n>=0;n--)_[n].lineNumber===_[n+1].lineNumber&&_.splice(n,1);const g=[];let C=0,s=0;const i=_.length;for(let n=1,t=f.getLineCount();n<=t;n++){const a=f.getLineContent(n),u=a.length+1;let h=0;if(s=n.startLineNumber?i=new D(i.startLineNumber,Math.max(i.endLineNumberExclusive,n.endLineNumberExclusive)):(g.push(i),i=n)}return i!==null&&g.push(i),g}static ofLength(f,_){return new D(f,f+_)}static deserialize(f){return new D(f[0],f[1])}constructor(f,_){if(f>_)throw new L.BugIndicatingError(`startLineNumber ${f} cannot be after endLineNumberExclusive ${_}`);this.startLineNumber=f,this.endLineNumberExclusive=_}contains(f){return this.startLineNumber<=f&&f255?255:y|0}}e.RGBA8=L,L.Empty=new L(0,0,0,0)}),define(ne[24],se([1,0,12,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class y extends k.Range{constructor(S,f,_,g){super(S,f,_,g),this.selectionStartLineNumber=S,this.selectionStartColumn=f,this.positionLineNumber=_,this.positionColumn=g}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(S){return y.selectionsEqual(this,S)}static selectionsEqual(S,f){return S.selectionStartLineNumber===f.selectionStartLineNumber&&S.selectionStartColumn===f.selectionStartColumn&&S.positionLineNumber===f.positionLineNumber&&S.positionColumn===f.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(S,f){return this.getDirection()===0?new y(this.startLineNumber,this.startColumn,S,f):new y(S,f,this.startLineNumber,this.startColumn)}getPosition(){return new L.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new L.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(S,f){return this.getDirection()===0?new y(S,f,this.endLineNumber,this.endColumn):new y(this.endLineNumber,this.endColumn,S,f)}static fromPositions(S,f=S){return new y(S.lineNumber,S.column,f.lineNumber,f.column)}static fromRange(S,f){return f===0?new y(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn):new y(S.endLineNumber,S.endColumn,S.startLineNumber,S.startColumn)}static liftSelection(S){return new y(S.selectionStartLineNumber,S.selectionStartColumn,S.positionLineNumber,S.positionColumn)}static selectionsArrEqual(S,f){if(S&&!f||!S&&f)return!1;if(!S&&!f)return!0;if(S.length!==f.length)return!1;for(let _=0,g=S.length;_(S.hasOwnProperty(f)||(S[f]=D(f)),S[f])}e.getMapForWordSeparators=y(D=>new k(D))}),define(ne[147],se([1,0,46,64]),function(Q,e,L,k){"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 y(g=""){let C="(-?\\d*\\.\\d\\w*)|([^";for(const s of e.USUAL_WORD_SEPARATORS)g.indexOf(s)>=0||(C+="\\"+s);return C+="\\s]+)",new RegExp(C,"g")}e.DEFAULT_WORD_REGEXP=y();function D(g){let C=e.DEFAULT_WORD_REGEXP;if(g&&g instanceof RegExp)if(g.global)C=g;else{let s="g";g.ignoreCase&&(s+="i"),g.multiline&&(s+="m"),g.unicode&&(s+="u"),C=new RegExp(g.source,s)}return C.lastIndex=0,C}e.ensureValidWordDefinition=D;const S=new k.LinkedList;S.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function f(g,C,s,i,n){if(n||(n=L.Iterable.first(S)),s.length>n.maxLen){let r=g-n.maxLen/2;return r<0?r=0:i+=r,s=s.substring(r,g+n.maxLen/2),f(g,C,s,i,n)}const t=Date.now(),a=g-1-i;let u=-1,h=null;for(let r=1;!(Date.now()-t>=n.timeBudget);r++){const c=a-n.windowSize*r;C.lastIndex=Math.max(0,c);const o=_(C,s,a,u);if(!o&&h||(h=o,c<=0))break;u=c}if(h){const r={word:h[0],startColumn:i+1+h.index,endColumn:i+1+h.index+h[0].length};return C.lastIndex=0,r}return null}e.getWordAtText=f;function _(g,C,s,i){let n;for(;n=g.exec(C);){const t=n.index||0;if(t<=s&&g.lastIndex>=s)return n;if(i>0&&t>i)return null}return null}}),define(ne[275],se([1,0,82]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class k{static whitespaceVisibleColumn(D,S,f){const _=D.length;let g=0,C=-1,s=-1;for(let i=0;i<_;i++){if(i===S)return[C,s,g];switch(g%f===0&&(C=i,s=g),D.charCodeAt(i)){case 32:g+=1;break;case 9:g=L.CursorColumns.nextRenderTabStop(g,f);break;default:return[-1,-1,-1]}}return S===_?[C,s,g]:[-1,-1,-1]}static atomicPosition(D,S,f,_){const g=D.length,[C,s,i]=k.whitespaceVisibleColumn(D,S,f);if(i===-1)return-1;let n;switch(_){case 0:n=!0;break;case 1:n=!1;break;case 2:if(i%f===0)return S;n=i%f<=f/2;break}if(n){if(C===-1)return-1;let u=s;for(let h=C;h ${this.seq2Range}`}join(g){return new D(this.seq1Range.join(g.seq1Range),this.seq2Range.join(g.seq2Range))}delta(g){return g===0?this:new D(this.seq1Range.delta(g),this.seq2Range.delta(g))}}e.SequenceDiff=D;class S{isValid(){return!0}}e.InfiniteTimeout=S,S.instance=new S;class f{constructor(g){if(this.timeout=g,this.startTime=Date.now(),this.valid=!0,g<=0)throw new L.BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime5||m.seq1Range.length+m.seq2Range.length>5)};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);return t}e.removeRandomLineMatches=S;function f(s,i,n){let t=n;if(t.length===0)return t;let a=0,u;do{u=!1;const h=[t[0]];for(let r=1;r5||v.length>500)return!1;const w=s.getText(v).trim();if(w.length>20||w.split(/\r\n|\r|\n/).length>1)return!1;const E=s.countLinesIn(p.seq1Range),I=p.seq1Range.length,M=i.countLinesIn(p.seq2Range),P=p.seq2Range.length,x=s.countLinesIn(m.seq1Range),T=m.seq1Range.length,A=i.countLinesIn(m.seq2Range),N=m.seq2Range.length,F=2*40+50;function O(W){return Math.min(W,F)}return Math.pow(Math.pow(O(E*40+I),1.5)+Math.pow(O(M*40+P),1.5),1.5)+Math.pow(Math.pow(O(x*40+T),1.5)+Math.pow(O(A*40+N),1.5),1.5)>Math.pow(Math.pow(F,1.5),1.5)*1.3};const c=t[r],o=h[h.length-1];d(o,c)?(u=!0,h[h.length-1]=h[h.length-1].join(c)):h.push(c)}t=h}while(a++<10&&u);for(let h=0;h0&&l.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>100&&(c=r.seq1Range.deltaStart(-l.length),o=r.seq2Range.deltaStart(-l.length));const p=s.getText(new L.OffsetRange(r.seq1Range.endExclusive,d.endExclusive));p.length>0&&p.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>150&&(c=c.deltaEnd(p.length),o=o.deltaEnd(p.length)),t[h]=new k.SequenceDiff(c,o)}return t}e.removeRandomMatches=f;function _(s,i,n){if(n.length===0)return n;const t=[];t.push(n[0]);for(let u=1;u0&&(r=r.delta(o))}a.push(r)}return t.length>0&&a.push(t[t.length-1]),a}e.joinSequenceDiffs=_;function g(s,i,n){if(!s.getBoundaryScore||!i.getBoundaryScore)return n;for(let t=0;t0?n[t-1]:void 0,u=n[t],h=t+1=t.start&&s.seq2Range.start-h>=a.start&&n.isStronglyEqual(s.seq2Range.start-h,s.seq2Range.endExclusive-h)&&h<100;)h++;h--;let r=0;for(;s.seq1Range.start+ro&&(o=v,c=d)}return s.delta(c)}}),define(ne[488],se([1,0,90,176]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MyersDiffAlgorithm=void 0;class y{compute(g,C,s=k.InfiniteTimeout.instance){if(g.length===0||C.length===0)return k.DiffAlgorithmResult.trivial(g,C);function i(d,l){for(;dg.length||b>C.length)continue;const w=i(v,b);t.set(u,w);const E=v===p?a.get(u+1):a.get(u-1);if(a.set(u,w!==v?new D(E,v,b,w-v):E),t.get(u)===g.length&&t.get(u)-u===C.length)break e}}let h=a.get(u);const r=[];let c=g.length,o=C.length;for(;;){const d=h?h.x+h.length:0,l=h?h.y+h.length:0;if((d!==c||l!==o)&&r.push(new k.SequenceDiff(new L.OffsetRange(d,c),new L.OffsetRange(l,o))),!h)break;c=h.x,o=h.y,h=h.prev}return r.reverse(),new k.DiffAlgorithmResult(r,!1)}}e.MyersDiffAlgorithm=y;class D{constructor(g,C,s,i){this.prev=g,this.x=C,this.y=s,this.length=i}}class S{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){if(g<0){if(g=-g-1,g>=this.negativeArr.length){const s=this.negativeArr;this.negativeArr=new Int32Array(s.length*2),this.negativeArr.set(s)}this.negativeArr[g]=C}else{if(g>=this.positiveArr.length){const s=this.positiveArr;this.positiveArr=new Int32Array(s.length*2),this.positiveArr.set(s)}this.positiveArr[g]=C}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,C){g<0?(g=-g-1,this.negativeArr[g]=C):this.positiveArr[g]=C}}}),define(ne[489],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Array2D=void 0;class L{constructor(y,D){this.width=y,this.height=D,this.array=[],this.array=new Array(y*D)}get(y,D){return this.array[y+D*this.width]}set(y,D,S){this.array[y+D*this.width]=S}}e.Array2D=L}),define(ne[490],se([1,0,90,176,489]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicProgrammingDiffing=void 0;class D{compute(f,_,g=k.InfiniteTimeout.instance,C){if(f.length===0||_.length===0)return k.DiffAlgorithmResult.trivial(f,_);const s=new y.Array2D(f.length,_.length),i=new y.Array2D(f.length,_.length),n=new y.Array2D(f.length,_.length);for(let o=0;o0&&d>0&&i.get(o-1,d-1)===3&&(m+=n.get(o-1,d-1)),m+=C?C(o,d):1):m=-1;const v=Math.max(l,p,m);if(v===m){const b=o>0&&d>0?n.get(o-1,d-1):0;n.set(o,d,b+1),i.set(o,d,3)}else v===l?(n.set(o,d,0),i.set(o,d,1)):v===p&&(n.set(o,d,0),i.set(o,d,2));s.set(o,d,v)}const t=[];let a=f.length,u=_.length;function h(o,d){(o+1!==a||d+1!==u)&&t.push(new k.SequenceDiff(new L.OffsetRange(o+1,a),new L.OffsetRange(d+1,u))),a=o,u=d}let r=f.length-1,c=_.length-1;for(;r>=0&&c>=0;)i.get(r,c)===3?(h(r,c),r--,c--):i.get(r,c)===1?r--:c--;return h(-1,-1),t.reverse(),new k.DiffAlgorithmResult(t,!1)}}e.DynamicProgrammingDiffing=D}),define(ne[109],se([1,0,66]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MovedText=e.SimpleLineRangeMapping=e.RangeMapping=e.LineRangeMapping=e.LinesDiff=void 0;class k{constructor(g,C,s){this.changes=g,this.moves=C,this.hitTimeout=s}}e.LinesDiff=k;class y{static inverse(g,C,s){const i=[];let n=1,t=1;for(const u of g){const h=new y(new L.LineRange(n,u.originalRange.startLineNumber),new L.LineRange(t,u.modifiedRange.startLineNumber),void 0);h.modifiedRange.isEmpty||i.push(h),n=u.originalRange.endLineNumberExclusive,t=u.modifiedRange.endLineNumberExclusive}const a=new y(new L.LineRange(n,C+1),new L.LineRange(t,s+1),void 0);return a.modifiedRange.isEmpty||i.push(a),i}constructor(g,C,s){this.originalRange=g,this.modifiedRange=C,this.innerChanges=s}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}flip(){var g;return new y(this.modifiedRange,this.originalRange,(g=this.innerChanges)===null||g===void 0?void 0:g.map(C=>C.flip()))}}e.LineRangeMapping=y;class D{constructor(g,C){this.originalRange=g,this.modifiedRange=C}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new D(this.modifiedRange,this.originalRange)}}e.RangeMapping=D;class S{constructor(g,C){this.original=g,this.modified=C}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new S(this.modified,this.original)}join(g){return new S(this.original.join(g.original),this.modified.join(g.modified))}}e.SimpleLineRangeMapping=S;class f{constructor(g,C){this.lineRangeMapping=g,this.changes=C}flip(){return new f(this.lineRangeMapping.flip(),this.changes.map(g=>g.flip()))}}e.MovedText=f}),define(ne[276],se([1,0,14,85,196,9,66,90,12,5,176,490,487,488,109]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFirstMonotonous=e.findLastMonotonous=e.LinesSliceCharSequence=e.LineSequence=e.getLineRangeMapping=e.lineRangeMappingFromRangeMappings=e.AdvancedLinesDiffComputer=void 0;class a{constructor(){this.dynamicProgrammingDiffing=new s.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new n.MyersDiffAlgorithm}computeDiff(R,K,G){if(R.length<=1&&(0,L.equals)(R,K,($,re)=>$===re))return new t.LinesDiff([],[],!1);if(R.length===1&&R[0].length===0||K.length===1&&K[0].length===0)return new t.LinesDiff([new t.LineRangeMapping(new S.LineRange(1,R.length+1),new S.LineRange(1,K.length+1),[new t.RangeMapping(new g.Range(1,1,R.length,R[0].length+1),new g.Range(1,1,K.length,K[0].length+1))])],[],!1);const Z=G.maxComputationTimeMs===0?C.InfiniteTimeout.instance:new C.DateTimeout(G.maxComputationTimeMs),J=!G.ignoreTrimWhitespace,X=new Map;function H($){let re=X.get($);return re===void 0&&(re=X.size,X.set($,re)),re}const B=R.map($=>H($.trim())),V=K.map($=>H($.trim())),Y=new v(B,R),ie=new v(V,K),ae=(()=>Y.length+ie.length<1700?this.dynamicProgrammingDiffing.compute(Y,ie,Z,($,re)=>R[$]===K[re]?K[re].length===0?.1:1+Math.log(1+K[re].length):.99):this.myersDiffingAlgorithm.compute(Y,ie))();let ce=ae.diffs,de=ae.hitTimeout;ce=(0,i.optimizeSequenceDiffs)(Y,ie,ce),ce=(0,i.removeRandomLineMatches)(Y,ie,ce);const he=[],ue=$=>{if(J)for(let re=0;re<$;re++){const oe=te+re,ge=q+re;if(R[oe]!==K[ge]){const ve=this.refineDiff(R,K,new C.SequenceDiff(new f.OffsetRange(oe,oe+1),new f.OffsetRange(ge,ge+1)),Z,J);for(const Se of ve.mappings)he.push(Se);ve.hitTimeout&&(de=!0)}}};let te=0,q=0;for(const $ of ce){(0,k.assertFn)(()=>$.seq1Range.start-te===$.seq2Range.start-q);const re=$.seq1Range.start-te;ue(re),te=$.seq1Range.endExclusive,q=$.seq2Range.endExclusive;const oe=this.refineDiff(R,K,$,Z,J);oe.hitTimeout&&(de=!0);for(const ge of oe.mappings)he.push(ge)}ue(R.length-te);const z=l(he,R,K);let ee=[];return G.computeMoves&&(ee=this.computeMoves(z,R,K,B,V,Z,J)),(0,k.assertFn)(()=>{function $(oe,ge){if(oe.lineNumber<1||oe.lineNumber>ge.length)return!1;const ve=ge[oe.lineNumber-1];return!(oe.column<1||oe.column>ve.length+1)}function re(oe,ge){return!(oe.startLineNumber<1||oe.startLineNumber>ge.length+1||oe.endLineNumberExclusive<1||oe.endLineNumberExclusive>ge.length+1)}for(const oe of z){if(!oe.innerChanges)return!1;for(const ge of oe.innerChanges)if(!($(ge.modifiedRange.getStartPosition(),K)&&$(ge.modifiedRange.getEndPosition(),K)&&$(ge.originalRange.getStartPosition(),R)&&$(ge.originalRange.getEndPosition(),R)))return!1;if(!re(oe.modifiedRange,K)||!re(oe.originalRange,R))return!1}return!0}),new t.LinesDiff(z,ee,de)}computeMoves(R,K,G,Z,J,X,H){const B=[],V=R.filter(z=>z.modifiedRange.isEmpty&&z.originalRange.length>=3).map(z=>new U(z.originalRange,K,z)),Y=new Set(R.filter(z=>z.originalRange.isEmpty&&z.modifiedRange.length>=3).map(z=>new U(z.modifiedRange,G,z))),ie=new Set;for(const z of V){let ee=-1,$;for(const re of Y){const oe=z.computeSimilarity(re);oe>ee&&(ee=oe,$=re)}if(ee>.9&&$&&(Y.delete($),B.push(new t.SimpleLineRangeMapping(z.range,$.range)),ie.add(z.source),ie.add($.source)),!X.isValid())return[]}const ae=new y.SetMap;for(const z of R)if(!ie.has(z))for(let ee=z.originalRange.startLineNumber;eez.modifiedRange.startLineNumber,L.numberComparator));for(const z of R){if(ie.has(z))continue;let ee=[];for(let $=z.modifiedRange.startLineNumber;${for(const Le of ee)if(Le.originalLineRange.endLineNumberExclusive+1===ve.endLineNumberExclusive&&Le.modifiedLineRange.endLineNumberExclusive+1===oe.endLineNumberExclusive){Le.originalLineRange=new S.LineRange(Le.originalLineRange.startLineNumber,ve.endLineNumberExclusive),Le.modifiedLineRange=new S.LineRange(Le.modifiedLineRange.startLineNumber,oe.endLineNumberExclusive),ge.push(Le);return}const Se={modifiedLineRange:oe,originalLineRange:ve};ce.push(Se),ge.push(Se)}),ee=ge}if(!X.isValid())return[]}ce.sort((0,L.reverseOrder)((0,L.compareBy)(z=>z.modifiedLineRange.length,L.numberComparator)));const de=new r,he=new r;for(const z of ce){const ee=z.modifiedLineRange.startLineNumber-z.originalLineRange.startLineNumber,$=de.subtractFrom(z.modifiedLineRange),re=he.subtractFrom(z.originalLineRange).map(ge=>ge.delta(ee)),oe=h($,re);for(const ge of oe){if(ge.length<3)continue;const ve=ge,Se=ge.delta(-ee);B.push(new t.SimpleLineRangeMapping(Se,ve)),de.addRange(ve),he.addRange(Se)}}if(B.sort((0,L.compareBy)(z=>z.original.startLineNumber,L.numberComparator)),B.length===0)return[];let ue=[B[0]];for(let z=1;z=0&&oe>=0&&re+oe<=2){ue[ue.length-1]=ee.join($);continue}$.original.toOffsetRange().slice(K).map(Se=>Se.trim()).join(` -`).length<=10||ue.push($)}const te=u.createOfSorted(R,z=>z.originalRange.endLineNumberExclusive,L.numberComparator);return ue=ue.filter(z=>{const ee=te.findLastItemBeforeOrEqual(z.original.startLineNumber)||new t.LineRangeMapping(new S.LineRange(1,1),new S.LineRange(1,1),[]),$=z.modified.startLineNumber-ee.modifiedRange.endLineNumberExclusive,re=z.original.startLineNumber-ee.originalRange.endLineNumberExclusive;return $!==re}),ue.map(z=>{const ee=this.refineDiff(K,G,new C.SequenceDiff(z.original.toOffsetRange(),z.modified.toOffsetRange()),X,H),$=l(ee.mappings,K,G,!0);return new t.MovedText(z,$)})}refineDiff(R,K,G,Z,J){const X=new w(R,G.seq1Range,J),H=new w(K,G.seq2Range,J),B=X.length+H.length<500?this.dynamicProgrammingDiffing.compute(X,H,Z):this.myersDiffingAlgorithm.compute(X,H,Z);let V=B.diffs;return V=(0,i.optimizeSequenceDiffs)(X,H,V),V=o(X,H,V),V=(0,i.smoothenSequenceDiffs)(X,H,V),V=(0,i.removeRandomMatches)(X,H,V),{mappings:V.map(ie=>new t.RangeMapping(X.translateRange(ie.seq1Range),H.translateRange(ie.seq2Range))),hitTimeout:B.hitTimeout}}}e.AdvancedLinesDiffComputer=a;class u{static createOfSorted(R,K,G){return new u(R,K,G)}constructor(R,K,G){this._items=R,this._itemToDomain=K,this._domainComparator=G,this._currentIdx=0,this._lastValue=void 0,this._hasLastValue=!1}findLastItemBeforeOrEqual(R){if(this._hasLastValue&&L.CompareResult.isLessThan(this._domainComparator(R,this._lastValue)))throw new D.BugIndicatingError;for(this._lastValue=R,this._hasLastValue=!0;this._currentIdxZ.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,Z=>Z.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)this._normalizedRanges.splice(K,0,R);else if(K===G-1){const Z=this._normalizedRanges[K];this._normalizedRanges[K]=Z.join(R)}else{const Z=this._normalizedRanges[K].join(this._normalizedRanges[G-1]).join(R);this._normalizedRanges.splice(K,G-K,Z)}}subtractFrom(R){const K=c(this._normalizedRanges.findIndex(X=>X.endLineNumberExclusive>=R.startLineNumber),this._normalizedRanges.length),G=(0,L.findLastIndex)(this._normalizedRanges,X=>X.startLineNumber<=R.endLineNumberExclusive)+1;if(K===G)return[R];const Z=[];let J=R.startLineNumber;for(let X=K;XJ&&Z.push(new S.LineRange(J,H.startLineNumber)),J=H.endLineNumberExclusive}return JH&&G.push(new C.SequenceDiff(Z.s1Range,Z.s2Range)),Z=void 0}for(const H of K){let B=function(ce,de){var he,ue,te,q;if(!Z||!Z.s1Range.containsRange(ce)||!Z.s2Range.containsRange(de))if(Z&&!(Z.s1Range.endExclusive0||R.length>0;){const G=j[0],Z=R[0];let J;G&&(!Z||G.seq1Range.start0&&K[K.length-1].seq1Range.endExclusive>=J.seq1Range.start?K[K.length-1]=K[K.length-1].join(J):K.push(J)}return K}function l(j,R,K,G=!1){const Z=[];for(const J of m(j.map(X=>p(X,R,K)),(X,H)=>X.originalRange.overlapOrTouch(H.originalRange)||X.modifiedRange.overlapOrTouch(H.modifiedRange))){const X=J[0],H=J[J.length-1];Z.push(new t.LineRangeMapping(X.originalRange.join(H.originalRange),X.modifiedRange.join(H.modifiedRange),J.map(B=>B.innerChanges[0])))}return(0,k.assertFn)(()=>!G&&Z.length>0&&Z[0].originalRange.startLineNumber!==Z[0].modifiedRange.startLineNumber?!1:(0,k.checkAdjacentItems)(Z,(J,X)=>X.originalRange.startLineNumber-J.originalRange.endLineNumberExclusive===X.modifiedRange.startLineNumber-J.modifiedRange.endLineNumberExclusive&&J.originalRange.endLineNumberExclusive=K[j.modifiedRange.startLineNumber-1].length&&j.originalRange.startColumn-1>=R[j.originalRange.startLineNumber-1].length&&j.originalRange.startLineNumber<=j.originalRange.endLineNumber+Z&&j.modifiedRange.startLineNumber<=j.modifiedRange.endLineNumber+Z&&(G=1);const J=new S.LineRange(j.originalRange.startLineNumber+G,j.originalRange.endLineNumber+1+Z),X=new S.LineRange(j.modifiedRange.startLineNumber+G,j.modifiedRange.endLineNumber+1+Z);return new t.LineRangeMapping(J,X,[j])}e.getLineRangeMapping=p;function*m(j,R){let K,G;for(const Z of j)G!==void 0&&R(G,Z)?K.push(Z):(K&&(yield K),K=[Z]),G=Z;K&&(yield K)}class v{constructor(R,K){this.trimmedHash=R,this.lines=K}getElement(R){return this.trimmedHash[R]}get length(){return this.trimmedHash.length}getBoundaryScore(R){const K=R===0?0:b(this.lines[R-1]),G=R===this.lines.length?0:b(this.lines[R]);return 1e3-(K+G)}getText(R){return this.lines.slice(R.start,R.endExclusive).join(` -`)}isStronglyEqual(R,K){return this.lines[R]===this.lines[K]}}e.LineSequence=v;function b(j){let R=0;for(;R0&&K.endExclusive>=R.length&&(K=new f.OffsetRange(K.start-1,K.endExclusive),Z=!0),this.lineRange=K;for(let J=this.lineRange.start;JString.fromCharCode(K)).join("")}getElement(R){return this.elements[R]}get length(){return this.elements.length}getBoundaryScore(R){const K=N(R>0?this.elements[R-1]:-1),G=N(RR?G=J:K=J+1}const Z=K===0?0:this.firstCharOffsetByLineMinusOne[K-1];return new _.Position(this.lineRange.start+K+1,R-Z+1+this.additionalOffsetByLine[K])}translateRange(R){return g.Range.fromPositions(this.translateOffset(R.start),this.translateOffset(R.endExclusive))}findWordContaining(R){if(R<0||R>=this.elements.length||!x(this.elements[R]))return;let K=R;for(;K>0&&x(this.elements[K-1]);)K--;let G=R;for(;GX<=R.start))!==null&&K!==void 0?K:0,J=(G=P(this.firstCharOffsetByLineMinusOne,X=>R.endExclusive<=X))!==null&&G!==void 0?G:this.elements.length;return new f.OffsetRange(Z,J)}}e.LinesSliceCharSequence=w;function E(j,R){let K=0,G=j.length;for(;K=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57}const T={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function A(j){return T[j]}function N(j){return j===10?7:j===13?6:F(j)?5:j>=97&&j<=122?0:j>=65&&j<=90?1:j>=48&&j<=57?2:j===-1?3:4}function F(j){return j===32||j===9}const O=new Map;function W(j){let R=O.get(j);return R===void 0&&(R=O.size,O.set(j,R)),R}class U{constructor(R,K,G){this.range=R,this.lines=K,this.source=G,this.histogram=[];let Z=0;for(let J=R.startLineNumber-1;Jnew k.RangeMapping(new D.Range(T.originalStartLineNumber,T.originalStartColumn,T.originalEndLineNumber,T.originalEndColumn),new D.Range(T.modifiedStartLineNumber,T.modifiedStartColumn,T.modifiedEndLineNumber,T.modifiedEndColumn))));E&&(E.modifiedRange.endLineNumberExclusive===x.modifiedRange.startLineNumber||E.originalRange.endLineNumberExclusive===x.originalRange.startLineNumber)&&(x=new k.LineRangeMapping(E.originalRange.join(x.originalRange),E.modifiedRange.join(x.modifiedRange),E.innerChanges&&x.innerChanges?E.innerChanges.concat(x.innerChanges):void 0),w.pop()),w.push(x),E=x}return(0,S.assertFn)(()=>(0,S.checkAdjacentItems)(w,(I,M)=>M.originalRange.startLineNumber-I.originalRange.endLineNumberExclusive===M.modifiedRange.startLineNumber-I.modifiedRange.endLineNumberExclusive&&I.originalRange.endLineNumberExclusive(d===10?"\\n":String.fromCharCode(d))+`-(${this._lineNumbers[l]},${this._columns[l]})`).join(", ")+"]"}_assertIndex(d,l){if(d<0||d>=l.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(d){return d>0&&d===this._lineNumbers.length?this.getEndLineNumber(d-1):(this._assertIndex(d,this._lineNumbers),this._lineNumbers[d])}getEndLineNumber(d){return d===-1?this.getStartLineNumber(d+1):(this._assertIndex(d,this._lineNumbers),this._charCodes[d]===10?this._lineNumbers[d]+1:this._lineNumbers[d])}getStartColumn(d){return d>0&&d===this._columns.length?this.getEndColumn(d-1):(this._assertIndex(d,this._columns),this._columns[d])}getEndColumn(d){return d===-1?this.getStartColumn(d+1):(this._assertIndex(d,this._columns),this._charCodes[d]===10?1:this._columns[d]+1)}}class n{constructor(d,l,p,m,v,b,w,E){this.originalStartLineNumber=d,this.originalStartColumn=l,this.originalEndLineNumber=p,this.originalEndColumn=m,this.modifiedStartLineNumber=v,this.modifiedStartColumn=b,this.modifiedEndLineNumber=w,this.modifiedEndColumn=E}static createFromDiffChange(d,l,p){const m=l.getStartLineNumber(d.originalStart),v=l.getStartColumn(d.originalStart),b=l.getEndLineNumber(d.originalStart+d.originalLength-1),w=l.getEndColumn(d.originalStart+d.originalLength-1),E=p.getStartLineNumber(d.modifiedStart),I=p.getStartColumn(d.modifiedStart),M=p.getEndLineNumber(d.modifiedStart+d.modifiedLength-1),P=p.getEndColumn(d.modifiedStart+d.modifiedLength-1);return new n(m,v,b,w,E,I,M,P)}}function t(o){if(o.length<=1)return o;const d=[o[0]];let l=d[0];for(let p=1,m=o.length;p0&&l.originalLength<20&&l.modifiedLength>0&&l.modifiedLength<20&&v()){const T=p.createCharSequence(d,l.originalStart,l.originalStart+l.originalLength-1),A=m.createCharSequence(d,l.modifiedStart,l.modifiedStart+l.modifiedLength-1);if(T.getElements().length>0&&A.getElements().length>0){let N=C(T,A,v,!0).changes;w&&(N=t(N)),x=[];for(let F=0,O=N.length;F1&&N>1;){const F=x.charCodeAt(A-2),O=T.charCodeAt(N-2);if(F!==O)break;A--,N--}(A>1||N>1)&&this._pushTrimWhitespaceCharChange(m,v+1,1,A,b+1,1,N)}{let A=r(x,1),N=r(T,1);const F=x.length+1,O=T.length+1;for(;A!0;const d=Date.now();return()=>Date.now()-dnew L.LegacyLinesDiffComputer,getAdvanced:()=>new k.AdvancedLinesDiffComputer}}),define(ne[277],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalEditorAction=void 0;class L{constructor(y,D,S,f,_,g){this.id=y,this.label=D,this.alias=S,this._precondition=f,this._run=_,this._contextKeyService=g}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(y){return this.isSupported()?this._run(y):Promise.resolve(void 0)}}e.InternalEditorAction=L}),define(ne[148],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorType=void 0,e.EditorType={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}}),define(ne[177],se([1,0,148]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeEditor=e.isCompositeEditor=e.isDiffEditor=e.isCodeEditor=void 0;function k(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.ICodeEditor:!1}e.isCodeEditor=k;function y(f){return f&&typeof f.getEditorType=="function"?f.getEditorType()===L.EditorType.IDiffEditor:!1}e.isDiffEditor=y;function D(f){return!!f&&typeof f=="object"&&typeof f.onDidChangeActiveEditor=="function"}e.isCompositeEditor=D;function S(f){return k(f)?f:y(f)?f.getModifiedEditor():D(f)&&k(f.activeCodeEditor)?f.activeCodeEditor:null}e.getCodeEditor=S}),define(ne[149],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEditorFeatures=e.registerEditorFeature=void 0;const L=[];function k(D){L.push(D)}e.registerEditorFeature=k;function y(){return L.slice(0)}e.getEditorFeatures=y}),define(ne[493],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorTheme=void 0;class L{get type(){return this._theme.type}get value(){return this._theme}constructor(y){this._theme=y}update(y){this._theme=y}getColor(y){return this._theme.getColor(y)}}e.EditorTheme=L}),define(ne[124],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMetadata=void 0;class L{static getLanguageId(y){return(y&255)>>>0}static getTokenType(y){return(y&768)>>>8}static containsBalancedBrackets(y){return(y&1024)!==0}static getFontStyle(y){return(y&30720)>>>11}static getForeground(y){return(y&16744448)>>>15}static getBackground(y){return(y&4278190080)>>>24}static getClassNameFromMetadata(y){let S="mtk"+this.getForeground(y);const f=this.getFontStyle(y);return f&1&&(S+=" mtki"),f&2&&(S+=" mtkb"),f&4&&(S+=" mtku"),f&8&&(S+=" mtks"),S}static getInlineStyleFromMetadata(y,D){const S=this.getForeground(y),f=this.getFontStyle(y);let _=`color: ${D[S]};`;f&1&&(_+="font-style: italic;"),f&2&&(_+="font-weight: bold;");let g="";return f&4&&(g+=" underline"),f&8&&(g+=" line-through"),g&&(_+=`text-decoration:${g};`),_}static getPresentationFromMetadata(y){const D=this.getForeground(y),S=this.getFontStyle(y);return{foreground:D,italic:!!(S&1),bold:!!(S&2),underline:!!(S&4),strikethrough:!!(S&8)}}}e.TokenMetadata=L}),define(ne[494],se([1,0,38]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeDefaultDocumentColors=void 0;function k(i){const n=[];for(const t of i){const a=Number(t);(a||a===0&&t.replace(/\s/g,"")!=="")&&n.push(a)}return n}function y(i,n,t,a){return{red:i/255,blue:t/255,green:n/255,alpha:a}}function D(i,n){const t=n.index,a=n[0].length;if(!t)return;const u=i.positionAt(t);return{startLineNumber:u.lineNumber,startColumn:u.column,endLineNumber:u.lineNumber,endColumn:u.column+a}}function S(i,n){if(!i)return;const t=L.Color.Format.CSS.parseHex(n);if(t)return{range:i,color:y(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function f(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u);return{range:i,color:y(h[0],h[1],h[2],t?h[3]:1)}}function _(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),h=k(u),r=new L.Color(new L.HSLA(h[0],h[1]/100,h[2]/100,t?h[3]:1));return{range:i,color:y(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function g(i,n){return typeof i=="string"?[...i.matchAll(n)]:i.findMatches(n)}function C(i){const n=[],a=g(i,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(a.length>0)for(const u of a){const h=u.filter(d=>d!==void 0),r=h[1],c=h[2];if(!c)continue;let o;if(r==="rgb"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=f(D(i,u),g(c,d),!1)}else if(r==="rgba"){const d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=f(D(i,u),g(c,d),!0)}else if(r==="hsl"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=_(D(i,u),g(c,d),!1)}else if(r==="hsla"){const d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=_(D(i,u),g(c,d),!0)}else r==="#"&&(o=S(D(i,u),r+c));o&&n.push(o)}return n}function s(i){return!i||typeof i.getValue!="function"||typeof i.positionAt!="function"?[]:C(i)}e.computeDefaultDocumentColors=s}),define(ne[110],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var L;(function(S){S[S.None=0]="None",S[S.Indent=1]="Indent",S[S.IndentOutdent=2]="IndentOutdent",S[S.Outdent=3]="Outdent"})(L||(e.IndentAction=L={}));class k{constructor(f){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=f.open,this.close=f.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(f.notIn))for(let _=0,g=f.notIn.length;_n&&(n=c),r>t&&(t=r),o>t&&(t=o)}n++,t++;const a=new k(t,n,0);for(let u=0,h=i.length;u=this._maxCharCode?0:this._states.get(i,n)}}e.StateMachine=y;let D=null;function S(){return D===null&&(D=new y([[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]])),D}let f=null;function _(){if(f===null){f=new L.CharacterClassifier(0);const s=` <>'"\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 n=0;na);if(a>0){const r=n.charCodeAt(a-1),c=n.charCodeAt(h);(r===40&&c===41||r===91&&c===93||r===123&&c===125)&&h--}return{range:{startLineNumber:t,startColumn:a+1,endLineNumber:t,endColumn:h+2},url:n.substring(a,h+1)}}static computeLinks(i,n=S()){const t=_(),a=[];for(let u=1,h=i.getLineCount();u<=h;u++){const r=i.getLineContent(u),c=r.length;let o=0,d=0,l=0,p=1,m=!1,v=!1,b=!1,w=!1;for(;o0&&D.getLanguageId(s-1)===g;)s--;return new k(D,g,s,C+1,D.getStartOffset(s),D.getEndOffset(C))}e.createScopedLineTokens=L;class k{constructor(S,f,_,g,C,s){this._scopedLineTokensBrand=void 0,this._actual=S,this.languageId=f,this._firstTokenIndex=_,this._lastTokenIndex=g,this.firstCharOffset=C,this._lastCharOffset=s}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(S){return this._actual.getLineContent().substring(0,this.firstCharOffset+S)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(S){return this._actual.findTokenIndexAtOffset(S+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(S){return this._actual.getStandardTokenType(S+this._firstTokenIndex)}}e.ScopedLineTokens=k;function y(D){return(D&3)!==0}e.ignoreBracketsInToken=y}),define(ne[74],se([1,0,12,5,24,125,82,202]),function(Q,e,L,k,y,D,S,f){"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 _=()=>!0,g=()=>!1,C=r=>r===" "||r===" ";class s{static shouldRecreate(c){return c.hasChanged(142)||c.hasChanged(128)||c.hasChanged(36)||c.hasChanged(75)||c.hasChanged(77)||c.hasChanged(78)||c.hasChanged(6)||c.hasChanged(10)||c.hasChanged(8)||c.hasChanged(9)||c.hasChanged(13)||c.hasChanged(126)||c.hasChanged(49)||c.hasChanged(89)}constructor(c,o,d,l){this.languageConfigurationService=l,this._cursorMoveConfigurationBrand=void 0,this._languageId=c;const p=d.options,m=p.get(142),v=p.get(49);this.readOnly=p.get(89),this.tabSize=o.tabSize,this.indentSize=o.indentSize,this.insertSpaces=o.insertSpaces,this.stickyTabStops=p.get(114),this.lineHeight=v.lineHeight,this.typicalHalfwidthCharacterWidth=v.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(m.height/this.lineHeight)-2),this.useTabStops=p.get(126),this.wordSeparators=p.get(128),this.emptySelectionClipboard=p.get(36),this.copyWithSyntaxHighlighting=p.get(24),this.multiCursorMergeOverlapping=p.get(75),this.multiCursorPaste=p.get(77),this.multiCursorLimit=p.get(78),this.autoClosingBrackets=p.get(6),this.autoClosingQuotes=p.get(10),this.autoClosingDelete=p.get(8),this.autoClosingOvertype=p.get(9),this.autoSurround=p.get(13),this.autoIndent=p.get(11),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(c,this.autoClosingQuotes,!0),bracket:this._getShouldAutoClose(c,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(c).getAutoClosingPairs();const b=this.languageConfigurationService.getLanguageConfiguration(c).getSurroundingPairs();if(b)for(const w of b)this.surroundingPairs[w.open]=w.close}get electricChars(){var c;if(!this._electricChars){this._electricChars={};const o=(c=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||c===void 0?void 0:c.getElectricCharacters();if(o)for(const d of o)this._electricChars[d]=!0}return this._electricChars}onElectricCharacter(c,o,d){const l=(0,D.createScopedLineTokens)(o,d-1),p=this.languageConfigurationService.getLanguageConfiguration(l.languageId).electricCharacter;return p?p.onElectricCharacter(c,l,d-l.firstCharOffset):null}normalizeIndentation(c){return(0,f.normalizeIndentation)(c,this.indentSize,this.insertSpaces)}_getShouldAutoClose(c,o,d){switch(o){case"beforeWhitespace":return C;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(c,d);case"always":return _;case"never":return g}}_getLanguageDefinedShouldAutoClose(c,o){const d=this.languageConfigurationService.getLanguageConfiguration(c).getAutoCloseBeforeSet(o);return l=>d.indexOf(l)!==-1}visibleColumnFromColumn(c,o){return S.CursorColumns.visibleColumnFromColumn(c.getLineContent(o.lineNumber),o.column,this.tabSize)}columnFromVisibleColumn(c,o,d){const l=S.CursorColumns.columnFromVisibleColumn(c.getLineContent(o),d,this.tabSize),p=c.getLineMinColumn(o);if(lm?m:l}}e.CursorConfiguration=s;class i{static fromModelState(c){return new n(c)}static fromViewState(c){return new t(c)}static fromModelSelection(c){const o=y.Selection.liftSelection(c),d=new a(k.Range.fromPositions(o.getSelectionStart()),0,0,o.getPosition(),0);return i.fromModelState(d)}static fromModelSelections(c){const o=[];for(let d=0,l=c.length;ds,a=C>i,u=Ci||pC||l0&&C--,D.columnSelect(f,_,g.fromViewLineNumber,g.fromViewVisualColumn,g.toViewLineNumber,C)}static columnSelectRight(f,_,g){let C=0;const s=Math.min(g.fromViewLineNumber,g.toViewLineNumber),i=Math.max(g.fromViewLineNumber,g.toViewLineNumber);for(let t=s;t<=i;t++){const a=_.getLineMaxColumn(t),u=f.visibleColumnFromColumn(_,new k.Position(t,a));C=Math.max(C,u)}let n=g.toViewVisualColumn;return ns.getLineMinColumn(i.lineNumber))return i.delta(void 0,-L.prevCharLength(s.getLineContent(i.lineNumber),i.column-1));if(i.lineNumber>1){const n=i.lineNumber-1;return new y.Position(n,s.getLineMaxColumn(n))}else return i}static leftPositionAtomicSoftTabs(s,i,n){if(i.column<=s.getLineIndentColumn(i.lineNumber)){const t=s.getLineMinColumn(i.lineNumber),a=s.getLineContent(i.lineNumber),u=S.AtomicTabMoveOperations.atomicPosition(a,i.column-1,n,0);if(u!==-1&&u+1>=t)return new y.Position(i.lineNumber,u+1)}return this.leftPosition(s,i)}static left(s,i,n){const t=s.stickyTabStops?g.leftPositionAtomicSoftTabs(i,n,s.tabSize):g.leftPosition(i,n);return new _(t.lineNumber,t.column,0)}static moveLeft(s,i,n,t,a){let u,h;if(n.hasSelection()&&!t)u=n.selection.startLineNumber,h=n.selection.startColumn;else{const r=n.position.delta(void 0,-(a-1)),c=i.normalizePosition(g.clipPositionColumn(r,i),0),o=g.left(s,i,c);u=o.lineNumber,h=o.column}return n.move(t,u,h,0)}static clipPositionColumn(s,i){return new y.Position(s.lineNumber,g.clipRange(s.column,i.getLineMinColumn(s.lineNumber),i.getLineMaxColumn(s.lineNumber)))}static clipRange(s,i,n){return sn?n:s}static rightPosition(s,i,n){return no?(n=o,h?t=i.getLineMaxColumn(n):t=Math.min(i.getLineMaxColumn(n),t)):t=s.columnFromVisibleColumn(i,n,c),p?a=0:a=c-k.CursorColumns.visibleColumnFromColumn(i.getLineContent(n),t,s.tabSize),r!==void 0){const m=new y.Position(n,t),v=i.normalizePosition(m,r);a=a+(t-v.column),n=v.lineNumber,t=v.column}return new _(n,t,a)}static down(s,i,n,t,a,u,h){return this.vertical(s,i,n,t,a,n+u,h,4)}static moveDown(s,i,n,t,a){let u,h;n.hasSelection()&&!t?(u=n.selection.endLineNumber,h=n.selection.endColumn):(u=n.position.lineNumber,h=n.position.column);let r=0,c;do if(c=g.down(s,i,u+r,h,n.leftoverVisibleColumns,a,!0),i.normalizePosition(new y.Position(c.lineNumber,c.column),2).lineNumber>u)break;while(r++<10&&u+r1&&this._isBlankLine(i,a);)a--;for(;a>1&&!this._isBlankLine(i,a);)a--;return n.move(t,a,i.getLineMinColumn(a),0)}static moveToNextBlankLine(s,i,n,t){const a=i.getLineCount();let u=n.position.lineNumber;for(;u=l.length+1)return!1;const p=l.charAt(d.column-2),m=t.get(p);if(!m)return!1;if((0,y.isQuote)(p)){if(n==="never")return!1}else if(i==="never")return!1;const v=l.charAt(d.column-1);let b=!1;for(const w of m)w.open===p&&w.close===v&&(b=!0);if(!b)return!1;if(s==="auto"){let w=!1;for(let E=0,I=h.length;E1){const a=i.getLineContent(t.lineNumber),u=L.firstNonWhitespaceIndex(a),h=u===-1?a.length+1:u+1;if(t.column<=h){const r=n.visibleColumnFromColumn(i,t),c=D.CursorColumns.prevIndentTabStop(r,n.indentSize),o=n.columnFromVisibleColumn(i,t.lineNumber,c);return new f.Range(t.lineNumber,o,t.lineNumber,t.column)}}return f.Range.fromPositions(g.getPositionAfterDeleteLeft(t,i),t)}static getPositionAfterDeleteLeft(s,i){if(s.column>1){const n=L.getLeftDeleteOffset(s.column-1,i.getLineContent(s.lineNumber));return s.with(void 0,n+1)}else if(s.lineNumber>1){const n=s.lineNumber-1;return new _.Position(n,i.getLineMaxColumn(n))}else return s}static cut(s,i,n){const t=[];let a=null;n.sort((u,h)=>_.Position.compare(u.getStartPosition(),h.getEndPosition()));for(let u=0,h=n.length;u1&&a?.endLineNumber!==c.lineNumber?(o=c.lineNumber-1,d=i.getLineMaxColumn(c.lineNumber-1),l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber)):(o=c.lineNumber,d=1,l=c.lineNumber,p=i.getLineMaxColumn(c.lineNumber));const m=new f.Range(o,d,l,p);a=m,m.isEmpty()?t[u]=null:t[u]=new k.ReplaceCommand(m,"")}else t[u]=null;else t[u]=new k.ReplaceCommand(r,"")}return new y.EditOperationResult(0,t,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=g}),define(ne[178],se([1,0,11,74,204,146,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class _{static _createWord(i,n,t,a,u){return{start:a,end:u,wordType:n,nextCharClass:t}}static _findPreviousWordOnLine(i,n,t){const a=n.getLineContent(t.lineNumber);return this._doFindPreviousWordOnLine(a,i,t)}static _doFindPreviousWordOnLine(i,n,t){let a=0;for(let u=t.column-2;u>=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===0){if(a===2)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=1}else if(r===2){if(a===1)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1));a=2}else if(r===1&&a!==0)return this._createWord(i,a,r,u+1,this._findEndOfWord(i,n,a,u+1))}return a!==0?this._createWord(i,a,1,0,this._findEndOfWord(i,n,a,0)):null}static _findEndOfWord(i,n,t,a){const u=i.length;for(let h=a;h=0;u--){const h=i.charCodeAt(u),r=n.get(h);if(r===1||t===1&&r===2||t===2&&r===0)return u+1}return 0}static moveWordLeft(i,n,t,a){let u=t.lineNumber,h=t.column;h===1&&u>1&&(u=u-1,h=n.getLineMaxColumn(u));let r=_._findPreviousWordOnLine(i,n,new S.Position(u,h));if(a===0)return new S.Position(u,r?r.start+1:1);if(a===1)return r&&r.wordType===2&&r.end-r.start===1&&r.nextCharClass===0&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.start+1:1);if(a===3){for(;r&&r.wordType===2;)r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1));return new S.Position(u,r?r.start+1:1)}return r&&h<=r.end+1&&(r=_._findPreviousWordOnLine(i,n,new S.Position(u,r.start+1))),new S.Position(u,r?r.end+1:1)}static _moveWordPartLeft(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===1)return t>1?new S.Position(t-1,i.getLineMaxColumn(t-1)):n;const u=i.getLineContent(t);for(let h=n.column-1;h>1;h--){const r=u.charCodeAt(h-2),c=u.charCodeAt(h-1);if(r===95&&c!==95)return new S.Position(t,h);if(r===45&&c!==45)return new S.Position(t,h);if((L.isLowerAsciiLetter(r)||L.isAsciiDigit(r))&&L.isUpperAsciiLetter(c))return new S.Position(t,h);if(L.isUpperAsciiLetter(r)&&L.isUpperAsciiLetter(c)&&h+1=c.start+1&&(c=_._findNextWordOnLine(i,n,new S.Position(u,c.end+1))),c?h=c.start+1:h=n.getLineMaxColumn(u);return new S.Position(u,h)}static _moveWordPartRight(i,n){const t=n.lineNumber,a=i.getLineMaxColumn(t);if(n.column===a)return t1?o=1:(c--,o=a.getLineMaxColumn(c)):(d&&o<=d.end+1&&(d=_._findPreviousWordOnLine(t,a,new S.Position(c,d.start+1))),d?o=d.end+1:o>1?o=1:(c--,o=a.getLineMaxColumn(c))),new f.Range(c,o,r.lineNumber,r.column)}static deleteInsideWord(i,n,t){if(!t.isEmpty())return t;const a=new S.Position(t.positionLineNumber,t.positionColumn),u=this._deleteInsideWordWhitespace(n,a);return u||this._deleteInsideWordDetermineDeleteRange(i,n,a)}static _charAtIsWhitespace(i,n){const t=i.charCodeAt(n);return t===32||t===9}static _deleteInsideWordWhitespace(i,n){const t=i.getLineContent(n.lineNumber),a=t.length;if(a===0)return null;let u=Math.max(n.column-2,0);if(!this._charAtIsWhitespace(t,u))return null;let h=Math.min(n.column-1,a-1);if(!this._charAtIsWhitespace(t,h))return null;for(;u>0&&this._charAtIsWhitespace(t,u-1);)u--;for(;h+11?new f.Range(t.lineNumber-1,n.getLineMaxColumn(t.lineNumber-1),t.lineNumber,1):t.lineNumberl.start+1<=t.column&&t.column<=l.end+1,r=(l,p)=>(l=Math.min(l,t.column),p=Math.max(p,t.column),new f.Range(t.lineNumber,l,t.lineNumber,p)),c=l=>{let p=l.start+1,m=l.end+1,v=!1;for(;m-11&&this._charAtIsWhitespace(a,p-2);)p--;return r(p,m)},o=_._findPreviousWordOnLine(i,n,t);if(o&&h(o))return c(o);const d=_._findNextWordOnLine(i,n,t);return d&&h(d)?c(d):o&&d?r(o.end+1,d.start+1):o?r(o.start+1,o.end+1):d?r(d.start+1,d.end+1):r(1,u+1)}static _deleteWordPartLeft(i,n){if(!n.isEmpty())return n;const t=n.getPosition(),a=_._moveWordPartLeft(i,t);return new f.Range(t.lineNumber,t.column,a.lineNumber,a.column)}static _findFirstNonWhitespaceChar(i,n){const t=i.length;for(let a=n;a=p.start+1&&(p=_._findNextWordOnLine(t,a,new S.Position(c,p.end+1))),p?o=p.start+1:o!!i)}}),define(ne[205],se([1,0,20,74,203,178,12,5]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class _{static addCursorDown(s,i,n){const t=[];let a=0;for(let u=0,h=i.length;uc&&(o=c,d=s.model.getLineMaxColumn(o)),k.CursorState.fromModelState(new k.SingleCursorState(new f.Range(u.lineNumber,1,o,d),2,0,new S.Position(o,d),0))}const r=i.modelState.selectionStart.getStartPosition().lineNumber;if(u.lineNumberr){const c=s.getLineCount();let o=h.lineNumber+1,d=1;return o>c&&(o=c,d=s.getLineMaxColumn(o)),k.CursorState.fromViewState(i.viewState.move(!0,o,d,0))}else{const c=i.modelState.selectionStart.getEndPosition();return k.CursorState.fromModelState(i.modelState.move(!0,c.lineNumber,c.column,0))}}static word(s,i,n,t){const a=s.model.validatePosition(t);return k.CursorState.fromModelState(D.WordOperations.word(s.cursorConfig,s.model,i.modelState,n,a))}static cancelSelection(s,i){if(!i.modelState.hasSelection())return new k.CursorState(i.modelState,i.viewState);const n=i.viewState.position.lineNumber,t=i.viewState.position.column;return k.CursorState.fromViewState(new k.SingleCursorState(new f.Range(n,t,n,t),0,0,new S.Position(n,t),0))}static moveTo(s,i,n,t,a){if(n){if(i.modelState.selectionStartKind===1)return this.word(s,i,n,t);if(i.modelState.selectionStartKind===2)return this.line(s,i,n,t,a)}const u=s.model.validatePosition(t),h=a?s.coordinatesConverter.validateViewPosition(new S.Position(a.lineNumber,a.column),u):s.coordinatesConverter.convertModelPositionToViewPosition(u);return k.CursorState.fromViewState(i.viewState.move(n,h.lineNumber,h.column,0))}static simpleMove(s,i,n,t,a,u){switch(n){case 0:return u===4?this._moveHalfLineLeft(s,i,t):this._moveLeft(s,i,t,a);case 1:return u===4?this._moveHalfLineRight(s,i,t):this._moveRight(s,i,t,a);case 2:return u===2?this._moveUpByViewLines(s,i,t,a):this._moveUpByModelLines(s,i,t,a);case 3:return u===2?this._moveDownByViewLines(s,i,t,a):this._moveDownByModelLines(s,i,t,a);case 4:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 5:return u===2?i.map(h=>k.CursorState.fromViewState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s,h.viewState,t))):i.map(h=>k.CursorState.fromModelState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s.model,h.modelState,t)));case 6:return this._moveToViewMinColumn(s,i,t);case 7:return this._moveToViewFirstNonWhitespaceColumn(s,i,t);case 8:return this._moveToViewCenterColumn(s,i,t);case 9:return this._moveToViewMaxColumn(s,i,t);case 10:return this._moveToViewLastNonWhitespaceColumn(s,i,t);default:return null}}static viewportMove(s,i,n,t,a){const u=s.getCompletelyVisibleViewRange(),h=s.coordinatesConverter.convertViewRangeToModelRange(u);switch(n){case 11:{const r=this._firstLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 13:{const r=this._lastLineNumberInRange(s.model,h,a),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 12:{const r=Math.round((h.startLineNumber+h.endLineNumber)/2),c=s.model.getLineFirstNonWhitespaceColumn(r);return[this._moveToModelPosition(s,i[0],t,r,c)]}case 14:{const r=[];for(let c=0,o=i.length;cn.endLineNumber-1?u=n.endLineNumber-1:ak.CursorState.fromViewState(y.MoveOperations.moveLeft(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineLeft(s,i,n){const t=[];for(let a=0,u=i.length;ak.CursorState.fromViewState(y.MoveOperations.moveRight(s.cursorConfig,s,a.viewState,n,t)))}static _moveHalfLineRight(s,i,n){const t=[];for(let a=0,u=i.length;aC.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(C=>C.asCursorState())}getViewPositions(){return this.cursors.map(C=>C.viewState.position)}getTopMostViewPosition(){return(0,L.findMinBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,L.findLastMaxBy)(this.cursors,(0,L.compareBy)(C=>C.viewState.position,D.Position.compare)).viewState.position}getSelections(){return this.cursors.map(C=>C.modelState.selection)}getViewSelections(){return this.cursors.map(C=>C.viewState.selection)}setSelections(C){this.setStates(k.CursorState.fromModelSelections(C))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(C){C!==null&&(this.cursors[0].setState(this.context,C[0].modelState,C[0].viewState),this._setSecondaryStates(C.slice(1)))}_setSecondaryStates(C){const s=this.cursors.length-1,i=C.length;if(si){const n=s-i;for(let t=0;t=C+1&&this.lastAddedCursorIndex--,this.cursors[C+1].dispose(this.context),this.cursors.splice(C+1,1)}normalize(){if(this.cursors.length===1)return;const C=this.cursors.slice(0),s=[];for(let i=0,n=C.length;ii.selection,S.Range.compareRangesUsingStarts));for(let i=0;io&&m.index--;C.splice(o,1),s.splice(c,1),this._removeSecondaryCursor(o-1),i--}}}}e.CursorCollection=_}),define(ne[499],se([1,0,110]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class k{constructor(D){if(D.autoClosingPairs?this._autoClosingPairs=D.autoClosingPairs.map(S=>new L.StandardAutoClosingPairConditional(S)):D.brackets?this._autoClosingPairs=D.brackets.map(S=>new L.StandardAutoClosingPairConditional({open:S[0],close:S[1]})):this._autoClosingPairs=[],D.__electricCharacterSupport&&D.__electricCharacterSupport.docComment){const S=D.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new L.StandardAutoClosingPairConditional({open:S.open,close:S.close||""}))}this._autoCloseBeforeForQuotes=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=D.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(D){return D?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}e.CharacterPairSupport=k,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> - `,k.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> - `}),define(ne[500],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function L(y){return y.global&&(y.lastIndex=0),!0}class k{constructor(D){this._indentationRules=D}shouldIncrease(D){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&L(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(D))}shouldDecrease(D){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&L(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(D))}shouldIndentNextLine(D){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&L(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(D))}shouldIgnore(D){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&L(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(D))}getIndentMetadata(D){let S=0;return this.shouldIncrease(D)&&(S+=1),this.shouldDecrease(D)&&(S+=2),this.shouldIndentNextLine(D)&&(S+=4),this.shouldIgnore(D)&&(S+=8),S}}e.IndentRulesSupport=k}),define(ne[501],se([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(y,D,S,f,_){if(y&&D){const g=this.doNavigateValueSet(D,_);if(g)return{range:y,value:g}}if(S&&f){const g=this.doNavigateValueSet(f,_);if(g)return{range:S,value:g}}return null}doNavigateValueSet(y,D){const S=this.numberReplace(y,D);return S!==null?S:this.textReplace(y,D)}numberReplace(y,D){const S=Math.pow(10,y.length-(y.lastIndexOf(".")+1));let f=Number(y);const _=parseFloat(y);return!isNaN(f)&&!isNaN(_)&&f===_?f===0&&!D?null:(f=Math.floor(f*S),f+=D?S:-S,String(f/S)):null}textReplace(y,D){return this.valueSetsReplace(this._defaultValueSet,y,D)}valueSetsReplace(y,D,S){let f=null;for(let _=0,g=y.length;f===null&&_=0?(f+=S?1:-1,f<0?f=y.length-1:f%=y.length,y[f]):null}}e.BasicInplaceReplace=L,L.INSTANCE=new L}),define(ne[502],se([1,0,261]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClosingBracketKind=e.OpeningBracketKind=e.BracketKindBase=e.LanguageBracketsConfiguration=void 0;class k{constructor(g,C){this.languageId=g;const s=C.brackets?y(C.brackets):[],i=new L.CachedFunction(a=>{const u=new Set;return{info:new S(this,a,u),closing:u}}),n=new L.CachedFunction(a=>{const u=new Set,h=new Set;return{info:new f(this,a,u,h),opening:u,openingColorized:h}});for(const[a,u]of s){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.opening.add(h.info)}const t=C.colorizedBracketPairs?y(C.colorizedBracketPairs):s.filter(a=>!(a[0]==="<"&&a[1]===">"));for(const[a,u]of t){const h=i.get(a),r=n.get(u);h.closing.add(r.info),r.openingColorized.add(h.info),r.opening.add(h.info)}this._openingBrackets=new Map([...i.cachedValues].map(([a,u])=>[a,u.info])),this._closingBrackets=new Map([...n.cachedValues].map(([a,u])=>[a,u.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(g){return this._openingBrackets.get(g)}getClosingBracketInfo(g){return this._closingBrackets.get(g)}getBracketInfo(g){return this.getOpeningBracketInfo(g)||this.getClosingBracketInfo(g)}}e.LanguageBracketsConfiguration=k;function y(_){return _.filter(([g,C])=>g!==""&&C!=="")}class D{constructor(g,C){this.config=g,this.bracketText=C}get languageId(){return this.config.languageId}}e.BracketKindBase=D;class S extends D{constructor(g,C,s){super(g,C),this.openedBrackets=s,this.isOpeningBracket=!0}}e.OpeningBracketKind=S;class f extends D{constructor(g,C,s,i){super(g,C),this.openingBrackets=s,this.openingColorizedBrackets=i,this.isOpeningBracket=!1}closes(g){return g.config!==this.config?!1:this.openingBrackets.has(g)}closesColorized(g){return g.config!==this.config?!1:this.openingColorizedBrackets.has(g)}getOpeningBrackets(){return[...this.openingBrackets]}}e.ClosingBracketKind=f}),define(ne[503],se([1,0,9,11,110]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class D{constructor(f){f=f||{},f.brackets=f.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],f.brackets.forEach(_=>{const g=D._createOpenBracketRegExp(_[0]),C=D._createCloseBracketRegExp(_[1]);g&&C&&this._brackets.push({open:_[0],openRegExp:g,close:_[1],closeRegExp:C})}),this._regExpRules=f.onEnterRules||[]}onEnter(f,_,g,C){if(f>=3)for(let s=0,i=this._regExpRules.length;sa.reg?(a.reg.lastIndex=0,a.reg.test(a.text)):!0))return n.action}if(f>=2&&g.length>0&&C.length>0)for(let s=0,i=this._brackets.length;s=2&&g.length>0){for(let s=0,i=this._brackets.length;s{const w=s(v.token,b.token);return w!==0?w:v.index-b.index});let h=0,r="000000",c="ffffff";for(;a.length>=1&&a[0].token==="";){const v=a.shift();v.fontStyle!==-1&&(h=v.fontStyle),v.foreground!==null&&(r=v.foreground),v.background!==null&&(c=v.background)}const o=new f;for(const v of u)o.getId(v);const d=o.getId(r),l=o.getId(c),p=new i(h,d,l),m=new n(p);for(let v=0,b=a.length;v"u"){const c=this._match(h),o=C(h);r=(c.metadata|o<<8)>>>0,this._cache.set(h,r)}return(r|u<<0)>>>0}}e.TokenTheme=_;const g=/\b(comment|string|regex|regexp)\b/;function C(a){const u=a.match(g);if(!u)return 0;switch(u[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=C;function s(a,u){return au?1:0}e.strcmp=s;class i{constructor(u,h,r){this._themeTrieElementRuleBrand=void 0,this._fontStyle=u,this._foreground=h,this._background=r,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new i(this._fontStyle,this._foreground,this._background)}acceptOverwrite(u,h,r){u!==-1&&(this._fontStyle=u),h!==0&&(this._foreground=h),r!==0&&(this._background=r),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}e.ThemeTrieElementRule=i;class n{constructor(u){this._themeTrieElementBrand=void 0,this._mainRule=u,this._children=new Map}match(u){if(u==="")return this._mainRule;const h=u.indexOf(".");let r,c;h===-1?(r=u,c=""):(r=u.substring(0,h),c=u.substring(h+1));const o=this._children.get(r);return typeof o<"u"?o.match(c):this._mainRule}insert(u,h,r,c){if(u===""){this._mainRule.acceptOverwrite(h,r,c);return}const o=u.indexOf(".");let d,l;o===-1?(d=u,l=""):(d=u.substring(0,o),l=u.substring(o+1));let p=this._children.get(d);typeof p>"u"&&(p=new n(this._mainRule.clone()),this._children.set(d,p)),p.insert(l,h,r,c)}}e.ThemeTrieElement=n;function t(a){const u=[];for(let h=1,r=a.length;h=f&&(m=m-l%f),m}e.lengthAdd=i;function n(l,p){return l.reduce((m,v)=>i(m,p(v)),e.lengthZero)}e.sumLengths=n;function t(l,p){return l===p}e.lengthEquals=t;function a(l,p){const m=l,v=p;if(v-m<=0)return e.lengthZero;const w=Math.floor(m/f),E=Math.floor(v/f),I=v-E*f;if(w===E){const M=m-w*f;return _(0,I-M)}else return _(E-w,I)}e.lengthDiffNonNegative=a;function u(l,p){return l=p}e.lengthGreaterThanEqual=r;function c(l){return _(l.lineNumber-1,l.column-1)}e.positionToLength=c;function o(l,p){const m=l,v=Math.floor(m/f),b=m-v*f,w=p,E=Math.floor(w/f),I=w-E*f;return new k.Range(v+1,b+1,E+1,I+1)}e.lengthsToRange=o;function d(l){const p=(0,L.splitLines)(l);return _(p.length-1,p[p.length-1].length)}e.lengthOfString=d}),define(ne[179],se([1,0,5,91]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class y{static fromModelContentChanges(_){return _.map(C=>{const s=L.Range.lift(C.range);return new y((0,k.positionToLength)(s.getStartPosition()),(0,k.positionToLength)(s.getEndPosition()),(0,k.lengthOfString)(C.text))}).reverse()}constructor(_,g,C){this.startOffset=_,this.endOffset=g,this.newLength=C}toString(){return`[${(0,k.lengthToObj)(this.startOffset)}...${(0,k.lengthToObj)(this.endOffset)}) -> ${(0,k.lengthToObj)(this.newLength)}`}}e.TextEditInfo=y;class D{constructor(_){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=_.map(g=>S.from(g))}getOffsetBeforeChange(_){return this.adjustNextEdit(_),this.translateCurToOld(_)}getDistanceToNextChange(_){this.adjustNextEdit(_);const g=this.edits[this.nextEditIdx],C=g?this.translateOldToCur(g.offsetObj):null;return C===null?null:(0,k.lengthDiffNonNegative)(_,C)}translateOldToCur(_){return _.lineCount===this.deltaLineIdxInOld?(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount+this.deltaOldToNewColumnCount):(0,k.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount)}translateCurToOld(_){const g=(0,k.lengthToObj)(_);return g.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount-this.deltaOldToNewColumnCount):(0,k.toLength)(g.lineCount-this.deltaOldToNewLineCount,g.columnCount)}adjustNextEdit(_){for(;this.nextEditIdx!0)||[];return i&&c.unshift(i),c}const r=[];for(;i&&!(0,y.lengthIsZero)(h);){const[c,o]=i.splitAt(h);r.push(c),h=(0,y.lengthDiffNonNegative)(c.lengthAfter,h),i=o??C.dequeue()}return(0,y.lengthIsZero)(h)||r.push(new S(!1,h,h)),r}const t=[];function a(h,r,c){if(t.length>0&&(0,y.lengthEquals)(t[t.length-1].endOffset,h)){const o=t[t.length-1];t[t.length-1]=new k.TextEditInfo(o.startOffset,r,(0,y.lengthAdd)(o.newLength,c))}else t.push({startOffset:h,endOffset:r,newLength:c})}let u=y.lengthZero;for(const h of s){const r=n(h.lengthBefore);if(h.modified){const c=(0,y.sumLengths)(r,d=>d.lengthBefore),o=(0,y.lengthAdd)(u,c);a(u,o,h.lengthAfter),u=o}else for(const c of r){const o=u;u=(0,y.lengthAdd)(u,c.lengthBefore),c.modified&&a(o,u,c.lengthAfter)}}return t}e.combineTextEditInfos=D;class S{constructor(g,C,s){this.modified=g,this.lengthBefore=C,this.lengthAfter=s}splitAt(g){const C=(0,y.lengthDiffNonNegative)(g,this.lengthAfter);return(0,y.lengthEquals)(C,y.lengthZero)?[this,void 0]:this.modified?[new S(this.modified,this.lengthBefore,g),new S(this.modified,y.lengthZero,C)]:[new S(this.modified,g,g),new S(this.modified,C,C)]}toString(){return`${this.modified?"M":"U"}:${(0,y.lengthToObj)(this.lengthBefore)} -> ${(0,y.lengthToObj)(this.lengthAfter)}`}}function f(_){const g=[];let C=y.lengthZero;for(const s of _){const i=(0,y.lengthDiffNonNegative)(C,s.startOffset);(0,y.lengthIsZero)(i)||g.push(new S(!1,i,i));const n=(0,y.lengthDiffNonNegative)(s.startOffset,s.endOffset);g.push(new S(!0,n,s.newLength)),C=s.endOffset}return g}}),define(ne[505],se([1,0,91]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeReader=void 0;class k{constructor(f){this.lastOffset=L.lengthZero,this.nextNodes=[f],this.offsets=[L.lengthZero],this.idxs=[]}readLongestNodeAt(f,_){if((0,L.lengthLessThan)(f,this.lastOffset))throw new Error("Invalid offset");for(this.lastOffset=f;;){const g=D(this.nextNodes);if(!g)return;const C=D(this.offsets);if((0,L.lengthLessThan)(f,C))return;if((0,L.lengthLessThan)(C,f))if((0,L.lengthAdd)(C,g.length)<=f)this.nextNodeAfterCurrent();else{const s=y(g);s!==-1?(this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)):this.nextNodeAfterCurrent()}else{if(_(g))return this.nextNodeAfterCurrent(),g;{const s=y(g);if(s===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(g.getChild(s)),this.offsets.push(C),this.idxs.push(s)}}}}nextNodeAfterCurrent(){for(;;){const f=D(this.offsets),_=D(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const g=D(this.nextNodes),C=y(g,this.idxs[this.idxs.length-1]);if(C!==-1){this.nextNodes.push(g.getChild(C)),this.offsets.push((0,L.lengthAdd)(f,_.length)),this.idxs[this.idxs.length-1]=C;break}else this.idxs.pop()}}}e.NodeReader=k;function y(S,f=-1){for(;;){if(f++,f>=S.childrenLength)return-1;if(S.getChild(f))return f}}function D(S){return S.length>0?S[S.length-1]:void 0}}),define(ne[126],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const L=[];class k{static create(S,f){if(S<=128&&f.length===0){let _=k.cache[S];return _||(_=new k(S,f),k.cache[S]=_),_}return new k(S,f)}static getEmpty(){return this.empty}constructor(S,f){this.items=S,this.additionalItems=f}add(S,f){const _=f.getKey(S);let g=_>>5;if(g===0){const s=1<<_|this.items;return s===this.items?this:k.create(s,this.additionalItems)}g--;const C=this.additionalItems.slice(0);for(;C.length=g.length)return null;const a=C,u=g[a].listHeight;for(C++;C=2?y(a===0&&C===g.length?g:g.slice(a,C),!1):g[a]}let i=s(),n=s();if(!n)return i;for(let a=s();a;a=s())D(i,n)<=D(n,a)?(i=S(i,n),n=a):n=S(n,a);return S(i,n)}e.concat23Trees=k;function y(g,C=!1){if(g.length===0)return null;if(g.length===1)return g[0];let s=g.length;for(;s>3;){const i=s>>1;for(let n=0;n=3?g[2]:null,C)}e.concat23TreesOfSameHeight=y;function D(g,C){return Math.abs(g.listHeight-C.listHeight)}function S(g,C){return g.listHeight===C.listHeight?L.ListAstNode.create23(g,C,null,!1):g.listHeight>C.listHeight?f(g,C):_(C,g)}function f(g,C){g=g.toMutable();let s=g;const i=[];let n;for(;;){if(C.listHeight===s.listHeight){n=C;break}if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeLastElementMutable()}for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(a.unappendChild(),n,null,!1):(a.appendChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(g,n,null,!1):g}function _(g,C){g=g.toMutable();let s=g;const i=[];for(;C.listHeight!==s.listHeight;){if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeFirstElementMutable()}let n=C;for(let t=i.length-1;t>=0;t--){const a=i[t];n?a.childrenLength>=3?n=L.ListAstNode.create23(n,a.unprependChild(),null,!1):(a.prependChildOfSameHeight(n),n=void 0):a.handleChildrenChanged()}return n?L.ListAstNode.create23(n,g,null,!1):g}}),define(ne[279],se([1,0,180,179,126,91,506,505]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function _(C,s,i,n){return new g(C,s,i,n).parseDocument()}e.parseDocument=_;class g{constructor(s,i,n,t){if(this.tokenizer=s,this.createImmutableLists=t,this._itemsConstructed=0,this._itemsFromCache=0,n&&t)throw new Error("Not supported");this.oldNodeReader=n?new f.NodeReader(n):void 0,this.positionMapper=new k.BeforeEditPositionMapper(i)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let s=this.parseList(y.SmallImmutableSet.getEmpty(),0);return s||(s=L.ListAstNode.getEmpty()),s}parseList(s,i){const n=[];for(;;){let a=this.tryReadChildFromCache(s);if(!a){const u=this.tokenizer.peek();if(!u||u.kind===2&&u.bracketIds.intersects(s))break;a=this.parseChild(s,i+1)}a.kind===4&&a.childrenLength===0||n.push(a)}return this.oldNodeReader?(0,S.concat23Trees)(n):(0,S.concat23TreesOfSameHeight)(n,this.createImmutableLists)}tryReadChildFromCache(s){if(this.oldNodeReader){const i=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(i===null||!(0,D.lengthIsZero)(i)){const n=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),t=>i!==null&&!(0,D.lengthLessThan)(t.length,i)?!1:t.canBeReused(s));if(n)return this._itemsFromCache++,this.tokenizer.skip(n.length),n}}}parseChild(s,i){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:{if(i>300)return new L.TextAstNode(n.length);const t=s.merge(n.bracketIds),a=this.parseList(t,i+1),u=this.tokenizer.peek();return u&&u.kind===2&&(u.bracketId===n.bracketId||u.bracketIds.intersects(n.bracketIds))?(this.tokenizer.read(),L.PairAstNode.create(n.astNode,a,u.astNode)):L.PairAstNode.create(n.astNode,a,null)}default:throw new Error("unexpected")}}}}),define(ne[206],se([1,0,9,124,180,91,126]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FastTokenizer=e.TextBufferTokenizer=e.Token=void 0;class f{constructor(i,n,t,a,u){this.length=i,this.kind=n,this.bracketId=t,this.bracketIds=a,this.astNode=u}}e.Token=f;class _{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.reader=new g(this.textModel,this.bracketTokens),this._offset=D.lengthZero,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,D.toLength)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(i){this.didPeek=!1,this._offset=(0,D.lengthAdd)(this._offset,i);const n=(0,D.lengthToObj)(this._offset);this.reader.setPosition(n.lineCount,n.columnCount)}read(){let i;return this.peeked?(this.didPeek=!1,i=this.peeked):i=this.reader.read(),i&&(this._offset=(0,D.lengthAdd)(this._offset,i.length)),i}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}e.TextBufferTokenizer=_;class g{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}setPosition(i,n){i===this.lineIdx?(this.lineCharOffset=n,this.line!==null&&(this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=i,this.lineCharOffset=n,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const u=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,D.lengthGetColumnCountIfZeroLineCount)(u.length),u}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const i=this.lineIdx,n=this.lineCharOffset;let t=0;for(;;){const u=this.lineTokens,h=u.getCount();let r=null;if(this.lineTokenOffset1e3))break;if(t>1500)break}const a=(0,D.lengthDiff)(i,n,this.lineIdx,this.lineCharOffset);return new f(a,0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode(a))}}class C{constructor(i,n){this.text=i,this._offset=D.lengthZero,this.idx=0;const t=n.getRegExpStr(),a=t?new RegExp(t+`| -`,"gi"):null,u=[];let h,r=0,c=0,o=0,d=0;const l=[];for(let v=0;v<60;v++)l.push(new f((0,D.toLength)(0,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(0,v))));const p=[];for(let v=0;v<60;v++)p.push(new f((0,D.toLength)(1,v),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(1,v))));if(a)for(a.lastIndex=0;(h=a.exec(i))!==null;){const v=h.index,b=h[0];if(b===` -`)r++,c=v+1;else{if(o!==v){let w;if(d===r){const E=v-o;if(E_(i)).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const s=this.getRegExpStr();this._regExpGlobal=s?new RegExp(s,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(s){return this.map.get(s.toLowerCase())}findClosingTokenText(s){for(const[i,n]of this.map)if(n.kind===2&&n.bracketIds.intersects(s))return i}get isEmpty(){return this.map.size===0}}e.BracketTokens=f;function _(C){let s=(0,L.escapeRegExpCharacters)(C);return/^[\w ]+/.test(C)&&(s=`\\b${s}`),/[\w ]+$/.test(C)&&(s=`${s}\\b`),s}class g{constructor(s,i){this.denseKeyProvider=s,this.getLanguageConfiguration=i,this.languageIdToBracketTokens=new Map}didLanguageChange(s){return this.languageIdToBracketTokens.has(s)}getSingleLanguageBracketTokens(s){let i=this.languageIdToBracketTokens.get(s);return i||(i=f.createFromLanguage(this.getLanguageConfiguration(s),this.denseKeyProvider),this.languageIdToBracketTokens.set(s,i)),i}}e.LanguageAgnosticBracketTokens=g}),define(ne[507],se([1,0,280,91,279,126,206]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixBracketsInLine=void 0;function f(g,C){const s=new D.DenseKeyProvider,i=new L.LanguageAgnosticBracketTokens(s,r=>C.getLanguageConfiguration(r)),n=new S.TextBufferTokenizer(new _([g]),i),t=(0,y.parseDocument)(n,[],void 0,!0);let a="";const u=g.getLineContent();function h(r,c){if(r.kind===2)if(h(r.openingBracket,c),c=(0,k.lengthAdd)(c,r.openingBracket.length),r.child&&(h(r.child,c),c=(0,k.lengthAdd)(c,r.child.length)),r.closingBracket)h(r.closingBracket,c),c=(0,k.lengthAdd)(c,r.closingBracket.length);else{const d=i.getSingleLanguageBracketTokens(r.openingBracket.languageId).findClosingTokenText(r.openingBracket.bracketIds);a+=d}else if(r.kind!==3){if(r.kind===0||r.kind===1)a+=u.substring((0,k.lengthGetColumnCountIfZeroLineCount)(c),(0,k.lengthGetColumnCountIfZeroLineCount)((0,k.lengthAdd)(c,r.length)));else if(r.kind===4)for(const o of r.children)h(o,c),c=(0,k.lengthAdd)(c,o.length)}}return h(t,k.lengthZero),a}e.fixBracketsInLine=f;class _{constructor(C){this.lines=C,this.tokenization={getLineTokens:s=>this.lines[s-1]}}getLineCount(){return this.lines.length}getLineLength(C){return this.lines[C-1].getLineContent().length}}}),define(ne[508],se([1,0,14]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FixedArray=void 0;class k{constructor(S){this._default=S,this._store=[]}get(S){return S=this._store.length;)this._store[this._store.length]=this._default;this._store[S]=f}replace(S,f,_){if(S>=this._store.length)return;if(f===0){this.insert(S,_);return}else if(_===0){this.delete(S,f);return}const g=this._store.slice(0,S),C=this._store.slice(S+f),s=y(_,this._default);this._store=g.concat(s,C)}delete(S,f){f===0||S>=this._store.length||this._store.splice(S,f)}insert(S,f){if(f===0||S>=this._store.length)return;const _=[];for(let g=0;g0&&i>0||n>0&&t>0)return;const a=Math.abs(i-t),u=Math.abs(s-n);if(a===0){g.spacesDiff=u,u>0&&0<=n-1&&n-10?g++:v>1&&C++,k(s,i,d,m,u),u.looksLikeAlignment&&!(f&&S===u.spacesDiff)))continue;const w=u.spacesDiff;w<=t&&a[w]++,s=d,i=m}let h=f;g!==C&&(h=g{const d=a[o];d>c&&(c=d,r=o)}),r===4&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(r=2)}return{insertSpaces:h,tabSize:r}}e.guessIndentation=y}),define(ne[510],se([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(F){return(F.metadata&1)>>>0}e.getNodeColor=L;function k(F,O){F.metadata=F.metadata&254|O<<0}function y(F){return(F.metadata&2)>>>1===1}function D(F,O){F.metadata=F.metadata&253|(O?1:0)<<1}function S(F){return(F.metadata&4)>>>2===1}function f(F,O){F.metadata=F.metadata&251|(O?1:0)<<2}function _(F){return(F.metadata&64)>>>6===1}function g(F,O){F.metadata=F.metadata&191|(O?1:0)<<6}function C(F){return(F.metadata&24)>>>3}function s(F,O){F.metadata=F.metadata&231|O<<3}function i(F){return(F.metadata&32)>>>5===1}function n(F,O){F.metadata=F.metadata&223|(O?1:0)<<5}class t{constructor(O,W,U){this.metadata=0,this.parent=this,this.left=this,this.right=this,k(this,1),this.start=W,this.end=U,this.delta=0,this.maxEnd=U,this.id=O,this.ownerId=0,this.options=null,f(this,!1),g(this,!1),s(this,1),n(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=null,D(this,!1)}reset(O,W,U,j){this.start=W,this.end=U,this.maxEnd=U,this.cachedVersionId=O,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=U,this.range=j}setOptions(O){this.options=O;const W=this.options.className;f(this,W==="squiggly-error"||W==="squiggly-warning"||W==="squiggly-info"),g(this,this.options.glyphMarginClassName!==null),s(this,this.options.stickiness),n(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(O,W,U){this.cachedVersionId!==U&&(this.range=null),this.cachedVersionId=U,this.cachedAbsoluteStart=O,this.cachedAbsoluteEnd=W}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=t,e.SENTINEL=new t(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,k(e.SENTINEL,0);class a{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(O,W,U,j,R,K){return this.root===e.SENTINEL?[]:m(this,O,W,U,j,R,K)}search(O,W,U,j){return this.root===e.SENTINEL?[]:p(this,O,W,U,j)}collectNodesFromOwner(O){return d(this,O)}collectNodesPostOrder(){return l(this)}insert(O){v(this,O),this._normalizeDeltaIfNecessary()}delete(O){w(this,O),this._normalizeDeltaIfNecessary()}resolveNode(O,W){const U=O;let j=0;for(;O!==this.root;)O===O.parent.right&&(j+=O.parent.delta),O=O.parent;const R=U.start+j,K=U.end+j;U.setCachedOffsets(R,K,W)}acceptReplace(O,W,U,j){const R=c(this,O,O+W);for(let K=0,G=R.length;KW||U===1?!1:U===2?!0:O}function r(F,O,W,U,j){const R=C(F),K=R===0||R===2,G=R===1||R===2,Z=W-O,J=U,X=Math.min(Z,J),H=F.start;let B=!1;const V=F.end;let Y=!1;O<=H&&V<=W&&i(F)&&(F.start=O,B=!0,F.end=O,Y=!0);{const ae=j?1:Z>0?2:0;!B&&h(H,K,O,ae)&&(B=!0),!Y&&h(V,G,O,ae)&&(Y=!0)}if(X>0&&!j){const ae=Z>J?2:0;!B&&h(H,K,O+X,ae)&&(B=!0),!Y&&h(V,G,O+X,ae)&&(Y=!0)}{const ae=j?1:0;!B&&h(H,K,W,ae)&&(F.start=O+J,B=!0),!Y&&h(V,G,W,ae)&&(F.end=O+J,Y=!0)}const ie=J-Z;B||(F.start=Math.max(0,H+ie)),Y||(F.end=Math.max(0,V+ie)),F.start>F.end&&(F.end=F.start)}e.nodeAcceptEdit=r;function c(F,O,W){let U=F.root,j=0,R=0,K=0,G=0;const Z=[];let J=0;for(;U!==e.SENTINEL;){if(y(U)){D(U.left,!1),D(U.right,!1),U===U.parent.right&&(j-=U.parent.delta),U=U.parent;continue}if(!y(U.left)){if(R=j+U.maxEnd,RW){D(U,!0);continue}if(G=j+U.end,G>=O&&(U.setCachedOffsets(K,G,0),Z[J++]=U),D(U,!0),U.right!==e.SENTINEL&&!y(U.right)){j+=U.delta,U=U.right;continue}}return D(F.root,!1),Z}function o(F,O,W,U){let j=F.root,R=0,K=0,G=0;const Z=U-(W-O);for(;j!==e.SENTINEL;){if(y(j)){D(j.left,!1),D(j.right,!1),j===j.parent.right&&(R-=j.parent.delta),T(j),j=j.parent;continue}if(!y(j.left)){if(K=R+j.maxEnd,KW){j.start+=Z,j.end+=Z,j.delta+=Z,(j.delta<-1073741824||j.delta>1073741824)&&(F.requestNormalizeDelta=!0),D(j,!0);continue}if(D(j,!0),j.right!==e.SENTINEL&&!y(j.right)){R+=j.delta,j=j.right;continue}}D(F.root,!1)}function d(F,O){let W=F.root;const U=[];let j=0;for(;W!==e.SENTINEL;){if(y(W)){D(W.left,!1),D(W.right,!1),W=W.parent;continue}if(W.left!==e.SENTINEL&&!y(W.left)){W=W.left;continue}if(W.ownerId===O&&(U[j++]=W),D(W,!0),W.right!==e.SENTINEL&&!y(W.right)){W=W.right;continue}}return D(F.root,!1),U}function l(F){let O=F.root;const W=[];let U=0;for(;O!==e.SENTINEL;){if(y(O)){D(O.left,!1),D(O.right,!1),O=O.parent;continue}if(O.left!==e.SENTINEL&&!y(O.left)){O=O.left;continue}if(O.right!==e.SENTINEL&&!y(O.right)){O=O.right;continue}W[U++]=O,D(O,!0)}return D(F.root,!1),W}function p(F,O,W,U,j){let R=F.root,K=0,G=0,Z=0;const J=[];let X=0;for(;R!==e.SENTINEL;){if(y(R)){D(R.left,!1),D(R.right,!1),R===R.parent.right&&(K-=R.parent.delta),R=R.parent;continue}if(R.left!==e.SENTINEL&&!y(R.left)){R=R.left;continue}G=K+R.start,Z=K+R.end,R.setCachedOffsets(G,Z,U);let H=!0;if(O&&R.ownerId&&R.ownerId!==O&&(H=!1),W&&S(R)&&(H=!1),j&&!_(R)&&(H=!1),H&&(J[X++]=R),D(R,!0),R.right!==e.SENTINEL&&!y(R.right)){K+=R.delta,R=R.right;continue}}return D(F.root,!1),J}function m(F,O,W,U,j,R,K){let G=F.root,Z=0,J=0,X=0,H=0;const B=[];let V=0;for(;G!==e.SENTINEL;){if(y(G)){D(G.left,!1),D(G.right,!1),G===G.parent.right&&(Z-=G.parent.delta),G=G.parent;continue}if(!y(G.left)){if(J=Z+G.maxEnd,JW){D(G,!0);continue}if(H=Z+G.end,H>=O){G.setCachedOffsets(X,H,R);let Y=!0;U&&G.ownerId&&G.ownerId!==U&&(Y=!1),j&&S(G)&&(Y=!1),K&&!_(G)&&(Y=!1),Y&&(B[V++]=G)}if(D(G,!0),G.right!==e.SENTINEL&&!y(G.right)){Z+=G.delta,G=G.right;continue}}return D(F.root,!1),B}function v(F,O){if(F.root===e.SENTINEL)return O.parent=e.SENTINEL,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,0),F.root=O,F.root;b(F,O),A(O.parent);let W=O;for(;W!==F.root&&L(W.parent)===1;)if(W.parent===W.parent.parent.left){const U=W.parent.parent.right;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.right&&(W=W.parent,M(F,W)),k(W.parent,0),k(W.parent.parent,1),P(F,W.parent.parent))}else{const U=W.parent.parent.left;L(U)===1?(k(W.parent,0),k(U,0),k(W.parent.parent,1),W=W.parent.parent):(W===W.parent.left&&(W=W.parent,P(F,W)),k(W.parent,0),k(W.parent.parent,1),M(F,W.parent.parent))}return k(F.root,0),O}function b(F,O){let W=0,U=F.root;const j=O.start,R=O.end;for(;;)if(N(j,R,U.start+W,U.end+W)<0)if(U.left===e.SENTINEL){O.start-=W,O.end-=W,O.maxEnd-=W,U.left=O;break}else U=U.left;else if(U.right===e.SENTINEL){O.start-=W+U.delta,O.end-=W+U.delta,O.maxEnd-=W+U.delta,U.right=O;break}else W+=U.delta,U=U.right;O.parent=U,O.left=e.SENTINEL,O.right=e.SENTINEL,k(O,1)}function w(F,O){let W,U;if(O.left===e.SENTINEL?(W=O.right,U=O,W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta):O.right===e.SENTINEL?(W=O.left,U=O):(U=E(O.right),W=U.right,W.start+=U.delta,W.end+=U.delta,W.delta+=U.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),U.start+=O.delta,U.end+=O.delta,U.delta=O.delta,(U.delta<-1073741824||U.delta>1073741824)&&(F.requestNormalizeDelta=!0)),U===F.root){F.root=W,k(W,0),O.detach(),I(),T(W),F.root.parent=e.SENTINEL;return}const j=L(U)===1;if(U===U.parent.left?U.parent.left=W:U.parent.right=W,U===O?W.parent=U.parent:(U.parent===O?W.parent=U:W.parent=U.parent,U.left=O.left,U.right=O.right,U.parent=O.parent,k(U,L(O)),O===F.root?F.root=U:O===O.parent.left?O.parent.left=U:O.parent.right=U,U.left!==e.SENTINEL&&(U.left.parent=U),U.right!==e.SENTINEL&&(U.right.parent=U)),O.detach(),j){A(W.parent),U!==O&&(A(U),A(U.parent)),I();return}A(W),A(W.parent),U!==O&&(A(U),A(U.parent));let R;for(;W!==F.root&&L(W)===0;)W===W.parent.left?(R=W.parent.right,L(R)===1&&(k(R,0),k(W.parent,1),M(F,W.parent),R=W.parent.right),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.right)===0&&(k(R.left,0),k(R,1),P(F,R),R=W.parent.right),k(R,L(W.parent)),k(W.parent,0),k(R.right,0),M(F,W.parent),W=F.root)):(R=W.parent.left,L(R)===1&&(k(R,0),k(W.parent,1),P(F,W.parent),R=W.parent.left),L(R.left)===0&&L(R.right)===0?(k(R,1),W=W.parent):(L(R.left)===0&&(k(R.right,0),k(R,1),M(F,R),R=W.parent.left),k(R,L(W.parent)),k(W.parent,0),k(R.left,0),P(F,W.parent),W=F.root));k(W,0),I()}function E(F){for(;F.left!==e.SENTINEL;)F=F.left;return F}function I(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function M(F,O){const W=O.right;W.delta+=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(F.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta,O.right=W.left,W.left!==e.SENTINEL&&(W.left.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.left?O.parent.left=W:O.parent.right=W,W.left=O,O.parent=W,T(O),T(W)}function P(F,O){const W=O.left;O.delta-=W.delta,(O.delta<-1073741824||O.delta>1073741824)&&(F.requestNormalizeDelta=!0),O.start-=W.delta,O.end-=W.delta,O.left=W.right,W.right!==e.SENTINEL&&(W.right.parent=O),W.parent=O.parent,O.parent===e.SENTINEL?F.root=W:O===O.parent.right?O.parent.right=W:O.parent.left=W,W.right=O,O.parent=W,T(O),T(W)}function x(F){let O=F.end;if(F.left!==e.SENTINEL){const W=F.left.maxEnd;W>O&&(O=W)}if(F.right!==e.SENTINEL){const W=F.right.maxEnd+F.delta;W>O&&(O=W)}return O}function T(F){F.maxEnd=x(F)}e.recomputeMaxEnd=T;function A(F){for(;F!==e.SENTINEL;){const O=x(F);if(F.maxEnd===O)return;F.maxEnd=O,F=F.parent}}function N(F,O,W,U){return F===W?O-U:F-W}e.intervalCompare=N}),define(ne[511],se([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.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class L{constructor(a,u){this.piece=a,this.color=u,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return k(this.right);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.left!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.parent}prev(){if(this.left!==e.SENTINEL)return y(this.left);let a=this;for(;a.parent!==e.SENTINEL&&a.parent.right!==a;)a=a.parent;return a.parent===e.SENTINEL?e.SENTINEL:a.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 k(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}e.leftest=k;function y(t){for(;t.right!==e.SENTINEL;)t=t.right;return t}e.righttest=y;function D(t){return t===e.SENTINEL?0:t.size_left+t.piece.length+D(t.right)}function S(t){return t===e.SENTINEL?0:t.lf_left+t.piece.lineFeedCnt+S(t.right)}function f(){e.SENTINEL.parent=e.SENTINEL}function _(t,a){const u=a.right;u.size_left+=a.size_left+(a.piece?a.piece.length:0),u.lf_left+=a.lf_left+(a.piece?a.piece.lineFeedCnt:0),a.right=u.left,u.left!==e.SENTINEL&&(u.left.parent=a),u.parent=a.parent,a.parent===e.SENTINEL?t.root=u:a.parent.left===a?a.parent.left=u:a.parent.right=u,u.left=a,a.parent=u}e.leftRotate=_;function g(t,a){const u=a.left;a.left=u.right,u.right!==e.SENTINEL&&(u.right.parent=a),u.parent=a.parent,a.size_left-=u.size_left+(u.piece?u.piece.length:0),a.lf_left-=u.lf_left+(u.piece?u.piece.lineFeedCnt:0),a.parent===e.SENTINEL?t.root=u:a===a.parent.right?a.parent.right=u:a.parent.left=u,u.right=a,a.parent=u}e.rightRotate=g;function C(t,a){let u,h;if(a.left===e.SENTINEL?(h=a,u=h.right):a.right===e.SENTINEL?(h=a,u=h.left):(h=k(a.right),u=h.right),h===t.root){t.root=u,u.color=0,a.detach(),f(),t.root.parent=e.SENTINEL;return}const r=h.color===1;if(h===h.parent.left?h.parent.left=u:h.parent.right=u,h===a?(u.parent=h.parent,n(t,u)):(h.parent===a?u.parent=h:u.parent=h.parent,n(t,u),h.left=a.left,h.right=a.right,h.parent=a.parent,h.color=a.color,a===t.root?t.root=h:a===a.parent.left?a.parent.left=h:a.parent.right=h,h.left!==e.SENTINEL&&(h.left.parent=h),h.right!==e.SENTINEL&&(h.right.parent=h),h.size_left=a.size_left,h.lf_left=a.lf_left,n(t,h)),a.detach(),u.parent.left===u){const o=D(u),d=S(u);if(o!==u.parent.size_left||d!==u.parent.lf_left){const l=o-u.parent.size_left,p=d-u.parent.lf_left;u.parent.size_left=o,u.parent.lf_left=d,i(t,u.parent,l,p)}}if(n(t,u.parent),r){f();return}let c;for(;u!==t.root&&u.color===0;)u===u.parent.left?(c=u.parent.right,c.color===1&&(c.color=0,u.parent.color=1,_(t,u.parent),c=u.parent.right),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.right.color===0&&(c.left.color=0,c.color=1,g(t,c),c=u.parent.right),c.color=u.parent.color,u.parent.color=0,c.right.color=0,_(t,u.parent),u=t.root)):(c=u.parent.left,c.color===1&&(c.color=0,u.parent.color=1,g(t,u.parent),c=u.parent.left),c.left.color===0&&c.right.color===0?(c.color=1,u=u.parent):(c.left.color===0&&(c.right.color=0,c.color=1,_(t,c),c=u.parent.left),c.color=u.parent.color,u.parent.color=0,c.left.color=0,g(t,u.parent),u=t.root));u.color=0,f()}e.rbDelete=C;function s(t,a){for(n(t,a);a!==t.root&&a.parent.color===1;)if(a.parent===a.parent.parent.left){const u=a.parent.parent.right;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.right&&(a=a.parent,_(t,a)),a.parent.color=0,a.parent.parent.color=1,g(t,a.parent.parent))}else{const u=a.parent.parent.left;u.color===1?(a.parent.color=0,u.color=0,a.parent.parent.color=1,a=a.parent.parent):(a===a.parent.left&&(a=a.parent,g(t,a)),a.parent.color=0,a.parent.parent.color=1,_(t,a.parent.parent))}t.root.color=0}e.fixInsert=s;function i(t,a,u,h){for(;a!==t.root&&a!==e.SENTINEL;)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}e.updateTreeMetadata=i;function n(t,a){let u=0,h=0;if(a!==t.root){for(;a!==t.root&&a===a.parent.right;)a=a.parent;if(a!==t.root)for(a=a.parent,u=D(a.left)-a.size_left,h=S(a.left)-a.lf_left,a.size_left+=u,a.lf_left+=h;a!==t.root&&(u!==0||h!==0);)a.parent.left===a&&(a.parent.size_left+=u,a.parent.lf_left+=h),a=a.parent}}e.recomputeTreeMetadata=n}),define(ne[281],se([1,0,14,169]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class y{constructor(_){this.values=_,this.prefixSum=new Uint32Array(_.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(_,g){_=(0,k.toUint32)(_);const C=this.values,s=this.prefixSum,i=g.length;return i===0?!1:(this.values=new Uint32Array(C.length+i),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_),_+i),this.values.set(g,_),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(_,g){return _=(0,k.toUint32)(_),g=(0,k.toUint32)(g),this.values[_]===g?!1:(this.values[_]=g,_-1=C.length)return!1;const i=C.length-_;return g>=i&&(g=i),g===0?!1:(this.values=new Uint32Array(C.length-g),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_+g),_),this.prefixSum=new Uint32Array(this.values.length),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(_){return _<0?0:(_=(0,k.toUint32)(_),this._getPrefixSum(_))}_getPrefixSum(_){if(_<=this.prefixSumValidIndex[0])return this.prefixSum[_];let g=this.prefixSumValidIndex[0]+1;g===0&&(this.prefixSum[0]=this.values[0],g++),_>=this.values.length&&(_=this.values.length-1);for(let C=g;C<=_;C++)this.prefixSum[C]=this.prefixSum[C-1]+this.values[C];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],_),this.prefixSum[_]}getIndexOf(_){_=Math.floor(_),this.getTotalSum();let g=0,C=this.values.length-1,s=0,i=0,n=0;for(;g<=C;)if(s=g+(C-g)/2|0,i=this.prefixSum[s],n=i-this.values[s],_=i)g=s+1;else break;return new S(s,_-n)}}e.PrefixSumComputer=y;class D{constructor(_){this._values=_,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(_){return this._ensureValid(),_===0?0:this._prefixSum[_-1]}getIndexOf(_){this._ensureValid();const g=this._indexBySum[_],C=g>0?this._prefixSum[g-1]:0;return new S(g,_-C)}removeValues(_,g){this._values.splice(_,g),this._invalidate(_)}insertValues(_,g){this._values=(0,L.arrayInsert)(this._values,_,g),this._invalidate(_)}_invalidate(_){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,_-1)}_ensureValid(){if(!this._isValid){for(let _=this._validEndIndex+1,g=this._values.length;_0?this._prefixSum[_-1]:0;this._prefixSum[_]=s+C;for(let i=0;i=0;let c=null;try{c=L.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:r,global:!0,unicode:!0})}catch{return null}if(!c)return null;let o=!this.isRegex&&!r;return o&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(o=this.matchCase),new S.SearchData(c,this.wordSeparators?(0,k.getMapForWordSeparators)(this.wordSeparators):null,o?this.searchString:null)}}e.SearchParams=_;function g(h){if(!h||h.length===0)return!1;for(let r=0,c=h.length;r=c)break;const d=h.charCodeAt(r);if(d===110||d===114||d===87)return!0}}return!1}e.isMultilineRegexSource=g;function C(h,r,c){if(!c)return new S.FindMatch(h,null);const o=[];for(let d=0,l=r.length;d>0);c[l]>=r?d=l-1:c[l+1]>=r?(o=l,d=l):o=l+1}return o+1}}class i{static findMatches(r,c,o,d,l){const p=c.parseSearchRequest();return p?p.regex.multiline?this._doFindMatchesMultiline(r,o,new u(p.wordSeparators,p.regex),d,l):this._doFindMatchesLineByLine(r,o,p,d,l):[]}static _getMultilineMatchRange(r,c,o,d,l,p){let m,v=0;d?(v=d.findLineFeedCountBeforeOffset(l),m=c+l+v):m=c+l;let b;if(d){const M=d.findLineFeedCountBeforeOffset(l+p.length)-v;b=m+p.length+M}else b=m+p.length;const w=r.getPositionAt(m),E=r.getPositionAt(b);return new D.Range(w.lineNumber,w.column,E.lineNumber,E.column)}static _doFindMatchesMultiline(r,c,o,d,l){const p=r.getOffsetAt(c.getStartPosition()),m=r.getValueInRange(c,1),v=r.getEOL()===`\r -`?new s(m):null,b=[];let w=0,E;for(o.reset(0);E=o.next(m);)if(b[w++]=C(this._getMultilineMatchRange(r,p,m,v,E.index,E[0]),E,d),w>=l)return b;return b}static _doFindMatchesLineByLine(r,c,o,d,l){const p=[];let m=0;if(c.startLineNumber===c.endLineNumber){const b=r.getLineContent(c.startLineNumber).substring(c.startColumn-1,c.endColumn-1);return m=this._findMatchesInLine(o,b,c.startLineNumber,c.startColumn-1,m,p,d,l),p}const v=r.getLineContent(c.startLineNumber).substring(c.startColumn-1);m=this._findMatchesInLine(o,v,c.startLineNumber,c.startColumn-1,m,p,d,l);for(let b=c.startLineNumber+1;b=v))return l;return l}const w=new u(r.wordSeparators,r.regex);let E;w.reset(0);do if(E=w.next(c),E&&(p[l++]=C(new D.Range(o,E.index+1+d,o,E.index+1+E[0].length+d),E,m),l>=v))return l;while(E);return l}static findNextMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindNextMatchMultiline(r,o,p,d):this._doFindNextMatchLineByLine(r,o,p,d)}static _doFindNextMatchMultiline(r,c,o,d){const l=new y.Position(c.lineNumber,1),p=r.getOffsetAt(l),m=r.getLineCount(),v=r.getValueInRange(new D.Range(l.lineNumber,l.column,m,r.getLineMaxColumn(m)),1),b=r.getEOL()===`\r -`?new s(v):null;o.reset(c.column-1);const w=o.next(v);return w?C(this._getMultilineMatchRange(r,p,v,b,w.index,w[0]),w,d):c.lineNumber!==1||c.column!==1?this._doFindNextMatchMultiline(r,new y.Position(1,1),o,d):null}static _doFindNextMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p),v=this._findFirstMatchInLine(o,m,p,c.column,d);if(v)return v;for(let b=1;b<=l;b++){const w=(p+b-1)%l,E=r.getLineContent(w+1),I=this._findFirstMatchInLine(o,E,w+1,1,d);if(I)return I}return null}static _findFirstMatchInLine(r,c,o,d,l){r.reset(d-1);const p=r.next(c);return p?C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,l):null}static findPreviousMatch(r,c,o,d){const l=c.parseSearchRequest();if(!l)return null;const p=new u(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindPreviousMatchMultiline(r,o,p,d):this._doFindPreviousMatchLineByLine(r,o,p,d)}static _doFindPreviousMatchMultiline(r,c,o,d){const l=this._doFindMatchesMultiline(r,new D.Range(1,1,c.lineNumber,c.column),o,d,10*f);if(l.length>0)return l[l.length-1];const p=r.getLineCount();return c.lineNumber!==p||c.column!==r.getLineMaxColumn(p)?this._doFindPreviousMatchMultiline(r,new y.Position(p,r.getLineMaxColumn(p)),o,d):null}static _doFindPreviousMatchLineByLine(r,c,o,d){const l=r.getLineCount(),p=c.lineNumber,m=r.getLineContent(p).substring(0,c.column-1),v=this._findLastMatchInLine(o,m,p,d);if(v)return v;for(let b=1;b<=l;b++){const w=(l+p-b-1)%l,E=r.getLineContent(w+1),I=this._findLastMatchInLine(o,E,w+1,d);if(I)return I}return null}static _findLastMatchInLine(r,c,o,d){let l=null,p;for(r.reset(0);p=r.next(c);)l=C(new D.Range(o,p.index+1,o,p.index+1+p[0].length),p,d);return l}}e.TextModelSearch=i;function n(h,r,c,o,d){if(o===0)return!0;const l=r.charCodeAt(o-1);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o);if(h.get(p)!==0)return!0}return!1}function t(h,r,c,o,d){if(o+d===c)return!0;const l=r.charCodeAt(o+d);if(h.get(l)!==0||l===13||l===10)return!0;if(d>0){const p=r.charCodeAt(o+d-1);if(h.get(p)!==0)return!0}return!1}function a(h,r,c,o,d){return n(h,r,c,o,d)&&t(h,r,c,o,d)}e.isValidMatch=a;class u{constructor(r,c){this._wordSeparators=r,this._searchRegex=c,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(r){this._searchRegex.lastIndex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(r){const c=r.length;let o;do{if(this._prevMatchStartIndex+this._prevMatchLength===c||(o=this._searchRegex.exec(r),!o))return null;const d=o.index,l=o[0].length;if(d===this._prevMatchStartIndex&&l===this._prevMatchLength){if(l===0){L.getNextCodePoint(r,c,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=d,this._prevMatchLength=l,!this._wordSeparators||a(this._wordSeparators,r,c,d,l))return o}while(o);return null}}e.Searcher=u}),define(ne[283],se([1,0,12,5,48,511,181]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeBase=e.StringBuffer=e.Piece=e.createLineStarts=e.createLineStartsFast=void 0;const f=65535;function _(h){let r;return h[h.length-1]<65536?r=new Uint16Array(h.length):r=new Uint32Array(h.length),r.set(h,0),r}class g{constructor(r,c,o,d,l){this.lineStarts=r,this.cr=c,this.lf=o,this.crlf=d,this.isBasicASCII=l}}function C(h,r=!0){const c=[0];let o=1;for(let d=0,l=h.length;d126)&&(p=!1)}const m=new g(_(h),o,d,l,p);return h.length=0,m}e.createLineStarts=s;class i{constructor(r,c,o,d,l){this.bufferIndex=r,this.start=c,this.end=o,this.lineFeedCnt=d,this.length=l}}e.Piece=i;class n{constructor(r,c){this.buffer=r,this.lineStarts=c}}e.StringBuffer=n;class t{constructor(r,c){this._pieces=[],this._tree=r,this._BOM=c,this._index=0,r.root!==D.SENTINEL&&r.iterate(r.root,o=>(o!==D.SENTINEL&&this._pieces.push(o.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class a{constructor(r){this._limit=r,this._cache=[]}get(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartOffset<=r&&o.nodeStartOffset+o.node.piece.length>=r)return o}return null}get2(r){for(let c=this._cache.length-1;c>=0;c--){const o=this._cache[c];if(o.nodeStartLineNumber&&o.nodeStartLineNumber=r)return o}return null}set(r){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(r)}validate(r){let c=!1;const o=this._cache;for(let d=0;d=r){o[d]=null,c=!0;continue}}if(c){const d=[];for(const l of o)l!==null&&d.push(l);this._cache=d}}}class u{constructor(r,c,o){this.create(r,c,o)}create(r,c,o){this._buffers=[new n("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=D.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=c,this._EOLLength=c.length,this._EOLNormalized=o;let d=null;for(let l=0,p=r.length;l0){r[l].lineStarts||(r[l].lineStarts=C(r[l].buffer));const m=new i(l+1,{line:0,column:0},{line:r[l].lineStarts.length-1,column:r[l].buffer.length-r[l].lineStarts[r[l].lineStarts.length-1]},r[l].lineStarts.length-1,r[l].buffer.length);this._buffers.push(r[l]),d=this.rbInsertRight(d,m)}this._searchCache=new a(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(r){const c=f,o=c-Math.floor(c/3),d=o*2;let l="",p=0;const m=[];if(this.iterate(this.root,v=>{const b=this.getNodeContent(v),w=b.length;if(p<=o||p+w0){const v=l.replace(/\r\n|\r|\n/g,r);m.push(new n(v,C(v)))}this.create(m,r,!0)}getEOL(){return this._EOL}setEOL(r){this._EOL=r,this._EOLLength=this._EOL.length,this.normalizeEOL(r)}createSnapshot(r){return new t(this,r)}getOffsetAt(r,c){let o=0,d=this.root;for(;d!==D.SENTINEL;)if(d.left!==D.SENTINEL&&d.lf_left+1>=r)d=d.left;else if(d.lf_left+d.piece.lineFeedCnt+1>=r){o+=d.size_left;const l=this.getAccumulatedValue(d,r-d.lf_left-2);return o+=l+c-1}else r-=d.lf_left+d.piece.lineFeedCnt,o+=d.size_left+d.piece.length,d=d.right;return o}getPositionAt(r){r=Math.floor(r),r=Math.max(0,r);let c=this.root,o=0;const d=r;for(;c!==D.SENTINEL;)if(c.size_left!==0&&c.size_left>=r)c=c.left;else if(c.size_left+c.piece.length>=r){const l=this.getIndexOf(c,r-c.size_left);if(o+=c.lf_left+l.index,l.index===0){const p=this.getOffsetAt(o+1,1),m=d-p;return new L.Position(o+1,m+1)}return new L.Position(o+1,l.remainder+1)}else if(r-=c.size_left+c.piece.length,o+=c.lf_left+c.piece.lineFeedCnt,c.right===D.SENTINEL){const l=this.getOffsetAt(o+1,1),p=d-r-l;return new L.Position(o+1,p+1)}else c=c.right;return new L.Position(1,1)}getValueInRange(r,c){if(r.startLineNumber===r.endLineNumber&&r.startColumn===r.endColumn)return"";const o=this.nodeAt2(r.startLineNumber,r.startColumn),d=this.nodeAt2(r.endLineNumber,r.endColumn),l=this.getValueInRange2(o,d);return c?c!==this._EOL||!this._EOLNormalized?l.replace(/\r\n|\r|\n/g,c):c===this.getEOL()&&this._EOLNormalized?l:l.replace(/\r\n|\r|\n/g,c):l}getValueInRange2(r,c){if(r.node===c.node){const m=r.node,v=this._buffers[m.piece.bufferIndex].buffer,b=this.offsetInBuffer(m.piece.bufferIndex,m.piece.start);return v.substring(b+r.remainder,b+c.remainder)}let o=r.node;const d=this._buffers[o.piece.bufferIndex].buffer,l=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);let p=d.substring(l+r.remainder,l+o.piece.length);for(o=o.next();o!==D.SENTINEL;){const m=this._buffers[o.piece.bufferIndex].buffer,v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===c.node){p+=m.substring(v,v+c.remainder);break}else p+=m.substr(v,o.piece.length);o=o.next()}return p}getLinesContent(){const r=[];let c=0,o="",d=!1;return this.iterate(this.root,l=>{if(l===D.SENTINEL)return!0;const p=l.piece;let m=p.length;if(m===0)return!0;const v=this._buffers[p.bufferIndex].buffer,b=this._buffers[p.bufferIndex].lineStarts,w=p.start.line,E=p.end.line;let I=b[w]+p.start.column;if(d&&(v.charCodeAt(I)===10&&(I++,m--),r[c++]=o,o="",d=!1,m===0))return!0;if(w===E)return!this._EOLNormalized&&v.charCodeAt(I+m-1)===13?(d=!0,o+=v.substr(I,m-1)):o+=v.substr(I,m),!0;o+=this._EOLNormalized?v.substring(I,Math.max(I,b[w+1]-this._EOLLength)):v.substring(I,b[w+1]).replace(/(\r\n|\r|\n)$/,""),r[c++]=o;for(let M=w+1;MO+P,c.reset(0)):(N=I.buffer,F=O=>O,c.reset(P));do if(T=c.next(N),T){if(F(T.index)>=x)return w;this.positionInBuffer(r,F(T.index)-M,A);const O=this.getLineFeedCnt(r.piece.bufferIndex,l,A),W=A.line===l.line?A.column-l.column+d:A.column+1,U=W+T[0].length;if(E[w++]=(0,S.createFindMatch)(new k.Range(o+O,W,o+O,U),T,v),F(T.index)+T[0].length>=x||w>=b)return w}while(T);return w}findMatchesLineByLine(r,c,o,d){const l=[];let p=0;const m=new S.Searcher(c.wordSeparators,c.regex);let v=this.nodeAt2(r.startLineNumber,r.startColumn);if(v===null)return[];const b=this.nodeAt2(r.endLineNumber,r.endColumn);if(b===null)return[];let w=this.positionInBuffer(v.node,v.remainder);const E=this.positionInBuffer(b.node,b.remainder);if(v.node===b.node)return this.findMatchesInNode(v.node,m,r.startLineNumber,r.startColumn,w,E,c,o,d,p,l),l;let I=r.startLineNumber,M=v.node;for(;M!==b.node;){const x=this.getLineFeedCnt(M.piece.bufferIndex,w,M.piece.end);if(x>=1){const A=this._buffers[M.piece.bufferIndex].lineStarts,N=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start),F=A[w.line+x],O=I===r.startLineNumber?r.startColumn:1;if(p=this.findMatchesInNode(M,m,I,O,w,this.positionInBuffer(M,F-N),c,o,d,p,l),p>=d)return l;I+=x}const T=I===r.startLineNumber?r.startColumn-1:0;if(I===r.endLineNumber){const A=this.getLineContent(I).substring(T,r.endColumn-1);return p=this._findMatchesInLine(c,m,A,r.endLineNumber,T,p,l,o,d),l}if(p=this._findMatchesInLine(c,m,this.getLineContent(I).substr(T),I,T,p,l,o,d),p>=d)return l;I++,v=this.nodeAt2(I,1),M=v.node,w=this.positionInBuffer(v.node,v.remainder)}if(I===r.endLineNumber){const x=I===r.startLineNumber?r.startColumn-1:0,T=this.getLineContent(I).substring(x,r.endColumn-1);return p=this._findMatchesInLine(c,m,T,r.endLineNumber,x,p,l,o,d),l}const P=I===r.startLineNumber?r.startColumn:1;return p=this.findMatchesInNode(b.node,m,I,P,w,E,c,o,d,p,l),l}_findMatchesInLine(r,c,o,d,l,p,m,v,b){const w=r.wordSeparators;if(!v&&r.simpleSearch){const I=r.simpleSearch,M=I.length,P=o.length;let x=-M;for(;(x=o.indexOf(I,x+M))!==-1;)if((!w||(0,S.isValidMatch)(w,o,P,x,M))&&(m[p++]=new y.FindMatch(new k.Range(d,x+1+l,d,x+1+M+l),null),p>=b))return p;return p}let E;c.reset(0);do if(E=c.next(o),E&&(m[p++]=(0,S.createFindMatch)(new k.Range(d,E.index+1+l,d,E.index+1+E[0].length+l),E,v),p>=b))return p;while(E);return p}insert(r,c,o=!1){if(this._EOLNormalized=this._EOLNormalized&&o,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==D.SENTINEL){const{node:d,remainder:l,nodeStartOffset:p}=this.nodeAt(r),m=d.piece,v=m.bufferIndex,b=this.positionInBuffer(d,l);if(d.piece.bufferIndex===0&&m.end.line===this._lastChangeBufferPos.line&&m.end.column===this._lastChangeBufferPos.column&&p+m.length===r&&c.lengthr){const w=[];let E=new i(m.bufferIndex,b,m.end,this.getLineFeedCnt(m.bufferIndex,b,m.end),this.offsetInBuffer(v,m.end)-this.offsetInBuffer(v,b));if(this.shouldCheckCRLF()&&this.endWithCR(c)&&this.nodeCharCodeAt(d,l)===10){const x={line:E.start.line+1,column:0};E=new i(E.bufferIndex,x,E.end,this.getLineFeedCnt(E.bufferIndex,x,E.end),E.length-1),c+=` -`}if(this.shouldCheckCRLF()&&this.startWithLF(c))if(this.nodeCharCodeAt(d,l-1)===13){const x=this.positionInBuffer(d,l-1);this.deleteNodeTail(d,x),c="\r"+c,d.piece.length===0&&w.push(d)}else this.deleteNodeTail(d,b);else this.deleteNodeTail(d,b);const I=this.createNewPieces(c);E.length>0&&this.rbInsertRight(d,E);let M=d;for(let P=0;P=0;p--)l=this.rbInsertLeft(l,d[p]);this.validateCRLFWithPrevNode(l),this.deleteNodes(o)}insertContentToNodeRight(r,c){this.adjustCarriageReturnFromNext(r,c)&&(r+=` -`);const o=this.createNewPieces(r),d=this.rbInsertRight(c,o[0]);let l=d;for(let p=1;p=I)b=E+1;else break;return o?(o.line=E,o.column=v-M,null):{line:E,column:v-M}}getLineFeedCnt(r,c,o){if(o.column===0)return o.line-c.line;const d=this._buffers[r].lineStarts;if(o.line===d.length-1)return o.line-c.line;const l=d[o.line+1],p=d[o.line]+o.column;if(l>p+1)return o.line-c.line;const m=p-1;return this._buffers[r].buffer.charCodeAt(m)===13?o.line-c.line+1:o.line-c.line}offsetInBuffer(r,c){return this._buffers[r].lineStarts[c.line]+c.column}deleteNodes(r){for(let c=0;cf){const w=[];for(;r.length>f;){const I=r.charCodeAt(f-1);let M;I===13||I>=55296&&I<=56319?(M=r.substring(0,f-1),r=r.substring(f-1)):(M=r.substring(0,f),r=r.substring(f));const P=C(M);w.push(new i(this._buffers.length,{line:0,column:0},{line:P.length-1,column:M.length-P[P.length-1]},P.length-1,M.length)),this._buffers.push(new n(M,P))}const E=C(r);return w.push(new i(this._buffers.length,{line:0,column:0},{line:E.length-1,column:r.length-E[E.length-1]},E.length-1,r.length)),this._buffers.push(new n(r,E)),w}let c=this._buffers[0].buffer.length;const o=C(r,!1);let d=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===c&&c!==0&&this.startWithLF(r)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},d=this._lastChangeBufferPos;for(let w=0;w=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this.getAccumulatedValue(o,r-o.lf_left-1),w=this._buffers[o.piece.bufferIndex].buffer,E=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return p+=o.size_left,this._searchCache.set({node:o,nodeStartOffset:p,nodeStartLineNumber:m-(r-1-o.lf_left)}),w.substring(E+v,E+b-c)}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const v=this.getAccumulatedValue(o,r-o.lf_left-2),b=this._buffers[o.piece.bufferIndex].buffer,w=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d=b.substring(w+v,w+o.piece.length);break}else r-=o.lf_left+o.piece.lineFeedCnt,p+=o.size_left+o.piece.length,o=o.right}for(o=o.next();o!==D.SENTINEL;){const p=this._buffers[o.piece.bufferIndex].buffer;if(o.piece.lineFeedCnt>0){const m=this.getAccumulatedValue(o,0),v=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return d+=p.substring(v,v+m-c),d}else{const m=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);d+=p.substr(m,o.piece.length)}o=o.next()}return d}computeBufferMetadata(){let r=this.root,c=1,o=0;for(;r!==D.SENTINEL;)c+=r.lf_left+r.piece.lineFeedCnt,o+=r.size_left+r.piece.length,r=r.right;this._lineCnt=c,this._length=o,this._searchCache.validate(this._length)}getIndexOf(r,c){const o=r.piece,d=this.positionInBuffer(r,c),l=d.line-o.start.line;if(this.offsetInBuffer(o.bufferIndex,o.end)-this.offsetInBuffer(o.bufferIndex,o.start)===c){const p=this.getLineFeedCnt(r.piece.bufferIndex,o.start,d);if(p!==l)return{index:p,remainder:0}}return{index:l,remainder:d.column}}getAccumulatedValue(r,c){if(c<0)return 0;const o=r.piece,d=this._buffers[o.bufferIndex].lineStarts,l=o.start.line+c+1;return l>o.end.line?d[o.end.line]+o.end.column-d[o.start.line]-o.start.column:d[l]-d[o.start.line]-o.start.column}deleteNodeTail(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.end),p=c,m=this.offsetInBuffer(o.bufferIndex,p),v=this.getLineFeedCnt(o.bufferIndex,o.start,p),b=v-d,w=m-l,E=o.length+w;r.piece=new i(o.bufferIndex,o.start,p,v,E),(0,D.updateTreeMetadata)(this,r,w,b)}deleteNodeHead(r,c){const o=r.piece,d=o.lineFeedCnt,l=this.offsetInBuffer(o.bufferIndex,o.start),p=c,m=this.getLineFeedCnt(o.bufferIndex,p,o.end),v=this.offsetInBuffer(o.bufferIndex,p),b=m-d,w=l-v,E=o.length+w;r.piece=new i(o.bufferIndex,p,o.end,m,E),(0,D.updateTreeMetadata)(this,r,w,b)}shrinkNode(r,c,o){const d=r.piece,l=d.start,p=d.end,m=d.length,v=d.lineFeedCnt,b=c,w=this.getLineFeedCnt(d.bufferIndex,d.start,b),E=this.offsetInBuffer(d.bufferIndex,c)-this.offsetInBuffer(d.bufferIndex,l);r.piece=new i(d.bufferIndex,d.start,b,w,E),(0,D.updateTreeMetadata)(this,r,E-m,w-v);const I=new i(d.bufferIndex,o,p,this.getLineFeedCnt(d.bufferIndex,o,p),this.offsetInBuffer(d.bufferIndex,p)-this.offsetInBuffer(d.bufferIndex,o)),M=this.rbInsertRight(r,I);this.validateCRLFWithPrevNode(M)}appendToNode(r,c){this.adjustCarriageReturnFromNext(c,r)&&(c+=` -`);const o=this.shouldCheckCRLF()&&this.startWithLF(c)&&this.endWithCR(r),d=this._buffers[0].buffer.length;this._buffers[0].buffer+=c;const l=C(c,!1);for(let M=0;Mr)c=c.left;else if(c.size_left+c.piece.length>=r){d+=c.size_left;const l={node:c,remainder:r-c.size_left,nodeStartOffset:d};return this._searchCache.set(l),l}else r-=c.size_left+c.piece.length,d+=c.size_left+c.piece.length,c=c.right;return null}nodeAt2(r,c){let o=this.root,d=0;for(;o!==D.SENTINEL;)if(o.left!==D.SENTINEL&&o.lf_left>=r-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2),p=this.getAccumulatedValue(o,r-o.lf_left-1);return d+=o.size_left,{node:o,remainder:Math.min(l+c-1,p),nodeStartOffset:d}}else if(o.lf_left+o.piece.lineFeedCnt===r-1){const l=this.getAccumulatedValue(o,r-o.lf_left-2);if(l+c-1<=o.piece.length)return{node:o,remainder:l+c-1,nodeStartOffset:d};c-=o.piece.length-l;break}else r-=o.lf_left+o.piece.lineFeedCnt,d+=o.size_left+o.piece.length,o=o.right;for(o=o.next();o!==D.SENTINEL;){if(o.piece.lineFeedCnt>0){const l=this.getAccumulatedValue(o,0),p=this.offsetOfNode(o);return{node:o,remainder:Math.min(c-1,l),nodeStartOffset:p}}else if(o.piece.length>=c-1){const l=this.offsetOfNode(o);return{node:o,remainder:c-1,nodeStartOffset:l}}else c-=o.piece.length;o=o.next()}return null}nodeCharCodeAt(r,c){if(r.piece.lineFeedCnt<1)return-1;const o=this._buffers[r.piece.bufferIndex],d=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start)+c;return o.buffer.charCodeAt(d)}offsetOfNode(r){if(!r)return 0;let c=r.size_left;for(;r!==this.root;)r.parent.right===r&&(c+=r.parent.size_left+r.parent.piece.length),r=r.parent;return c}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===` -`)}startWithLF(r){if(typeof r=="string")return r.charCodeAt(0)===10;if(r===D.SENTINEL||r.piece.lineFeedCnt===0)return!1;const c=r.piece,o=this._buffers[c.bufferIndex].lineStarts,d=c.start.line,l=o[d]+c.start.column;return d===o.length-1||o[d+1]>l+1?!1:this._buffers[c.bufferIndex].buffer.charCodeAt(l)===10}endWithCR(r){return typeof r=="string"?r.charCodeAt(r.length-1)===13:r===D.SENTINEL||r.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(r,r.piece.length-1)===13}validateCRLFWithPrevNode(r){if(this.shouldCheckCRLF()&&this.startWithLF(r)){const c=r.prev();this.endWithCR(c)&&this.fixCRLF(c,r)}}validateCRLFWithNextNode(r){if(this.shouldCheckCRLF()&&this.endWithCR(r)){const c=r.next();this.startWithLF(c)&&this.fixCRLF(r,c)}}fixCRLF(r,c){const o=[],d=this._buffers[r.piece.bufferIndex].lineStarts;let l;r.piece.end.column===0?l={line:r.piece.end.line-1,column:d[r.piece.end.line]-d[r.piece.end.line-1]-1}:l={line:r.piece.end.line,column:r.piece.end.column-1};const p=r.piece.length-1,m=r.piece.lineFeedCnt-1;r.piece=new i(r.piece.bufferIndex,r.piece.start,l,m,p),(0,D.updateTreeMetadata)(this,r,-1,-1),r.piece.length===0&&o.push(r);const v={line:c.piece.start.line+1,column:0},b=c.piece.length-1,w=this.getLineFeedCnt(c.piece.bufferIndex,v,c.piece.end);c.piece=new i(c.piece.bufferIndex,v,c.piece.end,w,b),(0,D.updateTreeMetadata)(this,c,-1,-1),c.piece.length===0&&o.push(c);const E=this.createNewPieces(`\r -`);this.rbInsertRight(r,E[0]);for(let I=0;I0?this.wrappedTextIndentLength:0}getLineLength(s){const i=s>0?this.breakOffsets[s-1]:0;let t=this.breakOffsets[s]-i;return s>0&&(t+=this.wrappedTextIndentLength),t}getMaxOutputOffset(s){return this.getLineLength(s)}translateToInputOffset(s,i){s>0&&(i=Math.max(0,i-this.wrappedTextIndentLength));let t=s===0?i:this.breakOffsets[s-1]+i;if(this.injectionOffsets!==null)for(let a=0;athis.injectionOffsets[a];a++)t0?this.breakOffsets[a-1]:0,i===0)if(s<=u)t=a-1;else if(s>r)n=a+1;else break;else if(s=r)n=a+1;else break}let h=s-u;return a>0&&(h+=this.wrappedTextIndentLength),new g(a,h)}normalizeOutputPosition(s,i,n){if(this.injectionOffsets!==null){const t=this.outputPositionToOffsetInInputWithInjections(s,i),a=this.normalizeOffsetInInputWithInjectionsAroundInjections(t,n);if(a!==t)return this.offsetInInputWithInjectionsToOutputPosition(a,n)}if(n===0){if(s>0&&i===this.getMinOutputOffset(s))return new g(s-1,this.getMaxOutputOffset(s-1))}else if(n===1){const t=this.getOutputLineCount()-1;if(s0&&(i=Math.max(0,i-this.wrappedTextIndentLength)),(s>0?this.breakOffsets[s-1]:0)+i}normalizeOffsetInInputWithInjectionsAroundInjections(s,i){const n=this.getInjectedTextAtOffset(s);if(!n)return s;if(i===2){if(s===n.offsetInInputWithInjections+n.length&&S(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let t=n.offsetInInputWithInjections;if(f(this.injectionOptions[n.injectedTextIndex].cursorStops))return t;let a=n.injectedTextIndex-1;for(;a>=0&&this.injectionOffsets[a]===this.injectionOffsets[n.injectedTextIndex]&&!(S(this.injectionOptions[a].cursorStops)||(t-=this.injectionOptions[a].content.length,f(this.injectionOptions[a].cursorStops)));)a--;return t}}else if(i===1||i===4){let t=n.offsetInInputWithInjections+n.length,a=n.injectedTextIndex;for(;a+1=0&&this.injectionOffsets[a-1]===this.injectionOffsets[a];)t-=this.injectionOptions[a-1].content.length,a--;return t}(0,L.assertNever)(i)}getInjectedText(s,i){const n=this.outputPositionToOffsetInInputWithInjections(s,i),t=this.getInjectedTextAtOffset(n);return t?{options:this.injectionOptions[t.injectedTextIndex]}:null}getInjectedTextAtOffset(s){const i=this.injectionOffsets,n=this.injectionOptions;if(i!==null){let t=0;for(let a=0;as)break;if(s<=r)return{injectedTextIndex:a,offsetInInputWithInjections:h,length:u};t+=u}}}}e.ModelLineProjectionData=D;function S(C){return C==null?!0:C===y.InjectedTextCursorStops.Right||C===y.InjectedTextCursorStops.Both}function f(C){return C==null?!0:C===y.InjectedTextCursorStops.Left||C===y.InjectedTextCursorStops.Both}class _{constructor(s){this.options=s}}e.InjectedText=_;class g{constructor(s,i){this.outputLineIndex=s,this.outputOffset=i}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(s){return new k.Position(s+this.outputLineIndex,this.outputOffset+1)}}e.OutputPosition=g}),define(ne[285],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DraggedTreeItemsIdentifier=e.TreeViewsDnDService=void 0;class L{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(D){if(D&&this._dragOperations.has(D)){const S=this._dragOperations.get(D);return this._dragOperations.delete(D),S}}}e.TreeViewsDnDService=L;class k{constructor(D){this.identifier=D}}e.DraggedTreeItemsIdentifier=k}),define(ne[286],se([1,0,5,181,11,85,147]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeTextModelHighlighter=void 0;class f{static computeUnicodeHighlights(i,n,t){const a=t?t.startLineNumber:1,u=t?t.endLineNumber:i.getLineCount(),h=new g(n),r=h.getCandidateCodePoints();let c;r==="allNonBasicAscii"?c=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):c=new RegExp(`${_(Array.from(r))}`,"g");const o=new k.Searcher(null,c),d=[];let l=!1,p,m=0,v=0,b=0;e:for(let w=a,E=u;w<=E;w++){const I=i.getLineContent(w),M=I.length;o.reset(0);do if(p=o.next(I),p){let P=p.index,x=p.index+p[0].length;if(P>0){const F=I.charCodeAt(P-1);y.isHighSurrogate(F)&&P--}if(x+1=F){l=!0;break e}d.push(new L.Range(w,P+1,w,x+1))}}while(p)}return{ranges:d,hasMore:l,ambiguousCharacterCount:m,invisibleCharacterCount:v,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(i,n){const t=new g(n);switch(t.shouldHighlightNonBasicASCII(i,null)){case 0:return null;case 2:return{kind:1};case 3:{const u=i.codePointAt(0),h=t.ambiguousCharacters.getPrimaryConfusable(u),r=y.AmbiguousCharacters.getLocales().filter(c=>!y.AmbiguousCharacters.getInstance(new Set([...n.allowedLocales,c])).isAmbiguous(u));return{kind:0,confusableWith:String.fromCodePoint(h),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}e.UnicodeTextModelHighlighter=f;function _(s,i){return`[${y.escapeRegExpCharacters(s.map(t=>String.fromCodePoint(t)).join(""))}]`}class g{constructor(i){this.options=i,this.allowedCodePoints=new Set(i.allowedCodePoints),this.ambiguousCharacters=y.AmbiguousCharacters.getInstance(new Set(i.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const i=new Set;if(this.options.invisibleCharacters)for(const n of y.InvisibleCharacters.codePoints)C(String.fromCodePoint(n))||i.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())i.add(n);for(const n of this.allowedCodePoints)i.delete(n);return i}shouldHighlightNonBasicASCII(i,n){const t=i.codePointAt(0);if(this.allowedCodePoints.has(t))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,u=!1;if(n)for(const h of n){const r=h.codePointAt(0),c=y.isBasicASCII(h);a=a||c,!c&&!this.ambiguousCharacters.isAmbiguous(r)&&!y.InvisibleCharacters.isInvisibleCharacter(r)&&(u=!0)}return!a&&u?0:this.options.invisibleCharacters&&!C(i)&&y.InvisibleCharacters.isInvisibleCharacter(t)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(t)?3:0}}function C(s){return s===" "||s===` -`||s===" "}}),define(ne[208],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappingIndent=e.TrackedRangeStickiness=e.TextEditorCursorStyle=e.TextEditorCursorBlinkingStyle=e.SymbolTag=e.SymbolKind=e.SignatureHelpTriggerKind=e.SelectionDirection=e.ScrollbarVisibility=e.ScrollType=e.RenderMinimap=e.RenderLineNumbersType=e.PositionAffinity=e.OverviewRulerLane=e.OverlayWidgetPositionPreference=e.MouseTargetType=e.MinimapPosition=e.MarkerTag=e.MarkerSeverity=e.KeyCode=e.InlineCompletionTriggerKind=e.InlayHintKind=e.InjectedTextCursorStops=e.IndentAction=e.GlyphMarginLane=e.EndOfLineSequence=e.EndOfLinePreference=e.EditorOption=e.EditorAutoIndentStrategy=e.DocumentHighlightKind=e.DefaultEndOfLine=e.CursorChangeReason=e.ContentWidgetPositionPreference=e.CompletionTriggerKind=e.CompletionItemTag=e.CompletionItemKind=e.CompletionItemInsertTextRule=e.CodeActionTriggerType=e.AccessibilitySupport=void 0;var L;(function(R){R[R.Unknown=0]="Unknown",R[R.Disabled=1]="Disabled",R[R.Enabled=2]="Enabled"})(L||(e.AccessibilitySupport=L={}));var k;(function(R){R[R.Invoke=1]="Invoke",R[R.Auto=2]="Auto"})(k||(e.CodeActionTriggerType=k={}));var y;(function(R){R[R.None=0]="None",R[R.KeepWhitespace=1]="KeepWhitespace",R[R.InsertAsSnippet=4]="InsertAsSnippet"})(y||(e.CompletionItemInsertTextRule=y={}));var D;(function(R){R[R.Method=0]="Method",R[R.Function=1]="Function",R[R.Constructor=2]="Constructor",R[R.Field=3]="Field",R[R.Variable=4]="Variable",R[R.Class=5]="Class",R[R.Struct=6]="Struct",R[R.Interface=7]="Interface",R[R.Module=8]="Module",R[R.Property=9]="Property",R[R.Event=10]="Event",R[R.Operator=11]="Operator",R[R.Unit=12]="Unit",R[R.Value=13]="Value",R[R.Constant=14]="Constant",R[R.Enum=15]="Enum",R[R.EnumMember=16]="EnumMember",R[R.Keyword=17]="Keyword",R[R.Text=18]="Text",R[R.Color=19]="Color",R[R.File=20]="File",R[R.Reference=21]="Reference",R[R.Customcolor=22]="Customcolor",R[R.Folder=23]="Folder",R[R.TypeParameter=24]="TypeParameter",R[R.User=25]="User",R[R.Issue=26]="Issue",R[R.Snippet=27]="Snippet"})(D||(e.CompletionItemKind=D={}));var S;(function(R){R[R.Deprecated=1]="Deprecated"})(S||(e.CompletionItemTag=S={}));var f;(function(R){R[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(f||(e.CompletionTriggerKind=f={}));var _;(function(R){R[R.EXACT=0]="EXACT",R[R.ABOVE=1]="ABOVE",R[R.BELOW=2]="BELOW"})(_||(e.ContentWidgetPositionPreference=_={}));var g;(function(R){R[R.NotSet=0]="NotSet",R[R.ContentFlush=1]="ContentFlush",R[R.RecoverFromMarkers=2]="RecoverFromMarkers",R[R.Explicit=3]="Explicit",R[R.Paste=4]="Paste",R[R.Undo=5]="Undo",R[R.Redo=6]="Redo"})(g||(e.CursorChangeReason=g={}));var C;(function(R){R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(C||(e.DefaultEndOfLine=C={}));var s;(function(R){R[R.Text=0]="Text",R[R.Read=1]="Read",R[R.Write=2]="Write"})(s||(e.DocumentHighlightKind=s={}));var i;(function(R){R[R.None=0]="None",R[R.Keep=1]="Keep",R[R.Brackets=2]="Brackets",R[R.Advanced=3]="Advanced",R[R.Full=4]="Full"})(i||(e.EditorAutoIndentStrategy=i={}));var n;(function(R){R[R.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",R[R.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",R[R.accessibilitySupport=2]="accessibilitySupport",R[R.accessibilityPageSize=3]="accessibilityPageSize",R[R.ariaLabel=4]="ariaLabel",R[R.ariaRequired=5]="ariaRequired",R[R.autoClosingBrackets=6]="autoClosingBrackets",R[R.screenReaderAnnounceInlineSuggestion=7]="screenReaderAnnounceInlineSuggestion",R[R.autoClosingDelete=8]="autoClosingDelete",R[R.autoClosingOvertype=9]="autoClosingOvertype",R[R.autoClosingQuotes=10]="autoClosingQuotes",R[R.autoIndent=11]="autoIndent",R[R.automaticLayout=12]="automaticLayout",R[R.autoSurround=13]="autoSurround",R[R.bracketPairColorization=14]="bracketPairColorization",R[R.guides=15]="guides",R[R.codeLens=16]="codeLens",R[R.codeLensFontFamily=17]="codeLensFontFamily",R[R.codeLensFontSize=18]="codeLensFontSize",R[R.colorDecorators=19]="colorDecorators",R[R.colorDecoratorsLimit=20]="colorDecoratorsLimit",R[R.columnSelection=21]="columnSelection",R[R.comments=22]="comments",R[R.contextmenu=23]="contextmenu",R[R.copyWithSyntaxHighlighting=24]="copyWithSyntaxHighlighting",R[R.cursorBlinking=25]="cursorBlinking",R[R.cursorSmoothCaretAnimation=26]="cursorSmoothCaretAnimation",R[R.cursorStyle=27]="cursorStyle",R[R.cursorSurroundingLines=28]="cursorSurroundingLines",R[R.cursorSurroundingLinesStyle=29]="cursorSurroundingLinesStyle",R[R.cursorWidth=30]="cursorWidth",R[R.disableLayerHinting=31]="disableLayerHinting",R[R.disableMonospaceOptimizations=32]="disableMonospaceOptimizations",R[R.domReadOnly=33]="domReadOnly",R[R.dragAndDrop=34]="dragAndDrop",R[R.dropIntoEditor=35]="dropIntoEditor",R[R.emptySelectionClipboard=36]="emptySelectionClipboard",R[R.experimentalWhitespaceRendering=37]="experimentalWhitespaceRendering",R[R.extraEditorClassName=38]="extraEditorClassName",R[R.fastScrollSensitivity=39]="fastScrollSensitivity",R[R.find=40]="find",R[R.fixedOverflowWidgets=41]="fixedOverflowWidgets",R[R.folding=42]="folding",R[R.foldingStrategy=43]="foldingStrategy",R[R.foldingHighlight=44]="foldingHighlight",R[R.foldingImportsByDefault=45]="foldingImportsByDefault",R[R.foldingMaximumRegions=46]="foldingMaximumRegions",R[R.unfoldOnClickAfterEndOfLine=47]="unfoldOnClickAfterEndOfLine",R[R.fontFamily=48]="fontFamily",R[R.fontInfo=49]="fontInfo",R[R.fontLigatures=50]="fontLigatures",R[R.fontSize=51]="fontSize",R[R.fontWeight=52]="fontWeight",R[R.fontVariations=53]="fontVariations",R[R.formatOnPaste=54]="formatOnPaste",R[R.formatOnType=55]="formatOnType",R[R.glyphMargin=56]="glyphMargin",R[R.gotoLocation=57]="gotoLocation",R[R.hideCursorInOverviewRuler=58]="hideCursorInOverviewRuler",R[R.hover=59]="hover",R[R.inDiffEditor=60]="inDiffEditor",R[R.inlineSuggest=61]="inlineSuggest",R[R.letterSpacing=62]="letterSpacing",R[R.lightbulb=63]="lightbulb",R[R.lineDecorationsWidth=64]="lineDecorationsWidth",R[R.lineHeight=65]="lineHeight",R[R.lineNumbers=66]="lineNumbers",R[R.lineNumbersMinChars=67]="lineNumbersMinChars",R[R.linkedEditing=68]="linkedEditing",R[R.links=69]="links",R[R.matchBrackets=70]="matchBrackets",R[R.minimap=71]="minimap",R[R.mouseStyle=72]="mouseStyle",R[R.mouseWheelScrollSensitivity=73]="mouseWheelScrollSensitivity",R[R.mouseWheelZoom=74]="mouseWheelZoom",R[R.multiCursorMergeOverlapping=75]="multiCursorMergeOverlapping",R[R.multiCursorModifier=76]="multiCursorModifier",R[R.multiCursorPaste=77]="multiCursorPaste",R[R.multiCursorLimit=78]="multiCursorLimit",R[R.occurrencesHighlight=79]="occurrencesHighlight",R[R.overviewRulerBorder=80]="overviewRulerBorder",R[R.overviewRulerLanes=81]="overviewRulerLanes",R[R.padding=82]="padding",R[R.pasteAs=83]="pasteAs",R[R.parameterHints=84]="parameterHints",R[R.peekWidgetDefaultFocus=85]="peekWidgetDefaultFocus",R[R.definitionLinkOpensInPeek=86]="definitionLinkOpensInPeek",R[R.quickSuggestions=87]="quickSuggestions",R[R.quickSuggestionsDelay=88]="quickSuggestionsDelay",R[R.readOnly=89]="readOnly",R[R.readOnlyMessage=90]="readOnlyMessage",R[R.renameOnType=91]="renameOnType",R[R.renderControlCharacters=92]="renderControlCharacters",R[R.renderFinalNewline=93]="renderFinalNewline",R[R.renderLineHighlight=94]="renderLineHighlight",R[R.renderLineHighlightOnlyWhenFocus=95]="renderLineHighlightOnlyWhenFocus",R[R.renderValidationDecorations=96]="renderValidationDecorations",R[R.renderWhitespace=97]="renderWhitespace",R[R.revealHorizontalRightPadding=98]="revealHorizontalRightPadding",R[R.roundedSelection=99]="roundedSelection",R[R.rulers=100]="rulers",R[R.scrollbar=101]="scrollbar",R[R.scrollBeyondLastColumn=102]="scrollBeyondLastColumn",R[R.scrollBeyondLastLine=103]="scrollBeyondLastLine",R[R.scrollPredominantAxis=104]="scrollPredominantAxis",R[R.selectionClipboard=105]="selectionClipboard",R[R.selectionHighlight=106]="selectionHighlight",R[R.selectOnLineNumbers=107]="selectOnLineNumbers",R[R.showFoldingControls=108]="showFoldingControls",R[R.showUnused=109]="showUnused",R[R.snippetSuggestions=110]="snippetSuggestions",R[R.smartSelect=111]="smartSelect",R[R.smoothScrolling=112]="smoothScrolling",R[R.stickyScroll=113]="stickyScroll",R[R.stickyTabStops=114]="stickyTabStops",R[R.stopRenderingLineAfter=115]="stopRenderingLineAfter",R[R.suggest=116]="suggest",R[R.suggestFontSize=117]="suggestFontSize",R[R.suggestLineHeight=118]="suggestLineHeight",R[R.suggestOnTriggerCharacters=119]="suggestOnTriggerCharacters",R[R.suggestSelection=120]="suggestSelection",R[R.tabCompletion=121]="tabCompletion",R[R.tabIndex=122]="tabIndex",R[R.unicodeHighlighting=123]="unicodeHighlighting",R[R.unusualLineTerminators=124]="unusualLineTerminators",R[R.useShadowDOM=125]="useShadowDOM",R[R.useTabStops=126]="useTabStops",R[R.wordBreak=127]="wordBreak",R[R.wordSeparators=128]="wordSeparators",R[R.wordWrap=129]="wordWrap",R[R.wordWrapBreakAfterCharacters=130]="wordWrapBreakAfterCharacters",R[R.wordWrapBreakBeforeCharacters=131]="wordWrapBreakBeforeCharacters",R[R.wordWrapColumn=132]="wordWrapColumn",R[R.wordWrapOverride1=133]="wordWrapOverride1",R[R.wordWrapOverride2=134]="wordWrapOverride2",R[R.wrappingIndent=135]="wrappingIndent",R[R.wrappingStrategy=136]="wrappingStrategy",R[R.showDeprecated=137]="showDeprecated",R[R.inlayHints=138]="inlayHints",R[R.editorClassName=139]="editorClassName",R[R.pixelRatio=140]="pixelRatio",R[R.tabFocusMode=141]="tabFocusMode",R[R.layoutInfo=142]="layoutInfo",R[R.wrappingInfo=143]="wrappingInfo",R[R.defaultColorDecorators=144]="defaultColorDecorators",R[R.colorDecoratorsActivatedOn=145]="colorDecoratorsActivatedOn",R[R.inlineCompletionsAccessibilityVerbose=146]="inlineCompletionsAccessibilityVerbose"})(n||(e.EditorOption=n={}));var t;(function(R){R[R.TextDefined=0]="TextDefined",R[R.LF=1]="LF",R[R.CRLF=2]="CRLF"})(t||(e.EndOfLinePreference=t={}));var a;(function(R){R[R.LF=0]="LF",R[R.CRLF=1]="CRLF"})(a||(e.EndOfLineSequence=a={}));var u;(function(R){R[R.Left=1]="Left",R[R.Right=2]="Right"})(u||(e.GlyphMarginLane=u={}));var h;(function(R){R[R.None=0]="None",R[R.Indent=1]="Indent",R[R.IndentOutdent=2]="IndentOutdent",R[R.Outdent=3]="Outdent"})(h||(e.IndentAction=h={}));var r;(function(R){R[R.Both=0]="Both",R[R.Right=1]="Right",R[R.Left=2]="Left",R[R.None=3]="None"})(r||(e.InjectedTextCursorStops=r={}));var c;(function(R){R[R.Type=1]="Type",R[R.Parameter=2]="Parameter"})(c||(e.InlayHintKind=c={}));var o;(function(R){R[R.Automatic=0]="Automatic",R[R.Explicit=1]="Explicit"})(o||(e.InlineCompletionTriggerKind=o={}));var d;(function(R){R[R.DependsOnKbLayout=-1]="DependsOnKbLayout",R[R.Unknown=0]="Unknown",R[R.Backspace=1]="Backspace",R[R.Tab=2]="Tab",R[R.Enter=3]="Enter",R[R.Shift=4]="Shift",R[R.Ctrl=5]="Ctrl",R[R.Alt=6]="Alt",R[R.PauseBreak=7]="PauseBreak",R[R.CapsLock=8]="CapsLock",R[R.Escape=9]="Escape",R[R.Space=10]="Space",R[R.PageUp=11]="PageUp",R[R.PageDown=12]="PageDown",R[R.End=13]="End",R[R.Home=14]="Home",R[R.LeftArrow=15]="LeftArrow",R[R.UpArrow=16]="UpArrow",R[R.RightArrow=17]="RightArrow",R[R.DownArrow=18]="DownArrow",R[R.Insert=19]="Insert",R[R.Delete=20]="Delete",R[R.Digit0=21]="Digit0",R[R.Digit1=22]="Digit1",R[R.Digit2=23]="Digit2",R[R.Digit3=24]="Digit3",R[R.Digit4=25]="Digit4",R[R.Digit5=26]="Digit5",R[R.Digit6=27]="Digit6",R[R.Digit7=28]="Digit7",R[R.Digit8=29]="Digit8",R[R.Digit9=30]="Digit9",R[R.KeyA=31]="KeyA",R[R.KeyB=32]="KeyB",R[R.KeyC=33]="KeyC",R[R.KeyD=34]="KeyD",R[R.KeyE=35]="KeyE",R[R.KeyF=36]="KeyF",R[R.KeyG=37]="KeyG",R[R.KeyH=38]="KeyH",R[R.KeyI=39]="KeyI",R[R.KeyJ=40]="KeyJ",R[R.KeyK=41]="KeyK",R[R.KeyL=42]="KeyL",R[R.KeyM=43]="KeyM",R[R.KeyN=44]="KeyN",R[R.KeyO=45]="KeyO",R[R.KeyP=46]="KeyP",R[R.KeyQ=47]="KeyQ",R[R.KeyR=48]="KeyR",R[R.KeyS=49]="KeyS",R[R.KeyT=50]="KeyT",R[R.KeyU=51]="KeyU",R[R.KeyV=52]="KeyV",R[R.KeyW=53]="KeyW",R[R.KeyX=54]="KeyX",R[R.KeyY=55]="KeyY",R[R.KeyZ=56]="KeyZ",R[R.Meta=57]="Meta",R[R.ContextMenu=58]="ContextMenu",R[R.F1=59]="F1",R[R.F2=60]="F2",R[R.F3=61]="F3",R[R.F4=62]="F4",R[R.F5=63]="F5",R[R.F6=64]="F6",R[R.F7=65]="F7",R[R.F8=66]="F8",R[R.F9=67]="F9",R[R.F10=68]="F10",R[R.F11=69]="F11",R[R.F12=70]="F12",R[R.F13=71]="F13",R[R.F14=72]="F14",R[R.F15=73]="F15",R[R.F16=74]="F16",R[R.F17=75]="F17",R[R.F18=76]="F18",R[R.F19=77]="F19",R[R.F20=78]="F20",R[R.F21=79]="F21",R[R.F22=80]="F22",R[R.F23=81]="F23",R[R.F24=82]="F24",R[R.NumLock=83]="NumLock",R[R.ScrollLock=84]="ScrollLock",R[R.Semicolon=85]="Semicolon",R[R.Equal=86]="Equal",R[R.Comma=87]="Comma",R[R.Minus=88]="Minus",R[R.Period=89]="Period",R[R.Slash=90]="Slash",R[R.Backquote=91]="Backquote",R[R.BracketLeft=92]="BracketLeft",R[R.Backslash=93]="Backslash",R[R.BracketRight=94]="BracketRight",R[R.Quote=95]="Quote",R[R.OEM_8=96]="OEM_8",R[R.IntlBackslash=97]="IntlBackslash",R[R.Numpad0=98]="Numpad0",R[R.Numpad1=99]="Numpad1",R[R.Numpad2=100]="Numpad2",R[R.Numpad3=101]="Numpad3",R[R.Numpad4=102]="Numpad4",R[R.Numpad5=103]="Numpad5",R[R.Numpad6=104]="Numpad6",R[R.Numpad7=105]="Numpad7",R[R.Numpad8=106]="Numpad8",R[R.Numpad9=107]="Numpad9",R[R.NumpadMultiply=108]="NumpadMultiply",R[R.NumpadAdd=109]="NumpadAdd",R[R.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",R[R.NumpadSubtract=111]="NumpadSubtract",R[R.NumpadDecimal=112]="NumpadDecimal",R[R.NumpadDivide=113]="NumpadDivide",R[R.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",R[R.ABNT_C1=115]="ABNT_C1",R[R.ABNT_C2=116]="ABNT_C2",R[R.AudioVolumeMute=117]="AudioVolumeMute",R[R.AudioVolumeUp=118]="AudioVolumeUp",R[R.AudioVolumeDown=119]="AudioVolumeDown",R[R.BrowserSearch=120]="BrowserSearch",R[R.BrowserHome=121]="BrowserHome",R[R.BrowserBack=122]="BrowserBack",R[R.BrowserForward=123]="BrowserForward",R[R.MediaTrackNext=124]="MediaTrackNext",R[R.MediaTrackPrevious=125]="MediaTrackPrevious",R[R.MediaStop=126]="MediaStop",R[R.MediaPlayPause=127]="MediaPlayPause",R[R.LaunchMediaPlayer=128]="LaunchMediaPlayer",R[R.LaunchMail=129]="LaunchMail",R[R.LaunchApp2=130]="LaunchApp2",R[R.Clear=131]="Clear",R[R.MAX_VALUE=132]="MAX_VALUE"})(d||(e.KeyCode=d={}));var l;(function(R){R[R.Hint=1]="Hint",R[R.Info=2]="Info",R[R.Warning=4]="Warning",R[R.Error=8]="Error"})(l||(e.MarkerSeverity=l={}));var p;(function(R){R[R.Unnecessary=1]="Unnecessary",R[R.Deprecated=2]="Deprecated"})(p||(e.MarkerTag=p={}));var m;(function(R){R[R.Inline=1]="Inline",R[R.Gutter=2]="Gutter"})(m||(e.MinimapPosition=m={}));var v;(function(R){R[R.UNKNOWN=0]="UNKNOWN",R[R.TEXTAREA=1]="TEXTAREA",R[R.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",R[R.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",R[R.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",R[R.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",R[R.CONTENT_TEXT=6]="CONTENT_TEXT",R[R.CONTENT_EMPTY=7]="CONTENT_EMPTY",R[R.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",R[R.CONTENT_WIDGET=9]="CONTENT_WIDGET",R[R.OVERVIEW_RULER=10]="OVERVIEW_RULER",R[R.SCROLLBAR=11]="SCROLLBAR",R[R.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",R[R.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(v||(e.MouseTargetType=v={}));var b;(function(R){R[R.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",R[R.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",R[R.TOP_CENTER=2]="TOP_CENTER"})(b||(e.OverlayWidgetPositionPreference=b={}));var w;(function(R){R[R.Left=1]="Left",R[R.Center=2]="Center",R[R.Right=4]="Right",R[R.Full=7]="Full"})(w||(e.OverviewRulerLane=w={}));var E;(function(R){R[R.Left=0]="Left",R[R.Right=1]="Right",R[R.None=2]="None",R[R.LeftOfInjectedText=3]="LeftOfInjectedText",R[R.RightOfInjectedText=4]="RightOfInjectedText"})(E||(e.PositionAffinity=E={}));var I;(function(R){R[R.Off=0]="Off",R[R.On=1]="On",R[R.Relative=2]="Relative",R[R.Interval=3]="Interval",R[R.Custom=4]="Custom"})(I||(e.RenderLineNumbersType=I={}));var M;(function(R){R[R.None=0]="None",R[R.Text=1]="Text",R[R.Blocks=2]="Blocks"})(M||(e.RenderMinimap=M={}));var P;(function(R){R[R.Smooth=0]="Smooth",R[R.Immediate=1]="Immediate"})(P||(e.ScrollType=P={}));var x;(function(R){R[R.Auto=1]="Auto",R[R.Hidden=2]="Hidden",R[R.Visible=3]="Visible"})(x||(e.ScrollbarVisibility=x={}));var T;(function(R){R[R.LTR=0]="LTR",R[R.RTL=1]="RTL"})(T||(e.SelectionDirection=T={}));var A;(function(R){R[R.Invoke=1]="Invoke",R[R.TriggerCharacter=2]="TriggerCharacter",R[R.ContentChange=3]="ContentChange"})(A||(e.SignatureHelpTriggerKind=A={}));var N;(function(R){R[R.File=0]="File",R[R.Module=1]="Module",R[R.Namespace=2]="Namespace",R[R.Package=3]="Package",R[R.Class=4]="Class",R[R.Method=5]="Method",R[R.Property=6]="Property",R[R.Field=7]="Field",R[R.Constructor=8]="Constructor",R[R.Enum=9]="Enum",R[R.Interface=10]="Interface",R[R.Function=11]="Function",R[R.Variable=12]="Variable",R[R.Constant=13]="Constant",R[R.String=14]="String",R[R.Number=15]="Number",R[R.Boolean=16]="Boolean",R[R.Array=17]="Array",R[R.Object=18]="Object",R[R.Key=19]="Key",R[R.Null=20]="Null",R[R.EnumMember=21]="EnumMember",R[R.Struct=22]="Struct",R[R.Event=23]="Event",R[R.Operator=24]="Operator",R[R.TypeParameter=25]="TypeParameter"})(N||(e.SymbolKind=N={}));var F;(function(R){R[R.Deprecated=1]="Deprecated"})(F||(e.SymbolTag=F={}));var O;(function(R){R[R.Hidden=0]="Hidden",R[R.Blink=1]="Blink",R[R.Smooth=2]="Smooth",R[R.Phase=3]="Phase",R[R.Expand=4]="Expand",R[R.Solid=5]="Solid"})(O||(e.TextEditorCursorBlinkingStyle=O={}));var W;(function(R){R[R.Line=1]="Line",R[R.Block=2]="Block",R[R.Underline=3]="Underline",R[R.LineThin=4]="LineThin",R[R.BlockOutline=5]="BlockOutline",R[R.UnderlineThin=6]="UnderlineThin"})(W||(e.TextEditorCursorStyle=W={}));var U;(function(R){R[R.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",R[R.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",R[R.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",R[R.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(U||(e.TrackedRangeStickiness=U={}));var j;(function(R){R[R.None=0]="None",R[R.Same=1]="Same",R[R.Indent=2]="Indent",R[R.DeepIndent=3]="DeepIndent"})(j||(e.WrappingIndent=j={}))}),define(ne[513],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairWithMinIndentationInfo=e.BracketPairInfo=e.BracketInfo=void 0;class L{constructor(S,f,_,g){this.range=S,this.nestingLevel=f,this.nestingLevelOfEqualBracketType=_,this.isInvalid=g}}e.BracketInfo=L;class k{constructor(S,f,_,g,C,s){this.range=S,this.openingBracketRange=f,this.closingBracketRange=_,this.nestingLevel=g,this.nestingLevelOfEqualBracketType=C,this.bracketPairNode=s}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}e.BracketPairInfo=k;class y extends k{constructor(S,f,_,g,C,s,i){super(S,f,_,g,C,s),this.minVisibleColumnIndentation=i}}e.BracketPairWithMinIndentationInfo=y}),define(ne[514],se([1,0,6,2,513,179,280,91,279,126,206,14,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTree=void 0;class n extends k.Disposable{didLanguageChange(o){return this.brackets.didLanguageChange(o)}constructor(o,d){if(super(),this.textModel=o,this.getLanguageConfiguration=d,this.didChangeEmitter=new L.Emitter,this.denseKeyProvider=new g.DenseKeyProvider,this.brackets=new S.LanguageAgnosticBracketTokens(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,this.queuedTextEditsForInitialAstWithoutTokens=[],this.queuedTextEdits=[],o.tokenization.hasTokens)o.tokenization.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens);else{const l=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),p=new C.FastTokenizer(this.textModel.getValue(),l);this.initialAstWithoutTokens=(0,_.parseDocument)(p,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}}handleDidChangeBackgroundTokenizationState(){if(this.textModel.tokenization.backgroundTokenizationState===2){const o=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,o||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:o}){const d=o.map(l=>new D.TextEditInfo((0,f.toLength)(l.fromLineNumber-1,0),(0,f.toLength)(l.toLineNumber,0),(0,f.toLength)(l.toLineNumber-l.fromLineNumber+1,0)));this.handleEdits(d,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(o){const d=D.TextEditInfo.fromModelContentChanges(o.changes);this.handleEdits(d,!1)}handleEdits(o,d){const l=(0,i.combineTextEditInfos)(this.queuedTextEdits,o);this.queuedTextEdits=l,this.initialAstWithoutTokens&&!d&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,i.combineTextEditInfos)(this.queuedTextEditsForInitialAstWithoutTokens,o))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(o,d,l){const m=d,v=new C.TextBufferTokenizer(this.textModel,this.brackets);return(0,_.parseDocument)(v,o,m,l)}getBracketsInRange(o,d){this.flushQueue();const l=(0,f.toLength)(o.startLineNumber-1,o.startColumn-1),p=(0,f.toLength)(o.endLineNumber-1,o.endColumn-1);return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens;u(v,f.lengthZero,v.length,l,p,m,0,0,new Map,d)})}getBracketPairsInRange(o,d){this.flushQueue();const l=(0,f.positionToLength)(o.getStartPosition()),p=(0,f.positionToLength)(o.getEndPosition());return new s.CallbackIterable(m=>{const v=this.initialAstWithoutTokens||this.astWithTokens,b=new h(m,d,this.textModel);r(v,f.lengthZero,v.length,l,p,b,0,new Map)})}getFirstBracketAfter(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return a(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}getFirstBracketBefore(o){this.flushQueue();const d=this.initialAstWithoutTokens||this.astWithTokens;return t(d,f.lengthZero,d.length,(0,f.positionToLength)(o))}}e.BracketPairsTree=n;function t(c,o,d,l){if(c.kind===4||c.kind===2){const p=[];for(const m of c.children)d=(0,f.lengthAdd)(o,m.length),p.push({nodeOffsetStart:o,nodeOffsetEnd:d}),o=d;for(let m=p.length-1;m>=0;m--){const{nodeOffsetStart:v,nodeOffsetEnd:b}=p[m];if((0,f.lengthLessThan)(v,l)){const w=t(c.children[m],v,b,l);if(w)return w}}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function a(c,o,d,l){if(c.kind===4||c.kind===2){for(const p of c.children){if(d=(0,f.lengthAdd)(o,p.length),(0,f.lengthLessThan)(l,d)){const m=a(p,o,d,l);if(m)return m}o=d}return null}else{if(c.kind===3)return null;if(c.kind===1){const p=(0,f.lengthsToRange)(o,d);return{bracketInfo:c.bracketInfo,range:p}}}return null}function u(c,o,d,l,p,m,v,b,w,E,I=!1){if(v>200)return!0;e:for(;;)switch(c.kind){case 4:{const M=c.childrenLength;for(let P=0;P200)return!0;let E=!0;if(c.kind===2){let I=0;if(b){let x=b.get(c.openingBracket.text);x===void 0&&(x=0),I=x,x++,b.set(c.openingBracket.text,x)}const M=(0,f.lengthAdd)(o,c.openingBracket.length);let P=-1;if(m.includeMinIndentation&&(P=c.computeMinIndentation(o,m.textModel)),E=m.push(new y.BracketPairWithMinIndentationInfo((0,f.lengthsToRange)(o,d),(0,f.lengthsToRange)(o,M),c.closingBracket?(0,f.lengthsToRange)((0,f.lengthAdd)(M,((w=c.child)===null||w===void 0?void 0:w.length)||f.lengthZero),d):void 0,v,I,c,P)),o=M,E&&c.child){const x=c.child;if(d=(0,f.lengthAdd)(o,x.length),(0,f.lengthLessThanEqual)(o,p)&&(0,f.lengthGreaterThanEqual)(d,l)&&(E=r(x,o,d,l,p,m,v+1,b),!E))return!1}b?.set(c.openingBracket.text,I)}else{let I=o;for(const M of c.children){const P=I;if(I=(0,f.lengthAdd)(I,M.length),(0,f.lengthLessThanEqual)(P,p)&&(0,f.lengthLessThanEqual)(l,I)&&(E=r(M,P,I,l,p,m,v,b),!E))return!1}}return E}}),define(ne[111],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalModelContentChangeEvent=e.ModelInjectedTextChangedEvent=e.ModelRawContentChangedEvent=e.ModelRawEOLChanged=e.ModelRawLinesInserted=e.ModelRawLinesDeleted=e.ModelRawLineChanged=e.LineInjectedText=e.ModelRawFlush=void 0;class L{constructor(){this.changeType=1}}e.ModelRawFlush=L;class k{static applyInjectedText(i,n){if(!n||n.length===0)return i;let t="",a=0;for(const u of n)t+=i.substring(a,u.column-1),a=u.column-1,t+=u.options.content;return t+=i.substring(a),t}static fromDecorations(i){const n=[];for(const t of i)t.options.before&&t.options.before.content.length>0&&n.push(new k(t.ownerId,t.range.startLineNumber,t.range.startColumn,t.options.before,0)),t.options.after&&t.options.after.content.length>0&&n.push(new k(t.ownerId,t.range.endLineNumber,t.range.endColumn,t.options.after,1));return n.sort((t,a)=>t.lineNumber===a.lineNumber?t.column===a.column?t.order-a.order:t.column-a.column:t.lineNumber-a.lineNumber),n}constructor(i,n,t,a,u){this.ownerId=i,this.lineNumber=n,this.column=t,this.options=a,this.order=u}}e.LineInjectedText=k;class y{constructor(i,n,t){this.changeType=2,this.lineNumber=i,this.detail=n,this.injectedText=t}}e.ModelRawLineChanged=y;class D{constructor(i,n){this.changeType=3,this.fromLineNumber=i,this.toLineNumber=n}}e.ModelRawLinesDeleted=D;class S{constructor(i,n,t,a){this.changeType=4,this.injectedTexts=a,this.fromLineNumber=i,this.toLineNumber=n,this.detail=t}}e.ModelRawLinesInserted=S;class f{constructor(){this.changeType=5}}e.ModelRawEOLChanged=f;class _{constructor(i,n,t,a){this.changes=i,this.versionId=n,this.isUndoing=t,this.isRedoing=a,this.resultingSelection=null}containsEvent(i){for(let n=0,t=this.changes.length;nu)throw new g.BugIndicatingError("Illegal value for lineNumber");const h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide);let c=-2,o=-1,d=-2,l=-1;const p=N=>{if(c!==-1&&(c===-2||c>N-1)){c=-1,o=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){c=F,o=O;break}}}if(d===-2){d=-1,l=-1;for(let F=N;F=0){d=F,l=O;break}}}};let m=-2,v=-1,b=-2,w=-1;const E=N=>{if(m===-2){m=-1,v=-1;for(let F=N-2;F>=0;F--){const O=this._computeIndentLevel(F);if(O>=0){m=F,v=O;break}}}if(b!==-1&&(b===-2||b=0){b=F,w=O;break}}}};let I=0,M=!0,P=0,x=!0,T=0,A=0;for(let N=0;M||x;N++){const F=n-N,O=n+N;N>1&&(F<1||F1&&(O>u||O>a)&&(x=!1),N>5e4&&(M=!1,x=!1);let W=-1;if(M&&F>=1){const j=this._computeIndentLevel(F-1);j>=0?(d=F-1,l=j,W=Math.ceil(j/this.textModel.getOptions().indentSize)):(p(F),W=this._getIndentLevelForWhitespaceLine(r,o,l))}let U=-1;if(x&&O<=u){const j=this._computeIndentLevel(O-1);j>=0?(m=O-1,v=j,U=Math.ceil(j/this.textModel.getOptions().indentSize)):(E(O),U=this._getIndentLevelForWhitespaceLine(r,v,w))}if(N===0){A=W;continue}if(N===1){if(O<=u&&U>=0&&A+1===U){M=!1,I=O,P=O,T=U;continue}if(F>=1&&W>=0&&W-1===A){x=!1,I=F,P=F,T=W;continue}if(I=n,P=n,T=A,T===0)return{startLineNumber:I,endLineNumber:P,indent:T}}M&&(W>=T?I=F:M=!1),x&&(U>=T?P=O:x=!1)}return{startLineNumber:I,endLineNumber:P,indent:T}}getLinesBracketGuides(n,t,a,u){var h;const r=[];for(let m=n;m<=t;m++)r.push([]);const c=!0,o=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new D.Range(n,1,t,this.textModel.getLineMaxColumn(t))).toArray();let d;if(a&&o.length>0){const m=(n<=a.lineNumber&&a.lineNumber<=t?o:this.textModel.bracketPairs.getBracketPairsInRange(D.Range.fromPositions(a)).toArray()).filter(v=>D.Range.strictContainsPosition(v.range,a));d=(h=(0,L.findLast)(m,v=>c||v.range.startLineNumber!==v.range.endLineNumber))===null||h===void 0?void 0:h.range}const l=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new s;for(const m of o){if(!m.closingBracketRange)continue;const v=d&&m.range.equalsRange(d);if(!v&&!u.includeInactive)continue;const b=p.getInlineClassName(m.nestingLevel,m.nestingLevelOfEqualBracketType,l)+(u.highlightActive&&v?" "+p.activeClassName:""),w=m.openingBracketRange.getStartPosition(),E=m.closingBracketRange.getStartPosition(),I=u.horizontalGuides===_.HorizontalGuidesState.Enabled||u.horizontalGuides===_.HorizontalGuidesState.EnabledForActive&&v;if(m.range.startLineNumber===m.range.endLineNumber){c&&I&&r[m.range.startLineNumber-n].push(new _.IndentGuide(-1,m.openingBracketRange.getEndPosition().column,b,new _.IndentGuideHorizontalLine(!1,E.column),-1,-1));continue}const M=this.getVisibleColumnFromPosition(E),P=this.getVisibleColumnFromPosition(m.openingBracketRange.getStartPosition()),x=Math.min(P,M,m.minVisibleColumnIndentation+1);let T=!1;k.firstNonWhitespaceIndex(this.textModel.getLineContent(m.closingBracketRange.startLineNumber))=n&&P>x&&r[w.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!1,w.column),-1,-1)),E.lineNumber<=t&&M>x&&r[E.lineNumber-n].push(new _.IndentGuide(x,-1,b,new _.IndentGuideHorizontalLine(!T,E.column),-1,-1)))}for(const m of r)m.sort((v,b)=>v.visibleColumn-b.visibleColumn);return r}getVisibleColumnFromPosition(n){return y.CursorColumns.visibleColumnFromColumn(this.textModel.getLineContent(n.lineNumber),n.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(n,t){this.assertNotDisposed();const a=this.textModel.getLineCount();if(n<1||n>a)throw new Error("Illegal value for startLineNumber");if(t<1||t>a)throw new Error("Illegal value for endLineNumber");const u=this.textModel.getOptions(),h=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(h&&h.offSide),c=new Array(t-n+1);let o=-2,d=-1,l=-2,p=-1;for(let m=n;m<=t;m++){const v=m-n,b=this._computeIndentLevel(m-1);if(b>=0){o=m-1,d=b,c[v]=Math.ceil(b/u.indentSize);continue}if(o===-2){o=-1,d=-1;for(let w=m-2;w>=0;w--){const E=this._computeIndentLevel(w);if(E>=0){o=w,d=E;break}}}if(l!==-1&&(l===-2||l=0){l=w,p=E;break}}}c[v]=this._getIndentLevelForWhitespaceLine(r,d,p)}return c}_getIndentLevelForWhitespaceLine(n,t,a){const u=this.textModel.getOptions();return t===-1||a===-1?0:t{this._tokenizationSupports.get(f)===_&&(this._tokenizationSupports.delete(f),this.handleChange([f]))})}get(f){return this._tokenizationSupports.get(f)||null}registerFactory(f,_){var g;(g=this._factories.get(f))===null||g===void 0||g.dispose();const C=new D(this,f,_);return this._factories.set(f,C),(0,k.toDisposable)(()=>{const s=this._factories.get(f);!s||s!==C||(this._factories.delete(f),s.dispose())})}getOrCreate(f){return we(this,void 0,void 0,function*(){const _=this.get(f);if(_)return _;const g=this._factories.get(f);return!g||g.isResolved?null:(yield g.resolve(),this.get(f))})}isResolved(f){if(this.get(f))return!0;const g=this._factories.get(f);return!!(!g||g.isResolved)}setColorMap(f){this._colorMap=f,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}e.TokenizationRegistry=y;class D extends k.Disposable{get isResolved(){return this._isResolved}constructor(f,_,g){super(),this._registry=f,this._languageId=_,this._factory=g,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return we(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return we(this,void 0,void 0,function*(){const f=yield this._factory.tokenizationSupport;this._isResolved=!0,f&&!this._isDisposed&&this._register(this._registry.register(this._languageId,f))})}}}),define(ne[516],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokens=void 0;class L{get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}constructor(y,D){this._startLineNumber=y,this._tokens=D}getLineTokens(y){return this._tokens[y-this._startLineNumber]}appendLineTokens(y){this._tokens.push(y)}}e.ContiguousMultilineTokens=L}),define(ne[288],se([1,0,516]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokensBuilder=void 0;class k{constructor(){this._tokens=[]}add(D,S){if(this._tokens.length>0){const f=this._tokens[this._tokens.length-1];if(f.endLineNumber+1===D){f.appendLineTokens(S);return}}this._tokens.push(new L.ContiguousMultilineTokens(D,[S]))}finalize(){return this._tokens}}e.ContiguousMultilineTokensBuilder=k}),define(ne[86],se([1,0,124]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineTokens=void 0;class k{static createEmpty(S,f){const _=k.defaultTokenMetadata,g=new Uint32Array(2);return g[0]=S.length,g[1]=_,new k(g,S,f)}constructor(S,f,_){this._lineTokensBrand=void 0,this._tokens=S,this._tokensCount=this._tokens.length>>>1,this._text=f,this._languageIdCodec=_}equals(S){return S instanceof k?this.slicedEquals(S,0,this._tokensCount):!1}slicedEquals(S,f,_){if(this._text!==S._text||this._tokensCount!==S._tokensCount)return!1;const g=f<<1,C=g+(_<<1);for(let s=g;s0?this._tokens[S-1<<1]:0}getMetadata(S){return this._tokens[(S<<1)+1]}getLanguageId(S){const f=this._tokens[(S<<1)+1],_=L.TokenMetadata.getLanguageId(f);return this._languageIdCodec.decodeLanguageId(_)}getStandardTokenType(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getTokenType(f)}getForeground(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getForeground(f)}getClassName(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getClassNameFromMetadata(f)}getInlineStyle(S,f){const _=this._tokens[(S<<1)+1];return L.TokenMetadata.getInlineStyleFromMetadata(_,f)}getPresentation(S){const f=this._tokens[(S<<1)+1];return L.TokenMetadata.getPresentationFromMetadata(f)}getEndOffset(S){return this._tokens[S<<1]}findTokenIndexAtOffset(S){return k.findIndexInTokensArray(this._tokens,S)}inflate(){return this}sliceAndInflate(S,f,_){return new y(this,S,f,_)}static convertToEndOffset(S,f){const g=(S.length>>>1)-1;for(let C=0;C>>1)-1;for(;_f&&(g=C)}return _}withInserted(S){if(S.length===0)return this;let f=0,_=0,g="";const C=new Array;let s=0;for(;;){const i=fs){g+=this._text.substring(s,n.offset);const t=this._tokens[(f<<1)+1];C.push(g.length,t),s=n.offset}g+=n.text,C.push(g.length,n.tokenMetadata),_++}else break}return new k(new Uint32Array(C),g,this._languageIdCodec)}}e.LineTokens=k,k.defaultTokenMetadata=(0<<11|1<<15|2<<24)>>>0;class y{constructor(S,f,_,g){this._source=S,this._startOffset=f,this._endOffset=_,this._deltaOffset=g,this._firstTokenIndex=S.findTokenIndexAtOffset(f),this._tokensCount=0;for(let C=this._firstTokenIndex,s=S.getCount();C=_);C++)this._tokensCount++}getMetadata(S){return this._source.getMetadata(this._firstTokenIndex+S)}getLanguageId(S){return this._source.getLanguageId(this._firstTokenIndex+S)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(S){return S instanceof y?this._startOffset===S._startOffset&&this._endOffset===S._endOffset&&this._deltaOffset===S._deltaOffset&&this._source.slicedEquals(S._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(S){return this._source.getForeground(this._firstTokenIndex+S)}getEndOffset(S){const f=this._source.getEndOffset(this._firstTokenIndex+S);return Math.min(this._endOffset,f)-this._startOffset+this._deltaOffset}getClassName(S){return this._source.getClassName(this._firstTokenIndex+S)}getInlineStyle(S,f){return this._source.getInlineStyle(this._firstTokenIndex+S,f)}getPresentation(S){return this._source.getPresentation(this._firstTokenIndex+S)}findTokenIndexAtOffset(S){return this._source.findTokenIndexAtOffset(S+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),define(ne[517],se([1,0,86]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toUint32Array=e.ContiguousTokensEditing=e.EMPTY_LINE_TOKENS=void 0,e.EMPTY_LINE_TOKENS=new Uint32Array(0).buffer;class k{static deleteBeginning(S,f){return S===null||S===e.EMPTY_LINE_TOKENS?S:k.delete(S,0,f)}static deleteEnding(S,f){if(S===null||S===e.EMPTY_LINE_TOKENS)return S;const _=y(S),g=_[_.length-2];return k.delete(S,f,g)}static delete(S,f,_){if(S===null||S===e.EMPTY_LINE_TOKENS||f===_)return S;const g=y(S),C=g.length>>>1;if(f===0&&g[g.length-2]===_)return e.EMPTY_LINE_TOKENS;const s=L.LineTokens.findIndexInTokensArray(g,f),i=s>0?g[s-1<<1]:0,n=g[s<<1];if(_a&&(g[t++]=c,g[t++]=g[(r<<1)+1],a=c)}if(t===g.length)return S;const h=new Uint32Array(t);return h.set(g.subarray(0,t),0),h.buffer}static append(S,f){if(f===e.EMPTY_LINE_TOKENS)return S;if(S===e.EMPTY_LINE_TOKENS)return f;if(S===null)return S;if(f===null)return null;const _=y(S),g=y(f),C=g.length>>>1,s=new Uint32Array(_.length+g.length);s.set(_,0);let i=_.length;const n=_[_.length-2];for(let t=0;t>>1;let s=L.LineTokens.findIndexInTokensArray(g,f);s>0&&g[s-1<<1]===f&&s--;for(let i=s;i0}getTokens(C,s,i){let n=null;if(s1&&(t=S.TokenMetadata.getLanguageId(n[1])!==C),!t)return y.EMPTY_LINE_TOKENS}if(!n||n.length===0){const t=new Uint32Array(2);return t[0]=s,t[1]=_(C),t.buffer}return n[n.length-2]=s,n.byteOffset===0&&n.byteLength===n.buffer.byteLength?n.buffer:n}_ensureLine(C){for(;C>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(C,s){s!==0&&(C+s>this._len&&(s=this._len-C),this._lineTokens.splice(C,s),this._len-=s)}_insertLines(C,s){if(s===0)return;const i=[];for(let n=0;n=this._len)return;if(C.startLineNumber===C.endLineNumber){if(C.startColumn===C.endColumn)return;this._lineTokens[s]=y.ContiguousTokensEditing.delete(this._lineTokens[s],C.startColumn-1,C.endColumn-1);return}this._lineTokens[s]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[s],C.startColumn-1);const i=C.endLineNumber-1;let n=null;i=this._len)){if(s===0){this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i);return}this._lineTokens[n]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[n],C.column-1),this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i),this._insertLines(C.lineNumber,s)}}setMultilineTokens(C,s){if(C.length===0)return{changes:[]};const i=[];for(let n=0,t=C.length;n>>0}}),define(ne[519],se([1,0,12,5,122]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SparseLineTokens=e.SparseMultilineTokens=void 0;class D{static create(g,C){return new D(g,new S(C))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(g,C){this._startLineNumber=g,this._tokens=C,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(g){return this._startLineNumber<=g&&g<=this._endLineNumber?this._tokens.getLineTokens(g-this._startLineNumber):null}getRange(){const g=this._tokens.getRange();return g&&new k.Range(this._startLineNumber+g.startLineNumber,g.startColumn,this._startLineNumber+g.endLineNumber,g.endColumn)}removeTokens(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(C,g.startColumn-1,s,g.endColumn-1),this._updateEndLineNumber()}split(g){const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber,[i,n,t]=this._tokens.split(C,g.startColumn-1,s,g.endColumn-1);return[new D(this._startLineNumber,i),new D(this._startLineNumber+t,n)]}applyEdit(g,C){const[s,i,n]=(0,y.countEOL)(C);this.acceptEdit(g,s,i,n,C.length>0?C.charCodeAt(0):0)}acceptEdit(g,C,s,i,n){this._acceptDeleteRange(g),this._acceptInsertText(new L.Position(g.startLineNumber,g.startColumn),C,s,i,n),this._updateEndLineNumber()}_acceptDeleteRange(g){if(g.startLineNumber===g.endLineNumber&&g.startColumn===g.endColumn)return;const C=g.startLineNumber-this._startLineNumber,s=g.endLineNumber-this._startLineNumber;if(s<0){const n=s-C;this._startLineNumber-=n;return}const i=this._tokens.getMaxDeltaLine();if(!(C>=i+1)){if(C<0&&s>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(C<0){const n=-C;this._startLineNumber-=n,this._tokens.acceptDeleteRange(g.startColumn-1,0,0,s,g.endColumn-1)}else this._tokens.acceptDeleteRange(0,C,g.startColumn-1,s,g.endColumn-1)}}_acceptInsertText(g,C,s,i,n){if(C===0&&s===0)return;const t=g.lineNumber-this._startLineNumber;if(t<0){this._startLineNumber+=C;return}const a=this._tokens.getMaxDeltaLine();t>=a+1||this._tokens.acceptInsertText(t,g.column-1,C,s,i,n)}}e.SparseMultilineTokens=D;class S{constructor(g){this._tokens=g,this._tokenCount=g.length/4}toString(g){const C=[];for(let s=0;sg)s=i-1;else{let t=i;for(;t>C&&this._getDeltaLine(t-1)===g;)t--;let a=i;for(;ag||o===g&&l>=C)&&(og||l===g&&m>=C){if(ln?p-=n-s:p=s;else if(d===C&&l===s)if(d===i&&p>n)p-=n-s;else{r=!0;continue}else if(dn)d=C,l=s,p=l+(p-n);else{r=!0;continue}else if(d>i){if(u===0&&!r){h=a;break}d-=u}else if(d===i&&l>=n)g&&d===0&&(l+=g,p+=g),d-=u,l-=n-s,p-=n-s;else throw new Error("Not possible!");const v=4*h;t[v]=d,t[v+1]=l,t[v+2]=p,t[v+3]=m,h++}this._tokenCount=h}acceptInsertText(g,C,s,i,n,t){const a=s===0&&i===1&&(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122),u=this._tokens,h=this._tokenCount;for(let r=0;r0){const C=f[0].getRange(),s=f[f.length-1].getRange();if(!C||!s)return S;_=S.plusRange(C).plusRange(s)}let g=null;for(let C=0,s=this._pieces.length;C_.endLineNumber){g=g||{index:C};break}if(i.removeTokens(_),i.isEmpty()){this._pieces.splice(C,1),C--,s--;continue}if(i.endLineNumber<_.startLineNumber)continue;if(i.startLineNumber>_.endLineNumber){g=g||{index:C};continue}const[n,t]=i.split(_);if(n.isEmpty()){g=g||{index:C};continue}t.isEmpty()||(this._pieces.splice(C,1,n,t),C++,s++,g=g||{index:C})}return g=g||{index:this._pieces.length},f.length>0&&(this._pieces=L.arrayInsert(this._pieces,g.index,f)),_}isComplete(){return this._isComplete}addSparseTokens(S,f){if(f.getLineContent().length===0)return f;const _=this._pieces;if(_.length===0)return f;const g=y._findFirstPieceWithLine(_,S),C=_[g].getLineTokens(S);if(!C)return f;const s=f.getCount(),i=C.getCount();let n=0;const t=[];let a=0,u=0;const h=(r,c)=>{r!==u&&(u=r,t[a++]=r,t[a++]=c)};for(let r=0;r>>0,p=~l>>>0;for(;nf)g=C-1;else{for(;C>_&&S[C-1].startLineNumber<=f&&f<=S[C-1].endLineNumber;)C--;return C}}return _}acceptEdit(S,f,_,g,C){for(const s of this._pieces)s.acceptEdit(S,f,_,g,C)}}e.SparseTokensStore=y}),define(ne[150],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEventHandler=void 0;class k extends L.Disposable{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(D){return!1}onCompositionEnd(D){return!1}onConfigurationChanged(D){return!1}onCursorStateChanged(D){return!1}onDecorationsChanged(D){return!1}onFlushed(D){return!1}onFocusChanged(D){return!1}onLanguageConfigurationChanged(D){return!1}onLineMappingChanged(D){return!1}onLinesChanged(D){return!1}onLinesDeleted(D){return!1}onLinesInserted(D){return!1}onRevealRangeRequest(D){return!1}onScrollChanged(D){return!1}onThemeChanged(D){return!1}onTokensChanged(D){return!1}onTokensColorsChanged(D){return!1}onZonesChanged(D){return!1}handleEvents(D){let S=!1;for(let f=0,_=D.length;f<_;f++){const g=D[f];switch(g.type){case 0:this.onCompositionStart(g)&&(S=!0);break;case 1:this.onCompositionEnd(g)&&(S=!0);break;case 2:this.onConfigurationChanged(g)&&(S=!0);break;case 3:this.onCursorStateChanged(g)&&(S=!0);break;case 4:this.onDecorationsChanged(g)&&(S=!0);break;case 5:this.onFlushed(g)&&(S=!0);break;case 6:this.onFocusChanged(g)&&(S=!0);break;case 7:this.onLanguageConfigurationChanged(g)&&(S=!0);break;case 8:this.onLineMappingChanged(g)&&(S=!0);break;case 9:this.onLinesChanged(g)&&(S=!0);break;case 10:this.onLinesDeleted(g)&&(S=!0);break;case 11:this.onLinesInserted(g)&&(S=!0);break;case 12:this.onRevealRangeRequest(g)&&(S=!0);break;case 13:this.onScrollChanged(g)&&(S=!0);break;case 15:this.onTokensChanged(g)&&(S=!0);break;case 14:this.onThemeChanged(g)&&(S=!0);break;case 16:this.onTokensColorsChanged(g)&&(S=!0);break;case 17:this.onZonesChanged(g)&&(S=!0);break;default:console.info("View received unknown event: "),console.info(g)}}S&&(this._shouldRender=!0)}}e.ViewEventHandler=k}),define(ne[112],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicViewOverlay=void 0;class k extends L.ViewEventHandler{}e.DynamicViewOverlay=k}),define(ne[53],se([1,0,150]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartFingerprints=e.ViewPart=void 0;class k extends L.ViewEventHandler{constructor(S){super(),this._context=S,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}e.ViewPart=k;class y{static write(S,f){S.setAttribute("data-mprt",String(f))}static read(S){const f=S.getAttribute("data-mprt");return f===null?0:parseInt(f,10)}static collect(S,f){const _=[];let g=0;for(;S&&S!==document.body&&S!==f;)S.nodeType===S.ELEMENT_NODE&&(_[g++]=this.read(S)),S=S.parentElement;const C=new Uint8Array(g);for(let s=0;s{if(t.options.zIndexa.options.zIndex)return 1;const u=t.options.className,h=a.options.className;return uh?1:y.Range.compareRangesUsingStarts(t.range,a.range)});const s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber,n=[];for(let t=s;t<=i;t++){const a=t-s;n[a]=""}this._renderWholeLineDecorations(f,g,n),this._renderNormalDecorations(f,g,n),this._renderResult=n}_renderWholeLineDecorations(f,_,g){const C=String(this._lineHeight),s=f.visibleRange.startLineNumber,i=f.visibleRange.endLineNumber;for(let n=0,t=_.length;n',h=Math.max(a.range.startLineNumber,s),r=Math.min(a.range.endLineNumber,i);for(let c=h;c<=r;c++){const o=c-s;g[o]+=u}}}_renderNormalDecorations(f,_,g){var C;const s=String(this._lineHeight),i=f.visibleRange.startLineNumber;let n=null,t=!1,a=null,u=!1;for(let h=0,r=_.length;h';t[c]+=m}}}render(f,_){if(!this._renderResult)return"";const g=_-f;return g<0||g>=this._renderResult.length?"":this._renderResult[g]}}e.DecorationsOverlay=D}),define(ne[210],se([1,0,35,14,112,53,5,418]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphMarginWidgets=e.DedupOverlay=e.VisibleLineDecorationsToRender=e.LineDecorationToRender=e.DecorationToRender=void 0;class f{constructor(u,h,r,c){this._decorationToRenderBrand=void 0,this.startLineNumber=+u,this.endLineNumber=+h,this.className=String(r),this.zIndex=c??0}}e.DecorationToRender=f;class _{constructor(u,h){this.className=u,this.zIndex=h}}e.LineDecorationToRender=_;class g{constructor(){this.decorations=[]}add(u){this.decorations.push(u)}getDecorations(){return this.decorations}}e.VisibleLineDecorationsToRender=g;class C extends y.DynamicViewOverlay{_render(u,h,r){const c=[];for(let l=u;l<=h;l++){const p=l-u;c[p]=new g}if(r.length===0)return c;r.sort((l,p)=>l.className===p.className?l.startLineNumber===p.startLineNumber?l.endLineNumber-p.endLineNumber:l.startLineNumber-p.startLineNumber:l.classNamec)continue;const l=Math.max(d.startLineNumber,r),p=Math.min(o.preference.lane,this._glyphMarginDecorationLaneCount);h.push(new n(l,p,o.preference.zIndex,o))}}_collectSortedGlyphRenderRequests(u){const h=[];return this._collectDecorationBasedGlyphRenderRequest(u,h),this._collectWidgetBasedGlyphRenderRequest(u,h),h.sort((r,c)=>r.lineNumber===c.lineNumber?r.lane===c.lane?r.zIndex===c.zIndex?c.type===r.type?r.type===0&&c.type===0?r.className0;){const c=h.peek();if(!c)break;const o=h.takeWhile(l=>l.lineNumber===c.lineNumber&&l.lane===c.lane);if(!o||o.length===0)break;const d=o[0];if(d.type===0){const l=[];for(const p of o){if(p.zIndex!==d.zIndex||p.type!==d.type)break;(l.length===0||l[l.length-1]!==p.className)&&l.push(p.className)}r.push(d.accept(l.join(" ")))}else d.widget.renderInfo={lineNumber:d.lineNumber,lane:d.lane}}this._decorationGlyphsToRender=r}render(u){if(!this._glyphMargin){for(const r of Object.values(this._widgets))r.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){const r=this._managedDomNodes.pop();r?.domNode.remove()}return}const h=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(const r of Object.values(this._widgets))if(!r.renderInfo)r.domNode.setDisplay("none");else{const c=u.viewportData.relativeVerticalOffset[r.renderInfo.lineNumber-u.viewportData.startLineNumber],o=this._glyphMarginLeft+(r.renderInfo.lane-1)*this._lineHeight;r.domNode.setDisplay("block"),r.domNode.setTop(c),r.domNode.setLeft(o),r.domNode.setWidth(h),r.domNode.setHeight(this._lineHeight)}for(let r=0;rthis._decorationGlyphsToRender.length;){const r=this._managedDomNodes.pop();r?.domNode.remove()}}}e.GlyphMarginWidgets=s;class i{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.className=c,this.type=0}accept(u){return new t(this.lineNumber,this.lane,u)}}class n{constructor(u,h,r,c){this.lineNumber=u,this.lane=h,this.zIndex=r,this.widget=c,this.type=1}}class t{constructor(u,h,r){this.lineNumber=u,this.lane=h,this.combinedClassName=r}}}),define(ne[523],se([1,0,210,422]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesDecorationsOverlay=void 0;class k extends L.DedupOverlay{constructor(D){super(),this._context=D;const f=this._context.configuration.options.get(142);this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(D){const f=this._context.configuration.options.get(142);return this._decorationsLeft=f.decorationsLeft,this._decorationsWidth=f.decorationsWidth,!0}onDecorationsChanged(D){return!0}onFlushed(D){return!0}onLinesChanged(D){return!0}onLinesDeleted(D){return!0}onLinesInserted(D){return!0}onScrollChanged(D){return D.scrollTopChanged}onZonesChanged(D){return!0}_getDecorations(D){const S=D.getDecorationsInViewport(),f=[];let _=0;for(let g=0,C=S.length;g',i=[];for(let n=S;n<=f;n++){const t=n-S,a=_[t].getDecorations();let u="";for(const h of a)u+='
    ';g[s]=n}this._renderResult=g}render(D,S){return this._renderResult?this._renderResult[S-D]:""}}e.MarginViewLineDecorationsOverlay=k}),define(ne[525],se([1,0,35,53,426]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewOverlayWidgets=void 0;class y extends k.ViewPart{constructor(S){super(S);const _=this._context.configuration.options.get(142);this._widgets={},this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),k.PartFingerprints.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(S){const _=this._context.configuration.options.get(142);return this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,!0}addWidget(S){const f=(0,L.createFastDomNode)(S.getDomNode());this._widgets[S.getId()]={widget:S,preference:null,domNode:f},f.setPosition("absolute"),f.setAttribute("widgetId",S.getId()),this._domNode.appendChild(f),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(S,f){const _=this._widgets[S.getId()];return _.preference===f?(this._updateMaxMinWidth(),!1):(_.preference=f,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(S){const f=S.getId();if(this._widgets.hasOwnProperty(f)){const g=this._widgets[f].domNode.domNode;delete this._widgets[f],g.parentNode.removeChild(g),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var S,f;let _=0;const g=Object.keys(this._widgets);for(let C=0,s=g.length;C0;){const i=(0,L.createFastDomNode)(document.createElement("div"));i.setClassName("view-ruler"),i.setWidth(C),this.domNode.appendChild(i),this._renderedRulers.push(i),s--}return}let _=S-f;for(;_>0;){const g=this._renderedRulers.pop();this.domNode.removeChild(g),_--}}render(S){this._ensureRulersCount();for(let f=0,_=this._rulers.length;f<_;f++){const g=this._renderedRulers[f],C=this._rulers[f];g.setBoxShadow(C.color?`1px 0 0 0 ${C.color} inset`:""),g.setHeight(Math.min(S.scrollHeight,1e6)),g.setLeft(C.column*this._typicalHalfwidthCharacterWidth)}}}e.Rulers=y}),define(ne[527],se([1,0,35,53,428]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollDecorationViewPart=void 0;class y extends k.ViewPart{constructor(S){super(S),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const _=this._context.configuration.options.get(101);this._useShadows=_.useShadows,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const S=this._useShadows&&this._scrollTop>0;return this._shouldShow!==S?(this._shouldShow=S,!0):!1}getDomNode(){return this._domNode}_updateWidth(){const f=this._context.configuration.options.get(142);f.minimap.renderMinimap===0||f.minimap.minimapWidth>0&&f.minimap.minimapLeft===0?this._width=f.width:this._width=f.width-f.verticalScrollbarWidth}onConfigurationChanged(S){const _=this._context.configuration.options.get(101);return this._useShadows=_.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(S){return this._scrollTop=S.scrollTop,this._updateShouldShow()}prepareRender(S){}render(S){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}e.ScrollDecorationViewPart=y}),define(ne[528],se([1,0,35,9,53,12]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZones=void 0;const S=()=>{throw new Error("Invalid change accessor")};class f extends y.ViewPart{constructor(C){super(C);const s=this._context.configuration.options,i=s.get(142);this._lineHeight=s.get(65),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,L.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,L.createFastDomNode)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const C=this._context.viewLayout.getWhitespaces(),s=new Map;for(const n of C)s.set(n.id,n);let i=!1;return this._context.viewModel.changeWhitespace(n=>{const t=Object.keys(this._zones);for(let a=0,u=t.length;a{const n={addZone:t=>(s=!0,this._addZone(i,t)),removeZone:t=>{t&&(s=this._removeZone(i,t)||s)},layoutZone:t=>{t&&(s=this._layoutZone(i,t)||s)}};_(C,n),n.addZone=S,n.removeZone=S,n.layoutZone=S}),s}_addZone(C,s){const i=this._computeWhitespaceProps(s),t={whitespaceId:C.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(s),i.heightInPx,i.minWidthInPx),delegate:s,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,L.createFastDomNode)(s.domNode),marginDomNode:s.marginDomNode?(0,L.createFastDomNode)(s.marginDomNode):null};return this._safeCallOnComputedHeight(t.delegate,i.heightInPx),t.domNode.setPosition("absolute"),t.domNode.domNode.style.width="100%",t.domNode.setDisplay("none"),t.domNode.setAttribute("monaco-view-zone",t.whitespaceId),this.domNode.appendChild(t.domNode),t.marginDomNode&&(t.marginDomNode.setPosition("absolute"),t.marginDomNode.domNode.style.width="100%",t.marginDomNode.setDisplay("none"),t.marginDomNode.setAttribute("monaco-view-zone",t.whitespaceId),this.marginDomNode.appendChild(t.marginDomNode)),this._zones[t.whitespaceId]=t,this.setShouldRender(),t.whitespaceId}_removeZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s];return delete this._zones[s],C.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,C.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(C){return this._zones.hasOwnProperty(C)?!!this._zones[C].delegate.suppressMouseDown:!1}_heightInPixels(C){return typeof C.heightInPx=="number"?C.heightInPx:typeof C.heightInLines=="number"?this._lineHeight*C.heightInLines:this._lineHeight}_minWidthInPixels(C){return typeof C.minWidthInPx=="number"?C.minWidthInPx:0}_safeCallOnComputedHeight(C,s){if(typeof C.onComputedHeight=="function")try{C.onComputedHeight(s)}catch(i){(0,k.onUnexpectedError)(i)}}_safeCallOnDomNodeTop(C,s){if(typeof C.onDomNodeTop=="function")try{C.onDomNodeTop(s)}catch(i){(0,k.onUnexpectedError)(i)}}prepareRender(C){}render(C){const s=C.viewportData.whitespaceViewportData,i={};let n=!1;for(const a of s)this._zones[a.id].isInHiddenArea||(i[a.id]=a,n=!0);const t=Object.keys(this._zones);for(let a=0,u=t.length;a=i||(t[a++]=new k(Math.max(1,u.startColumn-s+1),Math.min(n+1,u.endColumn-s+1),u.className,u.type));return t}static filter(_,g,C,s){if(_.length===0)return[];const i=[];let n=0;for(let t=0,a=_.length;tg||h.isEmpty()&&(u.type===0||u.type===3))continue;const r=h.startLineNumber===g?h.startColumn:C,c=h.endLineNumber===g?h.endColumn:s;i[n++]=new k(r,c,u.inlineClassName,u.type)}return i}static _typeCompare(_,g){const C=[2,0,1,3];return C[_]-C[g]}static compare(_,g){if(_.startColumn!==g.startColumn)return _.startColumn-g.startColumn;if(_.endColumn!==g.endColumn)return _.endColumn-g.endColumn;const C=k._typeCompare(_.type,g.type);return C!==0?C:_.className!==g.className?_.className0&&this.stopOffsets[0]<_;){let s=0;for(;s+10&&g<_&&(C.push(new y(g,_-1,this.classNames.join(" "),D._metadata(this.metadata))),g=_),g}insert(_,g,C){if(this.count===0||this.stopOffsets[this.count-1]<=_)this.stopOffsets.push(_),this.classNames.push(g),this.metadata.push(C);else for(let s=0;s=_){this.stopOffsets.splice(s,0,_),this.classNames.splice(s,0,g),this.metadata.splice(s,0,C);break}this.count++}}class S{static normalize(_,g){if(g.length===0)return[];const C=[],s=new D;let i=0;for(let n=0,t=g.length;n1){const l=_.charCodeAt(u-2);L.isHighSurrogate(l)&&u--}if(h>1){const l=_.charCodeAt(h-2);L.isHighSurrogate(l)&&h--}const o=u-1,d=h-2;i=s.consumeLowerThan(o,i,C),s.count===0&&(i=o),s.insert(d,r,c)}return s.consumeLowerThan(1073741824,i,C),C}}e.LineDecorationsNormalizer=S}),define(ne[529],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinePart=void 0;class L{constructor(y,D,S,f){this.endIndex=y,this.type=D,this.metadata=S,this.containsRTL=f,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}e.LinePart=L}),define(ne[530],se([1,0,11]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesLayout=e.EditorWhitespace=void 0;class k{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(f){this._hasPending=!0,this._inserts.push(f)}change(f){this._hasPending=!0,this._changes.push(f)}remove(f){this._hasPending=!0,this._removes.push(f)}mustCommit(){return this._hasPending}commit(f){if(!this._hasPending)return;const _=this._inserts,g=this._changes,C=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],f._commitPendingChanges(_,g,C)}}class y{constructor(f,_,g,C,s){this.id=f,this.afterLineNumber=_,this.ordinal=g,this.height=C,this.minWidth=s,this.prefixSum=0}}e.EditorWhitespace=y;class D{constructor(f,_,g,C){this._instanceId=L.singleLetterHash(++D.INSTANCE_COUNT),this._pendingChanges=new k,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=f,this._lineHeight=_,this._paddingTop=g,this._paddingBottom=C}static findInsertionIndex(f,_,g){let C=0,s=f.length;for(;C>>1;_===f[i].afterLineNumber?g{_=!0,C=C|0,s=s|0,i=i|0,n=n|0;const t=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new y(t,C,s,i,n)),t},changeOneWhitespace:(C,s,i)=>{_=!0,s=s|0,i=i|0,this._pendingChanges.change({id:C,newAfterLineNumber:s,newHeight:i})},removeWhitespace:C=>{_=!0,this._pendingChanges.remove({id:C})}})}finally{this._pendingChanges.commit(this)}return _}_commitPendingChanges(f,_,g){if((f.length>0||g.length>0)&&(this._minWidth=-1),f.length+_.length+g.length<=1){for(const t of f)this._insertWhitespace(t);for(const t of _)this._changeOneWhitespace(t.id,t.newAfterLineNumber,t.newHeight);for(const t of g){const a=this._findWhitespaceIndex(t.id);a!==-1&&this._removeWhitespace(a)}return}const C=new Set;for(const t of g)C.add(t.id);const s=new Map;for(const t of _)s.set(t.id,t);const i=t=>{const a=[];for(const u of t)if(!C.has(u.id)){if(s.has(u.id)){const h=s.get(u.id);u.afterLineNumber=h.newAfterLineNumber,u.height=h.newHeight}a.push(u)}return a},n=i(this._arr).concat(i(f));n.sort((t,a)=>t.afterLineNumber===a.afterLineNumber?t.ordinal-a.ordinal:t.afterLineNumber-a.afterLineNumber),this._arr=n,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(f){const _=D.findInsertionIndex(this._arr,f.afterLineNumber,f.ordinal);this._arr.splice(_,0,f),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,_-1)}_findWhitespaceIndex(f){const _=this._arr;for(let g=0,C=_.length;g_&&(this._arr[g].afterLineNumber-=_-f+1)}}onLinesInserted(f,_){this._checkPendingChanges(),f=f|0,_=_|0,this._lineCount+=_-f+1;for(let g=0,C=this._arr.length;g=_.length||_[n+1].afterLineNumber>=f)return n;g=n+1|0}else C=n-1|0}return-1}_findFirstWhitespaceAfterLineNumber(f){f=f|0;const g=this._findLastWhitespaceBeforeLineNumber(f)+1;return g1?g=this._lineHeight*(f-1):g=0;const C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f-(_?1:0));return g+C+this._paddingTop}getVerticalOffsetAfterLineNumber(f,_=!1){this._checkPendingChanges(),f=f|0;const g=this._lineHeight*f,C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(f+(_?1:0));return g+C+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let f=0;for(let _=0,g=this._arr.length;__}isInTopPadding(f){return this._paddingTop===0?!1:(this._checkPendingChanges(),f=_-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(f){if(this._checkPendingChanges(),f=f|0,f<0)return 1;const _=this._lineCount|0,g=this._lineHeight;let C=1,s=_;for(;C=n+g)C=i+1;else{if(f>=n)return i;s=i}}return C>_?_:C}getLinesViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this._lineHeight,C=this.getLineNumberAtOrAfterVerticalOffset(f)|0,s=this.getVerticalOffsetForLineNumber(C)|0;let i=this._lineCount|0,n=this.getFirstWhitespaceIndexAfterLineNumber(C)|0;const t=this.getWhitespacesCount()|0;let a,u;n===-1?(n=t,u=i+1,a=0):(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);let h=s,r=h;const c=5e5;let o=0;s>=c&&(o=Math.floor(s/c)*c,o=Math.floor(o/g)*g,r-=o);const d=[],l=f+(_-f)/2;let p=-1;for(let w=C;w<=i;w++){if(p===-1){const E=h,I=h+g;(E<=l&&ll)&&(p=w)}for(h+=g,d[w-C]=r,r+=g;u===w;)r+=a,h+=a,n++,n>=t?u=i+1:(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,a=this.getHeightForWhitespaceIndex(n)|0);if(h>=_){i=w;break}}p===-1&&(p=i);const m=this.getVerticalOffsetForLineNumber(i)|0;let v=C,b=i;return v_&&b--,{bigNumbersDelta:o,startLineNumber:C,endLineNumber:i,relativeVerticalOffset:d,centeredLineNumber:p,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:b}}getVerticalOffsetForWhitespaceIndex(f){this._checkPendingChanges(),f=f|0;const _=this.getAfterLineNumberForWhitespaceIndex(f);let g;_>=1?g=this._lineHeight*_:g=0;let C;return f>0?C=this.getWhitespacesAccumulatedHeight(f-1):C=0,g+C+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(f){this._checkPendingChanges(),f=f|0;let _=0,g=this.getWhitespacesCount()-1;if(g<0)return-1;const C=this.getVerticalOffsetForWhitespaceIndex(g),s=this.getHeightForWhitespaceIndex(g);if(f>=C+s)return-1;for(;_=n+t)_=i+1;else{if(f>=n)return i;g=i}}return _}getWhitespaceAtVerticalOffset(f){this._checkPendingChanges(),f=f|0;const _=this.getWhitespaceIndexAtOrAfterVerticallOffset(f);if(_<0||_>=this.getWhitespacesCount())return null;const g=this.getVerticalOffsetForWhitespaceIndex(_);if(g>f)return null;const C=this.getHeightForWhitespaceIndex(_),s=this.getIdForWhitespaceIndex(_),i=this.getAfterLineNumberForWhitespaceIndex(_);return{id:s,afterLineNumber:i,verticalOffset:g,height:C}}getWhitespaceViewportData(f,_){this._checkPendingChanges(),f=f|0,_=_|0;const g=this.getWhitespaceIndexAtOrAfterVerticallOffset(f),C=this.getWhitespacesCount()-1;if(g<0)return[];const s=[];for(let i=g;i<=C;i++){const n=this.getVerticalOffsetForWhitespaceIndex(i),t=this.getHeightForWhitespaceIndex(i);if(n>=_)break;s.push({id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:n,height:t})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].id}getAfterLineNumberForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].afterLineNumber}getHeightForWhitespaceIndex(f){return this._checkPendingChanges(),f=f|0,this._arr[f].height}}e.LinesLayout=D,D.INSTANCE_COUNT=0}),define(ne[531],se([1,0,5]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportData=void 0;class k{constructor(D,S,f,_){this.selections=D,this.startLineNumber=S.startLineNumber|0,this.endLineNumber=S.endLineNumber|0,this.relativeVerticalOffset=S.relativeVerticalOffset,this.bigNumbersDelta=S.bigNumbersDelta|0,this.whitespaceViewportData=f,this._model=_,this.visibleRange=new L.Range(S.startLineNumber,this._model.getLineMinColumn(S.startLineNumber),S.endLineNumber,this._model.getLineMaxColumn(S.endLineNumber))}getViewLineRenderingData(D){return this._model.getViewportViewLineRenderingData(this.visibleRange,D)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}e.ViewportData=k}),define(ne[67],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerDecorationsGroup=e.ViewModelDecoration=e.SingleLineInlineDecoration=e.InlineDecoration=e.ViewLineRenderingData=e.ViewLineData=e.MinimapLinesRenderingData=e.Viewport=void 0;class y{constructor(n,t,a,u){this._viewportBrand=void 0,this.top=n|0,this.left=t|0,this.width=a|0,this.height=u|0}}e.Viewport=y;class D{constructor(n,t){this.tabSize=n,this.data=t}}e.MinimapLinesRenderingData=D;class S{constructor(n,t,a,u,h,r,c){this._viewLineDataBrand=void 0,this.content=n,this.continuesWithWrappedLine=t,this.minColumn=a,this.maxColumn=u,this.startVisibleColumn=h,this.tokens=r,this.inlineDecorations=c}}e.ViewLineData=S;class f{constructor(n,t,a,u,h,r,c,o,d,l){this.minColumn=n,this.maxColumn=t,this.content=a,this.continuesWithWrappedLine=u,this.isBasicASCII=f.isBasicASCII(a,r),this.containsRTL=f.containsRTL(a,this.isBasicASCII,h),this.tokens=c,this.inlineDecorations=o,this.tabSize=d,this.startVisibleColumn=l}static isBasicASCII(n,t){return t?L.isBasicASCII(n):!0}static containsRTL(n,t,a){return!t&&a?L.containsRTL(n):!1}}e.ViewLineRenderingData=f;class _{constructor(n,t,a){this.range=n,this.inlineClassName=t,this.type=a}}e.InlineDecoration=_;class g{constructor(n,t,a,u){this.startOffset=n,this.endOffset=t,this.inlineClassName=a,this.inlineClassNameAffectsLetterSpacing=u}toInlineDecoration(n){return new _(new k.Range(n,this.startOffset+1,n,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}e.SingleLineInlineDecoration=g;class C{constructor(n,t){this._viewModelDecorationBrand=void 0,this.range=n,this.options=t}}e.ViewModelDecoration=C;class s{constructor(n,t,a){this.color=n,this.zIndex=t,this.data=a}static cmp(n,t){return n.zIndex===t.zIndex?n.colort.color?1:0:n.zIndex-t.zIndex}}e.OverviewRulerDecorationsGroup=s}),define(ne[532],se([1,0,86,12,111,67]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createModelLineProjection=void 0;function S(n,t){return n===null?t?_.INSTANCE:g.INSTANCE:new f(n,t)}e.createModelLineProjection=S;class f{constructor(t,a){this._projectionData=t,this._isVisible=a}isVisible(){return this._isVisible}setVisible(t){return this._isVisible=t,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(t,a,u){this._assertVisible();const h=u>0?this._projectionData.breakOffsets[u-1]:0,r=this._projectionData.breakOffsets[u];let c;if(this._projectionData.injectionOffsets!==null){const o=this._projectionData.injectionOffsets.map((l,p)=>new y.LineInjectedText(0,0,l+1,this._projectionData.injectionOptions[p],0));c=y.LineInjectedText.applyInjectedText(t.getLineContent(a),o).substring(h,r)}else c=t.getValueInRange({startLineNumber:a,startColumn:h+1,endLineNumber:a,endColumn:r+1});return u>0&&(c=s(this._projectionData.wrappedTextIndentLength)+c),c}getViewLineLength(t,a,u){return this._assertVisible(),this._projectionData.getLineLength(u)}getViewLineMinColumn(t,a,u){return this._assertVisible(),this._projectionData.getMinOutputOffset(u)+1}getViewLineMaxColumn(t,a,u){return this._assertVisible(),this._projectionData.getMaxOutputOffset(u)+1}getViewLineData(t,a,u){const h=new Array;return this.getViewLinesData(t,a,u,1,0,[!0],h),h[0]}getViewLinesData(t,a,u,h,r,c,o){this._assertVisible();const d=this._projectionData,l=d.injectionOffsets,p=d.injectionOptions;let m=null;if(l){m=[];let b=0,w=0;for(let E=0;E0?d.breakOffsets[E-1]:0,P=d.breakOffsets[E];for(;wP)break;if(M0?d.wrappedTextIndentLength:0,O=F+Math.max(T-M,0),W=F+Math.min(A-M,P-M);O!==W&&I.push(new D.SingleLineInlineDecoration(O,W,N.inlineClassName,N.inlineClassNameAffectsLetterSpacing))}}if(A<=P)b+=x,w++;else break}}}let v;l?v=t.tokenization.getLineTokens(a).withInserted(l.map((b,w)=>({offset:b,text:p[w].content,tokenMetadata:L.LineTokens.defaultTokenMetadata}))):v=t.tokenization.getLineTokens(a);for(let b=u;b0?h.wrappedTextIndentLength:0,c=u>0?h.breakOffsets[u-1]:0,o=h.breakOffsets[u],d=t.sliceAndInflate(c,o,r);let l=d.getLineContent();u>0&&(l=s(h.wrappedTextIndentLength)+l);const p=this._projectionData.getMinOutputOffset(u)+1,m=l.length+1,v=u+1=C.length)for(let t=1;t<=n;t++)C[t]=i(t);return C[n]}function i(n){return new Array(n+1).join(" ")}}),define(ne[533],se([1,0,11,121,111,284]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MonospaceLineBreaksComputerFactory=void 0;class S{static create(h){return new S(h.get(131),h.get(130))}constructor(h,r){this.classifier=new f(h,r)}createLineBreaksComputer(h,r,c,o,d){const l=[],p=[],m=[];return{addRequest:(v,b,w)=>{l.push(v),p.push(b),m.push(w)},finalize:()=>{const v=h.typicalFullwidthCharacterWidth/h.typicalHalfwidthCharacterWidth,b=[];for(let w=0,E=l.length;w=0&&h<256?this._asciiMap[h]:h>=12352&&h<=12543||h>=13312&&h<=19903||h>=19968&&h<=40959?3:this._map.get(h)||this._defaultValue}}let _=[],g=[];function C(u,h,r,c,o,d,l,p){if(o===-1)return null;const m=r.length;if(m<=1)return null;const v=p==="keepAll",b=h.breakOffsets,w=h.breakOffsetsVisibleColumn,E=a(r,c,o,d,l),I=o-E,M=_,P=g;let x=0,T=0,A=0,N=o;const F=b.length;let O=0;if(O>=0){let W=Math.abs(w[O]-N);for(;O+1=W)break;W=U,O++}}for(;OW&&(W=T,U=A);let j=0,R=0,K=0,G=0;if(U<=N){let J=U,X=W===0?0:r.charCodeAt(W-1),H=W===0?0:u.get(X),B=!0;for(let V=W;VT&&t(X,H,ie,ae,v)&&(j=Y,R=J),J+=ce,J>N){Y>T?(K=Y,G=J-ce):(K=V+1,G=J),J-R>I&&(j=0),B=!1;break}X=ie,H=ae}if(B){x>0&&(M[x]=b[b.length-1],P[x]=w[b.length-1],x++);break}}if(j===0){let J=U,X=r.charCodeAt(W),H=u.get(X),B=!1;for(let V=W-1;V>=T;V--){const Y=V+1,ie=r.charCodeAt(V);if(ie===9){B=!0;break}let ae,ce;if(L.isLowSurrogate(ie)?(V--,ae=0,ce=2):(ae=u.get(ie),ce=L.isFullWidthCharacter(ie)?d:1),J<=N){if(K===0&&(K=Y,G=J),J<=N-I)break;if(t(ie,ae,X,H,v)){j=Y,R=J;break}}J-=ce,X=ie,H=ae}if(j!==0){const V=I-(G-R);if(V<=c){const Y=r.charCodeAt(K);let ie;L.isHighSurrogate(Y)?ie=2:ie=i(Y,G,c,d),V-ie<0&&(j=0)}}if(B){O--;continue}}if(j===0&&(j=K,R=G),j<=T){const J=r.charCodeAt(T);L.isHighSurrogate(J)?(j=T+2,R=A+2):(j=T+1,R=A+i(J,A,c,d))}for(T=j,M[x]=j,A=R,P[x]=R,x++,N=R+I;O<0||O=Z)break;Z=J,O++}}return x===0?null:(M.length=x,P.length=x,_=h.breakOffsets,g=h.breakOffsetsVisibleColumn,h.breakOffsets=M,h.breakOffsetsVisibleColumn=P,h.wrappedTextIndentLength=E,h)}function s(u,h,r,c,o,d,l,p){const m=y.LineInjectedText.applyInjectedText(h,r);let v,b;if(r&&r.length>0?(v=r.map(R=>R.options),b=r.map(R=>R.column-1)):(v=null,b=null),o===-1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const w=m.length;if(w<=1)return v?new D.ModelLineProjectionData(b,v,[m.length],[],0):null;const E=p==="keepAll",I=a(m,c,o,d,l),M=o-I,P=[],x=[];let T=0,A=0,N=0,F=o,O=m.charCodeAt(0),W=u.get(O),U=i(O,0,c,d),j=1;L.isHighSurrogate(O)&&(U+=1,O=m.charCodeAt(1),W=u.get(O),j++);for(let R=j;RF&&((A===0||U-N>M)&&(A=K,N=U-J),P[T]=A,x[T]=N,T++,F=N+M,A=0),O=G,W=Z}return T===0&&(!r||r.length===0)?null:(P[T]=w,x[T]=U,new D.ModelLineProjectionData(b,v,P,x,I))}function i(u,h,r,c){return u===9?r-h%r:L.isFullWidthCharacter(u)||u<32?c:1}function n(u,h){return h-u%h}function t(u,h,r,c,o){return r!==32&&(h===2&&c!==2||h!==1&&c===1||!o&&h===3&&c!==2||!o&&c===3&&h!==1)}function a(u,h,r,c,o){let d=0;if(o!==0){const l=L.firstNonWhitespaceIndex(u);if(l!==-1){for(let m=0;mr&&(d=0)}}return d}}),define(ne[212],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewZoneManager=e.OverviewRulerZone=e.ColorZone=void 0;class L{constructor(S,f,_){this._colorZoneBrand=void 0,this.from=S|0,this.to=f|0,this.colorId=_|0}static compare(S,f){return S.colorId===f.colorId?S.from===f.from?S.to-f.to:S.from-f.from:S.colorId-f.colorId}}e.ColorZone=L;class k{constructor(S,f,_,g){this._overviewRulerZoneBrand=void 0,this.startLineNumber=S,this.endLineNumber=f,this.heightInLines=_,this.color=g,this._colorZone=null}static compare(S,f){return S.color===f.color?S.startLineNumber===f.startLineNumber?S.heightInLines===f.heightInLines?S.endLineNumber-f.endLineNumber:S.heightInLines-f.heightInLines:S.startLineNumber-f.startLineNumber:S.color_&&(o=_-d);const l=a.color;let p=this._color2Id[l];p||(p=++this._lastAssignedId,this._color2Id[l]=p,this._id2Color[p]=l);const m=new L(o-d,o+d,p);a.setColorZone(m),i.push(m)}return this._colorZonesInvalid=!1,i.sort(L.compare),i}}e.OverviewZoneManager=y}),define(ne[534],se([1,0,35,212,150]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRuler=void 0;class D extends y.ViewEventHandler{constructor(f,_){super(),this._context=f;const g=this._context.configuration.options;this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName(_),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new k.OverviewZoneManager(C=>this._context.viewLayout.getVerticalOffsetForLineNumber(C)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(g.get(65)),this._zoneManager.setPixelRatio(g.get(140)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(f){const _=this._context.configuration.options;return f.hasChanged(65)&&(this._zoneManager.setLineHeight(_.get(65)),this._render()),f.hasChanged(140)&&(this._zoneManager.setPixelRatio(_.get(140)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(f){return this._render(),!0}onScrollChanged(f){return f.scrollHeightChanged&&(this._zoneManager.setOuterHeight(f.scrollHeight),this._render()),!0}onZonesChanged(f){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(f){this._domNode.setTop(f.top),this._domNode.setRight(f.right);let _=!1;_=this._zoneManager.setDOMWidth(f.width)||_,_=this._zoneManager.setDOMHeight(f.height)||_,_&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(f){this._zoneManager.setZones(f),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;const f=this._zoneManager.getCanvasWidth(),_=this._zoneManager.getCanvasHeight(),g=this._zoneManager.resolveColorZones(),C=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,f,_),g.length>0&&this._renderOneLane(s,g,C,f),!0}_renderOneLane(f,_,g,C){let s=0,i=0,n=0;for(const t of _){const a=t.colorId,u=t.from,h=t.to;a!==s?(f.fillRect(0,i,C,n-i),s=a,f.fillStyle=g[s],i=u,n=h):n>=u?n=Math.max(n,h):(f.fillRect(0,i,C,n-i),i=u,n=h)}f.fillRect(0,i,C,n-i)}}e.OverviewRuler=D}),define(ne[535],se([1,0,493]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContext=void 0;class k{constructor(D,S,f){this.configuration=D,this.theme=new L.EditorTheme(S),this.viewModel=f,this.viewLayout=f.viewLayout}addEventHandler(D){this.viewModel.addViewEventHandler(D)}removeEventHandler(D){this.viewModel.removeViewEventHandler(D)}}e.ViewContext=k}),define(ne[213],se([1,0,6,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ModelTokensChangedEvent=e.ModelOptionsChangedEvent=e.ModelContentChangedEvent=e.ModelLanguageConfigurationChangedEvent=e.ModelLanguageChangedEvent=e.ModelDecorationsChangedEvent=e.ReadOnlyEditAttemptEvent=e.CursorStateChangedEvent=e.HiddenAreasChangedEvent=e.ViewZonesChangedEvent=e.ScrollChangedEvent=e.FocusChangedEvent=e.ContentSizeChangedEvent=e.ViewModelEventsCollector=e.ViewModelEventDispatcher=void 0;class y extends k.Disposable{constructor(){super(),this._onEvent=this._register(new L.Emitter),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(o){this._addOutgoingEvent(o),this._emitOutgoingEvents()}_addOutgoingEvent(o){for(let d=0,l=this._outgoingEvents.length;d0;){if(this._collector||this._isConsumingViewEventQueue)return;const o=this._outgoingEvents.shift();o.isNoOp()||this._onEvent.fire(o)}}addViewEventHandler(o){for(let d=0,l=this._eventHandlers.length;d0&&this._emitMany(d)}this._emitOutgoingEvents()}emitSingleViewEvent(o){try{this.beginEmitViewEvents().emitViewEvent(o)}finally{this.endEmitViewEvents()}}_emitMany(o){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(o):this._viewEventQueue=o,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const o=this._viewEventQueue;this._viewEventQueue=null;const d=this._eventHandlers.slice(0);for(const l of d)l.handleEvents(o)}}}e.ViewModelEventDispatcher=y;class D{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(o){this.viewEvents.push(o)}emitOutgoingEvent(o){this.outgoingEvents.push(o)}}e.ViewModelEventsCollector=D;class S{constructor(o,d,l,p){this.kind=0,this._oldContentWidth=o,this._oldContentHeight=d,this.contentWidth=l,this.contentHeight=p,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(o){return o.kind!==this.kind?null:new S(this._oldContentWidth,this._oldContentHeight,o.contentWidth,o.contentHeight)}}e.ContentSizeChangedEvent=S;class f{constructor(o,d){this.kind=1,this.oldHasFocus=o,this.hasFocus=d}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(o){return o.kind!==this.kind?null:new f(this.oldHasFocus,o.hasFocus)}}e.FocusChangedEvent=f;class _{constructor(o,d,l,p,m,v,b,w){this.kind=2,this._oldScrollWidth=o,this._oldScrollLeft=d,this._oldScrollHeight=l,this._oldScrollTop=p,this.scrollWidth=m,this.scrollLeft=v,this.scrollHeight=b,this.scrollTop=w,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(o){return o.kind!==this.kind?null:new _(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,o.scrollWidth,o.scrollLeft,o.scrollHeight,o.scrollTop)}}e.ScrollChangedEvent=_;class g{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.ViewZonesChangedEvent=g;class C{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.HiddenAreasChangedEvent=C;class s{constructor(o,d,l,p,m,v,b){this.kind=6,this.oldSelections=o,this.selections=d,this.oldModelVersionId=l,this.modelVersionId=p,this.source=m,this.reason=v,this.reachedMaxCursorCount=b}static _selectionsAreEqual(o,d){if(!o&&!d)return!0;if(!o||!d)return!1;const l=o.length,p=d.length;if(l!==p)return!1;for(let m=0;m=t?0:u.horizontalScrollbarSize}_getContentHeight(n,t,a){const u=this._configuration.options;let h=this._linesLayout.getLinesTotalHeight();return u.get(103)?h+=Math.max(0,t-u.get(65)-u.get(82).bottom):h+=this._getHorizontalScrollbarHeight(n,a),h}_updateHeight(){const n=this._scrollable.getScrollDimensions(),t=n.width,a=n.height,u=n.contentWidth;this._scrollable.setScrollDimensions(new g(t,n.contentWidth,a,this._getContentHeight(t,a,u)))}getCurrentViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}getFutureViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}_computeContentWidth(){const n=this._configuration.options,t=this._maxLineWidth,a=n.get(143),u=n.get(49),h=n.get(142);if(a.isViewportWrapping){const r=n.get(71);return t>h.contentWidth+u.typicalHalfwidthCharacterWidth&&r.enabled&&r.side==="right"?t+h.verticalScrollbarWidth:t}else{const r=n.get(102)*u.typicalHalfwidthCharacterWidth,c=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+r+h.verticalScrollbarWidth,c,this._overlayWidgetsMinWidth)}}setMaxLineWidth(n){this._maxLineWidth=n,this._updateContentWidth()}setOverlayWidgetsMinWidth(n){this._overlayWidgetsMinWidth=n,this._updateContentWidth()}_updateContentWidth(){const n=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new g(n.width,this._computeContentWidth(),n.height,n.contentHeight)),this._updateHeight()}saveState(){const n=this._scrollable.getFutureScrollPosition(),t=n.scrollTop,a=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),u=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(a);return{scrollTop:t,scrollTopWithoutViewZones:t-u,scrollLeft:n.scrollLeft}}changeWhitespace(n){const t=this._linesLayout.changeWhitespace(n);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(n,t)}getVerticalOffsetAfterLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(n,t)}isAfterLines(n){return this._linesLayout.isAfterLines(n)}isInTopPadding(n){return this._linesLayout.isInTopPadding(n)}isInBottomPadding(n){return this._linesLayout.isInBottomPadding(n)}getLineNumberAtVerticalOffset(n){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(n)}getWhitespaceAtVerticalOffset(n){return this._linesLayout.getWhitespaceAtVerticalOffset(n)}getLinesViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(n.top,n.top+n.height)}getLinesViewportDataAtScrollTop(n){const t=this._scrollable.getScrollDimensions();return n+t.height>t.scrollHeight&&(n=t.scrollHeight-t.height),n<0&&(n=0),this._linesLayout.getLinesViewportData(n,n+t.height)}getWhitespaceViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(n.top,n.top+n.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(n){return this._scrollable.validateScrollPosition(n)}setScrollPosition(n,t){t===1?this._scrollable.setScrollPositionNow(n):this._scrollable.setScrollPositionSmooth(n)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(n,t){const a=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:a.scrollLeft+n,scrollTop:a.scrollTop+t})}}e.ViewLayout=s}),define(ne[537],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveCaretCommand=void 0;class y{constructor(S,f){this._selection=S,this._isMovingLeft=f}getEditOperations(S,f){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const _=this._selection.startLineNumber,g=this._selection.startColumn,C=this._selection.endColumn;if(!(this._isMovingLeft&&g===1)&&!(!this._isMovingLeft&&C===S.getLineMaxColumn(_)))if(this._isMovingLeft){const s=new L.Range(_,g-1,_,g),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,C,_,C),i)}else{const s=new L.Range(_,C,_,C+1),i=S.getValueInRange(s);f.addEditOperation(s,null),f.addEditOperation(new L.Range(_,g,_,g),i)}}computeCursorState(S,f){return this._isMovingLeft?new k.Selection(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new k.Selection(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}e.MoveCaretCommand=y}),define(ne[113],se([1,0,9]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionItem=e.CodeActionCommandArgs=e.filtersAction=e.mayIncludeActionsOfKind=e.CodeActionTriggerSource=e.CodeActionKind=void 0;class k{constructor(s){this.value=s}equals(s){return this.value===s.value}contains(s){return this.equals(s)||this.value===""||s.value.startsWith(this.value+k.sep)}intersects(s){return this.contains(s)||s.contains(this)}append(s){return new k(this.value+k.sep+s)}}e.CodeActionKind=k,k.sep=".",k.None=new k("@@none@@"),k.Empty=new k(""),k.QuickFix=new k("quickfix"),k.Refactor=new k("refactor"),k.RefactorExtract=k.Refactor.append("extract"),k.RefactorInline=k.Refactor.append("inline"),k.RefactorMove=k.Refactor.append("move"),k.RefactorRewrite=k.Refactor.append("rewrite"),k.Source=new k("source"),k.SourceOrganizeImports=k.Source.append("organizeImports"),k.SourceFixAll=k.Source.append("fixAll"),k.SurroundWith=k.Refactor.append("surround");var y;(function(C){C.Refactor="refactor",C.RefactorPreview="refactor preview",C.Lightbulb="lightbulb",C.Default="other (default)",C.SourceAction="source action",C.QuickFix="quick fix action",C.FixAll="fix all",C.OrganizeImports="organize imports",C.AutoFix="auto fix",C.QuickFixHover="quick fix hover window",C.OnSave="save participants",C.ProblemsView="problems view"})(y||(e.CodeActionTriggerSource=y={}));function D(C,s){return!(C.include&&!C.include.intersects(s)||C.excludes&&C.excludes.some(i=>f(s,i,C.include))||!C.includeSourceActions&&k.Source.contains(s))}e.mayIncludeActionsOfKind=D;function S(C,s){const i=s.kind?new k(s.kind):void 0;return!(C.include&&(!i||!C.include.contains(i))||C.excludes&&i&&C.excludes.some(n=>f(i,n,C.include))||!C.includeSourceActions&&i&&k.Source.contains(i)||C.onlyIncludePreferredActions&&!s.isPreferred)}e.filtersAction=S;function f(C,s,i){return!(!s.contains(C)||i&&s.contains(i))}class _{static fromUser(s,i){return!s||typeof s!="object"?new _(i.kind,i.apply,!1):new _(_.getKindFromUser(s,i.kind),_.getApplyFromUser(s,i.apply),_.getPreferredUser(s))}static getApplyFromUser(s,i){switch(typeof s.apply=="string"?s.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return i}}static getKindFromUser(s,i){return typeof s.kind=="string"?new k(s.kind):i}static getPreferredUser(s){return typeof s.preferred=="boolean"?s.preferred:!1}constructor(s,i,n){this.kind=s,this.apply=i,this.preferred=n}}e.CodeActionCommandArgs=_;class g{constructor(s,i){this.action=s,this.provider=i}resolve(s){var i;return we(this,void 0,void 0,function*(){if(!((i=this.provider)===null||i===void 0)&&i.resolveCodeAction&&!this.action.edit){let n;try{n=yield this.provider.resolveCodeAction(this.action,s)}catch(t){(0,L.onUnexpectedExternalError)(t)}n&&(this.action.edit=n.edit)}return this})}}e.CodeActionItem=g}),define(ne[538],se([1,0,6]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerModel=void 0;class k{get color(){return this._color}set color(D){this._color.equals(D)||(this._color=D,this._onDidChangeColor.fire(D))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(D){this._colorPresentations=D,this.presentationIndex>D.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(D,S,f){this.presentationIndex=f,this._onColorFlushed=new L.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new L.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new L.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=D,this._color=D,this._colorPresentations=S}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(D,S){let f=-1;for(let _=0;_i)return!1;for(let n=0;n=65&&t<=90&&t+32===a)&&!(a>=65&&a<=90&&a+32===t))return!1}return!0}_createOperationsForBlockComment(_,g,C,s,i,n){const t=_.startLineNumber,a=_.startColumn,u=_.endLineNumber,h=_.endColumn,r=i.getLineContent(t),c=i.getLineContent(u);let o=r.lastIndexOf(g,a-1+g.length),d=c.indexOf(C,h-1-C.length);if(o!==-1&&d!==-1)if(t===u)r.substring(o+g.length,d).indexOf(C)>=0&&(o=-1,d=-1);else{const p=r.substring(o+g.length),m=c.substring(0,d);(p.indexOf(C)>=0||m.indexOf(C)>=0)&&(o=-1,d=-1)}let l;o!==-1&&d!==-1?(s&&o+g.length0&&c.charCodeAt(d-1)===32&&(C=" "+C,d-=1),l=S._createRemoveBlockCommentOperations(new y.Range(t,o+g.length+1,u,d+1),g,C)):(l=S._createAddBlockCommentOperations(_,g,C,this._insertSpace),this._usedEndToken=l.length===1?C:null);for(const p of l)n.addTrackedEditOperation(p.range,p.text)}static _createRemoveBlockCommentOperations(_,g,C){const s=[];return y.Range.isEmpty(_)?s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.endLineNumber,_.endColumn+C.length))):(s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-g.length,_.startLineNumber,_.startColumn))),s.push(L.EditOperation.delete(new y.Range(_.endLineNumber,_.endColumn,_.endLineNumber,_.endColumn+C.length)))),s}static _createAddBlockCommentOperations(_,g,C,s){const i=[];return y.Range.isEmpty(_)?i.push(L.EditOperation.replace(new y.Range(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn),g+" "+C)):(i.push(L.EditOperation.insert(new k.Position(_.startLineNumber,_.startColumn),g+(s?" ":""))),i.push(L.EditOperation.insert(new k.Position(_.endLineNumber,_.endColumn),(s?" ":"")+C))),i}getEditOperations(_,g){const C=this._selection.startLineNumber,s=this._selection.startColumn;_.tokenization.tokenizeIfCheap(C);const i=_.getLanguageIdAtPosition(C,s),n=this.languageConfigurationService.getLanguageConfiguration(i).comments;!n||!n.blockCommentStartToken||!n.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,n.blockCommentStartToken,n.blockCommentEndToken,this._insertSpace,_,g)}computeCursorState(_,g){const C=g.getInverseEditOperations();if(C.length===2){const s=C[0],i=C[1];return new D.Selection(s.range.endLineNumber,s.range.endColumn,i.range.startLineNumber,i.range.startColumn)}else{const s=C[0].range,i=this._usedEndToken?-this._usedEndToken.length-1:0;return new D.Selection(s.endLineNumber,s.endColumn+i,s.endLineNumber,s.endColumn+i)}}}e.BlockCommentCommand=S}),define(ne[539],se([1,0,11,73,12,5,24,290]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineCommentCommand=void 0;class _{constructor(C,s,i,n,t,a,u){this.languageConfigurationService=C,this._selection=s,this._tabSize=i,this._type=n,this._insertSpace=t,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=a,this._ignoreFirstLine=u||!1}static _gatherPreflightCommentStrings(C,s,i,n){C.tokenization.tokenizeIfCheap(s);const t=C.getLanguageIdAtPosition(s,1),a=n.getLanguageConfiguration(t).comments,u=a?a.lineCommentToken:null;if(!u)return null;const h=[];for(let r=0,c=i-s+1;rt?s[h].commentStrOffset=a-1:s[h].commentStrOffset=a}}}e.LineCommentCommand=_}),define(ne[540],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropCommand=void 0;class y{constructor(S,f,_){this.selection=S,this.targetPosition=f,this.copy=_,this.targetSelection=null}getEditOperations(S,f){const _=S.getValueInRange(this.selection);if(this.copy||f.addEditOperation(this.selection,null),f.addEditOperation(new L.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),_),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new k.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new k.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber0){const f=[];for(let C=0;CL.Range.compareRangesUsingStarts(C.range,s.range));const _=[];let g=f[0];for(let C=1;C0){const h=[],r=a.caseOps.length;let c=0;for(let o=0,d=u.length;o=r){h.push(u.slice(o));break}switch(a.caseOps[c]){case"U":h.push(u[o].toUpperCase());break;case"u":h.push(u[o].toUpperCase()),c++;break;case"L":h.push(u[o].toLowerCase());break;case"l":h.push(u[o].toLowerCase()),c++;break;default:h.push(u[o])}}u=h.join("")}i+=u}return i}static _substitute(C,s){if(s===null)return"";if(C===0)return s[0];let i="";for(;C>0;){if(C=n)break;const a=g.charCodeAt(i);switch(a){case 92:s.emitUnchanged(i-1),s.emitStatic("\\",i+1);break;case 110:s.emitUnchanged(i-1),s.emitStatic(` -`,i+1);break;case 116:s.emitUnchanged(i-1),s.emitStatic(" ",i+1);break;case 117:case 85:case 108:case 76:s.emitUnchanged(i-1),s.emitStatic("",i+1),C.push(String.fromCharCode(a));break}continue}if(t===36){if(i++,i>=n)break;const a=g.charCodeAt(i);if(a===36){s.emitUnchanged(i-1),s.emitStatic("$",i+1);continue}if(a===48||a===38){s.emitUnchanged(i-1),s.emitMatchIndex(0,i+1,C),C.length=0;continue}if(49<=a&&a<=57){let u=a-48;if(i+1e.MAX_FOLDING_REGIONS)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=f,this._endIndexes=_,this._collapseStates=new k(f.length),this._userDefinedStates=new k(f.length),this._recoveredStates=new k(f.length),this._types=g,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const f=[],_=(g,C)=>{const s=f[f.length-1];return this.getStartLineNumber(s)<=g&&this.getEndLineNumber(s)>=C};for(let g=0,C=this._startIndexes.length;ge.MAX_LINE_NUMBER||i>e.MAX_LINE_NUMBER)throw new Error("startLineNumber or endLineNumber must not exceed "+e.MAX_LINE_NUMBER);for(;f.length>0&&!_(s,i);)f.pop();const n=f.length>0?f[f.length-1]:-1;f.push(g),this._startIndexes[g]=s+((n&255)<<24),this._endIndexes[g]=i+((n&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(f){return this._startIndexes[f]&e.MAX_LINE_NUMBER}getEndLineNumber(f){return this._endIndexes[f]&e.MAX_LINE_NUMBER}getType(f){return this._types?this._types[f]:void 0}hasTypes(){return!!this._types}isCollapsed(f){return this._collapseStates.get(f)}setCollapsed(f,_){this._collapseStates.set(f,_)}isUserDefined(f){return this._userDefinedStates.get(f)}setUserDefined(f,_){return this._userDefinedStates.set(f,_)}isRecovered(f){return this._recoveredStates.get(f)}setRecovered(f,_){return this._recoveredStates.set(f,_)}getSource(f){return this.isUserDefined(f)?1:this.isRecovered(f)?2:0}setSource(f,_){_===1?(this.setUserDefined(f,!0),this.setRecovered(f,!1)):_===2?(this.setUserDefined(f,!1),this.setRecovered(f,!0)):(this.setUserDefined(f,!1),this.setRecovered(f,!1))}setCollapsedAllOfType(f,_){let g=!1;if(this._types)for(let C=0;C>>24)+((this._endIndexes[f]&L)>>>16);return _===e.MAX_FOLDING_REGIONS?-1:_}contains(f,_){return this.getStartLineNumber(f)<=_&&this.getEndLineNumber(f)>=_}findIndex(f){let _=0,g=this._startIndexes.length;if(g===0)return-1;for(;_=0){if(this.getEndLineNumber(_)>=f)return _;for(_=this.getParentIndex(_);_!==-1;){if(this.contains(_,f))return _;_=this.getParentIndex(_)}}return-1}toString(){const f=[];for(let _=0;_Array.isArray(d)?p=>pp=u.startLineNumber))a&&a.startLineNumber===u.startLineNumber?(u.source===1?d=u:(d=a,d.isCollapsed=u.isCollapsed&&a.endLineNumber===u.endLineNumber,d.source=0),a=s(++n)):(d=u,u.isCollapsed&&u.source===0&&(d.source=2)),u=i(++t);else{let l=t,p=u;for(;;){if(!p||p.startLineNumber>a.endLineNumber){d=a;break}if(p.source===1&&p.endLineNumber>a.endLineNumber)break;p=i(++l)}a=s(++n)}if(d){for(;r&&r.endLineNumberd.startLineNumber&&d.startLineNumber>c&&d.endLineNumber<=g&&(!r||r.endLineNumber>=d.endLineNumber)&&(o.push(d),c=d.startLineNumber,r&&h.push(r),r=d)}}return o}}e.FoldingRegions=y;class D{constructor(f,_){this.ranges=f,this.index=_}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(f){return f.startLineNumber<=this.startLineNumber&&f.endLineNumber>=this.endLineNumber}containsLine(f){return this.startLineNumber<=f&&f<=this.endLineNumber}}e.FoldingRegion=D}),define(ne[291],se([1,0,6,182,143]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNextFoldLine=e.getPreviousFoldLine=e.getParentFoldLine=e.setCollapseStateForType=e.setCollapseStateForMatchingLines=e.setCollapseStateForRest=e.setCollapseStateAtLevel=e.setCollapseStateUp=e.setCollapseStateLevelsUp=e.setCollapseStateLevelsDown=e.toggleCollapseState=e.FoldingModel=void 0;class D{get regions(){return this._regions}get textModel(){return this._textModel}constructor(r,c){this._updateEventEmitter=new L.Emitter,this.onDidChange=this._updateEventEmitter.event,this._textModel=r,this._decorationProvider=c,this._regions=new k.FoldingRegions(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}toggleCollapseState(r){if(!r.length)return;r=r.sort((o,d)=>o.regionIndex-d.regionIndex);const c={};this._decorationProvider.changeDecorations(o=>{let d=0,l=-1,p=-1;const m=v=>{for(;dp&&(p=b),d++}};for(const v of r){const b=v.regionIndex,w=this._editorDecorationIds[b];if(w&&!c[w]){c[w]=!0,m(b);const E=!this._regions.isCollapsed(b);this._regions.setCollapsed(b,E),l=Math.max(l,this._regions.getEndLineNumber(b))}}m(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:r})}removeManualRanges(r){const c=new Array,o=d=>{for(const l of r)if(!(l.startLineNumber>d.endLineNumber||d.startLineNumber>l.endLineNumber))return!0;return!1};for(let d=0;do&&(o=m)}this._decorationProvider.changeDecorations(d=>this._editorDecorationIds=d.deltaDecorations(this._editorDecorationIds,c)),this._regions=r,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(r=[]){const c=(d,l)=>{for(const p of r)if(d=p.endLineNumber||p.startLineNumber<1||p.endLineNumber>o)continue;const m=this._getLinesChecksum(p.startLineNumber+1,p.endLineNumber);c.push({startLineNumber:p.startLineNumber,endLineNumber:p.endLineNumber,isCollapsed:p.isCollapsed,source:p.source,checksum:m})}return c.length>0?c:void 0}applyMemento(r){var c,o;if(!Array.isArray(r))return;const d=[],l=this._textModel.getLineCount();for(const m of r){if(m.startLineNumber>=m.endLineNumber||m.startLineNumber<1||m.endLineNumber>l)continue;const v=this._getLinesChecksum(m.startLineNumber+1,m.endLineNumber);(!m.checksum||v===m.checksum)&&d.push({startLineNumber:m.startLineNumber,endLineNumber:m.endLineNumber,type:void 0,isCollapsed:(c=m.isCollapsed)!==null&&c!==void 0?c:!0,source:(o=m.source)!==null&&o!==void 0?o:0})}const p=k.FoldingRegions.sanitizeAndMerge(this._regions,d,l);this.updatePost(k.FoldingRegions.fromFoldRanges(p))}_getLinesChecksum(r,c){return(0,y.hash)(this._textModel.getLineContent(r)+this._textModel.getLineContent(c))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(r,c){const o=[];if(this._regions){let d=this._regions.findRange(r),l=1;for(;d>=0;){const p=this._regions.toRegion(d);(!c||c(p,l))&&o.push(p),l++,d=p.parentIndex}}return o}getRegionAtLine(r){if(this._regions){const c=this._regions.findRange(r);if(c>=0)return this._regions.toRegion(c)}return null}getRegionsInside(r,c){const o=[],d=r?r.regionIndex+1:0,l=r?r.endLineNumber:Number.MAX_VALUE;if(c&&c.length===2){const p=[];for(let m=d,v=this._regions.length;m0&&!b.containedBy(p[p.length-1]);)p.pop();p.push(b),c(b,p.length)&&o.push(b)}else break}}else for(let p=d,m=this._regions.length;p1){const m=h.getRegionsInside(l,(v,b)=>v.isCollapsed!==p&&b0)for(const l of o){const p=h.getRegionAtLine(l);if(p&&(p.isCollapsed!==r&&d.push(p),c>1)){const m=h.getRegionsInside(p,(v,b)=>v.isCollapsed!==r&&bp.isCollapsed!==r&&mm.isCollapsed!==r&&v<=c);d.push(...p)}h.toggleCollapseState(d)}e.setCollapseStateLevelsUp=_;function g(h,r,c){const o=[];for(const d of c){const l=h.getAllRegionsAtLine(d,p=>p.isCollapsed!==r);l.length>0&&o.push(l[0])}h.toggleCollapseState(o)}e.setCollapseStateUp=g;function C(h,r,c,o){const d=(p,m)=>m===r&&p.isCollapsed!==c&&!o.some(v=>p.containsLine(v)),l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateAtLevel=C;function s(h,r,c){const o=[];for(const p of c){const m=h.getAllRegionsAtLine(p,void 0);m.length>0&&o.push(m[0])}const d=p=>o.every(m=>!m.containedBy(p)&&!p.containedBy(m))&&p.isCollapsed!==r,l=h.getRegionsInside(null,d);h.toggleCollapseState(l)}e.setCollapseStateForRest=s;function i(h,r,c){const o=h.textModel,d=h.regions,l=[];for(let p=d.length-1;p>=0;p--)if(c!==d.isCollapsed(p)){const m=d.getStartLineNumber(p);r.test(o.getLineContent(m))&&l.push(d.toRegion(p))}h.toggleCollapseState(l)}e.setCollapseStateForMatchingLines=i;function n(h,r,c){const o=h.regions,d=[];for(let l=o.length-1;l>=0;l--)c!==o.isCollapsed(l)&&r===o.getType(l)&&d.push(o.toRegion(l));h.toggleCollapseState(d)}e.setCollapseStateForType=n;function t(h,r){let c=null;const o=r.getRegionAtLine(h);if(o!==null&&(c=o.startLineNumber,h===c)){const d=o.parentIndex;d!==-1?c=r.regions.getStartLineNumber(d):c=null}return c}e.getParentFoldLine=t;function a(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){if(h!==c.startLineNumber)return c.startLineNumber;{const o=c.parentIndex;let d=0;for(o!==-1&&(d=r.regions.getStartLineNumber(c.parentIndex));c!==null;)if(c.regionIndex>0){if(c=r.regions.toRegion(c.regionIndex-1),c.startLineNumber<=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}}else if(r.regions.length>0)for(c=r.regions.toRegion(r.regions.length-1);c!==null;){if(c.startLineNumber0?c=r.regions.toRegion(c.regionIndex-1):c=null}return null}e.getPreviousFoldLine=a;function u(h,r){let c=r.getRegionAtLine(h);if(c!==null&&c.startLineNumber===h){const o=c.parentIndex;let d=0;if(o!==-1)d=r.regions.getEndLineNumber(c.parentIndex);else{if(r.regions.length===0)return null;d=r.regions.getEndLineNumber(r.regions.length-1)}for(;c!==null;)if(c.regionIndex=d)return null;if(c.parentIndex===o)return c.startLineNumber}else return null}else if(r.regions.length>0)for(c=r.regions.toRegion(0);c!==null;){if(c.startLineNumber>h)return c.startLineNumber;c.regionIndexthis.updateHiddenRanges()),this._hiddenRanges=[],C.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(C){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=C.changes.some(s=>s.range.endLineNumber!==s.range.startLineNumber||(0,D.countEOL)(s.text)[0]!==0))}updateHiddenRanges(){let C=!1;const s=[];let i=0,n=0,t=Number.MAX_VALUE,a=-1;const u=this._foldingModel.regions;for(;i0}isHidden(C){return _(this._hiddenRanges,C)!==null}adjustSelections(C){let s=!1;const i=this._foldingModel.textModel;let n=null;const t=a=>((!n||!f(a,n))&&(n=_(this._hiddenRanges,a)),n?n.startLineNumber-1:null);for(let a=0,u=C.length;a0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}e.HiddenRangeModel=S;function f(g,C){return g>=C.startLineNumber&&g<=C.endLineNumber}function _(g,C){const s=(0,L.findFirstInSorted)(g,i=>C=0&&g[s].endLineNumber>=C?g[s]:null}}),define(ne[292],se([1,0,207,182]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeRanges=e.RangesCollector=e.IndentRangeProvider=void 0;const y=5e3,D="indent";class S{constructor(s,i,n){this.editorModel=s,this.languageConfigurationService=i,this.foldingRangesLimit=n,this.id=D}dispose(){}compute(s){const i=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,n=i&&!!i.offSide,t=i&&i.markers;return Promise.resolve(g(this.editorModel,n,t,this.foldingRangesLimit))}}e.IndentRangeProvider=S;class f{constructor(s){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=s}insertFirst(s,i,n){if(s>k.MAX_LINE_NUMBER||i>k.MAX_LINE_NUMBER)return;const t=this._length;this._startIndexes[t]=s,this._endIndexes[t]=i,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(s){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=this._length-1,u=0;a>=0;a--,u++)n[u]=this._startIndexes[a],t[u]=this._endIndexes[a];return new k.FoldingRegions(n,t)}else{this._foldingRangesLimit.update(this._length,i);let n=0,t=this._indentOccurrences.length;for(let r=0;ri){t=r;break}n+=c}}const a=s.getOptions().tabSize,u=new Uint32Array(i),h=new Uint32Array(i);for(let r=this._length-1,c=0;r>=0;r--){const o=this._startIndexes[r],d=s.getLineContent(o),l=(0,L.computeIndentLevel)(d,a);(l{}};function g(C,s,i,n=_){const t=C.getOptions().tabSize,a=new f(n);let u;i&&(u=new RegExp(`(${i.start.source})|(?:${i.end.source})`));const h=[],r=C.getLineCount()+1;h.push({indent:-1,endAbove:r,line:r});for(let c=C.getLineCount();c>0;c--){const o=C.getLineContent(c),d=(0,L.computeIndentLevel)(o,t);let l=h[h.length-1];if(d===-1){s&&(l.endAbove=c);continue}let p;if(u&&(p=o.match(u)))if(p[1]){let m=h.length-1;for(;m>0&&h[m].indent!==-2;)m--;if(m>0){h.length=m+1,l=h[m],a.insertFirst(c,l.line,d),l.line=c,l.indent=d,l.endAbove=c;continue}}else{h.push({indent:-2,endAbove:c,line:c});continue}if(l.indent>d){do h.pop(),l=h[h.length-1];while(l.indent>d);const m=l.endAbove-1;m-c>=1&&a.insertFirst(c,m,d)}l.indent===d?l.endAbove=c:h.push({indent:d,endAbove:c,line:c})}return a.toIndentRanges(C)}e.computeRanges=g}),define(ne[293],se([1,0,9,2,182]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeRanges=e.SyntaxRangeProvider=void 0;const D={},S="syntax";class f{constructor(i,n,t,a,u){this.editorModel=i,this.providers=n,this.handleFoldingRangesChange=t,this.foldingRangesLimit=a,this.fallbackRangeProvider=u,this.id=S,this.disposables=new k.DisposableStore,u&&this.disposables.add(u);for(const h of n)typeof h.onDidChange=="function"&&this.disposables.add(h.onDidChange(t))}compute(i){return _(this.providers,this.editorModel,i).then(n=>{var t,a;return n?C(n,this.foldingRangesLimit):(a=(t=this.fallbackRangeProvider)===null||t===void 0?void 0:t.compute(i))!==null&&a!==void 0?a:null})}dispose(){this.disposables.dispose()}}e.SyntaxRangeProvider=f;function _(s,i,n){let t=null;const a=s.map((u,h)=>Promise.resolve(u.provideFoldingRanges(i,D,n)).then(r=>{if(!n.isCancellationRequested&&Array.isArray(r)){Array.isArray(t)||(t=[]);const c=i.getLineCount();for(const o of r)o.start>0&&o.end>o.start&&o.end<=c&&t.push({start:o.start,end:o.end,rank:h,kind:o.kind})}},L.onUnexpectedExternalError));return Promise.all(a).then(u=>t)}class g{constructor(i){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=i}add(i,n,t,a){if(i>y.MAX_LINE_NUMBER||n>y.MAX_LINE_NUMBER)return;const u=this._length;this._startIndexes[u]=i,this._endIndexes[u]=n,this._nestingLevels[u]=a,this._types[u]=t,this._length++,a<30&&(this._nestingLevelCounts[a]=(this._nestingLevelCounts[a]||0)+1)}toIndentRanges(){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let a=0;ai){t=r;break}n+=c}}const a=new Uint32Array(i),u=new Uint32Array(i),h=[];for(let r=0,c=0;r{let c=h.start-r.start;return c===0&&(c=h.rank-r.rank),c}),t=new g(i);let a;const u=[];for(const h of n)if(!a)a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else if(h.start>a.start)if(h.end<=a.end)u.push(a),a=h,t.add(h.start,h.end,h.kind&&h.kind.value,u.length);else{if(h.start>a.end){do a=u.pop();while(a&&h.start>a.end);a&&u.push(a),a=h}t.add(h.start,h.end,h.kind&&h.kind.value,u.length)}return t.toIndentRanges()}e.sanitizeRanges=C}),define(ne[294],se([1,0,73,5,108]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormattingEdit=void 0;class D{static _handleEolEdits(f,_){let g;const C=[];for(const s of _)typeof s.eol=="number"&&(g=s.eol),s.range&&typeof s.text=="string"&&C.push(s);return typeof g=="number"&&f.hasModel()&&f.getModel().pushEOL(g),C}static _isFullModelReplaceEdit(f,_){if(!f.hasModel())return!1;const g=f.getModel(),C=g.validateRange(_.range);return g.getFullModelRange().equalsRange(C)}static execute(f,_,g){g&&f.pushUndoStop();const C=y.StableEditorScrollState.capture(f),s=D._handleEolEdits(f,_);s.length===1&&D._isFullModelReplaceEdit(f,s[0])?f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replace(k.Range.lift(i.range),i.text))):f.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replaceMove(k.Range.lift(i.range),i.text))),g&&f.pushUndoStop(),C.restoreRelativeVerticalPositionOfCursor(f)}}e.FormattingEdit=D}),define(ne[103],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverParticipantRegistry=e.HoverForeignElementAnchor=e.HoverRangeAnchor=void 0;class L{constructor(D,S,f,_){this.priority=D,this.range=S,this.initialMousePosX=f,this.initialMousePosY=_,this.type=1}equals(D){return D.type===1&&this.range.equalsRange(D.range)}canAdoptVisibleHover(D,S){return D.type===1&&S.lineNumber===this.range.startLineNumber}}e.HoverRangeAnchor=L;class k{constructor(D,S,f,_,g,C){this.priority=D,this.owner=S,this.range=f,this.initialMousePosX=_,this.initialMousePosY=g,this.supportsMarkerHover=C,this.type=2}equals(D){return D.type===2&&this.owner===D.owner}canAdoptVisibleHover(D,S){return D.type===2&&this.owner===D.owner}}e.HoverForeignElementAnchor=k,e.HoverParticipantRegistry=new class{constructor(){this._participants=[]}register(D){this._participants.push(D)}getAll(){return this._participants}}}),define(ne[544],se([1,0,24]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InPlaceReplaceCommand=void 0;class k{constructor(D,S,f){this._editRange=D,this._originalSelection=S,this._text=f}getEditOperations(D,S){S.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(D,S){const _=S.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new L.Selection(_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn),_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn)):new L.Selection(_.endLineNumber,_.endColumn-this._text.length,_.endLineNumber,_.endColumn)}}e.InPlaceReplaceCommand=k}),define(ne[295],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateIndent=e.getSpaceCnt=void 0;function L(y,D){let S=0;for(let f=0;f{const o=S.Range.lift(c.range);return{startOffset:h.getOffset(o.getStartPosition()),endOffset:h.getOffset(o.getEndPosition()),text:c.text}});r.sort((c,o)=>o.startOffset-c.startOffset);for(const c of r)a=a.substring(0,c.startOffset)+c.text+a.substring(c.endOffset);return a}e.applyEdits=f;class _{constructor(u){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let h=0;hh)throw new L.BugIndicatingError(`startColumn ${u} cannot be after endColumnExclusive ${h}`)}toRange(u){return new S.Range(u,this.startColumn,u,this.endColumnExclusive)}equals(u){return this.startColumn===u.startColumn&&this.endColumnExclusive===u.endColumnExclusive}}e.ColumnRange=s;function i(a,u){const h=new k.DisposableStore,r=a.createDecorationsCollection();return h.add((0,y.autorunOpts)({debugName:()=>`Apply decorations from ${u.debugName}`},c=>{const o=u.read(c);r.set(o)})),h.add({dispose:()=>{r.clear()}}),h}e.applyObservableDecorations=i;function n(a,u){return new D.Position(a.lineNumber+u.lineNumber-1,u.lineNumber===1?a.column+u.column-1:u.column)}e.addPositions=n;function t(a){let u=1,h=1;for(const r of a)r===` -`?(u++,h=1):h++;return new D.Position(u,h)}e.lengthOfText=t}),define(ne[215],se([1,0,151]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ghostTextOrReplacementEquals=e.GhostTextReplacement=e.GhostTextPart=e.GhostText=void 0;class k{constructor(_,g){this.lineNumber=_,this.parts=g}equals(_){return this.lineNumber===_.lineNumber&&this.parts.length===_.parts.length&&this.parts.every((g,C)=>g.equals(_.parts[C]))}renderForScreenReader(_){if(this.parts.length===0)return"";const g=this.parts[this.parts.length-1],C=_.substr(0,g.column-1);return(0,L.applyEdits)(C,this.parts.map(i=>({range:{startLineNumber:1,endLineNumber:1,startColumn:i.column,endColumn:i.column},text:i.lines.join(` -`)}))).substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(_=>_.lines.length===0)}get lineCount(){return 1+this.parts.reduce((_,g)=>_+g.lines.length-1,0)}}e.GhostText=k;class y{constructor(_,g,C){this.column=_,this.lines=g,this.preview=C}equals(_){return this.column===_.column&&this.lines.length===_.lines.length&&this.lines.every((g,C)=>g===_.lines[C])}}e.GhostTextPart=y;class D{constructor(_,g,C,s=0){this.lineNumber=_,this.columnRange=g,this.newLines=C,this.additionalReservedLineCount=s,this.parts=[new y(this.columnRange.endColumnExclusive,this.newLines,!1)]}renderForScreenReader(_){return this.newLines.join(` -`)}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(_=>_.lines.length===0)}equals(_){return this.lineNumber===_.lineNumber&&this.columnRange.equals(_.columnRange)&&this.newLines.length===_.newLines.length&&this.newLines.every((g,C)=>g===_.newLines[C])&&this.additionalReservedLineCount===_.additionalReservedLineCount}}e.GhostTextReplacement=D;function S(f,_){return f===_?!0:!f||!_?!1:f instanceof k&&_ instanceof k||f instanceof D&&_ instanceof D?f.equals(_):!1}e.ghostTextOrReplacementEquals=S}),define(ne[296],se([1,0,168,11,5,215,151]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SingleTextEdit=void 0;class f{constructor(t,a){this.range=t,this.text=a}removeCommonPrefix(t,a){const u=a?this.range.intersectRanges(a):this.range;if(!u)return this;const h=t.getValueInRange(u,1),r=(0,k.commonPrefixLength)(h,this.text),c=(0,S.addPositions)(this.range.getStartPosition(),(0,S.lengthOfText)(h.substring(0,r))),o=this.text.substring(r),d=y.Range.fromPositions(c,this.range.getEndPosition());return new f(d,o)}augments(t){return this.text.startsWith(t.text)&&_(this.range,t.range)}computeGhostText(t,a,u,h=0){let r=this.removeCommonPrefix(t);if(r.range.endLineNumber!==r.range.startLineNumber)return;const c=t.getLineContent(r.range.startLineNumber),o=(0,k.getLeadingWhitespace)(c).length;if(r.range.startColumn-1<=o){const w=(0,k.getLeadingWhitespace)(r.text).length,E=c.substring(r.range.startColumn-1,o),[I,M]=[r.range.getStartPosition(),r.range.getEndPosition()],P=I.column+E.length<=M.column?I.delta(0,E.length):M,x=y.Range.fromPositions(P,M),T=r.text.startsWith(E)?r.text.substring(E.length):r.text.substring(w);r=new f(x,T)}const l=t.getValueInRange(r.range),p=C(l,r.text);if(!p)return;const m=r.range.startLineNumber,v=new Array;if(a==="prefix"){const w=p.filter(E=>E.originalLength===0);if(w.length>1||w.length===1&&w[0].originalStart!==l.length)return}const b=r.text.length-h;for(const w of p){const E=r.range.startColumn+w.originalStart+w.originalLength;if(a==="subwordSmart"&&u&&u.lineNumber===r.range.startLineNumber&&E0)return;if(w.modifiedLength===0)continue;const I=w.modifiedStart+w.modifiedLength,M=Math.max(w.modifiedStart,Math.min(I,b)),P=r.text.substring(w.modifiedStart,M),x=r.text.substring(M,Math.max(w.modifiedStart,I));if(P.length>0){const T=(0,k.splitLines)(P);v.push(new D.GhostTextPart(E,T,!1))}if(x.length>0){const T=(0,k.splitLines)(x);v.push(new D.GhostTextPart(E,T,!0))}}return new D.GhostText(m,v)}}e.SingleTextEdit=f;function _(n,t){return t.getStartPosition().equals(n.getStartPosition())&&t.getEndPosition().isBeforeOrEqual(n.getEndPosition())}let g;function C(n,t){if(g?.originalValue===n&&g?.newValue===t)return g?.changes;{let a=i(n,t,!0);if(a){const u=s(a);if(u>0){const h=i(n,t,!1);h&&s(h)5e3||t.length>5e3)return;function u(l){let p=0;for(let m=0,v=l.length;mp&&(p=b)}return p}const h=Math.max(u(n),u(t));function r(l){if(l<0)throw new Error("unexpected");return h+l+1}function c(l){let p=0,m=0;const v=new Int32Array(l.length);for(let b=0,w=l.length;bo},{getElements:()=>d}).ComputeDiff(!1).changes}}),define(ne[545],se([1,0,5,24]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyLinesCommand=void 0;class y{constructor(S,f,_){this._selection=S,this._isCopyingDown=f,this._noop=_||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(S,f){let _=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,_.startLineNumber<_.endLineNumber&&_.endColumn===1&&(this._endLineNumberDelta=1,_=_.setEndPosition(_.endLineNumber-1,S.getLineMaxColumn(_.endLineNumber-1)));const g=[];for(let s=_.startLineNumber;s<=_.endLineNumber;s++)g.push(S.getLineContent(s));const C=g.join(` -`);C===""&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber+1,1),_.endLineNumber===S.getLineCount()?"":` -`):this._isCopyingDown?f.addEditOperation(new L.Range(_.startLineNumber,1,_.startLineNumber,1),C+` -`):f.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber,S.getLineMaxColumn(_.endLineNumber)),` -`+C),this._selectionId=f.trackSelection(_),this._selectionDirection=this._selection.getDirection()}computeCursorState(S,f){let _=f.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let g=_.startLineNumber,C=_.startColumn,s=_.endLineNumber,i=_.endColumn;this._startLineNumberDelta!==0&&(g=g+this._startLineNumberDelta,C=1),this._endLineNumberDelta!==0&&(s=s+this._endLineNumberDelta,i=1),_=k.Selection.createWithDirection(g,C,s,i,this._selectionDirection)}return _}}e.CopyLinesCommand=y}),define(ne[546],se([1,0,73,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SortLinesCommand=void 0;class y{static getCollator(){return y._COLLATOR||(y._COLLATOR=new Intl.Collator),y._COLLATOR}constructor(_,g){this.selection=_,this.descending=g,this.selectionId=null}getEditOperations(_,g){const C=S(_,this.selection,this.descending);C&&g.addEditOperation(C.range,C.text),this.selectionId=g.trackSelection(this.selection)}computeCursorState(_,g){return g.getTrackedSelection(this.selectionId)}static canRun(_,g,C){if(_===null)return!1;const s=D(_,g,C);if(!s)return!1;for(let i=0,n=s.before.length;i=s)return null;const i=[];for(let t=C;t<=s;t++)i.push(f.getLineContent(t));let n=i.slice(0);return n.sort(y.getCollator().compare),g===!0&&(n=n.reverse()),{startLineNumber:C,endLineNumber:s,before:i,after:n}}function S(f,_,g){const C=D(f,_,g);return C?L.EditOperation.replace(new k.Range(C.startLineNumber,1,C.endLineNumber,f.getLineMaxColumn(C.endLineNumber)),C.after.join(` -`)):null}}),define(ne[297],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSemanticColoringEnabled=e.SEMANTIC_HIGHLIGHTING_SETTING_ID=void 0,e.SEMANTIC_HIGHLIGHTING_SETTING_ID="editor.semanticHighlighting";function L(k,y,D){var S;const f=(S=D.getValue(e.SEMANTIC_HIGHLIGHTING_SETTING_ID,{overrideIdentifier:k.getLanguageId(),resource:k.uri}))===null||S===void 0?void 0:S.enabled;return typeof f=="boolean"?f:y.getColorTheme().semanticHighlighting}e.isSemanticColoringEnabled=L}),define(ne[298],se([1,0,64,12,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketSelectionRangeProvider=void 0;class D{provideSelectionRanges(f,_){return we(this,void 0,void 0,function*(){const g=[];for(const C of _){const s=[];g.push(s);const i=new Map;yield new Promise(n=>D._bracketsRightYield(n,0,f,C,i)),yield new Promise(n=>D._bracketsLeftYield(n,0,f,C,i,s))}return g})}static _bracketsRightYield(f,_,g,C,s){const i=new Map,n=Date.now();for(;;){if(_>=D._maxRounds){f();break}if(!C){f();break}const t=g.bracketPairs.findNextBracket(C);if(!t){f();break}if(Date.now()-n>D._maxDuration){setTimeout(()=>D._bracketsRightYield(f,_+1,g,C,s));break}if(t.bracketInfo.isOpeningBracket){const u=t.bracketInfo.bracketText,h=i.has(u)?i.get(u):0;i.set(u,h+1)}else{const u=t.bracketInfo.getOpeningBrackets()[0].bracketText;let h=i.has(u)?i.get(u):0;if(h-=1,i.set(u,Math.max(0,h)),h<0){let r=s.get(u);r||(r=new L.LinkedList,s.set(u,r)),r.push(t.range)}}C=t.range.getEndPosition()}}static _bracketsLeftYield(f,_,g,C,s,i){const n=new Map,t=Date.now();for(;;){if(_>=D._maxRounds&&s.size===0){f();break}if(!C){f();break}const a=g.bracketPairs.findPrevBracket(C);if(!a){f();break}if(Date.now()-t>D._maxDuration){setTimeout(()=>D._bracketsLeftYield(f,_+1,g,C,s,i));break}if(a.bracketInfo.isOpeningBracket){const h=a.bracketInfo.bracketText;let r=n.has(h)?n.get(h):0;if(r-=1,n.set(h,Math.max(0,r)),r<0){const c=s.get(h);if(c){const o=c.shift();c.size===0&&s.delete(h);const d=y.Range.fromPositions(a.range.getEndPosition(),o.getStartPosition()),l=y.Range.fromPositions(a.range.getStartPosition(),o.getEndPosition());i.push({range:d}),i.push({range:l}),D._addBracketLeading(g,l,i)}}}else{const h=a.bracketInfo.getOpeningBrackets()[0].bracketText,r=n.has(h)?n.get(h):0;n.set(h,r+1)}C=a.range.getStartPosition()}}static _addBracketLeading(f,_,g){if(_.startLineNumber===_.endLineNumber)return;const C=_.startLineNumber,s=f.getLineFirstNonWhitespaceColumn(C);s!==0&&s!==_.startColumn&&(g.push({range:y.Range.fromPositions(new k.Position(C,s),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(C,1),_.getEndPosition())}));const i=C-1;if(i>0){const n=f.getLineFirstNonWhitespaceColumn(i);n===_.startColumn&&n!==f.getLineLastNonWhitespaceColumn(i)&&(g.push({range:y.Range.fromPositions(new k.Position(i,n),_.getEndPosition())}),g.push({range:y.Range.fromPositions(new k.Position(i,1),_.getEndPosition())}))}}}e.BracketSelectionRangeProvider=D,D._maxDuration=30,D._maxRounds=2}),define(ne[547],se([1,0,11,5]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordSelectionRangeProvider=void 0;class y{constructor(S=!0){this.selectSubwords=S}provideSelectionRanges(S,f){const _=[];for(const g of f){const C=[];_.push(C),this.selectSubwords&&this._addInWordRanges(C,S,g),this._addWordRanges(C,S,g),this._addWhitespaceLine(C,S,g),C.push({range:S.getFullModelRange()})}return _}_addInWordRanges(S,f,_){const g=f.getWordAtPosition(_);if(!g)return;const{word:C,startColumn:s}=g,i=_.column-s;let n=i,t=i,a=0;for(;n>=0;n--){const u=C.charCodeAt(n);if(n!==i&&(u===95||u===45))break;if((0,L.isLowerAsciiLetter)(u)&&(0,L.isUpperAsciiLetter)(a))break;a=u}for(n+=1;t0&&f.getLineFirstNonWhitespaceColumn(_.lineNumber)===0&&f.getLineLastNonWhitespaceColumn(_.lineNumber)===0&&S.push({range:new k.Range(_.lineNumber,1,_.lineNumber,f.getLineMaxColumn(_.lineNumber))})}}e.WordSelectionRangeProvider=y}),define(ne[128],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetParser=e.TextmateSnippet=e.Variable=e.FormatString=e.Transform=e.Choice=e.Placeholder=e.TransformableMarker=e.Text=e.Marker=e.Scanner=void 0;class L{constructor(){this.value="",this.pos=0}static isDigitCharacter(a){return a>=48&&a<=57}static isVariableCharacter(a){return a===95||a>=97&&a<=122||a>=65&&a<=90}text(a){this.value=a,this.pos=0}tokenText(a){return this.value.substr(a.pos,a.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const a=this.pos;let u=0,h=this.value.charCodeAt(a),r;if(r=L._table[h],typeof r=="number")return this.pos+=1,{type:r,pos:a,len:1};if(L.isDigitCharacter(h)){r=8;do u+=1,h=this.value.charCodeAt(a+u);while(L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}if(L.isVariableCharacter(h)){r=9;do h=this.value.charCodeAt(a+ ++u);while(L.isVariableCharacter(h)||L.isDigitCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}r=10;do u+=1,h=this.value.charCodeAt(a+u);while(!isNaN(h)&&typeof L._table[h]>"u"&&!L.isDigitCharacter(h)&&!L.isVariableCharacter(h));return this.pos+=u,{type:r,pos:a,len:u}}}e.Scanner=L,L._table={[36]:0,[58]:1,[44]:2,[123]:3,[125]:4,[92]:5,[47]:6,[124]:7,[43]:11,[45]:12,[63]:13};class k{constructor(){this._children=[]}appendChild(a){return a instanceof y&&this._children[this._children.length-1]instanceof y?this._children[this._children.length-1].value+=a.value:(a.parent=this,this._children.push(a)),this}replace(a,u){const{parent:h}=a,r=h.children.indexOf(a),c=h.children.slice(0);c.splice(r,1,...u),h._children=c,function o(d,l){for(const p of d)p.parent=l,o(p.children,p)}(u,h)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let a=this;for(;;){if(!a)return;if(a instanceof i)return a;a=a.parent}}toString(){return this.children.reduce((a,u)=>a+u.toString(),"")}len(){return 0}}e.Marker=k;class y extends k{constructor(a){super(),this.value=a}toString(){return this.value}len(){return this.value.length}clone(){return new y(this.value)}}e.Text=y;class D extends k{}e.TransformableMarker=D;class S extends D{static compareByIndex(a,u){return a.index===u.index?0:a.isFinalTabstop?1:u.isFinalTabstop||a.indexu.index?1:0}constructor(a){super(),this.index=a}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof f?this._children[0]:void 0}clone(){const a=new S(this.index);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Placeholder=S;class f extends k{constructor(){super(...arguments),this.options=[]}appendChild(a){return a instanceof y&&(a.parent=this,this.options.push(a)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const a=new f;return this.options.forEach(a.appendChild,a),a}}e.Choice=f;class _ extends k{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(a){const u=this;let h=!1,r=a.replace(this.regexp,function(){return h=!0,u._replace(Array.prototype.slice.call(arguments,0,-2))});return!h&&this._children.some(c=>c instanceof g&&!!c.elseValue)&&(r=this._replace([])),r}_replace(a){let u="";for(const h of this._children)if(h instanceof g){let r=a[h.index]||"";r=h.resolve(r),u+=r}else u+=h.toString();return u}toString(){return""}clone(){const a=new _;return a.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),a._children=this.children.map(u=>u.clone()),a}}e.Transform=_;class g extends k{constructor(a,u,h,r){super(),this.index=a,this.shorthandName=u,this.ifValue=h,this.elseValue=r}resolve(a){return this.shorthandName==="upcase"?a?a.toLocaleUpperCase():"":this.shorthandName==="downcase"?a?a.toLocaleLowerCase():"":this.shorthandName==="capitalize"?a?a[0].toLocaleUpperCase()+a.substr(1):"":this.shorthandName==="pascalcase"?a?this._toPascalCase(a):"":this.shorthandName==="camelcase"?a?this._toCamelCase(a):"":a&&typeof this.ifValue=="string"?this.ifValue:!a&&typeof this.elseValue=="string"?this.elseValue:a||""}_toPascalCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map(h=>h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}_toCamelCase(a){const u=a.match(/[a-z0-9]+/gi);return u?u.map((h,r)=>r===0?h.charAt(0).toLowerCase()+h.substr(1):h.charAt(0).toUpperCase()+h.substr(1)).join(""):a}clone(){return new g(this.index,this.shorthandName,this.ifValue,this.elseValue)}}e.FormatString=g;class C extends D{constructor(a){super(),this.name=a}resolve(a){let u=a.resolve(this);return this.transform&&(u=this.transform.resolve(u||"")),u!==void 0?(this._children=[new y(u)],!0):!1}clone(){const a=new C(this.name);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(u=>u.clone()),a}}e.Variable=C;function s(t,a){const u=[...t];for(;u.length>0;){const h=u.shift();if(!a(h))break;u.unshift(...h.children)}}class i extends k{get placeholderInfo(){if(!this._placeholders){const a=[];let u;this.walk(function(h){return h instanceof S&&(a.push(h),u=!u||u.indexr===a?(h=!0,!1):(u+=r.len(),!0)),h?u:-1}fullLen(a){let u=0;return s([a],h=>(u+=h.len(),!0)),u}enclosingPlaceholders(a){const u=[];let{parent:h}=a;for(;h;)h instanceof S&&u.push(h),h=h.parent;return u}resolveVariables(a){return this.walk(u=>(u instanceof C&&u.resolve(a)&&(this._placeholders=void 0),!0)),this}appendChild(a){return this._placeholders=void 0,super.appendChild(a)}replace(a,u){return this._placeholders=void 0,super.replace(a,u)}clone(){const a=new i;return this._children=this.children.map(u=>u.clone()),a}walk(a){s(this.children,a)}}e.TextmateSnippet=i;class n{constructor(){this._scanner=new L,this._token={type:14,pos:0,len:0}}static escape(a){return a.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(a){return/\${?CLIPBOARD/.test(a)}parse(a,u,h){const r=new i;return this.parseFragment(a,r),this.ensureFinalTabstop(r,h??!1,u??!1),r}parseFragment(a,u){const h=u.children.length;for(this._scanner.text(a),this._token=this._scanner.next();this._parse(u););const r=new Map,c=[];u.walk(l=>(l instanceof S&&(l.isFinalTabstop?r.set(0,void 0):!r.has(l.index)&&l.children.length>0?r.set(l.index,l.children):c.push(l)),!0));const o=(l,p)=>{const m=r.get(l.index);if(!m)return;const v=new S(l.index);v.transform=l.transform;for(const b of m){const w=b.clone();v.appendChild(w),w instanceof S&&r.has(w.index)&&!p.has(w.index)&&(p.add(w.index),o(w,p),p.delete(w.index))}u.replace(l,[v])},d=new Set;for(const l of c)o(l,d);return u.children.slice(h)}ensureFinalTabstop(a,u,h){(u||h&&a.placeholders.length>0)&&(a.placeholders.find(c=>c.index===0)||a.appendChild(new S(0)))}_accept(a,u){if(a===void 0||this._token.type===a){const h=u?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),h}return!1}_backTo(a){return this._scanner.pos=a.pos+a.len,this._token=a,!1}_until(a){const u=this._token;for(;this._token.type!==a;){if(this._token.type===14)return!1;if(this._token.type===5){const r=this._scanner.next();if(r.type!==0&&r.type!==4&&r.type!==5)return!1}this._token=this._scanner.next()}const h=this._scanner.value.substring(u.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),h}_parse(a){return this._parseEscaped(a)||this._parseTabstopOrVariableName(a)||this._parseComplexPlaceholder(a)||this._parseComplexVariable(a)||this._parseAnything(a)}_parseEscaped(a){let u;return(u=this._accept(5,!0))?(u=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||u,a.appendChild(new y(u)),!0):!1}_parseTabstopOrVariableName(a){let u;const h=this._token;return this._accept(0)&&(u=this._accept(9,!0)||this._accept(8,!0))?(a.appendChild(/^\d+$/.test(u)?new S(Number(u)):new C(u)),!0):this._backTo(h)}_parseComplexPlaceholder(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(8,!0))))return this._backTo(h);const c=new S(Number(u));if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else if(c.index>0&&this._accept(7)){const o=new f;for(;;){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(c.appendChild(o),this._accept(4)))return a.appendChild(c),!0}return this._backTo(h),!1}}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseChoiceElement(a){const u=this._token,h=[];for(;!(this._token.type===2||this._token.type===7);){let r;if((r=this._accept(5,!0))?r=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:r=this._accept(void 0,!0),!r)return this._backTo(u),!1;h.push(r)}return h.length===0?(this._backTo(u),!1):(a.appendChild(new y(h.join(""))),!0)}_parseComplexVariable(a){let u;const h=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(9,!0))))return this._backTo(h);const c=new C(u);if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(c),!0;if(!this._parse(c))return a.appendChild(new y("${"+u+":")),c.children.forEach(a.appendChild,a),!0}else return this._accept(6)?this._parseTransform(c)?(a.appendChild(c),!0):(this._backTo(h),!1):this._accept(4)?(a.appendChild(c),!0):this._backTo(h)}_parseTransform(a){const u=new _;let h="",r="";for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(6,!0)||c,h+=c;continue}if(this._token.type!==14){h+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let c;if(c=this._accept(5,!0)){c=this._accept(5,!0)||this._accept(6,!0)||c,u.appendChild(new y(c));continue}if(!(this._parseFormatString(u)||this._parseAnything(u)))return!1}for(;!this._accept(4);){if(this._token.type!==14){r+=this._accept(void 0,!0);continue}return!1}try{u.regexp=new RegExp(h,r)}catch{return!1}return a.transform=u,!0}_parseFormatString(a){const u=this._token;if(!this._accept(0))return!1;let h=!1;this._accept(3)&&(h=!0);const r=this._accept(8,!0);if(r)if(h){if(this._accept(4))return a.appendChild(new g(Number(r))),!0;if(!this._accept(1))return this._backTo(u),!1}else return a.appendChild(new g(Number(r))),!0;else return this._backTo(u),!1;if(this._accept(6)){const c=this._accept(9,!0);return!c||!this._accept(4)?(this._backTo(u),!1):(a.appendChild(new g(Number(r),c)),!0)}else if(this._accept(11)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,c,void 0)),!0}else if(this._accept(12)){const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}else if(this._accept(13)){const c=this._until(1);if(c){const o=this._until(4);if(o)return a.appendChild(new g(Number(r),void 0,c,o)),!0}}else{const c=this._until(4);if(c)return a.appendChild(new g(Number(r),void 0,void 0,c)),!0}return this._backTo(u),!1}_parseAnything(a){return this._token.type!==14?(a.appendChild(new y(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}e.SnippetParser=n}),define(ne[299],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModel=e.StickyElement=e.StickyRange=void 0;class L{constructor(S,f){this.startLineNumber=S,this.endLineNumber=f}}e.StickyRange=L;class k{constructor(S,f,_){this.range=S,this.children=f,this.parent=_}}e.StickyElement=k;class y{constructor(S,f,_,g){this.uri=S,this.version=f,this.element=_,this.outlineProviderId=g}}e.StickyModel=y}),define(ne[300],se([1,0,14,72,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompletionModel=e.LineContext=void 0;class D{constructor(_,g){this.leadingLineContent=_,this.characterCountDelta=g}}e.LineContext=D;class S{constructor(_,g,C,s,i,n,t=k.FuzzyScoreOptions.default,a=void 0){this.clipboardText=a,this._snippetCompareFn=S._compareCompletionItems,this._items=_,this._column=g,this._wordDistance=s,this._options=i,this._refilterKind=1,this._lineContext=C,this._fuzzyScoreOptions=t,n==="top"?this._snippetCompareFn=S._compareCompletionItemsSnippetsUp:n==="bottom"&&(this._snippetCompareFn=S._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(_){(this._lineContext.leadingLineContent!==_.leadingLineContent||this._lineContext.characterCountDelta!==_.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<_.characterCountDelta&&this._filteredItems?2:1,this._lineContext=_)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();const _=new Set;for(const[g,C]of this.getItemsByProvider())C.length>0&&C[0].container.incomplete&&_.add(g);return _}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;const _=[],{leadingLineContent:g,characterCountDelta:C}=this._lineContext;let s="",i="";const n=this._refilterKind===1?this._items:this._filteredItems,t=[],a=!this._options.filterGraceful||n.length>2e3?k.fuzzyScore:k.fuzzyScoreGracefulAggressive;for(let u=0;u=o)h.score=k.FuzzyScore.Default;else if(typeof h.completion.filterText=="string"){const l=a(s,i,d,h.completion.filterText,h.filterTextLow,0,this._fuzzyScoreOptions);if(!l)continue;(0,y.compareIgnoreCase)(h.completion.filterText,h.textLabel)===0?h.score=l:(h.score=(0,k.anyScore)(s,i,d,h.textLabel,h.labelLow,0),h.score[0]=l[0])}else{const l=a(s,i,d,h.textLabel,h.labelLow,0,this._fuzzyScoreOptions);if(!l)continue;h.score=l}}h.idx=u,h.distance=this._wordDistance.distance(h.position,h.completion),t.push(h),_.push(h.textLabel.length)}this._filteredItems=t.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:_.length?(0,L.quickSelect)(_.length-.85,_,(u,h)=>u-h):0}}static _compareCompletionItems(_,g){return _.score[0]>g.score[0]?-1:_.score[0]g.distance?1:_.idxg.idx?1:0}static _compareCompletionItemsSnippetsDown(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return 1;if(g.completion.kind===27)return-1}return S._compareCompletionItems(_,g)}static _compareCompletionItemsSnippetsUp(_,g){if(_.completion.kind!==g.completion.kind){if(_.completion.kind===27)return-1;if(g.completion.kind===27)return 1}return S._compareCompletionItems(_,g)}}e.CompletionModel=S}),define(ne[548],se([1,0,14,2,121]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommitCharacterController=void 0;class D{constructor(f,_,g,C){this._disposables=new k.DisposableStore,this._disposables.add(g.onDidSuggest(s=>{s.completionModel.items.length===0&&this.reset()})),this._disposables.add(g.onDidCancel(s=>{this.reset()})),this._disposables.add(_.onDidShow(()=>this._onItem(_.getFocusedItem()))),this._disposables.add(_.onDidFocus(this._onItem,this)),this._disposables.add(_.onDidHide(this.reset,this)),this._disposables.add(f.onWillType(s=>{if(this._active&&!_.isFrozen()&&g.state!==0){const i=s.charCodeAt(s.length-1);this._active.acceptCharacters.has(i)&&f.getOption(0)&&C(this._active.item)}}))}_onItem(f){if(!f||!(0,L.isNonEmptyArray)(f.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===f.item)return;const _=new y.CharacterSet;for(const g of f.item.completion.commitCharacters)g.length>0&&_.add(g.charCodeAt(0));this._active={acceptCharacters:_,item:f}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}e.CommitCharacterController=D}),define(ne[549],se([1,0,2]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OvertypingCapturer=void 0;class k{constructor(D,S){this._disposables=new L.DisposableStore,this._lastOvertyped=[],this._locked=!1,this._disposables.add(D.onWillType(()=>{if(this._locked||!D.hasModel())return;const f=D.getSelections(),_=f.length;let g=!1;for(let s=0;s<_;s++)if(!f[s].isEmpty()){g=!0;break}if(!g){this._lastOvertyped.length!==0&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];const C=D.getModel();for(let s=0;s<_;s++){const i=f[s];if(C.getValueLengthInRange(i)>k._maxSelectionLength)return;this._lastOvertyped[s]={value:C.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(S.onDidTrigger(f=>{this._locked=!0})),this._disposables.add(S.onDidCancel(f=>{this._locked=!1}))}getLastOvertypedInfo(D){if(D>=0&&D=0?h[r]:h[Math.max(0,~r-1)];let o=s.length;for(const d of s){if(!k.Range.containsRange(d.range,c))break;o-=1}return o}}})}}e.WordDistance=D,D.None=new class extends D{distance(){return 0}}}),define(ne[302],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stateExists=e.findRules=e.substituteMatches=e.createError=e.log=e.sanitize=e.fixCase=e.empty=e.isIAction=e.isString=e.isFuzzyAction=e.isFuzzyActionArr=void 0;function L(t){return Array.isArray(t)}e.isFuzzyActionArr=L;function k(t){return!L(t)}e.isFuzzyAction=k;function y(t){return typeof t=="string"}e.isString=y;function D(t){return!y(t)}e.isIAction=D;function S(t){return!t}e.empty=S;function f(t,a){return t.ignoreCase&&a?a.toLowerCase():a}e.fixCase=f;function _(t){return t.replace(/[&<>'"_]/g,"-")}e.sanitize=_;function g(t,a){console.log(`${t.languageId}: ${a}`)}e.log=g;function C(t,a){return new Error(`${t.languageId}: ${a}`)}e.createError=C;function s(t,a,u,h,r){const c=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let o=null;return a.replace(c,function(d,l,p,m,v,b,w,E,I){return S(p)?S(m)?!S(v)&&v0;){const h=t.tokenizer[u];if(h)return h;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return null}e.findRules=i;function n(t,a){let u=a;for(;u&&u.length>0;){if(t.stateNames[u])return!0;const r=u.lastIndexOf(".");r<0?u=null:u=u.substr(0,r)}return!1}e.stateExists=n}),define(ne[550],se([1,0,302]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compile=void 0;function k(t,a){if(!a||!Array.isArray(a))return!1;for(const u of a)if(!t(u))return!1;return!0}function y(t,a){return typeof t=="boolean"?t:a}function D(t,a){return typeof t=="string"?t:a}function S(t){const a={};for(const u of t)a[u]=!0;return a}function f(t,a=!1){a&&(t=t.map(function(h){return h.toLowerCase()}));const u=S(t);return a?function(h){return u[h.toLowerCase()]!==void 0&&u.hasOwnProperty(h.toLowerCase())}:function(h){return u[h]!==void 0&&u.hasOwnProperty(h)}}function _(t,a){a=a.replace(/@@/g,"");let u=0,h;do h=!1,a=a.replace(/@(\w+)/g,function(c,o){h=!0;let d="";if(typeof t[o]=="string")d=t[o];else if(t[o]&&t[o]instanceof RegExp)d=t[o].source;else throw t[o]===void 0?L.createError(t,"language definition does not contain attribute '"+o+"', used at: "+a):L.createError(t,"attribute reference '"+o+"' must be a string, used at: "+a);return L.empty(d)?"":"(?:"+d+")"}),u++;while(h&&u<5);a=a.replace(/\x01/g,"@");const r=(t.ignoreCase?"i":"")+(t.unicode?"u":"");return new RegExp(a,r)}function g(t,a,u,h){if(h<0)return t;if(h=100){h=h-100;const r=u.split(".");if(r.unshift(u),h=0&&(h.tokenSubst=!0),typeof u.bracket=="string")if(u.bracket==="@open")h.bracket=1;else if(u.bracket==="@close")h.bracket=-1;else throw L.createError(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+a);if(u.next){if(typeof u.next!="string")throw L.createError(t,"the next state must be a string value in rule: "+a);{let r=u.next;if(!/^(@pop|@push|@popall)$/.test(r)&&(r[0]==="@"&&(r=r.substr(1)),r.indexOf("$")<0&&!L.stateExists(t,L.substituteMatches(t,r,"",[],""))))throw L.createError(t,"the next state '"+u.next+"' is not defined in rule: "+a);h.next=r}}return typeof u.goBack=="number"&&(h.goBack=u.goBack),typeof u.switchTo=="string"&&(h.switchTo=u.switchTo),typeof u.log=="string"&&(h.log=u.log),typeof u.nextEmbedded=="string"&&(h.nextEmbedded=u.nextEmbedded,t.usesEmbedded=!0),h}}else if(Array.isArray(u)){const h=[];for(let r=0,c=u.length;r0&&h[0]==="^",this.name=this.name+": "+h,this.regex=_(a,"^(?:"+(this.matchOnlyAtLineStart?h.substr(1):h)+")")}setAction(a,u){this.action=s(a,this.name,u)}}function n(t,a){if(!a||typeof a!="object")throw new Error("Monarch: expecting a language definition object");const u={};u.languageId=t,u.includeLF=y(a.includeLF,!1),u.noThrow=!1,u.maxStack=100,u.start=typeof a.start=="string"?a.start:null,u.ignoreCase=y(a.ignoreCase,!1),u.unicode=y(a.unicode,!1),u.tokenPostfix=D(a.tokenPostfix,"."+u.languageId),u.defaultToken=D(a.defaultToken,"source"),u.usesEmbedded=!1;const h=a;h.languageId=t,h.includeLF=u.includeLF,h.ignoreCase=u.ignoreCase,h.unicode=u.unicode,h.noThrow=u.noThrow,h.usesEmbedded=u.usesEmbedded,h.stateNames=a.tokenizer,h.defaultToken=u.defaultToken;function r(o,d,l){for(const p of l){let m=p.include;if(m){if(typeof m!="string")throw L.createError(u,"an 'include' attribute must be a string at: "+o);if(m[0]==="@"&&(m=m.substr(1)),!a.tokenizer[m])throw L.createError(u,"include target '"+m+"' is not defined at: "+o);r(o+"."+m,d,a.tokenizer[m])}else{const v=new i(o);if(Array.isArray(p)&&p.length>=1&&p.length<=3)if(v.setRegex(h,p[0]),p.length>=3)if(typeof p[1]=="string")v.setAction(h,{token:p[1],next:p[2]});else if(typeof p[1]=="object"){const b=p[1];b.next=p[2],v.setAction(h,b)}else throw L.createError(u,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+o);else v.setAction(h,p[1]);else{if(!p.regex)throw L.createError(u,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+o);p.name&&typeof p.name=="string"&&(v.name=p.name),p.matchOnlyAtStart&&(v.matchOnlyAtLineStart=y(p.matchOnlyAtLineStart,!1)),v.setRegex(h,p.regex),v.setAction(h,p.action)}d.push(v)}}}if(!a.tokenizer||typeof a.tokenizer!="object")throw L.createError(u,"a language definition must define the 'tokenizer' attribute as an object");u.tokenizer=[];for(const o in a.tokenizer)if(a.tokenizer.hasOwnProperty(o)){u.start||(u.start=o);const d=a.tokenizer[o];u.tokenizer[o]=new Array,r("tokenizer."+o,u.tokenizer[o],d)}if(u.usesEmbedded=h.usesEmbedded,a.brackets){if(!Array.isArray(a.brackets))throw L.createError(u,"the 'brackets' attribute must be defined as an array")}else a.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const c=[];for(const o of a.brackets){let d=o;if(d&&Array.isArray(d)&&d.length===3&&(d={token:d[2],open:d[0],close:d[1]}),d.open===d.close)throw L.createError(u,"open and close brackets in a 'brackets' attribute must be different: "+d.open+` - hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof d.open=="string"&&typeof d.token=="string"&&typeof d.close=="string")c.push({token:d.token+u.tokenPostfix,open:L.fixCase(u,d.open),close:L.fixCase(u,d.close)});else throw L.createError(u,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return u.brackets=c,u.noThrow=!0,u}e.compile=n}),define(ne[551],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/actionbar/actionViewItems",e)}),define(ne[552],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInput",e)}),define(ne[553],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/findInputToggles",e)}),define(ne[554],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/findinput/replaceInput",e)}),define(ne[555],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/hover/hoverWidget",e)}),define(ne[556],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/iconLabel/iconLabelHover",e)}),define(ne[557],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/inputbox/inputBox",e)}),define(ne[558],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/keybindingLabel/keybindingLabel",e)}),define(ne[559],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/selectBox/selectBoxCustom",e)}),define(ne[560],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/toolbar/toolbar",e)}),define(ne[561],se([3,4]),function(Q,e){return Q.create("vs/base/browser/ui/tree/abstractTree",e)}),define(ne[562],se([3,4]),function(Q,e){return Q.create("vs/base/common/actions",e)}),define(ne[39],se([1,0,6,2,562]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toAction=e.EmptySubmenuAction=e.SubmenuAction=e.Separator=e.ActionRunner=e.Action=void 0;class D extends k.Disposable{constructor(i,n="",t="",a=!0,u){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=i,this._label=n,this._cssClass=t,this._enabled=a,this._actionCallback=u}get id(){return this._id}get label(){return this._label}set label(i){this._setLabel(i)}_setLabel(i){this._label!==i&&(this._label=i,this._onDidChange.fire({label:i}))}get tooltip(){return this._tooltip||""}set tooltip(i){this._setTooltip(i)}_setTooltip(i){this._tooltip!==i&&(this._tooltip=i,this._onDidChange.fire({tooltip:i}))}get class(){return this._cssClass}set class(i){this._setClass(i)}_setClass(i){this._cssClass!==i&&(this._cssClass=i,this._onDidChange.fire({class:i}))}get enabled(){return this._enabled}set enabled(i){this._setEnabled(i)}_setEnabled(i){this._enabled!==i&&(this._enabled=i,this._onDidChange.fire({enabled:i}))}get checked(){return this._checked}set checked(i){this._setChecked(i)}_setChecked(i){this._checked!==i&&(this._checked=i,this._onDidChange.fire({checked:i}))}run(i,n){return we(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(i))})}}e.Action=D;class S extends k.Disposable{constructor(){super(...arguments),this._onWillRun=this._register(new L.Emitter),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new L.Emitter),this.onDidRun=this._onDidRun.event}run(i,n){return we(this,void 0,void 0,function*(){if(!i.enabled)return;this._onWillRun.fire({action:i});let t;try{yield this.runAction(i,n)}catch(a){t=a}this._onDidRun.fire({action:i,error:t})})}runAction(i,n){return we(this,void 0,void 0,function*(){yield i.run(n)})}}e.ActionRunner=S;class f{constructor(){this.id=f.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...i){let n=[];for(const t of i)t.length&&(n.length?n=[...n,new f,...t]:n=t);return n}run(){return we(this,void 0,void 0,function*(){})}}e.Separator=f,f.ID="vs.actions.separator";class _{get actions(){return this._actions}constructor(i,n,t,a){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=i,this.label=n,this.class=a,this._actions=t}run(){return we(this,void 0,void 0,function*(){})}}e.SubmenuAction=_;class g extends D{constructor(){super(g.ID,y.localize(0,null),void 0,!1)}}e.EmptySubmenuAction=g,g.ID="vs.actions.empty";function C(s){var i,n;return{id:s.id,label:s.label,class:void 0,enabled:(i=s.enabled)!==null&&i!==void 0?i:!0,checked:(n=s.checked)!==null&&n!==void 0?n:!1,run:()=>we(this,void 0,void 0,function*(){return s.run()}),tooltip:s.label}}e.toAction=C}),define(ne[563],se([3,4]),function(Q,e){return Q.create("vs/base/common/errorMessage",e)}),define(ne[564],se([1,0,14,20,563]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toErrorMessage=void 0;function D(g,C){return C&&(g.stack||g.stacktrace)?y.localize(0,null,f(g),S(g.stack)||S(g.stacktrace)):f(g)}function S(g){return Array.isArray(g)?g.join(` -`):g}function f(g){return g.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${g.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof g.code=="string"&&typeof g.errno=="number"&&typeof g.syscall=="string"?y.localize(1,null,g.message):g.message||y.localize(2,null)}function _(g=null,C=!1){if(!g)return y.localize(3,null);if(Array.isArray(g)){const s=L.coalesce(g),i=_(s[0],C);return s.length>1?y.localize(4,null,i,s.length):i}if(k.isString(g))return g;if(g.detail){const s=g.detail;if(s.error)return D(s.error,C);if(s.exception)return D(s.exception,C)}return g.stack?D(g,C):g.message?g.message:y.localize(5,null)}e.toErrorMessage=_}),define(ne[565],se([3,4]),function(Q,e){return Q.create("vs/base/common/keybindingLabels",e)}),define(ne[216],se([1,0,565]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserSettingsLabelProvider=e.ElectronAcceleratorLabelProvider=e.AriaLabelProvider=e.UILabelProvider=e.ModifierLabelProvider=void 0;class k{constructor(S,f,_=f){this.modifierLabels=[null],this.modifierLabels[2]=S,this.modifierLabels[1]=f,this.modifierLabels[3]=_}toLabel(S,f,_){if(f.length===0)return null;const g=[];for(let C=0,s=f.length;C=0,D=r.indexOf("Macintosh")>=0,s=(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,S=r.indexOf("Linux")>=0,n=r?.indexOf("Mobi")>=0,g=!0,t=L.getConfiguredDefaultLocale(L.localize(0,null))||e.LANGUAGE_DEFAULT,a=t,u=navigator.language;else if(typeof c=="object"){y=c.platform==="win32",D=c.platform==="darwin",S=c.platform==="linux",f=S&&!!c.env.SNAP&&!!c.env.SNAP_REVISION,C=o,i=!!c.env.CI||!!c.env.BUILD_ARTIFACTSTAGINGDIRECTORY,t=e.LANGUAGE_DEFAULT,a=e.LANGUAGE_DEFAULT;const b=c.env.VSCODE_NLS_CONFIG;if(b)try{const w=JSON.parse(b),E=w.availableLanguages["*"];t=w.locale,u=w.osLocale,a=E||e.LANGUAGE_DEFAULT,h=w._translationsConfigFile}catch{}_=!0}else console.error("Unable to resolve platform.");let l=0;D?l=1:y?l=3:S&&(l=2),e.isWindows=y,e.isMacintosh=D,e.isLinux=S,e.isNative=_,e.isWeb=g,e.isWebWorker=g&&typeof e.globals.importScripts=="function",e.isIOS=s,e.isMobile=n,e.userAgent=r,e.language=a,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const b=[];e.globals.addEventListener("message",E=>{if(E.data&&E.data.vscodeScheduleAsyncWork)for(let I=0,M=b.length;I{const I=++w;b.push({id:I,callback:E}),e.globals.postMessage({vscodeScheduleAsyncWork:I},"*")}}return b=>setTimeout(b)})(),e.OS=D||s?2:y?1:3;let p=!0,m=!1;function v(){if(!m){m=!0;const b=new Uint8Array(2);b[0]=1,b[1]=2,p=new Uint16Array(b.buffer)[0]===(2<<8)+1}return p}e.isLittleEndian=v,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(ne[217],se([1,0,52,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserFeatures=void 0,e.BrowserFeatures={clipboard:{writeText:k.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:k.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>k.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(ne[44],se([1,0,52,63,119,17]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardKeyboardEvent=void 0;function S(i){if(i.charCode){const t=String.fromCharCode(i.charCode).toUpperCase();return k.KeyCodeUtils.fromString(t)}const n=i.keyCode;if(n===3)return 7;if(L.isFirefox)switch(n){case 59:return 85;case 60:if(D.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(D.isMacintosh)return 57;break}else if(L.isWebKit){if(D.isMacintosh&&n===93)return 57;if(!D.isMacintosh&&n===92)return 57}return k.EVENT_KEY_CODE_MAP[n]||0}const f=D.isMacintosh?256:2048,_=512,g=1024,C=D.isMacintosh?2048:256;class s{constructor(n){this._standardKeyboardEventBrand=!0;const t=n;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=S(t),this.code=t.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._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(n){return this._asKeybinding===n}_computeKeybinding(){let n=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode);let t=0;return this.ctrlKey&&(t|=f),this.altKey&&(t|=_),this.shiftKey&&(t|=g),this.metaKey&&(t|=C),t|=n,t}_computeKeyCodeChord(){let n=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode),new y.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,n)}}e.StandardKeyboardEvent=s}),define(ne[60],se([1,0,52,380,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardWheelEvent=e.StandardMouseEvent=void 0;class D{constructor(_){this.timestamp=Date.now(),this.browserEvent=_,this.leftButton=_.button===0,this.middleButton=_.button===1,this.rightButton=_.button===2,this.buttons=_.buttons,this.target=_.target,this.detail=_.detail||1,_.type==="dblclick"&&(this.detail=2),this.ctrlKey=_.ctrlKey,this.shiftKey=_.shiftKey,this.altKey=_.altKey,this.metaKey=_.metaKey,typeof _.pageX=="number"?(this.posx=_.pageX,this.posy=_.pageY):(this.posx=_.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=_.clientY+document.body.scrollTop+document.documentElement.scrollTop);const g=k.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(window,_.view);this.posx-=g.left,this.posy-=g.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}e.StandardMouseEvent=D;class S{constructor(_,g=0,C=0){if(this.browserEvent=_||null,this.target=_?_.target||_.targetNode||_.srcElement:null,this.deltaY=C,this.deltaX=g,_){const s=_,i=_;if(typeof s.wheelDeltaY<"u")this.deltaY=s.wheelDeltaY/120;else if(typeof i.VERTICAL_AXIS<"u"&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaY=-_.deltaY/3:this.deltaY=-_.deltaY:this.deltaY=-_.deltaY/40}if(typeof s.wheelDeltaX<"u")L.isSafari&&y.isWindows?this.deltaX=-(s.wheelDeltaX/120):this.deltaX=s.wheelDeltaX/120;else if(typeof i.HORIZONTAL_AXIS<"u"&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-_.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaX=-_.deltaX/3:this.deltaX=-_.deltaX:this.deltaX=-_.deltaX/40}this.deltaY===0&&this.deltaX===0&&_.wheelDelta&&(this.deltaY=_.wheelDelta/120)}}preventDefault(){var _;(_=this.browserEvent)===null||_===void 0||_.preventDefault()}stopPropagation(){var _;(_=this.browserEvent)===null||_===void 0||_.stopPropagation()}}e.StandardWheelEvent=S});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[13],se([1,0,19,9,6,2,17,264]),function(Q,e,L,k,y,D,S,f){"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.Throttler=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function _(E){return!!E&&typeof E.then=="function"}e.isThenable=_;function g(E){const I=new L.CancellationTokenSource,M=E(I.token),P=new Promise((x,T)=>{const A=I.token.onCancellationRequested(()=>{A.dispose(),I.dispose(),T(new k.CancellationError)});Promise.resolve(M).then(N=>{A.dispose(),I.dispose(),x(N)},N=>{A.dispose(),I.dispose(),T(N)})});return new class{cancel(){I.cancel()}then(x,T){return P.then(x,T)}catch(x){return this.then(void 0,x)}finally(x){return P.finally(x)}}}e.createCancelablePromise=g;function C(E,I,M){return new Promise((P,x)=>{const T=I.onCancellationRequested(()=>{T.dispose(),P(M)});E.then(P,x).finally(()=>T.dispose())})}e.raceCancellation=C;class s{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(I){if(this.isDisposed)throw new Error("Throttler is disposed");if(this.activePromise){if(this.queuedPromiseFactory=I,!this.queuedPromise){const M=()=>{if(this.queuedPromise=null,this.isDisposed)return;const P=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,P};this.queuedPromise=new Promise(P=>{this.activePromise.then(M,M).then(P)})}return new Promise((M,P)=>{this.queuedPromise.then(M,P)})}return this.activePromise=I(),new Promise((M,P)=>{this.activePromise.then(x=>{this.activePromise=null,M(x)},x=>{this.activePromise=null,P(x)})})}dispose(){this.isDisposed=!0}}e.Throttler=s;const i=(E,I)=>{let M=!0;const P=setTimeout(()=>{M=!1,I()},E);return{isTriggered:()=>M,dispose:()=>{clearTimeout(P),M=!1}}},n=E=>{let I=!0;return queueMicrotask(()=>{I&&(I=!1,E())}),{isTriggered:()=>I,dispose:()=>{I=!1}}};class t{constructor(I){this.defaultDelay=I,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(I,M=this.defaultDelay){this.task=I,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((x,T)=>{this.doResolve=x,this.doReject=T}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const x=this.task;return this.task=null,x()}}));const P=()=>{var x;this.deferred=null,(x=this.doResolve)===null||x===void 0||x.call(this,null)};return this.deferred=M===f.MicrotaskDelay?n(P):i(M,P),this.completionPromise}isTriggered(){var I;return!!(!((I=this.deferred)===null||I===void 0)&&I.isTriggered())}cancel(){var I;this.cancelTimeout(),this.completionPromise&&((I=this.doReject)===null||I===void 0||I.call(this,new k.CancellationError),this.completionPromise=null)}cancelTimeout(){var I;(I=this.deferred)===null||I===void 0||I.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=t;class a{constructor(I){this.delayer=new t(I),this.throttler=new s}trigger(I,M){return this.delayer.trigger(()=>this.throttler.queue(I),M)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}e.ThrottledDelayer=a;function u(E,I){return I?new Promise((M,P)=>{const x=setTimeout(()=>{T.dispose(),M()},E),T=I.onCancellationRequested(()=>{clearTimeout(x),T.dispose(),P(new k.CancellationError)})}):g(M=>u(E,M))}e.timeout=u;function h(E,I=0){const M=setTimeout(E,I);return(0,D.toDisposable)(()=>clearTimeout(M))}e.disposableTimeout=h;function r(E,I=P=>!!P,M=null){let P=0;const x=E.length,T=()=>{if(P>=x)return Promise.resolve(M);const A=E[P++];return Promise.resolve(A()).then(F=>I(F)?Promise.resolve(F):T())};return T()}e.first=r;class c{constructor(I,M){this._token=-1,typeof I=="function"&&typeof M=="number"&&this.setIfNotSet(I,M)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setTimeout(()=>{this._token=-1,I()},M)}setIfNotSet(I,M){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,I()},M))}}e.TimeoutTimer=c;class o{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(I,M){this.cancel(),this._token=setInterval(()=>{I()},M)}}e.IntervalTimer=o;class d{constructor(I,M){this.timeoutToken=-1,this.runner=I,this.timeout=M,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(I=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,I)}get delay(){return this.timeout}set delay(I){this.timeout=I}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var I;(I=this.runner)===null||I===void 0||I.call(this)}}e.RunOnceScheduler=d,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=E=>{(0,S.setTimeout0)(()=>{if(I)return;const M=Date.now()+15;E(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,M-Date.now())}}))});let I=!1;return{dispose(){I||(I=!0)}}}:e.runWhenIdle=(E,I)=>{const M=requestIdleCallback(E,typeof I=="number"?{timeout:I}:void 0);let P=!1;return{dispose(){P||(P=!0,cancelIdleCallback(M))}}}}();class l{constructor(I){this._didRun=!1,this._executor=()=>{try{this._value=I()}catch(M){this._error=M}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=l;class p{get isRejected(){var I;return((I=this.outcome)===null||I===void 0?void 0:I.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((I,M)=>{this.completeCallback=I,this.errorCallback=M})}complete(I){return new Promise(M=>{this.completeCallback(I),this.outcome={outcome:0,value:I},M()})}error(I){return new Promise(M=>{this.errorCallback(I),this.outcome={outcome:1,value:I},M()})}cancel(){return this.error(new k.CancellationError)}}e.DeferredPromise=p;var m;(function(E){function I(P){return we(this,void 0,void 0,function*(){let x;const T=yield Promise.all(P.map(A=>A.then(N=>N,N=>{x||(x=N)})));if(typeof x<"u")throw x;return T})}E.settled=I;function M(P){return new Promise((x,T)=>we(this,void 0,void 0,function*(){try{yield P(x,T)}catch(A){T(A)}}))}E.withAsyncBody=M})(m||(e.Promises=m={}));class v{static fromArray(I){return new v(M=>{M.emitMany(I)})}static fromPromise(I){return new v(M=>we(this,void 0,void 0,function*(){M.emitMany(yield I)}))}static fromPromises(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>we(this,void 0,void 0,function*(){return M.emitOne(yield P)})))}))}static merge(I){return new v(M=>we(this,void 0,void 0,function*(){yield Promise.all(I.map(P=>{var x,T,A;return we(this,void 0,void 0,function*(){var N,F,O,W;try{for(x=!0,T=Lt(P);A=yield T.next(),N=A.done,!N;x=!0){W=A.value,x=!1;const U=W;M.emitOne(U)}}catch(U){F={error:U}}finally{try{!x&&!N&&(O=T.return)&&(yield O.call(T))}finally{if(F)throw F.error}}})}))}))}constructor(I){this._state=0,this._results=[],this._error=null,this._onStateChanged=new y.Emitter,queueMicrotask(()=>we(this,void 0,void 0,function*(){const M={emitOne:P=>this.emitOne(P),emitMany:P=>this.emitMany(P),reject:P=>this.reject(P)};try{yield Promise.resolve(I(M)),this.resolve()}catch(P){this.reject(P)}finally{M.emitOne=void 0,M.emitMany=void 0,M.reject=void 0}}))}[Symbol.asyncIterator](){let I=0;return{next:()=>we(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(Iwe(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;P.emitOne(M(U))}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}map(I){return v.map(this,I)}static filter(I,M){return new v(P=>we(this,void 0,void 0,function*(){var x,T,A,N;try{for(var F=!0,O=Lt(I),W;W=yield O.next(),x=W.done,!x;F=!0){N=W.value,F=!1;const U=N;M(U)&&P.emitOne(U)}}catch(U){T={error:U}}finally{try{!F&&!x&&(A=O.return)&&(yield A.call(O))}finally{if(T)throw T.error}}}))}filter(I){return v.filter(this,I)}static coalesce(I){return v.filter(I,M=>!!M)}coalesce(){return v.coalesce(this)}static toPromise(I){var M,P,x,T,A,N,F;return we(this,void 0,void 0,function*(){const O=[];try{for(M=!0,P=Lt(I);x=yield P.next(),T=x.done,!T;M=!0){F=x.value,M=!1;const W=F;O.push(W)}}catch(W){A={error:W}}finally{try{!M&&!T&&(N=P.return)&&(yield N.call(P))}finally{if(A)throw A.error}}return O})}toPromise(){return v.toPromise(this)}emitOne(I){this._state===0&&(this._results.push(I),this._onStateChanged.fire())}emitMany(I){this._state===0&&(this._results=this._results.concat(I),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(I){this._state===0&&(this._state=2,this._error=I,this._onStateChanged.fire())}}e.AsyncIterableObject=v,v.EMPTY=v.fromArray([]);class b extends v{constructor(I,M){super(M),this._source=I}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=b;function w(E){const I=new L.CancellationTokenSource,M=E(I.token);return new b(I,P=>we(this,void 0,void 0,function*(){var x,T,A,N;const F=I.token.onCancellationRequested(()=>{F.dispose(),I.dispose(),P.reject(new k.CancellationError)});try{try{for(var O=!0,W=Lt(M),U;U=yield W.next(),x=U.done,!x;O=!0){N=U.value,O=!1;const j=N;if(I.token.isCancellationRequested)return;P.emitOne(j)}}catch(j){T={error:j}}finally{try{!O&&!x&&(A=W.return)&&(yield A.call(W))}finally{if(T)throw T.error}}F.dispose(),I.dispose()}catch(j){F.dispose(),I.dispose(),P.reject(j)}}))}e.createCancelableAsyncIterable=w}),define(ne[567],se([1,0,13,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarVisibilityController=void 0;class y extends k.Disposable{constructor(S,f,_){super(),this._visibility=S,this._visibleClassName=f,this._invisibleClassName=_,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new L.TimeoutTimer)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this._updateShouldBeVisible())}setShouldBeVisible(S){this._rawShouldBeVisible=S,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const S=this._applyVisibilitySetting();this._shouldBeVisible!==S&&(this._shouldBeVisible=S,this.ensureVisibility())}setIsNeeded(S){this._isNeeded!==S&&(this._isNeeded=S,this.ensureVisibility())}setDomNode(S){this._domNode=S,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(()=>{var S;(S=this._domNode)===null||S===void 0||S.setClassName(this._visibleClassName)},0))}_hide(S){var f;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,(f=this._domNode)===null||f===void 0||f.setClassName(this._invisibleClassName+(S?" fade":"")))}}e.ScrollbarVisibilityController=y}),define(ne[218],se([1,0,139,14,13,264,168,6,46]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndexTreeModel=e.getVisibleState=e.isFilterResult=void 0;function g(n){return typeof n=="object"&&"visibility"in n&&"data"in n}e.isFilterResult=g;function C(n){switch(n){case!0:return 1;case!1:return 0;default:return n}}e.getVisibleState=C;function s(n){return typeof n.collapsible=="boolean"}class i{constructor(t,a,u,h={}){this.user=t,this.list=a,this.rootRef=[],this.eventBufferer=new f.EventBufferer,this._onDidChangeCollapseState=new f.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new f.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new f.Emitter,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new y.Delayer(D.MicrotaskDelay),this.collapseByDefault=typeof h.collapseByDefault>"u"?!1:h.collapseByDefault,this.filter=h.filter,this.autoExpandSingleChildren=typeof h.autoExpandSingleChildren>"u"?!1:h.autoExpandSingleChildren,this.root={parent:void 0,element:u,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(t,a,u=_.Iterable.empty(),h={}){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");h.diffIdentityProvider?this.spliceSmart(h.diffIdentityProvider,t,a,u,h):this.spliceSimple(t,a,u,h)}spliceSmart(t,a,u,h,r,c){var o;h===void 0&&(h=_.Iterable.empty()),c===void 0&&(c=(o=r.diffDepth)!==null&&o!==void 0?o:0);const{parentNode:d}=this.getParentNodeWithListIndex(a);if(!d.lastDiffIds)return this.spliceSimple(a,u,h,r);const l=[...h],p=a[a.length-1],m=new S.LcsDiff({getElements:()=>d.lastDiffIds},{getElements:()=>[...d.children.slice(0,p),...l,...d.children.slice(p+u)].map(I=>t.getId(I.element).toString())}).ComputeDiff(!1);if(m.quitEarly)return d.lastDiffIds=void 0,this.spliceSimple(a,u,l,r);const v=a.slice(0,-1),b=(I,M,P)=>{if(c>0)for(let x=0;xP.originalStart-M.originalStart))b(w,E,w-(I.originalStart+I.originalLength)),w=I.originalStart,E=I.modifiedStart-p,this.spliceSimple([...v,w],I.originalLength,_.Iterable.slice(l,E,E+I.modifiedLength),r);b(w,E,w)}spliceSimple(t,a,u=_.Iterable.empty(),{onDidCreateNode:h,onDidDeleteNode:r,diffIdentityProvider:c}){const{parentNode:o,listIndex:d,revealed:l,visible:p}=this.getParentNodeWithListIndex(t),m=[],v=_.Iterable.map(u,F=>this.createTreeNode(F,o,o.visible?1:0,l,m,h)),b=t[t.length-1],w=o.children.length>0;let E=0;for(let F=b;F>=0&&Fc.getId(F.element).toString())):o.lastDiffIds=o.children.map(F=>c.getId(F.element).toString()):o.lastDiffIds=void 0;let T=0;for(const F of x)F.visible&&T++;if(T!==0)for(let F=b+I.length;FO+(W.visible?W.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(o,P-F),this.list.splice(d,F,m)}if(x.length>0&&r){const F=O=>{r(O),O.children.forEach(F)};x.forEach(F)}this._onDidSplice.fire({insertedNodes:I,deletedNodes:x});const A=o.children.length>0;w!==A&&this.setCollapsible(t.slice(0,-1),A);let N=o;for(;N;){if(N.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}N=N.parent}}rerender(t){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");const{node:a,listIndex:u,revealed:h}=this.getTreeNodeWithListIndex(t);a.visible&&h&&this.list.splice(u,1,[a])}has(t){return this.hasTreeNode(t)}getListIndex(t){const{listIndex:a,visible:u,revealed:h}=this.getTreeNodeWithListIndex(t);return u&&h?a:-1}getListRenderCount(t){return this.getTreeNode(t).renderNodeCount}isCollapsible(t){return this.getTreeNode(t).collapsible}setCollapsible(t,a){const u=this.getTreeNode(t);typeof a>"u"&&(a=!u.collapsible);const h={collapsible:a};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,h))}isCollapsed(t){return this.getTreeNode(t).collapsed}setCollapsed(t,a,u){const h=this.getTreeNode(t);typeof a>"u"&&(a=!h.collapsed);const r={collapsed:a,recursive:u||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,r))}_setCollapseState(t,a){const{node:u,listIndex:h,revealed:r}=this.getTreeNodeWithListIndex(t),c=this._setListNodeCollapseState(u,h,r,a);if(u!==this.root&&this.autoExpandSingleChildren&&c&&!s(a)&&u.collapsible&&!u.collapsed&&!a.recursive){let o=-1;for(let d=0;d-1){o=-1;break}else o=d;o>-1&&this._setCollapseState([...t,o],a)}return c}_setListNodeCollapseState(t,a,u,h){const r=this._setNodeCollapseState(t,h,!1);if(!u||!t.visible||!r)return r;const c=t.renderNodeCount,o=this.updateNodeAfterCollapseChange(t),d=c-(a===-1?0:1);return this.list.splice(a+1,d,o.slice(1)),r}_setNodeCollapseState(t,a,u){let h;if(t===this.root?h=!1:(s(a)?(h=t.collapsible!==a.collapsible,t.collapsible=a.collapsible):t.collapsible?(h=t.collapsed!==a.collapsed,t.collapsed=a.collapsed):h=!1,h&&this._onDidChangeCollapseState.fire({node:t,deep:u})),!s(a)&&a.recursive)for(const r of t.children)h=this._setNodeCollapseState(r,a,!0)||h;return h}expandTo(t){this.eventBufferer.bufferEvents(()=>{let a=this.getTreeNode(t);for(;a.parent;)a=a.parent,t=t.slice(0,t.length-1),a.collapsed&&this._setCollapseState(t,{collapsed:!1,recursive:!1})})}refilter(){const t=this.root.renderNodeCount,a=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,t,a),this.refilterDelayer.cancel()}createTreeNode(t,a,u,h,r,c){const o={parent:a,element:t.element,children:[],depth:a.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof t.collapsible=="boolean"?t.collapsible:typeof t.collapsed<"u",collapsed:typeof t.collapsed>"u"?this.collapseByDefault:t.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},d=this._filterNode(o,u);o.visibility=d,h&&r.push(o);const l=t.children||_.Iterable.empty(),p=h&&d!==0&&!o.collapsed;let m=0,v=1;for(const b of l){const w=this.createTreeNode(b,o,d,p,r,c);o.children.push(w),v+=w.renderNodeCount,w.visible&&(w.visibleChildIndex=m++)}return o.collapsible=o.collapsible||o.children.length>0,o.visibleChildrenCount=m,o.visible=d===2?m>0:d===1,o.visible?o.collapsed||(o.renderNodeCount=v):(o.renderNodeCount=0,h&&r.pop()),c?.(o),o}updateNodeAfterCollapseChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterCollapseChange(t,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterCollapseChange(t,a){if(t.visible===!1)return 0;if(a.push(t),t.renderNodeCount=1,!t.collapsed)for(const u of t.children)t.renderNodeCount+=this._updateNodeAfterCollapseChange(u,a);return this._onDidChangeRenderNodeCount.fire(t),t.renderNodeCount}updateNodeAfterFilterChange(t){const a=t.renderNodeCount,u=[];return this._updateNodeAfterFilterChange(t,t.visible?1:0,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-a),u}_updateNodeAfterFilterChange(t,a,u,h=!0){let r;if(t!==this.root){if(r=this._filterNode(t,a),r===0)return t.visible=!1,t.renderNodeCount=0,!1;h&&u.push(t)}const c=u.length;t.renderNodeCount=t===this.root?0:1;let o=!1;if(!t.collapsed||r!==0){let d=0;for(const l of t.children)o=this._updateNodeAfterFilterChange(l,r,u,h&&!t.collapsed)||o,l.visible&&(l.visibleChildIndex=d++);t.visibleChildrenCount=d}else t.visibleChildrenCount=0;return t!==this.root&&(t.visible=r===2?o:r===1,t.visibility=r),t.visible?t.collapsed||(t.renderNodeCount+=u.length-c):(t.renderNodeCount=0,h&&u.pop()),this._onDidChangeRenderNodeCount.fire(t),t.visible}_updateAncestorsRenderNodeCount(t,a){if(a!==0)for(;t;)t.renderNodeCount+=a,this._onDidChangeRenderNodeCount.fire(t),t=t.parent}_filterNode(t,a){const u=this.filter?this.filter.filter(t.element,a):1;return typeof u=="boolean"?(t.filterData=void 0,u?1:0):g(u)?(t.filterData=u.data,C(u.visibility)):(t.filterData=void 0,C(u))}hasTreeNode(t,a=this.root){if(!t||t.length===0)return!0;const[u,...h]=t;return u<0||u>a.children.length?!1:this.hasTreeNode(h,a.children[u])}getTreeNode(t,a=this.root){if(!t||t.length===0)return a;const[u,...h]=t;if(u<0||u>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");return this.getTreeNode(h,a.children[u])}getTreeNodeWithListIndex(t){if(t.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:a,listIndex:u,revealed:h,visible:r}=this.getParentNodeWithListIndex(t),c=t[t.length-1];if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");const o=a.children[c];return{node:o,listIndex:u,revealed:h,visible:r&&o.visible}}getParentNodeWithListIndex(t,a=this.root,u=0,h=!0,r=!0){const[c,...o]=t;if(c<0||c>a.children.length)throw new L.TreeError(this.user,"Invalid tree location");for(let d=0;d{var a;if(t.element===null)return;const u=t;if(C.add(u.element),this.nodes.set(u.element,u),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.add(h),this.nodesByIdentity.set(h,u)}(a=g.onDidCreateNode)===null||a===void 0||a.call(g,u)},n=t=>{var a;if(t.element===null)return;const u=t;if(C.has(u.element)||this.nodes.delete(u.element),this.identityProvider){const h=this.identityProvider.getId(u.element).toString();s.has(h)||this.nodesByIdentity.delete(h)}(a=g.onDidDeleteNode)===null||a===void 0||a.call(g,u)};this.model.splice([...f,0],Number.MAX_VALUE,_,Object.assign(Object.assign({},g),{onDidCreateNode:i,onDidDeleteNode:n}))}preserveCollapseState(f=y.Iterable.empty()){return this.sorter&&(f=[...f].sort(this.sorter.compare.bind(this.sorter))),y.Iterable.map(f,_=>{let g=this.nodes.get(_.element);if(!g&&this.identityProvider){const i=this.identityProvider.getId(_.element).toString();g=this.nodesByIdentity.get(i)}if(!g){let i;return typeof _.collapsed>"u"?i=void 0:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed?i=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?i=!1:i=!!_.collapsed,Object.assign(Object.assign({},_),{children:this.preserveCollapseState(_.children),collapsed:i})}const C=typeof _.collapsible=="boolean"?_.collapsible:g.collapsible;let s;return typeof _.collapsed>"u"||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrCollapsed||_.collapsed===k.ObjectTreeElementCollapseState.PreserveOrExpanded?s=g.collapsed:_.collapsed===k.ObjectTreeElementCollapseState.Collapsed?s=!0:_.collapsed===k.ObjectTreeElementCollapseState.Expanded?s=!1:s=!!_.collapsed,Object.assign(Object.assign({},_),{collapsible:C,collapsed:s,children:this.preserveCollapseState(_.children)})})}rerender(f){const _=this.getElementLocation(f);this.model.rerender(_)}getFirstElementChild(f=null){const _=this.getElementLocation(f);return this.model.getFirstElementChild(_)}has(f){return this.nodes.has(f)}getListIndex(f){const _=this.getElementLocation(f);return this.model.getListIndex(_)}getListRenderCount(f){const _=this.getElementLocation(f);return this.model.getListRenderCount(_)}isCollapsible(f){const _=this.getElementLocation(f);return this.model.isCollapsible(_)}setCollapsible(f,_){const g=this.getElementLocation(f);return this.model.setCollapsible(g,_)}isCollapsed(f){const _=this.getElementLocation(f);return this.model.isCollapsed(_)}setCollapsed(f,_,g){const C=this.getElementLocation(f);return this.model.setCollapsed(C,_,g)}expandTo(f){const _=this.getElementLocation(f);this.model.expandTo(_)}refilter(){this.model.refilter()}getNode(f=null){if(f===null)return this.model.getNode(this.model.rootRef);const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return _}getNodeLocation(f){return f.element}getParentNodeLocation(f){if(f===null)throw new k.TreeError(this.user,"Invalid getParentNodeLocation call");const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);const g=this.model.getNodeLocation(_),C=this.model.getParentNodeLocation(g);return this.model.getNode(C).element}getElementLocation(f){if(f===null)return[];const _=this.nodes.get(f);if(!_)throw new k.TreeError(this.user,`Tree element not found: ${f}`);return this.model.getNodeLocation(_)}}e.ObjectTreeModel=D}),define(ne[568],se([1,0,219,139,14,6,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTreeModel=e.DefaultElementMapper=e.CompressedObjectTreeModel=e.decompress=e.compress=void 0;function f(c){const o=[c.element],d=c.incompressible||!1;return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.from(c.children),f),collapsible:c.collapsible,collapsed:c.collapsed}}function _(c){const o=[c.element],d=c.incompressible||!1;let l,p;for(;[p,l]=S.Iterable.consume(S.Iterable.from(c.children),2),!(p.length!==1||p[0].incompressible);)c=p[0],o.push(c.element);return{element:{elements:o,incompressible:d},children:S.Iterable.map(S.Iterable.concat(p,l),_),collapsible:c.collapsible,collapsed:c.collapsed}}e.compress=_;function g(c,o=0){let d;return og(l,0)),o===0&&c.element.incompressible?{element:c.element.elements[o],children:d,incompressible:!0,collapsible:c.collapsible,collapsed:c.collapsed}:{element:c.element.elements[o],children:d,collapsible:c.collapsible,collapsed:c.collapsed}}function C(c){return g(c,0)}e.decompress=C;function s(c,o,d){return c.element===o?Object.assign(Object.assign({},c),{children:d}):Object.assign(Object.assign({},c),{children:S.Iterable.map(S.Iterable.from(c.children),l=>s(l,o,d))})}const i=c=>({getId(o){return o.elements.map(d=>c.getId(d).toString()).join("\0")}});class n{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(o,d,l={}){this.user=o,this.rootRef=null,this.nodes=new Map,this.model=new L.ObjectTreeModel(o,d,l),this.enabled=typeof l.compressionEnabled>"u"?!0:l.compressionEnabled,this.identityProvider=l.identityProvider}setChildren(o,d=S.Iterable.empty(),l){const p=l.diffIdentityProvider&&i(l.diffIdentityProvider);if(o===null){const T=S.Iterable.map(d,this.enabled?_:f);this._setChildren(null,T,{diffIdentityProvider:p,diffDepth:1/0});return}const m=this.nodes.get(o);if(!m)throw new k.TreeError(this.user,"Unknown compressed tree node");const v=this.model.getNode(m),b=this.model.getParentNodeLocation(m),w=this.model.getNode(b),E=C(v),I=s(E,o,d),M=(this.enabled?_:f)(I),P=l.diffIdentityProvider?(T,A)=>l.diffIdentityProvider.getId(T)===l.diffIdentityProvider.getId(A):void 0;if((0,y.equals)(M.element.elements,v.element.elements,P)){this._setChildren(m,M.children||S.Iterable.empty(),{diffIdentityProvider:p,diffDepth:1});return}const x=w.children.map(T=>T===v?M:T);this._setChildren(w.element,x,{diffIdentityProvider:p,diffDepth:v.depth-w.depth})}setCompressionEnabled(o){if(o===this.enabled)return;this.enabled=o;const l=this.model.getNode().children,p=S.Iterable.map(l,C),m=S.Iterable.map(p,o?_:f);this._setChildren(null,m,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(o,d,l){const p=new Set,m=b=>{for(const w of b.element.elements)p.add(w),this.nodes.set(w,b.element)},v=b=>{for(const w of b.element.elements)p.has(w)||this.nodes.delete(w)};this.model.setChildren(o,d,Object.assign(Object.assign({},l),{onDidCreateNode:m,onDidDeleteNode:v}))}has(o){return this.nodes.has(o)}getListIndex(o){const d=this.getCompressedNode(o);return this.model.getListIndex(d)}getListRenderCount(o){const d=this.getCompressedNode(o);return this.model.getListRenderCount(d)}getNode(o){if(typeof o>"u")return this.model.getNode();const d=this.getCompressedNode(o);return this.model.getNode(d)}getNodeLocation(o){const d=this.model.getNodeLocation(o);return d===null?null:d.elements[d.elements.length-1]}getParentNodeLocation(o){const d=this.getCompressedNode(o),l=this.model.getParentNodeLocation(d);return l===null?null:l.elements[l.elements.length-1]}getFirstElementChild(o){const d=this.getCompressedNode(o);return this.model.getFirstElementChild(d)}isCollapsible(o){const d=this.getCompressedNode(o);return this.model.isCollapsible(d)}setCollapsible(o,d){const l=this.getCompressedNode(o);return this.model.setCollapsible(l,d)}isCollapsed(o){const d=this.getCompressedNode(o);return this.model.isCollapsed(d)}setCollapsed(o,d,l){const p=this.getCompressedNode(o);return this.model.setCollapsed(p,d,l)}expandTo(o){const d=this.getCompressedNode(o);this.model.expandTo(d)}rerender(o){const d=this.getCompressedNode(o);this.model.rerender(d)}refilter(){this.model.refilter()}getCompressedNode(o){if(o===null)return null;const d=this.nodes.get(o);if(!d)throw new k.TreeError(this.user,`Tree element not found: ${o}`);return d}}e.CompressedObjectTreeModel=n;const t=c=>c[c.length-1];e.DefaultElementMapper=t;class a{get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(o=>new a(this.unwrapper,o))}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}constructor(o,d){this.unwrapper=o,this.node=d}}function u(c,o){return{splice(d,l,p){o.splice(d,l,p.map(m=>c.map(m)))},updateElementHeight(d,l){o.updateElementHeight(d,l)}}}function h(c,o){return Object.assign(Object.assign({},o),{identityProvider:o.identityProvider&&{getId(d){return o.identityProvider.getId(c(d))}},sorter:o.sorter&&{compare(d,l){return o.sorter.compare(d.elements[0],l.elements[0])}},filter:o.filter&&{filter(d,l){return o.filter.filter(c(d),l)}}})}class r{get onDidSplice(){return D.Event.map(this.model.onDidSplice,({insertedNodes:o,deletedNodes:d})=>({insertedNodes:o.map(l=>this.nodeMapper.map(l)),deletedNodes:d.map(l=>this.nodeMapper.map(l))}))}get onDidChangeCollapseState(){return D.Event.map(this.model.onDidChangeCollapseState,({node:o,deep:d})=>({node:this.nodeMapper.map(o),deep:d}))}get onDidChangeRenderNodeCount(){return D.Event.map(this.model.onDidChangeRenderNodeCount,o=>this.nodeMapper.map(o))}constructor(o,d,l={}){this.rootRef=null,this.elementMapper=l.elementMapper||e.DefaultElementMapper;const p=m=>this.elementMapper(m.elements);this.nodeMapper=new k.WeakMapper(m=>new a(p,m)),this.model=new n(o,u(this.nodeMapper,d),h(p,l))}setChildren(o,d=S.Iterable.empty(),l={}){this.model.setChildren(o,d,l)}setCompressionEnabled(o){this.model.setCompressionEnabled(o)}has(o){return this.model.has(o)}getListIndex(o){return this.model.getListIndex(o)}getListRenderCount(o){return this.model.getListRenderCount(o)}getNode(o){return this.nodeMapper.map(this.model.getNode(o))}getNodeLocation(o){return o.element}getParentNodeLocation(o){return this.model.getParentNodeLocation(o)}getFirstElementChild(o){const d=this.model.getFirstElementChild(o);return d===null||typeof d>"u"?d:this.elementMapper(d.elements)}isCollapsible(o){return this.model.isCollapsible(o)}setCollapsible(o,d){return this.model.setCollapsible(o,d)}isCollapsed(o){return this.model.isCollapsed(o)}setCollapsed(o,d,l){return this.model.setCollapsed(o,d,l)}expandTo(o){return this.model.expandTo(o)}rerender(o){return this.model.rerender(o)}refilter(){return this.model.refilter()}getCompressedTreeNode(o=null){return this.model.getNode(o)}}e.CompressibleObjectTreeModel=r}),define(ne[569],se([1,0,17]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.platform=e.env=e.cwd=void 0;let k;if(typeof L.globals.vscode<"u"&&typeof L.globals.vscode.process<"u"){const y=L.globals.vscode.process;k={get platform(){return y.platform},get arch(){return y.arch},get env(){return y.env},cwd(){return y.cwd()}}}else typeof process<"u"?k={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:k={get platform(){return L.isWindows?"win32":L.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=k.cwd,e.env=k.env,e.platform=k.platform}),define(ne[92],se([1,0,569]),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 k=65,y=97,D=90,S=122,f=46,_=47,g=92,C=58,s=63;class i extends Error{constructor(p,m,v){let b;typeof m=="string"&&m.indexOf("not ")===0?(b="must not be",m=m.replace(/^not /,"")):b="must be";const w=p.indexOf(".")!==-1?"property":"argument";let E=`The "${p}" ${w} ${b} of type ${m}`;E+=`. Received type ${typeof v}`,super(E),this.code="ERR_INVALID_ARG_TYPE"}}function n(l,p){if(l===null||typeof l!="object")throw new i(p,"Object",l)}function t(l,p){if(typeof l!="string")throw new i(p,"string",l)}const a=L.platform==="win32";function u(l){return l===_||l===g}function h(l){return l===_}function r(l){return l>=k&&l<=D||l>=y&&l<=S}function c(l,p,m,v){let b="",w=0,E=-1,I=0,M=0;for(let P=0;P<=l.length;++P){if(P2){const x=b.lastIndexOf(m);x===-1?(b="",w=0):(b=b.slice(0,x),w=b.length-1-b.lastIndexOf(m)),E=P,I=0;continue}else if(b.length!==0){b="",w=0,E=P,I=0;continue}}p&&(b+=b.length>0?`${m}..`:"..",w=2)}else b.length>0?b+=`${m}${l.slice(E+1,P)}`:b=l.slice(E+1,P),w=P-E-1;E=P,I=0}else M===f&&I!==-1?++I:I=-1}return b}function o(l,p){n(p,"pathObject");const m=p.dir||p.root,v=p.base||`${p.name||""}${p.ext||""}`;return m?m===p.root?`${m}${v}`:`${m}${l}${v}`:v}e.win32={resolve(...l){let p="",m="",v=!1;for(let b=l.length-1;b>=-1;b--){let w;if(b>=0){if(w=l[b],t(w,"path"),w.length===0)continue}else p.length===0?w=L.cwd():(w=L.env[`=${p}`]||L.cwd(),(w===void 0||w.slice(0,2).toLowerCase()!==p.toLowerCase()&&w.charCodeAt(2)===g)&&(w=`${p}\\`));const E=w.length;let I=0,M="",P=!1;const x=w.charCodeAt(0);if(E===1)u(x)&&(I=1,P=!0);else if(u(x))if(P=!0,u(w.charCodeAt(1))){let T=2,A=T;for(;T2&&u(w.charCodeAt(2))&&(P=!0,I=3));if(M.length>0)if(p.length>0){if(M.toLowerCase()!==p.toLowerCase())continue}else p=M;if(v){if(p.length>0)break}else if(m=`${w.slice(I)}\\${m}`,v=P,P&&p.length>0)break}return m=c(m,!v,"\\",u),v?`${p}\\${m}`:`${p}${m}`||"."},normalize(l){t(l,"path");const p=l.length;if(p===0)return".";let m=0,v,b=!1;const w=l.charCodeAt(0);if(p===1)return h(w)?"\\":l;if(u(w))if(b=!0,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))&&(b=!0,m=3));let E=m0&&u(l.charCodeAt(p-1))&&(E+="\\"),v===void 0?b?`\\${E}`:E:b?`${v}\\${E}`:`${v}${E}`},isAbsolute(l){t(l,"path");const p=l.length;if(p===0)return!1;const m=l.charCodeAt(0);return u(m)||p>2&&r(m)&&l.charCodeAt(1)===C&&u(l.charCodeAt(2))},join(...l){if(l.length===0)return".";let p,m;for(let w=0;w0&&(p===void 0?p=m=E:p+=`\\${E}`)}if(p===void 0)return".";let v=!0,b=0;if(typeof m=="string"&&u(m.charCodeAt(0))){++b;const w=m.length;w>1&&u(m.charCodeAt(1))&&(++b,w>2&&(u(m.charCodeAt(2))?++b:v=!1))}if(v){for(;b=2&&(p=`\\${p.slice(b)}`)}return e.win32.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p)return"";const m=e.win32.resolve(l),v=e.win32.resolve(p);if(m===v||(l=m.toLowerCase(),p=v.toLowerCase(),l===p))return"";let b=0;for(;bb&&l.charCodeAt(w-1)===g;)w--;const E=w-b;let I=0;for(;II&&p.charCodeAt(M-1)===g;)M--;const P=M-I,x=Ex){if(p.charCodeAt(I+A)===g)return v.slice(I+A+1);if(A===2)return v.slice(I+A)}E>x&&(l.charCodeAt(b+A)===g?T=A:A===2&&(T=3)),T===-1&&(T=0)}let N="";for(A=b+T+1;A<=w;++A)(A===w||l.charCodeAt(A)===g)&&(N+=N.length===0?"..":"\\..");return I+=T,N.length>0?`${N}${v.slice(I,M)}`:(v.charCodeAt(I)===g&&++I,v.slice(I,M))},toNamespacedPath(l){if(typeof l!="string"||l.length===0)return l;const p=e.win32.resolve(l);if(p.length<=2)return l;if(p.charCodeAt(0)===g){if(p.charCodeAt(1)===g){const m=p.charCodeAt(2);if(m!==s&&m!==f)return`\\\\?\\UNC\\${p.slice(2)}`}}else if(r(p.charCodeAt(0))&&p.charCodeAt(1)===C&&p.charCodeAt(2)===g)return`\\\\?\\${p}`;return l},dirname(l){t(l,"path");const p=l.length;if(p===0)return".";let m=-1,v=0;const b=l.charCodeAt(0);if(p===1)return u(b)?l:".";if(u(b)){if(m=v=1,u(l.charCodeAt(1))){let I=2,M=I;for(;I2&&u(l.charCodeAt(2))?3:2,v=m);let w=-1,E=!0;for(let I=p-1;I>=v;--I)if(u(l.charCodeAt(I))){if(!E){w=I;break}}else E=!1;if(w===-1){if(m===-1)return".";w=m}return l.slice(0,w)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(l.length>=2&&r(l.charCodeAt(0))&&l.charCodeAt(1)===C&&(m=2),p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=m;--w){const M=l.charCodeAt(w);if(u(M)){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=m;--w)if(u(l.charCodeAt(w))){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=0,m=-1,v=0,b=-1,w=!0,E=0;l.length>=2&&l.charCodeAt(1)===C&&r(l.charCodeAt(0))&&(p=v=2);for(let I=l.length-1;I>=p;--I){const M=l.charCodeAt(I);if(u(M)){if(!w){v=I+1;break}continue}b===-1&&(w=!1,b=I+1),M===f?m===-1?m=I:E!==1&&(E=1):m!==-1&&(E=-1)}return m===-1||b===-1||E===0||E===1&&m===b-1&&m===v+1?"":l.slice(m,b)},format:o.bind(null,"\\"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.length;let v=0,b=l.charCodeAt(0);if(m===1)return u(b)?(p.root=p.dir=l,p):(p.base=p.name=l,p);if(u(b)){if(v=1,u(l.charCodeAt(1))){let T=2,A=T;for(;T0&&(p.root=l.slice(0,v));let w=-1,E=v,I=-1,M=!0,P=l.length-1,x=0;for(;P>=v;--P){if(b=l.charCodeAt(P),u(b)){if(!M){E=P+1;break}continue}I===-1&&(M=!1,I=P+1),b===f?w===-1?w=P:x!==1&&(x=1):w!==-1&&(x=-1)}return I!==-1&&(w===-1||x===0||x===1&&w===I-1&&w===E+1?p.base=p.name=l.slice(E,I):(p.name=l.slice(E,w),p.base=l.slice(E,I),p.ext=l.slice(w,I))),E>0&&E!==v?p.dir=l.slice(0,E-1):p.dir=p.root,p},sep:"\\",delimiter:";",win32:null,posix:null};const d=(()=>{if(a){const l=/\\/g;return()=>{const p=L.cwd().replace(l,"/");return p.slice(p.indexOf("/"))}}return()=>L.cwd()})();e.posix={resolve(...l){let p="",m=!1;for(let v=l.length-1;v>=-1&&!m;v--){const b=v>=0?l[v]:d();t(b,"path"),b.length!==0&&(p=`${b}/${p}`,m=b.charCodeAt(0)===_)}return p=c(p,!m,"/",h),m?`/${p}`:p.length>0?p:"."},normalize(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_,m=l.charCodeAt(l.length-1)===_;return l=c(l,!p,"/",h),l.length===0?p?"/":m?"./":".":(m&&(l+="/"),p?`/${l}`:l)},isAbsolute(l){return t(l,"path"),l.length>0&&l.charCodeAt(0)===_},join(...l){if(l.length===0)return".";let p;for(let m=0;m0&&(p===void 0?p=v:p+=`/${v}`)}return p===void 0?".":e.posix.normalize(p)},relative(l,p){if(t(l,"from"),t(p,"to"),l===p||(l=e.posix.resolve(l),p=e.posix.resolve(p),l===p))return"";const m=1,v=l.length,b=v-m,w=1,E=p.length-w,I=bI){if(p.charCodeAt(w+P)===_)return p.slice(w+P+1);if(P===0)return p.slice(w+P)}else b>I&&(l.charCodeAt(m+P)===_?M=P:P===0&&(M=0));let x="";for(P=m+M+1;P<=v;++P)(P===v||l.charCodeAt(P)===_)&&(x+=x.length===0?"..":"/..");return`${x}${p.slice(w+M)}`},toNamespacedPath(l){return l},dirname(l){if(t(l,"path"),l.length===0)return".";const p=l.charCodeAt(0)===_;let m=-1,v=!0;for(let b=l.length-1;b>=1;--b)if(l.charCodeAt(b)===_){if(!v){m=b;break}}else v=!1;return m===-1?p?"/":".":p&&m===1?"//":l.slice(0,m)},basename(l,p){p!==void 0&&t(p,"ext"),t(l,"path");let m=0,v=-1,b=!0,w;if(p!==void 0&&p.length>0&&p.length<=l.length){if(p===l)return"";let E=p.length-1,I=-1;for(w=l.length-1;w>=0;--w){const M=l.charCodeAt(w);if(M===_){if(!b){m=w+1;break}}else I===-1&&(b=!1,I=w+1),E>=0&&(M===p.charCodeAt(E)?--E===-1&&(v=w):(E=-1,v=I))}return m===v?v=I:v===-1&&(v=l.length),l.slice(m,v)}for(w=l.length-1;w>=0;--w)if(l.charCodeAt(w)===_){if(!b){m=w+1;break}}else v===-1&&(b=!1,v=w+1);return v===-1?"":l.slice(m,v)},extname(l){t(l,"path");let p=-1,m=0,v=-1,b=!0,w=0;for(let E=l.length-1;E>=0;--E){const I=l.charCodeAt(E);if(I===_){if(!b){m=E+1;break}continue}v===-1&&(b=!1,v=E+1),I===f?p===-1?p=E:w!==1&&(w=1):p!==-1&&(w=-1)}return p===-1||v===-1||w===0||w===1&&p===v-1&&p===m+1?"":l.slice(p,v)},format:o.bind(null,"/"),parse(l){t(l,"path");const p={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return p;const m=l.charCodeAt(0)===_;let v;m?(p.root="/",v=1):v=0;let b=-1,w=0,E=-1,I=!0,M=l.length-1,P=0;for(;M>=v;--M){const x=l.charCodeAt(M);if(x===_){if(!I){w=M+1;break}continue}E===-1&&(I=!1,E=M+1),x===f?b===-1?b=M:P!==1&&(P=1):b!==-1&&(P=-1)}if(E!==-1){const x=w===0&&m?1:w;b===-1||P===0||P===1&&b===E-1&&b===w+1?p.base=p.name=l.slice(x,E):(p.name=l.slice(x,b),p.base=l.slice(x,E),p.ext=l.slice(b,E))}return w>0?p.dir=l.slice(0,w-1):m&&(p.dir="/"),p},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=a?e.win32.normalize:e.posix.normalize,e.resolve=a?e.win32.resolve:e.posix.resolve,e.relative=a?e.win32.relative:e.posix.relative,e.dirname=a?e.win32.dirname:e.posix.dirname,e.basename=a?e.win32.basename:e.posix.basename,e.extname=a?e.win32.extname:e.posix.extname,e.sep=a?e.win32.sep:e.posix.sep}),define(ne[220],se([1,0,92,17,11]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasDriveLetter=e.isWindowsDriveLetter=e.isEqualOrParent=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function D(i){return i===47||i===92}e.isPathSeparator=D;function S(i){return i.replace(/[\\/]/g,L.posix.sep)}e.toSlashes=S;function f(i){return i.indexOf("/")===-1&&(i=S(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=f;function _(i,n=L.posix.sep){if(!i)return"";const t=i.length,a=i.charCodeAt(0);if(D(a)){if(D(i.charCodeAt(1))&&!D(i.charCodeAt(2))){let h=3;const r=h;for(;hi.length)return!1;if(t){if(!(0,y.startsWithIgnoreCase)(i,n))return!1;if(n.length===i.length)return!0;let h=n.length;return n.charAt(n.length-1)===a&&h--,i.charAt(h)===a}return n.charAt(n.length-1)!==a&&(n+=a),i.indexOf(n)===0}e.isEqualOrParent=g;function C(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=C;function s(i,n=k.isWindows){return n?C(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=s}),define(ne[570],se([1,0,72,92,17,11]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieceToQuery=e.prepareQuery=e.scoreFuzzy2=void 0;const S=[void 0,[]];function f(r,c,o=0,d=0){const l=c;return l.values&&l.values.length>1?_(r,l.values,o,d):g(r,c,o,d)}e.scoreFuzzy2=f;function _(r,c,o,d){let l=0;const p=[];for(const m of c){const[v,b]=g(r,m,o,d);if(typeof v!="number")return S;l+=v,p.push(...b)}return[l,s(p)]}function g(r,c,o,d){const l=(0,L.fuzzyScore)(c.original,c.originalLowercase,o,r,r.toLowerCase(),d,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return l?[l[0],(0,L.createMatches)(l)]:S}const C=Object.freeze({score:0});function s(r){const c=r.sort((l,p)=>l.start-p.start),o=[];let d;for(const l of c)!d||!i(d,l)?(d=l,o.push(l)):(d.start=Math.min(d.start,l.start),d.end=Math.max(d.end,l.end));return o}function i(r,c){return!(r.end=0,m=n(r);let v;const b=r.split(t);if(b.length>1)for(const w of b){const E=n(w),{pathNormalized:I,normalized:M,normalizedLowercase:P}=u(w);M&&(v||(v=[]),v.push({original:w,originalLowercase:w.toLowerCase(),pathNormalized:I,normalized:M,normalizedLowercase:P,expectContiguousMatch:E}))}return{original:r,originalLowercase:c,pathNormalized:o,normalized:d,normalizedLowercase:l,values:v,containsPathSeparator:p,expectContiguousMatch:m}}e.prepareQuery=a;function u(r){let c;y.isWindows?c=r.replace(/\//g,k.sep):c=r.replace(/\\/g,k.sep);const o=(0,D.stripWildcards)(c).replace(/\s|"/g,"");return{pathNormalized:c,normalized:o,normalizedLowercase:o.toLowerCase()}}function h(r){return Array.isArray(r)?a(r.map(c=>c.original).join(t)):a(r.original)}e.pieceToQuery=h}),define(ne[303],se([1,0,13,220,65,92,17,11]),function(Q,e,L,k,y,D,S,f){"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 _="[/\\\\]",g="[^/\\\\]",C=/\//g;function s(O,W){switch(O){case 0:return"";case 1:return`${g}*?`;default:return`(?:${_}|${g}+${_}${W?`|${_}${g}+`:""})*?`}}function i(O,W){if(!O)return[];const U=[];let j=!1,R=!1,K="";for(const G of O){switch(G){case W:if(!j&&!R){U.push(K),K="";continue}break;case"{":j=!0;break;case"}":j=!1;break;case"[":R=!0;break;case"]":R=!1;break}K+=G}return K&&U.push(K),U}e.splitGlobAware=i;function n(O){if(!O)return"";let W="";const U=i(O,e.GLOB_SPLIT);if(U.every(j=>j===e.GLOBSTAR))W=".*";else{let j=!1;U.forEach((R,K)=>{if(R===e.GLOBSTAR){if(j)return;W+=s(2,K===U.length-1)}else{let G=!1,Z="",J=!1,X="";for(const H of R){if(H!=="}"&&G){Z+=H;continue}if(J&&(H!=="]"||!X)){let B;H==="-"?B=H:(H==="^"||H==="!")&&!X?B="^":H===e.GLOB_SPLIT?B="":B=(0,f.escapeRegExpCharacters)(H),X+=B;continue}switch(H){case"{":G=!0;continue;case"[":J=!0;continue;case"}":{const V=`(?:${i(Z,",").map(Y=>n(Y)).join("|")})`;W+=V,G=!1,Z="";break}case"]":{W+="["+X+"]",J=!1,X="";break}case"?":W+=g;continue;case"*":W+=s(1);continue;default:W+=(0,f.escapeRegExpCharacters)(H)}}Kp(Z,W)).filter(Z=>Z!==l),O),j=U.length;if(!j)return l;if(j===1)return U[0];const R=function(Z,J){for(let X=0,H=U.length;X!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function I(O,W,U){const j=D.sep===D.posix.sep,R=j?O:O.replace(C,D.sep),K=D.sep+R,G=D.posix.sep+O;let Z;return U?Z=function(J,X){return typeof J=="string"&&(J===R||J.endsWith(K)||!j&&(J===O||J.endsWith(G)))?W:null}:Z=function(J,X){return typeof J=="string"&&(J===R||!j&&J===O)?W:null},Z.allPaths=[(U?"*/":"./")+O],Z}function M(O){try{const W=new RegExp(`^${n(O)}$`);return function(U){return W.lastIndex=0,typeof U=="string"&&W.test(U)?O:null}}catch{return l}}function P(O,W,U){return!O||typeof W!="string"?!1:x(O)(W,void 0,U)}e.match=P;function x(O,W={}){if(!O)return d;if(typeof O=="string"||T(O)){const U=p(O,W);if(U===l)return d;const j=function(R,K){return!!U(R,K)};return U.allBasenames&&(j.allBasenames=U.allBasenames),U.allPaths&&(j.allPaths=U.allPaths),j}return A(O,W)}e.parse=x;function T(O){const W=O;return W?typeof W.base=="string"&&typeof W.pattern=="string":!1}e.isRelativePattern=T;function A(O,W){const U=F(Object.getOwnPropertyNames(O).map(Z=>N(Z,O[Z],W)).filter(Z=>Z!==l)),j=U.length;if(!j)return l;if(!U.some(Z=>!!Z.requiresSiblings)){if(j===1)return U[0];const Z=function(H,B){let V;for(let Y=0,ie=U.length;Ywe(this,void 0,void 0,function*(){for(const Y of V){const ie=yield Y;if(typeof ie=="string")return ie}return null}))():null},J=U.find(H=>!!H.allBasenames);J&&(Z.allBasenames=J.allBasenames);const X=U.reduce((H,B)=>B.allPaths?H.concat(B.allPaths):H,[]);return X.length&&(Z.allPaths=X),Z}const R=function(Z,J,X){let H,B;for(let V=0,Y=U.length;Vwe(this,void 0,void 0,function*(){for(const V of B){const Y=yield V;if(typeof Y=="string")return Y}return null}))():null},K=U.find(Z=>!!Z.allBasenames);K&&(R.allBasenames=K.allBasenames);const G=U.reduce((Z,J)=>J.allPaths?Z.concat(J.allPaths):Z,[]);return G.length&&(R.allPaths=G),R}function N(O,W,U){if(W===!1)return l;const j=p(O,U);if(j===l)return l;if(typeof W=="boolean")return j;if(W){const R=W.when;if(typeof R=="string"){const K=(G,Z,J,X)=>{if(!X||!j(G,Z))return null;const H=R.replace("$(basename)",()=>J),B=X(H);return(0,L.isThenable)(B)?B.then(V=>V?O:null):B?O:null};return K.requiresSiblings=!0,K}}return j}function F(O,W){const U=O.filter(Z=>!!Z.basenames);if(U.length<2)return O;const j=U.reduce((Z,J)=>{const X=J.basenames;return X?Z.concat(X):Z},[]);let R;if(W){R=[];for(let Z=0,J=j.length;Z{const X=J.patterns;return X?Z.concat(X):Z},[]);const K=function(Z,J){if(typeof Z!="string")return null;if(!J){let H;for(H=Z.length;H>0;H--){const B=Z.charCodeAt(H-1);if(B===47||B===92)break}J=Z.substr(H)}const X=j.indexOf(J);return X!==-1?R[X]:null};K.basenames=j,K.patterns=R,K.allBasenames=j;const G=O.filter(Z=>!Z.basenames);return G.push(K),G}}),define(ne[571],se([1,0,220,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeDriveLetter=void 0;function y(S,f=k.isWindows){return(0,L.hasDriveLetter)(S,f)?S.charAt(0).toUpperCase()+S.slice(1):S}e.normalizeDriveLetter=y;let D=Object.create(null)}),define(ne[22],se([1,0,92,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const y=/^\w[\w\d+.-]*$/,D=/^\//,S=/^\/\//;function f(m,v){if(!m.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${m.authority}", path: "${m.path}", query: "${m.query}", fragment: "${m.fragment}"}`);if(m.scheme&&!y.test(m.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(m.path){if(m.authority){if(!D.test(m.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(S.test(m.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function _(m,v){return!m&&!v?"file":m}function g(m,v){switch(m){case"https":case"http":case"file":v?v[0]!==s&&(v=s+v):v=s;break}return v}const C="",s="/",i=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class n{static isUri(v){return v instanceof n?!0:v?typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function":!1}constructor(v,b,w,E,I,M=!1){typeof v=="object"?(this.scheme=v.scheme||C,this.authority=v.authority||C,this.path=v.path||C,this.query=v.query||C,this.fragment=v.fragment||C):(this.scheme=_(v,M),this.authority=b||C,this.path=g(this.scheme,w||C),this.query=E||C,this.fragment=I||C,f(this,M))}get fsPath(){return c(this,!1)}with(v){if(!v)return this;let{scheme:b,authority:w,path:E,query:I,fragment:M}=v;return b===void 0?b=this.scheme:b===null&&(b=C),w===void 0?w=this.authority:w===null&&(w=C),E===void 0?E=this.path:E===null&&(E=C),I===void 0?I=this.query:I===null&&(I=C),M===void 0?M=this.fragment:M===null&&(M=C),b===this.scheme&&w===this.authority&&E===this.path&&I===this.query&&M===this.fragment?this:new a(b,w,E,I,M)}static parse(v,b=!1){const w=i.exec(v);return w?new a(w[2]||C,p(w[4]||C),p(w[5]||C),p(w[7]||C),p(w[9]||C),b):new a(C,C,C,C,C)}static file(v){let b=C;if(k.isWindows&&(v=v.replace(/\\/g,s)),v[0]===s&&v[1]===s){const w=v.indexOf(s,2);w===-1?(b=v.substring(2),v=s):(b=v.substring(2,w),v=v.substring(w)||s)}return new a("file",b,v,C,C)}static from(v,b){return new a(v.scheme,v.authority,v.path,v.query,v.fragment,b)}static joinPath(v,...b){if(!v.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let w;return k.isWindows&&v.scheme==="file"?w=n.file(L.win32.join(c(v,!0),...b)).path:w=L.posix.join(v.path,...b),v.with({path:w})}toString(v=!1){return o(this,v)}toJSON(){return this}static revive(v){var b,w;if(v){if(v instanceof n)return v;{const E=new a(v);return E._formatted=(b=v.external)!==null&&b!==void 0?b:null,E._fsPath=v._sep===t&&(w=v.fsPath)!==null&&w!==void 0?w:null,E}}else return v}}e.URI=n;const t=k.isWindows?1:void 0;class a extends n{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=c(this,!1)),this._fsPath}toString(v=!1){return v?o(this,!0):(this._formatted||(this._formatted=o(this,!1)),this._formatted)}toJSON(){const v={$mid:1};return this._fsPath&&(v.fsPath=this._fsPath,v._sep=t),this._formatted&&(v.external=this._formatted),this.path&&(v.path=this.path),this.scheme&&(v.scheme=this.scheme),this.authority&&(v.authority=this.authority),this.query&&(v.query=this.query),this.fragment&&(v.fragment=this.fragment),v}}const u={[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 h(m,v,b){let w,E=-1;for(let I=0;I=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||v&&M===47||b&&M===91||b&&M===93||b&&M===58)E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w!==void 0&&(w+=m.charAt(I));else{w===void 0&&(w=m.substr(0,I));const P=u[M];P!==void 0?(E!==-1&&(w+=encodeURIComponent(m.substring(E,I)),E=-1),w+=P):E===-1&&(E=I)}}return E!==-1&&(w+=encodeURIComponent(m.substring(E))),w!==void 0?w:m}function r(m){let v;for(let b=0;b1&&m.scheme==="file"?b=`//${m.authority}${m.path}`:m.path.charCodeAt(0)===47&&(m.path.charCodeAt(1)>=65&&m.path.charCodeAt(1)<=90||m.path.charCodeAt(1)>=97&&m.path.charCodeAt(1)<=122)&&m.path.charCodeAt(2)===58?v?b=m.path.substr(1):b=m.path[1].toLowerCase()+m.path.substr(2):b=m.path,k.isWindows&&(b=b.replace(/\//g,"\\")),b}e.uriToFsPath=c;function o(m,v){const b=v?r:h;let w="",{scheme:E,authority:I,path:M,query:P,fragment:x}=m;if(E&&(w+=E,w+=":"),(I||E==="file")&&(w+=s,w+=s),I){let T=I.indexOf("@");if(T!==-1){const A=I.substr(0,T);I=I.substr(T+1),T=A.lastIndexOf(":"),T===-1?w+=b(A,!1,!1):(w+=b(A.substr(0,T),!1,!1),w+=":",w+=b(A.substr(T+1),!1,!0)),w+="@"}I=I.toLowerCase(),T=I.lastIndexOf(":"),T===-1?w+=b(I,!1,!0):(w+=b(I.substr(0,T),!1,!0),w+=I.substr(T))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const T=M.charCodeAt(1);T>=65&&T<=90&&(M=`/${String.fromCharCode(T+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const T=M.charCodeAt(0);T>=65&&T<=90&&(M=`${String.fromCharCode(T+32)}:${M.substr(2)}`)}w+=b(M,!0,!1)}return P&&(w+="?",w+=b(P,!1,!1)),x&&(w+="#",w+=v?x:h(x,!1,!1)),w}function d(m){try{return decodeURIComponent(m)}catch{return m.length>3?m.substr(0,3)+d(m.substr(3)):m}}const l=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function p(m){return m.match(l)?m.replace(l,v=>d(v)):m}}),define(ne[221],se([1,0,140,22]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=e.stringify=void 0;function y(_){return JSON.stringify(_,S)}e.stringify=y;function D(_){let g=JSON.parse(_);return g=f(g),g}e.parse=D;function S(_,g){return g instanceof RegExp?{$mid:2,source:g.source,flags:g.flags}:g}function f(_,g=0){if(!_||g>200)return _;if(typeof _=="object"){switch(_.$mid){case 1:return k.URI.revive(_);case 2:return new RegExp(_.source,_.flags);case 16:return new Date(_.source)}if(_ instanceof L.VSBuffer||_ instanceof Uint8Array)return _;if(Array.isArray(_))for(let C=0;C<_.length;++C)_[C]=f(_[C],g+1);else for(const C in _)Object.hasOwnProperty.call(_,C)&&(_[C]=f(_[C],g+1))}return _}e.revive=f}),define(ne[54],se([1,0,9,17,22]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.RemoteAuthorities=e.connectionTokenQueryName=e.Schemas=void 0;var D;(function(g){g.inMemory="inmemory",g.vscode="vscode",g.internal="private",g.walkThrough="walkThrough",g.walkThroughSnippet="walkThroughSnippet",g.http="http",g.https="https",g.file="file",g.mailto="mailto",g.untitled="untitled",g.data="data",g.command="command",g.vscodeRemote="vscode-remote",g.vscodeRemoteResource="vscode-remote-resource",g.vscodeManagedRemoteResource="vscode-managed-remote-resource",g.vscodeUserData="vscode-userdata",g.vscodeCustomEditor="vscode-custom-editor",g.vscodeNotebookCell="vscode-notebook-cell",g.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",g.vscodeNotebookCellOutput="vscode-notebook-cell-output",g.vscodeInteractiveInput="vscode-interactive-input",g.vscodeSettings="vscode-settings",g.vscodeWorkspaceTrust="vscode-workspace-trust",g.vscodeTerminal="vscode-terminal",g.vscodeChatSesssion="vscode-chat-editor",g.webviewPanel="webview-panel",g.vscodeWebview="vscode-webview",g.extension="extension",g.vscodeFileResource="vscode-file",g.tmp="tmp",g.vsls="vsls",g.vscodeSourceControl="vscode-scm"})(D||(e.Schemas=D={})),e.connectionTokenQueryName="tkn";class S{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${D.vscodeRemoteResource}`}setPreferredWebSchema(C){this._preferredWebSchema=C}rewrite(C){if(this._delegate)try{return this._delegate(C)}catch(u){return L.onUnexpectedError(u),C}const s=C.authority;let i=this._hosts[s];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);const n=this._ports[s],t=this._connectionTokens[s];let a=`path=${encodeURIComponent(C.path)}`;return typeof t=="string"&&(a+=`&${e.connectionTokenQueryName}=${encodeURIComponent(t)}`),y.URI.from({scheme:k.isWeb?this._preferredWebSchema:D.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:a})}}e.RemoteAuthorities=new S;class f{uriToBrowserUri(C){return C.scheme===D.vscodeRemote?e.RemoteAuthorities.rewrite(C):C.scheme===D.file&&(k.isNative||k.isWebWorker&&k.globals.origin===`${D.vscodeFileResource}://${f.FALLBACK_AUTHORITY}`)?C.with({scheme:D.vscodeFileResource,authority:C.authority||f.FALLBACK_AUTHORITY,query:null,fragment:null}):C}}f.FALLBACK_AUTHORITY="vscode-app",e.FileAccess=new f;var _;(function(g){const C=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);g.CoopAndCoep=Object.freeze(C.get("3"));const s="vscode-coi";function i(t){let a;typeof t=="string"?a=new URL(t).searchParams:t instanceof URL?a=t.searchParams:y.URI.isUri(t)&&(a=new URL(t.toString(!0)).searchParams);const u=a?.get(s);if(u)return C.get(u)}g.getHeadersFromQuery=i;function n(t,a,u){if(!globalThis.crossOriginIsolated)return;const h=a&&u?"3":u?"2":"1";t instanceof URLSearchParams?t.set(s,h):t[s]=h}g.addSearchParam=n})(_||(e.COI=_={}))}),define(ne[7],se([1,0,52,217,44,60,9,6,304,2,54,17]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.h=e.DragAndDropObserver=e.ModifierKeyEmitter=e.basicMarkupHtmlTags=e.hookDomPurifyHrefAndSrcSanitizer=e.asCssValueWithDefault=e.asCSSPropertyValue=e.asCSSUrl=e.animate=e.windowOpenNoOpener=e.computeScreenAwareSize=e.hide=e.show=e.setVisibility=e.$=e.Namespace=e.reset=e.prepend=e.append=e.trackFocus=e.restoreParentsScrollTop=e.saveParentsScrollTop=e.EventHelper=e.isEventLike=e.EventType=e.isHTMLElement=e.removeCSSRulesContainingSelector=e.createCSSRule=e.createStyleSheet=e.getActiveElement=e.getShadowRoot=e.isInShadowDOM=e.isShadowRoot=e.hasParentWithClass=e.findParentWithClass=e.isAncestor=e.getTotalHeight=e.getContentHeight=e.getContentWidth=e.getTotalWidth=e.getDomNodeZoomLevel=e.getDomNodePagePosition=e.size=e.getTopLeftOffset=e.Dimension=e.getClientArea=e.getComputedStyle=e.scheduleAtNextAnimationFrame=e.runAtThisOrScheduleAtNextAnimationFrame=e.addDisposableGenericMouseUpListener=e.addDisposableGenericMouseDownListener=e.addStandardDisposableGenericMouseUpListener=e.addStandardDisposableGenericMouseDownListener=e.addStandardDisposableListener=e.addDisposableListener=e.isInDOM=e.clearNode=void 0;function i(Ce){for(;Ce.firstChild;)Ce.firstChild.remove()}e.clearNode=i;function n(Ce){var be;return(be=Ce?.isConnected)!==null&&be!==void 0?be:!1}e.isInDOM=n;class t{constructor(be,Ie,Ne,Re){this._node=be,this._type=Ie,this._handler=Ne,this._options=Re||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function a(Ce,be,Ie,Ne){return new t(Ce,be,Ie,Ne)}e.addDisposableListener=a;function u(Ce){return function(be){return Ce(new D.StandardMouseEvent(be))}}function h(Ce){return function(be){return Ce(new y.StandardKeyboardEvent(be))}}const r=function(be,Ie,Ne,Re){let Ve=Ne;return Ie==="click"||Ie==="mousedown"?Ve=u(Ne):(Ie==="keydown"||Ie==="keypress"||Ie==="keyup")&&(Ve=h(Ne)),a(be,Ie,Ve,Re)};e.addStandardDisposableListener=r;const c=function(be,Ie,Ne){const Re=u(Ie);return d(be,Re,Ne)};e.addStandardDisposableGenericMouseDownListener=c;const o=function(be,Ie,Ne){const Re=u(Ie);return l(be,Re,Ne)};e.addStandardDisposableGenericMouseUpListener=o;function d(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_DOWN:e.EventType.MOUSE_DOWN,be,Ie)}e.addDisposableGenericMouseDownListener=d;function l(Ce,be,Ie){return a(Ce,s.isIOS&&k.BrowserFeatures.pointerEvents?e.EventType.POINTER_UP:e.EventType.MOUSE_UP,be,Ie)}e.addDisposableGenericMouseUpListener=l;class p{constructor(be,Ie=0){this._runner=be,this.priority=Ie,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(be){(0,S.onUnexpectedError)(be)}}static sort(be,Ie){return Ie.priority-be.priority}}(function(){let Ce=[],be=null,Ie=!1,Ne=!1;const Re=()=>{for(Ie=!1,be=Ce,Ce=[],Ne=!0;be.length>0;)be.sort(p.sort),be.shift().execute();Ne=!1};e.scheduleAtNextAnimationFrame=(Ve,ze=0)=>{const We=new p(Ve,ze);return Ce.push(We),Ie||(Ie=!0,requestAnimationFrame(Re)),We},e.runAtThisOrScheduleAtNextAnimationFrame=(Ve,ze)=>{if(Ne){const We=new p(Ve,ze);return be.push(We),We}else return(0,e.scheduleAtNextAnimationFrame)(Ve,ze)}})();function m(Ce){return document.defaultView.getComputedStyle(Ce,null)}e.getComputedStyle=m;function v(Ce){if(Ce!==document.body)return new w(Ce.clientWidth,Ce.clientHeight);if(s.isIOS&&window.visualViewport)return new w(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new w(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new w(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new w(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}e.getClientArea=v;class b{static convertToPixels(be,Ie){return parseFloat(Ie)||0}static getDimension(be,Ie,Ne){const Re=m(be),Ve=Re?Re.getPropertyValue(Ie):"0";return b.convertToPixels(be,Ve)}static getBorderLeftWidth(be){return b.getDimension(be,"border-left-width","borderLeftWidth")}static getBorderRightWidth(be){return b.getDimension(be,"border-right-width","borderRightWidth")}static getBorderTopWidth(be){return b.getDimension(be,"border-top-width","borderTopWidth")}static getBorderBottomWidth(be){return b.getDimension(be,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(be){return b.getDimension(be,"padding-left","paddingLeft")}static getPaddingRight(be){return b.getDimension(be,"padding-right","paddingRight")}static getPaddingTop(be){return b.getDimension(be,"padding-top","paddingTop")}static getPaddingBottom(be){return b.getDimension(be,"padding-bottom","paddingBottom")}static getMarginLeft(be){return b.getDimension(be,"margin-left","marginLeft")}static getMarginTop(be){return b.getDimension(be,"margin-top","marginTop")}static getMarginRight(be){return b.getDimension(be,"margin-right","marginRight")}static getMarginBottom(be){return b.getDimension(be,"margin-bottom","marginBottom")}}class w{constructor(be,Ie){this.width=be,this.height=Ie}with(be=this.width,Ie=this.height){return be!==this.width||Ie!==this.height?new w(be,Ie):this}static is(be){return typeof be=="object"&&typeof be.height=="number"&&typeof be.width=="number"}static lift(be){return be instanceof w?be:new w(be.width,be.height)}static equals(be,Ie){return be===Ie?!0:!be||!Ie?!1:be.width===Ie.width&&be.height===Ie.height}}e.Dimension=w,w.None=new w(0,0);function E(Ce){let be=Ce.offsetParent,Ie=Ce.offsetTop,Ne=Ce.offsetLeft;for(;(Ce=Ce.parentNode)!==null&&Ce!==document.body&&Ce!==document.documentElement;){Ie-=Ce.scrollTop;const Re=U(Ce)?null:m(Ce);Re&&(Ne-=Re.direction!=="rtl"?Ce.scrollLeft:-Ce.scrollLeft),Ce===be&&(Ne+=b.getBorderLeftWidth(Ce),Ie+=b.getBorderTopWidth(Ce),Ie+=Ce.offsetTop,Ne+=Ce.offsetLeft,be=Ce.offsetParent)}return{left:Ne,top:Ie}}e.getTopLeftOffset=E;function I(Ce,be,Ie){typeof be=="number"&&(Ce.style.width=`${be}px`),typeof Ie=="number"&&(Ce.style.height=`${Ie}px`)}e.size=I;function M(Ce){const be=Ce.getBoundingClientRect();return{left:be.left+window.scrollX,top:be.top+window.scrollY,width:be.width,height:be.height}}e.getDomNodePagePosition=M;function P(Ce){let be=Ce,Ie=1;do{const Ne=m(be).zoom;Ne!=null&&Ne!=="1"&&(Ie*=Ne),be=be.parentElement}while(be!==null&&be!==document.documentElement);return Ie}e.getDomNodeZoomLevel=P;function x(Ce){const be=b.getMarginLeft(Ce)+b.getMarginRight(Ce);return Ce.offsetWidth+be}e.getTotalWidth=x;function T(Ce){const be=b.getBorderLeftWidth(Ce)+b.getBorderRightWidth(Ce),Ie=b.getPaddingLeft(Ce)+b.getPaddingRight(Ce);return Ce.offsetWidth-be-Ie}e.getContentWidth=T;function A(Ce){const be=b.getBorderTopWidth(Ce)+b.getBorderBottomWidth(Ce),Ie=b.getPaddingTop(Ce)+b.getPaddingBottom(Ce);return Ce.offsetHeight-be-Ie}e.getContentHeight=A;function N(Ce){const be=b.getMarginTop(Ce)+b.getMarginBottom(Ce);return Ce.offsetHeight+be}e.getTotalHeight=N;function F(Ce,be){for(;Ce;){if(Ce===be)return!0;Ce=Ce.parentNode}return!1}e.isAncestor=F;function O(Ce,be,Ie){for(;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;){if(Ce.classList.contains(be))return Ce;if(Ie){if(typeof Ie=="string"){if(Ce.classList.contains(Ie))return null}else if(Ce===Ie)return null}Ce=Ce.parentNode}return null}e.findParentWithClass=O;function W(Ce,be,Ie){return!!O(Ce,be,Ie)}e.hasParentWithClass=W;function U(Ce){return Ce&&!!Ce.host&&!!Ce.mode}e.isShadowRoot=U;function j(Ce){return!!R(Ce)}e.isInShadowDOM=j;function R(Ce){for(;Ce.parentNode;){if(Ce===document.body)return null;Ce=Ce.parentNode}return U(Ce)?Ce:null}e.getShadowRoot=R;function K(){let Ce=document.activeElement;for(;Ce?.shadowRoot;)Ce=Ce.shadowRoot.activeElement;return Ce}e.getActiveElement=K;function G(Ce=document.getElementsByTagName("head")[0],be){const Ie=document.createElement("style");return Ie.type="text/css",Ie.media="screen",be?.(Ie),Ce.appendChild(Ie),Ie}e.createStyleSheet=G;let Z=null;function J(){return Z||(Z=G()),Z}function X(Ce){var be,Ie;return!((be=Ce?.sheet)===null||be===void 0)&&be.rules?Ce.sheet.rules:!((Ie=Ce?.sheet)===null||Ie===void 0)&&Ie.cssRules?Ce.sheet.cssRules:[]}function H(Ce,be,Ie=J()){!Ie||!be||Ie.sheet.insertRule(Ce+"{"+be+"}",0)}e.createCSSRule=H;function B(Ce,be=J()){if(!be)return;const Ie=X(be),Ne=[];for(let Re=0;Re=0;Re--)be.sheet.deleteRule(Ne[Re])}e.removeCSSRulesContainingSelector=B;function V(Ce){return typeof HTMLElement=="object"?Ce instanceof HTMLElement:Ce&&typeof Ce=="object"&&Ce.nodeType===1&&typeof Ce.nodeName=="string"}e.isHTMLElement=V,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",POINTER_LEAVE:"pointerleave",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"};function Y(Ce){const be=Ce;return!!(be&&typeof be.preventDefault=="function"&&typeof be.stopPropagation=="function")}e.isEventLike=Y,e.EventHelper={stop:(Ce,be)=>(Ce.preventDefault(),be&&Ce.stopPropagation(),Ce)};function ie(Ce){const be=[];for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)be[Ie]=Ce.scrollTop,Ce=Ce.parentNode;return be}e.saveParentsScrollTop=ie;function ae(Ce,be){for(let Ie=0;Ce&&Ce.nodeType===Ce.ELEMENT_NODE;Ie++)Ce.scrollTop!==be[Ie]&&(Ce.scrollTop=be[Ie]),Ce=Ce.parentNode}e.restoreParentsScrollTop=ae;class ce extends g.Disposable{static hasFocusWithin(be){const Ie=R(be),Ne=Ie?Ie.activeElement:document.activeElement;return F(Ne,be)}constructor(be){super(),this._onDidFocus=this._register(new f.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new f.Emitter),this.onDidBlur=this._onDidBlur.event;let Ie=ce.hasFocusWithin(be),Ne=!1;const Re=()=>{Ne=!1,Ie||(Ie=!0,this._onDidFocus.fire())},Ve=()=>{Ie&&(Ne=!0,window.setTimeout(()=>{Ne&&(Ne=!1,Ie=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{ce.hasFocusWithin(be)!==Ie&&(Ie?Ve():Re())},this._register(a(be,e.EventType.FOCUS,Re,!0)),this._register(a(be,e.EventType.BLUR,Ve,!0)),this._register(a(be,e.EventType.FOCUS_IN,()=>this._refreshStateHandler())),this._register(a(be,e.EventType.FOCUS_OUT,()=>this._refreshStateHandler()))}}function de(Ce){return new ce(Ce)}e.trackFocus=de;function he(Ce,...be){if(Ce.append(...be),be.length===1&&typeof be[0]!="string")return be[0]}e.append=he;function ue(Ce,be){return Ce.insertBefore(be,Ce.firstChild),be}e.prepend=ue;function te(Ce,...be){Ce.innerText="",he(Ce,...be)}e.reset=te;const q=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var z;(function(Ce){Ce.HTML="http://www.w3.org/1999/xhtml",Ce.SVG="http://www.w3.org/2000/svg"})(z||(e.Namespace=z={}));function ee(Ce,be,Ie,...Ne){const Re=q.exec(be);if(!Re)throw new Error("Bad use of emmet");const Ve=Re[1]||"div";let ze;return Ce!==z.HTML?ze=document.createElementNS(Ce,Ve):ze=document.createElement(Ve),Re[3]&&(ze.id=Re[3]),Re[4]&&(ze.className=Re[4].replace(/\./g," ").trim()),Ie&&Object.entries(Ie).forEach(([We,qe])=>{typeof qe>"u"||(/^on\w+$/.test(We)?ze[We]=qe:We==="selected"?qe&&ze.setAttribute(We,"true"):ze.setAttribute(We,qe))}),ze.append(...Ne),ze}function $(Ce,be,...Ie){return ee(z.HTML,Ce,be,...Ie)}e.$=$,$.SVG=function(Ce,be,...Ie){return ee(z.SVG,Ce,be,...Ie)};function re(Ce,...be){Ce?oe(...be):ge(...be)}e.setVisibility=re;function oe(...Ce){for(const be of Ce)be.style.display="",be.removeAttribute("aria-hidden")}e.show=oe;function ge(...Ce){for(const be of Ce)be.style.display="none",be.setAttribute("aria-hidden","true")}e.hide=ge;function ve(Ce){const be=window.devicePixelRatio*Ce;return Math.max(1,Math.floor(be))/window.devicePixelRatio}e.computeScreenAwareSize=ve;function Se(Ce){window.open(Ce,"_blank","noopener")}e.windowOpenNoOpener=Se;function Le(Ce){const be=()=>{Ce(),Ie=(0,e.scheduleAtNextAnimationFrame)(be)};let Ie=(0,e.scheduleAtNextAnimationFrame)(be);return(0,g.toDisposable)(()=>Ie.dispose())}e.animate=Le,C.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function De(Ce){return Ce?`url('${C.FileAccess.uriToBrowserUri(Ce).toString(!0).replace(/'/g,"%27")}')`:"url('')"}e.asCSSUrl=De;function ye(Ce){return`'${Ce.replace(/'/g,"%27")}'`}e.asCSSPropertyValue=ye;function Ee(Ce,be){if(Ce!==void 0){const Ie=Ce.match(/^\s*var\((.+)\)$/);if(Ie){const Ne=Ie[1].split(",",2);return Ne.length===2&&(be=Ee(Ne[1].trim(),be)),`var(${Ne[0]}, ${be})`}return Ce}return be}e.asCssValueWithDefault=Ee;function Me(Ce,be=!1){const Ie=document.createElement("a");return _.addHook("afterSanitizeAttributes",Ne=>{for(const Re of["href","src"])if(Ne.hasAttribute(Re)){const Ve=Ne.getAttribute(Re);if(Re==="href"&&Ve.startsWith("#"))continue;if(Ie.href=Ve,!Ce.includes(Ie.protocol.replace(/:$/,""))){if(be&&Re==="src"&&Ie.href.startsWith("data:"))continue;Ne.removeAttribute(Re)}}}),(0,g.toDisposable)(()=>{_.removeHook("afterSanitizeAttributes")})}e.hookDomPurifyHrefAndSrcSanitizer=Me,e.basicMarkupHtmlTags=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);const Pe=Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class Fe extends f.Emitter{constructor(){super(),this._subscriptions=new g.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(a(window,"keydown",be=>{if(be.defaultPrevented)return;const Ie=new y.StandardKeyboardEvent(be);if(!(Ie.keyCode===6&&be.repeat)){if(be.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(be.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(be.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(be.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(Ie.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=be,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(a(window,"keyup",be=>{be.defaultPrevented||(!be.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!be.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!be.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!be.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=be.altKey,this._keyStatus.ctrlKey=be.ctrlKey,this._keyStatus.metaKey=be.metaKey,this._keyStatus.shiftKey=be.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=be,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(a(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a(document.body,"mousemove",be=>{be.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(a(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 Fe.instance||(Fe.instance=new Fe),Fe.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}e.ModifierKeyEmitter=Fe;class _e extends g.Disposable{constructor(be,Ie){super(),this.element=be,this.callbacks=Ie,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(a(this.element,e.EventType.DRAG_ENTER,be=>{this.counter++,this.dragStartTime=be.timeStamp,this.callbacks.onDragEnter(be)})),this._register(a(this.element,e.EventType.DRAG_OVER,be=>{var Ie,Ne;be.preventDefault(),(Ne=(Ie=this.callbacks).onDragOver)===null||Ne===void 0||Ne.call(Ie,be,be.timeStamp-this.dragStartTime)})),this._register(a(this.element,e.EventType.DRAG_LEAVE,be=>{this.counter--,this.counter===0&&(this.dragStartTime=0,this.callbacks.onDragLeave(be))})),this._register(a(this.element,e.EventType.DRAG_END,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(be)})),this._register(a(this.element,e.EventType.DROP,be=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(be)}))}}e.DragAndDropObserver=_e;const me=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function le(Ce,...be){let Ie,Ne;Array.isArray(be[0])?(Ie={},Ne=be[0]):(Ie=be[0]||{},Ne=be[1]);const Re=me.exec(Ce);if(!Re||!Re.groups)throw new Error("Bad use of h");const Ve=Re.groups.tag||"div",ze=document.createElement(Ve);Re.groups.id&&(ze.id=Re.groups.id);const We=[];if(Re.groups.class)for(const Oe of Re.groups.class.split("."))Oe!==""&&We.push(Oe);if(Ie.className!==void 0)for(const Oe of Ie.className.split("."))Oe!==""&&We.push(Oe);We.length>0&&(ze.className=We.join(" "));const qe={};if(Re.groups.name&&(qe[Re.groups.name]=ze),Ne)for(const Oe of Ne)Oe instanceof HTMLElement?ze.appendChild(Oe):typeof Oe=="string"?ze.append(Oe):"root"in Oe&&(Object.assign(qe,Oe),ze.appendChild(Oe.root));for(const[Oe,Ge]of Object.entries(Ie))if(Oe!=="className")if(Oe==="style")for(const[Qe,st]of Object.entries(Ge))ze.style.setProperty(pe(Qe),typeof st=="number"?st+"px":""+st);else Oe==="tabIndex"?ze.tabIndex=Ge:ze.setAttribute(pe(Oe),Ge.toString());return qe.root=ze,qe}e.h=le;function pe(Ce){return Ce.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),define(ne[305],se([1,0,7]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=e.renderFormattedText=e.renderText=void 0;function k(s,i={}){const n=D(i);return n.textContent=s,n}e.renderText=k;function y(s,i={}){const n=D(i);return f(n,_(s,!!i.renderCodeSegments),i.actionHandler,i.renderCodeSegments),n}e.renderFormattedText=y;function D(s){const i=s.inline?"span":"div",n=document.createElement(i);return s.className&&(n.className=s.className),n}e.createElement=D;class S{constructor(i){this.source=i,this.index=0}eos(){return this.index>=this.source.length}next(){const i=this.peek();return this.advance(),i}peek(){return this.source[this.index]}advance(){this.index++}}function f(s,i,n,t){let a;if(i.type===2)a=document.createTextNode(i.content||"");else if(i.type===3)a=document.createElement("b");else if(i.type===4)a=document.createElement("i");else if(i.type===7&&t)a=document.createElement("code");else if(i.type===5&&n){const u=document.createElement("a");n.disposables.add(L.addStandardDisposableListener(u,"click",h=>{n.callback(String(i.index),h)})),a=u}else i.type===8?a=document.createElement("br"):i.type===1&&(a=s);a&&s!==a&&s.appendChild(a),a&&Array.isArray(i.children)&&i.children.forEach(u=>{f(a,u,n,t)})}function _(s,i){const n={type:1,children:[]};let t=0,a=n;const u=[],h=new S(s);for(;!h.eos();){let r=h.next();const c=r==="\\"&&C(h.peek(),i)!==0;if(c&&(r=h.next()),!c&&g(r,i)&&r===h.peek()){h.advance(),a.type===2&&(a=u.pop());const o=C(r,i);if(a.type===o||a.type===5&&o===6)a=u.pop();else{const d={type:o,children:[]};o===5&&(d.index=t,t++),a.children.push(d),u.push(a),a=d}}else if(r===` -`)a.type===2&&(a=u.pop()),a.children.push({type:8});else if(a.type!==2){const o={type:2,content:r};a.children.push(o),u.push(a),a=o}else a.content+=r}return a.type===2&&(a=u.pop()),u.length,n}function g(s,i){return C(s,i)!==0}function C(s,i){switch(s){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return i?7:0;default:return 0}}}),define(ne[152],se([1,0,7,2]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalPointerMoveMonitor=void 0;class y{constructor(){this._hooks=new k.DisposableStore,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(S,f){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const _=this._onStopCallback;this._onStopCallback=null,S&&_&&_(f)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(S,f,_,g,C){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=g,this._onStopCallback=C;let s=S;try{S.setPointerCapture(f),this._hooks.add((0,k.toDisposable)(()=>{try{S.releasePointerCapture(f)}catch{}}))}catch{s=window}this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_MOVE,i=>{if(i.buttons!==_){this.stopMonitoring(!0);return}i.preventDefault(),this._pointerMoveCallback(i)})),this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_UP,i=>this.stopMonitoring(!0)))}}e.GlobalPointerMoveMonitor=y}),define(ne[61],se([1,0,7,14,106,2,64]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gesture=e.EventType=void 0;var f;(function(g){g.Tap="-monaco-gesturetap",g.Change="-monaco-gesturechange",g.Start="-monaco-gesturestart",g.End="-monaco-gesturesend",g.Contextmenu="-monaco-gesturecontextmenu"})(f||(e.EventType=f={}));class _ extends D.Disposable{constructor(){super(),this.dispatched=!1,this.targets=new S.LinkedList,this.ignoreTargets=new S.LinkedList,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(L.addDisposableListener(document,"touchstart",C=>this.onTouchStart(C),{passive:!1})),this._register(L.addDisposableListener(document,"touchend",C=>this.onTouchEnd(C))),this._register(L.addDisposableListener(document,"touchmove",C=>this.onTouchMove(C),{passive:!1}))}static addTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.targets.push(C);return(0,D.toDisposable)(s)}static ignoreTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=new _);const s=_.INSTANCE.ignoreTargets.push(C);return(0,D.toDisposable)(s)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(C){const s=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=C.targetTouches.length;i=_.HOLD_DELAY&&Math.abs(u.initialPageX-k.tail(u.rollingPageX))<30&&Math.abs(u.initialPageY-k.tail(u.rollingPageY))<30){const r=this.newGestureEvent(f.Contextmenu,u.initialTarget);r.pageX=k.tail(u.rollingPageX),r.pageY=k.tail(u.rollingPageY),this.dispatchEvent(r)}else if(i===1){const r=k.tail(u.rollingPageX),c=k.tail(u.rollingPageY),o=k.tail(u.rollingTimestamps)-u.rollingTimestamps[0],d=r-u.rollingPageX[0],l=c-u.rollingPageY[0],p=[...this.targets].filter(m=>u.initialTarget instanceof Node&&m.contains(u.initialTarget));this.inertia(p,s,Math.abs(d)/o,d>0?1:-1,r,Math.abs(l)/o,l>0?1:-1,c)}this.dispatchEvent(this.newGestureEvent(f.End,u.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}newGestureEvent(C,s){const i=document.createEvent("CustomEvent");return i.initEvent(C,!1,!0),i.initialTarget=s,i.tapCount=0,i}dispatchEvent(C){if(C.type===f.Tap){const s=new Date().getTime();let i=0;s-this._lastSetTapCountTime>_.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=s,C.tapCount=i}else(C.type===f.Change||C.type===f.Contextmenu)&&(this._lastSetTapCountTime=0);if(C.initialTarget instanceof Node){for(const s of this.ignoreTargets)if(s.contains(C.initialTarget))return;for(const s of this.targets)s.contains(C.initialTarget)&&(s.dispatchEvent(C),this.dispatched=!0)}}inertia(C,s,i,n,t,a,u,h){this.handle=L.scheduleAtNextAnimationFrame(()=>{const r=Date.now(),c=r-s;let o=0,d=0,l=!0;i+=_.SCROLL_FRICTION*c,a+=_.SCROLL_FRICTION*c,i>0&&(l=!1,o=n*i*c),a>0&&(l=!1,d=u*a*c);const p=this.newGestureEvent(f.Change);p.translationX=o,p.translationY=d,C.forEach(m=>m.dispatchEvent(p)),l||this.inertia(C,r,i,n,t+o,a,u,h+d)})}onTouchMove(C){const s=Date.now();for(let i=0,n=C.changedTouches.length;i3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(t.pageX),a.rollingPageY.push(t.pageY),a.rollingTimestamps.push(s)}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}}e.Gesture=_,_.SCROLL_FRICTION=-.005,_.HOLD_DELAY=700,_.CLEAR_TAP_COUNT_TIME=400,ke([y.memoize],_,"isTouchDevice",null)}),define(ne[49],se([1,0,7,393]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.status=e.alert=e.setARIAContainer=void 0;const k=2e4;let y,D,S,f,_;function g(n){y=document.createElement("div"),y.className="monaco-aria-container";const t=()=>{const u=document.createElement("div");return u.className="monaco-alert",u.setAttribute("role","alert"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};D=t(),S=t();const a=()=>{const u=document.createElement("div");return u.className="monaco-status",u.setAttribute("aria-live","polite"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};f=a(),_=a(),n.appendChild(y)}e.setARIAContainer=g;function C(n){y&&(D.textContent!==n?(L.clearNode(S),i(D,n)):(L.clearNode(D),i(S,n)))}e.alert=C;function s(n){y&&(f.textContent!==n?(L.clearNode(_),i(f,n)):(L.clearNode(f),i(_,n)))}e.status=s;function i(n,t){L.clearNode(n),t.length>k&&(t=t.substr(0,k)),n.textContent=t,n.style.visibility="hidden",n.style.visibility="visible"}}),define(ne[306],se([1,0,217,7,2,17,166,397]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextView=e.layout=e.LayoutAnchorMode=e.isAnchor=void 0;function f(i){const n=i;return!!n&&typeof n.x=="number"&&typeof n.y=="number"}e.isAnchor=f;var _;(function(i){i[i.AVOID=0]="AVOID",i[i.ALIGN=1]="ALIGN"})(_||(e.LayoutAnchorMode=_={}));function g(i,n,t){const a=t.mode===_.ALIGN?t.offset:t.offset+t.size,u=t.mode===_.ALIGN?t.offset+t.size:t.offset;return t.position===0?n<=i-a?a:n<=u?u-n:Math.max(i-n,0):n<=u?u-n:n<=i-a?a:0}e.layout=g;class C extends y.Disposable{constructor(n,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=y.Disposable.None,this.toDisposeOnSetContainer=y.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=k.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,k.hide(this.view),this.setContainer(n,t),this._register((0,y.toDisposable)(()=>this.setContainer(null,1)))}setContainer(n,t){var a;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(a=this.shadowRootHostElement)===null||a===void 0||a.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),n){if(this.container=n,this.useFixedPosition=t!==1,this.useShadowDOM=t===3,this.useShadowDOM){this.shadowRootHostElement=k.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const h=document.createElement("style");h.textContent=s,this.shadowRoot.appendChild(h),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(k.$("slot"))}else this.container.appendChild(this.view);const u=new y.DisposableStore;C.BUBBLE_UP_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!1)}))}),C.BUBBLE_DOWN_EVENTS.forEach(h=>{u.add(k.addStandardDisposableListener(this.container,h,r=>{this.onDOMEvent(r,!0)},!0))}),this.toDisposeOnSetContainer=u}}show(n){var t,a;this.isVisible()&&this.hide(),k.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2575",this.view.style.position=this.useFixedPosition?"fixed":"absolute",k.show(this.view),this.toDisposeOnClean=n.render(this.view)||y.Disposable.None,this.delegate=n,this.doLayout(),(a=(t=this.delegate).focus)===null||a===void 0||a.call(t)}getViewElement(){return this.view}layout(){if(this.isVisible()){if(this.delegate.canRelayout===!1&&!(D.isIOS&&L.BrowserFeatures.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;const n=this.delegate.getAnchor();let t;if(k.isHTMLElement(n)){const p=k.getDomNodePagePosition(n),m=k.getDomNodeZoomLevel(n);t={top:p.top*m,left:p.left*m,width:p.width*m,height:p.height*m}}else f(n)?t={top:n.y,left:n.x,width:n.width||1,height:n.height||2}:t={top:n.posy,left:n.posx,width:2,height:2};const a=k.getTotalWidth(this.view),u=k.getTotalHeight(this.view),h=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,c=this.delegate.anchorAxisAlignment||0;let o,d;if(c===0){const p={offset:t.top-window.pageYOffset,size:t.height,position:h===0?0:1},m={offset:t.left,size:t.width,position:r===0?0:1,mode:_.ALIGN};o=g(window.innerHeight,u,p)+window.pageYOffset,S.Range.intersects({start:o,end:o+u},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),d=g(window.innerWidth,a,m)}else{const p={offset:t.left,size:t.width,position:r===0?0:1},m={offset:t.top,size:t.height,position:h===0?0:1,mode:_.ALIGN};d=g(window.innerWidth,a,p),S.Range.intersects({start:d,end:d+a},{start:p.offset,end:p.offset+p.size})&&(m.mode=_.AVOID),o=g(window.innerHeight,u,m)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(h===0?"bottom":"top"),this.view.classList.add(r===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const l=k.getDomNodePagePosition(this.container);this.view.style.top=`${o-(this.useFixedPosition?k.getDomNodePagePosition(this.view).top:l.top)}px`,this.view.style.left=`${d-(this.useFixedPosition?k.getDomNodePagePosition(this.view).left:l.left)}px`,this.view.style.width="initial"}hide(n){const t=this.delegate;this.delegate=null,t?.onHide&&t.onHide(n),this.toDisposeOnClean.dispose(),k.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(n,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):t&&!k.isAncestor(n.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}e.ContextView=C,C.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],C.BUBBLE_DOWN_EVENTS=["click"];const s=` - :host { - all: initial; /* 1st rule so subsequent properties are reset. */ - } - - .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(ne[307],se([1,0,7,11,398]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountBadge=void 0;class y{constructor(S,f,_){this.options=f,this.styles=_,this.count=0,this.element=(0,L.append)(S,(0,L.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(S){this.count=S,this.render()}setTitleFormat(S){this.titleFormat=S,this.render()}render(){var S,f;this.element.textContent=(0,k.format)(this.countFormat,this.count),this.element.title=(0,k.format)(this.titleFormat,this.count),this.element.style.backgroundColor=(S=this.styles.badgeBackground)!==null&&S!==void 0?S:"",this.element.style.color=(f=this.styles.badgeForeground)!==null&&f!==void 0?f:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}e.CountBadge=y}),define(ne[572],se([1,0,7,44,61,39,6,266]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenu=void 0;class f extends D.ActionRunner{constructor(C,s){super(),this._onDidChangeVisibility=this._register(new S.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,L.append)(C,(0,L.$)(".monaco-dropdown")),this._label=(0,L.append)(this._element,(0,L.$)(".dropdown-label"));let i=s.labelRenderer;i||(i=t=>(t.textContent=s.label||"",null));for(const t of[L.EventType.CLICK,L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this.element,t,a=>L.EventHelper.stop(a,!0)));for(const t of[L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this._label,t,a=>{a instanceof MouseEvent&&(a.detail>1||a.button!==0)||(this.visible?this.hide():this.show())}));this._register((0,L.addDisposableListener)(this._label,L.EventType.KEY_UP,t=>{const a=new k.StandardKeyboardEvent(t);(a.equals(3)||a.equals(10))&&(L.EventHelper.stop(t,!0),this.visible?this.hide():this.show())}));const n=i(this._label);n&&this._register(n),this._register(y.Gesture.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class _ extends f{constructor(C,s){super(C,s),this._options=s,this._actions=[],this.actions=s.actions||[]}set menuOptions(C){this._menuOptions=C}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(C){this._actions=C}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(C,s)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(C,s):void 0,getKeyBinding:C=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(C):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}e.DropdownMenu=_}),define(ne[129],se([1,0,7,26]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderIcon=e.renderLabelWithIcons=void 0;const y=new RegExp(`(\\\\)?\\$\\((${k.ThemeIcon.iconNameExpression}(?:${k.ThemeIcon.iconModifierExpression})?)\\)`,"g");function D(f){const _=new Array;let g,C=0,s=0;for(;(g=y.exec(f))!==null;){s=g.index||0,C{C=s===`\r -`?-1:0,i+=g;for(const n of _)n.end<=i||(n.start>=i&&(n.start+=C),n.end>=i&&(n.end+=C));return g+=C,"\u23CE"})}}e.HighlightedLabel=D}),define(ne[222],se([1,0,7,216,47,558,402]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingLabel=e.unthemedKeybindingLabelOptions=void 0;const S=L.$;e.unthemedKeybindingLabelOptions={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class f{constructor(g,C,s){this.os=C,this.keyElements=new Set,this.options=s||Object.create(null);const i=this.options.keybindingLabelForeground;this.domNode=L.append(g,S(".monaco-keybinding")),i&&(this.domNode.style.color=i),this.didEverRender=!1,g.appendChild(this.domNode)}get element(){return this.domNode}set(g,C){this.didEverRender&&this.keybinding===g&&f.areSame(this.matches,C)||(this.keybinding=g,this.matches=C,this.render())}render(){var g;if(this.clear(),this.keybinding){const C=this.keybinding.getChords();C[0]&&this.renderChord(this.domNode,C[0],this.matches?this.matches.firstPart:null);for(let i=1;i{for(const _ of S)this.getRenderer(f).disposeTemplate(_.templateData),_.templateData=null}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(S){const f=this.renderers.get(S);if(!f)throw new Error(`No renderer found for ${S}`);return f}}e.RowCache=y}),define(ne[574],se([1,0,7,13,2,404]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;const D="done",S="active",f="infinite",_="infinite-long-running",g="discrete";class C extends y.Disposable{constructor(i,n){super(),this.workedVal=0,this.showDelayedScheduler=this._register(new k.RunOnceScheduler(()=>(0,L.show)(this.element),0)),this.longRunningScheduler=this._register(new k.RunOnceScheduler(()=>this.infiniteLongRunning(),C.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(i,n)}create(i,n){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),i.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=n?.progressBarBackground||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(S,f,_,g),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(i){return this.element.classList.add(D),this.element.classList.contains(f)?(this.bit.style.opacity="0",i?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",i?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(g,D,_),this.element.classList.add(S,f),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(_)}getContainer(){return this.element}}e.ProgressBar=C,C.LONG_RUNNING_INFINITE_THRESHOLD=1e4}),define(ne[130],se([1,0,7,81,61,13,106,6,2,17,405]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sash=e.OrthogonalEdge=void 0;const C=!1;var s;(function(d){d.North="north",d.South="south",d.East="east",d.West="west"})(s||(e.OrthogonalEdge=s={}));let i=4;const n=new f.Emitter;let t=300;const a=new f.Emitter;class u{constructor(){this.disposables=new _.DisposableStore}get onPointerMove(){return this.disposables.add(new k.DomEmitter(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(window,"mouseup")).event}dispose(){this.disposables.dispose()}}ke([S.memoize],u.prototype,"onPointerMove",null),ke([S.memoize],u.prototype,"onPointerUp",null);class h{get onPointerMove(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.Change)).event}get onPointerUp(){return this.disposables.add(new k.DomEmitter(this.el,y.EventType.End)).event}constructor(l){this.el=l,this.disposables=new _.DisposableStore}dispose(){this.disposables.dispose()}}ke([S.memoize],h.prototype,"onPointerMove",null),ke([S.memoize],h.prototype,"onPointerUp",null);class r{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(l){this.factory=l}dispose(){}}ke([S.memoize],r.prototype,"onPointerMove",null),ke([S.memoize],r.prototype,"onPointerUp",null);const c="pointer-events-disabled";class o extends _.Disposable{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(l){this._state!==l&&(this.el.classList.toggle("disabled",l===0),this.el.classList.toggle("minimum",l===1),this.el.classList.toggle("maximum",l===2),this._state=l,this.onDidEnablementChange.fire(l))}set orthogonalStartSash(l){if(this._orthogonalStartSash!==l){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),l){const p=m=>{this.orthogonalStartDragHandleDisposables.clear(),m!==0&&(this._orthogonalStartDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new k.DomEmitter(this._orthogonalStartDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalStartSash=l}}set orthogonalEndSash(l){if(this._orthogonalEndSash!==l){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),l){const p=m=>{this.orthogonalEndDragHandleDisposables.clear(),m!==0&&(this._orthogonalEndDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseenter")).event(()=>o.onMouseEnter(l),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new k.DomEmitter(this._orthogonalEndDragHandle,"mouseleave")).event(()=>o.onMouseLeave(l),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(l.onDidEnablementChange.event(p,this)),p(l.state)}this._orthogonalEndSash=l}}constructor(l,p,m){super(),this.hoverDelay=t,this.hoverDelayer=this._register(new D.Delayer(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new f.Emitter),this._onDidStart=this._register(new f.Emitter),this._onDidChange=this._register(new f.Emitter),this._onDidReset=this._register(new f.Emitter),this._onDidEnd=this._register(new f.Emitter),this.orthogonalStartSashDisposables=this._register(new _.DisposableStore),this.orthogonalStartDragHandleDisposables=this._register(new _.DisposableStore),this.orthogonalEndSashDisposables=this._register(new _.DisposableStore),this.orthogonalEndDragHandleDisposables=this._register(new _.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)(l,(0,L.$)(".monaco-sash")),m.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${m.orthogonalEdge}`),g.isMacintosh&&this.el.classList.add("mac");const v=this._register(new k.DomEmitter(this.el,"mousedown")).event;this._register(v(x=>this.onPointerStart(x,new u),this));const b=this._register(new k.DomEmitter(this.el,"dblclick")).event;this._register(b(this.onPointerDoublePress,this));const w=this._register(new k.DomEmitter(this.el,"mouseenter")).event;this._register(w(()=>o.onMouseEnter(this)));const E=this._register(new k.DomEmitter(this.el,"mouseleave")).event;this._register(E(()=>o.onMouseLeave(this))),this._register(y.Gesture.addTarget(this.el));const I=this._register(new k.DomEmitter(this.el,y.EventType.Start)).event;this._register(I(x=>this.onPointerStart(x,new h(this.el)),this));const M=this._register(new k.DomEmitter(this.el,y.EventType.Tap)).event;let P;this._register(M(x=>{if(P){clearTimeout(P),P=void 0,this.onPointerDoublePress(x);return}clearTimeout(P),P=setTimeout(()=>P=void 0,250)},this)),typeof m.size=="number"?(this.size=m.size,m.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=i,this._register(n.event(x=>{this.size=x,this.layout()}))),this._register(a.event(x=>this.hoverDelay=x)),this.layoutProvider=p,this.orthogonalStartSash=m.orthogonalStartSash,this.orthogonalEndSash=m.orthogonalEndSash,this.orientation=m.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",C),this.layout()}onPointerStart(l,p){L.EventHelper.stop(l);let m=!1;if(!l.__orthogonalSashEvent){const N=this.getOrthogonalSash(l);N&&(m=!0,l.__orthogonalSashEvent=!0,N.onPointerStart(l,new r(p)))}if(this.linkedSash&&!l.__linkedSashEvent&&(l.__linkedSashEvent=!0,this.linkedSash.onPointerStart(l,new r(p))),!this.state)return;const v=document.getElementsByTagName("iframe");for(const N of v)N.classList.add(c);const b=l.pageX,w=l.pageY,E=l.altKey,I={startX:b,currentX:b,startY:w,currentY:w,altKey:E};this.el.classList.add("active"),this._onDidStart.fire(I);const M=(0,L.createStyleSheet)(this.el),P=()=>{let N="";m?N="all-scroll":this.orientation===1?this.state===1?N="s-resize":this.state===2?N="n-resize":N=g.isMacintosh?"row-resize":"ns-resize":this.state===1?N="e-resize":this.state===2?N="w-resize":N=g.isMacintosh?"col-resize":"ew-resize",M.textContent=`* { cursor: ${N} !important; }`},x=new _.DisposableStore;P(),m||this.onDidEnablementChange.event(P,null,x);const T=N=>{L.EventHelper.stop(N,!1);const F={startX:b,currentX:N.pageX,startY:w,currentY:N.pageY,altKey:E};this._onDidChange.fire(F)},A=N=>{L.EventHelper.stop(N,!1),this.el.removeChild(M),this.el.classList.remove("active"),this._onDidEnd.fire(),x.dispose();for(const F of v)F.classList.remove(c)};p.onPointerMove(T,null,x),p.onPointerUp(A,null,x),x.add(p)}onPointerDoublePress(l){const p=this.getOrthogonalSash(l);p&&p._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(l,p=!1){l.el.classList.contains("active")?(l.hoverDelayer.cancel(),l.el.classList.add("hover")):l.hoverDelayer.trigger(()=>l.el.classList.add("hover"),l.hoverDelay).then(void 0,()=>{}),!p&&l.linkedSash&&o.onMouseEnter(l.linkedSash,!0)}static onMouseLeave(l,p=!1){l.hoverDelayer.cancel(),l.el.classList.remove("hover"),!p&&l.linkedSash&&o.onMouseLeave(l.linkedSash,!0)}clearSashHoverState(){o.onMouseLeave(this)}layout(){if(this.orientation===0){const l=this.layoutProvider;this.el.style.left=l.getVerticalSashLeft(this)-this.size/2+"px",l.getVerticalSashTop&&(this.el.style.top=l.getVerticalSashTop(this)+"px"),l.getVerticalSashHeight&&(this.el.style.height=l.getVerticalSashHeight(this)+"px")}else{const l=this.layoutProvider;this.el.style.top=l.getHorizontalSashTop(this)-this.size/2+"px",l.getHorizontalSashLeft&&(this.el.style.left=l.getHorizontalSashLeft(this)+"px"),l.getHorizontalSashWidth&&(this.el.style.width=l.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(l){var p;const m=(p=l.initialTarget)!==null&&p!==void 0?p:l.target;if(!(!m||!(m instanceof HTMLElement))&&m.classList.contains("orthogonal-drag-handle"))return m.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}e.Sash=o}),define(ne[223],se([1,0,7,130,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableHTMLElement=void 0;class S{constructor(){this._onDidWillResize=new y.Emitter,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new y.Emitter,this.onDidResize=this._onDidResize.event,this._sashListener=new D.DisposableStore,this._size=new L.Dimension(0,0),this._minSize=new L.Dimension(0,0),this._maxSize=new L.Dimension(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new k.Sash(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:k.OrthogonalEdge.North}),this._southSash=new k.Sash(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:k.OrthogonalEdge.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let _,g=0,C=0;this._sashListener.add(y.Event.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{_===void 0&&(this._onDidWillResize.fire(),_=this._size,g=0,C=0)})),this._sashListener.add(y.Event.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{_!==void 0&&(_=void 0,g=0,C=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(s=>{_&&(C=s.currentX-s.startX,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(s=>{_&&(C=-(s.currentX-s.startX),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(s=>{_&&(g=-(s.currentY-s.startY),this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(s=>{_&&(g=s.currentY-s.startY,this.layout(_.height+g,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(y.Event.any(this._eastSash.onDidReset,this._westSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(y.Event.any(this._northSash.onDidReset,this._southSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(_,g,C,s){this._northSash.state=_?3:0,this._eastSash.state=g?3:0,this._southSash.state=C?3:0,this._westSash.state=s?3:0}layout(_=this.size.height,g=this.size.width){const{height:C,width:s}=this._minSize,{height:i,width:n}=this._maxSize;_=Math.max(C,Math.min(i,_)),g=Math.max(s,Math.min(n,g));const t=new L.Dimension(g,_);L.Dimension.equals(t,this._size)||(this.domNode.style.height=_+"px",this.domNode.style.width=g+"px",this._size=t,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(_){this._maxSize=_}get maxSize(){return this._maxSize}set minSize(_){this._minSize=_}get minSize(){return this._minSize}set preferredSize(_){this._preferredSize=_}get preferredSize(){return this._preferredSize}}e.ResizableHTMLElement=S}),define(ne[575],se([1,0,7,61,14,6,2,17]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectBoxNative=void 0;class _ extends S.Disposable{constructor(C,s,i,n){super(),this.selected=0,this.selectBoxOptions=n||Object.create(null),this.options=[],this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box",typeof this.selectBoxOptions.ariaLabel=="string"&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription=="string"&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=this._register(new D.Emitter),this.styles=i,this.registerListeners(),this.setOptions(C,s)}registerListeners(){this._register(k.Gesture.addTarget(this.selectElement)),[k.EventType.Tap].forEach(C=>{this._register(L.addDisposableListener(this.selectElement,C,s=>{this.selectElement.focus()}))}),this._register(L.addStandardDisposableListener(this.selectElement,"click",C=>{L.EventHelper.stop(C,!0)})),this._register(L.addStandardDisposableListener(this.selectElement,"change",C=>{this.selectElement.title=C.target.value,this._onDidSelect.fire({index:C.target.selectedIndex,selected:C.target.value})})),this._register(L.addStandardDisposableListener(this.selectElement,"keydown",C=>{let s=!1;f.isMacintosh?(C.keyCode===18||C.keyCode===16||C.keyCode===10)&&(s=!0):(C.keyCode===18&&C.altKey||C.keyCode===10||C.keyCode===3)&&(s=!0),s&&C.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(C,s){(!this.options||!y.equals(this.options,C))&&(this.options=C,this.selectElement.options.length=0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled))})),s!==void 0&&this.select(s)}select(C){this.options.length===0?this.selected=0:C>=0&&Cthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selectedC(new y.StandardMouseEvent(s))))}onmousedown(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_DOWN,s=>C(new y.StandardMouseEvent(s))))}onmouseover(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_OVER,s=>C(new y.StandardMouseEvent(s))))}onmouseleave(g,C){this._register(L.addDisposableListener(g,L.EventType.MOUSE_LEAVE,s=>C(new y.StandardMouseEvent(s))))}onkeydown(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_DOWN,s=>C(new k.StandardKeyboardEvent(s))))}onkeyup(g,C){this._register(L.addDisposableListener(g,L.EventType.KEY_UP,s=>C(new k.StandardKeyboardEvent(s))))}oninput(g,C){this._register(L.addDisposableListener(g,L.EventType.INPUT,C))}onblur(g,C){this._register(L.addDisposableListener(g,L.EventType.BLUR,C))}onfocus(g,C){this._register(L.addDisposableListener(g,L.EventType.FOCUS,C))}ignoreGesture(g){return D.Gesture.ignoreTarget(g)}}e.Widget=f}),define(ne[224],se([1,0,152,83,13,26,7]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarArrow=e.ARROW_IMG_SIZE=void 0,e.ARROW_IMG_SIZE=11;class f extends k.Widget{constructor(g){super(),this._onActivate=g.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=g.bgWidth+"px",this.bgDomNode.style.height=g.bgHeight+"px",typeof g.top<"u"&&(this.bgDomNode.style.top="0px"),typeof g.left<"u"&&(this.bgDomNode.style.left="0px"),typeof g.bottom<"u"&&(this.bgDomNode.style.bottom="0px"),typeof g.right<"u"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=g.className,this.domNode.classList.add(...D.ThemeIcon.asClassNameArray(g.icon)),this.domNode.style.position="absolute",this.domNode.style.width=e.ARROW_IMG_SIZE+"px",this.domNode.style.height=e.ARROW_IMG_SIZE+"px",typeof g.top<"u"&&(this.domNode.style.top=g.top+"px"),typeof g.left<"u"&&(this.domNode.style.left=g.left+"px"),typeof g.bottom<"u"&&(this.domNode.style.bottom=g.bottom+"px"),typeof g.right<"u"&&(this.domNode.style.right=g.right+"px"),this._pointerMoveMonitor=this._register(new L.GlobalPointerMoveMonitor),this._register(S.addStandardDisposableListener(this.bgDomNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._register(S.addStandardDisposableListener(this.domNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._pointerdownRepeatTimer=this._register(new y.IntervalTimer),this._pointerdownScheduleRepeatTimer=this._register(new y.TimeoutTimer)}_arrowPointerDown(g){if(!g.target||!(g.target instanceof Element))return;const C=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(C,200),this._pointerMoveMonitor.startMonitoring(g.target,g.pointerId,g.buttons,s=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),g.preventDefault()}}e.ScrollbarArrow=f}),define(ne[309],se([1,0,7,35,152,224,567,83,17]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractScrollbar=void 0;const g=140;class C extends f.Widget{constructor(i){super(),this._lazyRender=i.lazyRender,this._host=i.host,this._scrollable=i.scrollable,this._scrollByPage=i.scrollByPage,this._scrollbarState=i.scrollbarState,this._visibilityController=this._register(new S.ScrollbarVisibilityController(i.visibility,"visible scrollbar "+i.extraScrollbarClassName,"invisible scrollbar "+i.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new y.GlobalPointerMoveMonitor),this._shouldRender=!0,this.domNode=(0,k.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._register(L.addDisposableListener(this.domNode.domNode,L.EventType.POINTER_DOWN,n=>this._domNodePointerDown(n)))}_createArrow(i){const n=this._register(new D.ScrollbarArrow(i));this.domNode.domNode.appendChild(n.bgDomNode),this.domNode.domNode.appendChild(n.domNode)}_createSlider(i,n,t,a){this.slider=(0,k.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(i),this.slider.setLeft(n),typeof t=="number"&&this.slider.setWidth(t),typeof a=="number"&&this.slider.setHeight(a),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(L.addDisposableListener(this.slider.domNode,L.EventType.POINTER_DOWN,u=>{u.button===0&&(u.preventDefault(),this._sliderPointerDown(u))})),this.onclick(this.slider.domNode,u=>{u.leftButton&&u.stopPropagation()})}_onElementSize(i){return this._scrollbarState.setVisibleSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(i){return this._scrollbarState.setScrollSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(i){return this._scrollbarState.setScrollPosition(i)&&(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()))}_domNodePointerDown(i){i.target===this.domNode.domNode&&this._onPointerDown(i)}delegatePointerDown(i){const n=this.domNode.domNode.getClientRects()[0].top,t=n+this._scrollbarState.getSliderPosition(),a=n+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),u=this._sliderPointerPosition(i);t<=u&&u<=a?i.button===0&&(i.preventDefault(),this._sliderPointerDown(i)):this._onPointerDown(i)}_onPointerDown(i){let n,t;if(i.target===this.domNode.domNode&&typeof i.offsetX=="number"&&typeof i.offsetY=="number")n=i.offsetX,t=i.offsetY;else{const u=L.getDomNodePagePosition(this.domNode.domNode);n=i.pageX-u.left,t=i.pageY-u.top}const a=this._pointerDownRelativePosition(n,t);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(a):this._scrollbarState.getDesiredScrollPositionFromOffset(a)),i.button===0&&(i.preventDefault(),this._sliderPointerDown(i))}_sliderPointerDown(i){if(!i.target||!(i.target instanceof Element))return;const n=this._sliderPointerPosition(i),t=this._sliderOrthogonalPointerPosition(i),a=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(i.target,i.pointerId,i.buttons,u=>{const h=this._sliderOrthogonalPointerPosition(u),r=Math.abs(h-t);if(_.isWindows&&r>g){this._setDesiredScrollPositionNow(a.getScrollPosition());return}const o=this._sliderPointerPosition(u)-n;this._setDesiredScrollPositionNow(a.getDesiredScrollPositionFromDelta(o))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(i){const n={};this.writeScrollPosition(n,i),this._scrollable.setScrollPositionNow(n)}updateScrollbarSize(i){this._updateScrollbarSize(i),this._scrollbarState.setScrollbarSize(i),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}e.AbstractScrollbar=C}),define(ne[576],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HorizontalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.horizontalHasArrows?C.arrowSize:0,C.horizontal===2?0:C.horizontalScrollbarSize,C.vertical===2?0:C.verticalScrollbarSize,i.width,i.scrollWidth,n.scrollLeft),visibility:C.horizontal,extraScrollbarClassName:"horizontal",scrollable:g,scrollByPage:C.scrollByPage}),C.horizontalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.horizontalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonLeft,top:a,left:t,bottom:void 0,right:void 0,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonRight,top:a,left:void 0,bottom:void 0,right:t,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((C.horizontalScrollbarSize-C.horizontalSliderSize)/2),0,void 0,C.horizontalSliderSize)}_updateSlider(g,C){this.slider.setWidth(g),this.slider.setLeft(C)}_renderDomNode(g,C){this.domNode.setWidth(g),this.domNode.setHeight(C),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(g.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return g}_sliderPointerPosition(g){return g.pageX}_sliderOrthogonalPointerPosition(g){return g.pageY}_updateScrollbarSize(g){this.slider.setHeight(g)}writeScrollPosition(g,C){g.scrollLeft=C}updateOptions(g){this.updateScrollbarSize(g.horizontal===2?0:g.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._visibilityController.setVisibility(g.horizontal),this._scrollByPage=g.scrollByPage}}e.HorizontalScrollbar=f}),define(ne[577],se([1,0,60,309,224,195,25]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VerticalScrollbar=void 0;class f extends k.AbstractScrollbar{constructor(g,C,s){const i=g.getScrollDimensions(),n=g.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.verticalHasArrows?C.arrowSize:0,C.vertical===2?0:C.verticalScrollbarSize,0,i.height,i.scrollHeight,n.scrollTop),visibility:C.vertical,extraScrollbarClassName:"vertical",scrollable:g,scrollByPage:C.scrollByPage}),C.verticalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,a=(C.verticalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonUp,top:t,left:a,bottom:void 0,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonDown,top:void 0,left:a,bottom:t,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((C.verticalScrollbarSize-C.verticalSliderSize)/2),C.verticalSliderSize,void 0)}_updateSlider(g,C){this.slider.setHeight(g),this.slider.setTop(C)}_renderDomNode(g,C){this.domNode.setWidth(C),this.domNode.setHeight(g),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(g){return this._shouldRender=this._onElementScrollSize(g.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(g.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(g.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(g,C){return C}_sliderPointerPosition(g){return g.pageY}_sliderOrthogonalPointerPosition(g){return g.pageX}_updateScrollbarSize(g){this.slider.setWidth(g)}writeScrollPosition(g,C){g.scrollTop=C}updateOptions(g){this.updateScrollbarSize(g.vertical===2?0:g.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(g.vertical),this._scrollByPage=g.scrollByPage}}e.VerticalScrollbar=f}),define(ne[75],se([1,0,52,7,35,60,576,577,83,13,6,2,17,167,406]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomScrollableElement=e.SmoothScrollableElement=e.ScrollableElement=e.AbstractScrollableElement=e.MouseWheelClassifier=void 0;const t=500,a=50,u=!0;class h{constructor(v,b,w){this.timestamp=v,this.deltaX=b,this.deltaY=w,this.score=0}}class r{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let v=1,b=0,w=1,E=this._rear;do{const I=E===this._front?v:Math.pow(2,-w);if(v-=I,b+=this._memory[E].score*I,E===this._front)break;E=(this._capacity+E-1)%this._capacity,w++}while(!0);return b<=.5}acceptStandardWheelEvent(v){const b=window.devicePixelRatio/(0,L.getZoomFactor)();i.isWindows||i.isLinux?this.accept(Date.now(),v.deltaX/b,v.deltaY/b):this.accept(Date.now(),v.deltaX,v.deltaY)}accept(v,b,w){const E=new h(v,b,w);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(v){if(Math.abs(v.deltaX)>0&&Math.abs(v.deltaY)>0)return 1;let b=.5;const w=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(v.deltaX)||!this._isAlmostInt(v.deltaY))&&(b+=.25),Math.min(Math.max(b,0),1)}_isAlmostInt(v){return Math.abs(Math.round(v)-v)<.01}}e.MouseWheelClassifier=r,r.INSTANCE=new r;class c extends _.Widget{get options(){return this._options}constructor(v,b,w){super(),this._onScroll=this._register(new C.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Emitter),v.style.overflow="hidden",this._options=p(b),this._scrollable=w,this._register(this._scrollable.onScroll(I=>{this._onWillScroll.fire(I),this._onDidScroll(I),this._onScroll.fire(I)}));const E={onMouseWheel:I=>this._onMouseWheel(I),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new f.VerticalScrollbar(this._scrollable,this._options,E)),this._horizontalScrollbar=this._register(new S.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(v),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,y.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,I=>this._onMouseOver(I)),this.onmouseleave(this._listenOnDomNode,I=>this._onMouseLeave(I)),this._hideTimeout=this._register(new g.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(v){this._verticalScrollbar.delegatePointerDown(v)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(v){this._scrollable.setScrollDimensions(v,!1)}updateClassName(v){this._options.className=v,i.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(v){typeof v.handleMouseWheel<"u"&&(this._options.handleMouseWheel=v.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof v.mouseWheelScrollSensitivity<"u"&&(this._options.mouseWheelScrollSensitivity=v.mouseWheelScrollSensitivity),typeof v.fastScrollSensitivity<"u"&&(this._options.fastScrollSensitivity=v.fastScrollSensitivity),typeof v.scrollPredominantAxis<"u"&&(this._options.scrollPredominantAxis=v.scrollPredominantAxis),typeof v.horizontal<"u"&&(this._options.horizontal=v.horizontal),typeof v.vertical<"u"&&(this._options.vertical=v.vertical),typeof v.horizontalScrollbarSize<"u"&&(this._options.horizontalScrollbarSize=v.horizontalScrollbarSize),typeof v.verticalScrollbarSize<"u"&&(this._options.verticalScrollbarSize=v.verticalScrollbarSize),typeof v.scrollByPage<"u"&&(this._options.scrollByPage=v.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(v){this._onMouseWheel(new D.StandardWheelEvent(v))}_setListeningToMouseWheel(v){if(this._mouseWheelToDispose.length>0!==v&&(this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),v)){const w=E=>{this._onMouseWheel(new D.StandardWheelEvent(E))};this._mouseWheelToDispose.push(k.addDisposableListener(this._listenOnDomNode,k.EventType.MOUSE_WHEEL,w,{passive:!1}))}}_onMouseWheel(v){var b;if(!((b=v.browserEvent)===null||b===void 0)&&b.defaultPrevented)return;const w=r.INSTANCE;u&&w.acceptStandardWheelEvent(v);let E=!1;if(v.deltaY||v.deltaX){let M=v.deltaY*this._options.mouseWheelScrollSensitivity,P=v.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&P+M===0?P=M=0:Math.abs(M)>=Math.abs(P)?P=0:M=0),this._options.flipAxes&&([M,P]=[P,M]);const x=!i.isMacintosh&&v.browserEvent&&v.browserEvent.shiftKey;(this._options.scrollYToX||x)&&!P&&(P=M,M=0),v.browserEvent&&v.browserEvent.altKey&&(P=P*this._options.fastScrollSensitivity,M=M*this._options.fastScrollSensitivity);const T=this._scrollable.getFutureScrollPosition();let A={};if(M){const N=a*M,F=T.scrollTop-(N<0?Math.floor(N):Math.ceil(N));this._verticalScrollbar.writeScrollPosition(A,F)}if(P){const N=a*P,F=T.scrollLeft-(N<0?Math.floor(N):Math.ceil(N));this._horizontalScrollbar.writeScrollPosition(A,F)}A=this._scrollable.validateScrollPosition(A),(T.scrollLeft!==A.scrollLeft||T.scrollTop!==A.scrollTop)&&(u&&this._options.mouseWheelSmoothScroll&&w.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(A):this._scrollable.setScrollPositionNow(A),E=!0)}let I=E;!I&&this._options.alwaysConsumeMouseWheel&&(I=!0),!I&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(I=!0),I&&(v.preventDefault(),v.stopPropagation())}_onDidScroll(v){this._shouldRender=this._horizontalScrollbar.onDidScroll(v)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(v)||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 v=this._scrollable.getCurrentScrollPosition(),b=v.scrollTop>0,w=v.scrollLeft>0,E=w?" left":"",I=b?" top":"",M=w||b?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${E}`),this._topShadowDomNode.setClassName(`shadow${I}`),this._topLeftShadowDomNode.setClassName(`shadow${M}${I}${E}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(v){this._mouseIsOver=!1,this._hide()}_onMouseOver(v){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(),t)}}e.AbstractScrollableElement=c;class o extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w)}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}}e.ScrollableElement=o;class d extends c{constructor(v,b,w){super(v,b,w)}setScrollPosition(v){v.reuseAnimation?this._scrollable.setScrollPositionSmooth(v,v.reuseAnimation):this._scrollable.setScrollPositionNow(v)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}e.SmoothScrollableElement=d;class l extends c{constructor(v,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>k.scheduleAtNextAnimationFrame(E)});super(v,b,w),this._register(w),this._element=v,this.onScroll(E=>{E.scrollTopChanged&&(this._element.scrollTop=E.scrollTop),E.scrollLeftChanged&&(this._element.scrollLeft=E.scrollLeft)}),this.scanDomNode()}setScrollPosition(v){this._scrollable.setScrollPositionNow(v)}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=l;function p(m){const v={lazyRender:typeof m.lazyRender<"u"?m.lazyRender:!1,className:typeof m.className<"u"?m.className:"",useShadows:typeof m.useShadows<"u"?m.useShadows:!0,handleMouseWheel:typeof m.handleMouseWheel<"u"?m.handleMouseWheel:!0,flipAxes:typeof m.flipAxes<"u"?m.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof m.consumeMouseWheelIfScrollbarIsNeeded<"u"?m.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof m.alwaysConsumeMouseWheel<"u"?m.alwaysConsumeMouseWheel:!1,scrollYToX:typeof m.scrollYToX<"u"?m.scrollYToX:!1,mouseWheelScrollSensitivity:typeof m.mouseWheelScrollSensitivity<"u"?m.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof m.fastScrollSensitivity<"u"?m.fastScrollSensitivity:5,scrollPredominantAxis:typeof m.scrollPredominantAxis<"u"?m.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof m.mouseWheelSmoothScroll<"u"?m.mouseWheelSmoothScroll:!0,arrowSize:typeof m.arrowSize<"u"?m.arrowSize:11,listenOnDomNode:typeof m.listenOnDomNode<"u"?m.listenOnDomNode:null,horizontal:typeof m.horizontal<"u"?m.horizontal:1,horizontalScrollbarSize:typeof m.horizontalScrollbarSize<"u"?m.horizontalScrollbarSize:10,horizontalSliderSize:typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:0,horizontalHasArrows:typeof m.horizontalHasArrows<"u"?m.horizontalHasArrows:!1,vertical:typeof m.vertical<"u"?m.vertical:1,verticalScrollbarSize:typeof m.verticalScrollbarSize<"u"?m.verticalScrollbarSize:10,verticalHasArrows:typeof m.verticalHasArrows<"u"?m.verticalHasArrows:!1,verticalSliderSize:typeof m.verticalSliderSize<"u"?m.verticalSliderSize:0,scrollByPage:typeof m.scrollByPage<"u"?m.scrollByPage:!1};return v.horizontalSliderSize=typeof m.horizontalSliderSize<"u"?m.horizontalSliderSize:v.horizontalScrollbarSize,v.verticalSliderSize=typeof m.verticalSliderSize<"u"?m.verticalSliderSize:v.verticalScrollbarSize,i.isMacintosh&&(v.className+=" mac"),v}}),define(ne[310],se([1,0,7,44,75,2,555,399]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverAccessibleViewHint=e.HoverAction=e.HoverWidget=void 0;const f=L.$;class _ extends D.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 y.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}e.HoverWidget=_;class g extends D.Disposable{static render(i,n,t){return new g(i,n,t)}constructor(i,n,t){super(),this.actionContainer=L.append(i,f("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=L.append(this.actionContainer,f("a.action")),this.action.setAttribute("role","button"),n.iconClass&&L.append(this.action,f(`span.icon.${n.iconClass}`));const a=L.append(this.action,f("span"));a.textContent=t?`${n.label} (${t})`:n.label,this._register(L.addDisposableListener(this.actionContainer,L.EventType.CLICK,u=>{u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer)})),this._register(L.addDisposableListener(this.actionContainer,L.EventType.KEY_DOWN,u=>{const h=new k.StandardKeyboardEvent(u);(h.equals(3)||h.equals(10))&&(u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer))})),this.setEnabled(!0)}setEnabled(i){i?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}e.HoverAction=g;function C(s,i){return s&&i?(0,S.localize)(0,null,i):s?(0,S.localize)(1,null):""}e.getHoverAccessibleViewHint=C}),define(ne[225],se([1,0,197,7,81,61,75,14,13,106,6,2,166,167,391,573,9]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListView=e.NativeDragAndDropData=e.ExternalElementsDragAndDropData=e.ElementsDragAndDropData=void 0;const h={CurrentDragAndDropData:void 0},r={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(v){return[v]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class c{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ElementsDragAndDropData=c;class o{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ExternalElementsDragAndDropData=o;class d{constructor(){this.types=[],this.files=[]}update(b){if(b.types&&this.types.splice(0,this.types.length,...b.types),b.files){this.files.splice(0,this.files.length);for(let w=0;wI,b?.getPosInSet?this.getPosInSet=b.getPosInSet.bind(b):this.getPosInSet=(w,E)=>E+1,b?.getRole?this.getRole=b.getRole.bind(b):this.getRole=w=>"listitem",b?.isChecked?this.isChecked=b.isChecked.bind(b):this.isChecked=w=>{}}}class m{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(b){if(b!==this._horizontalScrolling){if(b&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=b,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const w of this.items)this.measureItemWidth(w);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=""}}constructor(b,w,E,I=r){var M,P,x,T,A,N,F,O,W,U,j,R,K;if(this.virtualDelegate=w,this.domId=`list_id_${++m.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new _.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=s.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=s.Disposable.None,this.onDragLeaveTimeout=s.Disposable.None,this.disposables=new s.DisposableStore,this._onDidChangeContentHeight=new C.Emitter,this._onDidChangeContentWidth=new C.Emitter,this._horizontalScrolling=!1,I.horizontalScrolling&&I.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new t.RangeMap((M=I.paddingTop)!==null&&M!==void 0?M:0);for(const Z of E)this.renderers.set(Z.templateId,Z);this.cache=this.disposables.add(new a.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 I.mouseSupport=="boolean"?I.mouseSupport:!0),this._horizontalScrolling=(P=I.horizontalScrolling)!==null&&P!==void 0?P:r.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=typeof I.paddingBottom>"u"?0:I.paddingBottom,this.accessibilityProvider=new p(I.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",((x=I.transformOptimization)!==null&&x!==void 0?x:r.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(D.Gesture.addTarget(this.rowsContainer)),this.scrollable=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:(T=I.smoothScrolling)!==null&&T!==void 0&&T?125:0,scheduleAtNextAnimationFrame:Z=>(0,k.scheduleAtNextAnimationFrame)(Z)}),this.scrollableElement=this.disposables.add(new S.SmoothScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:(A=I.alwaysConsumeMouseWheel)!==null&&A!==void 0?A:r.alwaysConsumeMouseWheel,horizontal:1,vertical:(N=I.verticalScrollMode)!==null&&N!==void 0?N:r.verticalScrollMode,useShadows:(F=I.useShadows)!==null&&F!==void 0?F:r.useShadows,mouseWheelScrollSensitivity:I.mouseWheelScrollSensitivity,fastScrollSensitivity:I.fastScrollSensitivity,scrollByPage:I.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),b.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,k.addDisposableListener)(this.rowsContainer,D.EventType.Change,Z=>this.onTouchChange(Z))),this.disposables.add((0,k.addDisposableListener)(this.scrollableElement.getDomNode(),"scroll",Z=>Z.target.scrollTop=0)),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragover",Z=>this.onDragOver(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"drop",Z=>this.onDrop(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragleave",Z=>this.onDragLeave(this.toDragEvent(Z)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragend",Z=>this.onDragEnd(Z))),this.setRowLineHeight=(O=I.setRowLineHeight)!==null&&O!==void 0?O:r.setRowLineHeight,this.setRowHeight=(W=I.setRowHeight)!==null&&W!==void 0?W:r.setRowHeight,this.supportDynamicHeights=(U=I.supportDynamicHeights)!==null&&U!==void 0?U:r.supportDynamicHeights,this.dnd=(j=I.dnd)!==null&&j!==void 0?j:r.dnd,this.layout((R=I.initialSize)===null||R===void 0?void 0:R.height,(K=I.initialSize)===null||K===void 0?void 0:K.width)}updateOptions(b){b.paddingBottom!==void 0&&(this.paddingBottom=b.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),b.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(b.smoothScrolling?125:0),b.horizontalScrolling!==void 0&&(this.horizontalScrolling=b.horizontalScrolling);let w;if(b.scrollByPage!==void 0&&(w=Object.assign(Object.assign({},w??{}),{scrollByPage:b.scrollByPage})),b.mouseWheelScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{mouseWheelScrollSensitivity:b.mouseWheelScrollSensitivity})),b.fastScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{fastScrollSensitivity:b.fastScrollSensitivity})),w&&this.scrollableElement.updateOptions(w),b.paddingTop!==void 0&&b.paddingTop!==this.rangeMap.paddingTop){const E=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),I=b.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=b.paddingTop,this.render(E,Math.max(0,this.lastRenderTop+I),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}splice(b,w,E=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(b,w,E)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(b,w,E=[]){const I=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),M={start:b,end:b+w},P=i.Range.intersect(I,M),x=new Map;for(let H=P.end-1;H>=P.start;H--){const B=this.items[H];if(B.dragStartDisposable.dispose(),B.checkedDisposable.dispose(),B.row){let V=x.get(B.templateId);V||(V=[],x.set(B.templateId,V));const Y=this.renderers.get(B.templateId);Y&&Y.disposeElement&&Y.disposeElement(B.element,H,B.row.templateData,B.size),V.push(B.row)}B.row=null}const T={start:b+w,end:this.items.length},A=i.Range.intersect(T,I),N=i.Range.relativeComplement(T,I),F=E.map(H=>({id:String(this.itemId++),element:H,templateId:this.virtualDelegate.getTemplateId(H),size:this.virtualDelegate.getHeight(H),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(H),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:s.Disposable.None,checkedDisposable:s.Disposable.None}));let O;b===0&&w>=this.items.length?(this.rangeMap=new t.RangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,F),O=this.items,this.items=F):(this.rangeMap.splice(b,w,F),O=this.items.splice(b,w,...F));const W=E.length-w,U=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),j=(0,t.shift)(A,W),R=i.Range.intersect(U,j);for(let H=R.start;H(0,t.shift)(H,W)),J=[{start:b,end:b+E.length},...G].map(H=>i.Range.intersect(U,H)),X=this.getNextToLastElement(J);for(const H of J)for(let B=H.start;BH.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 b=0;for(const w of this.items)typeof w.width<"u"&&(b=Math.max(b,w.width));this.scrollWidth=b,this.scrollableElement.setScrollDimensions({scrollWidth:b===0?0:b+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(const b of this.items)b.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}get firstVisibleIndex(){const b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),w=this.rangeMap.positionAt(b.start),E=this.rangeMap.positionAt(b.start+1);return E!==-1&&(E-w)/2+w{for(const F of A)for(let O=F.start;OI.row.domNode.setAttribute("aria-checked",String(!!F));N(x.value),I.checkedDisposable=x.onDidChange(N)}(M||!I.row.domNode.parentElement)&&(w?this.rowsContainer.insertBefore(I.row.domNode,w):this.rowsContainer.appendChild(I.row.domNode)),this.updateItemInDOM(I,b);const T=this.renderers.get(I.templateId);if(!T)throw new Error(`No renderer found for template id ${I.templateId}`);T?.renderElement(I.element,b,I.row.templateData,I.size);const A=this.dnd.getDragURI(I.element);I.dragStartDisposable.dispose(),I.row.domNode.draggable=!!A,A&&(I.dragStartDisposable=(0,k.addDisposableListener)(I.row.domNode,"dragstart",N=>this.onDragStart(I.element,A,N))),this.horizontalScrolling&&(this.measureItemWidth(I),this.eventuallyUpdateScrollWidth())}measureItemWidth(b){if(!b.row||!b.row.domNode)return;b.row.domNode.style.width="fit-content",b.width=(0,k.getContentWidth)(b.row.domNode);const w=window.getComputedStyle(b.row.domNode);w.paddingLeft&&(b.width+=parseFloat(w.paddingLeft)),w.paddingRight&&(b.width+=parseFloat(w.paddingRight)),b.row.domNode.style.width=""}updateItemInDOM(b,w){b.row.domNode.style.top=`${this.elementTop(w)}px`,this.setRowHeight&&(b.row.domNode.style.height=`${b.size}px`),this.setRowLineHeight&&(b.row.domNode.style.lineHeight=`${b.size}px`),b.row.domNode.setAttribute("data-index",`${w}`),b.row.domNode.setAttribute("data-last-element",w===this.length-1?"true":"false"),b.row.domNode.setAttribute("data-parity",w%2===0?"even":"odd"),b.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(b.element,w,this.length))),b.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(b.element,w))),b.row.domNode.setAttribute("id",this.getElementDomId(w)),b.row.domNode.classList.toggle("drop-target",b.dropTarget)}removeItemFromDOM(b){const w=this.items[b];if(w.dragStartDisposable.dispose(),w.checkedDisposable.dispose(),w.row){const E=this.renderers.get(w.templateId);E&&E.disposeElement&&E.disposeElement(w.element,b,w.row.templateData,w.size),this.cache.release(w.row),w.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(b,w){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:b,reuseAnimation:w})}get scrollTop(){return this.getScrollTop()}set scrollTop(b){this.setScrollTop(b)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"click")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseDblClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"dblclick")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseMiddleClick(){return C.Event.filter(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"auxclick")).event,b=>this.toMouseEvent(b),this.disposables),b=>b.browserEvent.button===1,this.disposables)}get onMouseDown(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mousedown")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOver(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseover")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOut(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseout")).event,b=>this.toMouseEvent(b),this.disposables)}get onContextMenu(){return C.Event.any(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"contextmenu")).event,b=>this.toMouseEvent(b),this.disposables),C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,D.EventType.Contextmenu)).event,b=>this.toGestureEvent(b),this.disposables))}get onTouchStart(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"touchstart")).event,b=>this.toTouchEvent(b),this.disposables)}get onTap(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.rowsContainer,D.EventType.Tap)).event,b=>this.toGestureEvent(b),this.disposables)}toMouseEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toTouchEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toGestureEvent(b){const w=this.getItemIndexFromEventTarget(b.initialTarget||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}toDragEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],I=E&&E.element;return{browserEvent:b,index:w,element:I}}onScroll(b){try{const w=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(w,b.scrollTop,b.height,b.scrollLeft,b.scrollWidth),this.supportDynamicHeights&&this._rerender(b.scrollTop,b.height,b.inSmoothScrolling)}catch(w){throw console.error("Got bad scroll event:",b),w}}onTouchChange(b){b.preventDefault(),b.stopPropagation(),this.scrollTop-=b.translationY}onDragStart(b,w,E){var I,M;if(!E.dataTransfer)return;const P=this.dnd.getDragElements(b);if(E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setData(L.DataTransfers.TEXT,w),E.dataTransfer.setDragImage){let x;this.dnd.getDragLabel&&(x=this.dnd.getDragLabel(P,E)),typeof x>"u"&&(x=String(P.length));const T=(0,k.$)(".monaco-drag-image");T.textContent=x;const N=(F=>{for(;F&&!F.classList.contains("monaco-workbench");)F=F.parentElement;return F||document.body})(this.domNode);N.appendChild(T),E.dataTransfer.setDragImage(T,-10,-10),setTimeout(()=>N.removeChild(T),0)}this.domNode.classList.add("dragging"),this.currentDragData=new c(P),h.CurrentDragAndDropData=new o(P),(M=(I=this.dnd).onDragStart)===null||M===void 0||M.call(I,this.currentDragData,E)}onDragOver(b){var w;if(b.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),h.CurrentDragAndDropData&&h.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(b.browserEvent),!b.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(h.CurrentDragAndDropData)this.currentDragData=h.CurrentDragAndDropData;else{if(!b.browserEvent.dataTransfer.types)return!1;this.currentDragData=new d}const E=this.dnd.onDragOver(this.currentDragData,b.element,b.index,b.browserEvent);if(this.canDrop=typeof E=="boolean"?E:E.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;b.browserEvent.dataTransfer.dropEffect=typeof E!="boolean"&&E.effect===0?"copy":"move";let I;if(typeof E!="boolean"&&E.feedback?I=E.feedback:typeof b.index>"u"?I=[-1]:I=[b.index],I=(0,f.distinct)(I).filter(M=>M>=-1&&MM-P),I=I[0]===-1?[-1]:I,l(this.currentDragFeedback,I))return!0;if(this.currentDragFeedback=I,this.currentDragFeedbackDisposable.dispose(),I[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const M of I){const P=this.items[M];P.dropTarget=!0,(w=P.row)===null||w===void 0||w.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{var M;for(const P of I){const x=this.items[P];x.dropTarget=!1,(M=x.row)===null||M===void 0||M.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(b){var w,E;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,_.disposableTimeout)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&((E=(w=this.dnd).onDragLeave)===null||E===void 0||E.call(w,this.currentDragData,b.element,b.index,b.browserEvent))}onDrop(b){if(!this.canDrop)return;const w=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,!(!w||!b.browserEvent.dataTransfer)&&(b.browserEvent.preventDefault(),w.update(b.browserEvent.dataTransfer),this.dnd.drop(w,b.element,b.index,b.browserEvent))}onDragEnd(b){var w,E;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,h.CurrentDragAndDropData=void 0,(E=(w=this.dnd).onDragEnd)===null||E===void 0||E.call(w,b)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=s.Disposable.None}setupDragAndDropScrollTopAnimation(b){if(!this.dragOverAnimationDisposable){const w=(0,k.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,k.animate)(this.animateDragAndDropScrollTop.bind(this,w))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,_.disposableTimeout)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=b.pageY}animateDragAndDropScrollTop(b){if(this.dragOverMouseY===void 0)return;const w=this.dragOverMouseY-b,E=this.renderHeight-35;w<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(w-35))):w>E&&(this.scrollTop+=Math.min(14,Math.floor(.3*(w-E))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(b){const w=this.scrollableElement.getDomNode();let E=b;for(;E instanceof HTMLElement&&E!==this.rowsContainer&&w.contains(E);){const I=E.getAttribute("data-index");if(I){const M=Number(I);if(!isNaN(M))return M}E=E.parentElement}}getRenderRange(b,w){return{start:this.rangeMap.indexAt(b),end:this.rangeMap.indexAfter(b+w-1)}}_rerender(b,w,E){const I=this.getRenderRange(b,w);let M,P;b===this.elementTop(I.start)?(M=I.start,P=0):I.end-I.start>1&&(M=I.start+1,P=this.elementTop(M)-b);let x=0;for(;;){const T=this.getRenderRange(b,w);let A=!1;for(let N=T.start;Nce.templateData===ie);if(ae>=0){const ce=this.renderedElements[ae];this.trait.unrender(ie),ce.index=Y}else{const ce={index:Y,templateData:ie};this.renderedElements.push(ce)}this.trait.renderIndex(Y,ie)}splice(V,Y,ie){const ae=[];for(const ce of this.renderedElements)ce.index=V+Y&&ae.push({index:ce.index+ie-Y,templateData:ce.templateData});this.renderedElements=ae}renderIndexes(V){for(const{index:Y,templateData:ie}of this.renderedElements)V.indexOf(Y)>-1&&this.trait.renderIndex(Y,ie)}disposeTemplate(V){const Y=this.renderedElements.findIndex(ie=>ie.templateData===V);Y<0||this.renderedElements.splice(Y,1)}}class l{get name(){return this._trait}get renderer(){return new d(this)}constructor(V){this._trait=V,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new i.Emitter,this.onChange=this._onChange.event}splice(V,Y,ie){var ae;Y=Math.max(0,Math.min(Y,this.length-V));const ce=ie.length-Y,de=V+Y,he=[];let ue=0;for(;ue=de;)he.push(this.sortedIndexes[ue++]+ce);const te=this.length+ce;if(this.sortedIndexes.length>0&&he.length===0&&te>0){const q=(ae=this.sortedIndexes.find(z=>z>=V))!==null&&ae!==void 0?ae:te-1;he.push(Math.min(q,te-1))}this.renderer.splice(V,Y,ie.length),this._set(he,he),this.length=te}renderIndex(V,Y){Y.classList.toggle(this._trait,this.contains(V))}unrender(V){V.classList.remove(this._trait)}set(V,Y){return this._set(V,[...V].sort(G),Y)}_set(V,Y,ie){const ae=this.indexes,ce=this.sortedIndexes;this.indexes=V,this.sortedIndexes=Y;const de=R(ce,V);return this.renderer.renderIndexes(de),this._onChange.fire({indexes:V,browserEvent:ie}),ae}get(){return this.indexes}contains(V){return(0,_.binarySearch)(this.sortedIndexes,V,G)>=0}dispose(){(0,t.dispose)(this._onChange)}}ke([s.memoize],l.prototype,"renderer",null);class p extends l{constructor(V){super("selected"),this.setAriaSelected=V}renderIndex(V,Y){super.renderIndex(V,Y),this.setAriaSelected&&(this.contains(V)?Y.setAttribute("aria-selected","true"):Y.setAttribute("aria-selected","false"))}}class m{constructor(V,Y,ie){this.trait=V,this.view=Y,this.identityProvider=ie}splice(V,Y,ie){if(!this.identityProvider)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ae=this.trait.get().map(he=>this.identityProvider.getId(this.view.element(he)).toString());if(ae.length===0)return this.trait.splice(V,Y,new Array(ie.length).fill(!1));const ce=new Set(ae),de=ie.map(he=>ce.has(this.identityProvider.getId(he).toString()));this.trait.splice(V,Y,de)}}function v(B){return B.tagName==="INPUT"||B.tagName==="TEXTAREA"}e.isInputElement=v;function b(B){return B.classList.contains("monaco-editor")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:b(B.parentElement)}e.isMonacoEditor=b;function w(B){return B.tagName==="A"&&B.classList.contains("monaco-button")||B.tagName==="DIV"&&B.classList.contains("monaco-button-dropdown")?!0:B.classList.contains("monaco-list")||!B.parentElement?!1:w(B.parentElement)}e.isButton=w;class E{get onKeyDown(){return this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event).filter(V=>!v(V.target)).map(V=>new y.StandardKeyboardEvent(V)))}constructor(V,Y,ie){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.multipleSelectionDisposables=new t.DisposableStore,this.onKeyDown.filter(ae=>ae.keyCode===3).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===16).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===18).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===11).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===12).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(ae=>ae.keyCode===9).on(this.onEscape,this,this.disposables),ie.multipleSelectionSupport!==!1&&this.onKeyDown.filter(ae=>(u.isMacintosh?ae.metaKey:ae.ctrlKey)&&ae.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables)}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionDisposables.clear(),V.multipleSelectionSupport&&this.onKeyDown.filter(Y=>(u.isMacintosh?Y.metaKey:Y.ctrlKey)&&Y.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 Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNext(1,!1,V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPreviousPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onPageDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNextPage(V.browserEvent);const Y=this.list.getFocus()[0];this.list.setAnchor(Y),this.list.reveal(Y),this.view.domNode.focus()}onCtrlA(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection((0,_.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()}}ke([s.memoize],E.prototype,"onKeyDown",null);var I;(function(B){B[B.Automatic=0]="Automatic",B[B.Trigger=1]="Trigger"})(I||(e.TypeNavigationMode=I={}));var M;(function(B){B[B.Idle=0]="Idle",B[B.Typing=1]="Typing"})(M||(M={})),e.DefaultKeyboardNavigationDelegate=new class{mightProducePrintableCharacter(B){return B.ctrlKey||B.metaKey||B.altKey?!1:B.keyCode>=31&&B.keyCode<=56||B.keyCode>=21&&B.keyCode<=30||B.keyCode>=98&&B.keyCode<=107||B.keyCode>=85&&B.keyCode<=95}};class P{constructor(V,Y,ie,ae,ce){this.list=V,this.view=Y,this.keyboardNavigationLabelProvider=ie,this.keyboardNavigationEventFilter=ae,this.delegate=ce,this.enabled=!1,this.state=M.Idle,this.mode=I.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new t.DisposableStore,this.disposables=new t.DisposableStore,this.updateOptions(V.options)}updateOptions(V){var Y,ie;!((Y=V.typeNavigationEnabled)!==null&&Y!==void 0)||Y?this.enable():this.disable(),this.mode=(ie=V.typeNavigationMode)!==null&&ie!==void 0?ie:I.Automatic}enable(){if(this.enabled)return;let V=!1;const Y=this.enabledDisposables.add(i.Event.chain(this.enabledDisposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).filter(ce=>!v(ce.target)).filter(()=>this.mode===I.Automatic||this.triggered).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V||this.keyboardNavigationEventFilter(ce)).filter(ce=>this.delegate.mightProducePrintableCharacter(ce)).forEach(ce=>L.EventHelper.stop(ce,!0)).map(ce=>ce.browserEvent.key).event,ie=i.Event.debounce(Y,()=>null,800,void 0,void 0,void 0,this.enabledDisposables);i.Event.reduce(i.Event.any(Y,ie),(ce,de)=>de===null?null:(ce||"")+de,void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),ie(this.onClear,this,this.enabledDisposables),Y(()=>V=!0,void 0,this.enabledDisposables),ie(()=>V=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var V;const Y=this.list.getFocus();if(Y.length>0&&Y[0]===this.previouslyFocused){const ie=(V=this.list.options.accessibilityProvider)===null||V===void 0?void 0:V.getAriaLabel(this.list.element(Y[0]));ie&&(0,S.alert)(ie)}this.previouslyFocused=-1}onInput(V){if(!V){this.state=M.Idle,this.triggered=!1;return}const Y=this.list.getFocus(),ie=Y.length>0?Y[0]:0,ae=this.state===M.Idle?1:0;this.state=M.Typing;for(let ce=0;ce1&&q.length===1){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}}else if(typeof ue>"u"||(0,n.matchesPrefix)(V,ue)){this.previouslyFocused=ie,this.list.setFocus([de]),this.list.reveal(de);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class x{constructor(V,Y){this.list=V,this.view=Y,this.disposables=new t.DisposableStore,this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(Y.domNode,"keydown")).event)).filter(ae=>!v(ae.target)).map(ae=>new y.StandardKeyboardEvent(ae)).filter(ae=>ae.keyCode===2&&!ae.ctrlKey&&!ae.metaKey&&!ae.shiftKey&&!ae.altKey).on(this.onTab,this,this.disposables)}onTab(V){if(V.target!==this.view.domNode)return;const Y=this.list.getFocus();if(Y.length===0)return;const ie=this.view.domElement(Y[0]);if(!ie)return;const ae=ie.querySelector("[tabIndex]");if(!ae||!(ae instanceof HTMLElement)||ae.tabIndex===-1)return;const ce=window.getComputedStyle(ae);ce.visibility==="hidden"||ce.display==="none"||(V.preventDefault(),V.stopPropagation(),ae.focus())}dispose(){this.disposables.dispose()}}function T(B){return u.isMacintosh?B.browserEvent.metaKey:B.browserEvent.ctrlKey}e.isSelectionSingleChangeEvent=T;function A(B){return B.browserEvent.shiftKey}e.isSelectionRangeChangeEvent=A;function N(B){return B instanceof MouseEvent&&B.button===2}const F={isSelectionSingleChangeEvent:T,isSelectionRangeChangeEvent:A};class O{constructor(V){this.list=V,this.disposables=new t.DisposableStore,this._onPointer=new i.Emitter,this.onPointer=this._onPointer.event,V.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||F),this.mouseSupport=typeof V.options.mouseSupport>"u"||!!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(D.Gesture.addTarget(V.getHTMLElement()))),i.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||F))}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){b(V.browserEvent.target)||document.activeElement!==V.browserEvent.target&&this.list.domFocus()}onContextMenu(V){if(v(V.browserEvent.target)||b(V.browserEvent.target))return;const Y=typeof V.index>"u"?[]:[V.index];this.list.setFocus(Y,V.browserEvent)}onViewPointer(V){if(!this.mouseSupport||v(V.browserEvent.target)||b(V.browserEvent.target)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=V.index;if(typeof Y>"u"){this.list.setFocus([],V.browserEvent),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(V))return this.changeSelection(V);this.list.setFocus([Y],V.browserEvent),this.list.setAnchor(Y),N(V.browserEvent)||this.list.setSelection([Y],V.browserEvent),this._onPointer.fire(V)}onDoubleClick(V){if(v(V.browserEvent.target)||b(V.browserEvent.target)||this.isSelectionChangeEvent(V)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Y=this.list.getFocus();this.list.setSelection(Y,V.browserEvent)}changeSelection(V){const Y=V.index;let ie=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(V)){if(typeof ie>"u"){const q=this.list.getFocus()[0];ie=q??Y,this.list.setAnchor(ie)}const ae=Math.min(ie,Y),ce=Math.max(ie,Y),de=(0,_.range)(ae,ce+1),he=this.list.getSelection(),ue=j(R(he,[ie]),ie);if(ue.length===0)return;const te=R(de,K(he,ue));this.list.setSelection(te,V.browserEvent),this.list.setFocus([Y],V.browserEvent)}else if(this.isSelectionSingleChangeEvent(V)){const ae=this.list.getSelection(),ce=ae.filter(de=>de!==Y);this.list.setFocus([Y]),this.list.setAnchor(Y),ae.length===ce.length?this.list.setSelection([...ce,Y],V.browserEvent):this.list.setSelection(ce,V.browserEvent)}}dispose(){this.disposables.dispose()}}e.MouseController=O;class W{constructor(V,Y){this.styleElement=V,this.selectorSuffix=Y}style(V){var Y,ie;const ae=this.selectorSuffix&&`.${this.selectorSuffix}`,ce=[];V.listBackground&&ce.push(`.monaco-list${ae} .monaco-list-rows { background: ${V.listBackground}; }`),V.listFocusBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { background-color: ${V.listFocusBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused:hover { background-color: ${V.listFocusBackground}; }`)),V.listFocusForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused { color: ${V.listFocusForeground}; }`),V.listActiveSelectionBackground&&(ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { background-color: ${V.listActiveSelectionBackground}; }`),ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected:hover { background-color: ${V.listActiveSelectionBackground}; }`)),V.listActiveSelectionForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected { color: ${V.listActiveSelectionForeground}; }`),V.listActiveSelectionIconForeground&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.selected .codicon { color: ${V.listActiveSelectionIconForeground}; }`),V.listFocusAndSelectionBackground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { background-color: ${V.listFocusAndSelectionBackground}; } - `),V.listFocusAndSelectionForeground&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.selected.focused { color: ${V.listFocusAndSelectionForeground}; } - `),V.listInactiveFocusForeground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { color: ${V.listInactiveFocusForeground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { color: ${V.listInactiveFocusForeground}; }`)),V.listInactiveSelectionIconForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.focused .codicon { color: ${V.listInactiveSelectionIconForeground}; }`),V.listInactiveFocusBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.focused { background-color: ${V.listInactiveFocusBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.focused:hover { background-color: ${V.listInactiveFocusBackground}; }`)),V.listInactiveSelectionBackground&&(ce.push(`.monaco-list${ae} .monaco-list-row.selected { background-color: ${V.listInactiveSelectionBackground}; }`),ce.push(`.monaco-list${ae} .monaco-list-row.selected:hover { background-color: ${V.listInactiveSelectionBackground}; }`)),V.listInactiveSelectionForeground&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { color: ${V.listInactiveSelectionForeground}; }`),V.listHoverBackground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${V.listHoverBackground}; }`),V.listHoverForeground&&ce.push(`.monaco-list${ae}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${V.listHoverForeground}; }`);const de=(0,L.asCssValueWithDefault)(V.listFocusAndSelectionOutline,(0,L.asCssValueWithDefault)(V.listSelectionOutline,(Y=V.listFocusOutline)!==null&&Y!==void 0?Y:""));de&&ce.push(`.monaco-list${ae}:focus .monaco-list-row.focused.selected { outline: 1px solid ${de}; outline-offset: -1px;}`),V.listFocusOutline&&ce.push(` - .monaco-drag-image, - .monaco-list${ae}:focus .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - .monaco-workbench.context-menu-visible .monaco-list${ae}.last-focused .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } - `);const he=(0,L.asCssValueWithDefault)(V.listSelectionOutline,(ie=V.listInactiveFocusOutline)!==null&&ie!==void 0?ie:"");he&&ce.push(`.monaco-list${ae} .monaco-list-row.focused.selected { outline: 1px dotted ${he}; outline-offset: -1px; }`),V.listSelectionOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.selected { outline: 1px dotted ${V.listSelectionOutline}; outline-offset: -1px; }`),V.listInactiveFocusOutline&&ce.push(`.monaco-list${ae} .monaco-list-row.focused { outline: 1px dotted ${V.listInactiveFocusOutline}; outline-offset: -1px; }`),V.listHoverOutline&&ce.push(`.monaco-list${ae} .monaco-list-row:hover { outline: 1px dashed ${V.listHoverOutline}; outline-offset: -1px; }`),V.listDropBackground&&ce.push(` - .monaco-list${ae}.drop-target, - .monaco-list${ae} .monaco-list-rows.drop-target, - .monaco-list${ae} .monaco-list-row.drop-target { background-color: ${V.listDropBackground} !important; color: inherit !important; } - `),V.tableColumnsBorder&&ce.push(` - .monaco-table > .monaco-split-view2, - .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: ${V.tableColumnsBorder}; - } - - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: transparent; - } - `),V.tableOddRowsBackgroundColor&&ce.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=ce.join(` -`)}}e.DefaultStyleController=W,e.unthemedListStyles={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropBackground:"#383B3D",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:C.Color.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:C.Color.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:C.Color.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0};const U={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function j(B,V){const Y=B.indexOf(V);if(Y===-1)return[];const ie=[];let ae=Y-1;for(;ae>=0&&B[ae]===V-(Y-ae);)ie.push(B[ae--]);for(ie.reverse(),ae=Y;ae=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){Y.push(B[ie]),ie++,ae++;continue}else B[ie]=B.length)Y.push(V[ae++]);else if(ae>=V.length)Y.push(B[ie++]);else if(B[ie]===V[ae]){ie++,ae++;continue}else B[ie]B-V;class Z{constructor(V,Y){this._templateId=V,this.renderers=Y}get templateId(){return this._templateId}renderTemplate(V){return this.renderers.map(Y=>Y.renderTemplate(V))}renderElement(V,Y,ie,ae){let ce=0;for(const de of this.renderers)de.renderElement(V,Y,ie[ce++],ae)}disposeElement(V,Y,ie,ae){var ce;let de=0;for(const he of this.renderers)(ce=he.disposeElement)===null||ce===void 0||ce.call(he,V,Y,ie[de],ae),de+=1}disposeTemplate(V){let Y=0;for(const ie of this.renderers)ie.disposeTemplate(V[Y++])}}class J{constructor(V){this.accessibilityProvider=V,this.templateId="a18n"}renderTemplate(V){return V}renderElement(V,Y,ie){const ae=this.accessibilityProvider.getAriaLabel(V);ae?ie.setAttribute("aria-label",ae):ie.removeAttribute("aria-label");const ce=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(V);typeof ce=="number"?ie.setAttribute("aria-level",`${ce}`):ie.removeAttribute("aria-level")}disposeTemplate(V){}}class X{constructor(V,Y){this.list=V,this.dnd=Y}getDragElements(V){const Y=this.list.getSelectedElements();return Y.indexOf(V)>-1?Y:[V]}getDragURI(V){return this.dnd.getDragURI(V)}getDragLabel(V,Y){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(V,Y)}onDragStart(V,Y){var ie,ae;(ae=(ie=this.dnd).onDragStart)===null||ae===void 0||ae.call(ie,V,Y)}onDragOver(V,Y,ie,ae){return this.dnd.onDragOver(V,Y,ie,ae)}onDragLeave(V,Y,ie,ae){var ce,de;(de=(ce=this.dnd).onDragLeave)===null||de===void 0||de.call(ce,V,Y,ie,ae)}onDragEnd(V){var Y,ie;(ie=(Y=this.dnd).onDragEnd)===null||ie===void 0||ie.call(Y,V)}drop(V,Y,ie,ae){this.dnd.drop(V,Y,ie,ae)}}class H{get onDidChangeFocus(){return i.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),V=>this.toListEvent(V),this.disposables)}get onDidChangeSelection(){return i.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),V=>this.toListEvent(V),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}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 onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let V=!1;const Y=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event)).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>V=ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).filter(()=>!1).event,ie=this.disposables.add(i.Event.chain(this.disposables.add(new k.DomEmitter(this.view.domNode,"keyup")).event)).forEach(()=>V=!1).map(ce=>new y.StandardKeyboardEvent(ce)).filter(ce=>ce.keyCode===58||ce.shiftKey&&ce.keyCode===68).map(ce=>L.EventHelper.stop(ce,!0)).map(({browserEvent:ce})=>{const de=this.getFocus(),he=de.length?de[0]:void 0,ue=typeof he<"u"?this.view.element(he):void 0,te=typeof he<"u"?this.view.domElement(he):this.view.domNode;return{index:he,element:ue,anchor:te,browserEvent:ce}}).event,ae=this.disposables.add(i.Event.chain(this.view.onContextMenu)).filter(ce=>!V).map(({element:ce,index:de,browserEvent:he})=>({element:ce,index:de,anchor:new o.StandardMouseEvent(he),browserEvent:he})).event;return i.Event.any(Y,ie,ae)}get onKeyDown(){return this.disposables.add(new k.DomEmitter(this.view.domNode,"keydown")).event}get onDidFocus(){return i.Event.signal(this.disposables.add(new k.DomEmitter(this.view.domNode,"focus",!0)).event)}constructor(V,Y,ie,ae,ce=U){var de,he,ue,te;this.user=V,this._options=ce,this.focus=new l("focused"),this.anchor=new l("anchor"),this.eventBufferer=new i.EventBufferer,this._ariaLabel="",this.disposables=new t.DisposableStore,this._onDidDispose=new i.Emitter,this.onDidDispose=this._onDidDispose.event;const q=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(de=this._options.accessibilityProvider)===null||de===void 0?void 0:de.getWidgetRole():"list";this.selection=new p(q!=="listbox");const z=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=ce.accessibilityProvider,this.accessibilityProvider&&(z.push(new J(this.accessibilityProvider)),(ue=(he=this.accessibilityProvider).onDidChangeActiveDescendant)===null||ue===void 0||ue.call(he,this.onDidChangeActiveDescendant,this,this.disposables)),ae=ae.map($=>new Z($.templateId,[...z,$]));const ee=Object.assign(Object.assign({},ce),{dnd:ce.dnd&&new X(this,ce.dnd)});if(this.view=this.createListView(Y,ie,ae,ee),this.view.domNode.setAttribute("role",q),ce.styleController)this.styleController=ce.styleController(this.view.domId);else{const $=(0,L.createStyleSheet)(this.view.domNode);this.styleController=new W($,this.view.domId)}if(this.spliceable=new f.CombinedSpliceable([new m(this.focus,this.view,ce.identityProvider),new m(this.selection,this.view,ce.identityProvider),new m(this.anchor,this.view,ce.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 x(this,this.view)),(typeof ce.keyboardSupport!="boolean"||ce.keyboardSupport)&&(this.keyboardController=new E(this,this.view,ce),this.disposables.add(this.keyboardController)),ce.keyboardNavigationLabelProvider){const $=ce.keyboardNavigationDelegate||e.DefaultKeyboardNavigationDelegate;this.typeNavigationController=new P(this,this.view,ce.keyboardNavigationLabelProvider,(te=ce.keyboardNavigationEventFilter)!==null&&te!==void 0?te:()=>!0,$),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(ce),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")}createListView(V,Y,ie,ae){return new c.ListView(V,Y,ie,ae)}createMouseController(V){return new O(this)}updateOptions(V={}){var Y,ie;this._options=Object.assign(Object.assign({},this._options),V),(Y=this.typeNavigationController)===null||Y===void 0||Y.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),(ie=this.keyboardController)===null||ie===void 0||ie.updateOptions(V),this.view.updateOptions(V)}get options(){return this._options}splice(V,Y,ie=[]){if(V<0||V>this.view.length)throw new r.ListError(this.user,`Invalid start index: ${V}`);if(Y<0)throw new r.ListError(this.user,`Invalid delete count: ${Y}`);Y===0&&ie.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(V,Y,ie))}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 scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}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,Y){this.view.layout(V,Y)}setSelection(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.selection.set(V,Y)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(V=>this.view.element(V))}setAnchor(V){if(typeof V>"u"){this.anchor.set([]);return}if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);this.anchor.set([V])}getAnchor(){return(0,_.firstOrDefault)(this.anchor.get(),void 0)}getAnchorElement(){const V=this.getAnchor();return typeof V>"u"?void 0:this.element(V)}setFocus(V,Y){for(const ie of V)if(ie<0||ie>=this.length)throw new r.ListError(this.user,`Invalid index ${ie}`);this.focus.set(V,Y)}focusNext(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findNextIndex(ce.length>0?ce[0]+V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusPrevious(V=1,Y=!1,ie,ae){if(this.length===0)return;const ce=this.focus.get(),de=this.findPreviousIndex(ce.length>0?ce[0]-V:0,Y,ae);de>-1&&this.setFocus([de],ie)}focusNextPage(V,Y){return we(this,void 0,void 0,function*(){let ie=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);ie=ie===0?0:ie-1;const ae=this.getFocus()[0];if(ae!==ie&&(ae===void 0||ie>ae)){const ce=this.findPreviousIndex(ie,!1,Y);ce>-1&&ae!==ce?this.setFocus([ce],V):this.setFocus([ie],V)}else{const ce=this.view.getScrollTop();let de=ce+this.view.renderHeight;ie>ae&&(de-=this.view.elementHeight(ie)),this.view.setScrollTop(de),this.view.getScrollTop()!==ce&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusNextPage(V,Y))}})}focusPreviousPage(V,Y){return we(this,void 0,void 0,function*(){let ie;const ae=this.view.getScrollTop();ae===0?ie=this.view.indexAt(ae):ie=this.view.indexAfter(ae-1);const ce=this.getFocus()[0];if(ce!==ie&&(ce===void 0||ce>=ie)){const de=this.findNextIndex(ie,!1,Y);de>-1&&ce!==de?this.setFocus([de],V):this.setFocus([ie],V)}else{const de=ae;this.view.setScrollTop(ae-this.view.renderHeight),this.view.getScrollTop()!==de&&(this.setFocus([]),yield(0,g.timeout)(0),yield this.focusPreviousPage(V,Y))}})}focusLast(V,Y){if(this.length===0)return;const ie=this.findPreviousIndex(this.length-1,!1,Y);ie>-1&&this.setFocus([ie],V)}focusFirst(V,Y){this.focusNth(0,V,Y)}focusNth(V,Y,ie){if(this.length===0)return;const ae=this.findNextIndex(V,!1,ie);ae>-1&&this.setFocus([ae],Y)}findNextIndex(V,Y=!1,ie){for(let ae=0;ae=this.length&&!Y)return-1;if(V=V%this.length,!ie||ie(this.element(V)))return V;V++}return-1}findPreviousIndex(V,Y=!1,ie){for(let ae=0;aethis.view.element(V))}reveal(V,Y){if(V<0||V>=this.length)throw new r.ListError(this.user,`Invalid index ${V}`);const ie=this.view.getScrollTop(),ae=this.view.elementTop(V),ce=this.view.elementHeight(V);if((0,h.isNumber)(Y)){const de=ce-this.view.renderHeight;this.view.setScrollTop(de*(0,a.clamp)(Y,0,1)+ae)}else{const de=ae+ce,he=ie+this.view.renderHeight;ae=he||(ae=he&&ce>=this.view.renderHeight?this.view.setScrollTop(ae):de>=he&&this.view.setScrollTop(de-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}getElementID(V){return this.view.getElementDomId(V)}style(V){this.styleController.style(V)}toListEvent({indexes:V,browserEvent:Y}){return{indexes:V,elements:V.map(ie=>this.view.element(ie)),browserEvent:Y}}_onFocusChange(){const V=this.focus.get();this.view.domNode.classList.toggle("element-focused",V.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var V;const Y=this.focus.get();if(Y.length>0){let ie;!((V=this.accessibilityProvider)===null||V===void 0)&&V.getActiveDescendantId&&(ie=this.accessibilityProvider.getActiveDescendantId(this.view.element(Y[0]))),this.view.domNode.setAttribute("aria-activedescendant",ie||this.view.getElementDomId(Y[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()}}e.List=H,ke([s.memoize],H.prototype,"onDidChangeFocus",null),ke([s.memoize],H.prototype,"onDidChangeSelection",null),ke([s.memoize],H.prototype,"onContextMenu",null),ke([s.memoize],H.prototype,"onKeyDown",null),ke([s.memoize],H.prototype,"onDidFocus",null)}),define(ne[578],se([1,0,14,19,6,2,114,268]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedList=void 0;class f{get templateId(){return this.renderer.templateId}constructor(i,n){this.renderer=i,this.modelProvider=n}renderTemplate(i){return{data:this.renderer.renderTemplate(i),disposable:D.Disposable.None}}renderElement(i,n,t,a){var u;if((u=t.disposable)===null||u===void 0||u.dispose(),!t.data)return;const h=this.modelProvider();if(h.isResolved(i))return this.renderer.renderElement(h.get(i),i,t.data,a);const r=new k.CancellationTokenSource,c=h.resolve(i,r.token);t.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(i,t.data),c.then(o=>this.renderer.renderElement(o,i,t.data,a))}disposeTemplate(i){i.disposable&&(i.disposable.dispose(),i.disposable=void 0),i.data&&(this.renderer.disposeTemplate(i.data),i.data=void 0)}}class _{constructor(i,n){this.modelProvider=i,this.accessibilityProvider=n}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(i){const n=this.modelProvider();return n.isResolved(i)?this.accessibilityProvider.getAriaLabel(n.get(i)):null}}function g(s,i){return Object.assign(Object.assign({},i),{accessibilityProvider:i.accessibilityProvider&&new _(s,i.accessibilityProvider)})}class C{constructor(i,n,t,a,u={}){const h=()=>this.model,r=a.map(c=>new f(c,h));this.list=new S.List(i,n,t,r,g(h,u))}updateOptions(i){this.list.updateOptions(i)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return y.Event.map(this.list.onMouseDblClick,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onPointer(){return y.Event.map(this.list.onPointer,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onDidChangeSelection(){return y.Event.map(this.list.onDidChangeSelection,({elements:i,indexes:n,browserEvent:t})=>({elements:i.map(a=>this._model.get(a)),indexes:n,browserEvent:t}))}get model(){return this._model}set model(i){this._model=i,this.list.splice(0,this.list.length,(0,L.range)(i.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(i=>this.model.get(i))}style(i){this.list.style(i)}dispose(){this.list.dispose()}}e.PagedList=C}),define(ne[311],se([1,0,7,81,130,75,14,38,6,2,141,167,20,409]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SplitView=e.Sizing=void 0;const n={separatorBorder:f.Color.transparent};class t{set size(d){this._size=d}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize>"u"}setVisible(d,l){var p,m;d!==this.visible&&(d?(this.size=(0,C.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof l=="number"?l:this.size,this.size=0),this.container.classList.toggle("visible",d),(m=(p=this.view).setVisible)===null||m===void 0||m.call(p,d))}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 proportionalLayout(){var d;return(d=this.view.proportionalLayout)!==null&&d!==void 0?d:!0}get snap(){return!!this.view.snap}set enabled(d){this.container.style.pointerEvents=d?"":"none"}constructor(d,l,p,m){this.container=d,this.view=l,this.disposable=m,this._cachedVisibleSize=void 0,typeof p=="number"?(this._size=p,this._cachedVisibleSize=void 0,d.classList.add("visible")):(this._size=0,this._cachedVisibleSize=p.cachedVisibleSize)}layout(d,l){this.layoutContainer(d),this.view.layout(this.size,d,l)}dispose(){this.disposable.dispose()}}class a extends t{layoutContainer(d){this.container.style.top=`${d}px`,this.container.style.height=`${this.size}px`}}class u extends t{layoutContainer(d){this.container.style.left=`${d}px`,this.container.style.width=`${this.size}px`}}var h;(function(o){o[o.Idle=0]="Idle",o[o.Busy=1]="Busy"})(h||(h={}));var r;(function(o){o.Distribute={type:"distribute"};function d(m){return{type:"split",index:m}}o.Split=d;function l(m){return{type:"auto",index:m}}o.Auto=l;function p(m){return{type:"invisible",cachedVisibleSize:m}}o.Invisible=p})(r||(e.Sizing=r={}));class c extends g.Disposable{get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(d){for(const l of this.sashItems)l.sash.orthogonalStartSash=d;this._orthogonalStartSash=d}set orthogonalEndSash(d){for(const l of this.sashItems)l.sash.orthogonalEndSash=d;this._orthogonalEndSash=d}set startSnappingEnabled(d){this._startSnappingEnabled!==d&&(this._startSnappingEnabled=d,this.updateSashEnablement())}set endSnappingEnabled(d){this._endSnappingEnabled!==d&&(this._endSnappingEnabled=d,this.updateSashEnablement())}constructor(d,l={}){var p,m,v,b,w;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=h.Idle,this._onDidSashChange=this._register(new _.Emitter),this._onDidSashReset=this._register(new _.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(p=l.orientation)!==null&&p!==void 0?p:0,this.inverseAltBehavior=(m=l.inverseAltBehavior)!==null&&m!==void 0?m:!1,this.proportionalLayout=(v=l.proportionalLayout)!==null&&v!==void 0?v:!0,this.getSashOrthogonalSize=l.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(this.orientation===0?"vertical":"horizontal"),d.appendChild(this.el),this.sashContainer=(0,L.append)(this.el,(0,L.$)(".sash-container")),this.viewContainer=(0,L.$)(".split-view-container"),this.scrollable=this._register(new s.Scrollable({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:L.scheduleAtNextAnimationFrame})),this.scrollableElement=this._register(new D.SmoothScrollableElement(this.viewContainer,{vertical:this.orientation===0?(b=l.scrollbarVisibility)!==null&&b!==void 0?b:1:2,horizontal:this.orientation===1?(w=l.scrollbarVisibility)!==null&&w!==void 0?w:1:2},this.scrollable));const E=this._register(new k.DomEmitter(this.viewContainer,"scroll")).event;this._register(E(I=>{const M=this.scrollableElement.getScrollPosition(),P=Math.abs(this.viewContainer.scrollLeft-M.scrollLeft)<=1?void 0:this.viewContainer.scrollLeft,x=Math.abs(this.viewContainer.scrollTop-M.scrollTop)<=1?void 0:this.viewContainer.scrollTop;(P!==void 0||x!==void 0)&&this.scrollableElement.setScrollPosition({scrollLeft:P,scrollTop:x})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(I=>{I.scrollTopChanged&&(this.viewContainer.scrollTop=I.scrollTop),I.scrollLeftChanged&&(this.viewContainer.scrollLeft=I.scrollLeft)})),(0,L.append)(this.el,this.scrollableElement.getDomNode()),this.style(l.styles||n),l.descriptor&&(this.size=l.descriptor.size,l.descriptor.views.forEach((I,M)=>{const P=i.isUndefined(I.visible)||I.visible?I.size:{type:"invisible",cachedVisibleSize:I.size},x=I.view;this.doAddView(x,P,M,!0)}),this.contentSize=this.viewItems.reduce((I,M)=>I+M.size,0),this.saveProportions())}style(d){d.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",d.separatorBorder.toString()))}addView(d,l,p=this.viewItems.length,m){this.doAddView(d,l,p,m)}layout(d,l){const p=Math.max(this.size,this.contentSize);if(this.size=d,this.layoutContext=l,this.proportions){let m=0;for(let v=0;vthis.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.resize(this.viewItems.length-1,d-p,void 0,v,b)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(d=>d.proportionalLayout?d.size/this.contentSize:void 0))}onSashStart({sash:d,start:l,alt:p}){for(const w of this.viewItems)w.enabled=!1;const m=this.sashItems.findIndex(w=>w.sash===d),v=(0,g.combinedDisposable)((0,L.addDisposableListener)(document.body,"keydown",w=>b(this.sashDragState.current,w.altKey)),(0,L.addDisposableListener)(document.body,"keyup",()=>b(this.sashDragState.current,!1))),b=(w,E)=>{const I=this.viewItems.map(A=>A.size);let M=Number.NEGATIVE_INFINITY,P=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(E=!E),E)if(m===this.sashItems.length-1){const N=this.viewItems[m];M=(N.minimumSize-N.size)/2,P=(N.maximumSize-N.size)/2}else{const N=this.viewItems[m+1];M=(N.size-N.maximumSize)/2,P=(N.size-N.minimumSize)/2}let x,T;if(!E){const A=(0,S.range)(m,-1),N=(0,S.range)(m+1,this.viewItems.length),F=A.reduce((Z,J)=>Z+(this.viewItems[J].minimumSize-I[J]),0),O=A.reduce((Z,J)=>Z+(this.viewItems[J].viewMaximumSize-I[J]),0),W=N.length===0?Number.POSITIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].minimumSize),0),U=N.length===0?Number.NEGATIVE_INFINITY:N.reduce((Z,J)=>Z+(I[J]-this.viewItems[J].viewMaximumSize),0),j=Math.max(F,U),R=Math.min(W,O),K=this.findFirstSnapIndex(A),G=this.findFirstSnapIndex(N);if(typeof K=="number"){const Z=this.viewItems[K],J=Math.floor(Z.viewMinimumSize/2);x={index:K,limitDelta:Z.visible?j-J:j+J,size:Z.size}}if(typeof G=="number"){const Z=this.viewItems[G],J=Math.floor(Z.viewMinimumSize/2);T={index:G,limitDelta:Z.visible?R+J:R-J,size:Z.size}}}this.sashDragState={start:w,current:w,index:m,sizes:I,minDelta:M,maxDelta:P,alt:E,snapBefore:x,snapAfter:T,disposable:v}};b(l,p)}onSashChange({current:d}){const{index:l,start:p,sizes:m,alt:v,minDelta:b,maxDelta:w,snapBefore:E,snapAfter:I}=this.sashDragState;this.sashDragState.current=d;const M=d-p,P=this.resize(l,M,m,void 0,void 0,b,w,E,I);if(v){const x=l===this.sashItems.length-1,T=this.viewItems.map(U=>U.size),A=x?l:l+1,N=this.viewItems[A],F=N.size-N.maximumSize,O=N.size-N.minimumSize,W=x?l-1:l+1;this.resize(W,-P,T,void 0,void 0,F,O)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(d){this._onDidSashChange.fire(d),this.sashDragState.disposable.dispose(),this.saveProportions();for(const l of this.viewItems)l.enabled=!0}onViewChange(d,l){const p=this.viewItems.indexOf(d);p<0||p>=this.viewItems.length||(l=typeof l=="number"?l:d.size,l=(0,C.clamp)(l,d.minimumSize,d.maximumSize),this.inverseAltBehavior&&p>0?(this.resize(p-1,Math.floor((d.size-l)/2)),this.distributeEmptySpace(),this.layoutViews()):(d.size=l,this.relayout([p],void 0)))}resizeView(d,l){if(this.state!==h.Idle)throw new Error("Cant modify splitview");if(this.state=h.Busy,d<0||d>=this.viewItems.length)return;const p=(0,S.range)(this.viewItems.length).filter(w=>w!==d),m=[...p.filter(w=>this.viewItems[w].priority===1),d],v=p.filter(w=>this.viewItems[w].priority===2),b=this.viewItems[d];l=Math.round(l),l=(0,C.clamp)(l,b.minimumSize,Math.min(b.maximumSize,this.size)),b.size=l,this.relayout(m,v),this.state=h.Idle}distributeViewSizes(){const d=[];let l=0;for(const w of this.viewItems)w.maximumSize-w.minimumSize>0&&(d.push(w),l+=w.size);const p=Math.floor(l/d.length);for(const w of d)w.size=(0,C.clamp)(p,w.minimumSize,w.maximumSize);const m=(0,S.range)(this.viewItems.length),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);this.relayout(v,b)}getViewSize(d){return d<0||d>=this.viewItems.length?-1:this.viewItems[d].size}doAddView(d,l,p=this.viewItems.length,m){if(this.state!==h.Idle)throw new Error("Cant modify splitview");this.state=h.Busy;const v=(0,L.$)(".split-view-view");p===this.viewItems.length?this.viewContainer.appendChild(v):this.viewContainer.insertBefore(v,this.viewContainer.children.item(p));const b=d.onDidChange(x=>this.onViewChange(M,x)),w=(0,g.toDisposable)(()=>this.viewContainer.removeChild(v)),E=(0,g.combinedDisposable)(b,w);let I;typeof l=="number"?I=l:(l.type==="auto"&&(this.areViewsDistributed()?l={type:"distribute"}:l={type:"split",index:l.index}),l.type==="split"?I=this.getViewSize(l.index)/2:l.type==="invisible"?I={cachedVisibleSize:l.cachedVisibleSize}:I=d.minimumSize);const M=this.orientation===0?new a(v,d,I,E):new u(v,d,I,E);if(this.viewItems.splice(p,0,M),this.viewItems.length>1){const x={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},T=this.orientation===0?new y.Sash(this.sashContainer,{getHorizontalSashTop:Z=>this.getSashPosition(Z),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:1})):new y.Sash(this.sashContainer,{getVerticalSashLeft:Z=>this.getSashPosition(Z),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},x),{orientation:0})),A=this.orientation===0?Z=>({sash:T,start:Z.startY,current:Z.currentY,alt:Z.altKey}):Z=>({sash:T,start:Z.startX,current:Z.currentX,alt:Z.altKey}),F=_.Event.map(T.onDidStart,A)(this.onSashStart,this),W=_.Event.map(T.onDidChange,A)(this.onSashChange,this),j=_.Event.map(T.onDidEnd,()=>this.sashItems.findIndex(Z=>Z.sash===T))(this.onSashEnd,this),R=T.onDidReset(()=>{const Z=this.sashItems.findIndex(V=>V.sash===T),J=(0,S.range)(Z,-1),X=(0,S.range)(Z+1,this.viewItems.length),H=this.findFirstSnapIndex(J),B=this.findFirstSnapIndex(X);typeof H=="number"&&!this.viewItems[H].visible||typeof B=="number"&&!this.viewItems[B].visible||this._onDidSashReset.fire(Z)}),K=(0,g.combinedDisposable)(F,W,j,R,T),G={sash:T,disposable:K};this.sashItems.splice(p-1,0,G)}v.appendChild(d.element);let P;typeof l!="number"&&l.type==="split"&&(P=[l.index]),m||this.relayout([p],P),this.state=h.Idle,!m&&typeof l!="number"&&l.type==="distribute"&&this.distributeViewSizes()}relayout(d,l){const p=this.viewItems.reduce((m,v)=>m+v.size,0);this.resize(this.viewItems.length-1,this.size-p,void 0,d,l),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(d,l,p=this.viewItems.map(M=>M.size),m,v,b=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,E,I){if(d<0||d>=this.viewItems.length)return 0;const M=(0,S.range)(d,-1),P=(0,S.range)(d+1,this.viewItems.length);if(v)for(const G of v)(0,S.pushToStart)(M,G),(0,S.pushToStart)(P,G);if(m)for(const G of m)(0,S.pushToEnd)(M,G),(0,S.pushToEnd)(P,G);const x=M.map(G=>this.viewItems[G]),T=M.map(G=>p[G]),A=P.map(G=>this.viewItems[G]),N=P.map(G=>p[G]),F=M.reduce((G,Z)=>G+(this.viewItems[Z].minimumSize-p[Z]),0),O=M.reduce((G,Z)=>G+(this.viewItems[Z].maximumSize-p[Z]),0),W=P.length===0?Number.POSITIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].minimumSize),0),U=P.length===0?Number.NEGATIVE_INFINITY:P.reduce((G,Z)=>G+(p[Z]-this.viewItems[Z].maximumSize),0),j=Math.max(F,U,b),R=Math.min(W,O,w);let K=!1;if(E){const G=this.viewItems[E.index],Z=l>=E.limitDelta;K=Z!==G.visible,G.setVisible(Z,E.size)}if(!K&&I){const G=this.viewItems[I.index],Z=lw+E.size,0);let p=this.size-l;const m=(0,S.range)(this.viewItems.length-1,-1),v=m.filter(w=>this.viewItems[w].priority===1),b=m.filter(w=>this.viewItems[w].priority===2);for(const w of b)(0,S.pushToStart)(m,w);for(const w of v)(0,S.pushToEnd)(m,w);typeof d=="number"&&(0,S.pushToEnd)(m,d);for(let w=0;p!==0&&wl+p.size,0);let d=0;for(const l of this.viewItems)l.layout(d,this.layoutContext),d+=l.size;this.sashItems.forEach(l=>l.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 d=!1;const l=this.viewItems.map(E=>d=E.size-E.minimumSize>0||d);d=!1;const p=this.viewItems.map(E=>d=E.maximumSize-E.size>0||d),m=[...this.viewItems].reverse();d=!1;const v=m.map(E=>d=E.size-E.minimumSize>0||d).reverse();d=!1;const b=m.map(E=>d=E.maximumSize-E.size>0||d).reverse();let w=0;for(let E=0;E0||this.startSnappingEnabled)?I.state=1:W&&l[E]&&(w0)return;if(!p.visible&&p.snap)return l}}areViewsDistributed(){let d,l;for(const p of this.viewItems)if(d=d===void 0?p.size:Math.min(d,p.size),l=l===void 0?p.size:Math.max(l,p.size),l-d>2)return!1;return!0}dispose(){var d;(d=this.sashDragState)===null||d===void 0||d.disposable.dispose(),(0,g.dispose)(this.viewItems),this.viewItems=[],this.sashItems.forEach(l=>l.disposable.dispose()),this.sashItems=[],super.dispose()}}e.SplitView=c}),define(ne[579],se([1,0,7,114,311,6,2,410]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;class f{constructor(i,n,t){this.columns=i,this.getColumnSize=t,this.templateId=f.TemplateId,this.renderedTemplates=new Set;const a=new Map(n.map(u=>[u.templateId,u]));this.renderers=[];for(const u of i){const h=a.get(u.templateId);if(!h)throw new Error(`Table cell renderer for template id ${u.templateId} not found.`);this.renderers.push(h)}}renderTemplate(i){const n=(0,L.append)(i,(0,L.$)(".monaco-table-tr")),t=[],a=[];for(let h=0;hnew g(d,l)),c={size:r.reduce((d,l)=>d+l.column.weight,0),views:r.map(d=>({size:d.column.weight,view:d}))};this.splitview=this.disposables.add(new y.SplitView(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:c})),this.splitview.el.style.height=`${t.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${t.headerRowHeight}px`;const o=new f(a,u,d=>this.splitview.getViewSize(d));this.list=this.disposables.add(new k.List(i,this.domNode,_(t),[o],h)),D.Event.any(...r.map(d=>d.onDidLayout))(([d,l])=>o.layoutColumn(d,l),null,this.disposables),this.splitview.onDidSashReset(d=>{const l=a.reduce((m,v)=>m+v.weight,0),p=a[d].weight/l*this.cachedWidth;this.splitview.resizeView(d,p)},null,this.disposables),this.styleElement=(0,L.createStyleSheet)(this.domNode),this.style(k.unthemedListStyles)}updateOptions(i){this.list.updateOptions(i)}splice(i,n,t=[]){this.list.splice(i,n,t)}getHTMLElement(){return this.domNode}style(i){const n=[];n.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=n.join(` -`),this.list.style(i)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}e.Table=C,C.InstanceCount=0}),define(ne[153],se([1,0,83,26,6,411]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=e.unthemedToggleStyles=void 0,e.unthemedToggleStyles={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class D extends L.Widget{constructor(f){super(),this._onChange=this._register(new y.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new y.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=f,this._checked=this._opts.isChecked;const _=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,_.push(...k.ThemeIcon.asClassNameArray(this._icon))),this._opts.actionClassName&&_.push(...this._opts.actionClassName.split(" ")),this._checked&&_.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(..._),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,g=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),g.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,g=>{if(g.keyCode===10||g.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),g.preventDefault(),g.stopPropagation();return}this._onKeyDown.fire(g)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(f){this._checked=f,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 2+2+2+16}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}e.Toggle=D}),define(ne[312],se([1,0,153,25,553]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RegexToggle=e.WholeWordsToggle=e.CaseSensitiveToggle=void 0;const D=y.localize(0,null),S=y.localize(1,null),f=y.localize(2,null);class _ extends L.Toggle{constructor(i){super({icon:k.Codicon.caseSensitive,title:D+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.CaseSensitiveToggle=_;class g extends L.Toggle{constructor(i){super({icon:k.Codicon.wholeWord,title:S+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.WholeWordsToggle=g;class C extends L.Toggle{constructor(i){super({icon:k.Codicon.regex,title:f+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.RegexToggle=C}),define(ne[45],se([1,0,220,54,92,17,11,22]),function(Q,e,L,k,y,D,S,f){"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 _(s){return(0,f.uriToFsPath)(s,!0)}e.originalFSPath=_;class g{constructor(i){this._ignorePathCasing=i}compare(i,n,t=!1){return i===n?0:(0,S.compare)(this.getComparisonKey(i,t),this.getComparisonKey(n,t))}isEqual(i,n,t=!1){return i===n?!0:!i||!n?!1:this.getComparisonKey(i,t)===this.getComparisonKey(n,t)}getComparisonKey(i,n=!1){return i.with({path:this._ignorePathCasing(i)?i.path.toLowerCase():void 0,fragment:n?null:void 0}).toString()}isEqualOrParent(i,n,t=!1){if(i.scheme===n.scheme){if(i.scheme===k.Schemas.file)return L.isEqualOrParent(_(i),_(n),this._ignorePathCasing(i))&&i.query===n.query&&(t||i.fragment===n.fragment);if((0,e.isEqualAuthority)(i.authority,n.authority))return L.isEqualOrParent(i.path,n.path,this._ignorePathCasing(i),"/")&&i.query===n.query&&(t||i.fragment===n.fragment)}return!1}joinPath(i,...n){return f.URI.joinPath(i,...n)}basenameOrAuthority(i){return(0,e.basename)(i)||i.authority}basename(i){return y.posix.basename(i.path)}extname(i){return y.posix.extname(i.path)}dirname(i){if(i.path.length===0)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.dirname(_(i))).path:(n=y.posix.dirname(i.path),i.authority&&n.length&&n.charCodeAt(0)!==47&&(console.error(`dirname("${i.toString})) resulted in a relative path`),n="/")),i.with({path:n})}normalizePath(i){if(!i.path.length)return i;let n;return i.scheme===k.Schemas.file?n=f.URI.file(y.normalize(_(i))).path:n=y.posix.normalize(i.path),i.with({path:n})}relativePath(i,n){if(i.scheme!==n.scheme||!(0,e.isEqualAuthority)(i.authority,n.authority))return;if(i.scheme===k.Schemas.file){const u=y.relative(_(i),_(n));return D.isWindows?L.toSlashes(u):u}let t=i.path||"/";const a=n.path||"/";if(this._ignorePathCasing(i)){let u=0;for(const h=Math.min(t.length,a.length);uL.getRoot(t).length&&t[t.length-1]===n}else{const t=i.path;return t.length>1&&t.charCodeAt(t.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(i.fsPath)}}removeTrailingPathSeparator(i,n=y.sep){return(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path.substr(0,i.path.length-1)}):i}addTrailingPathSeparator(i,n=y.sep){let t=!1;if(i.scheme===k.Schemas.file){const a=_(i);t=a!==void 0&&a.length===L.getRoot(a).length&&a[a.length-1]===n}else{n="/";const a=i.path;t=a.length===1&&a.charCodeAt(a.length-1)===47}return!t&&!(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path+"/"}):i}}e.ExtUri=g,e.extUri=new g(()=>!1),e.extUriBiasedIgnorePathCase=new g(s=>s.scheme===k.Schemas.file?!D.isLinux:!0),e.extUriIgnorePathCase=new g(s=>!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 C;(function(s){s.META_DATA_LABEL="label",s.META_DATA_DESCRIPTION="description",s.META_DATA_SIZE="size",s.META_DATA_MIME="mime";function i(n){const t=new Map;n.path.substring(n.path.indexOf(";")+1,n.path.lastIndexOf(";")).split(";").forEach(h=>{const[r,c]=h.split(":");r&&c&&t.set(r,c)});const u=n.path.substring(0,n.path.indexOf(";"));return u&&t.set(s.META_DATA_MIME,u),t}s.parseMetaData=i})(C||(e.DataUri=C={}))}),define(ne[55],se([1,0,9,120,45,11,22]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseHrefAndDimensions=e.removeMarkdownEscapes=e.escapeDoubleQuotes=e.escapeMarkdownSyntaxTokens=e.markdownStringEqual=e.isMarkdownString=e.isEmptyMarkdownString=e.MarkdownString=void 0;class f{constructor(u="",h=!1){var r,c,o;if(this.value=u,typeof this.value!="string")throw(0,L.illegalArgument)("value");typeof h=="boolean"?(this.isTrusted=h,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(r=h.isTrusted)!==null&&r!==void 0?r:void 0,this.supportThemeIcons=(c=h.supportThemeIcons)!==null&&c!==void 0?c:!1,this.supportHtml=(o=h.supportHtml)!==null&&o!==void 0?o:!1)}appendText(u,h=0){return this.value+=s(this.supportThemeIcons?(0,k.escapeIcons)(u):u).replace(/([ \t]+)/g,(r,c)=>" ".repeat(c.length)).replace(/\>/gm,"\\>").replace(/\n/g,h===1?`\\ -`:` - -`),this}appendMarkdown(u){return this.value+=u,this}appendCodeblock(u,h){return this.value+="\n```",this.value+=u,this.value+=` -`,this.value+=h,this.value+="\n```\n",this}appendLink(u,h,r){return this.value+="[",this.value+=this._escape(h,"]"),this.value+="](",this.value+=this._escape(String(u),")"),r&&(this.value+=` "${this._escape(this._escape(r,'"'),")")}"`),this.value+=")",this}_escape(u,h){const r=new RegExp((0,D.escapeRegExpCharacters)(h),"g");return u.replace(r,(c,o)=>u.charAt(o-1)!=="\\"?`\\${c}`:c)}}e.MarkdownString=f;function _(a){return g(a)?!a.value:Array.isArray(a)?a.every(_):!0}e.isEmptyMarkdownString=_;function g(a){return a instanceof f?!0:a&&typeof a=="object"?typeof a.value=="string"&&(typeof a.isTrusted=="boolean"||typeof a.isTrusted=="object"||a.isTrusted===void 0)&&(typeof a.supportThemeIcons=="boolean"||a.supportThemeIcons===void 0):!1}e.isMarkdownString=g;function C(a,u){return a===u?!0:!a||!u?!1:a.value===u.value&&a.isTrusted===u.isTrusted&&a.supportThemeIcons===u.supportThemeIcons&&a.supportHtml===u.supportHtml&&(a.baseUri===u.baseUri||!!a.baseUri&&!!u.baseUri&&(0,y.isEqual)(S.URI.from(a.baseUri),S.URI.from(u.baseUri)))}e.markdownStringEqual=C;function s(a){return a.replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=s;function i(a){return a.replace(/"/g,""")}e.escapeDoubleQuotes=i;function n(a){return a&&a.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1")}e.removeMarkdownEscapes=n;function t(a){const u=[],h=a.split("|").map(c=>c.trim());a=h[0];const r=h[1];if(r){const c=/height=(\d+)/.exec(r),o=/width=(\d+)/.exec(r),d=c?c[1]:"",l=o?o[1]:"",p=isFinite(parseInt(l)),m=isFinite(parseInt(d));p&&u.push(`width="${l}"`),m&&u.push(`height="${d}"`)}return{href:a,dimensions:u}}e.parseHrefAndDimensions=t}),define(ne[183],se([1,0,7,304,81,305,44,60,129,9,6,55,120,164,100,2,386,221,54,47,45,11,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fillInIncompleteTokens=e.renderMarkdownAsPlaintext=e.renderStringAsPlaintext=e.allowedMarkdownAttr=e.renderMarkdown=void 0;const p=Object.freeze({image:(X,H,B)=>{let V=[],Y=[];return X&&({href:X,dimensions:V}=(0,s.parseHrefAndDimensions)(X),Y.push(`src="${(0,s.escapeDoubleQuotes)(X)}"`)),B&&Y.push(`alt="${(0,s.escapeDoubleQuotes)(B)}"`),H&&Y.push(`title="${(0,s.escapeDoubleQuotes)(H)}"`),V.length&&(Y=Y.concat(V)),""},paragraph:X=>`

    ${X}

    `,link:(X,H,B)=>typeof X!="string"?"":(X===B&&(B=(0,s.removeMarkdownEscapes)(B)),H=typeof H=="string"?(0,s.escapeDoubleQuotes)((0,s.removeMarkdownEscapes)(H)):"",X=(0,s.removeMarkdownEscapes)(X),X=X.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${B}`)});function m(X,H={},B={}){var V,Y;const ie=new a.DisposableStore;let ae=!1;const ce=(0,D.createElement)(H),de=function(oe){let ge;try{ge=(0,h.parse)(decodeURIComponent(oe))}catch{}return ge?(ge=(0,c.cloneAndChange)(ge,ve=>{if(X.uris&&X.uris[ve])return l.URI.revive(X.uris[ve])}),encodeURIComponent(JSON.stringify(ge))):oe},he=function(oe,ge){const ve=X.uris&&X.uris[oe];let Se=l.URI.revive(ve);return ge?oe.startsWith(r.Schemas.data+":")?oe:(Se||(Se=l.URI.parse(oe)),r.FileAccess.uriToBrowserUri(Se).toString(!0)):!Se||l.URI.parse(oe).toString()===Se.toString()?oe:(Se.query&&(Se=Se.with({query:de(Se.query)})),Se.toString())},ue=new u.marked.Renderer;ue.image=p.image,ue.link=p.link,ue.paragraph=p.paragraph;const te=[],q=[];if(H.codeBlockRendererSync?ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRendererSync(v(ge),oe);return q.push([ve,Se]),`
    ${(0,d.escape)(oe)}
    `}:H.codeBlockRenderer&&(ue.code=(oe,ge)=>{const ve=n.defaultGenerator.nextId(),Se=H.codeBlockRenderer(v(ge),oe);return te.push(Se.then(Le=>[ve,Le])),`
    ${(0,d.escape)(oe)}
    `}),H.actionHandler){const oe=function(Se){let Le=Se.target;if(!(Le.tagName!=="A"&&(Le=Le.parentElement,!Le||Le.tagName!=="A")))try{let De=Le.dataset.href;De&&(X.baseUri&&(De=b(l.URI.from(X.baseUri),De)),H.actionHandler.callback(De,Se))}catch(De){(0,g.onUnexpectedError)(De)}finally{Se.preventDefault()}},ge=H.actionHandler.disposables.add(new y.DomEmitter(ce,"click")),ve=H.actionHandler.disposables.add(new y.DomEmitter(ce,"auxclick"));H.actionHandler.disposables.add(C.Event.any(ge.event,ve.event)(Se=>{const Le=new f.StandardMouseEvent(Se);!Le.leftButton&&!Le.middleButton||oe(Le)})),H.actionHandler.disposables.add(L.addDisposableListener(ce,"keydown",Se=>{const Le=new S.StandardKeyboardEvent(Se);!Le.equals(10)&&!Le.equals(3)||oe(Le)}))}X.supportHtml||(B.sanitizer=oe=>(X.isTrusted?oe.match(/^(]+>)|(<\/\s*span>)$/):void 0)?oe:"",B.sanitize=!0,B.silent=!0),B.renderer=ue;let z=(V=X.value)!==null&&V!==void 0?V:"";z.length>1e5&&(z=`${z.substr(0,1e5)}\u2026`),X.supportThemeIcons&&(z=(0,i.markdownEscapeEscapedIcons)(z));let ee;if(H.fillInIncompleteTokens){const oe=Object.assign(Object.assign({},u.marked.defaults),B),ge=u.marked.lexer(z,oe),ve=N(ge);ee=u.marked.parser(ve,oe)}else ee=u.marked.parse(z,B);X.supportThemeIcons&&(ee=(0,_.renderLabelWithIcons)(ee).map(ge=>typeof ge=="string"?ge:ge.outerHTML).join(""));const re=new DOMParser().parseFromString(w(X,ee),"text/html");if(re.body.querySelectorAll("img").forEach(oe=>{const ge=oe.getAttribute("src");if(ge){let ve=ge;try{X.baseUri&&(ve=b(l.URI.from(X.baseUri),ve))}catch{}oe.src=he(ve,!0)}}),re.body.querySelectorAll("a").forEach(oe=>{const ge=oe.getAttribute("href");if(oe.setAttribute("href",""),!ge||/^data:|javascript:/i.test(ge)||/^command:/i.test(ge)&&!X.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(ge))oe.replaceWith(...oe.childNodes);else{let ve=he(ge,!1);X.baseUri&&(ve=b(l.URI.from(X.baseUri),ge)),oe.dataset.href=ve}}),ce.innerHTML=w(X,re.body.innerHTML),te.length>0)Promise.all(te).then(oe=>{var ge,ve;if(ae)return;const Se=new Map(oe),Le=ce.querySelectorAll("div[data-code]");for(const De of Le){const ye=Se.get((ge=De.dataset.code)!==null&&ge!==void 0?ge:"");ye&&L.reset(De,ye)}(ve=H.asyncRenderCallback)===null||ve===void 0||ve.call(H)});else if(q.length>0){const oe=new Map(q),ge=ce.querySelectorAll("div[data-code]");for(const ve of ge){const Se=oe.get((Y=ve.dataset.code)!==null&&Y!==void 0?Y:"");Se&&L.reset(ve,Se)}}if(H.asyncRenderCallback)for(const oe of ce.getElementsByTagName("img")){const ge=ie.add(L.addDisposableListener(oe,"load",()=>{ge.dispose(),H.asyncRenderCallback()}))}return{element:ce,dispose:()=>{ae=!0,ie.dispose()}}}e.renderMarkdown=m;function v(X){if(!X)return"";const H=X.split(/[\s+|:|,|\{|\?]/,1);return H.length?H[0]:X}function b(X,H){return/^\w[\w\d+.-]*:/.test(H)?H:X.path.endsWith("/")?(0,o.resolvePath)(X,H).toString():(0,o.resolvePath)((0,o.dirname)(X),H).toString()}function w(X,H){const{config:B,allowedSchemes:V}=E(X);k.addHook("uponSanitizeAttribute",(ie,ae)=>{if(ae.attrName==="style"||ae.attrName==="class"){if(ie.tagName==="SPAN"){if(ae.attrName==="style"){ae.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(ae.attrValue);return}else if(ae.attrName==="class"){ae.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(ae.attrValue);return}}ae.keepAttr=!1;return}});const Y=L.hookDomPurifyHrefAndSrcSanitizer(V);try{return k.sanitize(H,Object.assign(Object.assign({},B),{RETURN_TRUSTED_TYPE:!0}))}finally{k.removeHook("uponSanitizeAttribute"),Y.dispose()}}e.allowedMarkdownAttr=["align","autoplay","alt","class","controls","data-code","data-href","height","href","loop","muted","playsinline","poster","src","style","target","title","width","start"];function E(X){const H=[r.Schemas.http,r.Schemas.https,r.Schemas.mailto,r.Schemas.data,r.Schemas.file,r.Schemas.vscodeFileResource,r.Schemas.vscodeRemote,r.Schemas.vscodeRemoteResource];return X.isTrusted&&H.push(r.Schemas.command),{config:{ALLOWED_TAGS:[...L.basicMarkupHtmlTags],ALLOWED_ATTR:e.allowedMarkdownAttr,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:H}}function I(X){return typeof X=="string"?X:M(X)}e.renderStringAsPlaintext=I;function M(X){var H;let B=(H=X.value)!==null&&H!==void 0?H:"";B.length>1e5&&(B=`${B.substr(0,1e5)}\u2026`);const V=u.marked.parse(B,{renderer:x.value}).replace(/&(#\d+|[a-zA-Z]+);/g,Y=>{var ie;return(ie=P.get(Y))!==null&&ie!==void 0?ie:Y});return w({isTrusted:!1},V).toString()}e.renderMarkdownAsPlaintext=M;const P=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]),x=new t.Lazy(()=>{const X=new u.marked.Renderer;return X.code=H=>H,X.blockquote=H=>H,X.html=H=>"",X.heading=(H,B,V)=>H+` -`,X.hr=()=>"",X.list=(H,B)=>H,X.listitem=H=>H+` -`,X.paragraph=H=>H+` -`,X.table=(H,B)=>H+B+` -`,X.tablerow=H=>H,X.tablecell=(H,B)=>H+" ",X.strong=H=>H,X.em=H=>H,X.codespan=H=>H,X.br=()=>` -`,X.del=H=>H,X.image=(H,B,V)=>"",X.text=H=>H,X.link=(H,B,V)=>V,X});function T(X){let H="";return X.forEach(B=>{H+=B.raw}),H}function A(X){for(const H of X.tokens)if(H.type==="text"){const B=H.raw.split(` -`),V=B[B.length-1];if(V.includes("`"))return O(X);if(V.includes("**"))return K(X);if(V.match(/\*\w/))return W(X);if(V.match(/(^|\s)__\w/))return G(X);if(V.match(/(^|\s)_\w/))return U(X);if(V.match(/(^|\s)\[.*\]\(\w*/))return j(X);if(V.match(/(^|\s)\[\w/))return R(X)}}function N(X){let H,B;for(H=0;H"u"&&ae.match(/^\s*\|/)){const ce=ae.match(/(\|[^\|]+)(?=\||$)/g);ce&&(V=ce.length)}else if(typeof V=="number")if(ae.match(/^\s*\|/)){if(ie!==B.length-1)return;Y=!0}else return}if(typeof V=="number"&&V>0){const ie=Y?B.slice(0,-1).join(` -`):H,ae=!!ie.match(/\|\s*$/),ce=ie+(ae?"":"|")+` -|${" --- |".repeat(V)}`;return u.marked.lexer(ce)}}}),define(ne[313],se([1,0,7,304,44,183,61,129,38,6,55,2,394]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=e.unthemedButtonStyles=void 0,e.unthemedButtonStyles={buttonBackground:"#0E639C",buttonHoverBackground:"#006BB3",buttonSeparator:_.Color.white.toString(),buttonForeground:_.Color.white.toString(),buttonBorder:void 0,buttonSecondaryBackground:void 0,buttonSecondaryForeground:void 0,buttonSecondaryHoverBackground:void 0};class i extends s.Disposable{get onDidClick(){return this._onDidClick.event}constructor(t,a){super(),this._label="",this._onDidClick=this._register(new g.Emitter),this.options=a,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!a.secondary);const u=a.secondary?a.buttonSecondaryBackground:a.buttonBackground,h=a.secondary?a.buttonSecondaryForeground:a.buttonForeground;this._element.style.color=h||"",this._element.style.backgroundColor=u||"",a.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),t.appendChild(this._element),this._register(S.Gesture.addTarget(this._element)),[L.EventType.CLICK,S.EventType.Tap].forEach(r=>{this._register((0,L.addDisposableListener)(this._element,r,c=>{if(!this.enabled){L.EventHelper.stop(c);return}this._onDidClick.fire(c)}))}),this._register((0,L.addDisposableListener)(this._element,L.EventType.KEY_DOWN,r=>{const c=new y.StandardKeyboardEvent(r);let o=!1;this.enabled&&(c.equals(3)||c.equals(10))?(this._onDidClick.fire(r),o=!0):c.equals(9)&&(this._element.blur(),o=!0),o&&L.EventHelper.stop(c,!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OVER,r=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OUT,r=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,L.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(t){const a=[];for(let u of(0,f.renderLabelWithIcons)(t))if(typeof u=="string"){if(u=u.trim(),u==="")continue;const h=document.createElement("span");h.textContent=u,a.push(h)}else a.push(u);return a}updateBackground(t){let a;this.options.secondary?a=t?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:a=t?this.options.buttonHoverBackground:this.options.buttonBackground,a&&(this._element.style.backgroundColor=a)}get element(){return this._element}set label(t){var a;if(this._label===t||(0,C.isMarkdownString)(this._label)&&(0,C.isMarkdownString)(t)&&(0,C.markdownStringEqual)(this._label,t))return;this._element.classList.add("monaco-text-button");const u=this.options.supportShortLabel?this._labelElement:this._element;if((0,C.isMarkdownString)(t)){const h=(0,D.renderMarkdown)(t,{inline:!0});h.dispose();const r=(a=h.element.querySelector("p"))===null||a===void 0?void 0:a.innerHTML;if(r){const c=(0,k.sanitize)(r,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});u.innerHTML=c}else(0,L.reset)(u)}else this.options.supportIcons?(0,L.reset)(u,...this.getContentElements(t)):u.textContent=t;typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=(0,D.renderStringAsPlaintext)(t)),this._label=t}get label(){return this._label}set enabled(t){t?(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=i}),define(ne[314],se([1,0,7,13,19,55,120,2,20,556]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setupCustomHover=e.setupNativeHover=void 0;function C(n,t){(0,_.isString)(t)?n.title=(0,S.stripIcons)(t):t?.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")}e.setupNativeHover=C;class s{constructor(t,a,u){this.hoverDelegate=t,this.target=a,this.fadeInAnimation=u}update(t,a,u){var h;return we(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let r;if(t===void 0||(0,_.isString)(t)||t instanceof HTMLElement)r=t;else if(!(0,_.isFunction)(t.markdown))r=(h=t.markdown)!==null&&h!==void 0?h:t.markdownNotSupportedFallback;else{this._hoverWidget||this.show((0,g.localize)(0,null),a),this._cancellationTokenSource=new y.CancellationTokenSource;const c=this._cancellationTokenSource.token;if(r=yield t.markdown(c),r===void 0&&(r=t.markdownNotSupportedFallback),this.isDisposed||c.isCancellationRequested)return}this.show(r,a,u)})}show(t,a,u){const h=this._hoverWidget;if(this.hasContent(t)){const r=Object.assign({content:t,target:this.target,showPointer:this.hoverDelegate.placement==="element",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!h},u);this._hoverWidget=this.hoverDelegate.showHover(r,a)}h?.dispose()}hasContent(t){return t?(0,D.isMarkdownString)(t)?!!t.value:!0:!1}get isDisposed(){var t;return(t=this._hoverWidget)===null||t===void 0?void 0:t.isDisposed}dispose(){var t,a;(t=this._hoverWidget)===null||t===void 0||t.dispose(),(a=this._cancellationTokenSource)===null||a===void 0||a.dispose(!0),this._cancellationTokenSource=void 0}}function i(n,t,a,u){let h,r;const c=(m,v)=>{var b;const w=r!==void 0;m&&(r?.dispose(),r=void 0),v&&(h?.dispose(),h=void 0),w&&((b=n.onDidHideHover)===null||b===void 0||b.call(n))},o=(m,v,b)=>new k.TimeoutTimer(()=>we(this,void 0,void 0,function*(){(!r||r.isDisposed)&&(r=new s(n,b||t,m>0),yield r.update(a,v,u))}),m),d=()=>{if(h)return;const m=new f.DisposableStore,v=E=>c(!1,E.fromElement===t);m.add(L.addDisposableListener(t,L.EventType.MOUSE_LEAVE,v,!0));const b=()=>c(!0,!0);m.add(L.addDisposableListener(t,L.EventType.MOUSE_DOWN,b,!0));const w={targetElements:[t],dispose:()=>{}};if(n.placement===void 0||n.placement==="mouse"){const E=I=>{w.x=I.x+10,I.target instanceof HTMLElement&&I.target.classList.contains("action-label")&&c(!0,!0)};m.add(L.addDisposableListener(t,L.EventType.MOUSE_MOVE,E,!0))}m.add(o(n.delay,!1,w)),h=m},l=L.addDisposableListener(t,L.EventType.MOUSE_OVER,d,!0);return{show:m=>{c(!1,!0),o(0,m)},hide:()=>{c(!0,!0)},update:(m,v)=>we(this,void 0,void 0,function*(){a=m,yield r?.update(a,void 0,v)}),dispose:()=>{l.dispose(),c(!0,!0)}}}e.setupCustomHover=i}),define(ne[226],se([1,0,7,308,314,2,47,166,400]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IconLabel=void 0;class _{constructor(t){this._element=t}get element(){return this._element}set textContent(t){this.disposed||t===this._textContent||(this._textContent=t,this._element.textContent=t)}set className(t){this.disposed||t===this._className||(this._className=t,this._element.className=t)}set empty(t){this.disposed||t===this._empty||(this._empty=t,this._element.style.marginLeft=t?"0":"")}dispose(){this.disposed=!0}}class g extends D.Disposable{constructor(t,a){super(),this.customHovers=new Map,this.creationOptions=a,this.domNode=this._register(new _(L.append(t,L.$(".monaco-icon-label")))),this.labelContainer=L.append(this.domNode.element,L.$(".monaco-icon-label-container"));const u=L.append(this.labelContainer,L.$("span.monaco-icon-name-container"));a?.supportHighlights||a?.supportIcons?this.nameNode=new i(u,!!a.supportIcons):this.nameNode=new C(u),this.hoverDelegate=a?.hoverDelegate}get element(){return this.domNode.element}setLabel(t,a,u){const h=["monaco-icon-label"],r=["monaco-icon-label-container"];let c="";if(u&&(u.extraClasses&&h.push(...u.extraClasses),u.italic&&h.push("italic"),u.strikethrough&&h.push("strikethrough"),u.disabledCommand&&r.push("disabled"),u.title&&(c+=u.title)),this.domNode.className=h.join(" "),this.domNode.element.setAttribute("aria-label",c),this.labelContainer.className=r.join(" "),this.setupHover(u?.descriptionTitle?this.labelContainer:this.element,u?.title),this.nameNode.setLabel(t,u),a||this.descriptionNode){const o=this.getOrCreateDescriptionNode();o instanceof k.HighlightedLabel?(o.set(a||"",u?u.descriptionMatches:void 0,void 0,u?.labelEscapeNewLines),this.setupHover(o.element,u?.descriptionTitle)):(o.textContent=a&&u?.labelEscapeNewLines?k.HighlightedLabel.escapeNewLines(a,[]):a||"",this.setupHover(o.element,u?.descriptionTitle||""),o.empty=!a)}}setupHover(t,a){const u=this.customHovers.get(t);if(u&&(u.dispose(),this.customHovers.delete(t)),!a){t.removeAttribute("title");return}if(!this.hoverDelegate)(0,y.setupNativeHover)(t,a);else{const h=(0,y.setupCustomHover)(this.hoverDelegate,t,a);h&&this.customHovers.set(t,h)}}dispose(){super.dispose();for(const t of this.customHovers.values())t.dispose();this.customHovers.clear()}getOrCreateDescriptionNode(){var t;if(!this.descriptionNode){const a=this._register(new _(L.append(this.labelContainer,L.$("span.monaco-icon-description-container"))));!((t=this.creationOptions)===null||t===void 0)&&t.supportDescriptionHighlights?this.descriptionNode=new k.HighlightedLabel(L.append(a.element,L.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons}):this.descriptionNode=this._register(new _(L.append(a.element,L.$("span.label-description"))))}return this.descriptionNode}}e.IconLabel=g;class C{constructor(t){this.container=t,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=L.append(this.container,L.$("a.label-name",{id:a?.domId}))),this.singleLabel.textContent=t;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let u=0;u{const r={start:u,end:u+h.length},c=a.map(o=>f.Range.intersect(r,o)).filter(o=>!f.Range.isEmpty(o)).map(({start:o,end:d})=>({start:o-u,end:d-u}));return u=r.end+t.length,c})}class i{constructor(t,a){this.container=t,this.supportIcons=a,this.label=void 0,this.singleLabel=void 0}setLabel(t,a){if(!(this.label===t&&(0,S.equals)(this.options,a)))if(this.label=t,this.options=a,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new k.HighlightedLabel(L.append(this.container,L.$("a.label-name",{id:a?.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(t,a?.matches,void 0,a?.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const u=a?.separator||"/",h=s(t,u,a?.matches);for(let r=0;r{L.EventHelper.stop(d,!0)}))}registerListeners(){this._register(L.addStandardDisposableListener(this.selectElement,"change",c=>{this.selected=c.target.selectedIndex,this._onDidSelect.fire({index:c.target.selectedIndex,selected:c.target.value}),this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)})),this._register(L.addDisposableListener(this.selectElement,L.EventType.CLICK,c=>{L.EventHelper.stop(c),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.MOUSE_DOWN,c=>{L.EventHelper.stop(c)}));let r;this._register(L.addDisposableListener(this.selectElement,"touchstart",c=>{r=this._isVisible})),this._register(L.addDisposableListener(this.selectElement,"touchend",c=>{L.EventHelper.stop(c),r?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.KEY_DOWN,c=>{const o=new y.StandardKeyboardEvent(c);let d=!1;s.isMacintosh?(o.keyCode===18||o.keyCode===16||o.keyCode===10||o.keyCode===3)&&(d=!0):(o.keyCode===18&&o.altKey||o.keyCode===16&&o.altKey||o.keyCode===10||o.keyCode===3)&&(d=!0),d&&(this.showSelectDropDown(),L.EventHelper.stop(c,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(r,c){f.equals(this.options,r)||(this.options=r,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((o,d)=>{this.selectElement.add(this.createOption(o.text,d,o.isDisabled)),typeof o.description=="string"&&(this._hasDetails=!0)})),c!==void 0&&(this.select(c),this._currentSelection=this.selected)}setOptionsList(){var r;(r=this.selectList)===null||r===void 0||r.splice(0,this.selectList.length,this.options)}select(r){r>=0&&rthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(r){this.selectElement.tabIndex=r?0:-1}render(r){this.container=r,r.classList.add("select-container"),r.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){const r=[];this.styles.listFocusBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(r.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),r.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&r.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),r.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=r.join(` -`)}styleSelectElement(){var r,c,o;const d=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",l=(c=this.styles.selectForeground)!==null&&c!==void 0?c:"",p=(o=this.styles.selectBorder)!==null&&o!==void 0?o:"";this.selectElement.style.backgroundColor=d,this.selectElement.style.color=l,this.selectElement.style.borderColor=p}styleList(){var r,c;const o=(r=this.styles.selectBackground)!==null&&r!==void 0?r:"",d=L.asCssValueWithDefault(this.styles.selectListBackground,o);this.selectDropDownListContainer.style.backgroundColor=d,this.selectionDetailsPane.style.backgroundColor=d;const l=(c=this.styles.focusBorder)!==null&&c!==void 0?c:"";this.selectDropDownContainer.style.outlineColor=l,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(r,c,o){const d=document.createElement("option");return d.value=r,d.text=r,d.disabled=!!o,d}showSelectDropDown(){this.selectionDetailsPane.innerText="",!(!this.contextViewProvider||this._isVisible)&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:r=>this.renderSelectDropDown(r),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(r){!this.contextViewProvider||!this._isVisible||(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),r&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(r,c){return r.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(c),{dispose:()=>{try{r.removeChild(this.selectDropDownContainer)}catch{}}}}measureMaxDetailsHeight(){let r=0;return this.options.forEach((c,o)=>{this.updateDetail(o),this.selectionDetailsPane.offsetHeight>r&&(r=this.selectionDetailsPane.offsetHeight)}),r}layoutSelectDropDown(r){if(this._skipLayout)return!1;if(this.selectList){this.selectDropDownContainer.classList.add("visible");const c=L.getDomNodePagePosition(this.selectElement),o=getComputedStyle(this.selectElement),d=parseFloat(o.getPropertyValue("--dropdown-padding-top"))+parseFloat(o.getPropertyValue("--dropdown-padding-bottom")),l=window.innerHeight-c.top-c.height-(this.selectBoxOptions.minBottomMargin||0),p=c.top-u.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,m=this.selectElement.offsetWidth,v=this.setWidthControlElement(this.widthControlElement),b=Math.max(v,Math.round(m)).toString()+"px";this.selectDropDownContainer.style.width=b,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let w=this.selectList.contentHeight;this._hasDetails&&this._cachedMaxDetailsHeight===void 0&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());const E=this._hasDetails?this._cachedMaxDetailsHeight:0,I=w+d+E,M=Math.floor((l-d-E)/this.getHeight()),P=Math.floor((p-d-E)/this.getHeight());if(r)return c.top+c.height>window.innerHeight-22||c.topM&&this.options.length>M?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(c.top+c.height>window.innerHeight-22||c.topl&&(w=M*this.getHeight())}else I>p&&(w=P*this.getHeight());return this.selectList.layout(w),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=w+d+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=w+d+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=b,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}else return!1}setWidthControlElement(r){let c=0;if(r){let o=0,d=0;this.options.forEach((l,p)=>{const m=l.detail?l.detail.length:0,v=l.decoratorRight?l.decoratorRight.length:0,b=l.text.length+m+v;b>d&&(o=p,d=b)}),r.textContent=this.options[o].text+(this.options[o].decoratorRight?this.options[o].decoratorRight+" ":""),c=L.getTotalWidth(r)}return c}createSelectList(r){if(this.selectList)return;this.selectDropDownListContainer=L.append(r,n(".select-box-dropdown-list-container")),this.listRenderer=new a,this.selectList=new S.List("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:d=>{let l=d.text;return d.detail&&(l+=`. ${d.detail}`),d.decoratorRight&&(l+=`. ${d.decoratorRight}`),d.description&&(l+=`. ${d.description}`),l},getWidgetAriaLabel:()=>(0,i.localize)(0,null),getRole:()=>s.isMacintosh?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);const c=this._register(new k.DomEmitter(this.selectDropDownListContainer,"keydown")),o=_.Event.chain(c.event).filter(()=>this.selectList.length>0).map(d=>new y.StandardKeyboardEvent(d));this._register(o.filter(d=>d.keyCode===3).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===2).on(d=>this.onEnter(d),this)),this._register(o.filter(d=>d.keyCode===9).on(d=>this.onEscape(d),this)),this._register(o.filter(d=>d.keyCode===16).on(d=>this.onUpArrow(d),this)),this._register(o.filter(d=>d.keyCode===18).on(d=>this.onDownArrow(d),this)),this._register(o.filter(d=>d.keyCode===12).on(this.onPageDown,this)),this._register(o.filter(d=>d.keyCode===11).on(this.onPageUp,this)),this._register(o.filter(d=>d.keyCode===14).on(this.onHome,this)),this._register(o.filter(d=>d.keyCode===13).on(this.onEnd,this)),this._register(o.filter(d=>d.keyCode>=21&&d.keyCode<=56||d.keyCode>=85&&d.keyCode<=113).on(this.onCharacter,this)),this._register(L.addDisposableListener(this.selectList.getHTMLElement(),L.EventType.POINTER_UP,d=>this.onPointerUp(d))),this._register(this.selectList.onMouseOver(d=>typeof d.index<"u"&&this.selectList.setFocus([d.index]))),this._register(this.selectList.onDidChangeFocus(d=>this.onListFocus(d))),this._register(L.addDisposableListener(this.selectDropDownContainer,L.EventType.FOCUS_OUT,d=>{!this._isVisible||L.isAncestor(d.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(r){if(!this.selectList.length)return;L.EventHelper.stop(r);const c=r.target;if(!c||c.classList.contains("slider"))return;const o=c.closest(".monaco-list-row");if(!o)return;const d=Number(o.getAttribute("data-index")),l=o.classList.contains("option-disabled");d>=0&&d{for(let p=0;pthis.selected+2)this.selected+=2;else{if(c)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(r){this.selected>0&&(L.EventHelper.stop(r,!0),this.options[this.selected-1].isDisabled&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]))}onPageUp(r){L.EventHelper.stop(r),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(r){L.EventHelper.stop(r),!(this.options.length<2)&&(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(r){const c=g.KeyCodeUtils.toString(r.keyCode);let o=-1;for(let d=0;d{this.element&&this.handleActionChangeEvent(o)}))}handleActionChangeEvent(h){h.enabled!==void 0&&this.updateEnabled(),h.checked!==void 0&&this.updateChecked(),h.class!==void 0&&this.updateClass(),h.label!==void 0&&(this.updateLabel(),this.updateTooltip()),h.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new _.ActionRunner)),this._actionRunner}set actionRunner(h){this._actionRunner=h}isEnabled(){return this._action.enabled}setActionContext(h){this._context=h}render(h){const r=this.element=h;this._register(D.Gesture.addTarget(h));const c=this.options&&this.options.draggable;c&&(h.draggable=!0,L.isFirefox&&this._register((0,y.addDisposableListener)(h,y.EventType.DRAG_START,o=>{var d;return(d=o.dataTransfer)===null||d===void 0?void 0:d.setData(k.DataTransfers.TEXT,this._action.label)}))),this._register((0,y.addDisposableListener)(r,D.EventType.Tap,o=>this.onClick(o,!0))),this._register((0,y.addDisposableListener)(r,y.EventType.MOUSE_DOWN,o=>{c||y.EventHelper.stop(o,!0),this._action.enabled&&o.button===0&&r.classList.add("active")})),C.isMacintosh&&this._register((0,y.addDisposableListener)(r,y.EventType.CONTEXT_MENU,o=>{o.button===0&&o.ctrlKey===!0&&this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.CLICK,o=>{y.EventHelper.stop(o,!0),this.options&&this.options.isMenu||this.onClick(o)})),this._register((0,y.addDisposableListener)(r,y.EventType.DBLCLICK,o=>{y.EventHelper.stop(o,!0)})),[y.EventType.MOUSE_UP,y.EventType.MOUSE_OUT].forEach(o=>{this._register((0,y.addDisposableListener)(r,o,d=>{y.EventHelper.stop(d),r.classList.remove("active")}))})}onClick(h,r=!1){var c;y.EventHelper.stop(h,!0);const o=s.isUndefinedOrNull(this._context)?!((c=this.options)===null||c===void 0)&&c.useEventAsContext?h:{preserveFocus:r}:this._context;this.actionRunner.run(this._action,o)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(h){this.element&&(this.element.tabIndex=h?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.action.tooltip}updateTooltip(){var h;if(!this.element)return;const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.updateAriaLabel(),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(r):(this.customHover=(0,S.setupCustomHover)(this.options.hoverDelegate,this.element,r),this._store.add(this.customHover))):this.element.title=r}updateAriaLabel(){var h;if(this.element){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.element.setAttribute("aria-label",r)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}e.BaseActionViewItem=n;class t extends n{constructor(h,r,c){super(h,r,c),this.options=c,this.options.icon=c.icon!==void 0?c.icon:!1,this.options.label=c.label!==void 0?c.label:!0,this.cssClass=""}render(h){super.render(h),this.element&&(this.label=(0,y.append)(this.element,(0,y.$)("a.action-label"))),this.label&&this.label.setAttribute("role",this.getDefaultAriaRole()),this.options.label&&this.options.keybinding&&this.element&&((0,y.append)(this.element,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===_.Separator.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(h){this.label&&(this.label.tabIndex=h?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let h=null;return this.action.tooltip?h=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(h=this.action.label,this.options.keybinding&&(h=i.localize(0,null,h,this.options.keybinding))),h??void 0}updateClass(){var h;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.action.class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):(h=this.label)===null||h===void 0||h.classList.remove("codicon")}updateEnabled(){var h,r;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),(h=this.element)===null||h===void 0||h.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),(r=this.element)===null||r===void 0||r.classList.add("disabled"))}updateAriaLabel(){var h;if(this.label){const r=(h=this.getTooltip())!==null&&h!==void 0?h:"";this.label.setAttribute("aria-label",r)}}updateChecked(){this.label&&(this.action.checked!==void 0?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.setAttribute("aria-checked",""),this.label.setAttribute("role",this.getDefaultAriaRole())))}}e.ActionViewItem=t;class a extends n{constructor(h,r,c,o,d,l,p){super(h,r),this.selectBox=new f.SelectBox(c,o,d,l,p),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(h){this.selectBox.select(h)}registerListeners(){this._register(this.selectBox.onDidSelect(h=>this.runAction(h.selected,h.index)))}runAction(h,r){this.actionRunner.run(this._action,this.getActionContext(h,r))}getActionContext(h,r){return h}setFocusable(h){this.selectBox.setFocusable(h)}focus(){var h;(h=this.selectBox)===null||h===void 0||h.focus()}blur(){var h;(h=this.selectBox)===null||h===void 0||h.blur()}render(h){this.selectBox.render(h)}}e.SelectActionViewItem=a}),define(ne[68],se([1,0,7,44,131,39,6,2,20,265]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionBar=void 0;class g extends f.Disposable{constructor(s,i={}){var n,t,a,u,h,r;super(),this._actionRunnerDisposables=this._register(new f.DisposableStore),this.viewItemDisposables=this._register(new f.DisposableMap),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new S.Emitter),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new S.Emitter({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new S.Emitter),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new S.Emitter),this.onWillRun=this._onWillRun.event,this.options=i,this._context=(n=i.context)!==null&&n!==void 0?n:null,this._orientation=(t=this.options.orientation)!==null&&t!==void 0?t:0,this._triggerKeys={keyDown:(u=(a=this.options.triggerKeys)===null||a===void 0?void 0:a.keyDown)!==null&&u!==void 0?u:!1,keys:(r=(h=this.options.triggerKeys)===null||h===void 0?void 0:h.keys)!==null&&r!==void 0?r:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new D.ActionRunner,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(d=>this._onDidRun.fire(d))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(d=>this._onWillRun.fire(d))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",i.animated!==!1&&this.domNode.classList.add("animated");let c,o;switch(this._orientation){case 0:c=[15],o=[17];break;case 1:c=[16],o=[18],this.domNode.className+=" vertical";break}this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_DOWN,d=>{const l=new k.StandardKeyboardEvent(d);let p=!0;const m=typeof this.focusedItem=="number"?this.viewItems[this.focusedItem]:void 0;c&&(l.equals(c[0])||l.equals(c[1]))?p=this.focusPrevious():o&&(l.equals(o[0])||l.equals(o[1]))?p=this.focusNext():l.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():l.equals(14)?p=this.focusFirst():l.equals(13)?p=this.focusLast():l.equals(2)&&m instanceof y.BaseActionViewItem&&m.trapsArrowNavigation?p=this.focusNext():this.isTriggerKeyEvent(l)?this._triggerKeys.keyDown?this.doTrigger(l):this.triggerKeyDown=!0:p=!1,p&&(l.preventDefault(),l.stopPropagation())})),this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_UP,d=>{const l=new k.StandardKeyboardEvent(d);this.isTriggerKeyEvent(l)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(l)),l.preventDefault(),l.stopPropagation()):(l.equals(2)||l.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(L.trackFocus(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(L.getActiveElement()===this.domNode||!L.isAncestor(L.getActiveElement(),this.domNode))&&(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),s.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(s){if(this.focusable=s,this.focusable){const i=this.viewItems.find(n=>n instanceof y.BaseActionViewItem&&n.isEnabled());i instanceof y.BaseActionViewItem&&i.setFocusable(!0)}else this.viewItems.forEach(i=>{i instanceof y.BaseActionViewItem&&i.setFocusable(!1)})}isTriggerKeyEvent(s){let i=!1;return this._triggerKeys.keys.forEach(n=>{i=i||s.equals(n)}),i}updateFocusedItem(){for(let s=0;si.setActionContext(s))}get actionRunner(){return this._actionRunner}set actionRunner(s){this._actionRunner=s,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(i=>this._onDidRun.fire(i))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(i=>this._onWillRun.fire(i))),this.viewItems.forEach(i=>i.actionRunner=s)}getContainer(){return this.domNode}getAction(s){var i;if(typeof s=="number")return(i=this.viewItems[s])===null||i===void 0?void 0:i.action;if(s instanceof HTMLElement){for(;s.parentElement!==this.actionsList;){if(!s.parentElement)return;s=s.parentElement}for(let n=0;n{const u=document.createElement("li");u.className="action-item",u.setAttribute("role","presentation");let h;const r=Object.assign({hoverDelegate:this.options.hoverDelegate},i);this.options.actionViewItemProvider&&(h=this.options.actionViewItemProvider(a,r)),h||(h=new y.ActionViewItem(this.context,a,r)),this.options.allowContextMenu||this.viewItemDisposables.set(h,L.addDisposableListener(u,L.EventType.CONTEXT_MENU,c=>{L.EventHelper.stop(c,!0)})),h.actionRunner=this._actionRunner,h.setActionContext(this.context),h.render(u),this.focusable&&h instanceof y.BaseActionViewItem&&this.viewItems.length===0&&h.setFocusable(!0),t===null||t<0||t>=this.actionsList.children.length?(this.actionsList.appendChild(u),this.viewItems.push(h)):(this.actionsList.insertBefore(u,this.actionsList.children[t]),this.viewItems.splice(t,0,h),t++)}),typeof this.focusedItem=="number"&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,f.dispose)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),L.clearNode(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return this.viewItems.length===0}focus(s){let i=!1,n;if(s===void 0?i=!0:typeof s=="number"?n=s:typeof s=="boolean"&&(i=s),i&&typeof this.focusedItem>"u"){const t=this.viewItems.findIndex(a=>a.isEnabled());this.focusedItem=t===-1?void 0:t,this.updateFocus(void 0,void 0,!0)}else n!==void 0&&(this.focusedItem=n),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(s){if(typeof this.focusedItem>"u")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(!s&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(),!0}focusPrevious(s){if(typeof this.focusedItem>"u")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!s&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(!0),!0}updateFocus(s,i,n=!1){var t;typeof this.focusedItem>"u"&&this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((t=this.viewItems[this.previouslyFocusedItem])===null||t===void 0||t.blur());const a=this.focusedItem!==void 0&&this.viewItems[this.focusedItem];if(a){let u=!0;_.isFunction(a.focus)||(u=!1),this.options.focusOnlyEnabledItems&&_.isFunction(a.isEnabled)&&!a.isEnabled()&&(u=!1),a.action.id===D.Separator.ID&&(u=!1),u?(n||this.previouslyFocusedItem!==this.focusedItem)&&(a.focus(s),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem=void 0)}}doTrigger(s){if(typeof this.focusedItem>"u")return;const i=this.viewItems[this.focusedItem];if(i instanceof y.BaseActionViewItem){const n=i._context===null||i._context===void 0?s:i._context;this.run(i._action,n)}}run(s,i){return we(this,void 0,void 0,function*(){yield this._actionRunner.run(s,i)})}dispose(){this._context=void 0,this.viewItems=(0,f.dispose)(this.viewItems),this.getContainer().remove(),super.dispose()}}e.ActionBar=g}),define(ne[315],se([1,0,7,131,572,6,266]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenuActionViewItem=void 0;class S extends k.BaseActionViewItem{constructor(_,g,C,s=Object.create(null)){super(null,_,s),this.actionItem=null,this._onDidChangeVisibility=this._register(new D.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=g,this.contextMenuProvider=C,this.options=s,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(_){this.actionItem=_;const g=i=>{this.element=(0,L.append)(i,(0,L.$)("a.action-label"));let n=[];return typeof this.options.classNames=="string"?n=this.options.classNames.split(/\s+/g).filter(t=>!!t):this.options.classNames&&(n=this.options.classNames),n.find(t=>t==="icon")||n.push("codicon"),this.element.classList.add(...n),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",this.element.ariaLabel=this._action.label||"",null},C=Array.isArray(this.menuActionsOrProvider),s={contextMenuProvider:this.contextMenuProvider,labelRenderer:g,menuAsChild:this.options.menuAsChild,actions:C?this.menuActionsOrProvider:void 0,actionProvider:C?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new y.DropdownMenu(_,s)),this._register(this.dropdownMenu.onDidChangeVisibility(i=>{var n;(n=this.element)===null||n===void 0||n.setAttribute("aria-expanded",`${i}`),this._onDidChangeVisibility.fire(i)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const i=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return i.options.anchorAlignmentProvider()}})}this.updateTooltip(),this.updateEnabled()}getTooltip(){let _=null;return this.action.tooltip?_=this.action.tooltip:this.action.label&&(_=this.action.label),_??void 0}setActionContext(_){super.setActionContext(_),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=_:this.dropdownMenu.menuOptions={context:_})}show(){var _;(_=this.dropdownMenu)===null||_===void 0||_.show()}updateEnabled(){var _,g;const C=!this.action.enabled;(_=this.actionItem)===null||_===void 0||_.classList.toggle("disabled",C),(g=this.element)===null||g===void 0||g.classList.toggle("disabled",C)}}e.DropdownMenuActionViewItem=S}),define(ne[227],se([1,0,7,81,305,68,49,75,83,6,388,47,557,401]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryInputBox=e.InputBox=e.unthemedInboxStyles=void 0;const n=L.$;e.unthemedInboxStyles={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class t extends _.Widget{constructor(h,r,c){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new g.Emitter),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new g.Emitter),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=r,this.options=c,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=(o=this.options.tooltip)!==null&&o!==void 0?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=L.append(h,n(".monaco-inputbox.idle"));const d=this.options.flexibleHeight?"textarea":"input",l=L.append(this.element,n(".ibwrapper"));if(this.input=L.append(l,n(d+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight=="number"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=L.append(l,n("div.mirror")),this.mirror.innerText="\xA0",this.scrollableElement=new f.ScrollableElement(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),L.append(h,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(v=>this.input.scrollTop=v.scrollTop));const p=this._register(new k.DomEmitter(document,"selectionchange")),m=g.Event.filter(p.event,()=>{const v=document.getSelection();return v?.anchorNode===l});this._register(m(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new D.ActionBar(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(h){this.placeholder=h,this.input.setAttribute("placeholder",h)}setTooltip(h){this.tooltip=h,this.input.title=h}get inputElement(){return this.input}get value(){return this.input.value}set value(h){this.input.value!==h&&(this.input.value=h,this.onValueChange())}get height(){return typeof this.cachedHeight=="number"?this.cachedHeight:L.getTotalHeight(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(h=null){this.input.select(),h&&(this.input.setSelectionRange(h.start,h.end),h.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(h){this.input.style.width=`calc(100% - ${h}px)`,this.mirror&&(this.mirror.style.paddingRight=h+"px")}updateScrollDimensions(){if(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)return;const h=this.cachedContentHeight,r=this.cachedHeight,c=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:h,height:r}),this.scrollableElement.setScrollPosition({scrollTop:c})}showMessage(h,r){if(this.state==="open"&&(0,s.equals)(this.message,h))return;this.message=h,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(h.type));const c=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${L.asCssValueWithDefault(c.border,"transparent")}`,this.message.content&&(this.hasFocus()||r)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let h=null;return this.validation&&(h=this.validation(this.value),h?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(h)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),h?.type}stylesForType(h){const r=this.options.inputBoxStyles;switch(h){case 1:return{border:r.inputValidationInfoBorder,background:r.inputValidationInfoBackground,foreground:r.inputValidationInfoForeground};case 2:return{border:r.inputValidationWarningBorder,background:r.inputValidationWarningBackground,foreground:r.inputValidationWarningForeground};default:return{border:r.inputValidationErrorBorder,background:r.inputValidationErrorBackground,foreground:r.inputValidationErrorForeground}}}classForType(h){switch(h){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let h;const r=()=>h.style.width=L.getTotalWidth(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:o=>{var d,l;if(!this.message)return null;h=L.append(o,n(".monaco-inputbox-container")),r();const p={inline:!0,className:"monaco-inputbox-message"},m=this.message.formatContent?(0,y.renderFormattedText)(this.message.content,p):(0,y.renderText)(this.message.content,p);m.classList.add(this.classForType(this.message.type));const v=this.stylesForType(this.message.type);return m.style.backgroundColor=(d=v.background)!==null&&d!==void 0?d:"",m.style.color=(l=v.foreground)!==null&&l!==void 0?l:"",m.style.border=v.border?`1px solid ${v.border}`:"",L.append(h,m),null},onHide:()=>{this.state="closed"},layout:r});let c;this.message.type===3?c=i.localize(0,null,this.message.content):this.message.type===2?c=i.localize(1,null,this.message.content):c=i.localize(2,null,this.message.content),S.alert(c),this.state="open"}_hideMessage(){this.contextViewProvider&&(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const h=this.value,c=h.charCodeAt(h.length-1)===10?" ":"";(h+c).replace(/\u000c/g,"")?this.mirror.textContent=h+c:this.mirror.innerText="\xA0",this.layout()}applyStyles(){var h,r,c;const o=this.options.inputBoxStyles,d=(h=o.inputBackground)!==null&&h!==void 0?h:"",l=(r=o.inputForeground)!==null&&r!==void 0?r:"",p=(c=o.inputBorder)!==null&&c!==void 0?c:"";this.element.style.backgroundColor=d,this.element.style.color=l,this.input.style.backgroundColor="inherit",this.input.style.color=l,this.element.style.border=`1px solid ${L.asCssValueWithDefault(p,"transparent")}`}layout(){if(!this.mirror)return;const h=this.cachedContentHeight;this.cachedContentHeight=L.getTotalHeight(this.mirror),h!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(h){const r=this.inputElement,c=r.selectionStart,o=r.selectionEnd,d=r.value;c!==null&&o!==null&&(this.value=d.substr(0,c)+h+d.substr(o),r.setSelectionRange(c+1,c+1),this.layout())}dispose(){var h;this._hideMessage(),this.message=null,(h=this.actionbar)===null||h===void 0||h.dispose(),super.dispose()}}e.InputBox=t;class a extends t{constructor(h,r,c){const o=i.localize(3,null),d=` or \u21C5 ${o}`,l=` (\u21C5 ${o})`;super(h,r,c),this._onDidFocus=this._register(new g.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Emitter),this.onDidBlur=this._onDidBlur.event,this.history=new C.HistoryNavigator(c.history,100);const p=()=>{if(c.showHistoryHint&&c.showHistoryHint()&&!this.placeholder.endsWith(d)&&!this.placeholder.endsWith(l)&&this.history.getHistory().length){const m=this.placeholder.endsWith(")")?d:l,v=this.placeholder+m;c.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=v:this.setPlaceHolder(v)}};this.observer=new MutationObserver((m,v)=>{m.forEach(b=>{b.target.textContent||p()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>p()),this.onblur(this.input,()=>{const m=v=>{if(this.placeholder.endsWith(v)){const b=this.placeholder.slice(0,this.placeholder.length-v.length);return c.showPlaceholderOnFocus?this.placeholder=b:this.setPlaceHolder(b),!0}else return!1};m(l)||m(d)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(h){this.value&&(h||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let h=this.getNextValue();h&&(h=h===this.value?this.getNextValue():h),this.value=h??"",S.status(this.value?this.value:i.localize(4,null))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let h=this.getPreviousValue();h&&(h=h===this.value?this.getPreviousValue():h),h&&(this.value=h,S.status(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let h=this.history.current();return h||(h=this.history.last(),this.history.next()),h}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}e.HistoryInputBox=a}),define(ne[228],se([1,0,7,312,227,83,6,552,2,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindInput=void 0;const g=f.localize(0,null);class C extends D.Widget{constructor(i,n,t){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=new _.DisposableStore,this.additionalToggles=[],this._onDidOptionChange=this._register(new S.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new S.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new S.Emitter),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new S.Emitter),this._onKeyUp=this._register(new S.Emitter),this._onCaseSensitiveKeyDown=this._register(new S.Emitter),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new S.Emitter),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=t.placeholder||"",this.validation=t.validation,this.label=t.label||g,this.showCommonFindToggles=!!t.showCommonFindToggles;const a=t.appendCaseSensitiveLabel||"",u=t.appendWholeWordsLabel||"",h=t.appendRegexLabel||"",r=t.history||[],c=!!t.flexibleHeight,o=!!t.flexibleWidth,d=t.flexibleMaxHeight;if(this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,n,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:r,showHistoryHint:t.showHistoryHint,flexibleHeight:c,flexibleWidth:o,flexibleMaxHeight:d,inputBoxStyles:t.inputBoxStyles})),this.showCommonFindToggles){this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:h,isChecked:!1},t.toggleStyles))),this._register(this.regex.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(p=>{this._onRegexKeyDown.fire(p)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:u,isChecked:!1},t.toggleStyles))),this._register(this.wholeWords.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:a,isChecked:!1},t.toggleStyles))),this._register(this.caseSensitive.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(p=>{this._onCaseSensitiveKeyDown.fire(p)}));const l=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,p=>{if(p.equals(15)||p.equals(17)||p.equals(9)){const m=l.indexOf(document.activeElement);if(m>=0){let v=-1;p.equals(17)?v=(m+1)%l.length:p.equals(15)&&(m===0?v=l.length-1:v=m-1),p.equals(9)?(l[m].blur(),this.inputBox.focus()):v>=0&&l[v].focus(),L.EventHelper.stop(p,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(t?.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),i?.appendChild(this.domNode),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionstart",l=>{this.imeSessionInProgress=!0})),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionend",l=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,l=>this._onKeyDown.fire(l)),this.onkeyup(this.inputBox.inputElement,l=>this._onKeyUp.fire(l)),this.oninput(this.inputBox.inputElement,l=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,l=>this._onMouseDown.fire(l))}get onDidChange(){return this.inputBox.onDidChange}layout(i){this.inputBox.layout(),this.updateInputBoxPadding(i.collapsedFindWidget)}enable(){var i,n,t;this.domNode.classList.remove("disabled"),this.inputBox.enable(),(i=this.regex)===null||i===void 0||i.enable(),(n=this.wholeWords)===null||n===void 0||n.enable(),(t=this.caseSensitive)===null||t===void 0||t.enable();for(const a of this.additionalToggles)a.enable()}disable(){var i,n,t;this.domNode.classList.add("disabled"),this.inputBox.disable(),(i=this.regex)===null||i===void 0||i.disable(),(n=this.wholeWords)===null||n===void 0||n.disable(),(t=this.caseSensitive)===null||t===void 0||t.disable();for(const a of this.additionalToggles)a.disable()}setFocusInputOnOptionClick(i){this.fixFocusOnOptionClickEnabled=i}setEnabled(i){i?this.enable():this.disable()}setAdditionalToggles(i){for(const n of this.additionalToggles)n.domNode.remove();this.additionalToggles=[],this.additionalTogglesDisposables.dispose(),this.additionalTogglesDisposables=new _.DisposableStore;for(const n of i??[])this.additionalTogglesDisposables.add(n),this.controls.appendChild(n.domNode),this.additionalTogglesDisposables.add(n.onChange(t=>{this._onDidOptionChange.fire(t),!t&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(n);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(i=!1){var n,t,a,u,h,r;i?this.inputBox.paddingRight=0:this.inputBox.paddingRight=((t=(n=this.caseSensitive)===null||n===void 0?void 0:n.width())!==null&&t!==void 0?t:0)+((u=(a=this.wholeWords)===null||a===void 0?void 0:a.width())!==null&&u!==void 0?u:0)+((r=(h=this.regex)===null||h===void 0?void 0:h.width())!==null&&r!==void 0?r:0)+this.additionalToggles.reduce((c,o)=>c+o.width(),0)}getValue(){return this.inputBox.value}setValue(i){this.inputBox.value!==i&&(this.inputBox.value=i)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var i,n;return(n=(i=this.caseSensitive)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setCaseSensitive(i){this.caseSensitive&&(this.caseSensitive.checked=i)}getWholeWords(){var i,n;return(n=(i=this.wholeWords)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setWholeWords(i){this.wholeWords&&(this.wholeWords.checked=i)}getRegex(){var i,n;return(n=(i=this.regex)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setRegex(i){this.regex&&(this.regex.checked=i,this.validate())}focusOnCaseSensitive(){var i;(i=this.caseSensitive)===null||i===void 0||i.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(i){this.inputBox.showMessage(i)}clearMessage(){this.inputBox.hideMessage()}}e.FindInput=C}),define(ne[582],se([1,0,7,153,227,83,25,6,554,267]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReplaceInput=void 0;const g=_.localize(0,null),C=_.localize(1,null);class s extends k.Toggle{constructor(t){super({icon:S.Codicon.preserveCase,title:C+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionForeground:t.inputActiveOptionForeground,inputActiveOptionBackground:t.inputActiveOptionBackground})}}class i extends D.Widget{constructor(t,a,u,h){super(),this._showOptionButtons=u,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new f.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new f.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new f.Emitter),this._onInput=this._register(new f.Emitter),this._onKeyUp=this._register(new f.Emitter),this._onPreserveCaseKeyDown=this._register(new f.Emitter),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=a,this.placeholder=h.placeholder||"",this.validation=h.validation,this.label=h.label||g;const r=h.appendPreserveCaseLabel||"",c=h.history||[],o=!!h.flexibleHeight,d=!!h.flexibleWidth,l=h.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},history:c,showHistoryHint:h.showHistoryHint,flexibleHeight:o,flexibleWidth:d,flexibleMaxHeight:l,inputBoxStyles:h.inputBoxStyles})),this.preserveCase=this._register(new s(Object.assign({appendTitle:r,isChecked:!1},h.toggleStyles))),this._register(this.preserveCase.onChange(v=>{this._onDidOptionChange.fire(v),!v&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(v=>{this._onPreserveCaseKeyDown.fire(v)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;const p=[this.preserveCase.domNode];this.onkeydown(this.domNode,v=>{if(v.equals(15)||v.equals(17)||v.equals(9)){const b=p.indexOf(document.activeElement);if(b>=0){let w=-1;v.equals(17)?w=(b+1)%p.length:v.equals(15)&&(b===0?w=p.length-1:w=b-1),v.equals(9)?(p[b].blur(),this.inputBox.focus()):w>=0&&p[w].focus(),L.EventHelper.stop(v,!0)}}});const m=document.createElement("div");m.className="controls",m.style.display=this._showOptionButtons?"block":"none",m.appendChild(this.preserveCase.domNode),this.domNode.appendChild(m),t?.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,v=>this._onKeyDown.fire(v)),this.onkeyup(this.inputBox.inputElement,v=>this._onKeyUp.fire(v)),this.oninput(this.inputBox.inputElement,v=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,v=>this._onMouseDown.fire(v))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(t){t?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(t){this.preserveCase.checked=t}focusOnPreserve(){this.preserveCase.focus()}validate(){var t;(t=this.inputBox)===null||t===void 0||t.validate()}set width(t){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=t+"px"}dispose(){super.dispose()}}e.ReplaceInput=i}),define(ne[583],se([1,0,52,61,7,44,60,68,131,306,75,39,13,25,26,120,2,17,11]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRule=e.cleanMnemonic=e.Menu=e.Direction=e.MENU_ESCAPED_MNEMONIC_REGEX=e.MENU_MNEMONIC_REGEX=void 0,e.MENU_MNEMONIC_REGEX=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,e.MENU_ESCAPED_MNEMONIC_REGEX=/(&)?(&)([^\s&])/g;var c;(function(w){w[w.Right=0]="Right",w[w.Left=1]="Left"})(c||(e.Direction=c={}));class o extends f.ActionBar{constructor(E,I,M,P){E.classList.add("monaco-menu-container"),E.setAttribute("role","presentation");const x=document.createElement("div");x.classList.add("monaco-menu"),x.setAttribute("role","presentation"),super(x,{orientation:1,actionViewItemProvider:N=>this.doGetActionViewItem(N,M,T),context:M.context,actionRunner:M.actionRunner,ariaLabel:M.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...h.isMacintosh||h.isLinux?[10]:[]],keyDown:!0}}),this.menuStyles=P,this.menuElement=x,this.actionsList.tabIndex=0,this.menuDisposables=this._register(new u.DisposableStore),this.initializeOrUpdateStyleSheet(E,P),this._register(k.Gesture.addTarget(x)),(0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{new D.StandardKeyboardEvent(N).equals(2)&&N.preventDefault()}),M.enableMnemonics&&this.menuDisposables.add((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=N.key.toLocaleLowerCase();if(this.mnemonics.has(F)){y.EventHelper.stop(N,!0);const O=this.mnemonics.get(F);if(O.length===1&&(O[0]instanceof l&&O[0].container&&this.focusItemByElement(O[0].container),O[0].onClick(N)),O.length>1){const W=O.shift();W&&W.container&&(this.focusItemByElement(W.container),O.push(W)),this.mnemonics.set(F,O)}}})),h.isLinux&&this._register((0,y.addDisposableListener)(x,y.EventType.KEY_DOWN,N=>{const F=new D.StandardKeyboardEvent(N);F.equals(14)||F.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),y.EventHelper.stop(N,!0)):(F.equals(13)||F.equals(12))&&(this.focusedItem=0,this.focusPrevious(),y.EventHelper.stop(N,!0))})),this._register((0,y.addDisposableListener)(this.domNode,y.EventType.MOUSE_OUT,N=>{const F=N.relatedTarget;(0,y.isAncestor)(F,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),N.stopPropagation())})),this._register((0,y.addDisposableListener)(this.actionsList,y.EventType.MOUSE_OVER,N=>{let F=N.target;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}})),this._register(k.Gesture.addTarget(this.actionsList)),this._register((0,y.addDisposableListener)(this.actionsList,k.EventType.Tap,N=>{let F=N.initialTarget;if(!(!F||!(0,y.isAncestor)(F,this.actionsList)||F===this.actionsList)){for(;F.parentElement!==this.actionsList&&F.parentElement!==null;)F=F.parentElement;if(F.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(F),O!==this.focusedItem&&this.updateFocus()}}}));const T={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new C.DomScrollableElement(x,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const A=this.scrollableElement.getDomNode();A.style.position="",this.styleScrollElement(A,P),this._register((0,y.addDisposableListener)(x,k.EventType.Change,N=>{y.EventHelper.stop(N,!0);const F=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:F-N.translationY})})),this._register((0,y.addDisposableListener)(A,y.EventType.MOUSE_UP,N=>{N.preventDefault()})),x.style.maxHeight=`${Math.max(10,window.innerHeight-E.getBoundingClientRect().top-35)}px`,I=I.filter(N=>{var F;return!((F=M.submenuIds)===null||F===void 0)&&F.has(N.id)?(console.warn(`Found submenu cycle: ${N.id}`),!1):!0}),this.push(I,{icon:!0,label:!0,isMenu:!0}),E.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(N=>!(N instanceof p)).forEach((N,F,O)=>{N.updatePositionInSet(F+1,O.length)})}initializeOrUpdateStyleSheet(E,I){this.styleSheet||((0,y.isInShadowDOM)(E)?this.styleSheet=(0,y.createStyleSheet)(E):(o.globalStyleSheet||(o.globalStyleSheet=(0,y.createStyleSheet)()),this.styleSheet=o.globalStyleSheet)),this.styleSheet.textContent=b(I,(0,y.isInShadowDOM)(E))}styleScrollElement(E,I){var M,P;const x=(M=I.foregroundColor)!==null&&M!==void 0?M:"",T=(P=I.backgroundColor)!==null&&P!==void 0?P:"",A=I.borderColor?`1px solid ${I.borderColor}`:"",N="5px",F=I.shadowColor?`0 2px 8px ${I.shadowColor}`:"";E.style.outline=A,E.style.borderRadius=N,E.style.color=x,E.style.backgroundColor=T,E.style.boxShadow=F}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(E){const I=this.focusedItem;this.setFocusedItem(E),I!==this.focusedItem&&this.updateFocus()}setFocusedItem(E){for(let I=0;I{this.element&&(this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_UP,x=>{if(y.EventHelper.stop(x,!0),L.isFirefox){if(new S.StandardMouseEvent(x).rightButton)return;this.onClick(x)}else setTimeout(()=>{this.onClick(x)},0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.CONTEXT_MENU,x=>{y.EventHelper.stop(x,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(E){super.render(E),this.element&&(this.container=E,this.item=(0,y.append)(this.element,(0,y.$)("a.action-menu-item")),this._action.id===s.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,y.append)(this.item,(0,y.$)("span.menu-item-check"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSelection))),this.check.setAttribute("role","none"),this.label=(0,y.append)(this.item,(0,y.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,y.append)(this.item,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var E;super.focus(),(E=this.item)===null||E===void 0||E.focus(),this.applyStyle()}updatePositionInSet(E,I){this.item&&(this.item.setAttribute("aria-posinset",`${E}`),this.item.setAttribute("aria-setsize",`${I}`))}updateLabel(){var E;if(this.label&&this.options.label){(0,y.clearNode)(this.label);let I=(0,a.stripIcons)(this.action.label);if(I){const M=m(I);this.options.enableMnemonics||(I=M),this.label.setAttribute("aria-label",M.replace(/&&/g,"&"));const P=e.MENU_MNEMONIC_REGEX.exec(I);if(P){I=r.escape(I),e.MENU_ESCAPED_MNEMONIC_REGEX.lastIndex=0;let x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);for(;x&&x[1];)x=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(I);const T=A=>A.replace(/&&/g,"&");x?this.label.append(r.ltrim(T(I.substr(0,x.index))," "),(0,y.$)("u",{"aria-hidden":"true"},x[3]),r.rtrim(T(I.substr(x.index+x[0].length))," ")):this.label.innerText=T(I).trim(),(E=this.item)===null||E===void 0||E.setAttribute("aria-keyshortcuts",(P[1]?P[1]:P[3]).toLocaleLowerCase())}else this.label.innerText=I.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.action.class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const E=this.action.checked;this.item.classList.toggle("checked",!!E),E!==void 0?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",E?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){const E=this.element&&this.element.classList.contains("focused"),I=E&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,M=E&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,P=E&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",x=E&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=I??"",this.item.style.backgroundColor=M??"",this.item.style.outline=P,this.item.style.outlineOffset=x),this.check&&(this.check.style.color=I??"")}}class l extends d{constructor(E,I,M,P,x){super(E,E,P,x),this.submenuActions=I,this.parentData=M,this.submenuOptions=P,this.mysubmenu=null,this.submenuDisposables=this._register(new u.DisposableStore),this.mouseOver=!1,this.expandDirection=P&&P.expandDirection!==void 0?P.expandDirection:c.Right,this.showScheduler=new i.RunOnceScheduler(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new i.RunOnceScheduler(()=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(E){super.render(E),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,y.append)(this.item,(0,y.$)("span.submenu-indicator"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSubmenu))),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_UP,I=>{const M=new D.StandardKeyboardEvent(I);(M.equals(17)||M.equals(3))&&(y.EventHelper.stop(I,!0),this.createSubmenu(!0))})),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_DOWN,I=>{const M=new D.StandardKeyboardEvent(I);(0,y.getActiveElement)()===this.item&&(M.equals(17)||M.equals(3))&&y.EventHelper.stop(I,!0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_OVER,I=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_LEAVE,I=>{this.mouseOver=!1})),this._register((0,y.addDisposableListener)(this.element,y.EventType.FOCUS_OUT,I=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(E){y.EventHelper.stop(E,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(E){if(this.parentData.submenu&&(E||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch{}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(E,I,M,P){const x={top:0,left:0};return x.left=(0,g.layout)(E.width,I.width,{position:P===c.Right?0:1,offset:M.left,size:M.width}),x.left>=M.left&&x.left{new D.StandardKeyboardEvent(F).equals(15)&&(y.EventHelper.stop(F,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add((0,y.addDisposableListener)(this.submenuContainer,y.EventType.KEY_DOWN,F=>{new D.StandardKeyboardEvent(F).equals(15)&&y.EventHelper.stop(F,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(E),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(E){var I;this.item&&((I=this.item)===null||I===void 0||I.setAttribute("aria-expanded",E))}applyStyle(){super.applyStyle();const I=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=I??"")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class p extends _.ActionViewItem{constructor(E,I,M,P){super(E,I,M),this.menuStyles=P}render(E){super.render(E),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:"")}}function m(w){const E=e.MENU_MNEMONIC_REGEX,I=E.exec(w);if(!I)return w;const M=!I[1];return w.replace(E,M?"$2$3":"").trim()}e.cleanMnemonic=m;function v(w){const E=(0,n.getCodiconFontCharacters)()[w.id];return`.codicon-${w.id}:before { content: '\\${E.toString(16)}'; }`}e.formatRule=v;function b(w,E){let I=` -.monaco-menu { - font-size: 13px; - border-radius: 5px; - min-width: 160px; -} - -${v(n.Codicon.menuSelection)} -${v(n.Codicon.menuSubmenu)} - -.monaco-menu .monaco-action-bar { - text-align: right; - overflow: hidden; - white-space: nowrap; -} - -.monaco-menu .monaco-action-bar .actions-container { - display: flex; - margin: 0 auto; - padding: 0; - width: 100%; - justify-content: flex-end; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: inline-block; -} - -.monaco-menu .monaco-action-bar.reverse .actions-container { - flex-direction: row-reverse; -} - -.monaco-menu .monaco-action-bar .action-item { - cursor: pointer; - display: inline-block; - transition: transform 50ms ease; - position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ -} - -.monaco-menu .monaco-action-bar .action-item.disabled { - cursor: default; -} - -.monaco-menu .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ -} - -.monaco-menu .monaco-action-bar .action-item .icon, -.monaco-menu .monaco-action-bar .action-item .codicon { - display: inline-block; -} - -.monaco-menu .monaco-action-bar .action-item .codicon { - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar .action-label { - font-size: 11px; - margin-right: 4px; -} - -.monaco-menu .monaco-action-bar .action-item.disabled .action-label, -.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover { - color: var(--vscode-disabledForeground); -} - -/* Vertical actions */ - -.monaco-menu .monaco-action-bar.vertical { - text-align: left; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - display: block; - border-bottom: 1px solid var(--vscode-menu-separatorBackground); - padding-top: 1px; - padding: 30px; -} - -.monaco-menu .secondary-actions .monaco-action-bar .action-label { - margin-left: 6px; -} - -/* Action Items */ -.monaco-menu .monaco-action-bar .action-item.select-container { - overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ - flex: 1; - max-width: 170px; - min-width: 60px; - display: flex; - align-items: center; - justify-content: center; - margin-right: 10px; -} - -.monaco-menu .monaco-action-bar.vertical { - margin-left: 0; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - padding: 0; - transform: none; - display: flex; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.active { - transform: none; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - flex: 1 1 auto; - display: flex; - height: 2em; - align-items: center; - position: relative; - margin: 0 4px; - border-radius: 4px; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding { - opacity: unset; -} - -.monaco-menu .monaco-action-bar.vertical .action-label { - flex: 1 1 auto; - text-decoration: none; - padding: 0 1em; - background: none; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .keybinding, -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - display: inline-block; - flex: 2 1 auto; - padding: 0 1em; - text-align: right; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon { - font-size: 16px !important; - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before { - margin-left: auto; - margin-right: -20px; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator { - opacity: 0.4; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) { - display: inline-block; - box-sizing: border-box; - margin: 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - position: static; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu { - position: absolute; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - width: 100%; - height: 0px !important; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator.text { - padding: 0.7em 1em 0.1em 1em; - font-weight: bold; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:hover { - color: inherit; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - position: absolute; - visibility: hidden; - width: 1em; - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check { - visibility: visible; - display: flex; - align-items: center; - justify-content: center; -} - -/* Context Menu */ - -.context-view.monaco-menu-container { - outline: 0; - border: none; - animation: fadeIn 0.083s linear; - -webkit-app-region: no-drag; -} - -.context-view.monaco-menu-container :focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical:focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical :focus { - outline: 0; -} - -.hc-black .context-view.monaco-menu-container, -.hc-light .context-view.monaco-menu-container, -:host-context(.hc-black) .context-view.monaco-menu-container, -:host-context(.hc-light) .context-view.monaco-menu-container { - box-shadow: none; -} - -.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused, -.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused { - background: none; -} - -/* Vertical Action Bar Styles */ - -.monaco-menu .monaco-action-bar.vertical { - padding: 4px 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - height: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator), -.monaco-menu .monaco-action-bar.vertical .keybinding { - font-size: inherit; - padding: 0 2em; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - font-size: inherit; - width: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - font-size: inherit; - margin: 5px 0 !important; - padding: 0; - border-radius: 0; -} - -.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator { - margin-left: 0; - margin-right: 0; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - font-size: 60%; - padding: 0 1.8em; -} - -.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; - mask-size: 10px 10px; - -webkit-mask-size: 10px 10px; -} - -.monaco-menu .action-item { - cursor: default; -}`;if(E){I+=` - /* Arrows */ - .monaco-scrollable-element > .scrollbar > .scra { - cursor: pointer; - font-size: 11px !important; - } - - .monaco-scrollable-element > .visible { - opacity: 1; - - /* Background rule added for IE9 - to allow clicks on dom node */ - background:rgba(0,0,0,0); - - transition: opacity 100ms linear; - } - .monaco-scrollable-element > .invisible { - opacity: 0; - pointer-events: none; - } - .monaco-scrollable-element > .invisible.fade { - transition: opacity 800ms linear; - } - - /* Scrollable Content Inset Shadow */ - .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; - } - `;const M=w.scrollbarShadow;M&&(I+=` - .monaco-scrollable-element > .shadow.top { - box-shadow: ${M} 0 6px 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.left { - box-shadow: ${M} 6px 0 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.top.left { - box-shadow: ${M} 6px 6px 6px -6px inset; - } - `);const P=w.scrollbarSliderBackground;P&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider { - background: ${P}; - } - `);const x=w.scrollbarSliderHoverBackground;x&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider:hover { - background: ${x}; - } - `);const T=w.scrollbarSliderActiveBackground;T&&(I+=` - .monaco-scrollable-element > .scrollbar > .slider.active { - background: ${T}; - } - `)}return I}}),define(ne[584],se([1,0,68,315,39,25,26,6,2,560,412]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleMenuAction=e.ToolBar=void 0;class C extends _.Disposable{constructor(n,t,a={orientation:0}){super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new f.EventMultiplexer),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new _.DisposableStore),this.options=a,this.lookupKeybindings=typeof this.options.getKeyBinding=="function",this.toggleMenuAction=this._register(new s(()=>{var u;return(u=this.toggleMenuActionViewItem)===null||u===void 0?void 0:u.show()},a.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",n.appendChild(this.element),this.actionBar=this._register(new L.ActionBar(this.element,{orientation:a.orientation,ariaLabel:a.ariaLabel,actionRunner:a.actionRunner,allowContextMenu:a.allowContextMenu,highlightToggledItems:a.highlightToggledItems,actionViewItemProvider:(u,h)=>{var r;if(u.id===s.ID)return this.toggleMenuActionViewItem=new k.DropdownMenuActionViewItem(u,u.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:S.ThemeIcon.asClassNameArray((r=a.moreIcon)!==null&&r!==void 0?r:D.Codicon.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(a.actionViewItemProvider){const c=a.actionViewItemProvider(u,h);if(c)return c}if(u instanceof y.SubmenuAction){const c=new k.DropdownMenuActionViewItem(u,u.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:u.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry});return c.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(c),this.disposables.add(this._onDidChangeDropdownVisibility.add(c.onDidChangeVisibility)),c}}}))}set actionRunner(n){this.actionBar.actionRunner=n}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(n){return this.actionBar.getAction(n)}setActions(n,t){this.clear();const a=n?n.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),a.push(this.toggleMenuAction)),a.forEach(u=>{this.actionBar.push(u,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(u)})})}getKeybindingLabel(n){var t,a,u;const h=this.lookupKeybindings?(a=(t=this.options).getKeyBinding)===null||a===void 0?void 0:a.call(t,n):void 0;return(u=h?.getLabel())!==null&&u!==void 0?u:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),super.dispose()}}e.ToolBar=C;class s extends y.Action{constructor(n,t){t=t||g.localize(0,null),super(s.ID,t,void 0,!0),this._menuActions=[],this.toggleDropdownMenu=n}run(){return we(this,void 0,void 0,function*(){this.toggleDropdownMenu()})}get menuActions(){return this._menuActions}set menuActions(n){this._menuActions=n}}e.ToggleMenuAction=s,s.ID="toolbar.toggle.more"}),define(ne[184],se([1,0,7,81,44,68,228,227,225,114,153,218,139,39,14,13,25,26,196,6,72,2,141,20,561,413]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractTree=e.TreeFindMatchType=e.TreeFindMode=e.FuzzyToggle=e.ModeToggle=e.RenderIndentGuides=e.ComposedTreeDelegate=void 0;class v extends _.ElementsDragAndDropData{constructor(B){super(B.elements.map(V=>V.element)),this.data=B}}function b(H){return H instanceof _.ElementsDragAndDropData?new v(H):H}class w{constructor(B,V){this.modelProvider=B,this.dnd=V,this.autoExpandDisposable=d.Disposable.None}getDragURI(B){return this.dnd.getDragURI(B.element)}getDragLabel(B,V){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(B.map(Y=>Y.element),V)}onDragStart(B,V){var Y,ie;(ie=(Y=this.dnd).onDragStart)===null||ie===void 0||ie.call(Y,b(B),V)}onDragOver(B,V,Y,ie,ae=!0){const ce=this.dnd.onDragOver(b(B),V&&V.element,Y,ie),de=this.autoExpandNode!==V;if(de&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=V),typeof V>"u")return ce;if(de&&typeof ce!="boolean"&&ce.autoExpand&&(this.autoExpandDisposable=(0,a.disposableTimeout)(()=>{const z=this.modelProvider(),ee=z.getNodeLocation(V);z.isCollapsed(ee)&&z.setCollapsed(ee,!1),this.autoExpandNode=void 0},500)),typeof ce=="boolean"||!ce.accept||typeof ce.bubble>"u"||ce.feedback){if(!ae){const z=typeof ce=="boolean"?ce:ce.accept,ee=typeof ce=="boolean"?void 0:ce.effect;return{accept:z,effect:ee,feedback:[Y]}}return ce}if(ce.bubble===1){const z=this.modelProvider(),ee=z.getNodeLocation(V),$=z.getParentNodeLocation(ee),re=z.getNode($),oe=$&&z.getListIndex($);return this.onDragOver(B,re,oe,ie,!1)}const he=this.modelProvider(),ue=he.getNodeLocation(V),te=he.getListIndex(ue),q=he.getListRenderCount(ue);return Object.assign(Object.assign({},ce),{feedback:(0,t.range)(te,te+q)})}drop(B,V,Y,ie){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(b(B),V&&V.element,Y,ie)}onDragEnd(B){var V,Y;(Y=(V=this.dnd).onDragEnd)===null||Y===void 0||Y.call(V,B)}}function E(H,B){return B&&Object.assign(Object.assign({},B),{identityProvider:B.identityProvider&&{getId(V){return B.identityProvider.getId(V.element)}},dnd:B.dnd&&new w(H,B.dnd),multipleSelectionController:B.multipleSelectionController&&{isSelectionSingleChangeEvent(V){return B.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))},isSelectionRangeChangeEvent(V){return B.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))}},accessibilityProvider:B.accessibilityProvider&&Object.assign(Object.assign({},B.accessibilityProvider),{getSetSize(V){const Y=H(),ie=Y.getNodeLocation(V),ae=Y.getParentNodeLocation(ie);return Y.getNode(ae).visibleChildrenCount},getPosInSet(V){return V.visibleChildIndex+1},isChecked:B.accessibilityProvider&&B.accessibilityProvider.isChecked?V=>B.accessibilityProvider.isChecked(V.element):void 0,getRole:B.accessibilityProvider&&B.accessibilityProvider.getRole?V=>B.accessibilityProvider.getRole(V.element):()=>"treeitem",getAriaLabel(V){return B.accessibilityProvider.getAriaLabel(V.element)},getWidgetAriaLabel(){return B.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:B.accessibilityProvider&&B.accessibilityProvider.getWidgetRole?()=>B.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:B.accessibilityProvider&&B.accessibilityProvider.getAriaLevel?V=>B.accessibilityProvider.getAriaLevel(V.element):V=>V.depth,getActiveDescendantId:B.accessibilityProvider.getActiveDescendantId&&(V=>B.accessibilityProvider.getActiveDescendantId(V.element))}),keyboardNavigationLabelProvider:B.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},B.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(V){return B.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(V.element)}})})}class I{constructor(B){this.delegate=B}getHeight(B){return this.delegate.getHeight(B.element)}getTemplateId(B){return this.delegate.getTemplateId(B.element)}hasDynamicHeight(B){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(B.element)}setDynamicHeight(B,V){var Y,ie;(ie=(Y=this.delegate).setDynamicHeight)===null||ie===void 0||ie.call(Y,B.element,V)}}e.ComposedTreeDelegate=I;var M;(function(H){H.None="none",H.OnHover="onHover",H.Always="always"})(M||(e.RenderIndentGuides=M={}));class P{get elements(){return this._elements}constructor(B,V=[]){this._elements=V,this.disposables=new d.DisposableStore,this.onDidChange=c.Event.forEach(B,Y=>this._elements=Y,this.disposables)}dispose(){this.disposables.dispose()}}class x{constructor(B,V,Y,ie,ae,ce={}){var de;this.renderer=B,this.modelProvider=V,this.activeNodes=ie,this.renderedIndentGuides=ae,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=x.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=d.Disposable.None,this.disposables=new d.DisposableStore,this.templateId=B.templateId,this.updateOptions(ce),c.Event.map(Y,he=>he.node)(this.onDidChangeNodeTwistieState,this,this.disposables),(de=B.onDidChangeTwistieState)===null||de===void 0||de.call(B,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(B={}){if(typeof B.indent<"u"){const V=(0,l.clamp)(B.indent,0,40);if(V!==this.indent){this.indent=V;for(const[Y,ie]of this.renderedNodes)this.renderTreeElement(Y,ie)}}if(typeof B.renderIndentGuides<"u"){const V=B.renderIndentGuides!==M.None;if(V!==this.shouldRenderIndentGuides){this.shouldRenderIndentGuides=V;for(const[Y,ie]of this.renderedNodes)this._renderIndentGuides(Y,ie);if(this.indentGuidesDisposable.dispose(),V){const Y=new d.DisposableStore;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,Y),this.indentGuidesDisposable=Y,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}typeof B.hideTwistiesOfChildlessElements<"u"&&(this.hideTwistiesOfChildlessElements=B.hideTwistiesOfChildlessElements)}renderTemplate(B){const V=(0,L.append)(B,(0,L.$)(".monaco-tl-row")),Y=(0,L.append)(V,(0,L.$)(".monaco-tl-indent")),ie=(0,L.append)(V,(0,L.$)(".monaco-tl-twistie")),ae=(0,L.append)(V,(0,L.$)(".monaco-tl-contents")),ce=this.renderer.renderTemplate(ae);return{container:B,indent:Y,twistie:ie,indentGuidesDisposable:d.Disposable.None,templateData:ce}}renderElement(B,V,Y,ie){this.renderedNodes.set(B,Y),this.renderedElements.set(B.element,B),this.renderTreeElement(B,Y),this.renderer.renderElement(B,V,Y.templateData,ie)}disposeElement(B,V,Y,ie){var ae,ce;Y.indentGuidesDisposable.dispose(),(ce=(ae=this.renderer).disposeElement)===null||ce===void 0||ce.call(ae,B,V,Y.templateData,ie),typeof ie=="number"&&(this.renderedNodes.delete(B),this.renderedElements.delete(B.element))}disposeTemplate(B){this.renderer.disposeTemplate(B.templateData)}onDidChangeTwistieState(B){const V=this.renderedElements.get(B);V&&this.onDidChangeNodeTwistieState(V)}onDidChangeNodeTwistieState(B){const V=this.renderedNodes.get(B);V&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(B,V))}renderTreeElement(B,V){const Y=x.DefaultIndent+(B.depth-1)*this.indent;V.twistie.style.paddingLeft=`${Y}px`,V.indent.style.width=`${Y+this.indent-16}px`,B.collapsible?V.container.setAttribute("aria-expanded",String(!B.collapsed)):V.container.removeAttribute("aria-expanded"),V.twistie.classList.remove(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded));let ie=!1;this.renderer.renderTwistie&&(ie=this.renderer.renderTwistie(B.element,V.twistie)),B.collapsible&&(!this.hideTwistiesOfChildlessElements||B.visibleChildrenCount>0)?(ie||V.twistie.classList.add(...h.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded)),V.twistie.classList.add("collapsible"),V.twistie.classList.toggle("collapsed",B.collapsed)):V.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(B,V)}_renderIndentGuides(B,V){if((0,L.clearNode)(V.indent),V.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const Y=new d.DisposableStore,ie=this.modelProvider();for(;;){const ae=ie.getNodeLocation(B),ce=ie.getParentNodeLocation(ae);if(!ce)break;const de=ie.getNode(ce),he=(0,L.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(de)&&he.classList.add("active"),V.indent.childElementCount===0?V.indent.appendChild(he):V.indent.insertBefore(he,V.indent.firstElementChild),this.renderedIndentGuides.add(de,he),Y.add((0,d.toDisposable)(()=>this.renderedIndentGuides.delete(de,he))),B=de}V.indentGuidesDisposable=Y}_onDidChangeActiveNodes(B){if(!this.shouldRenderIndentGuides)return;const V=new Set,Y=this.modelProvider();B.forEach(ie=>{const ae=Y.getNodeLocation(ie);try{const ce=Y.getParentNodeLocation(ae);ie.collapsible&&ie.children.length>0&&!ie.collapsed?V.add(ie):ce&&V.add(Y.getNode(ce))}catch{}}),this.activeIndentNodes.forEach(ie=>{V.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.remove("active"))}),V.forEach(ie=>{this.activeIndentNodes.has(ie)||this.renderedIndentGuides.forEach(ie,ae=>ae.classList.add("active"))}),this.activeIndentNodes=V}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,d.dispose)(this.disposables)}}x.DefaultIndent=8;class T{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(B,V,Y){this.tree=B,this.keyboardNavigationLabelProvider=V,this._filter=Y,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new d.DisposableStore,B.onWillRefilter(this.reset,this,this.disposables)}filter(B,V){let Y=1;if(this._filter){const ce=this._filter.filter(B,V);if(typeof ce=="boolean"?Y=ce?1:0:(0,s.isFilterResult)(ce)?Y=(0,s.getVisibleState)(ce.visibility):Y=ce,Y===0)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:o.FuzzyScore.Default,visibility:Y};const ie=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(B),ae=Array.isArray(ie)?ie:[ie];for(const ce of ae){const de=ce&&ce.toString();if(typeof de>"u")return{data:o.FuzzyScore.Default,visibility:Y};let he;if(this.tree.findMatchType===W.Contiguous){const ue=de.toLowerCase().indexOf(this._lowercasePattern);if(ue>-1){he=[Number.MAX_SAFE_INTEGER,0];for(let te=this._lowercasePattern.length;te>0;te--)he.push(ue+te-1)}}else he=(0,o.fuzzyScore)(this._pattern,this._lowercasePattern,0,de,de.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(he)return this._matchCount++,ae.length===1?{data:he,visibility:Y}:{data:{label:de,score:he},visibility:Y}}return this.tree.findMode===O.Filter?typeof this.tree.options.defaultFindVisibility=="number"?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(B):2:{data:o.FuzzyScore.Default,visibility:Y}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,d.dispose)(this.disposables)}}class A extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.listFilter,title:(0,m.localize)(0,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.ModeToggle=A;class N extends C.Toggle{constructor(B){var V;super({icon:u.Codicon.searchFuzzy,title:(0,m.localize)(1,null),isChecked:(V=B.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:B.inputActiveOptionBorder,inputActiveOptionForeground:B.inputActiveOptionForeground,inputActiveOptionBackground:B.inputActiveOptionBackground})}}e.FuzzyToggle=N;const F={inputBoxStyles:f.unthemedInboxStyles,toggleStyles:C.unthemedToggleStyles,listFilterWidgetBackground:void 0,listFilterWidgetNoMatchesOutline:void 0,listFilterWidgetOutline:void 0,listFilterWidgetShadow:void 0};var O;(function(H){H[H.Highlight=0]="Highlight",H[H.Filter=1]="Filter"})(O||(e.TreeFindMode=O={}));var W;(function(H){H[H.Fuzzy=0]="Fuzzy",H[H.Contiguous=1]="Contiguous"})(W||(e.TreeFindMatchType=W={}));class U extends d.Disposable{set mode(B){this.modeToggle.checked=B===O.Filter,this.findInput.inputBox.setPlaceHolder(B===O.Filter?(0,m.localize)(2,null):(0,m.localize)(3,null))}set matchType(B){this.matchTypeToggle.checked=B===W.Fuzzy}constructor(B,V,Y,ie,ae,ce){var de;super(),this.tree=V,this.elements=(0,L.h)(".monaco-tree-type-filter",[(0,L.h)(".monaco-tree-type-filter-grab.codicon.codicon-debug-gripper@grab",{tabIndex:0}),(0,L.h)(".monaco-tree-type-filter-input@findInput"),(0,L.h)(".monaco-tree-type-filter-actionbar@actionbar")]),this.width=0,this.right=0,this.top=0,this._onDidDisable=new c.Emitter,B.appendChild(this.elements.root),this._register((0,d.toDisposable)(()=>B.removeChild(this.elements.root)));const he=(de=ce?.styles)!==null&&de!==void 0?de:F;he.listFilterWidgetBackground&&(this.elements.root.style.backgroundColor=he.listFilterWidgetBackground),he.listFilterWidgetShadow&&(this.elements.root.style.boxShadow=`0 0 8px 2px ${he.listFilterWidgetShadow}`),this.modeToggle=this._register(new A(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ie===O.Filter}))),this.matchTypeToggle=this._register(new N(Object.assign(Object.assign({},he.toggleStyles),{isChecked:ae===W.Fuzzy}))),this.onDidChangeMode=c.Event.map(this.modeToggle.onChange,()=>this.modeToggle.checked?O.Filter:O.Highlight,this._store),this.onDidChangeMatchType=c.Event.map(this.matchTypeToggle.onChange,()=>this.matchTypeToggle.checked?W.Fuzzy:W.Contiguous,this._store),this.findInput=this._register(new S.FindInput(this.elements.findInput,Y,{label:(0,m.localize)(4,null),additionalToggles:[this.modeToggle,this.matchTypeToggle],showCommonFindToggles:!1,inputBoxStyles:he.inputBoxStyles,toggleStyles:he.toggleStyles,history:ce?.history})),this.actionbar=this._register(new D.ActionBar(this.elements.actionbar)),this.mode=ie;const ue=this._register(new k.DomEmitter(this.findInput.inputBox.inputElement,"keydown")),te=this._register(c.Event.chain(ue.event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(te($=>{if($.equals(3)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.addToHistory(),this.tree.domFocus();return}if($.equals(18)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.isAtLastInHistory()||this.findInput.inputBox.isNowhereInHistory()?(this.findInput.inputBox.addToHistory(),this.tree.domFocus()):this.findInput.inputBox.showNextValue();return}if($.equals(16)){$.preventDefault(),$.stopPropagation(),this.findInput.inputBox.showPreviousValue();return}}));const q=this._register(new n.Action("close",(0,m.localize)(5,null),"codicon codicon-close",!0,()=>this.dispose()));this.actionbar.push(q,{icon:!0,label:!1});const z=this._register(new k.DomEmitter(this.elements.grab,"mousedown"));this._register(z.event($=>{const re=new d.DisposableStore,oe=re.add(new k.DomEmitter(window,"mousemove")),ge=re.add(new k.DomEmitter(window,"mouseup")),ve=this.right,Se=$.pageX,Le=this.top,De=$.pageY;this.elements.grab.classList.add("grabbing");const ye=this.elements.root.style.transition;this.elements.root.style.transition="unset";const Ee=Me=>{const Pe=Me.pageX-Se;this.right=ve-Pe;const Fe=Me.pageY-De;this.top=Le+Fe,this.layout()};re.add(oe.event(Ee)),re.add(ge.event(Me=>{Ee(Me),this.elements.grab.classList.remove("grabbing"),this.elements.root.style.transition=ye,re.dispose()}))}));const ee=this._register(c.Event.chain(this._register(new k.DomEmitter(this.elements.grab,"keydown")).event)).map($=>new y.StandardKeyboardEvent($)).event;this._register(ee($=>{let re,oe;if($.keyCode===15?re=Number.POSITIVE_INFINITY:$.keyCode===17?re=0:$.keyCode===10&&(re=this.right===0?Number.POSITIVE_INFINITY:0),$.keyCode===16?oe=0:$.keyCode===18&&(oe=Number.POSITIVE_INFINITY),re!==void 0&&($.preventDefault(),$.stopPropagation(),this.right=re,this.layout()),oe!==void 0){$.preventDefault(),$.stopPropagation(),this.top=oe;const ge=this.elements.root.style.transition;this.elements.root.style.transition="unset",this.layout(),setTimeout(()=>{this.elements.root.style.transition=ge},0)}})),this.onDidChangeValue=this.findInput.onDidChange}layout(B=this.width){this.width=B,this.right=(0,l.clamp)(this.right,0,Math.max(0,B-212)),this.elements.root.style.right=`${this.right}px`,this.top=(0,l.clamp)(this.top,0,24),this.elements.root.style.top=`${this.top}px`}showMessage(B){this.findInput.showMessage(B)}clearMessage(){this.findInput.clearMessage()}dispose(){const B=Object.create(null,{dispose:{get:()=>super.dispose}});return we(this,void 0,void 0,function*(){this._onDidDisable.fire(),this.elements.root.classList.add("disabled"),yield(0,a.timeout)(300),B.dispose.call(this)})}}class j{get pattern(){return this._pattern}get mode(){return this._mode}set mode(B){B!==this._mode&&(this._mode=B,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(B))}get matchType(){return this._matchType}set matchType(B){B!==this._matchType&&(this._matchType=B,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(B))}constructor(B,V,Y,ie,ae,ce={}){var de,he;this.tree=B,this.view=Y,this.filter=ie,this.contextViewProvider=ae,this.options=ce,this._pattern="",this.width=0,this._onDidChangeMode=new c.Emitter,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new c.Emitter,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new c.Emitter,this._onDidChangeOpenState=new c.Emitter,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new d.DisposableStore,this.disposables=new d.DisposableStore,this._mode=(de=B.options.defaultFindMode)!==null&&de!==void 0?de:O.Highlight,this._matchType=(he=B.options.defaultFindMatchType)!==null&&he!==void 0?he:W.Fuzzy,V.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(B={}){B.defaultFindMode!==void 0&&(this.mode=B.defaultFindMode),B.defaultFindMatchType!==void 0&&(this.matchType=B.defaultFindMatchType)}onDidSpliceModel(){!this.widget||this.pattern.length===0||(this.tree.refilter(),this.render())}render(){var B,V,Y,ie;const ae=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&ae?!((B=this.tree.options.showNotFoundMessage)!==null&&B!==void 0)||B?(V=this.widget)===null||V===void 0||V.showMessage({type:2,content:(0,m.localize)(6,null)}):(Y=this.widget)===null||Y===void 0||Y.showMessage({type:2}):(ie=this.widget)===null||ie===void 0||ie.clearMessage()}shouldAllowFocus(B){return!this.widget||!this.pattern||this._mode===O.Filter||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!o.FuzzyScore.isDefault(B.filterData)}layout(B){var V;this.width=B,(V=this.widget)===null||V===void 0||V.layout(B)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function R(H){let B=i.TreeMouseEventTarget.Unknown;return(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?B=i.TreeMouseEventTarget.Twistie:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?B=i.TreeMouseEventTarget.Element:(0,L.hasParentWithClass)(H.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(B=i.TreeMouseEventTarget.Filter),{browserEvent:H.browserEvent,element:H.element?H.element.element:null,target:B}}function K(H,B){B(H),H.children.forEach(V=>K(V,B))}class G{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(B,V){this.getFirstViewElementWithTrait=B,this.identityProvider=V,this.nodes=[],this._onDidChange=new c.Emitter,this.onDidChange=this._onDidChange.event}set(B,V){!V?.__forceEvent&&(0,t.equals)(this.nodes,B)||this._set(B,!1,V)}_set(B,V,Y){if(this.nodes=[...B],this.elements=void 0,this._nodeSet=void 0,!V){const ie=this;this._onDidChange.fire({get elements(){return ie.get()},browserEvent:Y})}}get(){return this.elements||(this.elements=this.nodes.map(B=>B.element)),[...this.elements]}getNodes(){return this.nodes}has(B){return this.nodeSet.has(B)}onDidModelSplice({insertedNodes:B,deletedNodes:V}){if(!this.identityProvider){const he=this.createNodeSet(),ue=te=>he.delete(te);V.forEach(te=>K(te,ue)),this.set([...he.values()]);return}const Y=new Set,ie=he=>Y.add(this.identityProvider.getId(he.element).toString());V.forEach(he=>K(he,ie));const ae=new Map,ce=he=>ae.set(this.identityProvider.getId(he.element).toString(),he);B.forEach(he=>K(he,ce));const de=[];for(const he of this.nodes){const ue=this.identityProvider.getId(he.element).toString();if(!Y.has(ue))de.push(he);else{const q=ae.get(ue);q&&q.visible&&de.push(q)}}if(this.nodes.length>0&&de.length===0){const he=this.getFirstViewElementWithTrait();he&&de.push(he)}this._set(de,!0)}createNodeSet(){const B=new Set;for(const V of this.nodes)B.add(V);return B}}class Z extends g.MouseController{constructor(B,V){super(B),this.tree=V}onViewPointer(B){if((0,g.isButton)(B.browserEvent.target)||(0,g.isInputElement)(B.browserEvent.target)||(0,g.isMonacoEditor)(B.browserEvent.target)||B.browserEvent.isHandledByList)return;const V=B.element;if(!V)return super.onViewPointer(B);if(this.isSelectionRangeChangeEvent(B)||this.isSelectionSingleChangeEvent(B))return super.onViewPointer(B);const Y=B.browserEvent.target,ie=Y.classList.contains("monaco-tl-twistie")||Y.classList.contains("monaco-icon-label")&&Y.classList.contains("folder-icon")&&B.browserEvent.offsetX<16;let ae=!1;if(typeof this.tree.expandOnlyOnTwistieClick=="function"?ae=this.tree.expandOnlyOnTwistieClick(V.element):ae=!!this.tree.expandOnlyOnTwistieClick,ae&&!ie&&B.browserEvent.detail!==2)return super.onViewPointer(B);if(!this.tree.expandOnDoubleClick&&B.browserEvent.detail===2)return super.onViewPointer(B);if(V.collapsible){const ce=this.tree.getNodeLocation(V),de=B.browserEvent.altKey;if(this.tree.setFocus([ce]),this.tree.toggleCollapsed(ce,de),ae&&ie){B.browserEvent.isHandledByList=!0;return}}super.onViewPointer(B)}onDoubleClick(B){B.browserEvent.target.classList.contains("monaco-tl-twistie")||!this.tree.expandOnDoubleClick||B.browserEvent.isHandledByList||super.onDoubleClick(B)}}class J extends g.List{constructor(B,V,Y,ie,ae,ce,de,he){super(B,V,Y,ie,he),this.focusTrait=ae,this.selectionTrait=ce,this.anchorTrait=de}createMouseController(B){return new Z(this,B.tree)}splice(B,V,Y=[]){if(super.splice(B,V,Y),Y.length===0)return;const ie=[],ae=[];let ce;Y.forEach((de,he)=>{this.focusTrait.has(de)&&ie.push(B+he),this.selectionTrait.has(de)&&ae.push(B+he),this.anchorTrait.has(de)&&(ce=B+he)}),ie.length>0&&super.setFocus((0,t.distinct)([...super.getFocus(),...ie])),ae.length>0&&super.setSelection((0,t.distinct)([...super.getSelection(),...ae])),typeof ce=="number"&&super.setAnchor(ce)}setFocus(B,V,Y=!1){super.setFocus(B,V),Y||this.focusTrait.set(B.map(ie=>this.element(ie)),V)}setSelection(B,V,Y=!1){super.setSelection(B,V),Y||this.selectionTrait.set(B.map(ie=>this.element(ie)),V)}setAnchor(B,V=!1){super.setAnchor(B),V||(typeof B>"u"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(B)]))}}class X{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return c.Event.filter(c.Event.map(this.view.onMouseDblClick,R),B=>B.target!==i.TreeMouseEventTarget.Filter)}get onPointer(){return c.Event.map(this.view.onPointer,R)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return c.Event.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.mode)!==null&&V!==void 0?V:O.Highlight}set findMode(B){this.findController&&(this.findController.mode=B)}get findMatchType(){var B,V;return(V=(B=this.findController)===null||B===void 0?void 0:B.matchType)!==null&&V!==void 0?V:W.Fuzzy}set findMatchType(B){this.findController&&(this.findController.matchType=B)}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick>"u"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick>"u"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(B,V,Y,ie,ae={}){var ce;this._user=B,this._options=ae,this.eventBufferer=new c.EventBufferer,this.onDidChangeFindOpenState=c.Event.None,this.disposables=new d.DisposableStore,this._onWillRefilter=new c.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new c.Emitter;const de=new I(Y),he=new c.Relay,ue=new c.Relay,te=this.disposables.add(new P(ue.event)),q=new r.SetMap;this.renderers=ie.map($=>new x($,()=>this.model,he.event,te,q,ae));for(const $ of this.renderers)this.disposables.add($);let z;ae.keyboardNavigationLabelProvider&&(z=new T(this,ae.keyboardNavigationLabelProvider,ae.filter),ae=Object.assign(Object.assign({},ae),{filter:z}),this.disposables.add(z)),this.focus=new G(()=>this.view.getFocusedElements()[0],ae.identityProvider),this.selection=new G(()=>this.view.getSelectedElements()[0],ae.identityProvider),this.anchor=new G(()=>this.view.getAnchorElement(),ae.identityProvider),this.view=new J(B,V,de,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},E(()=>this.model,ae)),{tree:this})),this.model=this.createModel(B,this.view,ae),he.input=this.model.onDidChangeCollapseState;const ee=c.Event.forEach(this.model.onDidSplice,$=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice($),this.selection.onDidModelSplice($)})},this.disposables);if(ee(()=>null,null,this.disposables),ue.input=c.Event.chain(c.Event.any(ee,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const $=new Set;for(const re of this.focus.getNodes())$.add(re);for(const re of this.selection.getNodes())$.add(re);return[...$.values()]}).event,ae.keyboardSupport!==!1){const $=c.Event.chain(this.view.onKeyDown).filter(re=>!(0,g.isInputElement)(re.target)).map(re=>new y.StandardKeyboardEvent(re));$.filter(re=>re.keyCode===15).on(this.onLeftArrow,this,this.disposables),$.filter(re=>re.keyCode===17).on(this.onRightArrow,this,this.disposables),$.filter(re=>re.keyCode===10).on(this.onSpace,this,this.disposables)}if((!((ce=ae.findWidgetEnabled)!==null&&ce!==void 0)||ce)&&ae.keyboardNavigationLabelProvider&&ae.contextViewProvider){const $=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new j(this,this.model,this.view,z,ae.contextViewProvider,$),this.focusNavigationFilter=re=>this.findController.shouldAllowFocus(re),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=c.Event.None,this.onDidChangeFindMatchType=c.Event.None;this.styleElement=(0,L.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}updateOptions(B={}){var V;this._options=Object.assign(Object.assign({},this._options),B);for(const Y of this.renderers)Y.updateOptions(B);this.view.updateOptions(this._options),(V=this.findController)===null||V===void 0||V.updateOptions(B),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(B){this.view.scrollTop=B}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}domFocus(){this.view.domFocus()}layout(B,V){var Y;this.view.layout(B,V),(0,p.isNumber)(V)&&((Y=this.findController)===null||Y===void 0||Y.layout(V))}style(B){const V=`.${this.view.domId}`,Y=[];B.treeIndentGuidesStroke&&(Y.push(`.monaco-list${V}:hover .monaco-tl-indent > .indent-guide, .monaco-list${V}.always .monaco-tl-indent > .indent-guide { border-color: ${B.treeInactiveIndentGuidesStroke}; }`),Y.push(`.monaco-list${V} .monaco-tl-indent > .indent-guide.active { border-color: ${B.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=Y.join(` -`),this.view.style(B)}getParentElement(B){const V=this.model.getParentNodeLocation(B);return this.model.getNode(V).element}getFirstElementChild(B){return this.model.getFirstElementChild(B)}getNode(B){return this.model.getNode(B)}getNodeLocation(B){return this.model.getNodeLocation(B)}collapse(B,V=!1){return this.model.setCollapsed(B,!0,V)}expand(B,V=!1){return this.model.setCollapsed(B,!1,V)}toggleCollapsed(B,V=!1){return this.model.setCollapsed(B,void 0,V)}isCollapsible(B){return this.model.isCollapsible(B)}setCollapsible(B,V){return this.model.setCollapsible(B,V)}isCollapsed(B){return this.model.isCollapsed(B)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.selection.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setSelection(ie,V,!0)}getSelection(){return this.selection.get()}setFocus(B,V){const Y=B.map(ae=>this.model.getNode(ae));this.focus.set(Y,V);const ie=B.map(ae=>this.model.getListIndex(ae)).filter(ae=>ae>-1);this.view.setFocus(ie,V,!0)}getFocus(){return this.focus.get()}reveal(B,V){this.model.expandTo(B);const Y=this.model.getListIndex(B);Y!==-1&&this.view.reveal(Y,V)}onLeftArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!0)){const ce=this.model.getParentNodeLocation(ie);if(!ce)return;const de=this.model.getListIndex(ce);this.view.reveal(de),this.view.setFocus([de])}}onRightArrow(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y);if(!this.model.setCollapsed(ie,!1)){if(!Y.children.some(he=>he.visible))return;const[ce]=this.view.getFocus(),de=ce+1;this.view.reveal(de),this.view.setFocus([de])}}onSpace(B){B.preventDefault(),B.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Y=V[0],ie=this.model.getNodeLocation(Y),ae=B.browserEvent.altKey;this.model.setCollapsed(ie,void 0,ae)}dispose(){(0,d.dispose)(this.disposables),this.view.dispose()}}e.AbstractTree=X}),define(ne[585],se([1,0,184,219]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTree=void 0;class y extends L.AbstractTree{constructor(S,f,_,g,C,s={}){super(S,f,_,g,s),this.user=S,this.dataSource=C,this.identityProvider=s.identityProvider}createModel(S,f,_){return new k.ObjectTreeModel(S,f,_)}}e.DataTree=y}),define(ne[316],se([1,0,184,568,219,106,46]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTree=e.ObjectTree=void 0;class f extends L.AbstractTree{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(i,n,t,a,u={}){super(i,n,t,a,u),this.user=i}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}rerender(i){if(i===void 0){this.view.rerender();return}this.model.rerender(i)}hasElement(i){return this.model.has(i)}createModel(i,n,t){return new y.ObjectTreeModel(i,n,t)}}e.ObjectTree=f;class _{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(i,n){this._compressedTreeNodeProvider=i,this.renderer=n,this.templateId=n.templateId,n.onDidChangeTwistieState&&(this.onDidChangeTwistieState=n.onDidChangeTwistieState)}renderTemplate(i){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(i)}}renderElement(i,n,t,a){const u=this.compressedTreeNodeProvider.getCompressedTreeNode(i.element);u.element.elements.length===1?(t.compressedTreeNode=void 0,this.renderer.renderElement(i,n,t.data,a)):(t.compressedTreeNode=u,this.renderer.renderCompressedElements(u,n,t.data,a))}disposeElement(i,n,t,a){var u,h,r,c;t.compressedTreeNode?(h=(u=this.renderer).disposeCompressedElements)===null||h===void 0||h.call(u,t.compressedTreeNode,n,t.data,a):(c=(r=this.renderer).disposeElement)===null||c===void 0||c.call(r,i,n,t.data,a)}disposeTemplate(i){this.renderer.disposeTemplate(i.data)}renderTwistie(i,n){return this.renderer.renderTwistie?this.renderer.renderTwistie(i,n):!1}}ke([D.memoize],_.prototype,"compressedTreeNodeProvider",null);function g(s,i){return i&&Object.assign(Object.assign({},i),{keyboardNavigationLabelProvider:i.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let t;try{t=s().getCompressedTreeNode(n)}catch{return i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return t.element.elements.length===1?i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):i.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})}class C extends f{constructor(i,n,t,a,u={}){const h=()=>this,r=a.map(c=>new _(h,c));super(i,n,t,r,g(h,u))}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}createModel(i,n,t){return new k.CompressibleObjectTreeModel(i,n,t)}updateOptions(i={}){super.updateOptions(i),typeof i.compressionEnabled<"u"&&this.model.setCompressionEnabled(i.compressionEnabled)}getCompressedTreeNode(i=null){return this.model.getCompressedTreeNode(i)}}e.CompressibleObjectTree=C}),define(ne[586],se([1,0,225,184,218,316,139,13,25,26,9,6,46,2,20]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleAsyncDataTree=e.AsyncDataTree=void 0;function a(T){return Object.assign(Object.assign({},T),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function u(T,A){return A.parent?A.parent===T?!0:u(T,A.parent):!1}function h(T,A){return T===A||u(T,A)||u(A,T)}class r{get element(){return this.node.element.element}get children(){return this.node.children.map(A=>new r(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}constructor(A){this.node=A}}class c{constructor(A,N,F){this.renderer=A,this.nodeMapper=N,this.onDidChangeTwistieState=F,this.renderedNodes=new Map,this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear()}}function o(T){return{browserEvent:T.browserEvent,elements:T.elements.map(A=>A.element)}}function d(T){return{browserEvent:T.browserEvent,element:T.element&&T.element.element,target:T.target}}class l extends L.ElementsDragAndDropData{constructor(A){super(A.elements.map(N=>N.element)),this.data=A}}function p(T){return T instanceof L.ElementsDragAndDropData?new l(T):T}class m{constructor(A){this.dnd=A}getDragURI(A){return this.dnd.getDragURI(A.element)}getDragLabel(A,N){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(A.map(F=>F.element),N)}onDragStart(A,N){var F,O;(O=(F=this.dnd).onDragStart)===null||O===void 0||O.call(F,p(A),N)}onDragOver(A,N,F,O,W=!0){return this.dnd.onDragOver(p(A),N&&N.element,F,O)}drop(A,N,F,O){this.dnd.drop(p(A),N&&N.element,F,O)}onDragEnd(A){var N,F;(F=(N=this.dnd).onDragEnd)===null||F===void 0||F.call(N,A)}}function v(T){return T&&Object.assign(Object.assign({},T),{collapseByDefault:!0,identityProvider:T.identityProvider&&{getId(A){return T.identityProvider.getId(A.element)}},dnd:T.dnd&&new m(T.dnd),multipleSelectionController:T.multipleSelectionController&&{isSelectionSingleChangeEvent(A){return T.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))},isSelectionRangeChangeEvent(A){return T.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},A),{element:A.element}))}},accessibilityProvider:T.accessibilityProvider&&Object.assign(Object.assign({},T.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:T.accessibilityProvider.getRole?A=>T.accessibilityProvider.getRole(A.element):()=>"treeitem",isChecked:T.accessibilityProvider.isChecked?A=>{var N;return!!(!((N=T.accessibilityProvider)===null||N===void 0)&&N.isChecked(A.element))}:void 0,getAriaLabel(A){return T.accessibilityProvider.getAriaLabel(A.element)},getWidgetAriaLabel(){return T.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:T.accessibilityProvider.getWidgetRole?()=>T.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:T.accessibilityProvider.getAriaLevel&&(A=>T.accessibilityProvider.getAriaLevel(A.element)),getActiveDescendantId:T.accessibilityProvider.getActiveDescendantId&&(A=>T.accessibilityProvider.getActiveDescendantId(A.element))}),filter:T.filter&&{filter(A,N){return T.filter.filter(A.element,N)}},keyboardNavigationLabelProvider:T.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},T.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(A){return T.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(A.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof T.expandOnlyOnTwistieClick>"u"?void 0:typeof T.expandOnlyOnTwistieClick!="function"?T.expandOnlyOnTwistieClick:A=>T.expandOnlyOnTwistieClick(A.element),defaultFindVisibility:A=>A.hasChildren&&A.stale?1:typeof T.defaultFindVisibility=="number"?T.defaultFindVisibility:typeof T.defaultFindVisibility>"u"?2:T.defaultFindVisibility(A.element)})}function b(T,A){A(T),T.children.forEach(N=>b(N,A))}class w{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return s.Event.map(this.tree.onDidChangeFocus,o)}get onDidChangeSelection(){return s.Event.map(this.tree.onDidChangeSelection,o)}get onMouseDblClick(){return s.Event.map(this.tree.onMouseDblClick,d)}get onPointer(){return s.Event.map(this.tree.onPointer,d)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}constructor(A,N,F,O,W,U={}){this.user=A,this.dataSource=W,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new s.Emitter,this._onDidChangeNodeSlowState=new s.Emitter,this.nodeMapper=new S.WeakMapper(j=>new r(j)),this.disposables=new n.DisposableStore,this.identityProvider=U.identityProvider,this.autoExpandSingleChildren=typeof U.autoExpandSingleChildren>"u"?!1:U.autoExpandSingleChildren,this.sorter=U.sorter,this.collapseByDefault=U.collapseByDefault,this.tree=this.createTree(A,N,F,O,U),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=a({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new c(K,this.nodeMapper,this._onDidChangeNodeSlowState.event)),R=v(W)||{};return new D.ObjectTree(A,N,U,j,R)}updateOptions(A={}){this.tree.updateOptions(A)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(A){this.tree.scrollTop=A}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(A,N){this.tree.layout(A,N)}style(A){this.tree.style(A)}getInput(){return this.root.element}setInput(A,N){return we(this,void 0,void 0,function*(){this.refreshPromises.forEach(O=>O.cancel()),this.refreshPromises.clear(),this.root.element=A;const F=N&&{viewState:N,focus:[],selection:[]};yield this._updateChildren(A,!0,!1,F),F&&(this.tree.setFocus(F.focus),this.tree.setSelection(F.selection)),N&&typeof N.scrollTop=="number"&&(this.scrollTop=N.scrollTop)})}_updateChildren(A=this.root.element,N=!0,F=!1,O,W){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const U=this.getDataNode(A);if(yield this.refreshAndRenderNode(U,N,O,W),F)try{this.tree.rerender(U)}catch{}})}rerender(A){if(A===void 0||A===this.root.element){this.tree.rerender();return}const N=this.getDataNode(A);this.tree.rerender(N)}getNode(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getNode(N===this.root?null:N);return this.nodeMapper.map(F)}collapse(A,N=!1){const F=this.getDataNode(A);return this.tree.collapse(F===this.root?null:F,N)}expand(A,N=!1){return we(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const F=this.getDataNode(A);if(this.tree.hasElement(F)&&!this.tree.isCollapsible(F)||(F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),F!==this.root&&!F.refreshPromise&&!this.tree.isCollapsed(F)))return!1;const O=this.tree.expand(F===this.root?null:F,N);return F.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),O})}setSelection(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setSelection(F,N)}getSelection(){return this.tree.getSelection().map(N=>N.element)}setFocus(A,N){const F=A.map(O=>this.getDataNode(O));this.tree.setFocus(F,N)}getFocus(){return this.tree.getFocus().map(N=>N.element)}reveal(A,N){this.tree.reveal(this.getDataNode(A),N)}getParentElement(A){const N=this.tree.getParentElement(this.getDataNode(A));return N&&N.element}getFirstElementChild(A=this.root.element){const N=this.getDataNode(A),F=this.tree.getFirstElementChild(N===this.root?null:N);return F&&F.element}getDataNode(A){const N=this.nodes.get(A===this.root.element?null:A);if(!N)throw new S.TreeError(this.user,`Data tree node not found: ${A}`);return N}refreshAndRenderNode(A,N,F,O){return we(this,void 0,void 0,function*(){yield this.refreshNode(A,N,F),this.render(A,F,O)})}refreshNode(A,N,F){return we(this,void 0,void 0,function*(){let O;if(this.subTreeRefreshPromises.forEach((W,U)=>{!O&&h(U,A)&&(O=W.then(()=>this.refreshNode(A,N,F)))}),O)return O;if(A!==this.root&&this.tree.getNode(A).collapsed){A.hasChildren=!!this.dataSource.hasChildren(A.element),A.stale=!0;return}return this.doRefreshSubTree(A,N,F)})}doRefreshSubTree(A,N,F){return we(this,void 0,void 0,function*(){let O;A.refreshPromise=new Promise(W=>O=W),this.subTreeRefreshPromises.set(A,A.refreshPromise),A.refreshPromise.finally(()=>{A.refreshPromise=void 0,this.subTreeRefreshPromises.delete(A)});try{const W=yield this.doRefreshNode(A,N,F);A.stale=!1,yield f.Promises.settled(W.map(U=>this.doRefreshSubTree(U,N,F)))}finally{O()}})}doRefreshNode(A,N,F){return we(this,void 0,void 0,function*(){A.hasChildren=!!this.dataSource.hasChildren(A.element);let O;if(!A.hasChildren)O=Promise.resolve(i.Iterable.empty());else{const W=this.doGetChildren(A);if((0,t.isIterable)(W))O=Promise.resolve(W);else{const U=(0,f.timeout)(800);U.then(()=>{A.slow=!0,this._onDidChangeNodeSlowState.fire(A)},j=>null),O=W.finally(()=>U.cancel())}}try{const W=yield O;return this.setChildren(A,W,N,F)}catch(W){if(A!==this.root&&this.tree.hasElement(A)&&this.tree.collapse(A),(0,C.isCancellationError)(W))return[];throw W}finally{A.slow&&(A.slow=!1,this._onDidChangeNodeSlowState.fire(A))}})}doGetChildren(A){let N=this.refreshPromises.get(A);if(N)return N;const F=this.dataSource.getChildren(A.element);return(0,t.isIterable)(F)?this.processChildren(F):(N=(0,f.createCancelablePromise)(()=>we(this,void 0,void 0,function*(){return this.processChildren(yield F)})),this.refreshPromises.set(A,N),N.finally(()=>{this.refreshPromises.delete(A)}))}_onDidChangeCollapseState({node:A,deep:N}){A.element!==null&&!A.collapsed&&A.element.stale&&(N?this.collapse(A.element.element):this.refreshAndRenderNode(A.element,!1).catch(C.onUnexpectedError))}setChildren(A,N,F,O){const W=[...N];if(A.children.length===0&&W.length===0)return[];const U=new Map,j=new Map;for(const G of A.children)if(U.set(G.element,G),this.identityProvider){const Z=this.tree.isCollapsed(G);j.set(G.id,{node:G,collapsed:Z})}const R=[],K=W.map(G=>{const Z=!!this.dataSource.hasChildren(G);if(!this.identityProvider){const B=a({element:G,parent:A,hasChildren:Z});return Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const J=this.identityProvider.getId(G).toString(),X=j.get(J);if(X){const B=X.node;return U.delete(B.element),this.nodes.delete(B.element),this.nodes.set(G,B),B.element=G,B.hasChildren=Z,F?X.collapsed?(B.children.forEach(V=>b(V,Y=>this.nodes.delete(Y.element))),B.children.splice(0,B.children.length),B.stale=!0):R.push(B):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(B.collapsedByDefault=!1,R.push(B)),B}const H=a({element:G,parent:A,id:J,hasChildren:Z});return O&&O.viewState.focus&&O.viewState.focus.indexOf(J)>-1&&O.focus.push(H),O&&O.viewState.selection&&O.viewState.selection.indexOf(J)>-1&&O.selection.push(H),O&&O.viewState.expanded&&O.viewState.expanded.indexOf(J)>-1?R.push(H):Z&&this.collapseByDefault&&!this.collapseByDefault(G)&&(H.collapsedByDefault=!1,R.push(H)),H});for(const G of U.values())b(G,Z=>this.nodes.delete(Z.element));for(const G of K)this.nodes.set(G.element,G);return A.children.splice(0,A.children.length,...K),A!==this.root&&this.autoExpandSingleChildren&&K.length===1&&R.length===0&&(K[0].collapsedByDefault=!1,R.push(K[0])),R}render(A,N,F){const O=A.children.map(U=>this.asTreeElement(U,N)),W=F&&Object.assign(Object.assign({},F),{diffIdentityProvider:F.diffIdentityProvider&&{getId(U){return F.diffIdentityProvider.getId(U.element)}}});this.tree.setChildren(A===this.root?null:A,O,W),A!==this.root&&this.tree.setCollapsible(A,A.hasChildren),this._onDidRender.fire()}asTreeElement(A,N){if(A.stale)return{element:A,collapsible:A.hasChildren,collapsed:!0};let F;return N&&N.viewState.expanded&&A.id&&N.viewState.expanded.indexOf(A.id)>-1?F=!1:F=A.collapsedByDefault,A.collapsedByDefault=void 0,{element:A,children:A.hasChildren?i.Iterable.map(A.children,O=>this.asTreeElement(O,N)):[],collapsible:A.hasChildren,collapsed:F}}processChildren(A){return this.sorter&&(A=[...A].sort(this.sorter.compare.bind(this.sorter))),A}dispose(){this.disposables.dispose()}}e.AsyncDataTree=w;class E{get element(){return{elements:this.node.element.elements.map(A=>A.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(A=>new E(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}constructor(A){this.node=A}}class I{constructor(A,N,F,O){this.renderer=A,this.nodeMapper=N,this.compressibleNodeMapperProvider=F,this.onDidChangeTwistieState=O,this.renderedNodes=new Map,this.disposables=[],this.templateId=A.templateId}renderTemplate(A){return{templateData:this.renderer.renderTemplate(A)}}renderElement(A,N,F,O){this.renderer.renderElement(this.nodeMapper.map(A),N,F.templateData,O)}renderCompressedElements(A,N,F,O){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}renderTwistie(A,N){return A.slow?(N.classList.add(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(N.classList.remove(...g.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(A,N,F,O){var W,U;(U=(W=this.renderer).disposeElement)===null||U===void 0||U.call(W,this.nodeMapper.map(A),N,F.templateData,O)}disposeCompressedElements(A,N,F,O){var W,U;(U=(W=this.renderer).disposeCompressedElements)===null||U===void 0||U.call(W,this.compressibleNodeMapperProvider().map(A),N,F.templateData,O)}disposeTemplate(A){this.renderer.disposeTemplate(A.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,n.dispose)(this.disposables)}}function M(T){const A=T&&v(T);return A&&Object.assign(Object.assign({},A),{keyboardNavigationLabelProvider:A.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},A.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(N){return T.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(N.map(F=>F.element))}})})}class P extends w{constructor(A,N,F,O,W,U,j={}){super(A,N,F,W,U,j),this.compressionDelegate=O,this.compressibleNodeMapper=new S.WeakMapper(R=>new E(R)),this.filter=j.filter}createTree(A,N,F,O,W){const U=new k.ComposedTreeDelegate(F),j=O.map(K=>new I(K,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),R=M(W)||{};return new D.CompressibleObjectTree(A,N,U,j,R)}asTreeElement(A,N){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(A.element)},super.asTreeElement(A,N))}updateOptions(A={}){this.tree.updateOptions(A)}render(A,N){if(!this.identityProvider)return super.render(A,N);const F=J=>this.identityProvider.getId(J).toString(),O=J=>{const X=new Set;for(const H of J){const B=this.tree.getCompressedTreeNode(H===this.root?null:H);if(B.element)for(const V of B.element.elements)X.add(F(V.element))}return X},W=O(this.tree.getSelection()),U=O(this.tree.getFocus());super.render(A,N);const j=this.getSelection();let R=!1;const K=this.getFocus();let G=!1;const Z=J=>{const X=J.element;if(X)for(let H=0;H{const F=this.filter.filter(N,1),O=x(F);if(O===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return O===1})),super.processChildren(A)}}e.CompressibleAsyncDataTree=P;function x(T){return typeof T=="boolean"?T?1:0:(0,y.isFilterResult)(T)?(0,y.getVisibleState)(T.visibility):(0,y.getVisibleState)(T)}}),define(ne[317],se([1,0,9,6,2,47,17,11]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.SimpleWorkerServer=e.SimpleWorkerClient=e.logOnceWebWorkerWarning=void 0;const _="$initialize";let g=!1;function C(p){S.isWeb&&(g||(g=!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(p.message))}e.logOnceWebWorkerWarning=C;class s{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.method=b,this.args=w,this.type=0}}class i{constructor(m,v,b,w){this.vsWorker=m,this.seq=v,this.res=b,this.err=w,this.type=1}}class n{constructor(m,v,b,w){this.vsWorker=m,this.req=v,this.eventName=b,this.arg=w,this.type=2}}class t{constructor(m,v,b){this.vsWorker=m,this.req=v,this.event=b,this.type=3}}class a{constructor(m,v){this.vsWorker=m,this.req=v,this.type=4}}class u{constructor(m){this._workerId=-1,this._handler=m,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(m){this._workerId=m}sendMessage(m,v){const b=String(++this._lastSentReq);return new Promise((w,E)=>{this._pendingReplies[b]={resolve:w,reject:E},this._send(new s(this._workerId,b,m,v))})}listen(m,v){let b=null;const w=new k.Emitter({onWillAddFirstListener:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,w),this._send(new n(this._workerId,b,m,v))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(b),this._send(new a(this._workerId,b)),b=null}});return w.event}handleMessage(m){!m||!m.vsWorker||this._workerId!==-1&&m.vsWorker!==this._workerId||this._handleMessage(m)}_handleMessage(m){switch(m.type){case 1:return this._handleReplyMessage(m);case 0:return this._handleRequestMessage(m);case 2:return this._handleSubscribeEventMessage(m);case 3:return this._handleEventMessage(m);case 4:return this._handleUnsubscribeEventMessage(m)}}_handleReplyMessage(m){if(!this._pendingReplies[m.seq]){console.warn("Got reply to unknown seq");return}const v=this._pendingReplies[m.seq];if(delete this._pendingReplies[m.seq],m.err){let b=m.err;m.err.$isError&&(b=new Error,b.name=m.err.name,b.message=m.err.message,b.stack=m.err.stack),v.reject(b);return}v.resolve(m.res)}_handleRequestMessage(m){const v=m.req;this._handler.handleMessage(m.method,m.args).then(w=>{this._send(new i(this._workerId,v,w,void 0))},w=>{w.detail instanceof Error&&(w.detail=(0,L.transformErrorForSerialization)(w.detail)),this._send(new i(this._workerId,v,void 0,(0,L.transformErrorForSerialization)(w)))})}_handleSubscribeEventMessage(m){const v=m.req,b=this._handler.handleEvent(m.eventName,m.arg)(w=>{this._send(new t(this._workerId,v,w))});this._pendingEvents.set(v,b)}_handleEventMessage(m){if(!this._pendingEmitters.has(m.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(m.req).fire(m.event)}_handleUnsubscribeEventMessage(m){if(!this._pendingEvents.has(m.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(m.req).dispose(),this._pendingEvents.delete(m.req)}_send(m){const v=[];if(m.type===0)for(let b=0;b{this._protocol.handleMessage(T)},T=>{w?.(T)})),this._protocol=new u({sendMessage:(T,A)=>{this._worker.postMessage(T,A)},handleMessage:(T,A)=>{if(typeof b[T]!="function")return Promise.reject(new Error("Missing method "+T+" on main thread host."));try{return Promise.resolve(b[T].apply(b,A))}catch(N){return Promise.reject(N)}},handleEvent:(T,A)=>{if(c(T)){const N=b[T].call(b,A);if(typeof N!="function")throw new Error(`Missing dynamic event ${T} on main thread host.`);return N}if(r(T)){const N=b[T];if(typeof N!="function")throw new Error(`Missing event ${T} on main thread host.`);return N}throw new Error(`Malformed event name ${T}`)}}),this._protocol.setWorkerId(this._worker.getId());let E=null;const I=globalThis.require;typeof I<"u"&&typeof I.getConfig=="function"?E=I.getConfig():typeof globalThis.requirejs<"u"&&(E=globalThis.requirejs.s.contexts._.config);const M=(0,D.getAllMethodNames)(b);this._onModuleLoaded=this._protocol.sendMessage(_,[this._worker.getId(),JSON.parse(JSON.stringify(E)),v,M]);const P=(T,A)=>this._request(T,A),x=(T,A)=>this._protocol.listen(T,A);this._lazyProxy=new Promise((T,A)=>{w=A,this._onModuleLoaded.then(N=>{T(o(N,P,x))},N=>{A(N),this._onError("Worker failed to load "+v,N)})})}getProxyObject(){return this._lazyProxy}_request(m,v){return new Promise((b,w)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(m,v).then(b,w)},w)})}_onError(m,v){console.error(m),console.info(v)}}e.SimpleWorkerClient=h;function r(p){return p[0]==="o"&&p[1]==="n"&&f.isUpperAsciiLetter(p.charCodeAt(2))}function c(p){return/^onDynamic/.test(p)&&f.isUpperAsciiLetter(p.charCodeAt(9))}function o(p,m,v){const b=I=>function(){const M=Array.prototype.slice.call(arguments,0);return m(I,M)},w=I=>function(M){return v(I,M)},E={};for(const I of p){if(c(I)){E[I]=w(I);continue}if(r(I)){E[I]=v(I,void 0);continue}E[I]=b(I)}return E}class d{constructor(m,v){this._requestHandlerFactory=v,this._requestHandler=null,this._protocol=new u({sendMessage:(b,w)=>{m(b,w)},handleMessage:(b,w)=>this._handleMessage(b,w),handleEvent:(b,w)=>this._handleEvent(b,w)})}onmessage(m){this._protocol.handleMessage(m)}_handleMessage(m,v){if(m===_)return this.initialize(v[0],v[1],v[2],v[3]);if(!this._requestHandler||typeof this._requestHandler[m]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+m));try{return Promise.resolve(this._requestHandler[m].apply(this._requestHandler,v))}catch(b){return Promise.reject(b)}}_handleEvent(m,v){if(!this._requestHandler)throw new Error("Missing requestHandler");if(c(m)){const b=this._requestHandler[m].call(this._requestHandler,v);if(typeof b!="function")throw new Error(`Missing dynamic event ${m} on request handler.`);return b}if(r(m)){const b=this._requestHandler[m];if(typeof b!="function")throw new Error(`Missing event ${m} on request handler.`);return b}throw new Error(`Malformed event name ${m}`)}initialize(m,v,b,w){this._protocol.setWorkerId(m);const M=o(w,(P,x)=>this._protocol.sendMessage(P,x),(P,x)=>this._protocol.listen(P,x));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(M),Promise.resolve((0,D.getAllMethodNames)(this._requestHandler))):(v&&(typeof v.baseUrl<"u"&&delete v.baseUrl,typeof v.paths<"u"&&typeof v.paths.vs<"u"&&delete v.paths.vs,typeof v.trustedTypesPolicy!==void 0&&delete v.trustedTypesPolicy,v.catchError=!0,globalThis.require.config(v)),new Promise((P,x)=>{(globalThis.require||Q)([b],A=>{if(this._requestHandler=A.create(M),!this._requestHandler){x(new Error("No RequestHandler!"));return}P((0,D.getAllMethodNames)(this._requestHandler))},x)}))}}e.SimpleWorkerServer=d;function l(p){return new d(p,null)}e.create=l}),define(ne[587],se([1,0,89,9,54,317]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultWorkerFactory=e.getWorkerBootstrapUrl=void 0;const S=(0,L.createTrustedTypesPolicy)("defaultWorkerFactory",{createScriptURL:i=>i});function f(i){const n=globalThis.MonacoEnvironment;if(n){if(typeof n.getWorker=="function")return n.getWorker("workerMain.js",i);if(typeof n.getWorkerUrl=="function"){const t=n.getWorkerUrl("workerMain.js",i);return new Worker(S?S.createScriptURL(t):t,{name:i})}}if(typeof Q=="function"){const t=Q.toUrl("vs/base/worker/workerMain.js"),a=_(t,i);return new Worker(S?S.createScriptURL(a):a,{name:i})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function _(i,n){if(/^((http:)|(https:)|(file:))/.test(i)&&i.substring(0,globalThis.origin.length)!==globalThis.origin){const r="vs/base/worker/defaultWorkerFactory.js",c=Q.toUrl(r).slice(0,-r.length),o=`/*${n}*/globalThis.MonacoEnvironment={baseUrl: '${c}'};const ttPolicy = globalThis.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });importScripts(ttPolicy?.createScriptURL('${i}') ?? '${i}');/*${n}*/`,d=new Blob([o],{type:"application/javascript"});return URL.createObjectURL(d)}const t=i.lastIndexOf("?"),a=i.lastIndexOf("#",t),u=t>0?new URLSearchParams(i.substring(t+1,~a?a:void 0)):new URLSearchParams;return y.COI.addSearchParam(u,!0,!0),u.toString()?`${i}?${u.toString()}#${n}`:`${i}#${n}`}e.getWorkerBootstrapUrl=_;function g(i){return typeof i.then=="function"}class C{constructor(n,t,a,u,h){this.id=t,this.label=a;const r=f(a);g(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(n,[]),this.worker.then(c=>{c.onmessage=function(o){u(o.data)},c.onmessageerror=h,typeof c.addEventListener=="function"&&c.addEventListener("error",h)})}getId(){return this.id}postMessage(n,t){var a;(a=this.worker)===null||a===void 0||a.then(u=>{try{u.postMessage(n,t)}catch(h){(0,k.onUnexpectedError)(h),(0,k.onUnexpectedError)(new Error(`FAILED to post message to '${this.label}'-worker`,{cause:h}))}})}dispose(){var n;(n=this.worker)===null||n===void 0||n.then(t=>t.terminate()),this.worker=null}}class s{constructor(n){this._label=n,this._webWorkerFailedBeforeError=!1}create(n,t,a){const u=++s.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new C(n,u,this._label||"anonymous"+u,t,h=>{(0,D.logOnceWebWorkerWarning)(h),this._webWorkerFailedBeforeError=h,a(h)})}}e.DefaultWorkerFactory=s,s.LAST_WORKER_ID=0}),define(ne[588],se([1,0,13,6,2,221,20]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageDatabase=e.Storage=e.StorageState=e.StorageHint=void 0;var f;(function(s){s[s.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",s[s.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY"})(f||(e.StorageHint=f={}));var _;(function(s){s[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed"})(_||(e.StorageState=_={}));class g extends y.Disposable{constructor(i,n=Object.create(null)){super(),this.database=i,this.options=n,this._onDidChangeStorage=this._register(new k.PauseableEmitter),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=_.None,this.cache=new Map,this.flushDelayer=new L.ThrottledDelayer(g.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(i=>this.onDidChangeItemsExternal(i)))}onDidChangeItemsExternal(i){var n,t;this._onDidChangeStorage.pause();try{(n=i.changed)===null||n===void 0||n.forEach((a,u)=>this.acceptExternal(u,a)),(t=i.deleted)===null||t===void 0||t.forEach(a=>this.acceptExternal(a,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(i,n){if(this.state===_.Closed)return;let t=!1;(0,S.isUndefinedOrNull)(n)?t=this.cache.delete(i):this.cache.get(i)!==n&&(this.cache.set(i,n),t=!0),t&&this._onDidChangeStorage.fire({key:i,external:!0})}get(i,n){const t=this.cache.get(i);return(0,S.isUndefinedOrNull)(t)?n:t}getBoolean(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:t==="true"}getNumber(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:parseInt(t,10)}set(i,n,t=!1){return we(this,void 0,void 0,function*(){if(this.state===_.Closed)return;if((0,S.isUndefinedOrNull)(n))return this.delete(i,t);const a=(0,S.isObject)(n)||Array.isArray(n)?(0,D.stringify)(n):String(n);if(this.cache.get(i)!==a)return this.cache.set(i,a),this.pendingInserts.set(i,a),this.pendingDeletes.delete(i),this._onDidChangeStorage.fire({key:i,external:t}),this.doFlush()})}delete(i,n=!1){return we(this,void 0,void 0,function*(){if(!(this.state===_.Closed||!this.cache.delete(i)))return this.pendingDeletes.has(i)||this.pendingDeletes.add(i),this.pendingInserts.delete(i),this._onDidChangeStorage.fire({key:i,external:n}),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 i={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(i).finally(()=>{var n;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(n=this.whenFlushedCallbacks.pop())===null||n===void 0||n()})})}doFlush(i){return we(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),i)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}e.Storage=g,g.DEFAULT_FLUSH_DELAY=100;class C{constructor(){this.onDidChangeItemsExternal=k.Event.None,this.items=new Map}updateItems(i){var n,t;return we(this,void 0,void 0,function*(){(n=i.insert)===null||n===void 0||n.forEach((a,u)=>this.items.set(u,a)),(t=i.delete)===null||t===void 0||t.forEach(a=>this.items.delete(a))})}}e.InMemoryStorageDatabase=C}),define(ne[185],se([1,0,52,7,81,44,260,13,6,2,107,11,273,24]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaWrapper=e.ClipboardEventUtils=e.TextAreaInput=e.InMemoryClipboardMetadataManager=e.CopyOptions=e.TextAreaSyntethicEvents=void 0;var t;(function(c){c.Tap="-monaco-textarea-synthetic-tap"})(t||(e.TextAreaSyntethicEvents=t={})),e.CopyOptions={forceCopyWithSyntaxHighlighting:!1};class a{constructor(){this._lastState=null}set(o,d){this._lastState={lastCopiedValue:o,data:d}}get(o){return this._lastState&&this._lastState.lastCopiedValue===o?this._lastState.data:(this._lastState=null,null)}}e.InMemoryClipboardMetadataManager=a,a.INSTANCE=new a;class u{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(o){o=o||"";const d={text:o,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=o.length,d}}class h extends g.Disposable{get textAreaState(){return this._textAreaState}constructor(o,d,l,p){super(),this._host=o,this._textArea=d,this._OS=l,this._browser=p,this._onFocus=this._register(new _.Emitter),this.onFocus=this._onFocus.event,this._onBlur=this._register(new _.Emitter),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new _.Emitter),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new _.Emitter),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new _.Emitter),this.onCut=this._onCut.event,this._onPaste=this._register(new _.Emitter),this.onPaste=this._onPaste.event,this._onType=this._register(new _.Emitter),this.onType=this._onType.event,this._onCompositionStart=this._register(new _.Emitter),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new _.Emitter),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new _.Emitter),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new _.Emitter),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new f.RunOnceScheduler(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new f.RunOnceScheduler(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=i.TextAreaState.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let m=null;this._register(this._textArea.onKeyDown(v=>{const b=new D.StandardKeyboardEvent(v);(b.keyCode===114||this._currentComposition&&b.keyCode===1)&&b.stopPropagation(),b.equals(9)&&b.preventDefault(),m=b,this._onKeyDown.fire(b)})),this._register(this._textArea.onKeyUp(v=>{const b=new D.StandardKeyboardEvent(v);this._onKeyUp.fire(b)})),this._register(this._textArea.onCompositionStart(v=>{i._debugComposition&&console.log("[compositionstart]",v);const b=new u;if(this._currentComposition){this._currentComposition=b;return}if(this._currentComposition=b,this._OS===2&&m&&m.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===v.data&&(m.code==="ArrowRight"||m.code==="ArrowLeft")){i._debugComposition&&console.log("[compositionstart] Handling long press case on macOS + arrow key",v),b.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=>{i._debugComposition&&console.log("[compositionupdate]",v);const b=this._currentComposition;if(!b)return;if(this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionUpdate.fire(v);return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionUpdate.fire(v)})),this._register(this._textArea.onCompositionEnd(v=>{i._debugComposition&&console.log("[compositionend]",v);const b=this._currentComposition;if(!b)return;if(this._currentComposition=null,this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),I=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(I),this._onCompositionEnd.fire();return}const w=b.handleCompositionUpdate(v.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(v=>{if(i._debugComposition&&console.log("[input]",v),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const b=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),w=i.TextAreaState.deduceInput(this._textAreaState,b,this._OS===2);w.replacePrevCharCnt===0&&w.text.length===1&&(s.isHighSurrogate(w.text.charCodeAt(0))||w.text.charCodeAt(0)===127)||(this._textAreaState=b,(w.text!==""||w.replacePrevCharCnt!==0||w.replaceNextCharCnt!==0||w.positionDelta!==0)&&this._onType.fire(w))})),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[b,w]=e.ClipboardEventUtils.getTextData(v.clipboardData);b&&(w=w||a.INSTANCE.get(b),this._onPaste.fire({text:b,metadata:w}))})),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 o=0;return k.addDisposableListener(document,"selectionchange",d=>{if(S.inputLatency.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const l=Date.now(),p=l-o;if(o=l,p<5)return;const m=l-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),m<100||!this._textAreaState.selection)return;const v=this._textArea.getValue();if(this._textAreaState.value!==v)return;const b=this._textArea.getSelectionStart(),w=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===b&&this._textAreaState.selectionEnd===w)return;const E=this._textAreaState.deduceEditorPosition(b),I=this._host.deduceModelPosition(E[0],E[1],E[2]),M=this._textAreaState.deduceEditorPosition(w),P=this._host.deduceModelPosition(M[0],M[1],M[2]),x=new n.Selection(I.lineNumber,I.column,P.lineNumber,P.column);this._onSelectionChangeRequest.fire(x)})}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(o){this._hasFocus!==o&&(this._hasFocus=o,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(o,d){this._hasFocus||(d=d.collapseSelection()),d.writeToTextArea(o,this._textArea,this._hasFocus),this._textAreaState=d}writeScreenReaderContent(o){this._currentComposition||this._setAndWriteTextAreaState(o,this._host.getScreenReaderContent())}_ensureClipboardGetsEditorSelection(o){const d=this._host.getDataToCopy(),l={version:1,isFromEmptySelection:d.isFromEmptySelection,multicursorText:d.multicursorText,mode:d.mode};a.INSTANCE.set(this._browser.isFirefox?d.text.replace(/\r\n/g,` -`):d.text,l),o.preventDefault(),o.clipboardData&&e.ClipboardEventUtils.setTextData(o.clipboardData,d.text,d.html,l)}}e.TextAreaInput=h,e.ClipboardEventUtils={getTextData(c){const o=c.getData(C.Mimes.text);let d=null;const l=c.getData("vscode-editor-data");if(typeof l=="string")try{d=JSON.parse(l),d.version!==1&&(d=null)}catch{}return o.length===0&&d===null&&c.files.length>0?[Array.prototype.slice.call(c.files,0).map(m=>m.name).join(` -`),null]:[o,d]},setTextData(c,o,d,l){c.setData(C.Mimes.text,o),typeof d=="string"&&c.setData("text/html",d),c.setData("vscode-editor-data",JSON.stringify(l))}};class r extends g.Disposable{constructor(o){super(),this._actual=o,this.onKeyDown=this._register(new y.DomEmitter(this._actual,"keydown")).event,this.onKeyUp=this._register(new y.DomEmitter(this._actual,"keyup")).event,this.onCompositionStart=this._register(new y.DomEmitter(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new y.DomEmitter(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new y.DomEmitter(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new y.DomEmitter(this._actual,"beforeinput")).event,this.onInput=this._register(new y.DomEmitter(this._actual,"input")).event,this.onCut=this._register(new y.DomEmitter(this._actual,"cut")).event,this.onCopy=this._register(new y.DomEmitter(this._actual,"copy")).event,this.onPaste=this._register(new y.DomEmitter(this._actual,"paste")).event,this.onFocus=this._register(new y.DomEmitter(this._actual,"focus")).event,this.onBlur=this._register(new y.DomEmitter(this._actual,"blur")).event,this._onSyntheticTap=this._register(new _.Emitter),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>S.inputLatency.onKeyDown())),this._register(this.onBeforeInput(()=>S.inputLatency.onBeforeInput())),this._register(this.onInput(()=>S.inputLatency.onInput())),this._register(this.onKeyUp(()=>S.inputLatency.onKeyUp())),this._register(k.addDisposableListener(this._actual,t.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const o=k.getShadowRoot(this._actual);return o?o.activeElement===this._actual:k.isInDOM(this._actual)?document.activeElement===this._actual:!1}setIgnoreSelectionChangeTime(o){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(o,d){const l=this._actual;l.value!==d&&(this.setIgnoreSelectionChangeTime("setValue"),l.value=d)}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(o,d,l){const p=this._actual;let m=null;const v=k.getShadowRoot(p);v?m=v.activeElement:m=document.activeElement;const b=m===p,w=p.selectionStart,E=p.selectionEnd;if(b&&w===d&&E===l){L.isFirefox&&window.parent!==window&&p.focus();return}if(b){this.setIgnoreSelectionChangeTime("setSelectionRange"),p.setSelectionRange(d,l),L.isFirefox&&window.parent!==window&&p.focus();return}try{const I=k.saveParentsScrollTop(p);this.setIgnoreSelectionChangeTime("setSelectionRange"),p.focus(),p.setSelectionRange(d,l),k.restoreParentsScrollTop(p,I)}catch{}}}e.TextAreaWrapper=r}),define(ne[589],se([1,0,7,35,53]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContentWidgets=void 0;class D extends y.ViewPart{constructor(i,n){super(i),this._viewDomNode=n,this._widgets={},this.domNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,k.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onConfigurationChanged(i);return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLineMappingChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesDeleted(i){return this._updateAnchorsViewPositions(),!0}onLinesInserted(i){return this._updateAnchorsViewPositions(),!0}onScrollChanged(i){return!0}onZonesChanged(i){return!0}_updateAnchorsViewPositions(){const i=Object.keys(this._widgets);for(const n of i)this._widgets[n].updateAnchorViewPosition()}addWidget(i){const n=new S(this._context,this._viewDomNode,i);this._widgets[n.id]=n,n.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(n.domNode):this.domNode.appendChild(n.domNode),this.setShouldRender()}setWidgetPosition(i,n,t,a,u){this._widgets[i.getId()].setPosition(n,t,a,u),this.setShouldRender()}removeWidget(i){const n=i.getId();if(this._widgets.hasOwnProperty(n)){const t=this._widgets[n];delete this._widgets[n];const a=t.domNode.domNode;a.parentNode.removeChild(a),a.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(i){return this._widgets.hasOwnProperty(i)?this._widgets[i].suppressMouseDown:!1}onBeforeRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onBeforeRender(i)}prepareRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].prepareRender(i)}render(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].render(i)}}e.ViewContentWidgets=D;class S{constructor(i,n,t){this._primaryAnchor=new f(null,null),this._secondaryAnchor=new f(null,null),this._context=i,this._viewDomNode=n,this._actual=t,this.domNode=(0,k.createFastDomNode)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const a=this._context.configuration.options,u=a.get(142);this._fixedOverflowWidgets=a.get(41),this._contentWidth=u.contentWidth,this._contentLeft=u.contentLeft,this._lineHeight=a.get(65),this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(i){const n=this._context.configuration.options;if(this._lineHeight=n.get(65),i.hasChanged(142)){const t=n.get(142);this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._maxWidth=this._getMaxWidth()}}updateAnchorViewPosition(){this._setPosition(this._affinity,this._primaryAnchor.modelPosition,this._secondaryAnchor.modelPosition)}_setPosition(i,n,t){this._affinity=i,this._primaryAnchor=a(n,this._context.viewModel,this._affinity),this._secondaryAnchor=a(t,this._context.viewModel,this._affinity);function a(u,h,r){if(!u)return new f(null,null);const c=h.model.validatePosition(u);if(h.coordinatesConverter.modelPositionIsVisible(c)){const o=h.coordinatesConverter.convertModelPositionToViewPosition(c,r??void 0);return new f(u,o)}return new f(u,null)}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(i,n,t,a){this._setPosition(a,i,n),this._preference=t,this._primaryAnchor.viewPosition&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(i,n,t,a){const u=i.top,h=u,r=i.top+i.height,c=a.viewportHeight-r,o=u-t,d=h>=t,l=r,p=c>=t;let m=i.left;return m+n>a.scrollLeft+a.viewportWidth&&(m=a.scrollLeft+a.viewportWidth-n),mc){const d=o-(c-a);o-=d,t-=d}if(o=m,w=o+t<=d.height-v;return this._fixedOverflowWidgets?{fitsAbove:b,aboveTop:Math.max(c,m),fitsBelow:w,belowTop:o,left:p}:{fitsAbove:b,aboveTop:u,fitsBelow:w,belowTop:h,left:l}}_prepareRenderWidgetAtExactPositionOverflowing(i){return new _(i.top,i.left+this._contentLeft)}_getAnchorsCoordinates(i){var n,t;const a=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),u=((n=this._secondaryAnchor.viewPosition)===null||n===void 0?void 0:n.lineNumber)===((t=this._primaryAnchor.viewPosition)===null||t===void 0?void 0:t.lineNumber)?this._secondaryAnchor.viewPosition:null,h=r(u,this._affinity,this._lineHeight);return{primary:a,secondary:h};function r(c,o,d){if(!c)return null;const l=i.visibleRangeForPosition(c);if(!l)return null;const p=c.column===1&&o===3?0:l.left,m=i.getVerticalOffsetForLineNumber(c.lineNumber)-i.scrollTop;return new g(m,p,d)}}_reduceAnchorCoordinates(i,n,t){if(!n)return i;const a=this._context.configuration.options.get(49);let u=n.left;return ui.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}prepareRender(i){this._renderData=this._prepareRenderWidget(i)}render(i){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+i.scrollTop-i.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,this._renderData.position)}}class f{constructor(i,n){this.modelPosition=i,this.viewPosition=n}}class _{constructor(i,n){this.top=i,this.left=n,this._coordinateBrand=void 0}}class g{constructor(i,n,t){this.top=i,this.left=n,this.height=t,this._anchorCoordinateBrand=void 0}}function C(s,i,...n){try{return s.call(i,...n)}catch{return null}}}),define(ne[590],se([1,0,130,2,42]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorSash=void 0;class D extends k.Disposable{constructor(f,_,g){super(),this._options=f,this._domNode=_,this._dimensions=g,this._sashRatio=(0,y.observableValue)("sashRatio",void 0),this.sashLeft=(0,y.derived)(C=>{var s;const i=(s=this._sashRatio.read(C))!==null&&s!==void 0?s:this._options.splitViewDefaultRatio.read(C);return this._computeSashLeft(i,C)}),this._sash=this._register(new L.Sash(this._domNode,{getVerticalSashTop:C=>0,getVerticalSashLeft:C=>this.sashLeft.get(),getVerticalSashHeight:C=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(C=>{const s=this._dimensions.width.get(),i=this._computeSashLeft((this._startSashPosition+(C.currentX-C.startX))/s,void 0);this._sashRatio.set(i/s,void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._sashRatio.set(void 0,void 0))),this._register((0,y.autorun)(C=>{const s=this._options.enableSplitViewResizing.read(C);this._sash.state=s?3:0,this.sashLeft.read(C),this._sash.layout()}))}setBoundarySashes(f){this._sash.orthogonalEndSash=f.bottom}_computeSashLeft(f,_){const g=this._dimensions.width.read(_),C=Math.floor(this._options.splitViewDefaultRatio.read(_)*g),s=this._options.enableSplitViewResizing.read(_)?Math.floor(f*g):C,i=100;return g<=i*2?C:sg-i?g-i:s}}e.DiffEditorSash=D}),define(ne[318],se([1,0,13,19,2,42,102,66,276,109,179,278]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRegion=e.DiffMapping=e.DiffState=e.DiffEditorViewModel=void 0;class i extends y.Disposable{setActiveMovedText(c){this._activeMovedText.set(c,void 0)}constructor(c,o,d){super(),this.model=c,this._options=o,this._isDiffUpToDate=(0,D.observableValue)("isDiffUpToDate",!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,D.observableValue)("diff",void 0),this.diff=this._diff,this._unchangedRegions=(0,D.observableValue)("unchangedRegion",{regions:[],originalDecorationIds:[],modifiedDecorationIds:[]}),this.unchangedRegions=(0,D.derived)(b=>this._options.hideUnchangedRegions.read(b)?this._unchangedRegions.read(b).regions:((0,D.transaction)(w=>{for(const E of this._unchangedRegions.get().regions)E.collapseAll(w)}),[])),this.movedTextToCompare=(0,D.observableValue)("movedTextToCompare",void 0),this._activeMovedText=(0,D.observableValue)("activeMovedText",void 0),this._hoveredMovedText=(0,D.observableValue)("hoveredMovedText",void 0),this.activeMovedText=(0,D.derived)(b=>{var w,E;return(E=(w=this.movedTextToCompare.read(b))!==null&&w!==void 0?w:this._hoveredMovedText.read(b))!==null&&E!==void 0?E:this._activeMovedText.read(b)}),this._cancellationTokenSource=new k.CancellationTokenSource,this._register((0,y.toDisposable)(()=>this._cancellationTokenSource.cancel()));const l=(0,D.observableSignal)("contentChangedSignal"),p=this._register(new L.RunOnceScheduler(()=>l.trigger(void 0),200)),m=(b,w,E)=>{const I=a.fromDiffs(b.changes,c.original.getLineCount(),c.modified.getLineCount(),this._options.hideUnchangedRegionsminimumLineCount.read(E),this._options.hideUnchangedRegionsContextLineCount.read(E)),M=this._unchangedRegions.get(),P=M.originalDecorationIds.map(N=>c.original.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),x=M.modifiedDecorationIds.map(N=>c.modified.getDecorationRange(N)).filter(N=>!!N).map(N=>f.LineRange.fromRange(N)),T=c.original.deltaDecorations(M.originalDecorationIds,I.map(N=>({range:N.originalRange.toInclusiveRange(),options:{description:"unchanged"}}))),A=c.modified.deltaDecorations(M.modifiedDecorationIds,I.map(N=>({range:N.modifiedRange.toInclusiveRange(),options:{description:"unchanged"}})));for(const N of I)for(let F=0;F{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()})),this._register(c.original.onDidChangeContent(b=>{if(this._diff.get()){const E=C.TextEditInfo.fromModelContentChanges(b.changes),I=(this._lastDiff,c.original,c.modified,void 0);I&&(this._lastDiff=I,(0,D.transaction)(M=>{this._diff.set(n.fromDiffResult(this._lastDiff),M),m(I,M);const P=this.movedTextToCompare.get();this.movedTextToCompare.set(P?this._lastDiff.moves.find(x=>x.lineRangeMapping.modified.intersect(P.lineRangeMapping.modified)):void 0,M)}))}p.schedule()}));const v=(0,D.observableSignalFromEvent)("documentDiffProviderOptionChanged",d.onDidChange);this._register((0,D.autorunWithStore)((b,w)=>we(this,void 0,void 0,function*(){var E,I;this._options.hideUnchangedRegionsminimumLineCount.read(b),this._options.hideUnchangedRegionsContextLineCount.read(b),p.cancel(),l.read(b),v.read(b),(0,S.readHotReloadableExport)(_.AdvancedLinesDiffComputer,b),this._isDiffUpToDate.set(!1,void 0);let M=[];w.add(c.original.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);M=(0,s.combineTextEditInfos)(M,A)}));let P=[];w.add(c.modified.onDidChangeContent(T=>{const A=C.TextEditInfo.fromModelContentChanges(T.changes);P=(0,s.combineTextEditInfos)(P,A)}));let x=yield d.computeDiff(c.original,c.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(b),maxComputationTimeMs:this._options.maxComputationTimeMs.read(b),computeMoves:this._options.showMoves.read(b)},this._cancellationTokenSource.token);this._cancellationTokenSource.token.isCancellationRequested||(x=(E=(c.original,c.modified,void 0))!==null&&E!==void 0?E:x,x=(I=(c.original,c.modified,void 0))!==null&&I!==void 0?I:x,(0,D.transaction)(T=>{m(x,T),this._lastDiff=x;const A=n.fromDiffResult(x);this._diff.set(A,T),this._isDiffUpToDate.set(!0,T);const N=this.movedTextToCompare.get();this.movedTextToCompare.set(N?this._lastDiff.moves.find(F=>F.lineRangeMapping.modified.intersect(N.lineRangeMapping.modified)):void 0,T)}))})))}ensureModifiedLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenModifiedRange(void 0).contains(c)){p.showModifiedLine(c,o);return}}ensureOriginalLineIsVisible(c,o){var d;if(((d=this.diff.get())===null||d===void 0?void 0:d.mappings.length)===0)return;const l=this._unchangedRegions.get().regions;for(const p of l)if(p.getHiddenOriginalRange(void 0).contains(c)){p.showOriginalLine(c,o);return}}waitForDiff(){return we(this,void 0,void 0,function*(){yield(0,D.waitForState)(this.isDiffUpToDate,c=>c)})}serializeState(){return{collapsedRegions:this._unchangedRegions.get().regions.map(o=>({range:o.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(c){const o=c.collapsedRegions.map(l=>f.LineRange.deserialize(l.range)),d=this._unchangedRegions.get();(0,D.transaction)(l=>{for(const p of d.regions)for(const m of o)if(p.modifiedRange.intersect(m)){p.setHiddenModifiedRange(m,l);break}})}}e.DiffEditorViewModel=i;class n{static fromDiffResult(c){return new n(c.changes.map(o=>new t(o)),c.moves||[],c.identical,c.quitEarly)}constructor(c,o,d,l){this.mappings=c,this.movedTexts=o,this.identical=d,this.quitEarly=l}}e.DiffState=n;class t{constructor(c){this.lineRangeMapping=c}}e.DiffMapping=t;class a{static fromDiffs(c,o,d,l,p){const m=g.LineRangeMapping.inverse(c,o,d),v=[];for(const b of m){let w=b.originalRange.startLineNumber,E=b.modifiedRange.startLineNumber,I=b.originalRange.length;const M=w===1&&E===1,P=w+I===o+1&&E+I===d+1;(M||P)&&I>=p+l?(M&&!P&&(I-=p),P&&!M&&(w+=p,E+=p,I-=p),v.push(new a(w,E,I,0,0))):I>=p*2+l&&(w+=p,E+=p,I-=p*2,v.push(new a(w,E,I,0,0)))}return v}get originalRange(){return f.LineRange.ofLength(this.originalLineNumber,this.lineCount)}get modifiedRange(){return f.LineRange.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(c,o,d,l,p){this.originalLineNumber=c,this.modifiedLineNumber=o,this.lineCount=d,this._visibleLineCountTop=(0,D.observableValue)("visibleLineCountTop",0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,D.observableValue)("visibleLineCountBottom",0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,D.derived)(m=>this.visibleLineCountTop.read(m)+this.visibleLineCountBottom.read(m)===this.lineCount&&!this.isDragged.read(m)),this.isDragged=(0,D.observableValue)("isDragged",!1),this._visibleLineCountTop.set(l,void 0),this._visibleLineCountBottom.set(p,void 0)}shouldHideControls(c){return this._shouldHideControls.read(c)}getHiddenOriginalRange(c){return f.LineRange.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}getHiddenModifiedRange(c){return f.LineRange.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(c),this.lineCount-this._visibleLineCountTop.read(c)-this._visibleLineCountBottom.read(c))}setHiddenModifiedRange(c,o){const d=c.startLineNumber-this.modifiedLineNumber,l=this.modifiedLineNumber+this.lineCount-c.endLineNumberExclusive;this.setState(d,l,o)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(c=10,o){const d=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+c,d),o)}showMoreBelow(c=10,o){const d=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+c,d),o)}showAll(c){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),c)}showModifiedLine(c,o){const d=c+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),l=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-c;d0&&(h[0]===65279||h[0]===65534)?i(t,a,u):S().decode(h)}e.decodeUTF16LE=s;function i(t,a,u){const h=[];let r=0;for(let c=0;c=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=a;return}for(let h=0;ha});class g{static create(){return new g}constructor(){}createLineBreaksComputer(u,h,r,c,o){const d=[],l=[];return{addRequest:(p,m,v)=>{d.push(p),l.push(m)},finalize:()=>C(d,u,h,r,c,o,l)}}}e.DOMLineBreaksComputerFactory=g;function C(a,u,h,r,c,o,d){var l;function p(j){const R=d[j];if(R){const K=f.LineInjectedText.applyInjectedText(a[j],R),G=R.map(J=>J.options),Z=R.map(J=>J.column-1);return new S.ModelLineProjectionData(Z,G,[K.length],[],0)}else return null}if(r===-1){const j=[];for(let R=0,K=a.length;Rm?(K=0,G=0):Z=m-H}const J=R.substr(K),X=s(J,G,h,Z,I,w);M[j]=K,P[j]=G,x[j]=J,T[j]=X[0],A[j]=X[1]}const N=I.build(),F=(l=_?.createHTML(N))!==null&&l!==void 0?l:N;E.innerHTML=F,E.style.position="absolute",E.style.top="10000",o==="keepAll"?(E.style.wordBreak="keep-all",E.style.overflowWrap="anywhere"):(E.style.wordBreak="inherit",E.style.overflowWrap="break-word"),document.body.appendChild(E);const O=document.createRange(),W=Array.prototype.slice.call(E.children,0),U=[];for(let j=0;jY.options),B=V.map(Y=>Y.column-1)):(H=null,B=null),U[j]=new S.ModelLineProjectionData(B,H,K,X,Z)}return document.body.removeChild(E),U}function s(a,u,h,r,c,o){if(o!==0){const w=String(o);c.appendString('
    ');const d=a.length;let l=u,p=0;const m=[],v=[];let b=0");for(let w=0;w"),m[w]=p,v[w]=l;const E=b;b=w+1"),m[a.length]=p,v[a.length]=l,c.appendString("
    "),[m,v]}function i(a,u,h,r){if(h.length<=1)return null;const c=Array.prototype.slice.call(u.children,0),o=[];try{n(a,c,r,0,null,h.length-1,null,o)}catch(d){return console.log(d),null}return o.length===0?null:(o.push(h.length),o)}function n(a,u,h,r,c,o,d,l){if(r===o||(c=c||t(a,u,h[r],h[r+1]),d=d||t(a,u,h[o],h[o+1]),Math.abs(c[0].top-d[0].top)<=.1))return;if(r+1===o){l.push(o);return}const p=r+(o-r)/2|0,m=t(a,u,h[p],h[p+1]);n(a,u,h,r,c,p,m,l),n(a,u,h,p,m,o,d,l)}function t(a,u,h,r){return a.setStart(u[h/16384|0].firstChild,h%16384),a.setEnd(u[r/16384|0].firstChild,r%16384),a.getClientRects()}}),define(ne[229],se([1,0,35,89,9,93]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleLinesCollection=e.RenderedLinesCollection=void 0;class S{constructor(C){this._createLine=C,this._set(1,[])}flush(){this._set(1,[])}_set(C,s){this._lines=s,this._rendLineNumberStart=C}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(C){const s=C-this._rendLineNumberStart;if(s<0||s>=this._lines.length)throw new y.BugIndicatingError("Illegal value for lineNumber");return this._lines[s]}onLinesDeleted(C,s){if(this.getCount()===0)return null;const i=this.getStartLineNumber(),n=this.getEndLineNumber();if(sn)return null;let t=0,a=0;for(let h=i;h<=n;h++){const r=h-this._rendLineNumberStart;C<=h&&h<=s&&(a===0?(t=r,a=1):a++)}if(C=n&&u<=t&&(this._lines[u-this._rendLineNumberStart].onContentChanged(),a=!0);return a}onLinesInserted(C,s){if(this.getCount()===0)return null;const i=s-C+1,n=this.getStartLineNumber(),t=this.getEndLineNumber();if(C<=n)return this._rendLineNumberStart+=i,null;if(C>t)return null;if(i+C>t)return this._lines.splice(C-this._rendLineNumberStart,t-C+1);const a=[];for(let o=0;oi)continue;const h=Math.max(s,u.fromLineNumber),r=Math.min(i,u.toLineNumber);for(let c=h;c<=r;c++){const o=c-this._rendLineNumberStart;this._lines[o].onTokensChanged(),n=!0}}return n}}e.RenderedLinesCollection=S;class f{constructor(C){this._host=C,this.domNode=this._createDomNode(),this._linesCollection=new S(()=>this._host.createVisibleLine())}_createDomNode(){const C=(0,L.createFastDomNode)(document.createElement("div"));return C.setClassName("view-layer"),C.setPosition("absolute"),C.domNode.setAttribute("role","presentation"),C.domNode.setAttribute("aria-hidden","true"),C}onConfigurationChanged(C){return!!C.hasChanged(142)}onFlushed(C){return this._linesCollection.flush(),!0}onLinesChanged(C){return this._linesCollection.onLinesChanged(C.fromLineNumber,C.count)}onLinesDeleted(C){const s=this._linesCollection.onLinesDeleted(C.fromLineNumber,C.toLineNumber);if(s)for(let i=0,n=s.length;is){const a=s,u=Math.min(i,t.rendLineNumberStart-1);a<=u&&(this._insertLinesBefore(t,a,u,n,s),t.linesLength+=u-a+1)}else if(t.rendLineNumberStart0&&(this._removeLinesBefore(t,a),t.linesLength-=a)}if(t.rendLineNumberStart=s,t.rendLineNumberStart+t.linesLength-1i){const a=Math.max(0,i-t.rendLineNumberStart+1),h=t.linesLength-1-a+1;h>0&&(this._removeLinesAfter(t,h),t.linesLength-=h)}return this._finishRendering(t,!1,n),t}_renderUntouchedLines(C,s,i,n,t){const a=C.rendLineNumberStart,u=C.lines;for(let h=s;h<=i;h++){const r=a+h;u[h].layoutLine(r,n[r-t])}}_insertLinesBefore(C,s,i,n,t){const a=[];let u=0;for(let h=s;h<=i;h++)a[u++]=this.host.createVisibleLine();C.lines=a.concat(C.lines)}_removeLinesBefore(C,s){for(let i=0;i=0;u--){const h=C.lines[u];n[u]&&(h.setDomNode(a),a=a.previousSibling)}}_finishRenderingInvalidLines(C,s,i){const n=document.createElement("div");_._ttPolicy&&(s=_._ttPolicy.createHTML(s)),n.innerHTML=s;for(let t=0;tg}),_._sb=new D.StringBuilder(1e5)}),define(ne[592],se([1,0,35,59,229,53]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginViewOverlays=e.ContentViewOverlays=e.ViewOverlayLine=e.ViewOverlays=void 0;class S extends D.ViewPart{constructor(s){super(s),this._visibleLines=new y.VisibleLinesCollection(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration.options.get(49);(0,k.applyFontInfo)(this.domNode,n),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let s=0,i=this._dynamicOverlays.length;sn.shouldRender());for(let n=0,t=i.length;n'),t.appendString(a),t.appendString(""),!0)}layoutLine(s,i){this._domNode&&(this._domNode.setTop(i),this._domNode.setHeight(this._lineHeight))}}e.ViewOverlayLine=f;class _ extends S{constructor(s){super(s);const n=this._context.configuration.options.get(142);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(s){const n=this._context.configuration.options.get(142);return this._contentWidth=n.contentWidth,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollWidthChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s),this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth))}}e.ContentViewOverlays=_;class g extends S{constructor(s){super(s);const i=this._context.configuration.options,n=i.get(142);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,k.applyFontInfo)(this.domNode,i.get(49))}onConfigurationChanged(s){const i=this._context.configuration.options;(0,k.applyFontInfo)(this.domNode,i.get(49));const n=i.get(142);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollHeightChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s);const i=Math.min(s.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)}}e.MarginViewOverlays=g}),define(ne[319],se([1,0,140,93]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compressConsecutiveTextChanges=e.TextChange=void 0;function y(_){return _.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class D{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}constructor(g,C,s,i){this.oldPosition=g,this.oldText=C,this.newPosition=s,this.newText=i}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${y(this.newText)}")`:this.newText.length===0?`(delete@${this.oldPosition} "${y(this.oldText)}")`:`(replace@${this.oldPosition} "${y(this.oldText)}" with "${y(this.newText)}")`}static _writeStringSize(g){return 4+2*g.length}static _writeString(g,C,s){const i=C.length;L.writeUInt32BE(g,i,s),s+=4;for(let n=0;ns&&(s=n)}return s}else{if(typeof D=="string")return _?D==="*"?5:D===f?10:0:0;if(D){const{language:s,pattern:i,scheme:n,hasAccessToAllModels:t,notebookType:a}=D;if(!_&&!t)return 0;a&&g&&(S=g);let u=0;if(n)if(n===S.scheme)u=10;else if(n==="*")u=5;else return 0;if(s)if(s===f)u=10;else if(s==="*")u=Math.max(u,5);else return 0;if(a)if(a===C)u=10;else if(a==="*"&&C!==void 0)u=Math.max(u,5);else return 0;if(i){let h;if(typeof i=="string"?h=i:h=Object.assign(Object.assign({},i),{base:(0,k.normalize)(i.base)}),h===S.fsPath||(0,L.match)(h,S.fsPath))u=10;else return 0}return u}else return 0}}e.score=y}),define(ne[594],se([1,0,6,2,48,593]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureRegistry=void 0;function S(C){return typeof C=="string"?!1:Array.isArray(C)?C.every(S):!!C.exclusive}class f{constructor(s,i,n,t){this.uri=s,this.languageId=i,this.notebookUri=n,this.notebookType=t}equals(s){var i,n;return this.notebookType===s.notebookType&&this.languageId===s.languageId&&this.uri.toString()===s.uri.toString()&&((i=this.notebookUri)===null||i===void 0?void 0:i.toString())===((n=s.notebookUri)===null||n===void 0?void 0:n.toString())}}class _{constructor(s){this._notebookInfoResolver=s,this._clock=0,this._entries=[],this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event}register(s,i){let n={selector:s,provider:i,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,k.toDisposable)(()=>{if(n){const t=this._entries.indexOf(n);t>=0&&(this._entries.splice(t,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(s){return this.all(s).length>0}all(s){if(!s)return[];this._updateScores(s);const i=[];for(const n of this._entries)n._score>0&&i.push(n.provider);return i}ordered(s){const i=[];return this._orderedForEach(s,n=>i.push(n.provider)),i}orderedGroups(s){const i=[];let n,t;return this._orderedForEach(s,a=>{n&&t===a._score?n.push(a.provider):(t=a._score,n=[a.provider],i.push(n))}),i}_orderedForEach(s,i){this._updateScores(s);for(const n of this._entries)n._score>0&&i(n)}_updateScores(s){var i,n;const t=(i=this._notebookInfoResolver)===null||i===void 0?void 0:i.call(this,s.uri),a=t?new f(s.uri,s.getLanguageId(),t.uri,t.type):new f(s.uri,s.getLanguageId(),void 0,void 0);if(!(!((n=this._lastCandidate)===null||n===void 0)&&n.equals(a))){this._lastCandidate=a;for(const u of this._entries)if(u._score=(0,D.score)(u.selector,a.uri,a.languageId,(0,y.shouldSynchronizeModel)(s),a.notebookUri,a.notebookType),S(u.selector)&&u._score>0){for(const h of this._entries)h._score=0;u._score=1e3;break}this._entries.sort(_._compareByScoreAndTime)}}static _compareByScoreAndTime(s,i){return s._scorei._score?-1:g(s.selector)&&!g(i.selector)?1:!g(s.selector)&&g(i.selector)?-1:s._timei._time?-1:0}}e.LanguageFeatureRegistry=_;function g(C){return typeof C=="string"?!1:Array.isArray(C)?C.some(g):!!C.isBuiltin}}),define(ne[230],se([1,0,11,93,5]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketsUtils=e.RichEditBrackets=e.RichEditBracket=void 0;class D{constructor(o,d,l,p,m,v){this._richEditBracketBrand=void 0,this.languageId=o,this.index=d,this.open=l,this.close=p,this.forwardRegex=m,this.reversedRegex=v,this._openSet=D._toSet(this.open),this._closeSet=D._toSet(this.close)}isOpen(o){return this._openSet.has(o)}isClose(o){return this._closeSet.has(o)}static _toSet(o){const d=new Set;for(const l of o)d.add(l);return d}}e.RichEditBracket=D;function S(c){const o=c.length;c=c.map(v=>[v[0].toLowerCase(),v[1].toLowerCase()]);const d=[];for(let v=0;v{const[w,E]=v,[I,M]=b;return w===I||w===M||E===I||E===M},p=(v,b)=>{const w=Math.min(v,b),E=Math.max(v,b);for(let I=0;I0&&m.push({open:b,close:w})}return m}class f{constructor(o,d){this._richEditBracketsBrand=void 0;const l=S(d);this.brackets=l.map((p,m)=>new D(o,m,p.open,p.close,s(p.open,p.close,l,m),i(p.open,p.close,l,m))),this.forwardRegex=n(this.brackets),this.reversedRegex=t(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const p of this.brackets){for(const m of p.open)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,m.length);for(const m of p.close)this.textIsBracket[m]=p,this.textIsOpenBracket[m]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,m.length)}}}e.RichEditBrackets=f;function _(c,o,d,l){for(let p=0,m=o.length;p=0&&l.push(b);for(const b of v.close)b.indexOf(c)>=0&&l.push(b)}}function g(c,o){return c.length-o.length}function C(c){if(c.length<=1)return c;const o=[],d=new Set;for(const l of c)d.has(l)||(o.push(l),d.add(l));return o}function s(c,o,d,l){let p=[];p=p.concat(c),p=p.concat(o);for(let m=0,v=p.length;m=0;v--)p[m++]=l.charCodeAt(v);return k.getPlatformTextDecoder().decode(p)}let o=null,d=null;return function(p){return o!==p&&(o=p,d=c(o)),d}}();class r{static _findPrevBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=l.length-(m.index||0),b=m[0].length,w=p+v;return new y.Range(d,w-b+1,d,w+1)}static findPrevBracketInRange(o,d,l,p,m){const b=h(l).substring(l.length-m,l.length-p);return this._findPrevBracketInText(o,d,b,p)}static findNextBracketInText(o,d,l,p){const m=l.match(o);if(!m)return null;const v=m.index||0,b=m[0].length;if(b===0)return null;const w=p+v;return new y.Range(d,w+1,d,w+1+b)}static findNextBracketInRange(o,d,l,p,m){const v=l.substring(p,m);return this.findNextBracketInText(o,d,v,p)}}e.BracketsUtils=r}),define(ne[595],se([1,0,14,125,230]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketElectricCharacterSupport=void 0;class D{constructor(f){this._richEditBrackets=f}getElectricCharacters(){const f=[];if(this._richEditBrackets)for(const _ of this._richEditBrackets.brackets)for(const g of _.close){const C=g.charAt(g.length-1);f.push(C)}return(0,L.distinct)(f)}onElectricCharacter(f,_,g){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const C=_.findTokenIndexAtOffset(g-1);if((0,k.ignoreBracketsInToken)(_.getStandardTokenType(C)))return null;const s=this._richEditBrackets.reversedRegex,i=_.getLineContent().substring(0,g-1)+f,n=y.BracketsUtils.findPrevBracketInRange(s,1,i,0,i.length);if(!n)return null;const t=i.substring(n.startColumn-1,n.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[t])return null;const u=_.getActualLineContentBefore(n.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:t}:null}}e.BracketElectricCharacterSupport=D}),define(ne[596],se([1,0,14,6,2,5,125,230,514]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTextModelPart=void 0;class g extends y.Disposable{get canBuildAST(){return this.textModel.getValueLength()<=5e6}constructor(a,u){super(),this.textModel=a,this.languageConfigurationService=u,this.bracketPairsTree=this._register(new y.MutableDisposable),this.onDidChangeEmitter=new k.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(h=>{var r;(!h.languageId||!((r=this.bracketPairsTree.value)===null||r===void 0)&&r.object.didLanguageChange(h.languageId))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(a){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleContentChanged(a)}handleDidChangeBackgroundTokenizationState(){var a;(a=this.bracketPairsTree.value)===null||a===void 0||a.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(a){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleDidChangeTokens(a)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){const a=new y.DisposableStore;this.bracketPairsTree.value=C(a.add(new _.BracketPairsTree(this.textModel,u=>this.languageConfigurationService.getLanguageConfiguration(u))),a),a.add(this.bracketPairsTree.value.object.onDidChange(u=>this.onDidChangeEmitter.fire(u))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!1))||L.CallbackIterable.empty}getBracketPairsInRangeWithMinIndentation(a){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(a,!0))||L.CallbackIterable.empty}getBracketsInRange(a,u=!1){var h;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((h=this.bracketPairsTree.value)===null||h===void 0?void 0:h.object.getBracketsInRange(a,u))||L.CallbackIterable.empty}findMatchingBracketUp(a,u,h){const r=this.textModel.validatePosition(u),c=this.textModel.getLanguageIdAtPosition(r.lineNumber,r.column);if(this.canBuildAST){const o=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew.getClosingBracketInfo(a);if(!o)return null;const d=this.getBracketPairsInRange(D.Range.fromPositions(u,u)).findLast(l=>o.closes(l.openingBracketInfo));return d?d.openingBracketRange:null}else{const o=a.toLowerCase(),d=this.languageConfigurationService.getLanguageConfiguration(c).brackets;if(!d)return null;const l=d.textIsBracket[o];return l?n(this._findMatchingBracketUp(l,r,s(h))):null}}matchBracket(a,u){if(this.canBuildAST){const h=this.getBracketPairsInRange(D.Range.fromPositions(a,a)).filter(r=>r.closingBracketRange!==void 0&&(r.openingBracketRange.containsPosition(a)||r.closingBracketRange.containsPosition(a))).findLastMaxBy((0,L.compareBy)(r=>r.openingBracketRange.containsPosition(a)?r.openingBracketRange:r.closingBracketRange,D.Range.compareRangesUsingStarts));return h?[h.openingBracketRange,h.closingBracketRange]:null}else{const h=s(u);return this._matchBracket(this.textModel.validatePosition(a),h)}}_establishBracketSearchOffsets(a,u,h,r){const c=u.getCount(),o=u.getLanguageId(r);let d=Math.max(0,a.column-1-h.maxBracketLength);for(let p=r-1;p>=0;p--){const m=u.getEndOffset(p);if(m<=d)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){d=m;break}}let l=Math.min(u.getLineContent().length,a.column-1+h.maxBracketLength);for(let p=r+1;p=l)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(p))||u.getLanguageId(p)!==o){l=m;break}}return{searchStartOffset:d,searchEndOffset:l}}_matchBracket(a,u){const h=a.lineNumber,r=this.textModel.tokenization.getLineTokens(h),c=this.textModel.getLineContent(h),o=r.findTokenIndexAtOffset(a.column-1);if(o<0)return null;const d=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(o)).brackets;if(d&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:p}=this._establishBracketSearchOffsets(a,r,d,o),m=null;for(;;){const v=f.BracketsUtils.findNextBracketInRange(d.forwardRegex,h,c,l,p);if(!v)break;if(v.startColumn<=a.column&&a.column<=v.endColumn){const b=c.substring(v.startColumn-1,v.endColumn-1).toLowerCase(),w=this._matchFoundBracket(v,d.textIsBracket[b],d.textIsOpenBracket[b],u);if(w){if(w instanceof i)return null;m=w}}l=v.endColumn-1}if(m)return m}if(o>0&&r.getStartOffset(o)===a.column-1){const l=o-1,p=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId(l)).brackets;if(p&&!(0,S.ignoreBracketsInToken)(r.getStandardTokenType(l))){const{searchStartOffset:m,searchEndOffset:v}=this._establishBracketSearchOffsets(a,r,p,l),b=f.BracketsUtils.findPrevBracketInRange(p.reversedRegex,h,c,m,v);if(b&&b.startColumn<=a.column&&a.column<=b.endColumn){const w=c.substring(b.startColumn-1,b.endColumn-1).toLowerCase(),E=this._matchFoundBracket(b,p.textIsBracket[w],p.textIsOpenBracket[w],u);if(E)return E instanceof i?null:E}}}return null}_matchFoundBracket(a,u,h,r){if(!u)return null;const c=h?this._findMatchingBracketDown(u,a.getEndPosition(),r):this._findMatchingBracketUp(u,a.getStartPosition(),r);return c?c instanceof i?c:[a,c]:null}_findMatchingBracketUp(a,u,h){const r=a.languageId,c=a.reversedRegex;let o=-1,d=0;const l=(p,m,v,b)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const w=f.BracketsUtils.findPrevBracketInRange(c,p,m,v,b);if(!w)break;const E=m.substring(w.startColumn-1,w.endColumn-1).toLowerCase();if(a.isOpen(E)?o++:a.isClose(E)&&o--,o===0)return w;b=w.startColumn-1}return null};for(let p=u.lineNumber;p>=1;p--){const m=this.textModel.tokenization.getLineTokens(p),v=m.getCount(),b=this.textModel.getLineContent(p);let w=v-1,E=b.length,I=b.length;p===u.lineNumber&&(w=m.findTokenIndexAtOffset(u.column-1),E=u.column-1,I=u.column-1);let M=!0;for(;w>=0;w--){const P=m.getLanguageId(w)===r&&!(0,S.ignoreBracketsInToken)(m.getStandardTokenType(w));if(P)M?E=m.getStartOffset(w):(E=m.getStartOffset(w),I=m.getEndOffset(w));else if(M&&E!==I){const x=l(p,b,E,I);if(x)return x}M=P}if(M&&E!==I){const P=l(p,b,E,I);if(P)return P}}return null}_findMatchingBracketDown(a,u,h){const r=a.languageId,c=a.forwardRegex;let o=1,d=0;const l=(m,v,b,w)=>{for(;;){if(h&&++d%100===0&&!h())return i.INSTANCE;const E=f.BracketsUtils.findNextBracketInRange(c,m,v,b,w);if(!E)break;const I=v.substring(E.startColumn-1,E.endColumn-1).toLowerCase();if(a.isOpen(I)?o++:a.isClose(I)&&o--,o===0)return E;b=E.endColumn-1}return null},p=this.textModel.getLineCount();for(let m=u.lineNumber;m<=p;m++){const v=this.textModel.tokenization.getLineTokens(m),b=v.getCount(),w=this.textModel.getLineContent(m);let E=0,I=0,M=0;m===u.lineNumber&&(E=v.findTokenIndexAtOffset(u.column-1),I=u.column-1,M=u.column-1);let P=!0;for(;E=1;d--){const l=this.textModel.tokenization.getLineTokens(d),p=l.getCount(),m=this.textModel.getLineContent(d);let v=p-1,b=m.length,w=m.length;if(d===h.lineNumber){v=l.findTokenIndexAtOffset(h.column-1),b=h.column-1,w=h.column-1;const I=l.getLanguageId(v);r!==I&&(r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew)}let E=!0;for(;v>=0;v--){const I=l.getLanguageId(v);if(r!==I){if(c&&o&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P);E=!1}r=I,c=this.languageConfigurationService.getLanguageConfiguration(r).brackets,o=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew}const M=!!c&&!(0,S.ignoreBracketsInToken)(l.getStandardTokenType(v));if(M)E?b=l.getStartOffset(v):(b=l.getStartOffset(v),w=l.getEndOffset(v));else if(o&&c&&E&&b!==w){const P=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(P)return this._toFoundBracket(o,P)}E=M}if(o&&c&&E&&b!==w){const I=f.BracketsUtils.findPrevBracketInRange(c.reversedRegex,d,m,b,w);if(I)return this._toFoundBracket(o,I)}}return null}findNextBracket(a){var u;const h=this.textModel.validatePosition(a);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getFirstBracketAfter(h))||null;const r=this.textModel.getLineCount();let c=null,o=null,d=null;for(let l=h.lineNumber;l<=r;l++){const p=this.textModel.tokenization.getLineTokens(l),m=p.getCount(),v=this.textModel.getLineContent(l);let b=0,w=0,E=0;if(l===h.lineNumber){b=p.findTokenIndexAtOffset(h.column-1),w=h.column-1,E=h.column-1;const M=p.getLanguageId(b);c!==M&&(c=M,o=this.languageConfigurationService.getLanguageConfiguration(c).brackets,d=this.languageConfigurationService.getLanguageConfiguration(c).bracketsNew)}let I=!0;for(;bI.closingBracketRange!==void 0&&I.range.strictContainsRange(w));return E?[E.openingBracketRange,E.closingBracketRange]:null}const r=s(u),c=this.textModel.getLineCount(),o=new Map;let d=[];const l=(w,E)=>{if(!o.has(w)){const I=[];for(let M=0,P=E?E.brackets.length:0;M{for(;;){if(r&&++p%100===0&&!r())return i.INSTANCE;const x=f.BracketsUtils.findNextBracketInRange(w.forwardRegex,E,I,M,P);if(!x)break;const T=I.substring(x.startColumn-1,x.endColumn-1).toLowerCase(),A=w.textIsBracket[T];if(A&&(A.isOpen(T)?d[A.index]++:A.isClose(T)&&d[A.index]--,d[A.index]===-1))return this._matchFoundBracket(x,A,!1,r);M=x.endColumn-1}return null};let v=null,b=null;for(let w=h.lineNumber;w<=c;w++){const E=this.textModel.tokenization.getLineTokens(w),I=E.getCount(),M=this.textModel.getLineContent(w);let P=0,x=0,T=0;if(w===h.lineNumber){P=E.findTokenIndexAtOffset(h.column-1),x=h.column-1,T=h.column-1;const N=E.getLanguageId(P);v!==N&&(v=N,b=this.languageConfigurationService.getLanguageConfiguration(v).brackets,l(v,b))}let A=!0;for(;Pa?.dispose()}}function s(t){if(typeof t>"u")return()=>!0;{const a=Date.now();return()=>Date.now()-a<=t}}class i{constructor(){this._searchCanceledBrand=void 0}}i.INSTANCE=new i;function n(t){return t instanceof i?null:t}}),define(ne[320],se([1,0,6,11,5,48,283,122,319,2]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBuffer=void 0;class C extends g.Disposable{constructor(i,n,t,a,u,h,r){super(),this._onDidChangeContent=this._register(new L.Emitter),this._BOM=n,this._mightContainNonBasicASCII=!h,this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._pieceTree=new S.PieceTreeBase(i,t,r)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(i){return this._pieceTree.createSnapshot(i?this._BOM:"")}getOffsetAt(i,n){return this._pieceTree.getOffsetAt(i,n)}getPositionAt(i){return this._pieceTree.getPositionAt(i)}getRangeAt(i,n){const t=i+n,a=this.getPositionAt(i),u=this.getPositionAt(t);return new y.Range(a.lineNumber,a.column,u.lineNumber,u.column)}getValueInRange(i,n=0){if(i.isEmpty())return"";const t=this._getEndOfLine(n);return this._pieceTree.getValueInRange(i,t)}getValueLengthInRange(i,n=0){if(i.isEmpty())return 0;if(i.startLineNumber===i.endLineNumber)return i.endColumn-i.startColumn;const t=this.getOffsetAt(i.startLineNumber,i.startColumn),a=this.getOffsetAt(i.endLineNumber,i.endColumn);let u=0;const h=this._getEndOfLine(n),r=this.getEOL();if(h.length!==r.length){const c=h.length-r.length,o=i.endLineNumber-i.startLineNumber;u=c*o}return a-t+u}getCharacterCountInRange(i,n=0){if(this._mightContainNonBasicASCII){let t=0;const a=i.startLineNumber,u=i.endLineNumber;for(let h=a;h<=u;h++){const r=this.getLineContent(h),c=h===a?i.startColumn-1:0,o=h===u?i.endColumn-1:r.length;for(let d=c;dw.sortIndex-E.sortIndex)}this._mightContainRTL=a,this._mightContainUnusualLineTerminators=u,this._mightContainNonBasicASCII=h;const m=this._doApplyEdits(c);let v=null;if(n&&l.length>0){l.sort((b,w)=>w.lineNumber-b.lineNumber),v=[];for(let b=0,w=l.length;b0&&l[b-1].lineNumber===E)continue;const I=l[b].oldContent,M=this.getLineContent(E);M.length===0||M===I||k.firstNonWhitespaceIndex(M)!==-1||v.push(E)}}return this._onDidChangeContent.fire(),new D.ApplyEditsResult(p,m,v)}_reduceOperations(i){return i.length<1e3?i:[this._toSingleEditOperation(i)]}_toSingleEditOperation(i){let n=!1;const t=i[0].range,a=i[i.length-1].range,u=new y.Range(t.startLineNumber,t.startColumn,a.endLineNumber,a.endColumn);let h=t.startLineNumber,r=t.startColumn;const c=[];for(let m=0,v=i.length;m0&&c.push(b.text),h=w.endLineNumber,r=w.endColumn}const o=c.join(""),[d,l,p]=(0,f.countEOL)(o);return{sortIndex:0,identifier:i[0].identifier,range:u,rangeOffset:this.getOffsetAt(u.startLineNumber,u.startColumn),rangeLength:this.getValueLengthInRange(u,0),text:o,eolCount:d,firstLineLength:l,lastLineLength:p,forceMoveMarkers:n,isAutoWhitespaceEdit:!1}}_doApplyEdits(i){i.sort(C._sortOpsDescending);const n=[];for(let t=0;t0){const p=c.eolCount+1;p===1?l=new y.Range(o,d,o,d+c.firstLineLength):l=new y.Range(o,d,o+p-1,c.lastLineLength+1)}else l=new y.Range(o,d,o,d);t=l.endLineNumber,a=l.endColumn,n.push(l),u=c}return n}static _sortOpsAscending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?i.sortIndex-n.sortIndex:t}static _sortOpsDescending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?n.sortIndex-i.sortIndex:-t}}e.PieceTreeTextBuffer=C}),define(ne[597],se([1,0,11,283,320]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBufferBuilder=void 0;class D{constructor(_,g,C,s,i,n,t,a,u){this._chunks=_,this._bom=g,this._cr=C,this._lf=s,this._crlf=i,this._containsRTL=n,this._containsUnusualLineTerminators=t,this._isBasicASCII=a,this._normalizeEOL=u}_getEOL(_){const g=this._cr+this._lf+this._crlf,C=this._cr+this._crlf;return g===0?_===1?` -`:`\r -`:C>g/2?`\r -`:` -`}create(_){const g=this._getEOL(_),C=this._chunks;if(this._normalizeEOL&&(g===`\r -`&&(this._cr>0||this._lf>0)||g===` -`&&(this._cr>0||this._crlf>0)))for(let i=0,n=C.length;i=55296&&g<=56319?(this._acceptChunk1(_.substr(0,_.length-1),!1),this._hasPreviousChar=!0,this._previousChar=g):(this._acceptChunk1(_,!1),this._hasPreviousChar=!1,this._previousChar=g)}_acceptChunk1(_,g){!g&&_.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+_):this._acceptChunk2(_))}_acceptChunk2(_){const g=(0,k.createLineStarts)(this._tmpLineStarts,_);this.chunks.push(new k.StringBuffer(_,g.lineStarts)),this.cr+=g.cr,this.lf+=g.lf,this.crlf+=g.crlf,g.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=L.containsRTL(_)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=L.containsUnusualLineTerminators(_)))}finish(_=!0){return this._finish(),new D(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,_)}_finish(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const _=this.chunks[this.chunks.length-1];_.buffer+=String.fromCharCode(this._previousChar);const g=(0,k.createLineStartsFast)(_.buffer);_.lineStarts=g,this._previousChar===13&&this.cr++}}}e.PieceTreeTextBufferBuilder=S}),define(ne[598],se([1,0,140,17]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeSemanticTokensDto=void 0;function y(_){for(let g=0,C=_.length;ga.target.position?a.target.position.lineNumber:0,this._opts=g(this._editor.getOption(76)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(a=>{if(a.hasChanged(76)){const u=g(this._editor.getOption(76));if(this._opts.equals(u))return;this._opts=u,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(a=>this._onEditorMouseMove(new S(a,this._opts)))),this._register(this._editor.onMouseDown(a=>this._onEditorMouseDown(new S(a,this._opts)))),this._register(this._editor.onMouseUp(a=>this._onEditorMouseUp(new S(a,this._opts)))),this._register(this._editor.onKeyDown(a=>this._onEditorKeyDown(new f(a,this._opts)))),this._register(this._editor.onKeyUp(a=>this._onEditorKeyUp(new f(a,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(a=>this._onDidChangeCursorSelection(a))),this._register(this._editor.onDidChangeModel(a=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(a=>{(a.scrollTopChanged||a.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(i){i.selection&&i.selection.startColumn!==i.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(i){this._lastMouseMoveEvent=i,this._onMouseMoveOrRelevantKeyDown.fire([i,null])}_onEditorMouseDown(i){this._hasTriggerKeyOnMouseDown=i.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(i)}_onEditorMouseUp(i){const n=this._extractLineNumberFromMouseEvent(i);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===n&&this._onExecute.fire(i)}_onEditorKeyDown(i){this._lastMouseMoveEvent&&(i.keyCodeIsTriggerKey||i.keyCodeIsSideBySideKey&&i.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,i]):i.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(i){i.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}e.ClickLinkGesture=C});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[321],se([1,0,13,9,6,2]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverOperation=e.HoverResult=void 0;class S{constructor(g,C,s){this.value=g,this.isComplete=C,this.hasLoadingMessage=s}}e.HoverResult=S;class f extends D.Disposable{constructor(g,C){super(),this._editor=g,this._computer=C,this._onResult=this._register(new y.Emitter),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(59).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(g,C=!0){this._state=g,C&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,L.createCancelableAsyncIterable)(g=>this._computer.computeAsync(g)),we(this,void 0,void 0,function*(){var g,C,s,i;try{try{for(var n=!0,t=Lt(this._asyncIterable),a;a=yield t.next(),g=a.done,!g;n=!0){i=a.value,n=!1;const u=i;u&&(this._result.push(u),this._fireResult())}}catch(u){C={error:u}}finally{try{!n&&!g&&(s=t.return)&&(yield s.call(t))}finally{if(C)throw C.error}}this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(u){(0,k.onUnexpectedError)(u)}})):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const g=this._state===0,C=this._state===4;this._onResult.fire(new S(this._result.slice(0),g,C))}start(g){if(g===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}e.HoverOperation=f}),define(ne[599],se([1,0,223,2,12,7]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableContentWidget=void 0;const S=30,f=24;class _ extends k.Disposable{constructor(C,s=new D.Dimension(10,10)){super(),this._editor=C,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new L.ResizableHTMLElement),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=D.Dimension.lift(s),this._resizableNode.layout(s.height,s.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new D.Dimension(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var C;return!((C=this._contentPosition)===null||C===void 0)&&C.position?y.Position.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);return!s||!i?void 0:D.getDomNodePagePosition(s).top+i.top-S}_availableVerticalSpaceBelow(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);if(!s||!i)return;const n=D.getDomNodePagePosition(s),t=D.getClientArea(document.body),a=n.top+i.top+i.height;return t.height-a-f}_findPositionPreference(C,s){var i,n;const t=Math.min((i=this._availableVerticalSpaceBelow(s))!==null&&i!==void 0?i:1/0,C),a=Math.min((n=this._availableVerticalSpaceAbove(s))!==null&&n!==void 0?n:1/0,C),u=Math.min(Math.max(a,t),C),h=Math.min(C,u);let r;return this._editor.getOption(59).above?r=h<=a?1:2:r=h<=t?2:1,r===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),r}_resize(C){this._resizableNode.layout(C.height,C.width)}}e.ResizableContentWidget=_}),define(ne[322],se([1,0,9,2,12,5,54,22]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asCommandLink=e.InlayHintsFragments=e.InlayHintItem=e.InlayHintAnchor=void 0;class _{constructor(n,t){this.range=n,this.direction=t}}e.InlayHintAnchor=_;class g{constructor(n,t,a){this.hint=n,this.anchor=t,this.provider=a,this._isResolved=!1}with(n){const t=new g(this.hint,n.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(n){return we(this,void 0,void 0,function*(){if(typeof this.provider.resolveInlayHint=="function"){if(this._currentResolve)return yield this._currentResolve,n.isCancellationRequested?void 0:this.resolve(n);this._isResolved||(this._currentResolve=this._doResolve(n).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(n){var t,a;return we(this,void 0,void 0,function*(){try{const u=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,n));this.hint.tooltip=(t=u?.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(a=u?.label)!==null&&a!==void 0?a:this.hint.label,this._isResolved=!0}catch(u){(0,L.onUnexpectedExternalError)(u),this._isResolved=!1}})}}e.InlayHintItem=g;class C{static create(n,t,a,u){return we(this,void 0,void 0,function*(){const h=[],r=n.ordered(t).reverse().map(c=>a.map(o=>we(this,void 0,void 0,function*(){try{const d=yield c.provideInlayHints(t,o,u);d?.hints.length&&h.push([d,c])}catch(d){(0,L.onUnexpectedExternalError)(d)}})));if(yield Promise.all(r.flat()),u.isCancellationRequested||t.isDisposed())throw new L.CancellationError;return new C(a,h,t)})}constructor(n,t,a){this._disposables=new k.DisposableStore,this.ranges=n,this.provider=new Set;const u=[];for(const[h,r]of t){this._disposables.add(h),this.provider.add(r);for(const c of h.hints){const o=a.validatePosition(c.position);let d="before";const l=C._getRangeAtPosition(a,o);let p;l.getStartPosition().isBefore(o)?(p=D.Range.fromPositions(l.getStartPosition(),o),d="after"):(p=D.Range.fromPositions(o,l.getEndPosition()),d="before"),u.push(new g(c,new _(p,d),r))}}this.items=u.sort((h,r)=>y.Position.compare(h.hint.position,r.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(n,t){const a=t.lineNumber,u=n.getWordAtPosition(t);if(u)return new D.Range(a,u.startColumn,a,u.endColumn);n.tokenization.tokenizeIfCheap(a);const h=n.tokenization.getLineTokens(a),r=t.column-1,c=h.findTokenIndexAtOffset(r);let o=h.getStartOffset(c),d=h.getEndOffset(c);return d-o===1&&(o===r&&c>1?(o=h.getStartOffset(c-1),d=h.getEndOffset(c-1)):d===r&&cW.toString?W.toString():""+W).join(" -> ")}`));const O=new k.DeferredPromise;return w.set(A,O.p),(()=>we(this,void 0,void 0,function*(){if(!F){const W=b(A);for(const U of W){const j=yield M(U);if(j&&j.items.length>0)return}}try{return yield A.provideInlineCompletions(c,r,o,d)}catch(W){(0,S.onUnexpectedExternalError)(W);return}}))().then(W=>O.complete(W),W=>O.error(W)),O.p}const P=yield Promise.all(m.map(A=>we(this,void 0,void 0,function*(){return{provider:A,completions:yield M(A)}}))),x=new Map,T=[];for(const A of P){const N=A.completions;if(!N)continue;const F=new n(N,A.provider);T.push(F);for(const O of N.items){const W=t.from(O,F,p,c,l);x.set(W.hash(),W)}}return new i(Array.from(x.values()),new Set(x.keys()),T)})}e.provideInlineCompletions=s;class i{constructor(r,c,o){this.completions=r,this.hashs=c,this.providerResults=o}has(r){return this.hashs.has(r.hash())}dispose(){for(const r of this.providerResults)r.removeRef()}}e.InlineCompletionProviderResult=i;class n{constructor(r,c){this.inlineCompletions=r,this.provider=c,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,this.refCount===0&&this.provider.freeInlineCompletions(this.inlineCompletions)}}e.InlineCompletionList=n;class t{static from(r,c,o,d,l){let p,m,v=r.range?f.Range.lift(r.range):o;if(typeof r.insertText=="string"){if(p=r.insertText,l&&r.completeBracketPairs){p=u(p,v.getStartPosition(),d,l);const b=p.length-r.insertText.length;b!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+b))}m=void 0}else if("snippet"in r.insertText){const b=r.insertText.snippet.length;if(l&&r.completeBracketPairs){r.insertText.snippet=u(r.insertText.snippet,v.getStartPosition(),d,l);const E=r.insertText.snippet.length-b;E!==0&&(v=new f.Range(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+E))}const w=new C.SnippetParser().parse(r.insertText.snippet);w.children.length===1&&w.children[0]instanceof C.Text?(p=w.children[0].value,m=void 0):(p=w.toString(),m={snippet:r.insertText.snippet,range:v})}else(0,L.assertNever)(r.insertText);return new t(p,r.command,v,p,m,r.additionalTextEdits||(0,g.getReadonlyEmptyArray)(),r,c)}constructor(r,c,o,d,l,p,m,v){this.filterText=r,this.command=c,this.range=o,this.insertText=d,this.snippetInfo=l,this.additionalTextEdits=p,this.sourceInlineCompletion=m,this.source=v,r=r.replace(/\r\n|\r/g,` -`),d=r.replace(/\r\n|\r/g,` -`)}withRange(r){return new t(this.filterText,this.command,r,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}e.InlineCompletionItem=t;function a(h,r){const c=r.getWordAtPosition(h),o=r.getLineMaxColumn(h.lineNumber);return c?new f.Range(h.lineNumber,c.startColumn,h.lineNumber,o):f.Range.fromPositions(h,h.with(void 0,o))}function u(h,r,c,o){const l=c.getLineContent(r.lineNumber).substring(0,r.column-1)+h,p=c.tokenization.tokenizeLineWithEdit(r,l.length-(r.column-1),h),m=p?.sliceAndInflate(r.column-1,l.length,0);return m?(0,_.fixBracketsInLine)(m,o):h}}),define(ne[601],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/controller/textAreaHandler",e)}),define(ne[602],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/coreCommands",e)}),define(ne[603],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/editorExtensions",e)}),define(ne[604],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/codeEditorWidget",e)}),define(ne[605],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditor.contribution",e)}),define(ne[606],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget",e)}),define(ne[607],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/accessibleDiffViewer",e)}),define(ne[608],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/colors",e)}),define(ne[609],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/decorations",e)}),define(ne[610],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors",e)}),define(ne[611],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/inlineDiffDeletedCodeMargin",e)}),define(ne[612],se([1,0,7,39,25,2,17,26,611]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffDeletedCodeMargin=void 0;class g extends D.Disposable{get visibility(){return this._visibility}set visibility(s){this._visibility!==s&&(this._visibility=s,this._diffActions.style.visibility=s?"visible":"hidden")}constructor(s,i,n,t,a,u,h,r,c){super(),this._getViewZoneId=s,this._marginDomNode=i,this._modifiedEditor=n,this._diff=t,this._editor=a,this._viewLineCounts=u,this._originalTextModel=h,this._contextMenuService=r,this._clipboardService=c,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=f.ThemeIcon.asClassName(y.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const o=this._modifiedEditor.getOption(65);this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${o}px`,this._diffActions.style.lineHeight=`${o}px`,this._marginDomNode.appendChild(this._diffActions);let d=0;const l=n.getOption(125)&&!S.isIOS,p=(m,v)=>{var b;this._contextMenuService.showContextMenu({domForShadowRoot:l&&(b=n.getDomNode())!==null&&b!==void 0?b:void 0,getAnchor:()=>({x:m,y:v}),getActions:()=>{const w=[],E=t.modifiedRange.isEmpty;return w.push(new k.Action("diff.clipboard.copyDeletedContent",E?t.originalRange.length>1?(0,_.localize)(0,null):(0,_.localize)(1,null):t.originalRange.length>1?(0,_.localize)(2,null):(0,_.localize)(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const M=this._originalTextModel.getValueInRange(t.originalRange.toExclusiveRange());yield this._clipboardService.writeText(M)}))),t.originalRange.length>1&&w.push(new k.Action("diff.clipboard.copyDeletedLineContent",E?(0,_.localize)(4,null,t.originalRange.startLineNumber+d):(0,_.localize)(5,null,t.originalRange.startLineNumber+d),void 0,!0,()=>we(this,void 0,void 0,function*(){let M=this._originalTextModel.getLineContent(t.originalRange.startLineNumber+d);M===""&&(M=this._originalTextModel.getEndOfLineSequence()===0?` -`:`\r -`),yield this._clipboardService.writeText(M)}))),n.getOption(89)||w.push(new k.Action("diff.inline.revertChange",(0,_.localize)(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){this._editor.revert(this._diff)}))),w},autoSelectFirstItem:!0})};this._register((0,L.addStandardDisposableListener)(this._diffActions,"mousedown",m=>{const{top:v,height:b}=(0,L.getDomNodePagePosition)(this._diffActions),w=Math.floor(o/3);m.preventDefault(),p(m.posx,v+b+w)})),this._register(n.onMouseMove(m=>{(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()?(d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),this.visibility=!0):this.visibility=!1})),this._register(n.onMouseDown(m=>{m.event.rightButton&&(m.target.type===8||m.target.type===5)&&m.target.detail.viewZoneId===this._getViewZoneId()&&(m.event.preventDefault(),d=this._updateLightBulbPosition(this._marginDomNode,m.event.browserEvent.y,o),p(m.event.posx,m.event.posy+o))}))}_updateLightBulbPosition(s,i,n){const{top:t}=(0,L.getDomNodePagePosition)(s),a=i-t,u=Math.floor(a/n),h=u*n;if(this._diffActions.style.top=`${h}px`,this._viewLineCounts){let r=0;for(let c=0;cthis._editors.original.getScrollTop()),this._modifiedScrollTop=(0,_.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,_.observableSignalFromEvent)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,_.observableValue)("width",0),this._modifiedViewZonesChangedSignal=(0,_.observableSignalFromEvent)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,_.observableSignalFromEvent)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,_.derivedWithStore)("state",(E,I)=>{var M;this._element.replaceChildren();const P=this._diffModel.read(E),x=(M=P?.diff.read(E))===null||M===void 0?void 0:M.movedTexts;if(!x||x.length===0){this.width.set(0,void 0);return}this._viewZonesChanged.read(E);const T=this._originalEditorLayoutInfo.read(E),A=this._modifiedEditorLayoutInfo.read(E);if(!T||!A){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(E),this._originalViewZonesChangedSignal.read(E);const N=x.map(K=>{function G(ae,ce){const de=ce.getTopForLineNumber(ae.startLineNumber,!0),he=ce.getTopForLineNumber(ae.endLineNumberExclusive,!0);return(de+he)/2}const Z=G(K.lineRangeMapping.original,this._editors.original),J=this._originalScrollTop.read(E),X=G(K.lineRangeMapping.modified,this._editors.modified),H=this._modifiedScrollTop.read(E),B=Z-J,V=X-H,Y=Math.min(Z,X),ie=Math.max(Z,X);return{range:new s.OffsetRange(Y,ie),from:B,to:V,fromWithoutScroll:Z,toWithoutScroll:X,move:K}});N.sort((0,D.tieBreakComparators)((0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll,D.booleanComparator),(0,D.compareBy)(K=>K.fromWithoutScroll>K.toWithoutScroll?K.fromWithoutScroll:-K.toWithoutScroll,D.numberComparator)));const F=t.compute(N.map(K=>K.range)),O=10,W=T.verticalScrollbarWidth,U=(F.getTrackCount()-1)*10+O*2,j=W+U+(A.contentLeft-n.movedCodeBlockPadding);let R=0;for(const K of N){const G=F.getTrack(R),Z=W+O+G*10,J=15,X=15,H=j,B=A.glyphMarginWidth+A.lineNumbersWidth,V=18,Y=document.createElementNS("http://www.w3.org/2000/svg","rect");Y.classList.add("arrow-rectangle"),Y.setAttribute("x",`${H-B}`),Y.setAttribute("y",`${K.to-V/2}`),Y.setAttribute("width",`${B}`),Y.setAttribute("height",`${V}`),this._element.appendChild(Y);const ie=document.createElementNS("http://www.w3.org/2000/svg","g"),ae=document.createElementNS("http://www.w3.org/2000/svg","path");ae.setAttribute("d",`M 0 ${K.from} L ${Z} ${K.from} L ${Z} ${K.to} L ${H-X} ${K.to}`),ae.setAttribute("fill","none"),ie.appendChild(ae);const ce=document.createElementNS("http://www.w3.org/2000/svg","polygon");ce.classList.add("arrow"),I.add((0,_.autorun)(de=>{ae.classList.toggle("currentMove",K.move===P.activeMovedText.read(de)),ce.classList.toggle("currentMove",K.move===P.activeMovedText.read(de))})),ce.setAttribute("points",`${H-X},${K.to-J/2} ${H},${K.to} ${H-X},${K.to+J/2}`),ie.appendChild(ce),this._element.appendChild(ie),R++}this.width.set(U,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,f.toDisposable)(()=>this._element.remove())),this._register((0,_.autorun)(E=>{const I=this._originalEditorLayoutInfo.read(E),M=this._modifiedEditorLayoutInfo.read(E);!I||!M||(this._element.style.left=`${I.width-I.verticalScrollbarWidth}px`,this._element.style.height=`${I.height}px`,this._element.style.width=`${I.verticalScrollbarWidth+I.contentLeft-n.movedCodeBlockPadding+this.width.read(E)}px`)})),this._register((0,_.keepAlive)(this._state,!0));const l=(0,_.derived)(E=>{const I=this._diffModel.read(E),M=I?.diff.read(E);return M?M.movedTexts.map(P=>({move:P,original:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.original.startLineNumber-1),18),modified:new C.PlaceholderViewZone((0,_.constObservable)(P.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,C.applyViewZones)(this._editors.original,l.map(E=>E.map(I=>I.original)))),this._register((0,C.applyViewZones)(this._editors.modified,l.map(E=>E.map(I=>I.modified)))),this._register((0,_.autorunWithStore)((E,I)=>{const M=l.read(E);for(const P of M)I.add(new a(this._editors.original,P.original,P.move,"original",this._diffModel.get())),I.add(new a(this._editors.modified,P.modified,P.move,"modified",this._diffModel.get()))}));const p=(0,_.observableFromEvent)(this._editors.original.onDidChangeCursorPosition,()=>this._editors.original.getPosition()),m=(0,_.observableFromEvent)(this._editors.modified.onDidChangeCursorPosition,()=>this._editors.modified.getPosition()),v=(0,_.observableSignalFromEvent)("original.onDidFocusEditorWidget",E=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0))),b=(0,_.observableSignalFromEvent)("modified.onDidFocusEditorWidget",E=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>E(void 0),0)));let w="modified";this._register((0,_.autorunHandleChanges)({createEmptyChangeSummary:()=>{},handleChange:(E,I)=>(E.didChange(v)&&(w="original"),E.didChange(b)&&(w="modified"),!0)},E=>{v.read(E),b.read(E);const I=this._diffModel.read(E);if(!I)return;const M=I.diff.read(E);let P;if(M&&w==="original"){const x=p.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.original.contains(x.lineNumber)))}if(M&&w==="modified"){const x=m.read(E);x&&(P=M.movedTexts.find(T=>T.lineRangeMapping.modified.contains(x.lineNumber)))}P!==I.movedTextToCompare.get()&&I.movedTextToCompare.set(void 0,void 0),I.setActiveMovedText(P)}))}}e.MovedBlocksLinesPart=n,n.movedCodeBlockPadding=4;class t{static compute(h){const r=[],c=[];for(const o of h){let d=r.findIndex(l=>!l.intersectsStrict(o));d===-1&&(r.length>=6?d=(0,D.findMaxIdxBy)(r,(0,D.compareBy)(p=>p.intersectWithRangeLength(o),D.numberComparator)):(d=r.length,r.push(new s.OffsetRangeSet))),r[d].addRange(o),c.push(d)}return new t(r.length,c)}constructor(h,r){this._trackCount=h,this.trackPerLineIdx=r}getTrack(h){return this.trackPerLineIdx[h]}getTrackCount(){return this._trackCount}}class a extends C.ViewZoneOverlayWidget{constructor(h,r,c,o,d){const l=(0,L.h)("div.diff-hidden-lines-widget");super(h,r,l.root),this._editor=h,this._move=c,this._kind=o,this._diffModel=d,this._nodes=(0,L.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,L.h)("div.text-content@textContent"),(0,L.h)("div.action-bar@actionBar")]),l.root.appendChild(this._nodes.root);const p=(0,_.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,C.applyStyle)(this._nodes.root,{paddingRight:p.map(E=>E.verticalScrollbarWidth)}));let m;c.changes.length>0?m=this._kind==="original"?(0,i.localize)(0,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(1,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive):m=this._kind==="original"?(0,i.localize)(2,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive):(0,i.localize)(3,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive);const v=this._register(new k.ActionBar(this._nodes.actionBar,{highlightToggledItems:!0})),b=new y.Action("",m,"",!1);v.push(b,{icon:!1,label:!0});const w=new y.Action("","Compare",g.ThemeIcon.asClassName(S.Codicon.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===c?void 0:this._move,void 0)});this._register((0,_.autorun)(E=>{const I=this._diffModel.movedTextToCompare.read(E)===c;w.checked=I})),v.push(w,{icon:!1,label:!0})}}}),define(ne[614],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffEditorWidget2/unchangedRanges",e)}),define(ne[615],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/diffReview",e)}),define(ne[616],se([3,4]),function(Q,e){return Q.create("vs/editor/browser/widget/inlineDiffMargin",e)}),define(ne[617],se([1,0,616,7,39,2,5,25,26,17]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffMargin=void 0;class C extends D.Disposable{get visibility(){return this._visibility}set visibility(i){this._visibility!==i&&(this._visibility=i,i?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")}constructor(i,n,t,a,u,h){super(),this._viewZoneId=i,this._marginDomNode=n,this.editor=t,this.diff=a,this._contextMenuService=u,this._clipboardService=h,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=_.ThemeIcon.asClassName(f.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const r=t.getOption(65),c=t.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${r}px`,this._diffActions.style.lineHeight=`${r}px`,this._marginDomNode.appendChild(this._diffActions);const o=[],d=a.modifiedEndLineNumber===0;o.push(new y.Action("diff.clipboard.copyDeletedContent",d?a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(0,null):L.localize(1,null):a.originalEndLineNumber>a.modifiedStartLineNumber?L.localize(2,null):L.localize(3,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber+1,1),E=a.originalModel.getValueInRange(w);yield this._clipboardService.writeText(E)})));let l=0,p;a.originalEndLineNumber>a.modifiedStartLineNumber&&(p=new y.Action("diff.clipboard.copyDeletedLineContent",d?L.localize(4,null,a.originalStartLineNumber):L.localize(5,null,a.originalStartLineNumber),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=a.originalModel.getLineContent(a.originalStartLineNumber+l);if(w===""){const E=a.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(E===0?` -`:`\r -`)}else yield this._clipboardService.writeText(w)})),o.push(p)),t.getOption(89)||o.push(new y.Action("diff.inline.revertChange",L.localize(6,null),void 0,!0,()=>we(this,void 0,void 0,function*(){const w=new S.Range(a.originalStartLineNumber,1,a.originalEndLineNumber,a.originalModel.getLineMaxColumn(a.originalEndLineNumber)),E=a.originalModel.getValueInRange(w);if(a.modifiedEndLineNumber===0){const I=t.getModel().getLineMaxColumn(a.modifiedStartLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,I,a.modifiedStartLineNumber,I),text:c+E}])}else{const I=t.getModel().getLineMaxColumn(a.modifiedEndLineNumber);t.executeEdits("diffEditor",[{range:new S.Range(a.modifiedStartLineNumber,1,a.modifiedEndLineNumber,I),text:E}])}})));const v=t.getOption(125)&&!g.isIOS,b=(w,E)=>{var I;this._contextMenuService.showContextMenu({domForShadowRoot:v&&(I=t.getDomNode())!==null&&I!==void 0?I:void 0,getAnchor:()=>({x:w,y:E}),getActions:()=>(p&&(p.label=d?L.localize(7,null,a.originalStartLineNumber+l):L.localize(8,null,a.originalStartLineNumber+l)),o),autoSelectFirstItem:!0})};this._register(k.addStandardDisposableListener(this._diffActions,"mousedown",w=>{const{top:E,height:I}=k.getDomNodePagePosition(this._diffActions),M=Math.floor(r/3);w.preventDefault(),b(w.posx,E+I+M)})),this._register(t.onMouseMove(w=>{w.target.type===8||w.target.type===5?w.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r)):this.visibility=!1:this.visibility=!1})),this._register(t.onMouseDown(w=>{w.event.rightButton&&(w.target.type===8||w.target.type===5)&&w.target.detail.viewZoneId===this._viewZoneId&&(w.event.preventDefault(),l=this._updateLightBulbPosition(this._marginDomNode,w.event.browserEvent.y,r),b(w.event.posx,w.event.posy+r))}))}_updateLightBulbPosition(i,n,t){const{top:a}=k.getDomNodePagePosition(i),u=n-a,h=Math.floor(u/t),r=h*t;if(this._diffActions.style.top=`${r}px`,this.diff.viewLineCounts){let c=0;for(let o=0;o"u"?this.defaultValue:le}compute(le,pe,Ce){return Ce}}function a(me,le){return typeof me>"u"?le:me==="false"?!1:!!me}e.boolean=a;class u extends t{constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="boolean",be.default=Ce),super(le,pe,Ce,be)}validate(le){return a(le,this.defaultValue)}}function h(me,le,pe,Ce){if(typeof me>"u")return le;let be=parseInt(me,10);return isNaN(be)?le:(be=Math.max(pe,be),be=Math.min(Ce,be),be|0)}e.clampedInt=h;class r extends t{static clampedInt(le,pe,Ce,be){return h(le,pe,Ce,be)}constructor(le,pe,Ce,be,Ie,Ne=void 0){typeof Ne<"u"&&(Ne.type="integer",Ne.default=Ce,Ne.minimum=be,Ne.maximum=Ie),super(le,pe,Ce,Ne),this.minimum=be,this.maximum=Ie}validate(le){return r.clampedInt(le,this.defaultValue,this.minimum,this.maximum)}}function c(me,le,pe,Ce){if(typeof me>"u")return le;const be=o.float(me,le);return o.clamp(be,pe,Ce)}e.clampedFloat=c;class o extends t{static clamp(le,pe,Ce){return leCe?Ce:le}static float(le,pe){if(typeof le=="number")return le;if(typeof le>"u")return pe;const Ce=parseFloat(le);return isNaN(Ce)?pe:Ce}constructor(le,pe,Ce,be,Ie){typeof Ie<"u"&&(Ie.type="number",Ie.default=Ce),super(le,pe,Ce,Ie),this.validationFn=be}validate(le){return this.validationFn(o.float(le,this.defaultValue))}}class d extends t{static string(le,pe){return typeof le!="string"?pe:le}constructor(le,pe,Ce,be=void 0){typeof be<"u"&&(be.type="string",be.default=Ce),super(le,pe,Ce,be)}validate(le){return d.string(le,this.defaultValue)}}function l(me,le,pe,Ce){return typeof me!="string"?le:Ce&&me in Ce?Ce[me]:pe.indexOf(me)===-1?le:me}e.stringSet=l;class p extends t{constructor(le,pe,Ce,be,Ie=void 0){typeof Ie<"u"&&(Ie.type="string",Ie.enum=be,Ie.default=Ce),super(le,pe,Ce,Ie),this._allowedValues=be}validate(le){return l(le,this.defaultValue,this._allowedValues)}}class m extends C{constructor(le,pe,Ce,be,Ie,Ne,Re=void 0){typeof Re<"u"&&(Re.type="string",Re.enum=Ie,Re.default=be),super(le,pe,Ce,Re),this._allowedValues=Ie,this._convert=Ne}validate(le){return typeof le!="string"?this.defaultValue:this._allowedValues.indexOf(le)===-1?this.defaultValue:this._convert(le)}}function v(me){switch(me){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class b extends C{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[f.localize(0,null),f.localize(1,null),f.localize(2,null)],default:"auto",tags:["accessibility"],description:f.localize(3,null)})}validate(le){switch(le){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(le,pe,Ce){return Ce===0?le.accessibilitySupport:Ce}}class w extends C{constructor(){const le={insertSpace:!0,ignoreEmptyLines:!0};super(22,"comments",le,{"editor.comments.insertSpace":{type:"boolean",default:le.insertSpace,description:f.localize(4,null)},"editor.comments.ignoreEmptyLines":{type:"boolean",default:le.ignoreEmptyLines,description:f.localize(5,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertSpace:a(pe.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:a(pe.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function E(me){switch(me){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var I;(function(me){me[me.Line=1]="Line",me[me.Block=2]="Block",me[me.Underline=3]="Underline",me[me.LineThin=4]="LineThin",me[me.BlockOutline=5]="BlockOutline",me[me.UnderlineThin=6]="UnderlineThin"})(I||(e.TextEditorCursorStyle=I={}));function M(me){switch(me){case"line":return I.Line;case"block":return I.Block;case"underline":return I.Underline;case"line-thin":return I.LineThin;case"block-outline":return I.BlockOutline;case"underline-thin":return I.UnderlineThin}}class P extends n{constructor(){super(139)}compute(le,pe,Ce){const be=["monaco-editor"];return pe.get(38)&&be.push(pe.get(38)),le.extraEditorClassName&&be.push(le.extraEditorClassName),pe.get(72)==="default"?be.push("mouse-default"):pe.get(72)==="copy"&&be.push("mouse-copy"),pe.get(109)&&be.push("showUnused"),pe.get(137)&&be.push("showDeprecated"),be.join(" ")}}class x extends u{constructor(){super(36,"emptySelectionClipboard",!0,{description:f.localize(6,null)})}compute(le,pe,Ce){return Ce&&le.emptySelectionClipboard}}class T extends C{constructor(){const le={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(40,"find",le,{"editor.find.cursorMoveOnType":{type:"boolean",default:le.cursorMoveOnType,description:f.localize(7,null)},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:le.seedSearchStringFromSelection,enumDescriptions:[f.localize(8,null),f.localize(9,null),f.localize(10,null)],description:f.localize(11,null)},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:le.autoFindInSelection,enumDescriptions:[f.localize(12,null),f.localize(13,null),f.localize(14,null)],description:f.localize(15,null)},"editor.find.globalFindClipboard":{type:"boolean",default:le.globalFindClipboard,description:f.localize(16,null),included:y.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:le.addExtraSpaceOnTop,description:f.localize(17,null)},"editor.find.loop":{type:"boolean",default:le.loop,description:f.localize(18,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{cursorMoveOnType:a(pe.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof le.seedSearchStringFromSelection=="boolean"?le.seedSearchStringFromSelection?"always":"never":l(pe.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof le.autoFindInSelection=="boolean"?le.autoFindInSelection?"always":"never":l(pe.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:a(pe.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:a(pe.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:a(pe.loop,this.defaultValue.loop)}}}class A extends C{constructor(){super(50,"fontLigatures",A.OFF,{anyOf:[{type:"boolean",description:f.localize(19,null)},{type:"string",description:f.localize(20,null)}],description:f.localize(21,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?A.OFF:le==="true"?A.ON:le:le?A.ON:A.OFF}}e.EditorFontLigatures=A,A.OFF='"liga" off, "calt" off',A.ON='"liga" on, "calt" on';class N extends C{constructor(){super(53,"fontVariations",N.OFF,{anyOf:[{type:"boolean",description:f.localize(22,null)},{type:"string",description:f.localize(23,null)}],description:f.localize(24,null),default:!1})}validate(le){return typeof le>"u"?this.defaultValue:typeof le=="string"?le==="false"?N.OFF:le==="true"?N.TRANSLATE:le:le?N.TRANSLATE:N.OFF}compute(le,pe,Ce){return le.fontInfo.fontVariationSettings}}e.EditorFontVariations=N,N.OFF="normal",N.TRANSLATE="translate";class F extends n{constructor(){super(49)}compute(le,pe,Ce){return le.fontInfo}}class O extends t{constructor(){super(51,"fontSize",e.EDITOR_FONT_DEFAULTS.fontSize,{type:"number",minimum:6,maximum:100,default:e.EDITOR_FONT_DEFAULTS.fontSize,description:f.localize(25,null)})}validate(le){const pe=o.float(le,this.defaultValue);return pe===0?e.EDITOR_FONT_DEFAULTS.fontSize:o.clamp(pe,6,100)}compute(le,pe,Ce){return le.fontInfo.fontSize}}class W extends C{constructor(){super(52,"fontWeight",e.EDITOR_FONT_DEFAULTS.fontWeight,{anyOf:[{type:"number",minimum:W.MINIMUM_VALUE,maximum:W.MAXIMUM_VALUE,errorMessage:f.localize(26,null)},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:W.SUGGESTION_VALUES}],default:e.EDITOR_FONT_DEFAULTS.fontWeight,description:f.localize(27,null)})}validate(le){return le==="normal"||le==="bold"?le:String(r.clampedInt(le,e.EDITOR_FONT_DEFAULTS.fontWeight,W.MINIMUM_VALUE,W.MAXIMUM_VALUE))}}W.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],W.MINIMUM_VALUE=1,W.MAXIMUM_VALUE=1e3;class U extends C{constructor(){const le={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},pe={type:"string",enum:["peek","gotoAndPeek","goto"],default:le.multiple,enumDescriptions:[f.localize(28,null),f.localize(29,null),f.localize(30,null)]},Ce=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(57,"gotoLocation",le,{"editor.gotoLocation.multiple":{deprecationMessage:f.localize(31,null)},"editor.gotoLocation.multipleDefinitions":Object.assign({description:f.localize(32,null)},pe),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:f.localize(33,null)},pe),"editor.gotoLocation.multipleDeclarations":Object.assign({description:f.localize(34,null)},pe),"editor.gotoLocation.multipleImplementations":Object.assign({description:f.localize(35,null)},pe),"editor.gotoLocation.multipleReferences":Object.assign({description:f.localize(36,null)},pe),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:le.alternativeDefinitionCommand,enum:Ce,description:f.localize(37,null)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:le.alternativeTypeDefinitionCommand,enum:Ce,description:f.localize(38,null)},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:le.alternativeDeclarationCommand,enum:Ce,description:f.localize(39,null)},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:le.alternativeImplementationCommand,enum:Ce,description:f.localize(40,null)},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:le.alternativeReferenceCommand,enum:Ce,description:f.localize(41,null)}})}validate(le){var pe,Ce,be,Ie,Ne;if(!le||typeof le!="object")return this.defaultValue;const Re=le;return{multiple:l(Re.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(pe=Re.multipleDefinitions)!==null&&pe!==void 0?pe:l(Re.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ce=Re.multipleTypeDefinitions)!==null&&Ce!==void 0?Ce:l(Re.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(be=Re.multipleDeclarations)!==null&&be!==void 0?be:l(Re.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Ie=Re.multipleImplementations)!==null&&Ie!==void 0?Ie:l(Re.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(Ne=Re.multipleReferences)!==null&&Ne!==void 0?Ne:l(Re.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:d.string(Re.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:d.string(Re.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:d.string(Re.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:d.string(Re.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:d.string(Re.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class j extends C{constructor(){const le={enabled:!0,delay:300,sticky:!0,above:!0};super(59,"hover",le,{"editor.hover.enabled":{type:"boolean",default:le.enabled,description:f.localize(42,null)},"editor.hover.delay":{type:"number",default:le.delay,minimum:0,maximum:1e4,description:f.localize(43,null)},"editor.hover.sticky":{type:"boolean",default:le.sticky,description:f.localize(44,null)},"editor.hover.above":{type:"boolean",default:le.above,description:f.localize(45,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),delay:r.clampedInt(pe.delay,this.defaultValue.delay,0,1e4),sticky:a(pe.sticky,this.defaultValue.sticky),above:a(pe.above,this.defaultValue.above)}}}class R extends n{constructor(){super(142)}compute(le,pe,Ce){return R.computeLayout(pe,{memory:le.memory,outerWidth:le.outerWidth,outerHeight:le.outerHeight,isDominatedByLongLines:le.isDominatedByLongLines,lineHeight:le.fontInfo.lineHeight,viewLineCount:le.viewLineCount,lineNumbersDigitCount:le.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:le.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:le.fontInfo.maxDigitWidth,pixelRatio:le.pixelRatio,glyphMarginDecorationLaneCount:le.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(le){const pe=le.height/le.lineHeight,Ce=Math.floor(le.paddingTop/le.lineHeight);let be=Math.floor(le.paddingBottom/le.lineHeight);le.scrollBeyondLastLine&&(be=Math.max(be,pe-1));const Ie=(Ce+le.viewLineCount+be)/(le.pixelRatio*le.height),Ne=Math.floor(le.viewLineCount/Ie);return{typicalViewportLineCount:pe,extraLinesBeforeFirstLine:Ce,extraLinesBeyondLastLine:be,desiredRatio:Ie,minimapLineCount:Ne}}static _computeMinimapLayout(le,pe){const Ce=le.outerWidth,be=le.outerHeight,Ie=le.pixelRatio;if(!le.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Ie*be),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:be};const Ne=pe.stableMinimapLayoutInput,Re=Ne&&le.outerHeight===Ne.outerHeight&&le.lineHeight===Ne.lineHeight&&le.typicalHalfwidthCharacterWidth===Ne.typicalHalfwidthCharacterWidth&&le.pixelRatio===Ne.pixelRatio&&le.scrollBeyondLastLine===Ne.scrollBeyondLastLine&&le.paddingTop===Ne.paddingTop&&le.paddingBottom===Ne.paddingBottom&&le.minimap.enabled===Ne.minimap.enabled&&le.minimap.side===Ne.minimap.side&&le.minimap.size===Ne.minimap.size&&le.minimap.showSlider===Ne.minimap.showSlider&&le.minimap.renderCharacters===Ne.minimap.renderCharacters&&le.minimap.maxColumn===Ne.minimap.maxColumn&&le.minimap.scale===Ne.minimap.scale&&le.verticalScrollbarWidth===Ne.verticalScrollbarWidth&&le.isViewportWrapping===Ne.isViewportWrapping,Ve=le.lineHeight,ze=le.typicalHalfwidthCharacterWidth,We=le.scrollBeyondLastLine,qe=le.minimap.renderCharacters;let Oe=Ie>=2?Math.round(le.minimap.scale*2):le.minimap.scale;const Ge=le.minimap.maxColumn,Qe=le.minimap.size,st=le.minimap.side,nt=le.verticalScrollbarWidth,ot=le.viewLineCount,ct=le.remainingWidth,lt=le.isViewportWrapping,gt=qe?2:3;let at=Math.floor(Ie*be);const ht=at/Ie;let Be=!1,Te=!1,xe=gt*Oe,He=Oe/Ie,Ye=1;if(Qe==="fill"||Qe==="fit"){const{typicalViewportLineCount:$e,extraLinesBeforeFirstLine:et,extraLinesBeyondLastLine:tt,desiredRatio:ut,minimapLineCount:it}=R.computeContainedMinimapLineCount({viewLineCount:ot,scrollBeyondLastLine:We,paddingTop:le.paddingTop,paddingBottom:le.paddingBottom,height:be,lineHeight:Ve,pixelRatio:Ie});if(ot/it>1)Be=!0,Te=!0,Oe=1,xe=1,He=Oe/Ie;else{let dt=!1,ft=Oe+1;if(Qe==="fit"){const St=Math.ceil((et+ot+tt)*xe);lt&&Re&&ct<=pe.stableFitRemainingWidth?(dt=!0,ft=pe.stableFitMaxMinimapScale):dt=St>at}if(Qe==="fill"||dt){Be=!0;const St=Oe;xe=Math.min(Ve*Ie,Math.max(1,Math.floor(1/ut))),lt&&Re&&ct<=pe.stableFitRemainingWidth&&(ft=pe.stableFitMaxMinimapScale),Oe=Math.min(ft,Math.max(1,Math.floor(xe/gt))),Oe>St&&(Ye=Math.min(2,Oe/St)),He=Oe/Ie/Ye,at=Math.ceil(Math.max($e,et+ot+tt)*xe),lt?(pe.stableMinimapLayoutInput=le,pe.stableFitRemainingWidth=ct,pe.stableFitMaxMinimapScale=Oe):(pe.stableMinimapLayoutInput=null,pe.stableFitRemainingWidth=0)}}}const Ze=Math.floor(Ge*He),Xe=Math.min(Ze,Math.max(0,Math.floor((ct-nt-2)*He/(ze+He)))+e.MINIMAP_GUTTER_WIDTH);let je=Math.floor(Ie*Xe);const Ae=je/Ie;je=Math.floor(je*Ye);const Ue=qe?1:2,Ke=st==="left"?0:Ce-Xe-nt;return{renderMinimap:Ue,minimapLeft:Ke,minimapWidth:Xe,minimapHeightIsEditorHeight:Be,minimapIsSampling:Te,minimapScale:Oe,minimapLineHeight:xe,minimapCanvasInnerWidth:je,minimapCanvasInnerHeight:at,minimapCanvasOuterWidth:Ae,minimapCanvasOuterHeight:ht}}static computeLayout(le,pe){const Ce=pe.outerWidth|0,be=pe.outerHeight|0,Ie=pe.lineHeight|0,Ne=pe.lineNumbersDigitCount|0,Re=pe.typicalHalfwidthCharacterWidth,Ve=pe.maxDigitWidth,ze=pe.pixelRatio,We=pe.viewLineCount,qe=le.get(134),Oe=qe==="inherit"?le.get(133):qe,Ge=Oe==="inherit"?le.get(129):Oe,Qe=le.get(132),st=pe.isDominatedByLongLines,nt=le.get(56),ot=le.get(66).renderType!==0,ct=le.get(67),lt=le.get(103),gt=le.get(82),at=le.get(71),ht=le.get(101),Be=ht.verticalScrollbarSize,Te=ht.verticalHasArrows,xe=ht.arrowSize,He=ht.horizontalScrollbarSize,Ye=le.get(42),Ze=le.get(108)!=="never";let Xe=le.get(64);Ye&&Ze&&(Xe+=16);let je=0;if(ot){const wt=Math.max(Ne,ct);je=Math.round(wt*Ve)}let Ae=0;nt&&(Ae=Ie*pe.glyphMarginDecorationLaneCount);let Ue=0,Ke=Ue+Ae,$e=Ke+je,et=$e+Xe;const tt=Ce-Ae-je-Xe;let ut=!1,it=!1,rt=-1;Oe==="inherit"&&st?(ut=!0,it=!0):Ge==="on"||Ge==="bounded"?it=!0:Ge==="wordWrapColumn"&&(rt=Qe);const dt=R._computeMinimapLayout({outerWidth:Ce,outerHeight:be,lineHeight:Ie,typicalHalfwidthCharacterWidth:Re,pixelRatio:ze,scrollBeyondLastLine:lt,paddingTop:gt.top,paddingBottom:gt.bottom,minimap:at,verticalScrollbarWidth:Be,viewLineCount:We,remainingWidth:tt,isViewportWrapping:it},pe.memory||new g);dt.renderMinimap!==0&&dt.minimapLeft===0&&(Ue+=dt.minimapWidth,Ke+=dt.minimapWidth,$e+=dt.minimapWidth,et+=dt.minimapWidth);const ft=tt-dt.minimapWidth,St=Math.max(1,Math.floor((ft-Be-2)/Re)),mt=Te?xe:0;return it&&(rt=Math.max(1,St),Ge==="bounded"&&(rt=Math.min(rt,Qe))),{width:Ce,height:be,glyphMarginLeft:Ue,glyphMarginWidth:Ae,glyphMarginDecorationLaneCount:pe.glyphMarginDecorationLaneCount,lineNumbersLeft:Ke,lineNumbersWidth:je,decorationsLeft:$e,decorationsWidth:Xe,contentLeft:et,contentWidth:ft,minimap:dt,viewportColumn:St,isWordWrapMinified:ut,isViewportWrapping:it,wrappingColumn:rt,verticalScrollbarWidth:Be,horizontalScrollbarHeight:He,overviewRuler:{top:mt,width:Be,height:be-2*mt,right:0}}}}e.EditorLayoutInfoComputer=R;class K extends C{constructor(){super(136,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[f.localize(46,null),f.localize(47,null)],type:"string",enum:["simple","advanced"],default:"simple",description:f.localize(48,null)}})}validate(le){return l(le,"simple",["simple","advanced"])}compute(le,pe,Ce){return pe.get(2)===2?"advanced":Ce}}class G extends C{constructor(){const le={enabled:!0};super(63,"lightbulb",le,{"editor.lightbulb.enabled":{type:"boolean",default:le.enabled,description:f.localize(49,null)}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{enabled:a(le.enabled,this.defaultValue.enabled)}}}class Z extends C{constructor(){const le={enabled:!1,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(113,"stickyScroll",le,{"editor.stickyScroll.enabled":{type:"boolean",default:le.enabled,description:f.localize(50,null)},"editor.stickyScroll.maxLineCount":{type:"number",default:le.maxLineCount,minimum:1,maximum:10,description:f.localize(51,null)},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:le.defaultModel,description:f.localize(52,null)},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:le.scrollWithEditor,description:f.localize(53,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),maxLineCount:r.clampedInt(pe.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:l(pe.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:a(pe.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class J extends C{constructor(){const le={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(138,"inlayHints",le,{"editor.inlayHints.enabled":{type:"string",default:le.enabled,description:f.localize(54,null),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[f.localize(55,null),f.localize(56,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(57,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),f.localize(58,null)]},"editor.inlayHints.fontSize":{type:"number",default:le.fontSize,markdownDescription:f.localize(59,null,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:le.fontFamily,markdownDescription:f.localize(60,null,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:le.padding,description:f.localize(61,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return typeof pe.enabled=="boolean"&&(pe.enabled=pe.enabled?"on":"off"),{enabled:l(pe.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:r.clampedInt(pe.fontSize,this.defaultValue.fontSize,0,100),fontFamily:d.string(pe.fontFamily,this.defaultValue.fontFamily),padding:a(pe.padding,this.defaultValue.padding)}}}class X extends C{constructor(){super(64,"lineDecorationsWidth",10)}validate(le){return typeof le=="string"&&/^\d+(\.\d+)?ch$/.test(le)?-parseFloat(le.substring(0,le.length-2)):r.clampedInt(le,this.defaultValue,0,1e3)}compute(le,pe,Ce){return Ce<0?r.clampedInt(-Ce*le.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):Ce}}class H extends o{constructor(){super(65,"lineHeight",e.EDITOR_FONT_DEFAULTS.lineHeight,le=>o.clamp(le,0,150),{markdownDescription:f.localize(62,null)})}compute(le,pe,Ce){return le.fontInfo.lineHeight}}class B extends C{constructor(){const le={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(71,"minimap",le,{"editor.minimap.enabled":{type:"boolean",default:le.enabled,description:f.localize(63,null)},"editor.minimap.autohide":{type:"boolean",default:le.autohide,description:f.localize(64,null)},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[f.localize(65,null),f.localize(66,null),f.localize(67,null)],default:le.size,description:f.localize(68,null)},"editor.minimap.side":{type:"string",enum:["left","right"],default:le.side,description:f.localize(69,null)},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:le.showSlider,description:f.localize(70,null)},"editor.minimap.scale":{type:"number",default:le.scale,minimum:1,maximum:3,enum:[1,2,3],description:f.localize(71,null)},"editor.minimap.renderCharacters":{type:"boolean",default:le.renderCharacters,description:f.localize(72,null)},"editor.minimap.maxColumn":{type:"number",default:le.maxColumn,description:f.localize(73,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),autohide:a(pe.autohide,this.defaultValue.autohide),size:l(pe.size,this.defaultValue.size,["proportional","fill","fit"]),side:l(pe.side,this.defaultValue.side,["right","left"]),showSlider:l(pe.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:a(pe.renderCharacters,this.defaultValue.renderCharacters),scale:r.clampedInt(pe.scale,1,1,3),maxColumn:r.clampedInt(pe.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function V(me){return me==="ctrlCmd"?y.isMacintosh?"metaKey":"ctrlKey":"altKey"}class Y extends C{constructor(){super(82,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(74,null)},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:f.localize(75,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{top:r.clampedInt(pe.top,0,0,1e3),bottom:r.clampedInt(pe.bottom,0,0,1e3)}}}class ie extends C{constructor(){const le={enabled:!0,cycle:!0};super(84,"parameterHints",le,{"editor.parameterHints.enabled":{type:"boolean",default:le.enabled,description:f.localize(76,null)},"editor.parameterHints.cycle":{type:"boolean",default:le.cycle,description:f.localize(77,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),cycle:a(pe.cycle,this.defaultValue.cycle)}}}class ae extends n{constructor(){super(140)}compute(le,pe,Ce){return le.pixelRatio}}class ce extends C{constructor(){const le={other:"on",comments:"off",strings:"off"},pe=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[f.localize(78,null),f.localize(79,null),f.localize(80,null)]}];super(87,"quickSuggestions",le,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:pe,default:le.strings,description:f.localize(81,null)},comments:{anyOf:pe,default:le.comments,description:f.localize(82,null)},other:{anyOf:pe,default:le.other,description:f.localize(83,null)}},default:le,markdownDescription:f.localize(84,null,"#editor.suggestOnTriggerCharacters#")}),this.defaultValue=le}validate(le){if(typeof le=="boolean"){const ze=le?"on":"off";return{comments:ze,strings:ze,other:ze}}if(!le||typeof le!="object")return this.defaultValue;const{other:pe,comments:Ce,strings:be}=le,Ie=["on","inline","off"];let Ne,Re,Ve;return typeof pe=="boolean"?Ne=pe?"on":"off":Ne=l(pe,this.defaultValue.other,Ie),typeof Ce=="boolean"?Re=Ce?"on":"off":Re=l(Ce,this.defaultValue.comments,Ie),typeof be=="boolean"?Ve=be?"on":"off":Ve=l(be,this.defaultValue.strings,Ie),{other:Ne,comments:Re,strings:Ve}}}class de extends C{constructor(){super(66,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[f.localize(85,null),f.localize(86,null),f.localize(87,null),f.localize(88,null)],default:"on",description:f.localize(89,null)})}validate(le){let pe=this.defaultValue.renderType,Ce=this.defaultValue.renderFn;return typeof le<"u"&&(typeof le=="function"?(pe=4,Ce=le):le==="interval"?pe=3:le==="relative"?pe=2:le==="on"?pe=1:pe=0),{renderType:pe,renderFn:Ce}}}function he(me){const le=me.get(96);return le==="editable"?me.get(89):le!=="on"}e.filterValidationDecorations=he;class ue extends C{constructor(){const le=[],pe={type:"number",description:f.localize(90,null)};super(100,"rulers",le,{type:"array",items:{anyOf:[pe,{type:["object"],properties:{column:pe,color:{type:"string",description:f.localize(91,null),format:"color-hex"}}}]},default:le,description:f.localize(92,null)})}validate(le){if(Array.isArray(le)){const pe=[];for(const Ce of le)if(typeof Ce=="number")pe.push({column:r.clampedInt(Ce,0,0,1e4),color:null});else if(Ce&&typeof Ce=="object"){const be=Ce;pe.push({column:r.clampedInt(be.column,0,0,1e4),color:be.color})}return pe.sort((Ce,be)=>Ce.column-be.column),pe}return this.defaultValue}}class te extends C{constructor(){super(90,"readOnlyMessage",void 0)}validate(le){return!le||typeof le!="object"?this.defaultValue:le}}function q(me,le){if(typeof me!="string")return le;switch(me){case"hidden":return 2;case"visible":return 3;default:return 1}}class z extends C{constructor(){const le={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(101,"scrollbar",le,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(93,null),f.localize(94,null),f.localize(95,null)],default:"auto",description:f.localize(96,null)},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[f.localize(97,null),f.localize(98,null),f.localize(99,null)],default:"auto",description:f.localize(100,null)},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:le.verticalScrollbarSize,description:f.localize(101,null)},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:le.horizontalScrollbarSize,description:f.localize(102,null)},"editor.scrollbar.scrollByPage":{type:"boolean",default:le.scrollByPage,description:f.localize(103,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le,Ce=r.clampedInt(pe.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),be=r.clampedInt(pe.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:r.clampedInt(pe.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:q(pe.vertical,this.defaultValue.vertical),horizontal:q(pe.horizontal,this.defaultValue.horizontal),useShadows:a(pe.useShadows,this.defaultValue.useShadows),verticalHasArrows:a(pe.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:a(pe.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:a(pe.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:a(pe.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:Ce,horizontalSliderSize:r.clampedInt(pe.horizontalSliderSize,Ce,0,1e3),verticalScrollbarSize:be,verticalSliderSize:r.clampedInt(pe.verticalSliderSize,be,0,1e3),scrollByPage:a(pe.scrollByPage,this.defaultValue.scrollByPage)}}}e.inUntrustedWorkspace="inUntrustedWorkspace",e.unicodeHighlightConfigKeys={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class ee extends C{constructor(){const le={nonBasicASCII:e.inUntrustedWorkspace,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:e.inUntrustedWorkspace,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(123,"unicodeHighlight",le,{[e.unicodeHighlightConfigKeys.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.nonBasicASCII,description:f.localize(104,null)},[e.unicodeHighlightConfigKeys.invisibleCharacters]:{restricted:!0,type:"boolean",default:le.invisibleCharacters,description:f.localize(105,null)},[e.unicodeHighlightConfigKeys.ambiguousCharacters]:{restricted:!0,type:"boolean",default:le.ambiguousCharacters,description:f.localize(106,null)},[e.unicodeHighlightConfigKeys.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeComments,description:f.localize(107,null)},[e.unicodeHighlightConfigKeys.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:le.includeStrings,description:f.localize(108,null)},[e.unicodeHighlightConfigKeys.allowedCharacters]:{restricted:!0,type:"object",default:le.allowedCharacters,description:f.localize(109,null),additionalProperties:{type:"boolean"}},[e.unicodeHighlightConfigKeys.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:le.allowedLocales,description:f.localize(110,null)}})}applyUpdate(le,pe){let Ce=!1;pe.allowedCharacters&&le&&(k.equals(le.allowedCharacters,pe.allowedCharacters)||(le=Object.assign(Object.assign({},le),{allowedCharacters:pe.allowedCharacters}),Ce=!0)),pe.allowedLocales&&le&&(k.equals(le.allowedLocales,pe.allowedLocales)||(le=Object.assign(Object.assign({},le),{allowedLocales:pe.allowedLocales}),Ce=!0));const be=super.applyUpdate(le,pe);return Ce?new s(be.newValue,!0):be}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{nonBasicASCII:ge(pe.nonBasicASCII,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),invisibleCharacters:a(pe.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:a(pe.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:ge(pe.includeComments,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),includeStrings:ge(pe.includeStrings,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),allowedCharacters:this.validateBooleanMap(le.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(le.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(le,pe){if(typeof le!="object"||!le)return pe;const Ce={};for(const[be,Ie]of Object.entries(le))Ie===!0&&(Ce[be]=!0);return Ce}}class $ extends C{constructor(){const le={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1};super(61,"inlineSuggest",le,{"editor.inlineSuggest.enabled":{type:"boolean",default:le.enabled,description:f.localize(111,null)},"editor.inlineSuggest.showToolbar":{type:"string",default:le.showToolbar,enum:["always","onHover"],enumDescriptions:[f.localize(112,null),f.localize(113,null)],description:f.localize(114,null)},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:le.suppressSuggestions,description:f.localize(115,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),mode:l(pe.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:l(pe.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:a(pe.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:a(pe.keepOnBlur,this.defaultValue.keepOnBlur)}}}class re extends C{constructor(){const le={enabled:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(14,"bracketPairColorization",le,{"editor.bracketPairColorization.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(116,null,"`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:le.independentColorPoolPerBracketType,description:f.localize(117,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:a(pe.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class oe extends C{constructor(){const le={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(15,"guides",le,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(118,null),f.localize(119,null),f.localize(120,null)],default:le.bracketPairs,description:f.localize(121,null)},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[f.localize(122,null),f.localize(123,null),f.localize(124,null)],default:le.bracketPairsHorizontal,description:f.localize(125,null)},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:le.highlightActiveBracketPair,description:f.localize(126,null)},"editor.guides.indentation":{type:"boolean",default:le.indentation,description:f.localize(127,null)},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[f.localize(128,null),f.localize(129,null),f.localize(130,null)],default:le.highlightActiveIndentation,description:f.localize(131,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{bracketPairs:ge(pe.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:ge(pe.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:a(pe.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:a(pe.indentation,this.defaultValue.indentation),highlightActiveIndentation:ge(pe.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function ge(me,le,pe){const Ce=pe.indexOf(me);return Ce===-1?le:pe[Ce]}class ve extends C{constructor(){const le={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(116,"suggest",le,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[f.localize(132,null),f.localize(133,null)],default:le.insertMode,description:f.localize(134,null)},"editor.suggest.filterGraceful":{type:"boolean",default:le.filterGraceful,description:f.localize(135,null)},"editor.suggest.localityBonus":{type:"boolean",default:le.localityBonus,description:f.localize(136,null)},"editor.suggest.shareSuggestSelections":{type:"boolean",default:le.shareSuggestSelections,markdownDescription:f.localize(137,null)},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[f.localize(138,null),f.localize(139,null),f.localize(140,null),f.localize(141,null)],default:le.selectionMode,markdownDescription:f.localize(142,null)},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:le.snippetsPreventQuickSuggestions,description:f.localize(143,null)},"editor.suggest.showIcons":{type:"boolean",default:le.showIcons,description:f.localize(144,null)},"editor.suggest.showStatusBar":{type:"boolean",default:le.showStatusBar,description:f.localize(145,null)},"editor.suggest.preview":{type:"boolean",default:le.preview,description:f.localize(146,null)},"editor.suggest.showInlineDetails":{type:"boolean",default:le.showInlineDetails,description:f.localize(147,null)},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:f.localize(148,null)},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:f.localize(149,null)},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:f.localize(150,null)},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:f.localize(151,null)},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:f.localize(152,null)},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:f.localize(153,null)},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:f.localize(154,null)},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:f.localize(155,null)},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:f.localize(156,null)},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:f.localize(157,null)},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:f.localize(158,null)},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:f.localize(159,null)},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:f.localize(160,null)},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:f.localize(161,null)},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:f.localize(162,null)},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:f.localize(163,null)},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:f.localize(164,null)},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:f.localize(165,null)},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:f.localize(166,null)},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:f.localize(167,null)},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:f.localize(168,null)},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:f.localize(169,null)},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:f.localize(170,null)},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:f.localize(171,null)},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:f.localize(172,null)},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:f.localize(173,null)},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:f.localize(174,null)},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:f.localize(175,null)},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:f.localize(176,null)},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:f.localize(177,null)},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:f.localize(178,null)},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:f.localize(179,null)}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{insertMode:l(pe.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:a(pe.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:a(pe.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:a(pe.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:a(pe.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:l(pe.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:a(pe.showIcons,this.defaultValue.showIcons),showStatusBar:a(pe.showStatusBar,this.defaultValue.showStatusBar),preview:a(pe.preview,this.defaultValue.preview),previewMode:l(pe.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:a(pe.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:a(pe.showMethods,this.defaultValue.showMethods),showFunctions:a(pe.showFunctions,this.defaultValue.showFunctions),showConstructors:a(pe.showConstructors,this.defaultValue.showConstructors),showDeprecated:a(pe.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:a(pe.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:a(pe.showFields,this.defaultValue.showFields),showVariables:a(pe.showVariables,this.defaultValue.showVariables),showClasses:a(pe.showClasses,this.defaultValue.showClasses),showStructs:a(pe.showStructs,this.defaultValue.showStructs),showInterfaces:a(pe.showInterfaces,this.defaultValue.showInterfaces),showModules:a(pe.showModules,this.defaultValue.showModules),showProperties:a(pe.showProperties,this.defaultValue.showProperties),showEvents:a(pe.showEvents,this.defaultValue.showEvents),showOperators:a(pe.showOperators,this.defaultValue.showOperators),showUnits:a(pe.showUnits,this.defaultValue.showUnits),showValues:a(pe.showValues,this.defaultValue.showValues),showConstants:a(pe.showConstants,this.defaultValue.showConstants),showEnums:a(pe.showEnums,this.defaultValue.showEnums),showEnumMembers:a(pe.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:a(pe.showKeywords,this.defaultValue.showKeywords),showWords:a(pe.showWords,this.defaultValue.showWords),showColors:a(pe.showColors,this.defaultValue.showColors),showFiles:a(pe.showFiles,this.defaultValue.showFiles),showReferences:a(pe.showReferences,this.defaultValue.showReferences),showFolders:a(pe.showFolders,this.defaultValue.showFolders),showTypeParameters:a(pe.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:a(pe.showSnippets,this.defaultValue.showSnippets),showUsers:a(pe.showUsers,this.defaultValue.showUsers),showIssues:a(pe.showIssues,this.defaultValue.showIssues)}}}class Se extends C{constructor(){super(111,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:f.localize(180,null),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:f.localize(181,null),default:!0,type:"boolean"}})}validate(le){return!le||typeof le!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:a(le.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:a(le.selectSubwords,this.defaultValue.selectSubwords)}}}class Le extends C{constructor(){super(135,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[f.localize(182,null),f.localize(183,null),f.localize(184,null),f.localize(185,null)],description:f.localize(186,null),default:"same"}})}validate(le){switch(le){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(le,pe,Ce){return pe.get(2)===2?0:Ce}}class De extends n{constructor(){super(143)}compute(le,pe,Ce){const be=pe.get(142);return{isDominatedByLongLines:le.isDominatedByLongLines,isWordWrapMinified:be.isWordWrapMinified,isViewportWrapping:be.isViewportWrapping,wrappingColumn:be.wrappingColumn}}}class ye extends C{constructor(){const le={enabled:!0,showDropSelector:"afterDrop"};super(35,"dropIntoEditor",le,{"editor.dropIntoEditor.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(187,null)},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:f.localize(188,null),enum:["afterDrop","never"],enumDescriptions:[f.localize(189,null),f.localize(190,null)],default:"afterDrop"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showDropSelector:l(pe.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class Ee extends C{constructor(){const le={enabled:!0,showPasteSelector:"afterPaste"};super(83,"pasteAs",le,{"editor.pasteAs.enabled":{type:"boolean",default:le.enabled,markdownDescription:f.localize(191,null)},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:f.localize(192,null),enum:["afterPaste","never"],enumDescriptions:[f.localize(193,null),f.localize(194,null)],default:"afterPaste"}})}validate(le){if(!le||typeof le!="object")return this.defaultValue;const pe=le;return{enabled:a(pe.enabled,this.defaultValue.enabled),showPasteSelector:l(pe.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const Me="Consolas, 'Courier New', monospace",Pe="Menlo, Monaco, 'Courier New', monospace",Fe="'Droid Sans Mono', 'monospace', monospace";e.EDITOR_FONT_DEFAULTS={fontFamily:y.isMacintosh?Pe:y.isLinux?Fe:Me,fontWeight:"normal",fontSize:y.isMacintosh?12:14,lineHeight:0,letterSpacing:0},e.editorOptionsRegistry=[];function _e(me){return e.editorOptionsRegistry[me.id]=me,me}e.EditorOptions={acceptSuggestionOnCommitCharacter:_e(new u(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:f.localize(195,null)})),acceptSuggestionOnEnter:_e(new p(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",f.localize(196,null),""],markdownDescription:f.localize(197,null)})),accessibilitySupport:_e(new b),accessibilityPageSize:_e(new r(3,"accessibilityPageSize",10,1,1073741824,{description:f.localize(198,null),tags:["accessibility"]})),ariaLabel:_e(new d(4,"ariaLabel",f.localize(199,null))),ariaRequired:_e(new u(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:_e(new u(7,"screenReaderAnnounceInlineSuggestion",!0,{description:f.localize(200,null),tags:["accessibility"]})),autoClosingBrackets:_e(new p(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(201,null),f.localize(202,null),""],description:f.localize(203,null)})),autoClosingDelete:_e(new p(8,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",f.localize(204,null),""],description:f.localize(205,null)})),autoClosingOvertype:_e(new p(9,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",f.localize(206,null),""],description:f.localize(207,null)})),autoClosingQuotes:_e(new p(10,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",f.localize(208,null),f.localize(209,null),""],description:f.localize(210,null)})),autoIndent:_e(new m(11,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],v,{enumDescriptions:[f.localize(211,null),f.localize(212,null),f.localize(213,null),f.localize(214,null),f.localize(215,null)],description:f.localize(216,null)})),automaticLayout:_e(new u(12,"automaticLayout",!1)),autoSurround:_e(new p(13,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[f.localize(217,null),f.localize(218,null),f.localize(219,null),""],description:f.localize(220,null)})),bracketPairColorization:_e(new re),bracketPairGuides:_e(new oe),stickyTabStops:_e(new u(114,"stickyTabStops",!1,{description:f.localize(221,null)})),codeLens:_e(new u(16,"codeLens",!0,{description:f.localize(222,null)})),codeLensFontFamily:_e(new d(17,"codeLensFontFamily","",{description:f.localize(223,null)})),codeLensFontSize:_e(new r(18,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:f.localize(224,null)})),colorDecorators:_e(new u(19,"colorDecorators",!0,{description:f.localize(225,null)})),colorDecoratorActivatedOn:_e(new p(145,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[f.localize(226,null),f.localize(227,null),f.localize(228,null)],description:f.localize(229,null)})),colorDecoratorsLimit:_e(new r(20,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:f.localize(230,null)})),columnSelection:_e(new u(21,"columnSelection",!1,{description:f.localize(231,null)})),comments:_e(new w),contextmenu:_e(new u(23,"contextmenu",!0)),copyWithSyntaxHighlighting:_e(new u(24,"copyWithSyntaxHighlighting",!0,{description:f.localize(232,null)})),cursorBlinking:_e(new m(25,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],E,{description:f.localize(233,null)})),cursorSmoothCaretAnimation:_e(new p(26,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[f.localize(234,null),f.localize(235,null),f.localize(236,null)],description:f.localize(237,null)})),cursorStyle:_e(new m(27,"cursorStyle",I.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],M,{description:f.localize(238,null)})),cursorSurroundingLines:_e(new r(28,"cursorSurroundingLines",0,0,1073741824,{description:f.localize(239,null)})),cursorSurroundingLinesStyle:_e(new p(29,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[f.localize(240,null),f.localize(241,null)],description:f.localize(242,null)})),cursorWidth:_e(new r(30,"cursorWidth",0,0,1073741824,{markdownDescription:f.localize(243,null)})),disableLayerHinting:_e(new u(31,"disableLayerHinting",!1)),disableMonospaceOptimizations:_e(new u(32,"disableMonospaceOptimizations",!1)),domReadOnly:_e(new u(33,"domReadOnly",!1)),dragAndDrop:_e(new u(34,"dragAndDrop",!0,{description:f.localize(244,null)})),emptySelectionClipboard:_e(new x),dropIntoEditor:_e(new ye),stickyScroll:_e(new Z),experimentalWhitespaceRendering:_e(new p(37,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[f.localize(245,null),f.localize(246,null),f.localize(247,null)],description:f.localize(248,null)})),extraEditorClassName:_e(new d(38,"extraEditorClassName","")),fastScrollSensitivity:_e(new o(39,"fastScrollSensitivity",5,me=>me<=0?5:me,{markdownDescription:f.localize(249,null)})),find:_e(new T),fixedOverflowWidgets:_e(new u(41,"fixedOverflowWidgets",!1)),folding:_e(new u(42,"folding",!0,{description:f.localize(250,null)})),foldingStrategy:_e(new p(43,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[f.localize(251,null),f.localize(252,null)],description:f.localize(253,null)})),foldingHighlight:_e(new u(44,"foldingHighlight",!0,{description:f.localize(254,null)})),foldingImportsByDefault:_e(new u(45,"foldingImportsByDefault",!1,{description:f.localize(255,null)})),foldingMaximumRegions:_e(new r(46,"foldingMaximumRegions",5e3,10,65e3,{description:f.localize(256,null)})),unfoldOnClickAfterEndOfLine:_e(new u(47,"unfoldOnClickAfterEndOfLine",!1,{description:f.localize(257,null)})),fontFamily:_e(new d(48,"fontFamily",e.EDITOR_FONT_DEFAULTS.fontFamily,{description:f.localize(258,null)})),fontInfo:_e(new F),fontLigatures2:_e(new A),fontSize:_e(new O),fontWeight:_e(new W),fontVariations:_e(new N),formatOnPaste:_e(new u(54,"formatOnPaste",!1,{description:f.localize(259,null)})),formatOnType:_e(new u(55,"formatOnType",!1,{description:f.localize(260,null)})),glyphMargin:_e(new u(56,"glyphMargin",!0,{description:f.localize(261,null)})),gotoLocation:_e(new U),hideCursorInOverviewRuler:_e(new u(58,"hideCursorInOverviewRuler",!1,{description:f.localize(262,null)})),hover:_e(new j),inDiffEditor:_e(new u(60,"inDiffEditor",!1)),letterSpacing:_e(new o(62,"letterSpacing",e.EDITOR_FONT_DEFAULTS.letterSpacing,me=>o.clamp(me,-5,20),{description:f.localize(263,null)})),lightbulb:_e(new G),lineDecorationsWidth:_e(new X),lineHeight:_e(new H),lineNumbers:_e(new de),lineNumbersMinChars:_e(new r(67,"lineNumbersMinChars",5,1,300)),linkedEditing:_e(new u(68,"linkedEditing",!1,{description:f.localize(264,null)})),links:_e(new u(69,"links",!0,{description:f.localize(265,null)})),matchBrackets:_e(new p(70,"matchBrackets","always",["always","near","never"],{description:f.localize(266,null)})),minimap:_e(new B),mouseStyle:_e(new p(72,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:_e(new o(73,"mouseWheelScrollSensitivity",1,me=>me===0?1:me,{markdownDescription:f.localize(267,null)})),mouseWheelZoom:_e(new u(74,"mouseWheelZoom",!1,{markdownDescription:f.localize(268,null)})),multiCursorMergeOverlapping:_e(new u(75,"multiCursorMergeOverlapping",!0,{description:f.localize(269,null)})),multiCursorModifier:_e(new m(76,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],V,{markdownEnumDescriptions:[f.localize(270,null),f.localize(271,null)],markdownDescription:f.localize(272,null)})),multiCursorPaste:_e(new p(77,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[f.localize(273,null),f.localize(274,null)],markdownDescription:f.localize(275,null)})),multiCursorLimit:_e(new r(78,"multiCursorLimit",1e4,1,1e5,{markdownDescription:f.localize(276,null)})),occurrencesHighlight:_e(new u(79,"occurrencesHighlight",!0,{description:f.localize(277,null)})),overviewRulerBorder:_e(new u(80,"overviewRulerBorder",!0,{description:f.localize(278,null)})),overviewRulerLanes:_e(new r(81,"overviewRulerLanes",3,0,3)),padding:_e(new Y),pasteAs:_e(new Ee),parameterHints:_e(new ie),peekWidgetDefaultFocus:_e(new p(85,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[f.localize(279,null),f.localize(280,null)],description:f.localize(281,null)})),definitionLinkOpensInPeek:_e(new u(86,"definitionLinkOpensInPeek",!1,{description:f.localize(282,null)})),quickSuggestions:_e(new ce),quickSuggestionsDelay:_e(new r(88,"quickSuggestionsDelay",10,0,1073741824,{description:f.localize(283,null)})),readOnly:_e(new u(89,"readOnly",!1)),readOnlyMessage:_e(new te),renameOnType:_e(new u(91,"renameOnType",!1,{description:f.localize(284,null),markdownDeprecationMessage:f.localize(285,null)})),renderControlCharacters:_e(new u(92,"renderControlCharacters",!0,{description:f.localize(286,null),restricted:!0})),renderFinalNewline:_e(new p(93,"renderFinalNewline",y.isLinux?"dimmed":"on",["off","on","dimmed"],{description:f.localize(287,null)})),renderLineHighlight:_e(new p(94,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",f.localize(288,null)],description:f.localize(289,null)})),renderLineHighlightOnlyWhenFocus:_e(new u(95,"renderLineHighlightOnlyWhenFocus",!1,{description:f.localize(290,null)})),renderValidationDecorations:_e(new p(96,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:_e(new p(97,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",f.localize(291,null),f.localize(292,null),f.localize(293,null),""],description:f.localize(294,null)})),revealHorizontalRightPadding:_e(new r(98,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:_e(new u(99,"roundedSelection",!0,{description:f.localize(295,null)})),rulers:_e(new ue),scrollbar:_e(new z),scrollBeyondLastColumn:_e(new r(102,"scrollBeyondLastColumn",4,0,1073741824,{description:f.localize(296,null)})),scrollBeyondLastLine:_e(new u(103,"scrollBeyondLastLine",!0,{description:f.localize(297,null)})),scrollPredominantAxis:_e(new u(104,"scrollPredominantAxis",!0,{description:f.localize(298,null)})),selectionClipboard:_e(new u(105,"selectionClipboard",!0,{description:f.localize(299,null),included:y.isLinux})),selectionHighlight:_e(new u(106,"selectionHighlight",!0,{description:f.localize(300,null)})),selectOnLineNumbers:_e(new u(107,"selectOnLineNumbers",!0)),showFoldingControls:_e(new p(108,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[f.localize(301,null),f.localize(302,null),f.localize(303,null)],description:f.localize(304,null)})),showUnused:_e(new u(109,"showUnused",!0,{description:f.localize(305,null)})),showDeprecated:_e(new u(137,"showDeprecated",!0,{description:f.localize(306,null)})),inlayHints:_e(new J),snippetSuggestions:_e(new p(110,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[f.localize(307,null),f.localize(308,null),f.localize(309,null),f.localize(310,null)],description:f.localize(311,null)})),smartSelect:_e(new Se),smoothScrolling:_e(new u(112,"smoothScrolling",!1,{description:f.localize(312,null)})),stopRenderingLineAfter:_e(new r(115,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:_e(new ve),inlineSuggest:_e(new $),inlineCompletionsAccessibilityVerbose:_e(new u(146,"inlineCompletionsAccessibilityVerbose",!1,{description:f.localize(313,null)})),suggestFontSize:_e(new r(117,"suggestFontSize",0,0,1e3,{markdownDescription:f.localize(314,null,"`0`","`#editor.fontSize#`")})),suggestLineHeight:_e(new r(118,"suggestLineHeight",0,0,1e3,{markdownDescription:f.localize(315,null,"`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:_e(new u(119,"suggestOnTriggerCharacters",!0,{description:f.localize(316,null)})),suggestSelection:_e(new p(120,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[f.localize(317,null),f.localize(318,null),f.localize(319,null)],description:f.localize(320,null)})),tabCompletion:_e(new p(121,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[f.localize(321,null),f.localize(322,null),f.localize(323,null)],description:f.localize(324,null)})),tabIndex:_e(new r(122,"tabIndex",0,-1,1073741824)),unicodeHighlight:_e(new ee),unusualLineTerminators:_e(new p(124,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[f.localize(325,null),f.localize(326,null),f.localize(327,null)],description:f.localize(328,null)})),useShadowDOM:_e(new u(125,"useShadowDOM",!0)),useTabStops:_e(new u(126,"useTabStops",!0,{description:f.localize(329,null)})),wordBreak:_e(new p(127,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[f.localize(330,null),f.localize(331,null)],description:f.localize(332,null)})),wordSeparators:_e(new d(128,"wordSeparators",S.USUAL_WORD_SEPARATORS,{description:f.localize(333,null)})),wordWrap:_e(new p(129,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[f.localize(334,null),f.localize(335,null),f.localize(336,null),f.localize(337,null)],description:f.localize(338,null)})),wordWrapBreakAfterCharacters:_e(new d(130,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:_e(new d(131,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:_e(new r(132,"wordWrapColumn",80,1,1073741824,{markdownDescription:f.localize(339,null)})),wordWrapOverride1:_e(new p(133,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:_e(new p(134,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:_e(new P),defaultColorDecorators:_e(new u(144,"defaultColorDecorators",!1,{markdownDescription:f.localize(340,null)})),pixelRatio:_e(new ae),tabFocusMode:_e(new u(141,"tabFocusMode",!1,{markdownDescription:f.localize(341,null)})),layoutInfo:_e(new R),wrappingInfo:_e(new De),wrappingIndent:_e(new Le),wrappingStrategy:_e(new K)}}),define(ne[620],se([1,0,7,35,11,59,36,12,5,173]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursor=void 0;class C{constructor(n,t,a,u,h,r,c){this.top=n,this.left=t,this.paddingLeft=a,this.width=u,this.height=h,this.textContent=r,this.textContentClassName=c}}class s{constructor(n){this._context=n;const t=this._context.configuration.options,a=t.get(49);this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,k.createFastDomNode)(document.createElement("div")),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,D.applyFontInfo)(this._domNode,a),this._domNode.setDisplay("none"),this._position=new f.Position(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(49);return this._cursorStyle=t.get(27),this._lineHeight=t.get(65),this._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(30),this._typicalHalfwidthCharacterWidth),(0,D.applyFontInfo)(this._domNode,a),!0}onCursorPositionChanged(n,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=n,!0}_getGraphemeAwarePosition(){const{lineNumber:n,column:t}=this._position,a=this._context.viewModel.getLineContent(n),[u,h]=y.getCharContainingOffset(a,t-1);return[new f.Position(n,u+1),a.substring(u,h)]}_prepareRender(n){let t="",a="";const[u,h]=this._getGraphemeAwarePosition();if(this._cursorStyle===S.TextEditorCursorStyle.Line||this._cursorStyle===S.TextEditorCursorStyle.LineThin){const m=n.visibleRangeForPosition(u);if(!m||m.outsideRenderedLine)return null;let v;this._cursorStyle===S.TextEditorCursorStyle.Line?(v=L.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),v>2&&(t=h,a=this._getTokenClassName(u))):v=L.computeScreenAwareSize(1);let b=m.left,w=0;v>=2&&b>=1&&(w=1,b-=w);const E=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta;return new C(E,b,w,v,this._lineHeight,t,a)}const r=n.linesVisibleRangesForRange(new _.Range(u.lineNumber,u.column,u.lineNumber,u.column+h.length),!1);if(!r||r.length===0)return null;const c=r[0];if(c.outsideRenderedLine||c.ranges.length===0)return null;const o=c.ranges[0],d=h===" "?this._typicalHalfwidthCharacterWidth:o.width<1?this._typicalHalfwidthCharacterWidth:o.width;this._cursorStyle===S.TextEditorCursorStyle.Block&&(t=h,a=this._getTokenClassName(u));let l=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta,p=this._lineHeight;return(this._cursorStyle===S.TextEditorCursorStyle.Underline||this._cursorStyle===S.TextEditorCursorStyle.UnderlineThin)&&(l+=this._lineHeight-2,p=2),new C(l,o.left,0,d,p,t,a)}_getTokenClassName(n){const t=this._context.viewModel.getViewLineData(n.lineNumber),a=t.tokens.findTokenIndexAtOffset(n.column-1);return t.tokens.getClassName(a)}prepareRender(n){this._renderData=this._prepareRender(n)}render(n){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${g.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}e.ViewCursor=s}),define(ne[621],se([1,0,42,271,36]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorOptions=void 0;class D{get editorOptions(){return this._options}constructor(_,g){this.diffEditorWidth=g,this.couldShowInlineViewBecauseOfSize=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&this.diffEditorWidth.read(s)<=this._options.read(s).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,L.derived)(s=>this._options.read(s).renderOverviewRuler),this.renderSideBySide=(0,L.derived)(s=>this._options.read(s).renderSideBySide&&!(this._options.read(s).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(s))),this.readOnly=(0,L.derived)(s=>this._options.read(s).readOnly),this.shouldRenderRevertArrows=(0,L.derived)(s=>!(!this._options.read(s).renderMarginRevertIcon||!this.renderSideBySide.read(s)||this.readOnly.read(s))),this.renderIndicators=(0,L.derived)(s=>this._options.read(s).renderIndicators),this.enableSplitViewResizing=(0,L.derived)(s=>this._options.read(s).enableSplitViewResizing),this.splitViewDefaultRatio=(0,L.derived)(s=>this._options.read(s).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,L.derived)(s=>this._options.read(s).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,L.derived)(s=>this._options.read(s).maxComputationTime),this.showMoves=(0,L.derived)(s=>this._options.read(s).experimental.showMoves&&this.renderSideBySide.read(s)),this.isInEmbeddedEditor=(0,L.derived)(s=>this._options.read(s).isInEmbeddedEditor),this.diffWordWrap=(0,L.derived)(s=>this._options.read(s).diffWordWrap),this.originalEditable=(0,L.derived)(s=>this._options.read(s).originalEditable),this.diffCodeLens=(0,L.derived)(s=>this._options.read(s).diffCodeLens),this.accessibilityVerbose=(0,L.derived)(s=>this._options.read(s).accessibilityVerbose),this.diffAlgorithm=(0,L.derived)(s=>this._options.read(s).diffAlgorithm),this.showEmptyDecorations=(0,L.derived)(s=>this._options.read(s).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,L.derived)(s=>this._options.read(s).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsminimumLineCount=(0,L.derived)(s=>this._options.read(s).hideUnchangedRegions.minimumLineCount);const C=Object.assign(Object.assign({},_),S(_,k.diffEditorDefaultOptions));this._options=(0,L.observableValue)("options",C)}updateOptions(_){const g=S(_,this._options.get()),C=Object.assign(Object.assign(Object.assign({},this._options.get()),_),g);this._options.set(C,void 0,{changedOptions:_})}}e.DiffEditorOptions=D;function S(f,_){var g,C,s,i,n,t,a,u;return{enableSplitViewResizing:(0,y.boolean)(f.enableSplitViewResizing,_.enableSplitViewResizing),splitViewDefaultRatio:(0,y.clampedFloat)(f.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,y.boolean)(f.renderSideBySide,_.renderSideBySide),renderMarginRevertIcon:(0,y.boolean)(f.renderMarginRevertIcon,_.renderMarginRevertIcon),maxComputationTime:(0,y.clampedInt)(f.maxComputationTime,_.maxComputationTime,0,1073741824),maxFileSize:(0,y.clampedInt)(f.maxFileSize,_.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,y.boolean)(f.ignoreTrimWhitespace,_.ignoreTrimWhitespace),renderIndicators:(0,y.boolean)(f.renderIndicators,_.renderIndicators),originalEditable:(0,y.boolean)(f.originalEditable,_.originalEditable),diffCodeLens:(0,y.boolean)(f.diffCodeLens,_.diffCodeLens),renderOverviewRuler:(0,y.boolean)(f.renderOverviewRuler,_.renderOverviewRuler),diffWordWrap:(0,y.stringSet)(f.diffWordWrap,_.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,y.stringSet)(f.diffAlgorithm,_.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,y.boolean)(f.accessibilityVerbose,_.accessibilityVerbose),experimental:{showMoves:(0,y.boolean)((g=f.experimental)===null||g===void 0?void 0:g.showMoves,_.experimental.showMoves),showEmptyDecorations:(0,y.boolean)((C=f.experimental)===null||C===void 0?void 0:C.showEmptyDecorations,_.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,y.boolean)((i=(s=f.hideUnchangedRegions)===null||s===void 0?void 0:s.enabled)!==null&&i!==void 0?i:(n=f.experimental)===null||n===void 0?void 0:n.collapseUnchangedRegions,_.hideUnchangedRegions.enabled),contextLineCount:(0,y.clampedInt)((t=f.hideUnchangedRegions)===null||t===void 0?void 0:t.contextLineCount,_.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,y.clampedInt)((a=f.hideUnchangedRegions)===null||a===void 0?void 0:a.minimumLineCount,_.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,y.clampedInt)((u=f.hideUnchangedRegions)===null||u===void 0?void 0:u.revealLineCount,_.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,y.boolean)(f.isInEmbeddedEditor,_.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,y.boolean)(f.onlyShowAccessibleDiffViewer,_.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,y.clampedInt)(f.renderSideBySideInlineBreakpoint,_.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,y.boolean)(f.useInlineViewWhenSpaceIsLimited,_.useInlineViewWhenSpaceIsLimited)}}}),define(ne[231],se([1,0,17,36,145]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontInfo=e.SERIALIZED_FONT_INFO_VERSION=e.BareFontInfo=void 0;const D=L.isMacintosh?1.5:1.35,S=8;class f{static createFromValidatedSettings(C,s,i){const n=C.get(48),t=C.get(52),a=C.get(51),u=C.get(50),h=C.get(53),r=C.get(65),c=C.get(62);return f._create(n,t,a,u,h,r,c,s,i)}static _create(C,s,i,n,t,a,u,h,r){a===0?a=D*i:a{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const s=this._cache.getValues();let i=!1;for(const n of s)n.isTrusted||(i=!0,this._cache.remove(n));i&&this._onDidChange.fire()}readFontInfo(s){if(!this._cache.has(s)){let i=this._actualReadFontInfo(s);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(s,i)}return this._cache.get(s)}_createRequest(s,i,n,t){const a=new D.CharWidthRequest(s,i);return n.push(a),t?.push(a),a}_actualReadFontInfo(s){const i=[],n=[],t=this._createRequest("n",0,i,n),a=this._createRequest("\uFF4D",0,i,null),u=this._createRequest(" ",0,i,n),h=this._createRequest("0",0,i,n),r=this._createRequest("1",0,i,n),c=this._createRequest("2",0,i,n),o=this._createRequest("3",0,i,n),d=this._createRequest("4",0,i,n),l=this._createRequest("5",0,i,n),p=this._createRequest("6",0,i,n),m=this._createRequest("7",0,i,n),v=this._createRequest("8",0,i,n),b=this._createRequest("9",0,i,n),w=this._createRequest("\u2192",0,i,n),E=this._createRequest("\uFFEB",0,i,null),I=this._createRequest("\xB7",0,i,n),M=this._createRequest(String.fromCharCode(11825),0,i,null),P="|/-_ilm%";for(let F=0,O=P.length;F.001){T=!1;break}}let N=!0;return T&&E.width!==A&&(N=!1),E.width>w.width&&(N=!1),new f.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:s.fontFamily,fontWeight:s.fontWeight,fontSize:s.fontSize,fontFeatureSettings:s.fontFeatureSettings,fontVariationSettings:s.fontVariationSettings,lineHeight:s.lineHeight,letterSpacing:s.letterSpacing,isMonospace:T,typicalHalfwidthCharacterWidth:t.width,typicalFullwidthCharacterWidth:a.width,canUseHalfwidthRightwardsArrow:N,spaceWidth:u.width,middotWidth:I.width,wsmiddotWidth:M.width,maxDigitWidth:x},!0)}}e.FontMeasurementsImpl=_;class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(s){const i=s.getId();return!!this._values[i]}get(s){const i=s.getId();return this._values[i]}put(s,i){const n=s.getId();this._keys[n]=s,this._values[n]=i}remove(s){const i=s.getId();delete this._keys[i],delete this._values[i]}getValues(){return Object.keys(this._keys).map(s=>this._values[s])}}e.FontMeasurements=new _}),define(ne[325],se([1,0,12,5,67,36]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isModelDecorationInString=e.isModelDecorationInComment=e.isModelDecorationVisible=e.ViewModelDecorations=void 0;class S{constructor(i,n,t,a,u){this.editorId=i,this.model=n,this.configuration=t,this._linesCollection=a,this._coordinatesConverter=u,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(i){const n=i.id;let t=this._decorationsCache[n];if(!t){const a=i.range,u=i.options;let h;if(u.isWholeLine){const r=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.startLineNumber,1),0,!1,!0),c=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber)),1);h=new k.Range(r.lineNumber,r.column,c.lineNumber,c.column)}else h=this._coordinatesConverter.convertModelRangeToViewRange(a,1);t=new y.ViewModelDecoration(h,u),this._decorationsCache[n]=t}return t}getMinimapDecorationsInRange(i){return this._getDecorationsInRange(i,!0,!1).decorations}getDecorationsViewportData(i){let n=this._cachedModelDecorationsResolver!==null;return n=n&&i.equalsRange(this._cachedModelDecorationsResolverViewRange),n||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(i,!1,!1),this._cachedModelDecorationsResolverViewRange=i),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(i,n=!1,t=!1){const a=new k.Range(i,this._linesCollection.getViewLineMinColumn(i),i,this._linesCollection.getViewLineMaxColumn(i));return this._getDecorationsInRange(a,n,t).inlineDecorations[0]}_getDecorationsInRange(i,n,t){const a=this._linesCollection.getDecorationsInRange(i,this.editorId,(0,D.filterValidationDecorations)(this.configuration.options),n,t),u=i.startLineNumber,h=i.endLineNumber,r=[];let c=0;const o=[];for(let d=u;d<=h;d++)o[d-u]=[];for(let d=0,l=a.length;dn===1)}e.isModelDecorationInComment=_;function g(s,i){return C(s,i.range,n=>n===2)}e.isModelDecorationInString=g;function C(s,i,n){for(let t=i.startLineNumber;t<=i.endLineNumber;t++){const a=s.tokenization.getLineTokens(t),u=t===i.startLineNumber,h=t===i.endLineNumber;let r=u?a.findTokenIndexAtOffset(i.startColumn-1):0;for(;ri.endColumn-1);){if(!n(a.getStandardTokenType(r)))return!1;r++}}return!0}}),define(ne[622],se([3,4]),function(Q,e){return Q.create("vs/editor/common/core/editorColorRegistry",e)}),define(ne[623],se([3,4]),function(Q,e){return Q.create("vs/editor/common/editorContextKeys",e)}),define(ne[624],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages",e)}),define(ne[29],se([1,0,25,22,5,515,624]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationRegistry=e.LazyTokenizationSupport=e.InlayHintKind=e.Command=e.FoldingRangeKind=e.TextEdit=e.SymbolKinds=e.getAriaLabelForSymbol=e.symbolKindNames=e.isLocationLink=e.DocumentHighlightKind=e.SignatureHelpTriggerKind=e.SelectedSuggestionInfo=e.InlineCompletionTriggerKind=e.CompletionItemKinds=e.EncodedTokenizationResult=e.TokenizationResult=e.Token=void 0;class f{constructor(m,v,b){this.offset=m,this.type=v,this.language=b,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}e.Token=f;class _{constructor(m,v){this.tokens=m,this.endState=v,this._tokenizationResultBrand=void 0}}e.TokenizationResult=_;class g{constructor(m,v){this.tokens=m,this.endState=v,this._encodedTokenizationResultBrand=void 0}}e.EncodedTokenizationResult=g;var C;(function(p){const m=new Map;m.set(0,L.Codicon.symbolMethod),m.set(1,L.Codicon.symbolFunction),m.set(2,L.Codicon.symbolConstructor),m.set(3,L.Codicon.symbolField),m.set(4,L.Codicon.symbolVariable),m.set(5,L.Codicon.symbolClass),m.set(6,L.Codicon.symbolStruct),m.set(7,L.Codicon.symbolInterface),m.set(8,L.Codicon.symbolModule),m.set(9,L.Codicon.symbolProperty),m.set(10,L.Codicon.symbolEvent),m.set(11,L.Codicon.symbolOperator),m.set(12,L.Codicon.symbolUnit),m.set(13,L.Codicon.symbolValue),m.set(15,L.Codicon.symbolEnum),m.set(14,L.Codicon.symbolConstant),m.set(15,L.Codicon.symbolEnum),m.set(16,L.Codicon.symbolEnumMember),m.set(17,L.Codicon.symbolKeyword),m.set(27,L.Codicon.symbolSnippet),m.set(18,L.Codicon.symbolText),m.set(19,L.Codicon.symbolColor),m.set(20,L.Codicon.symbolFile),m.set(21,L.Codicon.symbolReference),m.set(22,L.Codicon.symbolCustomColor),m.set(23,L.Codicon.symbolFolder),m.set(24,L.Codicon.symbolTypeParameter),m.set(25,L.Codicon.account),m.set(26,L.Codicon.issues);function v(E){let I=m.get(E);return I||(console.info("No codicon found for CompletionItemKind "+E),I=L.Codicon.symbolProperty),I}p.toIcon=v;const b=new Map;b.set("method",0),b.set("function",1),b.set("constructor",2),b.set("field",3),b.set("variable",4),b.set("class",5),b.set("struct",6),b.set("interface",7),b.set("module",8),b.set("property",9),b.set("event",10),b.set("operator",11),b.set("unit",12),b.set("value",13),b.set("constant",14),b.set("enum",15),b.set("enum-member",16),b.set("enumMember",16),b.set("keyword",17),b.set("snippet",27),b.set("text",18),b.set("color",19),b.set("file",20),b.set("reference",21),b.set("customcolor",22),b.set("folder",23),b.set("type-parameter",24),b.set("typeParameter",24),b.set("account",25),b.set("issue",26);function w(E,I){let M=b.get(E);return typeof M>"u"&&!I&&(M=9),M}p.fromString=w})(C||(e.CompletionItemKinds=C={}));var s;(function(p){p[p.Automatic=0]="Automatic",p[p.Explicit=1]="Explicit"})(s||(e.InlineCompletionTriggerKind=s={}));class i{constructor(m,v,b,w){this.range=m,this.text=v,this.completionKind=b,this.isSnippetText=w}equals(m){return y.Range.lift(this.range).equalsRange(m.range)&&this.text===m.text&&this.completionKind===m.completionKind&&this.isSnippetText===m.isSnippetText}}e.SelectedSuggestionInfo=i;var n;(function(p){p[p.Invoke=1]="Invoke",p[p.TriggerCharacter=2]="TriggerCharacter",p[p.ContentChange=3]="ContentChange"})(n||(e.SignatureHelpTriggerKind=n={}));var t;(function(p){p[p.Text=0]="Text",p[p.Read=1]="Read",p[p.Write=2]="Write"})(t||(e.DocumentHighlightKind=t={}));function a(p){return p&&k.URI.isUri(p.uri)&&y.Range.isIRange(p.range)&&(y.Range.isIRange(p.originSelectionRange)||y.Range.isIRange(p.targetSelectionRange))}e.isLocationLink=a,e.symbolKindNames={[17]:(0,S.localize)(0,null),[16]:(0,S.localize)(1,null),[4]:(0,S.localize)(2,null),[13]:(0,S.localize)(3,null),[8]:(0,S.localize)(4,null),[9]:(0,S.localize)(5,null),[21]:(0,S.localize)(6,null),[23]:(0,S.localize)(7,null),[7]:(0,S.localize)(8,null),[0]:(0,S.localize)(9,null),[11]:(0,S.localize)(10,null),[10]:(0,S.localize)(11,null),[19]:(0,S.localize)(12,null),[5]:(0,S.localize)(13,null),[1]:(0,S.localize)(14,null),[2]:(0,S.localize)(15,null),[20]:(0,S.localize)(16,null),[15]:(0,S.localize)(17,null),[18]:(0,S.localize)(18,null),[24]:(0,S.localize)(19,null),[3]:(0,S.localize)(20,null),[6]:(0,S.localize)(21,null),[14]:(0,S.localize)(22,null),[22]:(0,S.localize)(23,null),[25]:(0,S.localize)(24,null),[12]:(0,S.localize)(25,null)};function u(p,m){return(0,S.localize)(26,null,p,e.symbolKindNames[m])}e.getAriaLabelForSymbol=u;var h;(function(p){const m=new Map;m.set(0,L.Codicon.symbolFile),m.set(1,L.Codicon.symbolModule),m.set(2,L.Codicon.symbolNamespace),m.set(3,L.Codicon.symbolPackage),m.set(4,L.Codicon.symbolClass),m.set(5,L.Codicon.symbolMethod),m.set(6,L.Codicon.symbolProperty),m.set(7,L.Codicon.symbolField),m.set(8,L.Codicon.symbolConstructor),m.set(9,L.Codicon.symbolEnum),m.set(10,L.Codicon.symbolInterface),m.set(11,L.Codicon.symbolFunction),m.set(12,L.Codicon.symbolVariable),m.set(13,L.Codicon.symbolConstant),m.set(14,L.Codicon.symbolString),m.set(15,L.Codicon.symbolNumber),m.set(16,L.Codicon.symbolBoolean),m.set(17,L.Codicon.symbolArray),m.set(18,L.Codicon.symbolObject),m.set(19,L.Codicon.symbolKey),m.set(20,L.Codicon.symbolNull),m.set(21,L.Codicon.symbolEnumMember),m.set(22,L.Codicon.symbolStruct),m.set(23,L.Codicon.symbolEvent),m.set(24,L.Codicon.symbolOperator),m.set(25,L.Codicon.symbolTypeParameter);function v(b){let w=m.get(b);return w||(console.info("No codicon found for SymbolKind "+b),w=L.Codicon.symbolProperty),w}p.toIcon=v})(h||(e.SymbolKinds=h={}));class r{}e.TextEdit=r;class c{static fromValue(m){switch(m){case"comment":return c.Comment;case"imports":return c.Imports;case"region":return c.Region}return new c(m)}constructor(m){this.value=m}}e.FoldingRangeKind=c,c.Comment=new c("comment"),c.Imports=new c("imports"),c.Region=new c("region");var o;(function(p){function m(v){return!v||typeof v!="object"?!1:typeof v.id=="string"&&typeof v.title=="string"}p.is=m})(o||(e.Command=o={}));var d;(function(p){p[p.Type=1]="Type",p[p.Parameter=2]="Parameter"})(d||(e.InlayHintKind=d={}));class l{constructor(m){this.createSupport=m,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(m=>{m&&m.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}e.LazyTokenizationSupport=l,e.TokenizationRegistry=new D.TokenizationRegistry}),define(ne[154],se([1,0,29]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nullTokenizeEncoded=e.nullTokenize=e.NullState=void 0,e.NullState=new class{clone(){return this}equals(D){return this===D}};function k(D,S){return new L.TokenizationResult([new L.Token(0,"",D)],S)}e.nullTokenize=k;function y(D,S){const f=new Uint32Array(2);return f[0]=0,f[1]=(D<<0|0<<8|0<<11|1<<15|2<<24)>>>0,new L.EncodedTokenizationResult(f,S===null?e.NullState:S)}e.nullTokenizeEncoded=y}),define(ne[326],se([1,0,11,86,29,154]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._tokenizeToString=e.tokenizeLineToHTML=e.tokenizeToString=void 0;const S={getInitialState:()=>D.NullState,tokenizeEncoded:(C,s,i)=>(0,D.nullTokenizeEncoded)(0,i)};function f(C,s,i){return we(this,void 0,void 0,function*(){if(!i)return g(s,C.languageIdCodec,S);const n=yield y.TokenizationRegistry.getOrCreate(i);return g(s,C.languageIdCodec,n||S)})}e.tokenizeToString=f;function _(C,s,i,n,t,a,u){let h="
    ",r=n,c=0,o=!0;for(let d=0,l=s.getCount();d0;)u&&o?(m+=" ",o=!1):(m+=" ",o=!0),b--;break}case 60:m+="<",o=!1;break;case 62:m+=">",o=!1;break;case 38:m+="&",o=!1;break;case 0:m+="�",o=!1;break;case 65279:case 8232:case 8233:case 133:m+="\uFFFD",o=!1;break;case 13:m+="​",o=!1;break;case 32:u&&o?(m+=" ",o=!1):(m+=" ",o=!0);break;default:m+=String.fromCharCode(v),o=!1}}if(h+=`${m}`,p>t||r>=t)break}return h+="
    ",h}e.tokenizeLineToHTML=_;function g(C,s,i){let n='
    ';const t=L.splitLines(C);let a=i.getInitialState();for(let u=0,h=t.length;u0&&(n+="
    ");const c=i.tokenizeEncoded(r,!0,a);k.LineTokens.convertToEndOffset(c.tokens,r.length);const d=new k.LineTokens(c.tokens,r,s).inflate();let l=0;for(let p=0,m=d.getCount();p${L.escape(r.substring(l,b))}`,l=b}a=c.endState}return n+="
    ",n}e._tokenizeToString=g}),define(ne[625],se([1,0,13,9,17,58,122,66,90,154,508,288,86]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultBackgroundTokenizer=e.RangePriorityQueueImpl=e.TokenizationStateStore=e.TrackingTokenizationStateStore=e.TokenizerWithStateStoreAndTextModel=e.TokenizerWithStateStore=void 0;class n{constructor(d,l){this.tokenizationSupport=l,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new a(d)}getStartState(d){return this.store.getStartState(d,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}e.TokenizerWithStateStore=n;class t extends n{constructor(d,l,p,m){super(d,l),this._textModel=p,this._languageIdCodec=m}updateTokensUntilLine(d,l){const p=this._textModel.getLanguageId();for(;;){const m=this.getFirstInvalidLine();if(!m||m.lineNumber>l)break;const v=this._textModel.getLineContent(m.lineNumber),b=r(this._languageIdCodec,p,this.tokenizationSupport,v,!0,m.startState);d.add(m.lineNumber,b.tokens),this.store.setEndState(m.lineNumber,b.endState)}}getTokenTypeIfInsertingCharacter(d,l){const p=this.getStartState(d.lineNumber);if(!p)return 0;const m=this._textModel.getLanguageId(),v=this._textModel.getLineContent(d.lineNumber),b=v.substring(0,d.column-1)+l+v.substring(d.column-1),w=r(this._languageIdCodec,m,this.tokenizationSupport,b,!0,p),E=new i.LineTokens(w.tokens,b,this._languageIdCodec);if(E.getCount()===0)return 0;const I=E.findTokenIndexAtOffset(d.column-1);return E.getStandardTokenType(I)}tokenizeLineWithEdit(d,l,p){const m=d.lineNumber,v=d.column,b=this.getStartState(m);if(!b)return null;const w=this._textModel.getLineContent(m),E=w.substring(0,v-1)+p+w.substring(v-1+l),I=this._textModel.getLanguageIdAtPosition(m,0),M=r(this._languageIdCodec,I,this.tokenizationSupport,E,!0,b);return new i.LineTokens(M.tokens,E,this._languageIdCodec)}isCheapToTokenize(d){const l=this.store.getFirstInvalidEndStateLineNumberOrMax();return d1&&w>=1;w--){const E=this._textModel.getLineFirstNonWhitespaceColumn(w);if(E!==0&&E0&&p>0&&(p--,l--),this._lineEndStates.replace(d.startLineNumber,p,l)}}e.TokenizationStateStore=u;class h{constructor(){this._ranges=[]}get min(){return this._ranges.length===0?null:this._ranges[0].start}delete(d){const l=this._ranges.findIndex(p=>p.contains(d));if(l!==-1){const p=this._ranges[l];p.start===d?p.endExclusive===d+1?this._ranges.splice(l,1):this._ranges[l]=new _.OffsetRange(d+1,p.endExclusive):p.endExclusive===d+1?this._ranges[l]=new _.OffsetRange(p.start,d):this._ranges.splice(l,1,new _.OffsetRange(p.start,d),new _.OffsetRange(d+1,p.endExclusive))}}addRange(d){_.OffsetRange.addRange(d,this._ranges)}addRangeAndResize(d,l){let p=0;for(;!(p>=this._ranges.length||d.start<=this._ranges[p].endExclusive);)p++;let m=p;for(;!(m>=this._ranges.length||d.endExclusived.toString()).join(" + ")}}e.RangePriorityQueueImpl=h;function r(o,d,l,p,m,v){let b=null;if(l)try{b=l.tokenizeEncoded(p,m,v.clone())}catch(w){(0,k.onUnexpectedError)(w)}return b||(b=(0,g.nullTokenizeEncoded)(o.encodeLanguageId(d),v)),i.LineTokens.convertToEndOffset(b.tokens,p.length),b}class c{constructor(d,l){this._tokenizerWithStateStore=d,this._backgroundTokenStore=l,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,(0,L.runWhenIdle)(d=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(d)}))}_backgroundTokenizeWithDeadline(d){const l=Date.now()+d.timeRemaining(),p=()=>{this._isDisposed||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()1||this._tokenizeOneInvalidLine(l)>=d)break;while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(l.finalize()),this.checkFinished()}_hasLinesToTokenize(){return this._tokenizerWithStateStore?!this._tokenizerWithStateStore.store.allStatesValid():!1}_tokenizeOneInvalidLine(d){var l;const p=(l=this._tokenizerWithStateStore)===null||l===void 0?void 0:l.getFirstInvalidLine();return p?(this._tokenizerWithStateStore.updateTokensUntilLine(d,p.lineNumber),p.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){this._isDisposed||this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(d,l){this._tokenizerWithStateStore.store.invalidateEndStateRange(new f.LineRange(d,l))}}e.DefaultBackgroundTokenizer=c}),define(ne[626],se([1,0,14,13,9,6,2,122,66,12,147,29,282,625,288,518,520]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationTextModelPart=void 0;class h extends i.TextModelPart{constructor(d,l,p,m,v,b){super(),this._languageService=d,this._languageConfigurationService=l,this._textModel=p,this._bracketPairsTextModelPart=m,this._languageId=v,this._attachedViews=b,this._semanticTokens=new u.SparseTokensStore(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new D.Emitter),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new D.Emitter),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new D.Emitter),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new r(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(w=>{w.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(w=>{this._emitModelTokensChangedEvent(w)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(w=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(d){if(d.isFlush)this._semanticTokens.flush();else if(!d.isEolChange)for(const l of d.changes){const[p,m,v]=(0,f.countEOL)(l.text);this._semanticTokens.acceptEdit(l.range,p,m,v,l.text.length>0?l.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(d)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(d){this.validateLineNumber(d);const l=this.grammarTokens.getLineTokens(d);return this._semanticTokens.addSparseTokens(d,l)}_emitModelTokensChangedEvent(d){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(d),this._onDidChangeTokens.fire(d))}validateLineNumber(d){if(d<1||d>this._textModel.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(d){this.validateLineNumber(d),this.grammarTokens.forceTokenization(d)}isCheapToTokenize(d){return this.validateLineNumber(d),this.grammarTokens.isCheapToTokenize(d)}tokenizeIfCheap(d){this.validateLineNumber(d),this.grammarTokens.tokenizeIfCheap(d)}getTokenTypeIfInsertingCharacter(d,l,p){return this.grammarTokens.getTokenTypeIfInsertingCharacter(d,l,p)}tokenizeLineWithEdit(d,l,p){return this.grammarTokens.tokenizeLineWithEdit(d,l,p)}setSemanticTokens(d,l){this._semanticTokens.set(d,l),this._emitModelTokensChangedEvent({semanticTokensApplied:d!==null,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(d,l){if(this.hasCompleteSemanticTokens())return;const p=this._textModel.validateRange(this._semanticTokens.setPartial(d,l));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:p.startLineNumber,toLineNumber:p.endLineNumber}]})}getWordAtPosition(d){this.assertNotDisposed();const l=this._textModel.validatePosition(d),p=this._textModel.getLineContent(l.lineNumber),m=this.getLineTokens(l.lineNumber),v=m.findTokenIndexAtOffset(l.column-1),[b,w]=h._findLanguageBoundaries(m,v),E=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v)).getWordDefinition(),p.substring(b,w),b);if(E&&E.startColumn<=d.column&&d.column<=E.endColumn)return E;if(v>0&&b===l.column-1){const[I,M]=h._findLanguageBoundaries(m,v-1),P=(0,C.getWordAtText)(l.column,this.getLanguageConfiguration(m.getLanguageId(v-1)).getWordDefinition(),p.substring(I,M),I);if(P&&P.startColumn<=d.column&&d.column<=P.endColumn)return P}return null}getLanguageConfiguration(d){return this._languageConfigurationService.getLanguageConfiguration(d)}static _findLanguageBoundaries(d,l){const p=d.getLanguageId(l);let m=0;for(let b=l;b>=0&&d.getLanguageId(b)===p;b--)m=d.getStartOffset(b);let v=d.getLineContent().length;for(let b=l,w=d.getCount();b{const b=this.getLanguageId();v.changedLanguages.indexOf(b)!==-1&&this.resetTokenization()})),this.resetTokenization(),this._register(m.onDidChangeVisibleRanges(({view:v,state:b})=>{if(b){let w=this._attachedViewStates.get(v);w||(w=new c(()=>this.refreshRanges(w.lineRanges)),this._attachedViewStates.set(v,w)),w.handleStateChange(b)}else this._attachedViewStates.deleteAndDispose(v)}))}resetTokenization(d=!0){var l;this._tokens.flush(),(l=this._debugBackgroundTokens)===null||l===void 0||l.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount())),d&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});const p=()=>{if(this._textModel.isTooLargeForTokenization())return[null,null];const b=s.TokenizationRegistry.get(this.getLanguageId());if(!b)return[null,null];let w;try{w=b.getInitialState()}catch(E){return(0,y.onUnexpectedError)(E),[null,null]}return[b,w]},[m,v]=p();if(m&&v?this._tokenizer=new n.TokenizerWithStateStoreAndTextModel(this._textModel.getLineCount(),m,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){const b={setTokens:w=>{this.setTokens(w)},backgroundTokenizationFinished:()=>{if(this._backgroundTokenizationState===2)return;const w=2;this._backgroundTokenizationState=w,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(w,E)=>{var I;if(!this._tokenizer)return;const M=this._tokenizer.store.getFirstInvalidEndStateLineNumber();M!==null&&w>=M&&((I=this._tokenizer)===null||I===void 0||I.store.setEndState(w,E))}};m&&m.createBackgroundTokenizer&&!m.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,b)),this._backgroundTokenizer.value||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new n.DefaultBackgroundTokenizer(this._tokenizer,b),this._defaultBackgroundTokenizer.handleChanges()),m?.backgroundTokenizerShouldOnlyVerifyTokens&&m.createBackgroundTokenizer?(this._debugBackgroundTokens=new a.ContiguousTokensStore(this._languageIdCodec),this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=m.createBackgroundTokenizer(this._textModel,{setTokens:w=>{var E;(E=this._debugBackgroundTokens)===null||E===void 0||E.setMultilineTokens(w,this._textModel)},backgroundTokenizationFinished(){},setEndState:(w,E)=>{var I;(I=this._debugBackgroundStates)===null||I===void 0||I.setEndState(w,E)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var d;(d=this._defaultBackgroundTokenizer)===null||d===void 0||d.handleChanges()}handleDidChangeContent(d){var l,p,m;if(d.isFlush)this.resetTokenization(!1);else if(!d.isEolChange){for(const v of d.changes){const[b,w]=(0,f.countEOL)(v.text);this._tokens.acceptEdit(v.range,b,w),(l=this._debugBackgroundTokens)===null||l===void 0||l.acceptEdit(v.range,b,w)}(p=this._debugBackgroundStates)===null||p===void 0||p.acceptChanges(d.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(d.changes),(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.handleChanges()}}setTokens(d){const{changes:l}=this._tokens.setMultilineTokens(d,this._textModel);return l.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:l}),{changes:l}}refreshAllVisibleLineTokens(){const d=_.LineRange.joinMany([...this._attachedViewStates].map(([l,p])=>p.lineRanges));this.refreshRanges(d)}refreshRanges(d){for(const l of d)this.refreshRange(l.startLineNumber,l.endLineNumberExclusive-1)}refreshRange(d,l){var p,m;if(!this._tokenizer)return;d=Math.max(1,Math.min(this._textModel.getLineCount(),d)),l=Math.min(this._textModel.getLineCount(),l);const v=new t.ContiguousMultilineTokensBuilder,{heuristicTokens:b}=this._tokenizer.tokenizeHeuristically(v,d,l),w=this.setTokens(v.finalize());if(b)for(const E of w.changes)(p=this._backgroundTokenizer.value)===null||p===void 0||p.requestTokens(E.fromLineNumber,E.toLineNumber+1);(m=this._defaultBackgroundTokenizer)===null||m===void 0||m.checkFinished()}forceTokenization(d){var l,p;const m=new t.ContiguousMultilineTokensBuilder;(l=this._tokenizer)===null||l===void 0||l.updateTokensUntilLine(m,d),this.setTokens(m.finalize()),(p=this._defaultBackgroundTokenizer)===null||p===void 0||p.checkFinished()}isCheapToTokenize(d){return this._tokenizer?this._tokenizer.isCheapToTokenize(d):!0}tokenizeIfCheap(d){this.isCheapToTokenize(d)&&this.forceTokenization(d)}getLineTokens(d){var l;const p=this._textModel.getLineContent(d),m=this._tokens.getTokens(this._textModel.getLanguageId(),d-1,p);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>d&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>d){const v=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),d-1,p);!m.equals(v)&&(!((l=this._debugBackgroundTokenizer.value)===null||l===void 0)&&l.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(d)}return m}getTokenTypeIfInsertingCharacter(d,l,p){if(!this._tokenizer)return 0;const m=this._textModel.validatePosition(new g.Position(d,l));return this.forceTokenization(m.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(m,p)}tokenizeLineWithEdit(d,l,p){if(!this._tokenizer)return null;const m=this._textModel.validatePosition(d);return this.forceTokenization(m.lineNumber),this._tokenizer.tokenizeLineWithEdit(m,l,p)}get hasTokens(){return this._tokens.hasTokens}}class c extends S.Disposable{get lineRanges(){return this._lineRanges}constructor(d){super(),this._refreshTokens=d,this.runner=this._register(new k.RunOnceScheduler(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,L.equals)(this._computedLineRanges,this._lineRanges,(d,l)=>d.equals(l))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(d){this._lineRanges=d.visibleLineRanges,d.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}}),define(ne[327],se([1,0,19,6,63,22,12,5,24,29,208]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoBaseAPI=e.KeyMod=void 0;class s{static chord(t,a){return(0,y.KeyChord)(t,a)}}e.KeyMod=s,s.CtrlCmd=2048,s.Shift=1024,s.Alt=512,s.WinCtrl=256;function i(){return{editor:void 0,languages:void 0,CancellationTokenSource:L.CancellationTokenSource,Emitter:k.Emitter,KeyCode:C.KeyCode,KeyMod:s,Position:S.Position,Range:f.Range,Selection:_.Selection,SelectionDirection:C.SelectionDirection,MarkerSeverity:C.MarkerSeverity,MarkerTag:C.MarkerTag,Uri:D.URI,Token:g.Token}}e.createMonacoBaseAPI=i}),define(ne[627],se([1,0,168,22,12,5,512,147,495,501,327,58,286,492,47,494]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.EditorSimpleWorker=void 0;class u extends S.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(o){const d=[];for(let l=0;lthis._lines.length)d=this._lines.length,l=this._lines[d-1].length+1,p=!0;else{const m=this._lines[d-1].length+1;l<1?(l=1,p=!0):l>m&&(l=m,p=!0)}return p?{lineNumber:d,column:l}:o}}class h{constructor(o,d){this._host=o,this._models=Object.create(null),this._foreignModuleFactory=d,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(o){return this._models[o]}_getModels(){const o=[];return Object.keys(this._models).forEach(d=>o.push(this._models[d])),o}acceptNewModel(o){this._models[o.url]=new u(k.URI.parse(o.url),o.lines,o.EOL,o.versionId)}acceptModelChanged(o,d){if(!this._models[o])return;this._models[o].onEvents(d)}acceptRemovedModel(o){this._models[o]&&delete this._models[o]}computeUnicodeHighlights(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);return p?i.UnicodeTextModelHighlighter.computeUnicodeHighlights(p,d,l):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o),v=this._getModel(d);return!m||!v?null:h.computeDiff(m,v,l,p)})}static computeDiff(o,d,l,p){const m=p==="advanced"?n.linesDiffComputers.getAdvanced():n.linesDiffComputers.getLegacy(),v=o.getLinesContent(),b=d.getLinesContent(),w=m.computeDiff(v,b,l),E=w.changes.length>0?!1:this._modelsAreIdentical(o,d);function I(M){return M.map(P=>{var x;return[P.originalRange.startLineNumber,P.originalRange.endLineNumberExclusive,P.modifiedRange.startLineNumber,P.modifiedRange.endLineNumberExclusive,(x=P.innerChanges)===null||x===void 0?void 0:x.map(T=>[T.originalRange.startLineNumber,T.originalRange.startColumn,T.originalRange.endLineNumber,T.originalRange.endColumn,T.modifiedRange.startLineNumber,T.modifiedRange.startColumn,T.modifiedRange.endLineNumber,T.modifiedRange.endColumn])]})}return{identical:E,quitEarly:w.hitTimeout,changes:I(w.changes),moves:w.moves.map(M=>[M.lineRangeMapping.original.startLineNumber,M.lineRangeMapping.original.endLineNumberExclusive,M.lineRangeMapping.modified.startLineNumber,M.lineRangeMapping.modified.endLineNumberExclusive,I(M.changes)])}}static _modelsAreIdentical(o,d){const l=o.getLineCount(),p=d.getLineCount();if(l!==p)return!1;for(let m=1;m<=l;m++){const v=o.getLineContent(m),b=d.getLineContent(m);if(v!==b)return!1}return!0}computeMoreMinimalEdits(o,d,l){return we(this,void 0,void 0,function*(){const p=this._getModel(o);if(!p)return d;const m=[];let v;d=d.slice(0).sort((b,w)=>{if(b.range&&w.range)return D.Range.compareRangesUsingStarts(b.range,w.range);const E=b.range?0:1,I=w.range?0:1;return E-I});for(let{range:b,text:w,eol:E}of d){if(typeof E=="number"&&(v=E),D.Range.isEmpty(b)&&!w)continue;const I=p.getValueInRange(b);if(w=w.replace(/\r\n|\n|\r/g,p.eol),I===w)continue;if(Math.max(w.length,I.length)>h._diffLimit){m.push({range:b,text:w});continue}const M=(0,L.stringDiff)(I,w,l),P=p.offsetAt(D.Range.lift(b).getStartPosition());for(const x of M){const T=p.positionAt(P+x.originalStart),A=p.positionAt(P+x.originalStart+x.originalLength),N={text:w.substr(x.modifiedStart,x.modifiedLength),range:{startLineNumber:T.lineNumber,startColumn:T.column,endLineNumber:A.lineNumber,endColumn:A.column}};p.getValueInRange(N.range)!==N.text&&m.push(N)}}return typeof v=="number"&&m.push({eol:v,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),m})}computeLinks(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,_.computeLinks)(d):null})}computeDefaultDocumentColors(o){return we(this,void 0,void 0,function*(){const d=this._getModel(o);return d?(0,a.computeDefaultDocumentColors)(d):null})}textualSuggest(o,d,l,p){return we(this,void 0,void 0,function*(){const m=new s.StopWatch,v=new RegExp(l,p),b=new Set;e:for(const w of o){const E=this._getModel(w);if(E){for(const I of E.words(v))if(!(I===d||!isNaN(Number(I)))&&(b.add(I),b.size>h._suggestionsLimit))break e}}return{words:Array.from(b),duration:m.elapsed()}})}computeWordRanges(o,d,l,p){return we(this,void 0,void 0,function*(){const m=this._getModel(o);if(!m)return Object.create(null);const v=new RegExp(l,p),b=Object.create(null);for(let w=d.startLineNumber;wthis._host.fhr(b,w),v={host:(0,t.createProxyObject)(l,p),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(v,d),Promise.resolve((0,t.getAllMethodNames)(this._foreignModule))):new Promise((b,w)=>{Q([o],E=>{this._foreignModule=E.create(v,d),b((0,t.getAllMethodNames)(this._foreignModule))},w)})}fmr(o,d){if(!this._foreignModule||typeof this._foreignModule[o]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+o));try{return Promise.resolve(this._foreignModule[o].apply(this._foreignModule,d))}catch(l){return Promise.reject(l)}}}e.EditorSimpleWorker=h,h._diffLimit=1e5,h._suggestionsLimit=1e4;function r(c){return new h(c,null)}e.create=r,typeof importScripts=="function"&&(globalThis.monaco=(0,C.createMonacoBaseAPI)())}),define(ne[328],se([1,0,6,2,274,29]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapTokensColorTracker=void 0;class S extends k.Disposable{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,k.markAsSingleton)(new S)),this._INSTANCE}constructor(){super(),this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(D.TokenizationRegistry.onDidChange(_=>{_.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){const _=D.TokenizationRegistry.getColorMap();if(!_){this._colors=[y.RGBA8.Empty],this._backgroundIsLight=!0;return}this._colors=[y.RGBA8.Empty];for(let C=1;C<_.length;C++){const s=_[C].rgba;this._colors[C]=new y.RGBA8(s.r,s.g,s.b,Math.round(s.a*255))}const g=_[2].getRelativeLuminance();this._backgroundIsLight=g>=.5,this._onDidChange.fire(void 0)}getColor(_){return(_<1||_>=this._colors.length)&&(_=2),this._colors[_]}backgroundIsLight(){return this._backgroundIsLight}}e.MinimapTokensColorTracker=S,S._INSTANCE=null}),define(ne[628],se([3,4]),function(Q,e){return Q.create("vs/editor/common/languages/modesRegistry",e)}),define(ne[629],se([3,4]),function(Q,e){return Q.create("vs/editor/common/model/editStack",e)}),define(ne[329],se([1,0,629,9,24,22,319,140,45]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditStack=e.isEditStackElement=e.MultiModelEditStackElement=e.SingleModelEditStackElement=e.SingleModelEditStackData=void 0;function g(u){return u.toString()}class C{static create(h,r){const c=h.getAlternativeVersionId(),o=n(h);return new C(c,c,o,o,r,r,[])}constructor(h,r,c,o,d,l,p){this.beforeVersionId=h,this.afterVersionId=r,this.beforeEOL=c,this.afterEOL=o,this.beforeCursorState=d,this.afterCursorState=l,this.changes=p}append(h,r,c,o,d){r.length>0&&(this.changes=(0,S.compressConsecutiveTextChanges)(this.changes,r)),this.afterEOL=c,this.afterVersionId=o,this.afterCursorState=d}static _writeSelectionsSize(h){return 4+4*4*(h?h.length:0)}static _writeSelections(h,r,c){if(f.writeUInt32BE(h,r?r.length:0,c),c+=4,r)for(const o of r)f.writeUInt32BE(h,o.selectionStartLineNumber,c),c+=4,f.writeUInt32BE(h,o.selectionStartColumn,c),c+=4,f.writeUInt32BE(h,o.positionLineNumber,c),c+=4,f.writeUInt32BE(h,o.positionColumn,c),c+=4;return c}static _readSelections(h,r,c){const o=f.readUInt32BE(h,r);r+=4;for(let d=0;dr.toString()).join(", ")}matchesResource(h){return(D.URI.isUri(this.model)?this.model:this.model.uri).toString()===h.toString()}setModel(h){this.model=h}canAppend(h){return this.model===h&&this._data instanceof C}append(h,r,c,o,d){this._data instanceof C&&this._data.append(h,r,c,o,d)}close(){this._data instanceof C&&(this._data=this._data.serialize())}open(){this._data instanceof C||(this._data=C.deserialize(this._data))}undo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyUndo(h.changes,h.beforeEOL,h.beforeVersionId,h.beforeCursorState)}redo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const h=C.deserialize(this._data);this.model._applyRedo(h.changes,h.afterEOL,h.afterVersionId,h.afterCursorState)}heapSize(){return this._data instanceof C&&(this._data=this._data.serialize()),this._data.byteLength+168}}e.SingleModelEditStackElement=s;class i{get resources(){return this._editStackElementsArr.map(h=>h.resource)}constructor(h,r,c){this.label=h,this.code=r,this.type=1,this._isOpen=!0,this._editStackElementsArr=c.slice(0),this._editStackElementsMap=new Map;for(const o of this._editStackElementsArr){const d=g(o.resource);this._editStackElementsMap.set(d,o)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(h){const r=g(h);return this._editStackElementsMap.has(r)}setModel(h){const r=g(D.URI.isUri(h)?h:h.uri);this._editStackElementsMap.has(r)&&this._editStackElementsMap.get(r).setModel(h)}canAppend(h){if(!this._isOpen)return!1;const r=g(h.uri);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).canAppend(h):!1}append(h,r,c,o,d){const l=g(h.uri);this._editStackElementsMap.get(l).append(h,r,c,o,d)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const h of this._editStackElementsArr)h.undo()}redo(){for(const h of this._editStackElementsArr)h.redo()}heapSize(h){const r=g(h);return this._editStackElementsMap.has(r)?this._editStackElementsMap.get(r).heapSize():0}split(){return this._editStackElementsArr}toString(){const h=[];for(const r of this._editStackElementsArr)h.push(`${(0,_.basename)(r.resource)}: ${r}`);return`{${h.join(", ")}}`}}e.MultiModelEditStackElement=i;function n(u){return u.getEOL()===` -`?0:1}function t(u){return u?u instanceof s||u instanceof i:!1}e.isEditStackElement=t;class a{constructor(h,r){this._model=h,this._undoRedoService=r}pushStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.close()}popStackElement(){const h=this._undoRedoService.getLastElement(this._model.uri);t(h)&&h.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(h,r){const c=this._undoRedoService.getLastElement(this._model.uri);if(t(c)&&c.canAppend(this._model))return c;const o=new s(L.localize(0,null),"undoredo.textBufferEdit",this._model,h);return this._undoRedoService.pushElement(o,r),o}pushEOL(h){const r=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(h),r.append(this._model,[],n(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(h,r,c,o){const d=this._getOrCreateEditStackElement(h,o),l=this._model.applyEdits(r,!0),p=a._computeCursorState(c,l),m=l.map((v,b)=>({index:b,textChange:v.textChange}));return m.sort((v,b)=>v.textChange.oldPosition===b.textChange.oldPosition?v.index-b.index:v.textChange.oldPosition-b.textChange.oldPosition),d.append(this._model,m.map(v=>v.textChange),n(this._model),this._model.getAlternativeVersionId(),p),p}static _computeCursorState(h,r){try{return h?h(r):null}catch(c){return(0,k.onUnexpectedError)(c),null}}}e.EditStack=a}),define(ne[630],se([3,4]),function(Q,e){return Q.create("vs/editor/common/standaloneStrings",e)}),define(ne[94],se([1,0,630]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServicesNLS=e.ToggleHighContrastNLS=e.StandaloneCodeEditorNLS=e.QuickOutlineNLS=e.QuickCommandNLS=e.QuickHelpNLS=e.GoToLineNLS=e.InspectTokensNLS=void 0;var k;(function(s){s.inspectTokensAction=L.localize(0,null)})(k||(e.InspectTokensNLS=k={}));var y;(function(s){s.gotoLineActionLabel=L.localize(1,null)})(y||(e.GoToLineNLS=y={}));var D;(function(s){s.helpQuickAccessActionLabel=L.localize(2,null)})(D||(e.QuickHelpNLS=D={}));var S;(function(s){s.quickCommandActionLabel=L.localize(3,null),s.quickCommandHelp=L.localize(4,null)})(S||(e.QuickCommandNLS=S={}));var f;(function(s){s.quickOutlineActionLabel=L.localize(5,null),s.quickOutlineByCategoryActionLabel=L.localize(6,null)})(f||(e.QuickOutlineNLS=f={}));var _;(function(s){s.editorViewAccessibleLabel=L.localize(7,null),s.accessibilityHelpMessage=L.localize(8,null)})(_||(e.StandaloneCodeEditorNLS=_={}));var g;(function(s){s.toggleHighContrast=L.localize(9,null)})(g||(e.ToggleHighContrastNLS=g={}));var C;(function(s){s.bulkEditServiceSummary=L.localize(10,null)})(C||(e.StandaloneServicesNLS=C={}))}),define(ne[631],se([3,4]),function(Q,e){return Q.create("vs/editor/common/viewLayout/viewLineRenderer",e)}),define(ne[95],se([1,0,631,11,93,127,529]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderViewLine2=e.RenderLineOutput2=e.renderViewLine=e.RenderLineOutput=e.CharacterMapping=e.DomPosition=e.RenderLineInput=e.LineRange=void 0;class f{constructor(w,E){this.startOffset=w,this.endOffset=E}equals(w){return this.startOffset===w.startOffset&&this.endOffset===w.endOffset}}e.LineRange=f;class _{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J){this.useMonospaceOptimizations=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.continuesWithWrappedLine=M,this.isBasicASCII=P,this.containsRTL=x,this.fauxIndentLength=T,this.lineTokens=A,this.lineDecorations=N.sort(D.LineDecoration.compare),this.tabSize=F,this.startVisibleColumn=O,this.spaceWidth=W,this.stopRenderingLineAfter=R,this.renderWhitespace=K==="all"?4:K==="boundary"?1:K==="selection"?2:K==="trailing"?3:0,this.renderControlCharacters=G,this.fontLigatures=Z,this.selectionsOnLine=J&&J.sort((B,V)=>B.startOffset>>16}static getCharIndex(w){return(w&65535)>>>0}constructor(w,E){this.length=w,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(w,E,I,M){const P=(E<<16|I<<0)>>>0;this._data[w-1]=P,this._horizontalOffset[w-1]=M}getHorizontalOffset(w){return this._horizontalOffset.length===0?0:this._horizontalOffset[w-1]}charOffsetToPartData(w){return this.length===0?0:w<0?this._data[0]:w>=this.length?this._data[this.length-1]:this._data[w]}getDomPosition(w){const E=this.charOffsetToPartData(w-1),I=C.getPartIndex(E),M=C.getCharIndex(E);return new g(I,M)}getColumn(w,E){return this.partDataToCharOffset(w.partIndex,E,w.charIndex)+1}partDataToCharOffset(w,E,I){if(this.length===0)return 0;const M=(w<<16|I<<0)>>>0;let P=0,x=this.length-1;for(;P+1>>1,K=this._data[R];if(K===M)return R;K>M?x=R:P=R}if(P===x)return P;const T=this._data[P],A=this._data[x];if(T===M)return P;if(A===M)return x;const N=C.getPartIndex(T),F=C.getCharIndex(T),O=C.getPartIndex(A);let W;N!==O?W=E:W=C.getCharIndex(A);const U=I-F,j=W-I;return U<=j?P:x}}e.CharacterMapping=C;class s{constructor(w,E,I){this._renderLineOutputBrand=void 0,this.characterMapping=w,this.containsRTL=E,this.containsForeignElements=I}}e.RenderLineOutput=s;function i(b,w){if(b.lineContent.length===0){if(b.lineDecorations.length>0){w.appendString("");let E=0,I=0,M=0;for(const x of b.lineDecorations)(x.type===1||x.type===2)&&(w.appendString(''),x.type===1&&(M|=1,E++),x.type===2&&(M|=2,I++));w.appendString("");const P=new C(1,E+I);return P.setColumnInfo(1,E,0,0),new s(P,!1,M)}return w.appendString(""),new s(new C(0,0),!1,0)}return p(u(b),w)}e.renderViewLine=i;class n{constructor(w,E,I,M){this.characterMapping=w,this.html=E,this.containsRTL=I,this.containsForeignElements=M}}e.RenderLineOutput2=n;function t(b){const w=new y.StringBuilder(1e4),E=i(b,w);return new n(E.characterMapping,w.build(),E.containsRTL,E.containsForeignElements)}e.renderViewLine2=t;class a{constructor(w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K){this.fontIsMonospace=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=I,this.len=M,this.isOverflowing=P,this.overflowingCharCount=x,this.parts=T,this.containsForeignElements=A,this.fauxIndentLength=N,this.tabSize=F,this.startVisibleColumn=O,this.containsRTL=W,this.spaceWidth=U,this.renderSpaceCharCode=j,this.renderWhitespace=R,this.renderControlCharacters=K}}function u(b){const w=b.lineContent;let E,I,M;b.stopRenderingLineAfter!==-1&&b.stopRenderingLineAfter0){for(let T=0,A=b.lineDecorations.length;T0&&(P[x++]=new S.LinePart(I,"",0,!1));let T=I;for(let A=0,N=E.getCount();A=M){const U=w?k.containsRTL(b.substring(T,M)):!1;P[x++]=new S.LinePart(M,O,0,U);break}const W=w?k.containsRTL(b.substring(T,F)):!1;P[x++]=new S.LinePart(F,O,0,W),T=F}return P}function r(b,w,E){let I=0;const M=[];let P=0;if(E)for(let x=0,T=w.length;x=50&&(M[P++]=new S.LinePart(U+1,F,O,W),j=U+1,U=-1);j!==N&&(M[P++]=new S.LinePart(N,F,O,W))}else M[P++]=A;I=N}else for(let x=0,T=w.length;x50){const O=A.type,W=A.metadata,U=A.containsRTL,j=Math.ceil(F/50);for(let R=1;R=8234&&b<=8238||b>=8294&&b<=8297||b>=8206&&b<=8207||b===1564}function o(b,w){const E=[];let I=new S.LinePart(0,"",0,!1),M=0;for(const P of w){const x=P.endIndex;for(;MI.endIndex&&(I=new S.LinePart(M,P.type,P.metadata,P.containsRTL),E.push(I)),I=new S.LinePart(M+1,"mtkcontrol",P.metadata,!1),E.push(I))}M>I.endIndex&&(I=new S.LinePart(x,P.type,P.metadata,P.containsRTL),E.push(I))}return E}function d(b,w,E,I){const M=b.continuesWithWrappedLine,P=b.fauxIndentLength,x=b.tabSize,T=b.startVisibleColumn,A=b.useMonospaceOptimizations,N=b.selectionsOnLine,F=b.renderWhitespace===1,O=b.renderWhitespace===3,W=b.renderSpaceWidth!==b.spaceWidth,U=[];let j=0,R=0,K=I[R].type,G=I[R].containsRTL,Z=I[R].endIndex;const J=I.length;let X=!1,H=k.firstNonWhitespaceIndex(w),B;H===-1?(X=!0,H=E,B=E):B=k.lastNonWhitespaceIndex(w);let V=!1,Y=0,ie=N&&N[Y],ae=T%x;for(let de=P;de=ie.endOffset&&(Y++,ie=N&&N[Y]);let ue;if(deB)ue=!0;else if(he===9)ue=!0;else if(he===32)if(F)if(V)ue=!0;else{const te=de+1de),ue&&O&&(ue=X||de>B),ue&&G&&de>=H&&de<=B&&(ue=!1),V){if(!ue||!A&&ae>=x){if(W){const te=j>0?U[j-1].endIndex:P;for(let q=te+1;q<=de;q++)U[j++]=new S.LinePart(q,"mtkw",1,!1)}else U[j++]=new S.LinePart(de,"mtkw",1,!1);ae=ae%x}}else(de===Z||ue&&de>P)&&(U[j++]=new S.LinePart(de,K,0,G),ae=ae%x);for(he===9?ae=x:k.isFullWidthCharacter(he)?ae+=2:ae++,V=ue;de===Z&&(R++,R0?w.charCodeAt(E-1):0,he=E>1?w.charCodeAt(E-2):0;de===32&&he!==32&&he!==9||(ce=!0)}else ce=!0;if(ce)if(W){const de=j>0?U[j-1].endIndex:P;for(let he=de+1;he<=E;he++)U[j++]=new S.LinePart(he,"mtkw",1,!1)}else U[j++]=new S.LinePart(E,"mtkw",1,!1);else U[j++]=new S.LinePart(E,K,0,G);return U}function l(b,w,E,I){I.sort(D.LineDecoration.compare);const M=D.LineDecorationsNormalizer.normalize(b,I),P=M.length;let x=0;const T=[];let A=0,N=0;for(let O=0,W=E.length;ON&&(N=Z.startOffset,T[A++]=new S.LinePart(N,R,K,G)),Z.endOffset+1<=j)N=Z.endOffset+1,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G),x++;else{N=j,T[A++]=new S.LinePart(N,R+" "+Z.className,K|Z.metadata,G);break}}j>N&&(N=j,T[A++]=new S.LinePart(N,R,K,G))}const F=E[E.length-1].endIndex;if(x'):w.appendString("");for(let ie=0,ae=N.length;ie=F&&(re+=ge)}}for(q&&(w.appendString(' style="width:'),w.appendString(String(j*ee)),w.appendString('px"')),w.appendASCIICharCode(62);X1?w.appendCharCode(8594):w.appendCharCode(65515);for(let ge=2;ge<=oe;ge++)w.appendCharCode(160)}else re=2,oe=1,w.appendCharCode(R),w.appendCharCode(8204);B+=re,V+=oe,X>=F&&(H+=oe)}}else for(w.appendASCIICharCode(62);X=F&&(H+=re)}z?Y++:Y=0,X>=x&&!J&&ce.isPseudoAfter()&&(J=!0,Z.setColumnInfo(X+1,ie,B,V)),w.appendString("")}return J||Z.setColumnInfo(x+1,N.length-1,B,V),T&&(w.appendString(''),w.appendString(L.localize(0,null,v(A))),w.appendString("")),w.appendString(""),new s(Z,U,M)}function m(b){return b.toString(16).toUpperCase().padStart(4,"0")}function v(b){return b<1024?L.localize(1,null,b):b<1024*1024?`${(b/1024).toFixed(1)} KB`:`${(b/1024/1024).toFixed(1)} MB`}}),define(ne[632],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/anchorSelect/browser/anchorSelect",e)}),define(ne[633],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/bracketMatching/browser/bracketMatching",e)}),define(ne[634],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/caretOperations",e)}),define(ne[635],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/caretOperations/browser/transpose",e)}),define(ne[636],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/clipboard/browser/clipboard",e)}),define(ne[637],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeAction",e)}),define(ne[638],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionCommands",e)}),define(ne[639],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionContributions",e)}),define(ne[640],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionController",e)}),define(ne[641],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/codeActionMenu",e)}),define(ne[642],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codeAction/browser/lightBulbWidget",e)}),define(ne[643],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/codelens/browser/codelensController",e)}),define(ne[644],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/colorPickerWidget",e)}),define(ne[645],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions",e)}),define(ne[646],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/comment/browser/comment",e)}),define(ne[647],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/contextmenu/browser/contextmenu",e)}),define(ne[648],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/cursorUndo/browser/cursorUndo",e)}),define(ne[649],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution",e)}),define(ne[650],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteController",e)}),define(ne[651],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/defaultProviders",e)}),define(ne[652],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution",e)}),define(ne[653],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController",e)}),define(ne[654],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/editorState/browser/keybindingCancellation",e)}),define(ne[655],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findController",e)}),define(ne[656],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/find/browser/findWidget",e)}),define(ne[657],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/folding",e)}),define(ne[658],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/folding/browser/foldingDecorations",e)}),define(ne[659],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/fontZoom/browser/fontZoom",e)}),define(ne[660],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/format",e)}),define(ne[661],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/format/browser/formatActions",e)}),define(ne[662],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoError",e)}),define(ne[663],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoError/browser/gotoErrorWidget",e)}),define(ne[664],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/goToCommands",e)}),define(ne[665],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition",e)}),define(ne[666],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesController",e)}),define(ne[667],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesTree",e)}),define(ne[668],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget",e)}),define(ne[669],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/referencesModel",e)}),define(ne[155],se([1,0,9,6,164,2,65,45,11,5,669]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesModel=e.FileReferences=e.FilePreview=e.OneReference=void 0;class s{constructor(u,h,r,c){this.isProviderFirst=u,this.parent=h,this.link=r,this._rangeCallback=c,this.id=y.defaultGenerator.nextId()}get uri(){return this.link.uri}get range(){var u,h;return(h=(u=this._range)!==null&&u!==void 0?u:this.link.targetSelectionRange)!==null&&h!==void 0?h:this.link.range}set range(u){this._range=u,this._rangeCallback(this)}get ariaMessage(){var u;const h=(u=this.parent.getPreview(this))===null||u===void 0?void 0:u.preview(this.range);return h?(0,C.localize)(1,null,h.value,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,C.localize)(0,null,(0,f.basename)(this.uri),this.range.startLineNumber,this.range.startColumn)}}e.OneReference=s;class i{constructor(u){this._modelReference=u}dispose(){this._modelReference.dispose()}preview(u,h=8){const r=this._modelReference.object.textEditorModel;if(!r)return;const{startLineNumber:c,startColumn:o,endLineNumber:d,endColumn:l}=u,p=r.getWordUntilPosition({lineNumber:c,column:o-h}),m=new g.Range(c,p.startColumn,c,o),v=new g.Range(d,l,d,1073741824),b=r.getValueInRange(m).replace(/^\s+/,""),w=r.getValueInRange(u),E=r.getValueInRange(v).replace(/\s+$/,"");return{value:b+w+E,highlight:{start:b.length,end:b.length+w.length}}}}e.FilePreview=i;class n{constructor(u,h){this.parent=u,this.uri=h,this.children=[],this._previews=new S.ResourceMap}dispose(){(0,D.dispose)(this._previews.values()),this._previews.clear()}getPreview(u){return this._previews.get(u.uri)}get ariaMessage(){const u=this.children.length;return u===1?(0,C.localize)(2,null,(0,f.basename)(this.uri),this.uri.fsPath):(0,C.localize)(3,null,u,(0,f.basename)(this.uri),this.uri.fsPath)}resolve(u){return we(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(const h of this.children)if(!this._previews.has(h.uri))try{const r=yield u.createModelReference(h.uri);this._previews.set(h.uri,new i(r))}catch(r){(0,L.onUnexpectedError)(r)}return this})}}e.FileReferences=n;class t{constructor(u,h){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new k.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=u,this._title=h;const[r]=u;u.sort(t._compareReferences);let c;for(const o of u)if((!c||!f.extUri.isEqual(c.uri,o.uri,!0))&&(c=new n(this,o.uri),this.groups.push(c)),c.children.length===0||t._compareReferences(o,c.children[c.children.length-1])!==0){const d=new s(r===o,c,o,l=>this._onDidChangeReferenceRange.fire(l));this.references.push(d),c.children.push(d)}}dispose(){(0,D.dispose)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new t(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,C.localize)(4,null):this.references.length===1?(0,C.localize)(5,null,this.references[0].uri.fsPath):this.groups.length===1?(0,C.localize)(6,null,this.references.length,this.groups[0].uri.fsPath):(0,C.localize)(7,null,this.references.length,this.groups.length)}nextOrPreviousReference(u,h){const{parent:r}=u;let c=r.children.indexOf(u);const o=r.children.length,d=r.parent.groups.length;return d===1||h&&c+10?(h?c=(c+1)%o:c=(c+o-1)%o,r.children[c]):(c=r.parent.groups.indexOf(r),h?(c=(c+1)%d,r.parent.groups[c].children[0]):(c=(c+d-1)%d,r.parent.groups[c].children[r.parent.groups[c].children.length-1]))}nearestReference(u,h){const r=this.references.map((c,o)=>({idx:o,prefixLen:_.commonPrefixLength(c.uri.toString(),u.toString()),offsetDist:Math.abs(c.range.startLineNumber-h.lineNumber)*100+Math.abs(c.range.startColumn-h.column)})).sort((c,o)=>c.prefixLen>o.prefixLen?-1:c.prefixLeno.offsetDist?1:0)[0];if(r)return this.references[r.idx]}referenceAt(u,h){for(const r of this.references)if(r.uri.toString()===u.toString()&&g.Range.containsPosition(r.range,h))return r}firstReference(){for(const u of this.references)if(u.isProviderFirst)return u;return this.references[0]}static _compareReferences(u,h){return f.extUri.compare(u.uri,h.uri)||g.Range.compareRangesUsingStarts(u.range,h.range)}}e.ReferencesModel=t}),define(ne[670],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/gotoSymbol/browser/symbolNavigation",e)}),define(ne[671],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/hover",e)}),define(ne[672],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markdownHoverParticipant",e)}),define(ne[673],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/hover/browser/markerHoverParticipant",e)}),define(ne[674],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace",e)}),define(ne[675],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/indentation/browser/indentation",e)}),define(ne[676],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlayHints/browser/inlayHintsHover",e)}),define(ne[677],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/commands",e)}),define(ne[678],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/hoverParticipant",e)}),define(ne[679],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys",e)}),define(ne[680],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController",e)}),define(ne[681],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget",e)}),define(ne[682],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/lineSelection/browser/lineSelection",e)}),define(ne[683],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linesOperations/browser/linesOperations",e)}),define(ne[684],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/linkedEditing/browser/linkedEditing",e)}),define(ne[685],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/links/browser/links",e)}),define(ne[686],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/message/browser/messageController",e)}),define(ne[687],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/multicursor/browser/multicursor",e)}),define(ne[688],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHints",e)}),define(ne[689],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/parameterHints/browser/parameterHintsWidget",e)}),define(ne[690],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/peekView/browser/peekView",e)}),define(ne[691],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess",e)}),define(ne[692],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess",e)}),define(ne[693],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/readOnlyMessage/browser/contribution",e)}),define(ne[694],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/rename",e)}),define(ne[695],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/rename/browser/renameInputField",e)}),define(ne[696],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/smartSelect/browser/smartSelect",e)}),define(ne[697],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetController2",e)}),define(ne[698],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/snippet/browser/snippetVariables",e)}),define(ne[699],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/stickyScroll/browser/stickyScrollActions",e)}),define(ne[700],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggest",e)}),define(ne[701],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestController",e)}),define(ne[702],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidget",e)}),define(ne[703],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetDetails",e)}),define(ne[704],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetRenderer",e)}),define(ne[705],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/suggest/browser/suggestWidgetStatus",e)}),define(ne[706],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/symbolIcons/browser/symbolIcons",e)}),define(ne[707],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode",e)}),define(ne[708],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/tokenization/browser/tokenization",e)}),define(ne[709],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter",e)}),define(ne[710],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators",e)}),define(ne[711],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/highlightDecorations",e)}),define(ne[712],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordHighlighter/browser/wordHighlighter",e)}),define(ne[713],se([3,4]),function(Q,e){return Q.create("vs/editor/contrib/wordOperations/browser/wordOperations",e)}),define(ne[714],se([3,4]),function(Q,e){return Q.create("vs/platform/action/common/actionCommonCategories",e)}),define(ne[715],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionList",e)}),define(ne[716],se([3,4]),function(Q,e){return Q.create("vs/platform/actionWidget/browser/actionWidget",e)}),define(ne[717],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/menuEntryActionViewItem",e)}),define(ne[718],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/browser/toolbar",e)}),define(ne[719],se([3,4]),function(Q,e){return Q.create("vs/platform/actions/common/menuService",e)}),define(ne[720],se([3,4]),function(Q,e){return Q.create("vs/platform/audioCues/browser/audioCueService",e)}),define(ne[721],se([3,4]),function(Q,e){return Q.create("vs/platform/configuration/common/configurationRegistry",e)}),define(ne[722],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/browser/contextKeyService",e)}),define(ne[723],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkey",e)}),define(ne[724],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/contextkeys",e)}),define(ne[725],se([3,4]),function(Q,e){return Q.create("vs/platform/contextkey/common/scanner",e)}),define(ne[726],se([3,4]),function(Q,e){return Q.create("vs/platform/history/browser/contextScopedHistoryWidget",e)}),define(ne[727],se([3,4]),function(Q,e){return Q.create("vs/platform/keybinding/common/abstractKeybindingService",e)}),define(ne[728],se([3,4]),function(Q,e){return Q.create("vs/platform/list/browser/listService",e)}),define(ne[729],se([3,4]),function(Q,e){return Q.create("vs/platform/markers/common/markers",e)}),define(ne[730],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/commandsQuickAccess",e)}),define(ne[731],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/helpQuickAccess",e)}),define(ne[732],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInput",e)}),define(ne[733],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputController",e)}),define(ne[734],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputList",e)}),define(ne[735],se([3,4]),function(Q,e){return Q.create("vs/platform/quickinput/browser/quickInputUtils",e)}),define(ne[736],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/colorRegistry",e)}),define(ne[737],se([3,4]),function(Q,e){return Q.create("vs/platform/theme/common/iconRegistry",e)}),define(ne[738],se([3,4]),function(Q,e){return Q.create("vs/platform/undoRedo/common/undoRedoService",e)}),define(ne[739],se([3,4]),function(Q,e){return Q.create("vs/platform/workspace/common/workspace",e)}),define(ne[740],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isICommandActionToggleInfo=void 0;function L(k){return k?k.condition!==void 0:!1}e.isICommandActionToggleInfo=L}),define(ne[741],se([1,0,714]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Categories=void 0,e.Categories=Object.freeze({View:{value:(0,L.localize)(0,null),original:"View"},Help:{value:(0,L.localize)(1,null),original:"Help"},Test:{value:(0,L.localize)(2,null),original:"Test"},File:{value:(0,L.localize)(3,null),original:"File"},Preferences:{value:(0,L.localize)(4,null),original:"Preferences"},Developer:{value:(0,L.localize)(5,null),original:"Developer"}})}),define(ne[742],se([1,0,9,725]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scanner=void 0;function y(..._){switch(_.length){case 1:return(0,k.localize)(0,null,_[0]);case 2:return(0,k.localize)(1,null,_[0],_[1]);case 3:return(0,k.localize)(2,null,_[0],_[1],_[2]);default:return}}const D=(0,k.localize)(3,null),S=(0,k.localize)(4,null);class f{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(g){switch(g.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return g.isTripleEq?"===":"==";case 4:return g.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return g.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return g.lexeme;case 18:return g.lexeme;case 19:return g.lexeme;case 20:return"EOF";default:throw(0,L.illegalState)(`unhandled token type: ${JSON.stringify(g)}; have you forgotten to add a case?`)}}reset(g){return this._input=g,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const C=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:C})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const C=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:C})}else this._match(126)?this._addToken(9):this._error(y("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(y("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(y("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(g){return this._isAtEnd()||this._input.charCodeAt(this._current)!==g?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(g){this._tokens.push({type:g,offset:this._start})}_error(g){const C=this._start,s=this._input.substring(this._start,this._current),i={type:19,offset:this._start,lexeme:s};this._errors.push({offset:C,lexeme:s,additionalInfo:g}),this._tokens.push(i)}_string(){this.stringRe.lastIndex=this._start;const g=this.stringRe.exec(this._input);if(g){this._current=this._start+g[0].length;const C=this._input.substring(this._start,this._current),s=f._keywords.get(C);s?this._addToken(s):this._tokens.push({type:17,lexeme:C,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(D);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let g=this._current,C=!1,s=!1;for(;;){if(g>=this._input.length){this._current=g,this._error(S);return}const n=this._input.charCodeAt(g);if(C)C=!1;else if(n===47&&!s){g++;break}else n===91?s=!0:n===92?C=!0:n===93&&(s=!1);g++}for(;g=this._input.length}}e.Scanner=f,f._regexFlags=new Set(["i","g","s","m","y","u"].map(_=>_.charCodeAt(0))),f._keywords=new Map([["not",14],["in",13],["false",12],["true",11]])}),define(ne[743],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorOpenSource=void 0;var L;(function(k){k[k.API=0]="API",k[k.USER=1]="USER"})(L||(e.EditorOpenSource=L={}))}),define(ne[744],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionIdentifierSet=e.ExtensionIdentifier=void 0;class L{constructor(D){this.value=D,this._lower=D.toLowerCase()}static toKey(D){return typeof D=="string"?D.toLowerCase():D._lower}}e.ExtensionIdentifier=L;class k{constructor(D){if(this._set=new Set,D)for(const S of D)this.add(S)}add(D){this._set.add(L.toKey(D))}has(D){return this._set.has(L.toKey(D))}}e.ExtensionIdentifierSet=k}),define(ne[330],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileKind=void 0;var L;(function(k){k[k.FILE=0]="FILE",k[k.FOLDER=1]="FOLDER",k[k.ROOT_FOLDER=2]="ROOT_FOLDER"})(L||(e.FileKind=L={}))}),define(ne[745],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showHistoryKeybindingHint=void 0;function L(k){var y,D;return((y=k.lookupKeybinding("history.showPrevious"))===null||y===void 0?void 0:y.getElectronAccelerator())==="Up"&&((D=k.lookupKeybinding("history.showNext"))===null||D===void 0?void 0:D.getElectronAccelerator())==="Down"}e.showHistoryKeybindingHint=L}),define(ne[232],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SyncDescriptor=void 0;class L{constructor(y,D=[],S=!1){this.ctor=y,this.staticArguments=D,this.supportsDelayedInstantiation=S}}e.SyncDescriptor=L}),define(ne[50],se([1,0,232]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingletonServiceDescriptors=e.registerSingleton=void 0;const k=[];function y(S,f,_){f instanceof L.SyncDescriptor||(f=new L.SyncDescriptor(f,[],!!_)),k.push([S,f])}e.registerSingleton=y;function D(){return k}e.getSingletonServiceDescriptors=D}),define(ne[746],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Graph=e.Node=void 0;class L{constructor(D,S){this.key=D,this.data=S,this.incoming=new Map,this.outgoing=new Map}}e.Node=L;class k{constructor(D){this._hashFn=D,this._nodes=new Map}roots(){const D=[];for(const S of this._nodes.values())S.outgoing.size===0&&D.push(S);return D}insertEdge(D,S){const f=this.lookupOrInsertNode(D),_=this.lookupOrInsertNode(S);f.outgoing.set(_.key,_),_.incoming.set(f.key,f)}removeNode(D){const S=this._hashFn(D);this._nodes.delete(S);for(const f of this._nodes.values())f.outgoing.delete(S),f.incoming.delete(S)}lookupOrInsertNode(D){const S=this._hashFn(D);let f=this._nodes.get(S);return f||(f=new L(S,D),this._nodes.set(S,f)),f}isEmpty(){return this._nodes.size===0}toString(){const D=[];for(const[S,f]of this._nodes)D.push(`${S} - (-> incoming)[${[...f.incoming.keys()].join(", ")}] - (outgoing ->)[${[...f.outgoing.keys()].join(",")}] -`);return D.join(` -`)}findCycleSlow(){for(const[D,S]of this._nodes){const f=new Set([D]),_=this._findCycle(S,f);if(_)return _}}_findCycle(D,S){for(const[f,_]of D.outgoing){if(S.has(f))return[...S,f].join(" -> ");S.add(f);const g=this._findCycle(_,S);if(g)return g;S.delete(f)}}}e.Graph=k}),define(ne[8],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDecorator=e.IInstantiationService=e._util=void 0;var L;(function(D){D.serviceIds=new Map,D.DI_TARGET="$di$target",D.DI_DEPENDENCIES="$di$dependencies";function S(f){return f[D.DI_DEPENDENCIES]||[]}D.getServiceDependencies=S})(L||(e._util=L={})),e.IInstantiationService=y("instantiationService");function k(D,S,f){S[L.DI_TARGET]===S?S[L.DI_DEPENDENCIES].push({id:D,index:f}):(S[L.DI_DEPENDENCIES]=[{id:D,index:f}],S[L.DI_TARGET]=S)}function y(D){if(L.serviceIds.has(D))return L.serviceIds.get(D);const S=function(f,_,g){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");k(S,f,g)};return S.toString=()=>D,L.serviceIds.set(D,S),S}e.createDecorator=y}),define(ne[132],se([1,0,8,22,20]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceFileEdit=e.ResourceTextEdit=e.ResourceEdit=e.IBulkEditService=void 0,e.IBulkEditService=(0,L.createDecorator)("IWorkspaceEditService");class D{constructor(g){this.metadata=g}static convert(g){return g.edits.map(C=>{if(S.is(C))return S.lift(C);if(f.is(C))return f.lift(C);throw new Error("Unsupported edit")})}}e.ResourceEdit=D;class S extends D{static is(g){return g instanceof S?!0:(0,y.isObject)(g)&&k.URI.isUri(g.resource)&&(0,y.isObject)(g.textEdit)}static lift(g){return g instanceof S?g:new S(g.resource,g.textEdit,g.versionId,g.metadata)}constructor(g,C,s=void 0,i){super(i),this.resource=g,this.textEdit=C,this.versionId=s}}e.ResourceTextEdit=S;class f extends D{static is(g){return g instanceof f?!0:(0,y.isObject)(g)&&(!!g.newResource||!!g.oldResource)}static lift(g){return g instanceof f?g:new f(g.oldResource,g.newResource,g.options,g.metadata)}constructor(g,C,s={},i){super(i),this.oldResource=g,this.newResource=C,this.options=s}}e.ResourceFileEdit=f}),define(ne[33],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICodeEditorService=void 0,e.ICodeEditorService=(0,L.createDecorator)("codeEditorService")}),define(ne[41],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageService=void 0,e.ILanguageService=(0,L.createDecorator)("languageService")}),define(ne[115],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorWorkerService=void 0,e.IEditorWorkerService=(0,L.createDecorator)("editorWorkerService")}),define(ne[18],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageFeaturesService=void 0,e.ILanguageFeaturesService=(0,L.createDecorator)("ILanguageFeaturesService")});var fe=this&&this.__param||function(Q,e){return function(L,k){e(L,k,Q)}};define(ne[747],se([1,0,7,129,14,19,25,6,55,2,42,26,20,483,102,66,12,5,29,18,614]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRangesFeature=void 0;let d=class extends g.Disposable{get isUpdatingViewZones(){return this._isUpdatingViewZones}constructor(b,w,E,I){super(),this._editors=b,this._diffModel=w,this._options=E,this._languageFeaturesService=I,this._isUpdatingViewZones=!1,this._modifiedModel=(0,C.observableFromEvent)(this._editors.modified.onDidChangeModel,()=>this._editors.modified.getModel()),this._modifiedOutlineSource=(0,C.derivedWithStore)("modified outline source",(A,N)=>{const F=this._modifiedModel.read(A);if(F)return N.add(new p(this._languageFeaturesService,F))}),this._register(this._editors.original.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.original.getSelections()||[])N?.ensureOriginalLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureOriginalLineIsVisible(O.getEndPosition().lineNumber,F)})}})),this._register(this._editors.modified.onDidChangeCursorPosition(A=>{if(A.reason===3){const N=this._diffModel.get();(0,C.transaction)(F=>{for(const O of this._editors.modified.getSelections()||[])N?.ensureModifiedLineIsVisible(O.getStartPosition().lineNumber,F),N?.ensureModifiedLineIsVisible(O.getEndPosition().lineNumber,F)})}}));const M=this._diffModel.map((A,N)=>{var F,O;return((F=A?.diff.read(N))===null||F===void 0?void 0:F.mappings.length)===0?[]:(O=A?.unchangedRegions.read(N))!==null&&O!==void 0?O:[]}),P=(0,C.derivedWithStore)("view zones",(A,N)=>{const F=[],O=[],W=this._options.renderSideBySide.read(A),U=this._modifiedOutlineSource.read(A);if(!U)return{origViewZones:F,modViewZones:O};const j=M.read(A);for(const R of j)if(!R.shouldHideControls(A)){{const K=(0,C.derived)(Z=>R.getHiddenOriginalRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);F.push(G),N.add(new m(this._editors.original,G,R,R.originalRange,!W,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}{const K=(0,C.derived)(Z=>R.getHiddenModifiedRange(Z).startLineNumber-1),G=new t.PlaceholderViewZone(K,24);O.push(G),N.add(new m(this._editors.modified,G,R,R.modifiedRange,!1,U,Z=>this._diffModel.get().ensureModifiedLineIsVisible(Z,void 0),this._options))}}return{origViewZones:F,modViewZones:O}}),x={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},T={description:"Fold Unchanged",glyphMarginHoverMessage:new _.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,o.localize)(0,null)),glyphMarginClassName:"fold-unchanged "+s.ThemeIcon.asClassName(S.Codicon.fold),zIndex:10001};this._register((0,t.applyObservableDecorations)(this._editors.original,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.originalRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:h.Range.fromPositions(new u.Position(O.originalLineNumber,1)),options:T});return F}))),this._register((0,t.applyObservableDecorations)(this._editors.modified,(0,C.derived)(A=>{const N=M.read(A),F=N.map(O=>({range:O.modifiedRange.toInclusiveRange(),options:x}));for(const O of N)O.shouldHideControls(A)&&F.push({range:a.LineRange.ofLength(O.modifiedLineNumber,1).toInclusiveRange(),options:T});return F}))),this._register((0,t.applyViewZones)(this._editors.original,P.map(A=>A.origViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,t.applyViewZones)(this._editors.modified,P.map(A=>A.modViewZones),A=>this._isUpdatingViewZones=A)),this._register((0,C.autorun)(A=>{const N=M.read(A);this._editors.original.setHiddenAreas(N.map(F=>F.getHiddenOriginalRange(A).toInclusiveRange()).filter(i.isDefined)),this._editors.modified.setHiddenAreas(N.map(F=>F.getHiddenModifiedRange(A).toInclusiveRange()).filter(i.isDefined))})),this._register(this._editors.modified.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.modifiedRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(A=>{var N;if(!A.event.rightButton&&A.target.position&&(!((N=A.target.element)===null||N===void 0)&&N.className.includes("fold-unchanged"))){const F=A.target.position.lineNumber,O=this._diffModel.get();if(!O)return;const W=O.unchangedRegions.get().find(U=>U.originalRange.includes(F));if(!W)return;W.collapseAll(void 0),A.event.stopPropagation(),A.event.preventDefault()}}))}};e.UnchangedRangesFeature=d,e.UnchangedRangesFeature=d=ke([fe(3,c.ILanguageFeaturesService)],d);class l extends D.CancellationTokenSource{dispose(){super.dispose(!0)}}let p=class extends g.Disposable{constructor(b,w){super(),this._languageFeaturesService=b,this._textModel=w,this._currentModel=(0,C.observableValue)("current model",void 0);const E=(0,C.observableSignalFromEvent)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),I=(0,C.observableSignalFromEvent)("_textModel.onDidChangeContent",f.Event.debounce(M=>this._textModel.onDidChangeContent(M),()=>{},100));this._register((0,C.autorunWithStore)((M,P)=>we(this,void 0,void 0,function*(){E.read(M),I.read(M);const x=P.add(new l),T=yield n.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,this._textModel,x.token);P.isDisposed||this._currentModel.set(T,void 0)})))}getBreadcrumbItems(b,w){const E=this._currentModel.read(w);if(!E)return[];const I=E.asListOfDocumentSymbols().filter(M=>b.contains(M.range.startLineNumber)&&!b.contains(M.range.endLineNumber));return I.sort((0,y.reverseOrder)((0,y.compareBy)(M=>M.range.endLineNumber-M.range.startLineNumber,y.numberComparator))),I.map(M=>({name:M.name,kind:M.kind,startLineNumber:M.range.startLineNumber}))}};p=ke([fe(0,c.ILanguageFeaturesService)],p);class m extends t.ViewZoneOverlayWidget{constructor(b,w,E,I,M,P,x,T){const A=(0,L.h)("div.diff-hidden-lines-widget");super(b,w,A.root),this._editor=b,this._unchangedRegion=E,this._unchangedRegionRange=I,this.hide=M,this._modifiedOutlineSource=P,this._revealModifiedHiddenLine=x,this._options=T,this._nodes=(0,L.h)("div.diff-hidden-lines",[(0,L.h)("div.top@top",{title:(0,o.localize)(1,null)}),(0,L.h)("div.center@content",{style:{display:"flex"}},[(0,L.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,L.$)("a",{title:(0,o.localize)(2,null),role:"button",onclick:()=>{this.showAll()}},...(0,k.renderLabelWithIcons)("$(unfold)"))]),(0,L.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,L.h)("div.bottom@bottom",{title:(0,o.localize)(3,null),role:"button"})]),A.root.appendChild(this._nodes.root);const N=(0,C.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this.hide?(0,L.reset)(this._nodes.first):this._register((0,t.applyStyle)(this._nodes.first,{width:N.map(O=>O.contentLeft)}));const F=this._editor;this._register((0,L.addDisposableListener)(this._nodes.top,"mousedown",O=>{if(O.button!==0)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j+X,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(H,void 0)}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{U||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(!1,void 0),R.dispose(),K.dispose()})})),this._register((0,L.addDisposableListener)(this._nodes.bottom,"mousedown",O=>{if(O.button!==0)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),O.preventDefault();const W=O.clientY;let U=!1;const j=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set(!0,void 0);const R=(0,L.addDisposableListener)(window,"mousemove",G=>{const J=G.clientY-W;U=U||Math.abs(J)>2;const X=Math.round(J/F.getOption(65)),H=Math.max(0,Math.min(j-X,this._unchangedRegion.getMaxVisibleLineCountBottom())),B=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(H,void 0);const V=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(V-B))}),K=(0,L.addDisposableListener)(window,"mouseup",G=>{if(this._unchangedRegion.isDragged.set(!1,void 0),!U){const Z=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);const J=F.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);F.setScrollTop(F.getScrollTop()+(J-Z))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),R.dispose(),K.dispose()})})),this._register((0,C.autorun)(O=>{const W=[];if(!this.hide){const U=E.getHiddenModifiedRange(O).length,j=(0,o.localize)(4,null,U),R=(0,L.$)("span",{title:(0,o.localize)(5,null)},j);R.addEventListener("dblclick",Z=>{Z.button===0&&(Z.preventDefault(),this.showAll())}),W.push(R);const K=this._unchangedRegion.getHiddenModifiedRange(O),G=this._modifiedOutlineSource.getBreadcrumbItems(K,O);if(G.length>0){W.push((0,L.$)("span",void 0,"\xA0\xA0|\xA0\xA0"));for(let Z=0;Z{this._revealModifiedHiddenLine(J.startLineNumber)}}}}(0,L.reset)(this._nodes.others,...W)}))}showAll(){this._unchangedRegion.showAll(void 0)}}}),define(ne[748],se([1,0,594,18,50]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeaturesService=void 0;class D{constructor(){this.referenceProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.renameProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeActionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.definitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.typeDefinitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.declarationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.implementationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSymbolProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlayHintsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.colorProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeLensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.onTypeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.signatureHelpProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.hoverProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentHighlightProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.selectionRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.foldingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlineCompletionsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.completionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkedEditingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentOnDropEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentPasteEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this))}_score(f){var _;return(_=this._notebookTypeResolver)===null||_===void 0?void 0:_.call(this,f)}}e.LanguageFeaturesService=D,(0,y.registerSingleton)(k.ILanguageFeaturesService,D,1)}),define(ne[233],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerDecorationsService=void 0,e.IMarkerDecorationsService=(0,L.createDecorator)("markerDecorationsService")}),define(ne[51],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IModelService=void 0,e.IModelService=(0,L.createDecorator)("modelService")}),define(ne[69],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextModelService=void 0,e.ITextModelService=(0,L.createDecorator)("textModelService")}),define(ne[234],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISemanticTokensStylingService=void 0,e.ISemanticTokensStylingService=(0,L.createDecorator)("semanticTokensStylingService")}),define(ne[187],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextResourcePropertiesService=e.ITextResourceConfigurationService=void 0,e.ITextResourceConfigurationService=(0,L.createDecorator)("textResourceConfigurationService"),e.ITextResourcePropertiesService=(0,L.createDecorator)("textResourcePropertiesService")}),define(ne[749],se([1,0,50,8,285]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITreeViewsDnDService=void 0,e.ITreeViewsDnDService=(0,k.createDecorator)("treeViewsDndService"),(0,L.registerSingleton)(e.ITreeViewsDnDService,y.TreeViewsDnDService,1)}),define(ne[331],se([1,0,132]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortEditsByYieldTo=e.createCombinedWorkspaceEdit=void 0;function k(D,S,f){var _,g;return{edits:[...S.map(C=>new L.ResourceTextEdit(D,typeof f.insertText=="string"?{range:C,text:f.insertText,insertAsSnippet:!1}:{range:C,text:f.insertText.snippet,insertAsSnippet:!0})),...(g=(_=f.additionalEdit)===null||_===void 0?void 0:_.edits)!==null&&g!==void 0?g:[]]}}e.createCombinedWorkspaceEdit=k;function y(D){var S;function f(i,n){return"providerId"in i&&i.providerId===n.providerId||"mimeType"in i&&i.mimeType===n.handledMimeType}const _=new Map;for(const i of D)for(const n of(S=i.yieldTo)!==null&&S!==void 0?S:[])for(const t of D)if(t!==i&&f(n,t)){let a=_.get(i);a||(a=[],_.set(i,a)),a.push(t)}if(!_.size)return Array.from(D);const g=new Set,C=[];function s(i){if(!i.length)return[];const n=i[0];if(C.includes(n))return console.warn(`Yield to cycle detected for ${n.providerId}`),i;if(g.has(n))return s(i.slice(1));let t=[];const a=_.get(n);return a&&(C.push(n),t=s(a),C.pop()),g.add(n),[...t,n,...s(i.slice(1))]}return s(Array.from(D))}e.sortEditsByYieldTo=y}),define(ne[750],se([1,0,89,6,2,42,11,59,36,12,5,93,41,48,86,127,95,215,151,450]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GhostTextWidget=void 0;let c=class extends y.Disposable{constructor(m,v,b){super(),this.editor=m,this.model=v,this.languageService=b,this.isDisposed=(0,D.observableValue)("isDisposed",!1),this.currentTextModel=(0,D.observableFromEvent)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,D.derived)(w=>{if(this.isDisposed.read(w))return;const E=this.currentTextModel.read(w);if(E!==this.model.targetTextModel.read(w))return;const I=this.model.ghostText.read(w);if(!I)return;const M=I instanceof h.GhostTextReplacement?I.columnRange:void 0,P=[],x=[];function T(W,U){if(x.length>0){const j=x[x.length-1];U&&j.decorations.push(new a.LineDecoration(j.content.length+1,j.content.length+1+W[0].length,U,0)),j.content+=W[0],W=W.slice(1)}for(const j of W)x.push({content:j,decorations:U?[new a.LineDecoration(1,j.length+1,U,0)]:[]})}const A=E.getLineContent(I.lineNumber);let N,F=0;for(const W of I.parts){let U=W.lines;N===void 0?(P.push({column:W.column,text:U[0],preview:W.preview}),U=U.slice(1)):T([A.substring(F,W.column-1)],void 0),U.length>0&&(T(U,"ghost-text"),N===void 0&&W.column<=A.length&&(N=W.column)),F=W.column-1}N!==void 0&&T([A.substring(F)],void 0);const O=N!==void 0?new r.ColumnRange(N,A.length+1):void 0;return{replacedRange:M,inlineTexts:P,additionalLines:x,hiddenRange:O,lineNumber:I.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(w),targetTextModel:E}}),this.decorations=(0,D.derived)(w=>{const E=this.uiState.read(w);if(!E)return[];const I=[];E.replacedRange&&I.push({range:E.replacedRange.toRange(E.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),E.hiddenRange&&I.push({range:E.hiddenRange.toRange(E.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}});for(const M of E.inlineTexts)I.push({range:C.Range.fromPositions(new g.Position(E.lineNumber,M.column)),options:{description:"ghost-text",after:{content:M.text,inlineClassName:M.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:n.InjectedTextCursorStops.Left},showIfCollapsed:!0}});return I}),this.additionalLinesWidget=this._register(new o(this.editor,this.languageService.languageIdCodec,(0,D.derived)(w=>{const E=this.uiState.read(w);return E?{lineNumber:E.lineNumber,additionalLines:E.additionalLines,minReservedLineCount:E.additionalReservedLineCount,targetTextModel:E.targetTextModel}:void 0}))),this._register((0,y.toDisposable)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,r.applyObservableDecorations)(this.editor,this.decorations))}ownsViewZone(m){return this.additionalLinesWidget.viewZoneId===m}};e.GhostTextWidget=c,e.GhostTextWidget=c=ke([fe(2,i.ILanguageService)],c);class o extends y.Disposable{get viewZoneId(){return this._viewZoneId}constructor(m,v,b){super(),this.editor=m,this.languageIdCodec=v,this.lines=b,this._viewZoneId=void 0,this.editorOptionsChanged=(0,D.observableSignalFromEvent)("editorOptionChanged",k.Event.filter(this.editor.onDidChangeConfiguration,w=>w.hasChanged(32)||w.hasChanged(115)||w.hasChanged(97)||w.hasChanged(92)||w.hasChanged(50)||w.hasChanged(49)||w.hasChanged(65))),this._register((0,D.autorun)(w=>{const E=this.lines.read(w);this.editorOptionsChanged.read(w),E?this.updateLines(E.lineNumber,E.additionalLines,E.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(m=>{this._viewZoneId&&(m.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(m,v,b){const w=this.editor.getModel();if(!w)return;const{tabSize:E}=w.getOptions();this.editor.changeViewZones(I=>{this._viewZoneId&&(I.removeZone(this._viewZoneId),this._viewZoneId=void 0);const M=Math.max(v.length,b);if(M>0){const P=document.createElement("div");d(P,E,v,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=I.addZone({afterLineNumber:m,heightInLines:M,domNode:P,afterColumnAffinity:1})}})}}function d(p,m,v,b,w){const E=b.get(32),I=b.get(115),M="none",P=b.get(92),x=b.get(50),T=b.get(49),A=b.get(65),N=new s.StringBuilder(1e4);N.appendString('
    ');for(let W=0,U=v.length;W');const K=S.isBasicASCII(R),G=S.containsRTL(R),Z=t.LineTokens.createEmpty(R,w);(0,u.renderViewLine)(new u.RenderLineInput(T.isMonospace&&!E,T.canUseHalfwidthRightwardsArrow,R,!1,K,G,0,Z,j.decorations,m,0,T.spaceWidth,T.middotWidth,T.wsmiddotWidth,I,M,P,x!==_.EditorFontLigatures.OFF,null),N),N.appendString("
    ")}N.appendString(""),(0,f.applyFontInfo)(p,T);const F=N.build(),O=l?l.createHTML(F):F;p.innerHTML=O}const l=(0,L.createTrustedTypesPolicy)("editorGhostText",{createHTML:p=>p})}),define(ne[133],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IStandaloneThemeService=void 0,e.IStandaloneThemeService=(0,L.createDecorator)("themeService")}),define(ne[116],se([1,0,8,720]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AudioCue=e.SoundSource=e.Sound=e.IAudioCueService=void 0,e.IAudioCueService=(0,L.createDecorator)("audioCue");class y{static register(_){return new y(_.fileName)}constructor(_){this.fileName=_}}e.Sound=y,y.error=y.register({fileName:"error.mp3"}),y.warning=y.register({fileName:"warning.mp3"}),y.foldedArea=y.register({fileName:"foldedAreas.mp3"}),y.break=y.register({fileName:"break.mp3"}),y.quickFixes=y.register({fileName:"quickFixes.mp3"}),y.taskCompleted=y.register({fileName:"taskCompleted.mp3"}),y.taskFailed=y.register({fileName:"taskFailed.mp3"}),y.terminalBell=y.register({fileName:"terminalBell.mp3"}),y.diffLineInserted=y.register({fileName:"diffLineInserted.mp3"}),y.diffLineDeleted=y.register({fileName:"diffLineDeleted.mp3"}),y.diffLineModified=y.register({fileName:"diffLineModified.mp3"}),y.chatRequestSent=y.register({fileName:"chatRequestSent.mp3"}),y.chatResponsePending=y.register({fileName:"chatResponsePending.mp3"}),y.chatResponseReceived1=y.register({fileName:"chatResponseReceived1.mp3"}),y.chatResponseReceived2=y.register({fileName:"chatResponseReceived2.mp3"}),y.chatResponseReceived3=y.register({fileName:"chatResponseReceived3.mp3"}),y.chatResponseReceived4=y.register({fileName:"chatResponseReceived4.mp3"});class D{constructor(_){this.randomOneOf=_}}e.SoundSource=D;class S{static register(_){const g=new D("randomOneOf"in _.sound?_.sound.randomOneOf:[_.sound]),C=new S(g,_.name,_.settingsKey);return S._audioCues.add(C),C}constructor(_,g,C){this.sound=_,this.name=g,this.settingsKey=C}}e.AudioCue=S,S._audioCues=new Set,S.error=S.register({name:(0,k.localize)(0,null),sound:y.error,settingsKey:"audioCues.lineHasError"}),S.warning=S.register({name:(0,k.localize)(1,null),sound:y.warning,settingsKey:"audioCues.lineHasWarning"}),S.foldedArea=S.register({name:(0,k.localize)(2,null),sound:y.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),S.break=S.register({name:(0,k.localize)(3,null),sound:y.break,settingsKey:"audioCues.lineHasBreakpoint"}),S.inlineSuggestion=S.register({name:(0,k.localize)(4,null),sound:y.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),S.terminalQuickFix=S.register({name:(0,k.localize)(5,null),sound:y.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),S.onDebugBreak=S.register({name:(0,k.localize)(6,null),sound:y.break,settingsKey:"audioCues.onDebugBreak"}),S.noInlayHints=S.register({name:(0,k.localize)(7,null),sound:y.error,settingsKey:"audioCues.noInlayHints"}),S.taskCompleted=S.register({name:(0,k.localize)(8,null),sound:y.taskCompleted,settingsKey:"audioCues.taskCompleted"}),S.taskFailed=S.register({name:(0,k.localize)(9,null),sound:y.taskFailed,settingsKey:"audioCues.taskFailed"}),S.terminalCommandFailed=S.register({name:(0,k.localize)(10,null),sound:y.error,settingsKey:"audioCues.terminalCommandFailed"}),S.terminalBell=S.register({name:(0,k.localize)(11,null),sound:y.terminalBell,settingsKey:"audioCues.terminalBell"}),S.notebookCellCompleted=S.register({name:(0,k.localize)(12,null),sound:y.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),S.notebookCellFailed=S.register({name:(0,k.localize)(13,null),sound:y.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),S.diffLineInserted=S.register({name:(0,k.localize)(14,null),sound:y.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),S.diffLineDeleted=S.register({name:(0,k.localize)(15,null),sound:y.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),S.diffLineModified=S.register({name:(0,k.localize)(16,null),sound:y.diffLineModified,settingsKey:"audioCues.diffLineModified"}),S.chatRequestSent=S.register({name:(0,k.localize)(17,null),sound:y.chatRequestSent,settingsKey:"audioCues.chatRequestSent"}),S.chatResponseReceived=S.register({name:(0,k.localize)(18,null),settingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[y.chatResponseReceived1,y.chatResponseReceived2,y.chatResponseReceived3,y.chatResponseReceived4]}}),S.chatResponsePending=S.register({name:(0,k.localize)(19,null),sound:y.chatResponsePending,settingsKey:"audioCues.chatResponsePending"})}),define(ne[96],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IClipboardService=void 0,e.IClipboardService=(0,L.createDecorator)("clipboardService")}),define(ne[27],se([1,0,6,46,2,64,20,8]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsRegistry=e.ICommandService=void 0,e.ICommandService=(0,f.createDecorator)("commandService"),e.CommandsRegistry=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new L.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(_,g){if(!_)throw new Error("invalid command");if(typeof _=="string"){if(!g)throw new Error("invalid command");return this.registerCommand({id:_,handler:g})}if(_.description){const t=[];for(const u of _.description.args)t.push(u.constraint);const a=_.handler;_.handler=function(u,...h){return(0,S.validateConstraints)(h,t),a(u,...h)}}const{id:C}=_;let s=this._commands.get(C);s||(s=new D.LinkedList,this._commands.set(C,s));const i=s.unshift(_),n=(0,y.toDisposable)(()=>{i();const t=this._commands.get(C);t?.isEmpty()&&this._commands.delete(C)});return this._onDidRegisterCommand.fire(C),n}registerCommandAlias(_,g){return e.CommandsRegistry.registerCommand(_,(C,...s)=>C.get(e.ICommandService).executeCommand(g,...s))}getCommand(_){const g=this._commands.get(_);if(!(!g||g.isEmpty()))return k.Iterable.first(g)}getCommands(){const _=new Map;for(const g of this._commands.keys()){const C=this.getCommand(g);C&&_.set(g,C)}return _}},e.CommandsRegistry.registerCommand("noop",()=>{})}),define(ne[332],se([1,0,19,9,2,20,22,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeLensModel=e.CodeLensModel=void 0;class C{constructor(){this.lenses=[],this._disposables=new y.DisposableStore}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(n,t){this._disposables.add(n);for(const a of n.lenses)this.lenses.push({symbol:a,provider:t})}}e.CodeLensModel=C;function s(i,n,t){return we(this,void 0,void 0,function*(){const a=i.ordered(n),u=new Map,h=new C,r=a.map((c,o)=>we(this,void 0,void 0,function*(){u.set(c,o);try{const d=yield Promise.resolve(c.provideCodeLenses(n,t));d&&h.add(d,c)}catch(d){(0,k.onUnexpectedExternalError)(d)}}));return yield Promise.all(r),h.lenses=h.lenses.sort((c,o)=>c.symbol.range.startLineNumbero.symbol.range.startLineNumber?1:u.get(c.provider)u.get(o.provider)?1:c.symbol.range.startColumno.symbol.range.startColumn?1:0),h})}e.getCodeLensModel=s,_.CommandsRegistry.registerCommand("_executeCodeLensProvider",function(i,...n){let[t,a]=n;(0,D.assertType)(S.URI.isUri(t)),(0,D.assertType)(typeof a=="number"||!a);const{codeLensProvider:u}=i.get(g.ILanguageFeaturesService),h=i.get(f.IModelService).getModel(t);if(!h)throw(0,k.illegalArgument)();const r=[],c=new y.DisposableStore;return s(u,h,L.CancellationToken.None).then(o=>{c.add(o);const d=[];for(const l of o.lenses)a==null||l.symbol.command?r.push(l.symbol):a-- >0&&l.provider.resolveCodeLens&&d.push(Promise.resolve(l.provider.resolveCodeLens(h,l.symbol,L.CancellationToken.None)).then(p=>r.push(p||l.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>c.dispose(),100)})})}),define(ne[751],se([1,0,14,19,9,2,20,22,5,51,27,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLinks=e.LinksList=e.Link=void 0;class i{constructor(u,h){this._link=u,this._provider=h}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(u){return we(this,void 0,void 0,function*(){return this._link.url?this._link.url:typeof this._provider.resolveLink=="function"?Promise.resolve(this._provider.resolveLink(this._link,u)).then(h=>(this._link=h||this._link,this._link.url?this.resolve(u):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}e.Link=i;class n{constructor(u){this._disposables=new D.DisposableStore;let h=[];for(const[r,c]of u){const o=r.links.map(d=>new i(d,c));h=n._union(h,o),(0,D.isDisposable)(r)&&this._disposables.add(r)}this.links=h}dispose(){this._disposables.dispose(),this.links.length=0}static _union(u,h){const r=[];let c,o,d,l;for(c=0,d=0,o=u.length,l=h.length;cPromise.resolve(o.provideLinks(u,h)).then(l=>{l&&(r[d]=[l,o])},y.onUnexpectedExternalError));return Promise.all(c).then(()=>{const o=new n((0,L.coalesce)(r));return h.isCancellationRequested?(o.dispose(),new n([])):o})}e.getLinks=t,C.CommandsRegistry.registerCommand("_executeLinkProvider",(a,...u)=>we(void 0,void 0,void 0,function*(){let[h,r]=u;(0,S.assertType)(h instanceof f.URI),typeof r!="number"&&(r=0);const{linkProvider:c}=a.get(s.ILanguageFeaturesService),o=a.get(g.IModelService).getModel(h);if(!o)return[];const d=yield t(c,o,k.CancellationToken.None);if(!d)return[];for(let p=0;p0?m[0]:[]}function u(l,p,m,v,b){return we(this,void 0,void 0,function*(){const w=a(l,p),E=yield Promise.all(w.map(I=>we(this,void 0,void 0,function*(){let M,P=null;try{M=yield I.provideDocumentSemanticTokens(p,I===m?v:null,b)}catch(x){P=x,M=null}return(!M||!s(M)&&!i(M))&&(M=null),new n(I,M,P)})));for(const I of E){if(I.error)throw I.error;if(I.tokens)return I}return E.length>0?E[0]:null})}e.getDocumentSemanticTokens=u;function h(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:null}class r{constructor(p,m){this.provider=p,this.tokens=m}}function c(l,p){return l.has(p)}e.hasDocumentRangeSemanticTokensProvider=c;function o(l,p){const m=l.orderedGroups(p);return m.length>0?m[0]:[]}function d(l,p,m,v){return we(this,void 0,void 0,function*(){const b=o(l,p),w=yield Promise.all(b.map(E=>we(this,void 0,void 0,function*(){let I;try{I=yield E.provideDocumentRangeSemanticTokens(p,m,v)}catch(M){(0,k.onUnexpectedExternalError)(M),I=null}return(!I||!s(I))&&(I=null),new r(E,I)})));for(const E of w)if(E.tokens)return E;return w.length>0?w[0]:null})}e.getDocumentRangeSemanticTokens=d,S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService),w=h(b,v);return w?w[0].getLegend():l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokensLegend",m)})),S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m]=p;(0,f.assertType)(m instanceof y.URI);const v=l.get(D.IModelService).getModel(m);if(!v)return;const{documentSemanticTokensProvider:b}=l.get(C.ILanguageFeaturesService);if(!t(b,v))return l.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokens",m,v.getFullModelRange());const w=yield u(b,v,null,null,L.CancellationToken.None);if(!w)return;const{provider:E,tokens:I}=w;if(!I||!s(I))return;const M=(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:I.data});return I.resultId&&E.releaseDocumentSemanticTokens(I.resultId),M})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI);const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=o(w,b);if(E.length===0)return;if(E.length===1)return E[0].getLegend();if(!v||!g.Range.isIRange(v))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),E[0].getLegend();const I=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(I)return I.provider.getLegend()})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokens",(l,...p)=>we(void 0,void 0,void 0,function*(){const[m,v]=p;(0,f.assertType)(m instanceof y.URI),(0,f.assertType)(g.Range.isIRange(v));const b=l.get(D.IModelService).getModel(m);if(!b)return;const{documentRangeSemanticTokensProvider:w}=l.get(C.ILanguageFeaturesService),E=yield d(w,b,g.Range.lift(v),L.CancellationToken.None);if(!(!E||!E.tokens))return(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:E.tokens.data})}))}),define(ne[28],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageTagSettingPlainKey=e.getConfigurationValue=e.removeFromValueTree=e.addToValueTree=e.toValuesTree=e.IConfigurationService=void 0,e.IConfigurationService=(0,L.createDecorator)("configurationService");function k(g,C){const s=Object.create(null);for(const i in g)y(s,i,g[i],C);return s}e.toValuesTree=k;function y(g,C,s,i){const n=C.split("."),t=n.pop();let a=g;for(let u=0;u"u"?s:t}e.getConfigurationValue=f;function _(g){return g.replace(/[\[\]]/g,"")}e.getLanguageTagSettingPlainKey=_}),define(ne[334],se([1,0,29,154,302,28]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.MonarchTokenizer=void 0;const f=5;class _{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(r!==null&&r.depth>=this._maxCacheDepth)return new g(r,c);let o=g.getStackElementId(r);o.length>0&&(o+="|"),o+=c;let d=this._entries[o];return d||(d=new g(r,c),this._entries[o]=d,d)}}_._INSTANCE=new _(f);class g{constructor(r,c){this.parent=r,this.state=c,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(r){let c="";for(;r!==null;)c.length>0&&(c+="|"),c+=r.state,r=r.parent;return c}static _equals(r,c){for(;r!==null&&c!==null;){if(r===c)return!0;if(r.state!==c.state)return!1;r=r.parent,c=c.parent}return r===null&&c===null}equals(r){return g._equals(this,r)}push(r){return _.create(this,r)}pop(){return this.parent}popall(){let r=this;for(;r.parent;)r=r.parent;return r}switchTo(r){return _.create(this.parent,r)}}class C{constructor(r,c){this.languageId=r,this.state=c}equals(r){return this.languageId===r.languageId&&this.state.equals(r.state)}clone(){return this.state.clone()===this.state?this:new C(this.languageId,this.state)}}class s{static create(r,c){return this._INSTANCE.create(r,c)}constructor(r){this._maxCacheDepth=r,this._entries=Object.create(null)}create(r,c){if(c!==null)return new i(r,c);if(r!==null&&r.depth>=this._maxCacheDepth)return new i(r,c);const o=g.getStackElementId(r);let d=this._entries[o];return d||(d=new i(r,null),this._entries[o]=d,d)}}s._INSTANCE=new s(f);class i{constructor(r,c){this.stack=r,this.embeddedLanguageData=c}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:s.create(this.stack,this.embeddedLanguageData)}equals(r){return!(r instanceof i)||!this.stack.equals(r.stack)?!1:this.embeddedLanguageData===null&&r.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||r.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(r.embeddedLanguageData)}}class n{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(r){this._languageId=r}emit(r,c){this._lastTokenType===c&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=c,this._lastTokenLanguage=this._languageId,this._tokens.push(new L.Token(r,c,this._languageId)))}nestedLanguageTokenize(r,c,o,d){const l=o.languageId,p=o.state,m=L.TokenizationRegistry.get(l);if(!m)return this.enterLanguage(l),this.emit(d,""),p;const v=m.tokenize(r,c,p);if(d!==0)for(const b of v.tokens)this._tokens.push(new L.Token(b.offset+d,b.type,b.language));else this._tokens=this._tokens.concat(v.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,v.endState}finalize(r){return new L.TokenizationResult(this._tokens,r)}}class t{constructor(r,c){this._languageService=r,this._theme=c,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(r){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(r)}emit(r,c){const o=this._theme.match(this._currentLanguageId,c)|1024;this._lastTokenMetadata!==o&&(this._lastTokenMetadata=o,this._tokens.push(r),this._tokens.push(o))}static _merge(r,c,o){const d=r!==null?r.length:0,l=c.length,p=o!==null?o.length:0;if(d===0&&l===0&&p===0)return new Uint32Array(0);if(d===0&&l===0)return o;if(l===0&&p===0)return r;const m=new Uint32Array(d+l+p);r!==null&&m.set(r);for(let v=0;v{if(p)return;let v=!1;for(let b=0,w=m.changedLanguages.length;b{m.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const r=[];for(const c in this._embeddedLanguages){const o=L.TokenizationRegistry.get(c);if(o){if(o instanceof S){const d=o.getLoadStatus();d.loaded===!1&&r.push(d.promise)}continue}L.TokenizationRegistry.isResolved(c)||r.push(L.TokenizationRegistry.getOrCreate(c))}return r.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(r).then(c=>{})}}getInitialState(){const r=_.create(null,this._lexer.start);return s.create(r,null)}tokenize(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenize)(this._languageId,o);const d=new n,l=this._tokenize(r,c,o,d);return d.finalize(l)}tokenizeEncoded(r,c,o){if(r.length>=this._maxTokenizationLineLength)return(0,k.nullTokenizeEncoded)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),o);const d=new t(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),l=this._tokenize(r,c,o,d);return d.finalize(l)}_tokenize(r,c,o,d){return o.embeddedLanguageData?this._nestedTokenize(r,c,o,0,d):this._myTokenize(r,c,o,0,d)}_findLeavingNestedLanguageOffset(r,c){let o=this._lexer.tokenizer[c.stack.state];if(!o&&(o=y.findRules(this._lexer,c.stack.state),!o))throw y.createError(this._lexer,"tokenizer state is not defined: "+c.stack.state);let d=-1,l=!1;for(const p of o){if(!y.isIAction(p.action)||p.action.nextEmbedded!=="@pop")continue;l=!0;let m=p.regex;const v=p.regex.source;if(v.substr(0,4)==="^(?:"&&v.substr(v.length-1,1)===")"){const w=(m.ignoreCase?"i":"")+(m.unicode?"u":"");m=new RegExp(v.substr(4,v.length-5),w)}const b=r.search(m);b===-1||b!==0&&p.matchOnlyAtLineStart||(d===-1||b0&&l.nestedLanguageTokenize(m,!1,o.embeddedLanguageData,d);const v=r.substring(p);return this._myTokenize(v,c,o,d+p,l)}_safeRuleName(r){return r?r.name:"(unknown)"}_myTokenize(r,c,o,d,l){l.enterLanguage(this._languageId);const p=r.length,m=c&&this._lexer.includeLF?r+` -`:r,v=m.length;let b=o.embeddedLanguageData,w=o.stack,E=0,I=null,M=!0;for(;M||E=v)break;M=!1;let K=this._lexer.tokenizer[A];if(!K&&(K=y.findRules(this._lexer,A),!K))throw y.createError(this._lexer,"tokenizer state is not defined: "+A);const G=m.substr(E);for(const Z of K)if((E===0||!Z.matchOnlyAtLineStart)&&(N=G.match(Z.regex),N)){F=N[0],O=Z.action;break}}if(N||(N=[""],F=""),O||(E=this._lexer.maxStack)throw y.createError(this._lexer,"maximum tokenizer stack size reached: ["+w.state+","+w.parent.state+",...]");w=w.push(A)}else if(O.next==="@pop"){if(w.depth<=1)throw y.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(W));w=w.pop()}else if(O.next==="@popall")w=w.popall();else{let K=y.substituteMatches(this._lexer,O.next,F,N,A);if(K[0]==="@"&&(K=K.substr(1)),y.findRules(this._lexer,K))w=w.push(K);else throw y.createError(this._lexer,"trying to set a next state '"+K+"' that is undefined in rule: "+this._safeRuleName(W))}}O.log&&typeof O.log=="string"&&y.log(this._lexer,this._lexer.languageId+": "+y.substituteMatches(this._lexer,O.log,F,N,A))}if(j===null)throw y.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(W));const R=K=>{const G=this._languageService.getLanguageIdByLanguageName(K)||this._languageService.getLanguageIdByMimeType(K)||K,Z=this._getNestedEmbeddedLanguageData(G);if(E0)throw y.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(W));if(N.length!==j.length+1)throw y.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(W));let K=0;for(let G=1;Gt});class C{static colorizeElement(a,u,h,r){r=r||{};const c=r.theme||"vs",o=r.mimeType||h.getAttribute("lang")||h.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();const d=u.getLanguageIdByMimeType(o)||o;a.setTheme(c);const l=h.firstChild?h.firstChild.nodeValue:"";h.className+=" "+c;const p=m=>{var v;const b=(v=g?.createHTML(m))!==null&&v!==void 0?v:m;h.innerHTML=b};return this.colorize(u,l||"",d,r).then(p,m=>console.error(m))}static colorize(a,u,h,r){return we(this,void 0,void 0,function*(){const c=a.languageIdCodec;let o=4;r&&typeof r.tabSize=="number"&&(o=r.tabSize),k.startsWithUTF8BOM(u)&&(u=u.substr(1));const d=k.splitLines(u);if(!a.isRegisteredLanguageId(h))return i(d,o,c);const l=yield y.TokenizationRegistry.getOrCreate(h);return l?s(d,o,l,c):i(d,o,c)})}static colorizeLine(a,u,h,r,c=4){const o=f.ViewLineRenderingData.isBasicASCII(a,u),d=f.ViewLineRenderingData.containsRTL(a,o,h);return(0,S.renderViewLine2)(new S.RenderLineInput(!1,!0,a,!1,o,d,0,r,[],c,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(a,u,h=4){const r=a.getLineContent(u);a.tokenization.forceTokenization(u);const o=a.tokenization.getLineTokens(u).inflate();return this.colorizeLine(r,a.mightContainNonBasicASCII(),a.mightContainRTL(),o,h)}}e.Colorizer=C;function s(t,a,u,h){return new Promise((r,c)=>{const o=()=>{const d=n(t,a,u,h);if(u instanceof _.MonarchTokenizer){const l=u.getLoadStatus();if(l.loaded===!1){l.promise.then(o,c);return}}r(d)};o()})}function i(t,a,u){let h=[];const c=new Uint32Array(2);c[0]=0,c[1]=33587200;for(let o=0,d=t.length;o")}return h.join("")}function n(t,a,u,h){let r=[],c=u.getInitialState();for(let o=0,d=t.length;o"),c=p.endState}return r.join("")}}),define(ne[15],se([1,0,17,11,742,8,723]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.implies=e.IContextKeyService=e.RawContextKey=e.ContextKeyOrExpr=e.ContextKeyAndExpr=e.ContextKeyNotRegexExpr=e.ContextKeyRegexExpr=e.ContextKeySmallerEqualsExpr=e.ContextKeySmallerExpr=e.ContextKeyGreaterEqualsExpr=e.ContextKeyGreaterExpr=e.ContextKeyNotExpr=e.ContextKeyNotEqualsExpr=e.ContextKeyNotInExpr=e.ContextKeyInExpr=e.ContextKeyEqualsExpr=e.ContextKeyDefinedExpr=e.ContextKeyTrueExpr=e.ContextKeyFalseExpr=e.expressionsAreEqualWithConstantSubstitution=e.ContextKeyExpr=e.Parser=void 0;const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",L.isMacintosh),f.set("isLinux",L.isLinux),f.set("isWindows",L.isWindows),f.set("isWeb",L.isWeb),f.set("isMacNative",L.isMacintosh&&!L.isWeb),f.set("isEdge",L.isEdge),f.set("isFirefox",L.isFirefox),f.set("isChrome",L.isChrome),f.set("isSafari",L.isSafari);const _=Object.prototype.hasOwnProperty,g={regexParsingWithErrorRecovery:!0},C=(0,S.localize)(0,null),s=(0,S.localize)(1,null),i=(0,S.localize)(2,null),n=(0,S.localize)(3,null),t=(0,S.localize)(4,null),a=(0,S.localize)(5,null),u=(0,S.localize)(6,null),h=(0,S.localize)(7,null);class r{constructor(H=g){this._config=H,this._scanner=new y.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(H){if(H===""){this._parsingErrors.push({message:C,offset:0,lexeme:"",additionalInfo:s});return}this._tokens=this._scanner.reset(H).scan(),this._current=0,this._parsingErrors=[];try{const B=this._expr();if(!this._isAtEnd()){const V=this._peek(),Y=V.type===17?a:void 0;throw this._parsingErrors.push({message:t,offset:V.offset,lexeme:y.Scanner.getLexeme(V),additionalInfo:Y}),r._parseError}return B}catch(B){if(B!==r._parseError)throw B;return}}_expr(){return this._or()}_or(){const H=[this._and()];for(;this._matchOne(16);){const B=this._and();H.push(B)}return H.length===1?H[0]:c.or(...H)}_and(){const H=[this._term()];for(;this._matchOne(15);){const B=this._term();H.push(B)}return H.length===1?H[0]:c.and(...H)}_term(){if(this._matchOne(2)){const H=this._peek();switch(H.type){case 11:return this._advance(),l.INSTANCE;case 12:return this._advance(),p.INSTANCE;case 0:{this._advance();const B=this._expr();return this._consume(1,n),B?.negate()}case 17:return this._advance(),I.create(H.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",H)}}return this._primary()}_primary(){const H=this._peek();switch(H.type){case 11:return this._advance(),c.true();case 12:return this._advance(),c.false();case 0:{this._advance();const B=this._expr();return this._consume(1,n),B}case 17:{const B=H.lexeme;if(this._advance(),this._matchOne(9)){const Y=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),Y.type!==10)throw this._errExpectedButGot("REGEX",Y);const ie=Y.lexeme,ae=ie.lastIndexOf("/"),ce=ae===ie.length-1?void 0:this._removeFlagsGY(ie.substring(ae+1));let de;try{de=new RegExp(ie.substring(1,ae),ce)}catch{throw this._errExpectedButGot("REGEX",Y)}return N.create(B,de)}switch(Y.type){case 10:case 19:{const ie=[Y.lexeme];this._advance();let ae=this._peek(),ce=0;for(let q=0;q=0){const he=ie.slice(ce+1,de),ue=ie[de+1]==="i"?"i":"";try{ae=new RegExp(he,ue)}catch{throw this._errExpectedButGot("REGEX",Y)}}}if(ae===null)throw this._errExpectedButGot("REGEX",Y);return N.create(B,ae)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,i);const Y=this._value();return c.notIn(B,Y)}switch(this._peek().type){case 3:{this._advance();const Y=this._value();if(this._previous().type===18)return c.equals(B,Y);switch(Y){case"true":return c.has(B);case"false":return c.not(B);default:return c.equals(B,Y)}}case 4:{this._advance();const Y=this._value();if(this._previous().type===18)return c.notEquals(B,Y);switch(Y){case"true":return c.not(B);case"false":return c.has(B);default:return c.notEquals(B,Y)}}case 5:return this._advance(),T.create(B,this._value());case 6:return this._advance(),A.create(B,this._value());case 7:return this._advance(),P.create(B,this._value());case 8:return this._advance(),x.create(B,this._value());case 13:return this._advance(),c.in(B,this._value());default:return c.has(B)}}case 20:throw this._parsingErrors.push({message:u,offset:H.offset,lexeme:"",additionalInfo:h}),r._parseError;default:throw this._errExpectedButGot(`true | false | KEY - | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const H=this._peek();switch(H.type){case 17:case 18:return this._advance(),H.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(H){return H.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(H){return this._check(H)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(H,B){if(this._check(H))return this._advance();throw this._errExpectedButGot(B,this._peek())}_errExpectedButGot(H,B,V){const Y=(0,S.localize)(8,null,H,y.Scanner.getLexeme(B)),ie=B.offset,ae=y.Scanner.getLexeme(B);return this._parsingErrors.push({message:Y,offset:ie,lexeme:ae,additionalInfo:V}),r._parseError}_check(H){return this._peek().type===H}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}}e.Parser=r,r._parseError=new Error;class c{static false(){return l.INSTANCE}static true(){return p.INSTANCE}static has(H){return m.create(H)}static equals(H,B){return v.create(H,B)}static notEquals(H,B){return E.create(H,B)}static regex(H,B){return N.create(H,B)}static in(H,B){return b.create(H,B)}static notIn(H,B){return w.create(H,B)}static not(H){return I.create(H)}static and(...H){return W.create(H,null,!0)}static or(...H){return U.create(H,null,!0)}static deserialize(H){return H==null?void 0:this._parser.parse(H)}}e.ContextKeyExpr=c,c._parser=new r({regexParsingWithErrorRecovery:!1});function o(X,H){const B=X?X.substituteConstants():void 0,V=H?H.substituteConstants():void 0;return!B&&!V?!0:!B||!V?!1:B.equals(V)}e.expressionsAreEqualWithConstantSubstitution=o;function d(X,H){return X.cmp(H)}class l{constructor(){this.type=0}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}e.ContextKeyFalseExpr=l,l.INSTANCE=new l;class p{constructor(){this.type=1}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}substituteConstants(){return this}evaluate(H){return!0}serialize(){return"true"}keys(){return[]}negate(){return l.INSTANCE}}e.ContextKeyTrueExpr=p,p.INSTANCE=new p;class m{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?p.INSTANCE:l.INSTANCE:new m(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=2}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?p.INSTANCE:l.INSTANCE:this}evaluate(H){return!!H.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this)),this.negated}}e.ContextKeyDefinedExpr=m;class v{static create(H,B,V=null){if(typeof B=="boolean")return B?m.create(H,V):I.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?p.INSTANCE:l.INSTANCE:new v(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=4}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?p.INSTANCE:l.INSTANCE}return this}evaluate(H){return H.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this.value,this)),this.negated}}e.ContextKeyEqualsExpr=v;class b{static create(H,B){return new b(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=10,this.negated=null}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.valueKey,H.key,H.valueKey)}equals(H){return H.type===this.type?this.key===H.key&&this.valueKey===H.valueKey:!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.valueKey),V=H.getValue(this.key);return Array.isArray(B)?B.includes(V):typeof V=="string"&&typeof B=="object"&&B!==null?_.call(B,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=w.create(this.key,this.valueKey)),this.negated}}e.ContextKeyInExpr=b;class w{static create(H,B){return new w(H,B)}constructor(H,B){this.key=H,this.valueKey=B,this.type=11,this._negated=b.create(H,B)}cmp(H){return H.type!==this.type?this.type-H.type:this._negated.cmp(H._negated)}equals(H){return H.type===this.type?this._negated.equals(H._negated):!1}substituteConstants(){return this}evaluate(H){return!this._negated.evaluate(H)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}e.ContextKeyNotInExpr=w;class E{static create(H,B,V=null){if(typeof B=="boolean")return B?I.create(H,V):m.create(H,V);const Y=f.get(H);return typeof Y=="boolean"?B===(Y?"true":"false")?l.INSTANCE:p.INSTANCE:new E(H,B,V)}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=5}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){const H=f.get(this.key);if(typeof H=="boolean"){const B=H?"true":"false";return this.value===B?l.INSTANCE:p.INSTANCE}return this}evaluate(H){return H.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}e.ContextKeyNotEqualsExpr=E;class I{static create(H,B=null){const V=f.get(H);return typeof V=="boolean"?V?l.INSTANCE:p.INSTANCE:new I(H,B)}constructor(H,B){this.key=H,this.negated=B,this.type=3}cmp(H){return H.type!==this.type?this.type-H.type:R(this.key,H.key)}equals(H){return H.type===this.type?this.key===H.key:!1}substituteConstants(){const H=f.get(this.key);return typeof H=="boolean"?H?l.INSTANCE:p.INSTANCE:this}evaluate(H){return!H.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this)),this.negated}}e.ContextKeyNotExpr=I;function M(X,H){if(typeof X=="string"){const B=parseFloat(X);isNaN(B)||(X=B)}return typeof X=="string"||typeof X=="number"?H(X):l.INSTANCE}class P{static create(H,B,V=null){return M(B,Y=>new P(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=12}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterExpr=P;class x{static create(H,B,V=null){return M(B,Y=>new x(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=13}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterEqualsExpr=x;class T{static create(H,B,V=null){return M(B,Y=>new T(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=14}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))new A(H,Y,V))}constructor(H,B,V){this.key=H,this.value=B,this.negated=V,this.type=15}cmp(H){return H.type!==this.type?this.type-H.type:K(this.key,this.value,H.key,H.value)}equals(H){return H.type===this.type?this.key===H.key&&this.value===H.value:!1}substituteConstants(){return this}evaluate(H){return typeof this.value=="string"?!1:parseFloat(H.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}e.ContextKeySmallerEqualsExpr=A;class N{static create(H,B){return new N(H,B)}constructor(H,B){this.key=H,this.regexp=B,this.type=7,this.negated=null}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.keyH.key)return 1;const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return BV?1:0}equals(H){if(H.type===this.type){const B=this.regexp?this.regexp.source:"",V=H.regexp?H.regexp.source:"";return this.key===H.key&&B===V}return!1}substituteConstants(){return this}evaluate(H){const B=H.getValue(this.key);return this.regexp?this.regexp.test(B):!1}serialize(){const H=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${H}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F.create(this)),this.negated}}e.ContextKeyRegexExpr=N;class F{static create(H){return new F(H)}constructor(H){this._actual=H,this.type=8}cmp(H){return H.type!==this.type?this.type-H.type:this._actual.cmp(H._actual)}equals(H){return H.type===this.type?this._actual.equals(H._actual):!1}substituteConstants(){return this}evaluate(H){return!this._actual.evaluate(H)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}e.ContextKeyNotRegexExpr=F;function O(X){let H=null;for(let B=0,V=X.length;BH.expr.length)return 1;for(let B=0,V=this.expr.length;B1;){const ae=Y[Y.length-1];if(ae.type!==9)break;Y.pop();const ce=Y.pop(),de=Y.length===0,he=U.create(ae.expr.map(ue=>W.create([ue,ce],null,V)),null,de);he&&(Y.push(he),Y.sort(d))}if(Y.length===1)return Y[0];if(V){for(let ae=0;aeH.serialize()).join(" && ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyAndExpr=W;class U{static create(H,B,V){return U._normalizeArr(H,B,V)}constructor(H,B){this.expr=H,this.negated=B,this.type=9}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.expr.lengthH.expr.length)return 1;for(let B=0,V=this.expr.length;BH.serialize()).join(" || ")}keys(){const H=[];for(const B of this.expr)H.push(...B.keys());return H}negate(){if(!this.negated){const H=[];for(const B of this.expr)H.push(B.negate());for(;H.length>1;){const B=H.shift(),V=H.shift(),Y=[];for(const ie of J(B))for(const ae of J(V))Y.push(W.create([ie,ae],null,!1));H.unshift(U.create(Y,null,!1))}this.negated=U.create(H,this,!0)}return this.negated}}e.ContextKeyOrExpr=U;class j extends m{static all(){return j._info.values()}constructor(H,B,V){super(H,null),this._defaultValue=B,typeof V=="object"?j._info.push(Object.assign(Object.assign({},V),{key:H})):V!==!0&&j._info.push({key:H,description:V,type:B!=null?typeof B:void 0})}bindTo(H){return H.createKey(this.key,this._defaultValue)}getValue(H){return H.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(H){return v.create(this.key,H)}}e.RawContextKey=j,j._info=[],e.IContextKeyService=(0,D.createDecorator)("contextKeyService");function R(X,H){return XH?1:0}function K(X,H,B,V){return XB?1:HV?1:0}function G(X,H){if(X.type===0||H.type===1)return!0;if(X.type===9)return H.type===9?Z(X.expr,H.expr):!1;if(H.type===9){for(const B of H.expr)if(G(X,B))return!0;return!1}if(X.type===6){if(H.type===6)return Z(H.expr,X.expr);for(const B of X.expr)if(G(B,H))return!0;return!1}return X.equals(H)}e.implies=G;function Z(X,H){let B=0,V=0;for(;B{const n=this.model.read(i),t=n?.state.read(i),a=!!t?.inlineCompletion&&t?.ghostText!==void 0&&!t?.ghostText.isEmpty();this.inlineCompletionVisible.set(a),t?.ghostText&&t?.inlineCompletion&&this.suppressSuggestions.set(t.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,L.autorun)(i=>{const n=this.model.read(i);let t=!1,a=!0;const u=n?.ghostText.read(i);if(n?.selectedSuggestItem&&u&&u.parts.length>0){const{column:h,lines:r}=u.parts[0],c=r[0],o=n.textModel.getLineIndentColumn(u.lineNumber);if(h<=o){let l=(0,k.firstNonWhitespaceIndex)(c);l===-1&&(l=c.length-1),t=l>0;const p=n.textModel.getOptions().tabSize;a=y.CursorColumns.visibleColumnFromColumn(c,l+1,p)we(void 0,void 0,void 0,function*(){const[a,u,h]=t;(0,y.assertType)(D.URI.isUri(a)),(0,y.assertType)(S.Position.isIPosition(u)),(0,y.assertType)(typeof h=="string"||!h);const r=n.get(_.ILanguageFeaturesService),c=yield n.get(g.ITextModelService).createModelReference(a);try{const o=yield i(r.signatureHelpProvider,c.object.textEditorModel,S.Position.lift(u),{triggerKind:f.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:h},L.CancellationToken.None);return o?(setTimeout(()=>o.dispose(),0),o.value):void 0}finally{c.dispose()}}))}),define(ne[753],se([1,0,13,9,6,2,121,29,236]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsModel=void 0;var g;(function(i){i.Default={type:0};class n{constructor(u,h){this.request=u,this.previouslyActiveHints=h,this.type=2}}i.Pending=n;class t{constructor(u){this.hints=u,this.type=1}}i.Active=t})(g||(g={}));class C extends D.Disposable{constructor(n,t,a=C.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new y.Emitter),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=g.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new D.MutableDisposable),this.triggerChars=new S.CharacterSet,this.retriggerChars=new S.CharacterSet,this.triggerId=0,this.editor=n,this.providers=t,this.throttledDelayer=new L.Delayer(a),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(u=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(u=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(u=>this.onCursorChange(u))),this._register(this.editor.onDidChangeModelContent(u=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(u=>this.onDidType(u))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(n){this._state.type===2&&this._state.request.cancel(),this._state=n}cancel(n=!1){this.state=g.Default,this.throttledDelayer.cancel(),n||this._onChangedHints.fire(void 0)}trigger(n,t){const a=this.editor.getModel();if(!a||!this.providers.has(a))return;const u=++this.triggerId;this._pendingTriggers.push(n),this.throttledDelayer.trigger(()=>this.doTrigger(u),t).catch(k.onUnexpectedError)}next(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t%n===n-1,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?0:t+1)}previous(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,a=t===0,u=this.editor.getOption(84).cycle;if((n<2||a)&&!u){this.cancel();return}this.updateActiveSignature(a&&u?n-1:t-1)}updateActiveSignature(n){this.state.type===1&&(this.state=new g.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:n})),this._onChangedHints.fire(this.state.hints))}doTrigger(n){return we(this,void 0,void 0,function*(){const t=this.state.type===1||this.state.type===2,a=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const u=this._pendingTriggers.reduce(s);this._pendingTriggers=[];const h={triggerKind:u.triggerKind,triggerCharacter:u.triggerCharacter,isRetrigger:t,activeSignatureHelp:a};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),c=this.editor.getPosition();this.state=new g.Pending((0,L.createCancelablePromise)(o=>(0,_.provideSignatureHelp)(this.providers,r,c,h,o)),a);try{const o=yield this.state.request;return n!==this.triggerId?(o?.dispose(),!1):!o||!o.value.signatures||o.value.signatures.length===0?(o?.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new g.Active(o.value),this._lastSignatureHelpResult.value=o,this._onChangedHints.fire(this.state.hints),!0)}catch(o){return n===this.triggerId&&(this.state=g.Default),(0,k.onUnexpectedError)(o),!1}})}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();const n=this.editor.getModel();if(n)for(const t of this.providers.ordered(n)){for(const a of t.signatureHelpTriggerCharacters||[])if(a.length){const u=a.charCodeAt(0);this.triggerChars.add(u),this.retriggerChars.add(u)}for(const a of t.signatureHelpRetriggerCharacters||[])a.length&&this.retriggerChars.add(a.charCodeAt(0))}}onDidType(n){if(!this.triggerOnType)return;const t=n.length-1,a=n.charCodeAt(t);(this.triggerChars.has(a)||this.isTriggered&&this.retriggerChars.has(a))&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:n.charAt(t)})}onCursorChange(n){n.source==="mouse"?this.cancel():this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:f.SignatureHelpTriggerKind.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(84).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}e.ParameterHintsModel=C,C.DEFAULT_DELAY=120;function s(i,n){switch(n.triggerKind){case f.SignatureHelpTriggerKind.Invoke:return n;case f.SignatureHelpTriggerKind.ContentChange:return i;case f.SignatureHelpTriggerKind.TriggerCharacter:default:return n}}}),define(ne[754],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestAlternatives=void 0;let y=k=class{constructor(S,f){this._editor=S,this._index=0,this._ckOtherSuggestions=k.OtherSuggestions.bindTo(f)}dispose(){this.reset()}reset(){var S;this._ckOtherSuggestions.reset(),(S=this._listener)===null||S===void 0||S.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:S,index:f},_){if(S.items.length===0){this.reset();return}if(k._moveIndex(!0,S,f)===f){this.reset();return}this._acceptNext=_,this._model=S,this._index=f,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(S,f,_){let g=_;for(let C=f.items.length;C>0&&(g=(g+f.items.length+(S?1:-1))%f.items.length,!(g===_||!f.items[g].completion.additionalTextEdits));C--);return g}next(){this._move(!0)}prev(){this._move(!1)}_move(S){if(this._model)try{this._ignore=!0,this._index=k._moveIndex(S,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};e.SuggestAlternatives=y,y.OtherSuggestions=new L.RawContextKey("hasOtherSuggestions",!1),e.SuggestAlternatives=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[755],se([1,0,15]),function(Q,e,L){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.WordContextKey=void 0;let y=k=class{constructor(S,f){this._editor=S,this._enabled=!1,this._ckAtEnd=k.AtEnd.bindTo(f),this._configListener=this._editor.onDidChangeConfiguration(_=>_.hasChanged(121)&&this._update()),this._update()}dispose(){var S;this._configListener.dispose(),(S=this._selectionListener)===null||S===void 0||S.dispose(),this._ckAtEnd.reset()}_update(){const S=this._editor.getOption(121)==="on";if(this._enabled!==S)if(this._enabled=S,this._enabled){const f=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const _=this._editor.getModel(),g=this._editor.getSelection(),C=_.getWordAtPosition(g.getStartPosition());if(!C){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(C.endColumn===g.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(f),f()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};e.WordContextKey=y,y.AtEnd=new L.RawContextKey("atEndOfWord",!1),e.WordContextKey=y=k=ke([fe(1,L.IContextKeyService)],y)}),define(ne[84],se([1,0,15,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=e.IAccessibilityService=void 0,e.IAccessibilityService=(0,k.createDecorator)("accessibilityService"),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=new L.RawContextKey("accessibilityModeEnabled",!1)}),define(ne[756],se([1,0,52,14,6,2,47,17,200,324,476,201,36,145,231,84]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputedEditorOptions=e.EditorConfiguration=void 0;let u=class extends D.Disposable{constructor(m,v,b,w){super(),this._accessibilityService=w,this._onDidChange=this._register(new y.Emitter),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new y.Emitter),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new i.ComputeOptionsMemory,this.isSimpleWidget=m,this._containerObserver=this._register(new _.ElementSizeObserver(b,v.dimension)),this._rawOptions=l(v),this._validatedOptions=d.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(12)&&this._containerObserver.startObserving(),this._register(n.EditorZoom.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(s.TabFocus.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(g.FontMeasurements.onDidChange(()=>this._recomputeOptions())),this._register(L.PixelRatio.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const m=this._computeOptions(),v=d.checkEquals(this.options,m);v!==null&&(this.options=m,this._onDidChangeFast.fire(v),this._onDidChange.fire(v))}_computeOptions(){const m=this._readEnvConfiguration(),v=t.BareFontInfo.createFromValidatedSettings(this._validatedOptions,m.pixelRatio,this.isSimpleWidget),b=this._readFontInfo(v),w={memory:this._computeOptionsMemory,outerWidth:m.outerWidth,outerHeight:m.outerHeight-this._reservedHeight,fontInfo:b,extraEditorClassName:m.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:m.emptySelectionClipboard,pixelRatio:m.pixelRatio,tabFocusMode:s.TabFocus.getTabFocusMode("editorFocus"),accessibilitySupport:m.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return d.computeOptions(this._validatedOptions,w)}_readEnvConfiguration(){return{extraEditorClassName:r(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:L.isWebKit||L.isFirefox,pixelRatio:L.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(m){return g.FontMeasurements.readFontInfo(m)}getRawOptions(){return this._rawOptions}updateOptions(m){const v=l(m);d.applyUpdate(this._rawOptions,v)&&(this._validatedOptions=d.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(m){this._containerObserver.observe(m)}setIsDominatedByLongLines(m){this._isDominatedByLongLines!==m&&(this._isDominatedByLongLines=m,this._recomputeOptions())}setModelLineCount(m){const v=h(m);this._lineNumbersDigitCount!==v&&(this._lineNumbersDigitCount=v,this._recomputeOptions())}setViewLineCount(m){this._viewLineCount!==m&&(this._viewLineCount=m,this._recomputeOptions())}setReservedHeight(m){this._reservedHeight!==m&&(this._reservedHeight=m,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(m){this._glyphMarginDecorationLaneCount!==m&&(this._glyphMarginDecorationLaneCount=m,this._recomputeOptions())}};e.EditorConfiguration=u,e.EditorConfiguration=u=ke([fe(3,a.IAccessibilityService)],u);function h(p){let m=0;for(;p;)p=Math.floor(p/10),m++;return m||1}function r(){let p="";return!L.isSafari&&!L.isWebkitWebView&&(p+="no-user-select "),L.isSafari&&(p+="no-minimap-shadow ",p+="enable-user-select "),f.isMacintosh&&(p+="mac "),p}class c{constructor(){this._values=[]}_read(m){return this._values[m]}get(m){return this._values[m]}_write(m,v){this._values[m]=v}}class o{constructor(){this._values=[]}_read(m){if(m>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[m]}get(m){return this._read(m)}_write(m,v){this._values[m]=v}}e.ComputedEditorOptions=o;class d{static validateOptions(m){const v=new c;for(const b of i.editorOptionsRegistry){const w=b.name==="_never_"?void 0:m[b.name];v._write(b.id,b.validate(w))}return v}static computeOptions(m,v){const b=new o;for(const w of i.editorOptionsRegistry)b._write(w.id,w.compute(v,b,m._read(w.id)));return b}static _deepEquals(m,v){if(typeof m!="object"||typeof v!="object"||!m||!v)return m===v;if(Array.isArray(m)||Array.isArray(v))return Array.isArray(m)&&Array.isArray(v)?k.equals(m,v):!1;if(Object.keys(m).length!==Object.keys(v).length)return!1;for(const b in m)if(!d._deepEquals(m[b],v[b]))return!1;return!0}static checkEquals(m,v){const b=[];let w=!1;for(const E of i.editorOptionsRegistry){const I=!d._deepEquals(m._read(E.id),v._read(E.id));b[E.id]=I,I&&(w=!0)}return w?new i.ConfigurationChangedEvent(b):null}static applyUpdate(m,v){let b=!1;for(const w of i.editorOptionsRegistry)if(v.hasOwnProperty(w.name)){const E=w.applyUpdate(m[w.name],v[w.name]);m[w.name]=E.newValue,b=b||E.didChange}return b}}function l(p){const m=S.deepClone(p);return(0,C.migrateOptions)(m),m}}),define(ne[237],se([1,0,85,6,2,47,5,116,33,84]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffNavigator=void 0;const C={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0};let s=class extends y.Disposable{constructor(n,t={},a,u,h){super(),this._audioCueService=a,this._codeEditorService=u,this._accessibilityService=h,this._onDidUpdate=this._register(new k.Emitter),this._editor=n,this._options=D.mixin(t,C,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(r=>{this.ignoreSelectionChange||(this._updateAccessibilityState(r.position.lineNumber),this.nextIdx=-1)})),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(n){this.ranges=[],n&&n.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(a=>{this.ranges.push({rhs:!0,range:new S.Range(a.modifiedStartLineNumber,a.modifiedStartColumn,a.modifiedEndLineNumber,a.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new S.Range(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,a)=>S.Range.compareRangesUsingStarts(t.range,a.range)),this._onDidUpdate.fire(this)}_initIdx(n){let t=!1;const a=this._editor.getPosition();if(!a){this.nextIdx=0;return}for(let u=0,h=this.ranges.length;u=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const a=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const u=a.range.getStartPosition();this._editor.setPosition(u),this._editor.revealRangeInCenter(a.range,t),this._updateAccessibilityState(u.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(n,t){var a;const u=(a=this._editor.getModel())===null||a===void 0?void 0:a.modified;if(!u)return;const h=u.getLineDecorations(n).find(c=>c.options.className==="line-insert");if(h)this._audioCueService.playAudioCue(f.AudioCue.diffLineModified,{allowManyInParallel:!0});else if(t)this._audioCueService.playAudioCue(f.AudioCue.diffLineDeleted,{allowManyInParallel:!0});else return;const r=this._codeEditorService.getActiveCodeEditor();t&&r&&h&&this._accessibilityService.isScreenReaderOptimized()&&(r.setSelection({startLineNumber:n,startColumn:0,endLineNumber:n,endColumn:Number.MAX_VALUE}),r.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(n=0){this.canNavigateNext()&&this._move(!0,n)}previous(n=0){this.canNavigatePrevious()&&this._move(!1,n)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx"u"&&this._parent?this._parent.getValue(E):I}}e.Context=n;class t extends n{constructor(){super(-1,null)}setValue(E,I){return!1}removeValue(E){return!1}getValue(E){}}t.INSTANCE=new t;class a extends n{constructor(E,I,M){super(E,null),this._configurationService=I,this._values=S.TernarySearchTree.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(P=>{if(P.source===7){const x=Array.from(this._values,([T])=>T);this._values.clear(),M.fire(new r(x))}else{const x=[];for(const T of P.affectedKeys){const A=`config.${T}`,N=this._values.findSuperstr(A);N!==void 0&&(x.push(...k.Iterable.map(N,([F])=>F)),this._values.deleteSuperstr(A)),this._values.has(A)&&(x.push(A),this._values.delete(A))}M.fire(new r(x))}})}dispose(){this._listener.dispose()}getValue(E){if(E.indexOf(a._keyPrefix)!==0)return super.getValue(E);if(this._values.has(E))return this._values.get(E);const I=E.substr(a._keyPrefix.length),M=this._configurationService.getValue(I);let P;switch(typeof M){case"number":case"boolean":case"string":P=M;break;default:Array.isArray(M)?P=JSON.stringify(M):P=M}return this._values.set(E,P),P}setValue(E,I){return super.setValue(E,I)}removeValue(E){return super.removeValue(E)}}a._keyPrefix="config.";class u{constructor(E,I,M){this._service=E,this._key=I,this._defaultValue=M,this.reset()}set(E){this._service.setContext(this._key,E)}reset(){typeof this._defaultValue>"u"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class h{constructor(E){this.key=E}affectsSome(E){return E.has(this.key)}allKeysContainedIn(E){return this.affectsSome(E)}}class r{constructor(E){this.keys=E}affectsSome(E){for(const I of this.keys)if(E.has(I))return!0;return!1}allKeysContainedIn(E){return this.keys.every(I=>E.has(I))}}class c{constructor(E){this.events=E}affectsSome(E){for(const I of this.events)if(I.affectsSome(E))return!0;return!1}allKeysContainedIn(E){return this.events.every(I=>I.allKeysContainedIn(E))}}function o(w,E){return w.allKeysContainedIn(new Set(Object.keys(E)))}class d{constructor(E){this._onDidChangeContext=new L.PauseableEmitter({merge:I=>new c(I)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=E}createKey(E,I){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new u(this,E,I)}bufferChangeEvents(E){this._onDidChangeContext.pause();try{E()}finally{this._onDidChangeContext.resume()}}createScoped(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new p(this,E)}contextMatchesRules(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const I=this.getContextValuesContainer(this._myContextId);return E?E.evaluate(I):!0}getContextKeyValue(E){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(E)}setContext(E,I){if(this._isDisposed)return;const M=this.getContextValuesContainer(this._myContextId);M&&M.setValue(E,I)&&this._onDidChangeContext.fire(new h(E))}removeContext(E){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(E)&&this._onDidChangeContext.fire(new h(E))}getContext(E){return this._isDisposed?t.INSTANCE:this.getContextValuesContainer(m(E))}}e.AbstractContextKeyService=d;let l=class extends d{constructor(E){super(0),this._contexts=new Map,this._toDispose=new y.DisposableStore,this._lastContextId=0;const I=new a(this._myContextId,E,this._onDidChangeContext);this._contexts.set(this._myContextId,I),this._toDispose.add(I)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._contexts.get(E)||t.INSTANCE}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");const I=++this._lastContextId;return this._contexts.set(I,new n(I,this.getContextValuesContainer(E))),I}disposeContext(E){this._isDisposed||this._contexts.delete(E)}};e.ContextKeyService=l,e.ContextKeyService=l=ke([fe(0,C.IConfigurationService)],l);class p extends d{constructor(E,I){if(super(E.createChildContext()),this._parentChangeListener=new y.MutableDisposable,this._parent=E,this._updateParentChangeListener(),this._domNode=I,this._domNode.hasAttribute(i)){let M="";this._domNode.classList&&(M=Array.from(this._domNode.classList.values()).join(", ")),console.error(`Element already has context attribute${M?": "+M:""}`)}this._domNode.setAttribute(i,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(E=>{const M=this._parent.getContextValuesContainer(this._myContextId).value;o(E,M)||this._onDidChangeContext.fire(E)})}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(i),this._isDisposed=!0)}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._parent.getContextValuesContainer(E)}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(E)}disposeContext(E){this._isDisposed||this._parent.disposeContext(E)}}function m(w){for(;w;){if(w.hasAttribute(i)){const E=w.getAttribute(i);return E?parseInt(E,10):NaN}w=w.parentElement}return 0}function v(w,E,I){w.get(s.IContextKeyService).createKey(String(E),b(I))}e.setContext=v;function b(w){return(0,D.cloneAndChange)(w,E=>{if(typeof E=="object"&&E.$mid===1)return f.URI.revive(E).toString();if(E instanceof f.URI)return E.toString()})}g.CommandsRegistry.registerCommand("_setContext",v),g.CommandsRegistry.registerCommand({id:"getContextKeyInfo",handler(){return[...s.RawContextKey.all()].sort((w,E)=>w.key.localeCompare(E.key))},description:{description:(0,_.localize)(0,null),args:[]}}),g.CommandsRegistry.registerCommand("_generateContextKeyInfo",function(){const w=[],E=new Set;for(const I of s.RawContextKey.all())E.has(I.key)||(E.add(I.key),w.push(I));w.sort((I,M)=>I.key.localeCompare(M.key)),console.log(JSON.stringify(w,void 0,2))})}),define(ne[238],se([1,0,17,724,15]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputFocusedContext=e.InputFocusedContextKey=e.ProductQualityContext=e.IsDevelopmentContext=e.IsMobileContext=e.IsIOSContext=e.IsMacNativeContext=e.IsWebContext=e.IsWindowsContext=e.IsLinuxContext=e.IsMacContext=void 0,e.IsMacContext=new y.RawContextKey("isMac",L.isMacintosh,(0,k.localize)(0,null)),e.IsLinuxContext=new y.RawContextKey("isLinux",L.isLinux,(0,k.localize)(1,null)),e.IsWindowsContext=new y.RawContextKey("isWindows",L.isWindows,(0,k.localize)(2,null)),e.IsWebContext=new y.RawContextKey("isWeb",L.isWeb,(0,k.localize)(3,null)),e.IsMacNativeContext=new y.RawContextKey("isMacNative",L.isMacintosh&&!L.isWeb,(0,k.localize)(4,null)),e.IsIOSContext=new y.RawContextKey("isIOS",L.isIOS,(0,k.localize)(5,null)),e.IsMobileContext=new y.RawContextKey("isMobile",L.isMobile,(0,k.localize)(6,null)),e.IsDevelopmentContext=new y.RawContextKey("isDevelopment",!1,!0),e.ProductQualityContext=new y.RawContextKey("productQualityType","",(0,k.localize)(7,null)),e.InputFocusedContextKey="inputFocus",e.InputFocusedContext=new y.RawContextKey(e.InputFocusedContextKey,!1,(0,k.localize)(8,null))}),define(ne[57],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IContextMenuService=e.IContextViewService=void 0,e.IContextViewService=(0,L.createDecorator)("contextViewService"),e.IContextMenuService=(0,L.createDecorator)("contextMenuService")}),define(ne[156],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IDialogService=void 0,e.IDialogService=(0,L.createDecorator)("dialogService")}),define(ne[239],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEnvironmentService=void 0,e.IEnvironmentService=(0,L.createDecorator)("environmentService")}),define(ne[157],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ServiceCollection=void 0;class L{constructor(...y){this._entries=new Map;for(const[D,S]of y)this.set(D,S)}set(y,D){const S=this._entries.get(y);return this._entries.set(y,D),S}get(y){return this._entries.get(y)}}e.ServiceCollection=L}),define(ne[758],se([1,0,13,9,2,232,746,8,157,64]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Trace=e.InstantiationService=void 0;const C=!1;class s extends Error{constructor(a){var u;super("cyclic dependency between services"),this.message=(u=a.findCycleSlow())!==null&&u!==void 0?u:`UNABLE to detect cycle, dumping graph: -${a.toString()}`}}class i{constructor(a=new _.ServiceCollection,u=!1,h,r=C){var c;this._services=a,this._strict=u,this._parent=h,this._enableTracing=r,this._activeInstantiations=new Set,this._services.set(f.IInstantiationService,this),this._globalGraph=r?(c=h?._globalGraph)!==null&&c!==void 0?c:new S.Graph(o=>o):void 0}createChild(a){return new i(a,this._strict,this,this._enableTracing)}invokeFunction(a,...u){const h=n.traceInvocation(this._enableTracing,a);let r=!1;try{return a({get:o=>{if(r)throw(0,k.illegalState)("service accessor is only valid during the invocation of its target method");const d=this._getOrCreateServiceInstance(o,h);if(!d)throw new Error(`[invokeFunction] unknown service '${o}'`);return d}},...u)}finally{r=!0,h.stop()}}createInstance(a,...u){let h,r;return a instanceof D.SyncDescriptor?(h=n.traceCreation(this._enableTracing,a.ctor),r=this._createInstance(a.ctor,a.staticArguments.concat(u),h)):(h=n.traceCreation(this._enableTracing,a),r=this._createInstance(a,u,h)),h.stop(),r}_createInstance(a,u=[],h){const r=f._util.getServiceDependencies(a).sort((d,l)=>d.index-l.index),c=[];for(const d of r){const l=this._getOrCreateServiceInstance(d.id,h);l||this._throwIfStrict(`[createInstance] ${a.name} depends on UNKNOWN service ${d.id}.`,!1),c.push(l)}const o=r.length>0?r[0].index:u.length;if(u.length!==o){console.trace(`[createInstance] First service dependency of ${a.name} at position ${o+1} conflicts with ${u.length} static arguments`);const d=o-u.length;d>0?u=u.concat(new Array(d)):u=u.slice(0,o)}return Reflect.construct(a,u.concat(c))}_setServiceInstance(a,u){if(this._services.get(a)instanceof D.SyncDescriptor)this._services.set(a,u);else if(this._parent)this._parent._setServiceInstance(a,u);else throw new Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(a){const u=this._services.get(a);return!u&&this._parent?this._parent._getServiceInstanceOrDescriptor(a):u}_getOrCreateServiceInstance(a,u){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(a));const h=this._getServiceInstanceOrDescriptor(a);return h instanceof D.SyncDescriptor?this._safeCreateAndCacheServiceInstance(a,h,u.branch(a,!0)):(u.branch(a,!1),h)}_safeCreateAndCacheServiceInstance(a,u,h){if(this._activeInstantiations.has(a))throw new Error(`illegal state - RECURSIVELY instantiating service '${a}'`);this._activeInstantiations.add(a);try{return this._createAndCacheServiceInstance(a,u,h)}finally{this._activeInstantiations.delete(a)}}_createAndCacheServiceInstance(a,u,h){var r;const c=new S.Graph(l=>l.id.toString());let o=0;const d=[{id:a,desc:u,_trace:h}];for(;d.length;){const l=d.pop();if(c.lookupOrInsertNode(l),o++>1e3)throw new s(c);for(const p of f._util.getServiceDependencies(l.desc.ctor)){const m=this._getServiceInstanceOrDescriptor(p.id);if(m||this._throwIfStrict(`[createInstance] ${a} depends on ${p.id} which is NOT registered.`,!0),(r=this._globalGraph)===null||r===void 0||r.insertEdge(String(l.id),String(p.id)),m instanceof D.SyncDescriptor){const v={id:p.id,desc:m,_trace:l._trace.branch(p.id,!0)};c.insertEdge(l,v),d.push(v)}}}for(;;){const l=c.roots();if(l.length===0){if(!c.isEmpty())throw new s(c);break}for(const{data:p}of l){if(this._getServiceInstanceOrDescriptor(p.id)instanceof D.SyncDescriptor){const v=this._createServiceInstanceWithOwner(p.id,p.desc.ctor,p.desc.staticArguments,p.desc.supportsDelayedInstantiation,p._trace);this._setServiceInstance(p.id,v)}c.removeNode(p)}}return this._getServiceInstanceOrDescriptor(a)}_createServiceInstanceWithOwner(a,u,h=[],r,c){if(this._services.get(a)instanceof D.SyncDescriptor)return this._createServiceInstance(a,u,h,r,c);if(this._parent)return this._parent._createServiceInstanceWithOwner(a,u,h,r,c);throw new Error(`illegalState - creating UNKNOWN service instance ${u.name}`)}_createServiceInstance(a,u,h=[],r,c){if(r){const o=new i(void 0,this._strict,this,this._enableTracing);o._globalGraphImplicitDependency=String(a);const d=new Map,l=new L.IdleValue(()=>{const p=o._createInstance(u,h,c);for(const[m,v]of d){const b=p[m];if(typeof b=="function")for(const w of v)b.apply(p,w)}return d.clear(),p});return new Proxy(Object.create(null),{get(p,m){if(!l.isInitialized&&typeof m=="string"&&(m.startsWith("onDid")||m.startsWith("onWill"))){let w=d.get(m);return w||(w=new g.LinkedList,d.set(m,w)),(I,M,P)=>{const x=w.push([I,M,P]);return(0,y.toDisposable)(x)}}if(m in p)return p[m];const v=l.value;let b=v[m];return typeof b!="function"||(b=b.bind(v),p[m]=b),b},set(p,m,v){return l.value[m]=v,!0},getPrototypeOf(p){return u.prototype}})}else return this._createInstance(u,h,c)}_throwIfStrict(a,u){if(u&&console.warn(a),this._strict)throw new Error(a)}}e.InstantiationService=i;class n{static traceInvocation(a,u){return a?new n(2,u.name||new Error().stack.split(` -`).slice(3,4).join(` -`)):n._None}static traceCreation(a,u){return a?new n(1,u.name):n._None}constructor(a,u){this.type=a,this.name=u,this._start=Date.now(),this._dep=[]}branch(a,u){const h=new n(3,a.toString());return this._dep.push([a,u,h]),h}stop(){const a=Date.now()-this._start;n._totals+=a;let u=!1;function h(c,o){const d=[],l=new Array(c+1).join(" ");for(const[p,m,v]of o._dep)if(m&&v){u=!0,d.push(`${l}CREATES -> ${p}`);const b=h(c+1,v);b&&d.push(b)}else d.push(`${l}uses -> ${p}`);return d.join(` -`)}const r=[`${this.type===1?"CREATE":"CALL"} ${this.name}`,`${h(1,this)}`,`DONE, took ${a.toFixed(2)}ms (grand total ${n._totals.toFixed(2)}ms)`];(a>2||u)&&n.all.add(r.join(` -`))}}e.Trace=n,n.all=new Set,n._None=new class extends n{constructor(){super(0,null)}stop(){}branch(){return this}},n._totals=0}),define(ne[759],se([1,0,9,216,119]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseResolvedKeybinding=void 0;class D extends y.ResolvedKeybinding{constructor(f,_){if(super(),_.length===0)throw(0,L.illegalArgument)("chords");this._os=f,this._chords=_}getLabel(){return k.UILabelProvider.toLabel(this._os,this._chords,f=>this._getLabel(f))}getAriaLabel(){return k.AriaLabelProvider.toLabel(this._os,this._chords,f=>this._getAriaLabel(f))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:k.ElectronAcceleratorLabelProvider.toLabel(this._os,this._chords,f=>this._getElectronAccelerator(f))}getUserSettingsLabel(){return k.UserSettingsLabelProvider.toLabel(this._os,this._chords,f=>this._getUserSettingsLabel(f))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(f=>this._getChord(f))}_getChord(f){return new y.ResolvedChord(f.ctrlKey,f.shiftKey,f.altKey,f.metaKey,this._getLabel(f),this._getAriaLabel(f))}getDispatchChords(){return this._chords.map(f=>this._getChordDispatch(f))}getSingleModifierDispatchChords(){return this._chords.map(f=>this._getSingleModifierChordDispatch(f))}}e.BaseResolvedKeybinding=D}),define(ne[34],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IKeybindingService=void 0,e.IKeybindingService=(0,L.createDecorator)("keybindingService")}),define(ne[335],se([1,0,7,313,39,6,2,132,15,57,8,34,441]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.PostEditWidgetManager=void 0;let n=i=class extends S.Disposable{constructor(u,h,r,c,o,d,l,p,m,v){super(),this.typeId=u,this.editor=h,this.showCommand=c,this.range=o,this.edits=d,this.onSelectNewEdit=l,this._contextMenuService=p,this._keybindingService=v,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=r.bindTo(m),this.visibleContext.set(!0),this._register((0,S.toDisposable)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,S.toDisposable)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(b=>{o.containsPosition(b.position)||this.dispose()})),this._register(D.Event.runAndSubscribe(v.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var u;const h=(u=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||u===void 0?void 0:u.getLabel();this.button.element.title=this.showCommand.label+(h?` (${h})`:"")}create(){this.domNode=L.$(".post-edit-widget"),this.button=this._register(new k.Button(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,()=>this.showSelector()))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const u=L.getDomNodePagePosition(this.button.element);return{x:u.left+u.width,y:u.top+u.height}},getActions:()=>this.edits.allEdits.map((u,h)=>(0,y.toAction)({id:"",label:u.label,checked:h===this.edits.activeEditIndex,run:()=>{if(h!==this.edits.activeEditIndex)return this.onSelectNewEdit(h)}}))})}};n.baseId="editor.widget.postEditWidget",n=i=ke([fe(7,g.IContextMenuService),fe(8,_.IContextKeyService),fe(9,s.IKeybindingService)],n);let t=class extends S.Disposable{constructor(u,h,r,c,o,d){super(),this._id=u,this._editor=h,this._visibleContext=r,this._showCommand=c,this._instantiationService=o,this._bulkEditService=d,this._currentWidget=this._register(new S.MutableDisposable),this._register(D.Event.any(h.onDidChangeModel,h.onDidChangeModelContent)(()=>this.clear()))}applyEditAndShowIfNeeded(u,h,r,c){var o,d;return we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l||!u.length)return;const p=h.allEdits[h.activeEditIndex];if(!p)return;let m=[];(typeof p.insertText=="string"?p.insertText==="":p.insertText.snippet==="")?m=[]:m=u.map(P=>new f.ResourceTextEdit(l.uri,typeof p.insertText=="string"?{range:P,text:p.insertText,insertAsSnippet:!1}:{range:P,text:p.insertText.snippet,insertAsSnippet:!0}));const b={edits:[...m,...(d=(o=p.additionalEdit)===null||o===void 0?void 0:o.edits)!==null&&d!==void 0?d:[]]},w=u[0],E=l.deltaDecorations([],[{range:w,options:{description:"paste-line-suffix",stickiness:0}}]);let I,M;try{I=yield this._bulkEditService.apply(b,{editor:this._editor,token:c}),M=l.getDecorationRange(E[0])}finally{l.deltaDecorations(E,[])}r&&I.isApplied&&h.allEdits.length>1&&this.show(M??w,h,P=>we(this,void 0,void 0,function*(){const x=this._editor.getModel();x&&(yield x.undo(),this.applyEditAndShowIfNeeded(u,{activeEditIndex:P,allEdits:h.allEdits},r,c))}))})}show(u,h,r){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(n,this._id,this._editor,this._visibleContext,this._showCommand,u,h,r))}clear(){this._currentWidget.clear()}tryShowSelector(){var u;(u=this._currentWidget.value)===null||u===void 0||u.showSelector()}};e.PostEditWidgetManager=t,e.PostEditWidgetManager=t=ke([fe(4,C.IInstantiationService),fe(5,f.IBulkEditService)],t)}),define(ne[336],se([1,0,15]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingResolver=e.NoMatchingKb=void 0,e.NoMatchingKb={kind:0};const k={kind:1};function y(_,g,C){return{kind:2,commandId:_,commandArgs:g,isBubble:C}}class D{constructor(g,C,s){var i;this._log=s,this._defaultKeybindings=g,this._defaultBoundCommands=new Map;for(const n of g){const t=n.command;t&&t.charAt(0)!=="-"&&this._defaultBoundCommands.set(t,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=D.handleRemovals([].concat(g).concat(C));for(let n=0,t=this._keybindings.length;n"u"){this._map.set(g,[C]),this._addToLookupMap(C);return}for(let i=s.length-1;i>=0;i--){const n=s[i];if(n.command===C.command)continue;let t=!0;for(let a=1;a"u"?(C=[g],this._lookupMap.set(g.command,C)):C.push(g)}_removeFromLookupMap(g){if(!g.command)return;const C=this._lookupMap.get(g.command);if(!(typeof C>"u")){for(let s=0,i=C.length;s"u"||s.length===0)return null;if(s.length===1)return s[0];for(let i=s.length-1;i>=0;i--){const n=s[i];if(C.contextMatchesRules(n.when))return n}return s[s.length-1]}resolve(g,C,s){const i=[...C,s];this._log(`| Resolving ${i}`);const n=this._map.get(i[0]);if(n===void 0)return this._log("\\ No keybinding entries."),e.NoMatchingKb;let t=null;if(i.length<2)t=n;else{t=[];for(let u=0,h=n.length;ur.chords.length)continue;let c=!0;for(let o=1;o=0;s--){const i=C[s];if(D._contextMatchesRules(g,i.when))return i}return null}static _contextMatchesRules(g,C){return C?C.evaluate(g):!0}}e.KeybindingResolver=D;function S(_){return _?`${_.serialize()}`:"no when condition"}function f(_){return _.extensionId?_.isBuiltinExtension?`built-in extension ${_.extensionId}`:`user extension ${_.extensionId}`:_.isDefault?"built-in":"user"}}),define(ne[760],se([1,0,13,9,6,263,2,727,336]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractKeybindingService=void 0;const g=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class C extends S.Disposable{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:y.Event.None}get inChordMode(){return this._currentChords.length>0}constructor(n,t,a,u,h){super(),this._contextKeyService=n,this._commandService=t,this._telemetryService=a,this._notificationService=u,this._logService=h,this._onDidUpdateKeybindings=this._register(new y.Emitter),this._currentChords=[],this._currentChordChecker=new L.IntervalTimer,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new L.TimeoutTimer,this._logging=!1}dispose(){super.dispose()}_log(n){this._logging&&this._logService.info(`[KeybindingService]: ${n}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(n,t){const a=this._getResolver().lookupPrimaryKeybinding(n,t||this._contextKeyService);if(a)return a.resolvedKeybinding}dispatchEvent(n,t){return this._dispatch(n,t)}softDispatch(n,t){this._log("/ Soft dispatching keyboard event");const a=this.resolveKeyboardEvent(n);if(a.hasMultipleChords())return console.warn("keyboard event should not be mapped to multiple chords"),_.NoMatchingKb;const[u]=a.getDispatchChords();if(u===null)return this._log("\\ Keyboard event cannot be dispatched"),_.NoMatchingKb;const h=this._contextKeyService.getContext(t),r=this._currentChords.map(({keypress:c})=>c);return this._getResolver().resolve(h,r,u)}_scheduleLeaveChordMode(){const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-n>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(n,t){switch(this._currentChords.push({keypress:n,label:t}),this._currentChords.length){case 0:throw(0,k.illegalState)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(f.localize(0,null,t));break;default:{const a=this._currentChords.map(({label:u})=>u).join(", ");this._currentChordStatusMessage=this._notificationService.status(f.localize(1,null,a))}}this._scheduleLeaveChordMode(),D.IME.enabled&&D.IME.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],D.IME.enable()}_dispatch(n,t){return this._doDispatch(this.resolveKeyboardEvent(n),t,!1)}_singleModifierDispatch(n,t){const a=this.resolveKeyboardEvent(n),[u]=a.getSingleModifierDispatchChords();if(u)return this._ignoreSingleModifiers.has(u)?(this._log(`+ Ignoring single modifier ${u} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${u}.`),this._currentSingleModifier=u,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300),!1):u===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${u} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(a,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[h]=a.getChords();return this._ignoreSingleModifiers=new s(h),this._currentSingleModifier!==null&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(n,t,a=!1){var u;let h=!1;if(n.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let r=null,c=null;if(a){const[p]=n.getSingleModifierDispatchChords();r=p,c=p?[p]:[]}else[r]=n.getDispatchChords(),c=this._currentChords.map(({keypress:p})=>p);if(r===null)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),h;const o=this._contextKeyService.getContext(t),d=n.getLabel(),l=this._getResolver().resolve(o,c,r);switch(l.kind){case 0:{if(this._logService.trace("KeybindingService#dispatch",d,"[ No matching keybinding ]"),this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(2,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}return h}case 1:return this._logService.trace("KeybindingService#dispatch",d,"[ Several keybindings match - more chords needed ]"),h=!0,this._expectAnotherChord(r,d),this._log(this._currentChords.length===1?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),h;case 2:{if(this._logService.trace("KeybindingService#dispatch",d,`[ Will dispatch command ${l.commandId} ]`),l.commandId===null||l.commandId===""){if(this.inChordMode){const p=this._currentChords.map(({label:m})=>m).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${p}, ${d}".`),this._notificationService.status(f.localize(3,null,p,d),{hideAfter:10*1e3}),this._leaveChordMode(),h=!0}}else this.inChordMode&&this._leaveChordMode(),l.isBubble||(h=!0),this._log(`+ Invoking command ${l.commandId}.`),typeof l.commandArgs>"u"?this._commandService.executeCommand(l.commandId).then(void 0,p=>this._notificationService.warn(p)):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,p=>this._notificationService.warn(p)),g.test(l.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding",detail:(u=n.getUserSettingsLabel())!==null&&u!==void 0?u:void 0});return h}}}mightProducePrintableCharacter(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30}}e.AbstractKeybindingService=C;class s{constructor(n){this._ctrlKey=n?n.ctrlKey:!1,this._shiftKey=n?n.shiftKey:!1,this._altKey=n?n.altKey:!1,this._metaKey=n?n.metaKey:!1}has(n){switch(n){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}s.EMPTY=new s(null)}),define(ne[337],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toEmptyArrayIfContainsNull=e.ResolvedKeybindingItem=void 0;class L{constructor(D,S,f,_,g,C,s){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=D,this.chords=D?k(D.getDispatchChords()):[],D&&this.chords.length===0&&(this.chords=k(D.getSingleModifierDispatchChords())),this.bubble=S?S.charCodeAt(0)===94:!1,this.command=this.bubble?S.substr(1):S,this.commandArgs=f,this.when=_,this.isDefault=g,this.extensionId=C,this.isBuiltinExtension=s}}e.ResolvedKeybindingItem=L;function k(y){const D=[];for(let S=0,f=y.length;Sthis._toKeyCodeChord(s)));return C.length>0?[new S(C,g)]:[]}}e.USLayoutResolvedKeybinding=S}),define(ne[158],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILabelService=void 0,e.ILabelService=(0,L.createDecorator)("labelService")}),define(ne[134],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILayoutService=void 0,e.ILayoutService=(0,L.createDecorator)("layoutService")}),define(ne[338],se([1,0,7,6,134,33,50]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScopedLayoutService=void 0;let f=class{get dimension(){return this._dimension||(this._dimension=L.getClientArea(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var C;(C=this._codeEditorService.getFocusedCodeEditor())===null||C===void 0||C.focus()}constructor(C){this._codeEditorService=C,this.onDidLayout=k.Event.None,this.offset={top:0,quickPickTop:0}}};f=ke([fe(0,D.ICodeEditorService)],f);let _=class extends f{get hasContainer(){return!1}get container(){return this._container}constructor(C,s){super(s),this._container=C}};e.EditorScopedLayoutService=_,e.EditorScopedLayoutService=_=ke([fe(1,D.ICodeEditorService)],_),(0,S.registerSingleton)(y.ILayoutService,f,1)}),define(ne[762],se([1,0,7,6,2,84,28,15,134]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityService=void 0;let g=class extends y.Disposable{constructor(s,i,n){super(),this._contextKeyService=s,this._layoutService=i,this._configurationService=n,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new k.Emitter,this._onDidChangeReducedMotion=new k.Emitter,this._accessibilityModeEnabledContext=D.CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);const t=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(u=>{u.affectsConfiguration("editor.accessibilitySupport")&&(t(),this._onDidChangeScreenReaderOptimized.fire()),u.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())})),t(),this._register(this.onDidChangeScreenReaderOptimized(()=>t()));const a=window.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=a.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(a)}initReducedMotionListeners(s){if(!this._layoutService.hasContainer)return;this._register((0,L.addDisposableListener)(s,"change",()=>{this._systemMotionReduced=s.matches,this._configMotionReduced==="auto"&&this._onDidChangeReducedMotion.fire()}));const i=()=>{const n=this.isMotionReduced();this._layoutService.container.classList.toggle("reduce-motion",n),this._layoutService.container.classList.toggle("enable-motion",!n)};i(),this._register(this.onDidChangeReducedMotion(()=>i()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const s=this._configurationService.getValue("editor.accessibilitySupport");return s==="on"||s==="auto"&&this._accessibilitySupport===2}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const s=this._configMotionReduced;return s==="on"||s==="auto"&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};e.AccessibilityService=g,e.AccessibilityService=g=ke([fe(0,f.IContextKeyService),fe(1,_.ILayoutService),fe(2,S.IConfigurationService)],g)}),define(ne[763],se([1,0,306,2,134]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextViewService=void 0;let D=class extends k.Disposable{constructor(f){super(),this.layoutService=f,this.currentViewDisposable=k.Disposable.None,this.container=f.hasContainer?f.container:null,this.contextView=this._register(new L.ContextView(this.container,1)),this.layout(),this._register(f.onDidLayout(()=>this.layout()))}setContainer(f,_){this.contextView.setContainer(f,_||1)}showContextView(f,_,g){_?(_!==this.container||this.shadowRoot!==g)&&(this.container=_,this.setContainer(_,g?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.shadowRoot=g,this.contextView.show(f);const C=(0,k.toDisposable)(()=>{this.currentViewDisposable===C&&this.hideContextView()});return this.currentViewDisposable=C,C}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(f){this.contextView.hide(f)}};e.ContextViewService=D,e.ContextViewService=D=ke([fe(0,y.ILayoutService)],D)}),define(ne[70],se([1,0,6,2,15,8]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_LOG_LEVEL=e.LogLevelToString=e.MultiplexLogger=e.ConsoleLogger=e.AbstractLogger=e.DEFAULT_LOG_LEVEL=e.LogLevel=e.ILogService=void 0,e.ILogService=(0,D.createDecorator)("logService");var S;(function(s){s[s.Off=0]="Off",s[s.Trace=1]="Trace",s[s.Debug=2]="Debug",s[s.Info=3]="Info",s[s.Warning=4]="Warning",s[s.Error=5]="Error"})(S||(e.LogLevel=S={})),e.DEFAULT_LOG_LEVEL=S.Info;class f extends k.Disposable{constructor(){super(...arguments),this.level=e.DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new L.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(i){this.level!==i&&(this.level=i,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(i){return this.level!==S.Off&&this.level<=i}}e.AbstractLogger=f;class _ extends f{constructor(i=e.DEFAULT_LOG_LEVEL,n=!0){super(),this.useColors=n,this.setLevel(i)}trace(i,...n){this.checkLogLevel(S.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",i,...n):console.log(i,...n))}debug(i,...n){this.checkLogLevel(S.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",i,...n):console.log(i,...n))}info(i,...n){this.checkLogLevel(S.Info)&&(this.useColors?console.log("%c INFO","color: #33f",i,...n):console.log(i,...n))}warn(i,...n){this.checkLogLevel(S.Warning)&&(this.useColors?console.log("%c WARN","color: #993",i,...n):console.log(i,...n))}error(i,...n){this.checkLogLevel(S.Error)&&(this.useColors?console.log("%c ERR","color: #f33",i,...n):console.error(i,...n))}dispose(){}}e.ConsoleLogger=_;class g extends f{constructor(i){super(),this.loggers=i,i.length&&this.setLevel(i[0].getLevel())}setLevel(i){for(const n of this.loggers)n.setLevel(i);super.setLevel(i)}trace(i,...n){for(const t of this.loggers)t.trace(i,...n)}debug(i,...n){for(const t of this.loggers)t.debug(i,...n)}info(i,...n){for(const t of this.loggers)t.info(i,...n)}warn(i,...n){for(const t of this.loggers)t.warn(i,...n)}error(i,...n){for(const t of this.loggers)t.error(i,...n)}dispose(){for(const i of this.loggers)i.dispose()}}e.MultiplexLogger=g;function C(s){switch(s){case S.Trace:return"trace";case S.Debug:return"debug";case S.Info:return"info";case S.Warning:return"warn";case S.Error:return"error";case S.Off:return"off"}}e.LogLevelToString=C,e.CONTEXT_LOG_LEVEL=new y.RawContextKey("logLevel",C(S.Info))}),define(ne[764],se([1,0,52,7,13,2,134,70]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserClipboardService=void 0;let _=class extends D.Disposable{constructor(C,s){super(),this.layoutService=C,this.logService=s,this.mapTextToType=new Map,this.findText="",this.resources=[],(L.isSafari||L.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const C=()=>{const s=new y.DeferredPromise;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=s,navigator.clipboard.write([new ClipboardItem({"text/plain":s.p})]).catch(i=>we(this,void 0,void 0,function*(){(!(i instanceof Error)||i.name!=="NotAllowedError"||!s.isRejected)&&this.logService.error(i)}))};this.layoutService.hasContainer&&(this._register((0,k.addDisposableListener)(this.layoutService.container,"click",C)),this._register((0,k.addDisposableListener)(this.layoutService.container,"keydown",C)))}writeText(C,s){return we(this,void 0,void 0,function*(){if(s){this.mapTextToType.set(s,C);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(C);try{return yield navigator.clipboard.writeText(C)}catch(t){console.error(t)}const i=document.activeElement,n=document.body.appendChild((0,k.$)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=C,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)})}readText(C){return we(this,void 0,void 0,function*(){if(C)return this.mapTextToType.get(C)||"";try{return yield navigator.clipboard.readText()}catch(s){return console.error(s),""}})}readFindText(){return we(this,void 0,void 0,function*(){return this.findText})}writeFindText(C){return we(this,void 0,void 0,function*(){this.findText=C})}writeResources(C){return we(this,void 0,void 0,function*(){this.resources=C})}readResources(){return we(this,void 0,void 0,function*(){return this.resources})}};e.BrowserClipboardService=_,e.BrowserClipboardService=_=ke([fe(0,S.ILayoutService),fe(1,f.ILogService)],_)}),define(ne[765],se([1,0,2,70]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogService=void 0;class y extends L.Disposable{constructor(S,f=[]){super(),this.logger=new k.MultiplexLogger([S,...f]),this._register(S.onDidChangeLogLevel(_=>this.setLevel(_)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(S){this.logger.setLevel(S)}getLevel(){return this.logger.getLevel()}trace(S,...f){this.logger.trace(S,...f)}debug(S,...f){this.logger.debug(S,...f)}info(S,...f){this.logger.info(S,...f)}warn(S,...f){this.logger.warn(S,...f)}error(S,...f){this.logger.error(S,...f)}}e.LogService=y}),define(ne[97],se([1,0,101,729,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerService=e.IMarkerData=e.MarkerSeverity=void 0;var D;(function(f){f[f.Hint=1]="Hint",f[f.Info=2]="Info",f[f.Warning=4]="Warning",f[f.Error=8]="Error"})(D||(e.MarkerSeverity=D={})),function(f){function _(n,t){return t-n}f.compare=_;const g=Object.create(null);g[f.Error]=(0,k.localize)(0,null),g[f.Warning]=(0,k.localize)(1,null),g[f.Info]=(0,k.localize)(2,null);function C(n){return g[n]||""}f.toString=C;function s(n){switch(n){case L.default.Error:return f.Error;case L.default.Warning:return f.Warning;case L.default.Info:return f.Info;case L.default.Ignore:return f.Hint}}f.fromSeverity=s;function i(n){switch(n){case f.Error:return L.default.Error;case f.Warning:return L.default.Warning;case f.Info:return L.default.Info;case f.Hint:return L.default.Ignore}}f.toSeverity=i}(D||(e.MarkerSeverity=D={}));var S;(function(f){const _="";function g(s){return C(s,!0)}f.makeKey=g;function C(s,i){const n=[_];return s.source?n.push(s.source.replace("\xA6","\\\xA6")):n.push(_),s.code?typeof s.code=="string"?n.push(s.code.replace("\xA6","\\\xA6")):n.push(s.code.value.replace("\xA6","\\\xA6")):n.push(_),s.severity!==void 0&&s.severity!==null?n.push(D.toString(s.severity)):n.push(_),s.message&&i?n.push(s.message.replace("\xA6","\\\xA6")):n.push(_),s.startLineNumber!==void 0&&s.startLineNumber!==null?n.push(s.startLineNumber.toString()):n.push(_),s.startColumn!==void 0&&s.startColumn!==null?n.push(s.startColumn.toString()):n.push(_),s.endLineNumber!==void 0&&s.endLineNumber!==null?n.push(s.endLineNumber.toString()):n.push(_),s.endColumn!==void 0&&s.endColumn!==null?n.push(s.endColumn.toString()):n.push(_),n.push(_),n.join("\xA6")}f.makeKeyOptionalMessage=C})(S||(e.IMarkerData=S={})),e.IMarkerService=(0,y.createDecorator)("markerService")}),define(ne[766],se([1,0,14,6,2,64,11,22,5,50,8,97,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerNavigationService=e.MarkerList=e.MarkerCoordinate=void 0;class n{constructor(h,r,c){this.marker=h,this.index=r,this.total=c}}e.MarkerCoordinate=n;let t=class{constructor(h,r,c){this._markerService=r,this._configService=c,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._dispoables=new y.DisposableStore,this._markers=[],this._nextIdx=-1,f.URI.isUri(h)?this._resourceFilter=p=>p.toString()===h.toString():h&&(this._resourceFilter=h);const o=this._configService.getValue("problems.sortOrder"),d=(p,m)=>{let v=(0,S.compare)(p.resource.toString(),m.resource.toString());return v===0&&(o==="position"?v=_.Range.compareRangesUsingStarts(p,m)||s.MarkerSeverity.compare(p.severity,m.severity):v=s.MarkerSeverity.compare(p.severity,m.severity)||_.Range.compareRangesUsingStarts(p,m)),v},l=()=>{this._markers=this._markerService.read({resource:f.URI.isUri(h)?h:void 0,severities:s.MarkerSeverity.Error|s.MarkerSeverity.Warning|s.MarkerSeverity.Info}),typeof h=="function"&&(this._markers=this._markers.filter(p=>this._resourceFilter(p.resource))),this._markers.sort(d)};l(),this._dispoables.add(r.onMarkerChanged(p=>{(!this._resourceFilter||p.some(m=>this._resourceFilter(m)))&&(l(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(h){return!this._resourceFilter&&!h?!0:!this._resourceFilter||!h?!1:this._resourceFilter(h)}get selected(){const h=this._markers[this._nextIdx];return h&&new n(h,this._nextIdx+1,this._markers.length)}_initIdx(h,r,c){let o=!1,d=this._markers.findIndex(l=>l.resource.toString()===h.uri.toString());d<0&&(d=(0,L.binarySearch)(this._markers,{resource:h.uri},(l,p)=>(0,S.compare)(l.resource.toString(),p.resource.toString())),d<0&&(d=~d));for(let l=d;lo.resource.toString()===h.toString());if(!(c<0)){for(;cr[1])}}class C{constructor(n){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new D.ResourceMap,this._service=n,this._subscription=n.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(n){for(const t of n){const a=this._data.get(t);a&&this._substract(a);const u=this._resourceStats(t);this._add(u),this._data.set(t,u)}}_resourceStats(n){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.unsupportedSchemas.has(n.scheme))return t;for(const{severity:a}of this._service.read({resource:n}))a===_.MarkerSeverity.Error?t.errors+=1:a===_.MarkerSeverity.Warning?t.warnings+=1:a===_.MarkerSeverity.Info?t.infos+=1:t.unknowns+=1;return t}_substract(n){this.errors-=n.errors,this.warnings-=n.warnings,this.infos-=n.infos,this.unknowns-=n.unknowns}_add(n){this.errors+=n.errors,this.warnings+=n.warnings,this.infos+=n.infos,this.unknowns+=n.unknowns}}class s{constructor(){this._onMarkerChanged=new k.DebounceEmitter({delay:0,merge:s._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new g,this._stats=new C(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(n,t){for(const a of t||[])this.changeOne(n,a,[])}changeOne(n,t,a){if((0,L.isFalsyOrEmpty)(a))this._data.delete(t,n)&&this._onMarkerChanged.fire([t]);else{const u=[];for(const h of a){const r=s._toMarker(n,t,h);r&&u.push(r)}this._data.set(t,n,u),this._onMarkerChanged.fire([t])}}static _toMarker(n,t,a){let{code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}=a;if(r)return o=o>0?o:1,d=d>0?d:1,l=l>=o?l:o,p=p>0?p:d,{resource:t,owner:n,code:u,severity:h,message:r,source:c,startLineNumber:o,startColumn:d,endLineNumber:l,endColumn:p,relatedInformation:m,tags:v}}changeAll(n,t){const a=[],u=this._data.values(n);if(u)for(const h of u){const r=y.Iterable.first(h);r&&(a.push(r.resource),this._data.delete(r.resource,n))}if((0,L.isNonEmptyArray)(t)){const h=new D.ResourceMap;for(const{resource:r,marker:c}of t){const o=s._toMarker(n,r,c);if(!o)continue;const d=h.get(r);d?d.push(o):(h.set(r,[o]),a.push(r))}for(const[r,c]of h)this._data.set(r,n,c)}a.length>0&&this._onMarkerChanged.fire(a)}read(n=Object.create(null)){let{owner:t,resource:a,severities:u,take:h}=n;if((!h||h<0)&&(h=-1),t&&a){const r=this._data.get(a,t);if(r){const c=[];for(const o of r)if(s._accept(o,u)){const d=c.push(o);if(h>0&&d===h)break}return c}else return[]}else if(!t&&!a){const r=[];for(const c of this._data.values())for(const o of c)if(s._accept(o,u)){const d=r.push(o);if(h>0&&d===h)return r}return r}else{const r=this._data.values(a??t),c=[];for(const o of r)for(const d of o)if(s._accept(d,u)){const l=c.push(d);if(h>0&&l===h)return c}return c}}static _accept(n,t){return t===void 0||(t&n.severity)===n.severity}static _merge(n){const t=new D.ResourceMap;for(const a of n)for(const u of a)t.set(u,!0);return Array.from(t.keys())}}e.MarkerService=s}),define(ne[43],se([1,0,101,8]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoOpNotification=e.INotificationService=e.Severity=void 0,e.Severity=L.default,e.INotificationService=(0,k.createDecorator)("notificationService");class y{}e.NoOpNotification=y}),define(ne[56],se([1,0,11,22,8]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractSelection=e.matchesSomeScheme=e.matchesScheme=e.IOpenerService=void 0,e.IOpenerService=(0,y.createDecorator)("openerService");function D(_,g){return k.URI.isUri(_)?(0,L.equalsIgnoreCase)(_.scheme,g):(0,L.startsWithIgnoreCase)(_,g+":")}e.matchesScheme=D;function S(_,...g){return g.some(C=>D(_,C))}e.matchesSomeScheme=S;function f(_){let g;const C=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(_.fragment);return C&&(g={startLineNumber:parseInt(C[1]),startColumn:C[2]?parseInt(C[2]):1,endLineNumber:C[4]?parseInt(C[4]):void 0,endColumn:C[4]?C[5]?parseInt(C[5]):1:void 0},_=_.with({fragment:""})),{selection:g,uri:_}}e.extractSelection=f}),define(ne[768],se([1,0,7,19,64,65,221,54,45,22,33,27,743,56]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OpenerService=void 0;let t=class{constructor(r){this._commandService=r}open(r,c){return we(this,void 0,void 0,function*(){if(!(0,n.matchesScheme)(r,f.Schemas.command))return!1;if(!c?.allowCommands||(typeof r=="string"&&(r=g.URI.parse(r)),Array.isArray(c.allowCommands)&&!c.allowCommands.includes(r.path)))return!0;let o=[];try{o=(0,S.parse)(decodeURIComponent(r.query))}catch{try{o=(0,S.parse)(r.query)}catch{}}return Array.isArray(o)||(o=[o]),yield this._commandService.executeCommand(r.path,...o),!0})}};t=ke([fe(0,s.ICommandService)],t);let a=class{constructor(r){this._editorService=r}open(r,c){return we(this,void 0,void 0,function*(){typeof r=="string"&&(r=g.URI.parse(r));const{selection:o,uri:d}=(0,n.extractSelection)(r);return r=d,r.scheme===f.Schemas.file&&(r=(0,_.normalizePath)(r)),yield this._editorService.openCodeEditor({resource:r,options:Object.assign({selection:o,source:c?.fromUserGesture?i.EditorOpenSource.USER:i.EditorOpenSource.API},c?.editorOptions)},this._editorService.getFocusedCodeEditor(),c?.openToSide),!0})}};a=ke([fe(0,C.ICodeEditorService)],a);let u=class{constructor(r,c){this._openers=new y.LinkedList,this._validators=new y.LinkedList,this._resolvers=new y.LinkedList,this._resolvedUriTargets=new D.ResourceMap(o=>o.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new y.LinkedList,this._defaultExternalOpener={openExternal:o=>we(this,void 0,void 0,function*(){return(0,n.matchesSomeScheme)(o,f.Schemas.http,f.Schemas.https)?L.windowOpenNoOpener(o):window.location.href=o,!0})},this._openers.push({open:(o,d)=>we(this,void 0,void 0,function*(){return d?.openExternal||(0,n.matchesSomeScheme)(o,f.Schemas.mailto,f.Schemas.http,f.Schemas.https,f.Schemas.vsls)?(yield this._doOpenExternal(o,d),!0):!1})}),this._openers.push(new t(c)),this._openers.push(new a(r))}registerOpener(r){return{dispose:this._openers.unshift(r)}}open(r,c){var o;return we(this,void 0,void 0,function*(){const d=typeof r=="string"?g.URI.parse(r):r,l=(o=this._resolvedUriTargets.get(d))!==null&&o!==void 0?o:r;for(const p of this._validators)if(!(yield p.shouldOpen(l,c)))return!1;for(const p of this._openers)if(yield p.open(r,c))return!0;return!1})}resolveExternalUri(r,c){return we(this,void 0,void 0,function*(){for(const o of this._resolvers)try{const d=yield o.resolveExternalUri(r,c);if(d)return this._resolvedUriTargets.has(d.resolved)||this._resolvedUriTargets.set(d.resolved,r),d}catch{}throw new Error("Could not resolve external URI: "+r.toString())})}_doOpenExternal(r,c){return we(this,void 0,void 0,function*(){const o=typeof r=="string"?g.URI.parse(r):r;let d;try{d=(yield this.resolveExternalUri(o,c)).resolved}catch{d=o}let l;if(typeof r=="string"&&o.toString()===d.toString()?l=r:l=encodeURI(d.toString(!0)),c?.allowContributedOpeners){const p=typeof c?.allowContributedOpeners=="string"?c?.allowContributedOpeners:void 0;for(const m of this._externalOpeners)if(yield m.openExternal(l,{sourceUri:o,preferredOpenerId:p},k.CancellationToken.None))return!0}return this._defaultExternalOpener.openExternal(l,{sourceUri:o},k.CancellationToken.None)})}dispose(){this._validators.clear()}};e.OpenerService=u,e.OpenerService=u=ke([fe(0,C.ICodeEditorService),fe(1,s.ICommandService)],u)}),define(ne[76],se([1,0,143,65,141,239,50,8,70,56]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureDebounceService=e.ILanguageFeatureDebounceService=void 0,e.ILanguageFeatureDebounceService=(0,f.createDecorator)("ILanguageFeatureDebounceService");var C;(function(t){const a=new WeakMap;let u=0;function h(r){let c=a.get(r);return c===void 0&&(c=++u,a.set(r,c)),c}t.of=h})(C||(C={}));class s{constructor(a){this._default=a}get(a){return this._default}update(a,u){return this._default}default(){return this._default}}class i{constructor(a,u,h,r,c,o){this._logService=a,this._name=u,this._registry=h,this._default=r,this._min=c,this._max=o,this._cache=new k.LRUCache(50,.7)}_key(a){return a.id+this._registry.all(a).reduce((u,h)=>(0,L.doHash)(C.of(h),u),0)}get(a){const u=this._key(a),h=this._cache.get(u);return h?(0,y.clamp)(h.value,this._min,this._max):this.default()}update(a,u){const h=this._key(a);let r=this._cache.get(h);r||(r=new y.SlidingWindowAverage(6),this._cache.set(h,r));const c=(0,y.clamp)(r.update(u),this._min,this._max);return(0,g.matchesScheme)(a.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${a.uri.toString()} is ${c}ms`),c}_overall(){const a=new y.MovingAverage;for(const[,u]of this._cache)a.update(u.value);return a.value}default(){const a=this._overall()|0||this._default;return(0,y.clamp)(a,this._min,this._max)}}let n=class{constructor(a,u){this._logService=a,this._data=new Map,this._isDev=u.isExtensionDevelopment||!u.isBuilt}for(a,u,h){var r,c,o;const d=(r=h?.min)!==null&&r!==void 0?r:50,l=(c=h?.max)!==null&&c!==void 0?c:Math.pow(d,2),p=(o=h?.key)!==null&&o!==void 0?o:void 0,m=`${C.of(a)},${d}${p?","+p:""}`;let v=this._data.get(m);return v||(this._isDev?v=new i(this._logService,u,a,this._overallAverage()|0||d*1.5,d,l):(this._logService.debug(`[DEBOUNCE: ${u}] is disabled in developed mode`),v=new s(d*1.5)),this._data.set(m,v)),v}_overallAverage(){const a=new y.MovingAverage;for(const u of this._data.values())a.update(u.default());return a.value}};e.LanguageFeatureDebounceService=n,e.LanguageFeatureDebounceService=n=ke([fe(0,_.ILogService),fe(1,D.IEnvironmentService)],n),(0,S.registerSingleton)(e.ILanguageFeatureDebounceService,n,1)}),define(ne[188],se([1,0,14,19,9,46,65,12,5,76,8,50,51,2,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModelService=e.IOutlineModelService=e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class a{remove(){var d;(d=this.parent)===null||d===void 0||d.children.delete(this.id)}static findId(d,l){let p;typeof d=="string"?p=`${l.id}/${d}`:(p=`${l.id}/${d.name}`,l.children.get(p)!==void 0&&(p=`${l.id}/${d.name}_${d.range.startLineNumber}_${d.range.startColumn}`));let m=p;for(let v=0;l.children.get(m)!==void 0;v++)m=`${p}_${v}`;return m}static empty(d){return d.children.size===0}}e.TreeElement=a;class u extends a{constructor(d,l,p){super(),this.id=d,this.parent=l,this.symbol=p,this.children=new Map}}e.OutlineElement=u;class h extends a{constructor(d,l,p,m){super(),this.id=d,this.parent=l,this.label=p,this.order=m,this.children=new Map}}e.OutlineGroup=h;class r extends a{static create(d,l,p){const m=new k.CancellationTokenSource(p),v=new r(l.uri),b=d.ordered(l),w=b.map((I,M)=>{var P;const x=a.findId(`provider_${M}`,v),T=new h(x,v,(P=I.displayName)!==null&&P!==void 0?P:"Unknown Outline Provider",M);return Promise.resolve(I.provideDocumentSymbols(l,m.token)).then(A=>{for(const N of A||[])r._makeOutlineElement(N,T);return T},A=>((0,y.onUnexpectedExternalError)(A),T)).then(A=>{a.empty(A)?A.remove():v._groups.set(x,A)})}),E=d.onDidChange(()=>{const I=d.ordered(l);(0,L.equals)(I,b)||m.cancel()});return Promise.all(w).then(()=>m.token.isCancellationRequested&&!p.isCancellationRequested?r.create(d,l,p):v._compact()).finally(()=>{E.dispose()})}static _makeOutlineElement(d,l){const p=a.findId(d,l),m=new u(p,l,d);if(d.children)for(const v of d.children)r._makeOutlineElement(v,m);l.children.set(m.id,m)}constructor(d){super(),this.uri=d,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let d=0;for(const[l,p]of this._groups)p.children.size===0?this._groups.delete(l):d+=1;if(d!==1)this.children=this._groups;else{const l=D.Iterable.first(this._groups.values());for(const[,p]of l.children)p.parent=this,this.children.set(p.id,p)}return this}getTopLevelSymbols(){const d=[];for(const l of this.children.values())l instanceof u?d.push(l.symbol):d.push(...D.Iterable.map(l.children.values(),p=>p.symbol));return d.sort((l,p)=>_.Range.compareRangesUsingStarts(l.range,p.range))}asListOfDocumentSymbols(){const d=this.getTopLevelSymbols(),l=[];return r._flattenDocumentSymbols(l,d,""),l.sort((p,m)=>f.Position.compare(_.Range.getStartPosition(p.range),_.Range.getStartPosition(m.range))||f.Position.compare(_.Range.getEndPosition(m.range),_.Range.getEndPosition(p.range)))}static _flattenDocumentSymbols(d,l,p){for(const m of l)d.push({kind:m.kind,tags:m.tags,name:m.name,detail:m.detail,containerName:m.containerName||p,range:m.range,selectionRange:m.selectionRange,children:void 0}),m.children&&r._flattenDocumentSymbols(d,m.children,m.name)}}e.OutlineModel=r,e.IOutlineModelService=(0,C.createDecorator)("IOutlineModelService");let c=class{constructor(d,l,p){this._languageFeaturesService=d,this._disposables=new n.DisposableStore,this._cache=new S.LRUCache(10,.7),this._debounceInformation=l.for(d.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(p.onModelRemoved(m=>{this._cache.delete(m.id)}))}dispose(){this._disposables.dispose()}getOrCreate(d,l){return we(this,void 0,void 0,function*(){const p=this._languageFeaturesService.documentSymbolProvider,m=p.ordered(d);let v=this._cache.get(d.id);if(!v||v.versionId!==d.getVersionId()||!(0,L.equals)(v.provider,m)){const w=new k.CancellationTokenSource;v={versionId:d.getVersionId(),provider:m,promiseCnt:0,source:w,promise:r.create(p,d,w.token),model:void 0},this._cache.set(d.id,v);const E=Date.now();v.promise.then(I=>{v.model=I,this._debounceInformation.update(d,Date.now()-E)}).catch(I=>{this._cache.delete(d.id)})}if(v.model)return v.model;v.promiseCnt+=1;const b=l.onCancellationRequested(()=>{--v.promiseCnt===0&&(v.source.cancel(),this._cache.delete(d.id))});try{return yield v.promise}finally{b.dispose()}})}};e.OutlineModelService=c,e.OutlineModelService=c=ke([fe(0,t.ILanguageFeaturesService),fe(1,g.ILanguageFeatureDebounceService),fe(2,i.IModelService)],c),(0,s.registerSingleton)(e.IOutlineModelService,c,1)}),define(ne[769],se([1,0,19,20,22,69,188,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),f.CommandsRegistry.registerCommand("_executeDocumentSymbolProvider",function(_,...g){return we(this,void 0,void 0,function*(){const[C]=g;(0,k.assertType)(y.URI.isUri(C));const s=_.get(S.IOutlineModelService),n=yield _.get(D.ITextModelService).createModelReference(C);try{return(yield s.getOrCreate(n.object.textEditorModel,L.CancellationToken.None)).getTopLevelSymbols()}finally{n.dispose()}})})}),define(ne[770],se([1,0,7,81,44,61,6,2,56,473]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Link=void 0;let g=class extends f.Disposable{get enabled(){return this._enabled}set enabled(s){s?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=s}constructor(s,i,n={},t){var a;super(),this._link=i,this._enabled=!0,this.el=(0,L.append)(s,(0,L.$)("a.monaco-link",{tabIndex:(a=i.tabIndex)!==null&&a!==void 0?a:0,href:i.href,title:i.title},i.label)),this.el.setAttribute("role","button");const u=this._register(new k.DomEmitter(this.el,"click")),h=this._register(new k.DomEmitter(this.el,"keypress")),r=S.Event.chain(h.event).map(d=>new y.StandardKeyboardEvent(d)).filter(d=>d.keyCode===3).event,c=this._register(new k.DomEmitter(this.el,D.EventType.Tap)).event;this._register(D.Gesture.addTarget(this.el));const o=S.Event.any(u.event,r,c);this._register(o(d=>{this.enabled&&(L.EventHelper.stop(d,!0),n?.opener?n.opener(this._link.href):t.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}};e.Link=g,e.Link=g=ke([fe(3,_.IOpenerService)],g)}),define(ne[77],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorProgressService=e.Progress=e.emptyProgressRunner=e.IProgressService=void 0,e.IProgressService=(0,L.createDecorator)("progressService"),e.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}});class k{constructor(D,S){this.callback=D,this.report=S?.async?this._reportAsync.bind(this):this._reportSync.bind(this)}_reportSync(D){this._value=D,this.callback(this._value)}_reportAsync(D){Promise.resolve(this._lastTask).finally(()=>{this._value=D;const S=this.callback(this._value);this._lastTask=Promise.resolve(S).finally(()=>this._lastTask=void 0)})}}e.Progress=k,k.None=Object.freeze({report(){}}),e.IEditorProgressService=(0,L.createDecorator)("editorProgressService")}),define(ne[771],se([1,0,13,19,2,20]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PickerQuickAccessProvider=e.TriggerAction=void 0;var S;(function(C){C[C.NO_ACTION=0]="NO_ACTION",C[C.CLOSE_PICKER=1]="CLOSE_PICKER",C[C.REFRESH_PICKER=2]="REFRESH_PICKER",C[C.REMOVE_ITEM=3]="REMOVE_ITEM"})(S||(e.TriggerAction=S={}));function f(C){const s=C;return Array.isArray(s.items)}function _(C){const s=C;return!!s.picks&&s.additionalPicks instanceof Promise}class g extends y.Disposable{constructor(s,i){super(),this.prefix=s,this.options=i}provide(s,i,n){var t;const a=new y.DisposableStore;s.canAcceptInBackground=!!(!((t=this.options)===null||t===void 0)&&t.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;let u;const h=a.add(new y.MutableDisposable),r=()=>we(this,void 0,void 0,function*(){const c=h.value=new y.DisposableStore;u?.dispose(!0),s.busy=!1,u=new k.CancellationTokenSource(i);const o=u.token,d=s.value.substr(this.prefix.length).trim(),l=this._getPicks(d,c,o,n),p=(v,b)=>{var w;let E,I;if(f(v)?(E=v.items,I=v.active):E=v,E.length===0){if(b)return!1;(d.length>0||s.hideInput)&&(!((w=this.options)===null||w===void 0)&&w.noResultsPick)&&((0,D.isFunction)(this.options.noResultsPick)?E=[this.options.noResultsPick(d)]:E=[this.options.noResultsPick])}return s.items=E,I&&(s.activeItems=[I]),!0},m=v=>we(this,void 0,void 0,function*(){let b=!1,w=!1;yield Promise.all([(()=>we(this,void 0,void 0,function*(){typeof v.mergeDelay=="number"&&(yield(0,L.timeout)(v.mergeDelay),o.isCancellationRequested)||w||(b=p(v.picks,!0))}))(),(()=>we(this,void 0,void 0,function*(){s.busy=!0;try{const E=yield v.additionalPicks;if(o.isCancellationRequested)return;let I,M;f(v.picks)?(I=v.picks.items,M=v.picks.active):I=v.picks;let P,x;if(f(E)?(P=E.items,x=E.active):P=E,P.length>0||!b){let T;if(!M&&!x){const A=s.activeItems[0];A&&I.indexOf(A)!==-1&&(T=A)}p({items:[...I,...P],active:M||x||T})}}finally{o.isCancellationRequested||(s.busy=!1),w=!0}}))()])});if(l!==null)if(_(l))yield m(l);else if(!(l instanceof Promise))p(l);else{s.busy=!0;try{const v=yield l;if(o.isCancellationRequested)return;_(v)?yield m(v):p(v)}finally{o.isCancellationRequested||(s.busy=!1)}}});return a.add(s.onDidChangeValue(()=>r())),r(),a.add(s.onDidAccept(c=>{const[o]=s.selectedItems;typeof o?.accept=="function"&&(c.inBackground||s.hide(),o.accept(s.keyMods,c))})),a.add(s.onDidTriggerItemButton(({button:c,item:o})=>we(this,void 0,void 0,function*(){var d,l;if(typeof o.trigger=="function"){const p=(l=(d=o.buttons)===null||d===void 0?void 0:d.indexOf(c))!==null&&l!==void 0?l:-1;if(p>=0){const m=o.trigger(p,s.keyMods),v=typeof m=="number"?m:yield m;if(i.isCancellationRequested)return;switch(v){case S.NO_ACTION:break;case S.CLOSE_PICKER:s.hide();break;case S.REFRESH_PICKER:r();break;case S.REMOVE_ITEM:{const b=s.items.indexOf(o);if(b!==-1){const w=s.items.slice(),E=w.splice(b,1),I=s.activeItems.filter(P=>P!==E[0]),M=s.keepScrollPosition;s.keepScrollPosition=!0,s.items=w,I&&(s.activeItems=I),s.keepScrollPosition=M}break}}}}}))),a}}e.PickerQuickAccessProvider=g}),define(ne[772],se([1,0,7,44,60,228,2,101,174]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputBox=void 0;const _=L.$;class g extends S.Disposable{constructor(s,i,n){super(),this.parent=s,this.onKeyDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.KEY_DOWN,u=>{a(new k.StandardKeyboardEvent(u))}),this.onMouseDown=a=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.MOUSE_DOWN,u=>{a(new y.StandardMouseEvent(u))}),this.onDidChange=a=>this.findInput.onDidChange(a),this.container=L.append(this.parent,_(".quick-input-box")),this.findInput=this._register(new D.FindInput(this.container,void 0,{label:"",inputBoxStyles:i,toggleStyles:n}));const t=this.findInput.inputBox.inputElement;t.role="combobox",t.ariaHasPopup="menu",t.ariaAutoComplete="list",t.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(s){this.findInput.setValue(s)}select(s=null){this.findInput.inputBox.select(s)}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(s){this.findInput.inputBox.setPlaceHolder(s)}get password(){return this.findInput.inputBox.inputElement.type==="password"}set password(s){this.findInput.inputBox.inputElement.type=s?"password":"text"}set enabled(s){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!s)}set toggles(s){this.findInput.setAdditionalToggles(s)}setAttribute(s,i){this.findInput.inputBox.inputElement.setAttribute(s,i)}showDecoration(s){s===f.default.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:s===f.default.Info?1:s===f.default.Warning?2:3,content:""})}stylesForType(s){return this.findInput.inputBox.stylesForType(s===f.default.Info?1:s===f.default.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}e.QuickInputBox=g}),define(ne[339],se([1,0,7,81,6,44,61,129,164,385,735,174]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderQuickInputDescription=e.getIconClass=void 0;const s={},i=new _.IdGenerator("quick-input-button-icon-");function n(a){if(!a)return;let u;const h=a.dark.toString();return s[h]?u=s[h]:(u=i.nextId(),L.createCSSRule(`.${u}, .hc-light .${u}`,`background-image: ${L.asCSSUrl(a.light||a.dark)}`),L.createCSSRule(`.vs-dark .${u}, .hc-black .${u}`,`background-image: ${L.asCSSUrl(a.dark)}`),s[h]=u),u}e.getIconClass=n;function t(a,u,h){L.reset(u);const r=(0,g.parseLinkedText)(a);let c=0;for(const o of r.nodes)if(typeof o=="string")u.append(...(0,f.renderLabelWithIcons)(o));else{let d=o.title;!d&&o.href.startsWith("command:")?d=(0,C.localize)(0,null,o.href.substring(8)):d||(d=o.href);const l=L.$("a",{href:o.href,title:d,tabIndex:c++},o.label);l.style.textDecoration="underline";const p=E=>{L.isEventLike(E)&&L.EventHelper.stop(E,!0),h.callback(o.href)},m=h.disposables.add(new k.DomEmitter(l,L.EventType.CLICK)).event,v=h.disposables.add(new k.DomEmitter(l,L.EventType.KEY_DOWN)).event,b=h.disposables.add(y.Event.chain(v)).filter(E=>{const I=new D.StandardKeyboardEvent(E);return I.equals(10)||I.equals(3)}).event;h.disposables.add(S.Gesture.addTarget(l));const w=h.disposables.add(new k.DomEmitter(l,S.EventType.Tap)).event;y.Event.any(m,w,b)(p,null,h.disposables),u.appendChild(l)}}e.renderQuickInputDescription=t}),define(ne[71],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IQuickInputService=e.quickPickItemScorerAccessor=e.QuickPickItemScorerAccessor=e.ItemActivation=e.QuickInputHideReason=e.NO_KEY_MODS=void 0,e.NO_KEY_MODS={ctrlCmd:!1,alt:!1};var k;(function(S){S[S.Blur=1]="Blur",S[S.Gesture=2]="Gesture",S[S.Other=3]="Other"})(k||(e.QuickInputHideReason=k={}));var y;(function(S){S[S.NONE=0]="NONE",S[S.FIRST=1]="FIRST",S[S.SECOND=2]="SECOND",S[S.LAST=3]="LAST"})(y||(e.ItemActivation=y={}));class D{constructor(f){this.options=f}}e.QuickPickItemScorerAccessor=D,e.quickPickItemScorerAccessor=new D,e.IQuickInputService=(0,L.createDecorator)("quickInputService")}),define(ne[37],se([1,0,85,20]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Registry=void 0;class y{constructor(){this.data=new Map}add(S,f){L.ok(k.isString(S)),L.ok(k.isObject(f)),L.ok(!this.data.has(S),"There is already an extension with this id"),this.data.set(S,f)}as(S){return this.data.get(S)||null}}e.Registry=new y}),define(ne[340],se([1,0,37]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LocalSelectionTransfer=e.Extensions=e.CodeDataTransfers=void 0,e.CodeDataTransfers={EDITORS:"CodeEditors",FILES:"CodeFiles"};class k{}e.Extensions={DragAndDropContribution:"workbench.contributions.dragAndDrop"},L.Registry.add(e.Extensions.DragAndDropContribution,new k);class y{constructor(){}static getInstance(){return y.INSTANCE}hasData(S){return S&&S===this.proto}getData(S){if(this.hasData(S))return this.data}}e.LocalSelectionTransfer=y,y.INSTANCE=new y}),define(ne[341],se([1,0,197,171,107,22,340]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toExternalVSDataTransfer=e.toVSDataTransfer=void 0;function f(s){const i=new k.VSDataTransfer;for(const n of s.items){const t=n.type;if(n.kind==="string"){const a=new Promise(u=>n.getAsString(u));i.append(t,(0,k.createStringDataTransferItem)(a))}else if(n.kind==="file"){const a=n.getAsFile();a&&i.append(t,_(a))}}return i}e.toVSDataTransfer=f;function _(s){const i=s.path?D.URI.parse(s.path):void 0;return(0,k.createFileDataTransferItem)(s.name,i,()=>we(this,void 0,void 0,function*(){return new Uint8Array(yield s.arrayBuffer())}))}const g=Object.freeze([S.CodeDataTransfers.EDITORS,S.CodeDataTransfers.FILES,L.DataTransfers.RESOURCES,L.DataTransfers.INTERNAL_URI_LIST]);function C(s,i=!1){const n=f(s),t=n.get(L.DataTransfers.INTERNAL_URI_LIST);if(t)n.replace(y.Mimes.uriList,t);else if(i||!n.has(y.Mimes.uriList)){const a=[];for(const u of s.items){const h=u.getAsFile();if(h){const r=h.path;try{r?a.push(D.URI.file(r).toString()):a.push(D.URI.parse(h.name,!0).toString())}catch{}}}a.length&&n.replace(y.Mimes.uriList,(0,k.createStringDataTransferItem)(k.UriList.create(a)))}for(const a of g)n.delete(a);return n}e.toExternalVSDataTransfer=C}),define(ne[240],se([1,0,6,37]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=void 0,e.Extensions={JSONContribution:"base.contributions.json"};function y(f){return f.length>0&&f.charAt(f.length-1)==="#"?f.substring(0,f.length-1):f}class D{constructor(){this._onDidChangeSchema=new L.Emitter,this.schemasById={}}registerSchema(_,g){this.schemasById[y(_)]=g,this._onDidChangeSchema.fire(_)}notifySchemaChanged(_){this._onDidChangeSchema.fire(_)}}const S=new D;k.Registry.add(e.Extensions.JSONContribution,S)}),define(ne[98],se([1,0,14,6,20,721,28,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateProperty=e.getDefaultValue=e.overrideIdentifiersFromKey=e.OVERRIDE_PROPERTY_REGEX=e.OVERRIDE_PROPERTY_PATTERN=e.resourceLanguageSettingsSchemaId=e.resourceSettings=e.windowSettings=e.machineOverridableSettings=e.machineSettings=e.applicationSettings=e.allSettings=e.Extensions=void 0,e.Extensions={Configuration:"base.contributions.configuration"},e.allSettings={properties:{},patternProperties:{}},e.applicationSettings={properties:{},patternProperties:{}},e.machineSettings={properties:{},patternProperties:{}},e.machineOverridableSettings={properties:{},patternProperties:{}},e.windowSettings={properties:{},patternProperties:{}},e.resourceSettings={properties:{},patternProperties:{}},e.resourceLanguageSettingsSchemaId="vscode://schemas/settings/resourceLanguage";const g=_.Registry.as(f.Extensions.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new k.Emitter,this._onDidUpdateConfiguration=new k.Emitter,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:D.localize(0,null),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(r,c=!0){this.registerConfigurations([r],c)}registerConfigurations(r,c=!0){const o=new Set;this.doRegisterConfigurations(r,c,o),g.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:o})}registerDefaultConfigurations(r){const c=new Set;this.doRegisterDefaultConfigurations(r,c),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:c,defaultsOverrides:!0})}doRegisterDefaultConfigurations(r,c){var o;const d=[];for(const{overrides:l,source:p}of r)for(const m in l)if(c.add(m),e.OVERRIDE_PROPERTY_REGEX.test(m)){const v=this.configurationDefaultsOverrides.get(m),b=(o=v?.valuesSources)!==null&&o!==void 0?o:new Map;if(p)for(const M of Object.keys(l[m]))b.set(M,p);const w=Object.assign(Object.assign({},v?.value||{}),l[m]);this.configurationDefaultsOverrides.set(m,{source:p,value:w,valuesSources:b});const E=(0,S.getLanguageTagSettingPlainKey)(m),I={type:"object",default:w,description:D.localize(1,null,E),$ref:e.resourceLanguageSettingsSchemaId,defaultDefaultValue:w,source:y.isString(p)?void 0:p,defaultValueSource:p};d.push(...n(m)),this.configurationProperties[m]=I,this.defaultLanguageConfigurationOverridesNode.properties[m]=I}else{this.configurationDefaultsOverrides.set(m,{value:l[m],source:p});const v=this.configurationProperties[m];v&&(this.updatePropertyDefaultValue(m,v),this.updateSchema(m,v))}this.doRegisterOverrideIdentifiers(d)}registerOverrideIdentifiers(r){this.doRegisterOverrideIdentifiers(r),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(r){for(const c of r)this.overrideIdentifiers.add(c);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(r,c,o){r.forEach(d=>{this.validateAndRegisterProperties(d,c,d.extensionInfo,d.restrictedProperties,void 0,o),this.configurationContributors.push(d),this.registerJSONConfiguration(d)})}validateAndRegisterProperties(r,c=!0,o,d,l=3,p){var m;l=y.isUndefinedOrNull(r.scope)?l:r.scope;const v=r.properties;if(v)for(const w in v){const E=v[w];if(c&&u(w,E)){delete v[w];continue}if(E.source=o,E.defaultDefaultValue=v[w].default,this.updatePropertyDefaultValue(w,E),e.OVERRIDE_PROPERTY_REGEX.test(w)?E.scope=void 0:(E.scope=y.isUndefinedOrNull(E.scope)?l:E.scope,E.restricted=y.isUndefinedOrNull(E.restricted)?!!d?.includes(w):E.restricted),v[w].hasOwnProperty("included")&&!v[w].included){this.excludedConfigurationProperties[w]=v[w],delete v[w];continue}else this.configurationProperties[w]=v[w],!((m=v[w].policy)===null||m===void 0)&&m.name&&this.policyConfigurations.set(v[w].policy.name,w);!v[w].deprecationMessage&&v[w].markdownDeprecationMessage&&(v[w].deprecationMessage=v[w].markdownDeprecationMessage),p.add(w)}const b=r.allOf;if(b)for(const w of b)this.validateAndRegisterProperties(w,c,o,d,l,p)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(r){const c=o=>{const d=o.properties;if(d)for(const p in d)this.updateSchema(p,d[p]);const l=o.allOf;l?.forEach(c)};c(r)}updateSchema(r,c){switch(e.allSettings.properties[r]=c,c.scope){case 1:e.applicationSettings.properties[r]=c;break;case 2:e.machineSettings.properties[r]=c;break;case 6:e.machineOverridableSettings.properties[r]=c;break;case 3:e.windowSettings.properties[r]=c;break;case 4:e.resourceSettings.properties[r]=c;break;case 5:e.resourceSettings.properties[r]=c,this.resourceLanguageSettingsSchema.properties[r]=c;break}}updateOverridePropertyPatternKey(){for(const r of this.overrideIdentifiers.values()){const c=`[${r}]`,o={type:"object",description:D.localize(2,null),errorMessage:D.localize(3,null),$ref:e.resourceLanguageSettingsSchemaId};this.updatePropertyDefaultValue(c,o),e.allSettings.properties[c]=o,e.applicationSettings.properties[c]=o,e.machineSettings.properties[c]=o,e.machineOverridableSettings.properties[c]=o,e.windowSettings.properties[c]=o,e.resourceSettings.properties[c]=o}}registerOverridePropertyPatternKey(){const r={type:"object",description:D.localize(4,null),errorMessage:D.localize(5,null),$ref:e.resourceLanguageSettingsSchemaId};e.allSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.applicationSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.machineOverridableSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.windowSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,e.resourceSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=r,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(r,c){const o=this.configurationDefaultsOverrides.get(r);let d=o?.value,l=o?.source;y.isUndefined(d)&&(d=c.defaultDefaultValue,l=void 0),y.isUndefined(d)&&(d=t(c.type)),c.default=d,c.defaultValueSource=l}}const s="\\[([^\\]]+)\\]",i=new RegExp(s,"g");e.OVERRIDE_PROPERTY_PATTERN=`^(${s})+$`,e.OVERRIDE_PROPERTY_REGEX=new RegExp(e.OVERRIDE_PROPERTY_PATTERN);function n(h){const r=[];if(e.OVERRIDE_PROPERTY_REGEX.test(h)){let c=i.exec(h);for(;c?.length;){const o=c[1].trim();o&&r.push(o),c=i.exec(h)}}return(0,L.distinct)(r)}e.overrideIdentifiersFromKey=n;function t(h){switch(Array.isArray(h)?h[0]:h){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}e.getDefaultValue=t;const a=new C;_.Registry.add(e.Extensions.Configuration,a);function u(h,r){var c,o,d,l;return h.trim()?e.OVERRIDE_PROPERTY_REGEX.test(h)?D.localize(7,null,h):a.getConfigurationProperties()[h]!==void 0?D.localize(8,null,h):!((c=r.policy)===null||c===void 0)&&c.name&&a.getPolicyConfigurations().get((o=r.policy)===null||o===void 0?void 0:o.name)!==void 0?D.localize(9,null,h,(d=r.policy)===null||d===void 0?void 0:d.name,a.getPolicyConfigurations().get((l=r.policy)===null||l===void 0?void 0:l.name)):null:D.localize(6,null)}e.validateProperty=u}),define(ne[241],se([1,0,271,36,175,618,98,37]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDiffEditorConfigurationKey=e.isEditorConfigurationKey=e.editorConfigurationBaseNode=void 0,e.editorConfigurationBaseNode=Object.freeze({id:"editor",order:5,type:"object",title:D.localize(0,null),scope:5});const _=Object.assign(Object.assign({},e.editorConfigurationBaseNode),{properties:{"editor.tabSize":{type:"number",default:y.EDITOR_MODEL_DEFAULTS.tabSize,minimum:1,markdownDescription:D.localize(1,null,"`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:D.localize(2,null)},"editor.insertSpaces":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.insertSpaces,markdownDescription:D.localize(3,null,"`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.detectIndentation,markdownDescription:D.localize(4,null,"`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,description:D.localize(5,null)},"editor.largeFileOptimizations":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,description:D.localize(6,null)},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:D.localize(7,null)},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[D.localize(8,null),D.localize(9,null),D.localize(10,null)],description:D.localize(11,null)},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[D.localize(12,null),D.localize(13,null),D.localize(14,null)],default:"configuredByTheme",description:D.localize(15,null)},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:D.localize(16,null)},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:D.localize(17,null)},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:D.localize(18,null),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:D.localize(19,null)},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:D.localize(20,null),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:D.localize(21,null),items:{type:"array",items:[{type:"string",description:D.localize(22,null)},{type:"string",description:D.localize(23,null)}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:D.localize(24,null),items:{type:"array",items:[{type:"string",description:D.localize(25,null)},{type:"string",description:D.localize(26,null)}]}},"diffEditor.maxComputationTime":{type:"number",default:L.diffEditorDefaultOptions.maxComputationTime,description:D.localize(27,null)},"diffEditor.maxFileSize":{type:"number",default:L.diffEditorDefaultOptions.maxFileSize,description:D.localize(28,null)},"diffEditor.renderSideBySide":{type:"boolean",default:L.diffEditorDefaultOptions.renderSideBySide,description:D.localize(29,null)},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:L.diffEditorDefaultOptions.renderSideBySideInlineBreakpoint,description:D.localize(30,null)},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:L.diffEditorDefaultOptions.useInlineViewWhenSpaceIsLimited,description:D.localize(31,null)},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:L.diffEditorDefaultOptions.renderMarginRevertIcon,description:D.localize(32,null)},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:L.diffEditorDefaultOptions.ignoreTrimWhitespace,description:D.localize(33,null)},"diffEditor.renderIndicators":{type:"boolean",default:L.diffEditorDefaultOptions.renderIndicators,description:D.localize(34,null)},"diffEditor.codeLens":{type:"boolean",default:L.diffEditorDefaultOptions.diffCodeLens,description:D.localize(35,null)},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:L.diffEditorDefaultOptions.diffWordWrap,markdownEnumDescriptions:[D.localize(36,null),D.localize(37,null),D.localize(38,null,"`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:L.diffEditorDefaultOptions.diffAlgorithm,markdownEnumDescriptions:[D.localize(39,null),D.localize(40,null)],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:L.diffEditorDefaultOptions.hideUnchangedRegions.enabled,markdownDescription:D.localize(41,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.revealLineCount,markdownDescription:D.localize(42,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.minimumLineCount,markdownDescription:D.localize(43,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.contextLineCount,markdownDescription:D.localize(44,null,"`#diffEditor.experimental.useVersion2#`"),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showMoves,markdownDescription:D.localize(45,null,"`#diffEditor.experimental.useVersion2#`")},"diffEditor.experimental.useVersion2":{type:"boolean",default:!0,description:D.localize(46,null),tags:["experimental"]},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showEmptyDecorations,description:D.localize(47,null)}}});function g(a){return typeof a.type<"u"||typeof a.anyOf<"u"}for(const a of k.editorOptionsRegistry){const u=a.schema;if(typeof u<"u")if(g(u))_.properties[`editor.${a.name}`]=u;else for(const h in u)Object.hasOwnProperty.call(u,h)&&(_.properties[h]=u[h])}let C=null;function s(){return C===null&&(C=Object.create(null),Object.keys(_.properties).forEach(a=>{C[a]=!0})),C}function i(a){return s()[`editor.${a}`]||!1}e.isEditorConfigurationKey=i;function n(a){return s()[`diffEditor.${a}`]||!1}e.isDiffEditorConfigurationKey=n,f.Registry.as(S.Extensions.Configuration).registerConfiguration(_)}),define(ne[78],se([1,0,628,6,37,107,98]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLAINTEXT_EXTENSION=e.PLAINTEXT_LANGUAGE_ID=e.ModesRegistry=e.EditorModesRegistry=e.Extensions=void 0,e.Extensions={ModesRegistry:"editor.modesRegistry"};class f{constructor(){this._onDidChangeLanguages=new k.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(g){return this._languages.push(g),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let C=0,s=this._languages.length;C{const W=O.change.keys.some(j=>F.has(j)),U=O.change.overrides.filter(([j,R])=>R.some(K=>F.has(K))).map(([j])=>j);if(W)this.configurations.clear(),this.onDidChangeEmitter.fire(new c(void 0));else for(const j of U)this.languageService.isRegisteredLanguageId(j)&&(this.configurations.delete(j),this.onDidChangeEmitter.fire(new c(j)))})),this._register(this._registry.onDidChange(O=>{this.configurations.delete(O.languageId),this.onDidChangeEmitter.fire(new c(O.languageId))}))}register(A,N,F){return this._registry.register(A,N,F)}getLanguageConfiguration(A){let N=this.configurations.get(A);return N||(N=d(A,this._registry,this.configurationService,this.languageService),this.configurations.set(A,N)),N}};e.LanguageConfigurationService=o,e.LanguageConfigurationService=o=ke([fe(0,t.IConfigurationService),fe(1,a.ILanguageService)],o);function d(T,A,N,F){let O=A.getLanguageConfiguration(T);if(!O){if(!F.isRegisteredLanguageId(T))return new x(T,{});O=new x(T,{})}const W=p(O.languageId,N),U=E([O.underlyingConfig,W]);return new x(O.languageId,U)}const l={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function p(T,A){const N=A.getValue(l.brackets,{overrideIdentifier:T}),F=A.getValue(l.colorizedBracketPairs,{overrideIdentifier:T});return{brackets:m(N),colorizedBracketPairs:m(F)}}function m(T){if(Array.isArray(T))return T.map(A=>{if(!(!Array.isArray(A)||A.length!==2))return[A[0],A[1]]}).filter(A=>!!A)}function v(T,A,N){const F=T.getLineContent(A);let O=y.getLeadingWhitespace(F);return O.length>N-1&&(O=O.substring(0,N-1)),O}e.getIndentationAtPosition=v;function b(T,A,N){T.tokenization.forceTokenization(A);const F=T.tokenization.getLineTokens(A),O=typeof N>"u"?T.getLineMaxColumn(A)-1:N-1;return(0,f.createScopedLineTokens)(F,O)}e.getScopedLineTokens=b;class w{constructor(A){this.languageId=A,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(A,N){const F=new I(A,N,++this._order);return this._entries.push(F),this._resolved=null,(0,k.toDisposable)(()=>{for(let O=0;OA.configuration)))}}function E(T){let A={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const N of T)A={comments:N.comments||A.comments,brackets:N.brackets||A.brackets,wordPattern:N.wordPattern||A.wordPattern,indentationRules:N.indentationRules||A.indentationRules,onEnterRules:N.onEnterRules||A.onEnterRules,autoClosingPairs:N.autoClosingPairs||A.autoClosingPairs,surroundingPairs:N.surroundingPairs||A.surroundingPairs,autoCloseBefore:N.autoCloseBefore||A.autoCloseBefore,folding:N.folding||A.folding,colorizedBracketPairs:N.colorizedBracketPairs||A.colorizedBracketPairs,__electricCharacterSupport:N.__electricCharacterSupport||A.__electricCharacterSupport};return A}class I{constructor(A,N,F){this.configuration=A,this.priority=N,this.order=F}static cmp(A,N){return A.priority===N.priority?A.order-N.order:A.priority-N.priority}}class M{constructor(A){this.languageId=A}}e.LanguageConfigurationChangeEvent=M;class P extends k.Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._register(this.register(h.PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(A,N,F=0){let O=this._entries.get(A);O||(O=new w(A),this._entries.set(A,O));const W=O.register(N,F);return this._onDidChange.fire(new M(A)),(0,k.toDisposable)(()=>{W.dispose(),this._onDidChange.fire(new M(A))})}getLanguageConfiguration(A){const N=this._entries.get(A);return N?.getResolvedConfiguration()||null}}e.LanguageConfigurationRegistry=P;class x{constructor(A,N){this.languageId=A,this.underlyingConfig=N,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new s.OnEnterSupport(this.underlyingConfig):null,this.comments=x._handleComments(this.underlyingConfig),this.characterPair=new _.CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||D.DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new C.IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new r.LanguageBracketsConfiguration(A,this.underlyingConfig)}getWordDefinition(){return(0,D.ensureValidWordDefinition)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new i.RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new g.BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(A,N,F,O){return this._onEnterSupport?this._onEnterSupport.onEnter(A,N,F,O):null}getAutoClosingPairs(){return new S.AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(A){return this.characterPair.getAutoCloseBeforeSet(A)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(A){const N=A.comments;if(!N)return null;const F={};if(N.lineComment&&(F.lineCommentToken=N.lineComment),N.blockComment){const[O,W]=N.blockComment;F.blockCommentStartToken=O,F.blockCommentEndToken=W}return F}}e.ResolvedLanguageConfiguration=x,(0,u.registerSingleton)(e.ILanguageConfigurationService,o,1)}),define(ne[242],se([1,0,13,2,317,587,5,32,627,51,187,14,70,58,9,18,109,66]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorWorkerClient=e.EditorWorkerHost=e.EditorWorkerService=void 0;const r=60*1e3,c=5*60*1e3;function o(E,I){const M=E.getModel(I);return!(!M||M.isTooLargeForSyncing())}let d=class extends k.Disposable{constructor(I,M,P,x,T){super(),this._modelService=I,this._workerManager=this._register(new p(this._modelService,x)),this._logService=P,this._register(T.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(A,N)=>o(this._modelService,A.uri)?this._workerManager.withWorker().then(F=>F.computeLinks(A.uri)).then(F=>F&&{links:F}):Promise.resolve({links:[]})})),this._register(T.completionProvider.register("*",new l(this._workerManager,M,this._modelService,x)))}dispose(){super.dispose()}canComputeUnicodeHighlights(I){return o(this._modelService,I)}computedUnicodeHighlights(I,M,P){return this._workerManager.withWorker().then(x=>x.computedUnicodeHighlights(I,M,P))}computeDiff(I,M,P,x){return we(this,void 0,void 0,function*(){const T=yield this._workerManager.withWorker().then(F=>F.computeDiff(I,M,P,x));if(!T)return null;return{identical:T.identical,quitEarly:T.quitEarly,changes:N(T.changes),moves:T.moves.map(F=>new u.MovedText(new u.SimpleLineRangeMapping(new h.LineRange(F[0],F[1]),new h.LineRange(F[2],F[3])),N(F[4])))};function N(F){return F.map(O=>{var W;return new u.LineRangeMapping(new h.LineRange(O[0],O[1]),new h.LineRange(O[2],O[3]),(W=O[4])===null||W===void 0?void 0:W.map(U=>new u.RangeMapping(new S.Range(U[0],U[1],U[2],U[3]),new S.Range(U[4],U[5],U[6],U[7]))))})}})}computeMoreMinimalEdits(I,M,P=!1){if((0,s.isNonEmptyArray)(M)){if(!o(this._modelService,I))return Promise.resolve(M);const x=n.StopWatch.create(),T=this._workerManager.withWorker().then(A=>A.computeMoreMinimalEdits(I,M,P));return T.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",I.toString(!0),x.elapsed())),Promise.race([T,(0,L.timeout)(1e3).then(()=>M)])}else return Promise.resolve(void 0)}canNavigateValueSet(I){return o(this._modelService,I)}navigateValueSet(I,M,P){return this._workerManager.withWorker().then(x=>x.navigateValueSet(I,M,P))}canComputeWordRanges(I){return o(this._modelService,I)}computeWordRanges(I,M){return this._workerManager.withWorker().then(P=>P.computeWordRanges(I,M))}};e.EditorWorkerService=d,e.EditorWorkerService=d=ke([fe(0,g.IModelService),fe(1,C.ITextResourceConfigurationService),fe(2,i.ILogService),fe(3,f.ILanguageConfigurationService),fe(4,a.ILanguageFeaturesService)],d);class l{constructor(I,M,P,x){this.languageConfigurationService=x,this._debugDisplayName="wordbasedCompletions",this._workerManager=I,this._configurationService=M,this._modelService=P}provideCompletionItems(I,M){return we(this,void 0,void 0,function*(){const P=this._configurationService.getValue(I.uri,M,"editor");if(!P.wordBasedSuggestions)return;const x=[];if(P.wordBasedSuggestionsMode==="currentDocument")o(this._modelService,I.uri)&&x.push(I.uri);else for(const U of this._modelService.getModels())o(this._modelService,U.uri)&&(U===I?x.unshift(U.uri):(P.wordBasedSuggestionsMode==="allDocuments"||U.getLanguageId()===I.getLanguageId())&&x.push(U.uri));if(x.length===0)return;const T=this.languageConfigurationService.getLanguageConfiguration(I.getLanguageId()).getWordDefinition(),A=I.getWordAtPosition(M),N=A?new S.Range(M.lineNumber,A.startColumn,M.lineNumber,A.endColumn):S.Range.fromPositions(M),F=N.setEndPosition(M.lineNumber,M.column),W=yield(yield this._workerManager.withWorker()).textualSuggest(x,A?.word,T);if(W)return{duration:W.duration,suggestions:W.words.map(U=>({kind:18,label:U,insertText:U,range:{insert:F,replace:N}}))}})}}class p extends k.Disposable{constructor(I,M){super(),this.languageConfigurationService=M,this._modelService=I,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new L.IntervalTimer).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(c/2)),this._register(this._modelService.onModelRemoved(x=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>c&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new w(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class m extends k.Disposable{constructor(I,M,P){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=I,this._modelService=M,!P){const x=new L.IntervalTimer;x.cancelAndSet(()=>this._checkStopModelSync(),Math.round(r/2)),this._register(x)}}dispose(){for(const I in this._syncedModels)(0,k.dispose)(this._syncedModels[I]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(I,M){for(const P of I){const x=P.toString();this._syncedModels[x]||this._beginModelSync(P,M),this._syncedModels[x]&&(this._syncedModelsLastUsedTime[x]=new Date().getTime())}}_checkStopModelSync(){const I=new Date().getTime(),M=[];for(const P in this._syncedModelsLastUsedTime)I-this._syncedModelsLastUsedTime[P]>r&&M.push(P);for(const P of M)this._stopModelSync(P)}_beginModelSync(I,M){const P=this._modelService.getModel(I);if(!P||!M&&P.isTooLargeForSyncing())return;const x=I.toString();this._proxy.acceptNewModel({url:P.uri.toString(),lines:P.getLinesContent(),EOL:P.getEOL(),versionId:P.getVersionId()});const T=new k.DisposableStore;T.add(P.onDidChangeContent(A=>{this._proxy.acceptModelChanged(x.toString(),A)})),T.add(P.onWillDispose(()=>{this._stopModelSync(x)})),T.add((0,k.toDisposable)(()=>{this._proxy.acceptRemovedModel(x)})),this._syncedModels[x]=T}_stopModelSync(I){const M=this._syncedModels[I];delete this._syncedModels[I],delete this._syncedModelsLastUsedTime[I],(0,k.dispose)(M)}}class v{constructor(I){this._instance=I,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class b{constructor(I){this._workerClient=I}fhr(I,M){return this._workerClient.fhr(I,M)}}e.EditorWorkerHost=b;class w extends k.Disposable{constructor(I,M,P,x){super(),this.languageConfigurationService=x,this._disposed=!1,this._modelService=I,this._keepIdleModels=M,this._workerFactory=new D.DefaultWorkerFactory(P),this._worker=null,this._modelManager=null}fhr(I,M){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new y.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new b(this)))}catch(I){(0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,I=>((0,y.logOnceWebWorkerWarning)(I),this._worker=new v(new _.EditorSimpleWorker(new b(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(I){return this._modelManager||(this._modelManager=this._register(new m(I,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(I,M=!1){return we(this,void 0,void 0,function*(){return this._disposed?Promise.reject((0,t.canceled)()):this._getProxy().then(P=>(this._getOrCreateModelManager(P).ensureSyncedResources(I,M),P))})}computedUnicodeHighlights(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeUnicodeHighlights(I.toString(),M,P))}computeDiff(I,M,P,x){return this._withSyncedResources([I,M],!0).then(T=>T.computeDiff(I.toString(),M.toString(),P,x))}computeMoreMinimalEdits(I,M,P){return this._withSyncedResources([I]).then(x=>x.computeMoreMinimalEdits(I.toString(),M,P))}computeLinks(I){return this._withSyncedResources([I]).then(M=>M.computeLinks(I.toString()))}computeDefaultDocumentColors(I){return this._withSyncedResources([I]).then(M=>M.computeDefaultDocumentColors(I.toString()))}textualSuggest(I,M,P){return we(this,void 0,void 0,function*(){const x=yield this._withSyncedResources(I),T=P.source,A=P.flags;return x.textualSuggest(I.map(N=>N.toString()),M,T,A)})}computeWordRanges(I,M){return this._withSyncedResources([I]).then(P=>{const x=this._modelService.getModel(I);if(!x)return Promise.resolve(null);const T=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition(),A=T.source,N=T.flags;return P.computeWordRanges(I.toString(),M,A,N)})}navigateValueSet(I,M,P){return this._withSyncedResources([I]).then(x=>{const T=this._modelService.getModel(I);if(!T)return null;const A=this.languageConfigurationService.getLanguageConfiguration(T.getLanguageId()).getWordDefinition(),N=A.source,F=A.flags;return x.navigateValueSet(I.toString(),M,P,N,F)})}dispose(){super.dispose(),this._disposed=!0}}e.EditorWorkerClient=w}),define(ne[773],se([1,0,47,242]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWebWorker=void 0;function y(S,f,_){return new D(S,f,_)}e.createWebWorker=y;class D extends k.EditorWorkerClient{constructor(f,_,g){super(f,g.keepIdleModels||!1,g.label,_),this._foreignModuleId=g.moduleId,this._foreignModuleCreateData=g.createData||null,this._foreignModuleHost=g.host||null,this._foreignProxy=null}fhr(f,_){if(!this._foreignModuleHost||typeof this._foreignModuleHost[f]!="function")return Promise.reject(new Error("Missing method "+f+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[f].apply(this._foreignModuleHost,_))}catch(g){return Promise.reject(g)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(f=>{const _=this._foreignModuleHost?(0,L.getAllMethodNames)(this._foreignModuleHost):[];return f.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,_).then(g=>{this._foreignModuleCreateData=null;const C=(n,t)=>f.fmr(n,t),s=(n,t)=>function(){const a=Array.prototype.slice.call(arguments,0);return t(n,a)},i={};for(const n of g)i[n]=s(n,C);return i})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(f){return this._withSyncedResources(f).then(_=>this.getProxy())}}}),define(ne[243],se([1,0,11,110,125,32]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndentMetadata=e.getIndentActionForType=e.getIndentForEnter=e.getGoodIndentForLine=e.getInheritIndentForLine=void 0;function S(i,n,t){const a=i.tokenization.getLanguageIdAtPosition(n,0);if(n>1){let u,h=-1;for(u=n-1;u>=1;u--){if(i.tokenization.getLanguageIdAtPosition(u,0)!==a)return h;const r=i.getLineContent(u);if(t.shouldIgnore(r)||/^\s+$/.test(r)||r===""){h=u;continue}return u}}return-1}function f(i,n,t,a=!0,u){if(i<4)return null;const h=u.getLanguageConfiguration(n.tokenization.getLanguageId()).indentRulesSupport;if(!h)return null;if(t<=1)return{indentation:"",action:null};for(let o=t-1;o>0&&n.getLineContent(o)==="";o--)if(o===1)return{indentation:"",action:null};const r=S(n,t,h);if(r<0)return null;if(r<1)return{indentation:"",action:null};const c=n.getLineContent(r);if(h.shouldIncrease(c)||h.shouldIndentNextLine(c))return{indentation:L.getLeadingWhitespace(c),action:k.IndentAction.Indent,line:r};if(h.shouldDecrease(c))return{indentation:L.getLeadingWhitespace(c),action:null,line:r};{if(r===1)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};const o=r-1,d=h.getIndentMetadata(n.getLineContent(o));if(!(d&3)&&d&4){let l=0;for(let p=o-1;p>0;p--)if(!h.shouldIndentNextLine(n.getLineContent(p))){l=p;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(l+1)),action:null,line:l+1}}if(a)return{indentation:L.getLeadingWhitespace(n.getLineContent(r)),action:null,line:r};for(let l=r;l>0;l--){const p=n.getLineContent(l);if(h.shouldIncrease(p))return{indentation:L.getLeadingWhitespace(p),action:k.IndentAction.Indent,line:l};if(h.shouldIndentNextLine(p)){let m=0;for(let v=l-1;v>0;v--)if(!h.shouldIndentNextLine(n.getLineContent(l))){m=v;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(m+1)),action:null,line:m+1}}else if(h.shouldDecrease(p))return{indentation:L.getLeadingWhitespace(p),action:null,line:l}}return{indentation:L.getLeadingWhitespace(n.getLineContent(1)),action:null,line:1}}}e.getInheritIndentForLine=f;function _(i,n,t,a,u,h){if(i<4)return null;const r=h.getLanguageConfiguration(t);if(!r)return null;const c=h.getLanguageConfiguration(t).indentRulesSupport;if(!c)return null;const o=f(i,n,a,void 0,h),d=n.getLineContent(a);if(o){const l=o.line;if(l!==void 0){let p=!0;for(let m=l;m0&&h.getLanguageId(0)!==r.languageId?(o=!0,d=c.substr(0,t.startColumn-1-r.firstCharOffset)):d=h.getLineContent().substring(0,t.startColumn-1);let l;t.isEmpty()?l=c.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset);const p=u.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!p)return null;const m=d,v=L.getLeadingWhitespace(d),b={tokenization:{getLineTokens:M=>n.tokenization.getLineTokens(M),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(M,P)=>n.getLanguageIdAtPosition(M,P)},getLineContent:M=>M===t.startLineNumber?m:n.getLineContent(M)},w=L.getLeadingWhitespace(h.getLineContent()),E=f(i,b,t.startLineNumber+1,void 0,u);if(!E){const M=o?w:v;return{beforeEnter:M,afterEnter:M}}let I=o?w:E.indentation;return E.action===k.IndentAction.Indent&&(I=a.shiftIndent(I)),p.shouldDecrease(l)&&(I=a.unshiftIndent(I)),{beforeEnter:o?w:v,afterEnter:I}}e.getIndentForEnter=g;function C(i,n,t,a,u,h){if(i<4)return null;const r=(0,D.getScopedLineTokens)(n,t.startLineNumber,t.startColumn);if(r.firstCharOffset)return null;const c=h.getLanguageConfiguration(r.languageId).indentRulesSupport;if(!c)return null;const o=r.getLineContent(),d=o.substr(0,t.startColumn-1-r.firstCharOffset);let l;if(t.isEmpty()?l=o.substr(t.startColumn-1-r.firstCharOffset):l=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-r.firstCharOffset),!c.shouldDecrease(d+l)&&c.shouldDecrease(d+a+l)){const p=f(i,n,t.startLineNumber,!1,h);if(!p)return null;let m=p.indentation;return p.action!==k.IndentAction.Indent&&(m=u.unshiftIndent(m)),m}return null}e.getIndentActionForType=C;function s(i,n,t){const a=t.getLanguageConfiguration(i.getLanguageId()).indentRulesSupport;return!a||n<1||n>i.getLineCount()?null:a.getIndentMetadata(i.getLineContent(n))}e.getIndentMetadata=s}),define(ne[244],se([1,0,110,32]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnterAction=void 0;function y(D,S,f,_){const g=(0,k.getScopedLineTokens)(S,f.startLineNumber,f.startColumn),C=_.getLanguageConfiguration(g.languageId);if(!C)return null;const s=g.getLineContent(),i=s.substr(0,f.startColumn-1-g.firstCharOffset);let n;f.isEmpty()?n=s.substr(f.startColumn-1-g.firstCharOffset):n=(0,k.getScopedLineTokens)(S,f.endLineNumber,f.endColumn).getLineContent().substr(f.endColumn-1-g.firstCharOffset);let t="";if(f.startLineNumber>1&&g.firstCharOffset===0){const o=(0,k.getScopedLineTokens)(S,f.startLineNumber-1);o.languageId===g.languageId&&(t=o.getLineContent())}const a=C.onEnter(D,t,i,n);if(!a)return null;const u=a.indentAction;let h=a.appendText;const r=a.removeText||0;h?u===L.IndentAction.Indent&&(h=" "+h):u===L.IndentAction.Indent||u===L.IndentAction.IndentOutdent?h=" ":h="";let c=(0,k.getIndentationAtPosition)(S,f.startLineNumber,f.startColumn);return r&&(c=c.substring(0,c.length-r)),{indentAction:u,appendText:h,removeText:r,indentation:c}}e.getEnterAction=y}),define(ne[245],se([1,0,11,82,5,24,244,32]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ShiftCommand=void 0;const g=Object.create(null);function C(i,n){if(n<=0)return"";g[i]||(g[i]=["",i]);const t=g[i];for(let a=t.length;a<=n;a++)t[a]=t[a-1]+i;return t[n]}let s=_=class{static unshiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.prevIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.prevRenderTabStop(r,a)/a;return C(c,d)}}static shiftIndent(n,t,a,u,h){const r=k.CursorColumns.visibleColumnFromColumn(n,t,a);if(h){const c=C(" ",u),d=k.CursorColumns.nextIndentTabStop(r,u)/u;return C(c,d)}else{const c=" ",d=k.CursorColumns.nextRenderTabStop(r,a)/a;return C(c,d)}}constructor(n,t,a){this._languageConfigurationService=a,this._opts=t,this._selection=n,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(n,t,a){this._useLastEditRangeForCursorEndPosition?n.addTrackedEditOperation(t,a):n.addEditOperation(t,a)}getEditOperations(n,t){const a=this._selection.startLineNumber;let u=this._selection.endLineNumber;this._selection.endColumn===1&&a!==u&&(u=u-1);const{tabSize:h,indentSize:r,insertSpaces:c}=this._opts,o=a===u;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(n.getLineContent(a))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,l=0;for(let p=a;p<=u;p++,d=l){l=0;const m=n.getLineContent(p);let v=L.firstNonWhitespaceIndex(m);if(this._opts.isUnshift&&(m.length===0||v===0)||!o&&!this._opts.isUnshift&&m.length===0)continue;if(v===-1&&(v=m.length),p>1&&k.CursorColumns.visibleColumnFromColumn(m,v+1,h)%r!==0&&n.tokenization.isCheapToTokenize(p-1)){const E=(0,S.getEnterAction)(this._opts.autoIndent,n,new y.Range(p-1,n.getLineMaxColumn(p-1),p-1,n.getLineMaxColumn(p-1)),this._languageConfigurationService);if(E){if(l=d,E.appendText)for(let I=0,M=E.appendText.length;I1){let M;for(M=b-1;M>=1;M--){const T=v.getLineContent(M);if(k.lastNonWhitespaceIndex(T)>=0)break}if(M<1)return null;const P=v.getLineMaxColumn(M),x=(0,a.getEnterAction)(m.autoIndent,v,new g.Range(M,P,M,P),m.languageConfigurationService);x&&(E=x.indentation+x.appendText)}return w&&(w===s.IndentAction.Indent&&(E=u.shiftIndent(m,E)),w===s.IndentAction.Outdent&&(E=u.unshiftIndent(m,E)),E=m.normalizeIndentation(E)),E||null}static _replaceJumpToNextIndent(m,v,b,w){let E="";const I=b.getStartPosition();if(m.insertSpaces){const M=m.visibleColumnFromColumn(v,I),P=m.indentSize,x=P-M%P;for(let T=0;Tthis._compositionType(b,T,E,I,M,P));return new f.EditOperationResult(4,x,{shouldPushStackElementBefore:o(m,4),shouldPushStackElementAfter:!1})}static _compositionType(m,v,b,w,E,I){if(!v.isEmpty())return null;const M=v.getPosition(),P=Math.max(1,M.column-w),x=Math.min(m.getLineMaxColumn(M.lineNumber),M.column+E),T=new g.Range(M.lineNumber,P,M.lineNumber,x);return m.getValueInRange(T)===b&&I===0?null:new y.ReplaceCommandWithOffsetCursorState(T,b,0,I)}static _typeCommand(m,v,b){return b?new y.ReplaceCommandWithoutChangingPosition(m,v,!0):new y.ReplaceCommand(m,v,!0)}static _enter(m,v,b,w){if(m.autoIndent===0)return u._typeCommand(w,` -`,b);if(!v.tokenization.isCheapToTokenize(w.getStartPosition().lineNumber)||m.autoIndent===1){const P=v.getLineContent(w.startLineNumber),x=k.getLeadingWhitespace(P).substring(0,w.startColumn-1);return u._typeCommand(w,` -`+m.normalizeIndentation(x),b)}const E=(0,a.getEnterAction)(m.autoIndent,v,w,m.languageConfigurationService);if(E){if(E.indentAction===s.IndentAction.None)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.Indent)return u._typeCommand(w,` -`+m.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.IndentOutdent){const P=m.normalizeIndentation(E.indentation),x=m.normalizeIndentation(E.indentation+E.appendText),T=` -`+x+` -`+P;return b?new y.ReplaceCommandWithoutChangingPosition(w,T,!0):new y.ReplaceCommandWithOffsetCursorState(w,T,-1,x.length-P.length,!0)}else if(E.indentAction===s.IndentAction.Outdent){const P=u.unshiftIndent(m,E.indentation);return u._typeCommand(w,` -`+m.normalizeIndentation(P+E.appendText),b)}}const I=v.getLineContent(w.startLineNumber),M=k.getLeadingWhitespace(I).substring(0,w.startColumn-1);if(m.autoIndent>=4){const P=(0,t.getIndentForEnter)(m.autoIndent,v,w,{unshiftIndent:x=>u.unshiftIndent(m,x),shiftIndent:x=>u.shiftIndent(m,x),normalizeIndentation:x=>m.normalizeIndentation(x)},m.languageConfigurationService);if(P){let x=m.visibleColumnFromColumn(v,w.getEndPosition());const T=w.endColumn,A=v.getLineContent(w.endLineNumber),N=k.firstNonWhitespaceIndex(A);if(N>=0?w=w.setEndPosition(w.endLineNumber,Math.max(w.endColumn,N+1)):w=w.setEndPosition(w.endLineNumber,v.getLineMaxColumn(w.endLineNumber)),b)return new y.ReplaceCommandWithoutChangingPosition(w,` -`+m.normalizeIndentation(P.afterEnter),!0);{let F=0;return T<=N+1&&(m.insertSpaces||(x=Math.ceil(x/m.indentSize)),F=Math.min(x+1-m.normalizeIndentation(P.afterEnter).length-1,0)),new y.ReplaceCommandWithOffsetCursorState(w,` -`+m.normalizeIndentation(P.afterEnter),0,F,!0)}}}return u._typeCommand(w,` -`+m.normalizeIndentation(M),b)}static _isAutoIndentType(m,v,b){if(m.autoIndent<4)return!1;for(let w=0,E=b.length;wu.shiftIndent(m,M),unshiftIndent:M=>u.unshiftIndent(m,M)},m.languageConfigurationService);if(I===null)return null;if(I!==m.normalizeIndentation(E)){const M=v.getLineFirstNonWhitespaceColumn(b.startLineNumber);return M===0?u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+w,!1):u._typeCommand(new g.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),m.normalizeIndentation(I)+v.getLineContent(b.startLineNumber).substring(M-1,b.startColumn-1)+w,!1)}return null}static _isAutoClosingOvertype(m,v,b,w,E){if(m.autoClosingOvertype==="never"||!m.autoClosingPairs.autoClosingPairsCloseSingleChar.has(E))return!1;for(let I=0,M=b.length;I2?T.charCodeAt(x.column-2):0)===92&&N)return!1;if(m.autoClosingOvertype==="auto"){let O=!1;for(let W=0,U=w.length;Wv.startsWith(P.open)),M=E.some(P=>v.startsWith(P.close));return!I&&M}static _findAutoClosingPairOpen(m,v,b,w){const E=m.autoClosingPairs.autoClosingPairsOpenByEnd.get(w);if(!E)return null;let I=null;for(const M of E)if(I===null||M.open.length>I.open.length){let P=!0;for(const x of b)if(v.getValueInRange(new g.Range(x.lineNumber,x.column-M.open.length+1,x.lineNumber,x.column))+w!==M.open){P=!1;break}P&&(I=M)}return I}static _findContainedAutoClosingPair(m,v){if(v.open.length<=1)return null;const b=v.close.charAt(v.close.length-1),w=m.autoClosingPairs.autoClosingPairsCloseByEnd.get(b)||[];let E=null;for(const I of w)I.open!==v.open&&v.open.includes(I.open)&&v.close.endsWith(I.close)&&(!E||I.open.length>E.open.length)&&(E=I);return E}static _getAutoClosingPairClose(m,v,b,w,E){const I=(0,f.isQuote)(w),M=I?m.autoClosingQuotes:m.autoClosingBrackets,P=I?m.shouldAutoCloseBefore.quote:m.shouldAutoCloseBefore.bracket;if(M==="never")return null;for(const O of b)if(!O.isEmpty())return null;const x=b.map(O=>{const W=O.getPosition();return E?{lineNumber:W.lineNumber,beforeColumn:W.column-w.length,afterColumn:W.column}:{lineNumber:W.lineNumber,beforeColumn:W.column,afterColumn:W.column}}),T=this._findAutoClosingPairOpen(m,v,x.map(O=>new C.Position(O.lineNumber,O.beforeColumn)),w);if(!T)return null;const A=this._findContainedAutoClosingPair(m,T),N=A?A.close:"";let F=!0;for(const O of x){const{lineNumber:W,beforeColumn:U,afterColumn:j}=O,R=v.getLineContent(W),K=R.substring(0,U-1),G=R.substring(j-1);if(G.startsWith(N)||(F=!1),G.length>0){const H=G.charAt(0);if(!u._isBeforeClosingBrace(m,G)&&!P(H))return null}if(T.open.length===1&&(w==="'"||w==='"')&&M!=="always"){const H=(0,_.getMapForWordSeparators)(m.wordSeparators);if(K.length>0){const B=K.charCodeAt(K.length-1);if(H.get(B)===0)return null}}if(!v.tokenization.isCheapToTokenize(W))return null;v.tokenization.forceTokenization(W);const Z=v.tokenization.getLineTokens(W),J=(0,n.createScopedLineTokens)(Z,U-1);if(!T.shouldAutoClose(J,U-J.firstCharOffset))return null;const X=T.findNeutralCharacter();if(X){const H=v.tokenization.getTokenTypeIfInsertingCharacter(W,U,X);if(!T.isOK(H))return null}}return F?T.close.substring(0,T.close.length-N.length):T.close}static _runAutoClosingOpenCharType(m,v,b,w,E,I,M){const P=[];for(let x=0,T=w.length;xnew y.ReplaceCommand(new g.Range(N.positionLineNumber,N.positionColumn,N.positionLineNumber,N.positionColumn+1),"",!1));return new f.EditOperationResult(4,A,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const T=this._getAutoClosingPairClose(v,b,E,P,!0);return T!==null?this._runAutoClosingOpenCharType(m,v,b,E,P,!0,T):null}static typeWithInterceptors(m,v,b,w,E,I,M){if(!m&&M===` -`){const T=[];for(let A=0,N=E.length;A0){const l=this._cursors.getSelections();for(let p=0;pw&&(v=v.slice(0,w),b=!0);const E=u.from(this._model,this);return this._cursors.setStates(v),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(l,p,m,E,b)}setCursorColumnSelectData(l){this._columnSelectData=l}revealPrimary(l,p,m,v,b,w){const E=this._cursors.getViewPositions();let I=null,M=null;E.length>1?M=this._cursors.getViewSelections():I=g.Range.fromPositions(E[0],E[0]),l.emitViewEvent(new i.ViewRevealRangeRequestEvent(p,m,I,M,v,b,w))}saveState(){const l=[],p=this._cursors.getSelections();for(let m=0,v=p.length;m0){const b=D.CursorState.fromModelSelections(m.resultingSelection);this.setStates(l,"modelChange",m.isUndoing?5:m.isRedoing?6:2,b)&&this.revealPrimary(l,"modelChange",!1,0,!0,0)}else{const b=this._cursors.readSelectionFromMarkers();this.setStates(l,"modelChange",2,D.CursorState.fromModelSelections(b))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const l=this._cursors.getPrimaryCursor(),p=l.viewState.selectionStart.getStartPosition(),m=l.viewState.position;return{isReal:!1,fromViewLineNumber:p.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,p),toViewLineNumber:m.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,m)}}getSelections(){return this._cursors.getSelections()}setSelections(l,p,m,v){this.setStates(l,p,v,D.CursorState.fromModelSelections(m))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(l){this._prevEditOperationType=l}_pushAutoClosedAction(l,p){const m=[],v=[];for(let E=0,I=l.length;E0&&this._pushAutoClosedAction(m,v),this._prevEditOperationType=l.type}l.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(l){(!l||l.length===0)&&(l=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(l),this._cursors.normalize()}_emitStateChangedIfNecessary(l,p,m,v,b){const w=u.from(this._model,this);if(w.equals(v))return!1;const E=this._cursors.getSelections(),I=this._cursors.getViewSelections();if(l.emitViewEvent(new i.ViewCursorStateChangedEvent(I,E,m)),!v||v.cursorState.length!==w.cursorState.length||w.cursorState.some((M,P)=>!M.modelState.equals(v.cursorState[P].modelState))){const M=v?v.cursorState.map(x=>x.modelState.selection):null,P=v?v.modelVersionId:0;l.emitOutgoingEvent(new t.CursorStateChangedEvent(M,E,P,w.modelVersionId,p||"keyboard",m,b))}return!0}_findAutoClosingPairs(l){if(!l.length)return null;const p=[];for(let m=0,v=l.length;m=0)return null;const w=b.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!w)return null;const E=w[1],I=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(E);if(!I||I.length!==1)return null;const M=I[0].open,P=b.text.length-w[2].length-1,x=b.text.lastIndexOf(M,P-1);if(x===-1)return null;p.push([x,P])}return p}executeEdits(l,p,m,v){let b=null;p==="snippet"&&(b=this._findAutoClosingPairs(m)),b&&(m[0]._isTracked=!0);const w=[],E=[],I=this._model.pushEditOperations(this.getSelections(),m,M=>{if(b)for(let x=0,T=b.length;x0&&this._pushAutoClosedAction(w,E)}_executeEdit(l,p,m,v=0){if(this.context.cursorConfig.readOnly)return;const b=u.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),l()}catch(w){(0,L.onUnexpectedError)(w)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(p,m,v,b,!1)&&this.revealPrimary(p,m,!1,0,!0,0)}getAutoClosedCharacters(){return h.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(l){this._compositionState=new o(this._model,this.getSelections())}endComposition(l,p){const m=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{p==="keyboard"&&this._executeEditOperation(_.TypeOperations.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,m,this.getSelections(),this.getAutoClosedCharacters()))},l,p)}type(l,p,m){this._executeEdit(()=>{if(m==="keyboard"){const v=p.length;let b=0;for(;b{const M=I.getPosition();return new C.Selection(M.lineNumber,M.column+b,M.lineNumber,M.column+b)});this.setSelections(l,w,E,0)}return}this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),p,m,v,b))},l,w)}paste(l,p,m,v,b){this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.paste(this.context.cursorConfig,this._model,this.getSelections(),p,m,v||[]))},l,b,4)}cut(l,p){this._executeEdit(()=>{this._executeEditOperation(f.DeleteOperations.cut(this.context.cursorConfig,this._model,this.getSelections()))},l,p)}executeCommand(l,p,m){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new D.EditOperationResult(0,[p],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}executeCommands(l,p,m){this._executeEdit(()=>{this._executeEditOperation(new D.EditOperationResult(0,p,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},l,m)}}e.CursorsController=a;class u{static from(l,p){return new u(l.getVersionId(),p.getCursorStates())}constructor(l,p){this.modelVersionId=l,this.cursorState=p}equals(l){if(!l||this.modelVersionId!==l.modelVersionId||this.cursorState.length!==l.cursorState.length)return!1;for(let p=0,m=this.cursorState.length;p=p.length||!p[m].strictContainsRange(l[m]))return!1;return!0}}class r{static executeCommands(l,p,m){const v={model:l,selectionsBefore:p,trackedRanges:[],trackedRangesDirection:[]},b=this._innerExecuteCommands(v,m);for(let w=0,E=v.trackedRanges.length;w0&&(w[0]._isTracked=!0);let E=l.model.pushEditOperations(l.selectionsBefore,w,M=>{const P=[];for(let A=0;AA.identifier.minor-N.identifier.minor,T=[];for(let A=0;A0?(P[A].sort(x),T[A]=p[A].computeCursorState(l.model,{getInverseEditOperations:()=>P[A],getTrackedSelection:N=>{const F=parseInt(N,10),O=l.model._getTrackedRange(l.trackedRanges[F]);return l.trackedRangesDirection[F]===0?new C.Selection(O.startLineNumber,O.startColumn,O.endLineNumber,O.endColumn):new C.Selection(O.endLineNumber,O.endColumn,O.startLineNumber,O.startColumn)}})):T[A]=l.selectionsBefore[A];return T});E||(E=l.selectionsBefore);const I=[];for(const M in b)b.hasOwnProperty(M)&&I.push(parseInt(M,10));I.sort((M,P)=>P-M);for(const M of I)E.splice(M,1);return E}static _arrayIsEmpty(l){for(let p=0,m=l.length;p{g.Range.isEmpty(x)&&T===""||v.push({identifier:{major:p,minor:b++},range:x,text:T,forceMoveMarkers:A,isAutoWhitespaceEdit:m.insertsAutoWhitespace})};let E=!1;const P={addEditOperation:w,addTrackedEditOperation:(x,T,A)=>{E=!0,w(x,T,A)},trackSelection:(x,T)=>{const A=C.Selection.liftSelection(x);let N;if(A.isEmpty())if(typeof T=="boolean")T?N=2:N=3;else{const W=l.model.getLineMaxColumn(A.startLineNumber);A.startColumn===W?N=2:N=3}else N=1;const F=l.trackedRanges.length,O=l.model._setTrackedRange(null,A,N);return l.trackedRanges[F]=O,l.trackedRangesDirection[F]=A.getDirection(),F.toString()}};try{m.getEditOperations(l.model,P)}catch(x){return(0,L.onUnexpectedError)(x),{operations:[],hadTrackedEditOperation:!1}}return{operations:v,hadTrackedEditOperation:E}}static _getLoserCursorMap(l){l=l.slice(0),l.sort((m,v)=>-g.Range.compareRangesUsingEnds(m.range,v.range));const p={};for(let m=1;mb.identifier.major?w=v.identifier.major:w=b.identifier.major,p[w.toString()]=!0;for(let E=0;E0&&m--}}return p}}class c{constructor(l,p,m){this.text=l,this.startSelection=p,this.endSelection=m}}class o{static _capture(l,p){const m=[];for(const v of p){if(v.startLineNumber!==v.endLineNumber)return null;m.push(new c(l.getLineContent(v.startLineNumber),v.startColumn-1,v.endColumn-1))}return m}constructor(l,p){this._original=o._capture(l,p)}deduceOutcome(l,p){if(!this._original)return null;const m=o._capture(l,p);if(!m||this._original.length!==m.length)return null;const v=[];for(let b=0,w=this._original.length;b{m.mime===p.mime||m.userConfigured||(p.extension&&m.extension===p.extension&&console.warn(`Overwriting extension <<${p.extension}>> to now point to mime <<${p.mime}>>`),p.filename&&m.filename===p.filename&&console.warn(`Overwriting filename <<${p.filename}>> to now point to mime <<${p.mime}>>`),p.filepattern&&m.filepattern===p.filepattern&&console.warn(`Overwriting filepattern <<${p.filepattern}>> to now point to mime <<${p.mime}>>`),p.firstline&&m.firstline===p.firstline&&console.warn(`Overwriting firstline <<${p.firstline}>> to now point to mime <<${p.mime}>>`))})}function t(o,d){return{id:o.id,mime:o.mime,filename:o.filename,extension:o.extension,filepattern:o.filepattern,firstline:o.firstline,userConfigured:d,filenameLowercase:o.filename?o.filename.toLowerCase():void 0,extensionLowercase:o.extension?o.extension.toLowerCase():void 0,filepatternLowercase:o.filepattern?(0,L.parse)(o.filepattern.toLowerCase()):void 0,filepatternOnPath:o.filepattern?o.filepattern.indexOf(D.posix.sep)>=0:!1}}function a(){g=g.filter(o=>o.userConfigured),C=[]}e.clearPlatformLanguageAssociations=a;function u(o,d){return h(o,d).map(l=>l.id)}e.getLanguageIds=u;function h(o,d){let l;if(o)switch(o.scheme){case y.Schemas.file:l=o.fsPath;break;case y.Schemas.data:{l=S.DataUri.parseMetaData(o).get(S.DataUri.META_DATA_LABEL);break}case y.Schemas.vscodeNotebookCell:l=void 0;break;default:l=o.path}if(!l)return[{id:"unknown",mime:k.Mimes.unknown}];l=l.toLowerCase();const p=(0,D.basename)(l),m=r(l,p,s);if(m)return[m,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];const v=r(l,p,C);if(v)return[v,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}];if(d){const b=c(d);if(b)return[b,{id:_.PLAINTEXT_LANGUAGE_ID,mime:k.Mimes.text}]}return[{id:"unknown",mime:k.Mimes.unknown}]}function r(o,d,l){var p;let m,v,b;for(let w=l.length-1;w>=0;w--){const E=l[w];if(d===E.filenameLowercase){m=E;break}if(E.filepattern&&(!v||E.filepattern.length>v.filepattern.length)){const I=E.filepatternOnPath?o:d;!((p=E.filepatternLowercase)===null||p===void 0)&&p.call(E,I)&&(v=E)}E.extension&&(!b||E.extension.length>b.extension.length)&&d.endsWith(E.extensionLowercase)&&(b=E)}if(m)return m;if(v)return v;if(b)return b}function c(o){if((0,f.startsWithUTF8BOM)(o)&&(o=o.substr(1)),o.length>0)for(let d=g.length-1;d>=0;d--){const l=g[d];if(!l.firstline)continue;const p=o.match(l.firstline);if(p&&p.length>0)return l}}}),define(ne[777],se([1,0,6,2,11,776,78,98,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguagesRegistry=e.LanguageIdCodec=void 0;const g=Object.prototype.hasOwnProperty,C="vs.editor.nullLanguage";class s{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(C,0),this._register(S.PLAINTEXT_LANGUAGE_ID,1),this._nextLanguageId=2}_register(t,a){this._languageIdToLanguage[a]=t,this._languageToLanguageId.set(t,a)}register(t){if(this._languageToLanguageId.has(t))return;const a=this._nextLanguageId++;this._register(t,a)}encodeLanguageId(t){return this._languageToLanguageId.get(t)||0}decodeLanguageId(t){return this._languageIdToLanguage[t]||C}}e.LanguageIdCodec=s;class i extends k.Disposable{constructor(t=!0,a=!1){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,i.instanceCount++,this._warnOnOverwrite=a,this.languageIdCodec=new s,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},t&&(this._initializeFromRegistry(),this._register(S.ModesRegistry.onDidChangeLanguages(u=>{this._initializeFromRegistry()})))}dispose(){i.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},(0,D.clearPlatformLanguageAssociations)();const t=[].concat(S.ModesRegistry.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(t)}_registerLanguages(t){for(const a of t)this._registerLanguage(a);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(a=>{const u=this._languages[a];u.name&&(this._nameMap[u.name]=u.identifier),u.aliases.forEach(h=>{this._lowercaseNameMap[h.toLowerCase()]=u.identifier}),u.mimetypes.forEach(h=>{this._mimeTypesMap[h]=u.identifier})}),_.Registry.as(f.Extensions.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(t){const a=t.id;let u;g.call(this._languages,a)?u=this._languages[a]:(this.languageIdCodec.register(a),u={identifier:a,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[a]=u),this._mergeLanguage(u,t)}_mergeLanguage(t,a){const u=a.id;let h=null;if(Array.isArray(a.mimetypes)&&a.mimetypes.length>0&&(t.mimetypes.push(...a.mimetypes),h=a.mimetypes[0]),h||(h=`text/x-${u}`,t.mimetypes.push(h)),Array.isArray(a.extensions)){a.configuration?t.extensions=a.extensions.concat(t.extensions):t.extensions=t.extensions.concat(a.extensions);for(const o of a.extensions)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,extension:o},this._warnOnOverwrite)}if(Array.isArray(a.filenames))for(const o of a.filenames)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filename:o},this._warnOnOverwrite),t.filenames.push(o);if(Array.isArray(a.filenamePatterns))for(const o of a.filenamePatterns)(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,filepattern:o},this._warnOnOverwrite);if(typeof a.firstLine=="string"&&a.firstLine.length>0){let o=a.firstLine;o.charAt(0)!=="^"&&(o="^"+o);try{const d=new RegExp(o);(0,y.regExpLeadsToEndlessLoop)(d)||(0,D.registerPlatformLanguageAssociation)({id:u,mime:h,firstline:d},this._warnOnOverwrite)}catch(d){console.warn(`[${a.id}]: Invalid regular expression \`${o}\`: `,d)}}t.aliases.push(u);let r=null;if(typeof a.aliases<"u"&&Array.isArray(a.aliases)&&(a.aliases.length===0?r=[null]:r=a.aliases),r!==null)for(const o of r)!o||o.length===0||t.aliases.push(o);const c=r!==null&&r.length>0;if(!(c&&r[0]===null)){const o=(c?r[0]:null)||u;(c||!t.name)&&(t.name=o)}a.configuration&&t.configurationFiles.push(a.configuration),a.icon&&t.icons.push(a.icon)}isRegisteredLanguageId(t){return t?g.call(this._languages,t):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(t){const a=t.toLowerCase();return g.call(this._lowercaseNameMap,a)?this._lowercaseNameMap[a]:null}getLanguageIdByMimeType(t){return t&&g.call(this._mimeTypesMap,t)?this._mimeTypesMap[t]:null}guessLanguageIdByFilepathOrFirstLine(t,a){return!t&&!a?[]:(0,D.getLanguageIds)(t,a)}}e.LanguagesRegistry=i,i.instanceCount=0}),define(ne[778],se([1,0,6,2,777,14,29,78]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageService=void 0;class _ extends k.Disposable{constructor(s=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new L.Emitter),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new L.Emitter),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new L.Emitter({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,_.instanceCount++,this._registry=this._register(new y.LanguagesRegistry(!0,s)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){_.instanceCount--,super.dispose()}isRegisteredLanguageId(s){return this._registry.isRegisteredLanguageId(s)}getLanguageIdByLanguageName(s){return this._registry.getLanguageIdByLanguageName(s)}getLanguageIdByMimeType(s){return this._registry.getLanguageIdByMimeType(s)}guessLanguageIdByFilepathOrFirstLine(s,i){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(s,i);return(0,D.firstOrDefault)(n,null)}createById(s){return new g(this.onDidChange,()=>this._createAndGetLanguageIdentifier(s))}createByFilepathOrFirstLine(s,i){return new g(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(s,i);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(s){return(!s||!this.isRegisteredLanguageId(s))&&(s=f.PLAINTEXT_LANGUAGE_ID),s}requestBasicLanguageFeatures(s){this._requestedBasicLanguages.has(s)||(this._requestedBasicLanguages.add(s),this._onDidRequestBasicLanguageFeatures.fire(s))}requestRichLanguageFeatures(s){this._requestedRichLanguages.has(s)||(this._requestedRichLanguages.add(s),this.requestBasicLanguageFeatures(s),S.TokenizationRegistry.getOrCreate(s),this._onDidRequestRichLanguageFeatures.fire(s))}}e.LanguageService=_,_.instanceCount=0;class g{constructor(s,i){this._onDidChangeLanguages=s,this._selector=i,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new L.Emitter({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var s;const i=this._selector();i!==this.languageId&&(this.languageId=i,(s=this._emitter)===null||s===void 0||s.fire(this.languageId))}}}),define(ne[342],se([1,0,38,242,51,32,2,18,149]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultDocumentColorProvider=void 0;class g{constructor(i,n){this._editorWorkerClient=new k.EditorWorkerClient(i,!1,"editorWorkerService",n)}provideDocumentColors(i,n){return we(this,void 0,void 0,function*(){return this._editorWorkerClient.computeDefaultDocumentColors(i.uri)})}provideColorPresentations(i,n,t){const a=n.range,u=n.color,h=u.alpha,r=new L.Color(new L.RGBA(Math.round(255*u.red),Math.round(255*u.green),Math.round(255*u.blue),h)),c=h?L.Color.Format.CSS.formatRGB(r):L.Color.Format.CSS.formatRGBA(r),o=h?L.Color.Format.CSS.formatHSL(r):L.Color.Format.CSS.formatHSLA(r),d=h?L.Color.Format.CSS.formatHex(r):L.Color.Format.CSS.formatHexA(r),l=[];return l.push({label:c,textEdit:{range:a,text:c}}),l.push({label:o,textEdit:{range:a,text:o}}),l.push({label:d,textEdit:{range:a,text:d}}),l}}e.DefaultDocumentColorProvider=g;let C=class extends S.Disposable{constructor(i,n,t){super(),this._register(t.colorProvider.register("*",new g(i,n)))}};C=ke([fe(0,y.IModelService),fe(1,D.ILanguageConfigurationService),fe(2,f.ILanguageFeaturesService)],C),(0,_.registerEditorFeature)(C)}),define(ne[343],se([1,0,19,9,22,5,51,27,18,342,28]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColorPresentations=e.getColors=void 0;function s(r,c,o,d=!0){return we(this,void 0,void 0,function*(){return u(new n,r,c,o,d)})}e.getColors=s;function i(r,c,o,d){return Promise.resolve(o.provideColorPresentations(r,c,d))}e.getColorPresentations=i;class n{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({colorInfo:m,provider:c});return Array.isArray(p)})}}class t{constructor(){}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideDocumentColors(o,d);if(Array.isArray(p))for(const m of p)l.push({range:m.range,color:[m.color.red,m.color.green,m.color.blue,m.color.alpha]});return Array.isArray(p)})}}class a{constructor(c){this.colorInfo=c}compute(c,o,d,l){return we(this,void 0,void 0,function*(){const p=yield c.provideColorPresentations(o,this.colorInfo,L.CancellationToken.None);return Array.isArray(p)&&l.push(...p),Array.isArray(p)})}}function u(r,c,o,d,l){return we(this,void 0,void 0,function*(){let p=!1,m;const v=[],b=c.ordered(o);for(let w=b.length-1;w>=0;w--){const E=b[w];if(E instanceof g.DefaultDocumentColorProvider)m=E;else try{(yield r.compute(E,o,d,v))&&(p=!0)}catch(I){(0,k.onUnexpectedExternalError)(I)}}return p?v:m&&l?(yield r.compute(m,o,d,v),v):[]})}function h(r,c){const{colorProvider:o}=r.get(_.ILanguageFeaturesService),d=r.get(S.IModelService).getModel(c);if(!d)throw(0,k.illegalArgument)();const l=r.get(C.IConfigurationService).getValue("editor.defaultColorDecorators",{resource:c});return{model:d,colorProviderRegistry:o,isDefaultColorDecoratorsEnabled:l}}f.CommandsRegistry.registerCommand("_executeDocumentColorProvider",function(r,...c){const[o]=c;if(!(o instanceof y.URI))throw(0,k.illegalArgument)();const{model:d,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:p}=h(r,o);return u(new t,l,d,L.CancellationToken.None,p)}),f.CommandsRegistry.registerCommand("_executeColorPresentationProvider",function(r,...c){const[o,d]=c,{uri:l,range:p}=d;if(!(l instanceof y.URI)||!Array.isArray(o)||o.length!==4||!D.Range.isIRange(p))throw(0,k.illegalArgument)();const{model:m,colorProviderRegistry:v,isDefaultColorDecoratorsEnabled:b}=h(r,l),[w,E,I,M]=o;return u(new a({range:p,color:{red:w,green:E,blue:I,alpha:M}}),v,m,L.CancellationToken.None,b)})}),define(ne[779],se([1,0,19,72,2,42,12,29,32,18,600,296]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionWithUpdatedRange=e.UpToDateInlineCompletions=e.InlineCompletionsSource=void 0;let i=class extends y.Disposable{constructor(d,l,p,m,v){super(),this.textModel=d,this.versionId=l,this._debounceValue=p,this.languageFeaturesService=m,this.languageConfigurationService=v,this._updateOperation=this._register(new y.MutableDisposable),this.inlineCompletions=(0,D.disposableObservableValue)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,D.disposableObservableValue)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(d,l,p){var m,v;const b=new t(d,l,this.textModel.getVersionId()),w=l.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(!((m=this._updateOperation.value)===null||m===void 0)&&m.request.satisfies(b))return this._updateOperation.value.promise;if(!((v=w.get())===null||v===void 0)&&v.request.satisfies(b))return Promise.resolve(!0);const E=!!this._updateOperation.value;this._updateOperation.clear();const I=new L.CancellationTokenSource,M=(()=>we(this,void 0,void 0,function*(){if((E||l.triggerKind===f.InlineCompletionTriggerKind.Automatic)&&(yield n(this._debounceValue.get(this.textModel))),I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const T=new Date,A=yield(0,C.provideInlineCompletions)(this.languageFeaturesService.inlineCompletionsProvider,d,this.textModel,l,I.token,this.languageConfigurationService);if(I.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const N=new Date;this._debounceValue.update(this.textModel,N.getTime()-T.getTime());const F=new h(A,b,this.textModel,this.versionId);if(p){const O=p.toInlineCompletion(void 0);p.canBeReused(this.textModel,d)&&!A.has(O)&&F.prepend(p.inlineCompletion,O.range,!0)}return this._updateOperation.clear(),(0,D.transaction)(O=>{w.set(F,O)}),!0}))(),P=new u(b,I,M);return this._updateOperation.value=P,M}clear(d){this._updateOperation.clear(),this.inlineCompletions.set(void 0,d),this.suggestWidgetInlineCompletions.set(void 0,d)}clearSuggestWidgetInlineCompletions(d){var l;!((l=this._updateOperation.value)===null||l===void 0)&&l.request.context.selectedSuggestionInfo&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,d)}cancelUpdate(){this._updateOperation.clear()}};e.InlineCompletionsSource=i,e.InlineCompletionsSource=i=ke([fe(3,g.ILanguageFeaturesService),fe(4,_.ILanguageConfigurationService)],i);function n(o,d){return new Promise(l=>{let p;const m=setTimeout(()=>{p&&p.dispose(),l()},o);d&&(p=d.onCancellationRequested(()=>{clearTimeout(m),p&&p.dispose(),l()}))})}class t{constructor(d,l,p){this.position=d,this.context=l,this.versionId=p}satisfies(d){return this.position.equals(d.position)&&a(this.context.selectedSuggestionInfo,d.context.selectedSuggestionInfo,(l,p)=>l.equals(p))&&(d.context.triggerKind===f.InlineCompletionTriggerKind.Automatic||this.context.triggerKind===f.InlineCompletionTriggerKind.Explicit)&&this.versionId===d.versionId}}function a(o,d,l){return!o||!d?o===d:l(o,d)}class u{constructor(d,l,p){this.request=d,this.cancellationTokenSource=l,this.promise=p}dispose(){this.cancellationTokenSource.cancel()}}class h{get inlineCompletions(){return this._inlineCompletions}constructor(d,l,p,m){this.inlineCompletionProviderResult=d,this.request=l,this.textModel=p,this.versionId=m,this._refCount=1,this._prependedInlineCompletionItems=[],this._rangeVersionIdValue=0,this._rangeVersionId=(0,D.derived)(b=>{this.versionId.read(b);let w=!1;for(const E of this._inlineCompletions)w=w||E._updateRange(this.textModel);return w&&this._rangeVersionIdValue++,this._rangeVersionIdValue});const v=p.deltaDecorations([],d.completions.map(b=>({range:b.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=d.completions.map((b,w)=>new r(b,v[w],this._rangeVersionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,this._refCount===0){setTimeout(()=>{this.textModel.isDisposed()||this.textModel.deltaDecorations(this._inlineCompletions.map(d=>d.decorationId),[])},0),this.inlineCompletionProviderResult.dispose();for(const d of this._prependedInlineCompletionItems)d.source.removeRef()}}prepend(d,l,p){p&&d.source.addRef();const m=this.textModel.deltaDecorations([],[{range:l,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new r(d,m,this._rangeVersionId,l)),this._prependedInlineCompletionItems.push(d)}}e.UpToDateInlineCompletions=h;class r{get forwardStable(){var d;return(d=this.inlineCompletion.source.inlineCompletions.enableForwardStability)!==null&&d!==void 0?d:!1}constructor(d,l,p,m){this.inlineCompletion=d,this.decorationId=l,this.rangeVersion=p,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._isValid=!0,this._updatedRange=m??d.range}toInlineCompletion(d){return this.inlineCompletion.withRange(this._getUpdatedRange(d))}toSingleTextEdit(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.insertText)}isVisible(d,l,p){const m=this._toFilterTextReplacement(p).removeCommonPrefix(d);if(!this._isValid||!this.inlineCompletion.range.getStartPosition().equals(this._getUpdatedRange(p).getStartPosition())||l.lineNumber!==m.range.startLineNumber)return!1;const v=d.getValueInRange(m.range,1).toLowerCase(),b=m.text.toLowerCase(),w=Math.max(0,l.column-m.range.startColumn);let E=b.substring(0,w),I=b.substring(w),M=v.substring(0,w),P=v.substring(w);const x=d.getLineIndentColumn(m.range.startLineNumber);return m.range.startColumn<=x&&(M=M.trimStart(),M.length===0&&(P=P.trimStart()),E=E.trimStart(),E.length===0&&(I=I.trimStart())),E.startsWith(M)&&!!(0,k.matchesSubString)(P,I)}canBeReused(d,l){return this._isValid&&this._getUpdatedRange(void 0).containsPosition(l)&&this.isVisible(d,l,void 0)&&!this._isSmallerThanOriginal(void 0)}_toFilterTextReplacement(d){return new s.SingleTextEdit(this._getUpdatedRange(d),this.inlineCompletion.filterText)}_isSmallerThanOriginal(d){return c(this._getUpdatedRange(d)).isBefore(c(this.inlineCompletion.range))}_getUpdatedRange(d){return this.rangeVersion.read(d),this._updatedRange}_updateRange(d){const l=d.getDecorationRange(this.decorationId);return l?this._updatedRange.equalsRange(l)?!1:(this._updatedRange=l,!0):(this._isValid=!1,!0)}}e.InlineCompletionWithUpdatedRange=r;function c(o){return o.startLineNumber===o.endLineNumber?new S.Position(1,1+o.endColumn-o.startColumn):new S.Position(1+o.endLineNumber-o.startLineNumber,o.endColumn)}}),define(ne[780],se([1,0,11,245,5,24,110,32,295,243,244]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveLinesCommand=void 0;let s=class{constructor(n,t,a,u){this._languageConfigurationService=u,this._selection=n,this._isMovingDown=t,this._autoIndent=a,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(n,t){const a=n.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===a){this._selectionId=t.trackSelection(this._selection);return}if(!this._isMovingDown&&this._selection.startLineNumber===1){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let u=this._selection;u.startLineNumbern.tokenization.getLineTokens(l),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(l,p)=>n.getLanguageIdAtPosition(l,p)},getLineContent:null};if(u.startLineNumber===u.endLineNumber&&n.getLineMaxColumn(u.startLineNumber)===1){const l=u.startLineNumber,p=this._isMovingDown?l+1:l-1;n.getLineMaxColumn(p)===1?t.addEditOperation(new y.Range(1,1,1,1),null):(t.addEditOperation(new y.Range(l,1,l,1),n.getLineContent(p)),t.addEditOperation(new y.Range(p,1,p,n.getLineMaxColumn(p)),null)),u=new D.Selection(p,1,p,1)}else{let l,p;if(this._isMovingDown){l=u.endLineNumber+1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l-1,n.getLineMaxColumn(l-1),l,n.getLineMaxColumn(l)),null);let m=p;if(this.shouldAutoIndent(n,u)){const v=this.matchEnterRule(n,o,h,l,u.startLineNumber-1);if(v!==null){const w=L.getLeadingWhitespace(n.getLineContent(l)),E=v+_.getSpaceCnt(w,h);m=_.generateIndent(E,h,c)+this.trimStart(p)}else{d.getLineContent=E=>E===u.startLineNumber?n.getLineContent(l):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(l)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);I!==M&&(m=_.generateIndent(I,h,c)+this.trimStart(p))}}t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`);const b=this.matchEnterRuleMovingDown(n,o,h,u.startLineNumber,l,m);if(b!==null)b!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,b);else{d.getLineContent=E=>E===u.startLineNumber?m:E>=u.startLineNumber+1&&E<=u.endLineNumber+1?n.getLineContent(E-1):n.getLineContent(E);const w=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(l,1),u.startLineNumber+1,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),I=_.getSpaceCnt(w,h),M=_.getSpaceCnt(E,h);if(I!==M){const P=I-M;this.getIndentEditsOfMovingBlock(n,t,u,h,c,P)}}}}else t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),m+` -`)}else if(l=u.startLineNumber-1,p=n.getLineContent(l),t.addEditOperation(new y.Range(l,1,l+1,1),null),t.addEditOperation(new y.Range(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber),u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),` -`+p),this.shouldAutoIndent(n,u)){d.getLineContent=v=>v===l?n.getLineContent(u.startLineNumber):n.getLineContent(v);const m=this.matchEnterRule(n,o,h,u.startLineNumber,u.startLineNumber-2);if(m!==null)m!==0&&this.getIndentEditsOfMovingBlock(n,t,u,h,c,m);else{const v=(0,g.getGoodIndentForLine)(this._autoIndent,d,n.getLanguageIdAtPosition(u.startLineNumber,1),l,o,this._languageConfigurationService);if(v!==null){const b=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),w=_.getSpaceCnt(v,h),E=_.getSpaceCnt(b,h);if(w!==E){const I=w-E;this.getIndentEditsOfMovingBlock(n,t,u,h,c,I)}}}}}this._selectionId=t.trackSelection(u)}buildIndentConverter(n,t,a){return{shiftIndent:u=>k.ShiftCommand.shiftIndent(u,u.length+1,n,t,a),unshiftIndent:u=>k.ShiftCommand.unshiftIndent(u,u.length+1,n,t,a)}}parseEnterResult(n,t,a,u,h){if(h){let r=h.indentation;h.indentAction===S.IndentAction.None||h.indentAction===S.IndentAction.Indent?r=h.indentation+h.appendText:h.indentAction===S.IndentAction.IndentOutdent?r=h.indentation:h.indentAction===S.IndentAction.Outdent&&(r=t.unshiftIndent(h.indentation)+h.appendText);const c=n.getLineContent(u);if(this.trimStart(c).indexOf(this.trimStart(r))>=0){const o=L.getLeadingWhitespace(n.getLineContent(u));let d=L.getLeadingWhitespace(r);const l=(0,g.getIndentMetadata)(n,u,this._languageConfigurationService);l!==null&&l&2&&(d=t.unshiftIndent(d));const p=_.getSpaceCnt(d,a),m=_.getSpaceCnt(o,a);return p-m}}return null}matchEnterRuleMovingDown(n,t,a,u,h,r){if(L.lastNonWhitespaceIndex(r)>=0){const c=n.getLineMaxColumn(h),o=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(h,c,h,c),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,o)}else{let c=u-1;for(;c>=1;){const l=n.getLineContent(c);if(L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}}matchEnterRule(n,t,a,u,h,r){let c=h;for(;c>=1;){let l;if(c===h&&r!==void 0?l=r:l=n.getLineContent(c),L.lastNonWhitespaceIndex(l)>=0)break;c--}if(c<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(c),d=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(c,o,c,o),this._languageConfigurationService);return this.parseEnterResult(n,t,a,u,d)}trimStart(n){return n.replace(/^\s+/,"")}shouldAutoIndent(n,t){if(this._autoIndent<4||!n.tokenization.isCheapToTokenize(t.startLineNumber))return!1;const a=n.getLanguageIdAtPosition(t.startLineNumber,1),u=n.getLanguageIdAtPosition(t.endLineNumber,1);return!(a!==u||this._languageConfigurationService.getLanguageConfiguration(a).indentRulesSupport===null)}getIndentEditsOfMovingBlock(n,t,a,u,h,r){for(let c=a.startLineNumber;c<=a.endLineNumber;c++){const o=n.getLineContent(c),d=L.getLeadingWhitespace(o),p=_.getSpaceCnt(d,u)+r,m=_.generateIndent(p,u,h);m!==d&&(t.addEditOperation(new y.Range(c,1,c,d.length+1),m),c===a.endLineNumber&&a.endColumn<=d.length+1&&m===""&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(n,t){let a=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(a=a.setEndPosition(a.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&a.startLineNumber{}};const o=new S.DisposableStore,d=o.add((0,L.renderMarkdown)(h,Object.assign(Object.assign({},this._getRenderOptions(h,o)),r),c));return d.element.classList.add("rendered-markdown"),{element:d.element,dispose:()=>o.dispose()}}_getRenderOptions(h,r){return{codeBlockRenderer:(c,o)=>we(this,void 0,void 0,function*(){var d,l,p;let m;c?m=this._languageService.getLanguageIdByLanguageName(c):this._options.editor&&(m=(d=this._options.editor.getModel())===null||d===void 0?void 0:d.getLanguageId()),m||(m=g.PLAINTEXT_LANGUAGE_ID);const v=yield(0,C.tokenizeToString)(this._languageService,o,m),b=document.createElement("span");if(b.innerHTML=(p=(l=i._ttpTokenizer)===null||l===void 0?void 0:l.createHTML(v))!==null&&p!==void 0?p:v,this._options.editor){const w=this._options.editor.getOption(49);(0,f.applyFontInfo)(b,w)}else this._options.codeBlockFontFamily&&(b.style.fontFamily=this._options.codeBlockFontFamily);return this._options.codeBlockFontSize!==void 0&&(b.style.fontSize=this._options.codeBlockFontSize),b}),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:c=>t(this._openerService,c,h.isTrusted),disposables:r}}}};e.MarkdownRenderer=n,n._ttpTokenizer=(0,k.createTrustedTypesPolicy)("tokenizeToString",{createHTML(u){return u}}),e.MarkdownRenderer=n=i=ke([fe(1,_.ILanguageService),fe(2,s.IOpenerService)],n);function t(u,h,r){return we(this,void 0,void 0,function*(){try{return yield u.open(h,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:a(r)})}catch(c){return(0,y.onUnexpectedError)(c),!1}})}e.openLinkFromMarkdown=t;function a(u){return u===!0?!0:u&&Array.isArray(u.enabledCommands)?u.enabledCommands:!1}}),define(ne[781],se([1,0,7,14,55,2,117,321,310]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginHoverWidget=void 0;const g=L.$;class C extends D.Disposable{constructor(n,t,a){super(),this._renderDisposeables=this._register(new D.DisposableStore),this._editor=n,this._isVisible=!1,this._messages=[],this._hover=this._register(new _.HoverWidget),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new S.MarkdownRenderer({editor:this._editor},t,a)),this._computer=new s(this._editor),this._hoverOperation=this._register(new f.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(u=>{this._withResult(u.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return C.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(n){this._computer.lineNumber!==n&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=n,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(n){this._messages=n,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(n,t){this._renderDisposeables.clear();const a=document.createDocumentFragment();for(const u of t){const h=g("div.hover-row.markdown-hover"),r=L.append(h,g("div.hover-contents")),c=this._renderDisposeables.add(this._markdownRenderer.render(u.value));r.appendChild(c.element),a.appendChild(h)}this._updateContents(a),this._showAt(n)}_updateContents(n){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(n),this._updateFont()}_showAt(n){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),a=this._editor.getTopForLineNumber(n),u=this._editor.getScrollTop(),h=this._editor.getOption(65),r=this._hover.containerDomNode.clientHeight,c=a-u-(r-h)/2;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(c),0)}px`}}e.MarginHoverWidget=C,C.ID="editor.contrib.modesGlyphHoverWidget";class s{get lineNumber(){return this._lineNumber}set lineNumber(n){this._lineNumber=n}constructor(n){this._editor=n,this._lineNumber=-1}computeSync(){const n=u=>({value:u}),t=this._editor.getLineDecorations(this._lineNumber),a=[];if(!t)return a;for(const u of t){if(!u.options.glyphMarginClassName)continue;const h=u.options.glyphMarginHoverMessage;!h||(0,y.isEmptyMarkdownString)(h)||a.push(...(0,k.asArray)(h).map(n))}return a}}}),define(ne[344],se([1,0,7,75,25,26,6,55,2,117,223,703,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestDetailsOverlay=e.SuggestDetailsWidget=e.canExpandCompletionItem=void 0;function n(u){return!!u&&!!(u.completion.documentation||u.completion.detail&&u.completion.detail!==u.completion.label)}e.canExpandCompletionItem=n;let t=class{constructor(h,r){this._editor=h,this._onDidClose=new S.Emitter,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new S.Emitter,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new _.DisposableStore,this._renderDisposeable=new _.DisposableStore,this._borderWidth=1,this._size=new L.Dimension(330,0),this.domNode=L.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=r.createInstance(g.MarkdownRenderer,{editor:h}),this._body=L.$(".body"),this._scrollbar=new k.DomScrollableElement(this._body,{alwaysConsumeMouseWheel:!0}),L.append(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=L.append(this._body,L.$(".header")),this._close=L.append(this._header,L.$("span"+D.ThemeIcon.asCSSSelector(y.Codicon.close))),this._close.title=s.localize(0,null),this._type=L.append(this._header,L.$("p.type")),this._docs=L.append(this._body,L.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(49)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const h=this._editor.getOptions(),r=h.get(49),c=r.getMassagedFontFamily(),o=h.get(117)||r.fontSize,d=h.get(118)||r.lineHeight,l=r.fontWeight,p=`${o}px`,m=`${d}px`;this.domNode.style.fontSize=p,this.domNode.style.lineHeight=`${d/o}`,this.domNode.style.fontWeight=l,this.domNode.style.fontFeatureSettings=r.fontFeatureSettings,this._type.style.fontFamily=c,this._close.style.height=m,this._close.style.width=m}getLayoutInfo(){const h=this._editor.getOption(118)||this._editor.getOption(49).lineHeight,r=this._borderWidth,c=r*2;return{lineHeight:h,borderWidth:r,borderHeight:c,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=s.localize(1,null),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,this.getLayoutInfo().lineHeight*2),this._onDidChangeContents.fire(this)}renderItem(h,r){var c,o;this._renderDisposeable.clear();let{detail:d,documentation:l}=h.completion;if(r){let p="";p+=`score: ${h.score[0]} -`,p+=`prefix: ${(c=h.word)!==null&&c!==void 0?c:"(no prefix)"} -`,p+=`word: ${h.completion.filterText?h.completion.filterText+" (filterText)":h.textLabel} -`,p+=`distance: ${h.distance} (localityBonus-setting) -`,p+=`index: ${h.idx}, based on ${h.completion.sortText&&`sortText: "${h.completion.sortText}"`||"label"} -`,p+=`commit_chars: ${(o=h.completion.commitCharacters)===null||o===void 0?void 0:o.join("")} -`,l=new f.MarkdownString().appendCodeblock("empty",p),d=`Provider: ${h.provider._debugDisplayName}`}if(!r&&!n(h)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),d){const p=d.length>1e5?`${d.substr(0,1e5)}\u2026`:d;this._type.textContent=p,this._type.title=p,L.show(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(p))}else L.clearNode(this._type),this._type.title="",L.hide(this._type),this.domNode.classList.add("no-type");if(L.clearNode(this._docs),typeof l=="string")this._docs.classList.remove("markdown-docs"),this._docs.textContent=l;else if(l){this._docs.classList.add("markdown-docs"),L.clearNode(this._docs);const p=this._markdownRenderer.render(l);this._docs.appendChild(p.element),this._renderDisposeable.add(p),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=p=>{p.preventDefault(),p.stopPropagation()},this._close.onclick=p=>{p.preventDefault(),p.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(h,r){const c=new L.Dimension(h,r);L.Dimension.equals(c,this._size)||(this._size=c,L.size(this.domNode,h,r)),this._scrollbar.scanDomNode()}scrollDown(h=8){this._body.scrollTop+=h}scrollUp(h=8){this._body.scrollTop-=h}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(h){this._borderWidth=h}get borderWidth(){return this._borderWidth}};e.SuggestDetailsWidget=t,e.SuggestDetailsWidget=t=ke([fe(1,i.IInstantiationService)],t);class a{constructor(h,r){this.widget=h,this._editor=r,this._disposables=new _.DisposableStore,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new C.ResizableHTMLElement,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(h.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let c,o,d=0,l=0;this._disposables.add(this._resizable.onDidWillResize(()=>{c=this._topLeft,o=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(p=>{if(c&&o){this.widget.layout(p.dimension.width,p.dimension.height);let m=!1;p.west&&(l=o.width-p.dimension.width,m=!0),p.north&&(d=o.height-p.dimension.height,m=!0),m&&this._applyTopLeft({top:c.top+d,left:c.left+l})}p.done&&(c=void 0,o=void 0,d=0,l=0,this._userSize=p.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var p;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(p=this._userSize)!==null&&p!==void 0?p:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(h=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),h&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(h,r){var c;const o=h.getBoundingClientRect();this._anchorBox=o,this._preferAlignAtTop=r,this._placeAtAnchor(this._anchorBox,(c=this._userSize)!==null&&c!==void 0?c:this.widget.size,r)}_placeAtAnchor(h,r,c){var o;const d=L.getClientArea(document.body),l=this.widget.getLayoutInfo(),p=new L.Dimension(220,2*l.lineHeight),m=h.top,v=function(){const N=d.width-(h.left+h.width+l.borderWidth+l.horizontalPadding),F=-l.borderWidth+h.left+h.width,O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),b=function(){const N=h.left-l.borderWidth-l.horizontalPadding,F=Math.max(l.horizontalPadding,h.left-r.width-l.borderWidth),O=new L.Dimension(N,d.height-h.top-l.borderHeight-l.verticalPadding),W=O.with(void 0,h.top+h.height-l.borderHeight-l.verticalPadding);return{top:m,left:F,fit:N-r.width,maxSizeTop:O,maxSizeBottom:W,minSize:p.with(Math.min(N,p.width))}}(),w=function(){const N=h.left,F=-l.borderWidth+h.top+h.height,O=new L.Dimension(h.width-l.borderHeight,d.height-h.top-h.height-l.verticalPadding);return{top:F,left:N,fit:O.height-r.height,maxSizeBottom:O,maxSizeTop:O,minSize:p.with(O.width)}}(),E=[v,b,w],I=(o=E.find(N=>N.fit>=0))!==null&&o!==void 0?o:E.sort((N,F)=>F.fit-N.fit)[0],M=h.top+h.height-l.borderHeight;let P,x=r.height;const T=Math.max(I.maxSizeTop.height,I.maxSizeBottom.height);x>T&&(x=T);let A;c?x<=I.maxSizeTop.height?(P=!0,A=I.maxSizeTop):(P=!1,A=I.maxSizeBottom):x<=I.maxSizeBottom.height?(P=!1,A=I.maxSizeBottom):(P=!0,A=I.maxSizeTop),this._applyTopLeft({left:I.left,top:P?I.top:M-x}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!P,I===v,P,I!==v),this._resizable.minSize=I.minSize,this._resizable.maxSize=A,this._resizable.layout(x,Math.min(A.width,r.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(h){this._topLeft=h,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}e.SuggestDetailsOverlay=a}),define(ne[345],se([1,0,14,65,47,20,22,28,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationChangeEvent=e.Configuration=e.ConfigurationModelParser=e.ConfigurationModel=void 0;function C(u){return Object.isFrozen(u)?u:y.deepFreeze(u)}class s{constructor(h={},r=[],c=[],o){this._contents=h,this._keys=r,this._overrides=c,this.raw=o,this.overrideConfigurations=new Map}get rawConfiguration(){var h;if(!this._rawConfiguration)if(!((h=this.raw)===null||h===void 0)&&h.length){const r=this.raw.map(c=>{if(c instanceof s)return c;const o=new i("");return o.parseRaw(c),o.configurationModel});this._rawConfiguration=r.reduce((c,o)=>o===c?o:c.merge(o),r[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(h){return h?(0,f.getConfigurationValue)(this.contents,h):this.contents}inspect(h,r){const c=this.rawConfiguration.getValue(h),o=r?this.rawConfiguration.getOverrideValue(h,r):void 0,d=r?this.rawConfiguration.override(r).getValue(h):c;return{value:c,override:o,merged:d}}getOverrideValue(h,r){const c=this.getContentsForOverrideIdentifer(r);return c?h?(0,f.getConfigurationValue)(c,h):c:void 0}override(h){let r=this.overrideConfigurations.get(h);return r||(r=this.createOverrideConfigurationModel(h),this.overrideConfigurations.set(h,r)),r}merge(...h){var r,c;const o=y.deepClone(this.contents),d=y.deepClone(this.overrides),l=[...this.keys],p=!((r=this.raw)===null||r===void 0)&&r.length?[...this.raw]:[this];for(const m of h)if(p.push(...!((c=m.raw)===null||c===void 0)&&c.length?m.raw:[m]),!m.isEmpty()){this.mergeContents(o,m.contents);for(const v of m.overrides){const[b]=d.filter(w=>L.equals(w.identifiers,v.identifiers));b?(this.mergeContents(b.contents,v.contents),b.keys.push(...v.keys),b.keys=L.distinct(b.keys)):d.push(y.deepClone(v))}for(const v of m.keys)l.indexOf(v)===-1&&l.push(v)}return new s(o,l,d,p.every(m=>m instanceof s)?void 0:p)}createOverrideConfigurationModel(h){const r=this.getContentsForOverrideIdentifer(h);if(!r||typeof r!="object"||!Object.keys(r).length)return this;const c={};for(const o of L.distinct([...Object.keys(this.contents),...Object.keys(r)])){let d=this.contents[o];const l=r[o];l&&(typeof d=="object"&&typeof l=="object"?(d=y.deepClone(d),this.mergeContents(d,l)):d=l),c[o]=d}return new s(c,this.keys,this.overrides)}mergeContents(h,r){for(const c of Object.keys(r)){if(c in h&&D.isObject(h[c])&&D.isObject(r[c])){this.mergeContents(h[c],r[c]);continue}h[c]=y.deepClone(r[c])}}getContentsForOverrideIdentifer(h){let r=null,c=null;const o=d=>{d&&(c?this.mergeContents(c,d):c=y.deepClone(d))};for(const d of this.overrides)d.identifiers.length===1&&d.identifiers[0]===h?r=d.contents:d.identifiers.includes(h)&&o(d.contents);return o(r),c}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(h,r){this.updateValue(h,r,!0)}setValue(h,r){this.updateValue(h,r,!1)}removeValue(h){const r=this.keys.indexOf(h);r!==-1&&(this.keys.splice(r,1),(0,f.removeFromValueTree)(this.contents,h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.splice(this.overrides.findIndex(c=>L.equals(c.identifiers,(0,_.overrideIdentifiersFromKey)(h))),1))}updateValue(h,r,c){(0,f.addToValueTree)(this.contents,h,r,o=>console.error(o)),c=c||this.keys.indexOf(h)===-1,c&&this.keys.push(h),_.OVERRIDE_PROPERTY_REGEX.test(h)&&this.overrides.push({identifiers:(0,_.overrideIdentifiersFromKey)(h),keys:Object.keys(this.contents[h]),contents:(0,f.toValuesTree)(this.contents[h],o=>console.error(o))})}}e.ConfigurationModel=s;class i{constructor(h){this._name=h,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||new s}parseRaw(h,r){this._raw=h;const{contents:c,keys:o,overrides:d,restricted:l,hasExcludedProperties:p}=this.doParseRaw(h,r);this._configurationModel=new s(c,o,d,p?[h]:void 0),this._restrictedConfigurations=l||[]}doParseRaw(h,r){const c=g.Registry.as(_.Extensions.Configuration).getConfigurationProperties(),o=this.filter(h,c,!0,r);h=o.raw;const d=(0,f.toValuesTree)(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`)),l=Object.keys(h),p=this.toOverrides(h,m=>console.error(`Conflict in settings file ${this._name}: ${m}`));return{contents:d,keys:l,overrides:p,restricted:o.restricted,hasExcludedProperties:o.hasExcludedProperties}}filter(h,r,c,o){var d,l,p;let m=!1;if(!o?.scopes&&!o?.skipRestricted&&!(!((d=o?.exclude)===null||d===void 0)&&d.length))return{raw:h,restricted:[],hasExcludedProperties:m};const v={},b=[];for(const w in h)if(_.OVERRIDE_PROPERTY_REGEX.test(w)&&c){const E=this.filter(h[w],r,!1,o);v[w]=E.raw,m=m||E.hasExcludedProperties,b.push(...E.restricted)}else{const E=r[w],I=E?typeof E.scope<"u"?E.scope:3:void 0;E?.restricted&&b.push(w),!(!((l=o.exclude)===null||l===void 0)&&l.includes(w))&&(!((p=o.include)===null||p===void 0)&&p.includes(w)||(I===void 0||o.scopes===void 0||o.scopes.includes(I))&&!(o.skipRestricted&&E?.restricted))?v[w]=h[w]:m=!0}return{raw:v,restricted:b,hasExcludedProperties:m}}toOverrides(h,r){const c=[];for(const o of Object.keys(h))if(_.OVERRIDE_PROPERTY_REGEX.test(o)){const d={};for(const l in h[o])d[l]=h[o][l];c.push({identifiers:(0,_.overrideIdentifiersFromKey)(o),keys:Object.keys(d),contents:(0,f.toValuesTree)(d,r)})}return c}}e.ConfigurationModelParser=i;class n{constructor(h,r,c,o,d,l,p,m,v,b,w,E,I){this.key=h,this.overrides=r,this._value=c,this.overrideIdentifiers=o,this.defaultConfiguration=d,this.policyConfiguration=l,this.applicationConfiguration=p,this.userConfiguration=m,this.localUserConfiguration=v,this.remoteUserConfiguration=b,this.workspaceConfiguration=w,this.folderConfigurationModel=E,this.memoryConfigurationModel=I}inspect(h,r,c){const o=h.inspect(r,c);return{get value(){return C(o.value)},get override(){return C(o.override)},get merged(){return C(o.merged)}}}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.inspect(this.userConfiguration,this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.userInspectValue.value!==void 0||this.userInspectValue.override!==void 0?{value:this.userInspectValue.value,override:this.userInspectValue.override}:void 0}}class t{constructor(h,r,c,o,d=new s,l=new s,p=new k.ResourceMap,m=new s,v=new k.ResourceMap){this._defaultConfiguration=h,this._policyConfiguration=r,this._applicationConfiguration=c,this._localUserConfiguration=o,this._remoteUserConfiguration=d,this._workspaceConfiguration=l,this._folderConfigurations=p,this._memoryConfiguration=m,this._memoryConfigurationByResource=v,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new k.ResourceMap,this._userConfiguration=null}getValue(h,r,c){return this.getConsolidatedConfigurationModel(h,r,c).getValue(h)}updateValue(h,r,c={}){let o;c.resource?(o=this._memoryConfigurationByResource.get(c.resource),o||(o=new s,this._memoryConfigurationByResource.set(c.resource,o))):o=this._memoryConfiguration,r===void 0?o.removeValue(h):o.setValue(h,r),c.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(h,r,c){const o=this.getConsolidatedConfigurationModel(h,r,c),d=this.getFolderConfigurationModelForResource(r.resource,c),l=r.resource?this._memoryConfigurationByResource.get(r.resource)||this._memoryConfiguration:this._memoryConfiguration,p=new Set;for(const m of o.overrides)for(const v of m.identifiers)o.getOverrideValue(h,v)!==void 0&&p.add(v);return new n(h,r,o.getValue(h),p.size?[...p]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,c?this._workspaceConfiguration:void 0,d||void 0,l)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(h,r,c){let o=this.getConsolidatedConfigurationModelForResource(r,c);return r.overrideIdentifier&&(o=o.override(r.overrideIdentifier)),!this._policyConfiguration.isEmpty()&&this._policyConfiguration.getValue(h)!==void 0&&(o=o.merge(this._policyConfiguration)),o}getConsolidatedConfigurationModelForResource({resource:h},r){let c=this.getWorkspaceConsolidatedConfiguration();if(r&&h){const o=r.getFolder(h);o&&(c=this.getFolderConsolidatedConfiguration(o.uri)||c);const d=this._memoryConfigurationByResource.get(h);d&&(c=c.merge(d))}return c}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(h){let r=this._foldersConsolidatedConfigurations.get(h);if(!r){const c=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(h);o?(r=c.merge(o),this._foldersConsolidatedConfigurations.set(h,r)):r=c}return r}getFolderConfigurationModelForResource(h,r){if(r&&h){const c=r.getFolder(h);if(c)return this._folderConfigurations.get(c.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((h,r)=>{const{contents:c,overrides:o,keys:d}=this._folderConfigurations.get(r);return h.push([r,{contents:c,overrides:o,keys:d}]),h},[])}}static parse(h){const r=this.parseConfigurationModel(h.defaults),c=this.parseConfigurationModel(h.policy),o=this.parseConfigurationModel(h.application),d=this.parseConfigurationModel(h.user),l=this.parseConfigurationModel(h.workspace),p=h.folders.reduce((m,v)=>(m.set(S.URI.revive(v[0]),this.parseConfigurationModel(v[1])),m),new k.ResourceMap);return new t(r,c,o,d,new s,l,p,new s,new k.ResourceMap)}static parseConfigurationModel(h){return new s(h.contents,h.keys,h.overrides)}}e.Configuration=t;class a{constructor(h,r,c,o){this.change=h,this.previous=r,this.currentConfiguraiton=c,this.currentWorkspace=o,this._marker=` -`,this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=".".charCodeAt(0),this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const d of h.keys)this.affectedKeys.add(d);for(const[,d]of h.overrides)for(const l of d)this.affectedKeys.add(l);this._affectsConfigStr=this._marker;for(const d of this.affectedKeys)this._affectsConfigStr+=d+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=t.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(h,r){var c;const o=this._marker+h,d=this._affectsConfigStr.indexOf(o);if(d<0)return!1;const l=d+o.length;if(l>=this._affectsConfigStr.length)return!1;const p=this._affectsConfigStr.charCodeAt(l);if(p!==this._markerCode1&&p!==this._markerCode2)return!1;if(r){const m=this.previousConfiguration?this.previousConfiguration.getValue(h,r,(c=this.previous)===null||c===void 0?void 0:c.workspace):void 0,v=this.currentConfiguraiton.getValue(h,r,this.currentWorkspace);return!y.equals(m,v)}return!0}}e.ConfigurationChangeEvent=a}),define(ne[782],se([1,0,2,345,98,37]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultConfiguration=void 0;class S extends L.Disposable{constructor(){super(...arguments),this._configurationModel=new k.ConfigurationModel}get configurationModel(){return this._configurationModel}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=new k.ConfigurationModel;const _=D.Registry.as(y.Extensions.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(_),_)}updateConfigurationModel(_,g){const C=this.getConfigurationDefaultOverrides();for(const s of _){const i=C[s],n=g[s];i!==void 0?this._configurationModel.addValue(s,i):n?this._configurationModel.addValue(s,n.default):this._configurationModel.removeValue(s)}}}e.DefaultConfiguration=S}),define(ne[118],se([1,0,119,17,27,37,2,64]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=e.KeybindingsRegistry=void 0;class _{constructor(){this._coreKeybindings=new f.LinkedList,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(s){if(k.OS===1){if(s&&s.win)return s.win}else if(k.OS===2){if(s&&s.mac)return s.mac}else if(s&&s.linux)return s.linux;return s}registerKeybindingRule(s){const i=_.bindToCurrentPlatform(s),n=new S.DisposableStore;if(i&&i.primary){const t=(0,L.decodeKeybinding)(i.primary,k.OS);t&&n.add(this._registerDefaultKeybinding(t,s.id,s.args,s.weight,0,s.when))}if(i&&Array.isArray(i.secondary))for(let t=0,a=i.secondary.length;t{h(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(g)),this._cachedMergedKeybindings.slice(0)}}e.KeybindingsRegistry=new _,e.Extensions={EditorModes:"platform.keybindingsRegistry"},D.Registry.add(e.Extensions.EditorModes,e.KeybindingsRegistry);function g(C,s){if(C.weight1!==s.weight1)return C.weight1-s.weight1;if(C.command&&s.command){if(C.commands.command)return 1}return C.weight2-s.weight2}});var vi=this&&this.__rest||function(Q,e){var L={};for(var k in Q)Object.prototype.hasOwnProperty.call(Q,k)&&e.indexOf(k)<0&&(L[k]=Q[k]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,k=Object.getOwnPropertySymbols(Q);yl===d}}a._all=new Map,e.MenuRegistry=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new y.MicrotaskEmitter({merge:a.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(o){return this._commands.set(o.id,o),this._onDidChangeMenu.fire(a.for(t.CommandPalette)),(0,D.toDisposable)(()=>{this._commands.delete(o.id)&&this._onDidChangeMenu.fire(a.for(t.CommandPalette))})}getCommand(o){return this._commands.get(o)}getCommands(){const o=new Map;return this._commands.forEach((d,l)=>o.set(l,d)),o}appendMenuItem(o,d){let l=this._menuItems.get(o);l||(l=new S.LinkedList,this._menuItems.set(o,l));const p=l.push(d);return this._onDidChangeMenu.fire(a.for(o)),(0,D.toDisposable)(()=>{p(),this._onDidChangeMenu.fire(a.for(o))})}appendMenuItems(o){const d=new D.DisposableStore;for(const{id:l,item:p}of o)d.add(this.appendMenuItem(l,p));return d}getMenuItems(o){let d;return this._menuItems.has(o)?d=[...this._menuItems.get(o)]:d=[],o===t.CommandPalette&&this._appendImplicitItems(d),d}_appendImplicitItems(o){const d=new Set;for(const l of o)i(l)&&(d.add(l.command.id),l.alt&&d.add(l.alt.id));this._commands.forEach((l,p)=>{d.has(p)||o.push({command:l})})}};class u extends L.SubmenuAction{constructor(d,l,p){super(`submenuitem.${d.submenu.id}`,typeof d.title=="string"?d.title:d.title.value,p,"submenu"),this.item=d,this.hideActions=l}}e.SubmenuItemAction=u;let h=s=class{static label(d,l){return l?.renderShortTitle&&d.shortTitle?typeof d.shortTitle=="string"?d.shortTitle:d.shortTitle.value:typeof d.title=="string"?d.title:d.title.value}constructor(d,l,p,m,v,b){var w,E;this.hideActions=m,this._commandService=b,this.id=d.id,this.label=s.label(d,p),this.tooltip=(E=typeof d.tooltip=="string"?d.tooltip:(w=d.tooltip)===null||w===void 0?void 0:w.value)!==null&&E!==void 0?E:"",this.enabled=!d.precondition||v.contextMatchesRules(d.precondition),this.checked=void 0;let I;if(d.toggled){const M=d.toggled.condition?d.toggled:{condition:d.toggled};this.checked=v.contextMatchesRules(M.condition),this.checked&&M.tooltip&&(this.tooltip=typeof M.tooltip=="string"?M.tooltip:M.tooltip.value),this.checked&&k.ThemeIcon.isThemeIcon(M.icon)&&(I=M.icon),this.checked&&M.title&&(this.label=typeof M.title=="string"?M.title:M.title.value)}I||(I=k.ThemeIcon.isThemeIcon(d.icon)?d.icon:void 0),this.item=d,this.alt=l?new s(l,void 0,p,m,v,b):void 0,this._options=p,this.class=I&&k.ThemeIcon.asClassName(I)}run(...d){var l,p;let m=[];return!((l=this._options)===null||l===void 0)&&l.arg&&(m=[...m,this._options.arg]),!((p=this._options)===null||p===void 0)&&p.shouldForwardArgs&&(m=[...m,...d]),this._commandService.executeCommand(this.id,...m)}};e.MenuItemAction=h,e.MenuItemAction=h=s=ke([fe(4,_.IContextKeyService),fe(5,f.ICommandService)],h);class r{constructor(d){this.desc=d}}e.Action2=r;function c(o){const d=new D.DisposableStore,l=new o,p=l.desc,{f1:m,menu:v,keybinding:b,description:w}=p,E=vi(p,["f1","menu","keybinding","description"]);if(d.add(f.CommandsRegistry.registerCommand({id:E.id,handler:(I,...M)=>l.run(I,...M),description:w})),Array.isArray(v))for(const I of v)d.add(e.MenuRegistry.appendMenuItem(I.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:I.precondition===null?void 0:E.precondition})},I)));else v&&d.add(e.MenuRegistry.appendMenuItem(v.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:v.precondition===null?void 0:E.precondition})},v)));if(m&&(d.add(e.MenuRegistry.appendMenuItem(t.CommandPalette,{command:E,when:E.precondition})),d.add(e.MenuRegistry.addCommand(E))),Array.isArray(b))for(const I of b)d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},I),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,I.when):I.when})));else b&&d.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},b),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,b.when):b.when})));return d}e.registerAction2=c}),define(ne[783],se([1,0,33,21,605,30,27,15]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFocusedDiffEditor=e.AccessibleDiffViewerPrev=e.AccessibleDiffViewerNext=void 0;const _={value:(0,y.localize)(0,null),original:"Accessible Diff Viewer"};class g extends D.Action2{constructor(){super({id:g.id,title:{value:(0,y.localize)(1,null),original:"Go to Next Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerNext()}}e.AccessibleDiffViewerNext=g,g.id="editor.action.accessibleDiffViewer.next",D.MenuRegistry.appendMenuItem(D.MenuId.EditorTitle,{command:{id:g.id,title:(0,y.localize)(2,null)},order:10,group:"2_diff",when:f.ContextKeyExpr.and(k.EditorContextKeys.accessibleDiffViewerVisible.negate(),f.ContextKeyExpr.has("isInDiffEditor"))});class C extends D.Action2{constructor(){super({id:C.id,title:{value:(0,y.localize)(3,null),original:"Go to Previous Difference"},category:_,precondition:f.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(t){const a=s(t);a?.accessibleDiffViewerPrev()}}e.AccessibleDiffViewerPrev=C,C.id="editor.action.accessibleDiffViewer.prev";function s(n){var t;const a=n.get(L.ICodeEditorService),u=a.listDiffEditors(),h=(t=a.getFocusedCodeEditor())!==null&&t!==void 0?t:a.getActiveCodeEditor();if(!h)return null;for(let r=0,c=u.length;r{this._instantiateSome(1)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(2)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(3)},5e3))}saveViewState(){const f={};for(const[_,g]of this._instances)typeof g.saveViewState=="function"&&(f[_]=g.saveViewState());return f}restoreViewState(f){for(const[_,g]of this._instances)typeof g.restoreViewState=="function"&&g.restoreViewState(f[_])}get(f){return this._instantiateById(f),this._instances.get(f)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(1)},50))}_instantiateSome(f){if(this._finishedInstantiation[f])return;this._finishedInstantiation[f]=!0;const _=this._findPendingContributionsByInstantiation(f);for(const g of _)this._instantiateById(g.id)}_findPendingContributionsByInstantiation(f){const _=[];for(const[,g]of this._pending)g.instantiation===f&&_.push(g);return _}_instantiateById(f){const _=this._pending.get(f);if(_){if(this._pending.delete(f),!this._instantiationService||!this._editor)throw new Error("Cannot instantiate contributions before being initialized!");try{const g=this._instantiationService.createInstance(_.ctor,this._editor);this._instances.set(_.id,g),typeof g.restoreViewState=="function"&&_.instantiation!==0&&console.warn(`Editor contribution '${_.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(g){(0,k.onUnexpectedError)(g)}}}}e.CodeEditorContributions=D}),define(ne[785],se([1,0,49,201,707,30,15]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleTabFocusModeAction=void 0;class f extends D.Action2{constructor(){super({id:f.ID,title:{value:y.localize(0,null),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(g){const C=g.get(S.IContextKeyService).getContextKeyValue("focusedView")==="terminal"?"terminalFocus":"editorFocus",i=!k.TabFocus.getTabFocusMode(C);k.TabFocus.setTabFocusMode(i,C),i?(0,L.alert)(y.localize(1,null)):(0,L.alert)(y.localize(2,null))}}e.ToggleTabFocusModeAction=f,f.ID="editor.action.toggleTabFocusMode",(0,D.registerAction2)(f)}),define(ne[346],se([1,0,228,582,15,118,726,2]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextScopedReplaceInput=e.ContextScopedFindInput=e.registerAndCreateHistoryNavigationContext=e.historyNavigationVisible=void 0,e.historyNavigationVisible=new y.RawContextKey("suggestWidgetVisible",!1,(0,S.localize)(0,null));const _="historyNavigationWidgetFocus",g="historyNavigationForwardsEnabled",C="historyNavigationBackwardsEnabled";let s;const i=[];function n(u,h){if(i.includes(h))throw new Error("Cannot register the same widget multiple times");i.push(h);const r=new f.DisposableStore,c=new y.RawContextKey(_,!1).bindTo(u),o=new y.RawContextKey(g,!0).bindTo(u),d=new y.RawContextKey(C,!0).bindTo(u),l=()=>{c.set(!0),s=h},p=()=>{c.set(!1),s===h&&(s=void 0)};return h.element===document.activeElement&&l(),r.add(h.onDidFocus(()=>l())),r.add(h.onDidBlur(()=>p())),r.add((0,f.toDisposable)(()=>{i.splice(i.indexOf(h),1),p()})),{historyNavigationForwardsEnablement:o,historyNavigationBackwardsEnablement:d,dispose(){r.dispose()}}}e.registerAndCreateHistoryNavigationContext=n;let t=class extends L.FindInput{constructor(h,r,c,o){super(h,r,c);const d=this._register(o.createScoped(this.inputBox.element));this._register(n(d,this.inputBox))}};e.ContextScopedFindInput=t,e.ContextScopedFindInput=t=ke([fe(3,y.IContextKeyService)],t);let a=class extends k.ReplaceInput{constructor(h,r,c,o,d=!1){super(h,r,d,c);const l=this._register(o.createScoped(this.inputBox.element));this._register(n(l,this.inputBox))}};e.ContextScopedReplaceInput=a,e.ContextScopedReplaceInput=a=ke([fe(3,y.IContextKeyService)],a),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(C,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:16,secondary:[528],handler:u=>{s?.showPreviousValue()}}),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(g,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:18,secondary:[530],handler:u=>{s?.showNextValue()}})}),define(ne[135],se([1,0,19,9,72,2,58,20,22,12,5,69,128,700,30,27,15,18,346]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickSuggestionsOptions=e.showSimpleSuggestions=e.getSuggestionComparator=e.provideSuggestionItems=e.CompletionItemModel=e.getSnippetSuggestSupport=e.CompletionOptions=e.CompletionItem=e.suggestWidgetStatusbarMenu=e.Context=void 0,e.Context={Visible:r.historyNavigationVisible,HasFocusedSuggestion:new u.RawContextKey("suggestWidgetHasFocusedSuggestion",!1,(0,n.localize)(0,null)),DetailsVisible:new u.RawContextKey("suggestWidgetDetailsVisible",!1,(0,n.localize)(1,null)),MultipleSuggestions:new u.RawContextKey("suggestWidgetMultipleSuggestions",!1,(0,n.localize)(2,null)),MakesTextEdit:new u.RawContextKey("suggestionMakesTextEdit",!0,(0,n.localize)(3,null)),AcceptSuggestionsOnEnter:new u.RawContextKey("acceptSuggestionOnEnter",!0,(0,n.localize)(4,null)),HasInsertAndReplaceRange:new u.RawContextKey("suggestionHasInsertAndReplaceRange",!1,(0,n.localize)(5,null)),InsertMode:new u.RawContextKey("suggestionInsertMode",void 0,{type:"string",description:(0,n.localize)(6,null)}),CanResolve:new u.RawContextKey("suggestionCanResolve",!1,(0,n.localize)(7,null))},e.suggestWidgetStatusbarMenu=new t.MenuId("suggestWidgetStatusBar");class c{constructor(T,A,N,F){var O;this.position=T,this.completion=A,this.container=N,this.provider=F,this.isInvalid=!1,this.score=y.FuzzyScore.Default,this.distance=0,this.textLabel=typeof A.label=="string"?A.label:(O=A.label)===null||O===void 0?void 0:O.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=A.sortText&&A.sortText.toLowerCase(),this.filterTextLow=A.filterText&&A.filterText.toLowerCase(),this.extensionId=A.extensionId,C.Range.isIRange(A.range)?(this.editStart=new g.Position(A.range.startLineNumber,A.range.startColumn),this.editInsertEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.editReplaceEnd=new g.Position(A.range.endLineNumber,A.range.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range)||A.range.startLineNumber!==T.lineNumber):(this.editStart=new g.Position(A.range.insert.startLineNumber,A.range.insert.startColumn),this.editInsertEnd=new g.Position(A.range.insert.endLineNumber,A.range.insert.endColumn),this.editReplaceEnd=new g.Position(A.range.replace.endLineNumber,A.range.replace.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(A.range.insert)||C.Range.spansMultipleLines(A.range.replace)||A.range.insert.startLineNumber!==T.lineNumber||A.range.replace.startLineNumber!==T.lineNumber||A.range.insert.startColumn!==A.range.replace.startColumn),typeof F.resolveCompletionItem!="function"&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return this._resolveDuration!==void 0}get resolveDuration(){return this._resolveDuration!==void 0?this._resolveDuration:-1}resolve(T){return we(this,void 0,void 0,function*(){if(!this._resolveCache){const A=T.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),N=new S.StopWatch(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,T)).then(F=>{Object.assign(this.completion,F),this._resolveDuration=N.elapsed(),A.dispose()},F=>{(0,k.isCancellationError)(F)&&(this._resolveCache=void 0,this._resolveDuration=void 0)})}return this._resolveCache})}}e.CompletionItem=c;class o{constructor(T=2,A=new Set,N=new Set,F=new Map,O=!0){this.snippetSortOrder=T,this.kindFilter=A,this.providerFilter=N,this.providerItemsToReuse=F,this.showDeprecated=O}}e.CompletionOptions=o,o.default=new o;let d;function l(){return d}e.getSnippetSuggestSupport=l;class p{constructor(T,A,N,F){this.items=T,this.needsClipboard=A,this.durations=N,this.disposable=F}}e.CompletionItemModel=p;function m(x,T,A,N=o.default,F={triggerKind:0},O=L.CancellationToken.None){return we(this,void 0,void 0,function*(){const W=new S.StopWatch;A=A.clone();const U=T.getWordAtPosition(A),j=U?new C.Range(A.lineNumber,U.startColumn,A.lineNumber,U.endColumn):C.Range.fromPositions(A),R={replace:j,insert:j.setEndPosition(A.lineNumber,A.column)},K=[],G=new D.DisposableStore,Z=[];let J=!1;const X=(B,V,Y)=>{var ie,ae,ce;let de=!1;if(!V)return de;for(const he of V.suggestions)if(!N.kindFilter.has(he.kind)){if(!N.showDeprecated&&(!((ie=he?.tags)===null||ie===void 0)&&ie.includes(1)))continue;he.range||(he.range=R),he.sortText||(he.sortText=typeof he.label=="string"?he.label:he.label.label),!J&&he.insertTextRules&&he.insertTextRules&4&&(J=i.SnippetParser.guessNeedsClipboard(he.insertText)),K.push(new c(A,he,V,B)),de=!0}return(0,D.isDisposable)(V)&&G.add(V),Z.push({providerName:(ae=B._debugDisplayName)!==null&&ae!==void 0?ae:"unknown_provider",elapsedProvider:(ce=V.duration)!==null&&ce!==void 0?ce:-1,elapsedOverall:Y.elapsed()}),de},H=(()=>we(this,void 0,void 0,function*(){if(!d||N.kindFilter.has(27))return;const B=N.providerItemsToReuse.get(d);if(B){B.forEach(ie=>K.push(ie));return}if(N.providerFilter.size>0&&!N.providerFilter.has(d))return;const V=new S.StopWatch,Y=yield d.provideCompletionItems(T,A,F,O);X(d,Y,V)}))();for(const B of x.orderedGroups(T)){let V=!1;if(yield Promise.all(B.map(Y=>we(this,void 0,void 0,function*(){if(N.providerItemsToReuse.has(Y)){const ie=N.providerItemsToReuse.get(Y);ie.forEach(ae=>K.push(ae)),V=V||ie.length>0;return}if(!(N.providerFilter.size>0&&!N.providerFilter.has(Y)))try{const ie=new S.StopWatch,ae=yield Y.provideCompletionItems(T,A,F,O);V=X(Y,ae,ie)||V}catch(ie){(0,k.onUnexpectedExternalError)(ie)}}))),V||O.isCancellationRequested)break}return yield H,O.isCancellationRequested?(G.dispose(),Promise.reject(new k.CancellationError)):new p(K.sort(I(N.snippetSortOrder)),J,{entries:Z,elapsed:W.elapsed()},G)})}e.provideSuggestionItems=m;function v(x,T){if(x.sortTextLow&&T.sortTextLow){if(x.sortTextLowT.sortTextLow)return 1}return x.textLabelT.textLabel?1:x.completion.kind-T.completion.kind}function b(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return-1;if(T.completion.kind===27)return 1}return v(x,T)}function w(x,T){if(x.completion.kind!==T.completion.kind){if(x.completion.kind===27)return 1;if(T.completion.kind===27)return-1}return v(x,T)}const E=new Map;E.set(0,b),E.set(2,w),E.set(1,v);function I(x){return E.get(x)}e.getSuggestionComparator=I,a.CommandsRegistry.registerCommand("_executeCompletionItemProvider",(x,...T)=>we(void 0,void 0,void 0,function*(){const[A,N,F,O]=T;(0,f.assertType)(_.URI.isUri(A)),(0,f.assertType)(g.Position.isIPosition(N)),(0,f.assertType)(typeof F=="string"||!F),(0,f.assertType)(typeof O=="number"||!O);const{completionProvider:W}=x.get(h.ILanguageFeaturesService),U=yield x.get(s.ITextModelService).createModelReference(A);try{const j={incomplete:!1,suggestions:[]},R=[],K=U.object.textEditorModel.validatePosition(N),G=yield m(W,U.object.textEditorModel,K,void 0,{triggerCharacter:F??void 0,triggerKind:F?1:0});for(const Z of G.items)R.length<(O??0)&&R.push(Z.resolve(L.CancellationToken.None)),j.incomplete=j.incomplete||Z.container.incomplete,j.suggestions.push(Z.completion);try{return yield Promise.all(R),j}finally{setTimeout(()=>G.disposable.dispose(),100)}}finally{U.dispose()}}));function M(x,T){var A;(A=x.getContribution("editor.contrib.suggestController"))===null||A===void 0||A.triggerSuggest(new Set().add(T),void 0,!0)}e.showSimpleSuggestions=M;class P{static isAllOff(T){return T.other==="off"&&T.comments==="off"&&T.strings==="off"}static isAllOn(T){return T.other==="on"&&T.comments==="on"&&T.strings==="on"}static valueFor(T,A){switch(A){case 1:return T.comments;case 2:return T.strings;default:return T.other}}}e.QuickSuggestionsOptions=P}),define(ne[136],se([1,0,14,2,37]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessRegistry=e.Extensions=e.DefaultQuickAccessFilterValue=void 0;var D;(function(f){f[f.PRESERVE=0]="PRESERVE",f[f.LAST=1]="LAST"})(D||(e.DefaultQuickAccessFilterValue=D={})),e.Extensions={Quickaccess:"workbench.contributions.quickaccess"};class S{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(_){return _.prefix.length===0?this.defaultProvider=_:this.providers.push(_),this.providers.sort((g,C)=>C.prefix.length-g.prefix.length),(0,k.toDisposable)(()=>{this.providers.splice(this.providers.indexOf(_),1),this.defaultProvider===_&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,L.coalesce)([this.defaultProvider,...this.providers])}getQuickAccessProvider(_){return _&&this.providers.find(C=>_.startsWith(C.prefix))||void 0||this.defaultProvider}}e.QuickAccessRegistry=S,y.Registry.add(e.Extensions.Quickaccess,new S)}),define(ne[786],se([1,0,731,37,2,34,136,71]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.HelpQuickAccessProvider=void 0;let g=_=class{constructor(s,i){this.quickInputService=s,this.keybindingService=i,this.registry=k.Registry.as(S.Extensions.Quickaccess)}provide(s){const i=new y.DisposableStore;return i.add(s.onDidAccept(()=>{const[n]=s.selectedItems;n&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})),i.add(s.onDidChangeValue(n=>{const t=this.registry.getQuickAccessProvider(n.substr(_.PREFIX.length));t&&t.prefix&&t.prefix!==_.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),s.items=this.getQuickAccessProviders().filter(n=>n.prefix!==_.PREFIX),i}getQuickAccessProviders(){return this.registry.getQuickAccessProviders().sort((i,n)=>i.prefix.localeCompare(n.prefix)).flatMap(i=>this.createPicks(i))}createPicks(s){return s.helpEntries.map(i=>{const n=i.prefix||s.prefix,t=n||"\u2026";return{prefix:n,label:t,keybinding:i.commandId?this.keybindingService.lookupKeybinding(i.commandId):void 0,ariaLabel:(0,L.localize)(0,null,t,i.description),description:i.description}})}};e.HelpQuickAccessProvider=g,g.PREFIX="?",e.HelpQuickAccessProvider=g=_=ke([fe(0,f.IQuickInputService),fe(1,D.IKeybindingService)],g)}),define(ne[787],se([1,0,37,136,94,786]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:D.HelpQuickAccessProvider,prefix:"",helpEntries:[{description:y.QuickHelpNLS.helpQuickAccessActionLabel}]})}),define(ne[788],se([1,0,13,19,99,2,8,136,71,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessController=void 0;let C=class extends D.Disposable{constructor(i,n){super(),this.quickInputService=i,this.instantiationService=n,this.registry=g.Registry.as(f.Extensions.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(i="",n){this.doShowOrPick(i,!1,n)}doShowOrPick(i,n,t){var a;const[u,h]=this.getOrInstantiateProvider(i),r=this.visibleQuickAccess,c=r?.descriptor;if(r&&h&&c===h){i!==h.prefix&&!t?.preserveValue&&(r.picker.value=i),this.adjustValueSelection(r.picker,h,t);return}if(h&&!t?.preserveValue){let m;if(r&&c&&c!==h){const v=r.value.substr(c.prefix.length);v&&(m=`${h.prefix}${v}`)}if(!m){const v=u?.defaultFilterValue;v===f.DefaultQuickAccessFilterValue.LAST?m=this.lastAcceptedPickerValues.get(h):typeof v=="string"&&(m=`${h.prefix}${v}`)}typeof m=="string"&&(i=m)}const o=new D.DisposableStore,d=o.add(this.quickInputService.createQuickPick());d.value=i,this.adjustValueSelection(d,h,t),d.placeholder=h?.placeholder,d.quickNavigate=t?.quickNavigateConfiguration,d.hideInput=!!d.quickNavigate&&!r,(typeof t?.itemActivation=="number"||t?.quickNavigateConfiguration)&&(d.itemActivation=(a=t?.itemActivation)!==null&&a!==void 0?a:_.ItemActivation.SECOND),d.contextKey=h?.contextKey,d.filterValue=m=>m.substring(h?h.prefix.length:0);let l;n&&(l=new L.DeferredPromise,o.add((0,y.once)(d.onWillAccept)(m=>{m.veto(),d.hide()}))),o.add(this.registerPickerListeners(d,u,h,i,t?.providerOptions));const p=o.add(new k.CancellationTokenSource);if(u&&o.add(u.provide(d,p.token,t?.providerOptions)),(0,y.once)(d.onDidHide)(()=>{d.selectedItems.length===0&&p.cancel(),o.dispose(),l?.complete(d.selectedItems.slice(0))}),d.show(),n)return l?.p}adjustValueSelection(i,n,t){var a;let u;t?.preserveValue?u=[i.value.length,i.value.length]:u=[(a=n?.prefix.length)!==null&&a!==void 0?a:0,i.value.length],i.valueSelection=u}registerPickerListeners(i,n,t,a,u){const h=new D.DisposableStore,r=this.visibleQuickAccess={picker:i,descriptor:t,value:a};return h.add((0,D.toDisposable)(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),h.add(i.onDidChangeValue(c=>{const[o]=this.getOrInstantiateProvider(c);o!==n?this.show(c,{preserveValue:!0,providerOptions:u}):r.value=c})),t&&h.add(i.onDidAccept(()=>{this.lastAcceptedPickerValues.set(t,i.value)})),h}getOrInstantiateProvider(i){const n=this.registry.getQuickAccessProvider(i);if(!n)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(n);return t||(t=this.instantiationService.createInstance(n.ctor),this.mapProviderToDescriptor.set(n,t)),[t,n]}};e.QuickAccessController=C,e.QuickAccessController=C=ke([fe(0,_.IQuickInputService),fe(1,S.IInstantiationService)],C)}),define(ne[789],se([1,0,25,26,101,474]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SeverityIcon=void 0;var D;(function(S){function f(_){switch(_){case y.default.Ignore:return"severity-ignore "+k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Info:return k.ThemeIcon.asClassName(L.Codicon.info);case y.default.Warning:return k.ThemeIcon.asClassName(L.Codicon.warning);case y.default.Error:return k.ThemeIcon.asClassName(L.Codicon.error);default:return""}}S.className=f})(D||(e.SeverityIcon=D={}))}),define(ne[87],se([1,0,6,2,20,588,8]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageService=e.AbstractStorageService=e.loadKeyTargets=e.WillSaveStateReason=e.IStorageService=e.TARGET_KEY=void 0,e.TARGET_KEY="__$__targetStorageMarker",e.IStorageService=(0,S.createDecorator)("storageService");var f;(function(s){s[s.NONE=0]="NONE",s[s.SHUTDOWN=1]="SHUTDOWN"})(f||(e.WillSaveStateReason=f={}));function _(s){const i=s.get(e.TARGET_KEY);if(i)try{return JSON.parse(i)}catch{}return Object.create(null)}e.loadKeyTargets=_;class g extends k.Disposable{constructor(i={flushInterval:g.DEFAULT_FLUSH_INTERVAL}){super(),this.options=i,this._onDidChangeValue=this._register(new L.PauseableEmitter),this._onDidChangeTarget=this._register(new L.PauseableEmitter),this._onWillSaveState=this._register(new L.Emitter),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(i,n,t){return L.Event.filter(this._onDidChangeValue.event,a=>a.scope===i&&(n===void 0||a.key===n),t)}emitDidChangeValue(i,n){const{key:t,external:a}=n;if(t===e.TARGET_KEY){switch(i){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0;break}this._onDidChangeTarget.fire({scope:i})}else this._onDidChangeValue.fire({scope:i,key:t,target:this.getKeyTargets(i)[t],external:a})}get(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.get(i,t)}getBoolean(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getBoolean(i,t)}getNumber(i,n,t){var a;return(a=this.getStorage(n))===null||a===void 0?void 0:a.getNumber(i,t)}store(i,n,t,a,u=!1){if((0,y.isUndefinedOrNull)(n)){this.remove(i,t,u);return}this.withPausedEmitters(()=>{var h;this.updateKeyTarget(i,t,a),(h=this.getStorage(t))===null||h===void 0||h.set(i,n,u)})}remove(i,n,t=!1){this.withPausedEmitters(()=>{var a;this.updateKeyTarget(i,n,void 0),(a=this.getStorage(n))===null||a===void 0||a.delete(i,t)})}withPausedEmitters(i){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{i()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(i,n,t,a=!1){var u,h;const r=this.getKeyTargets(n);typeof t=="number"?r[i]!==t&&(r[i]=t,(u=this.getStorage(n))===null||u===void 0||u.set(e.TARGET_KEY,JSON.stringify(r),a)):typeof r[i]=="number"&&(delete r[i],(h=this.getStorage(n))===null||h===void 0||h.set(e.TARGET_KEY,JSON.stringify(r),a))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(i){switch(i){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(i){const n=this.getStorage(i);return n?_(n):Object.create(null)}}e.AbstractStorageService=g,g.DEFAULT_FLUSH_INTERVAL=60*1e3;class C extends g{constructor(){super(),this.applicationStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(i=>this.emitDidChangeValue(1,i))),this._register(this.profileStorage.onDidChangeStorage(i=>this.emitDidChangeValue(0,i))),this._register(this.applicationStorage.onDidChangeStorage(i=>this.emitDidChangeValue(-1,i)))}getStorage(i){switch(i){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}e.InMemoryStorageService=C}),define(ne[790],se([1,0,13,99,65,5,332,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeLensCache=e.ICodeLensCache=void 0,e.ICodeLensCache=(0,_.createDecorator)("ICodeLensCache");class C{constructor(n,t){this.lineCount=n,this.data=t}}let s=class{constructor(n){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new y.LRUCache(20,.75);const t="codelens/cache";(0,L.runWhenIdle)(()=>n.remove(t,1));const a="codelens/cache2",u=n.get(a,1,"{}");this._deserialize(u),(0,k.once)(n.onWillSaveState)(h=>{h.reason===g.WillSaveStateReason.SHUTDOWN&&n.store(a,this._serialize(),1,1)})}put(n,t){const a=t.lenses.map(r=>{var c;return{range:r.symbol.range,command:r.symbol.command&&{id:"",title:(c=r.symbol.command)===null||c===void 0?void 0:c.title}}}),u=new S.CodeLensModel;u.add({lenses:a,dispose:()=>{}},this._fakeProvider);const h=new C(n.getLineCount(),u);this._cache.set(n.uri.toString(),h)}get(n){const t=this._cache.get(n.uri.toString());return t&&t.lineCount===n.getLineCount()?t.data:void 0}delete(n){this._cache.delete(n.uri.toString())}_serialize(){const n=Object.create(null);for(const[t,a]of this._cache){const u=new Set;for(const h of a.data.lenses)u.add(h.symbol.range.startLineNumber);n[t]={lineCount:a.lineCount,lines:[...u.values()]}}return JSON.stringify(n)}_deserialize(n){try{const t=JSON.parse(n);for(const a in t){const u=t[a],h=[];for(const c of u.lines)h.push({range:new D.Range(c,1,c,11)});const r=new S.CodeLensModel;r.add({lenses:h,dispose(){}},this._fakeProvider),this._cache.set(a,new C(u.lineCount,r))}}catch{}}};e.CodeLensCache=s,e.CodeLensCache=s=ke([fe(0,g.IStorageService)],s),(0,f.registerSingleton)(e.ICodeLensCache,s,1)}),define(ne[347],se([1,0,13,2,65,198,29,28,50,8,87]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.ISuggestMemoryService=e.SuggestMemoryService=e.PrefixMemory=e.LRUMemory=e.NoMemory=e.Memory=void 0;class i{constructor(r){this.name=r}select(r,c,o){if(o.length===0)return 0;const d=o[0].score[0];for(let l=0;lv&&E.type===o[b].completion.kind&&E.insertText===o[b].completion.insertText&&(v=E.touch,m=b),o[b].completion.preselect&&p===-1)return p=b}return m!==-1?m:p!==-1?p:0}toJSON(){return this._cache.toJSON()}fromJSON(r){this._cache.clear();const c=0;for(const[o,d]of r)d.touch=c,d.type=typeof d.type=="number"?d.type:S.CompletionItemKinds.fromString(d.type),this._cache.set(o,d);this._seq=this._cache.size}}e.LRUMemory=t;class a extends i{constructor(){super("recentlyUsedByPrefix"),this._trie=D.TernarySearchTree.forStrings(),this._seq=0}memorize(r,c,o){const{word:d}=r.getWordUntilPosition(c),l=`${r.getLanguageId()}/${d}`;this._trie.set(l,{type:o.completion.kind,insertText:o.completion.insertText,touch:this._seq++})}select(r,c,o){const{word:d}=r.getWordUntilPosition(c);if(!d)return super.select(r,c,o);const l=`${r.getLanguageId()}/${d}`;let p=this._trie.get(l);if(p||(p=this._trie.findSubstr(l)),p)for(let m=0;mr.push([o,c])),r.sort((c,o)=>-(c[1].touch-o[1].touch)).forEach((c,o)=>c[1].touch=o),r.slice(0,200)}fromJSON(r){if(this._trie.clear(),r.length>0){this._seq=r[0][1].touch+1;for(const[c,o]of r)o.type=typeof o.type=="number"?o.type:S.CompletionItemKinds.fromString(o.type),this._trie.set(c,o)}}}e.PrefixMemory=a;let u=s=class{constructor(r,c){this._storageService=r,this._configService=c,this._disposables=new k.DisposableStore,this._persistSoon=new L.RunOnceScheduler(()=>this._saveState(),500),this._disposables.add(r.onWillSaveState(o=>{o.reason===C.WillSaveStateReason.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(r,c,o){this._withStrategy(r,c).memorize(r,c,o),this._persistSoon.schedule()}select(r,c,o){return this._withStrategy(r,c).select(r,c,o)}_withStrategy(r,c){var o;const d=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:r.getLanguageIdAtPosition(c.lineNumber,c.column),resource:r.uri});if(((o=this._strategy)===null||o===void 0?void 0:o.name)!==d){this._saveState();const l=s._strategyCtors.get(d)||n;this._strategy=new l;try{const m=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,v=this._storageService.get(`${s._storagePrefix}/${d}`,m);v&&this._strategy.fromJSON(JSON.parse(v))}catch{}}return this._strategy}_saveState(){if(this._strategy){const c=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=JSON.stringify(this._strategy);this._storageService.store(`${s._storagePrefix}/${this._strategy.name}`,o,c,1)}}};e.SuggestMemoryService=u,u._strategyCtors=new Map([["recentlyUsedByPrefix",a],["recentlyUsed",t],["first",n]]),u._storagePrefix="suggest/memories",e.SuggestMemoryService=u=s=ke([fe(0,C.IStorageService),fe(1,f.IConfigurationService)],u),e.ISuggestMemoryService=(0,g.createDecorator)("ISuggestMemories"),(0,_.registerSingleton)(e.ISuggestMemoryService,u,1)}),define(ne[791],se([1,0,13,6,2,30,27,15,39,87,14,719]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),e.MenuService=void 0;let t=class{constructor(o,d){this._commandService=o,this._hiddenStates=new a(d)}createMenu(o,d,l){return new h(o,this._hiddenStates,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},l),this._commandService,d)}resetHiddenStates(o){this._hiddenStates.reset(o)}};e.MenuService=t,e.MenuService=t=ke([fe(0,S.ICommandService),fe(1,g.IStorageService)],t);let a=i=class{constructor(o){this._storageService=o,this._disposables=new y.DisposableStore,this._onDidChange=new k.Emitter,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch{this._data=Object.create(null)}this._disposables.add(o.onDidChangeValue(0,i._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{const d=o.get(i._key,0,"{}");this._data=JSON.parse(d)}catch(d){console.log("FAILED to read storage after UPDATE",d)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(o,d){var l;return(l=this._hiddenByDefaultCache.get(`${o.id}/${d}`))!==null&&l!==void 0?l:!1}setDefaultState(o,d,l){this._hiddenByDefaultCache.set(`${o.id}/${d}`,l)}isHidden(o,d){var l,p;const m=this._isHiddenByDefault(o,d),v=(p=(l=this._data[o.id])===null||l===void 0?void 0:l.includes(d))!==null&&p!==void 0?p:!1;return m?!v:v}updateHidden(o,d,l){this._isHiddenByDefault(o,d)&&(l=!l);const m=this._data[o.id];if(l)m?m.indexOf(d)<0&&m.push(d):this._data[o.id]=[d];else if(m){const v=m.indexOf(d);v>=0&&(0,C.removeFastWithoutKeepingOrder)(m,v),m.length===0&&delete this._data[o.id]}this._persist()}reset(o){if(o===void 0)this._data=Object.create(null),this._persist();else{for(const{id:d}of o)this._data[d]&&delete this._data[d];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const o=JSON.stringify(this._data);this._storageService.store(i._key,o,0,0)}finally{this._ignoreChangeEvent=!1}}};a._key="menu.hiddenCommands",a=i=ke([fe(0,g.IStorageService)],a);let u=n=class{constructor(o,d,l,p,m){this._id=o,this._hiddenStates=d,this._collectContextKeysForSubmenus=l,this._commandService=p,this._contextKeyService=m,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const o=D.MenuRegistry.getMenuItems(this._id);let d;o.sort(n._compareMenuItems);for(const l of o){const p=l.group||"";(!d||d[0]!==p)&&(d=[p,[]],this._menuGroups.push(d)),d[1].push(l),this._collectContextKeys(l)}}_collectContextKeys(o){if(n._fillInKbExprKeys(o.when,this._structureContextKeys),(0,D.isIMenuItem)(o)){if(o.command.precondition&&n._fillInKbExprKeys(o.command.precondition,this._preconditionContextKeys),o.command.toggled){const d=o.command.toggled.condition||o.command.toggled;n._fillInKbExprKeys(d,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&D.MenuRegistry.getMenuItems(o.submenu).forEach(this._collectContextKeys,this)}createActionGroups(o){const d=[];for(const l of this._menuGroups){const[p,m]=l,v=[];for(const b of m)if(this._contextKeyService.contextMatchesRules(b.when)){const w=(0,D.isIMenuItem)(b);w&&this._hiddenStates.setDefaultState(this._id,b.command.id,!!b.isHiddenByDefault);const E=r(this._id,w?b.command:b,this._hiddenStates);if(w)v.push(new D.MenuItemAction(b.command,b.alt,o,E,this._contextKeyService,this._commandService));else{const I=new n(b.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._contextKeyService).createActionGroups(o),M=_.Separator.join(...I.map(P=>P[1]));M.length>0&&v.push(new D.SubmenuItemAction(b,E,M))}}v.length>0&&d.push([p,v])}return d}static _fillInKbExprKeys(o,d){if(o)for(const l of o.keys())d.add(l)}static _compareMenuItems(o,d){const l=o.group,p=d.group;if(l!==p){if(l){if(!p)return-1}else return 1;if(l==="navigation")return-1;if(p==="navigation")return 1;const b=l.localeCompare(p);if(b!==0)return b}const m=o.order||0,v=d.order||0;return mv?1:n._compareTitles((0,D.isIMenuItem)(o)?o.command.title:o.title,(0,D.isIMenuItem)(d)?d.command.title:d.title)}static _compareTitles(o,d){const l=typeof o=="string"?o:o.original,p=typeof d=="string"?d:d.original;return l.localeCompare(p)}};u=n=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],u);let h=class{constructor(o,d,l,p,m){this._disposables=new y.DisposableStore,this._menuInfo=new u(o,d,l.emitEventsForSubmenuChanges,p,m);const v=new L.RunOnceScheduler(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},l.eventDebounceDelay);this._disposables.add(v),this._disposables.add(D.MenuRegistry.onDidChangeMenu(I=>{I.has(o)&&v.schedule()}));const b=this._disposables.add(new y.DisposableStore),w=I=>{let M=!1,P=!1,x=!1;for(const T of I)if(M=M||T.isStructuralChange,P=P||T.isEnablementChange,x=x||T.isToggleChange,M&&P&&x)break;return{menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x}},E=()=>{b.add(m.onDidChangeContext(I=>{const M=I.affectsSome(this._menuInfo.structureContextKeys),P=I.affectsSome(this._menuInfo.preconditionContextKeys),x=I.affectsSome(this._menuInfo.toggledContextKeys);(M||P||x)&&this._onDidChange.fire({menu:this,isStructuralChange:M,isEnablementChange:P,isToggleChange:x})})),b.add(d.onDidChange(I=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))};this._onDidChange=new k.DebounceEmitter({onWillAddFirstListener:E,onDidRemoveLastListener:b.clear.bind(b),delay:l.eventDebounceDelay,merge:w}),this.onDidChange=this._onDidChange.event}getActions(o){return this._menuInfo.createActionGroups(o)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};h=ke([fe(3,S.ICommandService),fe(4,f.IContextKeyService)],h);function r(c,o,d){const l=(0,D.isISubmenuItem)(o)?o.submenu.id:o.id,p=typeof o.title=="string"?o.title:o.title.value,m=(0,_.toAction)({id:`hide/${c.id}/${l}`,label:(0,s.localize)(0,null,p),run(){d.updateHidden(c,l,!0)}}),v=(0,_.toAction)({id:`toggle/${c.id}/${l}`,label:p,get checked(){return!d.isHidden(c,l)},run(){d.updateHidden(c,l,!!this.checked)}});return{hide:m,toggle:v,get isHidden(){return!v.checked}}}}),define(ne[79],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITelemetryService=void 0,e.ITelemetryService=(0,L.createDecorator)("telemetryService")}),define(ne[16],se([1,0,603,22,33,12,51,69,30,27,15,8,118,37,79,20,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectAllCommand=e.RedoCommand=e.UndoCommand=e.EditorExtensionsRegistry=e.registerEditorContribution=e.registerInstantiatedEditorAction=e.registerMultiEditorAction=e.registerEditorAction=e.registerEditorCommand=e.registerModelAndPositionCommand=e.EditorAction2=e.MultiEditorAction=e.EditorAction=e.EditorCommand=e.ProxyCommand=e.MultiCommand=e.Command=void 0;class h{constructor(N){this.id=N.id,this.precondition=N.precondition,this._kbOpts=N.kbOpts,this._menuOpts=N.menuOpts,this._description=N.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const N=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const F of N){let O=F.kbExpr;this.precondition&&(O?O=C.ContextKeyExpr.and(O,this.precondition):O=this.precondition);const W={id:this.id,weight:F.weight,args:F.args,when:O,primary:F.primary,secondary:F.secondary,win:F.win,linux:F.linux,mac:F.mac};i.KeybindingsRegistry.registerKeybindingRule(W)}}g.CommandsRegistry.registerCommand({id:this.id,handler:(N,F)=>this.runCommand(N,F),description:this._description})}_registerMenuItem(N){_.MenuRegistry.appendMenuItem(N.menuId,{group:N.group,command:{id:this.id,title:N.title,icon:N.icon,precondition:this.precondition},when:N.when,order:N.order})}}e.Command=h;class r extends h{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F,O,W){return this._implementations.push({priority:N,name:F,implementation:O,when:W}),this._implementations.sort((U,j)=>j.priority-U.priority),{dispose:()=>{for(let U=0;U{if(R.get(C.IContextKeyService).contextMatchesRules(O??void 0))return W(R,j,F)})}runCommand(N,F){return o.runEditorCommand(N,F,this.precondition,(O,W,U)=>this.runEditorCommand(O,W,U))}}e.EditorCommand=o;class d extends o{static convertOptions(N){let F;Array.isArray(N.menuOpts)?F=N.menuOpts:N.menuOpts?F=[N.menuOpts]:F=[];function O(W){return W.menuId||(W.menuId=_.MenuId.EditorContext),W.title||(W.title=N.label),W.when=C.ContextKeyExpr.and(N.precondition,W.when),W}return Array.isArray(N.contextMenuOpts)?F.push(...N.contextMenuOpts.map(O)):N.contextMenuOpts&&F.push(O(N.contextMenuOpts)),N.menuOpts=F,N}constructor(N){super(d.convertOptions(N)),this.label=N.label,this.alias=N.alias}runEditorCommand(N,F,O){return this.reportTelemetry(N,F),this.run(N,F,O||{})}reportTelemetry(N,F){N.get(t.ITelemetryService).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}e.EditorAction=d;class l extends d{constructor(){super(...arguments),this._implementations=[]}addImplementation(N,F){return this._implementations.push([N,F]),this._implementations.sort((O,W)=>W[0]-O[0]),{dispose:()=>{for(let O=0;O{var j,R;const K=U.get(C.IContextKeyService),G=U.get(u.ILogService);if(!K.contextMatchesRules((j=this.desc.precondition)!==null&&j!==void 0?j:void 0)){G.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,(R=this.desc.precondition)===null||R===void 0?void 0:R.serialize());return}return this.runEditorCommand(U,W,...F)})}}e.EditorAction2=p;function m(A,N){g.CommandsRegistry.registerCommand(A,function(F,...O){const W=F.get(s.IInstantiationService),[U,j]=O;(0,a.assertType)(k.URI.isUri(U)),(0,a.assertType)(D.Position.isIPosition(j));const R=F.get(S.IModelService).getModel(U);if(R){const K=D.Position.lift(j);return W.invokeFunction(N,R,K,...O.slice(2))}return F.get(f.ITextModelService).createModelReference(U).then(K=>new Promise((G,Z)=>{try{const J=W.invokeFunction(N,K.object.textEditorModel,D.Position.lift(j),O.slice(2));G(J)}catch(J){Z(J)}}).finally(()=>{K.dispose()}))})}e.registerModelAndPositionCommand=m;function v(A){return x.INSTANCE.registerEditorCommand(A),A}e.registerEditorCommand=v;function b(A){const N=new A;return x.INSTANCE.registerEditorAction(N),N}e.registerEditorAction=b;function w(A){return x.INSTANCE.registerEditorAction(A),A}e.registerMultiEditorAction=w;function E(A){x.INSTANCE.registerEditorAction(A)}e.registerInstantiatedEditorAction=E;function I(A,N,F){x.INSTANCE.registerEditorContribution(A,N,F)}e.registerEditorContribution=I;var M;(function(A){function N(j){return x.INSTANCE.getEditorCommand(j)}A.getEditorCommand=N;function F(){return x.INSTANCE.getEditorActions()}A.getEditorActions=F;function O(){return x.INSTANCE.getEditorContributions()}A.getEditorContributions=O;function W(j){return x.INSTANCE.getEditorContributions().filter(R=>j.indexOf(R.id)>=0)}A.getSomeEditorContributions=W;function U(){return x.INSTANCE.getDiffEditorContributions()}A.getDiffEditorContributions=U})(M||(e.EditorExtensionsRegistry=M={}));const P={EditorCommonContributions:"editor.contributions"};class x{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(N,F,O){this.editorContributions.push({id:N,ctor:F,instantiation:O})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(N){N.register(),this.editorActions.push(N)}getEditorActions(){return this.editorActions}registerEditorCommand(N){N.register(),this.editorCommands[N.id]=N}getEditorCommand(N){return this.editorCommands[N]||null}}x.INSTANCE=new x,n.Registry.add(P.EditorCommonContributions,x.INSTANCE);function T(A){return A.register(),A}e.UndoCommand=T(new r({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(0,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(1,null),order:1}]})),T(new c(e.UndoCommand,{id:"default:undo",precondition:void 0})),e.RedoCommand=T(new r({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(2,null),order:2},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(3,null),order:1}]})),T(new c(e.RedoCommand,{id:"default:redo",precondition:void 0})),e.SelectAllCommand=T(new r({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:_.MenuId.MenubarSelectionMenu,group:"1_basic",title:L.localize(4,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(5,null),order:1}]}))}),define(ne[189],se([1,0,602,52,20,49,16,33,496,74,204,205,246,12,5,21,15,118]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoreEditingCommands=e.CoreNavigationCommands=e.RevealLine_=e.EditorScroll_=e.CoreEditorCommand=void 0;const r=0;class c extends S.EditorCommand{runEditorCommand(P,x,T){const A=x._getViewModel();A&&this.runCoreEditorCommand(A,T||{})}}e.CoreEditorCommand=c;var o;(function(M){const P=function(T){if(!y.isObject(T))return!1;const A=T;return!(!y.isString(A.to)||!y.isUndefined(A.by)&&!y.isString(A.by)||!y.isUndefined(A.value)&&!y.isNumber(A.value)||!y.isUndefined(A.revealCursor)&&!y.isBoolean(A.revealCursor))};M.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage', 'editor'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:P,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage","editor"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},M.RawDirection={Up:"up",Right:"right",Down:"down",Left:"left"},M.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage",Editor:"editor",Column:"column"};function x(T){let A;switch(T.to){case M.RawDirection.Up:A=1;break;case M.RawDirection.Right:A=2;break;case M.RawDirection.Down:A=3;break;case M.RawDirection.Left:A=4;break;default:return null}let N;switch(T.by){case M.RawUnit.Line:N=1;break;case M.RawUnit.WrappedLine:N=2;break;case M.RawUnit.Page:N=3;break;case M.RawUnit.HalfPage:N=4;break;case M.RawUnit.Editor:N=5;break;case M.RawUnit.Column:N=6;break;default:N=2}const F=Math.floor(T.value||1),O=!!T.revealCursor;return{direction:A,unit:N,value:F,revealCursor:O,select:!!T.select}}M.parse=x})(o||(e.EditorScroll_=o={}));var d;(function(M){const P=function(x){if(!y.isObject(x))return!1;const T=x;return!(!y.isNumber(T.lineNumber)&&!y.isString(T.lineNumber)||!y.isUndefined(T.at)&&!y.isString(T.at))};M.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed.\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:P,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},M.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}})(d||(e.RevealLine_=d={}));class l{constructor(P){P.addImplementation(1e4,"code-editor",(x,T)=>{const A=x.get(f.ICodeEditorService).getFocusedCodeEditor();return A&&A.hasTextFocus()?this._runEditorCommand(x,A,T):!1}),P.addImplementation(1e3,"generic-dom-input-textarea",(x,T)=>{const A=document.activeElement;return A&&["input","textarea"].indexOf(A.tagName.toLowerCase())>=0?(this.runDOMCommand(),!0):!1}),P.addImplementation(0,"generic-dom",(x,T)=>{const A=x.get(f.ICodeEditorService).getActiveCodeEditor();return A?(A.focus(),this._runEditorCommand(x,A,T)):!1})}_runEditorCommand(P,x,T){const A=this.runEditorCommand(P,x,T);return A||!0}}var p;(function(M){class P extends c{constructor(B){super(B),this._inSelectionMode=B.inSelectionMode}runCoreEditorCommand(B,V){if(!V.position)return;B.model.pushStackElement(),B.setCursorStates(V.source,3,[s.CursorMoveCommands.moveTo(B,B.getPrimaryCursorState(),this._inSelectionMode,V.position,V.viewPosition)])&&V.revealType!==2&&B.revealPrimaryCursor(V.source,!0,!0)}}M.MoveTo=(0,S.registerEditorCommand)(new P({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),M.MoveToSelect=(0,S.registerEditorCommand)(new P({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class x extends c{runCoreEditorCommand(B,V){B.model.pushStackElement();const Y=this._getColumnSelectResult(B,B.getPrimaryCursorState(),B.getCursorColumnSelectData(),V);Y!==null&&(B.setCursorStates(V.source,3,Y.viewStates.map(ie=>g.CursorState.fromViewState(ie))),B.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:Y.fromLineNumber,fromViewVisualColumn:Y.fromVisualColumn,toViewLineNumber:Y.toLineNumber,toViewVisualColumn:Y.toVisualColumn}),Y.reversed?B.revealTopMostCursor(V.source):B.revealBottomMostCursor(V.source))}}M.ColumnSelect=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(H,B,V,Y){if(typeof Y.position>"u"||typeof Y.viewPosition>"u"||typeof Y.mouseColumn>"u")return null;const ie=H.model.validatePosition(Y.position),ae=H.coordinatesConverter.validateViewPosition(new n.Position(Y.viewPosition.lineNumber,Y.viewPosition.column),ie),ce=Y.doColumnSelect?V.fromViewLineNumber:ae.lineNumber,de=Y.doColumnSelect?V.fromViewVisualColumn:Y.mouseColumn-1;return _.ColumnSelection.columnSelect(H.cursorConfig,H,ce,de,ae.lineNumber,Y.mouseColumn-1)}}),M.CursorColumnSelectLeft=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectLeft(H.cursorConfig,H,V)}}),M.CursorColumnSelectRight=(0,S.registerEditorCommand)(new class extends x{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(H,B,V,Y){return _.ColumnSelection.columnSelectRight(H.cursorConfig,H,V)}});class T extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectUp(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectUp=(0,S.registerEditorCommand)(new T({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3600,linux:{primary:0}}})),M.CursorColumnSelectPageUp=(0,S.registerEditorCommand)(new T({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3595,linux:{primary:0}}}));class A extends x{constructor(B){super(B),this._isPaged=B.isPaged}_getColumnSelectResult(B,V,Y,ie){return _.ColumnSelection.columnSelectDown(B.cursorConfig,B,Y,this._isPaged)}}M.CursorColumnSelectDown=(0,S.registerEditorCommand)(new A({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3602,linux:{primary:0}}})),M.CursorColumnSelectPageDown=(0,S.registerEditorCommand)(new A({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:3596,linux:{primary:0}}}));class N extends c{constructor(){super({id:"cursorMove",precondition:void 0,description:s.CursorMove.description})}runCoreEditorCommand(B,V){const Y=s.CursorMove.parse(V);Y&&this._runCursorMove(B,V.source,Y)}_runCursorMove(B,V,Y){B.model.pushStackElement(),B.setCursorStates(V,3,N._move(B,B.getCursorStates(),Y)),B.revealPrimaryCursor(V,!0)}static _move(B,V,Y){const ie=Y.select,ae=Y.value;switch(Y.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return s.CursorMoveCommands.simpleMove(B,V,Y.direction,ie,ae,Y.unit);case 11:case 13:case 12:case 14:return s.CursorMoveCommands.viewportMove(B,V,Y.direction,ie,ae);default:return null}}}M.CursorMoveImpl=N,M.CursorMove=(0,S.registerEditorCommand)(new N);class F extends c{constructor(B){super(B),this._staticArgs=B.args}runCoreEditorCommand(B,V){let Y=this._staticArgs;this._staticArgs.value===-1&&(Y={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:V.pageSize||B.cursorConfig.pageSize}),B.model.pushStackElement(),B.setCursorStates(V.source,3,s.CursorMoveCommands.simpleMove(B,B.getCursorStates(),Y.direction,Y.select,Y.value,Y.unit)),B.revealPrimaryCursor(V.source,!0)}}M.CursorLeft=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),M.CursorLeftSelect=(0,S.registerEditorCommand)(new F({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1039}})),M.CursorRight=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),M.CursorRightSelect=(0,S.registerEditorCommand)(new F({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1041}})),M.CursorUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),M.CursorUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),M.CursorPageUp=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:11}})),M.CursorPageUpSelect=(0,S.registerEditorCommand)(new F({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1035}})),M.CursorDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),M.CursorDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),M.CursorPageDown=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:12}})),M.CursorPageDownSelect=(0,S.registerEditorCommand)(new F({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1036}})),M.CreateCursor=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(H,B){if(!B.position)return;let V;B.wholeLine?V=s.CursorMoveCommands.line(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition):V=s.CursorMoveCommands.moveTo(H,H.getPrimaryCursorState(),!1,B.position,B.viewPosition);const Y=H.getCursorStates();if(Y.length>1){const ie=V.modelState?V.modelState.position:null,ae=V.viewState?V.viewState.position:null;for(let ce=0,de=Y.length;ceae&&(ie=ae);const ce=new t.Range(ie,1,ie,H.model.getLineMaxColumn(ie));let de=0;if(V.at)switch(V.at){case d.RawAtArgument.Top:de=3;break;case d.RawAtArgument.Center:de=1;break;case d.RawAtArgument.Bottom:de=4;break;default:break}const he=H.coordinatesConverter.convertModelRangeToViewRange(ce);H.revealRange(B.source,!1,he,de,0)}}),M.SelectAll=new class extends l{constructor(){super(S.SelectAllCommand)}runDOMCommand(){k.isFirefox&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(H,B,V){const Y=B._getViewModel();Y&&this.runCoreEditorCommand(Y,V)}runCoreEditorCommand(H,B){H.model.pushStackElement(),H.setCursorStates("keyboard",3,[s.CursorMoveCommands.selectAll(H,H.getPrimaryCursorState())])}},M.SetSelection=(0,S.registerEditorCommand)(new class extends c{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(H,B){B.selection&&(H.model.pushStackElement(),H.setCursorStates(B.source,3,[g.CursorState.fromModelSelection(B.selection)]))}})})(p||(e.CoreNavigationCommands=p={}));const m=u.ContextKeyExpr.and(a.EditorContextKeys.textInputFocus,a.EditorContextKeys.columnSelection);function v(M,P){h.KeybindingsRegistry.registerKeybindingRule({id:M,primary:P,when:m,weight:r+1})}v(p.CursorColumnSelectLeft.id,1039),v(p.CursorColumnSelectRight.id,1041),v(p.CursorColumnSelectUp.id,1040),v(p.CursorColumnSelectPageUp.id,1035),v(p.CursorColumnSelectDown.id,1042),v(p.CursorColumnSelectPageDown.id,1036);function b(M){return M.register(),M}var w;(function(M){class P extends S.EditorCommand{runEditorCommand(T,A,N){const F=A._getViewModel();F&&this.runCoreEditingCommand(A,F,N||{})}}M.CoreEditingCommand=P,M.LineBreakInsert=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"lineBreakInsert",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.lineBreakInsert(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection)))}}),M.Outdent=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"outdent",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.outdent(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.Tab=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"tab",precondition:a.EditorContextKeys.writable,kbOpts:{weight:r,kbExpr:u.ContextKeyExpr.and(a.EditorContextKeys.editorTextFocus,a.EditorContextKeys.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(x,T,A){x.pushUndoStop(),x.executeCommands(this.id,i.TypeOperations.tab(T.cursorConfig,T.model,T.getCursorStates().map(N=>N.modelState.selection))),x.pushUndoStop()}}),M.DeleteLeft=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteLeft(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection),T.getCursorAutoClosedCharacters());N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(2)}}),M.DeleteRight=(0,S.registerEditorCommand)(new class extends P{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:r,kbExpr:a.EditorContextKeys.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(x,T,A){const[N,F]=C.DeleteOperations.deleteRight(T.getPrevEditOperationType(),T.cursorConfig,T.model,T.getCursorStates().map(O=>O.modelState.selection));N&&x.pushUndoStop(),x.executeCommands(this.id,F),T.setPrevEditOperationType(3)}}),M.Undo=new class extends l{constructor(){super(S.UndoCommand)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().undo()}},M.Redo=new class extends l{constructor(){super(S.RedoCommand)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(x,T,A){if(!(!T.hasModel()||T.getOption(89)===!0))return T.getModel().redo()}}})(w||(e.CoreEditingCommands=w={}));class E extends S.Command{constructor(P,x,T){super({id:P,precondition:void 0,description:T}),this._handlerId=x}runCommand(P,x){const T=P.get(f.ICodeEditorService).getFocusedCodeEditor();T&&T.trigger("keyboard",this._handlerId,x)}}function I(M,P){b(new E("default:"+M,M)),b(new E(M,M,P))}I("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I("replacePreviousChar"),I("compositionType"),I("compositionStart"),I("compositionEnd"),I("paste"),I("cut")}),define(ne[792],se([1,0,233,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsContribution=void 0;let y=class{constructor(S,f){}dispose(){}};e.MarkerDecorationsContribution=y,y.ID="editor.contrib.markerDecorations",e.MarkerDecorationsContribution=y=ke([fe(1,L.IMarkerDecorationsService)],y),(0,k.registerEditorContribution)(y.ID,y,0)}),define(ne[793],se([1,0,189,12,17]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewController=void 0;class D{constructor(f,_,g,C){this.configuration=f,this.viewModel=_,this.userInputEvents=g,this.commandDelegate=C}paste(f,_,g,C){this.commandDelegate.paste(f,_,g,C)}type(f){this.commandDelegate.type(f)}compositionType(f,_,g,C){this.commandDelegate.compositionType(f,_,g,C)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(f){L.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:f})}_validateViewColumn(f){const _=this.viewModel.getLineMinColumn(f.lineNumber);return f.column<_?new k.Position(f.lineNumber,_):f}_hasMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.altKey;case"ctrlKey":return f.ctrlKey;case"metaKey":return f.metaKey;default:return!1}}_hasNonMulticursorModifier(f){switch(this.configuration.options.get(76)){case"altKey":return f.ctrlKey||f.metaKey;case"ctrlKey":return f.altKey||f.metaKey;case"metaKey":return f.ctrlKey||f.altKey;default:return!1}}dispatchMouse(f){const _=this.configuration.options,g=y.isLinux&&_.get(105),C=_.get(21);f.middleButton&&!g?this._columnSelect(f.position,f.mouseColumn,f.inSelectionMode):f.startedOnLineNumbers?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelect(f.position,f.revealType):this._createCursor(f.position,!0):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount>=4?this._selectAll():f.mouseDownCount===3?this._hasMulticursorModifier(f)?f.inSelectionMode?this._lastCursorLineSelectDrag(f.position,f.revealType):this._lastCursorLineSelect(f.position,f.revealType):f.inSelectionMode?this._lineSelectDrag(f.position,f.revealType):this._lineSelect(f.position,f.revealType):f.mouseDownCount===2?f.onInjectedText||(this._hasMulticursorModifier(f)?this._lastCursorWordSelect(f.position,f.revealType):f.inSelectionMode?this._wordSelectDrag(f.position,f.revealType):this._wordSelect(f.position,f.revealType)):this._hasMulticursorModifier(f)?this._hasNonMulticursorModifier(f)||(f.shiftKey?this._columnSelect(f.position,f.mouseColumn,!0):f.inSelectionMode?this._lastCursorMoveToSelect(f.position,f.revealType):this._createCursor(f.position,!1)):f.inSelectionMode?f.altKey?this._columnSelect(f.position,f.mouseColumn,!0):C?this._columnSelect(f.position,f.mouseColumn,!0):this._moveToSelect(f.position,f.revealType):this.moveTo(f.position,f.revealType)}_usualArgs(f,_){return f=this._validateViewColumn(f),{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,revealType:_}}moveTo(f,_){L.CoreNavigationCommands.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_moveToSelect(f,_){L.CoreNavigationCommands.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_columnSelect(f,_,g){f=this._validateViewColumn(f),L.CoreNavigationCommands.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,mouseColumn:_,doColumnSelect:g})}_createCursor(f,_){f=this._validateViewColumn(f),L.CoreNavigationCommands.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(f),viewPosition:f,wholeLine:_})}_lastCursorMoveToSelect(f,_){L.CoreNavigationCommands.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelect(f,_){L.CoreNavigationCommands.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_wordSelectDrag(f,_){L.CoreNavigationCommands.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorWordSelect(f,_){L.CoreNavigationCommands.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelect(f,_){L.CoreNavigationCommands.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lineSelectDrag(f,_){L.CoreNavigationCommands.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelect(f,_){L.CoreNavigationCommands.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_lastCursorLineSelectDrag(f,_){L.CoreNavigationCommands.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(f,_))}_selectAll(){L.CoreNavigationCommands.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(f){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(f)}emitKeyDown(f){this.userInputEvents.emitKeyDown(f)}emitKeyUp(f){this.userInputEvents.emitKeyUp(f)}emitContextMenu(f){this.userInputEvents.emitContextMenu(f)}emitMouseMove(f){this.userInputEvents.emitMouseMove(f)}emitMouseLeave(f){this.userInputEvents.emitMouseLeave(f)}emitMouseUp(f){this.userInputEvents.emitMouseUp(f)}emitMouseDown(f){this.userInputEvents.emitMouseDown(f)}emitMouseDrag(f){this.userInputEvents.emitMouseDrag(f)}emitMouseDrop(f){this.userInputEvents.emitMouseDrop(f)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(f){this.userInputEvents.emitMouseWheel(f)}}e.ViewController=D}),define(ne[348],se([1,0,6,58,66,109,115,79]),function(Q,e,L,k,y,D,S,f){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.WorkerBasedDocumentDiffProvider=void 0;let g=_=class{constructor(s,i,n){this.editorWorkerService=i,this.telemetryService=n,this.onDidChangeEventEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(s)}dispose(){var s;(s=this.diffAlgorithmOnDidChangeSubscription)===null||s===void 0||s.dispose()}computeDiff(s,i,n,t){var a,u;return we(this,void 0,void 0,function*(){if(typeof this.diffAlgorithm!="string")return this.diffAlgorithm.computeDiff(s,i,n,t);if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return i.getLineCount()===1&&i.getLineMaxColumn(1)===1?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new D.LineRangeMapping(new y.LineRange(1,2),new y.LineRange(1,i.getLineCount()+1),[new D.RangeMapping(s.getFullModelRange(),i.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};const h=JSON.stringify([s.uri.toString(),i.uri.toString()]),r=JSON.stringify([s.id,i.id,s.getAlternativeVersionId(),i.getAlternativeVersionId(),JSON.stringify(n)]),c=_.diffCache.get(h);if(c&&c.context===r)return c.result;const o=k.StopWatch.create(),d=yield this.editorWorkerService.computeDiff(s.uri,i.uri,n,this.diffAlgorithm),l=o.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:l,timedOut:(a=d?.quitEarly)!==null&&a!==void 0?a:!0,detectedMoves:n.computeMoves?(u=d?.moves.length)!==null&&u!==void 0?u:0:-1}),t.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!d)throw new Error("no diff result available");return _.diffCache.size>10&&_.diffCache.delete(_.diffCache.keys().next().value),_.diffCache.set(h,{result:d,context:r}),d})}setOptions(s){var i;let n=!1;s.diffAlgorithm&&this.diffAlgorithm!==s.diffAlgorithm&&((i=this.diffAlgorithmOnDidChangeSubscription)===null||i===void 0||i.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=s.diffAlgorithm,typeof s.diffAlgorithm!="string"&&(this.diffAlgorithmOnDidChangeSubscription=s.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),n=!0),n&&this.onDidChangeEventEmitter.fire()}};e.WorkerBasedDocumentDiffProvider=g,g.diffCache=new Map,e.WorkerBasedDocumentDiffProvider=g=_=ke([fe(1,S.IEditorWorkerService),fe(2,f.ITelemetryService)],g)}),define(ne[794],se([1,0,49,55,63,16,24,21,632,15,436]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";var C;Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionAnchorSet=void 0,e.SelectionAnchorSet=new g.RawContextKey("selectionAnchorSet",!1);let s=C=class{static get(h){return h.getContribution(C.ID)}constructor(h,r){this.editor=h,this.selectionAnchorSetContextKey=e.SelectionAnchorSet.bindTo(r),this.modelChangeListener=h.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const h=this.editor.getPosition();this.editor.changeDecorations(r=>{this.decorationId&&r.removeDecoration(this.decorationId),this.decorationId=r.addDecoration(S.Selection.fromPositions(h,h),{description:"selection-anchor",stickiness:1,hoverMessage:new k.MarkdownString().appendText((0,_.localize)(0,null)),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,L.alert)((0,_.localize)(1,null,h.lineNumber,h.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);h&&this.editor.setPosition(h.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const h=this.editor.getModel().getDecorationRange(this.decorationId);if(h){const r=this.editor.getPosition();this.editor.setSelection(S.Selection.fromPositions(h.getStartPosition(),r)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const h=this.decorationId;this.editor.changeDecorations(r=>{r.removeDecoration(h),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};s.ID="editor.contrib.selectionAnchorController",s=C=ke([fe(1,g.IContextKeyService)],s);class i extends D.EditorAction{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,_.localize)(2,null),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2080),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.setSelectionAnchor()})}}class n extends D.EditorAction{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,_.localize)(3,null),alias:"Go to Selection Anchor",precondition:e.SelectionAnchorSet})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.goToSelectionAnchor()})}}class t extends D.EditorAction{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,_.localize)(4,null),alias:"Select from Anchor to Cursor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2089),weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.selectFromAnchorToCursor()})}}class a extends D.EditorAction{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,_.localize)(5,null),alias:"Cancel Selection Anchor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:9,weight:100}})}run(h,r){var c;return we(this,void 0,void 0,function*(){(c=s.get(r))===null||c===void 0||c.cancelSelectionAnchor()})}}(0,D.registerEditorContribution)(s.ID,s,4),(0,D.registerEditorAction)(i),(0,D.registerEditorAction)(n),(0,D.registerEditorAction)(t),(0,D.registerEditorAction)(a)}),define(ne[795],se([1,0,16,21,537,634]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class S extends L.EditorAction{constructor(C,s){super(s),this.left=C}run(C,s){if(!s.hasModel())return;const i=[],n=s.getSelections();for(const t of n)i.push(new y.MoveCaretCommand(t,this.left));s.pushUndoStop(),s.executeCommands(this.id,i),s.pushUndoStop()}}class f extends S{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:D.localize(0,null),alias:"Move Selected Text Left",precondition:k.EditorContextKeys.writable})}}class _ extends S{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:D.localize(1,null),alias:"Move Selected Text Right",precondition:k.EditorContextKeys.writable})}}(0,L.registerEditorAction)(f),(0,L.registerEditorAction)(_)}),define(ne[796],se([1,0,16,123,203,5,21,635]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class _ extends L.EditorAction{constructor(){super({id:"editor.action.transposeLetters",label:f.localize(0,null),alias:"Transpose Letters",precondition:S.EditorContextKeys.writable,kbOpts:{kbExpr:S.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(C,s){if(!s.hasModel())return;const i=s.getModel(),n=[],t=s.getSelections();for(const a of t){if(!a.isEmpty())continue;const u=a.startLineNumber,h=a.startColumn,r=i.getLineMaxColumn(u);if(u===1&&(h===1||h===2&&r===2))continue;const c=h===r?a.getPosition():y.MoveOperations.rightPosition(i,a.getPosition().lineNumber,a.getPosition().column),o=y.MoveOperations.leftPosition(i,c),d=y.MoveOperations.leftPosition(i,o),l=i.getValueInRange(D.Range.fromPositions(d,o)),p=i.getValueInRange(D.Range.fromPositions(o,c)),m=D.Range.fromPositions(d,c);n.push(new k.ReplaceCommand(m,p+l))}n.length>0&&(s.pushUndoStop(),s.executeCommands(this.id,n),s.pushUndoStop())}}(0,L.registerEditorAction)(_)}),define(ne[797],se([1,0,52,17,185,16,33,21,636,30,96,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PasteAction=e.CopyAction=e.CutAction=void 0;const i="9_cutcopypaste",n=k.isNative||document.queryCommandSupported("cut"),t=k.isNative||document.queryCommandSupported("copy"),a=typeof navigator.clipboard>"u"||L.isFirefox?document.queryCommandSupported("paste"):!0;function u(c){return c.register(),c}e.CutAction=n?u(new D.MultiCommand({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:k.isNative?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(0,null),order:1},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(1,null),when:f.EditorContextKeys.writable,order:1},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(2,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(3,null),when:f.EditorContextKeys.writable,order:1}]})):void 0,e.CopyAction=t?u(new D.MultiCommand({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:k.isNative?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(4,null),order:2},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(5,null),order:2},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(6,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(7,null),order:2}]})):void 0,g.MenuRegistry.appendMenuItem(g.MenuId.MenubarEditMenu,{submenu:g.MenuId.MenubarCopy,title:{value:_.localize(8,null),original:"Copy As"},group:"2_ccp",order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextCopy,title:{value:_.localize(9,null),original:"Copy As"},group:i,order:3}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorContext,{submenu:g.MenuId.EditorContextShare,title:{value:_.localize(10,null),original:"Share"},group:"11_share",order:-1,when:s.ContextKeyExpr.and(s.ContextKeyExpr.notEquals("resourceScheme","output"),f.EditorContextKeys.editorTextFocus)}),g.MenuRegistry.appendMenuItem(g.MenuId.EditorTitleContext,{submenu:g.MenuId.EditorTitleContextShare,title:{value:_.localize(11,null),original:"Share"},group:"11_share",order:-1}),g.MenuRegistry.appendMenuItem(g.MenuId.ExplorerContext,{submenu:g.MenuId.ExplorerContextShare,title:{value:_.localize(12,null),original:"Share"},group:"11_share",order:-1}),e.PasteAction=a?u(new D.MultiCommand({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:k.isNative?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:g.MenuId.MenubarEditMenu,group:"2_ccp",title:_.localize(13,null),order:4},{menuId:g.MenuId.EditorContext,group:i,title:_.localize(14,null),when:f.EditorContextKeys.writable,order:4},{menuId:g.MenuId.CommandPalette,group:"",title:_.localize(15,null),order:1},{menuId:g.MenuId.SimpleEditorContext,group:i,title:_.localize(16,null),when:f.EditorContextKeys.writable,order:4}]})):void 0;class h extends D.EditorAction{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:_.localize(17,null),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.textInputFocus,primary:0,weight:100}})}run(o,d){!d.hasModel()||!d.getOption(36)&&d.getSelection().isEmpty()||(y.CopyOptions.forceCopyWithSyntaxHighlighting=!0,d.focus(),document.execCommand("copy"),y.CopyOptions.forceCopyWithSyntaxHighlighting=!1)}}function r(c,o){c&&(c.addImplementation(1e4,"code-editor",(d,l)=>{const p=d.get(S.ICodeEditorService).getFocusedCodeEditor();if(p&&p.hasTextFocus()){const m=p.getOption(36),v=p.getSelection();return v&&v.isEmpty()&&!m||document.execCommand(o),!0}return!1}),c.addImplementation(0,"generic-dom",(d,l)=>(document.execCommand(o),!0)))}r(e.CutAction,"cut"),r(e.CopyAction,"copy"),e.PasteAction&&(e.PasteAction.addImplementation(1e4,"code-editor",(c,o)=>{const d=c.get(S.ICodeEditorService),l=c.get(C.IClipboardService),p=d.getFocusedCodeEditor();return p&&p.hasTextFocus()?!document.execCommand("paste")&&k.isWeb?(()=>we(void 0,void 0,void 0,function*(){const v=yield l.readText();if(v!==""){const b=y.InMemoryClipboardMetadataManager.INSTANCE.get(v);let w=!1,E=null,I=null;b&&(w=p.getOption(36)&&!!b.isFromEmptySelection,E=typeof b.multicursorText<"u"?b.multicursorText:null,I=b.mode),p.trigger("keyboard","paste",{text:v,pasteOnNewLine:w,multicursorText:E,mode:I})}}))():!0:!1}),e.PasteAction.addImplementation(0,"generic-dom",(c,o)=>(document.execCommand("paste"),!0))),t&&(0,D.registerEditorAction)(h)}),define(ne[798],se([1,0,63,16,5,21,32,290,539,646,30]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class s extends k.EditorAction{constructor(h,r){super(r),this._type=h}run(h,r){const c=h.get(S.ILanguageConfigurationService);if(!r.hasModel())return;const o=r.getModel(),d=[],l=o.getOptions(),p=r.getOption(22),m=r.getSelections().map((b,w)=>({selection:b,index:w,ignoreFirstLine:!1}));m.sort((b,w)=>y.Range.compareRangesUsingStarts(b.selection,w.selection));let v=m[0];for(let b=1;b{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeModelContent(n=>{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeCursorSelection(n=>{if(this._isCursorUndoRedo||!n.oldSelections||n.oldModelVersionId!==n.modelVersionId)return;const t=new S(n.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(t)||(this._undoStack.push(new f(t,i.getScrollTop(),i.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new f(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(i){this._isCursorUndoRedo=!0,this._editor.setSelections(i.cursorState.selections),this._editor.setScrollPosition({scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),this._isCursorUndoRedo=!1}}e.CursorUndoRedoController=_,_.ID="editor.contrib.cursorUndoRedoController";class g extends k.EditorAction{constructor(){super({id:"cursorUndo",label:D.localize(0,null),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2099,weight:100}})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorUndo()}}e.CursorUndo=g;class C extends k.EditorAction{constructor(){super({id:"cursorRedo",label:D.localize(1,null),alias:"Cursor Redo",precondition:void 0})}run(i,n,t){var a;(a=_.get(n))===null||a===void 0||a.cursorRedo()}}e.CursorRedo=C,(0,k.registerEditorContribution)(_.ID,_,0),(0,k.registerEditorAction)(g),(0,k.registerEditorAction)(C)}),define(ne[800],se([1,0,16,15,19,64,8,50,654]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorKeybindingCancellationTokenSource=void 0;const g=(0,S.createDecorator)("IEditorCancelService"),C=new k.RawContextKey("cancellableOperation",!1,(0,_.localize)(0,null));(0,f.registerSingleton)(g,class{constructor(){this._tokens=new WeakMap}add(i,n){let t=this._tokens.get(i);t||(t=i.invokeWithinContext(u=>{const h=C.bindTo(u.get(k.IContextKeyService)),r=new D.LinkedList;return{key:h,tokens:r}}),this._tokens.set(i,t));let a;return t.key.set(!0),a=t.tokens.push(n),()=>{a&&(a(),t.key.set(!t.tokens.isEmpty()),a=void 0)}}cancel(i){const n=this._tokens.get(i);if(!n)return;const t=n.tokens.pop();t&&(t.cancel(),n.key.set(!n.tokens.isEmpty()))}},1);class s extends y.CancellationTokenSource{constructor(n,t){super(t),this.editor=n,this._unregister=n.invokeWithinContext(a=>a.get(g).add(n,this))}dispose(){this._unregister(),super.dispose()}}e.EditorKeybindingCancellationTokenSource=s,(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:C})}runEditorCommand(i,n){i.get(g).cancel(n)}})}),define(ne[104],se([1,0,11,5,19,2,800]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextModelCancellationTokenSource=e.EditorStateCancellationTokenSource=e.EditorState=void 0;class f{constructor(s,i){if(this.flags=i,this.flags&1){const n=s.getModel();this.modelVersionId=n?L.format("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;this.flags&4?this.position=s.getPosition():this.position=null,this.flags&2?this.selection=s.getSelection():this.selection=null,this.flags&8?(this.scrollLeft=s.getScrollLeft(),this.scrollTop=s.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(s){if(!(s instanceof f))return!1;const i=s;return!(this.modelVersionId!==i.modelVersionId||this.scrollLeft!==i.scrollLeft||this.scrollTop!==i.scrollTop||!this.position&&i.position||this.position&&!i.position||this.position&&i.position&&!this.position.equals(i.position)||!this.selection&&i.selection||this.selection&&!i.selection||this.selection&&i.selection&&!this.selection.equalsRange(i.selection))}validate(s){return this._equals(new f(s,this.flags))}}e.EditorState=f;class _ extends S.EditorKeybindingCancellationTokenSource{constructor(s,i,n,t){super(s,t),this._listener=new D.DisposableStore,i&4&&this._listener.add(s.onDidChangeCursorPosition(a=>{(!n||!k.Range.containsPosition(n,a.position))&&this.cancel()})),i&2&&this._listener.add(s.onDidChangeCursorSelection(a=>{(!n||!k.Range.containsRange(n,a.selection))&&this.cancel()})),i&8&&this._listener.add(s.onDidScrollChange(a=>this.cancel())),i&1&&(this._listener.add(s.onDidChangeModel(a=>this.cancel())),this._listener.add(s.onDidChangeModelContent(a=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}e.EditorStateCancellationTokenSource=_;class g extends y.CancellationTokenSource{constructor(s,i){super(i),this._listener=s.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}e.TextModelCancellationTokenSource=g}),define(ne[137],se([1,0,14,19,9,2,22,132,5,24,18,51,104,637,27,43,77,79,113]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyCodeAction=e.ApplyCodeActionReason=e.getCodeActions=e.fixAllCommandId=e.organizeImportsCommandId=e.sourceActionCommandId=e.refactorCommandId=e.autoFixCommandId=e.quickFixCommandId=e.codeActionCommandId=void 0,e.codeActionCommandId="editor.action.codeAction",e.quickFixCommandId="editor.action.quickFix",e.autoFixCommandId="editor.action.autoFix",e.refactorCommandId="editor.action.refactor",e.sourceActionCommandId="editor.action.sourceAction",e.organizeImportsCommandId="editor.action.organizeImports",e.fixAllCommandId="editor.action.fixAll";class c extends D.Disposable{static codeActionsPreferredComparator(I,M){return I.isPreferred&&!M.isPreferred?-1:!I.isPreferred&&M.isPreferred?1:0}static codeActionsComparator({action:I},{action:M}){return(0,L.isNonEmptyArray)(I.diagnostics)?(0,L.isNonEmptyArray)(M.diagnostics)?c.codeActionsPreferredComparator(I,M):-1:(0,L.isNonEmptyArray)(M.diagnostics)?1:c.codeActionsPreferredComparator(I,M)}constructor(I,M,P){super(),this.documentation=M,this._register(P),this.allActions=[...I].sort(c.codeActionsComparator),this.validActions=this.allActions.filter(({action:x})=>!x.disabled)}get hasAutoFix(){return this.validActions.some(({action:I})=>!!I.kind&&r.CodeActionKind.QuickFix.contains(new r.CodeActionKind(I.kind))&&!!I.isPreferred)}}const o={actions:[],documentation:void 0};function d(E,I,M,P,x,T){var A;return we(this,void 0,void 0,function*(){const N=P.filter||{},F={only:(A=N.include)===null||A===void 0?void 0:A.value,trigger:P.type},O=new i.TextModelCancellationTokenSource(I,T),W=l(E,I,N),U=new D.DisposableStore,j=W.map(K=>we(this,void 0,void 0,function*(){try{x.report(K);const G=yield K.provideCodeActions(I,M,F,O.token);if(G&&U.add(G),O.token.isCancellationRequested)return o;const Z=(G?.actions||[]).filter(X=>X&&(0,r.filtersAction)(N,X)),J=m(K,Z,N.include);return{actions:Z.map(X=>new r.CodeActionItem(X,K)),documentation:J}}catch(G){if((0,y.isCancellationError)(G))throw G;return(0,y.onUnexpectedExternalError)(G),o}})),R=E.onDidChange(()=>{const K=E.all(I);(0,L.equals)(K,W)||O.cancel()});try{const K=yield Promise.all(j),G=K.map(J=>J.actions).flat(),Z=[...(0,L.coalesce)(K.map(J=>J.documentation)),...p(E,I,P,G)];return new c(G,Z,U)}finally{R.dispose(),O.dispose()}})}e.getCodeActions=d;function l(E,I,M){return E.all(I).filter(P=>P.providedCodeActionKinds?P.providedCodeActionKinds.some(x=>(0,r.mayIncludeActionsOfKind)(M,new r.CodeActionKind(x))):!0)}function*p(E,I,M,P){var x,T,A;if(I&&P.length)for(const N of E.all(I))N._getAdditionalMenuItems&&(yield*(x=N._getAdditionalMenuItems)===null||x===void 0?void 0:x.call(N,{trigger:M.type,only:(A=(T=M.filter)===null||T===void 0?void 0:T.include)===null||A===void 0?void 0:A.value},P.map(F=>F.action)))}function m(E,I,M){if(!E.documentation)return;const P=E.documentation.map(x=>({kind:new r.CodeActionKind(x.kind),command:x.command}));if(M){let x;for(const T of P)T.kind.contains(M)&&(x?x.kind.contains(T.kind)&&(x=T):x=T);if(x)return x?.command}for(const x of I)if(x.kind){for(const T of P)if(T.kind.contains(new r.CodeActionKind(x.kind)))return T.command}}var v;(function(E){E.OnSave="onSave",E.FromProblemsView="fromProblemsView",E.FromCodeActions="fromCodeActions"})(v||(e.ApplyCodeActionReason=v={}));function b(E,I,M,P,x=k.CancellationToken.None){var T;return we(this,void 0,void 0,function*(){const A=E.get(f.IBulkEditService),N=E.get(t.ICommandService),F=E.get(h.ITelemetryService),O=E.get(a.INotificationService);if(F.publicLog2("codeAction.applyCodeAction",{codeActionTitle:I.action.title,codeActionKind:I.action.kind,codeActionIsPreferred:!!I.action.isPreferred,reason:M}),yield I.resolve(x),!x.isCancellationRequested&&!(!((T=I.action.edit)===null||T===void 0)&&T.edits.length&&!(yield A.apply(I.action.edit,{editor:P?.editor,label:I.action.title,quotableLabel:I.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:M!==v.OnSave,showPreview:P?.preview})).isApplied)&&I.action.command)try{yield N.executeCommand(I.action.command.id,...I.action.command.arguments||[])}catch(W){const U=w(W);O.error(typeof U=="string"?U:n.localize(0,null))}})}e.applyCodeAction=b;function w(E){return typeof E=="string"?E:E instanceof Error&&typeof E.message=="string"?E.message:void 0}t.CommandsRegistry.registerCommand("_executeCodeActionProvider",function(E,I,M,P,x){return we(this,void 0,void 0,function*(){if(!(I instanceof S.URI))throw(0,y.illegalArgument)();const{codeActionProvider:T}=E.get(C.ILanguageFeaturesService),A=E.get(s.IModelService).getModel(I);if(!A)throw(0,y.illegalArgument)();const N=g.Selection.isISelection(M)?g.Selection.liftSelection(M):_.Range.isIRange(M)?A.validateRange(M):void 0;if(!N)throw(0,y.illegalArgument)();const F=typeof P=="string"?new r.CodeActionKind(P):void 0,O=yield d(T,A,N,{type:1,triggerAction:r.CodeActionTriggerSource.Default,filter:{includeSourceActions:!0,include:F}},u.Progress.None,k.CancellationToken.None),W=[],U=Math.min(O.validActions.length,typeof x=="number"?x:0);for(let j=0;jj.action)}finally{setTimeout(()=>O.dispose(),100)}})})}),define(ne[801],se([1,0,100,137,113,34]),function(Q,e,L,k,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionKeybindingResolver=void 0;let f=S=class{constructor(g){this.keybindingService=g}getResolver(){const g=new L.Lazy(()=>this.keybindingService.getKeybindings().filter(C=>S.codeActionCommands.indexOf(C.command)>=0).filter(C=>C.resolvedKeybinding).map(C=>{let s=C.commandArgs;return C.command===k.organizeImportsCommandId?s={kind:y.CodeActionKind.SourceOrganizeImports.value}:C.command===k.fixAllCommandId&&(s={kind:y.CodeActionKind.SourceFixAll.value}),Object.assign({resolvedKeybinding:C.resolvedKeybinding},y.CodeActionCommandArgs.fromUser(s,{kind:y.CodeActionKind.None,apply:"never"}))}));return C=>{if(C.kind){const s=this.bestKeybindingForCodeAction(C,g.value);return s?.resolvedKeybinding}}}bestKeybindingForCodeAction(g,C){if(!g.kind)return;const s=new y.CodeActionKind(g.kind);return C.filter(i=>i.kind.contains(s)).filter(i=>i.preferred?g.isPreferred:!0).reduceRight((i,n)=>i?i.kind.contains(n.kind)?n:i:n,void 0)}};e.CodeActionKeybindingResolver=f,f.codeActionCommands=[k.refactorCommandId,k.codeActionCommandId,k.sourceActionCommandId,k.organizeImportsCommandId,k.fixAllCommandId],e.CodeActionKeybindingResolver=f=S=ke([fe(0,D.IKeybindingService)],f)}),define(ne[349],se([1,0,13,9,6,2,45,15,77,113,137]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionModel=e.CodeActionsState=e.SUPPORTED_CODE_ACTIONS=void 0,e.SUPPORTED_CODE_ACTIONS=new f.RawContextKey("supportedCodeAction","");class s extends D.Disposable{constructor(u,h,r,c=250){super(),this._editor=u,this._markerService=h,this._signalChange=r,this._delay=c,this._autoTriggerTimer=this._register(new L.TimeoutTimer),this._register(this._markerService.onMarkerChanged(o=>this._onMarkerChanges(o))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(u){const h=this._getRangeOfSelectionUnlessWhitespaceEnclosed(u);this._signalChange(h?{trigger:u,selection:h}:void 0)}_onMarkerChanges(u){const h=this._editor.getModel();h&&u.some(r=>(0,S.isEqual)(r,h.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(u){if(!this._editor.hasModel())return;const h=this._editor.getModel(),r=this._editor.getSelection();if(r.isEmpty()&&u.type===2){const{lineNumber:c,column:o}=r.getPosition(),d=h.getLineContent(c);if(d.length===0)return;if(o===1){if(/\s/.test(d[0]))return}else if(o===h.getLineMaxColumn(c)){if(/\s/.test(d[d.length-1]))return}else if(/\s/.test(d[o-2])&&/\s/.test(d[o-1]))return}return r}}var i;(function(a){a.Empty={type:0};class u{constructor(r,c,o){this.trigger=r,this.position=c,this._cancellablePromise=o,this.type=1,this.actions=o.catch(d=>{if((0,k.isCancellationError)(d))return n;throw d})}cancel(){this._cancellablePromise.cancel()}}a.Triggered=u})(i||(e.CodeActionsState=i={}));const n=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1});class t extends D.Disposable{constructor(u,h,r,c,o){super(),this._editor=u,this._registry=h,this._markerService=r,this._progressService=o,this._codeActionOracle=this._register(new D.MutableDisposable),this._state=i.Empty,this._onDidChangeState=this._register(new y.Emitter),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=e.SUPPORTED_CODE_ACTIONS.bindTo(c),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(i.Empty,!0))}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(i.Empty);const u=this._editor.getModel();if(u&&this._registry.has(u)&&!this._editor.getOption(89)){const h=this._registry.all(u).flatMap(r=>{var c;return(c=r.providedCodeActionKinds)!==null&&c!==void 0?c:[]});this._supportedCodeActions.set(h.join(" ")),this._codeActionOracle.value=new s(this._editor,this._markerService,r=>{var c;if(!r){this.setState(i.Empty);return}const o=(0,L.createCancelablePromise)(d=>(0,C.getCodeActions)(this._registry,u,r.selection,r.trigger,_.Progress.None,d));r.trigger.type===1&&((c=this._progressService)===null||c===void 0||c.showWhile(o,250)),this.setState(new i.Triggered(r.trigger,r.selection.getStartPosition(),o))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:g.CodeActionTriggerSource.Default})}else this._supportedCodeActions.reset()}trigger(u){var h;(h=this._codeActionOracle.value)===null||h===void 0||h.trigger(u)}setState(u,h){u!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=u,!h&&!this._disposed&&this._onDidChangeState.fire(u))}}e.CodeActionModel=t}),define(ne[350],se([1,0,7,61,25,6,2,26,207,137,642,34,438]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.LightBulbWidget=void 0;var n;(function(a){a.Hidden={type:0};class u{constructor(r,c,o,d){this.actions=r,this.trigger=c,this.editorPosition=o,this.widgetPosition=d,this.type=1}}a.Showing=u})(n||(n={}));let t=i=class extends S.Disposable{constructor(u,h){super(),this._editor=u,this._onClick=this._register(new D.Emitter),this.onClick=this._onClick.event,this._state=n.Hidden,this._domNode=L.$("div.lightBulbWidget"),this._register(k.Gesture.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(r=>{const c=this._editor.getModel();(this.state.type!==1||!c||this.state.editorPosition.lineNumber>=c.getLineCount())&&this.hide()})),this._register(L.addStandardDisposableGenericMouseDownListener(this._domNode,r=>{if(this.state.type!==1)return;this._editor.focus(),r.preventDefault();const{top:c,height:o}=L.getDomNodePagePosition(this._domNode),d=this._editor.getOption(65);let l=Math.floor(d/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(r.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(63)&&!this._editor.getOption(63).enabled&&this.hide()})),this._register(D.Event.runAndSubscribe(h.onDidUpdateKeybindings,()=>{var r,c,o,d;this._preferredKbLabel=(c=(r=h.lookupKeybinding(g.autoFixCommandId))===null||r===void 0?void 0:r.getLabel())!==null&&c!==void 0?c:void 0,this._quickFixKbLabel=(d=(o=h.lookupKeybinding(g.quickFixCommandId))===null||o===void 0?void 0:o.getLabel())!==null&&d!==void 0?d:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(u,h,r){if(u.validActions.length<=0)return this.hide();const c=this._editor.getOptions();if(!c.get(63).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:d,column:l}=o.validatePosition(r),p=o.getOptions().tabSize,m=c.get(49),v=o.getLineContent(d),b=(0,_.computeIndentLevel)(v,p),w=m.spaceWidth*b>22,E=M=>M>2&&this._editor.getTopForLineNumber(M)===this._editor.getTopForLineNumber(M-1);let I=d;if(!w){if(d>1&&!E(d-1))I-=1;else if(!E(d+1))I+=1;else if(l*m.spaceWidth<22)return this.hide()}this.state=new n.Showing(u,h,r,{position:{lineNumber:I,column:1},preference:i._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==n.Hidden&&(this.state=n.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(u){this._state=u,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix&&(this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._preferredKbLabel)){this.title=C.localize(0,null,this._preferredKbLabel);return}this._domNode.classList.remove(...f.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._domNode.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._quickFixKbLabel?this.title=C.localize(1,null,this._quickFixKbLabel):this.title=C.localize(2,null)}set title(u){this._domNode.title=u}};e.LightBulbWidget=t,t.ID="editor.contrib.lightbulbWidget",t._posPref=[0],e.LightBulbWidget=t=i=ke([fe(1,s.IKeybindingService)],t)}),define(ne[802],se([1,0,16,145,659]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomIn",label:y.localize(0,null),alias:"Editor Font Zoom In",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()+1)}}class S extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomOut",label:y.localize(1,null),alias:"Editor Font Zoom Out",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(k.EditorZoom.getZoomLevel()-1)}}class f extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomReset",label:y.localize(2,null),alias:"Editor Font Zoom Reset",precondition:void 0})}run(g,C){k.EditorZoom.setZoomLevel(0)}}(0,L.registerEditorAction)(D),(0,L.registerEditorAction)(S),(0,L.registerEditorAction)(f)}),define(ne[351],se([1,0,49,14,19,9,46,64,20,22,104,177,12,5,24,115,69,294,660,27,744,8,18,70]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOnTypeFormattingEdits=e.getDocumentFormattingEditsUntilResult=e.getDocumentRangeFormattingEditsUntilResult=e.formatDocumentWithProvider=e.formatDocumentWithSelectedProvider=e.formatDocumentRangesWithProvider=e.formatDocumentRangesWithSelectedProvider=e.FormattingConflicts=e.getRealAndSyntheticDocumentFormattersOrdered=e.alertFormattingEdits=void 0;function m(A){if(A=A.filter(W=>W.range),!A.length)return;let{range:N}=A[0];for(let W=1;W0&&n.Range.areIntersectingOrTouching(J[X-1],ie)?J[X-1]=n.Range.fromPositions(J[X-1].getStartPosition(),ie.getEndPosition()):X=J.push(ie);const H=ie=>we(this,void 0,void 0,function*(){var ae,ce;K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(ae=N.extensionId)===null||ae===void 0?void 0:ae.value,ie);const de=(yield N.provideDocumentRangeFormattingEdits(G,ie,G.getFormattingOptions(),Z.token))||[];return K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(ce=N.extensionId)===null||ce===void 0?void 0:ce.value,de),de}),B=(ie,ae)=>{if(!ie.length||!ae.length)return!1;const ce=ie.reduce((de,he)=>n.Range.plusRange(de,he.range),ie[0].range);if(!ae.some(de=>n.Range.intersectRanges(ce,de.range)))return!1;for(const de of ie)for(const he of ae)if(n.Range.intersectRanges(de.range,he.range))return!0;return!1},V=[],Y=[];try{if(typeof N.provideDocumentRangesFormattingEdits=="function"){K.trace("[format][provideDocumentRangeFormattingEdits] (request)",(U=N.extensionId)===null||U===void 0?void 0:U.value,J);const ie=(yield N.provideDocumentRangesFormattingEdits(G,J,G.getFormattingOptions(),Z.token))||[];K.trace("[format][provideDocumentRangeFormattingEdits] (response)",(j=N.extensionId)===null||j===void 0?void 0:j.value,ie),Y.push(ie)}else{for(const ie of J){if(Z.token.isCancellationRequested)return!0;Y.push(yield H(ie))}for(let ie=0;ie({text:ce.text,range:n.Range.lift(ce.range),forceMoveMarkers:!0})),ce=>{for(const{range:de}of ce)if(n.Range.areIntersectingOrTouching(de,ae))return[new t.Selection(de.startLineNumber,de.startColumn,de.endLineNumber,de.endColumn)];return null})}return!0})}e.formatDocumentRangesWithProvider=E;function I(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(d.IInstantiationService),j=A.get(l.ILanguageFeaturesService),R=(0,s.isCodeEditor)(N)?N.getModel():N,K=v(j.documentFormattingEditProvider,j.documentRangeFormattingEditProvider,R),G=yield b.select(K,R,F);G&&(O.report(G),yield U.invokeFunction(M,G,N,F,W))})}e.formatDocumentWithSelectedProvider=I;function M(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=A.get(a.IEditorWorkerService);let j,R;(0,s.isCodeEditor)(F)?(j=F.getModel(),R=new C.EditorStateCancellationTokenSource(F,5,void 0,W)):(j=F,R=new C.TextModelCancellationTokenSource(F,W));let K;try{const G=yield N.provideDocumentFormattingEdits(j,j.getFormattingOptions(),R.token);if(K=yield U.computeMoreMinimalEdits(j.uri,G),R.token.isCancellationRequested)return!0}finally{R.dispose()}if(!K||K.length===0)return!1;if((0,s.isCodeEditor)(F))h.FormattingEdit.execute(F,K,O!==2),O!==2&&(m(K),F.revealPositionInCenterIfOutsideViewport(F.getPosition(),1));else{const[{range:G}]=K,Z=new t.Selection(G.startLineNumber,G.startColumn,G.endLineNumber,G.endColumn);j.pushEditOperations([Z],K.map(J=>({text:J.text,range:n.Range.lift(J.range),forceMoveMarkers:!0})),J=>{for(const{range:X}of J)if(n.Range.areIntersectingOrTouching(X,Z))return[new t.Selection(X.startLineNumber,X.startColumn,X.endLineNumber,X.endColumn)];return null})}return!0})}e.formatDocumentWithProvider=M;function P(A,N,F,O,W,U){return we(this,void 0,void 0,function*(){const j=N.documentRangeFormattingEditProvider.ordered(F);for(const R of j){const K=yield Promise.resolve(R.provideDocumentRangeFormattingEdits(F,O,W,U)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(K))return yield A.computeMoreMinimalEdits(F.uri,K)}})}e.getDocumentRangeFormattingEditsUntilResult=P;function x(A,N,F,O,W){return we(this,void 0,void 0,function*(){const U=v(N.documentFormattingEditProvider,N.documentRangeFormattingEditProvider,F);for(const j of U){const R=yield Promise.resolve(j.provideDocumentFormattingEdits(F,O,W)).catch(D.onUnexpectedExternalError);if((0,k.isNonEmptyArray)(R))return yield A.computeMoreMinimalEdits(F.uri,R)}})}e.getDocumentFormattingEditsUntilResult=x;function T(A,N,F,O,W,U,j){const R=N.onTypeFormattingEditProvider.ordered(F);return R.length===0||R[0].autoFormatTriggerCharacters.indexOf(W)<0?Promise.resolve(void 0):Promise.resolve(R[0].provideOnTypeFormattingEdits(F,O,W,U,j)).catch(D.onUnexpectedExternalError).then(K=>A.computeMoreMinimalEdits(F.uri,K))}e.getOnTypeFormattingEdits=T,c.CommandsRegistry.registerCommand("_executeFormatRangeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(n.Range.isIRange(O));const U=A.get(u.ITextModelService),j=A.get(a.IEditorWorkerService),R=A.get(l.ILanguageFeaturesService),K=yield U.createModelReference(F);try{return P(j,R,K.object.textEditorModel,n.Range.lift(O),W,y.CancellationToken.None)}finally{K.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatDocumentProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O]=N;(0,_.assertType)(g.URI.isUri(F));const W=A.get(u.ITextModelService),U=A.get(a.IEditorWorkerService),j=A.get(l.ILanguageFeaturesService),R=yield W.createModelReference(F);try{return x(U,j,R.object.textEditorModel,O,y.CancellationToken.None)}finally{R.dispose()}})}),c.CommandsRegistry.registerCommand("_executeFormatOnTypeProvider",function(A,...N){return we(this,void 0,void 0,function*(){const[F,O,W,U]=N;(0,_.assertType)(g.URI.isUri(F)),(0,_.assertType)(i.Position.isIPosition(O)),(0,_.assertType)(typeof W=="string");const j=A.get(u.ITextModelService),R=A.get(a.IEditorWorkerService),K=A.get(l.ILanguageFeaturesService),G=yield j.createModelReference(F);try{return T(R,K,G.object.textEditorModel,i.Position.lift(O),W,U,y.CancellationToken.None)}finally{G.dispose()}})})}),define(ne[803],se([1,0,14,19,9,63,2,16,33,121,5,21,115,18,351,294,661,27,15,8,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let d=class{constructor(b,w,E){this._editor=b,this._languageFeaturesService=w,this._workerService=E,this._disposables=new S.DisposableStore,this._sessionDisposables=new S.DisposableStore,this._disposables.add(w.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(b.onDidChangeModel(()=>this._update())),this._disposables.add(b.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(b.onDidChangeConfiguration(I=>{I.hasChanged(55)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(55)||!this._editor.hasModel())return;const b=this._editor.getModel(),[w]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(b);if(!w||!w.autoFormatTriggerCharacters)return;const E=new g.CharacterSet;for(const I of w.autoFormatTriggerCharacters)E.add(I.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(I=>{const M=I.charCodeAt(I.length-1);E.has(M)&&this._trigger(String.fromCharCode(M))}))}_trigger(b){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const w=this._editor.getModel(),E=this._editor.getPosition(),I=new k.CancellationTokenSource,M=this._editor.onDidChangeModelContent(P=>{if(P.isFlush){I.cancel(),M.dispose();return}for(let x=0,T=P.changes.length;x{I.token.isCancellationRequested||(0,L.isNonEmptyArray)(P)&&(a.FormattingEdit.execute(this._editor,P,!0),(0,t.alertFormattingEdits)(P))}).finally(()=>{M.dispose()})}};d.ID="editor.contrib.autoFormat",d=ke([fe(1,n.ILanguageFeaturesService),fe(2,i.IEditorWorkerService)],d);let l=class{constructor(b,w,E){this.editor=b,this._languageFeaturesService=w,this._instantiationService=E,this._callOnDispose=new S.DisposableStore,this._callOnModel=new S.DisposableStore,this._callOnDispose.add(b.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(b.onDidChangeModel(()=>this._update())),this._callOnDispose.add(b.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(w.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(54)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:b})=>this._trigger(b)))}_trigger(b){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(t.formatDocumentRangesWithSelectedProvider,this.editor,b,2,o.Progress.None,k.CancellationToken.None).catch(y.onUnexpectedError))}};l.ID="editor.contrib.formatOnPaste",l=ke([fe(1,n.ILanguageFeaturesService),fe(2,c.IInstantiationService)],l);class p extends f.EditorAction{constructor(){super({id:"editor.action.formatDocument",label:u.localize(0,null),alias:"Format Document",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.notInCompositeEditor,s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(b,w){return we(this,void 0,void 0,function*(){if(w.hasModel()){const E=b.get(c.IInstantiationService);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentWithSelectedProvider,w,1,o.Progress.None,k.CancellationToken.None),250)}})}}class m extends f.EditorAction{constructor(){super({id:"editor.action.formatSelection",label:u.localize(1,null),alias:"Format Selection",precondition:r.ContextKeyExpr.and(s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2084),weight:100},contextMenuOpts:{when:s.EditorContextKeys.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(b,w){return we(this,void 0,void 0,function*(){if(!w.hasModel())return;const E=b.get(c.IInstantiationService),I=w.getModel(),M=w.getSelections().map(x=>x.isEmpty()?new C.Range(x.startLineNumber,1,x.startLineNumber,I.getLineMaxColumn(x.startLineNumber)):x);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentRangesWithSelectedProvider,w,M,1,o.Progress.None,k.CancellationToken.None),250)})}}(0,f.registerEditorContribution)(d.ID,d,2),(0,f.registerEditorContribution)(l.ID,l,2),(0,f.registerEditorAction)(p),(0,f.registerEditorAction)(m),h.CommandsRegistry.registerCommand("editor.action.format",v=>we(void 0,void 0,void 0,function*(){const b=v.get(_.ICodeEditorService).getFocusedCodeEditor();if(!b||!b.hasModel())return;const w=v.get(h.ICommandService);b.getSelection().isEmpty()?yield w.executeCommand("editor.action.formatDocument"):yield w.executeCommand("editor.action.formatSelection")}))}),define(ne[247],se([1,0,14,19,9,16,18,155]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReferencesAtPosition=e.getTypeDefinitionsAtPosition=e.getImplementationsAtPosition=e.getDeclarationsAtPosition=e.getDefinitionsAtPosition=void 0;function _(a,u,h,r){return we(this,void 0,void 0,function*(){const o=h.ordered(a).map(l=>Promise.resolve(r(l,a,u)).then(void 0,p=>{(0,y.onUnexpectedExternalError)(p)})),d=yield Promise.all(o);return(0,L.coalesce)(d.flat())})}function g(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDefinition(o,d,r))}e.getDefinitionsAtPosition=g;function C(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideDeclaration(o,d,r))}e.getDeclarationsAtPosition=C;function s(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideImplementation(o,d,r))}e.getImplementationsAtPosition=s;function i(a,u,h,r){return _(u,h,a,(c,o,d)=>c.provideTypeDefinition(o,d,r))}e.getTypeDefinitionsAtPosition=i;function n(a,u,h,r,c){return _(u,h,a,(o,d,l)=>we(this,void 0,void 0,function*(){const p=yield o.provideReferences(d,l,{includeDeclaration:!0},c);if(!r||!p||p.length!==2)return p;const m=yield o.provideReferences(d,l,{includeDeclaration:!1},c);return m&&m.length===1?m:p}))}e.getReferencesAtPosition=n;function t(a){return we(this,void 0,void 0,function*(){const u=yield a(),h=new f.ReferencesModel(u,""),r=h.references.map(c=>c.link);return h.dispose(),r})}(0,D.registerModelAndPositionCommand)("_executeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=g(r.definitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeTypeDefinitionProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=i(r.typeDefinitionProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeDeclarationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=C(r.declarationProvider,u,h,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeReferenceProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=n(r.referenceProvider,u,h,!1,k.CancellationToken.None);return t(()=>c)}),(0,D.registerModelAndPositionCommand)("_executeImplementationProvider",(a,u,h)=>{const r=a.get(S.ILanguageFeaturesService),c=s(r.implementationProvider,u,h,k.CancellationToken.None);return t(()=>c)})}),define(ne[804],se([1,0,6,2,45,16,33,5,670,15,50,8,34,118,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISymbolNavigationService=e.ctxHasSymbols=void 0,e.ctxHasSymbols=new g.RawContextKey("hasSymbols",!1,(0,_.localize)(0,null)),e.ISymbolNavigationService=(0,s.createDecorator)("ISymbolNavigationService");let a=class{constructor(r,c,o,d){this._editorService=c,this._notificationService=o,this._keybindingService=d,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=e.ctxHasSymbols.bindTo(r)}reset(){var r,c;this._ctxHasSymbols.reset(),(r=this._currentState)===null||r===void 0||r.dispose(),(c=this._currentMessage)===null||c===void 0||c.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(r){const c=r.parent.parent;if(c.references.length<=1){this.reset();return}this._currentModel=c,this._currentIdx=c.references.indexOf(r),this._ctxHasSymbols.set(!0),this._showMessage();const o=new u(this._editorService),d=o.onDidChange(l=>{if(this._ignoreEditorChange)return;const p=this._editorService.getActiveCodeEditor();if(!p)return;const m=p.getModel(),v=p.getPosition();if(!m||!v)return;let b=!1,w=!1;for(const E of c.references)if((0,y.isEqual)(E.uri,m.uri))b=!0,w=w||f.Range.containsPosition(E.range,v);else if(b)break;(!b||!w)&&this.reset()});this._currentState=(0,k.combinedDisposable)(o,d)}revealNext(r){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const c=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:c.uri,options:{selection:f.Range.collapseToStart(c.range),selectionRevealType:3}},r).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var r;(r=this._currentMessage)===null||r===void 0||r.dispose();const c=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),o=c?(0,_.localize)(1,null,this._currentIdx+1,this._currentModel.references.length,c.getLabel()):(0,_.localize)(2,null,this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(o)}};a=ke([fe(0,g.IContextKeyService),fe(1,S.ICodeEditorService),fe(2,t.INotificationService),fe(3,i.IKeybindingService)],a),(0,C.registerSingleton)(e.ISymbolNavigationService,a,1),(0,D.registerEditorCommand)(new class extends D.EditorCommand{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:e.ctxHasSymbols,kbOpts:{weight:100,primary:70}})}runEditorCommand(h,r){return h.get(e.ISymbolNavigationService).revealNext(r)}}),n.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:e.ctxHasSymbols,primary:9,handler(h){h.get(e.ISymbolNavigationService).reset()}});let u=class{constructor(r){this._listener=new Map,this._disposables=new k.DisposableStore,this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._disposables.add(r.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(r.onCodeEditorAdd(this._onDidAddEditor,this)),r.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,k.dispose)(this._listener.values())}_onDidAddEditor(r){this._listener.set(r,(0,k.combinedDisposable)(r.onDidChangeCursorPosition(c=>this._onDidChange.fire({editor:r})),r.onDidChangeModelContent(c=>this._onDidChange.fire({editor:r}))))}_onDidRemoveEditor(r){var c;(c=this._listener.get(r))===null||c===void 0||c.dispose(),this._listener.delete(r)}};u=ke([fe(0,S.ICodeEditorService)],u)}),define(ne[352],se([1,0,13,19,9,16,18]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverPromise=e.getHover=e.HoverProviderResult=void 0;class f{constructor(n,t,a){this.provider=n,this.hover=t,this.ordinal=a}}e.HoverProviderResult=f;function _(i,n,t,a,u){return we(this,void 0,void 0,function*(){try{const h=yield Promise.resolve(i.provideHover(t,a,u));if(h&&s(h))return new f(i,h,n)}catch(h){(0,y.onUnexpectedExternalError)(h)}})}function g(i,n,t,a){const h=i.ordered(n).map((r,c)=>_(r,c,n,t,a));return L.AsyncIterableObject.fromPromises(h).coalesce()}e.getHover=g;function C(i,n,t,a){return g(i,n,t,a).map(u=>u.hover).toPromise()}e.getHoverPromise=C,(0,D.registerModelAndPositionCommand)("_executeHoverProvider",(i,n,t)=>{const a=i.get(S.ILanguageFeaturesService);return C(a.hoverProvider,n,t,k.CancellationToken.None)});function s(i){const n=typeof i.range<"u",t=typeof i.contents<"u"&&i.contents&&i.contents.length>0;return n&&t}}),define(ne[248],se([1,0,7,14,13,55,2,117,12,5,41,352,672,28,56,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderMarkdownHovers=e.MarkdownHoverParticipant=e.MarkdownHover=void 0;const u=L.$;class h{constructor(d,l,p,m,v){this.owner=d,this.range=l,this.contents=p,this.isBeforeContent=m,this.ordinal=v}isValidForHoverAnchor(d){return d.type===1&&this.range.startColumn<=d.range.startColumn&&this.range.endColumn>=d.range.endColumn}}e.MarkdownHover=h;let r=class{constructor(d,l,p,m,v){this._editor=d,this._languageService=l,this._openerService=p,this._configurationService=m,this._languageFeaturesService=v,this.hoverOrdinal=3}createLoadingMessage(d){return new h(this,d.range,[new D.MarkdownString().appendText(i.localize(0,null))],!1,2e3)}computeSync(d,l){if(!this._editor.hasModel()||d.type!==1)return[];const p=this._editor.getModel(),m=d.range.startLineNumber,v=p.getLineMaxColumn(m),b=[];let w=1e3;const E=p.getLineLength(m),I=p.getLanguageIdAtPosition(d.range.startLineNumber,d.range.startColumn),M=this._editor.getOption(115),P=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:I});let x=!1;M>=0&&E>M&&d.range.startColumn>=M&&(x=!0,b.push(new h(this,d.range,[{value:i.localize(1,null)}],!1,w++))),!x&&typeof P=="number"&&E>=P&&b.push(new h(this,d.range,[{value:i.localize(2,null)}],!1,w++));let T=!1;for(const A of l){const N=A.range.startLineNumber===m?A.range.startColumn:1,F=A.range.endLineNumber===m?A.range.endColumn:v,O=A.options.hoverMessage;if(!O||(0,D.isEmptyMarkdownString)(O))continue;A.options.beforeContentClassName&&(T=!0);const W=new g.Range(d.range.startLineNumber,N,d.range.startLineNumber,F);b.push(new h(this,W,(0,k.asArray)(O),T,w++))}return b}computeAsync(d,l,p){if(!this._editor.hasModel()||d.type!==1)return y.AsyncIterableObject.EMPTY;const m=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(m))return y.AsyncIterableObject.EMPTY;const v=new _.Position(d.range.startLineNumber,d.range.startColumn);return(0,s.getHover)(this._languageFeaturesService.hoverProvider,m,v,p).filter(b=>!(0,D.isEmptyMarkdownString)(b.hover.contents)).map(b=>{const w=b.hover.range?g.Range.lift(b.hover.range):d.range;return new h(this,w,b.hover.contents,!1,b.ordinal)})}renderHoverParts(d,l){return c(d,l,this._editor,this._languageService,this._openerService)}};e.MarkdownHoverParticipant=r,e.MarkdownHoverParticipant=r=ke([fe(1,C.ILanguageService),fe(2,t.IOpenerService),fe(3,n.IConfigurationService),fe(4,a.ILanguageFeaturesService)],r);function c(o,d,l,p,m){d.sort((b,w)=>b.ordinal-w.ordinal);const v=new S.DisposableStore;for(const b of d)for(const w of b.contents){if((0,D.isEmptyMarkdownString)(w))continue;const E=u("div.hover-row.markdown-hover"),I=L.append(E,u("div.hover-contents")),M=v.add(new f.MarkdownRenderer({editor:l},p,m));v.add(M.onDidRenderAsync(()=>{I.className="hover-contents code-hover-contents",o.onContentsChanged()}));const P=v.add(M.render(w));I.appendChild(P.element),o.fragment.appendChild(E)}return v}e.renderMarkdownHovers=c}),define(ne[805],se([1,0,2,11,16,245,73,5,24,21,32,51,295,675,71,202,243]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentationToTabsCommand=e.IndentationToSpacesCommand=e.AutoIndentOnPaste=e.AutoIndentOnPasteCommand=e.ReindentSelectedLinesAction=e.ReindentLinesAction=e.DetectIndentation=e.ChangeTabDisplaySize=e.IndentUsingSpaces=e.IndentUsingTabs=e.ChangeIndentationSizeAction=e.IndentationToTabsAction=e.IndentationToSpacesAction=e.getReindentEditOperations=void 0;function h(x,T,A,N,F){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return[];const O=T.getLanguageConfiguration(x.getLanguageId()).indentationRules;if(!O)return[];for(N=Math.min(N,x.getLineCount());A<=N&&O.unIndentedLinePattern;){const B=x.getLineContent(A);if(!O.unIndentedLinePattern.test(B))break;A++}if(A>N-1)return[];const{tabSize:W,indentSize:U,insertSpaces:j}=x.getOptions(),R=(B,V)=>(V=V||1,D.ShiftCommand.shiftIndent(B,B.length+V,W,U,j)),K=(B,V)=>(V=V||1,D.ShiftCommand.unshiftIndent(B,B.length+V,W,U,j)),G=[];let Z;const J=x.getLineContent(A);let X=J;if(F!=null){Z=F;const B=k.getLeadingWhitespace(J);X=Z+J.substring(B.length),O.decreaseIndentPattern&&O.decreaseIndentPattern.test(X)&&(Z=K(Z),X=Z+J.substring(B.length)),J!==X&&G.push(S.EditOperation.replaceMove(new _.Selection(A,1,A,B.length+1),(0,a.normalizeIndentation)(Z,U,j)))}else Z=k.getLeadingWhitespace(J);let H=Z;O.increaseIndentPattern&&O.increaseIndentPattern.test(X)?(H=R(H),Z=R(Z)):O.indentNextLinePattern&&O.indentNextLinePattern.test(X)&&(H=R(H)),A++;for(let B=A;B<=N;B++){const V=x.getLineContent(B),Y=k.getLeadingWhitespace(V),ie=H+V.substring(Y.length);O.decreaseIndentPattern&&O.decreaseIndentPattern.test(ie)&&(H=K(H),Z=K(Z)),Y!==H&&G.push(S.EditOperation.replaceMove(new _.Selection(B,1,B,Y.length+1),(0,a.normalizeIndentation)(H,U,j))),!(O.unIndentedLinePattern&&O.unIndentedLinePattern.test(V))&&(O.increaseIndentPattern&&O.increaseIndentPattern.test(ie)?(Z=R(Z),H=Z):O.indentNextLinePattern&&O.indentNextLinePattern.test(ie)?H=R(H):H=Z)}return G}e.getReindentEditOperations=h;class r extends y.EditorAction{constructor(){super({id:r.ID,label:n.localize(0,null),alias:"Convert Indentation to Spaces",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new M(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!0})}}e.IndentationToSpacesAction=r,r.ID="editor.action.indentationToSpaces";class c extends y.EditorAction{constructor(){super({id:c.ID,label:n.localize(1,null),alias:"Convert Indentation to Tabs",precondition:g.EditorContextKeys.writable})}run(T,A){const N=A.getModel();if(!N)return;const F=N.getOptions(),O=A.getSelection();if(!O)return;const W=new P(O,F.tabSize);A.pushUndoStop(),A.executeCommands(this.id,[W]),A.pushUndoStop(),N.updateOptions({insertSpaces:!1})}}e.IndentationToTabsAction=c,c.ID="editor.action.indentationToTabs";class o extends y.EditorAction{constructor(T,A,N){super(N),this.insertSpaces=T,this.displaySizeOnly=A}run(T,A){const N=T.get(t.IQuickInputService),F=T.get(s.IModelService),O=A.getModel();if(!O)return;const W=F.getCreationOptions(O.getLanguageId(),O.uri,O.isForSimpleWidget),U=O.getOptions(),j=[1,2,3,4,5,6,7,8].map(K=>({id:K.toString(),label:K.toString(),description:K===W.tabSize&&K===U.tabSize?n.localize(2,null):K===W.tabSize?n.localize(3,null):K===U.tabSize?n.localize(4,null):void 0})),R=Math.min(O.getOptions().tabSize-1,7);setTimeout(()=>{N.pick(j,{placeHolder:n.localize(5,null),activeItem:j[R]}).then(K=>{if(K&&O&&!O.isDisposed()){const G=parseInt(K.label,10);this.displaySizeOnly?O.updateOptions({tabSize:G}):O.updateOptions({tabSize:G,indentSize:G,insertSpaces:this.insertSpaces})}})},50)}}e.ChangeIndentationSizeAction=o;class d extends o{constructor(){super(!1,!1,{id:d.ID,label:n.localize(6,null),alias:"Indent Using Tabs",precondition:void 0})}}e.IndentUsingTabs=d,d.ID="editor.action.indentUsingTabs";class l extends o{constructor(){super(!0,!1,{id:l.ID,label:n.localize(7,null),alias:"Indent Using Spaces",precondition:void 0})}}e.IndentUsingSpaces=l,l.ID="editor.action.indentUsingSpaces";class p extends o{constructor(){super(!0,!0,{id:p.ID,label:n.localize(8,null),alias:"Change Tab Display Size",precondition:void 0})}}e.ChangeTabDisplaySize=p,p.ID="editor.action.changeTabDisplaySize";class m extends y.EditorAction{constructor(){super({id:m.ID,label:n.localize(9,null),alias:"Detect Indentation from Content",precondition:void 0})}run(T,A){const N=T.get(s.IModelService),F=A.getModel();if(!F)return;const O=N.getCreationOptions(F.getLanguageId(),F.uri,F.isForSimpleWidget);F.detectIndentation(O.insertSpaces,O.tabSize)}}e.DetectIndentation=m,m.ID="editor.action.detectIndentation";class v extends y.EditorAction{constructor(){super({id:"editor.action.reindentlines",label:n.localize(10,null),alias:"Reindent Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=h(F,N,1,F.getLineCount());O.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,O),A.pushUndoStop())}}e.ReindentLinesAction=v;class b extends y.EditorAction{constructor(){super({id:"editor.action.reindentselectedlines",label:n.localize(11,null),alias:"Reindent Selected Lines",precondition:g.EditorContextKeys.writable})}run(T,A){const N=T.get(C.ILanguageConfigurationService),F=A.getModel();if(!F)return;const O=A.getSelections();if(O===null)return;const W=[];for(const U of O){let j=U.startLineNumber,R=U.endLineNumber;if(j!==R&&U.endColumn===1&&R--,j===1){if(j===R)continue}else j--;const K=h(F,N,j,R);W.push(...K)}W.length>0&&(A.pushUndoStop(),A.executeEdits(this.id,W),A.pushUndoStop())}}e.ReindentSelectedLinesAction=b;class w{constructor(T,A){this._initialSelection=A,this._edits=[],this._selectionId=null;for(const N of T)N.range&&typeof N.text=="string"&&this._edits.push(N)}getEditOperations(T,A){for(const F of this._edits)A.addEditOperation(f.Range.lift(F.range),F.text);let N=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(N=!0,this._selectionId=A.trackSelection(this._initialSelection,!1))),N||(this._selectionId=A.trackSelection(this._initialSelection))}computeCursorState(T,A){return A.getTrackedSelection(this._selectionId)}}e.AutoIndentOnPasteCommand=w;let E=class{constructor(T,A){this.editor=T,this._languageConfigurationService=A,this.callOnDispose=new L.DisposableStore,this.callOnModel=new L.DisposableStore,this.callOnDispose.add(T.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(T.onDidChangeModel(()=>this.update())),this.callOnDispose.add(T.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(this.editor.getOption(11)<4||this.editor.getOption(54))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:T})=>{this.trigger(T)}))}trigger(T){const A=this.editor.getSelections();if(A===null||A.length>1)return;const N=this.editor.getModel();if(!N||!N.tokenization.isCheapToTokenize(T.getStartPosition().lineNumber))return;const F=this.editor.getOption(11),{tabSize:O,indentSize:W,insertSpaces:U}=N.getOptions(),j=[],R={shiftIndent:J=>D.ShiftCommand.shiftIndent(J,J.length+1,O,W,U),unshiftIndent:J=>D.ShiftCommand.unshiftIndent(J,J.length+1,O,W,U)};let K=T.startLineNumber;for(;K<=T.endLineNumber;){if(this.shouldIgnoreLine(N,K)){K++;continue}break}if(K>T.endLineNumber)return;let G=N.getLineContent(K);if(!/\S/.test(G.substring(0,T.startColumn-1))){const J=(0,u.getGoodIndentForLine)(F,N,N.getLanguageId(),K,R,this._languageConfigurationService);if(J!==null){const X=k.getLeadingWhitespace(G),H=i.getSpaceCnt(J,O),B=i.getSpaceCnt(X,O);if(H!==B){const V=i.generateIndent(H,O,U);j.push({range:new f.Range(K,1,K,X.length+1),text:V}),G=V+G.substr(X.length)}else{const V=(0,u.getIndentMetadata)(N,K,this._languageConfigurationService);if(V===0||V===8)return}}}const Z=K;for(;KN.tokenization.getLineTokens(H),getLanguageId:()=>N.getLanguageId(),getLanguageIdAtPosition:(H,B)=>N.getLanguageIdAtPosition(H,B)},getLineContent:H=>H===Z?G:N.getLineContent(H)},X=(0,u.getGoodIndentForLine)(F,J,N.getLanguageId(),K+1,R,this._languageConfigurationService);if(X!==null){const H=i.getSpaceCnt(X,O),B=i.getSpaceCnt(k.getLeadingWhitespace(N.getLineContent(K+1)),O);if(H!==B){const V=H-B;for(let Y=K+1;Y<=T.endLineNumber;Y++){const ie=N.getLineContent(Y),ae=k.getLeadingWhitespace(ie),de=i.getSpaceCnt(ae,O)+V,he=i.generateIndent(de,O,U);he!==ae&&j.push({range:new f.Range(Y,1,Y,ae.length+1),text:he})}}}}if(j.length>0){this.editor.pushUndoStop();const J=new w(j,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",J),this.editor.pushUndoStop()}}shouldIgnoreLine(T,A){T.tokenization.forceTokenization(A);const N=T.getLineFirstNonWhitespaceColumn(A);if(N===0)return!0;const F=T.tokenization.getLineTokens(A);if(F.getCount()>0){const O=F.findTokenIndexAtOffset(N);if(O>=0&&F.getStandardTokenType(O)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};e.AutoIndentOnPaste=E,E.ID="editor.contrib.autoIndentOnPaste",e.AutoIndentOnPaste=E=ke([fe(1,C.ILanguageConfigurationService)],E);function I(x,T,A,N){if(x.getLineCount()===1&&x.getLineMaxColumn(1)===1)return;let F="";for(let W=0;W({selection:he,index:ue,ignore:!1}));ae.sort((he,ue)=>C.Range.compareRangesUsingStarts(he.selection,ue.selection));let ce=ae[0];for(let he=1;henew g.Position(ue.positionLineNumber,ue.positionColumn)));const de=ie.getSelection();if(de===null)return;const he=new S.TrimTrailingWhitespaceCommand(de,ce);ie.pushUndoStop(),ie.executeCommands(this.id,[he]),ie.pushUndoStop()}}e.TrimTrailingWhitespaceAction=M,M.ID="editor.action.trimTrailingWhitespace";class P extends y.EditorAction{constructor(){super({id:"editor.action.deleteLines",label:u.localize(14,null),alias:"Delete Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:3113,weight:100}})}run(Y,ie){if(!ie.hasModel())return;const ae=this._getLinesToRemove(ie),ce=ie.getModel();if(ce.getLineCount()===1&&ce.getLineMaxColumn(1)===1)return;let de=0;const he=[],ue=[];for(let te=0,q=ae.length;te1&&(ee-=1,re=ce.getLineMaxColumn(ee)),he.push(_.EditOperation.replace(new s.Selection(ee,re,$,oe),"")),ue.push(new s.Selection(ee-de,z.positionColumn,ee-de,z.positionColumn)),de+=z.endLineNumber-z.startLineNumber+1}ie.pushUndoStop(),ie.executeEdits(this.id,he,ue),ie.pushUndoStop()}_getLinesToRemove(Y){const ie=Y.getSelections().map(de=>{let he=de.endLineNumber;return de.startLineNumberde.startLineNumber===he.startLineNumber?de.endLineNumber-he.endLineNumber:de.startLineNumber-he.startLineNumber);const ae=[];let ce=ie[0];for(let de=1;de=ie[de].startLineNumber?ce.endLineNumber=ie[de].endLineNumber:(ae.push(ce),ce=ie[de]);return ae.push(ce),ae}}e.DeleteLinesAction=P;class x extends y.EditorAction{constructor(){super({id:"editor.action.indentLines",label:u.localize(15,null),alias:"Indent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2142,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.indent(ae.cursorConfig,ie.getModel(),ie.getSelections())),ie.pushUndoStop())}}e.IndentLinesAction=x;class T extends y.EditorAction{constructor(){super({id:"editor.action.outdentLines",label:u.localize(16,null),alias:"Outdent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2140,weight:100}})}run(Y,ie){k.CoreEditingCommands.Outdent.runEditorCommand(Y,ie,null)}}class A extends y.EditorAction{constructor(){super({id:"editor.action.insertLineBefore",label:u.localize(17,null),alias:"Insert Line Above",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertBefore(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineBeforeAction=A;class N extends y.EditorAction{constructor(){super({id:"editor.action.insertLineAfter",label:u.localize(18,null),alias:"Insert Line Below",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})}run(Y,ie){const ae=ie._getViewModel();ae&&(ie.pushUndoStop(),ie.executeCommands(this.id,f.TypeOperations.lineInsertAfter(ae.cursorConfig,ie.getModel(),ie.getSelections())))}}e.InsertLineAfterAction=N;class F extends y.EditorAction{run(Y,ie){if(!ie.hasModel())return;const ae=ie.getSelection(),ce=this._getRangesToDelete(ie),de=[];for(let te=0,q=ce.length-1;te_.EditOperation.replace(te,""));ie.pushUndoStop(),ie.executeEdits(this.id,ue,he),ie.pushUndoStop()}}e.AbstractDeleteAllToBoundaryAction=F;class O extends F{constructor(){super({id:"deleteAllLeft",label:u.localize(19,null),alias:"Delete All Left",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];let de=0;return ie.forEach(he=>{let ue;if(he.endColumn===1&&de>0){const te=he.startLineNumber-de;ue=new s.Selection(te,he.startColumn,te,he.startColumn)}else ue=new s.Selection(he.startLineNumber,he.startColumn,he.startLineNumber,he.startColumn);de+=he.endLineNumber-he.startLineNumber,he.intersectRanges(Y)?ae=ue:ce.push(ue)}),ae&&ce.unshift(ae),ce}_getRangesToDelete(Y){const ie=Y.getSelections();if(ie===null)return[];let ae=ie;const ce=Y.getModel();return ce===null?[]:(ae.sort(C.Range.compareRangesUsingStarts),ae=ae.map(de=>{if(de.isEmpty())if(de.startColumn===1){const he=Math.max(1,de.startLineNumber-1),ue=de.startLineNumber===1?1:ce.getLineContent(he).length+1;return new C.Range(he,ue,de.startLineNumber,1)}else return new C.Range(de.startLineNumber,1,de.startLineNumber,de.startColumn);else return new C.Range(de.startLineNumber,1,de.endLineNumber,de.endColumn)}),ae)}}e.DeleteAllLeftAction=O;class W extends F{constructor(){super({id:"deleteAllRight",label:u.localize(20,null),alias:"Delete All Right",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(Y,ie){let ae=null;const ce=[];for(let de=0,he=ie.length,ue=0;de{if(de.isEmpty()){const he=ie.getLineMaxColumn(de.startLineNumber);return de.startColumn===he?new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber+1,1):new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber,he)}return de});return ce.sort(C.Range.compareRangesUsingStarts),ce}}e.DeleteAllRightAction=W;class U extends y.EditorAction{constructor(){super({id:"editor.action.joinLines",label:u.localize(21,null),alias:"Join Lines",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;let ce=ie.getSelection();if(ce===null)return;ae.sort(C.Range.compareRangesUsingStarts);const de=[],he=ae.reduce(($,re)=>$.isEmpty()?$.endLineNumber===re.startLineNumber?(ce.equalsSelection($)&&(ce=re),re):re.startLineNumber>$.endLineNumber+1?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn):re.startLineNumber>$.endLineNumber?(de.push($),re):new s.Selection($.startLineNumber,$.startColumn,re.endLineNumber,re.endColumn));de.push(he);const ue=ie.getModel();if(ue===null)return;const te=[],q=[];let z=ce,ee=0;for(let $=0,re=de.length;$=1){let me=!0;Ee===""&&(me=!1),me&&(Ee.charAt(Ee.length-1)===" "||Ee.charAt(Ee.length-1)===" ")&&(me=!1,Ee=Ee.replace(/[\s\uFEFF\xA0]+$/g," "));const le=Fe.substr(_e-1);Ee+=(me?" ":"")+le,me?Se=le.length+1:Se=le.length}else Se=0}const Me=new C.Range(ge,ve,Le,De);if(!Me.isEmpty()){let Pe;oe.isEmpty()?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(Me.startLineNumber-ee,Ee.length-Se+1,ge-ee,Ee.length-Se+1)):oe.startLineNumber===oe.endLineNumber?(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.endLineNumber-ee,oe.endColumn)):(te.push(_.EditOperation.replace(Me,Ee)),Pe=new s.Selection(oe.startLineNumber-ee,oe.startColumn,oe.startLineNumber-ee,Ee.length-ye)),C.Range.intersectRanges(Me,ce)!==null?z=Pe:q.push(Pe)}ee+=Me.endLineNumber-Me.startLineNumber}q.unshift(z),ie.pushUndoStop(),ie.executeEdits(this.id,te,q),ie.pushUndoStop()}}e.JoinLinesAction=U;class j extends y.EditorAction{constructor(){super({id:"editor.action.transpose",label:u.localize(22,null),alias:"Transpose Characters around the Cursor",precondition:i.EditorContextKeys.writable})}run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=[];for(let he=0,ue=ae.length;he=z){if(q.lineNumber===ce.getLineCount())continue;const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommand(new s.Selection(q.lineNumber,Math.max(1,q.column-1),q.lineNumber+1,1),$))}else{const ee=new C.Range(q.lineNumber,Math.max(1,q.column-1),q.lineNumber,q.column+1),$=ce.getValueInRange(ee).split("").reverse().join("");de.push(new D.ReplaceCommandThatPreservesSelection(ee,$,new s.Selection(q.lineNumber,q.column+1,q.lineNumber,q.column+1)))}}ie.pushUndoStop(),ie.executeCommands(this.id,de),ie.pushUndoStop()}}e.TransposeAction=j;class R extends y.EditorAction{run(Y,ie){const ae=ie.getSelections();if(ae===null)return;const ce=ie.getModel();if(ce===null)return;const de=ie.getOption(128),he=[];for(const ue of ae)if(ue.isEmpty()){const te=ue.getStartPosition(),q=ie.getConfiguredWordAtPosition(te);if(!q)continue;const z=new C.Range(te.lineNumber,q.startColumn,te.lineNumber,q.endColumn),ee=ce.getValueInRange(z);he.push(_.EditOperation.replace(z,this._modifyText(ee,de)))}else{const te=ce.getValueInRange(ue);he.push(_.EditOperation.replace(ue,this._modifyText(te,de)))}ie.pushUndoStop(),ie.executeEdits(this.id,he),ie.pushUndoStop()}}e.AbstractCaseAction=R;class K extends R{constructor(){super({id:"editor.action.transformToUppercase",label:u.localize(23,null),alias:"Transform to Uppercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleUpperCase()}}e.UpperCaseAction=K;class G extends R{constructor(){super({id:"editor.action.transformToLowercase",label:u.localize(24,null),alias:"Transform to Lowercase",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){return Y.toLocaleLowerCase()}}e.LowerCaseAction=G;class Z{constructor(Y,ie){this._pattern=Y,this._flags=ie,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch{}}return this._actual}isSupported(){return this.get()!==null}}class J extends R{constructor(){super({id:"editor.action.transformToTitlecase",label:u.localize(25,null),alias:"Transform to Title Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=J.titleBoundary.get();return ae?Y.toLocaleLowerCase().replace(ae,ce=>ce.toLocaleUpperCase()):Y}}e.TitleCaseAction=J,J.titleBoundary=new Z("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class X extends R{constructor(){super({id:"editor.action.transformToSnakecase",label:u.localize(26,null),alias:"Transform to Snake Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=X.caseBoundary.get(),ce=X.singleLetters.get();return!ae||!ce?Y:Y.replace(ae,"$1_$2").replace(ce,"$1_$2$3").toLocaleLowerCase()}}e.SnakeCaseAction=X,X.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),X.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class H extends R{constructor(){super({id:"editor.action.transformToCamelcase",label:u.localize(27,null),alias:"Transform to Camel Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=H.wordBoundary.get();if(!ae)return Y;const ce=Y.split(ae);return ce.shift()+ce.map(he=>he.substring(0,1).toLocaleUpperCase()+he.substring(1)).join("")}}e.CamelCaseAction=H,H.wordBoundary=new Z("[_\\s-]","gm");class B extends R{static isSupported(){return[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(ie=>ie.isSupported())}constructor(){super({id:"editor.action.transformToKebabcase",label:u.localize(28,null),alias:"Transform to Kebab Case",precondition:i.EditorContextKeys.writable})}_modifyText(Y,ie){const ae=B.caseBoundary.get(),ce=B.singleLetters.get(),de=B.underscoreBoundary.get();return!ae||!ce||!de?Y:Y.replace(de,"$1-$3").replace(ae,"$1-$2").replace(ce,"$1-$2").toLocaleLowerCase()}}e.KebabCaseAction=B,B.caseBoundary=new Z("(\\p{Ll})(\\p{Lu})","gmu"),B.singleLetters=new Z("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),B.underscoreBoundary=new Z("(\\S)(_)(\\S)","gm"),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),(0,y.registerEditorAction)(A),(0,y.registerEditorAction)(N),(0,y.registerEditorAction)(O),(0,y.registerEditorAction)(W),(0,y.registerEditorAction)(U),(0,y.registerEditorAction)(j),(0,y.registerEditorAction)(K),(0,y.registerEditorAction)(G),X.caseBoundary.isSupported()&&X.singleLetters.isSupported()&&(0,y.registerEditorAction)(X),H.wordBoundary.isSupported()&&(0,y.registerEditorAction)(H),J.titleBoundary.isSupported()&&(0,y.registerEditorAction)(J),B.isSupported()&&(0,y.registerEditorAction)(B)}),define(ne[808],se([1,0,2,16]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class y extends L.Disposable{constructor(S){super(),this._editor=S,this._register(this._editor.onMouseDown(f=>{const _=this._editor.getOption(115);_>=0&&f.target.type===6&&f.target.position.column>=_&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}y.ID="editor.contrib.longLinesHelper",(0,k.registerEditorContribution)(y.ID,y,2)}),define(ne[190],se([1,0,183,49,6,55,2,16,5,117,686,15,56,7,456]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.MessageController=void 0;let a=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d){this._openerService=d,this._messageWidget=new S.MutableDisposable,this._messageListeners=new S.DisposableStore,this._mouseOverMessage=!1,this._editor=c,this._visible=t.MESSAGE_VISIBLE.bindTo(o)}dispose(){var c;(c=this._message)===null||c===void 0||c.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(c,o){(0,k.alert)((0,D.isMarkdownString)(c)?c.value:c),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=(0,D.isMarkdownString)(c)?(0,L.renderMarkdown)(c,{actionHandler:{callback:l=>(0,g.openLinkFromMarkdown)(this._openerService,l,(0,D.isMarkdownString)(c)?c.isTrusted:void 0),disposables:this._messageListeners}}):void 0,this._messageWidget.value=new h(this._editor,o,typeof c=="string"?c:this._message.element),this._messageListeners.add(y.Event.debounce(this._editor.onDidBlurEditorText,(l,p)=>p,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&n.isAncestor(document.activeElement,this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let d;this._messageListeners.add(this._editor.onMouseMove(l=>{l.target.position&&(d?d.containsPosition(l.target.position)||this.closeMessage():d=new _.Range(o.lineNumber-3,1,l.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(h.fadeOut(this._messageWidget.value))}};e.MessageController=a,a.ID="editor.contrib.messageController",a.MESSAGE_VISIBLE=new s.RawContextKey("messageVisible",!1,C.localize(0,null)),e.MessageController=a=t=ke([fe(1,s.IContextKeyService),fe(2,i.IOpenerService)],a);const u=f.EditorCommand.bindToContribution(a.get);(0,f.registerEditorCommand)(new u({id:"leaveEditorMessage",precondition:a.MESSAGE_VISIBLE,handler:r=>r.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class h{static fadeOut(c){const o=()=>{c.dispose(),clearTimeout(d),c.getDomNode().removeEventListener("animationend",o)},d=setTimeout(o,110);return c.getDomNode().addEventListener("animationend",o),c.getDomNode().classList.add("fadeOut"),{dispose:o}}constructor(c,{lineNumber:o,column:d},l){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=c,this._editor.revealLinesInCenterIfOutsideViewport(o,o,0),this._position={lineNumber:o,column:d},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const p=document.createElement("div");p.classList.add("anchor","top"),this._domNode.appendChild(p);const m=document.createElement("div");typeof l=="string"?(m.classList.add("message"),m.textContent=l):(l.classList.add("message"),m.appendChild(l)),this._domNode.appendChild(m);const v=document.createElement("div");v.classList.add("anchor","below"),this._domNode.appendChild(v),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(c){this._domNode.classList.toggle("below",c===2)}}(0,f.registerEditorContribution)(a.ID,a,4)}),define(ne[809],se([1,0,55,2,16,190,693]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReadOnlyMessageController=void 0;class f extends k.Disposable{constructor(g){super(),this.editor=g,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){const g=D.MessageController.get(this.editor);if(g&&this.editor.hasModel()){let C=this.editor.getOptions().get(90);C||(this.editor.isSimpleWidget?C=new L.MarkdownString(S.localize(0,null)):C=new L.MarkdownString(S.localize(1,null))),g.showMessage(C,this.editor.getPosition())}}}e.ReadOnlyMessageController=f,f.ID="editor.contrib.readOnlyMessageController",(0,y.registerEditorContribution)(f.ID,f,2)}),define(ne[810],se([1,0,14,19,9,16,12,5,24,21,298,547,696,30,27,18,69,20,22]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.provideSelectionRanges=e.SmartSelectController=void 0;class o{constructor(w,E){this.index=w,this.ranges=E}mov(w){const E=this.index+(w?1:-1);if(E<0||E>=this.ranges.length)return this;const I=new o(E,this.ranges);return I.ranges[E].equalsRange(this.ranges[this.index])?I.mov(w):I}}let d=c=class{static get(w){return w.getContribution(c.ID)}constructor(w,E){this._editor=w,this._languageFeaturesService=E,this._ignoreSelection=!1}dispose(){var w;(w=this._selectionListener)===null||w===void 0||w.dispose()}run(w){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const E=this._editor.getSelections(),I=this._editor.getModel();if(this._state||(yield v(this._languageFeaturesService.selectionRangeProvider,I,E.map(P=>P.getPosition()),this._editor.getOption(111),k.CancellationToken.None).then(P=>{var x;if(!(!L.isNonEmptyArray(P)||P.length!==E.length)&&!(!this._editor.hasModel()||!L.equals(this._editor.getSelections(),E,(T,A)=>T.equalsSelection(A)))){for(let T=0;TA.containsPosition(E[T].getStartPosition())&&A.containsPosition(E[T].getEndPosition())),P[T].unshift(E[T]);this._state=P.map(T=>new o(0,T)),(x=this._selectionListener)===null||x===void 0||x.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var T;this._ignoreSelection||((T=this._selectionListener)===null||T===void 0||T.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(P=>P.mov(w));const M=this._state.map(P=>_.Selection.fromPositions(P.ranges[P.index].getStartPosition(),P.ranges[P.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(M)}finally{this._ignoreSelection=!1}})}};e.SmartSelectController=d,d.ID="editor.contrib.smartSelectController",e.SmartSelectController=d=c=ke([fe(1,a.ILanguageFeaturesService)],d);class l extends D.EditorAction{constructor(w,E){super(E),this._forward=w}run(w,E){return we(this,void 0,void 0,function*(){const I=d.get(E);I&&(yield I.run(this._forward))})}}class p extends l{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:i.localize(0,null),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(1,null),order:2}})}}t.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");class m extends l{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:i.localize(2,null),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(3,null),order:3}})}}(0,D.registerEditorContribution)(d.ID,d,4),(0,D.registerEditorAction)(p),(0,D.registerEditorAction)(m);function v(b,w,E,I,M){return we(this,void 0,void 0,function*(){const P=b.all(w).concat(new s.WordSelectionRangeProvider(I.selectSubwords));P.length===1&&P.unshift(new C.BracketSelectionRangeProvider);const x=[],T=[];for(const A of P)x.push(Promise.resolve(A.provideSelectionRanges(w,E,M)).then(N=>{if(L.isNonEmptyArray(N)&&N.length===E.length)for(let F=0;F{if(A.length===0)return[];A.sort((W,U)=>S.Position.isBefore(W.getStartPosition(),U.getStartPosition())?1:S.Position.isBefore(U.getStartPosition(),W.getStartPosition())||S.Position.isBefore(W.getEndPosition(),U.getEndPosition())?-1:S.Position.isBefore(U.getEndPosition(),W.getEndPosition())?1:0);const N=[];let F;for(const W of A)(!F||f.Range.containsRange(W,F)&&!f.Range.equalsRange(W,F))&&(N.push(W),F=W);if(!I.selectLeadingAndTrailingWhitespace)return N;const O=[N[0]];for(let W=1;W0&&this.word.startColumn===m.startColumn&&this.word.endColumn=0&&I.resolve(L.CancellationToken.None)}return p}};r=ke([fe(5,i.ISuggestMemoryService)],r);let c=class{constructor(l,p,m,v){this._getEditorOption=l,this._languageFeatureService=p,this._clipboardService=m,this._suggestMemoryService=v}provideInlineCompletions(l,p,m,v){var b;return we(this,void 0,void 0,function*(){if(m.selectedSuggestionInfo)return;const w=this._getEditorOption(87,l);if(s.QuickSuggestionsOptions.isAllOff(w))return;l.tokenization.tokenizeIfCheap(p.lineNumber);const E=l.tokenization.getLineTokens(p.lineNumber),I=E.getStandardTokenType(E.findTokenIndexAtOffset(Math.max(p.column-1-1,0)));if(s.QuickSuggestionsOptions.valueFor(w,I)!=="inline")return;let M=l.getWordAtPosition(p),P;if(M?.word||(P=this._getTriggerCharacterInfo(l,p)),!M?.word&&!P||(M||(M=l.getWordUntilPosition(p)),M.endColumn!==p.column))return;let x;const T=l.getValueInRange(new _.Range(p.lineNumber,1,p.lineNumber,p.column));if(!P&&(!((b=this._lastResult)===null||b===void 0)&&b.canBeReused(l,p.lineNumber,M))){const A=new C.LineContext(T,p.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=A,this._lastResult.acquire(),x=this._lastResult}else{const A=yield(0,s.provideSuggestionItems)(this._languageFeatureService.completionProvider,l,p,new s.CompletionOptions(void 0,void 0,P?.providers),P&&{triggerKind:1,triggerCharacter:P.ch},v);let N;A.needsClipboard&&(N=yield this._clipboardService.readText());const F=new C.CompletionModel(A.items,p.column,new C.LineContext(T,0),n.WordDistance.None,this._getEditorOption(116,l),this._getEditorOption(110,l),{boostFullMatch:!1,firstMatchCanBeWeak:!1},N);x=new r(l,p.lineNumber,M,F,A,this._suggestMemoryService)}return this._lastResult=x,x})}handleItemDidShow(l,p){p.completion.resolve(L.CancellationToken.None)}freeInlineCompletions(l){l.release()}_getTriggerCharacterInfo(l,p){var m;const v=l.getValueInRange(_.Range.fromPositions({lineNumber:p.lineNumber,column:p.column-1},p)),b=new Set;for(const w of this._languageFeatureService.completionProvider.all(l))!((m=w.triggerCharacters)===null||m===void 0)&&m.includes(v)&&b.add(w);if(b.size!==0)return{providers:b,ch:v}}};e.SuggestInlineCompletions=c,e.SuggestInlineCompletions=c=ke([fe(1,g.ILanguageFeaturesService),fe(2,t.IClipboardService),fe(3,i.ISuggestMemoryService)],c);let o=u=class{constructor(l,p,m,v){if(++u._counter===1){const b=v.createInstance(c,(w,E)=>{var I;return((I=m.listCodeEditors().find(P=>P.getModel()===E))!==null&&I!==void 0?I:l).getOption(w)});u._disposable=p.inlineCompletionsProvider.register("*",b)}}dispose(){var l;--u._counter===0&&((l=u._disposable)===null||l===void 0||l.dispose(),u._disposable=void 0)}};o._counter=0,o=u=ke([fe(1,g.ILanguageFeaturesService),fe(2,f.ICodeEditorService),fe(3,a.IInstantiationService)],o),(0,S.registerEditorContribution)("suggest.inlineCompletionsProvider",o,0)}),define(ne[812],se([1,0,58,16,708]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends k.EditorAction{constructor(){super({id:"editor.action.forceRetokenize",label:y.localize(0,null),alias:"Developer: Force Retokenize",precondition:void 0})}run(f,_){if(!_.hasModel())return;const g=_.getModel();g.tokenization.resetTokenization();const C=new L.StopWatch;g.tokenization.forceTokenization(g.getLineCount()),C.stop(),console.log(`tokenization took ${C.elapsed()}`)}}(0,k.registerEditorAction)(D)}),define(ne[813],se([1,0,2,45,16,33,710,156]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnusualLineTerminatorsDetector=void 0;const _="ignoreUnusualLineTerminators";function g(i,n,t){i.setModelProperty(n.uri,_,t)}function C(i,n){return i.getModelProperty(n.uri,_)}let s=class extends L.Disposable{constructor(n,t,a){super(),this._editor=n,this._dialogService=t,this._codeEditorService=a,this._isPresentingDialog=!1,this._config=this._editor.getOption(124),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(124)&&(this._config=this._editor.getOption(124),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(u=>{u.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}_checkForUnusualLineTerminators(){return we(this,void 0,void 0,function*(){if(this._config==="off"||!this._editor.hasModel())return;const n=this._editor.getModel();if(!n.mightContainUnusualLineTerminators()||C(this._codeEditorService,n)===!0||this._editor.getOption(89))return;if(this._config==="auto"){n.removeUnusualLineTerminators(this._editor.getSelections());return}if(this._isPresentingDialog)return;let a;try{this._isPresentingDialog=!0,a=yield this._dialogService.confirm({title:S.localize(0,null),message:S.localize(1,null),detail:S.localize(2,null,(0,k.basename)(n.uri)),primaryButton:S.localize(3,null),cancelButton:S.localize(4,null)})}finally{this._isPresentingDialog=!1}if(!a.confirmed){g(this._codeEditorService,n,!0);return}n.removeUnusualLineTerminators(this._editor.getSelections())})}};e.UnusualLineTerminatorsDetector=s,s.ID="editor.contrib.unusualLineTerminatorsDetector",e.UnusualLineTerminatorsDetector=s=ke([fe(1,f.IDialogService),fe(2,D.ICodeEditorService)],s),(0,y.registerEditorContribution)(s.ID,s,1)}),define(ne[353],se([1,0,16,123,36,74,178,146,12,5,24,21,32,713,84,15,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeleteInsideWord=e.DeleteWordRight=e.DeleteWordEndRight=e.DeleteWordStartRight=e.DeleteWordLeft=e.DeleteWordEndLeft=e.DeleteWordStartLeft=e.DeleteWordRightCommand=e.DeleteWordLeftCommand=e.DeleteWordCommand=e.CursorWordAccessibilityRightSelect=e.CursorWordAccessibilityRight=e.CursorWordRightSelect=e.CursorWordEndRightSelect=e.CursorWordStartRightSelect=e.CursorWordRight=e.CursorWordEndRight=e.CursorWordStartRight=e.CursorWordAccessibilityLeftSelect=e.CursorWordAccessibilityLeft=e.CursorWordLeftSelect=e.CursorWordEndLeftSelect=e.CursorWordStartLeftSelect=e.CursorWordLeft=e.CursorWordEndLeft=e.CursorWordStartLeft=e.WordRightCommand=e.WordLeftCommand=e.MoveWordCommand=void 0;class h extends L.EditorCommand{constructor(H){super(H),this._inSelectionMode=H.inSelectionMode,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=new _.Position(de.positionLineNumber,de.positionColumn),ue=this._move(Y,ie,he,this._wordNavigationType);return this._moveTo(de,ue,this._inSelectionMode)});if(ie.pushStackElement(),B._getViewModel().setCursorStates("moveWordCommand",3,ce.map(de=>D.CursorState.fromModelSelection(de))),ce.length===1){const de=new _.Position(ce[0].positionLineNumber,ce[0].positionColumn);B.revealPosition(de,0)}}_moveTo(H,B,V){return V?new C.Selection(H.selectionStartLineNumber,H.selectionStartColumn,B.lineNumber,B.column):new C.Selection(B.lineNumber,B.column,B.lineNumber,B.column)}}e.MoveWordCommand=h;class r extends h{_move(H,B,V,Y){return S.WordOperations.moveWordLeft(H,B,V,Y)}}e.WordLeftCommand=r;class c extends h{_move(H,B,V,Y){return S.WordOperations.moveWordRight(H,B,V,Y)}}e.WordRightCommand=c;class o extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}e.CursorWordStartLeft=o;class d extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}e.CursorWordEndLeft=d;class l extends r{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2063,mac:{primary:527},weight:100}})}}e.CursorWordLeft=l;class p extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}e.CursorWordStartLeftSelect=p;class m extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}e.CursorWordEndLeftSelect=m;class v extends r{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3087,mac:{primary:1551},weight:100}})}}e.CursorWordLeftSelect=v;class b extends r{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeft=b;class w extends r{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityLeftSelect=w;class E extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}e.CursorWordStartRight=E;class I extends c{constructor(){var H;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:2065,mac:{primary:529},weight:100}})}}e.CursorWordEndRight=I;class M extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}e.CursorWordRight=M;class P extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}e.CursorWordStartRightSelect=P;class x extends c{constructor(){var H;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:a.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(H=a.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||H===void 0?void 0:H.negate()),primary:3089,mac:{primary:1553},weight:100}})}}e.CursorWordEndRightSelect=x;class T extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}e.CursorWordRightSelect=T;class A extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRight=A;class N extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(H,B,V,Y){return super._move((0,f.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),B,V,Y)}}e.CursorWordAccessibilityRightSelect=N;class F extends L.EditorCommand{constructor(H){super(H),this._whitespaceHeuristics=H.whitespaceHeuristics,this._wordNavigationType=H.wordNavigationType}runEditorCommand(H,B,V){const Y=H.get(i.ILanguageConfigurationService);if(!B.hasModel())return;const ie=(0,f.getMapForWordSeparators)(B.getOption(128)),ae=B.getModel(),ce=B.getSelections(),de=B.getOption(6),he=B.getOption(10),ue=Y.getLanguageConfiguration(ae.getLanguageId()).getAutoClosingPairs(),te=B._getViewModel(),q=ce.map(z=>{const ee=this._delete({wordSeparators:ie,model:ae,selection:z,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:B.getOption(8),autoClosingBrackets:de,autoClosingQuotes:he,autoClosingPairs:ue,autoClosedCharacters:te.getCursorAutoClosedCharacters()},this._wordNavigationType);return new k.ReplaceCommand(ee,"")});B.pushUndoStop(),B.executeCommands(this.id,q),B.pushUndoStop()}}e.DeleteWordCommand=F;class O extends F{_delete(H,B){const V=S.WordOperations.deleteWordLeft(H,B);return V||new g.Range(1,1,1,1)}}e.DeleteWordLeftCommand=O;class W extends F{_delete(H,B){const V=S.WordOperations.deleteWordRight(H,B);if(V)return V;const Y=H.model.getLineCount(),ie=H.model.getLineMaxColumn(Y);return new g.Range(Y,ie,Y,ie)}}e.DeleteWordRightCommand=W;class U extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartLeft=U;class j extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndLeft=j;class R extends O{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}e.DeleteWordLeft=R;class K extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartRight=K;class G extends W{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndRight=G;class Z extends W{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}e.DeleteWordRight=Z;class J extends L.EditorAction{constructor(){super({id:"deleteInsideWord",precondition:s.EditorContextKeys.writable,label:n.localize(0,null),alias:"Delete Word"})}run(H,B,V){if(!B.hasModel())return;const Y=(0,f.getMapForWordSeparators)(B.getOption(128)),ie=B.getModel(),ce=B.getSelections().map(de=>{const he=S.WordOperations.deleteInsideWord(Y,ie,de);return new k.ReplaceCommand(he,"")});B.pushUndoStop(),B.executeCommands(this.id,ce),B.pushUndoStop()}}e.DeleteInsideWord=J,(0,L.registerEditorCommand)(new o),(0,L.registerEditorCommand)(new d),(0,L.registerEditorCommand)(new l),(0,L.registerEditorCommand)(new p),(0,L.registerEditorCommand)(new m),(0,L.registerEditorCommand)(new v),(0,L.registerEditorCommand)(new E),(0,L.registerEditorCommand)(new I),(0,L.registerEditorCommand)(new M),(0,L.registerEditorCommand)(new P),(0,L.registerEditorCommand)(new x),(0,L.registerEditorCommand)(new T),(0,L.registerEditorCommand)(new b),(0,L.registerEditorCommand)(new w),(0,L.registerEditorCommand)(new A),(0,L.registerEditorCommand)(new N),(0,L.registerEditorCommand)(new U),(0,L.registerEditorCommand)(new j),(0,L.registerEditorCommand)(new R),(0,L.registerEditorCommand)(new K),(0,L.registerEditorCommand)(new G),(0,L.registerEditorCommand)(new Z),(0,L.registerEditorAction)(J)}),define(ne[814],se([1,0,16,178,5,21,353,27]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorWordPartRightSelect=e.CursorWordPartRight=e.WordPartRightCommand=e.CursorWordPartLeftSelect=e.CursorWordPartLeft=e.WordPartLeftCommand=e.DeleteWordPartRight=e.DeleteWordPartLeft=void 0;class _ extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartLeft(h);return c||new y.Range(1,1,1,1)}}e.DeleteWordPartLeft=_;class g extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(h,r){const c=k.WordPartOperations.deleteWordPartRight(h);if(c)return c;const o=h.model.getLineCount(),d=h.model.getLineMaxColumn(o);return new y.Range(o,d,o,d)}}e.DeleteWordPartRight=g;class C extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartLeft(h,r,c)}}e.WordPartLeftCommand=C;class s extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}e.CursorWordPartLeft=s,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class i extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}e.CursorWordPartLeftSelect=i,f.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class n extends S.MoveWordCommand{_move(h,r,c,o){return k.WordPartOperations.moveWordPartRight(h,r,c)}}e.WordPartRightCommand=n;class t extends n{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}e.CursorWordPartRight=t;class a extends n{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}e.CursorWordPartRightSelect=a,(0,L.registerEditorCommand)(new _),(0,L.registerEditorCommand)(new g),(0,L.registerEditorCommand)(new s),(0,L.registerEditorCommand)(new i),(0,L.registerEditorCommand)(new t),(0,L.registerEditorCommand)(new a)}),define(ne[815],se([1,0,7,2,16,17,468]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IPadShowKeyboard=void 0;class S extends k.Disposable{constructor(g){super(),this.editor=g,this.widget=null,D.isIOS&&(this._register(g.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const g=!this.editor.getOption(89);!this.widget&&g?this.widget=new f(this.editor):this.widget&&!g&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}e.IPadShowKeyboard=S,S.ID="editor.contrib.iPadShowKeyboard";class f extends k.Disposable{constructor(g){super(),this.editor=g,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(L.addDisposableListener(this._domNode,"touchstart",C=>{this.editor.focus()})),this._register(L.addDisposableListener(this._domNode,"focus",C=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return f.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}f.ID="editor.contrib.ShowKeyboardWidget",(0,y.registerEditorContribution)(S.ID,S,3)}),define(ne[816],se([1,0,7,38,2,16,29,124,154,41,133,94,469]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});let n=i=class extends y.Disposable{static get(c){return c.getContribution(i.ID)}constructor(c,o,d){super(),this._editor=c,this._languageService=d,this._widget=null,this._register(this._editor.onDidChangeModel(l=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(l=>this.stop())),this._register(S.TokenizationRegistry.onDidChange(l=>this.stop())),this._register(this._editor.onKeyUp(l=>l.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new h(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};n.ID="editor.contrib.inspectTokens",n=i=ke([fe(1,C.IStandaloneThemeService),fe(2,g.ILanguageService)],n);class t extends D.EditorAction{constructor(){super({id:"editor.action.inspectTokens",label:s.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(c,o){const d=n.get(o);d?.launch()}}function a(r){let c="";for(let o=0,d=r.length;o_.NullState,tokenize:(l,p,m)=>(0,_.nullTokenize)(c,m),tokenizeEncoded:(l,p,m)=>(0,_.nullTokenizeEncoded)(d,m)}}class h extends y.Disposable{constructor(c,o){super(),this.allowEditorOverflow=!0,this._editor=c,this._languageService=o,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=u(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(d=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return h._ID}_compute(c){const o=this._getTokensAtLine(c.lineNumber);let d=0;for(let b=o.tokens1.length-1;b>=0;b--){const w=o.tokens1[b];if(c.column-1>=w.offset){d=b;break}}let l=0;for(let b=o.tokens2.length>>>1;b>=0;b--)if(c.column-1>=o.tokens2[b<<1]){l=b;break}const p=this._model.getLineContent(c.lineNumber);let m="";if(d{var v;return(v=d.lookupKeybinding(m.id))!==null&&v!==void 0?v:void 0}},h),{allowContextMenu:!0,skipTelemetry:typeof h?.telemetrySource=="string"})),this._options=h,this._menuService=r,this._contextKeyService=c,this._contextMenuService=o,this._sessionDisposables=this._store.add(new f.DisposableStore);const p=h?.telemetrySource;p&&this._store.add(this.actionBar.onDidRun(m=>l.publicLog2("workbenchActionExecuted",{id:m.action.id,from:p})))}setActions(u,h=[],r){var c,o,d;this._sessionDisposables.clear();const l=u.slice(),p=h.slice(),m=[];let v=0;const b=[];let w=!1;if(((c=this._options)===null||c===void 0?void 0:c.hiddenItemStrategy)!==-1)for(let E=0;E=this._options.maxNumberOfItems&&(l[I]=void 0,b[I]=M)}}(0,S.coalesceInPlace)(l),(0,S.coalesceInPlace)(b),super.setActions(l,D.Separator.join(b,p)),m.length>0&&this._sessionDisposables.add((0,L.addDisposableListener)(this.getElement(),"contextmenu",E=>{var I,M,P,x,T;const A=new k.StandardMouseEvent(E),N=this.getItemAction(A.target);if(!N)return;A.preventDefault(),A.stopPropagation();let F=!1;if(v===1&&((I=this._options)===null||I===void 0?void 0:I.hiddenItemStrategy)===0){F=!0;for(let U=0;Uthis._menuService.resetHiddenStates(r)}))),this._contextMenuService.showContextMenu({getAnchor:()=>A,getActions:()=>W,menuId:(P=this._options)===null||P===void 0?void 0:P.contextMenu,menuActionOptions:Object.assign({renderShortTitle:!0},(x=this._options)===null||x===void 0?void 0:x.menuOptions),skipTelemetry:typeof((T=this._options)===null||T===void 0?void 0:T.telemetrySource)=="string",contextKeyService:this._contextKeyService})}))}};e.WorkbenchToolBar=t,e.WorkbenchToolBar=t=ke([fe(2,g.IMenuService),fe(3,C.IContextKeyService),fe(4,s.IContextMenuService),fe(5,i.IKeybindingService),fe(6,n.ITelemetryService)],t)}),define(ne[818],se([1,0,564,9,72,2,65,730,27,28,156,8,34,771,87,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsHistory=e.AbstractCommandsQuickAccessProvider=void 0;let r=u=class extends n.PickerQuickAccessProvider{constructor(d,l,p,m,v,b){super(u.PREFIX,d),this.instantiationService=l,this.keybindingService=p,this.commandService=m,this.telemetryService=v,this.dialogService=b,this.commandsHistory=this._register(this.instantiationService.createInstance(c)),this.options=d}_getPicks(d,l,p,m){var v,b,w,E;return we(this,void 0,void 0,function*(){const I=yield this.getCommandPicks(p);if(p.isCancellationRequested)return[];const M=[];for(const N of I){const F=(v=u.WORD_FILTER(d,N.label))!==null&&v!==void 0?v:void 0,O=N.commandAlias&&(b=u.WORD_FILTER(d,N.commandAlias))!==null&&b!==void 0?b:void 0;F||O?(N.highlights={label:F,detail:this.options.showAlias?O:void 0},M.push(N)):d===N.commandId&&M.push(N)}const P=new Map;for(const N of M){const F=P.get(N.label);F?(N.description=N.commandId,F.description=F.commandId):P.set(N.label,N)}M.sort((N,F)=>{const O=this.commandsHistory.peek(N.commandId),W=this.commandsHistory.peek(F.commandId);if(O&&W)return O>W?-1:1;if(O)return-1;if(W)return 1;if(this.options.suggestedCommandIds){const U=this.options.suggestedCommandIds.has(N.commandId),j=this.options.suggestedCommandIds.has(F.commandId);if(U&&j)return 0;if(U)return-1;if(j)return 1}return N.label.localeCompare(F.label)});const x=[];let T=!1,A=!!this.options.suggestedCommandIds;for(let N=0;Nwe(this,void 0,void 0,function*(){const N=yield this.getAdditionalCommandPicks(I,M,d,p);return p.isCancellationRequested?[]:N.map(F=>this.toCommandPick(F,m))}))()}:x})}toCommandPick(d,l){if(d.type==="separator")return d;const p=this.keybindingService.lookupKeybinding(d.commandId),m=p?(0,f.localize)(3,null,d.label,p.getAriaLabel()):d.label;return Object.assign(Object.assign({},d),{ariaLabel:m,detail:this.options.showAlias&&d.commandAlias!==d.label?d.commandAlias:void 0,keybinding:p,accept:()=>we(this,void 0,void 0,function*(){var v,b;this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:(v=l?.from)!==null&&v!==void 0?v:"quick open"});try{!((b=d.args)===null||b===void 0)&&b.length?yield this.commandService.executeCommand(d.commandId,...d.args):yield this.commandService.executeCommand(d.commandId)}catch(w){(0,k.isCancellationError)(w)||this.dialogService.error((0,f.localize)(4,null,d.label),(0,L.toErrorMessage)(w))}})})}};e.AbstractCommandsQuickAccessProvider=r,r.PREFIX=">",r.WORD_FILTER=(0,y.or)(y.matchesPrefix,y.matchesWords,y.matchesContiguousSubString),e.AbstractCommandsQuickAccessProvider=r=u=ke([fe(1,s.IInstantiationService),fe(2,i.IKeybindingService),fe(3,_.ICommandService),fe(4,a.ITelemetryService),fe(5,C.IDialogService)],r);let c=h=class extends D.Disposable{constructor(d,l){super(),this.storageService=d,this.configurationService=l,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(d=>this.updateConfiguration(d)))}updateConfiguration(d){d&&!d.affectsConfiguration("workbench.commandPalette.history")||(this.configuredCommandsHistoryLength=h.getConfiguredCommandHistoryLength(this.configurationService),h.cache&&h.cache.limit!==this.configuredCommandsHistoryLength&&(h.cache.limit=this.configuredCommandsHistoryLength,h.saveState(this.storageService)))}load(){const d=this.storageService.get(h.PREF_KEY_CACHE,0);let l;if(d)try{l=JSON.parse(d)}catch{}const p=h.cache=new S.LRUCache(this.configuredCommandsHistoryLength,1);if(l){let m;l.usesLRU?m=l.entries:m=l.entries.sort((v,b)=>v.value-b.value),m.forEach(v=>p.set(v.key,v.value))}h.counter=this.storageService.getNumber(h.PREF_KEY_COUNTER,0,h.counter)}push(d){h.cache&&(h.cache.set(d,h.counter++),h.saveState(this.storageService))}peek(d){var l;return(l=h.cache)===null||l===void 0?void 0:l.peek(d)}static saveState(d){if(!h.cache)return;const l={usesLRU:!0,entries:[]};h.cache.forEach((p,m)=>l.entries.push({key:m,value:p})),d.store(h.PREF_KEY_CACHE,JSON.stringify(l),0,0),d.store(h.PREF_KEY_COUNTER,h.counter,0,0)}static getConfiguredCommandHistoryLength(d){var l,p;const v=(p=(l=d.getValue().workbench)===null||l===void 0?void 0:l.commandPalette)===null||p===void 0?void 0:p.history;return typeof v=="number"?v:h.DEFAULT_COMMANDS_HISTORY_LENGTH}};e.CommandsHistory=c,c.DEFAULT_COMMANDS_HISTORY_LENGTH=50,c.PREF_KEY_CACHE="commandPalette.mru.cache",c.PREF_KEY_COUNTER="commandPalette.mru.counter",c.counter=1,e.CommandsHistory=c=h=ke([fe(0,t.IStorageService),fe(1,g.IConfigurationService)],c)}),define(ne[819],se([1,0,120,818]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorCommandsQuickAccessProvider=void 0;class y extends k.AbstractCommandsQuickAccessProvider{constructor(S,f,_,g,C,s){super(S,f,_,g,C,s)}getCodeEditorCommandPicks(){const S=this.activeTextEditorControl;if(!S)return[];const f=[];for(const _ of S.getSupportedActions())f.push({commandId:_.id,commandAlias:_.alias,label:(0,L.stripIcons)(_.label)||_.id});return f}}e.AbstractEditorCommandsQuickAccessProvider=y}),define(ne[820],se([1,0,37,136,94,33,819,8,34,27,79,156,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneCommandsQuickAccessProvider=void 0;let a=class extends S.AbstractEditorCommandsQuickAccessProvider{get activeTextEditorControl(){var r;return(r=this.codeEditorService.getFocusedCodeEditor())!==null&&r!==void 0?r:void 0}constructor(r,c,o,d,l,p){super({showAlias:!1},r,o,d,l,p),this.codeEditorService=c}getCommandPicks(){return we(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}hasAdditionalCommandPicks(){return!1}getAdditionalCommandPicks(){return we(this,void 0,void 0,function*(){return[]})}};e.StandaloneCommandsQuickAccessProvider=a,e.StandaloneCommandsQuickAccessProvider=a=ke([fe(0,f.IInstantiationService),fe(1,D.ICodeEditorService),fe(2,_.IKeybindingService),fe(3,g.ICommandService),fe(4,C.ITelemetryService),fe(5,s.IDialogService)],a);class u extends i.EditorAction{constructor(){super({id:u.ID,label:y.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:n.EditorContextKeys.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(r){r.get(t.IQuickInputService).quickAccess.show(a.PREFIX)}}e.GotoLineAction=u,u.ID="editor.action.quickCommand",(0,i.registerEditorAction)(u),L.Registry.as(k.Extensions.Quickaccess).registerQuickAccessProvider({ctor:a,prefix:a.PREFIX,helpEntries:[{description:y.QuickCommandNLS.quickCommandHelp,commandId:u.ID}]})}),define(ne[31],se([1,0,13,38,6,85,736,240,37]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.workbenchColorsSchemaId=e.resolveColorValue=e.ifDefinedThenElse=e.oneOf=e.transparent=e.lighten=e.darken=e.executeTransform=e.chartsPurple=e.chartsGreen=e.chartsOrange=e.chartsYellow=e.chartsBlue=e.chartsRed=e.chartsLines=e.chartsForeground=e.problemsInfoIconForeground=e.problemsWarningIconForeground=e.problemsErrorIconForeground=e.minimapSliderActiveBackground=e.minimapSliderHoverBackground=e.minimapSliderBackground=e.minimapForegroundOpacity=e.minimapBackground=e.minimapWarning=e.minimapError=e.minimapSelection=e.minimapSelectionOccurrenceHighlight=e.minimapFindMatch=e.overviewRulerSelectionHighlightForeground=e.overviewRulerFindMatchForeground=e.overviewRulerCommonContentForeground=e.overviewRulerIncomingContentForeground=e.overviewRulerCurrentContentForeground=e.mergeBorder=e.mergeCommonContentBackground=e.mergeCommonHeaderBackground=e.mergeIncomingContentBackground=e.mergeIncomingHeaderBackground=e.mergeCurrentContentBackground=e.mergeCurrentHeaderBackground=e.breadcrumbsPickerBackground=e.breadcrumbsActiveSelectionForeground=e.breadcrumbsFocusForeground=e.breadcrumbsBackground=e.breadcrumbsForeground=e.snippetFinalTabstopHighlightBorder=e.snippetFinalTabstopHighlightBackground=e.snippetTabstopHighlightBorder=e.snippetTabstopHighlightBackground=e.toolbarActiveBackground=e.toolbarHoverOutline=e.toolbarHoverBackground=e.menuSeparatorBackground=e.menuSelectionBorder=e.menuSelectionBackground=e.menuSelectionForeground=e.menuBackground=e.menuForeground=e.menuBorder=e.quickInputListFocusBackground=e.quickInputListFocusIconForeground=e.quickInputListFocusForeground=e._deprecatedQuickInputListFocusBackground=e.checkboxSelectBorder=e.checkboxBorder=e.checkboxForeground=e.checkboxSelectBackground=e.checkboxBackground=e.listDeemphasizedForeground=e.tableOddRowsBackgroundColor=e.tableColumnsBorder=e.treeInactiveIndentGuidesStroke=e.treeIndentGuidesStroke=e.listFilterMatchHighlightBorder=e.listFilterMatchHighlight=e.listFilterWidgetShadow=e.listFilterWidgetNoMatchesOutline=e.listFilterWidgetOutline=e.listFilterWidgetBackground=e.listWarningForeground=e.listErrorForeground=e.listInvalidItemForeground=e.listFocusHighlightForeground=e.listHighlightForeground=e.listDropBackground=e.listHoverForeground=e.listHoverBackground=e.listInactiveFocusOutline=e.listInactiveFocusBackground=e.listInactiveSelectionIconForeground=e.listInactiveSelectionForeground=e.listInactiveSelectionBackground=e.listActiveSelectionIconForeground=e.listActiveSelectionForeground=e.listActiveSelectionBackground=e.listFocusAndSelectionOutline=e.listFocusOutline=e.listFocusForeground=e.listFocusBackground=e.diffUnchangedTextBackground=e.diffUnchangedRegionForeground=e.diffUnchangedRegionBackground=e.diffDiagonalFill=e.diffBorder=e.diffRemovedOutline=e.diffInsertedOutline=e.diffOverviewRulerRemoved=e.diffOverviewRulerInserted=e.diffRemovedLineGutter=e.diffInsertedLineGutter=e.diffRemovedLine=e.diffInsertedLine=e.diffRemoved=e.diffInserted=e.defaultRemoveColor=e.defaultInsertColor=e.editorLightBulbAutoFixForeground=e.editorLightBulbForeground=e.editorInlayHintParameterBackground=e.editorInlayHintParameterForeground=e.editorInlayHintTypeBackground=e.editorInlayHintTypeForeground=e.editorInlayHintBackground=e.editorInlayHintForeground=e.editorActiveLinkForeground=e.editorHoverStatusBarBackground=e.editorHoverBorder=e.editorHoverForeground=e.editorHoverBackground=e.editorHoverHighlight=e.searchResultsInfoForeground=e.searchEditorFindMatchBorder=e.searchEditorFindMatch=e.editorFindRangeHighlightBorder=e.editorFindMatchHighlightBorder=e.editorFindMatchBorder=e.editorFindRangeHighlight=e.editorFindMatchHighlight=e.editorFindMatch=e.editorSelectionHighlightBorder=e.editorSelectionHighlight=e.editorInactiveSelection=e.editorSelectionForeground=e.editorSelectionBackground=e.keybindingLabelBottomBorder=e.keybindingLabelBorder=e.keybindingLabelForeground=e.keybindingLabelBackground=e.pickerGroupBorder=e.pickerGroupForeground=e.quickInputTitleBackground=e.quickInputForeground=e.quickInputBackground=e.editorWidgetResizeBorder=e.editorWidgetBorder=e.editorWidgetForeground=e.editorWidgetBackground=e.editorStickyScrollHoverBackground=e.editorStickyScrollBackground=e.editorForeground=e.editorBackground=e.sashHoverBorder=e.editorHintBorder=e.editorHintForeground=e.editorInfoBorder=e.editorInfoForeground=e.editorInfoBackground=e.editorWarningBorder=e.editorWarningForeground=e.editorWarningBackground=e.editorErrorBorder=e.editorErrorForeground=e.editorErrorBackground=e.progressBarBackground=e.scrollbarSliderActiveBackground=e.scrollbarSliderHoverBackground=e.scrollbarSliderBackground=e.scrollbarShadow=e.badgeForeground=e.badgeBackground=e.buttonSecondaryHoverBackground=e.buttonSecondaryBackground=e.buttonSecondaryForeground=e.buttonBorder=e.buttonHoverBackground=e.buttonBackground=e.buttonSeparator=e.buttonForeground=e.selectBorder=e.selectForeground=e.selectListBackground=e.selectBackground=e.inputValidationErrorBorder=e.inputValidationErrorForeground=e.inputValidationErrorBackground=e.inputValidationWarningBorder=e.inputValidationWarningForeground=e.inputValidationWarningBackground=e.inputValidationInfoBorder=e.inputValidationInfoForeground=e.inputValidationInfoBackground=e.inputPlaceholderForeground=e.inputActiveOptionForeground=e.inputActiveOptionBackground=e.inputActiveOptionHoverBackground=e.inputActiveOptionBorder=e.inputBorder=e.inputForeground=e.inputBackground=e.widgetBorder=e.widgetShadow=e.textCodeBlockBackground=e.textBlockQuoteBorder=e.textBlockQuoteBackground=e.textPreformatForeground=e.textLinkActiveForeground=e.textLinkForeground=e.textSeparatorForeground=e.selectionBackground=e.activeContrastBorder=e.contrastBorder=e.focusBorder=e.iconForeground=e.descriptionForeground=e.errorForeground=e.disabledForeground=e.foreground=e.registerColor=e.Extensions=e.asCssVariableWithDefault=e.asCssVariable=e.asCssVariableName=void 0;function g(P){return`--vscode-${P.replace(/\./g,"-")}`}e.asCssVariableName=g;function C(P){return`var(${g(P)})`}e.asCssVariable=C;function s(P,x){return`var(${g(P)}, ${x})`}e.asCssVariableWithDefault=s,e.Extensions={ColorContribution:"base.contributions.colors"};class i{constructor(){this._onDidChangeSchema=new y.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(x,T,A,N=!1,F){const O={id:x,description:A,defaults:T,needsTransparency:N,deprecationMessage:F};this.colorsById[x]=O;const W={type:"string",description:A,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return F&&(W.deprecationMessage=F),this.colorSchema.properties[x]=W,this.colorReferenceSchema.enum.push(x),this.colorReferenceSchema.enumDescriptions.push(A),this._onDidChangeSchema.fire(),x}getColors(){return Object.keys(this.colorsById).map(x=>this.colorsById[x])}resolveDefaultColor(x,T){const A=this.colorsById[x];if(A&&A.defaults){const N=A.defaults[T.type];return E(N,T)}}getColorSchema(){return this.colorSchema}toString(){const x=(T,A)=>{const N=T.indexOf(".")===-1?0:1,F=A.indexOf(".")===-1?0:1;return N!==F?N-F:T.localeCompare(A)};return Object.keys(this.colorsById).sort(x).map(T=>`- \`${T}\`: ${this.colorsById[T].description}`).join(` -`)}}const n=new i;_.Registry.add(e.Extensions.ColorContribution,n);function t(P,x,T,A,N){return n.registerColor(P,x,T,A,N)}e.registerColor=t,e.foreground=t("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(0,null)),e.disabledForeground=t("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.localize(1,null)),e.errorForeground=t("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(2,null)),e.descriptionForeground=t("descriptionForeground",{light:"#717171",dark:m(e.foreground,.7),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(3,null)),e.iconForeground=t("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(4,null)),e.focusBorder=t("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.localize(5,null)),e.contrastBorder=t("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.localize(6,null)),e.activeContrastBorder=t("contrastActiveBorder",{light:null,dark:null,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(7,null)),e.selectionBackground=t("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(8,null)),e.textSeparatorForeground=t("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:k.Color.black,hcLight:"#292929"},S.localize(9,null)),e.textLinkForeground=t("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(10,null)),e.textLinkActiveForeground=t("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(11,null)),e.textPreformatForeground=t("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},S.localize(12,null)),e.textBlockQuoteBackground=t("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},S.localize(13,null)),e.textBlockQuoteBorder=t("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:k.Color.white,hcLight:"#292929"},S.localize(14,null)),e.textCodeBlockBackground=t("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:k.Color.black,hcLight:"#F2F2F2"},S.localize(15,null)),e.widgetShadow=t("widget.shadow",{dark:m(k.Color.black,.36),light:m(k.Color.black,.16),hcDark:null,hcLight:null},S.localize(16,null)),e.widgetBorder=t("widget.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(17,null)),e.inputBackground=t("input.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(18,null)),e.inputForeground=t("input.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(19,null)),e.inputBorder=t("input.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(20,null)),e.inputActiveOptionBorder=t("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(21,null)),e.inputActiveOptionHoverBackground=t("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(22,null)),e.inputActiveOptionBackground=t("inputOption.activeBackground",{dark:m(e.focusBorder,.4),light:m(e.focusBorder,.2),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(23,null)),e.inputActiveOptionForeground=t("inputOption.activeForeground",{dark:k.Color.white,light:k.Color.black,hcDark:e.foreground,hcLight:e.foreground},S.localize(24,null)),e.inputPlaceholderForeground=t("input.placeholderForeground",{light:m(e.foreground,.5),dark:m(e.foreground,.5),hcDark:m(e.foreground,.7),hcLight:m(e.foreground,.7)},S.localize(25,null)),e.inputValidationInfoBackground=t("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(26,null)),e.inputValidationInfoForeground=t("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(27,null)),e.inputValidationInfoBorder=t("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(28,null)),e.inputValidationWarningBackground=t("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(29,null)),e.inputValidationWarningForeground=t("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(30,null)),e.inputValidationWarningBorder=t("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(31,null)),e.inputValidationErrorBackground=t("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(32,null)),e.inputValidationErrorForeground=t("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(33,null)),e.inputValidationErrorBorder=t("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(34,null)),e.selectBackground=t("dropdown.background",{dark:"#3C3C3C",light:k.Color.white,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(35,null)),e.selectListBackground=t("dropdown.listBackground",{dark:null,light:null,hcDark:k.Color.black,hcLight:k.Color.white},S.localize(36,null)),e.selectForeground=t("dropdown.foreground",{dark:"#F0F0F0",light:e.foreground,hcDark:k.Color.white,hcLight:e.foreground},S.localize(37,null)),e.selectBorder=t("dropdown.border",{dark:e.selectBackground,light:"#CECECE",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(38,null)),e.buttonForeground=t("button.foreground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:k.Color.white},S.localize(39,null)),e.buttonSeparator=t("button.separator",{dark:m(e.buttonForeground,.4),light:m(e.buttonForeground,.4),hcDark:m(e.buttonForeground,.4),hcLight:m(e.buttonForeground,.4)},S.localize(40,null)),e.buttonBackground=t("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.localize(41,null)),e.buttonHoverBackground=t("button.hoverBackground",{dark:p(e.buttonBackground,.2),light:l(e.buttonBackground,.2),hcDark:e.buttonBackground,hcLight:e.buttonBackground},S.localize(42,null)),e.buttonBorder=t("button.border",{dark:e.contrastBorder,light:e.contrastBorder,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(43,null)),e.buttonSecondaryForeground=t("button.secondaryForeground",{dark:k.Color.white,light:k.Color.white,hcDark:k.Color.white,hcLight:e.foreground},S.localize(44,null)),e.buttonSecondaryBackground=t("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:k.Color.white},S.localize(45,null)),e.buttonSecondaryHoverBackground=t("button.secondaryHoverBackground",{dark:p(e.buttonSecondaryBackground,.2),light:l(e.buttonSecondaryBackground,.2),hcDark:null,hcLight:null},S.localize(46,null)),e.badgeBackground=t("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:k.Color.black,hcLight:"#0F4A85"},S.localize(47,null)),e.badgeForeground=t("badge.foreground",{dark:k.Color.white,light:"#333",hcDark:k.Color.white,hcLight:k.Color.white},S.localize(48,null)),e.scrollbarShadow=t("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.localize(49,null)),e.scrollbarSliderBackground=t("scrollbarSlider.background",{dark:k.Color.fromHex("#797979").transparent(.4),light:k.Color.fromHex("#646464").transparent(.4),hcDark:m(e.contrastBorder,.6),hcLight:m(e.contrastBorder,.4)},S.localize(50,null)),e.scrollbarSliderHoverBackground=t("scrollbarSlider.hoverBackground",{dark:k.Color.fromHex("#646464").transparent(.7),light:k.Color.fromHex("#646464").transparent(.7),hcDark:m(e.contrastBorder,.8),hcLight:m(e.contrastBorder,.8)},S.localize(51,null)),e.scrollbarSliderActiveBackground=t("scrollbarSlider.activeBackground",{dark:k.Color.fromHex("#BFBFBF").transparent(.4),light:k.Color.fromHex("#000000").transparent(.6),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(52,null)),e.progressBarBackground=t("progressBar.background",{dark:k.Color.fromHex("#0E70C0"),light:k.Color.fromHex("#0E70C0"),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(53,null)),e.editorErrorBackground=t("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(54,null),!0),e.editorErrorForeground=t("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(55,null)),e.editorErrorBorder=t("editorError.border",{dark:null,light:null,hcDark:k.Color.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.localize(56,null)),e.editorWarningBackground=t("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(57,null),!0),e.editorWarningForeground=t("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.localize(58,null)),e.editorWarningBorder=t("editorWarning.border",{dark:null,light:null,hcDark:k.Color.fromHex("#FFCC00").transparent(.8),hcLight:k.Color.fromHex("#FFCC00").transparent(.8)},S.localize(59,null)),e.editorInfoBackground=t("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(60,null),!0),e.editorInfoForeground=t("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.localize(61,null)),e.editorInfoBorder=t("editorInfo.border",{dark:null,light:null,hcDark:k.Color.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.localize(62,null)),e.editorHintForeground=t("editorHint.foreground",{dark:k.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.localize(63,null)),e.editorHintBorder=t("editorHint.border",{dark:null,light:null,hcDark:k.Color.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.localize(64,null)),e.sashHoverBorder=t("sash.hoverBorder",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(65,null)),e.editorBackground=t("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:k.Color.black,hcLight:k.Color.white},S.localize(66,null)),e.editorForeground=t("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:k.Color.white,hcLight:e.foreground},S.localize(67,null)),e.editorStickyScrollBackground=t("editorStickyScroll.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(68,null)),e.editorStickyScrollHoverBackground=t("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(69,null)),e.editorWidgetBackground=t("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:k.Color.white},S.localize(70,null)),e.editorWidgetForeground=t("editorWidget.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(71,null)),e.editorWidgetBorder=t("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(72,null)),e.editorWidgetResizeBorder=t("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(73,null)),e.quickInputBackground=t("quickInput.background",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(74,null)),e.quickInputForeground=t("quickInput.foreground",{dark:e.editorWidgetForeground,light:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(75,null)),e.quickInputTitleBackground=t("quickInputTitle.background",{dark:new k.Color(new k.RGBA(255,255,255,.105)),light:new k.Color(new k.RGBA(0,0,0,.06)),hcDark:"#000000",hcLight:k.Color.white},S.localize(76,null)),e.pickerGroupForeground=t("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(77,null)),e.pickerGroupBorder=t("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:k.Color.white,hcLight:"#0F4A85"},S.localize(78,null)),e.keybindingLabelBackground=t("keybindingLabel.background",{dark:new k.Color(new k.RGBA(128,128,128,.17)),light:new k.Color(new k.RGBA(221,221,221,.4)),hcDark:k.Color.transparent,hcLight:k.Color.transparent},S.localize(79,null)),e.keybindingLabelForeground=t("keybindingLabel.foreground",{dark:k.Color.fromHex("#CCCCCC"),light:k.Color.fromHex("#555555"),hcDark:k.Color.white,hcLight:e.foreground},S.localize(80,null)),e.keybindingLabelBorder=t("keybindingLabel.border",{dark:new k.Color(new k.RGBA(51,51,51,.6)),light:new k.Color(new k.RGBA(204,204,204,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.contrastBorder},S.localize(81,null)),e.keybindingLabelBottomBorder=t("keybindingLabel.bottomBorder",{dark:new k.Color(new k.RGBA(68,68,68,.6)),light:new k.Color(new k.RGBA(187,187,187,.4)),hcDark:new k.Color(new k.RGBA(111,195,223)),hcLight:e.foreground},S.localize(82,null)),e.editorSelectionBackground=t("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.localize(83,null)),e.editorSelectionForeground=t("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:k.Color.white},S.localize(84,null)),e.editorInactiveSelection=t("editor.inactiveSelectionBackground",{light:m(e.editorSelectionBackground,.5),dark:m(e.editorSelectionBackground,.5),hcDark:m(e.editorSelectionBackground,.7),hcLight:m(e.editorSelectionBackground,.5)},S.localize(85,null),!0),e.editorSelectionHighlight=t("editor.selectionHighlightBackground",{light:w(e.editorSelectionBackground,e.editorBackground,.3,.6),dark:w(e.editorSelectionBackground,e.editorBackground,.3,.6),hcDark:null,hcLight:null},S.localize(86,null),!0),e.editorSelectionHighlightBorder=t("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(87,null)),e.editorFindMatch=t("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.localize(88,null)),e.editorFindMatchHighlight=t("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.localize(89,null),!0),e.editorFindRangeHighlight=t("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.localize(90,null),!0),e.editorFindMatchBorder=t("editor.findMatchBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(91,null)),e.editorFindMatchHighlightBorder=t("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(92,null)),e.editorFindRangeHighlightBorder=t("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:m(e.activeContrastBorder,.4),hcLight:m(e.activeContrastBorder,.4)},S.localize(93,null),!0),e.searchEditorFindMatch=t("searchEditor.findMatchBackground",{light:m(e.editorFindMatchHighlight,.66),dark:m(e.editorFindMatchHighlight,.66),hcDark:e.editorFindMatchHighlight,hcLight:e.editorFindMatchHighlight},S.localize(94,null)),e.searchEditorFindMatchBorder=t("searchEditor.findMatchBorder",{light:m(e.editorFindMatchHighlightBorder,.66),dark:m(e.editorFindMatchHighlightBorder,.66),hcDark:e.editorFindMatchHighlightBorder,hcLight:e.editorFindMatchHighlightBorder},S.localize(95,null)),e.searchResultsInfoForeground=t("search.resultsInfoForeground",{light:e.foreground,dark:m(e.foreground,.65),hcDark:e.foreground,hcLight:e.foreground},S.localize(96,null)),e.editorHoverHighlight=t("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.localize(97,null),!0),e.editorHoverBackground=t("editorHoverWidget.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(98,null)),e.editorHoverForeground=t("editorHoverWidget.foreground",{light:e.editorWidgetForeground,dark:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(99,null)),e.editorHoverBorder=t("editorHoverWidget.border",{light:e.editorWidgetBorder,dark:e.editorWidgetBorder,hcDark:e.editorWidgetBorder,hcLight:e.editorWidgetBorder},S.localize(100,null)),e.editorHoverStatusBarBackground=t("editorHoverWidget.statusBarBackground",{dark:p(e.editorHoverBackground,.2),light:l(e.editorHoverBackground,.05),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(101,null)),e.editorActiveLinkForeground=t("editorLink.activeForeground",{dark:"#4E94CE",light:k.Color.blue,hcDark:k.Color.cyan,hcLight:"#292929"},S.localize(102,null)),e.editorInlayHintForeground=t("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:k.Color.white,hcLight:k.Color.black},S.localize(103,null)),e.editorInlayHintBackground=t("editorInlayHint.background",{dark:m(e.badgeBackground,.1),light:m(e.badgeBackground,.1),hcDark:m(k.Color.white,.1),hcLight:m(e.badgeBackground,.1)},S.localize(104,null)),e.editorInlayHintTypeForeground=t("editorInlayHint.typeForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(105,null)),e.editorInlayHintTypeBackground=t("editorInlayHint.typeBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(106,null)),e.editorInlayHintParameterForeground=t("editorInlayHint.parameterForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(107,null)),e.editorInlayHintParameterBackground=t("editorInlayHint.parameterBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(108,null)),e.editorLightBulbForeground=t("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.localize(109,null)),e.editorLightBulbAutoFixForeground=t("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.localize(110,null)),e.defaultInsertColor=new k.Color(new k.RGBA(155,185,85,.2)),e.defaultRemoveColor=new k.Color(new k.RGBA(255,0,0,.2)),e.diffInserted=t("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.localize(111,null),!0),e.diffRemoved=t("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.localize(112,null),!0),e.diffInsertedLine=t("diffEditor.insertedLineBackground",{dark:e.defaultInsertColor,light:e.defaultInsertColor,hcDark:null,hcLight:null},S.localize(113,null),!0),e.diffRemovedLine=t("diffEditor.removedLineBackground",{dark:e.defaultRemoveColor,light:e.defaultRemoveColor,hcDark:null,hcLight:null},S.localize(114,null),!0),e.diffInsertedLineGutter=t("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(115,null)),e.diffRemovedLineGutter=t("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(116,null)),e.diffOverviewRulerInserted=t("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(117,null)),e.diffOverviewRulerRemoved=t("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(118,null)),e.diffInsertedOutline=t("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.localize(119,null)),e.diffRemovedOutline=t("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.localize(120,null)),e.diffBorder=t("diffEditor.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(121,null)),e.diffDiagonalFill=t("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.localize(122,null)),e.diffUnchangedRegionBackground=t("diffEditor.unchangedRegionBackground",{dark:"#3e3e3e",light:"#e4e4e4",hcDark:null,hcLight:null},S.localize(123,null)),e.diffUnchangedRegionForeground=t("diffEditor.unchangedRegionForeground",{dark:"#a3a2a2",light:"#4d4c4c",hcDark:null,hcLight:null},S.localize(124,null)),e.diffUnchangedTextBackground=t("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.localize(125,null)),e.listFocusBackground=t("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(126,null)),e.listFocusForeground=t("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(127,null)),e.listFocusOutline=t("list.focusOutline",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(128,null)),e.listFocusAndSelectionOutline=t("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(129,null)),e.listActiveSelectionBackground=t("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(130,null)),e.listActiveSelectionForeground=t("list.activeSelectionForeground",{dark:k.Color.white,light:k.Color.white,hcDark:null,hcLight:null},S.localize(131,null)),e.listActiveSelectionIconForeground=t("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(132,null)),e.listInactiveSelectionBackground=t("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(133,null)),e.listInactiveSelectionForeground=t("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(134,null)),e.listInactiveSelectionIconForeground=t("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(135,null)),e.listInactiveFocusBackground=t("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(136,null)),e.listInactiveFocusOutline=t("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(137,null)),e.listHoverBackground=t("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:k.Color.white.transparent(.1),hcLight:k.Color.fromHex("#0F4A85").transparent(.1)},S.localize(138,null)),e.listHoverForeground=t("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(139,null)),e.listDropBackground=t("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.localize(140,null)),e.listHighlightForeground=t("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(141,null)),e.listFocusHighlightForeground=t("list.focusHighlightForeground",{dark:e.listHighlightForeground,light:b(e.listActiveSelectionBackground,e.listHighlightForeground,"#BBE7FF"),hcDark:e.listHighlightForeground,hcLight:e.listHighlightForeground},S.localize(142,null)),e.listInvalidItemForeground=t("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.localize(143,null)),e.listErrorForeground=t("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.localize(144,null)),e.listWarningForeground=t("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.localize(145,null)),e.listFilterWidgetBackground=t("listFilterWidget.background",{light:l(e.editorWidgetBackground,0),dark:p(e.editorWidgetBackground,0),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(146,null)),e.listFilterWidgetOutline=t("listFilterWidget.outline",{dark:k.Color.transparent,light:k.Color.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.localize(147,null)),e.listFilterWidgetNoMatchesOutline=t("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(148,null)),e.listFilterWidgetShadow=t("listFilterWidget.shadow",{dark:e.widgetShadow,light:e.widgetShadow,hcDark:e.widgetShadow,hcLight:e.widgetShadow},S.localize(149,null)),e.listFilterMatchHighlight=t("list.filterMatchBackground",{dark:e.editorFindMatchHighlight,light:e.editorFindMatchHighlight,hcDark:null,hcLight:null},S.localize(150,null)),e.listFilterMatchHighlightBorder=t("list.filterMatchBorder",{dark:e.editorFindMatchHighlightBorder,light:e.editorFindMatchHighlightBorder,hcDark:e.contrastBorder,hcLight:e.activeContrastBorder},S.localize(151,null)),e.treeIndentGuidesStroke=t("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.localize(152,null)),e.treeInactiveIndentGuidesStroke=t("tree.inactiveIndentGuidesStroke",{dark:m(e.treeIndentGuidesStroke,.4),light:m(e.treeIndentGuidesStroke,.4),hcDark:m(e.treeIndentGuidesStroke,.4),hcLight:m(e.treeIndentGuidesStroke,.4)},S.localize(153,null)),e.tableColumnsBorder=t("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.localize(154,null)),e.tableOddRowsBackgroundColor=t("tree.tableOddRowsBackground",{dark:m(e.foreground,.04),light:m(e.foreground,.04),hcDark:null,hcLight:null},S.localize(155,null)),e.listDeemphasizedForeground=t("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.localize(156,null)),e.checkboxBackground=t("checkbox.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(157,null)),e.checkboxSelectBackground=t("checkbox.selectBackground",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(158,null)),e.checkboxForeground=t("checkbox.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(159,null)),e.checkboxBorder=t("checkbox.border",{dark:e.selectBorder,light:e.selectBorder,hcDark:e.selectBorder,hcLight:e.selectBorder},S.localize(160,null)),e.checkboxSelectBorder=t("checkbox.selectBorder",{dark:e.iconForeground,light:e.iconForeground,hcDark:e.iconForeground,hcLight:e.iconForeground},S.localize(161,null)),e._deprecatedQuickInputListFocusBackground=t("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.localize(162,null)),e.quickInputListFocusForeground=t("quickInputList.focusForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(163,null)),e.quickInputListFocusIconForeground=t("quickInputList.focusIconForeground",{dark:e.listActiveSelectionIconForeground,light:e.listActiveSelectionIconForeground,hcDark:e.listActiveSelectionIconForeground,hcLight:e.listActiveSelectionIconForeground},S.localize(164,null)),e.quickInputListFocusBackground=t("quickInputList.focusBackground",{dark:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),light:v(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),hcDark:null,hcLight:null},S.localize(165,null)),e.menuBorder=t("menu.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(166,null)),e.menuForeground=t("menu.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(167,null)),e.menuBackground=t("menu.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(168,null)),e.menuSelectionForeground=t("menu.selectionForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(169,null)),e.menuSelectionBackground=t("menu.selectionBackground",{dark:e.listActiveSelectionBackground,light:e.listActiveSelectionBackground,hcDark:e.listActiveSelectionBackground,hcLight:e.listActiveSelectionBackground},S.localize(170,null)),e.menuSelectionBorder=t("menu.selectionBorder",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(171,null)),e.menuSeparatorBackground=t("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(172,null)),e.toolbarHoverBackground=t("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(173,null)),e.toolbarHoverOutline=t("toolbar.hoverOutline",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(174,null)),e.toolbarActiveBackground=t("toolbar.activeBackground",{dark:p(e.toolbarHoverBackground,.1),light:l(e.toolbarHoverBackground,.1),hcDark:null,hcLight:null},S.localize(175,null)),e.snippetTabstopHighlightBackground=t("editor.snippetTabstopHighlightBackground",{dark:new k.Color(new k.RGBA(124,124,124,.3)),light:new k.Color(new k.RGBA(10,50,100,.2)),hcDark:new k.Color(new k.RGBA(124,124,124,.3)),hcLight:new k.Color(new k.RGBA(10,50,100,.2))},S.localize(176,null)),e.snippetTabstopHighlightBorder=t("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(177,null)),e.snippetFinalTabstopHighlightBackground=t("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(178,null)),e.snippetFinalTabstopHighlightBorder=t("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new k.Color(new k.RGBA(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.localize(179,null)),e.breadcrumbsForeground=t("breadcrumb.foreground",{light:m(e.foreground,.8),dark:m(e.foreground,.8),hcDark:m(e.foreground,.8),hcLight:m(e.foreground,.8)},S.localize(180,null)),e.breadcrumbsBackground=t("breadcrumb.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(181,null)),e.breadcrumbsFocusForeground=t("breadcrumb.focusForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(182,null)),e.breadcrumbsActiveSelectionForeground=t("breadcrumb.activeSelectionForeground",{light:l(e.foreground,.2),dark:p(e.foreground,.1),hcDark:p(e.foreground,.1),hcLight:p(e.foreground,.1)},S.localize(183,null)),e.breadcrumbsPickerBackground=t("breadcrumbPicker.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(184,null));const a=.5,u=k.Color.fromHex("#40C8AE").transparent(a),h=k.Color.fromHex("#40A6FF").transparent(a),r=k.Color.fromHex("#606060").transparent(.4),c=.4,o=1;e.mergeCurrentHeaderBackground=t("merge.currentHeaderBackground",{dark:u,light:u,hcDark:null,hcLight:null},S.localize(185,null),!0),e.mergeCurrentContentBackground=t("merge.currentContentBackground",{dark:m(e.mergeCurrentHeaderBackground,c),light:m(e.mergeCurrentHeaderBackground,c),hcDark:m(e.mergeCurrentHeaderBackground,c),hcLight:m(e.mergeCurrentHeaderBackground,c)},S.localize(186,null),!0),e.mergeIncomingHeaderBackground=t("merge.incomingHeaderBackground",{dark:h,light:h,hcDark:null,hcLight:null},S.localize(187,null),!0),e.mergeIncomingContentBackground=t("merge.incomingContentBackground",{dark:m(e.mergeIncomingHeaderBackground,c),light:m(e.mergeIncomingHeaderBackground,c),hcDark:m(e.mergeIncomingHeaderBackground,c),hcLight:m(e.mergeIncomingHeaderBackground,c)},S.localize(188,null),!0),e.mergeCommonHeaderBackground=t("merge.commonHeaderBackground",{dark:r,light:r,hcDark:null,hcLight:null},S.localize(189,null),!0),e.mergeCommonContentBackground=t("merge.commonContentBackground",{dark:m(e.mergeCommonHeaderBackground,c),light:m(e.mergeCommonHeaderBackground,c),hcDark:m(e.mergeCommonHeaderBackground,c),hcLight:m(e.mergeCommonHeaderBackground,c)},S.localize(190,null),!0),e.mergeBorder=t("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.localize(191,null)),e.overviewRulerCurrentContentForeground=t("editorOverviewRuler.currentContentForeground",{dark:m(e.mergeCurrentHeaderBackground,o),light:m(e.mergeCurrentHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(192,null)),e.overviewRulerIncomingContentForeground=t("editorOverviewRuler.incomingContentForeground",{dark:m(e.mergeIncomingHeaderBackground,o),light:m(e.mergeIncomingHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(193,null)),e.overviewRulerCommonContentForeground=t("editorOverviewRuler.commonContentForeground",{dark:m(e.mergeCommonHeaderBackground,o),light:m(e.mergeCommonHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(194,null)),e.overviewRulerFindMatchForeground=t("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.localize(195,null),!0),e.overviewRulerSelectionHighlightForeground=t("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.localize(196,null),!0),e.minimapFindMatch=t("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.localize(197,null),!0),e.minimapSelectionOccurrenceHighlight=t("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(198,null),!0),e.minimapSelection=t("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(199,null),!0),e.minimapError=t("minimap.errorHighlight",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},S.localize(200,null)),e.minimapWarning=t("minimap.warningHighlight",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningBorder,hcLight:e.editorWarningBorder},S.localize(201,null)),e.minimapBackground=t("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(202,null)),e.minimapForegroundOpacity=t("minimap.foregroundOpacity",{dark:k.Color.fromHex("#000f"),light:k.Color.fromHex("#000f"),hcDark:k.Color.fromHex("#000f"),hcLight:k.Color.fromHex("#000f")},S.localize(203,null)),e.minimapSliderBackground=t("minimapSlider.background",{light:m(e.scrollbarSliderBackground,.5),dark:m(e.scrollbarSliderBackground,.5),hcDark:m(e.scrollbarSliderBackground,.5),hcLight:m(e.scrollbarSliderBackground,.5)},S.localize(204,null)),e.minimapSliderHoverBackground=t("minimapSlider.hoverBackground",{light:m(e.scrollbarSliderHoverBackground,.5),dark:m(e.scrollbarSliderHoverBackground,.5),hcDark:m(e.scrollbarSliderHoverBackground,.5),hcLight:m(e.scrollbarSliderHoverBackground,.5)},S.localize(205,null)),e.minimapSliderActiveBackground=t("minimapSlider.activeBackground",{light:m(e.scrollbarSliderActiveBackground,.5),dark:m(e.scrollbarSliderActiveBackground,.5),hcDark:m(e.scrollbarSliderActiveBackground,.5),hcLight:m(e.scrollbarSliderActiveBackground,.5)},S.localize(206,null)),e.problemsErrorIconForeground=t("problemsErrorIcon.foreground",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(207,null)),e.problemsWarningIconForeground=t("problemsWarningIcon.foreground",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(208,null)),e.problemsInfoIconForeground=t("problemsInfoIcon.foreground",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(209,null)),e.chartsForeground=t("charts.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(210,null)),e.chartsLines=t("charts.lines",{dark:m(e.foreground,.5),light:m(e.foreground,.5),hcDark:m(e.foreground,.5),hcLight:m(e.foreground,.5)},S.localize(211,null)),e.chartsRed=t("charts.red",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(212,null)),e.chartsBlue=t("charts.blue",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(213,null)),e.chartsYellow=t("charts.yellow",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(214,null)),e.chartsOrange=t("charts.orange",{dark:e.minimapFindMatch,light:e.minimapFindMatch,hcDark:e.minimapFindMatch,hcLight:e.minimapFindMatch},S.localize(215,null)),e.chartsGreen=t("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.localize(216,null)),e.chartsPurple=t("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.localize(217,null));function d(P,x){var T,A,N,F;switch(P.op){case 0:return(T=E(P.value,x))===null||T===void 0?void 0:T.darken(P.factor);case 1:return(A=E(P.value,x))===null||A===void 0?void 0:A.lighten(P.factor);case 2:return(N=E(P.value,x))===null||N===void 0?void 0:N.transparent(P.factor);case 3:{const O=E(P.background,x);return O?(F=E(P.value,x))===null||F===void 0?void 0:F.makeOpaque(O):E(P.value,x)}case 4:for(const O of P.values){const W=E(O,x);if(W)return W}return;case 6:return E(x.defines(P.if)?P.then:P.else,x);case 5:{const O=E(P.value,x);if(!O)return;const W=E(P.background,x);return W?O.isDarkerThan(W)?k.Color.getLighterColor(O,W,P.factor).transparent(P.transparency):k.Color.getDarkerColor(O,W,P.factor).transparent(P.transparency):O.transparent(P.factor*P.transparency)}default:throw(0,D.assertNever)(P)}}e.executeTransform=d;function l(P,x){return{op:0,value:P,factor:x}}e.darken=l;function p(P,x){return{op:1,value:P,factor:x}}e.lighten=p;function m(P,x){return{op:2,value:P,factor:x}}e.transparent=m;function v(...P){return{op:4,values:P}}e.oneOf=v;function b(P,x,T){return{op:6,if:P,then:x,else:T}}e.ifDefinedThenElse=b;function w(P,x,T,A){return{op:5,value:P,background:x,factor:T,transparency:A}}function E(P,x){if(P!==null){if(typeof P=="string")return P[0]==="#"?k.Color.fromHex(P):x.getColor(P);if(P instanceof k.Color)return P;if(typeof P=="object")return d(P,x)}}e.resolveColorValue=E,e.workbenchColorsSchemaId="vscode://schemas/workbench-colors";const I=_.Registry.as(f.Extensions.JSONContribution);I.registerSchema(e.workbenchColorsSchemaId,n.getColorSchema());const M=new L.RunOnceScheduler(()=>I.notifySchemaChanged(e.workbenchColorsSchemaId),200);n.onDidChangeSchema(()=>{M.isScheduled()||M.schedule()})}),define(ne[159],se([1,0,7,152,60,13,2,31]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicCssRules=e.GlobalEditorPointerMoveMonitor=e.EditorPointerEventFactory=e.EditorMouseEventFactory=e.EditorMouseEvent=e.createCoordinatesRelativeToEditor=e.createEditorPagePosition=e.CoordinatesRelativeToEditor=e.EditorPagePosition=e.ClientCoordinates=e.PageCoordinates=void 0;class _{constructor(l,p){this.x=l,this.y=p,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new g(this.x-window.scrollX,this.y-window.scrollY)}}e.PageCoordinates=_;class g{constructor(l,p){this.clientX=l,this.clientY=p,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new _(this.clientX+window.scrollX,this.clientY+window.scrollY)}}e.ClientCoordinates=g;class C{constructor(l,p,m,v){this.x=l,this.y=p,this.width=m,this.height=v,this._editorPagePositionBrand=void 0}}e.EditorPagePosition=C;class s{constructor(l,p){this.x=l,this.y=p,this._positionRelativeToEditorBrand=void 0}}e.CoordinatesRelativeToEditor=s;function i(d){const l=L.getDomNodePagePosition(d);return new C(l.left,l.top,l.width,l.height)}e.createEditorPagePosition=i;function n(d,l,p){const m=l.width/d.offsetWidth,v=l.height/d.offsetHeight,b=(p.x-l.x)/m,w=(p.y-l.y)/v;return new s(b,w)}e.createCoordinatesRelativeToEditor=n;class t extends y.StandardMouseEvent{constructor(l,p,m){super(l),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=p,this.pos=new _(this.posx,this.posy),this.editorPos=i(m),this.relativePos=n(m,this.editorPos,this.pos)}}e.EditorMouseEvent=t;class a{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onContextMenu(l,p){return L.addDisposableListener(l,"contextmenu",m=>{p(this._create(m))})}onMouseUp(l,p){return L.addDisposableListener(l,"mouseup",m=>{p(this._create(m))})}onMouseDown(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_DOWN,m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onMouseLeave(l,p){return L.addDisposableListener(l,L.EventType.MOUSE_LEAVE,m=>{p(this._create(m))})}onMouseMove(l,p){return L.addDisposableListener(l,"mousemove",m=>p(this._create(m)))}}e.EditorMouseEventFactory=a;class u{constructor(l){this._editorViewDomNode=l}_create(l){return new t(l,!1,this._editorViewDomNode)}onPointerUp(l,p){return L.addDisposableListener(l,"pointerup",m=>{p(this._create(m))})}onPointerDown(l,p){return L.addDisposableListener(l,L.EventType.POINTER_DOWN,m=>{p(this._create(m),m.pointerId)})}onPointerLeave(l,p){return L.addDisposableListener(l,L.EventType.POINTER_LEAVE,m=>{p(this._create(m))})}onPointerMove(l,p){return L.addDisposableListener(l,"pointermove",m=>p(this._create(m)))}}e.EditorPointerEventFactory=u;class h extends S.Disposable{constructor(l){super(),this._editorViewDomNode=l,this._globalPointerMoveMonitor=this._register(new k.GlobalPointerMoveMonitor),this._keydownListener=null}startMonitoring(l,p,m,v,b){this._keydownListener=L.addStandardDisposableListener(document,"keydown",w=>{w.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,w.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(l,p,m,w=>{v(new t(w,!0,this._editorViewDomNode))},w=>{this._keydownListener.dispose(),b(w)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}e.GlobalEditorPointerMoveMonitor=h;class r{constructor(l){this._editor=l,this._instanceId=++r._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new D.RunOnceScheduler(()=>this.garbageCollect(),1e3)}createClassNameRef(l){const p=this.getOrCreateRule(l);return p.increaseRefCount(),{className:p.className,dispose:()=>{p.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(l){const p=this.computeUniqueKey(l);let m=this._rules.get(p);if(!m){const v=this._counter++;m=new c(p,`dyn-rule-${this._instanceId}-${v}`,L.isInShadowDOM(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,l),this._rules.set(p,m)}return m}computeUniqueKey(l){return JSON.stringify(l)}garbageCollect(){for(const l of this._rules.values())l.hasReferences()||(this._rules.delete(l.key),l.dispose())}}e.DynamicCssRules=r,r._idPool=0;class c{constructor(l,p,m,v){this.key=l,this.className=p,this.properties=v,this._referenceCount=0,this._styleElement=L.createStyleSheet(m),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(l,p){let m=`.${l} {`;for(const v in p){const b=p[v];let w;typeof b=="object"?w=(0,f.asCssVariable)(b.id):w=b;const E=o(v);m+=` - ${E}: ${w};`}return m+=` -}`,m}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function o(d){return d.replace(/(^[A-Z])/,([l])=>l.toLowerCase()).replace(/([A-Z])/g,([l])=>`-${l.toLowerCase()}`)}}),define(ne[821],se([1,0,7,35,152,2,17,11,229,53,36,5,274,328,67,31,24,61,481,48,99,425]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Minimap=void 0;const d=140,l=2;class p{constructor(T,A,N){const F=T.options,O=F.get(140),W=F.get(142),U=W.minimap,j=F.get(49),R=F.get(71);this.renderMinimap=U.renderMinimap,this.size=R.size,this.minimapHeightIsEditorHeight=U.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=F.get(103),this.paddingTop=F.get(82).top,this.paddingBottom=F.get(82).bottom,this.showSlider=R.showSlider,this.autohide=R.autohide,this.pixelRatio=O,this.typicalHalfwidthCharacterWidth=j.typicalHalfwidthCharacterWidth,this.lineHeight=F.get(65),this.minimapLeft=U.minimapLeft,this.minimapWidth=U.minimapWidth,this.minimapHeight=W.height,this.canvasInnerWidth=U.minimapCanvasInnerWidth,this.canvasInnerHeight=U.minimapCanvasInnerHeight,this.canvasOuterWidth=U.minimapCanvasOuterWidth,this.canvasOuterHeight=U.minimapCanvasOuterHeight,this.isSampling=U.minimapIsSampling,this.editorHeight=W.height,this.fontScale=U.minimapScale,this.minimapLineHeight=U.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=(0,o.once)(()=>r.MinimapCharRendererFactory.create(this.fontScale,j.fontFamily)),this.defaultBackgroundColor=N.getColor(2),this.backgroundColor=p._getMinimapBackground(A,this.defaultBackgroundColor),this.foregroundAlpha=p._getMinimapForegroundOpacity(A)}static _getMinimapBackground(T,A){const N=T.getColor(a.minimapBackground);return N?new i.RGBA8(N.rgba.r,N.rgba.g,N.rgba.b,Math.round(255*N.rgba.a)):A}static _getMinimapForegroundOpacity(T){const A=T.getColor(a.minimapForegroundOpacity);return A?i.RGBA8._clamp(Math.round(255*A.rgba.a)):255}equals(T){return this.renderMinimap===T.renderMinimap&&this.size===T.size&&this.minimapHeightIsEditorHeight===T.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===T.scrollBeyondLastLine&&this.paddingTop===T.paddingTop&&this.paddingBottom===T.paddingBottom&&this.showSlider===T.showSlider&&this.autohide===T.autohide&&this.pixelRatio===T.pixelRatio&&this.typicalHalfwidthCharacterWidth===T.typicalHalfwidthCharacterWidth&&this.lineHeight===T.lineHeight&&this.minimapLeft===T.minimapLeft&&this.minimapWidth===T.minimapWidth&&this.minimapHeight===T.minimapHeight&&this.canvasInnerWidth===T.canvasInnerWidth&&this.canvasInnerHeight===T.canvasInnerHeight&&this.canvasOuterWidth===T.canvasOuterWidth&&this.canvasOuterHeight===T.canvasOuterHeight&&this.isSampling===T.isSampling&&this.editorHeight===T.editorHeight&&this.fontScale===T.fontScale&&this.minimapLineHeight===T.minimapLineHeight&&this.minimapCharWidth===T.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(T.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(T.backgroundColor)&&this.foregroundAlpha===T.foregroundAlpha}}class m{constructor(T,A,N,F,O,W,U,j,R){this.scrollTop=T,this.scrollHeight=A,this.sliderNeeded=N,this._computedSliderRatio=F,this.sliderTop=O,this.sliderHeight=W,this.topPaddingLineCount=U,this.startLineNumber=j,this.endLineNumber=R}getDesiredScrollTopFromDelta(T){return Math.round(this.scrollTop+T/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(T){return Math.round((T-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(T){const A=Math.max(this.startLineNumber,T.startLineNumber),N=Math.min(this.endLineNumber,T.endLineNumber);return A>N?null:[A,N]}getYForLineNumber(T,A){return+(T-this.startLineNumber+this.topPaddingLineCount)*A}static create(T,A,N,F,O,W,U,j,R,K,G){const Z=T.pixelRatio,J=T.minimapLineHeight,X=Math.floor(T.canvasInnerHeight/J),H=T.lineHeight;if(T.minimapHeightIsEditorHeight){let de=j*T.lineHeight+T.paddingTop+T.paddingBottom;T.scrollBeyondLastLine&&(de+=Math.max(0,O-T.lineHeight-T.paddingBottom));const he=Math.max(1,Math.floor(O*O/de)),ue=Math.max(0,T.minimapHeight-he),te=ue/(K-O),q=R*te,z=ue>0,ee=Math.floor(T.canvasInnerHeight/T.minimapLineHeight),$=Math.floor(T.paddingTop/T.lineHeight);return new m(R,K,z,te,q,he,$,1,Math.min(U,ee))}let B;if(W&&N!==U){const de=N-A+1;B=Math.floor(de*J/Z)}else{const de=O/H;B=Math.floor(de*J/Z)}const V=Math.floor(T.paddingTop/H);let Y=Math.floor(T.paddingBottom/H);if(T.scrollBeyondLastLine){const de=O/H;Y=Math.max(Y,de-1)}let ie;if(Y>0){const de=O/H;ie=(V+U+Y-de-1)*J/Z}else ie=Math.max(0,(V+U)*J/Z-B);ie=Math.min(T.minimapHeight-B,ie);const ae=ie/(K-O),ce=R*ae;if(X>=V+U+Y){const de=ie>0;return new m(R,K,de,ae,ce,B,V,1,U)}else{let de;A>1?de=A+V:de=Math.max(1,R/H);let he,ue=Math.max(1,Math.floor(de-ce*Z/J));ueR&&(ue=Math.min(ue,G.startLineNumber),he=Math.max(he,G.topPaddingLineCount)),G.scrollTop=T.paddingTop?z=(A-ue+he+q)*J/Z:z=R/T.paddingTop*(he+q)*J/Z,new m(R,K,!0,ae,z,B,he,ue,te)}}}class v{constructor(T){this.dy=T}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}v.INVALID=new v(-1);class b{constructor(T,A,N){this.renderedLayout=T,this._imageData=A,this._renderedLines=new _.RenderedLinesCollection(()=>v.INVALID),this._renderedLines._set(T.startLineNumber,N)}linesEquals(T){if(!this.scrollEquals(T))return!1;const N=this._renderedLines._get().lines;for(let F=0,O=N.length;F1){for(let V=0,Y=F-1;V0&&this.minimapLines[N-1]>=T;)N--;let F=this.modelLineToMinimapLine(A)-1;for(;F+1A)return null}return[N+1,F+1]}decorationLineRangeToMinimapLineRange(T,A){let N=this.modelLineToMinimapLine(T),F=this.modelLineToMinimapLine(A);return T!==A&&F===N&&(F===this.minimapLines.length?N>1&&N--:F++),[N,F]}onLinesDeleted(T){const A=T.toLineNumber-T.fromLineNumber+1;let N=this.minimapLines.length,F=0;for(let O=this.minimapLines.length-1;O>=0&&!(this.minimapLines[O]=0&&!(this.minimapLines[N]0,scrollWidth:T.scrollWidth,scrollHeight:T.scrollHeight,viewportStartLineNumber:A,viewportEndLineNumber:N,viewportStartLineNumberVerticalOffset:T.getVerticalOffsetForLineNumber(A),scrollTop:T.scrollTop,scrollLeft:T.scrollLeft,viewportWidth:T.viewportWidth,viewportHeight:T.viewportHeight};this._actual.render(F)}_recreateLineSampling(){this._minimapSelections=null;const T=!!this._samplingState,[A,N]=E.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=A,T&&this._samplingState)for(const F of N)switch(F.type){case"deleted":this._actual.onLinesDeleted(F.deleteFromLineNumber,F.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(F.insertFromLineNumber,F.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(T){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineContent(T)}getLineMaxColumn(T){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineMaxColumn(T)}getMinimapLinesRenderingData(T,A,N){if(this._samplingState){const F=[];for(let O=0,W=A-T+1;O{if(N.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!=="proportional"){if(N.button===0&&this._lastRenderData){const R=L.getDomNodePagePosition(this._slider.domNode),K=R.top+R.height/2;this._startSliderDragging(N,K,this._lastRenderData.renderedLayout)}return}const O=this._model.options.minimapLineHeight,W=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*N.offsetY;let j=Math.floor(W/O)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;j=Math.min(j,this._model.getLineCount()),this._model.revealLineNumber(j)}),this._sliderPointerMoveMonitor=new y.GlobalPointerMoveMonitor,this._sliderPointerDownListener=L.addStandardDisposableListener(this._slider.domNode,L.EventType.POINTER_DOWN,N=>{N.preventDefault(),N.stopPropagation(),N.button===0&&this._lastRenderData&&this._startSliderDragging(N,N.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=h.Gesture.addTarget(this._domNode.domNode),this._sliderTouchStartListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Start,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(N))},{passive:!1}),this._sliderTouchMoveListener=L.addDisposableListener(this._domNode.domNode,h.EventType.Change,N=>{N.preventDefault(),N.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(N)},{passive:!1}),this._sliderTouchEndListener=L.addStandardDisposableListener(this._domNode.domNode,h.EventType.End,N=>{N.preventDefault(),N.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(T,A,N){if(!T.target||!(T.target instanceof Element))return;const F=T.pageX;this._slider.toggleClassName("active",!0);const O=(W,U)=>{const j=L.getDomNodePagePosition(this._domNode.domNode),R=Math.min(Math.abs(U-F),Math.abs(U-j.left),Math.abs(U-j.left-j.width));if(S.isWindows&&R>d){this._model.setScrollTop(N.scrollTop);return}const K=W-A;this._model.setScrollTop(N.getDesiredScrollTopFromDelta(K))};T.pageY!==A&&O(T.pageY,F),this._sliderPointerMoveMonitor.startMonitoring(T.target,T.pointerId,T.buttons,W=>O(W.pageY,W.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(T){const A=this._domNode.domNode.getBoundingClientRect().top,N=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(T.pageY-A);this._model.setScrollTop(N)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){const T=["minimap"];return this._model.options.showSlider==="always"?T.push("slider-always"):T.push("slider-mouseover"),this._model.options.autohide&&T.push("autohide"),T.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new w(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(T,A){return this._lastRenderData?this._lastRenderData.onLinesChanged(T,A):!1}onLinesDeleted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesDeleted(T,A),!0}onLinesInserted(T,A){var N;return(N=this._lastRenderData)===null||N===void 0||N.onLinesInserted(T,A),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(a.minimapSelection),this._renderDecorations=!0,!0}onTokensChanged(T){return this._lastRenderData?this._lastRenderData.onTokensChanged(T):!1}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(T){if(this._model.options.renderMinimap===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}T.scrollLeft+T.viewportWidth>=T.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const N=m.create(this._model.options,T.viewportStartLineNumber,T.viewportEndLineNumber,T.viewportStartLineNumberVerticalOffset,T.viewportHeight,T.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),T.scrollTop,T.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(N.sliderNeeded?"block":"none"),this._slider.setTop(N.sliderTop),this._slider.setHeight(N.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(N.sliderHeight),this.renderDecorations(N),this._lastRenderData=this.renderLines(N)}renderDecorations(T){if(this._renderDecorations){this._renderDecorations=!1;const A=this._model.getSelections();A.sort(s.Range.compareRangesUsingStarts);const N=this._model.getMinimapDecorationsInViewport(T.startLineNumber,T.endLineNumber);N.sort((Z,J)=>(Z.options.zIndex||0)-(J.options.zIndex||0));const{canvasInnerWidth:F,canvasInnerHeight:O}=this._model.options,W=this._model.options.minimapLineHeight,U=this._model.options.minimapCharWidth,j=this._model.getOptions().tabSize,R=this._decorationsCanvas.domNode.getContext("2d");R.clearRect(0,0,F,O);const K=new P(T.startLineNumber,T.endLineNumber,!1);this._renderSelectionLineHighlights(R,A,K,T,W),this._renderDecorationsLineHighlights(R,N,K,T,W);const G=new P(T.startLineNumber,T.endLineNumber,null);this._renderSelectionsHighlights(R,A,G,T,W,j,U,F),this._renderDecorationsHighlights(R,N,G,T,W,j,U,F)}}_renderSelectionLineHighlights(T,A,N,F,O){if(!this._selectionColor||this._selectionColor.isTransparent())return;T.fillStyle=this._selectionColor.transparent(.5).toString();let W=0,U=0;for(const j of A){const R=F.intersectWithViewport(j);if(!R)continue;const[K,G]=R;for(let X=K;X<=G;X++)N.set(X,!0);const Z=F.getYForLineNumber(K,O),J=F.getYForLineNumber(G,O);U>=Z||(U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W),W=Z),U=J}U>W&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,W,T.canvas.width,U-W)}_renderDecorationsLineHighlights(T,A,N,F,O){const W=new Map;for(let U=A.length-1;U>=0;U--){const j=A[U],R=j.options.minimap;if(!R||R.position!==c.MinimapPosition.Inline)continue;const K=F.intersectWithViewport(j.range);if(!K)continue;const[G,Z]=K,J=R.getColor(this._theme.value);if(!J||J.isTransparent())continue;let X=W.get(J.toString());X||(X=J.transparent(.5).toString(),W.set(J.toString(),X)),T.fillStyle=X;for(let H=G;H<=Z;H++){if(N.has(H))continue;N.set(H,!0);const B=F.getYForLineNumber(G,O);T.fillRect(C.MINIMAP_GUTTER_WIDTH,B,T.canvas.width,O)}}}_renderSelectionsHighlights(T,A,N,F,O,W,U,j){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const R of A){const K=F.intersectWithViewport(R);if(!K)continue;const[G,Z]=K;for(let J=G;J<=Z;J++)this.renderDecorationOnLine(T,N,R,this._selectionColor,F,J,O,O,W,U,j)}}_renderDecorationsHighlights(T,A,N,F,O,W,U,j){for(const R of A){const K=R.options.minimap;if(!K)continue;const G=F.intersectWithViewport(R.range);if(!G)continue;const[Z,J]=G,X=K.getColor(this._theme.value);if(!(!X||X.isTransparent()))for(let H=Z;H<=J;H++)switch(K.position){case c.MinimapPosition.Inline:this.renderDecorationOnLine(T,N,R.range,X,F,H,O,O,W,U,j);continue;case c.MinimapPosition.Gutter:{const B=F.getYForLineNumber(H,O),V=2;this.renderDecoration(T,X,V,B,l,O);continue}}}}renderDecorationOnLine(T,A,N,F,O,W,U,j,R,K,G){const Z=O.getYForLineNumber(W,j);if(Z+U<0||Z>this._model.options.canvasInnerHeight)return;const{startLineNumber:J,endLineNumber:X}=N,H=J===W?N.startColumn:1,B=X===W?N.endColumn:this._model.getLineMaxColumn(W),V=this.getXOffsetForPosition(A,W,H,R,K,G),Y=this.getXOffsetForPosition(A,W,B,R,K,G);this.renderDecoration(T,F,V,Z,Y-V,U)}getXOffsetForPosition(T,A,N,F,O,W){if(N===1)return C.MINIMAP_GUTTER_WIDTH;if((N-1)*O>=W)return W;let j=T.get(A);if(!j){const R=this._model.getLineContent(A);j=[C.MINIMAP_GUTTER_WIDTH];let K=C.MINIMAP_GUTTER_WIDTH;for(let G=1;G=W){j[G]=W;break}j[G]=X,K=X}T.set(A,j)}return N-1ce?Math.floor((F-ce)/2):0,he=Z.a/255,ue=new i.RGBA8(Math.round((Z.r-G.r)*he+G.r),Math.round((Z.g-G.g)*he+G.g),Math.round((Z.b-G.b)*he+G.b),255);let te=T.topPaddingLineCount*F;const q=[];for(let oe=0,ge=N-A+1;oe=0&&zY)return;const ee=B.charCodeAt(ce);if(ee===9){const $=Z-(ce+de)%Z;de+=$-1,ae+=$*W}else if(ee===32)ae+=W;else{const $=f.isFullWidthCharacter(ee)?2:1;for(let re=0;re<$;re++)if(O===2?R.blockRenderChar(T,ae,K+G,z,j,A,N,ie):R.renderChar(T,ae,K+G,ee,z,j,A,N,X,F,ie),ae+=W,ae>Y)return}}}}}class P{constructor(T,A,N){this._startLineNumber=T,this._endLineNumber=A,this._defaultValue=N,this._values=[];for(let F=0,O=this._endLineNumber-this._startLineNumber+1;Fthis._endLineNumber||(this._values[T-this._startLineNumber]=A)}get(T){return Tthis._endLineNumber?this._defaultValue:this._values[T-this._startLineNumber]}}}),define(ne[822],se([1,0,608,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffMoveBorderActive=e.diffMoveBorder=void 0,e.diffMoveBorder=(0,k.registerColor)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,L.localize)(0,null)),e.diffMoveBorderActive=(0,k.registerColor)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,L.localize)(1,null))}),define(ne[249],se([1,0,706,31,463]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOL_ICON_VARIABLE_FOREGROUND=e.SYMBOL_ICON_UNIT_FOREGROUND=e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=e.SYMBOL_ICON_TEXT_FOREGROUND=e.SYMBOL_ICON_STRUCT_FOREGROUND=e.SYMBOL_ICON_STRING_FOREGROUND=e.SYMBOL_ICON_SNIPPET_FOREGROUND=e.SYMBOL_ICON_REFERENCE_FOREGROUND=e.SYMBOL_ICON_PROPERTY_FOREGROUND=e.SYMBOL_ICON_PACKAGE_FOREGROUND=e.SYMBOL_ICON_OPERATOR_FOREGROUND=e.SYMBOL_ICON_OBJECT_FOREGROUND=e.SYMBOL_ICON_NUMBER_FOREGROUND=e.SYMBOL_ICON_NULL_FOREGROUND=e.SYMBOL_ICON_NAMESPACE_FOREGROUND=e.SYMBOL_ICON_MODULE_FOREGROUND=e.SYMBOL_ICON_METHOD_FOREGROUND=e.SYMBOL_ICON_KEYWORD_FOREGROUND=e.SYMBOL_ICON_KEY_FOREGROUND=e.SYMBOL_ICON_INTERFACE_FOREGROUND=e.SYMBOL_ICON_FUNCTION_FOREGROUND=e.SYMBOL_ICON_FOLDER_FOREGROUND=e.SYMBOL_ICON_FILE_FOREGROUND=e.SYMBOL_ICON_FIELD_FOREGROUND=e.SYMBOL_ICON_EVENT_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=e.SYMBOL_ICON_CONSTANT_FOREGROUND=e.SYMBOL_ICON_COLOR_FOREGROUND=e.SYMBOL_ICON_CLASS_FOREGROUND=e.SYMBOL_ICON_BOOLEAN_FOREGROUND=e.SYMBOL_ICON_ARRAY_FOREGROUND=void 0,e.SYMBOL_ICON_ARRAY_FOREGROUND=(0,k.registerColor)("symbolIcon.arrayForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(0,null)),e.SYMBOL_ICON_BOOLEAN_FOREGROUND=(0,k.registerColor)("symbolIcon.booleanForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(1,null)),e.SYMBOL_ICON_CLASS_FOREGROUND=(0,k.registerColor)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(2,null)),e.SYMBOL_ICON_COLOR_FOREGROUND=(0,k.registerColor)("symbolIcon.colorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(3,null)),e.SYMBOL_ICON_CONSTANT_FOREGROUND=(0,k.registerColor)("symbolIcon.constantForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(4,null)),e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=(0,k.registerColor)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(5,null)),e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(6,null)),e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(7,null)),e.SYMBOL_ICON_EVENT_FOREGROUND=(0,k.registerColor)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(8,null)),e.SYMBOL_ICON_FIELD_FOREGROUND=(0,k.registerColor)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(9,null)),e.SYMBOL_ICON_FILE_FOREGROUND=(0,k.registerColor)("symbolIcon.fileForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(10,null)),e.SYMBOL_ICON_FOLDER_FOREGROUND=(0,k.registerColor)("symbolIcon.folderForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(11,null)),e.SYMBOL_ICON_FUNCTION_FOREGROUND=(0,k.registerColor)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(12,null)),e.SYMBOL_ICON_INTERFACE_FOREGROUND=(0,k.registerColor)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(13,null)),e.SYMBOL_ICON_KEY_FOREGROUND=(0,k.registerColor)("symbolIcon.keyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(14,null)),e.SYMBOL_ICON_KEYWORD_FOREGROUND=(0,k.registerColor)("symbolIcon.keywordForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(15,null)),e.SYMBOL_ICON_METHOD_FOREGROUND=(0,k.registerColor)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(16,null)),e.SYMBOL_ICON_MODULE_FOREGROUND=(0,k.registerColor)("symbolIcon.moduleForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(17,null)),e.SYMBOL_ICON_NAMESPACE_FOREGROUND=(0,k.registerColor)("symbolIcon.namespaceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(18,null)),e.SYMBOL_ICON_NULL_FOREGROUND=(0,k.registerColor)("symbolIcon.nullForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(19,null)),e.SYMBOL_ICON_NUMBER_FOREGROUND=(0,k.registerColor)("symbolIcon.numberForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(20,null)),e.SYMBOL_ICON_OBJECT_FOREGROUND=(0,k.registerColor)("symbolIcon.objectForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(21,null)),e.SYMBOL_ICON_OPERATOR_FOREGROUND=(0,k.registerColor)("symbolIcon.operatorForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(22,null)),e.SYMBOL_ICON_PACKAGE_FOREGROUND=(0,k.registerColor)("symbolIcon.packageForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(23,null)),e.SYMBOL_ICON_PROPERTY_FOREGROUND=(0,k.registerColor)("symbolIcon.propertyForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(24,null)),e.SYMBOL_ICON_REFERENCE_FOREGROUND=(0,k.registerColor)("symbolIcon.referenceForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(25,null)),e.SYMBOL_ICON_SNIPPET_FOREGROUND=(0,k.registerColor)("symbolIcon.snippetForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(26,null)),e.SYMBOL_ICON_STRING_FOREGROUND=(0,k.registerColor)("symbolIcon.stringForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(27,null)),e.SYMBOL_ICON_STRUCT_FOREGROUND=(0,k.registerColor)("symbolIcon.structForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(28,null)),e.SYMBOL_ICON_TEXT_FOREGROUND=(0,k.registerColor)("symbolIcon.textForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(29,null)),e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=(0,k.registerColor)("symbolIcon.typeParameterForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(30,null)),e.SYMBOL_ICON_UNIT_FOREGROUND=(0,k.registerColor)("symbolIcon.unitForeground",{dark:k.foreground,light:k.foreground,hcDark:k.foreground,hcLight:k.foreground},(0,L.localize)(31,null)),e.SYMBOL_ICON_VARIABLE_FOREGROUND=(0,k.registerColor)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(32,null))}),define(ne[823],se([1,0,25,113,641,172,249]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMenuItems=void 0;const D=Object.freeze({kind:k.CodeActionKind.Empty,title:(0,y.localize)(0,null)}),S=Object.freeze([{kind:k.CodeActionKind.QuickFix,title:(0,y.localize)(1,null)},{kind:k.CodeActionKind.RefactorExtract,title:(0,y.localize)(2,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorInline,title:(0,y.localize)(3,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorRewrite,title:(0,y.localize)(4,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.RefactorMove,title:(0,y.localize)(5,null),icon:L.Codicon.wrench},{kind:k.CodeActionKind.SurroundWith,title:(0,y.localize)(6,null),icon:L.Codicon.symbolSnippet},{kind:k.CodeActionKind.Source,title:(0,y.localize)(7,null),icon:L.Codicon.symbolFile},D]);function f(_,g,C){if(!g)return _.map(n=>({kind:"action",item:n,group:D,disabled:!!n.action.disabled,label:n.action.disabled||n.action.title}));const s=S.map(n=>({group:n,actions:[]}));for(const n of _){const t=n.action.kind?new k.CodeActionKind(n.action.kind):k.CodeActionKind.None;for(const a of s)if(a.group.kind.contains(t)){a.actions.push(n);break}}const i=[];for(const n of s)if(n.actions.length){i.push({kind:"header",group:n.group});for(const t of n.actions)i.push({kind:"action",item:t,group:n.group,label:t.action.title,disabled:!!t.action.disabled,keybinding:C(t.action)})}return i}e.toMenuItems=f}),define(ne[105],se([1,0,31,38]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultMenuStyles=e.defaultSelectBoxStyles=e.getListStyles=e.defaultListStyles=e.defaultBreadcrumbsWidgetStyles=e.defaultCountBadgeStyles=e.defaultFindWidgetStyles=e.defaultInputBoxStyles=e.defaultDialogStyles=e.defaultCheckboxStyles=e.defaultToggleStyles=e.defaultProgressBarStyles=e.defaultButtonStyles=e.defaultKeybindingLabelStyles=void 0;function y(S,f){const _=Object.assign({},f);for(const g in S){const C=S[g];_[g]=C!==void 0?(0,L.asCssVariable)(C):void 0}return _}e.defaultKeybindingLabelStyles={keybindingLabelBackground:(0,L.asCssVariable)(L.keybindingLabelBackground),keybindingLabelForeground:(0,L.asCssVariable)(L.keybindingLabelForeground),keybindingLabelBorder:(0,L.asCssVariable)(L.keybindingLabelBorder),keybindingLabelBottomBorder:(0,L.asCssVariable)(L.keybindingLabelBottomBorder),keybindingLabelShadow:(0,L.asCssVariable)(L.widgetShadow)},e.defaultButtonStyles={buttonForeground:(0,L.asCssVariable)(L.buttonForeground),buttonSeparator:(0,L.asCssVariable)(L.buttonSeparator),buttonBackground:(0,L.asCssVariable)(L.buttonBackground),buttonHoverBackground:(0,L.asCssVariable)(L.buttonHoverBackground),buttonSecondaryForeground:(0,L.asCssVariable)(L.buttonSecondaryForeground),buttonSecondaryBackground:(0,L.asCssVariable)(L.buttonSecondaryBackground),buttonSecondaryHoverBackground:(0,L.asCssVariable)(L.buttonSecondaryHoverBackground),buttonBorder:(0,L.asCssVariable)(L.buttonBorder)},e.defaultProgressBarStyles={progressBarBackground:(0,L.asCssVariable)(L.progressBarBackground)},e.defaultToggleStyles={inputActiveOptionBorder:(0,L.asCssVariable)(L.inputActiveOptionBorder),inputActiveOptionForeground:(0,L.asCssVariable)(L.inputActiveOptionForeground),inputActiveOptionBackground:(0,L.asCssVariable)(L.inputActiveOptionBackground)},e.defaultCheckboxStyles={checkboxBackground:(0,L.asCssVariable)(L.checkboxBackground),checkboxBorder:(0,L.asCssVariable)(L.checkboxBorder),checkboxForeground:(0,L.asCssVariable)(L.checkboxForeground)},e.defaultDialogStyles={dialogBackground:(0,L.asCssVariable)(L.editorWidgetBackground),dialogForeground:(0,L.asCssVariable)(L.editorWidgetForeground),dialogShadow:(0,L.asCssVariable)(L.widgetShadow),dialogBorder:(0,L.asCssVariable)(L.contrastBorder),errorIconForeground:(0,L.asCssVariable)(L.problemsErrorIconForeground),warningIconForeground:(0,L.asCssVariable)(L.problemsWarningIconForeground),infoIconForeground:(0,L.asCssVariable)(L.problemsInfoIconForeground),textLinkForeground:(0,L.asCssVariable)(L.textLinkForeground)},e.defaultInputBoxStyles={inputBackground:(0,L.asCssVariable)(L.inputBackground),inputForeground:(0,L.asCssVariable)(L.inputForeground),inputBorder:(0,L.asCssVariable)(L.inputBorder),inputValidationInfoBorder:(0,L.asCssVariable)(L.inputValidationInfoBorder),inputValidationInfoBackground:(0,L.asCssVariable)(L.inputValidationInfoBackground),inputValidationInfoForeground:(0,L.asCssVariable)(L.inputValidationInfoForeground),inputValidationWarningBorder:(0,L.asCssVariable)(L.inputValidationWarningBorder),inputValidationWarningBackground:(0,L.asCssVariable)(L.inputValidationWarningBackground),inputValidationWarningForeground:(0,L.asCssVariable)(L.inputValidationWarningForeground),inputValidationErrorBorder:(0,L.asCssVariable)(L.inputValidationErrorBorder),inputValidationErrorBackground:(0,L.asCssVariable)(L.inputValidationErrorBackground),inputValidationErrorForeground:(0,L.asCssVariable)(L.inputValidationErrorForeground)},e.defaultFindWidgetStyles={listFilterWidgetBackground:(0,L.asCssVariable)(L.listFilterWidgetBackground),listFilterWidgetOutline:(0,L.asCssVariable)(L.listFilterWidgetOutline),listFilterWidgetNoMatchesOutline:(0,L.asCssVariable)(L.listFilterWidgetNoMatchesOutline),listFilterWidgetShadow:(0,L.asCssVariable)(L.listFilterWidgetShadow),inputBoxStyles:e.defaultInputBoxStyles,toggleStyles:e.defaultToggleStyles},e.defaultCountBadgeStyles={badgeBackground:(0,L.asCssVariable)(L.badgeBackground),badgeForeground:(0,L.asCssVariable)(L.badgeForeground),badgeBorder:(0,L.asCssVariable)(L.contrastBorder)},e.defaultBreadcrumbsWidgetStyles={breadcrumbsBackground:(0,L.asCssVariable)(L.breadcrumbsBackground),breadcrumbsForeground:(0,L.asCssVariable)(L.breadcrumbsForeground),breadcrumbsHoverForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusAndSelectionForeground:(0,L.asCssVariable)(L.breadcrumbsActiveSelectionForeground)},e.defaultListStyles={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,L.asCssVariable)(L.listFocusBackground),listFocusForeground:(0,L.asCssVariable)(L.listFocusForeground),listFocusOutline:(0,L.asCssVariable)(L.listFocusOutline),listActiveSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listActiveSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listActiveSelectionIconForeground:(0,L.asCssVariable)(L.listActiveSelectionIconForeground),listFocusAndSelectionOutline:(0,L.asCssVariable)(L.listFocusAndSelectionOutline),listFocusAndSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listFocusAndSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listInactiveSelectionBackground:(0,L.asCssVariable)(L.listInactiveSelectionBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.listInactiveSelectionIconForeground),listInactiveSelectionForeground:(0,L.asCssVariable)(L.listInactiveSelectionForeground),listInactiveFocusBackground:(0,L.asCssVariable)(L.listInactiveFocusBackground),listInactiveFocusOutline:(0,L.asCssVariable)(L.listInactiveFocusOutline),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listDropBackground:(0,L.asCssVariable)(L.listDropBackground),listSelectionOutline:(0,L.asCssVariable)(L.activeContrastBorder),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),treeIndentGuidesStroke:(0,L.asCssVariable)(L.treeIndentGuidesStroke),treeInactiveIndentGuidesStroke:(0,L.asCssVariable)(L.treeInactiveIndentGuidesStroke),tableColumnsBorder:(0,L.asCssVariable)(L.tableColumnsBorder),tableOddRowsBackgroundColor:(0,L.asCssVariable)(L.tableOddRowsBackgroundColor)};function D(S){return y(S,e.defaultListStyles)}e.getListStyles=D,e.defaultSelectBoxStyles={selectBackground:(0,L.asCssVariable)(L.selectBackground),selectListBackground:(0,L.asCssVariable)(L.selectListBackground),selectForeground:(0,L.asCssVariable)(L.selectForeground),decoratorRightForeground:(0,L.asCssVariable)(L.pickerGroupForeground),selectBorder:(0,L.asCssVariable)(L.selectBorder),focusBorder:(0,L.asCssVariable)(L.focusBorder),listFocusBackground:(0,L.asCssVariable)(L.quickInputListFocusBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.quickInputListFocusIconForeground),listFocusForeground:(0,L.asCssVariable)(L.quickInputListFocusForeground),listFocusOutline:(0,L.asCssVariableWithDefault)(L.activeContrastBorder,k.Color.transparent.toString()),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),selectListBorder:(0,L.asCssVariable)(L.editorWidgetBorder),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0},e.defaultMenuStyles={shadowColor:(0,L.asCssVariable)(L.widgetShadow),borderColor:(0,L.asCssVariable)(L.menuBorder),foregroundColor:(0,L.asCssVariable)(L.menuForeground),backgroundColor:(0,L.asCssVariable)(L.menuBackground),selectionForegroundColor:(0,L.asCssVariable)(L.menuSelectionForeground),selectionBackgroundColor:(0,L.asCssVariable)(L.menuSelectionBackground),selectionBorderColor:(0,L.asCssVariable)(L.menuSelectionBorder),separatorColor:(0,L.asCssVariable)(L.menuSeparatorBackground),scrollbarShadow:(0,L.asCssVariable)(L.scrollbarShadow),scrollbarSliderBackground:(0,L.asCssVariable)(L.scrollbarSliderBackground),scrollbarSliderHoverBackground:(0,L.asCssVariable)(L.scrollbarSliderHoverBackground),scrollbarSliderActiveBackground:(0,L.asCssVariable)(L.scrollbarSliderActiveBackground)}}),define(ne[824],se([1,0,7,307,308,226,72,2,45,69,667,8,34,158,105,155]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityProvider=e.OneReferenceRenderer=e.FileReferencesRenderer=e.IdentityProvider=e.StringRepresentationProvider=e.Delegate=e.DataSource=void 0;let h=class{constructor(w){this._resolverService=w}hasChildren(w){return w instanceof a.ReferencesModel||w instanceof a.FileReferences}getChildren(w){if(w instanceof a.ReferencesModel)return w.groups;if(w instanceof a.FileReferences)return w.resolve(this._resolverService).then(E=>E.children);throw new Error("bad tree")}};e.DataSource=h,e.DataSource=h=ke([fe(0,g.ITextModelService)],h);class r{getHeight(){return 23}getTemplateId(w){return w instanceof a.FileReferences?l.id:m.id}}e.Delegate=r;let c=class{constructor(w){this._keybindingService=w}getKeyboardNavigationLabel(w){var E;if(w instanceof a.OneReference){const I=(E=w.parent.getPreview(w))===null||E===void 0?void 0:E.preview(w.range);if(I)return I.value}return(0,_.basename)(w.uri)}};e.StringRepresentationProvider=c,e.StringRepresentationProvider=c=ke([fe(0,i.IKeybindingService)],c);class o{getId(w){return w instanceof a.OneReference?w.id:w.uri}}e.IdentityProvider=o;let d=class extends f.Disposable{constructor(w,E){super(),this._labelService=E;const I=document.createElement("div");I.classList.add("reference-file"),this.file=this._register(new D.IconLabel(I,{supportHighlights:!0})),this.badge=new k.CountBadge(L.append(I,L.$(".count")),{},t.defaultCountBadgeStyles),w.appendChild(I)}set(w,E){const I=(0,_.dirname)(w.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(w.uri),this._labelService.getUriLabel(I,{relative:!0}),{title:this._labelService.getUriLabel(w.uri),matches:E});const M=w.children.length;this.badge.setCount(M),M>1?this.badge.setTitleFormat((0,C.localize)(0,null,M)):this.badge.setTitleFormat((0,C.localize)(1,null,M))}};d=ke([fe(1,n.ILabelService)],d);let l=u=class{constructor(w){this._instantiationService=w,this.templateId=u.id}renderTemplate(w){return this._instantiationService.createInstance(d,w)}renderElement(w,E,I){I.set(w.element,(0,S.createMatches)(w.filterData))}disposeTemplate(w){w.dispose()}};e.FileReferencesRenderer=l,l.id="FileReferencesRenderer",e.FileReferencesRenderer=l=u=ke([fe(0,s.IInstantiationService)],l);class p{constructor(w){this.label=new y.HighlightedLabel(w)}set(w,E){var I;const M=(I=w.parent.getPreview(w))===null||I===void 0?void 0:I.preview(w.range);if(!M||!M.value)this.label.set(`${(0,_.basename)(w.uri)}:${w.range.startLineNumber+1}:${w.range.startColumn+1}`);else{const{value:P,highlight:x}=M;E&&!S.FuzzyScore.isDefault(E)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(P,(0,S.createMatches)(E))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(P,[x]))}}}class m{constructor(){this.templateId=m.id}renderTemplate(w){return new p(w)}renderElement(w,E,I){I.set(w.element,w.filterData)}disposeTemplate(){}}e.OneReferenceRenderer=m,m.id="OneReferenceRenderer";class v{getWidgetAriaLabel(){return(0,C.localize)(2,null)}getAriaLabel(w){return w.ariaMessage}}e.AccessibilityProvider=v}),define(ne[825],se([1,0,7,222,114,25,2,17,26,715,57,34,105,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionList=e.previewSelectedActionCommand=e.acceptSelectedActionCommand=void 0,e.acceptSelectedActionCommand="acceptSelectedCodeAction",e.previewSelectedActionCommand="previewSelectedCodeAction";class t{get templateId(){return"header"}renderTemplate(l){l.classList.add("group-header");const p=document.createElement("span");return l.append(p),{container:l,text:p}}renderElement(l,p,m){var v,b;m.text.textContent=(b=(v=l.group)===null||v===void 0?void 0:v.title)!==null&&b!==void 0?b:""}disposeTemplate(l){}}let a=class{get templateId(){return"action"}constructor(l,p){this._supportsPreview=l,this._keybindingService=p}renderTemplate(l){l.classList.add(this.templateId);const p=document.createElement("div");p.className="icon",l.append(p);const m=document.createElement("span");m.className="title",l.append(m);const v=new k.KeybindingLabel(l,f.OS);return{container:l,icon:p,text:m,keybinding:v}}renderElement(l,p,m){var v,b,w;if(!((v=l.group)===null||v===void 0)&&v.icon?(m.icon.className=_.ThemeIcon.asClassName(l.group.icon),l.group.icon.color&&(m.icon.style.color=(0,n.asCssVariable)(l.group.icon.color.id))):(m.icon.className=_.ThemeIcon.asClassName(D.Codicon.lightBulb),m.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!l.item||!l.label)return;m.text.textContent=o(l.label),m.keybinding.set(l.keybinding),L.setVisibility(!!l.keybinding,m.keybinding.element);const E=(b=this._keybindingService.lookupKeybinding(e.acceptSelectedActionCommand))===null||b===void 0?void 0:b.getLabel(),I=(w=this._keybindingService.lookupKeybinding(e.previewSelectedActionCommand))===null||w===void 0?void 0:w.getLabel();m.container.classList.toggle("option-disabled",l.disabled),l.disabled?m.container.title=l.label:E&&I?this._supportsPreview?m.container.title=(0,g.localize)(0,null,E,I):m.container.title=(0,g.localize)(1,null,E):m.container.title=""}disposeTemplate(l){}};a=ke([fe(1,s.IKeybindingService)],a);class u extends UIEvent{constructor(){super("acceptSelectedAction")}}class h extends UIEvent{constructor(){super("previewSelectedAction")}}function r(d){if(d.kind==="action")return d.label}let c=class extends S.Disposable{constructor(l,p,m,v,b,w){super(),this._delegate=v,this._contextViewService=b,this._keybindingService=w,this._actionLineHeight=24,this._headerLineHeight=26,this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const E={getHeight:I=>I.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:I=>I.kind};this._list=this._register(new y.List(l,this.domNode,E,[new a(p,this._keybindingService),new t],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:r},accessibilityProvider:{getAriaLabel:I=>{if(I.kind==="action"){let M=I.label?o(I?.label):"";return I.disabled&&(M=(0,g.localize)(2,null,M,I.disabled)),M}return null},getWidgetAriaLabel:()=>(0,g.localize)(3,null),getRole:I=>I.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(i.defaultListStyles),this._register(this._list.onMouseClick(I=>this.onListClick(I))),this._register(this._list.onMouseOver(I=>this.onListHover(I))),this._register(this._list.onDidChangeFocus(()=>this._list.domFocus())),this._register(this._list.onDidChangeSelection(I=>this.onListSelection(I))),this._allMenuItems=m,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(l){return!l.disabled&&l.kind==="action"}hide(l){this._delegate.onHide(l),this._contextViewService.hideContextView()}layout(l){const p=this._allMenuItems.filter(M=>M.kind==="header").length,v=this._allMenuItems.length*this._actionLineHeight+p*this._headerLineHeight-p*this._actionLineHeight;this._list.layout(v);const b=this._allMenuItems.map((M,P)=>{const x=document.getElementById(this._list.getElementID(P));if(x){x.style.width="auto";const T=x.getBoundingClientRect().width;return x.style.width="",T}return 0}),w=Math.max(...b,l),E=.7,I=Math.min(v,document.body.clientHeight*E);return this._list.layout(I,w),this.domNode.style.height=`${I}px`,this._list.domFocus(),w}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(l){const p=this._list.getFocus();if(p.length===0)return;const m=p[0],v=this._list.element(m);if(!this.focusCondition(v))return;const b=l?new h:new u;this._list.setSelection([m],b)}onListSelection(l){if(!l.elements.length)return;const p=l.elements[0];p.item&&this.focusCondition(p)?this._delegate.onSelect(p.item,l.browserEvent instanceof h):this._list.setSelection([])}onListHover(l){this._list.setFocus(typeof l.index=="number"?[l.index]:[])}onListClick(l){l.element&&this.focusCondition(l.element)&&this._list.setFocus([])}};e.ActionList=c,e.ActionList=c=ke([fe(4,C.IContextViewService),fe(5,s.IKeybindingService)],c);function o(d){return d.replace(/\r\n|\r|\n/g," ")}}),define(ne[826],se([1,0,7,68,2,716,825,30,15,57,50,8,31,269]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IActionWidgetService=void 0,(0,i.registerColor)("actionBar.toggledBackground",{dark:i.inputActiveOptionBackground,light:i.inputActiveOptionBackground,hcDark:i.inputActiveOptionBackground,hcLight:i.inputActiveOptionBackground},(0,D.localize)(0,null));const n={Visible:new _.RawContextKey("codeActionMenuVisible",!1,(0,D.localize)(1,null))};e.IActionWidgetService=(0,s.createDecorator)("actionWidgetService");let t=class extends y.Disposable{get isVisible(){return n.Visible.getValue(this._contextKeyService)||!1}constructor(h,r,c){super(),this._contextViewService=h,this._contextKeyService=r,this._instantiationService=c,this._list=this._register(new y.MutableDisposable)}show(h,r,c,o,d,l,p){const m=n.Visible.bindTo(this._contextKeyService),v=this._instantiationService.createInstance(S.ActionList,h,r,c,o);this._contextViewService.showContextView({getAnchor:()=>d,render:b=>(m.set(!0),this._renderWidget(b,v,p??[])),onHide:b=>{m.reset(),this._onWidgetClosed(b)}},l,!1)}acceptSelected(h){var r;(r=this._list.value)===null||r===void 0||r.acceptSelected(h)}focusPrevious(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusPrevious()}focusNext(){var h,r;(r=(h=this._list)===null||h===void 0?void 0:h.value)===null||r===void 0||r.focusNext()}hide(){var h;(h=this._list.value)===null||h===void 0||h.hide(),this._list.clear()}_renderWidget(h,r,c){var o;const d=document.createElement("div");if(d.classList.add("action-widget"),h.appendChild(d),this._list.value=r,this._list.value)d.appendChild(this._list.value.domNode);else throw new Error("List has no value");const l=new y.DisposableStore,p=document.createElement("div"),m=h.appendChild(p);m.classList.add("context-view-block"),l.add(L.addDisposableListener(m,L.EventType.MOUSE_DOWN,M=>M.stopPropagation()));const v=document.createElement("div"),b=h.appendChild(v);b.classList.add("context-view-pointerBlock"),l.add(L.addDisposableListener(b,L.EventType.POINTER_MOVE,()=>b.remove())),l.add(L.addDisposableListener(b,L.EventType.MOUSE_DOWN,()=>b.remove()));let w=0;if(c.length){const M=this._createActionBar(".action-widget-action-bar",c);M&&(d.appendChild(M.getContainer().parentElement),l.add(M),w=M.getContainer().offsetWidth)}const E=(o=this._list.value)===null||o===void 0?void 0:o.layout(w);d.style.width=`${E}px`;const I=l.add(L.trackFocus(h));return l.add(I.onDidBlur(()=>this.hide())),l}_createActionBar(h,r){if(!r.length)return;const c=L.$(h),o=new k.ActionBar(c);return o.push(r,{icon:!1,label:!0}),o}_onWidgetClosed(h){var r;(r=this._list.value)===null||r===void 0||r.hide(h)}};t=ke([fe(0,g.IContextViewService),fe(1,_.IContextKeyService),fe(2,s.IInstantiationService)],t),(0,C.registerSingleton)(e.IActionWidgetService,t,1);const a=100+1e3;(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"hideCodeActionWidget",title:{value:(0,D.localize)(2,null),original:"Hide action widget"},precondition:n.Visible,keybinding:{weight:a,primary:9,secondary:[1033]}})}run(u){u.get(e.IActionWidgetService).hide()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectPrevCodeAction",title:{value:(0,D.localize)(3,null),original:"Select previous action"},precondition:n.Visible,keybinding:{weight:a,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusPrevious()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:"selectNextCodeAction",title:{value:(0,D.localize)(4,null),original:"Select next action"},precondition:n.Visible,keybinding:{weight:a,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.focusNext()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.acceptSelectedActionCommand,title:{value:(0,D.localize)(5,null),original:"Accept selected action"},precondition:n.Visible,keybinding:{weight:a,primary:3,secondary:[2137]}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected()}}),(0,f.registerAction2)(class extends f.Action2{constructor(){super({id:S.previewSelectedActionCommand,title:{value:(0,D.localize)(6,null),original:"Preview selected action"},precondition:n.Visible,keybinding:{weight:a,primary:2051}})}run(u){const h=u.get(e.IActionWidgetService);h instanceof t&&h.acceptSelected(!0)}})}),define(ne[250],se([1,0,7,9,100,2,12,18,137,801,823,350,190,640,826,27,28,15,8,97,77,113,349]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionController=void 0;let m=p=class extends D.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A,N){super(),this._commandService=x,this._configurationService=T,this._actionWidgetService=A,this._instantiationService=N,this._activeCodeActions=this._register(new D.MutableDisposable),this._showDisabled=!1,this._disposed=!1,this._editor=b,this._model=this._register(new l.CodeActionModel(this._editor,M.codeActionProvider,w,E,P)),this._register(this._model.onDidChangeState(F=>this.update(F))),this._lightBulbWidget=new y.Lazy(()=>{const F=this._editor.getContribution(s.LightBulbWidget.ID);return F&&this._register(F.onClick(O=>this.showCodeActionList(O.actions,O,{includeDisabledActions:!1,fromLightbulb:!0}))),F}),this._resolver=I.createInstance(g.CodeActionKeybindingResolver),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}showCodeActions(b,w,E){return this.showCodeActionList(w,E,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(b,w,E,I){var M;if(!this._editor.hasModel())return;(M=i.MessageController.get(this._editor))===null||M===void 0||M.closeMessage();const P=this._editor.getPosition();this._trigger({type:1,triggerAction:w,filter:E,autoApply:I,context:{notAvailableMessage:b,position:P}})}_trigger(b){return this._model.trigger(b)}_applyCodeAction(b,w,E){return we(this,void 0,void 0,function*(){try{yield this._instantiationService.invokeFunction(_.applyCodeAction,b,_.ApplyCodeActionReason.FromCodeActions,{preview:E,editor:this._editor})}finally{w&&this._trigger({type:2,triggerAction:d.CodeActionTriggerSource.QuickFix,filter:{}})}})}update(b){var w,E,I,M,P,x,T;return we(this,void 0,void 0,function*(){if(b.type!==1){(w=this._lightBulbWidget.rawValue)===null||w===void 0||w.hide();return}let A;try{A=yield b.actions}catch(N){(0,k.onUnexpectedError)(N);return}if(!this._disposed)if((E=this._lightBulbWidget.value)===null||E===void 0||E.update(A,b.trigger,b.position),b.trigger.type===1){if(!((I=b.trigger.filter)===null||I===void 0)&&I.include){const F=this.tryGetValidActionToApply(b.trigger,A);if(F){try{(M=this._lightBulbWidget.value)===null||M===void 0||M.hide(),yield this._applyCodeAction(F,!1,!1)}finally{A.dispose()}return}if(b.trigger.context){const O=this.getInvalidActionThatWouldHaveBeenApplied(b.trigger,A);if(O&&O.action.disabled){(P=i.MessageController.get(this._editor))===null||P===void 0||P.showMessage(O.action.disabled,b.trigger.context.position),A.dispose();return}}}const N=!!(!((x=b.trigger.filter)===null||x===void 0)&&x.include);if(b.trigger.context&&(!A.allActions.length||!N&&!A.validActions.length)){(T=i.MessageController.get(this._editor))===null||T===void 0||T.showMessage(b.trigger.context.notAvailableMessage,b.trigger.context.position),this._activeCodeActions.value=A,A.dispose();return}this._activeCodeActions.value=A,this.showCodeActionList(A,this.toCoords(b.position),{includeDisabledActions:N,fromLightbulb:!1})}else this._actionWidgetService.isVisible?A.dispose():this._activeCodeActions.value=A})}getInvalidActionThatWouldHaveBeenApplied(b,w){if(w.allActions.length&&(b.autoApply==="first"&&w.validActions.length===0||b.autoApply==="ifSingle"&&w.allActions.length===1))return w.allActions.find(({action:E})=>E.disabled)}tryGetValidActionToApply(b,w){if(w.validActions.length&&(b.autoApply==="first"&&w.validActions.length>0||b.autoApply==="ifSingle"&&w.validActions.length===1))return w.validActions[0]}showCodeActionList(b,w,E){return we(this,void 0,void 0,function*(){const I=this._editor.getDomNode();if(!I)return;const M=E.includeDisabledActions&&(this._showDisabled||b.validActions.length===0)?b.allActions:b.validActions;if(!M.length)return;const P=S.Position.isIPosition(w)?this.toCoords(w):w,x={onSelect:(T,A)=>we(this,void 0,void 0,function*(){this._applyCodeAction(T,!0,!!A),this._actionWidgetService.hide()}),onHide:()=>{var T;(T=this._editor)===null||T===void 0||T.focus()}};this._actionWidgetService.show("codeActionWidget",!0,(0,C.toMenuItems)(M,this._shouldShowHeaders(),this._resolver.getResolver()),x,P,I,this._getActionBarActions(b,w,E))})}toCoords(b){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(b,1),this._editor.render();const w=this._editor.getScrolledVisiblePosition(b),E=(0,L.getDomNodePagePosition)(this._editor.getDomNode()),I=E.left+w.left,M=E.top+w.top+w.height;return{x:I,y:M}}_shouldShowHeaders(){var b;const w=(b=this._editor)===null||b===void 0?void 0:b.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:w?.uri})}_getActionBarActions(b,w,E){if(E.fromLightbulb)return[];const I=b.documentation.map(M=>{var P;return{id:M.id,label:M.title,tooltip:(P=M.tooltip)!==null&&P!==void 0?P:"",class:void 0,enabled:!0,run:()=>{var x;return this._commandService.executeCommand(M.id,...(x=M.arguments)!==null&&x!==void 0?x:[])}}});return E.includeDisabledActions&&b.validActions.length>0&&b.allActions.length!==b.validActions.length&&I.push(this._showDisabled?{id:"hideMoreActions",label:(0,n.localize)(0,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(b,w,E))}:{id:"showMoreActions",label:(0,n.localize)(1,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(b,w,E))}),I}};e.CodeActionController=m,m.ID="editor.contrib.codeActionController",e.CodeActionController=m=p=ke([fe(1,c.IMarkerService),fe(2,h.IContextKeyService),fe(3,r.IInstantiationService),fe(4,f.ILanguageFeaturesService),fe(5,o.IEditorProgressService),fe(6,a.ICommandService),fe(7,u.IConfigurationService),fe(8,t.IActionWidgetService),fe(9,r.IInstantiationService)],m)}),define(ne[827],se([1,0,11,16,21,137,638,15,113,250,349]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoFixAction=e.FixAllAction=e.OrganizeImportsAction=e.SourceAction=e.RefactorAction=e.CodeActionCommand=e.QuickFixAction=void 0;function s(d){return f.ContextKeyExpr.regex(C.SUPPORTED_CODE_ACTIONS.keys()[0],new RegExp("(\\s|^)"+(0,L.escapeRegExpCharacters)(d.value)+"\\b"))}const i={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:S.localize(0,null)},apply:{type:"string",description:S.localize(1,null),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[S.localize(2,null),S.localize(3,null),S.localize(4,null)]},preferred:{type:"boolean",default:!1,description:S.localize(5,null)}}};function n(d,l,p,m,v=_.CodeActionTriggerSource.Default){if(d.hasModel()){const b=g.CodeActionController.get(d);b?.manualTriggerAtCurrentPosition(l,v,p,m)}}class t extends k.EditorAction{constructor(){super({id:D.quickFixCommandId,label:S.localize(6,null),alias:"Quick Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2137,weight:100}})}run(l,p){return n(p,S.localize(7,null),void 0,void 0,_.CodeActionTriggerSource.QuickFix)}}e.QuickFixAction=t;class a extends k.EditorCommand{constructor(){super({id:D.codeActionCommandId,precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:i}]}})}runEditorCommand(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Empty,apply:"ifSingle"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(8,null,m.kind):S.localize(9,null,m.kind):v.preferred?S.localize(10,null):S.localize(11,null),{include:v.kind,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply)}}e.CodeActionCommand=a;class u extends k.EditorAction{constructor(){super({id:D.refactorCommandId,label:S.localize(12,null),alias:"Refactor...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Refactor,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(13,null,m.kind):S.localize(14,null,m.kind):v.preferred?S.localize(15,null):S.localize(16,null),{include:_.CodeActionKind.Refactor.contains(v.kind)?v.kind:_.CodeActionKind.None,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.Refactor)}}e.RefactorAction=u;class h extends k.EditorAction{constructor(){super({id:D.sourceActionCommandId,label:S.localize(17,null),alias:"Source Action...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Source))},description:{description:"Source Action...",args:[{name:"args",schema:i}]}})}run(l,p,m){const v=_.CodeActionCommandArgs.fromUser(m,{kind:_.CodeActionKind.Source,apply:"never"});return n(p,typeof m?.kind=="string"?v.preferred?S.localize(18,null,m.kind):S.localize(19,null,m.kind):v.preferred?S.localize(20,null):S.localize(21,null),{include:_.CodeActionKind.Source.contains(v.kind)?v.kind:_.CodeActionKind.None,includeSourceActions:!0,onlyIncludePreferredActions:v.preferred},v.apply,_.CodeActionTriggerSource.SourceAction)}}e.SourceAction=h;class r extends k.EditorAction{constructor(){super({id:D.organizeImportsCommandId,label:S.localize(22,null),alias:"Organize Imports",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceOrganizeImports)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1581,weight:100}})}run(l,p){return n(p,S.localize(23,null),{include:_.CodeActionKind.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.OrganizeImports)}}e.OrganizeImportsAction=r;class c extends k.EditorAction{constructor(){super({id:D.fixAllCommandId,label:S.localize(24,null),alias:"Fix All",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceFixAll))})}run(l,p){return n(p,S.localize(25,null),{include:_.CodeActionKind.SourceFixAll,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.FixAll)}}e.FixAllAction=c;class o extends k.EditorAction{constructor(){super({id:D.autoFixCommandId,label:S.localize(26,null),alias:"Auto Fix...",precondition:f.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.QuickFix)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(l,p){return n(p,S.localize(27,null),{include:_.CodeActionKind.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",_.CodeActionTriggerSource.AutoFix)}}e.AutoFixAction=o}),define(ne[828],se([1,0,16,241,827,250,350,639,98,37]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(D.CodeActionController.ID,D.CodeActionController,3),(0,L.registerEditorContribution)(S.LightBulbWidget.ID,S.LightBulbWidget,4),(0,L.registerEditorAction)(y.QuickFixAction),(0,L.registerEditorAction)(y.RefactorAction),(0,L.registerEditorAction)(y.SourceAction),(0,L.registerEditorAction)(y.OrganizeImportsAction),(0,L.registerEditorAction)(y.AutoFixAction),(0,L.registerEditorAction)(y.FixAllAction),(0,L.registerEditorCommand)(new y.CodeActionCommand),g.Registry.as(_.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:f.localize(0,null),default:!0}}}))}),define(ne[829],se([1,0,7,60,583,39,9,2,105]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuHandler=void 0;class g{constructor(s,i,n,t){this.contextViewService=s,this.telemetryService=i,this.notificationService=n,this.keybindingService=t,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(s){this.options=s}showContextMenu(s){const i=s.getActions();if(!i.length)return;this.focusToReturn=document.activeElement;let n;const t=(0,L.isHTMLElement)(s.domForShadowRoot)?s.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>s.getAnchor(),canRelayout:!1,anchorAlignment:s.anchorAlignment,anchorAxisAlignment:s.anchorAxisAlignment,render:a=>{var u;this.lastContainer=a;const h=s.getMenuClassName?s.getMenuClassName():"";h&&(a.className+=" "+h),this.options.blockMouse&&(this.block=a.appendChild((0,L.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(u=this.blockDisposable)===null||u===void 0||u.dispose(),this.blockDisposable=(0,L.addDisposableListener)(this.block,L.EventType.MOUSE_DOWN,o=>o.stopPropagation()));const r=new f.DisposableStore,c=s.actionRunner||new D.ActionRunner;return c.onWillRun(o=>this.onActionRun(o,!s.skipTelemetry),this,r),c.onDidRun(this.onDidActionRun,this,r),n=new y.Menu(a,i,{actionViewItemProvider:s.getActionViewItem,context:s.getActionsContext?s.getActionsContext():null,actionRunner:c,getKeyBinding:s.getKeyBinding?s.getKeyBinding:o=>this.keybindingService.lookupKeybinding(o.id)},_.defaultMenuStyles),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r),r.add((0,L.addDisposableListener)(window,L.EventType.BLUR,()=>this.contextViewService.hideContextView(!0))),r.add((0,L.addDisposableListener)(window,L.EventType.MOUSE_DOWN,o=>{if(o.defaultPrevented)return;const d=new k.StandardMouseEvent(o);let l=d.target;if(!d.rightButton){for(;l;){if(l===a)return;l=l.parentElement}this.contextViewService.hideContextView(!0)}})),(0,f.combinedDisposable)(r,n)},focus:()=>{n?.focus(!!s.autoSelectFirstItem)},onHide:a=>{var u,h,r;(u=s.onHide)===null||u===void 0||u.call(s,!!a),this.block&&(this.block.remove(),this.block=null),(h=this.blockDisposable)===null||h===void 0||h.dispose(),this.blockDisposable=null,this.lastContainer&&((0,L.getActiveElement)()===this.lastContainer||(0,L.isAncestor)((0,L.getActiveElement)(),this.lastContainer))&&((r=this.focusToReturn)===null||r===void 0||r.focus()),this.lastContainer=null}},t,!!t)}onActionRun(s,i){i&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:s.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(s){s.error&&!(0,S.isCancellationError)(s.error)&&this.notificationService.error(s.error)}}e.ContextMenuHandler=g}),define(ne[191],se([1,0,7,578,114,579,184,586,585,316,6,2,728,28,98,15,238,57,8,34,37,105]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WorkbenchCompressibleAsyncDataTree=e.WorkbenchAsyncDataTree=e.WorkbenchDataTree=e.WorkbenchCompressibleObjectTree=e.WorkbenchObjectTree=e.WorkbenchTable=e.WorkbenchPagedList=e.WorkbenchList=e.WorkbenchTreeFindOpen=e.WorkbenchTreeElementHasChild=e.WorkbenchTreeElementCanExpand=e.WorkbenchTreeElementHasParent=e.WorkbenchTreeElementCanCollapse=e.WorkbenchListSupportsFind=e.WorkbenchListSelectionNavigation=e.WorkbenchListMultiSelection=e.WorkbenchListDoubleSelection=e.WorkbenchListHasSelectionOrFocus=e.WorkbenchListFocusContextKey=e.WorkbenchListSupportsMultiSelectContextKey=e.RawWorkbenchListFocusContextKey=e.WorkbenchListScrollAtBottomContextKey=e.WorkbenchListScrollAtTopContextKey=e.RawWorkbenchListScrollAtBoundaryContextKey=e.ListService=e.IListService=void 0,e.IListService=(0,r.createDecorator)("listService");class l{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new s.DisposableStore,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(oe){var ge,ve;oe!==this._lastFocusedWidget&&((ge=this._lastFocusedWidget)===null||ge===void 0||ge.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=oe,(ve=this._lastFocusedWidget)===null||ve===void 0||ve.getHTMLElement().classList.add("last-focused"))}register(oe,ge){if(this._hasCreatedStyleController||(this._hasCreatedStyleController=!0,new y.DefaultStyleController((0,L.createStyleSheet)(),"").style(d.defaultListStyles)),this.lists.some(Se=>Se.widget===oe))throw new Error("Cannot register the same widget multiple times");const ve={widget:oe,extraContextKeys:ge};return this.lists.push(ve),oe.getHTMLElement()===document.activeElement&&this.setLastFocusedList(oe),(0,s.combinedDisposable)(oe.onDidFocus(()=>this.setLastFocusedList(oe)),(0,s.toDisposable)(()=>this.lists.splice(this.lists.indexOf(ve),1)),oe.onDidDispose(()=>{this.lists=this.lists.filter(Se=>Se!==ve),this._lastFocusedWidget===oe&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}e.ListService=l,e.RawWorkbenchListScrollAtBoundaryContextKey=new a.RawContextKey("listScrollAtBoundary","none"),e.WorkbenchListScrollAtTopContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("top"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.WorkbenchListScrollAtBottomContextKey=a.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("bottom"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.RawWorkbenchListFocusContextKey=new a.RawContextKey("listFocus",!0),e.WorkbenchListSupportsMultiSelectContextKey=new a.RawContextKey("listSupportsMultiselect",!0),e.WorkbenchListFocusContextKey=a.ContextKeyExpr.and(e.RawWorkbenchListFocusContextKey,a.ContextKeyExpr.not(u.InputFocusedContextKey)),e.WorkbenchListHasSelectionOrFocus=new a.RawContextKey("listHasSelectionOrFocus",!1),e.WorkbenchListDoubleSelection=new a.RawContextKey("listDoubleSelection",!1),e.WorkbenchListMultiSelection=new a.RawContextKey("listMultiSelection",!1),e.WorkbenchListSelectionNavigation=new a.RawContextKey("listSelectionNavigation",!1),e.WorkbenchListSupportsFind=new a.RawContextKey("listSupportsFind",!0),e.WorkbenchTreeElementCanCollapse=new a.RawContextKey("treeElementCanCollapse",!1),e.WorkbenchTreeElementHasParent=new a.RawContextKey("treeElementHasParent",!1),e.WorkbenchTreeElementCanExpand=new a.RawContextKey("treeElementCanExpand",!1),e.WorkbenchTreeElementHasChild=new a.RawContextKey("treeElementHasChild",!1),e.WorkbenchTreeFindOpen=new a.RawContextKey("treeFindOpen",!1);const p="listTypeNavigationMode",m="listAutomaticKeyboardNavigation";function v(re,oe){const ge=re.createScoped(oe.getHTMLElement());return e.RawWorkbenchListFocusContextKey.bindTo(ge),ge}function b(re,oe){const ge=e.RawWorkbenchListScrollAtBoundaryContextKey.bindTo(re),ve=()=>{const Se=oe.scrollTop===0,Le=oe.scrollHeight-oe.renderHeight-oe.scrollTop<1;Se&&Le?ge.set("both"):Se?ge.set("top"):Le?ge.set("bottom"):ge.set("none")};return ve(),oe.onDidScroll(ve)}const w="workbench.list.multiSelectModifier",E="workbench.list.openMode",I="workbench.list.horizontalScrolling",M="workbench.list.defaultFindMode",P="workbench.list.typeNavigationMode",x="workbench.list.keyboardNavigation",T="workbench.list.scrollByPage",A="workbench.list.defaultFindMatchType",N="workbench.tree.indent",F="workbench.tree.renderIndentGuides",O="workbench.list.smoothScrolling",W="workbench.list.mouseWheelScrollSensitivity",U="workbench.list.fastScrollSensitivity",j="workbench.tree.expandMode";function R(re){return re.getValue(w)==="alt"}class K extends s.Disposable{constructor(oe){super(),this.configurationService=oe,this.useAltAsMultipleSelectionModifier=R(oe),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(oe=>{oe.affectsConfiguration(w)&&(this.useAltAsMultipleSelectionModifier=R(this.configurationService))}))}isSelectionSingleChangeEvent(oe){return this.useAltAsMultipleSelectionModifier?oe.browserEvent.altKey:(0,y.isSelectionSingleChangeEvent)(oe)}isSelectionRangeChangeEvent(oe){return(0,y.isSelectionRangeChangeEvent)(oe)}}function G(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(c.IKeybindingService),Le=new s.DisposableStore;return[Object.assign(Object.assign({},oe),{keyboardNavigationDelegate:{mightProducePrintableCharacter(ye){return Se.mightProducePrintableCharacter(ye)}},smoothScrolling:!!ve.getValue(O),mouseWheelScrollSensitivity:ve.getValue(W),fastScrollSensitivity:ve.getValue(U),multipleSelectionController:(ge=oe.multipleSelectionController)!==null&&ge!==void 0?ge:Le.add(new K(ve)),keyboardNavigationEventFilter:ie(Se),scrollByPage:!!ve.getValue(T)}),Le]}let Z=class extends y.List{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=Le.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const le=this.getSelection(),pe=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(le.length>0||pe.length>0),this.listMultiSelection.set(le.length>1),this.listDoubleSelection.set(le.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const le=this.getSelection(),pe=this.getFocus();this.listHasSelectionOrFocus.set(le.length>0||pe.length>0)})),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}};e.WorkbenchList=Z,e.WorkbenchList=Z=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],Z);let J=class extends k.PagedList{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const Pe=typeof Le.horizontalScrolling<"u"?Le.horizontalScrolling:!!Ee.getValue(I),[Fe,_e]=Me.invokeFunction(G,Le);super(oe,ge,ve,Se,Object.assign(Object.assign({keyboardSupport:!1},Fe),{horizontalScrolling:Pe})),this.disposables=new s.DisposableStore,this.disposables.add(_e),this.contextKeyService=v(De,this),this.disposables.add(b(this.contextKeyService,this.widget)),this.horizontalScrolling=Le.horizontalScrolling,this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(Le.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!Le.selectionNavigation),this._useAltAsMultipleSelectionModifier=R(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(ye.register(this)),this.updateStyles(Le.overrideStyles),this.disposables.add(Ee.onDidChangeConfiguration(le=>{le.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Ee));let pe={};if(le.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const Ce=!!Ee.getValue(I);pe=Object.assign(Object.assign({},pe),{horizontalScrolling:Ce})}if(le.affectsConfiguration(T)){const Ce=!!Ee.getValue(T);pe=Object.assign(Object.assign({},pe),{scrollByPage:Ce})}if(le.affectsConfiguration(O)){const Ce=!!Ee.getValue(O);pe=Object.assign(Object.assign({},pe),{smoothScrolling:Ce})}if(le.affectsConfiguration(W)){const Ce=Ee.getValue(W);pe=Object.assign(Object.assign({},pe),{mouseWheelScrollSensitivity:Ce})}if(le.affectsConfiguration(U)){const Ce=Ee.getValue(U);pe=Object.assign(Object.assign({},pe),{fastScrollSensitivity:Ce})}Object.keys(pe).length>0&&this.updateOptions(pe)})),this.navigator=new B(this,Object.assign({configurationService:Ee},Le)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchPagedList=J,e.WorkbenchPagedList=J=ke([fe(5,a.IContextKeyService),fe(6,e.IListService),fe(7,n.IConfigurationService),fe(8,r.IInstantiationService)],J);let X=class extends D.Table{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const Fe=typeof De.horizontalScrolling<"u"?De.horizontalScrolling:!!Me.getValue(I),[_e,me]=Pe.invokeFunction(G,De);super(oe,ge,ve,Se,Le,Object.assign(Object.assign({keyboardSupport:!1},_e),{horizontalScrolling:Fe})),this.disposables.add(me),this.contextKeyService=v(ye,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(De.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!De.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=De.horizontalScrolling,this._useAltAsMultipleSelectionModifier=R(Me),this.disposables.add(this.contextKeyService),this.disposables.add(Ee.register(this)),this.updateStyles(De.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0),this.listMultiSelection.set(pe.length>1),this.listDoubleSelection.set(pe.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const pe=this.getSelection(),Ce=this.getFocus();this.listHasSelectionOrFocus.set(pe.length>0||Ce.length>0)})),this.disposables.add(Me.onDidChangeConfiguration(pe=>{pe.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(Me));let Ce={};if(pe.affectsConfiguration(I)&&this.horizontalScrolling===void 0){const be=!!Me.getValue(I);Ce=Object.assign(Object.assign({},Ce),{horizontalScrolling:be})}if(pe.affectsConfiguration(T)){const be=!!Me.getValue(T);Ce=Object.assign(Object.assign({},Ce),{scrollByPage:be})}if(pe.affectsConfiguration(O)){const be=!!Me.getValue(O);Ce=Object.assign(Object.assign({},Ce),{smoothScrolling:be})}if(pe.affectsConfiguration(W)){const be=Me.getValue(W);Ce=Object.assign(Object.assign({},Ce),{mouseWheelScrollSensitivity:be})}if(pe.affectsConfiguration(U)){const be=Me.getValue(U);Ce=Object.assign(Object.assign({},Ce),{fastScrollSensitivity:be})}Object.keys(Ce).length>0&&this.updateOptions(Ce)})),this.navigator=new V(this,Object.assign({configurationService:Me},De)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchTable=X,e.WorkbenchTable=X=ke([fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService),fe(9,r.IInstantiationService)],X);class H extends s.Disposable{constructor(oe,ge){var ve;super(),this.widget=oe,this._onDidOpen=this._register(new C.Emitter),this.onDidOpen=this._onDidOpen.event,this._register(C.Event.filter(this.widget.onDidChangeSelection,Se=>Se.browserEvent instanceof KeyboardEvent)(Se=>this.onSelectionFromKeyboard(Se))),this._register(this.widget.onPointer(Se=>this.onPointer(Se.element,Se.browserEvent))),this._register(this.widget.onMouseDblClick(Se=>this.onMouseDblClick(Se.element,Se.browserEvent))),typeof ge?.openOnSingleClick!="boolean"&&ge?.configurationService?(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick",this._register(ge?.configurationService.onDidChangeConfiguration(Se=>{Se.affectsConfiguration(E)&&(this.openOnSingleClick=ge?.configurationService.getValue(E)!=="doubleClick")}))):this.openOnSingleClick=(ve=ge?.openOnSingleClick)!==null&&ve!==void 0?ve:!0}onSelectionFromKeyboard(oe){if(oe.elements.length!==1)return;const ge=oe.browserEvent,ve=typeof ge.preserveFocus=="boolean"?ge.preserveFocus:!0,Se=typeof ge.pinned=="boolean"?ge.pinned:!ve,Le=!1;this._open(this.getSelectedElement(),ve,Se,Le,oe.browserEvent)}onPointer(oe,ge){if(!this.openOnSingleClick||ge.detail===2)return;const Se=ge.button===1,Le=!0,De=Se,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}onMouseDblClick(oe,ge){if(!ge)return;const ve=ge.target;if(ve.classList.contains("monaco-tl-twistie")||ve.classList.contains("monaco-icon-label")&&ve.classList.contains("folder-icon")&&ge.offsetX<16)return;const Le=!1,De=!0,ye=ge.ctrlKey||ge.metaKey||ge.altKey;this._open(oe,Le,De,ye,ge)}_open(oe,ge,ve,Se,Le){oe&&this._onDidOpen.fire({editorOptions:{preserveFocus:ge,pinned:ve,revealIfVisible:!0},sideBySide:Se,element:oe,browserEvent:Le})}}class B extends H{constructor(oe,ge){super(oe,ge),this.widget=oe}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class V extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Y extends H{constructor(oe,ge){super(oe,ge)}getSelectedElement(){var oe;return(oe=this.widget.getSelection()[0])!==null&&oe!==void 0?oe:void 0}}function ie(re){let oe=!1;return ge=>{if(ge.toKeyCodeChord().isModifierKey())return!1;if(oe)return oe=!1,!1;const ve=re.softDispatch(ge,ge.target);return ve.kind===1?(oe=!0,!1):(oe=!1,ve.kind===0)}}let ae=class extends g.ObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchObjectTree=ae,e.WorkbenchObjectTree=ae=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ae);let ce=class extends g.CompressibleObjectTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me){const{options:Pe,getTypeNavigationMode:Fe,disposable:_e}=De.invokeFunction(z,Le);super(oe,ge,ve,Se,Pe),this.disposables.add(_e),this.internals=new ee(this,Le,Fe,Le.overrideStyles,ye,Ee,Me),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleObjectTree=ce,e.WorkbenchCompressibleObjectTree=ce=ke([fe(5,r.IInstantiationService),fe(6,a.IContextKeyService),fe(7,e.IListService),fe(8,n.IConfigurationService)],ce);let de=class extends _.DataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchDataTree=de,e.WorkbenchDataTree=de=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],de);let he=class extends f.AsyncDataTree{get onDidOpen(){return this.internals.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe){const{options:Fe,getTypeNavigationMode:_e,disposable:me}=ye.invokeFunction(z,De);super(oe,ge,ve,Se,Le,Fe),this.disposables.add(me),this.internals=new ee(this,De,_e,De.overrideStyles,Ee,Me,Pe),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchAsyncDataTree=he,e.WorkbenchAsyncDataTree=he=ke([fe(6,r.IInstantiationService),fe(7,a.IContextKeyService),fe(8,e.IListService),fe(9,n.IConfigurationService)],he);let ue=class extends f.CompressibleAsyncDataTree{constructor(oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe){const{options:_e,getTypeNavigationMode:me,disposable:le}=Ee.invokeFunction(z,ye);super(oe,ge,ve,Se,Le,De,_e),this.disposables.add(le),this.internals=new ee(this,ye,me,ye.overrideStyles,Me,Pe,Fe),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleAsyncDataTree=ue,e.WorkbenchCompressibleAsyncDataTree=ue=ke([fe(7,r.IInstantiationService),fe(8,a.IContextKeyService),fe(9,e.IListService),fe(10,n.IConfigurationService)],ue);function te(re){const oe=re.getValue(M);if(oe==="highlight")return S.TreeFindMode.Highlight;if(oe==="filter")return S.TreeFindMode.Filter;const ge=re.getValue(x);if(ge==="simple"||ge==="highlight")return S.TreeFindMode.Highlight;if(ge==="filter")return S.TreeFindMode.Filter}function q(re){const oe=re.getValue(A);if(oe==="fuzzy")return S.TreeFindMatchType.Fuzzy;if(oe==="contiguous")return S.TreeFindMatchType.Contiguous}function z(re,oe){var ge;const ve=re.get(n.IConfigurationService),Se=re.get(h.IContextViewService),Le=re.get(a.IContextKeyService),De=re.get(r.IInstantiationService),ye=()=>{const me=Le.getContextKeyValue(p);if(me==="automatic")return y.TypeNavigationMode.Automatic;if(me==="trigger"||Le.getContextKeyValue(m)===!1)return y.TypeNavigationMode.Trigger;const pe=ve.getValue(P);if(pe==="automatic")return y.TypeNavigationMode.Automatic;if(pe==="trigger")return y.TypeNavigationMode.Trigger},Ee=oe.horizontalScrolling!==void 0?oe.horizontalScrolling:!!ve.getValue(I),[Me,Pe]=De.invokeFunction(G,oe),Fe=oe.paddingBottom,_e=oe.renderIndentGuides!==void 0?oe.renderIndentGuides:ve.getValue(F);return{getTypeNavigationMode:ye,disposable:Pe,options:Object.assign(Object.assign({keyboardSupport:!1},Me),{indent:typeof ve.getValue(N)=="number"?ve.getValue(N):void 0,renderIndentGuides:_e,smoothScrolling:!!ve.getValue(O),defaultFindMode:te(ve),defaultFindMatchType:q(ve),horizontalScrolling:Ee,scrollByPage:!!ve.getValue(T),paddingBottom:Fe,hideTwistiesOfChildlessElements:oe.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(ge=oe.expandOnlyOnTwistieClick)!==null&&ge!==void 0?ge:ve.getValue(j)==="doubleClick",contextViewProvider:Se,findWidgetStyles:d.defaultFindWidgetStyles})}}let ee=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(oe,ge,ve,Se,Le,De,ye){var Ee;this.tree=oe,this.disposables=[],this.contextKeyService=v(Le,oe),this.disposables.push(b(this.contextKeyService,oe)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(ge.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!ge.selectionNavigation),this.listSupportFindWidget=e.WorkbenchListSupportsFind.bindTo(this.contextKeyService),this.listSupportFindWidget.set((Ee=ge.findWidgetEnabled)!==null&&Ee!==void 0?Ee:!0),this.hasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.hasDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.hasMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.treeElementCanCollapse=e.WorkbenchTreeElementCanCollapse.bindTo(this.contextKeyService),this.treeElementHasParent=e.WorkbenchTreeElementHasParent.bindTo(this.contextKeyService),this.treeElementCanExpand=e.WorkbenchTreeElementCanExpand.bindTo(this.contextKeyService),this.treeElementHasChild=e.WorkbenchTreeElementHasChild.bindTo(this.contextKeyService),this.treeFindOpen=e.WorkbenchTreeFindOpen.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=R(ye),this.updateStyleOverrides(Se);const Pe=()=>{const _e=oe.getFocus()[0];if(!_e)return;const me=oe.getNode(_e);this.treeElementCanCollapse.set(me.collapsible&&!me.collapsed),this.treeElementHasParent.set(!!oe.getParentElement(_e)),this.treeElementCanExpand.set(me.collapsible&&me.collapsed),this.treeElementHasChild.set(!!oe.getFirstElementChild(_e))},Fe=new Set;Fe.add(p),Fe.add(m),this.disposables.push(this.contextKeyService,De.register(oe),oe.onDidChangeSelection(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(_e.length>0||me.length>0),this.hasMultiSelection.set(_e.length>1),this.hasDoubleSelection.set(_e.length===2)})}),oe.onDidChangeFocus(()=>{const _e=oe.getSelection(),me=oe.getFocus();this.hasSelectionOrFocus.set(_e.length>0||me.length>0),Pe()}),oe.onDidChangeCollapseState(Pe),oe.onDidChangeModel(Pe),oe.onDidChangeFindOpenState(_e=>this.treeFindOpen.set(_e)),ye.onDidChangeConfiguration(_e=>{let me={};if(_e.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=R(ye)),_e.affectsConfiguration(N)){const le=ye.getValue(N);me=Object.assign(Object.assign({},me),{indent:le})}if(_e.affectsConfiguration(F)&&ge.renderIndentGuides===void 0){const le=ye.getValue(F);me=Object.assign(Object.assign({},me),{renderIndentGuides:le})}if(_e.affectsConfiguration(O)){const le=!!ye.getValue(O);me=Object.assign(Object.assign({},me),{smoothScrolling:le})}if(_e.affectsConfiguration(M)||_e.affectsConfiguration(x)){const le=te(ye);me=Object.assign(Object.assign({},me),{defaultFindMode:le})}if(_e.affectsConfiguration(P)||_e.affectsConfiguration(x)){const le=ve();me=Object.assign(Object.assign({},me),{typeNavigationMode:le})}if(_e.affectsConfiguration(A)){const le=q(ye);me=Object.assign(Object.assign({},me),{defaultFindMatchType:le})}if(_e.affectsConfiguration(I)&&ge.horizontalScrolling===void 0){const le=!!ye.getValue(I);me=Object.assign(Object.assign({},me),{horizontalScrolling:le})}if(_e.affectsConfiguration(T)){const le=!!ye.getValue(T);me=Object.assign(Object.assign({},me),{scrollByPage:le})}if(_e.affectsConfiguration(j)&&ge.expandOnlyOnTwistieClick===void 0&&(me=Object.assign(Object.assign({},me),{expandOnlyOnTwistieClick:ye.getValue(j)==="doubleClick"})),_e.affectsConfiguration(W)){const le=ye.getValue(W);me=Object.assign(Object.assign({},me),{mouseWheelScrollSensitivity:le})}if(_e.affectsConfiguration(U)){const le=ye.getValue(U);me=Object.assign(Object.assign({},me),{fastScrollSensitivity:le})}Object.keys(me).length>0&&oe.updateOptions(me)}),this.contextKeyService.onDidChangeContext(_e=>{_e.affectsSome(Fe)&&oe.updateOptions({typeNavigationMode:ve()})})),this.navigator=new Y(oe,Object.assign({configurationService:ye},ge)),this.disposables.push(this.navigator)}updateOptions(oe){oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyleOverrides(oe){this.tree.style(oe?(0,d.getListStyles)(oe):d.defaultListStyles)}dispose(){this.disposables=(0,s.dispose)(this.disposables)}};ee=ke([fe(4,a.IContextKeyService),fe(5,e.IListService),fe(6,n.IConfigurationService)],ee),o.Registry.as(t.Extensions.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,i.localize)(0,null),type:"object",properties:{[w]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,i.localize)(1,null),(0,i.localize)(2,null)],default:"ctrlCmd",description:(0,i.localize)(3,null)},[E]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(4,null)},[I]:{type:"boolean",default:!1,description:(0,i.localize)(5,null)},[T]:{type:"boolean",default:!1,description:(0,i.localize)(6,null)},[N]:{type:"number",default:8,minimum:4,maximum:40,description:(0,i.localize)(7,null)},[F]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,i.localize)(8,null)},[O]:{type:"boolean",default:!1,description:(0,i.localize)(9,null)},[W]:{type:"number",default:1,markdownDescription:(0,i.localize)(10,null)},[U]:{type:"number",default:5,markdownDescription:(0,i.localize)(11,null)},[M]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,i.localize)(12,null),(0,i.localize)(13,null)],default:"highlight",description:(0,i.localize)(14,null)},[x]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,i.localize)(15,null),(0,i.localize)(16,null),(0,i.localize)(17,null)],default:"highlight",description:(0,i.localize)(18,null),deprecated:!0,deprecationMessage:(0,i.localize)(19,null)},[A]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,i.localize)(20,null),(0,i.localize)(21,null)],default:"fuzzy",description:(0,i.localize)(22,null)},[j]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(23,null)},[P]:{type:"string",enum:["automatic","trigger"],default:"automatic",description:(0,i.localize)(24,null)}}})}),define(ne[62],se([1,0,13,25,26,6,20,22,737,240,37]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spinningLoading=e.syncing=e.gotoNextLocation=e.gotoPreviousLocation=e.widgetClose=e.iconsSchemaId=e.getIconRegistry=e.registerIcon=e.IconFontDefinition=e.IconContribution=e.Extensions=void 0,e.Extensions={IconContribution:"base.contributions.icons"};var s;(function(o){function d(l,p){let m=l.defaults;for(;y.ThemeIcon.isThemeIcon(m);){const v=t.getIcon(m.id);if(!v)return;m=v.defaults}return m}o.getDefinition=d})(s||(e.IconContribution=s={}));var i;(function(o){function d(p){return{weight:p.weight,style:p.style,src:p.src.map(m=>({format:m.format,location:m.location.toString()}))}}o.toJSONObject=d;function l(p){const m=v=>(0,S.isString)(v)?v:void 0;if(p&&Array.isArray(p.src)&&p.src.every(v=>(0,S.isString)(v.format)&&(0,S.isString)(v.location)))return{weight:m(p.weight),style:m(p.style),src:p.src.map(v=>({format:v.format,location:f.URI.parse(v.location)}))}}o.fromJSONObject=l})(i||(e.IconFontDefinition=i={}));class n{constructor(){this._onDidChange=new D.Emitter,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,_.localize)(0,null)},fontCharacter:{type:"string",description:(0,_.localize)(1,null)}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${y.ThemeIcon.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(d,l,p,m){const v=this.iconsById[d];if(v){if(p&&!v.description){v.description=p,this.iconSchema.properties[d].markdownDescription=`${p} $(${d})`;const E=this.iconReferenceSchema.enum.indexOf(d);E!==-1&&(this.iconReferenceSchema.enumDescriptions[E]=p),this._onDidChange.fire()}return v}const b={id:d,description:p,defaults:l,deprecationMessage:m};this.iconsById[d]=b;const w={$ref:"#/definitions/icons"};return m&&(w.deprecationMessage=m),p&&(w.markdownDescription=`${p}: $(${d})`),this.iconSchema.properties[d]=w,this.iconReferenceSchema.enum.push(d),this.iconReferenceSchema.enumDescriptions.push(p||""),this._onDidChange.fire(),{id:d}}getIcons(){return Object.keys(this.iconsById).map(d=>this.iconsById[d])}getIcon(d){return this.iconsById[d]}getIconSchema(){return this.iconSchema}toString(){const d=(v,b)=>v.id.localeCompare(b.id),l=v=>{for(;y.ThemeIcon.isThemeIcon(v.defaults);)v=this.iconsById[v.defaults.id];return`codicon codicon-${v?v.id:""}`},p=[];p.push("| preview | identifier | default codicon ID | description"),p.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const m=Object.keys(this.iconsById).map(v=>this.iconsById[v]);for(const v of m.filter(b=>!!b.description).sort(d))p.push(`||${v.id}|${y.ThemeIcon.isThemeIcon(v.defaults)?v.defaults.id:v.id}|${v.description||""}|`);p.push("| preview | identifier "),p.push("| ----------- | --------------------------------- |");for(const v of m.filter(b=>!y.ThemeIcon.isThemeIcon(b.defaults)).sort(d))p.push(`||${v.id}|`);return p.join(` -`)}}const t=new n;C.Registry.add(e.Extensions.IconContribution,t);function a(o,d,l,p){return t.registerIcon(o,d,l,p)}e.registerIcon=a;function u(){return t}e.getIconRegistry=u;function h(){const o=(0,k.getCodiconFontCharacters)();for(const d in o){const l="\\"+o[d].toString(16);t.registerIcon(d,{fontCharacter:l})}}h(),e.iconsSchemaId="vscode://schemas/icons";const r=C.Registry.as(g.Extensions.JSONContribution);r.registerSchema(e.iconsSchemaId,t.getIconSchema());const c=new L.RunOnceScheduler(()=>r.notifySchemaChanged(e.iconsSchemaId),200);t.onDidChange(()=>{c.isScheduled()||c.schedule()}),e.widgetClose=a("widget-close",k.Codicon.close,(0,_.localize)(2,null)),e.gotoPreviousLocation=a("goto-previous-location",k.Codicon.arrowUp,(0,_.localize)(3,null)),e.gotoNextLocation=a("goto-next-location",k.Codicon.arrowDown,(0,_.localize)(4,null)),e.syncing=y.ThemeIcon.modify(k.Codicon.sync,"spin"),e.spinningLoading=y.ThemeIcon.modify(k.Codicon.loading,"spin")}),define(ne[354],se([1,0,7,35,89,68,75,39,25,2,26,59,36,12,41,86,95,67,615,116,28,62,434]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffReview=void 0;const p=3;class m{constructor(P,x,T,A){this.originalLineStart=P,this.originalLineEnd=x,this.modifiedLineStart=T,this.modifiedLineEnd=A}getType(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}class v{constructor(P){this.entries=P}}const b=(0,d.registerIcon)("diff-review-insert",_.Codicon.add,r.localize(0,null)),w=(0,d.registerIcon)("diff-review-remove",_.Codicon.remove,r.localize(1,null)),E=(0,d.registerIcon)("diff-review-close",_.Codicon.close,r.localize(2,null));let I=l=class extends g.Disposable{constructor(P,x,T,A){super(),this._languageService=x,this._audioCueService=T,this._configurationService=A,this._width=0,this._diffEditor=P,this._isVisible=!1,this.shadow=(0,k.createFastDomNode)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=(0,k.createFastDomNode)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new D.ActionBar(this.actionBarContainer.domNode)),this._actionBar.push(new f.Action("diffreview.close",r.localize(3,null),"close-diff-review "+C.ThemeIcon.asClassName(E),!0,()=>we(this,void 0,void 0,function*(){return this.hide()})),{label:!1,icon:!0}),this.domNode=(0,k.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=(0,k.createFastDomNode)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new S.DomScrollableElement(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(P.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(P.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"click",N=>{N.preventDefault();const F=L.findParentWithClass(N.target,"diff-review-row");F&&this._goToRow(F)})),this._register(L.addStandardDisposableListener(this.domNode.domNode,"keydown",N=>{(N.equals(18)||N.equals(2066)||N.equals(530))&&(N.preventDefault(),this._goToRow(this._getNextRow(),"next")),(N.equals(16)||N.equals(2064)||N.equals(528))&&(N.preventDefault(),this._goToRow(this._getPrevRow(),"previous")),(N.equals(9)||N.equals(2057)||N.equals(521)||N.equals(1033)||N.equals(10)||N.equals(3))&&(N.preventDefault(),this.accept())})),this._register(this._configurationService.onDidChangeConfiguration(N=>{N.affectsConfiguration("accessibility.verbosity.diffEditor")&&this._diffEditor.updateOptions({accessibilityVerbose:this._configurationService.getValue("accessibility.verbosity.diffEditor")})})),this._diffs=[],this._currentDiff=null}prev(){let P=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let T=-1;for(let A=0,N=this._diffs.length;A0){const de=P[U-1];de.originalEndLineNumber===0?Y=de.originalStartLineNumber+1:Y=de.originalEndLineNumber+1,de.modifiedEndLineNumber===0?ie=de.modifiedStartLineNumber+1:ie=de.modifiedEndLineNumber+1}let ae=B-p+1,ce=V-p+1;if(aeY){const de=Y-ae;ae=ae+de,ce=ce+de}if(ce>ie){const de=ie-ce;ae=ae+de,ce=ce+de}X[H++]=new m(B,ae,V,ce)}A[N++]=new v(X)}let F=A[0].entries;const O=[];let W=0;for(let U=1,j=A.length;UR)&&(R=te),q!==0&&(K===0||qG)&&(G=z)}const Z=document.createElement("div");Z.className="diff-review-row";const J=document.createElement("div");J.className="diff-review-cell diff-review-summary";const X=R-j+1,H=G-K+1;J.appendChild(document.createTextNode(`${O+1}/${this._diffs.length}: @@ -${j},${X} +${K},${H} @@`)),Z.setAttribute("data-line",String(K));const B=ce=>ce===0?r.localize(4,null):ce===1?r.localize(5,null):r.localize(6,null,ce),V=B(X),Y=B(H);Z.setAttribute("aria-label",r.localize(7,null,O+1,this._diffs.length,j,V,K,Y)),Z.appendChild(J),Z.setAttribute("role","listitem"),U.appendChild(Z);const ie=x.get(65);let ae=K;for(let ce=0,de=W.length;ceM}),e.DiffReview=I=l=ke([fe(1,t.ILanguageService),fe(2,c.IAudioCueService),fe(3,o.IConfigurationService)],I)}),define(ne[830],se([1,0,7,68,75,39,25,2,42,26,59,102,354,36,66,90,12,5,109,41,86,95,67,607,116,8,62]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibleDiffViewer=void 0;const w=(0,b.registerIcon)("diff-review-insert",S.Codicon.add,(0,p.localize)(0,null)),E=(0,b.registerIcon)("diff-review-remove",S.Codicon.remove,(0,p.localize)(1,null)),I=(0,b.registerIcon)("diff-review-close",S.Codicon.close,(0,p.localize)(2,null));let M=class extends f.Disposable{constructor(Z,J,X,H,B,V,Y,ie,ae){super(),this._parentNode=Z,this._visible=J,this._setVisible=X,this._canClose=H,this._width=B,this._height=V,this._diffs=Y,this._editors=ie,this._instantiationService=ae,this.model=(0,_.derivedWithStore)("model",(ce,de)=>{const he=this._visible.read(ce);if(this._parentNode.style.visibility=he?"visible":"hidden",!he)return null;const ue=de.add(this._instantiationService.createInstance(P,this._diffs,this._editors,this._setVisible,this._canClose)),te=de.add(this._instantiationService.createInstance(j,this._parentNode,ue,this._width,this._height,this._editors));return{model:ue,view:te}}),this._register((0,_.keepAlive)(this.model,!0))}next(){(0,_.transaction)(Z=>{const J=this._visible.get();this._setVisible(!0,Z),J&&this.model.get().model.nextGroup(Z)})}prev(){(0,_.transaction)(Z=>{this._setVisible(!0,Z),this.model.get().model.previousGroup(Z)})}close(){(0,_.transaction)(Z=>{this._setVisible(!1,Z)})}};e.AccessibleDiffViewer=M,e.AccessibleDiffViewer=M=ke([fe(8,v.IInstantiationService)],M);let P=class extends f.Disposable{constructor(Z,J,X,H,B){super(),this._diffs=Z,this._editors=J,this._setVisible=X,this.canClose=H,this._audioCueService=B,this._groups=(0,_.observableValue)("groups",[]),this._currentGroupIdx=(0,_.observableValue)("currentGroupIdx",0),this._currentElementIdx=(0,_.observableValue)("currentElementIdx",0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((V,Y)=>this._groups.read(Y)[V]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((V,Y)=>{var ie;return(ie=this.currentGroup.read(Y))===null||ie===void 0?void 0:ie.lines[V]}),this._register((0,_.autorun)(V=>{const Y=this._diffs.read(V);if(!Y){this._groups.set([],void 0);return}const ie=T(Y,this._editors.original.getModel().getLineCount(),this._editors.modified.getModel().getLineCount());(0,_.transaction)(ae=>{const ce=this._editors.modified.getPosition();if(ce){const de=ie.findIndex(he=>ce?.lineNumber{const Y=this.currentElement.read(V);Y?.type===A.Deleted?this._audioCueService.playAudioCue(m.AudioCue.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):Y?.type===A.Added&&this._audioCueService.playAudioCue(m.AudioCue.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,_.autorun)(V=>{var Y;const ie=this.currentElement.read(V);if(ie&&ie.type!==A.Header){const ae=(Y=ie.modifiedLineNumber)!==null&&Y!==void 0?Y:ie.diff.modifiedRange.startLineNumber;this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(ae,1)))}}))}_goToGroupDelta(Z,J){const X=this.groups.get();!X||X.length<=1||(0,_.subtransaction)(J,H=>{this._currentGroupIdx.set(a.OffsetRange.ofLength(X.length).clipCyclic(this._currentGroupIdx.get()+Z),H),this._currentElementIdx.set(0,H)})}nextGroup(Z){this._goToGroupDelta(1,Z)}previousGroup(Z){this._goToGroupDelta(-1,Z)}_goToLineDelta(Z){const J=this.currentGroup.get();!J||J.lines.length<=1||(0,_.transaction)(X=>{this._currentElementIdx.set(a.OffsetRange.ofLength(J.lines.length).clip(this._currentElementIdx.get()+Z),X)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(Z){const J=this.currentGroup.get();if(!J)return;const X=J.lines.indexOf(Z);X!==-1&&(0,_.transaction)(H=>{this._currentElementIdx.set(X,H)})}revealCurrentElementInEditor(){this._setVisible(!1,void 0);const Z=this.currentElement.get();Z&&(Z.type===A.Deleted?(this._editors.original.setSelection(h.Range.fromPositions(new u.Position(Z.originalLineNumber,1))),this._editors.original.revealLine(Z.originalLineNumber),this._editors.original.focus()):(Z.type!==A.Header&&(this._editors.modified.setSelection(h.Range.fromPositions(new u.Position(Z.modifiedLineNumber,1))),this._editors.modified.revealLine(Z.modifiedLineNumber)),this._editors.modified.focus()))}close(){this._setVisible(!1,void 0),this._editors.modified.focus()}};P=ke([fe(4,m.IAudioCueService)],P);const x=3;function T(G,Z,J){const X=[];for(const H of K(G,(B,V)=>V.modifiedRange.startLineNumber-B.modifiedRange.endLineNumberExclusive<2*x)){const B=[];B.push(new F);const V=new t.LineRange(Math.max(1,H[0].originalRange.startLineNumber-x),Math.min(H[H.length-1].originalRange.endLineNumberExclusive+x,Z+1)),Y=new t.LineRange(Math.max(1,H[0].modifiedRange.startLineNumber-x),Math.min(H[H.length-1].modifiedRange.endLineNumberExclusive+x,J+1));R(H,(ce,de)=>{const he=new t.LineRange(ce?ce.originalRange.endLineNumberExclusive:V.startLineNumber,de?de.originalRange.startLineNumber:V.endLineNumberExclusive),ue=new t.LineRange(ce?ce.modifiedRange.endLineNumberExclusive:Y.startLineNumber,de?de.modifiedRange.startLineNumber:Y.endLineNumberExclusive);he.forEach(te=>{B.push(new U(te,ue.startLineNumber+(te-he.startLineNumber)))}),de&&(de.originalRange.forEach(te=>{B.push(new O(de,te))}),de.modifiedRange.forEach(te=>{B.push(new W(de,te))}))});const ie=H[0].modifiedRange.join(H[H.length-1].modifiedRange),ae=H[0].originalRange.join(H[H.length-1].originalRange);X.push(new N(new r.SimpleLineRangeMapping(ie,ae),B))}return X}var A;(function(G){G[G.Header=0]="Header",G[G.Unchanged=1]="Unchanged",G[G.Deleted=2]="Deleted",G[G.Added=3]="Added"})(A||(A={}));class N{constructor(Z,J){this.range=Z,this.lines=J}}class F{constructor(){this.type=A.Header}}class O{constructor(Z,J){this.diff=Z,this.originalLineNumber=J,this.type=A.Deleted,this.modifiedLineNumber=void 0}}class W{constructor(Z,J){this.diff=Z,this.modifiedLineNumber=J,this.type=A.Added,this.originalLineNumber=void 0}}class U{constructor(Z,J){this.originalLineNumber=Z,this.modifiedLineNumber=J,this.type=A.Unchanged}}let j=class extends f.Disposable{constructor(Z,J,X,H,B,V){super(),this._element=Z,this._model=J,this._width=X,this._height=H,this._editors=B,this._languageService=V,this.domNode=this._element,this.domNode.className="diff-review monaco-editor-background";const Y=document.createElement("div");Y.className="diff-review-actions",this._actionBar=this._register(new k.ActionBar(Y)),this._register((0,_.autorun)(ie=>{this._actionBar.clear(),this._model.canClose.read(ie)&&this._actionBar.push(new D.Action("diffreview.close",(0,p.localize)(3,null),"close-diff-review "+g.ThemeIcon.asClassName(I),!0,()=>we(this,void 0,void 0,function*(){return J.close()})),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.DomScrollableElement(this._content,{})),(0,L.reset)(this.domNode,this._scrollbar.getDomNode(),Y),this._register((0,f.toDisposable)(()=>{(0,L.reset)(this.domNode)})),this._register((0,s.applyStyle)(this.domNode,{width:this._width,height:this._height})),this._register((0,s.applyStyle)(this._content,{width:this._width,height:this._height})),this._register((0,_.autorunWithStore)((ie,ae)=>{this._model.currentGroup.read(ie),this._render(ae)})),this._register((0,L.addStandardDisposableListener)(this.domNode,"keydown",ie=>{(ie.equals(18)||ie.equals(2066)||ie.equals(530))&&(ie.preventDefault(),this._model.goToNextLine()),(ie.equals(16)||ie.equals(2064)||ie.equals(528))&&(ie.preventDefault(),this._model.goToPreviousLine()),(ie.equals(9)||ie.equals(2057)||ie.equals(521)||ie.equals(1033))&&(ie.preventDefault(),this._model.close()),(ie.equals(10)||ie.equals(3))&&(ie.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(Z){const J=this._editors.original.getOptions(),X=this._editors.modified.getOptions(),H=document.createElement("div");H.className="diff-review-table",H.setAttribute("role","list"),H.setAttribute("aria-label",(0,p.localize)(4,null)),(0,C.applyFontInfo)(H,X.get(49)),(0,L.reset)(this._content,H);const B=this._editors.original.getModel(),V=this._editors.modified.getModel();if(!B||!V)return;const Y=B.getOptions(),ie=V.getOptions(),ae=X.get(65),ce=this._model.currentGroup.get();for(const de of ce?.lines||[]){if(!ce)break;let he;if(de.type===A.Header){const te=document.createElement("div");te.className="diff-review-row",te.setAttribute("role","listitem");const q=ce.range,z=this._model.currentGroupIndex.get(),ee=this._model.groups.get().length,$=ve=>ve===0?(0,p.localize)(5,null):ve===1?(0,p.localize)(6,null):(0,p.localize)(7,null,ve),re=$(q.original.length),oe=$(q.modified.length);te.setAttribute("aria-label",(0,p.localize)(8,null,z+1,ee,q.original.startLineNumber,re,q.modified.startLineNumber,oe));const ge=document.createElement("div");ge.className="diff-review-cell diff-review-summary",ge.appendChild(document.createTextNode(`${z+1}/${ee}: @@ -${q.original.startLineNumber},${q.original.length} +${q.modified.startLineNumber},${q.modified.length} @@`)),te.appendChild(ge),he=te}else he=this._createRow(de,ae,this._width.get(),J,B,Y,X,V,ie);H.appendChild(he);const ue=(0,_.derived)(te=>this._model.currentElement.read(te)===de);Z.add((0,_.autorun)(te=>{const q=ue.read(te);he.tabIndex=q?0:-1,q&&he.focus()})),Z.add((0,L.addDisposableListener)(he,"focus",()=>{this._model.goToLine(de)}))}this._scrollbar.scanDomNode()}_createRow(Z,J,X,H,B,V,Y,ie,ae){const ce=H.get(142),de=ce.glyphMarginWidth+ce.lineNumbersWidth,he=Y.get(142),ue=10+he.glyphMarginWidth+he.lineNumbersWidth;let te="diff-review-row",q="";const z="diff-review-spacer";let ee=null;switch(Z.type){case A.Added:te="diff-review-row line-insert",q=" char-insert",ee=w;break;case A.Deleted:te="diff-review-row line-delete",q=" char-delete",ee=E;break}const $=document.createElement("div");$.style.minWidth=X+"px",$.className=te,$.setAttribute("role","listitem"),$.ariaLevel="";const re=document.createElement("div");re.className="diff-review-cell",re.style.height=`${J}px`,$.appendChild(re);const oe=document.createElement("span");oe.style.width=de+"px",oe.style.minWidth=de+"px",oe.className="diff-review-line-number"+q,Z.originalLineNumber!==void 0?oe.appendChild(document.createTextNode(String(Z.originalLineNumber))):oe.innerText="\xA0",re.appendChild(oe);const ge=document.createElement("span");ge.style.width=ue+"px",ge.style.minWidth=ue+"px",ge.style.paddingRight="10px",ge.className="diff-review-line-number"+q,Z.modifiedLineNumber!==void 0?ge.appendChild(document.createTextNode(String(Z.modifiedLineNumber))):ge.innerText="\xA0",re.appendChild(ge);const ve=document.createElement("span");if(ve.className=z,ee){const De=document.createElement("span");De.className=g.ThemeIcon.asClassName(ee),De.innerText="\xA0\xA0",ve.appendChild(De)}else ve.innerText="\xA0\xA0";re.appendChild(ve);let Se;if(Z.modifiedLineNumber!==void 0){let De=this._getLineHtml(ie,Y,ae.tabSize,Z.modifiedLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=ie.getLineContent(Z.modifiedLineNumber)}else{let De=this._getLineHtml(B,H,V.tabSize,Z.originalLineNumber,this._languageService.languageIdCodec);i.DiffReview._ttPolicy&&(De=i.DiffReview._ttPolicy.createHTML(De)),re.insertAdjacentHTML("beforeend",De),Se=B.getLineContent(Z.originalLineNumber)}Se.length===0&&(Se=(0,p.localize)(9,null));let Le="";switch(Z.type){case A.Unchanged:Z.originalLineNumber===Z.modifiedLineNumber?Le=(0,p.localize)(10,null,Se,Z.originalLineNumber):Le=(0,p.localize)(11,null,Se,Z.originalLineNumber,Z.modifiedLineNumber);break;case A.Added:Le=(0,p.localize)(12,null,Se,Z.modifiedLineNumber);break;case A.Deleted:Le=(0,p.localize)(13,null,Se,Z.originalLineNumber);break}return $.setAttribute("aria-label",Le),$}_getLineHtml(Z,J,X,H,B){const V=Z.getLineContent(H),Y=J.get(49),ie=o.LineTokens.createEmpty(V,B),ae=l.ViewLineRenderingData.isBasicASCII(V,Z.mightContainNonBasicASCII()),ce=l.ViewLineRenderingData.containsRTL(V,ae,Z.mightContainRTL());return(0,d.renderViewLine2)(new d.RenderLineInput(Y.isMonospace&&!J.get(32),Y.canUseHalfwidthRightwardsArrow,V,!1,ae,ce,0,ie,[],X,0,Y.spaceWidth,Y.middotWidth,Y.wsmiddotWidth,J.get(115),J.get(97),J.get(92),J.get(50)!==n.EditorFontLigatures.OFF,null)).html}};j=ke([fe(5,c.ILanguageService)],j);function R(G,Z){let J;for(const X of G)Z(J,X),J=X;Z(J,void 0)}function*K(G,Z){let J,X;for(const H of G)X!==void 0&&Z(X,H)?J.push(H):(J&&(yield J),J=[H]),X=H;J&&(yield J)}}),define(ne[831],se([1,0,52,7,152,83,25,38,6,2,26,644,31,62,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerWidget=e.InsertButton=e.ColorPickerBody=e.ColorPickerHeader=void 0;const t=k.$;class a extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.showingStandaloneColorPicker=E,this._closeButton=null,this._domNode=t(".colorpicker-header"),k.append(v,this._domNode),this._pickedColorNode=k.append(this._domNode,t(".picked-color")),k.append(this._pickedColorNode,t("span.codicon.codicon-color-mode")),this._pickedColorPresentation=k.append(this._pickedColorNode,document.createElement("span")),this._pickedColorPresentation.classList.add("picked-color-presentation");const I=(0,s.localize)(0,null);this._pickedColorNode.setAttribute("title",I),this._originalColorNode=k.append(this._domNode,t(".original-color")),this._originalColorNode.style.backgroundColor=f.Color.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=w.getColorTheme().getColor(i.editorHoverBackground)||f.Color.white,this._register(w.onDidColorThemeChange(M=>{this.backgroundColor=M.getColor(i.editorHoverBackground)||f.Color.white})),this._register(k.addDisposableListener(this._pickedColorNode,k.EventType.CLICK,()=>this.model.selectNextColorPresentation())),this._register(k.addDisposableListener(this._originalColorNode,k.EventType.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this._register(b.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(b.color)||"",this._pickedColorNode.classList.toggle("light",b.color.rgba.a<.5?this.backgroundColor.isLighter():b.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new u(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(v){this._pickedColorNode.style.backgroundColor=f.Color.Format.CSS.format(v)||"",this._pickedColorNode.classList.toggle("light",v.rgba.a<.5?this.backgroundColor.isLighter():v.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}e.ColorPickerHeader=a;class u extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),k.append(v,this._button);const b=document.createElement("div");b.classList.add("close-button-inner-div"),k.append(this._button,b),k.append(b,t(".button"+C.ThemeIcon.asCSSSelector((0,n.registerIcon)("color-picker-close",S.Codicon.close,(0,s.localize)(1,null))))).classList.add("close-icon"),this._button.onclick=()=>{this._onClicked.fire()}}}class h extends g.Disposable{constructor(v,b,w,E=!1){super(),this.model=b,this.pixelRatio=w,this._insertButton=null,this._domNode=t(".colorpicker-body"),k.append(v,this._domNode),this._saturationBox=new r(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new o(this._domNode,this.model,E),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new d(this._domNode,this.model,E),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),E&&(this._insertButton=this._register(new l(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:v,v:b}){const w=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(w.h,v,b,w.a))}onDidOpacityChange(v){const b=this.model.color.hsva;this.model.color=new f.Color(new f.HSVA(b.h,b.s,b.v,v))}onDidHueChange(v){const b=this.model.color.hsva,w=(1-v)*360;this.model.color=new f.Color(new f.HSVA(w===360?0:w,b.s,b.v,b.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}e.ColorPickerBody=h;class r extends g.Disposable{constructor(v,b,w){super(),this.model=b,this.pixelRatio=w,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._domNode=t(".saturation-wrap"),k.append(v,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",k.append(this._domNode,this._canvas),this.selection=t(".saturation-selection"),k.append(this._domNode,this.selection),this.layout(),this._register(k.addDisposableListener(this._domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;this.monitor=this._register(new y.GlobalPointerMoveMonitor);const b=k.getDomNodePagePosition(this._domNode);v.target!==this.selection&&this.onDidChangePosition(v.offsetX,v.offsetY),this.monitor.startMonitoring(v.target,v.pointerId,v.buttons,E=>this.onDidChangePosition(E.pageX-b.left,E.pageY-b.top),()=>null);const w=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),w.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(v,b){const w=Math.max(0,Math.min(1,v/this.width)),E=Math.max(0,Math.min(1,1-b/this.height));this.paintSelection(w,E),this._onDidChange.fire({s:w,v:E})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const v=this.model.color.hsva;this.paintSelection(v.s,v.v)}paint(){const v=this.model.color.hsva,b=new f.Color(new f.HSVA(v.h,1,1,1)),w=this._canvas.getContext("2d"),E=w.createLinearGradient(0,0,this._canvas.width,0);E.addColorStop(0,"rgba(255, 255, 255, 1)"),E.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),E.addColorStop(1,"rgba(255, 255, 255, 0)");const I=w.createLinearGradient(0,0,0,this._canvas.height);I.addColorStop(0,"rgba(0, 0, 0, 0)"),I.addColorStop(1,"rgba(0, 0, 0, 1)"),w.rect(0,0,this._canvas.width,this._canvas.height),w.fillStyle=f.Color.Format.CSS.format(b),w.fill(),w.fillStyle=E,w.fill(),w.fillStyle=I,w.fill()}paintSelection(v,b){this.selection.style.left=`${v*this.width}px`,this.selection.style.top=`${this.height-b*this.height}px`}onDidChangeColor(v){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const b=v.hsva;this.paintSelection(b.s,b.v)}}class c extends g.Disposable{constructor(v,b,w=!1){super(),this.model=b,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,w?(this.domNode=k.append(v,t(".standalone-strip")),this.overlay=k.append(this.domNode,t(".standalone-overlay"))):(this.domNode=k.append(v,t(".strip")),this.overlay=k.append(this.domNode,t(".overlay"))),this.slider=k.append(this.domNode,t(".slider")),this.slider.style.top="0px",this._register(k.addDisposableListener(this.domNode,k.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const v=this.getValue(this.model.color);this.updateSliderPosition(v)}onDidChangeColor(v){const b=this.getValue(v);this.updateSliderPosition(b)}onPointerDown(v){if(!v.target||!(v.target instanceof Element))return;const b=this._register(new y.GlobalPointerMoveMonitor),w=k.getDomNodePagePosition(this.domNode);this.domNode.classList.add("grabbing"),v.target!==this.slider&&this.onDidChangeTop(v.offsetY),b.startMonitoring(v.target,v.pointerId,v.buttons,I=>this.onDidChangeTop(I.pageY-w.top),()=>null);const E=k.addDisposableListener(document,k.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),E.dispose(),b.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(v){const b=Math.max(0,Math.min(1,1-v/this.height));this.updateSliderPosition(b),this._onDidChange.fire(b)}updateSliderPosition(v){this.slider.style.top=`${(1-v)*this.height}px`}}class o extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(v){super.onDidChangeColor(v);const{r:b,g:w,b:E}=v.rgba,I=new f.Color(new f.RGBA(b,w,E,1)),M=new f.Color(new f.RGBA(b,w,E,0));this.overlay.style.background=`linear-gradient(to bottom, ${I} 0%, ${M} 100%)`}getValue(v){return v.hsva.a}}class d extends c{constructor(v,b,w=!1){super(v,b,w),this.domNode.classList.add("hue-strip")}getValue(v){return 1-v.hsva.h/360}}class l extends g.Disposable{constructor(v){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=k.append(v,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._button.onclick=b=>{this._onClicked.fire()}}get button(){return this._button}}e.InsertButton=l;class p extends D.Widget{constructor(v,b,w,E,I=!1){super(),this.model=b,this.pixelRatio=w,this._register(L.PixelRatio.onDidChange(()=>this.layout()));const M=t(".colorpicker-widget");v.appendChild(M),this.header=this._register(new a(M,this.model,E,I)),this.body=this._register(new h(M,this.model,this.pixelRatio,I))}layout(){this.body.layout()}}e.ColorPickerWidget=p}),define(ne[832],se([1,0,7,49,75,25,6,2,11,20,41,117,236,689,15,56,31,62,26,457]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsWidget=void 0;const o=L.$,d=(0,h.registerIcon)("parameter-hints-next",D.Codicon.chevronDown,n.localize(0,null)),l=(0,h.registerIcon)("parameter-hints-previous",D.Codicon.chevronUp,n.localize(1,null));let p=c=class extends f.Disposable{constructor(v,b,w,E,I){super(),this.editor=v,this.model=b,this.renderDisposeables=this._register(new f.DisposableStore),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new s.MarkdownRenderer({editor:v},I,E)),this.keyVisible=i.Context.Visible.bindTo(w),this.keyMultipleSignatures=i.Context.MultipleSignatures.bindTo(w)}createParameterHintDOMNodes(){const v=o(".editor-widget.parameter-hints-widget"),b=L.append(v,o(".phwrapper"));b.tabIndex=-1;const w=L.append(b,o(".controls")),E=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(l))),I=L.append(w,o(".overloads")),M=L.append(w,o(".button"+r.ThemeIcon.asCSSSelector(d)));this._register(L.addDisposableListener(E,"click",F=>{L.EventHelper.stop(F),this.previous()})),this._register(L.addDisposableListener(M,"click",F=>{L.EventHelper.stop(F),this.next()}));const P=o(".body"),x=new y.DomScrollableElement(P,{alwaysConsumeMouseWheel:!0});this._register(x),b.appendChild(x.getDomNode());const T=L.append(P,o(".signature")),A=L.append(P,o(".docs"));v.style.userSelect="text",this.domNodes={element:v,signature:T,overloads:I,docs:A,scrollbar:x},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(F=>{this.visible&&this.editor.layoutContentWidget(this)}));const N=()=>{if(!this.domNodes)return;const F=this.editor.getOption(49);this.domNodes.element.style.fontSize=`${F.fontSize}px`,this.domNodes.element.style.lineHeight=`${F.lineHeight/F.fontSize}`};N(),this._register(S.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(F=>F.hasChanged(49)).on(N,null)),this._register(this.editor.onDidLayoutChange(F=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var v;(v=this.domNodes)===null||v===void 0||v.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var v;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,(v=this.domNodes)===null||v===void 0||v.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(v){var b;if(this.renderDisposeables.clear(),!this.domNodes)return;const w=v.signatures.length>1;this.domNodes.element.classList.toggle("multiple",w),this.keyMultipleSignatures.set(w),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const E=v.signatures[v.activeSignature];if(!E)return;const I=L.append(this.domNodes.signature,o(".code")),M=this.editor.getOption(49);I.style.fontSize=`${M.fontSize}px`,I.style.fontFamily=M.fontFamily;const P=E.parameters.length>0,x=(b=E.activeParameter)!==null&&b!==void 0?b:v.activeParameter;if(P)this.renderParameters(I,E,x);else{const N=L.append(I,o("span"));N.textContent=E.label}const T=E.parameters[x];if(T?.documentation){const N=o("span.documentation");if(typeof T.documentation=="string")N.textContent=T.documentation;else{const F=this.renderMarkdownDocs(T.documentation);N.appendChild(F.element)}L.append(this.domNodes.docs,o("p",{},N))}if(E.documentation!==void 0)if(typeof E.documentation=="string")L.append(this.domNodes.docs,o("p",{},E.documentation));else{const N=this.renderMarkdownDocs(E.documentation);L.append(this.domNodes.docs,N.element)}const A=this.hasDocs(E,T);if(this.domNodes.signature.classList.toggle("has-docs",A),this.domNodes.docs.classList.toggle("empty",!A),this.domNodes.overloads.textContent=String(v.activeSignature+1).padStart(v.signatures.length.toString().length,"0")+"/"+v.signatures.length,T){let N="";const F=E.parameters[x];Array.isArray(F.label)?N=E.label.substring(F.label[0],F.label[1]):N=F.label,F.documentation&&(N+=typeof F.documentation=="string"?`, ${F.documentation}`:`, ${F.documentation.value}`),E.documentation&&(N+=typeof E.documentation=="string"?`, ${E.documentation}`:`, ${E.documentation.value}`),this.announcedLabel!==N&&(k.alert(n.localize(2,null,N)),this.announcedLabel=N)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(v){const b=this.renderDisposeables.add(this.markdownRenderer.render(v,{asyncRenderCallback:()=>{var w;(w=this.domNodes)===null||w===void 0||w.scrollbar.scanDomNode()}}));return b.element.classList.add("markdown-docs"),b}hasDocs(v,b){return!!(b&&typeof b.documentation=="string"&&(0,g.assertIsDefined)(b.documentation).length>0||b&&typeof b.documentation=="object"&&(0,g.assertIsDefined)(b.documentation).value.length>0||v.documentation&&typeof v.documentation=="string"&&(0,g.assertIsDefined)(v.documentation).length>0||v.documentation&&typeof v.documentation=="object"&&(0,g.assertIsDefined)(v.documentation.value).length>0)}renderParameters(v,b,w){const[E,I]=this.getParameterLabelOffsets(b,w),M=document.createElement("span");M.textContent=b.label.substring(0,E);const P=document.createElement("span");P.textContent=b.label.substring(E,I),P.className="parameter active";const x=document.createElement("span");x.textContent=b.label.substring(I),L.append(v,M,P,x)}getParameterLabelOffsets(v,b){const w=v.parameters[b];if(w){if(Array.isArray(w.label))return w.label;if(w.label.length){const E=new RegExp(`(\\W|^)${(0,_.escapeRegExpCharacters)(w.label)}(?=\\W|$)`,"g");E.test(v.label);const I=E.lastIndex-w.label.length;return I>=0?[I,E.lastIndex]:[0,0]}else return[0,0]}else return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return c.ID}updateMaxHeight(){if(!this.domNodes)return;const b=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=b;const w=this.domNodes.element.getElementsByClassName("phwrapper");w.length&&(w[0].style.maxHeight=b)}};e.ParameterHintsWidget=p,p.ID="editor.widget.parameterHintsWidget",e.ParameterHintsWidget=p=c=ke([fe(2,t.IContextKeyService),fe(3,a.IOpenerService),fe(4,C.ILanguageService)],p),(0,u.registerColor)("editorHoverWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},n.localize(3,null))}),define(ne[833],se([1,0,100,2,16,21,29,18,753,236,688,15,8,832]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerParameterHintsAction=e.ParameterHintsController=void 0;let a=t=class extends k.Disposable{static get(o){return o.getContribution(t.ID)}constructor(o,d,l){super(),this.editor=o,this.model=this._register(new _.ParameterHintsModel(o,l.signatureHelpProvider)),this._register(this.model.onChangedHints(p=>{var m;p?(this.widget.value.show(),this.widget.value.render(p)):(m=this.widget.rawValue)===null||m===void 0||m.hide()})),this.widget=new L.Lazy(()=>this._register(d.createInstance(n.ParameterHintsWidget,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var o;(o=this.widget.rawValue)===null||o===void 0||o.previous()}next(){var o;(o=this.widget.rawValue)===null||o===void 0||o.next()}trigger(o){this.model.trigger(o,0)}};e.ParameterHintsController=a,a.ID="editor.controller.parameterHints",e.ParameterHintsController=a=t=ke([fe(1,i.IInstantiationService),fe(2,f.ILanguageFeaturesService)],a);class u extends y.EditorAction{constructor(){super({id:"editor.action.triggerParameterHints",label:C.localize(0,null),alias:"Trigger Parameter Hints",precondition:D.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:D.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})}run(o,d){const l=a.get(d);l?.trigger({triggerKind:S.SignatureHelpTriggerKind.Invoke})}}e.TriggerParameterHintsAction=u,(0,y.registerEditorContribution)(a.ID,a,2),(0,y.registerEditorAction)(u);const h=100+75,r=y.EditorCommand.bindToContribution(a.get);(0,y.registerEditorCommand)(new r({id:"closeParameterHints",precondition:g.Context.Visible,handler:c=>c.cancel(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new r({id:"showPrevParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.previous(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,y.registerEditorCommand)(new r({id:"showNextParameterHint",precondition:s.ContextKeyExpr.and(g.Context.Visible,g.Context.MultipleSignatures),handler:c=>c.next(),kbOpts:{weight:h,kbExpr:D.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))}),define(ne[834],se([1,0,7,68,39,2,117,8,770,62,26,464]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BannerController=void 0;const s=26;let i=class extends D.Disposable{constructor(a,u){super(),this._editor=a,this.instantiationService=u,this.banner=this._register(this.instantiationService.createInstance(n))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(a){this.banner.show(Object.assign(Object.assign({},a),{onClose:()=>{var u;this.hide(),(u=a.onClose)===null||u===void 0||u.call(a)}})),this._editor.setBanner(this.banner.element,s)}};e.BannerController=i,e.BannerController=i=ke([fe(1,f.IInstantiationService)],i);let n=class extends D.Disposable{constructor(a){super(),this.instantiationService=a,this.markdownRenderer=this.instantiationService.createInstance(S.MarkdownRenderer,{}),this.element=(0,L.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(a){if(a.ariaLabel)return a.ariaLabel;if(typeof a.message=="string")return a.message}getBannerMessage(a){if(typeof a=="string"){const u=(0,L.$)("span");return u.innerText=a,u}return this.markdownRenderer.render(a).element}clear(){(0,L.clearNode)(this.element)}show(a){(0,L.clearNode)(this.element);const u=this.getAriaLabel(a);u&&this.element.setAttribute("aria-label",u);const h=(0,L.append)(this.element,(0,L.$)("div.icon-container"));h.setAttribute("aria-hidden","true"),a.icon&&h.appendChild((0,L.$)(`div${C.ThemeIcon.asCSSSelector(a.icon)}`));const r=(0,L.append)(this.element,(0,L.$)("div.message-container"));if(r.setAttribute("aria-hidden","true"),r.appendChild(this.getBannerMessage(a.message)),this.messageActionsContainer=(0,L.append)(this.element,(0,L.$)("div.message-actions-container")),a.actions)for(const o of a.actions)this._register(this.instantiationService.createInstance(_.Link,this.messageActionsContainer,Object.assign(Object.assign({},o),{tabIndex:-1}),{}));const c=(0,L.append)(this.element,(0,L.$)("div.action-container"));this.actionBar=this._register(new k.ActionBar(c)),this.actionBar.push(this._register(new y.Action("banner.close","Close Banner",C.ThemeIcon.asClassName(g.widgetClose),!0,()=>{typeof a.onClose=="function"&&a.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};n=ke([fe(0,f.IInstantiationService)],n)}),define(ne[835],se([1,0,7,6,26,62]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnthemedProductIconTheme=e.getIconsStyleSheet=void 0;function S(_){const g=new k.Emitter,C=(0,D.getIconRegistry)();return C.onDidChange(()=>g.fire()),_?.onDidProductIconThemeChange(()=>g.fire()),{onDidChange:g.event,getCSS(){const s=_?_.getProductIconTheme():new f,i={},n=a=>{const u=s.getIcon(a);if(!u)return;const h=u.font;return h?(i[h.id]=h.definition,`.codicon-${a.id}:before { content: '${u.fontCharacter}'; font-family: ${(0,L.asCSSPropertyValue)(h.id)}; }`):`.codicon-${a.id}:before { content: '${u.fontCharacter}'; }`},t=[];for(const a of C.getIcons()){const u=n(a);u&&t.push(u)}for(const a in i){const u=i[a],h=u.weight?`font-weight: ${u.weight};`:"",r=u.style?`font-style: ${u.style};`:"",c=u.src.map(o=>`${(0,L.asCSSUrl)(o.location)} format('${o.format}')`).join(", ");t.push(`@font-face { src: ${c}; font-family: ${(0,L.asCSSPropertyValue)(a)};${h}${r} font-display: block; }`)}return t.join(` -`)}}}e.getIconsStyleSheet=S;class f{getIcon(g){const C=(0,D.getIconRegistry)();let s=g.defaults;for(;y.ThemeIcon.isThemeIcon(s);){const i=C.getIcon(s.id);if(!i)return;s=i.defaults}return s}}e.UnthemedProductIconTheme=f}),define(ne[88],se([1,0]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDark=e.isHighContrast=e.ColorScheme=void 0;var L;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST_DARK="hcDark",D.HIGH_CONTRAST_LIGHT="hcLight"})(L||(e.ColorScheme=L={}));function k(D){return D===L.HIGH_CONTRAST_DARK||D===L.HIGH_CONTRAST_LIGHT}e.isHighContrast=k;function y(D){return D===L.DARK||D===L.HIGH_CONTRAST_DARK}e.isDark=y}),define(ne[251],se([1,0,52,35,17,478,144,127,95,88,36]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColumnOfNodeOffset=e.ViewLine=e.ViewLineOptions=void 0;const s=function(){return y.isNative?!0:!(y.isLinux||L.isFirefox||L.isSafari)}();let i=!0;class n{constructor(p,m){this.themeType=m;const v=p.options,b=v.get(49);v.get(37)==="off"?this.renderWhitespace=v.get(97):this.renderWhitespace="none",this.renderControlCharacters=v.get(92),this.spaceWidth=b.spaceWidth,this.middotWidth=b.middotWidth,this.wsmiddotWidth=b.wsmiddotWidth,this.useMonospaceOptimizations=b.isMonospace&&!v.get(32),this.canUseHalfwidthRightwardsArrow=b.canUseHalfwidthRightwardsArrow,this.lineHeight=v.get(65),this.stopRenderingLineAfter=v.get(115),this.fontLigatures=v.get(50)}equals(p){return this.themeType===p.themeType&&this.renderWhitespace===p.renderWhitespace&&this.renderControlCharacters===p.renderControlCharacters&&this.spaceWidth===p.spaceWidth&&this.middotWidth===p.middotWidth&&this.wsmiddotWidth===p.wsmiddotWidth&&this.useMonospaceOptimizations===p.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===p.canUseHalfwidthRightwardsArrow&&this.lineHeight===p.lineHeight&&this.stopRenderingLineAfter===p.stopRenderingLineAfter&&this.fontLigatures===p.fontLigatures}}e.ViewLineOptions=n;class t{constructor(p){this._options=p,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(p){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,k.createFastDomNode)(p);else throw new Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(p){this._isMaybeInvalid=!0,this._options=p}onSelectionChanged(){return(0,g.isHighContrast)(this._options.themeType)||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1}renderLine(p,m,v,b){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const w=v.getViewLineRenderingData(p),E=this._options,I=f.LineDecoration.filter(w.inlineDecorations,p,w.minColumn,w.maxColumn);let M=null;if((0,g.isHighContrast)(E.themeType)||this._options.renderWhitespace==="selection"){const A=v.selections;for(const N of A){if(N.endLineNumberp)continue;const F=N.startLineNumber===p?N.startColumn:w.minColumn,O=N.endLineNumber===p?N.endColumn:w.maxColumn;F');const x=(0,_.renderViewLine)(P,b);b.appendString("");let T=null;return i&&s&&w.isBasicASCII&&E.useMonospaceOptimizations&&x.containsForeignElements===0&&(T=new a(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping)),T||(T=r(this._renderedViewLine?this._renderedViewLine.domNode:null,P,x.characterMapping,x.containsRTL,x.containsForeignElements)),this._renderedViewLine=T,!0}layoutLine(p,m){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(m),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(p){return this._renderedViewLine?this._renderedViewLine.getWidth(p):0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof a:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof a?this._renderedViewLine.monospaceAssumptionsAreValid():i}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof a&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(p,m,v,b){if(!this._renderedViewLine)return null;m=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,m)),v=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,v));const w=this._renderedViewLine.input.stopRenderingLineAfter;if(w!==-1&&m>w+1&&v>w+1)return new S.VisibleRanges(!0,[new S.FloatHorizontalRange(this.getWidth(b),0)]);w!==-1&&m>w+1&&(m=w+1),w!==-1&&v>w+1&&(v=w+1);const E=this._renderedViewLine.getVisibleRangesForRange(p,m,v,b);return E&&E.length>0?new S.VisibleRanges(!1,E):null}getColumnOfNodeOffset(p,m){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(p,m):1}}e.ViewLine=t,t.CLASS_NAME="view-line";class a{constructor(p,m,v){this._cachedWidth=-1,this.domNode=p,this.input=m;const b=Math.floor(m.lineContent.length/300);if(b>0){this._keyColumnPixelOffsetCache=new Float32Array(b);for(let w=0;w=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),i=!1)}return i}toSlowRenderedLine(){return r(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(p,m,v,b){const w=this._getColumnPixelOffset(p,m,b),E=this._getColumnPixelOffset(p,v,b);return[new S.FloatHorizontalRange(w,E-w)]}_getColumnPixelOffset(p,m,v){if(m<=300){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const b=Math.floor((m-1)/300)-1,w=(b+1)*300+1;let E=-1;if(this._keyColumnPixelOffsetCache&&(E=this._keyColumnPixelOffsetCache[b],E===-1&&(E=this._actualReadPixelOffset(p,w,v),this._keyColumnPixelOffsetCache[b]=E)),E===-1){const P=this._characterMapping.getHorizontalOffset(m);return this._charWidth*P}const I=this._characterMapping.getHorizontalOffset(w),M=this._characterMapping.getHorizontalOffset(m);return E+this._charWidth*(M-I)}_getReadingTarget(p){return p.domNode.firstChild}_actualReadPixelOffset(p,m,v){if(!this.domNode)return-1;const b=this._characterMapping.getDomPosition(m),w=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(this.domNode),b.partIndex,b.charIndex,b.partIndex,b.charIndex,v);return!w||w.length===0?-1:w[0].left}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class u{constructor(p,m,v,b,w){if(this.domNode=p,this.input=m,this._characterMapping=v,this._isWhitespaceOnly=/^\s*$/.test(m.lineContent),this._containsForeignElements=w,this._cachedWidth=-1,this._pixelOffsetCache=null,!b||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let E=0,I=this._characterMapping.length;E<=I;E++)this._pixelOffsetCache[E]=-1}}_getReadingTarget(p){return p.domNode.firstChild}getWidth(p){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,p?.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(p,m,v,b){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const w=this._readPixelOffset(this.domNode,p,m,b);if(w===-1)return null;const E=this._readPixelOffset(this.domNode,p,v,b);return E===-1?null:[new S.FloatHorizontalRange(w,E-w)]}return this._readVisibleRangesForRange(this.domNode,p,m,v,b)}_readVisibleRangesForRange(p,m,v,b,w){if(v===b){const E=this._readPixelOffset(p,m,v,w);return E===-1?null:[new S.FloatHorizontalRange(E,0)]}else return this._readRawVisibleRangesForRange(p,v,b,w)}_readPixelOffset(p,m,v,b){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth(b);const w=this._getReadingTarget(p);return w.firstChild?(b.markDidDomLayout(),w.firstChild.offsetWidth):0}if(this._pixelOffsetCache!==null){const w=this._pixelOffsetCache[v];if(w!==-1)return w;const E=this._actualReadPixelOffset(p,m,v,b);return this._pixelOffsetCache[v]=E,E}return this._actualReadPixelOffset(p,m,v,b)}_actualReadPixelOffset(p,m,v,b){if(this._characterMapping.length===0){const M=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),0,0,0,0,b);return!M||M.length===0?-1:M[0].left}if(v===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth(b);const w=this._characterMapping.getDomPosition(v),E=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,w.partIndex,w.charIndex,b);if(!E||E.length===0)return-1;const I=E[0].left;if(this.input.isBasicASCII){const M=this._characterMapping.getHorizontalOffset(v),P=Math.round(this.input.spaceWidth*M);if(Math.abs(P-I)<=1)return P}return I}_readRawVisibleRangesForRange(p,m,v,b){if(m===1&&v===this._characterMapping.length)return[new S.FloatHorizontalRange(0,this.getWidth(b))];const w=this._characterMapping.getDomPosition(m),E=this._characterMapping.getDomPosition(v);return D.RangeUtil.readHorizontalRanges(this._getReadingTarget(p),w.partIndex,w.charIndex,E.partIndex,E.charIndex,b)}getColumnOfNodeOffset(p,m){return d(this._characterMapping,p,m)}}class h extends u{_readVisibleRangesForRange(p,m,v,b,w){const E=super._readVisibleRangesForRange(p,m,v,b,w);if(!E||E.length===0||v===b||v===1&&b===this._characterMapping.length)return E;if(!this.input.containsRTL){const I=this._readPixelOffset(p,m,b,w);if(I!==-1){const M=E[E.length-1];M.left=4&&v[0]===3&&v[3]===7}static isStrictChildOfViewLines(v){return v.length>4&&v[0]===3&&v[3]===7}static isChildOfScrollableElement(v){return v.length>=2&&v[0]===3&&v[1]===5}static isChildOfMinimap(v){return v.length>=2&&v[0]===3&&v[1]===8}static isChildOfContentWidgets(v){return v.length>=4&&v[0]===3&&v[3]===1}static isChildOfOverflowGuard(v){return v.length>=1&&v[0]===3}static isChildOfOverflowingContentWidgets(v){return v.length>=1&&v[0]===2}static isChildOfOverlayWidgets(v){return v.length>=2&&v[0]===3&&v[1]===4}}class u{constructor(v,b,w){this.viewModel=v.viewModel;const E=v.configuration.options;this.layoutInfo=E.get(142),this.viewDomNode=b.viewDomNode,this.lineHeight=E.get(65),this.stickyTabStops=E.get(114),this.typicalHalfwidthCharacterWidth=E.get(49).typicalHalfwidthCharacterWidth,this.lastRenderData=w,this._context=v,this._viewHelper=b}getZoneAtCoord(v){return u.getZoneAtCoord(this._context,v)}static getZoneAtCoord(v,b){const w=v.viewLayout.getWhitespaceAtVerticalOffset(b);if(w){const E=w.verticalOffset+w.height/2,I=v.viewModel.getLineCount();let M=null,P,x=null;return w.afterLineNumber!==I&&(x=new D.Position(w.afterLineNumber+1,1)),w.afterLineNumber>0&&(M=new D.Position(w.afterLineNumber,v.viewModel.getLineMaxColumn(w.afterLineNumber))),x===null?P=M:M===null?P=x:b=v.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,d._getMouseColumn(this.mouseContentHorizontalOffset,v.typicalHalfwidthCharacterWidth))}}class r extends h{constructor(v,b,w,E,I){super(v,b,w,E),this._ctx=v,I?(this.target=I,this.targetPath=k.PartFingerprints.collect(I,v.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}_getMouseColumn(v=null){return v&&v.columnM.contentLeft+M.width)continue;const P=v.getVerticalOffsetForLineNumber(M.position.lineNumber);if(P<=I&&I<=P+M.height)return b.fulfillContentText(M.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(v,b){const w=v.getZoneAtCoord(b.mouseVerticalOffset);if(w){const E=b.isInContentArea?8:5;return b.fulfillViewZone(E,w.position,w)}return null}static _hitTestTextArea(v,b){return a.isTextArea(b.targetPath)?v.lastRenderData.lastTextareaPosition?b.fulfillContentText(v.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):b.fulfillTextarea():null}static _hitTestMargin(v,b){if(b.isInMarginArea){const w=v.getFullLineRangeAtCoord(b.mouseVerticalOffset),E=w.range.getStartPosition();let I=Math.abs(b.relativePos.x);const M={isAfterLines:w.isAfterLines,glyphMarginLeft:v.layoutInfo.glyphMarginLeft,glyphMarginWidth:v.layoutInfo.glyphMarginWidth,lineNumbersWidth:v.layoutInfo.lineNumbersWidth,offsetX:I};return I-=v.layoutInfo.glyphMarginLeft,I<=v.layoutInfo.glyphMarginWidth?b.fulfillMargin(2,E,w.range,M):(I-=v.layoutInfo.glyphMarginWidth,I<=v.layoutInfo.lineNumbersWidth?b.fulfillMargin(3,E,w.range,M):(I-=v.layoutInfo.lineNumbersWidth,b.fulfillMargin(4,E,w.range,M)))}return null}static _hitTestViewLines(v,b,w){if(!a.isChildOfViewLines(b.targetPath))return null;if(v.isInTopPadding(b.mouseVerticalOffset))return b.fulfillContentEmpty(new D.Position(1,1),c);if(v.isAfterLines(b.mouseVerticalOffset)||v.isInBottomPadding(b.mouseVerticalOffset)){const I=v.viewModel.getLineCount(),M=v.viewModel.getLineMaxColumn(I);return b.fulfillContentEmpty(new D.Position(I,M),c)}if(w){if(a.isStrictChildOfViewLines(b.targetPath)){const I=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset);if(v.viewModel.getLineLength(I)===0){const P=v.getLineWidth(I),x=o(b.mouseContentHorizontalOffset-P);return b.fulfillContentEmpty(new D.Position(I,1),x)}const M=v.getLineWidth(I);if(b.mouseContentHorizontalOffset>=M){const P=o(b.mouseContentHorizontalOffset-M),x=new D.Position(I,v.viewModel.getLineMaxColumn(I));return b.fulfillContentEmpty(x,P)}}return b.fulfillUnknown()}const E=d._doHitTest(v,b);return E.type===1?d.createMouseTargetFromHitTestPosition(v,b,E.spanNode,E.position,E.injectedText):this._createMouseTarget(v,b.withTarget(E.hitTarget),!0)}static _hitTestMinimap(v,b){if(a.isChildOfMinimap(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}static _hitTestScrollbarSlider(v,b){if(a.isChildOfScrollableElement(b.targetPath)&&b.target&&b.target.nodeType===1){const w=b.target.className;if(w&&/\b(slider|scrollbar)\b/.test(w)){const E=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),I=v.viewModel.getLineMaxColumn(E);return b.fulfillScrollbar(new D.Position(E,I))}}return null}static _hitTestScrollbar(v,b){if(a.isChildOfScrollableElement(b.targetPath)){const w=v.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=v.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}getMouseColumn(v){const b=this._context.configuration.options,w=b.get(142),E=this._context.viewLayout.getCurrentScrollLeft()+v.x-w.contentLeft;return d._getMouseColumn(E,b.get(49).typicalHalfwidthCharacterWidth)}static _getMouseColumn(v,b){return v<0?1:Math.round(v/b)+1}static createMouseTargetFromHitTestPosition(v,b,w,E,I){const M=E.lineNumber,P=E.column,x=v.getLineWidth(M);if(b.mouseContentHorizontalOffset>x){const R=o(b.mouseContentHorizontalOffset-x);return b.fulfillContentEmpty(E,R)}const T=v.visibleRangeForPosition(M,P);if(!T)return b.fulfillUnknown(E);const A=T.left;if(Math.abs(b.mouseContentHorizontalOffset-A)<1)return b.fulfillContentText(E,null,{mightBeForeignElement:!!I,injectedText:I});const N=[];if(N.push({offset:T.left,column:P}),P>1){const R=v.visibleRangeForPosition(M,P-1);R&&N.push({offset:R.left,column:P-1})}const F=v.viewModel.getLineMaxColumn(M);if(PR.offset-K.offset);const O=b.pos.toClientCoordinates(),W=w.getBoundingClientRect(),U=W.left<=O.clientX&&O.clientX<=W.right;let j=null;for(let R=1;RI)){const P=Math.floor((E+I)/2);let x=b.pos.y+(P-b.mouseVerticalOffset);x<=b.editorPos.y&&(x=b.editorPos.y+1),x>=b.editorPos.y+b.editorPos.height&&(x=b.editorPos.y+b.editorPos.height-1);const T=new L.PageCoordinates(b.pos.x,x),A=this._actualDoHitTestWithCaretRangeFromPoint(v,T.toClientCoordinates());if(A.type===1)return A}return this._actualDoHitTestWithCaretRangeFromPoint(v,b.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(v,b){const w=_.getShadowRoot(v.viewDomNode);let E;if(w?typeof w.caretRangeFromPoint>"u"?E=l(w,b.clientX,b.clientY):E=w.caretRangeFromPoint(b.clientX,b.clientY):E=document.caretRangeFromPoint(b.clientX,b.clientY),!E||!E.startContainer)return new C;const I=E.startContainer;if(I.nodeType===I.TEXT_NODE){const M=I.parentNode,P=M?M.parentNode:null,x=P?P.parentNode:null;return(x&&x.nodeType===x.ELEMENT_NODE?x.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,M,E.startOffset):new C(I.parentNode)}else if(I.nodeType===I.ELEMENT_NODE){const M=I.parentNode,P=M?M.parentNode:null;return(P&&P.nodeType===P.ELEMENT_NODE?P.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,I,I.textContent.length):new C(I)}return new C}static _doHitTestWithCaretPositionFromPoint(v,b){const w=document.caretPositionFromPoint(b.clientX,b.clientY);if(w.offsetNode.nodeType===w.offsetNode.TEXT_NODE){const E=w.offsetNode.parentNode,I=E?E.parentNode:null,M=I?I.parentNode:null;return(M&&M.nodeType===M.ELEMENT_NODE?M.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(v,w.offsetNode.parentNode,w.offset):new C(w.offsetNode.parentNode)}if(w.offsetNode.nodeType===w.offsetNode.ELEMENT_NODE){const E=w.offsetNode.parentNode,I=E&&E.nodeType===E.ELEMENT_NODE?E.className:null,M=E?E.parentNode:null,P=M&&M.nodeType===M.ELEMENT_NODE?M.className:null;if(I===y.ViewLine.CLASS_NAME){const x=w.offsetNode.childNodes[Math.min(w.offset,w.offsetNode.childNodes.length-1)];if(x)return i.createFromDOMInfo(v,x,0)}else if(P===y.ViewLine.CLASS_NAME)return i.createFromDOMInfo(v,w.offsetNode,0)}return new C(w.offsetNode)}static _snapToSoftTabBoundary(v,b){const w=b.getLineContent(v.lineNumber),{tabSize:E}=b.model.getOptions(),I=g.AtomicTabMoveOperations.atomicPosition(w,v.column-1,E,2);return I!==-1?new D.Position(v.lineNumber,I+1):v}static _doHitTest(v,b){let w=new C;if(typeof document.caretRangeFromPoint=="function"?w=this._doHitTestWithCaretRangeFromPoint(v,b):document.caretPositionFromPoint&&(w=this._doHitTestWithCaretPositionFromPoint(v,b.pos.toClientCoordinates())),w.type===1){const E=v.viewModel.getInjectedTextAt(w.position),I=v.viewModel.normalizePosition(w.position,2);(E||!I.equals(w.position))&&(w=new s(I,w.spanNode,E))}return w}}e.MouseTargetFactory=d;function l(m,v,b){const w=document.createRange();let E=m.elementFromPoint(v,b);if(E!==null){for(;E&&E.firstChild&&E.firstChild.nodeType!==E.firstChild.TEXT_NODE&&E.lastChild&&E.lastChild.firstChild;)E=E.lastChild;const I=E.getBoundingClientRect(),M=window.getComputedStyle(E,null).getPropertyValue("font-style"),P=window.getComputedStyle(E,null).getPropertyValue("font-variant"),x=window.getComputedStyle(E,null).getPropertyValue("font-weight"),T=window.getComputedStyle(E,null).getPropertyValue("font-size"),A=window.getComputedStyle(E,null).getPropertyValue("line-height"),N=window.getComputedStyle(E,null).getPropertyValue("font-family"),F=`${M} ${P} ${x} ${T}/${A} ${N}`,O=E.innerText;let W=I.left,U=0,j;if(v>I.left+I.width)U=O.length;else{const R=p.getInstance();for(let K=0;Kthis._createMouseTarget(m,v),m=>this._getMouseColumn(m))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(142).height;const l=new f.EditorMouseEventFactory(this.viewHelper.viewDomNode);this._register(l.onContextMenu(this.viewHelper.viewDomNode,m=>this._onContextMenu(m,!0))),this._register(l.onMouseMove(this.viewHelper.viewDomNode,m=>{this._onMouseMove(m),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=L.addDisposableListener(document,"mousemove",v=>{this.viewHelper.viewDomNode.contains(v.target)||this._onMouseLeave(new f.EditorMouseEvent(v,!1,this.viewHelper.viewDomNode))}))})),this._register(l.onMouseUp(this.viewHelper.viewDomNode,m=>this._onMouseUp(m))),this._register(l.onMouseLeave(this.viewHelper.viewDomNode,m=>this._onMouseLeave(m)));let p=0;this._register(l.onPointerDown(this.viewHelper.viewDomNode,(m,v)=>{p=v})),this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.POINTER_UP,m=>{this._mouseDownOperation.onPointerUp()})),this._register(l.onMouseDown(this.viewHelper.viewDomNode,m=>this._onMouseDown(m,p))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){const c=i.MouseWheelClassifier.INSTANCE;let o=0,d=_.EditorZoom.getZoomLevel(),l=!1,p=0;const m=b=>{if(this.viewController.emitMouseWheel(b),!this._context.configuration.options.get(74))return;const w=new k.StandardWheelEvent(b);if(c.acceptStandardWheelEvent(w),c.isPhysicalMouseWheel()){if(v(b)){const E=_.EditorZoom.getZoomLevel(),I=w.deltaY>0?1:-1;_.EditorZoom.setZoomLevel(E+I),w.preventDefault(),w.stopPropagation()}}else Date.now()-o>50&&(d=_.EditorZoom.getZoomLevel(),l=v(b),p=0),o=Date.now(),p+=w.deltaY,l&&(_.EditorZoom.setZoomLevel(d+p/5),w.preventDefault(),w.stopPropagation())};this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.MOUSE_WHEEL,m,{capture:!0,passive:!1}));function v(b){return D.isMacintosh?(b.metaKey||b.ctrlKey)&&!b.shiftKey&&!b.altKey:b.ctrlKey&&!b.metaKey&&!b.shiftKey&&!b.altKey}}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(c){if(c.hasChanged(142)){const o=this._context.configuration.options.get(142).height;this._height!==o&&(this._height=o,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(c){return this._mouseDownOperation.onCursorStateChanged(c),!1}onFocusChanged(c){return!1}getTargetAtClientPoint(c,o){const l=new f.ClientCoordinates(c,o).toPageCoordinates(),p=(0,f.createEditorPagePosition)(this.viewHelper.viewDomNode);if(l.yp.y+p.height||l.xp.x+p.width)return null;const m=(0,f.createCoordinatesRelativeToEditor)(this.viewHelper.viewDomNode,p,l);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),p,l,m,null)}_createMouseTarget(c,o){let d=c.target;if(!this.viewHelper.viewDomNode.contains(d)){const l=L.getShadowRoot(this.viewHelper.viewDomNode);l&&(d=l.elementsFromPoint(c.posx,c.posy).find(p=>this.viewHelper.viewDomNode.contains(p)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),c.editorPos,c.pos,c.relativePos,o?d:null)}_getMouseColumn(c){return this.mouseTargetFactory.getMouseColumn(c.relativePos)}_onContextMenu(c,o){this.viewController.emitContextMenu({event:c,target:this._createMouseTarget(c,o)})}_onMouseMove(c){this.mouseTargetFactory.mouseTargetIsWidget(c)||c.preventDefault(),!(this._mouseDownOperation.isActive()||c.timestamp{c.preventDefault(),this.viewHelper.focusTextArea()};if(E&&(l||m&&v))I(),this._mouseDownOperation.start(d.type,c,o);else if(p)c.preventDefault();else if(b){const M=d.detail;E&&this.viewHelper.shouldSuppressMouseDownOnViewZone(M.viewZoneId)&&(I(),this._mouseDownOperation.start(d.type,c,o),c.preventDefault())}else w&&this.viewHelper.shouldSuppressMouseDownOnWidget(d.detail)&&(I(),c.preventDefault());this.viewController.emitMouseDown({event:c,target:d})}}e.MouseHandler=n;class t extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewController=o,this._viewHelper=d,this._mouseTargetFactory=l,this._createMouseTarget=p,this._getMouseColumn=m,this._mouseMoveMonitor=this._register(new f.GlobalEditorPointerMoveMonitor(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new a(this._context,this._viewHelper,this._mouseTargetFactory,(v,b,w)=>this._dispatchMouse(v,b,w))),this._mouseState=new h,this._currentSelection=new C.Selection(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(c){this._lastMouseEvent=c,this._mouseState.setModifiers(c);const o=this._findMousePosition(c,!1);o&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:c,target:o}):o.type===13&&(o.outsidePosition==="above"||o.outsidePosition==="below")?this._topBottomDragScrolling.start(o,c):(this._topBottomDragScrolling.stop(),this._dispatchMouse(o,!0,1)))}start(c,o,d){this._lastMouseEvent=o,this._mouseState.setStartedOnLineNumbers(c===3),this._mouseState.setStartButtons(o),this._mouseState.setModifiers(o);const l=this._findMousePosition(o,!0);if(!l||!l.position)return;this._mouseState.trySetCount(o.detail,l.position),o.detail=this._mouseState.count;const p=this._context.configuration.options;if(!p.get(89)&&p.get(34)&&!p.get(21)&&!this._mouseState.altKey&&o.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&l.type===6&&l.position&&this._currentSelection.containsPosition(l.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),m=>{const v=this._findMousePosition(this._lastMouseEvent,!1);m&&m instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:v?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(l,o.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,d,o.buttons,m=>this._onMouseDownThenMove(m),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(c){this._currentSelection=c.selections[0]}_getPositionOutsideEditor(c){const o=c.editorPos,d=this._context.viewModel,l=this._context.viewLayout,p=this._getMouseColumn(c);if(c.posyo.y+o.height){const v=c.posy-o.y-o.height,b=l.getCurrentScrollTop()+c.relativePos.y,w=S.HitTestContext.getZoneAtCoord(this._context,b);if(w){const I=this._helpPositionJumpOverViewZone(w);if(I)return S.MouseTarget.createOutsideEditor(p,I,"below",v)}const E=l.getLineNumberAtVerticalOffset(b);return S.MouseTarget.createOutsideEditor(p,new g.Position(E,d.getLineMaxColumn(E)),"below",v)}const m=l.getLineNumberAtVerticalOffset(l.getCurrentScrollTop()+c.relativePos.y);if(c.posxo.x+o.width){const v=c.posx-o.x-o.width;return S.MouseTarget.createOutsideEditor(p,new g.Position(m,d.getLineMaxColumn(m)),"right",v)}return null}_findMousePosition(c,o){const d=this._getPositionOutsideEditor(c);if(d)return d;const l=this._createMouseTarget(c,o);if(!l.position)return null;if(l.type===8||l.type===5){const m=this._helpPositionJumpOverViewZone(l.detail);if(m)return S.MouseTarget.createViewZone(l.type,l.element,l.mouseColumn,m,l.detail)}return l}_helpPositionJumpOverViewZone(c){const o=new g.Position(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),d=c.positionBefore,l=c.positionAfter;return d&&l?d.isBefore(o)?d:l:null}_dispatchMouse(c,o,d){c.position&&this._viewController.dispatchMouse({position:c.position,mouseColumn:c.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:d,inSelectionMode:o,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:c.type===6&&c.detail.injectedText!==null})}}class a extends y.Disposable{constructor(c,o,d,l){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._operation=null}dispose(){super.dispose(),this.stop()}start(c,o){this._operation?this._operation.setPosition(c,o):this._operation=new u(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,c,o)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class u extends y.Disposable{constructor(c,o,d,l,p,m){super(),this._context=c,this._viewHelper=o,this._mouseTargetFactory=d,this._dispatchMouse=l,this._position=p,this._mouseEvent=m,this._lastTime=Date.now(),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}dispose(){this._animationFrameDisposable.dispose()}setPosition(c,o){this._position=c,this._mouseEvent=o}_tick(){const c=Date.now(),o=c-this._lastTime;return this._lastTime=c,o}_getScrollSpeed(){const c=this._context.configuration.options.get(65),o=this._context.configuration.options.get(142).height/c,d=this._position.outsideDistance/c;return d<=1.5?Math.max(30,o*(1+d)):d<=3?Math.max(60,o*(2+d)):Math.max(200,o*(7+d))}_execute(){const c=this._context.configuration.options.get(65),o=this._getScrollSpeed(),d=this._tick(),l=o*(d/1e3)*c,p=this._position.outsidePosition==="above"?-l:l;this._context.viewModel.viewLayout.deltaScrollNow(0,p),this._viewHelper.renderNow();const m=this._context.viewLayout.getLinesViewportData(),v=this._position.outsidePosition==="above"?m.startLineNumber:m.endLineNumber;let b;{const w=(0,f.createEditorPagePosition)(this._viewHelper.viewDomNode),E=this._context.configuration.options.get(142).horizontalScrollbarHeight,I=new f.PageCoordinates(this._mouseEvent.pos.x,w.y+w.height-E-.1),M=(0,f.createCoordinatesRelativeToEditor)(this._viewHelper.viewDomNode,w,I);b=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),w,I,M,null)}(!b.position||b.position.lineNumber!==v)&&(this._position.outsidePosition==="above"?b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,1),"above",this._position.outsideDistance):b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new g.Position(v,this._context.viewModel.getLineMaxColumn(v)),"below",this._position.outsideDistance)),this._dispatchMouse(b,!0,2),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}}class h{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(c){this._altKey=c.altKey,this._ctrlKey=c.ctrlKey,this._metaKey=c.metaKey,this._shiftKey=c.shiftKey}setStartButtons(c){this._leftButton=c.leftButton,this._middleButton=c.middleButton}setStartedOnLineNumbers(c){this._startedOnLineNumbers=c}trySetCount(c,o){const d=new Date().getTime();d-this._lastSetMouseDownCountTime>h.CLEAR_MOUSE_DOWN_COUNT_TIME&&(c=1),this._lastSetMouseDownCountTime=d,c>this._lastMouseDownCount+1&&(c=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(o)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=o,this._lastMouseDownCount=Math.min(c,this._lastMouseDownPositionEqualCount)}}h.CLEAR_MOUSE_DOWN_COUNT_TIME=400}),define(ne[837],se([1,0,7,17,61,2,836,159,217,185]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PointerHandler=e.PointerEventHandler=void 0;class C extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,r=>this.onTap(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,r=>this.onChange(r))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,r=>this._onContextMenu(new f.EditorMouseEvent(r,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,"pointerdown",r=>{const c=r.pointerType;if(c==="mouse"){this._lastPointerType="mouse";return}else c==="touch"?this._lastPointerType="touch":this._lastPointerType="pen"}));const h=new f.EditorPointerEventFactory(this.viewHelper.viewDomNode);this._register(h.onPointerMove(this.viewHelper.viewDomNode,r=>this._onMouseMove(r))),this._register(h.onPointerUp(this.viewHelper.viewDomNode,r=>this._onMouseUp(r))),this._register(h.onPointerLeave(this.viewHelper.viewDomNode,r=>this._onMouseLeave(r))),this._register(h.onPointerDown(this.viewHelper.viewDomNode,(r,c)=>this._onMouseDown(r,c)))}onTap(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);a.position&&this.viewController.dispatchMouse({position:a.position,mouseColumn:a.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:a.type===6&&a.detail.injectedText!==null})}onChange(t){this._lastPointerType==="touch"&&this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}_onMouseDown(t,a){t.browserEvent.pointerType!=="touch"&&super._onMouseDown(t,a)}}e.PointerEventHandler=C;class s extends S.MouseHandler{constructor(t,a,u){super(t,a,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,h=>this.onTap(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,h=>this.onChange(h))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,h=>this._onContextMenu(new f.EditorMouseEvent(h,!1,this.viewHelper.viewDomNode),!1)))}onTap(t){t.preventDefault(),this.viewHelper.focusTextArea();const a=this._createMouseTarget(new f.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);if(a.position){const u=document.createEvent("CustomEvent");u.initEvent(g.TextAreaSyntethicEvents.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(u),this.viewController.moveTo(a.position,1)}}onChange(t){this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}}class i extends D.Disposable{constructor(t,a,u){super(),k.isIOS&&_.BrowserFeatures.pointerEvents?this.handler=this._register(new C(t,a,u)):window.TouchEvent?this.handler=this._register(new s(t,a,u)):this.handler=this._register(new S.MouseHandler(t,a,u))}getTargetAtClientPoint(t,a){return this.handler.getTargetAtClientPoint(t,a)}}e.PointerHandler=i}),define(ne[838],se([1,0,173,13,17,59,144,229,53,477,251,12,5,421]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewLines=void 0;class n{constructor(){this._currentVisibleRange=new i.Range(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(r){this._currentVisibleRange=r}}class t{constructor(r,c,o,d,l,p,m){this.minimalReveal=r,this.lineNumber=c,this.startColumn=o,this.endColumn=d,this.startScrollTop=l,this.stopScrollTop=p,this.scrollType=m,this.type="range",this.minLineNumber=c,this.maxLineNumber=c}}class a{constructor(r,c,o,d,l){this.minimalReveal=r,this.selections=c,this.startScrollTop=o,this.stopScrollTop=d,this.scrollType=l,this.type="selections";let p=c[0].startLineNumber,m=c[0].endLineNumber;for(let v=1,b=c.length;v{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new k.RunOnceScheduler(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new n,this._horizontalRevealRequest=null,this._stickyScrollEnabled=d.get(113).enabled,this._maxNumberStickyLines=d.get(113).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new C.ViewLine(this._viewLineOptions)}onConfigurationChanged(r){this._visibleLines.onConfigurationChanged(r),r.hasChanged(143)&&(this._maxLineWidth=0);const c=this._context.configuration.options,o=c.get(49),d=c.get(143);return this._lineHeight=c.get(65),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=d.isViewportWrapping,this._revealHorizontalRightPadding=c.get(98),this._cursorSurroundingLines=c.get(28),this._cursorSurroundingLinesStyle=c.get(29),this._canUseLayerHinting=!c.get(31),this._stickyScrollEnabled=c.get(113).enabled,this._maxNumberStickyLines=c.get(113).maxLineCount,(0,D.applyFontInfo)(this.domNode,o),this._onOptionsMaybeChanged(),r.hasChanged(142)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const r=this._context.configuration,c=new C.ViewLineOptions(r,this._context.theme.type);if(!this._viewLineOptions.equals(c)){this._viewLineOptions=c;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=!1;for(let l=c;l<=o;l++)d=this._visibleLines.getVisibleLine(l).onSelectionChanged()||d;return d}onDecorationsChanged(r){{const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let d=c;d<=o;d++)this._visibleLines.getVisibleLine(d).onDecorationsChanged()}return!0}onFlushed(r){const c=this._visibleLines.onFlushed(r);return this._maxLineWidth=0,c}onLinesChanged(r){return this._visibleLines.onLinesChanged(r)}onLinesDeleted(r){return this._visibleLines.onLinesDeleted(r)}onLinesInserted(r){return this._visibleLines.onLinesInserted(r)}onRevealRangeRequest(r){const c=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),r.source,r.minimalReveal,r.range,r.selections,r.verticalType);if(c===-1)return!1;let o=this._context.viewLayout.validateScrollPosition({scrollTop:c});r.revealHorizontal?r.range&&r.range.startLineNumber!==r.range.endLineNumber?o={scrollTop:o.scrollTop,scrollLeft:0}:r.range?this._horizontalRevealRequest=new t(r.minimalReveal,r.range.startLineNumber,r.range.startColumn,r.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType):r.selections&&r.selections.length>0&&(this._horizontalRevealRequest=new a(r.minimalReveal,r.selections,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,r.scrollType)):this._horizontalRevealRequest=null;const l=Math.abs(this._context.viewLayout.getCurrentScrollTop()-o.scrollTop)<=this._lineHeight?1:r.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(o,l),!0}onScrollChanged(r){if(this._horizontalRevealRequest&&r.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&r.scrollTopChanged){const c=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),o=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(r.scrollTopo)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(r.scrollWidth),this._visibleLines.onScrollChanged(r)||!0}onTokensChanged(r){return this._visibleLines.onTokensChanged(r)}onZonesChanged(r){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(r)}onThemeChanged(r){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(r,c){const o=this._getViewLineDomNode(r);if(o===null)return null;const d=this._getLineNumberFor(o);if(d===-1||d<1||d>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(d)===1)return new s.Position(d,1);const l=this._visibleLines.getStartLineNumber(),p=this._visibleLines.getEndLineNumber();if(dp)return null;let m=this._visibleLines.getVisibleLine(d).getColumnOfNodeOffset(r,c);const v=this._context.viewModel.getLineMinColumn(d);return mo)return-1;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getWidth(d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}linesVisibleRangesForRange(r,c){if(this.shouldRender())return null;const o=r.endLineNumber,d=i.Range.intersectRanges(r,this._lastRenderedData.getCurrentVisibleRange());if(!d)return null;const l=[];let p=0;const m=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot);let v=0;c&&(v=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(d.startLineNumber,1)).lineNumber);const b=this._visibleLines.getStartLineNumber(),w=this._visibleLines.getEndLineNumber();for(let E=d.startLineNumber;E<=d.endLineNumber;E++){if(Ew)continue;const I=E===d.startLineNumber?d.startColumn:1,M=E!==d.endLineNumber,P=M?this._context.viewModel.getLineMaxColumn(E):d.endColumn,x=this._visibleLines.getVisibleLine(E).getVisibleRangesForRange(E,I,P,m);if(x){if(c&&Ethis._visibleLines.getEndLineNumber())return null;const d=new g.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),l=this._visibleLines.getVisibleLine(r).getVisibleRangesForRange(r,c,o,d);return this._updateLineWidthsSlowIfDomDidLayout(d),l}visibleRangeForPosition(r){const c=this._visibleRangesForLineRange(r.lineNumber,r.column,r.column);return c?new S.HorizontalPosition(c.outsideRenderedLine,c.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(r){r.didDomLayout&&(this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow()))}_updateLineWidths(r){const c=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let d=1,l=!0;for(let p=c;p<=o;p++){const m=this._visibleLines.getVisibleLine(p);if(r&&!m.getWidthIsFast()){l=!1;continue}d=Math.max(d,m.getWidth(null))}return l&&c===1&&o===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(d),l}_checkMonospaceFontAssumptions(){let r=-1,c=-1;const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++){const p=this._visibleLines.getVisibleLine(l);if(p.needsMonospaceFontCheck()){const m=p.getWidth(null);m>c&&(c=m,r=l)}}if(r!==-1&&!this._visibleLines.getVisibleLine(r).monospaceAssumptionsAreValid())for(let l=o;l<=d;l++)this._visibleLines.getVisibleLine(l).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(r){if(this._visibleLines.renderLines(r),this._lastRenderedData.setCurrentVisibleRange(r.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const o=this._horizontalRevealRequest;if(r.startLineNumber<=o.minLineNumber&&o.maxLineNumber<=r.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const d=this._computeScrollLeftToReveal(o);d&&(this._isViewportWrapping||this._ensureMaxLineWidth(d.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:d.scrollLeft},o.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.isLinux&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const o=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let l=o;l<=d;l++)if(this._visibleLines.getVisibleLine(l).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const c=this._context.viewLayout.getCurrentScrollTop()-r.bigNumbersDelta;this._linesContent.setTop(-c),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(r){const c=Math.ceil(r);this._maxLineWidth0){let A=l[0].startLineNumber,N=l[0].endLineNumber;for(let F=1,O=l.length;Fv){if(!w)return-1;T=E}else if(p===5||p===6)if(p===6&&m<=E&&I<=b)T=m;else{const A=Math.max(5*this._lineHeight,v*.2),N=E-A,F=I-v;T=Math.max(F,N)}else if(p===1||p===2)if(p===2&&m<=E&&I<=b)T=m;else{const A=(E+I)/2;T=Math.max(0,A-v/2)}else T=this._computeMinimumScrolling(m,b,E,I,p===3,p===4);return T}_computeScrollLeftToReveal(r){const c=this._context.viewLayout.getCurrentViewport(),o=this._context.configuration.options.get(142),d=c.left,l=d+c.width-o.verticalScrollbarWidth;let p=1073741824,m=0;if(r.type==="range"){const b=this._visibleRangesForLineRange(r.lineNumber,r.startColumn,r.endColumn);if(!b)return null;for(const w of b.ranges)p=Math.min(p,Math.round(w.left)),m=Math.max(m,Math.round(w.left+w.width))}else for(const b of r.selections){if(b.startLineNumber!==b.endLineNumber)return null;const w=this._visibleRangesForLineRange(b.startLineNumber,b.startColumn,b.endColumn);if(!w)return null;for(const E of w.ranges)p=Math.min(p,Math.round(E.left)),m=Math.max(m,Math.round(E.left+E.width))}return r.minimalReveal||(p=Math.max(0,p-u.HORIZONTAL_EXTRA_PX),m+=this._revealHorizontalRightPadding),r.type==="selections"&&m-p>c.width?null:{scrollLeft:this._computeMinimumScrolling(d,l,p,m),maxHorizontalOffset:m}}_computeMinimumScrolling(r,c,o,d,l,p){r=r|0,c=c|0,o=o|0,d=d|0,l=!!l,p=!!p;const m=c-r;if(d-oc)return Math.max(0,d-m)}else return o;return r}}e.ViewLines=u,u.HORIZONTAL_EXTRA_PX=30}),define(ne[356],se([1,0,7,44,68,226,222,14,13,384,106,9,6,120,2,17,11,734,339,100,22,88,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputList=e.QuickInputListFocus=void 0;const l=L.$;class p{constructor(T,A,N,F,O,W,U){var j,R,K;this._checked=!1,this._hidden=!1,this.hasCheckbox=F,this.index=N,this.fireButtonTriggered=O,this.fireSeparatorButtonTriggered=W,this._onChecked=U,this.onChecked=F?i.Event.map(i.Event.filter(this._onChecked.event,G=>G.listElement===this),G=>G.checked):i.Event.None,T.type==="separator"?this._separator=T:(this.item=T,A&&A.type==="separator"&&!A.buttons&&(this._separator=A),this.saneDescription=this.item.description,this.saneDetail=this.item.detail,this._labelHighlights=(j=this.item.highlights)===null||j===void 0?void 0:j.label,this._descriptionHighlights=(R=this.item.highlights)===null||R===void 0?void 0:R.description,this._detailHighlights=(K=this.item.highlights)===null||K===void 0?void 0:K.detail,this.saneTooltip=this.item.tooltip),this._init=new c.Lazy(()=>{var G;const Z=(G=T.label)!==null&&G!==void 0?G:"",J=(0,n.parseLabelWithIcons)(Z).text.trim(),X=T.ariaLabel||[Z,this.saneDescription,this.saneDetail].map(H=>(0,n.getCodiconAriaLabel)(H)).filter(H=>!!H).join(", ");return{saneLabel:Z,saneSortLabel:J,saneAriaLabel:X}})}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(T){this._element=T}get hidden(){return this._hidden}set hidden(T){this._hidden=T}get checked(){return this._checked}set checked(T){T!==this._checked&&(this._checked=T,this._onChecked.fire({listElement:this,checked:T}))}get separator(){return this._separator}set separator(T){this._separator=T}get labelHighlights(){return this._labelHighlights}set labelHighlights(T){this._labelHighlights=T}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(T){this._descriptionHighlights=T}get detailHighlights(){return this._detailHighlights}set detailHighlights(T){this._detailHighlights=T}}class m{constructor(T){this.themeService=T}get templateId(){return m.ID}renderTemplate(T){const A=Object.create(null);A.toDisposeElement=[],A.toDisposeTemplate=[],A.entry=L.append(T,l(".quick-input-list-entry"));const N=L.append(A.entry,l("label.quick-input-list-label"));A.toDisposeTemplate.push(L.addStandardDisposableListener(N,L.EventType.CLICK,R=>{A.checkbox.offsetParent||R.preventDefault()})),A.checkbox=L.append(N,l("input.quick-input-list-checkbox")),A.checkbox.type="checkbox",A.toDisposeTemplate.push(L.addStandardDisposableListener(A.checkbox,L.EventType.CHANGE,R=>{A.element.checked=A.checkbox.checked}));const F=L.append(N,l(".quick-input-list-rows")),O=L.append(F,l(".quick-input-list-row")),W=L.append(F,l(".quick-input-list-row"));A.label=new D.IconLabel(O,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),A.icon=L.prepend(A.label.element,l(".quick-input-list-icon"));const U=L.append(O,l(".quick-input-list-entry-keybinding"));A.keybinding=new S.KeybindingLabel(U,a.OS);const j=L.append(W,l(".quick-input-list-label-meta"));return A.detail=new D.IconLabel(j,{supportHighlights:!0,supportIcons:!0}),A.separator=L.append(A.entry,l(".quick-input-list-separator")),A.actionBar=new y.ActionBar(A.entry),A.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),A.toDisposeTemplate.push(A.actionBar),A}renderElement(T,A,N){var F,O,W,U;N.element=T,T.element=(F=N.entry)!==null&&F!==void 0?F:void 0;const j=T.item?T.item:T.separator;N.checkbox.checked=T.checked,N.toDisposeElement.push(T.onChecked(X=>N.checkbox.checked=X));const{labelHighlights:R,descriptionHighlights:K,detailHighlights:G}=T;if(!((O=T.item)===null||O===void 0)&&O.iconPath){const X=(0,d.isDark)(this.themeService.getColorTheme().type)?T.item.iconPath.dark:(W=T.item.iconPath.light)!==null&&W!==void 0?W:T.item.iconPath.dark,H=o.URI.revive(X);N.icon.className="quick-input-list-icon",N.icon.style.backgroundImage=L.asCSSUrl(H)}else N.icon.style.backgroundImage="",N.icon.className=!((U=T.item)===null||U===void 0)&&U.iconClass?`quick-input-list-icon ${T.item.iconClass}`:"";const Z={matches:R||[],descriptionTitle:T.saneDescription,descriptionMatches:K||[],labelEscapeNewLines:!0};j.type!=="separator"?(Z.extraClasses=j.iconClasses,Z.italic=j.italic,Z.strikethrough=j.strikethrough,N.entry.classList.remove("quick-input-list-separator-as-item")):N.entry.classList.add("quick-input-list-separator-as-item"),N.label.setLabel(T.saneLabel,T.saneDescription,Z),N.keybinding.set(j.type==="separator"?void 0:j.keybinding),T.saneDetail?(N.detail.element.style.display="",N.detail.setLabel(T.saneDetail,void 0,{matches:G,title:T.saneDetail,labelEscapeNewLines:!0})):N.detail.element.style.display="none",T.item&&T.separator&&T.separator.label?(N.separator.textContent=T.separator.label,N.separator.style.display=""):N.separator.style.display="none",N.entry.classList.toggle("quick-input-list-separator-border",!!T.separator);const J=j.buttons;J&&J.length?(N.actionBar.push(J.map((X,H)=>{let B=X.iconClass||(X.iconPath?(0,r.getIconClass)(X.iconPath):void 0);return X.alwaysVisible&&(B=B?`${B} always-visible`:"always-visible"),{id:`id-${H}`,class:B,enabled:!0,label:"",tooltip:X.tooltip||"",run:()=>{j.type!=="separator"?T.fireButtonTriggered({button:X,item:j}):T.fireSeparatorButtonTriggered({button:X,separator:j})}}}),{icon:!0,label:!1}),N.entry.classList.add("has-actions")):N.entry.classList.remove("has-actions")}disposeElement(T,A,N){N.toDisposeElement=(0,t.dispose)(N.toDisposeElement),N.actionBar.clear()}disposeTemplate(T){T.toDisposeElement=(0,t.dispose)(T.toDisposeElement),T.toDisposeTemplate=(0,t.dispose)(T.toDisposeTemplate)}}m.ID="listelement";class v{getHeight(T){return T.item?T.saneDetail?44:22:24}getTemplateId(T){return m.ID}}var b;(function(x){x[x.First=1]="First",x[x.Second=2]="Second",x[x.Last=3]="Last",x[x.Next=4]="Next",x[x.Previous=5]="Previous",x[x.NextPage=6]="NextPage",x[x.PreviousPage=7]="PreviousPage"})(b||(e.QuickInputListFocus=b={}));class w{constructor(T,A,N,F){this.parent=T,this.options=N,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.sortByLabel=!0,this._onChangedAllVisibleChecked=new i.Emitter,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new i.Emitter,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new i.Emitter,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new i.Emitter,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new i.Emitter,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new i.Emitter,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onKeyDown=new i.Emitter,this.onKeyDown=this._onKeyDown.event,this._onLeave=new i.Emitter,this.onLeave=this._onLeave.event,this._listElementChecked=new i.Emitter,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=A,this.container=L.append(this.parent,l(".quick-input-list"));const O=new v,W=new P;if(this.list=N.createList("QuickInput",this.container,O,[new m(F)],{identityProvider:{getId:U=>{var j,R,K,G,Z,J,X,H;return(H=(J=(G=(R=(j=U.item)===null||j===void 0?void 0:j.id)!==null&&R!==void 0?R:(K=U.item)===null||K===void 0?void 0:K.label)!==null&&G!==void 0?G:(Z=U.separator)===null||Z===void 0?void 0:Z.id)!==null&&J!==void 0?J:(X=U.separator)===null||X===void 0?void 0:X.label)!==null&&H!==void 0?H:""}},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:W}),this.list.getHTMLElement().id=A,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(U=>{const j=new k.StandardKeyboardEvent(U);switch(j.keyCode){case 10:this.toggleCheckbox();break;case 31:(a.isMacintosh?U.metaKey:U.ctrlKey)&&this.list.setFocus((0,f.range)(this.list.length));break;case 16:{const R=this.list.getFocus();R.length===1&&R[0]===0&&this._onLeave.fire();break}case 18:{const R=this.list.getFocus();R.length===1&&R[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(j)})),this.disposables.push(this.list.onMouseDown(U=>{U.browserEvent.button!==2&&U.browserEvent.preventDefault()})),this.disposables.push(L.addDisposableListener(this.container,L.EventType.CLICK,U=>{(U.x||U.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(U=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(U=>{typeof U.index=="number"&&(U.browserEvent.preventDefault(),this.list.setSelection([U.index]))})),N.hoverDelegate){const U=new _.ThrottledDelayer(N.hoverDelegate.delay);this.disposables.push(this.list.onMouseOver(j=>we(this,void 0,void 0,function*(){var R;if(j.browserEvent.target instanceof HTMLAnchorElement){U.cancel();return}if(!(!(j.browserEvent.relatedTarget instanceof HTMLAnchorElement)&&L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)))try{yield U.trigger(()=>we(this,void 0,void 0,function*(){j.element&&this.showHover(j.element)}))}catch(K){if(!(0,s.isCancellationError)(K))throw K}}))),this.disposables.push(this.list.onMouseOut(j=>{var R;L.isAncestor(j.browserEvent.relatedTarget,(R=j.element)===null||R===void 0?void 0:R.element)||U.cancel()})),this.disposables.push(U)}this.disposables.push(this._listElementChecked.event(U=>this.fireCheckedEvents())),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onSeparatorButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return i.Event.map(this.list.onDidChangeFocus,T=>T.elements.map(A=>A.item))}get onDidChangeSelection(){return i.Event.map(this.list.onDidChangeSelection,T=>({items:T.elements.map(A=>A.item),event:T.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(T){this.list.scrollTop=T}get ariaLabel(){return this.list.getHTMLElement().ariaLabel}set ariaLabel(T){this.list.getHTMLElement().ariaLabel=T}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(T,A=!0){for(let N=0,F=T.length;N{A.hidden||(A.checked=T)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(T){this.elementDisposables=(0,t.dispose)(this.elementDisposables);const A=W=>this.fireButtonTriggered(W),N=W=>this.fireSeparatorButtonTriggered(W);this.inputElements=T;const F=new Map,O=this.parent.classList.contains("show-checkboxes");this.elements=T.reduce((W,U,j)=>{var R;const K=j>0?T[j-1]:void 0;if(U.type==="separator"&&!U.buttons)return W;const G=new p(U,K,j,O,A,N,this._listElementChecked),Z=W.length;return W.push(G),F.set((R=G.item)!==null&&R!==void 0?R:G.separator,Z),W},[]),this.elementsToIndexes=F,this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(T=>T.item)}setFocusedElements(T){if(this.list.setFocus(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A))),T.length>0){const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(T){this.list.setSelection(T.filter(A=>this.elementsToIndexes.has(A)).map(A=>this.elementsToIndexes.get(A)))}getCheckedElements(){return this.elements.filter(T=>T.checked).map(T=>T.item).filter(T=>!!T)}setCheckedElements(T){try{this._fireCheckedEvents=!1;const A=new Set;for(const N of T)A.add(N);for(const N of this.elements)N.checked=A.has(N.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(T){this.list.getHTMLElement().style.pointerEvents=T?"":"none"}focus(T){if(!this.list.length)return;switch(T===b.Second&&this.list.length<2&&(T=b.First),T){case b.First:this.list.scrollTop=0,this.list.focusFirst(void 0,N=>!!N.item);break;case b.Second:this.list.scrollTop=0,this.list.focusNth(1,void 0,N=>!!N.item);break;case b.Last:this.list.scrollTop=this.list.scrollHeight,this.list.focusLast(void 0,N=>!!N.item);break;case b.Next:{this.list.focusNext(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.Previous:{this.list.focusPrevious(void 0,!0,void 0,F=>!!F.item);const N=this.list.getFocus()[0];N!==0&&!this.elements[N-1].item&&this.list.firstVisibleIndex>N-1&&this.list.reveal(N-1);break}case b.NextPage:this.list.focusNextPage(void 0,N=>!!N.item);break;case b.PreviousPage:this.list.focusPreviousPage(void 0,N=>!!N.item);break}const A=this.list.getFocus()[0];typeof A=="number"&&this.list.reveal(A)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}showHover(T){var A,N,F;this.options.hoverDelegate!==void 0&&(this._lastHover&&!this._lastHover.isDisposed&&((N=(A=this.options.hoverDelegate).onDidHideHover)===null||N===void 0||N.call(A),(F=this._lastHover)===null||F===void 0||F.dispose()),!(!T.element||!T.saneTooltip)&&(this._lastHover=this.options.hoverDelegate.showHover({content:T.saneTooltip,target:T.element,linkHandler:O=>{this.options.linkOpenerDelegate(O)},showPointer:!0,container:this.container,hoverPosition:1},!1)))}layout(T){this.list.getHTMLElement().style.maxHeight=T?`${Math.floor(T/44)*44+6}px`:"",this.list.layout()}filter(T){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const A=T;if(T=T.trim(),!T||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(F=>{F.labelHighlights=void 0,F.descriptionHighlights=void 0,F.detailHighlights=void 0,F.hidden=!1;const O=F.index&&this.inputElements[F.index-1];F.item&&(F.separator=O&&O.type==="separator"&&!O.buttons?O:void 0)});else{let F;this.elements.forEach(O=>{var W,U,j,R;let K;this.matchOnLabelMode==="fuzzy"?K=this.matchOnLabel&&(W=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&W!==void 0?W:void 0:K=this.matchOnLabel&&(U=E(A,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&U!==void 0?U:void 0;const G=this.matchOnDescription&&(j=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDescription||"")))!==null&&j!==void 0?j:void 0,Z=this.matchOnDetail&&(R=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDetail||"")))!==null&&R!==void 0?R:void 0;if(K||G||Z?(O.labelHighlights=K,O.descriptionHighlights=G,O.detailHighlights=Z,O.hidden=!1):(O.labelHighlights=void 0,O.descriptionHighlights=void 0,O.detailHighlights=void 0,O.hidden=O.item?!O.item.alwaysShow:!0),O.item?O.separator=void 0:O.separator&&(O.hidden=!0),!this.sortByLabel){const J=O.index&&this.inputElements[O.index-1];F=J&&J.type==="separator"?J:F,F&&!O.hidden&&(O.separator=F,F=void 0)}})}const N=this.elements.filter(F=>!F.hidden);if(this.sortByLabel&&T){const F=T.toLowerCase();N.sort((O,W)=>M(O,W,F))}return this.elementsToIndexes=N.reduce((F,O,W)=>{var U;return F.set((U=O.item)!==null&&U!==void 0?U:O.separator,W),F},new Map),this.list.splice(0,this.list.length,N),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(N.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const T=this.list.getFocusedElements(),A=this.allVisibleChecked(T);for(const N of T)N.checked=!A}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(T){this.container.style.display=T?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=(0,t.dispose)(this.elementDisposables),this.disposables=(0,t.dispose)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(T){this._onButtonTriggered.fire(T)}fireSeparatorButtonTriggered(T){this._onSeparatorButtonTriggered.fire(T)}style(T){this.list.style(T)}toggleHover(){const T=this.list.getFocusedElements()[0];if(!T?.saneTooltip)return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}const A=this.list.getFocusedElements()[0];if(!A)return;this.showHover(A);const N=new t.DisposableStore;N.add(this.list.onDidChangeFocus(F=>{F.indexes.length&&this.showHover(F.elements[0])})),this._lastHover&&N.add(this._lastHover),this._toggleHover=N,this.elementDisposables.push(this._toggleHover)}}e.QuickInputList=w,ke([C.memoize],w.prototype,"onDidChangeFocus",null),ke([C.memoize],w.prototype,"onDidChangeSelection",null);function E(x,T){const{text:A,iconOffsets:N}=T;if(!N||N.length===0)return I(x,A);const F=(0,u.ltrim)(A," "),O=A.length-F.length,W=I(x,F);if(W)for(const U of W){const j=N[U.start+O]+O;U.start+=j,U.end+=j}return W}function I(x,T){const A=T.toLowerCase().indexOf(x.toLowerCase());return A!==-1?[{start:A,end:A+x.length}]:null}function M(x,T,A){const N=x.labelHighlights||[],F=T.labelHighlights||[];return N.length&&!F.length?-1:!N.length&&F.length?1:N.length===0&&F.length===0?0:(0,g.compareAnything)(x.saneSortLabel,T.saneSortLabel,A)}class P{getWidgetAriaLabel(){return(0,h.localize)(0,null)}getAriaLabel(T){var A;return!((A=T.separator)===null||A===void 0)&&A.label?`${T.saneAriaLabel}, ${T.separator.label}`:T.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(T){return T.hasCheckbox?"checkbox":"option"}isChecked(T){if(T.hasCheckbox)return{value:T.checked,onDidChange:T.onChecked}}}}),define(ne[839],se([1,0,7,44,153,39,14,13,25,6,2,17,101,26,732,71,356,339,174]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputBox=e.QuickPick=e.backButton=void 0,e.backButton={iconClass:n.ThemeIcon.asClassName(_.Codicon.quickInputBack),tooltip:(0,t.localize)(0,null),handle:-1};class r extends C.Disposable{constructor(l){super(),this.ui=l,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=r.noPromptMessage,this._severity=i.default.Ignore,this.onDidTriggerButtonEmitter=this._register(new g.Emitter),this.onDidHideEmitter=this._register(new g.Emitter),this.onDisposeEmitter=this._register(new g.Emitter),this.visibleDisposables=this._register(new C.DisposableStore),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(l){this._title=l,this.update()}get description(){return this._description}set description(l){this._description=l,this.update()}get step(){return this._steps}set step(l){this._steps=l,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(l){this._totalSteps=l,this.update()}get enabled(){return this._enabled}set enabled(l){this._enabled=l,this.update()}get contextKey(){return this._contextKey}set contextKey(l){this._contextKey=l,this.update()}get busy(){return this._busy}set busy(l){this._busy=l,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(l){const p=this._ignoreFocusOut!==l&&!s.isIOS;this._ignoreFocusOut=l&&!s.isIOS,p&&this.update()}get buttons(){return this._buttons}set buttons(l){this._buttons=l,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(l){this._toggles=l??[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(l){this._validationMessage=l,this.update()}get severity(){return this._severity}set severity(l){this._severity=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(l=>{this.buttons.indexOf(l)!==-1&&this.onDidTriggerButtonEmitter.fire(l)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(l=a.QuickInputHideReason.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:l})}update(){var l,p;if(!this.visible)return;const m=this.getTitle();m&&this.ui.title.textContent!==m?this.ui.title.textContent=m:!m&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0");const v=this.getDescription();if(this.ui.description1.textContent!==v&&(this.ui.description1.textContent=v),this.ui.description2.textContent!==v&&(this.ui.description2.textContent=v),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?L.reset(this.ui.widget,this._widget):L.reset(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new f.TimeoutTimer,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const w=this.buttons.filter(I=>I===e.backButton);this.ui.leftActionBar.push(w.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const E=this.buttons.filter(I=>I!==e.backButton);this.ui.rightActionBar.push(E.map((I,M)=>{const P=new D.Action(`id-${M}`,"",I.iconClass||(0,h.getIconClass)(I.iconPath),!0,()=>we(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(I)}));return P.tooltip=I.tooltip||"",P}),{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const w=(p=(l=this.toggles)===null||l===void 0?void 0:l.filter(E=>E instanceof y.Toggle))!==null&&p!==void 0?p:[];this.ui.inputBox.toggles=w}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const b=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==b&&(this._lastValidationMessage=b,L.reset(this.ui.message),(0,h.renderQuickInputDescription)(b,this.ui.message,{callback:w=>{this.ui.linkOpenerDelegate(w)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,t.localize)(2,null,this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(l){if(this.ui.inputBox.showDecoration(l),l!==i.default.Ignore){const p=this.ui.inputBox.stylesForType(l);this.ui.message.style.color=p.foreground?`${p.foreground}`:"",this.ui.message.style.backgroundColor=p.background?`${p.background}`:"",this.ui.message.style.border=p.border?`1px solid ${p.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}r.noPromptMessage=(0,t.localize)(1,null);class c extends r{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new g.Emitter),this.onWillAcceptEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidCustomEmitter=this._register(new g.Emitter),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=a.ItemActivation.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new g.Emitter),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new g.Emitter),this.onDidTriggerItemButtonEmitter=this._register(new g.Emitter),this.onDidTriggerSeparatorButtonEmitter=this._register(new g.Emitter),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=l=>l,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(l){this._quickNavigate=l,this.update()}get value(){return this._value}set value(l){this.doSetValue(l)}doSetValue(l,p){this._value!==l&&(this._value=l,p||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(l){this._ariaLabel=l,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(l){this.ui.list.scrollTop=l}set items(l){this._items=l,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(l){this._canSelectMany=l,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(l){this._canAcceptInBackground=l}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(l){this._matchOnDescription=l,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(l){this._matchOnDetail=l,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(l){this._matchOnLabel=l,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(l){this._matchOnLabelMode=l,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(l){this._sortByLabel=l,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(l){this._autoFocusOnList=l,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(l){this._keepScrollPosition=l}get itemActivation(){return this._itemActivation}set itemActivation(l){this._itemActivation=l}get activeItems(){return this._activeItems}set activeItems(l){this._activeItems=l,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(l){this._selectedItems=l,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?a.NO_KEY_MODS:this.ui.keyMods}set valueSelection(l){this._valueSelection=l,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(l){this._customButton=l,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(l){this._customButtonLabel=l,this.update()}get customHover(){return this._customButtonHover}set customHover(l){this._customButtonHover=l,this.update()}get ok(){return this._ok}set ok(l){this._ok=l,this.update()}get hideInput(){return!!this._hideInput}set hideInput(l){this._hideInput=l,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(u.QuickInputListFocus.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{this.doSetValue(l,!0)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(l=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(l=>{switch(l.keyCode){case 18:this.ui.list.focus(u.QuickInputListFocus.Next),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(u.QuickInputListFocus.Previous):this.ui.list.focus(u.QuickInputListFocus.Last),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 12:this.ui.list.focus(u.QuickInputListFocus.NextPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 11:this.ui.list.focus(u.QuickInputListFocus.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(l,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.First),L.EventHelper.stop(l,!0));break;case 13:(l.ctrlKey||l.metaKey)&&!l.shiftKey&&!l.altKey&&(this.ui.list.focus(u.QuickInputListFocus.Last),L.EventHelper.stop(l,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(l=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,S.equals)(l,this._activeItems,(p,m)=>p===m)||(this._activeItems=l,this.onDidChangeActiveEmitter.fire(l))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:l,event:p})=>{if(this.canSelectMany){l.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(m,v)=>m===v)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l),l.length&&this.handleAccept(p instanceof MouseEvent&&p.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(l=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(l,this._selectedItems,(p,m)=>p===m)||(this._selectedItems=l,this.onDidChangeSelectionEmitter.fire(l)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(l=>this.onDidTriggerItemButtonEmitter.fire(l))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(l=>this.onDidTriggerSeparatorButtonEmitter.fire(l))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(l){let p=!1;this.onWillAcceptEmitter.fire({veto:()=>p=!0}),p||this.onDidAcceptEmitter.fire({inBackground:l})}registerQuickNavigation(){return L.addDisposableListener(this.ui.container,L.EventType.KEY_UP,l=>{if(this.canSelectMany||!this._quickNavigate)return;const p=new k.StandardKeyboardEvent(l),m=p.keyCode;this._quickNavigate.keybindings.some(w=>{const E=w.getChords();return E.length>1?!1:E[0].shiftKey&&m===4?!(p.ctrlKey||p.altKey||p.metaKey):!!(E[0].altKey&&m===6||E[0].ctrlKey&&m===5||E[0].metaKey&&m===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const l=this.keepScrollPosition?this.scrollTop:0,p=!!this.description,m={title:!!this.title||!!this.step||!!this.buttons.length,description:p,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||p,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(m),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let v=this.ariaLabel;if(!v&&m.inputBox&&(v=this.placeholder||c.DEFAULT_ARIA_LABEL,this.title&&(v+=` - ${this.title}`)),this.ui.list.ariaLabel!==v&&(this.ui.list.ariaLabel=v??null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case a.ItemActivation.NONE:this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.SECOND:this.ui.list.focus(u.QuickInputListFocus.Second),this._itemActivation=a.ItemActivation.FIRST;break;case a.ItemActivation.LAST:this.ui.list.focus(u.QuickInputListFocus.Last),this._itemActivation=a.ItemActivation.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",m.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(u.QuickInputListFocus.First)),this.keepScrollPosition&&(this.scrollTop=l)}}e.QuickPick=c,c.DEFAULT_ARIA_LABEL=(0,t.localize)(3,null);class o extends r{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new g.Emitter),this.onDidAcceptEmitter=this._register(new g.Emitter),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(l){this._value=l||"",this.update()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.update()}get password(){return this._password}set password(l){this._password=l,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(l=>{l!==this.value&&(this._value=l,this.onDidValueChangeEmitter.fire(l))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");const l={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(l),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}e.InputBox=o}),define(ne[840],se([1,0,7,68,313,307,574,19,6,2,101,733,71,772,356,839]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputController=void 0;const u=L.$;class h extends g.Disposable{constructor(c,o){super(),this.options=c,this.themeService=o,this.enabled=!0,this.onDidAcceptEmitter=this._register(new _.Emitter),this.onDidCustomEmitter=this._register(new _.Emitter),this.onDidTriggerButtonEmitter=this._register(new _.Emitter),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new _.Emitter),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new _.Emitter),this.onHide=this.onHideEmitter.event,this.idPrefix=c.idPrefix,this.parentElement=c.container,this.styles=c.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const c=o=>{this.keyMods.ctrlCmd=o.ctrlKey||o.metaKey,this.keyMods.alt=o.altKey};this._register(L.addDisposableListener(window,L.EventType.KEY_DOWN,c,!0)),this._register(L.addDisposableListener(window,L.EventType.KEY_UP,c,!0)),this._register(L.addDisposableListener(window,L.EventType.MOUSE_DOWN,c,!0))}getUI(){if(this.ui)return this.ui;const c=L.append(this.parentElement,u(".quick-input-widget.show-file-icons"));c.tabIndex=-1,c.style.display="none";const o=L.createStyleSheet(c),d=L.append(c,u(".quick-input-titlebar")),l=this.options.hoverDelegate?{hoverDelegate:this.options.hoverDelegate}:void 0,p=this._register(new k.ActionBar(d,l));p.domNode.classList.add("quick-input-left-action-bar");const m=L.append(d,u(".quick-input-title")),v=this._register(new k.ActionBar(d,l));v.domNode.classList.add("quick-input-right-action-bar");const b=L.append(c,u(".quick-input-header")),w=L.append(b,u("input.quick-input-check-all"));w.type="checkbox",w.setAttribute("aria-label",(0,s.localize)(0,null)),this._register(L.addStandardDisposableListener(w,L.EventType.CHANGE,H=>{const B=w.checked;J.setAllVisibleChecked(B)})),this._register(L.addDisposableListener(w,L.EventType.CLICK,H=>{(H.x||H.y)&&P.setFocus()}));const E=L.append(b,u(".quick-input-description")),I=L.append(b,u(".quick-input-and-message")),M=L.append(I,u(".quick-input-filter")),P=this._register(new n.QuickInputBox(M,this.styles.inputBox,this.styles.toggle));P.setAttribute("aria-describedby",`${this.idPrefix}message`);const x=L.append(M,u(".quick-input-visible-count"));x.setAttribute("aria-live","polite"),x.setAttribute("aria-atomic","true");const T=new D.CountBadge(x,{countFormat:(0,s.localize)(1,null)},this.styles.countBadge),A=L.append(M,u(".quick-input-count"));A.setAttribute("aria-live","polite");const N=new D.CountBadge(A,{countFormat:(0,s.localize)(2,null)},this.styles.countBadge),F=L.append(b,u(".quick-input-action")),O=new y.Button(F,this.styles.button);O.label=(0,s.localize)(3,null),this._register(O.onDidClick(H=>{this.onDidAcceptEmitter.fire()}));const W=L.append(b,u(".quick-input-action")),U=new y.Button(W,this.styles.button);U.label=(0,s.localize)(4,null),this._register(U.onDidClick(H=>{this.onDidCustomEmitter.fire()}));const j=L.append(I,u(`#${this.idPrefix}message.quick-input-message`)),R=new S.ProgressBar(c,this.styles.progressBar);R.getContainer().classList.add("quick-input-progress");const K=L.append(c,u(".quick-input-html-widget"));K.tabIndex=-1;const G=L.append(c,u(".quick-input-description")),Z=this.idPrefix+"list",J=this._register(new t.QuickInputList(c,Z,this.options,this.themeService));P.setAttribute("aria-controls",Z),this._register(J.onDidChangeFocus(()=>{var H;P.setAttribute("aria-activedescendant",(H=J.getActiveDescendant())!==null&&H!==void 0?H:"")})),this._register(J.onChangedAllVisibleChecked(H=>{w.checked=H})),this._register(J.onChangedVisibleCount(H=>{T.setCount(H)})),this._register(J.onChangedCheckedCount(H=>{N.setCount(H)})),this._register(J.onLeave(()=>{setTimeout(()=>{P.setFocus(),this.controller instanceof a.QuickPick&&this.controller.canSelectMany&&J.clearFocus()},0)}));const X=L.trackFocus(c);return this._register(X),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{L.isAncestor(H.relatedTarget,c)||(this.previousFocusElement=H.relatedTarget instanceof HTMLElement?H.relatedTarget:void 0)},!0)),this._register(X.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(i.QuickInputHideReason.Blur),this.previousFocusElement=void 0})),this._register(L.addDisposableListener(c,L.EventType.FOCUS,H=>{P.setFocus()})),this._register(L.addStandardDisposableListener(c,L.EventType.KEY_DOWN,H=>{if(!L.isAncestor(H.target,K))switch(H.keyCode){case 3:L.EventHelper.stop(H,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:L.EventHelper.stop(H,!0),this.hide(i.QuickInputHideReason.Gesture);break;case 2:if(!H.altKey&&!H.ctrlKey&&!H.metaKey){const B=[".quick-input-list .monaco-action-bar .always-visible",".quick-input-list-entry:hover .monaco-action-bar",".monaco-list-row.focused .monaco-action-bar"];if(c.classList.contains("show-checkboxes")?B.push("input"):B.push("input[type=text]"),this.getUI().list.isDisplayed()&&B.push(".monaco-list"),this.getUI().message&&B.push(".quick-input-message a"),this.getUI().widget){if(L.isAncestor(H.target,this.getUI().widget))break;B.push(".quick-input-html-widget")}const V=c.querySelectorAll(B.join(", "));H.shiftKey&&H.target===V[0]?(L.EventHelper.stop(H,!0),J.clearFocus()):!H.shiftKey&&L.isAncestor(H.target,V[V.length-1])&&(L.EventHelper.stop(H,!0),V[0].focus())}break;case 10:H.ctrlKey&&(L.EventHelper.stop(H,!0),this.getUI().list.toggleHover());break}})),this.ui={container:c,styleSheet:o,leftActionBar:p,titleBar:d,title:m,description1:G,description2:E,widget:K,rightActionBar:v,checkAll:w,inputContainer:I,filterContainer:M,inputBox:P,visibleCountContainer:x,visibleCount:T,countContainer:A,count:N,okContainer:F,ok:O,message:j,customButtonContainer:W,customButton:U,list:J,progressBar:R,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:H=>this.show(H),hide:()=>this.hide(),setVisibilities:H=>this.setVisibilities(H),setEnabled:H=>this.setEnabled(H),setContextKey:H=>this.options.setContextKey(H),linkOpenerDelegate:H=>this.options.linkOpenerDelegate(H)},this.updateStyles(),this.ui}pick(c,o={},d=f.CancellationToken.None){return new Promise((l,p)=>{let m=E=>{var I;m=l,(I=o.onKeyMods)===null||I===void 0||I.call(o,v.keyMods),l(E)};if(d.isCancellationRequested){m(void 0);return}const v=this.createQuickPick();let b;const w=[v,v.onDidAccept(()=>{if(v.canSelectMany)m(v.selectedItems.slice()),v.hide();else{const E=v.activeItems[0];E&&(m(E),v.hide())}}),v.onDidChangeActive(E=>{const I=E[0];I&&o.onDidFocus&&o.onDidFocus(I)}),v.onDidChangeSelection(E=>{if(!v.canSelectMany){const I=E[0];I&&(m(I),v.hide())}}),v.onDidTriggerItemButton(E=>o.onDidTriggerItemButton&&o.onDidTriggerItemButton(Object.assign(Object.assign({},E),{removeItem:()=>{const I=v.items.indexOf(E.item);if(I!==-1){const M=v.items.slice(),P=M.splice(I,1),x=v.activeItems.filter(A=>A!==P[0]),T=v.keepScrollPosition;v.keepScrollPosition=!0,v.items=M,x&&(v.activeItems=x),v.keepScrollPosition=T}}}))),v.onDidTriggerSeparatorButton(E=>{var I;return(I=o.onDidTriggerSeparatorButton)===null||I===void 0?void 0:I.call(o,E)}),v.onDidChangeValue(E=>{b&&!E&&(v.activeItems.length!==1||v.activeItems[0]!==b)&&(v.activeItems=[b])}),d.onCancellationRequested(()=>{v.hide()}),v.onDidHide(()=>{(0,g.dispose)(w),m(void 0)})];v.title=o.title,v.canSelectMany=!!o.canPickMany,v.placeholder=o.placeHolder,v.ignoreFocusOut=!!o.ignoreFocusLost,v.matchOnDescription=!!o.matchOnDescription,v.matchOnDetail=!!o.matchOnDetail,v.matchOnLabel=o.matchOnLabel===void 0||o.matchOnLabel,v.autoFocusOnList=o.autoFocusOnList===void 0||o.autoFocusOnList,v.quickNavigate=o.quickNavigate,v.hideInput=!!o.hideInput,v.contextKey=o.contextKey,v.busy=!0,Promise.all([c,o.activeItem]).then(([E,I])=>{b=I,v.busy=!1,v.items=E,v.canSelectMany&&(v.selectedItems=E.filter(M=>M.type!=="separator"&&M.picked)),b&&(v.activeItems=[b])}),v.show(),Promise.resolve(c).then(void 0,E=>{p(E),v.hide()})})}createQuickPick(){const c=this.getUI();return new a.QuickPick(c)}createInputBox(){const c=this.getUI();return new a.InputBox(c)}show(c){const o=this.getUI();this.onShowEmitter.fire();const d=this.controller;this.controller=c,d?.didHide(),this.setEnabled(!0),o.leftActionBar.clear(),o.title.textContent="",o.description1.textContent="",o.description2.textContent="",L.reset(o.widget),o.rightActionBar.clear(),o.checkAll.checked=!1,o.inputBox.placeholder="",o.inputBox.password=!1,o.inputBox.showDecoration(C.default.Ignore),o.visibleCount.setCount(0),o.count.setCount(0),L.reset(o.message),o.progressBar.stop(),o.list.setElements([]),o.list.matchOnDescription=!1,o.list.matchOnDetail=!1,o.list.matchOnLabel=!0,o.list.sortByLabel=!0,o.ignoreFocusOut=!1,o.inputBox.toggles=void 0;const l=this.options.backKeybindingLabel();a.backButton.tooltip=l?(0,s.localize)(5,null,l):(0,s.localize)(6,null),o.container.style.display="",this.updateLayout(),o.inputBox.setFocus()}setVisibilities(c){const o=this.getUI();o.title.style.display=c.title?"":"none",o.description1.style.display=c.description&&(c.inputBox||c.checkAll)?"":"none",o.description2.style.display=c.description&&!(c.inputBox||c.checkAll)?"":"none",o.checkAll.style.display=c.checkAll?"":"none",o.inputContainer.style.display=c.inputBox?"":"none",o.filterContainer.style.display=c.inputBox?"":"none",o.visibleCountContainer.style.display=c.visibleCount?"":"none",o.countContainer.style.display=c.count?"":"none",o.okContainer.style.display=c.ok?"":"none",o.customButtonContainer.style.display=c.customButton?"":"none",o.message.style.display=c.message?"":"none",o.progressBar.getContainer().style.display=c.progressBar?"":"none",o.list.display(!!c.list),o.container.classList.toggle("show-checkboxes",!!c.checkBox),o.container.classList.toggle("hidden-input",!c.inputBox&&!c.description),this.updateLayout()}setEnabled(c){if(c!==this.enabled){this.enabled=c;for(const o of this.getUI().leftActionBar.viewItems)o.action.enabled=c;for(const o of this.getUI().rightActionBar.viewItems)o.action.enabled=c;this.getUI().checkAll.disabled=!c,this.getUI().inputBox.enabled=c,this.getUI().ok.enabled=c,this.getUI().list.enabled=c}}hide(c){var o,d,l;const p=this.controller;if(!p)return;const m=!L.isAncestor(document.activeElement,(d=(o=this.ui)===null||o===void 0?void 0:o.container)!==null&&d!==void 0?d:null);if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!m){let v=this.previousFocusElement;for(;v&&!v.offsetParent;)v=(l=v.parentElement)!==null&&l!==void 0?l:void 0;v?.offsetParent?(v.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}p.didHide(c)}layout(c,o){this.dimension=c,this.titleBarOffset=o,this.updateLayout()}updateLayout(){if(this.ui&&this.isDisplayed()){this.ui.container.style.top=`${this.titleBarOffset}px`;const c=this.ui.container.style,o=Math.min(this.dimension.width*.62,h.MAX_WIDTH);c.width=o+"px",c.marginLeft="-"+o/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(c){this.styles=c,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:c,quickInputBackground:o,quickInputForeground:d,widgetBorder:l,widgetShadow:p}=this.styles.widget;this.ui.titleBar.style.backgroundColor=c??"",this.ui.container.style.backgroundColor=o??"",this.ui.container.style.color=d??"",this.ui.container.style.border=l?`1px solid ${l}`:"",this.ui.container.style.boxShadow=p?`0 0 8px 2px ${p}`:"",this.ui.list.style(this.styles.list);const m=[];this.styles.pickerGroup.pickerGroupBorder&&m.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&m.push(".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(m.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&m.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&m.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&m.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&m.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&m.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),m.push("}"));const v=m.join(` -`);v!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=v)}}isDisplayed(){return this.ui&&this.ui.container.style.display!=="none"}}e.QuickInputController=h,h.MAX_WIDTH=600}),define(ne[23],se([1,0,6,2,8,37,88]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Themable=e.registerThemingParticipant=e.Extensions=e.getThemeTypeSelector=e.themeColorFromId=e.IThemeService=void 0,e.IThemeService=(0,y.createDecorator)("themeService");function f(n){return{id:n}}e.themeColorFromId=f;function _(n){switch(n){case S.ColorScheme.DARK:return"vs-dark";case S.ColorScheme.HIGH_CONTRAST_DARK:return"hc-black";case S.ColorScheme.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}e.getThemeTypeSelector=_,e.Extensions={ThemingContribution:"base.contributions.theming"};class g{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Emitter}onColorThemeChange(t){return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),(0,k.toDisposable)(()=>{const a=this.themingParticipants.indexOf(t);this.themingParticipants.splice(a,1)})}getThemingParticipants(){return this.themingParticipants}}const C=new g;D.Registry.add(e.Extensions.ThemingContribution,C);function s(n){return C.onColorThemeChange(n)}e.registerThemingParticipant=s;class i extends k.Disposable{constructor(t){super(),this.themeService=t,this.theme=t.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(a=>this.onThemeChange(a)))}onThemeChange(t){this.theme=t,this.updateStyles()}updateStyles(){}}e.Themable=i}),define(ne[841],se([1,0,6,2,64,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalStyleSheet=e.AbstractCodeEditorService=void 0;let S=class extends k.Disposable{constructor(g){super(),this._themeService=g,this._onWillCreateCodeEditor=this._register(new L.Emitter),this._onCodeEditorAdd=this._register(new L.Emitter),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new L.Emitter),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new L.Emitter),this._onDiffEditorAdd=this._register(new L.Emitter),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new L.Emitter),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new y.LinkedList,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(g){this._codeEditors[g.getId()]=g,this._onCodeEditorAdd.fire(g)}removeCodeEditor(g){delete this._codeEditors[g.getId()]&&this._onCodeEditorRemove.fire(g)}listCodeEditors(){return Object.keys(this._codeEditors).map(g=>this._codeEditors[g])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(g){this._diffEditors[g.getId()]=g,this._onDiffEditorAdd.fire(g)}removeDiffEditor(g){delete this._diffEditors[g.getId()]&&this._onDiffEditorRemove.fire(g)}listDiffEditors(){return Object.keys(this._diffEditors).map(g=>this._diffEditors[g])}getFocusedCodeEditor(){let g=null;const C=this.listCodeEditors();for(const s of C){if(s.hasTextFocus())return s;s.hasWidgetFocus()&&(g=s)}return g}removeDecorationType(g){const C=this._decorationOptionProviders.get(g);C&&(C.refCount--,C.refCount<=0&&(this._decorationOptionProviders.delete(g),C.dispose(),this.listCodeEditors().forEach(s=>s.removeDecorationsByType(g))))}setModelProperty(g,C,s){const i=g.toString();let n;this._modelProperties.has(i)?n=this._modelProperties.get(i):(n=new Map,this._modelProperties.set(i,n)),n.set(C,s)}getModelProperty(g,C){const s=g.toString();if(this._modelProperties.has(s))return this._modelProperties.get(s).get(C)}openCodeEditor(g,C,s){return we(this,void 0,void 0,function*(){for(const i of this._codeEditorOpenHandlers){const n=yield i(g,C,s);if(n!==null)return n}return null})}registerCodeEditorOpenHandler(g){const C=this._codeEditorOpenHandlers.unshift(g);return(0,k.toDisposable)(C)}};e.AbstractCodeEditorService=S,e.AbstractCodeEditorService=S=ke([fe(0,D.IThemeService)],S);class f{constructor(g){this._styleSheet=g}}e.GlobalStyleSheet=f}),define(ne[842],se([1,0,7,35,75,53,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScrollbar=void 0;class f extends D.ViewPart{constructor(g,C,s,i){super(g);const n=this._context.configuration.options,t=n.get(101),a=n.get(73),u=n.get(39),h=n.get(104),r={listenOnDomNode:s.domNode,className:"editor-scrollable "+(0,S.getThemeTypeSelector)(g.theme.type),useShadows:!1,lazyRender:!0,vertical:t.vertical,horizontal:t.horizontal,verticalHasArrows:t.verticalHasArrows,horizontalHasArrows:t.horizontalHasArrows,verticalScrollbarSize:t.verticalScrollbarSize,verticalSliderSize:t.verticalSliderSize,horizontalScrollbarSize:t.horizontalScrollbarSize,horizontalSliderSize:t.horizontalSliderSize,handleMouseWheel:t.handleMouseWheel,alwaysConsumeMouseWheel:t.alwaysConsumeMouseWheel,arrowSize:t.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:u,scrollPredominantAxis:h,scrollByPage:t.scrollByPage};this.scrollbar=this._register(new y.SmoothScrollableElement(C.domNode,r,this._context.viewLayout.getScrollable())),D.PartFingerprints.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,k.createFastDomNode)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const c=(o,d,l)=>{const p={};if(d){const m=o.scrollTop;m&&(p.scrollTop=this._context.viewLayout.getCurrentScrollTop()+m,o.scrollTop=0)}if(l){const m=o.scrollLeft;m&&(p.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+m,o.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(p,1)};this._register(L.addDisposableListener(s.domNode,"scroll",o=>c(s.domNode,!0,!0))),this._register(L.addDisposableListener(C.domNode,"scroll",o=>c(C.domNode,!0,!1))),this._register(L.addDisposableListener(i.domNode,"scroll",o=>c(i.domNode,!0,!1))),this._register(L.addDisposableListener(this.scrollbarDomNode.domNode,"scroll",o=>c(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const g=this._context.configuration.options,C=g.get(142);this.scrollbarDomNode.setLeft(C.contentLeft),g.get(71).side==="right"?this.scrollbarDomNode.setWidth(C.contentWidth+C.minimap.minimapWidth):this.scrollbarDomNode.setWidth(C.contentWidth),this.scrollbarDomNode.setHeight(C.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(g){this.scrollbar.delegateVerticalScrollbarPointerDown(g)}delegateScrollFromMouseWheelEvent(g){this.scrollbar.delegateScrollFromMouseWheelEvent(g)}onConfigurationChanged(g){if(g.hasChanged(101)||g.hasChanged(73)||g.hasChanged(39)){const C=this._context.configuration.options,s=C.get(101),i=C.get(73),n=C.get(39),t=C.get(104),a={vertical:s.vertical,horizontal:s.horizontal,verticalScrollbarSize:s.verticalScrollbarSize,horizontalScrollbarSize:s.horizontalScrollbarSize,scrollByPage:s.scrollByPage,handleMouseWheel:s.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:t};this.scrollbar.updateOptions(a)}return g.hasChanged(142)&&this._setLayout(),!0}onScrollChanged(g){return!0}onThemeChanged(g){return this.scrollbar.updateClassName("editor-scrollable "+(0,S.getThemeTypeSelector)(this._context.theme.type)),!0}prepareRender(g){}render(g){this.scrollbar.renderNow()}}e.EditorScrollbar=f}),define(ne[843],se([1,0,112,31,23,429]),function(Q,e,L,k,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionsOverlay=void 0;class D{constructor(i){this.left=i.left,this.width=i.width,this.startStyle=null,this.endStyle=null}}class S{constructor(i,n){this.lineNumber=i,this.ranges=n}}function f(s){return new D(s)}function _(s){return new S(s.lineNumber,s.ranges.map(f))}class g extends L.DynamicViewOverlay{constructor(i){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=i;const n=this._context.configuration.options;this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){const n=this._context.configuration.options;return this._lineHeight=n.get(65),this._roundedSelection=n.get(99),this._typicalHalfwidthCharacterWidth=n.get(49).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_visibleRangesHaveGaps(i){for(let n=0,t=i.length;n1)return!0;return!1}_enrichVisibleRangesWithStyle(i,n,t){const a=this._typicalHalfwidthCharacterWidth/4;let u=null,h=null;if(t&&t.length>0&&n.length>0){const r=n[0].lineNumber;if(r===i.startLineNumber)for(let o=0;!u&&o=0;o--)t[o].lineNumber===c&&(h=t[o].ranges[0]);u&&!u.startStyle&&(u=null),h&&!h.startStyle&&(h=null)}for(let r=0,c=n.length;r0){const v=n[r-1].ranges[0].left,b=n[r-1].ranges[0].left+n[r-1].ranges[0].width;C(d-v)v&&(p.top=1),C(l-b)'}_actualRenderOneSelection(i,n,t,a){if(a.length===0)return;const u=!!a[0].ranges[0].startStyle,h=this._lineHeight.toString(),r=(this._lineHeight-1).toString(),c=a[0].lineNumber,o=a[a.length-1].lineNumber;for(let d=0,l=a.length;d1,o)}this._previousFrameVisibleRangesWithStyle=u,this._renderResult=n.map(([h,r])=>h+r)}render(i,n){if(!this._renderResult)return"";const t=n-i;return t<0||t>=this._renderResult.length?"":this._renderResult[t]}}e.SelectionsOverlay=g,g.SELECTION_CLASS_NAME="selected-text",g.SELECTION_TOP_LEFT="top-left-radius",g.SELECTION_BOTTOM_LEFT="bottom-left-radius",g.SELECTION_TOP_RIGHT="top-right-radius",g.SELECTION_BOTTOM_RIGHT="bottom-right-radius",g.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",g.ROUNDED_PIECE_WIDTH=10,(0,y.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorSelectionForeground);n&&!n.isTransparent()&&i.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)});function C(s){return s<0?-s:s}}),define(ne[357],se([1,0,7,35,195,2,42,102,12,212,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerPart=void 0;let n=i=class extends D.Disposable{constructor(a,u,h,r,c,o,d,l){super(),this._editors=a,this._rootElement=u,this._diffModel=h,this._rootWidth=r,this._rootHeight=c,this._modifiedEditorLayoutInfo=o,this._options=d,this._themeService=l;const p=(0,S.observableFromEvent)(this._themeService.onDidColorThemeChange,()=>this._themeService.getColorTheme()),m=(0,S.derived)(w=>{const E=p.read(w),I=E.getColor(C.diffOverviewRulerInserted)||(E.getColor(C.diffInserted)||C.defaultInsertColor).transparent(2),M=E.getColor(C.diffOverviewRulerRemoved)||(E.getColor(C.diffRemoved)||C.defaultRemoveColor).transparent(2);return{insertColor:I,removeColor:M}}),v=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),b=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollHeight());this._register((0,S.autorunWithStore)((w,E)=>{if(!this._options.renderOverviewRuler.read(w))return;const I=(0,k.createFastDomNode)(document.createElement("div"));I.setClassName("diffViewport"),I.setPosition("absolute");const M=(0,L.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;E.add((0,f.appendRemoveOnDispose)(M,I.domNode)),E.add((0,L.addStandardDisposableListener)(M,L.EventType.POINTER_DOWN,P=>{this._editors.modified.delegateVerticalScrollbarPointerDown(P)})),E.add((0,L.addDisposableListener)(M,L.EventType.MOUSE_WHEEL,P=>{this._editors.modified.delegateScrollFromMouseWheelEvent(P)},{passive:!1})),E.add((0,f.appendRemoveOnDispose)(this._rootElement,M)),E.add((0,S.autorunWithStore)((P,x)=>{const T=this._diffModel.read(P),A=this._editors.original.createOverviewRuler("original diffOverviewRuler");A&&(x.add(A),x.add((0,f.appendRemoveOnDispose)(M,A.getDomNode())));const N=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(N&&(x.add(N),x.add((0,f.appendRemoveOnDispose)(M,N.getDomNode()))),!A||!N)return;const F=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.original.onDidChangeViewZones),O=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),W=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),U=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);x.add((0,S.autorun)(j=>{var R;F.read(j),O.read(j),W.read(j),U.read(j);const K=m.read(j),G=(R=T?.diff.read(j))===null||R===void 0?void 0:R.mappings;function Z(H,B,V){const Y=V._getViewModel();return Y?H.filter(ie=>ie.length>0).map(ie=>{const ae=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.startLineNumber,1)),ce=Y.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ie.endLineNumberExclusive,1)),de=ce.lineNumber-ae.lineNumber;return new g.OverviewRulerZone(ae.lineNumber,ce.lineNumber,de,B.toString())}):[]}const J=Z((G||[]).map(H=>H.lineRangeMapping.originalRange),K.removeColor,this._editors.original),X=Z((G||[]).map(H=>H.lineRangeMapping.modifiedRange),K.insertColor,this._editors.modified);A?.setZones(J),N?.setZones(X)})),x.add((0,S.autorun)(j=>{const R=this._rootHeight.read(j),K=this._rootWidth.read(j),G=this._modifiedEditorLayoutInfo.read(j);if(G){const Z=i.ENTIRE_DIFF_OVERVIEW_WIDTH-2*i.ONE_OVERVIEW_WIDTH;A.setLayout({top:0,height:R,right:Z+i.ONE_OVERVIEW_WIDTH,width:i.ONE_OVERVIEW_WIDTH}),N.setLayout({top:0,height:R,right:0,width:i.ONE_OVERVIEW_WIDTH});const J=v.read(j),X=b.read(j),H=this._editors.modified.getOption(101),B=new y.ScrollbarState(H.verticalHasArrows?H.arrowSize:0,H.verticalScrollbarSize,0,G.height,X,J);I.setTop(B.getSliderPosition()),I.setHeight(B.getSliderSize())}else I.setTop(0),I.setHeight(0);M.style.height=R+"px",M.style.left=K-i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",I.setWidth(i.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}))}};e.OverviewRulerPart=n,n.ONE_OVERVIEW_WIDTH=15,n.ENTIRE_DIFF_OVERVIEW_WIDTH=i.ONE_OVERVIEW_WIDTH*2,e.OverviewRulerPart=n=i=ke([fe(7,s.IThemeService)],n)}),define(ne[844],se([1,0,6,2,42,357,36,610,8,34]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorEditors=void 0;let C=class extends k.Disposable{constructor(i,n,t,a,u,h,r){super(),this.originalEditorElement=i,this.modifiedEditorElement=n,this._options=t,this._createInnerEditor=u,this._instantiationService=h,this._keybindingService=r,this._onDidContentSizeChange=this._register(new L.Emitter),this.original=this._register(this._createLeftHandSideEditor(t.editorOptions.get(),a.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(t.editorOptions.get(),a.modifiedEditor||{})),this._register((0,y.autorunHandleChanges)({createEmptyChangeSummary:()=>({}),handleChange:(c,o)=>(c.didChange(t.editorOptions)&&Object.assign(o,c.change.changedOptions),!0)},(c,o)=>{t.editorOptions.read(c),this._options.renderSideBySide.read(c),this.modified.updateOptions(this._adjustOptionsForRightHandSide(c,o)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(c,o))}))}_createLeftHandSideEditor(i,n){const t=this._adjustOptionsForLeftHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,t,n);return a.setContextValue("isInDiffLeftEditor",!0),a}_createRightHandSideEditor(i,n){const t=this._adjustOptionsForRightHandSide(void 0,i),a=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,t,n);return a.setContextValue("isInDiffRightEditor",!0),a}_constructInnerEditor(i,n,t,a){const u=this._createInnerEditor(i,n,t,a);return this._register(u.onDidContentSizeChange(h=>{const r=this.original.getContentWidth()+this.modified.getContentWidth()+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,c=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:c,contentWidth:r,contentHeightChanged:h.contentHeightChanged,contentWidthChanged:h.contentWidthChanged})})),u}_adjustOptionsForLeftHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return this._options.renderSideBySide.get()?(t.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},t.wordWrapOverride1=this._options.diffWordWrap.get()):(t.wordWrapOverride1="off",t.wordWrapOverride2="off",t.stickyScroll={enabled:!1},t.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),n.originalAriaLabel&&(t.ariaLabel=n.originalAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.readOnly=!this._options.originalEditable.get(),t.dropIntoEditor={enabled:!t.readOnly},t.extraEditorClassName="original-in-monaco-diff-editor",t}_adjustOptionsForRightHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return n.modifiedAriaLabel&&(t.ariaLabel=n.modifiedAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.wordWrapOverride1=this._options.diffWordWrap.get(),t.revealHorizontalRightPadding=S.EditorOptions.revealHorizontalRightPadding.defaultValue+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t}_adjustOptionsForSubEditor(i){const n=Object.assign(Object.assign({},i),{dimension:{height:0,width:0}});return n.inDiffEditor=!0,n.automaticLayout=!1,n.scrollbar=Object.assign({},n.scrollbar||{}),n.scrollbar.vertical="visible",n.folding=!1,n.codeLens=this._options.diffCodeLens.get(),n.fixedOverflowWidgets=!0,n.minimap=Object.assign({},n.minimap||{}),n.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?n.stickyScroll={enabled:!1}:n.stickyScroll=this._options.editorOptions.get().stickyScroll,n}_updateAriaLabel(i){var n;i||(i="");const t=(0,f.localize)(0,null,(n=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))===null||n===void 0?void 0:n.getAriaLabel());return this._options.accessibilityVerbose.get()?i+t:i?i.replaceAll(t,""):""}};e.DiffEditorEditors=C,e.DiffEditorEditors=C=ke([fe(5,_.IInstantiationService),fe(6,g.IKeybindingService)],C)}),define(ne[80],se([1,0,622,38,31,23]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.editorUnicodeHighlightBackground=e.editorUnicodeHighlightBorder=e.editorBracketPairGuideActiveBackground6=e.editorBracketPairGuideActiveBackground5=e.editorBracketPairGuideActiveBackground4=e.editorBracketPairGuideActiveBackground3=e.editorBracketPairGuideActiveBackground2=e.editorBracketPairGuideActiveBackground1=e.editorBracketPairGuideBackground6=e.editorBracketPairGuideBackground5=e.editorBracketPairGuideBackground4=e.editorBracketPairGuideBackground3=e.editorBracketPairGuideBackground2=e.editorBracketPairGuideBackground1=e.editorBracketHighlightingUnexpectedBracketForeground=e.editorBracketHighlightingForeground6=e.editorBracketHighlightingForeground5=e.editorBracketHighlightingForeground4=e.editorBracketHighlightingForeground3=e.editorBracketHighlightingForeground2=e.editorBracketHighlightingForeground1=e.overviewRulerInfo=e.overviewRulerWarning=e.overviewRulerError=e.overviewRulerRangeHighlight=e.ghostTextBackground=e.ghostTextForeground=e.ghostTextBorder=e.editorUnnecessaryCodeOpacity=e.editorUnnecessaryCodeBorder=e.editorGutter=e.editorOverviewRulerBackground=e.editorOverviewRulerBorder=e.editorBracketMatchBorder=e.editorBracketMatchBackground=e.editorCodeLensForeground=e.editorRuler=e.editorDimmedLineNumber=e.editorActiveLineNumber=e.editorActiveIndentGuide6=e.editorActiveIndentGuide5=e.editorActiveIndentGuide4=e.editorActiveIndentGuide3=e.editorActiveIndentGuide2=e.editorActiveIndentGuide1=e.editorIndentGuide6=e.editorIndentGuide5=e.editorIndentGuide4=e.editorIndentGuide3=e.editorIndentGuide2=e.editorIndentGuide1=e.deprecatedEditorActiveIndentGuides=e.deprecatedEditorIndentGuides=e.editorLineNumbers=e.editorWhitespaces=e.editorCursorBackground=e.editorCursorForeground=e.editorSymbolHighlightBorder=e.editorSymbolHighlight=e.editorRangeHighlightBorder=e.editorRangeHighlight=e.editorLineHighlightBorder=e.editorLineHighlight=void 0,e.editorLineHighlight=(0,y.registerColor)("editor.lineHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(0,null)),e.editorLineHighlightBorder=(0,y.registerColor)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hcDark:"#f38518",hcLight:y.contrastBorder},L.localize(1,null)),e.editorRangeHighlight=(0,y.registerColor)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hcDark:null,hcLight:null},L.localize(2,null),!0),e.editorRangeHighlightBorder=(0,y.registerColor)("editor.rangeHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(3,null),!0),e.editorSymbolHighlight=(0,y.registerColor)("editor.symbolHighlightBackground",{dark:y.editorFindMatchHighlight,light:y.editorFindMatchHighlight,hcDark:null,hcLight:null},L.localize(4,null),!0),e.editorSymbolHighlightBorder=(0,y.registerColor)("editor.symbolHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(5,null),!0),e.editorCursorForeground=(0,y.registerColor)("editorCursor.foreground",{dark:"#AEAFAD",light:k.Color.black,hcDark:k.Color.white,hcLight:"#0F4A85"},L.localize(6,null)),e.editorCursorBackground=(0,y.registerColor)("editorCursor.background",null,L.localize(7,null)),e.editorWhitespaces=(0,y.registerColor)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hcDark:"#e3e4e229",hcLight:"#CCCCCC"},L.localize(8,null)),e.editorLineNumbers=(0,y.registerColor)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hcDark:k.Color.white,hcLight:"#292929"},L.localize(9,null)),e.deprecatedEditorIndentGuides=(0,y.registerColor)("editorIndentGuide.background",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(10,null),!1,L.localize(11,null)),e.deprecatedEditorActiveIndentGuides=(0,y.registerColor)("editorIndentGuide.activeBackground",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(12,null),!1,L.localize(13,null)),e.editorIndentGuide1=(0,y.registerColor)("editorIndentGuide.background1",{dark:e.deprecatedEditorIndentGuides,light:e.deprecatedEditorIndentGuides,hcDark:e.deprecatedEditorIndentGuides,hcLight:e.deprecatedEditorIndentGuides},L.localize(14,null)),e.editorIndentGuide2=(0,y.registerColor)("editorIndentGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(15,null)),e.editorIndentGuide3=(0,y.registerColor)("editorIndentGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(16,null)),e.editorIndentGuide4=(0,y.registerColor)("editorIndentGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(17,null)),e.editorIndentGuide5=(0,y.registerColor)("editorIndentGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(18,null)),e.editorIndentGuide6=(0,y.registerColor)("editorIndentGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(19,null)),e.editorActiveIndentGuide1=(0,y.registerColor)("editorIndentGuide.activeBackground1",{dark:e.deprecatedEditorActiveIndentGuides,light:e.deprecatedEditorActiveIndentGuides,hcDark:e.deprecatedEditorActiveIndentGuides,hcLight:e.deprecatedEditorActiveIndentGuides},L.localize(20,null)),e.editorActiveIndentGuide2=(0,y.registerColor)("editorIndentGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(21,null)),e.editorActiveIndentGuide3=(0,y.registerColor)("editorIndentGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(22,null)),e.editorActiveIndentGuide4=(0,y.registerColor)("editorIndentGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(23,null)),e.editorActiveIndentGuide5=(0,y.registerColor)("editorIndentGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(24,null)),e.editorActiveIndentGuide6=(0,y.registerColor)("editorIndentGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(25,null));const S=(0,y.registerColor)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(26,null),!1,L.localize(27,null));e.editorActiveLineNumber=(0,y.registerColor)("editorLineNumber.activeForeground",{dark:S,light:S,hcDark:S,hcLight:S},L.localize(28,null)),e.editorDimmedLineNumber=(0,y.registerColor)("editorLineNumber.dimmedForeground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(29,null)),e.editorRuler=(0,y.registerColor)("editorRuler.foreground",{dark:"#5A5A5A",light:k.Color.lightgrey,hcDark:k.Color.white,hcLight:"#292929"},L.localize(30,null)),e.editorCodeLensForeground=(0,y.registerColor)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hcDark:"#999999",hcLight:"#292929"},L.localize(31,null)),e.editorBracketMatchBackground=(0,y.registerColor)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hcDark:"#0064001a",hcLight:"#0000"},L.localize(32,null)),e.editorBracketMatchBorder=(0,y.registerColor)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hcDark:y.contrastBorder,hcLight:y.contrastBorder},L.localize(33,null)),e.editorOverviewRulerBorder=(0,y.registerColor)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hcDark:"#7f7f7f4d",hcLight:"#666666"},L.localize(34,null)),e.editorOverviewRulerBackground=(0,y.registerColor)("editorOverviewRuler.background",null,L.localize(35,null)),e.editorGutter=(0,y.registerColor)("editorGutter.background",{dark:y.editorBackground,light:y.editorBackground,hcDark:y.editorBackground,hcLight:y.editorBackground},L.localize(36,null)),e.editorUnnecessaryCodeBorder=(0,y.registerColor)("editorUnnecessaryCode.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:y.contrastBorder},L.localize(37,null)),e.editorUnnecessaryCodeOpacity=(0,y.registerColor)("editorUnnecessaryCode.opacity",{dark:k.Color.fromHex("#000a"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(38,null)),e.ghostTextBorder=(0,y.registerColor)("editorGhostText.border",{dark:null,light:null,hcDark:k.Color.fromHex("#fff").transparent(.8),hcLight:k.Color.fromHex("#292929").transparent(.8)},L.localize(39,null)),e.ghostTextForeground=(0,y.registerColor)("editorGhostText.foreground",{dark:k.Color.fromHex("#ffffff56"),light:k.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(40,null)),e.ghostTextBackground=(0,y.registerColor)("editorGhostText.background",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(41,null));const f=new k.Color(new k.RGBA(0,122,204,.6));e.overviewRulerRangeHighlight=(0,y.registerColor)("editorOverviewRuler.rangeHighlightForeground",{dark:f,light:f,hcDark:f,hcLight:f},L.localize(42,null),!0),e.overviewRulerError=(0,y.registerColor)("editorOverviewRuler.errorForeground",{dark:new k.Color(new k.RGBA(255,18,18,.7)),light:new k.Color(new k.RGBA(255,18,18,.7)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:"#B5200D"},L.localize(43,null)),e.overviewRulerWarning=(0,y.registerColor)("editorOverviewRuler.warningForeground",{dark:y.editorWarningForeground,light:y.editorWarningForeground,hcDark:y.editorWarningBorder,hcLight:y.editorWarningBorder},L.localize(44,null)),e.overviewRulerInfo=(0,y.registerColor)("editorOverviewRuler.infoForeground",{dark:y.editorInfoForeground,light:y.editorInfoForeground,hcDark:y.editorInfoBorder,hcLight:y.editorInfoBorder},L.localize(45,null)),e.editorBracketHighlightingForeground1=(0,y.registerColor)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hcDark:"#FFD700",hcLight:"#0431FAFF"},L.localize(46,null)),e.editorBracketHighlightingForeground2=(0,y.registerColor)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hcDark:"#DA70D6",hcLight:"#319331FF"},L.localize(47,null)),e.editorBracketHighlightingForeground3=(0,y.registerColor)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hcDark:"#87CEFA",hcLight:"#7B3814FF"},L.localize(48,null)),e.editorBracketHighlightingForeground4=(0,y.registerColor)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(49,null)),e.editorBracketHighlightingForeground5=(0,y.registerColor)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(50,null)),e.editorBracketHighlightingForeground6=(0,y.registerColor)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(51,null)),e.editorBracketHighlightingUnexpectedBracketForeground=(0,y.registerColor)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new k.Color(new k.RGBA(255,18,18,.8)),light:new k.Color(new k.RGBA(255,18,18,.8)),hcDark:new k.Color(new k.RGBA(255,50,50,1)),hcLight:""},L.localize(52,null)),e.editorBracketPairGuideBackground1=(0,y.registerColor)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(53,null)),e.editorBracketPairGuideBackground2=(0,y.registerColor)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(54,null)),e.editorBracketPairGuideBackground3=(0,y.registerColor)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(55,null)),e.editorBracketPairGuideBackground4=(0,y.registerColor)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(56,null)),e.editorBracketPairGuideBackground5=(0,y.registerColor)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(57,null)),e.editorBracketPairGuideBackground6=(0,y.registerColor)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(58,null)),e.editorBracketPairGuideActiveBackground1=(0,y.registerColor)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(59,null)),e.editorBracketPairGuideActiveBackground2=(0,y.registerColor)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(60,null)),e.editorBracketPairGuideActiveBackground3=(0,y.registerColor)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(61,null)),e.editorBracketPairGuideActiveBackground4=(0,y.registerColor)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(62,null)),e.editorBracketPairGuideActiveBackground5=(0,y.registerColor)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(63,null)),e.editorBracketPairGuideActiveBackground6=(0,y.registerColor)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(64,null)),e.editorUnicodeHighlightBorder=(0,y.registerColor)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hcDark:"#ff0000",hcLight:"#CEA33D"},L.localize(65,null)),e.editorUnicodeHighlightBackground=(0,y.registerColor)("editorUnicodeHighlight.background",{dark:"#bd9b0326",light:"#cea33d14",hcDark:"#00000000",hcLight:"#cea33d14"},L.localize(66,null)),(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(y.editorBackground),s=_.getColor(e.editorLineHighlight),i=s&&!s.isTransparent()?s:C;i&&g.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${i}; }`)})}),define(ne[845],se([1,0,112,80,14,23,24,88,416]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrentLineMarginHighlightOverlay=e.CurrentLineHighlightOverlay=e.AbstractLineHighlightOverlay=void 0;class _ extends L.DynamicViewOverlay{constructor(i){super(),this._context=i;const n=this._context.configuration.options,t=n.get(142);this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new S.Selection(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let i=!1;const n=this._selections.map(a=>a.positionLineNumber);n.sort((a,u)=>a-u),y.equals(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,i=!0);const t=this._selections.every(a=>a.isEmpty());return this._selectionIsEmpty!==t&&(this._selectionIsEmpty=t,i=!0),i}onThemeChanged(i){return this._readFromSelections()}onConfigurationChanged(i){const n=this._context.configuration.options,t=n.get(142);return this._lineHeight=n.get(65),this._renderLineHighlight=n.get(94),this._renderLineHighlightOnlyWhenFocus=n.get(95),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,!0}onCursorStateChanged(i){return this._selections=i.selections,this._readFromSelections()}onFlushed(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollWidthChanged||i.scrollTopChanged}onZonesChanged(i){return!0}onFocusChanged(i){return this._renderLineHighlightOnlyWhenFocus?(this._focused=i.isFocused,!0):!1}prepareRender(i){if(!this._shouldRenderThis()){this._renderData=null;return}const n=this._renderOne(i),t=i.visibleRange.startLineNumber,a=i.visibleRange.endLineNumber,u=this._cursorLineNumbers.length;let h=0;const r=[];for(let c=t;c<=a;c++){const o=c-t;for(;h=this._renderData.length?"":this._renderData[t]}_shouldRenderInMargin(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}e.AbstractLineHighlightOverlay=_;class g extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}e.CurrentLineHighlightOverlay=g;class C extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}e.CurrentLineMarginHighlightOverlay=C,(0,D.registerThemingParticipant)((s,i)=>{const n=s.getColor(k.editorLineHighlight);if(n&&(i.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||s.defines(k.editorLineHighlightBorder)){const t=s.getColor(k.editorLineHighlightBorder);t&&(i.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${t}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${t}; }`),(0,f.isHighContrast)(s.type)&&(i.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),i.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}})}),define(ne[846],se([1,0,112,80,23,12,14,20,287,209,419]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentGuidesOverlay=void 0;class C extends L.DynamicViewOverlay{constructor(n){super(),this._context=n,this._primaryPosition=null;const t=this._context.configuration.options,a=t.get(143),u=t.get(49);this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(n){const t=this._context.configuration.options,a=t.get(143),u=t.get(49);return this._lineHeight=t.get(65),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=a.wrappingColumn===-1?-1:a.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(15),!0}onCursorStateChanged(n){var t;const u=n.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(u)?!1:(this._primaryPosition=u,!0)}onDecorationsChanged(n){return!0}onFlushed(n){return!0}onLinesChanged(n){return!0}onLinesDeleted(n){return!0}onLinesInserted(n){return!0}onScrollChanged(n){return n.scrollTopChanged}onZonesChanged(n){return!0}onLanguageConfigurationChanged(n){return!0}prepareRender(n){var t,a,u,h;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const r=n.visibleRange.startLineNumber,c=n.visibleRange.endLineNumber,o=n.scrollWidth,d=this._lineHeight,l=this._primaryPosition,p=this.getGuidesByLine(r,Math.min(c+1,this._context.viewModel.getLineCount()),l),m=[];for(let v=r;v<=c;v++){const b=v-r,w=p[b];let E="";const I=(a=(t=n.visibleRangeForPosition(new D.Position(v,1)))===null||t===void 0?void 0:t.left)!==null&&a!==void 0?a:0;for(const M of w){const P=M.column===-1?I+(M.visibleColumn-1)*this._spaceWidth:n.visibleRangeForPosition(new D.Position(v,M.column)).left;if(P>o||this._maxIndentLeft>0&&P>this._maxIndentLeft)break;const x=M.horizontalLine?M.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",T=M.horizontalLine?((h=(u=n.visibleRangeForPosition(new D.Position(v,M.horizontalLine.endColumn)))===null||u===void 0?void 0:u.left)!==null&&h!==void 0?h:P+this._spaceWidth)-P:this._spaceWidth;E+=`
    `}m[b]=E}this._renderResult=m}getGuidesByLine(n,t,a){const u=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(n,t,a,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?g.HorizontalGuidesState.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal==="active"?g.HorizontalGuidesState.EnabledForActive:g.HorizontalGuidesState.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,h=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(n,t):null;let r=0,c=0,o=0;if(this._bracketPairGuideOptions.highlightActiveIndentation!==!1&&a){const p=this._context.viewModel.getActiveIndentGuide(a.lineNumber,n,t);r=p.startLineNumber,c=p.endLineNumber,o=p.indent}const{indentSize:d}=this._context.viewModel.model.getOptions(),l=[];for(let p=n;p<=t;p++){const m=new Array;l.push(m);const v=u?u[p-n]:[],b=new S.ArrayQueue(v),w=h?h[p-n]:0;for(let E=1;E<=w;E++){const I=(E-1)*d+1,M=(this._bracketPairGuideOptions.highlightActiveIndentation==="always"||v.length===0)&&r<=p&&p<=c&&E===o;m.push(...b.takeWhile(x=>x.visibleColumn!0)||[])}return l}render(n,t){if(!this._renderResult)return"";const a=t-n;return a<0||a>=this._renderResult.length?"":this._renderResult[a]}}e.IndentGuidesOverlay=C;function s(i){if(!(i&&i.isTransparent()))return i}(0,y.registerThemingParticipant)((i,n)=>{const t=[{bracketColor:k.editorBracketHighlightingForeground1,guideColor:k.editorBracketPairGuideBackground1,guideColorActive:k.editorBracketPairGuideActiveBackground1},{bracketColor:k.editorBracketHighlightingForeground2,guideColor:k.editorBracketPairGuideBackground2,guideColorActive:k.editorBracketPairGuideActiveBackground2},{bracketColor:k.editorBracketHighlightingForeground3,guideColor:k.editorBracketPairGuideBackground3,guideColorActive:k.editorBracketPairGuideActiveBackground3},{bracketColor:k.editorBracketHighlightingForeground4,guideColor:k.editorBracketPairGuideBackground4,guideColorActive:k.editorBracketPairGuideActiveBackground4},{bracketColor:k.editorBracketHighlightingForeground5,guideColor:k.editorBracketPairGuideBackground5,guideColorActive:k.editorBracketPairGuideActiveBackground5},{bracketColor:k.editorBracketHighlightingForeground6,guideColor:k.editorBracketPairGuideBackground6,guideColorActive:k.editorBracketPairGuideActiveBackground6}],a=new _.BracketPairGuidesClassNames,u=[{indentColor:k.editorIndentGuide1,indentColorActive:k.editorActiveIndentGuide1},{indentColor:k.editorIndentGuide2,indentColorActive:k.editorActiveIndentGuide2},{indentColor:k.editorIndentGuide3,indentColorActive:k.editorActiveIndentGuide3},{indentColor:k.editorIndentGuide4,indentColorActive:k.editorActiveIndentGuide4},{indentColor:k.editorIndentGuide5,indentColorActive:k.editorActiveIndentGuide5},{indentColor:k.editorIndentGuide6,indentColorActive:k.editorActiveIndentGuide6}],h=t.map(c=>{var o,d;const l=i.getColor(c.bracketColor),p=i.getColor(c.guideColor),m=i.getColor(c.guideColorActive),v=s((o=s(p))!==null&&o!==void 0?o:l?.transparent(.3)),b=s((d=s(m))!==null&&d!==void 0?d:l);if(!(!v||!b))return{guideColor:v,guideColorActive:b}}).filter(f.isDefined),r=u.map(c=>{const o=i.getColor(c.indentColor),d=i.getColor(c.indentColorActive),l=s(o),p=s(d);if(!(!l||!p))return{indentColor:l,indentColorActive:p}}).filter(f.isDefined);if(h.length>0){for(let c=0;c<30;c++){const o=h[c%h.length];n.addRule(`.monaco-editor .${a.getInlineClassNameOfLevel(c).replace(/ /g,".")} { --guide-color: ${o.guideColor}; --guide-color-active: ${o.guideColorActive}; }`)}n.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),n.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),n.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),n.addRule(`.monaco-editor .vertical.${a.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),n.addRule(`.monaco-editor .horizontal-top.${a.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),n.addRule(`.monaco-editor .horizontal-bottom.${a.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let c=0;c<30;c++){const o=r[c%r.length];n.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${c} { --indent-color: ${o.indentColor}; --indent-color-active: ${o.indentColorActive}; }`)}n.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),n.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}})}),define(ne[358],se([1,0,17,112,12,23,80,420]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineNumbersOverlay=void 0;class f extends k.DynamicViewOverlay{constructor(g){super(),this._context=g,this._readConfig(),this._lastCursorModelPosition=new y.Position(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const g=this._context.configuration.options;this._lineHeight=g.get(65);const C=g.get(66);this._renderLineNumbers=C.renderType,this._renderCustomLineNumbers=C.renderFn,this._renderFinalNewline=g.get(93);const s=g.get(142);this._lineNumbersLeft=s.lineNumbersLeft,this._lineNumbersWidth=s.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(g){return this._readConfig(),!0}onCursorStateChanged(g){const C=g.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(C);let s=!1;return this._activeLineNumber!==C.lineNumber&&(this._activeLineNumber=C.lineNumber,s=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(s=!0),s}onFlushed(g){return!0}onLinesChanged(g){return!0}onLinesDeleted(g){return!0}onLinesInserted(g){return!0}onScrollChanged(g){return g.scrollTopChanged}onZonesChanged(g){return!0}_getLineRenderLineNumber(g){const C=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new y.Position(g,1));if(C.column!==1)return"";const s=C.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(s);if(this._renderLineNumbers===2){const i=Math.abs(this._lastCursorModelPosition.lineNumber-s);return i===0?''+s+"":String(i)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===s||s%10===0?String(s):"":String(s)}prepareRender(g){if(this._renderLineNumbers===0){this._renderResult=null;return}const C=L.isLinux?this._lineHeight%2===0?" lh-even":" lh-odd":"",s=g.visibleRange.startLineNumber,i=g.visibleRange.endLineNumber,n=this._context.viewModel.getLineCount(),t=[];for(let a=s;a<=i;a++){const u=a-s,h=this._getLineRenderLineNumber(a);if(!h){t[u]="";continue}let r="";if(a===n&&this._context.viewModel.getLineLength(a)===0){if(this._renderFinalNewline==="off"){t[u]="";continue}this._renderFinalNewline==="dimmed"&&(r=" dimmed-line-number")}a===this._activeLineNumber&&(r=" active-line-number"),t[u]=`
    ${h}
    `}this._renderResult=t}render(g,C){if(!this._renderResult)return"";const s=C-g;return s<0||s>=this._renderResult.length?"":this._renderResult[s]}}e.LineNumbersOverlay=f,f.CLASS_NAME="line-numbers",(0,D.registerThemingParticipant)((_,g)=>{const C=_.getColor(S.editorLineNumbers),s=_.getColor(S.editorDimmedLineNumber);s?g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${s}; }`):C&&g.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${C.transparent(.4)}; }`)})}),define(ne[847],se([1,0,601,52,35,17,11,59,185,273,53,358,289,36,146,12,5,24,173,29,38,263,34,414]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaHandler=void 0;class p{constructor(E,I,M,P,x){this._context=E,this.modelLineNumber=I,this.distanceToModelLineStart=M,this.widthOfHiddenLineTextBefore=P,this.distanceToModelLineEnd=x,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(E){const I=new a.Position(this.modelLineNumber,this.distanceToModelLineStart+1),M=new a.Position(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(I),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(M),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=E.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=E.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(E){return this._previousPresentation||(E?this._previousPresentation=E:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const m=k.isFirefox;let v=class extends C.ViewPart{constructor(E,I,M,P){super(E),this._keybindingService=P,this._primaryCursorPosition=new a.Position(1,1),this._primaryCursorVisibleRange=null,this._viewController=I,this._visibleRangeProvider=M,this._scrollLeft=0,this._scrollTop=0;const x=this._context.configuration.options,T=x.get(142);this._setAccessibilityOptions(x),this._contentLeft=T.contentLeft,this._contentWidth=T.contentWidth,this._contentHeight=T.height,this._fontInfo=x.get(49),this._lineHeight=x.get(65),this._emptySelectionClipboard=x.get(36),this._copyWithSyntaxHighlighting=x.get(24),this._visibleTextArea=null,this._selections=[new h.Selection(1,1,1,1)],this._modelSelections=[new h.Selection(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,y.createFastDomNode)(document.createElement("textarea")),C.PartFingerprints.write(this.textArea,6),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:A}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${A*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(x)),this.textArea.setAttribute("aria-required",x.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(x.get(122))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",L.localize(0,null)),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",x.get(89)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,y.createFastDomNode)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const N={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:W=>this._context.viewModel.getLineMaxColumn(W),getValueInRange:(W,U)=>this._context.viewModel.getValueInRange(W,U),getValueLengthInRange:(W,U)=>this._context.viewModel.getValueLengthInRange(W,U),modifyPosition:(W,U)=>this._context.viewModel.modifyPosition(W,U)},F={getDataToCopy:()=>{const W=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,D.isWindows),U=this._context.viewModel.model.getEOL(),j=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),R=Array.isArray(W)?W:null,K=Array.isArray(W)?W.join(U):W;let G,Z=null;if(_.CopyOptions.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&K.length<65536){const J=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);J&&(G=J.html,Z=J.mode)}return{isFromEmptySelection:j,multicursorText:R,text:K,html:G,mode:Z}},getScreenReaderContent:()=>{if(this._accessibilitySupport===1){const W=this._selections[0];if(D.isMacintosh&&W.isEmpty()){const j=W.getStartPosition();let R=this._getWordBeforePosition(j);if(R.length===0&&(R=this._getCharacterBeforePosition(j)),R.length>0)return new g.TextAreaState(R,R.length,R.length,u.Range.fromPositions(j),0)}const U=500;if(D.isMacintosh&&!W.isEmpty()&&N.getValueLengthInRange(W,0)0)return new g.TextAreaState(j,R,R,u.Range.fromPositions(U),0)}return g.TextAreaState.EMPTY}return g.PagedScreenReaderStrategy.fromEditorSelection(N,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(W,U,j)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(W,U,j)},O=this._register(new _.TextAreaWrapper(this.textArea.domNode));this._textAreaInput=this._register(new _.TextAreaInput(F,O,D.OS,{isAndroid:k.isAndroid,isChrome:k.isChrome,isFirefox:k.isFirefox,isSafari:k.isSafari})),this._register(this._textAreaInput.onKeyDown(W=>{this._viewController.emitKeyDown(W)})),this._register(this._textAreaInput.onKeyUp(W=>{this._viewController.emitKeyUp(W)})),this._register(this._textAreaInput.onPaste(W=>{let U=!1,j=null,R=null;W.metadata&&(U=this._emptySelectionClipboard&&!!W.metadata.isFromEmptySelection,j=typeof W.metadata.multicursorText<"u"?W.metadata.multicursorText:null,R=W.metadata.mode),this._viewController.paste(W.text,U,j,R)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(W=>{W.replacePrevCharCnt||W.replaceNextCharCnt||W.positionDelta?(g._debugComposition&&console.log(` => compositionType: <<${W.text}>>, ${W.replacePrevCharCnt}, ${W.replaceNextCharCnt}, ${W.positionDelta}`),this._viewController.compositionType(W.text,W.replacePrevCharCnt,W.replaceNextCharCnt,W.positionDelta)):(g._debugComposition&&console.log(` => type: <<${W.text}>>`),this._viewController.type(W.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(W=>{this._viewController.setSelection(W)})),this._register(this._textAreaInput.onCompositionStart(W=>{const U=this.textArea.domNode,j=this._modelSelections[0],{distanceToModelLineStart:R,widthOfHiddenTextBefore:K}=(()=>{const Z=U.value.substring(0,Math.min(U.selectionStart,U.selectionEnd)),J=Z.lastIndexOf(` -`),X=Z.substring(J+1),H=X.lastIndexOf(" "),B=X.length-H-1,V=j.getStartPosition(),Y=Math.min(V.column-1,B),ie=V.column-1-Y,ae=X.substring(0,X.length-Y),{tabSize:ce}=this._context.viewModel.model.getOptions(),de=b(ae,this._fontInfo,ce);return{distanceToModelLineStart:ie,widthOfHiddenTextBefore:de}})(),{distanceToModelLineEnd:G}=(()=>{const Z=U.value.substring(Math.max(U.selectionStart,U.selectionEnd)),J=Z.indexOf(` -`),X=J===-1?Z:Z.substring(0,J),H=X.indexOf(" "),B=H===-1?X.length:X.length-H-1,V=j.getEndPosition(),Y=Math.min(this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column,B);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column-Y}})();this._context.viewModel.revealRange("keyboard",!0,u.Range.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new p(this._context,j.startLineNumber,R,K,G),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(W=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${r.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(d.IME.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(E){this._textAreaInput.writeScreenReaderContent(E)}dispose(){super.dispose()}_getAndroidWordAtPosition(E){const I='`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',M=this._context.viewModel.getLineContent(E.lineNumber),P=(0,t.getMapForWordSeparators)(I);let x=!0,T=E.column,A=!0,N=E.column,F=0;for(;F<50&&(x||A);){if(x&&T<=1&&(x=!1),x){const O=M.charCodeAt(T-2);P.get(O)!==0?x=!1:T--}if(A&&N>M.length&&(A=!1),A){const O=M.charCodeAt(N-1);P.get(O)!==0?A=!1:N++}F++}return[M.substring(T-1,N-1),E.column-T]}_getWordBeforePosition(E){const I=this._context.viewModel.getLineContent(E.lineNumber),M=(0,t.getMapForWordSeparators)(this._context.configuration.options.get(128));let P=E.column,x=0;for(;P>1;){const T=I.charCodeAt(P-2);if(M.get(T)!==0||x>50)return I.substring(P-1,E.column-1);x++,P--}return I.substring(0,E.column-1)}_getCharacterBeforePosition(E){if(E.column>1){const M=this._context.viewModel.getLineContent(E.lineNumber).charAt(E.column-2);if(!S.isHighSurrogate(M.charCodeAt(0)))return M}return""}_getAriaLabel(E){var I,M,P;if(E.get(2)===1){const T=(I=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))===null||I===void 0?void 0:I.getAriaLabel(),A=(M=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))===null||M===void 0?void 0:M.getAriaLabel(),N=(P=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))===null||P===void 0?void 0:P.getAriaLabel(),F=L.localize(1,null);return T?L.localize(2,null,F,T):A?L.localize(3,null,F,A):N?L.localize(4,null,F,N):F}return E.get(4)}_setAccessibilityOptions(E){this._accessibilitySupport=E.get(2);const I=E.get(3);this._accessibilitySupport===2&&I===n.EditorOptions.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=I;const P=E.get(142).wrappingColumn;if(P!==-1&&this._accessibilitySupport!==1){const x=E.get(49);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(P*x.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=m?0:1}onConfigurationChanged(E){const I=this._context.configuration.options,M=I.get(142);this._setAccessibilityOptions(I),this._contentLeft=M.contentLeft,this._contentWidth=M.contentWidth,this._contentHeight=M.height,this._fontInfo=I.get(49),this._lineHeight=I.get(65),this._emptySelectionClipboard=I.get(36),this._copyWithSyntaxHighlighting=I.get(24),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:P}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${P*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(I)),this.textArea.setAttribute("aria-required",I.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(I.get(122))),(E.hasChanged(33)||E.hasChanged(89))&&this._ensureReadOnlyAttribute(),E.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(E){return this._selections=E.selections.slice(0),this._modelSelections=E.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(E){return!0}onFlushed(E){return!0}onLinesChanged(E){return!0}onLinesDeleted(E){return!0}onLinesInserted(E){return!0}onScrollChanged(E){return this._scrollLeft=E.scrollLeft,this._scrollTop=E.scrollTop,!0}onZonesChanged(E){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(E){E.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",E.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),E.role&&this.textArea.setAttribute("role",E.role)}_ensureReadOnlyAttribute(){const E=this._context.configuration.options;!d.IME.enabled||E.get(33)&&E.get(89)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(E){var I;this._primaryCursorPosition=new a.Position(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=E.visibleRangeForPosition(this._primaryCursorPosition),(I=this._visibleTextArea)===null||I===void 0||I.prepareRender(E)}render(E){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){var E;if(this._visibleTextArea){const P=this._visibleTextArea.visibleTextareaStart,x=this._visibleTextArea.visibleTextareaEnd,T=this._visibleTextArea.startPosition,A=this._visibleTextArea.endPosition;if(T&&A&&P&&x&&x.left>=this._scrollLeft&&P.left<=this._scrollLeft+this._contentWidth){const N=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,F=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let O=this._visibleTextArea.widthOfHiddenLineTextBefore,W=this._contentLeft+P.left-this._scrollLeft,U=x.left-P.left+1;if(Wthis._contentWidth&&(U=this._contentWidth);const j=this._context.viewModel.getViewLineData(T.lineNumber),R=j.tokens.findTokenIndexAtOffset(T.column-1),K=j.tokens.findTokenIndexAtOffset(A.column-1),G=R===K,Z=this._visibleTextArea.definePresentation(G?j.tokens.getPresentation(R):null);this.textArea.domNode.scrollTop=F*this._lineHeight,this.textArea.domNode.scrollLeft=O,this._doRender({lastRenderPosition:null,top:N,left:W,width:U,height:this._lineHeight,useCover:!1,color:(c.TokenizationRegistry.getColorMap()||[])[Z.foreground],italic:Z.italic,bold:Z.bold,underline:Z.underline,strikethrough:Z.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const I=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(Ithis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const M=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(M<0||M>this._contentHeight){this._renderAtTopLeft();return}if(D.isMacintosh){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const P=(E=this._textAreaInput.textAreaState.newlineCountBeforeSelection)!==null&&E!==void 0?E:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=P*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:I,width:this._textAreaWidth,height:m?0:1,useCover:!1})}_newlinecount(E){let I=0,M=-1;do{if(M=E.indexOf(` -`,M+1),M===-1)break;I++}while(!0);return I}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:m?0:1,useCover:!0})}_doRender(E){this._lastRenderPosition=E.lastRenderPosition;const I=this.textArea,M=this.textAreaCover;(0,f.applyFontInfo)(I,this._fontInfo),I.setTop(E.top),I.setLeft(E.left),I.setWidth(E.width),I.setHeight(E.height),I.setColor(E.color?o.Color.Format.CSS.formatHex(E.color):""),I.setFontStyle(E.italic?"italic":""),E.bold&&I.setFontWeight("bold"),I.setTextDecoration(`${E.underline?" underline":""}${E.strikethrough?" line-through":""}`),M.setTop(E.useCover?E.top:0),M.setLeft(E.useCover?E.left:0),M.setWidth(E.useCover?E.width:0),M.setHeight(E.useCover?E.height:0);const P=this._context.configuration.options;P.get(56)?M.setClassName("monaco-editor-background textAreaCover "+i.Margin.OUTER_CLASS_NAME):P.get(66).renderType!==0?M.setClassName("monaco-editor-background textAreaCover "+s.LineNumbersOverlay.CLASS_NAME):M.setClassName("monaco-editor-background textAreaCover")}};e.TextAreaHandler=v,e.TextAreaHandler=v=ke([fe(3,l.IKeybindingService)],v);function b(w,E,I){if(w.length===0)return 0;const M=document.createElement("div");M.style.position="absolute",M.style.top="-50000px",M.style.width="50000px";const P=document.createElement("span");(0,f.applyFontInfo)(P,E),P.style.whiteSpace="pre",P.style.tabSize=`${I*E.spaceWidth}px`,P.append(w),M.appendChild(P),document.body.appendChild(M);const x=P.offsetWidth;return document.body.removeChild(M),x}}),define(ne[848],se([1,0,35,38,53,12,29,80,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DecorationsOverviewRuler=void 0;class g{constructor(i,n){const t=i.options;this.lineHeight=t.get(65),this.pixelRatio=t.get(140),this.overviewRulerLanes=t.get(81),this.renderBorder=t.get(80);const a=n.getColor(f.editorOverviewRulerBorder);this.borderColor=a?a.toString():null,this.hideCursor=t.get(58);const u=n.getColor(f.editorCursorForeground);this.cursorColor=u?u.transparent(.7).toString():null,this.themeType=n.type;const h=t.get(71),r=h.enabled,c=h.side,o=n.getColor(f.editorOverviewRulerBackground),d=S.TokenizationRegistry.getDefaultBackground();o?this.backgroundColor=o:r&&c==="right"?this.backgroundColor=d:this.backgroundColor=null;const p=t.get(142).overviewRuler;this.top=p.top,this.right=p.right,this.domWidth=p.width,this.domHeight=p.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[m,v]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=m,this.w=v}_initLanes(i,n,t){const a=n-i;if(t>=3){const u=Math.floor(a/3),h=Math.floor(a/3),r=a-u-h,c=i,o=c+u,d=c+u+r;return[[0,c,o,c,d,c,o,c],[0,u,r,u+r,h,u+r+h,r+h,u+r+h]]}else if(t===2){const u=Math.floor(a/2),h=a-u,r=i,c=r+u;return[[0,r,r,r,c,r,r,r],[0,u,u,u,h,u+h,u+h,u+h]]}else{const u=i,h=a;return[[0,u,u,u,u,u,u,u],[0,h,h,h,h,h,h,h]]}}equals(i){return this.lineHeight===i.lineHeight&&this.pixelRatio===i.pixelRatio&&this.overviewRulerLanes===i.overviewRulerLanes&&this.renderBorder===i.renderBorder&&this.borderColor===i.borderColor&&this.hideCursor===i.hideCursor&&this.cursorColor===i.cursorColor&&this.themeType===i.themeType&&k.Color.equals(this.backgroundColor,i.backgroundColor)&&this.top===i.top&&this.right===i.right&&this.domWidth===i.domWidth&&this.domHeight===i.domHeight&&this.canvasWidth===i.canvasWidth&&this.canvasHeight===i.canvasHeight}}class C extends y.ViewPart{constructor(i){super(i),this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=S.TokenizationRegistry.onDidChange(n=>{n.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(i){const n=new g(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(n)?!1:(this._settings=n,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,i&&this._render(),!0)}onConfigurationChanged(i){return this._updateSettings(!1)}onCursorStateChanged(i){this._cursorPositions=[];for(let n=0,t=i.selections.length;nt&&(U=t-d),F=U-d,O=U+d}F>M+1||T!==E?(P!==0&&l.fillRect(p[E],I,m[E],M-I),E=T,I=F,M=O):O>M&&(M=O)}l.fillRect(p[E],I,m[E],M-I)}if(!this._settings.hideCursor&&this._settings.cursorColor){const v=2*this._settings.pixelRatio|0,b=v/2|0,w=this._settings.x[7],E=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let I=-100,M=-100;for(let P=0,x=this._cursorPositions.length;Pt&&(A=t-b);const N=A-b,F=N+v;N>M+1?(P!==0&&l.fillRect(w,I,E,M-I),I=N,M=F):F>M&&(M=F)}l.fillRect(w,I,E,M-I)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(n,0),l.stroke())}}e.DecorationsOverviewRuler=C}),define(ne[849],se([1,0,35,13,53,620,36,80,23,88,430]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursors=void 0;class C extends y.ViewPart{constructor(i){super(i);const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new D.ViewCursor(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new k.TimeoutTimer,this._cursorFlatBlinkInterval=new k.IntervalTimer,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(i){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(i){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(i){const n=this._context.configuration.options;this._readOnly=n.get(89),this._cursorBlinking=n.get(25),this._cursorStyle=n.get(27),this._cursorSmoothCaretAnimation=n.get(26),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(i);for(let t=0,a=this._secondaryCursors.length;tn.length){const u=this._secondaryCursors.length-n.length;for(let h=0;h{for(let a=0,u=i.ranges.length;a{this._isVisible?this._hide():this._show()},C.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},C.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let i="cursors-layer";switch(this._selectionIsEmpty||(i+=" has-selection"),this._cursorStyle){case S.TextEditorCursorStyle.Line:i+=" cursor-line-style";break;case S.TextEditorCursorStyle.Block:i+=" cursor-block-style";break;case S.TextEditorCursorStyle.Underline:i+=" cursor-underline-style";break;case S.TextEditorCursorStyle.LineThin:i+=" cursor-line-thin-style";break;case S.TextEditorCursorStyle.BlockOutline:i+=" cursor-block-outline-style";break;case S.TextEditorCursorStyle.UnderlineThin:i+=" cursor-underline-thin-style";break;default:i+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:i+=" cursor-blink";break;case 2:i+=" cursor-smooth";break;case 3:i+=" cursor-phase";break;case 4:i+=" cursor-expand";break;case 5:i+=" cursor-solid";break;default:i+=" cursor-solid"}else i+=" cursor-solid";return(this._cursorSmoothCaretAnimation==="on"||this._cursorSmoothCaretAnimation==="explicit")&&(i+=" cursor-smooth-caret-animation"),i}_show(){this._primaryCursor.show();for(let i=0,n=this._secondaryCursors.length;i{const n=s.getColor(f.editorCursorForeground);if(n){let t=s.getColor(f.editorCursorBackground);t||(t=n.opposite()),i.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${t}; }`),(0,g.isHighContrast)(s.type)&&i.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${t}; border-right: 1px solid ${t}; }`)}})}),define(ne[850],se([1,0,112,11,95,12,80,431]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WhitespaceOverlay=void 0;class f extends L.DynamicViewOverlay{constructor(C){super(),this._context=C,this._options=new _(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(C){const s=new _(this._context.configuration);return this._options.equals(s)?C.hasChanged(142):(this._options=s,!0)}onCursorStateChanged(C){return this._selection=C.selections,this._options.renderWhitespace==="selection"}onDecorationsChanged(C){return!0}onFlushed(C){return!0}onLinesChanged(C){return!0}onLinesDeleted(C){return!0}onLinesInserted(C){return!0}onScrollChanged(C){return C.scrollTopChanged}onZonesChanged(C){return!0}prepareRender(C){if(this._options.renderWhitespace==="none"){this._renderResult=null;return}const s=C.visibleRange.startLineNumber,n=C.visibleRange.endLineNumber-s+1,t=new Array(n);for(let u=0;uu)continue;const l=d.startLineNumber===u?d.startColumn:r.minColumn,p=d.endLineNumber===u?d.endColumn:r.maxColumn;l=N.endOffset&&(A++,N=i&&i[A]),W!==9&&W!==32||d&&!P&&O<=T)continue;if(o&&O>=x&&O<=T&&W===32){const j=O-1>=0?u.charCodeAt(O-1):0,R=O+1=0?u.charCodeAt(O-1):0;if(W===32&&j!==32&&j!==9)continue}if(i&&(!N||N.startOffset>O||N.endOffset<=O))continue;const U=C.visibleRangeForPosition(new D.Position(s,O+1));U&&(a?(F=Math.max(F,U.left),W===9?M+=this._renderArrow(l,v,U.left):M+=``):W===9?M+=`
    ${I?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:M+=`
    ${String.fromCharCode(E)}
    `)}return a?(F=Math.round(F+v),``+M+""):M}_renderArrow(C,s,i){const n=s/7,t=s,a=C/2,u=i,h={x:0,y:n/2},r={x:100/125*t,y:h.y},c={x:r.x-.2*r.x,y:r.y+.2*r.x},o={x:c.x+.1*r.x,y:c.y+.1*r.x},d={x:o.x+.35*r.x,y:o.y-.35*r.x},l={x:d.x,y:-d.y},p={x:o.x,y:-o.y},m={x:c.x,y:-c.y},v={x:r.x,y:-r.y},b={x:h.x,y:-h.y};return``}render(C,s){if(!this._renderResult)return"";const i=s-C;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}e.WhitespaceOverlay=f;class _{constructor(C){const s=C.options,i=s.get(49),n=s.get(37);n==="off"?(this.renderWhitespace="none",this.renderWithSVG=!1):n==="svg"?(this.renderWhitespace=s.get(97),this.renderWithSVG=!0):(this.renderWhitespace=s.get(97),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=s.get(65),this.stopRenderingLineAfter=s.get(115)}equals(C){return this.renderWhitespace===C.renderWhitespace&&this.renderWithSVG===C.renderWithSVG&&this.spaceWidth===C.spaceWidth&&this.middotWidth===C.middotWidth&&this.wsmiddotWidth===C.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===C.canUseHalfwidthRightwardsArrow&&this.lineHeight===C.lineHeight&&this.stopRenderingLineAfter===C.stopRenderingLineAfter}}}),define(ne[851],se([1,0,7,24,5,35,9,837,847,793,272,592,53,589,845,522,842,846,358,838,523,289,524,821,525,848,534,526,527,843,849,528,12,144,535,531,150,23,355,521,260,850,210,48,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;let J=class extends F.ViewEventHandler{constructor(B,V,Y,ie,ae,ce,de){super(),this._instantiationService=de,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new k.Selection(1,1,1,1)],this._renderAnimationFrame=null;const he=new g.ViewController(V,ie,ae,B);this._context=new A.ViewContext(V,Y,ie),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(_.TextAreaHandler,this._context,he,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,D.createFastDomNode)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,D.createFastDomNode)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,D.createFastDomNode)(document.createElement("div")),i.PartFingerprints.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new u.EditorScrollbar(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new c.ViewLines(this._context,this._linesContent),this._viewZones=new P.ViewZones(this._context),this._viewParts.push(this._viewZones);const ue=new v.DecorationsOverviewRuler(this._context);this._viewParts.push(ue);const te=new E.ScrollDecorationViewPart(this._context);this._viewParts.push(te);const q=new s.ContentViewOverlays(this._context);this._viewParts.push(q),q.addDynamicOverlay(new t.CurrentLineHighlightOverlay(this._context)),q.addDynamicOverlay(new I.SelectionsOverlay(this._context)),q.addDynamicOverlay(new h.IndentGuidesOverlay(this._context)),q.addDynamicOverlay(new a.DecorationsOverlay(this._context)),q.addDynamicOverlay(new R.WhitespaceOverlay(this._context));const z=new s.MarginViewOverlays(this._context);this._viewParts.push(z),z.addDynamicOverlay(new t.CurrentLineMarginHighlightOverlay(this._context)),z.addDynamicOverlay(new l.MarginViewLineDecorationsOverlay(this._context)),z.addDynamicOverlay(new o.LinesDecorationsOverlay(this._context)),z.addDynamicOverlay(new r.LineNumbersOverlay(this._context)),this._glyphMarginWidgets=new K.GlyphMarginWidgets(this._context),this._viewParts.push(this._glyphMarginWidgets);const ee=new d.Margin(this._context);ee.getDomNode().appendChild(this._viewZones.marginDomNode),ee.getDomNode().appendChild(z.getDomNode()),ee.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(ee),this._contentWidgets=new n.ViewContentWidgets(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new M.ViewCursors(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new m.ViewOverlayWidgets(this._context),this._viewParts.push(this._overlayWidgets);const $=new w.Rulers(this._context);this._viewParts.push($);const re=new U.BlockDecorations(this._context);this._viewParts.push(re);const oe=new p.Minimap(this._context);if(this._viewParts.push(oe),ue){const ge=this._scrollbar.getOverviewRulerLayoutInfo();ge.parent.insertBefore(ue.getDomNode(),ge.insertBefore)}this._linesContent.appendChild(q.getDomNode()),this._linesContent.appendChild($.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(ee.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(te.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(oe.getDomNode()),this._overflowGuardContainer.appendChild(re.domNode),this.domNode.appendChild(this._overflowGuardContainer),ce?ce.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new f.PointerHandler(this._context,he,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._shouldRecomputeGlyphMarginLanes&&(this._shouldRecomputeGlyphMarginLanes=!1,this._context.configuration.setGlyphMarginDecorationLaneCount(this._computeGlyphMarginLaneCount())),j.inputLatency.onRenderStart(),this._renderNow()}_computeGlyphMarginLaneCount(){const B=this._context.viewModel.model;let V=[];V=V.concat(B.getAllMarginDecorations().map(ae=>{var ce,de;const he=(de=(ce=ae.options.glyphMargin)===null||ce===void 0?void 0:ce.position)!==null&&de!==void 0?de:G.GlyphMarginLane.Left;return{range:ae.range,lane:he}})),V=V.concat(this._glyphMarginWidgets.getWidgets().map(ae=>({range:B.validateRange(ae.preference.range),lane:ae.preference.lane}))),V.sort((ae,ce)=>y.Range.compareRangesUsingStarts(ae.range,ce.range));let Y=null,ie=null;for(const ae of V)if(ae.lane===G.GlyphMarginLane.Left&&(!Y||y.Range.compareRangesUsingEnds(Y,ae.range)<0)&&(Y=ae.range),ae.lane===G.GlyphMarginLane.Right&&(!ie||y.Range.compareRangesUsingEnds(ie,ae.range)<0)&&(ie=ae.range),Y&&ie){if(Y.endLineNumber{this.focus()},dispatchTextAreaEvent:B=>{this._textAreaHandler.textArea.domNode.dispatchEvent(B)},getLastRenderData:()=>{const B=this._viewCursors.getLastRenderData()||[],V=this._textAreaHandler.getLastRenderData();return new W.PointerHandlerLastRenderData(B,V)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:B=>this._viewZones.shouldSuppressMouseDownOnViewZone(B),shouldSuppressMouseDownOnWidget:B=>this._contentWidgets.shouldSuppressMouseDownOnWidget(B),getPositionFromDOMInfo:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(B,V)),visibleRangeForPosition:(B,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new x.Position(B,V))),getLineWidth:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(B))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:B=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(B))}}_applyLayout(){const V=this._context.configuration.options.get(142);this.domNode.setWidth(V.width),this.domNode.setHeight(V.height),this._overflowGuardContainer.setWidth(V.width),this._overflowGuardContainer.setHeight(V.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const B=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(139)+" "+(0,O.getThemeTypeSelector)(this._context.theme.type)+B}handleEvents(B){super.handleEvents(B),this._scheduleRender()}onConfigurationChanged(B){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(B){return this._selections=B.selections,!1}onDecorationsChanged(B){return B.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(B){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(B){return this._context.theme.update(B.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const B of this._viewParts)B.dispose();super.dispose()}_scheduleRender(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=L.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){X(()=>this._actualRender())}_getViewPartsToRender(){const B=[];let V=0;for(const Y of this._viewParts)Y.shouldRender()&&(B[V++]=Y);return B}_actualRender(){if(!L.isInDOM(this.domNode.domNode))return;let B=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&B.length===0)return;const V=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(V.startLineNumber,V.endLineNumber,V.centeredLineNumber);const Y=new N.ViewportData(this._selections,V,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(Y),this._viewLines.shouldRender()&&(this._viewLines.renderText(Y),this._viewLines.onDidRender(),B=this._getViewPartsToRender());const ie=new T.RenderingContext(this._context.viewLayout,Y,this._viewLines);for(const ae of B)ae.prepareRender(ie);for(const ae of B)ae.render(ie),ae.onDidRender()}delegateVerticalScrollbarPointerDown(B){this._scrollbar.delegateVerticalScrollbarPointerDown(B)}delegateScrollFromMouseWheelEvent(B){this._scrollbar.delegateScrollFromMouseWheelEvent(B)}restoreState(B){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:B.scrollTop,scrollLeft:B.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(B,V){const Y=this._context.viewModel.model.validatePosition({lineNumber:B,column:V}),ie=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(Y);this._flushAccumulatedAndRenderNow();const ae=this._viewLines.visibleRangeForPosition(new x.Position(ie.lineNumber,ie.column));return ae?ae.left:-1}getTargetAtClientPoint(B,V){const Y=this._pointerHandler.getTargetAtClientPoint(B,V);return Y?C.ViewUserInputEvents.convertViewToModelMouseTarget(Y,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(B){return new b.OverviewRuler(this._context,B)}change(B){this._viewZones.changeViewZones(B),this._scheduleRender()}render(B,V){if(V){this._viewLines.forceShouldRender();for(const Y of this._viewParts)Y.forceShouldRender()}B?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(B){this._textAreaHandler.writeScreenReaderContent(B)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(B){this._textAreaHandler.setAriaOptions(B)}addContentWidget(B){this._contentWidgets.addWidget(B.widget),this.layoutContentWidget(B),this._scheduleRender()}layoutContentWidget(B){var V,Y,ie,ae,ce,de,he,ue;this._contentWidgets.setWidgetPosition(B.widget,(Y=(V=B.position)===null||V===void 0?void 0:V.position)!==null&&Y!==void 0?Y:null,(ae=(ie=B.position)===null||ie===void 0?void 0:ie.secondaryPosition)!==null&&ae!==void 0?ae:null,(de=(ce=B.position)===null||ce===void 0?void 0:ce.preference)!==null&&de!==void 0?de:null,(ue=(he=B.position)===null||he===void 0?void 0:he.positionAffinity)!==null&&ue!==void 0?ue:null),this._scheduleRender()}removeContentWidget(B){this._contentWidgets.removeWidget(B.widget),this._scheduleRender()}addOverlayWidget(B){this._overlayWidgets.addWidget(B.widget),this.layoutOverlayWidget(B),this._scheduleRender()}layoutOverlayWidget(B){const V=B.position?B.position.preference:null;this._overlayWidgets.setWidgetPosition(B.widget,V)&&this._scheduleRender()}removeOverlayWidget(B){this._overlayWidgets.removeWidget(B.widget),this._scheduleRender()}addGlyphMarginWidget(B){this._glyphMarginWidgets.addWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(B){const V=B.position;this._glyphMarginWidgets.setWidgetPosition(B.widget,V)&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(B){this._glyphMarginWidgets.removeWidget(B.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};e.View=J,e.View=J=ke([fe(6,Z.IInstantiationService)],J);function X(H){try{return H()}catch(B){(0,S.onUnexpectedError)(B)}}}),define(ne[852],se([1,0,6,2,5,80,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorizedBracketPairsDecorationProvider=void 0;class f extends k.Disposable{constructor(C){super(),this.textModel=C,this.colorProvider=new _,this.onDidChangeEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=C.getOptions().bracketPairColorizationOptions,this._register(C.bracketPairs.onDidChange(s=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(C){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(C,s,i,n){return n?[]:s===void 0?[]:this.colorizationOptions.enabled?this.textModel.bracketPairs.getBracketsInRange(C,!0).map(a=>({id:`bracket${a.range.toString()}-${a.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(a,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:a.range})).toArray():[]}getAllDecorations(C,s){return C===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new y.Range(1,1,this.textModel.getLineCount(),1),C,s):[]}}e.ColorizedBracketPairsDecorationProvider=f;class _{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(C,s){return C.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(s?C.nestingLevelOfEqualBracketType:C.nestingLevel)}getInlineClassNameOfLevel(C){return`bracket-highlighting-${C%30}`}}(0,S.registerThemingParticipant)((g,C)=>{const s=[D.editorBracketHighlightingForeground1,D.editorBracketHighlightingForeground2,D.editorBracketHighlightingForeground3,D.editorBracketHighlightingForeground4,D.editorBracketHighlightingForeground5,D.editorBracketHighlightingForeground6],i=new _;C.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${g.getColor(D.editorBracketHighlightingUnexpectedBracketForeground)}; }`);const n=s.map(t=>g.getColor(t)).filter(t=>!!t).filter(t=>!t.isTransparent());for(let t=0;t<30;t++){const a=n[t%n.length];C.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(t)} { color: ${a}; }`)}})}),define(ne[853],se([1,0,97,2,48,23,80,51,5,54,6,31,65]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsService=void 0;class n extends k.Disposable{constructor(u){super(),this.model=u,this._markersData=new Map,this._register((0,k.toDisposable)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(u,h){const r=[...this._markersData.keys()];this._markersData.clear();const c=this.model.deltaDecorations(r,h);for(let o=0;othis._onModelAdded(r)),this._register(u.onModelAdded(this._onModelAdded,this)),this._register(u.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(u=>u.dispose()),this._markerDecorations.clear()}getMarker(u,h){const r=this._markerDecorations.get(u);return r&&r.getMarker(h)||null}_handleMarkerChange(u){u.forEach(h=>{const r=this._markerDecorations.get(h);r&&this._updateDecorations(r)})}_onModelAdded(u){const h=new n(u);this._markerDecorations.set(u.uri,h),this._updateDecorations(h)}_onModelRemoved(u){var h;const r=this._markerDecorations.get(u.uri);r&&(r.dispose(),this._markerDecorations.delete(u.uri)),(u.uri.scheme===g.Schemas.inMemory||u.uri.scheme===g.Schemas.internal||u.uri.scheme===g.Schemas.vscode)&&((h=this._markerService)===null||h===void 0||h.read({resource:u.uri}).map(c=>c.owner).forEach(c=>this._markerService.remove(c,[u.uri])))}_updateDecorations(u){const h=this._markerService.read({resource:u.model.uri,take:500}),r=h.map(c=>({range:this._createDecorationRange(u.model,c),options:this._createDecorationOption(c)}));u.update(h,r)&&this._onDidChangeMarker.fire(u.model)}_createDecorationRange(u,h){let r=_.Range.lift(h);if(h.severity===L.MarkerSeverity.Hint&&!this._hasMarkerTag(h,1)&&!this._hasMarkerTag(h,2)&&(r=r.setEndPosition(r.startLineNumber,r.startColumn+2)),r=u.validateRange(r),r.isEmpty()){const c=u.getLineLastNonWhitespaceColumn(r.startLineNumber)||u.getLineMaxColumn(r.startLineNumber);if(c===1||r.endColumn>=c)return r;const o=u.getWordAtPosition(r.getStartPosition());o&&(r=new _.Range(r.startLineNumber,o.startColumn,r.endLineNumber,o.endColumn))}else if(h.endColumn===Number.MAX_VALUE&&h.startColumn===1&&r.startLineNumber===r.endLineNumber){const c=u.getLineFirstNonWhitespaceColumn(h.startLineNumber);c=0:!1}};e.MarkerDecorationsService=t,e.MarkerDecorationsService=t=ke([fe(0,f.IModelService),fe(1,L.IMarkerService)],t)}),define(ne[252],se([1,0,124,23,70,519,41]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMultilineTokens2=e.SemanticTokensProviderStyling=void 0;let f=class{constructor(i,n,t,a){this._legend=i,this._themeService=n,this._languageService=t,this._logService=a,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new C}getMetadata(i,n,t){const a=this._languageService.languageIdCodec.encodeLanguageId(t),u=this._hashTable.get(i,n,a);let h;if(u)h=u.metadata,this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${i} / ${n}: foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`);else{let r=this._legend.tokenTypes[i];const c=[];if(r){let o=n;for(let l=0;o>0&&l>1;o>0&&this._logService.getLevel()===y.LogLevel.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${n.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),c.push("not-in-legend"));const d=this._themeService.getColorTheme().getTokenStyleMetadata(r,c,t);if(typeof d>"u")h=2147483647;else{if(h=0,typeof d.italic<"u"){const l=(d.italic?1:0)<<11;h|=l|1}if(typeof d.bold<"u"){const l=(d.bold?2:0)<<11;h|=l|2}if(typeof d.underline<"u"){const l=(d.underline?4:0)<<11;h|=l|4}if(typeof d.strikethrough<"u"){const l=(d.strikethrough?8:0)<<11;h|=l|8}if(d.foreground){const l=d.foreground<<15;h|=l|16}h===0&&(h=2147483647)}}else this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${i} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),h=2147483647,r="not-in-legend";this._hashTable.add(i,n,a,h),this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${i} (${r}) / ${n} (${c.join(" ")}): foreground ${L.TokenMetadata.getForeground(h)}, fontStyle ${L.TokenMetadata.getFontStyle(h).toString(2)}`)}return h}warnOverlappingSemanticTokens(i,n){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${i}, column ${n}`))}warnInvalidLengthSemanticTokens(i,n){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,console.warn(`Semantic token with invalid length detected at lineNumber ${i}, column ${n}`))}warnInvalidEditStart(i,n,t,a,u){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,console.warn(`Invalid semantic tokens edit detected (previousResultId: ${i}, resultId: ${n}) at edit #${t}: The provided start offset ${a} is outside the previous data (length ${u}).`))}};e.SemanticTokensProviderStyling=f,e.SemanticTokensProviderStyling=f=ke([fe(1,k.IThemeService),fe(2,S.ILanguageService),fe(3,y.ILogService)],f);function _(s,i,n){const t=s.data,a=s.data.length/5|0,u=Math.max(Math.ceil(a/1024),400),h=[];let r=0,c=1,o=0;for(;rd&&t[5*I]===0;)I--;if(I-1===d){let M=l;for(;M+1T)i.warnOverlappingSemanticTokens(x,T+1);else{const W=i.getMetadata(F,O,n);W!==2147483647&&(v===0&&(v=x),p[m]=x-v,p[m+1]=T,p[m+2]=N,p[m+3]=W,m+=4,b=x,w=N)}c=x,o=T,r++}m!==p.length&&(p=p.subarray(0,m));const E=D.SparseMultilineTokens.create(v,p);h.push(E)}return h}e.toMultilineTokens2=_;class g{constructor(i,n,t,a){this.tokenTypeIndex=i,this.tokenModifierSet=n,this.languageId=t,this.metadata=a,this.next=null}}class C{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1=this._growCount){const u=this._elements;this._currentLengthIndex++,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1{this._caches=new WeakMap}))}getStyling(s){return this._caches.has(s)||this._caches.set(s,new S.SemanticTokensProviderStyling(s.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(s)}};e.SemanticTokensStylingService=g,e.SemanticTokensStylingService=g=ke([fe(0,y.IThemeService),fe(1,D.ILogService),fe(2,k.ILanguageService)],g),(0,_.registerSingleton)(f.ISemanticTokensStylingService,g,1)}),define(ne[359],se([1,0,99,2,177,48,80,23,49]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorNavigationQuickAccessProvider=void 0;class g{constructor(s){this.options=s,this.rangeHighlightDecorationId=void 0}provide(s,i){var n;const t=new k.DisposableStore;s.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;const a=t.add(new k.MutableDisposable);return a.value=this.doProvide(s,i),t.add(this.onDidActiveTextEditorControlChange(()=>{a.value=void 0,a.value=this.doProvide(s,i)})),t}doProvide(s,i){var n;const t=new k.DisposableStore,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){const u={editor:a},h=(0,y.getCodeEditor)(a);if(h){let r=(n=a.saveViewState())!==null&&n!==void 0?n:void 0;t.add(h.onDidChangeCursorPosition(()=>{var c;r=(c=a.saveViewState())!==null&&c!==void 0?c:void 0})),u.restoreViewState=()=>{r&&a===this.activeTextEditorControl&&a.restoreViewState(r)},t.add((0,L.once)(i.onCancellationRequested)(()=>{var c;return(c=u.restoreViewState)===null||c===void 0?void 0:c.call(u)}))}t.add((0,k.toDisposable)(()=>this.clearDecorations(a))),t.add(this.provideWithTextEditor(u,s,i))}else t.add(this.provideWithoutTextEditor(s,i));return t}canProvideWithTextEditor(s){return!0}gotoLocation({editor:s},i){s.setSelection(i.range),s.revealRangeInCenter(i.range,0),i.preserveFocus||s.focus();const n=s.getModel();n&&"getLineContent"in n&&(0,_.status)(`${n.getLineContent(i.range.startLineNumber)}`)}getModel(s){var i;return(0,y.isDiffEditor)(s)?(i=s.getModel())===null||i===void 0?void 0:i.modified:s.getModel()}addDecorations(s,i){s.changeDecorations(n=>{const t=[];this.rangeHighlightDecorationId&&(t.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),t.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const a=[{range:i,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:i,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerRangeHighlight),position:D.OverviewRulerLane.Full}}}],[u,h]=n.deltaDecorations(t,a);this.rangeHighlightDecorationId={rangeHighlightId:u,overviewRulerDecorationId:h}})}clearDecorations(s){const i=this.rangeHighlightDecorationId;i&&(s.changeDecorations(n=>{n.deltaDecorations([i.overviewRulerDecorationId,i.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}e.AbstractEditorNavigationQuickAccessProvider=g}),define(ne[855],se([1,0,2,177,359,691]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoLineQuickAccessProvider=void 0;class S extends y.AbstractEditorNavigationQuickAccessProvider{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(_){const g=(0,D.localize)(0,null);return _.items=[{label:g}],_.ariaLabel=g,L.Disposable.None}provideWithTextEditor(_,g,C){const s=_.editor,i=new L.DisposableStore;i.add(g.onDidAccept(a=>{const[u]=g.selectedItems;if(u){if(!this.isValidLineNumber(s,u.lineNumber))return;this.gotoLocation(_,{range:this.toRange(u.lineNumber,u.column),keyMods:g.keyMods,preserveFocus:a.inBackground}),a.inBackground||g.hide()}}));const n=()=>{const a=this.parsePosition(s,g.value.trim().substr(S.PREFIX.length)),u=this.getPickLabel(s,a.lineNumber,a.column);if(g.items=[{lineNumber:a.lineNumber,column:a.column,label:u}],g.ariaLabel=u,!this.isValidLineNumber(s,a.lineNumber)){this.clearDecorations(s);return}const h=this.toRange(a.lineNumber,a.column);s.revealRangeInCenter(h,0),this.addDecorations(s,h)};n(),i.add(g.onDidChangeValue(()=>n()));const t=(0,k.getCodeEditor)(s);return t&&t.getOptions().get(66).renderType===2&&(t.updateOptions({lineNumbers:"on"}),i.add((0,L.toDisposable)(()=>t.updateOptions({lineNumbers:"relative"})))),i}toRange(_=1,g=1){return{startLineNumber:_,startColumn:g,endLineNumber:_,endColumn:g}}parsePosition(_,g){const C=g.split(/,|:|#/).map(i=>parseInt(i,10)).filter(i=>!isNaN(i)),s=this.lineCount(_)+1;return{lineNumber:C[0]>0?C[0]:s+C[0],column:C[1]}}getPickLabel(_,g,C){if(this.isValidLineNumber(_,g))return this.isValidColumn(_,g,C)?(0,D.localize)(1,null,g,C):(0,D.localize)(2,null,g);const s=_.getPosition()||{lineNumber:1,column:1},i=this.lineCount(_);return i>1?(0,D.localize)(3,null,s.lineNumber,s.column,i):(0,D.localize)(4,null,s.lineNumber,s.column)}isValidLineNumber(_,g){return!g||typeof g!="number"?!1:g>0&&g<=this.lineCount(_)}isValidColumn(_,g,C){if(!C||typeof C!="number")return!1;const s=this.getModel(_);if(!s)return!1;const i={lineNumber:g,column:C};return s.validatePosition(i).equals(i)}lineCount(_){var g,C;return(C=(g=this.getModel(_))===null||g===void 0?void 0:g.getLineCount())!==null&&C!==void 0?C:0}}e.AbstractGotoLineQuickAccessProvider=S,S.PREFIX=":"}),define(ne[856],se([1,0,13,19,25,26,570,2,11,5,29,188,359,692,18,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoSymbolQuickAccessProvider=void 0;let h=u=class extends i.AbstractEditorNavigationQuickAccessProvider{constructor(d,l,p=Object.create(null)){super(p),this._languageFeaturesService=d,this._outlineModelService=l,this.options=p,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(d){return this.provideLabelPick(d,(0,n.localize)(0,null)),f.Disposable.None}provideWithTextEditor(d,l,p){const m=d.editor,v=this.getModel(m);return v?this._languageFeaturesService.documentSymbolProvider.has(v)?this.doProvideWithEditorSymbols(d,v,l,p):this.doProvideWithoutEditorSymbols(d,v,l,p):f.Disposable.None}doProvideWithoutEditorSymbols(d,l,p,m){const v=new f.DisposableStore;return this.provideLabelPick(p,(0,n.localize)(1,null)),we(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(l,v))||m.isCancellationRequested||v.add(this.doProvideWithEditorSymbols(d,l,p,m))}),v}provideLabelPick(d,l){d.items=[{label:l,index:0,kind:14}],d.ariaLabel=l}waitForLanguageSymbolRegistry(d,l){return we(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(d))return!0;const p=new L.DeferredPromise,m=l.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(d)&&(m.dispose(),p.complete(!0))}));return l.add((0,f.toDisposable)(()=>p.complete(!1))),p.p})}doProvideWithEditorSymbols(d,l,p,m){var v;const b=d.editor,w=new f.DisposableStore;w.add(p.onDidAccept(P=>{const[x]=p.selectedItems;x&&x.range&&(this.gotoLocation(d,{range:x.range.selection,keyMods:p.keyMods,preserveFocus:P.inBackground}),P.inBackground||p.hide())})),w.add(p.onDidTriggerItemButton(({item:P})=>{P&&P.range&&(this.gotoLocation(d,{range:P.range.selection,keyMods:p.keyMods,forceSideBySide:!0}),p.hide())}));const E=this.getDocumentSymbols(l,m);let I;const M=P=>we(this,void 0,void 0,function*(){I?.dispose(!0),p.busy=!1,I=new k.CancellationTokenSource(m),p.busy=!0;try{const x=(0,S.prepareQuery)(p.value.substr(u.PREFIX.length).trim()),T=yield this.doGetSymbolPicks(E,x,void 0,I.token);if(m.isCancellationRequested)return;if(T.length>0){if(p.items=T,P&&x.original.length===0){const A=(0,a.findLast)(T,N=>!!(N.type!=="separator"&&N.range&&g.Range.containsPosition(N.range.decoration,P)));A&&(p.activeItems=[A])}}else x.original.length>0?this.provideLabelPick(p,(0,n.localize)(2,null)):this.provideLabelPick(p,(0,n.localize)(3,null))}finally{m.isCancellationRequested||(p.busy=!1)}});return w.add(p.onDidChangeValue(()=>M(void 0))),M((v=b.getSelection())===null||v===void 0?void 0:v.getPosition()),w.add(p.onDidChangeActive(()=>{const[P]=p.activeItems;P&&P.range&&(b.revealRangeInCenter(P.range.selection,0),this.addDecorations(b,P.range.decoration))})),w}doGetSymbolPicks(d,l,p,m){var v,b;return we(this,void 0,void 0,function*(){const w=yield d;if(m.isCancellationRequested)return[];const E=l.original.indexOf(u.SCOPE_PREFIX)===0,I=E?1:0;let M,P;l.values&&l.values.length>1?(M=(0,S.pieceToQuery)(l.values[0]),P=(0,S.pieceToQuery)(l.values.slice(1))):M=l;let x;const T=(b=(v=this.options)===null||v===void 0?void 0:v.openSideBySideDirection)===null||b===void 0?void 0:b.call(v);T&&(x=[{iconClass:T==="right"?D.ThemeIcon.asClassName(y.Codicon.splitHorizontal):D.ThemeIcon.asClassName(y.Codicon.splitVertical),tooltip:T==="right"?(0,n.localize)(4,null):(0,n.localize)(5,null)}]);const A=[];for(let O=0;OI){let B=!1;if(M!==l&&([G,Z]=(0,S.scoreFuzzy2)(j,Object.assign(Object.assign({},l),{values:void 0}),I,R),typeof G=="number"&&(B=!0)),typeof G!="number"&&([G,Z]=(0,S.scoreFuzzy2)(j,M,I,R),typeof G!="number"))continue;if(!B&&P){if(K&&P.original.length>0&&([J,X]=(0,S.scoreFuzzy2)(K,P)),typeof J!="number")continue;typeof G=="number"&&(G+=J)}}const H=W.tags&&W.tags.indexOf(1)>=0;A.push({index:O,kind:W.kind,score:G,label:j,ariaLabel:(0,C.getAriaLabelForSymbol)(W.name,W.kind),description:K,highlights:H?void 0:{label:Z,description:X},range:{selection:g.Range.collapseToStart(W.selectionRange),decoration:W.range},strikethrough:H,buttons:x})}const N=A.sort((O,W)=>E?this.compareByKindAndScore(O,W):this.compareByScore(O,W));let F=[];if(E){let j=function(){W&&typeof O=="number"&&U>0&&(W.label=(0,_.format)(c[O]||r,U))},O,W,U=0;for(const R of N)O!==R.kind?(j(),O=R.kind,U=1,W={type:"separator"},F.push(W)):U++,F.push(R);j()}else N.length>0&&(F=[{label:(0,n.localize)(6,null,A.length),type:"separator"},...N]);return F})}compareByScore(d,l){if(typeof d.score!="number"&&typeof l.score=="number")return 1;if(typeof d.score=="number"&&typeof l.score!="number")return-1;if(typeof d.score=="number"&&typeof l.score=="number"){if(d.score>l.score)return-1;if(d.scorel.index?1:0}compareByKindAndScore(d,l){const p=c[d.kind]||r,m=c[l.kind]||r,v=p.localeCompare(m);return v===0?this.compareByScore(d,l):v}getDocumentSymbols(d,l){return we(this,void 0,void 0,function*(){const p=yield this._outlineModelService.getOrCreate(d,l);return l.isCancellationRequested?[]:p.asListOfDocumentSymbols()})}};e.AbstractGotoSymbolQuickAccessProvider=h,h.PREFIX="@",h.SCOPE_PREFIX=":",h.PREFIX_BY_CATEGORY=`${u.PREFIX}${u.SCOPE_PREFIX}`,e.AbstractGotoSymbolQuickAccessProvider=h=u=ke([fe(0,t.ILanguageFeaturesService),fe(1,s.IOutlineModelService)],h);const r=(0,n.localize)(7,null),c={[5]:(0,n.localize)(8,null),[11]:(0,n.localize)(9,null),[8]:(0,n.localize)(10,null),[12]:(0,n.localize)(11,null),[4]:(0,n.localize)(12,null),[22]:(0,n.localize)(13,null),[23]:(0,n.localize)(14,null),[24]:(0,n.localize)(15,null),[10]:(0,n.localize)(16,null),[2]:(0,n.localize)(17,null),[3]:(0,n.localize)(18,null),[25]:(0,n.localize)(19,null),[1]:(0,n.localize)(20,null),[6]:(0,n.localize)(21,null),[9]:(0,n.localize)(22,null),[21]:(0,n.localize)(23,null),[14]:(0,n.localize)(24,null),[0]:(0,n.localize)(25,null),[17]:(0,n.localize)(26,null),[15]:(0,n.localize)(27,null),[16]:(0,n.localize)(28,null),[18]:(0,n.localize)(29,null),[19]:(0,n.localize)(30,null),[7]:(0,n.localize)(31,null),[13]:(0,n.localize)(32,null)}}),define(ne[857],se([1,0,2,12,695,15,34,31,23,459]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenameInputField=e.CONTEXT_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_RENAME_INPUT_VISIBLE=new D.RawContextKey("renameInputVisible",!1,(0,y.localize)(0,null));let g=class{constructor(s,i,n,t,a){this._editor=s,this._acceptKeybindings=i,this._themeService=n,this._keybindingService=t,this._disposables=new L.DisposableStore,this.allowEditorOverflow=!0,this._visibleContextKey=e.CONTEXT_RENAME_INPUT_VISIBLE.bindTo(a),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(49)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,y.localize)(1,null)),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(s){var i,n,t,a;if(!this._input||!this._domNode)return;const u=s.getColor(f.widgetShadow),h=s.getColor(f.widgetBorder);this._domNode.style.backgroundColor=String((i=s.getColor(f.editorWidgetBackground))!==null&&i!==void 0?i:""),this._domNode.style.boxShadow=u?` 0 0 8px 2px ${u}`:"",this._domNode.style.border=h?`1px solid ${h}`:"",this._domNode.style.color=String((n=s.getColor(f.inputForeground))!==null&&n!==void 0?n:""),this._input.style.backgroundColor=String((t=s.getColor(f.inputBackground))!==null&&t!==void 0?t:"");const r=s.getColor(f.inputBorder);this._input.style.borderWidth=r?"1px":"0px",this._input.style.borderStyle=r?"solid":"none",this._input.style.borderColor=(a=r?.toString())!==null&&a!==void 0?a:"none"}_updateFont(){if(!this._input||!this._label)return;const s=this._editor.getOption(49);this._input.style.fontFamily=s.fontFamily,this._input.style.fontWeight=s.fontWeight,this._input.style.fontSize=`${s.fontSize}px`,this._label.style.fontSize=`${s.fontSize*.8}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}beforeRender(){var s,i;const[n,t]=this._acceptKeybindings;return this._label.innerText=(0,y.localize)(2,null,(s=this._keybindingService.lookupKeybinding(n))===null||s===void 0?void 0:s.getLabel(),(i=this._keybindingService.lookupKeybinding(t))===null||i===void 0?void 0:i.getLabel()),null}afterRender(s){s||this.cancelInput(!0)}acceptInput(s){var i;(i=this._currentAcceptInput)===null||i===void 0||i.call(this,s)}cancelInput(s){var i;(i=this._currentCancelInput)===null||i===void 0||i.call(this,s)}getInput(s,i,n,t,a,u){this._domNode.classList.toggle("preview",a),this._position=new k.Position(s.startLineNumber,s.startColumn),this._input.value=i,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",t.toString()),this._input.size=Math.max((s.endColumn-s.startColumn)*1.1,20);const h=new L.DisposableStore;return new Promise(r=>{this._currentCancelInput=c=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r(c),!0),this._currentAcceptInput=c=>{if(this._input.value.trim().length===0||this._input.value===i){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,r({newName:this._input.value,wantsPreview:a&&c})},h.add(u.onCancellationRequested(()=>this.cancelInput(!0))),h.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!document.hasFocus()))),this._show()}).finally(()=>{h.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};e.RenameInputField=g,e.RenameInputField=g=ke([fe(2,_.IThemeService),fe(3,S.IKeybindingService),fe(4,D.IContextKeyService)],g)}),define(ne[858],se([1,0,49,13,19,9,2,20,22,104,16,132,33,12,5,21,187,190,694,98,15,8,70,43,77,37,857,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w){"use strict";var E;Object.defineProperty(e,"__esModule",{value:!0}),e.RenameAction=e.rename=void 0;class I{constructor(N,F,O){this.model=N,this.position=F,this._providerRenameIdx=0,this._providers=O.ordered(N)}hasProvider(){return this._providers.length>0}resolveRenameLocation(N){return we(this,void 0,void 0,function*(){const F=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?F.join(` -`):void 0}:{range:t.Range.fromPositions(this.position),text:"",rejectReason:F.length>0?F.join(` -`):void 0}})}provideRenameEdits(N,F){return we(this,void 0,void 0,function*(){return this._provideRenameEdits(N,this._providerRenameIdx,[],F)})}_provideRenameEdits(N,F,O,W){return we(this,void 0,void 0,function*(){const U=this._providers[F];if(!U)return{edits:[],rejectReason:O.join(` -`)};const j=yield U.provideRenameEdits(this.model,this.position,N,W);if(j){if(j.rejectReason)return this._provideRenameEdits(N,F+1,O.concat(j.rejectReason),W)}else return this._provideRenameEdits(N,F+1,O.concat(r.localize(0,null)),W);return j})}}function M(A,N,F,O){return we(this,void 0,void 0,function*(){const W=new I(N,F,A),U=yield W.resolveRenameLocation(y.CancellationToken.None);return U?.rejectReason?{edits:[],rejectReason:U.rejectReason}:W.provideRenameEdits(O,y.CancellationToken.None)})}e.rename=M;let P=E=class{static get(N){return N.getContribution(E.ID)}constructor(N,F,O,W,U,j,R,K){this.editor=N,this._instaService=F,this._notificationService=O,this._bulkEditService=W,this._progressService=U,this._logService=j,this._configService=R,this._languageFeaturesService=K,this._disposableStore=new S.DisposableStore,this._cts=new y.CancellationTokenSource,this._renameInputField=this._disposableStore.add(this._instaService.createInstance(b.RenameInputField,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var N,F;return we(this,void 0,void 0,function*(){if(this._cts.dispose(!0),this._cts=new y.CancellationTokenSource,!this.editor.hasModel())return;const O=this.editor.getPosition(),W=new I(this.editor.getModel(),O,this._languageFeaturesService.renameProvider);if(!W.hasProvider())return;const U=new g.EditorStateCancellationTokenSource(this.editor,5,void 0,this._cts.token);let j;try{const B=W.resolveRenameLocation(U.token);this._progressService.showWhile(B,250),j=yield B}catch(B){(N=h.MessageController.get(this.editor))===null||N===void 0||N.showMessage(B||r.localize(1,null),O);return}finally{U.dispose()}if(!j)return;if(j.rejectReason){(F=h.MessageController.get(this.editor))===null||F===void 0||F.showMessage(j.rejectReason,O);return}if(U.token.isCancellationRequested)return;const R=new g.EditorStateCancellationTokenSource(this.editor,5,j.range,this._cts.token),K=this.editor.getSelection();let G=0,Z=j.text.length;!t.Range.isEmpty(K)&&!t.Range.spansMultipleLines(K)&&t.Range.containsRange(j.range,K)&&(G=Math.max(0,K.startColumn-j.range.startColumn),Z=Math.min(j.range.endColumn,K.endColumn)-j.range.startColumn);const J=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),X=yield this._renameInputField.getInput(j.range,j.text,G,Z,J,R.token);if(typeof X=="boolean"){X&&this.editor.focus(),R.dispose();return}this.editor.focus();const H=(0,k.raceCancellation)(W.provideRenameEdits(X.newName,R.token),R.token).then(B=>we(this,void 0,void 0,function*(){if(!(!B||!this.editor.hasModel())){if(B.rejectReason){this._notificationService.info(B.rejectReason);return}this.editor.setSelection(t.Range.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(B,{editor:this.editor,showPreview:X.wantsPreview,label:r.localize(2,null,j?.text,X.newName),code:"undoredo.rename",quotableLabel:r.localize(3,null,j?.text,X.newName),respectAutoSaveConfig:!0}).then(V=>{V.ariaSummary&&(0,L.alert)(r.localize(4,null,j.text,X.newName,V.ariaSummary))}).catch(V=>{this._notificationService.error(r.localize(5,null)),this._logService.error(V)})}}),B=>{this._notificationService.error(r.localize(6,null)),this._logService.error(B)}).finally(()=>{R.dispose()});return this._progressService.showWhile(H,250),H})}acceptRenameInput(N){this._renameInputField.acceptInput(N)}cancelRenameInput(){this._renameInputField.cancelInput(!0)}};P.ID="editor.contrib.renameController",P=E=ke([fe(1,d.IInstantiationService),fe(2,p.INotificationService),fe(3,s.IBulkEditService),fe(4,m.IEditorProgressService),fe(5,l.ILogService),fe(6,u.ITextResourceConfigurationService),fe(7,w.ILanguageFeaturesService)],P);class x extends C.EditorAction{constructor(){super({id:"editor.action.rename",label:r.localize(7,null),alias:"Rename Symbol",precondition:o.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(N,F){const O=N.get(i.ICodeEditorService),[W,U]=Array.isArray(F)&&F||[void 0,void 0];return _.URI.isUri(W)&&n.Position.isIPosition(U)?O.openCodeEditor({resource:W},O.getActiveCodeEditor()).then(j=>{j&&(j.setPosition(U),j.invokeWithinContext(R=>(this.reportTelemetry(R,j),this.run(R,j))))},D.onUnexpectedError):super.runCommand(N,F)}run(N,F){const O=P.get(F);return O?O.run():Promise.resolve()}}e.RenameAction=x,(0,C.registerEditorContribution)(P.ID,P,4),(0,C.registerEditorAction)(x);const T=C.EditorCommand.bindToContribution(P.get);(0,C.registerEditorCommand)(new T({id:"acceptRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.acceptRenameInput(!1),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:3}})),(0,C.registerEditorCommand)(new T({id:"acceptRenameInputWithPreview",precondition:o.ContextKeyExpr.and(b.CONTEXT_RENAME_INPUT_VISIBLE,o.ContextKeyExpr.has("config.editor.rename.enablePreview")),handler:A=>A.acceptRenameInput(!0),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(a.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:1024+3}})),(0,C.registerEditorCommand)(new T({id:"cancelRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:A=>A.cancelRenameInput(),kbOpts:{weight:100+99,kbExpr:a.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,C.registerModelAndPositionCommand)("_executeDocumentRenameProvider",function(A,N,F,...O){const[W]=O;(0,f.assertType)(typeof W=="string");const{renameProvider:U}=A.get(w.ILanguageFeaturesService);return M(U,N,F,W)}),(0,C.registerModelAndPositionCommand)("_executePrepareRename",function(A,N,F){return we(this,void 0,void 0,function*(){const{renameProvider:O}=A.get(w.ILanguageFeaturesService),U=yield new I(N,F,O).resolveRenameLocation(y.CancellationToken.None);if(U?.rejectReason)throw new Error(U.rejectReason);return U})}),v.Registry.as(c.Extensions.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:r.localize(8,null),default:!0,type:"boolean"}}})}),define(ne[859],se([1,0,2,9,51,28,13,19,23,252,333,76,58,18,234,149,297]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentSemanticTokensFeature=void 0;let r=class extends L.Disposable{constructor(l,p,m,v,b,w){super(),this._watchers=Object.create(null);const E=P=>{this._watchers[P.uri.toString()]=new c(P,l,m,b,w)},I=(P,x)=>{x.dispose(),delete this._watchers[P.uri.toString()]},M=()=>{for(const P of p.getModels()){const x=this._watchers[P.uri.toString()];(0,u.isSemanticColoringEnabled)(P,m,v)?x||E(P):x&&I(P,x)}};this._register(p.onModelAdded(P=>{(0,u.isSemanticColoringEnabled)(P,m,v)&&E(P)})),this._register(p.onModelRemoved(P=>{const x=this._watchers[P.uri.toString()];x&&I(P,x)})),this._register(v.onDidChangeConfiguration(P=>{P.affectsConfiguration(u.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&M()})),this._register(m.onDidColorThemeChange(M))}dispose(){for(const l of Object.values(this._watchers))l.dispose();super.dispose()}};e.DocumentSemanticTokensFeature=r,e.DocumentSemanticTokensFeature=r=ke([fe(0,t.ISemanticTokensStylingService),fe(1,y.IModelService),fe(2,_.IThemeService),fe(3,D.IConfigurationService),fe(4,s.ILanguageFeatureDebounceService),fe(5,n.ILanguageFeaturesService)],r);let c=h=class extends L.Disposable{constructor(l,p,m,v,b){super(),this._semanticTokensStylingService=p,this._isDisposed=!1,this._model=l,this._provider=b.documentSemanticTokensProvider,this._debounceInformation=v.for(this._provider,"DocumentSemanticTokens",{min:h.REQUEST_MIN_DELAY,max:h.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new S.RunOnceScheduler(()=>this._fetchDocumentSemanticTokensNow(),h.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const w=()=>{(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const E of this._provider.all(l))typeof E.onDidChange=="function"&&this._documentProvidersChangeListeners.push(E.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};w(),this._register(this._provider.onDidChange(()=>{w(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(m.onDidColorThemeChange(E=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,C.hasDocumentSemanticTokensProvider)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;const l=new f.CancellationTokenSource,p=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,m=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,v=(0,C.getDocumentSemanticTokens)(this._provider,this._model,p,m,l.token);this._currentDocumentRequestCancellationTokenSource=l,this._providersChangedDuringRequest=!1;const b=[],w=this._model.onDidChangeContent(I=>{b.push(I)}),E=new i.StopWatch(!1);v.then(I=>{if(this._debounceInformation.update(this._model,E.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),!I)this._setDocumentSemanticTokens(null,null,null,b);else{const{provider:M,tokens:P}=I,x=this._semanticTokensStylingService.getStyling(M);this._setDocumentSemanticTokens(M,P||null,x,b)}},I=>{I&&(k.isCancellationError(I)||typeof I.message=="string"&&I.message.indexOf("busy")!==-1)||k.onUnexpectedError(I),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),(b.length>0||this._providersChangedDuringRequest)&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(l,p,m,v,b){b=Math.min(b,m.length-v,l.length-p);for(let w=0;w{(v.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){l&&p&&l.releaseDocumentSemanticTokens(p.resultId);return}if(!l||!m){this._model.tokenization.setSemanticTokens(null,!1);return}if(!p){this._model.tokenization.setSemanticTokens(null,!0),w();return}if((0,C.isSemanticTokensEdits)(p)){if(!b){this._model.tokenization.setSemanticTokens(null,!0);return}if(p.edits.length===0)p={resultId:p.resultId,data:b.data};else{let E=0;for(const T of p.edits)E+=(T.data?T.data.length:0)-T.deleteCount;const I=b.data,M=new Uint32Array(I.length+E);let P=I.length,x=M.length;for(let T=p.edits.length-1;T>=0;T--){const A=p.edits[T];if(A.start>I.length){m.warnInvalidEditStart(b.resultId,p.resultId,T,A.start,I.length),this._model.tokenization.setSemanticTokens(null,!0);return}const N=P-(A.start+A.deleteCount);N>0&&(h._copy(I,P-N,M,x-N,N),x-=N),A.data&&(h._copy(A.data,0,M,x-A.data.length,A.data.length),x-=A.data.length),P=A.start}P>0&&h._copy(I,0,M,0,P),p={resultId:p.resultId,data:M}}}if((0,C.isSemanticTokens)(p)){this._currentDocumentResponse=new o(l,p.resultId,p.data);const E=(0,g.toMultilineTokens2)(p,m,this._model.getLanguageId());if(v.length>0)for(const I of v)for(const M of E)for(const P of I.changes)M.applyEdit(P.range,P.text);this._model.tokenization.setSemanticTokens(E,!0)}else this._model.tokenization.setSemanticTokens(null,!0);w()}};c.REQUEST_MIN_DELAY=300,c.REQUEST_MAX_DELAY=2e3,c=h=ke([fe(1,t.ISemanticTokensStylingService),fe(2,_.IThemeService),fe(3,s.ILanguageFeatureDebounceService),fe(4,n.ILanguageFeaturesService)],c);class o{constructor(l,p,m){this.provider=l,this.resultId=p,this.data=m}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}(0,a.registerEditorFeature)(r)}),define(ne[860],se([1,0,13,2,16,333,297,252,28,23,76,58,18,234]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportSemanticTokensContribution=void 0;let t=class extends k.Disposable{constructor(u,h,r,c,o,d){super(),this._semanticTokensStylingService=h,this._themeService=r,this._configurationService=c,this._editor=u,this._provider=d.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new L.RunOnceScheduler(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const l=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{l()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),l()})),this._register(this._editor.onDidChangeModelContent(p=>{this._cancelAll(),l()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),l()})),this._register(this._configurationService.onDidChangeConfiguration(p=>{p.affectsConfiguration(S.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&(this._cancelAll(),l())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),l()})),l()}_cancelAll(){for(const u of this._outstandingRequests)u.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(u){for(let h=0,r=this._outstandingRequests.length;hthis._requestRange(u,r)))}_requestRange(u,h){const r=u.getVersionId(),c=(0,L.createCancelablePromise)(d=>Promise.resolve((0,D.getDocumentRangeSemanticTokens)(this._provider,u,h,d))),o=new s.StopWatch(!1);return c.then(d=>{if(this._debounceInformation.update(u,o.elapsed()),!d||!d.tokens||u.isDisposed()||u.getVersionId()!==r)return;const{provider:l,tokens:p}=d,m=this._semanticTokensStylingService.getStyling(l);u.tokenization.setPartialSemanticTokens(h,(0,f.toMultilineTokens2)(p,m,u.getLanguageId()))}).then(()=>this._removeOutstandingRequest(c),()=>this._removeOutstandingRequest(c)),c}};e.ViewportSemanticTokensContribution=t,t.ID="editor.contrib.viewportSemanticTokens",e.ViewportSemanticTokensContribution=t=ke([fe(1,n.ISemanticTokensStylingService),fe(2,g.IThemeService),fe(3,_.IConfigurationService),fe(4,C.ILanguageFeatureDebounceService),fe(5,i.ILanguageFeaturesService)],t),(0,y.registerEditorContribution)(t.ID,t,1)}),define(ne[861],se([1,0,7,226,25,26,6,72,2,22,29,775,51,41,704,330,62,23,344]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemRenderer=e.getAriaId=void 0;function o(v){return`suggest-aria-id:${v}`}e.getAriaId=o;const d=(0,u.registerIcon)("suggest-more-info",y.Codicon.chevronRight,t.localize(0,null)),l=new(c=class{extract(b,w){if(b.textLabel.match(c._regexStrict))return w[0]=b.textLabel,!0;if(b.completion.detail&&b.completion.detail.match(c._regexStrict))return w[0]=b.completion.detail,!0;if(typeof b.completion.documentation=="string"){const E=c._regexRelaxed.exec(b.completion.documentation);if(E&&(E.index===0||E.index+E[0].length===b.completion.documentation.length))return w[0]=E[0],!0}return!1}},c._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,c._regexStrict=new RegExp(`^${c._regexRelaxed.source}$`,"i"),c);let p=class{constructor(b,w,E,I){this._editor=b,this._modelService=w,this._languageService=E,this._themeService=I,this._onDidToggleDetails=new S.Emitter,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(b){const w=new _.DisposableStore,E=b;E.classList.add("show-file-icons");const I=(0,L.append)(b,(0,L.$)(".icon")),M=(0,L.append)(I,(0,L.$)("span.colorspan")),P=(0,L.append)(b,(0,L.$)(".contents")),x=(0,L.append)(P,(0,L.$)(".main")),T=(0,L.append)(x,(0,L.$)(".icon-label.codicon")),A=(0,L.append)(x,(0,L.$)("span.left")),N=(0,L.append)(x,(0,L.$)("span.right")),F=new k.IconLabel(A,{supportHighlights:!0,supportIcons:!0});w.add(F);const O=(0,L.append)(A,(0,L.$)("span.signature-label")),W=(0,L.append)(A,(0,L.$)("span.qualifier-label")),U=(0,L.append)(N,(0,L.$)("span.details-label")),j=(0,L.append)(N,(0,L.$)("span.readMore"+D.ThemeIcon.asCSSSelector(d)));j.title=t.localize(1,null);const R=()=>{const K=this._editor.getOptions(),G=K.get(49),Z=G.getMassagedFontFamily(),J=G.fontFeatureSettings,X=K.get(117)||G.fontSize,H=K.get(118)||G.lineHeight,B=G.fontWeight,V=G.letterSpacing,Y=`${X}px`,ie=`${H}px`,ae=`${V}px`;E.style.fontSize=Y,E.style.fontWeight=B,E.style.letterSpacing=ae,x.style.fontFamily=Z,x.style.fontFeatureSettings=J,x.style.lineHeight=ie,I.style.height=ie,I.style.width=ie,j.style.height=ie,j.style.width=ie};return R(),w.add(this._editor.onDidChangeConfiguration(K=>{(K.hasChanged(49)||K.hasChanged(117)||K.hasChanged(118))&&R()})),{root:E,left:A,right:N,icon:I,colorspan:M,iconLabel:F,iconContainer:T,parametersLabel:O,qualifierLabel:W,detailsLabel:U,readMore:j,disposables:w}}renderElement(b,w,E){const{completion:I}=b;E.root.id=o(w),E.colorspan.style.backgroundColor="";const M={labelEscapeNewLines:!0,matches:(0,f.createMatches)(b.score)},P=[];if(I.kind===19&&l.extract(b,P))E.icon.className="icon customcolor",E.iconContainer.className="icon hide",E.colorspan.style.backgroundColor=P[0];else if(I.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){E.icon.className="icon hide",E.iconContainer.className="icon hide";const x=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FILE),T=(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FILE);M.extraClasses=x.length>T.length?x:T}else I.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(E.icon.className="icon hide",E.iconContainer.className="icon hide",M.extraClasses=[(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:b.textLabel}),a.FileKind.FOLDER),(0,s.getIconClasses)(this._modelService,this._languageService,g.URI.from({scheme:"fake",path:I.detail}),a.FileKind.FOLDER)].flat()):(E.icon.className="icon hide",E.iconContainer.className="",E.iconContainer.classList.add("suggest-icon",...D.ThemeIcon.asClassNameArray(C.CompletionItemKinds.toIcon(I.kind))));I.tags&&I.tags.indexOf(1)>=0&&(M.extraClasses=(M.extraClasses||[]).concat(["deprecated"]),M.matches=[]),E.iconLabel.setLabel(b.textLabel,void 0,M),typeof I.label=="string"?(E.parametersLabel.textContent="",E.detailsLabel.textContent=m(I.detail||""),E.root.classList.add("string-label")):(E.parametersLabel.textContent=m(I.label.detail||""),E.detailsLabel.textContent=m(I.label.description||""),E.root.classList.remove("string-label")),this._editor.getOption(116).showInlineDetails?(0,L.show)(E.detailsLabel):(0,L.hide)(E.detailsLabel),(0,r.canExpandCompletionItem)(b)?(E.right.classList.add("can-expand-details"),(0,L.show)(E.readMore),E.readMore.onmousedown=x=>{x.stopPropagation(),x.preventDefault()},E.readMore.onclick=x=>{x.stopPropagation(),x.preventDefault(),this._onDidToggleDetails.fire()}):(E.right.classList.remove("can-expand-details"),(0,L.hide)(E.readMore),E.readMore.onmousedown=null,E.readMore.onclick=null)}disposeTemplate(b){b.disposables.dispose()}};e.ItemRenderer=p,e.ItemRenderer=p=ke([fe(1,i.IModelService),fe(2,n.ILanguageService),fe(3,h.IThemeService)],p);function m(v){return v.replace(/\r\n|\r|\n/g,"")}}),define(ne[862],se([1,0,855,37,136,33,94,6,16,21,71]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneGotoLineQuickAccessProvider=void 0;let s=class extends L.AbstractGotoLineQuickAccessProvider{constructor(t){super(),this.editorService=t,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var t;return(t=this.editorService.getFocusedCodeEditor())!==null&&t!==void 0?t:void 0}};e.StandaloneGotoLineQuickAccessProvider=s,e.StandaloneGotoLineQuickAccessProvider=s=ke([fe(0,D.ICodeEditorService)],s);class i extends _.EditorAction{constructor(){super({id:i.ID,label:S.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})}run(t){t.get(C.IQuickInputService).quickAccess.show(s.PREFIX)}}e.GotoLineAction=i,i.ID="editor.action.gotoLine",(0,_.registerEditorAction)(i),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:s,prefix:s.PREFIX,helpEntries:[{description:S.GoToLineNLS.gotoLineActionLabel,commandId:i.ID}]})}),define(ne[863],se([1,0,856,37,136,33,94,6,16,21,71,188,18,172,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoSymbolAction=e.StandaloneGotoSymbolQuickAccessProvider=void 0;let n=class extends L.AbstractGotoSymbolQuickAccessProvider{constructor(u,h,r){super(h,r),this.editorService=u,this.onDidActiveTextEditorControlChange=f.Event.None}get activeTextEditorControl(){var u;return(u=this.editorService.getFocusedCodeEditor())!==null&&u!==void 0?u:void 0}};e.StandaloneGotoSymbolQuickAccessProvider=n,e.StandaloneGotoSymbolQuickAccessProvider=n=ke([fe(0,D.ICodeEditorService),fe(1,i.ILanguageFeaturesService),fe(2,s.IOutlineModelService)],n);class t extends _.EditorAction{constructor(){super({id:t.ID,label:S.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:g.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(u){u.get(C.IQuickInputService).quickAccess.show(L.AbstractGotoSymbolQuickAccessProvider.PREFIX,{itemActivation:C.ItemActivation.NONE})}}e.GotoSymbolAction=t,t.ID="editor.action.quickOutline",(0,_.registerEditorAction)(t),k.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:n,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,helpEntries:[{description:S.QuickOutlineNLS.quickOutlineActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,commandId:t.ID},{description:S.QuickOutlineNLS.quickOutlineByCategoryActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY}]})}),define(ne[360],se([1,0,7,54,841,33,15,50,23]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneCodeEditorService=void 0;let g=class extends y.AbstractCodeEditorService{constructor(s,i){super(i),this.onCodeEditorAdd(()=>this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=s.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this.registerCodeEditorOpenHandler((n,t,a)=>we(this,void 0,void 0,function*(){return t?this.doOpenEditor(t,n):null}))}_checkContextKey(){let s=!1;for(const i of this.listCodeEditors())if(!i.isSimpleWidget){s=!0;break}this._editorIsOpen.set(s)}setActiveCodeEditor(s){this._activeCodeEditor=s}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(s,i){if(!this.findModel(s,i.resource)){if(i.resource){const a=i.resource.scheme;if(a===k.Schemas.http||a===k.Schemas.https)return(0,L.windowOpenNoOpener)(i.resource.toString()),s}return null}const t=i.options?i.options.selection:null;if(t)if(typeof t.endLineNumber=="number"&&typeof t.endColumn=="number")s.setSelection(t),s.revealRangeInCenter(t,1);else{const a={lineNumber:t.startLineNumber,column:t.startColumn};s.setPosition(a),s.revealPositionInCenter(a,1)}return s}findModel(s,i){const n=s.getModel();return n&&n.uri.toString()!==i.toString()?null:n}};e.StandaloneCodeEditorService=g,e.StandaloneCodeEditorService=g=ke([fe(0,S.IContextKeyService),fe(1,_.IThemeService)],g),(0,f.registerSingleton)(D.ICodeEditorService,g,0)}),define(ne[864],se([1,0,80,31]),function(Q,e,L,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hc_light=e.hc_black=e.vs_dark=e.vs=void 0,e.vs={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFE",[k.editorForeground]:"#000000",[k.editorInactiveSelection]:"#E5EBF1",[L.editorIndentGuide1]:"#D3D3D3",[L.editorActiveIndentGuide1]:"#939393",[k.editorSelectionHighlight]:"#ADD6FF4D"}},e.vs_dark={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#1E1E1E",[k.editorForeground]:"#D4D4D4",[k.editorInactiveSelection]:"#3A3D41",[L.editorIndentGuide1]:"#404040",[L.editorActiveIndentGuide1]:"#707070",[k.editorSelectionHighlight]:"#ADD6FF26"}},e.hc_black={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[k.editorBackground]:"#000000",[k.editorForeground]:"#FFFFFF",[L.editorIndentGuide1]:"#FFFFFF",[L.editorActiveIndentGuide1]:"#FFFFFF"}},e.hc_light={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[k.editorBackground]:"#FFFFFF",[k.editorForeground]:"#292929",[L.editorIndentGuide1]:"#292929",[L.editorActiveIndentGuide1]:"#292929"}}}),define(ne[361],se([1,0,7,52,38,6,29,124,504,864,37,31,23,2,88,835]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneThemeService=e.HC_LIGHT_THEME_NAME=e.HC_BLACK_THEME_NAME=e.VS_DARK_THEME_NAME=e.VS_LIGHT_THEME_NAME=void 0,e.VS_LIGHT_THEME_NAME="vs",e.VS_DARK_THEME_NAME="vs-dark",e.HC_BLACK_THEME_NAME="hc-black",e.HC_LIGHT_THEME_NAME="hc-light";const u=C.Registry.as(s.Extensions.ColorContribution),h=C.Registry.as(i.Extensions.ThemingContribution);class r{constructor(m,v){this.semanticHighlighting=!1,this.themeData=v;const b=v.base;m.length>0?(c(m)?this.id=m:this.id=b+" "+m,this.themeName=m):(this.id=b,this.themeName=b),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const m=new Map;for(const v in this.themeData.colors)m.set(v,y.Color.fromHex(this.themeData.colors[v]));if(this.themeData.inherit){const v=o(this.themeData.base);for(const b in v.colors)m.has(b)||m.set(b,y.Color.fromHex(v.colors[b]))}this.colors=m}return this.colors}getColor(m,v){const b=this.getColors().get(m);if(b)return b;if(v!==!1)return this.getDefault(m)}getDefault(m){let v=this.defaultColors[m];return v||(v=u.resolveDefaultColor(m,this),this.defaultColors[m]=v,v)}defines(m){return this.getColors().has(m)}get type(){switch(this.base){case e.VS_LIGHT_THEME_NAME:return t.ColorScheme.LIGHT;case e.HC_BLACK_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_DARK;case e.HC_LIGHT_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_LIGHT;default:return t.ColorScheme.DARK}}get tokenTheme(){if(!this._tokenTheme){let m=[],v=[];if(this.themeData.inherit){const E=o(this.themeData.base);m=E.rules,E.encodedTokensColors&&(v=E.encodedTokensColors)}const b=this.themeData.colors["editor.foreground"],w=this.themeData.colors["editor.background"];if(b||w){const E={token:""};b&&(E.foreground=b),w&&(E.background=w),m.push(E)}m=m.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(v=this.themeData.encodedTokensColors),this._tokenTheme=_.TokenTheme.createFromRawTokenTheme(m,v)}return this._tokenTheme}getTokenStyleMetadata(m,v,b){const E=this.tokenTheme._match([m].concat(v).join(".")).metadata,I=f.TokenMetadata.getForeground(E),M=f.TokenMetadata.getFontStyle(E);return{foreground:I,italic:!!(M&1),bold:!!(M&2),underline:!!(M&4),strikethrough:!!(M&8)}}}function c(p){return p===e.VS_LIGHT_THEME_NAME||p===e.VS_DARK_THEME_NAME||p===e.HC_BLACK_THEME_NAME||p===e.HC_LIGHT_THEME_NAME}function o(p){switch(p){case e.VS_LIGHT_THEME_NAME:return g.vs;case e.VS_DARK_THEME_NAME:return g.vs_dark;case e.HC_BLACK_THEME_NAME:return g.hc_black;case e.HC_LIGHT_THEME_NAME:return g.hc_light}}function d(p){const m=o(p);return new r(p,m)}class l extends n.Disposable{constructor(){super(),this._onColorThemeChange=this._register(new D.Emitter),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new D.Emitter),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new a.UnthemedProductIconTheme,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(e.VS_LIGHT_THEME_NAME,d(e.VS_LIGHT_THEME_NAME)),this._knownThemes.set(e.VS_DARK_THEME_NAME,d(e.VS_DARK_THEME_NAME)),this._knownThemes.set(e.HC_BLACK_THEME_NAME,d(e.HC_BLACK_THEME_NAME)),this._knownThemes.set(e.HC_LIGHT_THEME_NAME,d(e.HC_LIGHT_THEME_NAME));const m=(0,a.getIconsStyleSheet)(this);this._codiconCSS=m.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(e.VS_LIGHT_THEME_NAME),this._onOSSchemeChanged(),m.onDidChange(()=>{this._codiconCSS=m.getCSS(),this._updateCSS()}),(0,k.addMatchMediaChangeListener)("(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(m){return L.isInShadowDOM(m)?this._registerShadowDomContainer(m):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=L.createStyleSheet(void 0,m=>{m.className="monaco-colors",m.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),n.Disposable.None}_registerShadowDomContainer(m){const v=L.createStyleSheet(m,b=>{b.className="monaco-colors",b.textContent=this._allCSS});return this._styleElements.push(v),{dispose:()=>{for(let b=0;b{b.base===m&&b.notifyBaseUpdated()}),this._theme.themeName===m&&this.setTheme(m)}getColorTheme(){return this._theme}setColorMapOverride(m){this._colorMapOverride=m,this._updateThemeOrColorMap()}setTheme(m){let v;this._knownThemes.has(m)?v=this._knownThemes.get(m):v=this._knownThemes.get(e.VS_LIGHT_THEME_NAME),this._updateActualTheme(v)}_updateActualTheme(m){!m||this._theme===m||(this._theme=m,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){const m=window.matchMedia("(forced-colors: active)").matches;if(m!==(0,t.isHighContrast)(this._theme.type)){let v;(0,t.isDark)(this._theme.type)?v=m?e.HC_BLACK_THEME_NAME:e.VS_DARK_THEME_NAME:v=m?e.HC_LIGHT_THEME_NAME:e.VS_LIGHT_THEME_NAME,this._updateActualTheme(this._knownThemes.get(v))}}}setAutoDetectHighContrast(m){this._autoDetectHighContrast=m,this._onOSSchemeChanged()}_updateThemeOrColorMap(){const m=[],v={},b={addRule:I=>{v[I]||(m.push(I),v[I]=!0)}};h.getThemingParticipants().forEach(I=>I(this._theme,b,this._environment));const w=[];for(const I of u.getColors()){const M=this._theme.getColor(I.id,!0);M&&w.push(`${(0,s.asCssVariableName)(I.id)}: ${M.toString()};`)}b.addRule(`.monaco-editor, .monaco-diff-editor { ${w.join(` -`)} }`);const E=this._colorMapOverride||this._theme.tokenTheme.getColorMap();b.addRule((0,_.generateTokensCSSForColorMap)(E)),this._themeCSS=m.join(` -`),this._updateCSS(),S.TokenizationRegistry.setColorMap(E),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._styleElements.forEach(m=>m.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}e.StandaloneThemeService=l}),define(ne[865],se([1,0,16,133,94,88,361]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class f extends L.EditorAction{constructor(){super({id:"editor.action.toggleHighContrast",label:y.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(g,C){const s=g.get(k.IStandaloneThemeService),i=s.getColorTheme();(0,D.isHighContrast)(i.type)?(s.setTheme(this._originalThemeName||((0,D.isDark)(i.type)?S.VS_DARK_THEME_NAME:S.VS_LIGHT_THEME_NAME)),this._originalThemeName=null):(s.setTheme((0,D.isDark)(i.type)?S.HC_BLACK_THEME_NAME:S.HC_LIGHT_THEME_NAME),this._originalThemeName=i.themeName)}}(0,L.registerEditorAction)(f)}),define(ne[160],se([1,0,7,44,131,315,39,216,2,17,717,30,740,15,57,8,34,43,87,23,26,88,20,31,105,84,472]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createActionViewItem=e.DropdownWithDefaultActionViewItem=e.SubmenuEntryActionViewItem=e.MenuEntryActionViewItem=e.createAndFillInActionBarActions=e.createAndFillInContextMenuActions=void 0;function b(A,N,F,O){const W=A.getActions(N),U=L.ModifierKeyEmitter.getInstance(),j=U.keyStatus.altKey||(g.isWindows||g.isLinux)&&U.keyStatus.shiftKey;E(W,F,j,O?R=>R===O:R=>R==="navigation")}e.createAndFillInContextMenuActions=b;function w(A,N,F,O,W,U){const j=A.getActions(N);E(j,F,!1,typeof O=="string"?K=>K===O:O,W,U)}e.createAndFillInActionBarActions=w;function E(A,N,F,O=j=>j==="navigation",W=()=>!1,U=!1){let j,R;Array.isArray(N)?(j=N,R=N):(j=N.primary,R=N.secondary);const K=new Set;for(const[G,Z]of A){let J;O(G)?(J=j,J.length>0&&U&&J.push(new S.Separator)):(J=R,J.length>0&&J.push(new S.Separator));for(let X of Z){F&&(X=X instanceof s.MenuItemAction&&X.alt?X.alt:X);const H=J.push(X);X instanceof S.SubmenuAction&&K.add({group:G,action:X,index:H-1})}}for(const{group:G,action:Z,index:J}of K){const X=O(G)?j:R,H=Z.actions;H.length<=1&&W(Z,G,X.length)&&X.splice(J,1,...H)}}let I=class extends y.ActionViewItem{constructor(N,F,O,W,U,j,R,K){super(void 0,N,{icon:!!(N.class||N.item.icon),label:!N.class&&!N.item.icon,draggable:F?.draggable,keybinding:F?.keybinding,hoverDelegate:F?.hoverDelegate}),this._keybindingService=O,this._notificationService=W,this._contextKeyService=U,this._themeService=j,this._contextMenuService=R,this._accessibilityService=K,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new _.MutableDisposable),this._altKey=L.ModifierKeyEmitter.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(N){return we(this,void 0,void 0,function*(){N.preventDefault(),N.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(F){this._notificationService.error(F)}})}render(N){if(super.render(N),N.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let F=!1;const O=()=>{var W;const U=!!(!((W=this._menuItemAction.alt)===null||W===void 0)&&W.enabled)&&(!this._accessibilityService.isMotionReduced()||F)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&F);U!==this._wantsAltCommand&&(this._wantsAltCommand=U,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(O)),this._register((0,L.addDisposableListener)(N,"mouseleave",W=>{F=!1,O()})),this._register((0,L.addDisposableListener)(N,"mouseenter",W=>{F=!0,O()})),O()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var N;const F=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),O=F&&F.getLabel(),W=this._commandAction.tooltip||this._commandAction.label;let U=O?(0,C.localize)(0,null,W,O):W;if(!this._wantsAltCommand&&(!((N=this._menuItemAction.alt)===null||N===void 0)&&N.enabled)){const j=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,R=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),K=R&&R.getLabel(),G=K?(0,C.localize)(1,null,j,K):j;U=(0,C.localize)(2,null,U,f.UILabelProvider.modifierLabels[g.OS].altKey,G)}return U}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(N){this._itemClassDispose.value=void 0;const{element:F,label:O}=this;if(!F||!O)return;const W=this._commandAction.checked&&(0,i.isICommandActionToggleInfo)(N.toggled)&&N.toggled.icon?N.toggled.icon:N.icon;if(W)if(o.ThemeIcon.isThemeIcon(W)){const U=o.ThemeIcon.asClassNameArray(W);O.classList.add(...U),this._itemClassDispose.value=(0,_.toDisposable)(()=>{O.classList.remove(...U)})}else O.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(W.dark):(0,L.asCSSUrl)(W.light),O.classList.add("icon"),this._itemClassDispose.value=(0,_.combinedDisposable)((0,_.toDisposable)(()=>{O.style.backgroundImage="",O.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}};e.MenuEntryActionViewItem=I,e.MenuEntryActionViewItem=I=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,n.IContextKeyService),fe(5,c.IThemeService),fe(6,t.IContextMenuService),fe(7,v.IAccessibilityService)],I);let M=class extends D.DropdownMenuActionViewItem{constructor(N,F,O,W,U){var j,R,K;const G=Object.assign(Object.assign({},F),{menuAsChild:(j=F?.menuAsChild)!==null&&j!==void 0?j:!1,classNames:(R=F?.classNames)!==null&&R!==void 0?R:o.ThemeIcon.isThemeIcon(N.item.icon)?o.ThemeIcon.asClassName(N.item.icon):void 0,keybindingProvider:(K=F?.keybindingProvider)!==null&&K!==void 0?K:Z=>O.lookupKeybinding(Z.id)});super(N,{getActions:()=>N.actions},W,G),this._keybindingService=O,this._contextMenuService=W,this._themeService=U}render(N){super.render(N),(0,l.assertType)(this.element),N.classList.add("menu-entry");const F=this._action,{icon:O}=F.item;if(O&&!o.ThemeIcon.isThemeIcon(O)){this.element.classList.add("icon");const W=()=>{this.element&&(this.element.style.backgroundImage=(0,d.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(O.dark):(0,L.asCSSUrl)(O.light))};W(),this._register(this._themeService.onDidColorThemeChange(()=>{W()}))}}};e.SubmenuEntryActionViewItem=M,e.SubmenuEntryActionViewItem=M=ke([fe(2,u.IKeybindingService),fe(3,t.IContextMenuService),fe(4,c.IThemeService)],M);let P=class extends y.BaseActionViewItem{constructor(N,F,O,W,U,j,R,K){var G,Z,J;super(null,N),this._keybindingService=O,this._notificationService=W,this._contextMenuService=U,this._menuService=j,this._instaService=R,this._storageService=K,this._container=null,this._options=F,this._storageKey=`${N.item.submenu.id}_lastActionId`;let X;const H=F?.persistLastActionId?K.get(this._storageKey,1):void 0;H&&(X=N.actions.find(V=>H===V.id)),X||(X=N.actions[0]),this._defaultAction=this._instaService.createInstance(I,X,{keybinding:this._getDefaultActionKeybindingLabel(X)});const B=Object.assign(Object.assign({keybindingProvider:V=>this._keybindingService.lookupKeybinding(V.id)},F),{menuAsChild:(G=F?.menuAsChild)!==null&&G!==void 0?G:!0,classNames:(Z=F?.classNames)!==null&&Z!==void 0?Z:["codicon","codicon-chevron-down"],actionRunner:(J=F?.actionRunner)!==null&&J!==void 0?J:new S.ActionRunner});this._dropdown=new D.DropdownMenuActionViewItem(N,N.actions,this._contextMenuService,B),this._dropdown.actionRunner.onDidRun(V=>{V.action instanceof s.MenuItemAction&&this.update(V.action)})}update(N){var F;!((F=this._options)===null||F===void 0)&&F.persistLastActionId&&this._storageService.store(this._storageKey,N.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(I,N,{keybinding:this._getDefaultActionKeybindingLabel(N)}),this._defaultAction.actionRunner=new class extends S.ActionRunner{runAction(O,W){return we(this,void 0,void 0,function*(){yield O.run(void 0)})}},this._container&&this._defaultAction.render((0,L.prepend)(this._container,(0,L.$)(".action-container")))}_getDefaultActionKeybindingLabel(N){var F;let O;if(!((F=this._options)===null||F===void 0)&&F.renderKeybindingWithDefaultActionLabel){const W=this._keybindingService.lookupKeybinding(N.id);W&&(O=`(${W.getLabel()})`)}return O}setActionContext(N){super.setActionContext(N),this._defaultAction.setActionContext(N),this._dropdown.setActionContext(N)}render(N){this._container=N,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const F=(0,L.$)(".action-container");this._defaultAction.render((0,L.append)(this._container,F)),this._register((0,L.addDisposableListener)(F,L.EventType.KEY_DOWN,W=>{const U=new k.StandardKeyboardEvent(W);U.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),U.stopPropagation())}));const O=(0,L.$)(".dropdown-action-container");this._dropdown.render((0,L.append)(this._container,O)),this._register((0,L.addDisposableListener)(O,L.EventType.KEY_DOWN,W=>{var U;const j=new k.StandardKeyboardEvent(W);j.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(U=this._defaultAction.element)===null||U===void 0||U.focus(),j.stopPropagation())}))}focus(N){N?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(N){N?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};e.DropdownWithDefaultActionViewItem=P,e.DropdownWithDefaultActionViewItem=P=ke([fe(2,u.IKeybindingService),fe(3,h.INotificationService),fe(4,t.IContextMenuService),fe(5,s.IMenuService),fe(6,a.IInstantiationService),fe(7,r.IStorageService)],P);let x=class extends y.SelectActionViewItem{constructor(N,F){super(null,N,N.actions.map(O=>({text:O.id===S.Separator.ID?"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500":O.label,isDisabled:!O.enabled})),0,F,m.defaultSelectBoxStyles,{ariaLabel:N.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,N.actions.findIndex(O=>O.checked)))}render(N){super.render(N),N.style.borderColor=(0,p.asCssVariable)(p.selectBorder)}runAction(N,F){const O=this.action.actions[F];O&&this.actionRunner.run(O)}};x=ke([fe(1,t.IContextViewService)],x);function T(A,N,F){return N instanceof s.MenuItemAction?A.createInstance(I,N,F):N instanceof s.SubmenuItemAction?N.item.isSelection?A.createInstance(x,N):N.item.rememberDefaultAction?A.createInstance(P,N,Object.assign(Object.assign({},F),{persistLastActionId:!0})):A.createInstance(M,N,F):void 0}e.createActionViewItem=T}),define(ne[253],se([1,0,7,131,222,39,14,13,25,2,42,17,26,12,29,214,681,160,817,30,27,15,57,8,34,79,62,451]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b){"use strict";var w;Object.defineProperty(e,"__esModule",{value:!0}),e.CustomizedMenuWorkbenchToolBar=e.InlineSuggestionHintsContentWidget=e.InlineCompletionsHintsWidget=void 0;let E=class extends g.Disposable{constructor(F,O,W){super(),this.editor=F,this.model=O,this.instantiationService=W,this.alwaysShowToolbar=(0,C.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).showToolbar==="always"),this.sessionPosition=void 0,this.position=(0,C.derived)(U=>{var j,R,K;const G=(j=this.model.read(U))===null||j===void 0?void 0:j.ghostText.read(U);if(!this.alwaysShowToolbar.read(U)||!G||G.parts.length===0)return this.sessionPosition=void 0,null;const Z=G.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==G.lineNumber&&(this.sessionPosition=void 0);const J=new n.Position(G.lineNumber,Math.min(Z,(K=(R=this.sessionPosition)===null||R===void 0?void 0:R.column)!==null&&K!==void 0?K:Number.MAX_SAFE_INTEGER));return this.sessionPosition=J,J}),this._register((0,C.autorunWithStore)((U,j)=>{const R=this.model.read(U);if(!R||!this.alwaysShowToolbar.read(U))return;const K=j.add(this.instantiationService.createInstance(P,this.editor,!0,this.position,R.selectedInlineCompletionIndex,R.inlineCompletionsCount,R.selectedInlineCompletion.map(G=>{var Z;return(Z=G?.inlineCompletion.source.inlineCompletions.commands)!==null&&Z!==void 0?Z:[]})));F.addContentWidget(K),j.add((0,g.toDisposable)(()=>F.removeContentWidget(K))),j.add((0,C.autorun)(G=>{this.position.read(G)&&R.lastTriggerKind.read(G)!==t.InlineCompletionTriggerKind.Explicit&&R.triggerExplicitly()}))}))}};e.InlineCompletionsHintsWidget=E,e.InlineCompletionsHintsWidget=E=ke([fe(2,p.IInstantiationService)],E);const I=(0,b.registerIcon)("inline-suggestion-hints-next",_.Codicon.chevronRight,(0,u.localize)(0,null)),M=(0,b.registerIcon)("inline-suggestion-hints-previous",_.Codicon.chevronLeft,(0,u.localize)(1,null));let P=w=class extends g.Disposable{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(F,O,W){const U=new D.Action(F,O,W,!0,()=>this._commandService.executeCommand(F)),j=this.keybindingService.lookupKeybinding(F,this._contextKeyService);let R=O;return j&&(R=(0,u.localize)(2,null,O,j.getLabel())),U.tooltip=R,U}constructor(F,O,W,U,j,R,K,G,Z,J,X){super(),this.editor=F,this.withBorder=O,this._position=W,this._currentSuggestionIdx=U,this._suggestionCount=j,this._extraCommands=R,this._commandService=K,this.keybindingService=Z,this._contextKeyService=J,this._menuService=X,this.id=`InlineSuggestionHintsContentWidget${w.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,L.h)("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[(0,L.h)("div@toolBar")]),this.previousAction=this.createCommandAction(a.showPreviousInlineSuggestionActionId,(0,u.localize)(3,null),i.ThemeIcon.asClassName(M)),this.availableSuggestionCountAction=new D.Action("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(a.showNextInlineSuggestionActionId,(0,u.localize)(4,null),i.ThemeIcon.asClassName(I)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(c.MenuId.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new f.RunOnceScheduler(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new f.RunOnceScheduler(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(G.createInstance(A,this.nodes.toolBar,c.MenuId.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:H=>H.startsWith("primary")},actionViewItemProvider:(H,B)=>{if(H instanceof c.MenuItemAction)return G.createInstance(T,H,void 0);if(H===this.availableSuggestionCountAction){const V=new x(void 0,H,{label:!0,icon:!1});return V.setClass("availableSuggestionCount"),V}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(H=>{w._dropDownVisible=H})),this._register((0,C.autorun)(H=>{this._position.read(H),this.editor.layoutContentWidget(this)})),this._register((0,C.autorun)(H=>{const B=this._suggestionCount.read(H),V=this._currentSuggestionIdx.read(H);B!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${V+1}/${B}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),B!==void 0&&B>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register((0,C.autorun)(H=>{const B=this._extraCommands.read(H);if((0,S.equals)(this.lastCommands,B))return;this.lastCommands=B;const V=B.map(Y=>({class:void 0,id:Y.id,enabled:!0,tooltip:Y.tooltip||"",label:Y.title,run:ie=>this._commandService.executeCommand(Y.id)}));for(const[Y,ie]of this.inlineCompletionsActionsMenus.getActions())for(const ae of ie)ae instanceof c.MenuItemAction&&V.push(ae);V.length>0&&V.unshift(new D.Separator),this.toolBar.setAdditionalSecondaryActions(V)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};e.InlineSuggestionHintsContentWidget=P,P._dropDownVisible=!1,P.id=0,e.InlineSuggestionHintsContentWidget=P=w=ke([fe(6,o.ICommandService),fe(7,p.IInstantiationService),fe(8,m.IKeybindingService),fe(9,d.IContextKeyService),fe(10,c.IMenuService)],P);class x extends k.ActionViewItem{constructor(){super(...arguments),this._className=void 0}setClass(F){this._className=F}render(F){super.render(F),this._className&&F.classList.add(this._className)}}class T extends h.MenuEntryActionViewItem{updateLabel(){const F=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!F)return super.updateLabel();if(this.label){const O=(0,L.h)("div.keybinding").root;new y.KeybindingLabel(O,s.OS,Object.assign({disableTitle:!0},y.unthemedKeybindingLabelOptions)).set(F),this.label.textContent=this._action.label,this.label.appendChild(O),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}}let A=class extends r.WorkbenchToolBar{constructor(F,O,W,U,j,R,K,G){super(F,Object.assign({resetMenu:O},W),U,j,R,K,G),this.menuId=O,this.options2=W,this.menuService=U,this.contextKeyService=j,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var F,O,W,U,j,R,K;const G=[],Z=[];(0,h.createAndFillInActionBarActions)(this.menu,(F=this.options2)===null||F===void 0?void 0:F.menuOptions,{primary:G,secondary:Z},(W=(O=this.options2)===null||O===void 0?void 0:O.toolbarOptions)===null||W===void 0?void 0:W.primaryGroup,(j=(U=this.options2)===null||U===void 0?void 0:U.toolbarOptions)===null||j===void 0?void 0:j.shouldInlineSubmenu,(K=(R=this.options2)===null||R===void 0?void 0:R.toolbarOptions)===null||K===void 0?void 0:K.useSeparatorsInPrimaryActions),Z.push(...this.additionalActions),G.unshift(...this.prependedPrimaryActions),this.setActions(G,Z)}setPrependedPrimaryActions(F){(0,S.equals)(this.prependedPrimaryActions,F,(O,W)=>O===W)||(this.prependedPrimaryActions=F,this.updateToolbar())}setAdditionalSecondaryActions(F){(0,S.equals)(this.additionalActions,F,(O,W)=>O===W)||(this.additionalActions=F,this.updateToolbar())}};e.CustomizedMenuWorkbenchToolBar=A,e.CustomizedMenuWorkbenchToolBar=A=ke([fe(3,c.IMenuService),fe(4,d.IContextKeyService),fe(5,l.IContextMenuService),fe(6,m.IKeybindingService),fe(7,v.ITelemetryService)],A)}),define(ne[866],se([1,0,7,68,2,705,160,30,15,8]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestWidgetStatus=void 0;class C extends S.MenuEntryActionViewItem{updateLabel(){const n=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!n)return super.updateLabel();this.label&&(this.label.textContent=(0,D.localize)(0,null,this._action.label,C.symbolPrintEnter(n)))}static symbolPrintEnter(n){var t;return(t=n.getLabel())===null||t===void 0?void 0:t.replace(/\benter\b/gi,"\u23CE")}}let s=class{constructor(n,t,a,u,h){this._menuId=t,this._menuService=u,this._contextKeyService=h,this._menuDisposables=new y.DisposableStore,this.element=L.append(n,L.$(".suggest-status-bar"));const r=c=>c instanceof f.MenuItemAction?a.createInstance(C,c,void 0):void 0;this._leftActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._rightActions=new k.ActionBar(this.element,{actionViewItemProvider:r}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const n=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{const a=[],u=[];for(const[h,r]of n.getActions())h==="left"?a.push(...r):u.push(...r);this._leftActions.clear(),this._leftActions.push(a),this._rightActions.clear(),this._rightActions.push(u)};this._menuDisposables.add(n.onDidChange(()=>t())),this._menuDisposables.add(n)}hide(){this._menuDisposables.clear()}};e.SuggestWidgetStatus=s,e.SuggestWidgetStatus=s=ke([fe(2,g.IInstantiationService),fe(3,f.IMenuService),fe(4,_.IContextKeyService)],s)}),define(ne[867],se([1,0,7,39,6,2,160,30,15,34,43,79,829,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuMenuDelegate=e.ContextMenuService=void 0;let t=class extends D.Disposable{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new i.ContextMenuHandler(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(h,r,c,o,d,l){super(),this.telemetryService=h,this.notificationService=r,this.contextViewService=c,this.keybindingService=o,this.menuService=d,this.contextKeyService=l,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new y.Emitter),this._onDidHideContextMenu=this._store.add(new y.Emitter)}configure(h){this.contextMenuHandler.configure(h)}showContextMenu(h){h=a.transform(h,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},h),{onHide:r=>{var c;(c=h.onHide)===null||c===void 0||c.call(h,r),this._onDidHideContextMenu.fire()}})),L.ModifierKeyEmitter.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};e.ContextMenuService=t,e.ContextMenuService=t=ke([fe(0,s.ITelemetryService),fe(1,C.INotificationService),fe(2,n.IContextViewService),fe(3,g.IKeybindingService),fe(4,f.IMenuService),fe(5,_.IContextKeyService)],t);var a;(function(u){function h(c){return c&&c.menuId instanceof f.MenuId}function r(c,o,d){if(!h(c))return c;const{menuId:l,menuActionOptions:p,contextKeyService:m}=c;return Object.assign(Object.assign({},c),{getActions:()=>{const v=[];if(l){const b=o.createMenu(l,m??d);(0,S.createAndFillInContextMenuActions)(b,p,v),b.dispose()}return c.getActions?k.Separator.join(c.getActions(),v):v}})}u.transform=r})(a||(e.ContextMenuMenuDelegate=a={}))}),define(ne[868],se([1,0,19,6,15,8,134,191,56,788,105,31,23,840]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputService=void 0;let t=class extends i.Themable{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(g.QuickAccessController))),this._quickAccess}constructor(u,h,r,c){super(r),this.instantiationService=u,this.contextKeyService=h,this.layoutService=c,this._onShow=this._register(new k.Emitter),this._onHide=this._register(new k.Emitter),this.contexts=new Map}createController(u=this.layoutService,h){const r={idPrefix:"quickInput_",container:u.container,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:o=>this.setContextKey(o),linkOpenerDelegate:o=>{this.instantiationService.invokeFunction(d=>{d.get(_.IOpenerService).open(o,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>u.focus(),createList:(o,d,l,p,m)=>this.instantiationService.createInstance(f.WorkbenchList,o,d,l,p,m),styles:this.computeStyles()},c=this._register(new n.QuickInputController(Object.assign(Object.assign({},r),h),this.themeService));return c.layout(u.dimension,u.offset.quickPickTop),this._register(u.onDidLayout(o=>c.layout(o,u.offset.quickPickTop))),this._register(c.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(c.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),c}setContextKey(u){let h;u&&(h=this.contexts.get(u),h||(h=new y.RawContextKey(u,!1).bindTo(this.contextKeyService),this.contexts.set(u,h))),!(h&&h.get())&&(this.resetContextKeys(),h?.set(!0))}resetContextKeys(){this.contexts.forEach(u=>{u.get()&&u.reset()})}pick(u,h={},r=L.CancellationToken.None){return this.controller.pick(u,h,r)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,s.asCssVariable)(s.quickInputBackground),quickInputForeground:(0,s.asCssVariable)(s.quickInputForeground),quickInputTitleBackground:(0,s.asCssVariable)(s.quickInputTitleBackground),widgetBorder:(0,s.asCssVariable)(s.widgetBorder),widgetShadow:(0,s.asCssVariable)(s.widgetShadow)},inputBox:C.defaultInputBoxStyles,toggle:C.defaultToggleStyles,countBadge:C.defaultCountBadgeStyles,button:C.defaultButtonStyles,progressBar:C.defaultProgressBarStyles,keybindingLabel:C.defaultKeybindingLabelStyles,list:(0,C.getListStyles)({listBackground:s.quickInputBackground,listFocusBackground:s.quickInputListFocusBackground,listFocusForeground:s.quickInputListFocusForeground,listInactiveFocusForeground:s.quickInputListFocusForeground,listInactiveSelectionIconForeground:s.quickInputListFocusIconForeground,listInactiveFocusBackground:s.quickInputListFocusBackground,listFocusOutline:s.activeContrastBorder,listInactiveFocusOutline:s.activeContrastBorder}),pickerGroup:{pickerGroupBorder:(0,s.asCssVariable)(s.pickerGroupBorder),pickerGroupForeground:(0,s.asCssVariable)(s.pickerGroupForeground)}}}};e.QuickInputService=t,e.QuickInputService=t=ke([fe(0,D.IInstantiationService),fe(1,y.IContextKeyService),fe(2,i.IThemeService),fe(3,S.ILayoutService)],t)}),define(ne[869],se([1,0,16,23,19,8,15,338,33,868,99,470]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputEditorWidget=e.QuickInputEditorContribution=e.StandaloneQuickInputService=void 0;let s=class extends g.QuickInputService{constructor(u,h,r,c,o){super(h,r,c,new f.EditorScopedLayoutService(u.getContainerDomNode(),o)),this.host=void 0;const d=n.get(u);if(d){const l=d.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return l.getDomNode()},get dimension(){return u.getLayoutInfo()},get onDidLayout(){return u.onDidLayoutChange},focus:()=>u.focus(),offset:{top:0,quickPickTop:0}}}else this.host=void 0}createController(){return super.createController(this.host)}};s=ke([fe(1,D.IInstantiationService),fe(2,S.IContextKeyService),fe(3,k.IThemeService),fe(4,_.ICodeEditorService)],s);let i=class{get activeService(){const u=this.codeEditorService.getFocusedCodeEditor();if(!u)throw new Error("Quick input service needs a focused editor to work.");let h=this.mapEditorToService.get(u);if(!h){const r=h=this.instantiationService.createInstance(s,u);this.mapEditorToService.set(u,h),(0,C.once)(u.onDidDispose)(()=>{r.dispose(),this.mapEditorToService.delete(u)})}return h}get quickAccess(){return this.activeService.quickAccess}constructor(u,h){this.instantiationService=u,this.codeEditorService=h,this.mapEditorToService=new Map}pick(u,h={},r=y.CancellationToken.None){return this.activeService.pick(u,h,r)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};e.StandaloneQuickInputService=i,e.StandaloneQuickInputService=i=ke([fe(0,D.IInstantiationService),fe(1,_.ICodeEditorService)],i);class n{static get(u){return u.getContribution(n.ID)}constructor(u){this.editor=u,this.widget=new t(this.editor)}dispose(){this.widget.dispose()}}e.QuickInputEditorContribution=n,n.ID="editor.controller.quickInput";class t{constructor(u){this.codeEditor=u,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return t.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}e.QuickInputEditorWidget=t,t.ID="editor.contrib.quickInputWidget",(0,L.registerEditorContribution)(n.ID,n,4)}),define(ne[192],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoSource=e.UndoRedoGroup=e.ResourceEditStackSnapshot=e.IUndoRedoService=void 0,e.IUndoRedoService=(0,L.createDecorator)("undoRedoService");class k{constructor(f,_){this.resource=f,this.elements=_}}e.ResourceEditStackSnapshot=k;class y{constructor(){this.id=y._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoGroup=y,y._ID=0,y.None=new y;class D{constructor(){this.id=D._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoSource=D,D._ID=0,D.None=new D}),define(ne[40],se([1,0,14,38,9,6,2,11,22,122,202,66,12,5,24,175,41,32,48,596,852,329,287,509,510,320,597,181,626,111,192]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.AttachedViews=e.ModelDecorationOptions=e.ModelDecorationInjectedTextOptions=e.ModelDecorationMinimapOptions=e.ModelDecorationGlyphMarginOptions=e.ModelDecorationOverviewRulerOptions=e.TextModel=e.createTextBuffer=e.createTextBufferFactoryFromSnapshot=e.createTextBufferFactory=void 0;function x(q){const z=new b.PieceTreeTextBufferBuilder;return z.acceptChunk(q),z.finish()}e.createTextBufferFactory=x;function T(q){const z=new b.PieceTreeTextBufferBuilder;let ee;for(;typeof(ee=q.read())=="string";)z.acceptChunk(ee);return z.finish()}e.createTextBufferFactoryFromSnapshot=T;function A(q,z){let ee;return typeof q=="string"?ee=x(q):r.isITextSnapshot(q)?ee=T(q):ee=q,ee.create(z)}e.createTextBuffer=A;let N=0;const F=999,O=1e4;class W{constructor(z){this._source=z,this._eos=!1}read(){if(this._eos)return null;const z=[];let ee=0,$=0;do{const re=this._source.read();if(re===null)return this._eos=!0,ee===0?null:z.join("");if(re.length>0&&(z[ee++]=re,$+=re.length),$>=64*1024)return z.join("")}while(!0)}}const U=()=>{throw new Error("Invalid change accessor")};let j=P=class extends S.Disposable{static resolveOptions(z,ee){if(ee.detectIndentation){const $=(0,p.guessIndentation)(z,ee.tabSize,ee.insertSpaces);return new r.TextModelResolvedOptions({tabSize:$.tabSize,indentSize:"tabSize",insertSpaces:$.insertSpaces,trimAutoWhitespace:ee.trimAutoWhitespace,defaultEOL:ee.defaultEOL,bracketPairColorizationOptions:ee.bracketPairColorizationOptions})}return new r.TextModelResolvedOptions(ee)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(z){return this._eventEmitter.slowEvent(ee=>z(ee.contentChangedEvent))}onDidChangeContentOrInjectedText(z){return(0,S.combinedDisposable)(this._eventEmitter.fastEvent(ee=>z(ee)),this._onDidChangeInjectedText.event(ee=>z(ee)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(z,ee,$,re=null,oe,ge,ve){super(),this._undoRedoService=oe,this._languageService=ge,this._languageConfigurationService=ve,this._onWillDispose=this._register(new D.Emitter),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new de(Me=>this.handleBeforeFireDecorationsChangedEvent(Me))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new D.Emitter),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new D.Emitter),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new D.Emitter),this._eventEmitter=this._register(new he),this._languageSelectionListener=this._register(new S.MutableDisposable),this._deltaDecorationCallCnt=0,this._attachedViews=new ue,N++,this.id="$model"+N,this.isForSimpleWidget=$.isForSimpleWidget,typeof re>"u"||re===null?this._associatedResource=_.URI.parse("inmemory://model/"+N):this._associatedResource=re,this._attachedEditorCount=0;const{textBuffer:Se,disposable:Le}=A(z,$.defaultEOL);this._buffer=Se,this._bufferDisposable=Le,this._options=P.resolveOptions(this._buffer,$);const De=typeof ee=="string"?ee:ee.languageId;typeof ee!="string"&&(this._languageSelectionListener.value=ee.onDidChange(()=>this._setLanguage(ee.languageId))),this._bracketPairs=this._register(new c.BracketPairsTextModelPart(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new l.GuidesTextModelPart(this,this._languageConfigurationService)),this._decorationProvider=this._register(new o.ColorizedBracketPairsDecorationProvider(this)),this._tokenizationTextModelPart=new E.TokenizationTextModelPart(this._languageService,this._languageConfigurationService,this,this._bracketPairs,De,this._attachedViews);const ye=this._buffer.getLineCount(),Ee=this._buffer.getValueLengthInRange(new n.Range(1,1,ye,this._buffer.getLineLength(ye)+1),0);$.largeFileOptimizations?this._isTooLargeForTokenization=Ee>P.LARGE_FILE_SIZE_THRESHOLD||ye>P.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=Ee>P._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=f.singleLetterHash(N),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager=new d.EditStack(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(De)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;const z=new v.PieceTreeTextBuffer([],"",` -`,!1,!1,!0,!0);z.dispose(),this._buffer=z,this._bufferDisposable=S.Disposable.None}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(z,ee){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(ee),this._bracketPairs.handleDidChangeContent(ee),this._eventEmitter.fire(new I.InternalModelContentChangeEvent(z,ee)))}setValue(z){if(this._assertNotDisposed(),z==null)throw(0,y.illegalArgument)();const{textBuffer:ee,disposable:$}=A(z,this._options.defaultEOL);this._setValueFromTextBuffer(ee,$)}_createContentChanged2(z,ee,$,re,oe,ge,ve,Se){return{changes:[{range:z,rangeOffset:ee,rangeLength:$,text:re}],eol:this._buffer.getEOL(),isEolChange:Se,versionId:this.getVersionId(),isUndoing:oe,isRedoing:ge,isFlush:ve}}_setValueFromTextBuffer(z,ee){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._buffer=z,this._bufferDisposable.dispose(),this._bufferDisposable=ee,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new Z,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawFlush],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!0,!1))}setEOL(z){this._assertNotDisposed();const ee=z===1?`\r -`:` -`;if(this._buffer.getEOL()===ee)return;const $=this.getFullModelRange(),re=this.getValueLengthInRange($),oe=this.getLineCount(),ge=this.getLineMaxColumn(oe);this._onBeforeEOLChange(),this._buffer.setEOL(ee),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new I.ModelRawContentChangedEvent([new I.ModelRawEOLChanged],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,ge),0,re,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const z=this.getVersionId(),ee=this._decorationsTree.collectNodesPostOrder();for(let $=0,re=ee.length;$0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let z=0,ee=0;const $=this._buffer.getLineCount();for(let re=1;re<=$;re++){const oe=this._buffer.getLineLength(re);oe>=O?ee+=oe:z+=oe}return ee>z}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(z){this._assertNotDisposed();const ee=typeof z.tabSize<"u"?z.tabSize:this._options.tabSize,$=typeof z.indentSize<"u"?z.indentSize:this._options.originalIndentSize,re=typeof z.insertSpaces<"u"?z.insertSpaces:this._options.insertSpaces,oe=typeof z.trimAutoWhitespace<"u"?z.trimAutoWhitespace:this._options.trimAutoWhitespace,ge=typeof z.bracketColorizationOptions<"u"?z.bracketColorizationOptions:this._options.bracketPairColorizationOptions,ve=new r.TextModelResolvedOptions({tabSize:ee,indentSize:$,insertSpaces:re,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:oe,bracketPairColorizationOptions:ge});if(this._options.equals(ve))return;const Se=this._options.createChangeEvent(ve);this._options=ve,this._bracketPairs.handleDidChangeOptions(Se),this._decorationProvider.handleDidChangeOptions(Se),this._onDidChangeOptions.fire(Se)}detectIndentation(z,ee){this._assertNotDisposed();const $=(0,p.guessIndentation)(this._buffer,ee,z);this.updateOptions({insertSpaces:$.insertSpaces,tabSize:$.tabSize,indentSize:$.tabSize})}normalizeIndentation(z){return this._assertNotDisposed(),(0,C.normalizeIndentation)(z,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(z=null){const ee=this.findMatches(f.UNUSUAL_LINE_TERMINATORS.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(z,ee.map($=>({range:$.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(z){this._assertNotDisposed();const ee=this._validatePosition(z.lineNumber,z.column,0);return this._buffer.getOffsetAt(ee.lineNumber,ee.column)}getPositionAt(z){this._assertNotDisposed();const ee=Math.min(this._buffer.getLength(),Math.max(0,z));return this._buffer.getPositionAt(ee)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(z){this._versionId=z}_overwriteAlternativeVersionId(z){this._alternativeVersionId=z}_overwriteInitialUndoRedoSnapshot(z){this._initialUndoRedoSnapshot=z}getValue(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueInRange($,z);return ee?this._buffer.getBOM()+re:re}createSnapshot(z=!1){return new W(this._buffer.createSnapshot(z))}getValueLength(z,ee=!1){this._assertNotDisposed();const $=this.getFullModelRange(),re=this.getValueLengthInRange($,z);return ee?this._buffer.getBOM().length+re:re}getValueInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(z),ee)}getValueLengthInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(z),ee)}getCharacterCountInRange(z,ee=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(z),ee)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineContent(z)}getLineLength(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),this._buffer.getEOL()===` -`?0:1}getLineMinColumn(z){return this._assertNotDisposed(),1}getLineMaxColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)+1}getLineFirstNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(z)}getLineLastNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(z)}_validateRangeRelaxedNoAllocations(z){const ee=this._buffer.getLineCount(),$=z.startLineNumber,re=z.startColumn;let oe=Math.floor(typeof $=="number"&&!isNaN($)?$:1),ge=Math.floor(typeof re=="number"&&!isNaN(re)?re:1);if(oe<1)oe=1,ge=1;else if(oe>ee)oe=ee,ge=this.getLineMaxColumn(oe);else if(ge<=1)ge=1;else{const ye=this.getLineMaxColumn(oe);ge>=ye&&(ge=ye)}const ve=z.endLineNumber,Se=z.endColumn;let Le=Math.floor(typeof ve=="number"&&!isNaN(ve)?ve:1),De=Math.floor(typeof Se=="number"&&!isNaN(Se)?Se:1);if(Le<1)Le=1,De=1;else if(Le>ee)Le=ee,De=this.getLineMaxColumn(Le);else if(De<=1)De=1;else{const ye=this.getLineMaxColumn(Le);De>=ye&&(De=ye)}return $===oe&&re===ge&&ve===Le&&Se===De&&z instanceof n.Range&&!(z instanceof t.Selection)?z:new n.Range(oe,ge,Le,De)}_isValidPosition(z,ee,$){if(typeof z!="number"||typeof ee!="number"||isNaN(z)||isNaN(ee)||z<1||ee<1||(z|0)!==z||(ee|0)!==ee)return!1;const re=this._buffer.getLineCount();if(z>re)return!1;if(ee===1)return!0;const oe=this.getLineMaxColumn(z);if(ee>oe)return!1;if($===1){const ge=this._buffer.getLineCharCode(z,ee-2);if(f.isHighSurrogate(ge))return!1}return!0}_validatePosition(z,ee,$){const re=Math.floor(typeof z=="number"&&!isNaN(z)?z:1),oe=Math.floor(typeof ee=="number"&&!isNaN(ee)?ee:1),ge=this._buffer.getLineCount();if(re<1)return new i.Position(1,1);if(re>ge)return new i.Position(ge,this.getLineMaxColumn(ge));if(oe<=1)return new i.Position(re,1);const ve=this.getLineMaxColumn(re);if(oe>=ve)return new i.Position(re,ve);if($===1){const Se=this._buffer.getLineCharCode(re,oe-2);if(f.isHighSurrogate(Se))return new i.Position(re,oe-1)}return new i.Position(re,oe)}validatePosition(z){return this._assertNotDisposed(),z instanceof i.Position&&this._isValidPosition(z.lineNumber,z.column,1)?z:this._validatePosition(z.lineNumber,z.column,1)}_isValidRange(z,ee){const $=z.startLineNumber,re=z.startColumn,oe=z.endLineNumber,ge=z.endColumn;if(!this._isValidPosition($,re,0)||!this._isValidPosition(oe,ge,0))return!1;if(ee===1){const ve=re>1?this._buffer.getLineCharCode($,re-2):0,Se=ge>1&&ge<=this._buffer.getLineLength(oe)?this._buffer.getLineCharCode(oe,ge-2):0,Le=f.isHighSurrogate(ve),De=f.isHighSurrogate(Se);return!Le&&!De}return!0}validateRange(z){if(this._assertNotDisposed(),z instanceof n.Range&&!(z instanceof t.Selection)&&this._isValidRange(z,1))return z;const $=this._validatePosition(z.startLineNumber,z.startColumn,0),re=this._validatePosition(z.endLineNumber,z.endColumn,0),oe=$.lineNumber,ge=$.column,ve=re.lineNumber,Se=re.column;{const Le=ge>1?this._buffer.getLineCharCode(oe,ge-2):0,De=Se>1&&Se<=this._buffer.getLineLength(ve)?this._buffer.getLineCharCode(ve,Se-2):0,ye=f.isHighSurrogate(Le),Ee=f.isHighSurrogate(De);return!ye&&!Ee?new n.Range(oe,ge,ve,Se):oe===ve&&ge===Se?new n.Range(oe,ge-1,ve,Se-1):ye&&Ee?new n.Range(oe,ge-1,ve,Se+1):ye?new n.Range(oe,ge-1,ve,Se):new n.Range(oe,ge,ve,Se+1)}return new n.Range(oe,ge,ve,Se)}modifyPosition(z,ee){this._assertNotDisposed();const $=this.getOffsetAt(z)+ee;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,$)))}getFullModelRange(){this._assertNotDisposed();const z=this.getLineCount();return new n.Range(1,1,z,this.getLineMaxColumn(z))}findMatchesLineByLine(z,ee,$,re){return this._buffer.findMatchesLineByLine(z,ee,$,re)}findMatches(z,ee,$,re,oe,ge,ve=F){this._assertNotDisposed();let Se=null;ee!==null&&(Array.isArray(ee)||(ee=[ee]),ee.every(ye=>n.Range.isIRange(ye))&&(Se=ee.map(ye=>this.validateRange(ye)))),Se===null&&(Se=[this.getFullModelRange()]),Se=Se.sort((ye,Ee)=>ye.startLineNumber-Ee.startLineNumber||ye.startColumn-Ee.startColumn);const Le=[];Le.push(Se.reduce((ye,Ee)=>n.Range.areIntersecting(ye,Ee)?ye.plusRange(Ee):(Le.push(ye),Ee)));let De;if(!$&&z.indexOf(` -`)<0){const Ee=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Ee)return[];De=Me=>this.findMatchesLineByLine(Me,Ee,ge,ve)}else De=ye=>w.TextModelSearch.findMatches(this,new w.SearchParams(z,$,re,oe),ye,ge,ve);return Le.map(De).reduce((ye,Ee)=>ye.concat(Ee),[])}findNextMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);if(!$&&z.indexOf(` -`)<0){const Le=new w.SearchParams(z,$,re,oe).parseSearchRequest();if(!Le)return null;const De=this.getLineCount();let ye=new n.Range(ve.lineNumber,ve.column,De,this.getLineMaxColumn(De)),Ee=this.findMatchesLineByLine(ye,Le,ge,1);return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge),Ee.length>0||(ye=new n.Range(1,1,ve.lineNumber,this.getLineMaxColumn(ve.lineNumber)),Ee=this.findMatchesLineByLine(ye,Le,ge,1),Ee.length>0)?Ee[0]:null}return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}findPreviousMatch(z,ee,$,re,oe,ge){this._assertNotDisposed();const ve=this.validatePosition(ee);return w.TextModelSearch.findPreviousMatch(this,new w.SearchParams(z,$,re,oe),ve,ge)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(z){if((this.getEOL()===` -`?0:1)!==z)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(z)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(z){return z instanceof r.ValidAnnotatedEditOperation?z:new r.ValidAnnotatedEditOperation(z.identifier||null,this.validateRange(z.range),z.text,z.forceMoveMarkers||!1,z.isAutoWhitespaceEdit||!1,z._isTracked||!1)}_validateEditOperations(z){const ee=[];for(let $=0,re=z.length;$({range:this.validateRange(ve.range),text:ve.text}));let ge=!0;if(z)for(let ve=0,Se=z.length;veLe.endLineNumber,Fe=Le.startLineNumber>Me.endLineNumber;if(!Pe&&!Fe){De=!0;break}}if(!De){ge=!1;break}}if(ge)for(let ve=0,Se=this._trimAutoWhitespaceLines.length;vePe.endLineNumber)&&!(Le===Pe.startLineNumber&&Pe.startColumn===De&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(0)===` -`)&&!(Le===Pe.startLineNumber&&Pe.startColumn===1&&Pe.isEmpty()&&Fe&&Fe.length>0&&Fe.charAt(Fe.length-1)===` -`)){ye=!1;break}}if(ye){const Ee=new n.Range(Le,1,Le,De);ee.push(new r.ValidAnnotatedEditOperation(null,Ee,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(z,ee,$,re)}_applyUndo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.newPosition),Se=this.getPositionAt(ge.newEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.oldText}});this._applyUndoRedoEdits(oe,ee,!0,!1,$,re)}_applyRedo(z,ee,$,re){const oe=z.map(ge=>{const ve=this.getPositionAt(ge.oldPosition),Se=this.getPositionAt(ge.oldEnd);return{range:new n.Range(ve.lineNumber,ve.column,Se.lineNumber,Se.column),text:ge.newText}});this._applyUndoRedoEdits(oe,ee,!1,!0,$,re)}_applyUndoRedoEdits(z,ee,$,re,oe,ge){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=$,this._isRedoing=re,this.applyEdits(z,!1),this.setEOL(ee),this._overwriteAlternativeVersionId(oe)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(ge),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(z,ee=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const $=this._validateEditOperations(z);return this._doApplyEdits($,ee)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(z,ee){const $=this._buffer.getLineCount(),re=this._buffer.applyEdits(z,this._options.trimAutoWhitespace,ee),oe=this._buffer.getLineCount(),ge=re.changes;if(this._trimAutoWhitespaceLines=re.trimAutoWhitespaceLineNumbers,ge.length!==0){for(let Le=0,De=ge.length;Le=0;Ve--){const ze=Me+Ve,We=pe+Ve;Re.takeFromEndWhile(Oe=>Oe.lineNumber>We);const qe=Re.takeFromEndWhile(Oe=>Oe.lineNumber===We);ve.push(new I.ModelRawLineChanged(ze,this.getLineContent(We),qe))}if(ment.lineNumbernt.lineNumber===st)}ve.push(new I.ModelRawLinesInserted(ze+1,Me+_e,Ge,Oe))}Se+=le}this._emitContentChangedEvent(new I.ModelRawContentChangedEvent(ve,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:ge,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return re.reverseEdits===null?void 0:re.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(z){if(z===null||z.size===0)return;const $=Array.from(z).map(re=>new I.ModelRawLineChanged(re,this.getLineContent(re),this._getInjectedTextInLine(re)));this._onDidChangeInjectedText.fire(new I.ModelInjectedTextChangedEvent($))}changeDecorations(z,ee=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(ee,z)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(z,ee){const $={addDecoration:(oe,ge)=>this._deltaDecorationsImpl(z,[],[{range:oe,options:ge}])[0],changeDecoration:(oe,ge)=>{this._changeDecorationImpl(oe,ge)},changeDecorationOptions:(oe,ge)=>{this._changeDecorationOptionsImpl(oe,ce(ge))},removeDecoration:oe=>{this._deltaDecorationsImpl(z,[oe],[])},deltaDecorations:(oe,ge)=>oe.length===0&&ge.length===0?[]:this._deltaDecorationsImpl(z,oe,ge)};let re=null;try{re=ee($)}catch(oe){(0,y.onUnexpectedError)(oe)}return $.addDecoration=U,$.changeDecoration=U,$.changeDecorationOptions=U,$.removeDecoration=U,$.deltaDecorations=U,re}deltaDecorations(z,ee,$=0){if(this._assertNotDisposed(),z||(z=[]),z.length===0&&ee.length===0)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,y.onUnexpectedError)(new Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl($,z,ee)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(z){return this.getDecorationRange(z)}_setTrackedRange(z,ee,$){const re=z?this._decorations[z]:null;if(!re)return ee?this._deltaDecorationsImpl(0,[],[{range:ee,options:ae[$]}],!0)[0]:null;if(!ee)return this._decorationsTree.delete(re),delete this._decorations[re.id],null;const oe=this._validateRangeRelaxedNoAllocations(ee),ge=this._buffer.getOffsetAt(oe.startLineNumber,oe.startColumn),ve=this._buffer.getOffsetAt(oe.endLineNumber,oe.endColumn);return this._decorationsTree.delete(re),re.reset(this.getVersionId(),ge,ve,oe),re.setOptions(ae[$]),this._decorationsTree.insert(re),re.id}removeAllDecorationsWithOwnerId(z){if(this._isDisposed)return;const ee=this._decorationsTree.collectNodesFromOwner(z);for(let $=0,re=ee.length;$this.getLineCount()?[]:this.getLinesDecorations(z,z,ee,$)}getLinesDecorations(z,ee,$=0,re=!1,oe=!1){const ge=this.getLineCount(),ve=Math.min(ge,Math.max(1,z)),Se=Math.min(ge,Math.max(1,ee)),Le=this.getLineMaxColumn(Se),De=new n.Range(ve,1,Se,Le),ye=this._getDecorationsInRange(De,$,re,oe);return(0,L.pushMany)(ye,this._decorationProvider.getDecorationsInRange(De,$,re)),ye}getDecorationsInRange(z,ee=0,$=!1,re=!1,oe=!1){const ge=this.validateRange(z),ve=this._getDecorationsInRange(ge,ee,$,oe);return(0,L.pushMany)(ve,this._decorationProvider.getDecorationsInRange(ge,ee,$,re)),ve}getOverviewRulerDecorations(z=0,ee=!1){return this._decorationsTree.getAll(this,z,ee,!0,!1)}getInjectedTextDecorations(z=0){return this._decorationsTree.getAllInjectedText(this,z)}_getInjectedTextInLine(z){const ee=this._buffer.getOffsetAt(z,1),$=ee+this._buffer.getLineLength(z),re=this._decorationsTree.getInjectedTextInInterval(this,ee,$,0);return I.LineInjectedText.fromDecorations(re).filter(oe=>oe.lineNumber===z)}getAllDecorations(z=0,ee=!1){let $=this._decorationsTree.getAll(this,z,ee,!1,!1);return $=$.concat(this._decorationProvider.getAllDecorations(z,ee)),$}getAllMarginDecorations(z=0){return this._decorationsTree.getAll(this,z,!1,!1,!0)}_getDecorationsInRange(z,ee,$,re){const oe=this._buffer.getOffsetAt(z.startLineNumber,z.startColumn),ge=this._buffer.getOffsetAt(z.endLineNumber,z.endColumn);return this._decorationsTree.getAllInInterval(this,oe,ge,ee,$,re)}getRangeAt(z,ee){return this._buffer.getRangeAt(z,ee-z)}_changeDecorationImpl(z,ee){const $=this._decorations[z];if(!$)return;if($.options.after){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.endLineNumber)}if($.options.before){const ve=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ve.startLineNumber)}const re=this._validateRangeRelaxedNoAllocations(ee),oe=this._buffer.getOffsetAt(re.startLineNumber,re.startColumn),ge=this._buffer.getOffsetAt(re.endLineNumber,re.endColumn);this._decorationsTree.delete($),$.reset(this.getVersionId(),oe,ge,re),this._decorationsTree.insert($),this._onDidChangeDecorations.checkAffectedAndFire($.options),$.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.endLineNumber),$.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.startLineNumber)}_changeDecorationOptionsImpl(z,ee){const $=this._decorations[z];if(!$)return;const re=!!($.options.overviewRuler&&$.options.overviewRuler.color),oe=!!(ee.overviewRuler&&ee.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire($.options),this._onDidChangeDecorations.checkAffectedAndFire(ee),$.options.after||ee.after){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.endLineNumber)}if($.options.before||ee.before){const ge=this._decorationsTree.getNodeRange(this,$);this._onDidChangeDecorations.recordLineAffectedByInjectedText(ge.startLineNumber)}re!==oe?(this._decorationsTree.delete($),$.setOptions(ee),this._decorationsTree.insert($)):$.setOptions(ee)}_deltaDecorationsImpl(z,ee,$,re=!1){const oe=this.getVersionId(),ge=ee.length;let ve=0;const Se=$.length;let Le=0;this._onDidChangeDecorations.beginDeferredEmit();try{const De=new Array(Se);for(;vethis._setLanguage(z.languageId,ee)),this._setLanguage(z.languageId,ee))}_setLanguage(z,ee){this.tokenization.setLanguageId(z,ee),this._languageService.requestRichLanguageFeatures(z)}getLanguageIdAtPosition(z,ee){return this.tokenization.getLanguageIdAtPosition(z,ee)}getWordAtPosition(z){return this._tokenizationTextModelPart.getWordAtPosition(z)}getWordUntilPosition(z){return this._tokenizationTextModelPart.getWordUntilPosition(z)}normalizePosition(z,ee){return z}getLineIndentColumn(z){return R(this.getLineContent(z))+1}};e.TextModel=j,j._MODEL_SYNC_LIMIT=50*1024*1024,j.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024,j.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3,j.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:a.EDITOR_MODEL_DEFAULTS.tabSize,indentSize:a.EDITOR_MODEL_DEFAULTS.indentSize,insertSpaces:a.EDITOR_MODEL_DEFAULTS.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:a.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,largeFileOptimizations:a.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,bracketPairColorizationOptions:a.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions},e.TextModel=j=P=ke([fe(4,M.IUndoRedoService),fe(5,u.ILanguageService),fe(6,h.ILanguageConfigurationService)],j);function R(q){let z=0;for(const ee of q)if(ee===" "||ee===" ")z++;else break;return z}function K(q){return!!(q.options.overviewRuler&&q.options.overviewRuler.color)}function G(q){return!!q.options.after||!!q.options.before}class Z{constructor(){this._decorationsTree0=new m.IntervalTree,this._decorationsTree1=new m.IntervalTree,this._injectedTextDecorationsTree=new m.IntervalTree}ensureAllNodesHaveRanges(z){this.getAll(z,0,!1,!1,!1)}_ensureNodesHaveRanges(z,ee){for(const $ of ee)$.range===null&&($.range=z.getRangeAt($.cachedAbsoluteStart,$.cachedAbsoluteEnd));return ee}getAllInInterval(z,ee,$,re,oe,ge){const ve=z.getVersionId(),Se=this._intervalSearch(ee,$,re,oe,ve,ge);return this._ensureNodesHaveRanges(z,Se)}_intervalSearch(z,ee,$,re,oe,ge){const ve=this._decorationsTree0.intervalSearch(z,ee,$,re,oe,ge),Se=this._decorationsTree1.intervalSearch(z,ee,$,re,oe,ge),Le=this._injectedTextDecorationsTree.intervalSearch(z,ee,$,re,oe,ge);return ve.concat(Se).concat(Le)}getInjectedTextInInterval(z,ee,$,re){const oe=z.getVersionId(),ge=this._injectedTextDecorationsTree.intervalSearch(ee,$,re,!1,oe,!1);return this._ensureNodesHaveRanges(z,ge).filter(ve=>ve.options.showIfCollapsed||!ve.range.isEmpty())}getAllInjectedText(z,ee){const $=z.getVersionId(),re=this._injectedTextDecorationsTree.search(ee,!1,$,!1);return this._ensureNodesHaveRanges(z,re).filter(oe=>oe.options.showIfCollapsed||!oe.range.isEmpty())}getAll(z,ee,$,re,oe){const ge=z.getVersionId(),ve=this._search(ee,$,re,ge,oe);return this._ensureNodesHaveRanges(z,ve)}_search(z,ee,$,re,oe){if($)return this._decorationsTree1.search(z,ee,re,oe);{const ge=this._decorationsTree0.search(z,ee,re,oe),ve=this._decorationsTree1.search(z,ee,re,oe),Se=this._injectedTextDecorationsTree.search(z,ee,re,oe);return ge.concat(ve).concat(Se)}}collectNodesFromOwner(z){const ee=this._decorationsTree0.collectNodesFromOwner(z),$=this._decorationsTree1.collectNodesFromOwner(z),re=this._injectedTextDecorationsTree.collectNodesFromOwner(z);return ee.concat($).concat(re)}collectNodesPostOrder(){const z=this._decorationsTree0.collectNodesPostOrder(),ee=this._decorationsTree1.collectNodesPostOrder(),$=this._injectedTextDecorationsTree.collectNodesPostOrder();return z.concat(ee).concat($)}insert(z){G(z)?this._injectedTextDecorationsTree.insert(z):K(z)?this._decorationsTree1.insert(z):this._decorationsTree0.insert(z)}delete(z){G(z)?this._injectedTextDecorationsTree.delete(z):K(z)?this._decorationsTree1.delete(z):this._decorationsTree0.delete(z)}getNodeRange(z,ee){const $=z.getVersionId();return ee.cachedVersionId!==$&&this._resolveNode(ee,$),ee.range===null&&(ee.range=z.getRangeAt(ee.cachedAbsoluteStart,ee.cachedAbsoluteEnd)),ee.range}_resolveNode(z,ee){G(z)?this._injectedTextDecorationsTree.resolveNode(z,ee):K(z)?this._decorationsTree1.resolveNode(z,ee):this._decorationsTree0.resolveNode(z,ee)}acceptReplace(z,ee,$,re){this._decorationsTree0.acceptReplace(z,ee,$,re),this._decorationsTree1.acceptReplace(z,ee,$,re),this._injectedTextDecorationsTree.acceptReplace(z,ee,$,re)}}function J(q){return q.replace(/[^a-z0-9\-_]/gi," ")}class X{constructor(z){this.color=z.color||"",this.darkColor=z.darkColor||""}}class H extends X{constructor(z){super(z),this._resolvedColor=null,this.position=typeof z.position=="number"?z.position:r.OverviewRulerLane.Center}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(z,ee){if(typeof z=="string")return z;const $=z?ee.getColor(z.id):null;return $?$.toString():""}}e.ModelDecorationOverviewRulerOptions=H;class B{constructor(z){var ee;this.position=(ee=z?.position)!==null&&ee!==void 0?ee:r.GlyphMarginLane.Left}}e.ModelDecorationGlyphMarginOptions=B;class V extends X{constructor(z){super(z),this.position=z.position}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(z,ee){return typeof z=="string"?k.Color.fromHex(z):ee.getColor(z.id)}}e.ModelDecorationMinimapOptions=V;class Y{static from(z){return z instanceof Y?z:new Y(z)}constructor(z){this.content=z.content||"",this.inlineClassName=z.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=z.attachedData||null,this.cursorStops=z.cursorStops||null}}e.ModelDecorationInjectedTextOptions=Y;class ie{static register(z){return new ie(z)}static createDynamic(z){return new ie(z)}constructor(z){var ee,$,re,oe,ge,ve;this.description=z.description,this.blockClassName=z.blockClassName?J(z.blockClassName):null,this.blockDoesNotCollapse=(ee=z.blockDoesNotCollapse)!==null&&ee!==void 0?ee:null,this.blockIsAfterEnd=($=z.blockIsAfterEnd)!==null&&$!==void 0?$:null,this.blockPadding=(re=z.blockPadding)!==null&&re!==void 0?re:null,this.stickiness=z.stickiness||0,this.zIndex=z.zIndex||0,this.className=z.className?J(z.className):null,this.shouldFillLineOnLineBreak=(oe=z.shouldFillLineOnLineBreak)!==null&&oe!==void 0?oe:null,this.hoverMessage=z.hoverMessage||null,this.glyphMarginHoverMessage=z.glyphMarginHoverMessage||null,this.isWholeLine=z.isWholeLine||!1,this.showIfCollapsed=z.showIfCollapsed||!1,this.collapseOnReplaceEdit=z.collapseOnReplaceEdit||!1,this.overviewRuler=z.overviewRuler?new H(z.overviewRuler):null,this.minimap=z.minimap?new V(z.minimap):null,this.glyphMargin=z.glyphMarginClassName?new B(z.glyphMargin):null,this.glyphMarginClassName=z.glyphMarginClassName?J(z.glyphMarginClassName):null,this.linesDecorationsClassName=z.linesDecorationsClassName?J(z.linesDecorationsClassName):null,this.firstLineDecorationClassName=z.firstLineDecorationClassName?J(z.firstLineDecorationClassName):null,this.marginClassName=z.marginClassName?J(z.marginClassName):null,this.inlineClassName=z.inlineClassName?J(z.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=z.beforeContentClassName?J(z.beforeContentClassName):null,this.afterContentClassName=z.afterContentClassName?J(z.afterContentClassName):null,this.after=z.after?Y.from(z.after):null,this.before=z.before?Y.from(z.before):null,this.hideInCommentTokens=(ge=z.hideInCommentTokens)!==null&&ge!==void 0?ge:!1,this.hideInStringTokens=(ve=z.hideInStringTokens)!==null&&ve!==void 0?ve:!1}}e.ModelDecorationOptions=ie,ie.EMPTY=ie.register({description:"empty"});const ae=[ie.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),ie.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),ie.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),ie.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function ce(q){return q instanceof ie?q:ie.createDynamic(q)}class de extends S.Disposable{constructor(z){super(),this.handleBeforeFire=z,this._actual=this._register(new D.Emitter),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var z;this._deferredCnt--,this._deferredCnt===0&&(this._shouldFireDeferred&&this.doFire(),(z=this._affectedInjectedTextLines)===null||z===void 0||z.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(z){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(z)}checkAffectedAndFire(z){this._affectsMinimap||(this._affectsMinimap=!!(z.minimap&&z.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(z.overviewRuler&&z.overviewRuler.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!z.glyphMarginClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){this._deferredCnt===0?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);const z={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(z)}}class he extends S.Disposable{constructor(){super(),this._fastEmitter=this._register(new D.Emitter),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new D.Emitter),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(z=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=z;const ee=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(ee),this._slowEmitter.fire(ee)}}fire(z){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(z):this._deferredEvent=z;return}this._fastEmitter.fire(z),this._slowEmitter.fire(z)}}class ue{constructor(){this._onDidChangeVisibleRanges=new D.Emitter,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){const z=new te(ee=>{this._onDidChangeVisibleRanges.fire({view:z,state:ee})});return this._views.add(z),z}detachView(z){this._views.delete(z),this._onDidChangeVisibleRanges.fire({view:z,state:void 0})}}e.AttachedViews=ue;class te{constructor(z){this.handleStateChange=z}setVisibleLines(z,ee){const $=z.map(re=>new s.LineRange(re.startLineNumber,re.endLineNumber+1));this.handleStateChange({visibleLineRanges:$,stabilized:ee})}}}),define(ne[362],se([1,0,25,55,26,40,609,62]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowRevertChange=e.diffDeleteDecorationEmpty=e.diffWholeLineDeleteDecoration=e.diffDeleteDecoration=e.diffAddDecorationEmpty=e.diffWholeLineAddDecoration=e.diffAddDecoration=e.diffLineDeleteDecorationBackground=e.diffLineAddDecorationBackground=e.diffLineDeleteDecorationBackgroundWithIndicator=e.diffLineAddDecorationBackgroundWithIndicator=e.diffRemoveIcon=e.diffInsertIcon=void 0,e.diffInsertIcon=(0,f.registerIcon)("diff-insert",L.Codicon.add,(0,S.localize)(0,null)),e.diffRemoveIcon=(0,f.registerIcon)("diff-remove",L.Codicon.remove,(0,S.localize)(1,null)),e.diffLineAddDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+y.ThemeIcon.asClassName(e.diffInsertIcon),marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+y.ThemeIcon.asClassName(e.diffRemoveIcon),marginClassName:"gutter-delete"}),e.diffLineAddDecorationBackground=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackground=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),e.diffAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),e.diffWholeLineAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),e.diffAddDecorationEmpty=D.ModelDecorationOptions.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),e.diffDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),e.diffWholeLineDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),e.diffDeleteDecorationEmpty=D.ModelDecorationOptions.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"}),e.arrowRevertChange=D.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new k.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,S.localize)(2,null)),glyphMarginClassName:"arrow-revert-change "+y.ThemeIcon.asClassName(L.Codicon.arrowRight),zIndex:10001})}),define(ne[870],se([1,0,2,42,362,323,102,12,5]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorDecorations=void 0;class g extends L.Disposable{constructor(s,i,n){super(),this._editors=s,this._diffModel=i,this._options=n,this._decorations=(0,k.derived)(t=>{var a;const u=(a=this._diffModel.read(t))===null||a===void 0?void 0:a.diff.read(t);if(!u)return null;const h=this._diffModel.read(t).movedTextToCompare.read(t),r=this._options.renderIndicators.read(t),c=this._options.showEmptyDecorations.read(t),o=[],d=[];if(!h)for(const p of u.mappings){if(p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground}),p.lineRangeMapping.modifiedRange.isEmpty||p.lineRangeMapping.originalRange.isEmpty)p.lineRangeMapping.originalRange.isEmpty||o.push({range:p.lineRangeMapping.originalRange.toInclusiveRange(),options:y.diffWholeLineDeleteDecoration}),p.lineRangeMapping.modifiedRange.isEmpty||d.push({range:p.lineRangeMapping.modifiedRange.toInclusiveRange(),options:y.diffWholeLineAddDecoration});else for(const m of p.lineRangeMapping.innerChanges||[])p.lineRangeMapping.originalRange.contains(m.originalRange.startLineNumber)&&o.push({range:m.originalRange,options:m.originalRange.isEmpty()&&c?y.diffDeleteDecorationEmpty:y.diffDeleteDecoration}),p.lineRangeMapping.modifiedRange.contains(m.modifiedRange.startLineNumber)&&d.push({range:m.modifiedRange,options:m.modifiedRange.isEmpty()&&c?y.diffAddDecorationEmpty:y.diffAddDecoration});!p.lineRangeMapping.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(t)&&!h&&d.push({range:_.Range.fromPositions(new f.Position(p.lineRangeMapping.modifiedRange.startLineNumber,1)),options:y.arrowRevertChange})}if(h)for(const p of h.changes){const m=p.originalRange.toInclusiveRange();m&&o.push({range:m,options:r?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground});const v=p.modifiedRange.toInclusiveRange();v&&d.push({range:v,options:r?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground});for(const b of p.innerChanges||[])o.push({range:b.originalRange,options:y.diffDeleteDecoration}),d.push({range:b.modifiedRange,options:y.diffAddDecoration})}const l=this._diffModel.read(t).activeMovedText.read(t);for(const p of u.movedTexts)o.push({range:p.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(p===l?" currentMove":""),blockPadding:[D.MovedBlocksLinesPart.movedCodeBlockPadding,0,D.MovedBlocksLinesPart.movedCodeBlockPadding,D.MovedBlocksLinesPart.movedCodeBlockPadding]}}),d.push({range:p.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(p===l?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:o,modifiedDecorations:d}}),this._register((0,S.applyObservableDecorations)(this._editors.original,this._decorations.map(t=>t?.originalDecorations||[]))),this._register((0,S.applyObservableDecorations)(this._editors.modified,this._decorations.map(t=>t?.modifiedDecorations||[])))}}e.DiffEditorDecorations=g}),define(ne[871],se([1,0,6,2,17,40,175,78,41,187,28,192,143,329,54,47,32]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.ModelService=void 0;function r(m){return m.toString()}function c(m){const v=new i.StringSHA1,b=m.createSnapshot();let w;for(;w=b.read();)v.update(w);return v.digest()}class o{constructor(v,b,w){this.model=v,this._modelEventListeners=new k.DisposableStore,this.model=v,this._modelEventListeners.add(v.onWillDispose(()=>b(v))),this._modelEventListeners.add(v.onDidChangeLanguage(E=>w(v,E)))}dispose(){this._modelEventListeners.dispose()}}const d=y.isLinux||y.isMacintosh?1:2;class l{constructor(v,b,w,E,I,M,P,x){this.uri=v,this.initialUndoRedoSnapshot=b,this.time=w,this.sharesUndoRedoStack=E,this.heapSize=I,this.sha1=M,this.versionId=P,this.alternativeVersionId=x}}let p=h=class extends k.Disposable{constructor(v,b,w,E,I){super(),this._configurationService=v,this._resourcePropertiesService=b,this._undoRedoService=w,this._languageService=E,this._languageConfigurationService=I,this._onModelAdded=this._register(new L.Emitter),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new L.Emitter),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new L.Emitter),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(M=>this._updateModelOptions(M))),this._updateModelOptions(void 0)}static _readModelOptions(v,b){var w;let E=S.EDITOR_MODEL_DEFAULTS.tabSize;if(v.editor&&typeof v.editor.tabSize<"u"){const O=parseInt(v.editor.tabSize,10);isNaN(O)||(E=O),E<1&&(E=1)}let I="tabSize";if(v.editor&&typeof v.editor.indentSize<"u"&&v.editor.indentSize!=="tabSize"){const O=parseInt(v.editor.indentSize,10);isNaN(O)||(I=Math.max(O,1))}let M=S.EDITOR_MODEL_DEFAULTS.insertSpaces;v.editor&&typeof v.editor.insertSpaces<"u"&&(M=v.editor.insertSpaces==="false"?!1:!!v.editor.insertSpaces);let P=d;const x=v.eol;x===`\r -`?P=2:x===` -`&&(P=1);let T=S.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace;v.editor&&typeof v.editor.trimAutoWhitespace<"u"&&(T=v.editor.trimAutoWhitespace==="false"?!1:!!v.editor.trimAutoWhitespace);let A=S.EDITOR_MODEL_DEFAULTS.detectIndentation;v.editor&&typeof v.editor.detectIndentation<"u"&&(A=v.editor.detectIndentation==="false"?!1:!!v.editor.detectIndentation);let N=S.EDITOR_MODEL_DEFAULTS.largeFileOptimizations;v.editor&&typeof v.editor.largeFileOptimizations<"u"&&(N=v.editor.largeFileOptimizations==="false"?!1:!!v.editor.largeFileOptimizations);let F=S.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions;return!((w=v.editor)===null||w===void 0)&&w.bracketPairColorization&&typeof v.editor.bracketPairColorization=="object"&&(F={enabled:!!v.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!v.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:b,tabSize:E,indentSize:I,insertSpaces:M,detectIndentation:A,defaultEOL:P,trimAutoWhitespace:T,largeFileOptimizations:N,bracketPairColorizationOptions:F}}_getEOL(v,b){if(v)return this._resourcePropertiesService.getEOL(v,b);const w=this._configurationService.getValue("files.eol",{overrideIdentifier:b});return w&&typeof w=="string"&&w!=="auto"?w:y.OS===3||y.OS===2?` -`:`\r -`}_shouldRestoreUndoStack(){const v=this._configurationService.getValue("files.restoreUndoStack");return typeof v=="boolean"?v:!0}getCreationOptions(v,b,w){const E=typeof v=="string"?v:v.languageId;let I=this._modelCreationOptionsByLanguageAndResource[E+b];if(!I){const M=this._configurationService.getValue("editor",{overrideIdentifier:E,resource:b}),P=this._getEOL(b,E);I=h._readModelOptions({editor:M,eol:P},w),this._modelCreationOptionsByLanguageAndResource[E+b]=I}return I}_updateModelOptions(v){const b=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const w=Object.keys(this._models);for(let E=0,I=w.length;Ev){const b=[];for(this._disposedModels.forEach(w=>{w.sharesUndoRedoStack||b.push(w)}),b.sort((w,E)=>w.time-E.time);b.length>0&&this._disposedModelsHeapSize>v;){const w=b.shift();this._removeDisposedModel(w.uri),w.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(w.initialUndoRedoSnapshot)}}}_createModelData(v,b,w,E){const I=this.getCreationOptions(b,w,E),M=new D.TextModel(v,b,I,w,this._undoRedoService,this._languageService,this._languageConfigurationService);if(w&&this._disposedModels.has(r(w))){const T=this._removeDisposedModel(w),A=this._undoRedoService.getElements(w),N=c(M)===T.sha1;if(N||T.sharesUndoRedoStack){for(const F of A.past)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);for(const F of A.future)(0,n.isEditStackElement)(F)&&F.matchesResource(w)&&F.setModel(M);this._undoRedoService.setElementsValidFlag(w,!0,F=>(0,n.isEditStackElement)(F)&&F.matchesResource(w)),N&&(M._overwriteVersionId(T.versionId),M._overwriteAlternativeVersionId(T.alternativeVersionId),M._overwriteInitialUndoRedoSnapshot(T.initialUndoRedoSnapshot))}else T.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(T.initialUndoRedoSnapshot)}const P=r(M.uri);if(this._models[P])throw new Error("ModelService: Cannot add model because it already exists!");const x=new o(M,T=>this._onWillDispose(T),(T,A)=>this._onDidChangeLanguage(T,A));return this._models[P]=x,x}createModel(v,b,w,E=!1){let I;return b?I=this._createModelData(v,b,w,E):I=this._createModelData(v,f.PLAINTEXT_LANGUAGE_ID,w,E),this._onModelAdded.fire(I.model),I.model}getModels(){const v=[],b=Object.keys(this._models);for(let w=0,E=b.length;w0||x.future.length>0){for(const T of x.past)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri));for(const T of x.future)(0,n.isEditStackElement)(T)&&T.matchesResource(v.uri)&&(I=!0,M+=T.heapSize(v.uri),T.setModel(v.uri))}}const P=h.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(I)if(!E&&M>P){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}else this._ensureDisposedModelsHeapSize(P-M),this._undoRedoService.setElementsValidFlag(v.uri,!1,x=>(0,n.isEditStackElement)(x)&&x.matchesResource(v.uri)),this._insertDisposedModel(new l(v.uri,w.model.getInitialUndoRedoSnapshot(),Date.now(),E,M,c(v),v.getVersionId(),v.getAlternativeVersionId()));else if(!E){const x=w.model.getInitialUndoRedoSnapshot();x!==null&&this._undoRedoService.restoreSnapshot(x)}delete this._models[b],w.dispose(),delete this._modelCreationOptionsByLanguageAndResource[v.getLanguageId()+v.uri],this._onModelRemoved.fire(v)}_onDidChangeLanguage(v,b){const w=b.oldLanguage,E=v.getLanguageId(),I=this.getCreationOptions(w,v.uri,v.isForSimpleWidget),M=this.getCreationOptions(E,v.uri,v.isForSimpleWidget);h._setModelOptionsForModel(v,M,I),this._onModelModeChanged.fire({model:v,oldLanguageId:w})}};e.ModelService=p,p.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024,e.ModelService=p=h=ke([fe(0,C.IConfigurationService),fe(1,g.ITextResourcePropertiesService),fe(2,s.IUndoRedoService),fe(3,_.ILanguageService),fe(4,u.ILanguageConfigurationService)],p)}),define(ne[872],se([1,0,14,12,5,209,40,111,211,532,281,67]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModelLinesFromModelAsIs=e.ViewModelLinesFromProjectedModel=void 0;class i{constructor(o,d,l,p,m,v,b,w,E,I){this._editorId=o,this.model=d,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=l,this._monospaceLineBreaksComputerFactory=p,this.fontInfo=m,this.tabSize=v,this.wrappingStrategy=b,this.wrappingColumn=w,this.wrappingIndent=E,this.wordBreak=I,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new u(this)}_constructLines(o,d){this.modelLineProjections=[],o&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const l=this.model.getLinesContent(),p=this.model.getInjectedTextDecorations(this._editorId),m=l.length,v=this.createLineBreaksComputer(),b=new L.ArrayQueue(f.LineInjectedText.fromDecorations(p));for(let A=0;AF.lineNumber===A+1);v.addRequest(l[A],N,d?d[A]:null)}const w=v.finalize(),E=[],I=this.hiddenAreasDecorationIds.map(A=>this.model.getDecorationRange(A)).sort(y.Range.compareRangesUsingStarts);let M=1,P=0,x=-1,T=x+1=M&&N<=P,O=(0,g.createModelLineProjection)(w[A],!F);E[A]=O.getViewLineCount(),this.modelLineProjections[A]=O}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new C.ConstantTimePrefixSumComputer(E)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(o=>this.model.getDecorationRange(o))}setHiddenAreas(o){const d=o.map(P=>this.model.validateRange(P)),l=n(d),p=this.hiddenAreasDecorationIds.map(P=>this.model.getDecorationRange(P)).sort(y.Range.compareRangesUsingStarts);if(l.length===p.length){let P=!1;for(let x=0;x({range:P,options:S.ModelDecorationOptions.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,m);const v=l;let b=1,w=0,E=-1,I=E+1=b&&x<=w?this.modelLineProjections[P].isVisible()&&(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!1),T=!0):(M=!0,this.modelLineProjections[P].isVisible()||(this.modelLineProjections[P]=this.modelLineProjections[P].setVisible(!0),T=!0)),T){const A=this.modelLineProjections[P].getViewLineCount();this.projectedModelLineLineCounts.setValue(P,A)}}return M||this.setHiddenAreas([]),!0}modelPositionIsVisible(o,d){return o<1||o>this.modelLineProjections.length?!1:this.modelLineProjections[o-1].isVisible()}getModelLineViewLineCount(o){return o<1||o>this.modelLineProjections.length?1:this.modelLineProjections[o-1].getViewLineCount()}setTabSize(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)}setWrappingSettings(o,d,l,p,m){const v=this.fontInfo.equals(o),b=this.wrappingStrategy===d,w=this.wrappingColumn===l,E=this.wrappingIndent===p,I=this.wordBreak===m;if(v&&b&&w&&E&&I)return!1;const M=v&&b&&!w&&E&&I;this.fontInfo=o,this.wrappingStrategy=d,this.wrappingColumn=l,this.wrappingIndent=p,this.wordBreak=m;let P=null;if(M){P=[];for(let x=0,T=this.modelLineProjections.length;x2&&!this.modelLineProjections[d-2].isVisible(),v=d===1?1:this.projectedModelLineLineCounts.getPrefixSum(d-1)+1;let b=0;const w=[],E=[];for(let I=0,M=p.length;Iw?(I=this.projectedModelLineLineCounts.getPrefixSum(d-1)+1,M=I+w-1,T=M+1,A=T+(m-w)-1,E=!0):md?d:o|0}getActiveIndentGuide(o,d,l){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d),l=this._toValidViewLineNumber(l);const p=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),m=this.convertViewPositionToModelPosition(d,this.getViewLineMinColumn(d)),v=this.convertViewPositionToModelPosition(l,this.getViewLineMinColumn(l)),b=this.model.guides.getActiveIndentGuide(p.lineNumber,m.lineNumber,v.lineNumber),w=this.convertModelPositionToViewPosition(b.startLineNumber,1),E=this.convertModelPositionToViewPosition(b.endLineNumber,this.model.getLineMaxColumn(b.endLineNumber));return{startLineNumber:w.lineNumber,endLineNumber:E.lineNumber,indent:b.indent}}getViewLineInfo(o){o=this._toValidViewLineNumber(o);const d=this.projectedModelLineLineCounts.getIndexOf(o-1),l=d.index,p=d.remainder;return new t(l+1,p)}getMinColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getModelEndPositionOfViewLine(o){const d=this.modelLineProjections[o.modelLineNumber-1],l=d.getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),p=d.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,l);return new k.Position(o.modelLineNumber,p)}getViewLineInfosGroupedByModelRanges(o,d){const l=this.getViewLineInfo(o),p=this.getViewLineInfo(d),m=new Array;let v=this.getModelStartPositionOfViewLine(l),b=new Array;for(let w=l.modelLineNumber;w<=p.modelLineNumber;w++){const E=this.modelLineProjections[w-1];if(E.isVisible()){const I=w===l.modelLineNumber?l.modelLineWrappedLineIdx:0,M=w===p.modelLineNumber?p.modelLineWrappedLineIdx+1:E.getViewLineCount();for(let P=I;P{if(x.forWrappedLinesAfterColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesAfterColumn).lineNumber>=I.modelLineWrappedLineIdx||x.forWrappedLinesBeforeOrAtColumn!==-1&&this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.forWrappedLinesBeforeOrAtColumn).lineNumberI.modelLineWrappedLineIdx)return}const A=this.convertModelPositionToViewPosition(I.modelLineNumber,x.horizontalLine.endColumn),N=this.modelLineProjections[I.modelLineNumber-1].getViewPositionOfModelPosition(0,x.horizontalLine.endColumn);return N.lineNumber===I.modelLineWrappedLineIdx?new D.IndentGuide(x.visibleColumn,T,x.className,new D.IndentGuideHorizontalLine(x.horizontalLine.top,A.column),-1,-1):N.lineNumber!!x))}}return v}getViewLinesIndentGuides(o,d){o=this._toValidViewLineNumber(o),d=this._toValidViewLineNumber(d);const l=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),p=this.convertViewPositionToModelPosition(d,this.getViewLineMaxColumn(d));let m=[];const v=[],b=[],w=l.lineNumber-1,E=p.lineNumber-1;let I=null;for(let T=w;T<=E;T++){const A=this.modelLineProjections[T];if(A.isVisible()){const N=A.getViewLineNumberOfModelPosition(0,T===w?l.column:1),F=A.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(T+1)),O=F-N+1;let W=0;O>1&&A.getViewLineMinColumn(this.model,T+1,F)===1&&(W=N===0?1:2),v.push(O),b.push(W),I===null&&(I=new k.Position(T+1,0))}else I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,T)),I=null)}I!==null&&(m=m.concat(this.model.guides.getLinesIndentGuides(I.lineNumber,p.lineNumber)),I=null);const M=d-o+1,P=new Array(M);let x=0;for(let T=0,A=m.length;Td&&(T=!0,x=d-m+1),M.getViewLinesData(this.model,E+1,P,x,m-o,l,w),m+=x,T)break}return w}validateViewPosition(o,d,l){o=this._toValidViewLineNumber(o);const p=this.projectedModelLineLineCounts.getIndexOf(o-1),m=p.index,v=p.remainder,b=this.modelLineProjections[m],w=b.getViewLineMinColumn(this.model,m+1,v),E=b.getViewLineMaxColumn(this.model,m+1,v);dE&&(d=E);const I=b.getModelColumnOfViewPosition(v,d);return this.model.validatePosition(new k.Position(m+1,I)).equals(l)?new k.Position(o,d):this.convertModelPositionToViewPosition(l.lineNumber,l.column)}validateViewRange(o,d){const l=this.validateViewPosition(o.startLineNumber,o.startColumn,d.getStartPosition()),p=this.validateViewPosition(o.endLineNumber,o.endColumn,d.getEndPosition());return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}convertViewPositionToModelPosition(o,d){const l=this.getViewLineInfo(o),p=this.modelLineProjections[l.modelLineNumber-1].getModelColumnOfViewPosition(l.modelLineWrappedLineIdx,d);return this.model.validatePosition(new k.Position(l.modelLineNumber,p))}convertViewRangeToModelRange(o){const d=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),l=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new y.Range(d.lineNumber,d.column,l.lineNumber,l.column)}convertModelPositionToViewPosition(o,d,l=2,p=!1,m=!1){const v=this.model.validatePosition(new k.Position(o,d)),b=v.lineNumber,w=v.column;let E=b-1,I=!1;if(m)for(;E0&&!this.modelLineProjections[E].isVisible();)E--,I=!0;if(E===0&&!this.modelLineProjections[E].isVisible())return new k.Position(p?0:1,1);const M=1+this.projectedModelLineLineCounts.getPrefixSum(E);let P;return I?m?P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,1,l):P=this.modelLineProjections[E].getViewPositionOfModelPosition(M,this.model.getLineMaxColumn(E+1),l):P=this.modelLineProjections[b-1].getViewPositionOfModelPosition(M,w,l),P}convertModelRangeToViewRange(o,d=0){if(o.isEmpty()){const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,d);return y.Range.fromPositions(l)}else{const l=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,1),p=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn,0);return new y.Range(l.lineNumber,l.column,p.lineNumber,p.column)}}getViewLineNumberOfModelPosition(o,d){let l=o-1;if(this.modelLineProjections[l].isVisible()){const m=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(m,d)}for(;l>0&&!this.modelLineProjections[l].isVisible();)l--;if(l===0&&!this.modelLineProjections[l].isVisible())return 1;const p=1+this.projectedModelLineLineCounts.getPrefixSum(l);return this.modelLineProjections[l].getViewLineNumberOfModelPosition(p,this.model.getLineMaxColumn(l+1))}getDecorationsInRange(o,d,l,p,m){const v=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),b=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);if(b.lineNumber-v.lineNumber<=o.endLineNumber-o.startLineNumber)return this.model.getDecorationsInRange(new y.Range(v.lineNumber,1,b.lineNumber,b.column),d,l,p,m);let w=[];const E=v.lineNumber-1,I=b.lineNumber-1;let M=null;for(let A=E;A<=I;A++)if(this.modelLineProjections[A].isVisible())M===null&&(M=new k.Position(A+1,A===E?v.column:1));else if(M!==null){const F=this.model.getLineMaxColumn(A);w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,A,F),d,l,p)),M=null}M!==null&&(w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,b.lineNumber,b.column),d,l,p)),M=null),w.sort((A,N)=>{const F=y.Range.compareRangesUsingStarts(A.range,N.range);return F===0?A.idN.id?1:0:F});const P=[];let x=0,T=null;for(const A of w){const N=A.id;T!==N&&(T=N,P[x++]=A)}return P}getInjectedTextAt(o){const d=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[d.modelLineNumber-1].getInjectedTextAt(d.modelLineWrappedLineIdx,o.column)}normalizePosition(o,d){const l=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[l.modelLineNumber-1].normalizePosition(l.modelLineWrappedLineIdx,o,d)}getLineIndentColumn(o){const d=this.getViewLineInfo(o);return d.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(d.modelLineNumber):0}}e.ViewModelLinesFromProjectedModel=i;function n(c){if(c.length===0)return[];const o=c.slice();o.sort(y.Range.compareRangesUsingStarts);const d=[];let l=o[0].startLineNumber,p=o[0].endLineNumber;for(let m=1,v=o.length;mp+1?(d.push(new y.Range(l,1,p,1)),l=b.startLineNumber,p=b.endLineNumber):b.endLineNumber>p&&(p=b.endLineNumber)}return d.push(new y.Range(l,1,p,1)),d}class t{constructor(o,d){this.modelLineNumber=o,this.modelLineWrappedLineIdx=d}}class a{constructor(o,d){this.modelRange=o,this.viewLines=d}}class u{constructor(o){this._lines=o}convertViewPositionToModelPosition(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)}convertViewRangeToModelRange(o){return this._lines.convertViewRangeToModelRange(o)}validateViewPosition(o,d){return this._lines.validateViewPosition(o.lineNumber,o.column,d)}validateViewRange(o,d){return this._lines.validateViewRange(o,d)}convertModelPositionToViewPosition(o,d,l,p){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column,d,l,p)}convertModelRangeToViewRange(o,d){return this._lines.convertModelRangeToViewRange(o,d)}modelPositionIsVisible(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)}getModelLineViewLineCount(o){return this._lines.getModelLineViewLineCount(o)}getViewLineNumberOfModelPosition(o,d){return this._lines.getViewLineNumberOfModelPosition(o,d)}}class h{constructor(o){this.model=o}dispose(){}createCoordinatesConverter(){return new r(this)}getHiddenAreas(){return[]}setHiddenAreas(o){return!1}setTabSize(o){return!1}setWrappingSettings(o,d,l,p){return!1}createLineBreaksComputer(){const o=[];return{addRequest:(d,l,p)=>{o.push(null)},finalize:()=>o}}onModelFlushed(){}onModelLinesDeleted(o,d,l){return new _.ViewLinesDeletedEvent(d,l)}onModelLinesInserted(o,d,l,p){return new _.ViewLinesInsertedEvent(d,l)}onModelLineChanged(o,d,l){return[!1,new _.ViewLinesChangedEvent(d,1),null,null]}acceptVersionId(o){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(o,d,l){return{startLineNumber:o,endLineNumber:o,indent:0}}getViewLinesBracketGuides(o,d,l){return new Array(d-o+1).fill([])}getViewLinesIndentGuides(o,d){const l=d-o+1,p=new Array(l);for(let m=0;md)}getModelLineViewLineCount(o){return 1}getViewLineNumberOfModelPosition(o,d){return o}}}),define(ne[873],se([1,0,14,13,38,2,17,11,36,774,74,12,5,111,29,78,326,211,536,328,67,325,213,872]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModel=void 0;const m=!0;class v extends D.Disposable{constructor(T,A,N,F,O,W,U,j,R){if(super(),this.languageConfigurationService=U,this._themeService=j,this._attachedView=R,this.hiddenAreasModel=new E,this.previousHiddenAreas=[],this._editorId=T,this._configuration=A,this.model=N,this._eventDispatcher=new l.ViewModelEventDispatcher,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._updateConfigurationViewLineCount=this._register(new k.RunOnceScheduler(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=b.create(this.model),m&&this.model.isTooLargeForTokenization())this._lines=new p.ViewModelLinesFromModelAsIs(this.model);else{const K=this._configuration.options,G=K.get(49),Z=K.get(136),J=K.get(143),X=K.get(135),H=K.get(127);this._lines=new p.ViewModelLinesFromProjectedModel(this._editorId,this.model,F,O,G,this.model.getOptions().tabSize,Z,J.wrappingColumn,X,H)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new g.CursorsController(N,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new r.ViewLayout(this._configuration,this.getLineCount(),W)),this._register(this.viewLayout.onDidScroll(K=>{K.scrollTopChanged&&this._handleVisibleLinesChanged(),K.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new h.ViewScrollChangedEvent(K)),this._eventDispatcher.emitOutgoingEvent(new l.ScrollChangedEvent(K.oldScrollWidth,K.oldScrollLeft,K.oldScrollHeight,K.oldScrollTop,K.scrollWidth,K.scrollLeft,K.scrollHeight,K.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(K=>{this._eventDispatcher.emitOutgoingEvent(K)})),this._decorations=new d.ViewModelDecorations(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(K=>{try{const G=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(G,K)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(c.MinimapTokensColorTracker.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new h.ViewTokensColorsChangedEvent)})),this._register(this._themeService.onDidColorThemeChange(K=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new h.ViewThemeChangedEvent(K))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(T){this._eventDispatcher.addViewEventHandler(T)}removeViewEventHandler(T){this._eventDispatcher.removeViewEventHandler(T)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){const T=this.viewLayout.getLinesViewportData(),A=new i.Range(T.startLineNumber,this.getLineMinColumn(T.startLineNumber),T.endLineNumber,this.getLineMaxColumn(T.endLineNumber));return this._toModelVisibleRanges(A)}visibleLinesStabilized(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!0)}_handleVisibleLinesChanged(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!1)}setHasFocus(T){this._hasFocus=T,this._cursor.setHasFocus(T),this._eventDispatcher.emitSingleViewEvent(new h.ViewFocusChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.FocusChangedEvent(!T,T))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionStartEvent)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new h.ViewCompositionEndEvent)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){const T=new s.Position(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),A=this.coordinatesConverter.convertViewPositionToModelPosition(T);return new P(A,this._viewportStart.startLineDelta)}return new P(null,0)}_onConfigurationChanged(T,A){const N=this._captureStableViewport(),F=this._configuration.options,O=F.get(49),W=F.get(136),U=F.get(143),j=F.get(135),R=F.get(127);this._lines.setWrappingSettings(O,W,U.wrappingColumn,j,R)&&(T.emitViewEvent(new h.ViewFlushedEvent),T.emitViewEvent(new h.ViewLineMappingChangedEvent),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(T),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),A.hasChanged(89)&&(this._decorations.reset(),T.emitViewEvent(new h.ViewDecorationsChangedEvent(null))),T.emitViewEvent(new h.ViewConfigurationChangedEvent(A)),this.viewLayout.onConfigurationChanged(A),N.recoverViewportStart(this.coordinatesConverter,this.viewLayout),C.CursorConfiguration.shouldRecreate(A)&&(this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(T=>{try{const N=this._eventDispatcher.beginEmitViewEvents();let F=!1,O=!1;const W=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.changes:T.changes,U=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.versionId:null,j=this._lines.createLineBreaksComputer();for(const G of W)switch(G.changeType){case 4:{for(let Z=0;Z!H.ownerId||H.ownerId===this._editorId)),j.addRequest(J,X,null)}break}case 2:{let Z=null;G.injectedText&&(Z=G.injectedText.filter(J=>!J.ownerId||J.ownerId===this._editorId)),j.addRequest(G.detail,Z,null);break}}const R=j.finalize(),K=new L.ArrayQueue(R);for(const G of W)switch(G.changeType){case 1:{this._lines.onModelFlushed(),N.emitViewEvent(new h.ViewFlushedEvent),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),F=!0;break}case 3:{const Z=this._lines.onModelLinesDeleted(U,G.fromLineNumber,G.toLineNumber);Z!==null&&(N.emitViewEvent(Z),this.viewLayout.onLinesDeleted(Z.fromLineNumber,Z.toLineNumber)),F=!0;break}case 4:{const Z=K.takeCount(G.detail.length),J=this._lines.onModelLinesInserted(U,G.fromLineNumber,G.toLineNumber,Z);J!==null&&(N.emitViewEvent(J),this.viewLayout.onLinesInserted(J.fromLineNumber,J.toLineNumber)),F=!0;break}case 2:{const Z=K.dequeue(),[J,X,H,B]=this._lines.onModelLineChanged(U,G.lineNumber,Z);O=J,X&&N.emitViewEvent(X),H&&(N.emitViewEvent(H),this.viewLayout.onLinesInserted(H.fromLineNumber,H.toLineNumber)),B&&(N.emitViewEvent(B),this.viewLayout.onLinesDeleted(B.fromLineNumber,B.toLineNumber));break}case 5:break}U!==null&&this._lines.acceptVersionId(U),this.viewLayout.onHeightMaybeChanged(),!F&&O&&(N.emitViewEvent(new h.ViewLineMappingChangedEvent),N.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(N),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}const A=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&A){const N=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(N){const F=this.coordinatesConverter.convertModelPositionToViewPosition(N.getStartPosition()),O=this.viewLayout.getVerticalOffsetForLineNumber(F.lineNumber);this.viewLayout.setScrollPosition({scrollTop:O+this._viewportStart.startLineDelta},1)}}try{const N=this._eventDispatcher.beginEmitViewEvents();T instanceof n.InternalModelContentChangeEvent&&N.emitOutgoingEvent(new l.ModelContentChangedEvent(T.contentChangedEvent)),this._cursor.onModelContentChanged(N,T)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(T=>{const A=[];for(let N=0,F=T.ranges.length;N{this._eventDispatcher.emitSingleViewEvent(new h.ViewLanguageConfigurationEvent),this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageConfigurationChangedEvent(T))})),this._register(this.model.onDidChangeLanguage(T=>{this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelLanguageChangedEvent(T))})),this._register(this.model.onDidChangeOptions(T=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const A=this._eventDispatcher.beginEmitViewEvents();A.emitViewEvent(new h.ViewFlushedEvent),A.emitViewEvent(new h.ViewLineMappingChangedEvent),A.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(A),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new l.ModelOptionsChangedEvent(T))})),this._register(this.model.onDidChangeDecorations(T=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new h.ViewDecorationsChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new l.ModelDecorationsChangedEvent(T))}))}setHiddenAreas(T,A){this.hiddenAreasModel.setHiddenAreas(A,T);const N=this.hiddenAreasModel.getMergedRanges();if(N===this.previousHiddenAreas)return;this.previousHiddenAreas=N;const F=this._captureStableViewport();let O=!1;try{const W=this._eventDispatcher.beginEmitViewEvents();O=this._lines.setHiddenAreas(N),O&&(W.emitViewEvent(new h.ViewFlushedEvent),W.emitViewEvent(new h.ViewLineMappingChangedEvent),W.emitViewEvent(new h.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(W),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged()),F.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),O&&this._eventDispatcher.emitOutgoingEvent(new l.HiddenAreasChangedEvent)}getVisibleRangesPlusViewportAboveBelow(){const T=this._configuration.options.get(142),A=this._configuration.options.get(65),N=Math.max(20,Math.round(T.height/A)),F=this.viewLayout.getLinesViewportData(),O=Math.max(1,F.completelyVisibleStartLineNumber-N),W=Math.min(this.getLineCount(),F.completelyVisibleEndLineNumber+N);return this._toModelVisibleRanges(new i.Range(O,this.getLineMinColumn(O),W,this.getLineMaxColumn(W)))}getVisibleRanges(){const T=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(T)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(T){const A=this.coordinatesConverter.convertViewRangeToModelRange(T),N=this._lines.getHiddenAreas();if(N.length===0)return[A];const F=[];let O=0,W=A.startLineNumber,U=A.startColumn;const j=A.endLineNumber,R=A.endColumn;for(let K=0,G=N.length;Kj||(W"u")return this._reduceRestoreStateCompatibility(T);const A=this.model.validatePosition(T.firstPosition),N=this.coordinatesConverter.convertModelPositionToViewPosition(A),F=this.viewLayout.getVerticalOffsetForLineNumber(N.lineNumber)-T.firstPositionDeltaTop;return{scrollLeft:T.scrollLeft,scrollTop:F}}_reduceRestoreStateCompatibility(T){return{scrollLeft:T.scrollLeft,scrollTop:T.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(T,A,N){this._viewportStart.update(this,T)}getActiveIndentGuide(T,A,N){return this._lines.getActiveIndentGuide(T,A,N)}getLinesIndentGuides(T,A){return this._lines.getViewLinesIndentGuides(T,A)}getBracketGuidesInRangeByLine(T,A,N,F){return this._lines.getViewLinesBracketGuides(T,A,N,F)}getLineContent(T){return this._lines.getViewLineContent(T)}getLineLength(T){return this._lines.getViewLineLength(T)}getLineMinColumn(T){return this._lines.getViewLineMinColumn(T)}getLineMaxColumn(T){return this._lines.getViewLineMaxColumn(T)}getLineFirstNonWhitespaceColumn(T){const A=f.firstNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+1}getLineLastNonWhitespaceColumn(T){const A=f.lastNonWhitespaceIndex(this.getLineContent(T));return A===-1?0:A+2}getMinimapDecorationsInRange(T){return this._decorations.getMinimapDecorationsInRange(T)}getDecorationsInViewport(T){return this._decorations.getDecorationsViewportData(T).decorations}getInjectedTextAt(T){return this._lines.getInjectedTextAt(T)}getViewportViewLineRenderingData(T,A){const F=this._decorations.getDecorationsViewportData(T).inlineDecorations[A-T.startLineNumber];return this._getViewLineRenderingData(A,F)}getViewLineRenderingData(T){const A=this._decorations.getInlineDecorationsOnLine(T);return this._getViewLineRenderingData(T,A)}_getViewLineRenderingData(T,A){const N=this.model.mightContainRTL(),F=this.model.mightContainNonBasicASCII(),O=this.getTabSize(),W=this._lines.getViewLineData(T);return W.inlineDecorations&&(A=[...A,...W.inlineDecorations.map(U=>U.toInlineDecoration(T))]),new o.ViewLineRenderingData(W.minColumn,W.maxColumn,W.content,W.continuesWithWrappedLine,N,F,W.tokens,A,O,W.startVisibleColumn)}getViewLineData(T){return this._lines.getViewLineData(T)}getMinimapLinesRenderingData(T,A,N){const F=this._lines.getViewLinesData(T,A,N);return new o.MinimapLinesRenderingData(this.getTabSize(),F)}getAllOverviewRulerDecorations(T){const A=this.model.getOverviewRulerDecorations(this._editorId,(0,_.filterValidationDecorations)(this._configuration.options)),N=new w;for(const F of A){const O=F.options,W=O.overviewRuler;if(!W)continue;const U=W.position;if(U===0)continue;const j=W.getColor(T.value),R=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.startLineNumber,F.range.startColumn),K=this.coordinatesConverter.getViewLineNumberOfModelPosition(F.range.endLineNumber,F.range.endColumn);N.accept(j,O.zIndex,R,K,U)}return N.asArray}_invalidateDecorationsColorCache(){const T=this.model.getOverviewRulerDecorations();for(const A of T){const N=A.options.overviewRuler;N?.invalidateCachedColor();const F=A.options.minimap;F?.invalidateCachedColor()}}getValueInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueInRange(N,A)}getValueLengthInRange(T,A){const N=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueLengthInRange(N,A)}modifyPosition(T,A){const N=this.coordinatesConverter.convertViewPositionToModelPosition(T);return this.model.modifyPosition(N,A)}deduceModelPositionRelativeToViewPosition(T,A,N){const F=this.coordinatesConverter.convertViewPositionToModelPosition(T);this.model.getEOL().length===2&&(A<0?A-=N:A+=N);const W=this.model.getOffsetAt(F)+A;return this.model.getPositionAt(W)}getPlainTextToCopy(T,A,N){const F=N?`\r -`:this.model.getEOL();T=T.slice(0),T.sort(i.Range.compareRangesUsingStarts);let O=!1,W=!1;for(const j of T)j.isEmpty()?O=!0:W=!0;if(!W){if(!A)return"";const j=T.map(K=>K.startLineNumber);let R="";for(let K=0;K0&&j[K-1]===j[K]||(R+=this.model.getLineContent(j[K])+F);return R}if(O&&A){const j=[];let R=0;for(const K of T){const G=K.startLineNumber;K.isEmpty()?G!==R&&j.push(this.model.getLineContent(G)):j.push(this.model.getValueInRange(K,N?2:0)),R=G}return j.length===1?j[0]:j}const U=[];for(const j of T)j.isEmpty()||U.push(this.model.getValueInRange(j,N?2:0));return U.length===1?U[0]:U}getRichTextToCopy(T,A){const N=this.model.getLanguageId();if(N===a.PLAINTEXT_LANGUAGE_ID||T.length!==1)return null;let F=T[0];if(F.isEmpty()){if(!A)return null;const K=F.startLineNumber;F=new i.Range(K,this.model.getLineMinColumn(K),K,this.model.getLineMaxColumn(K))}const O=this._configuration.options.get(49),W=this._getColorMap(),j=/[:;\\\/<>]/.test(O.fontFamily)||O.fontFamily===_.EDITOR_FONT_DEFAULTS.fontFamily;let R;return j?R=_.EDITOR_FONT_DEFAULTS.fontFamily:(R=O.fontFamily,R=R.replace(/"/g,"'"),/[,']/.test(R)||/[+ ]/.test(R)&&(R=`'${R}'`),R=`${R}, ${_.EDITOR_FONT_DEFAULTS.fontFamily}`),{mode:N,html:`
    `+this._getHTMLToCopy(F,W)+"
    "}}_getHTMLToCopy(T,A){const N=T.startLineNumber,F=T.startColumn,O=T.endLineNumber,W=T.endColumn,U=this.getTabSize();let j="";for(let R=N;R<=O;R++){const K=this.model.tokenization.getLineTokens(R),G=K.getLineContent(),Z=R===N?F-1:0,J=R===O?W-1:G.length;G===""?j+="
    ":j+=(0,u.tokenizeLineToHTML)(G,K.inflate(),A,Z,J,U,S.isWindows)}return j}_getColorMap(){const T=t.TokenizationRegistry.getColorMap(),A=["#000000"];if(T)for(let N=1,F=T.length;Nthis._cursor.setStates(F,T,A,N))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(T){this._cursor.setCursorColumnSelectData(T)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(T){this._cursor.setPrevEditOperationType(T)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(T,A,N=0){this._withViewEventsCollector(F=>this._cursor.setSelections(F,T,A,N))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(T){this._withViewEventsCollector(A=>this._cursor.restoreState(A,T))}_executeCursorEdit(T){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new l.ReadOnlyEditAttemptEvent);return}this._withViewEventsCollector(T)}executeEdits(T,A,N){this._executeCursorEdit(F=>this._cursor.executeEdits(F,T,A,N))}startComposition(){this._executeCursorEdit(T=>this._cursor.startComposition(T))}endComposition(T){this._executeCursorEdit(A=>this._cursor.endComposition(A,T))}type(T,A){this._executeCursorEdit(N=>this._cursor.type(N,T,A))}compositionType(T,A,N,F,O){this._executeCursorEdit(W=>this._cursor.compositionType(W,T,A,N,F,O))}paste(T,A,N,F){this._executeCursorEdit(O=>this._cursor.paste(O,T,A,N,F))}cut(T){this._executeCursorEdit(A=>this._cursor.cut(A,T))}executeCommand(T,A){this._executeCursorEdit(N=>this._cursor.executeCommand(N,T,A))}executeCommands(T,A){this._executeCursorEdit(N=>this._cursor.executeCommands(N,T,A))}revealPrimaryCursor(T,A,N=!1){this._withViewEventsCollector(F=>this._cursor.revealPrimary(F,T,N,0,A,0))}revealTopMostCursor(T){const A=this._cursor.getTopMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealBottomMostCursor(T){const A=this._cursor.getBottomMostViewPosition(),N=new i.Range(A.lineNumber,A.column,A.lineNumber,A.column);this._withViewEventsCollector(F=>F.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,0,!0,0)))}revealRange(T,A,N,F,O){this._withViewEventsCollector(W=>W.emitViewEvent(new h.ViewRevealRangeRequestEvent(T,!1,N,null,F,A,O)))}changeWhitespace(T){this.viewLayout.changeWhitespace(T)&&(this._eventDispatcher.emitSingleViewEvent(new h.ViewZonesChangedEvent),this._eventDispatcher.emitOutgoingEvent(new l.ViewZonesChangedEvent))}_withViewEventsCollector(T){try{const A=this._eventDispatcher.beginEmitViewEvents();return T(A)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(T,A){return this._lines.normalizePosition(T,A)}getLineIndentColumn(T){return this._lines.getLineIndentColumn(T)}}e.ViewModel=v;class b{static create(T){const A=T._setTrackedRange(null,new i.Range(1,1,1,1),1);return new b(T,1,!1,A,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(T,A,N,F,O){this._model=T,this._viewLineNumber=A,this._isValid=N,this._modelTrackedRange=F,this._startLineDelta=O}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(T,A){const N=T.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(A,T.getLineMinColumn(A))),F=T.model._setTrackedRange(this._modelTrackedRange,new i.Range(N.lineNumber,N.column,N.lineNumber,N.column),1),O=T.viewLayout.getVerticalOffsetForLineNumber(A),W=T.viewLayout.getCurrentScrollTop();this._viewLineNumber=A,this._isValid=!0,this._modelTrackedRange=F,this._startLineDelta=W-O}invalidate(){this._isValid=!1}}class w{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(T,A,N,F,O){const W=this._asMap[T];if(W){const U=W.data,j=U[U.length-3],R=U[U.length-1];if(j===O&&R+1>=N){F>R&&(U[U.length-1]=F);return}U.push(O,N,F)}else{const U=new o.OverviewRulerDecorationsGroup(T,A,[O,N,F]);this._asMap[T]=U,this.asArray.push(U)}}}class E{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(T,A){const N=this.hiddenAreas.get(T);N&&M(N,A)||(this.hiddenAreas.set(T,A),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;const T=Array.from(this.hiddenAreas.values()).reduce((A,N)=>I(A,N),[]);return M(this.ranges,T)?this.ranges:(this.ranges=T,this.ranges)}}function I(x,T){const A=[];let N=0,F=0;for(;N{this._onDidChangeConfiguration.fire(Fe);const _e=this._configuration.options;if(Fe.hasChanged(142)){const me=_e.get(142);this._onDidLayoutChange.fire(me)}})),this._contextKeyService=this._register(oe.createScoped(this._domElement)),this._notificationService=ve,this._codeEditorService=$,this._commandService=re,this._themeService=ge,this._register(new X(this,this._contextKeyService)),this._register(new H(this,this._contextKeyService,De)),this._instantiationService=ee.createChild(new E.ServiceCollection([b.IContextKeyService,this._contextKeyService])),this._modelData=null,this._focusTracker=new B(te),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={};let Me;Array.isArray(z.contributions)?Me=z.contributions:Me=g.EditorExtensionsRegistry.getEditorContributions(),this._contributions.initialize(this,Me,this._instantiationService);for(const Fe of g.EditorExtensionsRegistry.getEditorActions()){if(this._actions.has(Fe.id)){(0,y.onUnexpectedError)(new Error(`Cannot have two actions with the same id ${Fe.id}`));continue}const _e=new r.InternalEditorAction(Fe.id,Fe.label,Fe.alias,(ye=Fe.precondition)!==null&&ye!==void 0?ye:void 0,()=>this._instantiationService.invokeFunction(me=>Promise.resolve(Fe.runEditorCommand(me,this,null))),this._contextKeyService);this._actions.set(_e.id,_e)}const Pe=()=>!this._configuration.options.get(89)&&this._configuration.options.get(35).enabled;this._register(new k.DragAndDropObserver(this._domElement,{onDragEnter:()=>{},onDragOver:Fe=>{if(!Pe())return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this.showDropIndicatorAt(_e.position)},onDrop:Fe=>we(this,void 0,void 0,function*(){if(!Pe()||(this.removeDropIndicator(),!Fe.dataTransfer))return;const _e=this.getTargetAtClientPoint(Fe.clientX,Fe.clientY);_e?.position&&this._onDropIntoEditor.fire({position:_e.position,event:Fe})}),onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(te){var q;(q=this._modelData)===null||q===void 0||q.view.writeScreenReaderContent(te)}_createConfiguration(te,q,z){return new _.EditorConfiguration(te,q,this._domElement,z)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return c.EditorType.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(te){return this._instantiationService.invokeFunction(te)}updateOptions(te){this._configuration.updateOptions(te||{})}getOptions(){return this._configuration.options}getOption(te){return this._configuration.options.get(te)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(te){return this._modelData?A.WordOperations.getWordAtPosition(this._modelData.model,this._configuration.options.get(128),te):null}getValue(te=null){if(!this._modelData)return"";const q=!!(te&&te.preserveBOM);let z=0;return te&&te.lineEnding&&te.lineEnding===` -`?z=1:te&&te.lineEnding&&te.lineEnding===`\r -`&&(z=2),this._modelData.model.getValue(z,q)}setValue(te){this._modelData&&this._modelData.model.setValue(te)}getModel(){return this._modelData?this._modelData.model:null}setModel(te=null){const q=te;if(this._modelData===null&&q===null||this._modelData&&this._modelData.model===q)return;const z=this.hasTextFocus(),ee=this._detachModel();this._attachModel(q),z&&this.hasModel()&&this.focus();const $={oldModelUrl:ee?ee.uri:null,newModelUrl:q?q.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire($),this._postDetachModelCleanup(ee),this._contributions.onAfterModelAttached()}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(const te in this._decorationTypeSubtypes){const q=this._decorationTypeSubtypes[te];for(const z in q)this._removeDecorationType(te+"-"+z)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(te,q,z,ee){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(re.lineNumber,ee)}getTopForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,1,q):-1}getTopForPosition(te,q){return this._modelData?j._getVerticalOffsetForPosition(this._modelData,te,q,!1):-1}static _getVerticalOffsetForPosition(te,q,z,ee=!1){const $=te.model.validatePosition({lineNumber:q,column:z}),re=te.viewModel.coordinatesConverter.convertModelPositionToViewPosition($);return te.viewModel.viewLayout.getVerticalOffsetForLineNumber(re.lineNumber,ee)}getBottomForLineNumber(te,q=!1){return this._modelData?j._getVerticalOffsetAfterPosition(this._modelData,te,1,q):-1}setHiddenAreas(te,q){var z;(z=this._modelData)===null||z===void 0||z.viewModel.setHiddenAreas(te.map(ee=>u.Range.lift(ee)),q)}getVisibleColumnFromPosition(te){if(!this._modelData)return te.column;const q=this._modelData.model.validatePosition(te),z=this._modelData.model.getOptions().tabSize;return t.CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(q.lineNumber),q.column,z)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(te,q="api"){if(this._modelData){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,[{selectionStartLineNumber:te.lineNumber,selectionStartColumn:te.column,positionLineNumber:te.lineNumber,positionColumn:te.column}])}}_sendRevealRange(te,q,z,ee){if(!this._modelData)return;if(!u.Range.isIRange(te))throw new Error("Invalid arguments");const $=this._modelData.model.validateRange(te),re=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange($);this._modelData.viewModel.revealRange("api",z,re,q,ee)}revealLine(te,q=0){this._revealLine(te,0,q)}revealLineInCenter(te,q=0){this._revealLine(te,1,q)}revealLineInCenterIfOutsideViewport(te,q=0){this._revealLine(te,2,q)}revealLineNearTop(te,q=0){this._revealLine(te,5,q)}_revealLine(te,q,z){if(typeof te!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,te,1),q,!1,z)}revealPosition(te,q=0){this._revealPosition(te,0,!0,q)}revealPositionInCenter(te,q=0){this._revealPosition(te,1,!0,q)}revealPositionInCenterIfOutsideViewport(te,q=0){this._revealPosition(te,2,!0,q)}revealPositionNearTop(te,q=0){this._revealPosition(te,5,!0,q)}_revealPosition(te,q,z,ee){if(!a.Position.isIPosition(te))throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),q,z,ee)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(te,q="api"){const z=h.Selection.isISelection(te),ee=u.Range.isIRange(te);if(!z&&!ee)throw new Error("Invalid arguments");if(z)this._setSelectionImpl(te,q);else if(ee){const $={selectionStartLineNumber:te.startLineNumber,selectionStartColumn:te.startColumn,positionLineNumber:te.endLineNumber,positionColumn:te.endColumn};this._setSelectionImpl($,q)}}_setSelectionImpl(te,q){if(!this._modelData)return;const z=new h.Selection(te.selectionStartLineNumber,te.selectionStartColumn,te.positionLineNumber,te.positionColumn);this._modelData.viewModel.setSelections(q,[z])}revealLines(te,q,z=0){this._revealLines(te,q,0,z)}revealLinesInCenter(te,q,z=0){this._revealLines(te,q,1,z)}revealLinesInCenterIfOutsideViewport(te,q,z=0){this._revealLines(te,q,2,z)}revealLinesNearTop(te,q,z=0){this._revealLines(te,q,5,z)}_revealLines(te,q,z,ee){if(typeof te!="number"||typeof q!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(te,1,q,1),z,!1,ee)}revealRange(te,q=0,z=!1,ee=!0){this._revealRange(te,z?1:0,ee,q)}revealRangeInCenter(te,q=0){this._revealRange(te,1,!0,q)}revealRangeInCenterIfOutsideViewport(te,q=0){this._revealRange(te,2,!0,q)}revealRangeNearTop(te,q=0){this._revealRange(te,5,!0,q)}revealRangeNearTopIfOutsideViewport(te,q=0){this._revealRange(te,6,!0,q)}revealRangeAtTop(te,q=0){this._revealRange(te,3,!0,q)}_revealRange(te,q,z,ee){if(!u.Range.isIRange(te))throw new Error("Invalid arguments");this._sendRevealRange(u.Range.lift(te),q,z,ee)}setSelections(te,q="api",z=0){if(this._modelData){if(!te||te.length===0)throw new Error("Invalid arguments");for(let ee=0,$=te.length;ee<$;ee++)if(!h.Selection.isISelection(te[ee]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(q,te,z)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollLeft:te},q)}}setScrollTop(te,q=1){if(this._modelData){if(typeof te!="number")throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollTop:te},q)}}setScrollPosition(te,q=1){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPosition(te,q)}hasPendingScrollAnimation(){return this._modelData?this._modelData.viewModel.viewLayout.hasPendingScrollAnimation():!1}saveViewState(){if(!this._modelData)return null;const te=this._contributions.saveViewState(),q=this._modelData.viewModel.saveCursorState(),z=this._modelData.viewModel.saveState();return{cursorState:q,viewState:z,contributionsState:te}}restoreViewState(te){if(!this._modelData||!this._modelData.hasRealView)return;const q=te;if(q&&q.cursorState&&q.viewState){const z=q.cursorState;Array.isArray(z)?z.length>0&&this._modelData.viewModel.restoreCursorState(z):this._modelData.viewModel.restoreCursorState([z]),this._contributions.restoreViewState(q.contributionsState||{});const ee=this._modelData.viewModel.reduceRestoreState(q.viewState);this._modelData.view.restoreState(ee)}}handleInitialized(){var te;(te=this._getViewModel())===null||te===void 0||te.visibleLinesStabilized()}getContribution(te){return this._contributions.get(te)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){let te=this.getActions();return te=te.filter(q=>q.isSupported()),te}getAction(te){return this._actions.get(te)||null}trigger(te,q,z){switch(z=z||{},q){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(te);return;case"type":{const $=z;this._type(te,$.text||"");return}case"replacePreviousChar":{const $=z;this._compositionType(te,$.text||"",$.replaceCharCnt||0,0,0);return}case"compositionType":{const $=z;this._compositionType(te,$.text||"",$.replacePrevCharCnt||0,$.replaceNextCharCnt||0,$.positionDelta||0);return}case"paste":{const $=z;this._paste(te,$.text||"",$.pasteOnNewLine||!1,$.multicursorText||null,$.mode||null);return}case"cut":this._cut(te);return}const ee=this.getAction(q);if(ee){Promise.resolve(ee.run(z)).then(void 0,y.onUnexpectedError);return}this._modelData&&(this._triggerEditorCommand(te,q,z)||this._triggerCommand(q,z))}_triggerCommand(te,q){this._commandService.executeCommand(te,q)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(te){this._modelData&&(this._modelData.viewModel.endComposition(te),this._onDidCompositionEnd.fire())}_type(te,q){!this._modelData||q.length===0||(te==="keyboard"&&this._onWillType.fire(q),this._modelData.viewModel.type(q,te),te==="keyboard"&&this._onDidType.fire(q))}_compositionType(te,q,z,ee,$){this._modelData&&this._modelData.viewModel.compositionType(q,z,ee,$,te)}_paste(te,q,z,ee,$){if(!this._modelData||q.length===0)return;const re=this._modelData.viewModel,oe=re.getSelection().getStartPosition();re.paste(q,z,ee,te);const ge=re.getSelection().getStartPosition();te==="keyboard"&&this._onDidPaste.fire({range:new u.Range(oe.lineNumber,oe.column,ge.lineNumber,ge.column),languageId:$})}_cut(te){this._modelData&&this._modelData.viewModel.cut(te)}_triggerEditorCommand(te,q,z){const ee=g.EditorExtensionsRegistry.getEditorCommand(q);return ee?(z=z||{},z.source=te,this._instantiationService.invokeFunction($=>{Promise.resolve(ee.runEditorCommand($,this,z)).then(void 0,y.onUnexpectedError)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(89)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(te,q,z){if(!this._modelData||this._configuration.options.get(89))return!1;let ee;return z?Array.isArray(z)?ee=()=>z:ee=z:ee=()=>null,this._modelData.viewModel.executeEdits(te,q,ee),!0}executeCommand(te,q){this._modelData&&this._modelData.viewModel.executeCommand(q,te)}executeCommands(te,q){this._modelData&&this._modelData.viewModel.executeCommands(q,te)}createDecorationsCollection(te){return new V(this,te)}changeDecorations(te){return this._modelData?this._modelData.model.changeDecorations(te,this._id):null}getLineDecorations(te){return this._modelData?this._modelData.model.getLineDecorations(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}getDecorationsInRange(te){return this._modelData?this._modelData.model.getDecorationsInRange(te,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}deltaDecorations(te,q){return this._modelData?te.length===0&&q.length===0?te:this._modelData.model.deltaDecorations(te,q,this._id):[]}removeDecorations(te){!this._modelData||te.length===0||this._modelData.model.changeDecorations(q=>{q.deltaDecorations(te,[])})}removeDecorationsByType(te){const q=this._decorationTypeKeysToIds[te];q&&this.deltaDecorations(q,[]),this._decorationTypeKeysToIds.hasOwnProperty(te)&&delete this._decorationTypeKeysToIds[te],this._decorationTypeSubtypes.hasOwnProperty(te)&&delete this._decorationTypeSubtypes[te]}getLayoutInfo(){return this._configuration.options.get(142)}createOverviewRuler(te){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(te)}getContainerDomNode(){return this._domElement}getDomNode(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}delegateVerticalScrollbarPointerDown(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarPointerDown(te)}delegateScrollFromMouseWheelEvent(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateScrollFromMouseWheelEvent(te)}layout(te){this._configuration.observeContainer(te),this.render()}focus(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}hasTextFocus(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(te){const q={widget:te,position:te.getPosition()};this._contentWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(q)}layoutContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(z)}}removeContentWidget(te){const q=te.getId();if(this._contentWidgets.hasOwnProperty(q)){const z=this._contentWidgets[q];delete this._contentWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(z)}}addOverlayWidget(te){const q={widget:te,position:te.getPosition()};this._overlayWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(q)}layoutOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(z)}}removeOverlayWidget(te){const q=te.getId();if(this._overlayWidgets.hasOwnProperty(q)){const z=this._overlayWidgets[q];delete this._overlayWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(z)}}addGlyphMarginWidget(te){const q={widget:te,position:te.getPosition()};this._glyphMarginWidgets.hasOwnProperty(te.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[te.getId()]=q,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(q)}layoutGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];z.position=te.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(z)}}removeGlyphMarginWidget(te){const q=te.getId();if(this._glyphMarginWidgets.hasOwnProperty(q)){const z=this._glyphMarginWidgets[q];delete this._glyphMarginWidgets[q],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(z)}}changeViewZones(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(te)}getTargetAtClientPoint(te,q){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(te,q)}getScrolledVisiblePosition(te){if(!this._modelData||!this._modelData.hasRealView)return null;const q=this._modelData.model.validatePosition(te),z=this._configuration.options,ee=z.get(142),$=j._getVerticalOffsetForPosition(this._modelData,q.lineNumber,q.column)-this.getScrollTop(),re=this._modelData.view.getOffsetForColumn(q.lineNumber,q.column)+ee.glyphMarginWidth+ee.lineNumbersWidth+ee.decorationsWidth-this.getScrollLeft();return{top:$,left:re,height:z.get(65)}}getOffsetForColumn(te,q){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(te,q)}render(te=!1){!this._modelData||!this._modelData.hasRealView||this._modelData.view.render(!0,te)}setAriaOptions(te){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(te)}applyFontInfo(te){(0,F.applyFontInfo)(te,this._configuration.options.get(49))}setBanner(te,q){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=te,this._configuration.setReservedHeight(te?q:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(te){if(!te){this._modelData=null;return}const q=[];this._domElement.setAttribute("data-mode-id",te.getLanguageId()),this._configuration.setIsDominatedByLongLines(te.isDominatedByLongLines()),this._configuration.setModelLineCount(te.getLineCount());const z=te.onBeforeAttached(),ee=new m.ViewModel(this._id,this._configuration,te,T.DOMLineBreaksComputerFactory.create(),x.MonospaceLineBreaksComputerFactory.create(this._configuration.options),oe=>k.scheduleAtNextAnimationFrame(oe),this.languageConfigurationService,this._themeService,z);q.push(te.onWillDispose(()=>this.setModel(null))),q.push(ee.onEvent(oe=>{switch(oe.kind){case 0:this._onDidContentSizeChange.fire(oe);break;case 1:this._editorTextFocus.setValue(oe.hasFocus);break;case 2:this._onDidScrollChange.fire(oe);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(oe.reachedMaxCursorCount){const Le=this.getOption(78),De=L.localize(0,null,Le);this._notificationService.prompt(I.Severity.Warning,De,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:L.localize(1,null),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}const ge=[];for(let Le=0,De=oe.selections.length;Le{this._paste("keyboard",$,re,oe,ge)},type:$=>{this._type("keyboard",$)},compositionType:($,re,oe,ge)=>{this._compositionType("keyboard",$,re,oe,ge)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:q={paste:($,re,oe,ge)=>{const ve={text:$,pasteOnNewLine:re,multicursorText:oe,mode:ge};this._commandService.executeCommand("paste",ve)},type:$=>{const re={text:$};this._commandService.executeCommand("type",re)},compositionType:($,re,oe,ge)=>{if(oe||ge){const ve={text:$,replacePrevCharCnt:re,replaceNextCharCnt:oe,positionDelta:ge};this._commandService.executeCommand("compositionType",ve)}else{const ve={text:$,replaceCharCnt:re};this._commandService.executeCommand("replacePreviousChar",ve)}},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const z=new i.ViewUserInputEvents(te.coordinatesConverter);return z.onKeyDown=$=>this._onKeyDown.fire($),z.onKeyUp=$=>this._onKeyUp.fire($),z.onContextMenu=$=>this._onContextMenu.fire($),z.onMouseMove=$=>this._onMouseMove.fire($),z.onMouseLeave=$=>this._onMouseLeave.fire($),z.onMouseDown=$=>this._onMouseDown.fire($),z.onMouseUp=$=>this._onMouseUp.fire($),z.onMouseDrag=$=>this._onMouseDrag.fire($),z.onMouseDrop=$=>this._onMouseDrop.fire($),z.onMouseDropCanceled=$=>this._onMouseDropCanceled.fire($),z.onMouseWheel=$=>this._onMouseWheel.fire($),[new s.View(q,this._configuration,this._themeService.getColorTheme(),te,z,this._overflowWidgetsDomNode,this._instantiationService),!0]}_postDetachModelCleanup(te){te?.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const te=this._modelData.model,q=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),q&&this._domElement.contains(q)&&this._domElement.removeChild(q),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),te}_removeDecorationType(te){this._codeEditorService.removeDecorationType(te)}hasModel(){return this._modelData!==null}showDropIndicatorAt(te){const q=[{range:new u.Range(te.lineNumber,te.column,te.lineNumber,te.column),options:j.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(q),this.revealPosition(te,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(te,q){this._contextKeyService.createKey(te,q)}};e.CodeEditorWidget=G,G.dropIntoEditorDecorationOptions=d.ModelDecorationOptions.register({description:"workbench-dnd-target",className:"dnd-target"}),e.CodeEditorWidget=G=j=ke([fe(3,w.IInstantiationService),fe(4,C.ICodeEditorService),fe(5,v.ICommandService),fe(6,b.IContextKeyService),fe(7,M.IThemeService),fe(8,I.INotificationService),fe(9,P.IAccessibilityService),fe(10,N.ILanguageConfigurationService),fe(11,O.ILanguageFeaturesService)],G);class Z extends S.Disposable{constructor(te){super(),this._emitterOptions=te,this._onDidChangeToTrue=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(te){const q=te?2:1;this._value!==q&&(this._value=q,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}e.BooleanEventEmitter=Z;class J extends D.Emitter{constructor(te,q){super({deliveryQueue:q}),this._contributions=te}fire(te){this._contributions.onBeforeInteractionEvent(),super.fire(te)}}class X extends S.Disposable{constructor(te,q){super(),this._editor=te,q.createKey("editorId",te.getId()),this._editorSimpleInput=o.EditorContextKeys.editorSimpleInput.bindTo(q),this._editorFocus=o.EditorContextKeys.focus.bindTo(q),this._textInputFocus=o.EditorContextKeys.textInputFocus.bindTo(q),this._editorTextFocus=o.EditorContextKeys.editorTextFocus.bindTo(q),this._editorTabMovesFocus=o.EditorContextKeys.tabMovesFocus.bindTo(q),this._editorReadonly=o.EditorContextKeys.readOnly.bindTo(q),this._inDiffEditor=o.EditorContextKeys.inDiffEditor.bindTo(q),this._editorColumnSelection=o.EditorContextKeys.columnSelection.bindTo(q),this._hasMultipleSelections=o.EditorContextKeys.hasMultipleSelections.bindTo(q),this._hasNonEmptySelection=o.EditorContextKeys.hasNonEmptySelection.bindTo(q),this._canUndo=o.EditorContextKeys.canUndo.bindTo(q),this._canRedo=o.EditorContextKeys.canRedo.bindTo(q),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(U.TabFocus.onDidChangeTabFocus(()=>this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const te=this._editor.getOptions();this._editorTabMovesFocus.set(U.TabFocus.getTabFocusMode("editorFocus")),this._editorReadonly.set(te.get(89)),this._inDiffEditor.set(te.get(60)),this._editorColumnSelection.set(te.get(21))}_updateFromSelection(){const te=this._editor.getSelections();te?(this._hasMultipleSelections.set(te.length>1),this._hasNonEmptySelection.set(te.some(q=>!q.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const te=this._editor.getModel();this._canUndo.set(!!(te&&te.canUndo())),this._canRedo.set(!!(te&&te.canRedo()))}}class H extends S.Disposable{constructor(te,q,z){super(),this._editor=te,this._contextKeyService=q,this._languageFeaturesService=z,this._langId=o.EditorContextKeys.languageId.bindTo(q),this._hasCompletionItemProvider=o.EditorContextKeys.hasCompletionItemProvider.bindTo(q),this._hasCodeActionsProvider=o.EditorContextKeys.hasCodeActionsProvider.bindTo(q),this._hasCodeLensProvider=o.EditorContextKeys.hasCodeLensProvider.bindTo(q),this._hasDefinitionProvider=o.EditorContextKeys.hasDefinitionProvider.bindTo(q),this._hasDeclarationProvider=o.EditorContextKeys.hasDeclarationProvider.bindTo(q),this._hasImplementationProvider=o.EditorContextKeys.hasImplementationProvider.bindTo(q),this._hasTypeDefinitionProvider=o.EditorContextKeys.hasTypeDefinitionProvider.bindTo(q),this._hasHoverProvider=o.EditorContextKeys.hasHoverProvider.bindTo(q),this._hasDocumentHighlightProvider=o.EditorContextKeys.hasDocumentHighlightProvider.bindTo(q),this._hasDocumentSymbolProvider=o.EditorContextKeys.hasDocumentSymbolProvider.bindTo(q),this._hasReferenceProvider=o.EditorContextKeys.hasReferenceProvider.bindTo(q),this._hasRenameProvider=o.EditorContextKeys.hasRenameProvider.bindTo(q),this._hasSignatureHelpProvider=o.EditorContextKeys.hasSignatureHelpProvider.bindTo(q),this._hasInlayHintsProvider=o.EditorContextKeys.hasInlayHintsProvider.bindTo(q),this._hasDocumentFormattingProvider=o.EditorContextKeys.hasDocumentFormattingProvider.bindTo(q),this._hasDocumentSelectionFormattingProvider=o.EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(q),this._hasMultipleDocumentFormattingProvider=o.EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(q),this._hasMultipleDocumentSelectionFormattingProvider=o.EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(q),this._isInWalkThrough=o.EditorContextKeys.isInWalkThroughSnippet.bindTo(q);const ee=()=>this._update();this._register(te.onDidChangeModel(ee)),this._register(te.onDidChangeModelLanguage(ee)),this._register(z.completionProvider.onDidChange(ee)),this._register(z.codeActionProvider.onDidChange(ee)),this._register(z.codeLensProvider.onDidChange(ee)),this._register(z.definitionProvider.onDidChange(ee)),this._register(z.declarationProvider.onDidChange(ee)),this._register(z.implementationProvider.onDidChange(ee)),this._register(z.typeDefinitionProvider.onDidChange(ee)),this._register(z.hoverProvider.onDidChange(ee)),this._register(z.documentHighlightProvider.onDidChange(ee)),this._register(z.documentSymbolProvider.onDidChange(ee)),this._register(z.referenceProvider.onDidChange(ee)),this._register(z.renameProvider.onDidChange(ee)),this._register(z.documentFormattingEditProvider.onDidChange(ee)),this._register(z.documentRangeFormattingEditProvider.onDidChange(ee)),this._register(z.signatureHelpProvider.onDidChange(ee)),this._register(z.inlayHintsProvider.onDidChange(ee)),ee()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const te=this._editor.getModel();if(!te){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(te.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(te)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(te)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(te)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(te)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(te)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(te)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(te)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(te)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(te)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(te)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(te)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(te)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(te)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(te)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(te)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(te)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(te).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(te).length>1),this._isInWalkThrough.set(te.uri.scheme===f.Schemas.walkThroughSnippet)})}}e.EditorModeContext=H;class B extends S.Disposable{constructor(te){super(),this._onChange=this._register(new D.Emitter),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(k.trackFocus(te)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}class V{get length(){return this._decorationIds.length}constructor(te,q){this._editor=te,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(q)&&q.length>0&&this.set(q)}onDidChange(te,q,z){return this._editor.onDidChangeModelDecorations(ee=>{this._isChangingDecorations||te.call(q,ee)},z)}getRange(te){return!this._editor.hasModel()||te>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[te])}getRanges(){if(!this._editor.hasModel())return[];const te=this._editor.getModel(),q=[];for(const z of this._decorationIds){const ee=te.getDecorationRange(z);ee&&q.push(ee)}return q}has(te){return this._decorationIds.includes(te.id)}clear(){this._decorationIds.length!==0&&this.set([])}set(te){try{this._isChangingDecorations=!0,this._editor.changeDecorations(q=>{this._decorationIds=q.deltaDecorations(this._decorationIds,te)})}finally{this._isChangingDecorations=!1}return this._decorationIds}}const Y=encodeURIComponent("");function ae(ue){return Y+encodeURIComponent(ue.toString())+ie}const ce=encodeURIComponent('');function he(ue){return ce+encodeURIComponent(ue.toString())+de}(0,M.registerThemingParticipant)((ue,te)=>{const q=ue.getColor(p.editorErrorForeground);q&&te.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${ae(q)}") repeat-x bottom left; }`);const z=ue.getColor(p.editorWarningForeground);z&&te.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${ae(z)}") repeat-x bottom left; }`);const ee=ue.getColor(p.editorInfoForeground);ee&&te.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${ae(ee)}") repeat-x bottom left; }`);const $=ue.getColor(p.editorHintForeground);$&&te.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${he($)}") no-repeat bottom left; }`);const re=ue.getColor(l.editorUnnecessaryCodeOpacity);re&&te.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${re.rgba.a}; }`)})}),define(ne[254],se([1,0,7,35,89,173,130,85,13,19,25,9,6,55,2,26,59,200,16,33,108,161,237,354,617,348,36,12,5,93,148,21,40,127,95,67,212,606,96,15,57,8,157,43,77,31,62,23,433]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H){"use strict";var B;Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget=e.diffEditorWidgetTtPolicy=void 0;class V{constructor(me,le){this._contextMenuService=me,this._clipboardService=le,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(me){return me.filter(le=>!this._zonesMap[String(le.id)])}clean(me){this._zones.length>0&&me.changeViewZones(le=>{for(const pe of this._zones)le.removeZone(pe)}),this._zones=[],this._zonesMap={},me.changeDecorations(le=>{this._decorations=le.deltaDecorations(this._decorations,[])})}apply(me,le,pe,Ce){const be=Ce?o.StableEditorScrollState.capture(me):null;me.changeViewZones(Ie=>{var Ne;for(const Re of this._zones)Ie.removeZone(Re);for(const Re of this._inlineDiffMargins)Re.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let Re=0,Ve=pe.zones.length;Re{this._decorations=Ie.deltaDecorations(this._decorations,pe.decorations)}),le?.setZones(pe.overviewZones)}}let Y=0;const ie=(0,X.registerIcon)("diff-insert",C.Codicon.add,O.localize(0,null)),ae=(0,X.registerIcon)("diff-remove",C.Codicon.remove,O.localize(1,null));e.diffEditorWidgetTtPolicy=(0,y.createTrustedTypesPolicy)("diffEditorWidget",{createHTML:_e=>_e});const ce=O.localize(2,null);let de=B=class extends t.Disposable{constructor(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We){super(),this._editorProgressService=We,this._onDidDispose=this._register(new i.Emitter),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModel=this._register(new i.Emitter),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidUpdateDiff=this._register(new i.Emitter),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new i.Emitter),this._lastOriginalWarning=null,this._lastModifiedWarning=null,Ne.willCreateDiffEditor(),this._documentDiffProvider=this._register(Ie.createInstance(v.WorkerBasedDocumentDiffProvider,le)),this._register(this._documentDiffProvider.onDidChange(Oe=>this._beginUpdateDecorationsSoon())),this._codeEditorService=Ne,this._contextKeyService=this._register(be.createScoped(me)),this._instantiationService=Ie.createChild(new K.ServiceCollection([U.IContextKeyService,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=Re,this._notificationService=Ve,this._id=++Y,this._state=0,this._updatingDiffProgress=null,this._domElement=me,le=le||{},this._options=Pe(le,{enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showEmptyDecorations:!1,showMoves:!1},hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}),this.isEmbeddedDiffEditorKey=P.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService),this.isEmbeddedDiffEditorKey.set(typeof le.isInEmbeddedEditor<"u"?le.isInEmbeddedEditor:!1),this._updateDecorationsRunner=this._register(new _.RunOnceScheduler(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=(0,k.createFastDomNode)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(L.addStandardDisposableListener(this._overviewDomElement,L.EventType.POINTER_DOWN,Oe=>{this._modifiedEditor.delegateVerticalScrollbarPointerDown(Oe)})),this._register(L.addDisposableListener(this._overviewDomElement,L.EventType.MOUSE_WHEEL,Oe=>{this._modifiedEditor.delegateScrollFromMouseWheelEvent(Oe)},{passive:!1})),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new V(ze,Ce),this._modifiedEditorState=new V(ze,Ce),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new h.ElementSizeObserver(this._containerDomElement,le.dimension)),this._register(this._elementSizeObserver.onDidChange(()=>this._onDidContainerSizeChanged())),le.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(le,pe.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(le,pe.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=Ie.createInstance(p.DiffReview,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new ee(this._createDataSource(),this._options.enableSplitViewResizing,this._options.splitViewDefaultRatio)):this._setStrategy(new re(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(Re.onDidColorThemeChange(Oe=>{this._strategy&&this._strategy.applyColors(Oe)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=B._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)}));const qe=r.EditorExtensionsRegistry.getDiffEditorContributions();for(const Oe of qe)try{this._register(Ie.createInstance(Oe.ctor,this))}catch(Ge){(0,s.onUnexpectedError)(Ge)}this._codeEditorService.addDiffEditor(this)}_setState(me){this._state!==me&&(this._state=me,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}accessibleDiffViewerNext(){this._reviewPane.next()}accessibleDiffViewerPrev(){this._reviewPane.prev()}static _getClassName(me,le){let pe="monaco-diff-editor monaco-editor-background ";return le&&(pe+="side-by-side "),pe+=(0,H.getThemeTypeSelector)(me.type),pe}_disposeOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose(),this._originalOverviewRuler=null),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose(),this._modifiedOverviewRuler=null)}_createOverviewRulers(){this._options.renderOverviewRuler&&(f.ok(!this._originalOverviewRuler&&!this._modifiedOverviewRuler),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const Ce=this._contextKeyService.createKey("isInDiffLeftEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),pe}_createRightHandSideEditor(me,le){const pe=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(me),le);this._register(pe.onDidScrollChange(be=>{this._isHandlingScrollEvent||!be.scrollTopChanged&&!be.scrollLeftChanged&&!be.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:be.scrollLeft,scrollTop:be.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(pe.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(pe.onDidChangeConfiguration(be=>{pe.getModel()&&(be.hasChanged(49)&&this._updateDecorationsRunner.schedule(),be.hasChanged(143)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(pe.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(pe.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(pe.onDidChangeModelOptions(be=>{be.tabSize&&this._updateDecorationsRunner.schedule()}));const Ce=this._contextKeyService.createKey("isInDiffRightEditor",pe.hasWidgetFocus());return this._register(pe.onDidFocusEditorWidget(()=>Ce.set(!0))),this._register(pe.onDidBlurEditorWidget(()=>Ce.set(!1))),this._register(pe.onDidContentSizeChange(be=>{const Ie=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+B.ONE_OVERVIEW_WIDTH,Ne=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ne,contentWidth:Ie,contentHeightChanged:be.contentHeightChanged,contentWidthChanged:be.contentWidthChanged})})),this._register(pe.onMouseDown(be=>{var Ie,Ne;if(!be.event.rightButton&&be.target.position&&(!((Ie=be.target.element)===null||Ie===void 0)&&Ie.className.includes("arrow-revert-change"))){const Re=be.target.position.lineNumber,Ve=be.target,ze=(Ne=this._diffComputationResult)===null||Ne===void 0?void 0:Ne.changes.find(We=>Ve?.detail.afterLineNumber===We.modifiedStartLineNumber||We.modifiedEndLineNumber>0&&We.modifiedStartLineNumber===Re);ze&&this.revertChange(ze),be.event.stopPropagation(),this._updateDecorations();return}})),pe}revertChange(me){const le=this._modifiedEditor,pe=this._originalEditor.getModel(),Ce=this._modifiedEditor.getModel();if(!pe||!Ce||!le)return;const be=me.originalEndLineNumber>0?new E.Range(me.originalStartLineNumber,1,me.originalEndLineNumber,pe.getLineMaxColumn(me.originalEndLineNumber)):null,Ie=be?pe.getValueInRange(be):null,Ne=me.modifiedEndLineNumber>0?new E.Range(me.modifiedStartLineNumber,1,me.modifiedEndLineNumber,Ce.getLineMaxColumn(me.modifiedEndLineNumber)):null,Re=Ce.getEOL();if(me.originalEndLineNumber===0&&Ne){let Ve=Ne;me.modifiedStartLineNumber>1?Ve=Ne.setStartPosition(me.modifiedStartLineNumber-1,Ce.getLineMaxColumn(me.modifiedStartLineNumber-1)):me.modifiedEndLineNumberthis._beginUpdateDecorations(),B.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(me,le){return!me&&!le?!0:!me||!le?!1:me.toString()===le.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1);const me=this._originalEditor.getModel(),le=this._modifiedEditor.getModel();if(!me||!le)return;this._diffComputationToken++;const pe=this._diffComputationToken,Ce=this._options.maxFileSize*1024*1024,be=Ie=>{const Ne=Ie.getValueLength();return Ce===0||Ne<=Ce};if(!be(me)||!be(le)){(!B._equals(me.uri,this._lastOriginalWarning)||!B._equals(le.uri,this._lastModifiedWarning))&&(this._lastOriginalWarning=me.uri,this._lastModifiedWarning=le.uri,this._notificationService.warn(O.localize(3,null)));return}this._setState(1),this._documentDiffProvider.computeDiff(me,le,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace,maxComputationTimeMs:this._options.maxComputationTime,computeMoves:!1},g.CancellationToken.None).then(Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult={identical:Ie.identical,quitEarly:Ie.quitEarly,changes2:Ie.changes,changes:Ie.changes.map(Ne=>{let Re,Ve,ze,We,qe=Ne.innerChanges;return Ne.originalRange.isEmpty?(Re=Ne.originalRange.startLineNumber-1,Ve=0,qe=void 0):(Re=Ne.originalRange.startLineNumber,Ve=Ne.originalRange.endLineNumberExclusive-1),Ne.modifiedRange.isEmpty?(ze=Ne.modifiedRange.startLineNumber-1,We=0,qe=void 0):(ze=Ne.modifiedRange.startLineNumber,We=Ne.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:Re,originalEndLineNumber:Ve,modifiedStartLineNumber:ze,modifiedEndLineNumber:We,charChanges:qe?.map(Oe=>({originalStartLineNumber:Oe.originalRange.startLineNumber,originalStartColumn:Oe.originalRange.startColumn,originalEndLineNumber:Oe.originalRange.endLineNumber,originalEndColumn:Oe.originalRange.endColumn,modifiedStartLineNumber:Oe.modifiedRange.startLineNumber,modifiedStartColumn:Oe.modifiedRange.startColumn,modifiedEndLineNumber:Oe.modifiedRange.endLineNumber,modifiedEndColumn:Oe.modifiedRange.endColumn}))}})},this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},Ie=>{pe===this._diffComputationToken&&me===this._originalEditor.getModel()&&le===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())})}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;const me=this._diffComputationResult?this._diffComputationResult.changes:[],le=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),pe=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),Ce=this._options.renderMarginRevertIcon&&!this._modifiedEditor.getOption(89),be=this._strategy.getEditorsDiffDecorations(me,this._options.ignoreTrimWhitespace,this._options.renderIndicators,Ce,le,pe);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,be.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,be.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(me){const le=Object.assign({},me);return le.inDiffEditor=!0,le.automaticLayout=!1,le.scrollbar=Object.assign({},le.scrollbar||{}),le.scrollbar.vertical="visible",le.folding=!1,le.codeLens=this._options.diffCodeLens,le.fixedOverflowWidgets=!0,le.minimap=Object.assign({},le.minimap||{}),le.minimap.enabled=!1,le}_adjustOptionsForLeftHandSide(me){const le=this._adjustOptionsForSubEditor(me);return this._options.renderSideBySide?le.wordWrapOverride1=this._options.diffWordWrap:(le.wordWrapOverride1="off",le.wordWrapOverride2="off",le.stickyScroll={enabled:!1}),me.originalAriaLabel&&(le.ariaLabel=me.originalAriaLabel),this._updateAriaLabel(le),le.readOnly=!this._options.originalEditable,le.dropIntoEditor={enabled:!le.readOnly},le.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}_updateAriaLabel(me){var le;let pe=(le=me.ariaLabel)!==null&&le!==void 0?le:"";this._options.accessibilityVerbose?pe+=ce:pe&&(pe=pe.replaceAll(ce,"")),me.ariaLabel=pe}_adjustOptionsForRightHandSide(me){const le=this._adjustOptionsForSubEditor(me);return me.modifiedAriaLabel&&(le.ariaLabel=me.modifiedAriaLabel),this._updateAriaLabel(le),le.wordWrapOverride1=this._options.diffWordWrap,le.revealHorizontalRightPadding=b.EditorOptions.revealHorizontalRightPadding.defaultValue+B.ENTIRE_DIFF_OVERVIEW_WIDTH,le.scrollbar.verticalHasArrows=!1,le.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},le),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const me=this._elementSizeObserver.getWidth(),le=this._elementSizeObserver.getHeight(),pe=this._getReviewHeight(),Ce=this._strategy.layout();this._originalDomNode.style.width=Ce+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=me-Ce-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._modifiedDomNode.style.left=Ce+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=le-pe+"px",this._overviewDomElement.style.width=B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=me-B.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(B.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:Ce,height:le-pe}),this._modifiedEditor.layout({width:me-Ce-(this._options.renderOverviewRuler?B.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:le-pe}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(le-pe,me,pe),this._layoutOverviewViewport()}_layoutOverviewViewport(){const me=this._computeOverviewViewport();me?(this._overviewViewportDomElement.setTop(me.top),this._overviewViewportDomElement.setHeight(me.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){const me=this._modifiedEditor.getLayoutInfo();if(!me)return null;const le=this._modifiedEditor.getScrollTop(),pe=this._modifiedEditor.getScrollHeight(),Ce=Math.max(0,me.height),be=Math.max(0,Ce-2*0),Ie=pe>0?be/pe:0,Ne=Math.max(0,Math.floor(me.height*Ie)),Re=Math.floor(le*Ie);return{height:Ne,top:Re}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(me){var le;(le=this._strategy)===null||le===void 0||le.dispose(),this._strategy=me,this._boundarySashes&&me.setBoundarySashes(this._boundarySashes),me.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}};e.DiffEditorWidget=de,de.ONE_OVERVIEW_WIDTH=15,de.ENTIRE_DIFF_OVERVIEW_WIDTH=30,de.UPDATE_DIFF_DECORATIONS_DELAY=200,e.DiffEditorWidget=de=B=ke([fe(3,W.IClipboardService),fe(4,U.IContextKeyService),fe(5,R.IInstantiationService),fe(6,c.ICodeEditorService),fe(7,H.IThemeService),fe(8,G.INotificationService),fe(9,j.IContextMenuService),fe(10,Z.IEditorProgressService)],de);class he extends t.Disposable{constructor(me){super(),this._dataSource=me,this._insertColor=null,this._removeColor=null}applyColors(me){const le=me.getColor(J.diffOverviewRulerInserted)||(me.getColor(J.diffInserted)||J.defaultInsertColor).transparent(2),pe=me.getColor(J.diffOverviewRulerRemoved)||(me.getColor(J.diffRemoved)||J.defaultRemoveColor).transparent(2),Ce=!le.equals(this._insertColor)||!pe.equals(this._removeColor);return this._insertColor=le,this._removeColor=pe,Ce}getEditorsDiffDecorations(me,le,pe,Ce,be,Ie){Ie=Ie.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber),be=be.sort((ze,We)=>ze.afterLineNumber-We.afterLineNumber);const Ne=this._getViewZones(me,be,Ie,pe),Re=this._getOriginalEditorDecorations(Ne,me,le,pe),Ve=this._getModifiedEditorDecorations(Ne,me,le,pe,Ce);return{original:{decorations:Re.decorations,overviewZones:Re.overviewZones,zones:Ne.original},modified:{decorations:Ve.decorations,overviewZones:Ve.overviewZones,zones:Ne.modified}}}setBoundarySashes(me){}}class ue{constructor(me){this._source=me,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexat.afterLineNumber-ht.afterLineNumber,nt=(at,ht)=>{if(ht.domNode===null&&at.length>0){const Be=at[at.length-1];if(Be.afterLineNumber===ht.afterLineNumber&&Be.domNode===null){Be.heightInLines+=ht.heightInLines;return}}at.push(ht)},ot=new ue(this._modifiedForeignVZ),ct=new ue(this._originalForeignVZ);let lt=1,gt=1;for(let at=0,ht=this._lineChanges.length;at<=ht;at++){const Be=at0?-1:0),Oe=Be.modifiedStartLineNumber+(Be.modifiedEndLineNumber>0?-1:0),We=Be.originalEndLineNumber>0?te._getViewLineCount(this._originalEditor,Be.originalStartLineNumber,Be.originalEndLineNumber):0,ze=Be.modifiedEndLineNumber>0?te._getViewLineCount(this._modifiedEditor,Be.modifiedStartLineNumber,Be.modifiedEndLineNumber):0,Ge=Math.max(Be.originalStartLineNumber,Be.originalEndLineNumber),Qe=Math.max(Be.modifiedStartLineNumber,Be.modifiedEndLineNumber)):(qe+=1e7+We,Oe+=1e7+ze,Ge=qe,Qe=Oe);let Te=[],xe=[];if(be){let Ze;Be?Be.originalEndLineNumber>0?Ze=Be.originalStartLineNumber-lt:Ze=Be.modifiedStartLineNumber-gt:Ze=Ie.getLineCount()-lt+1;for(let Xe=0;XeKe&&xe.push({afterLineNumber:Ae,heightInLines:Ue-Ke,domNode:null,marginDomNode:null})}Be&&(lt=(Be.originalEndLineNumber>0?Be.originalEndLineNumber:Be.originalStartLineNumber)+1,gt=(Be.modifiedEndLineNumber>0?Be.modifiedEndLineNumber:Be.modifiedStartLineNumber)+1)}for(;ot.current&&ot.current.afterLineNumber<=Qe;){let Ze;ot.current.afterLineNumber<=Oe?Ze=qe-Oe+ot.current.afterLineNumber:Ze=Ge;let Xe=null;Be&&Be.modifiedStartLineNumber<=ot.current.afterLineNumber&&ot.current.afterLineNumber<=Be.modifiedEndLineNumber&&(Xe=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),Te.push({afterLineNumber:Ze,heightInLines:ot.current.height/le,domNode:null,marginDomNode:Xe}),ot.advance()}for(;ct.current&&ct.current.afterLineNumber<=Ge;){let Ze;ct.current.afterLineNumber<=qe?Ze=Oe-qe+ct.current.afterLineNumber:Ze=Qe,xe.push({afterLineNumber:Ze,heightInLines:ct.current.height/me,domNode:null}),ct.advance()}if(Be!==null&&ve(Be)){const Ze=this._produceOriginalFromDiff(Be,We,ze);Ze&&Te.push(Ze)}if(Be!==null&&Se(Be)){const Ze=this._produceModifiedFromDiff(Be,We,ze);Ze&&xe.push(Ze)}let He=0,Ye=0;for(Te=Te.sort(st),xe=xe.sort(st);He=Xe.heightInLines?(Ze.heightInLines-=Xe.heightInLines,Ye++):(Xe.heightInLines-=Ze.heightInLines,He++)}for(;He(le.domNode||(le.domNode=ye()),le))}}function q(_e,me,le,pe,Ce){return{range:new E.Range(_e,me,le,pe),options:Ce}}const z={arrowRevertChange:x.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new n.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown(O.localize(4,null)),glyphMarginClassName:"arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),zIndex:10001}),charDelete:x.ModelDecorationOptions.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:x.ModelDecorationOptions.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:x.ModelDecorationOptions.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:x.ModelDecorationOptions.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"gutter-insert",isWholeLine:!0}),lineInsertWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+a.ThemeIcon.asClassName(ie),marginClassName:"gutter-insert",isWholeLine:!0}),lineDelete:x.ModelDecorationOptions.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteWithSign:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+a.ThemeIcon.asClassName(ae),marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteMargin:x.ModelDecorationOptions.register({description:"diff-editor-line-delete-margin",marginClassName:"gutter-delete"})};class ee extends he{constructor(me,le,pe){super(me),this._disableSash=le===!1,this._defaultRatio=pe,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new S.Sash(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(Ce=>this._onSashDrag(Ce)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(me,le){this._defaultRatio=le;const pe=me===!1;this._disableSash!==pe&&(this._disableSash=pe,this._sash.state=this._disableSash?0:3)}layout(me=this._sashRatio||this._defaultRatio){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let Ce=Math.floor((me||this._defaultRatio)*pe);const be=Math.floor(this._defaultRatio*pe);return Ce=this._disableSash?be:Ce||be,pe>ee.MINIMUM_EDITOR_WIDTH*2?(Cepe-ee.MINIMUM_EDITOR_WIDTH&&(Ce=pe-ee.MINIMUM_EDITOR_WIDTH)):Ce=be,this._sashPosition!==Ce&&(this._sashPosition=Ce),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(me){const pe=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?de.ENTIRE_DIFF_OVERVIEW_WIDTH:0),Ce=this.layout((this._startSashPosition+(me.currentX-me.startX))/pe);this._sashRatio=Ce/pe,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=this._defaultRatio,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(me){return 0}getVerticalSashLeft(me){return this._sashPosition}getVerticalSashHeight(me){return this._dataSource.getHeight()}setBoundarySashes(me){this._sash.orthogonalEndSash=me.bottom}_getViewZones(me,le,pe){const Ce=this._dataSource.getOriginalEditor(),be=this._dataSource.getModifiedEditor();return new $(me,le,pe,Ce,be).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=String(this._removeColor),Ne={decorations:[],overviewZones:[]},Re=be.getModel(),Ve=be._getViewModel();for(const ze of le)if(Se(ze)){Ne.decorations.push({range:new E.Range(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824),options:Ce?z.lineDeleteWithSign:z.lineDelete}),(!ve(ze)||!ze.charChanges)&&Ne.decorations.push(q(ze.originalStartLineNumber,1,ze.originalEndLineNumber,1073741824,z.charDeleteWholeLine));const We=Me(Re,Ve,ze.originalStartLineNumber,ze.originalEndLineNumber);if(Ne.overviewZones.push(new F.OverviewRulerZone(We.startLineNumber,We.endLineNumber,0,Ie)),ze.charChanges){for(const qe of ze.charChanges)if(De(qe))if(pe)for(let Oe=qe.originalStartLineNumber;Oe<=qe.originalEndLineNumber;Oe++){let Ge,Qe;Oe===qe.originalStartLineNumber?Ge=qe.originalStartColumn:Ge=Re.getLineFirstNonWhitespaceColumn(Oe),Oe===qe.originalEndLineNumber?Qe=qe.originalEndColumn:Qe=Re.getLineLastNonWhitespaceColumn(Oe),Ne.decorations.push(q(Oe,Ge,Oe,Qe,z.charDelete))}else Ne.decorations.push(q(qe.originalStartLineNumber,qe.originalStartColumn,qe.originalEndLineNumber,qe.originalEndColumn,z.charDelete))}}return Ne}_getModifiedEditorDecorations(me,le,pe,Ce,be){const Ie=this._dataSource.getModifiedEditor(),Ne=String(this._insertColor),Re={decorations:[],overviewZones:[]},Ve=Ie.getModel(),ze=Ie._getViewModel();for(const We of le){if(be)if(We.modifiedEndLineNumber>0)Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedStartLineNumber,1),options:z.arrowRevertChange});else{const qe=me.modified.find(Oe=>Oe.afterLineNumber===We.modifiedStartLineNumber);qe&&(qe.marginDomNode=Ee())}if(ve(We)){Re.decorations.push({range:new E.Range(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824),options:Ce?z.lineInsertWithSign:z.lineInsert}),(!Se(We)||!We.charChanges)&&Re.decorations.push(q(We.modifiedStartLineNumber,1,We.modifiedEndLineNumber,1073741824,z.charInsertWholeLine));const qe=Me(Ve,ze,We.modifiedStartLineNumber,We.modifiedEndLineNumber);if(Re.overviewZones.push(new F.OverviewRulerZone(qe.startLineNumber,qe.endLineNumber,0,Ne)),We.charChanges){for(const Oe of We.charChanges)if(Le(Oe))if(pe)for(let Ge=Oe.modifiedStartLineNumber;Ge<=Oe.modifiedEndLineNumber;Ge++){let Qe,st;Ge===Oe.modifiedStartLineNumber?Qe=Oe.modifiedStartColumn:Qe=Ve.getLineFirstNonWhitespaceColumn(Ge),Ge===Oe.modifiedEndLineNumber?st=Oe.modifiedEndColumn:st=Ve.getLineLastNonWhitespaceColumn(Ge),Re.decorations.push(q(Ge,Qe,Ge,st,z.charInsert))}else Re.decorations.push(q(Oe.modifiedStartLineNumber,Oe.modifiedStartColumn,Oe.modifiedEndLineNumber,Oe.modifiedEndColumn,z.charInsert))}}}return Re}}ee.MINIMUM_EDITOR_WIDTH=100;class $ extends te{constructor(me,le,pe,Ce,be){super(me,le,pe,Ce,be)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(me,le,pe){return pe>le?{afterLineNumber:Math.max(me.originalStartLineNumber,me.originalEndLineNumber),heightInLines:pe-le,domNode:null}:null}_produceModifiedFromDiff(me,le,pe){return le>pe?{afterLineNumber:Math.max(me.modifiedStartLineNumber,me.modifiedEndLineNumber),heightInLines:le-pe,domNode:null}:null}}class re extends he{constructor(me,le){super(me),this._decorationsLeft=me.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(me.getOriginalEditor().onDidLayoutChange(pe=>{this._decorationsLeft!==pe.decorationsLeft&&(this._decorationsLeft=pe.decorationsLeft,me.relayoutEditors())}))}setEnableSplitViewResizing(me){}_getViewZones(me,le,pe,Ce){const be=this._dataSource.getOriginalEditor(),Ie=this._dataSource.getModifiedEditor();return new oe(me,le,pe,be,Ie,Ce).getViewZones()}_getOriginalEditorDecorations(me,le,pe,Ce){const be=String(this._removeColor),Ie={decorations:[],overviewZones:[]},Ne=this._dataSource.getOriginalEditor(),Re=Ne.getModel(),Ve=Ne._getViewModel();let ze=0;for(const We of le)if(Se(We)){for(Ie.decorations.push({range:new E.Range(We.originalStartLineNumber,1,We.originalEndLineNumber,1073741824),options:z.lineDeleteMargin});ze=We.originalStartLineNumber)break;ze++}let qe=0;if(ze0,xe=new I.StringBuilder(1e4);let He=0,Ye=0,Ze=null;for(let Ae=lt.originalStartLineNumber;Ae<=lt.originalEndLineNumber;Ae++){const Ue=Ae-lt.originalStartLineNumber,Ke=this._originalModel.tokenization.getLineTokens(Ae),$e=Ke.getLineContent(),et=nt[ot++],tt=T.LineDecoration.filter(Be,Ae,1,$e.length+1);if(et){let ut=0;for(const rt of et.breakOffsets){const dt=Ke.sliceAndInflate(ut,rt,0),ft=$e.substring(ut,rt);He=Math.max(He,this._renderOriginalLine(Ye++,ft,dt,T.LineDecoration.extractWrapped(tt,ut,rt),Te,Re,Ve,Ce,be,ze,qe,Oe,Ge,Qe,st,pe,xe,ht)),ut=rt}for(Ze||(Ze=[]);Ze.lengthct.afterLineNumber-lt.afterLineNumber)}_renderOriginalLine(me,le,pe,Ce,be,Ie,Ne,Re,Ve,ze,We,qe,Oe,Ge,Qe,st,nt,ot){nt.appendString('
    ');const ct=N.ViewLineRenderingData.isBasicASCII(le,Ie),lt=N.ViewLineRenderingData.containsRTL(le,ct,Ne),gt=(0,A.renderViewLine)(new A.RenderLineInput(Re.isMonospace&&!Ve,Re.canUseHalfwidthRightwardsArrow,le,!1,ct,lt,0,pe,Ce,st,0,Re.spaceWidth,Re.middotWidth,Re.wsmiddotWidth,qe,Oe,Ge,Qe!==b.EditorFontLigatures.OFF,null),nt);if(nt.appendString("
    "),this._renderIndicators){const at=document.createElement("div");at.className=`delete-sign ${a.ThemeIcon.asClassName(ae)}`,at.setAttribute("style",`position:absolute;top:${me*ze}px;width:${We}px;height:${ze}px;right:0;`),ot.appendChild(at)}return gt.characterMapping.getHorizontalOffset(gt.characterMapping.length)}}function ge(_e,me){return(0,b.stringSet)(_e,me,["off","on","inherit"])}function ve(_e){return _e.modifiedEndLineNumber>0}function Se(_e){return _e.originalEndLineNumber>0}function Le(_e){return _e.modifiedStartLineNumber===_e.modifiedEndLineNumber?_e.modifiedEndColumn-_e.modifiedStartColumn>0:_e.modifiedEndLineNumber-_e.modifiedStartLineNumber>0}function De(_e){return _e.originalStartLineNumber===_e.originalEndLineNumber?_e.originalEndColumn-_e.originalStartColumn>0:_e.originalEndLineNumber-_e.originalStartLineNumber>0}function ye(){const _e=document.createElement("div");return _e.className="diagonal-fill",_e}function Ee(){const _e=document.createElement("div");return _e.className="arrow-revert-change "+a.ThemeIcon.asClassName(C.Codicon.arrowRight),L.$("div",{},_e)}function Me(_e,me,le,pe){const Ce=_e.getLineCount();return le=Math.min(Ce,Math.max(1,le)),pe=Math.min(Ce,Math.max(1,pe)),me.coordinatesConverter.convertModelRangeToViewRange(new E.Range(le,_e.getLineMinColumn(le),pe,_e.getLineMaxColumn(pe)))}function Pe(_e,me){return{enableSplitViewResizing:(0,b.boolean)(_e.enableSplitViewResizing,me.enableSplitViewResizing),splitViewDefaultRatio:(0,b.clampedFloat)(_e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,b.boolean)(_e.renderSideBySide,me.renderSideBySide),renderMarginRevertIcon:(0,b.boolean)(_e.renderMarginRevertIcon,me.renderMarginRevertIcon),maxComputationTime:(0,b.clampedInt)(_e.maxComputationTime,me.maxComputationTime,0,1073741824),maxFileSize:(0,b.clampedInt)(_e.maxFileSize,me.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,b.boolean)(_e.ignoreTrimWhitespace,me.ignoreTrimWhitespace),renderIndicators:(0,b.boolean)(_e.renderIndicators,me.renderIndicators),originalEditable:(0,b.boolean)(_e.originalEditable,me.originalEditable),diffCodeLens:(0,b.boolean)(_e.diffCodeLens,me.diffCodeLens),renderOverviewRuler:(0,b.boolean)(_e.renderOverviewRuler,me.renderOverviewRuler),diffWordWrap:ge(_e.diffWordWrap,me.diffWordWrap),diffAlgorithm:(0,b.stringSet)(_e.diffAlgorithm,me.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,b.boolean)(_e.accessibilityVerbose,me.accessibilityVerbose),hideUnchangedRegions:{enabled:!1,contextLineCount:0,minimumLineCount:0,revealLineCount:0},experimental:{showEmptyDecorations:!1,showMoves:!1},isInEmbeddedEditor:(0,b.boolean)(_e.isInEmbeddedEditor,me.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:0,useInlineViewWhenSpaceIsLimited:!1}}function Fe(_e,me){return{enableSplitViewResizing:_e.enableSplitViewResizing!==me.enableSplitViewResizing,renderSideBySide:_e.renderSideBySide!==me.renderSideBySide,renderMarginRevertIcon:_e.renderMarginRevertIcon!==me.renderMarginRevertIcon,maxComputationTime:_e.maxComputationTime!==me.maxComputationTime,maxFileSize:_e.maxFileSize!==me.maxFileSize,ignoreTrimWhitespace:_e.ignoreTrimWhitespace!==me.ignoreTrimWhitespace,renderIndicators:_e.renderIndicators!==me.renderIndicators,originalEditable:_e.originalEditable!==me.originalEditable,diffCodeLens:_e.diffCodeLens!==me.diffCodeLens,renderOverviewRuler:_e.renderOverviewRuler!==me.renderOverviewRuler,diffWordWrap:_e.diffWordWrap!==me.diffWordWrap,diffAlgorithm:_e.diffAlgorithm!==me.diffAlgorithm,accessibilityVerbose:_e.accessibilityVerbose!==me.accessibilityVerbose}}(0,H.registerThemingParticipant)((_e,me)=>{const le=_e.getColor(J.diffDiagonalFill);me.addRule(` - .monaco-editor .diagonal-fill { - background-image: linear-gradient( - -45deg, - ${le} 12.5%, - #0000 12.5%, #0000 50%, - ${le} 50%, ${le} 62.5%, - #0000 62.5%, #0000 100% - ); - background-size: 8px 8px; - } - `)})}),define(ne[874],se([1,0,59,254,36,93,127,95,67]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenderOptions=e.LineSource=e.renderLines=void 0;const g=k.diffEditorWidgetTtPolicy;function C(t,a,u,h){(0,L.applyFontInfo)(h,a.fontInfo);const r=u.length>0,c=new D.StringBuilder(1e4);let o=0,d=0;const l=[];for(let b=0;b');const l=a.getLineContent(),p=_.ViewLineRenderingData.isBasicASCII(l,r),m=_.ViewLineRenderingData.containsRTL(l,p,c),v=(0,f.renderViewLine)(new f.RenderLineInput(o.fontInfo.isMonospace&&!o.disableMonospaceOptimizations,o.fontInfo.canUseHalfwidthRightwardsArrow,l,!1,p,m,0,a,u,o.tabSize,0,o.fontInfo.spaceWidth,o.fontInfo.middotWidth,o.fontInfo.wsmiddotWidth,o.stopRenderingLineAfter,o.renderWhitespace,o.renderControlCharacters,o.fontLigatures!==y.EditorFontLigatures.OFF,null),d);return d.appendString(""),v.characterMapping.getHorizontalOffset(v.characterMapping.length)}}),define(ne[875],se([1,0,7,14,13,25,2,42,26,20,59,108,362,318,612,874,102,66,12,67,96,57]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZoneManager=void 0;let l=class extends S.Disposable{constructor(b,w,E,I,M,P,x){super(),this._editors=b,this._diffModel=w,this._options=E,this._diffEditorWidget=I,this._canIgnoreViewZoneUpdateEvent=M,this._clipboardService=P,this._contextMenuService=x,this._originalTopPadding=(0,f.observableValue)("originalTopPadding",0),this._originalScrollOffset=(0,f.observableValue)("originalScrollOffset",0),this._originalScrollOffsetAnimated=(0,u.animatedObservable)(this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,f.observableValue)("modifiedTopPadding",0),this._modifiedScrollOffset=(0,f.observableValue)("modifiedScrollOffset",0),this._modifiedScrollOffsetAnimated=(0,u.animatedObservable)(this._modifiedScrollOffset,this._store);let T=!1;const A=(0,f.observableValue)("state",0),N=this._register(new y.RunOnceScheduler(()=>{A.set(A.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(J=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&N.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(J=>{(J.hasChanged(143)||J.hasChanged(65))&&N.schedule()}));const F=this._diffModel.map(J=>J?(0,f.observableFromEvent)(J.model.original.onDidChangeTokens,()=>J.model.original.tokenization.backgroundTokenizationState===2):void 0).map((J,X)=>J?.read(X)),O=new Set,W=new Set,U=(0,f.derived)(J=>{const X=this._diffModel.read(J),H=X?.diff.read(J);if(!X||!H)return null;A.read(J);const V=this._options.renderSideBySide.read(J);return p(this._editors.original,this._editors.modified,H.mappings,O,W,V)}),j=(0,f.derived)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);if(!H)return null;A.read(J);const B=H.changes.map(V=>new n.DiffMapping(V));return p(this._editors.original,this._editors.modified,B,O,W,!0)});function R(){const J=document.createElement("div");return J.className="diagonal-fill",J}const K=this._register(new S.DisposableStore),G=(0,f.derived)(J=>{var X,H,B,V,Y,ie,ae,ce;K.clear();const de=U.read(J)||[],he=[],ue=[],te=this._modifiedTopPadding.read(J);te>0&&ue.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:te,showInHiddenAreas:!0});const q=this._originalTopPadding.read(J);q>0&&he.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:q,showInHiddenAreas:!0});const z=this._options.renderSideBySide.read(J),ee=z||(X=this._editors.modified._getViewModel())===null||X===void 0?void 0:X.createLineBreaksComputer();if(ee){for(const De of de)if(De.diff)for(let ye=De.originalRange.startLineNumber;yethis._editors.original.getModel().tokenization.getLineTokens(le)),De.originalRange.mapToLineArray(le=>$[re++]),ve,Se),Pe=[];for(const le of De.diff.innerChanges||[])Pe.push(new c.InlineDecoration(le.originalRange.delta(-(De.diff.originalRange.startLineNumber-1)),i.diffDeleteDecoration.className,0));const Fe=(0,a.renderLines)(Me,Le,Pe,Ee),_e=document.createElement("div");if(_e.className="inline-deleted-margin-view-zone",(0,C.applyFontInfo)(_e,Le.fontInfo),this._options.renderIndicators.read(J))for(let le=0;le(0,g.assertIsDefined)(me),_e,this._editors.modified,De.diff,this._diffEditorWidget,Fe.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let le=0;le1&&he.push({afterLineNumber:De.originalRange.startLineNumber+le,domNode:R(),heightInPx:(pe-1)*oe,showInHiddenAreas:!0})}ue.push({afterLineNumber:De.modifiedRange.startLineNumber-1,domNode:Ee,heightInPx:Fe.heightInLines*oe,minWidthInPx:Fe.minWidthInPx,marginDomNode:_e,setZoneId(le){me=le},showInHiddenAreas:!0})}const ye=document.createElement("div");ye.className="gutter-delete",he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:De.modifiedHeightInPx,marginDomNode:ye,showInHiddenAreas:!0})}else{const ye=De.modifiedHeightInPx-De.originalHeightInPx;if(ye>0){if(ge?.lineRangeMapping.original.delta(-1).deltaLength(2).contains(De.originalRange.endLineNumberExclusive-1))continue;he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0})}else{let Ee=function(){const Pe=document.createElement("div");return Pe.className="arrow-revert-change "+_.ThemeIcon.asClassName(D.Codicon.arrowRight),(0,L.$)("div",{},Pe)};if(ge?.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(De.modifiedRange.endLineNumberExclusive-1))continue;let Me;De.diff&&De.diff.modifiedRange.isEmpty&&this._options.shouldRenderRevertArrows.read(J)&&(Me=Ee()),ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,marginDomNode:Me,showInHiddenAreas:!0})}}for(const De of(ce=j.read(J))!==null&&ce!==void 0?ce:[]){if(!ge?.lineRangeMapping.original.intersect(De.originalRange)||!ge?.lineRangeMapping.modified.intersect(De.modifiedRange))continue;const ye=De.modifiedHeightInPx-De.originalHeightInPx;ye>0?he.push({afterLineNumber:De.originalRange.endLineNumberExclusive-1,domNode:R(),heightInPx:ye,showInHiddenAreas:!0}):ue.push({afterLineNumber:De.modifiedRange.endLineNumberExclusive-1,domNode:R(),heightInPx:-ye,showInHiddenAreas:!0})}return{orig:he,mod:ue}});this._register((0,f.autorunWithStore)(J=>{const X=s.StableEditorScrollState.capture(this._editors.modified),H=G.read(J);T=!0,this._editors.original.changeViewZones(B=>{for(const V of O)B.removeZone(V);O.clear();for(const V of H.orig){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),O.add(Y)}}),this._editors.modified.changeViewZones(B=>{for(const V of W)B.removeZone(V);W.clear();for(const V of H.mod){const Y=B.addZone(V);V.setZoneId&&V.setZoneId(Y),W.add(Y)}}),T=!1,X.restore(this._editors.modified)})),this._register((0,S.toDisposable)(()=>{this._editors.original.changeViewZones(J=>{for(const X of O)J.removeZone(X);O.clear()}),this._editors.modified.changeViewZones(J=>{for(const X of W)J.removeZone(X);W.clear()})}));let Z=!1;this._register(this._editors.original.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.modified.setScrollLeft(J.scrollLeft),Z=!1)})),this._register(this._editors.modified.onDidScrollChange(J=>{J.scrollLeftChanged&&!Z&&(Z=!0,this._editors.original.setScrollLeft(J.scrollLeft),Z=!1)})),this._originalScrollTop=(0,f.observableFromEvent)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,f.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,f.autorun)(J=>{const X=this._originalScrollTop.read(J)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(J))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(J));X!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{const X=this._modifiedScrollTop.read(J)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(J))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(J));X!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(X,1)})),this._register((0,f.autorun)(J=>{var X;const H=(X=this._diffModel.read(J))===null||X===void 0?void 0:X.movedTextToCompare.read(J);let B=0;if(H){const V=this._editors.original.getTopForLineNumber(H.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get();B=this._editors.modified.getTopForLineNumber(H.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get()-V}B>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(B,void 0)):B<0?(this._modifiedTopPadding.set(-B,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-B,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+B,void 0,!0)}))}};e.ViewZoneManager=l,e.ViewZoneManager=l=ke([fe(5,o.IClipboardService),fe(6,d.IContextMenuService)],l);function p(v,b,w,E,I,M){const P=new k.ArrayQueue(m(v,E)),x=new k.ArrayQueue(m(b,I)),T=v.getOption(65),A=b.getOption(65),N=[];let F=0,O=0;function W(U,j){for(;;){let R=P.peek(),K=x.peek();if(R&&R.lineNumber>=U&&(R=void 0),K&&K.lineNumber>=j&&(K=void 0),!R&&!K)break;const G=R?R.lineNumber-F:Number.MAX_VALUE,Z=K?K.lineNumber-O:Number.MAX_VALUE;GZ?(x.dequeue(),R={lineNumber:K.lineNumber-O+F,heightInPx:0}):(P.dequeue(),x.dequeue()),N.push({originalRange:h.LineRange.ofLength(R.lineNumber,1),modifiedRange:h.LineRange.ofLength(K.lineNumber,1),originalHeightInPx:T+R.heightInPx,modifiedHeightInPx:A+K.heightInPx,diff:void 0})}}for(const U of w){let Z=function(J,X){var H,B,V,Y;if(Jhe.lineNumberhe+ue.heightInPx,0))!==null&&B!==void 0?B:0,de=(Y=(V=x.takeWhile(he=>he.lineNumberhe+ue.heightInPx,0))!==null&&Y!==void 0?Y:0;N.push({originalRange:ie,modifiedRange:ae,originalHeightInPx:ie.length*T+ce,modifiedHeightInPx:ae.length*A+de,diff:U.lineRangeMapping}),G=J,K=X};const j=U.lineRangeMapping;W(j.originalRange.startLineNumber,j.modifiedRange.startLineNumber);let R=!0,K=j.modifiedRange.startLineNumber,G=j.originalRange.startLineNumber;if(M)for(const J of j.innerChanges||[])J.originalRange.startColumn>1&&J.modifiedRange.startColumn>1&&Z(J.originalRange.startLineNumber,J.modifiedRange.startLineNumber),J.originalRange.endColumn1&&E.push({lineNumber:T,heightInPx:P*(A-1)})}for(const T of v.getWhitespaces()){if(b.has(T.id))continue;const A=T.afterLineNumber===0?0:M.convertViewPositionToModelPosition(new r.Position(T.afterLineNumber,1)).lineNumber;w.push({lineNumber:A,heightInPx:T.height})}return(0,u.joinCombine)(w,E,T=>T.lineNumber,(T,A)=>({lineNumber:T.lineNumber,heightInPx:T.heightInPx+A.heightInPx}))}}),define(ne[876],se([1,0,7,9,6,42,16,33,161,830,870,590,875,323,357,747,102,348,148,21,116,15,8,157,482,844,621,318,2,77,432,822]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget2=void 0;let M=class extends m.DelegatingEditor{constructor(T,A,N,F,O,W,U,j){var R;super(),this._domElement=T,this._parentContextKeyService=F,this._parentInstantiationService=O,this._audioCueService=U,this._editorProgressService=j,this.elements=(0,L.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,L.h)("div.noModificationsOverlay@overlay",{style:{position:"absolute",height:"100%",visibility:"hidden"}},[(0,L.$)("span",{},"No Changes")]),(0,L.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=this._register((0,D.disposableObservableValue)("diffModel",void 0)),this.onDidChangeModel=y.Event.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._parentInstantiationService.createChild(new p.ServiceCollection([d.IContextKeyService,this._contextKeyService])),this._boundarySashes=(0,D.observableValue)("boundarySashes",void 0),this._accessibleDiffViewerShouldBeVisible=(0,D.observableValue)("accessibleDiffViewerShouldBeVisible",!1),this._accessibleDiffViewerVisible=(0,D.derived)(H=>this._options.onlyShowAccessibleDiffViewer.read(H)?!0:this._accessibleDiffViewerShouldBeVisible.read(H)),this.movedBlocksLinesPart=(0,D.observableValue)("MovedBlocksLinesPart",void 0),this._layoutInfo=(0,D.derived)(H=>{var B,V,Y;const ie=this._rootSizeObserver.width.read(H),ae=this._rootSizeObserver.height.read(H),ce=(B=this._sash.read(H))===null||B===void 0?void 0:B.sashLeft.read(H),de=ce??Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft),he=ie-de-(this._options.renderOverviewRuler.read(H)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0),ue=(Y=(V=this.movedBlocksLinesPart.read(H))===null||V===void 0?void 0:V.width.read(H))!==null&&Y!==void 0?Y:0,te=de-ue;return this.elements.original.style.width=te+"px",this.elements.original.style.left="0px",this.elements.modified.style.width=he+"px",this.elements.modified.style.left=de+"px",this._editors.original.layout({width:te,height:ae}),this._editors.modified.layout({width:he,height:ae}),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((H,B)=>H?.diff.read(B)),this.onDidUpdateDiff=y.Event.fromObservableLight(this._diffValue),W.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._contextKeyService.createKey("diffEditorVersion",2),this._domElement.appendChild(this.elements.root),this._register((0,E.toDisposable)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new u.ObservableElementSizeObserver(this.elements.root,A.dimension)),this._rootSizeObserver.setAutomaticLayout((R=A.automaticLayout)!==null&&R!==void 0?R:!1),this._options=new b.DiffEditorOptions(A,this._rootSizeObserver.width),this._contextKeyService.createKey(c.EditorContextKeys.isEmbeddedDiffEditor.key,!1);const K=c.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{K.set(this._options.isInEmbeddedEditor.read(H))}));const G=c.EditorContextKeys.comparingMovedCode.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{var B;G.set(!!(!((B=this._diffModel.read(H))===null||B===void 0)&&B.movedTextToCompare.read(H)))}));const Z=c.EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached.bindTo(this._contextKeyService);this._register((0,D.autorun)(H=>{Z.set(this._options.couldShowInlineViewBecauseOfSize.read(H))})),this._editors=this._register(this._instantiationService.createInstance(v.DiffEditorEditors,this.elements.original,this.elements.modified,this._options,N,(H,B,V,Y)=>this._createInnerEditor(H,B,V,Y))),this._sash=(0,D.derivedWithStore)("sash",(H,B)=>{const V=this._options.renderSideBySide.read(H);if(this.elements.root.classList.toggle("side-by-side",V),!V)return;const Y=B.add(new s.DiffEditorSash(this._options,this.elements.root,{height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((ie,ae)=>ie-(this._options.renderOverviewRuler.read(ae)?t.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0))}));return B.add((0,D.autorun)(ie=>{const ae=this._boundarySashes.read(ie);ae&&Y.setBoundarySashes(ae)})),Y}),this._register((0,D.keepAlive)(this._sash,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.unchangedRangesFeature=B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(a.UnchangedRangesFeature,H),this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(new((0,u.readHotReloadableExport)(C.DiffEditorDecorations,H))(this._editors,this._diffModel,this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(i.ViewZoneManager,H),this._editors,this._diffModel,this._options,this,()=>this.unchangedRangesFeature.isUpdatingViewZones))})),this._register((0,D.autorunWithStore)((H,B)=>{B.add(this._instantiationService.createInstance((0,u.readHotReloadableExport)(t.OverviewRulerPart,H),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(V=>V.modifiedEditor),this._options))})),this._register((0,D.autorunWithStore)((H,B)=>{this._accessibleDiffViewer=B.add(this._register(this._instantiationService.createInstance((0,u.readHotReloadableExport)(g.AccessibleDiffViewer,H),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(V,Y)=>this._accessibleDiffViewerShouldBeVisible.set(V,Y),this._options.onlyShowAccessibleDiffViewer.map(V=>!V),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((V,Y)=>{var ie;return(ie=V?.diff.read(Y))===null||ie===void 0?void 0:ie.mappings.map(ae=>ae.lineRangeMapping)}),this._editors)))}));const J=this._accessibleDiffViewerVisible.map(H=>H?"hidden":"visible");this._register((0,u.applyStyle)(this.elements.modified,{visibility:J})),this._register((0,u.applyStyle)(this.elements.original,{visibility:J})),this._createDiffEditorContributions(),W.addDiffEditor(this),this._register((0,D.keepAlive)(this._layoutInfo,!0)),this._register((0,D.autorunWithStore)((H,B)=>{this.movedBlocksLinesPart.set(B.add(new((0,u.readHotReloadableExport)(n.MovedBlocksLinesPart,H))(this.elements.root,this._diffModel,this._layoutInfo.map(V=>V.originalEditor),this._layoutInfo.map(V=>V.modifiedEditor),this._editors)),void 0)})),this._register((0,u.applyStyle)(this.elements.overlay,{width:this._layoutInfo.map((H,B)=>H.originalEditor.width+(this._options.renderSideBySide.read(B)?0:H.modifiedEditor.width)),visibility:(0,D.derived)(H=>{var B,V;return this._options.hideUnchangedRegions.read(H)&&((V=(B=this._diffModel.read(H))===null||B===void 0?void 0:B.diff.read(H))===null||V===void 0?void 0:V.mappings.length)===0?"visible":"hidden"})})),this._register(this._editors.modified.onMouseDown(H=>{var B,V;if(!H.event.rightButton&&H.target.position&&(!((B=H.target.element)===null||B===void 0)&&B.className.includes("arrow-revert-change"))){const Y=H.target.position.lineNumber,ie=H.target,ae=this._diffModel.get();if(!ae)return;const ce=(V=ae.diff.get())===null||V===void 0?void 0:V.mappings;if(!ce)return;const de=ce.find(he=>ie?.detail.afterLineNumber===he.lineRangeMapping.modifiedRange.startLineNumber-1||he.lineRangeMapping.modifiedRange.startLineNumber===Y);if(!de)return;this.revert(de.lineRangeMapping),H.event.stopPropagation()}})),this._register(y.Event.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,H=>{var B,V;if(H?.reason===3){const Y=(V=(B=this._diffModel.get())===null||B===void 0?void 0:B.diff.get())===null||V===void 0?void 0:V.mappings.find(ie=>ie.lineRangeMapping.modifiedRange.contains(H.position.lineNumber));Y?.lineRangeMapping.modifiedRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):Y?.lineRangeMapping.originalRange.isEmpty?this._audioCueService.playAudioCue(o.AudioCue.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):Y&&this._audioCueService.playAudioCue(o.AudioCue.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}));const X=this._diffModel.map((H,B)=>H?.isDiffUpToDate.read(B));this._register((0,D.autorunWithStore)((H,B)=>{if(X.read(H)===!1){const V=this._editorProgressService.show(!0,1e3);B.add((0,E.toDisposable)(()=>V.done()))}}))}_createInnerEditor(T,A,N,F){return T.createInstance(_.CodeEditorWidget,A,N,F)}_createDiffEditorContributions(){const T=S.EditorExtensionsRegistry.getDiffEditorContributions();for(const A of T)try{this._register(this._instantiationService.createInstance(A.ctor,this))}catch(N){(0,k.onUnexpectedError)(N)}}get _targetEditor(){return this._editors.modified}getEditorType(){return r.EditorType.IDiffEditor}layout(T){this._rootSizeObserver.observe(T)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var T;const A=this._editors.original.saveViewState(),N=this._editors.modified.saveViewState();return{original:A,modified:N,modelState:(T=this._diffModel.get())===null||T===void 0?void 0:T.serializeState()}}restoreViewState(T){var A;if(T&&T.original&&T.modified){const N=T;this._editors.original.restoreViewState(N.original),this._editors.modified.restoreViewState(N.modified),N.modelState&&((A=this._diffModel.get())===null||A===void 0||A.restoreSerializedState(N.modelState))}}createViewModel(T){return new w.DiffEditorViewModel(T,this._options,this._instantiationService.createInstance(h.WorkerBasedDocumentDiffProvider,{diffAlgorithm:this._options.diffAlgorithm.get()}))}getModel(){var T,A;return(A=(T=this._diffModel.get())===null||T===void 0?void 0:T.model)!==null&&A!==void 0?A:null}setModel(T){!T&&this._diffModel.get()&&this._accessibleDiffViewer.close();const A=T?"model"in T?T:this.createViewModel(T):void 0;this._editors.original.setModel(A?A.model.original:null),this._editors.modified.setModel(A?A.model.modified:null),(0,D.transaction)(N=>{this._diffModel.set(A,N)})}updateOptions(T){this._options.updateOptions(T)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var T;const A=(T=this._diffModel.get())===null||T===void 0?void 0:T.diff.get();return A?P(A):null}revert(T){var A;const N=(A=this._diffModel.get())===null||A===void 0?void 0:A.model;if(!N)return;const F=T.innerChanges?T.innerChanges.map(O=>({range:O.modifiedRange,text:N.original.getValueInRange(O.originalRange)})):[{range:T.modifiedRange.toExclusiveRange(),text:N.original.getValueInRange(T.originalRange.toExclusiveRange())}];this._editors.modified.executeEdits("diffEditor",F)}accessibleDiffViewerNext(){this._accessibleDiffViewer.next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.prev()}};e.DiffEditorWidget2=M,e.DiffEditorWidget2=M=ke([fe(3,d.IContextKeyService),fe(4,l.IInstantiationService),fe(5,f.ICodeEditorService),fe(6,o.IAudioCueService),fe(7,I.IEditorProgressService)],M);function P(x){return x.mappings.map(T=>{const A=T.lineRangeMapping;let N,F,O,W,U=A.innerChanges;return A.originalRange.isEmpty?(N=A.originalRange.startLineNumber-1,F=0,U=void 0):(N=A.originalRange.startLineNumber,F=A.originalRange.endLineNumberExclusive-1),A.modifiedRange.isEmpty?(O=A.modifiedRange.startLineNumber-1,W=0,U=void 0):(O=A.modifiedRange.startLineNumber,W=A.modifiedRange.endLineNumberExclusive-1),{originalStartLineNumber:N,originalEndLineNumber:F,modifiedStartLineNumber:O,modifiedEndLineNumber:W,charChanges:U?.map(j=>({originalStartLineNumber:j.originalRange.startLineNumber,originalStartColumn:j.originalRange.startColumn,originalEndLineNumber:j.originalRange.endLineNumber,originalEndColumn:j.originalRange.endColumn,modifiedStartLineNumber:j.modifiedRange.startLineNumber,modifiedStartColumn:j.modifiedRange.startColumn,modifiedEndLineNumber:j.modifiedRange.endLineNumber,modifiedEndColumn:j.modifiedRange.endColumn}))}})}}),define(ne[162],se([1,0,47,33,161,27,15,8,43,23,84,32,18]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EmbeddedCodeEditorWidget=void 0;let n=class extends y.CodeEditorWidget{constructor(a,u,h,r,c,o,d,l,p,m,v,b,w){super(a,Object.assign(Object.assign({},r.getRawOptions()),{overflowWidgetsDomNode:r.getOverflowWidgetsDomNode()}),h,c,o,d,l,p,m,v,b,w),this._parentEditor=r,this._overwriteOptions=u,super.updateOptions(this._overwriteOptions),this._register(r.onDidChangeConfiguration(E=>this._onParentConfigurationChanged(E)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(a){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(a){L.mixin(this._overwriteOptions,a,!0),super.updateOptions(this._overwriteOptions)}};e.EmbeddedCodeEditorWidget=n,e.EmbeddedCodeEditorWidget=n=ke([fe(4,f.IInstantiationService),fe(5,k.ICodeEditorService),fe(6,D.ICommandService),fe(7,S.IContextKeyService),fe(8,g.IThemeService),fe(9,_.INotificationService),fe(10,C.IAccessibilityService),fe(11,s.ILanguageConfigurationService),fe(12,i.ILanguageFeaturesService)],n)}),define(ne[877],se([1,0,13,2,16,12,5,24,21,48,40,633,30,31,23,437]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketMatchingController=void 0;const a=(0,n.registerColor)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},s.localize(0,null));class u extends y.EditorAction{constructor(){super({id:"editor.action.jumpToBracket",label:s.localize(1,null),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3165,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.jumpToBracket()}}class h extends y.EditorAction{constructor(){super({id:"editor.action.selectToBracket",label:s.localize(2,null),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(l,p,m){var v;let b=!0;m&&m.selectBrackets===!1&&(b=!1),(v=o.get(p))===null||v===void 0||v.selectToBracket(b)}}class r extends y.EditorAction{constructor(){super({id:"editor.action.removeBrackets",label:s.localize(3,null),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:2561,weight:100}})}run(l,p){var m;(m=o.get(p))===null||m===void 0||m.removeBrackets(this.id)}}class c{constructor(l,p,m){this.position=l,this.brackets=p,this.options=m}}class o extends k.Disposable{static get(l){return l.getContribution(o.ID)}constructor(l){super(),this._editor=l,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new L.RunOnceScheduler(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(70),this._updateBracketsSoon.schedule(),this._register(l.onDidChangeCursorPosition(p=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelContent(p=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModel(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeModelLanguageConfiguration(p=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(l.onDidChangeConfiguration(p=>{p.hasChanged(70)&&(this._matchBrackets=this._editor.getOption(70),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(l.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(l.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const l=this._editor.getModel(),p=this._editor.getSelections().map(m=>{const v=m.getStartPosition(),b=l.bracketPairs.matchBracket(v);let w=null;if(b)b[0].containsPosition(v)&&!b[1].containsPosition(v)?w=b[1].getStartPosition():b[1].containsPosition(v)&&(w=b[0].getStartPosition());else{const E=l.bracketPairs.findEnclosingBrackets(v);if(E)w=E[1].getStartPosition();else{const I=l.bracketPairs.findNextBracket(v);I&&I.range&&(w=I.range.getStartPosition())}}return w?new f.Selection(w.lineNumber,w.column,w.lineNumber,w.column):new f.Selection(v.lineNumber,v.column,v.lineNumber,v.column)});this._editor.setSelections(p),this._editor.revealRange(p[0])}selectToBracket(l){if(!this._editor.hasModel())return;const p=this._editor.getModel(),m=[];this._editor.getSelections().forEach(v=>{const b=v.getStartPosition();let w=p.bracketPairs.matchBracket(b);if(!w&&(w=p.bracketPairs.findEnclosingBrackets(b),!w)){const M=p.bracketPairs.findNextBracket(b);M&&M.range&&(w=p.bracketPairs.matchBracket(M.range.getStartPosition()))}let E=null,I=null;if(w){w.sort(S.Range.compareRangesUsingStarts);const[M,P]=w;if(E=l?M.getStartPosition():M.getEndPosition(),I=l?P.getEndPosition():P.getStartPosition(),P.containsPosition(b)){const x=E;E=I,I=x}}E&&I&&m.push(new f.Selection(E.lineNumber,E.column,I.lineNumber,I.column))}),m.length>0&&(this._editor.setSelections(m),this._editor.revealRange(m[0]))}removeBrackets(l){if(!this._editor.hasModel())return;const p=this._editor.getModel();this._editor.getSelections().forEach(m=>{const v=m.getPosition();let b=p.bracketPairs.matchBracket(v);b||(b=p.bracketPairs.findEnclosingBrackets(v)),b&&(this._editor.pushUndoStop(),this._editor.executeEdits(l,[{range:b[0],text:""},{range:b[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const l=[];let p=0;for(const m of this._lastBracketsData){const v=m.brackets;v&&(l[p++]={range:v[0],options:m.options},l[p++]={range:v[1],options:m.options})}this._decorations.set(l)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const l=this._editor.getSelections();if(l.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const p=this._editor.getModel(),m=p.getVersionId();let v=[];this._lastVersionId===m&&(v=this._lastBracketsData);const b=[];let w=0;for(let x=0,T=l.length;x1&&b.sort(D.Position.compare);const E=[];let I=0,M=0;const P=v.length;for(let x=0,T=b.length;x{o.symbol.command&&c.push(o.symbol),t.addDecoration({range:o.symbol.range,options:g},l=>this._decorationIds[d]=l),r?r=y.Range.plusRange(r,o.symbol.range):r=y.Range.lift(o.symbol.range)}),this._viewZone=new S(r.startLineNumber-1,u,h),this._viewZoneId=a.addZone(this._viewZone),c.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(c,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new f(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(i,n){this._decorationIds.forEach(i.removeDecoration,i),this._decorationIds=[],n?.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((i,n)=>{const t=this._editor.getModel().getDecorationRange(i),a=this._data[n].symbol;return!!(t&&y.Range.isEmpty(a.range)===t.isEmpty())})}updateCodeLensSymbols(i,n){this._decorationIds.forEach(n.removeDecoration,n),this._decorationIds=[],this._data=i,this._data.forEach((t,a)=>{n.addDecoration({range:t.symbol.range,options:g},u=>this._decorationIds[a]=u)})}updateHeight(i,n){this._viewZone.heightInPx=i,n.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(i){if(!this._viewZone.isVisible())return null;for(let n=0;nthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(b=>{(b.hasChanged(49)||b.hasChanged(18)||b.hasChanged(17))&&this._updateLensStyle(),b.hasChanged(16)&&this._onModelChange()})),this._disposables.add(d.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var o;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(o=this._currentCodeLensModel)===null||o===void 0||o.dispose()}_getLayoutInfo(){const o=Math.max(1.3,this._editor.getOption(65)/this._editor.getOption(51));let d=this._editor.getOption(18);return(!d||d<5)&&(d=this._editor.getOption(51)*.9|0),{fontSize:d,codeLensHeight:d*o|0}}_updateLensStyle(){const{codeLensHeight:o,fontSize:d}=this._getLayoutInfo(),l=this._editor.getOption(17),p=this._editor.getOption(49),{style:m}=this._editor.getContainerDomNode();m.setProperty("--vscode-editorCodeLens-lineHeight",`${o}px`),m.setProperty("--vscode-editorCodeLens-fontSize",`${d}px`),m.setProperty("--vscode-editorCodeLens-fontFeatureSettings",p.fontFeatureSettings),l&&(m.setProperty("--vscode-editorCodeLens-fontFamily",l),m.setProperty("--vscode-editorCodeLens-fontFamilyDefault",f.EDITOR_FONT_DEFAULTS.fontFamily)),this._editor.changeViewZones(v=>{for(const b of this._lenses)b.updateHeight(o,v)})}_localDispose(){var o,d,l;(o=this._getCodeLensModelPromise)===null||o===void 0||o.cancel(),this._getCodeLensModelPromise=void 0,(d=this._resolveCodeLensesPromise)===null||d===void 0||d.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(l=this._currentCodeLensModel)===null||l===void 0||l.dispose()}_onModelChange(){this._localDispose();const o=this._editor.getModel();if(!o||!this._editor.getOption(16))return;const d=this._codeLensCache.get(o);if(d&&this._renderCodeLensSymbols(d),!this._languageFeaturesService.codeLensProvider.has(o)){d&&this._localToDispose.add((0,L.disposableTimeout)(()=>{const p=this._codeLensCache.get(o);d===p&&(this._codeLensCache.delete(o),this._onModelChange())},30*1e3));return}for(const p of this._languageFeaturesService.codeLensProvider.all(o))if(typeof p.onDidChange=="function"){const m=p.onDidChange(()=>l.schedule());this._localToDispose.add(m)}const l=new L.RunOnceScheduler(()=>{var p;const m=Date.now();(p=this._getCodeLensModelPromise)===null||p===void 0||p.cancel(),this._getCodeLensModelPromise=(0,L.createCancelablePromise)(v=>(0,g.getCodeLensModel)(this._languageFeaturesService.codeLensProvider,o,v)),this._getCodeLensModelPromise.then(v=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=v,this._codeLensCache.put(o,v);const b=this._provideCodeLensDebounce.update(o,Date.now()-m);l.delay=b,this._renderCodeLensSymbols(v),this._resolveCodeLensesInViewportSoon()},k.onUnexpectedError)},this._provideCodeLensDebounce.get(o));this._localToDispose.add(l),this._localToDispose.add((0,y.toDisposable)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var p;this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{const b=[];let w=-1;this._lenses.forEach(I=>{!I.isValid()||w===I.getLineNumber()?b.push(I):(I.update(v),w=I.getLineNumber())});const E=new s.CodeLensHelper;b.forEach(I=>{I.dispose(E,v),this._lenses.splice(this._lenses.indexOf(I),1)}),E.commit(m)})}),l.schedule(),this._resolveCodeLensesScheduler.cancel(),(p=this._resolveCodeLensesPromise)===null||p===void 0||p.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{l.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(p=>{p.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,y.toDisposable)(()=>{if(this._editor.getModel()){const p=D.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(m=>{this._editor.changeViewZones(v=>{this._disposeAllLenses(m,v)})}),p.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(p=>{if(p.target.type!==9)return;let m=p.target.element;if(m?.tagName==="SPAN"&&(m=m.parentElement),m?.tagName==="A")for(const v of this._lenses){const b=v.getCommand(m);if(b){this._commandService.executeCommand(b.id,...b.arguments||[]).catch(w=>this._notificationService.error(w));break}}})),l.schedule()}_disposeAllLenses(o,d){const l=new s.CodeLensHelper;for(const p of this._lenses)p.dispose(l,d);o&&l.commit(o),this._lenses.length=0}_renderCodeLensSymbols(o){if(!this._editor.hasModel())return;const d=this._editor.getModel().getLineCount(),l=[];let p;for(const b of o.lenses){const w=b.symbol.range.startLineNumber;w<1||w>d||(p&&p[p.length-1].symbol.range.startLineNumber===w?p.push(b):(p=[b],l.push(p)))}if(!l.length&&!this._lenses.length)return;const m=D.StableEditorScrollState.capture(this._editor),v=this._getLayoutInfo();this._editor.changeDecorations(b=>{this._editor.changeViewZones(w=>{const E=new s.CodeLensHelper;let I=0,M=0;for(;Mthis._resolveCodeLensesInViewportSoon())),I++,M++)}for(;Ithis._resolveCodeLensesInViewportSoon())),M++;E.commit(b)})}),m.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var o;(o=this._resolveCodeLensesPromise)===null||o===void 0||o.cancel(),this._resolveCodeLensesPromise=void 0;const d=this._editor.getModel();if(!d)return;const l=[],p=[];if(this._lenses.forEach(b=>{const w=b.computeIfNecessary(d);w&&(l.push(w),p.push(b))}),l.length===0)return;const m=Date.now(),v=(0,L.createCancelablePromise)(b=>{const w=l.map((E,I)=>{const M=new Array(E.length),P=E.map((x,T)=>!x.symbol.command&&typeof x.provider.resolveCodeLens=="function"?Promise.resolve(x.provider.resolveCodeLens(d,x.symbol,b)).then(A=>{M[T]=A},k.onUnexpectedExternalError):(M[T]=x.symbol,Promise.resolve(void 0)));return Promise.all(P).then(()=>{!b.isCancellationRequested&&!p[I].isDisposed()&&p[I].updateCommands(M)})});return Promise.all(w)});this._resolveCodeLensesPromise=v,this._resolveCodeLensesPromise.then(()=>{const b=this._resolveCodeLensesDebounce.update(d,Date.now()-m);this._resolveCodeLensesScheduler.delay=b,this._currentCodeLensModel&&this._codeLensCache.put(d,this._currentCodeLensModel),this._oldCodeLensModels.clear(),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},b=>{(0,k.onUnexpectedError)(b),v===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){return this._currentCodeLensModel}};e.CodeLensContribution=r,r.ID="css.editor.codeLens",e.CodeLensContribution=r=ke([fe(1,h.ILanguageFeaturesService),fe(2,u.ILanguageFeatureDebounceService),fe(3,n.ICommandService),fe(4,t.INotificationService),fe(5,C.ICodeLensCache)],r),(0,S.registerEditorContribution)(r.ID,r,1),(0,S.registerEditorAction)(class extends S.EditorAction{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:_.EditorContextKeys.hasCodeLensProvider,label:(0,i.localize)(0,null),alias:"Show CodeLens Commands For Current Line"})}run(o,d){return we(this,void 0,void 0,function*(){if(!d.hasModel())return;const l=o.get(a.IQuickInputService),p=o.get(n.ICommandService),m=o.get(t.INotificationService),v=d.getSelection().positionLineNumber,b=d.getContribution(r.ID);if(!b)return;const w=b.getModel();if(!w)return;const E=[];for(const M of w.lenses)M.symbol.command&&M.symbol.range.startLineNumber===v&&E.push({label:M.symbol.command.title,command:M.symbol.command});if(E.length===0)return;const I=yield l.pick(E,{canPickMany:!1});if(I){if(w.isDisposed)return yield p.executeCommand(this.id);try{yield p.executeCommand(I.command.id,...I.command.arguments||[])}catch(M){m.error(M)}}})}})}),define(ne[363],se([1,0,13,38,9,6,2,58,11,159,16,5,40,76,18,343,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.DecoratorLimitReporter=e.ColorDetector=e.ColorDecorationInjectedTextMarker=void 0,e.ColorDecorationInjectedTextMarker=Object.create({});let r=h=class extends S.Disposable{constructor(d,l,p,m){super(),this._editor=d,this._configurationService=l,this._languageFeaturesService=p,this._localToDispose=this._register(new S.DisposableStore),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new g.DynamicCssRules(this._editor),this._decoratorLimitReporter=new c,this._colorDecorationClassRefs=this._register(new S.DisposableStore),this._debounceInformation=m.for(p.colorProvider,"Document Colors",{min:h.RECOMPUTE_TIME}),this._register(d.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(d.onDidChangeModelLanguage(()=>this.updateColors())),this._register(p.colorProvider.onDidChange(()=>this.updateColors())),this._register(d.onDidChangeConfiguration(v=>{const b=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144);const w=b!==this._isColorDecoratorsEnabled||v.hasChanged(20),E=v.hasChanged(144);(w||E)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(144),this.updateColors()}isEnabled(){const d=this._editor.getModel();if(!d)return!1;const l=d.getLanguageId(),p=this._configurationService.getValue(l);if(p&&typeof p=="object"){const m=p.colorDecorators;if(m&&m.enable!==void 0&&!m.enable)return m.enable}return this._editor.getOption(19)}static get(d){return d.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const d=this._editor.getModel();!d||!this._languageFeaturesService.colorProvider.has(d)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new L.TimeoutTimer,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(d)))})),this.beginCompute())}beginCompute(){return we(this,void 0,void 0,function*(){this._computePromise=(0,L.createCancelablePromise)(d=>we(this,void 0,void 0,function*(){const l=this._editor.getModel();if(!l)return[];const p=new f.StopWatch(!1),m=yield(0,a.getColors)(this._languageFeaturesService.colorProvider,l,d,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(l,p.elapsed()),m}));try{const d=yield this._computePromise;this.updateDecorations(d),this.updateColorDecorators(d),this._computePromise=null}catch(d){(0,y.onUnexpectedError)(d)}})}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(d){const l=d.map(p=>({range:{startLineNumber:p.colorInfo.range.startLineNumber,startColumn:p.colorInfo.range.startColumn,endLineNumber:p.colorInfo.range.endLineNumber,endColumn:p.colorInfo.range.endColumn},options:i.ModelDecorationOptions.EMPTY}));this._editor.changeDecorations(p=>{this._decorationsIds=p.deltaDecorations(this._decorationsIds,l),this._colorDatas=new Map,this._decorationsIds.forEach((m,v)=>this._colorDatas.set(m,d[v]))})}updateColorDecorators(d){this._colorDecorationClassRefs.clear();const l=[],p=this._editor.getOption(20);for(let v=0;vthis._colorDatas.has(m.id));return p.length===0?null:this._colorDatas.get(p[0].id)}isColorDecoration(d){return this._colorDecoratorIds.has(d)}};e.ColorDetector=r,r.ID="editor.contrib.colorDetector",r.RECOMPUTE_TIME=1e3,e.ColorDetector=r=h=ke([fe(1,u.IConfigurationService),fe(2,t.ILanguageFeaturesService),fe(3,n.ILanguageFeatureDebounceService)],r);class c{constructor(){this._onDidChange=new D.Emitter,this._computed=0,this._limited=!1}update(d,l){(d!==this._computed||l!==this._limited)&&(this._computed=d,this._limited=l,this._onDidChange.fire())}}e.DecoratorLimitReporter=c,(0,C.registerEditorContribution)(r.ID,r,1)}),define(ne[364],se([1,0,13,19,38,2,5,343,363,538,831,23,7]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerParticipant=e.StandaloneColorPickerHover=e.ColorHoverParticipant=e.ColorHover=void 0;class n{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v,this.forceShowAtRange=!0}isValidForHoverAnchor(l){return l.type===1&&this.range.startColumn<=l.range.startColumn&&this.range.endColumn>=l.range.endColumn}}e.ColorHover=n;let t=class{constructor(l,p){this._editor=l,this._themeService=p,this.hoverOrdinal=2}computeSync(l,p){return[]}computeAsync(l,p,m){return L.AsyncIterableObject.fromPromise(this._computeAsync(l,p,m))}_computeAsync(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const v=_.ColorDetector.get(this._editor);if(!v)return[];for(const b of p){if(!v.isColorDecoration(b))continue;const w=v.getColorData(b.range.getStartPosition());if(w)return[yield h(this,this._editor.getModel(),w.colorInfo,w.provider)]}return[]})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}};e.ColorHoverParticipant=t,e.ColorHoverParticipant=t=ke([fe(1,s.IThemeService)],t);class a{constructor(l,p,m,v){this.owner=l,this.range=p,this.model=m,this.provider=v}}e.StandaloneColorPickerHover=a;let u=class{constructor(l,p){this._editor=l,this._themeService=p,this._color=null}createColorHover(l,p,m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!_.ColorDetector.get(this._editor))return null;const b=yield(0,f.getColors)(m,this._editor.getModel(),k.CancellationToken.None);let w=null,E=null;for(const x of b){const T=x.colorInfo;S.Range.containsRange(T.range,l.range)&&(w=T,E=x.provider)}const I=w??l,M=E??p,P=!!w;return{colorHover:yield h(this,this._editor.getModel(),I,M),foundInEditor:P}})}updateEditorModel(l){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const p=l.model;let m=new S.Range(l.range.startLineNumber,l.range.startColumn,l.range.endLineNumber,l.range.endColumn);this._color&&(yield o(this._editor.getModel(),p,this._color,m,l),m=c(this._editor,m,p))})}renderHoverParts(l,p){return r(this,this._editor,this._themeService,p,l)}set color(l){this._color=l}get color(){return this._color}};e.StandaloneColorPickerParticipant=u,e.StandaloneColorPickerParticipant=u=ke([fe(1,s.IThemeService)],u);function h(d,l,p,m){return we(this,void 0,void 0,function*(){const v=l.getValueInRange(p.range),{red:b,green:w,blue:E,alpha:I}=p.color,M=new y.RGBA(Math.round(b*255),Math.round(w*255),Math.round(E*255),I),P=new y.Color(M),x=yield(0,f.getColorPresentations)(l,p,m,k.CancellationToken.None),T=new g.ColorPickerModel(P,[],0);return T.colorPresentations=x||[],T.guessColorPresentation(P,v),d instanceof t?new n(d,S.Range.lift(p.range),T,m):new a(d,S.Range.lift(p.range),T,m)})}function r(d,l,p,m,v){if(m.length===0||!l.hasModel())return D.Disposable.None;if(v.setMinimumDimensions){const T=l.getOption(65)+8;v.setMinimumDimensions(new i.Dimension(302,T))}const b=new D.DisposableStore,w=m[0],E=l.getModel(),I=w.model,M=b.add(new C.ColorPickerWidget(v.fragment,I,l.getOption(140),p,d instanceof u));v.setColorPicker(M);let P=!1,x=new S.Range(w.range.startLineNumber,w.range.startColumn,w.range.endLineNumber,w.range.endColumn);if(d instanceof u){const T=m[0].model.color;d.color=T,o(E,I,T,x,w),b.add(I.onColorFlushed(A=>{d.color=A}))}else b.add(I.onColorFlushed(T=>we(this,void 0,void 0,function*(){yield o(E,I,T,x,w),P=!0,x=c(l,x,I,v)})));return b.add(I.onDidChangeColor(T=>{o(E,I,T,x,w)})),b.add(l.onDidChangeModelContent(T=>{P?P=!1:(v.hide(),l.focus())})),b}function c(d,l,p,m){let v,b;if(p.presentation.textEdit){v=[p.presentation.textEdit],b=new S.Range(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn);const w=d.getModel()._setTrackedRange(null,b,3);d.pushUndoStop(),d.executeEdits("colorpicker",v),b=d.getModel()._getTrackedRange(w)||b}else v=[{range:l,text:p.presentation.label,forceMoveMarkers:!1}],b=l.setEndPosition(l.endLineNumber,l.startColumn+p.presentation.label.length),d.pushUndoStop(),d.executeEdits("colorpicker",v);return p.presentation.additionalTextEdits&&(v=[...p.presentation.additionalTextEdits],d.executeEdits("colorpicker",v),m&&m.hide()),d.pushUndoStop(),b}function o(d,l,p,m,v){return we(this,void 0,void 0,function*(){const b=yield(0,f.getColorPresentations)(d,{range:m,color:{red:p.rgba.r/255,green:p.rgba.g/255,blue:p.rgba.b/255,alpha:p.rgba.a}},v.provider,k.CancellationToken.None);l.colorPresentations=b||[]})}}),define(ne[880],se([1,0,2,17,16,12,5,24,40,540,440]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropController=void 0;function C(i){return k.isMacintosh?i.altKey:i.ctrlKey}class s extends L.Disposable{constructor(n){super(),this._editor=n,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!0),this._mouseDown&&C(n)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(n){!this._editor.getOption(34)||this._editor.getOption(21)||(C(n)&&(this._modifierPressed=!1),this._mouseDown&&n.keyCode===s.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(n){this._mouseDown=!0}_onEditorMouseUp(n){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(n){const t=n.target;if(this._dragSelection===null){const u=(this._editor.getSelections()||[]).filter(h=>t.position&&h.containsPosition(t.position));if(u.length===1)this._dragSelection=u[0];else return}C(n.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(n){if(n.target&&(this._hitContent(n.target)||this._hitMargin(n.target))&&n.target.position){const t=new D.Position(n.target.position.lineNumber,n.target.position.column);if(this._dragSelection===null){let a=null;if(n.event.shiftKey){const u=this._editor.getSelection();if(u){const{selectionStartLineNumber:h,selectionStartColumn:r}=u;a=[new f.Selection(h,r,t.lineNumber,t.column)]}}else a=(this._editor.getSelections()||[]).map(u=>u.containsPosition(t)?new f.Selection(t.lineNumber,t.column,t.lineNumber,t.column):u);this._editor.setSelections(a||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(C(n.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(s.ID,new g.DragAndDropCommand(this._dragSelection,t,C(n.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(n){this._dndDecorationIds.set([{range:new S.Range(n.lineNumber,n.column,n.lineNumber,n.column),options:s._DECORATION_OPTIONS}]),this._editor.revealPosition(n,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(n){return n.type===6||n.type===7}_hitMargin(n){return n.type===2||n.type===3||n.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}e.DragAndDropController=s,s.ID="editor.contrib.dragAndDrop",s.TRIGGER_KEY_VALUE=k.isMacintosh?6:5,s._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"dnd-target",className:"dnd-target"}),(0,y.registerEditorContribution)(s.ID,s,2)}),define(ne[881],se([1,0,5,48,40,31,23]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindDecorations=void 0;class f{constructor(g){this._editor=g,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const g=this._findScopeDecorationIds.map(C=>this._editor.getModel().getDecorationRange(C)).filter(C=>!!C);if(g.length)return g}return null}getStartPosition(){return this._startPosition}setStartPosition(g){this._startPosition=g,this.setCurrentFindMatch(null)}_getDecorationIndex(g){const C=this._decorations.indexOf(g);return C>=0?C+1:1}getDecorationRangeAt(g){const C=g{if(this._highlightedDecorationId!==null&&(i.changeDecorationOptions(this._highlightedDecorationId,f._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),C!==null&&(this._highlightedDecorationId=C,i.changeDecorationOptions(this._highlightedDecorationId,f._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),C!==null){let n=this._editor.getModel().getDecorationRange(C);if(n.startLineNumber!==n.endLineNumber&&n.endColumn===1){const t=n.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(t);n=new L.Range(n.startLineNumber,n.startColumn,t,a)}this._rangeHighlightDecorationId=i.addDecoration(n,f._RANGE_HIGHLIGHT_DECORATION)}}),s}set(g,C){this._editor.changeDecorations(s=>{let i=f._FIND_MATCH_DECORATION;const n=[];if(g.length>1e3){i=f._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),h=this._editor.getLayoutInfo().height/a,r=Math.max(2,Math.ceil(3/h));let c=g[0].range.startLineNumber,o=g[0].range.endLineNumber;for(let d=1,l=g.length;d=p.startLineNumber?p.endLineNumber>o&&(o=p.endLineNumber):(n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=p.startLineNumber,o=p.endLineNumber)}n.push({range:new L.Range(c,1,o,1),options:f._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const t=new Array(g.length);for(let a=0,u=g.length;as.removeDecoration(a)),this._findScopeDecorationIds=[]),C?.length&&(this._findScopeDecorationIds=C.map(a=>s.addDecoration(a,f._FIND_SCOPE_DECORATION)))})}matchBeforePosition(g){if(this._decorations.length===0)return null;for(let C=this._decorations.length-1;C>=0;C--){const s=this._decorations[C],i=this._editor.getModel().getDecorationRange(s);if(!(!i||i.endLineNumber>g.lineNumber)){if(i.endLineNumberg.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(g){if(this._decorations.length===0)return null;for(let C=0,s=this._decorations.length;Cg.lineNumber)return n;if(!(n.startColumnthis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(c=>{(c.reason===3||c.reason===5||c.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(c=>{this._ignoreModelContentChanged||(c.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(c=>this._onStateChanged(c))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,y.dispose)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(h){this._isDisposed||this._editor.hasModel()&&(h.searchString||h.isReplaceRevealed||h.isRegex||h.wholeWord||h.matchCase||h.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor)},t)):h.searchScope?this.research(h.moveCursor,this._state.searchScope):this.research(h.moveCursor))}static _getSearchRange(h,r){return r||h.getFullModelRange()}research(h,r){let c=null;typeof r<"u"?r!==null&&(Array.isArray(r)?c=r:c=[r]):c=this._decorations.getFindScopes(),c!==null&&(c=c.map(p=>{if(p.startLineNumber!==p.endLineNumber){let m=p.endLineNumber;return p.endColumn===1&&(m=m-1),new f.Range(p.startLineNumber,1,m,this._editor.getModel().getLineMaxColumn(m))}return p}));const o=this._findMatches(c,!1,e.MATCHES_LIMIT);this._decorations.set(o,c);const d=this._editor.getSelection();let l=this._decorations.getCurrentMatchesPosition(d);if(l===0&&o.length>0){const p=(0,L.findFirstInSorted)(o.map(m=>m.range),m=>f.Range.compareRangesUsingStarts(m,d)>=0);l=p>0?p-1+1:l}this._state.changeMatchInfo(l,this._decorations.getCount(),void 0),h&&this._editor.getOption(40).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const h=this._decorations.getFindScope();return h&&this._editor.revealRangeInCenterIfOutsideViewport(h,0),!0}return!1}_setCurrentFindMatch(h){const r=this._decorations.setCurrentFindMatch(h);this._state.changeMatchInfo(r,this._decorations.getCount(),h),this._editor.setSelection(h),this._editor.revealRangeInCenterIfOutsideViewport(h,0)}_prevSearchPosition(h){const r=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===1?(c===1?c=d.getLineCount():c--,o=d.getLineMaxColumn(c)):o--,new S.Position(c,o)}_moveToPrevMatch(h,r=!1){if(!this._state.canNavigateBack()){const b=this._decorations.matchAfterPosition(h);b&&this._setCurrentFindMatch(b);return}if(this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:c,column:o}=h;const d=this._editor.getModel();return r||o===d.getLineMaxColumn(c)?(c===d.getLineCount()?c=1:c++,o=1):o++,new S.Position(c,o)}_moveToNextMatch(h){if(!this._state.canNavigateForward()){const c=this._decorations.matchBeforePosition(h);c&&this._setCurrentFindMatch(c);return}if(this._decorations.getCount()a._getSearchRange(this._editor.getModel(),d));return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null,r,c)}replaceAll(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();h===null&&this._state.matchesCount>=e.MATCHES_LIMIT?this._largeReplaceAll():this._regularReplaceAll(h),this.research(!1)}_largeReplaceAll(){const r=new g.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(128):null).parseSearchRequest();if(!r)return;let c=r.regex;if(!c.multiline){let w="mu";c.ignoreCase&&(w+="i"),c.global&&(w+="g"),c=new RegExp(c.source,w)}const o=this._editor.getModel(),d=o.getValue(1),l=o.getFullModelRange(),p=this._getReplacePattern();let m;const v=this._state.preserveCase;p.hasReplacementPatterns||v?m=d.replace(c,function(){return p.buildReplaceString(arguments,v)}):m=d.replace(c,p.buildReplaceString(null,v));const b=new D.ReplaceCommandThatPreservesSelection(l,m,this._editor.getSelection());this._executeEditorCommand("replaceAll",b)}_regularReplaceAll(h){const r=this._getReplacePattern(),c=this._findMatches(h,r.hasReplacementPatterns||this._state.preserveCase,1073741824),o=[];for(let l=0,p=c.length;ll.range),o);this._executeEditorCommand("replaceAll",d)}selectAllMatches(){if(!this._hasMatches())return;const h=this._decorations.getFindScopes();let c=this._findMatches(h,!1,1073741824).map(d=>new _.Selection(d.range.startLineNumber,d.range.startColumn,d.range.endLineNumber,d.range.endColumn));const o=this._editor.getSelection();for(let d=0,l=c.length;dthis._hide(),2e3)),this._isVisible=!1,this._editor=C,this._state=s,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n={inputActiveOptionBorder:(0,f.asCssVariable)(f.inputActiveOptionBorder),inputActiveOptionForeground:(0,f.asCssVariable)(f.inputActiveOptionForeground),inputActiveOptionBackground:(0,f.asCssVariable)(f.inputActiveOptionBackground)};this.caseSensitive=this._register(new k.CaseSensitiveToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase},n))),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new k.WholeWordsToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleWholeWordCommand),isChecked:this._state.wholeWord},n))),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new k.RegexToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleRegexCommand),isChecked:this._state.isRegex},n))),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(t=>{let a=!1;t.isRegex&&(this.regex.checked=this._state.isRegex,a=!0),t.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,a=!0),t.matchCase&&(this.caseSensitive.checked=this._state.matchCase,a=!0),!this._state.isRevealed&&a&&this._revealTemporarily()})),this._register(L.addDisposableListener(this._domNode,L.EventType.MOUSE_LEAVE,t=>this._onMouseLeave())),this._register(L.addDisposableListener(this._domNode,"mouseover",t=>this._onMouseOver()))}_keybindingLabelFor(C){const s=this._keybindingService.lookupKeybinding(C);return s?` (${s.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return _.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}e.FindOptionsWidget=_,_.ID="editor.contrib.findOptionsWidget"}),define(ne[883],se([1,0,6,2,5,193]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindReplaceState=void 0;function S(_,g){return _===1?!0:_===2?!1:g}class f extends k.Disposable{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return S(this._isRegexOverride,this._isRegex)}get wholeWord(){return S(this._wholeWordOverride,this._wholeWord)}get matchCase(){return S(this._matchCaseOverride,this._matchCase)}get preserveCase(){return S(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new L.Emitter),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(g,C,s){const i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;C===0&&(g=0),g>C&&(g=C),this._matchesPosition!==g&&(this._matchesPosition=g,i.matchesPosition=!0,n=!0),this._matchesCount!==C&&(this._matchesCount=C,i.matchesCount=!0,n=!0),typeof s<"u"&&(y.Range.equalsRange(this._currentMatch,s)||(this._currentMatch=s,i.currentMatch=!0,n=!0)),n&&this._onFindReplaceStateChange.fire(i)}change(g,C,s=!0){var i;const n={moveCursor:C,updateHistory:s,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let t=!1;const a=this.isRegex,u=this.wholeWord,h=this.matchCase,r=this.preserveCase;typeof g.searchString<"u"&&this._searchString!==g.searchString&&(this._searchString=g.searchString,n.searchString=!0,t=!0),typeof g.replaceString<"u"&&this._replaceString!==g.replaceString&&(this._replaceString=g.replaceString,n.replaceString=!0,t=!0),typeof g.isRevealed<"u"&&this._isRevealed!==g.isRevealed&&(this._isRevealed=g.isRevealed,n.isRevealed=!0,t=!0),typeof g.isReplaceRevealed<"u"&&this._isReplaceRevealed!==g.isReplaceRevealed&&(this._isReplaceRevealed=g.isReplaceRevealed,n.isReplaceRevealed=!0,t=!0),typeof g.isRegex<"u"&&(this._isRegex=g.isRegex),typeof g.wholeWord<"u"&&(this._wholeWord=g.wholeWord),typeof g.matchCase<"u"&&(this._matchCase=g.matchCase),typeof g.preserveCase<"u"&&(this._preserveCase=g.preserveCase),typeof g.searchScope<"u"&&(!((i=g.searchScope)===null||i===void 0)&&i.every(c=>{var o;return(o=this._searchScope)===null||o===void 0?void 0:o.some(d=>!y.Range.equalsRange(d,c))})||(this._searchScope=g.searchScope,n.searchScope=!0,t=!0)),typeof g.loop<"u"&&this._loop!==g.loop&&(this._loop=g.loop,n.loop=!0,t=!0),typeof g.isSearching<"u"&&this._isSearching!==g.isSearching&&(this._isSearching=g.isSearching,n.isSearching=!0,t=!0),typeof g.filters<"u"&&(this._filters?this._filters.update(g.filters):this._filters=g.filters,n.filters=!0,t=!0),this._isRegexOverride=typeof g.isRegexOverride<"u"?g.isRegexOverride:0,this._wholeWordOverride=typeof g.wholeWordOverride<"u"?g.wholeWordOverride:0,this._matchCaseOverride=typeof g.matchCaseOverride<"u"?g.matchCaseOverride:0,this._preserveCaseOverride=typeof g.preserveCaseOverride<"u"?g.preserveCaseOverride:0,a!==this.isRegex&&(t=!0,n.isRegex=!0),u!==this.wholeWord&&(t=!0,n.wholeWord=!0),h!==this.matchCase&&(t=!0,n.matchCase=!0),r!==this.preserveCase&&(t=!0,n.preserveCase=!0),t&&this._onFindReplaceStateChange.fire(n)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=D.MATCHES_LIMIT}}e.FindReplaceState=f}),define(ne[884],se([1,0,7,49,153,130,83,13,25,9,2,17,11,5,193,656,346,745,31,62,23,26,88,20,105,443]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleButton=e.FindWidget=e.FindWidgetViewZone=e.NLS_NO_RESULTS=e.NLS_MATCHES_LOCATION=e.findNextMatchIcon=e.findPreviousMatchIcon=e.findReplaceAllIcon=e.findReplaceIcon=void 0;const v=(0,c.registerIcon)("find-selection",_.Codicon.selection,a.localize(0,null)),b=(0,c.registerIcon)("find-collapsed",_.Codicon.chevronRight,a.localize(1,null)),w=(0,c.registerIcon)("find-expanded",_.Codicon.chevronDown,a.localize(2,null));e.findReplaceIcon=(0,c.registerIcon)("find-replace",_.Codicon.replace,a.localize(3,null)),e.findReplaceAllIcon=(0,c.registerIcon)("find-replace-all",_.Codicon.replaceAll,a.localize(4,null)),e.findPreviousMatchIcon=(0,c.registerIcon)("find-previous-match",_.Codicon.arrowUp,a.localize(5,null)),e.findNextMatchIcon=(0,c.registerIcon)("find-next-match",_.Codicon.arrowDown,a.localize(6,null));const E=a.localize(7,null),I=a.localize(8,null),M=a.localize(9,null),P=a.localize(10,null),x=a.localize(11,null),T=a.localize(12,null),A=a.localize(13,null),N=a.localize(14,null),F=a.localize(15,null),O=a.localize(16,null),W=a.localize(17,null),U=a.localize(18,null),j=a.localize(19,null,t.MATCHES_LIMIT);e.NLS_MATCHES_LOCATION=a.localize(20,null),e.NLS_NO_RESULTS=a.localize(21,null);const R=419,G=275-54;let Z=69;const J=33,X="ctrlEnterReplaceAll.windows.donotask",H=s.isMacintosh?256:2048;class B{constructor(de){this.afterLineNumber=de,this.heightInPx=J,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}e.FindWidgetViewZone=B;function V(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionStart>0){ce.stopPropagation();return}}function Y(ce,de,he){const ue=!!de.match(/\n/);if(he&&ue&&he.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(oe=>this._onStateChanged(oe))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(89)&&(this._codeEditor.getOption(89)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),oe.hasChanged(142)&&this._tryUpdateWidgetWidth(),oe.hasChanged(2)&&this.updateAccessibilitySupport(),oe.hasChanged(40)){const ge=this._codeEditor.getOption(40).loop;this._state.change({loop:ge},!1);const ve=this._codeEditor.getOption(40).addExtraSpaceOnTop;ve&&!this._viewZone&&(this._viewZone=new B(0),this._showViewZone()),!ve&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>we(this,void 0,void 0,function*(){if(this._isVisible){const oe=yield this._controller.getGlobalBufferTerm();oe&&oe!==this._state.searchString&&(this._state.change({searchString:oe},!1),this._findInput.select())}}))),this._findInputFocused=t.CONTEXT_FIND_INPUT_FOCUSED.bindTo(z),this._findFocusTracker=this._register(L.trackFocus(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=t.CONTEXT_REPLACE_INPUT_FOCUSED.bindTo(z),this._replaceFocusTracker=this._register(L.trackFocus(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(40).addExtraSpaceOnTop&&(this._viewZone=new B(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(oe=>{if(oe.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return ie.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(de){if(de.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(de.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),de.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),de.isReplaceRevealed&&(this._state.isReplaceRevealed?!this._codeEditor.getOption(89)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(de.isRevealed||de.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),de.isRegex&&this._findInput.setRegex(this._state.isRegex),de.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),de.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),de.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),de.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),de.searchString||de.matchesCount||de.matchesPosition){const he=this._state.searchString.length>0&&this._state.matchesCount===0;this._domNode.classList.toggle("no-results",he),this._updateMatchesCount(),this._updateButtons()}(de.searchString||de.currentMatch)&&this._layoutViewZone(),de.updateHistory&&this._delayedUpdateHistory(),de.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,g.onUnexpectedError)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=Z+"px",this._state.matchesCount>=t.MATCHES_LIMIT?this._matchesCount.title=j:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);let de;if(this._state.matchesCount>0){let he=String(this._state.matchesCount);this._state.matchesCount>=t.MATCHES_LIMIT&&(he+="+");let ue=String(this._state.matchesPosition);ue==="0"&&(ue="?"),de=i.format(e.NLS_MATCHES_LOCATION,ue,he)}else de=e.NLS_NO_RESULTS;this._matchesCount.appendChild(document.createTextNode(de)),(0,k.alert)(this._getAriaLabel(de,this._state.currentMatch,this._state.searchString)),Z=Math.max(Z,this._matchesCount.clientWidth)}_getAriaLabel(de,he,ue){if(de===e.NLS_NO_RESULTS)return ue===""?a.localize(22,null,de):a.localize(23,null,de,ue);if(he){const te=a.localize(24,null,de,ue,he.startLineNumber+":"+he.startColumn),q=this._codeEditor.getModel();return q&&he.startLineNumber<=q.getLineCount()&&he.startLineNumber>=1?`${q.getLineContent(he.startLineNumber)}, ${te}`:te}return a.localize(25,null,de,ue)}_updateToggleSelectionFindButton(){const de=this._codeEditor.getSelection(),he=de?de.startLineNumber!==de.endLineNumber||de.startColumn!==de.endColumn:!1,ue=this._toggleSelectionFind.checked;this._isVisible&&(ue||he)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const de=this._state.searchString.length>0,he=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&de&&he&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const ue=!this._codeEditor.getOption(89);this._toggleReplaceBtn.setEnabled(this._isVisible&&ue)}_reveal(){if(this._revealTimeouts.forEach(de=>{clearTimeout(de)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const de=this._codeEditor.getSelection();switch(this._codeEditor.getOption(40).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const ue=!!de&&de.startLineNumber!==de.endLineNumber;this._toggleSelectionFind.checked=ue;break}default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let he=!0;if(this._codeEditor.getOption(40).seedSearchStringFromSelection&&de){const ue=this._codeEditor.getDomNode();if(ue){const te=L.getDomNodePagePosition(ue),q=this._codeEditor.getScrolledVisiblePosition(de.getStartPosition()),z=te.left+(q?q.left:0),ee=q?q.top:0;if(this._viewZone&&eede.startLineNumber&&(he=!1);const $=L.getTopLeftOffset(this._domNode).left;z>$&&(he=!1);const re=this._codeEditor.getScrolledVisiblePosition(de.getEndPosition());te.left+(re?re.left:0)>$&&(he=!1)}}}this._showViewZone(he)}}_hide(de){this._revealTimeouts.forEach(he=>{clearTimeout(he)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),de&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(de){if(!this._codeEditor.getOption(40).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const ue=this._viewZone;this._viewZoneId!==void 0||!ue||this._codeEditor.changeViewZones(te=>{ue.heightInPx=this._getHeight(),this._viewZoneId=te.addZone(ue),this._codeEditor.setScrollTop(de||this._codeEditor.getScrollTop()+ue.heightInPx)})}_showViewZone(de=!0){if(!this._isVisible||!this._codeEditor.getOption(40).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new B(0));const ue=this._viewZone;this._codeEditor.changeViewZones(te=>{if(this._viewZoneId!==void 0){const q=this._getHeight();if(q===ue.heightInPx)return;const z=q-ue.heightInPx;ue.heightInPx=q,te.layoutZone(this._viewZoneId),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+z);return}else{let q=this._getHeight();if(q-=this._codeEditor.getOption(82).top,q<=0)return;ue.heightInPx=q,this._viewZoneId=te.addZone(ue),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+q)}})}_removeViewZone(){this._codeEditor.changeViewZones(de=>{this._viewZoneId!==void 0&&(de.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!L.isInDOM(this._domNode))return;const de=this._codeEditor.getLayoutInfo();if(de.contentWidth<=0){this._domNode.classList.add("hiddenEditor");return}else this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const ue=de.width,te=de.minimap.minimapWidth;let q=!1,z=!1,ee=!1;if(this._resized&&L.getTotalWidth(this._domNode)>R){this._domNode.style.maxWidth=`${ue-28-te-15}px`,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode);return}if(R+28+te>=ue&&(z=!0),R+28+te-Z>=ue&&(ee=!0),R+28+te-Z>=ue+50&&(q=!0),this._domNode.classList.toggle("collapsed-find-widget",q),this._domNode.classList.toggle("narrow-find-widget",ee),this._domNode.classList.toggle("reduced-find-widget",z),!ee&&!q&&(this._domNode.style.maxWidth=`${ue-28-te-15}px`),this._findInput.layout({collapsedFindWidget:q,narrowFindWidget:ee,reducedFindWidget:z}),this._resized){const $=this._findInput.inputBox.element.clientWidth;$>0&&(this._replaceInput.width=$)}else this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode))}_getHeight(){let de=0;return de+=4,de+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(de+=4,de+=this._replaceInput.inputBox.height+2),de+=4,de}_tryUpdateHeight(){const de=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===de?!1:(this._cachedHeight=de,this._domNode.style.height=`${de}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const de=this._codeEditor.getSelections();de.map(he=>{he.endColumn===1&&he.endLineNumber>he.startLineNumber&&(he=he.setEndPosition(he.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(he.endLineNumber-1)));const ue=this._state.currentMatch;return he.startLineNumber!==he.endLineNumber&&!n.Range.equalsRange(he,ue)?he:null}).filter(he=>!!he),de.length&&this._state.change({searchScope:de},!0)}}_onFindInputMouseDown(de){de.middleButton&&de.stopPropagation()}_onFindInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{this._findInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(de.equals(18))return Y(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))}_onReplaceInputKeyDown(de){if(de.equals(H|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{s.isWindows&&s.isNative&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(a.localize(26,null)),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(X,!0,0,0)),this._replaceInput.inputBox.insertAtCursor(` -`),de.preventDefault();return}if(de.equals(2)){this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(1026)){this._findInput.focus(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(de.equals(18))return Y(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))}getVerticalSashLeft(de){return 0}_keybindingLabelFor(de){const he=this._keybindingService.lookupKeybinding(de);return he?` (${he.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new u.ContextScopedFindInput(null,this._contextViewProvider,{width:G,label:I,placeholder:M,appendCaseSensitiveLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleRegexCommand),validation:$=>{if($.length===0||!this._findInput.getRegex())return null;try{return new RegExp($,"gu"),null}catch(re){return{content:re.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown($=>this._onFindInputKeyDown($))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown($=>{$.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),$.preventDefault())})),this._register(this._findInput.onRegexKeyDown($=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),$.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange($=>{this._tryUpdateHeight()&&this._showViewZone()})),s.isLinux&&this._register(this._findInput.onMouseDown($=>this._onFindInputMouseDown($))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new ae({label:P+this._keybindingLabelFor(t.FIND_IDS.PreviousMatchFindAction),icon:e.findPreviousMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.PreviousMatchFindAction)).run().then(void 0,g.onUnexpectedError)}})),this._nextBtn=this._register(new ae({label:x+this._keybindingLabelFor(t.FIND_IDS.NextMatchFindAction),icon:e.findNextMatchIcon,onTrigger:()=>{(0,p.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.NextMatchFindAction)).run().then(void 0,g.onUnexpectedError)}}));const ue=document.createElement("div");ue.className="find-part",ue.appendChild(this._findInput.domNode);const te=document.createElement("div");te.className="find-actions",ue.appendChild(te),te.appendChild(this._matchesCount),te.appendChild(this._prevBtn.domNode),te.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new y.Toggle({icon:v,title:T+this._keybindingLabelFor(t.FIND_IDS.ToggleSearchScopeCommand),isChecked:!1,inputActiveOptionBackground:(0,r.asCssVariable)(r.inputActiveOptionBackground),inputActiveOptionBorder:(0,r.asCssVariable)(r.inputActiveOptionBorder),inputActiveOptionForeground:(0,r.asCssVariable)(r.inputActiveOptionForeground)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const $=this._codeEditor.getSelections();$.map(re=>(re.endColumn===1&&re.endLineNumber>re.startLineNumber&&(re=re.setEndPosition(re.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(re.endLineNumber-1))),re.isEmpty()?null:re)).filter(re=>!!re),$.length&&this._state.change({searchScope:$},!0)}}else this._state.change({searchScope:null},!0)})),te.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new ae({label:A+this._keybindingLabelFor(t.FIND_IDS.CloseFindWidgetCommand),icon:c.widgetClose,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:$=>{$.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),$.preventDefault())}})),this._replaceInput=this._register(new u.ContextScopedReplaceInput(null,void 0,{label:N,placeholder:F,appendPreserveCaseLabel:this._keybindingLabelFor(t.FIND_IDS.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>(0,h.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:m.defaultInputBoxStyles,toggleStyles:m.defaultToggleStyles},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown($=>this._onReplaceInputKeyDown($))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange($=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown($=>{$.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),$.preventDefault())})),this._replaceBtn=this._register(new ae({label:O+this._keybindingLabelFor(t.FIND_IDS.ReplaceOneAction),icon:e.findReplaceIcon,onTrigger:()=>{this._controller.replace()},onKeyDown:$=>{$.equals(1026)&&(this._closeBtn.focus(),$.preventDefault())}})),this._replaceAllBtn=this._register(new ae({label:W+this._keybindingLabelFor(t.FIND_IDS.ReplaceAllAction),icon:e.findReplaceAllIcon,onTrigger:()=>{this._controller.replaceAll()}}));const q=document.createElement("div");q.className="replace-part",q.appendChild(this._replaceInput.domNode);const z=document.createElement("div");z.className="replace-actions",q.appendChild(z),z.appendChild(this._replaceBtn.domNode),z.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new ae({label:U,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=E,this._domNode.role="dialog",this._domNode.style.width=`${R}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(ue),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(q),this._resizeSash=new D.Sash(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let ee=R;this._register(this._resizeSash.onDidStart(()=>{ee=L.getTotalWidth(this._domNode)})),this._register(this._resizeSash.onDidChange($=>{this._resized=!0;const re=ee+$.startX-$.currentX;if(reoe||(this._domNode.style.width=`${re}px`,this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const $=L.getTotalWidth(this._domNode);if(${this._opts.onTrigger(),ue.preventDefault()}),this.onkeydown(this._domNode,ue=>{var te,q;if(ue.equals(10)||ue.equals(3)){this._opts.onTrigger(),ue.preventDefault();return}(q=(te=this._opts).onKeyDown)===null||q===void 0||q.call(te,ue)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(de){this._domNode.classList.toggle("disabled",!de),this._domNode.setAttribute("aria-disabled",String(!de)),this._domNode.tabIndex=de?0:-1}setExpanded(de){this._domNode.setAttribute("aria-expanded",String(!!de)),de?(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(b)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(w))):(this._domNode.classList.remove(...d.ThemeIcon.asClassNameArray(w)),this._domNode.classList.add(...d.ThemeIcon.asClassNameArray(b)))}}e.SimpleButton=ae,(0,o.registerThemingParticipant)((ce,de)=>{const he=(De,ye)=>{ye&&de.addRule(`.monaco-editor ${De} { background-color: ${ye}; }`)};he(".findMatch",ce.getColor(r.editorFindMatchHighlight)),he(".currentFindMatch",ce.getColor(r.editorFindMatch)),he(".findScope",ce.getColor(r.editorFindRangeHighlight));const ue=ce.getColor(r.editorWidgetBackground);he(".find-widget",ue);const te=ce.getColor(r.widgetShadow);te&&de.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${te}; }`);const q=ce.getColor(r.widgetBorder);q&&de.addRule(`.monaco-editor .find-widget { border-left: 1px solid ${q}; border-right: 1px solid ${q}; border-bottom: 1px solid ${q}; }`);const z=ce.getColor(r.editorFindMatchHighlightBorder);z&&de.addRule(`.monaco-editor .findMatch { border: 1px ${(0,l.isHighContrast)(ce.type)?"dotted":"solid"} ${z}; box-sizing: border-box; }`);const ee=ce.getColor(r.editorFindMatchBorder);ee&&de.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${ee}; padding: 1px; box-sizing: border-box; }`);const $=ce.getColor(r.editorFindRangeHighlightBorder);$&&de.addRule(`.monaco-editor .findScope { border: 1px ${(0,l.isHighContrast)(ce.type)?"dashed":"solid"} ${$}; }`);const re=ce.getColor(r.contrastBorder);re&&de.addRule(`.monaco-editor .find-widget { border: 1px solid ${re}; }`);const oe=ce.getColor(r.editorWidgetForeground);oe&&de.addRule(`.monaco-editor .find-widget { color: ${oe}; }`);const ge=ce.getColor(r.errorForeground);ge&&de.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${ge}; }`);const ve=ce.getColor(r.editorWidgetResizeBorder);if(ve)de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${ve}; }`);else{const De=ce.getColor(r.editorWidgetBorder);De&&de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${De}; }`)}const Se=ce.getColor(r.toolbarHoverBackground);Se&&de.addRule(` - .monaco-editor .find-widget .button:not(.disabled):hover, - .monaco-editor .find-widget .codicon-find-selection:hover { - background-color: ${Se} !important; - } - `);const Le=ce.getColor(r.focusBorder);Le&&de.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${Le}; }`)})}),define(ne[365],se([1,0,13,2,11,16,80,21,48,193,882,883,884,655,30,96,15,57,34,43,71,87,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.StartFindReplaceAction=e.PreviousSelectionMatchFindAction=e.NextSelectionMatchFindAction=e.SelectionMatchFindAction=e.MoveToMatchFindAction=e.PreviousMatchFindAction=e.NextMatchFindAction=e.MatchFindAction=e.StartFindWithSelectionAction=e.StartFindWithArgsAction=e.StartFindAction=e.FindController=e.CommonFindController=e.getSelectionSearchString=void 0;const m=524288;function v(U,j="single",R=!1){if(!U.hasModel())return null;const K=U.getSelection();if(j==="single"&&K.startLineNumber===K.endLineNumber||j==="multiple"){if(K.isEmpty()){const G=U.getConfiguredWordAtPosition(K.getStartPosition());if(G&&R===!1)return G.word}else if(U.getModel().getValueLengthInRange(K)this._onStateChanged(Z))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{const Z=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),Z&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(40).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(j){this.saveQueryState(j),j.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),j.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(j){j.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),j.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),j.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),j.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!g.CONTEXT_FIND_INPUT_FOCUSED.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const j=this._editor.getSelections();j.map(R=>(R.endColumn===1&&R.endLineNumber>R.startLineNumber&&(R=R.setEndPosition(R.endLineNumber-1,this._editor.getModel().getLineMaxColumn(R.endLineNumber-1))),R.isEmpty()?null:R)).filter(R=>!!R),j.length&&this._state.change({searchScope:j},!0)}}setSearchString(j){this._state.isRegex&&(j=y.escapeRegExpCharacters(j)),this._state.change({searchString:j},!1)}highlightFindOptions(j=!1){}_start(j,R){return we(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;const K=Object.assign(Object.assign({},R),{isRevealed:!0});if(j.seedSearchStringFromSelection==="single"){const G=v(this._editor,j.seedSearchStringFromSelection,j.seedSearchStringFromNonEmptySelection);G&&(this._state.isRegex?K.searchString=y.escapeRegExpCharacters(G):K.searchString=G)}else if(j.seedSearchStringFromSelection==="multiple"&&!j.updateSearchScope){const G=v(this._editor,j.seedSearchStringFromSelection);G&&(K.searchString=G)}if(!K.searchString&&j.seedSearchStringFromGlobalClipboard){const G=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;G&&(K.searchString=G)}if(j.forceRevealReplace||K.isReplaceRevealed?K.isReplaceRevealed=!0:this._findWidgetVisible.get()||(K.isReplaceRevealed=!1),j.updateSearchScope){const G=this._editor.getSelections();G.some(Z=>!Z.isEmpty())&&(K.searchScope=G)}K.loop=j.loop,this._state.change(K,!1),this._model||(this._model=new g.FindModelBoundToEditorModel(this._editor,this._state))})}start(j,R){return this._start(j,R)}moveToNextMatch(){return this._model?(this._model.moveToNextMatch(),!0):!1}moveToPrevMatch(){return this._model?(this._model.moveToPrevMatch(),!0):!1}goToMatch(j){return this._model?(this._model.moveToMatch(j),!0):!1}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){return this._model?(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}getGlobalBufferTerm(){return we(this,void 0,void 0,function*(){return this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(j){this._editor.getOption(40).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(j)}};e.CommonFindController=b,b.ID="editor.contrib.findController",e.CommonFindController=b=p=ke([fe(1,u.IContextKeyService),fe(2,d.IStorageService),fe(3,a.IClipboardService)],b);let w=class extends b{constructor(j,R,K,G,Z,J,X,H){super(j,K,X,H),this._contextViewService=R,this._keybindingService=G,this._themeService=Z,this._notificationService=J,this._widget=null,this._findOptionsWidget=null}_start(j,R){const K=Object.create(null,{_start:{get:()=>super._start}});return we(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const G=this._editor.getSelection();let Z=!1;switch(this._editor.getOption(40).autoFindInSelection){case"always":Z=!0;break;case"never":Z=!1;break;case"multiline":{Z=!!G&&G.startLineNumber!==G.endLineNumber;break}default:break}j.updateSearchScope=j.updateSearchScope||Z,yield K._start.call(this,j,R),this._widget&&(j.shouldFocus===2?this._widget.focusReplaceInput():j.shouldFocus===1&&this._widget.focusFindInput())})}highlightFindOptions(j=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!j?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new i.FindWidget(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new C.FindOptionsWidget(this._editor,this._state,this._keybindingService))}};e.FindController=w,e.FindController=w=ke([fe(1,h.IContextViewService),fe(2,u.IContextKeyService),fe(3,r.IKeybindingService),fe(4,l.IThemeService),fe(5,c.INotificationService),fe(6,d.IStorageService),fe(7,a.IClipboardService)],w),e.StartFindAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindAction,label:n.localize(0,null),alias:"Find",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(1,null),order:1}})),e.StartFindAction.addImplementation(0,(U,j,R)=>{const K=b.get(j);return K?K.start({forceRevealReplace:!1,seedSearchStringFromSelection:j.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop}):!1});const E={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:n.localize(2,null)},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:n.localize(3,null)},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:n.localize(4,null)},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:n.localize(5,null)},findInSelection:{type:"boolean"}}}}]};class I extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithArgs,label:n.localize(6,null),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:E})}run(j,R,K){return we(this,void 0,void 0,function*(){const G=b.get(R);if(G){const Z=K?{searchString:K.searchString,replaceString:K.replaceString,isReplaceRevealed:K.replaceString!==void 0,isRegex:K.isRegex,wholeWord:K.matchWholeWord,matchCase:K.isCaseSensitive,preserveCase:K.preserveCase}:{};yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:G.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:K?.findInSelection||!1,loop:R.getOption(40).loop},Z),G.setGlobalBufferTerm(G.getState().searchString)}})}}e.StartFindWithArgsAction=I;class M extends D.EditorAction{constructor(){super({id:g.FIND_IDS.StartFindWithSelection,label:n.localize(7,null),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),K.setGlobalBufferTerm(K.getState().searchString))})}}e.StartFindWithSelectionAction=M;class P extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);K&&!this._run(K)&&(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:K.getState().searchString.length===0&&R.getOption(40).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:R.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.MatchFindAction=P;class x extends P{constructor(){super({id:g.FIND_IDS.NextMatchFindAction,label:n.localize(8,null),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:3,weight:100}]})}_run(j){return j.moveToNextMatch()?(j.editor.pushUndoStop(),!0):!1}}e.NextMatchFindAction=x;class T extends P{constructor(){super({id:g.FIND_IDS.PreviousMatchFindAction,label:n.localize(9,null),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:f.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_FIND_INPUT_FOCUSED),primary:1027,weight:100}]})}_run(j){return j.moveToPrevMatch()}}e.PreviousMatchFindAction=T;class A extends D.EditorAction{constructor(){super({id:g.FIND_IDS.GoToMatchFindAction,label:n.localize(10,null),alias:"Go to Match...",precondition:g.CONTEXT_FIND_WIDGET_VISIBLE}),this._highlightDecorations=[]}run(j,R,K){const G=b.get(R);if(!G)return;const Z=G.getState().matchesCount;if(Z<1){j.get(c.INotificationService).notify({severity:c.Severity.Warning,message:n.localize(11,null)});return}const X=j.get(o.IQuickInputService).createInputBox();X.placeholder=n.localize(12,null,Z);const H=V=>{const Y=parseInt(V);if(isNaN(Y))return;const ie=G.getState().matchesCount;if(Y>0&&Y<=ie)return Y-1;if(Y<0&&Y>=-ie)return ie+Y},B=V=>{const Y=H(V);if(typeof Y=="number"){X.validationMessage=void 0,G.goToMatch(Y);const ie=G.getState().currentMatch;ie&&this.addDecorations(R,ie)}else X.validationMessage=n.localize(13,null,G.getState().matchesCount),this.clearDecorations(R)};X.onDidChangeValue(V=>{B(V)}),X.onDidAccept(()=>{const V=H(X.value);typeof V=="number"?(G.goToMatch(V),X.hide()):X.validationMessage=n.localize(14,null,G.getState().matchesCount)}),X.onDidHide(()=>{this.clearDecorations(R),X.dispose()}),X.show()}clearDecorations(j){j.changeDecorations(R=>{this._highlightDecorations=R.deltaDecorations(this._highlightDecorations,[])})}addDecorations(j,R){j.changeDecorations(K=>{this._highlightDecorations=K.deltaDecorations(this._highlightDecorations,[{range:R,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:R,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,l.themeColorFromId)(S.overviewRulerRangeHighlight),position:_.OverviewRulerLane.Full}}}])})}}e.MoveToMatchFindAction=A;class N extends D.EditorAction{run(j,R){return we(this,void 0,void 0,function*(){const K=b.get(R);if(!K)return;const G=v(R,"single",!1);G&&K.setSearchString(G),this._run(K)||(yield K.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:R.getOption(40).loop}),this._run(K))})}}e.SelectionMatchFindAction=N;class F extends N{constructor(){super({id:g.FIND_IDS.NextSelectionMatchFindAction,label:n.localize(15,null),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:2109,weight:100}})}_run(j){return j.moveToNextMatch()}}e.NextSelectionMatchFindAction=F;class O extends N{constructor(){super({id:g.FIND_IDS.PreviousSelectionMatchFindAction,label:n.localize(16,null),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:3133,weight:100}})}_run(j){return j.moveToPrevMatch()}}e.PreviousSelectionMatchFindAction=O,e.StartFindReplaceAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:g.FIND_IDS.StartFindReplaceAction,label:n.localize(17,null),alias:"Replace",precondition:u.ContextKeyExpr.or(f.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(18,null),order:2}})),e.StartFindReplaceAction.addImplementation(0,(U,j,R)=>{if(!j.hasModel()||j.getOption(89))return!1;const K=b.get(j);if(!K)return!1;const G=j.getSelection(),Z=K.isFindInputFocused(),J=!G.isEmpty()&&G.startLineNumber===G.endLineNumber&&j.getOption(40).seedSearchStringFromSelection!=="never"&&!Z,X=Z||J?2:1;return K.start({forceRevealReplace:!0,seedSearchStringFromSelection:J?"single":"none",seedSearchStringFromNonEmptySelection:j.getOption(40).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:j.getOption(40).seedSearchStringFromSelection!=="never",shouldFocus:X,shouldAnimate:!0,updateSearchScope:!1,loop:j.getOption(40).loop})}),(0,D.registerEditorContribution)(b.ID,w,0),(0,D.registerEditorAction)(I),(0,D.registerEditorAction)(M),(0,D.registerEditorAction)(x),(0,D.registerEditorAction)(T),(0,D.registerEditorAction)(A),(0,D.registerEditorAction)(F),(0,D.registerEditorAction)(O);const W=D.EditorCommand.bindToContribution(b.get);(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.CloseFindWidgetCommand,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.closeFindWidget(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,u.ContextKeyExpr.not("isComposing")),primary:9,secondary:[1033]}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleCaseSensitiveCommand,precondition:void 0,handler:U=>U.toggleCaseSensitive(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleCaseSensitiveKeybinding.primary,mac:g.ToggleCaseSensitiveKeybinding.mac,win:g.ToggleCaseSensitiveKeybinding.win,linux:g.ToggleCaseSensitiveKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleWholeWordCommand,precondition:void 0,handler:U=>U.toggleWholeWords(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleWholeWordKeybinding.primary,mac:g.ToggleWholeWordKeybinding.mac,win:g.ToggleWholeWordKeybinding.win,linux:g.ToggleWholeWordKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleRegexCommand,precondition:void 0,handler:U=>U.toggleRegex(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleRegexKeybinding.primary,mac:g.ToggleRegexKeybinding.mac,win:g.ToggleRegexKeybinding.win,linux:g.ToggleRegexKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ToggleSearchScopeCommand,precondition:void 0,handler:U=>U.toggleSearchScope(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.ToggleSearchScopeKeybinding.primary,mac:g.ToggleSearchScopeKeybinding.mac,win:g.ToggleSearchScopeKeybinding.win,linux:g.ToggleSearchScopeKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.TogglePreserveCaseCommand,precondition:void 0,handler:U=>U.togglePreserveCase(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:g.TogglePreserveCaseKeybinding.primary,mac:g.TogglePreserveCaseKeybinding.mac,win:g.TogglePreserveCaseKeybinding.win,linux:g.TogglePreserveCaseKeybinding.linux}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:3094}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replace(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:3}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:2563}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.replaceAll(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(f.EditorContextKeys.focus,g.CONTEXT_REPLACE_INPUT_FOCUSED),primary:void 0,mac:{primary:2051}}})),(0,D.registerEditorCommand)(new W({id:g.FIND_IDS.SelectAllMatchesAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:U=>U.selectAllMatches(),kbOpts:{weight:100+5,kbExpr:f.EditorContextKeys.focus,primary:515}}))}),define(ne[366],se([1,0,25,48,40,658,31,62,23,26]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FoldingDecorationProvider=e.foldingManualExpandedIcon=e.foldingManualCollapsedIcon=e.foldingCollapsedIcon=e.foldingExpandedIcon=void 0;const C=(0,S.registerColor)("editor.foldBackground",{light:(0,S.transparent)(S.editorSelectionBackground,.3),dark:(0,S.transparent)(S.editorSelectionBackground,.3),hcDark:null,hcLight:null},(0,D.localize)(0,null),!0);(0,S.registerColor)("editorGutter.foldingControlForeground",{dark:S.iconForeground,light:S.iconForeground,hcDark:S.iconForeground,hcLight:S.iconForeground},(0,D.localize)(1,null)),e.foldingExpandedIcon=(0,f.registerIcon)("folding-expanded",L.Codicon.chevronDown,(0,D.localize)(2,null)),e.foldingCollapsedIcon=(0,f.registerIcon)("folding-collapsed",L.Codicon.chevronRight,(0,D.localize)(3,null)),e.foldingManualCollapsedIcon=(0,f.registerIcon)("folding-manual-collapsed",e.foldingCollapsedIcon,(0,D.localize)(4,null)),e.foldingManualExpandedIcon=(0,f.registerIcon)("folding-manual-expanded",e.foldingExpandedIcon,(0,D.localize)(5,null));const s={color:(0,_.themeColorFromId)(C),position:k.MinimapPosition.Inline};class i{constructor(t){this.editor=t,this.showFoldingControls="mouseover",this.showFoldingHighlights=!0}getDecorationOption(t,a,u){return a?i.HIDDEN_RANGE_DECORATION:this.showFoldingControls==="never"?t?this.showFoldingHighlights?i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION:i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION:i.NO_CONTROLS_EXPANDED_RANGE_DECORATION:t?u?this.showFoldingHighlights?i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.COLLAPSED_VISUAL_DECORATION:this.showFoldingControls==="mouseover"?u?i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION:i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:u?i.MANUALLY_EXPANDED_VISUAL_DECORATION:i.EXPANDED_VISUAL_DECORATION}changeDecorations(t){return this.editor.changeDecorations(t)}removeDecorations(t){this.editor.removeDecorations(t)}}e.FoldingDecorationProvider=i,i.COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.MANUALLY_COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0}),i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0}),i.EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.MANUALLY_EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-auto-hide-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:g.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.NO_CONTROLS_EXPANDED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,isWholeLine:!0}),i.HIDDEN_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-hidden-range-decoration",stickiness:1})}),define(ne[255],se([1,0,13,19,9,63,2,11,20,108,16,21,29,32,291,543,292,657,15,366,182,293,43,76,58,18,6,27,22,51,28,444]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.RangesLimitReporter=e.FoldingController=void 0;const x=new r.RawContextKey("foldingEnabled",!1);let T=P=class extends S.Disposable{static get(ue){return ue.getContribution(P.ID)}static getFoldingRangeProviders(ue,te){var q,z;const ee=ue.foldingRangeProvider.ordered(te);return(z=(q=P._foldingRangeSelector)===null||q===void 0?void 0:q.call(P,ee,te))!==null&&z!==void 0?z:ee}constructor(ue,te,q,z,ee,$){super(),this.contextKeyService=te,this.languageConfigurationService=q,this.languageFeaturesService=$,this.localToDispose=this._register(new S.DisposableStore),this.editor=ue,this._foldingLimitReporter=new A(ue);const re=this.editor.getOptions();this._isEnabled=re.get(42),this._useFoldingProviders=re.get(43)!=="indentation",this._unfoldOnClickAfterEndOfLine=re.get(47),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=re.get(45),this.updateDebounceInfo=ee.for($.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new c.FoldingDecorationProvider(ue),this.foldingDecorationProvider.showFoldingControls=re.get(108),this.foldingDecorationProvider.showFoldingHighlights=re.get(44),this.foldingEnabled=x.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(42)&&(this._isEnabled=this.editor.getOptions().get(42),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),oe.hasChanged(46)&&this.onModelChanged(),oe.hasChanged(108)||oe.hasChanged(44)){const ge=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=ge.get(108),this.foldingDecorationProvider.showFoldingHighlights=ge.get(44),this.triggerFoldingModelChanged()}oe.hasChanged(43)&&(this._useFoldingProviders=this.editor.getOptions().get(43)!=="indentation",this.onFoldingStrategyChanged()),oe.hasChanged(47)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(47)),oe.hasChanged(45)&&(this._foldingImportsByDefault=this.editor.getOptions().get(45))})),this.onModelChanged()}saveViewState(){const ue=this.editor.getModel();if(!ue||!this._isEnabled||ue.isTooLargeForTokenization())return{};if(this.foldingModel){const te=this.foldingModel.getMemento(),q=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:te,lineCount:ue.getLineCount(),provider:q,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(ue){const te=this.editor.getModel();if(!(!te||!this._isEnabled||te.isTooLargeForTokenization()||!this.hiddenRangeModel)&&ue&&(this._currentModelHasFoldedImports=!!ue.foldedImports,ue.collapsedRegions&&ue.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(ue.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const ue=this.editor.getModel();!this._isEnabled||!ue||ue.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new t.FoldingModel(ue,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new a.HiddenRangeModel(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(te=>this.onHiddenRangesChanges(te))),this.updateScheduler=new L.Delayer(this.updateDebounceInfo.get(ue)),this.cursorChangedScheduler=new L.RunOnceScheduler(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(te=>this.onDidChangeModelContent(te))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(te=>this.onEditorMouseDown(te))),this.localToDispose.add(this.editor.onMouseUp(te=>this.onEditorMouseUp(te))),this.localToDispose.add({dispose:()=>{var te,q;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),(te=this.updateScheduler)===null||te===void 0||te.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,(q=this.rangeProvider)===null||q===void 0||q.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var ue;(ue=this.rangeProvider)===null||ue===void 0||ue.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(ue){if(this.rangeProvider)return this.rangeProvider;const te=new u.IndentRangeProvider(ue,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=te,this._useFoldingProviders&&this.foldingModel){const q=P.getFoldingRangeProviders(this.languageFeaturesService,ue);q.length>0&&(this.rangeProvider=new d.SyntaxRangeProvider(ue,q,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,te))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(ue){var te;(te=this.hiddenRangeModel)===null||te===void 0||te.notifyChangeModelContent(ue),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const ue=this.foldingModel;if(!ue)return null;const te=new m.StopWatch,q=this.getRangeProvider(ue.textModel),z=this.foldingRegionPromise=(0,L.createCancelablePromise)(ee=>q.compute(ee));return z.then(ee=>{if(ee&&z===this.foldingRegionPromise){let $;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const ve=ee.setCollapsedAllOfType(i.FoldingRangeKind.Imports.value,!0);ve&&($=g.StableEditorScrollState.capture(this.editor),this._currentModelHasFoldedImports=ve)}const re=this.editor.getSelections(),oe=re?re.map(ve=>ve.startLineNumber):[];ue.update(ee,oe),$?.restore(this.editor);const ge=this.updateDebounceInfo.update(ue.textModel,te.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=ge)}return ue})}).then(void 0,ue=>((0,y.onUnexpectedError)(ue),null)))}onHiddenRangesChanges(ue){if(this.hiddenRangeModel&&ue.length&&!this._restoringViewState){const te=this.editor.getSelections();te&&this.hiddenRangeModel.adjustSelections(te)&&this.editor.setSelections(te)}this.editor.setHiddenAreas(ue,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const ue=this.getFoldingModel();ue&&ue.then(te=>{if(te){const q=this.editor.getSelections();if(q&&q.length>0){const z=[];for(const ee of q){const $=ee.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden($)&&z.push(...te.getAllRegionsAtLine($,re=>re.isCollapsed&&$>re.startLineNumber))}z.length&&(te.toggleCollapseState(z),this.reveal(q[0].getPosition()))}}}).then(void 0,y.onUnexpectedError)}onEditorMouseDown(ue){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!ue.target||!ue.target.range||!ue.event.leftButton&&!ue.event.middleButton)return;const te=ue.target.range;let q=!1;switch(ue.target.type){case 4:{const z=ue.target.detail,ee=ue.target.element.offsetLeft;if(z.offsetX-ee<4)return;q=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!ue.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){const z=this.editor.getModel();if(z&&te.startColumn===z.getLineMaxColumn(te.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:te.startLineNumber,iconClicked:q}}onEditorMouseUp(ue){const te=this.foldingModel;if(!te||!this.mouseDownInfo||!ue.target)return;const q=this.mouseDownInfo.lineNumber,z=this.mouseDownInfo.iconClicked,ee=ue.target.range;if(!ee||ee.startLineNumber!==q)return;if(z){if(ue.target.type!==4)return}else{const re=this.editor.getModel();if(!re||ee.startColumn!==re.getLineMaxColumn(q))return}const $=te.getRegionAtLine(q);if($&&$.startLineNumber===q){const re=$.isCollapsed;if(z||re){const oe=ue.event.altKey;let ge=[];if(oe){const ve=Le=>!Le.containedBy($)&&!$.containedBy(Le),Se=te.getRegionsInside(null,ve);for(const Le of Se)Le.isCollapsed&&ge.push(Le);ge.length===0&&(ge=Se)}else{const ve=ue.event.middleButton||ue.event.shiftKey;if(ve)for(const Se of te.getRegionsInside($))Se.isCollapsed===re&&ge.push(Se);(re||!ve||ge.length===0)&&ge.push($)}te.toggleCollapseState(ge),this.reveal({lineNumber:q,column:1})}}}reveal(ue){this.editor.revealPositionInCenterIfOutsideViewport(ue,0)}};e.FoldingController=T,T.ID="editor.contrib.folding",e.FoldingController=T=P=ke([fe(1,r.IContextKeyService),fe(2,n.ILanguageConfigurationService),fe(3,l.INotificationService),fe(4,p.ILanguageFeatureDebounceService),fe(5,v.ILanguageFeaturesService)],T);class A{constructor(ue){this.editor=ue,this._onDidChange=new b.Emitter,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(46)}update(ue,te){(ue!==this._computed||te!==this._limited)&&(this._computed=ue,this._limited=te,this._onDidChange.fire())}}e.RangesLimitReporter=A;class N extends C.EditorAction{runEditorCommand(ue,te,q){const z=ue.get(n.ILanguageConfigurationService),ee=T.get(te);if(!ee)return;const $=ee.getFoldingModel();if($)return this.reportTelemetry(ue,te),$.then(re=>{if(re){this.invoke(ee,re,te,q,z);const oe=te.getSelection();oe&&ee.reveal(oe.getStartPosition())}})}getSelectedLines(ue){const te=ue.getSelections();return te?te.map(q=>q.startLineNumber):[]}getLineNumbers(ue,te){return ue&&ue.selectionLines?ue.selectionLines.map(q=>q+1):this.getSelectedLines(te)}run(ue,te){}}function F(he){if(!_.isUndefined(he)){if(!_.isObject(he))return!1;const ue=he;if(!_.isUndefined(ue.levels)&&!_.isNumber(ue.levels)||!_.isUndefined(ue.direction)&&!_.isString(ue.direction)||!_.isUndefined(ue.selectionLines)&&(!Array.isArray(ue.selectionLines)||!ue.selectionLines.every(_.isNumber)))return!1}return!0}class O extends N{constructor(){super({id:"editor.unfold",label:h.localize(0,null),alias:"Unfold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to unfold. If not set, defaults to 1. - * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=z&&z.levels||1,$=this.getLineNumbers(z,q);z&&z.direction==="up"?(0,t.setCollapseStateLevelsUp)(te,!1,ee,$):(0,t.setCollapseStateLevelsDown)(te,!1,ee,$)}}class W extends N{constructor(){super({id:"editor.unfoldRecursively",label:h.localize(1,null),alias:"Unfold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2142),weight:100}})}invoke(ue,te,q,z){(0,t.setCollapseStateLevelsDown)(te,!1,Number.MAX_VALUE,this.getSelectedLines(q))}}class U extends N{constructor(){super({id:"editor.fold",label:h.localize(2,null),alias:"Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to fold. - * 'direction': If 'up', folds given number of levels up otherwise folds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. - If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:F,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ue,te,q,z){const ee=this.getLineNumbers(z,q),$=z&&z.levels,re=z&&z.direction;typeof $!="number"&&typeof re!="string"?(0,t.setCollapseStateUp)(te,!0,ee):re==="up"?(0,t.setCollapseStateLevelsUp)(te,!0,$||1,ee):(0,t.setCollapseStateLevelsDown)(te,!0,$||1,ee)}}class j extends N{constructor(){super({id:"editor.toggleFold",label:h.localize(3,null),alias:"Toggle Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2090),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.toggleCollapseState)(te,1,z)}}class R extends N{constructor(){super({id:"editor.foldRecursively",label:h.localize(4,null),alias:"Fold Recursively",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2140),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateLevelsDown)(te,!0,Number.MAX_VALUE,z)}}class K extends N{constructor(){super({id:"editor.foldAllBlockComments",label:h.localize(5,null),alias:"Fold All Block Comments",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2138),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Comment.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).comments;if(re&&re.blockCommentStartToken){const oe=new RegExp("^\\s*"+(0,f.escapeRegExpCharacters)(re.blockCommentStartToken));(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class G extends N{constructor(){super({id:"editor.foldAllMarkerRegions",label:h.localize(6,null),alias:"Fold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2077),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!0);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!0)}}}}class Z extends N{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:h.localize(7,null),alias:"Unfold All Regions",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2078),weight:100}})}invoke(ue,te,q,z,ee){if(te.regions.hasTypes())(0,t.setCollapseStateForType)(te,i.FoldingRangeKind.Region.value,!1);else{const $=q.getModel();if(!$)return;const re=ee.getLanguageConfiguration($.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(te,oe,!1)}}}}class J extends N{constructor(){super({id:"editor.foldAllExcept",label:h.localize(8,null),alias:"Fold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2136),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!0,z)}}class X extends N{constructor(){super({id:"editor.unfoldAllExcept",label:h.localize(9,null),alias:"Unfold All Except Selected",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2134),weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);(0,t.setCollapseStateForRest)(te,!1,z)}}class H extends N{constructor(){super({id:"editor.foldAll",label:h.localize(10,null),alias:"Fold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2069),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!0)}}class B extends N{constructor(){super({id:"editor.unfoldAll",label:h.localize(11,null),alias:"Unfold All",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2088),weight:100}})}invoke(ue,te,q){(0,t.setCollapseStateLevelsDown)(te,!1)}}class V extends N{getFoldingLevel(){return parseInt(this.id.substr(V.ID_PREFIX.length))}invoke(ue,te,q){(0,t.setCollapseStateAtLevel)(te,this.getFoldingLevel(),!0,this.getSelectedLines(q))}}V.ID_PREFIX="editor.foldLevel",V.ID=he=>V.ID_PREFIX+he;class Y extends N{constructor(){super({id:"editor.gotoParentFold",label:h.localize(12,null),alias:"Go to Parent Fold",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getParentFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ie extends N{constructor(){super({id:"editor.gotoPreviousFold",label:h.localize(13,null),alias:"Go to Previous Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getPreviousFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ae extends N{constructor(){super({id:"editor.gotoNextFold",label:h.localize(14,null),alias:"Go to Next Folding Range",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ue,te,q){const z=this.getSelectedLines(q);if(z.length>0){const ee=(0,t.getNextFoldLine)(z[0],te);ee!==null&&q.setSelection({startLineNumber:ee,startColumn:1,endLineNumber:ee,endColumn:1})}}}class ce extends N{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:h.localize(15,null),alias:"Create Folding Range from Selection",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2135),weight:100}})}invoke(ue,te,q){var z;const ee=[],$=q.getSelections();if($){for(const re of $){let oe=re.endLineNumber;re.endColumn===1&&--oe,oe>re.startLineNumber&&(ee.push({startLineNumber:re.startLineNumber,endLineNumber:oe,type:void 0,isCollapsed:!0,source:1}),q.setSelection({startLineNumber:re.startLineNumber,startColumn:1,endLineNumber:re.startLineNumber,endColumn:1}))}if(ee.length>0){ee.sort((oe,ge)=>oe.startLineNumber-ge.startLineNumber);const re=o.FoldingRegions.sanitizeAndMerge(te.regions,ee,(z=q.getModel())===null||z===void 0?void 0:z.getLineCount());te.updatePost(o.FoldingRegions.fromFoldRanges(re))}}}}class de extends N{constructor(){super({id:"editor.removeManualFoldingRanges",label:h.localize(16,null),alias:"Remove Manual Folding Ranges",precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2137),weight:100}})}invoke(ue,te,q){const z=q.getSelections();if(z){const ee=[];for(const $ of z){const{startLineNumber:re,endLineNumber:oe}=$;ee.push(oe>=re?{startLineNumber:re,endLineNumber:oe}:{endLineNumber:oe,startLineNumber:re})}te.removeManualRanges(ee),ue.triggerFoldingModelChanged()}}}(0,C.registerEditorContribution)(T.ID,T,0),(0,C.registerEditorAction)(O),(0,C.registerEditorAction)(W),(0,C.registerEditorAction)(U),(0,C.registerEditorAction)(R),(0,C.registerEditorAction)(H),(0,C.registerEditorAction)(B),(0,C.registerEditorAction)(K),(0,C.registerEditorAction)(G),(0,C.registerEditorAction)(Z),(0,C.registerEditorAction)(J),(0,C.registerEditorAction)(X),(0,C.registerEditorAction)(j),(0,C.registerEditorAction)(Y),(0,C.registerEditorAction)(ie),(0,C.registerEditorAction)(ae),(0,C.registerEditorAction)(ce),(0,C.registerEditorAction)(de);for(let he=1;he<=7;he++)(0,C.registerInstantiatedEditorAction)(new V({id:V.ID(he),label:h.localize(17,null,he),alias:`Fold Level ${he}`,precondition:x,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2048|21+he),weight:100}}));w.CommandsRegistry.registerCommand("_executeFoldingRangeProvider",function(he,...ue){return we(this,void 0,void 0,function*(){const[te]=ue;if(!(te instanceof E.URI))throw(0,y.illegalArgument)();const q=he.get(v.ILanguageFeaturesService),z=he.get(I.IModelService).getModel(te);if(!z)throw(0,y.illegalArgument)();const ee=he.get(M.IConfigurationService);if(!ee.getValue("editor.folding",{resource:te}))return[];const $=he.get(n.ILanguageConfigurationService),re=ee.getValue("editor.foldingStrategy",{resource:te}),oe={get limit(){return ee.getValue("editor.foldingMaximumRegions",{resource:te})},update:(De,ye)=>{}},ge=new u.IndentRangeProvider(z,$,oe);let ve=ge;if(re!=="indentation"){const De=T.getFoldingRangeProviders(q,z);De.length&&(ve=new d.SyntaxRangeProvider(z,De,()=>{},oe,ge))}const Se=yield ve.compute(k.CancellationToken.None),Le=[];try{if(Se)for(let De=0;DeW.hoverOrdinal-U.hoverOrdinal),this._computer=new x(this._editor,this._participants),this._hoverOperation=this._register(new C.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(W=>{if(!this._computer.anchor)return;const U=W.hasLoadingMessage?this._addLoadingMessage(W.value):W.value;this._withResult(new m(this._computer.anchor,U,W.isComplete))})),this._register(L.addStandardDisposableListener(this._widget.getDomNode(),"keydown",W=>{W.equals(9)&&this.hide()})),this._register(g.TokenizationRegistry.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}get widget(){return this._widget}maybeShowAt(N){if(this._widget.isResizing)return!0;const F=[];for(const W of this._participants)if(W.suggestHoverAnchor){const U=W.suggestHoverAnchor(N);U&&F.push(U)}const O=N.target;if(O.type===6&&F.push(new s.HoverRangeAnchor(0,O.range,N.event.posx,N.event.posy)),O.type===7){const W=this._editor.getOption(49).typicalHalfwidthCharacterWidth/2;!O.detail.isAfterLines&&typeof O.detail.horizontalDistanceToText=="number"&&O.detail.horizontalDistanceToTextU.priority-W.priority),this._startShowingOrUpdateHover(F[0],0,0,!1,N))}startShowingAtRange(N,F,O,W){this._startShowingOrUpdateHover(new s.HoverRangeAnchor(0,N,void 0,void 0),F,O,W,null)}_startShowingOrUpdateHover(N,F,O,W,U){return!this._widget.position||!this._currentResult?N?(this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):!1:this._editor.getOption(59).sticky&&U&&this._widget.isMouseGettingCloser(U.event.posx,U.event.posy)?(N&&this._startHoverOperationIfNecessary(N,F,O,W,!0),!0):N?N&&this._currentResult.anchor.equals(N)?!0:N.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(N)),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(N,F,O,W,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(N,F,O,W,U){this._computer.anchor&&this._computer.anchor.equals(N)||(this._hoverOperation.cancel(),this._computer.anchor=N,this._computer.shouldFocus=W,this._computer.source=O,this._computer.insistOnKeepingHoverVisible=U,this._hoverOperation.start(F))}_setCurrentResult(N){this._currentResult!==N&&(N&&N.messages.length===0&&(N=null),this._currentResult=N,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}containsNode(N){return N?this._widget.getDomNode().contains(N):!1}_addLoadingMessage(N){if(this._computer.anchor){for(const F of this._participants)if(F.createLoadingMessage){const O=F.createLoadingMessage(this._computer.anchor);if(O)return N.slice(0).concat([O])}}return N}_withResult(N){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!N.isComplete||this._computer.insistOnKeepingHoverVisible&&N.messages.length===0)||this._setCurrentResult(N)}_renderMessages(N,F){const{showAtPosition:O,showAtSecondaryPosition:W,highlightRange:U}=o.computeHoverRanges(this._editor,N.range,F),j=new D.DisposableStore,R=j.add(new P(this._keybindingService)),K=document.createDocumentFragment();let G=null;const Z={fragment:K,statusBar:R,setColorPicker:X=>G=X,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:X=>this._widget.setMinimumDimensions(X),hide:()=>this.hide()};for(const X of this._participants){const H=F.filter(B=>B.owner===X);H.length>0&&j.add(X.renderHoverParts(Z,H))}const J=F.some(X=>X.isBeforeContent);if(R.hasContent&&K.appendChild(R.hoverElement),K.hasChildNodes()){if(U){const X=this._editor.createDecorationsCollection();X.set([{range:U,options:o._DECORATION_OPTIONS}]),j.add((0,D.toDisposable)(()=>{X.clear()}))}this._widget.showAt(K,new b(G,O,W,this._editor.getOption(59).above,this._computer.shouldFocus,this._computer.source,J,N.initialMousePosX,N.initialMousePosY,j))}else j.dispose()}static computeHoverRanges(N,F,O){let W=1;if(N.hasModel()){const G=N._getViewModel(),Z=G.coordinatesConverter,J=Z.convertModelRangeToViewRange(F),X=new S.Position(J.startLineNumber,G.getLineMinColumn(J.startLineNumber));W=Z.convertViewPositionToModelPosition(X).column}const U=F.startLineNumber;let j=F.startColumn,R=O[0].range,K=null;for(const G of O)R=f.Range.plusRange(R,G.range),G.range.startLineNumber===U&&G.range.endLineNumber===U&&(j=Math.max(Math.min(j,G.range.startColumn),W)),G.forceShowAtRange&&(K=G.range);return{showAtPosition:K?K.getStartPosition():new S.Position(U,F.startColumn),showAtSecondaryPosition:K?K.getStartPosition():new S.Position(U,j),highlightRange:R}}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}};e.ContentHoverController=p,p._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"content-hover-highlight",className:"hoverHighlight"}),e.ContentHoverController=p=o=ke([fe(1,i.IInstantiationService),fe(2,n.IKeybindingService)],p);class m{constructor(N,F,O){this.anchor=N,this.messages=F,this.isComplete=O}filter(N){const F=this.messages.filter(O=>O.isValidForHoverAnchor(N));return F.length===this.messages.length?this:new v(this,this.anchor,F,this.isComplete)}}class v extends m{constructor(N,F,O,W){super(F,O,W),this.original=N}filter(N){return this.original.filter(N)}}class b{constructor(N,F,O,W,U,j,R,K,G,Z){this.colorPicker=N,this.showAtPosition=F,this.showAtSecondaryPosition=O,this.preferAbove=W,this.stoleFocus=U,this.source=j,this.isBeforeContent=R,this.initialMousePosX=K,this.initialMousePosY=G,this.disposables=Z,this.closestMouseDistance=void 0}}const w=30,E=10,I=6;let M=d=class extends h.ResizableContentWidget{get isColorPickerVisible(){var N;return!!(!((N=this._visibleData)===null||N===void 0)&&N.colorPicker)}get isVisibleFromKeyboard(){var N;return((N=this._visibleData)===null||N===void 0?void 0:N.source)===1}get isVisible(){var N;return(N=this._hoverVisibleKey.get())!==null&&N!==void 0?N:!1}get isFocused(){var N;return(N=this._hoverFocusedKey.get())!==null&&N!==void 0?N:!1}constructor(N,F,O,W,U){const j=N.getOption(65)+8,R=150,K=new L.Dimension(R,j);super(N,K),this._configurationService=O,this._accessibilityService=W,this._keybindingService=U,this._hover=this._register(new k.HoverWidget),this._minimumSize=K,this._hoverVisibleKey=a.EditorContextKeys.hoverVisible.bindTo(F),this._hoverFocusedKey=a.EditorContextKeys.hoverFocused.bindTo(F),L.append(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(Z=>{Z.hasChanged(49)&&this._updateFont()}));const G=this._register(L.trackFocus(this._resizableNode.domNode));this._register(G.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(G.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._layout(),this._editor.addContentWidget(this)}dispose(){var N;super.dispose(),(N=this._visibleData)===null||N===void 0||N.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return d.ID}static _applyDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.width=W,N.style.height=U}_setContentsDomNodeDimensions(N,F){const O=this._hover.contentsDomNode;return d._applyDimensions(O,N,F)}_setContainerDomNodeDimensions(N,F){const O=this._hover.containerDomNode;return d._applyDimensions(O,N,F)}_setHoverWidgetDimensions(N,F){this._setContentsDomNodeDimensions(N,F),this._setContainerDomNodeDimensions(N,F),this._layoutContentWidget()}static _applyMaxDimensions(N,F,O){const W=typeof F=="number"?`${F}px`:F,U=typeof O=="number"?`${O}px`:O;N.style.maxWidth=W,N.style.maxHeight=U}_setHoverWidgetMaxDimensions(N,F){d._applyMaxDimensions(this._hover.contentsDomNode,N,F),d._applyMaxDimensions(this._hover.containerDomNode,N,F),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof N=="number"?`${N}px`:N),this._layoutContentWidget()}_hasHorizontalScrollbar(){const N=this._hover.scrollbar.getScrollDimensions();return N.scrollWidth>N.width}_adjustContentsBottomPadding(){const N=this._hover.contentsDomNode,F=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;N.style.paddingBottom!==F&&(N.style.paddingBottom=F)}_setAdjustedHoverWidgetDimensions(N){this._setHoverWidgetMaxDimensions("none","none");const F=N.width,O=N.height;this._setHoverWidgetDimensions(F,O),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(F,O-E))}_updateResizableNodeMaxDimensions(){var N,F;const O=(N=this._findMaximumRenderingWidth())!==null&&N!==void 0?N:1/0,W=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._resizableNode.maxSize=new L.Dimension(O,W),this._setHoverWidgetMaxDimensions(O,W)}_resize(N){var F,O;d._lastDimensions=new L.Dimension(N.width,N.height),this._setAdjustedHoverWidgetDimensions(N),this._resizableNode.layout(N.height,N.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(O=(F=this._visibleData)===null||F===void 0?void 0:F.colorPicker)===null||O===void 0||O.layout()}_findAvailableSpaceVertically(){var N;const F=(N=this._visibleData)===null||N===void 0?void 0:N.showAtPosition;if(F)return this._positionPreference===1?this._availableVerticalSpaceAbove(F):this._availableVerticalSpaceBelow(F)}_findMaximumRenderingHeight(){const N=this._findAvailableSpaceVertically();if(!N)return;let F=I;return Array.from(this._hover.contentsDomNode.children).forEach(O=>{F+=O.clientHeight}),this._hasHorizontalScrollbar()&&(F+=E),Math.min(N,F)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const N=Array.from(this._hover.contentsDomNode.children).some(F=>F.scrollWidth>F.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),N}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const N=this._isHoverTextOverflowing(),F=typeof this._contentWidth>"u"?0:this._contentWidth-2;return N||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=N,this._visibleData.initialMousePosY=F,!1;const O=L.getDomNodePagePosition(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=T(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,O.left,O.top,O.width,O.height));const W=T(N,F,O.left,O.top,O.width,O.height);return W>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,W),!0)}_setHoverData(N){var F;(F=this._visibleData)===null||F===void 0||F.disposables.dispose(),this._visibleData=N,this._hoverVisibleKey.set(!!N),this._hover.containerDomNode.classList.toggle("hidden",!N)}_layout(){const{fontSize:N,lineHeight:F}=this._editor.getOption(49),O=this._hover.contentsDomNode;O.style.fontSize=`${N}px`,O.style.lineHeight=`${F/N}`,this._updateMaxDimensions()}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(F=>this._editor.applyFontInfo(F))}_updateContent(N){const F=this._hover.contentsDomNode;F.style.paddingBottom="",F.textContent="",F.appendChild(N)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const N=Math.max(this._editor.getLayoutInfo().height/4,250,d._lastDimensions.height),F=Math.max(this._editor.getLayoutInfo().width*.66,500,d._lastDimensions.width);this._setHoverWidgetMaxDimensions(F,N)}_render(N,F){this._setHoverData(F),this._updateFont(),this._updateContent(N),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var N;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(N=this._positionPreference)!==null&&N!==void 0?N:1]}:null}showAt(N,F){var O,W,U,j;if(!this._editor||!this._editor.hasModel())return;this._render(N,F);const R=L.getTotalHeight(this._hover.containerDomNode),K=F.showAtPosition;this._positionPreference=(O=this._findPositionPreference(R,K))!==null&&O!==void 0?O:1,this.onContentsChanged(),F.stoleFocus&&this._hover.containerDomNode.focus(),(W=F.colorPicker)===null||W===void 0||W.layout();const G=(0,k.getHoverAccessibleViewHint)(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(j=(U=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||U===void 0?void 0:U.getAriaLabel())!==null&&j!==void 0?j:"");G&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+G)}hide(){if(!this._visibleData)return;const N=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new L.Dimension(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),N&&this._editor.focus()}_removeConstraintsRenderNormally(){const N=this._editor.getLayoutInfo();this._resizableNode.layout(N.height,N.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(N){var F;const O=this._hover.containerDomNode,W=this._hover.contentsDomNode,U=(F=this._findMaximumRenderingHeight())!==null&&F!==void 0?F:1/0;this._setContainerDomNodeDimensions(L.getTotalWidth(O),Math.min(U,N)),this._setContentsDomNodeDimensions(L.getTotalWidth(W),Math.min(U,N-E))}setMinimumDimensions(N){this._minimumSize=new L.Dimension(Math.max(this._minimumSize.width,N.width),Math.max(this._minimumSize.height,N.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const N=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new L.Dimension(N,this._minimumSize.height)}onContentsChanged(){var N;this._removeConstraintsRenderNormally();const F=this._hover.containerDomNode;let O=L.getTotalHeight(F),W=L.getTotalWidth(F);if(this._resizableNode.layout(O,W),this._setHoverWidgetDimensions(W,O),O=L.getTotalHeight(F),W=L.getTotalWidth(F),this._contentWidth=W,this._updateMinimumWidth(),this._resizableNode.layout(O,W),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(O)),!((N=this._visibleData)===null||N===void 0)&&N.showAtPosition){const U=L.getTotalHeight(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(U,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N-F.lineHeight})}scrollDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._editor.getOption(49);this._hover.scrollbar.setScrollPosition({scrollTop:N+F.lineHeight})}scrollLeft(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N-w})}scrollRight(){const N=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:N+w})}pageUp(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N-F})}pageDown(){const N=this._hover.scrollbar.getScrollPosition().scrollTop,F=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:N+F})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};e.ContentHoverWidget=M,M.ID="editor.contrib.resizableContentHoverWidget",M._lastDimensions=new L.Dimension(0,0),e.ContentHoverWidget=M=d=ke([fe(1,u.IContextKeyService),fe(2,r.IConfigurationService),fe(3,c.IAccessibilityService),fe(4,n.IKeybindingService)],M);let P=class extends D.Disposable{get hasContent(){return this._hasContent}constructor(N){super(),this._keybindingService=N,this._hasContent=!1,this.hoverElement=l("div.hover-row.status-bar"),this.actionsElement=L.append(this.hoverElement,l("div.actions"))}addAction(N){const F=this._keybindingService.lookupKeybinding(N.commandId),O=F?F.getLabel():null;return this._hasContent=!0,this._register(k.HoverAction.render(this.actionsElement,N,O))}append(N){const F=L.append(this.actionsElement,N);return this._hasContent=!0,F}};e.EditorHoverStatusBar=P,e.EditorHoverStatusBar=P=ke([fe(0,n.IKeybindingService)],P);class x{get anchor(){return this._anchor}set anchor(N){this._anchor=N}get shouldFocus(){return this._shouldFocus}set shouldFocus(N){this._shouldFocus=N}get source(){return this._source}set source(N){this._source=N}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(N){this._insistOnKeepingHoverVisible=N}constructor(N,F){this._editor=N,this._participants=F,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(N,F){if(F.type!==1&&!F.supportsMarkerHover)return[];const O=N.getModel(),W=F.range.startLineNumber;if(W>O.getLineCount())return[];const U=O.getLineMaxColumn(W);return N.getLineDecorations(W).filter(j=>{if(j.options.isWholeLine)return!0;const R=j.range.startLineNumber===W?j.range.startColumn:1,K=j.range.endLineNumber===W?j.range.endColumn:U;if(j.options.showIfCollapsed){if(R>F.range.startColumn+1||F.range.endColumn-1>K)return!1}else if(R>F.range.startColumn||F.range.endColumn>K)return!1;return!0})}computeAsync(N){const F=this._anchor;if(!this._editor.hasModel()||!F)return t.AsyncIterableObject.EMPTY;const O=x._getLineDecorations(this._editor,F);return t.AsyncIterableObject.merge(this._participants.map(W=>W.computeAsync?W.computeAsync(F,O,N):t.AsyncIterableObject.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const N=x._getLineDecorations(this._editor,this._anchor);let F=[];for(const O of this._participants)F=F.concat(O.computeSync(this._anchor,N));return(0,y.coalesce)(F)}}function T(A,N,F,O,W,U){const j=F+W/2,R=O+U/2,K=Math.max(Math.abs(A-j)-W/2,0),G=Math.max(Math.abs(N-R)-U/2,0);return Math.sqrt(K*K+G*G)}}),define(ne[885],se([1,0,2,364,8,367,34,6,18,16,21,15,51,32,342,7,199]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u,h;Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerWidget=e.StandaloneColorPickerController=void 0;let r=u=class extends L.Disposable{constructor(m,v,b,w,E,I,M){super(),this._editor=m,this._modelService=b,this._keybindingService=w,this._instantiationService=E,this._languageFeatureService=I,this._languageConfigurationService=M,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=C.EditorContextKeys.standaloneColorPickerVisible.bindTo(v),this._standaloneColorPickerFocused=C.EditorContextKeys.standaloneColorPickerFocused.bindTo(v)}showOrFocus(){var m;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(m=this._standaloneColorPickerWidget)===null||m===void 0||m.focus():this._standaloneColorPickerWidget=new d(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var m;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(m=this._standaloneColorPickerWidget)===null||m===void 0||m.hide(),this._editor.focus()}insertColor(){var m;(m=this._standaloneColorPickerWidget)===null||m===void 0||m.updateEditor(),this.hide()}static get(m){return m.getContribution(u.ID)}};e.StandaloneColorPickerController=r,r.ID="editor.contrib.standaloneColorPickerController",e.StandaloneColorPickerController=r=u=ke([fe(1,s.IContextKeyService),fe(2,i.IModelService),fe(3,S.IKeybindingService),fe(4,y.IInstantiationService),fe(5,_.ILanguageFeaturesService),fe(6,n.ILanguageConfigurationService)],r),(0,g.registerEditorContribution)(r.ID,r,1);const c=8,o=22;let d=h=class extends L.Disposable{constructor(m,v,b,w,E,I,M,P){var x;super(),this._editor=m,this._standaloneColorPickerVisible=v,this._standaloneColorPickerFocused=b,this._modelService=E,this._keybindingService=I,this._languageFeaturesService=M,this._languageConfigurationService=P,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new f.Emitter),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=w.createInstance(k.StandaloneColorPickerParticipant,this._editor),this._position=(x=this._editor._getViewModel())===null||x===void 0?void 0:x.getPrimaryCursorState().modelState.position;const T=this._editor.getSelection(),A=T?{startLineNumber:T.startLineNumber,startColumn:T.startColumn,endLineNumber:T.endLineNumber,endColumn:T.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},N=this._register(a.trackFocus(this._body));this._register(N.onDidBlur(F=>{this.hide()})),this._register(N.onDidFocus(F=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(F=>{var O;const W=(O=F.target.element)===null||O===void 0?void 0:O.classList;W&&W.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(F=>{this._render(F.value,F.foundInEditor)})),this._start(A),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return h.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const m=this._editor.getOption(59).above;return{position:this._position,secondaryPosition:this._position,preference:m?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}_start(m){return we(this,void 0,void 0,function*(){const v=yield this._computeAsync(m);v&&this._onResult.fire(new l(v.result,v.foundInEditor))})}_computeAsync(m){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel())return null;const v={range:m,color:{red:0,green:0,blue:0,alpha:1}},b=yield this._standaloneColorPickerParticipant.createColorHover(v,new t.DefaultDocumentColorProvider(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return b?{result:b.colorHover,foundInEditor:b.foundInEditor}:null})}_render(m,v){const b=document.createDocumentFragment(),w=this._register(new D.EditorHoverStatusBar(this._keybindingService));let E;const I={fragment:b,statusBar:w,setColorPicker:W=>E=W,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=m,this._register(this._standaloneColorPickerParticipant.renderHoverParts(I,[m])),E===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(b),E.layout();const M=E.body,P=M.saturationBox.domNode.clientWidth,x=M.domNode.clientWidth-P-o-c,T=E.body.enterButton;T?.onClicked(()=>{this.updateEditor(),this.hide()});const A=E.header,N=A.pickedColorNode;N.style.width=P+c+"px";const F=A.originalColorNode;F.style.width=x+"px";const O=E.header.closeButton;O?.onClicked(()=>{this.hide()}),v&&(T&&(T.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(m.range)),this._editor.layoutContentWidget(this)}};e.StandaloneColorPickerWidget=d,d.ID="editor.contrib.standaloneColorPickerWidget",e.StandaloneColorPickerWidget=d=h=ke([fe(3,y.IInstantiationService),fe(4,i.IModelService),fe(5,S.IKeybindingService),fe(6,_.ILanguageFeaturesService),fe(7,n.ILanguageConfigurationService)],d);class l{constructor(m,v){this.value=m,this.foundInEditor=v}}}),define(ne[886],se([1,0,16,645,885,21,30,199]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowOrFocusStandaloneColorPicker=void 0;class f extends L.EditorAction2{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Show or Focus Standalone Color Picker"},precondition:void 0,menu:[{id:S.MenuId.CommandPalette}]})}runEditorCommand(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.showOrFocus()}}e.ShowOrFocusStandaloneColorPicker=f;class _ extends L.EditorAction{constructor(){super({id:"editor.action.hideColorPicker",label:(0,k.localize)(2,null),alias:"Hide the Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.hide()}}class g extends L.EditorAction{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,k.localize)(3,null),alias:"Insert Color with Standalone Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.insertColor()}}(0,L.registerEditorAction)(_),(0,L.registerEditorAction)(g),(0,S.registerAction2)(f)}),define(ne[887],se([1,0,13,9,104,16,5,24,21,40,115,674,544,449]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});let t=n=class{static get(r){return r.getContribution(n.ID)}constructor(r,c){this.editor=r,this.editorWorkerService=c,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(r,c){var o;(o=this.currentRequest)===null||o===void 0||o.cancel();const d=this.editor.getSelection(),l=this.editor.getModel();if(!l||!d)return;let p=d;if(p.startLineNumber!==p.endLineNumber)return;const m=new y.EditorState(this.editor,5),v=l.uri;return this.editorWorkerService.canNavigateValueSet(v)?(this.currentRequest=(0,L.createCancelablePromise)(b=>this.editorWorkerService.navigateValueSet(v,p,c)),this.currentRequest.then(b=>{var w;if(!b||!b.range||!b.value||!m.validate(this.editor))return;const E=S.Range.lift(b.range);let I=b.range;const M=b.value.length-(p.endColumn-p.startColumn);I={startLineNumber:I.startLineNumber,startColumn:I.startColumn,endLineNumber:I.endLineNumber,endColumn:I.startColumn+b.value.length},M>1&&(p=new f.Selection(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+M-1));const P=new i.InPlaceReplaceCommand(E,p,b.value);this.editor.pushUndoStop(),this.editor.executeCommand(r,P),this.editor.pushUndoStop(),this.decorations.set([{range:I,options:n.DECORATION}]),(w=this.decorationRemover)===null||w===void 0||w.cancel(),this.decorationRemover=(0,L.timeout)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(k.onUnexpectedError)}).catch(k.onUnexpectedError)):Promise.resolve(void 0)}};t.ID="editor.contrib.inPlaceReplaceController",t.DECORATION=g.ModelDecorationOptions.register({description:"in-place-replace",className:"valueSetReplacement"}),t=n=ke([fe(1,C.IEditorWorkerService)],t);class a extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.up",label:s.localize(0,null),alias:"Replace with Previous Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3159,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!1):Promise.resolve(void 0)}}class u extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.down",label:s.localize(1,null),alias:"Replace with Next Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3161,weight:100}})}run(r,c){const o=t.get(c);return o?o.run(this.id,!0):Promise.resolve(void 0)}}(0,D.registerEditorContribution)(t.ID,t,4),(0,D.registerEditorAction)(a),(0,D.registerEditorAction)(u)}),define(ne[256],se([1,0,7,13,25,2,11,26,5,40,8,452]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineProgressManager=void 0;const s=g.ModelDecorationOptions.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:S.noBreakWhitespace,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class i extends D.Disposable{constructor(a,u,h,r,c){super(),this.typeId=a,this.editor=u,this.range=h,this.delegate=c,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(r),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(a){this.domNode=L.$(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=a;const u=L.$("span.icon");this.domNode.append(u),u.classList.add(...f.ThemeIcon.asClassNameArray(y.Codicon.loading),"codicon-modifier-spin");const h=()=>{const r=this.editor.getOption(65);this.domNode.style.height=`${r}px`,this.domNode.style.width=`${Math.ceil(.8*r)}px`};h(),this._register(this.editor.onDidChangeConfiguration(r=>{(r.hasChanged(51)||r.hasChanged(65))&&h()})),this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,r=>{this.delegate.cancel()}))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}i.baseId="editor.widget.inlineProgressWidget";let n=class extends D.Disposable{constructor(a,u,h){super(),this.id=a,this._editor=u,this._instantiationService=h,this._showDelay=500,this._showPromise=this._register(new D.MutableDisposable),this._currentWidget=new D.MutableDisposable,this._operationIdPool=0,this._currentDecorations=u.createDecorationsCollection()}showWhile(a,u,h){return we(this,void 0,void 0,function*(){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=(0,k.disposableTimeout)(()=>{const c=_.Range.fromPositions(a);this._currentDecorations.set([{range:c,options:s}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(i,this.id,this._editor,c,u,h))},this._showDelay);try{return yield h}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}})}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};e.InlineProgressManager=n,e.InlineProgressManager=n=ke([fe(2,C.IInstantiationService)],n)}),define(ne[888],se([1,0,7,14,13,171,2,107,17,170,185,341,132,5,18,331,104,256,650,96,15,8,77,71,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.CopyPasteController=e.pasteWidgetVisibleCtx=e.changePasteTypeCommandId=void 0,e.changePasteTypeCommandId="editor.changePasteType",e.pasteWidgetVisibleCtx=new o.RawContextKey("pasteWidgetVisible",!1,(0,r.localize)(0,null));const b="application/vnd.code.copyMetadata";let w=v=class extends S.Disposable{static get(M){return M.getContribution(v.ID)}constructor(M,P,x,T,A,N,F){super(),this._bulkEditService=x,this._clipboardService=T,this._languageFeaturesService=A,this._quickInputService=N,this._progressService=F,this._editor=M;const O=M.getContainerDomNode();this._register((0,L.addDisposableListener)(O,"copy",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"cut",W=>this.handleCopy(W))),this._register((0,L.addDisposableListener)(O,"paste",W=>this.handlePaste(W),!0)),this._pasteProgressManager=this._register(new h.InlineProgressManager("pasteIntoEditor",M,P)),this._postPasteWidgetManager=this._register(P.createInstance(m.PostEditWidgetManager,"pasteIntoEditor",M,e.pasteWidgetVisibleCtx,{id:e.changePasteTypeCommandId,label:(0,r.localize)(1,null)}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(M){this._editor.focus();try{this._pasteAsActionContext={preferredId:M},document.execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(83).enabled&&!this._editor.getOption(89)}handleCopy(M){var P,x;if(!this._editor.hasTextFocus()||(_.isWeb&&this._clipboardService.writeResources([]),!M.clipboardData||!this.isPasteAsEnabled()))return;const T=this._editor.getModel(),A=this._editor.getSelections();if(!T||!A?.length)return;const N=this._editor.getOption(36);let F=A;const O=A.length===1&&A[0].isEmpty();if(O){if(!N)return;F=[new n.Range(F[0].startLineNumber,1,F[0].startLineNumber,1+T.getLineLength(F[0].startLineNumber))]}const W=(P=this._editor._getViewModel())===null||P===void 0?void 0:P.getPlainTextToCopy(A,N,_.isWindows),j={multicursorText:Array.isArray(W)?W:null,pasteOnNewLine:O,mode:null},R=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(X=>!!X.prepareDocumentPaste);if(!R.length){this.setCopyMetadata(M.clipboardData,{defaultPastePayload:j});return}const K=(0,s.toVSDataTransfer)(M.clipboardData),G=R.flatMap(X=>{var H;return(H=X.copyMimeTypes)!==null&&H!==void 0?H:[]}),Z=(0,g.generateUuid)();this.setCopyMetadata(M.clipboardData,{id:Z,providerCopyMimeTypes:G,defaultPastePayload:j});const J=(0,y.createCancelablePromise)(X=>we(this,void 0,void 0,function*(){const H=(0,k.coalesce)(yield Promise.all(R.map(B=>we(this,void 0,void 0,function*(){try{return yield B.prepareDocumentPaste(T,F,K,X)}catch(V){console.error(V);return}}))));H.reverse();for(const B of H)for(const[V,Y]of B)K.replace(V,Y);return K}));(x=this._currentCopyOperation)===null||x===void 0||x.dataTransferPromise.cancel(),this._currentCopyOperation={handle:Z,dataTransferPromise:J}}handlePaste(M){var P,x;return we(this,void 0,void 0,function*(){if(!M.clipboardData||!this._editor.hasTextFocus())return;(P=this._currentPasteOperation)===null||P===void 0||P.cancel(),this._currentPasteOperation=void 0;const T=this._editor.getModel(),A=this._editor.getSelections();if(!A?.length||!T||!this.isPasteAsEnabled())return;const N=this.fetchCopyMetadata(M),F=(0,s.toExternalVSDataTransfer)(M.clipboardData);F.delete(b);const O=[...M.clipboardData.types,...(x=N?.providerCopyMimeTypes)!==null&&x!==void 0?x:[],f.Mimes.uriList],W=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(U=>{var j;return(j=U.pasteMimeTypes)===null||j===void 0?void 0:j.some(R=>(0,D.matchesMimeType)(R,O))});W.length&&(M.preventDefault(),M.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,W,A,F,N):this.doPasteInline(W,A,F,N))})}doPasteInline(M,P,x,T){const A=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=this._editor;if(!F.hasModel())return;const O=F.getModel(),W=new u.EditorStateCancellationTokenSource(F,3,void 0,N);try{if(yield this.mergeInDataFromCopy(x,T,W.token),W.token.isCancellationRequested)return;const U=M.filter(R=>E(R,x));if(!U.length||U.length===1&&U[0].id==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}const j=yield this.getPasteEdits(U,x,O,P,W.token);if(W.token.isCancellationRequested)return;if(j.length===1&&j[0].providerId==="text"){yield this.applyDefaultPasteHandler(x,T,W.token);return}if(j.length){const R=F.getOption(83).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(P,{activeEditIndex:0,allEdits:j},R,W.token)}yield this.applyDefaultPasteHandler(x,T,W.token)}finally{W.dispose(),this._currentPasteOperation===A&&(this._currentPasteOperation=void 0)}}));this._pasteProgressManager.showWhile(P[0].getEndPosition(),(0,r.localize)(2,null),A),this._currentPasteOperation=A}showPasteAsPick(M,P,x,T,A){const N=(0,y.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){const O=this._editor;if(!O.hasModel())return;const W=O.getModel(),U=new u.EditorStateCancellationTokenSource(O,3,void 0,F);try{if(yield this.mergeInDataFromCopy(T,A,U.token),U.token.isCancellationRequested)return;let j=P.filter(Z=>E(Z,T));M&&(j=j.filter(Z=>Z.id===M));const R=yield this.getPasteEdits(j,T,W,x,U.token);if(U.token.isCancellationRequested||!R.length)return;let K;if(M)K=R.at(0);else{const Z=yield this._quickInputService.pick(R.map(J=>({label:J.label,description:J.providerId,detail:J.detail,edit:J})),{placeHolder:(0,r.localize)(3,null)});K=Z?.edit}if(!K)return;const G=(0,a.createCombinedWorkspaceEdit)(W.uri,x,K);yield this._bulkEditService.apply(G,{editor:this._editor})}finally{U.dispose(),this._currentPasteOperation===N&&(this._currentPasteOperation=void 0)}}));this._progressService.withProgress({location:10,title:(0,r.localize)(4,null)},()=>N)}setCopyMetadata(M,P){M.setData(b,JSON.stringify(P))}fetchCopyMetadata(M){var P;if(!M.clipboardData)return;const x=M.clipboardData.getData(b);if(x)try{return JSON.parse(x)}catch{return}const[T,A]=C.ClipboardEventUtils.getTextData(M.clipboardData);if(A)return{defaultPastePayload:{mode:A.mode,multicursorText:(P=A.multicursorText)!==null&&P!==void 0?P:null,pasteOnNewLine:!!A.isFromEmptySelection}}}mergeInDataFromCopy(M,P,x){var T;return we(this,void 0,void 0,function*(){if(P?.id&&((T=this._currentCopyOperation)===null||T===void 0?void 0:T.handle)===P.id){const A=yield this._currentCopyOperation.dataTransferPromise;if(x.isCancellationRequested)return;for(const[N,F]of A)M.replace(N,F)}if(!M.has(f.Mimes.uriList)){const A=yield this._clipboardService.readResources();if(x.isCancellationRequested)return;A.length&&M.append(f.Mimes.uriList,(0,D.createStringDataTransferItem)(D.UriList.create(A)))}})}getPasteEdits(M,P,x,T,A){return we(this,void 0,void 0,function*(){const N=yield(0,y.raceCancellation)(Promise.all(M.map(O=>we(this,void 0,void 0,function*(){var W;try{const U=yield(W=O.provideDocumentPasteEdits)===null||W===void 0?void 0:W.call(O,x,T,P,A);if(U)return Object.assign(Object.assign({},U),{providerId:O.id})}catch(U){console.error(U)}}))),A),F=(0,k.coalesce)(N??[]);return(0,a.sortEditsByYieldTo)(F),F})}applyDefaultPasteHandler(M,P,x){var T,A,N;return we(this,void 0,void 0,function*(){const F=(T=M.get(f.Mimes.text))!==null&&T!==void 0?T:M.get("text");if(!F)return;const O=yield F.asString();if(x.isCancellationRequested)return;const W={text:O,pasteOnNewLine:(A=P?.defaultPastePayload.pasteOnNewLine)!==null&&A!==void 0?A:!1,multicursorText:(N=P?.defaultPastePayload.multicursorText)!==null&&N!==void 0?N:null,mode:null};this._editor.trigger("keyboard","paste",W)})}};e.CopyPasteController=w,w.ID="editor.contrib.copyPasteActionController",e.CopyPasteController=w=v=ke([fe(1,d.IInstantiationService),fe(2,i.IBulkEditService),fe(3,c.IClipboardService),fe(4,t.ILanguageFeaturesService),fe(5,p.IQuickInputService),fe(6,l.IProgressService)],w);function E(I,M){var P;return!!(!((P=I.pasteMimeTypes)===null||P===void 0)&&P.some(x=>M.matches(x)))}}),define(ne[889],se([1,0,14,13,171,2,341,5,18,285,749,104,256,653,28,15,340,8,331,335]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.DropIntoEditorController=e.dropWidgetVisibleCtx=e.changeDropTypeCommandId=e.defaultProviderConfig=void 0,e.defaultProviderConfig="editor.experimental.dropIntoEditor.defaultProvider",e.changeDropTypeCommandId="editor.changeDropType",e.dropWidgetVisibleCtx=new a.RawContextKey("dropWidgetVisible",!1,(0,n.localize)(0,null));let d=o=class extends D.Disposable{static get(p){return p.getContribution(o.ID)}constructor(p,m,v,b,w){super(),this._configService=v,this._languageFeaturesService=b,this._treeViewsDragAndDropService=w,this.treeItemsTransfer=u.LocalSelectionTransfer.getInstance(),this._dropProgressManager=this._register(m.createInstance(i.InlineProgressManager,"dropIntoEditor",p)),this._postDropWidgetManager=this._register(m.createInstance(c.PostEditWidgetManager,"dropIntoEditor",p,e.dropWidgetVisibleCtx,{id:e.changeDropTypeCommandId,label:(0,n.localize)(1,null)})),this._register(p.onDropIntoEditor(E=>this.onDropIntoEditor(p,E.position,E.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}onDropIntoEditor(p,m,v){var b;return we(this,void 0,void 0,function*(){if(!v.dataTransfer||!p.hasModel())return;(b=this._currentOperation)===null||b===void 0||b.cancel(),p.focus(),p.setPosition(m);const w=(0,k.createCancelablePromise)(E=>we(this,void 0,void 0,function*(){const I=new s.EditorStateCancellationTokenSource(p,1,void 0,E);try{const M=yield this.extractDataTransferData(v);if(M.size===0||I.token.isCancellationRequested)return;const P=p.getModel();if(!P)return;const x=this._languageFeaturesService.documentOnDropEditProvider.ordered(P).filter(A=>A.dropMimeTypes?A.dropMimeTypes.some(N=>M.matches(N)):!0),T=yield this.getDropEdits(x,P,m,M,I);if(I.token.isCancellationRequested)return;if(T.length){const A=this.getInitialActiveEditIndex(P,T),N=p.getOption(35).showDropSelector==="afterDrop";yield this._postDropWidgetManager.applyEditAndShowIfNeeded([f.Range.fromPositions(m)],{activeEditIndex:A,allEdits:T},N,E)}}finally{I.dispose(),this._currentOperation===w&&(this._currentOperation=void 0)}}));this._dropProgressManager.showWhile(m,(0,n.localize)(2,null),w),this._currentOperation=w})}getDropEdits(p,m,v,b,w){return we(this,void 0,void 0,function*(){const E=yield(0,k.raceCancellation)(Promise.all(p.map(M=>we(this,void 0,void 0,function*(){try{const P=yield M.provideDocumentOnDropEdits(m,v,b,w.token);if(P)return Object.assign(Object.assign({},P),{providerId:M.id})}catch(P){console.error(P)}}))),w.token),I=(0,L.coalesce)(E??[]);return(0,r.sortEditsByYieldTo)(I)})}getInitialActiveEditIndex(p,m){const v=this._configService.getValue(e.defaultProviderConfig,{resource:p.uri});for(const[b,w]of Object.entries(v)){const E=m.findIndex(I=>w===I.providerId&&I.handledMimeType&&(0,y.matchesMimeType)(b,[I.handledMimeType]));if(E>=0)return E}return 0}extractDataTransferData(p){return we(this,void 0,void 0,function*(){if(!p.dataTransfer)return new y.VSDataTransfer;const m=(0,S.toExternalVSDataTransfer)(p.dataTransfer);if(this.treeItemsTransfer.hasData(g.DraggedTreeItemsIdentifier.prototype)){const v=this.treeItemsTransfer.getData(g.DraggedTreeItemsIdentifier.prototype);if(Array.isArray(v))for(const b of v){const w=yield this._treeViewsDragAndDropService.removeDragOperationTransfer(b.identifier);if(w)for(const[E,I]of w)m.replace(E,I)}}return m})}};e.DropIntoEditorController=d,d.ID="editor.contrib.dropIntoEditorController",e.DropIntoEditorController=d=o=ke([fe(1,h.IInstantiationService),fe(2,t.IConfigurationService),fe(3,_.ILanguageFeaturesService),fe(4,C.ITreeViewsDnDService)],d)}),define(ne[890],se([1,0,14,13,19,38,9,6,2,11,22,16,33,12,5,21,40,32,684,15,18,31,76,58,453]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.editorLinkedEditingBackground=e.LinkedEditingAction=e.LinkedEditingContribution=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=new c.RawContextKey("LinkedEditingInputVisible",!1);const v="linked-editing-decoration";let b=m=class extends _.Disposable{static get(P){return P.getContribution(m.ID)}constructor(P,x,T,A,N){super(),this.languageConfigurationService=A,this._syncRangesToken=0,this._localToDispose=this._register(new _.DisposableStore),this._editor=P,this._providers=T.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE.bindTo(x),this._debounceInformation=N.for(this._providers,"Linked Editing",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new _.DisposableStore),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(F=>{(F.hasChanged(68)||F.hasChanged(91))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(P){const x=this._editor.getModel(),T=x!==null&&(this._editor.getOption(68)||this._editor.getOption(91))&&this._providers.has(x);if(T===this._enabled&&!P||(this._enabled=T,this.clearRanges(),this._localToDispose.clear(),!T||x===null))return;this._localToDispose.add(f.Event.runAndSubscribe(x.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(x.getLanguageId()).getWordDefinition()}));const A=new k.Delayer(this._debounceInformation.get(x)),N=()=>{var W;this._rangeUpdateTriggerPromise=A.trigger(()=>this.updateRanges(),(W=this._debounceDuration)!==null&&W!==void 0?W:this._debounceInformation.get(x))},F=new k.Delayer(0),O=W=>{this._rangeSyncTriggerPromise=F.trigger(()=>this._syncRanges(W))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{N()})),this._localToDispose.add(this._editor.onDidChangeModelContent(W=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const U=this._currentDecorations.getRange(0);if(U&&W.changes.every(j=>U.intersectRanges(j.range))){O(this._syncRangesToken);return}}N()})),this._localToDispose.add({dispose:()=>{A.dispose(),F.dispose()}}),this.updateRanges()}_syncRanges(P){if(!this._editor.hasModel()||P!==this._syncRangesToken||this._currentDecorations.length===0)return;const x=this._editor.getModel(),T=this._currentDecorations.getRange(0);if(!T||T.startLineNumber!==T.endLineNumber)return this.clearRanges();const A=x.getValueInRange(T);if(this._currentWordPattern){const F=A.match(this._currentWordPattern);if((F?F[0].length:0)!==A.length)return this.clearRanges()}const N=[];for(let F=1,O=this._currentDecorations.length;F1){this.clearRanges();return}const T=this._editor.getModel(),A=T.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===A){if(x.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){const F=this._currentDecorations.getRange(0);if(F&&F.containsPosition(x))return}}this.clearRanges(),this._currentRequestPosition=x,this._currentRequestModelVersion=A;const N=(0,k.createCancelablePromise)(F=>we(this,void 0,void 0,function*(){try{const O=new p.StopWatch(!1),W=yield I(this._providers,T,x,F);if(this._debounceInformation.update(T,O.elapsed()),N!==this._currentRequest||(this._currentRequest=null,A!==T.getVersionId()))return;let U=[];W?.ranges&&(U=W.ranges),this._currentWordPattern=W?.wordPattern||this._languageWordPattern;let j=!1;for(let K=0,G=U.length;K({range:K,options:m.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(R),this._syncRangesToken++}catch(O){(0,S.isCancellationError)(O)||(0,S.onUnexpectedError)(O),(this._currentRequest===N||!this._currentRequest)&&this.clearRanges()}}));return this._currentRequest=N,N})}};e.LinkedEditingContribution=b,b.ID="editor.contrib.linkedEditing",b.DECORATION=u.ModelDecorationOptions.register({description:"linked-editing",stickiness:0,className:v}),e.LinkedEditingContribution=b=m=ke([fe(1,c.IContextKeyService),fe(2,o.ILanguageFeaturesService),fe(3,h.ILanguageConfigurationService),fe(4,l.ILanguageFeatureDebounceService)],b);class w extends s.EditorAction{constructor(){super({id:"editor.action.linkedEditing",label:r.localize(0,null),alias:"Start Linked Editing",precondition:c.ContextKeyExpr.and(a.EditorContextKeys.writable,a.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,primary:3132,weight:100}})}runCommand(P,x){const T=P.get(i.ICodeEditorService),[A,N]=Array.isArray(x)&&x||[void 0,void 0];return C.URI.isUri(A)&&n.Position.isIPosition(N)?T.openCodeEditor({resource:A},T.getActiveCodeEditor()).then(F=>{F&&(F.setPosition(N),F.invokeWithinContext(O=>(this.reportTelemetry(O,F),this.run(O,F))))},S.onUnexpectedError):super.runCommand(P,x)}run(P,x){const T=b.get(x);return T?Promise.resolve(T.updateRanges(!0)):Promise.resolve()}}e.LinkedEditingAction=w;const E=s.EditorCommand.bindToContribution(b.get);(0,s.registerEditorCommand)(new E({id:"cancelLinkedEditingInput",precondition:e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE,handler:M=>M.clearRanges(),kbOpts:{kbExpr:a.EditorContextKeys.editorTextFocus,weight:100+99,primary:9,secondary:[1033]}}));function I(M,P,x,T){const A=M.ordered(P);return(0,k.first)(A.map(N=>()=>we(this,void 0,void 0,function*(){try{return yield N.provideLinkedEditingRanges(P,x,T)}catch(F){(0,S.onUnexpectedExternalError)(F);return}})),N=>!!N&&L.isNonEmptyArray(N?.ranges))}e.editorLinkedEditingBackground=(0,d.registerColor)("editor.linkedEditingBackground",{dark:D.Color.fromHex("#f00").transparent(.3),light:D.Color.fromHex("#f00").transparent(.3),hcDark:D.Color.fromHex("#f00").transparent(.3),hcLight:D.Color.white},r.localize(1,null)),(0,s.registerModelAndPositionCommand)("_executeLinkedEditingProvider",(M,P,x)=>{const{linkedEditingRangeProvider:T}=M.get(o.ILanguageFeaturesService);return I(T,P,x,y.CancellationToken.None)}),(0,s.registerEditorContribution)(b.ID,b,1),(0,s.registerEditorAction)(w)}),define(ne[891],se([1,0,13,19,9,55,2,54,17,45,58,22,16,40,76,18,186,751,685,43,56,454]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.LinkDetector=void 0;let l=d=class extends S.Disposable{static get(E){return E.getContribution(d.ID)}constructor(E,I,M,P,x){super(),this.editor=E,this.openerService=I,this.notificationService=M,this.languageFeaturesService=P,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=x.for(this.providers,"Links",{min:1e3,max:4e3}),this.computeLinks=this._register(new L.RunOnceScheduler(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const T=this._register(new u.ClickLinkGesture(E));this._register(T.onMouseMoveOrRelevantKeyDown(([A,N])=>{this._onEditorMouseMove(A,N)})),this._register(T.onExecute(A=>{this.onEditorMouseUp(A)})),this._register(T.onCancel(A=>{this.cleanUpActiveLinkDecoration()})),this._register(E.onDidChangeConfiguration(A=>{A.hasChanged(69)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(E.onDidChangeModelContent(A=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(E.onDidChangeModel(A=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(E.onDidChangeModelLanguage(A=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(A=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}computeLinksNow(){return we(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.editor.getOption(69))return;const E=this.editor.getModel();if(this.providers.has(E)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,L.createCancelablePromise)(I=>(0,h.getLinks)(this.providers,E,I));try{const I=new C.StopWatch(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(E,I.elapsed()),E.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(I){(0,y.onUnexpectedError)(I)}finally{this.computePromise=null}}})}updateDecorations(E){const I=this.editor.getOption(76)==="altKey",M=[],P=Object.keys(this.currentOccurrences);for(const T of P){const A=this.currentOccurrences[T];M.push(A.decorationId)}const x=[];if(E)for(const T of E)x.push(m.decoration(T,I));this.editor.changeDecorations(T=>{const A=T.deltaDecorations(M,x);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let N=0,F=A.length;N{P.activate(x,M),this.activeLinkDecorationId=P.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const E=this.editor.getOption(76)==="altKey";if(this.activeLinkDecorationId){const I=this.currentOccurrences[this.activeLinkDecorationId];I&&this.editor.changeDecorations(M=>{I.deactivate(M,E)}),this.activeLinkDecorationId=null}}onEditorMouseUp(E){if(!this.isEnabled(E))return;const I=this.getLinkOccurrence(E.target.position);I&&this.openLinkOccurrence(I,E.hasSideBySideModifier,!0)}openLinkOccurrence(E,I,M=!1){if(!this.openerService)return;const{link:P}=E;P.resolve(k.CancellationToken.None).then(x=>{if(typeof x=="string"&&this.editor.hasModel()){const T=this.editor.getModel().uri;if(T.scheme===f.Schemas.file&&x.startsWith(`${f.Schemas.file}:`)){const A=s.URI.parse(x);if(A.scheme===f.Schemas.file){const N=g.originalFSPath(A);let F=null;N.startsWith("/./")?F=`.${N.substr(1)}`:N.startsWith("//./")&&(F=`.${N.substr(2)}`),F&&(x=g.joinPath(T,F))}}}return this.openerService.open(x,{openToSide:I,fromUserGesture:M,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},x=>{const T=x instanceof Error?x.message:x;T==="invalid"?this.notificationService.warn(r.localize(0,null,P.url.toString())):T==="missing"?this.notificationService.warn(r.localize(1,null)):(0,y.onUnexpectedError)(x)})}getLinkOccurrence(E){if(!this.editor.hasModel()||!E)return null;const I=this.editor.getModel().getDecorationsInRange({startLineNumber:E.lineNumber,startColumn:E.column,endLineNumber:E.lineNumber,endColumn:E.column},0,!0);for(const M of I){const P=this.currentOccurrences[M.id];if(P)return P}return null}isEnabled(E,I){return!!(E.target.type===6&&(E.hasTriggerModifier||I&&I.keyCodeIsTriggerKey))}stop(){var E;this.computeLinks.cancel(),this.activeLinksList&&((E=this.activeLinksList)===null||E===void 0||E.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};e.LinkDetector=l,l.ID="editor.linkDetector",e.LinkDetector=l=d=ke([fe(1,o.IOpenerService),fe(2,c.INotificationService),fe(3,a.ILanguageFeaturesService),fe(4,t.ILanguageFeatureDebounceService)],l);const p={general:n.ModelDecorationOptions.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:n.ModelDecorationOptions.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class m{static decoration(E,I){return{range:E.range,options:m._getOptions(E,I,!1)}}static _getOptions(E,I,M){const P=Object.assign({},M?p.active:p.general);return P.hoverMessage=v(E,I),P}constructor(E,I){this.link=E,this.decorationId=I}activate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!0))}deactivate(E,I){E.changeDecorationOptions(this.decorationId,m._getOptions(this.link,I,!1))}}function v(w,E){const I=w.url&&/^command:/i.test(w.url.toString()),M=w.tooltip?w.tooltip:I?r.localize(2,null):r.localize(3,null),P=E?_.isMacintosh?r.localize(4,null):r.localize(5,null):_.isMacintosh?r.localize(6,null):r.localize(7,null);if(w.url){let x="";if(/^command:/i.test(w.url.toString())){const A=w.url.toString().match(/^command:([^?#]+)/);if(A){const N=A[1];x=r.localize(8,null,N)}}return new D.MarkdownString("",!0).appendLink(w.url.toString(!0).replace(/ /g,"%20"),M,x).appendMarkdown(` (${P})`)}else return new D.MarkdownString().appendText(`${M} (${P})`)}class b extends i.EditorAction{constructor(){super({id:"editor.action.openLink",label:r.localize(9,null),alias:"Open Link",precondition:void 0})}run(E,I){const M=l.get(I);if(!M||!I.hasModel())return;const P=I.getSelections();for(const x of P){const T=M.getLinkOccurrence(x.getEndPosition());T&&M.openLinkOccurrence(T,!1)}}}(0,i.registerEditorContribution)(l.ID,l,1),(0,i.registerEditorAction)(b)}),define(ne[892],se([1,0,2,18,188,13,255,293,292,32,9,299,46]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModelProvider=void 0;var n;(function(d){d.OUTLINE_MODEL="outlineModel",d.FOLDING_PROVIDER_MODEL="foldingProviderModel",d.INDENTATION_MODEL="indentationModel"})(n||(n={}));var t;(function(d){d[d.VALID=0]="VALID",d[d.INVALID=1]="INVALID",d[d.CANCELED=2]="CANCELED"})(t||(t={}));let a=class extends L.Disposable{constructor(l,p,m,v){super(),this._editor=l,this._languageConfigurationService=p,this._languageFeaturesService=m,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new D.Delayer(300)),this._updateOperation=this._register(new L.DisposableStore);const b=new h(m),w=new o(this._editor,m),E=new c(this._editor,p);switch(v){case n.OUTLINE_MODEL:this._modelProviders.push(b),this._modelProviders.push(w),this._modelProviders.push(E);break;case n.FOLDING_PROVIDER_MODEL:this._modelProviders.push(w),this._modelProviders.push(E);break;case n.INDENTATION_MODEL:this._modelProviders.push(E);break}}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}update(l,p,m){return we(this,void 0,void 0,function*(){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),yield this._updateScheduler.trigger(()=>we(this,void 0,void 0,function*(){for(const v of this._modelProviders){const{statusPromise:b,modelPromise:w}=v.computeStickyModel(l,p,m);this._modelPromise=w;const E=yield b;if(this._modelPromise!==w)return null;switch(E){case t.CANCELED:return this._updateOperation.clear(),null;case t.VALID:return v.stickyModel}}return null})).catch(v=>((0,C.onUnexpectedError)(v),null))})}};e.StickyModelProvider=a,e.StickyModelProvider=a=ke([fe(1,g.ILanguageConfigurationService),fe(2,k.ILanguageFeaturesService)],a);class u{constructor(){this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,t.INVALID}computeStickyModel(l,p,m){if(m.isCancellationRequested||!this.isProviderValid(l))return{statusPromise:this._invalid(),modelPromise:null};const v=(0,D.createCancelablePromise)(b=>this.createModelFromProvider(l,p,b));return{statusPromise:v.then(b=>this.isModelValid(b)?m.isCancellationRequested?t.CANCELED:(this._stickyModel=this.createStickyModel(l,p,m,b),t.VALID):this._invalid()).then(void 0,b=>((0,C.onUnexpectedError)(b),t.CANCELED)),modelPromise:v}}isModelValid(l){return!0}isProviderValid(l){return!0}}let h=class extends u{constructor(l){super(),this._languageFeaturesService=l}createModelFromProvider(l,p,m){return y.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,l,m)}createStickyModel(l,p,m,v){var b;const{stickyOutlineElement:w,providerID:E}=this._stickyModelFromOutlineModel(v,(b=this._stickyModel)===null||b===void 0?void 0:b.outlineProviderId);return new s.StickyModel(l.uri,p,w,E)}isModelValid(l){return l&&l.children.size>0}_stickyModelFromOutlineModel(l,p){let m;if(i.Iterable.first(l.children.values())instanceof y.OutlineGroup){const E=i.Iterable.find(l.children.values(),I=>I.id===p);if(E)m=E.children;else{let I="",M=-1,P;for(const[x,T]of l.children.entries()){const A=this._findSumOfRangesOfGroup(T);A>M&&(P=T,M=A,I=T.id)}p=I,m=P.children}}else m=l.children;const v=[],b=Array.from(m.values()).sort((E,I)=>{const M=new s.StickyRange(E.symbol.range.startLineNumber,E.symbol.range.endLineNumber),P=new s.StickyRange(I.symbol.range.startLineNumber,I.symbol.range.endLineNumber);return this._comparator(M,P)});for(const E of b)v.push(this._stickyModelFromOutlineElement(E,E.symbol.selectionRange.startLineNumber));return{stickyOutlineElement:new s.StickyElement(void 0,v,void 0),providerID:p}}_stickyModelFromOutlineElement(l,p){const m=[];for(const b of l.children.values())if(b.symbol.selectionRange.startLineNumber!==b.symbol.range.endLineNumber)if(b.symbol.selectionRange.startLineNumber!==p)m.push(this._stickyModelFromOutlineElement(b,b.symbol.selectionRange.startLineNumber));else for(const w of b.children.values())m.push(this._stickyModelFromOutlineElement(w,b.symbol.selectionRange.startLineNumber));m.sort((b,w)=>this._comparator(b.range,w.range));const v=new s.StickyRange(l.symbol.selectionRange.startLineNumber,l.symbol.range.endLineNumber);return new s.StickyElement(v,m,void 0)}_comparator(l,p){return l.startLineNumber!==p.startLineNumber?l.startLineNumber-p.startLineNumber:p.endLineNumber-l.endLineNumber}_findSumOfRangesOfGroup(l){let p=0;for(const m of l.children.values())p+=this._findSumOfRangesOfGroup(m);return l instanceof y.OutlineElement?p+l.symbol.range.endLineNumber-l.symbol.selectionRange.startLineNumber:p}};h=ke([fe(0,k.ILanguageFeaturesService)],h);class r extends u{constructor(l){super(),this._foldingLimitReporter=new S.RangesLimitReporter(l)}createStickyModel(l,p,m,v){const b=this._fromFoldingRegions(v);return new s.StickyModel(l.uri,p,b,void 0)}isModelValid(l){return l!==null}_fromFoldingRegions(l){const p=l.length,m=[],v=new s.StickyElement(void 0,[],void 0);for(let b=0;b0}createModelFromProvider(l,p,m){const v=S.FoldingController.getFoldingRangeProviders(this._languageFeaturesService,l);return new f.SyntaxRangeProvider(l,v,()=>this.createModelFromProvider(l,p,m),this._foldingLimitReporter,void 0).compute(m)}};o=ke([fe(1,k.ILanguageFeaturesService)],o)}),define(ne[893],se([1,0,2,18,19,13,14,6,32,892]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyLineCandidateProvider=e.StickyLineCandidate=void 0;class C{constructor(n,t,a){this.startLineNumber=n,this.endLineNumber=t,this.nestingDepth=a}}e.StickyLineCandidate=C;let s=class extends L.Disposable{constructor(n,t,a){super(),this._languageFeaturesService=t,this._languageConfigurationService=a,this._onDidChangeStickyScroll=this._register(new f.Emitter),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._options=null,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=n,this._sessionStore=this._register(new L.DisposableStore),this._updateSoon=this._register(new D.RunOnceScheduler(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(113)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._stickyModelProvider=null,this._sessionStore.clear(),this._options=this._editor.getOption(113),this._options.enabled&&(this._stickyModelProvider=this._sessionStore.add(new g.StickyModelProvider(this._editor,this._languageConfigurationService,this._languageFeaturesService,this._options.defaultModel)),this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this.update())}getVersionId(){var n;return(n=this._model)===null||n===void 0?void 0:n.version}update(){var n;return we(this,void 0,void 0,function*(){(n=this._cts)===null||n===void 0||n.dispose(!0),this._cts=new y.CancellationTokenSource,yield this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()})}updateStickyModel(n){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._stickyModelProvider){this._model=null;return}const t=this._editor.getModel(),a=t.getVersionId(),u=yield this._stickyModelProvider.update(t,a,n);n.isCancellationRequested||(this._model=u)})}updateIndex(n){return n===-1?n=0:n<0&&(n=-n-2),n}getCandidateStickyLinesIntersectingFromStickyModel(n,t,a,u,h){if(t.children.length===0)return;let r=h;const c=[];for(let l=0;ll-p)),d=this.updateIndex((0,S.binarySearch)(c,n.startLineNumber+u,(l,p)=>l-p));for(let l=o;l<=d;l++){const p=t.children[l];if(!p)return;if(p.range){const m=p.range.startLineNumber,v=p.range.endLineNumber;n.startLineNumber<=v+1&&m-1<=n.endLineNumber&&m!==r&&(r=m,a.push(new C(m,v-1,u+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u+1,m))}else this.getCandidateStickyLinesIntersectingFromStickyModel(n,p,a,u,h)}}getCandidateStickyLinesIntersecting(n){var t,a;if(!(!((t=this._model)===null||t===void 0)&&t.element))return[];let u=[];this.getCandidateStickyLinesIntersectingFromStickyModel(n,this._model.element,u,0,-1);const h=(a=this._editor._getViewModel())===null||a===void 0?void 0:a.getHiddenAreas();if(h)for(const r of h)u=u.filter(c=>!(c.startLineNumber>=r.startLineNumber&&c.endLineNumber<=r.endLineNumber+1));return u}};e.StickyLineCandidateProvider=s,e.StickyLineCandidateProvider=s=ke([fe(1,k.ILanguageFeaturesService),fe(2,_.ILanguageConfigurationService)],s)}),define(ne[894],se([1,0,7,89,2,26,251,162,12,93,127,95,255,366,291,461]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollWidget=e.StickyScrollWidgetState=void 0;class a{constructor(l,p,m,v=null){this.startLineNumbers=l,this.endLineNumbers=p,this.lastLineRelativePosition=m,this.showEndForLine=v}}e.StickyScrollWidgetState=a;const u=(0,k.createTrustedTypesPolicy)("stickyScrollViewLayer",{createHTML:d=>d}),h="data-sticky-line-index";class r extends y.Disposable{constructor(l){super(),this._editor=l,this._foldingIconStore=new y.DisposableStore,this._rootDomNode=document.createElement("div"),this._lineNumbersDomNode=document.createElement("div"),this._linesDomNodeScrollable=document.createElement("div"),this._linesDomNode=document.createElement("div"),this._lineHeight=this._editor.getOption(65),this._stickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className="sticky-widget-line-numbers",this._lineNumbersDomNode.setAttribute("role","none"),this._linesDomNode.className="sticky-widget-lines",this._linesDomNode.setAttribute("role","list"),this._linesDomNodeScrollable.className="sticky-widget-lines-scrollable",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className="sticky-widget",this._rootDomNode.classList.toggle("peek",l instanceof f.EmbeddedCodeEditorWidget),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);const p=()=>{this._linesDomNode.style.left=this._editor.getOption(113).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:"0px"};this._register(this._editor.onDidChangeConfiguration(m=>{m.hasChanged(113)&&p(),m.hasChanged(65)&&(this._lineHeight=this._editor.getOption(65))})),this._register(this._editor.onDidScrollChange(m=>{m.scrollLeftChanged&&p(),m.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{p(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),p(),this._register(this._editor.onDidLayoutChange(m=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getCurrentLines(){return this._lineNumbers}setState(l){if(this._clearStickyWidget(),!l||!this._editor._getViewModel())return;if(l.startLineNumbers.length*this._lineHeight+l.lastLineRelativePosition>0){this._lastLineRelativePosition=l.lastLineRelativePosition;const m=[...l.startLineNumbers];l.showEndForLine!==null&&(m[l.showEndForLine]=l.endLineNumbers[l.showEndForLine]),this._lineNumbers=m}else this._lastLineRelativePosition=0,this._lineNumbers=[];this._renderRootNode()}_updateWidgetWidth(){const l=this._editor.getLayoutInfo(),m=this._editor.getOption(71).side==="left"?l.contentLeft-l.minimap.minimapCanvasOuterWidth:l.contentLeft;this._lineNumbersDomNode.style.width=`${m}px`,this._linesDomNodeScrollable.style.setProperty("--vscode-editorStickyScroll-scrollableWidth",`${this._editor.getScrollWidth()-l.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${l.width-l.minimap.minimapCanvasOuterWidth-l.verticalScrollbarWidth}px`}_clearStickyWidget(){this._stickyLines=[],this._foldingIconStore.clear(),L.clearNode(this._lineNumbersDomNode),L.clearNode(this._linesDomNode),this._rootDomNode.style.display="none"}_useFoldingOpacityTransition(l){this._lineNumbersDomNode.style.setProperty("--vscode-editorStickyScroll-foldingOpacityTransition",`opacity ${l?.5:0}s`)}_setFoldingIconsVisibility(l){for(const p of this._stickyLines){const m=p.foldingIcon;m&&m.setVisible(l?!0:m.isCollapsed)}}_renderRootNode(){var l;return we(this,void 0,void 0,function*(){const p=yield(l=i.FoldingController.get(this._editor))===null||l===void 0?void 0:l.getFoldingModel(),m=this._editor.getLayoutInfo();for(const[w,E]of this._lineNumbers.entries()){const I=this._renderChildNode(w,E,m,p);this._linesDomNode.appendChild(I.lineDomNode),this._lineNumbersDomNode.appendChild(I.lineNumberDomNode),this._stickyLines.push(I)}p&&(this._setFoldingHoverListeners(),this._useFoldingOpacityTransition(!this._isOnGlyphMargin));const v=this._lineNumbers.length*this._lineHeight+this._lastLineRelativePosition;if(v===0){this._clearStickyWidget();return}this._rootDomNode.style.display="block",this._lineNumbersDomNode.style.height=`${v}px`,this._linesDomNodeScrollable.style.height=`${v}px`,this._rootDomNode.style.height=`${v}px`,this._editor.getOption(71).side==="left"?this._rootDomNode.style.marginLeft=m.minimap.minimapCanvasOuterWidth+"px":this._rootDomNode.style.marginLeft="0px",this._updateMinContentWidth(),this._editor.layoutOverlayWidget(this)})}_setFoldingHoverListeners(){this._editor.getOption(108)==="mouseover"&&(this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_ENTER,p=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(l,p,m,v){const b=this._editor._getViewModel(),w=b.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(p,1)).lineNumber,E=b.getViewLineRenderingData(w),I=this._editor.getOption(71).side,M=this._editor.getOption(66);let P;try{P=C.LineDecoration.filter(E.inlineDecorations,w,E.minColumn,E.maxColumn)}catch{P=[]}const x=new s.RenderLineInput(!0,!0,E.content,E.continuesWithWrappedLine,E.isBasicASCII,E.containsRTL,0,E.tokens,P,E.tabSize,E.startVisibleColumn,1,1,1,500,"none",!0,!0,null),T=new g.StringBuilder(2e3),A=(0,s.renderViewLine)(x,T);let N;u?N=u.createHTML(T.build()):N=T.build();const F=document.createElement("span");F.className="sticky-line-content",F.classList.add(`stickyLine${p}`),F.style.lineHeight=`${this._lineHeight}px`,F.innerHTML=N;const O=document.createElement("span");O.className="sticky-line-number",O.style.lineHeight=`${this._lineHeight}px`;const W=I==="left"?m.contentLeft-m.minimap.minimapCanvasOuterWidth:m.contentLeft;O.style.width=`${W}px`;const U=document.createElement("span");M.renderType===1||M.renderType===3&&p%10===0?U.innerText=p.toString():M.renderType===2&&(U.innerText=Math.abs(p-this._editor.getPosition().lineNumber).toString()),U.className="sticky-line-number-inner",U.style.lineHeight=`${this._lineHeight}px`,U.style.width=`${m.lineNumbersWidth}px`,U.style.float="left",I==="left"?U.style.paddingLeft=`${m.lineNumbersLeft-m.minimap.minimapCanvasOuterWidth}px`:I==="right"&&(U.style.paddingLeft=`${m.lineNumbersLeft}px`),O.appendChild(U);const j=this._renderFoldingIconForLine(O,v,l,p);this._editor.applyFontInfo(F),this._editor.applyFontInfo(U),F.setAttribute("role","listitem"),F.setAttribute(h,String(l)),F.tabIndex=0,O.style.lineHeight=`${this._lineHeight}px`,F.style.lineHeight=`${this._lineHeight}px`,O.style.height=`${this._lineHeight}px`,F.style.height=`${this._lineHeight}px`;const R=l===this._lineNumbers.length-1,K="0",G="1";F.style.zIndex=R?K:G,O.style.zIndex=R?K:G;const Z=`${l*this._lineHeight+this._lastLineRelativePosition+(j?.isCollapsed?1:0)}px`,J=`${l*this._lineHeight}px`;return F.style.top=R?Z:J,O.style.top=R?Z:J,new c(p,F,O,j,A.characterMapping)}_renderFoldingIconForLine(l,p,m,v){const b=this._editor.getOption(108);if(!p||b==="never")return;const w=p.regions,E=w.findRange(v),I=w.getStartLineNumber(E);if(!(v===I))return;const P=w.isCollapsed(E),x=new o(P,this._lineHeight);return l.append(x.domNode),x.setVisible(this._isOnGlyphMargin?!0:P||b==="always"),this._foldingIconStore.add(L.addDisposableListener(x.domNode,L.EventType.CLICK,()=>{(0,t.toggleCollapseState)(p,Number.MAX_VALUE,[v]),x.isCollapsed=!P;const T=(P?this._editor.getTopForLineNumber(I):this._editor.getTopForLineNumber(w.getEndLineNumber(E)))-this._lineHeight*m+1;this._editor.setScrollTop(T)})),x}_updateMinContentWidth(){this._minContentWidthInPx=0;for(const l of this._stickyLines)l.lineDomNode.scrollWidth>this._minContentWidthInPx&&(this._minContentWidthInPx=l.lineDomNode.scrollWidth);this._minContentWidthInPx+=this._editor.getLayoutInfo().verticalScrollbarWidth}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:null}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(l){0<=l&&l0)return null;const p=this._getRenderedStickyLineFromChildDomNode(l);if(!p)return null;const m=(0,S.getColumnOfNodeOffset)(p.characterMapping,l,0);return new _.Position(p.lineNumber,m)}getLineNumberFromChildDomNode(l){var p,m;return(m=(p=this._getRenderedStickyLineFromChildDomNode(l))===null||p===void 0?void 0:p.lineNumber)!==null&&m!==void 0?m:null}_getRenderedStickyLineFromChildDomNode(l){const p=this.getStickyLineIndexFromChildDomNode(l);return p===null||p<0||p>=this._stickyLines.length?null:this._stickyLines[p]}getStickyLineIndexFromChildDomNode(l){for(;l&&l!==this._rootDomNode;){const p=l.getAttribute(h);if(p)return parseInt(p,10);l=l.parentElement}return null}}e.StickyScrollWidget=r;class c{constructor(l,p,m,v,b){this.lineNumber=l,this.lineDomNode=p,this.lineNumberDomNode=m,this.foldingIcon=v,this.characterMapping=b}}class o{constructor(l,p){this.isCollapsed=l,this.dimension=p,this.domNode=document.createElement("div"),this.domNode.style.width=`${p}px`,this.domNode.style.height=`${p}px`,this.domNode.className=D.ThemeIcon.asClassName(l?n.foldingCollapsedIcon:n.foldingExpandedIcon)}setVisible(l){this.domNode.style.cursor=l?"pointer":"default",this.domNode.style.opacity=l?"1":"0"}}}),define(ne[895],se([1,0,7,114,13,9,6,2,141,11,162,866,702,15,8,87,31,88,23,223,135,344,861,105,49,172,462,249]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";var v;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestContentWidget=e.SuggestWidget=e.editorSuggestWidgetSelectedBackground=void 0,(0,u.registerColor)("editorSuggestWidget.background",{dark:u.editorWidgetBackground,light:u.editorWidgetBackground,hcDark:u.editorWidgetBackground,hcLight:u.editorWidgetBackground},i.localize(0,null)),(0,u.registerColor)("editorSuggestWidget.border",{dark:u.editorWidgetBorder,light:u.editorWidgetBorder,hcDark:u.editorWidgetBorder,hcLight:u.editorWidgetBorder},i.localize(1,null));const b=(0,u.registerColor)("editorSuggestWidget.foreground",{dark:u.editorForeground,light:u.editorForeground,hcDark:u.editorForeground,hcLight:u.editorForeground},i.localize(2,null));(0,u.registerColor)("editorSuggestWidget.selectedForeground",{dark:u.quickInputListFocusForeground,light:u.quickInputListFocusForeground,hcDark:u.quickInputListFocusForeground,hcLight:u.quickInputListFocusForeground},i.localize(3,null)),(0,u.registerColor)("editorSuggestWidget.selectedIconForeground",{dark:u.quickInputListFocusIconForeground,light:u.quickInputListFocusIconForeground,hcDark:u.quickInputListFocusIconForeground,hcLight:u.quickInputListFocusIconForeground},i.localize(4,null)),e.editorSuggestWidgetSelectedBackground=(0,u.registerColor)("editorSuggestWidget.selectedBackground",{dark:u.quickInputListFocusBackground,light:u.quickInputListFocusBackground,hcDark:u.quickInputListFocusBackground,hcLight:u.quickInputListFocusBackground},i.localize(5,null)),(0,u.registerColor)("editorSuggestWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},i.localize(6,null)),(0,u.registerColor)("editorSuggestWidget.focusHighlightForeground",{dark:u.listFocusHighlightForeground,light:u.listFocusHighlightForeground,hcDark:u.listFocusHighlightForeground,hcLight:u.listFocusHighlightForeground},i.localize(7,null)),(0,u.registerColor)("editorSuggestWidgetStatus.foreground",{dark:(0,u.transparent)(b,.5),light:(0,u.transparent)(b,.5),hcDark:(0,u.transparent)(b,.5),hcLight:(0,u.transparent)(b,.5)},i.localize(8,null));class w{constructor(P,x){this._service=P,this._key=`suggestWidget.size/${x.getEditorType()}/${x instanceof C.EmbeddedCodeEditorWidget}`}restore(){var P;const x=(P=this._service.get(this._key,0))!==null&&P!==void 0?P:"";try{const T=JSON.parse(x);if(L.Dimension.is(T))return L.Dimension.lift(T)}catch{}}store(P){this._service.store(this._key,JSON.stringify(P),0,1)}reset(){this._service.remove(this._key,0)}}let E=v=class{constructor(P,x,T,A,N){this.editor=P,this._storageService=x,this._state=0,this._isAuto=!1,this._pendingLayout=new f.MutableDisposable,this._pendingShowDetails=new f.MutableDisposable,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new y.TimeoutTimer,this._disposables=new f.DisposableStore,this._onDidSelect=new S.PauseableEmitter,this._onDidFocus=new S.PauseableEmitter,this._onDidHide=new S.Emitter,this._onDidShow=new S.Emitter,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new S.Emitter,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new c.ResizableHTMLElement,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new I(this,P),this._persistedSize=new w(x,P);class F{constructor(G,Z,J=!1,X=!1){this.persistedSize=G,this.currentSize=Z,this.persistHeight=J,this.persistWidth=X}}let O;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),O=new F(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(K=>{var G,Z,J,X;if(this._resize(K.dimension.width,K.dimension.height),O&&(O.persistHeight=O.persistHeight||!!K.north||!!K.south,O.persistWidth=O.persistWidth||!!K.east||!!K.west),!!K.done){if(O){const{itemHeight:H,defaultSize:B}=this.getLayoutInfo(),V=Math.round(H/2);let{width:Y,height:ie}=this.element.size;(!O.persistHeight||Math.abs(O.currentSize.height-ie)<=V)&&(ie=(Z=(G=O.persistedSize)===null||G===void 0?void 0:G.height)!==null&&Z!==void 0?Z:B.height),(!O.persistWidth||Math.abs(O.currentSize.width-Y)<=V)&&(Y=(X=(J=O.persistedSize)===null||J===void 0?void 0:J.width)!==null&&X!==void 0?X:B.width),this._persistedSize.store(new L.Dimension(Y,ie))}this._contentWidget.unlockPreference(),O=void 0}})),this._messageElement=L.append(this.element.domNode,L.$(".message")),this._listElement=L.append(this.element.domNode,L.$(".tree"));const W=N.createInstance(d.SuggestDetailsWidget,this.editor);W.onDidClose(this.toggleDetails,this,this._disposables),this._details=new d.SuggestDetailsOverlay(W,this.editor);const U=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(116).showIcons);U();const j=N.createInstance(l.ItemRenderer,this.editor);this._disposables.add(j),this._disposables.add(j.onDidToggleDetails(()=>this.toggleDetails())),this._list=new k.List("SuggestWidget",this._listElement,{getHeight:K=>this.getLayoutInfo().itemHeight,getTemplateId:K=>"suggestion"},[j],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>i.localize(11,null),getWidgetRole:()=>"listbox",getAriaLabel:K=>{let G=K.textLabel;if(typeof K.completion.label!="string"){const{detail:H,description:B}=K.completion.label;H&&B?G=i.localize(12,null,G,H,B):H?G=i.localize(13,null,G,H):B&&(G=i.localize(14,null,G,B))}if(!K.isResolved||!this._isDetailsVisible())return G;const{documentation:Z,detail:J}=K.completion,X=g.format("{0}{1}",J||"",Z?typeof Z=="string"?Z:Z.value:"");return i.localize(15,null,G,X)}}}),this._list.style((0,p.getListStyles)({listInactiveFocusBackground:e.editorSuggestWidgetSelectedBackground,listInactiveFocusOutline:u.activeContrastBorder})),this._status=N.createInstance(s.SuggestWidgetStatus,this.element.domNode,o.suggestWidgetStatusbarMenu);const R=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(116).showStatusBar);R(),this._disposables.add(A.onDidColorThemeChange(K=>this._onThemeChange(K))),this._onThemeChange(A.getColorTheme()),this._disposables.add(this._list.onMouseDown(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onTap(K=>this._onListMouseDownOrTap(K))),this._disposables.add(this._list.onDidChangeSelection(K=>this._onListSelection(K))),this._disposables.add(this._list.onDidChangeFocus(K=>this._onListFocus(K))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(K=>{K.hasChanged(116)&&(R(),U())})),this._ctxSuggestWidgetVisible=o.Context.Visible.bindTo(T),this._ctxSuggestWidgetDetailsVisible=o.Context.DetailsVisible.bindTo(T),this._ctxSuggestWidgetMultipleSuggestions=o.Context.MultipleSuggestions.bindTo(T),this._ctxSuggestWidgetHasFocusedSuggestion=o.Context.HasFocusedSuggestion.bindTo(T),this._disposables.add(L.addStandardDisposableListener(this._details.widget.domNode,"keydown",K=>{this._onDetailsKeydown.fire(K)})),this._disposables.add(this.editor.onMouseDown(K=>this._onEditorMouseDown(K)))}dispose(){var P;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(P){this._details.widget.domNode.contains(P.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(P.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){this._state!==0&&this._contentWidget.layout()}_onListMouseDownOrTap(P){typeof P.element>"u"||typeof P.index>"u"||(P.browserEvent.preventDefault(),P.browserEvent.stopPropagation(),this._select(P.element,P.index))}_onListSelection(P){P.elements.length&&this._select(P.elements[0],P.indexes[0])}_select(P,x){const T=this._completionModel;T&&(this._onDidSelect.fire({item:P,index:x,model:T}),this.editor.focus())}_onThemeChange(P){this._details.widget.borderWidth=(0,h.isHighContrast)(P.type)?2:1}_onListFocus(P){var x;if(this._ignoreFocusEvents)return;if(!P.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);const T=P.elements[0],A=P.indexes[0];T!==this._focusedItem&&((x=this._currentSuggestionDetails)===null||x===void 0||x.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=T,this._list.reveal(A),this._currentSuggestionDetails=(0,y.createCancelablePromise)(N=>we(this,void 0,void 0,function*(){const F=(0,y.disposableTimeout)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),O=N.onCancellationRequested(()=>F.dispose()),W=yield T.resolve(N);return F.dispose(),O.dispose(),W})),this._currentSuggestionDetails.then(()=>{A>=this._list.length||T!==this._list.element(A)||(this._ignoreFocusEvents=!0,this._list.splice(A,1,[T]),this._list.setFocus([A]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,l.getAriaId)(A)}))}).catch(D.onUnexpectedError)),this._onDidFocus.fire({item:T,index:A,model:this._completionModel})}_setState(P){if(this._state!==P)switch(this._state=P,this.element.domNode.classList.toggle("frozen",P===4),this.element.domNode.classList.remove("message"),P){case 0:L.hide(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.LOADING_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=v.NO_SUGGESTIONS_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,m.status)(v.NO_SUGGESTIONS_MESSAGE);break;case 3:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 4:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 5:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._details.show(),this._show();break}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(P,x){this._state===0&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!P,this._isAuto||(this._loadingTimeout=(0,y.disposableTimeout)(()=>this._setState(1),x)))}showSuggestions(P,x,T,A,N){var F,O;if(this._contentWidget.setPosition(this.editor.getPosition()),(F=this._loadingTimeout)===null||F===void 0||F.dispose(),(O=this._currentSuggestionDetails)===null||O===void 0||O.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==P&&(this._completionModel=P),T&&this._state!==2&&this._state!==0){this._setState(4);return}const W=this._completionModel.items.length,U=W===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(W>1),U){this._setState(A?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(T?4:3),this._list.reveal(x,0),this._list.setFocus(N?[]:[x])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(this._state!==0&&this._state!==2&&this._state!==1&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){this._state===5?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):this._state===3&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,d.canExpandCompletionItem)(this._list.getFocusedElements()[0])||this._explainMode)&&(this._state===3||this._state===5||this._state===4)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(P){this._pendingShowDetails.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingShowDetails.clear(),this._details.show(),P?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var P;this._pendingLayout.clear(),this._pendingShowDetails.clear(),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const x=this._persistedSize.restore(),T=Math.ceil(this.getLayoutInfo().itemHeight*4.3);x&&x.heightU&&(W=U);const j=this._completionModel?this._completionModel.stats.pLabelLen*F.typicalHalfwidthCharacterWidth:W,R=F.statusBarHeight+this._list.contentHeight+F.borderHeight,K=F.itemHeight+F.statusBarHeight,G=L.getDomNodePagePosition(this.editor.getDomNode()),Z=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),J=G.top+Z.top+Z.height,X=Math.min(N.height-J-F.verticalPadding,R),H=G.top+Z.top-F.verticalPadding,B=Math.min(H,R);let V=Math.min(Math.max(B,X)+F.borderHeight,R);O===((x=this._cappedHeight)===null||x===void 0?void 0:x.capped)&&(O=this._cappedHeight.wanted),OV&&(O=V);const Y=150;O>X||this._forceRenderingAbove&&H>Y?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),V=B):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),V=X),this.element.preferredSize=new L.Dimension(j,F.defaultSize.height),this.element.maxSize=new L.Dimension(U,V),this.element.minSize=new L.Dimension(220,K),this._cappedHeight=O===R?{wanted:(A=(T=this._cappedHeight)===null||T===void 0?void 0:T.wanted)!==null&&A!==void 0?A:P.height,capped:O}:void 0}this._resize(W,O)}_resize(P,x){const{width:T,height:A}=this.element.maxSize;P=Math.min(T,P),x=Math.min(A,x);const{statusBarHeight:N}=this.getLayoutInfo();this._list.layout(x-N,P),this._listElement.style.height=`${x-N}px`,this.element.layout(x,P),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var P;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,((P=this._contentWidget.getPosition())===null||P===void 0?void 0:P.preference[0])===2)}getLayoutInfo(){const P=this.editor.getOption(49),x=(0,_.clamp)(this.editor.getOption(118)||P.lineHeight,8,1e3),T=!this.editor.getOption(116).showStatusBar||this._state===2||this._state===1?0:x,A=this._details.widget.borderWidth,N=2*A;return{itemHeight:x,statusBarHeight:T,borderWidth:A,borderHeight:N,typicalHalfwidthCharacterWidth:P.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new L.Dimension(430,T+12*x+N)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(P){this._storageService.store("expandSuggestionDocs",P,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};e.SuggestWidget=E,E.LOADING_MESSAGE=i.localize(9,null),E.NO_SUGGESTIONS_MESSAGE=i.localize(10,null),e.SuggestWidget=E=v=ke([fe(1,a.IStorageService),fe(2,n.IContextKeyService),fe(3,r.IThemeService),fe(4,t.IInstantiationService)],E);class I{constructor(P,x){this._widget=P,this._editor=x,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return this._hidden||!this._position||!this._preference?null:{position:this._position,preference:[this._preference]}}beforeRender(){const{height:P,width:x}=this._widget.element.size,{borderWidth:T,horizontalPadding:A}=this._widget.getLayoutInfo();return new L.Dimension(x+2*T+A,P+2*T)}afterRender(P){this._widget._afterRender(P)}setPreference(P){this._preferenceLocked||(this._preference=P)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(P){this._position=P}}e.SuggestContentWidget=I}),define(ne[368],se([1,0,48,40,29,711,31,23,466]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectionHighlightDecorationOptions=e.getHighlightDecorationOptions=void 0;const _=(0,S.registerColor)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},D.localize(0,null),!0);(0,S.registerColor)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},D.localize(1,null),!0),(0,S.registerColor)("editor.wordHighlightTextBackground",{light:_,dark:_,hcDark:_,hcLight:_},D.localize(2,null),!0);const g=(0,S.registerColor)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(3,null));(0,S.registerColor)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(4,null)),(0,S.registerColor)("editor.wordHighlightTextBorder",{light:g,dark:g,hcDark:g,hcLight:g},D.localize(5,null));const C=(0,S.registerColor)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},D.localize(6,null),!0),s=(0,S.registerColor)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},D.localize(7,null),!0),i=(0,S.registerColor)("editorOverviewRuler.wordHighlightTextForeground",{dark:S.overviewRulerSelectionHighlightForeground,light:S.overviewRulerSelectionHighlightForeground,hcDark:S.overviewRulerSelectionHighlightForeground,hcLight:S.overviewRulerSelectionHighlightForeground},D.localize(8,null),!0),n=k.ModelDecorationOptions.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,f.themeColorFromId)(s),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),t=k.ModelDecorationOptions.register({description:"word-highlight-text",stickiness:1,className:"wordHighlightText",overviewRuler:{color:(0,f.themeColorFromId)(i),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),a=k.ModelDecorationOptions.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,f.themeColorFromId)(S.overviewRulerSelectionHighlightForeground),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),u=k.ModelDecorationOptions.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),h=k.ModelDecorationOptions.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,f.themeColorFromId)(C),position:L.OverviewRulerLane.Center},minimap:{color:(0,f.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}});function r(o){return o===y.DocumentHighlightKind.Write?n:o===y.DocumentHighlightKind.Text?t:h}e.getHighlightDecorationOptions=r;function c(o){return o?u:a}e.getSelectionHighlightDecorationOptions=c,(0,f.registerThemingParticipant)((o,d)=>{const l=o.getColor(S.editorSelectionHighlight);l&&d.addRule(`.monaco-editor .selectionHighlight { background-color: ${l.transparent(.5)}; }`)})}),define(ne[896],se([1,0,49,13,63,2,16,205,5,24,21,365,687,30,15,18,368,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.FocusPreviousCursor=e.FocusNextCursor=e.SelectionHighlighter=e.CompatChangeAll=e.SelectHighlightsAction=e.MoveSelectionToPreviousFindMatchAction=e.MoveSelectionToNextFindMatchAction=e.AddSelectionToPreviousFindMatchAction=e.AddSelectionToNextFindMatchAction=e.MultiCursorSelectionControllerAction=e.MultiCursorSelectionController=e.MultiCursorSession=e.MultiCursorSessionResult=e.InsertCursorBelow=e.InsertCursorAbove=void 0;function c(R,K){const G=K.filter(Z=>!R.find(J=>J.equals(Z)));if(G.length>=1){const Z=G.map(X=>`line ${X.viewState.position.lineNumber} column ${X.viewState.position.column}`).join(", "),J=G.length===1?i.localize(0,null,Z):i.localize(1,null,Z);(0,L.status)(J)}}class o extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAbove",label:i.localize(2,null),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(3,null),order:2}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorUp(X,H,J)),X.revealTopMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorAbove=o;class d extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorBelow",label:i.localize(4,null),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(5,null),order:3}})}run(K,G,Z){if(!G.hasModel())return;let J=!0;Z&&Z.logicalLine===!1&&(J=!1);const X=G._getViewModel();if(X.cursorConfig.readOnly)return;X.model.pushStackElement();const H=X.getCursorStates();X.setCursorStates(Z.source,3,f.CursorMoveCommands.addCursorDown(X,H,J)),X.revealBottomMostCursor(Z.source),c(H,X.getCursorStates())}}e.InsertCursorBelow=d;class l extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:i.localize(6,null),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(7,null),order:4}})}getCursorsForSelection(K,G,Z){if(!K.isEmpty()){for(let J=K.startLineNumber;J1&&Z.push(new g.Selection(K.endLineNumber,K.endColumn,K.endLineNumber,K.endColumn))}}run(K,G){if(!G.hasModel())return;const Z=G.getModel(),J=G.getSelections(),X=G._getViewModel(),H=X.getCursorStates(),B=[];J.forEach(V=>this.getCursorsForSelection(V,Z,B)),B.length>0&&G.setSelections(B),c(H,X.getCursorStates())}}class p extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToBottom",label:i.localize(8,null),alias:"Add Cursors To Bottom",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=G.getModel().getLineCount(),X=[];for(let V=Z[0].startLineNumber;V<=J;V++)X.push(new g.Selection(V,Z[0].startColumn,V,Z[0].endColumn));const H=G._getViewModel(),B=H.getCursorStates();X.length>0&&G.setSelections(X),c(B,H.getCursorStates())}}class m extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToTop",label:i.localize(9,null),alias:"Add Cursors To Top",precondition:void 0})}run(K,G){if(!G.hasModel())return;const Z=G.getSelections(),J=[];for(let B=Z[0].startLineNumber;B>=1;B--)J.push(new g.Selection(B,Z[0].startColumn,B,Z[0].endColumn));const X=G._getViewModel(),H=X.getCursorStates();J.length>0&&G.setSelections(J),c(H,X.getCursorStates())}}class v{constructor(K,G,Z){this.selections=K,this.revealRange=G,this.revealScrollType=Z}}e.MultiCursorSessionResult=v;class b{static create(K,G){if(!K.hasModel())return null;const Z=G.getState();if(!K.hasTextFocus()&&Z.isRevealed&&Z.searchString.length>0)return new b(K,G,!1,Z.searchString,Z.wholeWord,Z.matchCase,null);let J=!1,X,H;const B=K.getSelections();B.length===1&&B[0].isEmpty()?(J=!0,X=!0,H=!0):(X=Z.wholeWord,H=Z.matchCase);const V=K.getSelection();let Y,ie=null;if(V.isEmpty()){const ae=K.getConfiguredWordAtPosition(V.getStartPosition());if(!ae)return null;Y=ae.word,ie=new g.Selection(V.startLineNumber,ae.startColumn,V.startLineNumber,ae.endColumn)}else Y=K.getModel().getValueInRange(V).replace(/\r\n/g,` -`);return new b(K,G,J,Y,X,H,ie)}constructor(K,G,Z,J,X,H,B){this._editor=K,this.findController=G,this.isDisconnectedFromFindController=Z,this.searchText=J,this.wholeWord=X,this.matchCase=H,this.currentMatch=B}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const K=this._getNextMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findNextMatch(this.searchText,G.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.concat(K),K,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const K=this._getPreviousMatch();if(!K)return null;const G=this._editor.getSelections();return new v(G.slice(0,G.length-1).concat(K),K,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const J=this.currentMatch;return this.currentMatch=null,J}this.findController.highlightFindOptions();const K=this._editor.getSelections(),G=K[K.length-1],Z=this._editor.getModel().findPreviousMatch(this.searchText,G.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1);return Z?new g.Selection(Z.range.startLineNumber,Z.range.startColumn,Z.range.endLineNumber,Z.range.endColumn):null}selectAll(K){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const G=this._editor.getModel();return K?G.findMatches(this.searchText,K,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824):G.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(128):null,!1,1073741824)}}e.MultiCursorSession=b;class w extends D.Disposable{static get(K){return K.getContribution(w.ID)}constructor(K){super(),this._sessionDispose=this._register(new D.DisposableStore),this._editor=K,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(K){if(!this._session){const G=b.create(this._editor,K);if(!G)return;this._session=G;const Z={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(Z.wholeWordOverride=1,Z.matchCaseOverride=1,Z.isRegexOverride=2),K.getState().change(Z,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(J=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(K.getState().onFindReplaceStateChange(J=>{(J.matchCase||J.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const K={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(K,!1)}this._session=null}_setSelections(K){this._ignoreSelectionChange=!0,this._editor.setSelections(K),this._ignoreSelectionChange=!1}_expandEmptyToWord(K,G){if(!G.isEmpty())return G;const Z=this._editor.getConfiguredWordAtPosition(G.getStartPosition());return Z?new g.Selection(G.startLineNumber,Z.startColumn,G.startLineNumber,Z.endColumn):G}_applySessionResult(K){K&&(this._setSelections(K.selections),K.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(K.revealRange,K.revealScrollType))}getSession(K){return this._session}addSelectionToNextFindMatch(K){if(this._editor.hasModel()){if(!this._session){const G=this._editor.getSelections();if(G.length>1){const J=K.getState().matchCase;if(!O(this._editor.getModel(),G,J)){const H=this._editor.getModel(),B=[];for(let V=0,Y=G.length;V0&&Z.isRegex){const J=this._editor.getModel();Z.searchScope?G=J.findMatches(Z.searchString,Z.searchScope,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824):G=J.findMatches(Z.searchString,!0,Z.isRegex,Z.matchCase,Z.wholeWord?this._editor.getOption(128):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(K),!this._session)return;G=this._session.selectAll(Z.searchScope)}if(G.length>0){const J=this._editor.getSelection();for(let X=0,H=G.length;Xnew g.Selection(X.range.startLineNumber,X.range.startColumn,X.range.endLineNumber,X.range.endColumn)))}}}e.MultiCursorSelectionController=w,w.ID="editor.contrib.multiCursorController";class E extends S.EditorAction{run(K,G){const Z=w.get(G);if(!Z)return;const J=G._getViewModel();if(J){const X=J.getCursorStates(),H=s.CommonFindController.get(G);if(H)this._run(Z,H);else{const B=K.get(h.IInstantiationService).createInstance(s.CommonFindController,G);this._run(Z,B),B.dispose()}c(X,J.getCursorStates())}}}e.MultiCursorSelectionControllerAction=E;class I extends E{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:i.localize(10,null),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:2082,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(11,null),order:5}})}_run(K,G){K.addSelectionToNextFindMatch(G)}}e.AddSelectionToNextFindMatchAction=I;class M extends E{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:i.localize(12,null),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(13,null),order:6}})}_run(K,G){K.addSelectionToPreviousFindMatch(G)}}e.AddSelectionToPreviousFindMatchAction=M;class P extends E{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:i.localize(14,null),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:(0,y.KeyChord)(2089,2082),weight:100}})}_run(K,G){K.moveSelectionToNextFindMatch(G)}}e.MoveSelectionToNextFindMatchAction=P;class x extends E{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:i.localize(15,null),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(K,G){K.moveSelectionToPreviousFindMatch(G)}}e.MoveSelectionToPreviousFindMatchAction=x;class T extends E{constructor(){super({id:"editor.action.selectHighlights",label:i.localize(16,null),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:3114,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(17,null),order:7}})}_run(K,G){K.selectAll(G)}}e.SelectHighlightsAction=T;class A extends E{constructor(){super({id:"editor.action.changeAll",label:i.localize(18,null),alias:"Change All Occurrences",precondition:t.ContextKeyExpr.and(C.EditorContextKeys.writable,C.EditorContextKeys.editorTextFocus),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(K,G){K.selectAll(G)}}e.CompatChangeAll=A;class N{constructor(K,G,Z,J,X){this._model=K,this._searchText=G,this._matchCase=Z,this._wordSeparators=J,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,X&&this._model===X._model&&this._searchText===X._searchText&&this._matchCase===X._matchCase&&this._wordSeparators===X._wordSeparators&&this._modelVersionId===X._modelVersionId&&(this._cachedFindMatches=X._cachedFindMatches)}findMatches(){return this._cachedFindMatches===null&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(K=>K.range),this._cachedFindMatches.sort(_.Range.compareRangesUsingStarts)),this._cachedFindMatches}}let F=r=class extends D.Disposable{constructor(K,G){super(),this._languageFeaturesService=G,this.editor=K,this._isEnabled=K.getOption(106),this._decorations=K.createDecorationsCollection(),this.updateSoon=this._register(new k.RunOnceScheduler(()=>this._update(),300)),this.state=null,this._register(K.onDidChangeConfiguration(J=>{this._isEnabled=K.getOption(106)})),this._register(K.onDidChangeCursorSelection(J=>{this._isEnabled&&(J.selection.isEmpty()?J.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(K.onDidChangeModel(J=>{this._setState(null)})),this._register(K.onDidChangeModelContent(J=>{this._isEnabled&&this.updateSoon.schedule()}));const Z=s.CommonFindController.get(K);Z&&this._register(Z.getState().onFindReplaceStateChange(J=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(r._createState(this.state,this._isEnabled,this.editor))}static _createState(K,G,Z){if(!G||!Z.hasModel())return null;const J=Z.getSelection();if(J.startLineNumber!==J.endLineNumber)return null;const X=w.get(Z);if(!X)return null;const H=s.CommonFindController.get(Z);if(!H)return null;let B=X.getSession(H);if(!B){const ie=Z.getSelections();if(ie.length>1){const ce=H.getState().matchCase;if(!O(Z.getModel(),ie,ce))return null}B=b.create(Z,H)}if(!B||B.currentMatch||/^[ \t]+$/.test(B.searchText)||B.searchText.length>200)return null;const V=H.getState(),Y=V.matchCase;if(V.isRevealed){let ie=V.searchString;Y||(ie=ie.toLowerCase());let ae=B.searchText;if(Y||(ae=ae.toLowerCase()),ie===ae&&B.matchCase===V.matchCase&&B.wholeWord===V.wholeWord&&!V.isRegex)return null}return new N(Z.getModel(),B.searchText,B.matchCase,B.wholeWord?Z.getOption(128):null,K)}_setState(K){if(this.state=K,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;const G=this.editor.getModel();if(G.isTooLargeForTokenization())return;const Z=this.state.findMatches(),J=this.editor.getSelections();J.sort(_.Range.compareRangesUsingStarts);const X=[];for(let V=0,Y=0,ie=Z.length,ae=J.length;V=ae)X.push(ce),V++;else{const de=_.Range.compareRangesUsingStarts(ce,J[Y]);de<0?((J[Y].isEmpty()||!_.Range.areIntersecting(ce,J[Y]))&&X.push(ce),V++):(de>0||V++,Y++)}}const H=this._languageFeaturesService.documentHighlightProvider.has(G)&&this.editor.getOption(79),B=X.map(V=>({range:V,options:(0,u.getSelectionHighlightDecorationOptions)(H)}));this._decorations.set(B)}dispose(){this._setState(null),super.dispose()}};e.SelectionHighlighter=F,F.ID="editor.contrib.selectionHighlighter",e.SelectionHighlighter=F=r=ke([fe(1,a.ILanguageFeaturesService)],F);function O(R,K,G){const Z=W(R,K[0],!G);for(let J=1,X=K.length;J()=>Promise.resolve(N.provideDocumentHighlights(P,x,T)).then(void 0,S.onUnexpectedExternalError)),k.isNonEmptyArray)}e.getOccurrencesAtPosition=c;class o{constructor(P,x,T){this._model=P,this._selection=x,this._wordSeparators=T,this._wordRange=this._getCurrentWordRange(P,x),this._result=null}get result(){return this._result||(this._result=(0,y.createCancelablePromise)(P=>this._compute(this._model,this._selection,this._wordSeparators,P))),this._result}_getCurrentWordRange(P,x){const T=P.getWordAtPosition(x.getPosition());return T?new g.Range(x.startLineNumber,T.startColumn,x.startLineNumber,T.endColumn):null}isValid(P,x,T){const A=x.startLineNumber,N=x.startColumn,F=x.endColumn,O=this._getCurrentWordRange(P,x);let W=!!(this._wordRange&&this._wordRange.equalsRange(O));for(let U=0,j=T.length;!W&&U=F&&(W=!0)}return W}cancel(){this.result.cancel()}}class d extends o{constructor(P,x,T,A){super(P,x,T),this._providers=A}_compute(P,x,T,A){return c(this._providers,P,x.getPosition(),A).then(N=>N||[])}}class l extends o{constructor(P,x,T){super(P,x,T),this._selectionIsEmpty=x.isEmpty()}_compute(P,x,T,A){return(0,y.timeout)(250,A).then(()=>{if(!x.isEmpty())return[];const N=P.getWordAtPosition(x.getPosition());return!N||N.word.length>1e3?[]:P.findMatches(N.word,!0,!1,!0,T,!1).map(O=>({range:O.range,kind:s.DocumentHighlightKind.Text}))})}isValid(P,x,T){const A=x.isEmpty();return this._selectionIsEmpty!==A?!1:super.isValid(P,x,T)}}function p(M,P,x,T){return M.has(P)?new d(P,x,T,M):new l(P,x,T)}(0,_.registerModelAndPositionCommand)("_executeDocumentHighlights",(M,P,x)=>{const T=M.get(t.ILanguageFeaturesService);return c(T.documentHighlightProvider,P,x,D.CancellationToken.None)});class m{constructor(P,x,T,A){this.toUnhook=new f.DisposableStore,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=P,this.providers=x,this.linkedHighlighters=T,this._hasWordHighlights=r.bindTo(A),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(79),this.model=this.editor.getModel(),this.toUnhook.add(P.onDidChangeCursorPosition(N=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(N)})),this.toUnhook.add(P.onDidChangeModelContent(N=>{this._stopAll()})),this.toUnhook.add(P.onDidChangeConfiguration(N=>{const F=this.editor.getOption(79);this.occurrencesHighlight!==F&&(this.occurrencesHighlight=F,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(g.Range.compareRangesUsingStarts)}moveNext(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))+1)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){const P=this._getSortedHighlights(),T=(P.findIndex(N=>N.containsPosition(this.editor.getPosition()))-1+P.length)%P.length,A=P[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(A.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(A);const N=this._getWord();if(N){const F=this.editor.getModel().getLineContent(A.startLineNumber);(0,L.alert)(`${F}, ${T+1} of ${P.length} for '${N.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(P){if(!this.occurrencesHighlight){this._stopAll();return}if(P.reason!==3){this._stopAll();return}this._run()}_getWord(){const P=this.editor.getSelection(),x=P.startLineNumber,T=P.startColumn;return this.model.getWordAtPosition({lineNumber:x,column:T})}_run(){const P=this.editor.getSelection();if(P.startLineNumber!==P.endLineNumber){this._stopAll();return}const x=P.startColumn,T=P.endColumn,A=this._getWord();if(!A||A.startColumn>x||A.endColumn{F===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=O||[],this._beginRenderDecorations())},S.onUnexpectedError)}}_beginRenderDecorations(){const P=new Date().getTime(),x=this.lastCursorPositionChangeTime+250;P>=x?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},x-P)}renderDecorations(){this.renderDecorationsTimer=-1;const P=[];for(const x of this.workerRequestValue)x.range&&P.push({range:x.range,options:(0,a.getHighlightDecorationOptions)(x.kind)});this.decorations.set(P),this._hasWordHighlights.set(this.hasDecorations());for(const x of this.linkedHighlighters())x?.editor.getModel()===this.editor.getModel()&&(x._stopAll(),x.decorations.set(P),x._hasWordHighlights.set(x.hasDecorations()))}dispose(){this._stopAll(),this.toUnhook.dispose()}}let v=h=class extends f.Disposable{static get(P){return P.getContribution(h.ID)}constructor(P,x,T){super(),this.wordHighlighter=null,this.linkedContributions=new Set;const A=()=>{P.hasModel()&&(this.wordHighlighter=new m(P,T.documentHighlightProvider,()=>u.Iterable.map(this.linkedContributions,N=>N.wordHighlighter),x))};this._register(P.onDidChangeModel(N=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),A()})),A()}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveNext()}moveBack(){var P;(P=this.wordHighlighter)===null||P===void 0||P.moveBack()}restoreViewState(P){this.wordHighlighter&&P&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};e.WordHighlighterContribution=v,v.ID="editor.contrib.wordHighlighter",e.WordHighlighterContribution=v=h=ke([fe(1,n.IContextKeyService),fe(2,t.ILanguageFeaturesService)],v);class b extends _.EditorAction{constructor(P,x){super(x),this._isNext=P}run(P,x){const T=v.get(x);T&&(this._isNext?T.moveNext():T.moveBack())}}class w extends b{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:i.localize(0,null),alias:"Go to Next Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:65,weight:100}})}}class E extends b{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:i.localize(1,null),alias:"Go to Previous Symbol Highlight",precondition:r,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})}}class I extends _.EditorAction{constructor(){super({id:"editor.action.wordHighlight.trigger",label:i.localize(2,null),alias:"Trigger Symbol Highlight",precondition:r.toNegated(),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:0,weight:100}})}run(P,x,T){const A=v.get(x);A&&A.restoreViewState(!0)}}(0,_.registerEditorContribution)(v.ID,v,0),(0,_.registerEditorAction)(w),(0,_.registerEditorAction)(E),(0,_.registerEditorAction)(I)}),define(ne[898],se([1,0,7,130,38,164,2,47,5,40,467]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ZoneWidget=e.OverlayWidgetDelegate=void 0;const C=new y.Color(new y.RGBA(0,122,204)),s={showArrow:!0,showFrame:!0,className:"",frameColor:C,arrowColor:C,keepEditorSelection:!1},i="vs.editor.contrib.zoneWidget";class n{constructor(r,c,o,d,l,p,m,v){this.id="",this.domNode=r,this.afterLineNumber=c,this.afterColumn=o,this.heightInLines=d,this.showInHiddenAreas=m,this.ordinal=v,this._onDomNodeTop=l,this._onComputedHeight=p}onDomNodeTop(r){this._onDomNodeTop(r)}onComputedHeight(r){this._onComputedHeight(r)}}class t{constructor(r,c){this._id=r,this._domNode=c}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}e.OverlayWidgetDelegate=t;class a{constructor(r){this._editor=r,this._ruleName=a._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),L.removeCSSRulesContainingSelector(this._ruleName)}set color(r){this._color!==r&&(this._color=r,this._updateStyle())}set height(r){this._height!==r&&(this._height=r,this._updateStyle())}_updateStyle(){L.removeCSSRulesContainingSelector(this._ruleName),L.createCSSRule(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(r){r.column===1&&(r={lineNumber:r.lineNumber,column:2}),this._decorations.set([{range:_.Range.fromPositions(r),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}a._IdGenerator=new D.IdGenerator(".arrow-decoration-");class u{constructor(r,c={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new S.DisposableStore,this.container=null,this._isShowing=!1,this.editor=r,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=f.deepClone(c),f.mixin(this.options,s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(o=>{const d=this._getWidth(o);this.domNode.style.width=d+"px",this.domNode.style.left=this._getLeft(o)+"px",this._onWidth(d)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(r=>{this._viewZone&&r.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new a(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(r){r.frameColor&&(this.options.frameColor=r.frameColor),r.arrowColor&&(this.options.arrowColor=r.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const r=this.options.frameColor.toString();this.container.style.borderTopColor=r,this.container.style.borderBottomColor=r}if(this._arrow&&this.options.arrowColor){const r=this.options.arrowColor.toString();this._arrow.color=r}}_getWidth(r){return r.width-r.minimap.minimapWidth-r.verticalScrollbarWidth}_getLeft(r){return r.minimap.minimapWidth>0&&r.minimap.minimapLeft===0?r.minimap.minimapWidth:0}_onViewZoneTop(r){this.domNode.style.top=r+"px"}_onViewZoneHeight(r){var c;if(this.domNode.style.height=`${r}px`,this.container){const o=r-this._decoratingElementsHeight();this.container.style.height=`${o}px`;const d=this.editor.getLayoutInfo();this._doLayout(o,this._getWidth(d))}(c=this._resizeSash)===null||c===void 0||c.layout()}get position(){const r=this._positionMarkerId.getRange(0);if(r)return r.getStartPosition()}show(r,c){const o=_.Range.isIRange(r)?_.Range.lift(r):_.Range.fromPositions(r);this._isShowing=!0,this._showImpl(o,c),this._isShowing=!1,this._positionMarkerId.set([{range:o,options:g.ModelDecorationOptions.EMPTY}])}hide(){var r;this._viewZone&&(this.editor.changeViewZones(c=>{this._viewZone&&c.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(r=this._arrow)===null||r===void 0||r.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const r=this.editor.getOption(65);let c=0;if(this.options.showArrow){const o=Math.round(r/3);c+=2*o}if(this.options.showFrame){const o=Math.round(r/9);c+=2*o}return c}_showImpl(r,c){const o=r.getStartPosition(),d=this.editor.getLayoutInfo(),l=this._getWidth(d);this.domNode.style.width=`${l}px`,this.domNode.style.left=this._getLeft(d)+"px";const p=document.createElement("div");p.style.overflow="hidden";const m=this.editor.getOption(65);if(!this.options.allowUnlimitedHeight){const I=Math.max(12,this.editor.getLayoutInfo().height/m*.8);c=Math.min(c,I)}let v=0,b=0;if(this._arrow&&this.options.showArrow&&(v=Math.round(m/3),this._arrow.height=v,this._arrow.show(o)),this.options.showFrame&&(b=Math.round(m/9)),this.editor.changeViewZones(I=>{this._viewZone&&I.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new n(p,o.lineNumber,o.column,c,M=>this._onViewZoneTop(M),M=>this._onViewZoneHeight(M),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=I.addZone(this._viewZone),this._overlayWidget=new t(i+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const I=this.options.frameWidth?this.options.frameWidth:b;this.container.style.borderTopWidth=I+"px",this.container.style.borderBottomWidth=I+"px"}const w=c*m-this._decoratingElementsHeight();this.container&&(this.container.style.top=v+"px",this.container.style.height=w+"px",this.container.style.overflow="hidden"),this._doLayout(w,l),this.options.keepEditorSelection||this.editor.setSelection(r);const E=this.editor.getModel();if(E){const I=E.validateRange(new _.Range(r.startLineNumber,1,r.endLineNumber+1,1));this.revealRange(I,I.startLineNumber===E.getLineCount())}}revealRange(r,c){c?this.editor.revealLineNearTop(r.endLineNumber,0):this.editor.revealRange(r,0)}setCssClass(r,c){this.container&&(c&&this.container.classList.remove(c),this.container.classList.add(r))}_onWidth(r){}_doLayout(r,c){}_relayout(r){this._viewZone&&this._viewZone.heightInLines!==r&&this.editor.changeViewZones(c=>{this._viewZone&&(this._viewZone.heightInLines=r,c.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new k.Sash(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let r;this._disposables.add(this._resizeSash.onDidStart(c=>{this._viewZone&&(r={startY:c.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{r=void 0})),this._disposables.add(this._resizeSash.onDidChange(c=>{if(r){const o=(c.currentY-r.startY)/this.editor.getOption(65),d=o<0?Math.ceil(o):Math.floor(o),l=r.heightInLines+d;l>5&&l<35&&this._relayout(l)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const r=this.editor.getLayoutInfo();return r.width-r.minimap.minimapWidth}}e.ZoneWidget=u}),define(ne[138],se([1,0,7,68,39,25,26,38,6,47,16,33,162,898,690,160,15,50,8,31,458]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.peekViewEditorMatchHighlightBorder=e.peekViewEditorMatchHighlight=e.peekViewResultsMatchHighlight=e.peekViewEditorStickyScrollBackground=e.peekViewEditorGutterBackground=e.peekViewEditorBackground=e.peekViewResultsSelectionForeground=e.peekViewResultsSelectionBackground=e.peekViewResultsFileForeground=e.peekViewResultsMatchForeground=e.peekViewResultsBackground=e.peekViewBorder=e.peekViewTitleInfoForeground=e.peekViewTitleForeground=e.peekViewTitleBackground=e.PeekViewWidget=e.getOuterEditor=e.PeekContext=e.IPeekViewService=void 0,e.IPeekViewService=(0,r.createDecorator)("IPeekViewService"),(0,h.registerSingleton)(e.IPeekViewService,class{constructor(){this._widgets=new Map}addExclusiveWidget(v,b){const w=this._widgets.get(v);w&&(w.listener.dispose(),w.widget.dispose());const E=()=>{const I=this._widgets.get(v);I&&I.widget===b&&(I.listener.dispose(),this._widgets.delete(v))};this._widgets.set(v,{widget:b,listener:b.onDidClose(E)})}},1);var o;(function(v){v.inPeekEditor=new u.RawContextKey("inReferenceSearchEditor",!0,t.localize(0,null)),v.notInPeekEditor=v.inPeekEditor.toNegated()})(o||(e.PeekContext=o={}));let d=class{constructor(b,w){b instanceof i.EmbeddedCodeEditorWidget&&o.inPeekEditor.bindTo(w)}dispose(){}};d.ID="editor.contrib.referenceController",d=ke([fe(1,u.IContextKeyService)],d),(0,C.registerEditorContribution)(d.ID,d,0);function l(v){const b=v.get(s.ICodeEditorService).getFocusedCodeEditor();return b instanceof i.EmbeddedCodeEditorWidget?b.getParentEditor():b}e.getOuterEditor=l;const p={headerBackgroundColor:f.Color.white,primaryHeadingColor:f.Color.fromHex("#333333"),secondaryHeadingColor:f.Color.fromHex("#6c6c6cb3")};let m=class extends n.ZoneWidget{constructor(b,w,E){super(b,w),this.instantiationService=E,this._onDidClose=new _.Emitter,this.onDidClose=this._onDidClose.event,g.mixin(this.options,p,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(b){const w=this.options;b.headerBackgroundColor&&(w.headerBackgroundColor=b.headerBackgroundColor),b.primaryHeadingColor&&(w.primaryHeadingColor=b.primaryHeadingColor),b.secondaryHeadingColor&&(w.secondaryHeadingColor=b.secondaryHeadingColor),super.style(b)}_applyStyles(){super._applyStyles();const b=this.options;this._headElement&&b.headerBackgroundColor&&(this._headElement.style.backgroundColor=b.headerBackgroundColor.toString()),this._primaryHeading&&b.primaryHeadingColor&&(this._primaryHeading.style.color=b.primaryHeadingColor.toString()),this._secondaryHeading&&b.secondaryHeadingColor&&(this._secondaryHeading.style.color=b.secondaryHeadingColor.toString()),this._bodyElement&&b.frameColor&&(this._bodyElement.style.borderColor=b.frameColor.toString())}_fillContainer(b){this.setCssClass("peekview-widget"),this._headElement=L.$(".head"),this._bodyElement=L.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),b.appendChild(this._headElement),b.appendChild(this._bodyElement)}_fillHead(b,w){this._titleElement=L.$(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),L.addStandardDisposableListener(this._titleElement,"click",M=>this._onTitleClick(M))),L.append(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=L.$("span.filename"),this._secondaryHeading=L.$("span.dirname"),this._metaHeading=L.$("span.meta"),L.append(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const E=L.$(".peekview-actions");L.append(this._headElement,E);const I=this._getActionBarOptions();this._actionbarWidget=new k.ActionBar(E,I),this._disposables.add(this._actionbarWidget),w||this._actionbarWidget.push(new y.Action("peekview.close",t.localize(1,null),S.ThemeIcon.asClassName(D.Codicon.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(b){}_getActionBarOptions(){return{actionViewItemProvider:a.createActionViewItem.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(b){}setTitle(b,w){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=b,this._primaryHeading.setAttribute("title",b),w?this._secondaryHeading.innerText=w:L.clearNode(this._secondaryHeading))}setMetaTitle(b){this._metaHeading&&(b?(this._metaHeading.innerText=b,L.show(this._metaHeading)):L.hide(this._metaHeading))}_doLayout(b,w){if(!this._isShowing&&b<0){this.dispose();return}const E=Math.ceil(this.editor.getOption(65)*1.2),I=Math.round(b-(E+2));this._doLayoutHead(E,w),this._doLayoutBody(I,w)}_doLayoutHead(b,w){this._headElement&&(this._headElement.style.height=`${b}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(b,w){this._bodyElement&&(this._bodyElement.style.height=`${b}px`)}};e.PeekViewWidget=m,e.PeekViewWidget=m=ke([fe(2,r.IInstantiationService)],m),e.peekViewTitleBackground=(0,c.registerColor)("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(2,null)),e.peekViewTitleForeground=(0,c.registerColor)("peekViewTitleLabel.foreground",{dark:f.Color.white,light:f.Color.black,hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(3,null)),e.peekViewTitleInfoForeground=(0,c.registerColor)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},t.localize(4,null)),e.peekViewBorder=(0,c.registerColor)("peekView.border",{dark:c.editorInfoForeground,light:c.editorInfoForeground,hcDark:c.contrastBorder,hcLight:c.contrastBorder},t.localize(5,null)),e.peekViewResultsBackground=(0,c.registerColor)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(6,null)),e.peekViewResultsMatchForeground=(0,c.registerColor)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(7,null)),e.peekViewResultsFileForeground=(0,c.registerColor)("peekViewResult.fileForeground",{dark:f.Color.white,light:"#1E1E1E",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(8,null)),e.peekViewResultsSelectionBackground=(0,c.registerColor)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},t.localize(9,null)),e.peekViewResultsSelectionForeground=(0,c.registerColor)("peekViewResult.selectionForeground",{dark:f.Color.white,light:"#6C6C6C",hcDark:f.Color.white,hcLight:c.editorForeground},t.localize(10,null)),e.peekViewEditorBackground=(0,c.registerColor)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:f.Color.black,hcLight:f.Color.white},t.localize(11,null)),e.peekViewEditorGutterBackground=(0,c.registerColor)("peekViewEditorGutter.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(12,null)),e.peekViewEditorStickyScrollBackground=(0,c.registerColor)("peekViewEditorStickyScroll.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(13,null)),e.peekViewResultsMatchHighlight=(0,c.registerColor)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},t.localize(14,null)),e.peekViewEditorMatchHighlight=(0,c.registerColor)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},t.localize(15,null)),e.peekViewEditorMatchHighlightBorder=(0,c.registerColor)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:c.activeContrastBorder,hcLight:c.activeContrastBorder},t.localize(16,null))}),define(ne[899],se([1,0,7,75,14,38,6,2,45,11,5,138,663,160,30,15,8,158,97,56,789,31,23,445]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerNavigationWidget=void 0;class m{constructor(O,W,U,j,R){this._openerService=j,this._labelService=R,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new f.DisposableStore,this._editor=W;const K=document.createElement("div");K.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),K.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),K.appendChild(this._relatedBlock),this._disposables.add(L.addStandardDisposableListener(this._relatedBlock,"click",G=>{G.preventDefault();const Z=this._relatedDiagnostics.get(G.target);Z&&U(Z)})),this._scrollable=new k.ScrollableElement(K,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),O.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(G=>{K.style.left=`-${G.scrollLeft}px`,K.style.top=`-${G.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,f.dispose)(this._disposables)}update(O){const{source:W,message:U,relatedInformation:j,code:R}=O;let K=(W?.length||0)+2;R&&(typeof R=="string"?K+=R.length:K+=R.value.length);const G=(0,g.splitLines)(U);this._lines=G.length,this._longestLineLength=0;for(const B of G)this._longestLineLength=Math.max(B.length+K,this._longestLineLength);L.clearNode(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(O)),this._editor.applyFontInfo(this._messageBlock);let Z=this._messageBlock;for(const B of G)Z=document.createElement("div"),Z.innerText=B,B===""&&(Z.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(Z);if(W||R){const B=document.createElement("span");if(B.classList.add("details"),Z.appendChild(B),W){const V=document.createElement("span");V.innerText=W,V.classList.add("source"),B.appendChild(V)}if(R)if(typeof R=="string"){const V=document.createElement("span");V.innerText=`(${R})`,V.classList.add("code"),B.appendChild(V)}else{this._codeLink=L.$("a.code-link"),this._codeLink.setAttribute("href",`${R.target.toString()}`),this._codeLink.onclick=Y=>{this._openerService.open(R.target,{allowCommands:!0}),Y.preventDefault(),Y.stopPropagation()};const V=L.append(this._codeLink,L.$("span"));V.innerText=R.value,B.appendChild(this._codeLink)}}if(L.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.isNonEmptyArray)(j)){const B=this._relatedBlock.appendChild(document.createElement("div"));B.style.paddingTop=`${Math.floor(this._editor.getOption(65)*.66)}px`,this._lines+=1;for(const V of j){const Y=document.createElement("div"),ie=document.createElement("a");ie.classList.add("filename"),ie.innerText=`${this._labelService.getUriBasenameLabel(V.resource)}(${V.startLineNumber}, ${V.startColumn}): `,ie.title=this._labelService.getUriLabel(V.resource),this._relatedDiagnostics.set(ie,V);const ae=document.createElement("span");ae.innerText=V.message,Y.appendChild(ie),Y.appendChild(ae),this._lines+=1,B.appendChild(Y)}}const J=this._editor.getOption(49),X=Math.ceil(J.typicalFullwidthCharacterWidth*this._longestLineLength*.75),H=J.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:X,scrollHeight:H})}layout(O,W){this._scrollable.getDomNode().style.height=`${O}px`,this._scrollable.getDomNode().style.width=`${W}px`,this._scrollable.setScrollDimensions({width:W,height:O})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(O){let W="";switch(O.severity){case r.MarkerSeverity.Error:W=i.localize(0,null);break;case r.MarkerSeverity.Warning:W=i.localize(1,null);break;case r.MarkerSeverity.Info:W=i.localize(2,null);break;case r.MarkerSeverity.Hint:W=i.localize(3,null);break}let U=i.localize(4,null,W,O.startLineNumber+":"+O.startColumn);const j=this._editor.getModel();return j&&O.startLineNumber<=j.getLineCount()&&O.startLineNumber>=1&&(U=`${j.getLineContent(O.startLineNumber)}, ${U}`),U}}let v=p=class extends s.PeekViewWidget{constructor(O,W,U,j,R,K,G){super(O,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},R),this._themeService=W,this._openerService=U,this._menuService=j,this._contextKeyService=K,this._labelService=G,this._callOnDispose=new f.DisposableStore,this._onDidSelectRelatedInformation=new S.Emitter,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=r.MarkerSeverity.Warning,this._backgroundColor=D.Color.white,this._applyTheme(W.getColorTheme()),this._callOnDispose.add(W.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(O){this._backgroundColor=O.getColor(N);let W=I,U=M;this._severity===r.MarkerSeverity.Warning?(W=P,U=x):this._severity===r.MarkerSeverity.Info&&(W=T,U=A);const j=O.getColor(W),R=O.getColor(U);this.style({arrowColor:j,frameColor:j,headerBackgroundColor:R,primaryHeadingColor:O.getColor(s.peekViewTitleForeground),secondaryHeadingColor:O.getColor(s.peekViewTitleInfoForeground)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(O){super._fillHead(O),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(j=>this.editor.focus()));const W=[],U=this._menuService.createMenu(p.TitleMenu,this._contextKeyService);(0,n.createAndFillInActionBarActions)(U,void 0,W),this._actionbarWidget.push(W,{label:!1,icon:!0,index:0}),U.dispose()}_fillTitleIcon(O){this._icon=L.append(O,L.$(""))}_fillBody(O){this._parentContainer=O,O.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),O.appendChild(this._container),this._message=new m(this._container,this.editor,W=>this._onDidSelectRelatedInformation.fire(W),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(O,W,U){this._container.classList.remove("stale"),this._message.update(O),this._severity=O.severity,this._applyTheme(this._themeService.getColorTheme());const j=C.Range.lift(O),R=this.editor.getPosition(),K=R&&j.containsPosition(R)?R:j.getStartPosition();super.show(K,this.computeRequiredHeight());const G=this.editor.getModel();if(G){const Z=U>1?i.localize(5,null,W,U):i.localize(6,null,W,U);this.setTitle((0,_.basename)(G.uri),Z)}this._icon.className=`codicon ${o.SeverityIcon.className(r.MarkerSeverity.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(K,0),this.editor.focus()}updateMarker(O){this._container.classList.remove("stale"),this._message.update(O)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(O,W){super._doLayoutBody(O,W),this._heightInPixel=O,this._message.layout(O,W),this._container.style.height=`${O}px`}_onWidth(O){this._message.layout(this._heightInPixel,O)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};e.MarkerNavigationWidget=v,v.TitleMenu=new t.MenuId("gotoErrorTitleMenu"),e.MarkerNavigationWidget=v=p=ke([fe(1,l.IThemeService),fe(2,c.IOpenerService),fe(3,t.IMenuService),fe(4,u.IInstantiationService),fe(5,a.IContextKeyService),fe(6,h.ILabelService)],v);const b=(0,d.oneOf)(d.editorErrorForeground,d.editorErrorBorder),w=(0,d.oneOf)(d.editorWarningForeground,d.editorWarningBorder),E=(0,d.oneOf)(d.editorInfoForeground,d.editorInfoBorder),I=(0,d.registerColor)("editorMarkerNavigationError.background",{dark:b,light:b,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(7,null)),M=(0,d.registerColor)("editorMarkerNavigationError.headerBackground",{dark:(0,d.transparent)(I,.1),light:(0,d.transparent)(I,.1),hcDark:null,hcLight:null},i.localize(8,null)),P=(0,d.registerColor)("editorMarkerNavigationWarning.background",{dark:w,light:w,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(9,null)),x=(0,d.registerColor)("editorMarkerNavigationWarning.headerBackground",{dark:(0,d.transparent)(P,.1),light:(0,d.transparent)(P,.1),hcDark:"#0C141F",hcLight:(0,d.transparent)(P,.2)},i.localize(10,null)),T=(0,d.registerColor)("editorMarkerNavigationInfo.background",{dark:E,light:E,hcDark:d.contrastBorder,hcLight:d.contrastBorder},i.localize(11,null)),A=(0,d.registerColor)("editorMarkerNavigationInfo.headerBackground",{dark:(0,d.transparent)(T,.1),light:(0,d.transparent)(T,.1),hcDark:null,hcLight:null},i.localize(12,null)),N=(0,d.registerColor)("editorMarkerNavigation.background",{dark:d.editorBackground,light:d.editorBackground,hcDark:d.editorBackground,hcLight:d.editorBackground},i.localize(13,null))}),define(ne[369],se([1,0,25,2,16,33,12,5,21,766,662,30,15,8,62,899]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.NextMarkerAction=e.MarkerController=void 0;let h=u=class{static get(b){return b.getContribution(u.ID)}constructor(b,w,E,I,M){this._markerNavigationService=w,this._contextKeyService=E,this._editorService=I,this._instantiationService=M,this._sessionDispoables=new k.DisposableStore,this._editor=b,this._widgetVisible=p.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(b){if(this._model&&this._model.matches(b))return this._model;let w=!1;return this._model&&(w=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(b),w&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(a.MarkerNavigationWidget,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(E=>{var I,M,P;(!(!((I=this._model)===null||I===void 0)&&I.selected)||!f.Range.containsPosition((M=this._model)===null||M===void 0?void 0:M.selected.marker,E.position))&&((P=this._model)===null||P===void 0||P.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const E=this._model.find(this._editor.getModel().uri,this._widget.position);E?this._widget.updateMarker(E.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(E=>{this._editorService.openCodeEditor({resource:E.resource,options:{pinned:!0,revealIfOpened:!0,selection:f.Range.lift(E).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(b=!0){this._cleanUp(),b&&this._editor.focus()}showAtMarker(b){if(this._editor.hasModel()){const w=this._getOrCreateModel(this._editor.getModel().uri);w.resetIndex(),w.move(!0,this._editor.getModel(),new S.Position(b.startLineNumber,b.startColumn)),w.selected&&this._widget.showAtMarker(w.selected.marker,w.selected.index,w.selected.total)}}nagivate(b,w){var E,I;return we(this,void 0,void 0,function*(){if(this._editor.hasModel()){const M=this._getOrCreateModel(w?void 0:this._editor.getModel().uri);if(M.move(b,this._editor.getModel(),this._editor.getPosition()),!M.selected)return;if(M.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const P=yield this._editorService.openCodeEditor({resource:M.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:M.selected.marker}},this._editor);P&&((E=u.get(P))===null||E===void 0||E.close(),(I=u.get(P))===null||I===void 0||I.nagivate(b,w))}else this._widget.showAtMarker(M.selected.marker,M.selected.index,M.selected.total)}})}};e.MarkerController=h,h.ID="editor.contrib.markerController",e.MarkerController=h=u=ke([fe(1,g.IMarkerNavigationService),fe(2,i.IContextKeyService),fe(3,D.ICodeEditorService),fe(4,n.IInstantiationService)],h);class r extends y.EditorAction{constructor(b,w,E){super(E),this._next=b,this._multiFile=w}run(b,w){var E;return we(this,void 0,void 0,function*(){w.hasModel()&&((E=h.get(w))===null||E===void 0||E.nagivate(this._next,this._multiFile))})}}class c extends r{constructor(){super(!0,!1,{id:c.ID,label:c.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:578,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:c.LABEL,icon:(0,t.registerIcon)("marker-navigation-next",L.Codicon.arrowDown,C.localize(1,null)),group:"navigation",order:1}})}}e.NextMarkerAction=c,c.ID="editor.action.marker.next",c.LABEL=C.localize(0,null);class o extends r{constructor(){super(!1,!1,{id:o.ID,label:o.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1602,weight:100},menuOpts:{menuId:a.MarkerNavigationWidget.TitleMenu,title:o.LABEL,icon:(0,t.registerIcon)("marker-navigation-previous",L.Codicon.arrowUp,C.localize(3,null)),group:"navigation",order:2}})}}o.ID="editor.action.marker.prev",o.LABEL=C.localize(2,null);class d extends r{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:C.localize(4,null),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:66,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(5,null),group:"6_problem_nav",order:1}})}}class l extends r{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:C.localize(6,null),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1090,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(7,null),group:"6_problem_nav",order:2}})}}(0,y.registerEditorContribution)(h.ID,h,4),(0,y.registerEditorAction)(c),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(d),(0,y.registerEditorAction)(l);const p=new i.RawContextKey("markersNavigationVisible",!1),m=y.EditorCommand.bindToContribution(h.get);(0,y.registerEditorCommand)(new m({id:"closeMarkersNavigation",precondition:p,handler:v=>v.close(),kbOpts:{weight:100+50,kbExpr:_.EditorContextKeys.focus,primary:9,secondary:[1033]}}))}),define(ne[900],se([1,0,7,311,38,6,2,54,45,162,5,40,32,78,41,69,824,138,668,8,34,158,191,23,192,155,447]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferenceWidget=e.LayoutData=void 0;class b{constructor(P,x){this._editor=P,this._model=x,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new S.DisposableStore,this._callOnModelChange=new S.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const P=this._editor.getModel();if(P){for(const x of this._model.references)if(x.uri.toString()===P.uri.toString()){this._addDecorations(x.parent);return}}}_addDecorations(P){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const x=[],T=[];for(let A=0,N=P.children.length;A{const N=A.deltaDecorations([],x);for(let F=0;F{N.equals(9)&&(this._keybindingService.dispatchEvent(N,N.target),N.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(E,"ReferencesWidget",this._treeContainer,new u.Delegate,[this._instantiationService.createInstance(u.FileReferencesRenderer),this._instantiationService.createInstance(u.OneReferenceRenderer)],this._instantiationService.createInstance(u.DataSource),T),this._splitView.addView({onDidChange:D.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:N=>{this._preview.layout({height:this._dim.height,width:N})}},k.Sizing.Distribute),this._splitView.addView({onDidChange:D.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:N=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${N}px`,this._tree.layout(this._dim.height,N)}},k.Sizing.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const A=(N,F)=>{N instanceof v.OneReference&&(F==="show"&&this._revealReference(N,!1),this._onDidSelectReference.fire({element:N,kind:F,source:"tree"}))};this._tree.onDidOpen(N=>{N.sideBySide?A(N.element,"side"):N.editorOptions.pinned?A(N.element,"goto"):A(N.element,"show")}),L.hide(this._treeContainer)}_onWidth(P){this._dim&&this._doLayoutBody(this._dim.height,P)}_doLayoutBody(P,x){super._doLayoutBody(P,x),this._dim=new L.Dimension(x,P),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(x),this._splitView.resizeView(0,x*this.layoutData.ratio)}setSelection(P){return this._revealReference(P,!0).then(()=>{this._model&&(this._tree.setSelection([P]),this._tree.setFocus([P]))})}setModel(P){return this._disposeOnNewModel.clear(),this._model=P,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=r.localize(1,null),L.show(this._messageContainer),Promise.resolve(void 0)):(L.hide(this._messageContainer),this._decorationsManager=new b(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(P=>this._tree.rerender(P))),this._disposeOnNewModel.add(this._preview.onMouseDown(P=>{const{event:x,target:T}=P;if(x.detail!==2)return;const A=this._getFocusedReference();A&&this._onDidSelectReference.fire({element:{uri:A.uri,range:T.range},kind:x.ctrlKey||x.metaKey||x.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),L.show(this._treeContainer),L.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[P]=this._tree.getFocus();if(P instanceof v.OneReference)return P;if(P instanceof v.FileReferences&&P.children.length>0)return P.children[0]}revealReference(P){return we(this,void 0,void 0,function*(){yield this._revealReference(P,!1),this._onDidSelectReference.fire({element:P,kind:"goto",source:"tree"})})}_revealReference(P,x){return we(this,void 0,void 0,function*(){if(this._revealedReference===P)return;this._revealedReference=P,P.uri.scheme!==f.Schemas.inMemory?this.setTitle((0,_.basenameOrAuthority)(P.uri),this._uriLabel.getUriLabel((0,_.dirname)(P.uri))):this.setTitle(r.localize(2,null));const T=this._textModelResolverService.createModelReference(P.uri);this._tree.getInput()===P.parent?this._tree.reveal(P):(x&&this._tree.reveal(P.parent),yield this._tree.expand(P.parent),this._tree.reveal(P));const A=yield T;if(!this._model){A.dispose();return}(0,S.dispose)(this._previewModelReference);const N=A.object;if(N){const F=this._preview.getModel()===N.textEditorModel?0:1,O=C.Range.lift(P.range).collapseToStart();this._previewModelReference=A,this._preview.setModel(N.textEditorModel),this._preview.setSelection(O),this._preview.revealRangeInCenter(O,F)}else this._preview.setModel(this._previewNotAvailableMessage),A.dispose()})}};e.ReferenceWidget=I,e.ReferenceWidget=I=ke([fe(3,p.IThemeService),fe(4,a.ITextModelService),fe(5,c.IInstantiationService),fe(6,h.IPeekViewService),fe(7,d.ILabelService),fe(8,m.IUndoRedoService),fe(9,o.IKeybindingService),fe(10,t.ILanguageService),fe(11,i.ILanguageConfigurationService)],I)}),define(ne[370],se([1,0,13,9,63,2,33,12,5,138,666,27,28,15,8,118,191,43,87,155,900]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesController=e.ctxReferenceSearchVisible=void 0,e.ctxReferenceSearchVisible=new n.RawContextKey("referenceSearchVisible",!1,C.localize(0,null));let l=d=class{static get(v){return v.getContribution(d.ID)}constructor(v,b,w,E,I,M,P,x){this._defaultTreeKeyboardSupport=v,this._editor=b,this._editorService=E,this._notificationService=I,this._instantiationService=M,this._storageService=P,this._configurationService=x,this._disposables=new D.DisposableStore,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=e.ctxReferenceSearchVisible.bindTo(w)}dispose(){var v,b;this._referenceSearchVisible.reset(),this._disposables.dispose(),(v=this._widget)===null||v===void 0||v.dispose(),(b=this._model)===null||b===void 0||b.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(v,b,w){let E;if(this._widget&&(E=this._widget.position),this.closeWidget(),E&&v.containsPosition(E))return;this._peekMode=w,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const I="peekViewLayout",M=o.LayoutData.fromJSON(this._storageService.get(I,0,"{}"));this._widget=this._instantiationService.createInstance(o.ReferenceWidget,this._editor,this._defaultTreeKeyboardSupport,M),this._widget.setTitle(C.localize(1,null)),this._widget.show(v),this._disposables.add(this._widget.onDidClose(()=>{b.cancel(),this._widget&&(this._storageService.store(I,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(x=>{const{element:T,kind:A}=x;if(T)switch(A){case"open":(x.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(T,!1,!1);break;case"side":this.openReference(T,!0,!1);break;case"goto":w?this._gotoReference(T,!0):this.openReference(T,!1,!0);break}}));const P=++this._requestIdPool;b.then(x=>{var T;if(P!==this._requestIdPool||!this._widget){x.dispose();return}return(T=this._model)===null||T===void 0||T.dispose(),this._model=x,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(C.localize(2,null,this._model.title,this._model.references.length));const A=this._editor.getModel().uri,N=new f.Position(v.startLineNumber,v.startColumn),F=this._model.nearestReference(A,N);if(F)return this._widget.setSelection(F).then(()=>{this._widget&&this._editor.getOption(85)==="editor"&&this._widget.focusOnPreviewEditor()})}})},x=>{this._notificationService.error(x)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(v){return we(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const b=this._widget.position;if(!b)return;const w=this._model.nearestReference(this._editor.getModel().uri,b);if(!w)return;const E=this._model.nextOrPreviousReference(w,v),I=this._editor.hasTextFocus(),M=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(E),yield this._gotoReference(E,!1),I?this._editor.focus():this._widget&&M&&this._widget.focusOnPreviewEditor()})}revealReference(v){return we(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(v))})}closeWidget(v=!0){var b,w;(b=this._widget)===null||b===void 0||b.dispose(),(w=this._model)===null||w===void 0||w.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,v&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(v,b){var w;(w=this._widget)===null||w===void 0||w.hide(),this._ignoreModelChangeEvent=!0;const E=_.Range.lift(v.range).collapseToStart();return this._editorService.openCodeEditor({resource:v.uri,options:{selection:E,selectionSource:"code.jump",pinned:b}},this._editor).then(I=>{var M;if(this._ignoreModelChangeEvent=!1,!I||!this._widget){this.closeWidget();return}if(this._editor===I)this._widget.show(E),this._widget.focusOnReferenceTree();else{const P=d.get(I),x=this._model.clone();this.closeWidget(),I.focus(),P?.toggleWidget(E,(0,L.createCancelablePromise)(T=>Promise.resolve(x)),(M=this._peekMode)!==null&&M!==void 0?M:!1)}},I=>{this._ignoreModelChangeEvent=!1,(0,k.onUnexpectedError)(I)})}openReference(v,b,w){b||this.closeWidget();const{uri:E,range:I}=v;this._editorService.openCodeEditor({resource:E,options:{selection:I,selectionSource:"code.jump",pinned:w}},this._editor,b)}};e.ReferencesController=l,l.ID="editor.contrib.referencesController",e.ReferencesController=l=d=ke([fe(2,n.IContextKeyService),fe(3,S.ICodeEditorService),fe(4,h.INotificationService),fe(5,t.IInstantiationService),fe(6,r.IStorageService),fe(7,i.IConfigurationService)],l);function p(m,v){const b=(0,g.getOuterEditor)(m);if(!b)return;const w=l.get(b);w&&v(w)}a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,y.KeyChord)(2089,60),when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.changeFocusBetweenPreviewAndReferences()})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:100-10,primary:62,secondary:[70],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!0)})}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:100-10,primary:1086,secondary:[1094],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,g.PeekContext.inPeekEditor),handler(m){p(m,v=>{v.goToNextOrPreviousReference(!1)})}}),s.CommandsRegistry.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),s.CommandsRegistry.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),s.CommandsRegistry.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),s.CommandsRegistry.registerCommand("closeReferenceSearch",m=>p(m,v=>v.closeWidget())),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:100-101,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(g.PeekContext.inPeekEditor,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:200+50,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,n.ContextKeyExpr.not("config.editor.stablePeek"))}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.revealReference(w[0]))}}),a.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(m){var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!0,!0))}}),s.CommandsRegistry.registerCommand("openReference",m=>{var v;const w=(v=m.get(u.IListService).lastFocusedList)===null||v===void 0?void 0:v.getFocus();Array.isArray(w)&&w[0]instanceof c.OneReference&&p(m,E=>E.openReference(w[0],!1,!0))})}),define(ne[257],se([1,0,49,13,63,20,22,104,177,16,33,162,12,5,21,29,370,155,804,190,138,664,30,27,15,8,43,77,247,18,46,238]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P){"use strict";var x,T,A,N,F,O,W,U;Object.defineProperty(e,"__esModule",{value:!0}),e.DefinitionAction=e.SymbolNavigationAction=e.SymbolNavigationAnchor=void 0,l.MenuRegistry.appendMenuItem(l.MenuId.EditorContext,{submenu:l.MenuId.EditorContextPeek,title:d.localize(0,null),group:"navigation",order:100});class j{static is(V){return!V||typeof V!="object"?!1:!!(V instanceof j||i.Position.isIPosition(V.position)&&V.model)}constructor(V,Y){this.model=V,this.position=Y}}e.SymbolNavigationAnchor=j;class R extends g.EditorAction2{static all(){return R._allSymbolNavigationCommands.values()}static _patchConfig(V){const Y=Object.assign(Object.assign({},V),{f1:!0});if(Y.menu)for(const ie of M.Iterable.wrap(Y.menu))(ie.id===l.MenuId.EditorContext||ie.id===l.MenuId.EditorContextPeek)&&(ie.when=m.ContextKeyExpr.and(V.precondition,ie.when));return Y}constructor(V,Y){super(R._patchConfig(Y)),this.configuration=V,R._allSymbolNavigationCommands.set(Y.id,this)}runEditorCommand(V,Y,ie,ae){if(!Y.hasModel())return Promise.resolve(void 0);const ce=V.get(b.INotificationService),de=V.get(C.ICodeEditorService),he=V.get(w.IEditorProgressService),ue=V.get(r.ISymbolNavigationService),te=V.get(I.ILanguageFeaturesService),q=V.get(v.IInstantiationService),z=Y.getModel(),ee=Y.getPosition(),$=j.is(ie)?ie:new j(z,ee),re=new f.EditorStateCancellationTokenSource(Y,5),oe=(0,k.raceCancellation)(this._getLocationModel(te,$.model,$.position,re.token),re.token).then(ge=>we(this,void 0,void 0,function*(){var ve;if(!ge||re.token.isCancellationRequested)return;(0,L.alert)(ge.ariaMessage);let Se;if(ge.referenceAt(z.uri,ee)){const De=this._getAlternativeCommand(Y);!R._activeAlternativeCommands.has(De)&&R._allSymbolNavigationCommands.has(De)&&(Se=R._allSymbolNavigationCommands.get(De))}const Le=ge.references.length;if(Le===0){if(!this.configuration.muteMessage){const De=z.getWordAtPosition(ee);(ve=c.MessageController.get(Y))===null||ve===void 0||ve.showMessage(this._getNoResultFoundMessage(De),ee)}}else if(Le===1&&Se)R._activeAlternativeCommands.add(this.desc.id),q.invokeFunction(De=>Se.runEditorCommand(De,Y,ie,ae).finally(()=>{R._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(de,ue,Y,ge,ae)}),ge=>{ce.error(ge)}).finally(()=>{re.dispose()});return he.showWhile(oe,250),oe}_onResult(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){const de=this._getGoToPreference(ie);if(!(ie instanceof s.EmbeddedCodeEditorWidget)&&(this.configuration.openInPeek||de==="peek"&&ae.references.length>1))this._openInPeek(ie,ae,ce);else{const he=ae.firstReference(),ue=ae.references.length>1&&de==="gotoAndPeek",te=yield this._openReference(ie,V,he,this.configuration.openToSide,!ue);ue&&te?this._openInPeek(te,ae,ce):ae.dispose(),de==="goto"&&Y.put(he)}})}_openReference(V,Y,ie,ae,ce){return we(this,void 0,void 0,function*(){let de;if((0,a.isLocationLink)(ie)&&(de=ie.targetSelectionRange),de||(de=ie.range),!de)return;const he=yield Y.openCodeEditor({resource:ie.uri,options:{selection:n.Range.collapseToStart(de),selectionRevealType:3,selectionSource:"code.jump"}},V,ae);if(he){if(ce){const ue=he.getModel(),te=he.createDecorationsCollection([{range:de,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{he.getModel()===ue&&te.clear()},350)}return he}})}_openInPeek(V,Y,ie){const ae=u.ReferencesController.get(V);ae&&V.hasModel()?ae.toggleWidget(ie??V.getSelection(),(0,k.createCancelablePromise)(ce=>Promise.resolve(Y)),this.configuration.openInPeek):Y.dispose()}}e.SymbolNavigationAction=R,R._allSymbolNavigationCommands=new Map,R._activeAlternativeCommands=new Set;class K extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDefinitionsAtPosition)(V.definitionProvider,Y,ie,ae),d.localize(1,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(2,null,V.word):d.localize(3,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleDefinitions}}e.DefinitionAction=K,(0,l.registerAction2)((x=class extends K{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:x.id,title:{value:d.localize(4,null),original:"Go to Definition",mnemonicTitle:d.localize(5,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:70,weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:2118,weight:100}],menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.1},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),p.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",x.id)}},x.id="editor.action.revealDefinition",x)),(0,l.registerAction2)((T=class extends K{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:T.id,title:{value:d.localize(6,null),original:"Open Definition to the Side"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,70),weight:100},{when:m.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,P.IsWebContext),primary:(0,y.KeyChord)(2089,2118),weight:100}]}),p.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",T.id)}},T.id="editor.action.revealDefinitionAside",T)),(0,l.registerAction2)((A=class extends K{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:A.id,title:{value:d.localize(7,null),original:"Peek Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:2}}),p.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",A.id)}},A.id="editor.action.peekDefinition",A));class G extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getDeclarationsAtPosition)(V.declarationProvider,Y,ie,ae),d.localize(8,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(9,null,V.word):d.localize(10,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeDeclarationCommand}_getGoToPreference(V){return V.getOption(57).multipleDeclarations}}(0,l.registerAction2)((N=class extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:N.id,title:{value:d.localize(11,null),original:"Go to Declaration",mnemonicTitle:d.localize(12,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.3},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(13,null,V.word):d.localize(14,null)}},N.id="editor.action.revealDeclaration",N)),(0,l.registerAction2)(class extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:{value:d.localize(15,null),original:"Peek Declaration"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:3}})}});class Z extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getTypeDefinitionsAtPosition)(V.typeDefinitionProvider,Y,ie,ae),d.localize(16,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(17,null,V.word):d.localize(18,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeTypeDefinitionCommand}_getGoToPreference(V){return V.getOption(57).multipleTypeDefinitions}}(0,l.registerAction2)((F=class extends Z{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:F.ID,title:{value:d.localize(19,null),original:"Go to Type Definition",mnemonicTitle:d.localize(20,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:0,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.4},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},F.ID="editor.action.goToTypeDefinition",F)),(0,l.registerAction2)((O=class extends Z{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:O.ID,title:{value:d.localize(21,null),original:"Peek Type Definition"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:4}})}},O.ID="editor.action.peekTypeDefinition",O));class J extends R{_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getImplementationsAtPosition)(V.implementationProvider,Y,ie,ae),d.localize(22,null))})}_getNoResultFoundMessage(V){return V&&V.word?d.localize(23,null,V.word):d.localize(24,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeImplementationCommand}_getGoToPreference(V){return V.getOption(57).multipleImplementations}}(0,l.registerAction2)((W=class extends J{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:W.ID,title:{value:d.localize(25,null),original:"Go to Implementations",mnemonicTitle:d.localize(26,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:2118,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},W.ID="editor.action.goToImplementation",W)),(0,l.registerAction2)((U=class extends J{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:U.ID,title:{value:d.localize(27,null),original:"Peek Implementations"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:3142,weight:100},menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:5}})}},U.ID="editor.action.peekImplementation",U));class X extends R{_getNoResultFoundMessage(V){return V?d.localize(28,null,V.word):d.localize(29,null)}_getAlternativeCommand(V){return V.getOption(57).alternativeReferenceCommand}_getGoToPreference(V){return V.getOption(57).multipleReferences}}(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{value:d.localize(30,null),original:"Go to References",mnemonicTitle:d.localize(31,null)},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:1094,weight:100},menu:[{id:l.MenuId.EditorContext,group:"navigation",order:1.45},{id:l.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!0,ae),d.localize(32,null))})}}),(0,l.registerAction2)(class extends X{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:{value:d.localize(33,null),original:"Peek References"},precondition:m.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:l.MenuId.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Y,ie,!1,ae),d.localize(34,null))})}});class H extends R{constructor(V,Y,ie){super(V,{id:"editor.action.goToLocation",title:{value:d.localize(35,null),original:"Go to Any Symbol"},precondition:m.ContextKeyExpr.and(o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated())}),this._references=Y,this._gotoMultipleBehaviour=ie}_getLocationModel(V,Y,ie,ae){return we(this,void 0,void 0,function*(){return new h.ReferencesModel(this._references,d.localize(36,null))})}_getNoResultFoundMessage(V){return V&&d.localize(37,null,V.word)||""}_getGoToPreference(V){var Y;return(Y=this._gotoMultipleBehaviour)!==null&&Y!==void 0?Y:V.getOption(57).multipleReferences}_getAlternativeCommand(){return""}}p.CommandsRegistry.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(B,V,Y,ie,ae,ce,de)=>we(void 0,void 0,void 0,function*(){(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y)),(0,D.assertType)(Array.isArray(ie)),(0,D.assertType)(typeof ae>"u"||typeof ae=="string"),(0,D.assertType)(typeof de>"u"||typeof de=="boolean");const he=B.get(C.ICodeEditorService),ue=yield he.openCodeEditor({resource:V},he.getFocusedCodeEditor());if((0,_.isCodeEditor)(ue))return ue.setPosition(Y),ue.revealPositionInCenterIfOutsideViewport(Y,0),ue.invokeWithinContext(te=>{const q=new class extends H{_getNoResultFoundMessage(z){return ce||super._getNoResultFoundMessage(z)}}({muteMessage:!ce,openInPeek:!!de,openToSide:!1},ie,ae);te.get(v.IInstantiationService).invokeFunction(q.run.bind(q),ue)})})}),p.CommandsRegistry.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(B,V,Y,ie,ae)=>we(void 0,void 0,void 0,function*(){B.get(p.ICommandService).executeCommand("editor.action.goToLocations",V,Y,ie,ae,void 0,!0)})}),p.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:(B,V,Y)=>{(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Y));const ie=B.get(I.ILanguageFeaturesService),ae=B.get(C.ICodeEditorService);return ae.openCodeEditor({resource:V},ae.getFocusedCodeEditor()).then(ce=>{if(!(0,_.isCodeEditor)(ce)||!ce.hasModel())return;const de=u.ReferencesController.get(ce);if(!de)return;const he=(0,k.createCancelablePromise)(te=>(0,E.getReferencesAtPosition)(ie.referenceProvider,ce.getModel(),i.Position.lift(Y),!1,te).then(q=>new h.ReferencesModel(q,d.localize(38,null)))),ue=new n.Range(Y.lineNumber,Y.column,Y.lineNumber,Y.column);return Promise.resolve(de.toggleWidget(ue,he,!1))})}}),p.CommandsRegistry.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")}),define(ne[371],se([1,0,13,9,55,2,104,16,5,41,69,186,138,665,15,257,247,18,40,446]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.GotoDefinitionAtPositionEditorContribution=void 0;let o=c=class{constructor(l,p,m,v){this.textModelResolverService=p,this.languageService=m,this.languageFeaturesService=v,this.toUnhook=new D.DisposableStore,this.toUnhookForKeyboard=new D.DisposableStore,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=l,this.linkDecorations=this.editor.createDecorationsCollection();const b=new s.ClickLinkGesture(l);this.toUnhook.add(b),this.toUnhook.add(b.onMouseMoveOrRelevantKeyDown(([w,E])=>{this.startFindDefinitionFromMouse(w,E??void 0)})),this.toUnhook.add(b.onExecute(w=>{this.isEnabled(w)&&this.gotoDefinition(w.target.position,w.hasSideBySideModifier).catch(E=>{(0,k.onUnexpectedError)(E)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(b.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(l){return l.getContribution(c.ID)}startFindDefinitionFromCursor(l){return we(this,void 0,void 0,function*(){yield this.startFindDefinition(l),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(p=>{p&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(l,p){if(l.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(l,p)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const m=l.target.position;this.startFindDefinition(m)}startFindDefinition(l){var p;return we(this,void 0,void 0,function*(){this.toUnhookForKeyboard.clear();const m=l?(p=this.editor.getModel())===null||p===void 0?void 0:p.getWordAtPosition(l):null;if(!m){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===m.startColumn&&this.currentWordAtPosition.endColumn===m.endColumn&&this.currentWordAtPosition.word===m.word)return;this.currentWordAtPosition=m;const v=new S.EditorState(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,L.createCancelablePromise)(E=>this.findDefinition(l,E));let b;try{b=yield this.previousPromise}catch(E){(0,k.onUnexpectedError)(E);return}if(!b||!b.length||!v.validate(this.editor)){this.removeLinkDecorations();return}const w=b[0].originSelectionRange?_.Range.lift(b[0].originSelectionRange):new _.Range(l.lineNumber,m.startColumn,l.lineNumber,m.endColumn);if(b.length>1){let E=w;for(const{originSelectionRange:I}of b)I&&(E=_.Range.plusRange(E,I));this.addDecoration(E,new y.MarkdownString().appendText(n.localize(0,null,b.length)))}else{const E=b[0];if(!E.uri)return;this.textModelResolverService.createModelReference(E.uri).then(I=>{if(!I.object||!I.object.textEditorModel){I.dispose();return}const{object:{textEditorModel:M}}=I,{startLineNumber:P}=E.range;if(P<1||P>M.getLineCount()){I.dispose();return}const x=this.getPreviewValue(M,P,E),T=this.languageService.guessLanguageIdByFilepathOrFirstLine(M.uri);this.addDecoration(w,x?new y.MarkdownString().appendCodeblock(T||"",x):void 0),I.dispose()})}})}getPreviewValue(l,p,m){let v=m.range;return v.endLineNumber-v.startLineNumber>=c.MAX_SOURCE_PREVIEW_LINES&&(v=this.getPreviewRangeBasedOnIndentation(l,p)),this.stripIndentationFromPreviewRange(l,p,v)}stripIndentationFromPreviewRange(l,p,m){let b=l.getLineFirstNonWhitespaceColumn(p);for(let E=p+1;E{const v=!p&&this.editor.getOption(86)&&!this.isInPeekEditor(m);return new a.DefinitionAction({openToSide:p,openInPeek:v,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m)})}isInPeekEditor(l){const p=l.get(t.IContextKeyService);return i.PeekContext.inPeekEditor.getValue(p)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};e.GotoDefinitionAtPositionEditorContribution=o,o.ID="editor.contrib.gotodefinitionatposition",o.MAX_SOURCE_PREVIEW_LINES=8,e.GotoDefinitionAtPositionEditorContribution=o=c=ke([fe(1,C.ITextModelService),fe(2,g.ILanguageService),fe(3,h.ILanguageFeaturesService)],o),(0,f.registerEditorContribution)(o.ID,o,2)}),define(ne[901],se([1,0,7,14,13,9,2,45,5,18,233,137,250,113,369,673,97,56,77]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerHoverParticipant=e.MarkerHover=void 0;const c=L.$;class o{constructor(m,v,b){this.owner=m,this.range=v,this.marker=b}isValidForHoverAnchor(m){return m.type===1&&this.range.startColumn<=m.range.startColumn&&this.range.endColumn>=m.range.endColumn}}e.MarkerHover=o;const d={type:1,filter:{include:n.CodeActionKind.QuickFix},triggerAction:n.CodeActionTriggerSource.QuickFixHover};let l=class{constructor(m,v,b,w){this._editor=m,this._markerDecorationsService=v,this._openerService=b,this._languageFeaturesService=w,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(m,v){if(!this._editor.hasModel()||m.type!==1&&!m.supportsMarkerHover)return[];const b=this._editor.getModel(),w=m.range.startLineNumber,E=b.getLineMaxColumn(w),I=[];for(const M of v){const P=M.range.startLineNumber===w?M.range.startColumn:1,x=M.range.endLineNumber===w?M.range.endColumn:E,T=this._markerDecorationsService.getMarker(b.uri,M);if(!T)continue;const A=new _.Range(m.range.startLineNumber,P,m.range.startLineNumber,x);I.push(new o(this,A,T))}return I}renderHoverParts(m,v){if(!v.length)return S.Disposable.None;const b=new S.DisposableStore;v.forEach(E=>m.fragment.appendChild(this.renderMarkerHover(E,b)));const w=v.length===1?v[0]:v.sort((E,I)=>u.MarkerSeverity.compare(E.marker.severity,I.marker.severity))[0];return this.renderMarkerStatusbar(m,w,b),b}renderMarkerHover(m,v){const b=c("div.hover-row"),w=L.append(b,c("div.marker.hover-contents")),{source:E,message:I,code:M,relatedInformation:P}=m.marker;this._editor.applyFontInfo(w);const x=L.append(w,c("span"));if(x.style.whiteSpace="pre-wrap",x.innerText=I,E||M)if(M&&typeof M!="string"){const T=c("span");if(E){const O=L.append(T,c("span"));O.innerText=E}const A=L.append(T,c("a.code-link"));A.setAttribute("href",M.target.toString()),v.add(L.addDisposableListener(A,"click",O=>{this._openerService.open(M.target,{allowCommands:!0}),O.preventDefault(),O.stopPropagation()}));const N=L.append(A,c("span"));N.innerText=M.value;const F=L.append(w,T);F.style.opacity="0.6",F.style.paddingLeft="6px"}else{const T=L.append(w,c("span"));T.style.opacity="0.6",T.style.paddingLeft="6px",T.innerText=E&&M?`${E}(${M})`:E||`(${M})`}if((0,k.isNonEmptyArray)(P))for(const{message:T,resource:A,startLineNumber:N,startColumn:F}of P){const O=L.append(w,c("div"));O.style.marginTop="8px";const W=L.append(O,c("a"));W.innerText=`${(0,f.basename)(A)}(${N}, ${F}): `,W.style.cursor="pointer",v.add(L.addDisposableListener(W,"click",j=>{j.stopPropagation(),j.preventDefault(),this._openerService&&this._openerService.open(A,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:N,startColumn:F}}}).catch(D.onUnexpectedError)}));const U=L.append(O,c("span"));U.innerText=T,this._editor.applyFontInfo(U)}return b}renderMarkerStatusbar(m,v,b){if((v.marker.severity===u.MarkerSeverity.Error||v.marker.severity===u.MarkerSeverity.Warning||v.marker.severity===u.MarkerSeverity.Info)&&m.statusBar.addAction({label:a.localize(0,null),commandId:t.NextMarkerAction.ID,run:()=>{var w;m.hide(),(w=t.MarkerController.get(this._editor))===null||w===void 0||w.showAtMarker(v.marker),this._editor.focus()}}),!this._editor.getOption(89)){const w=m.statusBar.append(c("div"));this.recentMarkerCodeActionsInfo&&(u.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker)===u.IMarkerData.makeKey(v.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(w.textContent=a.localize(1,null)):this.recentMarkerCodeActionsInfo=void 0);const E=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?S.Disposable.None:b.add((0,y.disposableTimeout)(()=>w.textContent=a.localize(2,null),200));w.textContent||(w.textContent=String.fromCharCode(160));const I=this.getCodeActions(v.marker);b.add((0,S.toDisposable)(()=>I.cancel())),I.then(M=>{if(E.dispose(),this.recentMarkerCodeActionsInfo={marker:v.marker,hasCodeActions:M.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){M.dispose(),w.textContent=a.localize(3,null);return}w.style.display="none";let P=!1;b.add((0,S.toDisposable)(()=>{P||M.dispose()})),m.statusBar.addAction({label:a.localize(4,null),commandId:s.quickFixCommandId,run:x=>{P=!0;const T=i.CodeActionController.get(this._editor),A=L.getDomNodePagePosition(x);m.hide(),T?.showCodeActions(d,M,{x:A.left,y:A.top,width:A.width,height:A.height})}})},D.onUnexpectedError)}}getCodeActions(m){return(0,y.createCancelablePromise)(v=>(0,s.getCodeActions)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new _.Range(m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn),d,r.Progress.None,v))}};e.MarkerHoverParticipant=l,e.MarkerHoverParticipant=l=ke([fe(1,C.IMarkerDecorationsService),fe(2,h.IOpenerService),fe(3,g.ILanguageFeaturesService)],l)}),define(ne[372],se([1,0,63,2,16,5,21,41,371,367,781,8,56,31,23,103,248,901,253,34,671,448]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.ModesHoverController=void 0;const l=!1;let p=d=class{static get(N){return N.getContribution(d.ID)}constructor(N,F,O,W,U){this._editor=N,this._instantiationService=F,this._openerService=O,this._languageService=W,this._keybindingService=U,this._toUnhook=new k.DisposableStore,this._hoverActivatedByColorDecoratorClick=!1,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(j=>{j.hasChanged(59)&&(this._unhookEvents(),this._hookEvents())})}_hookEvents(){const N=()=>this._hideWidgets(),F=this._editor.getOption(59);this._isHoverEnabled=F.enabled,this._isHoverSticky=F.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(O=>this._onEditorMouseDown(O))),this._toUnhook.add(this._editor.onMouseUp(O=>this._onEditorMouseUp(O))),this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))):(this._toUnhook.add(this._editor.onMouseMove(O=>this._onEditorMouseMove(O))),this._toUnhook.add(this._editor.onKeyDown(O=>this._onKeyDown(O)))),this._toUnhook.add(this._editor.onMouseLeave(O=>this._onEditorMouseLeave(O))),this._toUnhook.add(this._editor.onDidChangeModel(N)),this._toUnhook.add(this._editor.onDidScrollChange(O=>this._onEditorScrollChanged(O)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(N){(N.scrollTopChanged||N.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(N){var F;this._isMouseDown=!0;const O=N.target;if(O.type===9&&O.detail===g.ContentHoverWidget.ID){this._hoverClicked=!0;return}O.type===12&&O.detail===C.MarginHoverWidget.ID||(O.type!==12&&(this._hoverClicked=!1),!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||this._hideWidgets())}_onEditorMouseUp(N){this._isMouseDown=!1}_onEditorMouseLeave(N){var F,O;const W=N.event.browserEvent.relatedTarget;!((F=this._contentWidget)===null||F===void 0)&&F.widget.isResizing||!((O=this._contentWidget)===null||O===void 0)&&O.containsNode(W)||l||this._hideWidgets()}_onEditorMouseMove(N){var F,O,W,U,j,R,K,G,Z,J,X;const H=N.target;if(!((F=this._contentWidget)===null||F===void 0)&&F.isFocused||!((O=this._contentWidget)===null||O===void 0)&&O.isResizing||this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID||this._isHoverSticky&&(!((W=this._contentWidget)===null||W===void 0)&&W.containsNode((U=N.event.browserEvent.view)===null||U===void 0?void 0:U.document.activeElement))&&!(!((R=(j=N.event.browserEvent.view)===null||j===void 0?void 0:j.getSelection())===null||R===void 0)&&R.isCollapsed)||!this._isHoverSticky&&H.type===9&&H.detail===g.ContentHoverWidget.ID&&(!((K=this._contentWidget)===null||K===void 0)&&K.isColorPickerVisible)||this._isHoverSticky&&H.type===12&&H.detail===C.MarginHoverWidget.ID||this._isHoverSticky&&(!((G=this._contentWidget)===null||G===void 0)&&G.isVisibleFromKeyboard))return;const B=(Z=H.element)===null||Z===void 0?void 0:Z.classList.contains("colorpicker-color-decoration"),V=this._editor.getOption(145);if(B&&(V==="click"&&!this._hoverActivatedByColorDecoratorClick||V==="hover"&&!this._isHoverEnabled&&!l||V==="clickAndHover"&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick)||!B&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(N)){(J=this._glyphWidget)===null||J===void 0||J.hide();return}if(H.type===2&&H.position){(X=this._contentWidget)===null||X===void 0||X.hide(),this._glyphWidget||(this._glyphWidget=new C.MarginHoverWidget(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(H.position.lineNumber);return}l||this._hideWidgets()}_onKeyDown(N){var F;if(!this._editor.hasModel())return;const O=this._keybindingService.softDispatch(N,this._editor.getDomNode()),W=O.kind===1||O.kind===2&&O.commandId==="editor.action.showHover"&&((F=this._contentWidget)===null||F===void 0?void 0:F.isVisible);N.keyCode!==5&&N.keyCode!==6&&N.keyCode!==57&&N.keyCode!==4&&!W&&this._hideWidgets()}_hideWidgets(){var N,F,O;l||this._isMouseDown&&this._hoverClicked&&(!((N=this._contentWidget)===null||N===void 0)&&N.isColorPickerVisible)||r.InlineSuggestionHintsContentWidget.dropDownVisible||(this._hoverActivatedByColorDecoratorClick=!1,this._hoverClicked=!1,(F=this._glyphWidget)===null||F===void 0||F.hide(),(O=this._contentWidget)===null||O===void 0||O.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(g.ContentHoverController,this._editor)),this._contentWidget}showContentHover(N,F,O,W,U=!1){this._hoverActivatedByColorDecoratorClick=U,this._getOrCreateContentWidget().startShowingAtRange(N,F,O,W)}focus(){var N;(N=this._contentWidget)===null||N===void 0||N.focus()}scrollUp(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollUp()}scrollDown(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollDown()}scrollLeft(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollLeft()}scrollRight(){var N;(N=this._contentWidget)===null||N===void 0||N.scrollRight()}pageUp(){var N;(N=this._contentWidget)===null||N===void 0||N.pageUp()}pageDown(){var N;(N=this._contentWidget)===null||N===void 0||N.pageDown()}goToTop(){var N;(N=this._contentWidget)===null||N===void 0||N.goToTop()}goToBottom(){var N;(N=this._contentWidget)===null||N===void 0||N.goToBottom()}get isColorPickerVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isColorPickerVisible}get isHoverVisible(){var N;return(N=this._contentWidget)===null||N===void 0?void 0:N.isVisible}dispose(){var N,F;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(N=this._glyphWidget)===null||N===void 0||N.dispose(),(F=this._contentWidget)===null||F===void 0||F.dispose()}};e.ModesHoverController=p,p.ID="editor.contrib.hover",e.ModesHoverController=p=d=ke([fe(1,s.IInstantiationService),fe(2,i.IOpenerService),fe(3,f.ILanguageService),fe(4,c.IKeybindingService)],p);class m extends y.EditorAction{constructor(){super({id:"editor.action.showHover",label:o.localize(0,null),description:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if when triggered with the keyboard, the hover should take focus immediately.",type:"boolean",default:!1}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:S.EditorContextKeys.editorTextFocus,primary:(0,L.KeyChord)(2089,2087),weight:100}})}run(N,F,O){if(!F.hasModel())return;const W=p.get(F);if(!W)return;const U=F.getPosition(),j=new D.Range(U.lineNumber,U.column,U.lineNumber,U.column),R=F.getOption(2)===2||!!O?.focus;W.isHoverVisible?W.focus():W.showContentHover(j,1,1,R)}}class v extends y.EditorAction{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:o.localize(1,null),alias:"Show Definition Preview Hover",precondition:void 0})}run(N,F){const O=p.get(F);if(!O)return;const W=F.getPosition();if(!W)return;const U=new D.Range(W.lineNumber,W.column,W.lineNumber,W.column),j=_.GotoDefinitionAtPositionEditorContribution.get(F);if(!j)return;j.startFindDefinitionFromCursor(W).then(()=>{O.showContentHover(U,1,1,!0)})}}class b extends y.EditorAction{constructor(){super({id:"editor.action.scrollUpHover",label:o.localize(2,null),alias:"Scroll Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:16,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollUp()}}class w extends y.EditorAction{constructor(){super({id:"editor.action.scrollDownHover",label:o.localize(3,null),alias:"Scroll Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:18,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollDown()}}class E extends y.EditorAction{constructor(){super({id:"editor.action.scrollLeftHover",label:o.localize(4,null),alias:"Scroll Left Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:15,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollLeft()}}class I extends y.EditorAction{constructor(){super({id:"editor.action.scrollRightHover",label:o.localize(5,null),alias:"Scroll Right Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:17,weight:100}})}run(N,F){const O=p.get(F);O&&O.scrollRight()}}class M extends y.EditorAction{constructor(){super({id:"editor.action.pageUpHover",label:o.localize(6,null),alias:"Page Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:11,secondary:[528],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageUp()}}class P extends y.EditorAction{constructor(){super({id:"editor.action.pageDownHover",label:o.localize(7,null),alias:"Page Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:12,secondary:[530],weight:100}})}run(N,F){const O=p.get(F);O&&O.pageDown()}}class x extends y.EditorAction{constructor(){super({id:"editor.action.goToTopHover",label:o.localize(8,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToTop()}}class T extends y.EditorAction{constructor(){super({id:"editor.action.goToBottomHover",label:o.localize(9,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(N,F){const O=p.get(F);O&&O.goToBottom()}}(0,y.registerEditorContribution)(p.ID,p,2),(0,y.registerEditorAction)(m),(0,y.registerEditorAction)(v),(0,y.registerEditorAction)(b),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(I),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(P),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(T),a.HoverParticipantRegistry.register(u.MarkdownHoverParticipant),a.HoverParticipantRegistry.register(h.MarkerHoverParticipant),(0,t.registerThemingParticipant)((A,N)=>{const F=A.getColor(n.editorHoverBorder);F&&(N.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${F.transparent(.5)}; }`),N.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${F.transparent(.5)}; }`))})}),define(ne[902],se([1,0,2,16,5,363,364,372,103]),function(Q,e,L,k,y,D,S,f,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorContribution=void 0;class g extends L.Disposable{constructor(s){super(),this._editor=s,this._register(s.onMouseDown(i=>this.onMouseDown(i)))}dispose(){super.dispose()}onMouseDown(s){const i=this._editor.getOption(145);if(i!=="click"&&i!=="clickAndHover")return;const n=s.target;if(n.type!==6||!n.detail.injectedText||n.detail.injectedText.options.attachedData!==D.ColorDecorationInjectedTextMarker||!n.range)return;const t=this._editor.getContribution(f.ModesHoverController.ID);if(t&&!t.isColorPickerVisible){const a=new y.Range(n.range.startLineNumber,n.range.startColumn+1,n.range.endLineNumber,n.range.endColumn+1);t.showContentHover(a,1,0,!1,!0)}}}e.ColorContribution=g,g.ID="editor.contrib.colorContribution",(0,k.registerEditorContribution)(g.ID,g,2),_.HoverParticipantRegistry.register(S.ColorHoverParticipant)}),define(ne[373],se([1,0,7,39,19,170,5,69,257,138,30,27,15,57,8,43]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.goToDefinitionWithLocation=e.showGoToContextMenu=void 0;function u(r,c,o,d){var l;return we(this,void 0,void 0,function*(){const p=r.get(f.ITextModelService),m=r.get(n.IContextMenuService),v=r.get(s.ICommandService),b=r.get(t.IInstantiationService),w=r.get(a.INotificationService);if(yield d.item.resolve(y.CancellationToken.None),!d.part.location)return;const E=d.part.location,I=[],M=new Set(C.MenuRegistry.getMenuItems(C.MenuId.EditorContext).map(x=>(0,C.isIMenuItem)(x)?x.command.id:(0,D.generateUuid)()));for(const x of _.SymbolNavigationAction.all())M.has(x.desc.id)&&I.push(new k.Action(x.desc.id,C.MenuItemAction.label(x.desc,{renderShortTitle:!0}),void 0,!0,()=>we(this,void 0,void 0,function*(){const T=yield p.createModelReference(E.uri);try{const A=new _.SymbolNavigationAnchor(T.object.textEditorModel,S.Range.getStartPosition(E.range)),N=d.item.anchor.range;yield b.invokeFunction(x.runEditorCommand.bind(x),c,A,N)}finally{T.dispose()}})));if(d.part.command){const{command:x}=d.part;I.push(new k.Separator),I.push(new k.Action(x.id,x.title,void 0,!0,()=>we(this,void 0,void 0,function*(){var T;try{yield v.executeCommand(x.id,...(T=x.arguments)!==null&&T!==void 0?T:[])}catch(A){w.notify({severity:a.Severity.Error,source:d.item.provider.displayName,message:A})}})))}const P=c.getOption(125);m.showContextMenu({domForShadowRoot:P&&(l=c.getDomNode())!==null&&l!==void 0?l:void 0,getAnchor:()=>{const x=L.getDomNodePagePosition(o);return{x:x.left,y:x.top+x.height+8}},getActions:()=>I,onHide:()=>{c.focus()},autoSelectFirstItem:!0})})}e.showGoToContextMenu=u;function h(r,c,o,d){return we(this,void 0,void 0,function*(){const p=yield r.get(f.ITextModelService).createModelReference(d.uri);yield o.invokeWithinContext(m=>we(this,void 0,void 0,function*(){const v=c.hasSideBySideModifier,b=m.get(i.IContextKeyService),w=g.PeekContext.inPeekEditor.getValue(b),E=!v&&o.getOption(86)&&!w;return new _.DefinitionAction({openToSide:v,openInPeek:E,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(m,new _.SymbolNavigationAnchor(p.object.textEditorModel,S.Range.getStartPosition(d.range)),S.Range.lift(d.range))})),p.dispose()})}e.goToDefinitionWithLocation=h}),define(ne[374],se([1,0,7,14,13,19,9,2,65,20,22,159,108,36,73,5,29,48,40,76,18,69,186,322,373,27,50,8,43,31,23]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";var P;Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsController=e.RenderedInlayHintLabelPart=void 0;class x{constructor(){this._entries=new _.LRUCache(50)}get(U){const j=x._key(U);return this._entries.get(j)}set(U,j){const R=x._key(U);this._entries.set(R,j)}static _key(U){return`${U.uri.toString()}/${U.getVersionId()}`}}const T=(0,w.createDecorator)("IInlayHintsCache");(0,b.registerSingleton)(T,x,1);class A{constructor(U,j){this.item=U,this.index=j}get part(){const U=this.item.hint.label;return typeof U=="string"?{label:U}:U[this.index]}}e.RenderedInlayHintLabelPart=A;class N{constructor(U,j){this.part=U,this.hasTriggerModifier=j}}let F=P=class{static get(U){var j;return(j=U.getContribution(P.ID))!==null&&j!==void 0?j:void 0}constructor(U,j,R,K,G,Z,J){this._editor=U,this._languageFeaturesService=j,this._inlayHintsCache=K,this._commandService=G,this._notificationService=Z,this._instaService=J,this._disposables=new f.DisposableStore,this._sessionDisposables=new f.DisposableStore,this._decorationsMetadata=new Map,this._ruleFactory=new s.DynamicCssRules(this._editor),this._activeRenderMode=0,this._debounceInfo=R.for(j.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(j.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(U.onDidChangeModel(()=>this._update())),this._disposables.add(U.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(U.onDidChangeConfiguration(X=>{X.hasChanged(138)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){this._sessionDisposables.clear(),this._removeAllDecorations();const U=this._editor.getOption(138);if(U.enabled==="off")return;const j=this._editor.getModel();if(!j||!this._languageFeaturesService.inlayHintsProvider.has(j))return;const R=this._inlayHintsCache.get(j);R&&this._updateHintsDecorators([j.getFullModelRange()],R),this._sessionDisposables.add((0,f.toDisposable)(()=>{j.isDisposed()||this._cacheHintsForFastRestore(j)}));let K;const G=new Set,Z=new y.RunOnceScheduler(()=>we(this,void 0,void 0,function*(){const J=Date.now();K?.dispose(!0),K=new D.CancellationTokenSource;const X=j.onWillDispose(()=>K?.cancel());try{const H=K.token,B=yield p.InlayHintsFragments.create(this._languageFeaturesService.inlayHintsProvider,j,this._getHintsRanges(),H);if(Z.delay=this._debounceInfo.update(j,Date.now()-J),H.isCancellationRequested){B.dispose();return}for(const V of B.provider)typeof V.onDidChangeInlayHints=="function"&&!G.has(V)&&(G.add(V),this._sessionDisposables.add(V.onDidChangeInlayHints(()=>{Z.isScheduled()||Z.schedule()})));this._sessionDisposables.add(B),this._updateHintsDecorators(B.ranges,B.items),this._cacheHintsForFastRestore(j)}catch(H){(0,S.onUnexpectedError)(H)}finally{K.dispose(),X.dispose()}}),this._debounceInfo.get(j));if(this._sessionDisposables.add(Z),this._sessionDisposables.add((0,f.toDisposable)(()=>K?.dispose(!0))),Z.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(J=>{(J.scrollTopChanged||!Z.isScheduled())&&Z.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(J=>{const X=Math.max(Z.delay,1250);Z.schedule(X)})),U.enabled==="on")this._activeRenderMode=0;else{let J,X;U.enabled==="onUnlessPressed"?(J=0,X=1):(J=1,X=0),this._activeRenderMode=J,this._sessionDisposables.add(L.ModifierKeyEmitter.getInstance().event(H=>{if(!this._editor.hasModel())return;const B=H.altKey&&H.ctrlKey&&!(H.shiftKey||H.metaKey)?X:J;if(B!==this._activeRenderMode){this._activeRenderMode=B;const V=this._editor.getModel(),Y=this._copyInlayHintsWithCurrentAnchor(V);this._updateHintsDecorators([V.getFullModelRange()],Y),Z.schedule(0)}}))}this._sessionDisposables.add(this._installDblClickGesture(()=>Z.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const U=new f.DisposableStore,j=U.add(new l.ClickLinkGesture(this._editor)),R=new f.DisposableStore;return U.add(R),U.add(j.onMouseMoveOrRelevantKeyDown(K=>{const[G]=K,Z=this._getInlayHintLabelPart(G),J=this._editor.getModel();if(!Z||!J){R.clear();return}const X=new D.CancellationTokenSource;R.add((0,f.toDisposable)(()=>X.dispose(!0))),Z.item.resolve(X.token),this._activeInlayHintPart=Z.part.command||Z.part.location?new N(Z,G.hasTriggerModifier):void 0;const H=J.validatePosition(Z.item.hint.position).lineNumber,B=new a.Range(H,1,H,J.getLineMaxColumn(H)),V=this._getInlineHintsForRange(B);this._updateHintsDecorators([B],V),R.add((0,f.toDisposable)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([B],V)}))})),U.add(j.onCancel(()=>R.clear())),U.add(j.onExecute(K=>we(this,void 0,void 0,function*(){const G=this._getInlayHintLabelPart(K);if(G){const Z=G.part;Z.location?this._instaService.invokeFunction(m.goToDefinitionWithLocation,K,this._editor,Z.location):u.Command.is(Z.command)&&(yield this._invokeCommand(Z.command,G.item))}}))),U}_getInlineHintsForRange(U){const j=new Set;for(const R of this._decorationsMetadata.values())U.containsRange(R.item.anchor.range)&&j.add(R.item);return Array.from(j)}_installDblClickGesture(U){return this._editor.onMouseUp(j=>we(this,void 0,void 0,function*(){if(j.event.detail!==2)return;const R=this._getInlayHintLabelPart(j);if(R&&(j.event.preventDefault(),yield R.item.resolve(D.CancellationToken.None),(0,k.isNonEmptyArray)(R.item.hint.textEdits))){const K=R.item.hint.textEdits.map(G=>t.EditOperation.replace(a.Range.lift(G.range),G.text));this._editor.executeEdits("inlayHint.default",K),U()}}))}_installContextMenu(){return this._editor.onContextMenu(U=>we(this,void 0,void 0,function*(){if(!(U.event.target instanceof HTMLElement))return;const j=this._getInlayHintLabelPart(U);j&&(yield this._instaService.invokeFunction(m.showGoToContextMenu,this._editor,U.event.target,j))}))}_getInlayHintLabelPart(U){var j;if(U.target.type!==6)return;const R=(j=U.target.detail.injectedText)===null||j===void 0?void 0:j.options;if(R instanceof r.ModelDecorationInjectedTextOptions&&R?.attachedData instanceof A)return R.attachedData}_invokeCommand(U,j){var R;return we(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(U.id,...(R=U.arguments)!==null&&R!==void 0?R:[])}catch(K){this._notificationService.notify({severity:E.Severity.Error,source:j.provider.displayName,message:K})}})}_cacheHintsForFastRestore(U){const j=this._copyInlayHintsWithCurrentAnchor(U);this._inlayHintsCache.set(U,j)}_copyInlayHintsWithCurrentAnchor(U){const j=new Map;for(const[R,K]of this._decorationsMetadata){if(j.has(K.item))continue;const G=U.getDecorationRange(R);if(G){const Z=new p.InlayHintAnchor(G,K.item.anchor.direction),J=K.item.with({anchor:Z});j.set(K.item,J)}}return Array.from(j.values())}_getHintsRanges(){const j=this._editor.getModel(),R=this._editor.getVisibleRangesPlusViewportAboveBelow(),K=[];for(const G of R.sort(a.Range.compareRangesUsingStarts)){const Z=j.validateRange(new a.Range(G.startLineNumber-30,G.startColumn,G.endLineNumber+30,G.endColumn));K.length===0||!a.Range.areIntersectingOrTouching(K[K.length-1],Z)?K.push(Z):K[K.length-1]=a.Range.plusRange(K[K.length-1],Z)}return K}_updateHintsDecorators(U,j){var R,K;const G=[],Z=(ce,de,he,ue,te)=>{const q={content:he,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:de.className,cursorStops:ue,attachedData:te};G.push({item:ce,classNameRef:de,decoration:{range:ce.anchor.range,options:{description:"InlayHint",showIfCollapsed:ce.anchor.range.isEmpty(),collapseOnReplaceEdit:!ce.anchor.range.isEmpty(),stickiness:0,[ce.anchor.direction]:this._activeRenderMode===0?q:void 0}}})},J=(ce,de)=>{const he=this._ruleFactory.createClassNameRef({width:`${X/3|0}px`,display:"inline-block"});Z(ce,he,"\u200A",de?h.InjectedTextCursorStops.Right:h.InjectedTextCursorStops.None)},{fontSize:X,fontFamily:H,padding:B,isUniform:V}=this._getLayoutInfo(),Y="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(Y,H);for(const ce of j){ce.hint.paddingLeft&&J(ce,!1);const de=typeof ce.hint.label=="string"?[{label:ce.hint.label}]:ce.hint.label;for(let he=0;heP._MAX_DECORATORS)break}const ie=[];for(const ce of U)for(const{id:de}of(K=this._editor.getDecorationsInRange(ce))!==null&&K!==void 0?K:[]){const he=this._decorationsMetadata.get(de);he&&(ie.push(de),he.classNameRef.dispose(),this._decorationsMetadata.delete(de))}const ae=i.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(ce=>{const de=ce.deltaDecorations(ie,G.map(he=>he.decoration));for(let he=0;heR)&&(G=R);const Z=U.fontFamily||K;return{fontSize:G,fontFamily:Z,padding:j,isUniform:!j&&Z===K&&G===R}}_removeAllDecorations(){this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys()));for(const U of this._decorationsMetadata.values())U.classNameRef.dispose();this._decorationsMetadata.clear()}};e.InlayHintsController=F,F.ID="editor.contrib.InlayHints",F._MAX_DECORATORS=1500,e.InlayHintsController=F=P=ke([fe(1,o.ILanguageFeaturesService),fe(2,c.ILanguageFeatureDebounceService),fe(3,T),fe(4,v.ICommandService),fe(5,E.INotificationService),fe(6,w.IInstantiationService)],F);function O(W){const U="\xA0";return W.replace(/[ \t]/g,U)}v.CommandsRegistry.registerCommand("_executeInlayHintProvider",(W,...U)=>we(void 0,void 0,void 0,function*(){const[j,R]=U;(0,g.assertType)(C.URI.isUri(j)),(0,g.assertType)(a.Range.isIRange(R));const{inlayHintsProvider:K}=W.get(o.ILanguageFeaturesService),G=yield W.get(d.ITextModelService).createModelReference(j);try{const Z=yield p.InlayHintsFragments.create(K,G.object.textEditorModel,[a.Range.lift(R)],D.CancellationToken.None),J=Z.items.map(X=>X.hint);return setTimeout(()=>Z.dispose(),0),J}finally{G.dispose()}}))});var Lt=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={},k("next"),k("throw"),k("return"),L[Symbol.asyncIterator]=function(){return this},L);function k(D){L[D]=Q[D]&&function(S){return new Promise(function(f,_){S=Q[D](S),y(f,_,S.done,S.value)})}}function y(D,S,f,_){Promise.resolve(_).then(function(g){D({value:g,done:f})},S)}};define(ne[903],se([1,0,13,55,12,40,103,41,69,352,248,374,28,56,18,676,17,322,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsHover=void 0;class c extends S.HoverForeignElementAnchor{constructor(l,p,m,v){super(10,p,l.item.anchor.range,m,v,!0),this.part=l}}let o=class extends C.MarkdownHoverParticipant{constructor(l,p,m,v,b,w){super(l,p,m,v,w),this._resolverService=b,this.hoverOrdinal=6}suggestHoverAnchor(l){var p;if(!s.InlayHintsController.get(this._editor)||l.target.type!==6)return null;const v=(p=l.target.detail.injectedText)===null||p===void 0?void 0:p.options;return v instanceof D.ModelDecorationInjectedTextOptions&&v.attachedData instanceof s.RenderedInlayHintLabelPart?new c(v.attachedData,this,l.event.posx,l.event.posy):null}computeSync(){return[]}computeAsync(l,p,m){return l instanceof c?new L.AsyncIterableObject(v=>we(this,void 0,void 0,function*(){var b,w,E,I;const{part:M}=l;if(yield M.item.resolve(m),m.isCancellationRequested)return;let P;typeof M.item.hint.tooltip=="string"?P=new k.MarkdownString().appendText(M.item.hint.tooltip):M.item.hint.tooltip&&(P=M.item.hint.tooltip),P&&v.emitOne(new C.MarkdownHover(this,l.range,[P],!1,0)),(0,r.isNonEmptyArray)(M.item.hint.textEdits)&&v.emitOne(new C.MarkdownHover(this,l.range,[new k.MarkdownString().appendText((0,a.localize)(0,null))],!1,10001));let x;if(typeof M.part.tooltip=="string"?x=new k.MarkdownString().appendText(M.part.tooltip):M.part.tooltip&&(x=M.part.tooltip),x&&v.emitOne(new C.MarkdownHover(this,l.range,[x],!1,1)),M.part.location||M.part.command){let O;const U=this._editor.getOption(76)==="altKey"?u.isMacintosh?(0,a.localize)(1,null):(0,a.localize)(2,null):u.isMacintosh?(0,a.localize)(3,null):(0,a.localize)(4,null);M.part.location&&M.part.command?O=new k.MarkdownString().appendText((0,a.localize)(5,null,U)):M.part.location?O=new k.MarkdownString().appendText((0,a.localize)(6,null,U)):M.part.command&&(O=new k.MarkdownString(`[${(0,a.localize)(7,null)}](${(0,h.asCommandLink)(M.part.command)} "${M.part.command.title}") (${U})`,{isTrusted:!0})),O&&v.emitOne(new C.MarkdownHover(this,l.range,[O],!1,1e4))}const T=yield this._resolveInlayHintLabelPartHover(M,m);try{for(var A=!0,N=Lt(T),F;F=yield N.next(),b=F.done,!b;A=!0){I=F.value,A=!1;const O=I;v.emitOne(O)}}catch(O){w={error:O}}finally{try{!A&&!b&&(E=N.return)&&(yield E.call(N))}finally{if(w)throw w.error}}})):L.AsyncIterableObject.EMPTY}_resolveInlayHintLabelPartHover(l,p){return we(this,void 0,void 0,function*(){if(!l.part.location)return L.AsyncIterableObject.EMPTY;const{uri:m,range:v}=l.part.location,b=yield this._resolverService.createModelReference(m);try{const w=b.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(w)?(0,g.getHover)(this._languageFeaturesService.hoverProvider,w,new y.Position(v.startLineNumber,v.startColumn),p).filter(E=>!(0,k.isEmptyMarkdownString)(E.hover.contents)).map(E=>new C.MarkdownHover(this,l.item.anchor.range,E.hover.contents,!1,2+E.ordinal)):L.AsyncIterableObject.EMPTY}finally{b.dispose()}})}};e.InlayHintsHover=o,e.InlayHintsHover=o=ke([fe(1,f.ILanguageService),fe(2,n.IOpenerService),fe(3,i.IConfigurationService),fe(4,_.ITextModelService),fe(5,t.ILanguageFeaturesService)],o)}),define(ne[904],se([1,0,16,103,374,903]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.InlayHintsController.ID,y.InlayHintsController,1),k.HoverParticipantRegistry.register(D.InlayHintsHover)}),define(ne[375],se([1,0,2,18,894,893,8,57,30,15,21,186,5,247,373,12,19,32,76,7,299,60]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollController=void 0;let p=l=class extends L.Disposable{constructor(v,b,w,E,I,M,P){super(),this._editor=v,this._contextMenuService=b,this._languageFeaturesService=w,this._instaService=E,this._contextKeyService=P,this._sessionStore=new L.DisposableStore,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new y.StickyScrollWidget(this._editor),this._stickyLineCandidateProvider=new D.StickyLineCandidateProvider(this._editor,w,I),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new y.StickyScrollWidgetState([],[],0),this._readConfiguration();const x=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(A=>{(A.hasChanged(113)||A.hasChanged(71)||A.hasChanged(65)||A.hasChanged(108))&&this._readConfiguration()})),this._register(c.addDisposableListener(x,c.EventType.CONTEXT_MENU,A=>we(this,void 0,void 0,function*(){this._onContextMenu(A)}))),this._stickyScrollFocusedContextKey=C.EditorContextKeys.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=C.EditorContextKeys.stickyScrollVisible.bindTo(this._contextKeyService);const T=this._register(c.trackFocus(x));this._register(T.onDidBlur(A=>{this._positionRevealed===!1&&x.clientHeight===0?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(T.onDidFocus(A=>{this.focus()})),this._registerMouseListeners(),this._register(c.addDisposableListener(x,c.EventType.MOUSE_DOWN,A=>{this._onMouseDown=!0}))}static get(v){return v.getContribution(l.ID)}_disposeFocusStickyScrollStore(){var v;this._stickyScrollFocusedContextKey.set(!1),(v=this._focusDisposableStore)===null||v===void 0||v.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}this._stickyScrollFocusedContextKey.get()!==!0&&(this._focused=!0,this._focusDisposableStore=new L.DisposableStore,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(v){this._focusedStickyElementIndex=v?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){const v=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:v[this._focusedStickyElementIndex],column:1})}_revealPosition(v){this._reveaInEditor(v,()=>this._editor.revealPosition(v))}_revealLineInCenterIfOutsideViewport(v){this._reveaInEditor(v,()=>this._editor.revealLineInCenterIfOutsideViewport(v.lineNumber,0))}_reveaInEditor(v,b){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,b(),this._editor.setSelection(i.Range.fromPositions(v)),this._editor.focus()}_registerMouseListeners(){const v=this._register(new L.DisposableStore),b=this._register(new s.ClickLinkGesture(this._editor,{extractLineNumberFromMouseEvent:I=>{const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);return M?M.lineNumber:0}})),w=I=>{if(!this._editor.hasModel()||I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return null;const M=I.target.element;if(!M||M.innerText!==M.innerHTML)return null;const P=this._stickyScrollWidget.getEditorPositionFromNode(M);return P?{range:new i.Range(P.lineNumber,P.column,P.lineNumber,P.column+M.innerText.length),textElement:M}:null},E=this._stickyScrollWidget.getDomNode();this._register(c.addStandardDisposableListener(E,c.EventType.CLICK,I=>{if(I.ctrlKey||I.altKey||I.metaKey||!I.leftButton)return;if(I.shiftKey){const P=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(P===null)return;const x=new a.Position(this._endLineNumbers[P],1);this._revealLineInCenterIfOutsideViewport(x);return}let M=this._stickyScrollWidget.getEditorPositionFromNode(I.target);if(!M){const P=this._stickyScrollWidget.getLineNumberFromChildDomNode(I.target);if(P===null)return;M=new a.Position(P,1)}this._revealPosition(M)})),this._register(c.addStandardDisposableListener(E,c.EventType.MOUSE_MOVE,I=>{if(I.shiftKey){const M=this._stickyScrollWidget.getStickyLineIndexFromChildDomNode(I.target);if(M===null||this._showEndForLine!==null&&this._showEndForLine===M)return;this._showEndForLine=M,this._renderStickyScroll();return}this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(c.addDisposableListener(E,c.EventType.MOUSE_LEAVE,I=>{this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(b.onMouseMoveOrRelevantKeyDown(([I,M])=>{const P=w(I);if(!P||!I.hasTriggerModifier||!this._editor.hasModel()){v.clear();return}const{range:x,textElement:T}=P;if(!x.equalsRange(this._stickyRangeProjectedOnEditor))this._stickyRangeProjectedOnEditor=x,v.clear();else if(T.style.textDecoration==="underline")return;const A=new u.CancellationTokenSource;v.add((0,L.toDisposable)(()=>A.dispose(!0)));let N;(0,n.getDefinitionsAtPosition)(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new a.Position(x.startLineNumber,x.startColumn+1),A.token).then(F=>{if(!A.token.isCancellationRequested)if(F.length!==0){this._candidateDefinitionsLength=F.length;const O=T;N!==O?(v.clear(),N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"}))):N||(N=O,N.style.textDecoration="underline",v.add((0,L.toDisposable)(()=>{N.style.textDecoration="none"})))}else v.clear()})})),this._register(b.onCancel(()=>{v.clear()})),this._register(b.onExecute(I=>we(this,void 0,void 0,function*(){if(I.target.type!==12||I.target.detail!==this._stickyScrollWidget.getId())return;const M=this._stickyScrollWidget.getEditorPositionFromNode(I.target.element);M&&(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:M.lineNumber,column:1})),this._instaService.invokeFunction(t.goToDefinitionWithLocation,I,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor}))})))}_onContextMenu(v){const b=new d.StandardMouseEvent(v);this._contextMenuService.showContextMenu({menuId:_.MenuId.StickyScrollContext,getAnchor:()=>b})}_readConfiguration(){const v=this._editor.getOption(113);if(v.enabled===!1){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}else v.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(w=>{w.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(w=>this._onTokensChange(w))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);this._editor.getOption(66).renderType===2&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll()}))}_needsUpdate(v){const b=this._stickyScrollWidget.getCurrentLines();for(const w of b)for(const E of v.ranges)if(w>=E.fromLineNumber&&w<=E.toLineNumber)return!0;return!1}_onTokensChange(v){this._needsUpdate(v)&&this._renderStickyScroll()}_onDidResize(){const b=this._editor.getLayoutInfo().height/this._editor.getOption(65);this._maxStickyLines=Math.round(b*.25)}_renderStickyScroll(){const v=this._editor.getModel();if(!v||v.isTooLargeForTokenization()){this._stickyScrollWidget.setState(void 0);return}const b=this._stickyLineCandidateProvider.getVersionId();if(b===void 0||b===v.getVersionId())if(this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(this._widgetState.startLineNumbers.length!==0),!this._focused)this._stickyScrollWidget.setState(this._widgetState);else if(this._focusedStickyElementIndex===-1)this._stickyScrollWidget.setState(this._widgetState),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,this._focusedStickyElementIndex!==-1&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{const w=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];this._stickyScrollWidget.setState(this._widgetState),this._stickyScrollWidget.lineNumberCount===0?this._focusedStickyElementIndex=-1:(this._stickyScrollWidget.lineNumbers.includes(w)||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}}findScrollWidgetState(){const v=this._editor.getOption(65),b=Math.min(this._maxStickyLines,this._editor.getOption(113).maxLineCount),w=this._editor.getScrollTop();let E=0;const I=[],M=[],P=this._editor.getVisibleRanges();if(P.length!==0){const x=new o.StickyRange(P[0].startLineNumber,P[P.length-1].endLineNumber),T=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(x);for(const A of T){const N=A.startLineNumber,F=A.endLineNumber,O=A.nestingDepth;if(F-N>0){const W=(O-1)*v,U=O*v,j=this._editor.getBottomForLineNumber(N)-w,R=this._editor.getTopForLineNumber(F)-w,K=this._editor.getBottomForLineNumber(F)-w;if(W>R&&W<=K){I.push(N),M.push(F+1),E=K-U;break}else U>j&&U<=K&&(I.push(N),M.push(F+1));if(I.length===b)break}}}return this._endLineNumbers=M,new y.StickyScrollWidgetState(I,M,E,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};e.StickyScrollController=p,p.ID="store.contrib.stickyScrollController",e.StickyScrollController=p=l=ke([fe(1,f.IContextMenuService),fe(2,k.ILanguageFeaturesService),fe(3,S.IInstantiationService),fe(4,h.ILanguageConfigurationService),fe(5,r.ILanguageFeatureDebounceService),fe(6,g.IContextKeyService)],p)}),define(ne[905],se([1,0,16,699,741,30,28,15,21,375]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEditor=e.GoToStickyScrollLine=e.SelectPreviousStickyScrollLine=e.SelectNextStickyScrollLine=e.FocusStickyScroll=e.ToggleStickyScroll=void 0;class C extends D.Action2{constructor(){super({id:"editor.action.toggleStickyScroll",title:{value:(0,k.localize)(0,null),mnemonicTitle:(0,k.localize)(1,null),original:"Toggle Sticky Scroll"},category:y.Categories.View,toggled:{condition:f.ContextKeyExpr.equals("config.editor.stickyScroll.enabled",!0),title:(0,k.localize)(2,null),mnemonicTitle:(0,k.localize)(3,null)},menu:[{id:D.MenuId.CommandPalette},{id:D.MenuId.MenubarAppearanceMenu,group:"4_editor",order:3},{id:D.MenuId.StickyScrollContext}]})}run(r){return we(this,void 0,void 0,function*(){const c=r.get(S.IConfigurationService),o=!c.getValue("editor.stickyScroll.enabled");return c.updateValue("editor.stickyScroll.enabled",o)})}}e.ToggleStickyScroll=C;const s=100;class i extends L.EditorAction2{constructor(){super({id:"editor.action.focusStickyScroll",title:{value:(0,k.localize)(4,null),mnemonicTitle:(0,k.localize)(5,null),original:"Focus Sticky Scroll"},precondition:f.ContextKeyExpr.and(f.ContextKeyExpr.has("config.editor.stickyScroll.enabled"),_.EditorContextKeys.stickyScrollVisible),menu:[{id:D.MenuId.CommandPalette}]})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focus()}}e.FocusStickyScroll=i;class n extends L.EditorAction2{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:{value:(0,k.localize)(6,null),original:"Select next sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:18}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusNext()}}e.SelectNextStickyScrollLine=n;class t extends L.EditorAction2{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:{value:(0,k.localize)(7,null),original:"Select previous sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:16}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.focusPrevious()}}e.SelectPreviousStickyScrollLine=t;class a extends L.EditorAction2{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:{value:(0,k.localize)(8,null),original:"Go to focused sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:3}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.goToFocused()}}e.GoToStickyScrollLine=a;class u extends L.EditorAction2{constructor(){super({id:"editor.action.selectEditor",title:{value:(0,k.localize)(9,null),original:"Select Editor"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:9}})}runEditorCommand(r,c){var o;(o=g.StickyScrollController.get(c))===null||o===void 0||o.selectEditor()}}e.SelectEditor=u}),define(ne[906],se([1,0,16,905,375,30]),function(Q,e,L,k,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.StickyScrollController.ID,y.StickyScrollController,1),(0,D.registerAction2)(k.ToggleStickyScroll),(0,D.registerAction2)(k.FocusStickyScroll),(0,D.registerAction2)(k.SelectPreviousStickyScrollLine),(0,D.registerAction2)(k.SelectNextStickyScrollLine),(0,D.registerAction2)(k.GoToStickyScrollLine),(0,D.registerAction2)(k.SelectEditor)}),define(ne[907],se([1,0,16,33,370,28,15,8,43,87]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneReferencesController=void 0;let C=class extends y.ReferencesController{constructor(i,n,t,a,u,h,r){super(!0,i,n,t,a,u,h,r)}};e.StandaloneReferencesController=C,e.StandaloneReferencesController=C=ke([fe(1,S.IContextKeyService),fe(2,k.ICodeEditorService),fe(3,_.INotificationService),fe(4,f.IInstantiationService),fe(5,g.IStorageService),fe(6,D.IConfigurationService)],C),(0,L.registerEditorContribution)(y.ReferencesController.ID,C,4)}),define(ne[908],se([1,0,9,2,54,101,738,156,50,43,192]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoService=void 0;const s=!1;function i(p){return p.scheme===y.Schemas.file?p.fsPath:p.path}let n=0;class t{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=0,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabel=v,this.strResource=b,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.isValid=!0}setValid(m){this.isValid=m}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class a{constructor(m,v){this.resourceLabel=m,this.reason=v}}class u{constructor(){this.elements=new Map}createMessage(){const m=[],v=[];for(const[,w]of this.elements)(w.reason===0?m:v).push(w.resourceLabel);const b=[];return m.length>0&&b.push(S.localize(0,null,m.join(", "))),v.length>0&&b.push(S.localize(1,null,v.join(", "))),b.join(` -`)}get size(){return this.elements.size}has(m){return this.elements.has(m)}set(m,v){this.elements.set(m,v)}delete(m){return this.elements.delete(m)}}class h{constructor(m,v,b,w,E,I,M){this.id=++n,this.type=1,this.actual=m,this.label=m.label,this.confirmBeforeUndo=m.confirmBeforeUndo||!1,this.resourceLabels=v,this.strResources=b,this.groupId=w,this.groupOrder=E,this.sourceId=I,this.sourceOrder=M,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(m,v,b){this.removedResources||(this.removedResources=new u),this.removedResources.has(v)||this.removedResources.set(v,new a(m,b))}setValid(m,v,b){b?this.invalidatedResources&&(this.invalidatedResources.delete(v),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new u),this.invalidatedResources.has(v)||this.invalidatedResources.set(v,new a(m,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class r{constructor(m,v){this.resourceLabel=m,this.strResource=v,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const m of this._past)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);for(const m of this._future)m.type===1&&m.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const m=[];m.push(`* ${this.strResource}:`);for(let v=0;v=0;v--)m.push(` * [REDO] ${this._future[v]}`);return m.join(` -`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(m,v){m.type===1?m.setValid(this.resourceLabel,this.strResource,v):m.setValid(v)}setElementsValidFlag(m,v){for(const b of this._past)v(b.actual)&&this._setElementValidFlag(b,m);for(const b of this._future)v(b.actual)&&this._setElementValidFlag(b,m)}pushElement(m){for(const v of this._future)v.type===1&&v.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(m),this.versionId++}createSnapshot(m){const v=[];for(let b=0,w=this._past.length;b=0;b--)v.push(this._future[b].id);return new C.ResourceEditStackSnapshot(m,v)}restoreSnapshot(m){const v=m.elements.length;let b=!0,w=0,E=-1;for(let M=0,P=this._past.length;M=v||x.id!==m.elements[w])&&(b=!1,E=0),!b&&x.type===1&&x.removeResource(this.resourceLabel,this.strResource,0)}let I=-1;for(let M=this._future.length-1;M>=0;M--,w++){const P=this._future[M];b&&(w>=v||P.id!==m.elements[w])&&(b=!1,I=M),!b&&P.type===1&&P.removeResource(this.resourceLabel,this.strResource,0)}E!==-1&&(this._past=this._past.slice(0,E)),I!==-1&&(this._future=this._future.slice(I+1)),this.versionId++}getElements(){const m=[],v=[];for(const b of this._past)m.push(b.actual);for(const b of this._future)v.push(b.actual);return{past:m,future:v}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(m,v){for(let b=this._past.length-1;b>=0;b--)if(this._past[b]===m){v.has(this.strResource)?this._past[b]=v.get(this.strResource):this._past.splice(b,1);break}this.versionId++}splitFutureWorkspaceElement(m,v){for(let b=this._future.length-1;b>=0;b--)if(this._future[b]===m){v.has(this.strResource)?this._future[b]=v.get(this.strResource):this._future.splice(b,1);break}this.versionId++}moveBackward(m){this._past.pop(),this._future.push(m),this.versionId++}moveForward(m){this._future.pop(),this._past.push(m),this.versionId++}}class c{constructor(m){this.editStacks=m,this._versionIds=[];for(let v=0,b=this.editStacks.length;vv.sourceOrder)&&(v=I,b=w)}return[v,b]}canUndo(m){if(m instanceof C.UndoRedoSource){const[,b]=this._findClosestUndoElementWithSource(m.id);return!!b}const v=this.getUriComparisonKey(m);return this._editStacks.has(v)?this._editStacks.get(v).hasPastElements():!1}_onError(m,v){(0,L.onUnexpectedError)(m);for(const b of v.strResources)this.removeElements(b);this._notificationService.error(m)}_acquireLocks(m){for(const v of m.editStacks)if(v.locked)throw new Error("Cannot acquire edit stack lock");for(const v of m.editStacks)v.locked=!0;return()=>{for(const v of m.editStacks)v.locked=!1}}_safeInvokeWithLocks(m,v,b,w,E){const I=this._acquireLocks(b);let M;try{M=v()}catch(P){return I(),w.dispose(),this._onError(P,m)}return M?M.then(()=>(I(),w.dispose(),E()),P=>(I(),w.dispose(),this._onError(P,m))):(I(),w.dispose(),E())}_invokeWorkspacePrepare(m){return we(this,void 0,void 0,function*(){if(typeof m.actual.prepareUndoRedo>"u")return k.Disposable.None;const v=m.actual.prepareUndoRedo();return typeof v>"u"?k.Disposable.None:v})}_invokeResourcePrepare(m,v){if(m.actual.type!==1||typeof m.actual.prepareUndoRedo>"u")return v(k.Disposable.None);const b=m.actual.prepareUndoRedo();return b?(0,k.isDisposable)(b)?v(b):b.then(w=>v(w)):v(k.Disposable.None)}_getAffectedEditStacks(m){const v=[];for(const b of m.strResources)v.push(this._editStacks.get(b)||o);return new c(v)}_tryToSplitAndUndo(m,v,b,w){if(v.canSplit())return this._splitPastWorkspaceElement(v,b),this._notificationService.warn(w),new l(this._undo(m,0,!0));for(const E of v.strResources)this.removeElements(E);return this._notificationService.warn(w),new l}_checkWorkspaceUndo(m,v,b,w){if(v.removedResources)return this._tryToSplitAndUndo(m,v,v.removedResources,S.localize(2,null,v.label,v.removedResources.createMessage()));if(w&&v.invalidatedResources)return this._tryToSplitAndUndo(m,v,v.invalidatedResources,S.localize(3,null,v.label,v.invalidatedResources.createMessage()));const E=[];for(const M of b.editStacks)M.getClosestPastElement()!==v&&E.push(M.resourceLabel);if(E.length>0)return this._tryToSplitAndUndo(m,v,null,S.localize(4,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndUndo(m,v,null,S.localize(5,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndUndo(m,v,null,S.localize(6,null,v.label))}_workspaceUndo(m,v,b){const w=this._getAffectedEditStacks(v),E=this._checkWorkspaceUndo(m,v,w,!1);return E?E.returnValue:this._confirmAndExecuteWorkspaceUndo(m,v,w,b)}_isPartOfUndoGroup(m){if(!m.groupId)return!1;for(const[,v]of this._editStacks){const b=v.getClosestPastElement();if(b){if(b===m){const w=v.getSecondClosestPastElement();if(w&&w.groupId===m.groupId)return!0}if(b.groupId===m.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(m,v,b,w){return we(this,void 0,void 0,function*(){if(v.canSplit()&&!this._isPartOfUndoGroup(v)){let M;(function(T){T[T.All=0]="All",T[T.This=1]="This",T[T.Cancel=2]="Cancel"})(M||(M={}));const{result:P}=yield this._dialogService.prompt({type:D.default.Info,message:S.localize(7,null,v.label),buttons:[{label:S.localize(8,null,b.editStacks.length),run:()=>M.All},{label:S.localize(9,null),run:()=>M.This}],cancelButton:{run:()=>M.Cancel}});if(P===M.Cancel)return;if(P===M.This)return this._splitPastWorkspaceElement(v,null),this._undo(m,0,!0);const x=this._checkWorkspaceUndo(m,v,b,!1);if(x)return x.returnValue;w=!0}let E;try{E=yield this._invokeWorkspacePrepare(v)}catch(M){return this._onError(M,v)}const I=this._checkWorkspaceUndo(m,v,b,!0);if(I)return E.dispose(),I.returnValue;for(const M of b.editStacks)M.moveBackward(v);return this._safeInvokeWithLocks(v,()=>v.actual.undo(),b,E,()=>this._continueUndoInGroup(v.groupId,w))})}_resourceUndo(m,v,b){if(!v.isValid){m.flushAllElements();return}if(m.locked){const w=S.localize(10,null,v.label);this._notificationService.warn(w);return}return this._invokeResourcePrepare(v,w=>(m.moveBackward(v),this._safeInvokeWithLocks(v,()=>v.actual.undo(),new c([m]),w,()=>this._continueUndoInGroup(v.groupId,b))))}_findClosestUndoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestPastElement();I&&I.groupId===m&&(!v||I.groupOrder>v.groupOrder)&&(v=I,b=w)}return[v,b]}_continueUndoInGroup(m,v){if(!m)return;const[,b]=this._findClosestUndoElementInGroup(m);if(b)return this._undo(b,0,v)}undo(m){if(m instanceof C.UndoRedoSource){const[,v]=this._findClosestUndoElementWithSource(m.id);return v?this._undo(v,m.id,!1):void 0}return typeof m=="string"?this._undo(m,0,!1):this._undo(this.getUriComparisonKey(m),0,!1)}_undo(m,v=0,b){if(!this._editStacks.has(m))return;const w=this._editStacks.get(m),E=w.getClosestPastElement();if(!E)return;if(E.groupId){const[M,P]=this._findClosestUndoElementInGroup(E.groupId);if(E!==M&&P)return this._undo(P,v,b)}if((E.sourceId!==v||E.confirmBeforeUndo)&&!b)return this._confirmAndContinueUndo(m,v,E);try{return E.type===1?this._workspaceUndo(m,E,b):this._resourceUndo(w,E,b)}finally{s&&this._print("undo")}}_confirmAndContinueUndo(m,v,b){return we(this,void 0,void 0,function*(){if((yield this._dialogService.confirm({message:S.localize(11,null,b.label),primaryButton:S.localize(12,null),cancelButton:S.localize(13,null)})).confirmed)return this._undo(m,v,!0)})}_findClosestRedoElementWithSource(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.sourceId===m&&(!v||I.sourceOrder0)return this._tryToSplitAndRedo(m,v,null,S.localize(16,null,v.label,E.join(", ")));const I=[];for(const M of b.editStacks)M.locked&&I.push(M.resourceLabel);return I.length>0?this._tryToSplitAndRedo(m,v,null,S.localize(17,null,v.label,I.join(", "))):b.isValid()?null:this._tryToSplitAndRedo(m,v,null,S.localize(18,null,v.label))}_workspaceRedo(m,v){const b=this._getAffectedEditStacks(v),w=this._checkWorkspaceRedo(m,v,b,!1);return w?w.returnValue:this._executeWorkspaceRedo(m,v,b)}_executeWorkspaceRedo(m,v,b){return we(this,void 0,void 0,function*(){let w;try{w=yield this._invokeWorkspacePrepare(v)}catch(I){return this._onError(I,v)}const E=this._checkWorkspaceRedo(m,v,b,!0);if(E)return w.dispose(),E.returnValue;for(const I of b.editStacks)I.moveForward(v);return this._safeInvokeWithLocks(v,()=>v.actual.redo(),b,w,()=>this._continueRedoInGroup(v.groupId))})}_resourceRedo(m,v){if(!v.isValid){m.flushAllElements();return}if(m.locked){const b=S.localize(19,null,v.label);this._notificationService.warn(b);return}return this._invokeResourcePrepare(v,b=>(m.moveForward(v),this._safeInvokeWithLocks(v,()=>v.actual.redo(),new c([m]),b,()=>this._continueRedoInGroup(v.groupId))))}_findClosestRedoElementInGroup(m){if(!m)return[null,null];let v=null,b=null;for(const[w,E]of this._editStacks){const I=E.getClosestFutureElement();I&&I.groupId===m&&(!v||I.groupOrder"u")return typeof t=="string"?{id:(0,k.basename)(t)}:a?e.EXTENSION_DEVELOPMENT_EMPTY_WINDOW_WORKSPACE:e.UNKNOWN_EMPTY_WINDOW_WORKSPACE;const u=t;return u.configuration?{id:u.id,configPath:u.configuration}:u.folders.length===1?{id:u.id,uri:u.folders[0].uri}:{id:u.id}}e.toWorkspaceIdentifier=g;function C(t){const a=t;return typeof a?.id=="string"&&D.URI.isUri(a.configPath)}e.isWorkspaceIdentifier=C;class s{constructor(a,u,h,r,c){this._id=a,this._transient=h,this._configuration=r,this._ignorePathCasing=c,this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0),this.folders=u}get folders(){return this._folders}set folders(a){this._folders=a,this.updateFoldersMap()}get id(){return this._id}get transient(){return this._transient}get configuration(){return this._configuration}set configuration(a){this._configuration=a}getFolder(a){return a&&this._foldersMap.findSubstr(a)||null}updateFoldersMap(){this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0);for(const a of this.folders)this._foldersMap.set(a.uri,a)}toJSON(){return{id:this.id,folders:this.folders,transient:this.transient,configuration:this.configuration}}}e.Workspace=s;class i{constructor(a,u){this.raw=u,this.uri=a.uri,this.index=a.index,this.name=a.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}e.WorkspaceFolder=i,e.WORKSPACE_EXTENSION="code-workspace",e.WORKSPACE_FILTER=[{name:(0,L.localize)(0,null),extensions:[e.WORKSPACE_EXTENSION]}],e.STANDALONE_EDITOR_WORKSPACE_ID="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function n(t){return t.id===e.STANDALONE_EDITOR_WORKSPACE_ID}e.isStandaloneEditorWorkspace=n}),define(ne[909],se([1,0,7,131,39,2,17,16,21,647,30,15,57,34,28,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuController=void 0;let h=u=class{static get(o){return o.getContribution(u.ID)}constructor(o,d,l,p,m,v,b,w){this._contextMenuService=d,this._contextViewService=l,this._contextKeyService=p,this._keybindingService=m,this._menuService=v,this._configurationService=b,this._workspaceContextService=w,this._toDispose=new D.DisposableStore,this._contextMenuIsBeingShownCount=0,this._editor=o,this._toDispose.add(this._editor.onContextMenu(E=>this._onContextMenu(E))),this._toDispose.add(this._editor.onMouseWheel(E=>{if(this._contextMenuIsBeingShownCount>0){const I=this._contextViewService.getContextViewElement(),M=E.srcElement;M.shadowRoot&&L.getShadowRoot(I)===M.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(E=>{this._editor.getOption(23)&&E.keyCode===58&&(E.preventDefault(),E.stopPropagation(),this.showContextMenu())}))}_onContextMenu(o){if(!this._editor.hasModel())return;if(!this._editor.getOption(23)){this._editor.focus(),o.target.position&&!this._editor.getSelection().containsPosition(o.target.position)&&this._editor.setPosition(o.target.position);return}if(o.target.type===12||o.target.type===6&&o.target.detail.injectedText)return;if(o.event.preventDefault(),o.event.stopPropagation(),o.target.type===11)return this._showScrollbarContextMenu(o.event);if(o.target.type!==6&&o.target.type!==7&&o.target.type!==1)return;if(this._editor.focus(),o.target.position){let l=!1;for(const p of this._editor.getSelections())if(p.containsPosition(o.target.position)){l=!0;break}l||this._editor.setPosition(o.target.position)}let d=null;o.target.type!==1&&(d=o.event),this.showContextMenu(d)}showContextMenu(o){if(!this._editor.getOption(23)||!this._editor.hasModel())return;const d=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?C.MenuId.SimpleEditorContext:C.MenuId.EditorContext);d.length>0&&this._doShowContextMenu(d,o)}_getMenuActions(o,d){const l=[],p=this._menuService.createMenu(d,this._contextKeyService),m=p.getActions({arg:o.uri});p.dispose();for(const v of m){const[,b]=v;let w=0;for(const E of b)if(E instanceof C.SubmenuItemAction){const I=this._getMenuActions(o,E.item.submenu);I.length>0&&(l.push(new y.SubmenuAction(E.id,E.label,I)),w++)}else l.push(E),w++;w&&l.push(new y.Separator)}return l.length&&l.pop(),l}_doShowContextMenu(o,d=null){if(!this._editor.hasModel())return;const l=this._editor.getOption(59);this._editor.updateOptions({hover:{enabled:!1}});let p=d;if(!p){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const v=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),b=L.getDomNodePagePosition(this._editor.getDomNode()),w=b.left+v.left,E=b.top+v.top+v.height;p={x:w,y:E}}const m=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:m?this._editor.getDomNode():void 0,getAnchor:()=>p,getActions:()=>o,getActionViewItem:v=>{const b=this._keybindingFor(v);if(b)return new k.ActionViewItem(v,v,{label:!0,keybinding:b.getLabel(),isMenu:!0});const w=v;return typeof w.getActionViewItem=="function"?w.getActionViewItem():new k.ActionViewItem(v,v,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:v=>this._keybindingFor(v),onHide:v=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:l})}})}_showScrollbarContextMenu(o){if(!this._editor.hasModel()||(0,a.isStandaloneEditorWorkspace)(this._workspaceContextService.getWorkspace()))return;const d=this._editor.getOption(71);let l=0;const p=E=>({id:`menu-action-${++l}`,label:E.label,tooltip:"",class:void 0,enabled:typeof E.enabled>"u"?!0:E.enabled,checked:E.checked,run:E.run}),m=(E,I)=>new y.SubmenuAction(`menu-action-${++l}`,E,I,void 0),v=(E,I,M,P,x)=>{if(!I)return p({label:E,enabled:I,run:()=>{}});const T=N=>()=>{this._configurationService.updateValue(M,N)},A=[];for(const N of x)A.push(p({label:N.label,checked:P===N.value,run:T(N.value)}));return m(E,A)},b=[];b.push(p({label:g.localize(0,null),checked:d.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!d.enabled)}})),b.push(new y.Separator),b.push(p({label:g.localize(1,null),enabled:d.enabled,checked:d.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!d.renderCharacters)}})),b.push(v(g.localize(2,null),d.enabled,"editor.minimap.size",d.size,[{label:g.localize(3,null),value:"proportional"},{label:g.localize(4,null),value:"fill"},{label:g.localize(5,null),value:"fit"}])),b.push(v(g.localize(6,null),d.enabled,"editor.minimap.showSlider",d.showSlider,[{label:g.localize(7,null),value:"mouseover"},{label:g.localize(8,null),value:"always"}]));const w=this._editor.getOption(125)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:w?this._editor.getDomNode():void 0,getAnchor:()=>o,getActions:()=>b,onHide:E=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(o){return this._keybindingService.lookupKeybinding(o.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};e.ContextMenuController=h,h.ID="editor.contrib.contextmenu",e.ContextMenuController=h=u=ke([fe(1,i.IContextMenuService),fe(2,i.IContextViewService),fe(3,s.IContextKeyService),fe(4,n.IKeybindingService),fe(5,C.IMenuService),fe(6,t.IConfigurationService),fe(7,a.IWorkspaceContextService)],h);class r extends f.EditorAction{constructor(){super({id:"editor.action.showContextMenu",label:g.localize(9,null),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.textInputFocus,primary:1092,weight:100}})}run(o,d){var l;(l=h.get(d))===null||l===void 0||l.showContextMenu()}}(0,f.registerEditorContribution)(h.ID,h,2),(0,f.registerEditorAction)(r)}),define(ne[376],se([1,0,14,171,2,107,54,45,22,18,651,163]),function(Q,e,L,k,y,D,S,f,_,g,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultPasteProvidersFeature=e.DefaultDropProvidersFeature=void 0;const i=(0,C.localize)(0,null);class n{provideDocumentPasteEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,detail:v.detail,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}provideDocumentOnDropEdits(d,l,p,m){return we(this,void 0,void 0,function*(){const v=yield this.getEdit(p,m);return v?{insertText:v.insertText,label:v.label,handledMimeType:v.handledMimeType,yieldTo:v.yieldTo}:void 0})}}class t extends n{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[D.Mimes.text],this.pasteMimeTypes=[D.Mimes.text]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=d.get(D.Mimes.text);if(!p||d.has(D.Mimes.uriList))return;const m=yield p.asString();return{handledMimeType:D.Mimes.text,label:(0,C.localize)(1,null),detail:i,insertText:m}})}}class a extends n{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;let m=0;const v=p.map(({uri:w,originalText:E})=>w.scheme===S.Schemas.file?w.fsPath:(m++,E)).join(" ");let b;return m>0?b=p.length>1?(0,C.localize)(2,null):(0,C.localize)(3,null):b=p.length>1?(0,C.localize)(4,null):(0,C.localize)(5,null),{handledMimeType:D.Mimes.uriList,insertText:v,label:b,detail:i}})}}let u=class extends n{constructor(d){super(),this._workspaceContextService=d,this.id="relativePath",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(d,l){return we(this,void 0,void 0,function*(){const p=yield h(d);if(!p.length||l.isCancellationRequested)return;const m=(0,L.coalesce)(p.map(({uri:v})=>{const b=this._workspaceContextService.getWorkspaceFolder(v);return b?(0,f.relativePath)(b.uri,v):void 0}));if(m.length)return{handledMimeType:D.Mimes.uriList,insertText:m.join(" "),label:p.length>1?(0,C.localize)(6,null):(0,C.localize)(7,null),detail:i}})}};u=ke([fe(0,s.IWorkspaceContextService)],u);function h(o){return we(this,void 0,void 0,function*(){const d=o.get(D.Mimes.uriList);if(!d)return[];const l=yield d.asString(),p=[];for(const m of k.UriList.parse(l))try{p.push({uri:_.URI.parse(m),originalText:m})}catch{}return p})}let r=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentOnDropEditProvider.register("*",new t)),this._register(d.documentOnDropEditProvider.register("*",new a)),this._register(d.documentOnDropEditProvider.register("*",new u(l)))}};e.DefaultDropProvidersFeature=r,e.DefaultDropProvidersFeature=r=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],r);let c=class extends y.Disposable{constructor(d,l){super(),this._register(d.documentPasteEditProvider.register("*",new t)),this._register(d.documentPasteEditProvider.register("*",new a)),this._register(d.documentPasteEditProvider.register("*",new u(l)))}};e.DefaultPasteProvidersFeature=c,e.DefaultPasteProvidersFeature=c=ke([fe(0,g.ILanguageFeaturesService),fe(1,s.IWorkspaceContextService)],c)}),define(ne[910],se([1,0,16,149,888,376,649]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.CopyPasteController.ID,y.CopyPasteController,0),(0,k.registerEditorFeature)(D.DefaultPasteProvidersFeature),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:y.changePasteTypeCommandId,precondition:y.pasteWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(f,_,g){var C;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.changePasteType()}}),(0,L.registerEditorAction)(class extends L.EditorAction{constructor(){super({id:"editor.action.pasteAs",label:S.localize(0,null),alias:"Paste As...",precondition:void 0,description:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:S.localize(1,null)}}}}]}})}run(f,_,g){var C;const s=typeof g?.id=="string"?g.id:void 0;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.pasteAs(s)}})}),define(ne[911],se([1,0,16,241,149,376,652,98,37,889]),function(Q,e,L,k,y,D,S,f,_,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(g.DropIntoEditorController.ID,g.DropIntoEditorController,2),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:g.changeDropTypeCommandId,precondition:g.dropWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(C,s,i){var n;(n=g.DropIntoEditorController.get(s))===null||n===void 0||n.changeDropType()}}),(0,y.registerEditorFeature)(D.DefaultDropProvidersFeature),_.Registry.as(f.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},k.editorConfigurationBaseNode),{properties:{[g.defaultProviderConfig]:{type:"object",scope:5,description:S.localize(0,null),default:{},additionalProperties:{type:"string"}}}}))}),define(ne[912],se([1,0,571,92,45,11,170,32,128,698,163]),function(Q,e,L,k,y,D,S,f,_,g,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RandomBasedVariableResolver=e.WorkspaceBasedVariableResolver=e.TimeBasedVariableResolver=e.CommentBasedVariableResolver=e.ClipboardBasedVariableResolver=e.ModelBasedVariableResolver=e.SelectionBasedVariableResolver=e.CompositeSnippetVariableResolver=e.KnownSnippetVariableNames=void 0,e.KnownSnippetVariableNames=Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,CURRENT_TIMEZONE_OFFSET:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class s{constructor(o){this._delegates=o}resolve(o){for(const d of this._delegates){const l=d.resolve(o);if(l!==void 0)return l}}}e.CompositeSnippetVariableResolver=s;class i{constructor(o,d,l,p){this._model=o,this._selection=d,this._selectionIdx=l,this._overtypingCapturer=p}resolve(o){const{name:d}=o;if(d==="SELECTION"||d==="TM_SELECTED_TEXT"){let l=this._model.getValueInRange(this._selection)||void 0,p=this._selection.startLineNumber!==this._selection.endLineNumber;if(!l&&this._overtypingCapturer){const m=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);m&&(l=m.value,p=m.multiline)}if(l&&p&&o.snippet){const m=this._model.getLineContent(this._selection.startLineNumber),v=(0,D.getLeadingWhitespace)(m,0,this._selection.startColumn-1);let b=v;o.snippet.walk(E=>E===o?!1:(E instanceof _.Text&&(b=(0,D.getLeadingWhitespace)((0,D.splitLines)(E.value).pop())),!0));const w=(0,D.commonPrefixLength)(b,v);l=l.replace(/(\r\n|\r|\n)(.*)/g,(E,I,M)=>`${I}${b.substr(w)}${M}`)}return l}else{if(d==="TM_CURRENT_LINE")return this._model.getLineContent(this._selection.positionLineNumber);if(d==="TM_CURRENT_WORD"){const l=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return l&&l.word||void 0}else{if(d==="TM_LINE_INDEX")return String(this._selection.positionLineNumber-1);if(d==="TM_LINE_NUMBER")return String(this._selection.positionLineNumber);if(d==="CURSOR_INDEX")return String(this._selectionIdx);if(d==="CURSOR_NUMBER")return String(this._selectionIdx+1)}}}}e.SelectionBasedVariableResolver=i;class n{constructor(o,d){this._labelService=o,this._model=d}resolve(o){const{name:d}=o;if(d==="TM_FILENAME")return k.basename(this._model.uri.fsPath);if(d==="TM_FILENAME_BASE"){const l=k.basename(this._model.uri.fsPath),p=l.lastIndexOf(".");return p<=0?l:l.slice(0,p)}else{if(d==="TM_DIRECTORY")return k.dirname(this._model.uri.fsPath)==="."?"":this._labelService.getUriLabel((0,y.dirname)(this._model.uri));if(d==="TM_FILEPATH")return this._labelService.getUriLabel(this._model.uri);if(d==="RELATIVE_FILEPATH")return this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0})}}}e.ModelBasedVariableResolver=n;class t{constructor(o,d,l,p){this._readClipboardText=o,this._selectionIdx=d,this._selectionCount=l,this._spread=p}resolve(o){if(o.name!=="CLIPBOARD")return;const d=this._readClipboardText();if(d){if(this._spread){const l=d.split(/\r\n|\n|\r/).filter(p=>!(0,D.isFalsyOrWhitespace)(p));if(l.length===this._selectionCount)return l[this._selectionIdx]}return d}}}e.ClipboardBasedVariableResolver=t;let a=class{constructor(o,d,l){this._model=o,this._selection=d,this._languageConfigurationService=l}resolve(o){const{name:d}=o,l=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),p=this._languageConfigurationService.getLanguageConfiguration(l).comments;if(p){if(d==="LINE_COMMENT")return p.lineCommentToken||void 0;if(d==="BLOCK_COMMENT_START")return p.blockCommentStartToken||void 0;if(d==="BLOCK_COMMENT_END")return p.blockCommentEndToken||void 0}}};e.CommentBasedVariableResolver=a,e.CommentBasedVariableResolver=a=ke([fe(2,f.ILanguageConfigurationService)],a);class u{constructor(){this._date=new Date}resolve(o){const{name:d}=o;if(d==="CURRENT_YEAR")return String(this._date.getFullYear());if(d==="CURRENT_YEAR_SHORT")return String(this._date.getFullYear()).slice(-2);if(d==="CURRENT_MONTH")return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if(d==="CURRENT_DATE")return String(this._date.getDate().valueOf()).padStart(2,"0");if(d==="CURRENT_HOUR")return String(this._date.getHours().valueOf()).padStart(2,"0");if(d==="CURRENT_MINUTE")return String(this._date.getMinutes().valueOf()).padStart(2,"0");if(d==="CURRENT_SECOND")return String(this._date.getSeconds().valueOf()).padStart(2,"0");if(d==="CURRENT_DAY_NAME")return u.dayNames[this._date.getDay()];if(d==="CURRENT_DAY_NAME_SHORT")return u.dayNamesShort[this._date.getDay()];if(d==="CURRENT_MONTH_NAME")return u.monthNames[this._date.getMonth()];if(d==="CURRENT_MONTH_NAME_SHORT")return u.monthNamesShort[this._date.getMonth()];if(d==="CURRENT_SECONDS_UNIX")return String(Math.floor(this._date.getTime()/1e3));if(d==="CURRENT_TIMEZONE_OFFSET"){const l=this._date.getTimezoneOffset(),p=l>0?"-":"+",m=Math.trunc(Math.abs(l/60)),v=m<10?"0"+m:m,b=Math.abs(l)-m*60,w=b<10?"0"+b:b;return p+v+":"+w}}}e.TimeBasedVariableResolver=u,u.dayNames=[g.localize(0,null),g.localize(1,null),g.localize(2,null),g.localize(3,null),g.localize(4,null),g.localize(5,null),g.localize(6,null)],u.dayNamesShort=[g.localize(7,null),g.localize(8,null),g.localize(9,null),g.localize(10,null),g.localize(11,null),g.localize(12,null),g.localize(13,null)],u.monthNames=[g.localize(14,null),g.localize(15,null),g.localize(16,null),g.localize(17,null),g.localize(18,null),g.localize(19,null),g.localize(20,null),g.localize(21,null),g.localize(22,null),g.localize(23,null),g.localize(24,null),g.localize(25,null)],u.monthNamesShort=[g.localize(26,null),g.localize(27,null),g.localize(28,null),g.localize(29,null),g.localize(30,null),g.localize(31,null),g.localize(32,null),g.localize(33,null),g.localize(34,null),g.localize(35,null),g.localize(36,null),g.localize(37,null)];class h{constructor(o){this._workspaceService=o}resolve(o){if(!this._workspaceService)return;const d=(0,C.toWorkspaceIdentifier)(this._workspaceService.getWorkspace());if(!(0,C.isEmptyWorkspaceIdentifier)(d)){if(o.name==="WORKSPACE_NAME")return this._resolveWorkspaceName(d);if(o.name==="WORKSPACE_FOLDER")return this._resoveWorkspacePath(d)}}_resolveWorkspaceName(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return k.basename(o.uri.path);let d=k.basename(o.configPath.path);return d.endsWith(C.WORKSPACE_EXTENSION)&&(d=d.substr(0,d.length-C.WORKSPACE_EXTENSION.length-1)),d}_resoveWorkspacePath(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return(0,L.normalizeDriveLetter)(o.uri.fsPath);const d=k.basename(o.configPath.path);let l=o.configPath.fsPath;return l.endsWith(d)&&(l=l.substr(0,l.length-d.length-1)),l?(0,L.normalizeDriveLetter)(l):"/"}}e.WorkspaceBasedVariableResolver=h;class r{resolve(o){const{name:d}=o;if(d==="RANDOM")return Math.random().toString().slice(-6);if(d==="RANDOM_HEX")return Math.random().toString(16).slice(-6);if(d==="UUID")return(0,S.generateUuid)()}}e.RandomBasedVariableResolver=r}),define(ne[377],se([1,0,14,2,11,73,5,24,32,40,158,163,128,912,460]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetSession=e.OneSnippet=void 0;class a{constructor(c,o,d){this._editor=c,this._snippet=o,this._snippetLineLeadingWhitespace=d,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,L.groupBy)(o.placeholders,i.Placeholder.compareByIndex),this._placeholderGroupsIdx=-1}initialize(c){this._offset=c.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(this._offset===-1)throw new Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const c=this._editor.getModel();this._editor.changeDecorations(o=>{for(const d of this._snippet.placeholders){const l=this._snippet.offset(d),p=this._snippet.fullLen(d),m=S.Range.fromPositions(c.getPositionAt(this._offset+l),c.getPositionAt(this._offset+l+p)),v=d.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive,b=o.addDecoration(m,v);this._placeholderDecorations.set(d,b)}})}move(c){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){const l=[];for(const p of this._placeholderGroups[this._placeholderGroupsIdx])if(p.transform){const m=this._placeholderDecorations.get(p),v=this._editor.getModel().getDecorationRange(m),b=this._editor.getModel().getValueInRange(v),w=p.transform.resolve(b).split(/\r\n|\r|\n/);for(let E=1;E0&&this._editor.executeEdits("snippet.placeholderTransform",l)}let o=!1;c===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,o=!0);const d=this._editor.getModel().changeDecorations(l=>{const p=new Set,m=[];for(const v of this._placeholderGroups[this._placeholderGroupsIdx]){const b=this._placeholderDecorations.get(v),w=this._editor.getModel().getDecorationRange(b);m.push(new f.Selection(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn)),o=o&&this._hasPlaceholderBeenCollapsed(v),l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(v);for(const E of this._snippet.enclosingPlaceholders(v)){const I=this._placeholderDecorations.get(E);l.changeDecorationOptions(I,E.isFinalTabstop?a._decor.activeFinal:a._decor.active),p.add(E)}}for(const[v,b]of this._placeholderDecorations)p.has(v)||l.changeDecorationOptions(b,v.isFinalTabstop?a._decor.inactiveFinal:a._decor.inactive);return m});return o?this.move(c):d??[]}_hasPlaceholderBeenCollapsed(c){let o=c;for(;o;){if(o instanceof i.Placeholder){const d=this._placeholderDecorations.get(o);if(this._editor.getModel().getDecorationRange(d).isEmpty()&&o.toString().length>0)return!0}o=o.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(this._snippet.placeholders.length===0)return!0;if(this._snippet.placeholders.length===1){const[c]=this._snippet.placeholders;if(c.isFinalTabstop&&this._snippet.rightMostDescendant===c)return!0}return!1}computePossibleSelections(){const c=new Map;for(const o of this._placeholderGroups){let d;for(const l of o){if(l.isFinalTabstop)break;d||(d=[],c.set(l.index,d));const p=this._placeholderDecorations.get(l),m=this._editor.getModel().getDecorationRange(p);if(!m){c.delete(l.index);break}d.push(m)}}return c}get activeChoice(){if(!this._placeholderDecorations)return;const c=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!c?.choice)return;const o=this._placeholderDecorations.get(c);if(!o)return;const d=this._editor.getModel().getDecorationRange(o);if(d)return{range:d,choice:c.choice}}get hasChoice(){let c=!1;return this._snippet.walk(o=>(c=o instanceof i.Choice,!c)),c}merge(c){const o=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(d=>{for(const l of this._placeholderGroups[this._placeholderGroupsIdx]){const p=c.shift();console.assert(p._offset!==-1),console.assert(!p._placeholderDecorations);const m=p._snippet.placeholderInfo.last.index;for(const b of p._snippet.placeholderInfo.all)b.isFinalTabstop?b.index=l.index+(m+1)/this._nestingLevel:b.index=l.index+b.index/this._nestingLevel;this._snippet.replace(l,p._snippet.children);const v=this._placeholderDecorations.get(l);d.removeDecoration(v),this._placeholderDecorations.delete(l);for(const b of p._snippet.placeholders){const w=p._snippet.offset(b),E=p._snippet.fullLen(b),I=S.Range.fromPositions(o.getPositionAt(p._offset+w),o.getPositionAt(p._offset+w+E)),M=d.addDecoration(I,a._decor.inactive);this._placeholderDecorations.set(b,M)}}this._placeholderGroups=(0,L.groupBy)(this._snippet.placeholders,i.Placeholder.compareByIndex)})}}e.OneSnippet=a,a._decor={active:g.ModelDecorationOptions.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:g.ModelDecorationOptions.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:g.ModelDecorationOptions.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const u={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let h=t=class{static adjustWhitespace(c,o,d,l,p){const m=c.getLineContent(o.lineNumber),v=(0,y.getLeadingWhitespace)(m,0,o.column-1);let b;return l.walk(w=>{if(!(w instanceof i.Text)||w.parent instanceof i.Choice||p&&!p.has(w))return!0;const E=w.value.split(/\r\n|\r|\n/);if(d){const M=l.offset(w);if(M===0)E[0]=c.normalizeIndentation(E[0]);else{b=b??l.toString();const P=b.charCodeAt(M-1);(P===10||P===13)&&(E[0]=c.normalizeIndentation(v+E[0]))}for(let P=1;PW.get(s.IWorkspaceContextService)),x=c.invokeWithinContext(W=>new n.ModelBasedVariableResolver(W.get(C.ILabelService),M)),T=()=>v,A=M.getValueInRange(t.adjustSelection(M,c.getSelection(),d,0)),N=M.getValueInRange(t.adjustSelection(M,c.getSelection(),0,l)),F=M.getLineFirstNonWhitespaceColumn(c.getSelection().positionLineNumber),O=c.getSelections().map((W,U)=>({selection:W,idx:U})).sort((W,U)=>S.Range.compareRangesUsingStarts(W.selection,U.selection));for(const{selection:W,idx:U}of O){let j=t.adjustSelection(M,W,d,0),R=t.adjustSelection(M,W,0,l);A!==M.getValueInRange(j)&&(j=W),N!==M.getValueInRange(R)&&(R=W);const K=W.setStartPosition(j.startLineNumber,j.startColumn).setEndPosition(R.endLineNumber,R.endColumn),G=new i.SnippetParser().parse(o,!0,p),Z=K.getStartPosition(),J=t.adjustWhitespace(M,Z,m||U>0&&F!==M.getLineFirstNonWhitespaceColumn(W.positionLineNumber),G);G.resolveVariables(new n.CompositeSnippetVariableResolver([x,new n.ClipboardBasedVariableResolver(T,U,O.length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(M,W,U,b),new n.CommentBasedVariableResolver(M,W,w),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(P),new n.RandomBasedVariableResolver])),E[U]=D.EditOperation.replace(K,G.toString()),E[U].identifier={major:U,minor:0},E[U]._isTracked=!0,I[U]=new a(c,G,J)}return{edits:E,snippets:I}}static createEditsAndSnippetsFromEdits(c,o,d,l,p,m,v){if(!c.hasModel()||o.length===0)return{edits:[],snippets:[]};const b=[],w=c.getModel(),E=new i.SnippetParser,I=new i.TextmateSnippet,M=new n.CompositeSnippetVariableResolver([c.invokeWithinContext(x=>new n.ModelBasedVariableResolver(x.get(C.ILabelService),w)),new n.ClipboardBasedVariableResolver(()=>p,0,c.getSelections().length,c.getOption(77)==="spread"),new n.SelectionBasedVariableResolver(w,c.getSelection(),0,m),new n.CommentBasedVariableResolver(w,c.getSelection(),v),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(c.invokeWithinContext(x=>x.get(s.IWorkspaceContextService))),new n.RandomBasedVariableResolver]);o=o.sort((x,T)=>S.Range.compareRangesUsingStarts(x.range,T.range));let P=0;for(let x=0;x0){const U=o[x-1].range,j=S.Range.fromPositions(U.getEndPosition(),T.getStartPosition()),R=new i.Text(w.getValueInRange(j));I.appendChild(R),P+=R.value.length}const N=E.parseFragment(A,I);t.adjustWhitespace(w,T.getStartPosition(),!0,I,new Set(N)),I.resolveVariables(M);const F=I.toString(),O=F.slice(P);P=F.length;const W=D.EditOperation.replace(T,O);W.identifier={major:x,minor:0},W._isTracked=!0,b.push(W)}return E.ensureFinalTabstop(I,d,!0),{edits:b,snippets:[new a(c,I,"")]}}constructor(c,o,d=u,l){this._editor=c,this._template=o,this._options=d,this._languageConfigurationService=l,this._templateMerges=[],this._snippets=[]}dispose(){(0,k.dispose)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:c,snippets:o}=typeof this._template=="string"?t.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):t.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=o,this._editor.executeEdits("snippet",c,d=>{const l=d.filter(p=>!!p.identifier);for(let p=0;pf.Selection.fromPositions(p.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(c,o=u){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,c]);const{edits:d,snippets:l}=t.createEditsAndSnippetsFromSelections(this._editor,c,o.overwriteBefore,o.overwriteAfter,!0,o.adjustWhitespace,o.clipboardText,o.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",d,p=>{const m=p.filter(b=>!!b.identifier);for(let b=0;bf.Selection.fromPositions(b.range.getEndPosition()))})}next(){const c=this._move(!0);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}prev(){const c=this._move(!1);this._editor.setSelections(c),this._editor.revealPositionInCenterIfOutsideViewport(c[0].getPosition())}_move(c){const o=[];for(const d of this._snippets){const l=d.move(c);o.push(...l)}return o}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const c=this._editor.getSelections();if(c.length{p.push(...l.get(m))})}c.sort(S.Range.compareRangesUsingStarts);for(const[d,l]of o){if(l.length!==c.length){o.delete(d);continue}l.sort(S.Range.compareRangesUsingStarts);for(let p=0;p0}};e.SnippetSession=h,e.SnippetSession=h=t=ke([fe(3,_.ILanguageConfigurationService)],h)}),define(ne[194],se([1,0,2,20,16,12,21,32,18,135,697,15,70,377]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetController2=void 0;const a={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let u=t=class{static get(c){return c.getContribution(t.ID)}constructor(c,o,d,l,p){this._editor=c,this._logService=o,this._languageFeaturesService=d,this._languageConfigurationService=p,this._snippetListener=new L.DisposableStore,this._modelVersionId=-1,this._inSnippet=t.InSnippetMode.bindTo(l),this._hasNextTabstop=t.HasNextTabstop.bindTo(l),this._hasPrevTabstop=t.HasPrevTabstop.bindTo(l)}dispose(){var c;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),(c=this._session)===null||c===void 0||c.dispose(),this._snippetListener.dispose()}insert(c,o){try{this._doInsert(c,typeof o>"u"?a:Object.assign(Object.assign({},a),o))}catch(d){this.cancel(),this._logService.error(d),this._logService.error("snippet_error"),this._logService.error("insert_template=",c),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}}_doInsert(c,o){var d;if(this._editor.hasModel()){if(this._snippetListener.clear(),o.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&typeof c!="string"&&this.cancel(),this._session?((0,k.assertType)(typeof c=="string"),this._session.merge(c,o)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new n.SnippetSession(this._editor,c,o,this._languageConfigurationService),this._session.insert()),o.undoStopAfter&&this._editor.getModel().pushStackElement(),!((d=this._session)===null||d===void 0)&&d.hasChoice){const l={_debugDisplayName:"snippetChoiceCompletions",provideCompletionItems:(E,I)=>{if(!this._session||E!==this._editor.getModel()||!D.Position.equals(this._editor.getPosition(),I))return;const{activeChoice:M}=this._session;if(!M||M.choice.options.length===0)return;const P=E.getValueInRange(M.range),x=!!M.choice.options.find(A=>A.value===P),T=[];for(let A=0;A{m?.dispose(),v=!1},w=()=>{v||(m=this._languageFeaturesService.completionProvider.register({language:p.getLanguageId(),pattern:p.uri.fsPath,scheme:p.uri.scheme,exclusive:!0},l),this._snippetListener.add(m),v=!0)};this._choiceCompletions={provider:l,enable:w,disable:b}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(l=>l.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){if(!(!this._session||!this._editor.hasModel())){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){var c;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{activeChoice:o}=this._session;if(!o||!this._choiceCompletions){(c=this._choiceCompletions)===null||c===void 0||c.disable(),this._currentChoice=void 0;return}this._currentChoice!==o.choice&&(this._currentChoice=o.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{(0,g.showSimpleSuggestions)(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(c=!1){var o;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,(o=this._session)===null||o===void 0||o.dispose(),this._session=void 0,this._modelVersionId=-1,c&&this._editor.setSelections([this._editor.getSelection()])}prev(){var c;(c=this._session)===null||c===void 0||c.prev(),this._updateState()}next(){var c;(c=this._session)===null||c===void 0||c.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};e.SnippetController2=u,u.ID="snippetController2",u.InSnippetMode=new s.RawContextKey("inSnippetMode",!1,(0,C.localize)(0,null)),u.HasNextTabstop=new s.RawContextKey("hasNextTabstop",!1,(0,C.localize)(1,null)),u.HasPrevTabstop=new s.RawContextKey("hasPrevTabstop",!1,(0,C.localize)(2,null)),e.SnippetController2=u=t=ke([fe(1,i.ILogService),fe(2,_.ILanguageFeaturesService),fe(3,s.IContextKeyService),fe(4,f.ILanguageConfigurationService)],u),(0,y.registerEditorContribution)(u.ID,u,4);const h=y.EditorCommand.bindToContribution(u.get);(0,y.registerEditorCommand)(new h({id:"jumpToNextSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasNextTabstop),handler:r=>r.next(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:2}})),(0,y.registerEditorCommand)(new h({id:"jumpToPrevSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasPrevTabstop),handler:r=>r.prev(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:1026}})),(0,y.registerEditorCommand)(new h({id:"leaveSnippet",precondition:u.InSnippetMode,handler:r=>r.cancel(!0),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new h({id:"acceptSnippet",precondition:u.InSnippetMode,handler:r=>r.finish()}))}),define(ne[913],se([1,0,14,9,2,42,20,73,12,5,29,32,215,779,151,194,27,8]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsModel=e.VersionIdChangeReason=void 0;var r;(function(o){o[o.Undo=0]="Undo",o[o.Redo=1]="Redo",o[o.AcceptWord=2]="AcceptWord",o[o.Other=3]="Other"})(r||(e.VersionIdChangeReason=r={}));let c=class extends y.Disposable{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(d,l,p,m,v,b,w,E,I,M,P,x){super(),this.textModel=d,this.selectedSuggestItem=l,this.cursorPosition=p,this.textModelVersionId=m,this._debounceValue=v,this._suggestPreviewEnabled=b,this._suggestPreviewMode=w,this._inlineSuggestMode=E,this._enabled=I,this._instantiationService=M,this._commandService=P,this._languageConfigurationService=x,this._source=this._register(this._instantiationService.createInstance(n.InlineCompletionsSource,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,D.observableValue)("isActive",!1),this._forceUpdate=(0,D.observableSignal)("forceUpdate"),this._selectedInlineCompletionId=(0,D.observableValue)("selectedInlineCompletionId",void 0),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([r.Redo,r.Undo,r.AcceptWord]),this._fetchInlineCompletions=(0,D.derivedHandleChanges)("fetch inline completions",{createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:C.InlineCompletionTriggerKind.Automatic}),handleChange:(A,N)=>(A.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(A.change)?N.preserveCurrentCompletion=!0:A.didChange(this._forceUpdate)&&(N.inlineCompletionTriggerKind=A.change),!0)},(A,N)=>{if(this._forceUpdate.read(A),!(this._enabled.read(A)&&this.selectedSuggestItem.read(A)||this._isActive.read(A))){this._source.cancelUpdate();return}this.textModelVersionId.read(A);const O=this.selectedInlineCompletion.get(),W=N.preserveCurrentCompletion||O?.forwardStable?O:void 0,U=this._source.suggestWidgetInlineCompletions.get(),j=this.selectedSuggestItem.read(A);if(U&&!j){const G=this._source.inlineCompletions.get();(0,D.transaction)(Z=>{G&&U.request.versionId>G.request.versionId&&this._source.inlineCompletions.set(U.clone(),Z),this._source.clearSuggestWidgetInlineCompletions(Z)})}const R=this.cursorPosition.read(A),K={triggerKind:N.inlineCompletionTriggerKind,selectedSuggestionInfo:j?.toSelectedSuggestionInfo()};return this._source.fetch(R,K,W)}),this._filteredInlineCompletionItems=(0,D.derived)(A=>{const N=this._source.inlineCompletions.read(A);if(!N)return[];const F=this.cursorPosition.read(A);return N.inlineCompletions.filter(W=>W.isVisible(this.textModel,F,A))}),this.selectedInlineCompletionIndex=(0,D.derived)(A=>{const N=this._selectedInlineCompletionId.read(A),F=this._filteredInlineCompletionItems.read(A),O=this._selectedInlineCompletionId===void 0?-1:F.findIndex(W=>W.semanticId===N);return O===-1?(this._selectedInlineCompletionId.set(void 0,void 0),0):O}),this.selectedInlineCompletion=(0,D.derived)(A=>{const N=this._filteredInlineCompletionItems.read(A),F=this.selectedInlineCompletionIndex.read(A);return N[F]}),this.lastTriggerKind=this._source.inlineCompletions.map(A=>A?.request.context.triggerKind),this.inlineCompletionsCount=(0,D.derived)(A=>{if(this.lastTriggerKind.read(A)===C.InlineCompletionTriggerKind.Explicit)return this._filteredInlineCompletionItems.read(A).length}),this.state=(0,D.derivedOpts)({equalityComparer:(A,N)=>!A||!N?A===N:(0,i.ghostTextOrReplacementEquals)(A.ghostText,N.ghostText)&&A.inlineCompletion===N.inlineCompletion&&A.suggestItem===N.suggestItem},A=>{var N;const F=this.textModel,O=this.selectedSuggestItem.read(A);if(O){const W=O.toSingleTextEdit().removeCommonPrefix(F),U=this._computeAugmentedCompletion(W,A);if(!this._suggestPreviewEnabled.read(A)&&!U)return;const R=(N=U?.edit)!==null&&N!==void 0?N:W,K=U?U.edit.text.length-W.text.length:0,G=this._suggestPreviewMode.read(A),Z=this.cursorPosition.read(A),J=R.computeGhostText(F,G,Z,K);return{ghostText:J??new i.GhostText(R.range.endLineNumber,[]),inlineCompletion:U?.completion,suggestItem:O}}else{if(!this._isActive.read(A))return;const W=this.selectedInlineCompletion.read(A);if(!W)return;const U=W.toSingleTextEdit(A),j=this._inlineSuggestMode.read(A),R=this.cursorPosition.read(A),K=U.computeGhostText(F,j,R);return K?{ghostText:K,inlineCompletion:W,suggestItem:void 0}:void 0}}),this.ghostText=(0,D.derivedOpts)({equalityComparer:i.ghostTextOrReplacementEquals},A=>{const N=this.state.read(A);if(N)return N.ghostText}),this._register((0,D.keepAlive)(this._fetchInlineCompletions,!0));let T;this._register((0,D.autorun)(A=>{var N,F;const O=this.state.read(A),W=O?.inlineCompletion;if(W?.semanticId!==T?.semanticId&&(T=W,W)){const U=W.inlineCompletion,j=U.source;(F=(N=j.provider).handleItemDidShow)===null||F===void 0||F.call(N,j.inlineCompletions,U.sourceInlineCompletion,U.insertText)}}))}trigger(d){return we(this,void 0,void 0,function*(){this._isActive.set(!0,d),yield this._fetchInlineCompletions.get()})}triggerExplicitly(d){return we(this,void 0,void 0,function*(){(0,D.subtransaction)(d,l=>{this._isActive.set(!0,l),this._forceUpdate.trigger(l,C.InlineCompletionTriggerKind.Explicit)}),yield this._fetchInlineCompletions.get()})}stop(d){(0,D.subtransaction)(d,l=>{this._isActive.set(!1,l),this._source.clear(l)})}_computeAugmentedCompletion(d,l){const p=this.textModel,m=this._source.suggestWidgetInlineCompletions.read(l),v=m?m.inlineCompletions:[this.selectedInlineCompletion.read(l)].filter(S.isDefined);return(0,L.mapFind)(v,w=>{let E=w.toSingleTextEdit(l);return E=E.removeCommonPrefix(p,g.Range.fromPositions(E.range.getStartPosition(),d.range.getEndPosition())),E.augments(d)?{edit:E,completion:w}:void 0})}_deltaSelectedInlineCompletionIndex(d){return we(this,void 0,void 0,function*(){yield this.triggerExplicitly();const l=this._filteredInlineCompletionItems.get()||[];if(l.length>0){const p=(this.selectedInlineCompletionIndex.get()+d+l.length)%l.length;this._selectedInlineCompletionId.set(l[p].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)})}next(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(1)})}previous(){return we(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(-1)})}accept(d){var l;return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.inlineCompletion.toInlineCompletion(void 0);d.pushUndoStop(),m.snippetInfo?(d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,""),...m.additionalTextEdits]),d.setPosition(m.snippetInfo.range.getStartPosition()),(l=a.SnippetController2.get(d))===null||l===void 0||l.insert(m.snippetInfo.snippet,{undoStopBefore:!1})):d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replaceMove(m.range,m.insertText),...m.additionalTextEdits]),m.command&&m.source.addRef(),(0,D.transaction)(v=>{this._source.clear(v),this._isActive.set(!1,v)}),m.command&&(yield this._commandService.executeCommand(m.command.id,...m.command.arguments||[]).then(void 0,k.onUnexpectedExternalError),m.source.removeRef())})}acceptNextWord(d){return we(this,void 0,void 0,function*(){yield this._acceptNext(d,(l,p)=>{const m=this.textModel.getLanguageIdAtPosition(l.lineNumber,l.column),v=this._languageConfigurationService.getLanguageConfiguration(m),b=new RegExp(v.wordDefinition.source,v.wordDefinition.flags.replace("g","")),w=p.match(b);let E=0;w&&w.index!==void 0?w.index===0?E=w[0].length:E=w.index:E=p.length;const M=/\s+/g.exec(p);return M&&M.index!==void 0&&M.index+M[0].length{const m=p.match(/\n/);return m&&m.index!==void 0?m.index+1:p.length})})}_acceptNext(d,l){return we(this,void 0,void 0,function*(){if(d.getModel()!==this.textModel)throw new k.BugIndicatingError;const p=this.state.get();if(!p||p.ghostText.isEmpty()||!p.inlineCompletion)return;const m=p.ghostText,v=p.inlineCompletion.toInlineCompletion(void 0);if(v.snippetInfo||v.filterText!==v.insertText){yield this.accept(d);return}const b=m.parts[0],w=new _.Position(m.lineNumber,b.column),E=b.lines.join(` -`),I=l(w,E);if(I===E.length&&m.parts.length===1){this.accept(d);return}const M=E.substring(0,I);this._isAcceptingPartially=!0;try{d.pushUndoStop(),d.executeEdits("inlineSuggestion.accept",[f.EditOperation.replace(g.Range.fromPositions(w),M)]);const P=(0,t.lengthOfText)(M);d.setPosition((0,t.addPositions)(w,P))}finally{this._isAcceptingPartially=!1}if(v.source.provider.handlePartialAccept){const P=g.Range.fromPositions(v.range.getStartPosition(),(0,t.addPositions)(w,(0,t.lengthOfText)(M))),x=d.getModel().getValueInRange(P,1);v.source.provider.handlePartialAccept(v.source.inlineCompletions,v.sourceInlineCompletion,x.length)}})}handleSuggestAccepted(d){var l,p;const m=d.toSingleTextEdit().removeCommonPrefix(this.textModel),v=this._computeAugmentedCompletion(m,void 0);if(!v)return;const b=v.completion.inlineCompletion;(p=(l=b.source.provider).handlePartialAccept)===null||p===void 0||p.call(l,b.source.inlineCompletions,b.sourceInlineCompletion,m.text.length)}};e.InlineCompletionsModel=c,e.InlineCompletionsModel=c=ke([fe(9,h.IInstantiationService),fe(10,u.ICommandService),fe(11,s.ILanguageConfigurationService)],c)}),define(ne[914],se([1,0,13,19,9,6,2,11,24,115,301,96,28,15,70,79,300,135,18,72,20,235,194,239]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestModel=e.LineContext=void 0;class v{static shouldAutoTrigger(M){if(!M.hasModel())return!1;const P=M.getModel(),x=M.getPosition();P.tokenization.tokenizeIfCheap(x.lineNumber);const T=P.getWordAtPosition(x);return!(!T||T.endColumn!==x.column&&T.startColumn+1!==x.column||!isNaN(Number(T.word)))}constructor(M,P,x){this.leadingLineContent=M.getLineContent(P.lineNumber).substr(0,P.column-1),this.leadingWord=M.getWordUntilPosition(P),this.lineNumber=P.lineNumber,this.column=P.column,this.triggerOptions=x}}e.LineContext=v;function b(I,M,P){if(!M.getContextKeyValue(d.InlineCompletionContextKeys.inlineSuggestionVisible.key))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}function w(I,M,P){if(!M.getContextKeyValue("inlineSuggestionVisible"))return!0;const x=M.getContextKeyValue(d.InlineCompletionContextKeys.suppressSuggestions.key);return x!==void 0?!x:!I.getOption(61).suppressSuggestions}let E=m=class{constructor(M,P,x,T,A,N,F,O,W){this._editor=M,this._editorWorkerService=P,this._clipboardService=x,this._telemetryService=T,this._logService=A,this._contextKeyService=N,this._configurationService=F,this._languageFeaturesService=O,this._envService=W,this._toDispose=new S.DisposableStore,this._triggerCharacterListener=new S.DisposableStore,this._triggerQuickSuggest=new L.TimeoutTimer,this._triggerState=void 0,this._completionDisposables=new S.DisposableStore,this._onDidCancel=new D.Emitter,this._onDidTrigger=new D.Emitter,this._onDidSuggest=new D.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new _.Selection(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let U=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{U=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{U=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(j=>{U||this._onCursorChange(j)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{!U&&this._triggerState!==void 0&&this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,S.dispose)(this._triggerCharacterListener),(0,S.dispose)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(89)||!this._editor.hasModel()||!this._editor.getOption(119))return;const M=new Map;for(const x of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const T of x.triggerCharacters||[]){let A=M.get(T);A||(A=new Set,A.add((0,h.getSnippetSuggestSupport)()),M.set(T,A)),A.add(x)}const P=x=>{var T;if(!w(this._editor,this._contextKeyService,this._configurationService)||v.shouldAutoTrigger(this._editor))return;if(!x){const F=this._editor.getPosition();x=this._editor.getModel().getLineContent(F.lineNumber).substr(0,F.column-1)}let A="";(0,f.isLowSurrogate)(x.charCodeAt(x.length-1))?(0,f.isHighSurrogate)(x.charCodeAt(x.length-2))&&(A=x.substr(x.length-2)):A=x.charAt(x.length-1);const N=M.get(A);if(N){const F=new Map;if(this._completionModel)for(const[O,W]of this._completionModel.getItemsByProvider())N.has(O)||F.set(O,W);this.trigger({auto:!0,triggerKind:1,triggerCharacter:A,retrigger:!!this._completionModel,clipboardText:(T=this._completionModel)===null||T===void 0?void 0:T.clipboardText,completionOptions:{providerFilter:N,providerItemsToReuse:F}})}};this._triggerCharacterListener.add(this._editor.onDidType(P)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>P()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(M=!1){var P;this._triggerState!==void 0&&(this._triggerQuickSuggest.cancel(),(P=this._requestToken)===null||P===void 0||P.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:M}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._triggerState!==void 0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._triggerState.auto,retrigger:!0}))}_onCursorChange(M){if(!this._editor.hasModel())return;const P=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!M.selection.isEmpty()||M.reason!==0&&M.reason!==3||M.source!=="keyboard"&&M.source!=="deleteLeft"){this.cancel();return}this._triggerState===void 0&&M.reason===0?(P.containsRange(this._currentSelection)||P.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._triggerState!==void 0&&M.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._triggerState===void 0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var M;h.QuickSuggestionsOptions.isAllOff(this._editor.getOption(87))||this._editor.getOption(116).snippetsPreventQuickSuggestions&&(!((M=l.SnippetController2.get(this._editor))===null||M===void 0)&&M.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._triggerState!==void 0||!v.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;const P=this._editor.getModel(),x=this._editor.getPosition(),T=this._editor.getOption(87);if(!h.QuickSuggestionsOptions.isAllOff(T)){if(!h.QuickSuggestionsOptions.isAllOn(T)){P.tokenization.tokenizeIfCheap(x.lineNumber);const A=P.tokenization.getLineTokens(x.lineNumber),N=A.getStandardTokenType(A.findTokenIndexAtOffset(Math.max(x.column-1-1,0)));if(h.QuickSuggestionsOptions.valueFor(T,N)!=="on")return}b(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(P)&&this.trigger({auto:!0})}},this._editor.getOption(88)))}_refilterCompletionItems(){(0,o.assertType)(this._editor.hasModel()),(0,o.assertType)(this._triggerState!==void 0);const M=this._editor.getModel(),P=this._editor.getPosition(),x=new v(M,P,Object.assign(Object.assign({},this._triggerState),{refilter:!0}));this._onNewContext(x)}trigger(M){var P,x,T,A,N,F;if(!this._editor.hasModel())return;const O=this._editor.getModel(),W=new v(O,this._editor.getPosition(),M);this.cancel(M.retrigger),this._triggerState=M,this._onDidTrigger.fire({auto:M.auto,shy:(P=M.shy)!==null&&P!==void 0?P:!1,position:this._editor.getPosition()}),this._context=W;let U={triggerKind:(x=M.triggerKind)!==null&&x!==void 0?x:0};M.triggerCharacter&&(U={triggerKind:1,triggerCharacter:M.triggerCharacter}),this._requestToken=new k.CancellationTokenSource;const j=this._editor.getOption(110);let R=1;switch(j){case"top":R=0;break;case"bottom":R=2;break}const{itemKind:K,showDeprecated:G}=m._createSuggestFilter(this._editor),Z=new h.CompletionOptions(R,(A=(T=M.completionOptions)===null||T===void 0?void 0:T.kindFilter)!==null&&A!==void 0?A:K,(N=M.completionOptions)===null||N===void 0?void 0:N.providerFilter,(F=M.completionOptions)===null||F===void 0?void 0:F.providerItemsToReuse,G),J=C.WordDistance.create(this._editorWorkerService,this._editor),X=(0,h.provideSuggestionItems)(this._languageFeaturesService.completionProvider,O,this._editor.getPosition(),Z,U,this._requestToken.token);Promise.all([X,J]).then(([H,B])=>we(this,void 0,void 0,function*(){var V;if((V=this._requestToken)===null||V===void 0||V.dispose(),!this._editor.hasModel())return;let Y=M?.clipboardText;if(!Y&&H.needsClipboard&&(Y=yield this._clipboardService.readText()),this._triggerState===void 0)return;const ie=this._editor.getModel(),ae=new v(ie,this._editor.getPosition(),M),ce=Object.assign(Object.assign({},c.FuzzyScoreOptions.default),{firstMatchCanBeWeak:!this._editor.getOption(116).matchOnWordStartOnly});if(this._completionModel=new u.CompletionModel(H.items,this._context.column,{leadingLineContent:ae.leadingLineContent,characterCountDelta:ae.column-this._context.column},B,this._editor.getOption(116),this._editor.getOption(110),ce,Y),this._completionDisposables.add(H.disposable),this._onNewContext(ae),this._reportDurationsTelemetry(H.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(const de of H.items)de.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${de.provider._debugDisplayName}`,de.completion)})).catch(y.onUnexpectedError)}_reportDurationsTelemetry(M){this._telemetryGate++%230===0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(M)}),this._logService.debug("suggest.durations.json",M)})}static _createSuggestFilter(M){const P=new Set;M.getOption(110)==="none"&&P.add(27);const T=M.getOption(116);return T.showMethods||P.add(0),T.showFunctions||P.add(1),T.showConstructors||P.add(2),T.showFields||P.add(3),T.showVariables||P.add(4),T.showClasses||P.add(5),T.showStructs||P.add(6),T.showInterfaces||P.add(7),T.showModules||P.add(8),T.showProperties||P.add(9),T.showEvents||P.add(10),T.showOperators||P.add(11),T.showUnits||P.add(12),T.showValues||P.add(13),T.showConstants||P.add(14),T.showEnums||P.add(15),T.showEnumMembers||P.add(16),T.showKeywords||P.add(17),T.showWords||P.add(18),T.showColors||P.add(19),T.showFiles||P.add(20),T.showReferences||P.add(21),T.showColors||P.add(22),T.showFolders||P.add(23),T.showTypeParameters||P.add(24),T.showSnippets||P.add(27),T.showUsers||P.add(25),T.showIssues||P.add(26),{itemKind:P,showDeprecated:T.showDeprecated}}_onNewContext(M){if(this._context){if(M.lineNumber!==this._context.lineNumber){this.cancel();return}if((0,f.getLeadingWhitespace)(M.leadingLineContent)!==(0,f.getLeadingWhitespace)(this._context.leadingLineContent)){this.cancel();return}if(M.columnthis._context.leadingWord.startColumn){if(v.shouldAutoTrigger(this._editor)&&this._context){const x=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:x}})}return}if(M.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&M.leadingWord.word.length!==0){const P=new Map,x=new Set;for(const[T,A]of this._completionModel.getItemsByProvider())A.length>0&&A[0].container.incomplete?x.add(T):P.set(T,A);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:x,providerItemsToReuse:P}})}else{const P=this._completionModel.lineContext;let x=!1;if(this._completionModel.lineContext={leadingLineContent:M.leadingLineContent,characterCountDelta:M.column-this._context.column},this._completionModel.items.length===0){const T=v.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(T&&this._context.leadingWord.endColumn0,x&&M.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:M.triggerOptions,isFrozen:x})}}}}};e.SuggestModel=E,e.SuggestModel=E=m=ke([fe(1,g.IEditorWorkerService),fe(2,s.IClipboardService),fe(3,a.ITelemetryService),fe(4,t.ILogService),fe(5,n.IContextKeyService),fe(6,i.IConfigurationService),fe(7,r.ILanguageFeaturesService),fe(8,p.IEnvironmentService)],E)}),define(ne[378],se([1,0,49,14,13,19,9,6,119,2,17,58,20,108,16,73,12,5,21,194,128,347,755,701,27,15,8,70,135,754,548,914,549,895,79,45,143]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F){"use strict";var O;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerSuggestAction=e.SuggestController=void 0;const W=!1;class U{constructor(X,H){if(this._model=X,this._position=H,X.getLineMaxColumn(H.lineNumber)!==H.column){const V=X.getOffsetAt(H),Y=X.getPositionAt(V+1);this._marker=X.deltaDecorations([],[{range:h.Range.fromPositions(H,Y),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(X){if(this._model.isDisposed()||this._position.lineNumber!==X.lineNumber)return 0;if(this._marker){const H=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(H.getStartPosition())-this._model.getOffsetAt(X)}else return this._model.getLineMaxColumn(X.lineNumber)-X.column}}let j=O=class{static get(X){return X.getContribution(O.ID)}constructor(X,H,B,V,Y,ie,ae){this._memoryService=H,this._commandService=B,this._contextKeyService=V,this._instantiationService=Y,this._logService=ie,this._telemetryService=ae,this._lineSuffix=new g.MutableDisposable,this._toDispose=new g.DisposableStore,this._selectors=new R(ue=>ue.priority),this._onWillInsertSuggestItem=new f.Emitter,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=X,this.model=Y.createInstance(P.SuggestModel,this.editor),this._selectors.register({priority:0,select:(ue,te,q)=>this._memoryService.select(ue,te,q)});const ce=E.Context.InsertMode.bindTo(V);ce.set(X.getOption(116).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>ce.set(X.getOption(116).insertMode))),this.widget=this._toDispose.add(new y.IdleValue(()=>{const ue=this._instantiationService.createInstance(T.SuggestWidget,this.editor);this._toDispose.add(ue),this._toDispose.add(ue.onDidSelect($=>this._insertSuggestion($,0),this));const te=new M.CommitCharacterController(this.editor,ue,this.model,$=>this._insertSuggestion($,2));this._toDispose.add(te);const q=E.Context.MakesTextEdit.bindTo(this._contextKeyService),z=E.Context.HasInsertAndReplaceRange.bindTo(this._contextKeyService),ee=E.Context.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,g.toDisposable)(()=>{q.reset(),z.reset(),ee.reset()})),this._toDispose.add(ue.onDidFocus(({item:$})=>{const re=this.editor.getPosition(),oe=$.editStart.column,ge=re.column;let ve=!0;this.editor.getOption(1)==="smart"&&this.model.state===2&&!$.completion.additionalTextEdits&&!($.completion.insertTextRules&4)&&ge-oe===$.completion.insertText.length&&(ve=this.editor.getModel().getValueInRange({startLineNumber:re.lineNumber,startColumn:oe,endLineNumber:re.lineNumber,endColumn:ge})!==$.completion.insertText),q.set(ve),z.set(!u.Position.equals($.editInsertEnd,$.editReplaceEnd)),ee.set(!!$.provider.resolveCompletionItem||!!$.completion.documentation||$.completion.detail!==$.completion.label)})),this._toDispose.add(ue.onDetailsKeyDown($=>{if($.toKeyCodeChord().equals(new _.KeyCodeChord(!0,!1,!1,!1,33))||C.isMacintosh&&$.toKeyCodeChord().equals(new _.KeyCodeChord(!1,!1,!1,!0,33))){$.stopPropagation();return}$.toKeyCodeChord().isModifierKey()||this.editor.focus()})),ue})),this._overtypingCapturer=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new x.OvertypingCapturer(this.editor,this.model)))),this._alternatives=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new I.SuggestAlternatives(this.editor,this._contextKeyService)))),this._toDispose.add(Y.createInstance(l.WordContextKey,X)),this._toDispose.add(this.model.onDidTrigger(ue=>{this.widget.value.showTriggered(ue.auto,ue.shy?250:50),this._lineSuffix.value=new U(this.editor.getModel(),ue.position)})),this._toDispose.add(this.model.onDidSuggest(ue=>{if(ue.triggerOptions.shy)return;let te=-1;for(const z of this._selectors.itemsOrderedByPriorityDesc)if(te=z.select(this.editor.getModel(),this.editor.getPosition(),ue.completionModel.items),te!==-1)break;te===-1&&(te=0);let q=!1;if(ue.triggerOptions.auto){const z=this.editor.getOption(116);z.selectionMode==="never"||z.selectionMode==="always"?q=z.selectionMode==="never":z.selectionMode==="whenTriggerCharacter"?q=ue.triggerOptions.triggerKind!==1:z.selectionMode==="whenQuickSuggestion"&&(q=ue.triggerOptions.triggerKind===1&&!ue.triggerOptions.refilter)}this.widget.value.showSuggestions(ue.completionModel,te,ue.isFrozen,ue.triggerOptions.auto,q)})),this._toDispose.add(this.model.onDidCancel(ue=>{ue.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{W||(this.model.cancel(),this.model.clear())}));const de=E.Context.AcceptSuggestionsOnEnter.bindTo(V),he=()=>{const ue=this.editor.getOption(1);de.set(ue==="on"||ue==="smart")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>he())),he()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(X,H){if(!X||!X.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;const B=c.SnippetController2.get(this.editor);if(!B)return;this._onWillInsertSuggestItem.fire({item:X.item});const V=this.editor.getModel(),Y=V.getAlternativeVersionId(),{item:ie}=X,ae=[],ce=new D.CancellationTokenSource;H&1||this.editor.pushUndoStop();const de=this.getOverwriteInfo(ie,!!(H&8));this._memoryService.memorize(V,this.editor.getPosition(),ie);const he=ie.isResolved;let ue=-1,te=-1;if(Array.isArray(ie.completion.additionalTextEdits)){this.model.cancel();const z=n.StableEditorScrollState.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",ie.completion.additionalTextEdits.map(ee=>a.EditOperation.replaceMove(h.Range.lift(ee.range),ee.text))),z.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!he){const z=new s.StopWatch;let ee;const $=V.onDidChangeContent(ve=>{if(ve.isFlush){ce.cancel(),$.dispose();return}for(const Se of ve.changes){const Le=h.Range.getEndPosition(Se.range);(!ee||u.Position.isBefore(Le,ee))&&(ee=Le)}}),re=H;H|=2;let oe=!1;const ge=this.editor.onWillType(()=>{ge.dispose(),oe=!0,re&2||this.editor.pushUndoStop()});ae.push(ie.resolve(ce.token).then(()=>{if(!ie.completion.additionalTextEdits||ce.token.isCancellationRequested)return;if(ee&&ie.completion.additionalTextEdits.some(Se=>u.Position.isBefore(ee,h.Range.getStartPosition(Se.range))))return!1;oe&&this.editor.pushUndoStop();const ve=n.StableEditorScrollState.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",ie.completion.additionalTextEdits.map(Se=>a.EditOperation.replaceMove(h.Range.lift(Se.range),Se.text))),ve.restoreRelativeVerticalPositionOfCursor(this.editor),(oe||!(re&2))&&this.editor.pushUndoStop(),!0}).then(ve=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",z.elapsed(),ve),te=ve===!0?1:ve===!1?0:-2}).finally(()=>{$.dispose(),ge.dispose()}))}let{insertText:q}=ie.completion;if(ie.completion.insertTextRules&4||(q=o.SnippetParser.escape(q)),this.model.cancel(),B.insert(q,{overwriteBefore:de.overwriteBefore,overwriteAfter:de.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(ie.completion.insertTextRules&1),clipboardText:X.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),H&2||this.editor.pushUndoStop(),ie.completion.command)if(ie.completion.command.id===K.id)this.model.trigger({auto:!0,retrigger:!0});else{const z=new s.StopWatch;ae.push(this._commandService.executeCommand(ie.completion.command.id,...ie.completion.command.arguments?[...ie.completion.command.arguments]:[]).catch(ee=>{ie.completion.extensionId?(0,S.onUnexpectedExternalError)(ee):(0,S.onUnexpectedError)(ee)}).finally(()=>{ue=z.elapsed()}))}H&4&&this._alternatives.value.set(X,z=>{for(ce.cancel();V.canUndo();){Y!==V.getAlternativeVersionId()&&V.undo(),this._insertSuggestion(z,3|(H&8?8:0));break}}),this._alertCompletionItem(ie),Promise.all(ae).finally(()=>{this._reportSuggestionAcceptedTelemetry(ie,V,he,ue,te),this.model.clear(),ce.dispose()})}_reportSuggestionAcceptedTelemetry(X,H,B,V,Y){var ie,ae,ce;Math.floor(Math.random()*100)!==0&&this._telemetryService.publicLog2("suggest.acceptedSuggestion",{extensionId:(ae=(ie=X.extensionId)===null||ie===void 0?void 0:ie.value)!==null&&ae!==void 0?ae:"unknown",providerId:(ce=X.provider._debugDisplayName)!==null&&ce!==void 0?ce:"unknown",kind:X.completion.kind,basenameHash:(0,F.hash)((0,N.basename)(H.uri)).toString(16),languageId:H.getLanguageId(),fileExtension:(0,N.extname)(H.uri),resolveInfo:X.provider.resolveCompletionItem?B?1:0:-1,resolveDuration:X.resolveDuration,commandDuration:V,additionalEditsAsync:Y})}getOverwriteInfo(X,H){(0,i.assertType)(this.editor.hasModel());let B=this.editor.getOption(116).insertMode==="replace";H&&(B=!B);const V=X.position.column-X.editStart.column,Y=(B?X.editReplaceEnd.column:X.editInsertEnd.column)-X.position.column,ie=this.editor.getPosition().column-X.position.column,ae=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:V+ie,overwriteAfter:Y+ae}}_alertCompletionItem(X){if((0,k.isNonEmptyArray)(X.completion.additionalTextEdits)){const H=p.localize(0,null,X.textLabel,X.completion.additionalTextEdits.length);(0,L.alert)(H)}}triggerSuggest(X,H,B){this.editor.hasModel()&&(this.model.trigger({auto:H??!1,completionOptions:{providerFilter:X,kindFilter:B?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(X){if(!this.editor.hasModel())return;const H=this.editor.getPosition(),B=()=>{H.equals(this.editor.getPosition())&&this._commandService.executeCommand(X.fallback)},V=Y=>{if(Y.completion.insertTextRules&4||Y.completion.additionalTextEdits)return!0;const ie=this.editor.getPosition(),ae=Y.editStart.column,ce=ie.column;return ce-ae!==Y.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:ie.lineNumber,startColumn:ae,endLineNumber:ie.lineNumber,endColumn:ce})!==Y.completion.insertText};f.Event.once(this.model.onDidTrigger)(Y=>{const ie=[];f.Event.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,g.dispose)(ie),B()},void 0,ie),this.model.onDidSuggest(({completionModel:ae})=>{if((0,g.dispose)(ie),ae.items.length===0){B();return}const ce=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),ae.items),de=ae.items[ce];if(!V(de)){B();return}this.editor.pushUndoStop(),this._insertSuggestion({index:ce,item:de,model:ae},7)},void 0,ie)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(H,0),this.editor.focus()}acceptSelectedSuggestion(X,H){const B=this.widget.value.getFocusedItem();let V=0;X&&(V|=4),H&&(V|=8),this._insertSuggestion(B,V)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(X){return this._selectors.register(X)}};e.SuggestController=j,j.ID="editor.contrib.suggestController",e.SuggestController=j=O=ke([fe(1,d.ISuggestMemoryService),fe(2,m.ICommandService),fe(3,v.IContextKeyService),fe(4,b.IInstantiationService),fe(5,w.ILogService),fe(6,A.ITelemetryService)],j);class R{constructor(X){this.prioritySelector=X,this._items=new Array}register(X){if(this._items.indexOf(X)!==-1)throw new Error("Value is already registered");return this._items.push(X),this._items.sort((H,B)=>this.prioritySelector(B)-this.prioritySelector(H)),{dispose:()=>{const H=this._items.indexOf(X);H>=0&&this._items.splice(H,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class K extends t.EditorAction{constructor(){super({id:K.id,label:p.localize(1,null),alias:"Trigger Suggest",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.writable,r.EditorContextKeys.hasCompletionItemProvider,E.Context.Visible.toNegated()),kbOpts:{kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(X,H,B){const V=j.get(H);if(!V)return;let Y;B&&typeof B=="object"&&B.auto===!0&&(Y=!0),V.triggerSuggest(void 0,Y,void 0)}}e.TriggerSuggestAction=K,K.id="editor.action.triggerSuggest",(0,t.registerEditorContribution)(j.ID,j,2),(0,t.registerEditorAction)(K);const G=100+90,Z=t.EditorCommand.bindToContribution(j.get);(0,t.registerEditorCommand)(new Z({id:"acceptSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler(J){J.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus),weight:G},{primary:3,kbExpr:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.AcceptSuggestionsOnEnter,E.Context.MakesTextEdit),weight:G}],menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(2,null),group:"left",order:1,when:E.Context.HasInsertAndReplaceRange.toNegated()},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(3,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert"))},{menuId:E.suggestWidgetStatusbarMenu,title:p.localize(4,null),group:"left",order:1,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace"))}]})),(0,t.registerEditorCommand)(new Z({id:"acceptAlternativeSelectedSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,r.EditorContextKeys.textInputFocus,E.Context.HasFocusedSuggestion),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1027,secondary:[1026]},handler(J){J.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert")),title:p.localize(5,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:v.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace")),title:p.localize(6,null)}]})),m.CommandsRegistry.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,t.registerEditorCommand)(new Z({id:"hideSuggestWidget",precondition:E.Context.Visible,handler:J=>J.cancelSuggestWidget(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),(0,t.registerEditorCommand)(new Z({id:"selectNextSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,t.registerEditorCommand)(new Z({id:"selectNextPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectNextPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),(0,t.registerEditorCommand)(new Z({id:"selectLastSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectLastSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"selectPrevSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,t.registerEditorCommand)(new Z({id:"selectPrevPageSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectPrevPageSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),(0,t.registerEditorCommand)(new Z({id:"selectFirstSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,v.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:J=>J.selectFirstSuggestion()})),(0,t.registerEditorCommand)(new Z({id:"focusSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>J.focusSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}})),(0,t.registerEditorCommand)(new Z({id:"focusAndAcceptSuggestion",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:J=>{J.focusSuggestion(),J.acceptSelectedSuggestion(!0,!1)}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionDetails",precondition:v.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler:J=>J.toggleSuggestionDetails(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible,E.Context.CanResolve),title:p.localize(7,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:v.ContextKeyExpr.and(E.Context.DetailsVisible.toNegated(),E.Context.CanResolve),title:p.localize(8,null)}]})),(0,t.registerEditorCommand)(new Z({id:"toggleExplainMode",precondition:E.Context.Visible,handler:J=>J.toggleExplainMode(),kbOpts:{weight:100,primary:2138}})),(0,t.registerEditorCommand)(new Z({id:"toggleSuggestionFocus",precondition:E.Context.Visible,handler:J=>J.toggleSuggestionFocus(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),(0,t.registerEditorCommand)(new Z({id:"insertBestCompletion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),l.WordContextKey.AtEnd,E.Context.Visible.toNegated(),I.SuggestAlternatives.OtherSuggestions.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:(J,X)=>{J.triggerSuggestAndAcceptBest((0,i.isObject)(X)?Object.assign({fallback:"tab"},X):{fallback:"tab"})},kbOpts:{weight:G,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertNextSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptNextSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:2}})),(0,t.registerEditorCommand)(new Z({id:"insertPrevSuggestion",precondition:v.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,v.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),c.SnippetController2.InSnippetMode.toNegated()),handler:J=>J.acceptPrevSuggestion(),kbOpts:{weight:G,kbExpr:r.EditorContextKeys.textInputFocus,primary:1026}})),(0,t.registerEditorAction)(class extends t.EditorAction{constructor(){super({id:"editor.action.resetSuggestSize",label:p.localize(9,null),alias:"Reset Suggest Widget Size",precondition:void 0})}run(J,X){var H;(H=j.get(X))===null||H===void 0||H.resetWidgetSize()}})}),define(ne[915],se([1,0,6,2,12,5,29,128,377,378,42,296,14]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestItemInfo=e.SuggestWidgetAdaptor=void 0;class n extends k.Disposable{get selectedItem(){return this._selectedItem}constructor(h,r,c,o){super(),this.editor=h,this.suggestControllerPreselector=r,this.checkModelVersion=c,this.onWillAccept=o,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,C.observableValue)("suggestWidgetInlineCompletionProvider.selectedItem",void 0),this._register(h.onKeyDown(l=>{l.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(h.onKeyUp(l=>{l.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const d=g.SuggestController.get(this.editor);if(d){this._register(d.registerSelector({priority:100,select:(m,v,b)=>{var w;(0,C.transaction)(T=>this.checkModelVersion(T));const E=this.editor.getModel();if(!E)return-1;const I=(w=this.suggestControllerPreselector())===null||w===void 0?void 0:w.removeCommonPrefix(E);if(!I)return-1;const M=y.Position.lift(v),P=b.map((T,A)=>{const F=t.fromSuggestion(d,E,M,T,this.isShiftKeyPressed).toSingleTextEdit().removeCommonPrefix(E),O=I.augments(F);return{index:A,valid:O,prefixLength:F.text.length,suggestItem:T}}).filter(T=>T&&T.valid&&T.prefixLength>0),x=(0,i.findMaxBy)(P,(0,i.compareBy)(T=>T.prefixLength,i.numberComparator));return x?x.index:-1}}));let l=!1;const p=()=>{l||(l=!0,this._register(d.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(d.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(d.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(L.Event.once(d.model.onDidTrigger)(m=>{p()})),this._register(d.onWillInsertSuggestItem(m=>{const v=this.editor.getPosition(),b=this.editor.getModel();if(!v||!b)return;const w=t.fromSuggestion(d,b,v,m.item,this.isShiftKeyPressed);this.onWillAccept(w)}))}this.update(this._isActive)}update(h){const r=this.getSuggestItemInfo();(this._isActive!==h||!a(this._currentSuggestItemInfo,r))&&(this._isActive=h,this._currentSuggestItemInfo=r,(0,C.transaction)(c=>{this.checkModelVersion(c),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,c)}))}getSuggestItemInfo(){const h=g.SuggestController.get(this.editor);if(!h||!this.isSuggestWidgetVisible)return;const r=h.widget.value.getFocusedItem(),c=this.editor.getPosition(),o=this.editor.getModel();if(!(!r||!c||!o))return t.fromSuggestion(h,o,c,r.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.stopForceRenderingAbove()}forceRenderingAbove(){const h=g.SuggestController.get(this.editor);h?.forceRenderingAbove()}}e.SuggestWidgetAdaptor=n;class t{static fromSuggestion(h,r,c,o,d){let{insertText:l}=o.completion,p=!1;if(o.completion.insertTextRules&4){const v=new f.SnippetParser().parse(l);v.children.length<100&&_.SnippetSession.adjustWhitespace(r,c,!0,v),l=v.toString(),p=!0}const m=h.getOverwriteInfo(o,d);return new t(D.Range.fromPositions(c.delta(0,-m.overwriteBefore),c.delta(0,Math.max(m.overwriteAfter,0))),l,o.completion.kind,p)}constructor(h,r,c,o){this.range=h,this.insertText=r,this.completionItemKind=c,this.isSnippetText=o}equals(h){return this.range.equalsRange(h.range)&&this.insertText===h.insertText&&this.completionItemKind===h.completionItemKind&&this.isSnippetText===h.isSnippetText}toSelectedSuggestionInfo(){return new S.SelectedSuggestionInfo(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new s.SingleTextEdit(this.range,this.insertText)}}e.SuggestItemInfo=t;function a(u,h){return u===h?!0:!u||!h?!1:u.equals(h)}}),define(ne[258],se([1,0,49,6,2,42,189,12,76,18,214,750,235,253,913,915,680,116,27,28,15,8,34]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsController=void 0;let m=p=class extends y.Disposable{static get(b){return b.getContribution(p.ID)}constructor(b,w,E,I,M,P,x,T,A){super(),this.editor=b,this.instantiationService=w,this.contextKeyService=E,this.configurationService=I,this.commandService=M,this.debounceService=P,this.languageFeaturesService=x,this.audioCueService=T,this._keybindingService=A,this.model=(0,D.disposableObservableValue)("inlineCompletionModel",void 0),this.textModelVersionId=(0,D.observableValue)("textModelVersionId",-1),this.cursorPosition=(0,D.observableValue)("cursorPosition",new f.Position(1,1)),this.suggestWidgetAdaptor=this._register(new a.SuggestWidgetAdaptor(this.editor,()=>{var O,W;return(W=(O=this.model.get())===null||O===void 0?void 0:O.selectedInlineCompletion.get())===null||W===void 0?void 0:W.toSingleTextEdit(void 0)},O=>this.updateObservables(O,t.VersionIdChangeReason.Other),O=>{(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(U=this.model.get())===null||U===void 0||U.handleSuggestAccepted(O)})})),this._enabled=(0,D.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(61).enabled),this.ghostTextWidget=this._register(this.instantiationService.createInstance(s.GhostTextWidget,this.editor,{ghostText:this.model.map((O,W)=>O?.ghostText.read(W)),minReservedLineCount:(0,D.constObservable)(0),targetTextModel:this.model.map(O=>O?.textModel)})),this._debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._register(new i.InlineCompletionContextKeys(this.contextKeyService,this.model)),this._register(k.Event.runAndSubscribe(b.onDidChangeModel,()=>(0,D.transaction)(O=>{this.model.set(void 0,O),this.updateObservables(O,t.VersionIdChangeReason.Other);const W=b.getModel();if(W){const U=w.createInstance(t.InlineCompletionsModel,W,this.suggestWidgetAdaptor.selectedItem,this.cursorPosition,this.textModelVersionId,this._debounceValue,(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).preview),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(116).previewMode),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(61).mode),this._enabled);this.model.set(U,O)}})));const N=O=>{var W;return O.isUndoing?t.VersionIdChangeReason.Undo:O.isRedoing?t.VersionIdChangeReason.Redo:!((W=this.model.get())===null||W===void 0)&&W.isAcceptingPartially?t.VersionIdChangeReason.AcceptWord:t.VersionIdChangeReason.Other};this._register(b.onDidChangeModelContent(O=>(0,D.transaction)(W=>this.updateObservables(W,N(O))))),this._register(b.onDidChangeCursorPosition(O=>(0,D.transaction)(W=>{var U;this.updateObservables(W,t.VersionIdChangeReason.Other),(O.reason===3||O.source==="api")&&((U=this.model.get())===null||U===void 0||U.stop(W))}))),this._register(b.onDidType(()=>(0,D.transaction)(O=>{var W;this.updateObservables(O,t.VersionIdChangeReason.Other),this._enabled.get()&&((W=this.model.get())===null||W===void 0||W.trigger(O))}))),this._register(this.commandService.onDidExecuteCommand(O=>{new Set([S.CoreEditingCommands.Tab.id,S.CoreEditingCommands.DeleteLeft.id,S.CoreEditingCommands.DeleteRight.id,C.inlineSuggestCommitId,"acceptSelectedSuggestion"]).has(O.commandId)&&b.hasTextFocus()&&this._enabled.get()&&(0,D.transaction)(U=>{var j;(j=this.model.get())===null||j===void 0||j.trigger(U)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.contextKeyService.getContextKeyValue("accessibleViewIsShown")||this.configurationService.getValue("editor.inlineSuggest.keepOnBlur")||b.getOption(61).keepOnBlur||n.InlineSuggestionHintsContentWidget.dropDownVisible||(0,D.transaction)(O=>{var W;(W=this.model.get())===null||W===void 0||W.stop(O)})})),this._register((0,D.autorun)(O=>{var W;const U=(W=this.model.read(O))===null||W===void 0?void 0:W.state.read(O);U?.suggestItem?U.ghostText.lineCount>=2&&this.suggestWidgetAdaptor.forceRenderingAbove():this.suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register((0,y.toDisposable)(()=>{this.suggestWidgetAdaptor.stopForceRenderingAbove()}));let F;this._register((0,D.autorun)(O=>{const W=this.model.read(O),U=W?.state.read(O);if(!W||!U||!U.inlineCompletion){F=void 0;return}if(U.inlineCompletion.semanticId!==F){F=U.inlineCompletion.semanticId;const j=W.textModel.getLineContent(U.ghostText.lineNumber);this.audioCueService.playAudioCue(h.AudioCue.inlineSuggestion).then(()=>{this.editor.getOption(7)&&this.provideScreenReaderUpdate(U.ghostText.renderForScreenReader(j))})}})),this._register(new n.InlineCompletionsHintsWidget(this.editor,this.model,this.instantiationService)),this._register(this.configurationService.onDidChangeConfiguration(O=>{O.affectsConfiguration("accessibility.verbosity.inlineCompletions")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})}provideScreenReaderUpdate(b){const w=this.contextKeyService.getContextKeyValue("accessibleViewIsShown"),E=this._keybindingService.lookupKeybinding("editor.action.accessibleView");let I;!w&&E&&this.editor.getOption(146)&&(I=(0,u.localize)(0,null,E.getAriaLabel())),I?(0,L.alert)(b+", "+I):(0,L.alert)(b)}updateObservables(b,w){var E,I;const M=this.editor.getModel();this.textModelVersionId.set((E=M?.getVersionId())!==null&&E!==void 0?E:-1,b,w),this.cursorPosition.set((I=this.editor.getPosition())!==null&&I!==void 0?I:new f.Position(1,1),b)}shouldShowHoverAt(b){var w;const E=(w=this.model.get())===null||w===void 0?void 0:w.ghostText.get();return E?E.parts.some(I=>b.containsPosition(new f.Position(E.lineNumber,I.column))):!1}shouldShowHoverAtViewZone(b){return this.ghostTextWidget.ownsViewZone(b)}};e.InlineCompletionsController=m,m.ID="editor.contrib.inlineCompletionsController",e.InlineCompletionsController=m=p=ke([fe(1,d.IInstantiationService),fe(2,o.IContextKeyService),fe(3,c.IConfigurationService),fe(4,r.ICommandService),fe(5,_.ILanguageFeatureDebounceService),fe(6,g.ILanguageFeaturesService),fe(7,h.IAudioCueService),fe(8,l.IKeybindingService)],m)}),define(ne[916],se([1,0,42,16,21,214,235,258,135,677,30,28,15]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleAlwaysShowInlineSuggestionToolbar=e.HideInlineCompletion=e.AcceptInlineCompletion=e.AcceptNextLineOfInlineCompletion=e.AcceptNextWordOfInlineCompletion=e.TriggerInlineSuggestionAction=e.ShowPreviousInlineSuggestionAction=e.ShowNextInlineSuggestionAction=void 0;class n extends k.EditorAction{constructor(){super({id:n.ID,label:g.localize(0,null),alias:"Show Next Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.next()})}}e.ShowNextInlineSuggestionAction=n,n.ID=D.showNextInlineSuggestionActionId;class t extends k.EditorAction{constructor(){super({id:t.ID,label:g.localize(1,null),alias:"Show Previous Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.previous()})}}e.ShowPreviousInlineSuggestionAction=t,t.ID=D.showPreviousInlineSuggestionActionId;class a extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.trigger",label:g.localize(2,null),alias:"Trigger Inline Suggestion",precondition:y.EditorContextKeys.writable})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);(m=v?.model.get())===null||m===void 0||m.triggerExplicitly()})}}e.TriggerInlineSuggestionAction=a;class u extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextWord",label:g.localize(3,null),alias:"Accept Next Word Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1,primary:2065,kbExpr:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible)},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(4,null),group:"primary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextWord(v.editor)})}}e.AcceptNextWordOfInlineCompletion=u;class h extends k.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextLine",label:g.localize(5,null),alias:"Accept Next Line Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(6,null),group:"secondary",order:2}]})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);yield(m=v?.model.get())===null||m===void 0?void 0:m.acceptNextLine(v.editor)})}}e.AcceptNextLineOfInlineCompletion=h;class r extends k.EditorAction{constructor(){super({id:D.inlineSuggestCommitId,label:g.localize(7,null),alias:"Accept Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:g.localize(8,null),group:"primary",order:1}],kbOpts:{primary:2,weight:200,kbExpr:i.ContextKeyExpr.and(S.InlineCompletionContextKeys.inlineSuggestionVisible,y.EditorContextKeys.tabMovesFocus.toNegated(),S.InlineCompletionContextKeys.inlineSuggestionHasIndentationLessThanTabSize,_.Context.Visible.toNegated(),y.EditorContextKeys.hoverFocused.toNegated())}})}run(l,p){var m;return we(this,void 0,void 0,function*(){const v=f.InlineCompletionsController.get(p);v&&((m=v.model.get())===null||m===void 0||m.accept(v.editor),v.editor.focus())})}}e.AcceptInlineCompletion=r;class c extends k.EditorAction{constructor(){super({id:c.ID,label:g.localize(9,null),alias:"Hide Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}run(l,p){return we(this,void 0,void 0,function*(){const m=f.InlineCompletionsController.get(p);(0,L.transaction)(v=>{var b;(b=m?.model.get())===null||b===void 0||b.stop(v)})})}}e.HideInlineCompletion=c,c.ID="editor.action.inlineSuggest.hide";class o extends C.Action2{constructor(){super({id:o.ID,title:g.localize(10,null),f1:!1,precondition:void 0,menu:[{id:C.MenuId.InlineSuggestionToolbar,group:"secondary",order:10}],toggled:i.ContextKeyExpr.equals("config.editor.inlineSuggest.showToolbar","always")})}run(l,p){return we(this,void 0,void 0,function*(){const m=l.get(s.IConfigurationService),b=m.getValue("editor.inlineSuggest.showToolbar")==="always"?"onHover":"always";m.updateValue("editor.inlineSuggest.showToolbar",b)})}}e.ToggleAlwaysShowInlineSuggestionToolbar=o,o.ID="editor.action.inlineSuggest.toggleAlwaysShowToolbar"}),define(ne[917],se([1,0,7,55,2,42,5,41,103,258,253,117,678,84,8,56,79]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsHoverParticipant=e.InlineCompletionsHover=void 0;class h{constructor(o,d,l){this.owner=o,this.range=d,this.controller=l}isValidForHoverAnchor(o){return o.type===1&&this.range.startColumn<=o.range.startColumn&&this.range.endColumn>=o.range.endColumn}}e.InlineCompletionsHover=h;let r=class{constructor(o,d,l,p,m,v){this._editor=o,this._languageService=d,this._openerService=l,this.accessibilityService=p,this._instantiationService=m,this._telemetryService=v,this.hoverOrdinal=4}suggestHoverAnchor(o){const d=g.InlineCompletionsController.get(this._editor);if(!d)return null;const l=o.target;if(l.type===8){const p=l.detail;if(d.shouldShowHoverAtViewZone(p.viewZoneId))return new _.HoverForeignElementAnchor(1e3,this,S.Range.fromPositions(this._editor.getModel().validatePosition(p.positionBefore||p.position)),o.event.posx,o.event.posy,!1)}return l.type===7&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):l.type===6&&l.detail.mightBeForeignElement&&d.shouldShowHoverAt(l.range)?new _.HoverForeignElementAnchor(1e3,this,l.range,o.event.posx,o.event.posy,!1):null}computeSync(o,d){if(this._editor.getOption(61).showToolbar==="always")return[];const l=g.InlineCompletionsController.get(this._editor);return l&&l.shouldShowHoverAt(o.range)?[new h(this,o.range,l)]:[]}renderHoverParts(o,d){const l=new y.DisposableStore,p=d[0];this._telemetryService.publicLog2("inlineCompletionHover.shown"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(7)&&this.renderScreenReaderText(o,p,l);const m=p.controller.model.get(),v=this._instantiationService.createInstance(C.InlineSuggestionHintsContentWidget,this._editor,!1,(0,D.constObservable)(null),m.selectedInlineCompletionIndex,m.inlineCompletionsCount,m.selectedInlineCompletion.map(b=>{var w;return(w=b?.inlineCompletion.source.inlineCompletions.commands)!==null&&w!==void 0?w:[]}));return o.fragment.appendChild(v.getDomNode()),m.triggerExplicitly(),l.add(v),l}renderScreenReaderText(o,d,l){const p=L.$,m=p("div.hover-row.markdown-hover"),v=L.append(m,p("div.hover-contents",{["aria-live"]:"assertive"})),b=l.add(new s.MarkdownRenderer({editor:this._editor},this._languageService,this._openerService)),w=E=>{l.add(b.onDidRenderAsync(()=>{v.className="hover-contents code-hover-contents",o.onContentsChanged()}));const I=i.localize(0,null),M=l.add(b.render(new k.MarkdownString().appendText(I).appendCodeblock("text",E)));v.replaceChildren(M.element)};l.add((0,D.autorun)(E=>{var I;const M=(I=d.controller.model.read(E))===null||I===void 0?void 0:I.ghostText.read(E);if(M){const P=this._editor.getModel().getLineContent(M.lineNumber);w(M.renderForScreenReader(P))}else L.reset(v)})),o.fragment.appendChild(m)}};e.InlineCompletionsHoverParticipant=r,e.InlineCompletionsHoverParticipant=r=ke([fe(1,f.ILanguageService),fe(2,a.IOpenerService),fe(3,n.IAccessibilityService),fe(4,t.IInstantiationService),fe(5,u.ITelemetryService)],r)}),define(ne[918],se([1,0,16,103,916,917,258,30]),function(Q,e,L,k,y,D,S,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(S.InlineCompletionsController.ID,S.InlineCompletionsController,3),(0,L.registerEditorAction)(y.TriggerInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowNextInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowPreviousInlineSuggestionAction),(0,L.registerEditorAction)(y.AcceptNextWordOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptNextLineOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptInlineCompletion),(0,L.registerEditorAction)(y.HideInlineCompletion),(0,f.registerAction2)(y.ToggleAlwaysShowInlineSuggestionToolbar),k.HoverParticipantRegistry.register(D.InlineCompletionsHoverParticipant)}),define(ne[379],se([1,0,8]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IWorkspaceTrustManagementService=void 0,e.IWorkspaceTrustManagementService=(0,L.createDecorator)("workspaceTrustManagementService")}),define(ne[919],se([1,0,13,25,55,2,17,11,16,36,40,286,115,41,325,103,248,834,709,28,8,56,71,62,379,465]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowExcludeOptions=e.DisableHighlightingOfNonBasicAsciiCharactersAction=e.DisableHighlightingOfInvisibleCharactersAction=e.DisableHighlightingOfAmbiguousCharactersAction=e.DisableHighlightingInStringsAction=e.DisableHighlightingInCommentsAction=e.UnicodeHighlighterHoverParticipant=e.UnicodeHighlighter=e.warningIcon=void 0,e.warningIcon=(0,p.registerIcon)("extensions-warning-message",k.Codicon.warning,r.localize(0,null));let v=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._editorWorkerService=X,this._workspaceTrustService=H,this._highlighter=null,this._bannerClosed=!1,this._updateState=V=>{if(V&&V.hasMore){if(this._bannerClosed)return;const Y=Math.max(V.ambiguousCharacterCount,V.nonBasicAsciiCharacterCount,V.invisibleCharacterCount);let ie;if(V.nonBasicAsciiCharacterCount>=Y)ie={message:r.localize(1,null),command:new U};else if(V.ambiguousCharacterCount>=Y)ie={message:r.localize(2,null),command:new O};else if(V.invisibleCharacterCount>=Y)ie={message:r.localize(3,null),command:new W};else throw new Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:ie.message,icon:e.warningIcon,actions:[{label:ie.command.shortLabel,href:`command:${ie.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(B.createInstance(h.BannerController,J)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=J.getOption(123),this._register(H.onDidChangeTrust(V=>{this._updateHighlighter()})),this._register(J.onDidChangeConfiguration(V=>{V.hasChanged(123)&&(this._options=J.getOption(123),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;const J=b(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([J.nonBasicASCII,J.ambiguousCharacters,J.invisibleCharacters].every(H=>H===!1))return;const X={nonBasicASCII:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments,includeStrings:J.includeStrings,allowedCodePoints:Object.keys(J.allowedCharacters).map(H=>H.codePointAt(0)),allowedLocales:Object.keys(J.allowedLocales).map(H=>H==="_os"?new Intl.NumberFormat().resolvedOptions().locale:H==="_vscode"?S.language:H)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new w(this._editor,X,this._updateState,this._editorWorkerService):this._highlighter=new E(this._editor,X,this._updateState)}getDecorationInfo(J){return this._highlighter?this._highlighter.getDecorationInfo(J):null}};e.UnicodeHighlighter=v,v.ID="editor.contrib.unicodeHighlighter",e.UnicodeHighlighter=v=ke([fe(1,i.IEditorWorkerService),fe(2,m.IWorkspaceTrustManagementService),fe(3,o.IInstantiationService)],v);function b(Z,J){return{nonBasicASCII:J.nonBasicASCII===g.inUntrustedWorkspace?!Z:J.nonBasicASCII,ambiguousCharacters:J.ambiguousCharacters,invisibleCharacters:J.invisibleCharacters,includeComments:J.includeComments===g.inUntrustedWorkspace?!Z:J.includeComments,includeStrings:J.includeStrings===g.inUntrustedWorkspace?!Z:J.includeStrings,allowedCharacters:J.allowedCharacters,allowedLocales:J.allowedLocales}}let w=class extends D.Disposable{constructor(J,X,H,B){super(),this._editor=J,this._options=X,this._updateState=H,this._editorWorkerService=B,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(X=>{if(this._model.isDisposed()||this._model.getVersionId()!==J)return;this._updateState(X);const H=[];if(!X.hasMore)for(const B of X.ranges)H.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._decorations.set(H)})}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel();if(!(0,t.isModelDecorationVisible)(X,J))return null;const H=X.getValueInRange(J.range);return{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}}};w=ke([fe(3,i.IEditorWorkerService)],w);class E extends D.Disposable{constructor(J,X,H){super(),this._editor=J,this._options=X,this._updateState=H,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const J=this._editor.getVisibleRanges(),X=[],H={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const B of J){const V=s.UnicodeTextModelHighlighter.computeUnicodeHighlights(this._model,this._options,B);for(const Y of V.ranges)H.ranges.push(Y);H.ambiguousCharacterCount+=H.ambiguousCharacterCount,H.invisibleCharacterCount+=H.invisibleCharacterCount,H.nonBasicAsciiCharacterCount+=H.nonBasicAsciiCharacterCount,H.hasMore=H.hasMore||V.hasMore}if(!H.hasMore)for(const B of H.ranges)X.push({range:B,options:A.instance.getDecorationFromOptions(this._options)});this._updateState(H),this._decorations.set(X)}getDecorationInfo(J){if(!this._decorations.has(J))return null;const X=this._editor.getModel(),H=X.getValueInRange(J.range);return(0,t.isModelDecorationVisible)(X,J)?{reason:T(H,this._options),inComment:(0,t.isModelDecorationInComment)(X,J),inString:(0,t.isModelDecorationInString)(X,J)}:null}}let I=class{constructor(J,X,H){this._editor=J,this._languageService=X,this._openerService=H,this.hoverOrdinal=5}computeSync(J,X){if(!this._editor.hasModel()||J.type!==1)return[];const H=this._editor.getModel(),B=this._editor.getContribution(v.ID);if(!B)return[];const V=[],Y=new Set;let ie=300;for(const ae of X){const ce=B.getDecorationInfo(ae);if(!ce)continue;const he=H.getValueInRange(ae.range).codePointAt(0),ue=P(he);let te;switch(ce.reason.kind){case 0:{(0,f.isBasicASCII)(ce.reason.confusableWith)?te=r.localize(4,null,ue,P(ce.reason.confusableWith.codePointAt(0))):te=r.localize(5,null,ue,P(ce.reason.confusableWith.codePointAt(0)));break}case 1:te=r.localize(6,null,ue);break;case 2:te=r.localize(7,null,ue);break}if(Y.has(te))continue;Y.add(te);const q={codePoint:he,reason:ce.reason,inComment:ce.inComment,inString:ce.inString},z=r.localize(8,null),ee=`command:${j.ID}?${encodeURIComponent(JSON.stringify(q))}`,$=new y.MarkdownString("",!0).appendMarkdown(te).appendText(" ").appendLink(ee,z);V.push(new u.MarkdownHover(this,ae.range,[$],!1,ie++))}return V}renderHoverParts(J,X){return(0,u.renderMarkdownHovers)(J,X,this._editor,this._languageService,this._openerService)}};e.UnicodeHighlighterHoverParticipant=I,e.UnicodeHighlighterHoverParticipant=I=ke([fe(1,n.ILanguageService),fe(2,d.IOpenerService)],I);function M(Z){return`U+${Z.toString(16).padStart(4,"0")}`}function P(Z){let J=`\`${M(Z)}\``;return f.InvisibleCharacters.isInvisibleCharacter(Z)||(J+=` "${`${x(Z)}`}"`),J}function x(Z){return Z===96?"`` ` ``":"`"+String.fromCodePoint(Z)+"`"}function T(Z,J){return s.UnicodeTextModelHighlighter.computeUnicodeHighlightReason(Z,J)}class A{constructor(){this.map=new Map}getDecorationFromOptions(J){return this.getDecoration(!J.includeComments,!J.includeStrings)}getDecoration(J,X){const H=`${J}${X}`;let B=this.map.get(H);return B||(B=C.ModelDecorationOptions.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:J,hideInStringTokens:X}),this.map.set(H,B)),B}}A.instance=new A;class N extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(10,null),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=r.localize(9,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeComments,!1,2)})}}e.DisableHighlightingInCommentsAction=N;class F extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(12,null),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=r.localize(11,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.includeStrings,!1,2)})}}e.DisableHighlightingInStringsAction=F;class O extends _.EditorAction{constructor(){super({id:O.ID,label:r.localize(14,null),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=r.localize(13,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.ambiguousCharacters,!1,2)})}}e.DisableHighlightingOfAmbiguousCharactersAction=O,O.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class W extends _.EditorAction{constructor(){super({id:W.ID,label:r.localize(16,null),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=r.localize(15,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.invisibleCharacters,!1,2)})}}e.DisableHighlightingOfInvisibleCharactersAction=W,W.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class U extends _.EditorAction{constructor(){super({id:U.ID,label:r.localize(18,null),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=r.localize(17,null)}run(J,X,H){return we(this,void 0,void 0,function*(){const B=J?.get(c.IConfigurationService);B&&this.runAction(B)})}runAction(J){return we(this,void 0,void 0,function*(){yield J.updateValue(g.unicodeHighlightConfigKeys.nonBasicASCII,!1,2)})}}e.DisableHighlightingOfNonBasicAsciiCharactersAction=U,U.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class j extends _.EditorAction{constructor(){super({id:j.ID,label:r.localize(19,null),alias:"Show Exclude Options",precondition:void 0})}run(J,X,H){return we(this,void 0,void 0,function*(){const{codePoint:B,reason:V,inString:Y,inComment:ie}=H,ae=String.fromCodePoint(B),ce=J.get(l.IQuickInputService),de=J.get(c.IConfigurationService);function he(q){return f.InvisibleCharacters.isInvisibleCharacter(q)?r.localize(20,null,M(q)):r.localize(21,null,`${M(q)} "${ae}"`)}const ue=[];if(V.kind===0)for(const q of V.notAmbiguousInLocales)ue.push({label:r.localize(22,null,q),run:()=>we(this,void 0,void 0,function*(){K(de,[q])})});if(ue.push({label:he(B),run:()=>R(de,[B])}),ie){const q=new N;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(Y){const q=new F;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}if(V.kind===0){const q=new O;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===1){const q=new W;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else if(V.kind===2){const q=new U;ue.push({label:q.label,run:()=>we(this,void 0,void 0,function*(){return q.runAction(de)})})}else G(V);const te=yield ce.pick(ue,{title:r.localize(23,null)});te&&(yield te.run())})}}e.ShowExcludeOptions=j,j.ID="editor.action.unicodeHighlight.showExcludeOptions";function R(Z,J){return we(this,void 0,void 0,function*(){const X=Z.getValue(g.unicodeHighlightConfigKeys.allowedCharacters);let H;typeof X=="object"&&X?H=X:H={};for(const B of J)H[String.fromCodePoint(B)]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedCharacters,H,2)})}function K(Z,J){var X;return we(this,void 0,void 0,function*(){const H=(X=Z.inspect(g.unicodeHighlightConfigKeys.allowedLocales).user)===null||X===void 0?void 0:X.value;let B;typeof H=="object"&&H?B=Object.assign({},H):B={};for(const V of J)B[V]=!0;yield Z.updateValue(g.unicodeHighlightConfigKeys.allowedLocales,B,2)})}function G(Z){throw new Error(`Unexpected value: ${Z}`)}(0,_.registerEditorAction)(O),(0,_.registerEditorAction)(W),(0,_.registerEditorAction)(U),(0,_.registerEditorAction)(j),(0,_.registerEditorContribution)(v.ID,v,1),a.HoverParticipantRegistry.register(I)}),define(ne[920],se([1,0,189,161,254,237,794,877,795,796,797,828,879,902,886,798,909,799,880,910,911,365,255,802,803,769,918,256,257,371,369,372,805,904,887,806,807,890,891,808,896,833,858,859,860,810,194,906,378,811,812,785,919,813,897,353,814,809,94,172]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(ne[259],se([1,0,11,7,44,6,119,2,17,101,22,132,241,73,12,5,51,69,187,27,28,345,15,156,8,760,34,336,118,337,761,158,43,77,79,163,134,94,45,33,70,379,57,763,778,867,50,768,115,242,41,853,233,871,869,361,133,762,84,30,791,764,96,757,232,758,157,191,97,767,56,71,87,782,116,765,149,9,239,32,360,338,908,76,854,748]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T,A,N,F,O,W,U,j,R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he,ue,te,q,z,ee,$,re,oe,ge,ve,Se,Le,De,ye,Ee,Me,Pe,Fe,_e,me,le,pe,Ce){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServices=e.updateConfigurationService=e.StandaloneConfigurationService=e.StandaloneKeybindingService=e.StandaloneCommandService=e.StandaloneNotificationService=void 0;class be{constructor(Ae){this.disposed=!1,this.model=Ae,this._onWillDispose=new D.Emitter}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Ie=class{constructor(Ae){this.modelService=Ae}createModelReference(Ae){const Ue=this.modelService.getModel(Ae);return Ue?Promise.resolve(new f.ImmortalReference(new be(Ue))):Promise.reject(new Error("Model not found"))}};Ie=ke([fe(0,u.IModelService)],Ie);class Ne{show(){return Ne.NULL_PROGRESS_RUNNER}showWhile(Ae,Ue){return we(this,void 0,void 0,function*(){yield Ae})}}Ne.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Re{withProgress(Ae,Ue,Ke){return Ue({report:()=>{}})}}class Ve{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}}class ze{confirm(Ae){return we(this,void 0,void 0,function*(){return{confirmed:this.doConfirm(Ae.message,Ae.detail),checkboxChecked:!1}})}doConfirm(Ae,Ue){let Ke=Ae;return Ue&&(Ke=Ke+` - -`+Ue),window.confirm(Ke)}prompt(Ae){var Ue,Ke;return we(this,void 0,void 0,function*(){let $e;if(this.doConfirm(Ae.message,Ae.detail)){const tt=[...(Ue=Ae.buttons)!==null&&Ue!==void 0?Ue:[]];Ae.cancelButton&&typeof Ae.cancelButton!="string"&&typeof Ae.cancelButton!="boolean"&&tt.push(Ae.cancelButton),$e=yield(Ke=tt[0])===null||Ke===void 0?void 0:Ke.run({checkboxChecked:!1})}return{result:$e}})}error(Ae,Ue){return we(this,void 0,void 0,function*(){yield this.prompt({type:g.default.Error,message:Ae,detail:Ue})})}}class We{info(Ae){return this.notify({severity:g.default.Info,message:Ae})}warn(Ae){return this.notify({severity:g.default.Warning,message:Ae})}error(Ae){return this.notify({severity:g.default.Error,message:Ae})}notify(Ae){switch(Ae.severity){case g.default.Error:console.error(Ae.message);break;case g.default.Warning:console.warn(Ae.message);break;default:console.log(Ae.message);break}return We.NO_OP}prompt(Ae,Ue,Ke,$e){return We.NO_OP}status(Ae,Ue){return f.Disposable.None}}e.StandaloneNotificationService=We,We.NO_OP=new x.NoOpNotification;let qe=class{constructor(Ae){this._onWillExecuteCommand=new D.Emitter,this._onDidExecuteCommand=new D.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=Ae}executeCommand(Ae,...Ue){const Ke=c.CommandsRegistry.getCommand(Ae);if(!Ke)return Promise.reject(new Error(`command '${Ae}' not found`));try{this._onWillExecuteCommand.fire({commandId:Ae,args:Ue});const $e=this._instantiationService.invokeFunction.apply(this._instantiationService,[Ke.handler,...Ue]);return this._onDidExecuteCommand.fire({commandId:Ae,args:Ue}),Promise.resolve($e)}catch($e){return Promise.reject($e)}}};e.StandaloneCommandService=qe,e.StandaloneCommandService=qe=ke([fe(0,m.IInstantiationService)],qe);let Oe=class extends v.AbstractKeybindingService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const ut=mt=>{const wt=new f.DisposableStore;wt.add(k.addDisposableListener(mt,k.EventType.KEY_DOWN,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._dispatch(yt,yt.target)&&(yt.preventDefault(),yt.stopPropagation())})),wt.add(k.addDisposableListener(mt,k.EventType.KEY_UP,Dt=>{const yt=new y.StandardKeyboardEvent(Dt);this._singleModifierDispatch(yt,yt.target)&&yt.preventDefault()})),this._domNodeListeners.push(new Ge(mt,wt))},it=mt=>{for(let wt=0;wt{mt.getOption(60)||ut(mt.getContainerDomNode())},dt=mt=>{mt.getOption(60)||it(mt.getContainerDomNode())};this._register(tt.onCodeEditorAdd(rt)),this._register(tt.onCodeEditorRemove(dt)),tt.listCodeEditors().forEach(rt);const ft=mt=>{ut(mt.getContainerDomNode())},St=mt=>{it(mt.getContainerDomNode())};this._register(tt.onDiffEditorAdd(ft)),this._register(tt.onDiffEditorRemove(St)),tt.listDiffEditors().forEach(ft)}addDynamicKeybinding(Ae,Ue,Ke,$e){return(0,f.combinedDisposable)(c.CommandsRegistry.registerCommand(Ae,Ke),this.addDynamicKeybindings([{keybinding:Ue,command:Ae,when:$e}]))}addDynamicKeybindings(Ae){const Ue=Ae.map(Ke=>{var $e;return{keybinding:(0,S.decodeKeybinding)(Ke.keybinding,_.OS),command:($e=Ke.command)!==null&&$e!==void 0?$e:null,commandArgs:Ke.commandArgs,when:Ke.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(Ue),this.updateResolver(),(0,f.toDisposable)(()=>{for(let Ke=0;Kethis._log(Ke))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(Ae,Ue){const Ke=[];let $e=0;for(const et of Ae){const tt=et.when||void 0,ut=et.keybinding;if(!ut)Ke[$e++]=new I.ResolvedKeybindingItem(void 0,et.command,et.commandArgs,tt,Ue,null,!1);else{const it=M.USLayoutResolvedKeybinding.resolveKeybinding(ut,_.OS);for(const rt of it)Ke[$e++]=new I.ResolvedKeybindingItem(rt,et.command,et.commandArgs,tt,Ue,null,!1)}}return Ke}resolveKeyboardEvent(Ae){const Ue=new S.KeyCodeChord(Ae.ctrlKey,Ae.shiftKey,Ae.altKey,Ae.metaKey,Ae.keyCode);return new M.USLayoutResolvedKeybinding([Ue],_.OS)}};e.StandaloneKeybindingService=Oe,e.StandaloneKeybindingService=Oe=ke([fe(0,l.IContextKeyService),fe(1,c.ICommandService),fe(2,A.ITelemetryService),fe(3,x.INotificationService),fe(4,j.ILogService),fe(5,U.ICodeEditorService)],Oe);class Ge extends f.Disposable{constructor(Ae,Ue){super(),this.domNode=Ae,this._register(Ue)}}function Qe(je){return je&&typeof je=="object"&&(!je.overrideIdentifier||typeof je.overrideIdentifier=="string")&&(!je.resource||je.resource instanceof C.URI)}class st{constructor(){this._onDidChangeConfiguration=new D.Emitter,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const Ae=new Fe.DefaultConfiguration;this._configuration=new d.Configuration(Ae.reload(),new d.ConfigurationModel,new d.ConfigurationModel,new d.ConfigurationModel),Ae.dispose()}getValue(Ae,Ue){const Ke=typeof Ae=="string"?Ae:void 0,$e=Qe(Ae)?Ae:Qe(Ue)?Ue:{};return this._configuration.getValue(Ke,$e,void 0)}updateValues(Ae){const Ue={data:this._configuration.toData()},Ke=[];for(const $e of Ae){const[et,tt]=$e;this.getValue(et)!==tt&&(this._configuration.updateValue(et,tt),Ke.push(et))}if(Ke.length>0){const $e=new d.ConfigurationChangeEvent({keys:Ke,overrides:[]},Ue,this._configuration);$e.source=8,$e.sourceConfig=null,this._onDidChangeConfiguration.fire($e)}return Promise.resolve()}updateValue(Ae,Ue,Ke,$e){return this.updateValues([[Ae,Ue]])}inspect(Ae,Ue={}){return this._configuration.inspect(Ae,Ue,void 0)}}e.StandaloneConfigurationService=st;let nt=class{constructor(Ae,Ue,Ke){this.configurationService=Ae,this.modelService=Ue,this.languageService=Ke,this._onDidChangeConfiguration=new D.Emitter,this.configurationService.onDidChangeConfiguration($e=>{this._onDidChangeConfiguration.fire({affectedKeys:$e.affectedKeys,affectsConfiguration:(et,tt)=>$e.affectsConfiguration(tt)})})}getValue(Ae,Ue,Ke){const $e=t.Position.isIPosition(Ue)?Ue:null,et=$e?typeof Ke=="string"?Ke:void 0:typeof Ue=="string"?Ue:void 0,tt=Ae?this.getLanguage(Ae,$e):void 0;return typeof et>"u"?this.configurationService.getValue({resource:Ae,overrideIdentifier:tt}):this.configurationService.getValue(et,{resource:Ae,overrideIdentifier:tt})}getLanguage(Ae,Ue){const Ke=this.modelService.getModel(Ae);return Ke?Ue?Ke.getLanguageIdAtPosition(Ue.lineNumber,Ue.column):Ke.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(Ae)}};nt=ke([fe(0,o.IConfigurationService),fe(1,u.IModelService),fe(2,Y.ILanguageService)],nt);let ot=class{constructor(Ae){this.configurationService=Ae}getEOL(Ae,Ue){const Ke=this.configurationService.getValue("files.eol",{overrideIdentifier:Ue,resource:Ae});return Ke&&typeof Ke=="string"&&Ke!=="auto"?Ke:_.isLinux||_.isMacintosh?` -`:`\r -`}};ot=ke([fe(0,o.IConfigurationService)],ot);class ct{publicLog2(){}}class lt{constructor(){const Ae=C.URI.from({scheme:lt.SCHEME,authority:"model",path:"/"});this.workspace={id:N.STANDALONE_EDITOR_WORKSPACE_ID,folders:[new N.WorkspaceFolder({uri:Ae,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(Ae){return Ae&&Ae.scheme===lt.SCHEME?this.workspace.folders[0]:null}}lt.SCHEME="inmemory";function gt(je,Ae,Ue){if(!Ae||!(je instanceof st))return;const Ke=[];Object.keys(Ae).forEach($e=>{(0,i.isEditorConfigurationKey)($e)&&Ke.push([`editor.${$e}`,Ae[$e]]),Ue&&(0,i.isDiffEditorConfigurationKey)($e)&&Ke.push([`diffEditor.${$e}`,Ae[$e]])}),Ke.length>0&&je.updateValues(Ke)}e.updateConfigurationService=gt;let at=class{constructor(Ae){this._modelService=Ae}hasPreviewHandler(){return!1}apply(Ae,Ue){return we(this,void 0,void 0,function*(){const Ke=Array.isArray(Ae)?Ae:s.ResourceEdit.convert(Ae),$e=new Map;for(const ut of Ke){if(!(ut instanceof s.ResourceTextEdit))throw new Error("bad edit - only text edits are supported");const it=this._modelService.getModel(ut.resource);if(!it)throw new Error("bad edit - model not found");if(typeof ut.versionId=="number"&&it.getVersionId()!==ut.versionId)throw new Error("bad state - model changed in the meantime");let rt=$e.get(it);rt||(rt=[],$e.set(it,rt)),rt.push(n.EditOperation.replaceMove(a.Range.lift(ut.textEdit.range),ut.textEdit.text))}let et=0,tt=0;for(const[ut,it]of $e)ut.pushStackElement(),ut.pushEditOperations([],it,()=>[]),ut.pushStackElement(),tt+=1,et+=it.length;return{ariaSummary:L.format(O.StandaloneServicesNLS.bulkEditServiceSummary,et,tt),isApplied:et>0}})}};at=ke([fe(0,u.IModelService)],at);class ht{getUriLabel(Ae,Ue){return Ae.scheme==="file"?Ae.fsPath:Ae.path}getUriBasenameLabel(Ae){return(0,W.basename)(Ae)}}let Be=class extends G.ContextViewService{constructor(Ae,Ue){super(Ae),this._codeEditorService=Ue}showContextView(Ae,Ue,Ke){if(!Ue){const $e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();$e&&(Ue=$e.getContainerDomNode())}return super.showContextView(Ae,Ue,Ke)}};Be=ke([fe(0,F.ILayoutService),fe(1,U.ICodeEditorService)],Be);class Te{constructor(){this._neverEmitter=new D.Emitter,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class xe extends Z.LanguageService{constructor(){super()}}class He extends me.LogService{constructor(){super(new j.ConsoleLogger)}}let Ye=class extends J.ContextMenuService{constructor(Ae,Ue,Ke,$e,et,tt){super(Ae,Ue,Ke,$e,et,tt),this.configure({blockMouse:!1})}};Ye=ke([fe(0,A.ITelemetryService),fe(1,x.INotificationService),fe(2,K.IContextViewService),fe(3,b.IKeybindingService),fe(4,z.IMenuService),fe(5,l.IContextKeyService)],Ye);class Ze{playAudioCue(Ae,Ue){return we(this,void 0,void 0,function*(){})}}(0,X.registerSingleton)(o.IConfigurationService,st,0),(0,X.registerSingleton)(r.ITextResourceConfigurationService,nt,0),(0,X.registerSingleton)(r.ITextResourcePropertiesService,ot,0),(0,X.registerSingleton)(N.IWorkspaceContextService,lt,0),(0,X.registerSingleton)(P.ILabelService,ht,0),(0,X.registerSingleton)(A.ITelemetryService,ct,0),(0,X.registerSingleton)(p.IDialogService,ze,0),(0,X.registerSingleton)(Ce.IEnvironmentService,Ve,0),(0,X.registerSingleton)(x.INotificationService,We,0),(0,X.registerSingleton)(De.IMarkerService,ye.MarkerService,0),(0,X.registerSingleton)(Y.ILanguageService,xe,0),(0,X.registerSingleton)(ue.IStandaloneThemeService,he.StandaloneThemeService,0),(0,X.registerSingleton)(j.ILogService,He,0),(0,X.registerSingleton)(u.IModelService,ce.ModelService,0),(0,X.registerSingleton)(ae.IMarkerDecorationsService,ie.MarkerDecorationsService,0),(0,X.registerSingleton)(l.IContextKeyService,oe.ContextKeyService,0),(0,X.registerSingleton)(T.IProgressService,Re,0),(0,X.registerSingleton)(T.IEditorProgressService,Ne,0),(0,X.registerSingleton)(Pe.IStorageService,Pe.InMemoryStorageService,0),(0,X.registerSingleton)(B.IEditorWorkerService,V.EditorWorkerService,0),(0,X.registerSingleton)(s.IBulkEditService,at,0),(0,X.registerSingleton)(R.IWorkspaceTrustManagementService,Te,0),(0,X.registerSingleton)(h.ITextModelService,Ie,0),(0,X.registerSingleton)(q.IAccessibilityService,te.AccessibilityService,0),(0,X.registerSingleton)(Le.IListService,Le.ListService,0),(0,X.registerSingleton)(c.ICommandService,qe,0),(0,X.registerSingleton)(b.IKeybindingService,Oe,0),(0,X.registerSingleton)(Me.IQuickInputService,de.StandaloneQuickInputService,0),(0,X.registerSingleton)(K.IContextViewService,Be,0),(0,X.registerSingleton)(Ee.IOpenerService,H.OpenerService,0),(0,X.registerSingleton)(re.IClipboardService,$.BrowserClipboardService,0),(0,X.registerSingleton)(K.IContextMenuService,Ye,0),(0,X.registerSingleton)(z.IMenuService,ee.MenuService,0),(0,X.registerSingleton)(_e.IAudioCueService,Ze,0);var Xe;(function(je){const Ae=new Se.ServiceCollection;for(const[it,rt]of(0,X.getSingletonServiceDescriptors)())Ae.set(it,rt);const Ue=new ve.InstantiationService(Ae,!0);Ae.set(m.IInstantiationService,Ue);function Ke(it){$e||tt({});const rt=Ae.get(it);if(!rt)throw new Error("Missing service "+it);return rt instanceof ge.SyncDescriptor?Ue.invokeFunction(dt=>dt.get(it)):rt}je.get=Ke;let $e=!1;const et=new D.Emitter;function tt(it){if($e)return Ue;$e=!0;for(const[dt,ft]of(0,X.getSingletonServiceDescriptors)())Ae.get(dt)||Ae.set(dt,ft);for(const dt in it)if(it.hasOwnProperty(dt)){const ft=(0,m.createDecorator)(dt);Ae.get(ft)instanceof ge.SyncDescriptor&&Ae.set(ft,it[dt])}const rt=(0,le.getEditorFeatures)();for(const dt of rt)try{Ue.createInstance(dt)}catch(ft){(0,pe.onUnexpectedError)(ft)}return et.fire(),Ue}je.initialize=tt;function ut(it){if($e)return it();const rt=new f.DisposableStore,dt=rt.add(et.event(()=>{dt.dispose(),rt.add(it())}));return rt}je.withServices=ut})(Xe||(e.StandaloneServices=Xe={}))}),define(ne[921],se([1,0,49,2,33,161,254,277,259,133,30,27,28,15,57,8,34,43,23,84,94,96,77,51,41,360,78,32,18,876,116]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTextModel=e.StandaloneDiffEditor2=e.StandaloneDiffEditor=e.StandaloneEditor=e.StandaloneCodeEditor=void 0;let P=0,x=!1;function T(j){if(!j){if(x)return;x=!0}L.setARIAContainer(j||document.body)}let A=class extends D.CodeEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);ce.ariaLabel=ce.ariaLabel||o.StandaloneCodeEditorNLS.editorViewAccessibleLabel,ce.ariaLabel=ce.ariaLabel+";"+o.StandaloneCodeEditorNLS.accessibilityHelpMessage,super(R,ce,{},G,Z,J,X,B,V,Y,ie,ae),H instanceof _.StandaloneKeybindingService?this._standaloneKeybindingService=H:this._standaloneKeybindingService=null,T(ce.ariaContainerElement)}addCommand(R,K,G){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const Z="DYNAMIC_"+ ++P,J=n.ContextKeyExpr.deserialize(G);return this._standaloneKeybindingService.addDynamicKeybinding(Z,R,K,J),Z}createContextKey(R,K){return this._contextKeyService.createKey(R,K)}addAction(R){if(typeof R.id!="string"||typeof R.label!="string"||typeof R.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),k.Disposable.None;const K=R.id,G=R.label,Z=n.ContextKeyExpr.and(n.ContextKeyExpr.equals("editorId",this.getId()),n.ContextKeyExpr.deserialize(R.precondition)),J=R.keybindings,X=n.ContextKeyExpr.and(Z,n.ContextKeyExpr.deserialize(R.keybindingContext)),H=R.contextMenuGroupId||null,B=R.contextMenuOrder||0,V=(ce,...de)=>Promise.resolve(R.run(this,...de)),Y=new k.DisposableStore,ie=this.getId()+":"+K;if(Y.add(s.CommandsRegistry.registerCommand(ie,V)),H){const ce={command:{id:ie,title:G},when:Z,group:H,order:B};Y.add(C.MenuRegistry.appendMenuItem(C.MenuId.EditorContext,ce))}if(Array.isArray(J))for(const ce of J)Y.add(this._standaloneKeybindingService.addDynamicKeybinding(ie,ce,V,X));const ae=new f.InternalEditorAction(ie,G,G,Z,(...ce)=>Promise.resolve(R.run(this,...ce)),this._contextKeyService);return this._actions.set(K,ae),Y.add((0,k.toDisposable)(()=>{this._actions.delete(K)})),Y}_triggerCommand(R,K){if(this._codeEditorService instanceof v.StandaloneCodeEditorService)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(R,K)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(R,K)}};e.StandaloneCodeEditor=A,e.StandaloneCodeEditor=A=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,r.IThemeService),fe(8,h.INotificationService),fe(9,c.IAccessibilityService),fe(10,w.ILanguageConfigurationService),fe(11,E.ILanguageFeaturesService)],A);let N=class extends A{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae,ce,de,he){const ue=Object.assign({},K);(0,_.updateConfigurationService)(Y,ue,!1);const te=B.registerEditorContainer(R);typeof ue.theme=="string"&&B.setTheme(ue.theme),typeof ue.autoDetectHighContrast<"u"&&B.setAutoDetectHighContrast(!!ue.autoDetectHighContrast);const q=ue.model;delete ue.model,super(R,ue,G,Z,J,X,H,B,V,ie,de,he),this._configurationService=Y,this._standaloneThemeService=B,this._register(te);let z;if(typeof q>"u"){const ee=ce.getLanguageIdByMimeType(ue.language)||ue.language||b.PLAINTEXT_LANGUAGE_ID;z=W(ae,ce,ue.value||"",ee,void 0),this._ownsModel=!0}else z=q,this._ownsModel=!1;if(this._attachModel(z),z){const ee={oldModelUrl:null,newModelUrl:z.uri};this._onDidChangeModel.fire(ee)}}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!1),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_postDetachModelCleanup(R){super._postDetachModelCleanup(R),R&&this._ownsModel&&(R.dispose(),this._ownsModel=!1)}};e.StandaloneEditor=N,e.StandaloneEditor=N=ke([fe(2,a.IInstantiationService),fe(3,y.ICodeEditorService),fe(4,s.ICommandService),fe(5,n.IContextKeyService),fe(6,u.IKeybindingService),fe(7,g.IStandaloneThemeService),fe(8,h.INotificationService),fe(9,i.IConfigurationService),fe(10,c.IAccessibilityService),fe(11,p.IModelService),fe(12,m.ILanguageService),fe(13,w.ILanguageConfigurationService),fe(14,E.ILanguageFeaturesService)],N);let F=class extends S.DiffEditorWidget{constructor(R,K,G,Z,J,X,H,B,V,Y,ie){const ae=Object.assign({},K);(0,_.updateConfigurationService)(B,ae,!0);const ce=X.registerEditorContainer(R);typeof ae.theme=="string"&&X.setTheme(ae.theme),typeof ae.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ae.autoDetectHighContrast),super(R,ae,{},ie,Z,G,J,X,H,V,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(ce)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor=F,e.StandaloneDiffEditor=F=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService)],F);let O=class extends I.DiffEditorWidget2{constructor(R,K,G,Z,J,X,H,B,V,Y,ie,ae){const ce=Object.assign({},K);(0,_.updateConfigurationService)(B,ce,!0);const de=X.registerEditorContainer(R);typeof ce.theme=="string"&&X.setTheme(ce.theme),typeof ce.autoDetectHighContrast<"u"&&X.setAutoDetectHighContrast(!!ce.autoDetectHighContrast),super(R,ce,{},Z,G,J,ae,Y),this._configurationService=B,this._standaloneThemeService=X,this._register(de)}dispose(){super.dispose()}updateOptions(R){(0,_.updateConfigurationService)(this._configurationService,R,!0),typeof R.theme=="string"&&this._standaloneThemeService.setTheme(R.theme),typeof R.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!R.autoDetectHighContrast),super.updateOptions(R)}_createInnerEditor(R,K,G){return R.createInstance(A,K,G)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(R,K,G){return this.getModifiedEditor().addCommand(R,K,G)}createContextKey(R,K){return this.getModifiedEditor().createContextKey(R,K)}addAction(R){return this.getModifiedEditor().addAction(R)}};e.StandaloneDiffEditor2=O,e.StandaloneDiffEditor2=O=ke([fe(2,a.IInstantiationService),fe(3,n.IContextKeyService),fe(4,y.ICodeEditorService),fe(5,g.IStandaloneThemeService),fe(6,h.INotificationService),fe(7,i.IConfigurationService),fe(8,t.IContextMenuService),fe(9,l.IEditorProgressService),fe(10,d.IClipboardService),fe(11,M.IAudioCueService)],O);function W(j,R,K,G,Z){if(K=K||"",!G){const J=K.indexOf(` -`);let X=K;return J!==-1&&(X=K.substring(0,J)),U(j,K,R.createByFilepathOrFirstLine(Z||null,X),Z)}return U(j,K,R.createById(G),Z)}e.createTextModel=W;function U(j,R,K,G){return j.createModel(R,K,G)}}),define(ne[922],se([1,0,2,11,22,324,33,237,36,231,148,48,29,32,154,41,51,773,208,752,921,259,133,27,97,34,16,30,15,78,109,66,145,56,471]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a,u,h,r,c,o,d,l,p,m,v,b,w,E,I,M,P,x,T){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoEditorAPI=e.registerEditorOpener=e.registerLinkOpener=e.registerCommand=e.remeasureFonts=e.setTheme=e.defineTheme=e.tokenize=e.colorizeModelLine=e.colorize=e.colorizeElement=e.createWebWorker=e.onDidChangeModelLanguage=e.onWillDisposeModel=e.onDidCreateModel=e.getModels=e.getModel=e.onDidChangeMarkers=e.getModelMarkers=e.removeAllMarkers=e.setModelMarkers=e.setModelLanguage=e.createModel=e.addKeybindingRules=e.addKeybindingRule=e.addEditorAction=e.addCommand=e.createDiffNavigator=e.createDiffEditor=e.getDiffEditors=e.getEditors=e.onDidCreateDiffEditor=e.onDidCreateEditor=e.create=void 0;function A(ye,Ee,Me){return d.StandaloneServices.initialize(Me||{}).createInstance(o.StandaloneEditor,ye,Ee)}e.create=A;function N(ye){return d.StandaloneServices.get(S.ICodeEditorService).onCodeEditorAdd(Me=>{ye(Me)})}e.onDidCreateEditor=N;function F(ye){return d.StandaloneServices.get(S.ICodeEditorService).onDiffEditorAdd(Me=>{ye(Me)})}e.onDidCreateDiffEditor=F;function O(){return d.StandaloneServices.get(S.ICodeEditorService).listCodeEditors()}e.getEditors=O;function W(){return d.StandaloneServices.get(S.ICodeEditorService).listDiffEditors()}e.getDiffEditors=W;function U(ye,Ee,Me){var Pe;const Fe=d.StandaloneServices.initialize(Me||{});return!((Pe=Ee?.experimental)===null||Pe===void 0)&&Pe.useVersion2?Fe.createInstance(o.StandaloneDiffEditor2,ye,Ee):Fe.createInstance(o.StandaloneDiffEditor,ye,Ee)}e.createDiffEditor=U;function j(ye,Ee){return d.StandaloneServices.initialize({}).createInstance(f.DiffNavigator,ye,Ee)}e.createDiffNavigator=j;function R(ye){if(typeof ye.id!="string"||typeof ye.run!="function")throw new Error("Invalid command descriptor, `id` and `run` are required properties!");return p.CommandsRegistry.registerCommand(ye.id,ye.run)}e.addCommand=R;function K(ye){if(typeof ye.id!="string"||typeof ye.label!="string"||typeof ye.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");const Ee=E.ContextKeyExpr.deserialize(ye.precondition),Me=(Fe,..._e)=>b.EditorCommand.runEditorCommand(Fe,_e,Ee,(me,le,pe)=>Promise.resolve(ye.run(le,...pe))),Pe=new L.DisposableStore;if(Pe.add(p.CommandsRegistry.registerCommand(ye.id,Me)),ye.contextMenuGroupId){const Fe={command:{id:ye.id,title:ye.label},when:Ee,group:ye.contextMenuGroupId,order:ye.contextMenuOrder||0};Pe.add(w.MenuRegistry.appendMenuItem(w.MenuId.EditorContext,Fe))}if(Array.isArray(ye.keybindings)){const Fe=d.StandaloneServices.get(v.IKeybindingService);if(!(Fe instanceof d.StandaloneKeybindingService))console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService");else{const _e=E.ContextKeyExpr.and(Ee,E.ContextKeyExpr.deserialize(ye.keybindingContext));Pe.add(Fe.addDynamicKeybindings(ye.keybindings.map(me=>({keybinding:me,command:ye.id,when:_e}))))}}return Pe}e.addEditorAction=K;function G(ye){return Z([ye])}e.addKeybindingRule=G;function Z(ye){const Ee=d.StandaloneServices.get(v.IKeybindingService);return Ee instanceof d.StandaloneKeybindingService?Ee.addDynamicKeybindings(ye.map(Me=>({keybinding:Me.keybinding,command:Me.command,commandArgs:Me.commandArgs,when:E.ContextKeyExpr.deserialize(Me.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),L.Disposable.None)}e.addKeybindingRules=Z;function J(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService),Fe=Pe.getLanguageIdByMimeType(Ee)||Ee;return(0,o.createTextModel)(d.StandaloneServices.get(u.IModelService),Pe,ye,Fe,Me)}e.createModel=J;function X(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=Me.getLanguageIdByMimeType(Ee)||Ee||I.PLAINTEXT_LANGUAGE_ID;ye.setLanguage(Me.createById(Pe))}e.setModelLanguage=X;function H(ye,Ee,Me){ye&&d.StandaloneServices.get(m.IMarkerService).changeOne(Ee,ye.uri,Me)}e.setModelMarkers=H;function B(ye){d.StandaloneServices.get(m.IMarkerService).changeAll(ye,[])}e.removeAllMarkers=B;function V(ye){return d.StandaloneServices.get(m.IMarkerService).read(ye)}e.getModelMarkers=V;function Y(ye){return d.StandaloneServices.get(m.IMarkerService).onMarkerChanged(ye)}e.onDidChangeMarkers=Y;function ie(ye){return d.StandaloneServices.get(u.IModelService).getModel(ye)}e.getModel=ie;function ae(){return d.StandaloneServices.get(u.IModelService).getModels()}e.getModels=ae;function ce(ye){return d.StandaloneServices.get(u.IModelService).onModelAdded(ye)}e.onDidCreateModel=ce;function de(ye){return d.StandaloneServices.get(u.IModelService).onModelRemoved(ye)}e.onWillDisposeModel=de;function he(ye){return d.StandaloneServices.get(u.IModelService).onModelLanguageChanged(Me=>{ye({model:Me.model,oldLanguage:Me.oldLanguageId})})}e.onDidChangeModelLanguage=he;function ue(ye){return(0,h.createWebWorker)(d.StandaloneServices.get(u.IModelService),d.StandaloneServices.get(n.ILanguageConfigurationService),ye)}e.createWebWorker=ue;function te(ye,Ee){const Me=d.StandaloneServices.get(a.ILanguageService),Pe=d.StandaloneServices.get(l.IStandaloneThemeService);return c.Colorizer.colorizeElement(Pe,Me,ye,Ee).then(()=>{Pe.registerEditorContainer(ye)})}e.colorizeElement=te;function q(ye,Ee,Me){const Pe=d.StandaloneServices.get(a.ILanguageService);return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorize(Pe,ye,Ee,Me)}e.colorize=q;function z(ye,Ee,Me=4){return d.StandaloneServices.get(l.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorizeModelLine(ye,Ee,Me)}e.colorizeModelLine=z;function ee(ye){const Ee=i.TokenizationRegistry.get(ye);return Ee||{getInitialState:()=>t.NullState,tokenize:(Me,Pe,Fe)=>(0,t.nullTokenize)(ye,Fe)}}function $(ye,Ee){i.TokenizationRegistry.getOrCreate(Ee);const Me=ee(Ee),Pe=(0,k.splitLines)(ye),Fe=[];let _e=Me.getInitialState();for(let me=0,le=Pe.length;mewe(this,void 0,void 0,function*(){var _e;if(!Pe)return null;const me=(_e=Me.options)===null||_e===void 0?void 0:_e.selection;let le;return me&&typeof me.endLineNumber=="number"&&typeof me.endColumn=="number"?le=me:me&&(le={lineNumber:me.startLineNumber,column:me.startColumn}),(yield ye.openCodeEditor(Pe,Me.resource,le))?Pe:null}))}e.registerEditorOpener=Le;function De(){return{create:A,getEditors:O,getDiffEditors:W,onDidCreateEditor:N,onDidCreateDiffEditor:F,createDiffEditor:U,createDiffNavigator:j,addCommand:R,addEditorAction:K,addKeybindingRule:G,addKeybindingRules:Z,createModel:J,setModelLanguage:X,setModelMarkers:H,getModelMarkers:V,removeAllMarkers:B,onDidChangeMarkers:Y,getModels:ae,getModel:ie,onDidCreateModel:ce,onWillDisposeModel:de,onDidChangeModelLanguage:he,createWebWorker:ue,colorizeElement:te,colorize:q,colorizeModelLine:z,tokenize:$,defineTheme:re,setTheme:oe,remeasureFonts:ge,registerCommand:ve,registerLinkOpener:Se,registerEditorOpener:Le,AccessibilitySupport:r.AccessibilitySupport,ContentWidgetPositionPreference:r.ContentWidgetPositionPreference,CursorChangeReason:r.CursorChangeReason,DefaultEndOfLine:r.DefaultEndOfLine,EditorAutoIndentStrategy:r.EditorAutoIndentStrategy,EditorOption:r.EditorOption,EndOfLinePreference:r.EndOfLinePreference,EndOfLineSequence:r.EndOfLineSequence,MinimapPosition:r.MinimapPosition,MouseTargetType:r.MouseTargetType,OverlayWidgetPositionPreference:r.OverlayWidgetPositionPreference,OverviewRulerLane:r.OverviewRulerLane,GlyphMarginLane:r.GlyphMarginLane,RenderLineNumbersType:r.RenderLineNumbersType,RenderMinimap:r.RenderMinimap,ScrollbarVisibility:r.ScrollbarVisibility,ScrollType:r.ScrollType,TextEditorCursorBlinkingStyle:r.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:r.TextEditorCursorStyle,TrackedRangeStickiness:r.TrackedRangeStickiness,WrappingIndent:r.WrappingIndent,InjectedTextCursorStops:r.InjectedTextCursorStops,PositionAffinity:r.PositionAffinity,ConfigurationChangedEvent:_.ConfigurationChangedEvent,BareFontInfo:g.BareFontInfo,FontInfo:g.FontInfo,TextModelResolvedOptions:s.TextModelResolvedOptions,FindMatch:s.FindMatch,ApplyUpdateResult:_.ApplyUpdateResult,LineRange:P.LineRange,LineRangeMapping:M.LineRangeMapping,RangeMapping:M.RangeMapping,EditorZoom:x.EditorZoom,MovedText:M.MovedText,SimpleLineRangeMapping:M.SimpleLineRangeMapping,EditorType:C.EditorType,EditorOptions:_.EditorOptions}}e.createMonacoEditorAPI=De}),define(ne[923],se([1,0,38,5,29,32,78,41,208,259,550,334,133,97,18,28]),function(Q,e,L,k,y,D,S,f,_,g,C,s,i,n,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoLanguagesAPI=e.registerInlayHintsProvider=e.registerInlineCompletionsProvider=e.registerDocumentRangeSemanticTokensProvider=e.registerDocumentSemanticTokensProvider=e.registerSelectionRangeProvider=e.registerDeclarationProvider=e.registerFoldingRangeProvider=e.registerColorProvider=e.registerCompletionItemProvider=e.registerLinkProvider=e.registerOnTypeFormattingEditProvider=e.registerDocumentRangeFormattingEditProvider=e.registerDocumentFormattingEditProvider=e.registerCodeActionProvider=e.registerCodeLensProvider=e.registerTypeDefinitionProvider=e.registerImplementationProvider=e.registerDefinitionProvider=e.registerLinkedEditingRangeProvider=e.registerDocumentHighlightProvider=e.registerDocumentSymbolProvider=e.registerHoverProvider=e.registerSignatureHelpProvider=e.registerRenameProvider=e.registerReferenceProvider=e.setMonarchTokensProvider=e.setTokensProvider=e.registerTokensProviderFactory=e.setColorMap=e.TokenizationSupportAdapter=e.EncodedTokenizationSupportAdapter=e.setLanguageConfiguration=e.onLanguageEncountered=e.onLanguage=e.getEncodedLanguageId=e.getLanguages=e.register=void 0;function u(q){S.ModesRegistry.registerLanguage(q)}e.register=u;function h(){let q=[];return q=q.concat(S.ModesRegistry.getLanguages()),q}e.getLanguages=h;function r(q){return g.StandaloneServices.get(f.ILanguageService).languageIdCodec.encodeLanguageId(q)}e.getEncodedLanguageId=r;function c(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestRichLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguage=c;function o(q,z){return g.StandaloneServices.withServices(()=>{const $=g.StandaloneServices.get(f.ILanguageService).onDidRequestBasicLanguageFeatures(re=>{re===q&&($.dispose(),z())});return $})}e.onLanguageEncountered=o;function d(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set configuration for unknown language ${q}`);return g.StandaloneServices.get(D.ILanguageConfigurationService).register(q,z,100)}e.setLanguageConfiguration=d;class l{constructor(z,ee){this._languageId=z,this._actual=ee}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(z,ee,$){if(typeof this._actual.tokenize=="function")return p.adaptTokenize(this._languageId,this._actual,z,$);throw new Error("Not supported!")}tokenizeEncoded(z,ee,$){const re=this._actual.tokenizeEncoded(z,$);return new y.EncodedTokenizationResult(re.tokens,re.endState)}}e.EncodedTokenizationSupportAdapter=l;class p{constructor(z,ee,$,re){this._languageId=z,this._actual=ee,this._languageService=$,this._standaloneThemeService=re}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(z,ee){const $=[];let re=0;for(let oe=0,ge=z.length;oe0&&oe[ge-1]===Ee)continue;let Me=ye.startIndex;Le===0?Me=0:Mewe(this,void 0,void 0,function*(){const $=yield Promise.resolve(z.create());return $?m($)?E(q,$):new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService)):null}));return y.TokenizationRegistry.registerFactory(q,ee)}e.registerTokensProviderFactory=I;function M(q,z){if(!g.StandaloneServices.get(f.ILanguageService).isRegisteredLanguageId(q))throw new Error(`Cannot set tokens provider for unknown language ${q}`);return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,E(q,z))}e.setTokensProvider=M;function P(q,z){const ee=$=>new s.MonarchTokenizer(g.StandaloneServices.get(f.ILanguageService),g.StandaloneServices.get(i.IStandaloneThemeService),q,(0,C.compile)(q,$),g.StandaloneServices.get(a.IConfigurationService));return b(z)?I(q,{create:()=>z}):y.TokenizationRegistry.register(q,ee(z))}e.setMonarchTokensProvider=P;function x(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).referenceProvider.register(q,z)}e.registerReferenceProvider=x;function T(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).renameProvider.register(q,z)}e.registerRenameProvider=T;function A(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).signatureHelpProvider.register(q,z)}e.registerSignatureHelpProvider=A;function N(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).hoverProvider.register(q,{provideHover:($,re,oe)=>{const ge=$.getWordAtPosition(re);return Promise.resolve(z.provideHover($,re,oe)).then(ve=>{if(ve)return!ve.range&&ge&&(ve.range=new k.Range(re.lineNumber,ge.startColumn,re.lineNumber,ge.endColumn)),ve.range||(ve.range=new k.Range(re.lineNumber,re.column,re.lineNumber,re.column)),ve})}})}e.registerHoverProvider=N;function F(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSymbolProvider.register(q,z)}e.registerDocumentSymbolProvider=F;function O(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentHighlightProvider.register(q,z)}e.registerDocumentHighlightProvider=O;function W(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkedEditingRangeProvider.register(q,z)}e.registerLinkedEditingRangeProvider=W;function U(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).definitionProvider.register(q,z)}e.registerDefinitionProvider=U;function j(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).implementationProvider.register(q,z)}e.registerImplementationProvider=j;function R(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).typeDefinitionProvider.register(q,z)}e.registerTypeDefinitionProvider=R;function K(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeLensProvider.register(q,z)}e.registerCodeLensProvider=K;function G(q,z,ee){return g.StandaloneServices.get(t.ILanguageFeaturesService).codeActionProvider.register(q,{providedCodeActionKinds:ee?.providedCodeActionKinds,documentation:ee?.documentation,provideCodeActions:(re,oe,ge,ve)=>{const Le=g.StandaloneServices.get(n.IMarkerService).read({resource:re.uri}).filter(De=>k.Range.areIntersectingOrTouching(De,oe));return z.provideCodeActions(re,oe,{markers:Le,only:ge.only,trigger:ge.trigger},ve)},resolveCodeAction:z.resolveCodeAction})}e.registerCodeActionProvider=G;function Z(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentFormattingEditProvider.register(q,z)}e.registerDocumentFormattingEditProvider=Z;function J(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeFormattingEditProvider.register(q,z)}e.registerDocumentRangeFormattingEditProvider=J;function X(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).onTypeFormattingEditProvider.register(q,z)}e.registerOnTypeFormattingEditProvider=X;function H(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).linkProvider.register(q,z)}e.registerLinkProvider=H;function B(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).completionProvider.register(q,z)}e.registerCompletionItemProvider=B;function V(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).colorProvider.register(q,z)}e.registerColorProvider=V;function Y(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).foldingRangeProvider.register(q,z)}e.registerFoldingRangeProvider=Y;function ie(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).declarationProvider.register(q,z)}e.registerDeclarationProvider=ie;function ae(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).selectionRangeProvider.register(q,z)}e.registerSelectionRangeProvider=ae;function ce(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentSemanticTokensProvider.register(q,z)}e.registerDocumentSemanticTokensProvider=ce;function de(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeSemanticTokensProvider.register(q,z)}e.registerDocumentRangeSemanticTokensProvider=de;function he(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlineCompletionsProvider.register(q,z)}e.registerInlineCompletionsProvider=he;function ue(q,z){return g.StandaloneServices.get(t.ILanguageFeaturesService).inlayHintsProvider.register(q,z)}e.registerInlayHintsProvider=ue;function te(){return{register:u,getLanguages:h,onLanguage:c,onLanguageEncountered:o,getEncodedLanguageId:r,setLanguageConfiguration:d,setColorMap:w,registerTokensProviderFactory:I,setTokensProvider:M,setMonarchTokensProvider:P,registerReferenceProvider:x,registerRenameProvider:T,registerCompletionItemProvider:B,registerSignatureHelpProvider:A,registerHoverProvider:N,registerDocumentSymbolProvider:F,registerDocumentHighlightProvider:O,registerLinkedEditingRangeProvider:W,registerDefinitionProvider:U,registerImplementationProvider:j,registerTypeDefinitionProvider:R,registerCodeLensProvider:K,registerCodeActionProvider:G,registerDocumentFormattingEditProvider:Z,registerDocumentRangeFormattingEditProvider:J,registerOnTypeFormattingEditProvider:X,registerLinkProvider:H,registerColorProvider:V,registerFoldingRangeProvider:Y,registerDeclarationProvider:ie,registerSelectionRangeProvider:ae,registerDocumentSemanticTokensProvider:ce,registerDocumentRangeSemanticTokensProvider:de,registerInlineCompletionsProvider:he,registerInlayHintsProvider:ue,DocumentHighlightKind:_.DocumentHighlightKind,CompletionItemKind:_.CompletionItemKind,CompletionItemTag:_.CompletionItemTag,CompletionItemInsertTextRule:_.CompletionItemInsertTextRule,SymbolKind:_.SymbolKind,SymbolTag:_.SymbolTag,IndentAction:_.IndentAction,CompletionTriggerKind:_.CompletionTriggerKind,SignatureHelpTriggerKind:_.SignatureHelpTriggerKind,InlayHintKind:_.InlayHintKind,InlineCompletionTriggerKind:_.InlineCompletionTriggerKind,CodeActionTriggerType:_.CodeActionTriggerType,FoldingRangeKind:y.FoldingRangeKind,SelectedSuggestionInfo:y.SelectedSuggestionInfo}}e.createMonacoLanguagesAPI=te}),define(ne[924],se([1,0,36,327,922,923,351]),function(Q,e,L,k,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.languages=e.editor=e.Token=e.Uri=e.MarkerTag=e.MarkerSeverity=e.SelectionDirection=e.Selection=e.Range=e.Position=e.KeyMod=e.KeyCode=e.Emitter=e.CancellationTokenSource=void 0,L.EditorOptions.wrappingIndent.defaultValue=0,L.EditorOptions.glyphMargin.defaultValue=!1,L.EditorOptions.autoIndent.defaultValue=3,L.EditorOptions.overviewRulerLanes.defaultValue=2,S.FormattingConflicts.setFormatterSelector((g,C,s)=>Promise.resolve(g[0]));const f=(0,k.createMonacoBaseAPI)();f.editor=(0,y.createMonacoEditorAPI)(),f.languages=(0,D.createMonacoLanguagesAPI)(),e.CancellationTokenSource=f.CancellationTokenSource,e.Emitter=f.Emitter,e.KeyCode=f.KeyCode,e.KeyMod=f.KeyMod,e.Position=f.Position,e.Range=f.Range,e.Selection=f.Selection,e.SelectionDirection=f.SelectionDirection,e.MarkerSeverity=f.MarkerSeverity,e.MarkerTag=f.MarkerTag,e.Uri=f.Uri,e.Token=f.Token,e.editor=f.editor,e.languages=f.languages;const _=globalThis.MonacoEnvironment;(_?.globalAPI||typeof define=="function"&&define.amd)&&(globalThis.monaco=f),typeof globalThis.require<"u"&&typeof globalThis.require.config=="function"&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})});var Ci=this&&this.__createBinding||(Object.create?function(Q,e,L,k){k===void 0&&(k=L);var y=Object.getOwnPropertyDescriptor(e,L);(!y||("get"in y?!e.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return e[L]}}),Object.defineProperty(Q,k,y)}:function(Q,e,L,k){k===void 0&&(k=L),Q[k]=e[L]}),bi=this&&this.__exportStar||function(Q,e){for(var L in Q)L!=="default"&&!Object.prototype.hasOwnProperty.call(e,L)&&Ci(e,Q,L)};define(ne[926],se([1,0,924,920,815,816,787,862,863,820,907,865]),function(Q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),bi(L,e)})}).call(this); - - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/basic-languages/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var y=Object.create;var g=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var a=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,s)=>(typeof require!="undefined"?require:r)[s]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var D=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var m=(e,r,s,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of q(r))!M.call(e,o)&&o!==s&&g(e,o,{get:()=>r[o],enumerable:!(n=x(r,o))||n.enumerable});return e},p=(e,r,s)=>(m(e,r,"default"),s&&m(s,r,"default")),c=(e,r,s)=>(s=e!=null?y(A(e)):{},m(r||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var v=D((w,d)=>{var b=c(a("vs/editor/editor.api"));d.exports=b});var t={};p(t,c(v()));var f={},u={},l=class{static getOrCreate(r){return u[r]||(u[r]=new l(r)),u[r]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(r){this._languageId=r,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((s,n)=>{this._lazyLoadPromiseResolve=s,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,f[this._languageId].loader().then(r=>this._lazyLoadPromiseResolve(r),r=>this._lazyLoadPromiseReject(r))),this._lazyLoadPromise}};function i(e){let r=e.id;f[r]=e,t.languages.register(e);let s=l.getOrCreate(r);t.languages.registerTokensProviderFactory(r,{create:async()=>(await s.load()).language}),t.languages.onLanguageEncountered(r,async()=>{let n=await s.load();t.languages.setLanguageConfiguration(r,n.conf)})}i({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/abap/abap"],e,r)})});i({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/apex/apex"],e,r)})});i({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/azcli/azcli"],e,r)})});i({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bat/bat"],e,r)})});i({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bicep/bicep"],e,r)})});i({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cameligo/cameligo"],e,r)})});i({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/clojure/clojure"],e,r)})});i({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/coffee/coffee"],e,r)})});i({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csharp/csharp"],e,r)})});i({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csp/csp"],e,r)})});i({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/css/css"],e,r)})});i({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cypher/cypher"],e,r)})});i({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dart/dart"],e,r)})});i({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dockerfile/dockerfile"],e,r)})});i({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ecl/ecl"],e,r)})});i({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/elixir/elixir"],e,r)})});i({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/flow9/flow9"],e,r)})});i({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/fsharp/fsharp"],e,r)})});i({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationBracket)});i({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationBracket)});i({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationDollar)});i({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationBracket)});i({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/go/go"],e,r)})});i({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/graphql/graphql"],e,r)})});i({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/handlebars/handlebars"],e,r)})});i({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/hcl/hcl"],e,r)})});i({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/html/html"],e,r)})});i({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ini/ini"],e,r)})});i({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/java/java"],e,r)})});i({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/javascript/javascript"],e,r)})});i({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/julia/julia"],e,r)})});i({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/kotlin/kotlin"],e,r)})});i({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/less/less"],e,r)})});i({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lexon/lexon"],e,r)})});i({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lua/lua"],e,r)})});i({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/liquid/liquid"],e,r)})});i({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/m3/m3"],e,r)})});i({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/markdown/markdown"],e,r)})});i({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mdx/mdx"],e,r)})});i({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mips/mips"],e,r)})});i({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/msdax/msdax"],e,r)})});i({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mysql/mysql"],e,r)})});i({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/objective-c/objective-c"],e,r)})});i({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascal/pascal"],e,r)})});i({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascaligo/pascaligo"],e,r)})});i({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/perl/perl"],e,r)})});i({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pgsql/pgsql"],e,r)})});i({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/php/php"],e,r)})});i({id:"pla",extensions:[".pla"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pla/pla"],e,r)})});i({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/postiats/postiats"],e,r)})});i({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powerquery/powerquery"],e,r)})});i({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powershell/powershell"],e,r)})});i({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/protobuf/protobuf"],e,r)})});i({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pug/pug"],e,r)})});i({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/python/python"],e,r)})});i({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/qsharp/qsharp"],e,r)})});i({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/r/r"],e,r)})});i({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/razor/razor"],e,r)})});i({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redis/redis"],e,r)})});i({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redshift/redshift"],e,r)})});i({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/restructuredtext/restructuredtext"],e,r)})});i({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ruby/ruby"],e,r)})});i({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/rust/rust"],e,r)})});i({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sb/sb"],e,r)})});i({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scala/scala"],e,r)})});i({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scheme/scheme"],e,r)})});i({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scss/scss"],e,r)})});i({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/shell/shell"],e,r)})});i({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/solidity/solidity"],e,r)})});i({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sophia/sophia"],e,r)})});i({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sparql/sparql"],e,r)})});i({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sql/sql"],e,r)})});i({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/st/st"],e,r)})});i({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/swift/swift"],e,r)})});i({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/tcl/tcl"],e,r)})});i({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/twig/twig"],e,r)})});i({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/typescript/typescript"],e,r)})});i({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/vb/vb"],e,r)})});i({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/wgsl/wgsl"],e,r)})});i({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\new Promise((e,r)=>{a(["vs/basic-languages/xml/xml"],e,r)})});i({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/yaml/yaml"],e,r)})});})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/css/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var C=Object.create;var g=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(n,r)=>(typeof require!="undefined"?require:n)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),M=(e,n)=>{for(var r in n)g(e,r,{get:n[r],enumerable:!0})},s=(e,n,r,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(e,t)&&t!==r&&g(e,t,{get:()=>n[t],enumerable:!(a=S(n,t))||a.enumerable});return e},y=(e,n,r)=>(s(e,n,"default"),r&&s(r,n,"default")),w=(e,n,r)=>(r=e!=null?C(x(e)):{},s(n||!e||!e.__esModule?g(r,"default",{value:e,enumerable:!0}):r,e)),P=e=>s(g({},"__esModule",{value:!0}),e);var v=I((k,D)=>{var O=w(l("vs/editor/editor.api"));D.exports=O});var R={};M(R,{cssDefaults:()=>p,lessDefaults:()=>f,scssDefaults:()=>c});var o={};y(o,w(v()));var i=class{_onDidChange=new o.Emitter;_options;_modeConfiguration;_languageId;constructor(n,r,a){this._languageId=n,this.setOptions(r),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(n){this.setOptions(n)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},d={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},u={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},p=new i("css",d,u),c=new i("scss",d,u),f=new i("less",d,u);o.languages.css={cssDefaults:p,lessDefaults:f,scssDefaults:c};function m(){return new Promise((e,n)=>{l(["vs/language/css/cssMode"],e,n)})}o.languages.onLanguage("less",()=>{m().then(e=>e.setupMode(f))});o.languages.onLanguage("scss",()=>{m().then(e=>e.setupMode(c))});o.languages.onLanguage("css",()=>{m().then(e=>e.setupMode(p))});return P(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/html/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var w=Object.create;var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var f=(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 k=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),T=(e,n)=>{for(var t in n)l(e,t,{get:n[t],enumerable:!0})},d=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of H(n))!_.call(e,o)&&o!==t&&l(e,o,{get:()=>n[o],enumerable:!(r=R(n,o))||r.enumerable});return e},b=(e,n,t)=>(d(e,n,"default"),t&&d(t,n,"default")),v=(e,n,t)=>(t=e!=null?w(O(e)):{},d(n||!e||!e.__esModule?l(t,"default",{value:e,enumerable:!0}):t,e)),A=e=>d(l({},"__esModule",{value:!0}),e);var C=k((z,h)=>{var E=v(f("vs/editor/editor.api"));h.exports=E});var V={};T(V,{handlebarDefaults:()=>M,handlebarLanguageService:()=>m,htmlDefaults:()=>x,htmlLanguageService:()=>c,razorDefaults:()=>I,razorLanguageService:()=>y,registerHTMLLanguageService:()=>s});var a={};b(a,v(C()));var p=class{_onDidChange=new a.Emitter;_options;_modeConfiguration;_languageId;constructor(n,t,r){this._languageId=n,this.setOptions(t),this.setModeConfiguration(r)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},F={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},u={format:F,suggest:{},data:{useDefaultDataProvider:!0}};function g(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===i,documentFormattingEdits:e===i,documentRangeFormattingEdits:e===i}}var i="html",D="handlebars",L="razor",c=s(i,u,g(i)),x=c.defaults,m=s(D,u,g(D)),M=m.defaults,y=s(L,u,g(L)),I=y.defaults;a.languages.html={htmlDefaults:x,razorDefaults:I,handlebarDefaults:M,htmlLanguageService:c,handlebarLanguageService:m,razorLanguageService:y,registerHTMLLanguageService:s};function P(){return new Promise((e,n)=>{f(["vs/language/html/htmlMode"],e,n)})}function s(e,n=u,t=g(e)){let r=new p(e,n,t),o,S=a.languages.onLanguage(e,async()=>{o=(await P()).setupMode(r)});return{defaults:r,dispose(){S.dispose(),o?.dispose(),o=void 0}}}return A(V);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/json/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var p=Object.create;var r=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var g=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var D=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports),b=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},s=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of h(e))!C.call(o,i)&&i!==n&&r(o,i,{get:()=>e[i],enumerable:!(a=y(e,i))||a.enumerable});return o},u=(o,e,n)=>(s(o,e,"default"),n&&s(n,e,"default")),c=(o,e,n)=>(n=o!=null?p(v(o)):{},s(e||!o||!o.__esModule?r(n,"default",{value:o,enumerable:!0}):n,o)),O=o=>s(r({},"__esModule",{value:!0}),o);var f=D((w,m)=>{var M=c(g("vs/editor/editor.api"));m.exports=M});var R={};b(R,{jsonDefaults:()=>d});var t={};u(t,c(f()));var l=class{_onDidChange=new t.Emitter;_diagnosticsOptions;_modeConfiguration;_languageId;constructor(e,n,a){this._languageId=e,this.setDiagnosticsOptions(n),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},j={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},S={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d=new l("json",j,S);t.languages.json={jsonDefaults:d};function _(){return new Promise((o,e)=>{g(["vs/language/json/jsonMode"],o,e)})}t.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});t.languages.onLanguage("json",()=>{_().then(o=>o.setupMode(d))});return O(R);})(); -return moduleExports; -}); - -"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ -define("vs/language/typescript/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ -var moduleExports=(()=>{var N=Object.create;var d=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty;var c=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var w=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),A=(n,e)=>{for(var t in e)d(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of M(e))!F.call(n,r)&&r!==t&&d(n,r,{get:()=>e[r],enumerable:!(i=H(e,r))||i.enumerable});return n},D=(n,e,t)=>(g(n,e,"default"),t&&g(t,e,"default")),C=(n,e,t)=>(t=n!=null?N(R(n)):{},g(e||!n||!n.__esModule?d(t,"default",{value:n,enumerable:!0}):t,n)),W=n=>g(d({},"__esModule",{value:!0}),n);var _=w((B,E)=>{var V=C(c("vs/editor/editor.api"));E.exports=V});var T={};A(T,{JsxEmit:()=>f,ModuleKind:()=>b,ModuleResolutionKind:()=>O,NewLineKind:()=>y,ScriptTarget:()=>h,getJavaScriptWorker:()=>k,getTypeScriptWorker:()=>P,javascriptDefaults:()=>v,typescriptDefaults:()=>x,typescriptVersion:()=>I});var L="5.0.2";var l={};D(l,C(_()));var b=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))(b||{}),f=(a=>(a[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a))(f||{}),y=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(y||{}),h=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(h||{}),O=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t))(O||{}),m=class{_onDidChange=new l.Emitter;_onDidExtraLibsChange=new l.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,t,i,r,p){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(r),this.setModeConfiguration(p),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let p=this._extraLibs[i];!p||p.version===r&&(delete this._extraLibs[i],this._removedExtraLibs[i]=r,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,r=t.content,p=1;this._removedExtraLibs[i]&&(p=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:r,version:p}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},I=L,S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},x=new m({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new m({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),P=()=>u().then(n=>n.getTypeScriptWorker()),k=()=>u().then(n=>n.getJavaScriptWorker());l.languages.typescript={ModuleKind:b,JsxEmit:f,NewLineKind:y,ScriptTarget:h,ModuleResolutionKind:O,typescriptVersion:I,typescriptDefaults:x,javascriptDefaults:v,getTypeScriptWorker:P,getJavaScriptWorker:k};function u(){return new Promise((n,e)=>{c(["vs/language/typescript/tsMode"],n,e)})}l.languages.onLanguage("typescript",()=>u().then(n=>n.setupTypeScript(x)));l.languages.onLanguage("javascript",()=>u().then(n=>n.setupJavaScript(v)));return W(T);})(); -return moduleExports; -}); - -define("vs/editor/editor.main", ["vs/editor/edcore.main","vs/basic-languages/monaco.contribution","vs/language/css/monaco.contribution","vs/language/html/monaco.contribution","vs/language/json/monaco.contribution","vs/language/typescript/monaco.contribution"], function(api) { return api; }); -//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/lightweightchart/lightweight-charts.standalone.production.js b/v2realbot/static/js/libs/lightweightchart/lightweight-charts.standalone.production.js deleted file mode 100644 index 85535d0..0000000 --- a/v2realbot/static/js/libs/lightweightchart/lightweight-charts.standalone.production.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * @license - * TradingView Lightweight Charts™ v4.0.1 - * Copyright (c) 2023 TradingView, Inc. - * Licensed under Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0 - */ -!function(){"use strict";var t,i;function n(t,i){const n={0:[],1:[t.lineWidth,t.lineWidth],2:[2*t.lineWidth,2*t.lineWidth],3:[6*t.lineWidth,6*t.lineWidth],4:[t.lineWidth,4*t.lineWidth]}[i];t.setLineDash(n)}function s(t,i,n,s){t.beginPath();const e=t.lineWidth%2?.5:0;t.moveTo(n,i+e),t.lineTo(s,i+e),t.stroke()}function e(t,i){if(!t)throw new Error("Assertion failed"+(i?": "+i:""))}function r(t){if(void 0===t)throw new Error("Value is undefined");return t}function h(t){if(null===t)throw new Error("Value is null");return t}function l(t){return h(r(t))}!function(t){t[t.Simple=0]="Simple",t[t.WithSteps=1]="WithSteps",t[t.Curved=2]="Curved"}(t||(t={})),function(t){t[t.Solid=0]="Solid",t[t.Dotted=1]="Dotted",t[t.Dashed=2]="Dashed",t[t.LargeDashed=3]="LargeDashed",t[t.SparseDotted=4]="SparseDotted"}(i||(i={}));const a={khaki:"#f0e68c",azure:"#f0ffff",aliceblue:"#f0f8ff",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",gray:"#808080",green:"#008000",honeydew:"#f0fff0",floralwhite:"#fffaf0",lightblue:"#add8e6",lightcoral:"#f08080",lemonchiffon:"#fffacd",hotpink:"#ff69b4",lightyellow:"#ffffe0",greenyellow:"#adff2f",lightgoldenrodyellow:"#fafad2",limegreen:"#32cd32",linen:"#faf0e6",lightcyan:"#e0ffff",magenta:"#f0f",maroon:"#800000",olive:"#808000",orange:"#ffa500",oldlace:"#fdf5e6",mediumblue:"#0000cd",transparent:"#0000",lime:"#0f0",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",midnightblue:"#191970",orchid:"#da70d6",mediumorchid:"#ba55d3",mediumturquoise:"#48d1cc",orangered:"#ff4500",royalblue:"#4169e1",powderblue:"#b0e0e6",red:"#f00",coral:"#ff7f50",turquoise:"#40e0d0",white:"#fff",whitesmoke:"#f5f5f5",wheat:"#f5deb3",teal:"#008080",steelblue:"#4682b4",bisque:"#ffe4c4",aquamarine:"#7fffd4",aqua:"#0ff",sienna:"#a0522d",silver:"#c0c0c0",springgreen:"#00ff7f",antiquewhite:"#faebd7",burlywood:"#deb887",brown:"#a52a2a",beige:"#f5f5dc",chocolate:"#d2691e",chartreuse:"#7fff00",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cadetblue:"#5f9ea0",tomato:"#ff6347",fuchsia:"#f0f",blue:"#00f",salmon:"#fa8072",blanchedalmond:"#ffebcd",slateblue:"#6a5acd",slategray:"#708090",thistle:"#d8bfd8",tan:"#d2b48c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",blueviolet:"#8a2be2",black:"#000",darkmagenta:"#8b008b",darkslateblue:"#483d8b",darkkhaki:"#bdb76b",darkorchid:"#9932cc",darkorange:"#ff8c00",darkgreen:"#006400",darkred:"#8b0000",dodgerblue:"#1e90ff",darkslategray:"#2f4f4f",dimgray:"#696969",deepskyblue:"#00bfff",firebrick:"#b22222",forestgreen:"#228b22",indigo:"#4b0082",ivory:"#fffff0",lavenderblush:"#fff0f5",feldspar:"#d19275",indianred:"#cd5c5c",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightskyblue:"#87cefa",lightslategray:"#789",lightslateblue:"#8470ff",snow:"#fffafa",lightseagreen:"#20b2aa",lightsalmon:"#ffa07a",darksalmon:"#e9967a",darkviolet:"#9400d3",mediumpurple:"#9370d8",mediumaquamarine:"#66cdaa",skyblue:"#87ceeb",lavender:"#e6e6fa",lightsteelblue:"#b0c4de",mediumvioletred:"#c71585",mintcream:"#f5fffa",navajowhite:"#ffdead",navy:"#000080",olivedrab:"#6b8e23",palevioletred:"#d87093",violetred:"#d02090",yellow:"#ff0",yellowgreen:"#9acd32",lawngreen:"#7cfc00",pink:"#ffc0cb",paleturquoise:"#afeeee",palegoldenrod:"#eee8aa",darkolivegreen:"#556b2f",darkseagreen:"#8fbc8f",darkturquoise:"#00ced1",peachpuff:"#ffdab9",deeppink:"#ff1493",violet:"#ee82ee",palegreen:"#98fb98",mediumseagreen:"#3cb371",peru:"#cd853f",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",purple:"#800080",seagreen:"#2e8b57",seashell:"#fff5ee",papayawhip:"#ffefd5",mediumslateblue:"#7b68ee",plum:"#dda0dd",mediumspringgreen:"#00fa9a"};function o(t){return t<0?0:t>255?255:Math.round(t)||0}function _(t){return t<=0||t>0?t<0?0:t>1?1:Math.round(1e4*t)/1e4:0}const u=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,c=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,d=/^rgb\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*\)$/,f=/^rgba\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?[\d]{0,10}(?:\.\d+)?)\s*\)$/;function p(t){(t=t.toLowerCase())in a&&(t=a[t]);{const i=f.exec(t)||d.exec(t);if(i)return[o(parseInt(i[1],10)),o(parseInt(i[2],10)),o(parseInt(i[3],10)),_(i.length<5?1:parseFloat(i[4]))]}{const i=c.exec(t);if(i)return[o(parseInt(i[1],16)),o(parseInt(i[2],16)),o(parseInt(i[3],16)),1]}{const i=u.exec(t);if(i)return[o(17*parseInt(i[1],16)),o(17*parseInt(i[2],16)),o(17*parseInt(i[3],16)),1]}throw new Error(`Cannot parse color: ${t}`)}function v(t){const i=p(t);return{t:`rgb(${i[0]}, ${i[1]}, ${i[2]})`,i:(n=i,.199*n[0]+.687*n[1]+.114*n[2]>160?"black":"white")};var n}class m{constructor(){this.h=[]}l(t,i,n){const s={o:t,_:i,u:!0===n};this.h.push(s)}p(t){const i=this.h.findIndex((i=>t===i.o));i>-1&&this.h.splice(i,1)}v(t){this.h=this.h.filter((i=>i._!==t))}m(t,i,n){const s=[...this.h];this.h=this.h.filter((t=>!t.u)),s.forEach((s=>s.o(t,i,n)))}g(){return this.h.length>0}M(){this.h=[]}}function b(t,...i){for(const n of i)for(const i in n)void 0!==n[i]&&("object"!=typeof n[i]||void 0===t[i]?t[i]=n[i]:b(t[i],n[i]));return t}function g(t){return"number"==typeof t&&isFinite(t)}function w(t){return"number"==typeof t&&t%1==0}function M(t){return"string"==typeof t}function S(t){return"boolean"==typeof t}function x(t){const i=t;if(!i||"object"!=typeof i)return i;let n,s,e;for(s in n=Array.isArray(i)?[]:{},i)i.hasOwnProperty(s)&&(e=i[s],n[s]=e&&"object"==typeof e?x(e):e);return n}function y(t){return null!==t}function k(t){return null===t?void 0:t}const C="-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif";function T(t,i,n){return void 0===i&&(i=C),`${n=void 0!==n?`${n} `:""}${t}px ${i}`}class P{constructor(t){this.S={k:1,C:5,T:NaN,P:"",R:"",D:"",O:"",B:0,A:0,L:0,I:0,N:0},this.V=t}F(){const t=this.S,i=this.W(),n=this.j();return t.T===i&&t.R===n||(t.T=i,t.R=n,t.P=T(i,n),t.I=2.5/12*i,t.B=t.I,t.A=i/12*t.C,t.L=i/12*t.C,t.N=0),t.D=this.$(),t.O=this.H(),this.S}$(){return this.V.F().layout.textColor}H(){return this.V.U()}W(){return this.V.F().layout.fontSize}j(){return this.V.F().layout.fontFamily}}class R{constructor(){this.q=[]}Y(t){this.q=t}X(t,i,n){this.q.forEach((s=>{s.X(t,i,n)}))}}class D{X(t,i,n){t.useMediaCoordinateSpace((t=>this.Z(t,i,n)))}K(t,i,n){t.useMediaCoordinateSpace((t=>this.G(t,i,n)))}G(t,i,n){}}class O extends D{constructor(){super(...arguments),this.J=null}tt(t){this.J=t}Z({context:t}){if(null===this.J||null===this.J.it)return;const i=this.J.it,n=this.J,s=s=>{t.beginPath();for(let e=i.to-1;e>=i.from;--e){const i=n.nt[e];t.moveTo(i.st,i.et),t.arc(i.st,i.et,s,0,2*Math.PI)}t.fill()};n.rt>0&&(t.fillStyle=n.ht,s(n.lt+n.rt)),t.fillStyle=n.ot,s(n.lt)}}function B(){return{nt:[{st:0,et:0,_t:0,ut:0}],ot:"",ht:"",lt:0,rt:0,it:null}}const E={from:0,to:1};class A{constructor(t,i){this.ct=new R,this.dt=[],this.ft=[],this.vt=!0,this.V=t,this.bt=i,this.ct.Y(this.dt)}gt(t){const i=this.V.wt();i.length!==this.dt.length&&(this.ft=i.map(B),this.dt=this.ft.map((t=>{const i=new O;return i.tt(t),i})),this.ct.Y(this.dt)),this.vt=!0}Mt(){return this.vt&&(this.St(),this.vt=!1),this.ct}St(){const t=this.V.wt(),i=this.bt.xt(),n=this.V.yt();t.forEach(((t,s)=>{var e;const r=this.ft[s],l=t.kt(i);if(null===l||!t.Ct())return void(r.it=null);const a=h(t.Tt());r.ot=l.Pt,r.lt=l.lt,r.rt=l.Rt,r.nt[0].ut=l.ut,r.nt[0].et=t.Ot().Dt(l.ut,a.Bt),r.ht=null!==(e=l.Et)&&void 0!==e?e:this.V.At(r.nt[0].et/t.Ot().Lt()),r.nt[0]._t=i,r.nt[0].st=n.zt(i),r.it=E}))}}class L{X(t,i,n){t.useBitmapCoordinateSpace((t=>this.Z(t,i,n)))}}class z extends L{constructor(t){super(),this.It=t}Z({context:t,bitmapSize:i,horizontalPixelRatio:e,verticalPixelRatio:r}){if(null===this.It)return;const h=this.It.Nt.Ct,l=this.It.Vt.Ct;if(!h&&!l)return;const a=Math.round(this.It.st*e),o=Math.round(this.It.et*r);t.lineCap="butt",h&&a>=0&&(t.lineWidth=Math.floor(this.It.Nt.rt*e),t.strokeStyle=this.It.Nt.D,t.fillStyle=this.It.Nt.D,n(t,this.It.Nt.Ft),function(t,i,n,s){t.beginPath();const e=t.lineWidth%2?.5:0;t.moveTo(i+e,n),t.lineTo(i+e,s),t.stroke()}(t,a,0,i.height)),l&&o>=0&&(t.lineWidth=Math.floor(this.It.Vt.rt*r),t.strokeStyle=this.It.Vt.D,t.fillStyle=this.It.Vt.D,n(t,this.It.Vt.Ft),s(t,o,0,i.width))}}class I{constructor(t){this.vt=!0,this.Wt={Nt:{rt:1,Ft:0,D:"",Ct:!1},Vt:{rt:1,Ft:0,D:"",Ct:!1},st:0,et:0},this.jt=new z(this.Wt),this.$t=t}gt(){this.vt=!0}Mt(){return this.vt&&(this.St(),this.vt=!1),this.jt}St(){const t=this.$t.Ct(),i=h(this.$t.Ht()),n=i.Ut().F().crosshair,s=this.Wt;s.Vt.Ct=t&&this.$t.qt(i),s.Nt.Ct=t&&this.$t.Yt(),s.Vt.rt=n.horzLine.width,s.Vt.Ft=n.horzLine.style,s.Vt.D=n.horzLine.color,s.Nt.rt=n.vertLine.width,s.Nt.Ft=n.vertLine.style,s.Nt.D=n.vertLine.color,s.st=this.$t.Xt(),s.et=this.$t.Zt()}}function N(t,i,n,s,e,r){t.fillRect(i+r,n,s-2*r,r),t.fillRect(i+r,n+e-r,s-2*r,r),t.fillRect(i,n,r,e),t.fillRect(i+s-r,n,r,e)}function V(t,i,n,s,e,r){t.save(),t.globalCompositeOperation="copy",t.fillStyle=r,t.fillRect(i,n,s,e),t.restore()}function F(t,i){return Array.isArray(t)?t.map((t=>0===t?t:t+i)):t+i}function W(t,i,n,s,e,r){let h,l,a,o;if(Array.isArray(r))if(2===r.length){const t=Math.max(0,r[0]),i=Math.max(0,r[1]);h=t,l=t,a=i,o=i}else{if(4!==r.length)throw new Error("Wrong border radius - it should be like css border radius");h=Math.max(0,r[0]),l=Math.max(0,r[1]),a=Math.max(0,r[2]),o=Math.max(0,r[3])}else{const t=Math.max(0,r);h=t,l=t,a=t,o=t}t.beginPath(),t.moveTo(i+h,n),t.lineTo(i+s-l,n),0!==l&&t.arcTo(i+s,n,i+s,n+l,l),t.lineTo(i+s,n+e-a),0!==a&&t.arcTo(i+s,n+e,i+s-a,n+e,a),t.lineTo(i+o,n+e),0!==o&&t.arcTo(i,n+e,i,n+e-o,o),t.lineTo(i,n+h),0!==h&&t.arcTo(i,n,i+h,n,h)}function j(t,i,n,s,e,r,h=0,l=0,a=""){if(t.save(),!h||!a||a===r)return W(t,i,n,s,e,l),t.fillStyle=r,t.fill(),void t.restore();const o=h/2;if("transparent"!==r){W(t,i+h,n+h,s-2*h,e-2*h,F(l,-h)),t.fillStyle=r,t.fill()}if("transparent"!==a){W(t,i+o,n+o,s-h,e-h,F(l,-o)),t.lineWidth=h,t.strokeStyle=a,t.closePath(),t.stroke()}t.restore()}function $(t,i,n,s,e,r,h){t.save(),t.globalCompositeOperation="copy";const l=t.createLinearGradient(0,0,0,e);l.addColorStop(0,r),l.addColorStop(1,h),t.fillStyle=l,t.fillRect(i,n,s,e),t.restore()}class H{constructor(t,i){this.tt(t,i)}tt(t,i){this.It=t,this.Kt=i}Lt(t,i){return this.It.Ct?t.T+t.I+t.B:0}X(t,i,n,s){if(!this.It.Ct||0===this.It.Gt.length)return;const e=this.It.D,r=this.Kt.t,h=t.useBitmapCoordinateSpace((t=>{const h=t.context;h.font=i.P;const l=this.Jt(t,i,n,s),a=l.Qt,o=(t,i)=>{l.ti?j(h,a.ii,a.ni,a.si,a.ei,t,a.ri,[a.lt,0,0,a.lt],i):j(h,a.hi,a.ni,a.si,a.ei,t,a.ri,[0,a.lt,a.lt,0],i)};return o(r,"transparent"),this.It.li&&(h.fillStyle=e,h.fillRect(a.hi,a.ai,a.oi-a.hi,a._i)),o("transparent",r),this.It.ui&&(h.fillStyle=i.O,h.fillRect(l.ti?a.ci-a.ri:0,a.ni,a.ri,a.di-a.ni)),l}));t.useMediaCoordinateSpace((({context:t})=>{const n=h.fi;t.font=i.P,t.textAlign=h.ti?"right":"left",t.textBaseline="middle",t.fillStyle=e,t.fillText(this.It.Gt,n.pi,(n.ni+n.di)/2+n.vi)}))}Jt(t,i,n,s){var e;const{context:r,bitmapSize:h,mediaSize:l,horizontalPixelRatio:a,verticalPixelRatio:o}=t,_=this.It.li||!this.It.mi?i.C:0,u=this.It.bi?i.k:0,c=i.I+this.Kt.gi,d=i.B+this.Kt.wi,f=i.A,p=i.L,v=this.It.Gt,m=i.T,b=n.Mi(r,v),g=Math.ceil(n.Si(r,v)),w=m+c+d,M=i.k+f+p+g+_,S=Math.max(1,Math.floor(o));let x=Math.round(w*o);x%2!=S%2&&(x+=1);const y=u>0?Math.max(1,Math.floor(u*a)):0,k=Math.round(M*a),C=Math.round(_*a),T=null!==(e=this.Kt.xi)&&void 0!==e?e:this.Kt.yi,P=Math.round(T*o)-Math.floor(.5*o),R=Math.floor(P+S/2-x/2),D=R+x,O="right"===s,B=O?l.width-u:u,E=O?h.width-y:y;let A,L,z;return O?(A=E-k,L=E-C,z=B-_-f-u):(A=E+k,L=E+C,z=B+_+f),{ti:O,Qt:{ni:R,ai:P,di:D,si:k,ei:x,lt:2*a,ri:y,ii:A,hi:E,oi:L,_i:S,ci:h.width},fi:{ni:R/o,di:D/o,pi:z,vi:b}}}}class U{constructor(t){this.ki={yi:0,t:"#000",wi:0,gi:0},this.Ci={Gt:"",Ct:!1,li:!0,mi:!1,Et:"",D:"#FFF",ui:!1,bi:!1},this.Ti={Gt:"",Ct:!1,li:!1,mi:!0,Et:"",D:"#FFF",ui:!0,bi:!0},this.vt=!0,this.Pi=new(t||H)(this.Ci,this.ki),this.Ri=new(t||H)(this.Ti,this.ki)}Gt(){return this.Di(),this.Ci.Gt}yi(){return this.Di(),this.ki.yi}gt(){this.vt=!0}Lt(t,i=!1){return Math.max(this.Pi.Lt(t,i),this.Ri.Lt(t,i))}Oi(){return this.ki.xi||0}Bi(t){this.ki.xi=t}Ei(){return this.Di(),this.Ci.Ct||this.Ti.Ct}Ai(){return this.Di(),this.Ci.Ct}Mt(t){return this.Di(),this.Ci.li=this.Ci.li&&t.F().ticksVisible,this.Ti.li=this.Ti.li&&t.F().ticksVisible,this.Pi.tt(this.Ci,this.ki),this.Ri.tt(this.Ti,this.ki),this.Pi}Li(){return this.Di(),this.Pi.tt(this.Ci,this.ki),this.Ri.tt(this.Ti,this.ki),this.Ri}Di(){this.vt&&(this.Ci.li=!0,this.Ti.li=!1,this.zi(this.Ci,this.Ti,this.ki))}}class q extends U{constructor(t,i,n){super(),this.$t=t,this.Ii=i,this.Ni=n}zi(t,i,n){t.Ct=!1;const s=this.$t.F().horzLine;if(!s.labelVisible)return;const e=this.Ii.Tt();if(!this.$t.Ct()||this.Ii.Vi()||null===e)return;const r=v(s.labelBackgroundColor);n.t=r.t,t.D=r.i;const h=2/12*this.Ii.T();n.gi=h,n.wi=h;const l=this.Ni(this.Ii);n.yi=l.yi,t.Gt=this.Ii.Fi(l.ut,e),t.Ct=!0}}const Y=/[1-9]/g;class X{constructor(){this.It=null}tt(t){this.It=t}X(t,i){if(null===this.It||!1===this.It.Ct||0===this.It.Gt.length)return;const n=t.useMediaCoordinateSpace((({context:t})=>(t.font=i.P,Math.round(i.Wi.Si(t,h(this.It).Gt,Y)))));if(n<=0)return;const s=i.ji,e=n+2*s,r=e/2,l=this.It.$i;let a=this.It.yi,o=Math.floor(a-r)+.5;o<0?(a+=Math.abs(0-o),o=Math.floor(a-r)+.5):o+e>l&&(a-=Math.abs(l-(o+e)),o=Math.floor(a-r)+.5);const _=o+e,u=Math.ceil(0+i.k+i.C+i.I+i.T+i.B);t.useBitmapCoordinateSpace((({context:t,horizontalPixelRatio:n,verticalPixelRatio:s})=>{const e=h(this.It);t.fillStyle=e.t;const r=Math.round(o*n),l=Math.round(0*s),a=Math.round(_*n),c=Math.round(u*s),d=Math.round(2*n);if(t.beginPath(),t.moveTo(r,l),t.lineTo(r,c-d),t.arcTo(r,c,r+d,c,d),t.lineTo(a-d,c),t.arcTo(a,c,a,c-d,d),t.lineTo(a,l),t.fill(),e.li){const r=Math.round(e.yi*n),h=l,a=Math.round((h+i.C)*s);t.fillStyle=e.D;const o=Math.max(1,Math.floor(n)),_=Math.floor(.5*n);t.fillRect(r-_,h,o,a-h)}})),t.useMediaCoordinateSpace((({context:t})=>{const n=h(this.It),e=0+i.k+i.C+i.I+i.T/2;t.font=i.P,t.textAlign="left",t.textBaseline="middle",t.fillStyle=n.D;const r=i.Wi.Mi(t,"Apr0");t.translate(o+s,e+r),t.fillText(n.Gt,0,0)}))}}class Z{constructor(t,i,n){this.vt=!0,this.jt=new X,this.Wt={Ct:!1,t:"#4c525e",D:"white",Gt:"",$i:0,yi:NaN,li:!0},this.bt=t,this.Hi=i,this.Ni=n}gt(){this.vt=!0}Mt(){return this.vt&&(this.St(),this.vt=!1),this.jt.tt(this.Wt),this.jt}St(){const t=this.Wt;t.Ct=!1;const i=this.bt.F().vertLine;if(!i.labelVisible)return;const n=this.Hi.yt();if(n.Vi())return;t.$i=n.$i();const s=this.Ni();if(null===s)return;t.yi=s.yi;const e=n.Ui(this.bt.xt());t.Gt=n.qi(h(e)),t.Ct=!0;const r=v(i.labelBackgroundColor);t.t=r.t,t.D=r.i,t.li=n.F().ticksVisible}}class K{constructor(){this.Yi=null,this.Xi=0}Zi(){return this.Xi}Ki(t){this.Xi=t}Ot(){return this.Yi}Gi(t){this.Yi=t}Ji(t){return[]}Qi(){return[]}Ct(){return!0}}var G;!function(t){t[t.Normal=0]="Normal",t[t.Magnet=1]="Magnet"}(G||(G={}));class J extends K{constructor(t,i){super(),this.tn=null,this.nn=NaN,this.sn=0,this.en=!0,this.rn=new Map,this.hn=!1,this.ln=NaN,this.an=NaN,this.on=NaN,this._n=NaN,this.Hi=t,this.un=i,this.cn=new A(t,this);this.dn=((t,i)=>n=>{const s=i(),e=t();if(n===h(this.tn).fn())return{ut:e,yi:s};{const t=h(n.Tt());return{ut:n.pn(s,t),yi:s}}})((()=>this.nn),(()=>this.an));const n=((t,i)=>()=>{const n=this.Hi.yt().vn(t()),s=i();return n&&Number.isFinite(s)?{_t:n,yi:s}:null})((()=>this.sn),(()=>this.Xt()));this.mn=new Z(this,t,n),this.bn=new I(this)}F(){return this.un}gn(t,i){this.on=t,this._n=i}wn(){this.on=NaN,this._n=NaN}Mn(){return this.on}Sn(){return this._n}xn(t,i,n){this.hn||(this.hn=!0),this.en=!0,this.yn(t,i,n)}xt(){return this.sn}Xt(){return this.ln}Zt(){return this.an}Ct(){return this.en}kn(){this.en=!1,this.Cn(),this.nn=NaN,this.ln=NaN,this.an=NaN,this.tn=null,this.wn()}Tn(t){return null!==this.tn?[this.bn,this.cn]:[]}qt(t){return t===this.tn&&this.un.horzLine.visible}Yt(){return this.un.vertLine.visible}Pn(t,i){this.en&&this.tn===t||this.rn.clear();const n=[];return this.tn===t&&n.push(this.Rn(this.rn,i,this.dn)),n}Qi(){return this.en?[this.mn]:[]}Ht(){return this.tn}Dn(){this.bn.gt(),this.rn.forEach((t=>t.gt())),this.mn.gt(),this.cn.gt()}On(t){return t&&!t.fn().Vi()?t.fn():null}yn(t,i,n){this.Bn(t,i,n)&&this.Dn()}Bn(t,i,n){const s=this.ln,e=this.an,r=this.nn,h=this.sn,l=this.tn,a=this.On(n);this.sn=t,this.ln=isNaN(t)?NaN:this.Hi.yt().zt(t),this.tn=n;const o=null!==a?a.Tt():null;return null!==a&&null!==o?(this.nn=i,this.an=a.Dt(i,o)):(this.nn=NaN,this.an=NaN),s!==this.ln||e!==this.an||h!==this.sn||r!==this.nn||l!==this.tn}Cn(){const t=this.Hi.wt().map((t=>t.An().En())).filter(y),i=0===t.length?null:Math.max(...t);this.sn=null!==i?i:NaN}Rn(t,i,n){let s=t.get(i);return void 0===s&&(s=new q(this,i,n),t.set(i,s)),s}}function Q(t){return"left"===t||"right"===t}class tt{constructor(t){this.Ln=new Map,this.zn=[],this.In=t}Nn(t,i){const n=function(t,i){return void 0===t?i:{Vn:Math.max(t.Vn,i.Vn),Fn:t.Fn||i.Fn}}(this.Ln.get(t),i);this.Ln.set(t,n)}Wn(){return this.In}jn(t){const i=this.Ln.get(t);return void 0===i?{Vn:this.In}:{Vn:Math.max(this.In,i.Vn),Fn:i.Fn}}$n(){this.Hn(),this.zn=[{Un:0}]}qn(t){this.Hn(),this.zn=[{Un:1,Bt:t}]}Yn(t){this.Xn(),this.zn.push({Un:5,Bt:t})}Hn(){this.Xn(),this.zn.push({Un:6})}Zn(){this.Hn(),this.zn=[{Un:4}]}Kn(t){this.Hn(),this.zn.push({Un:2,Bt:t})}Gn(t){this.Hn(),this.zn.push({Un:3,Bt:t})}Jn(){return this.zn}Qn(t){for(const i of t.zn)this.ts(i);this.In=Math.max(this.In,t.In),t.Ln.forEach(((t,i)=>{this.Nn(i,t)}))}static ns(){return new tt(2)}static ss(){return new tt(3)}ts(t){switch(t.Un){case 0:this.$n();break;case 1:this.qn(t.Bt);break;case 2:this.Kn(t.Bt);break;case 3:this.Gn(t.Bt);break;case 4:this.Zn();break;case 5:this.Yn(t.Bt);break;case 6:this.Xn()}}Xn(){const t=this.zn.findIndex((t=>5===t.Un));-1!==t&&this.zn.splice(t,1)}}const it=".";function nt(t,i){if(!g(t))return"n/a";if(!w(i))throw new TypeError("invalid length");if(i<0||i>16)throw new TypeError("invalid length");if(0===i)return t.toString();return("0000000000000000"+t.toString()).slice(-i)}class st{constructor(t,i){if(i||(i=1),g(t)&&w(t)||(t=100),t<0)throw new TypeError("invalid base");this.Ii=t,this.es=i,this.rs()}format(t){const i=t<0?"−":"";return t=Math.abs(t),i+this.hs(t)}rs(){if(this.ls=0,this.Ii>0&&this.es>0){let t=this.Ii;for(;t>1;)t/=10,this.ls++}}hs(t){const i=this.Ii/this.es;let n=Math.floor(t),s="";const e=void 0!==this.ls?this.ls:NaN;if(i>1){let r=+(Math.round(t*i)-n*i).toFixed(this.ls);r>=i&&(r-=i,n+=1),s=it+nt(+r.toFixed(this.ls)*this.es,e)}else n=Math.round(n*i)/i,e>0&&(s=it+nt(0,e));return n.toFixed(0)+s}}class et extends st{constructor(t=100){super(t)}format(t){return`${super.format(t)}%`}}class rt{constructor(t){this.os=t}format(t){let i="";return t<0&&(i="-",t=-t),t<995?i+this._s(t):t<999995?i+this._s(t/1e3)+"K":t<999999995?(t=1e3*Math.round(t/1e3),i+this._s(t/1e6)+"M"):(t=1e6*Math.round(t/1e6),i+this._s(t/1e9)+"B")}_s(t){let i;const n=Math.pow(10,this.os);return i=(t=Math.round(t*n)/n)>=1e-15&&t<1?t.toFixed(this.os).replace(/\.?0+$/,""):String(t),i.replace(/(\.[1-9]*)0+$/,((t,i)=>i))}}function ht(t,i,n,s,e,r,h){if(0===i.length||s.from>=i.length||s.to<=0)return;const l=t.context,a=i[s.from];let o=r(t,a),_=a;if(s.to-s.from<2){const t=e/2;l.beginPath();const i={st:a.st-t,et:a.et},n={st:a.st+t,et:a.et};return l.moveTo(i.st,i.et),l.lineTo(n.st,n.et),void h(l,o,i,n)}const u=(t,i)=>{h(l,o,_,i),l.beginPath(),o=t,_=i};let c=_;l.beginPath(),l.moveTo(a.st,a.et);for(let e=s.from+1;e>1,h=s+e;n(t[h],i)?(s=h+1,r-=e+1):r=e}return s}function bt(t,i,n,s=0,e=t.length){let r=e-s;for(;0>1,h=s+e;n(i,t[h])?r=e:(s=h+1,r-=e+1)}return s}function gt(t,i){return t._t0&&r=s&&(l=r-1),h>0&&hObject.assign(Object.assign({},t),this.Ts.As().Es(t._t))))}Ls(){this.Cs=null}Ds(){this.xs&&(this.zs(),this.xs=!1),this.ys&&(this.Bs(),this.ys=!1),this.Ss&&(this.Is(),this.Ss=!1)}Is(){const t=this.Ts.Ot(),i=this.Ps.yt();if(this.Ls(),i.Vi()||t.Vi())return;const n=i.Ns();if(null===n)return;if(0===this.Ts.An().Vs())return;const s=this.Ts.Tt();null!==s&&(this.Cs=Mt(this.ks,n,this.Rs),this.Fs(t,i,s.Bt),this.Ws())}}class xt extends St{constructor(t,i){super(t,i,!0)}Fs(t,i,n){i.js(this.ks,k(this.Cs)),t.$s(this.ks,n,k(this.Cs))}Hs(t,i){return{_t:t,ut:i,st:NaN,et:NaN}}zs(){const t=this.Ts.As();this.ks=this.Ts.An().Us().map((i=>{const n=i.Bt[3];return this.qs(i.Ys,n,t)}))}}class yt extends xt{constructor(t,i){super(t,i),this.Os=new R,this.Xs=new dt,this.Zs=new vt,this.Os.Y([this.Xs,this.Zs])}qs(t,i,n){return Object.assign(Object.assign({},this.Hs(t,i)),n.Es(t))}Ws(){const t=this.Ts.F();this.Xs.tt({cs:t.lineType,nt:this.ks,Ft:t.lineStyle,rt:t.lineWidth,ds:null,fs:t.invertFilledArea,it:this.Cs,us:this.Ps.yt().Ks()}),this.Zs.tt({cs:t.lineType,nt:this.ks,Ft:t.lineStyle,rt:t.lineWidth,it:this.Cs,us:this.Ps.yt().Ks()})}}class kt extends L{constructor(){super(...arguments),this.It=null,this.Gs=0,this.Js=0}tt(t){this.It=t}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){if(null===this.It||0===this.It.An.length||null===this.It.it)return;if(this.Gs=this.Qs(i),this.Gs>=2){Math.max(1,Math.floor(i))%2!=this.Gs%2&&this.Gs--}this.Js=this.It.te?Math.min(this.Gs,Math.floor(i)):this.Gs;let s=null;const e=this.Js<=this.Gs&&this.It.Ks>=Math.floor(1.5*i);for(let r=this.It.it.from;rf+v-1&&(e=f+v-1,s=e-_+1),t.fillRect(i,s,o-i,e-s+1)}const i=a+m;let s=Math.max(f,Math.round(h.he*n)-l),e=s+_-1;e>f+v-1&&(e=f+v-1,s=e-_+1),t.fillRect(u+1,s,i-u,e-s+1)}}}Qs(t){const i=Math.floor(t);return Math.max(i,Math.floor(function(t,i){return Math.floor(.3*t*i)}(h(this.It).Ks,t)))}}class Ct extends St{constructor(t,i){super(t,i,!1)}Fs(t,i,n){i.js(this.ks,k(this.Cs)),t.le(this.ks,n,k(this.Cs))}ae(t,i,n){return{_t:t,oe:i.Bt[0],_e:i.Bt[1],ue:i.Bt[2],ce:i.Bt[3],st:NaN,re:NaN,ne:NaN,se:NaN,he:NaN}}zs(){const t=this.Ts.As();this.ks=this.Ts.An().Us().map((i=>this.qs(i.Ys,i,t)))}}class Tt extends Ct{constructor(){super(...arguments),this.Os=new kt}qs(t,i,n){return Object.assign(Object.assign({},this.ae(t,i,n)),n.Es(t))}Ws(){const t=this.Ts.F();this.Os.tt({An:this.ks,Ks:this.Ps.yt().Ks(),ee:t.openVisible,te:t.thinBars,it:this.Cs})}}function Pt(t,i,n){return Math.min(Math.max(t,i),n)}function Rt(t,i,n){return i-t<=n}function Dt(t){return t<=0?NaN:Math.log(t)/Math.log(10)}function Ot(t){const i=Math.ceil(t);return i%2==0?i-1:i}class Bt extends ct{constructor(){super(...arguments),this.vs=null}ps(t,i){var n;const{context:s,mediaSize:e}=t,r=this.J,{de:h,fe:l,pe:a,ve:o}=i,_=null!==(n=r.ds)&&void 0!==n?n:e.height,u=e.height;if(null!==this.vs&&this.vs.topFillColor1===h&&this.vs.topFillColor2===l&&this.vs.bottomFillColor1===a&&this.vs.bottomFillColor2===o&&this.vs.baseLevelCoordinate===_&&this.vs.bottom===u)return this.vs.fillStyle;const c=s.createLinearGradient(0,0,0,u),d=Pt(_/u,0,1);return c.addColorStop(0,h),c.addColorStop(d,l),c.addColorStop(d,a),c.addColorStop(1,o),this.vs={topFillColor1:h,topFillColor2:l,bottomFillColor1:a,bottomFillColor2:o,fillStyle:c,baseLevelCoordinate:_,bottom:u},c}}class Et extends pt{constructor(){super(...arguments),this.me=null}ws(t,i){const{context:n,mediaSize:s}=t,e=this.J,{be:r,ge:h}=i,{ds:l}=e,a=s.height;if(null!==this.me&&this.me.topLineColor===r&&this.me.bottomLineColor===h&&this.me.baseLevelCoordinate===l&&this.me.bottom===a)return this.me.strokeStyle;const o=n.createLinearGradient(0,0,0,a),_=Pt(l/a,0,1);return o.addColorStop(0,r),o.addColorStop(_,r),o.addColorStop(_,h),o.addColorStop(1,h),this.me={topLineColor:r,bottomLineColor:h,strokeStyle:o,baseLevelCoordinate:l,bottom:a},o}}class At extends xt{constructor(t,i){super(t,i),this.Os=new R,this.we=new Bt,this.Me=new Et,this.Os.Y([this.we,this.Me])}qs(t,i,n){return Object.assign(Object.assign({},this.Hs(t,i)),n.Es(t))}Ws(){const t=this.Ts.Tt();if(null===t)return;const i=this.Ts.F(),n=this.Ts.Ot().Dt(i.baseValue.price,t.Bt),s=this.Ps.yt().Ks();this.we.tt({nt:this.ks,rt:i.lineWidth,Ft:i.lineStyle,cs:i.lineType,ds:n,fs:!1,it:this.Cs,us:s}),this.Me.tt({nt:this.ks,rt:i.lineWidth,Ft:i.lineStyle,cs:i.lineType,ds:n,it:this.Cs,us:s})}}class Lt extends L{constructor(){super(...arguments),this.It=null,this.Gs=0}tt(t){this.It=t}Z(t){if(null===this.It||0===this.It.An.length||null===this.It.it)return;const{horizontalPixelRatio:i}=t;if(this.Gs=function(t,i){if(t>=2.5&&t<=4)return Math.floor(3*i);const n=1-.2*Math.atan(Math.max(4,t)-4)/(.5*Math.PI),s=Math.floor(t*n*i),e=Math.floor(t*i),r=Math.min(s,e);return Math.max(Math.floor(i),r)}(this.It.Ks,i),this.Gs>=2){Math.floor(i)%2!=this.Gs%2&&this.Gs--}const n=this.It.An;this.It.Se&&this.xe(t,n,this.It.it),this.It.ui&&this.ye(t,n,this.It.it);const s=this.ke(i);(!this.It.ui||this.Gs>2*s)&&this.Ce(t,n,this.It.it)}xe(t,i,n){if(null===this.It)return;const{context:s,horizontalPixelRatio:e,verticalPixelRatio:r}=t;let h="",l=Math.min(Math.floor(e),Math.floor(this.It.Ks*e));l=Math.max(Math.floor(e),Math.min(l,this.Gs));const a=Math.floor(.5*l);let o=null;for(let t=n.from;t2*l)N(s,o,u,_-o+1,c-u+1,l);else{const t=_-o+1;s.fillRect(o,u,t,c-u+1)}a=_}}Ce(t,i,n){if(null===this.It)return;const{context:s,horizontalPixelRatio:e,verticalPixelRatio:r}=t;let h="";const l=this.ke(e);for(let t=n.from;to||s.fillRect(_,a,u-_+1,o-a+1)}}}class zt extends Ct{constructor(){super(...arguments),this.Os=new Lt}qs(t,i,n){return Object.assign(Object.assign({},this.ae(t,i,n)),n.Es(t))}Ws(){const t=this.Ts.F();this.Os.tt({An:this.ks,Ks:this.Ps.yt().Ks(),Se:t.wickVisible,ui:t.borderVisible,it:this.Cs})}}class It extends L{constructor(){super(...arguments),this.It=null,this.Re=[]}tt(t){this.It=t,this.Re=[]}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){if(null===this.It||0===this.It.nt.length||null===this.It.it)return;this.Re.length||this.De(i);const s=Math.max(1,Math.floor(n)),e=Math.round(this.It.Oe*n)-Math.floor(s/2),r=e+s;for(let i=this.It.it.from;is.Ee?s.ci=n.Ms-i-1:n.Ms=s.ci+i+1))}let s=Math.ceil(this.It.Ks*t);for(let t=this.It.it.from;t0&&s<4)for(let t=this.It.it.from;ts&&(i.Be>i.Ee?i.ci-=1:i.Ms+=1)}}}class Nt extends xt{constructor(){super(...arguments),this.Os=new It}qs(t,i,n){return Object.assign(Object.assign({},this.Hs(t,i)),n.Es(t))}Ws(){const t={nt:this.ks,Ks:this.Ps.yt().Ks(),it:this.Cs,Oe:this.Ts.Ot().Dt(this.Ts.F().base,h(this.Ts.Tt()).Bt)};this.Os.tt(t)}}class Vt extends xt{constructor(){super(...arguments),this.Os=new vt}qs(t,i,n){return Object.assign(Object.assign({},this.Hs(t,i)),n.Es(t))}Ws(){const t=this.Ts.F(),i={nt:this.ks,Ft:t.lineStyle,cs:t.lineType,rt:t.lineWidth,it:this.Cs,us:this.Ps.yt().Ks()};this.Os.tt(i)}}const Ft=/[2-9]/g;class Wt{constructor(t=50){this.Ae=0,this.Le=1,this.ze=1,this.Ie={},this.Ne=new Map,this.Ve=t}Fe(){this.Ae=0,this.Ne.clear(),this.Le=1,this.ze=1,this.Ie={}}Si(t,i,n){return this.We(t,i,n).width}Mi(t,i,n){const s=this.We(t,i,n);return((s.actualBoundingBoxAscent||0)-(s.actualBoundingBoxDescent||0))/2}We(t,i,n){const s=n||Ft,e=String(i).replace(s,"0");if(this.Ne.has(e))return r(this.Ne.get(e)).je;if(this.Ae===this.Ve){const t=this.Ie[this.ze];delete this.Ie[this.ze],this.Ne.delete(t),this.ze++,this.Ae--}t.save(),t.textBaseline="middle";const h=t.measureText(e);return t.restore(),0===h.width&&i.length||(this.Ne.set(e,{je:h,$e:this.Le}),this.Ie[this.Le]=e,this.Ae++,this.Le++),h}}class jt{constructor(t){this.He=null,this.S=null,this.Ue="right",this.qe=t}Ye(t,i,n){this.He=t,this.S=i,this.Ue=n}X(t){null!==this.S&&null!==this.He&&this.He.X(t,this.S,this.qe,this.Ue)}}class $t{constructor(t,i,n){this.Xe=t,this.qe=new Wt(50),this.Ze=i,this.V=n,this.W=-1,this.jt=new jt(this.qe)}Mt(){const t=this.V.Ke(this.Ze);if(null===t)return null;const i=t.Ge(this.Ze)?t.Je():this.Ze.Ot();if(null===i)return null;const n=t.Qe(i);if("overlay"===n)return null;const s=this.V.tr();return s.T!==this.W&&(this.W=s.T,this.qe.Fe()),this.jt.Ye(this.Xe.Li(),s,n),this.jt}}class Ht extends L{constructor(){super(...arguments),this.It=null}tt(t){this.It=t}ir(t,i){var n;if(!(null===(n=this.It)||void 0===n?void 0:n.Ct))return null;const{et:s,rt:e,nr:r}=this.It;return i>=s-e-7&&i<=s+e+7?{sr:this.It,nr:r}:null}Z({context:t,bitmapSize:i,horizontalPixelRatio:e,verticalPixelRatio:r}){if(null===this.It)return;if(!1===this.It.Ct)return;const h=Math.round(this.It.et*r);h<0||h>i.height||(t.lineCap="butt",t.strokeStyle=this.It.D,t.lineWidth=Math.floor(this.It.rt*e),n(t,this.It.Ft),s(t,h,0,i.width))}}class Ut{constructor(t){this.er={et:0,D:"rgba(0, 0, 0, 0)",rt:1,Ft:0,Ct:!1},this.rr=new Ht,this.vt=!0,this.Ts=t,this.Ps=t.Ut(),this.rr.tt(this.er)}gt(){this.vt=!0}Mt(){return this.Ts.Ct()?(this.vt&&(this.hr(),this.vt=!1),this.rr):null}}class qt extends Ut{constructor(t){super(t)}hr(){this.er.Ct=!1;const t=this.Ts.Ot(),i=t.lr().lr;if(2!==i&&3!==i)return;const n=this.Ts.F();if(!n.baseLineVisible||!this.Ts.Ct())return;const s=this.Ts.Tt();null!==s&&(this.er.Ct=!0,this.er.et=t.Dt(s.Bt,s.Bt),this.er.D=n.baseLineColor,this.er.rt=n.baseLineWidth,this.er.Ft=n.baseLineStyle)}}class Yt extends L{constructor(){super(...arguments),this.It=null}tt(t){this.It=t}ar(){return this.It}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){const s=this.It;if(null===s)return;const e=Math.max(1,Math.floor(i)),r=e%2/2,h=Math.round(s.Ee.x*i)+r,l=s.Ee.y*n;t.fillStyle=s._r,t.beginPath();const a=Math.max(2,1.5*s.ur)*i;t.arc(h,l,a,0,2*Math.PI,!1),t.fill(),t.fillStyle=s.cr,t.beginPath(),t.arc(h,l,s.lt*i,0,2*Math.PI,!1),t.fill(),t.lineWidth=e,t.strokeStyle=s.dr,t.beginPath(),t.arc(h,l,s.lt*i+e/2,0,2*Math.PI,!1),t.stroke()}}const Xt=[{pr:0,vr:.25,mr:4,br:10,gr:.25,wr:0,Mr:.4,Sr:.8},{pr:.25,vr:.525,mr:10,br:14,gr:0,wr:0,Mr:.8,Sr:0},{pr:.525,vr:1,mr:14,br:14,gr:0,wr:0,Mr:0,Sr:0}];function Zt(t,i,n,s){return function(t,i){if("transparent"===t)return t;const n=p(t),s=n[3];return`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${i*s})`}(t,n+(s-n)*i)}function Kt(t,i){const n=t%2600/2600;let s;for(const t of Xt)if(n>=t.pr&&n<=t.vr){s=t;break}e(void 0!==s,"Last price animation internal logic error");const r=(n-s.pr)/(s.vr-s.pr);return{cr:Zt(i,r,s.gr,s.wr),dr:Zt(i,r,s.Mr,s.Sr),lt:(h=r,l=s.mr,a=s.br,l+(a-l)*h)};var h,l,a}class Gt{constructor(t){this.jt=new Yt,this.vt=!0,this.yr=!0,this.kr=performance.now(),this.Cr=this.kr-1,this.Tr=t}Pr(){this.Cr=this.kr-1,this.gt()}Rr(){if(this.gt(),2===this.Tr.F().lastPriceAnimation){const t=performance.now(),i=this.Cr-t;if(i>0)return void(i<650&&(this.Cr+=2600));this.kr=t,this.Cr=t+2600}}gt(){this.vt=!0}Dr(){this.yr=!0}Ct(){return 0!==this.Tr.F().lastPriceAnimation}Or(){switch(this.Tr.F().lastPriceAnimation){case 0:return!1;case 1:return!0;case 2:return performance.now()<=this.Cr}}Mt(){return this.vt?(this.St(),this.vt=!1,this.yr=!1):this.yr&&(this.Br(),this.yr=!1),this.jt}St(){this.jt.tt(null);const t=this.Tr.Ut().yt(),i=t.Ns(),n=this.Tr.Tt();if(null===i||null===n)return;const s=this.Tr.Er(!0);if(s.Ar||!i.Lr(s.Ys))return;const e={x:t.zt(s.Ys),y:this.Tr.Ot().Dt(s.ut,n.Bt)},r=s.D,h=this.Tr.F().lineWidth,l=Kt(this.zr(),r);this.jt.tt({_r:r,ur:h,cr:l.cr,dr:l.dr,lt:l.lt,Ee:e})}Br(){const t=this.jt.ar();if(null!==t){const i=Kt(this.zr(),t._r);t.cr=i.cr,t.dr=i.dr,t.lt=i.lt}}zr(){return this.Or()?performance.now()-this.kr:2599}}function Jt(t,i){return Ot(Math.min(Math.max(t,12),30)*i)}function Qt(t,i){switch(t){case"arrowDown":case"arrowUp":return Jt(i,1);case"circle":return Jt(i,.8);case"square":return Jt(i,.7)}}function ti(t){return function(t){const i=Math.ceil(t);return i%2!=0?i-1:i}(Jt(t,1))}function ii(t){return Math.max(Jt(t,.1),3)}function ni(t,i,n,s,e){const r=Qt("square",n),h=(r-1)/2,l=t-h,a=i-h;return s>=l&&s<=l+r&&e>=a&&e<=a+r}function si(t,i,n,s,e){const r=(Qt("arrowUp",e)-1)/2,h=(Ot(e/2)-1)/2;i.beginPath(),t?(i.moveTo(n-r,s),i.lineTo(n,s-r),i.lineTo(n+r,s),i.lineTo(n+h,s),i.lineTo(n+h,s+r),i.lineTo(n-h,s+r),i.lineTo(n-h,s)):(i.moveTo(n-r,s),i.lineTo(n,s+r),i.lineTo(n+r,s),i.lineTo(n+h,s),i.lineTo(n+h,s-r),i.lineTo(n-h,s-r),i.lineTo(n-h,s)),i.fill()}function ei(t,i,n,s,e,r){return ni(i,n,s,e,r)}class ri extends D{constructor(){super(...arguments),this.It=null,this.qe=new Wt,this.W=-1,this.j="",this.Ir=""}tt(t){this.It=t}Ye(t,i){this.W===t&&this.j===i||(this.W=t,this.j=i,this.Ir=T(t,i),this.qe.Fe())}ir(t,i){if(null===this.It||null===this.It.it)return null;for(let n=this.It.it.from;n=t&&e<=t+n&&r>=i-h&&r<=i+h}(t.Gt.st,t.Gt.et,t.Gt.$i,t.Gt.Lt,i,n))||function(t,i,n){if(0===t.Vs)return!1;switch(t.Fr){case"arrowDown":case"arrowUp":return ei(0,t.st,t.et,t.Vs,i,n);case"circle":return function(t,i,n,s,e){const r=2+Qt("circle",n)/2,h=t-s,l=i-e;return Math.sqrt(h*h+l*l)<=r}(t.st,t.et,t.Vs,i,n);case"square":return ni(t.st,t.et,t.Vs,i,n)}}(t,i,n)}function ai(t,i,n,s,e,r,h,l,a){const o=g(n)?n:n.ce,_=g(n)?n:n._e,u=g(n)?n:n.ue,c=g(i.size)?Math.max(i.size,0):1,d=ti(l.Ks())*c,f=d/2;switch(t.Vs=d,i.position){case"inBar":return t.et=h.Dt(o,a),void(void 0!==t.Gt&&(t.Gt.et=t.et+f+r+.6*e));case"aboveBar":return t.et=h.Dt(_,a)-f-s.Wr,void 0!==t.Gt&&(t.Gt.et=t.et-f-.6*e,s.Wr+=1.2*e),void(s.Wr+=d+r);case"belowBar":return t.et=h.Dt(u,a)+f+s.jr,void 0!==t.Gt&&(t.Gt.et=t.et+f+r+.6*e,s.jr+=1.2*e),void(s.jr+=d+r)}i.position}class oi{constructor(t,i){this.vt=!0,this.$r=!0,this.Hr=!0,this.Ur=null,this.jt=new ri,this.Tr=t,this.Hi=i,this.It={nt:[],it:null}}gt(t){this.vt=!0,this.Hr=!0,"data"===t&&(this.$r=!0)}Mt(t){if(!this.Tr.Ct())return null;this.vt&&this.qr();const i=this.Hi.F().layout;return this.jt.Ye(i.fontSize,i.fontFamily),this.jt.tt(this.It),this.jt}Yr(){if(this.Hr){if(this.Tr.Xr().length>0){const t=this.Hi.yt().Ks(),i=ii(t),n=1.5*ti(t)+2*i;this.Ur={above:n,below:n}}else this.Ur=null;this.Hr=!1}return this.Ur}qr(){const t=this.Tr.Ot(),i=this.Hi.yt(),n=this.Tr.Xr();this.$r&&(this.It.nt=n.map((t=>({_t:t.time,st:0,et:0,Vs:0,Fr:t.shape,D:t.color,Nr:t.internalId,nr:t.id,Gt:void 0}))),this.$r=!1);const s=this.Hi.F().layout;this.It.it=null;const e=i.Ns();if(null===e)return;const r=this.Tr.Tt();if(null===r)return;if(0===this.It.nt.length)return;let h=NaN;const l=ii(i.Ks()),a={Wr:l,jr:l};this.It.it=Mt(this.It.nt,e,!0);for(let e=this.It.it.from;e0&&(_.Gt={Vr:o.text,st:0,et:0,$i:0,Lt:0});const u=this.Tr.Zr(o.time);null!==u&&ai(_,o,u,a,s.fontSize,l,t,i,r.Bt)}this.vt=!1}}class _i extends Ut{constructor(t){super(t)}hr(){const t=this.er;t.Ct=!1;const i=this.Ts.F();if(!i.priceLineVisible||!this.Ts.Ct())return;const n=this.Ts.Er(0===i.priceLineSource);n.Ar||(t.Ct=!0,t.et=n.yi,t.D=this.Ts.Kr(n.D),t.rt=i.priceLineWidth,t.Ft=i.priceLineStyle)}}class ui extends U{constructor(t){super(),this.$t=t}zi(t,i,n){t.Ct=!1,i.Ct=!1;const s=this.$t;if(!s.Ct())return;const e=s.F(),r=e.lastValueVisible,h=""!==s.Gr(),l=0===e.seriesLastValueMode,a=s.Er(!1);if(a.Ar)return;r&&(t.Gt=this.Jr(a,r,l),t.Ct=0!==t.Gt.length),(h||l)&&(i.Gt=this.Qr(a,r,h,l),i.Ct=i.Gt.length>0);const o=s.Kr(a.D),_=v(o);n.t=_.t,n.yi=a.yi,i.Et=s.Ut().At(a.yi/s.Ot().Lt()),t.Et=o,t.D=_.i,i.D=_.i}Qr(t,i,n,s){let e="";const r=this.$t.Gr();return n&&0!==r.length&&(e+=`${r} `),i&&s&&(e+=this.$t.Ot().th()?t.ih:t.nh),e.trim()}Jr(t,i,n){return i?n?this.$t.Ot().th()?t.nh:t.ih:t.Gt:""}}class ci{constructor(t,i){this.sh=t,this.eh=i}rh(t){return null!==t&&(this.sh===t.sh&&this.eh===t.eh)}hh(){return new ci(this.sh,this.eh)}lh(){return this.sh}ah(){return this.eh}oh(){return this.eh-this.sh}Vi(){return this.eh===this.sh||Number.isNaN(this.eh)||Number.isNaN(this.sh)}Qn(t){return null===t?this:new ci(Math.min(this.lh(),t.lh()),Math.max(this.ah(),t.ah()))}_h(t){if(!g(t))return;if(0===this.eh-this.sh)return;const i=.5*(this.eh+this.sh);let n=this.eh-i,s=this.sh-i;n*=t,s*=t,this.eh=i+n,this.sh=i+s}uh(t){g(t)&&(this.eh+=t,this.sh+=t)}dh(){return{minValue:this.sh,maxValue:this.eh}}static fh(t){return null===t?null:new ci(t.minValue,t.maxValue)}}class di{constructor(t,i){this.ph=t,this.mh=i||null}bh(){return this.ph}gh(){return this.mh}dh(){return null===this.ph?null:{priceRange:this.ph.dh(),margins:this.mh||void 0}}static fh(t){return null===t?null:new di(ci.fh(t.priceRange),t.margins)}}class fi extends Ut{constructor(t,i){super(t),this.wh=i}hr(){const t=this.er;t.Ct=!1;const i=this.wh.F();if(!this.Ts.Ct()||!i.lineVisible)return;const n=this.wh.Mh();null!==n&&(t.Ct=!0,t.et=n,t.D=i.color,t.rt=i.lineWidth,t.Ft=i.lineStyle,t.nr=this.wh.F().id)}}class pi extends U{constructor(t,i){super(),this.Tr=t,this.wh=i}zi(t,i,n){t.Ct=!1,i.Ct=!1;const s=this.wh.F(),e=s.axisLabelVisible,r=""!==s.title,h=this.Tr;if(!e||!h.Ct())return;const l=this.wh.Mh();if(null===l)return;r&&(i.Gt=s.title,i.Ct=!0),i.Et=h.Ut().At(l/h.Ot().Lt()),t.Gt=this.Sh(s.price),t.Ct=!0;const a=v(s.axisLabelColor||s.color);n.t=a.t;const o=s.axisLabelTextColor||a.i;t.D=o,i.D=o,n.yi=l}Sh(t){const i=this.Tr.Tt();return null===i?"":this.Tr.Ot().Fi(t,i.Bt)}}class vi{constructor(t,i){this.Tr=t,this.un=i,this.xh=new fi(t,this),this.Xe=new pi(t,this),this.yh=new $t(this.Xe,t,t.Ut())}kh(t){b(this.un,t),this.gt(),this.Tr.Ut().Ch()}F(){return this.un}Th(){return this.xh}Ph(){return this.yh}Rh(){return this.Xe}gt(){this.xh.gt(),this.Xe.gt()}Mh(){const t=this.Tr,i=t.Ot();if(t.Ut().yt().Vi()||i.Vi())return null;const n=t.Tt();return null===n?null:i.Dt(this.un.price,n.Bt)}}class mi extends K{constructor(t){super(),this.Hi=t}Ut(){return this.Hi}}const bi={Bar:(t,i,n,s)=>{var e;const r=i.upColor,a=i.downColor,o=h(t(n,s)),_=l(o.Bt[0])<=l(o.Bt[3]);return{ie:null!==(e=o.D)&&void 0!==e?e:_?r:a}},Candlestick:(t,i,n,s)=>{var e,r,a;const o=i.upColor,_=i.downColor,u=i.borderUpColor,c=i.borderDownColor,d=i.wickUpColor,f=i.wickDownColor,p=h(t(n,s)),v=l(p.Bt[0])<=l(p.Bt[3]);return{ie:null!==(e=p.D)&&void 0!==e?e:v?o:_,Pe:null!==(r=p.Et)&&void 0!==r?r:v?u:c,Te:null!==(a=p.Dh)&&void 0!==a?a:v?d:f}},Area:(t,i,n,s)=>{var e,r,l,a;const o=h(t(n,s));return{ie:null!==(e=o.ot)&&void 0!==e?e:i.lineColor,ot:null!==(r=o.ot)&&void 0!==r?r:i.lineColor,bs:null!==(l=o.bs)&&void 0!==l?l:i.topColor,gs:null!==(a=o.gs)&&void 0!==a?a:i.bottomColor}},Baseline:(t,i,n,s)=>{var e,r,l,a,o,_;const u=h(t(n,s));return{ie:u.Bt[3]>=i.baseValue.price?i.topLineColor:i.bottomLineColor,be:null!==(e=u.be)&&void 0!==e?e:i.topLineColor,ge:null!==(r=u.ge)&&void 0!==r?r:i.bottomLineColor,de:null!==(l=u.de)&&void 0!==l?l:i.topFillColor1,fe:null!==(a=u.fe)&&void 0!==a?a:i.topFillColor2,pe:null!==(o=u.pe)&&void 0!==o?o:i.bottomFillColor1,ve:null!==(_=u.ve)&&void 0!==_?_:i.bottomFillColor2}},Line:(t,i,n,s)=>{var e,r;const l=h(t(n,s));return{ie:null!==(e=l.D)&&void 0!==e?e:i.color,ot:null!==(r=l.D)&&void 0!==r?r:i.color}},Histogram:(t,i,n,s)=>{var e;return{ie:null!==(e=h(t(n,s)).D)&&void 0!==e?e:i.color}}};class gi{constructor(t){this.Oh=(t,i)=>void 0!==i?i.Bt:this.Tr.An().Bh(t),this.Tr=t,this.Eh=bi[t.Ah()]}Es(t,i){return this.Eh(this.Oh,this.Tr.F(),t,i)}}var wi;!function(t){t[t.NearestLeft=-1]="NearestLeft",t[t.None=0]="None",t[t.NearestRight=1]="NearestRight"}(wi||(wi={}));const Mi=30;class Si{constructor(){this.Lh=[],this.zh=new Map,this.Ih=new Map}Nh(){return this.Vs()>0?this.Lh[this.Lh.length-1]:null}Vh(){return this.Vs()>0?this.Fh(0):null}En(){return this.Vs()>0?this.Fh(this.Lh.length-1):null}Vs(){return this.Lh.length}Vi(){return 0===this.Vs()}Lr(t){return null!==this.Wh(t,0)}Bh(t){return this.jh(t)}jh(t,i=0){const n=this.Wh(t,i);return null===n?null:Object.assign(Object.assign({},this.$h(n)),{Ys:this.Fh(n)})}Us(){return this.Lh}Hh(t,i,n){if(this.Vi())return null;let s=null;for(const e of n){s=xi(s,this.Uh(t,i,e))}return s}tt(t){this.Ih.clear(),this.zh.clear(),this.Lh=t}Fh(t){return this.Lh[t].Ys}$h(t){return this.Lh[t]}Wh(t,i){const n=this.qh(t);if(null===n&&0!==i)switch(i){case-1:return this.Yh(t);case 1:return this.Xh(t);default:throw new TypeError("Unknown search mode")}return n}Yh(t){let i=this.Zh(t);return i>0&&(i-=1),i!==this.Lh.length&&this.Fh(i)t.Ysi.Ys>t))}Gh(t,i,n){let s=null;for(let e=t;es.Qh&&(s.Qh=t)))}return s}Uh(t,i,n){if(this.Vi())return null;let s=null;const e=h(this.Vh()),r=h(this.En()),l=Math.max(t,e),a=Math.min(i,r),o=Math.ceil(l/Mi)*Mi,_=Math.max(o,Math.floor(a/Mi)*Mi);{const t=this.Zh(l),e=this.Kh(Math.min(a,o,i));s=xi(s,this.Gh(t,e,n))}let u=this.zh.get(n);void 0===u&&(u=new Map,this.zh.set(n,u));for(let t=Math.max(o+1,l);t<_;t+=Mi){const i=Math.floor(t/Mi);let e=u.get(i);if(void 0===e){const t=this.Zh(i*Mi),s=this.Kh((i+1)*Mi-1);e=this.Gh(t,s,n),u.set(i,e)}s=xi(s,e)}{const t=this.Zh(_),i=this.Kh(a);s=xi(s,this.Gh(t,i,n))}return s}}function xi(t,i){if(null===t)return i;if(null===i)return t;return{Jh:Math.min(t.Jh,i.Jh),Qh:Math.max(t.Qh,i.Qh)}}class yi extends mi{constructor(t,i,n){super(t),this.It=new Si,this.xh=new _i(this),this.tl=[],this.il=new qt(this),this.nl=null,this.sl=null,this.el=[],this.rl=[],this.hl=null,this.un=i,this.ll=n;const s=new ui(this);this.rn=[s],this.yh=new $t(s,this,t),"Area"!==n&&"Line"!==n&&"Baseline"!==n||(this.nl=new Gt(this)),this.al(),this.ol()}M(){null!==this.hl&&clearTimeout(this.hl)}Kr(t){return this.un.priceLineColor||t}Er(t){const i={Ar:!0},n=this.Ot();if(this.Ut().yt().Vi()||n.Vi()||this.It.Vi())return i;const s=this.Ut().yt().Ns(),e=this.Tt();if(null===s||null===e)return i;let r,h;if(t){const t=this.It.Nh();if(null===t)return i;r=t,h=t.Ys}else{const t=this.It.jh(s.ci(),-1);if(null===t)return i;if(r=this.It.Bh(t.Ys),null===r)return i;h=t.Ys}const l=r.Bt[3],a=this.As().Es(h,{Bt:r}),o=n.Dt(l,e.Bt);return{Ar:!1,ut:l,Gt:n.Fi(l,e.Bt),ih:n._l(l),nh:n.ul(l,e.Bt),D:a.ie,yi:o,Ys:h}}As(){return null!==this.sl||(this.sl=new gi(this)),this.sl}F(){return this.un}kh(t){const i=t.priceScaleId;void 0!==i&&i!==this.un.priceScaleId&&this.Ut().cl(this,i),b(this.un,t),void 0!==t.priceFormat&&(this.al(),this.Ut().dl()),this.Ut().fl(this),this.Ut().pl(),this.bn.gt("options")}tt(t,i){this.It.tt(t),this.vl(),this.bn.gt("data"),this.cn.gt("data"),null!==this.nl&&(i&&i.ml?this.nl.Rr():0===t.length&&this.nl.Pr());const n=this.Ut().Ke(this);this.Ut().bl(n),this.Ut().fl(this),this.Ut().pl(),this.Ut().Ch()}gl(t){this.el=t,this.vl();const i=this.Ut().Ke(this);this.cn.gt("data"),this.Ut().bl(i),this.Ut().fl(this),this.Ut().pl(),this.Ut().Ch()}wl(){return this.el}Xr(){return this.rl}Ml(t){const i=new vi(this,t);return this.tl.push(i),this.Ut().fl(this),i}Sl(t){const i=this.tl.indexOf(t);-1!==i&&this.tl.splice(i,1),this.Ut().fl(this)}Ah(){return this.ll}Tt(){const t=this.xl();return null===t?null:{Bt:t.Bt[3],yl:t._t}}xl(){const t=this.Ut().yt().Ns();if(null===t)return null;const i=t.Ms();return this.It.jh(i,1)}An(){return this.It}Zr(t){const i=this.It.Bh(t);return null===i?null:"Bar"===this.ll||"Candlestick"===this.ll?{oe:i.Bt[0],_e:i.Bt[1],ue:i.Bt[2],ce:i.Bt[3]}:i.Bt[3]}kl(t){const i=this.nl;return null!==i&&i.Ct()?(null===this.hl&&i.Or()&&(this.hl=setTimeout((()=>{this.hl=null,this.Ut().Cl()}),0)),i.Dr(),[i]):[]}Tn(){const t=[];this.Tl()||t.push(this.il),t.push(this.bn,this.xh,this.cn);const i=this.tl.map((t=>t.Th()));return t.push(...i),t}Ji(t){return[this.yh,...this.tl.map((t=>t.Ph()))]}Pn(t,i){if(i!==this.Yi&&!this.Tl())return[];const n=[...this.rn];for(const t of this.tl)n.push(t.Rh());return n}Pl(t,i){if(void 0!==this.un.autoscaleInfoProvider){const n=this.un.autoscaleInfoProvider((()=>{const n=this.Rl(t,i);return null===n?null:n.dh()}));return di.fh(n)}return this.Rl(t,i)}Dl(){return this.un.priceFormat.minMove}Ol(){return this.Bl}Dn(){var t;this.bn.gt(),this.cn.gt();for(const t of this.rn)t.gt();for(const t of this.tl)t.gt();this.xh.gt(),this.il.gt(),null===(t=this.nl)||void 0===t||t.gt()}Ot(){return h(super.Ot())}kt(t){if(!(("Line"===this.ll||"Area"===this.ll||"Baseline"===this.ll)&&this.un.crosshairMarkerVisible))return null;const i=this.It.Bh(t);if(null===i)return null;return{ut:i.Bt[3],lt:this.El(),Et:this.Al(),Rt:this.Ll(),Pt:this.zl(t)}}Gr(){return this.un.title}Ct(){return this.un.visible}Tl(){return!Q(this.Ot().Il())}Rl(t,i){if(!w(t)||!w(i)||this.It.Vi())return null;const n="Line"===this.ll||"Area"===this.ll||"Baseline"===this.ll||"Histogram"===this.ll?[3]:[2,1],s=this.It.Hh(t,i,n);let e=null!==s?new ci(s.Jh,s.Qh):null;if("Histogram"===this.Ah()){const t=this.un.base,i=new ci(t,t);e=null!==e?e.Qn(i):i}return new di(e,this.cn.Yr())}El(){switch(this.ll){case"Line":case"Area":case"Baseline":return this.un.crosshairMarkerRadius}return 0}Al(){switch(this.ll){case"Line":case"Area":case"Baseline":{const t=this.un.crosshairMarkerBorderColor;if(0!==t.length)return t}}return null}Ll(){switch(this.ll){case"Line":case"Area":case"Baseline":return this.un.crosshairMarkerBorderWidth}return 0}zl(t){switch(this.ll){case"Line":case"Area":case"Baseline":{const t=this.un.crosshairMarkerBackgroundColor;if(0!==t.length)return t}}return this.As().Es(t).ie}al(){switch(this.un.priceFormat.type){case"custom":this.Bl={format:this.un.priceFormat.formatter};break;case"volume":this.Bl=new rt(this.un.priceFormat.precision);break;case"percent":this.Bl=new et(this.un.priceFormat.precision);break;default:{const t=Math.pow(10,this.un.priceFormat.precision);this.Bl=new st(t,this.un.priceFormat.minMove*t)}}null!==this.Yi&&this.Yi.Nl()}vl(){const t=this.Ut().yt();if(!t.Vl()||this.It.Vi())return void(this.rl=[]);const i=h(this.It.Vh());this.rl=this.el.map(((n,s)=>{const e=h(t.Fl(n.time,!0)),r=et instanceof yi)).reduce(((t,s)=>{if(n.Ge(s)||!s.Ct())return t;const e=s.Ot(),r=s.An();if(e.Vi()||!r.Lr(i))return t;const h=r.Bh(i);if(null===h)return t;const a=l(s.Tt());return t.concat([e.Dt(h.Bt[3],a.Bt)])}),[]);if(0===a.length)return s;a.sort(((t,i)=>Math.abs(t-h)-Math.abs(i-h)));const o=a[0];return s=e.pn(o,r),s}}class Ci extends L{constructor(){super(...arguments),this.It=null}tt(t){this.It=t}Z({context:t,bitmapSize:i,horizontalPixelRatio:s,verticalPixelRatio:e}){if(null===this.It)return;const r=Math.max(1,Math.floor(s));t.lineWidth=r,function(t,i){t.save(),t.lineWidth%2&&t.translate(.5,.5),i(),t.restore()}(t,(()=>{const l=h(this.It);if(l.$l){t.strokeStyle=l.Hl,n(t,l.Ul),t.beginPath();for(const n of l.ql){const e=Math.round(n.Yl*s);t.moveTo(e,-r),t.lineTo(e,i.height+r)}t.stroke()}if(l.Xl){t.strokeStyle=l.Zl,n(t,l.Kl),t.beginPath();for(const n of l.Gl){const s=Math.round(n.Yl*e);t.moveTo(-r,s),t.lineTo(i.width+r,s)}t.stroke()}}))}}class Ti{constructor(t){this.jt=new Ci,this.vt=!0,this.tn=t}gt(){this.vt=!0}Mt(){if(this.vt){const t=this.tn.Ut().F().grid,i={Xl:t.horzLines.visible,$l:t.vertLines.visible,Zl:t.horzLines.color,Hl:t.vertLines.color,Kl:t.horzLines.style,Ul:t.vertLines.style,Gl:this.tn.fn().Jl(),ql:this.tn.Ut().yt().Jl()||[]};this.jt.tt(i),this.vt=!1}return this.jt}}class Pi{constructor(t){this.bn=new Ti(t)}Th(){return this.bn}}const Ri={Ql:4,ta:1e-4};function Di(t,i){const n=100*(t-i)/i;return i<0?-n:n}function Oi(t,i){const n=Di(t.lh(),i),s=Di(t.ah(),i);return new ci(n,s)}function Bi(t,i){const n=100*(t-i)/i+100;return i<0?-n:n}function Ei(t,i){const n=Bi(t.lh(),i),s=Bi(t.ah(),i);return new ci(n,s)}function Ai(t,i){const n=Math.abs(t);if(n<1e-15)return 0;const s=Dt(n+i.ta)+i.Ql;return t<0?-s:s}function Li(t,i){const n=Math.abs(t);if(n<1e-15)return 0;const s=Math.pow(10,n-i.Ql)-i.ta;return t<0?-s:s}function zi(t,i){if(null===t)return null;const n=Ai(t.lh(),i),s=Ai(t.ah(),i);return new ci(n,s)}function Ii(t,i){if(null===t)return null;const n=Li(t.lh(),i),s=Li(t.ah(),i);return new ci(n,s)}function Ni(t){if(null===t)return Ri;const i=Math.abs(t.ah()-t.lh());if(i>=1||i<1e-15)return Ri;const n=Math.ceil(Math.abs(Math.log10(i))),s=Ri.Ql+n;return{Ql:s,ta:1/Math.pow(10,s)}}class Vi{constructor(t,i){if(this.ia=t,this.na=i,function(t){if(t<0)return!1;for(let i=t;i>1;i/=10)if(i%10!=0)return!1;return!0}(this.ia))this.sa=[2,2.5,2];else{this.sa=[];for(let t=this.ia;1!==t;){if(t%2==0)this.sa.push(2),t/=2;else{if(t%5!=0)throw new Error("unexpected base");this.sa.push(2,2.5),t/=5}if(this.sa.length>100)throw new Error("something wrong with base")}}}ea(t,i,n){const s=0===this.ia?0:1/this.ia;let e=Math.pow(10,Math.max(0,Math.ceil(Dt(t-i)))),r=0,h=this.na[0];for(;;){const t=Rt(e,s,1e-14)&&e>s+1e-14,i=Rt(e,n*h,1e-14),l=Rt(e,1,1e-14);if(!(t&&i&&l))break;e/=h,h=this.na[++r%this.na.length]}if(e<=s+1e-14&&(e=s),e=Math.max(1,e),this.sa.length>0&&(l=e,a=1,o=1e-14,Math.abs(l-a)s+1e-14;)e/=h,h=this.sa[++r%this.sa.length];var l,a,o;return e}}class Fi{constructor(t,i,n,s){this.ra=[],this.Ii=t,this.ia=i,this.ha=n,this.la=s}ea(t,i){if(t=o?1:-1;let d=null,f=0;for(let n=a-u;n>o;n-=_){const s=this.la(n,i,!0);null!==d&&Math.abs(s-d)l||(fh(t.Zi())-h(i.Zi())))}var ji;!function(t){t[t.Normal=0]="Normal",t[t.Logarithmic=1]="Logarithmic",t[t.Percentage=2]="Percentage",t[t.IndexedTo100=3]="IndexedTo100"}(ji||(ji={}));const $i=new et,Hi=new st(100,1);class Ui{constructor(t,i,n,s){this.fa=0,this.pa=null,this.ph=null,this.va=null,this.ma={ba:!1,ga:null},this.wa=0,this.Ma=0,this.Sa=new m,this.xa=new m,this.ya=[],this.ka=null,this.Ca=null,this.Ta=null,this.Pa=null,this.Bl=Hi,this.Ra=Ni(null),this.Da=t,this.un=i,this.Oa=n,this.Ba=s,this.Ea=new Fi(this,100,this.Aa.bind(this),this.La.bind(this))}Il(){return this.Da}F(){return this.un}kh(t){if(b(this.un,t),this.Nl(),void 0!==t.mode&&this.za({lr:t.mode}),void 0!==t.scaleMargins){const i=r(t.scaleMargins.top),n=r(t.scaleMargins.bottom);if(i<0||i>1)throw new Error(`Invalid top margin - expect value between 0 and 1, given=${i}`);if(n<0||n>1||i+n>1)throw new Error(`Invalid bottom margin - expect value between 0 and 1, given=${n}`);if(i+n>1)throw new Error(`Invalid margins - sum of margins must be less than 1, given=${i+n}`);this.Ia(),this.Ca=null}}Na(){return this.un.autoScale}da(){return 1===this.un.mode}th(){return 2===this.un.mode}Va(){return 3===this.un.mode}lr(){return{Fn:this.un.autoScale,Fa:this.un.invertScale,lr:this.un.mode}}za(t){const i=this.lr();let n=null;void 0!==t.Fn&&(this.un.autoScale=t.Fn),void 0!==t.lr&&(this.un.mode=t.lr,2!==t.lr&&3!==t.lr||(this.un.autoScale=!0),this.ma.ba=!1),1===i.lr&&t.lr!==i.lr&&(!function(t,i){if(null===t)return!1;const n=Li(t.lh(),i),s=Li(t.ah(),i);return isFinite(n)&&isFinite(s)}(this.ph,this.Ra)?this.un.autoScale=!0:(n=Ii(this.ph,this.Ra),null!==n&&this.Wa(n))),1===t.lr&&t.lr!==i.lr&&(n=zi(this.ph,this.Ra),null!==n&&this.Wa(n));const s=i.lr!==this.un.mode;s&&(2===i.lr||this.th())&&this.Nl(),s&&(3===i.lr||this.Va())&&this.Nl(),void 0!==t.Fa&&i.Fa!==t.Fa&&(this.un.invertScale=t.Fa,this.ja()),this.xa.m(i,this.lr())}$a(){return this.xa}T(){return this.Oa.fontSize}Lt(){return this.fa}Ha(t){this.fa!==t&&(this.fa=t,this.Ia(),this.Ca=null)}Ua(){if(this.pa)return this.pa;const t=this.Lt()-this.qa()-this.Ya();return this.pa=t,t}bh(){return this.Xa(),this.ph}Wa(t,i){const n=this.ph;(i||null===n&&null!==t||null!==n&&!n.rh(t))&&(this.Ca=null,this.ph=t)}Vi(){return this.Xa(),0===this.fa||!this.ph||this.ph.Vi()}Za(t){return this.Fa()?t:this.Lt()-1-t}Dt(t,i){return this.th()?t=Di(t,i):this.Va()&&(t=Bi(t,i)),this.La(t,i)}$s(t,i,n){this.Xa();const s=this.Ya(),e=h(this.bh()),r=e.lh(),l=e.ah(),a=this.Ua()-1,o=this.Fa(),_=a/(l-r),u=void 0===n?0:n.from,c=void 0===n?t.length:n.to,d=this.Ka();for(let n=u;nt.Dn()))}Nl(){this.Ca=null;const t=this.uo();let i=100;null!==t&&(i=Math.round(1/t.Dl())),this.Bl=Hi,this.th()?(this.Bl=$i,i=100):this.Va()?(this.Bl=new st(100,1),i=100):null!==t&&(this.Bl=t.Ol()),this.Ea=new Fi(this,i,this.Aa.bind(this),this.La.bind(this)),this.Ea.oa()}io(){this.ka=null}uo(){return this.ya[0]||null}qa(){return this.Fa()?this.un.scaleMargins.bottom*this.Lt()+this.Ma:this.un.scaleMargins.top*this.Lt()+this.wa}Ya(){return this.Fa()?this.un.scaleMargins.top*this.Lt()+this.wa:this.un.scaleMargins.bottom*this.Lt()+this.Ma}Xa(){this.ma.ba||(this.ma.ba=!0,this.fo())}Ia(){this.pa=null}La(t,i){if(this.Xa(),this.Vi())return 0;t=this.da()&&t?Ai(t,this.Ra):t;const n=h(this.bh()),s=this.Ya()+(this.Ua()-1)*(t-n.lh())/n.oh();return this.Za(s)}Aa(t,i){if(this.Xa(),this.Vi())return 0;const n=this.Za(t),s=h(this.bh()),e=s.lh()+s.oh()*((n-this.Ya())/(this.Ua()-1));return this.da()?Li(e,this.Ra):e}ja(){this.Ca=null,this.Ea.oa()}fo(){const t=this.ma.ga;if(null===t)return;let i=null;const n=this.co();let s=0,e=0;for(const r of n){if(!r.Ct())continue;const n=r.Tt();if(null===n)continue;const l=r.Pl(t.Ms(),t.ci());let a=l&&l.bh();if(null!==a){switch(this.un.mode){case 1:a=zi(a,this.Ra);break;case 2:a=Oi(a,n.Bt);break;case 3:a=Ei(a,n.Bt)}if(i=null===i?a:i.Qn(h(a)),null!==l){const t=l.gh();null!==t&&(s=Math.max(s,t.above),e=Math.max(s,t.below))}}}if(s===this.wa&&e===this.Ma||(this.wa=s,this.Ma=e,this.Ca=null,this.Ia()),null!==i){if(i.lh()===i.ah()){const t=this.uo(),n=5*(null===t||this.th()||this.Va()?1:t.Dl());this.da()&&(i=Ii(i,this.Ra)),i=new ci(i.lh()-n,i.ah()+n),this.da()&&(i=zi(i,this.Ra))}if(this.da()){const t=Ii(i,this.Ra),n=Ni(t);if(r=n,l=this.Ra,r.Ql!==l.Ql||r.ta!==l.ta){const s=null!==this.va?Ii(this.va,this.Ra):null;this.Ra=n,i=zi(t,n),null!==s&&(this.va=zi(s,n))}}this.Wa(i)}else null===this.ph&&(this.Wa(new ci(-.5,.5)),this.Ra=Ni(null));var r,l;this.ma.ba=!0}Ka(){return this.th()?Di:this.Va()?Bi:this.da()?t=>Ai(t,this.Ra):null}Sh(t,i){return void 0===this.Ba.priceFormatter?(void 0===i&&(i=this.Ol()),i.format(t)):this.Ba.priceFormatter(t)}}class qi{constructor(t,i){this.ya=[],this.po=new Map,this.fa=0,this.vo=0,this.mo=1e3,this.ka=null,this.bo=new m,this.wo=t,this.Hi=i,this.Mo=new Pi(this);const n=i.F();this.So=this.xo("left",n.leftPriceScale),this.yo=this.xo("right",n.rightPriceScale),this.So.$a().l(this.ko.bind(this,this.So),this),this.yo.$a().l(this.ko.bind(this,this.yo),this),this.Co(n)}Co(t){if(t.leftPriceScale&&this.So.kh(t.leftPriceScale),t.rightPriceScale&&this.yo.kh(t.rightPriceScale),t.localization&&(this.So.Nl(),this.yo.Nl()),t.overlayPriceScales){const i=Array.from(this.po.values());for(const n of i){const i=h(n[0].Ot());i.kh(t.overlayPriceScales),t.localization&&i.Nl()}}}To(t){switch(t){case"left":return this.So;case"right":return this.yo}return this.po.has(t)?r(this.po.get(t))[0].Ot():null}M(){this.Ut().Po().v(this),this.So.$a().v(this),this.yo.$a().v(this),this.ya.forEach((t=>{t.M&&t.M()})),this.bo.m()}Ro(){return this.mo}Do(t){this.mo=t}Ut(){return this.Hi}$i(){return this.vo}Lt(){return this.fa}Oo(t){this.vo=t,this.Bo()}Ha(t){this.fa=t,this.So.Ha(t),this.yo.Ha(t),this.ya.forEach((i=>{if(this.Ge(i)){const n=i.Ot();null!==n&&n.Ha(t)}})),this.Bo()}jl(){return this.ya}Ge(t){const i=t.Ot();return null===i||this.So!==i&&this.yo!==i}Qa(t,i,n){const s=void 0!==n?n:this.Ao().Eo+1;this.Lo(t,i,s)}no(t){const i=this.ya.indexOf(t);e(-1!==i,"removeDataSource: invalid data source"),this.ya.splice(i,1);const n=h(t.Ot()).Il();if(this.po.has(n)){const i=r(this.po.get(n)),s=i.indexOf(t);-1!==s&&(i.splice(s,1),0===i.length&&this.po.delete(n))}const s=t.Ot();s&&s.jl().indexOf(t)>=0&&s.no(t),null!==s&&(s.io(),this.zo(s)),this.ka=null}Qe(t){return t===this.So?"left":t===this.yo?"right":"overlay"}Io(){return this.So}No(){return this.yo}Vo(t,i){t.ro(i)}Fo(t,i){t.ho(i),this.Bo()}Wo(t){t.lo()}jo(t,i){t.ao(i)}$o(t,i){t.oo(i),this.Bo()}Ho(t){t._o()}Bo(){this.ya.forEach((t=>{t.Dn()}))}fn(){let t=null;return this.Hi.F().rightPriceScale.visible&&0!==this.yo.jl().length?t=this.yo:this.Hi.F().leftPriceScale.visible&&0!==this.So.jl().length?t=this.So:0!==this.ya.length&&(t=this.ya[0].Ot()),null===t&&(t=this.yo),t}Je(){let t=null;return this.Hi.F().rightPriceScale.visible?t=this.yo:this.Hi.F().leftPriceScale.visible&&(t=this.So),t}zo(t){null!==t&&t.Na()&&this.Uo(t)}qo(t){const i=this.wo.Ns();t.za({Fn:!0}),null!==i&&t.do(i),this.Bo()}Yo(){this.Uo(this.So),this.Uo(this.yo)}Xo(){this.zo(this.So),this.zo(this.yo),this.ya.forEach((t=>{this.Ge(t)&&this.zo(t.Ot())})),this.Bo(),this.Hi.Ch()}Ja(){return null===this.ka&&(this.ka=Wi(this.ya)),this.ka}Zo(){return this.bo}Ko(){return this.Mo}Uo(t){const i=t.co();if(i&&i.length>0&&!this.wo.Vi()){const i=this.wo.Ns();null!==i&&t.do(i)}t.Dn()}Ao(){const t=this.Ja();if(0===t.length)return{Go:0,Eo:0};let i=0,n=0;for(let s=0;sn&&(n=e))}return{Go:i,Eo:n}}Lo(t,i,n){let s=this.To(i);if(null===s&&(s=this.xo(i,this.Hi.F().overlayPriceScales)),this.ya.push(t),!Q(i)){const n=this.po.get(i)||[];n.push(t),this.po.set(i,n)}s.Qa(t),t.Gi(s),t.Ki(n),this.zo(s),this.ka=null}ko(t,i,n){i.lr!==n.lr&&this.Uo(t)}xo(t,i){const n=Object.assign({visible:!0,autoScale:!0},x(i)),s=new Ui(t,n,this.Hi.F().layout,this.Hi.F().localization);return s.Ha(this.Lt()),s}}const Yi=t=>t.getUTCFullYear(),Xi=t=>nt((t=>t.getUTCDate())(t),2),Zi=(t,i)=>new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"long"}),Ki=(t,i)=>new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"short"}),Gi=t=>nt((t=>t.getUTCMonth()+1)(t),2),Ji=t=>nt(Yi(t)%100,2),Qi=t=>nt(Yi(t),4);class tn{constructor(t="yyyy-MM-dd",i="default"){this.Jo=t,this.Qo=i}t_(t){return function(t,i,n){return i.replace(/yyyy/g,Qi(t)).replace(/yy/g,Ji(t)).replace(/MMMM/g,Zi(t,n)).replace(/MMM/g,Ki(t,n)).replace(/MM/g,Gi(t)).replace(/dd/g,Xi(t))}(t,this.Jo,this.Qo)}}class nn{constructor(t){this.i_=t||"%h:%m:%s"}t_(t){return this.i_.replace("%h",nt(t.getUTCHours(),2)).replace("%m",nt(t.getUTCMinutes(),2)).replace("%s",nt(t.getUTCSeconds(),2))}}const sn={n_:"yyyy-MM-dd",s_:"%h:%m:%s",e_:" ",r_:"default"};class en{constructor(t={}){const i=Object.assign(Object.assign({},sn),t);this.h_=new tn(i.n_,i.r_),this.l_=new nn(i.s_),this.a_=i.e_}t_(t){return`${this.h_.t_(t)}${this.a_}${this.l_.t_(t)}`}}class rn{constructor(t,i=50){this.Ae=0,this.Le=1,this.ze=1,this.Ne=new Map,this.Ie=new Map,this.o_=t,this.Ve=i}t_(t){const i=t._t,n=void 0===i.__?new Date(1e3*i.u_).getTime():new Date(Date.UTC(i.__.year,i.__.month-1,i.__.day)).getTime(),s=this.Ne.get(n);if(void 0!==s)return s.c_;if(this.Ae===this.Ve){const t=this.Ie.get(this.ze);this.Ie.delete(this.ze),this.Ne.delete(r(t)),this.ze++,this.Ae--}const e=this.o_(t);return this.Ne.set(n,{c_:e,$e:this.Le}),this.Ie.set(this.Le,n),this.Ae++,this.Le++,e}}class hn{constructor(t,i){e(t<=i,"right should be >= left"),this.d_=t,this.f_=i}Ms(){return this.d_}ci(){return this.f_}p_(){return this.f_-this.d_+1}Lr(t){return this.d_<=t&&t<=this.f_}rh(t){return this.d_===t.Ms()&&this.f_===t.ci()}}function ln(t,i){return null===t||null===i?t===i:t.rh(i)}class an{constructor(){this.v_=new Map,this.Ne=null}m_(t,i){this.b_(i),this.Ne=null;for(let n=i;n{t<=n[0].Ys?i.push(s):n.splice(mt(n,t,(i=>i.Ysi-t))){if(!this.v_.get(n))continue;const s=i;i=[];const e=s.length;let h=0;const l=r(this.v_.get(n)),a=l.length;let o=1/0,_=-1/0;for(let n=0;n=t&&a-_>=t&&(i.push(r),_=a)}for(;hthis.D_[this.D_.length-1]._t.u_)return i?this.D_.length-1:null;const n=mt(this.D_,t.u_,((t,i)=>t._t.u_0}Ns(){return this.Z_(),this.E_.C_()}K_(){return this.Z_(),this.E_.T_()}G_(){const t=this.Ns();if(null===t)return null;const i={from:t.Ms(),to:t.ci()};return this.J_(i)}J_(t){const i=Math.round(t.from),n=Math.round(t.to),s=h(this.Q_()),e=h(this.tu());return{from:h(this.vn(Math.max(s,i))),to:h(this.vn(Math.min(e,n)))}}iu(t){return{from:h(this.Fl(t.from,!0)),to:h(this.Fl(t.to,!0))}}$i(){return this.vo}Oo(t){if(!isFinite(t)||t<=0)return;if(this.vo===t)return;const i=this.K_(),n=this.vo;if(this.vo=t,this.A_=!0,this.un.lockVisibleTimeRangeOnResize&&0!==n){const i=this.j_*t/n;this.j_=i}if(this.un.fixLeftEdge&&null!==i&&i.Ms()<=0){const i=n-t;this.W_-=Math.round(i/this.j_)+1,this.A_=!0}this.nu(),this.su()}zt(t){if(this.Vi()||!w(t))return 0;const i=this.eu()+this.W_-t;return this.vo-(i+.5)*this.j_-1}js(t,i){const n=this.eu(),s=void 0===i?0:i.from,e=void 0===i?t.length:i.to;for(let i=s;ii/2&&!_?n.cu=!1:n.cu=u&&t.Ys<=a||c&&t.Ys>=o,d++}return this.F_.length=d,this.V_=this.F_,this.F_}du(){this.A_=!0,this.Kn(this.un.barSpacing),this.Gn(this.un.rightOffset)}fu(t){this.A_=!0,this.R_=t,this.su(),this.Y_()}pu(t,i){const n=this.hu(t),s=this.Ks(),e=s+i*(s/10);this.Kn(e),this.un.rightBarStaysOnScroll||this.Gn(this.ou()+(n-this.hu(t)))}ro(t){this.Pa&&this._o(),null===this.Ta&&null===this.N_&&(this.Vi()||(this.Ta=t,this.vu()))}ho(t){if(null===this.N_)return;const i=Pt(this.vo-t,0,this.vo),n=Pt(this.vo-h(this.Ta),0,this.vo);0!==i&&0!==n&&this.Kn(this.N_.Ks*i/n)}lo(){null!==this.Ta&&(this.Ta=null,this.mu())}ao(t){null===this.Pa&&null===this.N_&&(this.Vi()||(this.Pa=t,this.vu()))}oo(t){if(null===this.Pa)return;const i=(this.Pa-t)/this.Ks();this.W_=h(this.N_).ou+i,this.A_=!0,this.su()}_o(){null!==this.Pa&&(this.Pa=null,this.mu())}bu(){this.gu(this.un.rightOffset)}gu(t,i=400){if(!isFinite(t))throw new RangeError("offset is required and must be finite number");if(!isFinite(i)||i<=0)throw new RangeError("animationDuration (optional) must be finite positive number");const n=this.W_,s=performance.now();this.Hi.Yn({wu:t=>(t-s)/i>=1,Mu:e=>{const r=(e-s)/i;return r>=1?t:n+(t-n)*r}})}gt(t,i){this.A_=!0,this.D_=t,this.O_.m_(t,i),this.su()}Su(){return this.L_}xu(){return this.z_}yu(){return this.I_}eu(){return this.R_||0}ku(t){const i=t.p_();this.au(this.vo/i),this.W_=t.ci()-this.eu(),this.su(),this.A_=!0,this.Hi.lu(),this.Hi.Ch()}Cu(){const t=this.Q_(),i=this.tu();null!==t&&null!==i&&this.ku(new hn(t,i+this.un.rightOffset))}Tu(t){const i=new hn(t.from,t.to);this.ku(i)}qi(t){return void 0!==this.Ba.timeFormatter?this.Ba.timeFormatter(t.M_):this.Pu.t_(new Date(1e3*t._t.u_))}_u(){const{handleScroll:t,handleScale:i}=this.Hi.F();return!(t.horzTouchDrag||t.mouseWheel||t.pressedMouseMove||t.vertTouchDrag||i.axisDoubleClickReset.time||i.axisPressedMouseMove.time||i.mouseWheel||i.pinch)}Q_(){return 0===this.D_.length?null:0}tu(){return 0===this.D_.length?null:this.D_.length-1}Ru(t){return(this.vo-1-t)/this.j_}hu(t){const i=this.Ru(t),n=this.eu()+this.W_-i;return Math.round(1e6*n)/1e6}au(t){const i=this.j_;this.j_=t,this.nu(),i!==this.j_&&(this.A_=!0,this.Du())}Z_(){if(!this.A_)return;if(this.A_=!1,this.Vi())return void this.Ou(on.P_());const t=this.eu(),i=this.vo/this.j_,n=this.W_+t,s=new hn(n-i+1,n);this.Ou(new on(s))}nu(){const t=this.Bu();if(this.j_t&&(this.j_=t,this.A_=!0)}}Bu(){return this.un.fixLeftEdge&&this.un.fixRightEdge&&0!==this.D_.length?this.vo/this.D_.length:this.un.minBarSpacing}su(){const t=this.Eu();this.W_>t&&(this.W_=t,this.A_=!0);const i=this.Au();null!==i&&this.W_this.Lu(t))),this.B_.set(t.w_,i)),i.t_(t)}Lu(t){const i=function(t,i,n){switch(t){case 0:case 10:return i?n?4:3:2;case 20:case 21:case 22:case 30:case 31:case 32:case 33:return i?3:2;case 50:return 2;case 60:return 1;case 70:return 0}}(t.w_,this.un.timeVisible,this.un.secondsVisible);if(void 0!==this.un.tickMarkFormatter){const n=this.un.tickMarkFormatter(t.M_,i,this.Ba.locale);if(null!==n)return n}return function(t,i,n){const s={};switch(i){case 0:s.year="numeric";break;case 1:s.month="short";break;case 2:s.day="numeric";break;case 3:s.hour12=!1,s.hour="2-digit",s.minute="2-digit";break;case 4:s.hour12=!1,s.hour="2-digit",s.minute="2-digit",s.second="2-digit"}const e=void 0===t.__?new Date(1e3*t.u_):new Date(Date.UTC(t.__.year,t.__.month-1,t.__.day));return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()).toLocaleString(n,s)}(t._t,i,this.Ba.locale)}Ou(t){const i=this.E_;this.E_=t,ln(i.C_(),this.E_.C_())||this.L_.m(),ln(i.T_(),this.E_.T_())||this.z_.m(),this.Du()}Du(){this.V_=null}q_(){this.Du(),this.B_.clear()}H_(){const t=this.Ba.dateFormat;this.un.timeVisible?this.Pu=new en({n_:t,s_:this.un.secondsVisible?"%h:%m:%s":"%h:%m",e_:" ",r_:this.Ba.locale}):this.Pu=new tn(t,this.Ba.locale)}Y_(){if(!this.un.fixLeftEdge)return;const t=this.Q_();if(null===t)return;const i=this.Ns();if(null===i)return;const n=i.Ms()-t;if(n<0){const t=this.W_-n-1;this.Gn(t)}this.nu()}X_(){this.su(),this.nu()}}class vn extends D{constructor(t){super(),this.zu=new Map,this.It=t}Z(t){}G(t){if(!this.It.Ct)return;const{context:i,mediaSize:n}=t;let s=0;for(const t of this.It.Iu){if(0===t.Gt.length)continue;i.font=t.P;const e=this.Nu(i,t.Gt);e>n.width?t.pu=n.width/e:t.pu=1,s+=t.Vu*t.pu}let e=0;switch(this.It.Fu){case"top":e=0;break;case"center":e=Math.max((n.height-s)/2,0);break;case"bottom":e=Math.max(n.height-s,0)}i.fillStyle=this.It.D;for(const t of this.It.Iu){i.save();let s=0;switch(this.It.Wu){case"left":i.textAlign="left",s=t.Vu/2;break;case"center":i.textAlign="center",s=n.width/2;break;case"right":i.textAlign="right",s=n.width-1-t.Vu/2}i.translate(s,e),i.textBaseline="top",i.font=t.P,i.scale(t.pu,t.pu),i.fillText(t.Gt,0,t.ju),i.restore(),e+=t.Vu*t.pu}}Nu(t,i){const n=this.$u(t.font);let s=n.get(i);return void 0===s&&(s=t.measureText(i).width,n.set(i,s)),s}$u(t){let i=this.zu.get(t);return void 0===i&&(i=new Map,this.zu.set(t,i)),i}}class mn{constructor(t){this.vt=!0,this.Wt={Ct:!1,D:"",Iu:[],Fu:"center",Wu:"center"},this.jt=new vn(this.Wt),this.$t=t}gt(){this.vt=!0}Mt(){return this.vt&&(this.St(),this.vt=!1),this.jt}St(){const t=this.$t.F(),i=this.Wt;i.Ct=t.visible,i.Ct&&(i.D=t.color,i.Wu=t.horzAlign,i.Fu=t.vertAlign,i.Iu=[{Gt:t.text,P:T(t.fontSize,t.fontFamily,t.fontStyle),Vu:1.2*t.fontSize,ju:0,pu:0}])}}class bn extends K{constructor(t,i){super(),this.un=i,this.bn=new mn(this)}Pn(){return[]}Tn(){return[this.bn]}F(){return this.un}Dn(){this.bn.gt()}}!function(t){t[t.OnTouchEnd=0]="OnTouchEnd",t[t.OnNextTap=1]="OnNextTap"}(un||(un={}));class gn{constructor(t,i){this.Hu=[],this.Uu=[],this.vo=0,this.qu=null,this.Yu=new m,this.Xu=new m,this.Zu=null,this.Ku=t,this.un=i,this.Gu=new P(this),this.wo=new pn(this,i.timeScale,this.un.localization),this.bt=new J(this,i.crosshair),this.Ju=new ki(i.crosshair),this.Qu=new bn(this,i.watermark),this.tc(),this.Hu[0].Do(2e3),this.ic=this.nc(0),this.sc=this.nc(1)}dl(){this.ec(tt.ss())}Ch(){this.ec(tt.ns())}Cl(){this.ec(new tt(1))}fl(t){const i=this.rc(t);this.ec(i)}hc(){return this.qu}lc(t){const i=this.qu;this.qu=t,null!==i&&this.fl(i.ac),null!==t&&this.fl(t.ac)}F(){return this.un}kh(t){b(this.un,t),this.Hu.forEach((i=>i.Co(t))),void 0!==t.timeScale&&this.wo.kh(t.timeScale),void 0!==t.localization&&this.wo.U_(t.localization),(t.leftPriceScale||t.rightPriceScale)&&this.Yu.m(),this.ic=this.nc(0),this.sc=this.nc(1),this.dl()}oc(t,i){if("left"===t)return void this.kh({leftPriceScale:i});if("right"===t)return void this.kh({rightPriceScale:i});const n=this._c(t);null!==n&&(n.Ot.kh(i),this.Yu.m())}_c(t){for(const i of this.Hu){const n=i.To(t);if(null!==n)return{Ht:i,Ot:n}}return null}yt(){return this.wo}uc(){return this.Hu}cc(){return this.Qu}dc(){return this.bt}fc(){return this.Xu}vc(t,i){t.Ha(i),this.lu()}Oo(t){this.vo=t,this.wo.Oo(this.vo),this.Hu.forEach((i=>i.Oo(t))),this.lu()}tc(t){const i=new qi(this.wo,this);void 0!==t?this.Hu.splice(t,0,i):this.Hu.push(i);const n=void 0===t?this.Hu.length-1:t,s=tt.ss();return s.Nn(n,{Vn:0,Fn:!0}),this.ec(s),i}Vo(t,i,n){t.Vo(i,n)}Fo(t,i,n){t.Fo(i,n),this.pl(),this.ec(this.mc(t,2))}Wo(t,i){t.Wo(i),this.ec(this.mc(t,2))}jo(t,i,n){i.Na()||t.jo(i,n)}$o(t,i,n){i.Na()||(t.$o(i,n),this.pl(),this.ec(this.mc(t,2)))}Ho(t,i){i.Na()||(t.Ho(i),this.ec(this.mc(t,2)))}qo(t,i){t.qo(i),this.ec(this.mc(t,2))}bc(t){this.wo.ro(t)}gc(t,i){const n=this.yt();if(n.Vi()||0===i)return;const s=n.$i();t=Math.max(1,Math.min(t,s)),n.pu(t,i),this.lu()}wc(t){this.Mc(0),this.Sc(t),this.xc()}yc(t){this.wo.ho(t),this.lu()}kc(){this.wo.lo(),this.Ch()}Mc(t){this.wo.ao(t)}Sc(t){this.wo.oo(t),this.lu()}xc(){this.wo._o(),this.Ch()}wt(){return this.Uu}Cc(t,i,n,s){this.bt.gn(t,i);let e=NaN,r=this.wo.ru(t);const h=this.wo.Ns();null!==h&&(r=Math.min(Math.max(h.Ms(),r),h.ci()));const l=s.fn(),a=l.Tt();null!==a&&(e=l.pn(i,a)),e=this.Ju.Wl(e,r,s),this.bt.xn(r,e,s),this.Cl(),this.Xu.m(this.bt.xt(),{x:t,y:i},n)}Tc(){this.dc().kn(),this.Cl(),this.Xu.m(null,null,null)}pl(){const t=this.bt.Ht();if(null!==t){const i=this.bt.Mn(),n=this.bt.Sn();this.Cc(i,n,null,t)}this.bt.Dn()}Pc(t,i,n){const s=this.wo.vn(0);void 0!==i&&void 0!==n&&this.wo.gt(i,n);const e=this.wo.vn(0),r=this.wo.eu(),h=this.wo.Ns();if(null!==h&&null!==s&&null!==e){const i=h.Lr(r),n=s.u_>e.u_,l=null!==t&&t>r&&!n,a=i&&this.wo.F().shiftVisibleRangeOnNewBar;if(l&&!a){const i=t-r;this.wo.Gn(this.wo.ou()-i)}}this.wo.fu(t)}bl(t){null!==t&&t.Xo()}Ke(t){const i=this.Hu.find((i=>i.Ja().includes(t)));return void 0===i?null:i}lu(){this.Qu.Dn(),this.Hu.forEach((t=>t.Xo())),this.pl()}M(){this.Hu.forEach((t=>t.M())),this.Hu.length=0,this.un.localization.priceFormatter=void 0,this.un.localization.timeFormatter=void 0}Rc(){return this.Gu}tr(){return this.Gu.F()}Po(){return this.Yu}Dc(t,i){const n=this.Hu[0],s=this.Oc(i,t,n);return this.Uu.push(s),1===this.Uu.length?this.dl():this.Ch(),s}Bc(t){const i=this.Ke(t),n=this.Uu.indexOf(t);e(-1!==n,"Series not found"),this.Uu.splice(n,1),h(i).no(t),t.M&&t.M()}cl(t,i){const n=h(this.Ke(t));n.no(t);const s=this._c(i);if(null===s){const s=t.Zi();n.Qa(t,i,s)}else{const e=s.Ht===n?t.Zi():void 0;s.Ht.Qa(t,i,e)}}Cu(){const t=tt.ns();t.$n(),this.ec(t)}Ec(t){const i=tt.ns();i.qn(t),this.ec(i)}Zn(){const t=tt.ns();t.Zn(),this.ec(t)}Kn(t){const i=tt.ns();i.Kn(t),this.ec(i)}Gn(t){const i=tt.ns();i.Gn(t),this.ec(i)}Yn(t){const i=tt.ns();i.Yn(t),this.ec(i)}Hn(){const t=tt.ns();t.Hn(),this.ec(t)}Ac(){return this.un.rightPriceScale.visible?"right":"left"}Lc(){return this.sc}U(){return this.ic}At(t){const i=this.sc,n=this.ic;if(i===n)return i;if(t=Math.max(0,Math.min(100,Math.round(100*t))),null===this.Zu||this.Zu.bs!==n||this.Zu.gs!==i)this.Zu={bs:n,gs:i,zc:new Map};else{const i=this.Zu.zc.get(t);if(void 0!==i)return i}const s=function(t,i,n){const[s,e,r,h]=p(t),[l,a,u,c]=p(i),d=[o(s+n*(l-s)),o(e+n*(a-e)),o(r+n*(u-r)),_(h+n*(c-h))];return`rgba(${d[0]}, ${d[1]}, ${d[2]}, ${d[3]})`}(n,i,t/100);return this.Zu.zc.set(t,s),s}mc(t,i){const n=new tt(i);if(null!==t){const s=this.Hu.indexOf(t);n.Nn(s,{Vn:i})}return n}rc(t,i){return void 0===i&&(i=2),this.mc(this.Ke(t),i)}ec(t){this.Ku&&this.Ku(t),this.Hu.forEach((t=>t.Ko().Th().gt()))}Oc(t,i,n){const s=new yi(this,t,i),e=void 0!==t.priceScaleId?t.priceScaleId:this.Ac();return n.Qa(s,e),Q(e)||s.kh(t),s}nc(t){const i=this.un.layout;return"gradient"===i.background.type?0===t?i.background.topColor:i.background.bottomColor:i.background.color}}function wn(t){return!g(t)&&!M(t)}function Mn(t){return g(t)}function Sn(t){var i=t.width,n=t.height;if(i<0)throw new Error("Negative width is not allowed for Size");if(n<0)throw new Error("Negative height is not allowed for Size");return{width:i,height:n}}function xn(t,i){return t.width===i.width&&t.height===i.height}!function(t){t[t.Disabled=0]="Disabled",t[t.Continuous=1]="Continuous",t[t.OnDataUpdate=2]="OnDataUpdate"}(cn||(cn={})),function(t){t[t.LastBar=0]="LastBar",t[t.LastVisible=1]="LastVisible"}(dn||(dn={})),function(t){t.Solid="solid",t.VerticalGradient="gradient"}(fn||(fn={}));var yn=function(){function t(t){var i=this;this._resolutionListener=function(){return i._onResolutionChanged()},this._resolutionMediaQueryList=null,this._observers=[],this._window=t,this._installResolutionListener()}return t.prototype.dispose=function(){this._uninstallResolutionListener(),this._window=null},Object.defineProperty(t.prototype,"value",{get:function(){return this._window.devicePixelRatio},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){var i=this,n={next:t};return this._observers.push(n),{unsubscribe:function(){i._observers=i._observers.filter((function(t){return t!==n}))}}},t.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw new Error("Resolution listener is already installed");var t=this._window.devicePixelRatio;this._resolutionMediaQueryList=this._window.matchMedia("all and (resolution: ".concat(t,"dppx)")),this._resolutionMediaQueryList.addListener(this._resolutionListener)},t.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},t.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},t.prototype._onResolutionChanged=function(){var t=this;this._observers.forEach((function(i){return i.next(t._window.devicePixelRatio)})),this._reinstallResolutionListener()},t}();var kn=function(){function t(t,i,n){var s;this._canvasElement=null,this._bitmapSizeChangedListeners=[],this._suggestedBitmapSize=null,this._suggestedBitmapSizeChangedListeners=[],this._devicePixelRatioObservable=null,this._canvasElementResizeObserver=null,this._canvasElement=t,this._canvasElementClientSize=Sn({width:this._canvasElement.clientWidth,height:this._canvasElement.clientHeight}),this._transformBitmapSize=null!=i?i:function(t){return t},this._allowResizeObserver=null===(s=null==n?void 0:n.allowResizeObserver)||void 0===s||s,this._chooseAndInitObserver()}return t.prototype.dispose=function(){var t,i;if(null===this._canvasElement)throw new Error("Object is disposed");null===(t=this._canvasElementResizeObserver)||void 0===t||t.disconnect(),this._canvasElementResizeObserver=null,null===(i=this._devicePixelRatioObservable)||void 0===i||i.dispose(),this._devicePixelRatioObservable=null,this._suggestedBitmapSizeChangedListeners.length=0,this._bitmapSizeChangedListeners.length=0,this._canvasElement=null},Object.defineProperty(t.prototype,"canvasElement",{get:function(){if(null===this._canvasElement)throw new Error("Object is disposed");return this._canvasElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasElementClientSize",{get:function(){return this._canvasElementClientSize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bitmapSize",{get:function(){return Sn({width:this.canvasElement.width,height:this.canvasElement.height})},enumerable:!1,configurable:!0}),t.prototype.resizeCanvasElement=function(t){this._canvasElementClientSize=Sn(t),this.canvasElement.style.width="".concat(this._canvasElementClientSize.width,"px"),this.canvasElement.style.height="".concat(this._canvasElementClientSize.height,"px"),this._invalidateBitmapSize()},t.prototype.subscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners=this._bitmapSizeChangedListeners.filter((function(i){return i!==t}))},Object.defineProperty(t.prototype,"suggestedBitmapSize",{get:function(){return this._suggestedBitmapSize},enumerable:!1,configurable:!0}),t.prototype.subscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners=this._suggestedBitmapSizeChangedListeners.filter((function(i){return i!==t}))},t.prototype.applySuggestedBitmapSize=function(){if(null!==this._suggestedBitmapSize){var t=this._suggestedBitmapSize;this._suggestedBitmapSize=null,this._resizeBitmap(t),this._emitSuggestedBitmapSizeChanged(t,this._suggestedBitmapSize)}},t.prototype._resizeBitmap=function(t){var i=this.bitmapSize;xn(i,t)||(this.canvasElement.width=t.width,this.canvasElement.height=t.height,this._emitBitmapSizeChanged(i,t))},t.prototype._emitBitmapSizeChanged=function(t,i){var n=this;this._bitmapSizeChangedListeners.forEach((function(s){return s.call(n,t,i)}))},t.prototype._suggestNewBitmapSize=function(t){var i=this._suggestedBitmapSize,n=Sn(this._transformBitmapSize(t,this._canvasElementClientSize)),s=xn(this.bitmapSize,n)?null:n;null===i&&null===s||null!==i&&null!==s&&xn(i,s)||(this._suggestedBitmapSize=s,this._emitSuggestedBitmapSizeChanged(i,s))},t.prototype._emitSuggestedBitmapSizeChanged=function(t,i){var n=this;this._suggestedBitmapSizeChangedListeners.forEach((function(s){return s.call(n,t,i)}))},t.prototype._chooseAndInitObserver=function(){var t=this;this._allowResizeObserver?new Promise((function(t){var i=new ResizeObserver((function(n){t(n.every((function(t){return"devicePixelContentBoxSize"in t}))),i.disconnect()}));i.observe(document.body,{box:"device-pixel-content-box"})})).catch((function(){return!1})).then((function(i){return i?t._initResizeObserver():t._initDevicePixelRatioObservable()})):this._initDevicePixelRatioObservable()},t.prototype._initDevicePixelRatioObservable=function(){var t=this;if(null!==this._canvasElement){var i=Cn(this._canvasElement);if(null===i)throw new Error("No window is associated with the canvas");this._devicePixelRatioObservable=function(t){return new yn(t)}(i),this._devicePixelRatioObservable.subscribe((function(){return t._invalidateBitmapSize()})),this._invalidateBitmapSize()}},t.prototype._invalidateBitmapSize=function(){var t,i;if(null!==this._canvasElement){var n=Cn(this._canvasElement);if(null!==n){var s=null!==(i=null===(t=this._devicePixelRatioObservable)||void 0===t?void 0:t.value)&&void 0!==i?i:n.devicePixelRatio,e=this._canvasElement.getClientRects(),r=void 0!==e[0]?function(t,i){return Sn({width:Math.round(t.left*i+t.width*i)-Math.round(t.left*i),height:Math.round(t.top*i+t.height*i)-Math.round(t.top*i)})}(e[0],s):Sn({width:this._canvasElementClientSize.width*s,height:this._canvasElementClientSize.height*s});this._suggestNewBitmapSize(r)}}},t.prototype._initResizeObserver=function(){var t=this;null!==this._canvasElement&&(this._canvasElementResizeObserver=new ResizeObserver((function(i){var n=i.find((function(i){return i.target===t._canvasElement}));if(n&&n.devicePixelContentBoxSize&&n.devicePixelContentBoxSize[0]){var s=n.devicePixelContentBoxSize[0],e=Sn({width:s.inlineSize,height:s.blockSize});t._suggestNewBitmapSize(e)}})),this._canvasElementResizeObserver.observe(this._canvasElement,{box:"device-pixel-content-box"}))},t}();function Cn(t){return t.ownerDocument.defaultView}var Tn=function(){function t(t,i,n){if(0===i.width||0===i.height)throw new TypeError("Rendering target could only be created on a media with positive width and height");if(this._mediaSize=i,0===n.width||0===n.height)throw new TypeError("Rendering target could only be created using a bitmap with positive integer width and height");this._bitmapSize=n,this._context=t}return t.prototype.useMediaCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),this._context.scale(this._horizontalPixelRatio,this._verticalPixelRatio),t({context:this._context,mediaSize:this._mediaSize})}finally{this._context.restore()}},t.prototype.useBitmapCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),t({context:this._context,mediaSize:this._mediaSize,bitmapSize:this._bitmapSize,horizontalPixelRatio:this._horizontalPixelRatio,verticalPixelRatio:this._verticalPixelRatio})}finally{this._context.restore()}},Object.defineProperty(t.prototype,"_horizontalPixelRatio",{get:function(){return this._bitmapSize.width/this._mediaSize.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_verticalPixelRatio",{get:function(){return this._bitmapSize.height/this._mediaSize.height},enumerable:!1,configurable:!0}),t}();function Pn(t,i){var n=t.canvasElementClientSize;if(0===n.width||0===n.height)return null;var s=t.bitmapSize;if(0===s.width||0===s.height)return null;var e=t.canvasElement.getContext("2d",i);return null===e?null:new Tn(e,n,s)}const Rn="undefined"!=typeof window;function Dn(){return!!Rn&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1}function On(){return!!Rn&&/iPhone|iPad|iPod/.test(window.navigator.platform)}function Bn(t){return t+t%2}function En(t,i){return t.Ic-i.Ic}function An(t,i,n){const s=(t.Ic-i.Ic)/(t._t-i._t);return Math.sign(s)*Math.min(Math.abs(s),n)}class Ln{constructor(t,i,n,s){this.Nc=null,this.Vc=null,this.Fc=null,this.Wc=null,this.jc=null,this.$c=0,this.Hc=0,this.Uc=t,this.qc=i,this.Yc=n,this.es=s}Xc(t,i){if(null!==this.Nc){if(this.Nc._t===i)return void(this.Nc.Ic=t);if(Math.abs(this.Nc.Ic-t)50)return;let n=0;const s=An(this.Nc,this.Vc,this.qc),e=En(this.Nc,this.Vc),r=[s],h=[e];if(n+=e,null!==this.Fc){const t=An(this.Vc,this.Fc,this.qc);if(Math.sign(t)===Math.sign(s)){const i=En(this.Vc,this.Fc);if(r.push(t),h.push(i),n+=i,null!==this.Wc){const t=An(this.Fc,this.Wc,this.qc);if(Math.sign(t)===Math.sign(s)){const i=En(this.Fc,this.Wc);r.push(t),h.push(i),n+=i}}}}let l=0;for(let t=0;t({width:Math.max(t.width,i.width),height:Math.max(t.height,i.height)})});return s.resizeCanvasElement(i),s}function In(t){Rn&&void 0!==window.chrome&&t.addEventListener("mousedown",(t=>{if(1===t.button)return t.preventDefault(),!1}))}class Nn{constructor(t,i,n){this.Kc=0,this.Gc=null,this.Jc={st:Number.NEGATIVE_INFINITY,et:Number.POSITIVE_INFINITY},this.Qc=0,this.td=null,this.nd={st:Number.NEGATIVE_INFINITY,et:Number.POSITIVE_INFINITY},this.sd=null,this.ed=!1,this.rd=null,this.hd=null,this.ld=!1,this.ad=!1,this.od=!1,this._d=null,this.ud=null,this.dd=null,this.fd=null,this.pd=null,this.vd=null,this.md=null,this.bd=0,this.gd=!1,this.wd=!1,this.Md=!1,this.Sd=0,this.xd=null,this.yd=!On(),this.kd=t=>{this.Cd(t)},this.Td=t=>{if(this.Pd(t)){const i=this.Rd(t);if(++this.Qc,this.td&&this.Qc>1){const{Dd:n}=this.Od(Wn(t),this.nd);n<30&&!this.od&&this.Bd(i,this.Ad.Ed),this.Ld()}}else{const i=this.Rd(t);if(++this.Kc,this.Gc&&this.Kc>1){const{Dd:n}=this.Od(Wn(t),this.Jc);n<5&&!this.ad&&this.zd(i,this.Ad.Id),this.Nd()}}},this.Vd=t,this.Ad=i,this.un=n,this.Fd()}M(){null!==this._d&&(this._d(),this._d=null),null!==this.ud&&(this.ud(),this.ud=null),null!==this.fd&&(this.fd(),this.fd=null),null!==this.pd&&(this.pd(),this.pd=null),null!==this.vd&&(this.vd(),this.vd=null),null!==this.dd&&(this.dd(),this.dd=null),this.Wd(),this.Nd()}jd(t){this.fd&&this.fd();const i=this.$d.bind(this);if(this.fd=()=>{this.Vd.removeEventListener("mousemove",i)},this.Vd.addEventListener("mousemove",i),this.Pd(t))return;const n=this.Rd(t);this.zd(n,this.Ad.Hd),this.yd=!0}Nd(){null!==this.Gc&&clearTimeout(this.Gc),this.Kc=0,this.Gc=null,this.Jc={st:Number.NEGATIVE_INFINITY,et:Number.POSITIVE_INFINITY}}Ld(){null!==this.td&&clearTimeout(this.td),this.Qc=0,this.td=null,this.nd={st:Number.NEGATIVE_INFINITY,et:Number.POSITIVE_INFINITY}}$d(t){if(this.Md||null!==this.hd)return;if(this.Pd(t))return;const i=this.Rd(t);this.zd(i,this.Ad.Ud),this.yd=!0}qd(t){const i=$n(t.changedTouches,h(this.xd));if(null===i)return;if(this.Sd=jn(t),null!==this.md)return;if(this.wd)return;this.gd=!0;const n=this.Od(Wn(i),h(this.hd)),{Yd:s,Xd:e,Dd:r}=n;if(this.ld||!(r<5)){if(!this.ld){const t=.5*s,i=e>=t&&!this.un.Zd(),n=t>e&&!this.un.Kd();i||n||(this.wd=!0),this.ld=!0,this.od=!0,this.Wd(),this.Ld()}if(!this.wd){const n=this.Rd(t,i);this.Bd(n,this.Ad.Gd),Fn(t)}}}Jd(t){if(0!==t.button)return;const i=this.Od(Wn(t),h(this.rd)),{Dd:n}=i;if(n>=5&&(this.ad=!0,this.Nd()),this.ad){const i=this.Rd(t);this.zd(i,this.Ad.Qd)}}Od(t,i){const n=Math.abs(i.st-t.st),s=Math.abs(i.et-t.et);return{Yd:n,Xd:s,Dd:n+s}}tf(t){let i=$n(t.changedTouches,h(this.xd));if(null===i&&0===t.touches.length&&(i=t.changedTouches[0]),null===i)return;this.xd=null,this.Sd=jn(t),this.Wd(),this.hd=null,this.vd&&(this.vd(),this.vd=null);const n=this.Rd(t,i);if(this.Bd(n,this.Ad.if),++this.Qc,this.td&&this.Qc>1){const{Dd:t}=this.Od(Wn(i),this.nd);t<30&&!this.od&&this.Bd(n,this.Ad.Ed),this.Ld()}else this.od||(this.Bd(n,this.Ad.nf),this.Ad.nf&&Fn(t));0===this.Qc&&Fn(t),0===t.touches.length&&this.ed&&(this.ed=!1,Fn(t))}Cd(t){if(0!==t.button)return;const i=this.Rd(t);if(this.rd=null,this.Md=!1,this.pd&&(this.pd(),this.pd=null),Dn()){this.Vd.ownerDocument.documentElement.removeEventListener("mouseleave",this.kd)}if(!this.Pd(t))if(this.zd(i,this.Ad.sf),++this.Kc,this.Gc&&this.Kc>1){const{Dd:n}=this.Od(Wn(t),this.Jc);n<5&&!this.ad&&this.zd(i,this.Ad.Id),this.Nd()}else this.ad||this.zd(i,this.Ad.ef)}Wd(){null!==this.sd&&(clearTimeout(this.sd),this.sd=null)}rf(t){if(null!==this.xd)return;const i=t.changedTouches[0];this.xd=i.identifier,this.Sd=jn(t);const n=this.Vd.ownerDocument.documentElement;this.od=!1,this.ld=!1,this.wd=!1,this.hd=Wn(i),this.vd&&(this.vd(),this.vd=null);{const i=this.qd.bind(this),s=this.tf.bind(this);this.vd=()=>{n.removeEventListener("touchmove",i),n.removeEventListener("touchend",s)},n.addEventListener("touchmove",i,{passive:!1}),n.addEventListener("touchend",s,{passive:!1}),this.Wd(),this.sd=setTimeout(this.hf.bind(this,t),240)}const s=this.Rd(t,i);this.Bd(s,this.Ad.lf),this.td||(this.Qc=0,this.td=setTimeout(this.Ld.bind(this),500),this.nd=Wn(i))}af(t){if(0!==t.button)return;const i=this.Vd.ownerDocument.documentElement;Dn()&&i.addEventListener("mouseleave",this.kd),this.ad=!1,this.rd=Wn(t),this.pd&&(this.pd(),this.pd=null);{const t=this.Jd.bind(this),n=this.Cd.bind(this);this.pd=()=>{i.removeEventListener("mousemove",t),i.removeEventListener("mouseup",n)},i.addEventListener("mousemove",t),i.addEventListener("mouseup",n)}if(this.Md=!0,this.Pd(t))return;const n=this.Rd(t);this.zd(n,this.Ad._f),this.Gc||(this.Kc=0,this.Gc=setTimeout(this.Nd.bind(this),500),this.Jc=Wn(t))}Fd(){this.Vd.addEventListener("mouseenter",this.jd.bind(this)),this.Vd.addEventListener("touchcancel",this.Wd.bind(this));{const t=this.Vd.ownerDocument,i=t=>{this.Ad.uf&&(t.composed&&this.Vd.contains(t.composedPath()[0])||t.target&&this.Vd.contains(t.target)||this.Ad.uf())};this.ud=()=>{t.removeEventListener("touchstart",i)},this._d=()=>{t.removeEventListener("mousedown",i)},t.addEventListener("mousedown",i),t.addEventListener("touchstart",i,{passive:!0})}On()&&(this.dd=()=>{this.Vd.removeEventListener("dblclick",this.Td)},this.Vd.addEventListener("dblclick",this.Td)),this.Vd.addEventListener("mouseleave",this.cf.bind(this)),this.Vd.addEventListener("touchstart",this.rf.bind(this),{passive:!0}),In(this.Vd),this.Vd.addEventListener("mousedown",this.af.bind(this)),this.df(),this.Vd.addEventListener("touchmove",(()=>{}),{passive:!1})}df(){void 0===this.Ad.ff&&void 0===this.Ad.pf&&void 0===this.Ad.vf||(this.Vd.addEventListener("touchstart",(t=>this.mf(t.touches)),{passive:!0}),this.Vd.addEventListener("touchmove",(t=>{if(2===t.touches.length&&null!==this.md&&void 0!==this.Ad.pf){const i=Vn(t.touches[0],t.touches[1])/this.bd;this.Ad.pf(this.md,i),Fn(t)}}),{passive:!1}),this.Vd.addEventListener("touchend",(t=>{this.mf(t.touches)})))}mf(t){1===t.length&&(this.gd=!1),2!==t.length||this.gd||this.ed?this.bf():this.gf(t)}gf(t){const i=this.Vd.getBoundingClientRect()||{left:0,top:0};this.md={st:(t[0].clientX-i.left+(t[1].clientX-i.left))/2,et:(t[0].clientY-i.top+(t[1].clientY-i.top))/2},this.bd=Vn(t[0],t[1]),void 0!==this.Ad.ff&&this.Ad.ff(),this.Wd()}bf(){null!==this.md&&(this.md=null,void 0!==this.Ad.vf&&this.Ad.vf())}cf(t){if(this.fd&&this.fd(),this.Pd(t))return;if(!this.yd)return;const i=this.Rd(t);this.zd(i,this.Ad.wf),this.yd=!On()}hf(t){const i=$n(t.touches,h(this.xd));if(null===i)return;const n=this.Rd(t,i);this.Bd(n,this.Ad.Mf),this.od=!0,this.ed=!0}Pd(t){return t.sourceCapabilities&&void 0!==t.sourceCapabilities.firesTouchEvents?t.sourceCapabilities.firesTouchEvents:jn(t){"touchstart"!==t.type&&Fn(t)}}}}function Vn(t,i){const n=t.clientX-i.clientX,s=t.clientY-i.clientY;return Math.sqrt(n*n+s*s)}function Fn(t){t.cancelable&&t.preventDefault()}function Wn(t){return{st:t.pageX,et:t.pageY}}function jn(t){return t.timeStamp||performance.now()}function $n(t,i){for(let n=0;n{this.Of||this.tn.Ef().Ut().Ch()},this.Af=()=>{this.Of||this.tn.Ef().Ut().Ch()},this.tn=t,this.un=i,this.Oa=i.layout,this.Gu=n,this.Lf="left"===s,this.zf=document.createElement("div"),this.zf.style.height="100%",this.zf.style.overflow="hidden",this.zf.style.width="25px",this.zf.style.left="0",this.zf.style.position="relative",this.If=zn(this.zf,Sn({width:16,height:16})),this.If.subscribeSuggestedBitmapSizeChanged(this.Bf);const e=this.If.canvasElement;e.style.position="absolute",e.style.zIndex="1",e.style.left="0",e.style.top="0",this.Nf=zn(this.zf,Sn({width:16,height:16})),this.Nf.subscribeSuggestedBitmapSizeChanged(this.Af);const r=this.Nf.canvasElement;r.style.position="absolute",r.style.zIndex="2",r.style.left="0",r.style.top="0";const h={_f:this.Vf.bind(this),lf:this.Vf.bind(this),Qd:this.Ff.bind(this),Gd:this.Ff.bind(this),uf:this.Wf.bind(this),sf:this.jf.bind(this),if:this.jf.bind(this),Id:this.$f.bind(this),Ed:this.$f.bind(this),Hd:this.Hf.bind(this),wf:this.Uf.bind(this)};this.qf=new Nn(this.Nf.canvasElement,h,{Zd:()=>!1,Kd:()=>!0})}M(){this.qf.M(),this.Nf.unsubscribeSuggestedBitmapSizeChanged(this.Af),this.Nf.dispose(),this.If.unsubscribeSuggestedBitmapSizeChanged(this.Bf),this.If.dispose(),null!==this.Ii&&this.Ii.eo().v(this),this.Ii=null}Yf(){return this.zf}T(){return this.Oa.fontSize}Xf(){const t=this.Gu.F();return this.Ir!==t.P&&(this.Rf.Fe(),this.Ir=t.P),t}Zf(){if(null===this.Ii)return 0;let t=0;const i=this.Xf(),n=h(this.If.canvasElement.getContext("2d"));n.save();const s=this.Ii.Jl();n.font=this.Kf(),s.length>0&&(t=Math.max(this.Rf.Si(n,s[0].ua),this.Rf.Si(n,s[s.length-1].ua)));const e=this.Gf();for(let i=e.length;i--;){const s=this.Rf.Si(n,e[i].Gt());s>t&&(t=s)}const r=this.Ii.Tt();if(null!==r&&null!==this.Tf){const i=this.Ii.pn(1,r),s=this.Ii.pn(this.Tf.height-2,r);t=Math.max(t,this.Rf.Si(n,this.Ii.Fi(Math.floor(Math.min(i,s))+.11111111111111,r)),this.Rf.Si(n,this.Ii.Fi(Math.ceil(Math.max(i,s))-.11111111111111,r)))}n.restore();const l=t||34;return Bn(Math.ceil(i.k+i.C+i.A+i.L+5+l))}Jf(t){null!==this.Tf&&xn(this.Tf,t)||(this.Tf=t,this.Of=!0,this.If.resizeCanvasElement(t),this.Nf.resizeCanvasElement(t),this.Of=!1,this.zf.style.width=`${t.width}px`,this.zf.style.height=`${t.height}px`)}Qf(){return h(this.Tf).width}Gi(t){this.Ii!==t&&(null!==this.Ii&&this.Ii.eo().v(this),this.Ii=t,t.eo().l(this.Sa.bind(this),this))}Ot(){return this.Ii}Fe(){const t=this.tn.tp();this.tn.Ef().Ut().qo(t,h(this.Ot()))}ip(t){if(null===this.Tf)return;if(1!==t){this.np(),this.If.applySuggestedBitmapSize();const t=Pn(this.If);null!==t&&(t.useBitmapCoordinateSpace((t=>{this.sp(t),this.ye(t)})),this.ep(t),this.rp(t))}this.Nf.applySuggestedBitmapSize();const i=Pn(this.Nf);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.hp(i))}lp(){return this.If.bitmapSize}ap(t,i,n){const s=this.lp();s.width>0&&s.height>0&&t.drawImage(this.If.canvasElement,i,n)}gt(){var t;null===(t=this.Ii)||void 0===t||t.Jl()}Vf(t){if(null===this.Ii||this.Ii.Vi()||!this.un.handleScale.axisPressedMouseMove.price)return;const i=this.tn.Ef().Ut(),n=this.tn.tp();this.Pf=!0,i.Vo(n,this.Ii,t.localY)}Ff(t){if(null===this.Ii||!this.un.handleScale.axisPressedMouseMove.price)return;const i=this.tn.Ef().Ut(),n=this.tn.tp(),s=this.Ii;i.Fo(n,s,t.localY)}Wf(){if(null===this.Ii||!this.un.handleScale.axisPressedMouseMove.price)return;const t=this.tn.Ef().Ut(),i=this.tn.tp(),n=this.Ii;this.Pf&&(this.Pf=!1,t.Wo(i,n))}jf(t){if(null===this.Ii||!this.un.handleScale.axisPressedMouseMove.price)return;const i=this.tn.Ef().Ut(),n=this.tn.tp();this.Pf=!1,i.Wo(n,this.Ii)}$f(t){this.un.handleScale.axisDoubleClickReset.price&&this.Fe()}Hf(t){if(null===this.Ii)return;!this.tn.Ef().Ut().F().handleScale.axisPressedMouseMove.price||this.Ii.th()||this.Ii.Va()||this.op(1)}Uf(t){this.op(0)}Gf(){const t=[],i=null===this.Ii?void 0:this.Ii;return(n=>{for(let s=0;s{t.fillStyle=n.borderColor;const l=Math.max(1,Math.floor(h)),a=Math.floor(.5*h),o=Math.round(s.C*r);t.beginPath();for(const n of i)t.rect(Math.floor(e*r),Math.round(n.Yl*h)-a,o,l);t.fill()})),t.useMediaCoordinateSpace((({context:t})=>{var r;t.font=this.Kf(),t.fillStyle=null!==(r=n.textColor)&&void 0!==r?r:this.Oa.textColor,t.textAlign=this.Lf?"right":"left",t.textBaseline="middle";const h=this.Lf?Math.round(e-s.A):Math.round(e+s.C+s.A),l=i.map((i=>this.Rf.Mi(t,i.ua)));for(let n=i.length;n--;){const s=i[n];t.fillText(s.ua,h,s.Yl+l[n])}}))}np(){if(null===this.Tf||null===this.Ii)return;let t=this.Tf.height/2;const i=[],n=this.Ii.Ja().slice(),s=this.tn.tp(),e=this.Xf();this.Ii===s.Je()&&this.tn.tp().Ja().forEach((t=>{s.Ge(t)&&n.push(t)}));const r=this.Ii.jl()[0],h=this.Ii;n.forEach((n=>{const e=n.Pn(s,h);e.forEach((t=>{t.Bi(null),t.Ei()&&i.push(t)})),r===n&&e.length>0&&(t=e[0].yi())})),i.forEach((t=>t.Bi(t.yi())));this.Ii.F().alignLabels&&this._p(i,e,t)}_p(t,i,n){if(null===this.Tf)return;const s=t.filter((t=>t.yi()<=n)),e=t.filter((t=>t.yi()>n));s.sort(((t,i)=>i.yi()-t.yi())),s.length&&e.length&&e.push(s[0]),e.sort(((t,i)=>t.yi()-i.yi()));for(const n of t){const t=Math.floor(n.Lt(i)/2),s=n.yi();s>-t&&sthis.Tf.height-t&&sl-r&&n.Bi(l-r)}for(let t=1;t{if(i.Ai()){i.Mt(h(this.Ii)).X(t,n,this.Rf,s)}}))}hp(t){if(null===this.Tf||null===this.Ii)return;const i=this.tn.Ef().Ut(),n=[],s=this.tn.tp(),e=i.dc().Pn(s,this.Ii);e.length&&n.push(e);const r=this.Xf(),l=this.Lf?"right":"left";n.forEach((i=>{i.forEach((i=>{i.Mt(h(this.Ii)).X(t,r,this.Rf,l)}))}))}op(t){this.zf.style.cursor=1===t?"ns-resize":"default"}Sa(){const t=this.Zf();this.Df{this.Of||null===this.Sp||this.Hi().Ch()},this.Af=()=>{this.Of||null===this.Sp||this.Hi().Ch()},this.xp=t,this.Sp=i,this.Sp.Zo().l(this.yp.bind(this),this,!0),this.kp=document.createElement("td"),this.kp.style.padding="0",this.kp.style.position="relative";const n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="relative",n.style.overflow="hidden",this.Cp=document.createElement("td"),this.Cp.style.padding="0",this.Tp=document.createElement("td"),this.Tp.style.padding="0",this.kp.appendChild(n),this.If=zn(n,Sn({width:16,height:16})),this.If.subscribeSuggestedBitmapSizeChanged(this.Bf);const s=this.If.canvasElement;s.style.position="absolute",s.style.zIndex="1",s.style.left="0",s.style.top="0",this.Nf=zn(n,Sn({width:16,height:16})),this.Nf.subscribeSuggestedBitmapSizeChanged(this.Af);const e=this.Nf.canvasElement;e.style.position="absolute",e.style.zIndex="2",e.style.left="0",e.style.top="0",this.Pp=document.createElement("tr"),this.Pp.appendChild(this.Cp),this.Pp.appendChild(this.kp),this.Pp.appendChild(this.Tp),this.Rp(),this.qf=new Nn(this.Nf.canvasElement,this,{Zd:()=>null===this.bp&&!this.xp.F().handleScroll.vertTouchDrag,Kd:()=>null===this.bp&&!this.xp.F().handleScroll.horzTouchDrag})}M(){null!==this.up&&this.up.M(),null!==this.cp&&this.cp.M(),this.Nf.unsubscribeSuggestedBitmapSizeChanged(this.Af),this.Nf.dispose(),this.If.unsubscribeSuggestedBitmapSizeChanged(this.Bf),this.If.dispose(),null!==this.Sp&&this.Sp.Zo().v(this),this.qf.M()}tp(){return h(this.Sp)}Dp(t){null!==this.Sp&&this.Sp.Zo().v(this),this.Sp=t,null!==this.Sp&&this.Sp.Zo().l(Kn.prototype.yp.bind(this),this,!0),this.Rp()}Ef(){return this.xp}Yf(){return this.Pp}Rp(){if(null!==this.Sp&&(this.Op(),0!==this.Hi().wt().length)){if(null!==this.up){const t=this.Sp.Io();this.up.Gi(h(t))}if(null!==this.cp){const t=this.Sp.No();this.cp.Gi(h(t))}}}Bp(){null!==this.up&&this.up.gt(),null!==this.cp&&this.cp.gt()}Ro(){return null!==this.Sp?this.Sp.Ro():0}Do(t){this.Sp&&this.Sp.Do(t)}Hd(t){if(!this.Sp)return;this.Ep();const i=t.localX,n=t.localY;this.Ap(i,n,t)}_f(t){this.Ep(),this.Lp(),this.Ap(t.localX,t.localY,t)}Ud(t){if(!this.Sp)return;this.Ep();const i=t.localX,n=t.localY;this.Ap(i,n,t);const s=this.ir(i,n);this.Hi().lc(s&&{ac:s.ac,zp:s.zp})}ef(t){null!==this.Sp&&(this.Ep(),this.Ip(t))}Qd(t){this.Ep(),this.Np(t),this.Ap(t.localX,t.localY,t)}sf(t){null!==this.Sp&&(this.Ep(),this.mp=!1,this.Vp(t))}nf(t){null!==this.Sp&&this.Ip(t)}Mf(t){if(this.mp=!0,null===this.bp){const i={x:t.localX,y:t.localY};this.Fp(i,i,t)}}wf(t){null!==this.Sp&&(this.Ep(),this.Sp.Ut().lc(null),this.Wp())}jp(){return this.pp}ff(){this.vp=1,this.Hi().Hn()}pf(t,i){if(!this.xp.F().handleScale.pinch)return;const n=5*(i-this.vp);this.vp=i,this.Hi().gc(t.st,n)}lf(t){if(this.mp=!1,this.gp=null!==this.bp,this.Lp(),null!==this.bp){const i=this.Hi().dc();this.wp={x:i.Xt(),y:i.Zt()},this.bp={x:t.localX,y:t.localY}}}Gd(t){if(null===this.Sp)return;const i=t.localX,n=t.localY;if(null===this.bp)this.Np(t);else{this.gp=!1;const s=h(this.wp),e=s.x+(i-this.bp.x),r=s.y+(n-this.bp.y);this.Ap(e,r,t)}}if(t){0===this.Ef().F().trackingMode.exitMode&&(this.gp=!0),this.$p(),this.Vp(t)}ir(t,i){const n=this.Sp;if(null===n)return null;const s=n.Ja();for(const e of s){const s=this.Hp(e.Tn(n),t,i);if(null!==s)return{ac:e,kf:s.kf,zp:s.zp}}return null}Up(t,i){h("left"===i?this.up:this.cp).Jf(Sn({width:t,height:this.Tf.height}))}qp(){return this.Tf}Jf(t){xn(this.Tf,t)||(this.Tf=t,this.Of=!0,this.If.resizeCanvasElement(t),this.Nf.resizeCanvasElement(t),this.Of=!1,this.kp.style.width=t.width+"px",this.kp.style.height=t.height+"px")}Yp(){const t=h(this.Sp);t.zo(t.Io()),t.zo(t.No());for(const i of t.jl())if(t.Ge(i)){const n=i.Ot();null!==n&&t.zo(n),i.Dn()}}lp(){return this.If.bitmapSize}ap(t,i,n){const s=this.lp();s.width>0&&s.height>0&&t.drawImage(this.If.canvasElement,i,n)}ip(t){if(0===t)return;if(null===this.Sp)return;if(t>1&&this.Yp(),null!==this.up&&this.up.ip(t),null!==this.cp&&this.cp.ip(t),1!==t){this.If.applySuggestedBitmapSize();const t=Pn(this.If);null!==t&&(t.useBitmapCoordinateSpace((t=>{this.sp(t)})),this.Sp&&(this.Xp(t),this.Zp(t),this.Kp(t,Yn),this.Kp(t,Xn)))}this.Nf.applySuggestedBitmapSize();const i=Pn(this.Nf);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.Kp(i,Zn),this.Gp(i))}Jp(){return this.up}Qp(){return this.cp}yp(){null!==this.Sp&&this.Sp.Zo().v(this),this.Sp=null}Ip(t){const i=t.localX,n=t.localY;this.pp.g()&&this.pp.m(this.Hi().yt().ru(i),{x:i,y:n},t)}sp({context:t,bitmapSize:i}){const{width:n,height:s}=i,e=this.Hi(),r=e.U(),h=e.Lc();r===h?V(t,0,0,n,s,h):$(t,0,0,n,s,r,h)}Xp(t){const i=h(this.Sp).Ko().Th().Mt();null!==i&&i.X(t,!1)}Zp(t){const i=this.Hi().cc();this.tv(t,Yn,Un,i),this.tv(t,Yn,qn,i)}Gp(t){this.tv(t,Yn,qn,this.Hi().dc())}Kp(t,i){const n=h(this.Sp).Ja();for(const s of n)this.tv(t,i,Un,s);for(const s of n)this.tv(t,i,qn,s)}tv(t,i,n,s){const e=h(this.Sp),r=i(s,e),l=e.Ut().hc(),a=null!==l&&l.ac===s,o=null!==l&&a&&void 0!==l.zp?l.zp.sr:void 0;for(const i of r){const s=i.Mt();null!==s&&n(s,t,a,o)}}Hp(t,i,n){for(const s of t){const t=s.Mt();if(null!==t&&t.ir){const e=t.ir(i,n);if(null!==e)return{kf:s,zp:e}}}return null}Op(){if(null===this.Sp)return;const t=this.xp,i=this.Sp.Io().F().visible,n=this.Sp.No().F().visible;i||null===this.up||(this.Cp.removeChild(this.up.Yf()),this.up.M(),this.up=null),n||null===this.cp||(this.Tp.removeChild(this.cp.Yf()),this.cp.M(),this.cp=null);const s=t.Ut().Rc();i&&null===this.up&&(this.up=new Hn(this,t.F(),s,"left"),this.Cp.appendChild(this.up.Yf())),n&&null===this.cp&&(this.cp=new Hn(this,t.F(),s,"right"),this.Tp.appendChild(this.cp.Yf()))}iv(t){return t.Sf&&this.mp||null!==this.bp}nv(t){return Math.max(0,Math.min(t,this.Tf.width-1))}sv(t){return Math.max(0,Math.min(t,this.Tf.height-1))}Ap(t,i,n){this.Hi().Cc(this.nv(t),this.sv(i),n,h(this.Sp))}Wp(){this.Hi().Tc()}$p(){this.gp&&(this.bp=null,this.Wp())}Fp(t,i,n){this.bp=t,this.gp=!1,this.Ap(i.x,i.y,n);const s=this.Hi().dc();this.wp={x:s.Xt(),y:s.Zt()}}Hi(){return this.xp.Ut()}Vp(t){if(!this.fp)return;const i=this.Hi(),n=this.tp();if(i.Ho(n,n.fn()),this.dp=null,this.fp=!1,i.xc(),null!==this.Mp){const t=performance.now(),n=i.yt();this.Mp.pr(n.ou(),t),this.Mp.wu(t)||i.Yn(this.Mp)}}Ep(){this.bp=null}Lp(){if(!this.Sp)return;if(this.Hi().Hn(),document.activeElement!==document.body&&document.activeElement!==document.documentElement)h(document.activeElement).blur();else{const t=document.getSelection();null!==t&&t.removeAllRanges()}!this.Sp.fn().Vi()&&this.Hi().yt().Vi()}Np(t){if(null===this.Sp)return;const i=this.Hi(),n=i.yt();if(n.Vi())return;const s=this.xp.F(),e=s.handleScroll,r=s.kineticScroll;if((!e.pressedMouseMove||t.Sf)&&(!e.horzTouchDrag&&!e.vertTouchDrag||!t.Sf))return;const h=this.Sp.fn(),l=performance.now();if(null!==this.dp||this.iv(t)||(this.dp={x:t.clientX,y:t.clientY,u_:l,ev:t.localX,rv:t.localY}),null!==this.dp&&!this.fp&&(this.dp.x!==t.clientX||this.dp.y!==t.clientY)){if(t.Sf&&r.touch||!t.Sf&&r.mouse){const t=n.Ks();this.Mp=new Ln(.2/t,7/t,.997,15/t),this.Mp.Xc(n.ou(),this.dp.u_)}else this.Mp=null;h.Vi()||i.jo(this.Sp,h,t.localY),i.Mc(t.localX),this.fp=!0}this.fp&&(h.Vi()||i.$o(this.Sp,h,t.localY),i.Sc(t.localX),null!==this.Mp&&this.Mp.Xc(n.ou(),l))}}class Gn{constructor(t,i,n,s,e){this.vt=!0,this.Tf=Sn({width:0,height:0}),this.Bf=()=>this.ip(3),this.Lf="left"===t,this.Gu=n.Rc,this.un=i,this.hv=s,this.lv=e,this.zf=document.createElement("div"),this.zf.style.width="25px",this.zf.style.height="100%",this.zf.style.overflow="hidden",this.If=zn(this.zf,Sn({width:16,height:16})),this.If.subscribeSuggestedBitmapSizeChanged(this.Bf)}M(){this.If.unsubscribeSuggestedBitmapSizeChanged(this.Bf),this.If.dispose()}Yf(){return this.zf}qp(){return this.Tf}Jf(t){xn(this.Tf,t)||(this.Tf=t,this.If.resizeCanvasElement(t),this.zf.style.width=`${t.width}px`,this.zf.style.height=`${t.height}px`,this.vt=!0)}ip(t){if(t<3&&!this.vt)return;if(0===this.Tf.width||0===this.Tf.height)return;this.vt=!1,this.If.applySuggestedBitmapSize();const i=Pn(this.If);null!==i&&i.useBitmapCoordinateSpace((t=>{this.sp(t),this.ye(t)}))}lp(){return this.If.bitmapSize}ap(t,i,n){const s=this.lp();s.width>0&&s.height>0&&t.drawImage(this.If.canvasElement,i,n)}ye({context:t,bitmapSize:i,horizontalPixelRatio:n,verticalPixelRatio:s}){if(!this.hv())return;t.fillStyle=this.un.timeScale.borderColor;const e=Math.floor(this.Gu.F().k*n),r=Math.floor(this.Gu.F().k*s),h=this.Lf?i.width-e:0;t.fillRect(h,0,e,r)}sp({context:t,bitmapSize:i}){V(t,0,0,i.width,i.height,this.lv())}}function Jn(t,i){return t.w_>i.w_?t:i}class Qn{constructor(t){this.av=null,this.ov=null,this.S=null,this._v=!1,this.Tf=Sn({width:0,height:0}),this.uv=new m,this.Rf=new Wt(5),this.Of=!1,this.Bf=()=>{this.Of||this.xp.Ut().Ch()},this.Af=()=>{this.Of||this.xp.Ut().Ch()},this.xp=t,this.un=t.F().layout,this.cv=document.createElement("tr"),this.dv=document.createElement("td"),this.dv.style.padding="0",this.fv=document.createElement("td"),this.fv.style.padding="0",this.zf=document.createElement("td"),this.zf.style.height="25px",this.zf.style.padding="0",this.pv=document.createElement("div"),this.pv.style.width="100%",this.pv.style.height="100%",this.pv.style.position="relative",this.pv.style.overflow="hidden",this.zf.appendChild(this.pv),this.If=zn(this.pv,Sn({width:16,height:16})),this.If.subscribeSuggestedBitmapSizeChanged(this.Bf);const i=this.If.canvasElement;i.style.position="absolute",i.style.zIndex="1",i.style.left="0",i.style.top="0",this.Nf=zn(this.pv,Sn({width:16,height:16})),this.Nf.subscribeSuggestedBitmapSizeChanged(this.Af);const n=this.Nf.canvasElement;n.style.position="absolute",n.style.zIndex="2",n.style.left="0",n.style.top="0",this.cv.appendChild(this.dv),this.cv.appendChild(this.zf),this.cv.appendChild(this.fv),this.vv(),this.xp.Ut().Po().l(this.vv.bind(this),this),this.qf=new Nn(this.Nf.canvasElement,this,{Zd:()=>!0,Kd:()=>!1})}M(){this.qf.M(),null!==this.av&&this.av.M(),null!==this.ov&&this.ov.M(),this.Nf.unsubscribeSuggestedBitmapSizeChanged(this.Af),this.Nf.dispose(),this.If.unsubscribeSuggestedBitmapSizeChanged(this.Bf),this.If.dispose()}Yf(){return this.cv}mv(){return this.av}bv(){return this.ov}_f(t){if(this._v)return;this._v=!0;const i=this.xp.Ut();!i.yt().Vi()&&this.xp.F().handleScale.axisPressedMouseMove.time&&i.bc(t.localX)}lf(t){this._f(t)}uf(){const t=this.xp.Ut();!t.yt().Vi()&&this._v&&(this._v=!1,this.xp.F().handleScale.axisPressedMouseMove.time&&t.kc())}Qd(t){const i=this.xp.Ut();!i.yt().Vi()&&this.xp.F().handleScale.axisPressedMouseMove.time&&i.yc(t.localX)}Gd(t){this.Qd(t)}sf(){this._v=!1;const t=this.xp.Ut();t.yt().Vi()&&!this.xp.F().handleScale.axisPressedMouseMove.time||t.kc()}if(){this.sf()}Id(){this.xp.F().handleScale.axisDoubleClickReset.time&&this.xp.Ut().Zn()}Ed(){this.Id()}Hd(){this.xp.Ut().F().handleScale.axisPressedMouseMove.time&&this.op(1)}wf(){this.op(0)}qp(){return this.Tf}gv(){return this.uv}wv(t,i,n){xn(this.Tf,t)||(this.Tf=t,this.Of=!0,this.If.resizeCanvasElement(t),this.Nf.resizeCanvasElement(t),this.Of=!1,this.zf.style.width=`${t.width}px`,this.zf.style.height=`${t.height}px`,this.uv.m(t)),null!==this.av&&this.av.Jf(Sn({width:i,height:t.height})),null!==this.ov&&this.ov.Jf(Sn({width:n,height:t.height}))}Mv(){const t=this.Sv();return Math.ceil(t.k+t.C+t.T+t.I+t.B+t.xv)}gt(){this.xp.Ut().yt().Jl()}lp(){return this.If.bitmapSize}ap(t,i,n){const s=this.lp();s.width>0&&s.height>0&&t.drawImage(this.If.canvasElement,i,n)}ip(t){if(0===t)return;if(1!==t){this.If.applySuggestedBitmapSize();const i=Pn(this.If);null!==i&&(i.useBitmapCoordinateSpace((t=>{this.sp(t),this.ye(t)})),this.ep(i)),null!==this.av&&this.av.ip(t),null!==this.ov&&this.ov.ip(t)}this.Nf.applySuggestedBitmapSize();const i=Pn(this.Nf);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.yv([this.xp.Ut().dc()],i))}sp({context:t,bitmapSize:i}){V(t,0,0,i.width,i.height,this.xp.Ut().Lc())}ye({context:t,bitmapSize:i,verticalPixelRatio:n}){if(this.xp.F().timeScale.borderVisible){t.fillStyle=this.kv();const s=Math.max(1,Math.floor(this.Sv().k*n));t.fillRect(0,0,i.width,s)}}ep(t){const i=this.xp.Ut().yt(),n=i.Jl();if(!n||0===n.length)return;let s=n.reduce(Jn,n[0]).w_;s>30&&s<50&&(s=30);const e=this.Sv(),r=i.F();r.borderVisible&&r.ticksVisible&&t.useBitmapCoordinateSpace((({context:t,horizontalPixelRatio:i,verticalPixelRatio:s})=>{t.strokeStyle=this.kv(),t.fillStyle=this.kv();const r=Math.max(1,Math.floor(i)),h=Math.floor(.5*i);t.beginPath();const l=Math.round(e.C*s);for(let s=n.length;s--;){const e=Math.round(n[s].Yl*i);t.rect(e-h,0,r,l)}t.fill()})),t.useMediaCoordinateSpace((({context:t})=>{const i=e.k+e.C+e.I+e.T/2;t.textAlign="center",t.textBaseline="middle",t.fillStyle=this.$(),t.font=this.Kf();for(const e of n)if(e.w_=s){const n=e.cu?this.Cv(t,e.Yl,e.ua):e.Yl;t.fillText(e.ua,n,i)}}))}Cv(t,i,n){const s=this.Rf.Si(t,n),e=s/2,r=Math.floor(i-e)+.5;return r<0?i+=Math.abs(0-r):r+s>this.Tf.width&&(i-=Math.abs(this.Tf.width-(r+s))),i}yv(t,i){const n=this.Sv();for(const s of t)for(const t of s.Qi())t.Mt().X(i,n)}kv(){return this.xp.F().timeScale.borderColor}$(){return this.un.textColor}W(){return this.un.fontSize}Kf(){return T(this.W(),this.un.fontFamily)}Tv(){return T(this.W(),this.un.fontFamily,"bold")}Sv(){null===this.S&&(this.S={k:1,N:NaN,I:NaN,B:NaN,ji:NaN,C:5,T:NaN,P:"",Wi:new Wt,xv:0});const t=this.S,i=this.Kf();if(t.P!==i){const n=this.W();t.T=n,t.P=i,t.I=3*n/12,t.B=3*n/12,t.ji=9*n/12,t.N=0,t.xv=4*n/12,t.Wi.Fe()}return this.S}op(t){this.zf.style.cursor=1===t?"ew-resize":"default"}vv(){const t=this.xp.Ut(),i=t.F();i.leftPriceScale.visible||null===this.av||(this.dv.removeChild(this.av.Yf()),this.av.M(),this.av=null),i.rightPriceScale.visible||null===this.ov||(this.fv.removeChild(this.ov.Yf()),this.ov.M(),this.ov=null);const n={Rc:this.xp.Ut().Rc()},s=()=>i.leftPriceScale.borderVisible&&t.yt().F().borderVisible,e=()=>t.Lc();i.leftPriceScale.visible&&null===this.av&&(this.av=new Gn("left",i,n,s,e),this.dv.appendChild(this.av.Yf())),i.rightPriceScale.visible&&null===this.ov&&(this.ov=new Gn("right",i,n,s,e),this.fv.appendChild(this.ov.Yf()))}}const ts=!!Rn&&!!navigator.userAgentData&&navigator.userAgentData.brands.some((t=>t.brand.includes("Chromium")))&&!!Rn&&((null===(is=null===navigator||void 0===navigator?void 0:navigator.userAgentData)||void 0===is?void 0:is.platform)?"Windows"===navigator.userAgentData.platform:navigator.userAgent.toLowerCase().indexOf("win")>=0);var is;class ns{constructor(t,i){var n;this.Pv=[],this.Rv=0,this.fa=0,this.vo=0,this.Dv=0,this.Ov=0,this.Bv=null,this.Ev=!1,this.pp=new m,this.Xu=new m,this.Av=null,this.Lv=t,this.un=i,this.cv=document.createElement("div"),this.cv.classList.add("tv-lightweight-charts"),this.cv.style.overflow="hidden",this.cv.style.width="100%",this.cv.style.height="100%",(n=this.cv).style.userSelect="none",n.style.webkitUserSelect="none",n.style.msUserSelect="none",n.style.MozUserSelect="none",n.style.webkitTapHighlightColor="transparent",this.zv=document.createElement("table"),this.zv.setAttribute("cellspacing","0"),this.cv.appendChild(this.zv),this.Iv=this.Nv.bind(this),ss(this.un)&&this.Vv(!0),this.Hi=new gn(this.Ku.bind(this),this.un),this.Ut().fc().l(this.Fv.bind(this),this),this.Wv=new Qn(this),this.zv.appendChild(this.Wv.Yf());const s=i.autoSize&&this.jv();let e=this.un.width,r=this.un.height;if(s||0===e||0===r){const i=t.getBoundingClientRect();e=e||i.width,r=r||i.height}this.$v(e,r),this.Hv(),t.appendChild(this.cv),this.Uv(),this.Hi.yt().yu().l(this.Hi.dl.bind(this.Hi),this),this.Hi.Po().l(this.Hi.dl.bind(this.Hi),this)}Ut(){return this.Hi}F(){return this.un}qv(){return this.Pv}Yv(){return this.Wv}M(){this.Vv(!1),0!==this.Rv&&window.cancelAnimationFrame(this.Rv),this.Hi.fc().v(this),this.Hi.yt().yu().v(this),this.Hi.Po().v(this),this.Hi.M();for(const t of this.Pv)this.zv.removeChild(t.Yf()),t.jp().v(this),t.M();this.Pv=[],h(this.Wv).M(),null!==this.cv.parentElement&&this.cv.parentElement.removeChild(this.cv),this.Xu.M(),this.pp.M(),this.Xv()}$v(t,i,n=!1){if(this.fa===i&&this.vo===t)return;const s=function(t){const i=Math.floor(t.width),n=Math.floor(t.height);return Sn({width:i-i%2,height:n-n%2})}(Sn({width:t,height:i}));this.fa=s.height,this.vo=s.width;const e=this.fa+"px",r=this.vo+"px";h(this.cv).style.height=e,h(this.cv).style.width=r,this.zv.style.height=e,this.zv.style.width=r,n?this.Zv(tt.ss(),performance.now()):this.Hi.dl()}ip(t){void 0===t&&(t=tt.ss());for(let i=0;i{let s=0;for(let e=0;e{h("left"===i?this.Wv.mv():this.Wv.bv()).ap(h(t),n,s)};if(this.un.timeScale.visible){const i=this.Wv.lp();if(null!==t){let e=0;this.tm()&&(r("left",e,n),e=h(s.Jp()).lp().width),this.Wv.ap(t,e,n),e+=i.width,this.im()&&r("right",e,n)}n+=i.height}return Sn({width:i,height:n})}sm(){let t=0,i=0,n=0;for(const s of this.Pv)this.tm()&&(i=Math.max(i,h(s.Jp()).Zf())),this.im()&&(n=Math.max(n,h(s.Qp()).Zf())),t+=s.Ro();i=Bn(i),n=Bn(n);const s=this.vo,e=this.fa,r=Math.max(s-i-n,0),l=this.un.timeScale.visible;let a=l?this.Wv.Mv():0;var o;a=(o=a)+o%2;const _=0+a,u=e<_?0:e-_,c=u/t;let d=0;for(let t=0;t{t.Bp()})),3===(null===(n=this.Bv)||void 0===n?void 0:n.Wn())&&(this.Bv.Qn(t),this.hm(),this.lm(this.Bv),this.am(this.Bv,i),t=this.Bv,this.Bv=null)),this.ip(t)}am(t,i){for(const n of t.Jn())this.ts(n,i)}lm(t){const i=this.Hi.uc();for(let n=0;n{if(this.Ev=!1,this.Rv=0,null!==this.Bv){const i=this.Bv;this.Bv=null,this.Zv(i,t);for(const n of i.Jn())if(5===n.Un&&!n.Bt.wu(t)){this.Ut().Yn(n.Bt);break}}})))}hm(){this.Hv()}Hv(){const t=this.Hi.uc(),i=t.length,n=this.Pv.length;for(let t=i;t{const n=i.An().jh(t);null!==n&&e.set(i,n)}))}let r;if(null!==t){const i=null===(s=this.Hi.yt().Ui(t))||void 0===s?void 0:s.M_;void 0!==i&&(r=i)}const h=this.Ut().hc(),l=null!==h&&h.ac instanceof yi?h.ac:void 0,a=null!==h&&void 0!==h.zp?h.zp.nr:void 0;return{_t:r,Ys:null!=t?t:void 0,um:null!=i?i:void 0,dm:l,fm:e,pm:a,vm:null!=n?n:void 0}}om(t,i,n){this.pp.m((()=>this._m(t,i,n)))}Fv(t,i,n){this.Xu.m((()=>this._m(t,i,n)))}Uv(){const t=this.un.timeScale.visible?"":"none";this.Wv.Yf().style.display=t}tm(){return this.Pv[0].tp().Io().F().visible}im(){return this.Pv[0].tp().No().F().visible}jv(){return"ResizeObserver"in window&&(this.Av=new ResizeObserver((t=>{const i=t.find((t=>t.target===this.Lv));i&&this.$v(i.contentRect.width,i.contentRect.height)})),this.Av.observe(this.Lv,{box:"border-box"}),!0)}Xv(){null!==this.Av&&this.Av.disconnect()}}function ss(t){return Boolean(t.handleScroll.mouseWheel||t.handleScale.mouseWheel)}function es(t,i,n,s){const e=n.value,r={Ys:i,_t:t,Bt:[e,e,e,e],M_:s};return void 0!==n.color&&(r.D=n.color),r}function rs(t){return void 0!==t.Bt}function hs(t){return(i,n,s,e)=>{return void 0===(r=s).open&&void 0===r.value?{_t:i,Ys:n,M_:e}:t(i,n,s,e);var r}}const ls={Candlestick:hs((function(t,i,n,s){const e={Ys:i,_t:t,Bt:[n.open,n.high,n.low,n.close],M_:s};return void 0!==n.color&&(e.D=n.color),void 0!==n.borderColor&&(e.Et=n.borderColor),void 0!==n.wickColor&&(e.Dh=n.wickColor),e})),Bar:hs((function(t,i,n,s){const e={Ys:i,_t:t,Bt:[n.open,n.high,n.low,n.close],M_:s};return void 0!==n.color&&(e.D=n.color),e})),Area:hs((function(t,i,n,s){const e=n.value,r={Ys:i,_t:t,Bt:[e,e,e,e],M_:s};return void 0!==n.lineColor&&(r.ot=n.lineColor),void 0!==n.topColor&&(r.bs=n.topColor),void 0!==n.bottomColor&&(r.gs=n.bottomColor),r})),Baseline:hs((function(t,i,n,s){const e=n.value,r={Ys:i,_t:t,Bt:[e,e,e,e],M_:s};return void 0!==n.topLineColor&&(r.be=n.topLineColor),void 0!==n.bottomLineColor&&(r.ge=n.bottomLineColor),void 0!==n.topFillColor1&&(r.de=n.topFillColor1),void 0!==n.topFillColor2&&(r.fe=n.topFillColor2),void 0!==n.bottomFillColor1&&(r.pe=n.bottomFillColor1),void 0!==n.bottomFillColor2&&(r.ve=n.bottomFillColor2),r})),Histogram:hs(es),Line:hs(es)};function as(t){return ls[t]}function os(t){return 60*t*60*1e3}function _s(t){return 60*t*1e3}const us=[{bm:(cs=1,1e3*cs),w_:10},{bm:_s(1),w_:20},{bm:_s(5),w_:21},{bm:_s(30),w_:22},{bm:os(1),w_:30},{bm:os(3),w_:31},{bm:os(6),w_:32},{bm:os(12),w_:33}];var cs;function ds(t,i){if(t.getUTCFullYear()!==i.getUTCFullYear())return 70;if(t.getUTCMonth()!==i.getUTCMonth())return 60;if(t.getUTCDate()!==i.getUTCDate())return 50;for(let n=us.length-1;n>=0;--n)if(Math.floor(i.getTime()/us[n].bm)!==Math.floor(t.getTime()/us[n].bm))return us[n].w_;return 0}function fs(t,i=0){if(0===t.length)return;let n=0===i?null:t[i-1]._t.u_,s=null!==n?new Date(1e3*n):null,e=0;for(let r=i;r1){const i=Math.ceil(e/(t.length-1)),n=new Date(1e3*(t[0]._t.u_-i));t[0].g_=ds(new Date(1e3*t[0]._t.u_),n)}}function ps(t){if(!wn(t))throw new Error("time must be of type BusinessDay");const i=new Date(Date.UTC(t.year,t.month-1,t.day,0,0,0,0));return{u_:Math.round(i.getTime()/1e3),__:t}}function vs(t){if(!Mn(t))throw new Error("time must be of type isUTCTimestamp");return{u_:t}}function ms(t){return 0===t.length?null:wn(t[0].time)?ps:vs}function bs(t){return Mn(t)?vs(t):wn(t)?ps(t):ps(gs(t))}function gs(t){const i=new Date(t);if(isNaN(i.getTime()))throw new Error(`Invalid date string=${t}, expected format=yyyy-mm-dd`);return{day:i.getUTCDate(),month:i.getUTCMonth()+1,year:i.getUTCFullYear()}}function ws(t){M(t.time)&&(t.time=gs(t.time))}function Ms(t){return{Ys:0,gm:new Map,yl:t}}function Ss(t){if(void 0!==t&&0!==t.length)return{wm:t[0]._t.u_,Mm:t[t.length-1]._t.u_}}function xs(t){let i;return t.forEach((t=>{void 0===i&&(i=t.M_)})),r(i)}function ys(t){void 0===t.M_&&(t.M_=t.time)}class ks{constructor(){this.Sm=new Map,this.xm=new Map,this.ym=new Map,this.km=[]}M(){this.Sm.clear(),this.xm.clear(),this.ym.clear(),this.km=[]}Cm(t,i){let n=0!==this.Sm.size,s=!1;const e=this.xm.get(t);if(void 0!==e)if(1===this.xm.size)n=!1,s=!0,this.Sm.clear();else for(const i of this.km)i.pointData.gm.delete(t)&&(s=!0);let r=[];if(0!==i.length){const n=i;n.forEach((t=>ys(t))),function(t){t.forEach(ws)}(i);const e=h(ms(i)),l=as(t.Ah());r=n.map((i=>{const n=e(i.time);let r=this.Sm.get(n.u_);void 0===r&&(r=Ms(n),this.Sm.set(n.u_,r),s=!0);const h=l(n,r.Ys,i,i.M_);return r.gm.set(t,h),h}))}n&&this.Tm(),this.Pm(t,r);let l=-1;if(s){const t=[];this.Sm.forEach((i=>{t.push({g_:0,_t:i.yl,pointData:i,M_:xs(i.gm)})})),t.sort(((t,i)=>t._t.u_-i._t.u_)),l=this.Rm(t)}return this.Dm(t,l,function(t,i){const n=Ss(t),s=Ss(i);if(void 0!==n&&void 0!==s)return{ml:n.Mm>=s.Mm&&n.wm>=s.wm}}(this.xm.get(t),e))}Bc(t){return this.Cm(t,[])}Om(t,i){const n=i;ys(n),ws(i);const s=h(ms([i]))(i.time),e=this.ym.get(t);if(void 0!==e&&s.u_t._t.u_s._t.u_?rs(i)&&n.push(i):rs(i)?n[n.length-1]=i:n.splice(-1,1),this.ym.set(t,i._t)}Pm(t,i){0!==i.length?(this.xm.set(t,i.filter(rs)),this.ym.set(t,i[i.length-1]._t)):(this.xm.delete(t),this.ym.delete(t))}Tm(){for(const t of this.km)0===t.pointData.gm.size&&this.Sm.delete(t._t.u_)}Rm(t){let i=-1;for(let n=0;n{0!==i.length&&(t=Math.max(t,i[i.length-1].Ys))})),t}Dm(t,i,n){const s={Am:new Map,yt:{eu:this.Em()}};if(-1!==i)this.xm.forEach(((i,e)=>{s.Am.set(e,{ar:i,Lm:e===t?n:void 0})})),this.xm.has(t)||s.Am.set(t,{ar:[],Lm:n}),s.yt.zm=this.km,s.yt.Im=i;else{const i=this.xm.get(t);s.Am.set(t,{ar:i||[],Lm:n})}return s}}function Cs(t,i){t.Ys=i,t.gm.forEach((t=>{t.Ys=i}))}function Ts(t){return{value:t.Bt[3],time:t.M_}}function Ps(t){const i=Ts(t);return void 0!==t.D&&(i.color=t.D),i}function Rs(t){return{open:t.Bt[0],high:t.Bt[1],low:t.Bt[2],close:t.Bt[3],time:t.M_}}const Ds={Area:function(t){const i=Ts(t);return void 0!==t.ot&&(i.lineColor=t.ot),void 0!==t.bs&&(i.topColor=t.bs),void 0!==t.gs&&(i.bottomColor=t.gs),i},Line:Ps,Baseline:function(t){const i=Ts(t);return void 0!==t.be&&(i.topLineColor=t.be),void 0!==t.ge&&(i.bottomLineColor=t.ge),void 0!==t.de&&(i.topFillColor1=t.de),void 0!==t.fe&&(i.topFillColor2=t.fe),void 0!==t.pe&&(i.bottomFillColor1=t.pe),void 0!==t.ve&&(i.bottomFillColor2=t.ve),i},Histogram:Ps,Bar:function(t){const i=Rs(t);return void 0!==t.D&&(i.color=t.D),i},Candlestick:function(t){const i=Rs(t),{D:n,Et:s,Dh:e}=t;return void 0!==n&&(i.color=n),void 0!==s&&(i.borderColor=s),void 0!==e&&(i.wickColor=e),i}};function Os(t){return Ds[t]}const Bs={autoScale:!0,mode:0,invertScale:!1,alignLabels:!0,borderVisible:!0,borderColor:"#2B2B43",entireTextOnly:!1,visible:!1,ticksVisible:!1,scaleMargins:{bottom:.1,top:.2}},Es={color:"rgba(0, 0, 0, 0)",visible:!1,fontSize:48,fontFamily:C,fontStyle:"",text:"",horzAlign:"center",vertAlign:"center"},As={width:0,height:0,autoSize:!1,layout:{background:{type:"solid",color:"#FFFFFF"},textColor:"#191919",fontSize:12,fontFamily:C},crosshair:{vertLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#131722"},horzLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#131722"},mode:1},grid:{vertLines:{color:"#D6DCDE",style:0,visible:!0},horzLines:{color:"#D6DCDE",style:0,visible:!0}},overlayPriceScales:Object.assign({},Bs),leftPriceScale:Object.assign(Object.assign({},Bs),{visible:!1}),rightPriceScale:Object.assign(Object.assign({},Bs),{visible:!0}),timeScale:{rightOffset:0,barSpacing:6,minBarSpacing:.5,fixLeftEdge:!1,fixRightEdge:!1,lockVisibleTimeRangeOnResize:!1,rightBarStaysOnScroll:!1,borderVisible:!0,borderColor:"#2B2B43",visible:!0,timeVisible:!1,secondsVisible:!0,shiftVisibleRangeOnNewBar:!0,ticksVisible:!1},watermark:Es,localization:{locale:Rn?navigator.language:"",dateFormat:"dd MMM 'yy"},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0},handleScale:{axisPressedMouseMove:{time:!0,price:!0},axisDoubleClickReset:{time:!0,price:!0},mouseWheel:!0,pinch:!0},kineticScroll:{mouse:!1,touch:!0},trackingMode:{exitMode:1}},Ls={upColor:"#26a69a",downColor:"#ef5350",wickVisible:!0,borderVisible:!0,borderColor:"#378658",borderUpColor:"#26a69a",borderDownColor:"#ef5350",wickColor:"#737375",wickUpColor:"#26a69a",wickDownColor:"#ef5350"},zs={upColor:"#26a69a",downColor:"#ef5350",openVisible:!0,thinBars:!0},Is={color:"#2196f3",lineStyle:0,lineWidth:3,lineType:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},Ns={topColor:"rgba( 46, 220, 135, 0.4)",bottomColor:"rgba( 40, 221, 100, 0)",invertFilledArea:!1,lineColor:"#33D778",lineStyle:0,lineWidth:3,lineType:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},Vs={baseValue:{type:"price",price:0},topFillColor1:"rgba(38, 166, 154, 0.28)",topFillColor2:"rgba(38, 166, 154, 0.05)",topLineColor:"rgba(38, 166, 154, 1)",bottomFillColor1:"rgba(239, 83, 80, 0.05)",bottomFillColor2:"rgba(239, 83, 80, 0.28)",bottomLineColor:"rgba(239, 83, 80, 1)",lineWidth:3,lineStyle:0,lineType:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},Fs={color:"#26a69a",base:0},Ws={title:"",visible:!0,lastValueVisible:!0,priceLineVisible:!0,priceLineSource:0,priceLineWidth:1,priceLineColor:"",priceLineStyle:2,baseLineVisible:!0,baseLineWidth:1,baseLineColor:"#B2B5BE",baseLineStyle:0,priceFormat:{type:"price",precision:2,minMove:.01}};class js{constructor(t,i){this.Nm=t,this.Vm=i}applyOptions(t){this.Nm.Ut().oc(this.Vm,t)}options(){return this.Ii().F()}width(){return Q(this.Vm)?this.Nm.Qv(this.Vm):0}Ii(){return h(this.Nm.Ut()._c(this.Vm)).Ot}}const $s={color:"#FF0000",price:0,lineStyle:2,lineWidth:1,lineVisible:!0,axisLabelVisible:!0,title:"",axisLabelColor:"",axisLabelTextColor:""};class Hs{constructor(t){this.wh=t}applyOptions(t){this.wh.kh(t)}options(){return this.wh.F()}Fm(){return this.wh}}class Us{constructor(t,i,n){this.Ts=t,this.Wm=i,this.jm=n}priceFormatter(){return this.Ts.Ol()}priceToCoordinate(t){const i=this.Ts.Tt();return null===i?null:this.Ts.Ot().Dt(t,i.Bt)}coordinateToPrice(t){const i=this.Ts.Tt();return null===i?null:this.Ts.Ot().pn(t,i.Bt)}barsInLogicalRange(t){if(null===t)return null;const i=new on(new hn(t.from,t.to)).C_(),n=this.Ts.An();if(n.Vi())return null;const s=n.jh(i.Ms(),1),e=n.jh(i.ci(),-1),r=h(n.Vh()),l=h(n.En());if(null!==s&&null!==e&&s.Ys>e.Ys)return{barsBefore:t.from-r,barsAfter:l-t.to};const a={barsBefore:null===s||s.Ys===r?t.from-r:s.Ys-r,barsAfter:null===e||e.Ys===l?l-t.to:l-e.Ys};return null!==s&&null!==e&&(a.from=s._t.__||s._t.u_,a.to=e._t.__||e._t.u_),a}setData(t){this.Ts.Ah(),this.Wm.$m(this.Ts,t)}update(t){this.Ts.Ah(),this.Wm.Hm(this.Ts,t)}dataByIndex(t,i){const n=this.Ts.An().jh(t,i);return null===n?null:Os(this.seriesType())(n)}setMarkers(t){const i=t.map((t=>Object.assign(Object.assign({},t),{originalTime:t.time,time:bs(t.time)})));this.Ts.gl(i)}markers(){return this.Ts.wl().map((t=>{const{originalTime:i,time:n}=t,s=function(t,i){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&i.indexOf(s)<0&&(n[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(s=Object.getOwnPropertySymbols(t);e=1)return 0;let i=0;for(;i<8;i++){const n=Math.round(t);if(Math.abs(n-t)<1e-8)return i;t*=10}return i}(i.minMove))}function Xs(t){return function(t){if(S(t.handleScale)){const i=t.handleScale;t.handleScale={axisDoubleClickReset:{time:i,price:i},axisPressedMouseMove:{time:i,price:i},mouseWheel:i,pinch:i}}else if(void 0!==t.handleScale){const{axisPressedMouseMove:i,axisDoubleClickReset:n}=t.handleScale;S(i)&&(t.handleScale.axisPressedMouseMove={time:i,price:i}),S(n)&&(t.handleScale.axisDoubleClickReset={time:n,price:n})}const i=t.handleScroll;S(i)&&(t.handleScroll={horzTouchDrag:i,vertTouchDrag:i,mouseWheel:i,pressedMouseMove:i})}(t),t}class Zs{constructor(t,i){this.Zm=new ks,this.Km=new Map,this.Gm=new Map,this.Jm=new m,this.Qm=new m;const n=void 0===i?x(As):b(x(As),Xs(i));this.Nm=new ns(t,n),this.Nm.jp().l((t=>{this.Jm.g()&&this.Jm.m(this.tb(t()))}),this),this.Nm.fc().l((t=>{this.Qm.g()&&this.Qm.m(this.tb(t()))}),this);const s=this.Nm.Ut();this.ib=new qs(s,this.Nm.Yv())}remove(){this.Nm.jp().v(this),this.Nm.fc().v(this),this.ib.M(),this.Nm.M(),this.Km.clear(),this.Gm.clear(),this.Jm.M(),this.Qm.M(),this.Zm.M()}resize(t,i,n){this.autoSizeActive()||this.Nm.$v(t,i,n)}addAreaSeries(t){return this.nb("Area",Ns,t)}addBaselineSeries(t){return this.nb("Baseline",Vs,t)}addBarSeries(t){return this.nb("Bar",zs,t)}addCandlestickSeries(t={}){return function(t){void 0!==t.borderColor&&(t.borderUpColor=t.borderColor,t.borderDownColor=t.borderColor),void 0!==t.wickColor&&(t.wickUpColor=t.wickColor,t.wickDownColor=t.wickColor)}(t),this.nb("Candlestick",Ls,t)}addHistogramSeries(t){return this.nb("Histogram",Fs,t)}addLineSeries(t){return this.nb("Line",Is,t)}removeSeries(t){const i=r(this.Km.get(t)),n=this.Zm.Bc(i);this.Nm.Ut().Bc(i),this.sb(n),this.Km.delete(t),this.Gm.delete(i)}$m(t,i){this.sb(this.Zm.Cm(t,i))}Hm(t,i){this.sb(this.Zm.Om(t,i))}subscribeClick(t){this.Jm.l(t)}unsubscribeClick(t){this.Jm.p(t)}subscribeCrosshairMove(t){this.Qm.l(t)}unsubscribeCrosshairMove(t){this.Qm.p(t)}priceScale(t){return new js(this.Nm,t)}timeScale(){return this.ib}applyOptions(t){this.Nm.kh(Xs(t))}options(){return this.Nm.F()}takeScreenshot(){return this.Nm.Gv()}autoSizeActive(){return this.Nm.nm()}nb(t,i,n={}){Ys(n.priceFormat);const s=b(x(Ws),x(i),n),e=this.Nm.Ut().Dc(t,s),r=new Us(e,this,this);return this.Km.set(r,e),this.Gm.set(e,r),r}sb(t){const i=this.Nm.Ut();i.Pc(t.yt.eu,t.yt.zm,t.yt.Im),t.Am.forEach(((t,i)=>i.tt(t.ar,t.Lm))),i.lu()}eb(t){return r(this.Gm.get(t))}tb(t){const i=new Map;t.fm.forEach(((t,n)=>{const s=Os(n.Ah())(t);e(function(t){return void 0!==t.open||void 0!==t.value}(s)),i.set(this.eb(n),s)}));const n=void 0===t.dm?void 0:this.eb(t.dm);return{time:t._t,logical:t.Ys,point:t.um,hoveredSeries:n,hoveredObjectId:t.pm,seriesData:i,sourceEvent:t.vm}}}var Ks=Object.freeze({__proto__:null,get ColorType(){return fn},get CrosshairMode(){return G},get LastPriceAnimationMode(){return cn},get LineStyle(){return i},get LineType(){return t},get MismatchDirection(){return wi},get PriceLineSource(){return dn},get PriceScaleMode(){return ji},get TickMarkType(){return _n},get TrackingModeExitMode(){return un},createChart:function(t,i){let n;if(M(t)){const i=document.getElementById(t);e(null!==i,`Cannot find element in DOM with id=${t}`),n=i}else n=t;return new Zs(n,i)},isBusinessDay:wn,isUTCTimestamp:Mn,version:function(){return"4.0.1"}});window.LightweightCharts=Ks}(); diff --git a/v2realbot/static/js/libs/lightweight-charts.standalone.production.js b/v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production401.js similarity index 100% rename from v2realbot/static/js/libs/lightweight-charts.standalone.production.js rename to v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production401.js diff --git a/v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production410.js b/v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production410.js new file mode 100644 index 0000000..64831d8 --- /dev/null +++ b/v2realbot/static/js/libs/lightweightcharts/lightweight-charts.standalone.production410.js @@ -0,0 +1,7 @@ +/*! + * @license + * TradingView Lightweight Charts™ v4.1.0 + * Copyright (c) 2023 TradingView, Inc. + * Licensed under Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0 + */ +!function(){"use strict";const t={upColor:"#26a69a",downColor:"#ef5350",wickVisible:!0,borderVisible:!0,borderColor:"#378658",borderUpColor:"#26a69a",borderDownColor:"#ef5350",wickColor:"#737375",wickUpColor:"#26a69a",wickDownColor:"#ef5350"},i={upColor:"#26a69a",downColor:"#ef5350",openVisible:!0,thinBars:!0},n={color:"#2196f3",lineStyle:0,lineWidth:3,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},s={topColor:"rgba( 46, 220, 135, 0.4)",bottomColor:"rgba( 40, 221, 100, 0)",invertFilledArea:!1,lineColor:"#33D778",lineStyle:0,lineWidth:3,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},e={baseValue:{type:"price",price:0},topFillColor1:"rgba(38, 166, 154, 0.28)",topFillColor2:"rgba(38, 166, 154, 0.05)",topLineColor:"rgba(38, 166, 154, 1)",bottomFillColor1:"rgba(239, 83, 80, 0.05)",bottomFillColor2:"rgba(239, 83, 80, 0.28)",bottomLineColor:"rgba(239, 83, 80, 1)",lineWidth:3,lineStyle:0,lineType:0,lineVisible:!0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBorderWidth:2,crosshairMarkerBackgroundColor:"",lastPriceAnimation:0,pointMarkersVisible:!1},r={color:"#26a69a",base:0},h={color:"#2196f3"},l={title:"",visible:!0,lastValueVisible:!0,priceLineVisible:!0,priceLineSource:0,priceLineWidth:1,priceLineColor:"",priceLineStyle:2,baseLineVisible:!0,baseLineWidth:1,baseLineColor:"#B2B5BE",baseLineStyle:0,priceFormat:{type:"price",precision:2,minMove:.01}};var a,o;function _(t,i){const n={0:[],1:[t.lineWidth,t.lineWidth],2:[2*t.lineWidth,2*t.lineWidth],3:[6*t.lineWidth,6*t.lineWidth],4:[t.lineWidth,4*t.lineWidth]}[i];t.setLineDash(n)}function u(t,i,n,s){t.beginPath();const e=t.lineWidth%2?.5:0;t.moveTo(n,i+e),t.lineTo(s,i+e),t.stroke()}function c(t,i){if(!t)throw new Error("Assertion failed"+(i?": "+i:""))}function d(t){if(void 0===t)throw new Error("Value is undefined");return t}function f(t){if(null===t)throw new Error("Value is null");return t}function v(t){return f(d(t))}!function(t){t[t.Simple=0]="Simple",t[t.WithSteps=1]="WithSteps",t[t.Curved=2]="Curved"}(a||(a={})),function(t){t[t.Solid=0]="Solid",t[t.Dotted=1]="Dotted",t[t.Dashed=2]="Dashed",t[t.LargeDashed=3]="LargeDashed",t[t.SparseDotted=4]="SparseDotted"}(o||(o={}));const p={khaki:"#f0e68c",azure:"#f0ffff",aliceblue:"#f0f8ff",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",gray:"#808080",green:"#008000",honeydew:"#f0fff0",floralwhite:"#fffaf0",lightblue:"#add8e6",lightcoral:"#f08080",lemonchiffon:"#fffacd",hotpink:"#ff69b4",lightyellow:"#ffffe0",greenyellow:"#adff2f",lightgoldenrodyellow:"#fafad2",limegreen:"#32cd32",linen:"#faf0e6",lightcyan:"#e0ffff",magenta:"#f0f",maroon:"#800000",olive:"#808000",orange:"#ffa500",oldlace:"#fdf5e6",mediumblue:"#0000cd",transparent:"#0000",lime:"#0f0",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",midnightblue:"#191970",orchid:"#da70d6",mediumorchid:"#ba55d3",mediumturquoise:"#48d1cc",orangered:"#ff4500",royalblue:"#4169e1",powderblue:"#b0e0e6",red:"#f00",coral:"#ff7f50",turquoise:"#40e0d0",white:"#fff",whitesmoke:"#f5f5f5",wheat:"#f5deb3",teal:"#008080",steelblue:"#4682b4",bisque:"#ffe4c4",aquamarine:"#7fffd4",aqua:"#0ff",sienna:"#a0522d",silver:"#c0c0c0",springgreen:"#00ff7f",antiquewhite:"#faebd7",burlywood:"#deb887",brown:"#a52a2a",beige:"#f5f5dc",chocolate:"#d2691e",chartreuse:"#7fff00",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cadetblue:"#5f9ea0",tomato:"#ff6347",fuchsia:"#f0f",blue:"#00f",salmon:"#fa8072",blanchedalmond:"#ffebcd",slateblue:"#6a5acd",slategray:"#708090",thistle:"#d8bfd8",tan:"#d2b48c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",blueviolet:"#8a2be2",black:"#000",darkmagenta:"#8b008b",darkslateblue:"#483d8b",darkkhaki:"#bdb76b",darkorchid:"#9932cc",darkorange:"#ff8c00",darkgreen:"#006400",darkred:"#8b0000",dodgerblue:"#1e90ff",darkslategray:"#2f4f4f",dimgray:"#696969",deepskyblue:"#00bfff",firebrick:"#b22222",forestgreen:"#228b22",indigo:"#4b0082",ivory:"#fffff0",lavenderblush:"#fff0f5",feldspar:"#d19275",indianred:"#cd5c5c",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightskyblue:"#87cefa",lightslategray:"#789",lightslateblue:"#8470ff",snow:"#fffafa",lightseagreen:"#20b2aa",lightsalmon:"#ffa07a",darksalmon:"#e9967a",darkviolet:"#9400d3",mediumpurple:"#9370d8",mediumaquamarine:"#66cdaa",skyblue:"#87ceeb",lavender:"#e6e6fa",lightsteelblue:"#b0c4de",mediumvioletred:"#c71585",mintcream:"#f5fffa",navajowhite:"#ffdead",navy:"#000080",olivedrab:"#6b8e23",palevioletred:"#d87093",violetred:"#d02090",yellow:"#ff0",yellowgreen:"#9acd32",lawngreen:"#7cfc00",pink:"#ffc0cb",paleturquoise:"#afeeee",palegoldenrod:"#eee8aa",darkolivegreen:"#556b2f",darkseagreen:"#8fbc8f",darkturquoise:"#00ced1",peachpuff:"#ffdab9",deeppink:"#ff1493",violet:"#ee82ee",palegreen:"#98fb98",mediumseagreen:"#3cb371",peru:"#cd853f",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",purple:"#800080",seagreen:"#2e8b57",seashell:"#fff5ee",papayawhip:"#ffefd5",mediumslateblue:"#7b68ee",plum:"#dda0dd",mediumspringgreen:"#00fa9a"};function m(t){return t<0?0:t>255?255:Math.round(t)||0}function b(t){return t<=0||t>0?t<0?0:t>1?1:Math.round(1e4*t)/1e4:0}const w=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,g=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,M=/^rgb\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*\)$/,x=/^rgba\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?[\d]{0,10}(?:\.\d+)?)\s*\)$/;function S(t){(t=t.toLowerCase())in p&&(t=p[t]);{const i=x.exec(t)||M.exec(t);if(i)return[m(parseInt(i[1],10)),m(parseInt(i[2],10)),m(parseInt(i[3],10)),b(i.length<5?1:parseFloat(i[4]))]}{const i=g.exec(t);if(i)return[m(parseInt(i[1],16)),m(parseInt(i[2],16)),m(parseInt(i[3],16)),1]}{const i=w.exec(t);if(i)return[m(17*parseInt(i[1],16)),m(17*parseInt(i[2],16)),m(17*parseInt(i[3],16)),1]}throw new Error(`Cannot parse color: ${t}`)}function y(t){const i=S(t);return{t:`rgb(${i[0]}, ${i[1]}, ${i[2]})`,i:(n=i,.199*n[0]+.687*n[1]+.114*n[2]>160?"black":"white")};var n}class k{constructor(){this.h=[]}l(t,i,n){const s={o:t,_:i,u:!0===n};this.h.push(s)}v(t){const i=this.h.findIndex((i=>t===i.o));i>-1&&this.h.splice(i,1)}p(t){this.h=this.h.filter((i=>i._!==t))}m(t,i,n){const s=[...this.h];this.h=this.h.filter((t=>!t.u)),s.forEach((s=>s.o(t,i,n)))}M(){return this.h.length>0}S(){this.h=[]}}function C(t,...i){for(const n of i)for(const i in n)void 0!==n[i]&&("object"!=typeof n[i]||void 0===t[i]||Array.isArray(n[i])?t[i]=n[i]:C(t[i],n[i]));return t}function T(t){return"number"==typeof t&&isFinite(t)}function P(t){return"number"==typeof t&&t%1==0}function R(t){return"string"==typeof t}function D(t){return"boolean"==typeof t}function O(t){const i=t;if(!i||"object"!=typeof i)return i;let n,s,e;for(s in n=Array.isArray(i)?[]:{},i)i.hasOwnProperty(s)&&(e=i[s],n[s]=e&&"object"==typeof e?O(e):e);return n}function A(t){return null!==t}function B(t){return null===t?void 0:t}const V="-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif";function z(t,i,n){return void 0===i&&(i=V),`${n=void 0!==n?`${n} `:""}${t}px ${i}`}class E{constructor(t){this.k={C:1,T:5,P:NaN,R:"",D:"",O:"",A:"",B:0,V:0,I:0,L:0,N:0},this.F=t}W(){const t=this.k,i=this.j(),n=this.H();return t.P===i&&t.D===n||(t.P=i,t.D=n,t.R=z(i,n),t.L=2.5/12*i,t.B=t.L,t.V=i/12*t.T,t.I=i/12*t.T,t.N=0),t.O=this.$(),t.A=this.U(),this.k}$(){return this.F.W().layout.textColor}U(){return this.F.q()}j(){return this.F.W().layout.fontSize}H(){return this.F.W().layout.fontFamily}}class I{constructor(){this.Y=[]}X(t){this.Y=t}K(t,i,n){this.Y.forEach((s=>{s.K(t,i,n)}))}}class L{K(t,i,n){t.useMediaCoordinateSpace((t=>this.Z(t,i,n)))}G(t,i,n){t.useMediaCoordinateSpace((t=>this.J(t,i,n)))}J(t,i,n){}}class N extends L{constructor(){super(...arguments),this.tt=null}it(t){this.tt=t}Z({context:t}){if(null===this.tt||null===this.tt.nt)return;const i=this.tt.nt,n=this.tt,s=s=>{t.beginPath();for(let e=i.to-1;e>=i.from;--e){const i=n.st[e];t.moveTo(i.et,i.rt),t.arc(i.et,i.rt,s,0,2*Math.PI)}t.fill()};n.ht>0&&(t.fillStyle=n.lt,s(n.ot+n.ht)),t.fillStyle=n._t,s(n.ot)}}function F(){return{st:[{et:0,rt:0,ut:0,ct:0}],_t:"",lt:"",ot:0,ht:0,nt:null}}const W={from:0,to:1};class j{constructor(t,i){this.dt=new I,this.ft=[],this.vt=[],this.bt=!0,this.F=t,this.wt=i,this.dt.X(this.ft)}gt(t){const i=this.F.Mt();i.length!==this.ft.length&&(this.vt=i.map(F),this.ft=this.vt.map((t=>{const i=new N;return i.it(t),i})),this.dt.X(this.ft)),this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.dt}St(){const t=2===this.wt.W().mode,i=this.F.Mt(),n=this.wt.yt(),s=this.F.kt();i.forEach(((i,e)=>{var r;const h=this.vt[e],l=i.Ct(n);if(t||null===l||!i.Tt())return void(h.nt=null);const a=f(i.Pt());h._t=l.Rt,h.ot=l.ot,h.ht=l.Dt,h.st[0].ct=l.ct,h.st[0].rt=i.At().Ot(l.ct,a.Bt),h.lt=null!==(r=l.Vt)&&void 0!==r?r:this.F.zt(h.st[0].rt/i.At().Et()),h.st[0].ut=n,h.st[0].et=s.It(n),h.nt=W}))}}class H{K(t,i,n){t.useBitmapCoordinateSpace((t=>this.Z(t,i,n)))}}class $ extends H{constructor(t){super(),this.Lt=t}Z({context:t,bitmapSize:i,horizontalPixelRatio:n,verticalPixelRatio:s}){if(null===this.Lt)return;const e=this.Lt.Nt.Tt,r=this.Lt.Ft.Tt;if(!e&&!r)return;const h=Math.round(this.Lt.et*n),l=Math.round(this.Lt.rt*s);t.lineCap="butt",e&&h>=0&&(t.lineWidth=Math.floor(this.Lt.Nt.ht*n),t.strokeStyle=this.Lt.Nt.O,t.fillStyle=this.Lt.Nt.O,_(t,this.Lt.Nt.Wt),function(t,i,n,s){t.beginPath();const e=t.lineWidth%2?.5:0;t.moveTo(i+e,n),t.lineTo(i+e,s),t.stroke()}(t,h,0,i.height)),r&&l>=0&&(t.lineWidth=Math.floor(this.Lt.Ft.ht*s),t.strokeStyle=this.Lt.Ft.O,t.fillStyle=this.Lt.Ft.O,_(t,this.Lt.Ft.Wt),u(t,l,0,i.width))}}class U{constructor(t){this.bt=!0,this.jt={Nt:{ht:1,Wt:0,O:"",Tt:!1},Ft:{ht:1,Wt:0,O:"",Tt:!1},et:0,rt:0},this.Ht=new $(this.jt),this.$t=t}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht}St(){const t=this.$t.Tt(),i=f(this.$t.Ut()),n=i.qt().W().crosshair,s=this.jt;if(2===n.mode)return s.Ft.Tt=!1,void(s.Nt.Tt=!1);s.Ft.Tt=t&&this.$t.Yt(i),s.Nt.Tt=t&&this.$t.Xt(),s.Ft.ht=n.horzLine.width,s.Ft.Wt=n.horzLine.style,s.Ft.O=n.horzLine.color,s.Nt.ht=n.vertLine.width,s.Nt.Wt=n.vertLine.style,s.Nt.O=n.vertLine.color,s.et=this.$t.Kt(),s.rt=this.$t.Zt()}}function q(t,i,n,s,e,r){t.fillRect(i+r,n,s-2*r,r),t.fillRect(i+r,n+e-r,s-2*r,r),t.fillRect(i,n,r,e),t.fillRect(i+s-r,n,r,e)}function Y(t,i,n,s,e,r){t.save(),t.globalCompositeOperation="copy",t.fillStyle=r,t.fillRect(i,n,s,e),t.restore()}function X(t,i){return t.map((t=>0===t?t:t+i))}function K(t,i,n,s,e,r){t.beginPath(),t.lineTo(i+s-r[1],n),0!==r[1]&&t.arcTo(i+s,n,i+s,n+r[1],r[1]),t.lineTo(i+s,n+e-r[2]),0!==r[2]&&t.arcTo(i+s,n+e,i+s-r[2],n+e,r[2]),t.lineTo(i+r[3],n+e),0!==r[3]&&t.arcTo(i,n+e,i,n+e-r[3],r[3]),t.lineTo(i,n+r[0]),0!==r[0]&&t.arcTo(i,n,i+r[0],n,r[0])}function Z(t,i,n,s,e,r,h=0,l=[0,0,0,0],a=""){if(t.save(),!h||!a||a===r)return K(t,i,n,s,e,l),t.fillStyle=r,t.fill(),void t.restore();const o=h/2;if("transparent"!==r){K(t,i+h,n+h,s-2*h,e-2*h,X(l,-h)),t.fillStyle=r,t.fill()}if("transparent"!==a){K(t,i+o,n+o,s-h,e-h,X(l,-o)),t.lineWidth=h,t.strokeStyle=a,t.closePath(),t.stroke()}t.restore()}function G(t,i,n,s,e,r,h){t.save(),t.globalCompositeOperation="copy";const l=t.createLinearGradient(0,0,0,e);l.addColorStop(0,r),l.addColorStop(1,h),t.fillStyle=l,t.fillRect(i,n,s,e),t.restore()}class J{constructor(t,i){this.it(t,i)}it(t,i){this.Lt=t,this.Gt=i}Et(t,i){return this.Lt.Tt?t.P+t.L+t.B:0}K(t,i,n,s){if(!this.Lt.Tt||0===this.Lt.Jt.length)return;const e=this.Lt.O,r=this.Gt.t,h=t.useBitmapCoordinateSpace((t=>{const h=t.context;h.font=i.R;const l=this.Qt(t,i,n,s),a=l.ti,o=(t,i)=>{l.ii?Z(h,a.ni,a.si,a.ei,a.ri,t,a.hi,[a.ot,0,0,a.ot],i):Z(h,a.li,a.si,a.ei,a.ri,t,a.hi,[0,a.ot,a.ot,0],i)};return o(r,"transparent"),this.Lt.ai&&(h.fillStyle=e,h.fillRect(a.li,a.oi,a._i-a.li,a.ui)),o("transparent",r),this.Lt.ci&&(h.fillStyle=i.A,h.fillRect(l.ii?a.di-a.hi:0,a.si,a.hi,a.fi-a.si)),l}));t.useMediaCoordinateSpace((({context:t})=>{const n=h.vi;t.font=i.R,t.textAlign=h.ii?"right":"left",t.textBaseline="middle",t.fillStyle=e,t.fillText(this.Lt.Jt,n.pi,(n.si+n.fi)/2+n.mi)}))}Qt(t,i,n,s){var e;const{context:r,bitmapSize:h,mediaSize:l,horizontalPixelRatio:a,verticalPixelRatio:o}=t,_=this.Lt.ai||!this.Lt.bi?i.T:0,u=this.Lt.wi?i.C:0,c=i.L+this.Gt.gi,d=i.B+this.Gt.Mi,f=i.V,v=i.I,p=this.Lt.Jt,m=i.P,b=n.xi(r,p),w=Math.ceil(n.Si(r,p)),g=m+c+d,M=i.C+f+v+w+_,x=Math.max(1,Math.floor(o));let S=Math.round(g*o);S%2!=x%2&&(S+=1);const y=u>0?Math.max(1,Math.floor(u*a)):0,k=Math.round(M*a),C=Math.round(_*a),T=null!==(e=this.Gt.yi)&&void 0!==e?e:this.Gt.ki,P=Math.round(T*o)-Math.floor(.5*o),R=Math.floor(P+x/2-S/2),D=R+S,O="right"===s,A=O?l.width-u:u,B=O?h.width-y:y;let V,z,E;return O?(V=B-k,z=B-C,E=A-_-f-u):(V=B+k,z=B+C,E=A+_+f),{ii:O,ti:{si:R,oi:P,fi:D,ei:k,ri:S,ot:2*a,hi:y,ni:V,li:B,_i:z,ui:x,di:h.width},vi:{si:R/o,fi:D/o,pi:E,mi:b}}}}class Q{constructor(t){this.Ci={ki:0,t:"#000",Mi:0,gi:0},this.Ti={Jt:"",Tt:!1,ai:!0,bi:!1,Vt:"",O:"#FFF",ci:!1,wi:!1},this.Pi={Jt:"",Tt:!1,ai:!1,bi:!0,Vt:"",O:"#FFF",ci:!0,wi:!0},this.bt=!0,this.Ri=new(t||J)(this.Ti,this.Ci),this.Di=new(t||J)(this.Pi,this.Ci)}Jt(){return this.Oi(),this.Ti.Jt}ki(){return this.Oi(),this.Ci.ki}gt(){this.bt=!0}Et(t,i=!1){return Math.max(this.Ri.Et(t,i),this.Di.Et(t,i))}Ai(){return this.Ci.yi||0}Bi(t){this.Ci.yi=t}Vi(){return this.Oi(),this.Ti.Tt||this.Pi.Tt}zi(){return this.Oi(),this.Ti.Tt}xt(t){return this.Oi(),this.Ti.ai=this.Ti.ai&&t.W().ticksVisible,this.Pi.ai=this.Pi.ai&&t.W().ticksVisible,this.Ri.it(this.Ti,this.Ci),this.Di.it(this.Pi,this.Ci),this.Ri}Ei(){return this.Oi(),this.Ri.it(this.Ti,this.Ci),this.Di.it(this.Pi,this.Ci),this.Di}Oi(){this.bt&&(this.Ti.ai=!0,this.Pi.ai=!1,this.Ii(this.Ti,this.Pi,this.Ci))}}class tt extends Q{constructor(t,i,n){super(),this.$t=t,this.Li=i,this.Ni=n}Ii(t,i,n){if(t.Tt=!1,2===this.$t.W().mode)return;const s=this.$t.W().horzLine;if(!s.labelVisible)return;const e=this.Li.Pt();if(!this.$t.Tt()||this.Li.Fi()||null===e)return;const r=y(s.labelBackgroundColor);n.t=r.t,t.O=r.i;const h=2/12*this.Li.P();n.gi=h,n.Mi=h;const l=this.Ni(this.Li);n.ki=l.ki,t.Jt=this.Li.Wi(l.ct,e),t.Tt=!0}}const it=/[1-9]/g;class nt{constructor(){this.Lt=null}it(t){this.Lt=t}K(t,i){if(null===this.Lt||!1===this.Lt.Tt||0===this.Lt.Jt.length)return;const n=t.useMediaCoordinateSpace((({context:t})=>(t.font=i.R,Math.round(i.ji.Si(t,f(this.Lt).Jt,it)))));if(n<=0)return;const s=i.Hi,e=n+2*s,r=e/2,h=this.Lt.$i;let l=this.Lt.ki,a=Math.floor(l-r)+.5;a<0?(l+=Math.abs(0-a),a=Math.floor(l-r)+.5):a+e>h&&(l-=Math.abs(h-(a+e)),a=Math.floor(l-r)+.5);const o=a+e,_=Math.ceil(0+i.C+i.T+i.L+i.P+i.B);t.useBitmapCoordinateSpace((({context:t,horizontalPixelRatio:n,verticalPixelRatio:s})=>{const e=f(this.Lt);t.fillStyle=e.t;const r=Math.round(a*n),h=Math.round(0*s),l=Math.round(o*n),u=Math.round(_*s),c=Math.round(2*n);if(t.beginPath(),t.moveTo(r,h),t.lineTo(r,u-c),t.arcTo(r,u,r+c,u,c),t.lineTo(l-c,u),t.arcTo(l,u,l,u-c,c),t.lineTo(l,h),t.fill(),e.ai){const r=Math.round(e.ki*n),l=h,a=Math.round((l+i.T)*s);t.fillStyle=e.O;const o=Math.max(1,Math.floor(n)),_=Math.floor(.5*n);t.fillRect(r-_,l,o,a-l)}})),t.useMediaCoordinateSpace((({context:t})=>{const n=f(this.Lt),e=0+i.C+i.T+i.L+i.P/2;t.font=i.R,t.textAlign="left",t.textBaseline="middle",t.fillStyle=n.O;const r=i.ji.xi(t,"Apr0");t.translate(a+s,e+r),t.fillText(n.Jt,0,0)}))}}class st{constructor(t,i,n){this.bt=!0,this.Ht=new nt,this.jt={Tt:!1,t:"#4c525e",O:"white",Jt:"",$i:0,ki:NaN,ai:!0},this.wt=t,this.Ui=i,this.Ni=n}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht.it(this.jt),this.Ht}St(){const t=this.jt;if(t.Tt=!1,2===this.wt.W().mode)return;const i=this.wt.W().vertLine;if(!i.labelVisible)return;const n=this.Ui.kt();if(n.Fi())return;t.$i=n.$i();const s=this.Ni();if(null===s)return;t.ki=s.ki;const e=n.qi(this.wt.yt());t.Jt=n.Yi(f(e)),t.Tt=!0;const r=y(i.labelBackgroundColor);t.t=r.t,t.O=r.i,t.ai=n.W().ticksVisible}}class et{constructor(){this.Xi=null,this.Ki=0}Zi(){return this.Ki}Gi(t){this.Ki=t}At(){return this.Xi}Ji(t){this.Xi=t}Qi(t){return[]}tn(){return[]}Tt(){return!0}}var rt;!function(t){t[t.Normal=0]="Normal",t[t.Magnet=1]="Magnet",t[t.Hidden=2]="Hidden"}(rt||(rt={}));class ht extends et{constructor(t,i){super(),this.nn=null,this.sn=NaN,this.en=0,this.rn=!0,this.hn=new Map,this.ln=!1,this.an=NaN,this.on=NaN,this._n=NaN,this.un=NaN,this.Ui=t,this.cn=i,this.dn=new j(t,this);this.fn=((t,i)=>n=>{const s=i(),e=t();if(n===f(this.nn).vn())return{ct:e,ki:s};{const t=f(n.Pt());return{ct:n.pn(s,t),ki:s}}})((()=>this.sn),(()=>this.on));const n=((t,i)=>()=>{const n=this.Ui.kt().mn(t()),s=i();return n&&Number.isFinite(s)?{ut:n,ki:s}:null})((()=>this.en),(()=>this.Kt()));this.bn=new st(this,t,n),this.wn=new U(this)}W(){return this.cn}gn(t,i){this._n=t,this.un=i}Mn(){this._n=NaN,this.un=NaN}xn(){return this._n}Sn(){return this.un}yn(t,i,n){this.ln||(this.ln=!0),this.rn=!0,this.kn(t,i,n)}yt(){return this.en}Kt(){return this.an}Zt(){return this.on}Tt(){return this.rn}Cn(){this.rn=!1,this.Tn(),this.sn=NaN,this.an=NaN,this.on=NaN,this.nn=null,this.Mn()}Pn(t){return null!==this.nn?[this.wn,this.dn]:[]}Yt(t){return t===this.nn&&this.cn.horzLine.visible}Xt(){return this.cn.vertLine.visible}Rn(t,i){this.rn&&this.nn===t||this.hn.clear();const n=[];return this.nn===t&&n.push(this.Dn(this.hn,i,this.fn)),n}tn(){return this.rn?[this.bn]:[]}Ut(){return this.nn}On(){this.wn.gt(),this.hn.forEach((t=>t.gt())),this.bn.gt(),this.dn.gt()}An(t){return t&&!t.vn().Fi()?t.vn():null}kn(t,i,n){this.Bn(t,i,n)&&this.On()}Bn(t,i,n){const s=this.an,e=this.on,r=this.sn,h=this.en,l=this.nn,a=this.An(n);this.en=t,this.an=isNaN(t)?NaN:this.Ui.kt().It(t),this.nn=n;const o=null!==a?a.Pt():null;return null!==a&&null!==o?(this.sn=i,this.on=a.Ot(i,o)):(this.sn=NaN,this.on=NaN),s!==this.an||e!==this.on||h!==this.en||r!==this.sn||l!==this.nn}Tn(){const t=this.Ui.Mt().map((t=>t.zn().Vn())).filter(A),i=0===t.length?null:Math.max(...t);this.en=null!==i?i:NaN}Dn(t,i,n){let s=t.get(i);return void 0===s&&(s=new tt(this,i,n),t.set(i,s)),s}}function lt(t){return"left"===t||"right"===t}class at{constructor(t){this.En=new Map,this.In=[],this.Ln=t}Nn(t,i){const n=function(t,i){return void 0===t?i:{Fn:Math.max(t.Fn,i.Fn),Wn:t.Wn||i.Wn}}(this.En.get(t),i);this.En.set(t,n)}jn(){return this.Ln}Hn(t){const i=this.En.get(t);return void 0===i?{Fn:this.Ln}:{Fn:Math.max(this.Ln,i.Fn),Wn:i.Wn}}$n(){this.Un(),this.In=[{qn:0}]}Yn(t){this.Un(),this.In=[{qn:1,Bt:t}]}Xn(t){this.Kn(),this.In.push({qn:5,Bt:t})}Un(){this.Kn(),this.In.push({qn:6})}Zn(){this.Un(),this.In=[{qn:4}]}Gn(t){this.Un(),this.In.push({qn:2,Bt:t})}Jn(t){this.Un(),this.In.push({qn:3,Bt:t})}Qn(){return this.In}ts(t){for(const i of t.In)this.ns(i);this.Ln=Math.max(this.Ln,t.Ln),t.En.forEach(((t,i)=>{this.Nn(i,t)}))}static ss(){return new at(2)}static es(){return new at(3)}ns(t){switch(t.qn){case 0:this.$n();break;case 1:this.Yn(t.Bt);break;case 2:this.Gn(t.Bt);break;case 3:this.Jn(t.Bt);break;case 4:this.Zn();break;case 5:this.Xn(t.Bt);break;case 6:this.Kn()}}Kn(){const t=this.In.findIndex((t=>5===t.qn));-1!==t&&this.In.splice(t,1)}}const ot=".";function _t(t,i){if(!T(t))return"n/a";if(!P(i))throw new TypeError("invalid length");if(i<0||i>16)throw new TypeError("invalid length");if(0===i)return t.toString();return("0000000000000000"+t.toString()).slice(-i)}class ut{constructor(t,i){if(i||(i=1),T(t)&&P(t)||(t=100),t<0)throw new TypeError("invalid base");this.Li=t,this.rs=i,this.hs()}format(t){const i=t<0?"−":"";return t=Math.abs(t),i+this.ls(t)}hs(){if(this.os=0,this.Li>0&&this.rs>0){let t=this.Li;for(;t>1;)t/=10,this.os++}}ls(t){const i=this.Li/this.rs;let n=Math.floor(t),s="";const e=void 0!==this.os?this.os:NaN;if(i>1){let r=+(Math.round(t*i)-n*i).toFixed(this.os);r>=i&&(r-=i,n+=1),s=ot+_t(+r.toFixed(this.os)*this.rs,e)}else n=Math.round(n*i)/i,e>0&&(s=ot+_t(0,e));return n.toFixed(0)+s}}class ct extends ut{constructor(t=100){super(t)}format(t){return`${super.format(t)}%`}}class dt{constructor(t){this._s=t}format(t){let i="";return t<0&&(i="-",t=-t),t<995?i+this.us(t):t<999995?i+this.us(t/1e3)+"K":t<999999995?(t=1e3*Math.round(t/1e3),i+this.us(t/1e6)+"M"):(t=1e6*Math.round(t/1e6),i+this.us(t/1e9)+"B")}us(t){let i;const n=Math.pow(10,this._s);return i=(t=Math.round(t*n)/n)>=1e-15&&t<1?t.toFixed(this._s).replace(/\.?0+$/,""):String(t),i.replace(/(\.[1-9]*)0+$/,((t,i)=>i))}}function ft(t,i,n,s,e,r,h){if(0===i.length||s.from>=i.length||s.to<=0)return;const{context:l,horizontalPixelRatio:a,verticalPixelRatio:o}=t,_=i[s.from];let u=r(t,_),c=_;if(s.to-s.from<2){const i=e/2;l.beginPath();const n={et:_.et-i,rt:_.rt},s={et:_.et+i,rt:_.rt};l.moveTo(n.et*a,n.rt*o),l.lineTo(s.et*a,s.rt*o),h(t,u,n,s)}else{const e=(i,n)=>{h(t,u,c,n),l.beginPath(),u=i,c=n};let d=c;l.beginPath(),l.moveTo(_.et*a,_.rt*o);for(let h=s.from+1;h=s.from;--n){const s=i[n];if(s){const i=e(t,s);i!==a&&(l.beginPath(),null!==a&&l.fill(),l.fillStyle=i,a=i);const n=Math.round(s.et*r)+o,u=s.rt*h;l.moveTo(n,u),l.arc(n,u,_,0,2*Math.PI)}}l.fill()}(t,i,l,n,o)}}class Pt extends Tt{Ds(t,i){return i._t}}function Rt(t,i,n,s,e=0,r=i.length){let h=r-e;for(;0>1,l=e+r;s(i[l],n)===t?(e=l+1,h-=r+1):h=r}return e}const Dt=Rt.bind(null,!0),Ot=Rt.bind(null,!1);function At(t,i){return t.ut0&&r=s&&(l=r-1),h>0&&hObject.assign(Object.assign({},t),this.Is.$s().Hs(t.ut))))}Us(){this.Es=null}Fs(){this.Bs&&(this.qs(),this.Bs=!1),this.Vs&&(this.js(),this.Vs=!1),this.As&&(this.Ys(),this.As=!1)}Ys(){const t=this.Is.At(),i=this.Ls.kt();if(this.Us(),i.Fi()||t.Fi())return;const n=i.Xs();if(null===n)return;if(0===this.Is.zn().Ks())return;const s=this.Is.Pt();null!==s&&(this.Es=Vt(this.zs,n,this.Ns),this.Zs(t,i,s.Bt),this.Gs())}}class Et extends zt{constructor(t,i){super(t,i,!0)}Zs(t,i,n){i.Js(this.zs,B(this.Es)),t.Qs(this.zs,n,B(this.Es))}te(t,i){return{ut:t,ct:i,et:NaN,rt:NaN}}qs(){const t=this.Is.$s();this.zs=this.Is.zn().ie().map((i=>{const n=i.Bt[3];return this.ne(i.se,n,t)}))}}class It extends Et{constructor(t,i){super(t,i),this.Ws=new I,this.ee=new kt,this.re=new Pt,this.Ws.X([this.ee,this.re])}ne(t,i,n){return Object.assign(Object.assign({},this.te(t,i)),n.Hs(t))}Gs(){const t=this.Is.W();this.ee.it({ds:t.lineType,st:this.zs,Wt:t.lineStyle,ht:t.lineWidth,fs:null,vs:t.invertFilledArea,nt:this.Es,cs:this.Ls.kt().he()}),this.re.it({ds:t.lineVisible?t.lineType:void 0,st:this.zs,Wt:t.lineStyle,ht:t.lineWidth,nt:this.Es,cs:this.Ls.kt().he(),Rs:t.pointMarkersVisible?t.pointMarkersRadius||t.lineWidth/2+2:void 0})}}class Lt extends H{constructor(){super(...arguments),this.Lt=null,this.le=0,this.ae=0}it(t){this.Lt=t}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){if(null===this.Lt||0===this.Lt.zn.length||null===this.Lt.nt)return;if(this.le=this.oe(i),this.le>=2){Math.max(1,Math.floor(i))%2!=this.le%2&&this.le--}this.ae=this.Lt._e?Math.min(this.le,Math.floor(i)):this.le;let s=null;const e=this.ae<=this.le&&this.Lt.he>=Math.floor(1.5*i);for(let r=this.Lt.nt.from;rf+p-1&&(e=f+p-1,s=e-_+1),t.fillRect(i,s,o-i,e-s+1)}const i=a+m;let s=Math.max(f,Math.round(h.pe*n)-l),e=s+_-1;e>f+p-1&&(e=f+p-1,s=e-_+1),t.fillRect(u+1,s,i-u,e-s+1)}}}oe(t){const i=Math.floor(t);return Math.max(i,Math.floor(function(t,i){return Math.floor(.3*t*i)}(f(this.Lt).he,t)))}}class Nt extends zt{constructor(t,i){super(t,i,!1)}Zs(t,i,n){i.Js(this.zs,B(this.Es)),t.me(this.zs,n,B(this.Es))}be(t,i,n){return{ut:t,we:i.Bt[0],ge:i.Bt[1],Me:i.Bt[2],xe:i.Bt[3],et:NaN,ve:NaN,ce:NaN,de:NaN,pe:NaN}}qs(){const t=this.Is.$s();this.zs=this.Is.zn().ie().map((i=>this.ne(i.se,i,t)))}}class Ft extends Nt{constructor(){super(...arguments),this.Ws=new Lt}ne(t,i,n){return Object.assign(Object.assign({},this.be(t,i,n)),n.Hs(t))}Gs(){const t=this.Is.W();this.Ws.it({zn:this.zs,he:this.Ls.kt().he(),fe:t.openVisible,_e:t.thinBars,nt:this.Es})}}class Wt extends gt{constructor(){super(...arguments),this.Cs=new yt}ps(t,i){const n=this.tt;return this.Cs.bs(t,{gs:i.Se,Ms:i.ye,xs:i.ke,Ss:i.Ce,ys:t.bitmapSize.height,fs:n.fs})}}class jt extends Tt{constructor(){super(...arguments),this.Te=new yt}Ds(t,i){const n=this.tt;return this.Te.bs(t,{gs:i.Pe,Ms:i.Pe,xs:i.Re,Ss:i.Re,ys:t.bitmapSize.height,fs:n.fs})}}class Ht extends Et{constructor(t,i){super(t,i),this.Ws=new I,this.De=new Wt,this.Oe=new jt,this.Ws.X([this.De,this.Oe])}ne(t,i,n){return Object.assign(Object.assign({},this.te(t,i)),n.Hs(t))}Gs(){const t=this.Is.Pt();if(null===t)return;const i=this.Is.W(),n=this.Is.At().Ot(i.baseValue.price,t.Bt),s=this.Ls.kt().he();this.De.it({st:this.zs,ht:i.lineWidth,Wt:i.lineStyle,ds:i.lineType,fs:n,vs:!1,nt:this.Es,cs:s}),this.Oe.it({st:this.zs,ht:i.lineWidth,Wt:i.lineStyle,ds:i.lineVisible?i.lineType:void 0,Rs:i.pointMarkersVisible?i.pointMarkersRadius||i.lineWidth/2+2:void 0,fs:n,nt:this.Es,cs:s})}}class $t extends H{constructor(){super(...arguments),this.Lt=null,this.le=0}it(t){this.Lt=t}Z(t){if(null===this.Lt||0===this.Lt.zn.length||null===this.Lt.nt)return;const{horizontalPixelRatio:i}=t;if(this.le=function(t,i){if(t>=2.5&&t<=4)return Math.floor(3*i);const n=1-.2*Math.atan(Math.max(4,t)-4)/(.5*Math.PI),s=Math.floor(t*n*i),e=Math.floor(t*i),r=Math.min(s,e);return Math.max(Math.floor(i),r)}(this.Lt.he,i),this.le>=2){Math.floor(i)%2!=this.le%2&&this.le--}const n=this.Lt.zn;this.Lt.Ae&&this.Be(t,n,this.Lt.nt),this.Lt.ci&&this.Ve(t,n,this.Lt.nt);const s=this.ze(i);(!this.Lt.ci||this.le>2*s)&&this.Ee(t,n,this.Lt.nt)}Be(t,i,n){if(null===this.Lt)return;const{context:s,horizontalPixelRatio:e,verticalPixelRatio:r}=t;let h="",l=Math.min(Math.floor(e),Math.floor(this.Lt.he*e));l=Math.max(Math.floor(e),Math.min(l,this.le));const a=Math.floor(.5*l);let o=null;for(let t=n.from;t2*l)q(s,o,u,_-o+1,c-u+1,l);else{const t=_-o+1;s.fillRect(o,u,t,c-u+1)}a=_}}Ee(t,i,n){if(null===this.Lt)return;const{context:s,horizontalPixelRatio:e,verticalPixelRatio:r}=t;let h="";const l=this.ze(e);for(let t=n.from;to||s.fillRect(_,a,u-_+1,o-a+1)}}}class Ut extends Nt{constructor(){super(...arguments),this.Ws=new $t}ne(t,i,n){return Object.assign(Object.assign({},this.be(t,i,n)),n.Hs(t))}Gs(){const t=this.Is.W();this.Ws.it({zn:this.zs,he:this.Ls.kt().he(),Ae:t.wickVisible,ci:t.borderVisible,nt:this.Es})}}class qt{constructor(t,i){this.Ne=t,this.Li=i}K(t,i,n){this.Ne.draw(t,this.Li,i,n)}}class Yt extends zt{constructor(t,i,n){super(t,i,!1),this.wn=n,this.Ws=new qt(this.wn.renderer(),(i=>{const n=t.Pt();return null===n?null:t.At().Ot(i,n.Bt)}))}Fe(t){return this.wn.priceValueBuilder(t)}We(t){return this.wn.isWhitespace(t)}qs(){const t=this.Is.$s();this.zs=this.Is.zn().ie().map((i=>Object.assign(Object.assign({ut:i.se,et:NaN},t.Hs(i.se)),{je:i.He})))}Zs(t,i){i.Js(this.zs,B(this.Es))}Gs(){this.wn.update({bars:this.zs.map(Xt),barSpacing:this.Ls.kt().he(),visibleRange:this.Es},this.Is.W())}}function Xt(t){return{x:t.et,time:t.ut,originalData:t.je,barColor:t.ue}}class Kt extends H{constructor(){super(...arguments),this.Lt=null,this.$e=[]}it(t){this.Lt=t,this.$e=[]}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){if(null===this.Lt||0===this.Lt.st.length||null===this.Lt.nt)return;this.$e.length||this.Ue(i);const s=Math.max(1,Math.floor(n)),e=Math.round(this.Lt.qe*n)-Math.floor(s/2),r=e+s;for(let i=this.Lt.nt.from;is.Xe?s.di=n.Os-i-1:n.Os=s.di+i+1))}let s=Math.ceil(this.Lt.he*t);for(let t=this.Lt.nt.from;t0&&s<4)for(let t=this.Lt.nt.from;ts&&(i.Ye>i.Xe?i.di-=1:i.Os+=1)}}}class Zt extends Et{constructor(){super(...arguments),this.Ws=new Kt}ne(t,i,n){return Object.assign(Object.assign({},this.te(t,i)),n.Hs(t))}Gs(){const t={st:this.zs,he:this.Ls.kt().he(),nt:this.Es,qe:this.Is.At().Ot(this.Is.W().base,f(this.Is.Pt()).Bt)};this.Ws.it(t)}}class Gt extends Et{constructor(){super(...arguments),this.Ws=new Pt}ne(t,i,n){return Object.assign(Object.assign({},this.te(t,i)),n.Hs(t))}Gs(){const t=this.Is.W(),i={st:this.zs,Wt:t.lineStyle,ds:t.lineVisible?t.lineType:void 0,ht:t.lineWidth,Rs:t.pointMarkersVisible?t.pointMarkersRadius||t.lineWidth/2+2:void 0,nt:this.Es,cs:this.Ls.kt().he()};this.Ws.it(i)}}const Jt=/[2-9]/g;class Qt{constructor(t=50){this.Ke=0,this.Ze=1,this.Ge=1,this.Je={},this.Qe=new Map,this.tr=t}ir(){this.Ke=0,this.Qe.clear(),this.Ze=1,this.Ge=1,this.Je={}}Si(t,i,n){return this.nr(t,i,n).width}xi(t,i,n){const s=this.nr(t,i,n);return((s.actualBoundingBoxAscent||0)-(s.actualBoundingBoxDescent||0))/2}nr(t,i,n){const s=n||Jt,e=String(i).replace(s,"0");if(this.Qe.has(e))return d(this.Qe.get(e)).sr;if(this.Ke===this.tr){const t=this.Je[this.Ge];delete this.Je[this.Ge],this.Qe.delete(t),this.Ge++,this.Ke--}t.save(),t.textBaseline="middle";const r=t.measureText(e);return t.restore(),0===r.width&&i.length||(this.Qe.set(e,{sr:r,er:this.Ze}),this.Je[this.Ze]=e,this.Ke++,this.Ze++),r}}class ti{constructor(t){this.rr=null,this.k=null,this.hr="right",this.lr=t}ar(t,i,n){this.rr=t,this.k=i,this.hr=n}K(t){null!==this.k&&null!==this.rr&&this.rr.K(t,this.k,this.lr,this.hr)}}class ii{constructor(t,i,n){this._r=t,this.lr=new Qt(50),this.ur=i,this.F=n,this.j=-1,this.Ht=new ti(this.lr)}xt(){const t=this.F.cr(this.ur);if(null===t)return null;const i=t.dr(this.ur)?t.vr():this.ur.At();if(null===i)return null;const n=t.pr(i);if("overlay"===n)return null;const s=this.F.mr();return s.P!==this.j&&(this.j=s.P,this.lr.ir()),this.Ht.ar(this._r.Ei(),s,n),this.Ht}}class ni extends H{constructor(){super(...arguments),this.Lt=null}it(t){this.Lt=t}br(t,i){var n;if(!(null===(n=this.Lt)||void 0===n?void 0:n.Tt))return null;const{rt:s,ht:e,wr:r}=this.Lt;return i>=s-e-7&&i<=s+e+7?{gr:this.Lt,wr:r}:null}Z({context:t,bitmapSize:i,horizontalPixelRatio:n,verticalPixelRatio:s}){if(null===this.Lt)return;if(!1===this.Lt.Tt)return;const e=Math.round(this.Lt.rt*s);e<0||e>i.height||(t.lineCap="butt",t.strokeStyle=this.Lt.O,t.lineWidth=Math.floor(this.Lt.ht*n),_(t,this.Lt.Wt),u(t,e,0,i.width))}}class si{constructor(t){this.Mr={rt:0,O:"rgba(0, 0, 0, 0)",ht:1,Wt:0,Tt:!1},this.Sr=new ni,this.bt=!0,this.Is=t,this.Ls=t.qt(),this.Sr.it(this.Mr)}gt(){this.bt=!0}xt(){return this.Is.Tt()?(this.bt&&(this.yr(),this.bt=!1),this.Sr):null}}class ei extends si{constructor(t){super(t)}yr(){this.Mr.Tt=!1;const t=this.Is.At(),i=t.kr().kr;if(2!==i&&3!==i)return;const n=this.Is.W();if(!n.baseLineVisible||!this.Is.Tt())return;const s=this.Is.Pt();null!==s&&(this.Mr.Tt=!0,this.Mr.rt=t.Ot(s.Bt,s.Bt),this.Mr.O=n.baseLineColor,this.Mr.ht=n.baseLineWidth,this.Mr.Wt=n.baseLineStyle)}}class ri extends H{constructor(){super(...arguments),this.Lt=null}it(t){this.Lt=t}He(){return this.Lt}Z({context:t,horizontalPixelRatio:i,verticalPixelRatio:n}){const s=this.Lt;if(null===s)return;const e=Math.max(1,Math.floor(i)),r=e%2/2,h=Math.round(s.Xe.x*i)+r,l=s.Xe.y*n;t.fillStyle=s.Cr,t.beginPath();const a=Math.max(2,1.5*s.Tr)*i;t.arc(h,l,a,0,2*Math.PI,!1),t.fill(),t.fillStyle=s.Pr,t.beginPath(),t.arc(h,l,s.ot*i,0,2*Math.PI,!1),t.fill(),t.lineWidth=e,t.strokeStyle=s.Rr,t.beginPath(),t.arc(h,l,s.ot*i+e/2,0,2*Math.PI,!1),t.stroke()}}const hi=[{Dr:0,Or:.25,Ar:4,Br:10,Vr:.25,zr:0,Er:.4,Ir:.8},{Dr:.25,Or:.525,Ar:10,Br:14,Vr:0,zr:0,Er:.8,Ir:0},{Dr:.525,Or:1,Ar:14,Br:14,Vr:0,zr:0,Er:0,Ir:0}];function li(t,i,n,s){return function(t,i){if("transparent"===t)return t;const n=S(t),s=n[3];return`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${i*s})`}(t,n+(s-n)*i)}function ai(t,i){const n=t%2600/2600;let s;for(const t of hi)if(n>=t.Dr&&n<=t.Or){s=t;break}c(void 0!==s,"Last price animation internal logic error");const e=(n-s.Dr)/(s.Or-s.Dr);return{Pr:li(i,e,s.Vr,s.zr),Rr:li(i,e,s.Er,s.Ir),ot:(r=e,h=s.Ar,l=s.Br,h+(l-h)*r)};var r,h,l}class oi{constructor(t){this.Ht=new ri,this.bt=!0,this.Lr=!0,this.Nr=performance.now(),this.Fr=this.Nr-1,this.Wr=t}jr(){this.Fr=this.Nr-1,this.gt()}Hr(){if(this.gt(),2===this.Wr.W().lastPriceAnimation){const t=performance.now(),i=this.Fr-t;if(i>0)return void(i<650&&(this.Fr+=2600));this.Nr=t,this.Fr=t+2600}}gt(){this.bt=!0}$r(){this.Lr=!0}Tt(){return 0!==this.Wr.W().lastPriceAnimation}Ur(){switch(this.Wr.W().lastPriceAnimation){case 0:return!1;case 1:return!0;case 2:return performance.now()<=this.Fr}}xt(){return this.bt?(this.St(),this.bt=!1,this.Lr=!1):this.Lr&&(this.qr(),this.Lr=!1),this.Ht}St(){this.Ht.it(null);const t=this.Wr.qt().kt(),i=t.Xs(),n=this.Wr.Pt();if(null===i||null===n)return;const s=this.Wr.Yr(!0);if(s.Xr||!i.Kr(s.se))return;const e={x:t.It(s.se),y:this.Wr.At().Ot(s.ct,n.Bt)},r=s.O,h=this.Wr.W().lineWidth,l=ai(this.Zr(),r);this.Ht.it({Cr:r,Tr:h,Pr:l.Pr,Rr:l.Rr,ot:l.ot,Xe:e})}qr(){const t=this.Ht.He();if(null!==t){const i=ai(this.Zr(),t.Cr);t.Pr=i.Pr,t.Rr=i.Rr,t.ot=i.ot}}Zr(){return this.Ur()?performance.now()-this.Nr:2599}}function _i(t,i){return St(Math.min(Math.max(t,12),30)*i)}function ui(t,i){switch(t){case"arrowDown":case"arrowUp":return _i(i,1);case"circle":return _i(i,.8);case"square":return _i(i,.7)}}function ci(t){return function(t){const i=Math.ceil(t);return i%2!=0?i-1:i}(_i(t,1))}function di(t){return Math.max(_i(t,.1),3)}function fi(t,i,n,s,e){const r=ui("square",n),h=(r-1)/2,l=t-h,a=i-h;return s>=l&&s<=l+r&&e>=a&&e<=a+r}function vi(t,i,n,s,e){const r=(ui("arrowUp",e)-1)/2,h=(St(e/2)-1)/2;i.beginPath(),t?(i.moveTo(n-r,s),i.lineTo(n,s-r),i.lineTo(n+r,s),i.lineTo(n+h,s),i.lineTo(n+h,s+r),i.lineTo(n-h,s+r),i.lineTo(n-h,s)):(i.moveTo(n-r,s),i.lineTo(n,s+r),i.lineTo(n+r,s),i.lineTo(n+h,s),i.lineTo(n+h,s-r),i.lineTo(n-h,s-r),i.lineTo(n-h,s)),i.fill()}function pi(t,i,n,s,e,r){return fi(i,n,s,e,r)}class mi extends L{constructor(){super(...arguments),this.Lt=null,this.lr=new Qt,this.j=-1,this.H="",this.Gr=""}it(t){this.Lt=t}ar(t,i){this.j===t&&this.H===i||(this.j=t,this.H=i,this.Gr=z(t,i),this.lr.ir())}br(t,i){if(null===this.Lt||null===this.Lt.nt)return null;for(let n=this.Lt.nt.from;n=t&&e<=t+n&&r>=i-h&&r<=i+h}(t.Jt.et,t.Jt.rt,t.Jt.$i,t.Jt.Et,i,n))||function(t,i,n){if(0===t.Ks)return!1;switch(t.th){case"arrowDown":case"arrowUp":return pi(0,t.et,t.rt,t.Ks,i,n);case"circle":return function(t,i,n,s,e){const r=2+ui("circle",n)/2,h=t-s,l=i-e;return Math.sqrt(h*h+l*l)<=r}(t.et,t.rt,t.Ks,i,n);case"square":return fi(t.et,t.rt,t.Ks,i,n)}}(t,i,n)}function gi(t,i,n,s,e,r,h,l,a){const o=T(n)?n:n.xe,_=T(n)?n:n.ge,u=T(n)?n:n.Me,c=T(i.size)?Math.max(i.size,0):1,d=ci(l.he())*c,f=d/2;switch(t.Ks=d,i.position){case"inBar":return t.rt=h.Ot(o,a),void(void 0!==t.Jt&&(t.Jt.rt=t.rt+f+r+.6*e));case"aboveBar":return t.rt=h.Ot(_,a)-f-s.ih,void 0!==t.Jt&&(t.Jt.rt=t.rt-f-.6*e,s.ih+=1.2*e),void(s.ih+=d+r);case"belowBar":return t.rt=h.Ot(u,a)+f+s.nh,void 0!==t.Jt&&(t.Jt.rt=t.rt+f+r+.6*e,s.nh+=1.2*e),void(s.nh+=d+r)}i.position}class Mi{constructor(t,i){this.bt=!0,this.sh=!0,this.eh=!0,this.rh=null,this.Ht=new mi,this.Wr=t,this.Ui=i,this.Lt={st:[],nt:null}}gt(t){this.bt=!0,this.eh=!0,"data"===t&&(this.sh=!0)}xt(t){if(!this.Wr.Tt())return null;this.bt&&this.hh();const i=this.Ui.W().layout;return this.Ht.ar(i.fontSize,i.fontFamily),this.Ht.it(this.Lt),this.Ht}lh(){if(this.eh){if(this.Wr.ah().length>0){const t=this.Ui.kt().he(),i=di(t),n=1.5*ci(t)+2*i;this.rh={above:n,below:n}}else this.rh=null;this.eh=!1}return this.rh}hh(){const t=this.Wr.At(),i=this.Ui.kt(),n=this.Wr.ah();this.sh&&(this.Lt.st=n.map((t=>({ut:t.time,et:0,rt:0,Ks:0,th:t.shape,O:t.color,Jr:t.Jr,wr:t.id,Jt:void 0}))),this.sh=!1);const s=this.Ui.W().layout;this.Lt.nt=null;const e=i.Xs();if(null===e)return;const r=this.Wr.Pt();if(null===r)return;if(0===this.Lt.st.length)return;let h=NaN;const l=di(i.he()),a={ih:l,nh:l};this.Lt.nt=Vt(this.Lt.st,e,!0);for(let e=this.Lt.nt.from;e0&&(_.Jt={Qr:o.text,et:0,rt:0,$i:0,Et:0});const u=this.Wr.oh(o.time);null!==u&&gi(_,o,u,a,s.fontSize,l,t,i,r.Bt)}this.bt=!1}}class xi extends si{constructor(t){super(t)}yr(){const t=this.Mr;t.Tt=!1;const i=this.Is.W();if(!i.priceLineVisible||!this.Is.Tt())return;const n=this.Is.Yr(0===i.priceLineSource);n.Xr||(t.Tt=!0,t.rt=n.ki,t.O=this.Is._h(n.O),t.ht=i.priceLineWidth,t.Wt=i.priceLineStyle)}}class Si extends Q{constructor(t){super(),this.$t=t}Ii(t,i,n){t.Tt=!1,i.Tt=!1;const s=this.$t;if(!s.Tt())return;const e=s.W(),r=e.lastValueVisible,h=""!==s.uh(),l=0===e.seriesLastValueMode,a=s.Yr(!1);if(a.Xr)return;r&&(t.Jt=this.dh(a,r,l),t.Tt=0!==t.Jt.length),(h||l)&&(i.Jt=this.fh(a,r,h,l),i.Tt=i.Jt.length>0);const o=s._h(a.O),_=y(o);n.t=_.t,n.ki=a.ki,i.Vt=s.qt().zt(a.ki/s.At().Et()),t.Vt=o,t.O=_.i,i.O=_.i}fh(t,i,n,s){let e="";const r=this.$t.uh();return n&&0!==r.length&&(e+=`${r} `),i&&s&&(e+=this.$t.At().ph()?t.mh:t.bh),e.trim()}dh(t,i,n){return i?n?this.$t.At().ph()?t.bh:t.mh:t.Jt:""}}function yi(t,i,n,s){const e=Number.isFinite(i),r=Number.isFinite(n);return e&&r?t(i,n):e||r?e?i:n:s}class ki{constructor(t,i){this.wh=t,this.gh=i}Mh(t){return null!==t&&(this.wh===t.wh&&this.gh===t.gh)}xh(){return new ki(this.wh,this.gh)}Sh(){return this.wh}yh(){return this.gh}kh(){return this.gh-this.wh}Fi(){return this.gh===this.wh||Number.isNaN(this.gh)||Number.isNaN(this.wh)}ts(t){return null===t?this:new ki(yi(Math.min,this.Sh(),t.Sh(),-1/0),yi(Math.max,this.yh(),t.yh(),1/0))}Ch(t){if(!T(t))return;if(0===this.gh-this.wh)return;const i=.5*(this.gh+this.wh);let n=this.gh-i,s=this.wh-i;n*=t,s*=t,this.gh=i+n,this.wh=i+s}Th(t){T(t)&&(this.gh+=t,this.wh+=t)}Ph(){return{minValue:this.wh,maxValue:this.gh}}static Rh(t){return null===t?null:new ki(t.minValue,t.maxValue)}}class Ci{constructor(t,i){this.Dh=t,this.Oh=i||null}Ah(){return this.Dh}Bh(){return this.Oh}Ph(){return null===this.Dh?null:{priceRange:this.Dh.Ph(),margins:this.Oh||void 0}}static Rh(t){return null===t?null:new Ci(ki.Rh(t.priceRange),t.margins)}}class Ti extends si{constructor(t,i){super(t),this.Vh=i}yr(){const t=this.Mr;t.Tt=!1;const i=this.Vh.W();if(!this.Is.Tt()||!i.lineVisible)return;const n=this.Vh.zh();null!==n&&(t.Tt=!0,t.rt=n,t.O=i.color,t.ht=i.lineWidth,t.Wt=i.lineStyle,t.wr=this.Vh.W().id)}}class Pi extends Q{constructor(t,i){super(),this.Wr=t,this.Vh=i}Ii(t,i,n){t.Tt=!1,i.Tt=!1;const s=this.Vh.W(),e=s.axisLabelVisible,r=""!==s.title,h=this.Wr;if(!e||!h.Tt())return;const l=this.Vh.zh();if(null===l)return;r&&(i.Jt=s.title,i.Tt=!0),i.Vt=h.qt().zt(l/h.At().Et()),t.Jt=this.Eh(s.price),t.Tt=!0;const a=y(s.axisLabelColor||s.color);n.t=a.t;const o=s.axisLabelTextColor||a.i;t.O=o,i.O=o,n.ki=l}Eh(t){const i=this.Wr.Pt();return null===i?"":this.Wr.At().Wi(t,i.Bt)}}class Ri{constructor(t,i){this.Wr=t,this.cn=i,this.Ih=new Ti(t,this),this._r=new Pi(t,this),this.Lh=new ii(this._r,t,t.qt())}Nh(t){C(this.cn,t),this.gt(),this.Wr.qt().Fh()}W(){return this.cn}Wh(){return this.Ih}jh(){return this.Lh}Hh(){return this._r}gt(){this.Ih.gt(),this._r.gt()}zh(){const t=this.Wr,i=t.At();if(t.qt().kt().Fi()||i.Fi())return null;const n=t.Pt();return null===n?null:i.Ot(this.cn.price,n.Bt)}}class Di extends et{constructor(t){super(),this.Ui=t}qt(){return this.Ui}}const Oi={Bar:(t,i,n,s)=>{var e;const r=i.upColor,h=i.downColor,l=f(t(n,s)),a=v(l.Bt[0])<=v(l.Bt[3]);return{ue:null!==(e=l.O)&&void 0!==e?e:a?r:h}},Candlestick:(t,i,n,s)=>{var e,r,h;const l=i.upColor,a=i.downColor,o=i.borderUpColor,_=i.borderDownColor,u=i.wickUpColor,c=i.wickDownColor,d=f(t(n,s)),p=v(d.Bt[0])<=v(d.Bt[3]);return{ue:null!==(e=d.O)&&void 0!==e?e:p?l:a,Le:null!==(r=d.Vt)&&void 0!==r?r:p?o:_,Ie:null!==(h=d.$h)&&void 0!==h?h:p?u:c}},Custom:(t,i,n,s)=>{var e;return{ue:null!==(e=f(t(n,s)).O)&&void 0!==e?e:i.color}},Area:(t,i,n,s)=>{var e,r,h,l;const a=f(t(n,s));return{ue:null!==(e=a._t)&&void 0!==e?e:i.lineColor,_t:null!==(r=a._t)&&void 0!==r?r:i.lineColor,Ts:null!==(h=a.Ts)&&void 0!==h?h:i.topColor,Ps:null!==(l=a.Ps)&&void 0!==l?l:i.bottomColor}},Baseline:(t,i,n,s)=>{var e,r,h,l,a,o;const _=f(t(n,s));return{ue:_.Bt[3]>=i.baseValue.price?i.topLineColor:i.bottomLineColor,Pe:null!==(e=_.Pe)&&void 0!==e?e:i.topLineColor,Re:null!==(r=_.Re)&&void 0!==r?r:i.bottomLineColor,Se:null!==(h=_.Se)&&void 0!==h?h:i.topFillColor1,ye:null!==(l=_.ye)&&void 0!==l?l:i.topFillColor2,ke:null!==(a=_.ke)&&void 0!==a?a:i.bottomFillColor1,Ce:null!==(o=_.Ce)&&void 0!==o?o:i.bottomFillColor2}},Line:(t,i,n,s)=>{var e,r;const h=f(t(n,s));return{ue:null!==(e=h.O)&&void 0!==e?e:i.color,_t:null!==(r=h.O)&&void 0!==r?r:i.color}},Histogram:(t,i,n,s)=>{var e;return{ue:null!==(e=f(t(n,s)).O)&&void 0!==e?e:i.color}}};class Ai{constructor(t){this.Uh=(t,i)=>void 0!==i?i.Bt:this.Wr.zn().qh(t),this.Wr=t,this.Yh=Oi[t.Xh()]}Hs(t,i){return this.Yh(this.Uh,this.Wr.W(),t,i)}}var Bi;!function(t){t[t.NearestLeft=-1]="NearestLeft",t[t.None=0]="None",t[t.NearestRight=1]="NearestRight"}(Bi||(Bi={}));const Vi=30;class zi{constructor(){this.Kh=[],this.Zh=new Map,this.Gh=new Map}Jh(){return this.Ks()>0?this.Kh[this.Kh.length-1]:null}Qh(){return this.Ks()>0?this.tl(0):null}Vn(){return this.Ks()>0?this.tl(this.Kh.length-1):null}Ks(){return this.Kh.length}Fi(){return 0===this.Ks()}Kr(t){return null!==this.il(t,0)}qh(t){return this.nl(t)}nl(t,i=0){const n=this.il(t,i);return null===n?null:Object.assign(Object.assign({},this.sl(n)),{se:this.tl(n)})}ie(){return this.Kh}el(t,i,n){if(this.Fi())return null;let s=null;for(const e of n){s=Ei(s,this.rl(t,i,e))}return s}it(t){this.Gh.clear(),this.Zh.clear(),this.Kh=t}tl(t){return this.Kh[t].se}sl(t){return this.Kh[t]}il(t,i){const n=this.hl(t);if(null===n&&0!==i)switch(i){case-1:return this.ll(t);case 1:return this.al(t);default:throw new TypeError("Unknown search mode")}return n}ll(t){let i=this.ol(t);return i>0&&(i-=1),i!==this.Kh.length&&this.tl(i)t.set.se>i))}ul(t,i,n){let s=null;for(let e=t;es.dl&&(s.dl=t)))}return s}rl(t,i,n){if(this.Fi())return null;let s=null;const e=f(this.Qh()),r=f(this.Vn()),h=Math.max(t,e),l=Math.min(i,r),a=Math.ceil(h/Vi)*Vi,o=Math.max(a,Math.floor(l/Vi)*Vi);{const t=this.ol(h),e=this._l(Math.min(l,a,i));s=Ei(s,this.ul(t,e,n))}let _=this.Zh.get(n);void 0===_&&(_=new Map,this.Zh.set(n,_));for(let t=Math.max(a+1,h);tnew Li(t)));return this.gl={vl:e,pl:r},r}tn(){var t,i,n,s;const e=null!==(n=null===(i=(t=this.kl).timeAxisViews)||void 0===i?void 0:i.call(t))&&void 0!==n?n:[];if((null===(s=this.Ml)||void 0===s?void 0:s.vl)===e)return this.Ml.pl;const r=this.Wr.qt().kt(),h=e.map((t=>new Fi(t,r)));return this.Ml={vl:e,pl:h},h}Rn(){var t,i,n,s;const e=null!==(n=null===(i=(t=this.kl).priceAxisViews)||void 0===i?void 0:i.call(t))&&void 0!==n?n:[];if((null===(s=this.xl)||void 0===s?void 0:s.vl)===e)return this.xl.pl;const r=this.Wr.At(),h=e.map((t=>new Wi(t,r)));return this.xl={vl:e,pl:h},h}Tl(){var t,i,n,s;const e=null!==(n=null===(i=(t=this.kl).priceAxisPaneViews)||void 0===i?void 0:i.call(t))&&void 0!==n?n:[];if((null===(s=this.Sl)||void 0===s?void 0:s.vl)===e)return this.Sl.pl;const r=e.map((t=>new Li(t)));return this.Sl={vl:e,pl:r},r}Pl(){var t,i,n,s;const e=null!==(n=null===(i=(t=this.kl).timeAxisPaneViews)||void 0===i?void 0:i.call(t))&&void 0!==n?n:[];if((null===(s=this.yl)||void 0===s?void 0:s.vl)===e)return this.yl.pl;const r=e.map((t=>new Li(t)));return this.yl={vl:e,pl:r},r}Rl(t,i){var n,s,e;return null!==(e=null===(s=(n=this.kl).autoscaleInfo)||void 0===s?void 0:s.call(n,t,i))&&void 0!==e?e:null}br(t,i){var n,s,e;return null!==(e=null===(s=(n=this.kl).hitTest)||void 0===s?void 0:s.call(n,t,i))&&void 0!==e?e:null}}function Hi(t,i,n,s){t.forEach((t=>{i(t).forEach((t=>{t.ml()===n&&s.push(t)}))}))}function $i(t){return t.Pn()}function Ui(t){return t.Tl()}function qi(t){return t.Pl()}class Yi extends Di{constructor(t,i,n,s,e){super(t),this.Lt=new zi,this.Ih=new xi(this),this.Dl=[],this.Ol=new ei(this),this.Al=null,this.Bl=null,this.Vl=[],this.zl=[],this.El=null,this.Il=[],this.cn=i,this.Ll=n;const r=new Si(this);this.hn=[r],this.Lh=new ii(r,this,t),"Area"!==n&&"Line"!==n&&"Baseline"!==n||(this.Al=new oi(this)),this.Nl(),this.Fl(e)}S(){null!==this.El&&clearTimeout(this.El)}_h(t){return this.cn.priceLineColor||t}Yr(t){const i={Xr:!0},n=this.At();if(this.qt().kt().Fi()||n.Fi()||this.Lt.Fi())return i;const s=this.qt().kt().Xs(),e=this.Pt();if(null===s||null===e)return i;let r,h;if(t){const t=this.Lt.Jh();if(null===t)return i;r=t,h=t.se}else{const t=this.Lt.nl(s.di(),-1);if(null===t)return i;if(r=this.Lt.qh(t.se),null===r)return i;h=t.se}const l=r.Bt[3],a=this.$s().Hs(h,{Bt:r}),o=n.Ot(l,e.Bt);return{Xr:!1,ct:l,Jt:n.Wi(l,e.Bt),mh:n.Wl(l),bh:n.jl(l,e.Bt),O:a.ue,ki:o,se:h}}$s(){return null!==this.Bl||(this.Bl=new Ai(this)),this.Bl}W(){return this.cn}Nh(t){const i=t.priceScaleId;void 0!==i&&i!==this.cn.priceScaleId&&this.qt().Hl(this,i),C(this.cn,t),void 0!==t.priceFormat&&(this.Nl(),this.qt().$l()),this.qt().Ul(this),this.qt().ql(),this.wn.gt("options")}it(t,i){this.Lt.it(t),this.Yl(),this.wn.gt("data"),this.dn.gt("data"),null!==this.Al&&(i&&i.Xl?this.Al.Hr():0===t.length&&this.Al.jr());const n=this.qt().cr(this);this.qt().Kl(n),this.qt().Ul(this),this.qt().ql(),this.qt().Fh()}Zl(t){this.Vl=t,this.Yl();const i=this.qt().cr(this);this.dn.gt("data"),this.qt().Kl(i),this.qt().Ul(this),this.qt().ql(),this.qt().Fh()}Gl(){return this.Vl}ah(){return this.zl}Jl(t){const i=new Ri(this,t);return this.Dl.push(i),this.qt().Ul(this),i}Ql(t){const i=this.Dl.indexOf(t);-1!==i&&this.Dl.splice(i,1),this.qt().Ul(this)}Xh(){return this.Ll}Pt(){const t=this.ta();return null===t?null:{Bt:t.Bt[3],ia:t.ut}}ta(){const t=this.qt().kt().Xs();if(null===t)return null;const i=t.Os();return this.Lt.nl(i,1)}zn(){return this.Lt}oh(t){const i=this.Lt.qh(t);return null===i?null:"Bar"===this.Ll||"Candlestick"===this.Ll||"Custom"===this.Ll?{we:i.Bt[0],ge:i.Bt[1],Me:i.Bt[2],xe:i.Bt[3]}:i.Bt[3]}na(t){const i=[];Hi(this.Il,$i,"top",i);const n=this.Al;return null!==n&&n.Tt()?(null===this.El&&n.Ur()&&(this.El=setTimeout((()=>{this.El=null,this.qt().sa()}),0)),n.$r(),i.push(n),i):i}Pn(){const t=[];this.ea()||t.push(this.Ol),t.push(this.wn,this.Ih,this.dn);const i=this.Dl.map((t=>t.Wh()));return t.push(...i),Hi(this.Il,$i,"normal",t),t}ra(){return this.ha($i,"bottom")}la(t){return this.ha(Ui,t)}aa(t){return this.ha(qi,t)}oa(t,i){return this.Il.map((n=>n.br(t,i))).filter((t=>null!==t))}Qi(t){return[this.Lh,...this.Dl.map((t=>t.jh()))]}Rn(t,i){if(i!==this.Xi&&!this.ea())return[];const n=[...this.hn];for(const t of this.Dl)n.push(t.Hh());return this.Il.forEach((t=>{n.push(...t.Rn())})),n}tn(){const t=[];return this.Il.forEach((i=>{t.push(...i.tn())})),t}Rl(t,i){if(void 0!==this.cn.autoscaleInfoProvider){const n=this.cn.autoscaleInfoProvider((()=>{const n=this._a(t,i);return null===n?null:n.Ph()}));return Ci.Rh(n)}return this._a(t,i)}ua(){return this.cn.priceFormat.minMove}ca(){return this.da}On(){var t;this.wn.gt(),this.dn.gt();for(const t of this.hn)t.gt();for(const t of this.Dl)t.gt();this.Ih.gt(),this.Ol.gt(),null===(t=this.Al)||void 0===t||t.gt(),this.Il.forEach((t=>t.On()))}At(){return f(super.At())}Ct(t){if(!(("Line"===this.Ll||"Area"===this.Ll||"Baseline"===this.Ll)&&this.cn.crosshairMarkerVisible))return null;const i=this.Lt.qh(t);if(null===i)return null;return{ct:i.Bt[3],ot:this.fa(),Vt:this.va(),Dt:this.pa(),Rt:this.ma(t)}}uh(){return this.cn.title}Tt(){return this.cn.visible}ba(t){this.Il.push(new ji(t,this))}wa(t){this.Il=this.Il.filter((i=>i.Cl()!==t))}ga(){if(this.wn instanceof Yt!=!1)return t=>this.wn.Fe(t)}Ma(){if(this.wn instanceof Yt!=!1)return t=>this.wn.We(t)}ea(){return!lt(this.At().xa())}_a(t,i){if(!P(t)||!P(i)||this.Lt.Fi())return null;const n="Line"===this.Ll||"Area"===this.Ll||"Baseline"===this.Ll||"Histogram"===this.Ll?[3]:[2,1],s=this.Lt.el(t,i,n);let e=null!==s?new ki(s.cl,s.dl):null;if("Histogram"===this.Xh()){const t=this.cn.base,i=new ki(t,t);e=null!==e?e.ts(i):i}let r=this.dn.lh();return this.Il.forEach((n=>{const s=n.Rl(t,i);if(null==s?void 0:s.priceRange){const t=new ki(s.priceRange.minValue,s.priceRange.maxValue);e=null!==e?e.ts(t):t}var h,l,a,o;(null==s?void 0:s.margins)&&(h=r,l=s.margins,r={above:Math.max(null!==(a=null==h?void 0:h.above)&&void 0!==a?a:0,l.above),below:Math.max(null!==(o=null==h?void 0:h.below)&&void 0!==o?o:0,l.below)})})),new Ci(e,r)}fa(){switch(this.Ll){case"Line":case"Area":case"Baseline":return this.cn.crosshairMarkerRadius}return 0}va(){switch(this.Ll){case"Line":case"Area":case"Baseline":{const t=this.cn.crosshairMarkerBorderColor;if(0!==t.length)return t}}return null}pa(){switch(this.Ll){case"Line":case"Area":case"Baseline":return this.cn.crosshairMarkerBorderWidth}return 0}ma(t){switch(this.Ll){case"Line":case"Area":case"Baseline":{const t=this.cn.crosshairMarkerBackgroundColor;if(0!==t.length)return t}}return this.$s().Hs(t).ue}Nl(){switch(this.cn.priceFormat.type){case"custom":this.da={format:this.cn.priceFormat.formatter};break;case"volume":this.da=new dt(this.cn.priceFormat.precision);break;case"percent":this.da=new ct(this.cn.priceFormat.precision);break;default:{const t=Math.pow(10,this.cn.priceFormat.precision);this.da=new ut(t,this.cn.priceFormat.minMove*t)}}null!==this.Xi&&this.Xi.Sa()}Yl(){const t=this.qt().kt();if(!t.ya()||this.Lt.Fi())return void(this.zl=[]);const i=f(this.Lt.Qh());this.zl=this.Vl.map(((n,s)=>{const e=f(t.ka(n.time,!0)),r=et instanceof Yi)).reduce(((t,s)=>{if(n.dr(s)||!s.Tt())return t;const e=s.At(),r=s.zn();if(e.Fi()||!r.Kr(i))return t;const h=r.qh(i);if(null===h)return t;const l=v(s.Pt());return t.concat([e.Ot(h.Bt[3],l.Bt)])}),[]);if(0===l.length)return s;l.sort(((t,i)=>Math.abs(t-h)-Math.abs(i-h)));const a=l[0];return s=e.pn(a,r),s}}class Ki extends H{constructor(){super(...arguments),this.Lt=null}it(t){this.Lt=t}Z({context:t,bitmapSize:i,horizontalPixelRatio:n,verticalPixelRatio:s}){if(null===this.Lt)return;const e=Math.max(1,Math.floor(n));t.lineWidth=e,function(t,i){t.save(),t.lineWidth%2&&t.translate(.5,.5),i(),t.restore()}(t,(()=>{const r=f(this.Lt);if(r.Pa){t.strokeStyle=r.Ra,_(t,r.Da),t.beginPath();for(const s of r.Oa){const r=Math.round(s.Aa*n);t.moveTo(r,-e),t.lineTo(r,i.height+e)}t.stroke()}if(r.Ba){t.strokeStyle=r.Va,_(t,r.za),t.beginPath();for(const n of r.Ea){const r=Math.round(n.Aa*s);t.moveTo(-e,r),t.lineTo(i.width+e,r)}t.stroke()}}))}}class Zi{constructor(t){this.Ht=new Ki,this.bt=!0,this.nn=t}gt(){this.bt=!0}xt(){if(this.bt){const t=this.nn.qt().W().grid,i={Ba:t.horzLines.visible,Pa:t.vertLines.visible,Va:t.horzLines.color,Ra:t.vertLines.color,za:t.horzLines.style,Da:t.vertLines.style,Ea:this.nn.vn().Ia(),Oa:(this.nn.qt().kt().Ia()||[]).map((t=>({Aa:t.coord})))};this.Ht.it(i),this.bt=!1}return this.Ht}}class Gi{constructor(t){this.wn=new Zi(t)}Wh(){return this.wn}}const Ji={La:4,Na:1e-4};function Qi(t,i){const n=100*(t-i)/i;return i<0?-n:n}function tn(t,i){const n=Qi(t.Sh(),i),s=Qi(t.yh(),i);return new ki(n,s)}function nn(t,i){const n=100*(t-i)/i+100;return i<0?-n:n}function sn(t,i){const n=nn(t.Sh(),i),s=nn(t.yh(),i);return new ki(n,s)}function en(t,i){const n=Math.abs(t);if(n<1e-15)return 0;const s=Math.log10(n+i.Na)+i.La;return t<0?-s:s}function rn(t,i){const n=Math.abs(t);if(n<1e-15)return 0;const s=Math.pow(10,n-i.La)-i.Na;return t<0?-s:s}function hn(t,i){if(null===t)return null;const n=en(t.Sh(),i),s=en(t.yh(),i);return new ki(n,s)}function ln(t,i){if(null===t)return null;const n=rn(t.Sh(),i),s=rn(t.yh(),i);return new ki(n,s)}function an(t){if(null===t)return Ji;const i=Math.abs(t.yh()-t.Sh());if(i>=1||i<1e-15)return Ji;const n=Math.ceil(Math.abs(Math.log10(i))),s=Ji.La+n;return{La:s,Na:1/Math.pow(10,s)}}class on{constructor(t,i){if(this.Fa=t,this.Wa=i,function(t){if(t<0)return!1;for(let i=t;i>1;i/=10)if(i%10!=0)return!1;return!0}(this.Fa))this.ja=[2,2.5,2];else{this.ja=[];for(let t=this.Fa;1!==t;){if(t%2==0)this.ja.push(2),t/=2;else{if(t%5!=0)throw new Error("unexpected base");this.ja.push(2,2.5),t/=5}if(this.ja.length>100)throw new Error("something wrong with base")}}}Ha(t,i,n){const s=0===this.Fa?0:1/this.Fa;let e=Math.pow(10,Math.max(0,Math.ceil(Math.log10(t-i)))),r=0,h=this.Wa[0];for(;;){const t=xt(e,s,1e-14)&&e>s+1e-14,i=xt(e,n*h,1e-14),l=xt(e,1,1e-14);if(!(t&&i&&l))break;e/=h,h=this.Wa[++r%this.Wa.length]}if(e<=s+1e-14&&(e=s),e=Math.max(1,e),this.ja.length>0&&(l=e,a=1,o=1e-14,Math.abs(l-a)s+1e-14;)e/=h,h=this.ja[++r%this.ja.length];var l,a,o;return e}}class _n{constructor(t,i,n,s){this.$a=[],this.Li=t,this.Fa=i,this.Ua=n,this.qa=s}Ha(t,i){if(t=o?1:-1;let d=null,f=0;for(let n=a-u;n>o;n-=_){const s=this.qa(n,i,!0);null!==d&&Math.abs(s-d)l||(ff(t.Zi())-f(i.Zi())))}var cn;!function(t){t[t.Normal=0]="Normal",t[t.Logarithmic=1]="Logarithmic",t[t.Percentage=2]="Percentage",t[t.IndexedTo100=3]="IndexedTo100"}(cn||(cn={}));const dn=new ct,fn=new ut(100,1);class vn{constructor(t,i,n,s){this.Qa=0,this.io=null,this.Dh=null,this.no=null,this.so={eo:!1,ro:null},this.ho=0,this.lo=0,this.ao=new k,this.oo=new k,this._o=[],this.uo=null,this.co=null,this.do=null,this.fo=null,this.da=fn,this.vo=an(null),this.po=t,this.cn=i,this.mo=n,this.bo=s,this.wo=new _n(this,100,this.Mo.bind(this),this.xo.bind(this))}xa(){return this.po}W(){return this.cn}Nh(t){if(C(this.cn,t),this.Sa(),void 0!==t.mode&&this.So({kr:t.mode}),void 0!==t.scaleMargins){const i=d(t.scaleMargins.top),n=d(t.scaleMargins.bottom);if(i<0||i>1)throw new Error(`Invalid top margin - expect value between 0 and 1, given=${i}`);if(n<0||n>1||i+n>1)throw new Error(`Invalid bottom margin - expect value between 0 and 1, given=${n}`);if(i+n>1)throw new Error(`Invalid margins - sum of margins must be less than 1, given=${i+n}`);this.yo(),this.co=null}}ko(){return this.cn.autoScale}Ja(){return 1===this.cn.mode}ph(){return 2===this.cn.mode}Co(){return 3===this.cn.mode}kr(){return{Wn:this.cn.autoScale,To:this.cn.invertScale,kr:this.cn.mode}}So(t){const i=this.kr();let n=null;void 0!==t.Wn&&(this.cn.autoScale=t.Wn),void 0!==t.kr&&(this.cn.mode=t.kr,2!==t.kr&&3!==t.kr||(this.cn.autoScale=!0),this.so.eo=!1),1===i.kr&&t.kr!==i.kr&&(!function(t,i){if(null===t)return!1;const n=rn(t.Sh(),i),s=rn(t.yh(),i);return isFinite(n)&&isFinite(s)}(this.Dh,this.vo)?this.cn.autoScale=!0:(n=ln(this.Dh,this.vo),null!==n&&this.Po(n))),1===t.kr&&t.kr!==i.kr&&(n=hn(this.Dh,this.vo),null!==n&&this.Po(n));const s=i.kr!==this.cn.mode;s&&(2===i.kr||this.ph())&&this.Sa(),s&&(3===i.kr||this.Co())&&this.Sa(),void 0!==t.To&&i.To!==t.To&&(this.cn.invertScale=t.To,this.Ro()),this.oo.m(i,this.kr())}Do(){return this.oo}P(){return this.mo.fontSize}Et(){return this.Qa}Oo(t){this.Qa!==t&&(this.Qa=t,this.yo(),this.co=null)}Ao(){if(this.io)return this.io;const t=this.Et()-this.Bo()-this.Vo();return this.io=t,t}Ah(){return this.zo(),this.Dh}Po(t,i){const n=this.Dh;(i||null===n&&null!==t||null!==n&&!n.Mh(t))&&(this.co=null,this.Dh=t)}Fi(){return this.zo(),0===this.Qa||!this.Dh||this.Dh.Fi()}Eo(t){return this.To()?t:this.Et()-1-t}Ot(t,i){return this.ph()?t=Qi(t,i):this.Co()&&(t=nn(t,i)),this.xo(t,i)}Qs(t,i,n){this.zo();const s=this.Vo(),e=f(this.Ah()),r=e.Sh(),h=e.yh(),l=this.Ao()-1,a=this.To(),o=l/(h-r),_=void 0===n?0:n.from,u=void 0===n?t.length:n.to,c=this.Io();for(let n=_;nt.On()))}Sa(){this.co=null;const t=this.Jo();let i=100;null!==t&&(i=Math.round(1/t.ua())),this.da=fn,this.ph()?(this.da=dn,i=100):this.Co()?(this.da=new ut(100,1),i=100):null!==t&&(this.da=t.ca()),this.wo=new _n(this,i,this.Mo.bind(this),this.xo.bind(this)),this.wo.Xa()}Wo(){this.uo=null}Jo(){return this._o[0]||null}Bo(){return this.To()?this.cn.scaleMargins.bottom*this.Et()+this.lo:this.cn.scaleMargins.top*this.Et()+this.ho}Vo(){return this.To()?this.cn.scaleMargins.top*this.Et()+this.ho:this.cn.scaleMargins.bottom*this.Et()+this.lo}zo(){this.so.eo||(this.so.eo=!0,this.i_())}yo(){this.io=null}xo(t,i){if(this.zo(),this.Fi())return 0;t=this.Ja()&&t?en(t,this.vo):t;const n=f(this.Ah()),s=this.Vo()+(this.Ao()-1)*(t-n.Sh())/n.kh();return this.Eo(s)}Mo(t,i){if(this.zo(),this.Fi())return 0;const n=this.Eo(t),s=f(this.Ah()),e=s.Sh()+s.kh()*((n-this.Vo())/(this.Ao()-1));return this.Ja()?rn(e,this.vo):e}Ro(){this.co=null,this.wo.Xa()}i_(){const t=this.so.ro;if(null===t)return;let i=null;const n=this.Qo();let s=0,e=0;for(const r of n){if(!r.Tt())continue;const n=r.Pt();if(null===n)continue;const h=r.Rl(t.Os(),t.di());let l=h&&h.Ah();if(null!==l){switch(this.cn.mode){case 1:l=hn(l,this.vo);break;case 2:l=tn(l,n.Bt);break;case 3:l=sn(l,n.Bt)}if(i=null===i?l:i.ts(f(l)),null!==h){const t=h.Bh();null!==t&&(s=Math.max(s,t.above),e=Math.max(s,t.below))}}}if(s===this.ho&&e===this.lo||(this.ho=s,this.lo=e,this.co=null,this.yo()),null!==i){if(i.Sh()===i.yh()){const t=this.Jo(),n=5*(null===t||this.ph()||this.Co()?1:t.ua());this.Ja()&&(i=ln(i,this.vo)),i=new ki(i.Sh()-n,i.yh()+n),this.Ja()&&(i=hn(i,this.vo))}if(this.Ja()){const t=ln(i,this.vo),n=an(t);if(r=n,h=this.vo,r.La!==h.La||r.Na!==h.Na){const s=null!==this.no?ln(this.no,this.vo):null;this.vo=n,i=hn(t,n),null!==s&&(this.no=hn(s,n))}}this.Po(i)}else null===this.Dh&&(this.Po(new ki(-.5,.5)),this.vo=an(null));var r,h;this.so.eo=!0}Io(){return this.ph()?Qi:this.Co()?nn:this.Ja()?t=>en(t,this.vo):null}n_(t,i,n){return void 0===i?(void 0===n&&(n=this.ca()),n.format(t)):i(t)}Eh(t,i){return this.n_(t,this.bo.priceFormatter,i)}Go(t,i){return this.n_(t,this.bo.percentageFormatter,i)}}class pn{constructor(t,i){this._o=[],this.s_=new Map,this.Qa=0,this.e_=0,this.r_=1e3,this.uo=null,this.h_=new k,this.wl=t,this.Ui=i,this.l_=new Gi(this);const n=i.W();this.a_=this.o_("left",n.leftPriceScale),this.__=this.o_("right",n.rightPriceScale),this.a_.Do().l(this.u_.bind(this,this.a_),this),this.__.Do().l(this.u_.bind(this,this.__),this),this.c_(n)}c_(t){if(t.leftPriceScale&&this.a_.Nh(t.leftPriceScale),t.rightPriceScale&&this.__.Nh(t.rightPriceScale),t.localization&&(this.a_.Sa(),this.__.Sa()),t.overlayPriceScales){const i=Array.from(this.s_.values());for(const n of i){const i=f(n[0].At());i.Nh(t.overlayPriceScales),t.localization&&i.Sa()}}}d_(t){switch(t){case"left":return this.a_;case"right":return this.__}return this.s_.has(t)?d(this.s_.get(t))[0].At():null}S(){this.qt().f_().p(this),this.a_.Do().p(this),this.__.Do().p(this),this._o.forEach((t=>{t.S&&t.S()})),this.h_.m()}v_(){return this.r_}p_(t){this.r_=t}qt(){return this.Ui}$i(){return this.e_}Et(){return this.Qa}m_(t){this.e_=t,this.b_()}Oo(t){this.Qa=t,this.a_.Oo(t),this.__.Oo(t),this._o.forEach((i=>{if(this.dr(i)){const n=i.At();null!==n&&n.Oo(t)}})),this.b_()}Ta(){return this._o}dr(t){const i=t.At();return null===i||this.a_!==i&&this.__!==i}Fo(t,i,n){const s=void 0!==n?n:this.g_().w_+1;this.M_(t,i,s)}jo(t){const i=this._o.indexOf(t);c(-1!==i,"removeDataSource: invalid data source"),this._o.splice(i,1);const n=f(t.At()).xa();if(this.s_.has(n)){const i=d(this.s_.get(n)),s=i.indexOf(t);-1!==s&&(i.splice(s,1),0===i.length&&this.s_.delete(n))}const s=t.At();s&&s.Ta().indexOf(t)>=0&&s.jo(t),null!==s&&(s.Wo(),this.x_(s)),this.uo=null}pr(t){return t===this.a_?"left":t===this.__?"right":"overlay"}S_(){return this.a_}y_(){return this.__}k_(t,i){t.Uo(i)}C_(t,i){t.qo(i),this.b_()}T_(t){t.Yo()}P_(t,i){t.Xo(i)}R_(t,i){t.Ko(i),this.b_()}D_(t){t.Zo()}b_(){this._o.forEach((t=>{t.On()}))}vn(){let t=null;return this.Ui.W().rightPriceScale.visible&&0!==this.__.Ta().length?t=this.__:this.Ui.W().leftPriceScale.visible&&0!==this.a_.Ta().length?t=this.a_:0!==this._o.length&&(t=this._o[0].At()),null===t&&(t=this.__),t}vr(){let t=null;return this.Ui.W().rightPriceScale.visible?t=this.__:this.Ui.W().leftPriceScale.visible&&(t=this.a_),t}x_(t){null!==t&&t.ko()&&this.O_(t)}A_(t){const i=this.wl.Xs();t.So({Wn:!0}),null!==i&&t.t_(i),this.b_()}B_(){this.O_(this.a_),this.O_(this.__)}V_(){this.x_(this.a_),this.x_(this.__),this._o.forEach((t=>{this.dr(t)&&this.x_(t.At())})),this.b_(),this.Ui.Fh()}No(){return null===this.uo&&(this.uo=un(this._o)),this.uo}z_(){return this.h_}E_(){return this.l_}O_(t){const i=t.Qo();if(i&&i.length>0&&!this.wl.Fi()){const i=this.wl.Xs();null!==i&&t.t_(i)}t.On()}g_(){const t=this.No();if(0===t.length)return{I_:0,w_:0};let i=0,n=0;for(let s=0;sn&&(n=e))}return{I_:i,w_:n}}M_(t,i,n){let s=this.d_(i);if(null===s&&(s=this.o_(i,this.Ui.W().overlayPriceScales)),this._o.push(t),!lt(i)){const n=this.s_.get(i)||[];n.push(t),this.s_.set(i,n)}s.Fo(t),t.Ji(s),t.Gi(n),this.x_(s),this.uo=null}u_(t,i,n){i.kr!==n.kr&&this.O_(t)}o_(t,i){const n=Object.assign({visible:!0,autoScale:!0},O(i)),s=new vn(t,n,this.Ui.W().layout,this.Ui.W().localization);return s.Oo(this.Et()),s}}class mn{constructor(t,i,n=50){this.Ke=0,this.Ze=1,this.Ge=1,this.Qe=new Map,this.Je=new Map,this.L_=t,this.N_=i,this.tr=n}F_(t){const i=t.time,n=this.N_.cacheKey(i),s=this.Qe.get(n);if(void 0!==s)return s.W_;if(this.Ke===this.tr){const t=this.Je.get(this.Ge);this.Je.delete(this.Ge),this.Qe.delete(d(t)),this.Ge++,this.Ke--}const e=this.L_(t);return this.Qe.set(n,{W_:e,er:this.Ze}),this.Je.set(this.Ze,n),this.Ke++,this.Ze++,e}}class bn{constructor(t,i){c(t<=i,"right should be >= left"),this.j_=t,this.H_=i}Os(){return this.j_}di(){return this.H_}U_(){return this.H_-this.j_+1}Kr(t){return this.j_<=t&&t<=this.H_}Mh(t){return this.j_===t.Os()&&this.H_===t.di()}}function wn(t,i){return null===t||null===i?t===i:t.Mh(i)}class gn{constructor(){this.q_=new Map,this.Qe=null,this.Y_=!1}X_(t){this.Y_=t,this.Qe=null}K_(t,i){this.Z_(i),this.Qe=null;for(let n=i;n{t<=n[0].index?i.push(s):n.splice(Dt(n,t,(i=>i.indexi-t))){if(!this.q_.get(n))continue;const s=i;i=[];const e=s.length;let r=0;const h=d(this.q_.get(n)),l=h.length;let a=1/0,o=-1/0;for(let n=0;n=t&&_-o>=t)i.push(l),o=_;else if(this.Y_)return s}for(;ri.weight?t:i}class Sn{constructor(t,i,n,s){this.e_=0,this.eu=null,this.ru=[],this.fo=null,this.do=null,this.hu=new gn,this.lu=new Map,this.au=Mn.su(),this.ou=!0,this._u=new k,this.uu=new k,this.cu=new k,this.du=null,this.fu=null,this.vu=[],this.cn=i,this.bo=n,this.pu=i.rightOffset,this.mu=i.barSpacing,this.Ui=t,this.N_=s,this.bu(),this.hu.X_(i.uniformDistribution)}W(){return this.cn}wu(t){C(this.bo,t),this.gu(),this.bu()}Nh(t,i){var n;C(this.cn,t),this.cn.fixLeftEdge&&this.Mu(),this.cn.fixRightEdge&&this.xu(),void 0!==t.barSpacing&&this.Ui.Gn(t.barSpacing),void 0!==t.rightOffset&&this.Ui.Jn(t.rightOffset),void 0!==t.minBarSpacing&&this.Ui.Gn(null!==(n=t.barSpacing)&&void 0!==n?n:this.mu),this.gu(),this.bu(),this.cu.m()}mn(t){var i,n;return null!==(n=null===(i=this.ru[t])||void 0===i?void 0:i.time)&&void 0!==n?n:null}qi(t){var i;return null!==(i=this.ru[t])&&void 0!==i?i:null}ka(t,i){if(this.ru.length<1)return null;if(this.N_.key(t)>this.N_.key(this.ru[this.ru.length-1].time))return i?this.ru.length-1:null;const n=Dt(this.ru,this.N_.key(t),((t,i)=>this.N_.key(t.time)0}Xs(){return this.Su(),this.au.iu()}yu(){return this.Su(),this.au.nu()}ku(){const t=this.Xs();if(null===t)return null;const i={from:t.Os(),to:t.di()};return this.Cu(i)}Cu(t){const i=Math.round(t.from),n=Math.round(t.to),s=f(this.Tu()),e=f(this.Vn());return{from:f(this.qi(Math.max(s,i))),to:f(this.qi(Math.min(e,n)))}}Pu(t){return{from:f(this.ka(t.from,!0)),to:f(this.ka(t.to,!0))}}$i(){return this.e_}m_(t){if(!isFinite(t)||t<=0)return;if(this.e_===t)return;const i=this.yu(),n=this.e_;if(this.e_=t,this.ou=!0,this.cn.lockVisibleTimeRangeOnResize&&0!==n){const i=this.mu*t/n;this.mu=i}if(this.cn.fixLeftEdge&&null!==i&&i.Os()<=0){const i=n-t;this.pu-=Math.round(i/this.mu)+1,this.ou=!0}this.Ru(),this.Du()}It(t){if(this.Fi()||!P(t))return 0;const i=this.Ou()+this.pu-t;return this.e_-(i+.5)*this.mu-1}Js(t,i){const n=this.Ou(),s=void 0===i?0:i.from,e=void 0===i?t.length:i.to;for(let i=s;ii/2&&!o?n.needAlignCoordinate=!1:n.needAlignCoordinate=_&&t.index<=l||u&&t.index>=a,c++}return this.vu.length=c,this.fu=this.vu,this.vu}Nu(){this.ou=!0,this.Gn(this.cn.barSpacing),this.Jn(this.cn.rightOffset)}Fu(t){this.ou=!0,this.eu=t,this.Du(),this.Mu()}Wu(t,i){const n=this.Bu(t),s=this.he(),e=s+i*(s/10);this.Gn(e),this.cn.rightBarStaysOnScroll||this.Jn(this.Eu()+(n-this.Bu(t)))}Uo(t){this.fo&&this.Zo(),null===this.do&&null===this.du&&(this.Fi()||(this.do=t,this.ju()))}qo(t){if(null===this.du)return;const i=Mt(this.e_-t,0,this.e_),n=Mt(this.e_-f(this.do),0,this.e_);0!==i&&0!==n&&this.Gn(this.du.he*i/n)}Yo(){null!==this.do&&(this.do=null,this.Hu())}Xo(t){null===this.fo&&null===this.du&&(this.Fi()||(this.fo=t,this.ju()))}Ko(t){if(null===this.fo)return;const i=(this.fo-t)/this.he();this.pu=f(this.du).Eu+i,this.ou=!0,this.Du()}Zo(){null!==this.fo&&(this.fo=null,this.Hu())}$u(){this.Uu(this.cn.rightOffset)}Uu(t,i=400){if(!isFinite(t))throw new RangeError("offset is required and must be finite number");if(!isFinite(i)||i<=0)throw new RangeError("animationDuration (optional) must be finite positive number");const n=this.pu,s=performance.now();this.Ui.Xn({qu:t=>(t-s)/i>=1,Yu:e=>{const r=(e-s)/i;return r>=1?t:n+(t-n)*r}})}gt(t,i){this.ou=!0,this.ru=t,this.hu.K_(t,i),this.Du()}Xu(){return this._u}Ku(){return this.uu}Zu(){return this.cu}Ou(){return this.eu||0}Gu(t){const i=t.U_();this.zu(this.e_/i),this.pu=t.di()-this.Ou(),this.Du(),this.ou=!0,this.Ui.Vu(),this.Ui.Fh()}Ju(){const t=this.Tu(),i=this.Vn();null!==t&&null!==i&&this.Gu(new bn(t,i+this.cn.rightOffset))}Qu(t){const i=new bn(t.from,t.to);this.Gu(i)}Yi(t){return void 0!==this.bo.timeFormatter?this.bo.timeFormatter(t.originalTime):this.N_.formatHorzItem(t.time)}Vn(){return 0===this.ru.length?null:this.ru.length-1}Iu(){const{handleScroll:t,handleScale:i}=this.Ui.W();return!(t.horzTouchDrag||t.mouseWheel||t.pressedMouseMove||t.vertTouchDrag||i.axisDoubleClickReset.time||i.axisPressedMouseMove.time||i.mouseWheel||i.pinch)}Tu(){return 0===this.ru.length?null:0}tc(t){return(this.e_-1-t)/this.mu}Bu(t){const i=this.tc(t),n=this.Ou()+this.pu-i;return Math.round(1e6*n)/1e6}zu(t){const i=this.mu;this.mu=t,this.Ru(),i!==this.mu&&(this.ou=!0,this.ic())}Su(){if(!this.ou)return;if(this.ou=!1,this.Fi())return void this.nc(Mn.su());const t=this.Ou(),i=this.e_/this.mu,n=this.pu+t,s=new bn(n-i+1,n);this.nc(new Mn(s))}Ru(){const t=this.sc();if(this.mut&&(this.mu=t,this.ou=!0)}}sc(){return this.cn.fixLeftEdge&&this.cn.fixRightEdge&&0!==this.ru.length?this.e_/this.ru.length:this.cn.minBarSpacing}Du(){const t=this.ec();this.pu>t&&(this.pu=t,this.ou=!0);const i=this.rc();null!==i&&this.puthis.hc(t)),this.N_),this.lu.set(t.weight,i)),i.F_(t)}hc(t){return this.N_.formatTickmark(t,this.bo)}nc(t){const i=this.au;this.au=t,wn(i.iu(),this.au.iu())||this._u.m(),wn(i.nu(),this.au.nu())||this.uu.m(),this.ic()}ic(){this.fu=null}gu(){this.ic(),this.lu.clear()}bu(){this.N_.updateFormatter(this.bo)}Mu(){if(!this.cn.fixLeftEdge)return;const t=this.Tu();if(null===t)return;const i=this.Xs();if(null===i)return;const n=i.Os()-t;if(n<0){const t=this.pu-n-1;this.Jn(t)}this.Ru()}xu(){this.Du(),this.Ru()}}class yn extends L{constructor(t){super(),this.lc=new Map,this.Lt=t}Z(t){}J(t){if(!this.Lt.Tt)return;const{context:i,mediaSize:n}=t;let s=0;for(const t of this.Lt.ac){if(0===t.Jt.length)continue;i.font=t.R;const e=this.oc(i,t.Jt);e>n.width?t.Wu=n.width/e:t.Wu=1,s+=t._c*t.Wu}let e=0;switch(this.Lt.uc){case"top":e=0;break;case"center":e=Math.max((n.height-s)/2,0);break;case"bottom":e=Math.max(n.height-s,0)}i.fillStyle=this.Lt.O;for(const t of this.Lt.ac){i.save();let s=0;switch(this.Lt.cc){case"left":i.textAlign="left",s=t._c/2;break;case"center":i.textAlign="center",s=n.width/2;break;case"right":i.textAlign="right",s=n.width-1-t._c/2}i.translate(s,e),i.textBaseline="top",i.font=t.R,i.scale(t.Wu,t.Wu),i.fillText(t.Jt,0,t.dc),i.restore(),e+=t._c*t.Wu}}oc(t,i){const n=this.fc(t.font);let s=n.get(i);return void 0===s&&(s=t.measureText(i).width,n.set(i,s)),s}fc(t){let i=this.lc.get(t);return void 0===i&&(i=new Map,this.lc.set(t,i)),i}}class kn{constructor(t){this.bt=!0,this.jt={Tt:!1,O:"",ac:[],uc:"center",cc:"center"},this.Ht=new yn(this.jt),this.$t=t}gt(){this.bt=!0}xt(){return this.bt&&(this.St(),this.bt=!1),this.Ht}St(){const t=this.$t.W(),i=this.jt;i.Tt=t.visible,i.Tt&&(i.O=t.color,i.cc=t.horzAlign,i.uc=t.vertAlign,i.ac=[{Jt:t.text,R:z(t.fontSize,t.fontFamily,t.fontStyle),_c:1.2*t.fontSize,dc:0,Wu:0}])}}class Cn extends et{constructor(t,i){super(),this.cn=i,this.wn=new kn(this)}Rn(){return[]}Pn(){return[this.wn]}W(){return this.cn}On(){this.wn.gt()}}var Tn,Pn,Rn,Dn,On;!function(t){t[t.OnTouchEnd=0]="OnTouchEnd",t[t.OnNextTap=1]="OnNextTap"}(Tn||(Tn={}));class An{constructor(t,i,n){this.vc=[],this.mc=[],this.e_=0,this.bc=null,this.wc=new k,this.gc=new k,this.Mc=null,this.xc=t,this.cn=i,this.N_=n,this.Sc=new E(this),this.wl=new Sn(this,i.timeScale,this.cn.localization,n),this.wt=new ht(this,i.crosshair),this.yc=new Xi(i.crosshair),this.kc=new Cn(this,i.watermark),this.Cc(),this.vc[0].p_(2e3),this.Tc=this.Pc(0),this.Rc=this.Pc(1)}$l(){this.Dc(at.es())}Fh(){this.Dc(at.ss())}sa(){this.Dc(new at(1))}Ul(t){const i=this.Oc(t);this.Dc(i)}Ac(){return this.bc}Bc(t){const i=this.bc;this.bc=t,null!==i&&this.Ul(i.Vc),null!==t&&this.Ul(t.Vc)}W(){return this.cn}Nh(t){C(this.cn,t),this.vc.forEach((i=>i.c_(t))),void 0!==t.timeScale&&this.wl.Nh(t.timeScale),void 0!==t.localization&&this.wl.wu(t.localization),(t.leftPriceScale||t.rightPriceScale)&&this.wc.m(),this.Tc=this.Pc(0),this.Rc=this.Pc(1),this.$l()}zc(t,i){if("left"===t)return void this.Nh({leftPriceScale:i});if("right"===t)return void this.Nh({rightPriceScale:i});const n=this.Ec(t);null!==n&&(n.At.Nh(i),this.wc.m())}Ec(t){for(const i of this.vc){const n=i.d_(t);if(null!==n)return{Ut:i,At:n}}return null}kt(){return this.wl}Ic(){return this.vc}Lc(){return this.kc}Nc(){return this.wt}Fc(){return this.gc}Wc(t,i){t.Oo(i),this.Vu()}m_(t){this.e_=t,this.wl.m_(this.e_),this.vc.forEach((i=>i.m_(t))),this.Vu()}Cc(t){const i=new pn(this.wl,this);void 0!==t?this.vc.splice(t,0,i):this.vc.push(i);const n=void 0===t?this.vc.length-1:t,s=at.es();return s.Nn(n,{Fn:0,Wn:!0}),this.Dc(s),i}k_(t,i,n){t.k_(i,n)}C_(t,i,n){t.C_(i,n),this.ql(),this.Dc(this.jc(t,2))}T_(t,i){t.T_(i),this.Dc(this.jc(t,2))}P_(t,i,n){i.ko()||t.P_(i,n)}R_(t,i,n){i.ko()||(t.R_(i,n),this.ql(),this.Dc(this.jc(t,2)))}D_(t,i){i.ko()||(t.D_(i),this.Dc(this.jc(t,2)))}A_(t,i){t.A_(i),this.Dc(this.jc(t,2))}Hc(t){this.wl.Uo(t)}$c(t,i){const n=this.kt();if(n.Fi()||0===i)return;const s=n.$i();t=Math.max(1,Math.min(t,s)),n.Wu(t,i),this.Vu()}Uc(t){this.qc(0),this.Yc(t),this.Xc()}Kc(t){this.wl.qo(t),this.Vu()}Zc(){this.wl.Yo(),this.Fh()}qc(t){this.wl.Xo(t)}Yc(t){this.wl.Ko(t),this.Vu()}Xc(){this.wl.Zo(),this.Fh()}Mt(){return this.mc}Gc(t,i,n,s,e){this.wt.gn(t,i);let r=NaN,h=this.wl.Au(t);const l=this.wl.Xs();null!==l&&(h=Math.min(Math.max(l.Os(),h),l.di()));const a=s.vn(),o=a.Pt();null!==o&&(r=a.pn(i,o)),r=this.yc.Ca(r,h,s),this.wt.yn(h,r,s),this.sa(),e||this.gc.m(this.wt.yt(),{x:t,y:i},n)}Jc(t,i,n){const s=n.vn(),e=s.Pt(),r=s.Ot(t,f(e)),h=this.wl.ka(i,!0),l=this.wl.It(f(h));this.Gc(l,r,null,n,!0)}Qc(t){this.Nc().Cn(),this.sa(),t||this.gc.m(null,null,null)}ql(){const t=this.wt.Ut();if(null!==t){const i=this.wt.xn(),n=this.wt.Sn();this.Gc(i,n,null,t)}this.wt.On()}td(t,i,n){const s=this.wl.mn(0),e=this.wl.Vn();void 0!==i&&void 0!==n&&this.wl.gt(i,n);const r=this.wl.mn(0),h=this.wl.Ou(),l=this.wl.Xs();if(null!==l&&null!==s&&null!==r){const i=l.Kr(h),n=this.N_.key(s)>this.N_.key(r),a=null!==t&&t>h&&!n,o=this.wl.Vn(),_=i&&!(o===e)&&this.wl.W().shiftVisibleRangeOnNewBar;if(a&&!_){const i=t-h;this.wl.Jn(this.wl.Eu()-i)}}this.wl.Fu(t)}Kl(t){null!==t&&t.V_()}cr(t){const i=this.vc.find((i=>i.No().includes(t)));return void 0===i?null:i}Vu(){this.kc.On(),this.vc.forEach((t=>t.V_())),this.ql()}S(){this.vc.forEach((t=>t.S())),this.vc.length=0,this.cn.localization.priceFormatter=void 0,this.cn.localization.percentageFormatter=void 0,this.cn.localization.timeFormatter=void 0}nd(){return this.Sc}mr(){return this.Sc.W()}f_(){return this.wc}sd(t,i,n){const s=this.vc[0],e=this.ed(i,t,s,n);return this.mc.push(e),1===this.mc.length?this.$l():this.Fh(),e}rd(t){const i=this.cr(t),n=this.mc.indexOf(t);c(-1!==n,"Series not found"),this.mc.splice(n,1),f(i).jo(t),t.S&&t.S()}Hl(t,i){const n=f(this.cr(t));n.jo(t);const s=this.Ec(i);if(null===s){const s=t.Zi();n.Fo(t,i,s)}else{const e=s.Ut===n?t.Zi():void 0;s.Ut.Fo(t,i,e)}}Ju(){const t=at.ss();t.$n(),this.Dc(t)}hd(t){const i=at.ss();i.Yn(t),this.Dc(i)}Zn(){const t=at.ss();t.Zn(),this.Dc(t)}Gn(t){const i=at.ss();i.Gn(t),this.Dc(i)}Jn(t){const i=at.ss();i.Jn(t),this.Dc(i)}Xn(t){const i=at.ss();i.Xn(t),this.Dc(i)}Un(){const t=at.ss();t.Un(),this.Dc(t)}ld(){return this.cn.rightPriceScale.visible?"right":"left"}ad(){return this.Rc}q(){return this.Tc}zt(t){const i=this.Rc,n=this.Tc;if(i===n)return i;if(t=Math.max(0,Math.min(100,Math.round(100*t))),null===this.Mc||this.Mc.Ts!==n||this.Mc.Ps!==i)this.Mc={Ts:n,Ps:i,od:new Map};else{const i=this.Mc.od.get(t);if(void 0!==i)return i}const s=function(t,i,n){const[s,e,r,h]=S(t),[l,a,o,_]=S(i),u=[m(s+n*(l-s)),m(e+n*(a-e)),m(r+n*(o-r)),b(h+n*(_-h))];return`rgba(${u[0]}, ${u[1]}, ${u[2]}, ${u[3]})`}(n,i,t/100);return this.Mc.od.set(t,s),s}jc(t,i){const n=new at(i);if(null!==t){const s=this.vc.indexOf(t);n.Nn(s,{Fn:i})}return n}Oc(t,i){return void 0===i&&(i=2),this.jc(this.cr(t),i)}Dc(t){this.xc&&this.xc(t),this.vc.forEach((t=>t.E_().Wh().gt()))}ed(t,i,n,s){const e=new Yi(this,t,i,n,s),r=void 0!==t.priceScaleId?t.priceScaleId:this.ld();return n.Fo(e,r),lt(r)||e.Nh(t),e}Pc(t){const i=this.cn.layout;return"gradient"===i.background.type?0===t?i.background.topColor:i.background.bottomColor:i.background.color}}function Bn(t){return!T(t)&&!R(t)}function Vn(t){return T(t)}!function(t){t[t.Disabled=0]="Disabled",t[t.Continuous=1]="Continuous",t[t.OnDataUpdate=2]="OnDataUpdate"}(Pn||(Pn={})),function(t){t[t.LastBar=0]="LastBar",t[t.LastVisible=1]="LastVisible"}(Rn||(Rn={})),function(t){t.Solid="solid",t.VerticalGradient="gradient"}(Dn||(Dn={})),function(t){t[t.Year=0]="Year",t[t.Month=1]="Month",t[t.DayOfMonth=2]="DayOfMonth",t[t.Time=3]="Time",t[t.TimeWithSeconds=4]="TimeWithSeconds"}(On||(On={}));const zn=t=>t.getUTCFullYear();function En(t,i,n){return i.replace(/yyyy/g,(t=>_t(zn(t),4))(t)).replace(/yy/g,(t=>_t(zn(t)%100,2))(t)).replace(/MMMM/g,((t,i)=>new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"long"}))(t,n)).replace(/MMM/g,((t,i)=>new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"short"}))(t,n)).replace(/MM/g,(t=>_t((t=>t.getUTCMonth()+1)(t),2))(t)).replace(/dd/g,(t=>_t((t=>t.getUTCDate())(t),2))(t))}class In{constructor(t="yyyy-MM-dd",i="default"){this._d=t,this.ud=i}F_(t){return En(t,this._d,this.ud)}}class Ln{constructor(t){this.dd=t||"%h:%m:%s"}F_(t){return this.dd.replace("%h",_t(t.getUTCHours(),2)).replace("%m",_t(t.getUTCMinutes(),2)).replace("%s",_t(t.getUTCSeconds(),2))}}const Nn={fd:"yyyy-MM-dd",vd:"%h:%m:%s",pd:" ",md:"default"};class Fn{constructor(t={}){const i=Object.assign(Object.assign({},Nn),t);this.bd=new In(i.fd,i.md),this.wd=new Ln(i.vd),this.gd=i.pd}F_(t){return`${this.bd.F_(t)}${this.gd}${this.wd.F_(t)}`}}function Wn(t){return 60*t*60*1e3}function jn(t){return 60*t*1e3}const Hn=[{Md:($n=1,1e3*$n),xd:10},{Md:jn(1),xd:20},{Md:jn(5),xd:21},{Md:jn(30),xd:22},{Md:Wn(1),xd:30},{Md:Wn(3),xd:31},{Md:Wn(6),xd:32},{Md:Wn(12),xd:33}];var $n;function Un(t,i){if(t.getUTCFullYear()!==i.getUTCFullYear())return 70;if(t.getUTCMonth()!==i.getUTCMonth())return 60;if(t.getUTCDate()!==i.getUTCDate())return 50;for(let n=Hn.length-1;n>=0;--n)if(Math.floor(i.getTime()/Hn[n].Md)!==Math.floor(t.getTime()/Hn[n].Md))return Hn[n].xd;return 0}function qn(t){let i=t;if(R(t)&&(i=Xn(t)),!Bn(i))throw new Error("time must be of type BusinessDay");const n=new Date(Date.UTC(i.year,i.month-1,i.day,0,0,0,0));return{Sd:Math.round(n.getTime()/1e3),yd:i}}function Yn(t){if(!Vn(t))throw new Error("time must be of type isUTCTimestamp");return{Sd:t}}function Xn(t){const i=new Date(t);if(isNaN(i.getTime()))throw new Error(`Invalid date string=${t}, expected format=yyyy-mm-dd`);return{day:i.getUTCDate(),month:i.getUTCMonth()+1,year:i.getUTCFullYear()}}function Kn(t){R(t.time)&&(t.time=Xn(t.time))}class Zn{options(){return this.cn}setOptions(t){this.cn=t,this.updateFormatter(t.localization)}preprocessData(t){Array.isArray(t)?function(t){t.forEach(Kn)}(t):Kn(t)}createConverterToInternalObj(t){return f(function(t){return 0===t.length?null:Bn(t[0].time)||R(t[0].time)?qn:Yn}(t))}key(t){return"object"==typeof t&&"Sd"in t?t.Sd:this.key(this.convertHorzItemToInternal(t))}cacheKey(t){const i=t;return void 0===i.yd?new Date(1e3*i.Sd).getTime():new Date(Date.UTC(i.yd.year,i.yd.month-1,i.yd.day)).getTime()}convertHorzItemToInternal(t){return Vn(i=t)?Yn(i):Bn(i)?qn(i):qn(Xn(i));var i}updateFormatter(t){if(!this.cn)return;const i=t.dateFormat;this.cn.timeScale.timeVisible?this.kd=new Fn({fd:i,vd:this.cn.timeScale.secondsVisible?"%h:%m:%s":"%h:%m",pd:" ",md:t.locale}):this.kd=new In(i,t.locale)}formatHorzItem(t){const i=t;return this.kd.F_(new Date(1e3*i.Sd))}formatTickmark(t,i){const n=function(t,i,n){switch(t){case 0:case 10:return i?n?4:3:2;case 20:case 21:case 22:case 30:case 31:case 32:case 33:return i?3:2;case 50:return 2;case 60:return 1;case 70:return 0}}(t.weight,this.cn.timeScale.timeVisible,this.cn.timeScale.secondsVisible),s=this.cn.timeScale;if(void 0!==s.tickMarkFormatter){const e=s.tickMarkFormatter(t.originalTime,n,i.locale);if(null!==e)return e}return function(t,i,n){const s={};switch(i){case 0:s.year="numeric";break;case 1:s.month="short";break;case 2:s.day="numeric";break;case 3:s.hour12=!1,s.hour="2-digit",s.minute="2-digit";break;case 4:s.hour12=!1,s.hour="2-digit",s.minute="2-digit",s.second="2-digit"}const e=void 0===t.yd?new Date(1e3*t.Sd):new Date(Date.UTC(t.yd.year,t.yd.month-1,t.yd.day));return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()).toLocaleString(n,s)}(t.time,n,i.locale)}maxTickMarkWeight(t){let i=t.reduce(xn,t[0]).weight;return i>30&&i<50&&(i=30),i}fillWeightsForPoints(t,i){!function(t,i=0){if(0===t.length)return;let n=0===i?null:t[i-1].time.Sd,s=null!==n?new Date(1e3*n):null,e=0;for(let r=i;r1){const i=Math.ceil(e/(t.length-1)),n=new Date(1e3*(t[0].time.Sd-i));t[0].timeWeight=Un(new Date(1e3*t[0].time.Sd),n)}}(t,i)}static Cd(t){return C({localization:{dateFormat:"dd MMM 'yy"}},null!=t?t:{})}}function Gn(t){var i=t.width,n=t.height;if(i<0)throw new Error("Negative width is not allowed for Size");if(n<0)throw new Error("Negative height is not allowed for Size");return{width:i,height:n}}function Jn(t,i){return t.width===i.width&&t.height===i.height}var Qn=function(){function t(t){var i=this;this._resolutionListener=function(){return i._onResolutionChanged()},this._resolutionMediaQueryList=null,this._observers=[],this._window=t,this._installResolutionListener()}return t.prototype.dispose=function(){this._uninstallResolutionListener(),this._window=null},Object.defineProperty(t.prototype,"value",{get:function(){return this._window.devicePixelRatio},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){var i=this,n={next:t};return this._observers.push(n),{unsubscribe:function(){i._observers=i._observers.filter((function(t){return t!==n}))}}},t.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw new Error("Resolution listener is already installed");var t=this._window.devicePixelRatio;this._resolutionMediaQueryList=this._window.matchMedia("all and (resolution: ".concat(t,"dppx)")),this._resolutionMediaQueryList.addListener(this._resolutionListener)},t.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},t.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},t.prototype._onResolutionChanged=function(){var t=this;this._observers.forEach((function(i){return i.next(t._window.devicePixelRatio)})),this._reinstallResolutionListener()},t}();var ts=function(){function t(t,i,n){var s;this._canvasElement=null,this._bitmapSizeChangedListeners=[],this._suggestedBitmapSize=null,this._suggestedBitmapSizeChangedListeners=[],this._devicePixelRatioObservable=null,this._canvasElementResizeObserver=null,this._canvasElement=t,this._canvasElementClientSize=Gn({width:this._canvasElement.clientWidth,height:this._canvasElement.clientHeight}),this._transformBitmapSize=null!=i?i:function(t){return t},this._allowResizeObserver=null===(s=null==n?void 0:n.allowResizeObserver)||void 0===s||s,this._chooseAndInitObserver()}return t.prototype.dispose=function(){var t,i;if(null===this._canvasElement)throw new Error("Object is disposed");null===(t=this._canvasElementResizeObserver)||void 0===t||t.disconnect(),this._canvasElementResizeObserver=null,null===(i=this._devicePixelRatioObservable)||void 0===i||i.dispose(),this._devicePixelRatioObservable=null,this._suggestedBitmapSizeChangedListeners.length=0,this._bitmapSizeChangedListeners.length=0,this._canvasElement=null},Object.defineProperty(t.prototype,"canvasElement",{get:function(){if(null===this._canvasElement)throw new Error("Object is disposed");return this._canvasElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasElementClientSize",{get:function(){return this._canvasElementClientSize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bitmapSize",{get:function(){return Gn({width:this.canvasElement.width,height:this.canvasElement.height})},enumerable:!1,configurable:!0}),t.prototype.resizeCanvasElement=function(t){this._canvasElementClientSize=Gn(t),this.canvasElement.style.width="".concat(this._canvasElementClientSize.width,"px"),this.canvasElement.style.height="".concat(this._canvasElementClientSize.height,"px"),this._invalidateBitmapSize()},t.prototype.subscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners=this._bitmapSizeChangedListeners.filter((function(i){return i!==t}))},Object.defineProperty(t.prototype,"suggestedBitmapSize",{get:function(){return this._suggestedBitmapSize},enumerable:!1,configurable:!0}),t.prototype.subscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners=this._suggestedBitmapSizeChangedListeners.filter((function(i){return i!==t}))},t.prototype.applySuggestedBitmapSize=function(){if(null!==this._suggestedBitmapSize){var t=this._suggestedBitmapSize;this._suggestedBitmapSize=null,this._resizeBitmap(t),this._emitSuggestedBitmapSizeChanged(t,this._suggestedBitmapSize)}},t.prototype._resizeBitmap=function(t){var i=this.bitmapSize;Jn(i,t)||(this.canvasElement.width=t.width,this.canvasElement.height=t.height,this._emitBitmapSizeChanged(i,t))},t.prototype._emitBitmapSizeChanged=function(t,i){var n=this;this._bitmapSizeChangedListeners.forEach((function(s){return s.call(n,t,i)}))},t.prototype._suggestNewBitmapSize=function(t){var i=this._suggestedBitmapSize,n=Gn(this._transformBitmapSize(t,this._canvasElementClientSize)),s=Jn(this.bitmapSize,n)?null:n;null===i&&null===s||null!==i&&null!==s&&Jn(i,s)||(this._suggestedBitmapSize=s,this._emitSuggestedBitmapSizeChanged(i,s))},t.prototype._emitSuggestedBitmapSizeChanged=function(t,i){var n=this;this._suggestedBitmapSizeChangedListeners.forEach((function(s){return s.call(n,t,i)}))},t.prototype._chooseAndInitObserver=function(){var t=this;this._allowResizeObserver?new Promise((function(t){var i=new ResizeObserver((function(n){t(n.every((function(t){return"devicePixelContentBoxSize"in t}))),i.disconnect()}));i.observe(document.body,{box:"device-pixel-content-box"})})).catch((function(){return!1})).then((function(i){return i?t._initResizeObserver():t._initDevicePixelRatioObservable()})):this._initDevicePixelRatioObservable()},t.prototype._initDevicePixelRatioObservable=function(){var t=this;if(null!==this._canvasElement){var i=is(this._canvasElement);if(null===i)throw new Error("No window is associated with the canvas");this._devicePixelRatioObservable=function(t){return new Qn(t)}(i),this._devicePixelRatioObservable.subscribe((function(){return t._invalidateBitmapSize()})),this._invalidateBitmapSize()}},t.prototype._invalidateBitmapSize=function(){var t,i;if(null!==this._canvasElement){var n=is(this._canvasElement);if(null!==n){var s=null!==(i=null===(t=this._devicePixelRatioObservable)||void 0===t?void 0:t.value)&&void 0!==i?i:n.devicePixelRatio,e=this._canvasElement.getClientRects(),r=void 0!==e[0]?function(t,i){return Gn({width:Math.round(t.left*i+t.width*i)-Math.round(t.left*i),height:Math.round(t.top*i+t.height*i)-Math.round(t.top*i)})}(e[0],s):Gn({width:this._canvasElementClientSize.width*s,height:this._canvasElementClientSize.height*s});this._suggestNewBitmapSize(r)}}},t.prototype._initResizeObserver=function(){var t=this;null!==this._canvasElement&&(this._canvasElementResizeObserver=new ResizeObserver((function(i){var n=i.find((function(i){return i.target===t._canvasElement}));if(n&&n.devicePixelContentBoxSize&&n.devicePixelContentBoxSize[0]){var s=n.devicePixelContentBoxSize[0],e=Gn({width:s.inlineSize,height:s.blockSize});t._suggestNewBitmapSize(e)}})),this._canvasElementResizeObserver.observe(this._canvasElement,{box:"device-pixel-content-box"}))},t}();function is(t){return t.ownerDocument.defaultView}var ns=function(){function t(t,i,n){if(0===i.width||0===i.height)throw new TypeError("Rendering target could only be created on a media with positive width and height");if(this._mediaSize=i,0===n.width||0===n.height)throw new TypeError("Rendering target could only be created using a bitmap with positive integer width and height");this._bitmapSize=n,this._context=t}return t.prototype.useMediaCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),this._context.scale(this._horizontalPixelRatio,this._verticalPixelRatio),t({context:this._context,mediaSize:this._mediaSize})}finally{this._context.restore()}},t.prototype.useBitmapCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),t({context:this._context,mediaSize:this._mediaSize,bitmapSize:this._bitmapSize,horizontalPixelRatio:this._horizontalPixelRatio,verticalPixelRatio:this._verticalPixelRatio})}finally{this._context.restore()}},Object.defineProperty(t.prototype,"_horizontalPixelRatio",{get:function(){return this._bitmapSize.width/this._mediaSize.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_verticalPixelRatio",{get:function(){return this._bitmapSize.height/this._mediaSize.height},enumerable:!1,configurable:!0}),t}();function ss(t,i){var n=t.canvasElementClientSize;if(0===n.width||0===n.height)return null;var s=t.bitmapSize;if(0===s.width||0===s.height)return null;var e=t.canvasElement.getContext("2d",i);return null===e?null:new ns(e,n,s)}const es="undefined"!=typeof window;function rs(){return!!es&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1}function hs(){return!!es&&/iPhone|iPad|iPod/.test(window.navigator.platform)}function ls(t){return t+t%2}function as(t,i){return t.Td-i.Td}function os(t,i,n){const s=(t.Td-i.Td)/(t.ut-i.ut);return Math.sign(s)*Math.min(Math.abs(s),n)}class _s{constructor(t,i,n,s){this.Pd=null,this.Rd=null,this.Dd=null,this.Od=null,this.Ad=null,this.Bd=0,this.Vd=0,this.zd=t,this.Ed=i,this.Id=n,this.rs=s}Ld(t,i){if(null!==this.Pd){if(this.Pd.ut===i)return void(this.Pd.Td=t);if(Math.abs(this.Pd.Td-t)50)return;let n=0;const s=os(this.Pd,this.Rd,this.Ed),e=as(this.Pd,this.Rd),r=[s],h=[e];if(n+=e,null!==this.Dd){const t=os(this.Rd,this.Dd,this.Ed);if(Math.sign(t)===Math.sign(s)){const i=as(this.Rd,this.Dd);if(r.push(t),h.push(i),n+=i,null!==this.Od){const t=os(this.Dd,this.Od,this.Ed);if(Math.sign(t)===Math.sign(s)){const i=as(this.Dd,this.Od);r.push(t),h.push(i),n+=i}}}}let l=0;for(let t=0;t({width:Math.max(t.width,i.width),height:Math.max(t.height,i.height)})});return s.resizeCanvasElement(i),s}function cs(t,i,n,s){t.G&&t.G(i,n,s)}function ds(t,i,n,s){t.K(i,n,s)}function fs(t,i,n,s){const e=t(n,s);for(const t of e){const n=t.xt();null!==n&&i(n)}}function vs(t){es&&void 0!==window.chrome&&t.addEventListener("mousedown",(t=>{if(1===t.button)return t.preventDefault(),!1}))}class ps{constructor(t,i,n){this.Fd=0,this.Wd=null,this.jd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY},this.Hd=0,this.$d=null,this.Ud={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY},this.qd=null,this.Yd=!1,this.Xd=null,this.Kd=null,this.Zd=!1,this.Gd=!1,this.Jd=!1,this.Qd=null,this.tf=null,this.if=null,this.nf=null,this.sf=null,this.ef=null,this.rf=null,this.hf=0,this.lf=!1,this.af=!1,this._f=!1,this.uf=0,this.cf=null,this.df=!hs(),this.ff=t=>{this.vf(t)},this.pf=t=>{if(this.mf(t)){const i=this.bf(t);if(++this.Hd,this.$d&&this.Hd>1){const{wf:n}=this.gf(ws(t),this.Ud);n<30&&!this.Jd&&this.Mf(i,this.Sf.xf),this.yf()}}else{const i=this.bf(t);if(++this.Fd,this.Wd&&this.Fd>1){const{wf:n}=this.gf(ws(t),this.jd);n<5&&!this.Gd&&this.kf(i,this.Sf.Cf),this.Tf()}}},this.Pf=t,this.Sf=i,this.cn=n,this.Rf()}S(){null!==this.Qd&&(this.Qd(),this.Qd=null),null!==this.tf&&(this.tf(),this.tf=null),null!==this.nf&&(this.nf(),this.nf=null),null!==this.sf&&(this.sf(),this.sf=null),null!==this.ef&&(this.ef(),this.ef=null),null!==this.if&&(this.if(),this.if=null),this.Df(),this.Tf()}Of(t){this.nf&&this.nf();const i=this.Af.bind(this);if(this.nf=()=>{this.Pf.removeEventListener("mousemove",i)},this.Pf.addEventListener("mousemove",i),this.mf(t))return;const n=this.bf(t);this.kf(n,this.Sf.Bf),this.df=!0}Tf(){null!==this.Wd&&clearTimeout(this.Wd),this.Fd=0,this.Wd=null,this.jd={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY}}yf(){null!==this.$d&&clearTimeout(this.$d),this.Hd=0,this.$d=null,this.Ud={et:Number.NEGATIVE_INFINITY,rt:Number.POSITIVE_INFINITY}}Af(t){if(this._f||null!==this.Kd)return;if(this.mf(t))return;const i=this.bf(t);this.kf(i,this.Sf.Vf),this.df=!0}zf(t){const i=Ms(t.changedTouches,f(this.cf));if(null===i)return;if(this.uf=gs(t),null!==this.rf)return;if(this.af)return;this.lf=!0;const n=this.gf(ws(i),f(this.Kd)),{Ef:s,If:e,wf:r}=n;if(this.Zd||!(r<5)){if(!this.Zd){const t=.5*s,i=e>=t&&!this.cn.Lf(),n=t>e&&!this.cn.Nf();i||n||(this.af=!0),this.Zd=!0,this.Jd=!0,this.Df(),this.yf()}if(!this.af){const n=this.bf(t,i);this.Mf(n,this.Sf.Ff),bs(t)}}}Wf(t){if(0!==t.button)return;const i=this.gf(ws(t),f(this.Xd)),{wf:n}=i;if(n>=5&&(this.Gd=!0,this.Tf()),this.Gd){const i=this.bf(t);this.kf(i,this.Sf.jf)}}gf(t,i){const n=Math.abs(i.et-t.et),s=Math.abs(i.rt-t.rt);return{Ef:n,If:s,wf:n+s}}Hf(t){let i=Ms(t.changedTouches,f(this.cf));if(null===i&&0===t.touches.length&&(i=t.changedTouches[0]),null===i)return;this.cf=null,this.uf=gs(t),this.Df(),this.Kd=null,this.ef&&(this.ef(),this.ef=null);const n=this.bf(t,i);if(this.Mf(n,this.Sf.$f),++this.Hd,this.$d&&this.Hd>1){const{wf:t}=this.gf(ws(i),this.Ud);t<30&&!this.Jd&&this.Mf(n,this.Sf.xf),this.yf()}else this.Jd||(this.Mf(n,this.Sf.Uf),this.Sf.Uf&&bs(t));0===this.Hd&&bs(t),0===t.touches.length&&this.Yd&&(this.Yd=!1,bs(t))}vf(t){if(0!==t.button)return;const i=this.bf(t);if(this.Xd=null,this._f=!1,this.sf&&(this.sf(),this.sf=null),rs()){this.Pf.ownerDocument.documentElement.removeEventListener("mouseleave",this.ff)}if(!this.mf(t))if(this.kf(i,this.Sf.qf),++this.Fd,this.Wd&&this.Fd>1){const{wf:n}=this.gf(ws(t),this.jd);n<5&&!this.Gd&&this.kf(i,this.Sf.Cf),this.Tf()}else this.Gd||this.kf(i,this.Sf.Yf)}Df(){null!==this.qd&&(clearTimeout(this.qd),this.qd=null)}Xf(t){if(null!==this.cf)return;const i=t.changedTouches[0];this.cf=i.identifier,this.uf=gs(t);const n=this.Pf.ownerDocument.documentElement;this.Jd=!1,this.Zd=!1,this.af=!1,this.Kd=ws(i),this.ef&&(this.ef(),this.ef=null);{const i=this.zf.bind(this),s=this.Hf.bind(this);this.ef=()=>{n.removeEventListener("touchmove",i),n.removeEventListener("touchend",s)},n.addEventListener("touchmove",i,{passive:!1}),n.addEventListener("touchend",s,{passive:!1}),this.Df(),this.qd=setTimeout(this.Kf.bind(this,t),240)}const s=this.bf(t,i);this.Mf(s,this.Sf.Zf),this.$d||(this.Hd=0,this.$d=setTimeout(this.yf.bind(this),500),this.Ud=ws(i))}Gf(t){if(0!==t.button)return;const i=this.Pf.ownerDocument.documentElement;rs()&&i.addEventListener("mouseleave",this.ff),this.Gd=!1,this.Xd=ws(t),this.sf&&(this.sf(),this.sf=null);{const t=this.Wf.bind(this),n=this.vf.bind(this);this.sf=()=>{i.removeEventListener("mousemove",t),i.removeEventListener("mouseup",n)},i.addEventListener("mousemove",t),i.addEventListener("mouseup",n)}if(this._f=!0,this.mf(t))return;const n=this.bf(t);this.kf(n,this.Sf.Jf),this.Wd||(this.Fd=0,this.Wd=setTimeout(this.Tf.bind(this),500),this.jd=ws(t))}Rf(){this.Pf.addEventListener("mouseenter",this.Of.bind(this)),this.Pf.addEventListener("touchcancel",this.Df.bind(this));{const t=this.Pf.ownerDocument,i=t=>{this.Sf.Qf&&(t.composed&&this.Pf.contains(t.composedPath()[0])||t.target&&this.Pf.contains(t.target)||this.Sf.Qf())};this.tf=()=>{t.removeEventListener("touchstart",i)},this.Qd=()=>{t.removeEventListener("mousedown",i)},t.addEventListener("mousedown",i),t.addEventListener("touchstart",i,{passive:!0})}hs()&&(this.if=()=>{this.Pf.removeEventListener("dblclick",this.pf)},this.Pf.addEventListener("dblclick",this.pf)),this.Pf.addEventListener("mouseleave",this.tv.bind(this)),this.Pf.addEventListener("touchstart",this.Xf.bind(this),{passive:!0}),vs(this.Pf),this.Pf.addEventListener("mousedown",this.Gf.bind(this)),this.iv(),this.Pf.addEventListener("touchmove",(()=>{}),{passive:!1})}iv(){void 0===this.Sf.nv&&void 0===this.Sf.sv&&void 0===this.Sf.ev||(this.Pf.addEventListener("touchstart",(t=>this.rv(t.touches)),{passive:!0}),this.Pf.addEventListener("touchmove",(t=>{if(2===t.touches.length&&null!==this.rf&&void 0!==this.Sf.sv){const i=ms(t.touches[0],t.touches[1])/this.hf;this.Sf.sv(this.rf,i),bs(t)}}),{passive:!1}),this.Pf.addEventListener("touchend",(t=>{this.rv(t.touches)})))}rv(t){1===t.length&&(this.lf=!1),2!==t.length||this.lf||this.Yd?this.hv():this.lv(t)}lv(t){const i=this.Pf.getBoundingClientRect()||{left:0,top:0};this.rf={et:(t[0].clientX-i.left+(t[1].clientX-i.left))/2,rt:(t[0].clientY-i.top+(t[1].clientY-i.top))/2},this.hf=ms(t[0],t[1]),void 0!==this.Sf.nv&&this.Sf.nv(),this.Df()}hv(){null!==this.rf&&(this.rf=null,void 0!==this.Sf.ev&&this.Sf.ev())}tv(t){if(this.nf&&this.nf(),this.mf(t))return;if(!this.df)return;const i=this.bf(t);this.kf(i,this.Sf.av),this.df=!hs()}Kf(t){const i=Ms(t.touches,f(this.cf));if(null===i)return;const n=this.bf(t,i);this.Mf(n,this.Sf.ov),this.Jd=!0,this.Yd=!0}mf(t){return t.sourceCapabilities&&void 0!==t.sourceCapabilities.firesTouchEvents?t.sourceCapabilities.firesTouchEvents:gs(t){"touchstart"!==t.type&&bs(t)}}}}function ms(t,i){const n=t.clientX-i.clientX,s=t.clientY-i.clientY;return Math.sqrt(n*n+s*s)}function bs(t){t.cancelable&&t.preventDefault()}function ws(t){return{et:t.pageX,rt:t.pageY}}function gs(t){return t.timeStamp||performance.now()}function Ms(t,i){for(let n=0;n{var s,e,r,h;return(null!==(e=null===(s=n.At())||void 0===s?void 0:s.xa())&&void 0!==e?e:"")!==i?[]:null!==(h=null===(r=n.la)||void 0===r?void 0:r.call(n,t))&&void 0!==h?h:[]}}class ks{constructor(t,i,n,s){this.Li=null,this.bv=null,this.wv=!1,this.gv=new Qt(200),this.Gr=null,this.Mv=0,this.xv=!1,this.Sv=()=>{this.xv||this.nn.yv().qt().Fh()},this.kv=()=>{this.xv||this.nn.yv().qt().Fh()},this.nn=t,this.cn=i,this.mo=i.layout,this.Sc=n,this.Cv="left"===s,this.Tv=ys("normal",s),this.Pv=ys("top",s),this.Rv=ys("bottom",s),this.Dv=document.createElement("div"),this.Dv.style.height="100%",this.Dv.style.overflow="hidden",this.Dv.style.width="25px",this.Dv.style.left="0",this.Dv.style.position="relative",this.Ov=us(this.Dv,Gn({width:16,height:16})),this.Ov.subscribeSuggestedBitmapSizeChanged(this.Sv);const e=this.Ov.canvasElement;e.style.position="absolute",e.style.zIndex="1",e.style.left="0",e.style.top="0",this.Av=us(this.Dv,Gn({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);const r=this.Av.canvasElement;r.style.position="absolute",r.style.zIndex="2",r.style.left="0",r.style.top="0";const h={Jf:this.Bv.bind(this),Zf:this.Bv.bind(this),jf:this.Vv.bind(this),Ff:this.Vv.bind(this),Qf:this.zv.bind(this),qf:this.Ev.bind(this),$f:this.Ev.bind(this),Cf:this.Iv.bind(this),xf:this.Iv.bind(this),Bf:this.Lv.bind(this),av:this.Nv.bind(this)};this.Fv=new ps(this.Av.canvasElement,h,{Lf:()=>!1,Nf:()=>!0})}S(){this.Fv.S(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose(),this.Ov.unsubscribeSuggestedBitmapSizeChanged(this.Sv),this.Ov.dispose(),null!==this.Li&&this.Li.$o().p(this),this.Li=null}Wv(){return this.Dv}P(){return this.mo.fontSize}jv(){const t=this.Sc.W();return this.Gr!==t.R&&(this.gv.ir(),this.Gr=t.R),t}Hv(){if(null===this.Li)return 0;let t=0;const i=this.jv(),n=f(this.Ov.canvasElement.getContext("2d"));n.save();const s=this.Li.Ia();n.font=this.$v(),s.length>0&&(t=Math.max(this.gv.Si(n,s[0].Za),this.gv.Si(n,s[s.length-1].Za)));const e=this.Uv();for(let i=e.length;i--;){const s=this.gv.Si(n,e[i].Jt());s>t&&(t=s)}const r=this.Li.Pt();if(null!==r&&null!==this.bv){const i=this.Li.pn(1,r),s=this.Li.pn(this.bv.height-2,r);t=Math.max(t,this.gv.Si(n,this.Li.Wi(Math.floor(Math.min(i,s))+.11111111111111,r)),this.gv.Si(n,this.Li.Wi(Math.ceil(Math.max(i,s))-.11111111111111,r)))}n.restore();const h=t||34;return ls(Math.ceil(i.C+i.T+i.V+i.I+5+h))}qv(t){null!==this.bv&&Jn(this.bv,t)||(this.bv=t,this.xv=!0,this.Ov.resizeCanvasElement(t),this.Av.resizeCanvasElement(t),this.xv=!1,this.Dv.style.width=`${t.width}px`,this.Dv.style.height=`${t.height}px`)}Yv(){return f(this.bv).width}Ji(t){this.Li!==t&&(null!==this.Li&&this.Li.$o().p(this),this.Li=t,t.$o().l(this.ao.bind(this),this))}At(){return this.Li}ir(){const t=this.nn.Xv();this.nn.yv().qt().A_(t,f(this.At()))}Kv(t){if(null===this.bv)return;if(1!==t){this.Zv(),this.Ov.applySuggestedBitmapSize();const t=ss(this.Ov);null!==t&&(t.useBitmapCoordinateSpace((t=>{this.Gv(t),this.Ve(t)})),this.nn.Jv(t,this.Rv),this.Qv(t),this.nn.Jv(t,this.Tv),this.tp(t))}this.Av.applySuggestedBitmapSize();const i=ss(this.Av);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.ip(i),this.nn.Jv(i,this.Pv))}np(){return this.Ov.bitmapSize}sp(t,i,n){const s=this.np();s.width>0&&s.height>0&&t.drawImage(this.Ov.canvasElement,i,n)}gt(){var t;null===(t=this.Li)||void 0===t||t.Ia()}Bv(t){if(null===this.Li||this.Li.Fi()||!this.cn.handleScale.axisPressedMouseMove.price)return;const i=this.nn.yv().qt(),n=this.nn.Xv();this.wv=!0,i.k_(n,this.Li,t.localY)}Vv(t){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;const i=this.nn.yv().qt(),n=this.nn.Xv(),s=this.Li;i.C_(n,s,t.localY)}zv(){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;const t=this.nn.yv().qt(),i=this.nn.Xv(),n=this.Li;this.wv&&(this.wv=!1,t.T_(i,n))}Ev(t){if(null===this.Li||!this.cn.handleScale.axisPressedMouseMove.price)return;const i=this.nn.yv().qt(),n=this.nn.Xv();this.wv=!1,i.T_(n,this.Li)}Iv(t){this.cn.handleScale.axisDoubleClickReset.price&&this.ir()}Lv(t){if(null===this.Li)return;!this.nn.yv().qt().W().handleScale.axisPressedMouseMove.price||this.Li.ph()||this.Li.Co()||this.ep(1)}Nv(t){this.ep(0)}Uv(){const t=[],i=null===this.Li?void 0:this.Li;return(n=>{for(let s=0;s{t.fillStyle=n.borderColor;const l=Math.max(1,Math.floor(h)),a=Math.floor(.5*h),o=Math.round(s.T*r);t.beginPath();for(const n of i)t.rect(Math.floor(e*r),Math.round(n.Aa*h)-a,o,l);t.fill()})),t.useMediaCoordinateSpace((({context:t})=>{var r;t.font=this.$v(),t.fillStyle=null!==(r=n.textColor)&&void 0!==r?r:this.mo.textColor,t.textAlign=this.Cv?"right":"left",t.textBaseline="middle";const h=this.Cv?Math.round(e-s.V):Math.round(e+s.T+s.V),l=i.map((i=>this.gv.xi(t,i.Za)));for(let n=i.length;n--;){const s=i[n];t.fillText(s.Za,h,s.Aa+l[n])}}))}Zv(){if(null===this.bv||null===this.Li)return;let t=this.bv.height/2;const i=[],n=this.Li.No().slice(),s=this.nn.Xv(),e=this.jv();this.Li===s.vr()&&this.nn.Xv().No().forEach((t=>{s.dr(t)&&n.push(t)}));const r=this.Li.Ta()[0],h=this.Li;n.forEach((n=>{const e=n.Rn(s,h);e.forEach((t=>{t.Bi(null),t.Vi()&&i.push(t)})),r===n&&e.length>0&&(t=e[0].ki())})),i.forEach((t=>t.Bi(t.ki())));this.Li.W().alignLabels&&this.rp(i,e,t)}rp(t,i,n){if(null===this.bv)return;const s=t.filter((t=>t.ki()<=n)),e=t.filter((t=>t.ki()>n));s.sort(((t,i)=>i.ki()-t.ki())),s.length&&e.length&&e.push(s[0]),e.sort(((t,i)=>t.ki()-i.ki()));for(const n of t){const t=Math.floor(n.Et(i)/2),s=n.ki();s>-t&&sthis.bv.height-t&&sl-r&&n.Bi(l-r)}for(let t=1;t{if(i.zi()){i.xt(f(this.Li)).K(t,n,this.gv,s)}}))}ip(t){if(null===this.bv||null===this.Li)return;const i=this.nn.yv().qt(),n=[],s=this.nn.Xv(),e=i.Nc().Rn(s,this.Li);e.length&&n.push(e);const r=this.jv(),h=this.Cv?"right":"left";n.forEach((i=>{i.forEach((i=>{i.xt(f(this.Li)).K(t,r,this.gv,h)}))}))}ep(t){this.Dv.style.cursor=1===t?"ns-resize":"default"}ao(){const t=this.Hv();this.Mv{this.xv||null===this.bp||this.Ui().Fh()},this.kv=()=>{this.xv||null===this.bp||this.Ui().Fh()},this.wp=t,this.bp=i,this.bp.z_().l(this.gp.bind(this),this,!0),this.Mp=document.createElement("td"),this.Mp.style.padding="0",this.Mp.style.position="relative";const n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="relative",n.style.overflow="hidden",this.xp=document.createElement("td"),this.xp.style.padding="0",this.Sp=document.createElement("td"),this.Sp.style.padding="0",this.Mp.appendChild(n),this.Ov=us(n,Gn({width:16,height:16})),this.Ov.subscribeSuggestedBitmapSizeChanged(this.Sv);const s=this.Ov.canvasElement;s.style.position="absolute",s.style.zIndex="1",s.style.left="0",s.style.top="0",this.Av=us(n,Gn({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);const e=this.Av.canvasElement;e.style.position="absolute",e.style.zIndex="2",e.style.left="0",e.style.top="0",this.yp=document.createElement("tr"),this.yp.appendChild(this.xp),this.yp.appendChild(this.Mp),this.yp.appendChild(this.Sp),this.kp(),this.Fv=new ps(this.Av.canvasElement,this,{Lf:()=>null===this.fp&&!this.wp.W().handleScroll.vertTouchDrag,Nf:()=>null===this.fp&&!this.wp.W().handleScroll.horzTouchDrag})}S(){null!==this.hp&&this.hp.S(),null!==this.lp&&this.lp.S(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose(),this.Ov.unsubscribeSuggestedBitmapSizeChanged(this.Sv),this.Ov.dispose(),null!==this.bp&&this.bp.z_().p(this),this.Fv.S()}Xv(){return f(this.bp)}Cp(t){null!==this.bp&&this.bp.z_().p(this),this.bp=t,null!==this.bp&&this.bp.z_().l(Ds.prototype.gp.bind(this),this,!0),this.kp()}yv(){return this.wp}Wv(){return this.yp}kp(){if(null!==this.bp&&(this.Tp(),0!==this.Ui().Mt().length)){if(null!==this.hp){const t=this.bp.S_();this.hp.Ji(f(t))}if(null!==this.lp){const t=this.bp.y_();this.lp.Ji(f(t))}}}Pp(){null!==this.hp&&this.hp.gt(),null!==this.lp&&this.lp.gt()}v_(){return null!==this.bp?this.bp.v_():0}p_(t){this.bp&&this.bp.p_(t)}Bf(t){if(!this.bp)return;this.Rp();const i=t.localX,n=t.localY;this.Dp(i,n,t)}Jf(t){this.Rp(),this.Op(),this.Dp(t.localX,t.localY,t)}Vf(t){var i;if(!this.bp)return;this.Rp();const n=t.localX,s=t.localY;this.Dp(n,s,t);const e=this.br(n,s);this.wp.Ap(null!==(i=null==e?void 0:e.mv)&&void 0!==i?i:null),this.Ui().Bc(e&&{Vc:e.Vc,vv:e.vv})}Yf(t){null!==this.bp&&(this.Rp(),this.Bp(t))}Cf(t){null!==this.bp&&this.Vp(this.up,t)}xf(t){this.Cf(t)}jf(t){this.Rp(),this.zp(t),this.Dp(t.localX,t.localY,t)}qf(t){null!==this.bp&&(this.Rp(),this.dp=!1,this.Ep(t))}Uf(t){null!==this.bp&&this.Bp(t)}ov(t){if(this.dp=!0,null===this.fp){const i={x:t.localX,y:t.localY};this.Ip(i,i,t)}}av(t){null!==this.bp&&(this.Rp(),this.bp.qt().Bc(null),this.Lp())}Np(){return this._p}Fp(){return this.up}nv(){this.cp=1,this.Ui().Un()}sv(t,i){if(!this.wp.W().handleScale.pinch)return;const n=5*(i-this.cp);this.cp=i,this.Ui().$c(t.et,n)}Zf(t){this.dp=!1,this.vp=null!==this.fp,this.Op();const i=this.Ui().Nc();null!==this.fp&&i.Tt()&&(this.pp={x:i.Kt(),y:i.Zt()},this.fp={x:t.localX,y:t.localY})}Ff(t){if(null===this.bp)return;const i=t.localX,n=t.localY;if(null===this.fp)this.zp(t);else{this.vp=!1;const s=f(this.pp),e=s.x+(i-this.fp.x),r=s.y+(n-this.fp.y);this.Dp(e,r,t)}}$f(t){0===this.yv().W().trackingMode.exitMode&&(this.vp=!0),this.Wp(),this.Ep(t)}br(t,i){const n=this.bp;return null===n?null:function(t,i,n){const s=t.No(),e=function(t,i,n){var s,e;let r,h;for(const o of t){const t=null!==(e=null===(s=o.oa)||void 0===s?void 0:s.call(o,i,n))&&void 0!==e?e:[];for(const i of t)l=i.zOrder,(!(a=null==r?void 0:r.zOrder)||"top"===l&&"top"!==a||"normal"===l&&"bottom"===a)&&(r=i,h=o)}var l,a;return r&&h?{pv:r,Vc:h}:null}(s,i,n);if("top"===(null==e?void 0:e.pv.zOrder))return xs(e);for(const r of s){if(e&&e.Vc===r&&"bottom"!==e.pv.zOrder&&!e.pv.isBackground)return xs(e);const s=Ss(r.Pn(t),i,n);if(null!==s)return{Vc:r,dv:s.dv,vv:s.vv};if(e&&e.Vc===r&&"bottom"!==e.pv.zOrder&&e.pv.isBackground)return xs(e)}return(null==e?void 0:e.pv)?xs(e):null}(n,t,i)}jp(t,i){f("left"===i?this.hp:this.lp).qv(Gn({width:t,height:this.bv.height}))}Hp(){return this.bv}qv(t){Jn(this.bv,t)||(this.bv=t,this.xv=!0,this.Ov.resizeCanvasElement(t),this.Av.resizeCanvasElement(t),this.xv=!1,this.Mp.style.width=t.width+"px",this.Mp.style.height=t.height+"px")}$p(){const t=f(this.bp);t.x_(t.S_()),t.x_(t.y_());for(const i of t.Ta())if(t.dr(i)){const n=i.At();null!==n&&t.x_(n),i.On()}}np(){return this.Ov.bitmapSize}sp(t,i,n){const s=this.np();s.width>0&&s.height>0&&t.drawImage(this.Ov.canvasElement,i,n)}Kv(t){if(0===t)return;if(null===this.bp)return;if(t>1&&this.$p(),null!==this.hp&&this.hp.Kv(t),null!==this.lp&&this.lp.Kv(t),1!==t){this.Ov.applySuggestedBitmapSize();const t=ss(this.Ov);null!==t&&(t.useBitmapCoordinateSpace((t=>{this.Gv(t)})),this.bp&&(this.Up(t,Cs),this.qp(t),this.Yp(t),this.Up(t,Ts),this.Up(t,Ps)))}this.Av.applySuggestedBitmapSize();const i=ss(this.Av);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.Xp(i),this.Up(i,Rs))}Kp(){return this.hp}Zp(){return this.lp}Jv(t,i){this.Up(t,i)}gp(){null!==this.bp&&this.bp.z_().p(this),this.bp=null}Bp(t){this.Vp(this._p,t)}Vp(t,i){const n=i.localX,s=i.localY;t.M()&&t.m(this.Ui().kt().Au(n),{x:n,y:s},i)}Gv({context:t,bitmapSize:i}){const{width:n,height:s}=i,e=this.Ui(),r=e.q(),h=e.ad();r===h?Y(t,0,0,n,s,h):G(t,0,0,n,s,r,h)}qp(t){const i=f(this.bp).E_().Wh().xt();null!==i&&i.K(t,!1)}Yp(t){const i=this.Ui().Lc();this.Gp(t,Ts,cs,i),this.Gp(t,Ts,ds,i)}Xp(t){this.Gp(t,Ts,ds,this.Ui().Nc())}Up(t,i){const n=f(this.bp).No();for(const s of n)this.Gp(t,i,cs,s);for(const s of n)this.Gp(t,i,ds,s)}Gp(t,i,n,s){const e=f(this.bp),r=e.qt().Ac(),h=null!==r&&r.Vc===s,l=null!==r&&h&&void 0!==r.vv?r.vv.gr:void 0;fs(i,(i=>n(i,t,h,l)),s,e)}Tp(){if(null===this.bp)return;const t=this.wp,i=this.bp.S_().W().visible,n=this.bp.y_().W().visible;i||null===this.hp||(this.xp.removeChild(this.hp.Wv()),this.hp.S(),this.hp=null),n||null===this.lp||(this.Sp.removeChild(this.lp.Wv()),this.lp.S(),this.lp=null);const s=t.qt().nd();i&&null===this.hp&&(this.hp=new ks(this,t.W(),s,"left"),this.xp.appendChild(this.hp.Wv())),n&&null===this.lp&&(this.lp=new ks(this,t.W(),s,"right"),this.Sp.appendChild(this.lp.Wv()))}Jp(t){return t._v&&this.dp||null!==this.fp}Qp(t){return Math.max(0,Math.min(t,this.bv.width-1))}tm(t){return Math.max(0,Math.min(t,this.bv.height-1))}Dp(t,i,n){this.Ui().Gc(this.Qp(t),this.tm(i),n,f(this.bp))}Lp(){this.Ui().Qc()}Wp(){this.vp&&(this.fp=null,this.Lp())}Ip(t,i,n){this.fp=t,this.vp=!1,this.Dp(i.x,i.y,n);const s=this.Ui().Nc();this.pp={x:s.Kt(),y:s.Zt()}}Ui(){return this.wp.qt()}Ep(t){if(!this.op)return;const i=this.Ui(),n=this.Xv();if(i.D_(n,n.vn()),this.ap=null,this.op=!1,i.Xc(),null!==this.mp){const t=performance.now(),n=i.kt();this.mp.Dr(n.Eu(),t),this.mp.qu(t)||i.Xn(this.mp)}}Rp(){this.fp=null}Op(){if(!this.bp)return;if(this.Ui().Un(),document.activeElement!==document.body&&document.activeElement!==document.documentElement)f(document.activeElement).blur();else{const t=document.getSelection();null!==t&&t.removeAllRanges()}!this.bp.vn().Fi()&&this.Ui().kt().Fi()}zp(t){if(null===this.bp)return;const i=this.Ui(),n=i.kt();if(n.Fi())return;const s=this.wp.W(),e=s.handleScroll,r=s.kineticScroll;if((!e.pressedMouseMove||t._v)&&(!e.horzTouchDrag&&!e.vertTouchDrag||!t._v))return;const h=this.bp.vn(),l=performance.now();if(null!==this.ap||this.Jp(t)||(this.ap={x:t.clientX,y:t.clientY,Sd:l,im:t.localX,nm:t.localY}),null!==this.ap&&!this.op&&(this.ap.x!==t.clientX||this.ap.y!==t.clientY)){if(t._v&&r.touch||!t._v&&r.mouse){const t=n.he();this.mp=new _s(.2/t,7/t,.997,15/t),this.mp.Ld(n.Eu(),this.ap.Sd)}else this.mp=null;h.Fi()||i.P_(this.bp,h,t.localY),i.qc(t.localX),this.op=!0}this.op&&(h.Fi()||i.R_(this.bp,h,t.localY),i.Yc(t.localX),null!==this.mp&&this.mp.Ld(n.Eu(),l))}}class Os{constructor(t,i,n,s,e){this.bt=!0,this.bv=Gn({width:0,height:0}),this.Sv=()=>this.Kv(3),this.Cv="left"===t,this.Sc=n.nd,this.cn=i,this.sm=s,this.rm=e,this.Dv=document.createElement("div"),this.Dv.style.width="25px",this.Dv.style.height="100%",this.Dv.style.overflow="hidden",this.Ov=us(this.Dv,Gn({width:16,height:16})),this.Ov.subscribeSuggestedBitmapSizeChanged(this.Sv)}S(){this.Ov.unsubscribeSuggestedBitmapSizeChanged(this.Sv),this.Ov.dispose()}Wv(){return this.Dv}Hp(){return this.bv}qv(t){Jn(this.bv,t)||(this.bv=t,this.Ov.resizeCanvasElement(t),this.Dv.style.width=`${t.width}px`,this.Dv.style.height=`${t.height}px`,this.bt=!0)}Kv(t){if(t<3&&!this.bt)return;if(0===this.bv.width||0===this.bv.height)return;this.bt=!1,this.Ov.applySuggestedBitmapSize();const i=ss(this.Ov);null!==i&&i.useBitmapCoordinateSpace((t=>{this.Gv(t),this.Ve(t)}))}np(){return this.Ov.bitmapSize}sp(t,i,n){const s=this.np();s.width>0&&s.height>0&&t.drawImage(this.Ov.canvasElement,i,n)}Ve({context:t,bitmapSize:i,horizontalPixelRatio:n,verticalPixelRatio:s}){if(!this.sm())return;t.fillStyle=this.cn.timeScale.borderColor;const e=Math.floor(this.Sc.W().C*n),r=Math.floor(this.Sc.W().C*s),h=this.Cv?i.width-e:0;t.fillRect(h,0,e,r)}Gv({context:t,bitmapSize:i}){Y(t,0,0,i.width,i.height,this.rm())}}function As(t){return i=>{var n,s;return null!==(s=null===(n=i.aa)||void 0===n?void 0:n.call(i,t))&&void 0!==s?s:[]}}const Bs=As("normal"),Vs=As("top"),zs=As("bottom");class Es{constructor(t,i){this.hm=null,this.lm=null,this.k=null,this.am=!1,this.bv=Gn({width:0,height:0}),this.om=new k,this.gv=new Qt(5),this.xv=!1,this.Sv=()=>{this.xv||this.wp.qt().Fh()},this.kv=()=>{this.xv||this.wp.qt().Fh()},this.wp=t,this.N_=i,this.cn=t.W().layout,this._m=document.createElement("tr"),this.um=document.createElement("td"),this.um.style.padding="0",this.dm=document.createElement("td"),this.dm.style.padding="0",this.Dv=document.createElement("td"),this.Dv.style.height="25px",this.Dv.style.padding="0",this.fm=document.createElement("div"),this.fm.style.width="100%",this.fm.style.height="100%",this.fm.style.position="relative",this.fm.style.overflow="hidden",this.Dv.appendChild(this.fm),this.Ov=us(this.fm,Gn({width:16,height:16})),this.Ov.subscribeSuggestedBitmapSizeChanged(this.Sv);const n=this.Ov.canvasElement;n.style.position="absolute",n.style.zIndex="1",n.style.left="0",n.style.top="0",this.Av=us(this.fm,Gn({width:16,height:16})),this.Av.subscribeSuggestedBitmapSizeChanged(this.kv);const s=this.Av.canvasElement;s.style.position="absolute",s.style.zIndex="2",s.style.left="0",s.style.top="0",this._m.appendChild(this.um),this._m.appendChild(this.Dv),this._m.appendChild(this.dm),this.vm(),this.wp.qt().f_().l(this.vm.bind(this),this),this.Fv=new ps(this.Av.canvasElement,this,{Lf:()=>!0,Nf:()=>!1})}S(){this.Fv.S(),null!==this.hm&&this.hm.S(),null!==this.lm&&this.lm.S(),this.Av.unsubscribeSuggestedBitmapSizeChanged(this.kv),this.Av.dispose(),this.Ov.unsubscribeSuggestedBitmapSizeChanged(this.Sv),this.Ov.dispose()}Wv(){return this._m}pm(){return this.hm}bm(){return this.lm}Jf(t){if(this.am)return;this.am=!0;const i=this.wp.qt();!i.kt().Fi()&&this.wp.W().handleScale.axisPressedMouseMove.time&&i.Hc(t.localX)}Zf(t){this.Jf(t)}Qf(){const t=this.wp.qt();!t.kt().Fi()&&this.am&&(this.am=!1,this.wp.W().handleScale.axisPressedMouseMove.time&&t.Zc())}jf(t){const i=this.wp.qt();!i.kt().Fi()&&this.wp.W().handleScale.axisPressedMouseMove.time&&i.Kc(t.localX)}Ff(t){this.jf(t)}qf(){this.am=!1;const t=this.wp.qt();t.kt().Fi()&&!this.wp.W().handleScale.axisPressedMouseMove.time||t.Zc()}$f(){this.qf()}Cf(){this.wp.W().handleScale.axisDoubleClickReset.time&&this.wp.qt().Zn()}xf(){this.Cf()}Bf(){this.wp.qt().W().handleScale.axisPressedMouseMove.time&&this.ep(1)}av(){this.ep(0)}Hp(){return this.bv}wm(){return this.om}gm(t,i,n){Jn(this.bv,t)||(this.bv=t,this.xv=!0,this.Ov.resizeCanvasElement(t),this.Av.resizeCanvasElement(t),this.xv=!1,this.Dv.style.width=`${t.width}px`,this.Dv.style.height=`${t.height}px`,this.om.m(t)),null!==this.hm&&this.hm.qv(Gn({width:i,height:t.height})),null!==this.lm&&this.lm.qv(Gn({width:n,height:t.height}))}Mm(){const t=this.xm();return Math.ceil(t.C+t.T+t.P+t.L+t.B+t.Sm)}gt(){this.wp.qt().kt().Ia()}np(){return this.Ov.bitmapSize}sp(t,i,n){const s=this.np();s.width>0&&s.height>0&&t.drawImage(this.Ov.canvasElement,i,n)}Kv(t){if(0===t)return;if(1!==t){this.Ov.applySuggestedBitmapSize();const i=ss(this.Ov);null!==i&&(i.useBitmapCoordinateSpace((t=>{this.Gv(t),this.Ve(t),this.ym(i,zs)})),this.Qv(i),this.ym(i,Bs)),null!==this.hm&&this.hm.Kv(t),null!==this.lm&&this.lm.Kv(t)}this.Av.applySuggestedBitmapSize();const i=ss(this.Av);null!==i&&(i.useBitmapCoordinateSpace((({context:t,bitmapSize:i})=>{t.clearRect(0,0,i.width,i.height)})),this.km([...this.wp.qt().Mt(),this.wp.qt().Nc()],i),this.ym(i,Vs))}ym(t,i){const n=this.wp.qt().Mt();for(const s of n)fs(i,(i=>cs(i,t,!1,void 0)),s,void 0);for(const s of n)fs(i,(i=>ds(i,t,!1,void 0)),s,void 0)}Gv({context:t,bitmapSize:i}){Y(t,0,0,i.width,i.height,this.wp.qt().ad())}Ve({context:t,bitmapSize:i,verticalPixelRatio:n}){if(this.wp.W().timeScale.borderVisible){t.fillStyle=this.Cm();const s=Math.max(1,Math.floor(this.xm().C*n));t.fillRect(0,0,i.width,s)}}Qv(t){const i=this.wp.qt().kt(),n=i.Ia();if(!n||0===n.length)return;const s=this.N_.maxTickMarkWeight(n),e=this.xm(),r=i.W();r.borderVisible&&r.ticksVisible&&t.useBitmapCoordinateSpace((({context:t,horizontalPixelRatio:i,verticalPixelRatio:s})=>{t.strokeStyle=this.Cm(),t.fillStyle=this.Cm();const r=Math.max(1,Math.floor(i)),h=Math.floor(.5*i);t.beginPath();const l=Math.round(e.T*s);for(let s=n.length;s--;){const e=Math.round(n[s].coord*i);t.rect(e-h,0,r,l)}t.fill()})),t.useMediaCoordinateSpace((({context:t})=>{const i=e.C+e.T+e.L+e.P/2;t.textAlign="center",t.textBaseline="middle",t.fillStyle=this.$(),t.font=this.$v();for(const e of n)if(e.weight=s){const n=e.needAlignCoordinate?this.Tm(t,e.coord,e.label):e.coord;t.fillText(e.label,n,i)}}))}Tm(t,i,n){const s=this.gv.Si(t,n),e=s/2,r=Math.floor(i-e)+.5;return r<0?i+=Math.abs(0-r):r+s>this.bv.width&&(i-=Math.abs(this.bv.width-(r+s))),i}km(t,i){const n=this.xm();for(const s of t)for(const t of s.tn())t.xt().K(i,n)}Cm(){return this.wp.W().timeScale.borderColor}$(){return this.cn.textColor}j(){return this.cn.fontSize}$v(){return z(this.j(),this.cn.fontFamily)}Pm(){return z(this.j(),this.cn.fontFamily,"bold")}xm(){null===this.k&&(this.k={C:1,N:NaN,L:NaN,B:NaN,Hi:NaN,T:5,P:NaN,R:"",ji:new Qt,Sm:0});const t=this.k,i=this.$v();if(t.R!==i){const n=this.j();t.P=n,t.R=i,t.L=3*n/12,t.B=3*n/12,t.Hi=9*n/12,t.N=0,t.Sm=4*n/12,t.ji.ir()}return this.k}ep(t){this.Dv.style.cursor=1===t?"ew-resize":"default"}vm(){const t=this.wp.qt(),i=t.W();i.leftPriceScale.visible||null===this.hm||(this.um.removeChild(this.hm.Wv()),this.hm.S(),this.hm=null),i.rightPriceScale.visible||null===this.lm||(this.dm.removeChild(this.lm.Wv()),this.lm.S(),this.lm=null);const n={nd:this.wp.qt().nd()},s=()=>i.leftPriceScale.borderVisible&&t.kt().W().borderVisible,e=()=>t.ad();i.leftPriceScale.visible&&null===this.hm&&(this.hm=new Os("left",i,n,s,e),this.um.appendChild(this.hm.Wv())),i.rightPriceScale.visible&&null===this.lm&&(this.lm=new Os("right",i,n,s,e),this.dm.appendChild(this.lm.Wv()))}}const Is=!!es&&!!navigator.userAgentData&&navigator.userAgentData.brands.some((t=>t.brand.includes("Chromium")))&&!!es&&((null===(Ls=null===navigator||void 0===navigator?void 0:navigator.userAgentData)||void 0===Ls?void 0:Ls.platform)?"Windows"===navigator.userAgentData.platform:navigator.userAgent.toLowerCase().indexOf("win")>=0);var Ls;class Ns{constructor(t,i,n){var s;this.Rm=[],this.Dm=0,this.Qa=0,this.e_=0,this.Om=0,this.Am=0,this.Bm=null,this.Vm=!1,this._p=new k,this.up=new k,this.gc=new k,this.zm=null,this.Em=null,this.Im=t,this.cn=i,this.N_=n,this._m=document.createElement("div"),this._m.classList.add("tv-lightweight-charts"),this._m.style.overflow="hidden",this._m.style.direction="ltr",this._m.style.width="100%",this._m.style.height="100%",(s=this._m).style.userSelect="none",s.style.webkitUserSelect="none",s.style.msUserSelect="none",s.style.MozUserSelect="none",s.style.webkitTapHighlightColor="transparent",this.Lm=document.createElement("table"),this.Lm.setAttribute("cellspacing","0"),this._m.appendChild(this.Lm),this.Nm=this.Fm.bind(this),Fs(this.cn)&&this.Wm(!0),this.Ui=new An(this.xc.bind(this),this.cn,n),this.qt().Fc().l(this.jm.bind(this),this),this.Hm=new Es(this,this.N_),this.Lm.appendChild(this.Hm.Wv());const e=i.autoSize&&this.$m();let r=this.cn.width,h=this.cn.height;if(e||0===r||0===h){const i=t.getBoundingClientRect();r=r||i.width,h=h||i.height}this.Um(r,h),this.qm(),t.appendChild(this._m),this.Ym(),this.Ui.kt().Zu().l(this.Ui.$l.bind(this.Ui),this),this.Ui.f_().l(this.Ui.$l.bind(this.Ui),this)}qt(){return this.Ui}W(){return this.cn}Xm(){return this.Rm}Km(){return this.Hm}S(){this.Wm(!1),0!==this.Dm&&window.cancelAnimationFrame(this.Dm),this.Ui.Fc().p(this),this.Ui.kt().Zu().p(this),this.Ui.f_().p(this),this.Ui.S();for(const t of this.Rm)this.Lm.removeChild(t.Wv()),t.Np().p(this),t.Fp().p(this),t.S();this.Rm=[],f(this.Hm).S(),null!==this._m.parentElement&&this._m.parentElement.removeChild(this._m),this.gc.S(),this._p.S(),this.up.S(),this.Zm()}Um(t,i,n=!1){if(this.Qa===i&&this.e_===t)return;const s=function(t){const i=Math.floor(t.width),n=Math.floor(t.height);return Gn({width:i-i%2,height:n-n%2})}(Gn({width:t,height:i}));this.Qa=s.height,this.e_=s.width;const e=this.Qa+"px",r=this.e_+"px";f(this._m).style.height=e,f(this._m).style.width=r,this.Lm.style.height=e,this.Lm.style.width=r,n?this.Gm(at.es(),performance.now()):this.Ui.$l()}Kv(t){void 0===t&&(t=at.es());for(let i=0;i{let s=0;for(let e=0;e{f("left"===i?this.Hm.pm():this.Hm.bm()).sp(f(t),n,s)};if(this.cn.timeScale.visible){const i=this.Hm.np();if(null!==t){let e=0;this.nb()&&(r("left",e,n),e=f(s.Kp()).np().width),this.Hm.sp(t,e,n),e+=i.width,this.sb()&&r("right",e,n)}n+=i.height}return Gn({width:i,height:n})}ab(){let t=0,i=0,n=0;for(const s of this.Rm)this.nb()&&(i=Math.max(i,f(s.Kp()).Hv(),this.cn.leftPriceScale.minimumWidth)),this.sb()&&(n=Math.max(n,f(s.Zp()).Hv(),this.cn.rightPriceScale.minimumWidth)),t+=s.v_();i=ls(i),n=ls(n);const s=this.e_,e=this.Qa,r=Math.max(s-i-n,0),h=this.cn.timeScale.visible;let l=h?Math.max(this.Hm.Mm(),this.cn.timeScale.minimumHeight):0;var a;l=(a=l)+a%2;const o=0+l,_=e{t.Pp()})),3===(null===(n=this.Bm)||void 0===n?void 0:n.jn())&&(this.Bm.ts(t),this._b(),this.ub(this.Bm),this.cb(this.Bm,i),t=this.Bm,this.Bm=null)),this.Kv(t)}cb(t,i){for(const n of t.Qn())this.ns(n,i)}ub(t){const i=this.Ui.Ic();for(let n=0;n{if(this.Vm=!1,this.Dm=0,null!==this.Bm){const i=this.Bm;this.Bm=null,this.Gm(i,t);for(const n of i.Qn())if(5===n.qn&&!n.Bt.qu(t)){this.qt().Xn(n.Bt);break}}})))}_b(){this.qm()}qm(){const t=this.Ui.Ic(),i=t.length,n=this.Rm.length;for(let t=i;t{const n=i.zn().nl(t);null!==n&&e.set(i,n)}))}let r;if(null!==t){const i=null===(s=this.Ui.kt().qi(t))||void 0===s?void 0:s.originalTime;void 0!==i&&(r=i)}const h=this.qt().Ac(),l=null!==h&&h.Vc instanceof Yi?h.Vc:void 0,a=null!==h&&void 0!==h.vv?h.vv.wr:void 0;return{mb:r,se:null!=t?t:void 0,bb:null!=i?i:void 0,wb:l,gb:e,Mb:a,xb:null!=n?n:void 0}}fb(t,i,n){this._p.m((()=>this.pb(t,i,n)))}vb(t,i,n){this.up.m((()=>this.pb(t,i,n)))}jm(t,i,n){this.gc.m((()=>this.pb(t,i,n)))}Ym(){const t=this.cn.timeScale.visible?"":"none";this.Hm.Wv().style.display=t}nb(){return this.Rm[0].Xv().S_().W().visible}sb(){return this.Rm[0].Xv().y_().W().visible}$m(){return"ResizeObserver"in window&&(this.zm=new ResizeObserver((t=>{const i=t.find((t=>t.target===this.Im));i&&this.Um(i.contentRect.width,i.contentRect.height)})),this.zm.observe(this.Im,{box:"border-box"}),!0)}Zm(){null!==this.zm&&this.zm.disconnect(),this.zm=null}}function Fs(t){return Boolean(t.handleScroll.mouseWheel||t.handleScale.mouseWheel)}function Ws(t,i){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&i.indexOf(s)<0&&(n[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(s=Object.getOwnPropertySymbols(t);efunction(t,i){return i?i(t):void 0===(n=t).open&&void 0===n.value;var n}(s,h)?Ks({ut:i,se:n,mb:e},s):Ks(t(i,n,s,e,r),s)}function Gs(t){return{Candlestick:Zs(qs),Bar:Zs(Us),Area:Zs(Hs),Baseline:Zs($s),Histogram:Zs(js),Line:Zs(js),Custom:Zs(Ys)}[t]}function Js(t){return{se:0,yb:new Map,ia:t}}function Qs(t,i){if(void 0!==t&&0!==t.length)return{kb:i.key(t[0].ut),Cb:i.key(t[t.length-1].ut)}}function te(t){let i;return t.forEach((t=>{void 0===i&&(i=t.mb)})),d(i)}class ie{constructor(t){this.Tb=new Map,this.Pb=new Map,this.Rb=new Map,this.Db=[],this.N_=t}S(){this.Tb.clear(),this.Pb.clear(),this.Rb.clear(),this.Db=[]}Ob(t,i){let n=0!==this.Tb.size,s=!1;const e=this.Pb.get(t);if(void 0!==e)if(1===this.Pb.size)n=!1,s=!0,this.Tb.clear();else for(const i of this.Db)i.pointData.yb.delete(t)&&(s=!0);let r=[];if(0!==i.length){const n=i.map((t=>t.time)),e=this.N_.createConverterToInternalObj(i),h=Gs(t.Xh()),l=t.ga(),a=t.Ma();r=i.map(((i,r)=>{const o=e(i.time),_=this.N_.key(o);let u=this.Tb.get(_);void 0===u&&(u=Js(o),this.Tb.set(_,u),s=!0);const c=h(o,u.se,i,n[r],l,a);return u.yb.set(t,c),c}))}n&&this.Ab(),this.Bb(t,r);let h=-1;if(s){const t=[];this.Tb.forEach((i=>{t.push({timeWeight:0,time:i.ia,pointData:i,originalTime:te(i.yb)})})),t.sort(((t,i)=>this.N_.key(t.time)-this.N_.key(i.time))),h=this.Vb(t)}return this.zb(t,h,function(t,i,n){const s=Qs(t,n),e=Qs(i,n);if(void 0!==s&&void 0!==e)return{Xl:s.Cb>=e.Cb&&s.kb>=e.kb}}(this.Pb.get(t),e,this.N_))}rd(t){return this.Ob(t,[])}Eb(t,i){const n=i;!function(t){void 0===t.mb&&(t.mb=t.time)}(n),this.N_.preprocessData(i);const s=this.N_.createConverterToInternalObj([i])(i.time),e=this.Rb.get(t);if(void 0!==e&&this.N_.key(s)this.N_.key(t.time)this.N_.key(s.ut)?Xs(i)&&n.push(i):Xs(i)?n[n.length-1]=i:n.splice(-1,1),this.Rb.set(t,i.ut)}Bb(t,i){0!==i.length?(this.Pb.set(t,i.filter(Xs)),this.Rb.set(t,i[i.length-1].ut)):(this.Pb.delete(t),this.Rb.delete(t))}Ab(){for(const t of this.Db)0===t.pointData.yb.size&&this.Tb.delete(this.N_.key(t.time))}Vb(t){let i=-1;for(let n=0;n{0!==i.length&&(t=Math.max(t,i[i.length-1].se))})),t}zb(t,i,n){const s={Nb:new Map,kt:{Ou:this.Lb()}};if(-1!==i)this.Pb.forEach(((i,e)=>{s.Nb.set(e,{He:i,Fb:e===t?n:void 0})})),this.Pb.has(t)||s.Nb.set(t,{He:[],Fb:n}),s.kt.Wb=this.Db,s.kt.jb=i;else{const i=this.Pb.get(t);s.Nb.set(t,{He:i||[],Fb:n})}return s}}function ne(t,i){t.se=i,t.yb.forEach((t=>{t.se=i}))}function se(t){const i={value:t.Bt[3],time:t.mb};return void 0!==t.Sb&&(i.customValues=t.Sb),i}function ee(t){const i=se(t);return void 0!==t.O&&(i.color=t.O),i}function re(t){const i=se(t);return void 0!==t._t&&(i.lineColor=t._t),void 0!==t.Ts&&(i.topColor=t.Ts),void 0!==t.Ps&&(i.bottomColor=t.Ps),i}function he(t){const i=se(t);return void 0!==t.Pe&&(i.topLineColor=t.Pe),void 0!==t.Re&&(i.bottomLineColor=t.Re),void 0!==t.Se&&(i.topFillColor1=t.Se),void 0!==t.ye&&(i.topFillColor2=t.ye),void 0!==t.ke&&(i.bottomFillColor1=t.ke),void 0!==t.Ce&&(i.bottomFillColor2=t.Ce),i}function le(t){const i={open:t.Bt[0],high:t.Bt[1],low:t.Bt[2],close:t.Bt[3],time:t.mb};return void 0!==t.Sb&&(i.customValues=t.Sb),i}function ae(t){const i=le(t);return void 0!==t.O&&(i.color=t.O),i}function oe(t){const i=le(t),{O:n,Vt:s,$h:e}=t;return void 0!==n&&(i.color=n),void 0!==s&&(i.borderColor=s),void 0!==e&&(i.wickColor=e),i}function _e(t){return{Area:re,Line:ee,Baseline:he,Histogram:ee,Bar:ae,Candlestick:oe,Custom:ue}[t]}function ue(t){const i=t.mb;return Object.assign(Object.assign({},t.He),{time:i})}const ce={vertLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#131722"},horzLine:{color:"#9598A1",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#131722"},mode:1},de={vertLines:{color:"#D6DCDE",style:0,visible:!0},horzLines:{color:"#D6DCDE",style:0,visible:!0}},fe={background:{type:"solid",color:"#FFFFFF"},textColor:"#191919",fontSize:12,fontFamily:V},ve={autoScale:!0,mode:0,invertScale:!1,alignLabels:!0,borderVisible:!0,borderColor:"#2B2B43",entireTextOnly:!1,visible:!1,ticksVisible:!1,scaleMargins:{bottom:.1,top:.2},minimumWidth:0},pe={rightOffset:0,barSpacing:6,minBarSpacing:.5,fixLeftEdge:!1,fixRightEdge:!1,lockVisibleTimeRangeOnResize:!1,rightBarStaysOnScroll:!1,borderVisible:!0,borderColor:"#2B2B43",visible:!0,timeVisible:!1,secondsVisible:!0,shiftVisibleRangeOnNewBar:!0,ticksVisible:!1,uniformDistribution:!1,minimumHeight:0},me={color:"rgba(0, 0, 0, 0)",visible:!1,fontSize:48,fontFamily:V,fontStyle:"",text:"",horzAlign:"center",vertAlign:"center"};function be(){return{width:0,height:0,autoSize:!1,layout:fe,crosshair:ce,grid:de,overlayPriceScales:Object.assign({},ve),leftPriceScale:Object.assign(Object.assign({},ve),{visible:!1}),rightPriceScale:Object.assign(Object.assign({},ve),{visible:!0}),timeScale:pe,watermark:me,localization:{locale:es?navigator.language:"",dateFormat:"dd MMM 'yy"},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0},handleScale:{axisPressedMouseMove:{time:!0,price:!0},axisDoubleClickReset:{time:!0,price:!0},mouseWheel:!0,pinch:!0},kineticScroll:{mouse:!1,touch:!0},trackingMode:{exitMode:1}}}class we{constructor(t,i){this.Hb=t,this.$b=i}applyOptions(t){this.Hb.qt().zc(this.$b,t)}options(){return this.Li().W()}width(){return lt(this.$b)?this.Hb.ib(this.$b):0}Li(){return f(this.Hb.qt().Ec(this.$b)).At}}function ge(t,i,n){const s=Ws(t,["time","originalTime"]),e=Object.assign({time:i},s);return void 0!==n&&(e.originalTime=n),e}const Me={color:"#FF0000",price:0,lineStyle:2,lineWidth:1,lineVisible:!0,axisLabelVisible:!0,title:"",axisLabelColor:"",axisLabelTextColor:""};class xe{constructor(t){this.Vh=t}applyOptions(t){this.Vh.Nh(t)}options(){return this.Vh.W()}Ub(){return this.Vh}}class Se{constructor(t,i,n,s,e){this.qb=new k,this.Is=t,this.Yb=i,this.Xb=n,this.N_=e,this.Kb=s}S(){this.qb.S()}priceFormatter(){return this.Is.ca()}priceToCoordinate(t){const i=this.Is.Pt();return null===i?null:this.Is.At().Ot(t,i.Bt)}coordinateToPrice(t){const i=this.Is.Pt();return null===i?null:this.Is.At().pn(t,i.Bt)}barsInLogicalRange(t){if(null===t)return null;const i=new Mn(new bn(t.from,t.to)).iu(),n=this.Is.zn();if(n.Fi())return null;const s=n.nl(i.Os(),1),e=n.nl(i.di(),-1),r=f(n.Qh()),h=f(n.Vn());if(null!==s&&null!==e&&s.se>e.se)return{barsBefore:t.from-r,barsAfter:h-t.to};const l={barsBefore:null===s||s.se===r?t.from-r:s.se-r,barsAfter:null===e||e.se===h?h-t.to:h-e.se};return null!==s&&null!==e&&(l.from=s.mb,l.to=e.mb),l}setData(t){this.N_,this.Is.Xh(),this.Yb.Zb(this.Is,t),this.Gb("full")}update(t){this.Is.Xh(),this.Yb.Jb(this.Is,t),this.Gb("update")}dataByIndex(t,i){const n=this.Is.zn().nl(t,i);if(null===n)return null;return _e(this.seriesType())(n)}data(){const t=_e(this.seriesType());return this.Is.zn().ie().map((i=>t(i)))}subscribeDataChanged(t){this.qb.l(t)}unsubscribeDataChanged(t){this.qb.v(t)}setMarkers(t){this.N_;const i=t.map((t=>ge(t,this.N_.convertHorzItemToInternal(t.time),t.time)));this.Is.Zl(i)}markers(){return this.Is.Gl().map((t=>ge(t,t.originalTime,void 0)))}applyOptions(t){this.Is.Nh(t)}options(){return O(this.Is.W())}priceScale(){return this.Xb.priceScale(this.Is.At().xa())}createPriceLine(t){const i=C(O(Me),t),n=this.Is.Jl(i);return new xe(n)}removePriceLine(t){this.Is.Ql(t.Ub())}seriesType(){return this.Is.Xh()}attachPrimitive(t){this.Is.ba(t),t.attached&&t.attached({chart:this.Kb,series:this,requestUpdate:()=>this.Is.qt().$l()})}detachPrimitive(t){this.Is.wa(t),t.detached&&t.detached()}Gb(t){this.qb.M()&&this.qb.m(t)}}class ye{constructor(t,i,n){this.Qb=new k,this.uu=new k,this.om=new k,this.Ui=t,this.wl=t.kt(),this.Hm=i,this.wl.Xu().l(this.tw.bind(this)),this.wl.Ku().l(this.iw.bind(this)),this.Hm.wm().l(this.nw.bind(this)),this.N_=n}S(){this.wl.Xu().p(this),this.wl.Ku().p(this),this.Hm.wm().p(this),this.Qb.S(),this.uu.S(),this.om.S()}scrollPosition(){return this.wl.Eu()}scrollToPosition(t,i){i?this.wl.Uu(t,1e3):this.Ui.Jn(t)}scrollToRealTime(){this.wl.$u()}getVisibleRange(){const t=this.wl.ku();return null===t?null:{from:t.from.originalTime,to:t.to.originalTime}}setVisibleRange(t){const i={from:this.N_.convertHorzItemToInternal(t.from),to:this.N_.convertHorzItemToInternal(t.to)},n=this.wl.Pu(i);this.Ui.hd(n)}getVisibleLogicalRange(){const t=this.wl.yu();return null===t?null:{from:t.Os(),to:t.di()}}setVisibleLogicalRange(t){c(t.from<=t.to,"The from index cannot be after the to index."),this.Ui.hd(t)}resetTimeScale(){this.Ui.Zn()}fitContent(){this.Ui.Ju()}logicalToCoordinate(t){const i=this.Ui.kt();return i.Fi()?null:i.It(t)}coordinateToLogical(t){return this.wl.Fi()?null:this.wl.Au(t)}timeToCoordinate(t){const i=this.N_.convertHorzItemToInternal(t),n=this.wl.ka(i,!1);return null===n?null:this.wl.It(n)}coordinateToTime(t){const i=this.Ui.kt(),n=i.Au(t),s=i.qi(n);return null===s?null:s.originalTime}width(){return this.Hm.Hp().width}height(){return this.Hm.Hp().height}subscribeVisibleTimeRangeChange(t){this.Qb.l(t)}unsubscribeVisibleTimeRangeChange(t){this.Qb.v(t)}subscribeVisibleLogicalRangeChange(t){this.uu.l(t)}unsubscribeVisibleLogicalRangeChange(t){this.uu.v(t)}subscribeSizeChange(t){this.om.l(t)}unsubscribeSizeChange(t){this.om.v(t)}applyOptions(t){this.wl.Nh(t)}options(){return Object.assign(Object.assign({},O(this.wl.W())),{barSpacing:this.wl.he()})}tw(){this.Qb.M()&&this.Qb.m(this.getVisibleRange())}iw(){this.uu.M()&&this.uu.m(this.getVisibleLogicalRange())}nw(t){this.om.m(t.width,t.height)}}function ke(t){if(void 0===t||"custom"===t.type)return;const i=t;void 0!==i.minMove&&void 0===i.precision&&(i.precision=function(t){if(t>=1)return 0;let i=0;for(;i<8;i++){const n=Math.round(t);if(Math.abs(n-t)<1e-8)return i;t*=10}return i}(i.minMove))}function Ce(t){return function(t){if(D(t.handleScale)){const i=t.handleScale;t.handleScale={axisDoubleClickReset:{time:i,price:i},axisPressedMouseMove:{time:i,price:i},mouseWheel:i,pinch:i}}else if(void 0!==t.handleScale){const{axisPressedMouseMove:i,axisDoubleClickReset:n}=t.handleScale;D(i)&&(t.handleScale.axisPressedMouseMove={time:i,price:i}),D(n)&&(t.handleScale.axisDoubleClickReset={time:n,price:n})}const i=t.handleScroll;D(i)&&(t.handleScroll={horzTouchDrag:i,vertTouchDrag:i,mouseWheel:i,pressedMouseMove:i})}(t),t}class Te{constructor(t,i,n){this.sw=new Map,this.ew=new Map,this.rw=new k,this.hw=new k,this.lw=new k,this.aw=new ie(i);const s=void 0===n?O(be()):C(O(be()),Ce(n));this.N_=i,this.Hb=new Ns(t,s,i),this.Hb.Np().l((t=>{this.rw.M()&&this.rw.m(this.ow(t()))}),this),this.Hb.Fp().l((t=>{this.hw.M()&&this.hw.m(this.ow(t()))}),this),this.Hb.Fc().l((t=>{this.lw.M()&&this.lw.m(this.ow(t()))}),this);const e=this.Hb.qt();this._w=new ye(e,this.Hb.Km(),this.N_)}remove(){this.Hb.Np().p(this),this.Hb.Fp().p(this),this.Hb.Fc().p(this),this._w.S(),this.Hb.S(),this.sw.clear(),this.ew.clear(),this.rw.S(),this.hw.S(),this.lw.S(),this.aw.S()}resize(t,i,n){this.autoSizeActive()||this.Hb.Um(t,i,n)}addCustomSeries(t,i){const n=v(t),s=Object.assign(Object.assign({},h),n.defaultOptions());return this.uw("Custom",s,i,n)}addAreaSeries(t){return this.uw("Area",s,t)}addBaselineSeries(t){return this.uw("Baseline",e,t)}addBarSeries(t){return this.uw("Bar",i,t)}addCandlestickSeries(i={}){return function(t){void 0!==t.borderColor&&(t.borderUpColor=t.borderColor,t.borderDownColor=t.borderColor),void 0!==t.wickColor&&(t.wickUpColor=t.wickColor,t.wickDownColor=t.wickColor)}(i),this.uw("Candlestick",t,i)}addHistogramSeries(t){return this.uw("Histogram",r,t)}addLineSeries(t){return this.uw("Line",n,t)}removeSeries(t){const i=d(this.sw.get(t)),n=this.aw.rd(i);this.Hb.qt().rd(i),this.cw(n),this.sw.delete(t),this.ew.delete(i)}Zb(t,i){this.cw(this.aw.Ob(t,i))}Jb(t,i){this.cw(this.aw.Eb(t,i))}subscribeClick(t){this.rw.l(t)}unsubscribeClick(t){this.rw.v(t)}subscribeCrosshairMove(t){this.lw.l(t)}unsubscribeCrosshairMove(t){this.lw.v(t)}subscribeDblClick(t){this.hw.l(t)}unsubscribeDblClick(t){this.hw.v(t)}priceScale(t){return new we(this.Hb,t)}timeScale(){return this._w}applyOptions(t){this.Hb.Nh(Ce(t))}options(){return this.Hb.W()}takeScreenshot(){return this.Hb.Qm()}autoSizeActive(){return this.Hb.eb()}chartElement(){return this.Hb.rb()}paneSize(){const t=this.Hb.lb();return{height:t.height,width:t.width}}setCrosshairPosition(t,i,n){const s=this.sw.get(n);if(void 0===s)return;const e=this.Hb.qt().cr(s);null!==e&&this.Hb.qt().Jc(t,i,e)}clearCrosshairPosition(){this.Hb.qt().Qc(!0)}uw(t,i,n={},s){ke(n.priceFormat);const e=C(O(l),O(i),n),r=this.Hb.qt().sd(t,e,s),h=new Se(r,this,this,this,this.N_);return this.sw.set(h,r),this.ew.set(r,h),h}cw(t){const i=this.Hb.qt();i.td(t.kt.Ou,t.kt.Wb,t.kt.jb),t.Nb.forEach(((t,i)=>i.it(t.He,t.Fb))),i.Vu()}dw(t){return d(this.ew.get(t))}ow(t){const i=new Map;t.gb.forEach(((t,n)=>{const s=n.Xh(),e=_e(s)(t);if("Custom"!==s)c(function(t){return void 0!==t.open||void 0!==t.value}(e));else{const t=n.Ma();c(!t||!1===t(e))}i.set(this.dw(n),e)}));const n=void 0===t.wb?void 0:this.dw(t.wb);return{time:t.mb,logical:t.se,point:t.bb,hoveredSeries:n,hoveredObjectId:t.Mb,seriesData:i,sourceEvent:t.xb}}}function Pe(t,i,n){let s;if(R(t)){const i=document.getElementById(t);c(null!==i,`Cannot find element in DOM with id=${t}`),s=i}else s=t;const e=new Te(s,i,n);return i.setOptions(e.options()),e}const Re=Object.assign(Object.assign({},l),h);var De=Object.freeze({__proto__:null,get ColorType(){return Dn},get CrosshairMode(){return rt},get LastPriceAnimationMode(){return Pn},get LineStyle(){return o},get LineType(){return a},get MismatchDirection(){return Bi},get PriceLineSource(){return Rn},get PriceScaleMode(){return cn},get TickMarkType(){return On},get TrackingModeExitMode(){return Tn},createChart:function(t,i){return Pe(t,new Zn,Zn.Cd(i))},createChartEx:Pe,customSeriesDefaultOptions:Re,isBusinessDay:Bn,isUTCTimestamp:Vn,version:function(){return"4.1.0"}});window.LightweightCharts=De}(); diff --git a/v2realbot/static/js/libs/loader.min.js b/v2realbot/static/js/libs/loader.min.js deleted file mode 100644 index 36b5cdf..0000000 --- a/v2realbot/static/js/libs/loader.min.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";const _amdLoaderGlobal=this,_commonjsGlobal="object"==typeof global?global:{};var define,AMDLoader;!function(e){e.global=_amdLoaderGlobal;class t{get isWindows(){return this._detect(),this._isWindows}get isNode(){return this._detect(),this._isNode}get isElectronRenderer(){return this._detect(),this._isElectronRenderer}get isWebWorker(){return this._detect(),this._isWebWorker}get isElectronNodeIntegrationWebWorker(){return this._detect(),this._isElectronNodeIntegrationWebWorker}constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}_detect(){this._detected||(this._detected=!0,this._isWindows=t._isWindows(),this._isNode=typeof module<"u"&&!!module.exports,this._isElectronRenderer=typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&"renderer"===process.type,this._isWebWorker="function"==typeof e.global.importScripts,this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&"worker"===process.type)}static _isWindows(){return!!(typeof navigator<"u"&&navigator.userAgent&&0<=navigator.userAgent.indexOf("Windows"))||typeof process<"u"&&"win32"===process.platform}}e.Environment=t}(AMDLoader=AMDLoader||{}),function(r){class i{constructor(e,t,r){this.type=e,this.detail=t,this.timestamp=r}}r.LoaderEvent=i;r.LoaderEventRecorder=class{constructor(e){this._events=[new i(1,"",e)]}record(e,t){this._events.push(new i(e,t,r.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}};class e{record(e,t){}getEvents(){return[]}}e.INSTANCE=new e,r.NullLoaderEventRecorder=e}(AMDLoader=AMDLoader||{}),function(e){class i{static fileUriToFilePath(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}static startsWith(e,t){return e.length>=t.length&&e.substr(0,t.length)===t}static endsWith(e,t){return e.length>=t.length&&e.substr(e.length-t.length)===t}static containsQueryString(e){return/^[^\#]*\?/gi.test(e)}static isAbsolutePath(e){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(e)}static forEachProperty(t,r){if(t){let e;for(e in t)t.hasOwnProperty(e)&&r(e,t[e])}}static isEmpty(e){let t=!0;return i.forEachProperty(e,()=>{t=!1}),t}static recursiveClone(e){if(!e||"object"!=typeof e||e instanceof RegExp||!Array.isArray(e)&&Object.getPrototypeOf(e)!==Object.prototype)return e;let r=Array.isArray(e)?[]:{};return i.forEachProperty(e,(e,t)=>{r[e]=t&&"object"==typeof t?i.recursiveClone(t):t}),r}static generateAnonymousModule(){return"===anonymous"+i.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(e){return i.startsWith(e,"===anonymous")}static getHighPerformanceTimestamp(){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()}}i.NEXT_ANONYMOUS_ID=1,i.PERFORMANCE_NOW_PROBED=!1,i.HAS_PERFORMANCE_NOW=!1,e.Utilities=i}(AMDLoader=AMDLoader||{}),function(n){function r(e){if(e instanceof Error)return e;const t=new Error(e.message||String(e)||"Unknown Error");return e.stack&&(t.stack=e.stack),t}n.ensureError=r;class i{static validateConfigurationOptions(e){if("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={}),"u"{"ignoreDuplicateModules"===e&&typeof r.ignoreDuplicateModules<"u"?r.ignoreDuplicateModules=r.ignoreDuplicateModules.concat(t):"paths"===e&&typeof r.paths<"u"?n.Utilities.forEachProperty(t,(e,t)=>r.paths[e]=t):"config"===e&&typeof r.config<"u"?n.Utilities.forEachProperty(t,(e,t)=>r.config[e]=t):r[e]=n.Utilities.recursiveClone(t)}),i.validateConfigurationOptions(r)}}n.ConfigurationOptionsUtil=i;n.Configuration=class t{constructor(e,t){if(this._env=e,this.options=i.mergeConfigurationOptions(t),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),""===this.options.baseUrl&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let e=this.options.nodeRequire.main.filename,t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));this.options.baseUrl=e.substring(0,t+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let e=0;e{Array.isArray(t)?this.sortedPathsRules.push({from:e,to:t}):this.sortedPathsRules.push({from:e,to:[t]})}),this.sortedPathsRules.sort((e,t)=>t.from.length-e.from.length)}cloneAndMerge(e){return new t(this._env,i.mergeConfigurationOptions(e,this.options))}getOptionsLiteral(){return this.options}_applyPaths(i){var o;for(let e=0,t=this.sortedPathsRules.length;ethis.triggerCallback(t),e=>this.triggerErrorback(t,e)))}triggerCallback(e){let t=this._callbackMap[e];delete this._callbackMap[e];for(let e=0;e{e.removeEventListener("load",o),e.removeEventListener("error",n)},o=e=>{i(),t()},n=e=>{i(),r(e)};e.addEventListener("load",o),e.addEventListener("error",n)}load(o,n,s,l){if(/^node\|/.test(n)){let e=o.getConfig().getOptionsLiteral(),t=_(o.getRecorder(),e.nodeRequire||p.global.nodeRequire),r=n.split("|"),i=null;try{i=t(r[1])}catch(e){return void l(e)}o.enqueueDefineAnonymousModule([],()=>i),s()}else{let e=document.createElement("script");e.setAttribute("async","async"),e.setAttribute("type","text/javascript"),this.attachListeners(e,s,l);const t=o.getConfig().getOptionsLiteral()["trustedTypesPolicy"];t&&(n=t.createScriptURL(n)),e.setAttribute("src",n);s=o.getConfig().getOptionsLiteral()["cspNonce"];s&&e.setAttribute("nonce",s),document.getElementsByTagName("head")[0].appendChild(e)}}}class s{constructor(){this._cachedCanUseEval=null}_canUseEval(e){return null===this._cachedCanUseEval&&(this._cachedCanUseEval=function(e){const t=e.getConfig().getOptionsLiteral()["trustedTypesPolicy"];try{return(t?self.eval(t.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}(e)),this._cachedCanUseEval}load(t,r,i,o){if(/^node\|/.test(r)){const n=t.getConfig().getOptionsLiteral(),s=_(t.getRecorder(),n.nodeRequire||p.global.nodeRequire),l=r.split("|");let e=null;try{e=s(l[1])}catch(e){return void o(e)}t.enqueueDefineAnonymousModule([],function(){return e}),i()}else{const d=t.getConfig().getOptionsLiteral()["trustedTypesPolicy"];if(/^((http:)|(https:)|(file:))/.test(r)&&r.substring(0,self.origin.length)!==self.origin||!this._canUseEval(t))try{d&&(r=d.createScriptURL(r)),importScripts(r),i()}catch(e){o(e)}else fetch(r).then(e=>{if(200!==e.status)throw new Error(e.statusText);return e.text()}).then(e=>{e=e+` -//# sourceURL=`+r,(d?self.eval(d.createScript("",e)):new Function(e)).call(self),i()}).then(void 0,o)}}}class f{constructor(e){this._env=e,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(e){this._didInitialize||(this._didInitialize=!0,this._fs=e("fs"),this._vm=e("vm"),this._path=e("path"),this._crypto=e("crypto"))}_initNodeRequire(e,f){const _=f.getConfig().getOptionsLiteral()["nodeCachedData"];if(_&&!this._didPatchNodeRequire){this._didPatchNodeRequire=!0;const m=this,y=e("module");function g(r){const i=r.constructor;function e(e){return r.require(e)}return(e.resolve=function(e,t){return i._resolveFilename(e,r,!1,t)}).paths=function(e){return i._resolveLookupPaths(e,r)},e.main=process.mainModule,e.extensions=i._extensions,e.cache=i._cache,e}y.prototype._compile=function(e,t){const r=y.wrap(e.replace(/^#!.*/,"")),i=f.getRecorder(),o=m._getCachedDataPath(_,t),n={filename:t};let s;try{const p=m._fs.readFileSync(o);s=p.slice(0,16),n.cachedData=p.slice(16),i.record(60,o)}catch{i.record(61,o)}const l=new m._vm.Script(r,n),d=l.runInThisContext(n),a=m._path.dirname(t),u=g(this),c=[this.exports,u,this,t,a,process,_commonjsGlobal,Buffer],h=d.apply(this.exports,c);return m._handleCachedData(l,r,o,!n.cachedData,f),m._verifyCachedData(l,r,o,s,f),h}}}load(n,r,s,l){const e=n.getConfig().getOptionsLiteral(),i=_(n.getRecorder(),e.nodeRequire||p.global.nodeRequire),d=e.nodeInstrumenter||function(e){return e};this._init(i),this._initNodeRequire(i,n);var t=n.getRecorder();if(/^node\|/.test(r)){let e=r.split("|"),t=null;try{t=i(e[1])}catch(e){return void l(e)}n.enqueueDefineAnonymousModule([],()=>t),s()}else{r=p.Utilities.fileUriToFilePath(this._env.isWindows,r);const a=this._path.normalize(r),u=this._getElectronRendererScriptPathOrUri(a),c=!!e.nodeCachedData,h=c?this._getCachedDataPath(e.nodeCachedData,r):void 0;this._readSourceAndCachedData(a,h,t,(t,r,i,o)=>{if(t)l(t);else{let e;e=r.charCodeAt(0)===f._BOM?f._PREFIX+r.substring(1)+f._SUFFIX:f._PREFIX+r+f._SUFFIX,e=d(e,a);t={filename:u,cachedData:i},r=this._createAndEvalScript(n,e,t,s,l);this._handleCachedData(r,e,h,c&&!i,n),this._verifyCachedData(r,e,h,o,n)}})}}_createAndEvalScript(e,t,r,i,o){const n=e.getRecorder(),s=(n.record(31,r.filename),new this._vm.Script(t,r)),l=s.runInThisContext(r),d=e.getGlobalAMDDefineFunc();let a=!1;function u(){return a=!0,d.apply(null,arguments)}return u.amd=d.amd,l.call(p.global,e.getGlobalAMDRequireFunc(),u,r.filename,this._path.dirname(r.filename)),n.record(32,r.filename),a?i():o(new Error(`Didn't receive define call in ${r.filename}!`)),s}_getElectronRendererScriptPathOrUri(e){if(!this._env.isElectronRenderer)return e;let t=e.match(/^([a-z])\:(.*)/i);return t?"file:///"+(t[1].toUpperCase()+":"+t[2]).replace(/\\/g,"/"):"file://"+e}_getCachedDataPath(e,t){var r=this._crypto.createHash("md5").update(t,"utf8").update(e.seed,"utf8").update(process.arch,"").digest("hex"),t=this._path.basename(t).replace(/\.js$/,"");return this._path.join(e.path,t+`-${r}.code`)}_handleCachedData(t,r,i,e,o){t.cachedDataRejected?this._fs.unlink(i,e=>{o.getRecorder().record(62,i),this._createAndWriteCachedData(t,r,i,o),e&&o.getConfig().onError(e)}):e&&this._createAndWriteCachedData(t,r,i,o)}_createAndWriteCachedData(t,r,i,o){let e=Math.ceil(o.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),n=-1,s=0,l;const d=()=>{setTimeout(()=>{l=l||this._crypto.createHash("md5").update(r,"utf8").digest();var e=t.createCachedData();0===e.length||e.length===n||5<=s||(e.length{e&&o.getConfig().onError(e),o.getRecorder().record(63,i),d()})))},e*Math.pow(4,s++))};d()}_readSourceAndCachedData(e,n,s,l){if(n){let r,i,o,t=2;const d=e=>{e?l(e):0==--t&&l(void 0,r,i,o)};this._fs.readFile(e,{encoding:"utf8"},(e,t)=>{r=t,d(e)}),this._fs.readFile(n,(e,t)=>{!e&&t&&0{var e=this._crypto.createHash("md5").update(t,"utf8").digest();i.equals(e)||(o.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${r}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(r,e=>{e&&o.getConfig().onError(e)}))},Math.ceil(5e3*(1+Math.random())))}}function _(t,r){if(r.__$__isRecorded)return r;function e(e){t.record(33,e);try{return r(e)}finally{t.record(34,e)}}return e.__$__isRecorded=!0,e}f._BOM=65279,f._PREFIX="(function (require, define, __filename, __dirname) { ",f._SUFFIX=` -});`,p.ensureRecordedNodeRequire=_,p.createScriptLoader=function(e){return new t(e)}}(AMDLoader=AMDLoader||{}),function(n){class d{constructor(e){var t=e.lastIndexOf("/");this.fromModulePath=-1!==t?e.substr(0,t+1):""}static _normalizeModuleId(e){let t=e,r;for(r=/\/\.\//;r.test(t);)t=t.replace(r,"/");for(t=t.replace(/^\.\//g,""),r=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;r.test(t);)t=t.replace(r,"/");return t=t.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,"")}resolveModule(e){let t=e;return n.Utilities.isAbsolutePath(t)||(n.Utilities.startsWith(t,"./")||n.Utilities.startsWith(t,"../"))&&(t=d._normalizeModuleId(this.fromModulePath+t)),t}}d.ROOT=new d(""),n.ModuleIdResolver=d;class a{constructor(e,t,r,i,o,n){this.id=e,this.strId=t,this.dependencies=r,this._callback=i,this._errorback=o,this.moduleIdResolver=n,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(e,t){try{return{returnedValue:e.apply(n.global,t),producedError:null}}catch(e){return{returnedValue:null,producedError:e}}}static _invokeFactory(e,t,r,i){return e.shouldInvokeFactory(t)?e.shouldCatchError()?this._safeInvokeFunction(r,i):{returnedValue:r.apply(n.global,i),producedError:null}:{returnedValue:null,producedError:null}}complete(e,t,r,i){this._isComplete=!0;let o=null;if(this._callback&&("function"==typeof this._callback?(e.record(21,this.strId),r=a._invokeFactory(t,this.strId,this._callback,r),o=r.producedError,e.record(22,this.strId),!o&&typeof r.returnedValue<"u"&&(!this.exportsPassedIn||n.Utilities.isEmpty(this.exports))&&(this.exports=r.returnedValue)):this.exports=this._callback),o){let e=n.ensureError(o);e.phase="factory",e.moduleId=this.strId,e.neededBy=i(this.id),this.error=e,t.onError(e)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(e){return this._isComplete=!0,this.error=e,!!this._errorback&&(this._errorback(e),!0)}isComplete(){return this._isComplete}}n.Module=a;class s{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(e){let t=this._strModuleIdToIntModuleId.get(e);return"u"e.replace(/\\/g,"/"),n=o(e),r=t.split(/\n/);for(let e=0;ethis._moduleIdProvider.getStrModuleId(e.id))),this._resolve(e)}}_normalizeDependency(e,t){if("exports"===e)return u.EXPORTS;if("module"===e)return u.MODULE;if("require"===e)return u.REQUIRE;var r,i,o=e.indexOf("!");return 0<=o?(i=t.resolveModule(e.substr(0,o)),o=t.resolveModule(e.substr(o+1)),r=this._moduleIdProvider.getModuleId(i+"!"+o),i=this._moduleIdProvider.getModuleId(i),new l(r,i,o)):new u(this._moduleIdProvider.getModuleId(t.resolveModule(e)))}_normalizeDependencies(r,i){let o=[],n=0;for(let e=0,t=r.length;ethis._moduleIdProvider.getStrModuleId(e));const i=n.ensureError(t);return i.phase="loading",i.moduleId=r,i.neededBy=e,i}_onLoadError(e,t){var r=this._createLoadError(e,t);this._modules2[e]||(this._modules2[e]=new a(e,this._moduleIdProvider.getStrModuleId(e),[],()=>{},null,null));let i=[];for(let e=0,t=this._moduleIdProvider.getMaxModuleId();ethis._relativeRequire(i,e,t,r);return e.toUrl=e=>this._config.requireToUrl(i.resolveModule(e)),e.getStats=()=>this.getLoaderEvents(),e.hasDependencyCycle=()=>this._hasDependencyCycle,e.config=(e,t=!1)=>{this.configure(e,t)},e.__$__nodeRequire=n.global.nodeRequire,e}_loadModule(s){if(!this._modules2[s]&&!this._knownModules2[s]){this._knownModules2[s]=!0;let e=this._moduleIdProvider.getStrModuleId(s),i=this._config.moduleIdToPaths(e),o=(this._env.isNode&&(-1===e.indexOf("/")||/^@[^\/]+\/[^\/]+$/.test(e))&&i.push("node|"+e),-1),n=e=>{if(++o>=i.length)this._onLoadError(s,e);else{let t=i[o],r=this.getRecorder();if(this._config.isBuild()&&"empty:"===t)return this._buildInfoPath[s]=t,this.defineModule(this._moduleIdProvider.getStrModuleId(s),[],null,null,null),void this._onLoad(s);r.record(10,t),this._scriptLoader.load(this,t,()=>{this._config.isBuild()&&(this._buildInfoPath[s]=t),r.record(11,t),this._onLoad(s)},e=>{r.record(12,t),n(e)})}};n(null)}}_loadPluginDependency(e,t){var r;this._modules2[t.id]||this._knownModules2[t.id]||(this._knownModules2[t.id]=!0,(r=e=>{this.defineModule(this._moduleIdProvider.getStrModuleId(t.id),[],e,null,null)}).error=e=>{this._config.onError(this._createLoadError(t.id,e))},e.load(t.pluginParam,this._createRequire(d.ROOT),r,this._config.getOptionsLiteral()))}_resolve(r){var i=r.dependencies;if(i)for(let e=0,t=i.length;ethis._moduleIdProvider.getStrModuleId(e)).join(` => -`)),r.unresolvedDependenciesCount--}else if(this._inverseDependencies2[o.id]=this._inverseDependencies2[o.id]||[],this._inverseDependencies2[o.id].push(r.id),o instanceof l){let e=this._modules2[o.pluginId];if(e&&e.isComplete()){this._loadPluginDependency(e.exports,o);continue}let t=this._inversePluginDependencies2.get(o.pluginId);t||(t=[],this._inversePluginDependencies2.set(o.pluginId,t)),t.push(o),this._loadModule(o.pluginId)}else this._loadModule(o.id)}}0===r.unresolvedDependenciesCount&&this._onModuleComplete(r)}_onModuleComplete(o){var e=this.getRecorder();if(!o.isComplete()){let r=o.dependencies,i=[];if(r)for(let e=0,t=r.length;ethis._config.getConfigForModule(o.strId)}:n===u.REQUIRE?i[e]=this._createRequire(o.moduleIdResolver):(n=this._modules2[n.id],i[e]=n?n.exports:null)}o.complete(e,this._config,i,e=>(this._inverseDependencies2[e]||[]).map(e=>this._moduleIdProvider.getStrModuleId(e)));var s=this._inverseDependencies2[o.id];if(this._inverseDependencies2[o.id]=null,s)for(let r=0,e=s.length;rw&Qpl$4MN=A@Rh{W+!o+ zF@!88Apx5JAwYmItR*3Z)MhKBlu|OZl$|zBcqwgDN@*sg6ePbu!KD?|~a{zU}90UidZccakyXV+U`#YTu#$4`0bx_c6voyKmfg+nn?` ze+_<5;ry;c`)<7E9l!X)t&A%haqO3KH@)I!^|BT3XIxvun12~V-T5HS#QO^`yzo39 zrX$P$_(y{yIQs5C|Hg-|h_3k;W{NBBD1Y*9I+IFV`y3zUL-?vOiH_or?)_2zO6CXO z=%|5zjJ*(i4}Qn@m28?x8#iy;$?SvsZa%~^OkVc;^3VL>b^G_>{^ClG^XONOBb+Ji zqcR`h_p>m*{So^X-dD8C`E0{byr2OZ%REXhB>-oftXLtN*KbN&YQIrahe3I1AsB|FMr z!7t<2^8@^Hegl6wzmZ?dKFRm-n;_6-w9CA|>?(E*JHQUIL+mCt#}2cXvzyr~*)8l=b{o5$9bvCxcd$FzUF|N~L>^_dI(`;k&o}V1`6j-V&+u*hJidcpz<2VC`7XYjU&{CJS$+lI%dg^B z^K1BiejPu^5AivEJ3qpY@?-pU{2u;#{ziT;e-potznQ;{zk@%(-^t(2-^1U_-_L)G ze~>@Sf17`Zf0&=(A7S5T|H%G{{gAzkUB<3w4R!;Y<%ijI>_)bqUCb)1%KnwTj@`@t zfWIB%*JoF-zvl*D!*Aws_HlkL-@7k?6270uq^v5`#Jj=n__8}V&}5s z>;&J)w(xWKMeI-5zk$z?p8NmzzX%Z^9v5VQeFE+z5b&;j_zbW`lvfJyagJz#l?+qX6HG z@{j;OALUH~;DxL?CjhR} z0N|~xd7A*ZENk8_z>+9orxL(Ak&YDLBz|&dtm;n0(%GU{SI`r03<7GQeOg)v8?&K0+6<>Npu7tcUkjO0+7J0 z`KSP7F>C&w0HiW&ep-NZmgesZKvJ{jX9OU#S@RDBAiY`hvjULgtoermkm#&QV-A39 zXU)e1Amv$eK>+feH9s!^$&IIYyOD0_-7_zY>7< z$eO0=%MyUb%UZSo zbYIqr3P1~HEk^+QFl)sGpc%84D*zptwLAg#G|IRD^k&vd2tb2ot)u{SY1Z-upjES0 zN&xybYo!HOJ}Vv0qE)TSu`PHkExz^P5E1vs^7jR2=MtrZ|oKxASs zslI0maH{V{0Z#SZB*3Y@n+3?v-#SNtQ+>AxaH{XQ0-T<|Re;m;X9PGsf13cO=btCQ z>G|6QI6ZTR0H=FgAi(J!7YcB?$3+61?y*yV({&dMaJp`n0H@zC5#aRuZUIieUn;=q z*vkYs9lK0`??HLF0G~xk-vNFFO8O4)y(sBBz^_6{-vNF#%6$U-8kAQG@ck(1Jb+(^ zlFkG8L6meJzz?CkR)Ei;q-y|vJIVtB{0K_A9^gk&UN69pp}awWzYZnc7vT4xyitI^ z9wj{k;BQ2ElK{ULB|Q(|Z$f!kfZ{o=mkaPWqkM$`e;dl11^7EqzEXfcfbtdr{!Wy) z3h;NMyiI_=2PL%!;O|9A?E(1vQNBum{}#$S1o#J0-YLKzM)_(1{@W<;65t;~dA9)n zFv`~m@DnIsD*(%zwTNB-Y;e{hdI7M;S&Qfez%FMkq89)QowbNw0Bm*EdV>J0cGe== z0kGd$i)aVHl4mWV9RQo2wTN~Aqwzwt17PQ~)>{N%@w3)j1z`KL*8KwT02iBtg0NCH7r2YW7f${?ad=1J61vrg`hXmlIU@hu1fPEY#^%=m=MM-@I z@GU5*&j4qkk~0Ng|QdjjyWu-2yq;B8^8-xq-2 zg|$8-z&4{Kx&xf%#AgLK_0Jy)Ad1IYpA+CTE*=wr&xW-Y1Q^ld^8$P|%0Cj|Yf=8O z0DL>F^#uWTEy_O;;B@U51vt^~O9Gte`egxr2gj?pd@!EP)0KO;I`lbN9P^|U81mKTi zt#1jyGsRkeApjp0YkgY)-YVAmO96_0w*E>09xT@SYXSJOSnDYPc(qvTZv^1qVy*88 zz|+NAe=7i=7i)c20NyXw`a1!3CCcv!z$3<5e=h*v7;8N(!1khC6o9{swVn}x=Zv-f zL4eWN`Mv*oUS@v+t^0eJgZ z>t6)m_hYSJ2vB6Y^{)bq`jh4)0Iwix{hI*$W0b!VfTxhPek}l>A!|J=KvD13a{}-q zvexqg6eDlFAOPPYsjLCuWn?G00Q`;YB5dn4rr6mAACp&2iuq`Mt z9|(xUvy+YhyrAqP#smTWPI0eCHskHa=ZweA zxLGk9=2r7^^A__B<^$%V=Jz6z$Xw)+$mb%@ScY|*^%3ir_L#lRe%O9Cx-ohn`atw^ zPRhB^dBpi{jKvPc9(R-OD)(x4&V9z4^d5?{_?7W@#~0$?j((He zC4QOQocv7kndB*d*uTv`?tjs5rj%4JwLLYLdLZ@n)YIv`>HE{4$;g?W%$Cf7%zc^T znLo`uo9)YP&AvSQf$Uea&*ygKp2{2f-u&hH&*h&j>@6%5P8By7KT-Te*P5<7x}NEl zyT`gWcJJ-}evi~s=vmeChMuqX{HoMfdT+1WJKOt)vQ~aerKj?NYNa|?{dC`!zI*!n z`X64gX2l<^cy_=U*fnru;E{nJ3`Pd8AAIlNvqO!cYll8I92s6S{IcQW!`~fYBZo%5 zyppY4x$@PclcNVlpBS4QyLasIv0sh5<15CujL(ffF#ehGZ;$_M!kOrs*gP>iamU01 z6Ca!SL9M5DbM4c$rzTfTUO0KEF4uGQHT6UFZ`FU=*w8rCcz@%WDQ&86>a3}QQ*WR8 z;;NoiYgWB|)elxXtGBH_w))Gff4OGGn%!&OzUGr_POZ(YeR%D6r*}<1wC>otg>^qZ zYv)iFZ$JChXMg$ZXE(+-uGx6`#)XYP-E?HrQ=3<9 zKDc>d^AFG2e$K1U`OrDfZb@yaY@f z@r#s;_FnYJPIu>1JAZL;e3!IqV%OGPbGtsb>pPc3F4=L()4QeJYj)qU`=Q;B@BZ$EP41d4*X+IK(QD;vAHMdx*Pgug+5M6Ix&3$SU)cZbfz1c* zJMipvmFsT4?pN2(U;ot`Qa5b9;hr15d$4fu`h)i#{QiydjT>$}bmP}={K27*+?2U# zVQymXwz*G}SCgWhu&842@=cHgDo+ga9-AlP$s$jVt>e>N?WxwM zTwbwLx%vJc9x`kvVMOx@B_#FimNm;w#%xWqbuX^jua{#H-3-fW*x=lZXYv`(R5VQv z8+s%bcH^ZrTh^4k`Tk9PeVh8b*CdQg#z?HWGNl?Z+X$NpThmi-(&MhBYqpz+*)p!R zFXP-!>1sG6tC|zHGjYR+XKcf>HCdKbJr(8d%1rN?QfWLQpQ=lMJPMICt`;f+y)lC{<3ximAw>el?k_ z4p)7@>VG9!PDzFyDraH^mq&B4P@*RuNfk3bP6*CQ;?cqLRXiVjwwx#>O0`mLyf&WT z>S1qg&O1SGb92<6?Rr}9A}7gv%u8y*AIGa+!%M|w2^FZ8664%CrR#?NgrV!Xzg~QD zp)xne(|W^rP}d(c8Y7j;iTU}%UU19c&4tDRo?Z9VY7KAW)w-WhtMx{o)o56K3!*rR z!kV)C`s^uu0I?u>Pzx2_3mr8o(e-#ft}j*VVyp?8RWYJ^hPfCj*YtT6yJ0mxSsb4p zFBI@r^wNW4gX!Syfxd&+SFCzHS{yI7Pbj9_zoiH9xaH6E$xmIcj@L@{Do9bsK#bdv z9n;)TEbp+F+?3<)r|)`Zjqn?)#NE?%I^&t`c7n#LU$0eFg&r3?m{-N{5Kn&h>4qS5 zOSe4ZnO|#D;deW~ffmaj`O;^uAXLFf0M;e7i%@AP^9Oy{lR zpq5W`J25+JZ~xMlw)gF^_gLHA_IdCNE{gkM^aSJR8za_;RrHGYj*M7^0|$!YxzM|w z49*iHHBs`9;P>Kn*A=f4=NDddUNDj|IjRqf`xKtQd3M3;+^_xIb$lG7AJb2rZ9n(X z_I;OlL>AA*q^U1G`E;AkU$e#<{LzmFU(+t#H5LwdgSWKHGih6=9g@eq-~odc^l`FBn>WxHLivi!@3qymF@ws zU|r)oChp{+5LeVioU_P75*l}!m*o*Hs!@cdK3=Jo>f;mj5|~-Sp9GCDtrOsAsC9jk zcyIz-WLTPnq#CPNl|;PmPu3r5h9#hNk|$s#|_B8Vak58n5IX)zmg5i^&bT2`xFo%jQLX zclU62_q!!Ila43S>3*k>FeF`-xMXE}H$@yMpan7t!I+GD_;{`l?D#r8b^KW9mK{Qm^=(ia%_qx)Jp) zIj5*jz7oG!HzY+p;zmTpl?#=qS>~@)RMUFx1J*m$anS^x(u`0zQE>WWvAmZ|_Q!j( zmh`p|_uRNAnh@Kjpb3Acs)n`yoz^=Qe!4AU44!Vw7~0XHv)ZA3l0;!;Ew59LsHHfX zP(`(g>?*Qzo=ju|8mBqYJnpPLsA`^S>Y#XnR|0asitE<%|H{LT+$L`#t?Pp3p~%PL z=}gjVlROc1iQIZ{L1$bj7#A5tY$q@-P>+dW>7_%VP1x$`N*9nXgbM#!g|gwEF$%5< zNO?#Ml7dGg=Guf`al5lINmS5JwEI6pq{}8!8Btp~X=d#T#!P3-f?JPE&;(1>#5e}&M5&5mqB6i|*A=@Q%W-=OD^|Gi@<7#zyI!TSkV#pIu$+pe^Sd{? zPEXv)+r-&1#xjsW4!m~-=&lvajA2BB!OM6l%14CS1L;Ic55CnPt#Q0oA6JQC09Cx# zNzw%05+&~JS0fR1zph{9*v?h@eX_FWQv1lPDp@a^pAvry4e`g-P$UvE9y1)rcb~&lUWcodPe=DC+N#9#)4opn|Q}#+%2D*m>v0yp8t8c_>|{ zlwG@&Q-3=%L%DmMww;40?VX_8XbCDcI?I;SLI@>s=tK#+QgyUatySu^3Go5%0~|z# zUOEcCP{DhBbQ&l7;F3K{=d9(ExT-ojEDb6enEzZRgVfMFh%6hoCIsNLb9 zFceAB9Sb~~xVRh&hZW9oiX`DcC}cUh^nfHOVW`xn4+UogH{nq~ma~*pPtof>C2NL~ zRw5>pZOx3}qoK*JVrd$(+BApm0Ra$l!+5shX!K`cp5qXw$KnWA>5zB&K2ppp_M{Xm z7Xusa$PE?o_ru7ix%dA`3PJ{9hzk*q} zM(^%)p452`o)%=EiaBV(dd$Lu*AG3SRKxI21U3g0Ura41R>7fa%_p@9?_`S96WrOL z&*~d={gi%uW@diIXy`LXD|=>Of6OfA3?rw{8^(Oj^XwJ6Vdw)^!}DhL4k)^=thj=v zi0EgsiF%L`bs5>N9;pD_he=kW2{0{Hpw`$@(oe+w1Zf2%HI)IrvNSr3yucn}mXi?6 zNz4GX9#>JGzNR)&uS`qOo&%0PF*%mpo$Dz=`{DiFdd$~hVNOo<>6x@%=+m+E6cpu0i#PgReqOhd*?cY;(VjAsU0q3&F3V&iPBuZ8aodU7 zxT?aFStpXs&}F9M`;O`GWZJLhqS0K{PbWFGhrEcwW{*N2_k$5yf<`icyrS_S8+aYE zc+P=`{Ctub&?5towJhvpG%FAmBp}Enskck|PJ#ngb#VN}-)YoyC+E$3IU=@8#9n|% z2>vSW>Ays6g zl@X4yFRhcN(FN7vP^l-1i2%2ZLgHZ^C#4vt-~}fR^c9>Os#Stt#>e3J!3&C{Ed^en z@v%C38wPAqq8}3U3$IhN$&hb_O+yVS;gBZvo2IOAsPrKvq=n6hrA0J5tcQ$PD%aK1 z?HDmjv9(Z0mF1{xshVA|iy15F=v-F9CPas<8Y;X%CgzeH-lRvuVO>!mR$wHAaZlL@ z8zYxY&w7{K3FSR3D>7t4)r^F-a44*VR9%VaVF(t@R;-v2?dk5yrDKMyg>5YoMk&j- zyi?-3>SnB5p%7JV9fw1TrmJ!|WQJ73H1Jqd1JA-?Ijn^s>`YnxhfBQK=}VT;TSL~@ z-DIy44Zzp@v0{ky8X_7*vqCN}keS4*A4mjrN<8U|(W9Cg3W2b8%y6iUshAPcK-h?CTL!8OO30ET zn`XbH5nVK}q6kPQLsToFFf|rLMQg(meG^ey4TU8^1<_hadEH4`nWA0z-QDhQ0m{y0g0*vyQq`Gc6fC1$z!-06h^gtLPQG@#urmb!Z~XDq8r{4gTEJr%dCtQ`gqs<;*JK)02#>}_<+dKrBN4T3tulk+E3XE1(h z@%#mm-RADdO&3NkxdaiP_BnqN(5d4i6hF4lTsr4T+zI!AUPNA(&j&Yn@j0j9zoB#B zUxde{{i`^2=|0aPn+pEWdRxh&_P_4p*u|aKeCGp>;F`c+g4&(JEJkFD94q7vZ7g{6 z^QRUTPRw`i3#($DW;*<=HLgB6?|JQcuePtn-8xr8rUo5RD>Y7dM~}{VN4?64CypPV zKjz}&3EZ+xmuHZnhWJ^13=`Q;#>p|R^gug-JDnWo(;V84mkWnN;hbm0gOA~`5re2+ zc0_#i^q3J2x5tt2Ni(l~Uj-IDxl!fLUENsss3GfmtPt()?JlHZy7+Oyf zfDHq*2M_bfNFd_^!haHm#Il!v=HolH`gF7qwXJj% zx_d~2yCq-D(YFvZoRFrPM#Qo&dT|YVMa{VcgFuU>t$fkWC5VDpi=J=!L-RkB~xX%{I$=Fuh@Q?=!Y2 zc{+$S1aC*PMh<0YA=#BkbS3A(hETwj-yVl_o zbutzpTa)p&r;2Q_$wy?v)FfHA&4`+GOi!0%$;5qOS<)bEO*?9s;LnLWz9rc0g})Z!YjiuHgo{$dzL80PuM;#XfCw|aXo>$QSUOEwc(2Wi$NA|oU=0u~BU6qpNv z#ZX@@k}qS<(-_203xeg{YWuD@SLJ9ecpeW;y}I2^YO#Z1|{ZfEp}YGz}$ ztycz$SERg@)rUA1?;7d$l7%F9qRFsh+t7w=BbRYJ)3i!GekdfzlS=WH)V0_6R$pI- zSE828o-)V5sy&Gj7_L4BjLsrtE~zM*2;{dX(O zt#*x_0T*%7pvK89>1(e^Au_kb-%;lTt+?pa8HT`eGPWIaFQWIjsOEiVQtz&#H2+>o z<$#)J5bhP2qA#LsTfW9IFBPnoA^D0Si2w@1XBe5#uIts^qoW8jzReyRvm2j{&Bneo zIu-;PgJQ4t7^#iR#&-yJ5wjZ;nREyY>X(dbgi~f-I-HNX7~y9Q;?wdlLRnOv;H`qs zsx=`~mWhtuATGIFVElYBh*MG>DPsmZOki}=EF{ach^VNrN)hAm1fxYzZ9E9%z!(ia zQ^4MPUYH%=6?Z|!} zFG}$9qAJAU0=|b2)fq48plXYT_e4&=r9_|Sb$w>TvAmw#?PU|{2z}odP)DbLH`u!RmG~IQOZ1pTO#1Cfes9PIFD!*+)Ri_lDij_@#{E% zz6bpAwK%});96&FT4>~W}bdX8-L zP+zyPL7l`!4L7Hwn57e_OFLskMUR%yk01!Vv#6b)K-5qH%f~l(Vop0*;f&FY#bKjQ zHKp*RGonASt`kXkj%*T29StgCgPK=*gs)}aUM09_|nY>GP zkDz74i@4_reMFtqPdrGiAbl6vU)b4Y2xDl+bULbVY@0QaAkXuQFOr4g1S z4JF79LBt+Tfl7UZBZe~~75St;w&eE|lJujB;%0|)lIu$Op=|pjhn3jYqIzvhw(6B_ zS;caD-E*RCf2L{;_e66}Bvs|&N-sMU+$1-gbt95&*&Pinq;1V^tJGx+xlI*=ccqAU z>F%y|L+~m^y*4kPc_!Mn?!VSD3Z;?I{?D~%1Tv(1r0YM`h>Ibsa21UuVRMphPqs>l zR=?H#5l*jhI0SxE_mD$jsdG+LwpDh5thY-)!4ydS|~0%(U^?&)o&@$zYze z+Xj7=+D3l4z|z7jhF6XJjqxB-3fF9fTufXg|Jfq>Ko?chJgZW9!gb5D^QLx`j^S<2 zYwH+K3cHQ`bhC4F^H9cML1K33Sius3rq>5LuA=Ni4}w>s91z5b$sdMMjjsh*;wmzG zg47T-iC%}bQ&%yrRY+?1X%L3tabJa3*grSBes!;$pIpDHEaxhjuG~m2SzbBZ>xELU zwff|6EFP62al;K8swVTD(XehKUNm7w+=8oHPN>qz@UTlaz-@B%^{bA%xJ7zJL639| zjjXuW>eu5D$xc9YcZXy%%vE*3HZ3=5d&6-*>=t^Xc4}%M(&5QLoXLYeSHnmV!yth< z+ji7~?~o;i&|6@0l5OZi8xh||cr95^)=vegEbx@bwJkMxiuNQt$HQxdDE4yhMcox{ z)Z@I=*H>y<$w(w=Nsp*8-;b$}6vDD?Sn&DCmSM}`FNeYr`Vt9;?u&EEXm7_0`oPD_ zn2|O3>^GyXD)@;KXrKvV^(0|&twnLJ)zFZR|4TzMBWtO%(Gc&Vz+RC1Fg^?J@Z>&vR z#H=8z2#G%9byDue{m<&~T$(+4aBcf~@jE0*X?|vY@ij}=E&0UAvxh;bPVL#VXJTSves*?G z|3nQeMc8oSJY26<@zd-n0QU%V!Z!T{O{T#@!A_;gKrqzC6H7!T(jx28_eCcNO2?93 z8LdFQ@t_=dbppEOMyz7k1x{UuLJ2(>_S6LFBZ*3BEh>q?1$hruykMlFR~51s;P`?Y zr&=eq3!H<_Ajb-L23!>56Ds&gDFKUXa<}v;9_4sluI~MqZroEs=sGuKOk5JP62uB# z%0R4u!6cNJqc2;Xmi7{_BF(>bl82+p3&oNz60h8(Q6|o z0Aafzi3A}Gd8{B)#s7|U|td(>qxLs=#hrA@&eKC+0A_arO( za*=E)7s;7a0i49V2(S7@{xQA zF!Nd>5!2FB? z&pvVK*>CY?;ziAMRX?qk#|Aws?vEKB60Qp$M7OU_4v}za&u7$2#%QA$#!%2&1&LD# zpZf6RB+Br$`B1>97N|EwdxC0VgJnYt@b*dE*UdLx7Y^+sx7*j;j1uea(&J^#u~t-* zN?}D=k1GCQmyB1jN&To_NyBx%bo2E+~v*TsOfF42rqIwuK)AX1!X3A}j7Z zZ=4$+&5g#-9U-T2F?l<_-h4B@uNOCe@jZ}(<&!-N-O_)_J+k5+Jl(m;V*4g9YHv4a zih97q4cQ;XjKy+@B-zJxKe)Ubr}o0^>9$u79=gEj}b^28yShmk|R z6}tN=3~bl^gGV3bDt%b+Qjd1#820#rgtm}nc`ohkQb!Ij`LszSf<2;QP?eJjnqZ^E zM+0`*0})ERvr;8jC8cTL8k7*2aG-)lWb?uct|EuFAR!O9HZgEn#p5c5kKE=KYZsJR0W1gJub4xs&h7$8NYZQ_dWDAJ^?Paz4`0Hz5rq($`0~ z>F=}dkKi`EP_*4*nh!+!rKsyVQXg)UF1U7Aj^jR&SRT2Xu}H+rWX3qpm!w`nUWXBx^Er8r&OXJ3$iNQa4vB=4|K_Bj;yzzoP;(3TLg^|o>eB65* zJR~@L`|U*wG3U0t%s{UquOtR#StK*zrWi!T3$AipraA8c>C@=Yxs|$l3`LBqWP$;QR zN5~cNjdQ34`ZiV3lC|WqY15Q{PVj}nTlyTg^%L#@4a6aTXAup^c z$axMUrVvD<+@(ZUp~F$GqL56d^M+6(%5&LC$yhofobU{G!Y@c_0g2i)5`F=b_}5a- z5nYQ=2NX0!Ns)WBXdtb{d*X>XuYoMdMmquNsV6J+ZP~rZ??Lr|ANY)WA1bEe^L+ghe<>UtB!VA&BsEQkz17q(;0K zc4+5bXv@OvhE8iBkLQ9+s;8dpjF)!(;qF*^zMvx+c%7#&mK(FPM1&xgwRo&CGXsUJ zZi>DTnM>fu;_-FdiKy8bIV8F1dj;8ac#**|b0qi(2kOjBlSY7{A4c9#Fd81L zlwmM{$>Z-|v8o+0X)loefz1@CS){(>Lv4e;VWn&Jl+uP_?X#|gE!;gg=)eX?s0-_< z^mM5dxzgGf8yxILbk2e|cv<^Ni-n2om7 zesB1^%wXt!**|M!4IDV*9yI5mAz>Yaa3=?=m`F!J?gu8|IB54~YV`=hUO%6iKataq zJ!=BQ&IxWSb`HEMGcKO{sPDLKFhB_}=73cKV2db_w>q)a`#c*Oc9f_RM zi#=t3g_92<&Y9Z2#WR#Uu)wDC0(siLiah8&g1o&Qv>O8CImIp$N@i#%Q>hqLm@~RviKdmo zK_wln*m|=4)zs*O-iRk->56F^T!TSpS#rWo*`;njY~^~ol1fCI<>}x~;-;GUqT95; z!gi|CQ&-w%NKrLz*e2KXu%C7L1T2tTsXG~tWP7>`h%O7An%2^h4UuSjJ4nny*8K-j zt_r6AOTxBC-OB7NxYwDXu8vHFMX!-18ra!YL~_VT`IkZK?6a-G&m$6YV#wNfwl(B6 zj-qdbZA0rwiDz|kEy;Qh#2e{c;UGlR{*Ky0GOU(rr4!yBFL*uwPu{FM>v>Ojhv8Si zM^I1v0wZV+DUkHzT<}9@EW~-7bs_Vgc6P=35-et*pQD?Nx* zKx?e`s6M43U?5L(L^f4_nCC*$xSK&PimLLkA4}T#{^(ZZtVwqt2x(Ui>KV7_#iFKB zp3>om#mcwRcxEN6e@9Y7<5oE-tCB3oyG-BiFW^F?)8WFK2X!xfLD&fmmtr-1#SM0HTf1%KycRiev@upJ)*`Ri%p`oQ}5U-&QYD{NxoMI1=0{{eHbkoz@it_580z4%>#_rIMJP|a7^%?9$kO8?YM9XTU zjT1+?KdpX7=#|H(ww2>9UYRj7vR1J|L)S-!LYA^N)r%zGxR-&_*U<$RRRW@b{$-YQ+ zM>Lo9hSwu1ffss^>PR%PF)z~4=lkHJsv}NtZpVtHWV@icSVlmL9H9h&Jm^3;sPH}p zJD*&RV-r4v7LJXNL0g!F0uBB}Cy*}6WvVxP1slAX##eN#em3-lg?Yt_Cy+cFHa6(I z5RY4MdYOiHo@;f--M>NY_s>#0scZdL+jiNKZGT$oNlAnUun^ z6vHE4-HrHupzT9%10O85bva?F1mB=JK=V)dRDTFA7+&~*cghzxF4D9csHO;;(?`SG zuW1_(Ya3T<+TjD<`h^=b)fuB5BGiAWf zkV6b+ne_qhM4jx81kCK9A}|^uLTS{MY~av~5d)n+vPe1q!C#rKpj87&=Yk8O>XF;28EySG;DJ%}?2^Yv*r)J6VF593 zSce1G;fY!3qTg+Vk>lVUKfXBQ1`ABZ*zh2~tzbnR)Mi?*)}}p8GcX03K$vn=jQ{On zEOm3=<*s%bg+gV13TDSVjF~~GxNuHPx$i0z79WGr@mNFH8o{^&7XnE^sVY_{@0pq9 zYS*O)4qV!GT9;PAso<#VoJCd}5i&S?t}=@h25|*cgiDbE+xGAL8f_n<-HH%0BvlpM z#D_O{7?~(gUuo?^P>@Se#TRIUNyyZyuaFi18CSd2$PpKjPfdXi8`0xZOos`i z%g81(!b;Aw&72-h!dYr*wk@a1aTV8CQCl<2Xar7<R0}IXb5R+N z%#x$)Sbe!Vnao&GDegxMw`josh^*GO&SruRlt0Bdxx~>`qTq%#ci6fW|AK-?thqVs zR>eMi*uHh?TDx;C*&D(B0YTx>HMd|NoS^uib@;G#+Yjmb+uF4MG3Imd%({4FVCa?9 zr?<{TE-)|n?en%pE;28CVe3}&f(xG5w#~foLgGW%b7Z*fvuX21KS4noVnE~YrNN~_ zJaUN>oz~Gslfa5J^A<EJBu}>%j$$M zI=Fb*t;9|l>pj%NJzb63+}zxC>h+{Qi+Nnev#lUE6VHViL#8hT15_2FNP=ns7akr7 zA(4ARAJY@Y!I(0udpjI;|HX=Pj_!T_bHz=Hb7Mt078!=~$9Uo^PN*Dm)TzcJbb`19ft?E_miV&cYSZM|`EePDzmu&JS zx6Mb5q+yj~snF0+I2A2NHDrUAqp9%VkbQNjJR~As-5K*lF5Qk zOXy(2e`hE-)xwQ}D+kWF(b>Tj%Pz)8-0~>WlMBAzBYXm#F+zF@tva4UoN@=oNNKVL z)`KJw=P%pg_JaN*jN6a<|V>@HDnG}`=U5i%=E zULt6+L52%PaNsUo+Bo3NZmv?v1#h}Ya_58FLMv9S2yGL^t3)lpq<-BtA|YMN4M(e#*EqO4t;E&?SZ zDi&wOA|cgj1nIwais!rop*S*>LmDDsu}o-xB=)|rWXGc_R%Sb|3K@}ZJ7Ow01xD?G zh!b3ArLyryIfRg{gd#D=Xty8IL*ql}<8{adyaeqBr=}qdOK%KzHNx=0;HF$=KM~|K zgC?~}%F7WnfX#@d6v(bZo2&3yQIb1U$RMu@Ndd~gQDv}tys#o9%a$XnE)qa|GaR?U z)KTQJQLeitWMo{<_oj|(MyDlM^F|HAioWQZ!?tZIawKN!A^CkoElZX|D{yrfD&LC{*iV5J|Wog?HGguk%B5_CdX2n%GSYLWt*NQ5A=bdn=! zXpH+5@T7dRN$|xwcwr#buG1_mP_!J?a`k9HkM;<0Ej5YbLEEuZa!_?Ftvv)VQfz7| z#))dUriuYX^>^a=qE+m&ibbodXnixHNV8x8DI0rYse&-Ua0#CDpsEEFQ0(Xj!kX<^ zsvHT%jP2Q}&X_s-b!yz9VG=c^r;2u0mo4s2V@AkK%CpR4&P;+%$lGXBNw^bf5Ojz% znN*2JWQV_qNLW04#+-qYMq(FC6Z&SNMC9=dEHX^xml4OybI?Y!Vj+%^{vzVIr)Q3x z3L_IN@WKY1Qx9#J7YO9MsiD2#)04aD8uh$!**4PPpNQT`o_ZI9m3~cp(kK1J7(= zTt;*q)rb@4I}D5JxD88Y3i}7(v`S^hdk;=S*h;nUVp1*#Ql19 z+LT-r3^N*X%TlyqIN5MMUacz^&rKQHp(^s{gF4MErD_XfN;96BS``X!nDdPNL1ik- z(zR)hw0Vh`BbU(s>F{5eBWE&_m&}(AW05BR3$x`kD_Jgbf{C-lSil(n^V0|NXE`r9 zEq`b-eWcA;h>v%83GrOY<)d{Gh$=z<4zzARL0SeaZN*M*qy>|MK&@k4Fgbu~<5MfG z%_72hAiLr^s~C+=#s*>olcfy@i{r-Rx=eZaut&Pj%eq&dSbwl9n>S}ObB!CfkRu0T zj|MURFRgC+zck9kxv)DCQlj8B#*QgSND0)o8obGqRmgyf3LQ_OG+JyffqsE|8KWsU zSs@WgE4kqwMF=JM5pQ*D)q)>rUkO;GI6Ud&mRL~FkwfctDcJA?i`v6UE2f)pEh{lk z?e9nGk)mP+H#U{9l3^2Ds^AC9)Uk^e{LD}Qm5{22RBmWUT~oVa=@^#G%Z8KaUlDhZ z-lR9<*`ZVnOG$?*A9q;8l5K<;qHaEk)#I*=JtRyCE1z{OVdP^`mwas~ob zld)3;?ewBx6D(TcZ(&Cm*|wBeY9JTSBycojAv_2bGK@$f;{gvCf=))!88Eu*cmvOiN)?qx$N*F$WUd8+2&*jMWQW&( z1iBLvFA&ebs48Gl9(I<(t|d@1XyZ+sLsSU%(d^qqyYa|j%XhHr0y+vitU-m>)vhkk zK*#n7*q=uMp|DyMwu2fqu|Wwu8DTDI5{3>O7xj3FJXTY?An<`*9@+j z9?Rv%rdJIHZr(uI40NjqEbRjHhEaHW*CRLoJo4k5u}T*Knkwi(_Em{S#5i^@nw-EM z0GN09ObIMVP@Jq&GLC{nG{Im(LG)It7)qsNT_GROgWZkpZfrM;w>$NM8&Qx-5*p<4 zh_s$dTey6-1dZCzV@f=1dB_FC)+;g}oES7JzN?S8MjdX}U{S7u{+G32A<| z5tgHtp<%s{0mT(g287zz7c!YbHl-p8W9MxTo5^iW=ECXxXfm7471H5cvTcWx-joEF zga5O=PoNNp*sy7sLm)yy#M*x3zy_{JSW!q696wwkaY%wt#~ube7J)pxV$9oZO@%$| z8FGBaYkad^4E=-YwAO|?GZ75qXF#5<(N4{+`0E5rMJ&*l=O0_=6?CLV3KYc=n z|Fe?!8ZRmrV`ec@j6}V!epJ&ws>R;(p8V@H?R9$Wm9M;WucqzQ;Bsi!xeN15p?ol` z&ZkrWN`{6SF%Dtit33T2@=Nwv#f|oiUEFI`tcI&Ucj~kIiW{w&;=T%8W1U!KCb$oI zf7|<{cJ2pNll(c9Ek&Tu!ELcV`6yJ3N=1AKZj8*8as~eyusO=N)aAv+c6to_em_NyB+`K}XVqd*a0J1*`NtWMT&~SnQf0 z_BRmgn<<+R4IurQu>A8ZG#UIsbE3af)QrkP@Q${e_K%<0?={##YcWsB+79kW?r|8o z=yl4@UjA9c-d=KiK%z067|&I5xr%;-#)A&G_I;i8hwEQ*#I4|ur)g2%sr|vgG2C*n ztkEdXi|^i4uzpdmU|Yv!{^lG;Ng#x2cNNHD3Z+U|x`wQPX=#G{*wE0(WYdOa8R={W z`wPn8oHyNs@>}2oSVIlRELNNws)HbmqaHd$A3Adf{4;Rz?89ho2G@dbec+tZpB3EGWu7@tUPi*3Wx=g#X_N6 zNEUPrg+@C`xGE*_!y|{I&$(8__13I!;0YW0y)9dZrO}zqt`lu+m>#g*QgW^25N28;TGkQIoj54xSB_#c9X;6l2sYE)u)})|c+u2r!JFDPG1)@Bh+(dVFXe2i zP1`?)CX2P8!PG%};js$*W$>r?K@ZT1(JHpvP=YLNBsEf4kY?|LGc+I#ebtCFf_)AU za-V_jgZ;$x4f7*XcAIL3 z_cabl{gu$Lf&GMZ8$(GSM|A15kC@`>9>zK9UWdCDN_T?dKYO3GL1L z#Hqy*Tic~sqr9d^W^AoCdRIl?dB38(=~BJnhr_-X_Wkg&wyur7dJ^LRRw7w|9XA^( zOfzBmH3e(sN~`c1GxkJT4j1f|Cbsu=A{eYeKhytsi<*huyn@W70GKnryrfldMc-pv&!!xF+_S934-jGofN8R&k3d{PA=M z@^kvEOe!teNLCse?9G@zm*Y_=^9eTwlexBf%!b1KfJ;kQmibC44~EuugLd!%1k5l9 zBrf}0rL?6g?e~Q(X6EPTJLM^CEHN+ujz=LwB>f|}CO*6+_yNPKtvlda=$yft8;qAA zNI_h_8m>Ytf-$4-U3U@2GmpP|ylZV4Da3~l<5^v={?xd#YZ~`C9doCsLjrbtFC^BO z*s-Pod34U{&ZNjH;*BKWi=vGQ3IQ_gh z-N*^MS=L@E>-W%<>{PV+p=*55^H*fQe6`%YjEwV5_ZO|3JUOa|HgAC?A+RNda&d! zmR7ADv{DmYw9)JSC8teb^RlNgj=+tfO4YH`TM#cLTMH9gtq85Uz)wh*OE#pDqEw*# zNAUk{7?!3~6j>j_4sD1V#9!~|NHszVl@dw3-qRI|GYNiAv8F6Ed_+mW>PN6I8YU!3 zKs+i`gxZeWHDdd4gVKD(A}&f!_s9Lee}|scBg&2l4@+SMW+$yE-GQiT_8oWYd2L+? zY%8Ad$PheB&l%muo$8pGg&{2=lA&PZAYI9tW9psyoq8#O9o}d!QSkIciN?LC8|Bh% zrvE7tIxFl|+U95!hJ2hpKsX?UgnUGJjlvf|7QR0UI}IXItdc@iAy%fbnItkKCW*nr z=}TK9jlxQSRf~g^4$wmzuHrRHu7vjHtK@bH@~CKAIG-9$&IVN}9hP)BabZGnY~&K` zvx>mXvTapiS<&9CWPHH{!+&F-oCo`?y*DdeffLTW0yf}_t~lkX*l-np*l!h~9+zTC zXKb&k@Xr3KVN->qz&@=y%=`t~s1=*G{kzwxm?>g^*E6o`%t!o>@x&S9flOJpHnWpN zwv6aq1GE%V2sER!x zppi(kax7mSbP-NVb;Xhe49?lIp4a^t7QtbA7*x;19y}q-=BaSkKr&yE-B6B_cLvlw zmhF~&{a)LTb*1!BxYx%XR#z1AdQSI3@&+^-Z1Mjz_a^XhT=$(PUUhd>S9MqQQGK9+ z#tn3n1Obo)agh`+nYy6M5-s^6Y!GOI5J3RML5hs81hSpjl8+oroH#xbUyL1( zw}8e9_<1cO51~~TzWbo4nvp8SN3;VT zZI~X49DD@u8y9^|4N!+9}m#HKxCtDb0izH2QbHT}!i z&F|E(5Z|#vUI+mZ@HpwPt@7GSAL63f2$%-(?SO?W2hH_h43j8$BrBsyN~z2%-?+x-HT!*Ht}X)jfQb8f@8RTT}xXOzjVzMyy7>nA~<2&b+_bEFW{d7+}7K?h$E34e?B->VQ=`p zS*uO-^_?Oz#SHe{3SFi`UNNe>+;8)Jr8d~&io#Wg@6qQkV@23jsY$ppU9X@&zT}t^nIe+e1?1Qd8u|0fq*VWp~JPqBhmX@%})qZC~wB&_48l0O{Go3HxQ%@+@^KA zkh~=i*Ygtn@g1H!?q7|bdy6Mae?;qd5RY?P+eJ^@_MR{GtnbkG`KO|4J}-5CnP+W{ z%cr5wQWpqY(0zGy`pvqn*G*|8(TUi@n_q@c)G3qG{+wH zzO}7K#wE;`(47f!u#^9|=mmu+@b4xuy;`yZu3#fLBu;#q$ST3txb2zSpHn`9?nA)w z%PbSyo;jt}D7K&9Y4)V=O7x`n9nBy62RV-htgww7B#Sc*|;woBmMRm&au zHj9AzmRO?O$&l^IODD2^Fz`$()gzY}IDsWMJG;%}-WhsSs( zWtQsYya%(V`>*Nm;IG9KS1=a?UJEVqOH^iCy!(H^@Pb0SohT1ogN$FI1|@fRXDrrk z#NI=If4k*k9(buIw+~XO*mgcx>{=yg5HnU!dLigtjBo@G$Zz#ElehA?zaY)L-F@54 z6&Zq)60dk==56lVMIRfELnP;3?OP>{CsF%?kAQ!>v@7xZc-@HMSs>0)Je5Z_&q0vT zyR^M^6KMzc1@-7eUV<#qUK3=AIjmI`voJSpACs@#f$awm$jKz!kdUHC8Xh7 z=i?t5=`p#GW`p_xxC*7baf6T+(6J}=b-{cP*(1OW%foG)qwVEl{Ob8G@+U$$zGz6g zu=3hvO9#ImQTrgyrHny0^_21Wks&Iu0!$v*c)XuV!$*uEX?N|Wx4(w*0f=-N(mFdD zGNJ2Q!(R$Mzl*Iw85XgZCPO7FtiAmCeYq4CwBU&5@Ig-CfPCVFOvqJ?tQhdvFjN?7 znyiUkrh!&x+<$~13RHR+e27BP!UC5f5EWDI0qkL@4LKs{)%w0tOmn;7?tGgdKC=^D zr?hcMOE-1LL7!j|kUsIRU6bhh8#lIkB_S8lvfFjdxAltjr;M`6Yu7e5u3sO&aRW_M z)H@Q1C)Z1iV}ykeA+#eSO1Hq=hMglFC7l#)L)D{C-;J%$^C5ci_3$?uH$AFT+gFCs z!O{0DxQL)ZKi6xJpEBJnQJI9dnHJI-LLAm2{D{ceg^_kkMEP8Pb~c~v$dn4jG6*5@ z%8orim*0I?Z}VWT2)abRl&Kz1x3y#qH|_V66u`m>!$?}`mW&CC!Na-x?VecN&9s}I zSJ~Z}Q^$Hn$GcQ6S85Zt7UMpgdz;%@t+d^{`ykwSCYObCF12jhrNyrTZ8Pchprta% z$SspdbnF@3(~cBMv0{|YJ`9508-LjQ0art!L&+YF2jr8-m}M6o!zA4 zKn$~EwPZ1m64Fk$=Mw+uq>J6V@|P~rB(0w6Drep4X_uJf9SMD|n<c9C?J7C;+C|qac3(0d!01XiR9G6Mt57}j7rcmgH1SMLwFNJdd5mu<3w+O^ zH;#{A!`-oSuuF}%??1G^LuE-n2o0Q)EJgCm`L|f|eZRRAv;)Z>!T$)GT5NQp4J=TT z=m3`tab;#^#u^&9(%&C19X~!g8jYitroU$XX|y_oXsC!dalu86lm#Gx0E0S?M76(6 zr&nSb)(w*xaa5(Up7Gj0{KKC;>U`X3Pi4$R77s+H_YSl+X(O53J@Fn4NC9v1*G+$i z*7Z2=Z`MujjDkY^Au#;+bdQJzgS4A!c$BISTP7L`@g@+3RZ%jZl~7xZMbI5f%N^PCZJDW3P%T&r8FXwZ;Bz20~XE$-n0WHUx9AGGq z@T+!z`}el~ZUA1R1O0<{{zlWcv5*qG8N?eD_wuhGZXsf#(-DSDSQc5D1Evp8ks*a* zz#|2cgdwW2=XQ8I+@knAkW9kEF}8)A6P9bHaD*uCmoyV-4P7gpO0;nB_jl}Y3+N>i ziIi!ka>j&P*tz)C89%eLK@yN~K^aqka$>Rear; z&0t7rN+6u3_O{n_4y8e{=c-SL!kmB7+Ofkr`S6#&-0^7%x9!8zdSk<=d3~|TagAyk z@&(+}L5mJq^(CsZ&KfF`gpPh9GGT8pBcKkU!}G`2;@KA;+kTpsRVJ;^B_}77pR*=Ed;BVMjIY;|#F2A2MY1^tZO&7lM`D-kUV;H2d|8>LK$A1v zkg*l=xKYH5v63kERplM#JN*7kVlsKJnK^R&*m33Vwf4Bj=H}*pW#7I_Q@LVG((3L` zCM(6t-KxD^l_Ul$w*x@rK)%oN#K7KFXG~hqh#-olED}1V8We28jOdq)lArc`xhvo0 z?(z04x)5d_ckkYY{&u^L&2%0;+KDmihuom>aHrqt?REDIu+!b^bxPj_{FL;a z*mFV@yD)ls1P)Y~<6%hRmLf&ip$h_Agbfay3-Z}3sX2@wo82^a4Nk#7z> zQy%M7G)5|_to=CxyPgm;#1Ohubff|n!yAevgrtxA@6BfK-EZG>@Srs~_^jL6>2`I> zcjt|J%;(K}?5Wot{5J=U$$Q<-uIOOccjDKQrT2(Vk}-qElDDAF;w(T4X2IsOGB+jp`W11{2dK6t8fpj?=Os{yi?~_dXz|l zH#EJ8Sw)8wU+^blQ<=TO>Bl(6*f?kuNj4gAPO@YdM~3CBVG(m#0U5G^+DtB!AtZl7 z*CNRv`~{{!{!7#(S^1C+!}1LjEP{t1{{_^U4}gX@SeqvFU${>I2*MBd;A*U~;3ZtU zb`9^Sn%}pf<;=)OD$tQda!e27ep^MiYj|#xX7mlY?N!ajGGozc1fMNkoQOR79e5l3 zoN4+{A4v|Gz9xyXdISo|@?Y<%vGNdp)NLWniXjWbQsADd4SV>bbc>velsY;Fcfro# zz!8P3>XF)JI4Y2wLwiJ$A1UqSkLN3SJ7FP27IT@7mPcDVGP#YeY;)RWEpId#@*9&y6IBW4>oC=q%FdPWq1k_zR5`?)v z1{Wtm0CdEt#-|WaBAIx?NN8pPn;|+VE%%@_8w+(hL>pnLDwT)D+^D$^(Wya>7 zo~t=VZb?67d7rm~Xd|1b0=Z-2_eB)Mo{uQlQA5!|K61i>(iyxk!Wdof#2%B+$^yZ%l?6ofXaE z0GBNw2-mJl4)x$eEOee@&kOC5&$s{b`5MF}z`2U%@AHfx@!t^ZJFBFqX5p*^vIfjQ z(kODzkP%0kOI zXHQ~JxDMx;FFlM)Bnxs8BZbQR*F!6CFxEzRg=d0byw!EW!!{l*UdXDppI~Y6W|IYq zAo5)4jYd3WCem3_3A~C#hfX4X%4Mj6lw(|lFp%^s?}P23UKNWyk}w?{kmL6}bU?ka zOdhbfkxkz*o-A`EF3U#z)Gj>T;&Cha^C+oMX2r|?&xkhbRrqwjdL*90I%+$y5iM70 zc_H){hUkuAWDi7nDu+|S7*gW4^b0w+-|ciI|V_~kPEHi z6VCl*ppP!PuW=vhbsu|0s7G&pOwN7ZD}_6XXgYNhTGAudYjk0Yz^OWRqmG%?91PvyWCLEXHyEfBqpQqQtK;LweF(=qIJHjbGXN`mpA;*e$MG0wtfpm9l&fxymL=0X+=ZbzJ(lJ6)Ot<$QbT>ycj$WBb+e+ zXptuVC;-H*w1=52Rh24;CR)bg261OUe$z`rz} zF-@X|ER+S@LCgdYR=ApO5EKDvCoLmOH*FTo#R2qn zqZ0XyEkirB7z>Rgwo7Cjk z=;Q`V02u}0Imjm{&wPU+ejwy1k6UUg!8mp%iEyEoPg`Cl=@Eot0KJ7g@0B=P0X!eI z0;>mE4};evZ4X{S(feD;+Z*S{AVKKPGk9KXyCDHIk$wi~iJ)Ji_eBfwqIbIOo#l-- zn?t{qH1THT3)|jmLz(ep^tw^yU#bhYzrwaI)HbGIEJt{5gW_-HzcR80{iJtLvAr@l zx4L)oq?bSN%8}eYn;g%MC*Sm7J=AsmSK3lz%z`?FDh^l0yEB<^hr$36^~D|*DzRxX1~>9;c3)e*ti!bi$t&>lj&i0w9z&m^O=ND+~gCVU600q-qRuI54NYzyO93mqYD-M}(@ z^(sh`knahBe?)fEXtC@c_wyU+lnQ`3J#|ax=y~R;r|65I zt+x9=(1f?uj9Rc-X&>cCe!PX}{snRiiA#mn8h`zkkN5NiJPWi;P0v1$9Iv&1(&|N) z6O=g!?j!%H%kL@WOCyIIx8(P<+IMbTcFE>)nllXb@503P1rlZ4H(ks{YJYa8OruPgS+<83#apNF_443~5u# z=mg2VN9Y$pRHZnIMKc~BEP_k36$^B$IyAngT9pewl0d=e!V-&1UDA%DUM15i>1Rou znsU=qrI3a?N_6bqv;cbCeGD{F_9C32(|Xa4clC6}5`ML%*xEKU^r7C(jXi^6_!!URF_`6tFg z-pjJbA|wyh5ROM&AyNG-f_go#BbcNhSZmWLH=6gQi4-Bh0aM;0uZ-xZX?Pj?k58ET^C= z5_zUAgCzeR9u*D?esUxb8r5bnb{QN&?UqWDY+|4x12AyVWiTIaDL>YE@aSN=I?>rO z*lhL?-*_c(S{y8Ru3c%xdD6-c1-r%qj_jlHMCU{`J$UqBCzkW(q5XB&@6QF!yF*+g zaUE82DA+Ns88UbjK6>74rx7pAX$_)FprQ`AD|$|7hR}*|hH5$z&R9{K@K4hb1RXt# zWlAXPX3}wzHziQu=1p8s5M%yWC0(25x(h0!0chSi}G4V(59j6BWq!j zCy3{9@C^Fzl`V-^1xOi?R$*j%RlpqdHq1A_ze}}?@Ip!{JprO%jAN08u|K5 z;qT_$m&4x;^bxzX94k`npw8-bpy@F3AHJhw;%6c)Ev9*mk|JtsUn^yUNUcC+CGrL% zTZV}Y1^E@_oE|p#KJ>h|-)lJ}_K{SoP^}gYwRrs}o^+fiohN5!@1n48$1G5Z;YSLE z!meGVZ*od`OR+M$HE!)Ga&QHJnRedK<$ccIeD|img^~o=U1VG>qnSS`;&p+@$`jJO2-#3|h zIQ{Tr0gl(^x_wP%nArJ(h*3$k1>eF)%jiN`YfT5h6@4v;DXUH2)AaVHcQN{~ixW*> zm(h-x8qCNdZCz%`i(HZrp1=Vs@pL`yXHvU&#}oPVK{p?_ zfiVWv*CPEps*IRv?M~x}VZqi}gqr8lNJ3_OOrpZABudI8advNww7AQX_w*lauQ_9x z_w7fw;aSPVgFDiG8(Jqb)|OAZon<_65(G;VrEcfZe*g}v)W2YZG${&30p(RW1&;`* zteKB_@uUZ^BYf z<>8X7;N7g=MRFiUd3gyopjB%Ub6?aHc%L2z+F6&uf2e<_>r-psPYO#aQFK!!Q)RQ* zSNV_8H0!HUE^S)56hbEJfvD3rHvXc2m+QAv_iVboFobB{o=er=*lL02lymH>i9!|# z9zT)tQ;9cdzY1I{^w7~?K-%ir7#diRsI;|rki0Zw7bhpZJ9_K;v+aJac4%k!K^4E> zopcXnvmJMvW__aOAK)Ii`-S6hhmHc=kA-=XsB*DDX!`?g;sIYv_!8nY8_3c7X%kF| zdK5zI5V%9qCu_VmK!^w~BMIt2n@JPuYf))Pe24htKYwlVVbcZZFXfmLeOkB81wz#zUMMqTRKAdCBa3p6AuJ_JK zz#CaUfm*G89mp&nl`8;q%RT^MzBu^?v`qNnF6~pVt12W%Q*z!R;s=U2Jc2_pN*pSX zYoT3J+cxidmL$Wtms}gaLzE+80N5h@wCUJ7f`h zN$iCjtw)2jEK^@L#v+xqs4L6yte4ooKjCHL#cGj_q%|z%wqh*n?n@@qnJ)!c?sEZ` z5b|EPGK{@yB~~zFEiEy#5NodDL)siGB)wQ`bG%&j{c1Vh+yad##0sdGhpFldCvF;Gx{6!6b1GSoDI6Xh#oNAw(o_Ui>U z;=RT!z1$)XYx8BX=Xw9yb?4;d=K-idbHhl0HzqvTNVul?>{oCD(w`r7doMm&b4R{V zW@t%D)2jsE*0znFyuRRzTx%Midv9EiqsMfYj=0}n1xGDdyMnPJxWL1reexMGc#f1H z#^G?6VJ`fk%m|qx)}A(0uP_MFDAESFZ#}DrjeAEhh!{=dKCur##K3Gkl`A?2tXTb+VApNQ z_Imw`*RGNK^+QvANW0O!rH>@1k9eGgXt~;)PO!9oNAAjfM>KB1Zvc#ht#Wz!+QhP; zBgy|$r&K|sKoHsSnTbha9U>d1UPtuWExseIA@XvQl7`0dqQjuW8M7l6nmoczM#qYv z;K(Q*6LX_!$y1ACB0w>XM^$!cu&?()JGN|%+g*P7n|sT?^@P=0K6*4;?CISz6l*W{ zmhb8FpEVPpdh@3$WxvZFw+MZEu(xk;=wx#%7x?A9#iPxf+8!I))7w)-bus<{TVLQN zLK-7@nSvBO0*{N=YKW~oOe_(QAVkU3aPFm1hEUd-o0OzDj9y@q``VQAe1YFxaEhR6 z-eo0*2Nq1=#$GcA%CYkrLC`8^YZ}o!*8x8Hae>2XZGHAGf%hFuKLy~-1y}`U=WuEHe^qrJciAxn#{FZN6-93Y?4t{kx<`u81b zEx63W0IEx1(wYGfD*D_hEBl@5EEvs6=P8tqCXy%BwRnl2e3>c-@)X({$>rq<+Ts|h z@lw4g_QqidyR})Gs%1;H!3PKY;m3y2e)}E6P_u~qN#ylbC$-yZQR@;gX+oxEjf9U}qd9cRvTXiSjcK9V0z z?t`CgbRSX-iuan;e0H(?CQ(+tOg+Rp1?3qlcZ-hmeRsU5 z9`6h4p+);hhby_es?a?68SPsIBr3jK;-f64V+mZukcS%G5}+jZ6!(@y5z78DE=!PP z7{IZ5n5-{W*&(Q&cK_a7wqTd`c!fM{scP=+B=~bT@eJj3sVv`{Ir}oIrIKz=mnsf6 z(DtHArYepy++-n@>qz=tzR$_c`jT>Un%58KqR>9U;*@b6qEJITq-SNl5c&&&Docbu^Q94UHJOgjn7O>lrrFzOqtbK zO%%A19;c$IZD)WLrhSbhM-yEyi<1^@MO_Mufk){PqF-pxvHHyptdkw)g}!lT(Dy%l zq*l99U71K%SLPf)mYL2dzr!=_Oy}gJ&b38Kr>eVBb;nnTY;Ma;OJ@arF7IqJ@^HbE zXNM2uMRgVAjpZ#M^x2O#6(j8CH>mr7&y$bpgJacy%R2b5#{oB0VAe^66z0gX;jCXfUO$M!LtrrFPd z&F2JiUja%l{yG6y%owG~Sf<3$Zg@mupXD{gZ&s5bn)CQjA0C`Gj<|h8f7s{SAC(+e zPuV=@7JD4B&ih~F6w1W2N@kua1A%q|?|C=A(jpsUa}99801qgSA=_z7uC*x#LzP*o znKMuUA&W?hR|&XDr%t$c6aQdFv5-{0UbDliO40!`iFNetbXArUa_wo(^~&{u zdii8dCz6n_@7qyzi}?C=wDd*(eyys5c9uL`%(F4H!g$Nb6SaPmg^ZXF_)*B4iT-ml zVYGPLB5sbAM?o9!>0a=0F31?lzT3OIoajAvd?(pk+J^SkvpXfhED29bMlKJ)Tjn9B z`9T2Ox|;KU?T-LKVcRkDgnOcL;y}eGoD+Coqh(jYnN7tcIc-_zp?w2*GAC^Zmw&raXr7>FPh3yIc%3X}?ZHYv*JtLU27XD`P z`Ruo!Z|)Jr?J}@6v7S#YFMrA_UM+gh<0pmYW9k}`J8ZEP|4i-X^JsR*H^+8>i7^Nl z`JID~}81?LM!48cU76EliM+2S1Jo|sV>GUbs7!$E%t?MkPO&|H! zYx!sNj;DhS+5NN*8$^KBXXI-)G;ouHd>|hf(hZI5WFy|NA)jzZsC#BdA9EmBC&mA; z%=?H<0}kTF7~+r+S-|lQu3MV9U~$BW7A0$0%uKQpz{hF}U*M7nJraN*X4F6I-{0Q9 zJ9Q|vdso~3{cXE+v48KreO47vNvGmu`-x9vvn}7BWs{xNH20XPQl~t!)4(*A%d>a3riUeBjY#jR;~&#X=Y% z;E+uTkAR@t!e1?&>D5Ejw?Vf>`;Pnm$|1`-lsu!qkBRUhai>45H%W=eM_E&jpS1mB zHaOk>GquTOggF7Y%YW>`WS`J=U7sp`Zzq~wO%DtvV8C%B8bdIEmcp3C7-0o34kre{ z3K)K4hvT@aA*@LhUCr`hVp$6H0M_tNWU4KoQYz9bzx zcR9{)+MTrQF5mlbvibKaKU*2}1NV2Db?bQ&al(j~_!oKJ-sp+K+eS}>8Gx2Cm0$eC z@0mKK-R}Rq&F{t-_pkLMyZznaBag}>y+O?b2mDl0*^|Z7{?-k zWK*8PnXrzb5M?YD#RuB%KC&a;dGG|^?K>-nM!Vy!!w30pITR>RLbQ(K*_LG1>D$#~ zXRWG=6%ri>?>btKw;wujAJMUGdg^heqBMC}BeMk4FKG%@YpcC%s&xhmkoE zAo+=8+>O>x_;(>pu-{t?~D0)mJ z<|)4fgka4@F2F;4FqS#s*ZL;vl-`g{WFJ1huHd@TTUC<3NgB*7T! z_Xa2bO7OFYu*ljHg9ks}0Hm!<--@XA5nu*(B#t!zH zEtuOutHm)fQS@3`ydqdR_y|!dT$C{J1P-fS0-VxBEQ423g2Vy@#KytRVK3maxH%^j zh&r~5XJX97bt)`PgKW~`pp-XQUU@EHuq}drWX0JV!&oJILCrO-7W3WmVBD302TK(a zgQ)1MU{)qQOOQ17qD3d!tnwZX zafi^y;)G_AJ%ebpsuS-j66H%mAhKrQ^X<;#jG2GL~+4-Sl#p z3wTS87CF{MrpU44;FCid5^D@)40zia1M!5wAauPTI{eG__QoR}4?o=T$bWgH8En~~ zdE}AZp0~T#>+SWPJ$?GIPK6dg$LY{U;N*zoZ^Pj1#?gD3Cyo_J*Q7I*W^f#HX?#;y1P#8|gk7eopfdu1*F z2qJr4k@f%jjR{5*-hAQ_(cRV2?+bltyW@d->+aZ?Tfg^0 z5WM@*V{Ch4?vDHp{aZgq9Rr$Qpud6~NV?@T2ZAO-Ga@XU)H_&FSzh&8YtcQ{kTF*N zeRp5Q?VjqXxs!cf(SB{S$9B)uL*wZ_{qF00{9${nZ~13Qb*tV+11K1_!5)3lm4;R(wj!5!G~0zCpX!MBtM3$b+)(IUo{ z!x9xCvheME3%g4I6|x{}&l7A+vS*W}x!SU)51i7LLX|9|F)x$qxub{w%E3J;nd#V_ zwHzbfF?@#(!Uj813`OJoDFm_&Jd?#>^xkmW4-TtJp>I!1(sSbgGPYv1QoV=nKGgen zP@;4)+uxZ@!g*S#NA+#52W-!K`60nV2y{liLAlq_;3w)Q(W8p2Ej~edgqMZg(Gncv z0!B!1jILh25#c2XxHAFm5=IZqPaq!(50%#3t#DAa&2h!JWMGw}J{PtVJlMdtB3#vm ze*wW^@&ak;Bu1Y9?jh+z|< zQ~N6DIn?wwjH{H^8q-!du%Q(oVBQ+T2g-VH?r>&jm-nvr9p&8JqwhR%`0!C6UfPa! z{y^!TR(s|Lrk)b|67fb`UYioBszpqsOO(${>N=vPMUME)RBpp@a^>ORU zm9GsQ&z;Q4*9UjqRm;|o?0)=?d(j96>uq4~k^G>y=k(JW)L~QtIs+$UVf-o5SxS~l z^o+j{pSX1kC(e*gwBl)1#wskRJTf`(_!9;4FkwIv9~GHYd%jlbiyerU+w%Fga{Pc% z?C7p$3}9aZD~Erpv)RqYu&!ch&9!=QzrClLTh{qS#HJDIV(}-(Or+k#PQ~oLE%4=Tp@atapx~Y>Vfttu($jaAG@0%VxHZrpJ z&V7x+&At}>p5%uXzmuKNV^O2g#c&KH?WDut&?1eg2#!emkm<>*`e9V z%Jg&=jBI;%N5RNcoJ!d<(oVKkLJc;l;-^2_wTlSLaewkj$H=tzboxfNt-JH2Wu%HN zC87a3AyUCw`2RBuPe$?o+Zdkd9DM3_3{M8C`TYNf7@iDrp>-keLEnq+32z7Ju>K3x zhq7AmCmKN!z;6gKW>m_Ld=dJ;xy7O}c}g&oqxn$9?jf;vJ6Y+EH$9~DKp-&4%H6G< zq9t95R?b1e@RoodjUElZBLle(0cS{Shi@f-z9Lox?vxM^DmqFq2th4`salRW-iWiY zdH<|C^Jso(i2n<2S6B4^KrEdloZ7-++fq3YnBbwg0-5a@UWDZJi8Olu6yRU+zL*sg z3|!dk?%DLryX98-zUW5WaT&3YAS8qUqL$)t==w&ua_on+2eiI|KWr;2FLMdos)Tdl z7b89+0j?MB7@}jsGO86lEbGGR-N>7wXm%#xNo`#LE)=HdyT zGv>hT?YqC~c6(i3YpdJkb#L{h^yHngK43otV?&%%4vWZ61D6Dkmf>9IXAFjlA_v$Y zS}-8Xh;y8cL?;^c5zjZ0Jx2-rE9Q3Q)1&2aLWoje()Zq|;JteEdCKhEMTv8Ct zN#8_cGmwqMPjo9fG|(_%A&YT$8C_bo2!DlZ68DoK8xh?8IzCfqym5w>Z%DZKz}R2A zdGl-bxBroS+df-7Zx9R8!H5`bIw}#~T2ct#1|C0hk|f58p>ms(Bx{9?6?~>p)uDS0 zeJ#t|-6OFk7fMt_LPu`>bm;e(-sbk$kB6kvzLMgkh`HqiK967lr{jc!dAK2C3grLw zYu66Ev`=HfystxCA*(p}iz8%L(VWE<}pU=}tbZ=mhmd{bJ`iuhPsc7!&L zgdNlX5!ffb=JLNUKRy*;CHDCsXa+k;ejPz1M!#FnWzLBV7UY@gXAaP9!flRdFL)ts zFrgZMNXO+OgJKVbqr;|P)i81*rF|U{ZOA?pH&5Dw3BDe#R#UA8~P(UO5B7EK4@DeJP>K*1m;t<<0)vrE|1 z_82>@xlGF)qn#)f>zR6{tXg*OJ(_7bfRIzp)V&>p<@>gPcuZrj_&g*&_wmcZCAxxej&G`*i#6sd#u5!cT$MkVS2q7Z6H1rWI`wX22C ziS4{&B9rk?+`H%Bv4>}u)!;oR3YqMIL-h{^59t_kTdJw9_S}J?vbUq|mHH0&t(~dX z=Iox(Us%@eE$%spdD^sTNM8hEfataa0Yc`Kruxh|z0QPFT11j>5wUd35fnh|6lA&P zL+|Tf;5`Jx@`mk?ldOgRe%}OHMKCdmXH?V=f~PNSAZT8~DDiN~;fSYktxktSgJqsE z0Er=z4#7ff7QGnk&Oe+s-#YE?%J1qc8>)~aK30-#W!!sXM&HTRlad+8$hEe6Cm?*W zx4NfyIiQL;#lG~eE~4N~bH{xuRy(;i;o#hq$W$_hc|wc6Az!U|Es2%TI{EJqFA?}t z7hVuW5y-{en(cpaB!$2X4R&??_*SI!hL%4M54X1uzc{|)emQxtYaAr9@QNR9A3iJs zD;LOoj^rWnF9-53Z zMe>Bndk1(LQGR#{kjIk8e{RcvVFUDxlv#=I5b=4q{Pc|dZmJ$XoQmD)#P+1T#851L zXDl&i?y{WXc){uE?;1=@lzPBN>Qt5ZsZ>imS&ds5AX0^-)0Rw~&Jxcz*gVkufd7EM z`iAkz=?CwP-Yu_skf-j(-nEESh7=+?Z_#_Auf|VZBf;0m42$c!Bt7dM8QVWLTtXos zJPh&J086%k{eo*d5c9Qwau>!5qC(-=-Z7R~?na2TXideI6KWxY=PdS7Q{%-5v=AT$5- zNFp(k$l6cXS$?D9N0aECf#5)^h+8_EMKZpD6fZkL=P(d|$UA2kEpg>hcHgp}$hJ9> zuZ_e#Jodc!2t^Wx86w;8!S6%-00J$NWDdrrG)6Z82SFwtxQMdZ1F9woatxF&7S12x z1Rv{S@^>-$2{Mp>zXdAQqscT%Sv#EvT|HspUdLhtmIwwrTSq26^XKTSts49KXEdZrQ$}*v5fd@cM8F?*)&Vtwappet zuzEy2uBOzCnpKNx4cgF+FM4@FJXi5dpe!hVA)9L8vPY>z0vt-|PDtHus=;d@QJ zLc^f;w8zRd91QR_=zxmyHD;EF$qs6vz!HK?W&w<&z@62`aPPu7VJ}iI!n$x-q!K9d zi#B|COx(Wq5eB}uq&>dStM8KnBG|qO>rJ%4of~XL#>E=Fi9|nPQnU?~KO`?;gNPm1@npJw)~4ffq9weMENyAreO)hjN@D zf&Es-u8>{{ltyz8f{p0C6_9Bp3M5ZYjNlDmMH2CXRoz$Rmdb*Y1V5D-6Q>AH9LaT6 z2Iv!RgQlP70NKY7;|_#_wqQs`D{sn8xms=@-*Uaqpun%(i7-*lW2R(l1%r&$QWyL^ z$W&stGd^squ3Oj7ZC(#U7iK{DQ~6gn6RjnBGnFj4JjS1v~sYcq$)f& z*P4PLk+zUbzceSEwv&6(GA2GRBxXuFi7zR#(-X)KSOL$YeRvBDGJGlZA@xzJ9V_#C zyk)bIalOZBJ|c9B0!G5Z6|A*+=Kt%Pey-^z;qBs4tPPQ3k3zx6Ph$Yea7(@PFkiWV|ESM~3|YHSsIl1%4mx3H;xAPBV~4W*P_Gv|moU7>~`oT`0NE`*|bAuDmT(=3OP5jWmR`6#&w- zi=IPLSAa5TSUy7RWKzn!KLK(99eMtKSmjKFTLdPH?GpS+UJYu;4CaNIi*chU$w48Ve3FSw9BM5MgsuY{EO<|r z4p9yG#C~{#fcKa9%K({Pb9AhgIA)>IDGxoL>`w9L-RivcKy1pm|^%Pdj2k-Vduhs%(GTHRz#<*(ko_b}in!Y5+y zuJ!zVxvR|oPc_R=^S)BIlgqn%JIQB1%{F_pzG*rcGn-3-zV$mQPwG2EHShE=7@ObB zl}cTuQX}|Ti?{g6c>4~^@baX%l_N&Et+KC_vpc%8Ug|BKJux&+xNOp&!j1*zDUMt-V`0n#c*V)akB$B(<9d_*Z1Zte4qr;fV^w;(@@=S^Nm1YjYSBzqRD zxLAv&4C4Tj)$WSj?^JfTX1sT{-_hJj{0?IHkg1v8Cjf!G3tV!`u> z_(rJN5$G}`4JUy!N!Wq>epY@J>jBL=`RP<9ld3Ex$$pdSgmxUZiG*W0SrGz;FDhYs zJ6WAP^S-jhG|QxpJDEA_tBH;~aV1IHU@^vwvrN0=F}uOpcFBxTehI=F{^tPFTlj!boyMMFlrPC@tnxeIw{zCOV?g6Bn z4DJvI!NG?PK?c7OtCx3V;;BMwn|t73vWPpN<@a^9nphI5&(d(FvHPyL6`Oo#xg(SA z%;3z?;}RF@xo$_Y*T|$tkG2(eztugIERi1@zUYv9NGe4iGplslX`SO1_G6u~D1wai zrH~x)Y{9-IKK0tySu{%=m%r=U;VeI%N{)+lbbM-KgBggSl5au)HR7aTFra9Y=-Q19 z-BtR_B7Y)7OgsRro|^SL$tSX3ahx;Km2w;&M&enTe1?2|M2^5X%SkUdjy)Hp@>z}t z_lU0NYJLAc(M91|l>8lQJ}ak%*E3rFNusX$AZ#!lcyq!El|~8EgqKGafHc;SV1{KA zL*E!Ikns8%d=k}US%Sw#RVCqJ@UiT+-u{7I`Qol@y39(Gz~eJ(rqgaplAN=MI&P&S zn^kerl$Q!gRLS}5pC>)j%65QF-<(dTjg*&$S!5YA?4(C^7$u%-nQ5np%AGaU=9je2 zw(qEI>%^wz8PhMiChgjc4KC0;ku<9u6(Nwagoq;QTb)M=4p_-{;c%BN{>tjW1b#Z> z&eid$z8gSeOxYZqw5I~+=Eok>zgH$EHpsNwCq1*ZPHjFvSf{M5N^CxvVS*gY^Tm-J zzq|>?8H#NSY;daKI@Ttxzspup><7g_;jBV6-z9vl2 z2*C!7&_l3001(LSqgFuo$^Z^pLg=RG;za)@YMjX5>|0%(BsL>oF@A4VyR%!;`F7sf zNy_4<7{ue_K!9AwUBB~g&ImI5I(K(Usk>93{G1OaJg&#oDOj5Vo42o#*s!1TT%3n- z%MUy?8K`gt)RBIo77!L)EI zEroU-Mb}nYlk^wwk8&Z8?#Pt$Ww%a*hbw8jAEY(=1hn}X#@4uvQ|j>-?LlqX*QY9V zxAe%#X1D%Vk33Rx>vi|EZsnIxkj(o9Ym$YpZ&8rK5e~pFFN1t1+NWs5OAC)owe0M% z3dunLXmnTBYLXS9!z!Z3wRW`ynGwYCA{O4Hh9$xBl3xw+ryoD~YX@SJedS$w zH`D9aJKS7Of-Fdl*eJ)|p^>D2aAa z(4_G-EDBdDnf2;paBw{%uoaTA$OxoCX)I{FsQvcW_d@UX;*}s2;sb8yfCDn;V5i$L zJzR*2ow#ATJB}Sx>k2wXj53706($`;dAOR%>;U zIJ;|@1z5_5HBcHFF(^EsiG*jrP>I)IeLV<5T!1QqBvf({G} zEnr$`GEfyDQK6S$V^u&hTmle2LJR^*$?VM+D*R5urpeV=x0T1h5n+5xn&ec(W<}GO z$!>%>;gpbbh_^zPDa7#_M$bVI4cJmnvBfJpcExQeI+b*5;l?%%VK8TcF@&<4xi0jQ z5yUux*=6i7f|%(6qUcXX9pB-GU3bL0%RSoShTRzs507!O=PvJ9iyP9vXp9Os`_CPr z!INLv*o)s*o9{BXI)fTU^GN*7L~bi-zoKxdgjNi*NJR!T3^Gv>Gb=t~7cN}$+iZ|( z$Md*1R>8&<^Q(XD>eQr9452?xNd1%@*u(LoAB6jmctKVxiQvKj1MS$t(b@7Y!8`@= zB@8Q>`jb=8^*Q?!If=5#08hB+(#=(UcDpLf2rme#>_!AXxCOz-zS zi6G{KzB+hrKd26ZgYXj1MgxNiG%&1$7(QBI1B1(g#G1v*u)RJvwgFUSS~C2{>QZba z2nt*w0C^bnXbXEJ6q9LCkOM%mR4<&4%W)8y8g53`CaSw-RmPw zMIHX>+hIQiXp=9|R**_KeSqSG@5hj->iI~hBa z9*>v-84$txCi0uauZ!kGMg+tNAxvhDAY{HT`#s6OPi~z1gEvWD^S^N28^6KLaefH; zl5fdzV!{t-=|#V5T^#ZP&QFtg;g8F#eNcZm229S+^i}<8sZuGyWy%kn=9O*Z*B=^x zeR}u4-RYgSy)!CsLIl{xLj$_kbc<()d76CmntF2RG;|$9mKu|*4|uR!g=#m zoJ+^6xF;5>a7uvXYg7jOOm9wsvp~c{IG>yTJG83GJ4u{i6I^tc{J}8xnA}y2Za7j{ zBSZnBl$BLWVgN@#p5R%@a&ImrFMnN|jxytV`fpH8({_(RkL+xowGf3w~TRbYj5iIytX3^J8}wTAN!s4tj3B zT+I1}a19V&+(0kZ6ft8mYGwTDkt-pmd>FT4(|+!$ys-4)x-R2ZqO4D_vR`R>591c$ zOAOXUG}2;XV=5xZ^D^QXykAU}!PE>C&ttOon}M^YK1;-WI$Zpy3}AU;WeK~$-X&UW zw8&metaz{lFn4ka3UF%4O1PN|=3aEIDC7amOr`KpvRI5`ruHNu&|VoNpGIjKkDU{Z z3W}3_UU(oYWySM49!G2!=x15Hl`)0J)FiK6G7pk&!gf7z=RzsQ;rM@){2_0td!wUX zZRH!NilF6ft*x(u}T<{{ZS0?cb|BM|+exS-Pq^hA5Sd^kZ^pP0Ebs>3*ln6 zI+%qFbziC0)81M}^Xrsb+ewLaKL#Ka(c>zOz>JujRulQ|&erB4;%%k1vpZk0)SK&u zWewA2=NM-Jt%=@mzUjiYH^ez&>kSG1Va&bM8=^4XWS}8ZB7JBcnxP7^wnkA9lf`Jc zWQjP%DVyz30&`He1Hsncy&ZDSo8j$*&qH_3SkMI{kzstW&DilWW;-SRzkC~E6nptb zGSeO$JPLPt1Yp&|iK8+T{#L?#l2{=asMGQ!2FUGWH=^;#)9v_pcHqT=Z#ecQi{%BdODteO z@QguJ!u)(iS-bgc($}CKJ>R_^qVIUw=Qp1^_3{rtCAy6!R^(p` zwQ?l!WINE%8I-NCEFKeHSdLRJhUEn7c{MDX?B5ZV9q7wYSeAJ3M|nH!s_gNQ=z_9A zc`Yo*D1TpA78IWkgyjU<`;UZWll{LCmK}1Ld?hTWnrbRNvot$Dv$Xg~V{Uz6dL`Tn ze;#YBtj;ejcJ3YAyC>Xr@@%71&hI?4w7ACCO6OzqtLxJXosX`q&(1G(-nlf}IJ>sC zd|+ru&S)$wEDg>qoo||HT56hYn%BRJ=%E`;b4}|_3m{3Zyx`dFXFkT6E1*rzbNwQE z?7iUU?8TSs_Oni+*KTk$x_>8aCFifPPf9ENKE}~io;l4^J89Q7%2J~xw(jJ6mOGqf z?^@Gx(*gQmX!9Nou2|rVLH*S8p+9QGQddRNA;>cRl_M@huW!jVNw7agn2cj_NcvT zpBh&C@njiQV`^MYr~_D=4{3nCBkHI+rjDyS)vMGAb(gwZ-J|Zs-(^zWuO3hjs)z7= zc{RQ-kE)aEHR>^ZU|y?Ur(Un#px&rX;ScjB^=37#POBL;s~YNznp0=hym~^NQw!?6 zT2xDFSzS;oYE`YNb#+l)QctSO>Wcav^%nJ3^)~f(^$zvD>ig7&dP==hy-U4YeZTqv z^&a(JTpFHH?^EwrA5b4uKd634{jmBGbyfYS`Z28dKdyd4eOUdZ`iT0d`k4B-`YH9( z>J#dd>Qm~|>NDz^`Wf2vbLwZ+=heSZUr;}%zNmg){Y&+~s9#Xes(+<^QT?y#OX|A% z-_$RuUshjM|62Wu`c?H6^_==O^>5U#tKU$+ss63{E%ooz4Rurfw)(329re5F_tfvJ zKTv3Tk22M|Dpa&{ki%J^_S|e)PGiASKm2^M)o3HhPKVKHbQ#@7kI`%N88xGB>@ap3 zyNrHgw=sY>z>u-W*lX-FhK>Ekh%su68RN!;alkle95U`8`savo)Hr4wH|`|k$_e8x z<8I>~<6h%FW74?ac))njc*uCzc(w6}@u+dqc#ZLx@wo9?<8{XCjW-x?G)@^)#+!^c z8`H*VW5$>@8pau8&Nyq#8&4SLj0NMov1lwA%fXLe8Tvo@hRie#%GLc#?Kg^H9ps5 zP0!3MtuL+>rf1gXFHWyD22QUurq3-e%`dL4#-?XyEeP1z`HKx_dSzwl(!lAZwX?aP zI5WR8v(OlrUAnY*`<{iynYH|F=d8@non6b^wrhPkyrWzn7UjZJaF)Iz8YAyEl*wZbYXR2diAVqI$N7@DJD)YOfQ~`pI%y+%-P1wxdF~k=u)t~Fu%H%X8YpG(xPs`%?)WiH#(wQ z&WW~Yp_#KQOXnK{GYdw&xf1wig~>Y0!Er4L2MYXXY0c8nb@5 z#X30G7zp;Ix9^KKbo)kU2mN{b*?ONDT&kb3KEK9roL-r=8HUp<^6KWy!u;~`Wp+^S zpe>~2vAsU4-+zJTP6wOo%d(Ns8*!H62J801!t`=*rNhS3%D{Q{TQvXa`Nc+_-}8+{ zI&^+@W_?wbad&gq$~1#M+FDrA2Zw4}Frir%@oNjpu?HL}4` z>G!3@#m3B9KG?Cqs2DhXc|d+s!LH@$_0_1n(pXtv^n?8}JEm9G2F|QZpKpW}3ip+w zGk6$-FREBM*v(}#=k!(K*a<7MwLg5azJE9(R@WNK1E;xg`!*zfDSR<~97?kN@Dh)A zqGv8GCv=gAt)7D@ZcZLv=i>Yfwd6HcrUx$0&o-8Loo)M~t@BH#=NB5z?EINC11uzs z*|aXs&n-eF=o8t`^wPsHIJD9@PbI?hRvL>uf=R%6mbARg2$>tMd@(f_rZ4jbNl5Vg z^6LC*x^aGa?ef5-`9)Tgl%}&m*Cuq?YCJi!us+*x8c!}yFV1ReL6Pyno;9JOj1H%9 zIV5_sF^b7EjmE6BVhU13N6#-#uUxiuS?GnMOVn|GI;o4xvu8YASY1EOo2@T2O2Ovk z^Nf&l(2W(w&eF=|+-<$H}qi61Db8EhraEYK|W8I~K}CzdX) za~*qJ`QnOz$avw_!aS?b%H`*DhCO2d{i-9FbSOKEwX#c8E+VV$8JEETgau^)C~tx`LjYW+h4SMZfRg`X<+8; z^x|A&wfdsNi;YXs!R!kUy6iZ+ep5&M zE>_rc`+Q@L8L_n3u!NW4esSs3geC>C^Yb(Id7)QpoM4`x7Y;Xl9>U6a(Tq!6sCxGN z`oh}$GGsKM(5vzD>uZgqOlX;VjxK1DWKom_)mdB`2#fK>rL{&*zJ$3RScBBlN?aZ8 zNiIQF&rHuW(lQqYmRDGh8kf>bD|6F}^H+2WnDo&y-LwojXGKpgPqQ4(OfRN1R~F3E zxRf2{Gm}P^EHfzD%k!)XwCh@Id44g?AM{g*`PyYO*ho>G%L4kaI(>vJykVDi!_ z!m3+gt+LB2u+74<53F8Tm(E&VS$cxLO+Zgq8%a%0Y2w6%b>1$uLPrWsyu|pRqx2A1 zO|g#9>jTVWU`c~=z#j)2afZ#311)0wEY37mEsE6TY+|J`*LX4`>nxHU%O5OmW5o=% z_0L6~*x(IV;o*w7PM5iEdEqiQT!uC;(9PU}BC0CRTV7v1D;MeQbB$T5Nm&+$sI+>P z3N0`309kLjHe50SDsQeZARBA>m8B&{f3ScBBrUaVS8N3id1d|dWgDJqVEQye%F-oy z40{m8mM%F`(#!p7a&?*(mUjpWt8w{Ft+Ko^Le5Y-H!L%M-~iLB5bT+=9JzAkaw^== z;$TpYBWca%b$6}|G!`$;BT>m@@WNemA`QK22Al3`V+}@fZgoJ`*JQM1uAZH5EX-P~ zFhPiQN&U;fG*@K;UCyl1JTiJ`8Y}=a4R3X6U0PT;!j&c7ghlw=LLdHS*!ZZO%9tQMnV zGl;;en;Rk?Wx^AwAopKf%ZJ+#hx0HB=UGfs+jd3QHZIa|(FRh;!fbSwkb-P@1@p79 zB9qz)cQD$cno+#O1aQM6=NoHhmo{&59%eDRiSUp#o3v%{g47JrXC|sS18rrRRXIAJ z7Ul{b9GyVFa?0A}sJgOPuS7RnU6kd2Evm-q+6sLh-HNUCnKd*G(XB2{ugp)MUTAQu z#hHPS501-50>N&f5nG#{GwHFp##(Z1di9*peH(Re1F2)V;ZiBI0PqXQfM?U2TQlcp zGn*T%cJtGV-sU!Rbp1(xb8}h9$m&^G=B>M}onL=)>jvwmQ3kCiqbqp)lQ4xy{m$B1 zW)9C@S*5ss{`9J>49TFlzMNQNtgI&1R;ZgxGr+%vx}mKtS;@W4V|tlQZEmhFTWgo* zg|*5H|1`ivfoYvNdwBq6y6~c1^oe)-PIDc0X<^o1UwjcW#v#4vtuM-&<7^3`UeqN6 z`kD+gNQ)!kBAAS}rJw}_`{MbCU!oKWgAPR|v0k$%LW33=2FAtn@k>Y=)}`qc*-l)V zUYj}VTsk|y7K})WOs@eM$7Zl5+EO041oxSvbWV@k0Y(wh+U&MH>x<_WX?uU`9QrIc S%eu0(bY3Wn{-shV(f@DnLCFvR literal 0 HcmV?d00001 diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.de.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.de.js new file mode 100644 index 0000000..f417c73 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.de.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.de",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["Array","Boolescher Wert","Klasse","Konstante","Konstruktor","Enumeration","Enumerationsmember","Ereignis","Feld","Datei","Funktion","Schnittstelle","Schl\xFCssel","Methode","Modul","Namespace","NULL","Zahl","Objekt","Operator","Paket","Eigenschaft","Zeichenfolge","Struktur","Typparameter","Variable","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.de.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.es.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.es.js new file mode 100644 index 0000000..4b7ac17 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.es.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.es",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["matriz","booleano","clase","constante","constructor","enumeraci\xF3n","miembro de la enumeraci\xF3n","evento","campo","archivo","funci\xF3n","interfaz","clave","m\xE9todo","m\xF3dulo","espacio de nombres","NULL","n\xFAmero","objeto","operador","paquete","propiedad","cadena","estructura","par\xE1metro de tipo","variable","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.es.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.fr.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.fr.js new file mode 100644 index 0000000..39c2ce1 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.fr.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.fr",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["tableau","bool\xE9en","classe","constante","constructeur","\xE9num\xE9ration","membre d'\xE9num\xE9ration","\xE9v\xE9nement","champ","fichier","fonction","interface","cl\xE9","m\xE9thode","module","espace de noms","NULL","nombre","objet","op\xE9rateur","package","propri\xE9t\xE9","cha\xEEne","struct","param\xE8tre de type","variable","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.fr.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.it.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.it.js new file mode 100644 index 0000000..14d0c83 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.it.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.it",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["matrice","valore booleano","classe","costante","costruttore","enumerazione","membro di enumerazione","evento","campo","file","funzione","interfaccia","chiave","metodo","modulo","spazio dei nomi","Null","numero","oggetto","operatore","pacchetto","propriet\xE0","stringa","struct","parametro di tipo","variabile","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.it.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ja.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ja.js new file mode 100644 index 0000000..9367775 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ja.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ja",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["\u914D\u5217","\u30D6\u30FC\u30EB\u5024","\u30AF\u30E9\u30B9","\u5B9A\u6570","\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC","\u5217\u6319\u578B","\u5217\u6319\u578B\u30E1\u30F3\u30D0\u30FC","\u30A4\u30D9\u30F3\u30C8","\u30D5\u30A3\u30FC\u30EB\u30C9","\u30D5\u30A1\u30A4\u30EB","\u95A2\u6570","\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9","\u30AD\u30FC","\u30E1\u30BD\u30C3\u30C9","\u30E2\u30B8\u30E5\u30FC\u30EB","\u540D\u524D\u7A7A\u9593","NULL","\u6570\u5024","\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8","\u6F14\u7B97\u5B50","\u30D1\u30C3\u30B1\u30FC\u30B8","\u30D7\u30ED\u30D1\u30C6\u30A3","\u6587\u5B57\u5217","\u69CB\u9020\u4F53","\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC","\u5909\u6570","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ja.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.js new file mode 100644 index 0000000..0256cd8 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["array","boolean","class","constant","constructor","enumeration","enumeration member","event","field","file","function","interface","key","method","module","namespace","null","number","object","operator","package","property","string","struct","type parameter","variable","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ko.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ko.js new file mode 100644 index 0000000..a6f4497 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ko.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ko",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["\uBC30\uC5F4","\uBD80\uC6B8","\uD074\uB798\uC2A4","\uC0C1\uC218","\uC0DD\uC131\uC790","\uC5F4\uAC70\uD615","\uC5F4\uAC70\uD615 \uBA64\uBC84","\uC774\uBCA4\uD2B8","\uD544\uB4DC","\uD30C\uC77C","\uD568\uC218","\uC778\uD130\uD398\uC774\uC2A4","\uD0A4","\uBA54\uC11C\uB4DC","\uBAA8\uB4C8","\uB124\uC784\uC2A4\uD398\uC774\uC2A4","Null","\uC22B\uC790","\uAC1C\uCCB4","\uC5F0\uC0B0\uC790","\uD328\uD0A4\uC9C0","\uC18D\uC131","\uBB38\uC790\uC5F4","\uAD6C\uC870\uCCB4","\uD615\uC2DD \uB9E4\uAC1C \uBCC0\uC218","\uBCC0\uC218","{0}({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ko.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ru.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ru.js new file mode 100644 index 0000000..6be5b6a --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.ru.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.ru",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["\u043C\u0430\u0441\u0441\u0438\u0432","\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435","\u043A\u043B\u0430\u0441\u0441","\u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u0430","\u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440","\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435","\u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F","\u0441\u043E\u0431\u044B\u0442\u0438\u0435","\u043F\u043E\u043B\u0435","\u0444\u0430\u0439\u043B","\u0444\u0443\u043D\u043A\u0446\u0438\u044F","\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441","\u043A\u043B\u044E\u0447","\u043C\u0435\u0442\u043E\u0434","\u043C\u043E\u0434\u0443\u043B\u044C","\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E \u0438\u043C\u0435\u043D","NULL","\u0447\u0438\u0441\u043B\u043E","\u043E\u0431\u044A\u0435\u043A\u0442","\u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440","\u043F\u0430\u043A\u0435\u0442","\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E","\u0441\u0442\u0440\u043E\u043A\u0430","\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430","\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0442\u0438\u043F\u0430","\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.ru.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-cn.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-cn.js new file mode 100644 index 0000000..5e023c9 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-cn.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.zh-cn",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["\u6570\u7EC4","\u5E03\u5C14\u503C","\u7C7B","\u5E38\u6570","\u6784\u9020\u51FD\u6570","\u679A\u4E3E","\u679A\u4E3E\u6210\u5458","\u4E8B\u4EF6","\u5B57\u6BB5","\u6587\u4EF6","\u51FD\u6570","\u63A5\u53E3","\u952E","\u65B9\u6CD5","\u6A21\u5757","\u547D\u540D\u7A7A\u95F4","Null","\u6570\u5B57","\u5BF9\u8C61","\u8FD0\u7B97\u7B26","\u5305","\u5C5E\u6027","\u5B57\u7B26\u4E32","\u7ED3\u6784","\u7C7B\u578B\u53C2\u6570","\u53D8\u91CF","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.zh-cn.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-tw.js b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-tw.js new file mode 100644 index 0000000..929dcc3 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/common/worker/simpleWorker.nls.zh-tw.js @@ -0,0 +1,8 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls.zh-tw",{"vs/base/common/platform":["_"],"vs/editor/common/languages":["\u9663\u5217","\u5E03\u6797\u503C","\u985E\u5225","\u5E38\u6578","\u5EFA\u69CB\u51FD\u5F0F","\u5217\u8209","\u5217\u8209\u6210\u54E1","\u4E8B\u4EF6","\u6B04\u4F4D","\u6A94\u6848","\u51FD\u5F0F","\u4ECB\u9762","\u7D22\u5F15\u9375","\u65B9\u6CD5","\u6A21\u7D44","\u547D\u540D\u7A7A\u9593","null","\u6578\u5B57","\u7269\u4EF6","\u904B\u7B97\u5B50","\u5957\u4EF6","\u5C6C\u6027","\u5B57\u4E32","\u7D50\u69CB","\u578B\u5225\u53C3\u6578","\u8B8A\u6578","{0} ({1})"]}); + +//# sourceMappingURL=../../../../../min-maps/vs/base/common/worker/simpleWorker.nls.zh-tw.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/base/worker/workerMain.js b/v2realbot/static/js/libs/monaco/vs/base/worker/workerMain.js new file mode 100644 index 0000000..2151261 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/base/worker/workerMain.js @@ -0,0 +1,27 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/(function(){var X=["require","exports","vs/editor/common/core/range","vs/editor/common/core/offsetRange","vs/editor/common/core/position","vs/base/common/errors","vs/base/common/strings","vs/base/common/arrays","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm","vs/base/common/event","vs/editor/common/core/lineRange","vs/base/common/arraysFind","vs/base/common/assert","vs/base/common/lifecycle","vs/base/common/objects","vs/editor/common/diff/defaultLinesDiffComputer/utils","vs/editor/common/diff/rangeMapping","vs/base/common/platform","vs/base/common/uri","vs/nls","vs/base/common/functional","vs/base/common/iterator","vs/base/common/linkedList","vs/base/common/stopwatch","vs/base/common/diff/diff","vs/base/common/types","vs/base/common/uint","vs/editor/common/core/characterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm","vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence","vs/editor/common/diff/linesDiffComputer","vs/base/common/cache","vs/base/common/color","vs/base/common/diff/diffChange","vs/base/common/keyCodes","vs/base/common/lazy","vs/base/common/map","vs/base/common/cancellation","vs/base/common/hash","vs/base/common/codicons","vs/editor/common/core/selection","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations","vs/editor/common/diff/defaultLinesDiffComputer/lineSequence","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing","vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines","vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer","vs/editor/common/diff/legacyLinesDiffComputer","vs/editor/common/diff/linesDiffComputers","vs/editor/common/languages/defaultDocumentColorsComputer","vs/editor/common/languages/linkComputer","vs/editor/common/languages/supports/inplaceReplaceSupport","vs/editor/common/model","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/mirrorTextModel","vs/editor/common/model/textModelSearch","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/standalone/standaloneEnums","vs/editor/common/tokenizationRegistry","vs/nls!vs/base/common/platform","vs/nls!vs/base/common/worker/simpleWorker","vs/base/common/process","vs/base/common/path","vs/nls!vs/editor/common/languages","vs/editor/common/languages","vs/editor/common/services/editorBaseApi","vs/base/common/worker/simpleWorker","vs/editor/common/services/editorSimpleWorker"],J=function(T){for(var n=[],M=0,A=T.length;M=0?!0:typeof process<"u"?process.platform==="win32":!1}}T.Environment=n})(ae||(ae={}));var ae;(function(T){class n{constructor(d,m,L){this.type=d,this.detail=m,this.timestamp=L}}T.LoaderEvent=n;class M{constructor(d){this._events=[new n(1,"",d)]}record(d,m){this._events.push(new n(d,m,T.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}T.LoaderEventRecorder=M;class A{record(d,m){}getEvents(){return[]}}A.INSTANCE=new A,T.NullLoaderEventRecorder=A})(ae||(ae={}));var ae;(function(T){class n{static fileUriToFilePath(A,i){if(i=decodeURI(i).replace(/%23/g,"#"),A){if(/^file:\/\/\//.test(i))return i.substr(8);if(/^file:\/\//.test(i))return i.substr(5)}else if(/^file:\/\//.test(i))return i.substr(7);return i}static startsWith(A,i){return A.length>=i.length&&A.substr(0,i.length)===i}static endsWith(A,i){return A.length>=i.length&&A.substr(A.length-i.length)===i}static containsQueryString(A){return/^[^\#]*\?/gi.test(A)}static isAbsolutePath(A){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(A)}static forEachProperty(A,i){if(A){let d;for(d in A)A.hasOwnProperty(d)&&i(d,A[d])}}static isEmpty(A){let i=!0;return n.forEachProperty(A,()=>{i=!1}),i}static recursiveClone(A){if(!A||typeof A!="object"||A instanceof RegExp||!Array.isArray(A)&&Object.getPrototypeOf(A)!==Object.prototype)return A;let i=Array.isArray(A)?[]:{};return n.forEachProperty(A,(d,m)=>{m&&typeof m=="object"?i[d]=n.recursiveClone(m):i[d]=m}),i}static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(A){return n.startsWith(A,"===anonymous")}static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=T.global.performance&&typeof T.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?T.global.performance.now():Date.now()}}n.NEXT_ANONYMOUS_ID=1,n.PERFORMANCE_NOW_PROBED=!1,n.HAS_PERFORMANCE_NOW=!1,T.Utilities=n})(ae||(ae={}));var ae;(function(T){function n(i){if(i instanceof Error)return i;const d=new Error(i.message||String(i)||"Unknown Error");return i.stack&&(d.stack=i.stack),d}T.ensureError=n;class M{static validateConfigurationOptions(d){function m(L){if(L.phase==="loading"){console.error('Loading "'+L.moduleId+'" failed'),console.error(L),console.error("Here are the modules that depend on it:"),console.error(L.neededBy);return}if(L.phase==="factory"){console.error('The factory function of "'+L.moduleId+'" has thrown an exception'),console.error(L),console.error("Here are the modules that depend on it:"),console.error(L.neededBy);return}}if(d=d||{},typeof d.baseUrl!="string"&&(d.baseUrl=""),typeof d.isBuild!="boolean"&&(d.isBuild=!1),typeof d.paths!="object"&&(d.paths={}),typeof d.config!="object"&&(d.config={}),typeof d.catchError>"u"&&(d.catchError=!1),typeof d.recordStats>"u"&&(d.recordStats=!1),typeof d.urlArgs!="string"&&(d.urlArgs=""),typeof d.onError!="function"&&(d.onError=m),Array.isArray(d.ignoreDuplicateModules)||(d.ignoreDuplicateModules=[]),d.baseUrl.length>0&&(T.Utilities.endsWith(d.baseUrl,"/")||(d.baseUrl+="/")),typeof d.cspNonce!="string"&&(d.cspNonce=""),typeof d.preferScriptTags>"u"&&(d.preferScriptTags=!1),d.nodeCachedData&&typeof d.nodeCachedData=="object"&&(typeof d.nodeCachedData.seed!="string"&&(d.nodeCachedData.seed="seed"),(typeof d.nodeCachedData.writeDelay!="number"||d.nodeCachedData.writeDelay<0)&&(d.nodeCachedData.writeDelay=1e3*7),!d.nodeCachedData.path||typeof d.nodeCachedData.path!="string")){const L=n(new Error("INVALID cached data configuration, 'path' MUST be set"));L.phase="configuration",d.onError(L),d.nodeCachedData=void 0}return d}static mergeConfigurationOptions(d=null,m=null){let L=T.Utilities.recursiveClone(m||{});return T.Utilities.forEachProperty(d,(h,o)=>{h==="ignoreDuplicateModules"&&typeof L.ignoreDuplicateModules<"u"?L.ignoreDuplicateModules=L.ignoreDuplicateModules.concat(o):h==="paths"&&typeof L.paths<"u"?T.Utilities.forEachProperty(o,(w,e)=>L.paths[w]=e):h==="config"&&typeof L.config<"u"?T.Utilities.forEachProperty(o,(w,e)=>L.config[w]=e):L[h]=T.Utilities.recursiveClone(o)}),M.validateConfigurationOptions(L)}}T.ConfigurationOptionsUtil=M;class A{constructor(d,m){if(this._env=d,this.options=M.mergeConfigurationOptions(m),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let L=this.options.nodeRequire.main.filename,h=Math.max(L.lastIndexOf("/"),L.lastIndexOf("\\"));this.options.baseUrl=L.substring(0,h+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let d=0;d{Array.isArray(m)?this.sortedPathsRules.push({from:d,to:m}):this.sortedPathsRules.push({from:d,to:[m]})}),this.sortedPathsRules.sort((d,m)=>m.from.length-d.from.length)}cloneAndMerge(d){return new A(this._env,M.mergeConfigurationOptions(d,this.options))}getOptionsLiteral(){return this.options}_applyPaths(d){let m;for(let L=0,h=this.sortedPathsRules.length;Lthis.triggerCallback(w),l=>this.triggerErrorback(w,l))}triggerCallback(o){let w=this._callbackMap[o];delete this._callbackMap[o];for(let e=0;e{o.removeEventListener("load",c),o.removeEventListener("error",l)},c=f=>{a(),w()},l=f=>{a(),e(f)};o.addEventListener("load",c),o.addEventListener("error",l)}load(o,w,e,a){if(/^node\|/.test(w)){let c=o.getConfig().getOptionsLiteral(),l=m(o.getRecorder(),c.nodeRequire||T.global.nodeRequire),f=w.split("|"),g=null;try{g=l(f[1])}catch(S){a(S);return}o.enqueueDefineAnonymousModule([],()=>g),e()}else{let c=document.createElement("script");c.setAttribute("async","async"),c.setAttribute("type","text/javascript"),this.attachListeners(c,e,a);const{trustedTypesPolicy:l}=o.getConfig().getOptionsLiteral();l&&(w=l.createScriptURL(w)),c.setAttribute("src",w);const{cspNonce:f}=o.getConfig().getOptionsLiteral();f&&c.setAttribute("nonce",f),document.getElementsByTagName("head")[0].appendChild(c)}}}function A(h){const{trustedTypesPolicy:o}=h.getConfig().getOptionsLiteral();try{return(o?self.eval(o.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}class i{constructor(){this._cachedCanUseEval=null}_canUseEval(o){return this._cachedCanUseEval===null&&(this._cachedCanUseEval=A(o)),this._cachedCanUseEval}load(o,w,e,a){if(/^node\|/.test(w)){const c=o.getConfig().getOptionsLiteral(),l=m(o.getRecorder(),c.nodeRequire||T.global.nodeRequire),f=w.split("|");let g=null;try{g=l(f[1])}catch(S){a(S);return}o.enqueueDefineAnonymousModule([],function(){return g}),e()}else{const{trustedTypesPolicy:c}=o.getConfig().getOptionsLiteral();if(!(/^((http:)|(https:)|(file:))/.test(w)&&w.substring(0,self.origin.length)!==self.origin)&&this._canUseEval(o)){fetch(w).then(f=>{if(f.status!==200)throw new Error(f.statusText);return f.text()}).then(f=>{f=`${f} +//# sourceURL=${w}`,(c?self.eval(c.createScript("",f)):new Function(f)).call(self),e()}).then(void 0,a);return}try{c&&(w=c.createScriptURL(w)),importScripts(w),e()}catch(f){a(f)}}}}class d{constructor(o){this._env=o,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(o){this._didInitialize||(this._didInitialize=!0,this._fs=o("fs"),this._vm=o("vm"),this._path=o("path"),this._crypto=o("crypto"))}_initNodeRequire(o,w){const{nodeCachedData:e}=w.getConfig().getOptionsLiteral();if(!e||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;const a=this,c=o("module");function l(f){const g=f.constructor;let S=function(E){try{return f.require(E)}finally{}};return S.resolve=function(E,y){return g._resolveFilename(E,f,!1,y)},S.resolve.paths=function(E){return g._resolveLookupPaths(E,f)},S.main=process.mainModule,S.extensions=g._extensions,S.cache=g._cache,S}c.prototype._compile=function(f,g){const S=c.wrap(f.replace(/^#!.*/,"")),_=w.getRecorder(),E=a._getCachedDataPath(e,g),y={filename:g};let v;try{const N=a._fs.readFileSync(E);v=N.slice(0,16),y.cachedData=N.slice(16),_.record(60,E)}catch{_.record(61,E)}const r=new a._vm.Script(S,y),s=r.runInThisContext(y),u=a._path.dirname(g),p=l(this),b=[this.exports,p,this,g,u,process,Re,Buffer],C=s.apply(this.exports,b);return a._handleCachedData(r,S,E,!y.cachedData,w),a._verifyCachedData(r,S,E,v,w),C}}load(o,w,e,a){const c=o.getConfig().getOptionsLiteral(),l=m(o.getRecorder(),c.nodeRequire||T.global.nodeRequire),f=c.nodeInstrumenter||function(S){return S};this._init(l),this._initNodeRequire(l,o);let g=o.getRecorder();if(/^node\|/.test(w)){let S=w.split("|"),_=null;try{_=l(S[1])}catch(E){a(E);return}o.enqueueDefineAnonymousModule([],()=>_),e()}else{w=T.Utilities.fileUriToFilePath(this._env.isWindows,w);const S=this._path.normalize(w),_=this._getElectronRendererScriptPathOrUri(S),E=!!c.nodeCachedData,y=E?this._getCachedDataPath(c.nodeCachedData,w):void 0;this._readSourceAndCachedData(S,y,g,(v,r,s,u)=>{if(v){a(v);return}let p;r.charCodeAt(0)===d._BOM?p=d._PREFIX+r.substring(1)+d._SUFFIX:p=d._PREFIX+r+d._SUFFIX,p=f(p,S);const b={filename:_,cachedData:s},C=this._createAndEvalScript(o,p,b,e,a);this._handleCachedData(C,p,y,E&&!s,o),this._verifyCachedData(C,p,y,u,o)})}}_createAndEvalScript(o,w,e,a,c){const l=o.getRecorder();l.record(31,e.filename);const f=new this._vm.Script(w,e),g=f.runInThisContext(e),S=o.getGlobalAMDDefineFunc();let _=!1;const E=function(){return _=!0,S.apply(null,arguments)};return E.amd=S.amd,g.call(T.global,o.getGlobalAMDRequireFunc(),E,e.filename,this._path.dirname(e.filename)),l.record(32,e.filename),_?a():c(new Error(`Didn't receive define call in ${e.filename}!`)),f}_getElectronRendererScriptPathOrUri(o){if(!this._env.isElectronRenderer)return o;let w=o.match(/^([a-z])\:(.*)/i);return w?`file:///${(w[1].toUpperCase()+":"+w[2]).replace(/\\/g,"/")}`:`file://${o}`}_getCachedDataPath(o,w){const e=this._crypto.createHash("md5").update(w,"utf8").update(o.seed,"utf8").update(process.arch,"").digest("hex"),a=this._path.basename(w).replace(/\.js$/,"");return this._path.join(o.path,`${a}-${e}.code`)}_handleCachedData(o,w,e,a,c){o.cachedDataRejected?this._fs.unlink(e,l=>{c.getRecorder().record(62,e),this._createAndWriteCachedData(o,w,e,c),l&&c.getConfig().onError(l)}):a&&this._createAndWriteCachedData(o,w,e,c)}_createAndWriteCachedData(o,w,e,a){let c=Math.ceil(a.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),l=-1,f=0,g;const S=()=>{setTimeout(()=>{g||(g=this._crypto.createHash("md5").update(w,"utf8").digest());const _=o.createCachedData();if(!(_.length===0||_.length===l||f>=5)){if(_.length{E&&a.getConfig().onError(E),a.getRecorder().record(63,e),S()})}},c*Math.pow(4,f++))};S()}_readSourceAndCachedData(o,w,e,a){if(!w)this._fs.readFile(o,{encoding:"utf8"},a);else{let c,l,f,g=2;const S=_=>{_?a(_):--g===0&&a(void 0,c,l,f)};this._fs.readFile(o,{encoding:"utf8"},(_,E)=>{c=E,S(_)}),this._fs.readFile(w,(_,E)=>{!_&&E&&E.length>0?(f=E.slice(0,16),l=E.slice(16),e.record(60,w)):e.record(61,w),S()})}}_verifyCachedData(o,w,e,a,c){a&&(o.cachedDataRejected||setTimeout(()=>{const l=this._crypto.createHash("md5").update(w,"utf8").digest();a.equals(l)||(c.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${e}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(e,f=>{f&&c.getConfig().onError(f)}))},Math.ceil(5e3*(1+Math.random()))))}}d._BOM=65279,d._PREFIX="(function (require, define, __filename, __dirname) { ",d._SUFFIX=` +});`;function m(h,o){if(o.__$__isRecorded)return o;const w=function(a){h.record(33,a);try{return o(a)}finally{h.record(34,a)}};return w.__$__isRecorded=!0,w}T.ensureRecordedNodeRequire=m;function L(h){return new n(h)}T.createScriptLoader=L})(ae||(ae={}));var ae;(function(T){class n{constructor(h){let o=h.lastIndexOf("/");o!==-1?this.fromModulePath=h.substr(0,o+1):this.fromModulePath=""}static _normalizeModuleId(h){let o=h,w;for(w=/\/\.\//;w.test(o);)o=o.replace(w,"/");for(o=o.replace(/^\.\//g,""),w=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;w.test(o);)o=o.replace(w,"/");return o=o.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),o}resolveModule(h){let o=h;return T.Utilities.isAbsolutePath(o)||(T.Utilities.startsWith(o,"./")||T.Utilities.startsWith(o,"../"))&&(o=n._normalizeModuleId(this.fromModulePath+o)),o}}n.ROOT=new n(""),T.ModuleIdResolver=n;class M{constructor(h,o,w,e,a,c){this.id=h,this.strId=o,this.dependencies=w,this._callback=e,this._errorback=a,this.moduleIdResolver=c,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(h,o){try{return{returnedValue:h.apply(T.global,o),producedError:null}}catch(w){return{returnedValue:null,producedError:w}}}static _invokeFactory(h,o,w,e){return h.shouldInvokeFactory(o)?h.shouldCatchError()?this._safeInvokeFunction(w,e):{returnedValue:w.apply(T.global,e),producedError:null}:{returnedValue:null,producedError:null}}complete(h,o,w,e){this._isComplete=!0;let a=null;if(this._callback)if(typeof this._callback=="function"){h.record(21,this.strId);let c=M._invokeFactory(o,this.strId,this._callback,w);a=c.producedError,h.record(22,this.strId),!a&&typeof c.returnedValue<"u"&&(!this.exportsPassedIn||T.Utilities.isEmpty(this.exports))&&(this.exports=c.returnedValue)}else this.exports=this._callback;if(a){let c=T.ensureError(a);c.phase="factory",c.moduleId=this.strId,c.neededBy=e(this.id),this.error=c,o.onError(c)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(h){return this._isComplete=!0,this.error=h,this._errorback?(this._errorback(h),!0):!1}isComplete(){return this._isComplete}}T.Module=M;class A{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(h){let o=this._strModuleIdToIntModuleId.get(h);return typeof o>"u"&&(o=this._nextId++,this._strModuleIdToIntModuleId.set(h,o),this._intModuleIdToStrModuleId[o]=h),o}getStrModuleId(h){return this._intModuleIdToStrModuleId[h]}}class i{constructor(h){this.id=h}}i.EXPORTS=new i(0),i.MODULE=new i(1),i.REQUIRE=new i(2),T.RegularDependency=i;class d{constructor(h,o,w){this.id=h,this.pluginId=o,this.pluginParam=w}}T.PluginDependency=d;class m{constructor(h,o,w,e,a=0){this._env=h,this._scriptLoader=o,this._loaderAvailableTimestamp=a,this._defineFunc=w,this._requireFunc=e,this._moduleIdProvider=new A,this._config=new T.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=[],this._requireFunc.moduleManager=this}reset(){return new m(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)}getGlobalAMDDefineFunc(){return this._defineFunc}getGlobalAMDRequireFunc(){return this._requireFunc}static _findRelevantLocationInStack(h,o){let w=c=>c.replace(/\\/g,"/"),e=w(h),a=o.split(/\n/);for(let c=0;cthis._moduleIdProvider.getStrModuleId(g.id))),this._resolve(f)}_normalizeDependency(h,o){if(h==="exports")return i.EXPORTS;if(h==="module")return i.MODULE;if(h==="require")return i.REQUIRE;let w=h.indexOf("!");if(w>=0){let e=o.resolveModule(h.substr(0,w)),a=o.resolveModule(h.substr(w+1)),c=this._moduleIdProvider.getModuleId(e+"!"+a),l=this._moduleIdProvider.getModuleId(e);return new d(c,l,a)}return new i(this._moduleIdProvider.getModuleId(o.resolveModule(h)))}_normalizeDependencies(h,o){let w=[],e=0;for(let a=0,c=h.length;athis._moduleIdProvider.getStrModuleId(c));const a=T.ensureError(o);return a.phase="loading",a.moduleId=w,a.neededBy=e,a}_onLoadError(h,o){const w=this._createLoadError(h,o);this._modules2[h]||(this._modules2[h]=new M(h,this._moduleIdProvider.getStrModuleId(h),[],()=>{},null,null));let e=[];for(let l=0,f=this._moduleIdProvider.getMaxModuleId();l0;){let l=c.shift(),f=this._modules2[l];f&&(a=f.onDependencyError(w)||a);let g=this._inverseDependencies2[l];if(g)for(let S=0,_=g.length;S<_;S++){let E=g[S];e[E]||(c.push(E),e[E]=!0)}}a||this._config.onError(w)}_hasDependencyPath(h,o){let w=this._modules2[h];if(!w)return!1;let e=[];for(let c=0,l=this._moduleIdProvider.getMaxModuleId();c0;){let l=a.shift().dependencies;if(l)for(let f=0,g=l.length;fthis._relativeRequire(h,w,e,a);return o.toUrl=w=>this._config.requireToUrl(h.resolveModule(w)),o.getStats=()=>this.getLoaderEvents(),o.hasDependencyCycle=()=>this._hasDependencyCycle,o.config=(w,e=!1)=>{this.configure(w,e)},o.__$__nodeRequire=T.global.nodeRequire,o}_loadModule(h){if(this._modules2[h]||this._knownModules2[h])return;this._knownModules2[h]=!0;let o=this._moduleIdProvider.getStrModuleId(h),w=this._config.moduleIdToPaths(o),e=/^@[^\/]+\/[^\/]+$/;this._env.isNode&&(o.indexOf("/")===-1||e.test(o))&&w.push("node|"+o);let a=-1,c=l=>{if(a++,a>=w.length)this._onLoadError(h,l);else{let f=w[a],g=this.getRecorder();if(this._config.isBuild()&&f==="empty:"){this._buildInfoPath[h]=f,this.defineModule(this._moduleIdProvider.getStrModuleId(h),[],null,null,null),this._onLoad(h);return}g.record(10,f),this._scriptLoader.load(this,f,()=>{this._config.isBuild()&&(this._buildInfoPath[h]=f),g.record(11,f),this._onLoad(h)},S=>{g.record(12,f),c(S)})}};c(null)}_loadPluginDependency(h,o){if(this._modules2[o.id]||this._knownModules2[o.id])return;this._knownModules2[o.id]=!0;let w=e=>{this.defineModule(this._moduleIdProvider.getStrModuleId(o.id),[],e,null,null)};w.error=e=>{this._config.onError(this._createLoadError(o.id,e))},h.load(o.pluginParam,this._createRequire(n.ROOT),w,this._config.getOptionsLiteral())}_resolve(h){let o=h.dependencies;if(o)for(let w=0,e=o.length;wthis._moduleIdProvider.getStrModuleId(f)).join(` => +`)),h.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[a.id]=this._inverseDependencies2[a.id]||[],this._inverseDependencies2[a.id].push(h.id),a instanceof d){let l=this._modules2[a.pluginId];if(l&&l.isComplete()){this._loadPluginDependency(l.exports,a);continue}let f=this._inversePluginDependencies2.get(a.pluginId);f||(f=[],this._inversePluginDependencies2.set(a.pluginId,f)),f.push(a),this._loadModule(a.pluginId);continue}this._loadModule(a.id)}h.unresolvedDependenciesCount===0&&this._onModuleComplete(h)}_onModuleComplete(h){let o=this.getRecorder();if(h.isComplete())return;let w=h.dependencies,e=[];if(w)for(let f=0,g=w.length;fthis._config.getConfigForModule(h.strId)};continue}if(S===i.REQUIRE){e[f]=this._createRequire(h.moduleIdResolver);continue}let _=this._modules2[S.id];if(_){e[f]=_.exports;continue}e[f]=null}const a=f=>(this._inverseDependencies2[f]||[]).map(g=>this._moduleIdProvider.getStrModuleId(g));h.complete(o,this._config,e,a);let c=this._inverseDependencies2[h.id];if(this._inverseDependencies2[h.id]=null,c)for(let f=0,g=c.length;f"u"&&m())})(ae||(ae={}));var ue=this&&this.__awaiter||function(T,n,M,A){function i(d){return d instanceof M?d:new M(function(m){m(d)})}return new(M||(M=Promise))(function(d,m){function L(w){try{o(A.next(w))}catch(e){m(e)}}function h(w){try{o(A.throw(w))}catch(e){m(e)}}function o(w){w.done?d(w.value):i(w.value).then(L,h)}o((A=A.apply(T,n||[])).next())})};Y(X[19],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.load=n.create=n.setPseudoTranslation=n.getConfiguredDefaultLocale=n.localize=void 0;let M=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const A="i-default";function i(l,f){let g;return f.length===0?g=l:g=l.replace(/\{(\d+)\}/g,(S,_)=>{const E=_[0],y=f[E];let v=S;return typeof y=="string"?v=y:(typeof y=="number"||typeof y=="boolean"||y===void 0||y===null)&&(v=String(y)),v}),M&&(g="\uFF3B"+g.replace(/[aouei]/g,"$&$&")+"\uFF3D"),g}function d(l,f){let g=l[f];return g||(g=l["*"],g)?g:null}function m(l){return l.charAt(l.length-1)==="/"?l:l+"/"}function L(l,f,g){return ue(this,void 0,void 0,function*(){const S=m(l)+m(f)+"vscode/"+m(g),_=yield fetch(S);if(_.ok)return yield _.json();throw new Error(`${_.status} - ${_.statusText}`)})}function h(l){return function(f,g){const S=Array.prototype.slice.call(arguments,2);return i(l[f],S)}}function o(l,f,...g){return i(f,g)}n.localize=o;function w(l){}n.getConfiguredDefaultLocale=w;function e(l){M=l}n.setPseudoTranslation=e;function a(l,f){var g;return{localize:h(f[l]),getConfiguredDefaultLocale:(g=f.getConfiguredDefaultLocale)!==null&&g!==void 0?g:S=>{}}}n.create=a;function c(l,f,g,S){var _;const E=(_=S["vs/nls"])!==null&&_!==void 0?_:{};if(!l||l.length===0)return g({localize:o,getConfiguredDefaultLocale:()=>{var u;return(u=E.availableLanguages)===null||u===void 0?void 0:u["*"]}});const y=E.availableLanguages?d(E.availableLanguages,l):null,v=y===null||y===A;let r=".nls";v||(r=r+"."+y);const s=u=>{Array.isArray(u)?u.localize=h(u):u.localize=h(u[l]),u.getConfiguredDefaultLocale=()=>{var p;return(p=E.availableLanguages)===null||p===void 0?void 0:p["*"]},g(u)};typeof E.loadBundle=="function"?E.loadBundle(l,y,(u,p)=>{u?f([l+".nls"],s):s(p)}):E.translationServiceUrl&&!v?ue(this,void 0,void 0,function*(){var u;try{const p=yield L(E.translationServiceUrl,y,l);return s(p)}catch(p){if(!y.includes("-"))return console.error(p),f([l+".nls"],s);try{const b=y.split("-")[0],C=yield L(E.translationServiceUrl,b,l);return(u=E.availableLanguages)!==null&&u!==void 0||(E.availableLanguages={}),E.availableLanguages["*"]=b,s(C)}catch(b){return console.error(b),f([l+".nls"],s)}}}):f([l+r],s,u=>{if(r===".nls"){console.error("Failed trying to load default language strings",u);return}console.error(`Failed to load message bundle for language ${y}. Falling back to the default language:`,u),f([l+".nls"],s)})}n.load=c}),function(){const T=globalThis.MonacoEnvironment,n=T&&T.baseUrl?T.baseUrl:"../../../";function M(w,e){var a;if(T?.createTrustedTypesPolicy)try{return T.createTrustedTypesPolicy(w,e)}catch(c){console.warn(c);return}try{return(a=self.trustedTypes)===null||a===void 0?void 0:a.createPolicy(w,e)}catch(c){console.warn(c);return}}const A=M("amdLoader",{createScriptURL:w=>w,createScript:(w,...e)=>{const a=e.slice(0,-1).join(","),c=e.pop().toString();return`(function anonymous(${a}) { ${c} +})`}});function i(){try{return(A?globalThis.eval(A.createScript("","true")):new Function("true")).call(globalThis),!0}catch{return!1}}function d(){return new Promise((w,e)=>{if(typeof globalThis.define=="function"&&globalThis.define.amd)return w();const a=n+"vs/loader.js";if(!(/^((http:)|(https:)|(file:))/.test(a)&&a.substring(0,globalThis.origin.length)!==globalThis.origin)&&i()){fetch(a).then(l=>{if(l.status!==200)throw new Error(l.statusText);return l.text()}).then(l=>{l=`${l} +//# sourceURL=${a}`,(A?globalThis.eval(A.createScript("",l)):new Function(l)).call(globalThis),w()}).then(void 0,e);return}A?importScripts(A.createScriptURL(a)):importScripts(a),w()})}function m(){require.config({baseUrl:n,catchError:!0,trustedTypesPolicy:A,amdModulesPattern:/^vs\//})}function L(w){d().then(()=>{m(),require([w],function(e){setTimeout(function(){const a=e.create((c,l)=>{globalThis.postMessage(c,l)},null);for(globalThis.onmessage=c=>a.onmessage(c.data,c.ports);o.length>0;){const c=o.shift();a.onmessage(c.data,c.ports)}},0)})})}typeof globalThis.define=="function"&&globalThis.define.amd&&m();let h=!0;const o=[];globalThis.onmessage=w=>{if(!h){o.push(w);return}h=!1,L(w.data)}}(),Y(X[7],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CallbackIterable=n.ArrayQueue=n.reverseOrder=n.booleanComparator=n.numberComparator=n.tieBreakComparators=n.compareBy=n.CompareResult=n.splice=n.insertInto=n.asArray=n.pushMany=n.pushToEnd=n.pushToStart=n.arrayInsert=n.range=n.firstOrDefault=n.distinct=n.isNonEmptyArray=n.isFalsyOrEmpty=n.coalesceInPlace=n.coalesce=n.forEachWithNeighbors=n.forEachAdjacent=n.groupAdjacentBy=n.groupBy=n.quickSelect=n.binarySearch2=n.binarySearch=n.removeFastWithoutKeepingOrder=n.equals=n.tail2=n.tail=void 0;function M(x,O=0){return x[x.length-(1+O)]}n.tail=M;function A(x){if(x.length===0)throw new Error("Invalid tail call");return[x.slice(0,x.length-1),x[x.length-1]]}n.tail2=A;function i(x,O,F=(H,V)=>H===V){if(x===O)return!0;if(!x||!O||x.length!==O.length)return!1;for(let H=0,V=x.length;HF(x[H],O))}n.binarySearch=m;function L(x,O){let F=0,H=x-1;for(;F<=H;){const V=(F+H)/2|0,t=O(V);if(t<0)F=V+1;else if(t>0)H=V-1;else return V}return-(F+1)}n.binarySearch2=L;function h(x,O,F){if(x=x|0,x>=O.length)throw new TypeError("invalid index");const H=O[Math.floor(O.length*Math.random())],V=[],t=[],ne=[];for(const re of O){const le=F(re,H);le<0?V.push(re):le>0?t.push(re):ne.push(re)}return x!!O)}n.coalesce=c;function l(x){let O=0;for(let F=0;F0}n.isNonEmptyArray=g;function S(x,O=F=>F){const F=new Set;return x.filter(H=>{const V=O(H);return F.has(V)?!1:(F.add(V),!0)})}n.distinct=S;function _(x,O){return x.length>0?x[0]:O}n.firstOrDefault=_;function E(x,O){let F=typeof O=="number"?x:0;typeof O=="number"?F=x:(F=0,O=x);const H=[];if(F<=O)for(let V=F;VO;V--)H.push(V);return H}n.range=E;function y(x,O,F){const H=x.slice(0,O),V=x.slice(O);return H.concat(F,V)}n.arrayInsert=y;function v(x,O){const F=x.indexOf(O);F>-1&&(x.splice(F,1),x.unshift(O))}n.pushToStart=v;function r(x,O){const F=x.indexOf(O);F>-1&&(x.splice(F,1),x.push(O))}n.pushToEnd=r;function s(x,O){for(const F of O)x.push(F)}n.pushMany=s;function u(x){return Array.isArray(x)?x:[x]}n.asArray=u;function p(x,O,F){const H=C(x,O),V=x.length,t=F.length;x.length=V+t;for(let ne=V-1;ne>=H;ne--)x[ne+t]=x[ne];for(let ne=0;ne0}x.isGreaterThan=H;function V(t){return t===0}x.isNeitherLessOrGreaterThan=V,x.greaterThan=1,x.lessThan=-1,x.neitherLessOrGreaterThan=0})(N||(n.CompareResult=N={}));function R(x,O){return(F,H)=>O(x(F),x(H))}n.compareBy=R;function D(...x){return(O,F)=>{for(const H of x){const V=H(O,F);if(!N.isNeitherLessOrGreaterThan(V))return V}return N.neitherLessOrGreaterThan}}n.tieBreakComparators=D;const k=(x,O)=>x-O;n.numberComparator=k;const U=(x,O)=>(0,n.numberComparator)(x?1:0,O?1:0);n.booleanComparator=U;function I(x){return(O,F)=>-x(O,F)}n.reverseOrder=I;class B{constructor(O){this.items=O,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(O){let F=this.firstIdx;for(;F=0&&O(this.items[F]);)F--;const H=F===this.lastIdx?null:this.items.slice(F+1,this.lastIdx+1);return this.lastIdx=F,H}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const O=this.items[this.firstIdx];return this.firstIdx++,O}takeCount(O){const F=this.items.slice(this.firstIdx,this.firstIdx+O);return this.firstIdx+=O,F}}n.ArrayQueue=B;class z{constructor(O){this.iterate=O}toArray(){const O=[];return this.iterate(F=>(O.push(F),!0)),O}filter(O){return new z(F=>this.iterate(H=>O(H)?F(H):!0))}map(O){return new z(F=>this.iterate(H=>F(O(H))))}findLast(O){let F;return this.iterate(H=>(O(H)&&(F=H),!0)),F}findLastMaxBy(O){let F,H=!0;return this.iterate(V=>((H||N.isGreaterThan(O(V,F)))&&(H=!1,F=V),!0)),F}}n.CallbackIterable=z,z.empty=new z(x=>{})}),Y(X[11],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.mapFindFirst=n.findMaxIdxBy=n.findFirstMinBy=n.findLastMaxBy=n.findFirstMaxBy=n.MonotonousArray=n.findFirstIdxMonotonousOrArrLen=n.findFirstMonotonous=n.findLastIdxMonotonous=n.findLastMonotonous=n.findLastIdx=n.findLast=void 0;function M(l,f,g){const S=A(l,f);if(S!==-1)return l[S]}n.findLast=M;function A(l,f,g=l.length-1){for(let S=g;S>=0;S--){const _=l[S];if(f(_))return S}return-1}n.findLastIdx=A;function i(l,f){const g=d(l,f);return g===-1?void 0:l[g]}n.findLastMonotonous=i;function d(l,f,g=0,S=l.length){let _=g,E=S;for(;_0&&(g=_)}return g}n.findFirstMaxBy=o;function w(l,f){if(l.length===0)return;let g=l[0];for(let S=1;S=0&&(g=_)}return g}n.findLastMaxBy=w;function e(l,f){return o(l,(g,S)=>-f(g,S))}n.findFirstMinBy=e;function a(l,f){if(l.length===0)return-1;let g=0;for(let S=1;S0&&(g=S)}return g}n.findMaxIdxBy=a;function c(l,f){for(const g of l){const S=f(g);if(S!==void 0)return S}}n.mapFindFirst=c}),Y(X[32],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CachedFunction=n.LRUCachedFunction=void 0;class M{constructor(d){this.fn=d,this.lastCache=void 0,this.lastArgKey=void 0}get(d){const m=JSON.stringify(d);return this.lastArgKey!==m&&(this.lastArgKey=m,this.lastCache=this.fn(d)),this.lastCache}}n.LRUCachedFunction=M;class A{get cachedValues(){return this._map}constructor(d){this.fn=d,this._map=new Map}get(d){if(this._map.has(d))return this._map.get(d);const m=this.fn(d);return this._map.set(d,m),m}}n.CachedFunction=A}),Y(X[33],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Color=n.HSVA=n.HSLA=n.RGBA=void 0;function M(L,h){const o=Math.pow(10,h);return Math.round(L*o)/o}class A{constructor(h,o,w,e=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,h))|0,this.g=Math.min(255,Math.max(0,o))|0,this.b=Math.min(255,Math.max(0,w))|0,this.a=M(Math.max(Math.min(1,e),0),3)}static equals(h,o){return h.r===o.r&&h.g===o.g&&h.b===o.b&&h.a===o.a}}n.RGBA=A;class i{constructor(h,o,w,e){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,h),0)|0,this.s=M(Math.max(Math.min(1,o),0),3),this.l=M(Math.max(Math.min(1,w),0),3),this.a=M(Math.max(Math.min(1,e),0),3)}static equals(h,o){return h.h===o.h&&h.s===o.s&&h.l===o.l&&h.a===o.a}static fromRGBA(h){const o=h.r/255,w=h.g/255,e=h.b/255,a=h.a,c=Math.max(o,w,e),l=Math.min(o,w,e);let f=0,g=0;const S=(l+c)/2,_=c-l;if(_>0){switch(g=Math.min(S<=.5?_/(2*S):_/(2-2*S),1),c){case o:f=(w-e)/_+(w1&&(w-=1),w<1/6?h+(o-h)*6*w:w<1/2?o:w<2/3?h+(o-h)*(2/3-w)*6:h}static toRGBA(h){const o=h.h/360,{s:w,l:e,a}=h;let c,l,f;if(w===0)c=l=f=e;else{const g=e<.5?e*(1+w):e+w-e*w,S=2*e-g;c=i._hue2rgb(S,g,o+1/3),l=i._hue2rgb(S,g,o),f=i._hue2rgb(S,g,o-1/3)}return new A(Math.round(c*255),Math.round(l*255),Math.round(f*255),a)}}n.HSLA=i;class d{constructor(h,o,w,e){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,h),0)|0,this.s=M(Math.max(Math.min(1,o),0),3),this.v=M(Math.max(Math.min(1,w),0),3),this.a=M(Math.max(Math.min(1,e),0),3)}static equals(h,o){return h.h===o.h&&h.s===o.s&&h.v===o.v&&h.a===o.a}static fromRGBA(h){const o=h.r/255,w=h.g/255,e=h.b/255,a=Math.max(o,w,e),c=Math.min(o,w,e),l=a-c,f=a===0?0:l/a;let g;return l===0?g=0:a===o?g=((w-e)/l%6+6)%6:a===w?g=(e-o)/l+2:g=(o-w)/l+4,new d(Math.round(g*60),f,a,h.a)}static toRGBA(h){const{h:o,s:w,v:e,a}=h,c=e*w,l=c*(1-Math.abs(o/60%2-1)),f=e-c;let[g,S,_]=[0,0,0];return o<60?(g=c,S=l):o<120?(g=l,S=c):o<180?(S=c,_=l):o<240?(S=l,_=c):o<300?(g=l,_=c):o<=360&&(g=c,_=l),g=Math.round((g+f)*255),S=Math.round((S+f)*255),_=Math.round((_+f)*255),new A(g,S,_,a)}}n.HSVA=d;class m{static fromHex(h){return m.Format.CSS.parseHex(h)||m.red}static equals(h,o){return!h&&!o?!0:!h||!o?!1:h.equals(o)}get hsla(){return this._hsla?this._hsla:i.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:d.fromRGBA(this.rgba)}constructor(h){if(h)if(h instanceof A)this.rgba=h;else if(h instanceof i)this._hsla=h,this.rgba=i.toRGBA(h);else if(h instanceof d)this._hsva=h,this.rgba=d.toRGBA(h);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(h){return!!h&&A.equals(this.rgba,h.rgba)&&i.equals(this.hsla,h.hsla)&&d.equals(this.hsva,h.hsva)}getRelativeLuminance(){const h=m._relativeLuminanceForComponent(this.rgba.r),o=m._relativeLuminanceForComponent(this.rgba.g),w=m._relativeLuminanceForComponent(this.rgba.b),e=.2126*h+.7152*o+.0722*w;return M(e,4)}static _relativeLuminanceForComponent(h){const o=h/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(h){const o=this.getRelativeLuminance(),w=h.getRelativeLuminance();return o>w}isDarkerThan(h){const o=this.getRelativeLuminance(),w=h.getRelativeLuminance();return o{throw g.stack?c.isErrorNoTelemetry(g)?new c(g.message+` + +`+g.stack):new Error(g.message+` + +`+g.stack):g},0)}}emit(g){this.listeners.forEach(S=>{S(g)})}onUnexpectedError(g){this.unexpectedErrorHandler(g),this.emit(g)}onUnexpectedExternalError(g){this.unexpectedErrorHandler(g)}}n.ErrorHandler=M,n.errorHandler=new M;function A(f){L(f)||n.errorHandler.onUnexpectedError(f)}n.onUnexpectedError=A;function i(f){L(f)||n.errorHandler.onUnexpectedExternalError(f)}n.onUnexpectedExternalError=i;function d(f){if(f instanceof Error){const{name:g,message:S}=f,_=f.stacktrace||f.stack;return{$isError:!0,name:g,message:S,stack:_,noTelemetry:c.isErrorNoTelemetry(f)}}return f}n.transformErrorForSerialization=d;const m="Canceled";function L(f){return f instanceof h?!0:f instanceof Error&&f.name===m&&f.message===m}n.isCancellationError=L;class h extends Error{constructor(){super(m),this.name=this.message}}n.CancellationError=h;function o(){const f=new Error(m);return f.name=f.message,f}n.canceled=o;function w(f){return f?new Error(`Illegal argument: ${f}`):new Error("Illegal argument")}n.illegalArgument=w;function e(f){return f?new Error(`Illegal state: ${f}`):new Error("Illegal state")}n.illegalState=e;class a extends Error{constructor(g){super("NotSupported"),g&&(this.message=g)}}n.NotSupportedError=a;class c extends Error{constructor(g){super(g),this.name="CodeExpectedError"}static fromError(g){if(g instanceof c)return g;const S=new c;return S.message=g.message,S.stack=g.stack,S}static isErrorNoTelemetry(g){return g.name==="CodeExpectedError"}}n.ErrorNoTelemetry=c;class l extends Error{constructor(g){super(g||"An unexpected bug occurred."),Object.setPrototypeOf(this,l.prototype)}}n.BugIndicatingError=l}),Y(X[12],J([0,1,5]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkAdjacentItems=n.assertFn=n.assertNever=n.ok=void 0;function A(L,h){if(!L)throw new Error(h?`Assertion failed (${h})`:"Assertion Failed")}n.ok=A;function i(L,h="Unreachable"){throw new Error(h)}n.assertNever=i;function d(L){if(!L()){debugger;L(),(0,M.onUnexpectedError)(new M.BugIndicatingError("Assertion Failed"))}}n.assertFn=d;function m(L,h){let o=0;for(;o=0;r--)yield v[r]}A.reverse=w;function e(v){return!v||v[Symbol.iterator]().next().done===!0}A.isEmpty=e;function a(v){return v[Symbol.iterator]().next().value}A.first=a;function c(v,r){for(const s of v)if(r(s))return!0;return!1}A.some=c;function l(v,r){for(const s of v)if(r(s))return s}A.find=l;function*f(v,r){for(const s of v)r(s)&&(yield s)}A.filter=f;function*g(v,r){let s=0;for(const u of v)yield r(u,s++)}A.map=g;function*S(...v){for(const r of v)for(const s of r)yield s}A.concat=S;function _(v,r,s){let u=s;for(const p of v)u=r(u,p);return u}A.reduce=_;function*E(v,r,s=v.length){for(r<0&&(r+=v.length),s<0?s+=v.length:s>v.length&&(s=v.length);r=98&&_<=113)return null;switch(_){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return A.keyCodeToStr(_)}e.toElectronAccelerator=S})(o||(n.KeyCodeUtils=o={}));function w(e,a){const c=(a&65535)<<16>>>0;return(e|c)>>>0}n.KeyChord=w}),Y(X[36],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Lazy=void 0;class M{constructor(i){this.executor=i,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(i){this._error=i}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}n.Lazy=M}),Y(X[13],J([0,1,20,21]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DisposableMap=n.ImmortalReference=n.RefCountedDisposable=n.MutableDisposable=n.Disposable=n.DisposableStore=n.toDisposable=n.combinedDisposable=n.dispose=n.isDisposable=n.markAsSingleton=n.markAsDisposed=n.trackDisposable=n.setDisposableTracker=void 0;const i=!1;let d=null;function m(r){d=r}if(n.setDisposableTracker=m,i){const r="__is_disposable_tracked__";m(new class{trackDisposable(s){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{s[r]||console.log(u)},3e3)}setParent(s,u){if(s&&s!==S.None)try{s[r]=!0}catch{}}markAsDisposed(s){if(s&&s!==S.None)try{s[r]=!0}catch{}}markAsSingleton(s){}})}function L(r){return d?.trackDisposable(r),r}n.trackDisposable=L;function h(r){d?.markAsDisposed(r)}n.markAsDisposed=h;function o(r,s){d?.setParent(r,s)}function w(r,s){if(d)for(const u of r)d.setParent(u,s)}function e(r){return d?.markAsSingleton(r),r}n.markAsSingleton=e;function a(r){return typeof r.dispose=="function"&&r.dispose.length===0}n.isDisposable=a;function c(r){if(A.Iterable.is(r)){const s=[];for(const u of r)if(u)try{u.dispose()}catch(p){s.push(p)}if(s.length===1)throw s[0];if(s.length>1)throw new AggregateError(s,"Encountered errors while disposing of store");return Array.isArray(r)?[]:r}else if(r)return r.dispose(),r}n.dispose=c;function l(...r){const s=f(()=>c(r));return w(r,s),s}n.combinedDisposable=l;function f(r){const s=L({dispose:(0,M.createSingleCallFunction)(()=>{h(s),r()})});return s}n.toDisposable=f;class g{constructor(){this._toDispose=new Set,this._isDisposed=!1,L(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{c(this._toDispose)}finally{this._toDispose.clear()}}add(s){if(!s)return s;if(s===this)throw new Error("Cannot register a disposable on itself!");return o(s,this),this._isDisposed?g.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}deleteAndLeak(s){s&&this._toDispose.has(s)&&(this._toDispose.delete(s),o(s,null))}}n.DisposableStore=g,g.DISABLE_DISPOSED_WARNING=!1;class S{constructor(){this._store=new g,L(this),o(this._store,this)}dispose(){h(this),this._store.dispose()}_register(s){if(s===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(s)}}n.Disposable=S,S.None=Object.freeze({dispose(){}});class _{constructor(){this._isDisposed=!1,L(this)}get value(){return this._isDisposed?void 0:this._value}set value(s){var u;this._isDisposed||s===this._value||((u=this._value)===null||u===void 0||u.dispose(),s&&o(s,this),this._value=s)}clear(){this.value=void 0}dispose(){var s;this._isDisposed=!0,h(this),(s=this._value)===null||s===void 0||s.dispose(),this._value=void 0}}n.MutableDisposable=_;class E{constructor(s){this._disposable=s,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}n.RefCountedDisposable=E;class y{constructor(s){this.object=s}dispose(){}}n.ImmortalReference=y;class v{constructor(){this._store=new Map,this._isDisposed=!1,L(this)}dispose(){h(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{c(this._store.values())}finally{this._store.clear()}}get(s){return this._store.get(s)}set(s,u,p=!1){var b;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),p||(b=this._store.get(s))===null||b===void 0||b.dispose(),this._store.set(s,u)}deleteAndDispose(s){var u;(u=this._store.get(s))===null||u===void 0||u.dispose(),this._store.delete(s)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}n.DisposableMap=v}),Y(X[22],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkedList=void 0;class M{constructor(d){this.element=d,this.next=M.Undefined,this.prev=M.Undefined}}M.Undefined=new M(void 0);class A{constructor(){this._first=M.Undefined,this._last=M.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===M.Undefined}clear(){let d=this._first;for(;d!==M.Undefined;){const m=d.next;d.prev=M.Undefined,d.next=M.Undefined,d=m}this._first=M.Undefined,this._last=M.Undefined,this._size=0}unshift(d){return this._insert(d,!1)}push(d){return this._insert(d,!0)}_insert(d,m){const L=new M(d);if(this._first===M.Undefined)this._first=L,this._last=L;else if(m){const o=this._last;this._last=L,L.prev=o,o.next=L}else{const o=this._first;this._first=L,L.next=o,o.prev=L}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(L))}}shift(){if(this._first!==M.Undefined){const d=this._first.element;return this._remove(this._first),d}}pop(){if(this._last!==M.Undefined){const d=this._last.element;return this._remove(this._last),d}}_remove(d){if(d.prev!==M.Undefined&&d.next!==M.Undefined){const m=d.prev;m.next=d.next,d.next.prev=m}else d.prev===M.Undefined&&d.next===M.Undefined?(this._first=M.Undefined,this._last=M.Undefined):d.next===M.Undefined?(this._last=this._last.prev,this._last.next=M.Undefined):d.prev===M.Undefined&&(this._first=this._first.next,this._first.prev=M.Undefined);this._size-=1}*[Symbol.iterator](){let d=this._first;for(;d!==M.Undefined;)yield d.element,d=d.next}}n.LinkedList=A}),Y(X[37],J([0,1]),function(T,n){"use strict";var M,A;Object.defineProperty(n,"__esModule",{value:!0}),n.SetMap=n.BidirectionalMap=n.LRUCache=n.LinkedMap=n.ResourceMap=void 0;class i{constructor(a,c){this.uri=a,this.value=c}}function d(e){return Array.isArray(e)}class m{constructor(a,c){if(this[M]="ResourceMap",a instanceof m)this.map=new Map(a.map),this.toKey=c??m.defaultToKey;else if(d(a)){this.map=new Map,this.toKey=c??m.defaultToKey;for(const[l,f]of a)this.set(l,f)}else this.map=new Map,this.toKey=a??m.defaultToKey}set(a,c){return this.map.set(this.toKey(a),new i(a,c)),this}get(a){var c;return(c=this.map.get(this.toKey(a)))===null||c===void 0?void 0:c.value}has(a){return this.map.has(this.toKey(a))}get size(){return this.map.size}clear(){this.map.clear()}delete(a){return this.map.delete(this.toKey(a))}forEach(a,c){typeof c<"u"&&(a=a.bind(c));for(const[l,f]of this.map)a(f.value,f.uri,this)}*values(){for(const a of this.map.values())yield a.value}*keys(){for(const a of this.map.values())yield a.uri}*entries(){for(const a of this.map.values())yield[a.uri,a.value]}*[(M=Symbol.toStringTag,Symbol.iterator)](){for(const[,a]of this.map)yield[a.uri,a.value]}}n.ResourceMap=m,m.defaultToKey=e=>e.toString();class L{constructor(){this[A]="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 a;return(a=this._head)===null||a===void 0?void 0:a.value}get last(){var a;return(a=this._tail)===null||a===void 0?void 0:a.value}has(a){return this._map.has(a)}get(a,c=0){const l=this._map.get(a);if(l)return c!==0&&this.touch(l,c),l.value}set(a,c,l=0){let f=this._map.get(a);if(f)f.value=c,l!==0&&this.touch(f,l);else{switch(f={key:a,value:c,next:void 0,previous:void 0},l){case 0:this.addItemLast(f);break;case 1:this.addItemFirst(f);break;case 2:this.addItemLast(f);break;default:this.addItemLast(f);break}this._map.set(a,f),this._size++}return this}delete(a){return!!this.remove(a)}remove(a){const c=this._map.get(a);if(c)return this._map.delete(a),this.removeItem(c),this._size--,c.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const a=this._head;return this._map.delete(a.key),this.removeItem(a),this._size--,a.value}forEach(a,c){const l=this._state;let f=this._head;for(;f;){if(c?a.bind(c)(f.value,f.key,this):a(f.value,f.key,this),this._state!==l)throw new Error("LinkedMap got modified during iteration.");f=f.next}}keys(){const a=this,c=this._state;let l=this._head;const f={[Symbol.iterator](){return f},next(){if(a._state!==c)throw new Error("LinkedMap got modified during iteration.");if(l){const g={value:l.key,done:!1};return l=l.next,g}else return{value:void 0,done:!0}}};return f}values(){const a=this,c=this._state;let l=this._head;const f={[Symbol.iterator](){return f},next(){if(a._state!==c)throw new Error("LinkedMap got modified during iteration.");if(l){const g={value:l.value,done:!1};return l=l.next,g}else return{value:void 0,done:!0}}};return f}entries(){const a=this,c=this._state;let l=this._head;const f={[Symbol.iterator](){return f},next(){if(a._state!==c)throw new Error("LinkedMap got modified during iteration.");if(l){const g={value:[l.key,l.value],done:!1};return l=l.next,g}else return{value:void 0,done:!0}}};return f}[(A=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(a){if(a>=this.size)return;if(a===0){this.clear();return}let c=this._head,l=this.size;for(;c&&l>a;)this._map.delete(c.key),c=c.next,l--;this._head=c,this._size=l,c&&(c.previous=void 0),this._state++}addItemFirst(a){if(!this._head&&!this._tail)this._tail=a;else if(this._head)a.next=this._head,this._head.previous=a;else throw new Error("Invalid list");this._head=a,this._state++}addItemLast(a){if(!this._head&&!this._tail)this._head=a;else if(this._tail)a.previous=this._tail,this._tail.next=a;else throw new Error("Invalid list");this._tail=a,this._state++}removeItem(a){if(a===this._head&&a===this._tail)this._head=void 0,this._tail=void 0;else if(a===this._head){if(!a.next)throw new Error("Invalid list");a.next.previous=void 0,this._head=a.next}else if(a===this._tail){if(!a.previous)throw new Error("Invalid list");a.previous.next=void 0,this._tail=a.previous}else{const c=a.next,l=a.previous;if(!c||!l)throw new Error("Invalid list");c.previous=l,l.next=c}a.next=void 0,a.previous=void 0,this._state++}touch(a,c){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(c!==1&&c!==2)){if(c===1){if(a===this._head)return;const l=a.next,f=a.previous;a===this._tail?(f.next=void 0,this._tail=f):(l.previous=f,f.next=l),a.previous=void 0,a.next=this._head,this._head.previous=a,this._head=a,this._state++}else if(c===2){if(a===this._tail)return;const l=a.next,f=a.previous;a===this._head?(l.previous=void 0,this._head=l):(l.previous=f,f.next=l),a.next=void 0,a.previous=this._tail,this._tail.next=a,this._tail=a,this._state++}}}toJSON(){const a=[];return this.forEach((c,l)=>{a.push([l,c])}),a}fromJSON(a){this.clear();for(const[c,l]of a)this.set(c,l)}}n.LinkedMap=L;class h extends L{constructor(a,c=1){super(),this._limit=a,this._ratio=Math.min(Math.max(0,c),1)}get limit(){return this._limit}set limit(a){this._limit=a,this.checkTrim()}get(a,c=2){return super.get(a,c)}peek(a){return super.get(a,0)}set(a,c){return super.set(a,c,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}n.LRUCache=h;class o{constructor(a){if(this._m1=new Map,this._m2=new Map,a)for(const[c,l]of a)this.set(c,l)}clear(){this._m1.clear(),this._m2.clear()}set(a,c){this._m1.set(a,c),this._m2.set(c,a)}get(a){return this._m1.get(a)}getKey(a){return this._m2.get(a)}delete(a){const c=this._m1.get(a);return c===void 0?!1:(this._m1.delete(a),this._m2.delete(c),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}n.BidirectionalMap=o;class w{constructor(){this.map=new Map}add(a,c){let l=this.map.get(a);l||(l=new Set,this.map.set(a,l)),l.add(c)}delete(a,c){const l=this.map.get(a);l&&(l.delete(c),l.size===0&&this.map.delete(a))}forEach(a,c){const l=this.map.get(a);l&&l.forEach(c)}get(a){const c=this.map.get(a);return c||new Set}}n.SetMap=w}),Y(X[23],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.StopWatch=void 0;const M=globalThis.performance&&typeof globalThis.performance.now=="function";class A{static create(d){return new A(d)}constructor(d){this._now=M&&d===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}n.StopWatch=A}),Y(X[9],J([0,1,5,20,13,22,23]),function(T,n,M,A,i,d,m){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Relay=n.EventBufferer=n.EventMultiplexer=n.MicrotaskEmitter=n.DebounceEmitter=n.PauseableEmitter=n.createEventDeliveryQueue=n.Emitter=n.EventProfiling=n.Event=void 0;const L=!1,h=!1;var o;(function(b){b.None=()=>i.Disposable.None;function C(Z){if(h){const{onDidAddListener:j}=Z,G=c.create();let Q=0;Z.onDidAddListener=()=>{++Q===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),G.print()),j?.()}}}function N(Z,j){return F(Z,()=>{},0,void 0,!0,void 0,j)}b.defer=N;function R(Z){return(j,G=null,Q)=>{let K=!1,te;return te=Z(P=>{if(!K)return te?te.dispose():K=!0,j.call(G,P)},null,Q),K&&te.dispose(),te}}b.once=R;function D(Z,j,G){return x((Q,K=null,te)=>Z(P=>Q.call(K,j(P)),null,te),G)}b.map=D;function k(Z,j,G){return x((Q,K=null,te)=>Z(P=>{j(P),Q.call(K,P)},null,te),G)}b.forEach=k;function U(Z,j,G){return x((Q,K=null,te)=>Z(P=>j(P)&&Q.call(K,P),null,te),G)}b.filter=U;function I(Z){return Z}b.signal=I;function B(...Z){return(j,G=null,Q)=>{const K=(0,i.combinedDisposable)(...Z.map(te=>te(P=>j.call(G,P))));return O(K,Q)}}b.any=B;function z(Z,j,G,Q){let K=G;return D(Z,te=>(K=j(K,te),K),Q)}b.reduce=z;function x(Z,j){let G;const Q={onWillAddFirstListener(){G=Z(K.fire,K)},onDidRemoveLastListener(){G?.dispose()}};j||C(Q);const K=new S(Q);return j?.add(K),K.event}function O(Z,j){return j instanceof Array?j.push(Z):j&&j.add(Z),Z}function F(Z,j,G=100,Q=!1,K=!1,te,P){let q,W,$,ee=0,ie;const oe={leakWarningThreshold:te,onWillAddFirstListener(){q=Z(he=>{ee++,W=j(W,he),Q&&!$&&(ce.fire(W),W=void 0),ie=()=>{const se=W;W=void 0,$=void 0,(!Q||ee>1)&&ce.fire(se),ee=0},typeof G=="number"?(clearTimeout($),$=setTimeout(ie,G)):$===void 0&&($=0,queueMicrotask(ie))})},onWillRemoveListener(){K&&ee>0&&ie?.()},onDidRemoveLastListener(){ie=void 0,q.dispose()}};P||C(oe);const ce=new S(oe);return P?.add(ce),ce.event}b.debounce=F;function H(Z,j=0,G){return b.debounce(Z,(Q,K)=>Q?(Q.push(K),Q):[K],j,void 0,!0,void 0,G)}b.accumulate=H;function V(Z,j=(Q,K)=>Q===K,G){let Q=!0,K;return U(Z,te=>{const P=Q||!j(te,K);return Q=!1,K=te,P},G)}b.latch=V;function t(Z,j,G){return[b.filter(Z,j,G),b.filter(Z,Q=>!j(Q),G)]}b.split=t;function ne(Z,j=!1,G=[],Q){let K=G.slice(),te=Z(W=>{K?K.push(W):q.fire(W)});Q&&Q.add(te);const P=()=>{K?.forEach(W=>q.fire(W)),K=null},q=new S({onWillAddFirstListener(){te||(te=Z(W=>q.fire(W)),Q&&Q.add(te))},onDidAddFirstListener(){K&&(j?setTimeout(P):P())},onDidRemoveLastListener(){te&&te.dispose(),te=null}});return Q&&Q.add(q),q.event}b.buffer=ne;function re(Z,j){return(Q,K,te)=>{const P=j(new me);return Z(function(q){const W=P.evaluate(q);W!==le&&Q.call(K,W)},void 0,te)}}b.chain=re;const le=Symbol("HaltChainable");class me{constructor(){this.steps=[]}map(j){return this.steps.push(j),this}forEach(j){return this.steps.push(G=>(j(G),G)),this}filter(j){return this.steps.push(G=>j(G)?G:le),this}reduce(j,G){let Q=G;return this.steps.push(K=>(Q=j(Q,K),Q)),this}latch(j=(G,Q)=>G===Q){let G=!0,Q;return this.steps.push(K=>{const te=G||!j(K,Q);return G=!1,Q=K,te?K:le}),this}evaluate(j){for(const G of this.steps)if(j=G(j),j===le)break;return j}}function pe(Z,j,G=Q=>Q){const Q=(...q)=>P.fire(G(...q)),K=()=>Z.on(j,Q),te=()=>Z.removeListener(j,Q),P=new S({onWillAddFirstListener:K,onDidRemoveLastListener:te});return P.event}b.fromNodeEventEmitter=pe;function Le(Z,j,G=Q=>Q){const Q=(...q)=>P.fire(G(...q)),K=()=>Z.addEventListener(j,Q),te=()=>Z.removeEventListener(j,Q),P=new S({onWillAddFirstListener:K,onDidRemoveLastListener:te});return P.event}b.fromDOMEventEmitter=Le;function we(Z){return new Promise(j=>R(Z)(j))}b.toPromise=we;function be(Z){const j=new S;return Z.then(G=>{j.fire(G)},()=>{j.fire(void 0)}).finally(()=>{j.dispose()}),j.event}b.fromPromise=be;function Ce(Z,j){return j(void 0),Z(G=>j(G))}b.runAndSubscribe=Ce;function Se(Z,j){let G=null;function Q(te){G?.dispose(),G=new i.DisposableStore,j(te,G)}Q(void 0);const K=Z(te=>Q(te));return(0,i.toDisposable)(()=>{K.dispose(),G?.dispose()})}b.runAndSubscribeWithStore=Se;class ye{constructor(j,G){this._observable=j,this._counter=0,this._hasChanged=!1;const Q={onWillAddFirstListener:()=>{j.addObserver(this)},onDidRemoveLastListener:()=>{j.removeObserver(this)}};G||C(Q),this.emitter=new S(Q),G&&G.add(this.emitter)}beginUpdate(j){this._counter++}handlePossibleChange(j){}handleChange(j,G){this._hasChanged=!0}endUpdate(j){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function _e(Z,j){return new ye(Z,j).emitter.event}b.fromObservable=_e;function de(Z){return j=>{let G=0,Q=!1;const K={beginUpdate(){G++},endUpdate(){G--,G===0&&(Z.reportChanges(),Q&&(Q=!1,j()))},handlePossibleChange(){},handleChange(){Q=!0}};return Z.addObserver(K),Z.reportChanges(),{dispose(){Z.removeObserver(K)}}}}b.fromObservableLight=de})(o||(n.Event=o={}));class w{constructor(C){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${C}_${w._idPool++}`,w.all.add(this)}start(C){this._stopWatch=new m.StopWatch,this.listenerCount=C}stop(){if(this._stopWatch){const C=this._stopWatch.elapsed();this.durations.push(C),this.elapsedOverall+=C,this.invocationCount+=1,this._stopWatch=void 0}}}n.EventProfiling=w,w.all=new Set,w._idPool=0;let e=-1;class a{constructor(C,N=Math.random().toString(18).slice(2,5)){this.threshold=C,this.name=N,this._warnCountdown=0}dispose(){var C;(C=this._stacks)===null||C===void 0||C.clear()}check(C,N){const R=this.threshold;if(R<=0||N{const k=this._stacks.get(C.value)||0;this._stacks.set(C.value,k-1)}}}class c{static create(){var C;return new c((C=new Error().stack)!==null&&C!==void 0?C:"")}constructor(C){this.value=C}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class l{constructor(C){this.value=C}}const f=2,g=(b,C)=>{if(b instanceof l)C(b);else for(let N=0;N0||!((N=this._options)===null||N===void 0)&&N.leakWarningThreshold?new a((D=(R=this._options)===null||R===void 0?void 0:R.leakWarningThreshold)!==null&&D!==void 0?D:e):void 0,this._perfMon=!((k=this._options)===null||k===void 0)&&k._profName?new w(this._options._profName):void 0,this._deliveryQueue=(U=this._options)===null||U===void 0?void 0:U.deliveryQueue}dispose(){var C,N,R,D;if(!this._disposed){if(this._disposed=!0,((C=this._deliveryQueue)===null||C===void 0?void 0:C.current)===this&&this._deliveryQueue.reset(),this._listeners){if(L){const k=this._listeners;queueMicrotask(()=>{g(k,U=>{var I;return(I=U.stack)===null||I===void 0?void 0:I.print()})})}this._listeners=void 0,this._size=0}(R=(N=this._options)===null||N===void 0?void 0:N.onDidRemoveLastListener)===null||R===void 0||R.call(N),(D=this._leakageMon)===null||D===void 0||D.dispose()}}get event(){var C;return(C=this._event)!==null&&C!==void 0||(this._event=(N,R,D)=>{var k,U,I,B,z;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),i.Disposable.None;if(this._disposed)return i.Disposable.None;R&&(N=N.bind(R));const x=new l(N);let O,F;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(x.stack=c.create(),O=this._leakageMon.check(x.stack,this._size+1)),L&&(x.stack=F??c.create()),this._listeners?this._listeners instanceof l?((z=this._deliveryQueue)!==null&&z!==void 0||(this._deliveryQueue=new E),this._listeners=[this._listeners,x]):this._listeners.push(x):((U=(k=this._options)===null||k===void 0?void 0:k.onWillAddFirstListener)===null||U===void 0||U.call(k,this),this._listeners=x,(B=(I=this._options)===null||I===void 0?void 0:I.onDidAddFirstListener)===null||B===void 0||B.call(I,this)),this._size++;const H=(0,i.toDisposable)(()=>{O?.(),this._removeListener(x)});return D instanceof i.DisposableStore?D.add(H):Array.isArray(D)&&D.push(H),H}),this._event}_removeListener(C){var N,R,D,k;if((R=(N=this._options)===null||N===void 0?void 0:N.onWillRemoveListener)===null||R===void 0||R.call(N,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(k=(D=this._options)===null||D===void 0?void 0:D.onDidRemoveLastListener)===null||k===void 0||k.call(D,this),this._size=0;return}const U=this._listeners,I=U.indexOf(C);if(I===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,U[I]=void 0;const B=this._deliveryQueue.current===this;if(this._size*f<=U.length){let z=0;for(let x=0;x0}}n.Emitter=S;const _=()=>new E;n.createEventDeliveryQueue=_;class E{constructor(){this.i=-1,this.end=0}enqueue(C,N,R){this.i=0,this.end=R,this.current=C,this.value=N}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class y extends S{constructor(C){super(C),this._isPaused=0,this._eventQueue=new d.LinkedList,this._mergeFn=C?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const C=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(C))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(C){this._size&&(this._isPaused!==0?this._eventQueue.push(C):super.fire(C))}}n.PauseableEmitter=y;class v extends y{constructor(C){var N;super(C),this._delay=(N=C.delay)!==null&&N!==void 0?N:100}fire(C){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(C)}}n.DebounceEmitter=v;class r extends S{constructor(C){super(C),this._queuedEvents=[],this._mergeFn=C?.merge}fire(C){this.hasListeners()&&(this._queuedEvents.push(C),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(N=>super.fire(N)),this._queuedEvents=[]}))}}n.MicrotaskEmitter=r;class s{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new S({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(C){const N={event:C,listener:null};this.events.push(N),this.hasListeners&&this.hook(N);const R=()=>{this.hasListeners&&this.unhook(N);const D=this.events.indexOf(N);this.events.splice(D,1)};return(0,i.toDisposable)((0,A.createSingleCallFunction)(R))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(C=>this.hook(C))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(C=>this.unhook(C))}hook(C){C.listener=C.event(N=>this.emitter.fire(N))}unhook(C){C.listener&&C.listener.dispose(),C.listener=null}dispose(){this.emitter.dispose()}}n.EventMultiplexer=s;class u{constructor(){this.buffers=[]}wrapEvent(C){return(N,R,D)=>C(k=>{const U=this.buffers[this.buffers.length-1];U?U.push(()=>N.call(R,k)):N.call(R,k)},void 0,D)}bufferEvents(C){const N=[];this.buffers.push(N);const R=C();return this.buffers.pop(),N.forEach(D=>D()),R}}n.EventBufferer=u;class p{constructor(){this.listening=!1,this.inputEvent=o.None,this.inputEventListener=i.Disposable.None,this.emitter=new S({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(C){this.inputEvent=C,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=C(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}n.Relay=p}),Y(X[38],J([0,1,9]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CancellationTokenSource=n.CancellationToken=void 0;const A=Object.freeze(function(L,h){const o=setTimeout(L.bind(h),0);return{dispose(){clearTimeout(o)}}});var i;(function(L){function h(o){return o===L.None||o===L.Cancelled||o instanceof d?!0:!o||typeof o!="object"?!1:typeof o.isCancellationRequested=="boolean"&&typeof o.onCancellationRequested=="function"}L.isCancellationToken=h,L.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:M.Event.None}),L.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:A})})(i||(n.CancellationToken=i={}));class d{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?A:(this._emitter||(this._emitter=new M.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class m{constructor(h){this._token=void 0,this._parentListener=void 0,this._parentListener=h&&h.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new d),this._token}cancel(){this._token?this._token instanceof d&&this._token.cancel():this._token=i.Cancelled}dispose(h=!1){var o;h&&this.cancel(),(o=this._parentListener)===null||o===void 0||o.dispose(),this._token?this._token instanceof d&&this._token.dispose():this._token=i.None}}n.CancellationTokenSource=m}),Y(X[6],J([0,1,32,36]),function(T,n,M,A){"use strict";var i;Object.defineProperty(n,"__esModule",{value:!0}),n.InvisibleCharacters=n.AmbiguousCharacters=n.noBreakWhitespace=n.getLeftDeleteOffset=n.singleLetterHash=n.containsUppercaseCharacter=n.startsWithUTF8BOM=n.UTF8_BOM_CHARACTER=n.isEmojiImprecise=n.isFullWidthCharacter=n.containsUnusualLineTerminators=n.UNUSUAL_LINE_TERMINATORS=n.isBasicASCII=n.containsRTL=n.getCharContainingOffset=n.prevCharLength=n.nextCharLength=n.GraphemeIterator=n.CodePointIterator=n.getNextCodePoint=n.computeCodePoint=n.isLowSurrogate=n.isHighSurrogate=n.commonSuffixLength=n.commonPrefixLength=n.startsWithIgnoreCase=n.equalsIgnoreCase=n.isUpperAsciiLetter=n.isLowerAsciiLetter=n.isAsciiDigit=n.compareSubstringIgnoreCase=n.compareIgnoreCase=n.compareSubstring=n.compare=n.lastNonWhitespaceIndex=n.getLeadingWhitespace=n.firstNonWhitespaceIndex=n.splitLines=n.regExpLeadsToEndlessLoop=n.createRegExp=n.stripWildcards=n.convertSimple2RegExpPattern=n.rtrim=n.ltrim=n.trim=n.escapeRegExpCharacters=n.escape=n.format=n.isFalsyOrWhitespace=void 0;function d(P){return!P||typeof P!="string"?!0:P.trim().length===0}n.isFalsyOrWhitespace=d;const m=/{(\d+)}/g;function L(P,...q){return q.length===0?P:P.replace(m,function(W,$){const ee=parseInt($,10);return isNaN(ee)||ee<0||ee>=q.length?W:q[ee]})}n.format=L;function h(P){return P.replace(/[<>&]/g,function(q){switch(q){case"<":return"<";case">":return">";case"&":return"&";default:return q}})}n.escape=h;function o(P){return P.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}n.escapeRegExpCharacters=o;function w(P,q=" "){const W=e(P,q);return a(W,q)}n.trim=w;function e(P,q){if(!P||!q)return P;const W=q.length;if(W===0||P.length===0)return P;let $=0;for(;P.indexOf(q,$)===$;)$=$+W;return P.substring($)}n.ltrim=e;function a(P,q){if(!P||!q)return P;const W=q.length,$=P.length;if(W===0||$===0)return P;let ee=$,ie=-1;for(;ie=P.lastIndexOf(q,ee-1),!(ie===-1||ie+W!==ee);){if(ie===0)return"";ee=ie}return P.substring(0,ee)}n.rtrim=a;function c(P){return P.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}n.convertSimple2RegExpPattern=c;function l(P){return P.replace(/\*/g,"")}n.stripWildcards=l;function f(P,q,W={}){if(!P)throw new Error("Cannot create regex from empty string");q||(P=o(P)),W.wholeWord&&(/\B/.test(P.charAt(0))||(P="\\b"+P),/\B/.test(P.charAt(P.length-1))||(P=P+"\\b"));let $="";return W.global&&($+="g"),W.matchCase||($+="i"),W.multiline&&($+="m"),W.unicode&&($+="u"),new RegExp(P,$)}n.createRegExp=f;function g(P){return P.source==="^"||P.source==="^$"||P.source==="$"||P.source==="^\\s*$"?!1:!!(P.exec("")&&P.lastIndex===0)}n.regExpLeadsToEndlessLoop=g;function S(P){return P.split(/\r\n|\r|\n/)}n.splitLines=S;function _(P){for(let q=0,W=P.length;q=0;W--){const $=P.charCodeAt(W);if($!==32&&$!==9)return W}return-1}n.lastNonWhitespaceIndex=y;function v(P,q){return Pq?1:0}n.compare=v;function r(P,q,W=0,$=P.length,ee=0,ie=q.length){for(;W<$&&eese)return 1}const oe=$-W,ce=ie-ee;return oece?1:0}n.compareSubstring=r;function s(P,q){return u(P,q,0,P.length,0,q.length)}n.compareIgnoreCase=s;function u(P,q,W=0,$=P.length,ee=0,ie=q.length){for(;W<$&&ee=128||se>=128)return r(P.toLowerCase(),q.toLowerCase(),W,$,ee,ie);b(he)&&(he-=32),b(se)&&(se-=32);const fe=he-se;if(fe!==0)return fe}const oe=$-W,ce=ie-ee;return oece?1:0}n.compareSubstringIgnoreCase=u;function p(P){return P>=48&&P<=57}n.isAsciiDigit=p;function b(P){return P>=97&&P<=122}n.isLowerAsciiLetter=b;function C(P){return P>=65&&P<=90}n.isUpperAsciiLetter=C;function N(P,q){return P.length===q.length&&u(P,q)===0}n.equalsIgnoreCase=N;function R(P,q){const W=q.length;return q.length>P.length?!1:u(P,q,0,W)===0}n.startsWithIgnoreCase=R;function D(P,q){const W=Math.min(P.length,q.length);let $;for($=0;$1){const $=P.charCodeAt(q-2);if(U($))return B($,W)}return W}class O{get offset(){return this._offset}constructor(q,W=0){this._str=q,this._len=q.length,this._offset=W}setOffset(q){this._offset=q}prevCodePoint(){const q=x(this._str,this._offset);return this._offset-=q>=65536?2:1,q}nextCodePoint(){const q=z(this._str,this._len,this._offset);return this._offset+=q>=65536?2:1,q}eol(){return this._offset>=this._len}}n.CodePointIterator=O;class F{get offset(){return this._iterator.offset}constructor(q,W=0){this._iterator=new O(q,W)}nextGraphemeLength(){const q=de.getInstance(),W=this._iterator,$=W.offset;let ee=q.getGraphemeBreakType(W.nextCodePoint());for(;!W.eol();){const ie=W.offset,oe=q.getGraphemeBreakType(W.nextCodePoint());if(_e(ee,oe)){W.setOffset(ie);break}ee=oe}return W.offset-$}prevGraphemeLength(){const q=de.getInstance(),W=this._iterator,$=W.offset;let ee=q.getGraphemeBreakType(W.prevCodePoint());for(;W.offset>0;){const ie=W.offset,oe=q.getGraphemeBreakType(W.prevCodePoint());if(_e(oe,ee)){W.setOffset(ie);break}ee=oe}return $-W.offset}eol(){return this._iterator.eol()}}n.GraphemeIterator=F;function H(P,q){return new F(P,q).nextGraphemeLength()}n.nextCharLength=H;function V(P,q){return new F(P,q).prevGraphemeLength()}n.prevCharLength=V;function t(P,q){q>0&&I(P.charCodeAt(q))&&q--;const W=q+H(P,q);return[W-V(P,W),W]}n.getCharContainingOffset=t;let ne;function re(){return/(?:[\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 le(P){return ne||(ne=re()),ne.test(P)}n.containsRTL=le;const me=/^[\t\n\r\x20-\x7E]*$/;function pe(P){return me.test(P)}n.isBasicASCII=pe,n.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function Le(P){return n.UNUSUAL_LINE_TERMINATORS.test(P)}n.containsUnusualLineTerminators=Le;function we(P){return P>=11904&&P<=55215||P>=63744&&P<=64255||P>=65281&&P<=65374}n.isFullWidthCharacter=we;function be(P){return P>=127462&&P<=127487||P===8986||P===8987||P===9200||P===9203||P>=9728&&P<=10175||P===11088||P===11093||P>=127744&&P<=128591||P>=128640&&P<=128764||P>=128992&&P<=129008||P>=129280&&P<=129535||P>=129648&&P<=129782}n.isEmojiImprecise=be,n.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function Ce(P){return!!(P&&P.length>0&&P.charCodeAt(0)===65279)}n.startsWithUTF8BOM=Ce;function Se(P,q=!1){return P?(q&&(P=P.replace(/\\./g,"")),P.toLowerCase()!==P):!1}n.containsUppercaseCharacter=Se;function ye(P){return P=P%(2*26),P<26?String.fromCharCode(97+P):String.fromCharCode(65+P-26)}n.singleLetterHash=ye;function _e(P,q){return P===0?q!==5&&q!==7:P===2&&q===3?!1:P===4||P===2||P===3||q===4||q===2||q===3?!0:!(P===8&&(q===8||q===9||q===11||q===12)||(P===11||P===9)&&(q===9||q===10)||(P===12||P===10)&&q===10||q===5||q===13||q===7||P===1||P===13&&q===14||P===6&&q===6)}class de{static getInstance(){return de._INSTANCE||(de._INSTANCE=new de),de._INSTANCE}constructor(){this._data=Z()}getGraphemeBreakType(q){if(q<32)return q===10?3:q===13?2:4;if(q<127)return 0;const W=this._data,$=W.length/3;let ee=1;for(;ee<=$;)if(qW[3*ee+1])ee=2*ee+1;else return W[3*ee+2];return 0}}de._INSTANCE=null;function Z(){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 j(P,q){if(P===0)return 0;const W=G(P,q);if(W!==void 0)return W;const $=new O(q,P);return $.prevCodePoint(),$.offset}n.getLeftDeleteOffset=j;function G(P,q){const W=new O(q,P);let $=W.prevCodePoint();for(;Q($)||$===65039||$===8419;){if(W.offset===0)return;$=W.prevCodePoint()}if(!be($))return;let ee=W.offset;return ee>0&&W.prevCodePoint()===8205&&(ee=W.offset),ee}function Q(P){return 127995<=P&&P<=127999}n.noBreakWhitespace="\xA0";class K{static getInstance(q){return i.cache.get(Array.from(q))}static getLocales(){return i._locales.value}constructor(q){this.confusableDictionary=q}isAmbiguous(q){return this.confusableDictionary.has(q)}getPrimaryConfusable(q){return this.confusableDictionary.get(q)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}n.AmbiguousCharacters=K,i=K,K.ambiguousCharacterData=new A.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,119846,109],"_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]}')),K.cache=new M.LRUCachedFunction(P=>{function q(se){const fe=new Map;for(let ge=0;ge!se.startsWith("_")&&se in ee);ie.length===0&&(ie=["_default"]);let oe;for(const se of ie){const fe=q(ee[se]);oe=$(oe,fe)}const ce=q(ee._common),he=W(ce,oe);return new i(he)}),K._locales=new A.Lazy(()=>Object.keys(i.ambiguousCharacterData.value).filter(P=>!P.startsWith("_")));class te{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(te.getRawData())),this._data}static isInvisibleCharacter(q){return te.getData().has(q)}static get codePoints(){return te.getData()}}n.InvisibleCharacters=te,te._data=void 0}),Y(X[39],J([0,1,6]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.StringSHA1=n.toHexString=n.stringHash=n.numberHash=n.doHash=n.hash=void 0;function A(f){return i(f,0)}n.hash=A;function i(f,g){switch(typeof f){case"object":return f===null?d(349,g):Array.isArray(f)?h(f,g):o(f,g);case"string":return L(f,g);case"boolean":return m(f,g);case"number":return d(f,g);case"undefined":return d(937,g);default:return d(617,g)}}n.doHash=i;function d(f,g){return(g<<5)-g+f|0}n.numberHash=d;function m(f,g){return d(f?433:863,g)}function L(f,g){g=d(149417,g);for(let S=0,_=f.length;S<_;S++)g=d(f.charCodeAt(S),g);return g}n.stringHash=L;function h(f,g){return g=d(104579,g),f.reduce((S,_)=>i(_,S),g)}function o(f,g){return g=d(181387,g),Object.keys(f).sort().reduce((S,_)=>(S=L(_,S),i(f[_],S)),g)}function w(f,g,S=32){const _=S-g,E=~((1<<_)-1);return(f<>>_)>>>0}function e(f,g=0,S=f.byteLength,_=0){for(let E=0;ES.toString(16).padStart(2,"0")).join(""):a((f>>>0).toString(16),g/4)}n.toHexString=c;class l{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(g){const S=g.length;if(S===0)return;const _=this._buff;let E=this._buffLen,y=this._leftoverHighSurrogate,v,r;for(y!==0?(v=y,r=-1,y=0):(v=g.charCodeAt(0),r=0);;){let s=v;if(M.isHighSurrogate(v))if(r+1>>6,g[S++]=128|(_&63)>>>0):_<65536?(g[S++]=224|(_&61440)>>>12,g[S++]=128|(_&4032)>>>6,g[S++]=128|(_&63)>>>0):(g[S++]=240|(_&1835008)>>>18,g[S++]=128|(_&258048)>>>12,g[S++]=128|(_&4032)>>>6,g[S++]=128|(_&63)>>>0),S>=64&&(this._step(),S-=64,this._totalLen+=64,g[0]=g[64+0],g[1]=g[64+1],g[2]=g[64+2]),S}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()),c(this._h0)+c(this._h1)+c(this._h2)+c(this._h3)+c(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,e(this._buff,this._buffLen),this._buffLen>56&&(this._step(),e(this._buff));const g=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(g/4294967296),!1),this._buffDV.setUint32(60,g%4294967296,!1),this._step()}_step(){const g=l._bigBlock32,S=this._buffDV;for(let b=0;b<64;b+=4)g.setUint32(b,S.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)g.setUint32(b,w(g.getUint32(b-12,!1)^g.getUint32(b-32,!1)^g.getUint32(b-56,!1)^g.getUint32(b-64,!1),1),!1);let _=this._h0,E=this._h1,y=this._h2,v=this._h3,r=this._h4,s,u,p;for(let b=0;b<80;b++)b<20?(s=E&y|~E&v,u=1518500249):b<40?(s=E^y^v,u=1859775393):b<60?(s=E&y|E&v|y&v,u=2400959708):(s=E^y^v,u=3395469782),p=w(_,5)+s+r+u+g.getUint32(b*4,!1)&4294967295,r=v,v=y,y=w(E,30),E=_,_=p;this._h0=this._h0+_&4294967295,this._h1=this._h1+E&4294967295,this._h2=this._h2+y&4294967295,this._h3=this._h3+v&4294967295,this._h4=this._h4+r&4294967295}}n.StringSHA1=l,l._bigBlock32=new DataView(new ArrayBuffer(320))}),Y(X[24],J([0,1,34,39]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LcsDiff=n.stringDiff=n.StringDiffSequence=void 0;class i{constructor(e){this.source=e}getElements(){const e=this.source,a=new Int32Array(e.length);for(let c=0,l=e.length;c0||this.m_modifiedCount>0)&&this.m_changes.push(new M.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(e,a){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,a),this.m_originalCount++}AddModifiedElement(e,a){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,a),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 o{constructor(e,a,c=null){this.ContinueProcessingPredicate=c,this._originalSequence=e,this._modifiedSequence=a;const[l,f,g]=o._getElements(e),[S,_,E]=o._getElements(a);this._hasStrings=g&&E,this._originalStringElements=l,this._originalElementsOrHash=f,this._modifiedStringElements=S,this._modifiedElementsOrHash=_,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const a=e.getElements();if(o._isStringArray(a)){const c=new Int32Array(a.length);for(let l=0,f=a.length;l=e&&l>=c&&this.ElementsAreEqual(a,l);)a--,l--;if(e>a||c>l){let v;return c<=l?(m.Assert(e===a+1,"originalStart should only be one more than originalEnd"),v=[new M.DiffChange(e,0,c,l-c+1)]):e<=a?(m.Assert(c===l+1,"modifiedStart should only be one more than modifiedEnd"),v=[new M.DiffChange(e,a-e+1,c,0)]):(m.Assert(e===a+1,"originalStart should only be one more than originalEnd"),m.Assert(c===l+1,"modifiedStart should only be one more than modifiedEnd"),v=[]),v}const g=[0],S=[0],_=this.ComputeRecursionPoint(e,a,c,l,g,S,f),E=g[0],y=S[0];if(_!==null)return _;if(!f[0]){const v=this.ComputeDiffRecursive(e,E,c,y,f);let r=[];return f[0]?r=[new M.DiffChange(E+1,a-(E+1)+1,y+1,l-(y+1)+1)]:r=this.ComputeDiffRecursive(E+1,a,y+1,l,f),this.ConcatenateChanges(v,r)}return[new M.DiffChange(e,a-e+1,c,l-c+1)]}WALKTRACE(e,a,c,l,f,g,S,_,E,y,v,r,s,u,p,b,C,N){let R=null,D=null,k=new h,U=a,I=c,B=s[0]-b[0]-l,z=-1073741824,x=this.m_forwardHistory.length-1;do{const O=B+e;O===U||O=0&&(E=this.m_forwardHistory[x],e=E[0],U=1,I=E.length-1)}while(--x>=-1);if(R=k.getReverseChanges(),N[0]){let O=s[0]+1,F=b[0]+1;if(R!==null&&R.length>0){const H=R[R.length-1];O=Math.max(O,H.getOriginalEnd()),F=Math.max(F,H.getModifiedEnd())}D=[new M.DiffChange(O,r-O+1,F,p-F+1)]}else{k=new h,U=g,I=S,B=s[0]-b[0]-_,z=1073741824,x=C?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const O=B+f;O===U||O=y[O+1]?(v=y[O+1]-1,u=v-B-_,v>z&&k.MarkNextChange(),z=v+1,k.AddOriginalElement(v+1,u+1),B=O+1-f):(v=y[O-1],u=v-B-_,v>z&&k.MarkNextChange(),z=v,k.AddModifiedElement(v+1,u+1),B=O-1-f),x>=0&&(y=this.m_reverseHistory[x],f=y[0],U=1,I=y.length-1)}while(--x>=-1);D=k.getChanges()}return this.ConcatenateChanges(R,D)}ComputeRecursionPoint(e,a,c,l,f,g,S){let _=0,E=0,y=0,v=0,r=0,s=0;e--,c--,f[0]=0,g[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const u=a-e+(l-c),p=u+1,b=new Int32Array(p),C=new Int32Array(p),N=l-c,R=a-e,D=e-c,k=a-l,I=(R-N)%2===0;b[N]=e,C[R]=a,S[0]=!1;for(let B=1;B<=u/2+1;B++){let z=0,x=0;y=this.ClipDiagonalBound(N-B,B,N,p),v=this.ClipDiagonalBound(N+B,B,N,p);for(let F=y;F<=v;F+=2){F===y||Fz+x&&(z=_,x=E),!I&&Math.abs(F-R)<=B-1&&_>=C[F])return f[0]=_,g[0]=E,H<=C[F]&&1447>0&&B<=1447+1?this.WALKTRACE(N,y,v,D,R,r,s,k,b,C,_,a,f,E,l,g,I,S):null}const O=(z-e+(x-c)-B)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(z,O))return S[0]=!0,f[0]=z,g[0]=x,O>0&&1447>0&&B<=1447+1?this.WALKTRACE(N,y,v,D,R,r,s,k,b,C,_,a,f,E,l,g,I,S):(e++,c++,[new M.DiffChange(e,a-e+1,c,l-c+1)]);r=this.ClipDiagonalBound(R-B,B,R,p),s=this.ClipDiagonalBound(R+B,B,R,p);for(let F=r;F<=s;F+=2){F===r||F=C[F+1]?_=C[F+1]-1:_=C[F-1],E=_-(F-R)-k;const H=_;for(;_>e&&E>c&&this.ElementsAreEqual(_,E);)_--,E--;if(C[F]=_,I&&Math.abs(F-N)<=B&&_<=b[F])return f[0]=_,g[0]=E,H>=b[F]&&1447>0&&B<=1447+1?this.WALKTRACE(N,y,v,D,R,r,s,k,b,C,_,a,f,E,l,g,I,S):null}if(B<=1447){let F=new Int32Array(v-y+2);F[0]=N-y+1,L.Copy2(b,y,F,1,v-y+1),this.m_forwardHistory.push(F),F=new Int32Array(s-r+2),F[0]=R-r+1,L.Copy2(C,r,F,1,s-r+1),this.m_reverseHistory.push(F)}}return this.WALKTRACE(N,y,v,D,R,r,s,k,b,C,_,a,f,E,l,g,I,S)}PrettifyChanges(e){for(let a=0;a0,S=c.modifiedLength>0;for(;c.originalStart+c.originalLength=0;a--){const c=e[a];let l=0,f=0;if(a>0){const v=e[a-1];l=v.originalStart+v.originalLength,f=v.modifiedStart+v.modifiedLength}const g=c.originalLength>0,S=c.modifiedLength>0;let _=0,E=this._boundaryScore(c.originalStart,c.originalLength,c.modifiedStart,c.modifiedLength);for(let v=1;;v++){const r=c.originalStart-v,s=c.modifiedStart-v;if(rE&&(E=p,_=v)}c.originalStart-=_,c.modifiedStart-=_;const y=[null];if(a>0&&this.ChangesOverlap(e[a-1],e[a],y)){e[a-1]=y[0],e.splice(a,1),a++;continue}}if(this._hasStrings)for(let a=1,c=e.length;a0&&s>_&&(_=s,E=v,y=r)}return _>0?[E,y]:null}_contiguousSequenceScore(e,a,c){let l=0;for(let f=0;f=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,a){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(a>0){const c=e+a;if(this._OriginalIsBoundary(c-1)||this._OriginalIsBoundary(c))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,a){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(a>0){const c=e+a;if(this._ModifiedIsBoundary(c-1)||this._ModifiedIsBoundary(c))return!0}return!1}_boundaryScore(e,a,c,l){const f=this._OriginalRegionIsBoundary(e,a)?1:0,g=this._ModifiedRegionIsBoundary(c,l)?1:0;return f+g}ConcatenateChanges(e,a){const c=[];if(e.length===0||a.length===0)return a.length>0?a:e;if(this.ChangesOverlap(e[e.length-1],a[0],c)){const l=new Array(e.length+a.length-1);return L.Copy(e,0,l,0,e.length-1),l[e.length-1]=c[0],L.Copy(a,1,l,e.length,a.length-1),l}else{const l=new Array(e.length+a.length);return L.Copy(e,0,l,0,e.length),L.Copy(a,0,l,e.length,a.length),l}}ChangesOverlap(e,a,c){if(m.Assert(e.originalStart<=a.originalStart,"Left change is not less than or equal to right change"),m.Assert(e.modifiedStart<=a.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=a.originalStart||e.modifiedStart+e.modifiedLength>=a.modifiedStart){const l=e.originalStart;let f=e.originalLength;const g=e.modifiedStart;let S=e.modifiedLength;return e.originalStart+e.originalLength>=a.originalStart&&(f=a.originalStart+a.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=a.modifiedStart&&(S=a.modifiedStart+a.modifiedLength-e.modifiedStart),c[0]=new M.DiffChange(l,f,g,S),!0}else return c[0]=null,!1}ClipDiagonalBound(e,a,c,l){if(e>=0&&e"u"}n.isUndefined=h;function o(g){return!w(g)}n.isDefined=o;function w(g){return h(g)||g===null}n.isUndefinedOrNull=w;function e(g,S){if(!g)throw new Error(S?`Unexpected type, expected '${S}'`:"Unexpected type")}n.assertType=e;function a(g){if(w(g))throw new Error("Assertion Failed: argument is undefined or null");return g}n.assertIsDefined=a;function c(g){return typeof g=="function"}n.isFunction=c;function l(g,S){const _=Math.min(g.length,S.length);for(let E=0;E<_;E++)f(g[E],S[E])}n.validateConstraints=l;function f(g,S){if(M(S)){if(typeof g!==S)throw new Error(`argument does not match constraint: typeof ${S}`)}else if(c(S)){try{if(g instanceof S)return}catch{}if(!w(g)&&g.constructor===S||S.length===1&&S.call(void 0,g)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}n.validateConstraint=f}),Y(X[40],J([0,1,25]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Codicon=n.getCodiconFontCharacters=void 0;const A=Object.create(null);function i(m,L){if((0,M.isString)(L)){const h=A[L];if(h===void 0)throw new Error(`${m} references an unknown codicon: ${L}`);L=h}return A[m]=L,{id:m}}function d(){return A}n.getCodiconFontCharacters=d,n.Codicon={add:i("add",6e4),plus:i("plus",6e4),gistNew:i("gist-new",6e4),repoCreate:i("repo-create",6e4),lightbulb:i("lightbulb",60001),lightBulb:i("light-bulb",60001),repo:i("repo",60002),repoDelete:i("repo-delete",60002),gistFork:i("gist-fork",60003),repoForked:i("repo-forked",60003),gitPullRequest:i("git-pull-request",60004),gitPullRequestAbandoned:i("git-pull-request-abandoned",60004),recordKeys:i("record-keys",60005),keyboard:i("keyboard",60005),tag:i("tag",60006),tagAdd:i("tag-add",60006),tagRemove:i("tag-remove",60006),gitPullRequestLabel:i("git-pull-request-label",60006),person:i("person",60007),personFollow:i("person-follow",60007),personOutline:i("person-outline",60007),personFilled:i("person-filled",60007),gitBranch:i("git-branch",60008),gitBranchCreate:i("git-branch-create",60008),gitBranchDelete:i("git-branch-delete",60008),sourceControl:i("source-control",60008),mirror:i("mirror",60009),mirrorPublic:i("mirror-public",60009),star:i("star",60010),starAdd:i("star-add",60010),starDelete:i("star-delete",60010),starEmpty:i("star-empty",60010),comment:i("comment",60011),commentAdd:i("comment-add",60011),alert:i("alert",60012),warning:i("warning",60012),search:i("search",60013),searchSave:i("search-save",60013),logOut:i("log-out",60014),signOut:i("sign-out",60014),logIn:i("log-in",60015),signIn:i("sign-in",60015),eye:i("eye",60016),eyeUnwatch:i("eye-unwatch",60016),eyeWatch:i("eye-watch",60016),circleFilled:i("circle-filled",60017),primitiveDot:i("primitive-dot",60017),closeDirty:i("close-dirty",60017),debugBreakpoint:i("debug-breakpoint",60017),debugBreakpointDisabled:i("debug-breakpoint-disabled",60017),debugHint:i("debug-hint",60017),primitiveSquare:i("primitive-square",60018),edit:i("edit",60019),pencil:i("pencil",60019),info:i("info",60020),issueOpened:i("issue-opened",60020),gistPrivate:i("gist-private",60021),gitForkPrivate:i("git-fork-private",60021),lock:i("lock",60021),mirrorPrivate:i("mirror-private",60021),close:i("close",60022),removeClose:i("remove-close",60022),x:i("x",60022),repoSync:i("repo-sync",60023),sync:i("sync",60023),clone:i("clone",60024),desktopDownload:i("desktop-download",60024),beaker:i("beaker",60025),microscope:i("microscope",60025),vm:i("vm",60026),deviceDesktop:i("device-desktop",60026),file:i("file",60027),fileText:i("file-text",60027),more:i("more",60028),ellipsis:i("ellipsis",60028),kebabHorizontal:i("kebab-horizontal",60028),mailReply:i("mail-reply",60029),reply:i("reply",60029),organization:i("organization",60030),organizationFilled:i("organization-filled",60030),organizationOutline:i("organization-outline",60030),newFile:i("new-file",60031),fileAdd:i("file-add",60031),newFolder:i("new-folder",60032),fileDirectoryCreate:i("file-directory-create",60032),trash:i("trash",60033),trashcan:i("trashcan",60033),history:i("history",60034),clock:i("clock",60034),folder:i("folder",60035),fileDirectory:i("file-directory",60035),symbolFolder:i("symbol-folder",60035),logoGithub:i("logo-github",60036),markGithub:i("mark-github",60036),github:i("github",60036),terminal:i("terminal",60037),console:i("console",60037),repl:i("repl",60037),zap:i("zap",60038),symbolEvent:i("symbol-event",60038),error:i("error",60039),stop:i("stop",60039),variable:i("variable",60040),symbolVariable:i("symbol-variable",60040),array:i("array",60042),symbolArray:i("symbol-array",60042),symbolModule:i("symbol-module",60043),symbolPackage:i("symbol-package",60043),symbolNamespace:i("symbol-namespace",60043),symbolObject:i("symbol-object",60043),symbolMethod:i("symbol-method",60044),symbolFunction:i("symbol-function",60044),symbolConstructor:i("symbol-constructor",60044),symbolBoolean:i("symbol-boolean",60047),symbolNull:i("symbol-null",60047),symbolNumeric:i("symbol-numeric",60048),symbolNumber:i("symbol-number",60048),symbolStructure:i("symbol-structure",60049),symbolStruct:i("symbol-struct",60049),symbolParameter:i("symbol-parameter",60050),symbolTypeParameter:i("symbol-type-parameter",60050),symbolKey:i("symbol-key",60051),symbolText:i("symbol-text",60051),symbolReference:i("symbol-reference",60052),goToFile:i("go-to-file",60052),symbolEnum:i("symbol-enum",60053),symbolValue:i("symbol-value",60053),symbolRuler:i("symbol-ruler",60054),symbolUnit:i("symbol-unit",60054),activateBreakpoints:i("activate-breakpoints",60055),archive:i("archive",60056),arrowBoth:i("arrow-both",60057),arrowDown:i("arrow-down",60058),arrowLeft:i("arrow-left",60059),arrowRight:i("arrow-right",60060),arrowSmallDown:i("arrow-small-down",60061),arrowSmallLeft:i("arrow-small-left",60062),arrowSmallRight:i("arrow-small-right",60063),arrowSmallUp:i("arrow-small-up",60064),arrowUp:i("arrow-up",60065),bell:i("bell",60066),bold:i("bold",60067),book:i("book",60068),bookmark:i("bookmark",60069),debugBreakpointConditionalUnverified:i("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:i("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:i("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:i("debug-breakpoint-data-unverified",60072),debugBreakpointData:i("debug-breakpoint-data",60073),debugBreakpointDataDisabled:i("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:i("debug-breakpoint-log-unverified",60074),debugBreakpointLog:i("debug-breakpoint-log",60075),debugBreakpointLogDisabled:i("debug-breakpoint-log-disabled",60075),briefcase:i("briefcase",60076),broadcast:i("broadcast",60077),browser:i("browser",60078),bug:i("bug",60079),calendar:i("calendar",60080),caseSensitive:i("case-sensitive",60081),check:i("check",60082),checklist:i("checklist",60083),chevronDown:i("chevron-down",60084),dropDownButton:i("drop-down-button",60084),chevronLeft:i("chevron-left",60085),chevronRight:i("chevron-right",60086),chevronUp:i("chevron-up",60087),chromeClose:i("chrome-close",60088),chromeMaximize:i("chrome-maximize",60089),chromeMinimize:i("chrome-minimize",60090),chromeRestore:i("chrome-restore",60091),circle:i("circle",60092),circleOutline:i("circle-outline",60092),debugBreakpointUnverified:i("debug-breakpoint-unverified",60092),circleSlash:i("circle-slash",60093),circuitBoard:i("circuit-board",60094),clearAll:i("clear-all",60095),clippy:i("clippy",60096),closeAll:i("close-all",60097),cloudDownload:i("cloud-download",60098),cloudUpload:i("cloud-upload",60099),code:i("code",60100),collapseAll:i("collapse-all",60101),colorMode:i("color-mode",60102),commentDiscussion:i("comment-discussion",60103),compareChanges:i("compare-changes",60157),creditCard:i("credit-card",60105),dash:i("dash",60108),dashboard:i("dashboard",60109),database:i("database",60110),debugContinue:i("debug-continue",60111),debugDisconnect:i("debug-disconnect",60112),debugPause:i("debug-pause",60113),debugRestart:i("debug-restart",60114),debugStart:i("debug-start",60115),debugStepInto:i("debug-step-into",60116),debugStepOut:i("debug-step-out",60117),debugStepOver:i("debug-step-over",60118),debugStop:i("debug-stop",60119),debug:i("debug",60120),deviceCameraVideo:i("device-camera-video",60121),deviceCamera:i("device-camera",60122),deviceMobile:i("device-mobile",60123),diffAdded:i("diff-added",60124),diffIgnored:i("diff-ignored",60125),diffModified:i("diff-modified",60126),diffRemoved:i("diff-removed",60127),diffRenamed:i("diff-renamed",60128),diff:i("diff",60129),discard:i("discard",60130),editorLayout:i("editor-layout",60131),emptyWindow:i("empty-window",60132),exclude:i("exclude",60133),extensions:i("extensions",60134),eyeClosed:i("eye-closed",60135),fileBinary:i("file-binary",60136),fileCode:i("file-code",60137),fileMedia:i("file-media",60138),filePdf:i("file-pdf",60139),fileSubmodule:i("file-submodule",60140),fileSymlinkDirectory:i("file-symlink-directory",60141),fileSymlinkFile:i("file-symlink-file",60142),fileZip:i("file-zip",60143),files:i("files",60144),filter:i("filter",60145),flame:i("flame",60146),foldDown:i("fold-down",60147),foldUp:i("fold-up",60148),fold:i("fold",60149),folderActive:i("folder-active",60150),folderOpened:i("folder-opened",60151),gear:i("gear",60152),gift:i("gift",60153),gistSecret:i("gist-secret",60154),gist:i("gist",60155),gitCommit:i("git-commit",60156),gitCompare:i("git-compare",60157),gitMerge:i("git-merge",60158),githubAction:i("github-action",60159),githubAlt:i("github-alt",60160),globe:i("globe",60161),grabber:i("grabber",60162),graph:i("graph",60163),gripper:i("gripper",60164),heart:i("heart",60165),home:i("home",60166),horizontalRule:i("horizontal-rule",60167),hubot:i("hubot",60168),inbox:i("inbox",60169),issueClosed:i("issue-closed",60324),issueReopened:i("issue-reopened",60171),issues:i("issues",60172),italic:i("italic",60173),jersey:i("jersey",60174),json:i("json",60175),bracket:i("bracket",60175),kebabVertical:i("kebab-vertical",60176),key:i("key",60177),law:i("law",60178),lightbulbAutofix:i("lightbulb-autofix",60179),linkExternal:i("link-external",60180),link:i("link",60181),listOrdered:i("list-ordered",60182),listUnordered:i("list-unordered",60183),liveShare:i("live-share",60184),loading:i("loading",60185),location:i("location",60186),mailRead:i("mail-read",60187),mail:i("mail",60188),markdown:i("markdown",60189),megaphone:i("megaphone",60190),mention:i("mention",60191),milestone:i("milestone",60192),gitPullRequestMilestone:i("git-pull-request-milestone",60192),mortarBoard:i("mortar-board",60193),move:i("move",60194),multipleWindows:i("multiple-windows",60195),mute:i("mute",60196),noNewline:i("no-newline",60197),note:i("note",60198),octoface:i("octoface",60199),openPreview:i("open-preview",60200),package:i("package",60201),paintcan:i("paintcan",60202),pin:i("pin",60203),play:i("play",60204),run:i("run",60204),plug:i("plug",60205),preserveCase:i("preserve-case",60206),preview:i("preview",60207),project:i("project",60208),pulse:i("pulse",60209),question:i("question",60210),quote:i("quote",60211),radioTower:i("radio-tower",60212),reactions:i("reactions",60213),references:i("references",60214),refresh:i("refresh",60215),regex:i("regex",60216),remoteExplorer:i("remote-explorer",60217),remote:i("remote",60218),remove:i("remove",60219),replaceAll:i("replace-all",60220),replace:i("replace",60221),repoClone:i("repo-clone",60222),repoForcePush:i("repo-force-push",60223),repoPull:i("repo-pull",60224),repoPush:i("repo-push",60225),report:i("report",60226),requestChanges:i("request-changes",60227),rocket:i("rocket",60228),rootFolderOpened:i("root-folder-opened",60229),rootFolder:i("root-folder",60230),rss:i("rss",60231),ruby:i("ruby",60232),saveAll:i("save-all",60233),saveAs:i("save-as",60234),save:i("save",60235),screenFull:i("screen-full",60236),screenNormal:i("screen-normal",60237),searchStop:i("search-stop",60238),server:i("server",60240),settingsGear:i("settings-gear",60241),settings:i("settings",60242),shield:i("shield",60243),smiley:i("smiley",60244),sortPrecedence:i("sort-precedence",60245),splitHorizontal:i("split-horizontal",60246),splitVertical:i("split-vertical",60247),squirrel:i("squirrel",60248),starFull:i("star-full",60249),starHalf:i("star-half",60250),symbolClass:i("symbol-class",60251),symbolColor:i("symbol-color",60252),symbolCustomColor:i("symbol-customcolor",60252),symbolConstant:i("symbol-constant",60253),symbolEnumMember:i("symbol-enum-member",60254),symbolField:i("symbol-field",60255),symbolFile:i("symbol-file",60256),symbolInterface:i("symbol-interface",60257),symbolKeyword:i("symbol-keyword",60258),symbolMisc:i("symbol-misc",60259),symbolOperator:i("symbol-operator",60260),symbolProperty:i("symbol-property",60261),wrench:i("wrench",60261),wrenchSubaction:i("wrench-subaction",60261),symbolSnippet:i("symbol-snippet",60262),tasklist:i("tasklist",60263),telescope:i("telescope",60264),textSize:i("text-size",60265),threeBars:i("three-bars",60266),thumbsdown:i("thumbsdown",60267),thumbsup:i("thumbsup",60268),tools:i("tools",60269),triangleDown:i("triangle-down",60270),triangleLeft:i("triangle-left",60271),triangleRight:i("triangle-right",60272),triangleUp:i("triangle-up",60273),twitter:i("twitter",60274),unfold:i("unfold",60275),unlock:i("unlock",60276),unmute:i("unmute",60277),unverified:i("unverified",60278),verified:i("verified",60279),versions:i("versions",60280),vmActive:i("vm-active",60281),vmOutline:i("vm-outline",60282),vmRunning:i("vm-running",60283),watch:i("watch",60284),whitespace:i("whitespace",60285),wholeWord:i("whole-word",60286),window:i("window",60287),wordWrap:i("word-wrap",60288),zoomIn:i("zoom-in",60289),zoomOut:i("zoom-out",60290),listFilter:i("list-filter",60291),listFlat:i("list-flat",60292),listSelection:i("list-selection",60293),selection:i("selection",60293),listTree:i("list-tree",60294),debugBreakpointFunctionUnverified:i("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:i("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:i("debug-breakpoint-function-disabled",60296),debugStackframeActive:i("debug-stackframe-active",60297),circleSmallFilled:i("circle-small-filled",60298),debugStackframeDot:i("debug-stackframe-dot",60298),debugStackframe:i("debug-stackframe",60299),debugStackframeFocused:i("debug-stackframe-focused",60299),debugBreakpointUnsupported:i("debug-breakpoint-unsupported",60300),symbolString:i("symbol-string",60301),debugReverseContinue:i("debug-reverse-continue",60302),debugStepBack:i("debug-step-back",60303),debugRestartFrame:i("debug-restart-frame",60304),callIncoming:i("call-incoming",60306),callOutgoing:i("call-outgoing",60307),menu:i("menu",60308),expandAll:i("expand-all",60309),feedback:i("feedback",60310),gitPullRequestReviewer:i("git-pull-request-reviewer",60310),groupByRefType:i("group-by-ref-type",60311),ungroupByRefType:i("ungroup-by-ref-type",60312),account:i("account",60313),gitPullRequestAssignee:i("git-pull-request-assignee",60313),bellDot:i("bell-dot",60314),debugConsole:i("debug-console",60315),library:i("library",60316),output:i("output",60317),runAll:i("run-all",60318),syncIgnored:i("sync-ignored",60319),pinned:i("pinned",60320),githubInverted:i("github-inverted",60321),debugAlt:i("debug-alt",60305),serverProcess:i("server-process",60322),serverEnvironment:i("server-environment",60323),pass:i("pass",60324),stopCircle:i("stop-circle",60325),playCircle:i("play-circle",60326),record:i("record",60327),debugAltSmall:i("debug-alt-small",60328),vmConnect:i("vm-connect",60329),cloud:i("cloud",60330),merge:i("merge",60331),exportIcon:i("export",60332),graphLeft:i("graph-left",60333),magnet:i("magnet",60334),notebook:i("notebook",60335),redo:i("redo",60336),checkAll:i("check-all",60337),pinnedDirty:i("pinned-dirty",60338),passFilled:i("pass-filled",60339),circleLargeFilled:i("circle-large-filled",60340),circleLarge:i("circle-large",60341),circleLargeOutline:i("circle-large-outline",60341),combine:i("combine",60342),gather:i("gather",60342),table:i("table",60343),variableGroup:i("variable-group",60344),typeHierarchy:i("type-hierarchy",60345),typeHierarchySub:i("type-hierarchy-sub",60346),typeHierarchySuper:i("type-hierarchy-super",60347),gitPullRequestCreate:i("git-pull-request-create",60348),runAbove:i("run-above",60349),runBelow:i("run-below",60350),notebookTemplate:i("notebook-template",60351),debugRerun:i("debug-rerun",60352),workspaceTrusted:i("workspace-trusted",60353),workspaceUntrusted:i("workspace-untrusted",60354),workspaceUnspecified:i("workspace-unspecified",60355),terminalCmd:i("terminal-cmd",60356),terminalDebian:i("terminal-debian",60357),terminalLinux:i("terminal-linux",60358),terminalPowershell:i("terminal-powershell",60359),terminalTmux:i("terminal-tmux",60360),terminalUbuntu:i("terminal-ubuntu",60361),terminalBash:i("terminal-bash",60362),arrowSwap:i("arrow-swap",60363),copy:i("copy",60364),personAdd:i("person-add",60365),filterFilled:i("filter-filled",60366),wand:i("wand",60367),debugLineByLine:i("debug-line-by-line",60368),inspect:i("inspect",60369),layers:i("layers",60370),layersDot:i("layers-dot",60371),layersActive:i("layers-active",60372),compass:i("compass",60373),compassDot:i("compass-dot",60374),compassActive:i("compass-active",60375),azure:i("azure",60376),issueDraft:i("issue-draft",60377),gitPullRequestClosed:i("git-pull-request-closed",60378),gitPullRequestDraft:i("git-pull-request-draft",60379),debugAll:i("debug-all",60380),debugCoverage:i("debug-coverage",60381),runErrors:i("run-errors",60382),folderLibrary:i("folder-library",60383),debugContinueSmall:i("debug-continue-small",60384),beakerStop:i("beaker-stop",60385),graphLine:i("graph-line",60386),graphScatter:i("graph-scatter",60387),pieChart:i("pie-chart",60388),bracketDot:i("bracket-dot",60389),bracketError:i("bracket-error",60390),lockSmall:i("lock-small",60391),azureDevops:i("azure-devops",60392),verifiedFilled:i("verified-filled",60393),newLine:i("newline",60394),layout:i("layout",60395),layoutActivitybarLeft:i("layout-activitybar-left",60396),layoutActivitybarRight:i("layout-activitybar-right",60397),layoutPanelLeft:i("layout-panel-left",60398),layoutPanelCenter:i("layout-panel-center",60399),layoutPanelJustify:i("layout-panel-justify",60400),layoutPanelRight:i("layout-panel-right",60401),layoutPanel:i("layout-panel",60402),layoutSidebarLeft:i("layout-sidebar-left",60403),layoutSidebarRight:i("layout-sidebar-right",60404),layoutStatusbar:i("layout-statusbar",60405),layoutMenubar:i("layout-menubar",60406),layoutCentered:i("layout-centered",60407),layoutSidebarRightOff:i("layout-sidebar-right-off",60416),layoutPanelOff:i("layout-panel-off",60417),layoutSidebarLeftOff:i("layout-sidebar-left-off",60418),target:i("target",60408),indent:i("indent",60409),recordSmall:i("record-small",60410),errorSmall:i("error-small",60411),arrowCircleDown:i("arrow-circle-down",60412),arrowCircleLeft:i("arrow-circle-left",60413),arrowCircleRight:i("arrow-circle-right",60414),arrowCircleUp:i("arrow-circle-up",60415),heartFilled:i("heart-filled",60420),map:i("map",60421),mapFilled:i("map-filled",60422),circleSmall:i("circle-small",60423),bellSlash:i("bell-slash",60424),bellSlashDot:i("bell-slash-dot",60425),commentUnresolved:i("comment-unresolved",60426),gitPullRequestGoToChanges:i("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:i("git-pull-request-new-changes",60428),searchFuzzy:i("search-fuzzy",60429),commentDraft:i("comment-draft",60430),send:i("send",60431),sparkle:i("sparkle",60432),insert:i("insert",60433),mic:i("mic",60434),dialogError:i("dialog-error","error"),dialogWarning:i("dialog-warning","warning"),dialogInfo:i("dialog-info","info"),dialogClose:i("dialog-close","close"),treeItemExpanded:i("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:i("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:i("tree-filter-on-type-off","list-selection"),treeFilterClear:i("tree-filter-clear","close"),treeItemLoading:i("tree-item-loading","loading"),menuSelection:i("menu-selection","check"),menuSubmenu:i("menu-submenu","chevron-right"),menuBarMore:i("menubar-more","more"),scrollbarButtonLeft:i("scrollbar-button-left","triangle-left"),scrollbarButtonRight:i("scrollbar-button-right","triangle-right"),scrollbarButtonUp:i("scrollbar-button-up","triangle-up"),scrollbarButtonDown:i("scrollbar-button-down","triangle-down"),toolBarMore:i("toolbar-more","more"),quickInputBack:i("quick-input-back","arrow-left")}}),Y(X[14],J([0,1,25]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createProxyObject=n.getAllMethodNames=n.getAllPropertyNames=n.equals=n.mixin=n.cloneAndChange=n.deepFreeze=n.deepClone=void 0;function A(c){if(!c||typeof c!="object"||c instanceof RegExp)return c;const l=Array.isArray(c)?[]:{};return Object.entries(c).forEach(([f,g])=>{l[f]=g&&typeof g=="object"?A(g):g}),l}n.deepClone=A;function i(c){if(!c||typeof c!="object")return c;const l=[c];for(;l.length>0;){const f=l.shift();Object.freeze(f);for(const g in f)if(d.call(f,g)){const S=f[g];typeof S=="object"&&!Object.isFrozen(S)&&!(0,M.isTypedArray)(S)&&l.push(S)}}return c}n.deepFreeze=i;const d=Object.prototype.hasOwnProperty;function m(c,l){return L(c,l,new Set)}n.cloneAndChange=m;function L(c,l,f){if((0,M.isUndefinedOrNull)(c))return c;const g=l(c);if(typeof g<"u")return g;if(Array.isArray(c)){const S=[];for(const _ of c)S.push(L(_,l,f));return S}if((0,M.isObject)(c)){if(f.has(c))throw new Error("Cannot clone recursive data-structure");f.add(c);const S={};for(const _ in c)d.call(c,_)&&(S[_]=L(c[_],l,f));return f.delete(c),S}return c}function h(c,l,f=!0){return(0,M.isObject)(c)?((0,M.isObject)(l)&&Object.keys(l).forEach(g=>{g in c?f&&((0,M.isObject)(c[g])&&(0,M.isObject)(l[g])?h(c[g],l[g],f):c[g]=l[g]):c[g]=l[g]}),c):l}n.mixin=h;function o(c,l){if(c===l)return!0;if(c==null||l===null||l===void 0||typeof c!=typeof l||typeof c!="object"||Array.isArray(c)!==Array.isArray(l))return!1;let f,g;if(Array.isArray(c)){if(c.length!==l.length)return!1;for(f=0;ffunction(){const _=Array.prototype.slice.call(arguments,0);return l(S,_)},g={};for(const S of c)g[S]=f(S);return g}n.createProxyObject=a}),Y(X[26],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.toUint32=n.toUint8=void 0;function M(i){return i<0?0:i>255?255:i|0}n.toUint8=M;function A(i){return i<0?0:i>4294967295?4294967295:i|0}n.toUint32=A}),Y(X[27],J([0,1,26]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CharacterSet=n.CharacterClassifier=void 0;class A{constructor(m){const L=(0,M.toUint8)(m);this._defaultValue=L,this._asciiMap=A._createAsciiMap(L),this._map=new Map}static _createAsciiMap(m){const L=new Uint8Array(256);return L.fill(m),L}set(m,L){const h=(0,M.toUint8)(L);m>=0&&m<256?this._asciiMap[m]=h:this._map.set(m,h)}get(m){return m>=0&&m<256?this._asciiMap[m]:this._map.get(m)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}n.CharacterClassifier=A;class i{constructor(){this._actual=new A(0)}add(m){this._actual.set(m,1)}has(m){return this._actual.get(m)===1}clear(){return this._actual.clear()}}n.CharacterSet=i}),Y(X[3],J([0,1,5]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.OffsetRangeSet=n.OffsetRange=void 0;class A{static addRange(m,L){let h=0;for(;hL))return new A(m,L)}static ofLength(m){return new A(0,m)}constructor(m,L){if(this.start=m,this.endExclusive=L,m>L)throw new M.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(m){return new A(this.start+m,this.endExclusive+m)}deltaStart(m){return new A(this.start+m,this.endExclusive)}deltaEnd(m){return new A(this.start,this.endExclusive+m)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(m){return this.start===m.start&&this.endExclusive===m.endExclusive}containsRange(m){return this.start<=m.start&&m.endExclusive<=this.endExclusive}contains(m){return this.start<=m&&m=this.endExclusive?this.start+(m-this.start)%this.length:m}forEach(m){for(let L=this.start;Lm.toString()).join(", ")}intersectsStrict(m){let L=0;for(;Lm+L.length,0)}}n.OffsetRangeSet=i}),Y(X[4],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Position=void 0;class M{constructor(i,d){this.lineNumber=i,this.column=d}with(i=this.lineNumber,d=this.column){return i===this.lineNumber&&d===this.column?this:new M(i,d)}delta(i=0,d=0){return this.with(this.lineNumber+i,this.column+d)}equals(i){return M.equals(this,i)}static equals(i,d){return!i&&!d?!0:!!i&&!!d&&i.lineNumber===d.lineNumber&&i.column===d.column}isBefore(i){return M.isBefore(this,i)}static isBefore(i,d){return i.lineNumberL||d===L&&m>h?(this.startLineNumber=L,this.startColumn=h,this.endLineNumber=d,this.endColumn=m):(this.startLineNumber=d,this.startColumn=m,this.endLineNumber=L,this.endColumn=h)}isEmpty(){return A.isEmpty(this)}static isEmpty(d){return d.startLineNumber===d.endLineNumber&&d.startColumn===d.endColumn}containsPosition(d){return A.containsPosition(this,d)}static containsPosition(d,m){return!(m.lineNumberd.endLineNumber||m.lineNumber===d.startLineNumber&&m.columnd.endColumn)}static strictContainsPosition(d,m){return!(m.lineNumberd.endLineNumber||m.lineNumber===d.startLineNumber&&m.column<=d.startColumn||m.lineNumber===d.endLineNumber&&m.column>=d.endColumn)}containsRange(d){return A.containsRange(this,d)}static containsRange(d,m){return!(m.startLineNumberd.endLineNumber||m.endLineNumber>d.endLineNumber||m.startLineNumber===d.startLineNumber&&m.startColumnd.endColumn)}strictContainsRange(d){return A.strictContainsRange(this,d)}static strictContainsRange(d,m){return!(m.startLineNumberd.endLineNumber||m.endLineNumber>d.endLineNumber||m.startLineNumber===d.startLineNumber&&m.startColumn<=d.startColumn||m.endLineNumber===d.endLineNumber&&m.endColumn>=d.endColumn)}plusRange(d){return A.plusRange(this,d)}static plusRange(d,m){let L,h,o,w;return m.startLineNumberd.endLineNumber?(o=m.endLineNumber,w=m.endColumn):m.endLineNumber===d.endLineNumber?(o=m.endLineNumber,w=Math.max(m.endColumn,d.endColumn)):(o=d.endLineNumber,w=d.endColumn),new A(L,h,o,w)}intersectRanges(d){return A.intersectRanges(this,d)}static intersectRanges(d,m){let L=d.startLineNumber,h=d.startColumn,o=d.endLineNumber,w=d.endColumn;const e=m.startLineNumber,a=m.startColumn,c=m.endLineNumber,l=m.endColumn;return Lc?(o=c,w=l):o===c&&(w=Math.min(w,l)),L>o||L===o&&h>w?null:new A(L,h,o,w)}equalsRange(d){return A.equalsRange(this,d)}static equalsRange(d,m){return!d&&!m?!0:!!d&&!!m&&d.startLineNumber===m.startLineNumber&&d.startColumn===m.startColumn&&d.endLineNumber===m.endLineNumber&&d.endColumn===m.endColumn}getEndPosition(){return A.getEndPosition(this)}static getEndPosition(d){return new M.Position(d.endLineNumber,d.endColumn)}getStartPosition(){return A.getStartPosition(this)}static getStartPosition(d){return new M.Position(d.startLineNumber,d.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(d,m){return new A(this.startLineNumber,this.startColumn,d,m)}setStartPosition(d,m){return new A(d,m,this.endLineNumber,this.endColumn)}collapseToStart(){return A.collapseToStart(this)}static collapseToStart(d){return new A(d.startLineNumber,d.startColumn,d.startLineNumber,d.startColumn)}collapseToEnd(){return A.collapseToEnd(this)}static collapseToEnd(d){return new A(d.endLineNumber,d.endColumn,d.endLineNumber,d.endColumn)}delta(d){return new A(this.startLineNumber+d,this.startColumn,this.endLineNumber+d,this.endColumn)}static fromPositions(d,m=d){return new A(d.lineNumber,d.column,m.lineNumber,m.column)}static lift(d){return d?new A(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn):null}static isIRange(d){return d&&typeof d.startLineNumber=="number"&&typeof d.startColumn=="number"&&typeof d.endLineNumber=="number"&&typeof d.endColumn=="number"}static areIntersectingOrTouching(d,m){return!(d.endLineNumberd.startLineNumber}toJSON(){return this}}n.Range=A}),Y(X[10],J([0,1,5,3,2,11]),function(T,n,M,A,i,d){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LineRangeSet=n.LineRange=void 0;class m{static fromRange(o){return new m(o.startLineNumber,o.endLineNumber)}static joinMany(o){if(o.length===0)return[];let w=new L(o[0].slice());for(let e=1;ew)throw new M.BugIndicatingError(`startLineNumber ${o} cannot be after endLineNumberExclusive ${w}`);this.startLineNumber=o,this.endLineNumberExclusive=w}contains(o){return this.startLineNumber<=o&&oa.endLineNumberExclusive>=o.startLineNumber),e=(0,d.findLastIdxMonotonous)(this._normalizedRanges,a=>a.startLineNumber<=o.endLineNumberExclusive)+1;if(w===e)this._normalizedRanges.splice(w,0,o);else if(w===e-1){const a=this._normalizedRanges[w];this._normalizedRanges[w]=a.join(o)}else{const a=this._normalizedRanges[w].join(this._normalizedRanges[e-1]).join(o);this._normalizedRanges.splice(w,e-w,a)}}contains(o){const w=(0,d.findLastMonotonous)(this._normalizedRanges,e=>e.startLineNumber<=o);return!!w&&w.endLineNumberExclusive>o}getUnion(o){if(this._normalizedRanges.length===0)return o;if(o._normalizedRanges.length===0)return this;const w=[];let e=0,a=0,c=null;for(;e=l.startLineNumber?c=new m(c.startLineNumber,Math.max(c.endLineNumberExclusive,l.endLineNumberExclusive)):(w.push(c),c=l)}return c!==null&&w.push(c),new L(w)}subtractFrom(o){const w=(0,d.findFirstIdxMonotonousOrArrLen)(this._normalizedRanges,l=>l.endLineNumberExclusive>=o.startLineNumber),e=(0,d.findLastIdxMonotonous)(this._normalizedRanges,l=>l.startLineNumber<=o.endLineNumberExclusive)+1;if(w===e)return new L([o]);const a=[];let c=o.startLineNumber;for(let l=w;lc&&a.push(new m(c,f.startLineNumber)),c=f.endLineNumberExclusive}return co.toString()).join(", ")}getIntersection(o){const w=[];let e=0,a=0;for(;ew.delta(o)))}}n.LineRangeSet=L}),Y(X[41],J([0,1,4,2]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Selection=void 0;class i extends A.Range{constructor(m,L,h,o){super(m,L,h,o),this.selectionStartLineNumber=m,this.selectionStartColumn=L,this.positionLineNumber=h,this.positionColumn=o}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(m){return i.selectionsEqual(this,m)}static selectionsEqual(m,L){return m.selectionStartLineNumber===L.selectionStartLineNumber&&m.selectionStartColumn===L.selectionStartColumn&&m.positionLineNumber===L.positionLineNumber&&m.positionColumn===L.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(m,L){return this.getDirection()===0?new i(this.startLineNumber,this.startColumn,m,L):new i(m,L,this.startLineNumber,this.startColumn)}getPosition(){return new M.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new M.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(m,L){return this.getDirection()===0?new i(m,L,this.endLineNumber,this.endColumn):new i(this.endLineNumber,this.endColumn,m,L)}static fromPositions(m,L=m){return new i(m.lineNumber,m.column,L.lineNumber,L.column)}static fromRange(m,L){return L===0?new i(m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn):new i(m.endLineNumber,m.endColumn,m.startLineNumber,m.startColumn)}static liftSelection(m){return new i(m.selectionStartLineNumber,m.selectionStartColumn,m.positionLineNumber,m.positionColumn)}static selectionsArrEqual(m,L){if(m&&!L||!m&&L)return!1;if(!m&&!L)return!0;if(m.length!==L.length)return!1;for(let h=0,o=m.length;h(m.hasOwnProperty(L)||(m[L]=d(L)),m[L])}n.getMapForWordSeparators=i(d=>new A(d))}),Y(X[28],J([0,1,21,22]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getWordAtText=n.ensureValidWordDefinition=n.DEFAULT_WORD_REGEXP=n.USUAL_WORD_SEPARATORS=void 0,n.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function i(o=""){let w="(-?\\d*\\.\\d\\w*)|([^";for(const e of n.USUAL_WORD_SEPARATORS)o.indexOf(e)>=0||(w+="\\"+e);return w+="\\s]+)",new RegExp(w,"g")}n.DEFAULT_WORD_REGEXP=i();function d(o){let w=n.DEFAULT_WORD_REGEXP;if(o&&o instanceof RegExp)if(o.global)w=o;else{let e="g";o.ignoreCase&&(e+="i"),o.multiline&&(e+="m"),o.unicode&&(e+="u"),w=new RegExp(o.source,e)}return w.lastIndex=0,w}n.ensureValidWordDefinition=d;const m=new A.LinkedList;m.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function L(o,w,e,a,c){if(c||(c=M.Iterable.first(m)),e.length>c.maxLen){let _=o-c.maxLen/2;return _<0?_=0:a+=_,e=e.substring(_,o+c.maxLen/2),L(o,w,e,a,c)}const l=Date.now(),f=o-1-a;let g=-1,S=null;for(let _=1;!(Date.now()-l>=c.timeBudget);_++){const E=f-c.windowSize*_;w.lastIndex=Math.max(0,E);const y=h(w,e,f,g);if(!y&&S||(S=y,E<=0))break;g=E}if(S){const _={word:S[0],startColumn:a+1+S.index,endColumn:a+1+S.index+S[0].length};return w.lastIndex=0,_}return null}n.getWordAtText=L;function h(o,w,e,a){let c;for(;c=o.exec(w);){const l=c.index||0;if(l<=e&&o.lastIndex>=e)return c;if(a>0&&l>a)return null}return null}}),Y(X[8],J([0,1,7,5,3]),function(T,n,M,A,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DateTimeout=n.InfiniteTimeout=n.OffsetPair=n.SequenceDiff=n.DiffAlgorithmResult=void 0;class d{static trivial(e,a){return new d([new m(i.OffsetRange.ofLength(e.length),i.OffsetRange.ofLength(a.length))],!1)}static trivialTimedOut(e,a){return new d([new m(i.OffsetRange.ofLength(e.length),i.OffsetRange.ofLength(a.length))],!0)}constructor(e,a){this.diffs=e,this.hitTimeout=a}}n.DiffAlgorithmResult=d;class m{static invert(e,a){const c=[];return(0,M.forEachAdjacent)(e,(l,f)=>{c.push(m.fromOffsetPairs(l?l.getEndExclusives():L.zero,f?f.getStarts():new L(a,(l?l.seq2Range.endExclusive-l.seq1Range.endExclusive:0)+a)))}),c}static fromOffsetPairs(e,a){return new m(new i.OffsetRange(e.offset1,a.offset1),new i.OffsetRange(e.offset2,a.offset2))}constructor(e,a){this.seq1Range=e,this.seq2Range=a}swap(){return new m(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new m(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new m(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new m(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new m(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const a=this.seq1Range.intersect(e.seq1Range),c=this.seq2Range.intersect(e.seq2Range);if(!(!a||!c))return new m(a,c)}getStarts(){return new L(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new L(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}n.SequenceDiff=m;class L{constructor(e,a){this.offset1=e,this.offset2=a}toString(){return`${this.offset1} <-> ${this.offset2}`}}n.OffsetPair=L,L.zero=new L(0,0),L.max=new L(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class h{isValid(){return!0}}n.InfiniteTimeout=h,h.instance=new h;class o{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new A.BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTimea.length||R>c.length)continue;const D=l(N,R);g.set(_,D);const k=N===b?S.get(_+1):S.get(_-1);if(S.set(_,D!==N?new d(k,N,R,D-N):k),g.get(_)===a.length&&g.get(_)-_===c.length)break e}}let E=S.get(_);const y=[];let v=a.length,r=c.length;for(;;){const s=E?E.x+E.length:0,u=E?E.y+E.length:0;if((s!==v||u!==r)&&y.push(new A.SequenceDiff(new M.OffsetRange(s,v),new M.OffsetRange(u,r))),!E)break;v=E.x,r=E.y,E=E.prev}return y.reverse(),new A.DiffAlgorithmResult(y,!1)}}n.MyersDiffAlgorithm=i;class d{constructor(o,w,e,a){this.prev=o,this.x=w,this.y=e,this.length=a}}class m{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(o){return o<0?(o=-o-1,this.negativeArr[o]):this.positiveArr[o]}set(o,w){if(o<0){if(o=-o-1,o>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(e.length*2),this.negativeArr.set(e)}this.negativeArr[o]=w}else{if(o>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(e.length*2),this.positiveArr.set(e)}this.positiveArr[o]=w}}}class L{constructor(){this.positiveArr=[],this.negativeArr=[]}get(o){return o<0?(o=-o-1,this.negativeArr[o]):this.positiveArr[o]}set(o,w){o<0?(o=-o-1,this.negativeArr[o]=w):this.positiveArr[o]=w}}}),Y(X[43],J([0,1,7,3,8]),function(T,n,M,A,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeVeryShortMatchingTextBetweenLongDiffs=n.removeVeryShortMatchingLinesBetweenDiffs=n.extendDiffsToEntireWordIfAppropriate=n.removeShortMatches=n.optimizeSequenceDiffs=void 0;function d(l,f,g){let S=g;return S=m(l,f,S),S=L(l,f,S),S}n.optimizeSequenceDiffs=d;function m(l,f,g){if(g.length===0)return g;const S=[];S.push(g[0]);for(let E=1;E0&&(v=v.delta(s))}_.push(v)}return S.length>0&&_.push(S[S.length-1]),_}function L(l,f,g){if(!l.getBoundaryScore||!f.getBoundaryScore)return g;for(let S=0;S0?g[S-1]:void 0,E=g[S],y=S+1=S.start&&l.seq2Range.start-y>=_.start&&g.isStronglyEqual(l.seq2Range.start-y,l.seq2Range.endExclusive-y)&&y<100;)y++;y--;let v=0;for(;l.seq1Range.start+vs&&(s=N,r=u)}return l.delta(r)}function o(l,f,g){const S=[];for(const _ of g){const E=S[S.length-1];if(!E){S.push(_);continue}_.seq1Range.start-E.seq1Range.endExclusive<=2||_.seq2Range.start-E.seq2Range.endExclusive<=2?S[S.length-1]=new i.SequenceDiff(E.seq1Range.join(_.seq1Range),E.seq2Range.join(_.seq2Range)):S.push(_)}return S}n.removeShortMatches=o;function w(l,f,g){const S=[];let _;function E(){if(!_)return;const v=_.s1Range.length-_.deleted,r=_.s2Range.length-_.added;Math.max(_.deleted,_.added)+(_.count-1)>v&&S.push(new i.SequenceDiff(_.s1Range,_.s2Range)),_=void 0}for(const v of g){let r=function(C,N){var R,D,k,U;if(!_||!_.s1Range.containsRange(C)||!_.s2Range.containsRange(N))if(_&&!(_.s1Range.endExclusive0||f.length>0;){const S=l[0],_=f[0];let E;S&&(!_||S.seq1Range.start<_.seq1Range.start)?E=l.shift():E=f.shift(),g.length>0&&g[g.length-1].seq1Range.endExclusive>=E.seq1Range.start?g[g.length-1]=g[g.length-1].join(E):g.push(E)}return g}function a(l,f,g){let S=g;if(S.length===0)return S;let _=0,E;do{E=!1;const y=[S[0]];for(let v=1;v5||C.seq1Range.length+C.seq2Range.length>5)};const r=S[v],s=y[y.length-1];u(s,r)?(E=!0,y[y.length-1]=y[y.length-1].join(r)):y.push(r)}S=y}while(_++<10&&E);return S}n.removeVeryShortMatchingLinesBetweenDiffs=a;function c(l,f,g){let S=g;if(S.length===0)return S;let _=0,E;do{E=!1;const v=[S[0]];for(let r=1;r5||R.length>500)return!1;const k=l.getText(R).trim();if(k.length>20||k.split(/\r\n|\r|\n/).length>1)return!1;const U=l.countLinesIn(C.seq1Range),I=C.seq1Range.length,B=f.countLinesIn(C.seq2Range),z=C.seq2Range.length,x=l.countLinesIn(N.seq1Range),O=N.seq1Range.length,F=f.countLinesIn(N.seq2Range),H=N.seq2Range.length,V=2*40+50;function t(ne){return Math.min(ne,V)}return Math.pow(Math.pow(t(U*40+I),1.5)+Math.pow(t(B*40+z),1.5),1.5)+Math.pow(Math.pow(t(x*40+O),1.5)+Math.pow(t(F*40+H),1.5),1.5)>Math.pow(Math.pow(V,1.5),1.5)*1.3};const s=S[r],u=v[v.length-1];p(u,s)?(E=!0,v[v.length-1]=v[v.length-1].join(s)):v.push(s)}S=v}while(_++<10&&E);const y=[];return(0,M.forEachWithNeighbors)(S,(v,r,s)=>{let u=r;function p(k){return k.length>0&&k.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>100}const b=l.extendToFullLines(r.seq1Range),C=l.getText(new A.OffsetRange(b.start,r.seq1Range.start));p(C)&&(u=u.deltaStart(-C.length));const N=l.getText(new A.OffsetRange(r.seq1Range.endExclusive,b.endExclusive));p(N)&&(u=u.deltaEnd(N.length));const R=i.SequenceDiff.fromOffsetPairs(v?v.getEndExclusives():i.OffsetPair.zero,s?s.getStarts():i.OffsetPair.max),D=u.intersect(R);y.push(D)}),y}n.removeVeryShortMatchingTextBetweenLongDiffs=c}),Y(X[44],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LineSequence=void 0;class M{constructor(d,m){this.trimmedHash=d,this.lines=m}getElement(d){return this.trimmedHash[d]}get length(){return this.trimmedHash.length}getBoundaryScore(d){const m=d===0?0:A(this.lines[d-1]),L=d===this.lines.length?0:A(this.lines[d]);return 1e3-(m+L)}getText(d){return this.lines.slice(d.start,d.endExclusive).join(` +`)}isStronglyEqual(d,m){return this.lines[d]===this.lines[m]}}n.LineSequence=M;function A(i){let d=0;for(;d0&&v>0&&a.get(y-1,v-1)===3&&(u+=c.get(y-1,v-1)),u+=w?w(y,v):1):u=-1;const p=Math.max(r,s,u);if(p===u){const b=y>0&&v>0?c.get(y-1,v-1):0;c.set(y,v,b+1),a.set(y,v,3)}else p===r?(c.set(y,v,0),a.set(y,v,1)):p===s&&(c.set(y,v,0),a.set(y,v,2));e.set(y,v,p)}const l=[];let f=L.length,g=h.length;function S(y,v){(y+1!==f||v+1!==g)&&l.push(new A.SequenceDiff(new M.OffsetRange(y+1,f),new M.OffsetRange(v+1,g))),f=y,g=v}let _=L.length-1,E=h.length-1;for(;_>=0&&E>=0;)a.get(_,E)===3?(S(_,E),_--,E--):a.get(_,E)===1?_--:E--;return S(-1,-1),l.reverse(),new A.DiffAlgorithmResult(l,!1)}}n.DynamicProgrammingDiffing=d}),Y(X[30],J([0,1,11,3,4,2,15]),function(T,n,M,A,i,d,m){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinesSliceCharSequence=void 0;class L{constructor(c,l,f){this.lines=c,this.considerWhitespaceChanges=f,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let g=!1;l.start>0&&l.endExclusive>=c.length&&(l=new A.OffsetRange(l.start-1,l.endExclusive),g=!0),this.lineRange=l,this.firstCharOffsetByLine[0]=0;for(let S=this.lineRange.start;SString.fromCharCode(l)).join("")}getElement(c){return this.elements[c]}get length(){return this.elements.length}getBoundaryScore(c){const l=e(c>0?this.elements[c-1]:-1),f=e(cf<=c);return new i.Position(this.lineRange.start+l+1,c-this.firstCharOffsetByLine[l]+this.additionalOffsetByLine[l]+1)}translateRange(c){return d.Range.fromPositions(this.translateOffset(c.start),this.translateOffset(c.endExclusive))}findWordContaining(c){if(c<0||c>=this.elements.length||!h(this.elements[c]))return;let l=c;for(;l>0&&h(this.elements[l-1]);)l--;let f=c;for(;f_<=c.start))!==null&&l!==void 0?l:0,S=(f=(0,M.findFirstMonotonous)(this.firstCharOffsetByLine,_=>c.endExclusive<=_))!==null&&f!==void 0?f:this.elements.length;return new A.OffsetRange(g,S)}}n.LinesSliceCharSequence=L;function h(a){return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57}const o={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function w(a){return o[a]}function e(a){return a===10?7:a===13?6:(0,m.isSpace)(a)?5:a>=97&&a<=122?0:a>=65&&a<=90?1:a>=48&&a<=57?2:a===-1?3:4}}),Y(X[31],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.MovedText=n.LinesDiff=void 0;class M{constructor(d,m,L){this.changes=d,this.moves=m,this.hitTimeout=L}}n.LinesDiff=M;class A{constructor(d,m){this.lineRangeMapping=d,this.changes=m}}n.MovedText=A}),Y(X[16],J([0,1,10]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RangeMapping=n.DetailedLineRangeMapping=n.LineRangeMapping=void 0;class A{static inverse(L,h,o){const w=[];let e=1,a=1;for(const l of L){const f=new i(new M.LineRange(e,l.original.startLineNumber),new M.LineRange(a,l.modified.startLineNumber),void 0);f.modified.isEmpty||w.push(f),e=l.original.endLineNumberExclusive,a=l.modified.endLineNumberExclusive}const c=new i(new M.LineRange(e,h+1),new M.LineRange(a,o+1),void 0);return c.modified.isEmpty||w.push(c),w}constructor(L,h){this.original=L,this.modified=h}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new A(this.modified,this.original)}join(L){return new A(this.original.join(L.original),this.modified.join(L.modified))}}n.LineRangeMapping=A;class i extends A{constructor(L,h,o){super(L,h),this.innerChanges=o}flip(){var L;return new i(this.modified,this.original,(L=this.innerChanges)===null||L===void 0?void 0:L.map(h=>h.flip()))}}n.DetailedLineRangeMapping=i;class d{constructor(L,h){this.originalRange=L,this.modifiedRange=h}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new d(this.modifiedRange,this.originalRange)}}n.RangeMapping=d}),Y(X[46],J([0,1,8,16,7,11,37,10,3,30,15,29]),function(T,n,M,A,i,d,m,L,h,o,w,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.computeMovedLines=void 0;function a(_,E,y,v,r,s){let{moves:u,excludedChanges:p}=c(_,E,y,s);if(!s.isValid())return[];const b=_.filter(N=>!p.has(N)),C=l(b,v,r,E,y,s);return(0,i.pushMany)(u,C),u=g(u),u=u.filter(N=>N.original.toOffsetRange().slice(E).map(D=>D.trim()).join(` +`).length>=10),u=S(_,u),u}n.computeMovedLines=a;function c(_,E,y,v){const r=[],s=_.filter(b=>b.modified.isEmpty&&b.original.length>=3).map(b=>new w.LineRangeFragment(b.original,E,b)),u=new Set(_.filter(b=>b.original.isEmpty&&b.modified.length>=3).map(b=>new w.LineRangeFragment(b.modified,y,b))),p=new Set;for(const b of s){let C=-1,N;for(const R of u){const D=b.computeSimilarity(R);D>C&&(C=D,N=R)}if(C>.9&&N&&(u.delete(N),r.push(new A.LineRangeMapping(b.range,N.range)),p.add(b.source),p.add(N.source)),!v.isValid())return{moves:r,excludedChanges:p}}return{moves:r,excludedChanges:p}}function l(_,E,y,v,r,s){const u=[],p=new m.SetMap;for(const D of _)for(let k=D.original.startLineNumber;kD.modified.startLineNumber,i.numberComparator));for(const D of _){let k=[];for(let U=D.modified.startLineNumber;U{for(const F of k)if(F.originalLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive&&F.modifiedLineRange.endLineNumberExclusive+1===B.endLineNumberExclusive){F.originalLineRange=new L.LineRange(F.originalLineRange.startLineNumber,x.endLineNumberExclusive),F.modifiedLineRange=new L.LineRange(F.modifiedLineRange.startLineNumber,B.endLineNumberExclusive),z.push(F);return}const O={modifiedLineRange:B,originalLineRange:x};b.push(O),z.push(O)}),k=z}if(!s.isValid())return[]}b.sort((0,i.reverseOrder)((0,i.compareBy)(D=>D.modifiedLineRange.length,i.numberComparator)));const C=new L.LineRangeSet,N=new L.LineRangeSet;for(const D of b){const k=D.modifiedLineRange.startLineNumber-D.originalLineRange.startLineNumber,U=C.subtractFrom(D.modifiedLineRange),I=N.subtractFrom(D.originalLineRange).getWithDelta(k),B=U.getIntersection(I);for(const z of B.ranges){if(z.length<3)continue;const x=z,O=z.delta(-k);u.push(new A.LineRangeMapping(O,x)),C.addRange(x),N.addRange(O)}}u.sort((0,i.compareBy)(D=>D.original.startLineNumber,i.numberComparator));const R=new d.MonotonousArray(_);for(let D=0;DV.original.startLineNumber<=k.original.startLineNumber),I=(0,d.findLastMonotonous)(_,V=>V.modified.startLineNumber<=k.modified.startLineNumber),B=Math.max(k.original.startLineNumber-U.original.startLineNumber,k.modified.startLineNumber-I.modified.startLineNumber),z=R.findLastMonotonous(V=>V.original.startLineNumberV.modified.startLineNumberv.length||t>r.length||C.contains(t)||N.contains(V)||!f(v[V-1],r[t-1],s))break}F>0&&(N.addRange(new L.LineRange(k.original.startLineNumber-F,k.original.startLineNumber)),C.addRange(new L.LineRange(k.modified.startLineNumber-F,k.modified.startLineNumber)));let H;for(H=0;Hv.length||t>r.length||C.contains(t)||N.contains(V)||!f(v[V-1],r[t-1],s))break}H>0&&(N.addRange(new L.LineRange(k.original.endLineNumberExclusive,k.original.endLineNumberExclusive+H)),C.addRange(new L.LineRange(k.modified.endLineNumberExclusive,k.modified.endLineNumberExclusive+H))),(F>0||H>0)&&(u[D]=new A.LineRangeMapping(new L.LineRange(k.original.startLineNumber-F,k.original.endLineNumberExclusive+H),new L.LineRange(k.modified.startLineNumber-F,k.modified.endLineNumberExclusive+H)))}return u}function f(_,E,y){if(_.trim()===E.trim())return!0;if(_.length>300&&E.length>300)return!1;const r=new e.MyersDiffAlgorithm().compute(new o.LinesSliceCharSequence([_],new h.OffsetRange(0,1),!1),new o.LinesSliceCharSequence([E],new h.OffsetRange(0,1),!1),y);let s=0;const u=M.SequenceDiff.invert(r.diffs,_.length);for(const N of u)N.seq1Range.forEach(R=>{(0,w.isSpace)(_.charCodeAt(R))||s++});function p(N){let R=0;for(let D=0;D<_.length;D++)(0,w.isSpace)(N.charCodeAt(D))||R++;return R}const b=p(_.length>E.length?_:E);return s/b>.6&&b>10}function g(_){if(_.length===0)return _;_.sort((0,i.compareBy)(y=>y.original.startLineNumber,i.numberComparator));const E=[_[0]];for(let y=1;y<_.length;y++){const v=E[E.length-1],r=_[y],s=r.original.startLineNumber-v.original.endLineNumberExclusive,u=r.modified.startLineNumber-v.modified.endLineNumberExclusive;if(s>=0&&u>=0&&s+u<=2){E[E.length-1]=v.join(r);continue}E.push(r)}return E}function S(_,E){const y=new d.MonotonousArray(_);return E=E.filter(v=>{const r=y.findLastMonotonous(p=>p.original.endLineNumberExclusivep.modified.endLineNumberExclusiveV===t))return new a.LinesDiff([],[],!1);if(y.length===1&&y[0].length===0||v.length===1&&v[0].length===0)return new a.LinesDiff([new c.DetailedLineRangeMapping(new i.LineRange(1,y.length+1),new i.LineRange(1,v.length+1),[new c.RangeMapping(new m.Range(1,1,y.length,y[0].length+1),new m.Range(1,1,v.length,v[0].length+1))])],[],!1);const s=r.maxComputationTimeMs===0?L.InfiniteTimeout.instance:new L.DateTimeout(r.maxComputationTimeMs),u=!r.ignoreTrimWhitespace,p=new Map;function b(V){let t=p.get(V);return t===void 0&&(t=p.size,p.set(V,t)),t}const C=y.map(V=>b(V.trim())),N=v.map(V=>b(V.trim())),R=new f.LineSequence(C,y),D=new f.LineSequence(N,v),k=(()=>R.length+D.length<1700?this.dynamicProgrammingDiffing.compute(R,D,s,(V,t)=>y[V]===v[t]?v[t].length===0?.1:1+Math.log(1+v[t].length):.99):this.myersDiffingAlgorithm.compute(R,D))();let U=k.diffs,I=k.hitTimeout;U=(0,e.optimizeSequenceDiffs)(R,D,U),U=(0,e.removeVeryShortMatchingLinesBetweenDiffs)(R,D,U);const B=[],z=V=>{if(u)for(let t=0;tV.seq1Range.start-x===V.seq2Range.start-O);const t=V.seq1Range.start-x;z(t),x=V.seq1Range.endExclusive,O=V.seq2Range.endExclusive;const ne=this.refineDiff(y,v,V,s,u);ne.hitTimeout&&(I=!0);for(const re of ne.mappings)B.push(re)}z(y.length-x);const F=S(B,y,v);let H=[];return r.computeMoves&&(H=this.computeMoves(F,y,v,C,N,s,u)),(0,A.assertFn)(()=>{function V(ne,re){if(ne.lineNumber<1||ne.lineNumber>re.length)return!1;const le=re[ne.lineNumber-1];return!(ne.column<1||ne.column>le.length+1)}function t(ne,re){return!(ne.startLineNumber<1||ne.startLineNumber>re.length+1||ne.endLineNumberExclusive<1||ne.endLineNumberExclusive>re.length+1)}for(const ne of F){if(!ne.innerChanges)return!1;for(const re of ne.innerChanges)if(!(V(re.modifiedRange.getStartPosition(),v)&&V(re.modifiedRange.getEndPosition(),v)&&V(re.originalRange.getStartPosition(),y)&&V(re.originalRange.getEndPosition(),y)))return!1;if(!t(ne.modified,v)||!t(ne.original,y))return!1}return!0}),new a.LinesDiff(F,H,I)}computeMoves(y,v,r,s,u,p,b){return(0,w.computeMovedLines)(y,v,r,s,u,p).map(R=>{const D=this.refineDiff(v,r,new L.SequenceDiff(R.original.toOffsetRange(),R.modified.toOffsetRange()),p,b),k=S(D.mappings,v,r,!0);return new a.MovedText(R,k)})}refineDiff(y,v,r,s,u){const p=new l.LinesSliceCharSequence(y,r.seq1Range,u),b=new l.LinesSliceCharSequence(v,r.seq2Range,u),C=p.length+b.length<500?this.dynamicProgrammingDiffing.compute(p,b,s):this.myersDiffingAlgorithm.compute(p,b,s);let N=C.diffs;return N=(0,e.optimizeSequenceDiffs)(p,b,N),N=(0,e.extendDiffsToEntireWordIfAppropriate)(p,b,N),N=(0,e.removeShortMatches)(p,b,N),N=(0,e.removeVeryShortMatchingTextBetweenLongDiffs)(p,b,N),{mappings:N.map(D=>new c.RangeMapping(p.translateRange(D.seq1Range),b.translateRange(D.seq2Range))),hitTimeout:C.hitTimeout}}}n.DefaultLinesDiffComputer=g;function S(E,y,v,r=!1){const s=[];for(const u of(0,M.groupAdjacentBy)(E.map(p=>_(p,y,v)),(p,b)=>p.original.overlapOrTouch(b.original)||p.modified.overlapOrTouch(b.modified))){const p=u[0],b=u[u.length-1];s.push(new c.DetailedLineRangeMapping(p.original.join(b.original),p.modified.join(b.modified),u.map(C=>C.innerChanges[0])))}return(0,A.assertFn)(()=>!r&&s.length>0&&s[0].original.startLineNumber!==s[0].modified.startLineNumber?!1:(0,A.checkAdjacentItems)(s,(u,p)=>p.original.startLineNumber-u.original.endLineNumberExclusive===p.modified.startLineNumber-u.modified.endLineNumberExclusive&&u.original.endLineNumberExclusive=v[E.modifiedRange.startLineNumber-1].length&&E.originalRange.startColumn-1>=y[E.originalRange.startLineNumber-1].length&&E.originalRange.startLineNumber<=E.originalRange.endLineNumber+s&&E.modifiedRange.startLineNumber<=E.modifiedRange.endLineNumber+s&&(r=1);const u=new i.LineRange(E.originalRange.startLineNumber+r,E.originalRange.endLineNumber+1+s),p=new i.LineRange(E.modifiedRange.startLineNumber+r,E.modifiedRange.endLineNumber+1+s);return new c.DetailedLineRangeMapping(u,p,[E])}n.getLineRangeMapping=_}),Y(X[48],J([0,1,24,31,16,6,2,12,10]),function(T,n,M,A,i,d,m,L,h){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DiffComputer=n.LegacyLinesDiffComputer=void 0;const o=3;class w{computeDiff(r,s,u){var p;const C=new S(r,s,{maxComputationTime:u.maxComputationTimeMs,shouldIgnoreTrimWhitespace:u.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),N=[];let R=null;for(const D of C.changes){let k;D.originalEndLineNumber===0?k=new h.LineRange(D.originalStartLineNumber+1,D.originalStartLineNumber+1):k=new h.LineRange(D.originalStartLineNumber,D.originalEndLineNumber+1);let U;D.modifiedEndLineNumber===0?U=new h.LineRange(D.modifiedStartLineNumber+1,D.modifiedStartLineNumber+1):U=new h.LineRange(D.modifiedStartLineNumber,D.modifiedEndLineNumber+1);let I=new i.DetailedLineRangeMapping(k,U,(p=D.charChanges)===null||p===void 0?void 0:p.map(B=>new i.RangeMapping(new m.Range(B.originalStartLineNumber,B.originalStartColumn,B.originalEndLineNumber,B.originalEndColumn),new m.Range(B.modifiedStartLineNumber,B.modifiedStartColumn,B.modifiedEndLineNumber,B.modifiedEndColumn))));R&&(R.modified.endLineNumberExclusive===I.modified.startLineNumber||R.original.endLineNumberExclusive===I.original.startLineNumber)&&(I=new i.DetailedLineRangeMapping(R.original.join(I.original),R.modified.join(I.modified),R.innerChanges&&I.innerChanges?R.innerChanges.concat(I.innerChanges):void 0),N.pop()),N.push(I),R=I}return(0,L.assertFn)(()=>(0,L.checkAdjacentItems)(N,(D,k)=>k.original.startLineNumber-D.original.endLineNumberExclusive===k.modified.startLineNumber-D.modified.endLineNumberExclusive&&D.original.endLineNumberExclusive(r===10?"\\n":String.fromCharCode(r))+`-(${this._lineNumbers[s]},${this._columns[s]})`).join(", ")+"]"}_assertIndex(r,s){if(r<0||r>=s.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(r){return r>0&&r===this._lineNumbers.length?this.getEndLineNumber(r-1):(this._assertIndex(r,this._lineNumbers),this._lineNumbers[r])}getEndLineNumber(r){return r===-1?this.getStartLineNumber(r+1):(this._assertIndex(r,this._lineNumbers),this._charCodes[r]===10?this._lineNumbers[r]+1:this._lineNumbers[r])}getStartColumn(r){return r>0&&r===this._columns.length?this.getEndColumn(r-1):(this._assertIndex(r,this._columns),this._columns[r])}getEndColumn(r){return r===-1?this.getStartColumn(r+1):(this._assertIndex(r,this._columns),this._charCodes[r]===10?1:this._columns[r]+1)}}class l{constructor(r,s,u,p,b,C,N,R){this.originalStartLineNumber=r,this.originalStartColumn=s,this.originalEndLineNumber=u,this.originalEndColumn=p,this.modifiedStartLineNumber=b,this.modifiedStartColumn=C,this.modifiedEndLineNumber=N,this.modifiedEndColumn=R}static createFromDiffChange(r,s,u){const p=s.getStartLineNumber(r.originalStart),b=s.getStartColumn(r.originalStart),C=s.getEndLineNumber(r.originalStart+r.originalLength-1),N=s.getEndColumn(r.originalStart+r.originalLength-1),R=u.getStartLineNumber(r.modifiedStart),D=u.getStartColumn(r.modifiedStart),k=u.getEndLineNumber(r.modifiedStart+r.modifiedLength-1),U=u.getEndColumn(r.modifiedStart+r.modifiedLength-1);return new l(p,b,C,N,R,D,k,U)}}function f(v){if(v.length<=1)return v;const r=[v[0]];let s=r[0];for(let u=1,p=v.length;u0&&s.originalLength<20&&s.modifiedLength>0&&s.modifiedLength<20&&b()){const B=u.createCharSequence(r,s.originalStart,s.originalStart+s.originalLength-1),z=p.createCharSequence(r,s.modifiedStart,s.modifiedStart+s.modifiedLength-1);if(B.getElements().length>0&&z.getElements().length>0){let x=e(B,z,b,!0).changes;N&&(x=f(x)),I=[];for(let O=0,F=x.length;O1&&x>1;){const O=I.charCodeAt(z-2),F=B.charCodeAt(x-2);if(O!==F)break;z--,x--}(z>1||x>1)&&this._pushTrimWhitespaceCharChange(p,b+1,1,z,C+1,1,x)}{let z=E(I,1),x=E(B,1);const O=I.length+1,F=B.length+1;for(;z!0;const r=Date.now();return()=>Date.now()-rnew M.LegacyLinesDiffComputer,getDefault:()=>new A.DefaultLinesDiffComputer}}),Y(X[50],J([0,1,33]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.computeDefaultDocumentColors=void 0;function A(a){const c=[];for(const l of a){const f=Number(l);(f||f===0&&l.replace(/\s/g,"")!=="")&&c.push(f)}return c}function i(a,c,l,f){return{red:a/255,blue:l/255,green:c/255,alpha:f}}function d(a,c){const l=c.index,f=c[0].length;if(!l)return;const g=a.positionAt(l);return{startLineNumber:g.lineNumber,startColumn:g.column,endLineNumber:g.lineNumber,endColumn:g.column+f}}function m(a,c){if(!a)return;const l=M.Color.Format.CSS.parseHex(c);if(l)return{range:a,color:i(l.rgba.r,l.rgba.g,l.rgba.b,l.rgba.a)}}function L(a,c,l){if(!a||c.length!==1)return;const g=c[0].values(),S=A(g);return{range:a,color:i(S[0],S[1],S[2],l?S[3]:1)}}function h(a,c,l){if(!a||c.length!==1)return;const g=c[0].values(),S=A(g),_=new M.Color(new M.HSLA(S[0],S[1]/100,S[2]/100,l?S[3]:1));return{range:a,color:i(_.rgba.r,_.rgba.g,_.rgba.b,_.rgba.a)}}function o(a,c){return typeof a=="string"?[...a.matchAll(c)]:a.findMatches(c)}function w(a){const c=[],f=o(a,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(f.length>0)for(const g of f){const S=g.filter(v=>v!==void 0),_=S[1],E=S[2];if(!E)continue;let y;if(_==="rgb"){const v=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;y=L(d(a,g),o(E,v),!1)}else if(_==="rgba"){const v=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;y=L(d(a,g),o(E,v),!0)}else if(_==="hsl"){const v=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;y=h(d(a,g),o(E,v),!1)}else if(_==="hsla"){const v=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;y=h(d(a,g),o(E,v),!0)}else _==="#"&&(y=m(d(a,g),_+E));y&&c.push(y)}return c}function e(a){return!a||typeof a.getValue!="function"||typeof a.positionAt!="function"?[]:w(a)}n.computeDefaultDocumentColors=e}),Y(X[51],J([0,1,27]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.computeLinks=n.LinkComputer=n.StateMachine=void 0;class A{constructor(a,c,l){const f=new Uint8Array(a*c);for(let g=0,S=a*c;gc&&(c=E),_>l&&(l=_),y>l&&(l=y)}c++,l++;const f=new A(l,c,0);for(let g=0,S=a.length;g=this._maxCharCode?0:this._states.get(a,c)}}n.StateMachine=i;let d=null;function m(){return d===null&&(d=new i([[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]])),d}let L=null;function h(){if(L===null){L=new M.CharacterClassifier(0);const e=` <>'"\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 c=0;cf);if(f>0){const _=c.charCodeAt(f-1),E=c.charCodeAt(S);(_===40&&E===41||_===91&&E===93||_===123&&E===125)&&S--}return{range:{startLineNumber:l,startColumn:f+1,endLineNumber:l,endColumn:S+2},url:c.substring(f,S+1)}}static computeLinks(a,c=m()){const l=h(),f=[];for(let g=1,S=a.getLineCount();g<=S;g++){const _=a.getLineContent(g),E=_.length;let y=0,v=0,r=0,s=1,u=!1,p=!1,b=!1,C=!1;for(;y=0?(L+=m?1:-1,L<0?L=i.length-1:L%=i.length,i[L]):null}}n.BasicInplaceReplace=M,M.INSTANCE=new M}),Y(X[53],J([0,1,14]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shouldSynchronizeModel=n.ApplyEditsResult=n.SearchData=n.ValidAnnotatedEditOperation=n.isITextSnapshot=n.FindMatch=n.TextModelResolvedOptions=n.InjectedTextCursorStops=n.MinimapPosition=n.GlyphMarginLane=n.OverviewRulerLane=void 0;var A;(function(l){l[l.Left=1]="Left",l[l.Center=2]="Center",l[l.Right=4]="Right",l[l.Full=7]="Full"})(A||(n.OverviewRulerLane=A={}));var i;(function(l){l[l.Left=1]="Left",l[l.Right=2]="Right"})(i||(n.GlyphMarginLane=i={}));var d;(function(l){l[l.Inline=1]="Inline",l[l.Gutter=2]="Gutter"})(d||(n.MinimapPosition=d={}));var m;(function(l){l[l.Both=0]="Both",l[l.Right=1]="Right",l[l.Left=2]="Left",l[l.None=3]="None"})(m||(n.InjectedTextCursorStops=m={}));class L{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(f){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,f.tabSize|0),f.indentSize==="tabSize"?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,f.indentSize|0),this._indentSizeIsTabSize=!1),this.insertSpaces=!!f.insertSpaces,this.defaultEOL=f.defaultEOL|0,this.trimAutoWhitespace=!!f.trimAutoWhitespace,this.bracketPairColorizationOptions=f.bracketPairColorizationOptions}equals(f){return this.tabSize===f.tabSize&&this._indentSizeIsTabSize===f._indentSizeIsTabSize&&this.indentSize===f.indentSize&&this.insertSpaces===f.insertSpaces&&this.defaultEOL===f.defaultEOL&&this.trimAutoWhitespace===f.trimAutoWhitespace&&(0,M.equals)(this.bracketPairColorizationOptions,f.bracketPairColorizationOptions)}createChangeEvent(f){return{tabSize:this.tabSize!==f.tabSize,indentSize:this.indentSize!==f.indentSize,insertSpaces:this.insertSpaces!==f.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==f.trimAutoWhitespace}}}n.TextModelResolvedOptions=L;class h{constructor(f,g){this._findMatchBrand=void 0,this.range=f,this.matches=g}}n.FindMatch=h;function o(l){return l&&typeof l.read=="function"}n.isITextSnapshot=o;class w{constructor(f,g,S,_,E,y){this.identifier=f,this.range=g,this.text=S,this.forceMoveMarkers=_,this.isAutoWhitespaceEdit=E,this._isTracked=y}}n.ValidAnnotatedEditOperation=w;class e{constructor(f,g,S){this.regex=f,this.wordSeparators=g,this.simpleSearch=S}}n.SearchData=e;class a{constructor(f,g,S){this.reverseEdits=f,this.changes=g,this.trimAutoWhitespaceLineNumbers=S}}n.ApplyEditsResult=a;function c(l){return!l.isTooLargeForSyncing()&&!l.isForSimpleWidget}n.shouldSynchronizeModel=c}),Y(X[54],J([0,1,7,26]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PrefixSumIndexOfResult=n.ConstantTimePrefixSumComputer=n.PrefixSumComputer=void 0;class i{constructor(h){this.values=h,this.prefixSum=new Uint32Array(h.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(h,o){h=(0,A.toUint32)(h);const w=this.values,e=this.prefixSum,a=o.length;return a===0?!1:(this.values=new Uint32Array(w.length+a),this.values.set(w.subarray(0,h),0),this.values.set(w.subarray(h),h+a),this.values.set(o,h),h-1=0&&this.prefixSum.set(e.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(h,o){return h=(0,A.toUint32)(h),o=(0,A.toUint32)(o),this.values[h]===o?!1:(this.values[h]=o,h-1=w.length)return!1;const a=w.length-h;return o>=a&&(o=a),o===0?!1:(this.values=new Uint32Array(w.length-o),this.values.set(w.subarray(0,h),0),this.values.set(w.subarray(h+o),h),this.prefixSum=new Uint32Array(this.values.length),h-1=0&&this.prefixSum.set(e.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(h){return h<0?0:(h=(0,A.toUint32)(h),this._getPrefixSum(h))}_getPrefixSum(h){if(h<=this.prefixSumValidIndex[0])return this.prefixSum[h];let o=this.prefixSumValidIndex[0]+1;o===0&&(this.prefixSum[0]=this.values[0],o++),h>=this.values.length&&(h=this.values.length-1);for(let w=o;w<=h;w++)this.prefixSum[w]=this.prefixSum[w-1]+this.values[w];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],h),this.prefixSum[h]}getIndexOf(h){h=Math.floor(h),this.getTotalSum();let o=0,w=this.values.length-1,e=0,a=0,c=0;for(;o<=w;)if(e=o+(w-o)/2|0,a=this.prefixSum[e],c=a-this.values[e],h=a)o=e+1;else break;return new m(e,h-c)}}n.PrefixSumComputer=i;class d{constructor(h){this._values=h,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(h){return this._ensureValid(),h===0?0:this._prefixSum[h-1]}getIndexOf(h){this._ensureValid();const o=this._indexBySum[h],w=o>0?this._prefixSum[o-1]:0;return new m(o,h-w)}removeValues(h,o){this._values.splice(h,o),this._invalidate(h)}insertValues(h,o){this._values=(0,M.arrayInsert)(this._values,h,o),this._invalidate(h)}_invalidate(h){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,h-1)}_ensureValid(){if(!this._isValid){for(let h=this._validEndIndex+1,o=this._values.length;h0?this._prefixSum[h-1]:0;this._prefixSum[h]=e+w;for(let a=0;a=0;let E=null;try{E=M.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:_,global:!0,unicode:!0})}catch{return null}if(!E)return null;let y=!this.isRegex&&!_;return y&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(y=this.matchCase),new m.SearchData(E,this.wordSeparators?(0,A.getMapForWordSeparators)(this.wordSeparators):null,y?this.searchString:null)}}n.SearchParams=h;function o(S){if(!S||S.length===0)return!1;for(let _=0,E=S.length;_=E)break;const v=S.charCodeAt(_);if(v===110||v===114||v===87)return!0}}return!1}n.isMultilineRegexSource=o;function w(S,_,E){if(!E)return new m.FindMatch(S,null);const y=[];for(let v=0,r=_.length;v>0);E[r]>=_?v=r-1:E[r+1]>=_?(y=r,v=r):y=r+1}return y+1}}class a{static findMatches(_,E,y,v,r){const s=E.parseSearchRequest();return s?s.regex.multiline?this._doFindMatchesMultiline(_,y,new g(s.wordSeparators,s.regex),v,r):this._doFindMatchesLineByLine(_,y,s,v,r):[]}static _getMultilineMatchRange(_,E,y,v,r,s){let u,p=0;v?(p=v.findLineFeedCountBeforeOffset(r),u=E+r+p):u=E+r;let b;if(v){const D=v.findLineFeedCountBeforeOffset(r+s.length)-p;b=u+s.length+D}else b=u+s.length;const C=_.getPositionAt(u),N=_.getPositionAt(b);return new d.Range(C.lineNumber,C.column,N.lineNumber,N.column)}static _doFindMatchesMultiline(_,E,y,v,r){const s=_.getOffsetAt(E.getStartPosition()),u=_.getValueInRange(E,1),p=_.getEOL()===`\r +`?new e(u):null,b=[];let C=0,N;for(y.reset(0);N=y.next(u);)if(b[C++]=w(this._getMultilineMatchRange(_,s,u,p,N.index,N[0]),N,v),C>=r)return b;return b}static _doFindMatchesLineByLine(_,E,y,v,r){const s=[];let u=0;if(E.startLineNumber===E.endLineNumber){const b=_.getLineContent(E.startLineNumber).substring(E.startColumn-1,E.endColumn-1);return u=this._findMatchesInLine(y,b,E.startLineNumber,E.startColumn-1,u,s,v,r),s}const p=_.getLineContent(E.startLineNumber).substring(E.startColumn-1);u=this._findMatchesInLine(y,p,E.startLineNumber,E.startColumn-1,u,s,v,r);for(let b=E.startLineNumber+1;b=p))return r;return r}const C=new g(_.wordSeparators,_.regex);let N;C.reset(0);do if(N=C.next(E),N&&(s[r++]=w(new d.Range(y,N.index+1+v,y,N.index+1+N[0].length+v),N,u),r>=p))return r;while(N);return r}static findNextMatch(_,E,y,v){const r=E.parseSearchRequest();if(!r)return null;const s=new g(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindNextMatchMultiline(_,y,s,v):this._doFindNextMatchLineByLine(_,y,s,v)}static _doFindNextMatchMultiline(_,E,y,v){const r=new i.Position(E.lineNumber,1),s=_.getOffsetAt(r),u=_.getLineCount(),p=_.getValueInRange(new d.Range(r.lineNumber,r.column,u,_.getLineMaxColumn(u)),1),b=_.getEOL()===`\r +`?new e(p):null;y.reset(E.column-1);const C=y.next(p);return C?w(this._getMultilineMatchRange(_,s,p,b,C.index,C[0]),C,v):E.lineNumber!==1||E.column!==1?this._doFindNextMatchMultiline(_,new i.Position(1,1),y,v):null}static _doFindNextMatchLineByLine(_,E,y,v){const r=_.getLineCount(),s=E.lineNumber,u=_.getLineContent(s),p=this._findFirstMatchInLine(y,u,s,E.column,v);if(p)return p;for(let b=1;b<=r;b++){const C=(s+b-1)%r,N=_.getLineContent(C+1),R=this._findFirstMatchInLine(y,N,C+1,1,v);if(R)return R}return null}static _findFirstMatchInLine(_,E,y,v,r){_.reset(v-1);const s=_.next(E);return s?w(new d.Range(y,s.index+1,y,s.index+1+s[0].length),s,r):null}static findPreviousMatch(_,E,y,v){const r=E.parseSearchRequest();if(!r)return null;const s=new g(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindPreviousMatchMultiline(_,y,s,v):this._doFindPreviousMatchLineByLine(_,y,s,v)}static _doFindPreviousMatchMultiline(_,E,y,v){const r=this._doFindMatchesMultiline(_,new d.Range(1,1,E.lineNumber,E.column),y,v,10*L);if(r.length>0)return r[r.length-1];const s=_.getLineCount();return E.lineNumber!==s||E.column!==_.getLineMaxColumn(s)?this._doFindPreviousMatchMultiline(_,new i.Position(s,_.getLineMaxColumn(s)),y,v):null}static _doFindPreviousMatchLineByLine(_,E,y,v){const r=_.getLineCount(),s=E.lineNumber,u=_.getLineContent(s).substring(0,E.column-1),p=this._findLastMatchInLine(y,u,s,v);if(p)return p;for(let b=1;b<=r;b++){const C=(r+s-b-1)%r,N=_.getLineContent(C+1),R=this._findLastMatchInLine(y,N,C+1,v);if(R)return R}return null}static _findLastMatchInLine(_,E,y,v){let r=null,s;for(_.reset(0);s=_.next(E);)r=w(new d.Range(y,s.index+1,y,s.index+1+s[0].length),s,v);return r}}n.TextModelSearch=a;function c(S,_,E,y,v){if(y===0)return!0;const r=_.charCodeAt(y-1);if(S.get(r)!==0||r===13||r===10)return!0;if(v>0){const s=_.charCodeAt(y);if(S.get(s)!==0)return!0}return!1}function l(S,_,E,y,v){if(y+v===E)return!0;const r=_.charCodeAt(y+v);if(S.get(r)!==0||r===13||r===10)return!0;if(v>0){const s=_.charCodeAt(y+v-1);if(S.get(s)!==0)return!0}return!1}function f(S,_,E,y,v){return c(S,_,E,y,v)&&l(S,_,E,y,v)}n.isValidMatch=f;class g{constructor(_,E){this._wordSeparators=_,this._searchRegex=E,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(_){this._searchRegex.lastIndex=_,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(_){const E=_.length;let y;do{if(this._prevMatchStartIndex+this._prevMatchLength===E||(y=this._searchRegex.exec(_),!y))return null;const v=y.index,r=y[0].length;if(v===this._prevMatchStartIndex&&r===this._prevMatchLength){if(r===0){M.getNextCodePoint(_,E,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=v,this._prevMatchLength=r,!this._wordSeparators||f(this._wordSeparators,_,E,v,r))return y}while(y);return null}}n.Searcher=g}),Y(X[57],J([0,1,2,56,6,12,28]),function(T,n,M,A,i,d,m){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UnicodeTextModelHighlighter=void 0;class L{static computeUnicodeHighlights(a,c,l){const f=l?l.startLineNumber:1,g=l?l.endLineNumber:a.getLineCount(),S=new o(c),_=S.getCandidateCodePoints();let E;_==="allNonBasicAscii"?E=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):E=new RegExp(`${h(Array.from(_))}`,"g");const y=new A.Searcher(null,E),v=[];let r=!1,s,u=0,p=0,b=0;e:for(let C=f,N=g;C<=N;C++){const R=a.getLineContent(C),D=R.length;y.reset(0);do if(s=y.next(R),s){let k=s.index,U=s.index+s[0].length;if(k>0){const x=R.charCodeAt(k-1);i.isHighSurrogate(x)&&k--}if(U+1=x){r=!0;break e}v.push(new M.Range(C,k+1,C,U+1))}}while(s)}return{ranges:v,hasMore:r,ambiguousCharacterCount:u,invisibleCharacterCount:p,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(a,c){const l=new o(c);switch(l.shouldHighlightNonBasicASCII(a,null)){case 0:return null;case 2:return{kind:1};case 3:{const g=a.codePointAt(0),S=l.ambiguousCharacters.getPrimaryConfusable(g),_=i.AmbiguousCharacters.getLocales().filter(E=>!i.AmbiguousCharacters.getInstance(new Set([...c.allowedLocales,E])).isAmbiguous(g));return{kind:0,confusableWith:String.fromCodePoint(S),notAmbiguousInLocales:_}}case 1:return{kind:2}}}}n.UnicodeTextModelHighlighter=L;function h(e,a){return`[${i.escapeRegExpCharacters(e.map(l=>String.fromCodePoint(l)).join(""))}]`}class o{constructor(a){this.options=a,this.allowedCodePoints=new Set(a.allowedCodePoints),this.ambiguousCharacters=i.AmbiguousCharacters.getInstance(new Set(a.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const a=new Set;if(this.options.invisibleCharacters)for(const c of i.InvisibleCharacters.codePoints)w(String.fromCodePoint(c))||a.add(c);if(this.options.ambiguousCharacters)for(const c of this.ambiguousCharacters.getConfusableCodePoints())a.add(c);for(const c of this.allowedCodePoints)a.delete(c);return a}shouldHighlightNonBasicASCII(a,c){const l=a.codePointAt(0);if(this.allowedCodePoints.has(l))return 0;if(this.options.nonBasicASCII)return 1;let f=!1,g=!1;if(c)for(const S of c){const _=S.codePointAt(0),E=i.isBasicASCII(S);f=f||E,!E&&!this.ambiguousCharacters.isAmbiguous(_)&&!i.InvisibleCharacters.isInvisibleCharacter(_)&&(g=!0)}return!f&&g?0:this.options.invisibleCharacters&&!w(a)&&i.InvisibleCharacters.isInvisibleCharacter(l)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(l)?3:0}}function w(e){return e===" "||e===` +`||e===" "}}),Y(X[58],J([0,1]),function(T,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WrappingIndent=n.TrackedRangeStickiness=n.TextEditorCursorStyle=n.TextEditorCursorBlinkingStyle=n.SymbolTag=n.SymbolKind=n.SignatureHelpTriggerKind=n.SelectionDirection=n.ScrollbarVisibility=n.ScrollType=n.RenderMinimap=n.RenderLineNumbersType=n.PositionAffinity=n.OverviewRulerLane=n.OverlayWidgetPositionPreference=n.MouseTargetType=n.MinimapPosition=n.MarkerTag=n.MarkerSeverity=n.KeyCode=n.InlineCompletionTriggerKind=n.InlayHintKind=n.InjectedTextCursorStops=n.IndentAction=n.GlyphMarginLane=n.EndOfLineSequence=n.EndOfLinePreference=n.EditorOption=n.EditorAutoIndentStrategy=n.DocumentHighlightKind=n.DefaultEndOfLine=n.CursorChangeReason=n.ContentWidgetPositionPreference=n.CompletionTriggerKind=n.CompletionItemTag=n.CompletionItemKind=n.CompletionItemInsertTextRule=n.CodeActionTriggerType=n.AccessibilitySupport=void 0;var M;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(M||(n.AccessibilitySupport=M={}));var A;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(A||(n.CodeActionTriggerType=A={}));var i;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(i||(n.CompletionItemInsertTextRule=i={}));var d;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Snippet=27]="Snippet"})(d||(n.CompletionItemKind=d={}));var m;(function(t){t[t.Deprecated=1]="Deprecated"})(m||(n.CompletionItemTag=m={}));var L;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(L||(n.CompletionTriggerKind=L={}));var h;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(h||(n.ContentWidgetPositionPreference=h={}));var o;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(o||(n.CursorChangeReason=o={}));var w;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(w||(n.DefaultEndOfLine=w={}));var e;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(e||(n.DocumentHighlightKind=e={}));var a;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(a||(n.EditorAutoIndentStrategy=a={}));var c;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.ariaLabel=4]="ariaLabel",t[t.ariaRequired=5]="ariaRequired",t[t.autoClosingBrackets=6]="autoClosingBrackets",t[t.autoClosingComments=7]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=9]="autoClosingDelete",t[t.autoClosingOvertype=10]="autoClosingOvertype",t[t.autoClosingQuotes=11]="autoClosingQuotes",t[t.autoIndent=12]="autoIndent",t[t.automaticLayout=13]="automaticLayout",t[t.autoSurround=14]="autoSurround",t[t.bracketPairColorization=15]="bracketPairColorization",t[t.guides=16]="guides",t[t.codeLens=17]="codeLens",t[t.codeLensFontFamily=18]="codeLensFontFamily",t[t.codeLensFontSize=19]="codeLensFontSize",t[t.colorDecorators=20]="colorDecorators",t[t.colorDecoratorsLimit=21]="colorDecoratorsLimit",t[t.columnSelection=22]="columnSelection",t[t.comments=23]="comments",t[t.contextmenu=24]="contextmenu",t[t.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",t[t.cursorBlinking=26]="cursorBlinking",t[t.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",t[t.cursorStyle=28]="cursorStyle",t[t.cursorSurroundingLines=29]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",t[t.cursorWidth=31]="cursorWidth",t[t.disableLayerHinting=32]="disableLayerHinting",t[t.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",t[t.domReadOnly=34]="domReadOnly",t[t.dragAndDrop=35]="dragAndDrop",t[t.dropIntoEditor=36]="dropIntoEditor",t[t.emptySelectionClipboard=37]="emptySelectionClipboard",t[t.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",t[t.extraEditorClassName=39]="extraEditorClassName",t[t.fastScrollSensitivity=40]="fastScrollSensitivity",t[t.find=41]="find",t[t.fixedOverflowWidgets=42]="fixedOverflowWidgets",t[t.folding=43]="folding",t[t.foldingStrategy=44]="foldingStrategy",t[t.foldingHighlight=45]="foldingHighlight",t[t.foldingImportsByDefault=46]="foldingImportsByDefault",t[t.foldingMaximumRegions=47]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=49]="fontFamily",t[t.fontInfo=50]="fontInfo",t[t.fontLigatures=51]="fontLigatures",t[t.fontSize=52]="fontSize",t[t.fontWeight=53]="fontWeight",t[t.fontVariations=54]="fontVariations",t[t.formatOnPaste=55]="formatOnPaste",t[t.formatOnType=56]="formatOnType",t[t.glyphMargin=57]="glyphMargin",t[t.gotoLocation=58]="gotoLocation",t[t.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",t[t.hover=60]="hover",t[t.inDiffEditor=61]="inDiffEditor",t[t.inlineSuggest=62]="inlineSuggest",t[t.letterSpacing=63]="letterSpacing",t[t.lightbulb=64]="lightbulb",t[t.lineDecorationsWidth=65]="lineDecorationsWidth",t[t.lineHeight=66]="lineHeight",t[t.lineNumbers=67]="lineNumbers",t[t.lineNumbersMinChars=68]="lineNumbersMinChars",t[t.linkedEditing=69]="linkedEditing",t[t.links=70]="links",t[t.matchBrackets=71]="matchBrackets",t[t.minimap=72]="minimap",t[t.mouseStyle=73]="mouseStyle",t[t.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=75]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",t[t.multiCursorModifier=77]="multiCursorModifier",t[t.multiCursorPaste=78]="multiCursorPaste",t[t.multiCursorLimit=79]="multiCursorLimit",t[t.occurrencesHighlight=80]="occurrencesHighlight",t[t.overviewRulerBorder=81]="overviewRulerBorder",t[t.overviewRulerLanes=82]="overviewRulerLanes",t[t.padding=83]="padding",t[t.pasteAs=84]="pasteAs",t[t.parameterHints=85]="parameterHints",t[t.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",t[t.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",t[t.quickSuggestions=88]="quickSuggestions",t[t.quickSuggestionsDelay=89]="quickSuggestionsDelay",t[t.readOnly=90]="readOnly",t[t.readOnlyMessage=91]="readOnlyMessage",t[t.renameOnType=92]="renameOnType",t[t.renderControlCharacters=93]="renderControlCharacters",t[t.renderFinalNewline=94]="renderFinalNewline",t[t.renderLineHighlight=95]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=97]="renderValidationDecorations",t[t.renderWhitespace=98]="renderWhitespace",t[t.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",t[t.roundedSelection=100]="roundedSelection",t[t.rulers=101]="rulers",t[t.scrollbar=102]="scrollbar",t[t.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=104]="scrollBeyondLastLine",t[t.scrollPredominantAxis=105]="scrollPredominantAxis",t[t.selectionClipboard=106]="selectionClipboard",t[t.selectionHighlight=107]="selectionHighlight",t[t.selectOnLineNumbers=108]="selectOnLineNumbers",t[t.showFoldingControls=109]="showFoldingControls",t[t.showUnused=110]="showUnused",t[t.snippetSuggestions=111]="snippetSuggestions",t[t.smartSelect=112]="smartSelect",t[t.smoothScrolling=113]="smoothScrolling",t[t.stickyScroll=114]="stickyScroll",t[t.stickyTabStops=115]="stickyTabStops",t[t.stopRenderingLineAfter=116]="stopRenderingLineAfter",t[t.suggest=117]="suggest",t[t.suggestFontSize=118]="suggestFontSize",t[t.suggestLineHeight=119]="suggestLineHeight",t[t.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",t[t.suggestSelection=121]="suggestSelection",t[t.tabCompletion=122]="tabCompletion",t[t.tabIndex=123]="tabIndex",t[t.unicodeHighlighting=124]="unicodeHighlighting",t[t.unusualLineTerminators=125]="unusualLineTerminators",t[t.useShadowDOM=126]="useShadowDOM",t[t.useTabStops=127]="useTabStops",t[t.wordBreak=128]="wordBreak",t[t.wordSeparators=129]="wordSeparators",t[t.wordWrap=130]="wordWrap",t[t.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=133]="wordWrapColumn",t[t.wordWrapOverride1=134]="wordWrapOverride1",t[t.wordWrapOverride2=135]="wordWrapOverride2",t[t.wrappingIndent=136]="wrappingIndent",t[t.wrappingStrategy=137]="wrappingStrategy",t[t.showDeprecated=138]="showDeprecated",t[t.inlayHints=139]="inlayHints",t[t.editorClassName=140]="editorClassName",t[t.pixelRatio=141]="pixelRatio",t[t.tabFocusMode=142]="tabFocusMode",t[t.layoutInfo=143]="layoutInfo",t[t.wrappingInfo=144]="wrappingInfo",t[t.defaultColorDecorators=145]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"})(c||(n.EditorOption=c={}));var l;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(l||(n.EndOfLinePreference=l={}));var f;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(f||(n.EndOfLineSequence=f={}));var g;(function(t){t[t.Left=1]="Left",t[t.Right=2]="Right"})(g||(n.GlyphMarginLane=g={}));var S;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(S||(n.IndentAction=S={}));var _;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(_||(n.InjectedTextCursorStops=_={}));var E;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(E||(n.InlayHintKind=E={}));var y;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(y||(n.InlineCompletionTriggerKind=y={}));var v;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(v||(n.KeyCode=v={}));var r;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(r||(n.MarkerSeverity=r={}));var s;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(s||(n.MarkerTag=s={}));var u;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(u||(n.MinimapPosition=u={}));var p;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(p||(n.MouseTargetType=p={}));var b;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(b||(n.OverlayWidgetPositionPreference=b={}));var C;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(C||(n.OverviewRulerLane=C={}));var N;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(N||(n.PositionAffinity=N={}));var R;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(R||(n.RenderLineNumbersType=R={}));var D;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(D||(n.RenderMinimap=D={}));var k;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(k||(n.ScrollType=k={}));var U;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(U||(n.ScrollbarVisibility=U={}));var I;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(I||(n.SelectionDirection=I={}));var B;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(B||(n.SignatureHelpTriggerKind=B={}));var z;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(z||(n.SymbolKind=z={}));var x;(function(t){t[t.Deprecated=1]="Deprecated"})(x||(n.SymbolTag=x={}));var O;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(O||(n.TextEditorCursorBlinkingStyle=O={}));var F;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(F||(n.TextEditorCursorStyle=F={}));var H;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(H||(n.TrackedRangeStickiness=H={}));var V;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(V||(n.WrappingIndent=V={}))}),Y(X[59],J([0,1,9,13]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TokenizationRegistry=void 0;class i{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new M.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(L){this._onDidChange.fire({changedLanguages:L,changedColorMap:!1})}register(L,h){return this._tokenizationSupports.set(L,h),this.handleChange([L]),(0,A.toDisposable)(()=>{this._tokenizationSupports.get(L)===h&&(this._tokenizationSupports.delete(L),this.handleChange([L]))})}get(L){return this._tokenizationSupports.get(L)||null}registerFactory(L,h){var o;(o=this._factories.get(L))===null||o===void 0||o.dispose();const w=new d(this,L,h);return this._factories.set(L,w),(0,A.toDisposable)(()=>{const e=this._factories.get(L);!e||e!==w||(this._factories.delete(L),e.dispose())})}getOrCreate(L){return ue(this,void 0,void 0,function*(){const h=this.get(L);if(h)return h;const o=this._factories.get(L);return!o||o.isResolved?null:(yield o.resolve(),this.get(L))})}isResolved(L){if(this.get(L))return!0;const o=this._factories.get(L);return!!(!o||o.isResolved)}setColorMap(L){this._colorMap=L,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}n.TokenizationRegistry=i;class d extends A.Disposable{get isResolved(){return this._isResolved}constructor(L,h,o){super(),this._registry=L,this._languageId=h,this._factory=o,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return ue(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return ue(this,void 0,void 0,function*(){const L=yield this._factory.tokenizationSupport;this._isResolved=!0,L&&!this._isDisposed&&this._register(this._registry.register(this._languageId,L))})}}}),Y(X[60],J([19,61]),function(T,n){return T.create("vs/base/common/platform",n)}),Y(X[17],J([0,1,60]),function(T,n,M){"use strict";var A;Object.defineProperty(n,"__esModule",{value:!0}),n.isAndroid=n.isEdge=n.isSafari=n.isFirefox=n.isChrome=n.isLittleEndian=n.OS=n.setTimeout0=n.setTimeout0IsFaster=n.language=n.userAgent=n.isMobile=n.isIOS=n.isWebWorker=n.isWeb=n.isNative=n.isLinux=n.isMacintosh=n.isWindows=n.globals=n.LANGUAGE_DEFAULT=void 0,n.LANGUAGE_DEFAULT="en";let i=!1,d=!1,m=!1,L=!1,h=!1,o=!1,w=!1,e=!1,a=!1,c=!1,l,f=n.LANGUAGE_DEFAULT,g=n.LANGUAGE_DEFAULT,S,_;n.globals=typeof self=="object"?self:typeof global=="object"?global:{};let E;typeof n.globals.vscode<"u"&&typeof n.globals.vscode.process<"u"?E=n.globals.vscode.process:typeof process<"u"&&(E=process);const y=typeof((A=E?.versions)===null||A===void 0?void 0:A.electron)=="string",v=y&&E?.type==="renderer";if(typeof navigator=="object"&&!v)_=navigator.userAgent,i=_.indexOf("Windows")>=0,d=_.indexOf("Macintosh")>=0,e=(_.indexOf("Macintosh")>=0||_.indexOf("iPad")>=0||_.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,m=_.indexOf("Linux")>=0,c=_?.indexOf("Mobi")>=0,o=!0,l=M.getConfiguredDefaultLocale(M.localize(0,null))||n.LANGUAGE_DEFAULT,f=l,g=navigator.language;else if(typeof E=="object"){i=E.platform==="win32",d=E.platform==="darwin",m=E.platform==="linux",L=m&&!!E.env.SNAP&&!!E.env.SNAP_REVISION,w=y,a=!!E.env.CI||!!E.env.BUILD_ARTIFACTSTAGINGDIRECTORY,l=n.LANGUAGE_DEFAULT,f=n.LANGUAGE_DEFAULT;const b=E.env.VSCODE_NLS_CONFIG;if(b)try{const C=JSON.parse(b),N=C.availableLanguages["*"];l=C.locale,g=C.osLocale,f=N||n.LANGUAGE_DEFAULT,S=C._translationsConfigFile}catch{}h=!0}else console.error("Unable to resolve platform.");let r=0;d?r=1:i?r=3:m&&(r=2),n.isWindows=i,n.isMacintosh=d,n.isLinux=m,n.isNative=h,n.isWeb=o,n.isWebWorker=o&&typeof n.globals.importScripts=="function",n.isIOS=e,n.isMobile=c,n.userAgent=_,n.language=f,n.setTimeout0IsFaster=typeof n.globals.postMessage=="function"&&!n.globals.importScripts,n.setTimeout0=(()=>{if(n.setTimeout0IsFaster){const b=[];n.globals.addEventListener("message",N=>{if(N.data&&N.data.vscodeScheduleAsyncWork)for(let R=0,D=b.length;R{const R=++C;b.push({id:R,callback:N}),n.globals.postMessage({vscodeScheduleAsyncWork:R},"*")}}return b=>setTimeout(b)})(),n.OS=d||e?2:i?1:3;let s=!0,u=!1;function p(){if(!u){u=!0;const b=new Uint8Array(2);b[0]=1,b[1]=2,s=new Uint16Array(b.buffer)[0]===(2<<8)+1}return s}n.isLittleEndian=p,n.isChrome=!!(n.userAgent&&n.userAgent.indexOf("Chrome")>=0),n.isFirefox=!!(n.userAgent&&n.userAgent.indexOf("Firefox")>=0),n.isSafari=!!(!n.isChrome&&n.userAgent&&n.userAgent.indexOf("Safari")>=0),n.isEdge=!!(n.userAgent&&n.userAgent.indexOf("Edg/")>=0),n.isAndroid=!!(n.userAgent&&n.userAgent.indexOf("Android")>=0)}),Y(X[62],J([0,1,17]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.platform=n.env=n.cwd=void 0;let A;if(typeof M.globals.vscode<"u"&&typeof M.globals.vscode.process<"u"){const i=M.globals.vscode.process;A={get platform(){return i.platform},get arch(){return i.arch},get env(){return i.env},cwd(){return i.cwd()}}}else typeof process<"u"?A={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:A={get platform(){return M.isWindows?"win32":M.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};n.cwd=A.cwd,n.env=A.env,n.platform=A.platform}),Y(X[63],J([0,1,62]),function(T,n,M){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.sep=n.extname=n.basename=n.dirname=n.relative=n.resolve=n.normalize=n.posix=n.win32=void 0;const A=65,i=97,d=90,m=122,L=46,h=47,o=92,w=58,e=63;class a extends Error{constructor(s,u,p){let b;typeof u=="string"&&u.indexOf("not ")===0?(b="must not be",u=u.replace(/^not /,"")):b="must be";const C=s.indexOf(".")!==-1?"property":"argument";let N=`The "${s}" ${C} ${b} of type ${u}`;N+=`. Received type ${typeof p}`,super(N),this.code="ERR_INVALID_ARG_TYPE"}}function c(r,s){if(r===null||typeof r!="object")throw new a(s,"Object",r)}function l(r,s){if(typeof r!="string")throw new a(s,"string",r)}const f=M.platform==="win32";function g(r){return r===h||r===o}function S(r){return r===h}function _(r){return r>=A&&r<=d||r>=i&&r<=m}function E(r,s,u,p){let b="",C=0,N=-1,R=0,D=0;for(let k=0;k<=r.length;++k){if(k2){const U=b.lastIndexOf(u);U===-1?(b="",C=0):(b=b.slice(0,U),C=b.length-1-b.lastIndexOf(u)),N=k,R=0;continue}else if(b.length!==0){b="",C=0,N=k,R=0;continue}}s&&(b+=b.length>0?`${u}..`:"..",C=2)}else b.length>0?b+=`${u}${r.slice(N+1,k)}`:b=r.slice(N+1,k),C=k-N-1;N=k,R=0}else D===L&&R!==-1?++R:R=-1}return b}function y(r,s){c(s,"pathObject");const u=s.dir||s.root,p=s.base||`${s.name||""}${s.ext||""}`;return u?u===s.root?`${u}${p}`:`${u}${r}${p}`:p}n.win32={resolve(...r){let s="",u="",p=!1;for(let b=r.length-1;b>=-1;b--){let C;if(b>=0){if(C=r[b],l(C,"path"),C.length===0)continue}else s.length===0?C=M.cwd():(C=M.env[`=${s}`]||M.cwd(),(C===void 0||C.slice(0,2).toLowerCase()!==s.toLowerCase()&&C.charCodeAt(2)===o)&&(C=`${s}\\`));const N=C.length;let R=0,D="",k=!1;const U=C.charCodeAt(0);if(N===1)g(U)&&(R=1,k=!0);else if(g(U))if(k=!0,g(C.charCodeAt(1))){let I=2,B=I;for(;I2&&g(C.charCodeAt(2))&&(k=!0,R=3));if(D.length>0)if(s.length>0){if(D.toLowerCase()!==s.toLowerCase())continue}else s=D;if(p){if(s.length>0)break}else if(u=`${C.slice(R)}\\${u}`,p=k,k&&s.length>0)break}return u=E(u,!p,"\\",g),p?`${s}\\${u}`:`${s}${u}`||"."},normalize(r){l(r,"path");const s=r.length;if(s===0)return".";let u=0,p,b=!1;const C=r.charCodeAt(0);if(s===1)return S(C)?"\\":r;if(g(C))if(b=!0,g(r.charCodeAt(1))){let R=2,D=R;for(;R2&&g(r.charCodeAt(2))&&(b=!0,u=3));let N=u0&&g(r.charCodeAt(s-1))&&(N+="\\"),p===void 0?b?`\\${N}`:N:b?`${p}\\${N}`:`${p}${N}`},isAbsolute(r){l(r,"path");const s=r.length;if(s===0)return!1;const u=r.charCodeAt(0);return g(u)||s>2&&_(u)&&r.charCodeAt(1)===w&&g(r.charCodeAt(2))},join(...r){if(r.length===0)return".";let s,u;for(let C=0;C0&&(s===void 0?s=u=N:s+=`\\${N}`)}if(s===void 0)return".";let p=!0,b=0;if(typeof u=="string"&&g(u.charCodeAt(0))){++b;const C=u.length;C>1&&g(u.charCodeAt(1))&&(++b,C>2&&(g(u.charCodeAt(2))?++b:p=!1))}if(p){for(;b=2&&(s=`\\${s.slice(b)}`)}return n.win32.normalize(s)},relative(r,s){if(l(r,"from"),l(s,"to"),r===s)return"";const u=n.win32.resolve(r),p=n.win32.resolve(s);if(u===p||(r=u.toLowerCase(),s=p.toLowerCase(),r===s))return"";let b=0;for(;bb&&r.charCodeAt(C-1)===o;)C--;const N=C-b;let R=0;for(;RR&&s.charCodeAt(D-1)===o;)D--;const k=D-R,U=NU){if(s.charCodeAt(R+B)===o)return p.slice(R+B+1);if(B===2)return p.slice(R+B)}N>U&&(r.charCodeAt(b+B)===o?I=B:B===2&&(I=3)),I===-1&&(I=0)}let z="";for(B=b+I+1;B<=C;++B)(B===C||r.charCodeAt(B)===o)&&(z+=z.length===0?"..":"\\..");return R+=I,z.length>0?`${z}${p.slice(R,D)}`:(p.charCodeAt(R)===o&&++R,p.slice(R,D))},toNamespacedPath(r){if(typeof r!="string"||r.length===0)return r;const s=n.win32.resolve(r);if(s.length<=2)return r;if(s.charCodeAt(0)===o){if(s.charCodeAt(1)===o){const u=s.charCodeAt(2);if(u!==e&&u!==L)return`\\\\?\\UNC\\${s.slice(2)}`}}else if(_(s.charCodeAt(0))&&s.charCodeAt(1)===w&&s.charCodeAt(2)===o)return`\\\\?\\${s}`;return r},dirname(r){l(r,"path");const s=r.length;if(s===0)return".";let u=-1,p=0;const b=r.charCodeAt(0);if(s===1)return g(b)?r:".";if(g(b)){if(u=p=1,g(r.charCodeAt(1))){let R=2,D=R;for(;R2&&g(r.charCodeAt(2))?3:2,p=u);let C=-1,N=!0;for(let R=s-1;R>=p;--R)if(g(r.charCodeAt(R))){if(!N){C=R;break}}else N=!1;if(C===-1){if(u===-1)return".";C=u}return r.slice(0,C)},basename(r,s){s!==void 0&&l(s,"ext"),l(r,"path");let u=0,p=-1,b=!0,C;if(r.length>=2&&_(r.charCodeAt(0))&&r.charCodeAt(1)===w&&(u=2),s!==void 0&&s.length>0&&s.length<=r.length){if(s===r)return"";let N=s.length-1,R=-1;for(C=r.length-1;C>=u;--C){const D=r.charCodeAt(C);if(g(D)){if(!b){u=C+1;break}}else R===-1&&(b=!1,R=C+1),N>=0&&(D===s.charCodeAt(N)?--N===-1&&(p=C):(N=-1,p=R))}return u===p?p=R:p===-1&&(p=r.length),r.slice(u,p)}for(C=r.length-1;C>=u;--C)if(g(r.charCodeAt(C))){if(!b){u=C+1;break}}else p===-1&&(b=!1,p=C+1);return p===-1?"":r.slice(u,p)},extname(r){l(r,"path");let s=0,u=-1,p=0,b=-1,C=!0,N=0;r.length>=2&&r.charCodeAt(1)===w&&_(r.charCodeAt(0))&&(s=p=2);for(let R=r.length-1;R>=s;--R){const D=r.charCodeAt(R);if(g(D)){if(!C){p=R+1;break}continue}b===-1&&(C=!1,b=R+1),D===L?u===-1?u=R:N!==1&&(N=1):u!==-1&&(N=-1)}return u===-1||b===-1||N===0||N===1&&u===b-1&&u===p+1?"":r.slice(u,b)},format:y.bind(null,"\\"),parse(r){l(r,"path");const s={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return s;const u=r.length;let p=0,b=r.charCodeAt(0);if(u===1)return g(b)?(s.root=s.dir=r,s):(s.base=s.name=r,s);if(g(b)){if(p=1,g(r.charCodeAt(1))){let I=2,B=I;for(;I0&&(s.root=r.slice(0,p));let C=-1,N=p,R=-1,D=!0,k=r.length-1,U=0;for(;k>=p;--k){if(b=r.charCodeAt(k),g(b)){if(!D){N=k+1;break}continue}R===-1&&(D=!1,R=k+1),b===L?C===-1?C=k:U!==1&&(U=1):C!==-1&&(U=-1)}return R!==-1&&(C===-1||U===0||U===1&&C===R-1&&C===N+1?s.base=s.name=r.slice(N,R):(s.name=r.slice(N,C),s.base=r.slice(N,R),s.ext=r.slice(C,R))),N>0&&N!==p?s.dir=r.slice(0,N-1):s.dir=s.root,s},sep:"\\",delimiter:";",win32:null,posix:null};const v=(()=>{if(f){const r=/\\/g;return()=>{const s=M.cwd().replace(r,"/");return s.slice(s.indexOf("/"))}}return()=>M.cwd()})();n.posix={resolve(...r){let s="",u=!1;for(let p=r.length-1;p>=-1&&!u;p--){const b=p>=0?r[p]:v();l(b,"path"),b.length!==0&&(s=`${b}/${s}`,u=b.charCodeAt(0)===h)}return s=E(s,!u,"/",S),u?`/${s}`:s.length>0?s:"."},normalize(r){if(l(r,"path"),r.length===0)return".";const s=r.charCodeAt(0)===h,u=r.charCodeAt(r.length-1)===h;return r=E(r,!s,"/",S),r.length===0?s?"/":u?"./":".":(u&&(r+="/"),s?`/${r}`:r)},isAbsolute(r){return l(r,"path"),r.length>0&&r.charCodeAt(0)===h},join(...r){if(r.length===0)return".";let s;for(let u=0;u0&&(s===void 0?s=p:s+=`/${p}`)}return s===void 0?".":n.posix.normalize(s)},relative(r,s){if(l(r,"from"),l(s,"to"),r===s||(r=n.posix.resolve(r),s=n.posix.resolve(s),r===s))return"";const u=1,p=r.length,b=p-u,C=1,N=s.length-C,R=bR){if(s.charCodeAt(C+k)===h)return s.slice(C+k+1);if(k===0)return s.slice(C+k)}else b>R&&(r.charCodeAt(u+k)===h?D=k:k===0&&(D=0));let U="";for(k=u+D+1;k<=p;++k)(k===p||r.charCodeAt(k)===h)&&(U+=U.length===0?"..":"/..");return`${U}${s.slice(C+D)}`},toNamespacedPath(r){return r},dirname(r){if(l(r,"path"),r.length===0)return".";const s=r.charCodeAt(0)===h;let u=-1,p=!0;for(let b=r.length-1;b>=1;--b)if(r.charCodeAt(b)===h){if(!p){u=b;break}}else p=!1;return u===-1?s?"/":".":s&&u===1?"//":r.slice(0,u)},basename(r,s){s!==void 0&&l(s,"ext"),l(r,"path");let u=0,p=-1,b=!0,C;if(s!==void 0&&s.length>0&&s.length<=r.length){if(s===r)return"";let N=s.length-1,R=-1;for(C=r.length-1;C>=0;--C){const D=r.charCodeAt(C);if(D===h){if(!b){u=C+1;break}}else R===-1&&(b=!1,R=C+1),N>=0&&(D===s.charCodeAt(N)?--N===-1&&(p=C):(N=-1,p=R))}return u===p?p=R:p===-1&&(p=r.length),r.slice(u,p)}for(C=r.length-1;C>=0;--C)if(r.charCodeAt(C)===h){if(!b){u=C+1;break}}else p===-1&&(b=!1,p=C+1);return p===-1?"":r.slice(u,p)},extname(r){l(r,"path");let s=-1,u=0,p=-1,b=!0,C=0;for(let N=r.length-1;N>=0;--N){const R=r.charCodeAt(N);if(R===h){if(!b){u=N+1;break}continue}p===-1&&(b=!1,p=N+1),R===L?s===-1?s=N:C!==1&&(C=1):s!==-1&&(C=-1)}return s===-1||p===-1||C===0||C===1&&s===p-1&&s===u+1?"":r.slice(s,p)},format:y.bind(null,"/"),parse(r){l(r,"path");const s={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return s;const u=r.charCodeAt(0)===h;let p;u?(s.root="/",p=1):p=0;let b=-1,C=0,N=-1,R=!0,D=r.length-1,k=0;for(;D>=p;--D){const U=r.charCodeAt(D);if(U===h){if(!R){C=D+1;break}continue}N===-1&&(R=!1,N=D+1),U===L?b===-1?b=D:k!==1&&(k=1):b!==-1&&(k=-1)}if(N!==-1){const U=C===0&&u?1:C;b===-1||k===0||k===1&&b===N-1&&b===C+1?s.base=s.name=r.slice(U,N):(s.name=r.slice(U,b),s.base=r.slice(U,N),s.ext=r.slice(b,N))}return C>0?s.dir=r.slice(0,C-1):u&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null},n.posix.win32=n.win32.win32=n.win32,n.posix.posix=n.win32.posix=n.posix,n.normalize=f?n.win32.normalize:n.posix.normalize,n.resolve=f?n.win32.resolve:n.posix.resolve,n.relative=f?n.win32.relative:n.posix.relative,n.dirname=f?n.win32.dirname:n.posix.dirname,n.basename=f?n.win32.basename:n.posix.basename,n.extname=f?n.win32.extname:n.posix.extname,n.sep=f?n.win32.sep:n.posix.sep}),Y(X[18],J([0,1,63,17]),function(T,n,M,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uriToFsPath=n.URI=void 0;const i=/^\w[\w\d+.-]*$/,d=/^\//,m=/^\/\//;function L(u,p){if(!u.scheme&&p)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${u.authority}", path: "${u.path}", query: "${u.query}", fragment: "${u.fragment}"}`);if(u.scheme&&!i.test(u.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(u.path){if(u.authority){if(!d.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(m.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 h(u,p){return!u&&!p?"file":u}function o(u,p){switch(u){case"https":case"http":case"file":p?p[0]!==e&&(p=e+p):p=e;break}return p}const w="",e="/",a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class c{static isUri(p){return p instanceof c?!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}constructor(p,b,C,N,R,D=!1){typeof p=="object"?(this.scheme=p.scheme||w,this.authority=p.authority||w,this.path=p.path||w,this.query=p.query||w,this.fragment=p.fragment||w):(this.scheme=h(p,D),this.authority=b||w,this.path=o(this.scheme,C||w),this.query=N||w,this.fragment=R||w,L(this,D))}get fsPath(){return E(this,!1)}with(p){if(!p)return this;let{scheme:b,authority:C,path:N,query:R,fragment:D}=p;return b===void 0?b=this.scheme:b===null&&(b=w),C===void 0?C=this.authority:C===null&&(C=w),N===void 0?N=this.path:N===null&&(N=w),R===void 0?R=this.query:R===null&&(R=w),D===void 0?D=this.fragment:D===null&&(D=w),b===this.scheme&&C===this.authority&&N===this.path&&R===this.query&&D===this.fragment?this:new f(b,C,N,R,D)}static parse(p,b=!1){const C=a.exec(p);return C?new f(C[2]||w,s(C[4]||w),s(C[5]||w),s(C[7]||w),s(C[9]||w),b):new f(w,w,w,w,w)}static file(p){let b=w;if(A.isWindows&&(p=p.replace(/\\/g,e)),p[0]===e&&p[1]===e){const C=p.indexOf(e,2);C===-1?(b=p.substring(2),p=e):(b=p.substring(2,C),p=p.substring(C)||e)}return new f("file",b,p,w,w)}static from(p,b){return new f(p.scheme,p.authority,p.path,p.query,p.fragment,b)}static joinPath(p,...b){if(!p.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let C;return A.isWindows&&p.scheme==="file"?C=c.file(M.win32.join(E(p,!0),...b)).path:C=M.posix.join(p.path,...b),p.with({path:C})}toString(p=!1){return y(this,p)}toJSON(){return this}static revive(p){var b,C;if(p){if(p instanceof c)return p;{const N=new f(p);return N._formatted=(b=p.external)!==null&&b!==void 0?b:null,N._fsPath=p._sep===l&&(C=p.fsPath)!==null&&C!==void 0?C:null,N}}else return p}}n.URI=c;const l=A.isWindows?1:void 0;class f extends c{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=E(this,!1)),this._fsPath}toString(p=!1){return p?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){const p={$mid:1};return this._fsPath&&(p.fsPath=this._fsPath,p._sep=l),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 g={[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 S(u,p,b){let C,N=-1;for(let R=0;R=97&&D<=122||D>=65&&D<=90||D>=48&&D<=57||D===45||D===46||D===95||D===126||p&&D===47||b&&D===91||b&&D===93||b&&D===58)N!==-1&&(C+=encodeURIComponent(u.substring(N,R)),N=-1),C!==void 0&&(C+=u.charAt(R));else{C===void 0&&(C=u.substr(0,R));const k=g[D];k!==void 0?(N!==-1&&(C+=encodeURIComponent(u.substring(N,R)),N=-1),C+=k):N===-1&&(N=R)}}return N!==-1&&(C+=encodeURIComponent(u.substring(N))),C!==void 0?C:u}function _(u){let p;for(let b=0;b1&&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?p?b=u.path.substr(1):b=u.path[1].toLowerCase()+u.path.substr(2):b=u.path,A.isWindows&&(b=b.replace(/\//g,"\\")),b}n.uriToFsPath=E;function y(u,p){const b=p?_:S;let C="",{scheme:N,authority:R,path:D,query:k,fragment:U}=u;if(N&&(C+=N,C+=":"),(R||N==="file")&&(C+=e,C+=e),R){let I=R.indexOf("@");if(I!==-1){const B=R.substr(0,I);R=R.substr(I+1),I=B.lastIndexOf(":"),I===-1?C+=b(B,!1,!1):(C+=b(B.substr(0,I),!1,!1),C+=":",C+=b(B.substr(I+1),!1,!0)),C+="@"}R=R.toLowerCase(),I=R.lastIndexOf(":"),I===-1?C+=b(R,!1,!0):(C+=b(R.substr(0,I),!1,!0),C+=R.substr(I))}if(D){if(D.length>=3&&D.charCodeAt(0)===47&&D.charCodeAt(2)===58){const I=D.charCodeAt(1);I>=65&&I<=90&&(D=`/${String.fromCharCode(I+32)}:${D.substr(3)}`)}else if(D.length>=2&&D.charCodeAt(1)===58){const I=D.charCodeAt(0);I>=65&&I<=90&&(D=`${String.fromCharCode(I+32)}:${D.substr(2)}`)}C+=b(D,!0,!1)}return k&&(C+="?",C+=b(k,!1,!1)),U&&(C+="#",C+=p?U:S(U,!1,!1)),C}function v(u){try{return decodeURIComponent(u)}catch{return u.length>3?u.substr(0,3)+v(u.substr(3)):u}}const r=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function s(u){return u.match(r)?u.replace(r,p=>v(p)):u}}),Y(X[67],J([0,1,5,9,13,14,17,6]),function(T,n,M,A,i,d,m,L){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.create=n.SimpleWorkerServer=n.SimpleWorkerClient=n.logOnceWebWorkerWarning=void 0;const h="$initialize";let o=!1;function w(s){m.isWeb&&(o||(o=!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(s.message))}n.logOnceWebWorkerWarning=w;class e{constructor(u,p,b,C){this.vsWorker=u,this.req=p,this.method=b,this.args=C,this.type=0}}class a{constructor(u,p,b,C){this.vsWorker=u,this.seq=p,this.res=b,this.err=C,this.type=1}}class c{constructor(u,p,b,C){this.vsWorker=u,this.req=p,this.eventName=b,this.arg=C,this.type=2}}class l{constructor(u,p,b){this.vsWorker=u,this.req=p,this.event=b,this.type=3}}class f{constructor(u,p){this.vsWorker=u,this.req=p,this.type=4}}class g{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,p){const b=String(++this._lastSentReq);return new Promise((C,N)=>{this._pendingReplies[b]={resolve:C,reject:N},this._send(new e(this._workerId,b,u,p))})}listen(u,p){let b=null;const C=new A.Emitter({onWillAddFirstListener:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,C),this._send(new c(this._workerId,b,u,p))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(b),this._send(new f(this._workerId,b)),b=null}});return C.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}const p=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),p.reject(b);return}p.resolve(u.res)}_handleRequestMessage(u){const p=u.req;this._handler.handleMessage(u.method,u.args).then(C=>{this._send(new a(this._workerId,p,C,void 0))},C=>{C.detail instanceof Error&&(C.detail=(0,M.transformErrorForSerialization)(C.detail)),this._send(new a(this._workerId,p,void 0,(0,M.transformErrorForSerialization)(C)))})}_handleSubscribeEventMessage(u){const p=u.req,b=this._handler.handleEvent(u.eventName,u.arg)(C=>{this._send(new l(this._workerId,p,C))});this._pendingEvents.set(p,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){const p=[];if(u.type===0)for(let b=0;b{this._protocol.handleMessage(I)},I=>{C?.(I)})),this._protocol=new g({sendMessage:(I,B)=>{this._worker.postMessage(I,B)},handleMessage:(I,B)=>{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,B))}catch(z){return Promise.reject(z)}},handleEvent:(I,B)=>{if(E(I)){const z=b[I].call(b,B);if(typeof z!="function")throw new Error(`Missing dynamic event ${I} on main thread host.`);return z}if(_(I)){const z=b[I];if(typeof z!="function")throw new Error(`Missing event ${I} on main thread host.`);return z}throw new Error(`Malformed event name ${I}`)}}),this._protocol.setWorkerId(this._worker.getId());let N=null;const R=globalThis.require;typeof R<"u"&&typeof R.getConfig=="function"?N=R.getConfig():typeof globalThis.requirejs<"u"&&(N=globalThis.requirejs.s.contexts._.config);const D=(0,d.getAllMethodNames)(b);this._onModuleLoaded=this._protocol.sendMessage(h,[this._worker.getId(),JSON.parse(JSON.stringify(N)),p,D]);const k=(I,B)=>this._request(I,B),U=(I,B)=>this._protocol.listen(I,B);this._lazyProxy=new Promise((I,B)=>{C=B,this._onModuleLoaded.then(z=>{I(y(z,k,U))},z=>{B(z),this._onError("Worker failed to load "+p,z)})})}getProxyObject(){return this._lazyProxy}_request(u,p){return new Promise((b,C)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(u,p).then(b,C)},C)})}_onError(u,p){console.error(u),console.info(p)}}n.SimpleWorkerClient=S;function _(s){return s[0]==="o"&&s[1]==="n"&&L.isUpperAsciiLetter(s.charCodeAt(2))}function E(s){return/^onDynamic/.test(s)&&L.isUpperAsciiLetter(s.charCodeAt(9))}function y(s,u,p){const b=R=>function(){const D=Array.prototype.slice.call(arguments,0);return u(R,D)},C=R=>function(D){return p(R,D)},N={};for(const R of s){if(E(R)){N[R]=C(R);continue}if(_(R)){N[R]=p(R,void 0);continue}N[R]=b(R)}return N}class v{constructor(u,p){this._requestHandlerFactory=p,this._requestHandler=null,this._protocol=new g({sendMessage:(b,C)=>{u(b,C)},handleMessage:(b,C)=>this._handleMessage(b,C),handleEvent:(b,C)=>this._handleEvent(b,C)})}onmessage(u){this._protocol.handleMessage(u)}_handleMessage(u,p){if(u===h)return this.initialize(p[0],p[1],p[2],p[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,p))}catch(b){return Promise.reject(b)}}_handleEvent(u,p){if(!this._requestHandler)throw new Error("Missing requestHandler");if(E(u)){const b=this._requestHandler[u].call(this._requestHandler,p);if(typeof b!="function")throw new Error(`Missing dynamic event ${u} on request handler.`);return b}if(_(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,p,b,C){this._protocol.setWorkerId(u);const D=y(C,(k,U)=>this._protocol.sendMessage(k,U),(k,U)=>this._protocol.listen(k,U));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(D),Promise.resolve((0,d.getAllMethodNames)(this._requestHandler))):(p&&(typeof p.baseUrl<"u"&&delete p.baseUrl,typeof p.paths<"u"&&typeof p.paths.vs<"u"&&delete p.paths.vs,typeof p.trustedTypesPolicy!==void 0&&delete p.trustedTypesPolicy,p.catchError=!0,globalThis.require.config(p)),new Promise((k,U)=>{(globalThis.require||T)([b],B=>{if(this._requestHandler=B.create(D),!this._requestHandler){U(new Error("No RequestHandler!"));return}k((0,d.getAllMethodNames)(this._requestHandler))},U)}))}}n.SimpleWorkerServer=v;function r(s){return new v(s,null)}n.create=r}),Y(X[64],J([19,61]),function(T,n){return T.create("vs/editor/common/languages",n)}),Y(X[65],J([0,1,40,18,2,59,64]),function(T,n,M,A,i,d,m){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TokenizationRegistry=n.LazyTokenizationSupport=n.InlayHintKind=n.Command=n.FoldingRangeKind=n.TextEdit=n.SymbolKinds=n.getAriaLabelForSymbol=n.symbolKindNames=n.isLocationLink=n.DocumentHighlightKind=n.SignatureHelpTriggerKind=n.SelectedSuggestionInfo=n.InlineCompletionTriggerKind=n.CompletionItemKinds=n.EncodedTokenizationResult=n.TokenizationResult=n.Token=void 0;class L{constructor(u,p,b){this.offset=u,this.type=p,this.language=b,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}n.Token=L;class h{constructor(u,p){this.tokens=u,this.endState=p,this._tokenizationResultBrand=void 0}}n.TokenizationResult=h;class o{constructor(u,p){this.tokens=u,this.endState=p,this._encodedTokenizationResultBrand=void 0}}n.EncodedTokenizationResult=o;var w;(function(s){const u=new Map;u.set(0,M.Codicon.symbolMethod),u.set(1,M.Codicon.symbolFunction),u.set(2,M.Codicon.symbolConstructor),u.set(3,M.Codicon.symbolField),u.set(4,M.Codicon.symbolVariable),u.set(5,M.Codicon.symbolClass),u.set(6,M.Codicon.symbolStruct),u.set(7,M.Codicon.symbolInterface),u.set(8,M.Codicon.symbolModule),u.set(9,M.Codicon.symbolProperty),u.set(10,M.Codicon.symbolEvent),u.set(11,M.Codicon.symbolOperator),u.set(12,M.Codicon.symbolUnit),u.set(13,M.Codicon.symbolValue),u.set(15,M.Codicon.symbolEnum),u.set(14,M.Codicon.symbolConstant),u.set(15,M.Codicon.symbolEnum),u.set(16,M.Codicon.symbolEnumMember),u.set(17,M.Codicon.symbolKeyword),u.set(27,M.Codicon.symbolSnippet),u.set(18,M.Codicon.symbolText),u.set(19,M.Codicon.symbolColor),u.set(20,M.Codicon.symbolFile),u.set(21,M.Codicon.symbolReference),u.set(22,M.Codicon.symbolCustomColor),u.set(23,M.Codicon.symbolFolder),u.set(24,M.Codicon.symbolTypeParameter),u.set(25,M.Codicon.account),u.set(26,M.Codicon.issues);function p(N){let R=u.get(N);return R||(console.info("No codicon found for CompletionItemKind "+N),R=M.Codicon.symbolProperty),R}s.toIcon=p;const b=new Map;b.set("method",0),b.set("function",1),b.set("constructor",2),b.set("field",3),b.set("variable",4),b.set("class",5),b.set("struct",6),b.set("interface",7),b.set("module",8),b.set("property",9),b.set("event",10),b.set("operator",11),b.set("unit",12),b.set("value",13),b.set("constant",14),b.set("enum",15),b.set("enum-member",16),b.set("enumMember",16),b.set("keyword",17),b.set("snippet",27),b.set("text",18),b.set("color",19),b.set("file",20),b.set("reference",21),b.set("customcolor",22),b.set("folder",23),b.set("type-parameter",24),b.set("typeParameter",24),b.set("account",25),b.set("issue",26);function C(N,R){let D=b.get(N);return typeof D>"u"&&!R&&(D=9),D}s.fromString=C})(w||(n.CompletionItemKinds=w={}));var e;(function(s){s[s.Automatic=0]="Automatic",s[s.Explicit=1]="Explicit"})(e||(n.InlineCompletionTriggerKind=e={}));class a{constructor(u,p,b,C){this.range=u,this.text=p,this.completionKind=b,this.isSnippetText=C}equals(u){return i.Range.lift(this.range).equalsRange(u.range)&&this.text===u.text&&this.completionKind===u.completionKind&&this.isSnippetText===u.isSnippetText}}n.SelectedSuggestionInfo=a;var c;(function(s){s[s.Invoke=1]="Invoke",s[s.TriggerCharacter=2]="TriggerCharacter",s[s.ContentChange=3]="ContentChange"})(c||(n.SignatureHelpTriggerKind=c={}));var l;(function(s){s[s.Text=0]="Text",s[s.Read=1]="Read",s[s.Write=2]="Write"})(l||(n.DocumentHighlightKind=l={}));function f(s){return s&&A.URI.isUri(s.uri)&&i.Range.isIRange(s.range)&&(i.Range.isIRange(s.originSelectionRange)||i.Range.isIRange(s.targetSelectionRange))}n.isLocationLink=f,n.symbolKindNames={[17]:(0,m.localize)(0,null),[16]:(0,m.localize)(1,null),[4]:(0,m.localize)(2,null),[13]:(0,m.localize)(3,null),[8]:(0,m.localize)(4,null),[9]:(0,m.localize)(5,null),[21]:(0,m.localize)(6,null),[23]:(0,m.localize)(7,null),[7]:(0,m.localize)(8,null),[0]:(0,m.localize)(9,null),[11]:(0,m.localize)(10,null),[10]:(0,m.localize)(11,null),[19]:(0,m.localize)(12,null),[5]:(0,m.localize)(13,null),[1]:(0,m.localize)(14,null),[2]:(0,m.localize)(15,null),[20]:(0,m.localize)(16,null),[15]:(0,m.localize)(17,null),[18]:(0,m.localize)(18,null),[24]:(0,m.localize)(19,null),[3]:(0,m.localize)(20,null),[6]:(0,m.localize)(21,null),[14]:(0,m.localize)(22,null),[22]:(0,m.localize)(23,null),[25]:(0,m.localize)(24,null),[12]:(0,m.localize)(25,null)};function g(s,u){return(0,m.localize)(26,null,s,n.symbolKindNames[u])}n.getAriaLabelForSymbol=g;var S;(function(s){const u=new Map;u.set(0,M.Codicon.symbolFile),u.set(1,M.Codicon.symbolModule),u.set(2,M.Codicon.symbolNamespace),u.set(3,M.Codicon.symbolPackage),u.set(4,M.Codicon.symbolClass),u.set(5,M.Codicon.symbolMethod),u.set(6,M.Codicon.symbolProperty),u.set(7,M.Codicon.symbolField),u.set(8,M.Codicon.symbolConstructor),u.set(9,M.Codicon.symbolEnum),u.set(10,M.Codicon.symbolInterface),u.set(11,M.Codicon.symbolFunction),u.set(12,M.Codicon.symbolVariable),u.set(13,M.Codicon.symbolConstant),u.set(14,M.Codicon.symbolString),u.set(15,M.Codicon.symbolNumber),u.set(16,M.Codicon.symbolBoolean),u.set(17,M.Codicon.symbolArray),u.set(18,M.Codicon.symbolObject),u.set(19,M.Codicon.symbolKey),u.set(20,M.Codicon.symbolNull),u.set(21,M.Codicon.symbolEnumMember),u.set(22,M.Codicon.symbolStruct),u.set(23,M.Codicon.symbolEvent),u.set(24,M.Codicon.symbolOperator),u.set(25,M.Codicon.symbolTypeParameter);function p(b){let C=u.get(b);return C||(console.info("No codicon found for SymbolKind "+b),C=M.Codicon.symbolProperty),C}s.toIcon=p})(S||(n.SymbolKinds=S={}));class _{}n.TextEdit=_;class E{static fromValue(u){switch(u){case"comment":return E.Comment;case"imports":return E.Imports;case"region":return E.Region}return new E(u)}constructor(u){this.value=u}}n.FoldingRangeKind=E,E.Comment=new E("comment"),E.Imports=new E("imports"),E.Region=new E("region");var y;(function(s){function u(p){return!p||typeof p!="object"?!1:typeof p.id=="string"&&typeof p.title=="string"}s.is=u})(y||(n.Command=y={}));var v;(function(s){s[s.Type=1]="Type",s[s.Parameter=2]="Parameter"})(v||(n.InlayHintKind=v={}));class r{constructor(u){this.createSupport=u,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(u=>{u&&u.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}n.LazyTokenizationSupport=r,n.TokenizationRegistry=new d.TokenizationRegistry}),Y(X[66],J([0,1,38,9,35,18,4,2,41,65,58]),function(T,n,M,A,i,d,m,L,h,o,w){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createMonacoBaseAPI=n.KeyMod=void 0;class e{static chord(l,f){return(0,i.KeyChord)(l,f)}}n.KeyMod=e,e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256;function a(){return{editor:void 0,languages:void 0,CancellationTokenSource:M.CancellationTokenSource,Emitter:A.Emitter,KeyCode:w.KeyCode,KeyMod:e,Position:m.Position,Range:L.Range,Selection:h.Selection,SelectionDirection:w.SelectionDirection,MarkerSeverity:w.MarkerSeverity,MarkerTag:w.MarkerTag,Uri:d.URI,Token:o.Token}}n.createMonacoBaseAPI=a}),Y(X[68],J([0,1,24,18,4,2,55,28,51,52,66,23,57,49,14,50]),function(T,n,M,A,i,d,m,L,h,o,w,e,a,c,l,f){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.create=n.EditorSimpleWorker=void 0;class g extends m.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(y){const v=[];for(let r=0;rthis._lines.length)v=this._lines.length,r=this._lines[v-1].length+1,s=!0;else{const u=this._lines[v-1].length+1;r<1?(r=1,s=!0):r>u&&(r=u,s=!0)}return s?{lineNumber:v,column:r}:y}}class S{constructor(y,v){this._host=y,this._models=Object.create(null),this._foreignModuleFactory=v,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(y){return this._models[y]}_getModels(){const y=[];return Object.keys(this._models).forEach(v=>y.push(this._models[v])),y}acceptNewModel(y){this._models[y.url]=new g(A.URI.parse(y.url),y.lines,y.EOL,y.versionId)}acceptModelChanged(y,v){if(!this._models[y])return;this._models[y].onEvents(v)}acceptRemovedModel(y){this._models[y]&&delete this._models[y]}computeUnicodeHighlights(y,v,r){return ue(this,void 0,void 0,function*(){const s=this._getModel(y);return s?a.UnicodeTextModelHighlighter.computeUnicodeHighlights(s,v,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(y,v,r,s){return ue(this,void 0,void 0,function*(){const u=this._getModel(y),p=this._getModel(v);return!u||!p?null:S.computeDiff(u,p,r,s)})}static computeDiff(y,v,r,s){const u=s==="advanced"?c.linesDiffComputers.getDefault():c.linesDiffComputers.getLegacy(),p=y.getLinesContent(),b=v.getLinesContent(),C=u.computeDiff(p,b,r),N=C.changes.length>0?!1:this._modelsAreIdentical(y,v);function R(D){return D.map(k=>{var U;return[k.original.startLineNumber,k.original.endLineNumberExclusive,k.modified.startLineNumber,k.modified.endLineNumberExclusive,(U=k.innerChanges)===null||U===void 0?void 0:U.map(I=>[I.originalRange.startLineNumber,I.originalRange.startColumn,I.originalRange.endLineNumber,I.originalRange.endColumn,I.modifiedRange.startLineNumber,I.modifiedRange.startColumn,I.modifiedRange.endLineNumber,I.modifiedRange.endColumn])]})}return{identical:N,quitEarly:C.hitTimeout,changes:R(C.changes),moves:C.moves.map(D=>[D.lineRangeMapping.original.startLineNumber,D.lineRangeMapping.original.endLineNumberExclusive,D.lineRangeMapping.modified.startLineNumber,D.lineRangeMapping.modified.endLineNumberExclusive,R(D.changes)])}}static _modelsAreIdentical(y,v){const r=y.getLineCount(),s=v.getLineCount();if(r!==s)return!1;for(let u=1;u<=r;u++){const p=y.getLineContent(u),b=v.getLineContent(u);if(p!==b)return!1}return!0}computeMoreMinimalEdits(y,v,r){return ue(this,void 0,void 0,function*(){const s=this._getModel(y);if(!s)return v;const u=[];let p;v=v.slice(0).sort((C,N)=>{if(C.range&&N.range)return d.Range.compareRangesUsingStarts(C.range,N.range);const R=C.range?0:1,D=N.range?0:1;return R-D});let b=0;for(let C=1;CS._diffLimit){u.push({range:C,text:N});continue}const k=(0,M.stringDiff)(D,N,r),U=s.offsetAt(d.Range.lift(C).getStartPosition());for(const I of k){const B=s.positionAt(U+I.originalStart),z=s.positionAt(U+I.originalStart+I.originalLength),x={text:N.substr(I.modifiedStart,I.modifiedLength),range:{startLineNumber:B.lineNumber,startColumn:B.column,endLineNumber:z.lineNumber,endColumn:z.column}};s.getValueInRange(x.range)!==x.text&&u.push(x)}}return typeof p=="number"&&u.push({eol:p,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),u})}computeLinks(y){return ue(this,void 0,void 0,function*(){const v=this._getModel(y);return v?(0,h.computeLinks)(v):null})}computeDefaultDocumentColors(y){return ue(this,void 0,void 0,function*(){const v=this._getModel(y);return v?(0,f.computeDefaultDocumentColors)(v):null})}textualSuggest(y,v,r,s){return ue(this,void 0,void 0,function*(){const u=new e.StopWatch,p=new RegExp(r,s),b=new Set;e:for(const C of y){const N=this._getModel(C);if(N){for(const R of N.words(p))if(!(R===v||!isNaN(Number(R)))&&(b.add(R),b.size>S._suggestionsLimit))break e}}return{words:Array.from(b),duration:u.elapsed()}})}computeWordRanges(y,v,r,s){return ue(this,void 0,void 0,function*(){const u=this._getModel(y);if(!u)return Object.create(null);const p=new RegExp(r,s),b=Object.create(null);for(let C=v.startLineNumber;Cthis._host.fhr(b,C),p={host:(0,l.createProxyObject)(r,s),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(p,v),Promise.resolve((0,l.getAllMethodNames)(this._foreignModule))):new Promise((b,C)=>{T([y],N=>{this._foreignModule=N.create(p,v),b((0,l.getAllMethodNames)(this._foreignModule))},C)})}fmr(y,v){if(!this._foreignModule||typeof this._foreignModule[y]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+y));try{return Promise.resolve(this._foreignModule[y].apply(this._foreignModule,v))}catch(r){return Promise.reject(r)}}}n.EditorSimpleWorker=S,S._diffLimit=1e5,S._suggestionsLimit=1e4;function _(E){return new S(E,null)}n.create=_,typeof importScripts=="function"&&(globalThis.monaco=(0,w.createMonacoBaseAPI)())})}).call(this); + +//# sourceMappingURL=../../../../min-maps/vs/base/worker/workerMain.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/abap/abap.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/abap/abap.js new file mode 100644 index 0000000..eb4a1f1 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/abap/abap.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/abap/abap", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var i in e)s(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!c.call(t,n)&&n!==i&&s(t,n,{get:()=>e[n],enumerable:!(a=o(e,n))||a.enumerable});return t};var p=t=>d(s({},"__esModule",{value:!0}),t);var g={};l(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},u={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}};return p(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/apex/apex.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/apex/apex.js new file mode 100644 index 0000000..221e470 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/apex/apex.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/apex/apex", ["require","require"],(require)=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(e,t)=>{for(var s in t)i(e,s,{get:t[s],enumerable:!0})},g=(e,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of c(t))!l.call(e,o)&&o!==s&&i(e,o,{get:()=>t[o],enumerable:!(a=r(t,o))||a.enumerable});return e};var p=e=>g(i({},"__esModule",{value:!0}),e);var h={};d(h,{conf:()=>m,language:()=>b});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},u=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],f=e=>e.charAt(0).toUpperCase()+e.substr(1),n=[];u.forEach(e=>{n.push(e),n.push(e.toUpperCase()),n.push(f(e))});var b={defaultToken:"",tokenPostfix:".apex",keywords:n,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(h);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/azcli/azcli.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/azcli/azcli.js new file mode 100644 index 0000000..401a9f3 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/azcli/azcli.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/azcli/azcli", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},k=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!l.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return t};var p=t=>k(s({},"__esModule",{value:!0}),t);var d={};c(d,{conf:()=>f,language:()=>g});var f={comments:{lineComment:"#"}},g={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};return p(d);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/bat/bat.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/bat/bat.js new file mode 100644 index 0000000..f8e14b4 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/bat/bat.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/bat/bat", ["require","require"],(require)=>{ +var moduleExports=(()=>{var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var t in e)n(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of l(e))!i.call(o,s)&&s!==t&&n(o,s,{get:()=>e[s],enumerable:!(a=r(e,s))||a.enumerable});return o};var p=o=>c(n({},"__esModule",{value:!0}),o);var k={};g(k,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var g=(e,n)=>{for(var o in n)r(e,o,{get:n[o],enumerable:!0})},l=(e,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of c(n))!a.call(e,t)&&t!==o&&r(e,t,{get:()=>n[t],enumerable:!(i=s(n,t))||i.enumerable});return e};var m=e=>l(r({},"__esModule",{value:!0}),e);var y={};g(y,{conf:()=>$,language:()=>w});var p=e=>`\\b${e}\\b`,k="[_a-zA-Z]",x="[_a-zA-Z0-9]",u=p(`${k}${x}*`),d=["targetScope","resource","module","param","var","output","for","in","if","existing"],b=["true","false","null"],f="[ \\t\\r\\n]",C="[0-9]+",$={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])' + `,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},w={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},m=(o,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(o,t)&&t!==n&&s(o,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},g={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/clojure/clojure.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/clojure/clojure.js new file mode 100644 index 0000000..102463a --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/clojure/clojure.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/clojure/clojure", ["require","require"],(require)=>{ +var moduleExports=(()=>{var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},l=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!c.call(t,n)&&n!==r&&a(t,n,{get:()=>e[n],enumerable:!(s=o(e,n))||s.enumerable});return t};var p=t=>l(a({},"__esModule",{value:!0}),t);var h={};d(h,{conf:()=>u,language:()=>m});var u={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}};return p(h);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/coffee/coffee.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/coffee/coffee.js new file mode 100644 index 0000000..a9f1015 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/coffee/coffee.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/coffee/coffee", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},p=(n,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!a.call(n,r)&&r!==t&&s(n,r,{get:()=>e[r],enumerable:!(o=i(e,r))||o.enumerable});return n};var c=n=>p(s({},"__esModule",{value:!0}),n);var m={};l(m,{conf:()=>d,language:()=>x});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},x={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var i in e)r(n,i,{get:e[i],enumerable:!0})},l=(n,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!_.call(n,t)&&t!==i&&r(n,t,{get:()=>e[t],enumerable:!(o=a(e,t))||o.enumerable});return n};var d=n=>l(r({},"__esModule",{value:!0}),n);var g={};c(g,{conf:()=>p,language:()=>m});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},m={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}};return d(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/csharp/csharp.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/csharp/csharp.js new file mode 100644 index 0000000..721511e --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/csharp/csharp.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/csharp/csharp", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return t};var g=t=>p(s({},"__esModule",{value:!0}),t);var u={};l(u,{conf:()=>d,language:()=>m});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return g(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/csp/csp.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/csp/csp.js new file mode 100644 index 0000000..9462439 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/csp/csp.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/csp/csp", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var a=(r,t)=>{for(var s in t)o(r,s,{get:t[s],enumerable:!0})},c=(r,t,s,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of u(t))!g.call(r,e)&&e!==s&&o(r,e,{get:()=>t[e],enumerable:!(n=i(t,e))||n.enumerable});return r};var q=r=>c(o({},"__esModule",{value:!0}),r);var p={};a(p,{conf:()=>f,language:()=>l});var f={brackets:[],autoClosingPairs:[],surroundingPairs:[]},l={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},c=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(t,n)&&n!==o&&r(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t};var d=t=>c(r({},"__esModule",{value:!0}),t);var k={};m(k,{conf:()=>u,language:()=>p});var u={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},p={defaultToken:"",tokenPostfix:".css",ws:`[ +\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r +]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};return d(k);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/cypher/cypher.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/cypher/cypher.js new file mode 100644 index 0000000..0f8d0ab --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/cypher/cypher.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/cypher/cypher", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(i,e)=>{for(var n in e)s(i,n,{get:e[n],enumerable:!0})},g=(i,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(i,t)&&t!==n&&s(i,t,{get:()=>e[t],enumerable:!(o=r(e,t))||o.enumerable});return i};var p=i=>g(s({},"__esModule",{value:!0}),i);var u={};c(u,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},m={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/dart/dart.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/dart/dart.js new file mode 100644 index 0000000..8d8da4b --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/dart/dart.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/dart/dart", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var p=(n,e)=>{for(var t in e)r(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of c(e))!a.call(n,o)&&o!==t&&r(n,o,{get:()=>e[o],enumerable:!(s=i(e,o))||s.enumerable});return n};var l=n=>g(r({},"__esModule",{value:!0}),n);var x={};p(x,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},m={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}};return l(x);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/dockerfile/dockerfile.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/dockerfile/dockerfile.js new file mode 100644 index 0000000..5531363 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/dockerfile/dockerfile.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/dockerfile/dockerfile", ["require","require"],(require)=>{ +var moduleExports=(()=>{var a=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var p=(o,e)=>{for(var s in e)a(o,s,{get:e[s],enumerable:!0})},g=(o,e,s,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!i.call(o,n)&&n!==s&&a(o,n,{get:()=>e[n],enumerable:!(t=l(e,n))||t.enumerable});return o};var c=o=>g(a({},"__esModule",{value:!0}),o);var k={};p(k,{conf:()=>u,language:()=>d});var u={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},d={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}};return c(k);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/ecl/ecl.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/ecl/ecl.js new file mode 100644 index 0000000..38ee39d --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/ecl/ecl.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/ecl/ecl", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},d=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(o,n)&&n!==t&&r(o,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return o};var p=o=>d(r({},"__esModule",{value:!0}),o);var g={};c(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},u={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}};return p(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/elixir/elixir.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/elixir/elixir.js new file mode 100644 index 0000000..7cc3f87 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/elixir/elixir.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/elixir/elixir", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var i in e)o(t,i,{get:e[i],enumerable:!0})},c=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!a.call(t,n)&&n!==i&&o(t,n,{get:()=>e[n],enumerable:!(r=l(e,n))||r.enumerable});return t};var m=t=>c(o({},"__esModule",{value:!0}),t);var p={};d(p,{conf:()=>u,language:()=>g});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},g={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~([A-Z]+)@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-z]|[A-Z]+)\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-z]|[A-Z]+)\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-z]|[A-Z]+)\"}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}};return m(p);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/flow9/flow9.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/flow9/flow9.js new file mode 100644 index 0000000..05018b2 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/flow9/flow9.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/flow9/flow9", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>g,language:()=>f});var g={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},f={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/freemarker2/freemarker2.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/freemarker2/freemarker2.js new file mode 100644 index 0000000..9ca3f08 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/freemarker2/freemarker2.js @@ -0,0 +1,12 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/freemarker2/freemarker2", ["require","require"],(require)=>{ +var moduleExports=(()=>{var B=Object.create;var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var w=(t=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(t,{get:(n,i)=>(typeof require!="undefined"?require:n)[i]}):t)(function(t){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var h=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),S=(t,n)=>{for(var i in n)d(t,i,{get:n[i],enumerable:!0})},s=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of D(n))!v.call(t,o)&&o!==i&&d(t,o,{get:()=>n[o],enumerable:!(e=C(n,o))||e.enumerable});return t},m=(t,n,i)=>(s(t,n,"default"),i&&s(i,n,"default")),x=(t,n,i)=>(i=t!=null?B(T(t)):{},s(n||!t||!t.__esModule?d(i,"default",{value:t,enumerable:!0}):i,t)),I=t=>s(d({},"__esModule",{value:!0}),t);var F=h((q,f)=>{var y=x(w("vs/editor/editor.api"));f.exports=y});var M={};S(M,{TagAngleInterpolationBracket:()=>L,TagAngleInterpolationDollar:()=>R,TagAutoInterpolationBracket:()=>j,TagAutoInterpolationDollar:()=>Z,TagBracketInterpolationBracket:()=>O,TagBracketInterpolationDollar:()=>z});var _={};m(_,x(F()));var l=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],k=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],r={close:">",id:"angle",open:"<"},u={close:"\\]",id:"bracket",open:"\\["},P={close:"[>\\]]",id:"auto",open:"[<\\[]"},g={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},A={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function p(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:` +\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${k.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:_.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:_.languages.IndentAction.Indent}}]}}function b(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:` +\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${k.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:_.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:_.languages.IndentAction.Indent}}]}}function a(t,n){let i=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,i),o=c=>{let E=c.source.replace(/__id__/g,i);return new RegExp(E,c.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\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-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\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]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function $(t){let n=a(r,t),i=a(u,t),e=a(P,t);return{...n,...i,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,...i.tokenizer,...e.tokenizer}}}var R={conf:p(r),language:a(r,g)},z={conf:p(u),language:a(u,g)},L={conf:p(r),language:a(r,A)},O={conf:p(u),language:a(u,A)},Z={conf:b(),language:$(g)},j={conf:b(),language:$(A)};return I(M);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/fsharp/fsharp.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/fsharp/fsharp.js new file mode 100644 index 0000000..d343b56 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/fsharp/fsharp.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/fsharp/fsharp", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var o in e)s(n,o,{get:e[o],enumerable:!0})},g=(n,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(n,t)&&t!==o&&s(n,t,{get:()=>e[t],enumerable:!(i=r(e,t))||i.enumerable});return n};var f=n=>g(s({},"__esModule",{value:!0}),n);var d={};c(d,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},u={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}};return f(d);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/go/go.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/go/go.js new file mode 100644 index 0000000..9b72a2f --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/go/go.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/go/go", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},l=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of a(e))!c.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=i(e,o))||r.enumerable});return n};var g=n=>l(s({},"__esModule",{value:!0}),n);var d={};m(d,{conf:()=>p,language:()=>u});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},u={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}};return g(d);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/graphql/graphql.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/graphql/graphql.js new file mode 100644 index 0000000..0bcba1b --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/graphql/graphql.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/graphql/graphql", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},d=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of i(e))!l.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=a(e,o))||r.enumerable});return n};var p=n=>d(s({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>g,language:()=>I});var g={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},I={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/handlebars/handlebars.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/handlebars/handlebars.js new file mode 100644 index 0000000..377ea0a --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/handlebars/handlebars.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/handlebars/handlebars", ["require","require"],(require)=>{ +var moduleExports=(()=>{var h=Object.create;var i=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var y=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var T=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!k.call(e,r)&&r!==n&&i(e,r,{get:()=>t[r],enumerable:!(o=b(t,r))||o.enumerable});return e},l=(e,t,n)=>(m(e,t,"default"),n&&m(n,t,"default")),s=(e,t,n)=>(n=e!=null?h(x(e)):{},m(t||!e||!e.__esModule?i(n,"default",{value:e,enumerable:!0}):n,e)),E=e=>m(i({},"__esModule",{value:!0}),e);var c=T((I,d)=>{var w=s(y("vs/editor/editor.api"));d.exports=w});var f={};S(f,{conf:()=>g,language:()=>$});var a={};l(a,s(c()));var p=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.languages.IndentAction.Indent}}]},$={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};return E(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/hcl/hcl.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/hcl/hcl.js new file mode 100644 index 0000000..db9caeb --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/hcl/hcl.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/hcl/hcl", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!c.call(t,s)&&s!==o&&r(t,s,{get:()=>e[s],enumerable:!(n=a(e,s))||n.enumerable});return t};var m=t=>d(r({},"__esModule",{value:!0}),t);var f={};l(f,{conf:()=>p,language:()=>g});var p={comments:{lineComment:"#",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}};return m(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/html/html.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/html/html.js new file mode 100644 index 0000000..695e62f --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/html/html.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/html/html", ["require","require"],(require)=>{ +var moduleExports=(()=>{var u=Object.create;var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var k=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},o=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!g.call(e,r)&&r!==n&&a(e,r,{get:()=>t[r],enumerable:!(s=b(t,r))||s.enumerable});return e},d=(e,t,n)=>(o(e,t,"default"),n&&o(n,t,"default")),m=(e,t,n)=>(n=e!=null?u(y(e)):{},o(t||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),w=e=>o(a({},"__esModule",{value:!0}),e);var l=E((A,p)=>{var h=m(k("vs/editor/editor.api"));p.exports=h});var $={};T($,{conf:()=>v,language:()=>f});var i={};d(i,m(l()));var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],v={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${c.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},f={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};return w($);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/ini/ini.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/ini/ini.js new file mode 100644 index 0000000..97bbcc1 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/ini/ini.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/ini/ini", ["require","require"],(require)=>{ +var moduleExports=(()=>{var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var s in e)t(n,s,{get:e[s],enumerable:!0})},l=(n,e,s,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of r(e))!g.call(n,o)&&o!==s&&t(n,o,{get:()=>e[o],enumerable:!(a=i(e,o))||a.enumerable});return n};var p=n=>l(t({},"__esModule",{value:!0}),n);var f={};c(f,{conf:()=>u,language:()=>m});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/java/java.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/java/java.js new file mode 100644 index 0000000..79d85eb --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/java/java.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/java/java", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t};var g=t=>d(s({},"__esModule",{value:!0}),t);var f={};l(f,{conf:()=>m,language:()=>p});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},p={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};return g(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/javascript/javascript.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/javascript/javascript.js new file mode 100644 index 0000000..ea5d9e2 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/javascript/javascript.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/javascript/javascript", ["require","require"],(require)=>{ +var moduleExports=(()=>{var x=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var y=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},s=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of f(t))!k.call(e,r)&&r!==n&&a(e,r,{get:()=>t[r],enumerable:!(c=u(t,r))||c.enumerable});return e},g=(e,t,n)=>(s(e,t,"default"),n&&s(n,t,"default")),p=(e,t,n)=>(n=e!=null?x(b(e)):{},s(t||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),v=e=>s(a({},"__esModule",{value:!0}),e);var d=w((C,l)=>{var A=p(y("vs/editor/editor.api"));l.exports=A});var _={};h(_,{conf:()=>$,language:()=>T});var i={};g(i,p(d()));var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:i.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:i.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:i.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:i.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};var $=m,T={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.operators,symbols:o.symbols,escapes:o.escapes,digits:o.digits,octaldigits:o.octaldigits,binarydigits:o.binarydigits,hexdigits:o.hexdigits,regexpctl:o.regexpctl,regexpesc:o.regexpesc,tokenizer:o.tokenizer};return v(_);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/julia/julia.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/julia/julia.js new file mode 100644 index 0000000..1551ab9 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/julia/julia.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/julia/julia", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},l=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of s(e))!p.call(t,r)&&r!==n&&o(t,r,{get:()=>e[r],enumerable:!(a=i(e,r))||a.enumerable});return t};var d=t=>l(o({},"__esModule",{value:!0}),t);var u={};c(u,{conf:()=>g,language:()=>m});var g={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","\u03C0","\u212F","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xF7","\u2208","\u2209","\u220B","\u220C","\u2218","\u221A","\u221B","\u2229","\u222A","\u2248","\u2249","\u2260","\u2261","\u2262","\u2264","\u2265","\u2286","\u2287","\u2288","\u2289","\u228A","\u228B","\u22BB"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}};return d(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/kotlin/kotlin.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/kotlin/kotlin.js new file mode 100644 index 0000000..8e85cf8 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/kotlin/kotlin.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/kotlin/kotlin", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(n,e)=>{for(var i in e)o(n,i,{get:e[i],enumerable:!0})},d=(n,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of r(e))!c.call(n,t)&&t!==i&&o(n,t,{get:()=>e[t],enumerable:!(s=a(e,t))||s.enumerable});return n};var g=n=>d(o({},"__esModule",{value:!0}),n);var f={};l(f,{conf:()=>m,language:()=>p});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},p={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};return g(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/less/less.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/less/less.js new file mode 100644 index 0000000..4e69a16 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/less/less.js @@ -0,0 +1,11 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/less/less", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var i in e)r(t,i,{get:e[i],enumerable:!0})},u=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(t,n)&&n!==i&&r(t,n,{get:()=>e[n],enumerable:!(o=s(e,n))||o.enumerable});return t};var c=t=>u(r({},"__esModule",{value:!0}),t);var p={};d(p,{conf:()=>m,language:()=>g});var m={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},g={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},[`[^)\r +]+`,"string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}};return c(p);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/lexon/lexon.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/lexon/lexon.js new file mode 100644 index 0000000..18909f6 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/lexon/lexon.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/lexon/lexon", ["require","require"],(require)=>{ +var moduleExports=(()=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var i in e)n(t,i,{get:e[i],enumerable:!0})},p=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!a.call(t,o)&&o!==i&&n(t,o,{get:()=>e[o],enumerable:!(r=s(e,o))||r.enumerable});return t};var c=t=>p(n({},"__esModule",{value:!0}),t);var k={};l(k,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},u={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}};return c(k);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/liquid/liquid.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/liquid/liquid.js new file mode 100644 index 0000000..39bb9ef --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/liquid/liquid.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/liquid/liquid", ["require","require"],(require)=>{ +var moduleExports=(()=>{var p=Object.create;var a=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var f=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,i)=>(typeof require!="undefined"?require:t)[i]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var i in t)a(e,i,{get:t[i],enumerable:!0})},r=(e,t,i,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w(t))!q.call(e,o)&&o!==i&&a(e,o,{get:()=>t[o],enumerable:!(l=g(t,o))||l.enumerable});return e},d=(e,t,i)=>(r(e,t,"default"),i&&r(i,t,"default")),s=(e,t,i)=>(i=e!=null?p(h(e)):{},r(t||!e||!e.__esModule?a(i,"default",{value:e,enumerable:!0}):i,e)),k=e=>r(a({},"__esModule",{value:!0}),e);var c=b((y,u)=>{var _=s(f("vs/editor/editor.api"));u.exports=_});var $={};T($,{conf:()=>x,language:()=>S});var n={};d(n,s(c()));var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[[""],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},S={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};return k($);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/lua/lua.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/lua/lua.js new file mode 100644 index 0000000..4da773c --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/lua/lua.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/lua/lua", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},g={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var R=(o,e)=>{for(var s in e)r(o,s,{get:e[s],enumerable:!0})},c=(o,e,s,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!i.call(o,t)&&t!==s&&r(o,t,{get:()=>e[t],enumerable:!(n=E(e,t))||n.enumerable});return o};var m=o=>c(r({},"__esModule",{value:!0}),o);var N={};R(N,{conf:()=>A,language:()=>p});var A={comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},p={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}};return m(N);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/markdown/markdown.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/markdown/markdown.js new file mode 100644 index 0000000..e5f0236 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/markdown/markdown.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/markdown/markdown", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},m=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!i.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(a=r(e,n))||a.enumerable});return t};var d=t=>m(s({},"__esModule",{value:!0}),t);var b={};l(b,{conf:()=>p,language:()=>g});var p={comments:{blockComment:[""]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},g={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[//,"comment","@pop"],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};return l(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/pla/pla.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/pla/pla.js new file mode 100644 index 0000000..f668b46 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/pla/pla.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/pla/pla", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},c=(o,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of r(e))!p.call(o,t)&&t!==n&&s(o,t,{get:()=>e[t],enumerable:!(i=a(e,t))||i.enumerable});return o};var d=o=>c(s({},"__esModule",{value:!0}),o);var u={};l(u,{conf:()=>k,language:()=>m});var k={comments:{lineComment:"#"},brackets:[["[","]"],["<",">"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}]},m={defaultToken:"",tokenPostfix:".pla",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"<",close:">",token:"delimiter.angle"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:[".i",".o",".mv",".ilb",".ob",".label",".type",".phase",".pair",".symbolic",".symbolic-output",".kiss",".p",".e",".end"],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:"@whitespace"},[/@comment/,"comment"],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:"keyword.$1"},"@keywords":{cases:{".type":{token:"keyword.$1",next:"@type"},"@default":{token:"keyword.$1",next:"@keywordArg"}}},"@default":{token:"keyword.$1"}}}],[/@identifier/,"identifier"],[/@plaContent/,"string"]],whitespace:[[/[ \t\r\n]+/,""]],type:[{include:"@whitespace"},[/\w+/,{token:"type",next:"@pop"}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:"",next:"@pop"},"@default":""}}],[/@comment/,"comment","@pop"],[/[<>()\[\]]/,{cases:{"@eos":{token:"@brackets",next:"@pop"},"@default":"@brackets"}}],[/\-?\d+/,{cases:{"@eos":{token:"number",next:"@pop"},"@default":"number"}}],[/@identifier/,{cases:{"@eos":{token:"identifier",next:"@pop"},"@default":"identifier"}}],[/[;=]/,{cases:{"@eos":{token:"delimiter",next:"@pop"},"@default":"delimiter"}}]]}};return d(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/postiats/postiats.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/postiats/postiats.js new file mode 100644 index 0000000..839e36a --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/postiats/postiats.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/postiats/postiats", ["require","require"],(require)=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},l=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!c.call(t,n)&&n!==o&&i(t,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return t};var d=t=>l(i({},"__esModule",{value:!0}),t);var g={};p(g,{conf:()=>m,language:()=>x});var m={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},x={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}};return d(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/powerquery/powerquery.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/powerquery/powerquery.js new file mode 100644 index 0000000..dd44f0b --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/powerquery/powerquery.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/powerquery/powerquery", ["require","require"],(require)=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var T=(t,e)=>{for(var n in e)i(t,n,{get:e[n],enumerable:!0})},m=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of s(e))!l.call(t,a)&&a!==n&&i(t,a,{get:()=>e[a],enumerable:!(o=r(e,a))||o.enumerable});return t};var u=t=>m(i({},"__esModule",{value:!0}),t);var b={};T(b,{conf:()=>d,language:()=>c});var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},c={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}};return u(b);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/powershell/powershell.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/powershell/powershell.js new file mode 100644 index 0000000..a38ad5d --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/powershell/powershell.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/powershell/powershell", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var t in e)o(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!l.call(n,s)&&s!==t&&o(n,s,{get:()=>e[s],enumerable:!(a=r(e,s))||a.enumerable});return n};var p=n=>g(o({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>d,language:()=>m});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,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:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/protobuf/protobuf.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/protobuf/protobuf.js new file mode 100644 index 0000000..30a2be1 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/protobuf/protobuf.js @@ -0,0 +1,11 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/protobuf/protobuf", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var i in e)o(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!a.call(t,n)&&n!==i&&o(t,n,{get:()=>e[n],enumerable:!(s=r(e,n))||s.enumerable});return t};var l=t=>d(o({},"__esModule",{value:!0}),t);var m={};p(m,{conf:()=>u,language:()=>f});var k=["true","false"],u={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],autoCloseBefore:`.,=}])>' + `,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},f={defaultToken:"",tokenPostfix:".proto",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>/,{token:"@brackets",bracket:"@close",switchTo:"identifier"}]],field:[{include:"@whitespace"},["group",{cases:{"$S2==proto2":{token:"keyword",switchTo:"@groupDecl.$S2"}}}],[/(@identifier)(\s*)(=)/,["identifier","white",{token:"delimiter",next:"@pop"}]],[/@fullIdentifier|\./,{cases:{"@builtinTypes":"keyword","@default":"type.identifier"}}]],groupDecl:[{include:"@whitespace"},[/@identifier/,"identifier"],["=","operator"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@messageBody.$S2"}],{include:"@constant"}],type:[{include:"@whitespace"},[/@identifier/,"type.identifier","@pop"],[/./,"delimiter"]],identifier:[{include:"@whitespace"},[/@identifier/,"identifier","@pop"]],serviceDecl:[{include:"@whitespace"},[/@identifier/,"identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@serviceBody.$S2"}]],serviceBody:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],[/option\b/,"keyword","@option.$S2"],[/rpc\b/,"keyword","@rpc.$S2"],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],rpc:[{include:"@whitespace"},[/@identifier/,"identifier"],[/\(/,{token:"@brackets",bracket:"@open",switchTo:"@request.$S2"}],[/{/,{token:"@brackets",bracket:"@open",next:"@methodOptions.$S2"}],[/;/,"delimiter","@pop"]],request:[{include:"@whitespace"},[/@messageType/,{cases:{stream:{token:"keyword",next:"@type.$S2"},"@default":"type.identifier"}}],[/\)/,{token:"@brackets",bracket:"@close",switchTo:"@returns.$S2"}]],returns:[{include:"@whitespace"},[/returns\b/,"keyword"],[/\(/,{token:"@brackets",bracket:"@open",switchTo:"@response.$S2"}]],response:[{include:"@whitespace"},[/@messageType/,{cases:{stream:{token:"keyword",next:"@type.$S2"},"@default":"type.identifier"}}],[/\)/,{token:"@brackets",bracket:"@close",switchTo:"@rpc.$S2"}]],methodOptions:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],["option","keyword"],[/@optionName/,"annotation"],[/[()]/,"annotation.brackets"],[/=/,"operator"],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],constant:[["@boolLit","keyword.constant"],["@hexLit","number.hex"],["@octalLit","number.octal"],["@decimalLit","number"],["@floatLit","number.float"],[/("([^"\\]|\\.)*|'([^'\\]|\\.)*)$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/'/,{token:"string.quote",bracket:"@open",next:"@stringSingle"}],[/{/,{token:"@brackets",bracket:"@open",next:"@prototext"}],[/identifier/,"identifier"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],prototext:[{include:"@whitespace"},{include:"@constant"},[/@identifier/,"identifier"],[/[:;]/,"delimiter"],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]]}};return l(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/pug/pug.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/pug/pug.js new file mode 100644 index 0000000..5a693dd --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/pug/pug.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/pug/pug", ["require","require"],(require)=>{ +var moduleExports=(()=>{var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)a(t,o,{get:e[o],enumerable:!0})},c=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!r.call(t,n)&&n!==o&&a(t,n,{get:()=>e[n],enumerable:!(s=i(e,n))||s.enumerable});return t};var d=t=>c(a({},"__esModule",{value:!0}),t);var g={};p(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},u={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:o.languages.IndentAction.Indent}}]},E={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};return g(z);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/redis/redis.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/redis/redis.js new file mode 100644 index 0000000..8f5c840 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/redis/redis.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/redis/redis", ["require","require"],(require)=>{ +var moduleExports=(()=>{var R=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var A=(S,E)=>{for(var T in E)R(S,T,{get:E[T],enumerable:!0})},O=(S,E,T,o)=>{if(E&&typeof E=="object"||typeof E=="function")for(let e of N(E))!s.call(S,e)&&e!==T&&R(S,e,{get:()=>E[e],enumerable:!(o=n(E,e))||o.enumerable});return S};var L=S=>O(R({},"__esModule",{value:!0}),S);var r={};A(r,{conf:()=>I,language:()=>i});var I={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}};return L(r);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/redshift/redshift.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/redshift/redshift.js new file mode 100644 index 0000000..2a68637 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/redshift/redshift.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/redshift/redshift", ["require","require"],(require)=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var p=(_,e)=>{for(var r in e)i(_,r,{get:e[r],enumerable:!0})},l=(_,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of o(e))!n.call(_,t)&&t!==r&&i(_,t,{get:()=>e[t],enumerable:!(a=s(e,t))||a.enumerable});return _};var g=_=>l(i({},"__esModule",{value:!0}),_);var m={};p(m,{conf:()=>c,language:()=>d});var c={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},d={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","AZ64","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LANGUAGE","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY16","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}};return g(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/restructuredtext/restructuredtext.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/restructuredtext/restructuredtext.js new file mode 100644 index 0000000..92932b3 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/restructuredtext/restructuredtext.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/restructuredtext/restructuredtext", ["require","require"],(require)=>{ +var moduleExports=(()=>{var t=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var k=(n,e)=>{for(var i in e)t(n,i,{get:e[i],enumerable:!0})},c=(n,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of l(e))!r.call(n,s)&&s!==i&&t(n,s,{get:()=>e[s],enumerable:!(o=a(e,s))||o.enumerable});return n};var p=n=>c(t({},"__esModule",{value:!0}),n);var g={};k(g,{conf:()=>u,language:()=>m});var u={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},m={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}};return p(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/ruby/ruby.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/ruby/ruby.js new file mode 100644 index 0000000..135920a --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/ruby/ruby.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/ruby/ruby", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},l=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!d.call(t,n)&&n!==r&&o(t,n,{get:()=>e[n],enumerable:!(s=i(e,n))||s.enumerable});return t};var a=t=>l(o({},"__esModule",{value:!0}),t);var m={};p(m,{conf:()=>g,language:()=>x});var g={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},x={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}};return a(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/rust/rust.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/rust/rust.js new file mode 100644 index 0000000..e44d404 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/rust/rust.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/rust/rust", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var _=(t,e)=>{for(var n in e)r(t,n,{get:e[n],enumerable:!0})},u=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of a(e))!c.call(t,o)&&o!==n&&r(t,o,{get:()=>e[o],enumerable:!(s=i(e,o))||s.enumerable});return t};var l=t=>u(r({},"__esModule",{value:!0}),t);var m={};_(m,{conf:()=>f,language:()=>p});var f={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},p={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}};return l(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/sb/sb.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/sb/sb.js new file mode 100644 index 0000000..e8311ab --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/sb/sb.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/sb/sb", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&r(o,n,{get:()=>e[n],enumerable:!(s=i(e,n))||s.enumerable});return o};var g=o=>c(r({},"__esModule",{value:!0}),o);var m={};d(m,{conf:()=>p,language:()=>f});var p={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}};return g(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/scala/scala.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/scala/scala.js new file mode 100644 index 0000000..fed8e1c --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/scala/scala.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/scala/scala", ["require","require"],(require)=>{ +var moduleExports=(()=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},c=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of i(e))!d.call(t,o)&&o!==r&&n(t,o,{get:()=>e[o],enumerable:!(a=s(e,o))||a.enumerable});return t};var g=t=>c(n({},"__esModule",{value:!0}),t);var m={};l(m,{conf:()=>p,language:()=>w});var p={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},w={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return g(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/scheme/scheme.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/scheme/scheme.js new file mode 100644 index 0000000..fedfd36 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/scheme/scheme.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/scheme/scheme", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(a=r(e,n))||a.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}};return p(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/scss/scss.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/scss/scss.js new file mode 100644 index 0000000..236deb4 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/scss/scss.js @@ -0,0 +1,12 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/scss/scss", ["require","require"],(require)=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},m=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!d.call(t,n)&&n!==o&&i(t,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return t};var s=t=>m(i({},"__esModule",{value:!0}),t);var k={};c(k,{conf:()=>u,language:()=>p});var u={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},p={defaultToken:"",tokenPostfix:".scss",ws:`[ +\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},[`[^)\r +]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}};return s(k);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/shell/shell.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/shell/shell.js new file mode 100644 index 0000000..2d59d91 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/shell/shell.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/shell/shell", ["require","require"],(require)=>{ +var moduleExports=(()=>{var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(r,e)=>{for(var i in e)a(r,i,{get:e[i],enumerable:!0})},d=(r,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of n(e))!l.call(r,t)&&t!==i&&a(r,t,{get:()=>e[t],enumerable:!(o=s(e,t))||o.enumerable});return r};var p=r=>d(a({},"__esModule",{value:!0}),r);var g={};c(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},u={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=>{ +var moduleExports=(()=>{var f=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var o=(e,x)=>{for(var d in x)f(e,d,{get:x[d],enumerable:!0})},r=(e,x,d,u)=>{if(x&&typeof x=="object"||typeof x=="function")for(let i of n(x))!s.call(e,i)&&i!==d&&f(e,i,{get:()=>x[i],enumerable:!(u=t(x,i))||u.enumerable});return e};var a=e=>r(f({},"__esModule",{value:!0}),e);var l={};o(l,{conf:()=>c,language:()=>m});var c={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},m={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return a(l);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/sophia/sophia.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/sophia/sophia.js new file mode 100644 index 0000000..b324a11 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/sophia/sophia.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/sophia/sophia", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},m=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(r=i(e,n))||r.enumerable});return t};var d=t=>m(s({},"__esModule",{value:!0}),t);var u={};l(u,{conf:()=>f,language:()=>g});var f={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},g={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return d(u);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/sparql/sparql.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/sparql/sparql.js new file mode 100644 index 0000000..56d4782 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/sparql/sparql.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/sparql/sparql", ["require","require"],(require)=>{ +var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(s,e)=>{for(var n in e)o(s,n,{get:e[n],enumerable:!0})},c=(s,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(s,t)&&t!==n&&o(s,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return s};var g=s=>c(o({},"__esModule",{value:!0}),s);var m={};d(m,{conf:()=>u,language:()=>p});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"'",close:"'",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]},p={defaultToken:"",tokenPostfix:".rq",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["add","as","asc","ask","base","by","clear","construct","copy","create","data","delete","desc","describe","distinct","drop","false","filter","from","graph","group","having","in","insert","limit","load","minus","move","named","not","offset","optional","order","prefix","reduced","select","service","silent","to","true","undef","union","using","values","where","with"],builtinFunctions:["a","abs","avg","bind","bnode","bound","ceil","coalesce","concat","contains","count","datatype","day","encode_for_uri","exists","floor","group_concat","hours","if","iri","isblank","isiri","isliteral","isnumeric","isuri","lang","langmatches","lcase","max","md5","min","minutes","month","now","rand","regex","replace","round","sameterm","sample","seconds","sha1","sha256","sha384","sha512","str","strafter","strbefore","strdt","strends","strlang","strlen","strstarts","struuid","substr","sum","timezone","tz","ucase","uri","uuid","year"],ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,"tag"],{include:"@strings"},[/#.*/,"comment"],[/[{}()\[\]]/,"@brackets"],[/[;,.]/,"delimiter"],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,"tag"],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,"tag"],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:"keyword"},"@builtinFunctions":{token:"predefined.sql"},"@default":"identifier"}}],[/\^\^/,"operator.sql"],[/\^[*+\-<>=&|^\/!?]*/,"operator.sql"],[/[*+\-<>=&|\/!?]/,"operator.sql"],[/@[a-z\d\-]*/,"metatag.html"],[/\s+/,"white"]],strings:[[/'([^'\\]|\\.)*$/,"string.invalid"],[/'$/,"string.sql","@pop"],[/'/,"string.sql","@stringBody"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"$/,"string.sql","@pop"],[/"/,"string.sql","@dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}};return g(m);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/sql/sql.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/sql/sql.js new file mode 100644 index 0000000..049ddde --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/sql/sql.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/sql/sql", ["require","require"],(require)=>{ +var moduleExports=(()=>{var I=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var L=(T,E)=>{for(var A in E)I(T,A,{get:E[A],enumerable:!0})},e=(T,E,A,N)=>{if(E&&typeof E=="object"||typeof E=="function")for(let R of O(E))!C.call(T,R)&&R!==A&&I(T,R,{get:()=>E[R],enumerable:!(N=S(E,R))||N.enumerable});return T};var P=T=>e(I({},"__esModule",{value:!0}),T);var M={};L(M,{conf:()=>D,language:()=>U});var D={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},U={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT","ABSOLUTE","ACTION","ADA","ADD","AFTER","ALL","ALLOCATE","ALTER","ALWAYS","ANALYZE","AND","ANY","ARE","AS","ASC","ASSERTION","AT","ATTACH","AUTHORIZATION","AUTOINCREMENT","AVG","BACKUP","BEFORE","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BREAK","BROWSE","BULK","BY","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","COMPUTE","CONFLICT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATE","DAY","DBCC","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DETACH","DIAGNOSTICS","DISCONNECT","DISK","DISTINCT","DISTRIBUTED","DO","DOMAIN","DOUBLE","DROP","DUMP","EACH","ELSE","END","END-EXEC","ERRLVL","ESCAPE","EXCEPT","EXCEPTION","EXCLUDE","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTERNAL","EXTRACT","FAIL","FALSE","FETCH","FILE","FILLFACTOR","FILTER","FIRST","FLOAT","FOLLOWING","FOR","FOREIGN","FORTRAN","FOUND","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GENERATED","GET","GLOB","GLOBAL","GO","GOTO","GRANT","GROUP","GROUPS","HAVING","HOLDLOCK","HOUR","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IGNORE","IMMEDIATE","IN","INCLUDE","INDEX","INDEXED","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISNULL","ISOLATION","JOIN","KEY","KILL","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LIMIT","LINENO","LOAD","LOCAL","LOWER","MATCH","MATERIALIZED","MAX","MERGE","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NOCHECK","NONCLUSTERED","NONE","NOT","NOTHING","NOTNULL","NULL","NULLIF","NULLS","NUMERIC","OCTET_LENGTH","OF","OFF","OFFSET","OFFSETS","ON","ONLY","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OTHERS","OUTER","OUTPUT","OVER","OVERLAPS","PAD","PARTIAL","PARTITION","PASCAL","PERCENT","PIVOT","PLAN","POSITION","PRAGMA","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRINT","PRIOR","PRIVILEGES","PROC","PROCEDURE","PUBLIC","QUERY","RAISE","RAISERROR","RANGE","READ","READTEXT","REAL","RECONFIGURE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELATIVE","RELEASE","RENAME","REPLACE","REPLICATION","RESTORE","RESTRICT","RETURN","RETURNING","REVERT","REVOKE","RIGHT","ROLLBACK","ROW","ROWCOUNT","ROWGUIDCOL","ROWS","RULE","SAVE","SAVEPOINT","SCHEMA","SCROLL","SECOND","SECTION","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION","SESSION_USER","SET","SETUSER","SHUTDOWN","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","STATISTICS","SUBSTRING","SUM","SYSTEM_USER","TABLE","TABLESAMPLE","TEMP","TEMPORARY","TEXTSIZE","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOP","TRAILING","TRAN","TRANSACTION","TRANSLATE","TRANSLATION","TRIGGER","TRIM","TRUE","TRUNCATE","TRY_CONVERT","TSEQUAL","UNBOUNDED","UNION","UNIQUE","UNKNOWN","UNPIVOT","UPDATE","UPDATETEXT","UPPER","USAGE","USE","USER","USING","VACUUM","VALUE","VALUES","VARCHAR","VARYING","VIEW","VIRTUAL","WAITFOR","WHEN","WHENEVER","WHERE","WHILE","WINDOW","WITH","WITHIN GROUP","WITHOUT","WORK","WRITE","WRITETEXT","YEAR","ZONE"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};return P(M);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/st/st.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/st/st.js new file mode 100644 index 0000000..619f843 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/st/st.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/st/st", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var d=(n,e)=>{for(var t in e)r(n,t,{get:e[t],enumerable:!0})},l=(n,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of c(e))!i.call(n,o)&&o!==t&&r(n,o,{get:()=>e[o],enumerable:!(a=s(e,o))||a.enumerable});return n};var _=n=>l(r({},"__esModule",{value:!0}),n);var m={};d(m,{conf:()=>p,language:()=>u});var p={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},u={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends","implements"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>{ +var moduleExports=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var n in e)i(o,n,{get:e[n],enumerable:!0})},u=(o,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!l.call(o,t)&&t!==n&&i(o,t,{get:()=>e[t],enumerable:!(r=a(e,t))||r.enumerable});return o};var d=o=>u(i({},"__esModule",{value:!0}),o);var f={};c(f,{conf:()=>p,language:()=>m});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},m={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@GKInspectable","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet","@IBSegueAction","@NSApplicationMain","@NSCopying","@NSManaged","@Sendable","@UIApplicationMain","@autoclosure","@actorIndependent","@asyncHandler","@available","@convention","@derivative","@differentiable","@discardableResult","@dynamicCallable","@dynamicMemberLookup","@escaping","@frozen","@globalActor","@inlinable","@inline","@main","@noDerivative","@nonobjc","@noreturn","@objc","@objcMembers","@preconcurrency","@propertyWrapper","@requires_stored_property_inits","@resultBuilder","@testable","@unchecked","@unknown","@usableFromInline","@warn_unqualified_access"],accessmodifiers:["open","public","internal","fileprivate","private"],keywords:["#available","#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning","Any","Protocol","Self","Type","actor","as","assignment","associatedtype","associativity","async","await","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","false","fileprivate","final","for","func","get","guard","higherThan","if","import","in","indirect","infix","init","inout","internal","is","isolated","lazy","left","let","lowerThan","mutating","nil","none","nonisolated","nonmutating","open","operator","optional","override","postfix","precedence","precedencegroup","prefix","private","protocol","public","repeat","required","rethrows","return","right","safe","self","set","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","unowned","unsafe","var","weak","where","while","willSet","__consuming","__owned"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}};return d(f);})(); +/*!--------------------------------------------------------------------------------------------- + * Copyright (C) David Owens II, owensd.io. All rights reserved. + *--------------------------------------------------------------------------------------------*/ +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/systemverilog/systemverilog.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/systemverilog/systemverilog.js new file mode 100644 index 0000000..bd91ff7 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/systemverilog/systemverilog.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/systemverilog/systemverilog", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,e)=>{for(var t in e)r(n,t,{get:e[t],enumerable:!0})},l=(n,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of a(e))!c.call(n,i)&&i!==t&&r(n,i,{get:()=>e[i],enumerable:!(o=s(e,i))||o.enumerable});return n};var p=n=>l(r({},"__esModule",{value:!0}),n);var f={};d(f,{conf:()=>u,language:()=>m});var u={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},m={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}};return p(f);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/tcl/tcl.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/tcl/tcl.js new file mode 100644 index 0000000..527fb3e --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/tcl/tcl.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/tcl/tcl", ["require","require"],(require)=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return t};var u=t=>p(s({},"__esModule",{value:!0}),t);var g={};c(g,{conf:()=>k,language:()=>d});var k={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},d={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=>{ +var moduleExports=(()=>{var m=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var s=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},d=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of n(t))!a.call(e,i)&&i!==r&&m(e,i,{get:()=>t[i],enumerable:!(o=l(t,i))||o.enumerable});return e};var p=e=>d(m({},"__esModule",{value:!0}),e);var g={};s(g,{conf:()=>h,language:()=>c});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],[""],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},c={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};return p(g);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/typescript/typescript.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/typescript/typescript.js new file mode 100644 index 0000000..3836cee --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/typescript/typescript.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/typescript/typescript", ["require","require"],(require)=>{ +var moduleExports=(()=>{var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var f=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var k=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),y=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})},i=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!u.call(e,r)&&r!==n&&s(e,r,{get:()=>t[r],enumerable:!(c=m(t,r))||c.enumerable});return e},a=(e,t,n)=>(i(e,t,"default"),n&&i(n,t,"default")),p=(e,t,n)=>(n=e!=null?l(b(e)):{},i(t||!e||!e.__esModule?s(n,"default",{value:e,enumerable:!0}):n,e)),w=e=>i(s({},"__esModule",{value:!0}),e);var d=k((T,g)=>{var A=p(f("vs/editor/editor.api"));g.exports=A});var h={};y(h,{conf:()=>v,language:()=>$});var o={};a(o,p(d()));var v={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},$={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};return w(h);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/vb/vb.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/vb/vb.js new file mode 100644 index 0000000..0d74741 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/vb/vb.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/vb/vb", ["require","require"],(require)=>{ +var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var i=(n,e)=>{for(var t in e)r(n,t,{get:e[t],enumerable:!0})},c=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!l.call(n,o)&&o!==t&&r(n,o,{get:()=>e[o],enumerable:!(s=a(e,o))||s.enumerable});return n};var u=n=>c(r({},"__esModule",{value:!0}),n);var k={};i(k,{conf:()=>g,language:()=>p});var g={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},p={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=>{ +var moduleExports=(()=>{var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var a in e)s(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l(e))!u.call(t,i)&&i!==a&&s(t,i,{get:()=>e[i],enumerable:!(o=m(e,i))||o.enumerable});return t};var x=t=>d(s({},"__esModule",{value:!0}),t);var F={};p(F,{conf:()=>f,language:()=>L});var f={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function r(t){let e=[],a=t.split(/\t+|\r+|\n+| +/);for(let o=0;o0&&e.push(a[o]);return e}var g=r("true false"),_=r(` + alias + break + case + const + const_assert + continue + continuing + default + diagnostic + discard + else + enable + fn + for + if + let + loop + override + requires + return + struct + switch + var + while + `),h=r(` + NULL + Self + abstract + active + alignas + alignof + as + asm + asm_fragment + async + attribute + auto + await + become + binding_array + cast + catch + class + co_await + co_return + co_yield + coherent + column_major + common + compile + compile_fragment + concept + const_cast + consteval + constexpr + constinit + crate + debugger + decltype + delete + demote + demote_to_helper + do + dynamic_cast + enum + explicit + export + extends + extern + external + fallthrough + filter + final + finally + friend + from + fxgroup + get + goto + groupshared + highp + impl + implements + import + inline + instanceof + interface + layout + lowp + macro + macro_rules + match + mediump + meta + mod + module + move + mut + mutable + namespace + new + nil + noexcept + noinline + nointerpolation + noperspective + null + nullptr + of + operator + package + packoffset + partition + pass + patch + pixelfragment + precise + precision + premerge + priv + protected + pub + public + readonly + ref + regardless + register + reinterpret_cast + require + resource + restrict + self + set + shared + sizeof + smooth + snorm + static + static_assert + static_cast + std + subroutine + super + target + template + this + thread_local + throw + trait + try + type + typedef + typeid + typename + typeof + union + unless + unorm + unsafe + unsized + use + using + varying + virtual + volatile + wgsl + where + with + writeonly + yield + `),b=r(` + read write read_write + function private workgroup uniform storage + perspective linear flat + center centroid sample + vertex_index instance_index position front_facing frag_depth + local_invocation_id local_invocation_index + global_invocation_id workgroup_id num_workgroups + sample_index sample_mask + rgba8unorm + rgba8snorm + rgba8uint + rgba8sint + rgba16uint + rgba16sint + rgba16float + r32uint + r32sint + r32float + rg32uint + rg32sint + rg32float + rgba32uint + rgba32sint + rgba32float + bgra8unorm +`),v=r(` + bool + f16 + f32 + i32 + sampler sampler_comparison + texture_depth_2d + texture_depth_2d_array + texture_depth_cube + texture_depth_cube_array + texture_depth_multisampled_2d + texture_external + texture_external + u32 + `),y=r(` + array + atomic + mat2x2 + mat2x3 + mat2x4 + mat3x2 + mat3x3 + mat3x4 + mat4x2 + mat4x3 + mat4x4 + ptr + texture_1d + texture_2d + texture_2d_array + texture_3d + texture_cube + texture_cube_array + texture_multisampled_2d + texture_storage_1d + texture_storage_2d + texture_storage_2d_array + texture_storage_3d + vec2 + vec3 + vec4 + `),k=r(` + vec2i vec3i vec4i + vec2u vec3u vec4u + vec2f vec3f vec4f + vec2h vec3h vec4h + mat2x2f mat2x3f mat2x4f + mat3x2f mat3x3f mat3x4f + mat4x2f mat4x3f mat4x4f + mat2x2h mat2x3h mat2x4h + mat3x2h mat3x3h mat3x4h + mat4x2h mat4x3h mat4x4h + `),w=r(` + bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2 + ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross + degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit + firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length + log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract + reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose + trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine + textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers + textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare + textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge + textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin + atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm + pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm + unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier + workgroupUniformLoad +`),S=r(` + & + && + -> + / + = + == + != + > + >= + < + <= + % + - + -- + + + ++ + | + || + * + << + >> + += + -= + *= + /= + %= + &= + |= + ^= + >>= + <<= + `),C=/enable|requires|diagnostic/,c=/[_\p{XID_Start}]\p{XID_Continue}*/u,n="variable.predefined",L={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:g,keywords:_,reserved:h,predeclared_enums:b,predeclared_types:v,predeclared_type_generators:y,predeclared_type_aliases:k,predeclared_intrinsics:w,operators:S,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[C,"keyword","@directive"],[c,{cases:{"@atoms":n,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":n,"@predeclared_types":n,"@predeclared_type_generators":n,"@predeclared_type_aliases":n,"@predeclared_intrinsics":n,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[c,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}};return x(F);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/basic-languages/xml/xml.js b/v2realbot/static/js/libs/monaco/vs/basic-languages/xml/xml.js new file mode 100644 index 0000000..aad8bcf --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/basic-languages/xml/xml.js @@ -0,0 +1,10 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/xml/xml", ["require","require"],(require)=>{ +var moduleExports=(()=>{var u=Object.create;var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var f=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),b=(e,t)=>{for(var n in t)m(e,n,{get:t[n],enumerable:!0})},i=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p(t))!x.call(e,o)&&o!==n&&m(e,o,{get:()=>t[o],enumerable:!(r=g(t,o))||r.enumerable});return e},l=(e,t,n)=>(i(e,t,"default"),n&&i(n,t,"default")),c=(e,t,n)=>(n=e!=null?u(k(e)):{},i(t||!e||!e.__esModule?m(n,"default",{value:e,enumerable:!0}):n,e)),q=e=>i(m({},"__esModule",{value:!0}),e);var s=w((v,d)=>{var N=c(f("vs/editor/editor.api"));d.exports=N});var I={};b(I,{conf:()=>A,language:()=>C});var a={};l(a,c(s()));var A={comments:{blockComment:[""]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},C={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"),typeof He!="string"&&!at(He))if(typeof He.toString=="function"){if(He=He.toString(),typeof He!="string")throw kt("dirty is not a string, aborting")}else throw kt("toString is not a function");if(!e.isSupported)return He;if(H||Pe(Te),e.removed=[],typeof He=="string"&&(X=!1),X){if(He.nodeName){const Ne=De(He.nodeName);if(!A[Ne]||U[Ne])throw kt("root node is forbidden and cannot be sanitized in-place")}}else if(He instanceof m)Fe=it(""),Ve=Fe.ownerDocument.importNode(He,!0),Ve.nodeType===1&&Ve.nodeName==="BODY"||Ve.nodeName==="HTML"?Fe=Ve:Fe.appendChild(Ve);else{if(!Z&&!J&&!q&&He.indexOf("<")===-1)return l&&le?l.createHTML(He):He;if(Fe=it(He),!Fe)return Z?null:le?o:""}Fe&&V&&Ge(Fe.firstChild);const ot=Ze(X?He:Fe);for(;Ye=ot.nextNode();)Ct(Ye)||(Ye.content instanceof D&&_t(Ye.content),ft(Ye));if(X)return He;if(Z){if(ee)for(st=g.call(Fe.ownerDocument);Fe.firstChild;)st.appendChild(Fe.firstChild);else st=Fe;return(O.shadowroot||O.shadowrootmode)&&(st=p.call(L,st,!0)),st}let Ue=q?Fe.outerHTML:Fe.innerHTML;return q&&A["!doctype"]&&Fe.ownerDocument&&Fe.ownerDocument.doctype&&Fe.ownerDocument.doctype.name&>(Gt,Fe.ownerDocument.doctype.name)&&(Ue=" +`+Ue),J&&(Ue=vt(Ue,w," "),Ue=vt(Ue,E," "),Ue=vt(Ue,k," ")),l&&le?l.createHTML(Ue):Ue},e.setConfig=function(He){Pe(He),H=!0},e.clearConfig=function(){fe=null,H=!1},e.isValidAttribute=function(He,Te,Fe){fe||Pe({});const Ve=De(He),Ye=De(Te);return ht(Ve,Ye,Fe)},e.addHook=function(He,Te){typeof Te=="function"&&(b[He]=b[He]||[],It(b[He],Te))},e.removeHook=function(He){if(b[He])return zt(b[He])},e.removeHooks=function(He){b[He]&&(b[He]=[])},e.removeAllHooks=function(){b={}},e}var pi=Zt();define("vs/base/browser/dompurify/dompurify",function(){return pi}),define(te[38],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class L{constructor(S){this.domNode=S,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(S){const m=I(S);this._maxWidth!==m&&(this._maxWidth=m,this.domNode.style.maxWidth=this._maxWidth)}setWidth(S){const m=I(S);this._width!==m&&(this._width=m,this.domNode.style.width=this._width)}setHeight(S){const m=I(S);this._height!==m&&(this._height=m,this.domNode.style.height=this._height)}setTop(S){const m=I(S);this._top!==m&&(this._top=m,this.domNode.style.top=this._top)}setLeft(S){const m=I(S);this._left!==m&&(this._left=m,this.domNode.style.left=this._left)}setBottom(S){const m=I(S);this._bottom!==m&&(this._bottom=m,this.domNode.style.bottom=this._bottom)}setRight(S){const m=I(S);this._right!==m&&(this._right=m,this.domNode.style.right=this._right)}setPaddingLeft(S){const m=I(S);this._paddingLeft!==m&&(this._paddingLeft=m,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(S){this._fontFamily!==S&&(this._fontFamily=S,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(S){this._fontWeight!==S&&(this._fontWeight=S,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(S){const m=I(S);this._fontSize!==m&&(this._fontSize=m,this.domNode.style.fontSize=this._fontSize)}setFontStyle(S){this._fontStyle!==S&&(this._fontStyle=S,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(S){this._fontFeatureSettings!==S&&(this._fontFeatureSettings=S,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(S){this._fontVariationSettings!==S&&(this._fontVariationSettings=S,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(S){this._textDecoration!==S&&(this._textDecoration=S,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(S){const m=I(S);this._lineHeight!==m&&(this._lineHeight=m,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(S){const m=I(S);this._letterSpacing!==m&&(this._letterSpacing=m,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(S){this._className!==S&&(this._className=S,this.domNode.className=this._className)}toggleClassName(S,m){this.domNode.classList.toggle(S,m),this._className=this.domNode.className}setDisplay(S){this._display!==S&&(this._display=S,this.domNode.style.display=this._display)}setPosition(S){this._position!==S&&(this._position=S,this.domNode.style.position=this._position)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this.domNode.style.visibility=this._visibility)}setColor(S){this._color!==S&&(this._color=S,this.domNode.style.color=this._color)}setBackgroundColor(S){this._backgroundColor!==S&&(this._backgroundColor=S,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(S){this._layerHint!==S&&(this._layerHint=S,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(S){this._boxShadow!==S&&(this._boxShadow=S,this.domNode.style.boxShadow=S)}setContain(S){this._contain!==S&&(this._contain=S,this.domNode.style.contain=this._contain)}setAttribute(S,m){this.domNode.setAttribute(S,m)}removeAttribute(S){this.domNode.removeAttribute(S)}appendChild(S){this.domNode.appendChild(S.domNode)}removeChild(S){this.domNode.removeChild(S.domNode)}}e.FastDomNode=L;function I(D){return typeof D=="number"?`${D}px`:D}function y(D){return new L(D)}e.createFastDomNode=y}),define(te[384],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let L=!1,I=null;function y(S){if(!S.parent||S.parent===S)return null;try{const m=S.location,_=S.parent.location;if(m.origin!=="null"&&_.origin!=="null"&&m.origin!==_.origin)return L=!0,null}catch{return L=!0,null}return S.parent}class D{static getSameOriginWindowChain(){if(!I){I=[];let m=window,_;do _=y(m),_?I.push({window:m,iframeElement:m.frameElement||null}):I.push({window:m,iframeElement:null}),m=_;while(m)}return I.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(m,_){if(!_||m===_)return{top:0,left:0};let v=0,C=0;const s=this.getSameOriginWindowChain();for(const i of s){if(v+=i.window.scrollY,C+=i.window.scrollX,i.window===_||!i.iframeElement)break;const n=i.iframeElement.getBoundingClientRect();v+=n.top,C+=n.left}return{top:v,left:C}}}e.IframeUtils=D}),define(te[258],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inputLatency=void 0;var L;(function(I){const y={total:0,min:Number.MAX_VALUE,max:0},D=Object.assign({},y),S=Object.assign({},y),m=Object.assign({},y);let _=0;const v={keydown:0,input:0,render:0};function C(){o(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),v.keydown=1,queueMicrotask(s)}I.onKeyDown=C;function s(){v.keydown===1&&(performance.mark("keydown/end"),v.keydown=2)}function i(){performance.mark("input/start"),v.input=1,l()}I.onBeforeInput=i;function n(){v.input===0&&i(),queueMicrotask(t)}I.onInput=n;function t(){v.input===1&&(performance.mark("input/end"),v.input=2)}function r(){o()}I.onKeyUp=r;function u(){o()}I.onSelectionChange=u;function f(){v.keydown===2&&v.input===2&&v.render===0&&(performance.mark("render/start"),v.render=1,queueMicrotask(d),l())}I.onRenderStart=f;function d(){v.render===1&&(performance.mark("render/end"),v.render=2)}function l(){setTimeout(o)}function o(){v.keydown===2&&v.input===2&&v.render===2&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),c("keydown",y),c("input",D),c("render",S),c("inputlatency",m),_++,a())}function c(b,w){const E=performance.getEntriesByName(b)[0].duration;w.total+=E,w.min=Math.min(w.min,E),w.max=Math.max(w.max,E)}function a(){performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),v.keydown=0,v.input=0,v.render=0}function g(){if(_===0)return;const b={keydown:h(y),input:h(D),render:h(S),total:h(m),sampleCount:_};return p(y),p(D),p(S),p(m),_=0,b}I.getAndClearMeasurements=g;function h(b){return{average:b.total/_,max:b.max,min:b.min}}function p(b){b.total=0,b.min=Number.MAX_VALUE,b.max=0}})(L||(e.inputLatency=L={}))}),define(te[385],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class L extends Error{constructor(y,D){super(`ListError [${y}] ${D}`)}}e.ListError=L}),define(te[386],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class L{constructor(y){this.spliceables=y}splice(y,D,S){this.spliceables.forEach(m=>m.splice(y,D,S))}}e.CombinedSpliceable=L}),define(te[195],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const L=20;class I{constructor(D,S,m,_,v,C){this._scrollbarSize=Math.round(S),this._oppositeScrollbarSize=Math.round(m),this._arrowSize=Math.round(D),this._visibleSize=_,this._scrollSize=v,this._scrollPosition=C,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new I(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(D){const S=Math.round(D);return this._visibleSize!==S?(this._visibleSize=S,this._refreshComputedValues(),!0):!1}setScrollSize(D){const S=Math.round(D);return this._scrollSize!==S?(this._scrollSize=S,this._refreshComputedValues(),!0):!1}setScrollPosition(D){const S=Math.round(D);return this._scrollPosition!==S?(this._scrollPosition=S,this._refreshComputedValues(),!0):!1}setScrollbarSize(D){this._scrollbarSize=Math.round(D)}setOppositeScrollbarSize(D){this._oppositeScrollbarSize=Math.round(D)}static _computeValues(D,S,m,_,v){const C=Math.max(0,m-D),s=Math.max(0,C-2*S),i=_>0&&_>m;if(!i)return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const n=Math.round(Math.max(L,Math.floor(m*s/_))),t=(s-n)/(_-m),r=v*t;return{computedAvailableSize:Math.round(C),computedIsNeeded:i,computedSliderSize:Math.round(n),computedSliderRatio:t,computedSliderPosition:Math.round(r)}}_refreshComputedValues(){const D=I._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=D.computedAvailableSize,this._computedIsNeeded=D.computedIsNeeded,this._computedSliderSize=D.computedSliderSize,this._computedSliderRatio=D.computedSliderRatio,this._computedSliderPosition=D.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(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize-this._computedSliderSize/2;return Math.round(S/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(D){if(!this._computedIsNeeded)return 0;const S=D-this._arrowSize;let m=this._scrollPosition;return SW===U){if(P===O)return!0;if(!P||!O||P.length!==O.length)return!1;for(let W=0,U=P.length;Wx(P[W],O))}e.binarySearch=S;function m(P,O){let x=0,W=P-1;for(;x<=W;){const U=(x+W)/2|0,F=O(U);if(F<0)x=U+1;else if(F>0)W=U-1;else return U}return-(x+1)}e.binarySearch2=m;function _(P,O,x){if(P=P|0,P>=O.length)throw new TypeError("invalid index");const W=O[Math.floor(O.length*Math.random())],U=[],F=[],G=[];for(const Y of O){const ne=x(Y,W);ne<0?U.push(Y):ne>0?F.push(Y):G.push(Y)}return P!!O)}e.coalesce=n;function t(P){let O=0;for(let x=0;x0}e.isNonEmptyArray=u;function f(P,O=x=>x){const x=new Set;return P.filter(W=>{const U=O(W);return x.has(U)?!1:(x.add(U),!0)})}e.distinct=f;function d(P,O){return P.length>0?P[0]:O}e.firstOrDefault=d;function l(P,O){let x=typeof O=="number"?P:0;typeof O=="number"?x=P:(x=0,O=P);const W=[];if(x<=O)for(let U=x;UO;U--)W.push(U);return W}e.range=l;function o(P,O,x){const W=P.slice(0,O),U=P.slice(O);return W.concat(x,U)}e.arrayInsert=o;function c(P,O){const x=P.indexOf(O);x>-1&&(P.splice(x,1),P.unshift(O))}e.pushToStart=c;function a(P,O){const x=P.indexOf(O);x>-1&&(P.splice(x,1),P.push(O))}e.pushToEnd=a;function g(P,O){for(const x of O)P.push(x)}e.pushMany=g;function h(P){return Array.isArray(P)?P:[P]}e.asArray=h;function p(P,O,x){const W=w(P,O),U=P.length,F=x.length;P.length=U+F;for(let G=U-1;G>=W;G--)P[G+F]=P[G];for(let G=0;G0}P.isGreaterThan=W;function U(F){return F===0}P.isNeitherLessOrGreaterThan=U,P.greaterThan=1,P.lessThan=-1,P.neitherLessOrGreaterThan=0})(E||(e.CompareResult=E={}));function k(P,O){return(x,W)=>O(P(x),P(W))}e.compareBy=k;function M(...P){return(O,x)=>{for(const W of P){const U=W(O,x);if(!E.isNeitherLessOrGreaterThan(U))return U}return E.neitherLessOrGreaterThan}}e.tieBreakComparators=M;const R=(P,O)=>P-O;e.numberComparator=R;const B=(P,O)=>(0,e.numberComparator)(P?1:0,O?1:0);e.booleanComparator=B;function T(P){return(O,x)=>-P(O,x)}e.reverseOrder=T;class N{constructor(O){this.items=O,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(O){let x=this.firstIdx;for(;x=0&&O(this.items[x]);)x--;const W=x===this.lastIdx?null:this.items.slice(x+1,this.lastIdx+1);return this.lastIdx=x,W}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const O=this.items[this.firstIdx];return this.firstIdx++,O}takeCount(O){const x=this.items.slice(this.firstIdx,this.firstIdx+O);return this.firstIdx+=O,x}}e.ArrayQueue=N;class A{constructor(O){this.iterate=O}toArray(){const O=[];return this.iterate(x=>(O.push(x),!0)),O}filter(O){return new A(x=>this.iterate(W=>O(W)?x(W):!0))}map(O){return new A(x=>this.iterate(W=>x(O(W))))}findLast(O){let x;return this.iterate(W=>(O(W)&&(x=W),!0)),x}findLastMaxBy(O){let x,W=!0;return this.iterate(U=>((W||E.isGreaterThan(O(U,x)))&&(W=!1,x=U),!0)),x}}e.CallbackIterable=A,A.empty=new A(P=>{})}),define(te[68],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mapFindFirst=e.findMaxIdxBy=e.findFirstMinBy=e.findLastMaxBy=e.findFirstMaxBy=e.MonotonousArray=e.findFirstIdxMonotonousOrArrLen=e.findFirstMonotonous=e.findLastIdxMonotonous=e.findLastMonotonous=e.findLastIdx=e.findLast=void 0;function L(t,r,u){const f=I(t,r);if(f!==-1)return t[f]}e.findLast=L;function I(t,r,u=t.length-1){for(let f=u;f>=0;f--){const d=t[f];if(r(d))return f}return-1}e.findLastIdx=I;function y(t,r){const u=D(t,r);return u===-1?void 0:t[u]}e.findLastMonotonous=y;function D(t,r,u=0,f=t.length){let d=u,l=f;for(;d0&&(u=d)}return u}e.findFirstMaxBy=v;function C(t,r){if(t.length===0)return;let u=t[0];for(let f=1;f=0&&(u=d)}return u}e.findLastMaxBy=C;function s(t,r){return v(t,(u,f)=>-r(u,f))}e.findFirstMinBy=s;function i(t,r){if(t.length===0)return-1;let u=0;for(let f=1;f0&&(u=f)}return u}e.findMaxIdxBy=i;function n(t,r){for(const u of t){const f=r(u);if(f!==void 0)return f}}e.mapFindFirst=n}),define(te[259],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=void 0;class L{constructor(D){this.fn=D,this.lastCache=void 0,this.lastArgKey=void 0}get(D){const S=JSON.stringify(D);return this.lastArgKey!==S&&(this.lastArgKey=S,this.lastCache=this.fn(D)),this.lastCache}}e.LRUCachedFunction=L;class I{get cachedValues(){return this._map}constructor(D){this.fn=D,this._map=new Map}get(D){if(this._map.has(D))return this._map.get(D);const S=this.fn(D);return this._map.set(D,S),S}}e.CachedFunction=I}),define(te[260],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intersection=e.diffSets=void 0;function L(y,D){const S=[],m=[];for(const _ of y)D.has(_)||S.push(_);for(const _ of D)y.has(_)||m.push(_);return{removed:S,added:m}}e.diffSets=L;function I(y,D){const S=new Set;for(const m of D)y.has(m)&&S.add(m);return S}e.intersection=I}),define(te[36],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Color=e.HSVA=e.HSLA=e.RGBA=void 0;function L(m,_){const v=Math.pow(10,_);return Math.round(m*v)/v}class I{constructor(_,v,C,s=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,_))|0,this.g=Math.min(255,Math.max(0,v))|0,this.b=Math.min(255,Math.max(0,C))|0,this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,v){return _.r===v.r&&_.g===v.g&&_.b===v.b&&_.a===v.a}}e.RGBA=I;class y{constructor(_,v,C,s){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,v),0),3),this.l=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,v){return _.h===v.h&&_.s===v.s&&_.l===v.l&&_.a===v.a}static fromRGBA(_){const v=_.r/255,C=_.g/255,s=_.b/255,i=_.a,n=Math.max(v,C,s),t=Math.min(v,C,s);let r=0,u=0;const f=(t+n)/2,d=n-t;if(d>0){switch(u=Math.min(f<=.5?d/(2*f):d/(2-2*f),1),n){case v:r=(C-s)/d+(C1&&(C-=1),C<1/6?_+(v-_)*6*C:C<1/2?v:C<2/3?_+(v-_)*(2/3-C)*6:_}static toRGBA(_){const v=_.h/360,{s:C,l:s,a:i}=_;let n,t,r;if(C===0)n=t=r=s;else{const u=s<.5?s*(1+C):s+C-s*C,f=2*s-u;n=y._hue2rgb(f,u,v+1/3),t=y._hue2rgb(f,u,v),r=y._hue2rgb(f,u,v-1/3)}return new I(Math.round(n*255),Math.round(t*255),Math.round(r*255),i)}}e.HSLA=y;class D{constructor(_,v,C,s){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,_),0)|0,this.s=L(Math.max(Math.min(1,v),0),3),this.v=L(Math.max(Math.min(1,C),0),3),this.a=L(Math.max(Math.min(1,s),0),3)}static equals(_,v){return _.h===v.h&&_.s===v.s&&_.v===v.v&&_.a===v.a}static fromRGBA(_){const v=_.r/255,C=_.g/255,s=_.b/255,i=Math.max(v,C,s),n=Math.min(v,C,s),t=i-n,r=i===0?0:t/i;let u;return t===0?u=0:i===v?u=((C-s)/t%6+6)%6:i===C?u=(s-v)/t+2:u=(v-C)/t+4,new D(Math.round(u*60),r,i,_.a)}static toRGBA(_){const{h:v,s:C,v:s,a:i}=_,n=s*C,t=n*(1-Math.abs(v/60%2-1)),r=s-n;let[u,f,d]=[0,0,0];return v<60?(u=n,f=t):v<120?(u=t,f=n):v<180?(f=n,d=t):v<240?(f=t,d=n):v<300?(u=t,d=n):v<=360&&(u=n,d=t),u=Math.round((u+r)*255),f=Math.round((f+r)*255),d=Math.round((d+r)*255),new I(u,f,d,i)}}e.HSVA=D;class S{static fromHex(_){return S.Format.CSS.parseHex(_)||S.red}static equals(_,v){return!_&&!v?!0:!_||!v?!1:_.equals(v)}get hsla(){return this._hsla?this._hsla:y.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:D.fromRGBA(this.rgba)}constructor(_){if(_)if(_ instanceof I)this.rgba=_;else if(_ instanceof y)this._hsla=_,this.rgba=y.toRGBA(_);else if(_ instanceof D)this._hsva=_,this.rgba=D.toRGBA(_);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(_){return!!_&&I.equals(this.rgba,_.rgba)&&y.equals(this.hsla,_.hsla)&&D.equals(this.hsva,_.hsva)}getRelativeLuminance(){const _=S._relativeLuminanceForComponent(this.rgba.r),v=S._relativeLuminanceForComponent(this.rgba.g),C=S._relativeLuminanceForComponent(this.rgba.b),s=.2126*_+.7152*v+.0722*C;return L(s,4)}static _relativeLuminanceForComponent(_){const v=_/255;return v<=.03928?v/12.92:Math.pow((v+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(_){const v=this.getRelativeLuminance(),C=_.getRelativeLuminance();return v>C}isDarkerThan(_){const v=this.getRelativeLuminance(),C=_.getRelativeLuminance();return v{throw u.stack?n.isErrorNoTelemetry(u)?new n(u.message+` + +`+u.stack):new Error(u.message+` + +`+u.stack):u},0)}}emit(u){this.listeners.forEach(f=>{f(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}e.ErrorHandler=L,e.errorHandler=new L;function I(r){m(r)||e.errorHandler.onUnexpectedError(r)}e.onUnexpectedError=I;function y(r){m(r)||e.errorHandler.onUnexpectedExternalError(r)}e.onUnexpectedExternalError=y;function D(r){if(r instanceof Error){const{name:u,message:f}=r,d=r.stacktrace||r.stack;return{$isError:!0,name:u,message:f,stack:d,noTelemetry:n.isErrorNoTelemetry(r)}}return r}e.transformErrorForSerialization=D;const S="Canceled";function m(r){return r instanceof _?!0:r instanceof Error&&r.name===S&&r.message===S}e.isCancellationError=m;class _ extends Error{constructor(){super(S),this.name=this.message}}e.CancellationError=_;function v(){const r=new Error(S);return r.name=r.message,r}e.canceled=v;function C(r){return r?new Error(`Illegal argument: ${r}`):new Error("Illegal argument")}e.illegalArgument=C;function s(r){return r?new Error(`Illegal state: ${r}`):new Error("Illegal state")}e.illegalState=s;class i extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}e.NotSupportedError=i;class n extends Error{constructor(u){super(u),this.name="CodeExpectedError"}static fromError(u){if(u instanceof n)return u;const f=new n;return f.message=u.message,f.stack=u.stack,f}static isErrorNoTelemetry(u){return u.name==="CodeExpectedError"}}e.ErrorNoTelemetry=n;class t extends Error{constructor(u){super(u||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}}e.BugIndicatingError=t}),define(te[90],ie([1,0,9]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTrustedTypesPolicy=void 0;function I(y,D){var S;const m=globalThis.MonacoEnvironment;if(m?.createTrustedTypesPolicy)try{return m.createTrustedTypesPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}try{return(S=window.trustedTypes)===null||S===void 0?void 0:S.createPolicy(y,D)}catch(_){(0,L.onUnexpectedError)(_);return}}e.createTrustedTypesPolicy=I}),define(te[96],ie([1,0,9]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkAdjacentItems=e.assertFn=e.assertNever=e.ok=void 0;function I(m,_){if(!m)throw new Error(_?`Assertion failed (${_})`:"Assertion Failed")}e.ok=I;function y(m,_="Unreachable"){throw new Error(_)}e.assertNever=y;function D(m){if(!m()){debugger;m(),(0,L.onUnexpectedError)(new L.BugIndicatingError("Assertion Failed"))}}e.assertFn=D;function S(m,_){let v=0;for(;v=0;a--)yield c[a]}I.reverse=C;function s(c){return!c||c[Symbol.iterator]().next().done===!0}I.isEmpty=s;function i(c){return c[Symbol.iterator]().next().value}I.first=i;function n(c,a){for(const g of c)if(a(g))return!0;return!1}I.some=n;function t(c,a){for(const g of c)if(a(g))return g}I.find=t;function*r(c,a){for(const g of c)a(g)&&(yield g)}I.filter=r;function*u(c,a){let g=0;for(const h of c)yield a(h,g++)}I.map=u;function*f(...c){for(const a of c)for(const g of a)yield g}I.concat=f;function d(c,a,g){let h=g;for(const p of c)h=a(h,p);return h}I.reduce=d;function*l(c,a,g=c.length){for(a<0&&(a+=c.length),g<0?g+=c.length:g>c.length&&(g=c.length);a=98&&d<=113)return null;switch(d){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return I.keyCodeToStr(d)}s.toElectronAccelerator=f})(v||(e.KeyCodeUtils=v={}));function C(s,i){const n=(i&65535)<<16>>>0;return(s|n)>>>0}e.KeyChord=C}),define(te[118],ie([1,0,9]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedChord=e.Keybinding=e.ScanCodeChord=e.KeyCodeChord=e.createSimpleKeybinding=e.decodeKeybinding=void 0;function I(C,s){if(typeof C=="number"){if(C===0)return null;const i=(C&65535)>>>0,n=(C&4294901760)>>>16;return n!==0?new m([y(i,s),y(n,s)]):new m([y(i,s)])}else{const i=[];for(let n=0;nnew Uint8Array(256));let D;class S{static wrap(t){return I&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new S(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return I?this.buffer.toString():(D||(D=new TextDecoder),D.decode(this.buffer))}}e.VSBuffer=S;function m(n,t){return n[t+0]<<0>>>0|n[t+1]<<8>>>0}e.readUInt16LE=m;function _(n,t,r){n[r+0]=t&255,t=t>>>8,n[r+1]=t&255}e.writeUInt16LE=_;function v(n,t){return n[t]*Math.pow(2,24)+n[t+1]*Math.pow(2,16)+n[t+2]*Math.pow(2,8)+n[t+3]}e.readUInt32BE=v;function C(n,t,r){n[r+3]=t,t=t>>>8,n[r+2]=t,t=t>>>8,n[r+1]=t,t=t>>>8,n[r]=t}e.writeUInt32BE=C;function s(n,t){return n[t]}e.readUInt8=s;function i(n,t,r){n[r]=t}e.writeUInt8=i}),define(te[388],ie([1,0,97]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareByPrefix=e.compareAnything=e.compareFileNames=void 0;const I=new L.Lazy(()=>{const v=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:v,collatorIsNumeric:v.resolvedOptions().numeric}}),y=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0})})),D=new L.Lazy(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})}));function S(v,C,s=!1){const i=v||"",n=C||"",t=I.value.collator.compare(i,n);return I.value.collatorIsNumeric&&t===0&&i!==n?in.length)return 1}return 0}e.compareByPrefix=_}),define(te[2],ie([1,0,106,43]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.ImmortalReference=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.markAsDisposed=e.trackDisposable=e.setDisposableTracker=void 0;const y=!1;let D=null;function S(a){D=a}if(e.setDisposableTracker=S,y){const a="__is_disposable_tracked__";S(new class{trackDisposable(g){const h=new Error("Potentially leaked disposable").stack;setTimeout(()=>{g[a]||console.log(h)},3e3)}setParent(g,h){if(g&&g!==f.None)try{g[a]=!0}catch{}}markAsDisposed(g){if(g&&g!==f.None)try{g[a]=!0}catch{}}markAsSingleton(g){}})}function m(a){return D?.trackDisposable(a),a}e.trackDisposable=m;function _(a){D?.markAsDisposed(a)}e.markAsDisposed=_;function v(a,g){D?.setParent(a,g)}function C(a,g){if(D)for(const h of a)D.setParent(h,g)}function s(a){return D?.markAsSingleton(a),a}e.markAsSingleton=s;function i(a){return typeof a.dispose=="function"&&a.dispose.length===0}e.isDisposable=i;function n(a){if(I.Iterable.is(a)){const g=[];for(const h of a)if(h)try{h.dispose()}catch(p){g.push(p)}if(g.length===1)throw g[0];if(g.length>1)throw new AggregateError(g,"Encountered errors while disposing of store");return Array.isArray(a)?[]:a}else if(a)return a.dispose(),a}e.dispose=n;function t(...a){const g=r(()=>n(a));return C(a,g),g}e.combinedDisposable=t;function r(a){const g=m({dispose:(0,L.createSingleCallFunction)(()=>{_(g),a()})});return g}e.toDisposable=r;class u{constructor(){this._toDispose=new Set,this._isDisposed=!1,m(this)}dispose(){this._isDisposed||(_(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{n(this._toDispose)}finally{this._toDispose.clear()}}add(g){if(!g)return g;if(g===this)throw new Error("Cannot register a disposable on itself!");return v(g,this),this._isDisposed?u.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(g),g}deleteAndLeak(g){g&&this._toDispose.has(g)&&(this._toDispose.delete(g),v(g,null))}}e.DisposableStore=u,u.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new u,m(this),v(this._store,this)}dispose(){_(this),this._store.dispose()}_register(g){if(g===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(g)}}e.Disposable=f,f.None=Object.freeze({dispose(){}});class d{constructor(){this._isDisposed=!1,m(this)}get value(){return this._isDisposed?void 0:this._value}set value(g){var h;this._isDisposed||g===this._value||((h=this._value)===null||h===void 0||h.dispose(),g&&v(g,this),this._value=g)}clear(){this.value=void 0}dispose(){var g;this._isDisposed=!0,_(this),(g=this._value)===null||g===void 0||g.dispose(),this._value=void 0}}e.MutableDisposable=d;class l{constructor(g){this._disposable=g,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=l;class o{constructor(g){this.object=g}dispose(){}}e.ImmortalReference=o;class c{constructor(){this._store=new Map,this._isDisposed=!1,m(this)}dispose(){_(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{n(this._store.values())}finally{this._store.clear()}}get(g){return this._store.get(g)}set(g,h,p=!1){var b;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),p||(b=this._store.get(g))===null||b===void 0||b.dispose(),this._store.set(g,h)}deleteAndDispose(g){var h;(h=this._store.get(g))===null||h===void 0||h.dispose(),this._store.delete(g)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=c}),define(te[63],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class L{constructor(D){this.element=D,this.next=L.Undefined,this.prev=L.Undefined}}L.Undefined=new L(void 0);class I{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 D=this._first;for(;D!==L.Undefined;){const S=D.next;D.prev=L.Undefined,D.next=L.Undefined,D=S}this._first=L.Undefined,this._last=L.Undefined,this._size=0}unshift(D){return this._insert(D,!1)}push(D){return this._insert(D,!0)}_insert(D,S){const m=new L(D);if(this._first===L.Undefined)this._first=m,this._last=m;else if(S){const v=this._last;this._last=m,m.prev=v,v.next=m}else{const v=this._first;this._first=m,m.next=v,v.prev=m}this._size+=1;let _=!1;return()=>{_||(_=!0,this._remove(m))}}shift(){if(this._first!==L.Undefined){const D=this._first.element;return this._remove(this._first),D}}pop(){if(this._last!==L.Undefined){const D=this._last.element;return this._remove(this._last),D}}_remove(D){if(D.prev!==L.Undefined&&D.next!==L.Undefined){const S=D.prev;S.next=D.next,D.next.prev=S}else D.prev===L.Undefined&&D.next===L.Undefined?(this._first=L.Undefined,this._last=L.Undefined):D.next===L.Undefined?(this._last=this._last.prev,this._last.next=L.Undefined):D.prev===L.Undefined&&(this._first=this._first.next,this._first.prev=L.Undefined);this._size-=1}*[Symbol.iterator](){let D=this._first;for(;D!==L.Undefined;)yield D.element,D=D.next}}e.LinkedList=I});var Ie=this&&this.__decorate||function($,e,L,I){var y=arguments.length,D=y<3?e:I===null?I=Object.getOwnPropertyDescriptor(e,L):I,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate($,e,L,I);else for(var m=$.length-1;m>=0;m--)(S=$[m])&&(D=(y<3?S(D):y>3?S(e,L,D):S(e,L))||D);return y>3&&D&&Object.defineProperty(e,L,D),D};define(te[389],ie([1,0,105]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLinkedText=e.LinkedText=void 0;class I{constructor(m){this.nodes=m}toString(){return this.nodes.map(m=>typeof m=="string"?m:m.label).join("")}}e.LinkedText=I,Ie([L.memoize],I.prototype,"toString",null);const y=/\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi;function D(S){const m=[];let _=0,v;for(;v=y.exec(S);){v.index-_>0&&m.push(S.substring(_,v.index));const[,C,s,,i]=v;i?m.push({label:C,href:s,title:i}):m.push({label:C,href:s}),_=v.index+v[0].length}return _s.toString();class m{constructor(){this[I]="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 i;return(i=this._head)===null||i===void 0?void 0:i.value}get last(){var i;return(i=this._tail)===null||i===void 0?void 0:i.value}has(i){return this._map.has(i)}get(i,n=0){const t=this._map.get(i);if(t)return n!==0&&this.touch(t,n),t.value}set(i,n,t=0){let r=this._map.get(i);if(r)r.value=n,t!==0&&this.touch(r,t);else{switch(r={key:i,value:n,next:void 0,previous:void 0},t){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(i,r),this._size++}return this}delete(i){return!!this.remove(i)}remove(i){const n=this._map.get(i);if(n)return this._map.delete(i),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const i=this._head;return this._map.delete(i.key),this.removeItem(i),this._size--,i.value}forEach(i,n){const t=this._state;let r=this._head;for(;r;){if(n?i.bind(n)(r.value,r.key,this):i(r.value,r.key,this),this._state!==t)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const i=this,n=this._state;let t=this._head;const r={[Symbol.iterator](){return r},next(){if(i._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const u={value:t.key,done:!1};return t=t.next,u}else return{value:void 0,done:!0}}};return r}values(){const i=this,n=this._state;let t=this._head;const r={[Symbol.iterator](){return r},next(){if(i._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const u={value:t.value,done:!1};return t=t.next,u}else return{value:void 0,done:!0}}};return r}entries(){const i=this,n=this._state;let t=this._head;const r={[Symbol.iterator](){return r},next(){if(i._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const u={value:[t.key,t.value],done:!1};return t=t.next,u}else return{value:void 0,done:!0}}};return r}[(I=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(i){if(i>=this.size)return;if(i===0){this.clear();return}let n=this._head,t=this.size;for(;n&&t>i;)this._map.delete(n.key),n=n.next,t--;this._head=n,this._size=t,n&&(n.previous=void 0),this._state++}addItemFirst(i){if(!this._head&&!this._tail)this._tail=i;else if(this._head)i.next=this._head,this._head.previous=i;else throw new Error("Invalid list");this._head=i,this._state++}addItemLast(i){if(!this._head&&!this._tail)this._head=i;else if(this._tail)i.previous=this._tail,this._tail.next=i;else throw new Error("Invalid list");this._tail=i,this._state++}removeItem(i){if(i===this._head&&i===this._tail)this._head=void 0,this._tail=void 0;else if(i===this._head){if(!i.next)throw new Error("Invalid list");i.next.previous=void 0,this._head=i.next}else if(i===this._tail){if(!i.previous)throw new Error("Invalid list");i.previous.next=void 0,this._tail=i.previous}else{const n=i.next,t=i.previous;if(!n||!t)throw new Error("Invalid list");n.previous=t,t.next=n}i.next=void 0,i.previous=void 0,this._state++}touch(i,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(i===this._head)return;const t=i.next,r=i.previous;i===this._tail?(r.next=void 0,this._tail=r):(t.previous=r,r.next=t),i.previous=void 0,i.next=this._head,this._head.previous=i,this._head=i,this._state++}else if(n===2){if(i===this._tail)return;const t=i.next,r=i.previous;i===this._head?(t.previous=void 0,this._head=t):(t.previous=r,r.next=t),i.next=void 0,i.previous=this._tail,this._tail.next=i,this._tail=i,this._state++}}}toJSON(){const i=[];return this.forEach((n,t)=>{i.push([t,n])}),i}fromJSON(i){this.clear();for(const[n,t]of i)this.set(n,t)}}e.LinkedMap=m;class _ extends m{constructor(i,n=1){super(),this._limit=i,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(i){this._limit=i,this.checkTrim()}get(i,n=2){return super.get(i,n)}peek(i){return super.get(i,0)}set(i,n){return super.set(i,n,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=_;class v{constructor(i){if(this._m1=new Map,this._m2=new Map,i)for(const[n,t]of i)this.set(n,t)}clear(){this._m1.clear(),this._m2.clear()}set(i,n){this._m1.set(i,n),this._m2.set(n,i)}get(i){return this._m1.get(i)}getKey(i){return this._m2.get(i)}delete(i){const n=this._m1.get(i);return n===void 0?!1:(this._m1.delete(i),this._m2.delete(n),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}e.BidirectionalMap=v;class C{constructor(){this.map=new Map}add(i,n){let t=this.map.get(i);t||(t=new Set,this.map.set(i,t)),t.add(n)}delete(i,n){const t=this.map.get(i);t&&(t.delete(n),t.size===0&&this.map.delete(i))}forEach(i,n){const t=this.map.get(i);t&&t.forEach(n)}get(i){const n=this.map.get(i);return n||new Set}}e.SetMap=C}),function($,e){typeof define=="function"&&define.amd?define(te[390],ie([0]),e):typeof exports=="object"&&typeof module<"u"?e(exports):($=typeof globalThis<"u"?globalThis:$||self,e($.marked={}))}(this,function($){"use strict";function e(ce,ae){for(var X=0;Xce.length)&&(ae=ce.length);for(var X=0,K=new Array(ae);X=ce.length?{done:!0}:{done:!1,value:ce[K++]}}}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 S(){return{async:!1,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}}$.defaults=S();function m(ce){$.defaults=ce}var _=/[&<>"']/,v=/[&<>"']/g,C=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"},n=function(ae){return i[ae]};function t(ce,ae){if(ae){if(_.test(ce))return ce.replace(v,n)}else if(C.test(ce))return ce.replace(s,n);return ce}var r=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(ce){return ce.replace(r,function(ae,X){return X=X.toLowerCase(),X==="colon"?":":X.charAt(0)==="#"?X.charAt(1)==="x"?String.fromCharCode(parseInt(X.substring(2),16)):String.fromCharCode(+X.substring(1)):""})}var f=/(^|[^\[])\^/g;function d(ce,ae){ce=typeof ce=="string"?ce:ce.source,ae=ae||"";var X={replace:function(z,Q){return Q=Q.source||Q,Q=Q.replace(f,"$1"),ce=ce.replace(z,Q),X},getRegex:function(){return new RegExp(ce,ae)}};return X}var l=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function c(ce,ae,X){if(ce){var K;try{K=decodeURIComponent(u(X)).replace(l,"").toLowerCase()}catch{return null}if(K.indexOf("javascript:")===0||K.indexOf("vbscript:")===0||K.indexOf("data:")===0)return null}ae&&!o.test(X)&&(X=b(ae,X));try{X=encodeURI(X).replace(/%25/g,"%")}catch{return null}return X}var a={},g=/^[^:]+:\/*[^/]*$/,h=/^([^:]+:)[\s\S]*$/,p=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(ce,ae){a[" "+ce]||(g.test(ce)?a[" "+ce]=ce+"/":a[" "+ce]=M(ce,"/",!0)),ce=a[" "+ce];var X=ce.indexOf(":")===-1;return ae.substring(0,2)==="//"?X?ae:ce.replace(h,"$1")+ae:ae.charAt(0)==="/"?X?ae:ce.replace(p,"$1")+ae:ce+ae}var w={exec:function(){}};function E(ce){for(var ae=1,X,K;ae=0&&re[he]==="\\";)oe=!oe;return oe?"|":" |"}),K=X.split(/ \|/),z=0;if(K[0].trim()||K.shift(),K.length>0&&!K[K.length-1].trim()&&K.pop(),K.length>ae)K.splice(ae);else for(;K.length1;)ae&1&&(X+=ce),ae>>=1,ce+=ce;return X+ce}function N(ce,ae,X,K){var z=ae.href,Q=ae.title?t(ae.title):null,j=ce[1].replace(/\\([\[\]])/g,"$1");if(ce[0].charAt(0)!=="!"){K.state.inLink=!0;var re={type:"link",raw:X,href:z,title:Q,text:j,tokens:K.inlineTokens(j)};return K.state.inLink=!1,re}return{type:"image",raw:X,href:z,title:Q,text:t(j)}}function A(ce,ae){var X=ce.match(/^(\s+)(?:```)/);if(X===null)return ae;var K=X[1];return ae.split(` +`).map(function(z){var Q=z.match(/^\s+/);if(Q===null)return z;var j=Q[0];return j.length>=K.length?z.slice(K.length):z}).join(` +`)}var P=function(){function ce(X){this.options=X||$.defaults}var ae=ce.prototype;return ae.space=function(K){var z=this.rules.block.newline.exec(K);if(z&&z[0].length>0)return{type:"space",raw:z[0]}},ae.code=function(K){var z=this.rules.block.code.exec(K);if(z){var Q=z[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:z[0],codeBlockStyle:"indented",text:this.options.pedantic?Q:M(Q,` +`)}}},ae.fences=function(K){var z=this.rules.block.fences.exec(K);if(z){var Q=z[0],j=A(Q,z[3]||"");return{type:"code",raw:Q,lang:z[2]?z[2].trim():z[2],text:j}}},ae.heading=function(K){var z=this.rules.block.heading.exec(K);if(z){var Q=z[2].trim();if(/#$/.test(Q)){var j=M(Q,"#");(this.options.pedantic||!j||/ $/.test(j))&&(Q=j.trim())}return{type:"heading",raw:z[0],depth:z[1].length,text:Q,tokens:this.lexer.inline(Q)}}},ae.hr=function(K){var z=this.rules.block.hr.exec(K);if(z)return{type:"hr",raw:z[0]}},ae.blockquote=function(K){var z=this.rules.block.blockquote.exec(K);if(z){var Q=z[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:z[0],tokens:this.lexer.blockTokens(Q,[]),text:Q}}},ae.list=function(K){var z=this.rules.block.list.exec(K);if(z){var Q,j,re,oe,he,me,pe,ve,we,Le,Ee,Ae,Re=z[1].trim(),Be=Re.length>1,ye={type:"list",raw:"",ordered:Be,start:Be?+Re.slice(0,-1):"",loose:!1,items:[]};Re=Be?"\\d{1,9}\\"+Re.slice(-1):"\\"+Re,this.options.pedantic&&(Re=Be?Re:"[*+-]");for(var De=new RegExp("^( {0,3}"+Re+")((?:[ ][^\\n]*)?(?:\\n|$))");K&&(Ae=!1,!(!(z=De.exec(K))||this.rules.block.hr.test(K)));){if(Q=z[0],K=K.substring(Q.length),ve=z[2].split(` +`,1)[0],we=K.split(` +`,1)[0],this.options.pedantic?(oe=2,Ee=ve.trimLeft()):(oe=z[2].search(/[^ ]/),oe=oe>4?1:oe,Ee=ve.slice(oe),oe+=z[1].length),me=!1,!ve&&/^ *$/.test(we)&&(Q+=we+` +`,K=K.substring(we.length+1),Ae=!0),!Ae)for(var fe=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),Ce=new RegExp("^ {0,"+Math.min(3,oe-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),Me=new RegExp("^ {0,"+Math.min(3,oe-1)+"}(?:```|~~~)"),Pe=new RegExp("^ {0,"+Math.min(3,oe-1)+"}#");K&&(Le=K.split(` +`,1)[0],ve=Le,this.options.pedantic&&(ve=ve.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Me.test(ve)||Pe.test(ve)||fe.test(ve)||Ce.test(K)));){if(ve.search(/[^ ]/)>=oe||!ve.trim())Ee+=` +`+ve.slice(oe);else if(!me)Ee+=` +`+ve;else break;!me&&!ve.trim()&&(me=!0),Q+=Le+` +`,K=K.substring(Le.length+1)}ye.loose||(pe?ye.loose=!0:/\n *\n *$/.test(Q)&&(pe=!0)),this.options.gfm&&(j=/^\[[ xX]\] /.exec(Ee),j&&(re=j[0]!=="[ ] ",Ee=Ee.replace(/^\[[ xX]\] +/,""))),ye.items.push({type:"list_item",raw:Q,task:!!j,checked:re,loose:!1,text:Ee}),ye.raw+=Q}ye.items[ye.items.length-1].raw=Q.trimRight(),ye.items[ye.items.length-1].text=Ee.trimRight(),ye.raw=ye.raw.trimRight();var Se=ye.items.length;for(he=0;he1)return!0}return!1});!ye.loose&&_e.length&&ke&&(ye.loose=!0,ye.items[he].loose=!0)}return ye}},ae.html=function(K){var z=this.rules.block.html.exec(K);if(z){var Q={type:"html",raw:z[0],pre:!this.options.sanitizer&&(z[1]==="pre"||z[1]==="script"||z[1]==="style"),text:z[0]};if(this.options.sanitize){var j=this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]);Q.type="paragraph",Q.text=j,Q.tokens=this.lexer.inline(j)}return Q}},ae.def=function(K){var z=this.rules.block.def.exec(K);if(z){z[3]&&(z[3]=z[3].substring(1,z[3].length-1));var Q=z[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:Q,raw:z[0],href:z[2],title:z[3]}}},ae.table=function(K){var z=this.rules.block.table.exec(K);if(z){var Q={type:"table",header:k(z[1]).map(function(pe){return{text:pe}}),align:z[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:z[3]&&z[3].trim()?z[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(Q.header.length===Q.align.length){Q.raw=z[0];var j=Q.align.length,re,oe,he,me;for(re=0;re/i.test(z[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(z[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(z[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:z[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(z[0]):t(z[0]):z[0]}},ae.link=function(K){var z=this.rules.inline.link.exec(K);if(z){var Q=z[2].trim();if(!this.options.pedantic&&/^$/.test(Q))return;var j=M(Q.slice(0,-1),"\\");if((Q.length-j.length)%2===0)return}else{var re=R(z[2],"()");if(re>-1){var oe=z[0].indexOf("!")===0?5:4,he=oe+z[1].length+re;z[2]=z[2].substring(0,re),z[0]=z[0].substring(0,he).trim(),z[3]=""}}var me=z[2],pe="";if(this.options.pedantic){var ve=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(me);ve&&(me=ve[1],pe=ve[3])}else pe=z[3]?z[3].slice(1,-1):"";return me=me.trim(),/^$/.test(Q)?me=me.slice(1):me=me.slice(1,-1)),N(z,{href:me&&me.replace(this.rules.inline._escapes,"$1"),title:pe&&pe.replace(this.rules.inline._escapes,"$1")},z[0],this.lexer)}},ae.reflink=function(K,z){var Q;if((Q=this.rules.inline.reflink.exec(K))||(Q=this.rules.inline.nolink.exec(K))){var j=(Q[2]||Q[1]).replace(/\s+/g," ");if(j=z[j.toLowerCase()],!j||!j.href){var re=Q[0].charAt(0);return{type:"text",raw:re,text:re}}return N(Q,j,Q[0],this.lexer)}},ae.emStrong=function(K,z,Q){Q===void 0&&(Q="");var j=this.rules.inline.emStrong.lDelim.exec(K);if(j&&!(j[3]&&Q.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 re=j[1]||j[2]||"";if(!re||re&&(Q===""||this.rules.inline.punctuation.exec(Q))){var oe=j[0].length-1,he,me,pe=oe,ve=0,we=j[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(we.lastIndex=0,z=z.slice(-1*K.length+oe);(j=we.exec(z))!=null;)if(he=j[1]||j[2]||j[3]||j[4]||j[5]||j[6],!!he){if(me=he.length,j[3]||j[4]){pe+=me;continue}else if((j[5]||j[6])&&oe%3&&!((oe+me)%3)){ve+=me;continue}if(pe-=me,!(pe>0)){if(me=Math.min(me,me+pe+ve),Math.min(oe,me)%2){var Le=K.slice(1,oe+j.index+me);return{type:"em",raw:K.slice(0,oe+j.index+me+1),text:Le,tokens:this.lexer.inlineTokens(Le)}}var Ee=K.slice(2,oe+j.index+me-1);return{type:"strong",raw:K.slice(0,oe+j.index+me+1),text:Ee,tokens:this.lexer.inlineTokens(Ee)}}}}}},ae.codespan=function(K){var z=this.rules.inline.code.exec(K);if(z){var Q=z[2].replace(/\n/g," "),j=/[^ ]/.test(Q),re=/^ /.test(Q)&&/ $/.test(Q);return j&&re&&(Q=Q.substring(1,Q.length-1)),Q=t(Q,!0),{type:"codespan",raw:z[0],text:Q}}},ae.br=function(K){var z=this.rules.inline.br.exec(K);if(z)return{type:"br",raw:z[0]}},ae.del=function(K){var z=this.rules.inline.del.exec(K);if(z)return{type:"del",raw:z[0],text:z[2],tokens:this.lexer.inlineTokens(z[2])}},ae.autolink=function(K,z){var Q=this.rules.inline.autolink.exec(K);if(Q){var j,re;return Q[2]==="@"?(j=t(this.options.mangle?z(Q[1]):Q[1]),re="mailto:"+j):(j=t(Q[1]),re=j),{type:"link",raw:Q[0],text:j,href:re,tokens:[{type:"text",raw:j,text:j}]}}},ae.url=function(K,z){var Q;if(Q=this.rules.inline.url.exec(K)){var j,re;if(Q[2]==="@")j=t(this.options.mangle?z(Q[0]):Q[0]),re="mailto:"+j;else{var oe;do oe=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])[0];while(oe!==Q[0]);j=t(Q[0]),Q[1]==="www."?re="http://"+j:re=j}return{type:"link",raw:Q[0],text:j,href:re,tokens:[{type:"text",raw:j,text:j}]}}},ae.inlineText=function(K,z){var Q=this.rules.inline.text.exec(K);if(Q){var j;return this.lexer.state.inRawBlock?j=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Q[0]):t(Q[0]):Q[0]:j=t(this.options.smartypants?z(Q[0]):Q[0]),{type:"text",raw:Q[0],text:j}}},ce}(),O={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}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:w,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};O._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,O.def=d(O.def).replace("label",O._label).replace("title",O._title).getRegex(),O.bullet=/(?:[*+-]|\d{1,9}[.)])/,O.listItemStart=d(/^( *)(bull) */).replace("bull",O.bullet).getRegex(),O.list=d(O.list).replace(/bull/g,O.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+O.def.source+")").getRegex(),O._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",O._comment=/|$)/,O.html=d(O.html,"i").replace("comment",O._comment).replace("tag",O._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O.paragraph=d(O._paragraph).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.blockquote=d(O.blockquote).replace("paragraph",O.paragraph).getRegex(),O.normal=E({},O),O.gfm=E({},O.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),O.gfm.table=d(O.gfm.table).replace("hr",O.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.gfm.paragraph=d(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",O.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.pedantic=E({},O.normal,{html:d(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",O._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,paragraph:d(O.normal._paragraph).replace("hr",O.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",O.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var x={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:w,tag:"^comment|^|^<[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:w,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",x.punctuation=d(x.punctuation).replace(/punctuation/g,x._punctuation).getRegex(),x.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,x.escapedEmSt=/\\\*|\\_/g,x._comment=d(O._comment).replace("(?:-->|$)","-->").getRegex(),x.emStrong.lDelim=d(x.emStrong.lDelim).replace(/punct/g,x._punctuation).getRegex(),x.emStrong.rDelimAst=d(x.emStrong.rDelimAst,"g").replace(/punct/g,x._punctuation).getRegex(),x.emStrong.rDelimUnd=d(x.emStrong.rDelimUnd,"g").replace(/punct/g,x._punctuation).getRegex(),x._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,x._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,x._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])?)+(?![-_])/,x.autolink=d(x.autolink).replace("scheme",x._scheme).replace("email",x._email).getRegex(),x._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,x.tag=d(x.tag).replace("comment",x._comment).replace("attribute",x._attribute).getRegex(),x._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,x._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,x._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,x.link=d(x.link).replace("label",x._label).replace("href",x._href).replace("title",x._title).getRegex(),x.reflink=d(x.reflink).replace("label",x._label).replace("ref",O._label).getRegex(),x.nolink=d(x.nolink).replace("ref",O._label).getRegex(),x.reflinkSearch=d(x.reflinkSearch,"g").replace("reflink",x.reflink).replace("nolink",x.nolink).getRegex(),x.normal=E({},x),x.pedantic=E({},x.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:d(/^!?\[(label)\]\((.*?)\)/).replace("label",x._label).getRegex(),reflink:d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",x._label).getRegex()}),x.gfm=E({},x.normal,{escape:d(x.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&&(K="x"+K.toString(16)),ae+="&#"+K+";";return ae}var F=function(){function ce(X){this.tokens=[],this.tokens.links=Object.create(null),this.options=X||$.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 K={block:O.normal,inline:x.normal};this.options.pedantic?(K.block=O.pedantic,K.inline=x.pedantic):this.options.gfm&&(K.block=O.gfm,this.options.breaks?K.inline=x.breaks:K.inline=x.gfm),this.tokenizer.rules=K}ce.lex=function(K,z){var Q=new ce(z);return Q.lex(K)},ce.lexInline=function(K,z){var Q=new ce(z);return Q.inlineTokens(K)};var ae=ce.prototype;return ae.lex=function(K){K=K.replace(/\r\n|\r/g,` +`),this.blockTokens(K,this.tokens);for(var z;z=this.inlineQueue.shift();)this.inlineTokens(z.src,z.tokens);return this.tokens},ae.blockTokens=function(K,z){var Q=this;z===void 0&&(z=[]),this.options.pedantic?K=K.replace(/\t/g," ").replace(/^ +$/gm,""):K=K.replace(/^( *)(\t+)/gm,function(pe,ve,we){return ve+" ".repeat(we.length)});for(var j,re,oe,he;K;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(pe){return(j=pe.call({lexer:Q},K,z))?(K=K.substring(j.raw.length),z.push(j),!0):!1}))){if(j=this.tokenizer.space(K)){K=K.substring(j.raw.length),j.raw.length===1&&z.length>0?z[z.length-1].raw+=` +`:z.push(j);continue}if(j=this.tokenizer.code(K)){K=K.substring(j.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` +`+j.raw,re.text+=` +`+j.text,this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push(j);continue}if(j=this.tokenizer.fences(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.heading(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.hr(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.blockquote(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.list(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.html(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.def(K)){K=K.substring(j.raw.length),re=z[z.length-1],re&&(re.type==="paragraph"||re.type==="text")?(re.raw+=` +`+j.raw,re.text+=` +`+j.raw,this.inlineQueue[this.inlineQueue.length-1].src=re.text):this.tokens.links[j.tag]||(this.tokens.links[j.tag]={href:j.href,title:j.title});continue}if(j=this.tokenizer.table(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.lheading(K)){K=K.substring(j.raw.length),z.push(j);continue}if(oe=K,this.options.extensions&&this.options.extensions.startBlock&&function(){var pe=1/0,ve=K.slice(1),we=void 0;Q.options.extensions.startBlock.forEach(function(Le){we=Le.call({lexer:this},ve),typeof we=="number"&&we>=0&&(pe=Math.min(pe,we))}),pe<1/0&&pe>=0&&(oe=K.substring(0,pe+1))}(),this.state.top&&(j=this.tokenizer.paragraph(oe))){re=z[z.length-1],he&&re.type==="paragraph"?(re.raw+=` +`+j.raw,re.text+=` +`+j.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push(j),he=oe.length!==K.length,K=K.substring(j.raw.length);continue}if(j=this.tokenizer.text(K)){K=K.substring(j.raw.length),re=z[z.length-1],re&&re.type==="text"?(re.raw+=` +`+j.raw,re.text+=` +`+j.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=re.text):z.push(j);continue}if(K){var me="Infinite loop on byte: "+K.charCodeAt(0);if(this.options.silent){console.error(me);break}else throw new Error(me)}}return this.state.top=!0,z},ae.inline=function(K,z){return z===void 0&&(z=[]),this.inlineQueue.push({src:K,tokens:z}),z},ae.inlineTokens=function(K,z){var Q=this;z===void 0&&(z=[]);var j,re,oe,he=K,me,pe,ve;if(this.tokens.links){var we=Object.keys(this.tokens.links);if(we.length>0)for(;(me=this.tokenizer.rules.inline.reflinkSearch.exec(he))!=null;)we.includes(me[0].slice(me[0].lastIndexOf("[")+1,-1))&&(he=he.slice(0,me.index)+"["+T("a",me[0].length-2)+"]"+he.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(me=this.tokenizer.rules.inline.blockSkip.exec(he))!=null;)he=he.slice(0,me.index)+"["+T("a",me[0].length-2)+"]"+he.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(me=this.tokenizer.rules.inline.escapedEmSt.exec(he))!=null;)he=he.slice(0,me.index)+"++"+he.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;K;)if(pe||(ve=""),pe=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Ee){return(j=Ee.call({lexer:Q},K,z))?(K=K.substring(j.raw.length),z.push(j),!0):!1}))){if(j=this.tokenizer.escape(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.tag(K)){K=K.substring(j.raw.length),re=z[z.length-1],re&&j.type==="text"&&re.type==="text"?(re.raw+=j.raw,re.text+=j.text):z.push(j);continue}if(j=this.tokenizer.link(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.reflink(K,this.tokens.links)){K=K.substring(j.raw.length),re=z[z.length-1],re&&j.type==="text"&&re.type==="text"?(re.raw+=j.raw,re.text+=j.text):z.push(j);continue}if(j=this.tokenizer.emStrong(K,he,ve)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.codespan(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.br(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.del(K)){K=K.substring(j.raw.length),z.push(j);continue}if(j=this.tokenizer.autolink(K,U)){K=K.substring(j.raw.length),z.push(j);continue}if(!this.state.inLink&&(j=this.tokenizer.url(K,U))){K=K.substring(j.raw.length),z.push(j);continue}if(oe=K,this.options.extensions&&this.options.extensions.startInline&&function(){var Ee=1/0,Ae=K.slice(1),Re=void 0;Q.options.extensions.startInline.forEach(function(Be){Re=Be.call({lexer:this},Ae),typeof Re=="number"&&Re>=0&&(Ee=Math.min(Ee,Re))}),Ee<1/0&&Ee>=0&&(oe=K.substring(0,Ee+1))}(),j=this.tokenizer.inlineText(oe,W)){K=K.substring(j.raw.length),j.raw.slice(-1)!=="_"&&(ve=j.raw.slice(-1)),pe=!0,re=z[z.length-1],re&&re.type==="text"?(re.raw+=j.raw,re.text+=j.text):z.push(j);continue}if(K){var Le="Infinite loop on byte: "+K.charCodeAt(0);if(this.options.silent){console.error(Le);break}else throw new Error(Le)}}return z},L(ce,null,[{key:"rules",get:function(){return{block:O,inline:x}}}]),ce}(),G=function(){function ce(X){this.options=X||$.defaults}var ae=ce.prototype;return ae.code=function(K,z,Q){var j=(z||"").match(/\S*/)[0];if(this.options.highlight){var re=this.options.highlight(K,j);re!=null&&re!==K&&(Q=!0,K=re)}return K=K.replace(/\n$/,"")+` +`,j?'
    '+(Q?K:t(K,!0))+`
    +`:"
    "+(Q?K:t(K,!0))+`
    +`},ae.blockquote=function(K){return`
    +`+K+`
    +`},ae.html=function(K){return K},ae.heading=function(K,z,Q,j){if(this.options.headerIds){var re=this.options.headerPrefix+j.slug(Q);return"'+K+" +`}return""+K+" +`},ae.hr=function(){return this.options.xhtml?`
    +`:`
    +`},ae.list=function(K,z,Q){var j=z?"ol":"ul",re=z&&Q!==1?' start="'+Q+'"':"";return"<"+j+re+`> +`+K+" +`},ae.listitem=function(K){return"
  • "+K+`
  • +`},ae.checkbox=function(K){return" "},ae.paragraph=function(K){return"

    "+K+`

    +`},ae.table=function(K,z){return z&&(z=""+z+""),` + +`+K+` +`+z+`
    +`},ae.tablerow=function(K){return` +`+K+` +`},ae.tablecell=function(K,z){var Q=z.header?"th":"td",j=z.align?"<"+Q+' align="'+z.align+'">':"<"+Q+">";return j+K+(" +`)},ae.strong=function(K){return""+K+""},ae.em=function(K){return""+K+""},ae.codespan=function(K){return""+K+""},ae.br=function(){return this.options.xhtml?"
    ":"
    "},ae.del=function(K){return""+K+""},ae.link=function(K,z,Q){if(K=c(this.options.sanitize,this.options.baseUrl,K),K===null)return Q;var j='",j},ae.image=function(K,z,Q){if(K=c(this.options.sanitize,this.options.baseUrl,K),K===null)return Q;var j=''+Q+'":">",j},ae.text=function(K){return K},ce}(),Y=function(){function ce(){}var ae=ce.prototype;return ae.strong=function(K){return K},ae.em=function(K){return K},ae.codespan=function(K){return K},ae.del=function(K){return K},ae.html=function(K){return K},ae.text=function(K){return K},ae.link=function(K,z,Q){return""+Q},ae.image=function(K,z,Q){return""+Q},ae.br=function(){return""},ce}(),ne=function(){function ce(){this.seen={}}var ae=ce.prototype;return ae.serialize=function(K){return K.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ae.getNextSafeSlug=function(K,z){var Q=K,j=0;if(this.seen.hasOwnProperty(Q)){j=this.seen[K];do j++,Q=K+"-"+j;while(this.seen.hasOwnProperty(Q))}return z||(this.seen[K]=j,this.seen[Q]=0),Q},ae.slug=function(K,z){z===void 0&&(z={});var Q=this.serialize(K);return this.getNextSafeSlug(Q,z.dryrun)},ce}(),se=function(){function ce(X){this.options=X||$.defaults,this.options.renderer=this.options.renderer||new G,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Y,this.slugger=new ne}ce.parse=function(K,z){var Q=new ce(z);return Q.parse(K)},ce.parseInline=function(K,z){var Q=new ce(z);return Q.parseInline(K)};var ae=ce.prototype;return ae.parse=function(K,z){z===void 0&&(z=!0);var Q="",j,re,oe,he,me,pe,ve,we,Le,Ee,Ae,Re,Be,ye,De,fe,Ce,Me,Pe,Se=K.length;for(j=0;j0&&De.tokens[0].type==="paragraph"?(De.tokens[0].text=Me+" "+De.tokens[0].text,De.tokens[0].tokens&&De.tokens[0].tokens.length>0&&De.tokens[0].tokens[0].type==="text"&&(De.tokens[0].tokens[0].text=Me+" "+De.tokens[0].tokens[0].text)):De.tokens.unshift({type:"text",text:Me}):ye+=Me),ye+=this.parse(De.tokens,Be),Le+=this.renderer.listitem(ye,Ce,fe);Q+=this.renderer.list(Le,Ae,Re);continue}case"html":{Q+=this.renderer.html(Ee.text);continue}case"paragraph":{Q+=this.renderer.paragraph(this.parseInline(Ee.tokens));continue}case"text":{for(Le=Ee.tokens?this.parseInline(Ee.tokens):Ee.text;j+1"u"||ce===null)throw new Error("marked(): input parameter is undefined or null");if(typeof ce!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(ce)+", string expected");if(typeof ae=="function"&&(X=ae,ae=null),ae=E({},J.defaults,ae||{}),B(ae),X){var K=ae.highlight,z;try{z=F.lex(ce,ae)}catch(he){return X(he)}var Q=function(me){var pe;if(!me)try{ae.walkTokens&&J.walkTokens(z,ae.walkTokens),pe=se.parse(z,ae)}catch(ve){me=ve}return ae.highlight=K,me?X(me):X(null,pe)};if(!K||K.length<3||(delete ae.highlight,!z.length))return Q();var j=0;J.walkTokens(z,function(he){he.type==="code"&&(j++,setTimeout(function(){K(he.text,he.lang,function(me,pe){if(me)return Q(me);pe!=null&&pe!==he.text&&(he.text=pe,he.escaped=!0),j--,j===0&&Q()})},0))}),j===0&&Q();return}function re(he){if(he.message+=` +Please report this to https://github.com/markedjs/marked.`,ae.silent)return"

    An error occurred:

    "+t(he.message+"",!0)+"
    ";throw he}try{var oe=F.lex(ce,ae);if(ae.walkTokens){if(ae.async)return Promise.all(J.walkTokens(oe,ae.walkTokens)).then(function(){return se.parse(oe,ae)}).catch(re);J.walkTokens(oe,ae.walkTokens)}return se.parse(oe,ae)}catch(he){re(he)}}J.options=J.setOptions=function(ce){return E(J.defaults,ce),m(J.defaults),J},J.getDefaults=S,J.defaults=$.defaults,J.use=function(){for(var ce=arguments.length,ae=new Array(ce),X=0;X"u"||ce===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof ce!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(ce)+", string expected");ae=E({},J.defaults,ae||{}),B(ae);try{var X=F.lexInline(ce,ae);return ae.walkTokens&&J.walkTokens(X,ae.walkTokens),se.parseInline(X,ae)}catch(K){if(K.message+=` +Please report this to https://github.com/markedjs/marked.`,ae.silent)return"

    An error occurred:

    "+t(K.message+"",!0)+"
    ";throw K}},J.Parser=se,J.parser=se.parse,J.Renderer=G,J.TextRenderer=Y,J.Lexer=F,J.lexer=F.lex,J.Tokenizer=P,J.Slugger=ne,J.parse=J;var q=J.options,H=J.setOptions,V=J.use,Z=J.walkTokens,ee=J.parseInline,le=J,ue=se.parse,de=F.lex;$.Lexer=F,$.Parser=se,$.Renderer=G,$.Slugger=ne,$.TextRenderer=Y,$.Tokenizer=P,$.getDefaults=S,$.lexer=de,$.marked=J,$.options=q,$.parse=le,$.parseInline=ee,$.parser=ue,$.setOptions=H,$.use=V,$.walkTokens=Z,Object.defineProperty($,"__esModule",{value:!0})}),define(te[107],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0,e.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),define(te[196],ie([1,0,107]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:L.Mimes.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}}),define(te[391],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class L{constructor(y,D=0,S=y.length,m=D-1){this.items=y,this.start=D,this.end=S,this.index=m}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[392],ie([1,0,391]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class I{constructor(D=[],S=10){this._initialize(D),this._limit=S,this._onChange()}getHistory(){return this._elements}add(D){this._history.delete(D),this._history.add(D),this._onChange()}next(){return this._navigator.next()}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}isLast(){return this._currentPosition()>=this._elements.length-1}isNowhere(){return this._navigator.current()===null}has(D){return this._history.has(D)}_onChange(){this._reduceToLimit();const D=this._elements;this._navigator=new L.ArrayNavigator(D,0,D.length,D.length)}_reduceToLimit(){const D=this._elements;D.length>this._limit&&this._initialize(D.slice(D.length-this._limit))}_currentPosition(){const D=this._navigator.current();return D?this._elements.indexOf(D):-1}_initialize(D){this._history=new Set;for(const S of D)this._history.add(S)}get _elements(){const D=[];return this._history.forEach(S=>D.push(S)),D}}e.HistoryNavigator=I}),define(te[139],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function L(D,S,m){return Math.min(Math.max(D,S),m)}e.clamp=L;class I{constructor(){this._n=1,this._val=0}update(S){return this._val=this._val+(S-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=I;class y{constructor(S){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(S),this._values.fill(0,0,S)}update(S){const m=this._values[this._index];return this._values[this._index]=S,this._index=(this._index+1)%this._values.length,this._sum-=m,this._sum+=S,this._nf.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(u){const f=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(d,l)=>(this.changedObservablesSets.get(u).add(d),f.apply(u,[d,l]))}handleDerivedRecomputed(u,f){const d=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("derived recomputed"),v(u.debugName,{color:"BlueViolet"}),...this.formatInfo(f),this.formatChanges(d),{data:[{fn:u._computeFn}]}])),d.clear()}handleFromEventObservableTriggered(u,f){console.log(...this.textToConsoleArgs([_("observable from event triggered"),v(u.debugName,{color:"BlueViolet"}),...this.formatInfo(f),{data:[{fn:u._getValue}]}]))}handleAutorunCreated(u){const f=u.handleChange;this.changedObservablesSets.set(u,new Set),u.handleChange=(d,l)=>(this.changedObservablesSets.get(u).add(d),f.apply(u,[d,l]))}handleAutorunTriggered(u){const f=this.changedObservablesSets.get(u);console.log(...this.textToConsoleArgs([_("autorun"),v(u.debugName,{color:"BlueViolet"}),this.formatChanges(f),{data:[{fn:u._runFn}]}])),f.clear(),this.indentation++}handleAutorunFinished(u){this.indentation--}handleBeginTransaction(u){let f=u.getDebugName();f===void 0&&(f=""),console.log(...this.textToConsoleArgs([_("transaction"),v(f,{color:"BlueViolet"}),{data:[{fn:u._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}e.ConsoleObservableLogger=D;function S(r){const u=new Array,f=[];let d="";function l(c){if("length"in c)for(const a of c)a&&l(a);else"text"in c?(d+=`%c${c.text}`,u.push(c.style),c.data&&f.push(...c.data)):"data"in c&&f.push(...c.data)}l(r);const o=[d,...u];return o.push(...f),o}function m(r){return v(r,{color:"black"})}function _(r){return v(t(`${r}: `,10),{color:"black",bold:!0})}function v(r,u={color:"black"}){function f(l){return Object.entries(l).reduce((o,[c,a])=>`${o}${c}:${a};`,"")}const d={color:u.color};return u.strikeThrough&&(d["text-decoration"]="line-through"),u.bold&&(d["font-weight"]="bold"),{text:r,style:f(d)}}function C(r,u){switch(typeof r){case"number":return""+r;case"string":return r.length+2<=u?`"${r}"`:`"${r.substr(0,u-7)}"+...`;case"boolean":return r?"true":"false";case"undefined":return"undefined";case"object":return r===null?"null":Array.isArray(r)?s(r,u):i(r,u);case"symbol":return r.toString();case"function":return`[[Function${r.name?" "+r.name:""}]]`;default:return""+r}}function s(r,u){let f="[ ",d=!0;for(const l of r){if(d||(f+=", "),f.length-5>u){f+="...";break}d=!1,f+=`${C(l,u-f.length)}`}return f+=" ]",f}function i(r,u){let f="{ ",d=!0;for(const[l,o]of Object.entries(r)){if(d||(f+=", "),f.length-5>u){f+="...";break}d=!1,f+=`${l}: ${C(o,u-f.length)}`}return f+=" }",f}function n(r,u){let f="";for(let d=1;d<=u;d++)f+=r;return f}function t(r,u){for(;r.length{const c=s(o);if(c!==void 0)return c;const g=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(o.toString());if(g)return`${this.debugName}.${g[2]}`;if(!l)return`${this.debugName} (mapped)`}},c=>o(this.read(c),c))}}e.ConvenientObservable=D;class S extends D{constructor(){super(...arguments),this.observers=new Set}addObserver(f){const d=this.observers.size;this.observers.add(f),d===0&&this.onFirstObserverAdded()}removeObserver(f){this.observers.delete(f)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}e.BaseObservable=S;function m(u,f){const d=new v(u,f);try{u(d)}finally{d.finish()}}e.transaction=m;function _(u,f,d){u?f(u):m(f,d)}e.subtransaction=_;class v{constructor(f,d){var l;this._fn=f,this._getDebugName=d,this.updatingObservers=[],(l=(0,L.getLogger)())===null||l===void 0||l.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():s(this._fn)}updateObserver(f,d){this.updatingObservers.push({observer:f,observable:d}),f.beginUpdate(d)}finish(){var f;const d=this.updatingObservers;this.updatingObservers=null;for(const{observer:l,observable:o}of d)l.endUpdate(o);(f=(0,L.getLogger)())===null||f===void 0||f.handleEndTransaction()}}e.TransactionImpl=v;function C(u,f,d,l){let o;if(u!==void 0)if(typeof u=="function"){if(o=u(),o!==void 0)return o}else return u;if(f!==void 0&&(o=s(f),o!==void 0))return o;if(d!==void 0){for(const c in d)if(d[c]===l)return c}}e.getDebugName=C;function s(u){const f=u.toString(),l=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(f),o=l?l[1]:void 0;return o?.trim()}e.getFunctionName=s;function i(u,f){return typeof u=="string"?new n(void 0,u,f):new n(u,void 0,f)}e.observableValue=i;class n extends S{get debugName(){var f;return(f=C(this._debugName,void 0,this._owner,this))!==null&&f!==void 0?f:"ObservableValue"}constructor(f,d,l){super(),this._owner=f,this._debugName=d,this._value=l}get(){return this._value}set(f,d,l){var o;if(this._value===f)return;let c;d||(d=c=new v(()=>{},()=>`Setting ${this.debugName}`));try{const a=this._value;this._setValue(f),(o=(0,L.getLogger)())===null||o===void 0||o.handleObservableChanged(this,{oldValue:a,newValue:f,change:l,didChange:!0,hadValue:!0});for(const g of this.observers)d.updateObserver(g,this),g.handleChange(this,l)}finally{c&&c.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(f){this._value=f}}e.ObservableValue=n;function t(u,f){return typeof u=="string"?new r(void 0,u,f):new r(u,void 0,f)}e.disposableObservableValue=t;class r extends n{_setValue(f){this._value!==f&&(this._value&&this._value.dispose(),this._value=f)}dispose(){var f;(f=this._value)===null||f===void 0||f.dispose()}}e.DisposableObservableValue=r}),define(te[261],ie([1,0,96,2,164,140]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutorunObserver=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.autorunOpts=void 0;function S(s,i){return new C(s.debugName,i,void 0,void 0)}e.autorunOpts=S;function m(s){return new C(void 0,s,void 0,void 0)}e.autorun=m;function _(s,i){return new C(s.debugName,i,s.createEmptyChangeSummary,s.handleChange)}e.autorunHandleChanges=_;function v(s){const i=new I.DisposableStore,n=S({debugName:()=>(0,y.getFunctionName)(s)||"(anonymous)"},t=>{i.clear(),s(t,i)});return(0,I.toDisposable)(()=>{n.dispose(),i.dispose()})}e.autorunWithStore=v;class C{get debugName(){if(typeof this._debugName=="string")return this._debugName;if(typeof this._debugName=="function"){const n=this._debugName();if(n!==void 0)return n}const i=(0,y.getFunctionName)(this._runFn);return i!==void 0?i:"(anonymous)"}constructor(i,n,t,r){var u,f;this._debugName=i,this._runFn=n,this.createChangeSummary=t,this._handleChange=r,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=(u=this.createChangeSummary)===null||u===void 0?void 0:u.call(this),(f=(0,D.getLogger)())===null||f===void 0||f.handleAutorunCreated(this),this._runIfNeeded(),(0,I.trackDisposable)(this)}dispose(){this.disposed=!0;for(const i of this.dependencies)i.removeObserver(this);this.dependencies.clear(),(0,I.markAsDisposed)(this)}_runIfNeeded(){var i,n,t;if(this.state===3)return;const r=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=r,this.state=3;try{if(!this.disposed){(i=(0,D.getLogger)())===null||i===void 0||i.handleAutorunTriggered(this);const u=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this),this._runFn(this,u)}}finally{(t=(0,D.getLogger)())===null||t===void 0||t.handleAutorunFinished(this);for(const u of this.dependenciesToBeRemoved)u.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){this.state===3&&(this.state=1),this.updateCount++}endUpdate(){if(this.updateCount===1)do{if(this.state===1){this.state=3;for(const i of this.dependencies)if(i.reportChanges(),this.state===2)break}this._runIfNeeded()}while(this.state!==3);this.updateCount--,(0,L.assertFn)(()=>this.updateCount>=0)}handlePossibleChange(i){this.state===3&&this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(this.state=1)}handleChange(i,n){this.dependencies.has(i)&&!this.dependenciesToBeRemoved.has(i)&&(!this._handleChange||this._handleChange({changedObservable:i,change:n,didChange:r=>r===i},this.changeSummary))&&(this.state=2)}readObservable(i){if(this.disposed)return i.get();i.addObserver(this);const n=i.get();return this.dependencies.add(i),this.dependenciesToBeRemoved.delete(i),n}}e.AutorunObserver=C,function(s){s.Observer=C}(m||(e.autorun=m={}))}),define(te[393],ie([1,0,9,2,164,140]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Derived=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=void 0;const S=(i,n)=>i===n;function m(i,n){return n!==void 0?new s(i,void 0,n,void 0,void 0,void 0,S):new s(void 0,void 0,i,void 0,void 0,void 0,S)}e.derived=m;function _(i,n){var t;return new s(i.owner,i.debugName,n,void 0,void 0,void 0,(t=i.equalityComparer)!==null&&t!==void 0?t:S)}e.derivedOpts=_;function v(i,n){var t;return new s(i.owner,i.debugName,n,i.createEmptyChangeSummary,i.handleChange,void 0,(t=i.equalityComparer)!==null&&t!==void 0?t:S)}e.derivedHandleChanges=v;function C(i,n){let t,r;n===void 0?(t=i,r=void 0):(r=i,t=n);const u=new I.DisposableStore;return new s(r,()=>{var f;return(f=(0,y.getFunctionName)(t))!==null&&f!==void 0?f:"(anonymous)"},f=>(u.clear(),t(f,u)),void 0,void 0,()=>u.dispose(),S)}e.derivedWithStore=C,(0,y._setDerivedOpts)(m);class s extends y.BaseObservable{get debugName(){var n;return(n=(0,y.getDebugName)(this._debugName,this._computeFn,this._owner,this))!==null&&n!==void 0?n:"(anonymous)"}constructor(n,t,r,u,f,d=void 0,l){var o,c;super(),this._owner=n,this._debugName=t,this._computeFn=r,this.createChangeSummary=u,this._handleChange=f,this._handleLastObserverRemoved=d,this._equalityComparator=l,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=(o=this.createChangeSummary)===null||o===void 0?void 0:o.call(this),(c=(0,D.getLogger)())===null||c===void 0||c.handleDerivedCreated(this)}onLastObserverRemoved(){var n;this.state=0,this.value=void 0;for(const t of this.dependencies)t.removeObserver(this);this.dependencies.clear(),(n=this._handleLastObserverRemoved)===null||n===void 0||n.call(this)}get(){var n;if(this.observers.size===0){const t=this._computeFn(this,(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this));return this.onLastObserverRemoved(),t}else{do{if(this.state===1){for(const t of this.dependencies)if(t.reportChanges(),this.state===2)break}this.state===1&&(this.state=3),this._recomputeIfNeeded()}while(this.state!==3);return this.value}}_recomputeIfNeeded(){var n,t;if(this.state===3)return;const r=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=r;const u=this.state!==0,f=this.value;this.state=3;const d=this.changeSummary;this.changeSummary=(n=this.createChangeSummary)===null||n===void 0?void 0:n.call(this);try{this.value=this._computeFn(this,d)}finally{for(const o of this.dependenciesToBeRemoved)o.removeObserver(this);this.dependenciesToBeRemoved.clear()}const l=u&&!this._equalityComparator(f,this.value);if((t=(0,D.getLogger)())===null||t===void 0||t.handleDerivedRecomputed(this,{oldValue:f,newValue:this.value,change:void 0,didChange:l,hadValue:u}),l)for(const o of this.observers)o.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(n){this.updateCount++;const t=this.updateCount===1;if(this.state===3&&(this.state=1,!t))for(const r of this.observers)r.handlePossibleChange(this);if(t)for(const r of this.observers)r.beginUpdate(this)}endUpdate(n){if(this.updateCount--,this.updateCount===0){const t=[...this.observers];for(const r of t)r.endUpdate(this)}if(this.updateCount<0)throw new L.BugIndicatingError}handlePossibleChange(n){if(this.state===3&&this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){this.state=1;for(const t of this.observers)t.handlePossibleChange(this)}}handleChange(n,t){if(this.dependencies.has(n)&&!this.dependenciesToBeRemoved.has(n)){const r=this._handleChange?this._handleChange({changedObservable:n,change:t,didChange:f=>f===n},this.changeSummary):!0,u=this.state===3;if(r&&(this.state===1||u)&&(this.state=2,u))for(const f of this.observers)f.handlePossibleChange(this)}}readObservable(n){n.addObserver(this);const t=n.get();return this.dependencies.add(n),this.dependenciesToBeRemoved.delete(n),t}addObserver(n){const t=!this.observers.has(n)&&this.updateCount>0;super.addObserver(n),t&&n.beginUpdate(this)}removeObserver(n){const t=this.observers.has(n)&&this.updateCount>0;super.removeObserver(n),t&&n.endUpdate(this)}}e.Derived=s}),define(te[394],ie([1,0,2,261,164,140]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.recomputeInitiallyAndOnChange=e.observableSignal=e.observableSignalFromEvent=e.FromEventObservable=e.observableFromEvent=e.waitForState=e.constObservable=void 0;function S(f){return new m(f)}e.constObservable=S;class m extends y.ConvenientObservable{constructor(d){super(),this.value=d}get debugName(){return this.toString()}get(){return this.value}addObserver(d){}removeObserver(d){}toString(){return`Const: ${this.value}`}}function _(f,d){return new Promise(l=>{let o=!1,c=!1;const a=(0,I.autorun)(g=>{const h=f.read(g);d(h)&&(o?a.dispose():c=!0,l(h))});o=!0,c&&a.dispose()})}e.waitForState=_;function v(f,d){return new C(f,d)}e.observableFromEvent=v;class C extends y.BaseObservable{constructor(d,l){super(),this.event=d,this._getValue=l,this.hasValue=!1,this.handleEvent=o=>{var c;const a=this._getValue(o),g=!this.hasValue||this.value!==a;(c=(0,D.getLogger)())===null||c===void 0||c.handleFromEventObservableTriggered(this,{oldValue:this.value,newValue:a,change:void 0,didChange:g,hadValue:this.hasValue}),g&&(this.value=a,this.hasValue&&(0,y.transaction)(h=>{for(const p of this.observers)h.updateObserver(p,this),p.handleChange(this,void 0)},()=>{const h=this.getDebugName();return"Event fired"+(h?`: ${h}`:"")}),this.hasValue=!0)}}getDebugName(){return(0,y.getFunctionName)(this._getValue)}get debugName(){const d=this.getDebugName();return"From Event"+(d?`: ${d}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}e.FromEventObservable=C,function(f){f.Observer=C}(v||(e.observableFromEvent=v={}));function s(f,d){return new i(f,d)}e.observableSignalFromEvent=s;class i extends y.BaseObservable{constructor(d,l){super(),this.debugName=d,this.event=l,this.handleEvent=()=>{(0,y.transaction)(o=>{for(const c of this.observers)o.updateObserver(c,this),c.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function n(f){return typeof f=="string"?new t(f):new t(void 0,f)}e.observableSignal=n;class t extends y.BaseObservable{get debugName(){var d;return(d=(0,y.getDebugName)(this._debugName,void 0,this._owner,this))!==null&&d!==void 0?d:"Observable Signal"}constructor(d,l){super(),this._debugName=d,this._owner=l}trigger(d,l){if(!d){(0,y.transaction)(o=>{this.trigger(o,l)},()=>`Trigger signal ${this.debugName}`);return}for(const o of this.observers)d.updateObserver(o,this),o.handleChange(this,l)}get(){}}function r(f){const d=new u(!0);return f.addObserver(d),f.reportChanges(),(0,L.toDisposable)(()=>{f.removeObserver(d)})}e.recomputeInitiallyAndOnChange=r;class u{constructor(d){this.forceRecompute=d,this.counter=0}beginUpdate(d){this.counter++}endUpdate(d){this.counter--,this.counter===0&&this.forceRecompute&&d.reportChanges()}handlePossibleChange(d){}handleChange(d,l){}}}),define(te[40],ie([1,0,164,393,261,394,140]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waitForState=e.observableSignalFromEvent=e.observableSignal=e.observableFromEvent=e.recomputeInitiallyAndOnChange=e.constObservable=e.autorunOpts=e.autorunWithStore=e.autorunHandleChanges=e.autorun=e.derivedWithStore=e.derivedHandleChanges=e.derivedOpts=e.derived=e.subtransaction=e.transaction=e.disposableObservableValue=e.observableValue=void 0,Object.defineProperty(e,"observableValue",{enumerable:!0,get:function(){return L.observableValue}}),Object.defineProperty(e,"disposableObservableValue",{enumerable:!0,get:function(){return L.disposableObservableValue}}),Object.defineProperty(e,"transaction",{enumerable:!0,get:function(){return L.transaction}}),Object.defineProperty(e,"subtransaction",{enumerable:!0,get:function(){return L.subtransaction}}),Object.defineProperty(e,"derived",{enumerable:!0,get:function(){return I.derived}}),Object.defineProperty(e,"derivedOpts",{enumerable:!0,get:function(){return I.derivedOpts}}),Object.defineProperty(e,"derivedHandleChanges",{enumerable:!0,get:function(){return I.derivedHandleChanges}}),Object.defineProperty(e,"derivedWithStore",{enumerable:!0,get:function(){return I.derivedWithStore}}),Object.defineProperty(e,"autorun",{enumerable:!0,get:function(){return y.autorun}}),Object.defineProperty(e,"autorunHandleChanges",{enumerable:!0,get:function(){return y.autorunHandleChanges}}),Object.defineProperty(e,"autorunWithStore",{enumerable:!0,get:function(){return y.autorunWithStore}}),Object.defineProperty(e,"autorunOpts",{enumerable:!0,get:function(){return y.autorunOpts}}),Object.defineProperty(e,"constObservable",{enumerable:!0,get:function(){return D.constObservable}}),Object.defineProperty(e,"recomputeInitiallyAndOnChange",{enumerable:!0,get:function(){return D.recomputeInitiallyAndOnChange}}),Object.defineProperty(e,"observableFromEvent",{enumerable:!0,get:function(){return D.observableFromEvent}}),Object.defineProperty(e,"observableSignal",{enumerable:!0,get:function(){return D.observableSignal}}),Object.defineProperty(e,"observableSignalFromEvent",{enumerable:!0,get:function(){return D.observableSignalFromEvent}}),Object.defineProperty(e,"waitForState",{enumerable:!0,get:function(){return D.waitForState}}),!1&&(0,S.setLogger)(new S.ConsoleObservableLogger)}),define(te[165],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Range=void 0;var L;(function(I){function y(_,v){if(_.start>=v.end||v.start>=_.end)return{start:0,end:0};const C=Math.max(_.start,v.start),s=Math.min(_.end,v.end);return s-C<=0?{start:0,end:0}:{start:C,end:s}}I.intersect=y;function D(_){return _.end-_.start<=0}I.isEmpty=D;function S(_,v){return!D(y(_,v))}I.intersects=S;function m(_,v){const C=[],s={start:_.start,end:Math.min(v.start,_.end)},i={start:Math.max(v.end,_.start),end:_.end};return D(s)||C.push(s),D(i)||C.push(i),C}I.relativeComplement=m})(L||(e.Range=L={}))}),define(te[395],ie([1,0,165]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function I(_,v){const C=[];for(const s of v){if(_.start>=s.range.end)continue;if(_.endv.concat(C),[]))}class m{get paddingTop(){return this._paddingTop}set paddingTop(v){this._size=this._size+v-this._paddingTop,this._paddingTop=v}constructor(v){this.groups=[],this._size=0,this._paddingTop=0,this._paddingTop=v??0,this._size=this._paddingTop}splice(v,C,s=[]){const i=s.length-C,n=I({start:0,end:v},this.groups),t=I({start:v+C,end:Number.POSITIVE_INFINITY},this.groups).map(u=>({range:y(u.range,i),size:u.size})),r=s.map((u,f)=>({range:{start:v+f,end:v+f+1},size:u.size}));this.groups=S(n,r,t),this._size=this._paddingTop+this.groups.reduce((u,f)=>u+f.size*(f.range.end-f.range.start),0)}get count(){const v=this.groups.length;return v?this.groups[v-1].range.end:0}get size(){return this._size}indexAt(v){if(v<0)return-1;if(vy.Disposable.None;function w(ce){if(_){const{onDidAddListener:ae}=ce,X=n.create();let K=0;ce.onDidAddListener=()=>{++K===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),X.print()),ae?.()}}}function E(ce,ae){return x(ce,()=>{},0,void 0,!0,void 0,ae)}b.defer=E;function k(ce){return(ae,X=null,K)=>{let z=!1,Q;return Q=ce(j=>{if(!z)return Q?Q.dispose():z=!0,ae.call(X,j)},null,K),z&&Q.dispose(),Q}}b.once=k;function M(ce,ae,X){return P((K,z=null,Q)=>ce(j=>K.call(z,ae(j)),null,Q),X)}b.map=M;function R(ce,ae,X){return P((K,z=null,Q)=>ce(j=>{ae(j),K.call(z,j)},null,Q),X)}b.forEach=R;function B(ce,ae,X){return P((K,z=null,Q)=>ce(j=>ae(j)&&K.call(z,j),null,Q),X)}b.filter=B;function T(ce){return ce}b.signal=T;function N(...ce){return(ae,X=null,K)=>{const z=(0,y.combinedDisposable)(...ce.map(Q=>Q(j=>ae.call(X,j))));return O(z,K)}}b.any=N;function A(ce,ae,X,K){let z=X;return M(ce,Q=>(z=ae(z,Q),z),K)}b.reduce=A;function P(ce,ae){let X;const K={onWillAddFirstListener(){X=ce(z.fire,z)},onDidRemoveLastListener(){X?.dispose()}};ae||w(K);const z=new f(K);return ae?.add(z),z.event}function O(ce,ae){return ae instanceof Array?ae.push(ce):ae&&ae.add(ce),ce}function x(ce,ae,X=100,K=!1,z=!1,Q,j){let re,oe,he,me=0,pe;const ve={leakWarningThreshold:Q,onWillAddFirstListener(){re=ce(Le=>{me++,oe=ae(oe,Le),K&&!he&&(we.fire(oe),oe=void 0),pe=()=>{const Ee=oe;oe=void 0,he=void 0,(!K||me>1)&&we.fire(Ee),me=0},typeof X=="number"?(clearTimeout(he),he=setTimeout(pe,X)):he===void 0&&(he=0,queueMicrotask(pe))})},onWillRemoveListener(){z&&me>0&&pe?.()},onDidRemoveLastListener(){pe=void 0,re.dispose()}};j||w(ve);const we=new f(ve);return j?.add(we),we.event}b.debounce=x;function W(ce,ae=0,X){return b.debounce(ce,(K,z)=>K?(K.push(z),K):[z],ae,void 0,!0,void 0,X)}b.accumulate=W;function U(ce,ae=(K,z)=>K===z,X){let K=!0,z;return B(ce,Q=>{const j=K||!ae(Q,z);return K=!1,z=Q,j},X)}b.latch=U;function F(ce,ae,X){return[b.filter(ce,ae,X),b.filter(ce,K=>!ae(K),X)]}b.split=F;function G(ce,ae=!1,X=[],K){let z=X.slice(),Q=ce(oe=>{z?z.push(oe):re.fire(oe)});K&&K.add(Q);const j=()=>{z?.forEach(oe=>re.fire(oe)),z=null},re=new f({onWillAddFirstListener(){Q||(Q=ce(oe=>re.fire(oe)),K&&K.add(Q))},onDidAddFirstListener(){z&&(ae?setTimeout(j):j())},onDidRemoveLastListener(){Q&&Q.dispose(),Q=null}});return K&&K.add(re),re.event}b.buffer=G;function Y(ce,ae){return(K,z,Q)=>{const j=ae(new se);return ce(function(re){const oe=j.evaluate(re);oe!==ne&&K.call(z,oe)},void 0,Q)}}b.chain=Y;const ne=Symbol("HaltChainable");class se{constructor(){this.steps=[]}map(ae){return this.steps.push(ae),this}forEach(ae){return this.steps.push(X=>(ae(X),X)),this}filter(ae){return this.steps.push(X=>ae(X)?X:ne),this}reduce(ae,X){let K=X;return this.steps.push(z=>(K=ae(K,z),K)),this}latch(ae=(X,K)=>X===K){let X=!0,K;return this.steps.push(z=>{const Q=X||!ae(z,K);return X=!1,K=z,Q?z:ne}),this}evaluate(ae){for(const X of this.steps)if(ae=X(ae),ae===ne)break;return ae}}function J(ce,ae,X=K=>K){const K=(...re)=>j.fire(X(...re)),z=()=>ce.on(ae,K),Q=()=>ce.removeListener(ae,K),j=new f({onWillAddFirstListener:z,onDidRemoveLastListener:Q});return j.event}b.fromNodeEventEmitter=J;function q(ce,ae,X=K=>K){const K=(...re)=>j.fire(X(...re)),z=()=>ce.addEventListener(ae,K),Q=()=>ce.removeEventListener(ae,K),j=new f({onWillAddFirstListener:z,onDidRemoveLastListener:Q});return j.event}b.fromDOMEventEmitter=q;function H(ce){return new Promise(ae=>k(ce)(ae))}b.toPromise=H;function V(ce){const ae=new f;return ce.then(X=>{ae.fire(X)},()=>{ae.fire(void 0)}).finally(()=>{ae.dispose()}),ae.event}b.fromPromise=V;function Z(ce,ae){return ae(void 0),ce(X=>ae(X))}b.runAndSubscribe=Z;function ee(ce,ae){let X=null;function K(Q){X?.dispose(),X=new y.DisposableStore,ae(Q,X)}K(void 0);const z=ce(Q=>K(Q));return(0,y.toDisposable)(()=>{z.dispose(),X?.dispose()})}b.runAndSubscribeWithStore=ee;class le{constructor(ae,X){this._observable=ae,this._counter=0,this._hasChanged=!1;const K={onWillAddFirstListener:()=>{ae.addObserver(this)},onDidRemoveLastListener:()=>{ae.removeObserver(this)}};X||w(K),this.emitter=new f(K),X&&X.add(this.emitter)}beginUpdate(ae){this._counter++}handlePossibleChange(ae){}handleChange(ae,X){this._hasChanged=!0}endUpdate(ae){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function ue(ce,ae){return new le(ce,ae).emitter.event}b.fromObservable=ue;function de(ce){return ae=>{let X=0,K=!1;const z={beginUpdate(){X++},endUpdate(){X--,X===0&&(ce.reportChanges(),K&&(K=!1,ae()))},handlePossibleChange(){},handleChange(){K=!0}};return ce.addObserver(z),ce.reportChanges(),{dispose(){ce.removeObserver(z)}}}}b.fromObservableLight=de})(v||(e.Event=v={}));class C{constructor(w){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${w}_${C._idPool++}`,C.all.add(this)}start(w){this._stopWatch=new S.StopWatch,this.listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this.durations.push(w),this.elapsedOverall+=w,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=C,C.all=new Set,C._idPool=0;let s=-1;class i{constructor(w,E=Math.random().toString(18).slice(2,5)){this.threshold=w,this.name=E,this._warnCountdown=0}dispose(){var w;(w=this._stacks)===null||w===void 0||w.clear()}check(w,E){const k=this.threshold;if(k<=0||E{const R=this._stacks.get(w.value)||0;this._stacks.set(w.value,R-1)}}}class n{static create(){var w;return new n((w=new Error().stack)!==null&&w!==void 0?w:"")}constructor(w){this.value=w}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class t{constructor(w){this.value=w}}const r=2,u=(b,w)=>{if(b instanceof t)w(b);else for(let E=0;E0||!((E=this._options)===null||E===void 0)&&E.leakWarningThreshold?new i((M=(k=this._options)===null||k===void 0?void 0:k.leakWarningThreshold)!==null&&M!==void 0?M:s):void 0,this._perfMon=!((R=this._options)===null||R===void 0)&&R._profName?new C(this._options._profName):void 0,this._deliveryQueue=(B=this._options)===null||B===void 0?void 0:B.deliveryQueue}dispose(){var w,E,k,M;if(!this._disposed){if(this._disposed=!0,((w=this._deliveryQueue)===null||w===void 0?void 0:w.current)===this&&this._deliveryQueue.reset(),this._listeners){if(m){const R=this._listeners;queueMicrotask(()=>{u(R,B=>{var T;return(T=B.stack)===null||T===void 0?void 0:T.print()})})}this._listeners=void 0,this._size=0}(k=(E=this._options)===null||E===void 0?void 0:E.onDidRemoveLastListener)===null||k===void 0||k.call(E),(M=this._leakageMon)===null||M===void 0||M.dispose()}}get event(){var w;return(w=this._event)!==null&&w!==void 0||(this._event=(E,k,M)=>{var R,B,T,N,A;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),y.Disposable.None;if(this._disposed)return y.Disposable.None;k&&(E=E.bind(k));const P=new t(E);let O,x;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(P.stack=n.create(),O=this._leakageMon.check(P.stack,this._size+1)),m&&(P.stack=x??n.create()),this._listeners?this._listeners instanceof t?((A=this._deliveryQueue)!==null&&A!==void 0||(this._deliveryQueue=new l),this._listeners=[this._listeners,P]):this._listeners.push(P):((B=(R=this._options)===null||R===void 0?void 0:R.onWillAddFirstListener)===null||B===void 0||B.call(R,this),this._listeners=P,(N=(T=this._options)===null||T===void 0?void 0:T.onDidAddFirstListener)===null||N===void 0||N.call(T,this)),this._size++;const W=(0,y.toDisposable)(()=>{O?.(),this._removeListener(P)});return M instanceof y.DisposableStore?M.add(W):Array.isArray(M)&&M.push(W),W}),this._event}_removeListener(w){var E,k,M,R;if((k=(E=this._options)===null||E===void 0?void 0:E.onWillRemoveListener)===null||k===void 0||k.call(E,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(R=(M=this._options)===null||M===void 0?void 0:M.onDidRemoveLastListener)===null||R===void 0||R.call(M,this),this._size=0;return}const B=this._listeners,T=B.indexOf(w);if(T===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,B[T]=void 0;const N=this._deliveryQueue.current===this;if(this._size*r<=B.length){let A=0;for(let P=0;P0}}e.Emitter=f;const d=()=>new l;e.createEventDeliveryQueue=d;class l{constructor(){this.i=-1,this.end=0}enqueue(w,E,k){this.i=0,this.end=k,this.current=w,this.value=E}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class o extends f{constructor(w){super(w),this._isPaused=0,this._eventQueue=new D.LinkedList,this._mergeFn=w?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._size&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}e.PauseableEmitter=o;class c extends o{constructor(w){var E;super(w),this._delay=(E=w.delay)!==null&&E!==void 0?E:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}e.DebounceEmitter=c;class a extends f{constructor(w){super(w),this._queuedEvents=[],this._mergeFn=w?.merge}fire(w){this.hasListeners()&&(this._queuedEvents.push(w),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(E=>super.fire(E)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=a;class g{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new f({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(w){const E={event:w,listener:null};this.events.push(E),this.hasListeners&&this.hook(E);const k=()=>{this.hasListeners&&this.unhook(E);const M=this.events.indexOf(E);this.events.splice(M,1)};return(0,y.toDisposable)((0,I.createSingleCallFunction)(k))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(w=>this.hook(w))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(w=>this.unhook(w))}hook(w){w.listener=w.event(E=>this.emitter.fire(E))}unhook(w){w.listener&&w.listener.dispose(),w.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=g;class h{constructor(){this.buffers=[]}wrapEvent(w){return(E,k,M)=>w(R=>{const B=this.buffers[this.buffers.length-1];B?B.push(()=>E.call(k,R)):E.call(k,R)},void 0,M)}bufferEvents(w){const E=[];this.buffers.push(E);const k=w();return this.buffers.pop(),E.forEach(M=>M()),k}}e.EventBufferer=h;class p{constructor(){this.listening=!1,this.inputEvent=v.None,this.inputEventListener=y.Disposable.None,this.emitter=new f({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=p}),define(te[51],ie([1,0,6,2]),function($,e,L,I){"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=e.addMatchMediaChangeListener=void 0;class y{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}y.INSTANCE=new y;class D extends I.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){var r;(r=this._mediaQueryList)===null||r===void 0||r.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class S extends I.Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const t=this._register(new D);this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const t=document.createElement("canvas").getContext("2d"),r=window.devicePixelRatio||1,u=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return r/u}}class m{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,I.markAsSingleton)(new S)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function _(n,t){typeof n=="string"&&(n=window.matchMedia(n)),n.addEventListener("change",t)}e.addMatchMediaChangeListener=_,e.PixelRatio=new m;function v(){return y.INSTANCE.getZoomFactor()}e.getZoomFactor=v;const C=navigator.userAgent;e.isFirefox=C.indexOf("Firefox")>=0,e.isWebKit=C.indexOf("AppleWebKit")>=0,e.isChrome=C.indexOf("Chrome")>=0,e.isSafari=!e.isChrome&&C.indexOf("Safari")>=0,e.isWebkitWebView=!e.isChrome&&!e.isSafari&&e.isWebKit,e.isElectron=C.indexOf("Electron/")>=0,e.isAndroid=C.indexOf("Android")>=0;let s=!1;if(window.matchMedia){const n=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");s=n.matches,_(n,({matches:r})=>{s&&t.matches||(s=r)})}function i(){return s}e.isStandalone=i}),define(te[79],ie([1,0,6]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEmitter=void 0;class I{get event(){return this.emitter.event}constructor(D,S,m){const _=v=>this.emitter.fire(v);this.emitter=new L.Emitter({onWillAddFirstListener:()=>D.addEventListener(S,_,m),onDidRemoveLastListener:()=>D.removeEventListener(S,_,m)})}dispose(){this.emitter.dispose()}}e.DomEmitter=I}),define(te[19],ie([1,0,6]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const I=Object.freeze(function(m,_){const v=setTimeout(m.bind(_),0);return{dispose(){clearTimeout(v)}}});var y;(function(m){function _(v){return v===m.None||v===m.Cancelled||v instanceof D?!0:!v||typeof v!="object"?!1:typeof v.isCancellationRequested=="boolean"&&typeof v.onCancellationRequested=="function"}m.isCancellationToken=_,m.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.Event.None}),m.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:I})})(y||(e.CancellationToken=y={}));class D{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?I:(this._emitter||(this._emitter=new L.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class S{constructor(_){this._token=void 0,this._parentListener=void 0,this._parentListener=_&&_.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new D),this._token}cancel(){this._token?this._token instanceof D&&this._token.cancel():this._token=y.Cancelled}dispose(_=!1){var v;_&&this.cancel(),(v=this._parentListener)===null||v===void 0||v.dispose(),this._token?this._token instanceof D&&this._token.dispose():this._token=y.None}}e.CancellationTokenSource=S}),define(te[262],ie([1,0,6]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IME=e.IMEImpl=void 0;class I{constructor(){this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._enabled=!0}get enabled(){return this._enabled}enable(){this._enabled=!0,this._onDidChange.fire()}disable(){this._enabled=!1,this._onDidChange.fire()}}e.IMEImpl=I,e.IME=new I}),define(te[166],ie([1,0,6,2]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollingOperation=e.SmoothScrollingUpdate=e.Scrollable=e.ScrollState=void 0;class y{constructor(n,t,r,u,f,d,l){this._forceIntegerValues=n,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,r=r|0,u=u|0,f=f|0,d=d|0,l=l|0),this.rawScrollLeft=u,this.rawScrollTop=l,t<0&&(t=0),u+t>r&&(u=r-t),u<0&&(u=0),f<0&&(f=0),l+f>d&&(l=d-f),l<0&&(l=0),this.width=t,this.scrollWidth=r,this.scrollLeft=u,this.height=f,this.scrollHeight=d,this.scrollTop=l}equals(n){return this.rawScrollLeft===n.rawScrollLeft&&this.rawScrollTop===n.rawScrollTop&&this.width===n.width&&this.scrollWidth===n.scrollWidth&&this.scrollLeft===n.scrollLeft&&this.height===n.height&&this.scrollHeight===n.scrollHeight&&this.scrollTop===n.scrollTop}withScrollDimensions(n,t){return new y(this._forceIntegerValues,typeof n.width<"u"?n.width:this.width,typeof n.scrollWidth<"u"?n.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof n.height<"u"?n.height:this.height,typeof n.scrollHeight<"u"?n.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(n){return new y(this._forceIntegerValues,this.width,this.scrollWidth,typeof n.scrollLeft<"u"?n.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof n.scrollTop<"u"?n.scrollTop:this.rawScrollTop)}createScrollEvent(n,t){const r=this.width!==n.width,u=this.scrollWidth!==n.scrollWidth,f=this.scrollLeft!==n.scrollLeft,d=this.height!==n.height,l=this.scrollHeight!==n.scrollHeight,o=this.scrollTop!==n.scrollTop;return{inSmoothScrolling:t,oldWidth:n.width,oldScrollWidth:n.scrollWidth,oldScrollLeft:n.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:n.height,oldScrollHeight:n.scrollHeight,oldScrollTop:n.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:r,scrollWidthChanged:u,scrollLeftChanged:f,heightChanged:d,scrollHeightChanged:l,scrollTopChanged:o}}}e.ScrollState=y;class D extends I.Disposable{constructor(n){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new L.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=n.smoothScrollDuration,this._scheduleAtNextAnimationFrame=n.scheduleAtNextAnimationFrame,this._state=new y(n.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(n){this._smoothScrollDuration=n}validateScrollPosition(n){return this._state.withScrollPosition(n)}getScrollDimensions(){return this._state}setScrollDimensions(n,t){var r;const u=this._state.withScrollDimensions(n,t);this._setState(u,!!this._smoothScrolling),(r=this._smoothScrolling)===null||r===void 0||r.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(n){const t=this._state.withScrollPosition(n);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(n,t){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(n);if(this._smoothScrolling){n={scrollLeft:typeof n.scrollLeft>"u"?this._smoothScrolling.to.scrollLeft:n.scrollLeft,scrollTop:typeof n.scrollTop>"u"?this._smoothScrolling.to.scrollTop:n.scrollTop};const r=this._state.withScrollPosition(n);if(this._smoothScrolling.to.scrollLeft===r.scrollLeft&&this._smoothScrolling.to.scrollTop===r.scrollTop)return;let u;t?u=new v(this._smoothScrolling.from,r,this._smoothScrolling.startTime,this._smoothScrolling.duration):u=this._smoothScrolling.combine(this._state,r,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=u}else{const r=this._state.withScrollPosition(n);this._smoothScrolling=v.start(this._state,r,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;const n=this._smoothScrolling.tick(),t=this._state.withScrollPosition(n);if(this._setState(t,!0),!!this._smoothScrolling){if(n.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(n,t){const r=this._state;r.equals(n)||(this._state=n,this._onScroll.fire(this._state.createScrollEvent(r,t)))}}e.Scrollable=D;class S{constructor(n,t,r){this.scrollLeft=n,this.scrollTop=t,this.isDone=r}}e.SmoothScrollingUpdate=S;function m(i,n){const t=n-i;return function(r){return i+t*s(r)}}function _(i,n,t){return function(r){return r2.5*r){let f,d;return n=re.length?oe:re[me]})}e.format=m;function _(j){return j.replace(/[<>&]/g,function(re){switch(re){case"<":return"<";case">":return">";case"&":return"&";default:return re}})}e.escape=_;function v(j){return j.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=v;function C(j,re=" "){const oe=s(j,re);return i(oe,re)}e.trim=C;function s(j,re){if(!j||!re)return j;const oe=re.length;if(oe===0||j.length===0)return j;let he=0;for(;j.indexOf(re,he)===he;)he=he+oe;return j.substring(he)}e.ltrim=s;function i(j,re){if(!j||!re)return j;const oe=re.length,he=j.length;if(oe===0||he===0)return j;let me=he,pe=-1;for(;pe=j.lastIndexOf(re,me-1),!(pe===-1||pe+oe!==me);){if(pe===0)return"";me=pe}return j.substring(0,me)}e.rtrim=i;function n(j){return j.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=n;function t(j){return j.replace(/\*/g,"")}e.stripWildcards=t;function r(j,re,oe={}){if(!j)throw new Error("Cannot create regex from empty string");re||(j=v(j)),oe.wholeWord&&(/\B/.test(j.charAt(0))||(j="\\b"+j),/\B/.test(j.charAt(j.length-1))||(j=j+"\\b"));let he="";return oe.global&&(he+="g"),oe.matchCase||(he+="i"),oe.multiline&&(he+="m"),oe.unicode&&(he+="u"),new RegExp(j,he)}e.createRegExp=r;function u(j){return j.source==="^"||j.source==="^$"||j.source==="$"||j.source==="^\\s*$"?!1:!!(j.exec("")&&j.lastIndex===0)}e.regExpLeadsToEndlessLoop=u;function f(j){return j.split(/\r\n|\r|\n/)}e.splitLines=f;function d(j){for(let re=0,oe=j.length;re=0;oe--){const he=j.charCodeAt(oe);if(he!==32&&he!==9)return oe}return-1}e.lastNonWhitespaceIndex=o;function c(j,re){return jre?1:0}e.compare=c;function a(j,re,oe=0,he=j.length,me=0,pe=re.length){for(;oeEe)return 1}const ve=he-oe,we=pe-me;return vewe?1:0}e.compareSubstring=a;function g(j,re){return h(j,re,0,j.length,0,re.length)}e.compareIgnoreCase=g;function h(j,re,oe=0,he=j.length,me=0,pe=re.length){for(;oe=128||Ee>=128)return a(j.toLowerCase(),re.toLowerCase(),oe,he,me,pe);b(Le)&&(Le-=32),b(Ee)&&(Ee-=32);const Ae=Le-Ee;if(Ae!==0)return Ae}const ve=he-oe,we=pe-me;return vewe?1:0}e.compareSubstringIgnoreCase=h;function p(j){return j>=48&&j<=57}e.isAsciiDigit=p;function b(j){return j>=97&&j<=122}e.isLowerAsciiLetter=b;function w(j){return j>=65&&j<=90}e.isUpperAsciiLetter=w;function E(j,re){return j.length===re.length&&h(j,re)===0}e.equalsIgnoreCase=E;function k(j,re){const oe=re.length;return re.length>j.length?!1:h(j,re,0,oe)===0}e.startsWithIgnoreCase=k;function M(j,re){const oe=Math.min(j.length,re.length);let he;for(he=0;he1){const he=j.charCodeAt(re-2);if(B(he))return N(he,oe)}return oe}class O{get offset(){return this._offset}constructor(re,oe=0){this._str=re,this._len=re.length,this._offset=oe}setOffset(re){this._offset=re}prevCodePoint(){const re=P(this._str,this._offset);return this._offset-=re>=65536?2:1,re}nextCodePoint(){const re=A(this._str,this._len,this._offset);return this._offset+=re>=65536?2:1,re}eol(){return this._offset>=this._len}}e.CodePointIterator=O;class x{get offset(){return this._iterator.offset}constructor(re,oe=0){this._iterator=new O(re,oe)}nextGraphemeLength(){const re=de.getInstance(),oe=this._iterator,he=oe.offset;let me=re.getGraphemeBreakType(oe.nextCodePoint());for(;!oe.eol();){const pe=oe.offset,ve=re.getGraphemeBreakType(oe.nextCodePoint());if(ue(me,ve)){oe.setOffset(pe);break}me=ve}return oe.offset-he}prevGraphemeLength(){const re=de.getInstance(),oe=this._iterator,he=oe.offset;let me=re.getGraphemeBreakType(oe.prevCodePoint());for(;oe.offset>0;){const pe=oe.offset,ve=re.getGraphemeBreakType(oe.prevCodePoint());if(ue(ve,me)){oe.setOffset(pe);break}me=ve}return he-oe.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=x;function W(j,re){return new x(j,re).nextGraphemeLength()}e.nextCharLength=W;function U(j,re){return new x(j,re).prevGraphemeLength()}e.prevCharLength=U;function F(j,re){re>0&&T(j.charCodeAt(re))&&re--;const oe=re+W(j,re);return[oe-U(j,oe),oe]}e.getCharContainingOffset=F;let G;function Y(){return/(?:[\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 ne(j){return G||(G=Y()),G.test(j)}e.containsRTL=ne;const se=/^[\t\n\r\x20-\x7E]*$/;function J(j){return se.test(j)}e.isBasicASCII=J,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function q(j){return e.UNUSUAL_LINE_TERMINATORS.test(j)}e.containsUnusualLineTerminators=q;function H(j){return j>=11904&&j<=55215||j>=63744&&j<=64255||j>=65281&&j<=65374}e.isFullWidthCharacter=H;function V(j){return j>=127462&&j<=127487||j===8986||j===8987||j===9200||j===9203||j>=9728&&j<=10175||j===11088||j===11093||j>=127744&&j<=128591||j>=128640&&j<=128764||j>=128992&&j<=129008||j>=129280&&j<=129535||j>=129648&&j<=129782}e.isEmojiImprecise=V,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function Z(j){return!!(j&&j.length>0&&j.charCodeAt(0)===65279)}e.startsWithUTF8BOM=Z;function ee(j,re=!1){return j?(re&&(j=j.replace(/\\./g,"")),j.toLowerCase()!==j):!1}e.containsUppercaseCharacter=ee;function le(j){return j=j%(2*26),j<26?String.fromCharCode(97+j):String.fromCharCode(65+j-26)}e.singleLetterHash=le;function ue(j,re){return j===0?re!==5&&re!==7:j===2&&re===3?!1:j===4||j===2||j===3||re===4||re===2||re===3?!0:!(j===8&&(re===8||re===9||re===11||re===12)||(j===11||j===9)&&(re===9||re===10)||(j===12||j===10)&&re===10||re===5||re===13||re===7||j===1||j===13&&re===14||j===6&&re===6)}class de{static getInstance(){return de._INSTANCE||(de._INSTANCE=new de),de._INSTANCE}constructor(){this._data=ce()}getGraphemeBreakType(re){if(re<32)return re===10?3:re===13?2:4;if(re<127)return 0;const oe=this._data,he=oe.length/3;let me=1;for(;me<=he;)if(reoe[3*me+1])me=2*me+1;else return oe[3*me+2];return 0}}de._INSTANCE=null;function ce(){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 ae(j,re){if(j===0)return 0;const oe=X(j,re);if(oe!==void 0)return oe;const he=new O(re,j);return he.prevCodePoint(),he.offset}e.getLeftDeleteOffset=ae;function X(j,re){const oe=new O(re,j);let he=oe.prevCodePoint();for(;K(he)||he===65039||he===8419;){if(oe.offset===0)return;he=oe.prevCodePoint()}if(!V(he))return;let me=oe.offset;return me>0&&oe.prevCodePoint()===8205&&(me=oe.offset),me}function K(j){return 127995<=j&&j<=127999}e.noBreakWhitespace="\xA0";class z{static getInstance(re){return y.cache.get(Array.from(re))}static getLocales(){return y._locales.value}constructor(re){this.confusableDictionary=re}isAmbiguous(re){return this.confusableDictionary.has(re)}getPrimaryConfusable(re){return this.confusableDictionary.get(re)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=z,y=z,z.ambiguousCharacterData=new I.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,119846,109],"_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]}')),z.cache=new L.LRUCachedFunction(j=>{function re(Ee){const Ae=new Map;for(let Re=0;Re!Ee.startsWith("_")&&Ee in me);pe.length===0&&(pe=["_default"]);let ve;for(const Ee of pe){const Ae=re(me[Ee]);ve=he(ve,Ae)}const we=re(me._common),Le=oe(we,ve);return new y(Le)}),z._locales=new I.Lazy(()=>Object.keys(y.ambiguousCharacterData.value).filter(j=>!j.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(re){return Q.getData().has(re)}static get codePoints(){return Q.getData()}}e.InvisibleCharacters=Q,Q._data=void 0}),define(te[69],ie([1,0,56,10]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScoreOptions=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy2=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function y(...K){return function(z,Q){for(let j=0,re=K.length;j0?[{start:0,end:z.length}]:[]:null}function S(K,z){const Q=z.toLowerCase().indexOf(K.toLowerCase());return Q===-1?null:[{start:Q,end:Q+K.length}]}e.matchesContiguousSubString=S;function m(K,z){return _(K.toLowerCase(),z.toLowerCase(),0,0)}e.matchesSubString=m;function _(K,z,Q,j){if(Q===K.length)return[];if(j===z.length)return null;if(K[Q]===z[j]){let re=null;return(re=_(K,z,Q+1,j+1))?f({start:j,end:j+1},re):null}return _(K,z,Q,j+1)}function v(K){return 97<=K&&K<=122}function C(K){return 65<=K&&K<=90}e.isUpper=C;function s(K){return 48<=K&&K<=57}function i(K){return K===32||K===9||K===10||K===13}const n=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(K=>n.add(K.charCodeAt(0)));function t(K){return i(K)||n.has(K)}function r(K,z){return K===z||t(K)&&t(z)}function u(K){return v(K)||C(K)||s(K)}function f(K,z){return z.length===0?z=[K]:K.end===z[0].start?z[0].start=K.start:z.unshift(K),z}function d(K,z){for(let Q=z;Q0&&!u(K.charCodeAt(Q-1)))return Q}return K.length}function l(K,z,Q,j){if(Q===K.length)return[];if(j===z.length)return null;if(K[Q]!==z[j].toLowerCase())return null;{let re=null,oe=j+1;for(re=l(K,z,Q+1,j+1);!re&&(oe=d(z,oe)).6}function a(K){const{upperPercent:z,lowerPercent:Q,alphaPercent:j,numericPercent:re}=K;return Q>.2&&z<.8&&j>.6&&re<.2}function g(K){let z=0,Q=0,j=0,re=0;for(let oe=0;oe60)return null;const Q=o(z);if(!a(Q)){if(!c(Q))return null;z=z.toLowerCase()}let j=null,re=0;for(K=K.toLowerCase();re0&&t(K.charCodeAt(Q-1)))return Q;return K.length}const E=y(e.matchesPrefix,h,S),k=y(e.matchesPrefix,h,m),M=new L.LRUCache(1e4);function R(K,z,Q=!1){if(typeof K!="string"||typeof z!="string")return null;let j=M.get(K);j||(j=new RegExp(I.convertSimple2RegExpPattern(K),"i"),M.set(K,j));const re=j.exec(z);return re?[{start:re.index,end:re.index+re[0].length}]:Q?k(K,z):E(K,z)}e.matchesFuzzy=R;function B(K,z){const Q=le(K,K.toLowerCase(),0,z,z.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return Q?N(Q):null}e.matchesFuzzy2=B;function T(K,z,Q,j,re,oe){const he=Math.min(13,K.length);for(;Q"u")return[];const z=[],Q=K[1];for(let j=K.length-1;j>1;j--){const re=K[j]+Q,oe=z[z.length-1];oe&&oe.end===re?oe.end=re+1:z.push({start:re,end:re+1})}return z}e.createMatches=N;const A=128;function P(){const K=[],z=[];for(let Q=0;Q<=A;Q++)z[Q]=0;for(let Q=0;Q<=A;Q++)K.push(z.slice(0));return K}function O(K){const z=[];for(let Q=0;Q<=K;Q++)z[Q]=0;return z}const x=O(2*A),W=O(2*A),U=P(),F=P(),G=P(),Y=!1;function ne(K,z,Q,j,re){function oe(me,pe,ve=" "){for(;me.lengthoe(me,3)).join("|")} +`;for(let me=0;me<=Q;me++)me===0?he+=" |":he+=`${z[me-1]}|`,he+=K[me].slice(0,re+1).map(pe=>oe(pe.toString(),3)).join("|")+` +`;return he}function se(K,z,Q,j){K=K.substr(z),Q=Q.substr(j),console.log(ne(F,K,K.length,Q,Q.length)),console.log(ne(G,K,K.length,Q,Q.length)),console.log(ne(U,K,K.length,Q,Q.length))}function J(K,z){if(z<0||z>=K.length)return!1;const Q=K.codePointAt(z);switch(Q){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!I.isEmojiImprecise(Q)}}function q(K,z){if(z<0||z>=K.length)return!1;switch(K.charCodeAt(z)){case 32:case 9:return!0;default:return!1}}function H(K,z,Q){return z[K]!==Q[K]}function V(K,z,Q,j,re,oe,he=!1){for(;zA?A:K.length,pe=j.length>A?A:j.length;if(Q>=me||oe>=pe||me-Q>pe-oe||!V(z,Q,me,re,oe,pe,!0))return;ue(me,pe,Q,oe,z,re);let ve=1,we=1,Le=Q,Ee=oe;const Ae=[!1];for(ve=1,Le=Q;Lefe,Oe=ke?F[ve][we-1]+(U[ve][we-1]>0?-5:0):0,We=Ee>fe+1&&U[ve][we-1]>0,qe=We?F[ve][we-2]+(U[ve][we-2]>0?-5:0):0;if(We&&(!ke||qe>=Oe)&&(!Se||qe>=_e))F[ve][we]=qe,G[ve][we]=3,U[ve][we]=0;else if(ke&&(!Se||Oe>=_e))F[ve][we]=Oe,G[ve][we]=2,U[ve][we]=0;else if(Se)F[ve][we]=_e,G[ve][we]=1,U[ve][we]=U[ve-1][we-1]+1;else throw new Error("not possible")}}if(Y&&se(K,Q,j,oe),!Ae[0]&&!he.firstMatchCanBeWeak)return;ve--,we--;const Re=[F[ve][we],oe];let Be=0,ye=0;for(;ve>=1;){let fe=we;do{const Ce=G[ve][fe];if(Ce===3)fe=fe-2;else if(Ce===2)fe=fe-1;else break}while(fe>=1);Be>1&&z[Q+ve-1]===re[oe+we-1]&&!H(fe+oe-1,j,re)&&Be+1>U[ve][fe]&&(fe=we),fe===we?Be++:Be=1,ye||(ye=fe),ve--,we=fe-1,Re.push(we)}pe===me&&he.boostFullMatch&&(Re[0]+=2);const De=ye-me;return Re[0]-=De,Re}e.fuzzyScore=le;function ue(K,z,Q,j,re,oe){let he=K-1,me=z-1;for(;he>=Q&&me>=j;)re[he]===oe[me]&&(W[he]=me,he--),me--}function de(K,z,Q,j,re,oe,he,me,pe,ve,we){if(z[Q]!==oe[he])return Number.MIN_SAFE_INTEGER;let Le=1,Ee=!1;return he===Q-j?Le=K[Q]===re[he]?7:5:H(he,re,oe)&&(he===0||!H(he-1,re,oe))?(Le=K[Q]===re[he]?7:5,Ee=!0):J(oe,he)&&(he===0||!J(oe,he-1))?Le=5:(J(oe,he-1)||q(oe,he-1))&&(Le=5,Ee=!0),Le>1&&Q===j&&(we[0]=!0),Ee||(Ee=H(he,re,oe)||J(oe,he-1)||q(oe,he-1)),Q===j?he>pe&&(Le-=Ee?3:5):ve?Le+=Ee?2:0:Le+=Ee?0:1,he+1===me&&(Le-=Ee?3:5),Le}function ce(K,z,Q,j,re,oe,he){return ae(K,z,Q,j,re,oe,!0,he)}e.fuzzyScoreGracefulAggressive=ce;function ae(K,z,Q,j,re,oe,he,me){let pe=le(K,z,Q,j,re,oe,me);if(pe&&!he)return pe;if(K.length>=3){const ve=Math.min(7,K.length-1);for(let we=Q+1;wepe[0])&&(pe=Ee))}}}return pe}function X(K,z){if(z+1>=K.length)return;const Q=K[z],j=K[z+1];if(Q!==j)return K.slice(0,z)+j+Q+K.slice(z+2)}}),define(te[141],ie([1,0,10]),function($,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 I(r){return y(r,0)}e.hash=I;function y(r,u){switch(typeof r){case"object":return r===null?D(349,u):Array.isArray(r)?_(r,u):v(r,u);case"string":return m(r,u);case"boolean":return S(r,u);case"number":return D(r,u);case"undefined":return D(937,u);default:return D(617,u)}}e.doHash=y;function D(r,u){return(u<<5)-u+r|0}e.numberHash=D;function S(r,u){return D(r?433:863,u)}function m(r,u){u=D(149417,u);for(let f=0,d=r.length;fy(d,f),u)}function v(r,u){return u=D(181387,u),Object.keys(r).sort().reduce((f,d)=>(f=m(d,f),y(r[d],f)),u)}function C(r,u,f=32){const d=f-u,l=~((1<>>d)>>>0}function s(r,u=0,f=r.byteLength,d=0){for(let l=0;lf.toString(16).padStart(2,"0")).join(""):i((r>>>0).toString(16),u/4)}e.toHexString=n;class t{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(u){const f=u.length;if(f===0)return;const d=this._buff;let l=this._buffLen,o=this._leftoverHighSurrogate,c,a;for(o!==0?(c=o,a=-1,o=0):(c=u.charCodeAt(0),a=0);;){let g=c;if(L.isHighSurrogate(c))if(a+1>>6,u[f++]=128|(d&63)>>>0):d<65536?(u[f++]=224|(d&61440)>>>12,u[f++]=128|(d&4032)>>>6,u[f++]=128|(d&63)>>>0):(u[f++]=240|(d&1835008)>>>18,u[f++]=128|(d&258048)>>>12,u[f++]=128|(d&4032)>>>6,u[f++]=128|(d&63)>>>0),f>=64&&(this._step(),f-=64,this._totalLen+=64,u[0]=u[64+0],u[1]=u[64+1],u[2]=u[64+2]),f}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()),n(this._h0)+n(this._h1)+n(this._h2)+n(this._h3)+n(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,s(this._buff,this._buffLen),this._buffLen>56&&(this._step(),s(this._buff));const u=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(u/4294967296),!1),this._buffDV.setUint32(60,u%4294967296,!1),this._step()}_step(){const u=t._bigBlock32,f=this._buffDV;for(let b=0;b<64;b+=4)u.setUint32(b,f.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)u.setUint32(b,C(u.getUint32(b-12,!1)^u.getUint32(b-32,!1)^u.getUint32(b-56,!1)^u.getUint32(b-64,!1),1),!1);let d=this._h0,l=this._h1,o=this._h2,c=this._h3,a=this._h4,g,h,p;for(let b=0;b<80;b++)b<20?(g=l&o|~l&c,h=1518500249):b<40?(g=l^o^c,h=1859775393):b<60?(g=l&o|l&c|o&c,h=2400959708):(g=l^o^c,h=3395469782),p=C(d,5)+g+a+h+u.getUint32(b*4,!1)&4294967295,a=c,c=o,o=C(l,30),l=d,d=p;this._h0=this._h0+d&4294967295,this._h1=this._h1+l&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+a&4294967295}}e.StringSHA1=t,t._bigBlock32=new DataView(new ArrayBuffer(320))}),define(te[167],ie([1,0,387,141]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.stringDiff=e.StringDiffSequence=void 0;class y{constructor(s){this.source=s}getElements(){const s=this.source,i=new Int32Array(s.length);for(let n=0,t=s.length;n0||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(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(s,i){this.m_originalStart=Math.min(this.m_originalStart,s),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),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 v{constructor(s,i,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=s,this._modifiedSequence=i;const[t,r,u]=v._getElements(s),[f,d,l]=v._getElements(i);this._hasStrings=u&&l,this._originalStringElements=t,this._originalElementsOrHash=r,this._modifiedStringElements=f,this._modifiedElementsOrHash=d,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(s){return s.length>0&&typeof s[0]=="string"}static _getElements(s){const i=s.getElements();if(v._isStringArray(i)){const n=new Int32Array(i.length);for(let t=0,r=i.length;t=s&&t>=n&&this.ElementsAreEqual(i,t);)i--,t--;if(s>i||n>t){let c;return n<=t?(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),c=[new L.DiffChange(s,0,n,t-n+1)]):s<=i?(S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),c=[new L.DiffChange(s,i-s+1,n,0)]):(S.Assert(s===i+1,"originalStart should only be one more than originalEnd"),S.Assert(n===t+1,"modifiedStart should only be one more than modifiedEnd"),c=[]),c}const u=[0],f=[0],d=this.ComputeRecursionPoint(s,i,n,t,u,f,r),l=u[0],o=f[0];if(d!==null)return d;if(!r[0]){const c=this.ComputeDiffRecursive(s,l,n,o,r);let a=[];return r[0]?a=[new L.DiffChange(l+1,i-(l+1)+1,o+1,t-(o+1)+1)]:a=this.ComputeDiffRecursive(l+1,i,o+1,t,r),this.ConcatenateChanges(c,a)}return[new L.DiffChange(s,i-s+1,n,t-n+1)]}WALKTRACE(s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E){let k=null,M=null,R=new _,B=i,T=n,N=g[0]-b[0]-t,A=-1073741824,P=this.m_forwardHistory.length-1;do{const O=N+s;O===B||O=0&&(l=this.m_forwardHistory[P],s=l[0],B=1,T=l.length-1)}while(--P>=-1);if(k=R.getReverseChanges(),E[0]){let O=g[0]+1,x=b[0]+1;if(k!==null&&k.length>0){const W=k[k.length-1];O=Math.max(O,W.getOriginalEnd()),x=Math.max(x,W.getModifiedEnd())}M=[new L.DiffChange(O,a-O+1,x,p-x+1)]}else{R=new _,B=u,T=f,N=g[0]-b[0]-d,A=1073741824,P=w?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const O=N+r;O===B||O=o[O+1]?(c=o[O+1]-1,h=c-N-d,c>A&&R.MarkNextChange(),A=c+1,R.AddOriginalElement(c+1,h+1),N=O+1-r):(c=o[O-1],h=c-N-d,c>A&&R.MarkNextChange(),A=c,R.AddModifiedElement(c+1,h+1),N=O-1-r),P>=0&&(o=this.m_reverseHistory[P],r=o[0],B=1,T=o.length-1)}while(--P>=-1);M=R.getChanges()}return this.ConcatenateChanges(k,M)}ComputeRecursionPoint(s,i,n,t,r,u,f){let d=0,l=0,o=0,c=0,a=0,g=0;s--,n--,r[0]=0,u[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const h=i-s+(t-n),p=h+1,b=new Int32Array(p),w=new Int32Array(p),E=t-n,k=i-s,M=s-n,R=i-t,T=(k-E)%2===0;b[E]=s,w[k]=i,f[0]=!1;for(let N=1;N<=h/2+1;N++){let A=0,P=0;o=this.ClipDiagonalBound(E-N,N,E,p),c=this.ClipDiagonalBound(E+N,N,E,p);for(let x=o;x<=c;x+=2){x===o||xA+P&&(A=d,P=l),!T&&Math.abs(x-k)<=N-1&&d>=w[x])return r[0]=d,u[0]=l,W<=w[x]&&1447>0&&N<=1447+1?this.WALKTRACE(E,o,c,M,k,a,g,R,b,w,d,i,r,l,t,u,T,f):null}const O=(A-s+(P-n)-N)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(A,O))return f[0]=!0,r[0]=A,u[0]=P,O>0&&1447>0&&N<=1447+1?this.WALKTRACE(E,o,c,M,k,a,g,R,b,w,d,i,r,l,t,u,T,f):(s++,n++,[new L.DiffChange(s,i-s+1,n,t-n+1)]);a=this.ClipDiagonalBound(k-N,N,k,p),g=this.ClipDiagonalBound(k+N,N,k,p);for(let x=a;x<=g;x+=2){x===a||x=w[x+1]?d=w[x+1]-1:d=w[x-1],l=d-(x-k)-R;const W=d;for(;d>s&&l>n&&this.ElementsAreEqual(d,l);)d--,l--;if(w[x]=d,T&&Math.abs(x-E)<=N&&d<=b[x])return r[0]=d,u[0]=l,W>=b[x]&&1447>0&&N<=1447+1?this.WALKTRACE(E,o,c,M,k,a,g,R,b,w,d,i,r,l,t,u,T,f):null}if(N<=1447){let x=new Int32Array(c-o+2);x[0]=E-o+1,m.Copy2(b,o,x,1,c-o+1),this.m_forwardHistory.push(x),x=new Int32Array(g-a+2),x[0]=k-a+1,m.Copy2(w,a,x,1,g-a+1),this.m_reverseHistory.push(x)}}return this.WALKTRACE(E,o,c,M,k,a,g,R,b,w,d,i,r,l,t,u,T,f)}PrettifyChanges(s){for(let i=0;i0,f=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;i--){const n=s[i];let t=0,r=0;if(i>0){const c=s[i-1];t=c.originalStart+c.originalLength,r=c.modifiedStart+c.modifiedLength}const u=n.originalLength>0,f=n.modifiedLength>0;let d=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let c=1;;c++){const a=n.originalStart-c,g=n.modifiedStart-c;if(al&&(l=p,d=c)}n.originalStart-=d,n.modifiedStart-=d;const o=[null];if(i>0&&this.ChangesOverlap(s[i-1],s[i],o)){s[i-1]=o[0],s.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,n=s.length;i0&&g>d&&(d=g,l=c,o=a)}return d>0?[l,o]:null}_contiguousSequenceScore(s,i,n){let t=0;for(let r=0;r=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[s])}_OriginalRegionIsBoundary(s,i){if(this._OriginalIsBoundary(s)||this._OriginalIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(s){return s<=0||s>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[s])}_ModifiedRegionIsBoundary(s,i){if(this._ModifiedIsBoundary(s)||this._ModifiedIsBoundary(s-1))return!0;if(i>0){const n=s+i;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(s,i,n,t){const r=this._OriginalRegionIsBoundary(s,i)?1:0,u=this._ModifiedRegionIsBoundary(n,t)?1:0;return r+u}ConcatenateChanges(s,i){const n=[];if(s.length===0||i.length===0)return i.length>0?i:s;if(this.ChangesOverlap(s[s.length-1],i[0],n)){const t=new Array(s.length+i.length-1);return m.Copy(s,0,t,0,s.length-1),t[s.length-1]=n[0],m.Copy(i,1,t,s.length,i.length-1),t}else{const t=new Array(s.length+i.length);return m.Copy(s,0,t,0,s.length),m.Copy(i,0,t,s.length,i.length),t}}ChangesOverlap(s,i,n){if(S.Assert(s.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),S.Assert(s.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),s.originalStart+s.originalLength>=i.originalStart||s.modifiedStart+s.modifiedLength>=i.modifiedStart){const t=s.originalStart;let r=s.originalLength;const u=s.modifiedStart;let f=s.modifiedLength;return s.originalStart+s.originalLength>=i.originalStart&&(r=i.originalStart+i.originalLength-s.originalStart),s.modifiedStart+s.modifiedLength>=i.modifiedStart&&(f=i.modifiedStart+i.modifiedLength-s.modifiedStart),n[0]=new L.DiffChange(t,r,u,f),!0}else return n[0]=null,!1}ClipDiagonalBound(s,i,n,t){if(s>=0&&s0?m[0].toUpperCase()+m.substr(1):S[0][0].toUpperCase()!==S[0][0]&&m.length>0?m[0].toLowerCase()+m.substr(1):m}else return m}e.buildReplaceStringWithCasePreserved=I;function y(S,m,_){return S[0].indexOf(_)!==-1&&m.indexOf(_)!==-1&&S[0].split(_).length===m.split(_).length}function D(S,m,_){const v=m.split(_),C=S[0].split(_);let s="";return v.forEach((i,n)=>{s+=I([C[n]],i)+_}),s.slice(0,-1)}}),define(te[98],ie([1,0,10]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var I;(function(y){y[y.Ignore=0]="Ignore",y[y.Info=1]="Info",y[y.Warning=2]="Warning",y[y.Error=3]="Error"})(I||(I={})),function(y){const D="error",S="warning",m="warn",_="info",v="ignore";function C(i){return i?L.equalsIgnoreCase(D,i)?y.Error:L.equalsIgnoreCase(S,i)||L.equalsIgnoreCase(m,i)?y.Warning:L.equalsIgnoreCase(_,i)?y.Info:y.Ignore:y.Ignore}y.fromValue=C;function s(i){switch(i){case y.Error:return D;case y.Warning:return S;case y.Info:return _;default:return v}}y.toString=s}(I||(I={})),e.default=I}),define(te[263],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MicrotaskDelay=void 0,e.MicrotaskDelay=Symbol("MicrotaskDelay")}),define(te[197],ie([1,0,10]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TernarySearchTree=e.UriIterator=e.PathIterator=e.ConfigKeysIterator=e.StringIterator=void 0;class I{constructor(){this._value="",this._pos=0}reset(C){return this._value=C,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;s--,this._valueLen--){const i=this._value.charCodeAt(s);if(!(i===47||this._splitOnBackslash&&i===92))break}return this.next()}hasNext(){return this._to!1,s=()=>!1){return new _(new S(C,s))}static forStrings(){return new _(new I)}static forConfigKeys(){return new _(new y)}constructor(C){this._iter=C}clear(){this._root=void 0}set(C,s){const i=this._iter.reset(C);let n;this._root||(this._root=new m,this._root.segment=i.value());const t=[];for(n=this._root;;){const u=i.cmp(n.segment);if(u>0)n.left||(n.left=new m,n.left.segment=i.value()),t.push([-1,n]),n=n.left;else if(u<0)n.right||(n.right=new m,n.right.segment=i.value()),t.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new m,n.mid.segment=i.value()),t.push([0,n]),n=n.mid;else break}const r=n.value;n.value=s,n.key=C;for(let u=t.length-1;u>=0;u--){const f=t[u][1];f.updateHeight();const d=f.balanceFactor();if(d<-1||d>1){const l=t[u][0],o=t[u+1][0];if(l===1&&o===1)t[u][1]=f.rotateLeft();else if(l===-1&&o===-1)t[u][1]=f.rotateRight();else if(l===1&&o===-1)f.right=t[u+1][1]=t[u+1][1].rotateRight(),t[u][1]=f.rotateLeft();else if(l===-1&&o===1)f.left=t[u+1][1]=t[u+1][1].rotateLeft(),t[u][1]=f.rotateRight();else throw new Error;if(u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}return r}get(C){var s;return(s=this._getNode(C))===null||s===void 0?void 0:s.value}_getNode(C){const s=this._iter.reset(C);let i=this._root;for(;i;){const n=s.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(s.hasNext())s.next(),i=i.mid;else break}return i}has(C){const s=this._getNode(C);return!(s?.value===void 0&&s?.mid===void 0)}delete(C){return this._delete(C,!1)}deleteSuperstr(C){return this._delete(C,!0)}_delete(C,s){var i;const n=this._iter.reset(C),t=[];let r=this._root;for(;r;){const u=n.cmp(r.segment);if(u>0)t.push([-1,r]),r=r.left;else if(u<0)t.push([1,r]),r=r.right;else if(n.hasNext())n.next(),t.push([0,r]),r=r.mid;else break}if(r){if(s?(r.left=void 0,r.mid=void 0,r.right=void 0,r.height=1):(r.key=void 0,r.value=void 0),!r.mid&&!r.value)if(r.left&&r.right){const u=this._min(r.right);if(u.key){const{key:f,value:d,segment:l}=u;this._delete(u.key,!1),r.key=f,r.value=d,r.segment=l}}else{const u=(i=r.left)!==null&&i!==void 0?i:r.right;if(t.length>0){const[f,d]=t[t.length-1];switch(f){case-1:d.left=u;break;case 0:d.mid=u;break;case 1:d.right=u;break}}else this._root=u}for(let u=t.length-1;u>=0;u--){const f=t[u][1];f.updateHeight();const d=f.balanceFactor();if(d>1?(f.right.balanceFactor()>=0||(f.right=f.right.rotateRight()),t[u][1]=f.rotateLeft()):d<-1&&(f.left.balanceFactor()<=0||(f.left=f.left.rotateLeft()),t[u][1]=f.rotateRight()),u>0)switch(t[u-1][0]){case-1:t[u-1][1].left=t[u][1];break;case 1:t[u-1][1].right=t[u][1];break;case 0:t[u-1][1].mid=t[u][1];break}else this._root=t[0][1]}}}_min(C){for(;C.left;)C=C.left;return C}findSubstr(C){const s=this._iter.reset(C);let i=this._root,n;for(;i;){const t=s.cmp(i.segment);if(t>0)i=i.left;else if(t<0)i=i.right;else if(s.hasNext())s.next(),n=i.value||n,i=i.mid;else break}return i&&i.value||n}findSuperstr(C){return this._findSuperstrOrElement(C,!1)}_findSuperstrOrElement(C,s){const i=this._iter.reset(C);let n=this._root;for(;n;){const t=i.cmp(n.segment);if(t>0)n=n.left;else if(t<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this._entries(n.mid):s?n.value:void 0}}forEach(C){for(const[s,i]of this)C(i,s)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(C){const s=[];return this._dfsEntries(C,s),s[Symbol.iterator]()}_dfsEntries(C,s){C&&(C.left&&this._dfsEntries(C.left,s),C.value&&s.push([C.key,C.value]),C.mid&&this._dfsEntries(C.mid,s),C.right&&this._dfsEntries(C.right,s))}}e.TernarySearchTree=_}),define(te[397],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeTfIdfScores=e.TfIdfCalculator=void 0;function L(D){var S;const m=new Map;for(const _ of D)m.set(_,((S=m.get(_))!==null&&S!==void 0?S:0)+1);return m}class I{constructor(){this.chunkCount=0,this.chunkOccurrences=new Map,this.documents=new Map}calculateScores(S,m){const _=this.computeEmbedding(S),v=new Map,C=[];for(const[s,i]of this.documents){if(m.isCancellationRequested)return[];for(const n of i.chunks){const t=this.computeSimilarityScore(n,_,v);t>0&&C.push({key:s,score:t})}}return C}static termFrequencies(S){return L(I.splitTerms(S))}static*splitTerms(S){const m=_=>_.toLowerCase();for(const[_]of S.matchAll(/\b\p{Letter}[\p{Letter}\d]{2,}\b/gu)){yield m(_);const v=_.split(/(?<=[a-z])(?=[A-Z])/g);if(v.length>1)for(const C of v)C.length>2&&/\p{Letter}{3,}/gu.test(C)&&(yield m(C))}}updateDocuments(S){var m;for(const{key:_}of S)this.deleteDocument(_);for(const _ of S){const v=[];for(const C of _.textChunks){const s=I.termFrequencies(C);for(const i of s.keys())this.chunkOccurrences.set(i,((m=this.chunkOccurrences.get(i))!==null&&m!==void 0?m:0)+1);v.push({text:C,tf:s})}this.chunkCount+=v.length,this.documents.set(_.key,{chunks:v})}return this}deleteDocument(S){const m=this.documents.get(S);if(m){this.documents.delete(S),this.chunkCount-=m.chunks.length;for(const _ of m.chunks)for(const v of _.tf.keys()){const C=this.chunkOccurrences.get(v);if(typeof C=="number"){const s=C-1;s<=0?this.chunkOccurrences.delete(v):this.chunkOccurrences.set(v,s)}}}}computeSimilarityScore(S,m,_){let v=0;for(const[C,s]of Object.entries(m)){const i=S.tf.get(C);if(!i)continue;let n=_.get(C);typeof n!="number"&&(n=this.computeIdf(C),_.set(C,n));const t=i*n;v+=t*s}return v}computeEmbedding(S){const m=I.termFrequencies(S);return this.computeTfidf(m)}computeIdf(S){var m;const _=(m=this.chunkOccurrences.get(S))!==null&&m!==void 0?m:0;return _>0?Math.log((this.chunkCount+1)/_):0}computeTfidf(S){const m=Object.create(null);for(const[_,v]of S){const C=this.computeIdf(_);C>0&&(m[_]=v*C)}return m}}e.TfIdfCalculator=I;function y(D){var S,m;const _=D.slice(0);_.sort((C,s)=>s.score-C.score);const v=(m=(S=_[0])===null||S===void 0?void 0:S.score)!==null&&m!==void 0?m:0;if(v>0)for(const C of _)C.score/=v;return _}e.normalizeTfIdfScores=y}),define(te[20],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isString=void 0;function L(u){return typeof u=="string"}e.isString=L;function I(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}e.isObject=I;function y(u){const f=Object.getPrototypeOf(Uint8Array);return typeof u=="object"&&u instanceof f}e.isTypedArray=y;function D(u){return typeof u=="number"&&!isNaN(u)}e.isNumber=D;function S(u){return!!u&&typeof u[Symbol.iterator]=="function"}e.isIterable=S;function m(u){return u===!0||u===!1}e.isBoolean=m;function _(u){return typeof u>"u"}e.isUndefined=_;function v(u){return!C(u)}e.isDefined=v;function C(u){return _(u)||u===null}e.isUndefinedOrNull=C;function s(u,f){if(!u)throw new Error(f?`Unexpected type, expected '${f}'`:"Unexpected type")}e.assertType=s;function i(u){if(C(u))throw new Error("Assertion Failed: argument is undefined or null");return u}e.assertIsDefined=i;function n(u){return typeof u=="function"}e.isFunction=n;function t(u,f){const d=Math.min(u.length,f.length);for(let l=0;l{t[r]=u&&typeof u=="object"?I(u):u}),t}e.deepClone=I;function y(n){if(!n||typeof n!="object")return n;const t=[n];for(;t.length>0;){const r=t.shift();Object.freeze(r);for(const u in r)if(D.call(r,u)){const f=r[u];typeof f=="object"&&!Object.isFrozen(f)&&!(0,L.isTypedArray)(f)&&t.push(f)}}return n}e.deepFreeze=y;const D=Object.prototype.hasOwnProperty;function S(n,t){return m(n,t,new Set)}e.cloneAndChange=S;function m(n,t,r){if((0,L.isUndefinedOrNull)(n))return n;const u=t(n);if(typeof u<"u")return u;if(Array.isArray(n)){const f=[];for(const d of n)f.push(m(d,t,r));return f}if((0,L.isObject)(n)){if(r.has(n))throw new Error("Cannot clone recursive data-structure");r.add(n);const f={};for(const d in n)D.call(n,d)&&(f[d]=m(n[d],t,r));return r.delete(n),f}return n}function _(n,t,r=!0){return(0,L.isObject)(n)?((0,L.isObject)(t)&&Object.keys(t).forEach(u=>{u in n?r&&((0,L.isObject)(n[u])&&(0,L.isObject)(t[u])?_(n[u],t[u],r):n[u]=t[u]):n[u]=t[u]}),n):t}e.mixin=_;function v(n,t){if(n===t)return!0;if(n==null||t===null||t===void 0||typeof n!=typeof t||typeof n!="object"||Array.isArray(n)!==Array.isArray(t))return!1;let r,u;if(Array.isArray(n)){if(n.length!==t.length)return!1;for(r=0;rfunction(){const d=Array.prototype.slice.call(arguments,0);return t(f,d)},u={};for(const f of n)u[f]=r(f);return u}e.createProxyObject=i}),define(te[27],ie([1,0,26]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ThemeIcon=e.ThemeColor=void 0;var I;(function(D){function S(m){return m&&typeof m=="object"&&typeof m.id=="string"}D.isThemeColor=S})(I||(e.ThemeColor=I={}));var y;(function(D){D.iconNameSegment="[A-Za-z0-9]+",D.iconNameExpression="[A-Za-z0-9-]+",D.iconModifierExpression="~[A-Za-z]+",D.iconNameCharacter="[A-Za-z0-9~-]";const S=new RegExp(`^(${D.iconNameExpression})(${D.iconModifierExpression})?$`);function m(f){const d=S.exec(f.id);if(!d)return m(L.Codicon.error);const[,l,o]=d,c=["codicon","codicon-"+l];return o&&c.push("codicon-modifier-"+o.substring(1)),c}D.asClassNameArray=m;function _(f){return m(f).join(" ")}D.asClassName=_;function v(f){return"."+m(f).join(".")}D.asCSSSelector=v;function C(f){return f&&typeof f=="object"&&typeof f.id=="string"&&(typeof f.color>"u"||I.isThemeColor(f.color))}D.isThemeIcon=C;const s=new RegExp(`^\\$\\((${D.iconNameExpression}(?:${D.iconModifierExpression})?)\\)$`);function i(f){const d=s.exec(f);if(!d)return;const[,l]=d;return{id:l}}D.fromString=i;function n(f){return{id:f}}D.fromId=n;function t(f,d){let l=f.id;const o=l.lastIndexOf("~");return o!==-1&&(l=l.substring(0,o)),d&&(l=`${l}~${d}`),{id:l}}D.modify=t;function r(f){const d=f.id.lastIndexOf("~");if(d!==-1)return f.id.substring(d+1)}D.getModifier=r;function u(f,d){var l,o;return f.id===d.id&&((l=f.color)===null||l===void 0?void 0:l.id)===((o=d.color)===null||o===void 0?void 0:o.id)}D.isEqual=u})(y||(e.ThemeIcon=y={}))}),define(te[119],ie([1,0,69,10,27]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.getCodiconAriaLabel=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=void 0;const D="$(",S=new RegExp(`\\$\\(${y.ThemeIcon.iconNameExpression}(?:${y.ThemeIcon.iconModifierExpression})?\\)`,"g"),m=new RegExp(`(\\\\)?${S.source}`,"g");function _(f){return f.replace(m,(d,l)=>l?d:`\\${d}`)}e.escapeIcons=_;const v=new RegExp(`\\\\${S.source}`,"g");function C(f){return f.replace(v,d=>`\\${d}`)}e.markdownEscapeEscapedIcons=C;const s=new RegExp(`(\\s)?(\\\\)?${S.source}(\\s)?`,"g");function i(f){return f.indexOf(D)===-1?f:f.replace(s,(d,l,o,c)=>o?d:l||c||"")}e.stripIcons=i;function n(f){return f?f.replace(/\$\((.*?)\)/g,(d,l)=>` ${l} `).trim():""}e.getCodiconAriaLabel=n;const t=new RegExp(`\\$\\(${y.ThemeIcon.iconNameCharacter}+\\)`,"g");function r(f){t.lastIndex=0;let d="";const l=[];let o=0;for(;;){const c=t.lastIndex,a=t.exec(f),g=f.substring(c,a?.index);if(g.length>0){d+=g;for(let h=0;h255?255:y|0}e.toUint8=L;function I(y){return y<0?0:y>4294967295?4294967295:y|0}e.toUint32=I}),define(te[169],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let L;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?L=crypto.getRandomValues.bind(crypto):L=function(D){for(let S=0;Sbe(this,void 0,void 0,function*(){return s}),asFile:()=>{},value:typeof s=="string"?s:void 0}}e.createStringDataTransferItem=D;function S(s,i,n){const t={id:(0,y.generateUuid)(),name:s,uri:i,data:n};return{asString:()=>be(this,void 0,void 0,function*(){return""}),asFile:()=>t,value:void 0}}e.createFileDataTransferItem=S;class m{constructor(){this._entries=new Map}get size(){let i=0;for(const n of this._entries)i++;return i}has(i){return this._entries.has(this.toKey(i))}matches(i){const n=[...this._entries.keys()];return I.Iterable.some(this,([t,r])=>r.asFile())&&n.push("files"),C(_(i),n)}get(i){var n;return(n=this._entries.get(this.toKey(i)))===null||n===void 0?void 0:n[0]}append(i,n){const t=this._entries.get(i);t?t.push(n):this._entries.set(this.toKey(i),[n])}replace(i,n){this._entries.set(this.toKey(i),[n])}delete(i){this._entries.delete(this.toKey(i))}*[Symbol.iterator](){for(const[i,n]of this._entries)for(const t of n)yield[i,t]}toKey(i){return _(i)}}e.VSDataTransfer=m;function _(s){return s.toLowerCase()}function v(s,i){return C(_(s),i.map(_))}e.matchesMimeType=v;function C(s,i){if(s==="*/*")return i.length>0;if(i.includes(s))return!0;const n=s.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!n)return!1;const[t,r,u]=n;return u==="*"?i.some(f=>f.startsWith(r+"/")):!1}e.UriList=Object.freeze({create:s=>(0,L.distinct)(s.map(i=>i.toString())).join(`\r +`),split:s=>s.split(`\r +`),parse:s=>e.UriList.split(s).filter(i=>!i.startsWith("#"))})}),define(te[264],ie([11]),{}),define(te[398],ie([11]),{}),define(te[399],ie([11]),{}),define(te[400],ie([11]),{}),define(te[401],ie([11]),{}),define(te[171],ie([1,0,400,401]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(te[402],ie([11]),{}),define(te[403],ie([11]),{}),define(te[265],ie([11]),{}),define(te[266],ie([11]),{}),define(te[404],ie([11]),{}),define(te[405],ie([11]),{}),define(te[406],ie([11]),{}),define(te[407],ie([11]),{}),define(te[267],ie([11]),{}),define(te[408],ie([11]),{}),define(te[198],ie([1,0,408]),function($,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[409],ie([11]),{}),define(te[410],ie([11]),{}),define(te[411],ie([11]),{}),define(te[412],ie([11]),{}),define(te[413],ie([11]),{}),define(te[414],ie([11]),{}),define(te[415],ie([11]),{}),define(te[416],ie([11]),{}),define(te[417],ie([11]),{}),define(te[418],ie([11]),{}),define(te[419],ie([11]),{}),define(te[420],ie([11]),{}),define(te[421],ie([11]),{}),define(te[422],ie([11]),{}),define(te[423],ie([11]),{}),define(te[424],ie([11]),{}),define(te[425],ie([11]),{}),define(te[426],ie([11]),{}),define(te[427],ie([11]),{}),define(te[428],ie([11]),{}),define(te[429],ie([11]),{}),define(te[430],ie([11]),{}),define(te[431],ie([11]),{}),define(te[432],ie([11]),{}),define(te[433],ie([11]),{}),define(te[434],ie([11]),{}),define(te[435],ie([11]),{}),define(te[436],ie([11]),{}),define(te[437],ie([11]),{}),define(te[438],ie([11]),{}),define(te[439],ie([11]),{}),define(te[440],ie([11]),{}),define(te[441],ie([11]),{}),define(te[442],ie([11]),{}),define(te[443],ie([11]),{}),define(te[199],ie([11]),{}),define(te[444],ie([11]),{}),define(te[445],ie([11]),{}),define(te[446],ie([11]),{}),define(te[447],ie([11]),{}),define(te[448],ie([11]),{}),define(te[449],ie([11]),{}),define(te[450],ie([11]),{}),define(te[451],ie([11]),{}),define(te[452],ie([11]),{}),define(te[453],ie([11]),{}),define(te[454],ie([11]),{}),define(te[455],ie([11]),{}),define(te[456],ie([11]),{}),define(te[457],ie([11]),{}),define(te[458],ie([11]),{}),define(te[459],ie([11]),{}),define(te[460],ie([11]),{}),define(te[461],ie([11]),{}),define(te[462],ie([11]),{}),define(te[463],ie([11]),{}),define(te[464],ie([11]),{}),define(te[465],ie([11]),{}),define(te[466],ie([11]),{}),define(te[467],ie([11]),{}),define(te[468],ie([11]),{}),define(te[469],ie([11]),{}),define(te[470],ie([11]),{}),define(te[471],ie([11]),{}),define(te[472],ie([11]),{}),define(te[473],ie([11]),{}),define(te[474],ie([11]),{}),define(te[475],ie([11]),{}),define(te[268],ie([11]),{}),define(te[476],ie([11]),{}),define(te[477],ie([11]),{}),define(te[172],ie([11]),{}),define(te[478],ie([11]),{}),define(te[70],ie([1,0,38]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyFontInfo=void 0;function I(y,D){y instanceof L.FastDomNode?(y.setFontFamily(D.getMassagedFontFamily()),y.setFontWeight(D.fontWeight),y.setFontSize(D.fontSize),y.setFontFeatureSettings(D.fontFeatureSettings),y.setFontVariationSettings(D.fontVariationSettings),y.setLineHeight(D.lineHeight),y.setLetterSpacing(D.letterSpacing)):(y.style.fontFamily=D.getMassagedFontFamily(),y.style.fontWeight=D.fontWeight,y.style.fontSize=D.fontSize+"px",y.style.fontFeatureSettings=D.fontFeatureSettings,y.style.fontVariationSettings=D.fontVariationSettings,y.style.lineHeight=D.lineHeight+"px",y.style.letterSpacing=D.letterSpacing+"px")}e.applyFontInfo=I}),define(te[479],ie([1,0,70]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCharWidths=e.CharWidthRequest=void 0;class I{constructor(m,_){this.chr=m,this.type=_,this.width=0}fulfill(m){this.width=m}}e.CharWidthRequest=I;class y{constructor(m,_){this._bareFontInfo=m,this._requests=_,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const m=document.createElement("div");m.style.position="absolute",m.style.top="-50000px",m.style.width="50000px";const _=document.createElement("div");(0,L.applyFontInfo)(_,this._bareFontInfo),m.appendChild(_);const v=document.createElement("div");(0,L.applyFontInfo)(v,this._bareFontInfo),v.style.fontWeight="bold",m.appendChild(v);const C=document.createElement("div");(0,L.applyFontInfo)(C,this._bareFontInfo),C.style.fontStyle="italic",m.appendChild(C);const s=[];for(const i of this._requests){let n;i.type===0&&(n=_),i.type===2&&(n=v),i.type===1&&(n=C),n.appendChild(document.createElement("br"));const t=document.createElement("span");y._render(t,i),n.appendChild(t),s.push(t)}this._container=m,this._testElements=s}static _render(m,_){if(_.chr===" "){let v="\xA0";for(let C=0;C<8;C++)v+=v;m.innerText=v}else{let v=_.chr;for(let C=0;C<8;C++)v+=v;m.textContent=v}}_readFromDomElements(){for(let m=0,_=this._requests.length;m<_;m++){const v=this._requests[m],C=this._testElements[m];v.fulfill(C.offsetWidth/256)}}}function D(S,m){new y(S,m).read()}e.readCharWidths=D}),define(te[269],ie([1,0,2,6]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ElementSizeObserver=void 0;class y extends L.Disposable{constructor(S,m){super(),this._onDidChange=this._register(new I.Emitter),this.onDidChange=this._onDidChange.event,this._referenceDomElement=S,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,m)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let S=null;const m=()=>{S?this.observe({width:S.width,height:S.height}):this.observe()};let _=!1,v=!1;const C=()=>{if(_&&!v)try{_=!1,v=!0,m()}finally{requestAnimationFrame(()=>{v=!1,C()})}};this._resizeObserver=new ResizeObserver(s=>{S=s&&s[0]&&s[0].contentRect?s[0].contentRect:null,_=!0,C()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(S){this.measureReferenceDomElement(!0,S)}measureReferenceDomElement(S,m){let _=0,v=0;m?(_=m.width,v=m.height):this._referenceDomElement&&(_=this._referenceDomElement.clientWidth,v=this._referenceDomElement.clientHeight),_=Math.max(5,_),v=Math.max(5,v),(this._width!==_||this._height!==v)&&(this._width=_,this._height=v,S&&this._onDidChange.fire())}}e.ElementSizeObserver=y}),define(te[480],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.migrateOptions=e.EditorSettingMigration=void 0;class L{constructor(_,v){this.key=_,this.migrate=v}apply(_){const v=L._read(_,this.key),C=i=>L._read(_,i),s=(i,n)=>L._write(_,i,n);this.migrate(v,C,s)}static _read(_,v){if(typeof _>"u")return;const C=v.indexOf(".");if(C>=0){const s=v.substring(0,C);return this._read(_[s],v.substring(C+1))}return _[v]}static _write(_,v,C){const s=v.indexOf(".");if(s>=0){const i=v.substring(0,s);_[i]=_[i]||{},this._write(_[i],v.substring(s+1),C);return}_[v]=C}}e.EditorSettingMigration=L,L.items=[];function I(m,_){L.items.push(new L(m,_))}function y(m,_){I(m,(v,C,s)=>{if(typeof v<"u"){for(const[i,n]of _)if(v===i){s(m,n);return}}})}function D(m){L.items.forEach(_=>_.apply(m))}e.migrateOptions=D,y("wordWrap",[[!0,"on"],[!1,"off"]]),y("lineNumbers",[[!0,"on"],[!1,"off"]]),y("cursorBlinking",[["visible","solid"]]),y("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),y("renderLineHighlight",[[!0,"line"],[!1,"none"]]),y("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),y("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),y("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),y("autoIndent",[[!1,"advanced"],[!0,"full"]]),y("matchBrackets",[[!0,"always"],[!1,"never"]]),y("renderFinalNewline",[[!0,"on"],[!1,"off"]]),y("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),I("autoClosingBrackets",(m,_,v)=>{m===!1&&(v("autoClosingBrackets","never"),typeof _("autoClosingQuotes")>"u"&&v("autoClosingQuotes","never"),typeof _("autoSurround")>"u"&&v("autoSurround","never"))}),I("renderIndentGuides",(m,_,v)=>{typeof m<"u"&&(v("renderIndentGuides",void 0),typeof _("guides.indentation")>"u"&&v("guides.indentation",!!m))}),I("highlightActiveIndentGuide",(m,_,v)=>{typeof m<"u"&&(v("highlightActiveIndentGuide",void 0),typeof _("guides.highlightActiveIndentation")>"u"&&v("guides.highlightActiveIndentation",!!m))});const S={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};I("suggest.filteredTypes",(m,_,v)=>{if(m&&typeof m=="object"){for(const C of Object.entries(S))m[C[0]]===!1&&typeof _(`suggest.${C[1]}`)>"u"&&v(`suggest.${C[1]}`,!1);v("suggest.filteredTypes",void 0)}}),I("quickSuggestions",(m,_,v)=>{if(typeof m=="boolean"){const C=m?"on":"off";v("quickSuggestions",{comments:C,strings:C,other:C})}}),I("experimental.stickyScroll.enabled",(m,_,v)=>{typeof m=="boolean"&&(v("experimental.stickyScroll.enabled",void 0),typeof _("stickyScroll.enabled")>"u"&&v("stickyScroll.enabled",m))}),I("experimental.stickyScroll.maxLineCount",(m,_,v)=>{typeof m=="number"&&(v("experimental.stickyScroll.maxLineCount",void 0),typeof _("stickyScroll.maxLineCount")>"u"&&v("stickyScroll.maxLineCount",m))})}),define(te[200],ie([1,0,6]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabFocus=void 0;class I{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new L.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(D){this._tabFocus=D,this._onDidChangeTabFocus.fire(this._tabFocus)}}e.TabFocus=new I}),define(te[120],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class L{static capture(y){if(y.getScrollTop()===0||y.hasPendingScrollAnimation())return new L(y.getScrollTop(),y.getContentHeight(),null,0,null);let D=null,S=0;const m=y.getVisibleRanges();if(m.length>0){D=m[0].getStartPosition();const _=y.getTopForPosition(D.lineNumber,D.column);S=y.getScrollTop()-_}return new L(y.getScrollTop(),y.getContentHeight(),D,S,y.getPosition())}constructor(y,D,S,m,_){this._initialScrollTop=y,this._initialContentHeight=D,this._visiblePosition=S,this._visiblePositionScrollDelta=m,this._cursorPosition=_}restore(y){if(!(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())&&this._visiblePosition){const D=y.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);y.setScrollTop(D+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(y){if(this._initialContentHeight===y.getContentHeight()&&this._initialScrollTop===y.getScrollTop())return;const D=y.getPosition();if(!this._cursorPosition||!D)return;const S=y.getTopForLineNumber(D.lineNumber)-y.getTopForLineNumber(this._cursorPosition.lineNumber);y.setScrollTop(y.getScrollTop()+S)}}e.StableEditorScrollState=L}),define(te[142],ie([1,0]),function($,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(C,s){this._restrictedRenderingContextBrand=void 0,this._viewLayout=C,this.viewportData=s,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(C){return C-this.scrollTop}getVerticalOffsetForLineNumber(C,s){return this._viewLayout.getVerticalOffsetForLineNumber(C,s)}getVerticalOffsetAfterLineNumber(C,s){return this._viewLayout.getVerticalOffsetAfterLineNumber(C,s)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=L;class I extends L{constructor(C,s,i){super(C,s),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(C,s){return this._viewLines.linesVisibleRangesForRange(C,s)}visibleRangeForPosition(C){return this._viewLines.visibleRangeForPosition(C)}}e.RenderingContext=I;class y{constructor(C,s,i,n){this.outsideRenderedLine=C,this.lineNumber=s,this.ranges=i,this.continuesOnNextLine=n}}e.LineVisibleRanges=y;class D{static from(C){const s=new Array(C.length);for(let i=0,n=C.length;i=s.left?_.width=Math.max(_.width,s.left+s.width-_.left):(S[m++]=_,_=s)}return S[m++]=_,S}static _createHorizontalRangesFromClientRects(D,S,m){if(!D||D.length===0)return null;const _=[];for(let v=0,C=D.length;vi)return null;if(S=Math.min(i,Math.max(0,S)),_=Math.min(i,Math.max(0,_)),S===_&&m===v&&m===0&&!D.children[S].firstChild){const u=D.children[S].getClientRects();return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(u,C.clientRectDeltaLeft,C.clientRectScale)}S!==_&&_>0&&v===0&&(_--,v=1073741824);let n=D.children[S].firstChild,t=D.children[_].firstChild;if((!n||!t)&&(!n&&m===0&&S>0&&(n=D.children[S-1].firstChild,m=1073741824),!t&&v===0&&_>0&&(t=D.children[_-1].firstChild,v=1073741824)),!n||!t)return null;m=Math.min(n.textContent.length,Math.max(0,m)),v=Math.min(t.textContent.length,Math.max(0,v));const r=this._readClientRects(n,m,t,v,C.endNode);return C.markDidDomLayout(),this._createHorizontalRangesFromClientRects(r,C.clientRectDeltaLeft,C.clientRectScale)}}e.RangeUtil=I}),define(te[270],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const I=[];for(let y=32;y<=126;y++)I.push(y);return I.push(65533),I})();const L=(I,y)=>(I-=32,I<0||I>96?y<=2?(I+96)%96:96-1:I);e.getCharIndex=L}),define(te[483],ie([1,0,270,168]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class y{constructor(S,m){this.scale=m,this._minimapCharRendererBrand=void 0,this.charDataNormal=y.soften(S,12/15),this.charDataLight=y.soften(S,50/60)}static soften(S,m){const _=new Uint8ClampedArray(S.length);for(let v=0,C=S.length;vS.width||_+l>S.height){console.warn("bad render request outside image data");return}const o=r?this.charDataLight:this.charDataNormal,c=(0,L.getCharIndex)(v,t),a=S.width*4,g=i.r,h=i.g,p=i.b,b=C.r-g,w=C.g-h,E=C.b-p,k=Math.max(s,n),M=S.data;let R=c*f*d,B=_*a+m*4;for(let T=0;TS.width||_+u>S.height){console.warn("bad render request outside image data");return}const f=S.width*4,d=.5*(C/255),l=s.r,o=s.g,c=s.b,a=v.r-l,g=v.g-o,h=v.b-c,p=l+a*d,b=o+g*d,w=c+h*d,E=Math.max(C,i),k=S.data;let M=_*f+m*4;for(let R=0;R{const S=new Uint8ClampedArray(D.length/2);for(let m=0;m>1]=I[D[m]]<<4|I[D[m+1]]&15;return S};e.prebakedMiniMaps={1:(0,L.createSingleCallFunction)(()=>y("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,L.createSingleCallFunction)(()=>y("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(te[485],ie([1,0,483,270,484,168]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class S{static create(_,v){if(this.lastCreated&&_===this.lastCreated.scale&&v===this.lastFontFamily)return this.lastCreated;let C;return y.prebakedMiniMaps[_]?C=new L.MinimapCharRenderer(y.prebakedMiniMaps[_](),_):C=S.createFromSampleData(S.createSampleData(v).data,_),this.lastFontFamily=v,this.lastCreated=C,C}static createSampleData(_){const v=document.createElement("canvas"),C=v.getContext("2d");v.style.height="16px",v.height=16,v.width=96*10,v.style.width=96*10+"px",C.fillStyle="#ffffff",C.font=`bold 16px ${_}`,C.textBaseline="middle";let s=0;for(const i of I.allCharCodes)C.fillText(String.fromCharCode(i),s,16/2),s+=10;return C.getImageData(0,0,96*10,16)}static createFromSampleData(_,v){if(_.length!==61440)throw new Error("Unexpected source in MinimapCharRenderer");const s=S._downsample(_,v);return new L.MinimapCharRenderer(s,v)}static _downsampleChar(_,v,C,s,i){const n=1*i,t=2*i;let r=s,u=0;for(let f=0;f0){const u=255/r;for(let f=0;f=0&&S<256?this._asciiMap[S]=_:this._map.set(S,_)}get(S){return S>=0&&S<256?this._asciiMap[S]:this._map.get(S)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}e.CharacterClassifier=I;class y{constructor(){this._actual=new I(0)}add(S){this._actual.set(S,1)}has(S){return this._actual.get(S)===1}clear(){return this._actual.clear()}}e.CharacterSet=y}),define(te[80],ie([1,0,10]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class I{static _nextVisibleColumn(D,S,m){return D===9?I.nextRenderTabStop(S,m):L.isFullWidthCharacter(D)||L.isEmojiImprecise(D)?S+2:S+1}static visibleColumnFromColumn(D,S,m){const _=Math.min(S-1,D.length),v=D.substring(0,_),C=new L.GraphemeIterator(v);let s=0;for(;!C.eol();){const i=L.getNextCodePoint(v,_,C.offset);C.nextGraphemeLength(),s=this._nextVisibleColumn(i,s,m)}return s}static columnFromVisibleColumn(D,S,m){if(S<=0)return 1;const _=D.length,v=new L.GraphemeIterator(D);let C=0,s=1;for(;!v.eol();){const i=L.getNextCodePoint(D,_,v.offset);v.nextGraphemeLength();const n=this._nextVisibleColumn(i,C,m),t=v.offset+1;if(n>=S){const r=S-C;return n-Sm))return new I(S,m)}static ofLength(S){return new I(0,S)}constructor(S,m){if(this.start=S,this.endExclusive=m,S>m)throw new L.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(S){return new I(this.start+S,this.endExclusive+S)}deltaStart(S){return new I(this.start+S,this.endExclusive)}deltaEnd(S){return new I(this.start,this.endExclusive+S)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(S){return this.start===S.start&&this.endExclusive===S.endExclusive}containsRange(S){return this.start<=S.start&&S.endExclusive<=this.endExclusive}contains(S){return this.start<=S&&S=this.endExclusive?this.start+(S-this.start)%this.length:S}forEach(S){for(let m=this.start;mS.toString()).join(", ")}intersectsStrict(S){let m=0;for(;mS+m.length,0)}}e.OffsetRangeSet=y}),define(te[12],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Position=void 0;class L{constructor(y,D){this.lineNumber=y,this.column=D}with(y=this.lineNumber,D=this.column){return y===this.lineNumber&&D===this.column?this:new L(y,D)}delta(y=0,D=0){return this.with(this.lineNumber+y,this.column+D)}equals(y){return L.equals(this,y)}static equals(y,D){return!y&&!D?!0:!!y&&!!D&&y.lineNumber===D.lineNumber&&y.column===D.column}isBefore(y){return L.isBefore(this,y)}static isBefore(y,D){return y.lineNumberm||D===m&&S>_?(this.startLineNumber=m,this.startColumn=_,this.endLineNumber=D,this.endColumn=S):(this.startLineNumber=D,this.startColumn=S,this.endLineNumber=m,this.endColumn=_)}isEmpty(){return I.isEmpty(this)}static isEmpty(D){return D.startLineNumber===D.endLineNumber&&D.startColumn===D.endColumn}containsPosition(D){return I.containsPosition(this,D)}static containsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.columnD.endColumn)}static strictContainsPosition(D,S){return!(S.lineNumberD.endLineNumber||S.lineNumber===D.startLineNumber&&S.column<=D.startColumn||S.lineNumber===D.endLineNumber&&S.column>=D.endColumn)}containsRange(D){return I.containsRange(this,D)}static containsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumnD.endColumn)}strictContainsRange(D){return I.strictContainsRange(this,D)}static strictContainsRange(D,S){return!(S.startLineNumberD.endLineNumber||S.endLineNumber>D.endLineNumber||S.startLineNumber===D.startLineNumber&&S.startColumn<=D.startColumn||S.endLineNumber===D.endLineNumber&&S.endColumn>=D.endColumn)}plusRange(D){return I.plusRange(this,D)}static plusRange(D,S){let m,_,v,C;return S.startLineNumberD.endLineNumber?(v=S.endLineNumber,C=S.endColumn):S.endLineNumber===D.endLineNumber?(v=S.endLineNumber,C=Math.max(S.endColumn,D.endColumn)):(v=D.endLineNumber,C=D.endColumn),new I(m,_,v,C)}intersectRanges(D){return I.intersectRanges(this,D)}static intersectRanges(D,S){let m=D.startLineNumber,_=D.startColumn,v=D.endLineNumber,C=D.endColumn;const s=S.startLineNumber,i=S.startColumn,n=S.endLineNumber,t=S.endColumn;return mn?(v=n,C=t):v===n&&(C=Math.min(C,t)),m>v||m===v&&_>C?null:new I(m,_,v,C)}equalsRange(D){return I.equalsRange(this,D)}static equalsRange(D,S){return!D&&!S?!0:!!D&&!!S&&D.startLineNumber===S.startLineNumber&&D.startColumn===S.startColumn&&D.endLineNumber===S.endLineNumber&&D.endColumn===S.endColumn}getEndPosition(){return I.getEndPosition(this)}static getEndPosition(D){return new L.Position(D.endLineNumber,D.endColumn)}getStartPosition(){return I.getStartPosition(this)}static getStartPosition(D){return new L.Position(D.startLineNumber,D.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(D,S){return new I(this.startLineNumber,this.startColumn,D,S)}setStartPosition(D,S){return new I(D,S,this.endLineNumber,this.endColumn)}collapseToStart(){return I.collapseToStart(this)}static collapseToStart(D){return new I(D.startLineNumber,D.startColumn,D.startLineNumber,D.startColumn)}collapseToEnd(){return I.collapseToEnd(this)}static collapseToEnd(D){return new I(D.endLineNumber,D.endColumn,D.endLineNumber,D.endColumn)}delta(D){return new I(this.startLineNumber+D,this.startColumn,this.endLineNumber+D,this.endColumn)}static fromPositions(D,S=D){return new I(D.lineNumber,D.column,S.lineNumber,S.column)}static lift(D){return D?new I(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn):null}static isIRange(D){return D&&typeof D.startLineNumber=="number"&&typeof D.startColumn=="number"&&typeof D.endLineNumber=="number"&&typeof D.endColumn=="number"}static areIntersectingOrTouching(D,S){return!(D.endLineNumberD.startLineNumber}toJSON(){return this}}e.Range=I}),define(te[273],ie([1,0,10,5]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class y{constructor(m,_,v,C,s){this.value=m,this.selectionStart=_,this.selectionEnd=v,this.selection=C,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(m,_){const v=m.getValue(),C=m.getSelectionStart(),s=m.getSelectionEnd();let i;if(_){const n=v.substring(0,C),t=_.value.substring(0,_.selectionStart);n===t&&(i=_.newlineCountBeforeSelection)}return new y(v,C,s,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new y(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(m,_,v){e._debugComposition&&console.log(`writeToTextArea ${m}: ${this.toString()}`),_.setValue(m,this.value),v&&_.setSelectionRange(m,this.selectionStart,this.selectionEnd)}deduceEditorPosition(m){var _,v,C,s,i,n,t,r;if(m<=this.selectionStart){const d=this.value.substring(m,this.selectionStart);return this._finishDeduceEditorPosition((v=(_=this.selection)===null||_===void 0?void 0:_.getStartPosition())!==null&&v!==void 0?v:null,d,-1)}if(m>=this.selectionEnd){const d=this.value.substring(this.selectionEnd,m);return this._finishDeduceEditorPosition((s=(C=this.selection)===null||C===void 0?void 0:C.getEndPosition())!==null&&s!==void 0?s:null,d,1)}const u=this.value.substring(this.selectionStart,m);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition((n=(i=this.selection)===null||i===void 0?void 0:i.getStartPosition())!==null&&n!==void 0?n:null,u,1);const f=this.value.substring(m,this.selectionEnd);return this._finishDeduceEditorPosition((r=(t=this.selection)===null||t===void 0?void 0:t.getEndPosition())!==null&&r!==void 0?r:null,f,-1)}_finishDeduceEditorPosition(m,_,v){let C=0,s=-1;for(;(s=_.indexOf(` +`,s+1))!==-1;)C++;return[m,v*_.length,C]}static deduceInput(m,_,v){if(!m)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${m.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`));const C=Math.min(L.commonPrefixLength(m.value,_.value),m.selectionStart,_.selectionStart),s=Math.min(L.commonSuffixLength(m.value,_.value),m.value.length-m.selectionEnd,_.value.length-_.selectionEnd),i=m.value.substring(C,m.value.length-s),n=_.value.substring(C,_.value.length-s),t=m.selectionStart-C,r=m.selectionEnd-C,u=_.selectionStart-C,f=_.selectionEnd-C;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${t}, selectionEnd: ${r}`),console.log(`AFTER DIFFING CURRENT STATE: <${n}>, selectionStart: ${u}, selectionEnd: ${f}`)),u===f){const l=m.selectionStart-C;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${l} chars`),{text:n,replacePrevCharCnt:l,replaceNextCharCnt:0,positionDelta:0}}const d=r-t;return{text:n,replacePrevCharCnt:d,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(m,_){if(!m)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${m.toString()}`),console.log(`CURRENT STATE: ${_.toString()}`)),m.value===_.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:_.selectionEnd-m.selectionEnd};const v=Math.min(L.commonPrefixLength(m.value,_.value),m.selectionEnd),C=Math.min(L.commonSuffixLength(m.value,_.value),m.value.length-m.selectionEnd),s=m.value.substring(v,m.value.length-C),i=_.value.substring(v,_.value.length-C),n=m.selectionStart-v,t=m.selectionEnd-v,r=_.selectionStart-v,u=_.selectionEnd-v;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${s}>, selectionStart: ${n}, selectionEnd: ${t}`),console.log(`AFTER DIFFING CURRENT STATE: <${i}>, selectionStart: ${r}, selectionEnd: ${u}`)),{text:i,replacePrevCharCnt:t,replaceNextCharCnt:s.length-t,positionDelta:u-i.length}}}e.TextAreaState=y,y.EMPTY=new y("",0,0,null,void 0);class D{static _getPageOfLine(m,_){return Math.floor((m-1)/_)}static _getRangeForPage(m,_){const v=m*_,C=v+1,s=v+_;return new I.Range(C,1,s+1,1)}static fromEditorSelection(m,_,v,C){const i=D._getPageOfLine(_.startLineNumber,v),n=D._getRangeForPage(i,v),t=D._getPageOfLine(_.endLineNumber,v),r=D._getRangeForPage(t,v);let u=n.intersectRanges(new I.Range(1,1,_.startLineNumber,_.startColumn));if(C&&m.getValueLengthInRange(u,1)>500){const g=m.modifyPosition(u.getEndPosition(),-500);u=I.Range.fromPositions(g,u.getEndPosition())}const f=m.getValueInRange(u,1),d=m.getLineCount(),l=m.getLineMaxColumn(d);let o=r.intersectRanges(new I.Range(_.endLineNumber,_.endColumn,d,l));if(C&&m.getValueLengthInRange(o,1)>500){const g=m.modifyPosition(o.getStartPosition(),500);o=I.Range.fromPositions(o.getStartPosition(),g)}const c=m.getValueInRange(o,1);let a;if(i===t||i+1===t)a=m.getValueInRange(_,1);else{const g=n.intersectRanges(_),h=r.intersectRanges(_);a=m.getValueInRange(g,1)+String.fromCharCode(8230)+m.getValueInRange(h,1)}return C&&a.length>2*500&&(a=a.substring(0,500)+String.fromCharCode(8230)+a.substring(a.length-500,a.length)),new y(f+a+c,f.length,f.length+a.length,_,u.endLineNumber-u.startLineNumber)}}e.PagedScreenReaderStrategy=D}),define(te[487],ie([1,0,13,19,9,43,12,5]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class _{remove(){var n;(n=this.parent)===null||n===void 0||n.children.delete(this.id)}static findId(n,t){let r;typeof n=="string"?r=`${t.id}/${n}`:(r=`${t.id}/${n.name}`,t.children.get(r)!==void 0&&(r=`${t.id}/${n.name}_${n.range.startLineNumber}_${n.range.startColumn}`));let u=r;for(let f=0;t.children.get(u)!==void 0;f++)u=`${r}_${f}`;return u}static empty(n){return n.children.size===0}}e.TreeElement=_;class v extends _{constructor(n,t,r){super(),this.id=n,this.parent=t,this.symbol=r,this.children=new Map}}e.OutlineElement=v;class C extends _{constructor(n,t,r,u){super(),this.id=n,this.parent=t,this.label=r,this.order=u,this.children=new Map}}e.OutlineGroup=C;class s extends _{static create(n,t,r){const u=new I.CancellationTokenSource(r),f=new s(t.uri),d=n.ordered(t),l=d.map((c,a)=>{var g;const h=_.findId(`provider_${a}`,f),p=new C(h,f,(g=c.displayName)!==null&&g!==void 0?g:"Unknown Outline Provider",a);return Promise.resolve(c.provideDocumentSymbols(t,u.token)).then(b=>{for(const w of b||[])s._makeOutlineElement(w,p);return p},b=>((0,y.onUnexpectedExternalError)(b),p)).then(b=>{_.empty(b)?b.remove():f._groups.set(h,b)})}),o=n.onDidChange(()=>{const c=n.ordered(t);(0,L.equals)(c,d)||u.cancel()});return Promise.all(l).then(()=>u.token.isCancellationRequested&&!r.isCancellationRequested?s.create(n,t,r):f._compact()).finally(()=>{u.dispose(),o.dispose()})}static _makeOutlineElement(n,t){const r=_.findId(n,t),u=new v(r,t,n);if(n.children)for(const f of n.children)s._makeOutlineElement(f,u);t.children.set(u.id,u)}constructor(n){super(),this.uri=n,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let n=0;for(const[t,r]of this._groups)r.children.size===0?this._groups.delete(t):n+=1;if(n!==1)this.children=this._groups;else{const t=D.Iterable.first(this._groups.values());for(const[,r]of t.children)r.parent=this,this.children.set(r.id,r)}return this}getTopLevelSymbols(){const n=[];for(const t of this.children.values())t instanceof v?n.push(t.symbol):n.push(...D.Iterable.map(t.children.values(),r=>r.symbol));return n.sort((t,r)=>m.Range.compareRangesUsingStarts(t.range,r.range))}asListOfDocumentSymbols(){const n=this.getTopLevelSymbols(),t=[];return s._flattenDocumentSymbols(t,n,""),t.sort((r,u)=>S.Position.compare(m.Range.getStartPosition(r.range),m.Range.getStartPosition(u.range))||S.Position.compare(m.Range.getEndPosition(u.range),m.Range.getEndPosition(r.range)))}static _flattenDocumentSymbols(n,t,r){for(const u of t)n.push({kind:u.kind,tags:u.tags,name:u.name,detail:u.detail,containerName:u.containerName||r,range:u.range,selectionRange:u.selectionRange,children:void 0}),u.children&&s._flattenDocumentSymbols(n,u.children,u.name)}}e.OutlineModel=s}),define(te[71],ie([1,0,5]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class I{static insert(D,S){return{range:new L.Range(D.lineNumber,D.column,D.lineNumber,D.column),text:S,forceMoveMarkers:!0}}static delete(D){return{range:D,text:null}}static replace(D,S){return{range:D,text:S}}static replaceMove(D,S){return{range:D,text:S,forceMoveMarkers:!0}}}e.EditOperation=I}),define(te[488],ie([1,0,10,71,5]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class D{constructor(_,v){this._selection=_,this._cursors=v,this._selectionId=null}getEditOperations(_,v){const C=S(_,this._cursors);for(let s=0,i=C.length;sn.lineNumber===t.lineNumber?n.column-t.column:n.lineNumber-t.lineNumber);for(let n=_.length-2;n>=0;n--)_[n].lineNumber===_[n+1].lineNumber&&_.splice(n,1);const v=[];let C=0,s=0;const i=_.length;for(let n=1,t=m.getLineCount();n<=t;n++){const r=m.getLineContent(n),u=r.length+1;let f=0;if(sC)throw new L.BugIndicatingError(`startLineNumber ${v} cannot be after endLineNumberExclusive ${C}`);this.startLineNumber=v,this.endLineNumberExclusive=C}contains(v){return this.startLineNumber<=v&&vi.endLineNumberExclusive>=v.startLineNumber),s=(0,D.findLastIdxMonotonous)(this._normalizedRanges,i=>i.startLineNumber<=v.endLineNumberExclusive)+1;if(C===s)this._normalizedRanges.splice(C,0,v);else if(C===s-1){const i=this._normalizedRanges[C];this._normalizedRanges[C]=i.join(v)}else{const i=this._normalizedRanges[C].join(this._normalizedRanges[s-1]).join(v);this._normalizedRanges.splice(C,s-C,i)}}contains(v){const C=(0,D.findLastMonotonous)(this._normalizedRanges,s=>s.startLineNumber<=v);return!!C&&C.endLineNumberExclusive>v}getUnion(v){if(this._normalizedRanges.length===0)return v;if(v._normalizedRanges.length===0)return this;const C=[];let s=0,i=0,n=null;for(;s=t.startLineNumber?n=new S(n.startLineNumber,Math.max(n.endLineNumberExclusive,t.endLineNumberExclusive)):(C.push(n),n=t)}return n!==null&&C.push(n),new m(C)}subtractFrom(v){const C=(0,D.findFirstIdxMonotonousOrArrLen)(this._normalizedRanges,t=>t.endLineNumberExclusive>=v.startLineNumber),s=(0,D.findLastIdxMonotonous)(this._normalizedRanges,t=>t.startLineNumber<=v.endLineNumberExclusive)+1;if(C===s)return new m([v]);const i=[];let n=v.startLineNumber;for(let t=C;tn&&i.push(new S(n,r.startLineNumber)),n=r.endLineNumberExclusive}return nv.toString()).join(", ")}getIntersection(v){const C=[];let s=0,i=0;for(;sC.delta(v)))}}e.LineRangeSet=m}),define(te[274],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RGBA8=void 0;class L{constructor(y,D,S,m){this._rgba8Brand=void 0,this.r=L._clamp(y),this.g=L._clamp(D),this.b=L._clamp(S),this.a=L._clamp(m)}equals(y){return this.r===y.r&&this.g===y.g&&this.b===y.b&&this.a===y.a}static _clamp(y){return y<0?0:y>255?255:y|0}}e.RGBA8=L,L.Empty=new L(0,0,0,0)}),define(te[24],ie([1,0,12,5]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class y extends I.Range{constructor(S,m,_,v){super(S,m,_,v),this.selectionStartLineNumber=S,this.selectionStartColumn=m,this.positionLineNumber=_,this.positionColumn=v}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(S){return y.selectionsEqual(this,S)}static selectionsEqual(S,m){return S.selectionStartLineNumber===m.selectionStartLineNumber&&S.selectionStartColumn===m.selectionStartColumn&&S.positionLineNumber===m.positionLineNumber&&S.positionColumn===m.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(S,m){return this.getDirection()===0?new y(this.startLineNumber,this.startColumn,S,m):new y(S,m,this.startLineNumber,this.startColumn)}getPosition(){return new L.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new L.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(S,m){return this.getDirection()===0?new y(S,m,this.endLineNumber,this.endColumn):new y(this.endLineNumber,this.endColumn,S,m)}static fromPositions(S,m=S){return new y(S.lineNumber,S.column,m.lineNumber,m.column)}static fromRange(S,m){return m===0?new y(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn):new y(S.endLineNumber,S.endColumn,S.startLineNumber,S.startColumn)}static liftSelection(S){return new y(S.selectionStartLineNumber,S.selectionStartColumn,S.positionLineNumber,S.positionColumn)}static selectionsArrEqual(S,m){if(S&&!m||!S&&m)return!1;if(!S&&!m)return!0;if(S.length!==m.length)return!1;for(let _=0,v=S.length;_(S.hasOwnProperty(m)||(S[m]=D(m)),S[m])}e.getMapForWordSeparators=y(D=>new I(D))}),define(te[145],ie([1,0,43,63]),function($,e,L,I){"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 y(v=""){let C="(-?\\d*\\.\\d\\w*)|([^";for(const s of e.USUAL_WORD_SEPARATORS)v.indexOf(s)>=0||(C+="\\"+s);return C+="\\s]+)",new RegExp(C,"g")}e.DEFAULT_WORD_REGEXP=y();function D(v){let C=e.DEFAULT_WORD_REGEXP;if(v&&v instanceof RegExp)if(v.global)C=v;else{let s="g";v.ignoreCase&&(s+="i"),v.multiline&&(s+="m"),v.unicode&&(s+="u"),C=new RegExp(v.source,s)}return C.lastIndex=0,C}e.ensureValidWordDefinition=D;const S=new I.LinkedList;S.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function m(v,C,s,i,n){if(n||(n=L.Iterable.first(S)),s.length>n.maxLen){let d=v-n.maxLen/2;return d<0?d=0:i+=d,s=s.substring(d,v+n.maxLen/2),m(v,C,s,i,n)}const t=Date.now(),r=v-1-i;let u=-1,f=null;for(let d=1;!(Date.now()-t>=n.timeBudget);d++){const l=r-n.windowSize*d;C.lastIndex=Math.max(0,l);const o=_(C,s,r,u);if(!o&&f||(f=o,l<=0))break;u=l}if(f){const d={word:f[0],startColumn:i+1+f.index,endColumn:i+1+f.index+f[0].length};return C.lastIndex=0,d}return null}e.getWordAtText=m;function _(v,C,s,i){let n;for(;n=v.exec(C);){const t=n.index||0;if(t<=s&&v.lastIndex>=s)return n;if(i>0&&t>i)return null}return null}}),define(te[275],ie([1,0,80]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class I{static whitespaceVisibleColumn(D,S,m){const _=D.length;let v=0,C=-1,s=-1;for(let i=0;i<_;i++){if(i===S)return[C,s,v];switch(v%m===0&&(C=i,s=v),D.charCodeAt(i)){case 32:v+=1;break;case 9:v=L.CursorColumns.nextRenderTabStop(v,m);break;default:return[-1,-1,-1]}}return S===_?[C,s,v]:[-1,-1,-1]}static atomicPosition(D,S,m,_){const v=D.length,[C,s,i]=I.whitespaceVisibleColumn(D,S,m);if(i===-1)return-1;let n;switch(_){case 0:n=!0;break;case 1:n=!1;break;case 2:if(i%m===0)return S;n=i%m<=m/2;break}if(n){if(C===-1)return-1;let u=s;for(let f=C;f{n.push(S.fromOffsetPairs(t?t.getEndExclusives():m.zero,r?r.getStarts():new m(i,(t?t.seq2Range.endExclusive-t.seq1Range.endExclusive:0)+i)))}),n}static fromOffsetPairs(s,i){return new S(new y.OffsetRange(s.offset1,i.offset1),new y.OffsetRange(s.offset2,i.offset2))}constructor(s,i){this.seq1Range=s,this.seq2Range=i}swap(){return new S(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(s){return new S(this.seq1Range.join(s.seq1Range),this.seq2Range.join(s.seq2Range))}delta(s){return s===0?this:new S(this.seq1Range.delta(s),this.seq2Range.delta(s))}deltaStart(s){return s===0?this:new S(this.seq1Range.deltaStart(s),this.seq2Range.deltaStart(s))}deltaEnd(s){return s===0?this:new S(this.seq1Range.deltaEnd(s),this.seq2Range.deltaEnd(s))}intersect(s){const i=this.seq1Range.intersect(s.seq1Range),n=this.seq2Range.intersect(s.seq2Range);if(!(!i||!n))return new S(i,n)}getStarts(){return new m(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new m(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}e.SequenceDiff=S;class m{constructor(s,i){this.offset1=s,this.offset2=i}toString(){return`${this.offset1} <-> ${this.offset2}`}}e.OffsetPair=m,m.zero=new m(0,0),m.max=new m(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class _{isValid(){return!0}}e.InfiniteTimeout=_,_.instance=new _;class v{constructor(s){if(this.timeout=s,this.startTime=Date.now(),this.valid=!0,s<=0)throw new I.BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTimei.length||k>n.length)continue;const M=t(E,k);u.set(d,M);const R=E===b?f.get(d+1):f.get(d-1);if(f.set(d,M!==E?new D(R,E,k,M-E):R),u.get(d)===i.length&&u.get(d)-d===n.length)break e}}let l=f.get(d);const o=[];let c=i.length,a=n.length;for(;;){const g=l?l.x+l.length:0,h=l?l.y+l.length:0;if((g!==c||h!==a)&&o.push(new I.SequenceDiff(new L.OffsetRange(g,c),new L.OffsetRange(h,a))),!l)break;c=l.x,a=l.y,l=l.prev}return o.reverse(),new I.DiffAlgorithmResult(o,!1)}}e.MyersDiffAlgorithm=y;class D{constructor(v,C,s,i){this.prev=v,this.x=C,this.y=s,this.length=i}}class S{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(v){return v<0?(v=-v-1,this.negativeArr[v]):this.positiveArr[v]}set(v,C){if(v<0){if(v=-v-1,v>=this.negativeArr.length){const s=this.negativeArr;this.negativeArr=new Int32Array(s.length*2),this.negativeArr.set(s)}this.negativeArr[v]=C}else{if(v>=this.positiveArr.length){const s=this.positiveArr;this.positiveArr=new Int32Array(s.length*2),this.positiveArr.set(s)}this.positiveArr[v]=C}}}class m{constructor(){this.positiveArr=[],this.negativeArr=[]}get(v){return v<0?(v=-v-1,this.negativeArr[v]):this.positiveArr[v]}set(v,C){v<0?(v=-v-1,this.negativeArr[v]=C):this.positiveArr[v]=C}}}),define(te[277],ie([1,0,13,81,146]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeVeryShortMatchingTextBetweenLongDiffs=e.removeVeryShortMatchingLinesBetweenDiffs=e.extendDiffsToEntireWordIfAppropriate=e.removeShortMatches=e.optimizeSequenceDiffs=void 0;function D(t,r,u){let f=u;return f=S(t,r,f),f=m(t,r,f),f}e.optimizeSequenceDiffs=D;function S(t,r,u){if(u.length===0)return u;const f=[];f.push(u[0]);for(let l=1;l0&&(c=c.delta(g))}d.push(c)}return f.length>0&&d.push(f[f.length-1]),d}function m(t,r,u){if(!t.getBoundaryScore||!r.getBoundaryScore)return u;for(let f=0;f0?u[f-1]:void 0,l=u[f],o=f+1=f.start&&t.seq2Range.start-o>=d.start&&u.isStronglyEqual(t.seq2Range.start-o,t.seq2Range.endExclusive-o)&&o<100;)o++;o--;let c=0;for(;t.seq1Range.start+cg&&(g=E,a=h)}return t.delta(a)}function v(t,r,u){const f=[];for(const d of u){const l=f[f.length-1];if(!l){f.push(d);continue}d.seq1Range.start-l.seq1Range.endExclusive<=2||d.seq2Range.start-l.seq2Range.endExclusive<=2?f[f.length-1]=new y.SequenceDiff(l.seq1Range.join(d.seq1Range),l.seq2Range.join(d.seq2Range)):f.push(d)}return f}e.removeShortMatches=v;function C(t,r,u){const f=[];let d;function l(){if(!d)return;const c=d.s1Range.length-d.deleted,a=d.s2Range.length-d.added;Math.max(d.deleted,d.added)+(d.count-1)>c&&f.push(new y.SequenceDiff(d.s1Range,d.s2Range)),d=void 0}for(const c of u){let a=function(w,E){var k,M,R,B;if(!d||!d.s1Range.containsRange(w)||!d.s2Range.containsRange(E))if(d&&!(d.s1Range.endExclusive0||r.length>0;){const f=t[0],d=r[0];let l;f&&(!d||f.seq1Range.start0&&u[u.length-1].seq1Range.endExclusive>=l.seq1Range.start?u[u.length-1]=u[u.length-1].join(l):u.push(l)}return u}function i(t,r,u){let f=u;if(f.length===0)return f;let d=0,l;do{l=!1;const o=[f[0]];for(let c=1;c5||w.seq1Range.length+w.seq2Range.length>5)};const a=f[c],g=o[o.length-1];h(g,a)?(l=!0,o[o.length-1]=o[o.length-1].join(a)):o.push(a)}f=o}while(d++<10&&l);return f}e.removeVeryShortMatchingLinesBetweenDiffs=i;function n(t,r,u){let f=u;if(f.length===0)return f;let d=0,l;do{l=!1;const c=[f[0]];for(let a=1;a5||k.length>500)return!1;const R=t.getText(k).trim();if(R.length>20||R.split(/\r\n|\r|\n/).length>1)return!1;const B=t.countLinesIn(w.seq1Range),T=w.seq1Range.length,N=r.countLinesIn(w.seq2Range),A=w.seq2Range.length,P=t.countLinesIn(E.seq1Range),O=E.seq1Range.length,x=r.countLinesIn(E.seq2Range),W=E.seq2Range.length,U=2*40+50;function F(G){return Math.min(G,U)}return Math.pow(Math.pow(F(B*40+T),1.5)+Math.pow(F(N*40+A),1.5),1.5)+Math.pow(Math.pow(F(P*40+O),1.5)+Math.pow(F(x*40+W),1.5),1.5)>Math.pow(Math.pow(U,1.5),1.5)*1.3};const g=f[a],h=c[c.length-1];p(h,g)?(l=!0,c[c.length-1]=c[c.length-1].join(g)):c.push(g)}f=c}while(d++<10&&l);const o=[];return(0,L.forEachWithNeighbors)(f,(c,a,g)=>{let h=a;function p(R){return R.length>0&&R.trim().length<=3&&a.seq1Range.length+a.seq2Range.length>100}const b=t.extendToFullLines(a.seq1Range),w=t.getText(new I.OffsetRange(b.start,a.seq1Range.start));p(w)&&(h=h.deltaStart(-w.length));const E=t.getText(new I.OffsetRange(a.seq1Range.endExclusive,b.endExclusive));p(E)&&(h=h.deltaEnd(E.length));const k=y.SequenceDiff.fromOffsetPairs(c?c.getEndExclusives():y.OffsetPair.zero,g?g.getStarts():y.OffsetPair.max),M=h.intersect(k);o.push(M)}),o}e.removeVeryShortMatchingTextBetweenLongDiffs=n}),define(te[491],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineSequence=void 0;class L{constructor(D,S){this.trimmedHash=D,this.lines=S}getElement(D){return this.trimmedHash[D]}get length(){return this.trimmedHash.length}getBoundaryScore(D){const S=D===0?0:I(this.lines[D-1]),m=D===this.lines.length?0:I(this.lines[D]);return 1e3-(S+m)}getText(D){return this.lines.slice(D.start,D.endExclusive).join(` +`)}isStronglyEqual(D,S){return this.lines[D]===this.lines[S]}}e.LineSequence=L;function I(y){let D=0;for(;D0&&c>0&&i.get(o-1,c-1)===3&&(h+=n.get(o-1,c-1)),h+=C?C(o,c):1):h=-1;const p=Math.max(a,g,h);if(p===h){const b=o>0&&c>0?n.get(o-1,c-1):0;n.set(o,c,b+1),i.set(o,c,3)}else p===a?(n.set(o,c,0),i.set(o,c,1)):p===g&&(n.set(o,c,0),i.set(o,c,2));s.set(o,c,p)}const t=[];let r=m.length,u=_.length;function f(o,c){(o+1!==r||c+1!==u)&&t.push(new I.SequenceDiff(new L.OffsetRange(o+1,r),new L.OffsetRange(c+1,u))),r=o,u=c}let d=m.length-1,l=_.length-1;for(;d>=0&&l>=0;)i.get(d,l)===3?(f(d,l),d--,l--):i.get(d,l)===1?d--:l--;return f(-1,-1),t.reverse(),new I.DiffAlgorithmResult(t,!1)}}e.DynamicProgrammingDiffing=D}),define(te[278],ie([1,0,68,81,12,5,202]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesSliceCharSequence=void 0;class m{constructor(n,t,r){this.lines=n,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let u=!1;t.start>0&&t.endExclusive>=n.length&&(t=new I.OffsetRange(t.start-1,t.endExclusive),u=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let f=this.lineRange.start;fString.fromCharCode(t)).join("")}getElement(n){return this.elements[n]}get length(){return this.elements.length}getBoundaryScore(n){const t=s(n>0?this.elements[n-1]:-1),r=s(nr<=n);return new y.Position(this.lineRange.start+t+1,n-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(n){return D.Range.fromPositions(this.translateOffset(n.start),this.translateOffset(n.endExclusive))}findWordContaining(n){if(n<0||n>=this.elements.length||!_(this.elements[n]))return;let t=n;for(;t>0&&_(this.elements[t-1]);)t--;let r=n;for(;rd<=n.start))!==null&&t!==void 0?t:0,f=(r=(0,L.findFirstMonotonous)(this.firstCharOffsetByLine,d=>n.endExclusive<=d))!==null&&r!==void 0?r:this.elements.length;return new I.OffsetRange(u,f)}}e.LinesSliceCharSequence=m;function _(i){return i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57}const v={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function C(i){return v[i]}function s(i){return i===10?7:i===13?6:(0,S.isSpace)(i)?5:i>=97&&i<=122?0:i>=65&&i<=90?1:i>=48&&i<=57?2:i===-1?3:4}}),define(te[203],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MovedText=e.LinesDiff=void 0;class L{constructor(D,S,m){this.changes=D,this.moves=S,this.hitTimeout=m}}e.LinesDiff=L;class I{constructor(D,S){this.lineRangeMapping=D,this.changes=S}}e.MovedText=I}),define(te[108],ie([1,0,64]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMapping=e.DetailedLineRangeMapping=e.LineRangeMapping=void 0;class I{static inverse(m,_,v){const C=[];let s=1,i=1;for(const t of m){const r=new y(new L.LineRange(s,t.original.startLineNumber),new L.LineRange(i,t.modified.startLineNumber),void 0);r.modified.isEmpty||C.push(r),s=t.original.endLineNumberExclusive,i=t.modified.endLineNumberExclusive}const n=new y(new L.LineRange(s,_+1),new L.LineRange(i,v+1),void 0);return n.modified.isEmpty||C.push(n),C}constructor(m,_){this.original=m,this.modified=_}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new I(this.modified,this.original)}join(m){return new I(this.original.join(m.original),this.modified.join(m.modified))}}e.LineRangeMapping=I;class y extends I{constructor(m,_,v){super(m,_),this.innerChanges=v}flip(){var m;return new y(this.modified,this.original,(m=this.innerChanges)===null||m===void 0?void 0:m.map(_=>_.flip()))}}e.DetailedLineRangeMapping=y;class D{constructor(m,_){this.originalRange=m,this.modifiedRange=_}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new D(this.modifiedRange,this.originalRange)}}e.RangeMapping=D}),define(te[493],ie([1,0,146,108,13,68,56,64,81,278,202,276]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeMovedLines=void 0;function i(d,l,o,c,a,g){let{moves:h,excludedChanges:p}=n(d,l,o,g);if(!g.isValid())return[];const b=d.filter(E=>!p.has(E)),w=t(b,c,a,l,o,g);return(0,y.pushMany)(h,w),h=u(h),h=h.filter(E=>E.original.toOffsetRange().slice(l).map(M=>M.trim()).join(` +`).length>=10),h=f(d,h),h}e.computeMovedLines=i;function n(d,l,o,c){const a=[],g=d.filter(b=>b.modified.isEmpty&&b.original.length>=3).map(b=>new C.LineRangeFragment(b.original,l,b)),h=new Set(d.filter(b=>b.original.isEmpty&&b.modified.length>=3).map(b=>new C.LineRangeFragment(b.modified,o,b))),p=new Set;for(const b of g){let w=-1,E;for(const k of h){const M=b.computeSimilarity(k);M>w&&(w=M,E=k)}if(w>.9&&E&&(h.delete(E),a.push(new I.LineRangeMapping(b.range,E.range)),p.add(b.source),p.add(E.source)),!c.isValid())return{moves:a,excludedChanges:p}}return{moves:a,excludedChanges:p}}function t(d,l,o,c,a,g){const h=[],p=new S.SetMap;for(const M of d)for(let R=M.original.startLineNumber;RM.modified.startLineNumber,y.numberComparator));for(const M of d){let R=[];for(let B=M.modified.startLineNumber;B{for(const x of R)if(x.originalLineRange.endLineNumberExclusive+1===P.endLineNumberExclusive&&x.modifiedLineRange.endLineNumberExclusive+1===N.endLineNumberExclusive){x.originalLineRange=new m.LineRange(x.originalLineRange.startLineNumber,P.endLineNumberExclusive),x.modifiedLineRange=new m.LineRange(x.modifiedLineRange.startLineNumber,N.endLineNumberExclusive),A.push(x);return}const O={modifiedLineRange:N,originalLineRange:P};b.push(O),A.push(O)}),R=A}if(!g.isValid())return[]}b.sort((0,y.reverseOrder)((0,y.compareBy)(M=>M.modifiedLineRange.length,y.numberComparator)));const w=new m.LineRangeSet,E=new m.LineRangeSet;for(const M of b){const R=M.modifiedLineRange.startLineNumber-M.originalLineRange.startLineNumber,B=w.subtractFrom(M.modifiedLineRange),T=E.subtractFrom(M.originalLineRange).getWithDelta(R),N=B.getIntersection(T);for(const A of N.ranges){if(A.length<3)continue;const P=A,O=A.delta(-R);h.push(new I.LineRangeMapping(O,P)),w.addRange(P),E.addRange(O)}}h.sort((0,y.compareBy)(M=>M.original.startLineNumber,y.numberComparator));const k=new D.MonotonousArray(d);for(let M=0;MU.original.startLineNumber<=R.original.startLineNumber),T=(0,D.findLastMonotonous)(d,U=>U.modified.startLineNumber<=R.modified.startLineNumber),N=Math.max(R.original.startLineNumber-B.original.startLineNumber,R.modified.startLineNumber-T.modified.startLineNumber),A=k.findLastMonotonous(U=>U.original.startLineNumberU.modified.startLineNumberc.length||F>a.length||w.contains(F)||E.contains(U)||!r(c[U-1],a[F-1],g))break}x>0&&(E.addRange(new m.LineRange(R.original.startLineNumber-x,R.original.startLineNumber)),w.addRange(new m.LineRange(R.modified.startLineNumber-x,R.modified.startLineNumber)));let W;for(W=0;Wc.length||F>a.length||w.contains(F)||E.contains(U)||!r(c[U-1],a[F-1],g))break}W>0&&(E.addRange(new m.LineRange(R.original.endLineNumberExclusive,R.original.endLineNumberExclusive+W)),w.addRange(new m.LineRange(R.modified.endLineNumberExclusive,R.modified.endLineNumberExclusive+W))),(x>0||W>0)&&(h[M]=new I.LineRangeMapping(new m.LineRange(R.original.startLineNumber-x,R.original.endLineNumberExclusive+W),new m.LineRange(R.modified.startLineNumber-x,R.modified.endLineNumberExclusive+W)))}return h}function r(d,l,o){if(d.trim()===l.trim())return!0;if(d.length>300&&l.length>300)return!1;const a=new s.MyersDiffAlgorithm().compute(new v.LinesSliceCharSequence([d],new _.OffsetRange(0,1),!1),new v.LinesSliceCharSequence([l],new _.OffsetRange(0,1),!1),o);let g=0;const h=L.SequenceDiff.invert(a.diffs,d.length);for(const E of h)E.seq1Range.forEach(k=>{(0,C.isSpace)(d.charCodeAt(k))||g++});function p(E){let k=0;for(let M=0;Ml.length?d:l);return g/b>.6&&b>10}function u(d){if(d.length===0)return d;d.sort((0,y.compareBy)(o=>o.original.startLineNumber,y.numberComparator));const l=[d[0]];for(let o=1;o=0&&h>=0&&g+h<=2){l[l.length-1]=c.join(a);continue}l.push(a)}return l}function f(d,l){const o=new D.MonotonousArray(d);return l=l.filter(c=>{const a=o.findLastMonotonous(p=>p.original.endLineNumberExclusivep.modified.endLineNumberExclusiveU===F))return new i.LinesDiff([],[],!1);if(o.length===1&&o[0].length===0||c.length===1&&c[0].length===0)return new i.LinesDiff([new n.DetailedLineRangeMapping(new y.LineRange(1,o.length+1),new y.LineRange(1,c.length+1),[new n.RangeMapping(new S.Range(1,1,o.length,o[0].length+1),new S.Range(1,1,c.length,c[0].length+1))])],[],!1);const g=a.maxComputationTimeMs===0?m.InfiniteTimeout.instance:new m.DateTimeout(a.maxComputationTimeMs),h=!a.ignoreTrimWhitespace,p=new Map;function b(U){let F=p.get(U);return F===void 0&&(F=p.size,p.set(U,F)),F}const w=o.map(U=>b(U.trim())),E=c.map(U=>b(U.trim())),k=new r.LineSequence(w,o),M=new r.LineSequence(E,c),R=(()=>k.length+M.length<1700?this.dynamicProgrammingDiffing.compute(k,M,g,(U,F)=>o[U]===c[F]?c[F].length===0?.1:1+Math.log(1+c[F].length):.99):this.myersDiffingAlgorithm.compute(k,M))();let B=R.diffs,T=R.hitTimeout;B=(0,s.optimizeSequenceDiffs)(k,M,B),B=(0,s.removeVeryShortMatchingLinesBetweenDiffs)(k,M,B);const N=[],A=U=>{if(h)for(let F=0;FU.seq1Range.start-P===U.seq2Range.start-O);const F=U.seq1Range.start-P;A(F),P=U.seq1Range.endExclusive,O=U.seq2Range.endExclusive;const G=this.refineDiff(o,c,U,g,h);G.hitTimeout&&(T=!0);for(const Y of G.mappings)N.push(Y)}A(o.length-P);const x=f(N,o,c);let W=[];return a.computeMoves&&(W=this.computeMoves(x,o,c,w,E,g,h)),(0,I.assertFn)(()=>{function U(G,Y){if(G.lineNumber<1||G.lineNumber>Y.length)return!1;const ne=Y[G.lineNumber-1];return!(G.column<1||G.column>ne.length+1)}function F(G,Y){return!(G.startLineNumber<1||G.startLineNumber>Y.length+1||G.endLineNumberExclusive<1||G.endLineNumberExclusive>Y.length+1)}for(const G of x){if(!G.innerChanges)return!1;for(const Y of G.innerChanges)if(!(U(Y.modifiedRange.getStartPosition(),c)&&U(Y.modifiedRange.getEndPosition(),c)&&U(Y.originalRange.getStartPosition(),o)&&U(Y.originalRange.getEndPosition(),o)))return!1;if(!F(G.modified,c)||!F(G.original,o))return!1}return!0}),new i.LinesDiff(x,W,T)}computeMoves(o,c,a,g,h,p,b){return(0,C.computeMovedLines)(o,c,a,g,h,p).map(k=>{const M=this.refineDiff(c,a,new m.SequenceDiff(k.original.toOffsetRange(),k.modified.toOffsetRange()),p,b),R=f(M.mappings,c,a,!0);return new i.MovedText(k,R)})}refineDiff(o,c,a,g,h){const p=new t.LinesSliceCharSequence(o,a.seq1Range,h),b=new t.LinesSliceCharSequence(c,a.seq2Range,h),w=p.length+b.length<500?this.dynamicProgrammingDiffing.compute(p,b,g):this.myersDiffingAlgorithm.compute(p,b,g);let E=w.diffs;return E=(0,s.optimizeSequenceDiffs)(p,b,E),E=(0,s.extendDiffsToEntireWordIfAppropriate)(p,b,E),E=(0,s.removeShortMatches)(p,b,E),E=(0,s.removeVeryShortMatchingTextBetweenLongDiffs)(p,b,E),{mappings:E.map(M=>new n.RangeMapping(p.translateRange(M.seq1Range),b.translateRange(M.seq2Range))),hitTimeout:w.hitTimeout}}}e.DefaultLinesDiffComputer=u;function f(l,o,c,a=!1){const g=[];for(const h of(0,L.groupAdjacentBy)(l.map(p=>d(p,o,c)),(p,b)=>p.original.overlapOrTouch(b.original)||p.modified.overlapOrTouch(b.modified))){const p=h[0],b=h[h.length-1];g.push(new n.DetailedLineRangeMapping(p.original.join(b.original),p.modified.join(b.modified),h.map(w=>w.innerChanges[0])))}return(0,I.assertFn)(()=>!a&&g.length>0&&g[0].original.startLineNumber!==g[0].modified.startLineNumber?!1:(0,I.checkAdjacentItems)(g,(h,p)=>p.original.startLineNumber-h.original.endLineNumberExclusive===p.modified.startLineNumber-h.modified.endLineNumberExclusive&&h.original.endLineNumberExclusive=c[l.modifiedRange.startLineNumber-1].length&&l.originalRange.startColumn-1>=o[l.originalRange.startLineNumber-1].length&&l.originalRange.startLineNumber<=l.originalRange.endLineNumber+g&&l.modifiedRange.startLineNumber<=l.modifiedRange.endLineNumber+g&&(a=1);const h=new y.LineRange(l.originalRange.startLineNumber+a,l.originalRange.endLineNumber+1+g),p=new y.LineRange(l.modifiedRange.startLineNumber+a,l.modifiedRange.endLineNumber+1+g);return new n.DetailedLineRangeMapping(h,p,[l])}e.getLineRangeMapping=d}),define(te[494],ie([1,0,167,203,108,10,5,96,64]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffComputer=e.LegacyLinesDiffComputer=void 0;const v=3;class C{computeDiff(a,g,h){var p;const w=new f(a,g,{maxComputationTime:h.maxComputationTimeMs,shouldIgnoreTrimWhitespace:h.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),E=[];let k=null;for(const M of w.changes){let R;M.originalEndLineNumber===0?R=new _.LineRange(M.originalStartLineNumber+1,M.originalStartLineNumber+1):R=new _.LineRange(M.originalStartLineNumber,M.originalEndLineNumber+1);let B;M.modifiedEndLineNumber===0?B=new _.LineRange(M.modifiedStartLineNumber+1,M.modifiedStartLineNumber+1):B=new _.LineRange(M.modifiedStartLineNumber,M.modifiedEndLineNumber+1);let T=new y.DetailedLineRangeMapping(R,B,(p=M.charChanges)===null||p===void 0?void 0:p.map(N=>new y.RangeMapping(new S.Range(N.originalStartLineNumber,N.originalStartColumn,N.originalEndLineNumber,N.originalEndColumn),new S.Range(N.modifiedStartLineNumber,N.modifiedStartColumn,N.modifiedEndLineNumber,N.modifiedEndColumn))));k&&(k.modified.endLineNumberExclusive===T.modified.startLineNumber||k.original.endLineNumberExclusive===T.original.startLineNumber)&&(T=new y.DetailedLineRangeMapping(k.original.join(T.original),k.modified.join(T.modified),k.innerChanges&&T.innerChanges?k.innerChanges.concat(T.innerChanges):void 0),E.pop()),E.push(T),k=T}return(0,m.assertFn)(()=>(0,m.checkAdjacentItems)(E,(M,R)=>R.original.startLineNumber-M.original.endLineNumberExclusive===R.modified.startLineNumber-M.modified.endLineNumberExclusive&&M.original.endLineNumberExclusive(a===10?"\\n":String.fromCharCode(a))+`-(${this._lineNumbers[g]},${this._columns[g]})`).join(", ")+"]"}_assertIndex(a,g){if(a<0||a>=g.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(a){return a>0&&a===this._lineNumbers.length?this.getEndLineNumber(a-1):(this._assertIndex(a,this._lineNumbers),this._lineNumbers[a])}getEndLineNumber(a){return a===-1?this.getStartLineNumber(a+1):(this._assertIndex(a,this._lineNumbers),this._charCodes[a]===10?this._lineNumbers[a]+1:this._lineNumbers[a])}getStartColumn(a){return a>0&&a===this._columns.length?this.getEndColumn(a-1):(this._assertIndex(a,this._columns),this._columns[a])}getEndColumn(a){return a===-1?this.getStartColumn(a+1):(this._assertIndex(a,this._columns),this._charCodes[a]===10?1:this._columns[a]+1)}}class t{constructor(a,g,h,p,b,w,E,k){this.originalStartLineNumber=a,this.originalStartColumn=g,this.originalEndLineNumber=h,this.originalEndColumn=p,this.modifiedStartLineNumber=b,this.modifiedStartColumn=w,this.modifiedEndLineNumber=E,this.modifiedEndColumn=k}static createFromDiffChange(a,g,h){const p=g.getStartLineNumber(a.originalStart),b=g.getStartColumn(a.originalStart),w=g.getEndLineNumber(a.originalStart+a.originalLength-1),E=g.getEndColumn(a.originalStart+a.originalLength-1),k=h.getStartLineNumber(a.modifiedStart),M=h.getStartColumn(a.modifiedStart),R=h.getEndLineNumber(a.modifiedStart+a.modifiedLength-1),B=h.getEndColumn(a.modifiedStart+a.modifiedLength-1);return new t(p,b,w,E,k,M,R,B)}}function r(c){if(c.length<=1)return c;const a=[c[0]];let g=a[0];for(let h=1,p=c.length;h0&&g.originalLength<20&&g.modifiedLength>0&&g.modifiedLength<20&&b()){const N=h.createCharSequence(a,g.originalStart,g.originalStart+g.originalLength-1),A=p.createCharSequence(a,g.modifiedStart,g.modifiedStart+g.modifiedLength-1);if(N.getElements().length>0&&A.getElements().length>0){let P=s(N,A,b,!0).changes;E&&(P=r(P)),T=[];for(let O=0,x=P.length;O1&&P>1;){const O=T.charCodeAt(A-2),x=N.charCodeAt(P-2);if(O!==x)break;A--,P--}(A>1||P>1)&&this._pushTrimWhitespaceCharChange(p,b+1,1,A,w+1,1,P)}{let A=l(T,1),P=l(N,1);const O=T.length+1,x=N.length+1;for(;A!0;const a=Date.now();return()=>Date.now()-anew L.LegacyLinesDiffComputer,getDefault:()=>new I.DefaultLinesDiffComputer}}),define(te[280],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalEditorAction=void 0;class L{constructor(y,D,S,m,_,v){this.id=y,this.label=D,this.alias=S,this._precondition=m,this._run=_,this._contextKeyService=v}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(y){return this.isSupported()?this._run(y):Promise.resolve(void 0)}}e.InternalEditorAction=L}),define(te[174],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorType=void 0,e.EditorType={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}}),define(te[175],ie([1,0,174]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeEditor=e.isCompositeEditor=e.isDiffEditor=e.isCodeEditor=void 0;function I(m){return m&&typeof m.getEditorType=="function"?m.getEditorType()===L.EditorType.ICodeEditor:!1}e.isCodeEditor=I;function y(m){return m&&typeof m.getEditorType=="function"?m.getEditorType()===L.EditorType.IDiffEditor:!1}e.isDiffEditor=y;function D(m){return!!m&&typeof m=="object"&&typeof m.onDidChangeActiveEditor=="function"}e.isCompositeEditor=D;function S(m){return I(m)?m:y(m)?m.getModifiedEditor():D(m)&&I(m.activeCodeEditor)?m.activeCodeEditor:null}e.getCodeEditor=S}),define(te[147],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEditorFeatures=e.registerEditorFeature=void 0;const L=[];function I(D){L.push(D)}e.registerEditorFeature=I;function y(){return L.slice(0)}e.getEditorFeatures=y}),define(te[496],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorTheme=void 0;class L{get type(){return this._theme.type}get value(){return this._theme}constructor(y){this._theme=y}update(y){this._theme=y}getColor(y){return this._theme.getColor(y)}}e.EditorTheme=L}),define(te[124],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMetadata=void 0;class L{static getLanguageId(y){return(y&255)>>>0}static getTokenType(y){return(y&768)>>>8}static containsBalancedBrackets(y){return(y&1024)!==0}static getFontStyle(y){return(y&30720)>>>11}static getForeground(y){return(y&16744448)>>>15}static getBackground(y){return(y&4278190080)>>>24}static getClassNameFromMetadata(y){let S="mtk"+this.getForeground(y);const m=this.getFontStyle(y);return m&1&&(S+=" mtki"),m&2&&(S+=" mtkb"),m&4&&(S+=" mtku"),m&8&&(S+=" mtks"),S}static getInlineStyleFromMetadata(y,D){const S=this.getForeground(y),m=this.getFontStyle(y);let _=`color: ${D[S]};`;m&1&&(_+="font-style: italic;"),m&2&&(_+="font-weight: bold;");let v="";return m&4&&(v+=" underline"),m&8&&(v+=" line-through"),v&&(_+=`text-decoration:${v};`),_}static getPresentationFromMetadata(y){const D=this.getForeground(y),S=this.getFontStyle(y);return{foreground:D,italic:!!(S&1),bold:!!(S&2),underline:!!(S&4),strikethrough:!!(S&8)}}}e.TokenMetadata=L}),define(te[497],ie([1,0,36]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeDefaultDocumentColors=void 0;function I(i){const n=[];for(const t of i){const r=Number(t);(r||r===0&&t.replace(/\s/g,"")!=="")&&n.push(r)}return n}function y(i,n,t,r){return{red:i/255,blue:t/255,green:n/255,alpha:r}}function D(i,n){const t=n.index,r=n[0].length;if(!t)return;const u=i.positionAt(t);return{startLineNumber:u.lineNumber,startColumn:u.column,endLineNumber:u.lineNumber,endColumn:u.column+r}}function S(i,n){if(!i)return;const t=L.Color.Format.CSS.parseHex(n);if(t)return{range:i,color:y(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function m(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),f=I(u);return{range:i,color:y(f[0],f[1],f[2],t?f[3]:1)}}function _(i,n,t){if(!i||n.length!==1)return;const u=n[0].values(),f=I(u),d=new L.Color(new L.HSLA(f[0],f[1]/100,f[2]/100,t?f[3]:1));return{range:i,color:y(d.rgba.r,d.rgba.g,d.rgba.b,d.rgba.a)}}function v(i,n){return typeof i=="string"?[...i.matchAll(n)]:i.findMatches(n)}function C(i){const n=[],r=v(i,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(const u of r){const f=u.filter(c=>c!==void 0),d=f[1],l=f[2];if(!l)continue;let o;if(d==="rgb"){const c=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=m(D(i,u),v(l,c),!1)}else if(d==="rgba"){const c=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=m(D(i,u),v(l,c),!0)}else if(d==="hsl"){const c=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=_(D(i,u),v(l,c),!1)}else if(d==="hsla"){const c=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=_(D(i,u),v(l,c),!0)}else d==="#"&&(o=S(D(i,u),d+l));o&&n.push(o)}return n}function s(i){return!i||typeof i.getValue!="function"||typeof i.positionAt!="function"?[]:C(i)}e.computeDefaultDocumentColors=s}),define(te[109],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var L;(function(S){S[S.None=0]="None",S[S.Indent=1]="Indent",S[S.IndentOutdent=2]="IndentOutdent",S[S.Outdent=3]="Outdent"})(L||(e.IndentAction=L={}));class I{constructor(m){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=m.open,this.close=m.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(m.notIn))for(let _=0,v=m.notIn.length;_n&&(n=l),d>t&&(t=d),o>t&&(t=o)}n++,t++;const r=new I(t,n,0);for(let u=0,f=i.length;u=this._maxCharCode?0:this._states.get(i,n)}}e.StateMachine=y;let D=null;function S(){return D===null&&(D=new y([[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]])),D}let m=null;function _(){if(m===null){m=new L.CharacterClassifier(0);const s=` <>'"\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 n=0;nr);if(r>0){const d=n.charCodeAt(r-1),l=n.charCodeAt(f);(d===40&&l===41||d===91&&l===93||d===123&&l===125)&&f--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:f+2},url:n.substring(r,f+1)}}static computeLinks(i,n=S()){const t=_(),r=[];for(let u=1,f=i.getLineCount();u<=f;u++){const d=i.getLineContent(u),l=d.length;let o=0,c=0,a=0,g=1,h=!1,p=!1,b=!1,w=!1;for(;o0&&D.getLanguageId(s-1)===v;)s--;return new I(D,v,s,C+1,D.getStartOffset(s),D.getEndOffset(C))}e.createScopedLineTokens=L;class I{constructor(S,m,_,v,C,s){this._scopedLineTokensBrand=void 0,this._actual=S,this.languageId=m,this._firstTokenIndex=_,this._lastTokenIndex=v,this.firstCharOffset=C,this._lastCharOffset=s}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(S){return this._actual.getLineContent().substring(0,this.firstCharOffset+S)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(S){return this._actual.findTokenIndexAtOffset(S+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(S){return this._actual.getStandardTokenType(S+this._firstTokenIndex)}}e.ScopedLineTokens=I;function y(D){return(D&3)!==0}e.ignoreBracketsInToken=y}),define(te[72],ie([1,0,12,5,24,125,80,201]),function($,e,L,I,y,D,S,m){"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 _=()=>!0,v=()=>!1,C=d=>d===" "||d===" ";class s{static shouldRecreate(l){return l.hasChanged(143)||l.hasChanged(129)||l.hasChanged(37)||l.hasChanged(76)||l.hasChanged(78)||l.hasChanged(79)||l.hasChanged(6)||l.hasChanged(7)||l.hasChanged(11)||l.hasChanged(9)||l.hasChanged(10)||l.hasChanged(14)||l.hasChanged(127)||l.hasChanged(50)||l.hasChanged(90)}constructor(l,o,c,a){var g;this.languageConfigurationService=a,this._cursorMoveConfigurationBrand=void 0,this._languageId=l;const h=c.options,p=h.get(143),b=h.get(50);this.readOnly=h.get(90),this.tabSize=o.tabSize,this.indentSize=o.indentSize,this.insertSpaces=o.insertSpaces,this.stickyTabStops=h.get(115),this.lineHeight=b.lineHeight,this.typicalHalfwidthCharacterWidth=b.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(p.height/this.lineHeight)-2),this.useTabStops=h.get(127),this.wordSeparators=h.get(129),this.emptySelectionClipboard=h.get(37),this.copyWithSyntaxHighlighting=h.get(25),this.multiCursorMergeOverlapping=h.get(76),this.multiCursorPaste=h.get(78),this.multiCursorLimit=h.get(79),this.autoClosingBrackets=h.get(6),this.autoClosingComments=h.get(7),this.autoClosingQuotes=h.get(11),this.autoClosingDelete=h.get(9),this.autoClosingOvertype=h.get(10),this.autoSurround=h.get(14),this.autoIndent=h.get(12),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(l,this.autoClosingQuotes,!0),comment:this._getShouldAutoClose(l,this.autoClosingComments,!1),bracket:this._getShouldAutoClose(l,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(l).getAutoClosingPairs();const w=this.languageConfigurationService.getLanguageConfiguration(l).getSurroundingPairs();if(w)for(const k of w)this.surroundingPairs[k.open]=k.close;const E=this.languageConfigurationService.getLanguageConfiguration(l).comments;this.blockCommentStartToken=(g=E?.blockCommentStartToken)!==null&&g!==void 0?g:null}get electricChars(){var l;if(!this._electricChars){this._electricChars={};const o=(l=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||l===void 0?void 0:l.getElectricCharacters();if(o)for(const c of o)this._electricChars[c]=!0}return this._electricChars}onElectricCharacter(l,o,c){const a=(0,D.createScopedLineTokens)(o,c-1),g=this.languageConfigurationService.getLanguageConfiguration(a.languageId).electricCharacter;return g?g.onElectricCharacter(l,a,c-a.firstCharOffset):null}normalizeIndentation(l){return(0,m.normalizeIndentation)(l,this.indentSize,this.insertSpaces)}_getShouldAutoClose(l,o,c){switch(o){case"beforeWhitespace":return C;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(l,c);case"always":return _;case"never":return v}}_getLanguageDefinedShouldAutoClose(l,o){const c=this.languageConfigurationService.getLanguageConfiguration(l).getAutoCloseBeforeSet(o);return a=>c.indexOf(a)!==-1}visibleColumnFromColumn(l,o){return S.CursorColumns.visibleColumnFromColumn(l.getLineContent(o.lineNumber),o.column,this.tabSize)}columnFromVisibleColumn(l,o,c){const a=S.CursorColumns.columnFromVisibleColumn(l.getLineContent(o),c,this.tabSize),g=l.getLineMinColumn(o);if(ah?h:a}}e.CursorConfiguration=s;class i{static fromModelState(l){return new n(l)}static fromViewState(l){return new t(l)}static fromModelSelection(l){const o=y.Selection.liftSelection(l),c=new r(I.Range.fromPositions(o.getSelectionStart()),0,0,o.getPosition(),0);return i.fromModelState(c)}static fromModelSelections(l){const o=[];for(let c=0,a=l.length;cs,r=C>i,u=Ci||gC||a0&&C--,D.columnSelect(m,_,v.fromViewLineNumber,v.fromViewVisualColumn,v.toViewLineNumber,C)}static columnSelectRight(m,_,v){let C=0;const s=Math.min(v.fromViewLineNumber,v.toViewLineNumber),i=Math.max(v.fromViewLineNumber,v.toViewLineNumber);for(let t=s;t<=i;t++){const r=_.getLineMaxColumn(t),u=m.visibleColumnFromColumn(_,new I.Position(t,r));C=Math.max(C,u)}let n=v.toViewVisualColumn;return ns.getLineMinColumn(i.lineNumber))return i.delta(void 0,-L.prevCharLength(s.getLineContent(i.lineNumber),i.column-1));if(i.lineNumber>1){const n=i.lineNumber-1;return new y.Position(n,s.getLineMaxColumn(n))}else return i}static leftPositionAtomicSoftTabs(s,i,n){if(i.column<=s.getLineIndentColumn(i.lineNumber)){const t=s.getLineMinColumn(i.lineNumber),r=s.getLineContent(i.lineNumber),u=S.AtomicTabMoveOperations.atomicPosition(r,i.column-1,n,0);if(u!==-1&&u+1>=t)return new y.Position(i.lineNumber,u+1)}return this.leftPosition(s,i)}static left(s,i,n){const t=s.stickyTabStops?v.leftPositionAtomicSoftTabs(i,n,s.tabSize):v.leftPosition(i,n);return new _(t.lineNumber,t.column,0)}static moveLeft(s,i,n,t,r){let u,f;if(n.hasSelection()&&!t)u=n.selection.startLineNumber,f=n.selection.startColumn;else{const d=n.position.delta(void 0,-(r-1)),l=i.normalizePosition(v.clipPositionColumn(d,i),0),o=v.left(s,i,l);u=o.lineNumber,f=o.column}return n.move(t,u,f,0)}static clipPositionColumn(s,i){return new y.Position(s.lineNumber,v.clipRange(s.column,i.getLineMinColumn(s.lineNumber),i.getLineMaxColumn(s.lineNumber)))}static clipRange(s,i,n){return sn?n:s}static rightPosition(s,i,n){return no?(n=o,f?t=i.getLineMaxColumn(n):t=Math.min(i.getLineMaxColumn(n),t)):t=s.columnFromVisibleColumn(i,n,l),g?r=0:r=l-I.CursorColumns.visibleColumnFromColumn(i.getLineContent(n),t,s.tabSize),d!==void 0){const h=new y.Position(n,t),p=i.normalizePosition(h,d);r=r+(t-p.column),n=p.lineNumber,t=p.column}return new _(n,t,r)}static down(s,i,n,t,r,u,f){return this.vertical(s,i,n,t,r,n+u,f,4)}static moveDown(s,i,n,t,r){let u,f;n.hasSelection()&&!t?(u=n.selection.endLineNumber,f=n.selection.endColumn):(u=n.position.lineNumber,f=n.position.column);let d=0,l;do if(l=v.down(s,i,u+d,f,n.leftoverVisibleColumns,r,!0),i.normalizePosition(new y.Position(l.lineNumber,l.column),2).lineNumber>u)break;while(d++<10&&u+d1&&this._isBlankLine(i,r);)r--;for(;r>1&&!this._isBlankLine(i,r);)r--;return n.move(t,r,i.getLineMinColumn(r),0)}static moveToNextBlankLine(s,i,n,t){const r=i.getLineCount();let u=n.position.lineNumber;for(;u=a.length+1)return!1;const g=a.charAt(c.column-2),h=t.get(g);if(!h)return!1;if((0,y.isQuote)(g)){if(n==="never")return!1}else if(i==="never")return!1;const p=a.charAt(c.column-1);let b=!1;for(const w of h)w.open===g&&w.close===p&&(b=!0);if(!b)return!1;if(s==="auto"){let w=!1;for(let E=0,k=f.length;E1){const r=i.getLineContent(t.lineNumber),u=L.firstNonWhitespaceIndex(r),f=u===-1?r.length+1:u+1;if(t.column<=f){const d=n.visibleColumnFromColumn(i,t),l=D.CursorColumns.prevIndentTabStop(d,n.indentSize),o=n.columnFromVisibleColumn(i,t.lineNumber,l);return new m.Range(t.lineNumber,o,t.lineNumber,t.column)}}return m.Range.fromPositions(v.getPositionAfterDeleteLeft(t,i),t)}static getPositionAfterDeleteLeft(s,i){if(s.column>1){const n=L.getLeftDeleteOffset(s.column-1,i.getLineContent(s.lineNumber));return s.with(void 0,n+1)}else if(s.lineNumber>1){const n=s.lineNumber-1;return new _.Position(n,i.getLineMaxColumn(n))}else return s}static cut(s,i,n){const t=[];let r=null;n.sort((u,f)=>_.Position.compare(u.getStartPosition(),f.getEndPosition()));for(let u=0,f=n.length;u1&&r?.endLineNumber!==l.lineNumber?(o=l.lineNumber-1,c=i.getLineMaxColumn(l.lineNumber-1),a=l.lineNumber,g=i.getLineMaxColumn(l.lineNumber)):(o=l.lineNumber,c=1,a=l.lineNumber,g=i.getLineMaxColumn(l.lineNumber));const h=new m.Range(o,c,a,g);r=h,h.isEmpty()?t[u]=null:t[u]=new I.ReplaceCommand(h,"")}else t[u]=null;else t[u]=new I.ReplaceCommand(d,"")}return new y.EditOperationResult(0,t,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=v}),define(te[176],ie([1,0,10,72,205,144,12,5]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class _{static _createWord(i,n,t,r,u){return{start:r,end:u,wordType:n,nextCharClass:t}}static _findPreviousWordOnLine(i,n,t){const r=n.getLineContent(t.lineNumber);return this._doFindPreviousWordOnLine(r,i,t)}static _doFindPreviousWordOnLine(i,n,t){let r=0;for(let u=t.column-2;u>=0;u--){const f=i.charCodeAt(u),d=n.get(f);if(d===0){if(r===2)return this._createWord(i,r,d,u+1,this._findEndOfWord(i,n,r,u+1));r=1}else if(d===2){if(r===1)return this._createWord(i,r,d,u+1,this._findEndOfWord(i,n,r,u+1));r=2}else if(d===1&&r!==0)return this._createWord(i,r,d,u+1,this._findEndOfWord(i,n,r,u+1))}return r!==0?this._createWord(i,r,1,0,this._findEndOfWord(i,n,r,0)):null}static _findEndOfWord(i,n,t,r){const u=i.length;for(let f=r;f=0;u--){const f=i.charCodeAt(u),d=n.get(f);if(d===1||t===1&&d===2||t===2&&d===0)return u+1}return 0}static moveWordLeft(i,n,t,r){let u=t.lineNumber,f=t.column;f===1&&u>1&&(u=u-1,f=n.getLineMaxColumn(u));let d=_._findPreviousWordOnLine(i,n,new S.Position(u,f));if(r===0)return new S.Position(u,d?d.start+1:1);if(r===1)return d&&d.wordType===2&&d.end-d.start===1&&d.nextCharClass===0&&(d=_._findPreviousWordOnLine(i,n,new S.Position(u,d.start+1))),new S.Position(u,d?d.start+1:1);if(r===3){for(;d&&d.wordType===2;)d=_._findPreviousWordOnLine(i,n,new S.Position(u,d.start+1));return new S.Position(u,d?d.start+1:1)}return d&&f<=d.end+1&&(d=_._findPreviousWordOnLine(i,n,new S.Position(u,d.start+1))),new S.Position(u,d?d.end+1:1)}static _moveWordPartLeft(i,n){const t=n.lineNumber,r=i.getLineMaxColumn(t);if(n.column===1)return t>1?new S.Position(t-1,i.getLineMaxColumn(t-1)):n;const u=i.getLineContent(t);for(let f=n.column-1;f>1;f--){const d=u.charCodeAt(f-2),l=u.charCodeAt(f-1);if(d===95&&l!==95)return new S.Position(t,f);if(d===45&&l!==45)return new S.Position(t,f);if((L.isLowerAsciiLetter(d)||L.isAsciiDigit(d))&&L.isUpperAsciiLetter(l))return new S.Position(t,f);if(L.isUpperAsciiLetter(d)&&L.isUpperAsciiLetter(l)&&f+1=l.start+1&&(l=_._findNextWordOnLine(i,n,new S.Position(u,l.end+1))),l?f=l.start+1:f=n.getLineMaxColumn(u);return new S.Position(u,f)}static _moveWordPartRight(i,n){const t=n.lineNumber,r=i.getLineMaxColumn(t);if(n.column===r)return t1?o=1:(l--,o=r.getLineMaxColumn(l)):(c&&o<=c.end+1&&(c=_._findPreviousWordOnLine(t,r,new S.Position(l,c.start+1))),c?o=c.end+1:o>1?o=1:(l--,o=r.getLineMaxColumn(l))),new m.Range(l,o,d.lineNumber,d.column)}static deleteInsideWord(i,n,t){if(!t.isEmpty())return t;const r=new S.Position(t.positionLineNumber,t.positionColumn),u=this._deleteInsideWordWhitespace(n,r);return u||this._deleteInsideWordDetermineDeleteRange(i,n,r)}static _charAtIsWhitespace(i,n){const t=i.charCodeAt(n);return t===32||t===9}static _deleteInsideWordWhitespace(i,n){const t=i.getLineContent(n.lineNumber),r=t.length;if(r===0)return null;let u=Math.max(n.column-2,0);if(!this._charAtIsWhitespace(t,u))return null;let f=Math.min(n.column-1,r-1);if(!this._charAtIsWhitespace(t,f))return null;for(;u>0&&this._charAtIsWhitespace(t,u-1);)u--;for(;f+11?new m.Range(t.lineNumber-1,n.getLineMaxColumn(t.lineNumber-1),t.lineNumber,1):t.lineNumbera.start+1<=t.column&&t.column<=a.end+1,d=(a,g)=>(a=Math.min(a,t.column),g=Math.max(g,t.column),new m.Range(t.lineNumber,a,t.lineNumber,g)),l=a=>{let g=a.start+1,h=a.end+1,p=!1;for(;h-11&&this._charAtIsWhitespace(r,g-2);)g--;return d(g,h)},o=_._findPreviousWordOnLine(i,n,t);if(o&&f(o))return l(o);const c=_._findNextWordOnLine(i,n,t);return c&&f(c)?l(c):o&&c?d(o.end+1,c.start+1):o?d(o.start+1,o.end+1):c?d(c.start+1,c.end+1):d(1,u+1)}static _deleteWordPartLeft(i,n){if(!n.isEmpty())return n;const t=n.getPosition(),r=_._moveWordPartLeft(i,t);return new m.Range(t.lineNumber,t.column,r.lineNumber,r.column)}static _findFirstNonWhitespaceChar(i,n){const t=i.length;for(let r=n;r=g.start+1&&(g=_._findNextWordOnLine(t,r,new S.Position(l,g.end+1))),g?o=g.start+1:o!!i)}}),define(te[206],ie([1,0,20,72,204,176,12,5]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class _{static addCursorDown(s,i,n){const t=[];let r=0;for(let u=0,f=i.length;ul&&(o=l,c=s.model.getLineMaxColumn(o)),I.CursorState.fromModelState(new I.SingleCursorState(new m.Range(u.lineNumber,1,o,c),2,0,new S.Position(o,c),0))}const d=i.modelState.selectionStart.getStartPosition().lineNumber;if(u.lineNumberd){const l=s.getLineCount();let o=f.lineNumber+1,c=1;return o>l&&(o=l,c=s.getLineMaxColumn(o)),I.CursorState.fromViewState(i.viewState.move(!0,o,c,0))}else{const l=i.modelState.selectionStart.getEndPosition();return I.CursorState.fromModelState(i.modelState.move(!0,l.lineNumber,l.column,0))}}static word(s,i,n,t){const r=s.model.validatePosition(t);return I.CursorState.fromModelState(D.WordOperations.word(s.cursorConfig,s.model,i.modelState,n,r))}static cancelSelection(s,i){if(!i.modelState.hasSelection())return new I.CursorState(i.modelState,i.viewState);const n=i.viewState.position.lineNumber,t=i.viewState.position.column;return I.CursorState.fromViewState(new I.SingleCursorState(new m.Range(n,t,n,t),0,0,new S.Position(n,t),0))}static moveTo(s,i,n,t,r){if(n){if(i.modelState.selectionStartKind===1)return this.word(s,i,n,t);if(i.modelState.selectionStartKind===2)return this.line(s,i,n,t,r)}const u=s.model.validatePosition(t),f=r?s.coordinatesConverter.validateViewPosition(new S.Position(r.lineNumber,r.column),u):s.coordinatesConverter.convertModelPositionToViewPosition(u);return I.CursorState.fromViewState(i.viewState.move(n,f.lineNumber,f.column,0))}static simpleMove(s,i,n,t,r,u){switch(n){case 0:return u===4?this._moveHalfLineLeft(s,i,t):this._moveLeft(s,i,t,r);case 1:return u===4?this._moveHalfLineRight(s,i,t):this._moveRight(s,i,t,r);case 2:return u===2?this._moveUpByViewLines(s,i,t,r):this._moveUpByModelLines(s,i,t,r);case 3:return u===2?this._moveDownByViewLines(s,i,t,r):this._moveDownByModelLines(s,i,t,r);case 4:return u===2?i.map(f=>I.CursorState.fromViewState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s,f.viewState,t))):i.map(f=>I.CursorState.fromModelState(y.MoveOperations.moveToPrevBlankLine(s.cursorConfig,s.model,f.modelState,t)));case 5:return u===2?i.map(f=>I.CursorState.fromViewState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s,f.viewState,t))):i.map(f=>I.CursorState.fromModelState(y.MoveOperations.moveToNextBlankLine(s.cursorConfig,s.model,f.modelState,t)));case 6:return this._moveToViewMinColumn(s,i,t);case 7:return this._moveToViewFirstNonWhitespaceColumn(s,i,t);case 8:return this._moveToViewCenterColumn(s,i,t);case 9:return this._moveToViewMaxColumn(s,i,t);case 10:return this._moveToViewLastNonWhitespaceColumn(s,i,t);default:return null}}static viewportMove(s,i,n,t,r){const u=s.getCompletelyVisibleViewRange(),f=s.coordinatesConverter.convertViewRangeToModelRange(u);switch(n){case 11:{const d=this._firstLineNumberInRange(s.model,f,r),l=s.model.getLineFirstNonWhitespaceColumn(d);return[this._moveToModelPosition(s,i[0],t,d,l)]}case 13:{const d=this._lastLineNumberInRange(s.model,f,r),l=s.model.getLineFirstNonWhitespaceColumn(d);return[this._moveToModelPosition(s,i[0],t,d,l)]}case 12:{const d=Math.round((f.startLineNumber+f.endLineNumber)/2),l=s.model.getLineFirstNonWhitespaceColumn(d);return[this._moveToModelPosition(s,i[0],t,d,l)]}case 14:{const d=[];for(let l=0,o=i.length;ln.endLineNumber-1?u=n.endLineNumber-1:rI.CursorState.fromViewState(y.MoveOperations.moveLeft(s.cursorConfig,s,r.viewState,n,t)))}static _moveHalfLineLeft(s,i,n){const t=[];for(let r=0,u=i.length;rI.CursorState.fromViewState(y.MoveOperations.moveRight(s.cursorConfig,s,r.viewState,n,t)))}static _moveHalfLineRight(s,i,n){const t=[];for(let r=0,u=i.length;rs.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(s=>s.asCursorState())}getViewPositions(){return this.cursors.map(s=>s.viewState.position)}getTopMostViewPosition(){return(0,I.findFirstMinBy)(this.cursors,(0,L.compareBy)(s=>s.viewState.position,S.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,I.findLastMaxBy)(this.cursors,(0,L.compareBy)(s=>s.viewState.position,S.Position.compare)).viewState.position}getSelections(){return this.cursors.map(s=>s.modelState.selection)}getViewSelections(){return this.cursors.map(s=>s.viewState.selection)}setSelections(s){this.setStates(y.CursorState.fromModelSelections(s))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(s){s!==null&&(this.cursors[0].setState(this.context,s[0].modelState,s[0].viewState),this._setSecondaryStates(s.slice(1)))}_setSecondaryStates(s){const i=this.cursors.length-1,n=s.length;if(in){const t=i-n;for(let r=0;r=s+1&&this.lastAddedCursorIndex--,this.cursors[s+1].dispose(this.context),this.cursors.splice(s+1,1)}normalize(){if(this.cursors.length===1)return;const s=this.cursors.slice(0),i=[];for(let n=0,t=s.length;nn.selection,m.Range.compareRangesUsingStarts));for(let n=0;nc&&p.index--;s.splice(c,1),i.splice(o,1),this._removeSecondaryCursor(c-1),n--}}}}e.CursorCollection=v}),define(te[502],ie([1,0,109]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class I{constructor(D){if(D.autoClosingPairs?this._autoClosingPairs=D.autoClosingPairs.map(S=>new L.StandardAutoClosingPairConditional(S)):D.brackets?this._autoClosingPairs=D.brackets.map(S=>new L.StandardAutoClosingPairConditional({open:S[0],close:S[1]})):this._autoClosingPairs=[],D.__electricCharacterSupport&&D.__electricCharacterSupport.docComment){const S=D.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new L.StandardAutoClosingPairConditional({open:S.open,close:S.close||""}))}this._autoCloseBeforeForQuotes=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:I.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof D.autoCloseBefore=="string"?D.autoCloseBefore:I.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=D.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(D){return D?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}e.CharacterPairSupport=I,I.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> + `,I.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> + `}),define(te[503],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function L(y){return y.global&&(y.lastIndex=0),!0}class I{constructor(D){this._indentationRules=D}shouldIncrease(D){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&L(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(D))}shouldDecrease(D){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&L(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(D))}shouldIndentNextLine(D){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&L(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(D))}shouldIgnore(D){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&L(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(D))}getIndentMetadata(D){let S=0;return this.shouldIncrease(D)&&(S+=1),this.shouldDecrease(D)&&(S+=2),this.shouldIndentNextLine(D)&&(S+=4),this.shouldIgnore(D)&&(S+=8),S}}e.IndentRulesSupport=I}),define(te[504],ie([1,0]),function($,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(y,D,S,m,_){if(y&&D){const v=this.doNavigateValueSet(D,_);if(v)return{range:y,value:v}}if(S&&m){const v=this.doNavigateValueSet(m,_);if(v)return{range:S,value:v}}return null}doNavigateValueSet(y,D){const S=this.numberReplace(y,D);return S!==null?S:this.textReplace(y,D)}numberReplace(y,D){const S=Math.pow(10,y.length-(y.lastIndexOf(".")+1));let m=Number(y);const _=parseFloat(y);return!isNaN(m)&&!isNaN(_)&&m===_?m===0&&!D?null:(m=Math.floor(m*S),m+=D?S:-S,String(m/S)):null}textReplace(y,D){return this.valueSetsReplace(this._defaultValueSet,y,D)}valueSetsReplace(y,D,S){let m=null;for(let _=0,v=y.length;m===null&&_=0?(m+=S?1:-1,m<0?m=y.length-1:m%=y.length,y[m]):null}}e.BasicInplaceReplace=L,L.INSTANCE=new L}),define(te[505],ie([1,0,259]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClosingBracketKind=e.OpeningBracketKind=e.BracketKindBase=e.LanguageBracketsConfiguration=void 0;class I{constructor(v,C){this.languageId=v;const s=C.brackets?y(C.brackets):[],i=new L.CachedFunction(r=>{const u=new Set;return{info:new S(this,r,u),closing:u}}),n=new L.CachedFunction(r=>{const u=new Set,f=new Set;return{info:new m(this,r,u,f),opening:u,openingColorized:f}});for(const[r,u]of s){const f=i.get(r),d=n.get(u);f.closing.add(d.info),d.opening.add(f.info)}const t=C.colorizedBracketPairs?y(C.colorizedBracketPairs):s.filter(r=>!(r[0]==="<"&&r[1]===">"));for(const[r,u]of t){const f=i.get(r),d=n.get(u);f.closing.add(d.info),d.openingColorized.add(f.info),d.opening.add(f.info)}this._openingBrackets=new Map([...i.cachedValues].map(([r,u])=>[r,u.info])),this._closingBrackets=new Map([...n.cachedValues].map(([r,u])=>[r,u.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(v){return this._openingBrackets.get(v)}getClosingBracketInfo(v){return this._closingBrackets.get(v)}getBracketInfo(v){return this.getOpeningBracketInfo(v)||this.getClosingBracketInfo(v)}}e.LanguageBracketsConfiguration=I;function y(_){return _.filter(([v,C])=>v!==""&&C!=="")}class D{constructor(v,C){this.config=v,this.bracketText=C}get languageId(){return this.config.languageId}}e.BracketKindBase=D;class S extends D{constructor(v,C,s){super(v,C),this.openedBrackets=s,this.isOpeningBracket=!0}}e.OpeningBracketKind=S;class m extends D{constructor(v,C,s,i){super(v,C),this.openingBrackets=s,this.openingColorizedBrackets=i,this.isOpeningBracket=!1}closes(v){return v.config!==this.config?!1:this.openingBrackets.has(v)}closesColorized(v){return v.config!==this.config?!1:this.openingColorizedBrackets.has(v)}getOpeningBrackets(){return[...this.openingBrackets]}}e.ClosingBracketKind=m}),define(te[506],ie([1,0,9,10,109]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class D{constructor(m){m=m||{},m.brackets=m.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],m.brackets.forEach(_=>{const v=D._createOpenBracketRegExp(_[0]),C=D._createCloseBracketRegExp(_[1]);v&&C&&this._brackets.push({open:_[0],openRegExp:v,close:_[1],closeRegExp:C})}),this._regExpRules=m.onEnterRules||[]}onEnter(m,_,v,C){if(m>=3)for(let s=0,i=this._regExpRules.length;sr.reg?(r.reg.lastIndex=0,r.reg.test(r.text)):!0))return n.action}if(m>=2&&v.length>0&&C.length>0)for(let s=0,i=this._brackets.length;s=2&&v.length>0){for(let s=0,i=this._brackets.length;s{const w=s(p.token,b.token);return w!==0?w:p.index-b.index});let f=0,d="000000",l="ffffff";for(;r.length>=1&&r[0].token==="";){const p=r.shift();p.fontStyle!==-1&&(f=p.fontStyle),p.foreground!==null&&(d=p.foreground),p.background!==null&&(l=p.background)}const o=new m;for(const p of u)o.getId(p);const c=o.getId(d),a=o.getId(l),g=new i(f,c,a),h=new n(g);for(let p=0,b=r.length;p"u"){const l=this._match(f),o=C(f);d=(l.metadata|o<<8)>>>0,this._cache.set(f,d)}return(d|u<<0)>>>0}}e.TokenTheme=_;const v=/\b(comment|string|regex|regexp)\b/;function C(r){const u=r.match(v);if(!u)return 0;switch(u[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=C;function s(r,u){return ru?1:0}e.strcmp=s;class i{constructor(u,f,d){this._themeTrieElementRuleBrand=void 0,this._fontStyle=u,this._foreground=f,this._background=d,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new i(this._fontStyle,this._foreground,this._background)}acceptOverwrite(u,f,d){u!==-1&&(this._fontStyle=u),f!==0&&(this._foreground=f),d!==0&&(this._background=d),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}e.ThemeTrieElementRule=i;class n{constructor(u){this._themeTrieElementBrand=void 0,this._mainRule=u,this._children=new Map}match(u){if(u==="")return this._mainRule;const f=u.indexOf(".");let d,l;f===-1?(d=u,l=""):(d=u.substring(0,f),l=u.substring(f+1));const o=this._children.get(d);return typeof o<"u"?o.match(l):this._mainRule}insert(u,f,d,l){if(u===""){this._mainRule.acceptOverwrite(f,d,l);return}const o=u.indexOf(".");let c,a;o===-1?(c=u,a=""):(c=u.substring(0,o),a=u.substring(o+1));let g=this._children.get(c);typeof g>"u"&&(g=new n(this._mainRule.clone()),this._children.set(c,g)),g.insert(a,f,d,l)}}e.ThemeTrieElement=n;function t(r){const u=[];for(let f=1,d=r.length;f=m&&(h=h-a%m),h}e.lengthAdd=i;function n(a,g){return a.reduce((h,p)=>i(h,g(p)),e.lengthZero)}e.sumLengths=n;function t(a,g){return a===g}e.lengthEquals=t;function r(a,g){const h=a,p=g;if(p-h<=0)return e.lengthZero;const w=Math.floor(h/m),E=Math.floor(p/m),k=p-E*m;if(w===E){const M=h-w*m;return _(0,k-M)}else return _(E-w,k)}e.lengthDiffNonNegative=r;function u(a,g){return a=g}e.lengthGreaterThanEqual=d;function l(a){return _(a.lineNumber-1,a.column-1)}e.positionToLength=l;function o(a,g){const h=a,p=Math.floor(h/m),b=h-p*m,w=g,E=Math.floor(w/m),k=w-E*m;return new I.Range(p+1,b+1,E+1,k+1)}e.lengthsToRange=o;function c(a){const g=(0,L.splitLines)(a);return _(g.length-1,g[g.length-1].length)}e.lengthOfString=c}),define(te[177],ie([1,0,5,87]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class y{static fromModelContentChanges(_){return _.map(C=>{const s=L.Range.lift(C.range);return new y((0,I.positionToLength)(s.getStartPosition()),(0,I.positionToLength)(s.getEndPosition()),(0,I.lengthOfString)(C.text))}).reverse()}constructor(_,v,C){this.startOffset=_,this.endOffset=v,this.newLength=C}toString(){return`[${(0,I.lengthToObj)(this.startOffset)}...${(0,I.lengthToObj)(this.endOffset)}) -> ${(0,I.lengthToObj)(this.newLength)}`}}e.TextEditInfo=y;class D{constructor(_){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=_.map(v=>S.from(v))}getOffsetBeforeChange(_){return this.adjustNextEdit(_),this.translateCurToOld(_)}getDistanceToNextChange(_){this.adjustNextEdit(_);const v=this.edits[this.nextEditIdx],C=v?this.translateOldToCur(v.offsetObj):null;return C===null?null:(0,I.lengthDiffNonNegative)(_,C)}translateOldToCur(_){return _.lineCount===this.deltaLineIdxInOld?(0,I.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount+this.deltaOldToNewColumnCount):(0,I.toLength)(_.lineCount+this.deltaOldToNewLineCount,_.columnCount)}translateCurToOld(_){const v=(0,I.lengthToObj)(_);return v.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,I.toLength)(v.lineCount-this.deltaOldToNewLineCount,v.columnCount-this.deltaOldToNewColumnCount):(0,I.toLength)(v.lineCount-this.deltaOldToNewLineCount,v.columnCount)}adjustNextEdit(_){for(;this.nextEditIdx!0)||[];return i&&l.unshift(i),l}const d=[];for(;i&&!(0,y.lengthIsZero)(f);){const[l,o]=i.splitAt(f);d.push(l),f=(0,y.lengthDiffNonNegative)(l.lengthAfter,f),i=o??C.dequeue()}return(0,y.lengthIsZero)(f)||d.push(new S(!1,f,f)),d}const t=[];function r(f,d,l){if(t.length>0&&(0,y.lengthEquals)(t[t.length-1].endOffset,f)){const o=t[t.length-1];t[t.length-1]=new I.TextEditInfo(o.startOffset,d,(0,y.lengthAdd)(o.newLength,l))}else t.push({startOffset:f,endOffset:d,newLength:l})}let u=y.lengthZero;for(const f of s){const d=n(f.lengthBefore);if(f.modified){const l=(0,y.sumLengths)(d,c=>c.lengthBefore),o=(0,y.lengthAdd)(u,l);r(u,o,f.lengthAfter),u=o}else for(const l of d){const o=u;u=(0,y.lengthAdd)(u,l.lengthBefore),l.modified&&r(o,u,l.lengthAfter)}}return t}e.combineTextEditInfos=D;class S{constructor(v,C,s){this.modified=v,this.lengthBefore=C,this.lengthAfter=s}splitAt(v){const C=(0,y.lengthDiffNonNegative)(v,this.lengthAfter);return(0,y.lengthEquals)(C,y.lengthZero)?[this,void 0]:this.modified?[new S(this.modified,this.lengthBefore,v),new S(this.modified,y.lengthZero,C)]:[new S(this.modified,v,v),new S(this.modified,C,C)]}toString(){return`${this.modified?"M":"U"}:${(0,y.lengthToObj)(this.lengthBefore)} -> ${(0,y.lengthToObj)(this.lengthAfter)}`}}function m(_){const v=[];let C=y.lengthZero;for(const s of _){const i=(0,y.lengthDiffNonNegative)(C,s.startOffset);(0,y.lengthIsZero)(i)||v.push(new S(!1,i,i));const n=(0,y.lengthDiffNonNegative)(s.startOffset,s.endOffset);v.push(new S(!0,n,s.newLength)),C=s.endOffset}return v}}),define(te[508],ie([1,0,87]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeReader=void 0;class I{constructor(m){this.lastOffset=L.lengthZero,this.nextNodes=[m],this.offsets=[L.lengthZero],this.idxs=[]}readLongestNodeAt(m,_){if((0,L.lengthLessThan)(m,this.lastOffset))throw new Error("Invalid offset");for(this.lastOffset=m;;){const v=D(this.nextNodes);if(!v)return;const C=D(this.offsets);if((0,L.lengthLessThan)(m,C))return;if((0,L.lengthLessThan)(C,m))if((0,L.lengthAdd)(C,v.length)<=m)this.nextNodeAfterCurrent();else{const s=y(v);s!==-1?(this.nextNodes.push(v.getChild(s)),this.offsets.push(C),this.idxs.push(s)):this.nextNodeAfterCurrent()}else{if(_(v))return this.nextNodeAfterCurrent(),v;{const s=y(v);if(s===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(v.getChild(s)),this.offsets.push(C),this.idxs.push(s)}}}}nextNodeAfterCurrent(){for(;;){const m=D(this.offsets),_=D(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const v=D(this.nextNodes),C=y(v,this.idxs[this.idxs.length-1]);if(C!==-1){this.nextNodes.push(v.getChild(C)),this.offsets.push((0,L.lengthAdd)(m,_.length)),this.idxs[this.idxs.length-1]=C;break}else this.idxs.pop()}}}e.NodeReader=I;function y(S,m=-1){for(;;){if(m++,m>=S.childrenLength)return-1;if(S.getChild(m))return m}}function D(S){return S.length>0?S[S.length-1]:void 0}}),define(te[126],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const L=[];class I{static create(S,m){if(S<=128&&m.length===0){let _=I.cache[S];return _||(_=new I(S,m),I.cache[S]=_),_}return new I(S,m)}static getEmpty(){return this.empty}constructor(S,m){this.items=S,this.additionalItems=m}add(S,m){const _=m.getKey(S);let v=_>>5;if(v===0){const s=1<<_|this.items;return s===this.items?this:I.create(s,this.additionalItems)}v--;const C=this.additionalItems.slice(0);for(;C.length=v.length)return null;const r=C,u=v[r].listHeight;for(C++;C=2?y(r===0&&C===v.length?v:v.slice(r,C),!1):v[r]}let i=s(),n=s();if(!n)return i;for(let r=s();r;r=s())D(i,n)<=D(n,r)?(i=S(i,n),n=r):n=S(n,r);return S(i,n)}e.concat23Trees=I;function y(v,C=!1){if(v.length===0)return null;if(v.length===1)return v[0];let s=v.length;for(;s>3;){const i=s>>1;for(let n=0;n=3?v[2]:null,C)}e.concat23TreesOfSameHeight=y;function D(v,C){return Math.abs(v.listHeight-C.listHeight)}function S(v,C){return v.listHeight===C.listHeight?L.ListAstNode.create23(v,C,null,!1):v.listHeight>C.listHeight?m(v,C):_(C,v)}function m(v,C){v=v.toMutable();let s=v;const i=[];let n;for(;;){if(C.listHeight===s.listHeight){n=C;break}if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeLastElementMutable()}for(let t=i.length-1;t>=0;t--){const r=i[t];n?r.childrenLength>=3?n=L.ListAstNode.create23(r.unappendChild(),n,null,!1):(r.appendChildOfSameHeight(n),n=void 0):r.handleChildrenChanged()}return n?L.ListAstNode.create23(v,n,null,!1):v}function _(v,C){v=v.toMutable();let s=v;const i=[];for(;C.listHeight!==s.listHeight;){if(s.kind!==4)throw new Error("unexpected");i.push(s),s=s.makeFirstElementMutable()}let n=C;for(let t=i.length-1;t>=0;t--){const r=i[t];n?r.childrenLength>=3?n=L.ListAstNode.create23(n,r.unprependChild(),null,!1):(r.prependChildOfSameHeight(n),n=void 0):r.handleChildrenChanged()}return n?L.ListAstNode.create23(n,v,null,!1):v}}),define(te[282],ie([1,0,178,177,126,87,509,508]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function _(C,s,i,n){return new v(C,s,i,n).parseDocument()}e.parseDocument=_;class v{constructor(s,i,n,t){if(this.tokenizer=s,this.createImmutableLists=t,this._itemsConstructed=0,this._itemsFromCache=0,n&&t)throw new Error("Not supported");this.oldNodeReader=n?new m.NodeReader(n):void 0,this.positionMapper=new I.BeforeEditPositionMapper(i)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let s=this.parseList(y.SmallImmutableSet.getEmpty(),0);return s||(s=L.ListAstNode.getEmpty()),s}parseList(s,i){const n=[];for(;;){let r=this.tryReadChildFromCache(s);if(!r){const u=this.tokenizer.peek();if(!u||u.kind===2&&u.bracketIds.intersects(s))break;r=this.parseChild(s,i+1)}r.kind===4&&r.childrenLength===0||n.push(r)}return this.oldNodeReader?(0,S.concat23Trees)(n):(0,S.concat23TreesOfSameHeight)(n,this.createImmutableLists)}tryReadChildFromCache(s){if(this.oldNodeReader){const i=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(i===null||!(0,D.lengthIsZero)(i)){const n=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),t=>i!==null&&!(0,D.lengthLessThan)(t.length,i)?!1:t.canBeReused(s));if(n)return this._itemsFromCache++,this.tokenizer.skip(n.length),n}}}parseChild(s,i){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:{if(i>300)return new L.TextAstNode(n.length);const t=s.merge(n.bracketIds),r=this.parseList(t,i+1),u=this.tokenizer.peek();return u&&u.kind===2&&(u.bracketId===n.bracketId||u.bracketIds.intersects(n.bracketIds))?(this.tokenizer.read(),L.PairAstNode.create(n.astNode,r,u.astNode)):L.PairAstNode.create(n.astNode,r,null)}default:throw new Error("unexpected")}}}}),define(te[207],ie([1,0,9,124,178,87,126]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FastTokenizer=e.TextBufferTokenizer=e.Token=void 0;class m{constructor(i,n,t,r,u){this.length=i,this.kind=n,this.bracketId=t,this.bracketIds=r,this.astNode=u}}e.Token=m;class _{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.reader=new v(this.textModel,this.bracketTokens),this._offset=D.lengthZero,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,D.toLength)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(i){this.didPeek=!1,this._offset=(0,D.lengthAdd)(this._offset,i);const n=(0,D.lengthToObj)(this._offset);this.reader.setPosition(n.lineCount,n.columnCount)}read(){let i;return this.peeked?(this.didPeek=!1,i=this.peeked):i=this.reader.read(),i&&(this._offset=(0,D.lengthAdd)(this._offset,i.length)),i}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}e.TextBufferTokenizer=_;class v{constructor(i,n){this.textModel=i,this.bracketTokens=n,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}setPosition(i,n){i===this.lineIdx?(this.lineCharOffset=n,this.line!==null&&(this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=i,this.lineCharOffset=n,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const u=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,D.lengthGetColumnCountIfZeroLineCount)(u.length),u}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const i=this.lineIdx,n=this.lineCharOffset;let t=0;for(;;){const u=this.lineTokens,f=u.getCount();let d=null;if(this.lineTokenOffset1e3))break;if(t>1500)break}const r=(0,D.lengthDiff)(i,n,this.lineIdx,this.lineCharOffset);return new m(r,0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode(r))}}class C{constructor(i,n){this.text=i,this._offset=D.lengthZero,this.idx=0;const t=n.getRegExpStr(),r=t?new RegExp(t+`| +`,"gi"):null,u=[];let f,d=0,l=0,o=0,c=0;const a=[];for(let p=0;p<60;p++)a.push(new m((0,D.toLength)(0,p),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(0,p))));const g=[];for(let p=0;p<60;p++)g.push(new m((0,D.toLength)(1,p),0,-1,S.SmallImmutableSet.getEmpty(),new y.TextAstNode((0,D.toLength)(1,p))));if(r)for(r.lastIndex=0;(f=r.exec(i))!==null;){const p=f.index,b=f[0];if(b===` +`)d++,l=p+1;else{if(o!==p){let w;if(c===d){const E=p-o;if(E_(i)).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const s=this.getRegExpStr();this._regExpGlobal=s?new RegExp(s,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(s){return this.map.get(s.toLowerCase())}findClosingTokenText(s){for(const[i,n]of this.map)if(n.kind===2&&n.bracketIds.intersects(s))return i}get isEmpty(){return this.map.size===0}}e.BracketTokens=m;function _(C){let s=(0,L.escapeRegExpCharacters)(C);return/^[\w ]+/.test(C)&&(s=`\\b${s}`),/[\w ]+$/.test(C)&&(s=`${s}\\b`),s}class v{constructor(s,i){this.denseKeyProvider=s,this.getLanguageConfiguration=i,this.languageIdToBracketTokens=new Map}didLanguageChange(s){return this.languageIdToBracketTokens.has(s)}getSingleLanguageBracketTokens(s){let i=this.languageIdToBracketTokens.get(s);return i||(i=m.createFromLanguage(this.getLanguageConfiguration(s),this.denseKeyProvider),this.languageIdToBracketTokens.set(s,i)),i}}e.LanguageAgnosticBracketTokens=v}),define(te[510],ie([1,0,283,87,282,126,207]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixBracketsInLine=void 0;function m(v,C){const s=new D.DenseKeyProvider,i=new L.LanguageAgnosticBracketTokens(s,d=>C.getLanguageConfiguration(d)),n=new S.TextBufferTokenizer(new _([v]),i),t=(0,y.parseDocument)(n,[],void 0,!0);let r="";const u=v.getLineContent();function f(d,l){if(d.kind===2)if(f(d.openingBracket,l),l=(0,I.lengthAdd)(l,d.openingBracket.length),d.child&&(f(d.child,l),l=(0,I.lengthAdd)(l,d.child.length)),d.closingBracket)f(d.closingBracket,l),l=(0,I.lengthAdd)(l,d.closingBracket.length);else{const c=i.getSingleLanguageBracketTokens(d.openingBracket.languageId).findClosingTokenText(d.openingBracket.bracketIds);r+=c}else if(d.kind!==3){if(d.kind===0||d.kind===1)r+=u.substring((0,I.lengthGetColumnCountIfZeroLineCount)(l),(0,I.lengthGetColumnCountIfZeroLineCount)((0,I.lengthAdd)(l,d.length)));else if(d.kind===4)for(const o of d.children)f(o,l),l=(0,I.lengthAdd)(l,o.length)}}return f(t,I.lengthZero),r}e.fixBracketsInLine=m;class _{constructor(C){this.lines=C,this.tokenization={getLineTokens:s=>this.lines[s-1]}}getLineCount(){return this.lines.length}getLineLength(C){return this.lines[C-1].getLineContent().length}}}),define(te[511],ie([1,0,13]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FixedArray=void 0;class I{constructor(S){this._default=S,this._store=[]}get(S){return S=this._store.length;)this._store[this._store.length]=this._default;this._store[S]=m}replace(S,m,_){if(S>=this._store.length)return;if(m===0){this.insert(S,_);return}else if(_===0){this.delete(S,m);return}const v=this._store.slice(0,S),C=this._store.slice(S+m),s=y(_,this._default);this._store=v.concat(s,C)}delete(S,m){m===0||S>=this._store.length||this._store.splice(S,m)}insert(S,m){if(m===0||S>=this._store.length)return;const _=[];for(let v=0;v0&&i>0||n>0&&t>0)return;const r=Math.abs(i-t),u=Math.abs(s-n);if(r===0){v.spacesDiff=u,u>0&&0<=n-1&&n-10?v++:p>1&&C++,I(s,i,c,h,u),u.looksLikeAlignment&&!(m&&S===u.spacesDiff)))continue;const w=u.spacesDiff;w<=t&&r[w]++,s=c,i=h}let f=m;v!==C&&(f=v{const c=r[o];c>l&&(l=c,d=o)}),d===4&&r[4]>0&&r[2]>0&&r[2]>=r[4]/2&&(d=2)}return{insertSpaces:f,tabSize:d}}e.guessIndentation=y}),define(te[513],ie([1,0]),function($,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(P){return(P.metadata&1)>>>0}e.getNodeColor=L;function I(P,O){P.metadata=P.metadata&254|O<<0}function y(P){return(P.metadata&2)>>>1===1}function D(P,O){P.metadata=P.metadata&253|(O?1:0)<<1}function S(P){return(P.metadata&4)>>>2===1}function m(P,O){P.metadata=P.metadata&251|(O?1:0)<<2}function _(P){return(P.metadata&64)>>>6===1}function v(P,O){P.metadata=P.metadata&191|(O?1:0)<<6}function C(P){return(P.metadata&24)>>>3}function s(P,O){P.metadata=P.metadata&231|O<<3}function i(P){return(P.metadata&32)>>>5===1}function n(P,O){P.metadata=P.metadata&223|(O?1:0)<<5}class t{constructor(O,x,W){this.metadata=0,this.parent=this,this.left=this,this.right=this,I(this,1),this.start=x,this.end=W,this.delta=0,this.maxEnd=W,this.id=O,this.ownerId=0,this.options=null,m(this,!1),v(this,!1),s(this,1),n(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=x,this.cachedAbsoluteEnd=W,this.range=null,D(this,!1)}reset(O,x,W,U){this.start=x,this.end=W,this.maxEnd=W,this.cachedVersionId=O,this.cachedAbsoluteStart=x,this.cachedAbsoluteEnd=W,this.range=U}setOptions(O){this.options=O;const x=this.options.className;m(this,x==="squiggly-error"||x==="squiggly-warning"||x==="squiggly-info"),v(this,this.options.glyphMarginClassName!==null),s(this,this.options.stickiness),n(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(O,x,W){this.cachedVersionId!==W&&(this.range=null),this.cachedVersionId=W,this.cachedAbsoluteStart=O,this.cachedAbsoluteEnd=x}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=t,e.SENTINEL=new t(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,I(e.SENTINEL,0);class r{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(O,x,W,U,F,G){return this.root===e.SENTINEL?[]:h(this,O,x,W,U,F,G)}search(O,x,W,U){return this.root===e.SENTINEL?[]:g(this,O,x,W,U)}collectNodesFromOwner(O){return c(this,O)}collectNodesPostOrder(){return a(this)}insert(O){p(this,O),this._normalizeDeltaIfNecessary()}delete(O){w(this,O),this._normalizeDeltaIfNecessary()}resolveNode(O,x){const W=O;let U=0;for(;O!==this.root;)O===O.parent.right&&(U+=O.parent.delta),O=O.parent;const F=W.start+U,G=W.end+U;W.setCachedOffsets(F,G,x)}acceptReplace(O,x,W,U){const F=l(this,O,O+x);for(let G=0,Y=F.length;Gx||W===1?!1:W===2?!0:O}function d(P,O,x,W,U){const F=C(P),G=F===0||F===2,Y=F===1||F===2,ne=x-O,se=W,J=Math.min(ne,se),q=P.start;let H=!1;const V=P.end;let Z=!1;O<=q&&V<=x&&i(P)&&(P.start=O,H=!0,P.end=O,Z=!0);{const le=U?1:ne>0?2:0;!H&&f(q,G,O,le)&&(H=!0),!Z&&f(V,Y,O,le)&&(Z=!0)}if(J>0&&!U){const le=ne>se?2:0;!H&&f(q,G,O+J,le)&&(H=!0),!Z&&f(V,Y,O+J,le)&&(Z=!0)}{const le=U?1:0;!H&&f(q,G,x,le)&&(P.start=O+se,H=!0),!Z&&f(V,Y,x,le)&&(P.end=O+se,Z=!0)}const ee=se-ne;H||(P.start=Math.max(0,q+ee)),Z||(P.end=Math.max(0,V+ee)),P.start>P.end&&(P.end=P.start)}e.nodeAcceptEdit=d;function l(P,O,x){let W=P.root,U=0,F=0,G=0,Y=0;const ne=[];let se=0;for(;W!==e.SENTINEL;){if(y(W)){D(W.left,!1),D(W.right,!1),W===W.parent.right&&(U-=W.parent.delta),W=W.parent;continue}if(!y(W.left)){if(F=U+W.maxEnd,Fx){D(W,!0);continue}if(Y=U+W.end,Y>=O&&(W.setCachedOffsets(G,Y,0),ne[se++]=W),D(W,!0),W.right!==e.SENTINEL&&!y(W.right)){U+=W.delta,W=W.right;continue}}return D(P.root,!1),ne}function o(P,O,x,W){let U=P.root,F=0,G=0,Y=0;const ne=W-(x-O);for(;U!==e.SENTINEL;){if(y(U)){D(U.left,!1),D(U.right,!1),U===U.parent.right&&(F-=U.parent.delta),T(U),U=U.parent;continue}if(!y(U.left)){if(G=F+U.maxEnd,Gx){U.start+=ne,U.end+=ne,U.delta+=ne,(U.delta<-1073741824||U.delta>1073741824)&&(P.requestNormalizeDelta=!0),D(U,!0);continue}if(D(U,!0),U.right!==e.SENTINEL&&!y(U.right)){F+=U.delta,U=U.right;continue}}D(P.root,!1)}function c(P,O){let x=P.root;const W=[];let U=0;for(;x!==e.SENTINEL;){if(y(x)){D(x.left,!1),D(x.right,!1),x=x.parent;continue}if(x.left!==e.SENTINEL&&!y(x.left)){x=x.left;continue}if(x.ownerId===O&&(W[U++]=x),D(x,!0),x.right!==e.SENTINEL&&!y(x.right)){x=x.right;continue}}return D(P.root,!1),W}function a(P){let O=P.root;const x=[];let W=0;for(;O!==e.SENTINEL;){if(y(O)){D(O.left,!1),D(O.right,!1),O=O.parent;continue}if(O.left!==e.SENTINEL&&!y(O.left)){O=O.left;continue}if(O.right!==e.SENTINEL&&!y(O.right)){O=O.right;continue}x[W++]=O,D(O,!0)}return D(P.root,!1),x}function g(P,O,x,W,U){let F=P.root,G=0,Y=0,ne=0;const se=[];let J=0;for(;F!==e.SENTINEL;){if(y(F)){D(F.left,!1),D(F.right,!1),F===F.parent.right&&(G-=F.parent.delta),F=F.parent;continue}if(F.left!==e.SENTINEL&&!y(F.left)){F=F.left;continue}Y=G+F.start,ne=G+F.end,F.setCachedOffsets(Y,ne,W);let q=!0;if(O&&F.ownerId&&F.ownerId!==O&&(q=!1),x&&S(F)&&(q=!1),U&&!_(F)&&(q=!1),q&&(se[J++]=F),D(F,!0),F.right!==e.SENTINEL&&!y(F.right)){G+=F.delta,F=F.right;continue}}return D(P.root,!1),se}function h(P,O,x,W,U,F,G){let Y=P.root,ne=0,se=0,J=0,q=0;const H=[];let V=0;for(;Y!==e.SENTINEL;){if(y(Y)){D(Y.left,!1),D(Y.right,!1),Y===Y.parent.right&&(ne-=Y.parent.delta),Y=Y.parent;continue}if(!y(Y.left)){if(se=ne+Y.maxEnd,sex){D(Y,!0);continue}if(q=ne+Y.end,q>=O){Y.setCachedOffsets(J,q,F);let Z=!0;W&&Y.ownerId&&Y.ownerId!==W&&(Z=!1),U&&S(Y)&&(Z=!1),G&&!_(Y)&&(Z=!1),Z&&(H[V++]=Y)}if(D(Y,!0),Y.right!==e.SENTINEL&&!y(Y.right)){ne+=Y.delta,Y=Y.right;continue}}return D(P.root,!1),H}function p(P,O){if(P.root===e.SENTINEL)return O.parent=e.SENTINEL,O.left=e.SENTINEL,O.right=e.SENTINEL,I(O,0),P.root=O,P.root;b(P,O),N(O.parent);let x=O;for(;x!==P.root&&L(x.parent)===1;)if(x.parent===x.parent.parent.left){const W=x.parent.parent.right;L(W)===1?(I(x.parent,0),I(W,0),I(x.parent.parent,1),x=x.parent.parent):(x===x.parent.right&&(x=x.parent,M(P,x)),I(x.parent,0),I(x.parent.parent,1),R(P,x.parent.parent))}else{const W=x.parent.parent.left;L(W)===1?(I(x.parent,0),I(W,0),I(x.parent.parent,1),x=x.parent.parent):(x===x.parent.left&&(x=x.parent,R(P,x)),I(x.parent,0),I(x.parent.parent,1),M(P,x.parent.parent))}return I(P.root,0),O}function b(P,O){let x=0,W=P.root;const U=O.start,F=O.end;for(;;)if(A(U,F,W.start+x,W.end+x)<0)if(W.left===e.SENTINEL){O.start-=x,O.end-=x,O.maxEnd-=x,W.left=O;break}else W=W.left;else if(W.right===e.SENTINEL){O.start-=x+W.delta,O.end-=x+W.delta,O.maxEnd-=x+W.delta,W.right=O;break}else x+=W.delta,W=W.right;O.parent=W,O.left=e.SENTINEL,O.right=e.SENTINEL,I(O,1)}function w(P,O){let x,W;if(O.left===e.SENTINEL?(x=O.right,W=O,x.delta+=O.delta,(x.delta<-1073741824||x.delta>1073741824)&&(P.requestNormalizeDelta=!0),x.start+=O.delta,x.end+=O.delta):O.right===e.SENTINEL?(x=O.left,W=O):(W=E(O.right),x=W.right,x.start+=W.delta,x.end+=W.delta,x.delta+=W.delta,(x.delta<-1073741824||x.delta>1073741824)&&(P.requestNormalizeDelta=!0),W.start+=O.delta,W.end+=O.delta,W.delta=O.delta,(W.delta<-1073741824||W.delta>1073741824)&&(P.requestNormalizeDelta=!0)),W===P.root){P.root=x,I(x,0),O.detach(),k(),T(x),P.root.parent=e.SENTINEL;return}const U=L(W)===1;if(W===W.parent.left?W.parent.left=x:W.parent.right=x,W===O?x.parent=W.parent:(W.parent===O?x.parent=W:x.parent=W.parent,W.left=O.left,W.right=O.right,W.parent=O.parent,I(W,L(O)),O===P.root?P.root=W:O===O.parent.left?O.parent.left=W:O.parent.right=W,W.left!==e.SENTINEL&&(W.left.parent=W),W.right!==e.SENTINEL&&(W.right.parent=W)),O.detach(),U){N(x.parent),W!==O&&(N(W),N(W.parent)),k();return}N(x),N(x.parent),W!==O&&(N(W),N(W.parent));let F;for(;x!==P.root&&L(x)===0;)x===x.parent.left?(F=x.parent.right,L(F)===1&&(I(F,0),I(x.parent,1),M(P,x.parent),F=x.parent.right),L(F.left)===0&&L(F.right)===0?(I(F,1),x=x.parent):(L(F.right)===0&&(I(F.left,0),I(F,1),R(P,F),F=x.parent.right),I(F,L(x.parent)),I(x.parent,0),I(F.right,0),M(P,x.parent),x=P.root)):(F=x.parent.left,L(F)===1&&(I(F,0),I(x.parent,1),R(P,x.parent),F=x.parent.left),L(F.left)===0&&L(F.right)===0?(I(F,1),x=x.parent):(L(F.left)===0&&(I(F.right,0),I(F,1),M(P,F),F=x.parent.left),I(F,L(x.parent)),I(x.parent,0),I(F.left,0),R(P,x.parent),x=P.root));I(x,0),k()}function E(P){for(;P.left!==e.SENTINEL;)P=P.left;return P}function k(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function M(P,O){const x=O.right;x.delta+=O.delta,(x.delta<-1073741824||x.delta>1073741824)&&(P.requestNormalizeDelta=!0),x.start+=O.delta,x.end+=O.delta,O.right=x.left,x.left!==e.SENTINEL&&(x.left.parent=O),x.parent=O.parent,O.parent===e.SENTINEL?P.root=x:O===O.parent.left?O.parent.left=x:O.parent.right=x,x.left=O,O.parent=x,T(O),T(x)}function R(P,O){const x=O.left;O.delta-=x.delta,(O.delta<-1073741824||O.delta>1073741824)&&(P.requestNormalizeDelta=!0),O.start-=x.delta,O.end-=x.delta,O.left=x.right,x.right!==e.SENTINEL&&(x.right.parent=O),x.parent=O.parent,O.parent===e.SENTINEL?P.root=x:O===O.parent.right?O.parent.right=x:O.parent.left=x,x.right=O,O.parent=x,T(O),T(x)}function B(P){let O=P.end;if(P.left!==e.SENTINEL){const x=P.left.maxEnd;x>O&&(O=x)}if(P.right!==e.SENTINEL){const x=P.right.maxEnd+P.delta;x>O&&(O=x)}return O}function T(P){P.maxEnd=B(P)}e.recomputeMaxEnd=T;function N(P){for(;P!==e.SENTINEL;){const O=B(P);if(P.maxEnd===O)return;P.maxEnd=O,P=P.parent}}function A(P,O,x,W){return P===x?O-W:P-x}e.intervalCompare=A}),define(te[514],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.recomputeTreeMetadata=e.updateTreeMetadata=e.fixInsert=e.rbDelete=e.rightRotate=e.leftRotate=e.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class L{constructor(r,u){this.piece=r,this.color=u,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return I(this.right);let r=this;for(;r.parent!==e.SENTINEL&&r.parent.left!==r;)r=r.parent;return r.parent===e.SENTINEL?e.SENTINEL:r.parent}prev(){if(this.left!==e.SENTINEL)return y(this.left);let r=this;for(;r.parent!==e.SENTINEL&&r.parent.right!==r;)r=r.parent;return r.parent===e.SENTINEL?e.SENTINEL:r.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 I(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}e.leftest=I;function y(t){for(;t.right!==e.SENTINEL;)t=t.right;return t}e.righttest=y;function D(t){return t===e.SENTINEL?0:t.size_left+t.piece.length+D(t.right)}function S(t){return t===e.SENTINEL?0:t.lf_left+t.piece.lineFeedCnt+S(t.right)}function m(){e.SENTINEL.parent=e.SENTINEL}function _(t,r){const u=r.right;u.size_left+=r.size_left+(r.piece?r.piece.length:0),u.lf_left+=r.lf_left+(r.piece?r.piece.lineFeedCnt:0),r.right=u.left,u.left!==e.SENTINEL&&(u.left.parent=r),u.parent=r.parent,r.parent===e.SENTINEL?t.root=u:r.parent.left===r?r.parent.left=u:r.parent.right=u,u.left=r,r.parent=u}e.leftRotate=_;function v(t,r){const u=r.left;r.left=u.right,u.right!==e.SENTINEL&&(u.right.parent=r),u.parent=r.parent,r.size_left-=u.size_left+(u.piece?u.piece.length:0),r.lf_left-=u.lf_left+(u.piece?u.piece.lineFeedCnt:0),r.parent===e.SENTINEL?t.root=u:r===r.parent.right?r.parent.right=u:r.parent.left=u,u.right=r,r.parent=u}e.rightRotate=v;function C(t,r){let u,f;if(r.left===e.SENTINEL?(f=r,u=f.right):r.right===e.SENTINEL?(f=r,u=f.left):(f=I(r.right),u=f.right),f===t.root){t.root=u,u.color=0,r.detach(),m(),t.root.parent=e.SENTINEL;return}const d=f.color===1;if(f===f.parent.left?f.parent.left=u:f.parent.right=u,f===r?(u.parent=f.parent,n(t,u)):(f.parent===r?u.parent=f:u.parent=f.parent,n(t,u),f.left=r.left,f.right=r.right,f.parent=r.parent,f.color=r.color,r===t.root?t.root=f:r===r.parent.left?r.parent.left=f:r.parent.right=f,f.left!==e.SENTINEL&&(f.left.parent=f),f.right!==e.SENTINEL&&(f.right.parent=f),f.size_left=r.size_left,f.lf_left=r.lf_left,n(t,f)),r.detach(),u.parent.left===u){const o=D(u),c=S(u);if(o!==u.parent.size_left||c!==u.parent.lf_left){const a=o-u.parent.size_left,g=c-u.parent.lf_left;u.parent.size_left=o,u.parent.lf_left=c,i(t,u.parent,a,g)}}if(n(t,u.parent),d){m();return}let l;for(;u!==t.root&&u.color===0;)u===u.parent.left?(l=u.parent.right,l.color===1&&(l.color=0,u.parent.color=1,_(t,u.parent),l=u.parent.right),l.left.color===0&&l.right.color===0?(l.color=1,u=u.parent):(l.right.color===0&&(l.left.color=0,l.color=1,v(t,l),l=u.parent.right),l.color=u.parent.color,u.parent.color=0,l.right.color=0,_(t,u.parent),u=t.root)):(l=u.parent.left,l.color===1&&(l.color=0,u.parent.color=1,v(t,u.parent),l=u.parent.left),l.left.color===0&&l.right.color===0?(l.color=1,u=u.parent):(l.left.color===0&&(l.right.color=0,l.color=1,_(t,l),l=u.parent.left),l.color=u.parent.color,u.parent.color=0,l.left.color=0,v(t,u.parent),u=t.root));u.color=0,m()}e.rbDelete=C;function s(t,r){for(n(t,r);r!==t.root&&r.parent.color===1;)if(r.parent===r.parent.parent.left){const u=r.parent.parent.right;u.color===1?(r.parent.color=0,u.color=0,r.parent.parent.color=1,r=r.parent.parent):(r===r.parent.right&&(r=r.parent,_(t,r)),r.parent.color=0,r.parent.parent.color=1,v(t,r.parent.parent))}else{const u=r.parent.parent.left;u.color===1?(r.parent.color=0,u.color=0,r.parent.parent.color=1,r=r.parent.parent):(r===r.parent.left&&(r=r.parent,v(t,r)),r.parent.color=0,r.parent.parent.color=1,_(t,r.parent.parent))}t.root.color=0}e.fixInsert=s;function i(t,r,u,f){for(;r!==t.root&&r!==e.SENTINEL;)r.parent.left===r&&(r.parent.size_left+=u,r.parent.lf_left+=f),r=r.parent}e.updateTreeMetadata=i;function n(t,r){let u=0,f=0;if(r!==t.root){for(;r!==t.root&&r===r.parent.right;)r=r.parent;if(r!==t.root)for(r=r.parent,u=D(r.left)-r.size_left,f=S(r.left)-r.lf_left,r.size_left+=u,r.lf_left+=f;r!==t.root&&(u!==0||f!==0);)r.parent.left===r&&(r.parent.size_left+=u,r.parent.lf_left+=f),r=r.parent}}e.recomputeTreeMetadata=n}),define(te[284],ie([1,0,13,168]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class y{constructor(_){this.values=_,this.prefixSum=new Uint32Array(_.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(_,v){_=(0,I.toUint32)(_);const C=this.values,s=this.prefixSum,i=v.length;return i===0?!1:(this.values=new Uint32Array(C.length+i),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_),_+i),this.values.set(v,_),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(_,v){return _=(0,I.toUint32)(_),v=(0,I.toUint32)(v),this.values[_]===v?!1:(this.values[_]=v,_-1=C.length)return!1;const i=C.length-_;return v>=i&&(v=i),v===0?!1:(this.values=new Uint32Array(C.length-v),this.values.set(C.subarray(0,_),0),this.values.set(C.subarray(_+v),_),this.prefixSum=new Uint32Array(this.values.length),_-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(_){return _<0?0:(_=(0,I.toUint32)(_),this._getPrefixSum(_))}_getPrefixSum(_){if(_<=this.prefixSumValidIndex[0])return this.prefixSum[_];let v=this.prefixSumValidIndex[0]+1;v===0&&(this.prefixSum[0]=this.values[0],v++),_>=this.values.length&&(_=this.values.length-1);for(let C=v;C<=_;C++)this.prefixSum[C]=this.prefixSum[C-1]+this.values[C];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],_),this.prefixSum[_]}getIndexOf(_){_=Math.floor(_),this.getTotalSum();let v=0,C=this.values.length-1,s=0,i=0,n=0;for(;v<=C;)if(s=v+(C-v)/2|0,i=this.prefixSum[s],n=i-this.values[s],_=i)v=s+1;else break;return new S(s,_-n)}}e.PrefixSumComputer=y;class D{constructor(_){this._values=_,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(_){return this._ensureValid(),_===0?0:this._prefixSum[_-1]}getIndexOf(_){this._ensureValid();const v=this._indexBySum[_],C=v>0?this._prefixSum[v-1]:0;return new S(v,_-C)}removeValues(_,v){this._values.splice(_,v),this._invalidate(_)}insertValues(_,v){this._values=(0,L.arrayInsert)(this._values,_,v),this._invalidate(_)}_invalidate(_){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,_-1)}_ensureValid(){if(!this._isValid){for(let _=this._validEndIndex+1,v=this._values.length;_0?this._prefixSum[_-1]:0;this._prefixSum[_]=s+C;for(let i=0;i=0;let l=null;try{l=L.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:d,global:!0,unicode:!0})}catch{return null}if(!l)return null;let o=!this.isRegex&&!d;return o&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(o=this.matchCase),new S.SearchData(l,this.wordSeparators?(0,I.getMapForWordSeparators)(this.wordSeparators):null,o?this.searchString:null)}}e.SearchParams=_;function v(f){if(!f||f.length===0)return!1;for(let d=0,l=f.length;d=l)break;const c=f.charCodeAt(d);if(c===110||c===114||c===87)return!0}}return!1}e.isMultilineRegexSource=v;function C(f,d,l){if(!l)return new S.FindMatch(f,null);const o=[];for(let c=0,a=d.length;c>0);l[a]>=d?c=a-1:l[a+1]>=d?(o=a,c=a):o=a+1}return o+1}}class i{static findMatches(d,l,o,c,a){const g=l.parseSearchRequest();return g?g.regex.multiline?this._doFindMatchesMultiline(d,o,new u(g.wordSeparators,g.regex),c,a):this._doFindMatchesLineByLine(d,o,g,c,a):[]}static _getMultilineMatchRange(d,l,o,c,a,g){let h,p=0;c?(p=c.findLineFeedCountBeforeOffset(a),h=l+a+p):h=l+a;let b;if(c){const M=c.findLineFeedCountBeforeOffset(a+g.length)-p;b=h+g.length+M}else b=h+g.length;const w=d.getPositionAt(h),E=d.getPositionAt(b);return new D.Range(w.lineNumber,w.column,E.lineNumber,E.column)}static _doFindMatchesMultiline(d,l,o,c,a){const g=d.getOffsetAt(l.getStartPosition()),h=d.getValueInRange(l,1),p=d.getEOL()===`\r +`?new s(h):null,b=[];let w=0,E;for(o.reset(0);E=o.next(h);)if(b[w++]=C(this._getMultilineMatchRange(d,g,h,p,E.index,E[0]),E,c),w>=a)return b;return b}static _doFindMatchesLineByLine(d,l,o,c,a){const g=[];let h=0;if(l.startLineNumber===l.endLineNumber){const b=d.getLineContent(l.startLineNumber).substring(l.startColumn-1,l.endColumn-1);return h=this._findMatchesInLine(o,b,l.startLineNumber,l.startColumn-1,h,g,c,a),g}const p=d.getLineContent(l.startLineNumber).substring(l.startColumn-1);h=this._findMatchesInLine(o,p,l.startLineNumber,l.startColumn-1,h,g,c,a);for(let b=l.startLineNumber+1;b=p))return a;return a}const w=new u(d.wordSeparators,d.regex);let E;w.reset(0);do if(E=w.next(l),E&&(g[a++]=C(new D.Range(o,E.index+1+c,o,E.index+1+E[0].length+c),E,h),a>=p))return a;while(E);return a}static findNextMatch(d,l,o,c){const a=l.parseSearchRequest();if(!a)return null;const g=new u(a.wordSeparators,a.regex);return a.regex.multiline?this._doFindNextMatchMultiline(d,o,g,c):this._doFindNextMatchLineByLine(d,o,g,c)}static _doFindNextMatchMultiline(d,l,o,c){const a=new y.Position(l.lineNumber,1),g=d.getOffsetAt(a),h=d.getLineCount(),p=d.getValueInRange(new D.Range(a.lineNumber,a.column,h,d.getLineMaxColumn(h)),1),b=d.getEOL()===`\r +`?new s(p):null;o.reset(l.column-1);const w=o.next(p);return w?C(this._getMultilineMatchRange(d,g,p,b,w.index,w[0]),w,c):l.lineNumber!==1||l.column!==1?this._doFindNextMatchMultiline(d,new y.Position(1,1),o,c):null}static _doFindNextMatchLineByLine(d,l,o,c){const a=d.getLineCount(),g=l.lineNumber,h=d.getLineContent(g),p=this._findFirstMatchInLine(o,h,g,l.column,c);if(p)return p;for(let b=1;b<=a;b++){const w=(g+b-1)%a,E=d.getLineContent(w+1),k=this._findFirstMatchInLine(o,E,w+1,1,c);if(k)return k}return null}static _findFirstMatchInLine(d,l,o,c,a){d.reset(c-1);const g=d.next(l);return g?C(new D.Range(o,g.index+1,o,g.index+1+g[0].length),g,a):null}static findPreviousMatch(d,l,o,c){const a=l.parseSearchRequest();if(!a)return null;const g=new u(a.wordSeparators,a.regex);return a.regex.multiline?this._doFindPreviousMatchMultiline(d,o,g,c):this._doFindPreviousMatchLineByLine(d,o,g,c)}static _doFindPreviousMatchMultiline(d,l,o,c){const a=this._doFindMatchesMultiline(d,new D.Range(1,1,l.lineNumber,l.column),o,c,10*m);if(a.length>0)return a[a.length-1];const g=d.getLineCount();return l.lineNumber!==g||l.column!==d.getLineMaxColumn(g)?this._doFindPreviousMatchMultiline(d,new y.Position(g,d.getLineMaxColumn(g)),o,c):null}static _doFindPreviousMatchLineByLine(d,l,o,c){const a=d.getLineCount(),g=l.lineNumber,h=d.getLineContent(g).substring(0,l.column-1),p=this._findLastMatchInLine(o,h,g,c);if(p)return p;for(let b=1;b<=a;b++){const w=(a+g-b-1)%a,E=d.getLineContent(w+1),k=this._findLastMatchInLine(o,E,w+1,c);if(k)return k}return null}static _findLastMatchInLine(d,l,o,c){let a=null,g;for(d.reset(0);g=d.next(l);)a=C(new D.Range(o,g.index+1,o,g.index+1+g[0].length),g,c);return a}}e.TextModelSearch=i;function n(f,d,l,o,c){if(o===0)return!0;const a=d.charCodeAt(o-1);if(f.get(a)!==0||a===13||a===10)return!0;if(c>0){const g=d.charCodeAt(o);if(f.get(g)!==0)return!0}return!1}function t(f,d,l,o,c){if(o+c===l)return!0;const a=d.charCodeAt(o+c);if(f.get(a)!==0||a===13||a===10)return!0;if(c>0){const g=d.charCodeAt(o+c-1);if(f.get(g)!==0)return!0}return!1}function r(f,d,l,o,c){return n(f,d,l,o,c)&&t(f,d,l,o,c)}e.isValidMatch=r;class u{constructor(d,l){this._wordSeparators=d,this._searchRegex=l,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(d){this._searchRegex.lastIndex=d,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(d){const l=d.length;let o;do{if(this._prevMatchStartIndex+this._prevMatchLength===l||(o=this._searchRegex.exec(d),!o))return null;const c=o.index,a=o[0].length;if(c===this._prevMatchStartIndex&&a===this._prevMatchLength){if(a===0){L.getNextCodePoint(d,l,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=c,this._prevMatchLength=a,!this._wordSeparators||r(this._wordSeparators,d,l,c,a))return o}while(o);return null}}e.Searcher=u}),define(te[286],ie([1,0,12,5,49,514,179]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeBase=e.StringBuffer=e.Piece=e.createLineStarts=e.createLineStartsFast=void 0;const m=65535;function _(f){let d;return f[f.length-1]<65536?d=new Uint16Array(f.length):d=new Uint32Array(f.length),d.set(f,0),d}class v{constructor(d,l,o,c,a){this.lineStarts=d,this.cr=l,this.lf=o,this.crlf=c,this.isBasicASCII=a}}function C(f,d=!0){const l=[0];let o=1;for(let c=0,a=f.length;c126)&&(g=!1)}const h=new v(_(f),o,c,a,g);return f.length=0,h}e.createLineStarts=s;class i{constructor(d,l,o,c,a){this.bufferIndex=d,this.start=l,this.end=o,this.lineFeedCnt=c,this.length=a}}e.Piece=i;class n{constructor(d,l){this.buffer=d,this.lineStarts=l}}e.StringBuffer=n;class t{constructor(d,l){this._pieces=[],this._tree=d,this._BOM=l,this._index=0,d.root!==D.SENTINEL&&d.iterate(d.root,o=>(o!==D.SENTINEL&&this._pieces.push(o.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class r{constructor(d){this._limit=d,this._cache=[]}get(d){for(let l=this._cache.length-1;l>=0;l--){const o=this._cache[l];if(o.nodeStartOffset<=d&&o.nodeStartOffset+o.node.piece.length>=d)return o}return null}get2(d){for(let l=this._cache.length-1;l>=0;l--){const o=this._cache[l];if(o.nodeStartLineNumber&&o.nodeStartLineNumber=d)return o}return null}set(d){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(d)}validate(d){let l=!1;const o=this._cache;for(let c=0;c=d){o[c]=null,l=!0;continue}}if(l){const c=[];for(const a of o)a!==null&&c.push(a);this._cache=c}}}class u{constructor(d,l,o){this.create(d,l,o)}create(d,l,o){this._buffers=[new n("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=D.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=l,this._EOLLength=l.length,this._EOLNormalized=o;let c=null;for(let a=0,g=d.length;a0){d[a].lineStarts||(d[a].lineStarts=C(d[a].buffer));const h=new i(a+1,{line:0,column:0},{line:d[a].lineStarts.length-1,column:d[a].buffer.length-d[a].lineStarts[d[a].lineStarts.length-1]},d[a].lineStarts.length-1,d[a].buffer.length);this._buffers.push(d[a]),c=this.rbInsertRight(c,h)}this._searchCache=new r(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(d){const l=m,o=l-Math.floor(l/3),c=o*2;let a="",g=0;const h=[];if(this.iterate(this.root,p=>{const b=this.getNodeContent(p),w=b.length;if(g<=o||g+w0){const p=a.replace(/\r\n|\r|\n/g,d);h.push(new n(p,C(p)))}this.create(h,d,!0)}getEOL(){return this._EOL}setEOL(d){this._EOL=d,this._EOLLength=this._EOL.length,this.normalizeEOL(d)}createSnapshot(d){return new t(this,d)}getOffsetAt(d,l){let o=0,c=this.root;for(;c!==D.SENTINEL;)if(c.left!==D.SENTINEL&&c.lf_left+1>=d)c=c.left;else if(c.lf_left+c.piece.lineFeedCnt+1>=d){o+=c.size_left;const a=this.getAccumulatedValue(c,d-c.lf_left-2);return o+=a+l-1}else d-=c.lf_left+c.piece.lineFeedCnt,o+=c.size_left+c.piece.length,c=c.right;return o}getPositionAt(d){d=Math.floor(d),d=Math.max(0,d);let l=this.root,o=0;const c=d;for(;l!==D.SENTINEL;)if(l.size_left!==0&&l.size_left>=d)l=l.left;else if(l.size_left+l.piece.length>=d){const a=this.getIndexOf(l,d-l.size_left);if(o+=l.lf_left+a.index,a.index===0){const g=this.getOffsetAt(o+1,1),h=c-g;return new L.Position(o+1,h+1)}return new L.Position(o+1,a.remainder+1)}else if(d-=l.size_left+l.piece.length,o+=l.lf_left+l.piece.lineFeedCnt,l.right===D.SENTINEL){const a=this.getOffsetAt(o+1,1),g=c-d-a;return new L.Position(o+1,g+1)}else l=l.right;return new L.Position(1,1)}getValueInRange(d,l){if(d.startLineNumber===d.endLineNumber&&d.startColumn===d.endColumn)return"";const o=this.nodeAt2(d.startLineNumber,d.startColumn),c=this.nodeAt2(d.endLineNumber,d.endColumn),a=this.getValueInRange2(o,c);return l?l!==this._EOL||!this._EOLNormalized?a.replace(/\r\n|\r|\n/g,l):l===this.getEOL()&&this._EOLNormalized?a:a.replace(/\r\n|\r|\n/g,l):a}getValueInRange2(d,l){if(d.node===l.node){const h=d.node,p=this._buffers[h.piece.bufferIndex].buffer,b=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start);return p.substring(b+d.remainder,b+l.remainder)}let o=d.node;const c=this._buffers[o.piece.bufferIndex].buffer,a=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);let g=c.substring(a+d.remainder,a+o.piece.length);for(o=o.next();o!==D.SENTINEL;){const h=this._buffers[o.piece.bufferIndex].buffer,p=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===l.node){g+=h.substring(p,p+l.remainder);break}else g+=h.substr(p,o.piece.length);o=o.next()}return g}getLinesContent(){const d=[];let l=0,o="",c=!1;return this.iterate(this.root,a=>{if(a===D.SENTINEL)return!0;const g=a.piece;let h=g.length;if(h===0)return!0;const p=this._buffers[g.bufferIndex].buffer,b=this._buffers[g.bufferIndex].lineStarts,w=g.start.line,E=g.end.line;let k=b[w]+g.start.column;if(c&&(p.charCodeAt(k)===10&&(k++,h--),d[l++]=o,o="",c=!1,h===0))return!0;if(w===E)return!this._EOLNormalized&&p.charCodeAt(k+h-1)===13?(c=!0,o+=p.substr(k,h-1)):o+=p.substr(k,h),!0;o+=this._EOLNormalized?p.substring(k,Math.max(k,b[w+1]-this._EOLLength)):p.substring(k,b[w+1]).replace(/(\r\n|\r|\n)$/,""),d[l++]=o;for(let M=w+1;MO+R,l.reset(0)):(A=k.buffer,P=O=>O,l.reset(R));do if(T=l.next(A),T){if(P(T.index)>=B)return w;this.positionInBuffer(d,P(T.index)-M,N);const O=this.getLineFeedCnt(d.piece.bufferIndex,a,N),x=N.line===a.line?N.column-a.column+c:N.column+1,W=x+T[0].length;if(E[w++]=(0,S.createFindMatch)(new I.Range(o+O,x,o+O,W),T,p),P(T.index)+T[0].length>=B||w>=b)return w}while(T);return w}findMatchesLineByLine(d,l,o,c){const a=[];let g=0;const h=new S.Searcher(l.wordSeparators,l.regex);let p=this.nodeAt2(d.startLineNumber,d.startColumn);if(p===null)return[];const b=this.nodeAt2(d.endLineNumber,d.endColumn);if(b===null)return[];let w=this.positionInBuffer(p.node,p.remainder);const E=this.positionInBuffer(b.node,b.remainder);if(p.node===b.node)return this.findMatchesInNode(p.node,h,d.startLineNumber,d.startColumn,w,E,l,o,c,g,a),a;let k=d.startLineNumber,M=p.node;for(;M!==b.node;){const B=this.getLineFeedCnt(M.piece.bufferIndex,w,M.piece.end);if(B>=1){const N=this._buffers[M.piece.bufferIndex].lineStarts,A=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start),P=N[w.line+B],O=k===d.startLineNumber?d.startColumn:1;if(g=this.findMatchesInNode(M,h,k,O,w,this.positionInBuffer(M,P-A),l,o,c,g,a),g>=c)return a;k+=B}const T=k===d.startLineNumber?d.startColumn-1:0;if(k===d.endLineNumber){const N=this.getLineContent(k).substring(T,d.endColumn-1);return g=this._findMatchesInLine(l,h,N,d.endLineNumber,T,g,a,o,c),a}if(g=this._findMatchesInLine(l,h,this.getLineContent(k).substr(T),k,T,g,a,o,c),g>=c)return a;k++,p=this.nodeAt2(k,1),M=p.node,w=this.positionInBuffer(p.node,p.remainder)}if(k===d.endLineNumber){const B=k===d.startLineNumber?d.startColumn-1:0,T=this.getLineContent(k).substring(B,d.endColumn-1);return g=this._findMatchesInLine(l,h,T,d.endLineNumber,B,g,a,o,c),a}const R=k===d.startLineNumber?d.startColumn:1;return g=this.findMatchesInNode(b.node,h,k,R,w,E,l,o,c,g,a),a}_findMatchesInLine(d,l,o,c,a,g,h,p,b){const w=d.wordSeparators;if(!p&&d.simpleSearch){const k=d.simpleSearch,M=k.length,R=o.length;let B=-M;for(;(B=o.indexOf(k,B+M))!==-1;)if((!w||(0,S.isValidMatch)(w,o,R,B,M))&&(h[g++]=new y.FindMatch(new I.Range(c,B+1+a,c,B+1+M+a),null),g>=b))return g;return g}let E;l.reset(0);do if(E=l.next(o),E&&(h[g++]=(0,S.createFindMatch)(new I.Range(c,E.index+1+a,c,E.index+1+E[0].length+a),E,p),g>=b))return g;while(E);return g}insert(d,l,o=!1){if(this._EOLNormalized=this._EOLNormalized&&o,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==D.SENTINEL){const{node:c,remainder:a,nodeStartOffset:g}=this.nodeAt(d),h=c.piece,p=h.bufferIndex,b=this.positionInBuffer(c,a);if(c.piece.bufferIndex===0&&h.end.line===this._lastChangeBufferPos.line&&h.end.column===this._lastChangeBufferPos.column&&g+h.length===d&&l.lengthd){const w=[];let E=new i(h.bufferIndex,b,h.end,this.getLineFeedCnt(h.bufferIndex,b,h.end),this.offsetInBuffer(p,h.end)-this.offsetInBuffer(p,b));if(this.shouldCheckCRLF()&&this.endWithCR(l)&&this.nodeCharCodeAt(c,a)===10){const B={line:E.start.line+1,column:0};E=new i(E.bufferIndex,B,E.end,this.getLineFeedCnt(E.bufferIndex,B,E.end),E.length-1),l+=` +`}if(this.shouldCheckCRLF()&&this.startWithLF(l))if(this.nodeCharCodeAt(c,a-1)===13){const B=this.positionInBuffer(c,a-1);this.deleteNodeTail(c,B),l="\r"+l,c.piece.length===0&&w.push(c)}else this.deleteNodeTail(c,b);else this.deleteNodeTail(c,b);const k=this.createNewPieces(l);E.length>0&&this.rbInsertRight(c,E);let M=c;for(let R=0;R=0;g--)a=this.rbInsertLeft(a,c[g]);this.validateCRLFWithPrevNode(a),this.deleteNodes(o)}insertContentToNodeRight(d,l){this.adjustCarriageReturnFromNext(d,l)&&(d+=` +`);const o=this.createNewPieces(d),c=this.rbInsertRight(l,o[0]);let a=c;for(let g=1;g=k)b=E+1;else break;return o?(o.line=E,o.column=p-M,null):{line:E,column:p-M}}getLineFeedCnt(d,l,o){if(o.column===0)return o.line-l.line;const c=this._buffers[d].lineStarts;if(o.line===c.length-1)return o.line-l.line;const a=c[o.line+1],g=c[o.line]+o.column;if(a>g+1)return o.line-l.line;const h=g-1;return this._buffers[d].buffer.charCodeAt(h)===13?o.line-l.line+1:o.line-l.line}offsetInBuffer(d,l){return this._buffers[d].lineStarts[l.line]+l.column}deleteNodes(d){for(let l=0;lm){const w=[];for(;d.length>m;){const k=d.charCodeAt(m-1);let M;k===13||k>=55296&&k<=56319?(M=d.substring(0,m-1),d=d.substring(m-1)):(M=d.substring(0,m),d=d.substring(m));const R=C(M);w.push(new i(this._buffers.length,{line:0,column:0},{line:R.length-1,column:M.length-R[R.length-1]},R.length-1,M.length)),this._buffers.push(new n(M,R))}const E=C(d);return w.push(new i(this._buffers.length,{line:0,column:0},{line:E.length-1,column:d.length-E[E.length-1]},E.length-1,d.length)),this._buffers.push(new n(d,E)),w}let l=this._buffers[0].buffer.length;const o=C(d,!1);let c=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===l&&l!==0&&this.startWithLF(d)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},c=this._lastChangeBufferPos;for(let w=0;w=d-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>d-1){const p=this.getAccumulatedValue(o,d-o.lf_left-2),b=this.getAccumulatedValue(o,d-o.lf_left-1),w=this._buffers[o.piece.bufferIndex].buffer,E=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return g+=o.size_left,this._searchCache.set({node:o,nodeStartOffset:g,nodeStartLineNumber:h-(d-1-o.lf_left)}),w.substring(E+p,E+b-l)}else if(o.lf_left+o.piece.lineFeedCnt===d-1){const p=this.getAccumulatedValue(o,d-o.lf_left-2),b=this._buffers[o.piece.bufferIndex].buffer,w=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);c=b.substring(w+p,w+o.piece.length);break}else d-=o.lf_left+o.piece.lineFeedCnt,g+=o.size_left+o.piece.length,o=o.right}for(o=o.next();o!==D.SENTINEL;){const g=this._buffers[o.piece.bufferIndex].buffer;if(o.piece.lineFeedCnt>0){const h=this.getAccumulatedValue(o,0),p=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return c+=g.substring(p,p+h-l),c}else{const h=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);c+=g.substr(h,o.piece.length)}o=o.next()}return c}computeBufferMetadata(){let d=this.root,l=1,o=0;for(;d!==D.SENTINEL;)l+=d.lf_left+d.piece.lineFeedCnt,o+=d.size_left+d.piece.length,d=d.right;this._lineCnt=l,this._length=o,this._searchCache.validate(this._length)}getIndexOf(d,l){const o=d.piece,c=this.positionInBuffer(d,l),a=c.line-o.start.line;if(this.offsetInBuffer(o.bufferIndex,o.end)-this.offsetInBuffer(o.bufferIndex,o.start)===l){const g=this.getLineFeedCnt(d.piece.bufferIndex,o.start,c);if(g!==a)return{index:g,remainder:0}}return{index:a,remainder:c.column}}getAccumulatedValue(d,l){if(l<0)return 0;const o=d.piece,c=this._buffers[o.bufferIndex].lineStarts,a=o.start.line+l+1;return a>o.end.line?c[o.end.line]+o.end.column-c[o.start.line]-o.start.column:c[a]-c[o.start.line]-o.start.column}deleteNodeTail(d,l){const o=d.piece,c=o.lineFeedCnt,a=this.offsetInBuffer(o.bufferIndex,o.end),g=l,h=this.offsetInBuffer(o.bufferIndex,g),p=this.getLineFeedCnt(o.bufferIndex,o.start,g),b=p-c,w=h-a,E=o.length+w;d.piece=new i(o.bufferIndex,o.start,g,p,E),(0,D.updateTreeMetadata)(this,d,w,b)}deleteNodeHead(d,l){const o=d.piece,c=o.lineFeedCnt,a=this.offsetInBuffer(o.bufferIndex,o.start),g=l,h=this.getLineFeedCnt(o.bufferIndex,g,o.end),p=this.offsetInBuffer(o.bufferIndex,g),b=h-c,w=a-p,E=o.length+w;d.piece=new i(o.bufferIndex,g,o.end,h,E),(0,D.updateTreeMetadata)(this,d,w,b)}shrinkNode(d,l,o){const c=d.piece,a=c.start,g=c.end,h=c.length,p=c.lineFeedCnt,b=l,w=this.getLineFeedCnt(c.bufferIndex,c.start,b),E=this.offsetInBuffer(c.bufferIndex,l)-this.offsetInBuffer(c.bufferIndex,a);d.piece=new i(c.bufferIndex,c.start,b,w,E),(0,D.updateTreeMetadata)(this,d,E-h,w-p);const k=new i(c.bufferIndex,o,g,this.getLineFeedCnt(c.bufferIndex,o,g),this.offsetInBuffer(c.bufferIndex,g)-this.offsetInBuffer(c.bufferIndex,o)),M=this.rbInsertRight(d,k);this.validateCRLFWithPrevNode(M)}appendToNode(d,l){this.adjustCarriageReturnFromNext(l,d)&&(l+=` +`);const o=this.shouldCheckCRLF()&&this.startWithLF(l)&&this.endWithCR(d),c=this._buffers[0].buffer.length;this._buffers[0].buffer+=l;const a=C(l,!1);for(let M=0;Md)l=l.left;else if(l.size_left+l.piece.length>=d){c+=l.size_left;const a={node:l,remainder:d-l.size_left,nodeStartOffset:c};return this._searchCache.set(a),a}else d-=l.size_left+l.piece.length,c+=l.size_left+l.piece.length,l=l.right;return null}nodeAt2(d,l){let o=this.root,c=0;for(;o!==D.SENTINEL;)if(o.left!==D.SENTINEL&&o.lf_left>=d-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>d-1){const a=this.getAccumulatedValue(o,d-o.lf_left-2),g=this.getAccumulatedValue(o,d-o.lf_left-1);return c+=o.size_left,{node:o,remainder:Math.min(a+l-1,g),nodeStartOffset:c}}else if(o.lf_left+o.piece.lineFeedCnt===d-1){const a=this.getAccumulatedValue(o,d-o.lf_left-2);if(a+l-1<=o.piece.length)return{node:o,remainder:a+l-1,nodeStartOffset:c};l-=o.piece.length-a;break}else d-=o.lf_left+o.piece.lineFeedCnt,c+=o.size_left+o.piece.length,o=o.right;for(o=o.next();o!==D.SENTINEL;){if(o.piece.lineFeedCnt>0){const a=this.getAccumulatedValue(o,0),g=this.offsetOfNode(o);return{node:o,remainder:Math.min(l-1,a),nodeStartOffset:g}}else if(o.piece.length>=l-1){const a=this.offsetOfNode(o);return{node:o,remainder:l-1,nodeStartOffset:a}}else l-=o.piece.length;o=o.next()}return null}nodeCharCodeAt(d,l){if(d.piece.lineFeedCnt<1)return-1;const o=this._buffers[d.piece.bufferIndex],c=this.offsetInBuffer(d.piece.bufferIndex,d.piece.start)+l;return o.buffer.charCodeAt(c)}offsetOfNode(d){if(!d)return 0;let l=d.size_left;for(;d!==this.root;)d.parent.right===d&&(l+=d.parent.size_left+d.parent.piece.length),d=d.parent;return l}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===` +`)}startWithLF(d){if(typeof d=="string")return d.charCodeAt(0)===10;if(d===D.SENTINEL||d.piece.lineFeedCnt===0)return!1;const l=d.piece,o=this._buffers[l.bufferIndex].lineStarts,c=l.start.line,a=o[c]+l.start.column;return c===o.length-1||o[c+1]>a+1?!1:this._buffers[l.bufferIndex].buffer.charCodeAt(a)===10}endWithCR(d){return typeof d=="string"?d.charCodeAt(d.length-1)===13:d===D.SENTINEL||d.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(d,d.piece.length-1)===13}validateCRLFWithPrevNode(d){if(this.shouldCheckCRLF()&&this.startWithLF(d)){const l=d.prev();this.endWithCR(l)&&this.fixCRLF(l,d)}}validateCRLFWithNextNode(d){if(this.shouldCheckCRLF()&&this.endWithCR(d)){const l=d.next();this.startWithLF(l)&&this.fixCRLF(d,l)}}fixCRLF(d,l){const o=[],c=this._buffers[d.piece.bufferIndex].lineStarts;let a;d.piece.end.column===0?a={line:d.piece.end.line-1,column:c[d.piece.end.line]-c[d.piece.end.line-1]-1}:a={line:d.piece.end.line,column:d.piece.end.column-1};const g=d.piece.length-1,h=d.piece.lineFeedCnt-1;d.piece=new i(d.piece.bufferIndex,d.piece.start,a,h,g),(0,D.updateTreeMetadata)(this,d,-1,-1),d.piece.length===0&&o.push(d);const p={line:l.piece.start.line+1,column:0},b=l.piece.length-1,w=this.getLineFeedCnt(l.piece.bufferIndex,p,l.piece.end);l.piece=new i(l.piece.bufferIndex,p,l.piece.end,w,b),(0,D.updateTreeMetadata)(this,l,-1,-1),l.piece.length===0&&o.push(l);const E=this.createNewPieces(`\r +`);this.rbInsertRight(d,E[0]);for(let k=0;k0?this.wrappedTextIndentLength:0}getLineLength(s){const i=s>0?this.breakOffsets[s-1]:0;let t=this.breakOffsets[s]-i;return s>0&&(t+=this.wrappedTextIndentLength),t}getMaxOutputOffset(s){return this.getLineLength(s)}translateToInputOffset(s,i){s>0&&(i=Math.max(0,i-this.wrappedTextIndentLength));let t=s===0?i:this.breakOffsets[s-1]+i;if(this.injectionOffsets!==null)for(let r=0;rthis.injectionOffsets[r];r++)t0?this.breakOffsets[r-1]:0,i===0)if(s<=u)t=r-1;else if(s>d)n=r+1;else break;else if(s=d)n=r+1;else break}let f=s-u;return r>0&&(f+=this.wrappedTextIndentLength),new v(r,f)}normalizeOutputPosition(s,i,n){if(this.injectionOffsets!==null){const t=this.outputPositionToOffsetInInputWithInjections(s,i),r=this.normalizeOffsetInInputWithInjectionsAroundInjections(t,n);if(r!==t)return this.offsetInInputWithInjectionsToOutputPosition(r,n)}if(n===0){if(s>0&&i===this.getMinOutputOffset(s))return new v(s-1,this.getMaxOutputOffset(s-1))}else if(n===1){const t=this.getOutputLineCount()-1;if(s0&&(i=Math.max(0,i-this.wrappedTextIndentLength)),(s>0?this.breakOffsets[s-1]:0)+i}normalizeOffsetInInputWithInjectionsAroundInjections(s,i){const n=this.getInjectedTextAtOffset(s);if(!n)return s;if(i===2){if(s===n.offsetInInputWithInjections+n.length&&S(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let t=n.offsetInInputWithInjections;if(m(this.injectionOptions[n.injectedTextIndex].cursorStops))return t;let r=n.injectedTextIndex-1;for(;r>=0&&this.injectionOffsets[r]===this.injectionOffsets[n.injectedTextIndex]&&!(S(this.injectionOptions[r].cursorStops)||(t-=this.injectionOptions[r].content.length,m(this.injectionOptions[r].cursorStops)));)r--;return t}}else if(i===1||i===4){let t=n.offsetInInputWithInjections+n.length,r=n.injectedTextIndex;for(;r+1=0&&this.injectionOffsets[r-1]===this.injectionOffsets[r];)t-=this.injectionOptions[r-1].content.length,r--;return t}(0,L.assertNever)(i)}getInjectedText(s,i){const n=this.outputPositionToOffsetInInputWithInjections(s,i),t=this.getInjectedTextAtOffset(n);return t?{options:this.injectionOptions[t.injectedTextIndex]}:null}getInjectedTextAtOffset(s){const i=this.injectionOffsets,n=this.injectionOptions;if(i!==null){let t=0;for(let r=0;rs)break;if(s<=d)return{injectedTextIndex:r,offsetInInputWithInjections:f,length:u};t+=u}}}}e.ModelLineProjectionData=D;function S(C){return C==null?!0:C===y.InjectedTextCursorStops.Right||C===y.InjectedTextCursorStops.Both}function m(C){return C==null?!0:C===y.InjectedTextCursorStops.Left||C===y.InjectedTextCursorStops.Both}class _{constructor(s){this.options=s}}e.InjectedText=_;class v{constructor(s,i){this.outputLineIndex=s,this.outputOffset=i}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(s){return new I.Position(s+this.outputLineIndex,this.outputOffset+1)}}e.OutputPosition=v}),define(te[288],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DraggedTreeItemsIdentifier=e.TreeViewsDnDService=void 0;class L{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(D){if(D&&this._dragOperations.has(D)){const S=this._dragOperations.get(D);return this._dragOperations.delete(D),S}}}e.TreeViewsDnDService=L;class I{constructor(D){this.identifier=D}}e.DraggedTreeItemsIdentifier=I}),define(te[289],ie([1,0,5,179,10,96,145]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeTextModelHighlighter=void 0;class m{static computeUnicodeHighlights(i,n,t){const r=t?t.startLineNumber:1,u=t?t.endLineNumber:i.getLineCount(),f=new v(n),d=f.getCandidateCodePoints();let l;d==="allNonBasicAscii"?l=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):l=new RegExp(`${_(Array.from(d))}`,"g");const o=new I.Searcher(null,l),c=[];let a=!1,g,h=0,p=0,b=0;e:for(let w=r,E=u;w<=E;w++){const k=i.getLineContent(w),M=k.length;o.reset(0);do if(g=o.next(k),g){let R=g.index,B=g.index+g[0].length;if(R>0){const P=k.charCodeAt(R-1);y.isHighSurrogate(P)&&R--}if(B+1=P){a=!0;break e}c.push(new L.Range(w,R+1,w,B+1))}}while(g)}return{ranges:c,hasMore:a,ambiguousCharacterCount:h,invisibleCharacterCount:p,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(i,n){const t=new v(n);switch(t.shouldHighlightNonBasicASCII(i,null)){case 0:return null;case 2:return{kind:1};case 3:{const u=i.codePointAt(0),f=t.ambiguousCharacters.getPrimaryConfusable(u),d=y.AmbiguousCharacters.getLocales().filter(l=>!y.AmbiguousCharacters.getInstance(new Set([...n.allowedLocales,l])).isAmbiguous(u));return{kind:0,confusableWith:String.fromCodePoint(f),notAmbiguousInLocales:d}}case 1:return{kind:2}}}}e.UnicodeTextModelHighlighter=m;function _(s,i){return`[${y.escapeRegExpCharacters(s.map(t=>String.fromCodePoint(t)).join(""))}]`}class v{constructor(i){this.options=i,this.allowedCodePoints=new Set(i.allowedCodePoints),this.ambiguousCharacters=y.AmbiguousCharacters.getInstance(new Set(i.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const i=new Set;if(this.options.invisibleCharacters)for(const n of y.InvisibleCharacters.codePoints)C(String.fromCodePoint(n))||i.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())i.add(n);for(const n of this.allowedCodePoints)i.delete(n);return i}shouldHighlightNonBasicASCII(i,n){const t=i.codePointAt(0);if(this.allowedCodePoints.has(t))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,u=!1;if(n)for(const f of n){const d=f.codePointAt(0),l=y.isBasicASCII(f);r=r||l,!l&&!this.ambiguousCharacters.isAmbiguous(d)&&!y.InvisibleCharacters.isInvisibleCharacter(d)&&(u=!0)}return!r&&u?0:this.options.invisibleCharacters&&!C(i)&&y.InvisibleCharacters.isInvisibleCharacter(t)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(t)?3:0}}function C(s){return s===" "||s===` +`||s===" "}}),define(te[209],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappingIndent=e.TrackedRangeStickiness=e.TextEditorCursorStyle=e.TextEditorCursorBlinkingStyle=e.SymbolTag=e.SymbolKind=e.SignatureHelpTriggerKind=e.SelectionDirection=e.ScrollbarVisibility=e.ScrollType=e.RenderMinimap=e.RenderLineNumbersType=e.PositionAffinity=e.OverviewRulerLane=e.OverlayWidgetPositionPreference=e.MouseTargetType=e.MinimapPosition=e.MarkerTag=e.MarkerSeverity=e.KeyCode=e.InlineCompletionTriggerKind=e.InlayHintKind=e.InjectedTextCursorStops=e.IndentAction=e.GlyphMarginLane=e.EndOfLineSequence=e.EndOfLinePreference=e.EditorOption=e.EditorAutoIndentStrategy=e.DocumentHighlightKind=e.DefaultEndOfLine=e.CursorChangeReason=e.ContentWidgetPositionPreference=e.CompletionTriggerKind=e.CompletionItemTag=e.CompletionItemKind=e.CompletionItemInsertTextRule=e.CodeActionTriggerType=e.AccessibilitySupport=void 0;var L;(function(F){F[F.Unknown=0]="Unknown",F[F.Disabled=1]="Disabled",F[F.Enabled=2]="Enabled"})(L||(e.AccessibilitySupport=L={}));var I;(function(F){F[F.Invoke=1]="Invoke",F[F.Auto=2]="Auto"})(I||(e.CodeActionTriggerType=I={}));var y;(function(F){F[F.None=0]="None",F[F.KeepWhitespace=1]="KeepWhitespace",F[F.InsertAsSnippet=4]="InsertAsSnippet"})(y||(e.CompletionItemInsertTextRule=y={}));var D;(function(F){F[F.Method=0]="Method",F[F.Function=1]="Function",F[F.Constructor=2]="Constructor",F[F.Field=3]="Field",F[F.Variable=4]="Variable",F[F.Class=5]="Class",F[F.Struct=6]="Struct",F[F.Interface=7]="Interface",F[F.Module=8]="Module",F[F.Property=9]="Property",F[F.Event=10]="Event",F[F.Operator=11]="Operator",F[F.Unit=12]="Unit",F[F.Value=13]="Value",F[F.Constant=14]="Constant",F[F.Enum=15]="Enum",F[F.EnumMember=16]="EnumMember",F[F.Keyword=17]="Keyword",F[F.Text=18]="Text",F[F.Color=19]="Color",F[F.File=20]="File",F[F.Reference=21]="Reference",F[F.Customcolor=22]="Customcolor",F[F.Folder=23]="Folder",F[F.TypeParameter=24]="TypeParameter",F[F.User=25]="User",F[F.Issue=26]="Issue",F[F.Snippet=27]="Snippet"})(D||(e.CompletionItemKind=D={}));var S;(function(F){F[F.Deprecated=1]="Deprecated"})(S||(e.CompletionItemTag=S={}));var m;(function(F){F[F.Invoke=0]="Invoke",F[F.TriggerCharacter=1]="TriggerCharacter",F[F.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(m||(e.CompletionTriggerKind=m={}));var _;(function(F){F[F.EXACT=0]="EXACT",F[F.ABOVE=1]="ABOVE",F[F.BELOW=2]="BELOW"})(_||(e.ContentWidgetPositionPreference=_={}));var v;(function(F){F[F.NotSet=0]="NotSet",F[F.ContentFlush=1]="ContentFlush",F[F.RecoverFromMarkers=2]="RecoverFromMarkers",F[F.Explicit=3]="Explicit",F[F.Paste=4]="Paste",F[F.Undo=5]="Undo",F[F.Redo=6]="Redo"})(v||(e.CursorChangeReason=v={}));var C;(function(F){F[F.LF=1]="LF",F[F.CRLF=2]="CRLF"})(C||(e.DefaultEndOfLine=C={}));var s;(function(F){F[F.Text=0]="Text",F[F.Read=1]="Read",F[F.Write=2]="Write"})(s||(e.DocumentHighlightKind=s={}));var i;(function(F){F[F.None=0]="None",F[F.Keep=1]="Keep",F[F.Brackets=2]="Brackets",F[F.Advanced=3]="Advanced",F[F.Full=4]="Full"})(i||(e.EditorAutoIndentStrategy=i={}));var n;(function(F){F[F.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",F[F.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",F[F.accessibilitySupport=2]="accessibilitySupport",F[F.accessibilityPageSize=3]="accessibilityPageSize",F[F.ariaLabel=4]="ariaLabel",F[F.ariaRequired=5]="ariaRequired",F[F.autoClosingBrackets=6]="autoClosingBrackets",F[F.autoClosingComments=7]="autoClosingComments",F[F.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",F[F.autoClosingDelete=9]="autoClosingDelete",F[F.autoClosingOvertype=10]="autoClosingOvertype",F[F.autoClosingQuotes=11]="autoClosingQuotes",F[F.autoIndent=12]="autoIndent",F[F.automaticLayout=13]="automaticLayout",F[F.autoSurround=14]="autoSurround",F[F.bracketPairColorization=15]="bracketPairColorization",F[F.guides=16]="guides",F[F.codeLens=17]="codeLens",F[F.codeLensFontFamily=18]="codeLensFontFamily",F[F.codeLensFontSize=19]="codeLensFontSize",F[F.colorDecorators=20]="colorDecorators",F[F.colorDecoratorsLimit=21]="colorDecoratorsLimit",F[F.columnSelection=22]="columnSelection",F[F.comments=23]="comments",F[F.contextmenu=24]="contextmenu",F[F.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",F[F.cursorBlinking=26]="cursorBlinking",F[F.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",F[F.cursorStyle=28]="cursorStyle",F[F.cursorSurroundingLines=29]="cursorSurroundingLines",F[F.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",F[F.cursorWidth=31]="cursorWidth",F[F.disableLayerHinting=32]="disableLayerHinting",F[F.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",F[F.domReadOnly=34]="domReadOnly",F[F.dragAndDrop=35]="dragAndDrop",F[F.dropIntoEditor=36]="dropIntoEditor",F[F.emptySelectionClipboard=37]="emptySelectionClipboard",F[F.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",F[F.extraEditorClassName=39]="extraEditorClassName",F[F.fastScrollSensitivity=40]="fastScrollSensitivity",F[F.find=41]="find",F[F.fixedOverflowWidgets=42]="fixedOverflowWidgets",F[F.folding=43]="folding",F[F.foldingStrategy=44]="foldingStrategy",F[F.foldingHighlight=45]="foldingHighlight",F[F.foldingImportsByDefault=46]="foldingImportsByDefault",F[F.foldingMaximumRegions=47]="foldingMaximumRegions",F[F.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",F[F.fontFamily=49]="fontFamily",F[F.fontInfo=50]="fontInfo",F[F.fontLigatures=51]="fontLigatures",F[F.fontSize=52]="fontSize",F[F.fontWeight=53]="fontWeight",F[F.fontVariations=54]="fontVariations",F[F.formatOnPaste=55]="formatOnPaste",F[F.formatOnType=56]="formatOnType",F[F.glyphMargin=57]="glyphMargin",F[F.gotoLocation=58]="gotoLocation",F[F.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",F[F.hover=60]="hover",F[F.inDiffEditor=61]="inDiffEditor",F[F.inlineSuggest=62]="inlineSuggest",F[F.letterSpacing=63]="letterSpacing",F[F.lightbulb=64]="lightbulb",F[F.lineDecorationsWidth=65]="lineDecorationsWidth",F[F.lineHeight=66]="lineHeight",F[F.lineNumbers=67]="lineNumbers",F[F.lineNumbersMinChars=68]="lineNumbersMinChars",F[F.linkedEditing=69]="linkedEditing",F[F.links=70]="links",F[F.matchBrackets=71]="matchBrackets",F[F.minimap=72]="minimap",F[F.mouseStyle=73]="mouseStyle",F[F.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",F[F.mouseWheelZoom=75]="mouseWheelZoom",F[F.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",F[F.multiCursorModifier=77]="multiCursorModifier",F[F.multiCursorPaste=78]="multiCursorPaste",F[F.multiCursorLimit=79]="multiCursorLimit",F[F.occurrencesHighlight=80]="occurrencesHighlight",F[F.overviewRulerBorder=81]="overviewRulerBorder",F[F.overviewRulerLanes=82]="overviewRulerLanes",F[F.padding=83]="padding",F[F.pasteAs=84]="pasteAs",F[F.parameterHints=85]="parameterHints",F[F.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",F[F.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",F[F.quickSuggestions=88]="quickSuggestions",F[F.quickSuggestionsDelay=89]="quickSuggestionsDelay",F[F.readOnly=90]="readOnly",F[F.readOnlyMessage=91]="readOnlyMessage",F[F.renameOnType=92]="renameOnType",F[F.renderControlCharacters=93]="renderControlCharacters",F[F.renderFinalNewline=94]="renderFinalNewline",F[F.renderLineHighlight=95]="renderLineHighlight",F[F.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",F[F.renderValidationDecorations=97]="renderValidationDecorations",F[F.renderWhitespace=98]="renderWhitespace",F[F.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",F[F.roundedSelection=100]="roundedSelection",F[F.rulers=101]="rulers",F[F.scrollbar=102]="scrollbar",F[F.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",F[F.scrollBeyondLastLine=104]="scrollBeyondLastLine",F[F.scrollPredominantAxis=105]="scrollPredominantAxis",F[F.selectionClipboard=106]="selectionClipboard",F[F.selectionHighlight=107]="selectionHighlight",F[F.selectOnLineNumbers=108]="selectOnLineNumbers",F[F.showFoldingControls=109]="showFoldingControls",F[F.showUnused=110]="showUnused",F[F.snippetSuggestions=111]="snippetSuggestions",F[F.smartSelect=112]="smartSelect",F[F.smoothScrolling=113]="smoothScrolling",F[F.stickyScroll=114]="stickyScroll",F[F.stickyTabStops=115]="stickyTabStops",F[F.stopRenderingLineAfter=116]="stopRenderingLineAfter",F[F.suggest=117]="suggest",F[F.suggestFontSize=118]="suggestFontSize",F[F.suggestLineHeight=119]="suggestLineHeight",F[F.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",F[F.suggestSelection=121]="suggestSelection",F[F.tabCompletion=122]="tabCompletion",F[F.tabIndex=123]="tabIndex",F[F.unicodeHighlighting=124]="unicodeHighlighting",F[F.unusualLineTerminators=125]="unusualLineTerminators",F[F.useShadowDOM=126]="useShadowDOM",F[F.useTabStops=127]="useTabStops",F[F.wordBreak=128]="wordBreak",F[F.wordSeparators=129]="wordSeparators",F[F.wordWrap=130]="wordWrap",F[F.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",F[F.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",F[F.wordWrapColumn=133]="wordWrapColumn",F[F.wordWrapOverride1=134]="wordWrapOverride1",F[F.wordWrapOverride2=135]="wordWrapOverride2",F[F.wrappingIndent=136]="wrappingIndent",F[F.wrappingStrategy=137]="wrappingStrategy",F[F.showDeprecated=138]="showDeprecated",F[F.inlayHints=139]="inlayHints",F[F.editorClassName=140]="editorClassName",F[F.pixelRatio=141]="pixelRatio",F[F.tabFocusMode=142]="tabFocusMode",F[F.layoutInfo=143]="layoutInfo",F[F.wrappingInfo=144]="wrappingInfo",F[F.defaultColorDecorators=145]="defaultColorDecorators",F[F.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",F[F.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"})(n||(e.EditorOption=n={}));var t;(function(F){F[F.TextDefined=0]="TextDefined",F[F.LF=1]="LF",F[F.CRLF=2]="CRLF"})(t||(e.EndOfLinePreference=t={}));var r;(function(F){F[F.LF=0]="LF",F[F.CRLF=1]="CRLF"})(r||(e.EndOfLineSequence=r={}));var u;(function(F){F[F.Left=1]="Left",F[F.Right=2]="Right"})(u||(e.GlyphMarginLane=u={}));var f;(function(F){F[F.None=0]="None",F[F.Indent=1]="Indent",F[F.IndentOutdent=2]="IndentOutdent",F[F.Outdent=3]="Outdent"})(f||(e.IndentAction=f={}));var d;(function(F){F[F.Both=0]="Both",F[F.Right=1]="Right",F[F.Left=2]="Left",F[F.None=3]="None"})(d||(e.InjectedTextCursorStops=d={}));var l;(function(F){F[F.Type=1]="Type",F[F.Parameter=2]="Parameter"})(l||(e.InlayHintKind=l={}));var o;(function(F){F[F.Automatic=0]="Automatic",F[F.Explicit=1]="Explicit"})(o||(e.InlineCompletionTriggerKind=o={}));var c;(function(F){F[F.DependsOnKbLayout=-1]="DependsOnKbLayout",F[F.Unknown=0]="Unknown",F[F.Backspace=1]="Backspace",F[F.Tab=2]="Tab",F[F.Enter=3]="Enter",F[F.Shift=4]="Shift",F[F.Ctrl=5]="Ctrl",F[F.Alt=6]="Alt",F[F.PauseBreak=7]="PauseBreak",F[F.CapsLock=8]="CapsLock",F[F.Escape=9]="Escape",F[F.Space=10]="Space",F[F.PageUp=11]="PageUp",F[F.PageDown=12]="PageDown",F[F.End=13]="End",F[F.Home=14]="Home",F[F.LeftArrow=15]="LeftArrow",F[F.UpArrow=16]="UpArrow",F[F.RightArrow=17]="RightArrow",F[F.DownArrow=18]="DownArrow",F[F.Insert=19]="Insert",F[F.Delete=20]="Delete",F[F.Digit0=21]="Digit0",F[F.Digit1=22]="Digit1",F[F.Digit2=23]="Digit2",F[F.Digit3=24]="Digit3",F[F.Digit4=25]="Digit4",F[F.Digit5=26]="Digit5",F[F.Digit6=27]="Digit6",F[F.Digit7=28]="Digit7",F[F.Digit8=29]="Digit8",F[F.Digit9=30]="Digit9",F[F.KeyA=31]="KeyA",F[F.KeyB=32]="KeyB",F[F.KeyC=33]="KeyC",F[F.KeyD=34]="KeyD",F[F.KeyE=35]="KeyE",F[F.KeyF=36]="KeyF",F[F.KeyG=37]="KeyG",F[F.KeyH=38]="KeyH",F[F.KeyI=39]="KeyI",F[F.KeyJ=40]="KeyJ",F[F.KeyK=41]="KeyK",F[F.KeyL=42]="KeyL",F[F.KeyM=43]="KeyM",F[F.KeyN=44]="KeyN",F[F.KeyO=45]="KeyO",F[F.KeyP=46]="KeyP",F[F.KeyQ=47]="KeyQ",F[F.KeyR=48]="KeyR",F[F.KeyS=49]="KeyS",F[F.KeyT=50]="KeyT",F[F.KeyU=51]="KeyU",F[F.KeyV=52]="KeyV",F[F.KeyW=53]="KeyW",F[F.KeyX=54]="KeyX",F[F.KeyY=55]="KeyY",F[F.KeyZ=56]="KeyZ",F[F.Meta=57]="Meta",F[F.ContextMenu=58]="ContextMenu",F[F.F1=59]="F1",F[F.F2=60]="F2",F[F.F3=61]="F3",F[F.F4=62]="F4",F[F.F5=63]="F5",F[F.F6=64]="F6",F[F.F7=65]="F7",F[F.F8=66]="F8",F[F.F9=67]="F9",F[F.F10=68]="F10",F[F.F11=69]="F11",F[F.F12=70]="F12",F[F.F13=71]="F13",F[F.F14=72]="F14",F[F.F15=73]="F15",F[F.F16=74]="F16",F[F.F17=75]="F17",F[F.F18=76]="F18",F[F.F19=77]="F19",F[F.F20=78]="F20",F[F.F21=79]="F21",F[F.F22=80]="F22",F[F.F23=81]="F23",F[F.F24=82]="F24",F[F.NumLock=83]="NumLock",F[F.ScrollLock=84]="ScrollLock",F[F.Semicolon=85]="Semicolon",F[F.Equal=86]="Equal",F[F.Comma=87]="Comma",F[F.Minus=88]="Minus",F[F.Period=89]="Period",F[F.Slash=90]="Slash",F[F.Backquote=91]="Backquote",F[F.BracketLeft=92]="BracketLeft",F[F.Backslash=93]="Backslash",F[F.BracketRight=94]="BracketRight",F[F.Quote=95]="Quote",F[F.OEM_8=96]="OEM_8",F[F.IntlBackslash=97]="IntlBackslash",F[F.Numpad0=98]="Numpad0",F[F.Numpad1=99]="Numpad1",F[F.Numpad2=100]="Numpad2",F[F.Numpad3=101]="Numpad3",F[F.Numpad4=102]="Numpad4",F[F.Numpad5=103]="Numpad5",F[F.Numpad6=104]="Numpad6",F[F.Numpad7=105]="Numpad7",F[F.Numpad8=106]="Numpad8",F[F.Numpad9=107]="Numpad9",F[F.NumpadMultiply=108]="NumpadMultiply",F[F.NumpadAdd=109]="NumpadAdd",F[F.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",F[F.NumpadSubtract=111]="NumpadSubtract",F[F.NumpadDecimal=112]="NumpadDecimal",F[F.NumpadDivide=113]="NumpadDivide",F[F.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",F[F.ABNT_C1=115]="ABNT_C1",F[F.ABNT_C2=116]="ABNT_C2",F[F.AudioVolumeMute=117]="AudioVolumeMute",F[F.AudioVolumeUp=118]="AudioVolumeUp",F[F.AudioVolumeDown=119]="AudioVolumeDown",F[F.BrowserSearch=120]="BrowserSearch",F[F.BrowserHome=121]="BrowserHome",F[F.BrowserBack=122]="BrowserBack",F[F.BrowserForward=123]="BrowserForward",F[F.MediaTrackNext=124]="MediaTrackNext",F[F.MediaTrackPrevious=125]="MediaTrackPrevious",F[F.MediaStop=126]="MediaStop",F[F.MediaPlayPause=127]="MediaPlayPause",F[F.LaunchMediaPlayer=128]="LaunchMediaPlayer",F[F.LaunchMail=129]="LaunchMail",F[F.LaunchApp2=130]="LaunchApp2",F[F.Clear=131]="Clear",F[F.MAX_VALUE=132]="MAX_VALUE"})(c||(e.KeyCode=c={}));var a;(function(F){F[F.Hint=1]="Hint",F[F.Info=2]="Info",F[F.Warning=4]="Warning",F[F.Error=8]="Error"})(a||(e.MarkerSeverity=a={}));var g;(function(F){F[F.Unnecessary=1]="Unnecessary",F[F.Deprecated=2]="Deprecated"})(g||(e.MarkerTag=g={}));var h;(function(F){F[F.Inline=1]="Inline",F[F.Gutter=2]="Gutter"})(h||(e.MinimapPosition=h={}));var p;(function(F){F[F.UNKNOWN=0]="UNKNOWN",F[F.TEXTAREA=1]="TEXTAREA",F[F.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",F[F.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",F[F.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",F[F.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",F[F.CONTENT_TEXT=6]="CONTENT_TEXT",F[F.CONTENT_EMPTY=7]="CONTENT_EMPTY",F[F.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",F[F.CONTENT_WIDGET=9]="CONTENT_WIDGET",F[F.OVERVIEW_RULER=10]="OVERVIEW_RULER",F[F.SCROLLBAR=11]="SCROLLBAR",F[F.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",F[F.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(p||(e.MouseTargetType=p={}));var b;(function(F){F[F.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",F[F.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",F[F.TOP_CENTER=2]="TOP_CENTER"})(b||(e.OverlayWidgetPositionPreference=b={}));var w;(function(F){F[F.Left=1]="Left",F[F.Center=2]="Center",F[F.Right=4]="Right",F[F.Full=7]="Full"})(w||(e.OverviewRulerLane=w={}));var E;(function(F){F[F.Left=0]="Left",F[F.Right=1]="Right",F[F.None=2]="None",F[F.LeftOfInjectedText=3]="LeftOfInjectedText",F[F.RightOfInjectedText=4]="RightOfInjectedText"})(E||(e.PositionAffinity=E={}));var k;(function(F){F[F.Off=0]="Off",F[F.On=1]="On",F[F.Relative=2]="Relative",F[F.Interval=3]="Interval",F[F.Custom=4]="Custom"})(k||(e.RenderLineNumbersType=k={}));var M;(function(F){F[F.None=0]="None",F[F.Text=1]="Text",F[F.Blocks=2]="Blocks"})(M||(e.RenderMinimap=M={}));var R;(function(F){F[F.Smooth=0]="Smooth",F[F.Immediate=1]="Immediate"})(R||(e.ScrollType=R={}));var B;(function(F){F[F.Auto=1]="Auto",F[F.Hidden=2]="Hidden",F[F.Visible=3]="Visible"})(B||(e.ScrollbarVisibility=B={}));var T;(function(F){F[F.LTR=0]="LTR",F[F.RTL=1]="RTL"})(T||(e.SelectionDirection=T={}));var N;(function(F){F[F.Invoke=1]="Invoke",F[F.TriggerCharacter=2]="TriggerCharacter",F[F.ContentChange=3]="ContentChange"})(N||(e.SignatureHelpTriggerKind=N={}));var A;(function(F){F[F.File=0]="File",F[F.Module=1]="Module",F[F.Namespace=2]="Namespace",F[F.Package=3]="Package",F[F.Class=4]="Class",F[F.Method=5]="Method",F[F.Property=6]="Property",F[F.Field=7]="Field",F[F.Constructor=8]="Constructor",F[F.Enum=9]="Enum",F[F.Interface=10]="Interface",F[F.Function=11]="Function",F[F.Variable=12]="Variable",F[F.Constant=13]="Constant",F[F.String=14]="String",F[F.Number=15]="Number",F[F.Boolean=16]="Boolean",F[F.Array=17]="Array",F[F.Object=18]="Object",F[F.Key=19]="Key",F[F.Null=20]="Null",F[F.EnumMember=21]="EnumMember",F[F.Struct=22]="Struct",F[F.Event=23]="Event",F[F.Operator=24]="Operator",F[F.TypeParameter=25]="TypeParameter"})(A||(e.SymbolKind=A={}));var P;(function(F){F[F.Deprecated=1]="Deprecated"})(P||(e.SymbolTag=P={}));var O;(function(F){F[F.Hidden=0]="Hidden",F[F.Blink=1]="Blink",F[F.Smooth=2]="Smooth",F[F.Phase=3]="Phase",F[F.Expand=4]="Expand",F[F.Solid=5]="Solid"})(O||(e.TextEditorCursorBlinkingStyle=O={}));var x;(function(F){F[F.Line=1]="Line",F[F.Block=2]="Block",F[F.Underline=3]="Underline",F[F.LineThin=4]="LineThin",F[F.BlockOutline=5]="BlockOutline",F[F.UnderlineThin=6]="UnderlineThin"})(x||(e.TextEditorCursorStyle=x={}));var W;(function(F){F[F.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",F[F.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",F[F.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",F[F.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(W||(e.TrackedRangeStickiness=W={}));var U;(function(F){F[F.None=0]="None",F[F.Same=1]="Same",F[F.Indent=2]="Indent",F[F.DeepIndent=3]="DeepIndent"})(U||(e.WrappingIndent=U={}))}),define(te[516],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairWithMinIndentationInfo=e.BracketPairInfo=e.BracketInfo=void 0;class L{constructor(S,m,_,v){this.range=S,this.nestingLevel=m,this.nestingLevelOfEqualBracketType=_,this.isInvalid=v}}e.BracketInfo=L;class I{constructor(S,m,_,v,C,s){this.range=S,this.openingBracketRange=m,this.closingBracketRange=_,this.nestingLevel=v,this.nestingLevelOfEqualBracketType=C,this.bracketPairNode=s}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}e.BracketPairInfo=I;class y extends I{constructor(S,m,_,v,C,s,i){super(S,m,_,v,C,s),this.minVisibleColumnIndentation=i}}e.BracketPairWithMinIndentationInfo=y}),define(te[517],ie([1,0,6,2,516,177,283,87,282,126,207,13,281]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTree=void 0;class n extends I.Disposable{didLanguageChange(o){return this.brackets.didLanguageChange(o)}constructor(o,c){if(super(),this.textModel=o,this.getLanguageConfiguration=c,this.didChangeEmitter=new L.Emitter,this.denseKeyProvider=new v.DenseKeyProvider,this.brackets=new S.LanguageAgnosticBracketTokens(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,this.queuedTextEditsForInitialAstWithoutTokens=[],this.queuedTextEdits=[],o.tokenization.hasTokens)o.tokenization.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens);else{const a=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),g=new C.FastTokenizer(this.textModel.getValue(),a);this.initialAstWithoutTokens=(0,_.parseDocument)(g,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}}handleDidChangeBackgroundTokenizationState(){if(this.textModel.tokenization.backgroundTokenizationState===2){const o=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,o||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:o}){const c=o.map(a=>new D.TextEditInfo((0,m.toLength)(a.fromLineNumber-1,0),(0,m.toLength)(a.toLineNumber,0),(0,m.toLength)(a.toLineNumber-a.fromLineNumber+1,0)));this.handleEdits(c,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(o){const c=D.TextEditInfo.fromModelContentChanges(o.changes);this.handleEdits(c,!1)}handleEdits(o,c){const a=(0,i.combineTextEditInfos)(this.queuedTextEdits,o);this.queuedTextEdits=a,this.initialAstWithoutTokens&&!c&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,i.combineTextEditInfos)(this.queuedTextEditsForInitialAstWithoutTokens,o))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(o,c,a){const h=c,p=new C.TextBufferTokenizer(this.textModel,this.brackets);return(0,_.parseDocument)(p,o,h,a)}getBracketsInRange(o,c){this.flushQueue();const a=(0,m.toLength)(o.startLineNumber-1,o.startColumn-1),g=(0,m.toLength)(o.endLineNumber-1,o.endColumn-1);return new s.CallbackIterable(h=>{const p=this.initialAstWithoutTokens||this.astWithTokens;u(p,m.lengthZero,p.length,a,g,h,0,0,new Map,c)})}getBracketPairsInRange(o,c){this.flushQueue();const a=(0,m.positionToLength)(o.getStartPosition()),g=(0,m.positionToLength)(o.getEndPosition());return new s.CallbackIterable(h=>{const p=this.initialAstWithoutTokens||this.astWithTokens,b=new f(h,c,this.textModel);d(p,m.lengthZero,p.length,a,g,b,0,new Map)})}getFirstBracketAfter(o){this.flushQueue();const c=this.initialAstWithoutTokens||this.astWithTokens;return r(c,m.lengthZero,c.length,(0,m.positionToLength)(o))}getFirstBracketBefore(o){this.flushQueue();const c=this.initialAstWithoutTokens||this.astWithTokens;return t(c,m.lengthZero,c.length,(0,m.positionToLength)(o))}}e.BracketPairsTree=n;function t(l,o,c,a){if(l.kind===4||l.kind===2){const g=[];for(const h of l.children)c=(0,m.lengthAdd)(o,h.length),g.push({nodeOffsetStart:o,nodeOffsetEnd:c}),o=c;for(let h=g.length-1;h>=0;h--){const{nodeOffsetStart:p,nodeOffsetEnd:b}=g[h];if((0,m.lengthLessThan)(p,a)){const w=t(l.children[h],p,b,a);if(w)return w}}return null}else{if(l.kind===3)return null;if(l.kind===1){const g=(0,m.lengthsToRange)(o,c);return{bracketInfo:l.bracketInfo,range:g}}}return null}function r(l,o,c,a){if(l.kind===4||l.kind===2){for(const g of l.children){if(c=(0,m.lengthAdd)(o,g.length),(0,m.lengthLessThan)(a,c)){const h=r(g,o,c,a);if(h)return h}o=c}return null}else{if(l.kind===3)return null;if(l.kind===1){const g=(0,m.lengthsToRange)(o,c);return{bracketInfo:l.bracketInfo,range:g}}}return null}function u(l,o,c,a,g,h,p,b,w,E,k=!1){if(p>200)return!0;e:for(;;)switch(l.kind){case 4:{const M=l.childrenLength;for(let R=0;R200)return!0;let E=!0;if(l.kind===2){let k=0;if(b){let B=b.get(l.openingBracket.text);B===void 0&&(B=0),k=B,B++,b.set(l.openingBracket.text,B)}const M=(0,m.lengthAdd)(o,l.openingBracket.length);let R=-1;if(h.includeMinIndentation&&(R=l.computeMinIndentation(o,h.textModel)),E=h.push(new y.BracketPairWithMinIndentationInfo((0,m.lengthsToRange)(o,c),(0,m.lengthsToRange)(o,M),l.closingBracket?(0,m.lengthsToRange)((0,m.lengthAdd)(M,((w=l.child)===null||w===void 0?void 0:w.length)||m.lengthZero),c):void 0,p,k,l,R)),o=M,E&&l.child){const B=l.child;if(c=(0,m.lengthAdd)(o,B.length),(0,m.lengthLessThanEqual)(o,g)&&(0,m.lengthGreaterThanEqual)(c,a)&&(E=d(B,o,c,a,g,h,p+1,b),!E))return!1}b?.set(l.openingBracket.text,k)}else{let k=o;for(const M of l.children){const R=k;if(k=(0,m.lengthAdd)(k,M.length),(0,m.lengthLessThanEqual)(R,g)&&(0,m.lengthLessThanEqual)(a,k)&&(E=d(M,R,k,a,g,h,p,b),!E))return!1}}return E}}),define(te[110],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalModelContentChangeEvent=e.ModelInjectedTextChangedEvent=e.ModelRawContentChangedEvent=e.ModelRawEOLChanged=e.ModelRawLinesInserted=e.ModelRawLinesDeleted=e.ModelRawLineChanged=e.LineInjectedText=e.ModelRawFlush=void 0;class L{constructor(){this.changeType=1}}e.ModelRawFlush=L;class I{static applyInjectedText(i,n){if(!n||n.length===0)return i;let t="",r=0;for(const u of n)t+=i.substring(r,u.column-1),r=u.column-1,t+=u.options.content;return t+=i.substring(r),t}static fromDecorations(i){const n=[];for(const t of i)t.options.before&&t.options.before.content.length>0&&n.push(new I(t.ownerId,t.range.startLineNumber,t.range.startColumn,t.options.before,0)),t.options.after&&t.options.after.content.length>0&&n.push(new I(t.ownerId,t.range.endLineNumber,t.range.endColumn,t.options.after,1));return n.sort((t,r)=>t.lineNumber===r.lineNumber?t.column===r.column?t.order-r.order:t.column-r.column:t.lineNumber-r.lineNumber),n}constructor(i,n,t,r,u){this.ownerId=i,this.lineNumber=n,this.column=t,this.options=r,this.order=u}}e.LineInjectedText=I;class y{constructor(i,n,t){this.changeType=2,this.lineNumber=i,this.detail=n,this.injectedText=t}}e.ModelRawLineChanged=y;class D{constructor(i,n){this.changeType=3,this.fromLineNumber=i,this.toLineNumber=n}}e.ModelRawLinesDeleted=D;class S{constructor(i,n,t,r){this.changeType=4,this.injectedTexts=r,this.fromLineNumber=i,this.toLineNumber=n,this.detail=t}}e.ModelRawLinesInserted=S;class m{constructor(){this.changeType=5}}e.ModelRawEOLChanged=m;class _{constructor(i,n,t,r){this.changes=i,this.versionId=n,this.isUndoing=t,this.isRedoing=r,this.resultingSelection=null}containsEvent(i){for(let n=0,t=this.changes.length;nu)throw new v.BugIndicatingError("Illegal value for lineNumber");const f=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,d=!!(f&&f.offSide);let l=-2,o=-1,c=-2,a=-1;const g=A=>{if(l!==-1&&(l===-2||l>A-1)){l=-1,o=-1;for(let P=A-2;P>=0;P--){const O=this._computeIndentLevel(P);if(O>=0){l=P,o=O;break}}}if(c===-2){c=-1,a=-1;for(let P=A;P=0){c=P,a=O;break}}}};let h=-2,p=-1,b=-2,w=-1;const E=A=>{if(h===-2){h=-1,p=-1;for(let P=A-2;P>=0;P--){const O=this._computeIndentLevel(P);if(O>=0){h=P,p=O;break}}}if(b!==-1&&(b===-2||b=0){b=P,w=O;break}}}};let k=0,M=!0,R=0,B=!0,T=0,N=0;for(let A=0;M||B;A++){const P=n-A,O=n+A;A>1&&(P<1||P1&&(O>u||O>r)&&(B=!1),A>5e4&&(M=!1,B=!1);let x=-1;if(M&&P>=1){const U=this._computeIndentLevel(P-1);U>=0?(c=P-1,a=U,x=Math.ceil(U/this.textModel.getOptions().indentSize)):(g(P),x=this._getIndentLevelForWhitespaceLine(d,o,a))}let W=-1;if(B&&O<=u){const U=this._computeIndentLevel(O-1);U>=0?(h=O-1,p=U,W=Math.ceil(U/this.textModel.getOptions().indentSize)):(E(O),W=this._getIndentLevelForWhitespaceLine(d,p,w))}if(A===0){N=x;continue}if(A===1){if(O<=u&&W>=0&&N+1===W){M=!1,k=O,R=O,T=W;continue}if(P>=1&&x>=0&&x-1===N){B=!1,k=P,R=P,T=x;continue}if(k=n,R=n,T=N,T===0)return{startLineNumber:k,endLineNumber:R,indent:T}}M&&(x>=T?k=P:M=!1),B&&(W>=T?R=O:B=!1)}return{startLineNumber:k,endLineNumber:R,indent:T}}getLinesBracketGuides(n,t,r,u){var f;const d=[];for(let h=n;h<=t;h++)d.push([]);const l=!0,o=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new D.Range(n,1,t,this.textModel.getLineMaxColumn(t))).toArray();let c;if(r&&o.length>0){const h=(n<=r.lineNumber&&r.lineNumber<=t?o:this.textModel.bracketPairs.getBracketPairsInRange(D.Range.fromPositions(r)).toArray()).filter(p=>D.Range.strictContainsPosition(p.range,r));c=(f=(0,L.findLast)(h,p=>l||p.range.startLineNumber!==p.range.endLineNumber))===null||f===void 0?void 0:f.range}const a=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,g=new s;for(const h of o){if(!h.closingBracketRange)continue;const p=c&&h.range.equalsRange(c);if(!p&&!u.includeInactive)continue;const b=g.getInlineClassName(h.nestingLevel,h.nestingLevelOfEqualBracketType,a)+(u.highlightActive&&p?" "+g.activeClassName:""),w=h.openingBracketRange.getStartPosition(),E=h.closingBracketRange.getStartPosition(),k=u.horizontalGuides===_.HorizontalGuidesState.Enabled||u.horizontalGuides===_.HorizontalGuidesState.EnabledForActive&&p;if(h.range.startLineNumber===h.range.endLineNumber){l&&k&&d[h.range.startLineNumber-n].push(new _.IndentGuide(-1,h.openingBracketRange.getEndPosition().column,b,new _.IndentGuideHorizontalLine(!1,E.column),-1,-1));continue}const M=this.getVisibleColumnFromPosition(E),R=this.getVisibleColumnFromPosition(h.openingBracketRange.getStartPosition()),B=Math.min(R,M,h.minVisibleColumnIndentation+1);let T=!1;I.firstNonWhitespaceIndex(this.textModel.getLineContent(h.closingBracketRange.startLineNumber))=n&&R>B&&d[w.lineNumber-n].push(new _.IndentGuide(B,-1,b,new _.IndentGuideHorizontalLine(!1,w.column),-1,-1)),E.lineNumber<=t&&M>B&&d[E.lineNumber-n].push(new _.IndentGuide(B,-1,b,new _.IndentGuideHorizontalLine(!T,E.column),-1,-1)))}for(const h of d)h.sort((p,b)=>p.visibleColumn-b.visibleColumn);return d}getVisibleColumnFromPosition(n){return y.CursorColumns.visibleColumnFromColumn(this.textModel.getLineContent(n.lineNumber),n.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(n,t){this.assertNotDisposed();const r=this.textModel.getLineCount();if(n<1||n>r)throw new Error("Illegal value for startLineNumber");if(t<1||t>r)throw new Error("Illegal value for endLineNumber");const u=this.textModel.getOptions(),f=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,d=!!(f&&f.offSide),l=new Array(t-n+1);let o=-2,c=-1,a=-2,g=-1;for(let h=n;h<=t;h++){const p=h-n,b=this._computeIndentLevel(h-1);if(b>=0){o=h-1,c=b,l[p]=Math.ceil(b/u.indentSize);continue}if(o===-2){o=-1,c=-1;for(let w=h-2;w>=0;w--){const E=this._computeIndentLevel(w);if(E>=0){o=w,c=E;break}}}if(a!==-1&&(a===-2||a=0){a=w,g=E;break}}}l[p]=this._getIndentLevelForWhitespaceLine(d,c,g)}return l}_getIndentLevelForWhitespaceLine(n,t,r){const u=this.textModel.getOptions();return t===-1||r===-1?0:t{this._tokenizationSupports.get(m)===_&&(this._tokenizationSupports.delete(m),this.handleChange([m]))})}get(m){return this._tokenizationSupports.get(m)||null}registerFactory(m,_){var v;(v=this._factories.get(m))===null||v===void 0||v.dispose();const C=new D(this,m,_);return this._factories.set(m,C),(0,I.toDisposable)(()=>{const s=this._factories.get(m);!s||s!==C||(this._factories.delete(m),s.dispose())})}getOrCreate(m){return be(this,void 0,void 0,function*(){const _=this.get(m);if(_)return _;const v=this._factories.get(m);return!v||v.isResolved?null:(yield v.resolve(),this.get(m))})}isResolved(m){if(this.get(m))return!0;const v=this._factories.get(m);return!!(!v||v.isResolved)}setColorMap(m){this._colorMap=m,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}e.TokenizationRegistry=y;class D extends I.Disposable{get isResolved(){return this._isResolved}constructor(m,_,v){super(),this._registry=m,this._languageId=_,this._factory=v,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return be(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return be(this,void 0,void 0,function*(){const m=yield this._factory.tokenizationSupport;this._isResolved=!0,m&&!this._isDisposed&&this._register(this._registry.register(this._languageId,m))})}}}),define(te[519],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokens=void 0;class L{get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}constructor(y,D){this._startLineNumber=y,this._tokens=D}getLineTokens(y){return this._tokens[y-this._startLineNumber]}appendLineTokens(y){this._tokens.push(y)}}e.ContiguousMultilineTokens=L}),define(te[291],ie([1,0,519]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContiguousMultilineTokensBuilder=void 0;class I{constructor(){this._tokens=[]}add(D,S){if(this._tokens.length>0){const m=this._tokens[this._tokens.length-1];if(m.endLineNumber+1===D){m.appendLineTokens(S);return}}this._tokens.push(new L.ContiguousMultilineTokens(D,[S]))}finalize(){return this._tokens}}e.ContiguousMultilineTokensBuilder=I}),define(te[91],ie([1,0,124]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineTokens=void 0;class I{static createEmpty(S,m){const _=I.defaultTokenMetadata,v=new Uint32Array(2);return v[0]=S.length,v[1]=_,new I(v,S,m)}constructor(S,m,_){this._lineTokensBrand=void 0,this._tokens=S,this._tokensCount=this._tokens.length>>>1,this._text=m,this._languageIdCodec=_}equals(S){return S instanceof I?this.slicedEquals(S,0,this._tokensCount):!1}slicedEquals(S,m,_){if(this._text!==S._text||this._tokensCount!==S._tokensCount)return!1;const v=m<<1,C=v+(_<<1);for(let s=v;s0?this._tokens[S-1<<1]:0}getMetadata(S){return this._tokens[(S<<1)+1]}getLanguageId(S){const m=this._tokens[(S<<1)+1],_=L.TokenMetadata.getLanguageId(m);return this._languageIdCodec.decodeLanguageId(_)}getStandardTokenType(S){const m=this._tokens[(S<<1)+1];return L.TokenMetadata.getTokenType(m)}getForeground(S){const m=this._tokens[(S<<1)+1];return L.TokenMetadata.getForeground(m)}getClassName(S){const m=this._tokens[(S<<1)+1];return L.TokenMetadata.getClassNameFromMetadata(m)}getInlineStyle(S,m){const _=this._tokens[(S<<1)+1];return L.TokenMetadata.getInlineStyleFromMetadata(_,m)}getPresentation(S){const m=this._tokens[(S<<1)+1];return L.TokenMetadata.getPresentationFromMetadata(m)}getEndOffset(S){return this._tokens[S<<1]}findTokenIndexAtOffset(S){return I.findIndexInTokensArray(this._tokens,S)}inflate(){return this}sliceAndInflate(S,m,_){return new y(this,S,m,_)}static convertToEndOffset(S,m){const v=(S.length>>>1)-1;for(let C=0;C>>1)-1;for(;_m&&(v=C)}return _}withInserted(S){if(S.length===0)return this;let m=0,_=0,v="";const C=new Array;let s=0;for(;;){const i=ms){v+=this._text.substring(s,n.offset);const t=this._tokens[(m<<1)+1];C.push(v.length,t),s=n.offset}v+=n.text,C.push(v.length,n.tokenMetadata),_++}else break}return new I(new Uint32Array(C),v,this._languageIdCodec)}}e.LineTokens=I,I.defaultTokenMetadata=(0<<11|1<<15|2<<24)>>>0;class y{constructor(S,m,_,v){this._source=S,this._startOffset=m,this._endOffset=_,this._deltaOffset=v,this._firstTokenIndex=S.findTokenIndexAtOffset(m),this._tokensCount=0;for(let C=this._firstTokenIndex,s=S.getCount();C=_);C++)this._tokensCount++}getMetadata(S){return this._source.getMetadata(this._firstTokenIndex+S)}getLanguageId(S){return this._source.getLanguageId(this._firstTokenIndex+S)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(S){return S instanceof y?this._startOffset===S._startOffset&&this._endOffset===S._endOffset&&this._deltaOffset===S._deltaOffset&&this._source.slicedEquals(S._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(S){return this._source.getForeground(this._firstTokenIndex+S)}getEndOffset(S){const m=this._source.getEndOffset(this._firstTokenIndex+S);return Math.min(this._endOffset,m)-this._startOffset+this._deltaOffset}getClassName(S){return this._source.getClassName(this._firstTokenIndex+S)}getInlineStyle(S,m){return this._source.getInlineStyle(this._firstTokenIndex+S,m)}getPresentation(S){return this._source.getPresentation(this._firstTokenIndex+S)}findTokenIndexAtOffset(S){return this._source.findTokenIndexAtOffset(S+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),define(te[520],ie([1,0,91]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toUint32Array=e.ContiguousTokensEditing=e.EMPTY_LINE_TOKENS=void 0,e.EMPTY_LINE_TOKENS=new Uint32Array(0).buffer;class I{static deleteBeginning(S,m){return S===null||S===e.EMPTY_LINE_TOKENS?S:I.delete(S,0,m)}static deleteEnding(S,m){if(S===null||S===e.EMPTY_LINE_TOKENS)return S;const _=y(S),v=_[_.length-2];return I.delete(S,m,v)}static delete(S,m,_){if(S===null||S===e.EMPTY_LINE_TOKENS||m===_)return S;const v=y(S),C=v.length>>>1;if(m===0&&v[v.length-2]===_)return e.EMPTY_LINE_TOKENS;const s=L.LineTokens.findIndexInTokensArray(v,m),i=s>0?v[s-1<<1]:0,n=v[s<<1];if(_r&&(v[t++]=l,v[t++]=v[(d<<1)+1],r=l)}if(t===v.length)return S;const f=new Uint32Array(t);return f.set(v.subarray(0,t),0),f.buffer}static append(S,m){if(m===e.EMPTY_LINE_TOKENS)return S;if(S===e.EMPTY_LINE_TOKENS)return m;if(S===null)return S;if(m===null)return null;const _=y(S),v=y(m),C=v.length>>>1,s=new Uint32Array(_.length+v.length);s.set(_,0);let i=_.length;const n=_[_.length-2];for(let t=0;t>>1;let s=L.LineTokens.findIndexInTokensArray(v,m);s>0&&v[s-1<<1]===m&&s--;for(let i=s;i0}getTokens(C,s,i){let n=null;if(s1&&(t=S.TokenMetadata.getLanguageId(n[1])!==C),!t)return y.EMPTY_LINE_TOKENS}if(!n||n.length===0){const t=new Uint32Array(2);return t[0]=s,t[1]=_(C),t.buffer}return n[n.length-2]=s,n.byteOffset===0&&n.byteLength===n.buffer.byteLength?n.buffer:n}_ensureLine(C){for(;C>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(C,s){s!==0&&(C+s>this._len&&(s=this._len-C),this._lineTokens.splice(C,s),this._len-=s)}_insertLines(C,s){if(s===0)return;const i=[];for(let n=0;n=this._len)return;if(C.startLineNumber===C.endLineNumber){if(C.startColumn===C.endColumn)return;this._lineTokens[s]=y.ContiguousTokensEditing.delete(this._lineTokens[s],C.startColumn-1,C.endColumn-1);return}this._lineTokens[s]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[s],C.startColumn-1);const i=C.endLineNumber-1;let n=null;i=this._len)){if(s===0){this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i);return}this._lineTokens[n]=y.ContiguousTokensEditing.deleteEnding(this._lineTokens[n],C.column-1),this._lineTokens[n]=y.ContiguousTokensEditing.insert(this._lineTokens[n],C.column-1,i),this._insertLines(C.lineNumber,s)}}setMultilineTokens(C,s){if(C.length===0)return{changes:[]};const i=[];for(let n=0,t=C.length;n>>0}}),define(te[522],ie([1,0,12,5,122]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SparseLineTokens=e.SparseMultilineTokens=void 0;class D{static create(v,C){return new D(v,new S(C))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(v,C){this._startLineNumber=v,this._tokens=C,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(v){return this._startLineNumber<=v&&v<=this._endLineNumber?this._tokens.getLineTokens(v-this._startLineNumber):null}getRange(){const v=this._tokens.getRange();return v&&new I.Range(this._startLineNumber+v.startLineNumber,v.startColumn,this._startLineNumber+v.endLineNumber,v.endColumn)}removeTokens(v){const C=v.startLineNumber-this._startLineNumber,s=v.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(C,v.startColumn-1,s,v.endColumn-1),this._updateEndLineNumber()}split(v){const C=v.startLineNumber-this._startLineNumber,s=v.endLineNumber-this._startLineNumber,[i,n,t]=this._tokens.split(C,v.startColumn-1,s,v.endColumn-1);return[new D(this._startLineNumber,i),new D(this._startLineNumber+t,n)]}applyEdit(v,C){const[s,i,n]=(0,y.countEOL)(C);this.acceptEdit(v,s,i,n,C.length>0?C.charCodeAt(0):0)}acceptEdit(v,C,s,i,n){this._acceptDeleteRange(v),this._acceptInsertText(new L.Position(v.startLineNumber,v.startColumn),C,s,i,n),this._updateEndLineNumber()}_acceptDeleteRange(v){if(v.startLineNumber===v.endLineNumber&&v.startColumn===v.endColumn)return;const C=v.startLineNumber-this._startLineNumber,s=v.endLineNumber-this._startLineNumber;if(s<0){const n=s-C;this._startLineNumber-=n;return}const i=this._tokens.getMaxDeltaLine();if(!(C>=i+1)){if(C<0&&s>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(C<0){const n=-C;this._startLineNumber-=n,this._tokens.acceptDeleteRange(v.startColumn-1,0,0,s,v.endColumn-1)}else this._tokens.acceptDeleteRange(0,C,v.startColumn-1,s,v.endColumn-1)}}_acceptInsertText(v,C,s,i,n){if(C===0&&s===0)return;const t=v.lineNumber-this._startLineNumber;if(t<0){this._startLineNumber+=C;return}const r=this._tokens.getMaxDeltaLine();t>=r+1||this._tokens.acceptInsertText(t,v.column-1,C,s,i,n)}}e.SparseMultilineTokens=D;class S{constructor(v){this._tokens=v,this._tokenCount=v.length/4}toString(v){const C=[];for(let s=0;sv)s=i-1;else{let t=i;for(;t>C&&this._getDeltaLine(t-1)===v;)t--;let r=i;for(;rv||o===v&&a>=C)&&(ov||a===v&&h>=C){if(an?g-=n-s:g=s;else if(c===C&&a===s)if(c===i&&g>n)g-=n-s;else{d=!0;continue}else if(cn)c=C,a=s,g=a+(g-n);else{d=!0;continue}else if(c>i){if(u===0&&!d){f=r;break}c-=u}else if(c===i&&a>=n)v&&c===0&&(a+=v,g+=v),c-=u,a-=n-s,g-=n-s;else throw new Error("Not possible!");const p=4*f;t[p]=c,t[p+1]=a,t[p+2]=g,t[p+3]=h,f++}this._tokenCount=f}acceptInsertText(v,C,s,i,n,t){const r=s===0&&i===1&&(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122),u=this._tokens,f=this._tokenCount;for(let d=0;d0){const C=m[0].getRange(),s=m[m.length-1].getRange();if(!C||!s)return S;_=S.plusRange(C).plusRange(s)}let v=null;for(let C=0,s=this._pieces.length;C_.endLineNumber){v=v||{index:C};break}if(i.removeTokens(_),i.isEmpty()){this._pieces.splice(C,1),C--,s--;continue}if(i.endLineNumber<_.startLineNumber)continue;if(i.startLineNumber>_.endLineNumber){v=v||{index:C};continue}const[n,t]=i.split(_);if(n.isEmpty()){v=v||{index:C};continue}t.isEmpty()||(this._pieces.splice(C,1,n,t),C++,s++,v=v||{index:C})}return v=v||{index:this._pieces.length},m.length>0&&(this._pieces=L.arrayInsert(this._pieces,v.index,m)),_}isComplete(){return this._isComplete}addSparseTokens(S,m){if(m.getLineContent().length===0)return m;const _=this._pieces;if(_.length===0)return m;const v=y._findFirstPieceWithLine(_,S),C=_[v].getLineTokens(S);if(!C)return m;const s=m.getCount(),i=C.getCount();let n=0;const t=[];let r=0,u=0;const f=(d,l)=>{d!==u&&(u=d,t[r++]=d,t[r++]=l)};for(let d=0;d>>0,g=~a>>>0;for(;nm)v=C-1;else{for(;C>_&&S[C-1].startLineNumber<=m&&m<=S[C-1].endLineNumber;)C--;return C}}return _}acceptEdit(S,m,_,v,C){for(const s of this._pieces)s.acceptEdit(S,m,_,v,C)}}e.SparseTokensStore=y}),define(te[148],ie([1,0,2]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEventHandler=void 0;class I extends L.Disposable{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(D){return!1}onCompositionEnd(D){return!1}onConfigurationChanged(D){return!1}onCursorStateChanged(D){return!1}onDecorationsChanged(D){return!1}onFlushed(D){return!1}onFocusChanged(D){return!1}onLanguageConfigurationChanged(D){return!1}onLineMappingChanged(D){return!1}onLinesChanged(D){return!1}onLinesDeleted(D){return!1}onLinesInserted(D){return!1}onRevealRangeRequest(D){return!1}onScrollChanged(D){return!1}onThemeChanged(D){return!1}onTokensChanged(D){return!1}onTokensColorsChanged(D){return!1}onZonesChanged(D){return!1}handleEvents(D){let S=!1;for(let m=0,_=D.length;m<_;m++){const v=D[m];switch(v.type){case 0:this.onCompositionStart(v)&&(S=!0);break;case 1:this.onCompositionEnd(v)&&(S=!0);break;case 2:this.onConfigurationChanged(v)&&(S=!0);break;case 3:this.onCursorStateChanged(v)&&(S=!0);break;case 4:this.onDecorationsChanged(v)&&(S=!0);break;case 5:this.onFlushed(v)&&(S=!0);break;case 6:this.onFocusChanged(v)&&(S=!0);break;case 7:this.onLanguageConfigurationChanged(v)&&(S=!0);break;case 8:this.onLineMappingChanged(v)&&(S=!0);break;case 9:this.onLinesChanged(v)&&(S=!0);break;case 10:this.onLinesDeleted(v)&&(S=!0);break;case 11:this.onLinesInserted(v)&&(S=!0);break;case 12:this.onRevealRangeRequest(v)&&(S=!0);break;case 13:this.onScrollChanged(v)&&(S=!0);break;case 15:this.onTokensChanged(v)&&(S=!0);break;case 14:this.onThemeChanged(v)&&(S=!0);break;case 16:this.onTokensColorsChanged(v)&&(S=!0);break;case 17:this.onZonesChanged(v)&&(S=!0);break;default:console.info("View received unknown event: "),console.info(v)}}S&&(this._shouldRender=!0)}}e.ViewEventHandler=I}),define(te[111],ie([1,0,148]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicViewOverlay=void 0;class I extends L.ViewEventHandler{}e.DynamicViewOverlay=I}),define(te[53],ie([1,0,148]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartFingerprints=e.ViewPart=void 0;class I extends L.ViewEventHandler{constructor(S){super(),this._context=S,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}e.ViewPart=I;class y{static write(S,m){S.setAttribute("data-mprt",String(m))}static read(S){const m=S.getAttribute("data-mprt");return m===null?0:parseInt(m,10)}static collect(S,m){const _=[];let v=0;for(;S&&S!==S.ownerDocument.body&&S!==m;)S.nodeType===S.ELEMENT_NODE&&(_[v++]=this.read(S)),S=S.parentElement;const C=new Uint8Array(v);for(let s=0;s{if(t.options.zIndexr.options.zIndex)return 1;const u=t.options.className,f=r.options.className;return uf?1:y.Range.compareRangesUsingStarts(t.range,r.range)});const s=m.visibleRange.startLineNumber,i=m.visibleRange.endLineNumber,n=[];for(let t=s;t<=i;t++){const r=t-s;n[r]=""}this._renderWholeLineDecorations(m,v,n),this._renderNormalDecorations(m,v,n),this._renderResult=n}_renderWholeLineDecorations(m,_,v){const C=String(this._lineHeight),s=m.visibleRange.startLineNumber,i=m.visibleRange.endLineNumber;for(let n=0,t=_.length;n',f=Math.max(r.range.startLineNumber,s),d=Math.min(r.range.endLineNumber,i);for(let l=f;l<=d;l++){const o=l-s;v[o]+=u}}}_renderNormalDecorations(m,_,v){var C;const s=String(this._lineHeight),i=m.visibleRange.startLineNumber;let n=null,t=!1,r=null,u=!1;for(let f=0,d=_.length;f';t[l]+=h}}}render(m,_){if(!this._renderResult)return"";const v=_-m;return v<0||v>=this._renderResult.length?"":this._renderResult[v]}}e.DecorationsOverlay=D}),define(te[211],ie([1,0,38,13,111,53,5,423]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphMarginWidgets=e.DedupOverlay=e.VisibleLineDecorationsToRender=e.LineDecorationToRender=e.DecorationToRender=void 0;class m{constructor(u,f,d,l){this._decorationToRenderBrand=void 0,this.startLineNumber=+u,this.endLineNumber=+f,this.className=String(d),this.zIndex=l??0}}e.DecorationToRender=m;class _{constructor(u,f){this.className=u,this.zIndex=f}}e.LineDecorationToRender=_;class v{constructor(){this.decorations=[]}add(u){this.decorations.push(u)}getDecorations(){return this.decorations}}e.VisibleLineDecorationsToRender=v;class C extends y.DynamicViewOverlay{_render(u,f,d){const l=[];for(let a=u;a<=f;a++){const g=a-u;l[g]=new v}if(d.length===0)return l;d.sort((a,g)=>a.className===g.className?a.startLineNumber===g.startLineNumber?a.endLineNumber-g.endLineNumber:a.startLineNumber-g.startLineNumber:a.classNamel)continue;const a=Math.max(c.startLineNumber,d),g=Math.min(o.preference.lane,this._glyphMarginDecorationLaneCount);f.push(new n(a,g,o.preference.zIndex,o))}}_collectSortedGlyphRenderRequests(u){const f=[];return this._collectDecorationBasedGlyphRenderRequest(u,f),this._collectWidgetBasedGlyphRenderRequest(u,f),f.sort((d,l)=>d.lineNumber===l.lineNumber?d.lane===l.lane?d.zIndex===l.zIndex?l.type===d.type?d.type===0&&l.type===0?d.className0;){const l=f.peek();if(!l)break;const o=f.takeWhile(a=>a.lineNumber===l.lineNumber&&a.lane===l.lane);if(!o||o.length===0)break;const c=o[0];if(c.type===0){const a=[];for(const g of o){if(g.zIndex!==c.zIndex||g.type!==c.type)break;(a.length===0||a[a.length-1]!==g.className)&&a.push(g.className)}d.push(c.accept(a.join(" ")))}else c.widget.renderInfo={lineNumber:c.lineNumber,lane:c.lane}}this._decorationGlyphsToRender=d}render(u){if(!this._glyphMargin){for(const d of Object.values(this._widgets))d.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){const d=this._managedDomNodes.pop();d?.domNode.remove()}return}const f=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(const d of Object.values(this._widgets))if(!d.renderInfo)d.domNode.setDisplay("none");else{const l=u.viewportData.relativeVerticalOffset[d.renderInfo.lineNumber-u.viewportData.startLineNumber],o=this._glyphMarginLeft+(d.renderInfo.lane-1)*this._lineHeight;d.domNode.setDisplay("block"),d.domNode.setTop(l),d.domNode.setLeft(o),d.domNode.setWidth(f),d.domNode.setHeight(this._lineHeight)}for(let d=0;dthis._decorationGlyphsToRender.length;){const d=this._managedDomNodes.pop();d?.domNode.remove()}}}e.GlyphMarginWidgets=s;class i{constructor(u,f,d,l){this.lineNumber=u,this.lane=f,this.zIndex=d,this.className=l,this.type=0}accept(u){return new t(this.lineNumber,this.lane,u)}}class n{constructor(u,f,d,l){this.lineNumber=u,this.lane=f,this.zIndex=d,this.widget=l,this.type=1}}class t{constructor(u,f,d){this.lineNumber=u,this.lane=f,this.combinedClassName=d}}}),define(te[526],ie([1,0,211,427]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesDecorationsOverlay=void 0;class I extends L.DedupOverlay{constructor(D){super(),this._context=D;const m=this._context.configuration.options.get(143);this._decorationsLeft=m.decorationsLeft,this._decorationsWidth=m.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(D){const m=this._context.configuration.options.get(143);return this._decorationsLeft=m.decorationsLeft,this._decorationsWidth=m.decorationsWidth,!0}onDecorationsChanged(D){return!0}onFlushed(D){return!0}onLinesChanged(D){return!0}onLinesDeleted(D){return!0}onLinesInserted(D){return!0}onScrollChanged(D){return D.scrollTopChanged}onZonesChanged(D){return!0}_getDecorations(D){const S=D.getDecorationsInViewport(),m=[];let _=0;for(let v=0,C=S.length;v',i=[];for(let n=S;n<=m;n++){const t=n-S,r=_[t].getDecorations();let u="";for(const f of r)u+='
    ';v[s]=n}this._renderResult=v}render(D,S){return this._renderResult?this._renderResult[S-D]:""}}e.MarginViewLineDecorationsOverlay=I}),define(te[528],ie([1,0,38,53,431]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewOverlayWidgets=void 0;class y extends I.ViewPart{constructor(S){super(S);const _=this._context.configuration.options.get(143);this._widgets={},this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),I.PartFingerprints.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(S){const _=this._context.configuration.options.get(143);return this._verticalScrollbarWidth=_.verticalScrollbarWidth,this._minimapWidth=_.minimap.minimapWidth,this._horizontalScrollbarHeight=_.horizontalScrollbarHeight,this._editorHeight=_.height,this._editorWidth=_.width,!0}addWidget(S){const m=(0,L.createFastDomNode)(S.getDomNode());this._widgets[S.getId()]={widget:S,preference:null,domNode:m},m.setPosition("absolute"),m.setAttribute("widgetId",S.getId()),this._domNode.appendChild(m),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(S,m){const _=this._widgets[S.getId()];return _.preference===m?(this._updateMaxMinWidth(),!1):(_.preference=m,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(S){const m=S.getId();if(this._widgets.hasOwnProperty(m)){const v=this._widgets[m].domNode.domNode;delete this._widgets[m],v.parentNode.removeChild(v),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var S,m;let _=0;const v=Object.keys(this._widgets);for(let C=0,s=v.length;C0;){const i=(0,L.createFastDomNode)(document.createElement("div"));i.setClassName("view-ruler"),i.setWidth(C),this.domNode.appendChild(i),this._renderedRulers.push(i),s--}return}let _=S-m;for(;_>0;){const v=this._renderedRulers.pop();this.domNode.removeChild(v),_--}}render(S){this._ensureRulersCount();for(let m=0,_=this._rulers.length;m<_;m++){const v=this._renderedRulers[m],C=this._rulers[m];v.setBoxShadow(C.color?`1px 0 0 0 ${C.color} inset`:""),v.setHeight(Math.min(S.scrollHeight,1e6)),v.setLeft(C.column*this._typicalHalfwidthCharacterWidth)}}}e.Rulers=y}),define(te[530],ie([1,0,38,53,433]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollDecorationViewPart=void 0;class y extends I.ViewPart{constructor(S){super(S),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const _=this._context.configuration.options.get(102);this._useShadows=_.useShadows,this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const S=this._useShadows&&this._scrollTop>0;return this._shouldShow!==S?(this._shouldShow=S,!0):!1}getDomNode(){return this._domNode}_updateWidth(){const m=this._context.configuration.options.get(143);m.minimap.renderMinimap===0||m.minimap.minimapWidth>0&&m.minimap.minimapLeft===0?this._width=m.width:this._width=m.width-m.verticalScrollbarWidth}onConfigurationChanged(S){const _=this._context.configuration.options.get(102);return this._useShadows=_.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(S){return this._scrollTop=S.scrollTop,this._updateShouldShow()}prepareRender(S){}render(S){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}e.ScrollDecorationViewPart=y}),define(te[531],ie([1,0,38,9,53,12]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZones=void 0;const S=()=>{throw new Error("Invalid change accessor")};class m extends y.ViewPart{constructor(C){super(C);const s=this._context.configuration.options,i=s.get(143);this._lineHeight=s.get(66),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,L.createFastDomNode)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,L.createFastDomNode)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const C=this._context.viewLayout.getWhitespaces(),s=new Map;for(const n of C)s.set(n.id,n);let i=!1;return this._context.viewModel.changeWhitespace(n=>{const t=Object.keys(this._zones);for(let r=0,u=t.length;r{const n={addZone:t=>(s=!0,this._addZone(i,t)),removeZone:t=>{t&&(s=this._removeZone(i,t)||s)},layoutZone:t=>{t&&(s=this._layoutZone(i,t)||s)}};_(C,n),n.addZone=S,n.removeZone=S,n.layoutZone=S}),s}_addZone(C,s){const i=this._computeWhitespaceProps(s),t={whitespaceId:C.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(s),i.heightInPx,i.minWidthInPx),delegate:s,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,L.createFastDomNode)(s.domNode),marginDomNode:s.marginDomNode?(0,L.createFastDomNode)(s.marginDomNode):null};return this._safeCallOnComputedHeight(t.delegate,i.heightInPx),t.domNode.setPosition("absolute"),t.domNode.domNode.style.width="100%",t.domNode.setDisplay("none"),t.domNode.setAttribute("monaco-view-zone",t.whitespaceId),this.domNode.appendChild(t.domNode),t.marginDomNode&&(t.marginDomNode.setPosition("absolute"),t.marginDomNode.domNode.style.width="100%",t.marginDomNode.setDisplay("none"),t.marginDomNode.setAttribute("monaco-view-zone",t.whitespaceId),this.marginDomNode.appendChild(t.marginDomNode)),this._zones[t.whitespaceId]=t,this.setShouldRender(),t.whitespaceId}_removeZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s];return delete this._zones[s],C.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(C,s){if(this._zones.hasOwnProperty(s)){const i=this._zones[s],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,C.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(C){return this._zones.hasOwnProperty(C)?!!this._zones[C].delegate.suppressMouseDown:!1}_heightInPixels(C){return typeof C.heightInPx=="number"?C.heightInPx:typeof C.heightInLines=="number"?this._lineHeight*C.heightInLines:this._lineHeight}_minWidthInPixels(C){return typeof C.minWidthInPx=="number"?C.minWidthInPx:0}_safeCallOnComputedHeight(C,s){if(typeof C.onComputedHeight=="function")try{C.onComputedHeight(s)}catch(i){(0,I.onUnexpectedError)(i)}}_safeCallOnDomNodeTop(C,s){if(typeof C.onDomNodeTop=="function")try{C.onDomNodeTop(s)}catch(i){(0,I.onUnexpectedError)(i)}}prepareRender(C){}render(C){const s=C.viewportData.whitespaceViewportData,i={};let n=!1;for(const r of s)this._zones[r.id].isInHiddenArea||(i[r.id]=r,n=!0);const t=Object.keys(this._zones);for(let r=0,u=t.length;r=i||(t[r++]=new I(Math.max(1,u.startColumn-s+1),Math.min(n+1,u.endColumn-s+1),u.className,u.type));return t}static filter(_,v,C,s){if(_.length===0)return[];const i=[];let n=0;for(let t=0,r=_.length;tv||f.isEmpty()&&(u.type===0||u.type===3))continue;const d=f.startLineNumber===v?f.startColumn:C,l=f.endLineNumber===v?f.endColumn:s;i[n++]=new I(d,l,u.inlineClassName,u.type)}return i}static _typeCompare(_,v){const C=[2,0,1,3];return C[_]-C[v]}static compare(_,v){if(_.startColumn!==v.startColumn)return _.startColumn-v.startColumn;if(_.endColumn!==v.endColumn)return _.endColumn-v.endColumn;const C=I._typeCompare(_.type,v.type);return C!==0?C:_.className!==v.className?_.className0&&this.stopOffsets[0]<_;){let s=0;for(;s+10&&v<_&&(C.push(new y(v,_-1,this.classNames.join(" "),D._metadata(this.metadata))),v=_),v}insert(_,v,C){if(this.count===0||this.stopOffsets[this.count-1]<=_)this.stopOffsets.push(_),this.classNames.push(v),this.metadata.push(C);else for(let s=0;s=_){this.stopOffsets.splice(s,0,_),this.classNames.splice(s,0,v),this.metadata.splice(s,0,C);break}this.count++}}class S{static normalize(_,v){if(v.length===0)return[];const C=[],s=new D;let i=0;for(let n=0,t=v.length;n1){const a=_.charCodeAt(u-2);L.isHighSurrogate(a)&&u--}if(f>1){const a=_.charCodeAt(f-2);L.isHighSurrogate(a)&&f--}const o=u-1,c=f-2;i=s.consumeLowerThan(o,i,C),s.count===0&&(i=o),s.insert(c,d,l)}return s.consumeLowerThan(1073741824,i,C),C}}e.LineDecorationsNormalizer=S}),define(te[532],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinePart=void 0;class L{constructor(y,D,S,m){this.endIndex=y,this.type=D,this.metadata=S,this.containsRTL=m,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}e.LinePart=L}),define(te[533],ie([1,0,10]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinesLayout=e.EditorWhitespace=void 0;class I{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(m){this._hasPending=!0,this._inserts.push(m)}change(m){this._hasPending=!0,this._changes.push(m)}remove(m){this._hasPending=!0,this._removes.push(m)}mustCommit(){return this._hasPending}commit(m){if(!this._hasPending)return;const _=this._inserts,v=this._changes,C=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],m._commitPendingChanges(_,v,C)}}class y{constructor(m,_,v,C,s){this.id=m,this.afterLineNumber=_,this.ordinal=v,this.height=C,this.minWidth=s,this.prefixSum=0}}e.EditorWhitespace=y;class D{constructor(m,_,v,C){this._instanceId=L.singleLetterHash(++D.INSTANCE_COUNT),this._pendingChanges=new I,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=m,this._lineHeight=_,this._paddingTop=v,this._paddingBottom=C}static findInsertionIndex(m,_,v){let C=0,s=m.length;for(;C>>1;_===m[i].afterLineNumber?v{_=!0,C=C|0,s=s|0,i=i|0,n=n|0;const t=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new y(t,C,s,i,n)),t},changeOneWhitespace:(C,s,i)=>{_=!0,s=s|0,i=i|0,this._pendingChanges.change({id:C,newAfterLineNumber:s,newHeight:i})},removeWhitespace:C=>{_=!0,this._pendingChanges.remove({id:C})}})}finally{this._pendingChanges.commit(this)}return _}_commitPendingChanges(m,_,v){if((m.length>0||v.length>0)&&(this._minWidth=-1),m.length+_.length+v.length<=1){for(const t of m)this._insertWhitespace(t);for(const t of _)this._changeOneWhitespace(t.id,t.newAfterLineNumber,t.newHeight);for(const t of v){const r=this._findWhitespaceIndex(t.id);r!==-1&&this._removeWhitespace(r)}return}const C=new Set;for(const t of v)C.add(t.id);const s=new Map;for(const t of _)s.set(t.id,t);const i=t=>{const r=[];for(const u of t)if(!C.has(u.id)){if(s.has(u.id)){const f=s.get(u.id);u.afterLineNumber=f.newAfterLineNumber,u.height=f.newHeight}r.push(u)}return r},n=i(this._arr).concat(i(m));n.sort((t,r)=>t.afterLineNumber===r.afterLineNumber?t.ordinal-r.ordinal:t.afterLineNumber-r.afterLineNumber),this._arr=n,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(m){const _=D.findInsertionIndex(this._arr,m.afterLineNumber,m.ordinal);this._arr.splice(_,0,m),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,_-1)}_findWhitespaceIndex(m){const _=this._arr;for(let v=0,C=_.length;v_&&(this._arr[v].afterLineNumber-=_-m+1)}}onLinesInserted(m,_){this._checkPendingChanges(),m=m|0,_=_|0,this._lineCount+=_-m+1;for(let v=0,C=this._arr.length;v=_.length||_[n+1].afterLineNumber>=m)return n;v=n+1|0}else C=n-1|0}return-1}_findFirstWhitespaceAfterLineNumber(m){m=m|0;const v=this._findLastWhitespaceBeforeLineNumber(m)+1;return v1?v=this._lineHeight*(m-1):v=0;const C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(m-(_?1:0));return v+C+this._paddingTop}getVerticalOffsetAfterLineNumber(m,_=!1){this._checkPendingChanges(),m=m|0;const v=this._lineHeight*m,C=this.getWhitespaceAccumulatedHeightBeforeLineNumber(m+(_?1:0));return v+C+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let m=0;for(let _=0,v=this._arr.length;__}isInTopPadding(m){return this._paddingTop===0?!1:(this._checkPendingChanges(),m=_-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(m){if(this._checkPendingChanges(),m=m|0,m<0)return 1;const _=this._lineCount|0,v=this._lineHeight;let C=1,s=_;for(;C=n+v)C=i+1;else{if(m>=n)return i;s=i}}return C>_?_:C}getLinesViewportData(m,_){this._checkPendingChanges(),m=m|0,_=_|0;const v=this._lineHeight,C=this.getLineNumberAtOrAfterVerticalOffset(m)|0,s=this.getVerticalOffsetForLineNumber(C)|0;let i=this._lineCount|0,n=this.getFirstWhitespaceIndexAfterLineNumber(C)|0;const t=this.getWhitespacesCount()|0;let r,u;n===-1?(n=t,u=i+1,r=0):(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,r=this.getHeightForWhitespaceIndex(n)|0);let f=s,d=f;const l=5e5;let o=0;s>=l&&(o=Math.floor(s/l)*l,o=Math.floor(o/v)*v,d-=o);const c=[],a=m+(_-m)/2;let g=-1;for(let w=C;w<=i;w++){if(g===-1){const E=f,k=f+v;(E<=a&&aa)&&(g=w)}for(f+=v,c[w-C]=d,d+=v;u===w;)d+=r,f+=r,n++,n>=t?u=i+1:(u=this.getAfterLineNumberForWhitespaceIndex(n)|0,r=this.getHeightForWhitespaceIndex(n)|0);if(f>=_){i=w;break}}g===-1&&(g=i);const h=this.getVerticalOffsetForLineNumber(i)|0;let p=C,b=i;return p_&&b--,{bigNumbersDelta:o,startLineNumber:C,endLineNumber:i,relativeVerticalOffset:c,centeredLineNumber:g,completelyVisibleStartLineNumber:p,completelyVisibleEndLineNumber:b}}getVerticalOffsetForWhitespaceIndex(m){this._checkPendingChanges(),m=m|0;const _=this.getAfterLineNumberForWhitespaceIndex(m);let v;_>=1?v=this._lineHeight*_:v=0;let C;return m>0?C=this.getWhitespacesAccumulatedHeight(m-1):C=0,v+C+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(m){this._checkPendingChanges(),m=m|0;let _=0,v=this.getWhitespacesCount()-1;if(v<0)return-1;const C=this.getVerticalOffsetForWhitespaceIndex(v),s=this.getHeightForWhitespaceIndex(v);if(m>=C+s)return-1;for(;_=n+t)_=i+1;else{if(m>=n)return i;v=i}}return _}getWhitespaceAtVerticalOffset(m){this._checkPendingChanges(),m=m|0;const _=this.getWhitespaceIndexAtOrAfterVerticallOffset(m);if(_<0||_>=this.getWhitespacesCount())return null;const v=this.getVerticalOffsetForWhitespaceIndex(_);if(v>m)return null;const C=this.getHeightForWhitespaceIndex(_),s=this.getIdForWhitespaceIndex(_),i=this.getAfterLineNumberForWhitespaceIndex(_);return{id:s,afterLineNumber:i,verticalOffset:v,height:C}}getWhitespaceViewportData(m,_){this._checkPendingChanges(),m=m|0,_=_|0;const v=this.getWhitespaceIndexAtOrAfterVerticallOffset(m),C=this.getWhitespacesCount()-1;if(v<0)return[];const s=[];for(let i=v;i<=C;i++){const n=this.getVerticalOffsetForWhitespaceIndex(i),t=this.getHeightForWhitespaceIndex(i);if(n>=_)break;s.push({id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:n,height:t})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(m){return this._checkPendingChanges(),m=m|0,this._arr[m].id}getAfterLineNumberForWhitespaceIndex(m){return this._checkPendingChanges(),m=m|0,this._arr[m].afterLineNumber}getHeightForWhitespaceIndex(m){return this._checkPendingChanges(),m=m|0,this._arr[m].height}}e.LinesLayout=D,D.INSTANCE_COUNT=0}),define(te[534],ie([1,0,5]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportData=void 0;class I{constructor(D,S,m,_){this.selections=D,this.startLineNumber=S.startLineNumber|0,this.endLineNumber=S.endLineNumber|0,this.relativeVerticalOffset=S.relativeVerticalOffset,this.bigNumbersDelta=S.bigNumbersDelta|0,this.whitespaceViewportData=m,this._model=_,this.visibleRange=new L.Range(S.startLineNumber,this._model.getLineMinColumn(S.startLineNumber),S.endLineNumber,this._model.getLineMaxColumn(S.endLineNumber))}getViewLineRenderingData(D){return this._model.getViewportViewLineRenderingData(this.visibleRange,D)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}e.ViewportData=I}),define(te[82],ie([1,0,13,10,5]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerDecorationsGroup=e.ViewModelDecoration=e.SingleLineInlineDecoration=e.InlineDecoration=e.ViewLineRenderingData=e.ViewLineData=e.MinimapLinesRenderingData=e.Viewport=void 0;class D{constructor(t,r,u,f){this._viewportBrand=void 0,this.top=t|0,this.left=r|0,this.width=u|0,this.height=f|0}}e.Viewport=D;class S{constructor(t,r){this.tabSize=t,this.data=r}}e.MinimapLinesRenderingData=S;class m{constructor(t,r,u,f,d,l,o){this._viewLineDataBrand=void 0,this.content=t,this.continuesWithWrappedLine=r,this.minColumn=u,this.maxColumn=f,this.startVisibleColumn=d,this.tokens=l,this.inlineDecorations=o}}e.ViewLineData=m;class _{constructor(t,r,u,f,d,l,o,c,a,g){this.minColumn=t,this.maxColumn=r,this.content=u,this.continuesWithWrappedLine=f,this.isBasicASCII=_.isBasicASCII(u,l),this.containsRTL=_.containsRTL(u,this.isBasicASCII,d),this.tokens=o,this.inlineDecorations=c,this.tabSize=a,this.startVisibleColumn=g}static isBasicASCII(t,r){return r?I.isBasicASCII(t):!0}static containsRTL(t,r,u){return!r&&u?I.containsRTL(t):!1}}e.ViewLineRenderingData=_;class v{constructor(t,r,u){this.range=t,this.inlineClassName=r,this.type=u}}e.InlineDecoration=v;class C{constructor(t,r,u,f){this.startOffset=t,this.endOffset=r,this.inlineClassName=u,this.inlineClassNameAffectsLetterSpacing=f}toInlineDecoration(t){return new v(new y.Range(t,this.startOffset+1,t,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}e.SingleLineInlineDecoration=C;class s{constructor(t,r){this._viewModelDecorationBrand=void 0,this.range=t,this.options=r}}e.ViewModelDecoration=s;class i{constructor(t,r,u){this.color=t,this.zIndex=r,this.data=u}static compareByRenderingProps(t,r){return t.zIndex===r.zIndex?t.colorr.color?1:0:t.zIndex-r.zIndex}static equals(t,r){return t.color===r.color&&t.zIndex===r.zIndex&&L.equals(t.data,r.data)}static equalsArr(t,r){return L.equals(t,r,i.equals)}}e.OverviewRulerDecorationsGroup=i}),define(te[535],ie([1,0,91,12,110,82]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createModelLineProjection=void 0;function S(n,t){return n===null?t?_.INSTANCE:v.INSTANCE:new m(n,t)}e.createModelLineProjection=S;class m{constructor(t,r){this._projectionData=t,this._isVisible=r}isVisible(){return this._isVisible}setVisible(t){return this._isVisible=t,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(t,r,u){this._assertVisible();const f=u>0?this._projectionData.breakOffsets[u-1]:0,d=this._projectionData.breakOffsets[u];let l;if(this._projectionData.injectionOffsets!==null){const o=this._projectionData.injectionOffsets.map((a,g)=>new y.LineInjectedText(0,0,a+1,this._projectionData.injectionOptions[g],0));l=y.LineInjectedText.applyInjectedText(t.getLineContent(r),o).substring(f,d)}else l=t.getValueInRange({startLineNumber:r,startColumn:f+1,endLineNumber:r,endColumn:d+1});return u>0&&(l=s(this._projectionData.wrappedTextIndentLength)+l),l}getViewLineLength(t,r,u){return this._assertVisible(),this._projectionData.getLineLength(u)}getViewLineMinColumn(t,r,u){return this._assertVisible(),this._projectionData.getMinOutputOffset(u)+1}getViewLineMaxColumn(t,r,u){return this._assertVisible(),this._projectionData.getMaxOutputOffset(u)+1}getViewLineData(t,r,u){const f=new Array;return this.getViewLinesData(t,r,u,1,0,[!0],f),f[0]}getViewLinesData(t,r,u,f,d,l,o){this._assertVisible();const c=this._projectionData,a=c.injectionOffsets,g=c.injectionOptions;let h=null;if(a){h=[];let b=0,w=0;for(let E=0;E0?c.breakOffsets[E-1]:0,R=c.breakOffsets[E];for(;wR)break;if(M0?c.wrappedTextIndentLength:0,O=P+Math.max(T-M,0),x=P+Math.min(N-M,R-M);O!==x&&k.push(new D.SingleLineInlineDecoration(O,x,A.inlineClassName,A.inlineClassNameAffectsLetterSpacing))}}if(N<=R)b+=B,w++;else break}}}let p;a?p=t.tokenization.getLineTokens(r).withInserted(a.map((b,w)=>({offset:b,text:g[w].content,tokenMetadata:L.LineTokens.defaultTokenMetadata}))):p=t.tokenization.getLineTokens(r);for(let b=u;b0?f.wrappedTextIndentLength:0,l=u>0?f.breakOffsets[u-1]:0,o=f.breakOffsets[u],c=t.sliceAndInflate(l,o,d);let a=c.getLineContent();u>0&&(a=s(f.wrappedTextIndentLength)+a);const g=this._projectionData.getMinOutputOffset(u)+1,h=a.length+1,p=u+1=C.length)for(let t=1;t<=n;t++)C[t]=i(t);return C[n]}function i(n){return new Array(n+1).join(" ")}}),define(te[536],ie([1,0,10,121,110,287]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MonospaceLineBreaksComputerFactory=void 0;class S{static create(f){return new S(f.get(132),f.get(131))}constructor(f,d){this.classifier=new m(f,d)}createLineBreaksComputer(f,d,l,o,c){const a=[],g=[],h=[];return{addRequest:(p,b,w)=>{a.push(p),g.push(b),h.push(w)},finalize:()=>{const p=f.typicalFullwidthCharacterWidth/f.typicalHalfwidthCharacterWidth,b=[];for(let w=0,E=a.length;w=0&&f<256?this._asciiMap[f]:f>=12352&&f<=12543||f>=13312&&f<=19903||f>=19968&&f<=40959?3:this._map.get(f)||this._defaultValue}}let _=[],v=[];function C(u,f,d,l,o,c,a,g){if(o===-1)return null;const h=d.length;if(h<=1)return null;const p=g==="keepAll",b=f.breakOffsets,w=f.breakOffsetsVisibleColumn,E=r(d,l,o,c,a),k=o-E,M=_,R=v;let B=0,T=0,N=0,A=o;const P=b.length;let O=0;if(O>=0){let x=Math.abs(w[O]-A);for(;O+1=x)break;x=W,O++}}for(;Ox&&(x=T,W=N);let U=0,F=0,G=0,Y=0;if(W<=A){let se=W,J=x===0?0:d.charCodeAt(x-1),q=x===0?0:u.get(J),H=!0;for(let V=x;VT&&t(J,q,ee,le,p)&&(U=Z,F=se),se+=ue,se>A){Z>T?(G=Z,Y=se-ue):(G=V+1,Y=se),se-F>k&&(U=0),H=!1;break}J=ee,q=le}if(H){B>0&&(M[B]=b[b.length-1],R[B]=w[b.length-1],B++);break}}if(U===0){let se=W,J=d.charCodeAt(x),q=u.get(J),H=!1;for(let V=x-1;V>=T;V--){const Z=V+1,ee=d.charCodeAt(V);if(ee===9){H=!0;break}let le,ue;if(L.isLowSurrogate(ee)?(V--,le=0,ue=2):(le=u.get(ee),ue=L.isFullWidthCharacter(ee)?c:1),se<=A){if(G===0&&(G=Z,Y=se),se<=A-k)break;if(t(ee,le,J,q,p)){U=Z,F=se;break}}se-=ue,J=ee,q=le}if(U!==0){const V=k-(Y-F);if(V<=l){const Z=d.charCodeAt(G);let ee;L.isHighSurrogate(Z)?ee=2:ee=i(Z,Y,l,c),V-ee<0&&(U=0)}}if(H){O--;continue}}if(U===0&&(U=G,F=Y),U<=T){const se=d.charCodeAt(T);L.isHighSurrogate(se)?(U=T+2,F=N+2):(U=T+1,F=N+i(se,N,l,c))}for(T=U,M[B]=U,N=F,R[B]=F,B++,A=F+k;O<0||O=ne)break;ne=se,O++}}return B===0?null:(M.length=B,R.length=B,_=f.breakOffsets,v=f.breakOffsetsVisibleColumn,f.breakOffsets=M,f.breakOffsetsVisibleColumn=R,f.wrappedTextIndentLength=E,f)}function s(u,f,d,l,o,c,a,g){const h=y.LineInjectedText.applyInjectedText(f,d);let p,b;if(d&&d.length>0?(p=d.map(F=>F.options),b=d.map(F=>F.column-1)):(p=null,b=null),o===-1)return p?new D.ModelLineProjectionData(b,p,[h.length],[],0):null;const w=h.length;if(w<=1)return p?new D.ModelLineProjectionData(b,p,[h.length],[],0):null;const E=g==="keepAll",k=r(h,l,o,c,a),M=o-k,R=[],B=[];let T=0,N=0,A=0,P=o,O=h.charCodeAt(0),x=u.get(O),W=i(O,0,l,c),U=1;L.isHighSurrogate(O)&&(W+=1,O=h.charCodeAt(1),x=u.get(O),U++);for(let F=U;FP&&((N===0||W-A>M)&&(N=G,A=W-se),R[T]=N,B[T]=A,T++,P=A+M,N=0),O=Y,x=ne}return T===0&&(!d||d.length===0)?null:(R[T]=w,B[T]=W,new D.ModelLineProjectionData(b,p,R,B,k))}function i(u,f,d,l){return u===9?d-f%d:L.isFullWidthCharacter(u)||u<32?l:1}function n(u,f){return f-u%f}function t(u,f,d,l,o){return d!==32&&(f===2&&l!==2||f!==1&&l===1||!o&&f===3&&l!==2||!o&&l===3&&f!==1)}function r(u,f,d,l,o){let c=0;if(o!==0){const a=L.firstNonWhitespaceIndex(u);if(a!==-1){for(let h=0;hd&&(c=0)}}return c}}),define(te[293],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewZoneManager=e.OverviewRulerZone=e.ColorZone=void 0;class L{constructor(S,m,_){this._colorZoneBrand=void 0,this.from=S|0,this.to=m|0,this.colorId=_|0}static compare(S,m){return S.colorId===m.colorId?S.from===m.from?S.to-m.to:S.from-m.from:S.colorId-m.colorId}}e.ColorZone=L;class I{constructor(S,m,_,v){this._overviewRulerZoneBrand=void 0,this.startLineNumber=S,this.endLineNumber=m,this.heightInLines=_,this.color=v,this._colorZone=null}static compare(S,m){return S.color===m.color?S.startLineNumber===m.startLineNumber?S.heightInLines===m.heightInLines?S.endLineNumber-m.endLineNumber:S.heightInLines-m.heightInLines:S.startLineNumber-m.startLineNumber:S.color_&&(o=_-c);const a=r.color;let g=this._color2Id[a];g||(g=++this._lastAssignedId,this._color2Id[a]=g,this._id2Color[g]=a);const h=new L(o-c,o+c,g);r.setColorZone(h),i.push(h)}return this._colorZonesInvalid=!1,i.sort(L.compare),i}}e.OverviewZoneManager=y}),define(te[537],ie([1,0,38,293,148]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRuler=void 0;class D extends y.ViewEventHandler{constructor(m,_){super(),this._context=m;const v=this._context.configuration.options;this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName(_),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new I.OverviewZoneManager(C=>this._context.viewLayout.getVerticalOffsetForLineNumber(C)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(v.get(66)),this._zoneManager.setPixelRatio(v.get(141)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(m){const _=this._context.configuration.options;return m.hasChanged(66)&&(this._zoneManager.setLineHeight(_.get(66)),this._render()),m.hasChanged(141)&&(this._zoneManager.setPixelRatio(_.get(141)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(m){return this._render(),!0}onScrollChanged(m){return m.scrollHeightChanged&&(this._zoneManager.setOuterHeight(m.scrollHeight),this._render()),!0}onZonesChanged(m){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(m){this._domNode.setTop(m.top),this._domNode.setRight(m.right);let _=!1;_=this._zoneManager.setDOMWidth(m.width)||_,_=this._zoneManager.setDOMHeight(m.height)||_,_&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(m){this._zoneManager.setZones(m),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;const m=this._zoneManager.getCanvasWidth(),_=this._zoneManager.getCanvasHeight(),v=this._zoneManager.resolveColorZones(),C=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,m,_),v.length>0&&this._renderOneLane(s,v,C,m),!0}_renderOneLane(m,_,v,C){let s=0,i=0,n=0;for(const t of _){const r=t.colorId,u=t.from,f=t.to;r!==s?(m.fillRect(0,i,C,n-i),s=r,m.fillStyle=v[s],i=u,n=f):n>=u?n=Math.max(n,f):(m.fillRect(0,i,C,n-i),i=u,n=f)}m.fillRect(0,i,C,n-i)}}e.OverviewRuler=D}),define(te[538],ie([1,0,496]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContext=void 0;class I{constructor(D,S,m){this.configuration=D,this.theme=new L.EditorTheme(S),this.viewModel=m,this.viewLayout=m.viewLayout}addEventHandler(D){this.viewModel.addViewEventHandler(D)}removeEventHandler(D){this.viewModel.removeViewEventHandler(D)}}e.ViewContext=I}),define(te[213],ie([1,0,6,2]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ModelTokensChangedEvent=e.ModelOptionsChangedEvent=e.ModelContentChangedEvent=e.ModelLanguageConfigurationChangedEvent=e.ModelLanguageChangedEvent=e.ModelDecorationsChangedEvent=e.ReadOnlyEditAttemptEvent=e.CursorStateChangedEvent=e.HiddenAreasChangedEvent=e.ViewZonesChangedEvent=e.ScrollChangedEvent=e.FocusChangedEvent=e.ContentSizeChangedEvent=e.ViewModelEventsCollector=e.ViewModelEventDispatcher=void 0;class y extends I.Disposable{constructor(){super(),this._onEvent=this._register(new L.Emitter),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(o){this._addOutgoingEvent(o),this._emitOutgoingEvents()}_addOutgoingEvent(o){for(let c=0,a=this._outgoingEvents.length;c0;){if(this._collector||this._isConsumingViewEventQueue)return;const o=this._outgoingEvents.shift();o.isNoOp()||this._onEvent.fire(o)}}addViewEventHandler(o){for(let c=0,a=this._eventHandlers.length;c0&&this._emitMany(c)}this._emitOutgoingEvents()}emitSingleViewEvent(o){try{this.beginEmitViewEvents().emitViewEvent(o)}finally{this.endEmitViewEvents()}}_emitMany(o){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(o):this._viewEventQueue=o,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const o=this._viewEventQueue;this._viewEventQueue=null;const c=this._eventHandlers.slice(0);for(const a of c)a.handleEvents(o)}}}e.ViewModelEventDispatcher=y;class D{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(o){this.viewEvents.push(o)}emitOutgoingEvent(o){this.outgoingEvents.push(o)}}e.ViewModelEventsCollector=D;class S{constructor(o,c,a,g){this.kind=0,this._oldContentWidth=o,this._oldContentHeight=c,this.contentWidth=a,this.contentHeight=g,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(o){return o.kind!==this.kind?null:new S(this._oldContentWidth,this._oldContentHeight,o.contentWidth,o.contentHeight)}}e.ContentSizeChangedEvent=S;class m{constructor(o,c){this.kind=1,this.oldHasFocus=o,this.hasFocus=c}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(o){return o.kind!==this.kind?null:new m(this.oldHasFocus,o.hasFocus)}}e.FocusChangedEvent=m;class _{constructor(o,c,a,g,h,p,b,w){this.kind=2,this._oldScrollWidth=o,this._oldScrollLeft=c,this._oldScrollHeight=a,this._oldScrollTop=g,this.scrollWidth=h,this.scrollLeft=p,this.scrollHeight=b,this.scrollTop=w,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(o){return o.kind!==this.kind?null:new _(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,o.scrollWidth,o.scrollLeft,o.scrollHeight,o.scrollTop)}}e.ScrollChangedEvent=_;class v{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.ViewZonesChangedEvent=v;class C{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(o){return o.kind!==this.kind?null:this}}e.HiddenAreasChangedEvent=C;class s{constructor(o,c,a,g,h,p,b){this.kind=6,this.oldSelections=o,this.selections=c,this.oldModelVersionId=a,this.modelVersionId=g,this.source=h,this.reason=p,this.reachedMaxCursorCount=b}static _selectionsAreEqual(o,c){if(!o&&!c)return!0;if(!o||!c)return!1;const a=o.length,g=c.length;if(a!==g)return!1;for(let h=0;h=t?0:u.horizontalScrollbarSize}_getContentHeight(n,t,r){const u=this._configuration.options;let f=this._linesLayout.getLinesTotalHeight();return u.get(104)?f+=Math.max(0,t-u.get(66)-u.get(83).bottom):f+=this._getHorizontalScrollbarHeight(n,r),f}_updateHeight(){const n=this._scrollable.getScrollDimensions(),t=n.width,r=n.height,u=n.contentWidth;this._scrollable.setScrollDimensions(new v(t,n.contentWidth,r,this._getContentHeight(t,r,u)))}getCurrentViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}getFutureViewport(){const n=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new S.Viewport(t.scrollTop,t.scrollLeft,n.width,n.height)}_computeContentWidth(){const n=this._configuration.options,t=this._maxLineWidth,r=n.get(144),u=n.get(50),f=n.get(143);if(r.isViewportWrapping){const d=n.get(72);return t>f.contentWidth+u.typicalHalfwidthCharacterWidth&&d.enabled&&d.side==="right"?t+f.verticalScrollbarWidth:t}else{const d=n.get(103)*u.typicalHalfwidthCharacterWidth,l=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+d+f.verticalScrollbarWidth,l,this._overlayWidgetsMinWidth)}}setMaxLineWidth(n){this._maxLineWidth=n,this._updateContentWidth()}setOverlayWidgetsMinWidth(n){this._overlayWidgetsMinWidth=n,this._updateContentWidth()}_updateContentWidth(){const n=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new v(n.width,this._computeContentWidth(),n.height,n.contentHeight)),this._updateHeight()}saveState(){const n=this._scrollable.getFutureScrollPosition(),t=n.scrollTop,r=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),u=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(r);return{scrollTop:t,scrollTopWithoutViewZones:t-u,scrollLeft:n.scrollLeft}}changeWhitespace(n){const t=this._linesLayout.changeWhitespace(n);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(n,t)}getVerticalOffsetAfterLineNumber(n,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(n,t)}isAfterLines(n){return this._linesLayout.isAfterLines(n)}isInTopPadding(n){return this._linesLayout.isInTopPadding(n)}isInBottomPadding(n){return this._linesLayout.isInBottomPadding(n)}getLineNumberAtVerticalOffset(n){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(n)}getWhitespaceAtVerticalOffset(n){return this._linesLayout.getWhitespaceAtVerticalOffset(n)}getLinesViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(n.top,n.top+n.height)}getLinesViewportDataAtScrollTop(n){const t=this._scrollable.getScrollDimensions();return n+t.height>t.scrollHeight&&(n=t.scrollHeight-t.height),n<0&&(n=0),this._linesLayout.getLinesViewportData(n,n+t.height)}getWhitespaceViewportData(){const n=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(n.top,n.top+n.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(n){return this._scrollable.validateScrollPosition(n)}setScrollPosition(n,t){t===1?this._scrollable.setScrollPositionNow(n):this._scrollable.setScrollPositionSmooth(n)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(n,t){const r=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:r.scrollLeft+n,scrollTop:r.scrollTop+t})}}e.ViewLayout=s}),define(te[540],ie([1,0,5,24]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveCaretCommand=void 0;class y{constructor(S,m){this._selection=S,this._isMovingLeft=m}getEditOperations(S,m){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const _=this._selection.startLineNumber,v=this._selection.startColumn,C=this._selection.endColumn;if(!(this._isMovingLeft&&v===1)&&!(!this._isMovingLeft&&C===S.getLineMaxColumn(_)))if(this._isMovingLeft){const s=new L.Range(_,v-1,_,v),i=S.getValueInRange(s);m.addEditOperation(s,null),m.addEditOperation(new L.Range(_,C,_,C),i)}else{const s=new L.Range(_,C,_,C+1),i=S.getValueInRange(s);m.addEditOperation(s,null),m.addEditOperation(new L.Range(_,v,_,v),i)}}computeCursorState(S,m){return this._isMovingLeft?new I.Selection(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new I.Selection(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}e.MoveCaretCommand=y}),define(te[112],ie([1,0,9]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionItem=e.CodeActionCommandArgs=e.filtersAction=e.mayIncludeActionsOfKind=e.CodeActionTriggerSource=e.CodeActionKind=void 0;class I{constructor(s){this.value=s}equals(s){return this.value===s.value}contains(s){return this.equals(s)||this.value===""||s.value.startsWith(this.value+I.sep)}intersects(s){return this.contains(s)||s.contains(this)}append(s){return new I(this.value+I.sep+s)}}e.CodeActionKind=I,I.sep=".",I.None=new I("@@none@@"),I.Empty=new I(""),I.QuickFix=new I("quickfix"),I.Refactor=new I("refactor"),I.RefactorExtract=I.Refactor.append("extract"),I.RefactorInline=I.Refactor.append("inline"),I.RefactorMove=I.Refactor.append("move"),I.RefactorRewrite=I.Refactor.append("rewrite"),I.Notebook=new I("notebook"),I.Source=new I("source"),I.SourceOrganizeImports=I.Source.append("organizeImports"),I.SourceFixAll=I.Source.append("fixAll"),I.SurroundWith=I.Refactor.append("surround");var y;(function(C){C.Refactor="refactor",C.RefactorPreview="refactor preview",C.Lightbulb="lightbulb",C.Default="other (default)",C.SourceAction="source action",C.QuickFix="quick fix action",C.FixAll="fix all",C.OrganizeImports="organize imports",C.AutoFix="auto fix",C.QuickFixHover="quick fix hover window",C.OnSave="save participants",C.ProblemsView="problems view"})(y||(e.CodeActionTriggerSource=y={}));function D(C,s){return!(C.include&&!C.include.intersects(s)||C.excludes&&C.excludes.some(i=>m(s,i,C.include))||!C.includeSourceActions&&I.Source.contains(s))}e.mayIncludeActionsOfKind=D;function S(C,s){const i=s.kind?new I(s.kind):void 0;return!(C.include&&(!i||!C.include.contains(i))||C.excludes&&i&&C.excludes.some(n=>m(i,n,C.include))||!C.includeSourceActions&&i&&I.Source.contains(i)||C.onlyIncludePreferredActions&&!s.isPreferred)}e.filtersAction=S;function m(C,s,i){return!(!s.contains(C)||i&&s.contains(i))}class _{static fromUser(s,i){return!s||typeof s!="object"?new _(i.kind,i.apply,!1):new _(_.getKindFromUser(s,i.kind),_.getApplyFromUser(s,i.apply),_.getPreferredUser(s))}static getApplyFromUser(s,i){switch(typeof s.apply=="string"?s.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return i}}static getKindFromUser(s,i){return typeof s.kind=="string"?new I(s.kind):i}static getPreferredUser(s){return typeof s.preferred=="boolean"?s.preferred:!1}constructor(s,i,n){this.kind=s,this.apply=i,this.preferred=n}}e.CodeActionCommandArgs=_;class v{constructor(s,i,n){this.action=s,this.provider=i,this.highlightRange=n}resolve(s){var i;return be(this,void 0,void 0,function*(){if(!((i=this.provider)===null||i===void 0)&&i.resolveCodeAction&&!this.action.edit){let n;try{n=yield this.provider.resolveCodeAction(this.action,s)}catch(t){(0,L.onUnexpectedExternalError)(t)}n&&(this.action.edit=n.edit)}return this})}}e.CodeActionItem=v}),define(te[541],ie([1,0,6]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerModel=void 0;class I{get color(){return this._color}set color(D){this._color.equals(D)||(this._color=D,this._onDidChangeColor.fire(D))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(D){this._colorPresentations=D,this.presentationIndex>D.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(D,S,m){this.presentationIndex=m,this._onColorFlushed=new L.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new L.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new L.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=D,this._color=D,this._colorPresentations=S}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(D,S){let m=-1;for(let _=0;_i)return!1;for(let n=0;n=65&&t<=90&&t+32===r)&&!(r>=65&&r<=90&&r+32===t))return!1}return!0}_createOperationsForBlockComment(_,v,C,s,i,n){const t=_.startLineNumber,r=_.startColumn,u=_.endLineNumber,f=_.endColumn,d=i.getLineContent(t),l=i.getLineContent(u);let o=d.lastIndexOf(v,r-1+v.length),c=l.indexOf(C,f-1-C.length);if(o!==-1&&c!==-1)if(t===u)d.substring(o+v.length,c).indexOf(C)>=0&&(o=-1,c=-1);else{const g=d.substring(o+v.length),h=l.substring(0,c);(g.indexOf(C)>=0||h.indexOf(C)>=0)&&(o=-1,c=-1)}let a;o!==-1&&c!==-1?(s&&o+v.length0&&l.charCodeAt(c-1)===32&&(C=" "+C,c-=1),a=S._createRemoveBlockCommentOperations(new y.Range(t,o+v.length+1,u,c+1),v,C)):(a=S._createAddBlockCommentOperations(_,v,C,this._insertSpace),this._usedEndToken=a.length===1?C:null);for(const g of a)n.addTrackedEditOperation(g.range,g.text)}static _createRemoveBlockCommentOperations(_,v,C){const s=[];return y.Range.isEmpty(_)?s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-v.length,_.endLineNumber,_.endColumn+C.length))):(s.push(L.EditOperation.delete(new y.Range(_.startLineNumber,_.startColumn-v.length,_.startLineNumber,_.startColumn))),s.push(L.EditOperation.delete(new y.Range(_.endLineNumber,_.endColumn,_.endLineNumber,_.endColumn+C.length)))),s}static _createAddBlockCommentOperations(_,v,C,s){const i=[];return y.Range.isEmpty(_)?i.push(L.EditOperation.replace(new y.Range(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn),v+" "+C)):(i.push(L.EditOperation.insert(new I.Position(_.startLineNumber,_.startColumn),v+(s?" ":""))),i.push(L.EditOperation.insert(new I.Position(_.endLineNumber,_.endColumn),(s?" ":"")+C))),i}getEditOperations(_,v){const C=this._selection.startLineNumber,s=this._selection.startColumn;_.tokenization.tokenizeIfCheap(C);const i=_.getLanguageIdAtPosition(C,s),n=this.languageConfigurationService.getLanguageConfiguration(i).comments;!n||!n.blockCommentStartToken||!n.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,n.blockCommentStartToken,n.blockCommentEndToken,this._insertSpace,_,v)}computeCursorState(_,v){const C=v.getInverseEditOperations();if(C.length===2){const s=C[0],i=C[1];return new D.Selection(s.range.endLineNumber,s.range.endColumn,i.range.startLineNumber,i.range.startColumn)}else{const s=C[0].range,i=this._usedEndToken?-this._usedEndToken.length-1:0;return new D.Selection(s.endLineNumber,s.endColumn+i,s.endLineNumber,s.endColumn+i)}}}e.BlockCommentCommand=S}),define(te[542],ie([1,0,10,71,12,5,24,294]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineCommentCommand=void 0;class _{constructor(C,s,i,n,t,r,u){this.languageConfigurationService=C,this._selection=s,this._tabSize=i,this._type=n,this._insertSpace=t,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r,this._ignoreFirstLine=u||!1}static _gatherPreflightCommentStrings(C,s,i,n){C.tokenization.tokenizeIfCheap(s);const t=C.getLanguageIdAtPosition(s,1),r=n.getLanguageConfiguration(t).comments,u=r?r.lineCommentToken:null;if(!u)return null;const f=[];for(let d=0,l=i-s+1;dt?s[f].commentStrOffset=r-1:s[f].commentStrOffset=r}}}e.LineCommentCommand=_}),define(te[543],ie([1,0,5,24]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropCommand=void 0;class y{constructor(S,m,_){this.selection=S,this.targetPosition=m,this.copy=_,this.targetSelection=null}getEditOperations(S,m){const _=S.getValueInRange(this.selection);if(this.copy||m.addEditOperation(this.selection,null),m.addEditOperation(new L.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),_),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new I.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new I.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber0){const m=[];for(let C=0;CL.Range.compareRangesUsingStarts(C.range,s.range));const _=[];let v=m[0];for(let C=1;C0){const f=[],d=r.caseOps.length;let l=0;for(let o=0,c=u.length;o=d){f.push(u.slice(o));break}switch(r.caseOps[l]){case"U":f.push(u[o].toUpperCase());break;case"u":f.push(u[o].toUpperCase()),l++;break;case"L":f.push(u[o].toLowerCase());break;case"l":f.push(u[o].toLowerCase()),l++;break;default:f.push(u[o])}}u=f.join("")}i+=u}return i}static _substitute(C,s){if(s===null)return"";if(C===0)return s[0];let i="";for(;C>0;){if(C=n)break;const r=v.charCodeAt(i);switch(r){case 92:s.emitUnchanged(i-1),s.emitStatic("\\",i+1);break;case 110:s.emitUnchanged(i-1),s.emitStatic(` +`,i+1);break;case 116:s.emitUnchanged(i-1),s.emitStatic(" ",i+1);break;case 117:case 85:case 108:case 76:s.emitUnchanged(i-1),s.emitStatic("",i+1),C.push(String.fromCharCode(r));break}continue}if(t===36){if(i++,i>=n)break;const r=v.charCodeAt(i);if(r===36){s.emitUnchanged(i-1),s.emitStatic("$",i+1);continue}if(r===48||r===38){s.emitUnchanged(i-1),s.emitMatchIndex(0,i+1,C),C.length=0;continue}if(49<=r&&r<=57){let u=r-48;if(i+1e.MAX_FOLDING_REGIONS)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=m,this._endIndexes=_,this._collapseStates=new I(m.length),this._userDefinedStates=new I(m.length),this._recoveredStates=new I(m.length),this._types=v,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const m=[],_=(v,C)=>{const s=m[m.length-1];return this.getStartLineNumber(s)<=v&&this.getEndLineNumber(s)>=C};for(let v=0,C=this._startIndexes.length;ve.MAX_LINE_NUMBER||i>e.MAX_LINE_NUMBER)throw new Error("startLineNumber or endLineNumber must not exceed "+e.MAX_LINE_NUMBER);for(;m.length>0&&!_(s,i);)m.pop();const n=m.length>0?m[m.length-1]:-1;m.push(v),this._startIndexes[v]=s+((n&255)<<24),this._endIndexes[v]=i+((n&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(m){return this._startIndexes[m]&e.MAX_LINE_NUMBER}getEndLineNumber(m){return this._endIndexes[m]&e.MAX_LINE_NUMBER}getType(m){return this._types?this._types[m]:void 0}hasTypes(){return!!this._types}isCollapsed(m){return this._collapseStates.get(m)}setCollapsed(m,_){this._collapseStates.set(m,_)}isUserDefined(m){return this._userDefinedStates.get(m)}setUserDefined(m,_){return this._userDefinedStates.set(m,_)}isRecovered(m){return this._recoveredStates.get(m)}setRecovered(m,_){return this._recoveredStates.set(m,_)}getSource(m){return this.isUserDefined(m)?1:this.isRecovered(m)?2:0}setSource(m,_){_===1?(this.setUserDefined(m,!0),this.setRecovered(m,!1)):_===2?(this.setUserDefined(m,!1),this.setRecovered(m,!0)):(this.setUserDefined(m,!1),this.setRecovered(m,!1))}setCollapsedAllOfType(m,_){let v=!1;if(this._types)for(let C=0;C>>24)+((this._endIndexes[m]&L)>>>16);return _===e.MAX_FOLDING_REGIONS?-1:_}contains(m,_){return this.getStartLineNumber(m)<=_&&this.getEndLineNumber(m)>=_}findIndex(m){let _=0,v=this._startIndexes.length;if(v===0)return-1;for(;_=0){if(this.getEndLineNumber(_)>=m)return _;for(_=this.getParentIndex(_);_!==-1;){if(this.contains(_,m))return _;_=this.getParentIndex(_)}}return-1}toString(){const m=[];for(let _=0;_Array.isArray(c)?g=>gg=u.startLineNumber))r&&r.startLineNumber===u.startLineNumber?(u.source===1?c=u:(c=r,c.isCollapsed=u.isCollapsed&&r.endLineNumber===u.endLineNumber,c.source=0),r=s(++n)):(c=u,u.isCollapsed&&u.source===0&&(c.source=2)),u=i(++t);else{let a=t,g=u;for(;;){if(!g||g.startLineNumber>r.endLineNumber){c=r;break}if(g.source===1&&g.endLineNumber>r.endLineNumber)break;g=i(++a)}r=s(++n)}if(c){for(;d&&d.endLineNumberc.startLineNumber&&c.startLineNumber>l&&c.endLineNumber<=v&&(!d||d.endLineNumber>=c.endLineNumber)&&(o.push(c),l=c.startLineNumber,d&&f.push(d),d=c)}}return o}}e.FoldingRegions=y;class D{constructor(m,_){this.ranges=m,this.index=_}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(m){return m.startLineNumber<=this.startLineNumber&&m.endLineNumber>=this.endLineNumber}containsLine(m){return this.startLineNumber<=m&&m<=this.endLineNumber}}e.FoldingRegion=D}),define(te[295],ie([1,0,6,180,141]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNextFoldLine=e.getPreviousFoldLine=e.getParentFoldLine=e.setCollapseStateForType=e.setCollapseStateForMatchingLines=e.setCollapseStateForRest=e.setCollapseStateAtLevel=e.setCollapseStateUp=e.setCollapseStateLevelsUp=e.setCollapseStateLevelsDown=e.toggleCollapseState=e.FoldingModel=void 0;class D{get regions(){return this._regions}get textModel(){return this._textModel}constructor(d,l){this._updateEventEmitter=new L.Emitter,this.onDidChange=this._updateEventEmitter.event,this._textModel=d,this._decorationProvider=l,this._regions=new I.FoldingRegions(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}toggleCollapseState(d){if(!d.length)return;d=d.sort((o,c)=>o.regionIndex-c.regionIndex);const l={};this._decorationProvider.changeDecorations(o=>{let c=0,a=-1,g=-1;const h=p=>{for(;cg&&(g=b),c++}};for(const p of d){const b=p.regionIndex,w=this._editorDecorationIds[b];if(w&&!l[w]){l[w]=!0,h(b);const E=!this._regions.isCollapsed(b);this._regions.setCollapsed(b,E),a=Math.max(a,this._regions.getEndLineNumber(b))}}h(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:d})}removeManualRanges(d){const l=new Array,o=c=>{for(const a of d)if(!(a.startLineNumber>c.endLineNumber||c.startLineNumber>a.endLineNumber))return!0;return!1};for(let c=0;co&&(o=h)}this._decorationProvider.changeDecorations(c=>this._editorDecorationIds=c.deltaDecorations(this._editorDecorationIds,l)),this._regions=d,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(d=[]){const l=(c,a)=>{for(const g of d)if(c=g.endLineNumber||g.startLineNumber<1||g.endLineNumber>o)continue;const h=this._getLinesChecksum(g.startLineNumber+1,g.endLineNumber);l.push({startLineNumber:g.startLineNumber,endLineNumber:g.endLineNumber,isCollapsed:g.isCollapsed,source:g.source,checksum:h})}return l.length>0?l:void 0}applyMemento(d){var l,o;if(!Array.isArray(d))return;const c=[],a=this._textModel.getLineCount();for(const h of d){if(h.startLineNumber>=h.endLineNumber||h.startLineNumber<1||h.endLineNumber>a)continue;const p=this._getLinesChecksum(h.startLineNumber+1,h.endLineNumber);(!h.checksum||p===h.checksum)&&c.push({startLineNumber:h.startLineNumber,endLineNumber:h.endLineNumber,type:void 0,isCollapsed:(l=h.isCollapsed)!==null&&l!==void 0?l:!0,source:(o=h.source)!==null&&o!==void 0?o:0})}const g=I.FoldingRegions.sanitizeAndMerge(this._regions,c,a);this.updatePost(I.FoldingRegions.fromFoldRanges(g))}_getLinesChecksum(d,l){return(0,y.hash)(this._textModel.getLineContent(d)+this._textModel.getLineContent(l))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(d,l){const o=[];if(this._regions){let c=this._regions.findRange(d),a=1;for(;c>=0;){const g=this._regions.toRegion(c);(!l||l(g,a))&&o.push(g),a++,c=g.parentIndex}}return o}getRegionAtLine(d){if(this._regions){const l=this._regions.findRange(d);if(l>=0)return this._regions.toRegion(l)}return null}getRegionsInside(d,l){const o=[],c=d?d.regionIndex+1:0,a=d?d.endLineNumber:Number.MAX_VALUE;if(l&&l.length===2){const g=[];for(let h=c,p=this._regions.length;h0&&!b.containedBy(g[g.length-1]);)g.pop();g.push(b),l(b,g.length)&&o.push(b)}else break}}else for(let g=c,h=this._regions.length;g1){const h=f.getRegionsInside(a,(p,b)=>p.isCollapsed!==g&&b0)for(const a of o){const g=f.getRegionAtLine(a);if(g&&(g.isCollapsed!==d&&c.push(g),l>1)){const h=f.getRegionsInside(g,(p,b)=>p.isCollapsed!==d&&bg.isCollapsed!==d&&hh.isCollapsed!==d&&p<=l);c.push(...g)}f.toggleCollapseState(c)}e.setCollapseStateLevelsUp=_;function v(f,d,l){const o=[];for(const c of l){const a=f.getAllRegionsAtLine(c,g=>g.isCollapsed!==d);a.length>0&&o.push(a[0])}f.toggleCollapseState(o)}e.setCollapseStateUp=v;function C(f,d,l,o){const c=(g,h)=>h===d&&g.isCollapsed!==l&&!o.some(p=>g.containsLine(p)),a=f.getRegionsInside(null,c);f.toggleCollapseState(a)}e.setCollapseStateAtLevel=C;function s(f,d,l){const o=[];for(const g of l){const h=f.getAllRegionsAtLine(g,void 0);h.length>0&&o.push(h[0])}const c=g=>o.every(h=>!h.containedBy(g)&&!g.containedBy(h))&&g.isCollapsed!==d,a=f.getRegionsInside(null,c);f.toggleCollapseState(a)}e.setCollapseStateForRest=s;function i(f,d,l){const o=f.textModel,c=f.regions,a=[];for(let g=c.length-1;g>=0;g--)if(l!==c.isCollapsed(g)){const h=c.getStartLineNumber(g);d.test(o.getLineContent(h))&&a.push(c.toRegion(g))}f.toggleCollapseState(a)}e.setCollapseStateForMatchingLines=i;function n(f,d,l){const o=f.regions,c=[];for(let a=o.length-1;a>=0;a--)l!==o.isCollapsed(a)&&d===o.getType(a)&&c.push(o.toRegion(a));f.toggleCollapseState(c)}e.setCollapseStateForType=n;function t(f,d){let l=null;const o=d.getRegionAtLine(f);if(o!==null&&(l=o.startLineNumber,f===l)){const c=o.parentIndex;c!==-1?l=d.regions.getStartLineNumber(c):l=null}return l}e.getParentFoldLine=t;function r(f,d){let l=d.getRegionAtLine(f);if(l!==null&&l.startLineNumber===f){if(f!==l.startLineNumber)return l.startLineNumber;{const o=l.parentIndex;let c=0;for(o!==-1&&(c=d.regions.getStartLineNumber(l.parentIndex));l!==null;)if(l.regionIndex>0){if(l=d.regions.toRegion(l.regionIndex-1),l.startLineNumber<=c)return null;if(l.parentIndex===o)return l.startLineNumber}else return null}}else if(d.regions.length>0)for(l=d.regions.toRegion(d.regions.length-1);l!==null;){if(l.startLineNumber0?l=d.regions.toRegion(l.regionIndex-1):l=null}return null}e.getPreviousFoldLine=r;function u(f,d){let l=d.getRegionAtLine(f);if(l!==null&&l.startLineNumber===f){const o=l.parentIndex;let c=0;if(o!==-1)c=d.regions.getEndLineNumber(l.parentIndex);else{if(d.regions.length===0)return null;c=d.regions.getEndLineNumber(d.regions.length-1)}for(;l!==null;)if(l.regionIndex=c)return null;if(l.parentIndex===o)return l.startLineNumber}else return null}else if(d.regions.length>0)for(l=d.regions.toRegion(0);l!==null;){if(l.startLineNumber>f)return l.startLineNumber;l.regionIndexthis.updateHiddenRanges()),this._hiddenRanges=[],C.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(C){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=C.changes.some(s=>s.range.endLineNumber!==s.range.startLineNumber||(0,D.countEOL)(s.text)[0]!==0))}updateHiddenRanges(){let C=!1;const s=[];let i=0,n=0,t=Number.MAX_VALUE,r=-1;const u=this._foldingModel.regions;for(;i0}isHidden(C){return _(this._hiddenRanges,C)!==null}adjustSelections(C){let s=!1;const i=this._foldingModel.textModel;let n=null;const t=r=>((!n||!m(r,n))&&(n=_(this._hiddenRanges,r)),n?n.startLineNumber-1:null);for(let r=0,u=C.length;r0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}e.HiddenRangeModel=S;function m(v,C){return v>=C.startLineNumber&&v<=C.endLineNumber}function _(v,C){const s=(0,L.findFirstIdxMonotonousOrArrLen)(v,i=>C=0&&v[s].endLineNumber>=C?v[s]:null}}),define(te[296],ie([1,0,208,180]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeRanges=e.RangesCollector=e.IndentRangeProvider=void 0;const y=5e3,D="indent";class S{constructor(s,i,n){this.editorModel=s,this.languageConfigurationService=i,this.foldingRangesLimit=n,this.id=D}dispose(){}compute(s){const i=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,n=i&&!!i.offSide,t=i&&i.markers;return Promise.resolve(v(this.editorModel,n,t,this.foldingRangesLimit))}}e.IndentRangeProvider=S;class m{constructor(s){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=s}insertFirst(s,i,n){if(s>I.MAX_LINE_NUMBER||i>I.MAX_LINE_NUMBER)return;const t=this._length;this._startIndexes[t]=s,this._endIndexes[t]=i,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(s){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let r=this._length-1,u=0;r>=0;r--,u++)n[u]=this._startIndexes[r],t[u]=this._endIndexes[r];return new I.FoldingRegions(n,t)}else{this._foldingRangesLimit.update(this._length,i);let n=0,t=this._indentOccurrences.length;for(let d=0;di){t=d;break}n+=l}}const r=s.getOptions().tabSize,u=new Uint32Array(i),f=new Uint32Array(i);for(let d=this._length-1,l=0;d>=0;d--){const o=this._startIndexes[d],c=s.getLineContent(o),a=(0,L.computeIndentLevel)(c,r);(a{}};function v(C,s,i,n=_){const t=C.getOptions().tabSize,r=new m(n);let u;i&&(u=new RegExp(`(${i.start.source})|(?:${i.end.source})`));const f=[],d=C.getLineCount()+1;f.push({indent:-1,endAbove:d,line:d});for(let l=C.getLineCount();l>0;l--){const o=C.getLineContent(l),c=(0,L.computeIndentLevel)(o,t);let a=f[f.length-1];if(c===-1){s&&(a.endAbove=l);continue}let g;if(u&&(g=o.match(u)))if(g[1]){let h=f.length-1;for(;h>0&&f[h].indent!==-2;)h--;if(h>0){f.length=h+1,a=f[h],r.insertFirst(l,a.line,c),a.line=l,a.indent=c,a.endAbove=l;continue}}else{f.push({indent:-2,endAbove:l,line:l});continue}if(a.indent>c){do f.pop(),a=f[f.length-1];while(a.indent>c);const h=a.endAbove-1;h-l>=1&&r.insertFirst(l,h,c)}a.indent===c?a.endAbove=l:f.push({indent:c,endAbove:l,line:l})}return r.toIndentRanges(C)}e.computeRanges=v}),define(te[297],ie([1,0,9,2,180]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeRanges=e.SyntaxRangeProvider=void 0;const D={},S="syntax";class m{constructor(i,n,t,r,u){this.editorModel=i,this.providers=n,this.handleFoldingRangesChange=t,this.foldingRangesLimit=r,this.fallbackRangeProvider=u,this.id=S,this.disposables=new I.DisposableStore,u&&this.disposables.add(u);for(const f of n)typeof f.onDidChange=="function"&&this.disposables.add(f.onDidChange(t))}compute(i){return _(this.providers,this.editorModel,i).then(n=>{var t,r;return n?C(n,this.foldingRangesLimit):(r=(t=this.fallbackRangeProvider)===null||t===void 0?void 0:t.compute(i))!==null&&r!==void 0?r:null})}dispose(){this.disposables.dispose()}}e.SyntaxRangeProvider=m;function _(s,i,n){let t=null;const r=s.map((u,f)=>Promise.resolve(u.provideFoldingRanges(i,D,n)).then(d=>{if(!n.isCancellationRequested&&Array.isArray(d)){Array.isArray(t)||(t=[]);const l=i.getLineCount();for(const o of d)o.start>0&&o.end>o.start&&o.end<=l&&t.push({start:o.start,end:o.end,rank:f,kind:o.kind})}},L.onUnexpectedExternalError));return Promise.all(r).then(u=>t)}class v{constructor(i){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=i}add(i,n,t,r){if(i>y.MAX_LINE_NUMBER||n>y.MAX_LINE_NUMBER)return;const u=this._length;this._startIndexes[u]=i,this._endIndexes[u]=n,this._nestingLevels[u]=r,this._types[u]=t,this._length++,r<30&&(this._nestingLevelCounts[r]=(this._nestingLevelCounts[r]||0)+1)}toIndentRanges(){const i=this._foldingRangesLimit.limit;if(this._length<=i){this._foldingRangesLimit.update(this._length,!1);const n=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let r=0;ri){t=d;break}n+=l}}const r=new Uint32Array(i),u=new Uint32Array(i),f=[];for(let d=0,l=0;d{let l=f.start-d.start;return l===0&&(l=f.rank-d.rank),l}),t=new v(i);let r;const u=[];for(const f of n)if(!r)r=f,t.add(f.start,f.end,f.kind&&f.kind.value,u.length);else if(f.start>r.start)if(f.end<=r.end)u.push(r),r=f,t.add(f.start,f.end,f.kind&&f.kind.value,u.length);else{if(f.start>r.end){do r=u.pop();while(r&&f.start>r.end);r&&u.push(r),r=f}t.add(f.start,f.end,f.kind&&f.kind.value,u.length)}return t.toIndentRanges()}e.sanitizeRanges=C}),define(te[298],ie([1,0,71,5,120]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormattingEdit=void 0;class D{static _handleEolEdits(m,_){let v;const C=[];for(const s of _)typeof s.eol=="number"&&(v=s.eol),s.range&&typeof s.text=="string"&&C.push(s);return typeof v=="number"&&m.hasModel()&&m.getModel().pushEOL(v),C}static _isFullModelReplaceEdit(m,_){if(!m.hasModel())return!1;const v=m.getModel(),C=v.validateRange(_.range);return v.getFullModelRange().equalsRange(C)}static execute(m,_,v){v&&m.pushUndoStop();const C=y.StableEditorScrollState.capture(m),s=D._handleEolEdits(m,_);s.length===1&&D._isFullModelReplaceEdit(m,s[0])?m.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replace(I.Range.lift(i.range),i.text))):m.executeEdits("formatEditsCommand",s.map(i=>L.EditOperation.replaceMove(I.Range.lift(i.range),i.text))),v&&m.pushUndoStop(),C.restoreRelativeVerticalPositionOfCursor(m)}}e.FormattingEdit=D}),define(te[99],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverParticipantRegistry=e.HoverForeignElementAnchor=e.HoverRangeAnchor=void 0;class L{constructor(D,S,m,_){this.priority=D,this.range=S,this.initialMousePosX=m,this.initialMousePosY=_,this.type=1}equals(D){return D.type===1&&this.range.equalsRange(D.range)}canAdoptVisibleHover(D,S){return D.type===1&&S.lineNumber===this.range.startLineNumber}}e.HoverRangeAnchor=L;class I{constructor(D,S,m,_,v,C){this.priority=D,this.owner=S,this.range=m,this.initialMousePosX=_,this.initialMousePosY=v,this.supportsMarkerHover=C,this.type=2}equals(D){return D.type===2&&this.owner===D.owner}canAdoptVisibleHover(D,S){return D.type===2&&this.owner===D.owner}}e.HoverForeignElementAnchor=I,e.HoverParticipantRegistry=new class{constructor(){this._participants=[]}register(D){this._participants.push(D)}getAll(){return this._participants}}}),define(te[547],ie([1,0,24]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InPlaceReplaceCommand=void 0;class I{constructor(D,S,m){this._editRange=D,this._originalSelection=S,this._text=m}getEditOperations(D,S){S.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(D,S){const _=S.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new L.Selection(_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn),_.endLineNumber,Math.min(this._originalSelection.positionColumn,_.endColumn)):new L.Selection(_.endLineNumber,_.endColumn-this._text.length,_.endLineNumber,_.endColumn)}}e.InPlaceReplaceCommand=I}),define(te[299],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateIndent=e.getSpaceCnt=void 0;function L(y,D){let S=0;for(let m=0;m{const o=S.Range.lift(l.range);return{startOffset:f.getOffset(o.getStartPosition()),endOffset:f.getOffset(o.getEndPosition()),text:l.text}});d.sort((l,o)=>o.startOffset-l.startOffset);for(const l of d)r=r.substring(0,l.startOffset)+l.text+r.substring(l.endOffset);return r}e.applyEdits=m;class _{constructor(u){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let f=0;ff)throw new L.BugIndicatingError(`startColumn ${u} cannot be after endColumnExclusive ${f}`)}toRange(u){return new S.Range(u,this.startColumn,u,this.endColumnExclusive)}equals(u){return this.startColumn===u.startColumn&&this.endColumnExclusive===u.endColumnExclusive}}e.ColumnRange=s;function i(r,u){const f=new I.DisposableStore,d=r.createDecorationsCollection();return f.add((0,y.autorunOpts)({debugName:()=>`Apply decorations from ${u.debugName}`},l=>{const o=u.read(l);d.set(o)})),f.add({dispose:()=>{d.clear()}}),f}e.applyObservableDecorations=i;function n(r,u){return new D.Position(r.lineNumber+u.lineNumber-1,u.lineNumber===1?r.column+u.column-1:u.column)}e.addPositions=n;function t(r){let u=1,f=1;for(const d of r)d===` +`?(u++,f=1):f++;return new D.Position(u,f)}e.lengthOfText=t}),define(te[215],ie([1,0,150]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ghostTextOrReplacementEquals=e.GhostTextReplacement=e.GhostTextPart=e.GhostText=void 0;class I{constructor(_,v){this.lineNumber=_,this.parts=v}equals(_){return this.lineNumber===_.lineNumber&&this.parts.length===_.parts.length&&this.parts.every((v,C)=>v.equals(_.parts[C]))}renderForScreenReader(_){if(this.parts.length===0)return"";const v=this.parts[this.parts.length-1],C=_.substr(0,v.column-1);return(0,L.applyEdits)(C,this.parts.map(i=>({range:{startLineNumber:1,endLineNumber:1,startColumn:i.column,endColumn:i.column},text:i.lines.join(` +`)}))).substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(_=>_.lines.length===0)}get lineCount(){return 1+this.parts.reduce((_,v)=>_+v.lines.length-1,0)}}e.GhostText=I;class y{constructor(_,v,C){this.column=_,this.lines=v,this.preview=C}equals(_){return this.column===_.column&&this.lines.length===_.lines.length&&this.lines.every((v,C)=>v===_.lines[C])}}e.GhostTextPart=y;class D{constructor(_,v,C,s=0){this.lineNumber=_,this.columnRange=v,this.newLines=C,this.additionalReservedLineCount=s,this.parts=[new y(this.columnRange.endColumnExclusive,this.newLines,!1)]}renderForScreenReader(_){return this.newLines.join(` +`)}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(_=>_.lines.length===0)}equals(_){return this.lineNumber===_.lineNumber&&this.columnRange.equals(_.columnRange)&&this.newLines.length===_.newLines.length&&this.newLines.every((v,C)=>v===_.newLines[C])&&this.additionalReservedLineCount===_.additionalReservedLineCount}}e.GhostTextReplacement=D;function S(m,_){return m===_?!0:!m||!_?!1:m instanceof I&&_ instanceof I||m instanceof D&&_ instanceof D?m.equals(_):!1}e.ghostTextOrReplacementEquals=S}),define(te[300],ie([1,0,167,10,5,215,150]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SingleTextEdit=void 0;class m{constructor(t,r){this.range=t,this.text=r}removeCommonPrefix(t,r){const u=r?this.range.intersectRanges(r):this.range;if(!u)return this;const f=t.getValueInRange(u,1),d=(0,I.commonPrefixLength)(f,this.text),l=(0,S.addPositions)(this.range.getStartPosition(),(0,S.lengthOfText)(f.substring(0,d))),o=this.text.substring(d),c=y.Range.fromPositions(l,this.range.getEndPosition());return new m(c,o)}augments(t){return this.text.startsWith(t.text)&&_(this.range,t.range)}computeGhostText(t,r,u,f=0){let d=this.removeCommonPrefix(t);if(d.range.endLineNumber!==d.range.startLineNumber)return;const l=t.getLineContent(d.range.startLineNumber),o=(0,I.getLeadingWhitespace)(l).length;if(d.range.startColumn-1<=o){const w=(0,I.getLeadingWhitespace)(d.text).length,E=l.substring(d.range.startColumn-1,o),[k,M]=[d.range.getStartPosition(),d.range.getEndPosition()],R=k.column+E.length<=M.column?k.delta(0,E.length):M,B=y.Range.fromPositions(R,M),T=d.text.startsWith(E)?d.text.substring(E.length):d.text.substring(w);d=new m(B,T)}const a=t.getValueInRange(d.range),g=C(a,d.text);if(!g)return;const h=d.range.startLineNumber,p=new Array;if(r==="prefix"){const w=g.filter(E=>E.originalLength===0);if(w.length>1||w.length===1&&w[0].originalStart!==a.length)return}const b=d.text.length-f;for(const w of g){const E=d.range.startColumn+w.originalStart+w.originalLength;if(r==="subwordSmart"&&u&&u.lineNumber===d.range.startLineNumber&&E0)return;if(w.modifiedLength===0)continue;const k=w.modifiedStart+w.modifiedLength,M=Math.max(w.modifiedStart,Math.min(k,b)),R=d.text.substring(w.modifiedStart,M),B=d.text.substring(M,Math.max(w.modifiedStart,k));if(R.length>0){const T=(0,I.splitLines)(R);p.push(new D.GhostTextPart(E,T,!1))}if(B.length>0){const T=(0,I.splitLines)(B);p.push(new D.GhostTextPart(E,T,!0))}}return new D.GhostText(h,p)}}e.SingleTextEdit=m;function _(n,t){return t.getStartPosition().equals(n.getStartPosition())&&t.getEndPosition().isBeforeOrEqual(n.getEndPosition())}let v;function C(n,t){if(v?.originalValue===n&&v?.newValue===t)return v?.changes;{let r=i(n,t,!0);if(r){const u=s(r);if(u>0){const f=i(n,t,!1);f&&s(f)5e3||t.length>5e3)return;function u(a){let g=0;for(let h=0,p=a.length;hg&&(g=b)}return g}const f=Math.max(u(n),u(t));function d(a){if(a<0)throw new Error("unexpected");return f+a+1}function l(a){let g=0,h=0;const p=new Int32Array(a.length);for(let b=0,w=a.length;bo},{getElements:()=>c}).ComputeDiff(!1).changes}}),define(te[548],ie([1,0,5,24]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyLinesCommand=void 0;class y{constructor(S,m,_){this._selection=S,this._isCopyingDown=m,this._noop=_||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(S,m){let _=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,_.startLineNumber<_.endLineNumber&&_.endColumn===1&&(this._endLineNumberDelta=1,_=_.setEndPosition(_.endLineNumber-1,S.getLineMaxColumn(_.endLineNumber-1)));const v=[];for(let s=_.startLineNumber;s<=_.endLineNumber;s++)v.push(S.getLineContent(s));const C=v.join(` +`);C===""&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?m.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber+1,1),_.endLineNumber===S.getLineCount()?"":` +`):this._isCopyingDown?m.addEditOperation(new L.Range(_.startLineNumber,1,_.startLineNumber,1),C+` +`):m.addEditOperation(new L.Range(_.endLineNumber,S.getLineMaxColumn(_.endLineNumber),_.endLineNumber,S.getLineMaxColumn(_.endLineNumber)),` +`+C),this._selectionId=m.trackSelection(_),this._selectionDirection=this._selection.getDirection()}computeCursorState(S,m){let _=m.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let v=_.startLineNumber,C=_.startColumn,s=_.endLineNumber,i=_.endColumn;this._startLineNumberDelta!==0&&(v=v+this._startLineNumberDelta,C=1),this._endLineNumberDelta!==0&&(s=s+this._endLineNumberDelta,i=1),_=I.Selection.createWithDirection(v,C,s,i,this._selectionDirection)}return _}}e.CopyLinesCommand=y}),define(te[549],ie([1,0,71,5]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SortLinesCommand=void 0;class y{static getCollator(){return y._COLLATOR||(y._COLLATOR=new Intl.Collator),y._COLLATOR}constructor(_,v){this.selection=_,this.descending=v,this.selectionId=null}getEditOperations(_,v){const C=S(_,this.selection,this.descending);C&&v.addEditOperation(C.range,C.text),this.selectionId=v.trackSelection(this.selection)}computeCursorState(_,v){return v.getTrackedSelection(this.selectionId)}static canRun(_,v,C){if(_===null)return!1;const s=D(_,v,C);if(!s)return!1;for(let i=0,n=s.before.length;i=s)return null;const i=[];for(let t=C;t<=s;t++)i.push(m.getLineContent(t));let n=i.slice(0);return n.sort(y.getCollator().compare),v===!0&&(n=n.reverse()),{startLineNumber:C,endLineNumber:s,before:i,after:n}}function S(m,_,v){const C=D(m,_,v);return C?L.EditOperation.replace(new I.Range(C.startLineNumber,1,C.endLineNumber,m.getLineMaxColumn(C.endLineNumber)),C.after.join(` +`)):null}}),define(te[301],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSemanticColoringEnabled=e.SEMANTIC_HIGHLIGHTING_SETTING_ID=void 0,e.SEMANTIC_HIGHLIGHTING_SETTING_ID="editor.semanticHighlighting";function L(I,y,D){var S;const m=(S=D.getValue(e.SEMANTIC_HIGHLIGHTING_SETTING_ID,{overrideIdentifier:I.getLanguageId(),resource:I.uri}))===null||S===void 0?void 0:S.enabled;return typeof m=="boolean"?m:y.getColorTheme().semanticHighlighting}e.isSemanticColoringEnabled=L}),define(te[302],ie([1,0,63,12,5]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketSelectionRangeProvider=void 0;class D{provideSelectionRanges(m,_){return be(this,void 0,void 0,function*(){const v=[];for(const C of _){const s=[];v.push(s);const i=new Map;yield new Promise(n=>D._bracketsRightYield(n,0,m,C,i)),yield new Promise(n=>D._bracketsLeftYield(n,0,m,C,i,s))}return v})}static _bracketsRightYield(m,_,v,C,s){const i=new Map,n=Date.now();for(;;){if(_>=D._maxRounds){m();break}if(!C){m();break}const t=v.bracketPairs.findNextBracket(C);if(!t){m();break}if(Date.now()-n>D._maxDuration){setTimeout(()=>D._bracketsRightYield(m,_+1,v,C,s));break}if(t.bracketInfo.isOpeningBracket){const u=t.bracketInfo.bracketText,f=i.has(u)?i.get(u):0;i.set(u,f+1)}else{const u=t.bracketInfo.getOpeningBrackets()[0].bracketText;let f=i.has(u)?i.get(u):0;if(f-=1,i.set(u,Math.max(0,f)),f<0){let d=s.get(u);d||(d=new L.LinkedList,s.set(u,d)),d.push(t.range)}}C=t.range.getEndPosition()}}static _bracketsLeftYield(m,_,v,C,s,i){const n=new Map,t=Date.now();for(;;){if(_>=D._maxRounds&&s.size===0){m();break}if(!C){m();break}const r=v.bracketPairs.findPrevBracket(C);if(!r){m();break}if(Date.now()-t>D._maxDuration){setTimeout(()=>D._bracketsLeftYield(m,_+1,v,C,s,i));break}if(r.bracketInfo.isOpeningBracket){const f=r.bracketInfo.bracketText;let d=n.has(f)?n.get(f):0;if(d-=1,n.set(f,Math.max(0,d)),d<0){const l=s.get(f);if(l){const o=l.shift();l.size===0&&s.delete(f);const c=y.Range.fromPositions(r.range.getEndPosition(),o.getStartPosition()),a=y.Range.fromPositions(r.range.getStartPosition(),o.getEndPosition());i.push({range:c}),i.push({range:a}),D._addBracketLeading(v,a,i)}}}else{const f=r.bracketInfo.getOpeningBrackets()[0].bracketText,d=n.has(f)?n.get(f):0;n.set(f,d+1)}C=r.range.getStartPosition()}}static _addBracketLeading(m,_,v){if(_.startLineNumber===_.endLineNumber)return;const C=_.startLineNumber,s=m.getLineFirstNonWhitespaceColumn(C);s!==0&&s!==_.startColumn&&(v.push({range:y.Range.fromPositions(new I.Position(C,s),_.getEndPosition())}),v.push({range:y.Range.fromPositions(new I.Position(C,1),_.getEndPosition())}));const i=C-1;if(i>0){const n=m.getLineFirstNonWhitespaceColumn(i);n===_.startColumn&&n!==m.getLineLastNonWhitespaceColumn(i)&&(v.push({range:y.Range.fromPositions(new I.Position(i,n),_.getEndPosition())}),v.push({range:y.Range.fromPositions(new I.Position(i,1),_.getEndPosition())}))}}}e.BracketSelectionRangeProvider=D,D._maxDuration=30,D._maxRounds=2}),define(te[550],ie([1,0,10,5]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordSelectionRangeProvider=void 0;class y{constructor(S=!0){this.selectSubwords=S}provideSelectionRanges(S,m){const _=[];for(const v of m){const C=[];_.push(C),this.selectSubwords&&this._addInWordRanges(C,S,v),this._addWordRanges(C,S,v),this._addWhitespaceLine(C,S,v),C.push({range:S.getFullModelRange()})}return _}_addInWordRanges(S,m,_){const v=m.getWordAtPosition(_);if(!v)return;const{word:C,startColumn:s}=v,i=_.column-s;let n=i,t=i,r=0;for(;n>=0;n--){const u=C.charCodeAt(n);if(n!==i&&(u===95||u===45))break;if((0,L.isLowerAsciiLetter)(u)&&(0,L.isUpperAsciiLetter)(r))break;r=u}for(n+=1;t0&&m.getLineFirstNonWhitespaceColumn(_.lineNumber)===0&&m.getLineLastNonWhitespaceColumn(_.lineNumber)===0&&S.push({range:new I.Range(_.lineNumber,1,_.lineNumber,m.getLineMaxColumn(_.lineNumber))})}}e.WordSelectionRangeProvider=y}),define(te[127],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetParser=e.TextmateSnippet=e.Variable=e.FormatString=e.Transform=e.Choice=e.Placeholder=e.TransformableMarker=e.Text=e.Marker=e.Scanner=void 0;class L{constructor(){this.value="",this.pos=0}static isDigitCharacter(r){return r>=48&&r<=57}static isVariableCharacter(r){return r===95||r>=97&&r<=122||r>=65&&r<=90}text(r){this.value=r,this.pos=0}tokenText(r){return this.value.substr(r.pos,r.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const r=this.pos;let u=0,f=this.value.charCodeAt(r),d;if(d=L._table[f],typeof d=="number")return this.pos+=1,{type:d,pos:r,len:1};if(L.isDigitCharacter(f)){d=8;do u+=1,f=this.value.charCodeAt(r+u);while(L.isDigitCharacter(f));return this.pos+=u,{type:d,pos:r,len:u}}if(L.isVariableCharacter(f)){d=9;do f=this.value.charCodeAt(r+ ++u);while(L.isVariableCharacter(f)||L.isDigitCharacter(f));return this.pos+=u,{type:d,pos:r,len:u}}d=10;do u+=1,f=this.value.charCodeAt(r+u);while(!isNaN(f)&&typeof L._table[f]>"u"&&!L.isDigitCharacter(f)&&!L.isVariableCharacter(f));return this.pos+=u,{type:d,pos:r,len:u}}}e.Scanner=L,L._table={[36]:0,[58]:1,[44]:2,[123]:3,[125]:4,[92]:5,[47]:6,[124]:7,[43]:11,[45]:12,[63]:13};class I{constructor(){this._children=[]}appendChild(r){return r instanceof y&&this._children[this._children.length-1]instanceof y?this._children[this._children.length-1].value+=r.value:(r.parent=this,this._children.push(r)),this}replace(r,u){const{parent:f}=r,d=f.children.indexOf(r),l=f.children.slice(0);l.splice(d,1,...u),f._children=l,function o(c,a){for(const g of c)g.parent=a,o(g.children,g)}(u,f)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let r=this;for(;;){if(!r)return;if(r instanceof i)return r;r=r.parent}}toString(){return this.children.reduce((r,u)=>r+u.toString(),"")}len(){return 0}}e.Marker=I;class y extends I{constructor(r){super(),this.value=r}toString(){return this.value}len(){return this.value.length}clone(){return new y(this.value)}}e.Text=y;class D extends I{}e.TransformableMarker=D;class S extends D{static compareByIndex(r,u){return r.index===u.index?0:r.isFinalTabstop?1:u.isFinalTabstop||r.indexu.index?1:0}constructor(r){super(),this.index=r}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof m?this._children[0]:void 0}clone(){const r=new S(this.index);return this.transform&&(r.transform=this.transform.clone()),r._children=this.children.map(u=>u.clone()),r}}e.Placeholder=S;class m extends I{constructor(){super(...arguments),this.options=[]}appendChild(r){return r instanceof y&&(r.parent=this,this.options.push(r)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const r=new m;return this.options.forEach(r.appendChild,r),r}}e.Choice=m;class _ extends I{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(r){const u=this;let f=!1,d=r.replace(this.regexp,function(){return f=!0,u._replace(Array.prototype.slice.call(arguments,0,-2))});return!f&&this._children.some(l=>l instanceof v&&!!l.elseValue)&&(d=this._replace([])),d}_replace(r){let u="";for(const f of this._children)if(f instanceof v){let d=r[f.index]||"";d=f.resolve(d),u+=d}else u+=f.toString();return u}toString(){return""}clone(){const r=new _;return r.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),r._children=this.children.map(u=>u.clone()),r}}e.Transform=_;class v extends I{constructor(r,u,f,d){super(),this.index=r,this.shorthandName=u,this.ifValue=f,this.elseValue=d}resolve(r){return this.shorthandName==="upcase"?r?r.toLocaleUpperCase():"":this.shorthandName==="downcase"?r?r.toLocaleLowerCase():"":this.shorthandName==="capitalize"?r?r[0].toLocaleUpperCase()+r.substr(1):"":this.shorthandName==="pascalcase"?r?this._toPascalCase(r):"":this.shorthandName==="camelcase"?r?this._toCamelCase(r):"":r&&typeof this.ifValue=="string"?this.ifValue:!r&&typeof this.elseValue=="string"?this.elseValue:r||""}_toPascalCase(r){const u=r.match(/[a-z0-9]+/gi);return u?u.map(f=>f.charAt(0).toUpperCase()+f.substr(1)).join(""):r}_toCamelCase(r){const u=r.match(/[a-z0-9]+/gi);return u?u.map((f,d)=>d===0?f.charAt(0).toLowerCase()+f.substr(1):f.charAt(0).toUpperCase()+f.substr(1)).join(""):r}clone(){return new v(this.index,this.shorthandName,this.ifValue,this.elseValue)}}e.FormatString=v;class C extends D{constructor(r){super(),this.name=r}resolve(r){let u=r.resolve(this);return this.transform&&(u=this.transform.resolve(u||"")),u!==void 0?(this._children=[new y(u)],!0):!1}clone(){const r=new C(this.name);return this.transform&&(r.transform=this.transform.clone()),r._children=this.children.map(u=>u.clone()),r}}e.Variable=C;function s(t,r){const u=[...t];for(;u.length>0;){const f=u.shift();if(!r(f))break;u.unshift(...f.children)}}class i extends I{get placeholderInfo(){if(!this._placeholders){const r=[];let u;this.walk(function(f){return f instanceof S&&(r.push(f),u=!u||u.indexd===r?(f=!0,!1):(u+=d.len(),!0)),f?u:-1}fullLen(r){let u=0;return s([r],f=>(u+=f.len(),!0)),u}enclosingPlaceholders(r){const u=[];let{parent:f}=r;for(;f;)f instanceof S&&u.push(f),f=f.parent;return u}resolveVariables(r){return this.walk(u=>(u instanceof C&&u.resolve(r)&&(this._placeholders=void 0),!0)),this}appendChild(r){return this._placeholders=void 0,super.appendChild(r)}replace(r,u){return this._placeholders=void 0,super.replace(r,u)}clone(){const r=new i;return this._children=this.children.map(u=>u.clone()),r}walk(r){s(this.children,r)}}e.TextmateSnippet=i;class n{constructor(){this._scanner=new L,this._token={type:14,pos:0,len:0}}static escape(r){return r.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(r){return/\${?CLIPBOARD/.test(r)}parse(r,u,f){const d=new i;return this.parseFragment(r,d),this.ensureFinalTabstop(d,f??!1,u??!1),d}parseFragment(r,u){const f=u.children.length;for(this._scanner.text(r),this._token=this._scanner.next();this._parse(u););const d=new Map,l=[];u.walk(a=>(a instanceof S&&(a.isFinalTabstop?d.set(0,void 0):!d.has(a.index)&&a.children.length>0?d.set(a.index,a.children):l.push(a)),!0));const o=(a,g)=>{const h=d.get(a.index);if(!h)return;const p=new S(a.index);p.transform=a.transform;for(const b of h){const w=b.clone();p.appendChild(w),w instanceof S&&d.has(w.index)&&!g.has(w.index)&&(g.add(w.index),o(w,g),g.delete(w.index))}u.replace(a,[p])},c=new Set;for(const a of l)o(a,c);return u.children.slice(f)}ensureFinalTabstop(r,u,f){(u||f&&r.placeholders.length>0)&&(r.placeholders.find(l=>l.index===0)||r.appendChild(new S(0)))}_accept(r,u){if(r===void 0||this._token.type===r){const f=u?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),f}return!1}_backTo(r){return this._scanner.pos=r.pos+r.len,this._token=r,!1}_until(r){const u=this._token;for(;this._token.type!==r;){if(this._token.type===14)return!1;if(this._token.type===5){const d=this._scanner.next();if(d.type!==0&&d.type!==4&&d.type!==5)return!1}this._token=this._scanner.next()}const f=this._scanner.value.substring(u.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),f}_parse(r){return this._parseEscaped(r)||this._parseTabstopOrVariableName(r)||this._parseComplexPlaceholder(r)||this._parseComplexVariable(r)||this._parseAnything(r)}_parseEscaped(r){let u;return(u=this._accept(5,!0))?(u=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||u,r.appendChild(new y(u)),!0):!1}_parseTabstopOrVariableName(r){let u;const f=this._token;return this._accept(0)&&(u=this._accept(9,!0)||this._accept(8,!0))?(r.appendChild(/^\d+$/.test(u)?new S(Number(u)):new C(u)),!0):this._backTo(f)}_parseComplexPlaceholder(r){let u;const f=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(8,!0))))return this._backTo(f);const l=new S(Number(u));if(this._accept(1))for(;;){if(this._accept(4))return r.appendChild(l),!0;if(!this._parse(l))return r.appendChild(new y("${"+u+":")),l.children.forEach(r.appendChild,r),!0}else if(l.index>0&&this._accept(7)){const o=new m;for(;;){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(l.appendChild(o),this._accept(4)))return r.appendChild(l),!0}return this._backTo(f),!1}}else return this._accept(6)?this._parseTransform(l)?(r.appendChild(l),!0):(this._backTo(f),!1):this._accept(4)?(r.appendChild(l),!0):this._backTo(f)}_parseChoiceElement(r){const u=this._token,f=[];for(;!(this._token.type===2||this._token.type===7);){let d;if((d=this._accept(5,!0))?d=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||d:d=this._accept(void 0,!0),!d)return this._backTo(u),!1;f.push(d)}return f.length===0?(this._backTo(u),!1):(r.appendChild(new y(f.join(""))),!0)}_parseComplexVariable(r){let u;const f=this._token;if(!(this._accept(0)&&this._accept(3)&&(u=this._accept(9,!0))))return this._backTo(f);const l=new C(u);if(this._accept(1))for(;;){if(this._accept(4))return r.appendChild(l),!0;if(!this._parse(l))return r.appendChild(new y("${"+u+":")),l.children.forEach(r.appendChild,r),!0}else return this._accept(6)?this._parseTransform(l)?(r.appendChild(l),!0):(this._backTo(f),!1):this._accept(4)?(r.appendChild(l),!0):this._backTo(f)}_parseTransform(r){const u=new _;let f="",d="";for(;!this._accept(6);){let l;if(l=this._accept(5,!0)){l=this._accept(6,!0)||l,f+=l;continue}if(this._token.type!==14){f+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let l;if(l=this._accept(5,!0)){l=this._accept(5,!0)||this._accept(6,!0)||l,u.appendChild(new y(l));continue}if(!(this._parseFormatString(u)||this._parseAnything(u)))return!1}for(;!this._accept(4);){if(this._token.type!==14){d+=this._accept(void 0,!0);continue}return!1}try{u.regexp=new RegExp(f,d)}catch{return!1}return r.transform=u,!0}_parseFormatString(r){const u=this._token;if(!this._accept(0))return!1;let f=!1;this._accept(3)&&(f=!0);const d=this._accept(8,!0);if(d)if(f){if(this._accept(4))return r.appendChild(new v(Number(d))),!0;if(!this._accept(1))return this._backTo(u),!1}else return r.appendChild(new v(Number(d))),!0;else return this._backTo(u),!1;if(this._accept(6)){const l=this._accept(9,!0);return!l||!this._accept(4)?(this._backTo(u),!1):(r.appendChild(new v(Number(d),l)),!0)}else if(this._accept(11)){const l=this._until(4);if(l)return r.appendChild(new v(Number(d),void 0,l,void 0)),!0}else if(this._accept(12)){const l=this._until(4);if(l)return r.appendChild(new v(Number(d),void 0,void 0,l)),!0}else if(this._accept(13)){const l=this._until(1);if(l){const o=this._until(4);if(o)return r.appendChild(new v(Number(d),void 0,l,o)),!0}}else{const l=this._until(4);if(l)return r.appendChild(new v(Number(d),void 0,void 0,l)),!0}return this._backTo(u),!1}_parseAnything(r){return this._token.type!==14?(r.appendChild(new y(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}e.SnippetParser=n}),define(te[303],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModel=e.StickyElement=e.StickyRange=void 0;class L{constructor(S,m){this.startLineNumber=S,this.endLineNumber=m}}e.StickyRange=L;class I{constructor(S,m,_){this.range=S,this.children=m,this.parent=_}}e.StickyElement=I;class y{constructor(S,m,_,v){this.uri=S,this.version=m,this.element=_,this.outlineProviderId=v}}e.StickyModel=y}),define(te[304],ie([1,0,13,69,10]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompletionModel=e.LineContext=void 0;class D{constructor(_,v){this.leadingLineContent=_,this.characterCountDelta=v}}e.LineContext=D;class S{constructor(_,v,C,s,i,n,t=I.FuzzyScoreOptions.default,r=void 0){this.clipboardText=r,this._snippetCompareFn=S._compareCompletionItems,this._items=_,this._column=v,this._wordDistance=s,this._options=i,this._refilterKind=1,this._lineContext=C,this._fuzzyScoreOptions=t,n==="top"?this._snippetCompareFn=S._compareCompletionItemsSnippetsUp:n==="bottom"&&(this._snippetCompareFn=S._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(_){(this._lineContext.leadingLineContent!==_.leadingLineContent||this._lineContext.characterCountDelta!==_.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<_.characterCountDelta&&this._filteredItems?2:1,this._lineContext=_)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();const _=new Set;for(const[v,C]of this.getItemsByProvider())C.length>0&&C[0].container.incomplete&&_.add(v);return _}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;const _=[],{leadingLineContent:v,characterCountDelta:C}=this._lineContext;let s="",i="";const n=this._refilterKind===1?this._items:this._filteredItems,t=[],r=!this._options.filterGraceful||n.length>2e3?I.fuzzyScore:I.fuzzyScoreGracefulAggressive;for(let u=0;u=o)f.score=I.FuzzyScore.Default;else if(typeof f.completion.filterText=="string"){const a=r(s,i,c,f.completion.filterText,f.filterTextLow,0,this._fuzzyScoreOptions);if(!a)continue;(0,y.compareIgnoreCase)(f.completion.filterText,f.textLabel)===0?f.score=a:(f.score=(0,I.anyScore)(s,i,c,f.textLabel,f.labelLow,0),f.score[0]=a[0])}else{const a=r(s,i,c,f.textLabel,f.labelLow,0,this._fuzzyScoreOptions);if(!a)continue;f.score=a}}f.idx=u,f.distance=this._wordDistance.distance(f.position,f.completion),t.push(f),_.push(f.textLabel.length)}this._filteredItems=t.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:_.length?(0,L.quickSelect)(_.length-.85,_,(u,f)=>u-f):0}}static _compareCompletionItems(_,v){return _.score[0]>v.score[0]?-1:_.score[0]v.distance?1:_.idxv.idx?1:0}static _compareCompletionItemsSnippetsDown(_,v){if(_.completion.kind!==v.completion.kind){if(_.completion.kind===27)return 1;if(v.completion.kind===27)return-1}return S._compareCompletionItems(_,v)}static _compareCompletionItemsSnippetsUp(_,v){if(_.completion.kind!==v.completion.kind){if(_.completion.kind===27)return-1;if(v.completion.kind===27)return 1}return S._compareCompletionItems(_,v)}}e.CompletionModel=S}),define(te[551],ie([1,0,13,2,121]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommitCharacterController=void 0;class D{constructor(m,_,v,C){this._disposables=new I.DisposableStore,this._disposables.add(v.onDidSuggest(s=>{s.completionModel.items.length===0&&this.reset()})),this._disposables.add(v.onDidCancel(s=>{this.reset()})),this._disposables.add(_.onDidShow(()=>this._onItem(_.getFocusedItem()))),this._disposables.add(_.onDidFocus(this._onItem,this)),this._disposables.add(_.onDidHide(this.reset,this)),this._disposables.add(m.onWillType(s=>{if(this._active&&!_.isFrozen()&&v.state!==0){const i=s.charCodeAt(s.length-1);this._active.acceptCharacters.has(i)&&m.getOption(0)&&C(this._active.item)}}))}_onItem(m){if(!m||!(0,L.isNonEmptyArray)(m.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===m.item)return;const _=new y.CharacterSet;for(const v of m.item.completion.commitCharacters)v.length>0&&_.add(v.charCodeAt(0));this._active={acceptCharacters:_,item:m}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}e.CommitCharacterController=D}),define(te[552],ie([1,0,2]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OvertypingCapturer=void 0;class I{constructor(D,S){this._disposables=new L.DisposableStore,this._lastOvertyped=[],this._locked=!1,this._disposables.add(D.onWillType(()=>{if(this._locked||!D.hasModel())return;const m=D.getSelections(),_=m.length;let v=!1;for(let s=0;s<_;s++)if(!m[s].isEmpty()){v=!0;break}if(!v){this._lastOvertyped.length!==0&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];const C=D.getModel();for(let s=0;s<_;s++){const i=m[s];if(C.getValueLengthInRange(i)>I._maxSelectionLength)return;this._lastOvertyped[s]={value:C.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(S.onDidTrigger(m=>{this._locked=!0})),this._disposables.add(S.onDidCancel(m=>{this._locked=!1}))}getLastOvertypedInfo(D){if(D>=0&&D=0?f[d]:f[Math.max(0,~d-1)];let o=s.length;for(const c of s){if(!I.Range.containsRange(c.range,l))break;o-=1}return o}}})}}e.WordDistance=D,D.None=new class extends D{distance(){return 0}}}),define(te[306],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stateExists=e.findRules=e.substituteMatches=e.createError=e.log=e.sanitize=e.fixCase=e.empty=e.isIAction=e.isString=e.isFuzzyAction=e.isFuzzyActionArr=void 0;function L(t){return Array.isArray(t)}e.isFuzzyActionArr=L;function I(t){return!L(t)}e.isFuzzyAction=I;function y(t){return typeof t=="string"}e.isString=y;function D(t){return!y(t)}e.isIAction=D;function S(t){return!t}e.empty=S;function m(t,r){return t.ignoreCase&&r?r.toLowerCase():r}e.fixCase=m;function _(t){return t.replace(/[&<>'"_]/g,"-")}e.sanitize=_;function v(t,r){console.log(`${t.languageId}: ${r}`)}e.log=v;function C(t,r){return new Error(`${t.languageId}: ${r}`)}e.createError=C;function s(t,r,u,f,d){const l=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let o=null;return r.replace(l,function(c,a,g,h,p,b,w,E,k){return S(g)?S(h)?!S(p)&&p0;){const f=t.tokenizer[u];if(f)return f;const d=u.lastIndexOf(".");d<0?u=null:u=u.substr(0,d)}return null}e.findRules=i;function n(t,r){let u=r;for(;u&&u.length>0;){if(t.stateNames[u])return!0;const d=u.lastIndexOf(".");d<0?u=null:u=u.substr(0,d)}return!1}e.stateExists=n}),define(te[553],ie([1,0,306]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compile=void 0;function I(t,r){if(!r||!Array.isArray(r))return!1;for(const u of r)if(!t(u))return!1;return!0}function y(t,r){return typeof t=="boolean"?t:r}function D(t,r){return typeof t=="string"?t:r}function S(t){const r={};for(const u of t)r[u]=!0;return r}function m(t,r=!1){r&&(t=t.map(function(f){return f.toLowerCase()}));const u=S(t);return r?function(f){return u[f.toLowerCase()]!==void 0&&u.hasOwnProperty(f.toLowerCase())}:function(f){return u[f]!==void 0&&u.hasOwnProperty(f)}}function _(t,r){r=r.replace(/@@/g,"");let u=0,f;do f=!1,r=r.replace(/@(\w+)/g,function(l,o){f=!0;let c="";if(typeof t[o]=="string")c=t[o];else if(t[o]&&t[o]instanceof RegExp)c=t[o].source;else throw t[o]===void 0?L.createError(t,"language definition does not contain attribute '"+o+"', used at: "+r):L.createError(t,"attribute reference '"+o+"' must be a string, used at: "+r);return L.empty(c)?"":"(?:"+c+")"}),u++;while(f&&u<5);r=r.replace(/\x01/g,"@");const d=(t.ignoreCase?"i":"")+(t.unicode?"u":"");return new RegExp(r,d)}function v(t,r,u,f){if(f<0)return t;if(f=100){f=f-100;const d=u.split(".");if(d.unshift(u),f=0&&(f.tokenSubst=!0),typeof u.bracket=="string")if(u.bracket==="@open")f.bracket=1;else if(u.bracket==="@close")f.bracket=-1;else throw L.createError(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+r);if(u.next){if(typeof u.next!="string")throw L.createError(t,"the next state must be a string value in rule: "+r);{let d=u.next;if(!/^(@pop|@push|@popall)$/.test(d)&&(d[0]==="@"&&(d=d.substr(1)),d.indexOf("$")<0&&!L.stateExists(t,L.substituteMatches(t,d,"",[],""))))throw L.createError(t,"the next state '"+u.next+"' is not defined in rule: "+r);f.next=d}}return typeof u.goBack=="number"&&(f.goBack=u.goBack),typeof u.switchTo=="string"&&(f.switchTo=u.switchTo),typeof u.log=="string"&&(f.log=u.log),typeof u.nextEmbedded=="string"&&(f.nextEmbedded=u.nextEmbedded,t.usesEmbedded=!0),f}}else if(Array.isArray(u)){const f=[];for(let d=0,l=u.length;d0&&f[0]==="^",this.name=this.name+": "+f,this.regex=_(r,"^(?:"+(this.matchOnlyAtLineStart?f.substr(1):f)+")")}setAction(r,u){this.action=s(r,this.name,u)}}function n(t,r){if(!r||typeof r!="object")throw new Error("Monarch: expecting a language definition object");const u={};u.languageId=t,u.includeLF=y(r.includeLF,!1),u.noThrow=!1,u.maxStack=100,u.start=typeof r.start=="string"?r.start:null,u.ignoreCase=y(r.ignoreCase,!1),u.unicode=y(r.unicode,!1),u.tokenPostfix=D(r.tokenPostfix,"."+u.languageId),u.defaultToken=D(r.defaultToken,"source"),u.usesEmbedded=!1;const f=r;f.languageId=t,f.includeLF=u.includeLF,f.ignoreCase=u.ignoreCase,f.unicode=u.unicode,f.noThrow=u.noThrow,f.usesEmbedded=u.usesEmbedded,f.stateNames=r.tokenizer,f.defaultToken=u.defaultToken;function d(o,c,a){for(const g of a){let h=g.include;if(h){if(typeof h!="string")throw L.createError(u,"an 'include' attribute must be a string at: "+o);if(h[0]==="@"&&(h=h.substr(1)),!r.tokenizer[h])throw L.createError(u,"include target '"+h+"' is not defined at: "+o);d(o+"."+h,c,r.tokenizer[h])}else{const p=new i(o);if(Array.isArray(g)&&g.length>=1&&g.length<=3)if(p.setRegex(f,g[0]),g.length>=3)if(typeof g[1]=="string")p.setAction(f,{token:g[1],next:g[2]});else if(typeof g[1]=="object"){const b=g[1];b.next=g[2],p.setAction(f,b)}else throw L.createError(u,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+o);else p.setAction(f,g[1]);else{if(!g.regex)throw L.createError(u,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+o);g.name&&typeof g.name=="string"&&(p.name=g.name),g.matchOnlyAtStart&&(p.matchOnlyAtLineStart=y(g.matchOnlyAtLineStart,!1)),p.setRegex(f,g.regex),p.setAction(f,g.action)}c.push(p)}}}if(!r.tokenizer||typeof r.tokenizer!="object")throw L.createError(u,"a language definition must define the 'tokenizer' attribute as an object");u.tokenizer=[];for(const o in r.tokenizer)if(r.tokenizer.hasOwnProperty(o)){u.start||(u.start=o);const c=r.tokenizer[o];u.tokenizer[o]=new Array,d("tokenizer."+o,u.tokenizer[o],c)}if(u.usesEmbedded=f.usesEmbedded,r.brackets){if(!Array.isArray(r.brackets))throw L.createError(u,"the 'brackets' attribute must be defined as an array")}else r.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const l=[];for(const o of r.brackets){let c=o;if(c&&Array.isArray(c)&&c.length===3&&(c={token:c[2],open:c[0],close:c[1]}),c.open===c.close)throw L.createError(u,"open and close brackets in a 'brackets' attribute must be different: "+c.open+` + hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof c.open=="string"&&typeof c.token=="string"&&typeof c.close=="string")l.push({token:c.token+u.tokenPostfix,open:L.fixCase(u,c.open),close:L.fixCase(u,c.close)});else throw L.createError(u,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return u.brackets=l,u.noThrow=!0,u}e.compile=n}),define(te[554],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/actionbar/actionViewItems",e)}),define(te[555],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/findinput/findInput",e)}),define(te[556],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/findinput/findInputToggles",e)}),define(te[557],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/findinput/replaceInput",e)}),define(te[558],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/hover/hoverWidget",e)}),define(te[559],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/iconLabel/iconLabelHover",e)}),define(te[560],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/inputbox/inputBox",e)}),define(te[561],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/keybindingLabel/keybindingLabel",e)}),define(te[562],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/selectBox/selectBoxCustom",e)}),define(te[563],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/toolbar/toolbar",e)}),define(te[564],ie([3,4]),function($,e){return $.create("vs/base/browser/ui/tree/abstractTree",e)}),define(te[565],ie([3,4]),function($,e){return $.create("vs/base/common/actions",e)}),define(te[41],ie([1,0,6,2,565]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toAction=e.EmptySubmenuAction=e.SubmenuAction=e.Separator=e.ActionRunner=e.Action=void 0;class D extends I.Disposable{constructor(i,n="",t="",r=!0,u){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=i,this._label=n,this._cssClass=t,this._enabled=r,this._actionCallback=u}get id(){return this._id}get label(){return this._label}set label(i){this._setLabel(i)}_setLabel(i){this._label!==i&&(this._label=i,this._onDidChange.fire({label:i}))}get tooltip(){return this._tooltip||""}set tooltip(i){this._setTooltip(i)}_setTooltip(i){this._tooltip!==i&&(this._tooltip=i,this._onDidChange.fire({tooltip:i}))}get class(){return this._cssClass}set class(i){this._setClass(i)}_setClass(i){this._cssClass!==i&&(this._cssClass=i,this._onDidChange.fire({class:i}))}get enabled(){return this._enabled}set enabled(i){this._setEnabled(i)}_setEnabled(i){this._enabled!==i&&(this._enabled=i,this._onDidChange.fire({enabled:i}))}get checked(){return this._checked}set checked(i){this._setChecked(i)}_setChecked(i){this._checked!==i&&(this._checked=i,this._onDidChange.fire({checked:i}))}run(i,n){return be(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(i))})}}e.Action=D;class S extends I.Disposable{constructor(){super(...arguments),this._onWillRun=this._register(new L.Emitter),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new L.Emitter),this.onDidRun=this._onDidRun.event}run(i,n){return be(this,void 0,void 0,function*(){if(!i.enabled)return;this._onWillRun.fire({action:i});let t;try{yield this.runAction(i,n)}catch(r){t=r}this._onDidRun.fire({action:i,error:t})})}runAction(i,n){return be(this,void 0,void 0,function*(){yield i.run(n)})}}e.ActionRunner=S;class m{constructor(){this.id=m.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...i){let n=[];for(const t of i)t.length&&(n.length?n=[...n,new m,...t]:n=t);return n}run(){return be(this,void 0,void 0,function*(){})}}e.Separator=m,m.ID="vs.actions.separator";class _{get actions(){return this._actions}constructor(i,n,t,r){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=i,this.label=n,this.class=r,this._actions=t}run(){return be(this,void 0,void 0,function*(){})}}e.SubmenuAction=_;class v extends D{constructor(){super(v.ID,y.localize(0,null),void 0,!1)}}e.EmptySubmenuAction=v,v.ID="vs.actions.empty";function C(s){var i,n;return{id:s.id,label:s.label,class:void 0,enabled:(i=s.enabled)!==null&&i!==void 0?i:!0,checked:(n=s.checked)!==null&&n!==void 0?n:!1,run:(...t)=>be(this,void 0,void 0,function*(){return s.run(...t)}),tooltip:s.label}}e.toAction=C}),define(te[566],ie([3,4]),function($,e){return $.create("vs/base/common/errorMessage",e)}),define(te[567],ie([1,0,13,20,566]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toErrorMessage=void 0;function D(v,C){return C&&(v.stack||v.stacktrace)?y.localize(0,null,m(v),S(v.stack)||S(v.stacktrace)):m(v)}function S(v){return Array.isArray(v)?v.join(` +`):v}function m(v){return v.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${v.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof v.code=="string"&&typeof v.errno=="number"&&typeof v.syscall=="string"?y.localize(1,null,v.message):v.message||y.localize(2,null)}function _(v=null,C=!1){if(!v)return y.localize(3,null);if(Array.isArray(v)){const s=L.coalesce(v),i=_(s[0],C);return s.length>1?y.localize(4,null,i,s.length):i}if(I.isString(v))return v;if(v.detail){const s=v.detail;if(s.error)return D(s.error,C);if(s.exception)return D(s.exception,C)}return v.stack?D(v,C):v.message?v.message:y.localize(5,null)}e.toErrorMessage=_}),define(te[568],ie([3,4]),function($,e){return $.create("vs/base/common/keybindingLabels",e)}),define(te[216],ie([1,0,568]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserSettingsLabelProvider=e.ElectronAcceleratorLabelProvider=e.AriaLabelProvider=e.UILabelProvider=e.ModifierLabelProvider=void 0;class I{constructor(S,m,_=m){this.modifierLabels=[null],this.modifierLabels[2]=S,this.modifierLabels[1]=m,this.modifierLabels[3]=_}toLabel(S,m,_){if(m.length===0)return null;const v=[];for(let C=0,s=m.length;C=0,D=d.indexOf("Macintosh")>=0,s=(d.indexOf("Macintosh")>=0||d.indexOf("iPad")>=0||d.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,S=d.indexOf("Linux")>=0,n=d?.indexOf("Mobi")>=0,v=!0,t=L.getConfiguredDefaultLocale(L.localize(0,null))||e.LANGUAGE_DEFAULT,r=t,u=navigator.language;else if(typeof l=="object"){y=l.platform==="win32",D=l.platform==="darwin",S=l.platform==="linux",m=S&&!!l.env.SNAP&&!!l.env.SNAP_REVISION,C=o,i=!!l.env.CI||!!l.env.BUILD_ARTIFACTSTAGINGDIRECTORY,t=e.LANGUAGE_DEFAULT,r=e.LANGUAGE_DEFAULT;const b=l.env.VSCODE_NLS_CONFIG;if(b)try{const w=JSON.parse(b),E=w.availableLanguages["*"];t=w.locale,u=w.osLocale,r=E||e.LANGUAGE_DEFAULT,f=w._translationsConfigFile}catch{}_=!0}else console.error("Unable to resolve platform.");let a=0;D?a=1:y?a=3:S&&(a=2),e.isWindows=y,e.isMacintosh=D,e.isLinux=S,e.isNative=_,e.isWeb=v,e.isWebWorker=v&&typeof e.globals.importScripts=="function",e.isIOS=s,e.isMobile=n,e.userAgent=d,e.language=r,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const b=[];e.globals.addEventListener("message",E=>{if(E.data&&E.data.vscodeScheduleAsyncWork)for(let k=0,M=b.length;k{const k=++w;b.push({id:k,callback:E}),e.globals.postMessage({vscodeScheduleAsyncWork:k},"*")}}return b=>setTimeout(b)})(),e.OS=D||s?2:y?1:3;let g=!0,h=!1;function p(){if(!h){h=!0;const b=new Uint8Array(2);b[0]=1,b[1]=2,g=new Uint16Array(b.buffer)[0]===(2<<8)+1}return g}e.isLittleEndian=p,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[217],ie([1,0,51,17]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserFeatures=void 0,e.BrowserFeatures={clipboard:{writeText:I.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:I.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>I.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[44],ie([1,0,51,62,118,17]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardKeyboardEvent=void 0;function S(i){if(i.charCode){const t=String.fromCharCode(i.charCode).toUpperCase();return I.KeyCodeUtils.fromString(t)}const n=i.keyCode;if(n===3)return 7;if(L.isFirefox)switch(n){case 59:return 85;case 60:if(D.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(D.isMacintosh)return 57;break}else if(L.isWebKit){if(D.isMacintosh&&n===93)return 57;if(!D.isMacintosh&&n===92)return 57}return I.EVENT_KEY_CODE_MAP[n]||0}const m=D.isMacintosh?256:2048,_=512,v=1024,C=D.isMacintosh?2048:256;class s{constructor(n){this._standardKeyboardEventBrand=!0;const t=n;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=S(t),this.code=t.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._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(n){return this._asKeybinding===n}_computeKeybinding(){let n=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode);let t=0;return this.ctrlKey&&(t|=m),this.altKey&&(t|=_),this.shiftKey&&(t|=v),this.metaKey&&(t|=C),t|=n,t}_computeKeyCodeChord(){let n=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(n=this.keyCode),new y.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,n)}}e.StandardKeyboardEvent=s}),define(te[60],ie([1,0,51,384,17]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardWheelEvent=e.StandardMouseEvent=void 0;class D{constructor(_){this.timestamp=Date.now(),this.browserEvent=_,this.leftButton=_.button===0,this.middleButton=_.button===1,this.rightButton=_.button===2,this.buttons=_.buttons,this.target=_.target,this.detail=_.detail||1,_.type==="dblclick"&&(this.detail=2),this.ctrlKey=_.ctrlKey,this.shiftKey=_.shiftKey,this.altKey=_.altKey,this.metaKey=_.metaKey,typeof _.pageX=="number"?(this.posx=_.pageX,this.posy=_.pageY):(this.posx=_.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=_.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);const v=I.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(window,_.view);this.posx-=v.left,this.posy-=v.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}e.StandardMouseEvent=D;class S{constructor(_,v=0,C=0){if(this.browserEvent=_||null,this.target=_?_.target||_.targetNode||_.srcElement:null,this.deltaY=C,this.deltaX=v,_){const s=_,i=_;if(typeof s.wheelDeltaY<"u")this.deltaY=s.wheelDeltaY/120;else if(typeof i.VERTICAL_AXIS<"u"&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaY=-_.deltaY/3:this.deltaY=-_.deltaY:this.deltaY=-_.deltaY/40}if(typeof s.wheelDeltaX<"u")L.isSafari&&y.isWindows?this.deltaX=-(s.wheelDeltaX/120):this.deltaX=s.wheelDeltaX/120;else if(typeof i.HORIZONTAL_AXIS<"u"&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-_.detail/3;else if(_.type==="wheel"){const n=_;n.deltaMode===n.DOM_DELTA_LINE?L.isFirefox&&!y.isMacintosh?this.deltaX=-_.deltaX/3:this.deltaX=-_.deltaX:this.deltaX=-_.deltaX/40}this.deltaY===0&&this.deltaX===0&&_.wheelDelta&&(this.deltaY=_.wheelDelta/120)}}preventDefault(){var _;(_=this.browserEvent)===null||_===void 0||_.preventDefault()}stopPropagation(){var _;(_=this.browserEvent)===null||_===void 0||_.stopPropagation()}}e.StandardWheelEvent=S});var yt=this&&this.__asyncValues||function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=$[Symbol.asyncIterator],L;return e?e.call($):($=typeof __values=="function"?__values($):$[Symbol.iterator](),L={},I("next"),I("throw"),I("return"),L[Symbol.asyncIterator]=function(){return this},L);function I(D){L[D]=$[D]&&function(S){return new Promise(function(m,_){S=$[D](S),y(m,_,S.done,S.value)})}}function y(D,S,m,_){Promise.resolve(_).then(function(v){D({value:v,done:m})},S)}};define(te[14],ie([1,0,19,9,6,2,17,263]),function($,e,L,I,y,D,S,m){"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.Throttler=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function _(E){return!!E&&typeof E.then=="function"}e.isThenable=_;function v(E){const k=new L.CancellationTokenSource,M=E(k.token),R=new Promise((B,T)=>{const N=k.token.onCancellationRequested(()=>{N.dispose(),k.dispose(),T(new I.CancellationError)});Promise.resolve(M).then(A=>{N.dispose(),k.dispose(),B(A)},A=>{N.dispose(),k.dispose(),T(A)})});return new class{cancel(){k.cancel()}then(B,T){return R.then(B,T)}catch(B){return this.then(void 0,B)}finally(B){return R.finally(B)}}}e.createCancelablePromise=v;function C(E,k,M){return new Promise((R,B)=>{const T=k.onCancellationRequested(()=>{T.dispose(),R(M)});E.then(R,B).finally(()=>T.dispose())})}e.raceCancellation=C;class s{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(k){if(this.isDisposed)return Promise.reject(new Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=k,!this.queuedPromise){const M=()=>{if(this.queuedPromise=null,this.isDisposed)return;const R=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,R};this.queuedPromise=new Promise(R=>{this.activePromise.then(M,M).then(R)})}return new Promise((M,R)=>{this.queuedPromise.then(M,R)})}return this.activePromise=k(),new Promise((M,R)=>{this.activePromise.then(B=>{this.activePromise=null,M(B)},B=>{this.activePromise=null,R(B)})})}dispose(){this.isDisposed=!0}}e.Throttler=s;const i=(E,k)=>{let M=!0;const R=setTimeout(()=>{M=!1,k()},E);return{isTriggered:()=>M,dispose:()=>{clearTimeout(R),M=!1}}},n=E=>{let k=!0;return queueMicrotask(()=>{k&&(k=!1,E())}),{isTriggered:()=>k,dispose:()=>{k=!1}}};class t{constructor(k){this.defaultDelay=k,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(k,M=this.defaultDelay){this.task=k,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((B,T)=>{this.doResolve=B,this.doReject=T}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const B=this.task;return this.task=null,B()}}));const R=()=>{var B;this.deferred=null,(B=this.doResolve)===null||B===void 0||B.call(this,null)};return this.deferred=M===m.MicrotaskDelay?n(R):i(M,R),this.completionPromise}isTriggered(){var k;return!!(!((k=this.deferred)===null||k===void 0)&&k.isTriggered())}cancel(){var k;this.cancelTimeout(),this.completionPromise&&((k=this.doReject)===null||k===void 0||k.call(this,new I.CancellationError),this.completionPromise=null)}cancelTimeout(){var k;(k=this.deferred)===null||k===void 0||k.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=t;class r{constructor(k){this.delayer=new t(k),this.throttler=new s}trigger(k,M){return this.delayer.trigger(()=>this.throttler.queue(k),M)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}e.ThrottledDelayer=r;function u(E,k){return k?new Promise((M,R)=>{const B=setTimeout(()=>{T.dispose(),M()},E),T=k.onCancellationRequested(()=>{clearTimeout(B),T.dispose(),R(new I.CancellationError)})}):v(M=>u(E,M))}e.timeout=u;function f(E,k=0,M){const R=setTimeout(()=>{E(),M&&B.dispose()},k),B=(0,D.toDisposable)(()=>{clearTimeout(R),M?.deleteAndLeak(B)});return M?.add(B),B}e.disposableTimeout=f;function d(E,k=R=>!!R,M=null){let R=0;const B=E.length,T=()=>{if(R>=B)return Promise.resolve(M);const N=E[R++];return Promise.resolve(N()).then(P=>k(P)?Promise.resolve(P):T())};return T()}e.first=d;class l{constructor(k,M){this._token=-1,typeof k=="function"&&typeof M=="number"&&this.setIfNotSet(k,M)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(k,M){this.cancel(),this._token=setTimeout(()=>{this._token=-1,k()},M)}setIfNotSet(k,M){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,k()},M))}}e.TimeoutTimer=l;class o{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(k,M){this.cancel(),this._token=setInterval(()=>{k()},M)}}e.IntervalTimer=o;class c{constructor(k,M){this.timeoutToken=-1,this.runner=k,this.timeout=M,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(k=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,k)}get delay(){return this.timeout}set delay(k){this.timeout=k}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var k;(k=this.runner)===null||k===void 0||k.call(this)}}e.RunOnceScheduler=c,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=E=>{(0,S.setTimeout0)(()=>{if(k)return;const M=Date.now()+15;E(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,M-Date.now())}}))});let k=!1;return{dispose(){k||(k=!0)}}}:e.runWhenIdle=(E,k)=>{const M=requestIdleCallback(E,typeof k=="number"?{timeout:k}:void 0);let R=!1;return{dispose(){R||(R=!0,cancelIdleCallback(M))}}}}();class a{constructor(k){this._didRun=!1,this._executor=()=>{try{this._value=k()}catch(M){this._error=M}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=a;class g{get isRejected(){var k;return((k=this.outcome)===null||k===void 0?void 0:k.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((k,M)=>{this.completeCallback=k,this.errorCallback=M})}complete(k){return new Promise(M=>{this.completeCallback(k),this.outcome={outcome:0,value:k},M()})}error(k){return new Promise(M=>{this.errorCallback(k),this.outcome={outcome:1,value:k},M()})}cancel(){return this.error(new I.CancellationError)}}e.DeferredPromise=g;var h;(function(E){function k(R){return be(this,void 0,void 0,function*(){let B;const T=yield Promise.all(R.map(N=>N.then(A=>A,A=>{B||(B=A)})));if(typeof B<"u")throw B;return T})}E.settled=k;function M(R){return new Promise((B,T)=>be(this,void 0,void 0,function*(){try{yield R(B,T)}catch(N){T(N)}}))}E.withAsyncBody=M})(h||(e.Promises=h={}));class p{static fromArray(k){return new p(M=>{M.emitMany(k)})}static fromPromise(k){return new p(M=>be(this,void 0,void 0,function*(){M.emitMany(yield k)}))}static fromPromises(k){return new p(M=>be(this,void 0,void 0,function*(){yield Promise.all(k.map(R=>be(this,void 0,void 0,function*(){return M.emitOne(yield R)})))}))}static merge(k){return new p(M=>be(this,void 0,void 0,function*(){yield Promise.all(k.map(R=>{var B,T,N;return be(this,void 0,void 0,function*(){var A,P,O,x;try{for(B=!0,T=yt(R);N=yield T.next(),A=N.done,!A;B=!0){x=N.value,B=!1;const W=x;M.emitOne(W)}}catch(W){P={error:W}}finally{try{!B&&!A&&(O=T.return)&&(yield O.call(T))}finally{if(P)throw P.error}}})}))}))}constructor(k){this._state=0,this._results=[],this._error=null,this._onStateChanged=new y.Emitter,queueMicrotask(()=>be(this,void 0,void 0,function*(){const M={emitOne:R=>this.emitOne(R),emitMany:R=>this.emitMany(R),reject:R=>this.reject(R)};try{yield Promise.resolve(k(M)),this.resolve()}catch(R){this.reject(R)}finally{M.emitOne=void 0,M.emitMany=void 0,M.reject=void 0}}))}[Symbol.asyncIterator](){let k=0;return{next:()=>be(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(kbe(this,void 0,void 0,function*(){var B,T,N,A;try{for(var P=!0,O=yt(k),x;x=yield O.next(),B=x.done,!B;P=!0){A=x.value,P=!1;const W=A;R.emitOne(M(W))}}catch(W){T={error:W}}finally{try{!P&&!B&&(N=O.return)&&(yield N.call(O))}finally{if(T)throw T.error}}}))}map(k){return p.map(this,k)}static filter(k,M){return new p(R=>be(this,void 0,void 0,function*(){var B,T,N,A;try{for(var P=!0,O=yt(k),x;x=yield O.next(),B=x.done,!B;P=!0){A=x.value,P=!1;const W=A;M(W)&&R.emitOne(W)}}catch(W){T={error:W}}finally{try{!P&&!B&&(N=O.return)&&(yield N.call(O))}finally{if(T)throw T.error}}}))}filter(k){return p.filter(this,k)}static coalesce(k){return p.filter(k,M=>!!M)}coalesce(){return p.coalesce(this)}static toPromise(k){var M,R,B,T,N,A,P;return be(this,void 0,void 0,function*(){const O=[];try{for(M=!0,R=yt(k);B=yield R.next(),T=B.done,!T;M=!0){P=B.value,M=!1;const x=P;O.push(x)}}catch(x){N={error:x}}finally{try{!M&&!T&&(A=R.return)&&(yield A.call(R))}finally{if(N)throw N.error}}return O})}toPromise(){return p.toPromise(this)}emitOne(k){this._state===0&&(this._results.push(k),this._onStateChanged.fire())}emitMany(k){this._state===0&&(this._results=this._results.concat(k),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(k){this._state===0&&(this._state=2,this._error=k,this._onStateChanged.fire())}}e.AsyncIterableObject=p,p.EMPTY=p.fromArray([]);class b extends p{constructor(k,M){super(M),this._source=k}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=b;function w(E){const k=new L.CancellationTokenSource,M=E(k.token);return new b(k,R=>be(this,void 0,void 0,function*(){var B,T,N,A;const P=k.token.onCancellationRequested(()=>{P.dispose(),k.dispose(),R.reject(new I.CancellationError)});try{try{for(var O=!0,x=yt(M),W;W=yield x.next(),B=W.done,!B;O=!0){A=W.value,O=!1;const U=A;if(k.token.isCancellationRequested)return;R.emitOne(U)}}catch(U){T={error:U}}finally{try{!O&&!B&&(N=x.return)&&(yield N.call(x))}finally{if(T)throw T.error}}P.dispose(),k.dispose()}catch(U){P.dispose(),k.dispose(),R.reject(U)}}))}e.createCancelableAsyncIterable=w}),define(te[570],ie([1,0,14,2]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarVisibilityController=void 0;class y extends I.Disposable{constructor(S,m,_){super(),this._visibility=S,this._visibleClassName=m,this._invisibleClassName=_,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new L.TimeoutTimer)}setVisibility(S){this._visibility!==S&&(this._visibility=S,this._updateShouldBeVisible())}setShouldBeVisible(S){this._rawShouldBeVisible=S,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const S=this._applyVisibilitySetting();this._shouldBeVisible!==S&&(this._shouldBeVisible=S,this.ensureVisibility())}setIsNeeded(S){this._isNeeded!==S&&(this._isNeeded=S,this.ensureVisibility())}setDomNode(S){this._domNode=S,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(()=>{var S;(S=this._domNode)===null||S===void 0||S.setClassName(this._visibleClassName)},0))}_hide(S){var m;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,(m=this._domNode)===null||m===void 0||m.setClassName(this._invisibleClassName+(S?" fade":"")))}}e.ScrollbarVisibilityController=y}),define(te[218],ie([1,0,137,13,14,263,167,6,43]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndexTreeModel=e.getVisibleState=e.isFilterResult=void 0;function v(n){return typeof n=="object"&&"visibility"in n&&"data"in n}e.isFilterResult=v;function C(n){switch(n){case!0:return 1;case!1:return 0;default:return n}}e.getVisibleState=C;function s(n){return typeof n.collapsible=="boolean"}class i{constructor(t,r,u,f={}){this.user=t,this.list=r,this.rootRef=[],this.eventBufferer=new m.EventBufferer,this._onDidChangeCollapseState=new m.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new m.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new m.Emitter,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new y.Delayer(D.MicrotaskDelay),this.collapseByDefault=typeof f.collapseByDefault>"u"?!1:f.collapseByDefault,this.filter=f.filter,this.autoExpandSingleChildren=typeof f.autoExpandSingleChildren>"u"?!1:f.autoExpandSingleChildren,this.root={parent:void 0,element:u,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(t,r,u=_.Iterable.empty(),f={}){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");f.diffIdentityProvider?this.spliceSmart(f.diffIdentityProvider,t,r,u,f):this.spliceSimple(t,r,u,f)}spliceSmart(t,r,u,f,d,l){var o;f===void 0&&(f=_.Iterable.empty()),l===void 0&&(l=(o=d.diffDepth)!==null&&o!==void 0?o:0);const{parentNode:c}=this.getParentNodeWithListIndex(r);if(!c.lastDiffIds)return this.spliceSimple(r,u,f,d);const a=[...f],g=r[r.length-1],h=new S.LcsDiff({getElements:()=>c.lastDiffIds},{getElements:()=>[...c.children.slice(0,g),...a,...c.children.slice(g+u)].map(k=>t.getId(k.element).toString())}).ComputeDiff(!1);if(h.quitEarly)return c.lastDiffIds=void 0,this.spliceSimple(r,u,a,d);const p=r.slice(0,-1),b=(k,M,R)=>{if(l>0)for(let B=0;BR.originalStart-M.originalStart))b(w,E,w-(k.originalStart+k.originalLength)),w=k.originalStart,E=k.modifiedStart-g,this.spliceSimple([...p,w],k.originalLength,_.Iterable.slice(a,E,E+k.modifiedLength),d);b(w,E,w)}spliceSimple(t,r,u=_.Iterable.empty(),{onDidCreateNode:f,onDidDeleteNode:d,diffIdentityProvider:l}){const{parentNode:o,listIndex:c,revealed:a,visible:g}=this.getParentNodeWithListIndex(t),h=[],p=_.Iterable.map(u,P=>this.createTreeNode(P,o,o.visible?1:0,a,h,f)),b=t[t.length-1],w=o.children.length>0;let E=0;for(let P=b;P>=0&&Pl.getId(P.element).toString())):o.lastDiffIds=o.children.map(P=>l.getId(P.element).toString()):o.lastDiffIds=void 0;let T=0;for(const P of B)P.visible&&T++;if(T!==0)for(let P=b+k.length;PO+(x.visible?x.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(o,R-P),this.list.splice(c,P,h)}if(B.length>0&&d){const P=O=>{d(O),O.children.forEach(P)};B.forEach(P)}this._onDidSplice.fire({insertedNodes:k,deletedNodes:B});const N=o.children.length>0;w!==N&&this.setCollapsible(t.slice(0,-1),N);let A=o;for(;A;){if(A.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}A=A.parent}}rerender(t){if(t.length===0)throw new L.TreeError(this.user,"Invalid tree location");const{node:r,listIndex:u,revealed:f}=this.getTreeNodeWithListIndex(t);r.visible&&f&&this.list.splice(u,1,[r])}has(t){return this.hasTreeNode(t)}getListIndex(t){const{listIndex:r,visible:u,revealed:f}=this.getTreeNodeWithListIndex(t);return u&&f?r:-1}getListRenderCount(t){return this.getTreeNode(t).renderNodeCount}isCollapsible(t){return this.getTreeNode(t).collapsible}setCollapsible(t,r){const u=this.getTreeNode(t);typeof r>"u"&&(r=!u.collapsible);const f={collapsible:r};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,f))}isCollapsed(t){return this.getTreeNode(t).collapsed}setCollapsed(t,r,u){const f=this.getTreeNode(t);typeof r>"u"&&(r=!f.collapsed);const d={collapsed:r,recursive:u||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(t,d))}_setCollapseState(t,r){const{node:u,listIndex:f,revealed:d}=this.getTreeNodeWithListIndex(t),l=this._setListNodeCollapseState(u,f,d,r);if(u!==this.root&&this.autoExpandSingleChildren&&l&&!s(r)&&u.collapsible&&!u.collapsed&&!r.recursive){let o=-1;for(let c=0;c-1){o=-1;break}else o=c;o>-1&&this._setCollapseState([...t,o],r)}return l}_setListNodeCollapseState(t,r,u,f){const d=this._setNodeCollapseState(t,f,!1);if(!u||!t.visible||!d)return d;const l=t.renderNodeCount,o=this.updateNodeAfterCollapseChange(t),c=l-(r===-1?0:1);return this.list.splice(r+1,c,o.slice(1)),d}_setNodeCollapseState(t,r,u){let f;if(t===this.root?f=!1:(s(r)?(f=t.collapsible!==r.collapsible,t.collapsible=r.collapsible):t.collapsible?(f=t.collapsed!==r.collapsed,t.collapsed=r.collapsed):f=!1,f&&this._onDidChangeCollapseState.fire({node:t,deep:u})),!s(r)&&r.recursive)for(const d of t.children)f=this._setNodeCollapseState(d,r,!0)||f;return f}expandTo(t){this.eventBufferer.bufferEvents(()=>{let r=this.getTreeNode(t);for(;r.parent;)r=r.parent,t=t.slice(0,t.length-1),r.collapsed&&this._setCollapseState(t,{collapsed:!1,recursive:!1})})}refilter(){const t=this.root.renderNodeCount,r=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,t,r),this.refilterDelayer.cancel()}createTreeNode(t,r,u,f,d,l){const o={parent:r,element:t.element,children:[],depth:r.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof t.collapsible=="boolean"?t.collapsible:typeof t.collapsed<"u",collapsed:typeof t.collapsed>"u"?this.collapseByDefault:t.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},c=this._filterNode(o,u);o.visibility=c,f&&d.push(o);const a=t.children||_.Iterable.empty(),g=f&&c!==0&&!o.collapsed;let h=0,p=1;for(const b of a){const w=this.createTreeNode(b,o,c,g,d,l);o.children.push(w),p+=w.renderNodeCount,w.visible&&(w.visibleChildIndex=h++)}return o.collapsible=o.collapsible||o.children.length>0,o.visibleChildrenCount=h,o.visible=c===2?h>0:c===1,o.visible?o.collapsed||(o.renderNodeCount=p):(o.renderNodeCount=0,f&&d.pop()),l?.(o),o}updateNodeAfterCollapseChange(t){const r=t.renderNodeCount,u=[];return this._updateNodeAfterCollapseChange(t,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-r),u}_updateNodeAfterCollapseChange(t,r){if(t.visible===!1)return 0;if(r.push(t),t.renderNodeCount=1,!t.collapsed)for(const u of t.children)t.renderNodeCount+=this._updateNodeAfterCollapseChange(u,r);return this._onDidChangeRenderNodeCount.fire(t),t.renderNodeCount}updateNodeAfterFilterChange(t){const r=t.renderNodeCount,u=[];return this._updateNodeAfterFilterChange(t,t.visible?1:0,u),this._updateAncestorsRenderNodeCount(t.parent,u.length-r),u}_updateNodeAfterFilterChange(t,r,u,f=!0){let d;if(t!==this.root){if(d=this._filterNode(t,r),d===0)return t.visible=!1,t.renderNodeCount=0,!1;f&&u.push(t)}const l=u.length;t.renderNodeCount=t===this.root?0:1;let o=!1;if(!t.collapsed||d!==0){let c=0;for(const a of t.children)o=this._updateNodeAfterFilterChange(a,d,u,f&&!t.collapsed)||o,a.visible&&(a.visibleChildIndex=c++);t.visibleChildrenCount=c}else t.visibleChildrenCount=0;return t!==this.root&&(t.visible=d===2?o:d===1,t.visibility=d),t.visible?t.collapsed||(t.renderNodeCount+=u.length-l):(t.renderNodeCount=0,f&&u.pop()),this._onDidChangeRenderNodeCount.fire(t),t.visible}_updateAncestorsRenderNodeCount(t,r){if(r!==0)for(;t;)t.renderNodeCount+=r,this._onDidChangeRenderNodeCount.fire(t),t=t.parent}_filterNode(t,r){const u=this.filter?this.filter.filter(t.element,r):1;return typeof u=="boolean"?(t.filterData=void 0,u?1:0):v(u)?(t.filterData=u.data,C(u.visibility)):(t.filterData=void 0,C(u))}hasTreeNode(t,r=this.root){if(!t||t.length===0)return!0;const[u,...f]=t;return u<0||u>r.children.length?!1:this.hasTreeNode(f,r.children[u])}getTreeNode(t,r=this.root){if(!t||t.length===0)return r;const[u,...f]=t;if(u<0||u>r.children.length)throw new L.TreeError(this.user,"Invalid tree location");return this.getTreeNode(f,r.children[u])}getTreeNodeWithListIndex(t){if(t.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:r,listIndex:u,revealed:f,visible:d}=this.getParentNodeWithListIndex(t),l=t[t.length-1];if(l<0||l>r.children.length)throw new L.TreeError(this.user,"Invalid tree location");const o=r.children[l];return{node:o,listIndex:u,revealed:f,visible:d&&o.visible}}getParentNodeWithListIndex(t,r=this.root,u=0,f=!0,d=!0){const[l,...o]=t;if(l<0||l>r.children.length)throw new L.TreeError(this.user,"Invalid tree location");for(let c=0;c{var r;if(t.element===null)return;const u=t;if(C.add(u.element),this.nodes.set(u.element,u),this.identityProvider){const f=this.identityProvider.getId(u.element).toString();s.add(f),this.nodesByIdentity.set(f,u)}(r=v.onDidCreateNode)===null||r===void 0||r.call(v,u)},n=t=>{var r;if(t.element===null)return;const u=t;if(C.has(u.element)||this.nodes.delete(u.element),this.identityProvider){const f=this.identityProvider.getId(u.element).toString();s.has(f)||this.nodesByIdentity.delete(f)}(r=v.onDidDeleteNode)===null||r===void 0||r.call(v,u)};this.model.splice([...m,0],Number.MAX_VALUE,_,Object.assign(Object.assign({},v),{onDidCreateNode:i,onDidDeleteNode:n}))}preserveCollapseState(m=y.Iterable.empty()){return this.sorter&&(m=[...m].sort(this.sorter.compare.bind(this.sorter))),y.Iterable.map(m,_=>{let v=this.nodes.get(_.element);if(!v&&this.identityProvider){const i=this.identityProvider.getId(_.element).toString();v=this.nodesByIdentity.get(i)}if(!v){let i;return typeof _.collapsed>"u"?i=void 0:_.collapsed===I.ObjectTreeElementCollapseState.Collapsed||_.collapsed===I.ObjectTreeElementCollapseState.PreserveOrCollapsed?i=!0:_.collapsed===I.ObjectTreeElementCollapseState.Expanded||_.collapsed===I.ObjectTreeElementCollapseState.PreserveOrExpanded?i=!1:i=!!_.collapsed,Object.assign(Object.assign({},_),{children:this.preserveCollapseState(_.children),collapsed:i})}const C=typeof _.collapsible=="boolean"?_.collapsible:v.collapsible;let s;return typeof _.collapsed>"u"||_.collapsed===I.ObjectTreeElementCollapseState.PreserveOrCollapsed||_.collapsed===I.ObjectTreeElementCollapseState.PreserveOrExpanded?s=v.collapsed:_.collapsed===I.ObjectTreeElementCollapseState.Collapsed?s=!0:_.collapsed===I.ObjectTreeElementCollapseState.Expanded?s=!1:s=!!_.collapsed,Object.assign(Object.assign({},_),{collapsible:C,collapsed:s,children:this.preserveCollapseState(_.children)})})}rerender(m){const _=this.getElementLocation(m);this.model.rerender(_)}getFirstElementChild(m=null){const _=this.getElementLocation(m);return this.model.getFirstElementChild(_)}has(m){return this.nodes.has(m)}getListIndex(m){const _=this.getElementLocation(m);return this.model.getListIndex(_)}getListRenderCount(m){const _=this.getElementLocation(m);return this.model.getListRenderCount(_)}isCollapsible(m){const _=this.getElementLocation(m);return this.model.isCollapsible(_)}setCollapsible(m,_){const v=this.getElementLocation(m);return this.model.setCollapsible(v,_)}isCollapsed(m){const _=this.getElementLocation(m);return this.model.isCollapsed(_)}setCollapsed(m,_,v){const C=this.getElementLocation(m);return this.model.setCollapsed(C,_,v)}expandTo(m){const _=this.getElementLocation(m);this.model.expandTo(_)}refilter(){this.model.refilter()}getNode(m=null){if(m===null)return this.model.getNode(this.model.rootRef);const _=this.nodes.get(m);if(!_)throw new I.TreeError(this.user,`Tree element not found: ${m}`);return _}getNodeLocation(m){return m.element}getParentNodeLocation(m){if(m===null)throw new I.TreeError(this.user,"Invalid getParentNodeLocation call");const _=this.nodes.get(m);if(!_)throw new I.TreeError(this.user,`Tree element not found: ${m}`);const v=this.model.getNodeLocation(_),C=this.model.getParentNodeLocation(v);return this.model.getNode(C).element}getElementLocation(m){if(m===null)return[];const _=this.nodes.get(m);if(!_)throw new I.TreeError(this.user,`Tree element not found: ${m}`);return this.model.getNodeLocation(_)}}e.ObjectTreeModel=D}),define(te[571],ie([1,0,219,137,13,6,43]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTreeModel=e.DefaultElementMapper=e.CompressedObjectTreeModel=e.decompress=e.compress=void 0;function m(l){const o=[l.element],c=l.incompressible||!1;return{element:{elements:o,incompressible:c},children:S.Iterable.map(S.Iterable.from(l.children),m),collapsible:l.collapsible,collapsed:l.collapsed}}function _(l){const o=[l.element],c=l.incompressible||!1;let a,g;for(;[g,a]=S.Iterable.consume(S.Iterable.from(l.children),2),!(g.length!==1||g[0].incompressible);)l=g[0],o.push(l.element);return{element:{elements:o,incompressible:c},children:S.Iterable.map(S.Iterable.concat(g,a),_),collapsible:l.collapsible,collapsed:l.collapsed}}e.compress=_;function v(l,o=0){let c;return ov(a,0)),o===0&&l.element.incompressible?{element:l.element.elements[o],children:c,incompressible:!0,collapsible:l.collapsible,collapsed:l.collapsed}:{element:l.element.elements[o],children:c,collapsible:l.collapsible,collapsed:l.collapsed}}function C(l){return v(l,0)}e.decompress=C;function s(l,o,c){return l.element===o?Object.assign(Object.assign({},l),{children:c}):Object.assign(Object.assign({},l),{children:S.Iterable.map(S.Iterable.from(l.children),a=>s(a,o,c))})}const i=l=>({getId(o){return o.elements.map(c=>l.getId(c).toString()).join("\0")}});class n{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(o,c,a={}){this.user=o,this.rootRef=null,this.nodes=new Map,this.model=new L.ObjectTreeModel(o,c,a),this.enabled=typeof a.compressionEnabled>"u"?!0:a.compressionEnabled,this.identityProvider=a.identityProvider}setChildren(o,c=S.Iterable.empty(),a){const g=a.diffIdentityProvider&&i(a.diffIdentityProvider);if(o===null){const T=S.Iterable.map(c,this.enabled?_:m);this._setChildren(null,T,{diffIdentityProvider:g,diffDepth:1/0});return}const h=this.nodes.get(o);if(!h)throw new I.TreeError(this.user,"Unknown compressed tree node");const p=this.model.getNode(h),b=this.model.getParentNodeLocation(h),w=this.model.getNode(b),E=C(p),k=s(E,o,c),M=(this.enabled?_:m)(k),R=a.diffIdentityProvider?(T,N)=>a.diffIdentityProvider.getId(T)===a.diffIdentityProvider.getId(N):void 0;if((0,y.equals)(M.element.elements,p.element.elements,R)){this._setChildren(h,M.children||S.Iterable.empty(),{diffIdentityProvider:g,diffDepth:1});return}const B=w.children.map(T=>T===p?M:T);this._setChildren(w.element,B,{diffIdentityProvider:g,diffDepth:p.depth-w.depth})}setCompressionEnabled(o){if(o===this.enabled)return;this.enabled=o;const a=this.model.getNode().children,g=S.Iterable.map(a,C),h=S.Iterable.map(g,o?_:m);this._setChildren(null,h,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(o,c,a){const g=new Set,h=b=>{for(const w of b.element.elements)g.add(w),this.nodes.set(w,b.element)},p=b=>{for(const w of b.element.elements)g.has(w)||this.nodes.delete(w)};this.model.setChildren(o,c,Object.assign(Object.assign({},a),{onDidCreateNode:h,onDidDeleteNode:p}))}has(o){return this.nodes.has(o)}getListIndex(o){const c=this.getCompressedNode(o);return this.model.getListIndex(c)}getListRenderCount(o){const c=this.getCompressedNode(o);return this.model.getListRenderCount(c)}getNode(o){if(typeof o>"u")return this.model.getNode();const c=this.getCompressedNode(o);return this.model.getNode(c)}getNodeLocation(o){const c=this.model.getNodeLocation(o);return c===null?null:c.elements[c.elements.length-1]}getParentNodeLocation(o){const c=this.getCompressedNode(o),a=this.model.getParentNodeLocation(c);return a===null?null:a.elements[a.elements.length-1]}getFirstElementChild(o){const c=this.getCompressedNode(o);return this.model.getFirstElementChild(c)}isCollapsible(o){const c=this.getCompressedNode(o);return this.model.isCollapsible(c)}setCollapsible(o,c){const a=this.getCompressedNode(o);return this.model.setCollapsible(a,c)}isCollapsed(o){const c=this.getCompressedNode(o);return this.model.isCollapsed(c)}setCollapsed(o,c,a){const g=this.getCompressedNode(o);return this.model.setCollapsed(g,c,a)}expandTo(o){const c=this.getCompressedNode(o);this.model.expandTo(c)}rerender(o){const c=this.getCompressedNode(o);this.model.rerender(c)}refilter(){this.model.refilter()}getCompressedNode(o){if(o===null)return null;const c=this.nodes.get(o);if(!c)throw new I.TreeError(this.user,`Tree element not found: ${o}`);return c}}e.CompressedObjectTreeModel=n;const t=l=>l[l.length-1];e.DefaultElementMapper=t;class r{get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(o=>new r(this.unwrapper,o))}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}constructor(o,c){this.unwrapper=o,this.node=c}}function u(l,o){return{splice(c,a,g){o.splice(c,a,g.map(h=>l.map(h)))},updateElementHeight(c,a){o.updateElementHeight(c,a)}}}function f(l,o){return Object.assign(Object.assign({},o),{identityProvider:o.identityProvider&&{getId(c){return o.identityProvider.getId(l(c))}},sorter:o.sorter&&{compare(c,a){return o.sorter.compare(c.elements[0],a.elements[0])}},filter:o.filter&&{filter(c,a){return o.filter.filter(l(c),a)}}})}class d{get onDidSplice(){return D.Event.map(this.model.onDidSplice,({insertedNodes:o,deletedNodes:c})=>({insertedNodes:o.map(a=>this.nodeMapper.map(a)),deletedNodes:c.map(a=>this.nodeMapper.map(a))}))}get onDidChangeCollapseState(){return D.Event.map(this.model.onDidChangeCollapseState,({node:o,deep:c})=>({node:this.nodeMapper.map(o),deep:c}))}get onDidChangeRenderNodeCount(){return D.Event.map(this.model.onDidChangeRenderNodeCount,o=>this.nodeMapper.map(o))}constructor(o,c,a={}){this.rootRef=null,this.elementMapper=a.elementMapper||e.DefaultElementMapper;const g=h=>this.elementMapper(h.elements);this.nodeMapper=new I.WeakMapper(h=>new r(g,h)),this.model=new n(o,u(this.nodeMapper,c),f(g,a))}setChildren(o,c=S.Iterable.empty(),a={}){this.model.setChildren(o,c,a)}setCompressionEnabled(o){this.model.setCompressionEnabled(o)}has(o){return this.model.has(o)}getListIndex(o){return this.model.getListIndex(o)}getListRenderCount(o){return this.model.getListRenderCount(o)}getNode(o){return this.nodeMapper.map(this.model.getNode(o))}getNodeLocation(o){return o.element}getParentNodeLocation(o){return this.model.getParentNodeLocation(o)}getFirstElementChild(o){const c=this.model.getFirstElementChild(o);return c===null||typeof c>"u"?c:this.elementMapper(c.elements)}isCollapsible(o){return this.model.isCollapsible(o)}setCollapsible(o,c){return this.model.setCollapsible(o,c)}isCollapsed(o){return this.model.isCollapsed(o)}setCollapsed(o,c,a){return this.model.setCollapsed(o,c,a)}expandTo(o){return this.model.expandTo(o)}rerender(o){return this.model.rerender(o)}refilter(){return this.model.refilter()}getCompressedTreeNode(o=null){return this.model.getNode(o)}}e.CompressibleObjectTreeModel=d}),define(te[307],ie([1,0,17]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.platform=e.env=e.cwd=void 0;let I;if(typeof L.globals.vscode<"u"&&typeof L.globals.vscode.process<"u"){const y=L.globals.vscode.process;I={get platform(){return y.platform},get arch(){return y.arch},get env(){return y.env},cwd(){return y.cwd()}}}else typeof process<"u"?I={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:I={get platform(){return L.isWindows?"win32":L.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=I.cwd,e.env=I.env,e.platform=I.platform}),define(te[572],ie([1,0,307]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerHotReloadHandler=e.isHotReloadEnabled=void 0;function I(){return!!L.env.VSCODE_DEV}e.isHotReloadEnabled=I;function y(m){if(I()){const _=D();return _.add(m),{dispose(){_.delete(m)}}}else return{dispose(){}}}e.registerHotReloadHandler=y;function D(){S||(S=new Set);const m=globalThis;return m.$hotReload_applyNewExports||(m.$hotReload_applyNewExports=_=>{for(const v of S){const C=v(_);if(C)return C}}),S}let S}),define(te[92],ie([1,0,307]),function($,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 I=65,y=97,D=90,S=122,m=46,_=47,v=92,C=58,s=63;class i extends Error{constructor(g,h,p){let b;typeof h=="string"&&h.indexOf("not ")===0?(b="must not be",h=h.replace(/^not /,"")):b="must be";const w=g.indexOf(".")!==-1?"property":"argument";let E=`The "${g}" ${w} ${b} of type ${h}`;E+=`. Received type ${typeof p}`,super(E),this.code="ERR_INVALID_ARG_TYPE"}}function n(a,g){if(a===null||typeof a!="object")throw new i(g,"Object",a)}function t(a,g){if(typeof a!="string")throw new i(g,"string",a)}const r=L.platform==="win32";function u(a){return a===_||a===v}function f(a){return a===_}function d(a){return a>=I&&a<=D||a>=y&&a<=S}function l(a,g,h,p){let b="",w=0,E=-1,k=0,M=0;for(let R=0;R<=a.length;++R){if(R2){const B=b.lastIndexOf(h);B===-1?(b="",w=0):(b=b.slice(0,B),w=b.length-1-b.lastIndexOf(h)),E=R,k=0;continue}else if(b.length!==0){b="",w=0,E=R,k=0;continue}}g&&(b+=b.length>0?`${h}..`:"..",w=2)}else b.length>0?b+=`${h}${a.slice(E+1,R)}`:b=a.slice(E+1,R),w=R-E-1;E=R,k=0}else M===m&&k!==-1?++k:k=-1}return b}function o(a,g){n(g,"pathObject");const h=g.dir||g.root,p=g.base||`${g.name||""}${g.ext||""}`;return h?h===g.root?`${h}${p}`:`${h}${a}${p}`:p}e.win32={resolve(...a){let g="",h="",p=!1;for(let b=a.length-1;b>=-1;b--){let w;if(b>=0){if(w=a[b],t(w,"path"),w.length===0)continue}else g.length===0?w=L.cwd():(w=L.env[`=${g}`]||L.cwd(),(w===void 0||w.slice(0,2).toLowerCase()!==g.toLowerCase()&&w.charCodeAt(2)===v)&&(w=`${g}\\`));const E=w.length;let k=0,M="",R=!1;const B=w.charCodeAt(0);if(E===1)u(B)&&(k=1,R=!0);else if(u(B))if(R=!0,u(w.charCodeAt(1))){let T=2,N=T;for(;T2&&u(w.charCodeAt(2))&&(R=!0,k=3));if(M.length>0)if(g.length>0){if(M.toLowerCase()!==g.toLowerCase())continue}else g=M;if(p){if(g.length>0)break}else if(h=`${w.slice(k)}\\${h}`,p=R,R&&g.length>0)break}return h=l(h,!p,"\\",u),p?`${g}\\${h}`:`${g}${h}`||"."},normalize(a){t(a,"path");const g=a.length;if(g===0)return".";let h=0,p,b=!1;const w=a.charCodeAt(0);if(g===1)return f(w)?"\\":a;if(u(w))if(b=!0,u(a.charCodeAt(1))){let k=2,M=k;for(;k2&&u(a.charCodeAt(2))&&(b=!0,h=3));let E=h0&&u(a.charCodeAt(g-1))&&(E+="\\"),p===void 0?b?`\\${E}`:E:b?`${p}\\${E}`:`${p}${E}`},isAbsolute(a){t(a,"path");const g=a.length;if(g===0)return!1;const h=a.charCodeAt(0);return u(h)||g>2&&d(h)&&a.charCodeAt(1)===C&&u(a.charCodeAt(2))},join(...a){if(a.length===0)return".";let g,h;for(let w=0;w0&&(g===void 0?g=h=E:g+=`\\${E}`)}if(g===void 0)return".";let p=!0,b=0;if(typeof h=="string"&&u(h.charCodeAt(0))){++b;const w=h.length;w>1&&u(h.charCodeAt(1))&&(++b,w>2&&(u(h.charCodeAt(2))?++b:p=!1))}if(p){for(;b=2&&(g=`\\${g.slice(b)}`)}return e.win32.normalize(g)},relative(a,g){if(t(a,"from"),t(g,"to"),a===g)return"";const h=e.win32.resolve(a),p=e.win32.resolve(g);if(h===p||(a=h.toLowerCase(),g=p.toLowerCase(),a===g))return"";let b=0;for(;bb&&a.charCodeAt(w-1)===v;)w--;const E=w-b;let k=0;for(;kk&&g.charCodeAt(M-1)===v;)M--;const R=M-k,B=EB){if(g.charCodeAt(k+N)===v)return p.slice(k+N+1);if(N===2)return p.slice(k+N)}E>B&&(a.charCodeAt(b+N)===v?T=N:N===2&&(T=3)),T===-1&&(T=0)}let A="";for(N=b+T+1;N<=w;++N)(N===w||a.charCodeAt(N)===v)&&(A+=A.length===0?"..":"\\..");return k+=T,A.length>0?`${A}${p.slice(k,M)}`:(p.charCodeAt(k)===v&&++k,p.slice(k,M))},toNamespacedPath(a){if(typeof a!="string"||a.length===0)return a;const g=e.win32.resolve(a);if(g.length<=2)return a;if(g.charCodeAt(0)===v){if(g.charCodeAt(1)===v){const h=g.charCodeAt(2);if(h!==s&&h!==m)return`\\\\?\\UNC\\${g.slice(2)}`}}else if(d(g.charCodeAt(0))&&g.charCodeAt(1)===C&&g.charCodeAt(2)===v)return`\\\\?\\${g}`;return a},dirname(a){t(a,"path");const g=a.length;if(g===0)return".";let h=-1,p=0;const b=a.charCodeAt(0);if(g===1)return u(b)?a:".";if(u(b)){if(h=p=1,u(a.charCodeAt(1))){let k=2,M=k;for(;k2&&u(a.charCodeAt(2))?3:2,p=h);let w=-1,E=!0;for(let k=g-1;k>=p;--k)if(u(a.charCodeAt(k))){if(!E){w=k;break}}else E=!1;if(w===-1){if(h===-1)return".";w=h}return a.slice(0,w)},basename(a,g){g!==void 0&&t(g,"ext"),t(a,"path");let h=0,p=-1,b=!0,w;if(a.length>=2&&d(a.charCodeAt(0))&&a.charCodeAt(1)===C&&(h=2),g!==void 0&&g.length>0&&g.length<=a.length){if(g===a)return"";let E=g.length-1,k=-1;for(w=a.length-1;w>=h;--w){const M=a.charCodeAt(w);if(u(M)){if(!b){h=w+1;break}}else k===-1&&(b=!1,k=w+1),E>=0&&(M===g.charCodeAt(E)?--E===-1&&(p=w):(E=-1,p=k))}return h===p?p=k:p===-1&&(p=a.length),a.slice(h,p)}for(w=a.length-1;w>=h;--w)if(u(a.charCodeAt(w))){if(!b){h=w+1;break}}else p===-1&&(b=!1,p=w+1);return p===-1?"":a.slice(h,p)},extname(a){t(a,"path");let g=0,h=-1,p=0,b=-1,w=!0,E=0;a.length>=2&&a.charCodeAt(1)===C&&d(a.charCodeAt(0))&&(g=p=2);for(let k=a.length-1;k>=g;--k){const M=a.charCodeAt(k);if(u(M)){if(!w){p=k+1;break}continue}b===-1&&(w=!1,b=k+1),M===m?h===-1?h=k:E!==1&&(E=1):h!==-1&&(E=-1)}return h===-1||b===-1||E===0||E===1&&h===b-1&&h===p+1?"":a.slice(h,b)},format:o.bind(null,"\\"),parse(a){t(a,"path");const g={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return g;const h=a.length;let p=0,b=a.charCodeAt(0);if(h===1)return u(b)?(g.root=g.dir=a,g):(g.base=g.name=a,g);if(u(b)){if(p=1,u(a.charCodeAt(1))){let T=2,N=T;for(;T0&&(g.root=a.slice(0,p));let w=-1,E=p,k=-1,M=!0,R=a.length-1,B=0;for(;R>=p;--R){if(b=a.charCodeAt(R),u(b)){if(!M){E=R+1;break}continue}k===-1&&(M=!1,k=R+1),b===m?w===-1?w=R:B!==1&&(B=1):w!==-1&&(B=-1)}return k!==-1&&(w===-1||B===0||B===1&&w===k-1&&w===E+1?g.base=g.name=a.slice(E,k):(g.name=a.slice(E,w),g.base=a.slice(E,k),g.ext=a.slice(w,k))),E>0&&E!==p?g.dir=a.slice(0,E-1):g.dir=g.root,g},sep:"\\",delimiter:";",win32:null,posix:null};const c=(()=>{if(r){const a=/\\/g;return()=>{const g=L.cwd().replace(a,"/");return g.slice(g.indexOf("/"))}}return()=>L.cwd()})();e.posix={resolve(...a){let g="",h=!1;for(let p=a.length-1;p>=-1&&!h;p--){const b=p>=0?a[p]:c();t(b,"path"),b.length!==0&&(g=`${b}/${g}`,h=b.charCodeAt(0)===_)}return g=l(g,!h,"/",f),h?`/${g}`:g.length>0?g:"."},normalize(a){if(t(a,"path"),a.length===0)return".";const g=a.charCodeAt(0)===_,h=a.charCodeAt(a.length-1)===_;return a=l(a,!g,"/",f),a.length===0?g?"/":h?"./":".":(h&&(a+="/"),g?`/${a}`:a)},isAbsolute(a){return t(a,"path"),a.length>0&&a.charCodeAt(0)===_},join(...a){if(a.length===0)return".";let g;for(let h=0;h0&&(g===void 0?g=p:g+=`/${p}`)}return g===void 0?".":e.posix.normalize(g)},relative(a,g){if(t(a,"from"),t(g,"to"),a===g||(a=e.posix.resolve(a),g=e.posix.resolve(g),a===g))return"";const h=1,p=a.length,b=p-h,w=1,E=g.length-w,k=bk){if(g.charCodeAt(w+R)===_)return g.slice(w+R+1);if(R===0)return g.slice(w+R)}else b>k&&(a.charCodeAt(h+R)===_?M=R:R===0&&(M=0));let B="";for(R=h+M+1;R<=p;++R)(R===p||a.charCodeAt(R)===_)&&(B+=B.length===0?"..":"/..");return`${B}${g.slice(w+M)}`},toNamespacedPath(a){return a},dirname(a){if(t(a,"path"),a.length===0)return".";const g=a.charCodeAt(0)===_;let h=-1,p=!0;for(let b=a.length-1;b>=1;--b)if(a.charCodeAt(b)===_){if(!p){h=b;break}}else p=!1;return h===-1?g?"/":".":g&&h===1?"//":a.slice(0,h)},basename(a,g){g!==void 0&&t(g,"ext"),t(a,"path");let h=0,p=-1,b=!0,w;if(g!==void 0&&g.length>0&&g.length<=a.length){if(g===a)return"";let E=g.length-1,k=-1;for(w=a.length-1;w>=0;--w){const M=a.charCodeAt(w);if(M===_){if(!b){h=w+1;break}}else k===-1&&(b=!1,k=w+1),E>=0&&(M===g.charCodeAt(E)?--E===-1&&(p=w):(E=-1,p=k))}return h===p?p=k:p===-1&&(p=a.length),a.slice(h,p)}for(w=a.length-1;w>=0;--w)if(a.charCodeAt(w)===_){if(!b){h=w+1;break}}else p===-1&&(b=!1,p=w+1);return p===-1?"":a.slice(h,p)},extname(a){t(a,"path");let g=-1,h=0,p=-1,b=!0,w=0;for(let E=a.length-1;E>=0;--E){const k=a.charCodeAt(E);if(k===_){if(!b){h=E+1;break}continue}p===-1&&(b=!1,p=E+1),k===m?g===-1?g=E:w!==1&&(w=1):g!==-1&&(w=-1)}return g===-1||p===-1||w===0||w===1&&g===p-1&&g===h+1?"":a.slice(g,p)},format:o.bind(null,"/"),parse(a){t(a,"path");const g={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return g;const h=a.charCodeAt(0)===_;let p;h?(g.root="/",p=1):p=0;let b=-1,w=0,E=-1,k=!0,M=a.length-1,R=0;for(;M>=p;--M){const B=a.charCodeAt(M);if(B===_){if(!k){w=M+1;break}continue}E===-1&&(k=!1,E=M+1),B===m?b===-1?b=M:R!==1&&(R=1):b!==-1&&(R=-1)}if(E!==-1){const B=w===0&&h?1:w;b===-1||R===0||R===1&&b===E-1&&b===w+1?g.base=g.name=a.slice(B,E):(g.name=a.slice(B,b),g.base=a.slice(B,E),g.ext=a.slice(b,E))}return w>0?g.dir=a.slice(0,w-1):h&&(g.dir="/"),g},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=r?e.win32.normalize:e.posix.normalize,e.resolve=r?e.win32.resolve:e.posix.resolve,e.relative=r?e.win32.relative:e.posix.relative,e.dirname=r?e.win32.dirname:e.posix.dirname,e.basename=r?e.win32.basename:e.posix.basename,e.extname=r?e.win32.extname:e.posix.extname,e.sep=r?e.win32.sep:e.posix.sep}),define(te[220],ie([1,0,92,17,10]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasDriveLetter=e.isWindowsDriveLetter=e.isEqualOrParent=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function D(i){return i===47||i===92}e.isPathSeparator=D;function S(i){return i.replace(/[\\/]/g,L.posix.sep)}e.toSlashes=S;function m(i){return i.indexOf("/")===-1&&(i=S(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=m;function _(i,n=L.posix.sep){if(!i)return"";const t=i.length,r=i.charCodeAt(0);if(D(r)){if(D(i.charCodeAt(1))&&!D(i.charCodeAt(2))){let f=3;const d=f;for(;fi.length)return!1;if(t){if(!(0,y.startsWithIgnoreCase)(i,n))return!1;if(n.length===i.length)return!0;let f=n.length;return n.charAt(n.length-1)===r&&f--,i.charAt(f)===r}return n.charAt(n.length-1)!==r&&(n+=r),i.indexOf(n)===0}e.isEqualOrParent=v;function C(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=C;function s(i,n=I.isWindows){return n?C(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=s}),define(te[573],ie([1,0,69,92,17,10]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieceToQuery=e.prepareQuery=e.scoreFuzzy2=void 0;const S=[void 0,[]];function m(d,l,o=0,c=0){const a=l;return a.values&&a.values.length>1?_(d,a.values,o,c):v(d,l,o,c)}e.scoreFuzzy2=m;function _(d,l,o,c){let a=0;const g=[];for(const h of l){const[p,b]=v(d,h,o,c);if(typeof p!="number")return S;a+=p,g.push(...b)}return[a,s(g)]}function v(d,l,o,c){const a=(0,L.fuzzyScore)(l.original,l.originalLowercase,o,d,d.toLowerCase(),c,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return a?[a[0],(0,L.createMatches)(a)]:S}const C=Object.freeze({score:0});function s(d){const l=d.sort((a,g)=>a.start-g.start),o=[];let c;for(const a of l)!c||!i(c,a)?(c=a,o.push(a)):(c.start=Math.min(c.start,a.start),c.end=Math.max(c.end,a.end));return o}function i(d,l){return!(d.end=0,h=n(d);let p;const b=d.split(t);if(b.length>1)for(const w of b){const E=n(w),{pathNormalized:k,normalized:M,normalizedLowercase:R}=u(w);M&&(p||(p=[]),p.push({original:w,originalLowercase:w.toLowerCase(),pathNormalized:k,normalized:M,normalizedLowercase:R,expectContiguousMatch:E}))}return{original:d,originalLowercase:l,pathNormalized:o,normalized:c,normalizedLowercase:a,values:p,containsPathSeparator:g,expectContiguousMatch:h}}e.prepareQuery=r;function u(d){let l;y.isWindows?l=d.replace(/\//g,I.sep):l=d.replace(/\\/g,I.sep);const o=(0,D.stripWildcards)(l).replace(/\s|"/g,"");return{pathNormalized:l,normalized:o,normalizedLowercase:o.toLowerCase()}}function f(d){return Array.isArray(d)?r(d.map(l=>l.original).join(t)):r(d.original)}e.pieceToQuery=f}),define(te[308],ie([1,0,14,220,56,92,17,10]),function($,e,L,I,y,D,S,m){"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 _="[/\\\\]",v="[^/\\\\]",C=/\//g;function s(O,x){switch(O){case 0:return"";case 1:return`${v}*?`;default:return`(?:${_}|${v}+${_}${x?`|${_}${v}+`:""})*?`}}function i(O,x){if(!O)return[];const W=[];let U=!1,F=!1,G="";for(const Y of O){switch(Y){case x:if(!U&&!F){W.push(G),G="";continue}break;case"{":U=!0;break;case"}":U=!1;break;case"[":F=!0;break;case"]":F=!1;break}G+=Y}return G&&W.push(G),W}e.splitGlobAware=i;function n(O){if(!O)return"";let x="";const W=i(O,e.GLOB_SPLIT);if(W.every(U=>U===e.GLOBSTAR))x=".*";else{let U=!1;W.forEach((F,G)=>{if(F===e.GLOBSTAR){if(U)return;x+=s(2,G===W.length-1)}else{let Y=!1,ne="",se=!1,J="";for(const q of F){if(q!=="}"&&Y){ne+=q;continue}if(se&&(q!=="]"||!J)){let H;q==="-"?H=q:(q==="^"||q==="!")&&!J?H="^":q===e.GLOB_SPLIT?H="":H=(0,m.escapeRegExpCharacters)(q),J+=H;continue}switch(q){case"{":Y=!0;continue;case"[":se=!0;continue;case"}":{const V=`(?:${i(ne,",").map(Z=>n(Z)).join("|")})`;x+=V,Y=!1,ne="";break}case"]":{x+="["+J+"]",se=!1,J="";break}case"?":x+=v;continue;case"*":x+=s(1);continue;default:x+=(0,m.escapeRegExpCharacters)(q)}}Gg(ne,x)).filter(ne=>ne!==a),O),U=W.length;if(!U)return a;if(U===1)return W[0];const F=function(ne,se){for(let J=0,q=W.length;J!!ne.allBasenames);G&&(F.allBasenames=G.allBasenames);const Y=W.reduce((ne,se)=>se.allPaths?ne.concat(se.allPaths):ne,[]);return Y.length&&(F.allPaths=Y),F}function k(O,x,W){const U=D.sep===D.posix.sep,F=U?O:O.replace(C,D.sep),G=D.sep+F,Y=D.posix.sep+O;let ne;return W?ne=function(se,J){return typeof se=="string"&&(se===F||se.endsWith(G)||!U&&(se===O||se.endsWith(Y)))?x:null}:ne=function(se,J){return typeof se=="string"&&(se===F||!U&&se===O)?x:null},ne.allPaths=[(W?"*/":"./")+O],ne}function M(O){try{const x=new RegExp(`^${n(O)}$`);return function(W){return x.lastIndex=0,typeof W=="string"&&x.test(W)?O:null}}catch{return a}}function R(O,x,W){return!O||typeof x!="string"?!1:B(O)(x,void 0,W)}e.match=R;function B(O,x={}){if(!O)return c;if(typeof O=="string"||T(O)){const W=g(O,x);if(W===a)return c;const U=function(F,G){return!!W(F,G)};return W.allBasenames&&(U.allBasenames=W.allBasenames),W.allPaths&&(U.allPaths=W.allPaths),U}return N(O,x)}e.parse=B;function T(O){const x=O;return x?typeof x.base=="string"&&typeof x.pattern=="string":!1}e.isRelativePattern=T;function N(O,x){const W=P(Object.getOwnPropertyNames(O).map(ne=>A(ne,O[ne],x)).filter(ne=>ne!==a)),U=W.length;if(!U)return a;if(!W.some(ne=>!!ne.requiresSiblings)){if(U===1)return W[0];const ne=function(q,H){let V;for(let Z=0,ee=W.length;Zbe(this,void 0,void 0,function*(){for(const Z of V){const ee=yield Z;if(typeof ee=="string")return ee}return null}))():null},se=W.find(q=>!!q.allBasenames);se&&(ne.allBasenames=se.allBasenames);const J=W.reduce((q,H)=>H.allPaths?q.concat(H.allPaths):q,[]);return J.length&&(ne.allPaths=J),ne}const F=function(ne,se,J){let q,H;for(let V=0,Z=W.length;Vbe(this,void 0,void 0,function*(){for(const V of H){const Z=yield V;if(typeof Z=="string")return Z}return null}))():null},G=W.find(ne=>!!ne.allBasenames);G&&(F.allBasenames=G.allBasenames);const Y=W.reduce((ne,se)=>se.allPaths?ne.concat(se.allPaths):ne,[]);return Y.length&&(F.allPaths=Y),F}function A(O,x,W){if(x===!1)return a;const U=g(O,W);if(U===a)return a;if(typeof x=="boolean")return U;if(x){const F=x.when;if(typeof F=="string"){const G=(Y,ne,se,J)=>{if(!J||!U(Y,ne))return null;const q=F.replace("$(basename)",()=>se),H=J(q);return(0,L.isThenable)(H)?H.then(V=>V?O:null):H?O:null};return G.requiresSiblings=!0,G}}return U}function P(O,x){const W=O.filter(ne=>!!ne.basenames);if(W.length<2)return O;const U=W.reduce((ne,se)=>{const J=se.basenames;return J?ne.concat(J):ne},[]);let F;if(x){F=[];for(let ne=0,se=U.length;ne{const J=se.patterns;return J?ne.concat(J):ne},[]);const G=function(ne,se){if(typeof ne!="string")return null;if(!se){let q;for(q=ne.length;q>0;q--){const H=ne.charCodeAt(q-1);if(H===47||H===92)break}se=ne.substr(q)}const J=U.indexOf(se);return J!==-1?F[J]:null};G.basenames=U,G.patterns=F,G.allBasenames=U;const Y=O.filter(ne=>!ne.basenames);return Y.push(G),Y}}),define(te[574],ie([1,0,220,17]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeDriveLetter=void 0;function y(S,m=I.isWindows){return(0,L.hasDriveLetter)(S,m)?S.charAt(0).toUpperCase()+S.slice(1):S}e.normalizeDriveLetter=y;let D=Object.create(null)}),define(te[21],ie([1,0,92,17]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const y=/^\w[\w\d+.-]*$/,D=/^\//,S=/^\/\//;function m(h,p){if(!h.scheme&&p)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${h.authority}", path: "${h.path}", query: "${h.query}", fragment: "${h.fragment}"}`);if(h.scheme&&!y.test(h.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(h.path){if(h.authority){if(!D.test(h.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(S.test(h.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function _(h,p){return!h&&!p?"file":h}function v(h,p){switch(h){case"https":case"http":case"file":p?p[0]!==s&&(p=s+p):p=s;break}return p}const C="",s="/",i=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class n{static isUri(p){return p instanceof n?!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}constructor(p,b,w,E,k,M=!1){typeof p=="object"?(this.scheme=p.scheme||C,this.authority=p.authority||C,this.path=p.path||C,this.query=p.query||C,this.fragment=p.fragment||C):(this.scheme=_(p,M),this.authority=b||C,this.path=v(this.scheme,w||C),this.query=E||C,this.fragment=k||C,m(this,M))}get fsPath(){return l(this,!1)}with(p){if(!p)return this;let{scheme:b,authority:w,path:E,query:k,fragment:M}=p;return b===void 0?b=this.scheme:b===null&&(b=C),w===void 0?w=this.authority:w===null&&(w=C),E===void 0?E=this.path:E===null&&(E=C),k===void 0?k=this.query:k===null&&(k=C),M===void 0?M=this.fragment:M===null&&(M=C),b===this.scheme&&w===this.authority&&E===this.path&&k===this.query&&M===this.fragment?this:new r(b,w,E,k,M)}static parse(p,b=!1){const w=i.exec(p);return w?new r(w[2]||C,g(w[4]||C),g(w[5]||C),g(w[7]||C),g(w[9]||C),b):new r(C,C,C,C,C)}static file(p){let b=C;if(I.isWindows&&(p=p.replace(/\\/g,s)),p[0]===s&&p[1]===s){const w=p.indexOf(s,2);w===-1?(b=p.substring(2),p=s):(b=p.substring(2,w),p=p.substring(w)||s)}return new r("file",b,p,C,C)}static from(p,b){return new r(p.scheme,p.authority,p.path,p.query,p.fragment,b)}static joinPath(p,...b){if(!p.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let w;return I.isWindows&&p.scheme==="file"?w=n.file(L.win32.join(l(p,!0),...b)).path:w=L.posix.join(p.path,...b),p.with({path:w})}toString(p=!1){return o(this,p)}toJSON(){return this}static revive(p){var b,w;if(p){if(p instanceof n)return p;{const E=new r(p);return E._formatted=(b=p.external)!==null&&b!==void 0?b:null,E._fsPath=p._sep===t&&(w=p.fsPath)!==null&&w!==void 0?w:null,E}}else return p}}e.URI=n;const t=I.isWindows?1:void 0;class r extends n{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=l(this,!1)),this._fsPath}toString(p=!1){return p?o(this,!0):(this._formatted||(this._formatted=o(this,!1)),this._formatted)}toJSON(){const p={$mid:1};return this._fsPath&&(p.fsPath=this._fsPath,p._sep=t),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 u={[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 f(h,p,b){let w,E=-1;for(let k=0;k=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||p&&M===47||b&&M===91||b&&M===93||b&&M===58)E!==-1&&(w+=encodeURIComponent(h.substring(E,k)),E=-1),w!==void 0&&(w+=h.charAt(k));else{w===void 0&&(w=h.substr(0,k));const R=u[M];R!==void 0?(E!==-1&&(w+=encodeURIComponent(h.substring(E,k)),E=-1),w+=R):E===-1&&(E=k)}}return E!==-1&&(w+=encodeURIComponent(h.substring(E))),w!==void 0?w:h}function d(h){let p;for(let b=0;b1&&h.scheme==="file"?b=`//${h.authority}${h.path}`:h.path.charCodeAt(0)===47&&(h.path.charCodeAt(1)>=65&&h.path.charCodeAt(1)<=90||h.path.charCodeAt(1)>=97&&h.path.charCodeAt(1)<=122)&&h.path.charCodeAt(2)===58?p?b=h.path.substr(1):b=h.path[1].toLowerCase()+h.path.substr(2):b=h.path,I.isWindows&&(b=b.replace(/\//g,"\\")),b}e.uriToFsPath=l;function o(h,p){const b=p?d:f;let w="",{scheme:E,authority:k,path:M,query:R,fragment:B}=h;if(E&&(w+=E,w+=":"),(k||E==="file")&&(w+=s,w+=s),k){let T=k.indexOf("@");if(T!==-1){const N=k.substr(0,T);k=k.substr(T+1),T=N.lastIndexOf(":"),T===-1?w+=b(N,!1,!1):(w+=b(N.substr(0,T),!1,!1),w+=":",w+=b(N.substr(T+1),!1,!0)),w+="@"}k=k.toLowerCase(),T=k.lastIndexOf(":"),T===-1?w+=b(k,!1,!0):(w+=b(k.substr(0,T),!1,!0),w+=k.substr(T))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const T=M.charCodeAt(1);T>=65&&T<=90&&(M=`/${String.fromCharCode(T+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const T=M.charCodeAt(0);T>=65&&T<=90&&(M=`${String.fromCharCode(T+32)}:${M.substr(2)}`)}w+=b(M,!0,!1)}return R&&(w+="?",w+=b(R,!1,!1)),B&&(w+="#",w+=p?B:f(B,!1,!1)),w}function c(h){try{return decodeURIComponent(h)}catch{return h.length>3?h.substr(0,3)+c(h.substr(3)):h}}const a=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function g(h){return h.match(a)?h.replace(a,p=>c(p)):h}}),define(te[221],ie([1,0,138,21]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=e.stringify=void 0;function y(_){return JSON.stringify(_,S)}e.stringify=y;function D(_){let v=JSON.parse(_);return v=m(v),v}e.parse=D;function S(_,v){return v instanceof RegExp?{$mid:2,source:v.source,flags:v.flags}:v}function m(_,v=0){if(!_||v>200)return _;if(typeof _=="object"){switch(_.$mid){case 1:return I.URI.revive(_);case 2:return new RegExp(_.source,_.flags);case 17:return new Date(_.source)}if(_ instanceof L.VSBuffer||_ instanceof Uint8Array)return _;if(Array.isArray(_))for(let C=0;C<_.length;++C)_[C]=m(_[C],v+1);else for(const C in _)Object.hasOwnProperty.call(_,C)&&(_[C]=m(_[C],v+1))}return _}e.revive=m}),define(te[54],ie([1,0,9,17,21]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.RemoteAuthorities=e.connectionTokenQueryName=e.Schemas=void 0;var D;(function(v){v.inMemory="inmemory",v.vscode="vscode",v.internal="private",v.walkThrough="walkThrough",v.walkThroughSnippet="walkThroughSnippet",v.http="http",v.https="https",v.file="file",v.mailto="mailto",v.untitled="untitled",v.data="data",v.command="command",v.vscodeRemote="vscode-remote",v.vscodeRemoteResource="vscode-remote-resource",v.vscodeManagedRemoteResource="vscode-managed-remote-resource",v.vscodeUserData="vscode-userdata",v.vscodeCustomEditor="vscode-custom-editor",v.vscodeNotebookCell="vscode-notebook-cell",v.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",v.vscodeNotebookCellOutput="vscode-notebook-cell-output",v.vscodeInteractiveInput="vscode-interactive-input",v.vscodeSettings="vscode-settings",v.vscodeWorkspaceTrust="vscode-workspace-trust",v.vscodeTerminal="vscode-terminal",v.vscodeChatSesssion="vscode-chat-editor",v.webviewPanel="webview-panel",v.vscodeWebview="vscode-webview",v.extension="extension",v.vscodeFileResource="vscode-file",v.tmp="tmp",v.vsls="vsls",v.vscodeSourceControl="vscode-scm"})(D||(e.Schemas=D={})),e.connectionTokenQueryName="tkn";class S{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${D.vscodeRemoteResource}`}setPreferredWebSchema(C){this._preferredWebSchema=C}rewrite(C){if(this._delegate)try{return this._delegate(C)}catch(u){return L.onUnexpectedError(u),C}const s=C.authority;let i=this._hosts[s];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);const n=this._ports[s],t=this._connectionTokens[s];let r=`path=${encodeURIComponent(C.path)}`;return typeof t=="string"&&(r+=`&${e.connectionTokenQueryName}=${encodeURIComponent(t)}`),y.URI.from({scheme:I.isWeb?this._preferredWebSchema:D.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:r})}}e.RemoteAuthorities=new S;class m{uriToBrowserUri(C){return C.scheme===D.vscodeRemote?e.RemoteAuthorities.rewrite(C):C.scheme===D.file&&(I.isNative||I.isWebWorker&&I.globals.origin===`${D.vscodeFileResource}://${m.FALLBACK_AUTHORITY}`)?C.with({scheme:D.vscodeFileResource,authority:C.authority||m.FALLBACK_AUTHORITY,query:null,fragment:null}):C}}m.FALLBACK_AUTHORITY="vscode-app",e.FileAccess=new m;var _;(function(v){const C=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);v.CoopAndCoep=Object.freeze(C.get("3"));const s="vscode-coi";function i(t){let r;typeof t=="string"?r=new URL(t).searchParams:t instanceof URL?r=t.searchParams:y.URI.isUri(t)&&(r=new URL(t.toString(!0)).searchParams);const u=r?.get(s);if(u)return C.get(u)}v.getHeadersFromQuery=i;function n(t,r,u){if(!globalThis.crossOriginIsolated)return;const f=r&&u?"3":u?"2":"1";t instanceof URLSearchParams?t.set(s,f):t[s]=f}v.addSearchParam=n})(_||(e.COI=_={}))}),define(te[7],ie([1,0,51,217,44,60,9,6,309,2,54,17]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.h=e.DragAndDropObserver=e.ModifierKeyEmitter=e.basicMarkupHtmlTags=e.hookDomPurifyHrefAndSrcSanitizer=e.asCssValueWithDefault=e.asCSSPropertyValue=e.asCSSUrl=e.animate=e.windowOpenNoOpener=e.computeScreenAwareSize=e.hide=e.show=e.setVisibility=e.$=e.Namespace=e.reset=e.prepend=e.append=e.trackFocus=e.restoreParentsScrollTop=e.saveParentsScrollTop=e.EventHelper=e.isEventLike=e.EventType=e.isHTMLElement=e.removeCSSRulesContainingSelector=e.createCSSRule=e.createStyleSheet=e.getActiveDocument=e.getActiveElement=e.getShadowRoot=e.isInShadowDOM=e.isShadowRoot=e.hasParentWithClass=e.findParentWithClass=e.isAncestor=e.getTotalHeight=e.getContentHeight=e.getContentWidth=e.getTotalWidth=e.getDomNodeZoomLevel=e.getDomNodePagePosition=e.size=e.getTopLeftOffset=e.Dimension=e.getClientArea=e.getComputedStyle=e.scheduleAtNextAnimationFrame=e.runAtThisOrScheduleAtNextAnimationFrame=e.addDisposableGenericMouseUpListener=e.addDisposableGenericMouseDownListener=e.addStandardDisposableGenericMouseUpListener=e.addStandardDisposableGenericMouseDownListener=e.addStandardDisposableListener=e.addDisposableListener=e.isInDOM=e.clearNode=e.onDidCreateWindow=e.getWindows=e.registerWindow=void 0,i=function(){const Se=[],_e=new m.Emitter;return{onDidCreateWindow:_e.event,registerWindow(ke){Se.push(ke);const Oe=new v.DisposableStore;return Oe.add((0,v.toDisposable)(()=>{const We=Se.indexOf(ke);We!==-1&&Se.splice(We,1)})),_e.fire({window:ke,disposableStore:Oe}),Oe},getWindows(){return Se}}}(),e.registerWindow=i.registerWindow,e.getWindows=i.getWindows,e.onDidCreateWindow=i.onDidCreateWindow;function n(Se){for(;Se.firstChild;)Se.firstChild.remove()}e.clearNode=n;function t(Se){var _e;return(_e=Se?.isConnected)!==null&&_e!==void 0?_e:!1}e.isInDOM=t;class r{constructor(_e,ke,Oe,We){this._node=_e,this._type=ke,this._handler=Oe,this._options=We||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function u(Se,_e,ke,Oe){return new r(Se,_e,ke,Oe)}e.addDisposableListener=u;function f(Se){return function(_e){return Se(new D.StandardMouseEvent(_e))}}function d(Se){return function(_e){return Se(new y.StandardKeyboardEvent(_e))}}const l=function(_e,ke,Oe,We){let qe=Oe;return ke==="click"||ke==="mousedown"?qe=f(Oe):(ke==="keydown"||ke==="keypress"||ke==="keyup")&&(qe=d(Oe)),u(_e,ke,qe,We)};e.addStandardDisposableListener=l;const o=function(_e,ke,Oe){const We=f(ke);return a(_e,We,Oe)};e.addStandardDisposableGenericMouseDownListener=o;const c=function(_e,ke,Oe){const We=f(ke);return g(_e,We,Oe)};e.addStandardDisposableGenericMouseUpListener=c;function a(Se,_e,ke){return u(Se,s.isIOS&&I.BrowserFeatures.pointerEvents?e.EventType.POINTER_DOWN:e.EventType.MOUSE_DOWN,_e,ke)}e.addDisposableGenericMouseDownListener=a;function g(Se,_e,ke){return u(Se,s.isIOS&&I.BrowserFeatures.pointerEvents?e.EventType.POINTER_UP:e.EventType.MOUSE_UP,_e,ke)}e.addDisposableGenericMouseUpListener=g;class h{constructor(_e,ke=0){this._runner=_e,this.priority=ke,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(_e){(0,S.onUnexpectedError)(_e)}}static sort(_e,ke){return ke.priority-_e.priority}}(function(){let Se=[],_e=null,ke=!1,Oe=!1;const We=()=>{for(ke=!1,_e=Se,Se=[],Oe=!0;_e.length>0;)_e.sort(h.sort),_e.shift().execute();Oe=!1};e.scheduleAtNextAnimationFrame=(qe,Ge=0)=>{const je=new h(qe,Ge);return Se.push(je),ke||(ke=!0,requestAnimationFrame(We)),je},e.runAtThisOrScheduleAtNextAnimationFrame=(qe,Ge)=>{if(Oe){const je=new h(qe,Ge);return _e.push(je),je}else return(0,e.scheduleAtNextAnimationFrame)(qe,Ge)}})();function p(Se){return Se.ownerDocument.defaultView.getComputedStyle(Se,null)}e.getComputedStyle=p;function b(Se){var _e;const ke=Se.ownerDocument,Oe=(_e=ke.defaultView)===null||_e===void 0?void 0:_e.window;if(Se!==ke.body)return new E(Se.clientWidth,Se.clientHeight);if(s.isIOS&&Oe?.visualViewport)return new E(Oe.visualViewport.width,Oe.visualViewport.height);if(Oe?.innerWidth&&Oe.innerHeight)return new E(Oe.innerWidth,Oe.innerHeight);if(ke.body&&ke.body.clientWidth&&ke.body.clientHeight)return new E(ke.body.clientWidth,ke.body.clientHeight);if(ke.documentElement&&ke.documentElement.clientWidth&&ke.documentElement.clientHeight)return new E(ke.documentElement.clientWidth,ke.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}e.getClientArea=b;class w{static convertToPixels(_e,ke){return parseFloat(ke)||0}static getDimension(_e,ke,Oe){const We=p(_e),qe=We?We.getPropertyValue(ke):"0";return w.convertToPixels(_e,qe)}static getBorderLeftWidth(_e){return w.getDimension(_e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(_e){return w.getDimension(_e,"border-right-width","borderRightWidth")}static getBorderTopWidth(_e){return w.getDimension(_e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(_e){return w.getDimension(_e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(_e){return w.getDimension(_e,"padding-left","paddingLeft")}static getPaddingRight(_e){return w.getDimension(_e,"padding-right","paddingRight")}static getPaddingTop(_e){return w.getDimension(_e,"padding-top","paddingTop")}static getPaddingBottom(_e){return w.getDimension(_e,"padding-bottom","paddingBottom")}static getMarginLeft(_e){return w.getDimension(_e,"margin-left","marginLeft")}static getMarginTop(_e){return w.getDimension(_e,"margin-top","marginTop")}static getMarginRight(_e){return w.getDimension(_e,"margin-right","marginRight")}static getMarginBottom(_e){return w.getDimension(_e,"margin-bottom","marginBottom")}}class E{constructor(_e,ke){this.width=_e,this.height=ke}with(_e=this.width,ke=this.height){return _e!==this.width||ke!==this.height?new E(_e,ke):this}static is(_e){return typeof _e=="object"&&typeof _e.height=="number"&&typeof _e.width=="number"}static lift(_e){return _e instanceof E?_e:new E(_e.width,_e.height)}static equals(_e,ke){return _e===ke?!0:!_e||!ke?!1:_e.width===ke.width&&_e.height===ke.height}}e.Dimension=E,E.None=new E(0,0);function k(Se){let _e=Se.offsetParent,ke=Se.offsetTop,Oe=Se.offsetLeft;for(;(Se=Se.parentNode)!==null&&Se!==Se.ownerDocument.body&&Se!==Se.ownerDocument.documentElement;){ke-=Se.scrollTop;const We=U(Se)?null:p(Se);We&&(Oe-=We.direction!=="rtl"?Se.scrollLeft:-Se.scrollLeft),Se===_e&&(Oe+=w.getBorderLeftWidth(Se),ke+=w.getBorderTopWidth(Se),ke+=Se.offsetTop,Oe+=Se.offsetLeft,_e=Se.offsetParent)}return{left:Oe,top:ke}}e.getTopLeftOffset=k;function M(Se,_e,ke){typeof _e=="number"&&(Se.style.width=`${_e}px`),typeof ke=="number"&&(Se.style.height=`${ke}px`)}e.size=M;function R(Se){var _e,ke,Oe,We;const qe=Se.getBoundingClientRect();return{left:qe.left+((ke=(_e=Se.ownerDocument.defaultView)===null||_e===void 0?void 0:_e.scrollX)!==null&&ke!==void 0?ke:0),top:qe.top+((We=(Oe=Se.ownerDocument.defaultView)===null||Oe===void 0?void 0:Oe.scrollY)!==null&&We!==void 0?We:0),width:qe.width,height:qe.height}}e.getDomNodePagePosition=R;function B(Se){let _e=Se,ke=1;do{const Oe=p(_e).zoom;Oe!=null&&Oe!=="1"&&(ke*=Oe),_e=_e.parentElement}while(_e!==null&&_e!==_e.ownerDocument.documentElement);return ke}e.getDomNodeZoomLevel=B;function T(Se){const _e=w.getMarginLeft(Se)+w.getMarginRight(Se);return Se.offsetWidth+_e}e.getTotalWidth=T;function N(Se){const _e=w.getBorderLeftWidth(Se)+w.getBorderRightWidth(Se),ke=w.getPaddingLeft(Se)+w.getPaddingRight(Se);return Se.offsetWidth-_e-ke}e.getContentWidth=N;function A(Se){const _e=w.getBorderTopWidth(Se)+w.getBorderBottomWidth(Se),ke=w.getPaddingTop(Se)+w.getPaddingBottom(Se);return Se.offsetHeight-_e-ke}e.getContentHeight=A;function P(Se){const _e=w.getMarginTop(Se)+w.getMarginBottom(Se);return Se.offsetHeight+_e}e.getTotalHeight=P;function O(Se,_e){for(;Se;){if(Se===_e)return!0;Se=Se.parentNode}return!1}e.isAncestor=O;function x(Se,_e,ke){for(;Se&&Se.nodeType===Se.ELEMENT_NODE;){if(Se.classList.contains(_e))return Se;if(ke){if(typeof ke=="string"){if(Se.classList.contains(ke))return null}else if(Se===ke)return null}Se=Se.parentNode}return null}e.findParentWithClass=x;function W(Se,_e,ke){return!!x(Se,_e,ke)}e.hasParentWithClass=W;function U(Se){return Se&&!!Se.host&&!!Se.mode}e.isShadowRoot=U;function F(Se){return!!G(Se)}e.isInShadowDOM=F;function G(Se){for(var _e;Se.parentNode;){if(Se===((_e=Se.ownerDocument)===null||_e===void 0?void 0:_e.body))return null;Se=Se.parentNode}return U(Se)?Se:null}e.getShadowRoot=G;function Y(){let Se=ne().activeElement;for(;Se?.shadowRoot;)Se=Se.shadowRoot.activeElement;return Se}e.getActiveElement=Y;function ne(){var Se;return(Se=[document,...(0,e.getWindows)().map(ke=>ke.document)].find(ke=>ke.hasFocus()))!==null&&Se!==void 0?Se:document}e.getActiveDocument=ne;function se(Se=document.getElementsByTagName("head")[0],_e){const ke=document.createElement("style");return ke.type="text/css",ke.media="screen",_e?.(ke),Se.appendChild(ke),ke}e.createStyleSheet=se;let J=null;function q(){return J||(J=se()),J}function H(Se){var _e,ke;return!((_e=Se?.sheet)===null||_e===void 0)&&_e.rules?Se.sheet.rules:!((ke=Se?.sheet)===null||ke===void 0)&&ke.cssRules?Se.sheet.cssRules:[]}function V(Se,_e,ke=q()){!ke||!_e||ke.sheet.insertRule(Se+"{"+_e+"}",0)}e.createCSSRule=V;function Z(Se,_e=q()){if(!_e)return;const ke=H(_e),Oe=[];for(let We=0;We=0;We--)_e.sheet.deleteRule(Oe[We])}e.removeCSSRulesContainingSelector=Z;function ee(Se){return typeof HTMLElement=="object"?Se instanceof HTMLElement:Se&&typeof Se=="object"&&Se.nodeType===1&&typeof Se.nodeName=="string"}e.isHTMLElement=ee,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",POINTER_LEAVE:"pointerleave",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"};function le(Se){const _e=Se;return!!(_e&&typeof _e.preventDefault=="function"&&typeof _e.stopPropagation=="function")}e.isEventLike=le,e.EventHelper={stop:(Se,_e)=>(Se.preventDefault(),_e&&Se.stopPropagation(),Se)};function ue(Se){const _e=[];for(let ke=0;Se&&Se.nodeType===Se.ELEMENT_NODE;ke++)_e[ke]=Se.scrollTop,Se=Se.parentNode;return _e}e.saveParentsScrollTop=ue;function de(Se,_e){for(let ke=0;Se&&Se.nodeType===Se.ELEMENT_NODE;ke++)Se.scrollTop!==_e[ke]&&(Se.scrollTop=_e[ke]),Se=Se.parentNode}e.restoreParentsScrollTop=de;class ce extends v.Disposable{static hasFocusWithin(_e){if(ee(_e)){const ke=G(_e),Oe=ke?ke.activeElement:_e.ownerDocument.activeElement;return O(Oe,_e)}else return O(window.document.activeElement,window.document)}constructor(_e){super(),this._onDidFocus=this._register(new m.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new m.Emitter),this.onDidBlur=this._onDidBlur.event;let ke=ce.hasFocusWithin(_e),Oe=!1;const We=()=>{Oe=!1,ke||(ke=!0,this._onDidFocus.fire())},qe=()=>{ke&&(Oe=!0,window.setTimeout(()=>{Oe&&(Oe=!1,ke=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{ce.hasFocusWithin(_e)!==ke&&(ke?qe():We())},this._register(u(_e,e.EventType.FOCUS,We,!0)),this._register(u(_e,e.EventType.BLUR,qe,!0)),_e instanceof HTMLElement&&(this._register(u(_e,e.EventType.FOCUS_IN,()=>this._refreshStateHandler())),this._register(u(_e,e.EventType.FOCUS_OUT,()=>this._refreshStateHandler())))}}function ae(Se){return new ce(Se)}e.trackFocus=ae;function X(Se,..._e){if(Se.append(..._e),_e.length===1&&typeof _e[0]!="string")return _e[0]}e.append=X;function K(Se,_e){return Se.insertBefore(_e,Se.firstChild),_e}e.prepend=K;function z(Se,..._e){Se.innerText="",X(Se,..._e)}e.reset=z;const Q=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var j;(function(Se){Se.HTML="http://www.w3.org/1999/xhtml",Se.SVG="http://www.w3.org/2000/svg"})(j||(e.Namespace=j={}));function re(Se,_e,ke,...Oe){const We=Q.exec(_e);if(!We)throw new Error("Bad use of emmet");const qe=We[1]||"div";let Ge;return Se!==j.HTML?Ge=document.createElementNS(Se,qe):Ge=document.createElement(qe),We[3]&&(Ge.id=We[3]),We[4]&&(Ge.className=We[4].replace(/\./g," ").trim()),ke&&Object.entries(ke).forEach(([je,it])=>{typeof it>"u"||(/^on\w+$/.test(je)?Ge[je]=it:je==="selected"?it&&Ge.setAttribute(je,"true"):Ge.setAttribute(je,it))}),Ge.append(...Oe),Ge}function oe(Se,_e,...ke){return re(j.HTML,Se,_e,...ke)}e.$=oe,oe.SVG=function(Se,_e,...ke){return re(j.SVG,Se,_e,...ke)};function he(Se,..._e){Se?me(..._e):pe(..._e)}e.setVisibility=he;function me(...Se){for(const _e of Se)_e.style.display="",_e.removeAttribute("aria-hidden")}e.show=me;function pe(...Se){for(const _e of Se)_e.style.display="none",_e.setAttribute("aria-hidden","true")}e.hide=pe;function ve(Se){const _e=window.devicePixelRatio*Se;return Math.max(1,Math.floor(_e))/window.devicePixelRatio}e.computeScreenAwareSize=ve;function we(Se){window.open(Se,"_blank","noopener")}e.windowOpenNoOpener=we;function Le(Se){const _e=()=>{Se(),ke=(0,e.scheduleAtNextAnimationFrame)(_e)};let ke=(0,e.scheduleAtNextAnimationFrame)(_e);return(0,v.toDisposable)(()=>ke.dispose())}e.animate=Le,C.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function Ee(Se){return Se?`url('${C.FileAccess.uriToBrowserUri(Se).toString(!0).replace(/'/g,"%27")}')`:"url('')"}e.asCSSUrl=Ee;function Ae(Se){return`'${Se.replace(/'/g,"%27")}'`}e.asCSSPropertyValue=Ae;function Re(Se,_e){if(Se!==void 0){const ke=Se.match(/^\s*var\((.+)\)$/);if(ke){const Oe=ke[1].split(",",2);return Oe.length===2&&(_e=Re(Oe[1].trim(),_e)),`var(${Oe[0]}, ${_e})`}return Se}return _e}e.asCssValueWithDefault=Re;function Be(Se,_e=!1){const ke=document.createElement("a");return _.addHook("afterSanitizeAttributes",Oe=>{for(const We of["href","src"])if(Oe.hasAttribute(We)){const qe=Oe.getAttribute(We);if(We==="href"&&qe.startsWith("#"))continue;if(ke.href=qe,!Se.includes(ke.protocol.replace(/:$/,""))){if(_e&&We==="src"&&ke.href.startsWith("data:"))continue;Oe.removeAttribute(We)}}}),(0,v.toDisposable)(()=>{_.removeHook("afterSanitizeAttributes")})}e.hookDomPurifyHrefAndSrcSanitizer=Be,e.basicMarkupHtmlTags=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);const ye=Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class De extends m.Emitter{constructor(){super(),this._subscriptions=new v.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(u(window,"keydown",_e=>{if(_e.defaultPrevented)return;const ke=new y.StandardKeyboardEvent(_e);if(!(ke.keyCode===6&&_e.repeat)){if(_e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(_e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(_e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(_e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(ke.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=_e.altKey,this._keyStatus.ctrlKey=_e.ctrlKey,this._keyStatus.metaKey=_e.metaKey,this._keyStatus.shiftKey=_e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=_e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(u(window,"keyup",_e=>{_e.defaultPrevented||(!_e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!_e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!_e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!_e.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=_e.altKey,this._keyStatus.ctrlKey=_e.ctrlKey,this._keyStatus.metaKey=_e.metaKey,this._keyStatus.shiftKey=_e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=_e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(u(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(u(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(u(document.body,"mousemove",_e=>{_e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(u(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 De.instance||(De.instance=new De),De.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}e.ModifierKeyEmitter=De;class fe extends v.Disposable{constructor(_e,ke){super(),this.element=_e,this.callbacks=ke,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(u(this.element,e.EventType.DRAG_ENTER,_e=>{this.counter++,this.dragStartTime=_e.timeStamp,this.callbacks.onDragEnter(_e)})),this._register(u(this.element,e.EventType.DRAG_OVER,_e=>{var ke,Oe;_e.preventDefault(),(Oe=(ke=this.callbacks).onDragOver)===null||Oe===void 0||Oe.call(ke,_e,_e.timeStamp-this.dragStartTime)})),this._register(u(this.element,e.EventType.DRAG_LEAVE,_e=>{this.counter--,this.counter===0&&(this.dragStartTime=0,this.callbacks.onDragLeave(_e))})),this._register(u(this.element,e.EventType.DRAG_END,_e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(_e)})),this._register(u(this.element,e.EventType.DROP,_e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(_e)}))}}e.DragAndDropObserver=fe;const Ce=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function Me(Se,..._e){let ke,Oe;Array.isArray(_e[0])?(ke={},Oe=_e[0]):(ke=_e[0]||{},Oe=_e[1]);const We=Ce.exec(Se);if(!We||!We.groups)throw new Error("Bad use of h");const qe=We.groups.tag||"div",Ge=document.createElement(qe);We.groups.id&&(Ge.id=We.groups.id);const je=[];if(We.groups.class)for(const Ze of We.groups.class.split("."))Ze!==""&&je.push(Ze);if(ke.className!==void 0)for(const Ze of ke.className.split("."))Ze!==""&&je.push(Ze);je.length>0&&(Ge.className=je.join(" "));const it={};if(We.groups.name&&(it[We.groups.name]=Ge),Oe)for(const Ze of Oe)Ze instanceof HTMLElement?Ge.appendChild(Ze):typeof Ze=="string"?Ge.append(Ze):"root"in Ze&&(Object.assign(it,Ze),Ge.appendChild(Ze.root));for(const[Ze,dt]of Object.entries(ke))if(Ze!=="className")if(Ze==="style")for(const[at,nt]of Object.entries(dt))Ge.style.setProperty(Pe(at),typeof nt=="number"?nt+"px":""+nt);else Ze==="tabIndex"?Ge.tabIndex=dt:Ge.setAttribute(Pe(Ze),dt.toString());return it.root=Ge,it}e.h=Me;function Pe(Se){return Se.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),define(te[310],ie([1,0,7]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=e.renderFormattedText=e.renderText=void 0;function I(s,i={}){const n=D(i);return n.textContent=s,n}e.renderText=I;function y(s,i={}){const n=D(i);return m(n,_(s,!!i.renderCodeSegments),i.actionHandler,i.renderCodeSegments),n}e.renderFormattedText=y;function D(s){const i=s.inline?"span":"div",n=document.createElement(i);return s.className&&(n.className=s.className),n}e.createElement=D;class S{constructor(i){this.source=i,this.index=0}eos(){return this.index>=this.source.length}next(){const i=this.peek();return this.advance(),i}peek(){return this.source[this.index]}advance(){this.index++}}function m(s,i,n,t){let r;if(i.type===2)r=document.createTextNode(i.content||"");else if(i.type===3)r=document.createElement("b");else if(i.type===4)r=document.createElement("i");else if(i.type===7&&t)r=document.createElement("code");else if(i.type===5&&n){const u=document.createElement("a");n.disposables.add(L.addStandardDisposableListener(u,"click",f=>{n.callback(String(i.index),f)})),r=u}else i.type===8?r=document.createElement("br"):i.type===1&&(r=s);r&&s!==r&&s.appendChild(r),r&&Array.isArray(i.children)&&i.children.forEach(u=>{m(r,u,n,t)})}function _(s,i){const n={type:1,children:[]};let t=0,r=n;const u=[],f=new S(s);for(;!f.eos();){let d=f.next();const l=d==="\\"&&C(f.peek(),i)!==0;if(l&&(d=f.next()),!l&&v(d,i)&&d===f.peek()){f.advance(),r.type===2&&(r=u.pop());const o=C(d,i);if(r.type===o||r.type===5&&o===6)r=u.pop();else{const c={type:o,children:[]};o===5&&(c.index=t,t++),r.children.push(c),u.push(r),r=c}}else if(d===` +`)r.type===2&&(r=u.pop()),r.children.push({type:8});else if(r.type!==2){const o={type:2,content:d};r.children.push(o),u.push(r),r=o}else r.content+=d}return r.type===2&&(r=u.pop()),u.length,n}function v(s,i){return C(s,i)!==0}function C(s,i){switch(s){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return i?7:0;default:return 0}}}),define(te[151],ie([1,0,7,2]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalPointerMoveMonitor=void 0;class y{constructor(){this._hooks=new I.DisposableStore,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(S,m){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const _=this._onStopCallback;this._onStopCallback=null,S&&_&&_(m)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(S,m,_,v,C){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=v,this._onStopCallback=C;let s=S;try{S.setPointerCapture(m),this._hooks.add((0,I.toDisposable)(()=>{try{S.releasePointerCapture(m)}catch{}}))}catch{s=window}this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_MOVE,i=>{if(i.buttons!==_){this.stopMonitoring(!0);return}i.preventDefault(),this._pointerMoveCallback(i)})),this._hooks.add(L.addDisposableListener(s,L.EventType.POINTER_UP,i=>this.stopMonitoring(!0)))}}e.GlobalPointerMoveMonitor=y}),define(te[61],ie([1,0,7,13,105,2,63]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gesture=e.EventType=void 0;var m;(function(v){v.Tap="-monaco-gesturetap",v.Change="-monaco-gesturechange",v.Start="-monaco-gesturestart",v.End="-monaco-gesturesend",v.Contextmenu="-monaco-gesturecontextmenu"})(m||(e.EventType=m={}));class _ extends D.Disposable{constructor(){super(),this.dispatched=!1,this.targets=new S.LinkedList,this.ignoreTargets=new S.LinkedList,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(L.addDisposableListener(document,"touchstart",C=>this.onTouchStart(C),{passive:!1})),this._register(L.addDisposableListener(document,"touchend",C=>this.onTouchEnd(C))),this._register(L.addDisposableListener(document,"touchmove",C=>this.onTouchMove(C),{passive:!1}))}static addTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=(0,D.markAsSingleton)(new _));const s=_.INSTANCE.targets.push(C);return(0,D.toDisposable)(s)}static ignoreTarget(C){if(!_.isTouchDevice())return D.Disposable.None;_.INSTANCE||(_.INSTANCE=(0,D.markAsSingleton)(new _));const s=_.INSTANCE.ignoreTargets.push(C);return(0,D.toDisposable)(s)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(C){const s=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=C.targetTouches.length;i=_.HOLD_DELAY&&Math.abs(u.initialPageX-I.tail(u.rollingPageX))<30&&Math.abs(u.initialPageY-I.tail(u.rollingPageY))<30){const d=this.newGestureEvent(m.Contextmenu,u.initialTarget);d.pageX=I.tail(u.rollingPageX),d.pageY=I.tail(u.rollingPageY),this.dispatchEvent(d)}else if(i===1){const d=I.tail(u.rollingPageX),l=I.tail(u.rollingPageY),o=I.tail(u.rollingTimestamps)-u.rollingTimestamps[0],c=d-u.rollingPageX[0],a=l-u.rollingPageY[0],g=[...this.targets].filter(h=>u.initialTarget instanceof Node&&h.contains(u.initialTarget));this.inertia(g,s,Math.abs(c)/o,c>0?1:-1,d,Math.abs(a)/o,a>0?1:-1,l)}this.dispatchEvent(this.newGestureEvent(m.End,u.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}newGestureEvent(C,s){const i=document.createEvent("CustomEvent");return i.initEvent(C,!1,!0),i.initialTarget=s,i.tapCount=0,i}dispatchEvent(C){if(C.type===m.Tap){const s=new Date().getTime();let i=0;s-this._lastSetTapCountTime>_.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=s,C.tapCount=i}else(C.type===m.Change||C.type===m.Contextmenu)&&(this._lastSetTapCountTime=0);if(C.initialTarget instanceof Node){for(const s of this.ignoreTargets)if(s.contains(C.initialTarget))return;for(const s of this.targets)s.contains(C.initialTarget)&&(s.dispatchEvent(C),this.dispatched=!0)}}inertia(C,s,i,n,t,r,u,f){this.handle=L.scheduleAtNextAnimationFrame(()=>{const d=Date.now(),l=d-s;let o=0,c=0,a=!0;i+=_.SCROLL_FRICTION*l,r+=_.SCROLL_FRICTION*l,i>0&&(a=!1,o=n*i*l),r>0&&(a=!1,c=u*r*l);const g=this.newGestureEvent(m.Change);g.translationX=o,g.translationY=c,C.forEach(h=>h.dispatchEvent(g)),a||this.inertia(C,d,i,n,t+o,r,u,f+c)})}onTouchMove(C){const s=Date.now();for(let i=0,n=C.changedTouches.length;i3&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(t.pageX),r.rollingPageY.push(t.pageY),r.rollingTimestamps.push(s)}this.dispatched&&(C.preventDefault(),C.stopPropagation(),this.dispatched=!1)}}e.Gesture=_,_.SCROLL_FRICTION=-.005,_.HOLD_DELAY=700,_.CLEAR_TAP_COUNT_TIME=400,Ie([y.memoize],_,"isTouchDevice",null)}),define(te[45],ie([1,0,7,398]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.status=e.alert=e.setARIAContainer=void 0;const I=2e4;let y,D,S,m,_;function v(n){y=document.createElement("div"),y.className="monaco-aria-container";const t=()=>{const u=document.createElement("div");return u.className="monaco-alert",u.setAttribute("role","alert"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};D=t(),S=t();const r=()=>{const u=document.createElement("div");return u.className="monaco-status",u.setAttribute("aria-live","polite"),u.setAttribute("aria-atomic","true"),y.appendChild(u),u};m=r(),_=r(),n.appendChild(y)}e.setARIAContainer=v;function C(n){y&&(D.textContent!==n?(L.clearNode(S),i(D,n)):(L.clearNode(D),i(S,n)))}e.alert=C;function s(n){y&&(m.textContent!==n?(L.clearNode(_),i(m,n)):(L.clearNode(m),i(_,n)))}e.status=s;function i(n,t){L.clearNode(n),t.length>I&&(t=t.substr(0,I)),n.textContent=t,n.style.visibility="hidden",n.style.visibility="visible"}}),define(te[311],ie([1,0,217,7,2,17,165,402]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextView=e.layout=e.LayoutAnchorMode=e.isAnchor=void 0;function m(i){const n=i;return!!n&&typeof n.x=="number"&&typeof n.y=="number"}e.isAnchor=m;var _;(function(i){i[i.AVOID=0]="AVOID",i[i.ALIGN=1]="ALIGN"})(_||(e.LayoutAnchorMode=_={}));function v(i,n,t){const r=t.mode===_.ALIGN?t.offset:t.offset+t.size,u=t.mode===_.ALIGN?t.offset+t.size:t.offset;return t.position===0?n<=i-r?r:n<=u?u-n:Math.max(i-n,0):n<=u?u-n:n<=i-r?r:0}e.layout=v;class C extends y.Disposable{constructor(n,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=y.Disposable.None,this.toDisposeOnSetContainer=y.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=I.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,I.hide(this.view),this.setContainer(n,t),this._register((0,y.toDisposable)(()=>this.setContainer(null,1)))}setContainer(n,t){var r;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(r=this.shadowRootHostElement)===null||r===void 0||r.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),n){if(this.container=n,this.useFixedPosition=t!==1,this.useShadowDOM=t===3,this.useShadowDOM){this.shadowRootHostElement=I.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const f=document.createElement("style");f.textContent=s,this.shadowRoot.appendChild(f),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(I.$("slot"))}else this.container.appendChild(this.view);const u=new y.DisposableStore;C.BUBBLE_UP_EVENTS.forEach(f=>{u.add(I.addStandardDisposableListener(this.container,f,d=>{this.onDOMEvent(d,!1)}))}),C.BUBBLE_DOWN_EVENTS.forEach(f=>{u.add(I.addStandardDisposableListener(this.container,f,d=>{this.onDOMEvent(d,!0)},!0))}),this.toDisposeOnSetContainer=u}}show(n){var t,r;this.isVisible()&&this.hide(),I.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2575",this.view.style.position=this.useFixedPosition?"fixed":"absolute",I.show(this.view),this.toDisposeOnClean=n.render(this.view)||y.Disposable.None,this.delegate=n,this.doLayout(),(r=(t=this.delegate).focus)===null||r===void 0||r.call(t)}getViewElement(){return this.view}layout(){if(this.isVisible()){if(this.delegate.canRelayout===!1&&!(D.isIOS&&L.BrowserFeatures.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;const n=this.delegate.getAnchor();let t;if(I.isHTMLElement(n)){const g=I.getDomNodePagePosition(n),h=I.getDomNodeZoomLevel(n);t={top:g.top*h,left:g.left*h,width:g.width*h,height:g.height*h}}else m(n)?t={top:n.y,left:n.x,width:n.width||1,height:n.height||2}:t={top:n.posy,left:n.posx,width:2,height:2};const r=I.getTotalWidth(this.view),u=I.getTotalHeight(this.view),f=this.delegate.anchorPosition||0,d=this.delegate.anchorAlignment||0,l=this.delegate.anchorAxisAlignment||0;let o,c;if(l===0){const g={offset:t.top-window.pageYOffset,size:t.height,position:f===0?0:1},h={offset:t.left,size:t.width,position:d===0?0:1,mode:_.ALIGN};o=v(window.innerHeight,u,g)+window.pageYOffset,S.Range.intersects({start:o,end:o+u},{start:g.offset,end:g.offset+g.size})&&(h.mode=_.AVOID),c=v(window.innerWidth,r,h)}else{const g={offset:t.left,size:t.width,position:d===0?0:1},h={offset:t.top,size:t.height,position:f===0?0:1,mode:_.ALIGN};c=v(window.innerWidth,r,g),S.Range.intersects({start:c,end:c+r},{start:g.offset,end:g.offset+g.size})&&(h.mode=_.AVOID),o=v(window.innerHeight,u,h)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(f===0?"bottom":"top"),this.view.classList.add(d===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const a=I.getDomNodePagePosition(this.container);this.view.style.top=`${o-(this.useFixedPosition?I.getDomNodePagePosition(this.view).top:a.top)}px`,this.view.style.left=`${c-(this.useFixedPosition?I.getDomNodePagePosition(this.view).left:a.left)}px`,this.view.style.width="initial"}hide(n){const t=this.delegate;this.delegate=null,t?.onHide&&t.onHide(n),this.toDisposeOnClean.dispose(),I.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(n,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):t&&!I.isAncestor(n.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}e.ContextView=C,C.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],C.BUBBLE_DOWN_EVENTS=["click"];const s=` + :host { + all: initial; /* 1st rule so subsequent properties are reset. */ + } + + .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[312],ie([1,0,7,10,403]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountBadge=void 0;class y{constructor(S,m,_){this.options=m,this.styles=_,this.count=0,this.element=(0,L.append)(S,(0,L.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(S){this.count=S,this.render()}setTitleFormat(S){this.titleFormat=S,this.render()}render(){var S,m;this.element.textContent=(0,I.format)(this.countFormat,this.count),this.element.title=(0,I.format)(this.titleFormat,this.count),this.element.style.backgroundColor=(S=this.styles.badgeBackground)!==null&&S!==void 0?S:"",this.element.style.color=(m=this.styles.badgeForeground)!==null&&m!==void 0?m:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}e.CountBadge=y}),define(te[575],ie([1,0,7,44,61,41,6,265]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenu=void 0;class m extends D.ActionRunner{constructor(C,s){super(),this._onDidChangeVisibility=this._register(new S.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,L.append)(C,(0,L.$)(".monaco-dropdown")),this._label=(0,L.append)(this._element,(0,L.$)(".dropdown-label"));let i=s.labelRenderer;i||(i=t=>(t.textContent=s.label||"",null));for(const t of[L.EventType.CLICK,L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this.element,t,r=>L.EventHelper.stop(r,!0)));for(const t of[L.EventType.MOUSE_DOWN,y.EventType.Tap])this._register((0,L.addDisposableListener)(this._label,t,r=>{r instanceof MouseEvent&&(r.detail>1||r.button!==0)||(this.visible?this.hide():this.show())}));this._register((0,L.addDisposableListener)(this._label,L.EventType.KEY_UP,t=>{const r=new I.StandardKeyboardEvent(t);(r.equals(3)||r.equals(10))&&(L.EventHelper.stop(t,!0),this.visible?this.hide():this.show())}));const n=i(this._label);n&&this._register(n),this._register(y.Gesture.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class _ extends m{constructor(C,s){super(C,s),this._options=s,this._actions=[],this.actions=s.actions||[]}set menuOptions(C){this._menuOptions=C}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(C){this._actions=C}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(C,s)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(C,s):void 0,getKeyBinding:C=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(C):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}e.DropdownMenu=_}),define(te[128],ie([1,0,7,27]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderIcon=e.renderLabelWithIcons=void 0;const y=new RegExp(`(\\\\)?\\$\\((${I.ThemeIcon.iconNameExpression}(?:${I.ThemeIcon.iconModifierExpression})?)\\)`,"g");function D(m){const _=new Array;let v,C=0,s=0;for(;(v=y.exec(m))!==null;){s=v.index||0,C{C=s===`\r +`?-1:0,i+=v;for(const n of _)n.end<=i||(n.start>=i&&(n.start+=C),n.end>=i&&(n.end+=C));return v+=C,"\u23CE"})}}e.HighlightedLabel=D}),define(te[222],ie([1,0,7,216,52,561,407]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingLabel=e.unthemedKeybindingLabelOptions=void 0;const S=L.$;e.unthemedKeybindingLabelOptions={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class m{constructor(v,C,s){this.os=C,this.keyElements=new Set,this.options=s||Object.create(null);const i=this.options.keybindingLabelForeground;this.domNode=L.append(v,S(".monaco-keybinding")),i&&(this.domNode.style.color=i),this.didEverRender=!1,v.appendChild(this.domNode)}get element(){return this.domNode}set(v,C){this.didEverRender&&this.keybinding===v&&m.areSame(this.matches,C)||(this.keybinding=v,this.matches=C,this.render())}render(){var v;if(this.clear(),this.keybinding){const C=this.keybinding.getChords();C[0]&&this.renderChord(this.domNode,C[0],this.matches?this.matches.firstPart:null);for(let i=1;i{for(const _ of S)this.getRenderer(m).disposeTemplate(_.templateData),_.templateData=null}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(S){const m=this.renderers.get(S);if(!m)throw new Error(`No renderer found for ${S}`);return m}}e.RowCache=y}),define(te[577],ie([1,0,7,14,2,409]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;const D="done",S="active",m="infinite",_="infinite-long-running",v="discrete";class C extends y.Disposable{constructor(i,n){super(),this.workedVal=0,this.showDelayedScheduler=this._register(new I.RunOnceScheduler(()=>(0,L.show)(this.element),0)),this.longRunningScheduler=this._register(new I.RunOnceScheduler(()=>this.infiniteLongRunning(),C.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(i,n)}create(i,n){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),i.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=n?.progressBarBackground||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(S,m,_,v),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(i){return this.element.classList.add(D),this.element.classList.contains(m)?(this.bit.style.opacity="0",i?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",i?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(v,D,_),this.element.classList.add(S,m),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(_)}getContainer(){return this.element}}e.ProgressBar=C,C.LONG_RUNNING_INFINITE_THRESHOLD=1e4}),define(te[152],ie([1,0,7,79,61,14,105,6,2,17,410]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sash=e.OrthogonalEdge=void 0;const C=!1;var s;(function(c){c.North="north",c.South="south",c.East="east",c.West="west"})(s||(e.OrthogonalEdge=s={}));let i=4;const n=new m.Emitter;let t=300;const r=new m.Emitter;class u{constructor(){this.disposables=new _.DisposableStore}get onPointerMove(){return this.disposables.add(new I.DomEmitter(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new I.DomEmitter(window,"mouseup")).event}dispose(){this.disposables.dispose()}}Ie([S.memoize],u.prototype,"onPointerMove",null),Ie([S.memoize],u.prototype,"onPointerUp",null);class f{get onPointerMove(){return this.disposables.add(new I.DomEmitter(this.el,y.EventType.Change)).event}get onPointerUp(){return this.disposables.add(new I.DomEmitter(this.el,y.EventType.End)).event}constructor(a){this.el=a,this.disposables=new _.DisposableStore}dispose(){this.disposables.dispose()}}Ie([S.memoize],f.prototype,"onPointerMove",null),Ie([S.memoize],f.prototype,"onPointerUp",null);class d{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(a){this.factory=a}dispose(){}}Ie([S.memoize],d.prototype,"onPointerMove",null),Ie([S.memoize],d.prototype,"onPointerUp",null);const l="pointer-events-disabled";class o extends _.Disposable{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(a){this._state!==a&&(this.el.classList.toggle("disabled",a===0),this.el.classList.toggle("minimum",a===1),this.el.classList.toggle("maximum",a===2),this._state=a,this.onDidEnablementChange.fire(a))}set orthogonalStartSash(a){if(this._orthogonalStartSash!==a){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),a){const g=h=>{this.orthogonalStartDragHandleDisposables.clear(),h!==0&&(this._orthogonalStartDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new I.DomEmitter(this._orthogonalStartDragHandle,"mouseenter")).event(()=>o.onMouseEnter(a),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new I.DomEmitter(this._orthogonalStartDragHandle,"mouseleave")).event(()=>o.onMouseLeave(a),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(a.onDidEnablementChange.event(g,this)),g(a.state)}this._orthogonalStartSash=a}}set orthogonalEndSash(a){if(this._orthogonalEndSash!==a){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),a){const g=h=>{this.orthogonalEndDragHandleDisposables.clear(),h!==0&&(this._orthogonalEndDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,_.toDisposable)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new I.DomEmitter(this._orthogonalEndDragHandle,"mouseenter")).event(()=>o.onMouseEnter(a),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new I.DomEmitter(this._orthogonalEndDragHandle,"mouseleave")).event(()=>o.onMouseLeave(a),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(a.onDidEnablementChange.event(g,this)),g(a.state)}this._orthogonalEndSash=a}}constructor(a,g,h){super(),this.hoverDelay=t,this.hoverDelayer=this._register(new D.Delayer(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new m.Emitter),this._onDidStart=this._register(new m.Emitter),this._onDidChange=this._register(new m.Emitter),this._onDidReset=this._register(new m.Emitter),this._onDidEnd=this._register(new m.Emitter),this.orthogonalStartSashDisposables=this._register(new _.DisposableStore),this.orthogonalStartDragHandleDisposables=this._register(new _.DisposableStore),this.orthogonalEndSashDisposables=this._register(new _.DisposableStore),this.orthogonalEndDragHandleDisposables=this._register(new _.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)(a,(0,L.$)(".monaco-sash")),h.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${h.orthogonalEdge}`),v.isMacintosh&&this.el.classList.add("mac");const p=this._register(new I.DomEmitter(this.el,"mousedown")).event;this._register(p(B=>this.onPointerStart(B,new u),this));const b=this._register(new I.DomEmitter(this.el,"dblclick")).event;this._register(b(this.onPointerDoublePress,this));const w=this._register(new I.DomEmitter(this.el,"mouseenter")).event;this._register(w(()=>o.onMouseEnter(this)));const E=this._register(new I.DomEmitter(this.el,"mouseleave")).event;this._register(E(()=>o.onMouseLeave(this))),this._register(y.Gesture.addTarget(this.el));const k=this._register(new I.DomEmitter(this.el,y.EventType.Start)).event;this._register(k(B=>this.onPointerStart(B,new f(this.el)),this));const M=this._register(new I.DomEmitter(this.el,y.EventType.Tap)).event;let R;this._register(M(B=>{if(R){clearTimeout(R),R=void 0,this.onPointerDoublePress(B);return}clearTimeout(R),R=setTimeout(()=>R=void 0,250)},this)),typeof h.size=="number"?(this.size=h.size,h.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=i,this._register(n.event(B=>{this.size=B,this.layout()}))),this._register(r.event(B=>this.hoverDelay=B)),this.layoutProvider=g,this.orthogonalStartSash=h.orthogonalStartSash,this.orthogonalEndSash=h.orthogonalEndSash,this.orientation=h.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",C),this.layout()}onPointerStart(a,g){L.EventHelper.stop(a);let h=!1;if(!a.__orthogonalSashEvent){const A=this.getOrthogonalSash(a);A&&(h=!0,a.__orthogonalSashEvent=!0,A.onPointerStart(a,new d(g)))}if(this.linkedSash&&!a.__linkedSashEvent&&(a.__linkedSashEvent=!0,this.linkedSash.onPointerStart(a,new d(g))),!this.state)return;const p=document.getElementsByTagName("iframe");for(const A of p)A.classList.add(l);const b=a.pageX,w=a.pageY,E=a.altKey,k={startX:b,currentX:b,startY:w,currentY:w,altKey:E};this.el.classList.add("active"),this._onDidStart.fire(k);const M=(0,L.createStyleSheet)(this.el),R=()=>{let A="";h?A="all-scroll":this.orientation===1?this.state===1?A="s-resize":this.state===2?A="n-resize":A=v.isMacintosh?"row-resize":"ns-resize":this.state===1?A="e-resize":this.state===2?A="w-resize":A=v.isMacintosh?"col-resize":"ew-resize",M.textContent=`* { cursor: ${A} !important; }`},B=new _.DisposableStore;R(),h||this.onDidEnablementChange.event(R,null,B);const T=A=>{L.EventHelper.stop(A,!1);const P={startX:b,currentX:A.pageX,startY:w,currentY:A.pageY,altKey:E};this._onDidChange.fire(P)},N=A=>{L.EventHelper.stop(A,!1),this.el.removeChild(M),this.el.classList.remove("active"),this._onDidEnd.fire(),B.dispose();for(const P of p)P.classList.remove(l)};g.onPointerMove(T,null,B),g.onPointerUp(N,null,B),B.add(g)}onPointerDoublePress(a){const g=this.getOrthogonalSash(a);g&&g._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(a,g=!1){a.el.classList.contains("active")?(a.hoverDelayer.cancel(),a.el.classList.add("hover")):a.hoverDelayer.trigger(()=>a.el.classList.add("hover"),a.hoverDelay).then(void 0,()=>{}),!g&&a.linkedSash&&o.onMouseEnter(a.linkedSash,!0)}static onMouseLeave(a,g=!1){a.hoverDelayer.cancel(),a.el.classList.remove("hover"),!g&&a.linkedSash&&o.onMouseLeave(a.linkedSash,!0)}clearSashHoverState(){o.onMouseLeave(this)}layout(){if(this.orientation===0){const a=this.layoutProvider;this.el.style.left=a.getVerticalSashLeft(this)-this.size/2+"px",a.getVerticalSashTop&&(this.el.style.top=a.getVerticalSashTop(this)+"px"),a.getVerticalSashHeight&&(this.el.style.height=a.getVerticalSashHeight(this)+"px")}else{const a=this.layoutProvider;this.el.style.top=a.getHorizontalSashTop(this)-this.size/2+"px",a.getHorizontalSashLeft&&(this.el.style.left=a.getHorizontalSashLeft(this)+"px"),a.getHorizontalSashWidth&&(this.el.style.width=a.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(a){var g;const h=(g=a.initialTarget)!==null&&g!==void 0?g:a.target;if(!(!h||!(h instanceof HTMLElement))&&h.classList.contains("orthogonal-drag-handle"))return h.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}e.Sash=o}),define(te[223],ie([1,0,7,152,6,2]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableHTMLElement=void 0;class S{constructor(){this._onDidWillResize=new y.Emitter,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new y.Emitter,this.onDidResize=this._onDidResize.event,this._sashListener=new D.DisposableStore,this._size=new L.Dimension(0,0),this._minSize=new L.Dimension(0,0),this._maxSize=new L.Dimension(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new I.Sash(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new I.Sash(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new I.Sash(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:I.OrthogonalEdge.North}),this._southSash=new I.Sash(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:I.OrthogonalEdge.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let _,v=0,C=0;this._sashListener.add(y.Event.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{_===void 0&&(this._onDidWillResize.fire(),_=this._size,v=0,C=0)})),this._sashListener.add(y.Event.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{_!==void 0&&(_=void 0,v=0,C=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(s=>{_&&(C=s.currentX-s.startX,this.layout(_.height+v,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(s=>{_&&(C=-(s.currentX-s.startX),this.layout(_.height+v,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(s=>{_&&(v=-(s.currentY-s.startY),this.layout(_.height+v,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(s=>{_&&(v=s.currentY-s.startY,this.layout(_.height+v,_.width+C),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(y.Event.any(this._eastSash.onDidReset,this._westSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(y.Event.any(this._northSash.onDidReset,this._southSash.onDidReset)(s=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(_,v,C,s){this._northSash.state=_?3:0,this._eastSash.state=v?3:0,this._southSash.state=C?3:0,this._westSash.state=s?3:0}layout(_=this.size.height,v=this.size.width){const{height:C,width:s}=this._minSize,{height:i,width:n}=this._maxSize;_=Math.max(C,Math.min(i,_)),v=Math.max(s,Math.min(n,v));const t=new L.Dimension(v,_);L.Dimension.equals(t,this._size)||(this.domNode.style.height=_+"px",this.domNode.style.width=v+"px",this._size=t,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(_){this._maxSize=_}get maxSize(){return this._maxSize}set minSize(_){this._minSize=_}get minSize(){return this._minSize}set preferredSize(_){this._preferredSize=_}get preferredSize(){return this._preferredSize}}e.ResizableHTMLElement=S}),define(te[578],ie([1,0,7,61,13,6,2,17]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectBoxNative=void 0;class _ extends S.Disposable{constructor(C,s,i,n){super(),this.selected=0,this.selectBoxOptions=n||Object.create(null),this.options=[],this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box",typeof this.selectBoxOptions.ariaLabel=="string"&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),typeof this.selectBoxOptions.ariaDescription=="string"&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=this._register(new D.Emitter),this.styles=i,this.registerListeners(),this.setOptions(C,s)}registerListeners(){this._register(I.Gesture.addTarget(this.selectElement)),[I.EventType.Tap].forEach(C=>{this._register(L.addDisposableListener(this.selectElement,C,s=>{this.selectElement.focus()}))}),this._register(L.addStandardDisposableListener(this.selectElement,"click",C=>{L.EventHelper.stop(C,!0)})),this._register(L.addStandardDisposableListener(this.selectElement,"change",C=>{this.selectElement.title=C.target.value,this._onDidSelect.fire({index:C.target.selectedIndex,selected:C.target.value})})),this._register(L.addStandardDisposableListener(this.selectElement,"keydown",C=>{let s=!1;m.isMacintosh?(C.keyCode===18||C.keyCode===16||C.keyCode===10)&&(s=!0):(C.keyCode===18&&C.altKey||C.keyCode===10||C.keyCode===3)&&(s=!0),s&&C.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(C,s){(!this.options||!y.equals(this.options,C))&&(this.options=C,this.selectElement.options.length=0,this.options.forEach((i,n)=>{this.selectElement.add(this.createOption(i.text,n,i.isDisabled))})),s!==void 0&&this.select(s)}select(C){this.options.length===0?this.selected=0:C>=0&&Cthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selectedC(new y.StandardMouseEvent(s))))}onmousedown(v,C){this._register(L.addDisposableListener(v,L.EventType.MOUSE_DOWN,s=>C(new y.StandardMouseEvent(s))))}onmouseover(v,C){this._register(L.addDisposableListener(v,L.EventType.MOUSE_OVER,s=>C(new y.StandardMouseEvent(s))))}onmouseleave(v,C){this._register(L.addDisposableListener(v,L.EventType.MOUSE_LEAVE,s=>C(new y.StandardMouseEvent(s))))}onkeydown(v,C){this._register(L.addDisposableListener(v,L.EventType.KEY_DOWN,s=>C(new I.StandardKeyboardEvent(s))))}onkeyup(v,C){this._register(L.addDisposableListener(v,L.EventType.KEY_UP,s=>C(new I.StandardKeyboardEvent(s))))}oninput(v,C){this._register(L.addDisposableListener(v,L.EventType.INPUT,C))}onblur(v,C){this._register(L.addDisposableListener(v,L.EventType.BLUR,C))}onfocus(v,C){this._register(L.addDisposableListener(v,L.EventType.FOCUS,C))}ignoreGesture(v){return D.Gesture.ignoreTarget(v)}}e.Widget=m}),define(te[224],ie([1,0,151,83,14,27,7]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarArrow=e.ARROW_IMG_SIZE=void 0,e.ARROW_IMG_SIZE=11;class m extends I.Widget{constructor(v){super(),this._onActivate=v.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=v.bgWidth+"px",this.bgDomNode.style.height=v.bgHeight+"px",typeof v.top<"u"&&(this.bgDomNode.style.top="0px"),typeof v.left<"u"&&(this.bgDomNode.style.left="0px"),typeof v.bottom<"u"&&(this.bgDomNode.style.bottom="0px"),typeof v.right<"u"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=v.className,this.domNode.classList.add(...D.ThemeIcon.asClassNameArray(v.icon)),this.domNode.style.position="absolute",this.domNode.style.width=e.ARROW_IMG_SIZE+"px",this.domNode.style.height=e.ARROW_IMG_SIZE+"px",typeof v.top<"u"&&(this.domNode.style.top=v.top+"px"),typeof v.left<"u"&&(this.domNode.style.left=v.left+"px"),typeof v.bottom<"u"&&(this.domNode.style.bottom=v.bottom+"px"),typeof v.right<"u"&&(this.domNode.style.right=v.right+"px"),this._pointerMoveMonitor=this._register(new L.GlobalPointerMoveMonitor),this._register(S.addStandardDisposableListener(this.bgDomNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._register(S.addStandardDisposableListener(this.domNode,S.EventType.POINTER_DOWN,C=>this._arrowPointerDown(C))),this._pointerdownRepeatTimer=this._register(new y.IntervalTimer),this._pointerdownScheduleRepeatTimer=this._register(new y.TimeoutTimer)}_arrowPointerDown(v){if(!v.target||!(v.target instanceof Element))return;const C=()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(C,200),this._pointerMoveMonitor.startMonitoring(v.target,v.pointerId,v.buttons,s=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),v.preventDefault()}}e.ScrollbarArrow=m}),define(te[314],ie([1,0,7,38,151,224,570,83,17]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractScrollbar=void 0;const v=140;class C extends m.Widget{constructor(i){super(),this._lazyRender=i.lazyRender,this._host=i.host,this._scrollable=i.scrollable,this._scrollByPage=i.scrollByPage,this._scrollbarState=i.scrollbarState,this._visibilityController=this._register(new S.ScrollbarVisibilityController(i.visibility,"visible scrollbar "+i.extraScrollbarClassName,"invisible scrollbar "+i.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new y.GlobalPointerMoveMonitor),this._shouldRender=!0,this.domNode=(0,I.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._register(L.addDisposableListener(this.domNode.domNode,L.EventType.POINTER_DOWN,n=>this._domNodePointerDown(n)))}_createArrow(i){const n=this._register(new D.ScrollbarArrow(i));this.domNode.domNode.appendChild(n.bgDomNode),this.domNode.domNode.appendChild(n.domNode)}_createSlider(i,n,t,r){this.slider=(0,I.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(i),this.slider.setLeft(n),typeof t=="number"&&this.slider.setWidth(t),typeof r=="number"&&this.slider.setHeight(r),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(L.addDisposableListener(this.slider.domNode,L.EventType.POINTER_DOWN,u=>{u.button===0&&(u.preventDefault(),this._sliderPointerDown(u))})),this.onclick(this.slider.domNode,u=>{u.leftButton&&u.stopPropagation()})}_onElementSize(i){return this._scrollbarState.setVisibleSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(i){return this._scrollbarState.setScrollSize(i)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(i){return this._scrollbarState.setScrollPosition(i)&&(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()))}_domNodePointerDown(i){i.target===this.domNode.domNode&&this._onPointerDown(i)}delegatePointerDown(i){const n=this.domNode.domNode.getClientRects()[0].top,t=n+this._scrollbarState.getSliderPosition(),r=n+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),u=this._sliderPointerPosition(i);t<=u&&u<=r?i.button===0&&(i.preventDefault(),this._sliderPointerDown(i)):this._onPointerDown(i)}_onPointerDown(i){let n,t;if(i.target===this.domNode.domNode&&typeof i.offsetX=="number"&&typeof i.offsetY=="number")n=i.offsetX,t=i.offsetY;else{const u=L.getDomNodePagePosition(this.domNode.domNode);n=i.pageX-u.left,t=i.pageY-u.top}const r=this._pointerDownRelativePosition(n,t);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(r):this._scrollbarState.getDesiredScrollPositionFromOffset(r)),i.button===0&&(i.preventDefault(),this._sliderPointerDown(i))}_sliderPointerDown(i){if(!i.target||!(i.target instanceof Element))return;const n=this._sliderPointerPosition(i),t=this._sliderOrthogonalPointerPosition(i),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(i.target,i.pointerId,i.buttons,u=>{const f=this._sliderOrthogonalPointerPosition(u),d=Math.abs(f-t);if(_.isWindows&&d>v){this._setDesiredScrollPositionNow(r.getScrollPosition());return}const o=this._sliderPointerPosition(u)-n;this._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(o))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(i){const n={};this.writeScrollPosition(n,i),this._scrollable.setScrollPositionNow(n)}updateScrollbarSize(i){this._updateScrollbarSize(i),this._scrollbarState.setScrollbarSize(i),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}e.AbstractScrollbar=C}),define(te[579],ie([1,0,60,314,224,195,26]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HorizontalScrollbar=void 0;class m extends I.AbstractScrollbar{constructor(v,C,s){const i=v.getScrollDimensions(),n=v.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.horizontalHasArrows?C.arrowSize:0,C.horizontal===2?0:C.horizontalScrollbarSize,C.vertical===2?0:C.verticalScrollbarSize,i.width,i.scrollWidth,n.scrollLeft),visibility:C.horizontal,extraScrollbarClassName:"horizontal",scrollable:v,scrollByPage:C.scrollByPage}),C.horizontalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,r=(C.horizontalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonLeft,top:r,left:t,bottom:void 0,right:void 0,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonRight,top:r,left:void 0,bottom:void 0,right:t,bgWidth:C.arrowSize,bgHeight:C.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((C.horizontalScrollbarSize-C.horizontalSliderSize)/2),0,void 0,C.horizontalSliderSize)}_updateSlider(v,C){this.slider.setWidth(v),this.slider.setLeft(C)}_renderDomNode(v,C){this.domNode.setWidth(v),this.domNode.setHeight(C),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(v){return this._shouldRender=this._onElementScrollSize(v.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(v.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(v.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(v,C){return v}_sliderPointerPosition(v){return v.pageX}_sliderOrthogonalPointerPosition(v){return v.pageY}_updateScrollbarSize(v){this.slider.setHeight(v)}writeScrollPosition(v,C){v.scrollLeft=C}updateOptions(v){this.updateScrollbarSize(v.horizontal===2?0:v.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(v.vertical===2?0:v.verticalScrollbarSize),this._visibilityController.setVisibility(v.horizontal),this._scrollByPage=v.scrollByPage}}e.HorizontalScrollbar=m}),define(te[580],ie([1,0,60,314,224,195,26]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VerticalScrollbar=void 0;class m extends I.AbstractScrollbar{constructor(v,C,s){const i=v.getScrollDimensions(),n=v.getCurrentScrollPosition();if(super({lazyRender:C.lazyRender,host:s,scrollbarState:new D.ScrollbarState(C.verticalHasArrows?C.arrowSize:0,C.vertical===2?0:C.verticalScrollbarSize,0,i.height,i.scrollHeight,n.scrollTop),visibility:C.vertical,extraScrollbarClassName:"vertical",scrollable:v,scrollByPage:C.scrollByPage}),C.verticalHasArrows){const t=(C.arrowSize-y.ARROW_IMG_SIZE)/2,r=(C.verticalScrollbarSize-y.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonUp,top:t,left:r,bottom:void 0,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:S.Codicon.scrollbarButtonDown,top:void 0,left:r,bottom:t,right:void 0,bgWidth:C.verticalScrollbarSize,bgHeight:C.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((C.verticalScrollbarSize-C.verticalSliderSize)/2),C.verticalSliderSize,void 0)}_updateSlider(v,C){this.slider.setHeight(v),this.slider.setTop(C)}_renderDomNode(v,C){this.domNode.setWidth(C),this.domNode.setHeight(v),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(v){return this._shouldRender=this._onElementScrollSize(v.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(v.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(v.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(v,C){return C}_sliderPointerPosition(v){return v.pageY}_sliderOrthogonalPointerPosition(v){return v.pageX}_updateScrollbarSize(v){this.slider.setWidth(v)}writeScrollPosition(v,C){v.scrollTop=C}updateOptions(v){this.updateScrollbarSize(v.vertical===2?0:v.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(v.vertical),this._scrollByPage=v.scrollByPage}}e.VerticalScrollbar=m}),define(te[84],ie([1,0,51,7,38,60,579,580,83,14,6,2,17,166,411]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomScrollableElement=e.SmoothScrollableElement=e.ScrollableElement=e.AbstractScrollableElement=e.MouseWheelClassifier=void 0;const t=500,r=50,u=!0;class f{constructor(p,b,w){this.timestamp=p,this.deltaX=b,this.deltaY=w,this.score=0}}class d{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,b=0,w=1,E=this._rear;do{const k=E===this._front?p:Math.pow(2,-w);if(p-=k,b+=this._memory[E].score*k,E===this._front)break;E=(this._capacity+E-1)%this._capacity,w++}while(!0);return b<=.5}acceptStandardWheelEvent(p){const b=window.devicePixelRatio/(0,L.getZoomFactor)();i.isWindows||i.isLinux?this.accept(Date.now(),p.deltaX/b,p.deltaY/b):this.accept(Date.now(),p.deltaX,p.deltaY)}accept(p,b,w){const E=new f(p,b,w);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 b=.5;const w=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(p.deltaX)||!this._isAlmostInt(p.deltaY))&&(b+=.25),Math.min(Math.max(b,0),1)}_isAlmostInt(p){return Math.abs(Math.round(p)-p)<.01}}e.MouseWheelClassifier=d,d.INSTANCE=new d;class l extends _.Widget{get options(){return this._options}constructor(p,b,w){super(),this._onScroll=this._register(new C.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Emitter),p.style.overflow="hidden",this._options=g(b),this._scrollable=w,this._register(this._scrollable.onScroll(k=>{this._onWillScroll.fire(k),this._onDidScroll(k),this._onScroll.fire(k)}));const E={onMouseWheel:k=>this._onMouseWheel(k),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new m.VerticalScrollbar(this._scrollable,this._options,E)),this._horizontalScrollbar=this._register(new S.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,y.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,y.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,y.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,k=>this._onMouseOver(k)),this.onmouseleave(this._listenOnDomNode,k=>this._onMouseLeave(k)),this._hideTimeout=this._register(new v.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(p){this._verticalScrollbar.delegatePointerDown(p)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(p){this._scrollable.setScrollDimensions(p,!1)}updateClassName(p){this._options.className=p,i.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(p){typeof p.handleMouseWheel<"u"&&(this._options.handleMouseWheel=p.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof p.mouseWheelScrollSensitivity<"u"&&(this._options.mouseWheelScrollSensitivity=p.mouseWheelScrollSensitivity),typeof p.fastScrollSensitivity<"u"&&(this._options.fastScrollSensitivity=p.fastScrollSensitivity),typeof p.scrollPredominantAxis<"u"&&(this._options.scrollPredominantAxis=p.scrollPredominantAxis),typeof p.horizontal<"u"&&(this._options.horizontal=p.horizontal),typeof p.vertical<"u"&&(this._options.vertical=p.vertical),typeof p.horizontalScrollbarSize<"u"&&(this._options.horizontalScrollbarSize=p.horizontalScrollbarSize),typeof p.verticalScrollbarSize<"u"&&(this._options.verticalScrollbarSize=p.verticalScrollbarSize),typeof p.scrollByPage<"u"&&(this._options.scrollByPage=p.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(p){this._onMouseWheel(new D.StandardWheelEvent(p))}_setListeningToMouseWheel(p){if(this._mouseWheelToDispose.length>0!==p&&(this._mouseWheelToDispose=(0,s.dispose)(this._mouseWheelToDispose),p)){const w=E=>{this._onMouseWheel(new D.StandardWheelEvent(E))};this._mouseWheelToDispose.push(I.addDisposableListener(this._listenOnDomNode,I.EventType.MOUSE_WHEEL,w,{passive:!1}))}}_onMouseWheel(p){var b;if(!((b=p.browserEvent)===null||b===void 0)&&b.defaultPrevented)return;const w=d.INSTANCE;u&&w.acceptStandardWheelEvent(p);let E=!1;if(p.deltaY||p.deltaX){let M=p.deltaY*this._options.mouseWheelScrollSensitivity,R=p.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&R+M===0?R=M=0:Math.abs(M)>=Math.abs(R)?R=0:M=0),this._options.flipAxes&&([M,R]=[R,M]);const B=!i.isMacintosh&&p.browserEvent&&p.browserEvent.shiftKey;(this._options.scrollYToX||B)&&!R&&(R=M,M=0),p.browserEvent&&p.browserEvent.altKey&&(R=R*this._options.fastScrollSensitivity,M=M*this._options.fastScrollSensitivity);const T=this._scrollable.getFutureScrollPosition();let N={};if(M){const A=r*M,P=T.scrollTop-(A<0?Math.floor(A):Math.ceil(A));this._verticalScrollbar.writeScrollPosition(N,P)}if(R){const A=r*R,P=T.scrollLeft-(A<0?Math.floor(A):Math.ceil(A));this._horizontalScrollbar.writeScrollPosition(N,P)}N=this._scrollable.validateScrollPosition(N),(T.scrollLeft!==N.scrollLeft||T.scrollTop!==N.scrollTop)&&(u&&this._options.mouseWheelSmoothScroll&&w.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(N):this._scrollable.setScrollPositionNow(N),E=!0)}let k=E;!k&&this._options.alwaysConsumeMouseWheel&&(k=!0),!k&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(k=!0),k&&(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(),b=p.scrollTop>0,w=p.scrollLeft>0,E=w?" left":"",k=b?" top":"",M=w||b?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${E}`),this._topShadowDomNode.setClassName(`shadow${k}`),this._topLeftShadowDomNode.setClassName(`shadow${M}${k}${E}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(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(),t)}}e.AbstractScrollableElement=l;class o extends l{constructor(p,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>I.scheduleAtNextAnimationFrame(E)});super(p,b,w),this._register(w)}setScrollPosition(p){this._scrollable.setScrollPositionNow(p)}}e.ScrollableElement=o;class c extends l{constructor(p,b,w){super(p,b,w)}setScrollPosition(p){p.reuseAnimation?this._scrollable.setScrollPositionSmooth(p,p.reuseAnimation):this._scrollable.setScrollPositionNow(p)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}e.SmoothScrollableElement=c;class a extends l{constructor(p,b){b=b||{},b.mouseWheelSmoothScroll=!1;const w=new n.Scrollable({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>I.scheduleAtNextAnimationFrame(E)});super(p,b,w),this._register(w),this._element=p,this._register(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=a;function g(h){const p={lazyRender:typeof h.lazyRender<"u"?h.lazyRender:!1,className:typeof h.className<"u"?h.className:"",useShadows:typeof h.useShadows<"u"?h.useShadows:!0,handleMouseWheel:typeof h.handleMouseWheel<"u"?h.handleMouseWheel:!0,flipAxes:typeof h.flipAxes<"u"?h.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof h.consumeMouseWheelIfScrollbarIsNeeded<"u"?h.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof h.alwaysConsumeMouseWheel<"u"?h.alwaysConsumeMouseWheel:!1,scrollYToX:typeof h.scrollYToX<"u"?h.scrollYToX:!1,mouseWheelScrollSensitivity:typeof h.mouseWheelScrollSensitivity<"u"?h.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof h.fastScrollSensitivity<"u"?h.fastScrollSensitivity:5,scrollPredominantAxis:typeof h.scrollPredominantAxis<"u"?h.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof h.mouseWheelSmoothScroll<"u"?h.mouseWheelSmoothScroll:!0,arrowSize:typeof h.arrowSize<"u"?h.arrowSize:11,listenOnDomNode:typeof h.listenOnDomNode<"u"?h.listenOnDomNode:null,horizontal:typeof h.horizontal<"u"?h.horizontal:1,horizontalScrollbarSize:typeof h.horizontalScrollbarSize<"u"?h.horizontalScrollbarSize:10,horizontalSliderSize:typeof h.horizontalSliderSize<"u"?h.horizontalSliderSize:0,horizontalHasArrows:typeof h.horizontalHasArrows<"u"?h.horizontalHasArrows:!1,vertical:typeof h.vertical<"u"?h.vertical:1,verticalScrollbarSize:typeof h.verticalScrollbarSize<"u"?h.verticalScrollbarSize:10,verticalHasArrows:typeof h.verticalHasArrows<"u"?h.verticalHasArrows:!1,verticalSliderSize:typeof h.verticalSliderSize<"u"?h.verticalSliderSize:0,scrollByPage:typeof h.scrollByPage<"u"?h.scrollByPage:!1};return p.horizontalSliderSize=typeof h.horizontalSliderSize<"u"?h.horizontalSliderSize:p.horizontalScrollbarSize,p.verticalSliderSize=typeof h.verticalSliderSize<"u"?h.verticalSliderSize:p.verticalScrollbarSize,i.isMacintosh&&(p.className+=" mac"),p}}),define(te[315],ie([1,0,7,44,84,2,558,404]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverAccessibleViewHint=e.HoverAction=e.HoverWidget=void 0;const m=L.$;class _ extends D.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 y.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}e.HoverWidget=_;class v extends D.Disposable{static render(i,n,t){return new v(i,n,t)}constructor(i,n,t){super(),this.actionContainer=L.append(i,m("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=L.append(this.actionContainer,m("a.action")),this.action.setAttribute("role","button"),n.iconClass&&L.append(this.action,m(`span.icon.${n.iconClass}`));const r=L.append(this.action,m("span"));r.textContent=t?`${n.label} (${t})`:n.label,this._register(L.addDisposableListener(this.actionContainer,L.EventType.CLICK,u=>{u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer)})),this._register(L.addDisposableListener(this.actionContainer,L.EventType.KEY_DOWN,u=>{const f=new I.StandardKeyboardEvent(u);(f.equals(3)||f.equals(10))&&(u.stopPropagation(),u.preventDefault(),n.run(this.actionContainer))})),this.setEnabled(!0)}setEnabled(i){i?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}e.HoverAction=v;function C(s,i){return s&&i?(0,S.localize)(0,null,i):s?(0,S.localize)(1,null):""}e.getHoverAccessibleViewHint=C}),define(te[225],ie([1,0,196,7,79,61,84,13,14,105,6,2,165,166,395,576,9]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListView=e.NativeDragAndDropData=e.ExternalElementsDragAndDropData=e.ElementsDragAndDropData=void 0;const f={CurrentDragAndDropData:void 0},d={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(p){return[p]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){},dispose(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class l{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ElementsDragAndDropData=l;class o{constructor(b){this.elements=b}update(){}getData(){return this.elements}}e.ExternalElementsDragAndDropData=o;class c{constructor(){this.types=[],this.files=[]}update(b){if(b.types&&this.types.splice(0,this.types.length,...b.types),b.files){this.files.splice(0,this.files.length);for(let w=0;wk,b?.getPosInSet?this.getPosInSet=b.getPosInSet.bind(b):this.getPosInSet=(w,E)=>E+1,b?.getRole?this.getRole=b.getRole.bind(b):this.getRole=w=>"listitem",b?.isChecked?this.isChecked=b.isChecked.bind(b):this.isChecked=w=>{}}}class h{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(b){if(b!==this._horizontalScrolling){if(b&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=b,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const w of this.items)this.measureItemWidth(w);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,I.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=""}}constructor(b,w,E,k=d){var M,R,B,T,N,A,P,O,x,W,U,F,G;if(this.virtualDelegate=w,this.domId=`list_id_${++h.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new _.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=s.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=s.Disposable.None,this.onDragLeaveTimeout=s.Disposable.None,this.disposables=new s.DisposableStore,this._onDidChangeContentHeight=new C.Emitter,this._onDidChangeContentWidth=new C.Emitter,this._horizontalScrolling=!1,k.horizontalScrolling&&k.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new t.RangeMap((M=k.paddingTop)!==null&&M!==void 0?M:0);for(const ne of E)this.renderers.set(ne.templateId,ne);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 k.mouseSupport=="boolean"?k.mouseSupport:!0),this._horizontalScrolling=(R=k.horizontalScrolling)!==null&&R!==void 0?R:d.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=typeof k.paddingBottom>"u"?0:k.paddingBottom,this.accessibilityProvider=new g(k.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",((B=k.transformOptimization)!==null&&B!==void 0?B:d.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(D.Gesture.addTarget(this.rowsContainer)),this.scrollable=this.disposables.add(new n.Scrollable({forceIntegerValues:!0,smoothScrollDuration:(T=k.smoothScrolling)!==null&&T!==void 0&&T?125:0,scheduleAtNextAnimationFrame:ne=>(0,I.scheduleAtNextAnimationFrame)(ne)})),this.scrollableElement=this.disposables.add(new S.SmoothScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:(N=k.alwaysConsumeMouseWheel)!==null&&N!==void 0?N:d.alwaysConsumeMouseWheel,horizontal:1,vertical:(A=k.verticalScrollMode)!==null&&A!==void 0?A:d.verticalScrollMode,useShadows:(P=k.useShadows)!==null&&P!==void 0?P:d.useShadows,mouseWheelScrollSensitivity:k.mouseWheelScrollSensitivity,fastScrollSensitivity:k.fastScrollSensitivity,scrollByPage:k.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),b.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,I.addDisposableListener)(this.rowsContainer,D.EventType.Change,ne=>this.onTouchChange(ne))),this.disposables.add((0,I.addDisposableListener)(this.scrollableElement.getDomNode(),"scroll",ne=>ne.target.scrollTop=0)),this.disposables.add((0,I.addDisposableListener)(this.domNode,"dragover",ne=>this.onDragOver(this.toDragEvent(ne)))),this.disposables.add((0,I.addDisposableListener)(this.domNode,"drop",ne=>this.onDrop(this.toDragEvent(ne)))),this.disposables.add((0,I.addDisposableListener)(this.domNode,"dragleave",ne=>this.onDragLeave(this.toDragEvent(ne)))),this.disposables.add((0,I.addDisposableListener)(this.domNode,"dragend",ne=>this.onDragEnd(ne))),this.setRowLineHeight=(O=k.setRowLineHeight)!==null&&O!==void 0?O:d.setRowLineHeight,this.setRowHeight=(x=k.setRowHeight)!==null&&x!==void 0?x:d.setRowHeight,this.supportDynamicHeights=(W=k.supportDynamicHeights)!==null&&W!==void 0?W:d.supportDynamicHeights,this.dnd=(U=k.dnd)!==null&&U!==void 0?U:this.disposables.add(d.dnd),this.layout((F=k.initialSize)===null||F===void 0?void 0:F.height,(G=k.initialSize)===null||G===void 0?void 0:G.width)}updateOptions(b){b.paddingBottom!==void 0&&(this.paddingBottom=b.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),b.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(b.smoothScrolling?125:0),b.horizontalScrolling!==void 0&&(this.horizontalScrolling=b.horizontalScrolling);let w;if(b.scrollByPage!==void 0&&(w=Object.assign(Object.assign({},w??{}),{scrollByPage:b.scrollByPage})),b.mouseWheelScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{mouseWheelScrollSensitivity:b.mouseWheelScrollSensitivity})),b.fastScrollSensitivity!==void 0&&(w=Object.assign(Object.assign({},w??{}),{fastScrollSensitivity:b.fastScrollSensitivity})),w&&this.scrollableElement.updateOptions(w),b.paddingTop!==void 0&&b.paddingTop!==this.rangeMap.paddingTop){const E=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),k=b.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=b.paddingTop,this.render(E,Math.max(0,this.lastRenderTop+k),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}splice(b,w,E=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(b,w,E)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(b,w,E=[]){const k=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),M={start:b,end:b+w},R=i.Range.intersect(k,M),B=new Map;for(let q=R.end-1;q>=R.start;q--){const H=this.items[q];if(H.dragStartDisposable.dispose(),H.checkedDisposable.dispose(),H.row){let V=B.get(H.templateId);V||(V=[],B.set(H.templateId,V));const Z=this.renderers.get(H.templateId);Z&&Z.disposeElement&&Z.disposeElement(H.element,q,H.row.templateData,H.size),V.push(H.row)}H.row=null}const T={start:b+w,end:this.items.length},N=i.Range.intersect(T,k),A=i.Range.relativeComplement(T,k),P=E.map(q=>({id:String(this.itemId++),element:q,templateId:this.virtualDelegate.getTemplateId(q),size:this.virtualDelegate.getHeight(q),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(q),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:s.Disposable.None,checkedDisposable:s.Disposable.None}));let O;b===0&&w>=this.items.length?(this.rangeMap=new t.RangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,P),O=this.items,this.items=P):(this.rangeMap.splice(b,w,P),O=this.items.splice(b,w,...P));const x=E.length-w,W=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),U=(0,t.shift)(N,x),F=i.Range.intersect(W,U);for(let q=F.start;q(0,t.shift)(q,x)),se=[{start:b,end:b+E.length},...Y].map(q=>i.Range.intersect(W,q)),J=this.getNextToLastElement(se);for(const q of se)for(let H=q.start;Hq.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,I.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 b=0;for(const w of this.items)typeof w.width<"u"&&(b=Math.max(b,w.width));this.scrollWidth=b,this.scrollableElement.setScrollDimensions({scrollWidth:b===0?0:b+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(const b of this.items)b.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}get firstVisibleIndex(){const b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),w=this.rangeMap.positionAt(b.start),E=this.rangeMap.positionAt(b.start+1);return E!==-1&&(E-w)/2+w{for(const P of N)for(let O=P.start;Ok.row.domNode.setAttribute("aria-checked",String(!!P));A(B.value),k.checkedDisposable=B.onDidChange(A)}(M||!k.row.domNode.parentElement)&&(w?this.rowsContainer.insertBefore(k.row.domNode,w):this.rowsContainer.appendChild(k.row.domNode)),this.updateItemInDOM(k,b);const T=this.renderers.get(k.templateId);if(!T)throw new Error(`No renderer found for template id ${k.templateId}`);T?.renderElement(k.element,b,k.row.templateData,k.size);const N=this.dnd.getDragURI(k.element);k.dragStartDisposable.dispose(),k.row.domNode.draggable=!!N,N&&(k.dragStartDisposable=(0,I.addDisposableListener)(k.row.domNode,"dragstart",A=>this.onDragStart(k.element,N,A))),this.horizontalScrolling&&(this.measureItemWidth(k),this.eventuallyUpdateScrollWidth())}measureItemWidth(b){if(!b.row||!b.row.domNode)return;b.row.domNode.style.width="fit-content",b.width=(0,I.getContentWidth)(b.row.domNode);const w=window.getComputedStyle(b.row.domNode);w.paddingLeft&&(b.width+=parseFloat(w.paddingLeft)),w.paddingRight&&(b.width+=parseFloat(w.paddingRight)),b.row.domNode.style.width=""}updateItemInDOM(b,w){b.row.domNode.style.top=`${this.elementTop(w)}px`,this.setRowHeight&&(b.row.domNode.style.height=`${b.size}px`),this.setRowLineHeight&&(b.row.domNode.style.lineHeight=`${b.size}px`),b.row.domNode.setAttribute("data-index",`${w}`),b.row.domNode.setAttribute("data-last-element",w===this.length-1?"true":"false"),b.row.domNode.setAttribute("data-parity",w%2===0?"even":"odd"),b.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(b.element,w,this.length))),b.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(b.element,w))),b.row.domNode.setAttribute("id",this.getElementDomId(w)),b.row.domNode.classList.toggle("drop-target",b.dropTarget)}removeItemFromDOM(b){const w=this.items[b];if(w.dragStartDisposable.dispose(),w.checkedDisposable.dispose(),w.row){const E=this.renderers.get(w.templateId);E&&E.disposeElement&&E.disposeElement(w.element,b,w.row.templateData,w.size),this.cache.release(w.row),w.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(b,w){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:b,reuseAnimation:w})}get scrollTop(){return this.getScrollTop()}set scrollTop(b){this.setScrollTop(b)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"click")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseDblClick(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"dblclick")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseMiddleClick(){return C.Event.filter(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"auxclick")).event,b=>this.toMouseEvent(b),this.disposables),b=>b.browserEvent.button===1,this.disposables)}get onMouseDown(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mousedown")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOver(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseover")).event,b=>this.toMouseEvent(b),this.disposables)}get onMouseOut(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"mouseout")).event,b=>this.toMouseEvent(b),this.disposables)}get onContextMenu(){return C.Event.any(C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"contextmenu")).event,b=>this.toMouseEvent(b),this.disposables),C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,D.EventType.Contextmenu)).event,b=>this.toGestureEvent(b),this.disposables))}get onTouchStart(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.domNode,"touchstart")).event,b=>this.toTouchEvent(b),this.disposables)}get onTap(){return C.Event.map(this.disposables.add(new y.DomEmitter(this.rowsContainer,D.EventType.Tap)).event,b=>this.toGestureEvent(b),this.disposables)}toMouseEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],k=E&&E.element;return{browserEvent:b,index:w,element:k}}toTouchEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],k=E&&E.element;return{browserEvent:b,index:w,element:k}}toGestureEvent(b){const w=this.getItemIndexFromEventTarget(b.initialTarget||null),E=typeof w>"u"?void 0:this.items[w],k=E&&E.element;return{browserEvent:b,index:w,element:k}}toDragEvent(b){const w=this.getItemIndexFromEventTarget(b.target||null),E=typeof w>"u"?void 0:this.items[w],k=E&&E.element;return{browserEvent:b,index:w,element:k}}onScroll(b){try{const w=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(w,b.scrollTop,b.height,b.scrollLeft,b.scrollWidth),this.supportDynamicHeights&&this._rerender(b.scrollTop,b.height,b.inSmoothScrolling)}catch(w){throw console.error("Got bad scroll event:",b),w}}onTouchChange(b){b.preventDefault(),b.stopPropagation(),this.scrollTop-=b.translationY}onDragStart(b,w,E){var k,M;if(!E.dataTransfer)return;const R=this.dnd.getDragElements(b);if(E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setData(L.DataTransfers.TEXT,w),E.dataTransfer.setDragImage){let B;this.dnd.getDragLabel&&(B=this.dnd.getDragLabel(R,E)),typeof B>"u"&&(B=String(R.length));const T=(0,I.$)(".monaco-drag-image");T.textContent=B;const A=(P=>{for(;P&&!P.classList.contains("monaco-workbench");)P=P.parentElement;return P||document.body})(this.domNode);A.appendChild(T),E.dataTransfer.setDragImage(T,-10,-10),setTimeout(()=>A.removeChild(T),0)}this.domNode.classList.add("dragging"),this.currentDragData=new l(R),f.CurrentDragAndDropData=new o(R),(M=(k=this.dnd).onDragStart)===null||M===void 0||M.call(k,this.currentDragData,E)}onDragOver(b){var w;if(b.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),f.CurrentDragAndDropData&&f.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(b.browserEvent),!b.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(f.CurrentDragAndDropData)this.currentDragData=f.CurrentDragAndDropData;else{if(!b.browserEvent.dataTransfer.types)return!1;this.currentDragData=new c}const E=this.dnd.onDragOver(this.currentDragData,b.element,b.index,b.browserEvent);if(this.canDrop=typeof E=="boolean"?E:E.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;b.browserEvent.dataTransfer.dropEffect=typeof E!="boolean"&&E.effect===0?"copy":"move";let k;if(typeof E!="boolean"&&E.feedback?k=E.feedback:typeof b.index>"u"?k=[-1]:k=[b.index],k=(0,m.distinct)(k).filter(M=>M>=-1&&MM-R),k=k[0]===-1?[-1]:k,a(this.currentDragFeedback,k))return!0;if(this.currentDragFeedback=k,this.currentDragFeedbackDisposable.dispose(),k[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const M of k){const R=this.items[M];R.dropTarget=!0,(w=R.row)===null||w===void 0||w.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,s.toDisposable)(()=>{var M;for(const R of k){const B=this.items[R];B.dropTarget=!1,(M=B.row)===null||M===void 0||M.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(b){var w,E;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,_.disposableTimeout)(()=>this.clearDragOverFeedback(),100,this.disposables),this.currentDragData&&((E=(w=this.dnd).onDragLeave)===null||E===void 0||E.call(w,this.currentDragData,b.element,b.index,b.browserEvent))}onDrop(b){if(!this.canDrop)return;const w=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,f.CurrentDragAndDropData=void 0,!(!w||!b.browserEvent.dataTransfer)&&(b.browserEvent.preventDefault(),w.update(b.browserEvent.dataTransfer),this.dnd.drop(w,b.element,b.index,b.browserEvent))}onDragEnd(b){var w,E;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,f.CurrentDragAndDropData=void 0,(E=(w=this.dnd).onDragEnd)===null||E===void 0||E.call(w,b)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=s.Disposable.None}setupDragAndDropScrollTopAnimation(b){if(!this.dragOverAnimationDisposable){const w=(0,I.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,I.animate)(this.animateDragAndDropScrollTop.bind(this,w))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,_.disposableTimeout)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3,this.disposables),this.dragOverMouseY=b.pageY}animateDragAndDropScrollTop(b){if(this.dragOverMouseY===void 0)return;const w=this.dragOverMouseY-b,E=this.renderHeight-35;w<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(w-35))):w>E&&(this.scrollTop+=Math.min(14,Math.floor(.3*(w-E))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(b){const w=this.scrollableElement.getDomNode();let E=b;for(;E instanceof HTMLElement&&E!==this.rowsContainer&&w.contains(E);){const k=E.getAttribute("data-index");if(k){const M=Number(k);if(!isNaN(M))return M}E=E.parentElement}}getRenderRange(b,w){return{start:this.rangeMap.indexAt(b),end:this.rangeMap.indexAfter(b+w-1)}}_rerender(b,w,E){const k=this.getRenderRange(b,w);let M,R;b===this.elementTop(k.start)?(M=k.start,R=0):k.end-k.start>1&&(M=k.start+1,R=this.elementTop(M)-b);let B=0;for(;;){const T=this.getRenderRange(b,w);let N=!1;for(let A=T.start;Aue.templateData===ee);if(le>=0){const ue=this.renderedElements[le];this.trait.unrender(ee),ue.index=Z}else{const ue={index:Z,templateData:ee};this.renderedElements.push(ue)}this.trait.renderIndex(Z,ee)}splice(V,Z,ee){const le=[];for(const ue of this.renderedElements)ue.index=V+Z&&le.push({index:ue.index+ee-Z,templateData:ue.templateData});this.renderedElements=le}renderIndexes(V){for(const{index:Z,templateData:ee}of this.renderedElements)V.indexOf(Z)>-1&&this.trait.renderIndex(Z,ee)}disposeTemplate(V){const Z=this.renderedElements.findIndex(ee=>ee.templateData===V);Z<0||this.renderedElements.splice(Z,1)}}class a{get name(){return this._trait}get renderer(){return new c(this)}constructor(V){this._trait=V,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new i.Emitter,this.onChange=this._onChange.event}splice(V,Z,ee){var le;Z=Math.max(0,Math.min(Z,this.length-V));const ue=ee.length-Z,de=V+Z,ce=[];let ae=0;for(;ae=de;)ce.push(this.sortedIndexes[ae++]+ue);const X=this.length+ue;if(this.sortedIndexes.length>0&&ce.length===0&&X>0){const K=(le=this.sortedIndexes.find(z=>z>=V))!==null&&le!==void 0?le:X-1;ce.push(Math.min(K,X-1))}this.renderer.splice(V,Z,ee.length),this._set(ce,ce),this.length=X}renderIndex(V,Z){Z.classList.toggle(this._trait,this.contains(V))}unrender(V){V.classList.remove(this._trait)}set(V,Z){return this._set(V,[...V].sort(Y),Z)}_set(V,Z,ee){const le=this.indexes,ue=this.sortedIndexes;this.indexes=V,this.sortedIndexes=Z;const de=F(ue,V);return this.renderer.renderIndexes(de),this._onChange.fire({indexes:V,browserEvent:ee}),le}get(){return this.indexes}contains(V){return(0,_.binarySearch)(this.sortedIndexes,V,Y)>=0}dispose(){(0,t.dispose)(this._onChange)}}Ie([s.memoize],a.prototype,"renderer",null);class g extends a{constructor(V){super("selected"),this.setAriaSelected=V}renderIndex(V,Z){super.renderIndex(V,Z),this.setAriaSelected&&(this.contains(V)?Z.setAttribute("aria-selected","true"):Z.setAttribute("aria-selected","false"))}}class h{constructor(V,Z,ee){this.trait=V,this.view=Z,this.identityProvider=ee}splice(V,Z,ee){if(!this.identityProvider)return this.trait.splice(V,Z,new Array(ee.length).fill(!1));const le=this.trait.get().map(ce=>this.identityProvider.getId(this.view.element(ce)).toString());if(le.length===0)return this.trait.splice(V,Z,new Array(ee.length).fill(!1));const ue=new Set(le),de=ee.map(ce=>ue.has(this.identityProvider.getId(ce).toString()));this.trait.splice(V,Z,de)}}function p(H){return H.tagName==="INPUT"||H.tagName==="TEXTAREA"}e.isInputElement=p;function b(H){return H.classList.contains("monaco-editor")?!0:H.classList.contains("monaco-list")||!H.parentElement?!1:b(H.parentElement)}e.isMonacoEditor=b;function w(H){return H.tagName==="A"&&H.classList.contains("monaco-button")||H.tagName==="DIV"&&H.classList.contains("monaco-button-dropdown")?!0:H.classList.contains("monaco-list")||!H.parentElement?!1:w(H.parentElement)}e.isButton=w;class E{get onKeyDown(){return i.Event.chain(this.disposables.add(new I.DomEmitter(this.view.domNode,"keydown")).event,V=>V.filter(Z=>!p(Z.target)).map(Z=>new y.StandardKeyboardEvent(Z)))}constructor(V,Z,ee){this.list=V,this.view=Z,this.disposables=new t.DisposableStore,this.multipleSelectionDisposables=new t.DisposableStore,this.multipleSelectionSupport=ee.multipleSelectionSupport,this.disposables.add(this.onKeyDown(le=>{switch(le.keyCode){case 3:return this.onEnter(le);case 16:return this.onUpArrow(le);case 18:return this.onDownArrow(le);case 11:return this.onPageUpArrow(le);case 12:return this.onPageDownArrow(le);case 9:return this.onEscape(le);case 31:this.multipleSelectionSupport&&(u.isMacintosh?le.metaKey:le.ctrlKey)&&this.onCtrlA(le)}}))}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionSupport=V.multipleSelectionSupport)}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 Z=this.list.getFocus()[0];this.list.setAnchor(Z),this.list.reveal(Z),this.view.domNode.focus()}onDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNext(1,!1,V.browserEvent);const Z=this.list.getFocus()[0];this.list.setAnchor(Z),this.list.reveal(Z),this.view.domNode.focus()}onPageUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPreviousPage(V.browserEvent);const Z=this.list.getFocus()[0];this.list.setAnchor(Z),this.list.reveal(Z),this.view.domNode.focus()}onPageDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNextPage(V.browserEvent);const Z=this.list.getFocus()[0];this.list.setAnchor(Z),this.list.reveal(Z),this.view.domNode.focus()}onCtrlA(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection((0,_.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([s.memoize],E.prototype,"onKeyDown",null);var k;(function(H){H[H.Automatic=0]="Automatic",H[H.Trigger=1]="Trigger"})(k||(e.TypeNavigationMode=k={}));var M;(function(H){H[H.Idle=0]="Idle",H[H.Typing=1]="Typing"})(M||(M={})),e.DefaultKeyboardNavigationDelegate=new class{mightProducePrintableCharacter(H){return H.ctrlKey||H.metaKey||H.altKey?!1:H.keyCode>=31&&H.keyCode<=56||H.keyCode>=21&&H.keyCode<=30||H.keyCode>=98&&H.keyCode<=107||H.keyCode>=85&&H.keyCode<=95}};class R{constructor(V,Z,ee,le,ue){this.list=V,this.view=Z,this.keyboardNavigationLabelProvider=ee,this.keyboardNavigationEventFilter=le,this.delegate=ue,this.enabled=!1,this.state=M.Idle,this.mode=k.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new t.DisposableStore,this.disposables=new t.DisposableStore,this.updateOptions(V.options)}updateOptions(V){var Z,ee;!((Z=V.typeNavigationEnabled)!==null&&Z!==void 0)||Z?this.enable():this.disable(),this.mode=(ee=V.typeNavigationMode)!==null&&ee!==void 0?ee:k.Automatic}enable(){if(this.enabled)return;let V=!1;const Z=i.Event.chain(this.enabledDisposables.add(new I.DomEmitter(this.view.domNode,"keydown")).event,ue=>ue.filter(de=>!p(de.target)).filter(()=>this.mode===k.Automatic||this.triggered).map(de=>new y.StandardKeyboardEvent(de)).filter(de=>V||this.keyboardNavigationEventFilter(de)).filter(de=>this.delegate.mightProducePrintableCharacter(de)).forEach(de=>L.EventHelper.stop(de,!0)).map(de=>de.browserEvent.key)),ee=i.Event.debounce(Z,()=>null,800,void 0,void 0,void 0,this.enabledDisposables);i.Event.reduce(i.Event.any(Z,ee),(ue,de)=>de===null?null:(ue||"")+de,void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),ee(this.onClear,this,this.enabledDisposables),Z(()=>V=!0,void 0,this.enabledDisposables),ee(()=>V=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var V;const Z=this.list.getFocus();if(Z.length>0&&Z[0]===this.previouslyFocused){const ee=(V=this.list.options.accessibilityProvider)===null||V===void 0?void 0:V.getAriaLabel(this.list.element(Z[0]));ee&&(0,S.alert)(ee)}this.previouslyFocused=-1}onInput(V){if(!V){this.state=M.Idle,this.triggered=!1;return}const Z=this.list.getFocus(),ee=Z.length>0?Z[0]:0,le=this.state===M.Idle?1:0;this.state=M.Typing;for(let ue=0;ue1&&X.length===1){this.previouslyFocused=ee,this.list.setFocus([de]),this.list.reveal(de);return}}}else if(typeof ae>"u"||(0,n.matchesPrefix)(V,ae)){this.previouslyFocused=ee,this.list.setFocus([de]),this.list.reveal(de);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class B{constructor(V,Z){this.list=V,this.view=Z,this.disposables=new t.DisposableStore;const ee=i.Event.chain(this.disposables.add(new I.DomEmitter(Z.domNode,"keydown")).event,ue=>ue.filter(de=>!p(de.target)).map(de=>new y.StandardKeyboardEvent(de)));i.Event.chain(ee,ue=>ue.filter(de=>de.keyCode===2&&!de.ctrlKey&&!de.metaKey&&!de.shiftKey&&!de.altKey))(this.onTab,this,this.disposables)}onTab(V){if(V.target!==this.view.domNode)return;const Z=this.list.getFocus();if(Z.length===0)return;const ee=this.view.domElement(Z[0]);if(!ee)return;const le=ee.querySelector("[tabIndex]");if(!le||!(le instanceof HTMLElement)||le.tabIndex===-1)return;const ue=window.getComputedStyle(le);ue.visibility==="hidden"||ue.display==="none"||(V.preventDefault(),V.stopPropagation(),le.focus())}dispose(){this.disposables.dispose()}}function T(H){return u.isMacintosh?H.browserEvent.metaKey:H.browserEvent.ctrlKey}e.isSelectionSingleChangeEvent=T;function N(H){return H.browserEvent.shiftKey}e.isSelectionRangeChangeEvent=N;function A(H){return H instanceof MouseEvent&&H.button===2}const P={isSelectionSingleChangeEvent:T,isSelectionRangeChangeEvent:N};class O{constructor(V){this.list=V,this.disposables=new t.DisposableStore,this._onPointer=new i.Emitter,this.onPointer=this._onPointer.event,V.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||P),this.mouseSupport=typeof V.options.mouseSupport>"u"||!!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(D.Gesture.addTarget(V.getHTMLElement()))),i.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||P))}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){b(V.browserEvent.target)||document.activeElement!==V.browserEvent.target&&this.list.domFocus()}onContextMenu(V){if(p(V.browserEvent.target)||b(V.browserEvent.target))return;const Z=typeof V.index>"u"?[]:[V.index];this.list.setFocus(Z,V.browserEvent)}onViewPointer(V){if(!this.mouseSupport||p(V.browserEvent.target)||b(V.browserEvent.target)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Z=V.index;if(typeof Z>"u"){this.list.setFocus([],V.browserEvent),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(V))return this.changeSelection(V);this.list.setFocus([Z],V.browserEvent),this.list.setAnchor(Z),A(V.browserEvent)||this.list.setSelection([Z],V.browserEvent),this._onPointer.fire(V)}onDoubleClick(V){if(p(V.browserEvent.target)||b(V.browserEvent.target)||this.isSelectionChangeEvent(V)||V.browserEvent.isHandledByList)return;V.browserEvent.isHandledByList=!0;const Z=this.list.getFocus();this.list.setSelection(Z,V.browserEvent)}changeSelection(V){const Z=V.index;let ee=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(V)){if(typeof ee>"u"){const K=this.list.getFocus()[0];ee=K??Z,this.list.setAnchor(ee)}const le=Math.min(ee,Z),ue=Math.max(ee,Z),de=(0,_.range)(le,ue+1),ce=this.list.getSelection(),ae=U(F(ce,[ee]),ee);if(ae.length===0)return;const X=F(de,G(ce,ae));this.list.setSelection(X,V.browserEvent),this.list.setFocus([Z],V.browserEvent)}else if(this.isSelectionSingleChangeEvent(V)){const le=this.list.getSelection(),ue=le.filter(de=>de!==Z);this.list.setFocus([Z]),this.list.setAnchor(Z),le.length===ue.length?this.list.setSelection([...ue,Z],V.browserEvent):this.list.setSelection(ue,V.browserEvent)}}dispose(){this.disposables.dispose()}}e.MouseController=O;class x{constructor(V,Z){this.styleElement=V,this.selectorSuffix=Z}style(V){var Z,ee;const le=this.selectorSuffix&&`.${this.selectorSuffix}`,ue=[];V.listBackground&&ue.push(`.monaco-list${le} .monaco-list-rows { background: ${V.listBackground}; }`),V.listFocusBackground&&(ue.push(`.monaco-list${le}:focus .monaco-list-row.focused { background-color: ${V.listFocusBackground}; }`),ue.push(`.monaco-list${le}:focus .monaco-list-row.focused:hover { background-color: ${V.listFocusBackground}; }`)),V.listFocusForeground&&ue.push(`.monaco-list${le}:focus .monaco-list-row.focused { color: ${V.listFocusForeground}; }`),V.listActiveSelectionBackground&&(ue.push(`.monaco-list${le}:focus .monaco-list-row.selected { background-color: ${V.listActiveSelectionBackground}; }`),ue.push(`.monaco-list${le}:focus .monaco-list-row.selected:hover { background-color: ${V.listActiveSelectionBackground}; }`)),V.listActiveSelectionForeground&&ue.push(`.monaco-list${le}:focus .monaco-list-row.selected { color: ${V.listActiveSelectionForeground}; }`),V.listActiveSelectionIconForeground&&ue.push(`.monaco-list${le}:focus .monaco-list-row.selected .codicon { color: ${V.listActiveSelectionIconForeground}; }`),V.listFocusAndSelectionBackground&&ue.push(` + .monaco-drag-image, + .monaco-list${le}:focus .monaco-list-row.selected.focused { background-color: ${V.listFocusAndSelectionBackground}; } + `),V.listFocusAndSelectionForeground&&ue.push(` + .monaco-drag-image, + .monaco-list${le}:focus .monaco-list-row.selected.focused { color: ${V.listFocusAndSelectionForeground}; } + `),V.listInactiveFocusForeground&&(ue.push(`.monaco-list${le} .monaco-list-row.focused { color: ${V.listInactiveFocusForeground}; }`),ue.push(`.monaco-list${le} .monaco-list-row.focused:hover { color: ${V.listInactiveFocusForeground}; }`)),V.listInactiveSelectionIconForeground&&ue.push(`.monaco-list${le} .monaco-list-row.focused .codicon { color: ${V.listInactiveSelectionIconForeground}; }`),V.listInactiveFocusBackground&&(ue.push(`.monaco-list${le} .monaco-list-row.focused { background-color: ${V.listInactiveFocusBackground}; }`),ue.push(`.monaco-list${le} .monaco-list-row.focused:hover { background-color: ${V.listInactiveFocusBackground}; }`)),V.listInactiveSelectionBackground&&(ue.push(`.monaco-list${le} .monaco-list-row.selected { background-color: ${V.listInactiveSelectionBackground}; }`),ue.push(`.monaco-list${le} .monaco-list-row.selected:hover { background-color: ${V.listInactiveSelectionBackground}; }`)),V.listInactiveSelectionForeground&&ue.push(`.monaco-list${le} .monaco-list-row.selected { color: ${V.listInactiveSelectionForeground}; }`),V.listHoverBackground&&ue.push(`.monaco-list${le}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${V.listHoverBackground}; }`),V.listHoverForeground&&ue.push(`.monaco-list${le}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${V.listHoverForeground}; }`);const de=(0,L.asCssValueWithDefault)(V.listFocusAndSelectionOutline,(0,L.asCssValueWithDefault)(V.listSelectionOutline,(Z=V.listFocusOutline)!==null&&Z!==void 0?Z:""));de&&ue.push(`.monaco-list${le}:focus .monaco-list-row.focused.selected { outline: 1px solid ${de}; outline-offset: -1px;}`),V.listFocusOutline&&ue.push(` + .monaco-drag-image, + .monaco-list${le}:focus .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } + .monaco-workbench.context-menu-visible .monaco-list${le}.last-focused .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } + `);const ce=(0,L.asCssValueWithDefault)(V.listSelectionOutline,(ee=V.listInactiveFocusOutline)!==null&&ee!==void 0?ee:"");ce&&ue.push(`.monaco-list${le} .monaco-list-row.focused.selected { outline: 1px dotted ${ce}; outline-offset: -1px; }`),V.listSelectionOutline&&ue.push(`.monaco-list${le} .monaco-list-row.selected { outline: 1px dotted ${V.listSelectionOutline}; outline-offset: -1px; }`),V.listInactiveFocusOutline&&ue.push(`.monaco-list${le} .monaco-list-row.focused { outline: 1px dotted ${V.listInactiveFocusOutline}; outline-offset: -1px; }`),V.listHoverOutline&&ue.push(`.monaco-list${le} .monaco-list-row:hover { outline: 1px dashed ${V.listHoverOutline}; outline-offset: -1px; }`),V.listDropBackground&&ue.push(` + .monaco-list${le}.drop-target, + .monaco-list${le} .monaco-list-rows.drop-target, + .monaco-list${le} .monaco-list-row.drop-target { background-color: ${V.listDropBackground} !important; color: inherit !important; } + `),V.tableColumnsBorder&&ue.push(` + .monaco-table > .monaco-split-view2, + .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before, + .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2, + .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { + border-color: ${V.tableColumnsBorder}; + } + + .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2, + .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before { + border-color: transparent; + } + `),V.tableOddRowsBackgroundColor&&ue.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=ue.join(` +`)}}e.DefaultStyleController=x,e.unthemedListStyles={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropBackground:"#383B3D",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:C.Color.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:C.Color.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:C.Color.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0};const W={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){},dispose(){}}};function U(H,V){const Z=H.indexOf(V);if(Z===-1)return[];const ee=[];let le=Z-1;for(;le>=0&&H[le]===V-(Z-le);)ee.push(H[le--]);for(ee.reverse(),le=Z;le=H.length)Z.push(V[le++]);else if(le>=V.length)Z.push(H[ee++]);else if(H[ee]===V[le]){Z.push(H[ee]),ee++,le++;continue}else H[ee]=H.length)Z.push(V[le++]);else if(le>=V.length)Z.push(H[ee++]);else if(H[ee]===V[le]){ee++,le++;continue}else H[ee]H-V;class ne{constructor(V,Z){this._templateId=V,this.renderers=Z}get templateId(){return this._templateId}renderTemplate(V){return this.renderers.map(Z=>Z.renderTemplate(V))}renderElement(V,Z,ee,le){let ue=0;for(const de of this.renderers)de.renderElement(V,Z,ee[ue++],le)}disposeElement(V,Z,ee,le){var ue;let de=0;for(const ce of this.renderers)(ue=ce.disposeElement)===null||ue===void 0||ue.call(ce,V,Z,ee[de],le),de+=1}disposeTemplate(V){let Z=0;for(const ee of this.renderers)ee.disposeTemplate(V[Z++])}}class se{constructor(V){this.accessibilityProvider=V,this.templateId="a18n"}renderTemplate(V){return V}renderElement(V,Z,ee){const le=this.accessibilityProvider.getAriaLabel(V);le?ee.setAttribute("aria-label",le):ee.removeAttribute("aria-label");const ue=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(V);typeof ue=="number"?ee.setAttribute("aria-level",`${ue}`):ee.removeAttribute("aria-level")}disposeTemplate(V){}}class J{constructor(V,Z){this.list=V,this.dnd=Z}getDragElements(V){const Z=this.list.getSelectedElements();return Z.indexOf(V)>-1?Z:[V]}getDragURI(V){return this.dnd.getDragURI(V)}getDragLabel(V,Z){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(V,Z)}onDragStart(V,Z){var ee,le;(le=(ee=this.dnd).onDragStart)===null||le===void 0||le.call(ee,V,Z)}onDragOver(V,Z,ee,le){return this.dnd.onDragOver(V,Z,ee,le)}onDragLeave(V,Z,ee,le){var ue,de;(de=(ue=this.dnd).onDragLeave)===null||de===void 0||de.call(ue,V,Z,ee,le)}onDragEnd(V){var Z,ee;(ee=(Z=this.dnd).onDragEnd)===null||ee===void 0||ee.call(Z,V)}drop(V,Z,ee,le){this.dnd.drop(V,Z,ee,le)}dispose(){this.dnd.dispose()}}class q{get onDidChangeFocus(){return i.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),V=>this.toListEvent(V),this.disposables)}get onDidChangeSelection(){return i.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),V=>this.toListEvent(V),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}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 onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let V=!1;const Z=i.Event.chain(this.disposables.add(new I.DomEmitter(this.view.domNode,"keydown")).event,ue=>ue.map(de=>new y.StandardKeyboardEvent(de)).filter(de=>V=de.keyCode===58||de.shiftKey&&de.keyCode===68).map(de=>L.EventHelper.stop(de,!0)).filter(()=>!1)),ee=i.Event.chain(this.disposables.add(new I.DomEmitter(this.view.domNode,"keyup")).event,ue=>ue.forEach(()=>V=!1).map(de=>new y.StandardKeyboardEvent(de)).filter(de=>de.keyCode===58||de.shiftKey&&de.keyCode===68).map(de=>L.EventHelper.stop(de,!0)).map(({browserEvent:de})=>{const ce=this.getFocus(),ae=ce.length?ce[0]:void 0,X=typeof ae<"u"?this.view.element(ae):void 0,K=typeof ae<"u"?this.view.domElement(ae):this.view.domNode;return{index:ae,element:X,anchor:K,browserEvent:de}})),le=i.Event.chain(this.view.onContextMenu,ue=>ue.filter(de=>!V).map(({element:de,index:ce,browserEvent:ae})=>({element:de,index:ce,anchor:new o.StandardMouseEvent(ae),browserEvent:ae})));return i.Event.any(Z,ee,le)}get onKeyDown(){return this.disposables.add(new I.DomEmitter(this.view.domNode,"keydown")).event}get onDidFocus(){return i.Event.signal(this.disposables.add(new I.DomEmitter(this.view.domNode,"focus",!0)).event)}constructor(V,Z,ee,le,ue=W){var de,ce,ae,X;this.user=V,this._options=ue,this.focus=new a("focused"),this.anchor=new a("anchor"),this.eventBufferer=new i.EventBufferer,this._ariaLabel="",this.disposables=new t.DisposableStore,this._onDidDispose=new i.Emitter,this.onDidDispose=this._onDidDispose.event;const K=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(de=this._options.accessibilityProvider)===null||de===void 0?void 0:de.getWidgetRole():"list";this.selection=new g(K!=="listbox");const z=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=ue.accessibilityProvider,this.accessibilityProvider&&(z.push(new se(this.accessibilityProvider)),(ae=(ce=this.accessibilityProvider).onDidChangeActiveDescendant)===null||ae===void 0||ae.call(ce,this.onDidChangeActiveDescendant,this,this.disposables)),le=le.map(j=>new ne(j.templateId,[...z,j]));const Q=Object.assign(Object.assign({},ue),{dnd:ue.dnd&&new J(this,ue.dnd)});if(this.view=this.createListView(Z,ee,le,Q),this.view.domNode.setAttribute("role",K),ue.styleController)this.styleController=ue.styleController(this.view.domId);else{const j=(0,L.createStyleSheet)(this.view.domNode);this.styleController=new x(j,this.view.domId)}if(this.spliceable=new m.CombinedSpliceable([new h(this.focus,this.view,ue.identityProvider),new h(this.selection,this.view,ue.identityProvider),new h(this.anchor,this.view,ue.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 B(this,this.view)),(typeof ue.keyboardSupport!="boolean"||ue.keyboardSupport)&&(this.keyboardController=new E(this,this.view,ue),this.disposables.add(this.keyboardController)),ue.keyboardNavigationLabelProvider){const j=ue.keyboardNavigationDelegate||e.DefaultKeyboardNavigationDelegate;this.typeNavigationController=new R(this,this.view,ue.keyboardNavigationLabelProvider,(X=ue.keyboardNavigationEventFilter)!==null&&X!==void 0?X:()=>!0,j),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(ue),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")}createListView(V,Z,ee,le){return new l.ListView(V,Z,ee,le)}createMouseController(V){return new O(this)}updateOptions(V={}){var Z,ee;this._options=Object.assign(Object.assign({},this._options),V),(Z=this.typeNavigationController)===null||Z===void 0||Z.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),(ee=this.keyboardController)===null||ee===void 0||ee.updateOptions(V),this.view.updateOptions(V)}get options(){return this._options}splice(V,Z,ee=[]){if(V<0||V>this.view.length)throw new d.ListError(this.user,`Invalid start index: ${V}`);if(Z<0)throw new d.ListError(this.user,`Invalid delete count: ${Z}`);Z===0&&ee.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(V,Z,ee))}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 scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}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,Z){this.view.layout(V,Z)}setSelection(V,Z){for(const ee of V)if(ee<0||ee>=this.length)throw new d.ListError(this.user,`Invalid index ${ee}`);this.selection.set(V,Z)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(V=>this.view.element(V))}setAnchor(V){if(typeof V>"u"){this.anchor.set([]);return}if(V<0||V>=this.length)throw new d.ListError(this.user,`Invalid index ${V}`);this.anchor.set([V])}getAnchor(){return(0,_.firstOrDefault)(this.anchor.get(),void 0)}getAnchorElement(){const V=this.getAnchor();return typeof V>"u"?void 0:this.element(V)}setFocus(V,Z){for(const ee of V)if(ee<0||ee>=this.length)throw new d.ListError(this.user,`Invalid index ${ee}`);this.focus.set(V,Z)}focusNext(V=1,Z=!1,ee,le){if(this.length===0)return;const ue=this.focus.get(),de=this.findNextIndex(ue.length>0?ue[0]+V:0,Z,le);de>-1&&this.setFocus([de],ee)}focusPrevious(V=1,Z=!1,ee,le){if(this.length===0)return;const ue=this.focus.get(),de=this.findPreviousIndex(ue.length>0?ue[0]-V:0,Z,le);de>-1&&this.setFocus([de],ee)}focusNextPage(V,Z){return be(this,void 0,void 0,function*(){let ee=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);ee=ee===0?0:ee-1;const le=this.getFocus()[0];if(le!==ee&&(le===void 0||ee>le)){const ue=this.findPreviousIndex(ee,!1,Z);ue>-1&&le!==ue?this.setFocus([ue],V):this.setFocus([ee],V)}else{const ue=this.view.getScrollTop();let de=ue+this.view.renderHeight;ee>le&&(de-=this.view.elementHeight(ee)),this.view.setScrollTop(de),this.view.getScrollTop()!==ue&&(this.setFocus([]),yield(0,v.timeout)(0),yield this.focusNextPage(V,Z))}})}focusPreviousPage(V,Z){return be(this,void 0,void 0,function*(){let ee;const le=this.view.getScrollTop();le===0?ee=this.view.indexAt(le):ee=this.view.indexAfter(le-1);const ue=this.getFocus()[0];if(ue!==ee&&(ue===void 0||ue>=ee)){const de=this.findNextIndex(ee,!1,Z);de>-1&&ue!==de?this.setFocus([de],V):this.setFocus([ee],V)}else{const de=le;this.view.setScrollTop(le-this.view.renderHeight),this.view.getScrollTop()!==de&&(this.setFocus([]),yield(0,v.timeout)(0),yield this.focusPreviousPage(V,Z))}})}focusLast(V,Z){if(this.length===0)return;const ee=this.findPreviousIndex(this.length-1,!1,Z);ee>-1&&this.setFocus([ee],V)}focusFirst(V,Z){this.focusNth(0,V,Z)}focusNth(V,Z,ee){if(this.length===0)return;const le=this.findNextIndex(V,!1,ee);le>-1&&this.setFocus([le],Z)}findNextIndex(V,Z=!1,ee){for(let le=0;le=this.length&&!Z)return-1;if(V=V%this.length,!ee||ee(this.element(V)))return V;V++}return-1}findPreviousIndex(V,Z=!1,ee){for(let le=0;lethis.view.element(V))}reveal(V,Z){if(V<0||V>=this.length)throw new d.ListError(this.user,`Invalid index ${V}`);const ee=this.view.getScrollTop(),le=this.view.elementTop(V),ue=this.view.elementHeight(V);if((0,f.isNumber)(Z)){const de=ue-this.view.renderHeight;this.view.setScrollTop(de*(0,r.clamp)(Z,0,1)+le)}else{const de=le+ue,ce=ee+this.view.renderHeight;le=ce||(le=ce&&ue>=this.view.renderHeight?this.view.setScrollTop(le):de>=ce&&this.view.setScrollTop(de-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}getElementID(V){return this.view.getElementDomId(V)}style(V){this.styleController.style(V)}toListEvent({indexes:V,browserEvent:Z}){return{indexes:V,elements:V.map(ee=>this.view.element(ee)),browserEvent:Z}}_onFocusChange(){const V=this.focus.get();this.view.domNode.classList.toggle("element-focused",V.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var V;const Z=this.focus.get();if(Z.length>0){let ee;!((V=this.accessibilityProvider)===null||V===void 0)&&V.getActiveDescendantId&&(ee=this.accessibilityProvider.getActiveDescendantId(this.view.element(Z[0]))),this.view.domNode.setAttribute("aria-activedescendant",ee||this.view.getElementDomId(Z[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()}}e.List=q,Ie([s.memoize],q.prototype,"onDidChangeFocus",null),Ie([s.memoize],q.prototype,"onDidChangeSelection",null),Ie([s.memoize],q.prototype,"onContextMenu",null),Ie([s.memoize],q.prototype,"onKeyDown",null),Ie([s.memoize],q.prototype,"onDidFocus",null)}),define(te[581],ie([1,0,13,19,6,2,113,267]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedList=void 0;class m{get templateId(){return this.renderer.templateId}constructor(i,n){this.renderer=i,this.modelProvider=n}renderTemplate(i){return{data:this.renderer.renderTemplate(i),disposable:D.Disposable.None}}renderElement(i,n,t,r){var u;if((u=t.disposable)===null||u===void 0||u.dispose(),!t.data)return;const f=this.modelProvider();if(f.isResolved(i))return this.renderer.renderElement(f.get(i),i,t.data,r);const d=new I.CancellationTokenSource,l=f.resolve(i,d.token);t.disposable={dispose:()=>d.cancel()},this.renderer.renderPlaceholder(i,t.data),l.then(o=>this.renderer.renderElement(o,i,t.data,r))}disposeTemplate(i){i.disposable&&(i.disposable.dispose(),i.disposable=void 0),i.data&&(this.renderer.disposeTemplate(i.data),i.data=void 0)}}class _{constructor(i,n){this.modelProvider=i,this.accessibilityProvider=n}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(i){const n=this.modelProvider();return n.isResolved(i)?this.accessibilityProvider.getAriaLabel(n.get(i)):null}}function v(s,i){return Object.assign(Object.assign({},i),{accessibilityProvider:i.accessibilityProvider&&new _(s,i.accessibilityProvider)})}class C{constructor(i,n,t,r,u={}){const f=()=>this.model,d=r.map(l=>new m(l,f));this.list=new S.List(i,n,t,d,v(f,u))}updateOptions(i){this.list.updateOptions(i)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return y.Event.map(this.list.onMouseDblClick,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onPointer(){return y.Event.map(this.list.onPointer,({element:i,index:n,browserEvent:t})=>({element:i===void 0?void 0:this._model.get(i),index:n,browserEvent:t}))}get onDidChangeSelection(){return y.Event.map(this.list.onDidChangeSelection,({elements:i,indexes:n,browserEvent:t})=>({elements:i.map(r=>this._model.get(r)),indexes:n,browserEvent:t}))}get model(){return this._model}set model(i){this._model=i,this.list.splice(0,this.list.length,(0,L.range)(i.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(i=>this.model.get(i))}style(i){this.list.style(i)}dispose(){this.list.dispose()}}e.PagedList=C}),define(te[316],ie([1,0,7,79,152,84,13,36,6,2,139,166,20,414]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SplitView=e.Sizing=void 0;const n={separatorBorder:m.Color.transparent};class t{set size(c){this._size=c}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize>"u"}setVisible(c,a){var g,h;c!==this.visible&&(c?(this.size=(0,C.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof a=="number"?a:this.size,this.size=0),this.container.classList.toggle("visible",c),(h=(g=this.view).setVisible)===null||h===void 0||h.call(g,c))}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 proportionalLayout(){var c;return(c=this.view.proportionalLayout)!==null&&c!==void 0?c:!0}get snap(){return!!this.view.snap}set enabled(c){this.container.style.pointerEvents=c?"":"none"}constructor(c,a,g,h){this.container=c,this.view=a,this.disposable=h,this._cachedVisibleSize=void 0,typeof g=="number"?(this._size=g,this._cachedVisibleSize=void 0,c.classList.add("visible")):(this._size=0,this._cachedVisibleSize=g.cachedVisibleSize)}layout(c,a){this.layoutContainer(c),this.view.layout(this.size,c,a)}dispose(){this.disposable.dispose()}}class r extends t{layoutContainer(c){this.container.style.top=`${c}px`,this.container.style.height=`${this.size}px`}}class u extends t{layoutContainer(c){this.container.style.left=`${c}px`,this.container.style.width=`${this.size}px`}}var f;(function(o){o[o.Idle=0]="Idle",o[o.Busy=1]="Busy"})(f||(f={}));var d;(function(o){o.Distribute={type:"distribute"};function c(h){return{type:"split",index:h}}o.Split=c;function a(h){return{type:"auto",index:h}}o.Auto=a;function g(h){return{type:"invisible",cachedVisibleSize:h}}o.Invisible=g})(d||(e.Sizing=d={}));class l extends v.Disposable{get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(c){for(const a of this.sashItems)a.sash.orthogonalStartSash=c;this._orthogonalStartSash=c}set orthogonalEndSash(c){for(const a of this.sashItems)a.sash.orthogonalEndSash=c;this._orthogonalEndSash=c}set startSnappingEnabled(c){this._startSnappingEnabled!==c&&(this._startSnappingEnabled=c,this.updateSashEnablement())}set endSnappingEnabled(c){this._endSnappingEnabled!==c&&(this._endSnappingEnabled=c,this.updateSashEnablement())}constructor(c,a={}){var g,h,p,b,w;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=f.Idle,this._onDidSashChange=this._register(new _.Emitter),this._onDidSashReset=this._register(new _.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(g=a.orientation)!==null&&g!==void 0?g:0,this.inverseAltBehavior=(h=a.inverseAltBehavior)!==null&&h!==void 0?h:!1,this.proportionalLayout=(p=a.proportionalLayout)!==null&&p!==void 0?p:!0,this.getSashOrthogonalSize=a.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(this.orientation===0?"vertical":"horizontal"),c.appendChild(this.el),this.sashContainer=(0,L.append)(this.el,(0,L.$)(".sash-container")),this.viewContainer=(0,L.$)(".split-view-container"),this.scrollable=this._register(new s.Scrollable({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:L.scheduleAtNextAnimationFrame})),this.scrollableElement=this._register(new D.SmoothScrollableElement(this.viewContainer,{vertical:this.orientation===0?(b=a.scrollbarVisibility)!==null&&b!==void 0?b:1:2,horizontal:this.orientation===1?(w=a.scrollbarVisibility)!==null&&w!==void 0?w:1:2},this.scrollable));const E=this._register(new I.DomEmitter(this.viewContainer,"scroll")).event;this._register(E(k=>{const M=this.scrollableElement.getScrollPosition(),R=Math.abs(this.viewContainer.scrollLeft-M.scrollLeft)<=1?void 0:this.viewContainer.scrollLeft,B=Math.abs(this.viewContainer.scrollTop-M.scrollTop)<=1?void 0:this.viewContainer.scrollTop;(R!==void 0||B!==void 0)&&this.scrollableElement.setScrollPosition({scrollLeft:R,scrollTop:B})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(k=>{k.scrollTopChanged&&(this.viewContainer.scrollTop=k.scrollTop),k.scrollLeftChanged&&(this.viewContainer.scrollLeft=k.scrollLeft)})),(0,L.append)(this.el,this.scrollableElement.getDomNode()),this.style(a.styles||n),a.descriptor&&(this.size=a.descriptor.size,a.descriptor.views.forEach((k,M)=>{const R=i.isUndefined(k.visible)||k.visible?k.size:{type:"invisible",cachedVisibleSize:k.size},B=k.view;this.doAddView(B,R,M,!0)}),this.contentSize=this.viewItems.reduce((k,M)=>k+M.size,0),this.saveProportions())}style(c){c.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",c.separatorBorder.toString()))}addView(c,a,g=this.viewItems.length,h){this.doAddView(c,a,g,h)}layout(c,a){const g=Math.max(this.size,this.contentSize);if(this.size=c,this.layoutContext=a,this.proportions){let h=0;for(let p=0;pthis.viewItems[w].priority===1),b=h.filter(w=>this.viewItems[w].priority===2);this.resize(this.viewItems.length-1,c-g,void 0,p,b)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(c=>c.proportionalLayout?c.size/this.contentSize:void 0))}onSashStart({sash:c,start:a,alt:g}){for(const w of this.viewItems)w.enabled=!1;const h=this.sashItems.findIndex(w=>w.sash===c),p=(0,v.combinedDisposable)((0,L.addDisposableListener)(document.body,"keydown",w=>b(this.sashDragState.current,w.altKey)),(0,L.addDisposableListener)(document.body,"keyup",()=>b(this.sashDragState.current,!1))),b=(w,E)=>{const k=this.viewItems.map(N=>N.size);let M=Number.NEGATIVE_INFINITY,R=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(E=!E),E)if(h===this.sashItems.length-1){const A=this.viewItems[h];M=(A.minimumSize-A.size)/2,R=(A.maximumSize-A.size)/2}else{const A=this.viewItems[h+1];M=(A.size-A.maximumSize)/2,R=(A.size-A.minimumSize)/2}let B,T;if(!E){const N=(0,S.range)(h,-1),A=(0,S.range)(h+1,this.viewItems.length),P=N.reduce((ne,se)=>ne+(this.viewItems[se].minimumSize-k[se]),0),O=N.reduce((ne,se)=>ne+(this.viewItems[se].viewMaximumSize-k[se]),0),x=A.length===0?Number.POSITIVE_INFINITY:A.reduce((ne,se)=>ne+(k[se]-this.viewItems[se].minimumSize),0),W=A.length===0?Number.NEGATIVE_INFINITY:A.reduce((ne,se)=>ne+(k[se]-this.viewItems[se].viewMaximumSize),0),U=Math.max(P,W),F=Math.min(x,O),G=this.findFirstSnapIndex(N),Y=this.findFirstSnapIndex(A);if(typeof G=="number"){const ne=this.viewItems[G],se=Math.floor(ne.viewMinimumSize/2);B={index:G,limitDelta:ne.visible?U-se:U+se,size:ne.size}}if(typeof Y=="number"){const ne=this.viewItems[Y],se=Math.floor(ne.viewMinimumSize/2);T={index:Y,limitDelta:ne.visible?F+se:F-se,size:ne.size}}}this.sashDragState={start:w,current:w,index:h,sizes:k,minDelta:M,maxDelta:R,alt:E,snapBefore:B,snapAfter:T,disposable:p}};b(a,g)}onSashChange({current:c}){const{index:a,start:g,sizes:h,alt:p,minDelta:b,maxDelta:w,snapBefore:E,snapAfter:k}=this.sashDragState;this.sashDragState.current=c;const M=c-g,R=this.resize(a,M,h,void 0,void 0,b,w,E,k);if(p){const B=a===this.sashItems.length-1,T=this.viewItems.map(W=>W.size),N=B?a:a+1,A=this.viewItems[N],P=A.size-A.maximumSize,O=A.size-A.minimumSize,x=B?a-1:a+1;this.resize(x,-R,T,void 0,void 0,P,O)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(c){this._onDidSashChange.fire(c),this.sashDragState.disposable.dispose(),this.saveProportions();for(const a of this.viewItems)a.enabled=!0}onViewChange(c,a){const g=this.viewItems.indexOf(c);g<0||g>=this.viewItems.length||(a=typeof a=="number"?a:c.size,a=(0,C.clamp)(a,c.minimumSize,c.maximumSize),this.inverseAltBehavior&&g>0?(this.resize(g-1,Math.floor((c.size-a)/2)),this.distributeEmptySpace(),this.layoutViews()):(c.size=a,this.relayout([g],void 0)))}resizeView(c,a){if(this.state!==f.Idle)throw new Error("Cant modify splitview");if(this.state=f.Busy,c<0||c>=this.viewItems.length)return;const g=(0,S.range)(this.viewItems.length).filter(w=>w!==c),h=[...g.filter(w=>this.viewItems[w].priority===1),c],p=g.filter(w=>this.viewItems[w].priority===2),b=this.viewItems[c];a=Math.round(a),a=(0,C.clamp)(a,b.minimumSize,Math.min(b.maximumSize,this.size)),b.size=a,this.relayout(h,p),this.state=f.Idle}distributeViewSizes(){const c=[];let a=0;for(const w of this.viewItems)w.maximumSize-w.minimumSize>0&&(c.push(w),a+=w.size);const g=Math.floor(a/c.length);for(const w of c)w.size=(0,C.clamp)(g,w.minimumSize,w.maximumSize);const h=(0,S.range)(this.viewItems.length),p=h.filter(w=>this.viewItems[w].priority===1),b=h.filter(w=>this.viewItems[w].priority===2);this.relayout(p,b)}getViewSize(c){return c<0||c>=this.viewItems.length?-1:this.viewItems[c].size}doAddView(c,a,g=this.viewItems.length,h){if(this.state!==f.Idle)throw new Error("Cant modify splitview");this.state=f.Busy;const p=(0,L.$)(".split-view-view");g===this.viewItems.length?this.viewContainer.appendChild(p):this.viewContainer.insertBefore(p,this.viewContainer.children.item(g));const b=c.onDidChange(B=>this.onViewChange(M,B)),w=(0,v.toDisposable)(()=>this.viewContainer.removeChild(p)),E=(0,v.combinedDisposable)(b,w);let k;typeof a=="number"?k=a:(a.type==="auto"&&(this.areViewsDistributed()?a={type:"distribute"}:a={type:"split",index:a.index}),a.type==="split"?k=this.getViewSize(a.index)/2:a.type==="invisible"?k={cachedVisibleSize:a.cachedVisibleSize}:k=c.minimumSize);const M=this.orientation===0?new r(p,c,k,E):new u(p,c,k,E);if(this.viewItems.splice(g,0,M),this.viewItems.length>1){const B={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},T=this.orientation===0?new y.Sash(this.sashContainer,{getHorizontalSashTop:ne=>this.getSashPosition(ne),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},B),{orientation:1})):new y.Sash(this.sashContainer,{getVerticalSashLeft:ne=>this.getSashPosition(ne),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},B),{orientation:0})),N=this.orientation===0?ne=>({sash:T,start:ne.startY,current:ne.currentY,alt:ne.altKey}):ne=>({sash:T,start:ne.startX,current:ne.currentX,alt:ne.altKey}),P=_.Event.map(T.onDidStart,N)(this.onSashStart,this),x=_.Event.map(T.onDidChange,N)(this.onSashChange,this),U=_.Event.map(T.onDidEnd,()=>this.sashItems.findIndex(ne=>ne.sash===T))(this.onSashEnd,this),F=T.onDidReset(()=>{const ne=this.sashItems.findIndex(V=>V.sash===T),se=(0,S.range)(ne,-1),J=(0,S.range)(ne+1,this.viewItems.length),q=this.findFirstSnapIndex(se),H=this.findFirstSnapIndex(J);typeof q=="number"&&!this.viewItems[q].visible||typeof H=="number"&&!this.viewItems[H].visible||this._onDidSashReset.fire(ne)}),G=(0,v.combinedDisposable)(P,x,U,F,T),Y={sash:T,disposable:G};this.sashItems.splice(g-1,0,Y)}p.appendChild(c.element);let R;typeof a!="number"&&a.type==="split"&&(R=[a.index]),h||this.relayout([g],R),this.state=f.Idle,!h&&typeof a!="number"&&a.type==="distribute"&&this.distributeViewSizes()}relayout(c,a){const g=this.viewItems.reduce((h,p)=>h+p.size,0);this.resize(this.viewItems.length-1,this.size-g,void 0,c,a),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(c,a,g=this.viewItems.map(M=>M.size),h,p,b=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,E,k){if(c<0||c>=this.viewItems.length)return 0;const M=(0,S.range)(c,-1),R=(0,S.range)(c+1,this.viewItems.length);if(p)for(const Y of p)(0,S.pushToStart)(M,Y),(0,S.pushToStart)(R,Y);if(h)for(const Y of h)(0,S.pushToEnd)(M,Y),(0,S.pushToEnd)(R,Y);const B=M.map(Y=>this.viewItems[Y]),T=M.map(Y=>g[Y]),N=R.map(Y=>this.viewItems[Y]),A=R.map(Y=>g[Y]),P=M.reduce((Y,ne)=>Y+(this.viewItems[ne].minimumSize-g[ne]),0),O=M.reduce((Y,ne)=>Y+(this.viewItems[ne].maximumSize-g[ne]),0),x=R.length===0?Number.POSITIVE_INFINITY:R.reduce((Y,ne)=>Y+(g[ne]-this.viewItems[ne].minimumSize),0),W=R.length===0?Number.NEGATIVE_INFINITY:R.reduce((Y,ne)=>Y+(g[ne]-this.viewItems[ne].maximumSize),0),U=Math.max(P,W,b),F=Math.min(x,O,w);let G=!1;if(E){const Y=this.viewItems[E.index],ne=a>=E.limitDelta;G=ne!==Y.visible,Y.setVisible(ne,E.size)}if(!G&&k){const Y=this.viewItems[k.index],ne=aw+E.size,0);let g=this.size-a;const h=(0,S.range)(this.viewItems.length-1,-1),p=h.filter(w=>this.viewItems[w].priority===1),b=h.filter(w=>this.viewItems[w].priority===2);for(const w of b)(0,S.pushToStart)(h,w);for(const w of p)(0,S.pushToEnd)(h,w);typeof c=="number"&&(0,S.pushToEnd)(h,c);for(let w=0;g!==0&&wa+g.size,0);let c=0;for(const a of this.viewItems)a.layout(c,this.layoutContext),c+=a.size;this.sashItems.forEach(a=>a.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 c=!1;const a=this.viewItems.map(E=>c=E.size-E.minimumSize>0||c);c=!1;const g=this.viewItems.map(E=>c=E.maximumSize-E.size>0||c),h=[...this.viewItems].reverse();c=!1;const p=h.map(E=>c=E.size-E.minimumSize>0||c).reverse();c=!1;const b=h.map(E=>c=E.maximumSize-E.size>0||c).reverse();let w=0;for(let E=0;E0||this.startSnappingEnabled)?k.state=1:x&&a[E]&&(w0)return;if(!g.visible&&g.snap)return a}}areViewsDistributed(){let c,a;for(const g of this.viewItems)if(c=c===void 0?g.size:Math.min(c,g.size),a=a===void 0?g.size:Math.max(a,g.size),a-c>2)return!1;return!0}dispose(){var c;(c=this.sashDragState)===null||c===void 0||c.disposable.dispose(),(0,v.dispose)(this.viewItems),this.viewItems=[],this.sashItems.forEach(a=>a.disposable.dispose()),this.sashItems=[],super.dispose()}}e.SplitView=l}),define(te[582],ie([1,0,7,113,316,6,2,415]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;class m{constructor(i,n,t){this.columns=i,this.getColumnSize=t,this.templateId=m.TemplateId,this.renderedTemplates=new Set;const r=new Map(n.map(u=>[u.templateId,u]));this.renderers=[];for(const u of i){const f=r.get(u.templateId);if(!f)throw new Error(`Table cell renderer for template id ${u.templateId} not found.`);this.renderers.push(f)}}renderTemplate(i){const n=(0,L.append)(i,(0,L.$)(".monaco-table-tr")),t=[],r=[];for(let f=0;fnew v(c,a)),l={size:d.reduce((c,a)=>c+a.column.weight,0),views:d.map(c=>({size:c.column.weight,view:c}))};this.splitview=this.disposables.add(new y.SplitView(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:l})),this.splitview.el.style.height=`${t.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${t.headerRowHeight}px`;const o=new m(r,u,c=>this.splitview.getViewSize(c));this.list=this.disposables.add(new I.List(i,this.domNode,_(t),[o],f)),D.Event.any(...d.map(c=>c.onDidLayout))(([c,a])=>o.layoutColumn(c,a),null,this.disposables),this.splitview.onDidSashReset(c=>{const a=r.reduce((h,p)=>h+p.weight,0),g=r[c].weight/a*this.cachedWidth;this.splitview.resizeView(c,g)},null,this.disposables),this.styleElement=(0,L.createStyleSheet)(this.domNode),this.style(I.unthemedListStyles)}updateOptions(i){this.list.updateOptions(i)}splice(i,n,t=[]){this.list.splice(i,n,t)}getHTMLElement(){return this.domNode}style(i){const n=[];n.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=n.join(` +`),this.list.style(i)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}e.Table=C,C.InstanceCount=0}),define(te[153],ie([1,0,83,27,6,416]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=e.unthemedToggleStyles=void 0,e.unthemedToggleStyles={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class D extends L.Widget{constructor(m){super(),this._onChange=this._register(new y.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new y.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=m,this._checked=this._opts.isChecked;const _=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,_.push(...I.ThemeIcon.asClassNameArray(this._icon))),this._opts.actionClassName&&_.push(...this._opts.actionClassName.split(" ")),this._checked&&_.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(..._),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,v=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),v.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,v=>{if(v.keyCode===10||v.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),v.preventDefault(),v.stopPropagation();return}this._onKeyDown.fire(v)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(m){this._checked=m,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 2+2+2+16}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}e.Toggle=D}),define(te[317],ie([1,0,153,26,556]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RegexToggle=e.WholeWordsToggle=e.CaseSensitiveToggle=void 0;const D=y.localize(0,null),S=y.localize(1,null),m=y.localize(2,null);class _ extends L.Toggle{constructor(i){super({icon:I.Codicon.caseSensitive,title:D+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.CaseSensitiveToggle=_;class v extends L.Toggle{constructor(i){super({icon:I.Codicon.wholeWord,title:S+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.WholeWordsToggle=v;class C extends L.Toggle{constructor(i){super({icon:I.Codicon.regex,title:m+i.appendTitle,isChecked:i.isChecked,inputActiveOptionBorder:i.inputActiveOptionBorder,inputActiveOptionForeground:i.inputActiveOptionForeground,inputActiveOptionBackground:i.inputActiveOptionBackground})}}e.RegexToggle=C}),define(te[46],ie([1,0,220,54,92,17,10,21]),function($,e,L,I,y,D,S,m){"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 _(s){return(0,m.uriToFsPath)(s,!0)}e.originalFSPath=_;class v{constructor(i){this._ignorePathCasing=i}compare(i,n,t=!1){return i===n?0:(0,S.compare)(this.getComparisonKey(i,t),this.getComparisonKey(n,t))}isEqual(i,n,t=!1){return i===n?!0:!i||!n?!1:this.getComparisonKey(i,t)===this.getComparisonKey(n,t)}getComparisonKey(i,n=!1){return i.with({path:this._ignorePathCasing(i)?i.path.toLowerCase():void 0,fragment:n?null:void 0}).toString()}isEqualOrParent(i,n,t=!1){if(i.scheme===n.scheme){if(i.scheme===I.Schemas.file)return L.isEqualOrParent(_(i),_(n),this._ignorePathCasing(i))&&i.query===n.query&&(t||i.fragment===n.fragment);if((0,e.isEqualAuthority)(i.authority,n.authority))return L.isEqualOrParent(i.path,n.path,this._ignorePathCasing(i),"/")&&i.query===n.query&&(t||i.fragment===n.fragment)}return!1}joinPath(i,...n){return m.URI.joinPath(i,...n)}basenameOrAuthority(i){return(0,e.basename)(i)||i.authority}basename(i){return y.posix.basename(i.path)}extname(i){return y.posix.extname(i.path)}dirname(i){if(i.path.length===0)return i;let n;return i.scheme===I.Schemas.file?n=m.URI.file(y.dirname(_(i))).path:(n=y.posix.dirname(i.path),i.authority&&n.length&&n.charCodeAt(0)!==47&&(console.error(`dirname("${i.toString})) resulted in a relative path`),n="/")),i.with({path:n})}normalizePath(i){if(!i.path.length)return i;let n;return i.scheme===I.Schemas.file?n=m.URI.file(y.normalize(_(i))).path:n=y.posix.normalize(i.path),i.with({path:n})}relativePath(i,n){if(i.scheme!==n.scheme||!(0,e.isEqualAuthority)(i.authority,n.authority))return;if(i.scheme===I.Schemas.file){const u=y.relative(_(i),_(n));return D.isWindows?L.toSlashes(u):u}let t=i.path||"/";const r=n.path||"/";if(this._ignorePathCasing(i)){let u=0;for(const f=Math.min(t.length,r.length);uL.getRoot(t).length&&t[t.length-1]===n}else{const t=i.path;return t.length>1&&t.charCodeAt(t.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(i.fsPath)}}removeTrailingPathSeparator(i,n=y.sep){return(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path.substr(0,i.path.length-1)}):i}addTrailingPathSeparator(i,n=y.sep){let t=!1;if(i.scheme===I.Schemas.file){const r=_(i);t=r!==void 0&&r.length===L.getRoot(r).length&&r[r.length-1]===n}else{n="/";const r=i.path;t=r.length===1&&r.charCodeAt(r.length-1)===47}return!t&&!(0,e.hasTrailingPathSeparator)(i,n)?i.with({path:i.path+"/"}):i}}e.ExtUri=v,e.extUri=new v(()=>!1),e.extUriBiasedIgnorePathCase=new v(s=>s.scheme===I.Schemas.file?!D.isLinux:!0),e.extUriIgnorePathCase=new v(s=>!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 C;(function(s){s.META_DATA_LABEL="label",s.META_DATA_DESCRIPTION="description",s.META_DATA_SIZE="size",s.META_DATA_MIME="mime";function i(n){const t=new Map;n.path.substring(n.path.indexOf(";")+1,n.path.lastIndexOf(";")).split(";").forEach(f=>{const[d,l]=f.split(":");d&&l&&t.set(d,l)});const u=n.path.substring(0,n.path.indexOf(";"));return u&&t.set(s.META_DATA_MIME,u),t}s.parseMetaData=i})(C||(e.DataUri=C={}))}),define(te[57],ie([1,0,9,119,46,10,21]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseHrefAndDimensions=e.removeMarkdownEscapes=e.escapeDoubleQuotes=e.escapeMarkdownSyntaxTokens=e.markdownStringEqual=e.isMarkdownString=e.isEmptyMarkdownString=e.MarkdownString=void 0;class m{constructor(u="",f=!1){var d,l,o;if(this.value=u,typeof this.value!="string")throw(0,L.illegalArgument)("value");typeof f=="boolean"?(this.isTrusted=f,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(d=f.isTrusted)!==null&&d!==void 0?d:void 0,this.supportThemeIcons=(l=f.supportThemeIcons)!==null&&l!==void 0?l:!1,this.supportHtml=(o=f.supportHtml)!==null&&o!==void 0?o:!1)}appendText(u,f=0){return this.value+=s(this.supportThemeIcons?(0,I.escapeIcons)(u):u).replace(/([ \t]+)/g,(d,l)=>" ".repeat(l.length)).replace(/\>/gm,"\\>").replace(/\n/g,f===1?`\\ +`:` + +`),this}appendMarkdown(u){return this.value+=u,this}appendCodeblock(u,f){return this.value+="\n```",this.value+=u,this.value+=` +`,this.value+=f,this.value+="\n```\n",this}appendLink(u,f,d){return this.value+="[",this.value+=this._escape(f,"]"),this.value+="](",this.value+=this._escape(String(u),")"),d&&(this.value+=` "${this._escape(this._escape(d,'"'),")")}"`),this.value+=")",this}_escape(u,f){const d=new RegExp((0,D.escapeRegExpCharacters)(f),"g");return u.replace(d,(l,o)=>u.charAt(o-1)!=="\\"?`\\${l}`:l)}}e.MarkdownString=m;function _(r){return v(r)?!r.value:Array.isArray(r)?r.every(_):!0}e.isEmptyMarkdownString=_;function v(r){return r instanceof m?!0:r&&typeof r=="object"?typeof r.value=="string"&&(typeof r.isTrusted=="boolean"||typeof r.isTrusted=="object"||r.isTrusted===void 0)&&(typeof r.supportThemeIcons=="boolean"||r.supportThemeIcons===void 0):!1}e.isMarkdownString=v;function C(r,u){return r===u?!0:!r||!u?!1:r.value===u.value&&r.isTrusted===u.isTrusted&&r.supportThemeIcons===u.supportThemeIcons&&r.supportHtml===u.supportHtml&&(r.baseUri===u.baseUri||!!r.baseUri&&!!u.baseUri&&(0,y.isEqual)(S.URI.from(r.baseUri),S.URI.from(u.baseUri)))}e.markdownStringEqual=C;function s(r){return r.replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=s;function i(r){return r.replace(/"/g,""")}e.escapeDoubleQuotes=i;function n(r){return r&&r.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1")}e.removeMarkdownEscapes=n;function t(r){const u=[],f=r.split("|").map(l=>l.trim());r=f[0];const d=f[1];if(d){const l=/height=(\d+)/.exec(d),o=/width=(\d+)/.exec(d),c=l?l[1]:"",a=o?o[1]:"",g=isFinite(parseInt(a)),h=isFinite(parseInt(c));g&&u.push(`width="${a}"`),h&&u.push(`height="${c}"`)}return{href:r,dimensions:u}}e.parseHrefAndDimensions=t}),define(te[181],ie([1,0,7,309,79,310,44,60,128,9,6,57,119,163,97,2,390,221,54,52,46,10,21]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fillInIncompleteTokens=e.renderMarkdownAsPlaintext=e.renderStringAsPlaintext=e.allowedMarkdownAttr=e.renderMarkdown=void 0;const g=Object.freeze({image:(J,q,H)=>{let V=[],Z=[];return J&&({href:J,dimensions:V}=(0,s.parseHrefAndDimensions)(J),Z.push(`src="${(0,s.escapeDoubleQuotes)(J)}"`)),H&&Z.push(`alt="${(0,s.escapeDoubleQuotes)(H)}"`),q&&Z.push(`title="${(0,s.escapeDoubleQuotes)(q)}"`),V.length&&(Z=Z.concat(V)),""},paragraph:J=>`

    ${J}

    `,link:(J,q,H)=>typeof J!="string"?"":(J===H&&(H=(0,s.removeMarkdownEscapes)(H)),q=typeof q=="string"?(0,s.escapeDoubleQuotes)((0,s.removeMarkdownEscapes)(q)):"",J=(0,s.removeMarkdownEscapes)(J),J=J.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${H}`)});function h(J,q={},H={}){var V,Z;const ee=new r.DisposableStore;let le=!1;const ue=(0,D.createElement)(q),de=function(oe){let he;try{he=(0,f.parse)(decodeURIComponent(oe))}catch{}return he?(he=(0,l.cloneAndChange)(he,me=>{if(J.uris&&J.uris[me])return a.URI.revive(J.uris[me])}),encodeURIComponent(JSON.stringify(he))):oe},ce=function(oe,he){const me=J.uris&&J.uris[oe];let pe=a.URI.revive(me);return he?oe.startsWith(d.Schemas.data+":")?oe:(pe||(pe=a.URI.parse(oe)),d.FileAccess.uriToBrowserUri(pe).toString(!0)):!pe||a.URI.parse(oe).toString()===pe.toString()?oe:(pe.query&&(pe=pe.with({query:de(pe.query)})),pe.toString())},ae=new u.marked.Renderer;ae.image=g.image,ae.link=g.link,ae.paragraph=g.paragraph;const X=[],K=[];if(q.codeBlockRendererSync?ae.code=(oe,he)=>{const me=n.defaultGenerator.nextId(),pe=q.codeBlockRendererSync(p(he),oe);return K.push([me,pe]),`
    ${(0,c.escape)(oe)}
    `}:q.codeBlockRenderer&&(ae.code=(oe,he)=>{const me=n.defaultGenerator.nextId(),pe=q.codeBlockRenderer(p(he),oe);return X.push(pe.then(ve=>[me,ve])),`
    ${(0,c.escape)(oe)}
    `}),q.actionHandler){const oe=function(pe){let ve=pe.target;if(!(ve.tagName!=="A"&&(ve=ve.parentElement,!ve||ve.tagName!=="A")))try{let we=ve.dataset.href;we&&(J.baseUri&&(we=b(a.URI.from(J.baseUri),we)),q.actionHandler.callback(we,pe))}catch(we){(0,v.onUnexpectedError)(we)}finally{pe.preventDefault()}},he=q.actionHandler.disposables.add(new y.DomEmitter(ue,"click")),me=q.actionHandler.disposables.add(new y.DomEmitter(ue,"auxclick"));q.actionHandler.disposables.add(C.Event.any(he.event,me.event)(pe=>{const ve=new m.StandardMouseEvent(pe);!ve.leftButton&&!ve.middleButton||oe(ve)})),q.actionHandler.disposables.add(L.addDisposableListener(ue,"keydown",pe=>{const ve=new S.StandardKeyboardEvent(pe);!ve.equals(10)&&!ve.equals(3)||oe(ve)}))}J.supportHtml||(H.sanitizer=oe=>(J.isTrusted?oe.match(/^(]+>)|(<\/\s*span>)$/):void 0)?oe:"",H.sanitize=!0,H.silent=!0),H.renderer=ae;let z=(V=J.value)!==null&&V!==void 0?V:"";z.length>1e5&&(z=`${z.substr(0,1e5)}\u2026`),J.supportThemeIcons&&(z=(0,i.markdownEscapeEscapedIcons)(z));let Q;if(q.fillInIncompleteTokens){const oe=Object.assign(Object.assign({},u.marked.defaults),H),he=u.marked.lexer(z,oe),me=A(he);Q=u.marked.parser(me,oe)}else Q=u.marked.parse(z,H);J.supportThemeIcons&&(Q=(0,_.renderLabelWithIcons)(Q).map(he=>typeof he=="string"?he:he.outerHTML).join(""));const re=new DOMParser().parseFromString(w(J,Q),"text/html");if(re.body.querySelectorAll("img").forEach(oe=>{const he=oe.getAttribute("src");if(he){let me=he;try{J.baseUri&&(me=b(a.URI.from(J.baseUri),me))}catch{}oe.src=ce(me,!0)}}),re.body.querySelectorAll("a").forEach(oe=>{const he=oe.getAttribute("href");if(oe.setAttribute("href",""),!he||/^data:|javascript:/i.test(he)||/^command:/i.test(he)&&!J.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(he))oe.replaceWith(...oe.childNodes);else{let me=ce(he,!1);J.baseUri&&(me=b(a.URI.from(J.baseUri),he)),oe.dataset.href=me}}),ue.innerHTML=w(J,re.body.innerHTML),X.length>0)Promise.all(X).then(oe=>{var he,me;if(le)return;const pe=new Map(oe),ve=ue.querySelectorAll("div[data-code]");for(const we of ve){const Le=pe.get((he=we.dataset.code)!==null&&he!==void 0?he:"");Le&&L.reset(we,Le)}(me=q.asyncRenderCallback)===null||me===void 0||me.call(q)});else if(K.length>0){const oe=new Map(K),he=ue.querySelectorAll("div[data-code]");for(const me of he){const pe=oe.get((Z=me.dataset.code)!==null&&Z!==void 0?Z:"");pe&&L.reset(me,pe)}}if(q.asyncRenderCallback)for(const oe of ue.getElementsByTagName("img")){const he=ee.add(L.addDisposableListener(oe,"load",()=>{he.dispose(),q.asyncRenderCallback()}))}return{element:ue,dispose:()=>{le=!0,ee.dispose()}}}e.renderMarkdown=h;function p(J){if(!J)return"";const q=J.split(/[\s+|:|,|\{|\?]/,1);return q.length?q[0]:J}function b(J,q){return/^\w[\w\d+.-]*:/.test(q)?q:J.path.endsWith("/")?(0,o.resolvePath)(J,q).toString():(0,o.resolvePath)((0,o.dirname)(J),q).toString()}function w(J,q){const{config:H,allowedSchemes:V}=E(J);I.addHook("uponSanitizeAttribute",(ee,le)=>{if(le.attrName==="style"||le.attrName==="class"){if(ee.tagName==="SPAN"){if(le.attrName==="style"){le.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(le.attrValue);return}else if(le.attrName==="class"){le.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(le.attrValue);return}}le.keepAttr=!1;return}});const Z=L.hookDomPurifyHrefAndSrcSanitizer(V);try{return I.sanitize(q,Object.assign(Object.assign({},H),{RETURN_TRUSTED_TYPE:!0}))}finally{I.removeHook("uponSanitizeAttribute"),Z.dispose()}}e.allowedMarkdownAttr=["align","autoplay","alt","class","controls","data-code","data-href","height","href","loop","muted","playsinline","poster","src","style","target","title","width","start"];function E(J){const q=[d.Schemas.http,d.Schemas.https,d.Schemas.mailto,d.Schemas.data,d.Schemas.file,d.Schemas.vscodeFileResource,d.Schemas.vscodeRemote,d.Schemas.vscodeRemoteResource];return J.isTrusted&&q.push(d.Schemas.command),{config:{ALLOWED_TAGS:[...L.basicMarkupHtmlTags],ALLOWED_ATTR:e.allowedMarkdownAttr,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:q}}function k(J){return typeof J=="string"?J:M(J)}e.renderStringAsPlaintext=k;function M(J){var q;let H=(q=J.value)!==null&&q!==void 0?q:"";H.length>1e5&&(H=`${H.substr(0,1e5)}\u2026`);const V=u.marked.parse(H,{renderer:B.value}).replace(/&(#\d+|[a-zA-Z]+);/g,Z=>{var ee;return(ee=R.get(Z))!==null&&ee!==void 0?ee:Z});return w({isTrusted:!1},V).toString()}e.renderMarkdownAsPlaintext=M;const R=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]),B=new t.Lazy(()=>{const J=new u.marked.Renderer;return J.code=q=>q,J.blockquote=q=>q,J.html=q=>"",J.heading=(q,H,V)=>q+` +`,J.hr=()=>"",J.list=(q,H)=>q,J.listitem=q=>q+` +`,J.paragraph=q=>q+` +`,J.table=(q,H)=>q+H+` +`,J.tablerow=q=>q,J.tablecell=(q,H)=>q+" ",J.strong=q=>q,J.em=q=>q,J.codespan=q=>q,J.br=()=>` +`,J.del=q=>q,J.image=(q,H,V)=>"",J.text=q=>q,J.link=(q,H,V)=>V,J});function T(J){let q="";return J.forEach(H=>{q+=H.raw}),q}function N(J){for(const q of J.tokens)if(q.type==="text"){const H=q.raw.split(` +`),V=H[H.length-1];if(V.includes("`"))return O(J);if(V.includes("**"))return G(J);if(V.match(/\*\w/))return x(J);if(V.match(/(^|\s)__\w/))return Y(J);if(V.match(/(^|\s)_\w/))return W(J);if(V.match(/(^|\s)\[.*\]\(\w*/))return U(J);if(V.match(/(^|\s)\[\w/))return F(J)}}function A(J){let q,H;for(q=0;q"u"&&le.match(/^\s*\|/)){const ue=le.match(/(\|[^\|]+)(?=\||$)/g);ue&&(V=ue.length)}else if(typeof V=="number")if(le.match(/^\s*\|/)){if(ee!==H.length-1)return;Z=!0}else return}if(typeof V=="number"&&V>0){const ee=Z?H.slice(0,-1).join(` +`):q,le=!!ee.match(/\|\s*$/),ue=ee+(le?"":"|")+` +|${" --- |".repeat(V)}`;return u.marked.lexer(ue)}}}),define(te[318],ie([1,0,7,309,44,181,61,128,36,6,57,2,399]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=e.unthemedButtonStyles=void 0,e.unthemedButtonStyles={buttonBackground:"#0E639C",buttonHoverBackground:"#006BB3",buttonSeparator:_.Color.white.toString(),buttonForeground:_.Color.white.toString(),buttonBorder:void 0,buttonSecondaryBackground:void 0,buttonSecondaryForeground:void 0,buttonSecondaryHoverBackground:void 0};class i extends s.Disposable{get onDidClick(){return this._onDidClick.event}constructor(t,r){super(),this._label="",this._onDidClick=this._register(new v.Emitter),this.options=r,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!r.secondary);const u=r.secondary?r.buttonSecondaryBackground:r.buttonBackground,f=r.secondary?r.buttonSecondaryForeground:r.buttonForeground;this._element.style.color=f||"",this._element.style.backgroundColor=u||"",r.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),t.appendChild(this._element),this._register(S.Gesture.addTarget(this._element)),[L.EventType.CLICK,S.EventType.Tap].forEach(d=>{this._register((0,L.addDisposableListener)(this._element,d,l=>{if(!this.enabled){L.EventHelper.stop(l);return}this._onDidClick.fire(l)}))}),this._register((0,L.addDisposableListener)(this._element,L.EventType.KEY_DOWN,d=>{const l=new y.StandardKeyboardEvent(d);let o=!1;this.enabled&&(l.equals(3)||l.equals(10))?(this._onDidClick.fire(d),o=!0):l.equals(9)&&(this._element.blur(),o=!0),o&&L.EventHelper.stop(l,!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OVER,d=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OUT,d=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,L.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(t){const r=[];for(let u of(0,m.renderLabelWithIcons)(t))if(typeof u=="string"){if(u=u.trim(),u==="")continue;const f=document.createElement("span");f.textContent=u,r.push(f)}else r.push(u);return r}updateBackground(t){let r;this.options.secondary?r=t?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:r=t?this.options.buttonHoverBackground:this.options.buttonBackground,r&&(this._element.style.backgroundColor=r)}get element(){return this._element}set label(t){var r;if(this._label===t||(0,C.isMarkdownString)(this._label)&&(0,C.isMarkdownString)(t)&&(0,C.markdownStringEqual)(this._label,t))return;this._element.classList.add("monaco-text-button");const u=this.options.supportShortLabel?this._labelElement:this._element;if((0,C.isMarkdownString)(t)){const f=(0,D.renderMarkdown)(t,{inline:!0});f.dispose();const d=(r=f.element.querySelector("p"))===null||r===void 0?void 0:r.innerHTML;if(d){const l=(0,I.sanitize)(d,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});u.innerHTML=l}else(0,L.reset)(u)}else this.options.supportIcons?(0,L.reset)(u,...this.getContentElements(t)):u.textContent=t;typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=(0,D.renderStringAsPlaintext)(t)),this._label=t}get label(){return this._label}set enabled(t){t?(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=i}),define(te[319],ie([1,0,7,14,19,57,119,2,20,559]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setupCustomHover=e.setupNativeHover=void 0;function C(n,t){(0,_.isString)(t)?n.title=(0,S.stripIcons)(t):t?.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")}e.setupNativeHover=C;class s{constructor(t,r,u){this.hoverDelegate=t,this.target=r,this.fadeInAnimation=u}update(t,r,u){var f;return be(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let d;if(t===void 0||(0,_.isString)(t)||t instanceof HTMLElement)d=t;else if(!(0,_.isFunction)(t.markdown))d=(f=t.markdown)!==null&&f!==void 0?f:t.markdownNotSupportedFallback;else{this._hoverWidget||this.show((0,v.localize)(0,null),r),this._cancellationTokenSource=new y.CancellationTokenSource;const l=this._cancellationTokenSource.token;if(d=yield t.markdown(l),d===void 0&&(d=t.markdownNotSupportedFallback),this.isDisposed||l.isCancellationRequested)return}this.show(d,r,u)})}show(t,r,u){const f=this._hoverWidget;if(this.hasContent(t)){const d=Object.assign({content:t,target:this.target,showPointer:this.hoverDelegate.placement==="element",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!f},u);this._hoverWidget=this.hoverDelegate.showHover(d,r)}f?.dispose()}hasContent(t){return t?(0,D.isMarkdownString)(t)?!!t.value:!0:!1}get isDisposed(){var t;return(t=this._hoverWidget)===null||t===void 0?void 0:t.isDisposed}dispose(){var t,r;(t=this._hoverWidget)===null||t===void 0||t.dispose(),(r=this._cancellationTokenSource)===null||r===void 0||r.dispose(!0),this._cancellationTokenSource=void 0}}function i(n,t,r,u){let f,d;const l=(h,p)=>{var b;const w=d!==void 0;h&&(d?.dispose(),d=void 0),p&&(f?.dispose(),f=void 0),w&&((b=n.onDidHideHover)===null||b===void 0||b.call(n))},o=(h,p,b)=>new I.TimeoutTimer(()=>be(this,void 0,void 0,function*(){(!d||d.isDisposed)&&(d=new s(n,b||t,h>0),yield d.update(r,p,u))}),h),c=()=>{if(f)return;const h=new m.DisposableStore,p=E=>l(!1,E.fromElement===t);h.add(L.addDisposableListener(t,L.EventType.MOUSE_LEAVE,p,!0));const b=()=>l(!0,!0);h.add(L.addDisposableListener(t,L.EventType.MOUSE_DOWN,b,!0));const w={targetElements:[t],dispose:()=>{}};if(n.placement===void 0||n.placement==="mouse"){const E=k=>{w.x=k.x+10,k.target instanceof HTMLElement&&k.target.classList.contains("action-label")&&l(!0,!0)};h.add(L.addDisposableListener(t,L.EventType.MOUSE_MOVE,E,!0))}h.add(o(n.delay,!1,w)),f=h},a=L.addDisposableListener(t,L.EventType.MOUSE_OVER,c,!0);return{show:h=>{l(!1,!0),o(0,h)},hide:()=>{l(!0,!0)},update:(h,p)=>be(this,void 0,void 0,function*(){r=h,yield d?.update(r,void 0,p)}),dispose:()=>{a.dispose(),l(!0,!0)}}}e.setupCustomHover=i}),define(te[226],ie([1,0,7,313,319,2,52,165,405]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IconLabel=void 0;class _{constructor(t){this._element=t}get element(){return this._element}set textContent(t){this.disposed||t===this._textContent||(this._textContent=t,this._element.textContent=t)}set className(t){this.disposed||t===this._className||(this._className=t,this._element.className=t)}set empty(t){this.disposed||t===this._empty||(this._empty=t,this._element.style.marginLeft=t?"0":"")}dispose(){this.disposed=!0}}class v extends D.Disposable{constructor(t,r){super(),this.customHovers=new Map,this.creationOptions=r,this.domNode=this._register(new _(L.append(t,L.$(".monaco-icon-label")))),this.labelContainer=L.append(this.domNode.element,L.$(".monaco-icon-label-container"));const u=L.append(this.labelContainer,L.$("span.monaco-icon-name-container"));r?.supportHighlights||r?.supportIcons?this.nameNode=new i(u,!!r.supportIcons):this.nameNode=new C(u),this.hoverDelegate=r?.hoverDelegate}get element(){return this.domNode.element}setLabel(t,r,u){const f=["monaco-icon-label"],d=["monaco-icon-label-container"];let l="";if(u&&(u.extraClasses&&f.push(...u.extraClasses),u.italic&&f.push("italic"),u.strikethrough&&f.push("strikethrough"),u.disabledCommand&&d.push("disabled"),u.title&&(l+=u.title)),this.domNode.className=f.join(" "),this.domNode.element.setAttribute("aria-label",l),this.labelContainer.className=d.join(" "),this.setupHover(u?.descriptionTitle?this.labelContainer:this.element,u?.title),this.nameNode.setLabel(t,u),r||this.descriptionNode){const o=this.getOrCreateDescriptionNode();o instanceof I.HighlightedLabel?(o.set(r||"",u?u.descriptionMatches:void 0,void 0,u?.labelEscapeNewLines),this.setupHover(o.element,u?.descriptionTitle)):(o.textContent=r&&u?.labelEscapeNewLines?I.HighlightedLabel.escapeNewLines(r,[]):r||"",this.setupHover(o.element,u?.descriptionTitle||""),o.empty=!r)}}setupHover(t,r){const u=this.customHovers.get(t);if(u&&(u.dispose(),this.customHovers.delete(t)),!r){t.removeAttribute("title");return}if(!this.hoverDelegate)(0,y.setupNativeHover)(t,r);else{const f=(0,y.setupCustomHover)(this.hoverDelegate,t,r);f&&this.customHovers.set(t,f)}}dispose(){super.dispose();for(const t of this.customHovers.values())t.dispose();this.customHovers.clear()}getOrCreateDescriptionNode(){var t;if(!this.descriptionNode){const r=this._register(new _(L.append(this.labelContainer,L.$("span.monaco-icon-description-container"))));!((t=this.creationOptions)===null||t===void 0)&&t.supportDescriptionHighlights?this.descriptionNode=new I.HighlightedLabel(L.append(r.element,L.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons}):this.descriptionNode=this._register(new _(L.append(r.element,L.$("span.label-description"))))}return this.descriptionNode}}e.IconLabel=v;class C{constructor(t){this.container=t,this.label=void 0,this.singleLabel=void 0}setLabel(t,r){if(!(this.label===t&&(0,S.equals)(this.options,r)))if(this.label=t,this.options=r,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=L.append(this.container,L.$("a.label-name",{id:r?.domId}))),this.singleLabel.textContent=t;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let u=0;u{const d={start:u,end:u+f.length},l=r.map(o=>m.Range.intersect(d,o)).filter(o=>!m.Range.isEmpty(o)).map(({start:o,end:c})=>({start:o-u,end:c-u}));return u=d.end+t.length,l})}class i{constructor(t,r){this.container=t,this.supportIcons=r,this.label=void 0,this.singleLabel=void 0}setLabel(t,r){if(!(this.label===t&&(0,S.equals)(this.options,r)))if(this.label=t,this.options=r,typeof t=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new I.HighlightedLabel(L.append(this.container,L.$("a.label-name",{id:r?.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(t,r?.matches,void 0,r?.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const u=r?.separator||"/",f=s(t,u,r?.matches);for(let d=0;d{L.EventHelper.stop(c,!0)}))}registerListeners(){this._register(L.addStandardDisposableListener(this.selectElement,"change",l=>{this.selected=l.target.selectedIndex,this._onDidSelect.fire({index:l.target.selectedIndex,selected:l.target.value}),this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)})),this._register(L.addDisposableListener(this.selectElement,L.EventType.CLICK,l=>{L.EventHelper.stop(l),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.MOUSE_DOWN,l=>{L.EventHelper.stop(l)}));let d;this._register(L.addDisposableListener(this.selectElement,"touchstart",l=>{d=this._isVisible})),this._register(L.addDisposableListener(this.selectElement,"touchend",l=>{L.EventHelper.stop(l),d?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(L.addDisposableListener(this.selectElement,L.EventType.KEY_DOWN,l=>{const o=new y.StandardKeyboardEvent(l);let c=!1;s.isMacintosh?(o.keyCode===18||o.keyCode===16||o.keyCode===10||o.keyCode===3)&&(c=!0):(o.keyCode===18&&o.altKey||o.keyCode===16&&o.altKey||o.keyCode===10||o.keyCode===3)&&(c=!0),c&&(this.showSelectDropDown(),L.EventHelper.stop(l,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(d,l){m.equals(this.options,d)||(this.options=d,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((o,c)=>{this.selectElement.add(this.createOption(o.text,c,o.isDisabled)),typeof o.description=="string"&&(this._hasDetails=!0)})),l!==void 0&&(this.select(l),this._currentSelection=this.selected)}setOptionsList(){var d;(d=this.selectList)===null||d===void 0||d.splice(0,this.selectList.length,this.options)}select(d){d>=0&&dthis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&(this.selectElement.title=this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(d){this.selectElement.tabIndex=d?0:-1}render(d){this.container=d,d.classList.add("select-container"),d.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){const d=[];this.styles.listFocusBackground&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(d.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),d.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),d.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(d.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),d.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&d.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),d.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),d.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=d.join(` +`)}styleSelectElement(){var d,l,o;const c=(d=this.styles.selectBackground)!==null&&d!==void 0?d:"",a=(l=this.styles.selectForeground)!==null&&l!==void 0?l:"",g=(o=this.styles.selectBorder)!==null&&o!==void 0?o:"";this.selectElement.style.backgroundColor=c,this.selectElement.style.color=a,this.selectElement.style.borderColor=g}styleList(){var d,l;const o=(d=this.styles.selectBackground)!==null&&d!==void 0?d:"",c=L.asCssValueWithDefault(this.styles.selectListBackground,o);this.selectDropDownListContainer.style.backgroundColor=c,this.selectionDetailsPane.style.backgroundColor=c;const a=(l=this.styles.focusBorder)!==null&&l!==void 0?l:"";this.selectDropDownContainer.style.outlineColor=a,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(d,l,o){const c=document.createElement("option");return c.value=d,c.text=d,c.disabled=!!o,c}showSelectDropDown(){this.selectionDetailsPane.innerText="",!(!this.contextViewProvider||this._isVisible)&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:d=>this.renderSelectDropDown(d,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:d=>this.renderSelectDropDown(d),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(d){!this.contextViewProvider||!this._isVisible||(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),d&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(d,l){return d.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(l),{dispose:()=>{try{d.removeChild(this.selectDropDownContainer)}catch{}}}}measureMaxDetailsHeight(){let d=0;return this.options.forEach((l,o)=>{this.updateDetail(o),this.selectionDetailsPane.offsetHeight>d&&(d=this.selectionDetailsPane.offsetHeight)}),d}layoutSelectDropDown(d){if(this._skipLayout)return!1;if(this.selectList){this.selectDropDownContainer.classList.add("visible");const l=L.getDomNodePagePosition(this.selectElement),o=getComputedStyle(this.selectElement),c=parseFloat(o.getPropertyValue("--dropdown-padding-top"))+parseFloat(o.getPropertyValue("--dropdown-padding-bottom")),a=window.innerHeight-l.top-l.height-(this.selectBoxOptions.minBottomMargin||0),g=l.top-u.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,h=this.selectElement.offsetWidth,p=this.setWidthControlElement(this.widthControlElement),b=Math.max(p,Math.round(h)).toString()+"px";this.selectDropDownContainer.style.width=b,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let w=this.selectList.contentHeight;this._hasDetails&&this._cachedMaxDetailsHeight===void 0&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());const E=this._hasDetails?this._cachedMaxDetailsHeight:0,k=w+c+E,M=Math.floor((a-c-E)/this.getHeight()),R=Math.floor((g-c-E)/this.getHeight());if(d)return l.top+l.height>window.innerHeight-22||l.topM&&this.options.length>M?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(l.top+l.height>window.innerHeight-22||l.topa&&(w=M*this.getHeight())}else k>g&&(w=R*this.getHeight());return this.selectList.layout(w),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=w+c+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=w+c+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=b,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}else return!1}setWidthControlElement(d){let l=0;if(d){let o=0,c=0;this.options.forEach((a,g)=>{const h=a.detail?a.detail.length:0,p=a.decoratorRight?a.decoratorRight.length:0,b=a.text.length+h+p;b>c&&(o=g,c=b)}),d.textContent=this.options[o].text+(this.options[o].decoratorRight?this.options[o].decoratorRight+" ":""),l=L.getTotalWidth(d)}return l}createSelectList(d){if(this.selectList)return;this.selectDropDownListContainer=L.append(d,n(".select-box-dropdown-list-container")),this.listRenderer=new r,this.selectList=new S.List("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:c=>{let a=c.text;return c.detail&&(a+=`. ${c.detail}`),c.decoratorRight&&(a+=`. ${c.decoratorRight}`),c.description&&(a+=`. ${c.description}`),a},getWidgetAriaLabel:()=>(0,i.localize)(0,null),getRole:()=>s.isMacintosh?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);const l=this._register(new I.DomEmitter(this.selectDropDownListContainer,"keydown")),o=_.Event.chain(l.event,c=>c.filter(()=>this.selectList.length>0).map(a=>new y.StandardKeyboardEvent(a)));this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===3))(this.onEnter,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===2))(this.onEnter,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===9))(this.onEscape,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===16))(this.onUpArrow,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===18))(this.onDownArrow,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===12))(this.onPageDown,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===11))(this.onPageUp,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===14))(this.onHome,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode===13))(this.onEnd,this)),this._register(_.Event.chain(o,c=>c.filter(a=>a.keyCode>=21&&a.keyCode<=56||a.keyCode>=85&&a.keyCode<=113))(this.onCharacter,this)),this._register(L.addDisposableListener(this.selectList.getHTMLElement(),L.EventType.POINTER_UP,c=>this.onPointerUp(c))),this._register(this.selectList.onMouseOver(c=>typeof c.index<"u"&&this.selectList.setFocus([c.index]))),this._register(this.selectList.onDidChangeFocus(c=>this.onListFocus(c))),this._register(L.addDisposableListener(this.selectDropDownContainer,L.EventType.FOCUS_OUT,c=>{!this._isVisible||L.isAncestor(c.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(d){if(!this.selectList.length)return;L.EventHelper.stop(d);const l=d.target;if(!l||l.classList.contains("slider"))return;const o=l.closest(".monaco-list-row");if(!o)return;const c=Number(o.getAttribute("data-index")),a=o.classList.contains("option-disabled");c>=0&&c{for(let g=0;gthis.selected+2)this.selected+=2;else{if(l)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(d){this.selected>0&&(L.EventHelper.stop(d,!0),this.options[this.selected-1].isDisabled&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0]))}onPageUp(d){L.EventHelper.stop(d),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(d){L.EventHelper.stop(d),!(this.options.length<2)&&(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(d){L.EventHelper.stop(d),!(this.options.length<2)&&(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(d){const l=v.KeyCodeUtils.toString(d.keyCode);let o=-1;for(let c=0;c{this.element&&this.handleActionChangeEvent(o)}))}handleActionChangeEvent(f){f.enabled!==void 0&&this.updateEnabled(),f.checked!==void 0&&this.updateChecked(),f.class!==void 0&&this.updateClass(),f.label!==void 0&&(this.updateLabel(),this.updateTooltip()),f.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new _.ActionRunner)),this._actionRunner}set actionRunner(f){this._actionRunner=f}isEnabled(){return this._action.enabled}setActionContext(f){this._context=f}render(f){const d=this.element=f;this._register(D.Gesture.addTarget(f));const l=this.options&&this.options.draggable;l&&(f.draggable=!0,L.isFirefox&&this._register((0,y.addDisposableListener)(f,y.EventType.DRAG_START,o=>{var c;return(c=o.dataTransfer)===null||c===void 0?void 0:c.setData(I.DataTransfers.TEXT,this._action.label)}))),this._register((0,y.addDisposableListener)(d,D.EventType.Tap,o=>this.onClick(o,!0))),this._register((0,y.addDisposableListener)(d,y.EventType.MOUSE_DOWN,o=>{l||y.EventHelper.stop(o,!0),this._action.enabled&&o.button===0&&d.classList.add("active")})),C.isMacintosh&&this._register((0,y.addDisposableListener)(d,y.EventType.CONTEXT_MENU,o=>{o.button===0&&o.ctrlKey===!0&&this.onClick(o)})),this._register((0,y.addDisposableListener)(d,y.EventType.CLICK,o=>{y.EventHelper.stop(o,!0),this.options&&this.options.isMenu||this.onClick(o)})),this._register((0,y.addDisposableListener)(d,y.EventType.DBLCLICK,o=>{y.EventHelper.stop(o,!0)})),[y.EventType.MOUSE_UP,y.EventType.MOUSE_OUT].forEach(o=>{this._register((0,y.addDisposableListener)(d,o,c=>{y.EventHelper.stop(c),d.classList.remove("active")}))})}onClick(f,d=!1){var l;y.EventHelper.stop(f,!0);const o=s.isUndefinedOrNull(this._context)?!((l=this.options)===null||l===void 0)&&l.useEventAsContext?f:{preserveFocus:d}:this._context;this.actionRunner.run(this._action,o)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(f){this.element&&(this.element.tabIndex=f?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.action.tooltip}updateTooltip(){var f;if(!this.element)return;const d=(f=this.getTooltip())!==null&&f!==void 0?f:"";this.updateAriaLabel(),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(d):(this.customHover=(0,S.setupCustomHover)(this.options.hoverDelegate,this.element,d),this._store.add(this.customHover))):this.element.title=d}updateAriaLabel(){var f;if(this.element){const d=(f=this.getTooltip())!==null&&f!==void 0?f:"";this.element.setAttribute("aria-label",d)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}e.BaseActionViewItem=n;class t extends n{constructor(f,d,l){super(f,d,l),this.options=l,this.options.icon=l.icon!==void 0?l.icon:!1,this.options.label=l.label!==void 0?l.label:!0,this.cssClass=""}render(f){super.render(f),this.element&&(this.label=(0,y.append)(this.element,(0,y.$)("a.action-label"))),this.label&&this.label.setAttribute("role",this.getDefaultAriaRole()),this.options.label&&this.options.keybinding&&this.element&&((0,y.append)(this.element,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===_.Separator.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(f){this.label&&(this.label.tabIndex=f?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let f=null;return this.action.tooltip?f=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(f=this.action.label,this.options.keybinding&&(f=i.localize(0,null,f,this.options.keybinding))),f??void 0}updateClass(){var f;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.action.class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):(f=this.label)===null||f===void 0||f.classList.remove("codicon")}updateEnabled(){var f,d;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),(f=this.element)===null||f===void 0||f.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),(d=this.element)===null||d===void 0||d.classList.add("disabled"))}updateAriaLabel(){var f;if(this.label){const d=(f=this.getTooltip())!==null&&f!==void 0?f:"";this.label.setAttribute("aria-label",d)}}updateChecked(){this.label&&(this.action.checked!==void 0?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.setAttribute("aria-checked",""),this.label.setAttribute("role",this.getDefaultAriaRole())))}}e.ActionViewItem=t;class r extends n{constructor(f,d,l,o,c,a,g){super(f,d),this.selectBox=new m.SelectBox(l,o,c,a,g),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(f){this.selectBox.select(f)}registerListeners(){this._register(this.selectBox.onDidSelect(f=>this.runAction(f.selected,f.index)))}runAction(f,d){this.actionRunner.run(this._action,this.getActionContext(f,d))}getActionContext(f,d){return f}setFocusable(f){this.selectBox.setFocusable(f)}focus(){var f;(f=this.selectBox)===null||f===void 0||f.focus()}blur(){var f;(f=this.selectBox)===null||f===void 0||f.blur()}render(f){this.selectBox.render(f)}}e.SelectActionViewItem=r}),define(te[73],ie([1,0,7,44,129,41,6,2,20,264]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionBar=void 0;class v extends m.Disposable{constructor(s,i={}){var n,t,r,u,f,d;super(),this._actionRunnerDisposables=this._register(new m.DisposableStore),this.viewItemDisposables=this._register(new m.DisposableMap),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new S.Emitter),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new S.Emitter({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new S.Emitter),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new S.Emitter),this.onWillRun=this._onWillRun.event,this.options=i,this._context=(n=i.context)!==null&&n!==void 0?n:null,this._orientation=(t=this.options.orientation)!==null&&t!==void 0?t:0,this._triggerKeys={keyDown:(u=(r=this.options.triggerKeys)===null||r===void 0?void 0:r.keyDown)!==null&&u!==void 0?u:!1,keys:(d=(f=this.options.triggerKeys)===null||f===void 0?void 0:f.keys)!==null&&d!==void 0?d:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new D.ActionRunner,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(c=>this._onDidRun.fire(c))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(c=>this._onWillRun.fire(c))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",i.animated!==!1&&this.domNode.classList.add("animated");let l,o;switch(this._orientation){case 0:l=[15],o=[17];break;case 1:l=[16],o=[18],this.domNode.className+=" vertical";break}this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_DOWN,c=>{const a=new I.StandardKeyboardEvent(c);let g=!0;const h=typeof this.focusedItem=="number"?this.viewItems[this.focusedItem]:void 0;l&&(a.equals(l[0])||a.equals(l[1]))?g=this.focusPrevious():o&&(a.equals(o[0])||a.equals(o[1]))?g=this.focusNext():a.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():a.equals(14)?g=this.focusFirst():a.equals(13)?g=this.focusLast():a.equals(2)&&h instanceof y.BaseActionViewItem&&h.trapsArrowNavigation?g=this.focusNext():this.isTriggerKeyEvent(a)?this._triggerKeys.keyDown?this.doTrigger(a):this.triggerKeyDown=!0:g=!1,g&&(a.preventDefault(),a.stopPropagation())})),this._register(L.addDisposableListener(this.domNode,L.EventType.KEY_UP,c=>{const a=new I.StandardKeyboardEvent(c);this.isTriggerKeyEvent(a)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(a)),a.preventDefault(),a.stopPropagation()):(a.equals(2)||a.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(L.trackFocus(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(L.getActiveElement()===this.domNode||!L.isAncestor(L.getActiveElement(),this.domNode))&&(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),s.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(s){if(this.focusable=s,this.focusable){const i=this.viewItems.find(n=>n instanceof y.BaseActionViewItem&&n.isEnabled());i instanceof y.BaseActionViewItem&&i.setFocusable(!0)}else this.viewItems.forEach(i=>{i instanceof y.BaseActionViewItem&&i.setFocusable(!1)})}isTriggerKeyEvent(s){let i=!1;return this._triggerKeys.keys.forEach(n=>{i=i||s.equals(n)}),i}updateFocusedItem(){for(let s=0;si.setActionContext(s))}get actionRunner(){return this._actionRunner}set actionRunner(s){this._actionRunner=s,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(i=>this._onDidRun.fire(i))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(i=>this._onWillRun.fire(i))),this.viewItems.forEach(i=>i.actionRunner=s)}getContainer(){return this.domNode}getAction(s){var i;if(typeof s=="number")return(i=this.viewItems[s])===null||i===void 0?void 0:i.action;if(s instanceof HTMLElement){for(;s.parentElement!==this.actionsList;){if(!s.parentElement)return;s=s.parentElement}for(let n=0;n{const u=document.createElement("li");u.className="action-item",u.setAttribute("role","presentation");let f;const d=Object.assign({hoverDelegate:this.options.hoverDelegate},i);this.options.actionViewItemProvider&&(f=this.options.actionViewItemProvider(r,d)),f||(f=new y.ActionViewItem(this.context,r,d)),this.options.allowContextMenu||this.viewItemDisposables.set(f,L.addDisposableListener(u,L.EventType.CONTEXT_MENU,l=>{L.EventHelper.stop(l,!0)})),f.actionRunner=this._actionRunner,f.setActionContext(this.context),f.render(u),this.focusable&&f instanceof y.BaseActionViewItem&&this.viewItems.length===0&&f.setFocusable(!0),t===null||t<0||t>=this.actionsList.children.length?(this.actionsList.appendChild(u),this.viewItems.push(f)):(this.actionsList.insertBefore(u,this.actionsList.children[t]),this.viewItems.splice(t,0,f),t++)}),typeof this.focusedItem=="number"&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,m.dispose)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),L.clearNode(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return this.viewItems.length===0}focus(s){let i=!1,n;if(s===void 0?i=!0:typeof s=="number"?n=s:typeof s=="boolean"&&(i=s),i&&typeof this.focusedItem>"u"){const t=this.viewItems.findIndex(r=>r.isEnabled());this.focusedItem=t===-1?void 0:t,this.updateFocus(void 0,void 0,!0)}else n!==void 0&&(this.focusedItem=n),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(s){if(typeof this.focusedItem>"u")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(!s&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(),!0}focusPrevious(s){if(typeof this.focusedItem>"u")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const i=this.focusedItem;let n;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!s&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!n.isEnabled()||n.action.id===D.Separator.ID));return this.updateFocus(!0),!0}updateFocus(s,i,n=!1){var t;typeof this.focusedItem>"u"&&this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((t=this.viewItems[this.previouslyFocusedItem])===null||t===void 0||t.blur());const r=this.focusedItem!==void 0&&this.viewItems[this.focusedItem];if(r){let u=!0;_.isFunction(r.focus)||(u=!1),this.options.focusOnlyEnabledItems&&_.isFunction(r.isEnabled)&&!r.isEnabled()&&(u=!1),r.action.id===D.Separator.ID&&(u=!1),u?(n||this.previouslyFocusedItem!==this.focusedItem)&&(r.focus(s),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:i}),this.previouslyFocusedItem=void 0)}}doTrigger(s){if(typeof this.focusedItem>"u")return;const i=this.viewItems[this.focusedItem];if(i instanceof y.BaseActionViewItem){const n=i._context===null||i._context===void 0?s:i._context;this.run(i._action,n)}}run(s,i){return be(this,void 0,void 0,function*(){yield this._actionRunner.run(s,i)})}dispose(){this._context=void 0,this.viewItems=(0,m.dispose)(this.viewItems),this.getContainer().remove(),super.dispose()}}e.ActionBar=v}),define(te[320],ie([1,0,7,129,575,6,265]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownMenuActionViewItem=void 0;class S extends I.BaseActionViewItem{constructor(_,v,C,s=Object.create(null)){super(null,_,s),this.actionItem=null,this._onDidChangeVisibility=this._register(new D.Emitter),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=v,this.contextMenuProvider=C,this.options=s,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(_){this.actionItem=_;const v=i=>{this.element=(0,L.append)(i,(0,L.$)("a.action-label"));let n=[];return typeof this.options.classNames=="string"?n=this.options.classNames.split(/\s+/g).filter(t=>!!t):this.options.classNames&&(n=this.options.classNames),n.find(t=>t==="icon")||n.push("codicon"),this.element.classList.add(...n),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",this.element.ariaLabel=this._action.label||"",null},C=Array.isArray(this.menuActionsOrProvider),s={contextMenuProvider:this.contextMenuProvider,labelRenderer:v,menuAsChild:this.options.menuAsChild,actions:C?this.menuActionsOrProvider:void 0,actionProvider:C?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new y.DropdownMenu(_,s)),this._register(this.dropdownMenu.onDidChangeVisibility(i=>{var n;(n=this.element)===null||n===void 0||n.setAttribute("aria-expanded",`${i}`),this._onDidChangeVisibility.fire(i)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const i=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return i.options.anchorAlignmentProvider()}})}this.updateTooltip(),this.updateEnabled()}getTooltip(){let _=null;return this.action.tooltip?_=this.action.tooltip:this.action.label&&(_=this.action.label),_??void 0}setActionContext(_){super.setActionContext(_),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=_:this.dropdownMenu.menuOptions={context:_})}show(){var _;(_=this.dropdownMenu)===null||_===void 0||_.show()}updateEnabled(){var _,v;const C=!this.action.enabled;(_=this.actionItem)===null||_===void 0||_.classList.toggle("disabled",C),(v=this.element)===null||v===void 0||v.classList.toggle("disabled",C)}}e.DropdownMenuActionViewItem=S}),define(te[227],ie([1,0,7,79,310,73,45,84,83,6,392,52,560,406]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryInputBox=e.InputBox=e.unthemedInboxStyles=void 0;const n=L.$;e.unthemedInboxStyles={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class t extends _.Widget{constructor(f,d,l){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new v.Emitter),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new v.Emitter),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=d,this.options=l,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=(o=this.options.tooltip)!==null&&o!==void 0?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=L.append(f,n(".monaco-inputbox.idle"));const c=this.options.flexibleHeight?"textarea":"input",a=L.append(this.element,n(".ibwrapper"));if(this.input=L.append(a,n(c+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight=="number"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=L.append(a,n("div.mirror")),this.mirror.innerText="\xA0",this.scrollableElement=new m.ScrollableElement(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),L.append(f,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(p=>this.input.scrollTop=p.scrollTop));const g=this._register(new I.DomEmitter(document,"selectionchange")),h=v.Event.filter(g.event,()=>{const p=document.getSelection();return p?.anchorNode===a});this._register(h(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new D.ActionBar(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(f){this.placeholder=f,this.input.setAttribute("placeholder",f)}setTooltip(f){this.tooltip=f,this.input.title=f}get inputElement(){return this.input}get value(){return this.input.value}set value(f){this.input.value!==f&&(this.input.value=f,this.onValueChange())}get height(){return typeof this.cachedHeight=="number"?this.cachedHeight:L.getTotalHeight(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(f=null){this.input.select(),f&&(this.input.setSelectionRange(f.start,f.end),f.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(f){this.input.style.width=`calc(100% - ${f}px)`,this.mirror&&(this.mirror.style.paddingRight=f+"px")}updateScrollDimensions(){if(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)return;const f=this.cachedContentHeight,d=this.cachedHeight,l=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:f,height:d}),this.scrollableElement.setScrollPosition({scrollTop:l})}showMessage(f,d){if(this.state==="open"&&(0,s.equals)(this.message,f))return;this.message=f,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(f.type));const l=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${L.asCssValueWithDefault(l.border,"transparent")}`,this.message.content&&(this.hasFocus()||d)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let f=null;return this.validation&&(f=this.validation(this.value),f?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(f)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),f?.type}stylesForType(f){const d=this.options.inputBoxStyles;switch(f){case 1:return{border:d.inputValidationInfoBorder,background:d.inputValidationInfoBackground,foreground:d.inputValidationInfoForeground};case 2:return{border:d.inputValidationWarningBorder,background:d.inputValidationWarningBackground,foreground:d.inputValidationWarningForeground};default:return{border:d.inputValidationErrorBorder,background:d.inputValidationErrorBackground,foreground:d.inputValidationErrorForeground}}}classForType(f){switch(f){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let f;const d=()=>f.style.width=L.getTotalWidth(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:o=>{var c,a;if(!this.message)return null;f=L.append(o,n(".monaco-inputbox-container")),d();const g={inline:!0,className:"monaco-inputbox-message"},h=this.message.formatContent?(0,y.renderFormattedText)(this.message.content,g):(0,y.renderText)(this.message.content,g);h.classList.add(this.classForType(this.message.type));const p=this.stylesForType(this.message.type);return h.style.backgroundColor=(c=p.background)!==null&&c!==void 0?c:"",h.style.color=(a=p.foreground)!==null&&a!==void 0?a:"",h.style.border=p.border?`1px solid ${p.border}`:"",L.append(f,h),null},onHide:()=>{this.state="closed"},layout:d});let l;this.message.type===3?l=i.localize(0,null,this.message.content):this.message.type===2?l=i.localize(1,null,this.message.content):l=i.localize(2,null,this.message.content),S.alert(l),this.state="open"}_hideMessage(){this.contextViewProvider&&(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const f=this.value,l=f.charCodeAt(f.length-1)===10?" ":"";(f+l).replace(/\u000c/g,"")?this.mirror.textContent=f+l:this.mirror.innerText="\xA0",this.layout()}applyStyles(){var f,d,l;const o=this.options.inputBoxStyles,c=(f=o.inputBackground)!==null&&f!==void 0?f:"",a=(d=o.inputForeground)!==null&&d!==void 0?d:"",g=(l=o.inputBorder)!==null&&l!==void 0?l:"";this.element.style.backgroundColor=c,this.element.style.color=a,this.input.style.backgroundColor="inherit",this.input.style.color=a,this.element.style.border=`1px solid ${L.asCssValueWithDefault(g,"transparent")}`}layout(){if(!this.mirror)return;const f=this.cachedContentHeight;this.cachedContentHeight=L.getTotalHeight(this.mirror),f!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(f){const d=this.inputElement,l=d.selectionStart,o=d.selectionEnd,c=d.value;l!==null&&o!==null&&(this.value=c.substr(0,l)+f+c.substr(o),d.setSelectionRange(l+1,l+1),this.layout())}dispose(){var f;this._hideMessage(),this.message=null,(f=this.actionbar)===null||f===void 0||f.dispose(),super.dispose()}}e.InputBox=t;class r extends t{constructor(f,d,l){const o=i.localize(3,null),c=` or \u21C5 ${o}`,a=` (\u21C5 ${o})`;super(f,d,l),this._onDidFocus=this._register(new v.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new v.Emitter),this.onDidBlur=this._onDidBlur.event,this.history=new C.HistoryNavigator(l.history,100);const g=()=>{if(l.showHistoryHint&&l.showHistoryHint()&&!this.placeholder.endsWith(c)&&!this.placeholder.endsWith(a)&&this.history.getHistory().length){const h=this.placeholder.endsWith(")")?c:a,p=this.placeholder+h;l.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=p:this.setPlaceHolder(p)}};this.observer=new MutationObserver((h,p)=>{h.forEach(b=>{b.target.textContent||g()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>g()),this.onblur(this.input,()=>{const h=p=>{if(this.placeholder.endsWith(p)){const b=this.placeholder.slice(0,this.placeholder.length-p.length);return l.showPlaceholderOnFocus?this.placeholder=b:this.setPlaceHolder(b),!0}else return!1};h(a)||h(c)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(f){this.value&&(f||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let f=this.getNextValue();f&&(f=f===this.value?this.getNextValue():f),this.value=f??"",S.status(this.value?this.value:i.localize(4,null))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let f=this.getPreviousValue();f&&(f=f===this.value?this.getPreviousValue():f),f&&(this.value=f,S.status(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let f=this.history.current();return f||(f=this.history.last(),this.history.next()),f}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}e.HistoryInputBox=r}),define(te[228],ie([1,0,7,317,227,83,6,555,2,266]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindInput=void 0;const v=m.localize(0,null);class C extends D.Widget{constructor(i,n,t){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=this._register(new _.MutableDisposable),this.additionalToggles=[],this._onDidOptionChange=this._register(new S.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new S.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new S.Emitter),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new S.Emitter),this._onKeyUp=this._register(new S.Emitter),this._onCaseSensitiveKeyDown=this._register(new S.Emitter),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new S.Emitter),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=t.placeholder||"",this.validation=t.validation,this.label=t.label||v,this.showCommonFindToggles=!!t.showCommonFindToggles;const r=t.appendCaseSensitiveLabel||"",u=t.appendWholeWordsLabel||"",f=t.appendRegexLabel||"",d=t.history||[],l=!!t.flexibleHeight,o=!!t.flexibleWidth,c=t.flexibleMaxHeight;if(this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,n,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:d,showHistoryHint:t.showHistoryHint,flexibleHeight:l,flexibleWidth:o,flexibleMaxHeight:c,inputBoxStyles:t.inputBoxStyles})),this.showCommonFindToggles){this.regex=this._register(new I.RegexToggle(Object.assign({appendTitle:f,isChecked:!1},t.toggleStyles))),this._register(this.regex.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(g=>{this._onRegexKeyDown.fire(g)})),this.wholeWords=this._register(new I.WholeWordsToggle(Object.assign({appendTitle:u,isChecked:!1},t.toggleStyles))),this._register(this.wholeWords.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new I.CaseSensitiveToggle(Object.assign({appendTitle:r,isChecked:!1},t.toggleStyles))),this._register(this.caseSensitive.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(g=>{this._onCaseSensitiveKeyDown.fire(g)}));const a=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,g=>{if(g.equals(15)||g.equals(17)||g.equals(9)){const h=a.indexOf(document.activeElement);if(h>=0){let p=-1;g.equals(17)?p=(h+1)%a.length:g.equals(15)&&(h===0?p=a.length-1:p=h-1),g.equals(9)?(a[h].blur(),this.inputBox.focus()):p>=0&&a[p].focus(),L.EventHelper.stop(g,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(t?.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),i?.appendChild(this.domNode),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionstart",a=>{this.imeSessionInProgress=!0})),this._register(L.addDisposableListener(this.inputBox.inputElement,"compositionend",a=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,a=>this._onKeyDown.fire(a)),this.onkeyup(this.inputBox.inputElement,a=>this._onKeyUp.fire(a)),this.oninput(this.inputBox.inputElement,a=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,a=>this._onMouseDown.fire(a))}get onDidChange(){return this.inputBox.onDidChange}layout(i){this.inputBox.layout(),this.updateInputBoxPadding(i.collapsedFindWidget)}enable(){var i,n,t;this.domNode.classList.remove("disabled"),this.inputBox.enable(),(i=this.regex)===null||i===void 0||i.enable(),(n=this.wholeWords)===null||n===void 0||n.enable(),(t=this.caseSensitive)===null||t===void 0||t.enable();for(const r of this.additionalToggles)r.enable()}disable(){var i,n,t;this.domNode.classList.add("disabled"),this.inputBox.disable(),(i=this.regex)===null||i===void 0||i.disable(),(n=this.wholeWords)===null||n===void 0||n.disable(),(t=this.caseSensitive)===null||t===void 0||t.disable();for(const r of this.additionalToggles)r.disable()}setFocusInputOnOptionClick(i){this.fixFocusOnOptionClickEnabled=i}setEnabled(i){i?this.enable():this.disable()}setAdditionalToggles(i){for(const n of this.additionalToggles)n.domNode.remove();this.additionalToggles=[],this.additionalTogglesDisposables.value=new _.DisposableStore;for(const n of i??[])this.additionalTogglesDisposables.value.add(n),this.controls.appendChild(n.domNode),this.additionalTogglesDisposables.value.add(n.onChange(t=>{this._onDidOptionChange.fire(t),!t&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(n);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(i=!1){var n,t,r,u,f,d;i?this.inputBox.paddingRight=0:this.inputBox.paddingRight=((t=(n=this.caseSensitive)===null||n===void 0?void 0:n.width())!==null&&t!==void 0?t:0)+((u=(r=this.wholeWords)===null||r===void 0?void 0:r.width())!==null&&u!==void 0?u:0)+((d=(f=this.regex)===null||f===void 0?void 0:f.width())!==null&&d!==void 0?d:0)+this.additionalToggles.reduce((l,o)=>l+o.width(),0)}getValue(){return this.inputBox.value}setValue(i){this.inputBox.value!==i&&(this.inputBox.value=i)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var i,n;return(n=(i=this.caseSensitive)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setCaseSensitive(i){this.caseSensitive&&(this.caseSensitive.checked=i)}getWholeWords(){var i,n;return(n=(i=this.wholeWords)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setWholeWords(i){this.wholeWords&&(this.wholeWords.checked=i)}getRegex(){var i,n;return(n=(i=this.regex)===null||i===void 0?void 0:i.checked)!==null&&n!==void 0?n:!1}setRegex(i){this.regex&&(this.regex.checked=i,this.validate())}focusOnCaseSensitive(){var i;(i=this.caseSensitive)===null||i===void 0||i.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(i){this.inputBox.showMessage(i)}clearMessage(){this.inputBox.hideMessage()}}e.FindInput=C}),define(te[585],ie([1,0,7,153,227,83,26,6,557,266]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReplaceInput=void 0;const v=_.localize(0,null),C=_.localize(1,null);class s extends I.Toggle{constructor(t){super({icon:S.Codicon.preserveCase,title:C+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionForeground:t.inputActiveOptionForeground,inputActiveOptionBackground:t.inputActiveOptionBackground})}}class i extends D.Widget{constructor(t,r,u,f){super(),this._showOptionButtons=u,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new m.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new m.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new m.Emitter),this._onInput=this._register(new m.Emitter),this._onKeyUp=this._register(new m.Emitter),this._onPreserveCaseKeyDown=this._register(new m.Emitter),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=r,this.placeholder=f.placeholder||"",this.validation=f.validation,this.label=f.label||v;const d=f.appendPreserveCaseLabel||"",l=f.history||[],o=!!f.flexibleHeight,c=!!f.flexibleWidth,a=f.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new y.HistoryInputBox(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},history:l,showHistoryHint:f.showHistoryHint,flexibleHeight:o,flexibleWidth:c,flexibleMaxHeight:a,inputBoxStyles:f.inputBoxStyles})),this.preserveCase=this._register(new s(Object.assign({appendTitle:d,isChecked:!1},f.toggleStyles))),this._register(this.preserveCase.onChange(p=>{this._onDidOptionChange.fire(p),!p&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(p=>{this._onPreserveCaseKeyDown.fire(p)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;const g=[this.preserveCase.domNode];this.onkeydown(this.domNode,p=>{if(p.equals(15)||p.equals(17)||p.equals(9)){const b=g.indexOf(document.activeElement);if(b>=0){let w=-1;p.equals(17)?w=(b+1)%g.length:p.equals(15)&&(b===0?w=g.length-1:w=b-1),p.equals(9)?(g[b].blur(),this.inputBox.focus()):w>=0&&g[w].focus(),L.EventHelper.stop(p,!0)}}});const h=document.createElement("div");h.className="controls",h.style.display=this._showOptionButtons?"block":"none",h.appendChild(this.preserveCase.domNode),this.domNode.appendChild(h),t?.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,p=>this._onKeyDown.fire(p)),this.onkeyup(this.inputBox.inputElement,p=>this._onKeyUp.fire(p)),this.oninput(this.inputBox.inputElement,p=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,p=>this._onMouseDown.fire(p))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(t){t?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(t){this.preserveCase.checked=t}focusOnPreserve(){this.preserveCase.focus()}validate(){var t;(t=this.inputBox)===null||t===void 0||t.validate()}set width(t){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=t+"px"}dispose(){super.dispose()}}e.ReplaceInput=i}),define(te[586],ie([1,0,51,61,7,44,60,73,129,311,84,41,14,26,27,119,2,17,10]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRule=e.cleanMnemonic=e.Menu=e.Direction=e.MENU_ESCAPED_MNEMONIC_REGEX=e.MENU_MNEMONIC_REGEX=void 0,e.MENU_MNEMONIC_REGEX=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,e.MENU_ESCAPED_MNEMONIC_REGEX=/(&)?(&)([^\s&])/g;var l;(function(w){w[w.Right=0]="Right",w[w.Left=1]="Left"})(l||(e.Direction=l={}));class o extends m.ActionBar{constructor(E,k,M,R){E.classList.add("monaco-menu-container"),E.setAttribute("role","presentation");const B=document.createElement("div");B.classList.add("monaco-menu"),B.setAttribute("role","presentation"),super(B,{orientation:1,actionViewItemProvider:A=>this.doGetActionViewItem(A,M,T),context:M.context,actionRunner:M.actionRunner,ariaLabel:M.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...f.isMacintosh||f.isLinux?[10]:[]],keyDown:!0}}),this.menuStyles=R,this.menuElement=B,this.actionsList.tabIndex=0,this.menuDisposables=this._register(new u.DisposableStore),this.initializeOrUpdateStyleSheet(E,R),this._register(I.Gesture.addTarget(B)),(0,y.addDisposableListener)(B,y.EventType.KEY_DOWN,A=>{new D.StandardKeyboardEvent(A).equals(2)&&A.preventDefault()}),M.enableMnemonics&&this.menuDisposables.add((0,y.addDisposableListener)(B,y.EventType.KEY_DOWN,A=>{const P=A.key.toLocaleLowerCase();if(this.mnemonics.has(P)){y.EventHelper.stop(A,!0);const O=this.mnemonics.get(P);if(O.length===1&&(O[0]instanceof a&&O[0].container&&this.focusItemByElement(O[0].container),O[0].onClick(A)),O.length>1){const x=O.shift();x&&x.container&&(this.focusItemByElement(x.container),O.push(x)),this.mnemonics.set(P,O)}}})),f.isLinux&&this._register((0,y.addDisposableListener)(B,y.EventType.KEY_DOWN,A=>{const P=new D.StandardKeyboardEvent(A);P.equals(14)||P.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),y.EventHelper.stop(A,!0)):(P.equals(13)||P.equals(12))&&(this.focusedItem=0,this.focusPrevious(),y.EventHelper.stop(A,!0))})),this._register((0,y.addDisposableListener)(this.domNode,y.EventType.MOUSE_OUT,A=>{const P=A.relatedTarget;(0,y.isAncestor)(P,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),A.stopPropagation())})),this._register((0,y.addDisposableListener)(this.actionsList,y.EventType.MOUSE_OVER,A=>{let P=A.target;if(!(!P||!(0,y.isAncestor)(P,this.actionsList)||P===this.actionsList)){for(;P.parentElement!==this.actionsList&&P.parentElement!==null;)P=P.parentElement;if(P.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(P),O!==this.focusedItem&&this.updateFocus()}}})),this._register(I.Gesture.addTarget(this.actionsList)),this._register((0,y.addDisposableListener)(this.actionsList,I.EventType.Tap,A=>{let P=A.initialTarget;if(!(!P||!(0,y.isAncestor)(P,this.actionsList)||P===this.actionsList)){for(;P.parentElement!==this.actionsList&&P.parentElement!==null;)P=P.parentElement;if(P.classList.contains("action-item")){const O=this.focusedItem;this.setFocusedItem(P),O!==this.focusedItem&&this.updateFocus()}}}));const T={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new C.DomScrollableElement(B,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const N=this.scrollableElement.getDomNode();N.style.position="",this.styleScrollElement(N,R),this._register((0,y.addDisposableListener)(B,I.EventType.Change,A=>{y.EventHelper.stop(A,!0);const P=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:P-A.translationY})})),this._register((0,y.addDisposableListener)(N,y.EventType.MOUSE_UP,A=>{A.preventDefault()})),B.style.maxHeight=`${Math.max(10,window.innerHeight-E.getBoundingClientRect().top-35)}px`,k=k.filter(A=>{var P;return!((P=M.submenuIds)===null||P===void 0)&&P.has(A.id)?(console.warn(`Found submenu cycle: ${A.id}`),!1):!0}),this.push(k,{icon:!0,label:!0,isMenu:!0}),E.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(A=>!(A instanceof g)).forEach((A,P,O)=>{A.updatePositionInSet(P+1,O.length)})}initializeOrUpdateStyleSheet(E,k){this.styleSheet||((0,y.isInShadowDOM)(E)?this.styleSheet=(0,y.createStyleSheet)(E):(o.globalStyleSheet||(o.globalStyleSheet=(0,y.createStyleSheet)()),this.styleSheet=o.globalStyleSheet)),this.styleSheet.textContent=b(k,(0,y.isInShadowDOM)(E))}styleScrollElement(E,k){var M,R;const B=(M=k.foregroundColor)!==null&&M!==void 0?M:"",T=(R=k.backgroundColor)!==null&&R!==void 0?R:"",N=k.borderColor?`1px solid ${k.borderColor}`:"",A="5px",P=k.shadowColor?`0 2px 8px ${k.shadowColor}`:"";E.style.outline=N,E.style.borderRadius=A,E.style.color=B,E.style.backgroundColor=T,E.style.boxShadow=P}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(E){const k=this.focusedItem;this.setFocusedItem(E),k!==this.focusedItem&&this.updateFocus()}setFocusedItem(E){for(let k=0;k{this.element&&(this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_UP,B=>{if(y.EventHelper.stop(B,!0),L.isFirefox){if(new S.StandardMouseEvent(B).rightButton)return;this.onClick(B)}else setTimeout(()=>{this.onClick(B)},0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.CONTEXT_MENU,B=>{y.EventHelper.stop(B,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(E){super.render(E),this.element&&(this.container=E,this.item=(0,y.append)(this.element,(0,y.$)("a.action-menu-item")),this._action.id===s.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,y.append)(this.item,(0,y.$)("span.menu-item-check"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSelection))),this.check.setAttribute("role","none"),this.label=(0,y.append)(this.item,(0,y.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,y.append)(this.item,(0,y.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var E;super.focus(),(E=this.item)===null||E===void 0||E.focus(),this.applyStyle()}updatePositionInSet(E,k){this.item&&(this.item.setAttribute("aria-posinset",`${E}`),this.item.setAttribute("aria-setsize",`${k}`))}updateLabel(){var E;if(this.label&&this.options.label){(0,y.clearNode)(this.label);let k=(0,r.stripIcons)(this.action.label);if(k){const M=h(k);this.options.enableMnemonics||(k=M),this.label.setAttribute("aria-label",M.replace(/&&/g,"&"));const R=e.MENU_MNEMONIC_REGEX.exec(k);if(R){k=d.escape(k),e.MENU_ESCAPED_MNEMONIC_REGEX.lastIndex=0;let B=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(k);for(;B&&B[1];)B=e.MENU_ESCAPED_MNEMONIC_REGEX.exec(k);const T=N=>N.replace(/&&/g,"&");B?this.label.append(d.ltrim(T(k.substr(0,B.index))," "),(0,y.$)("u",{"aria-hidden":"true"},B[3]),d.rtrim(T(k.substr(B.index+B[0].length))," ")):this.label.innerText=T(k).trim(),(E=this.item)===null||E===void 0||E.setAttribute("aria-keyshortcuts",(R[1]?R[1]:R[3]).toLocaleLowerCase())}else this.label.innerText=k.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.action.class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const E=this.action.checked;this.item.classList.toggle("checked",!!E),E!==void 0?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",E?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){const E=this.element&&this.element.classList.contains("focused"),k=E&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,M=E&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,R=E&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",B=E&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=k??"",this.item.style.backgroundColor=M??"",this.item.style.outline=R,this.item.style.outlineOffset=B),this.check&&(this.check.style.color=k??"")}}class a extends c{constructor(E,k,M,R,B){super(E,E,R,B),this.submenuActions=k,this.parentData=M,this.submenuOptions=R,this.mysubmenu=null,this.submenuDisposables=this._register(new u.DisposableStore),this.mouseOver=!1,this.expandDirection=R&&R.expandDirection!==void 0?R.expandDirection:l.Right,this.showScheduler=new i.RunOnceScheduler(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new i.RunOnceScheduler(()=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(E){super.render(E),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,y.append)(this.item,(0,y.$)("span.submenu-indicator"+t.ThemeIcon.asCSSSelector(n.Codicon.menuSubmenu))),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_UP,k=>{const M=new D.StandardKeyboardEvent(k);(M.equals(17)||M.equals(3))&&(y.EventHelper.stop(k,!0),this.createSubmenu(!0))})),this._register((0,y.addDisposableListener)(this.element,y.EventType.KEY_DOWN,k=>{const M=new D.StandardKeyboardEvent(k);(0,y.getActiveElement)()===this.item&&(M.equals(17)||M.equals(3))&&y.EventHelper.stop(k,!0)})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_OVER,k=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register((0,y.addDisposableListener)(this.element,y.EventType.MOUSE_LEAVE,k=>{this.mouseOver=!1})),this._register((0,y.addDisposableListener)(this.element,y.EventType.FOCUS_OUT,k=>{this.element&&!(0,y.isAncestor)((0,y.getActiveElement)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(E){y.EventHelper.stop(E,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(E){if(this.parentData.submenu&&(E||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch{}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(E,k,M,R){const B={top:0,left:0};return B.left=(0,v.layout)(E.width,k.width,{position:R===l.Right?0:1,offset:M.left,size:M.width}),B.left>=M.left&&B.left{new D.StandardKeyboardEvent(P).equals(15)&&(y.EventHelper.stop(P,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add((0,y.addDisposableListener)(this.submenuContainer,y.EventType.KEY_DOWN,P=>{new D.StandardKeyboardEvent(P).equals(15)&&y.EventHelper.stop(P,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(E),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(E){var k;this.item&&((k=this.item)===null||k===void 0||k.setAttribute("aria-expanded",E))}applyStyle(){super.applyStyle();const k=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=k??"")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class g extends _.ActionViewItem{constructor(E,k,M,R){super(E,k,M),this.menuStyles=R}render(E){super.render(E),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:"")}}function h(w){const E=e.MENU_MNEMONIC_REGEX,k=E.exec(w);if(!k)return w;const M=!k[1];return w.replace(E,M?"$2$3":"").trim()}e.cleanMnemonic=h;function p(w){const E=(0,n.getCodiconFontCharacters)()[w.id];return`.codicon-${w.id}:before { content: '\\${E.toString(16)}'; }`}e.formatRule=p;function b(w,E){let k=` +.monaco-menu { + font-size: 13px; + border-radius: 5px; + min-width: 160px; +} + +${p(n.Codicon.menuSelection)} +${p(n.Codicon.menuSubmenu)} + +.monaco-menu .monaco-action-bar { + text-align: right; + overflow: hidden; + white-space: nowrap; +} + +.monaco-menu .monaco-action-bar .actions-container { + display: flex; + margin: 0 auto; + padding: 0; + width: 100%; + justify-content: flex-end; +} + +.monaco-menu .monaco-action-bar.vertical .actions-container { + display: inline-block; +} + +.monaco-menu .monaco-action-bar.reverse .actions-container { + flex-direction: row-reverse; +} + +.monaco-menu .monaco-action-bar .action-item { + cursor: pointer; + display: inline-block; + transition: transform 50ms ease; + position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ +} + +.monaco-menu .monaco-action-bar .action-item.disabled { + cursor: default; +} + +.monaco-menu .monaco-action-bar.animated .action-item.active { + transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ +} + +.monaco-menu .monaco-action-bar .action-item .icon, +.monaco-menu .monaco-action-bar .action-item .codicon { + display: inline-block; +} + +.monaco-menu .monaco-action-bar .action-item .codicon { + display: flex; + align-items: center; +} + +.monaco-menu .monaco-action-bar .action-label { + font-size: 11px; + margin-right: 4px; +} + +.monaco-menu .monaco-action-bar .action-item.disabled .action-label, +.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover { + color: var(--vscode-disabledForeground); +} + +/* Vertical actions */ + +.monaco-menu .monaco-action-bar.vertical { + text-align: left; +} + +.monaco-menu .monaco-action-bar.vertical .action-item { + display: block; +} + +.monaco-menu .monaco-action-bar.vertical .action-label.separator { + display: block; + border-bottom: 1px solid var(--vscode-menu-separatorBackground); + padding-top: 1px; + padding: 30px; +} + +.monaco-menu .secondary-actions .monaco-action-bar .action-label { + margin-left: 6px; +} + +/* Action Items */ +.monaco-menu .monaco-action-bar .action-item.select-container { + overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ + flex: 1; + max-width: 170px; + min-width: 60px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 10px; +} + +.monaco-menu .monaco-action-bar.vertical { + margin-left: 0; + overflow: visible; +} + +.monaco-menu .monaco-action-bar.vertical .actions-container { + display: block; +} + +.monaco-menu .monaco-action-bar.vertical .action-item { + padding: 0; + transform: none; + display: flex; +} + +.monaco-menu .monaco-action-bar.vertical .action-item.active { + transform: none; +} + +.monaco-menu .monaco-action-bar.vertical .action-menu-item { + flex: 1 1 auto; + display: flex; + height: 2em; + align-items: center; + position: relative; + margin: 0 4px; + border-radius: 4px; +} + +.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding, +.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding { + opacity: unset; +} + +.monaco-menu .monaco-action-bar.vertical .action-label { + flex: 1 1 auto; + text-decoration: none; + padding: 0 1em; + background: none; + font-size: 12px; + line-height: 1; +} + +.monaco-menu .monaco-action-bar.vertical .keybinding, +.monaco-menu .monaco-action-bar.vertical .submenu-indicator { + display: inline-block; + flex: 2 1 auto; + padding: 0 1em; + text-align: right; + font-size: 12px; + line-height: 1; +} + +.monaco-menu .monaco-action-bar.vertical .submenu-indicator { + height: 100%; +} + +.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon { + font-size: 16px !important; + display: flex; + align-items: center; +} + +.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before { + margin-left: auto; + margin-right: -20px; +} + +.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding, +.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator { + opacity: 0.4; +} + +.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) { + display: inline-block; + box-sizing: border-box; + margin: 0; +} + +.monaco-menu .monaco-action-bar.vertical .action-item { + position: static; + overflow: visible; +} + +.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu { + position: absolute; +} + +.monaco-menu .monaco-action-bar.vertical .action-label.separator { + width: 100%; + height: 0px !important; + opacity: 1; +} + +.monaco-menu .monaco-action-bar.vertical .action-label.separator.text { + padding: 0.7em 1em 0.1em 1em; + font-weight: bold; + opacity: 1; +} + +.monaco-menu .monaco-action-bar.vertical .action-label:hover { + color: inherit; +} + +.monaco-menu .monaco-action-bar.vertical .menu-item-check { + position: absolute; + visibility: hidden; + width: 1em; + height: 100%; +} + +.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check { + visibility: visible; + display: flex; + align-items: center; + justify-content: center; +} + +/* Context Menu */ + +.context-view.monaco-menu-container { + outline: 0; + border: none; + animation: fadeIn 0.083s linear; + -webkit-app-region: no-drag; +} + +.context-view.monaco-menu-container :focus, +.context-view.monaco-menu-container .monaco-action-bar.vertical:focus, +.context-view.monaco-menu-container .monaco-action-bar.vertical :focus { + outline: 0; +} + +.hc-black .context-view.monaco-menu-container, +.hc-light .context-view.monaco-menu-container, +:host-context(.hc-black) .context-view.monaco-menu-container, +:host-context(.hc-light) .context-view.monaco-menu-container { + box-shadow: none; +} + +.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused, +.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused, +:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused, +:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused { + background: none; +} + +/* Vertical Action Bar Styles */ + +.monaco-menu .monaco-action-bar.vertical { + padding: 4px 0; +} + +.monaco-menu .monaco-action-bar.vertical .action-menu-item { + height: 2em; +} + +.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator), +.monaco-menu .monaco-action-bar.vertical .keybinding { + font-size: inherit; + padding: 0 2em; +} + +.monaco-menu .monaco-action-bar.vertical .menu-item-check { + font-size: inherit; + width: 2em; +} + +.monaco-menu .monaco-action-bar.vertical .action-label.separator { + font-size: inherit; + margin: 5px 0 !important; + padding: 0; + border-radius: 0; +} + +.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator, +:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator { + margin-left: 0; + margin-right: 0; +} + +.monaco-menu .monaco-action-bar.vertical .submenu-indicator { + font-size: 60%; + padding: 0 1.8em; +} + +.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator, +:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator { + height: 100%; + mask-size: 10px 10px; + -webkit-mask-size: 10px 10px; +} + +.monaco-menu .action-item { + cursor: default; +}`;if(E){k+=` + /* Arrows */ + .monaco-scrollable-element > .scrollbar > .scra { + cursor: pointer; + font-size: 11px !important; + } + + .monaco-scrollable-element > .visible { + opacity: 1; + + /* Background rule added for IE9 - to allow clicks on dom node */ + background:rgba(0,0,0,0); + + transition: opacity 100ms linear; + } + .monaco-scrollable-element > .invisible { + opacity: 0; + pointer-events: none; + } + .monaco-scrollable-element > .invisible.fade { + transition: opacity 800ms linear; + } + + /* Scrollable Content Inset Shadow */ + .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; + } + `;const M=w.scrollbarShadow;M&&(k+=` + .monaco-scrollable-element > .shadow.top { + box-shadow: ${M} 0 6px 6px -6px inset; + } + + .monaco-scrollable-element > .shadow.left { + box-shadow: ${M} 6px 0 6px -6px inset; + } + + .monaco-scrollable-element > .shadow.top.left { + box-shadow: ${M} 6px 6px 6px -6px inset; + } + `);const R=w.scrollbarSliderBackground;R&&(k+=` + .monaco-scrollable-element > .scrollbar > .slider { + background: ${R}; + } + `);const B=w.scrollbarSliderHoverBackground;B&&(k+=` + .monaco-scrollable-element > .scrollbar > .slider:hover { + background: ${B}; + } + `);const T=w.scrollbarSliderActiveBackground;T&&(k+=` + .monaco-scrollable-element > .scrollbar > .slider.active { + background: ${T}; + } + `)}return k}}),define(te[587],ie([1,0,73,320,41,26,27,6,2,563,417]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleMenuAction=e.ToolBar=void 0;class C extends _.Disposable{constructor(n,t,r={orientation:0}){super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new m.EventMultiplexer),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new _.DisposableStore),this.options=r,this.lookupKeybindings=typeof this.options.getKeyBinding=="function",this.toggleMenuAction=this._register(new s(()=>{var u;return(u=this.toggleMenuActionViewItem)===null||u===void 0?void 0:u.show()},r.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",n.appendChild(this.element),this.actionBar=this._register(new L.ActionBar(this.element,{orientation:r.orientation,ariaLabel:r.ariaLabel,actionRunner:r.actionRunner,allowContextMenu:r.allowContextMenu,highlightToggledItems:r.highlightToggledItems,actionViewItemProvider:(u,f)=>{var d;if(u.id===s.ID)return this.toggleMenuActionViewItem=new I.DropdownMenuActionViewItem(u,u.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:S.ThemeIcon.asClassNameArray((d=r.moreIcon)!==null&&d!==void 0?d:D.Codicon.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(r.actionViewItemProvider){const l=r.actionViewItemProvider(u,f);if(l)return l}if(u instanceof y.SubmenuAction){const l=new I.DropdownMenuActionViewItem(u,u.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:u.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry});return l.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(l),this.disposables.add(this._onDidChangeDropdownVisibility.add(l.onDidChangeVisibility)),l}}}))}set actionRunner(n){this.actionBar.actionRunner=n}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(n){return this.actionBar.getAction(n)}setActions(n,t){this.clear();const r=n?n.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),r.push(this.toggleMenuAction)),r.forEach(u=>{this.actionBar.push(u,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(u)})})}getKeybindingLabel(n){var t,r,u;const f=this.lookupKeybindings?(r=(t=this.options).getKeyBinding)===null||r===void 0?void 0:r.call(t,n):void 0;return(u=f?.getLabel())!==null&&u!==void 0?u:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),this.disposables.dispose(),super.dispose()}}e.ToolBar=C;class s extends y.Action{constructor(n,t){t=t||v.localize(0,null),super(s.ID,t,void 0,!0),this._menuActions=[],this.toggleDropdownMenu=n}run(){return be(this,void 0,void 0,function*(){this.toggleDropdownMenu()})}get menuActions(){return this._menuActions}set menuActions(n){this._menuActions=n}}e.ToggleMenuAction=s,s.ID="toolbar.toggle.more"}),define(te[182],ie([1,0,7,79,44,73,228,227,225,113,153,218,137,41,13,14,26,27,56,6,69,2,139,20,564,418]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractTree=e.TreeFindMatchType=e.TreeFindMode=e.FuzzyToggle=e.ModeToggle=e.RenderIndentGuides=e.ComposedTreeDelegate=void 0;class p extends _.ElementsDragAndDropData{constructor(H){super(H.elements.map(V=>V.element)),this.data=H}}function b(q){return q instanceof _.ElementsDragAndDropData?new p(q):q}class w{constructor(H,V){this.modelProvider=H,this.dnd=V,this.autoExpandDisposable=c.Disposable.None,this.disposables=new c.DisposableStore}getDragURI(H){return this.dnd.getDragURI(H.element)}getDragLabel(H,V){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(H.map(Z=>Z.element),V)}onDragStart(H,V){var Z,ee;(ee=(Z=this.dnd).onDragStart)===null||ee===void 0||ee.call(Z,b(H),V)}onDragOver(H,V,Z,ee,le=!0){const ue=this.dnd.onDragOver(b(H),V&&V.element,Z,ee),de=this.autoExpandNode!==V;if(de&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=V),typeof V>"u")return ue;if(de&&typeof ue!="boolean"&&ue.autoExpand&&(this.autoExpandDisposable=(0,r.disposableTimeout)(()=>{const z=this.modelProvider(),Q=z.getNodeLocation(V);z.isCollapsed(Q)&&z.setCollapsed(Q,!1),this.autoExpandNode=void 0},500,this.disposables)),typeof ue=="boolean"||!ue.accept||typeof ue.bubble>"u"||ue.feedback){if(!le){const z=typeof ue=="boolean"?ue:ue.accept,Q=typeof ue=="boolean"?void 0:ue.effect;return{accept:z,effect:Q,feedback:[Z]}}return ue}if(ue.bubble===1){const z=this.modelProvider(),Q=z.getNodeLocation(V),j=z.getParentNodeLocation(Q),re=z.getNode(j),oe=j&&z.getListIndex(j);return this.onDragOver(H,re,oe,ee,!1)}const ce=this.modelProvider(),ae=ce.getNodeLocation(V),X=ce.getListIndex(ae),K=ce.getListRenderCount(ae);return Object.assign(Object.assign({},ue),{feedback:(0,t.range)(X,X+K)})}drop(H,V,Z,ee){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(b(H),V&&V.element,Z,ee)}onDragEnd(H){var V,Z;(Z=(V=this.dnd).onDragEnd)===null||Z===void 0||Z.call(V,H)}dispose(){this.disposables.dispose(),this.dnd.dispose()}}function E(q,H){return H&&Object.assign(Object.assign({},H),{identityProvider:H.identityProvider&&{getId(V){return H.identityProvider.getId(V.element)}},dnd:H.dnd&&new w(q,H.dnd),multipleSelectionController:H.multipleSelectionController&&{isSelectionSingleChangeEvent(V){return H.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))},isSelectionRangeChangeEvent(V){return H.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},V),{element:V.element}))}},accessibilityProvider:H.accessibilityProvider&&Object.assign(Object.assign({},H.accessibilityProvider),{getSetSize(V){const Z=q(),ee=Z.getNodeLocation(V),le=Z.getParentNodeLocation(ee);return Z.getNode(le).visibleChildrenCount},getPosInSet(V){return V.visibleChildIndex+1},isChecked:H.accessibilityProvider&&H.accessibilityProvider.isChecked?V=>H.accessibilityProvider.isChecked(V.element):void 0,getRole:H.accessibilityProvider&&H.accessibilityProvider.getRole?V=>H.accessibilityProvider.getRole(V.element):()=>"treeitem",getAriaLabel(V){return H.accessibilityProvider.getAriaLabel(V.element)},getWidgetAriaLabel(){return H.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:H.accessibilityProvider&&H.accessibilityProvider.getWidgetRole?()=>H.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:H.accessibilityProvider&&H.accessibilityProvider.getAriaLevel?V=>H.accessibilityProvider.getAriaLevel(V.element):V=>V.depth,getActiveDescendantId:H.accessibilityProvider.getActiveDescendantId&&(V=>H.accessibilityProvider.getActiveDescendantId(V.element))}),keyboardNavigationLabelProvider:H.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},H.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(V){return H.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(V.element)}})})}class k{constructor(H){this.delegate=H}getHeight(H){return this.delegate.getHeight(H.element)}getTemplateId(H){return this.delegate.getTemplateId(H.element)}hasDynamicHeight(H){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(H.element)}setDynamicHeight(H,V){var Z,ee;(ee=(Z=this.delegate).setDynamicHeight)===null||ee===void 0||ee.call(Z,H.element,V)}}e.ComposedTreeDelegate=k;var M;(function(q){q.None="none",q.OnHover="onHover",q.Always="always"})(M||(e.RenderIndentGuides=M={}));class R{get elements(){return this._elements}constructor(H,V=[]){this._elements=V,this.disposables=new c.DisposableStore,this.onDidChange=l.Event.forEach(H,Z=>this._elements=Z,this.disposables)}dispose(){this.disposables.dispose()}}class B{constructor(H,V,Z,ee,le,ue={}){var de;this.renderer=H,this.modelProvider=V,this.activeNodes=ee,this.renderedIndentGuides=le,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=B.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=c.Disposable.None,this.disposables=new c.DisposableStore,this.templateId=H.templateId,this.updateOptions(ue),l.Event.map(Z,ce=>ce.node)(this.onDidChangeNodeTwistieState,this,this.disposables),(de=H.onDidChangeTwistieState)===null||de===void 0||de.call(H,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(H={}){if(typeof H.indent<"u"){const V=(0,a.clamp)(H.indent,0,40);if(V!==this.indent){this.indent=V;for(const[Z,ee]of this.renderedNodes)this.renderTreeElement(Z,ee)}}if(typeof H.renderIndentGuides<"u"){const V=H.renderIndentGuides!==M.None;if(V!==this.shouldRenderIndentGuides){this.shouldRenderIndentGuides=V;for(const[Z,ee]of this.renderedNodes)this._renderIndentGuides(Z,ee);if(this.indentGuidesDisposable.dispose(),V){const Z=new c.DisposableStore;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,Z),this.indentGuidesDisposable=Z,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}typeof H.hideTwistiesOfChildlessElements<"u"&&(this.hideTwistiesOfChildlessElements=H.hideTwistiesOfChildlessElements)}renderTemplate(H){const V=(0,L.append)(H,(0,L.$)(".monaco-tl-row")),Z=(0,L.append)(V,(0,L.$)(".monaco-tl-indent")),ee=(0,L.append)(V,(0,L.$)(".monaco-tl-twistie")),le=(0,L.append)(V,(0,L.$)(".monaco-tl-contents")),ue=this.renderer.renderTemplate(le);return{container:H,indent:Z,twistie:ee,indentGuidesDisposable:c.Disposable.None,templateData:ue}}renderElement(H,V,Z,ee){this.renderedNodes.set(H,Z),this.renderedElements.set(H.element,H),this.renderTreeElement(H,Z),this.renderer.renderElement(H,V,Z.templateData,ee)}disposeElement(H,V,Z,ee){var le,ue;Z.indentGuidesDisposable.dispose(),(ue=(le=this.renderer).disposeElement)===null||ue===void 0||ue.call(le,H,V,Z.templateData,ee),typeof ee=="number"&&(this.renderedNodes.delete(H),this.renderedElements.delete(H.element))}disposeTemplate(H){this.renderer.disposeTemplate(H.templateData)}onDidChangeTwistieState(H){const V=this.renderedElements.get(H);V&&this.onDidChangeNodeTwistieState(V)}onDidChangeNodeTwistieState(H){const V=this.renderedNodes.get(H);V&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(H,V))}renderTreeElement(H,V){const Z=B.DefaultIndent+(H.depth-1)*this.indent;V.twistie.style.paddingLeft=`${Z}px`,V.indent.style.width=`${Z+this.indent-16}px`,H.collapsible?V.container.setAttribute("aria-expanded",String(!H.collapsed)):V.container.removeAttribute("aria-expanded"),V.twistie.classList.remove(...f.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded));let ee=!1;this.renderer.renderTwistie&&(ee=this.renderer.renderTwistie(H.element,V.twistie)),H.collapsible&&(!this.hideTwistiesOfChildlessElements||H.visibleChildrenCount>0)?(ee||V.twistie.classList.add(...f.ThemeIcon.asClassNameArray(u.Codicon.treeItemExpanded)),V.twistie.classList.add("collapsible"),V.twistie.classList.toggle("collapsed",H.collapsed)):V.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(H,V)}_renderIndentGuides(H,V){if((0,L.clearNode)(V.indent),V.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const Z=new c.DisposableStore,ee=this.modelProvider();for(;;){const le=ee.getNodeLocation(H),ue=ee.getParentNodeLocation(le);if(!ue)break;const de=ee.getNode(ue),ce=(0,L.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(de)&&ce.classList.add("active"),V.indent.childElementCount===0?V.indent.appendChild(ce):V.indent.insertBefore(ce,V.indent.firstElementChild),this.renderedIndentGuides.add(de,ce),Z.add((0,c.toDisposable)(()=>this.renderedIndentGuides.delete(de,ce))),H=de}V.indentGuidesDisposable=Z}_onDidChangeActiveNodes(H){if(!this.shouldRenderIndentGuides)return;const V=new Set,Z=this.modelProvider();H.forEach(ee=>{const le=Z.getNodeLocation(ee);try{const ue=Z.getParentNodeLocation(le);ee.collapsible&&ee.children.length>0&&!ee.collapsed?V.add(ee):ue&&V.add(Z.getNode(ue))}catch{}}),this.activeIndentNodes.forEach(ee=>{V.has(ee)||this.renderedIndentGuides.forEach(ee,le=>le.classList.remove("active"))}),V.forEach(ee=>{this.activeIndentNodes.has(ee)||this.renderedIndentGuides.forEach(ee,le=>le.classList.add("active"))}),this.activeIndentNodes=V}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,c.dispose)(this.disposables)}}B.DefaultIndent=8;class T{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(H,V,Z){this.tree=H,this.keyboardNavigationLabelProvider=V,this._filter=Z,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new c.DisposableStore,H.onWillRefilter(this.reset,this,this.disposables)}filter(H,V){let Z=1;if(this._filter){const ue=this._filter.filter(H,V);if(typeof ue=="boolean"?Z=ue?1:0:(0,s.isFilterResult)(ue)?Z=(0,s.getVisibleState)(ue.visibility):Z=ue,Z===0)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:o.FuzzyScore.Default,visibility:Z};const ee=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(H),le=Array.isArray(ee)?ee:[ee];for(const ue of le){const de=ue&&ue.toString();if(typeof de>"u")return{data:o.FuzzyScore.Default,visibility:Z};let ce;if(this.tree.findMatchType===x.Contiguous){const ae=de.toLowerCase().indexOf(this._lowercasePattern);if(ae>-1){ce=[Number.MAX_SAFE_INTEGER,0];for(let X=this._lowercasePattern.length;X>0;X--)ce.push(ae+X-1)}}else ce=(0,o.fuzzyScore)(this._pattern,this._lowercasePattern,0,de,de.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(ce)return this._matchCount++,le.length===1?{data:ce,visibility:Z}:{data:{label:de,score:ce},visibility:Z}}return this.tree.findMode===O.Filter?typeof this.tree.options.defaultFindVisibility=="number"?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(H):2:{data:o.FuzzyScore.Default,visibility:Z}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,c.dispose)(this.disposables)}}class N extends C.Toggle{constructor(H){var V;super({icon:u.Codicon.listFilter,title:(0,h.localize)(0,null),isChecked:(V=H.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:H.inputActiveOptionBorder,inputActiveOptionForeground:H.inputActiveOptionForeground,inputActiveOptionBackground:H.inputActiveOptionBackground})}}e.ModeToggle=N;class A extends C.Toggle{constructor(H){var V;super({icon:u.Codicon.searchFuzzy,title:(0,h.localize)(1,null),isChecked:(V=H.isChecked)!==null&&V!==void 0?V:!1,inputActiveOptionBorder:H.inputActiveOptionBorder,inputActiveOptionForeground:H.inputActiveOptionForeground,inputActiveOptionBackground:H.inputActiveOptionBackground})}}e.FuzzyToggle=A;const P={inputBoxStyles:m.unthemedInboxStyles,toggleStyles:C.unthemedToggleStyles,listFilterWidgetBackground:void 0,listFilterWidgetNoMatchesOutline:void 0,listFilterWidgetOutline:void 0,listFilterWidgetShadow:void 0};var O;(function(q){q[q.Highlight=0]="Highlight",q[q.Filter=1]="Filter"})(O||(e.TreeFindMode=O={}));var x;(function(q){q[q.Fuzzy=0]="Fuzzy",q[q.Contiguous=1]="Contiguous"})(x||(e.TreeFindMatchType=x={}));class W extends c.Disposable{set mode(H){this.modeToggle.checked=H===O.Filter,this.findInput.inputBox.setPlaceHolder(H===O.Filter?(0,h.localize)(2,null):(0,h.localize)(3,null))}set matchType(H){this.matchTypeToggle.checked=H===x.Fuzzy}constructor(H,V,Z,ee,le,ue){var de;super(),this.tree=V,this.elements=(0,L.h)(".monaco-tree-type-filter",[(0,L.h)(".monaco-tree-type-filter-grab.codicon.codicon-debug-gripper@grab",{tabIndex:0}),(0,L.h)(".monaco-tree-type-filter-input@findInput"),(0,L.h)(".monaco-tree-type-filter-actionbar@actionbar")]),this.width=0,this.right=0,this.top=0,this._onDidDisable=new l.Emitter,H.appendChild(this.elements.root),this._register((0,c.toDisposable)(()=>H.removeChild(this.elements.root)));const ce=(de=ue?.styles)!==null&&de!==void 0?de:P;ce.listFilterWidgetBackground&&(this.elements.root.style.backgroundColor=ce.listFilterWidgetBackground),ce.listFilterWidgetShadow&&(this.elements.root.style.boxShadow=`0 0 8px 2px ${ce.listFilterWidgetShadow}`),this.modeToggle=this._register(new N(Object.assign(Object.assign({},ce.toggleStyles),{isChecked:ee===O.Filter}))),this.matchTypeToggle=this._register(new A(Object.assign(Object.assign({},ce.toggleStyles),{isChecked:le===x.Fuzzy}))),this.onDidChangeMode=l.Event.map(this.modeToggle.onChange,()=>this.modeToggle.checked?O.Filter:O.Highlight,this._store),this.onDidChangeMatchType=l.Event.map(this.matchTypeToggle.onChange,()=>this.matchTypeToggle.checked?x.Fuzzy:x.Contiguous,this._store),this.findInput=this._register(new S.FindInput(this.elements.findInput,Z,{label:(0,h.localize)(4,null),additionalToggles:[this.modeToggle,this.matchTypeToggle],showCommonFindToggles:!1,inputBoxStyles:ce.inputBoxStyles,toggleStyles:ce.toggleStyles,history:ue?.history})),this.actionbar=this._register(new D.ActionBar(this.elements.actionbar)),this.mode=ee;const ae=this._register(new I.DomEmitter(this.findInput.inputBox.inputElement,"keydown")),X=l.Event.chain(ae.event,j=>j.map(re=>new y.StandardKeyboardEvent(re)));this._register(X(j=>{if(j.equals(3)){j.preventDefault(),j.stopPropagation(),this.findInput.inputBox.addToHistory(),this.tree.domFocus();return}if(j.equals(18)){j.preventDefault(),j.stopPropagation(),this.findInput.inputBox.isAtLastInHistory()||this.findInput.inputBox.isNowhereInHistory()?(this.findInput.inputBox.addToHistory(),this.tree.domFocus()):this.findInput.inputBox.showNextValue();return}if(j.equals(16)){j.preventDefault(),j.stopPropagation(),this.findInput.inputBox.showPreviousValue();return}}));const K=this._register(new n.Action("close",(0,h.localize)(5,null),"codicon codicon-close",!0,()=>this.dispose()));this.actionbar.push(K,{icon:!0,label:!1});const z=this._register(new I.DomEmitter(this.elements.grab,"mousedown"));this._register(z.event(j=>{const re=new c.DisposableStore,oe=re.add(new I.DomEmitter(window,"mousemove")),he=re.add(new I.DomEmitter(window,"mouseup")),me=this.right,pe=j.pageX,ve=this.top,we=j.pageY;this.elements.grab.classList.add("grabbing");const Le=this.elements.root.style.transition;this.elements.root.style.transition="unset";const Ee=Ae=>{const Re=Ae.pageX-pe;this.right=me-Re;const Be=Ae.pageY-we;this.top=ve+Be,this.layout()};re.add(oe.event(Ee)),re.add(he.event(Ae=>{Ee(Ae),this.elements.grab.classList.remove("grabbing"),this.elements.root.style.transition=Le,re.dispose()}))}));const Q=l.Event.chain(this._register(new I.DomEmitter(this.elements.grab,"keydown")).event,j=>j.map(re=>new y.StandardKeyboardEvent(re)));this._register(Q(j=>{let re,oe;if(j.keyCode===15?re=Number.POSITIVE_INFINITY:j.keyCode===17?re=0:j.keyCode===10&&(re=this.right===0?Number.POSITIVE_INFINITY:0),j.keyCode===16?oe=0:j.keyCode===18&&(oe=Number.POSITIVE_INFINITY),re!==void 0&&(j.preventDefault(),j.stopPropagation(),this.right=re,this.layout()),oe!==void 0){j.preventDefault(),j.stopPropagation(),this.top=oe;const he=this.elements.root.style.transition;this.elements.root.style.transition="unset",this.layout(),setTimeout(()=>{this.elements.root.style.transition=he},0)}})),this.onDidChangeValue=this.findInput.onDidChange}layout(H=this.width){this.width=H,this.right=(0,a.clamp)(this.right,0,Math.max(0,H-212)),this.elements.root.style.right=`${this.right}px`,this.top=(0,a.clamp)(this.top,0,24),this.elements.root.style.top=`${this.top}px`}showMessage(H){this.findInput.showMessage(H)}clearMessage(){this.findInput.clearMessage()}dispose(){const H=Object.create(null,{dispose:{get:()=>super.dispose}});return be(this,void 0,void 0,function*(){this._onDidDisable.fire(),this.elements.root.classList.add("disabled"),yield(0,r.timeout)(300),H.dispose.call(this)})}}class U{get pattern(){return this._pattern}get mode(){return this._mode}set mode(H){H!==this._mode&&(this._mode=H,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(H))}get matchType(){return this._matchType}set matchType(H){H!==this._matchType&&(this._matchType=H,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(H))}constructor(H,V,Z,ee,le,ue={}){var de,ce;this.tree=H,this.view=Z,this.filter=ee,this.contextViewProvider=le,this.options=ue,this._pattern="",this.width=0,this._onDidChangeMode=new l.Emitter,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new l.Emitter,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new l.Emitter,this._onDidChangeOpenState=new l.Emitter,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new c.DisposableStore,this.disposables=new c.DisposableStore,this._mode=(de=H.options.defaultFindMode)!==null&&de!==void 0?de:O.Highlight,this._matchType=(ce=H.options.defaultFindMatchType)!==null&&ce!==void 0?ce:x.Fuzzy,V.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(H={}){H.defaultFindMode!==void 0&&(this.mode=H.defaultFindMode),H.defaultFindMatchType!==void 0&&(this.matchType=H.defaultFindMatchType)}onDidSpliceModel(){!this.widget||this.pattern.length===0||(this.tree.refilter(),this.render())}render(){var H,V,Z,ee;const le=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&le?!((H=this.tree.options.showNotFoundMessage)!==null&&H!==void 0)||H?(V=this.widget)===null||V===void 0||V.showMessage({type:2,content:(0,h.localize)(6,null)}):(Z=this.widget)===null||Z===void 0||Z.showMessage({type:2}):(ee=this.widget)===null||ee===void 0||ee.clearMessage()}shouldAllowFocus(H){return!this.widget||!this.pattern||this._mode===O.Filter||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!o.FuzzyScore.isDefault(H.filterData)}layout(H){var V;this.width=H,(V=this.widget)===null||V===void 0||V.layout(H)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function F(q){let H=i.TreeMouseEventTarget.Unknown;return(0,L.hasParentWithClass)(q.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?H=i.TreeMouseEventTarget.Twistie:(0,L.hasParentWithClass)(q.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?H=i.TreeMouseEventTarget.Element:(0,L.hasParentWithClass)(q.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(H=i.TreeMouseEventTarget.Filter),{browserEvent:q.browserEvent,element:q.element?q.element.element:null,target:H}}function G(q,H){H(q),q.children.forEach(V=>G(V,H))}class Y{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(H,V){this.getFirstViewElementWithTrait=H,this.identityProvider=V,this.nodes=[],this._onDidChange=new l.Emitter,this.onDidChange=this._onDidChange.event}set(H,V){!V?.__forceEvent&&(0,t.equals)(this.nodes,H)||this._set(H,!1,V)}_set(H,V,Z){if(this.nodes=[...H],this.elements=void 0,this._nodeSet=void 0,!V){const ee=this;this._onDidChange.fire({get elements(){return ee.get()},browserEvent:Z})}}get(){return this.elements||(this.elements=this.nodes.map(H=>H.element)),[...this.elements]}getNodes(){return this.nodes}has(H){return this.nodeSet.has(H)}onDidModelSplice({insertedNodes:H,deletedNodes:V}){if(!this.identityProvider){const ce=this.createNodeSet(),ae=X=>ce.delete(X);V.forEach(X=>G(X,ae)),this.set([...ce.values()]);return}const Z=new Set,ee=ce=>Z.add(this.identityProvider.getId(ce.element).toString());V.forEach(ce=>G(ce,ee));const le=new Map,ue=ce=>le.set(this.identityProvider.getId(ce.element).toString(),ce);H.forEach(ce=>G(ce,ue));const de=[];for(const ce of this.nodes){const ae=this.identityProvider.getId(ce.element).toString();if(!Z.has(ae))de.push(ce);else{const K=le.get(ae);K&&K.visible&&de.push(K)}}if(this.nodes.length>0&&de.length===0){const ce=this.getFirstViewElementWithTrait();ce&&de.push(ce)}this._set(de,!0)}createNodeSet(){const H=new Set;for(const V of this.nodes)H.add(V);return H}}class ne extends v.MouseController{constructor(H,V){super(H),this.tree=V}onViewPointer(H){if((0,v.isButton)(H.browserEvent.target)||(0,v.isInputElement)(H.browserEvent.target)||(0,v.isMonacoEditor)(H.browserEvent.target)||H.browserEvent.isHandledByList)return;const V=H.element;if(!V)return super.onViewPointer(H);if(this.isSelectionRangeChangeEvent(H)||this.isSelectionSingleChangeEvent(H))return super.onViewPointer(H);const Z=H.browserEvent.target,ee=Z.classList.contains("monaco-tl-twistie")||Z.classList.contains("monaco-icon-label")&&Z.classList.contains("folder-icon")&&H.browserEvent.offsetX<16;let le=!1;if(typeof this.tree.expandOnlyOnTwistieClick=="function"?le=this.tree.expandOnlyOnTwistieClick(V.element):le=!!this.tree.expandOnlyOnTwistieClick,le&&!ee&&H.browserEvent.detail!==2)return super.onViewPointer(H);if(!this.tree.expandOnDoubleClick&&H.browserEvent.detail===2)return super.onViewPointer(H);if(V.collapsible){const ue=this.tree.getNodeLocation(V),de=H.browserEvent.altKey;if(this.tree.setFocus([ue]),this.tree.toggleCollapsed(ue,de),le&&ee){H.browserEvent.isHandledByList=!0;return}}super.onViewPointer(H)}onDoubleClick(H){H.browserEvent.target.classList.contains("monaco-tl-twistie")||!this.tree.expandOnDoubleClick||H.browserEvent.isHandledByList||super.onDoubleClick(H)}}class se extends v.List{constructor(H,V,Z,ee,le,ue,de,ce){super(H,V,Z,ee,ce),this.focusTrait=le,this.selectionTrait=ue,this.anchorTrait=de}createMouseController(H){return new ne(this,H.tree)}splice(H,V,Z=[]){if(super.splice(H,V,Z),Z.length===0)return;const ee=[],le=[];let ue;Z.forEach((de,ce)=>{this.focusTrait.has(de)&&ee.push(H+ce),this.selectionTrait.has(de)&&le.push(H+ce),this.anchorTrait.has(de)&&(ue=H+ce)}),ee.length>0&&super.setFocus((0,t.distinct)([...super.getFocus(),...ee])),le.length>0&&super.setSelection((0,t.distinct)([...super.getSelection(),...le])),typeof ue=="number"&&super.setAnchor(ue)}setFocus(H,V,Z=!1){super.setFocus(H,V),Z||this.focusTrait.set(H.map(ee=>this.element(ee)),V)}setSelection(H,V,Z=!1){super.setSelection(H,V),Z||this.selectionTrait.set(H.map(ee=>this.element(ee)),V)}setAnchor(H,V=!1){super.setAnchor(H),V||(typeof H>"u"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(H)]))}}class J{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return l.Event.filter(l.Event.map(this.view.onMouseDblClick,F),H=>H.target!==i.TreeMouseEventTarget.Filter)}get onPointer(){return l.Event.map(this.view.onPointer,F)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return l.Event.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var H,V;return(V=(H=this.findController)===null||H===void 0?void 0:H.mode)!==null&&V!==void 0?V:O.Highlight}set findMode(H){this.findController&&(this.findController.mode=H)}get findMatchType(){var H,V;return(V=(H=this.findController)===null||H===void 0?void 0:H.matchType)!==null&&V!==void 0?V:x.Fuzzy}set findMatchType(H){this.findController&&(this.findController.matchType=H)}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick>"u"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick>"u"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(H,V,Z,ee,le={}){var ue;this._user=H,this._options=le,this.eventBufferer=new l.EventBufferer,this.onDidChangeFindOpenState=l.Event.None,this.disposables=new c.DisposableStore,this._onWillRefilter=new l.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new l.Emitter;const de=new k(Z),ce=new l.Relay,ae=new l.Relay,X=this.disposables.add(new R(ae.event)),K=new d.SetMap;this.renderers=ee.map(oe=>new B(oe,()=>this.model,ce.event,X,K,le));for(const oe of this.renderers)this.disposables.add(oe);let z;le.keyboardNavigationLabelProvider&&(z=new T(this,le.keyboardNavigationLabelProvider,le.filter),le=Object.assign(Object.assign({},le),{filter:z}),this.disposables.add(z)),this.focus=new Y(()=>this.view.getFocusedElements()[0],le.identityProvider),this.selection=new Y(()=>this.view.getSelectedElements()[0],le.identityProvider),this.anchor=new Y(()=>this.view.getAnchorElement(),le.identityProvider),this.view=new se(H,V,de,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},E(()=>this.model,le)),{tree:this})),this.model=this.createModel(H,this.view,le),ce.input=this.model.onDidChangeCollapseState;const Q=l.Event.forEach(this.model.onDidSplice,oe=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(oe),this.selection.onDidModelSplice(oe)})},this.disposables);Q(()=>null,null,this.disposables);const j=this.disposables.add(new l.Emitter),re=this.disposables.add(new r.Delayer(0));if(this.disposables.add(l.Event.any(Q,this.focus.onDidChange,this.selection.onDidChange)(()=>{re.trigger(()=>{const oe=new Set;for(const he of this.focus.getNodes())oe.add(he);for(const he of this.selection.getNodes())oe.add(he);j.fire([...oe.values()])})})),ae.input=j.event,le.keyboardSupport!==!1){const oe=l.Event.chain(this.view.onKeyDown,he=>he.filter(me=>!(0,v.isInputElement)(me.target)).map(me=>new y.StandardKeyboardEvent(me)));l.Event.chain(oe,he=>he.filter(me=>me.keyCode===15))(this.onLeftArrow,this,this.disposables),l.Event.chain(oe,he=>he.filter(me=>me.keyCode===17))(this.onRightArrow,this,this.disposables),l.Event.chain(oe,he=>he.filter(me=>me.keyCode===10))(this.onSpace,this,this.disposables)}if((!((ue=le.findWidgetEnabled)!==null&&ue!==void 0)||ue)&&le.keyboardNavigationLabelProvider&&le.contextViewProvider){const oe=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new U(this,this.model,this.view,z,le.contextViewProvider,oe),this.focusNavigationFilter=he=>this.findController.shouldAllowFocus(he),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=l.Event.None,this.onDidChangeFindMatchType=l.Event.None;this.styleElement=(0,L.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}updateOptions(H={}){var V;this._options=Object.assign(Object.assign({},this._options),H);for(const Z of this.renderers)Z.updateOptions(H);this.view.updateOptions(this._options),(V=this.findController)===null||V===void 0||V.updateOptions(H),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===M.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(H){this.view.scrollTop=H}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}domFocus(){this.view.domFocus()}layout(H,V){var Z;this.view.layout(H,V),(0,g.isNumber)(V)&&((Z=this.findController)===null||Z===void 0||Z.layout(V))}style(H){const V=`.${this.view.domId}`,Z=[];H.treeIndentGuidesStroke&&(Z.push(`.monaco-list${V}:hover .monaco-tl-indent > .indent-guide, .monaco-list${V}.always .monaco-tl-indent > .indent-guide { border-color: ${H.treeInactiveIndentGuidesStroke}; }`),Z.push(`.monaco-list${V} .monaco-tl-indent > .indent-guide.active { border-color: ${H.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=Z.join(` +`),this.view.style(H)}getParentElement(H){const V=this.model.getParentNodeLocation(H);return this.model.getNode(V).element}getFirstElementChild(H){return this.model.getFirstElementChild(H)}getNode(H){return this.model.getNode(H)}getNodeLocation(H){return this.model.getNodeLocation(H)}collapse(H,V=!1){return this.model.setCollapsed(H,!0,V)}expand(H,V=!1){return this.model.setCollapsed(H,!1,V)}toggleCollapsed(H,V=!1){return this.model.setCollapsed(H,void 0,V)}isCollapsible(H){return this.model.isCollapsible(H)}setCollapsible(H,V){return this.model.setCollapsible(H,V)}isCollapsed(H){return this.model.isCollapsed(H)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(H,V){const Z=H.map(le=>this.model.getNode(le));this.selection.set(Z,V);const ee=H.map(le=>this.model.getListIndex(le)).filter(le=>le>-1);this.view.setSelection(ee,V,!0)}getSelection(){return this.selection.get()}setFocus(H,V){const Z=H.map(le=>this.model.getNode(le));this.focus.set(Z,V);const ee=H.map(le=>this.model.getListIndex(le)).filter(le=>le>-1);this.view.setFocus(ee,V,!0)}getFocus(){return this.focus.get()}reveal(H,V){this.model.expandTo(H);const Z=this.model.getListIndex(H);Z!==-1&&this.view.reveal(Z,V)}onLeftArrow(H){H.preventDefault(),H.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Z=V[0],ee=this.model.getNodeLocation(Z);if(!this.model.setCollapsed(ee,!0)){const ue=this.model.getParentNodeLocation(ee);if(!ue)return;const de=this.model.getListIndex(ue);this.view.reveal(de),this.view.setFocus([de])}}onRightArrow(H){H.preventDefault(),H.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Z=V[0],ee=this.model.getNodeLocation(Z);if(!this.model.setCollapsed(ee,!1)){if(!Z.children.some(ce=>ce.visible))return;const[ue]=this.view.getFocus(),de=ue+1;this.view.reveal(de),this.view.setFocus([de])}}onSpace(H){H.preventDefault(),H.stopPropagation();const V=this.view.getFocusedElements();if(V.length===0)return;const Z=V[0],ee=this.model.getNodeLocation(Z),le=H.browserEvent.altKey;this.model.setCollapsed(ee,void 0,le)}dispose(){(0,c.dispose)(this.disposables),this.view.dispose()}}e.AbstractTree=J}),define(te[588],ie([1,0,182,219]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTree=void 0;class y extends L.AbstractTree{constructor(S,m,_,v,C,s={}){super(S,m,_,v,s),this.user=S,this.dataSource=C,this.identityProvider=s.identityProvider}createModel(S,m,_){return new I.ObjectTreeModel(S,m,_)}}e.DataTree=y}),define(te[321],ie([1,0,182,571,219,105,43]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTree=e.ObjectTree=void 0;class m extends L.AbstractTree{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(i,n,t,r,u={}){super(i,n,t,r,u),this.user=i}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}rerender(i){if(i===void 0){this.view.rerender();return}this.model.rerender(i)}hasElement(i){return this.model.has(i)}createModel(i,n,t){return new y.ObjectTreeModel(i,n,t)}}e.ObjectTree=m;class _{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(i,n){this._compressedTreeNodeProvider=i,this.renderer=n,this.templateId=n.templateId,n.onDidChangeTwistieState&&(this.onDidChangeTwistieState=n.onDidChangeTwistieState)}renderTemplate(i){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(i)}}renderElement(i,n,t,r){const u=this.compressedTreeNodeProvider.getCompressedTreeNode(i.element);u.element.elements.length===1?(t.compressedTreeNode=void 0,this.renderer.renderElement(i,n,t.data,r)):(t.compressedTreeNode=u,this.renderer.renderCompressedElements(u,n,t.data,r))}disposeElement(i,n,t,r){var u,f,d,l;t.compressedTreeNode?(f=(u=this.renderer).disposeCompressedElements)===null||f===void 0||f.call(u,t.compressedTreeNode,n,t.data,r):(l=(d=this.renderer).disposeElement)===null||l===void 0||l.call(d,i,n,t.data,r)}disposeTemplate(i){this.renderer.disposeTemplate(i.data)}renderTwistie(i,n){return this.renderer.renderTwistie?this.renderer.renderTwistie(i,n):!1}}Ie([D.memoize],_.prototype,"compressedTreeNodeProvider",null);function v(s,i){return i&&Object.assign(Object.assign({},i),{keyboardNavigationLabelProvider:i.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let t;try{t=s().getCompressedTreeNode(n)}catch{return i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return t.element.elements.length===1?i.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):i.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})}class C extends m{constructor(i,n,t,r,u={}){const f=()=>this,d=r.map(l=>new _(f,l));super(i,n,t,d,v(f,u))}setChildren(i,n=S.Iterable.empty(),t){this.model.setChildren(i,n,t)}createModel(i,n,t){return new I.CompressibleObjectTreeModel(i,n,t)}updateOptions(i={}){super.updateOptions(i),typeof i.compressionEnabled<"u"&&this.model.setCompressionEnabled(i.compressionEnabled)}getCompressedTreeNode(i=null){return this.model.getCompressedTreeNode(i)}}e.CompressibleObjectTree=C}),define(te[589],ie([1,0,225,182,218,321,137,14,26,27,9,6,43,2,20]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleAsyncDataTree=e.AsyncDataTree=void 0;function r(T){return Object.assign(Object.assign({},T),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function u(T,N){return N.parent?N.parent===T?!0:u(T,N.parent):!1}function f(T,N){return T===N||u(T,N)||u(N,T)}class d{get element(){return this.node.element.element}get children(){return this.node.children.map(N=>new d(N))}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}constructor(N){this.node=N}}class l{constructor(N,A,P){this.renderer=N,this.nodeMapper=A,this.onDidChangeTwistieState=P,this.renderedNodes=new Map,this.templateId=N.templateId}renderTemplate(N){return{templateData:this.renderer.renderTemplate(N)}}renderElement(N,A,P,O){this.renderer.renderElement(this.nodeMapper.map(N),A,P.templateData,O)}renderTwistie(N,A){return N.slow?(A.classList.add(...v.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(A.classList.remove(...v.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(N,A,P,O){var x,W;(W=(x=this.renderer).disposeElement)===null||W===void 0||W.call(x,this.nodeMapper.map(N),A,P.templateData,O)}disposeTemplate(N){this.renderer.disposeTemplate(N.templateData)}dispose(){this.renderedNodes.clear()}}function o(T){return{browserEvent:T.browserEvent,elements:T.elements.map(N=>N.element)}}function c(T){return{browserEvent:T.browserEvent,element:T.element&&T.element.element,target:T.target}}class a extends L.ElementsDragAndDropData{constructor(N){super(N.elements.map(A=>A.element)),this.data=N}}function g(T){return T instanceof L.ElementsDragAndDropData?new a(T):T}class h{constructor(N){this.dnd=N}getDragURI(N){return this.dnd.getDragURI(N.element)}getDragLabel(N,A){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(N.map(P=>P.element),A)}onDragStart(N,A){var P,O;(O=(P=this.dnd).onDragStart)===null||O===void 0||O.call(P,g(N),A)}onDragOver(N,A,P,O,x=!0){return this.dnd.onDragOver(g(N),A&&A.element,P,O)}drop(N,A,P,O){this.dnd.drop(g(N),A&&A.element,P,O)}onDragEnd(N){var A,P;(P=(A=this.dnd).onDragEnd)===null||P===void 0||P.call(A,N)}dispose(){this.dnd.dispose()}}function p(T){return T&&Object.assign(Object.assign({},T),{collapseByDefault:!0,identityProvider:T.identityProvider&&{getId(N){return T.identityProvider.getId(N.element)}},dnd:T.dnd&&new h(T.dnd),multipleSelectionController:T.multipleSelectionController&&{isSelectionSingleChangeEvent(N){return T.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},N),{element:N.element}))},isSelectionRangeChangeEvent(N){return T.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},N),{element:N.element}))}},accessibilityProvider:T.accessibilityProvider&&Object.assign(Object.assign({},T.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:T.accessibilityProvider.getRole?N=>T.accessibilityProvider.getRole(N.element):()=>"treeitem",isChecked:T.accessibilityProvider.isChecked?N=>{var A;return!!(!((A=T.accessibilityProvider)===null||A===void 0)&&A.isChecked(N.element))}:void 0,getAriaLabel(N){return T.accessibilityProvider.getAriaLabel(N.element)},getWidgetAriaLabel(){return T.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:T.accessibilityProvider.getWidgetRole?()=>T.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:T.accessibilityProvider.getAriaLevel&&(N=>T.accessibilityProvider.getAriaLevel(N.element)),getActiveDescendantId:T.accessibilityProvider.getActiveDescendantId&&(N=>T.accessibilityProvider.getActiveDescendantId(N.element))}),filter:T.filter&&{filter(N,A){return T.filter.filter(N.element,A)}},keyboardNavigationLabelProvider:T.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},T.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(N){return T.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(N.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof T.expandOnlyOnTwistieClick>"u"?void 0:typeof T.expandOnlyOnTwistieClick!="function"?T.expandOnlyOnTwistieClick:N=>T.expandOnlyOnTwistieClick(N.element),defaultFindVisibility:N=>N.hasChildren&&N.stale?1:typeof T.defaultFindVisibility=="number"?T.defaultFindVisibility:typeof T.defaultFindVisibility>"u"?2:T.defaultFindVisibility(N.element)})}function b(T,N){N(T),T.children.forEach(A=>b(A,N))}class w{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return s.Event.map(this.tree.onDidChangeFocus,o)}get onDidChangeSelection(){return s.Event.map(this.tree.onDidChangeSelection,o)}get onMouseDblClick(){return s.Event.map(this.tree.onMouseDblClick,c)}get onPointer(){return s.Event.map(this.tree.onPointer,c)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}constructor(N,A,P,O,x,W={}){this.user=N,this.dataSource=x,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new s.Emitter,this._onDidChangeNodeSlowState=new s.Emitter,this.nodeMapper=new S.WeakMapper(U=>new d(U)),this.disposables=new n.DisposableStore,this.identityProvider=W.identityProvider,this.autoExpandSingleChildren=typeof W.autoExpandSingleChildren>"u"?!1:W.autoExpandSingleChildren,this.sorter=W.sorter,this.collapseByDefault=W.collapseByDefault,this.tree=this.createTree(N,A,P,O,W),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=r({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(N,A,P,O,x){const W=new I.ComposedTreeDelegate(P),U=O.map(G=>new l(G,this.nodeMapper,this._onDidChangeNodeSlowState.event)),F=p(x)||{};return new D.ObjectTree(N,A,W,U,F)}updateOptions(N={}){this.tree.updateOptions(N)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(N){this.tree.scrollTop=N}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(N,A){this.tree.layout(N,A)}style(N){this.tree.style(N)}getInput(){return this.root.element}setInput(N,A){return be(this,void 0,void 0,function*(){this.refreshPromises.forEach(O=>O.cancel()),this.refreshPromises.clear(),this.root.element=N;const P=A&&{viewState:A,focus:[],selection:[]};yield this._updateChildren(N,!0,!1,P),P&&(this.tree.setFocus(P.focus),this.tree.setSelection(P.selection)),A&&typeof A.scrollTop=="number"&&(this.scrollTop=A.scrollTop)})}_updateChildren(N=this.root.element,A=!0,P=!1,O,x){return be(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const W=this.getDataNode(N);if(yield this.refreshAndRenderNode(W,A,O,x),P)try{this.tree.rerender(W)}catch{}})}rerender(N){if(N===void 0||N===this.root.element){this.tree.rerender();return}const A=this.getDataNode(N);this.tree.rerender(A)}getNode(N=this.root.element){const A=this.getDataNode(N),P=this.tree.getNode(A===this.root?null:A);return this.nodeMapper.map(P)}collapse(N,A=!1){const P=this.getDataNode(N);return this.tree.collapse(P===this.root?null:P,A)}expand(N,A=!1){return be(this,void 0,void 0,function*(){if(typeof this.root.element>"u")throw new S.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event));const P=this.getDataNode(N);if(this.tree.hasElement(P)&&!this.tree.isCollapsible(P)||(P.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),P!==this.root&&!P.refreshPromise&&!this.tree.isCollapsed(P)))return!1;const O=this.tree.expand(P===this.root?null:P,A);return P.refreshPromise&&(yield this.root.refreshPromise,yield s.Event.toPromise(this._onDidRender.event)),O})}setSelection(N,A){const P=N.map(O=>this.getDataNode(O));this.tree.setSelection(P,A)}getSelection(){return this.tree.getSelection().map(A=>A.element)}setFocus(N,A){const P=N.map(O=>this.getDataNode(O));this.tree.setFocus(P,A)}getFocus(){return this.tree.getFocus().map(A=>A.element)}reveal(N,A){this.tree.reveal(this.getDataNode(N),A)}getParentElement(N){const A=this.tree.getParentElement(this.getDataNode(N));return A&&A.element}getFirstElementChild(N=this.root.element){const A=this.getDataNode(N),P=this.tree.getFirstElementChild(A===this.root?null:A);return P&&P.element}getDataNode(N){const A=this.nodes.get(N===this.root.element?null:N);if(!A)throw new S.TreeError(this.user,`Data tree node not found: ${N}`);return A}refreshAndRenderNode(N,A,P,O){return be(this,void 0,void 0,function*(){yield this.refreshNode(N,A,P),this.render(N,P,O)})}refreshNode(N,A,P){return be(this,void 0,void 0,function*(){let O;if(this.subTreeRefreshPromises.forEach((x,W)=>{!O&&f(W,N)&&(O=x.then(()=>this.refreshNode(N,A,P)))}),O)return O;if(N!==this.root&&this.tree.getNode(N).collapsed){N.hasChildren=!!this.dataSource.hasChildren(N.element),N.stale=!0;return}return this.doRefreshSubTree(N,A,P)})}doRefreshSubTree(N,A,P){return be(this,void 0,void 0,function*(){let O;N.refreshPromise=new Promise(x=>O=x),this.subTreeRefreshPromises.set(N,N.refreshPromise),N.refreshPromise.finally(()=>{N.refreshPromise=void 0,this.subTreeRefreshPromises.delete(N)});try{const x=yield this.doRefreshNode(N,A,P);N.stale=!1,yield m.Promises.settled(x.map(W=>this.doRefreshSubTree(W,A,P)))}finally{O()}})}doRefreshNode(N,A,P){return be(this,void 0,void 0,function*(){N.hasChildren=!!this.dataSource.hasChildren(N.element);let O;if(!N.hasChildren)O=Promise.resolve(i.Iterable.empty());else{const x=this.doGetChildren(N);if((0,t.isIterable)(x))O=Promise.resolve(x);else{const W=(0,m.timeout)(800);W.then(()=>{N.slow=!0,this._onDidChangeNodeSlowState.fire(N)},U=>null),O=x.finally(()=>W.cancel())}}try{const x=yield O;return this.setChildren(N,x,A,P)}catch(x){if(N!==this.root&&this.tree.hasElement(N)&&this.tree.collapse(N),(0,C.isCancellationError)(x))return[];throw x}finally{N.slow&&(N.slow=!1,this._onDidChangeNodeSlowState.fire(N))}})}doGetChildren(N){let A=this.refreshPromises.get(N);if(A)return A;const P=this.dataSource.getChildren(N.element);return(0,t.isIterable)(P)?this.processChildren(P):(A=(0,m.createCancelablePromise)(()=>be(this,void 0,void 0,function*(){return this.processChildren(yield P)})),this.refreshPromises.set(N,A),A.finally(()=>{this.refreshPromises.delete(N)}))}_onDidChangeCollapseState({node:N,deep:A}){N.element!==null&&!N.collapsed&&N.element.stale&&(A?this.collapse(N.element.element):this.refreshAndRenderNode(N.element,!1).catch(C.onUnexpectedError))}setChildren(N,A,P,O){const x=[...A];if(N.children.length===0&&x.length===0)return[];const W=new Map,U=new Map;for(const Y of N.children)if(W.set(Y.element,Y),this.identityProvider){const ne=this.tree.isCollapsed(Y);U.set(Y.id,{node:Y,collapsed:ne})}const F=[],G=x.map(Y=>{const ne=!!this.dataSource.hasChildren(Y);if(!this.identityProvider){const H=r({element:Y,parent:N,hasChildren:ne});return ne&&this.collapseByDefault&&!this.collapseByDefault(Y)&&(H.collapsedByDefault=!1,F.push(H)),H}const se=this.identityProvider.getId(Y).toString(),J=U.get(se);if(J){const H=J.node;return W.delete(H.element),this.nodes.delete(H.element),this.nodes.set(Y,H),H.element=Y,H.hasChildren=ne,P?J.collapsed?(H.children.forEach(V=>b(V,Z=>this.nodes.delete(Z.element))),H.children.splice(0,H.children.length),H.stale=!0):F.push(H):ne&&this.collapseByDefault&&!this.collapseByDefault(Y)&&(H.collapsedByDefault=!1,F.push(H)),H}const q=r({element:Y,parent:N,id:se,hasChildren:ne});return O&&O.viewState.focus&&O.viewState.focus.indexOf(se)>-1&&O.focus.push(q),O&&O.viewState.selection&&O.viewState.selection.indexOf(se)>-1&&O.selection.push(q),O&&O.viewState.expanded&&O.viewState.expanded.indexOf(se)>-1?F.push(q):ne&&this.collapseByDefault&&!this.collapseByDefault(Y)&&(q.collapsedByDefault=!1,F.push(q)),q});for(const Y of W.values())b(Y,ne=>this.nodes.delete(ne.element));for(const Y of G)this.nodes.set(Y.element,Y);return N.children.splice(0,N.children.length,...G),N!==this.root&&this.autoExpandSingleChildren&&G.length===1&&F.length===0&&(G[0].collapsedByDefault=!1,F.push(G[0])),F}render(N,A,P){const O=N.children.map(W=>this.asTreeElement(W,A)),x=P&&Object.assign(Object.assign({},P),{diffIdentityProvider:P.diffIdentityProvider&&{getId(W){return P.diffIdentityProvider.getId(W.element)}}});this.tree.setChildren(N===this.root?null:N,O,x),N!==this.root&&this.tree.setCollapsible(N,N.hasChildren),this._onDidRender.fire()}asTreeElement(N,A){if(N.stale)return{element:N,collapsible:N.hasChildren,collapsed:!0};let P;return A&&A.viewState.expanded&&N.id&&A.viewState.expanded.indexOf(N.id)>-1?P=!1:P=N.collapsedByDefault,N.collapsedByDefault=void 0,{element:N,children:N.hasChildren?i.Iterable.map(N.children,O=>this.asTreeElement(O,A)):[],collapsible:N.hasChildren,collapsed:P}}processChildren(N){return this.sorter&&(N=[...N].sort(this.sorter.compare.bind(this.sorter))),N}dispose(){this.disposables.dispose(),this.tree.dispose()}}e.AsyncDataTree=w;class E{get element(){return{elements:this.node.element.elements.map(N=>N.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(N=>new E(N))}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}constructor(N){this.node=N}}class k{constructor(N,A,P,O){this.renderer=N,this.nodeMapper=A,this.compressibleNodeMapperProvider=P,this.onDidChangeTwistieState=O,this.renderedNodes=new Map,this.disposables=[],this.templateId=N.templateId}renderTemplate(N){return{templateData:this.renderer.renderTemplate(N)}}renderElement(N,A,P,O){this.renderer.renderElement(this.nodeMapper.map(N),A,P.templateData,O)}renderCompressedElements(N,A,P,O){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(N),A,P.templateData,O)}renderTwistie(N,A){return N.slow?(A.classList.add(...v.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!0):(A.classList.remove(...v.ThemeIcon.asClassNameArray(_.Codicon.treeItemLoading)),!1)}disposeElement(N,A,P,O){var x,W;(W=(x=this.renderer).disposeElement)===null||W===void 0||W.call(x,this.nodeMapper.map(N),A,P.templateData,O)}disposeCompressedElements(N,A,P,O){var x,W;(W=(x=this.renderer).disposeCompressedElements)===null||W===void 0||W.call(x,this.compressibleNodeMapperProvider().map(N),A,P.templateData,O)}disposeTemplate(N){this.renderer.disposeTemplate(N.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,n.dispose)(this.disposables)}}function M(T){const N=T&&p(T);return N&&Object.assign(Object.assign({},N),{keyboardNavigationLabelProvider:N.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},N.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(A){return T.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(A.map(P=>P.element))}})})}class R extends w{constructor(N,A,P,O,x,W,U={}){super(N,A,P,x,W,U),this.compressionDelegate=O,this.compressibleNodeMapper=new S.WeakMapper(F=>new E(F)),this.filter=U.filter}createTree(N,A,P,O,x){const W=new I.ComposedTreeDelegate(P),U=O.map(G=>new k(G,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),F=M(x)||{};return new D.CompressibleObjectTree(N,A,W,U,F)}asTreeElement(N,A){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(N.element)},super.asTreeElement(N,A))}updateOptions(N={}){this.tree.updateOptions(N)}render(N,A){if(!this.identityProvider)return super.render(N,A);const P=se=>this.identityProvider.getId(se).toString(),O=se=>{const J=new Set;for(const q of se){const H=this.tree.getCompressedTreeNode(q===this.root?null:q);if(H.element)for(const V of H.element.elements)J.add(P(V.element))}return J},x=O(this.tree.getSelection()),W=O(this.tree.getFocus());super.render(N,A);const U=this.getSelection();let F=!1;const G=this.getFocus();let Y=!1;const ne=se=>{const J=se.element;if(J)for(let q=0;q{const P=this.filter.filter(A,1),O=B(P);if(O===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return O===1})),super.processChildren(N)}}e.CompressibleAsyncDataTree=R;function B(T){return typeof T=="boolean"?T?1:0:(0,y.isFilterResult)(T)?(0,y.getVisibleState)(T.visibility):(0,y.getVisibleState)(T)}}),define(te[322],ie([1,0,9,6,2,52,17,10]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.SimpleWorkerServer=e.SimpleWorkerClient=e.logOnceWebWorkerWarning=void 0;const _="$initialize";let v=!1;function C(g){S.isWeb&&(v||(v=!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(g.message))}e.logOnceWebWorkerWarning=C;class s{constructor(h,p,b,w){this.vsWorker=h,this.req=p,this.method=b,this.args=w,this.type=0}}class i{constructor(h,p,b,w){this.vsWorker=h,this.seq=p,this.res=b,this.err=w,this.type=1}}class n{constructor(h,p,b,w){this.vsWorker=h,this.req=p,this.eventName=b,this.arg=w,this.type=2}}class t{constructor(h,p,b){this.vsWorker=h,this.req=p,this.event=b,this.type=3}}class r{constructor(h,p){this.vsWorker=h,this.req=p,this.type=4}}class u{constructor(h){this._workerId=-1,this._handler=h,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(h){this._workerId=h}sendMessage(h,p){const b=String(++this._lastSentReq);return new Promise((w,E)=>{this._pendingReplies[b]={resolve:w,reject:E},this._send(new s(this._workerId,b,h,p))})}listen(h,p){let b=null;const w=new I.Emitter({onWillAddFirstListener:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,w),this._send(new n(this._workerId,b,h,p))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(b),this._send(new r(this._workerId,b)),b=null}});return w.event}handleMessage(h){!h||!h.vsWorker||this._workerId!==-1&&h.vsWorker!==this._workerId||this._handleMessage(h)}_handleMessage(h){switch(h.type){case 1:return this._handleReplyMessage(h);case 0:return this._handleRequestMessage(h);case 2:return this._handleSubscribeEventMessage(h);case 3:return this._handleEventMessage(h);case 4:return this._handleUnsubscribeEventMessage(h)}}_handleReplyMessage(h){if(!this._pendingReplies[h.seq]){console.warn("Got reply to unknown seq");return}const p=this._pendingReplies[h.seq];if(delete this._pendingReplies[h.seq],h.err){let b=h.err;h.err.$isError&&(b=new Error,b.name=h.err.name,b.message=h.err.message,b.stack=h.err.stack),p.reject(b);return}p.resolve(h.res)}_handleRequestMessage(h){const p=h.req;this._handler.handleMessage(h.method,h.args).then(w=>{this._send(new i(this._workerId,p,w,void 0))},w=>{w.detail instanceof Error&&(w.detail=(0,L.transformErrorForSerialization)(w.detail)),this._send(new i(this._workerId,p,void 0,(0,L.transformErrorForSerialization)(w)))})}_handleSubscribeEventMessage(h){const p=h.req,b=this._handler.handleEvent(h.eventName,h.arg)(w=>{this._send(new t(this._workerId,p,w))});this._pendingEvents.set(p,b)}_handleEventMessage(h){if(!this._pendingEmitters.has(h.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(h.req).fire(h.event)}_handleUnsubscribeEventMessage(h){if(!this._pendingEvents.has(h.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(h.req).dispose(),this._pendingEvents.delete(h.req)}_send(h){const p=[];if(h.type===0)for(let b=0;b{this._protocol.handleMessage(T)},T=>{w?.(T)})),this._protocol=new u({sendMessage:(T,N)=>{this._worker.postMessage(T,N)},handleMessage:(T,N)=>{if(typeof b[T]!="function")return Promise.reject(new Error("Missing method "+T+" on main thread host."));try{return Promise.resolve(b[T].apply(b,N))}catch(A){return Promise.reject(A)}},handleEvent:(T,N)=>{if(l(T)){const A=b[T].call(b,N);if(typeof A!="function")throw new Error(`Missing dynamic event ${T} on main thread host.`);return A}if(d(T)){const A=b[T];if(typeof A!="function")throw new Error(`Missing event ${T} on main thread host.`);return A}throw new Error(`Malformed event name ${T}`)}}),this._protocol.setWorkerId(this._worker.getId());let E=null;const k=globalThis.require;typeof k<"u"&&typeof k.getConfig=="function"?E=k.getConfig():typeof globalThis.requirejs<"u"&&(E=globalThis.requirejs.s.contexts._.config);const M=(0,D.getAllMethodNames)(b);this._onModuleLoaded=this._protocol.sendMessage(_,[this._worker.getId(),JSON.parse(JSON.stringify(E)),p,M]);const R=(T,N)=>this._request(T,N),B=(T,N)=>this._protocol.listen(T,N);this._lazyProxy=new Promise((T,N)=>{w=N,this._onModuleLoaded.then(A=>{T(o(A,R,B))},A=>{N(A),this._onError("Worker failed to load "+p,A)})})}getProxyObject(){return this._lazyProxy}_request(h,p){return new Promise((b,w)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(h,p).then(b,w)},w)})}_onError(h,p){console.error(h),console.info(p)}}e.SimpleWorkerClient=f;function d(g){return g[0]==="o"&&g[1]==="n"&&m.isUpperAsciiLetter(g.charCodeAt(2))}function l(g){return/^onDynamic/.test(g)&&m.isUpperAsciiLetter(g.charCodeAt(9))}function o(g,h,p){const b=k=>function(){const M=Array.prototype.slice.call(arguments,0);return h(k,M)},w=k=>function(M){return p(k,M)},E={};for(const k of g){if(l(k)){E[k]=w(k);continue}if(d(k)){E[k]=p(k,void 0);continue}E[k]=b(k)}return E}class c{constructor(h,p){this._requestHandlerFactory=p,this._requestHandler=null,this._protocol=new u({sendMessage:(b,w)=>{h(b,w)},handleMessage:(b,w)=>this._handleMessage(b,w),handleEvent:(b,w)=>this._handleEvent(b,w)})}onmessage(h){this._protocol.handleMessage(h)}_handleMessage(h,p){if(h===_)return this.initialize(p[0],p[1],p[2],p[3]);if(!this._requestHandler||typeof this._requestHandler[h]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+h));try{return Promise.resolve(this._requestHandler[h].apply(this._requestHandler,p))}catch(b){return Promise.reject(b)}}_handleEvent(h,p){if(!this._requestHandler)throw new Error("Missing requestHandler");if(l(h)){const b=this._requestHandler[h].call(this._requestHandler,p);if(typeof b!="function")throw new Error(`Missing dynamic event ${h} on request handler.`);return b}if(d(h)){const b=this._requestHandler[h];if(typeof b!="function")throw new Error(`Missing event ${h} on request handler.`);return b}throw new Error(`Malformed event name ${h}`)}initialize(h,p,b,w){this._protocol.setWorkerId(h);const M=o(w,(R,B)=>this._protocol.sendMessage(R,B),(R,B)=>this._protocol.listen(R,B));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(M),Promise.resolve((0,D.getAllMethodNames)(this._requestHandler))):(p&&(typeof p.baseUrl<"u"&&delete p.baseUrl,typeof p.paths<"u"&&typeof p.paths.vs<"u"&&delete p.paths.vs,typeof p.trustedTypesPolicy!==void 0&&delete p.trustedTypesPolicy,p.catchError=!0,globalThis.require.config(p)),new Promise((R,B)=>{(globalThis.require||$)([b],N=>{if(this._requestHandler=N.create(M),!this._requestHandler){B(new Error("No RequestHandler!"));return}R((0,D.getAllMethodNames)(this._requestHandler))},B)}))}}e.SimpleWorkerServer=c;function a(g){return new c(g,null)}e.create=a}),define(te[590],ie([1,0,90,9,54,322]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultWorkerFactory=e.getWorkerBootstrapUrl=void 0;const S=(0,L.createTrustedTypesPolicy)("defaultWorkerFactory",{createScriptURL:i=>i});function m(i){const n=globalThis.MonacoEnvironment;if(n){if(typeof n.getWorker=="function")return n.getWorker("workerMain.js",i);if(typeof n.getWorkerUrl=="function"){const t=n.getWorkerUrl("workerMain.js",i);return new Worker(S?S.createScriptURL(t):t,{name:i})}}if(typeof $=="function"){const t=$.toUrl("vs/base/worker/workerMain.js"),r=_(t,i);return new Worker(S?S.createScriptURL(r):r,{name:i})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function _(i,n){if(/^((http:)|(https:)|(file:))/.test(i)&&i.substring(0,globalThis.origin.length)!==globalThis.origin){const d="vs/base/worker/defaultWorkerFactory.js",l=$.toUrl(d).slice(0,-d.length),o=`/*${n}*/globalThis.MonacoEnvironment={baseUrl: '${l}'};const ttPolicy = globalThis.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });importScripts(ttPolicy?.createScriptURL('${i}') ?? '${i}');/*${n}*/`,c=new Blob([o],{type:"application/javascript"});return URL.createObjectURL(c)}const t=i.lastIndexOf("?"),r=i.lastIndexOf("#",t),u=t>0?new URLSearchParams(i.substring(t+1,~r?r:void 0)):new URLSearchParams;return y.COI.addSearchParam(u,!0,!0),u.toString()?`${i}?${u.toString()}#${n}`:`${i}#${n}`}e.getWorkerBootstrapUrl=_;function v(i){return typeof i.then=="function"}class C{constructor(n,t,r,u,f){this.id=t,this.label=r;const d=m(r);v(d)?this.worker=d:this.worker=Promise.resolve(d),this.postMessage(n,[]),this.worker.then(l=>{l.onmessage=function(o){u(o.data)},l.onmessageerror=f,typeof l.addEventListener=="function"&&l.addEventListener("error",f)})}getId(){return this.id}postMessage(n,t){var r;(r=this.worker)===null||r===void 0||r.then(u=>{try{u.postMessage(n,t)}catch(f){(0,I.onUnexpectedError)(f),(0,I.onUnexpectedError)(new Error(`FAILED to post message to '${this.label}'-worker`,{cause:f}))}})}dispose(){var n;(n=this.worker)===null||n===void 0||n.then(t=>t.terminate()),this.worker=null}}class s{constructor(n){this._label=n,this._webWorkerFailedBeforeError=!1}create(n,t,r){const u=++s.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new C(n,u,this._label||"anonymous"+u,t,f=>{(0,D.logOnceWebWorkerWarning)(f),this._webWorkerFailedBeforeError=f,r(f)})}}e.DefaultWorkerFactory=s,s.LAST_WORKER_ID=0}),define(te[591],ie([1,0,14,6,2,221,20]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageDatabase=e.Storage=e.StorageState=e.StorageHint=void 0;var m;(function(s){s[s.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",s[s.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY"})(m||(e.StorageHint=m={}));var _;(function(s){s[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed"})(_||(e.StorageState=_={}));class v extends y.Disposable{constructor(i,n=Object.create(null)){super(),this.database=i,this.options=n,this._onDidChangeStorage=this._register(new I.PauseableEmitter),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=_.None,this.cache=new Map,this.flushDelayer=this._register(new L.ThrottledDelayer(v.DEFAULT_FLUSH_DELAY)),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(i=>this.onDidChangeItemsExternal(i)))}onDidChangeItemsExternal(i){var n,t;this._onDidChangeStorage.pause();try{(n=i.changed)===null||n===void 0||n.forEach((r,u)=>this.acceptExternal(u,r)),(t=i.deleted)===null||t===void 0||t.forEach(r=>this.acceptExternal(r,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(i,n){if(this.state===_.Closed)return;let t=!1;(0,S.isUndefinedOrNull)(n)?t=this.cache.delete(i):this.cache.get(i)!==n&&(this.cache.set(i,n),t=!0),t&&this._onDidChangeStorage.fire({key:i,external:!0})}get(i,n){const t=this.cache.get(i);return(0,S.isUndefinedOrNull)(t)?n:t}getBoolean(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:t==="true"}getNumber(i,n){const t=this.get(i);return(0,S.isUndefinedOrNull)(t)?n:parseInt(t,10)}set(i,n,t=!1){return be(this,void 0,void 0,function*(){if(this.state===_.Closed)return;if((0,S.isUndefinedOrNull)(n))return this.delete(i,t);const r=(0,S.isObject)(n)||Array.isArray(n)?(0,D.stringify)(n):String(n);if(this.cache.get(i)!==r)return this.cache.set(i,r),this.pendingInserts.set(i,r),this.pendingDeletes.delete(i),this._onDidChangeStorage.fire({key:i,external:t}),this.doFlush()})}delete(i,n=!1){return be(this,void 0,void 0,function*(){if(!(this.state===_.Closed||!this.cache.delete(i)))return this.pendingDeletes.has(i)||this.pendingDeletes.add(i),this.pendingInserts.delete(i),this._onDidChangeStorage.fire({key:i,external:n}),this.doFlush()})}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return be(this,void 0,void 0,function*(){if(!this.hasPending)return;const i={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(i).finally(()=>{var n;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(n=this.whenFlushedCallbacks.pop())===null||n===void 0||n()})})}doFlush(i){return be(this,void 0,void 0,function*(){return this.options.hint===m.STORAGE_IN_MEMORY?this.flushPending():this.flushDelayer.trigger(()=>this.flushPending(),i)})}}e.Storage=v,v.DEFAULT_FLUSH_DELAY=100;class C{constructor(){this.onDidChangeItemsExternal=I.Event.None,this.items=new Map}updateItems(i){var n,t;return be(this,void 0,void 0,function*(){(n=i.insert)===null||n===void 0||n.forEach((r,u)=>this.items.set(u,r)),(t=i.delete)===null||t===void 0||t.forEach(r=>this.items.delete(r))})}}e.InMemoryStorageDatabase=C}),define(te[183],ie([1,0,51,7,79,44,258,14,6,2,107,10,273,24]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaWrapper=e.ClipboardEventUtils=e.TextAreaInput=e.InMemoryClipboardMetadataManager=e.CopyOptions=e.TextAreaSyntethicEvents=void 0;var t;(function(l){l.Tap="-monaco-textarea-synthetic-tap"})(t||(e.TextAreaSyntethicEvents=t={})),e.CopyOptions={forceCopyWithSyntaxHighlighting:!1};class r{constructor(){this._lastState=null}set(o,c){this._lastState={lastCopiedValue:o,data:c}}get(o){return this._lastState&&this._lastState.lastCopiedValue===o?this._lastState.data:(this._lastState=null,null)}}e.InMemoryClipboardMetadataManager=r,r.INSTANCE=new r;class u{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(o){o=o||"";const c={text:o,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=o.length,c}}class f extends v.Disposable{get textAreaState(){return this._textAreaState}constructor(o,c,a,g){super(),this._host=o,this._textArea=c,this._OS=a,this._browser=g,this._onFocus=this._register(new _.Emitter),this.onFocus=this._onFocus.event,this._onBlur=this._register(new _.Emitter),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new _.Emitter),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new _.Emitter),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new _.Emitter),this.onCut=this._onCut.event,this._onPaste=this._register(new _.Emitter),this.onPaste=this._onPaste.event,this._onType=this._register(new _.Emitter),this.onType=this._onType.event,this._onCompositionStart=this._register(new _.Emitter),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new _.Emitter),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new _.Emitter),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new _.Emitter),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new m.RunOnceScheduler(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new m.RunOnceScheduler(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=i.TextAreaState.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let h=null;this._register(this._textArea.onKeyDown(p=>{const b=new D.StandardKeyboardEvent(p);(b.keyCode===114||this._currentComposition&&b.keyCode===1)&&b.stopPropagation(),b.equals(9)&&b.preventDefault(),h=b,this._onKeyDown.fire(b)})),this._register(this._textArea.onKeyUp(p=>{const b=new D.StandardKeyboardEvent(p);this._onKeyUp.fire(b)})),this._register(this._textArea.onCompositionStart(p=>{i._debugComposition&&console.log("[compositionstart]",p);const b=new u;if(this._currentComposition){this._currentComposition=b;return}if(this._currentComposition=b,this._OS===2&&h&&h.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===p.data&&(h.code==="ArrowRight"||h.code==="ArrowLeft")){i._debugComposition&&console.log("[compositionstart] Handling long press case on macOS + arrow key",p),b.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:p.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:p.data});return}this._onCompositionStart.fire({data:p.data})})),this._register(this._textArea.onCompositionUpdate(p=>{i._debugComposition&&console.log("[compositionupdate]",p);const b=this._currentComposition;if(!b)return;if(this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),k=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(k),this._onCompositionUpdate.fire(p);return}const w=b.handleCompositionUpdate(p.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionUpdate.fire(p)})),this._register(this._textArea.onCompositionEnd(p=>{i._debugComposition&&console.log("[compositionend]",p);const b=this._currentComposition;if(!b)return;if(this._currentComposition=null,this._browser.isAndroid){const E=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),k=i.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,E);this._textAreaState=E,this._onType.fire(k),this._onCompositionEnd.fire();return}const w=b.handleCompositionUpdate(p.data);this._textAreaState=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(w),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(p=>{if(i._debugComposition&&console.log("[input]",p),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const b=i.TextAreaState.readFromTextArea(this._textArea,this._textAreaState),w=i.TextAreaState.deduceInput(this._textAreaState,b,this._OS===2);w.replacePrevCharCnt===0&&w.text.length===1&&(s.isHighSurrogate(w.text.charCodeAt(0))||w.text.charCodeAt(0)===127)||(this._textAreaState=b,(w.text!==""||w.replacePrevCharCnt!==0||w.replaceNextCharCnt!==0||w.positionDelta!==0)&&this._onType.fire(w))})),this._register(this._textArea.onCut(p=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(p),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(p=>{this._ensureClipboardGetsEditorSelection(p)})),this._register(this._textArea.onPaste(p=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),p.preventDefault(),!p.clipboardData)return;let[b,w]=e.ClipboardEventUtils.getTextData(p.clipboardData);b&&(w=w||r.INSTANCE.get(b),this._onPaste.fire({text:b,metadata:w}))})),this._register(this._textArea.onFocus(()=>{const p=this._hasFocus;this._setHasFocus(!0),this._browser.isSafari&&!p&&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 o=0;return I.addDisposableListener(this._textArea.ownerDocument,"selectionchange",c=>{if(S.inputLatency.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const a=Date.now(),g=a-o;if(o=a,g<5)return;const h=a-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),h<100||!this._textAreaState.selection)return;const p=this._textArea.getValue();if(this._textAreaState.value!==p)return;const b=this._textArea.getSelectionStart(),w=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===b&&this._textAreaState.selectionEnd===w)return;const E=this._textAreaState.deduceEditorPosition(b),k=this._host.deduceModelPosition(E[0],E[1],E[2]),M=this._textAreaState.deduceEditorPosition(w),R=this._host.deduceModelPosition(M[0],M[1],M[2]),B=new n.Selection(k.lineNumber,k.column,R.lineNumber,R.column);this._onSelectionChangeRequest.fire(B)})}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(o){this._hasFocus!==o&&(this._hasFocus=o,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(o,c){this._hasFocus||(c=c.collapseSelection()),c.writeToTextArea(o,this._textArea,this._hasFocus),this._textAreaState=c}writeScreenReaderContent(o){this._currentComposition||this._setAndWriteTextAreaState(o,this._host.getScreenReaderContent())}_ensureClipboardGetsEditorSelection(o){const c=this._host.getDataToCopy(),a={version:1,isFromEmptySelection:c.isFromEmptySelection,multicursorText:c.multicursorText,mode:c.mode};r.INSTANCE.set(this._browser.isFirefox?c.text.replace(/\r\n/g,` +`):c.text,a),o.preventDefault(),o.clipboardData&&e.ClipboardEventUtils.setTextData(o.clipboardData,c.text,c.html,a)}}e.TextAreaInput=f,e.ClipboardEventUtils={getTextData(l){const o=l.getData(C.Mimes.text);let c=null;const a=l.getData("vscode-editor-data");if(typeof a=="string")try{c=JSON.parse(a),c.version!==1&&(c=null)}catch{}return o.length===0&&c===null&&l.files.length>0?[Array.prototype.slice.call(l.files,0).map(h=>h.name).join(` +`),null]:[o,c]},setTextData(l,o,c,a){l.setData(C.Mimes.text,o),typeof c=="string"&&l.setData("text/html",c),l.setData("vscode-editor-data",JSON.stringify(a))}};class d extends v.Disposable{get ownerDocument(){return this._actual.ownerDocument}constructor(o){super(),this._actual=o,this.onKeyDown=this._register(new y.DomEmitter(this._actual,"keydown")).event,this.onKeyUp=this._register(new y.DomEmitter(this._actual,"keyup")).event,this.onCompositionStart=this._register(new y.DomEmitter(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new y.DomEmitter(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new y.DomEmitter(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new y.DomEmitter(this._actual,"beforeinput")).event,this.onInput=this._register(new y.DomEmitter(this._actual,"input")).event,this.onCut=this._register(new y.DomEmitter(this._actual,"cut")).event,this.onCopy=this._register(new y.DomEmitter(this._actual,"copy")).event,this.onPaste=this._register(new y.DomEmitter(this._actual,"paste")).event,this.onFocus=this._register(new y.DomEmitter(this._actual,"focus")).event,this.onBlur=this._register(new y.DomEmitter(this._actual,"blur")).event,this._onSyntheticTap=this._register(new _.Emitter),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>S.inputLatency.onKeyDown())),this._register(this.onBeforeInput(()=>S.inputLatency.onBeforeInput())),this._register(this.onInput(()=>S.inputLatency.onInput())),this._register(this.onKeyUp(()=>S.inputLatency.onKeyUp())),this._register(I.addDisposableListener(this._actual,t.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const o=I.getShadowRoot(this._actual);return o?o.activeElement===this._actual:I.isInDOM(this._actual)?this._actual.ownerDocument.activeElement===this._actual:!1}setIgnoreSelectionChangeTime(o){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(o,c){const a=this._actual;a.value!==c&&(this.setIgnoreSelectionChangeTime("setValue"),a.value=c)}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(o,c,a){const g=this._actual;let h=null;const p=I.getShadowRoot(g);p?h=p.activeElement:h=g.ownerDocument.activeElement;const b=h===g,w=g.selectionStart,E=g.selectionEnd;if(b&&w===c&&E===a){L.isFirefox&&window.parent!==window&&g.focus();return}if(b){this.setIgnoreSelectionChangeTime("setSelectionRange"),g.setSelectionRange(c,a),L.isFirefox&&window.parent!==window&&g.focus();return}try{const k=I.saveParentsScrollTop(g);this.setIgnoreSelectionChangeTime("setSelectionRange"),g.focus(),g.setSelectionRange(c,a),I.restoreParentsScrollTop(g,k)}catch{}}}e.TextAreaWrapper=d}),define(te[592],ie([1,0,7,38,53]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewContentWidgets=void 0;class D extends y.ViewPart{constructor(i,n){super(i),this._viewDomNode=n,this._widgets={},this.domNode=(0,I.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,I.createFastDomNode)(document.createElement("div")),y.PartFingerprints.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onConfigurationChanged(i);return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLineMappingChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesChanged(i){return this._updateAnchorsViewPositions(),!0}onLinesDeleted(i){return this._updateAnchorsViewPositions(),!0}onLinesInserted(i){return this._updateAnchorsViewPositions(),!0}onScrollChanged(i){return!0}onZonesChanged(i){return!0}_updateAnchorsViewPositions(){const i=Object.keys(this._widgets);for(const n of i)this._widgets[n].updateAnchorViewPosition()}addWidget(i){const n=new S(this._context,this._viewDomNode,i);this._widgets[n.id]=n,n.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(n.domNode):this.domNode.appendChild(n.domNode),this.setShouldRender()}setWidgetPosition(i,n,t,r,u){this._widgets[i.getId()].setPosition(n,t,r,u),this.setShouldRender()}removeWidget(i){const n=i.getId();if(this._widgets.hasOwnProperty(n)){const t=this._widgets[n];delete this._widgets[n];const r=t.domNode.domNode;r.parentNode.removeChild(r),r.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(i){return this._widgets.hasOwnProperty(i)?this._widgets[i].suppressMouseDown:!1}onBeforeRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].onBeforeRender(i)}prepareRender(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].prepareRender(i)}render(i){const n=Object.keys(this._widgets);for(const t of n)this._widgets[t].render(i)}}e.ViewContentWidgets=D;class S{constructor(i,n,t){this._primaryAnchor=new m(null,null),this._secondaryAnchor=new m(null,null),this._context=i,this._viewDomNode=n,this._actual=t,this.domNode=(0,I.createFastDomNode)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const r=this._context.configuration.options,u=r.get(143);this._fixedOverflowWidgets=r.get(42),this._contentWidth=u.contentWidth,this._contentLeft=u.contentLeft,this._lineHeight=r.get(66),this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(i){const n=this._context.configuration.options;if(this._lineHeight=n.get(66),i.hasChanged(143)){const t=n.get(143);this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._maxWidth=this._getMaxWidth()}}updateAnchorViewPosition(){this._setPosition(this._affinity,this._primaryAnchor.modelPosition,this._secondaryAnchor.modelPosition)}_setPosition(i,n,t){this._affinity=i,this._primaryAnchor=r(n,this._context.viewModel,this._affinity),this._secondaryAnchor=r(t,this._context.viewModel,this._affinity);function r(u,f,d){if(!u)return new m(null,null);const l=f.model.validatePosition(u);if(f.coordinatesConverter.modelPositionIsVisible(l)){const o=f.coordinatesConverter.convertModelPositionToViewPosition(l,d??void 0);return new m(u,o)}return new m(u,null)}}_getMaxWidth(){const i=this.domNode.domNode.ownerDocument,n=i.defaultView;return this.allowEditorOverflow?n?.innerWidth||i.documentElement.offsetWidth||i.body.offsetWidth:this._contentWidth}setPosition(i,n,t,r){this._setPosition(r,i,n),this._preference=t,this._primaryAnchor.viewPosition&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(i,n,t,r){const u=i.top,f=u,d=i.top+i.height,l=r.viewportHeight-d,o=u-t,c=f>=t,a=d,g=l>=t;let h=i.left;return h+n>r.scrollLeft+r.viewportWidth&&(h=r.scrollLeft+r.viewportWidth-n),ho){const h=g-(o-r);g-=h,t-=h}if(g=E,R=h+t<=p.height-k;return this._fixedOverflowWidgets?{fitsAbove:M,aboveTop:Math.max(g,E),fitsBelow:R,belowTop:h,left:w}:{fitsAbove:M,aboveTop:d,fitsBelow:R,belowTop:l,left:b}}_prepareRenderWidgetAtExactPositionOverflowing(i){return new _(i.top,i.left+this._contentLeft)}_getAnchorsCoordinates(i){var n,t;const r=d(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),u=((n=this._secondaryAnchor.viewPosition)===null||n===void 0?void 0:n.lineNumber)===((t=this._primaryAnchor.viewPosition)===null||t===void 0?void 0:t.lineNumber)?this._secondaryAnchor.viewPosition:null,f=d(u,this._affinity,this._lineHeight);return{primary:r,secondary:f};function d(l,o,c){if(!l)return null;const a=i.visibleRangeForPosition(l);if(!a)return null;const g=l.column===1&&o===3?0:a.left,h=i.getVerticalOffsetForLineNumber(l.lineNumber)-i.scrollTop;return new v(h,g,c)}}_reduceAnchorCoordinates(i,n,t){if(!n)return i;const r=this._context.configuration.options.get(50);let u=n.left;return ui.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}prepareRender(i){this._renderData=this._prepareRenderWidget(i)}render(i){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+i.scrollTop-i.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),typeof this._actual.afterRender=="function"&&C(this._actual.afterRender,this._actual,this._renderData.position)}}class m{constructor(i,n){this.modelPosition=i,this.viewPosition=n}}class _{constructor(i,n){this.top=i,this.left=n,this._coordinateBrand=void 0}}class v{constructor(i,n,t){this.top=i,this.left=n,this.height=t,this._anchorCoordinateBrand=void 0}}function C(s,i,...n){try{return s.call(i,...n)}catch{return null}}}),define(te[593],ie([1,0,14,9,2]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeEditorContributions=void 0;class D extends y.Disposable{constructor(){super(),this._editor=null,this._instantiationService=null,this._instances=this._register(new y.DisposableMap),this._pending=new Map,this._finishedInstantiation=[],this._finishedInstantiation[0]=!1,this._finishedInstantiation[1]=!1,this._finishedInstantiation[2]=!1,this._finishedInstantiation[3]=!1}initialize(m,_,v){this._editor=m,this._instantiationService=v;for(const C of _){if(this._pending.has(C.id)){(0,I.onUnexpectedError)(new Error(`Cannot have two contributions with the same id ${C.id}`));continue}this._pending.set(C.id,C)}this._instantiateSome(0),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(1)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(2)})),this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(3)},5e3))}saveViewState(){const m={};for(const[_,v]of this._instances)typeof v.saveViewState=="function"&&(m[_]=v.saveViewState());return m}restoreViewState(m){for(const[_,v]of this._instances)typeof v.restoreViewState=="function"&&v.restoreViewState(m[_])}get(m){return this._instantiateById(m),this._instances.get(m)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){this._register((0,L.runWhenIdle)(()=>{this._instantiateSome(1)},50))}_instantiateSome(m){if(this._finishedInstantiation[m])return;this._finishedInstantiation[m]=!0;const _=this._findPendingContributionsByInstantiation(m);for(const v of _)this._instantiateById(v.id)}_findPendingContributionsByInstantiation(m){const _=[];for(const[,v]of this._pending)v.instantiation===m&&_.push(v);return _}_instantiateById(m){const _=this._pending.get(m);if(_){if(this._pending.delete(m),!this._instantiationService||!this._editor)throw new Error("Cannot instantiate contributions before being initialized!");try{const v=this._instantiationService.createInstance(_.ctor,this._editor);this._instances.set(_.id,v),typeof v.restoreViewState=="function"&&_.instantiation!==0&&console.warn(`Editor contribution '${_.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(v){(0,I.onUnexpectedError)(v)}}}}e.CodeEditorContributions=D}),define(te[594],ie([1,0,152,2,40]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorSash=void 0;class D extends I.Disposable{constructor(m,_,v){super(),this._options=m,this._domNode=_,this._dimensions=v,this._sashRatio=(0,y.observableValue)(this,void 0),this.sashLeft=(0,y.derived)(this,C=>{var s;const i=(s=this._sashRatio.read(C))!==null&&s!==void 0?s:this._options.splitViewDefaultRatio.read(C);return this._computeSashLeft(i,C)}),this._sash=this._register(new L.Sash(this._domNode,{getVerticalSashTop:C=>0,getVerticalSashLeft:C=>this.sashLeft.get(),getVerticalSashHeight:C=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(C=>{const s=this._dimensions.width.get(),i=this._computeSashLeft((this._startSashPosition+(C.currentX-C.startX))/s,void 0);this._sashRatio.set(i/s,void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._sashRatio.set(void 0,void 0))),this._register((0,y.autorun)(C=>{const s=this._options.enableSplitViewResizing.read(C);this._sash.state=s?3:0,this.sashLeft.read(C),this._dimensions.height.read(C),this._sash.layout()}))}setBoundarySashes(m){this._sash.orthogonalEndSash=m.bottom}_computeSashLeft(m,_){const v=this._dimensions.width.read(_),C=Math.floor(this._options.splitViewDefaultRatio.read(_)*v),s=this._options.enableSplitViewResizing.read(_)?Math.floor(m*v):C,i=100;return v<=i*2?C:sv-i?v-i:s}}e.DiffEditorSash=D}),define(te[100],ie([1,0,19,572,2,40,269]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableCancellationTokenSource=e.applyViewZones=e.observeHotReloadableExports=e.readHotReloadableExport=e.applyStyle=e.ManagedOverlayWidget=e.PlaceholderViewZone=e.ViewZoneOverlayWidget=e.animatedObservable=e.ObservableElementSizeObserver=e.appendRemoveOnDispose=e.applyObservableDecorations=e.joinCombine=void 0;function m(c,a,g,h){if(c.length===0)return a;if(a.length===0)return c;const p=[];let b=0,w=0;for(;bR?(p.push(k),w++):(p.push(h(E,k)),b++,w++)}for(;b`Apply decorations from ${a.debugName}`},p=>{const b=a.read(p);h.set(b)})),g.add({dispose:()=>{h.clear()}}),g}e.applyObservableDecorations=_;function v(c,a){return c.appendChild(a),(0,y.toDisposable)(()=>{c.removeChild(a)})}e.appendRemoveOnDispose=v;class C extends y.Disposable{get width(){return this._width}get height(){return this._height}constructor(a,g){super(),this.elementSizeObserver=this._register(new S.ElementSizeObserver(a,g)),this._width=(0,D.observableValue)(this,this.elementSizeObserver.getWidth()),this._height=(0,D.observableValue)(this,this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(h=>(0,D.transaction)(p=>{this._width.set(this.elementSizeObserver.getWidth(),p),this._height.set(this.elementSizeObserver.getHeight(),p)})))}observe(a){this.elementSizeObserver.observe(a)}setAutomaticLayout(a){a?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}e.ObservableElementSizeObserver=C;function s(c,a){let g=c.get(),h=g,p=g;const b=(0,D.observableValue)("animatedValue",g);let w=-1;const E=300;let k;a.add((0,D.autorunHandleChanges)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(R,B)=>(R.didChange(c)&&(B.animate=B.animate||R.change),!0)},(R,B)=>{k!==void 0&&(cancelAnimationFrame(k),k=void 0),h=p,g=c.read(R),w=Date.now()-(B.animate?0:E),M()}));function M(){const R=Date.now()-w;p=Math.floor(i(R,h,g-h,E)),R{this._actualTop.set(h,void 0)},this.onComputedHeight=h=>{this._actualHeight.set(h,void 0)}}}e.PlaceholderViewZone=t;class r{constructor(a,g){this._editor=a,this._domElement=g,this._overlayWidgetId=`managedOverlayWidget-${r._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}e.ManagedOverlayWidget=r,r._counter=0;function u(c,a){return(0,D.autorun)(g=>{for(let[h,p]of Object.entries(a))p&&typeof p=="object"&&"read"in p&&(p=p.read(g)),typeof p=="number"&&(p=`${p}px`),h=h.replace(/[A-Z]/g,b=>"-"+b.toLowerCase()),c.style[h]=p})}e.applyStyle=u;function f(c,a){return d([c],a),c}e.readHotReloadableExport=f;function d(c,a){(0,I.isHotReloadEnabled)()&&(0,D.observableSignalFromEvent)("reload",h=>(0,I.registerHotReloadHandler)(p=>{if([...Object.values(p)].some(b=>c.includes(b)))return b=>(h(void 0),!0)})).read(a)}e.observeHotReloadableExports=d;function l(c,a,g){const h=new y.DisposableStore,p=[];return h.add((0,D.autorun)(b=>{const w=a.read(b),E=new Map,k=new Map;g&&g(!0),c.changeViewZones(M=>{for(const R of p)M.removeZone(R);p.length=0;for(const R of w){const B=M.addZone(R);p.push(B),E.set(R,B)}}),g&&g(!1),h.add((0,D.autorunHandleChanges)({createEmptyChangeSummary(){return[]},handleChange(M,R){const B=k.get(M.changedObservable);return B!==void 0&&R.push(B),!0}},(M,R)=>{for(const B of w)B.onChange&&(k.set(B.onChange,E.get(B)),B.onChange.read(M));g&&g(!0),c.changeViewZones(B=>{for(const T of R)B.layoutZone(T)}),g&&g(!1)}))})),h.add({dispose(){g&&g(!0),c.changeViewZones(b=>{for(const w of p)b.removeZone(w)}),g&&g(!1)}}),h}e.applyViewZones=l;class o extends L.CancellationTokenSource{dispose(){super.dispose(!0)}}e.DisposableCancellationTokenSource=o}),define(te[101],ie([1,0,10,17,138]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringBuilder=e.decodeUTF16LE=e.getPlatformTextDecoder=void 0;let D;function S(){return D||(D=new TextDecoder("UTF-16LE")),D}let m;function _(){return m||(m=new TextDecoder("UTF-16BE")),m}let v;function C(){return v||(v=I.isLittleEndian()?S():_()),v}e.getPlatformTextDecoder=C;function s(t,r,u){const f=new Uint16Array(t.buffer,r,u);return u>0&&(f[0]===65279||f[0]===65534)?i(t,r,u):S().decode(f)}e.decodeUTF16LE=s;function i(t,r,u){const f=[];let d=0;for(let l=0;l=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=r;return}for(let f=0;fr});class v{static create(){return new v}constructor(){}createLineBreaksComputer(u,f,d,l,o){const c=[],a=[];return{addRequest:(g,h,p)=>{c.push(g),a.push(h)},finalize:()=>C(c,u,f,d,l,o,a)}}}e.DOMLineBreaksComputerFactory=v;function C(r,u,f,d,l,o,c){var a;function g(U){const F=c[U];if(F){const G=m.LineInjectedText.applyInjectedText(r[U],F),Y=F.map(se=>se.options),ne=F.map(se=>se.column-1);return new S.ModelLineProjectionData(ne,Y,[G.length],[],0)}else return null}if(d===-1){const U=[];for(let F=0,G=r.length;Fh?(G=0,Y=0):ne=h-q}const se=F.substr(G),J=s(se,Y,f,ne,k,w);M[U]=G,R[U]=Y,B[U]=se,T[U]=J[0],N[U]=J[1]}const A=k.build(),P=(a=_?.createHTML(A))!==null&&a!==void 0?a:A;E.innerHTML=P,E.style.position="absolute",E.style.top="10000",o==="keepAll"?(E.style.wordBreak="keep-all",E.style.overflowWrap="anywhere"):(E.style.wordBreak="inherit",E.style.overflowWrap="break-word"),document.body.appendChild(E);const O=document.createRange(),x=Array.prototype.slice.call(E.children,0),W=[];for(let U=0;UZ.options),H=V.map(Z=>Z.column-1)):(q=null,H=null),W[U]=new S.ModelLineProjectionData(H,q,G,J,ne)}return document.body.removeChild(E),W}function s(r,u,f,d,l,o){if(o!==0){const w=String(o);l.appendString('
    ');const c=r.length;let a=u,g=0;const h=[],p=[];let b=0");for(let w=0;w"),h[w]=g,p[w]=a;const E=b;b=w+1"),h[r.length]=g,p[r.length]=a,l.appendString("
    "),[h,p]}function i(r,u,f,d){if(f.length<=1)return null;const l=Array.prototype.slice.call(u.children,0),o=[];try{n(r,l,d,0,null,f.length-1,null,o)}catch(c){return console.log(c),null}return o.length===0?null:(o.push(f.length),o)}function n(r,u,f,d,l,o,c,a){if(d===o||(l=l||t(r,u,f[d],f[d+1]),c=c||t(r,u,f[o],f[o+1]),Math.abs(l[0].top-c[0].top)<=.1))return;if(d+1===o){a.push(o);return}const g=d+(o-d)/2|0,h=t(r,u,f[g],f[g+1]);n(r,u,f,d,l,g,h,a),n(r,u,f,g,h,o,c,a)}function t(r,u,f,d){return r.setStart(u[f/16384|0].firstChild,f%16384),r.setEnd(u[d/16384|0].firstChild,d%16384),r.getClientRects()}}),define(te[229],ie([1,0,38,90,9,101]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleLinesCollection=e.RenderedLinesCollection=void 0;class S{constructor(C){this._createLine=C,this._set(1,[])}flush(){this._set(1,[])}_set(C,s){this._lines=s,this._rendLineNumberStart=C}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(C){const s=C-this._rendLineNumberStart;if(s<0||s>=this._lines.length)throw new y.BugIndicatingError("Illegal value for lineNumber");return this._lines[s]}onLinesDeleted(C,s){if(this.getCount()===0)return null;const i=this.getStartLineNumber(),n=this.getEndLineNumber();if(sn)return null;let t=0,r=0;for(let f=i;f<=n;f++){const d=f-this._rendLineNumberStart;C<=f&&f<=s&&(r===0?(t=d,r=1):r++)}if(C=n&&u<=t&&(this._lines[u-this._rendLineNumberStart].onContentChanged(),r=!0);return r}onLinesInserted(C,s){if(this.getCount()===0)return null;const i=s-C+1,n=this.getStartLineNumber(),t=this.getEndLineNumber();if(C<=n)return this._rendLineNumberStart+=i,null;if(C>t)return null;if(i+C>t)return this._lines.splice(C-this._rendLineNumberStart,t-C+1);const r=[];for(let o=0;oi)continue;const f=Math.max(s,u.fromLineNumber),d=Math.min(i,u.toLineNumber);for(let l=f;l<=d;l++){const o=l-this._rendLineNumberStart;this._lines[o].onTokensChanged(),n=!0}}return n}}e.RenderedLinesCollection=S;class m{constructor(C){this._host=C,this.domNode=this._createDomNode(),this._linesCollection=new S(()=>this._host.createVisibleLine())}_createDomNode(){const C=(0,L.createFastDomNode)(document.createElement("div"));return C.setClassName("view-layer"),C.setPosition("absolute"),C.domNode.setAttribute("role","presentation"),C.domNode.setAttribute("aria-hidden","true"),C}onConfigurationChanged(C){return!!C.hasChanged(143)}onFlushed(C){return this._linesCollection.flush(),!0}onLinesChanged(C){return this._linesCollection.onLinesChanged(C.fromLineNumber,C.count)}onLinesDeleted(C){const s=this._linesCollection.onLinesDeleted(C.fromLineNumber,C.toLineNumber);if(s)for(let i=0,n=s.length;is){const r=s,u=Math.min(i,t.rendLineNumberStart-1);r<=u&&(this._insertLinesBefore(t,r,u,n,s),t.linesLength+=u-r+1)}else if(t.rendLineNumberStart0&&(this._removeLinesBefore(t,r),t.linesLength-=r)}if(t.rendLineNumberStart=s,t.rendLineNumberStart+t.linesLength-1i){const r=Math.max(0,i-t.rendLineNumberStart+1),f=t.linesLength-1-r+1;f>0&&(this._removeLinesAfter(t,f),t.linesLength-=f)}return this._finishRendering(t,!1,n),t}_renderUntouchedLines(C,s,i,n,t){const r=C.rendLineNumberStart,u=C.lines;for(let f=s;f<=i;f++){const d=r+f;u[f].layoutLine(d,n[d-t])}}_insertLinesBefore(C,s,i,n,t){const r=[];let u=0;for(let f=s;f<=i;f++)r[u++]=this.host.createVisibleLine();C.lines=r.concat(C.lines)}_removeLinesBefore(C,s){for(let i=0;i=0;u--){const f=C.lines[u];n[u]&&(f.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(C,s,i){const n=document.createElement("div");_._ttPolicy&&(s=_._ttPolicy.createHTML(s)),n.innerHTML=s;for(let t=0;tv}),_._sb=new D.StringBuilder(1e5)}),define(te[596],ie([1,0,38,70,229,53]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginViewOverlays=e.ContentViewOverlays=e.ViewOverlayLine=e.ViewOverlays=void 0;class S extends D.ViewPart{constructor(s){super(s),this._visibleLines=new y.VisibleLinesCollection(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration.options.get(50);(0,I.applyFontInfo)(this.domNode,n),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let s=0,i=this._dynamicOverlays.length;sn.shouldRender());for(let n=0,t=i.length;n'),t.appendString(r),t.appendString(""),!0)}layoutLine(s,i){this._domNode&&(this._domNode.setTop(i),this._domNode.setHeight(this._lineHeight))}}e.ViewOverlayLine=m;class _ extends S{constructor(s){super(s);const n=this._context.configuration.options.get(143);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(s){const n=this._context.configuration.options.get(143);return this._contentWidth=n.contentWidth,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollWidthChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s),this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth))}}e.ContentViewOverlays=_;class v extends S{constructor(s){super(s);const i=this._context.configuration.options,n=i.get(143);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,I.applyFontInfo)(this.domNode,i.get(50))}onConfigurationChanged(s){const i=this._context.configuration.options;(0,I.applyFontInfo)(this.domNode,i.get(50));const n=i.get(143);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(s)||!0}onScrollChanged(s){return super.onScrollChanged(s)||s.scrollHeightChanged}_viewOverlaysRender(s){super._viewOverlaysRender(s);const i=Math.min(s.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)}}e.MarginViewOverlays=v}),define(te[323],ie([1,0,138,101]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compressConsecutiveTextChanges=e.TextChange=void 0;function y(_){return _.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class D{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}constructor(v,C,s,i){this.oldPosition=v,this.oldText=C,this.newPosition=s,this.newText=i}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${y(this.newText)}")`:this.newText.length===0?`(delete@${this.oldPosition} "${y(this.oldText)}")`:`(replace@${this.oldPosition} "${y(this.oldText)}" with "${y(this.newText)}")`}static _writeStringSize(v){return 4+2*v.length}static _writeString(v,C,s){const i=C.length;L.writeUInt32BE(v,i,s),s+=4;for(let n=0;ns&&(s=n)}return s}else{if(typeof D=="string")return _?D==="*"?5:D===m?10:0:0;if(D){const{language:s,pattern:i,scheme:n,hasAccessToAllModels:t,notebookType:r}=D;if(!_&&!t)return 0;r&&v&&(S=v);let u=0;if(n)if(n===S.scheme)u=10;else if(n==="*")u=5;else return 0;if(s)if(s===m)u=10;else if(s==="*")u=Math.max(u,5);else return 0;if(r)if(r===C)u=10;else if(r==="*"&&C!==void 0)u=Math.max(u,5);else return 0;if(i){let f;if(typeof i=="string"?f=i:f=Object.assign(Object.assign({},i),{base:(0,I.normalize)(i.base)}),f===S.fsPath||(0,L.match)(f,S.fsPath))u=10;else return 0}return u}else return 0}}e.score=y}),define(te[598],ie([1,0,6,2,49,597]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureRegistry=void 0;function S(C){return typeof C=="string"?!1:Array.isArray(C)?C.every(S):!!C.exclusive}class m{constructor(s,i,n,t){this.uri=s,this.languageId=i,this.notebookUri=n,this.notebookType=t}equals(s){var i,n;return this.notebookType===s.notebookType&&this.languageId===s.languageId&&this.uri.toString()===s.uri.toString()&&((i=this.notebookUri)===null||i===void 0?void 0:i.toString())===((n=s.notebookUri)===null||n===void 0?void 0:n.toString())}}class _{constructor(s){this._notebookInfoResolver=s,this._clock=0,this._entries=[],this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event}register(s,i){let n={selector:s,provider:i,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,I.toDisposable)(()=>{if(n){const t=this._entries.indexOf(n);t>=0&&(this._entries.splice(t,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(s){return this.all(s).length>0}all(s){if(!s)return[];this._updateScores(s);const i=[];for(const n of this._entries)n._score>0&&i.push(n.provider);return i}ordered(s){const i=[];return this._orderedForEach(s,n=>i.push(n.provider)),i}orderedGroups(s){const i=[];let n,t;return this._orderedForEach(s,r=>{n&&t===r._score?n.push(r.provider):(t=r._score,n=[r.provider],i.push(n))}),i}_orderedForEach(s,i){this._updateScores(s);for(const n of this._entries)n._score>0&&i(n)}_updateScores(s){var i,n;const t=(i=this._notebookInfoResolver)===null||i===void 0?void 0:i.call(this,s.uri),r=t?new m(s.uri,s.getLanguageId(),t.uri,t.type):new m(s.uri,s.getLanguageId(),void 0,void 0);if(!(!((n=this._lastCandidate)===null||n===void 0)&&n.equals(r))){this._lastCandidate=r;for(const u of this._entries)if(u._score=(0,D.score)(u.selector,r.uri,r.languageId,(0,y.shouldSynchronizeModel)(s),r.notebookUri,r.notebookType),S(u.selector)&&u._score>0){for(const f of this._entries)f._score=0;u._score=1e3;break}this._entries.sort(_._compareByScoreAndTime)}}static _compareByScoreAndTime(s,i){return s._scorei._score?-1:v(s.selector)&&!v(i.selector)?1:!v(s.selector)&&v(i.selector)?-1:s._timei._time?-1:0}}e.LanguageFeatureRegistry=_;function v(C){return typeof C=="string"?!1:Array.isArray(C)?C.some(v):!!C.isBuiltin}}),define(te[230],ie([1,0,10,101,5]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketsUtils=e.RichEditBrackets=e.RichEditBracket=void 0;class D{constructor(o,c,a,g,h,p){this._richEditBracketBrand=void 0,this.languageId=o,this.index=c,this.open=a,this.close=g,this.forwardRegex=h,this.reversedRegex=p,this._openSet=D._toSet(this.open),this._closeSet=D._toSet(this.close)}isOpen(o){return this._openSet.has(o)}isClose(o){return this._closeSet.has(o)}static _toSet(o){const c=new Set;for(const a of o)c.add(a);return c}}e.RichEditBracket=D;function S(l){const o=l.length;l=l.map(p=>[p[0].toLowerCase(),p[1].toLowerCase()]);const c=[];for(let p=0;p{const[w,E]=p,[k,M]=b;return w===k||w===M||E===k||E===M},g=(p,b)=>{const w=Math.min(p,b),E=Math.max(p,b);for(let k=0;k0&&h.push({open:b,close:w})}return h}class m{constructor(o,c){this._richEditBracketsBrand=void 0;const a=S(c);this.brackets=a.map((g,h)=>new D(o,h,g.open,g.close,s(g.open,g.close,a,h),i(g.open,g.close,a,h))),this.forwardRegex=n(this.brackets),this.reversedRegex=t(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const g of this.brackets){for(const h of g.open)this.textIsBracket[h]=g,this.textIsOpenBracket[h]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,h.length);for(const h of g.close)this.textIsBracket[h]=g,this.textIsOpenBracket[h]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,h.length)}}}e.RichEditBrackets=m;function _(l,o,c,a){for(let g=0,h=o.length;g=0&&a.push(b);for(const b of p.close)b.indexOf(l)>=0&&a.push(b)}}function v(l,o){return l.length-o.length}function C(l){if(l.length<=1)return l;const o=[],c=new Set;for(const a of l)c.has(a)||(o.push(a),c.add(a));return o}function s(l,o,c,a){let g=[];g=g.concat(l),g=g.concat(o);for(let h=0,p=g.length;h=0;p--)g[h++]=a.charCodeAt(p);return I.getPlatformTextDecoder().decode(g)}let o=null,c=null;return function(g){return o!==g&&(o=g,c=l(o)),c}}();class d{static _findPrevBracketInText(o,c,a,g){const h=a.match(o);if(!h)return null;const p=a.length-(h.index||0),b=h[0].length,w=g+p;return new y.Range(c,w-b+1,c,w+1)}static findPrevBracketInRange(o,c,a,g,h){const b=f(a).substring(a.length-h,a.length-g);return this._findPrevBracketInText(o,c,b,g)}static findNextBracketInText(o,c,a,g){const h=a.match(o);if(!h)return null;const p=h.index||0,b=h[0].length;if(b===0)return null;const w=g+p;return new y.Range(c,w+1,c,w+1+b)}static findNextBracketInRange(o,c,a,g,h){const p=a.substring(g,h);return this.findNextBracketInText(o,c,p,g)}}e.BracketsUtils=d}),define(te[599],ie([1,0,13,125,230]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketElectricCharacterSupport=void 0;class D{constructor(m){this._richEditBrackets=m}getElectricCharacters(){const m=[];if(this._richEditBrackets)for(const _ of this._richEditBrackets.brackets)for(const v of _.close){const C=v.charAt(v.length-1);m.push(C)}return(0,L.distinct)(m)}onElectricCharacter(m,_,v){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const C=_.findTokenIndexAtOffset(v-1);if((0,I.ignoreBracketsInToken)(_.getStandardTokenType(C)))return null;const s=this._richEditBrackets.reversedRegex,i=_.getLineContent().substring(0,v-1)+m,n=y.BracketsUtils.findPrevBracketInRange(s,1,i,0,i.length);if(!n)return null;const t=i.substring(n.startColumn-1,n.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[t])return null;const u=_.getActualLineContentBefore(n.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:t}:null}}e.BracketElectricCharacterSupport=D}),define(te[600],ie([1,0,13,6,2,5,125,230,517]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairsTextModelPart=void 0;class v extends y.Disposable{get canBuildAST(){return this.textModel.getValueLength()<=5e6}constructor(r,u){super(),this.textModel=r,this.languageConfigurationService=u,this.bracketPairsTree=this._register(new y.MutableDisposable),this.onDidChangeEmitter=new I.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(f=>{var d;(!f.languageId||!((d=this.bracketPairsTree.value)===null||d===void 0)&&d.object.didLanguageChange(f.languageId))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(r){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(r){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(r){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleContentChanged(r)}handleDidChangeBackgroundTokenizationState(){var r;(r=this.bracketPairsTree.value)===null||r===void 0||r.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(r){var u;(u=this.bracketPairsTree.value)===null||u===void 0||u.object.handleDidChangeTokens(r)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){const r=new y.DisposableStore;this.bracketPairsTree.value=C(r.add(new _.BracketPairsTree(this.textModel,u=>this.languageConfigurationService.getLanguageConfiguration(u))),r),r.add(this.bracketPairsTree.value.object.onDidChange(u=>this.onDidChangeEmitter.fire(u))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(r){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(r,!1))||L.CallbackIterable.empty}getBracketPairsInRangeWithMinIndentation(r){var u;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getBracketPairsInRange(r,!0))||L.CallbackIterable.empty}getBracketsInRange(r,u=!1){var f;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((f=this.bracketPairsTree.value)===null||f===void 0?void 0:f.object.getBracketsInRange(r,u))||L.CallbackIterable.empty}findMatchingBracketUp(r,u,f){const d=this.textModel.validatePosition(u),l=this.textModel.getLanguageIdAtPosition(d.lineNumber,d.column);if(this.canBuildAST){const o=this.languageConfigurationService.getLanguageConfiguration(l).bracketsNew.getClosingBracketInfo(r);if(!o)return null;const c=this.getBracketPairsInRange(D.Range.fromPositions(u,u)).findLast(a=>o.closes(a.openingBracketInfo));return c?c.openingBracketRange:null}else{const o=r.toLowerCase(),c=this.languageConfigurationService.getLanguageConfiguration(l).brackets;if(!c)return null;const a=c.textIsBracket[o];return a?n(this._findMatchingBracketUp(a,d,s(f))):null}}matchBracket(r,u){if(this.canBuildAST){const f=this.getBracketPairsInRange(D.Range.fromPositions(r,r)).filter(d=>d.closingBracketRange!==void 0&&(d.openingBracketRange.containsPosition(r)||d.closingBracketRange.containsPosition(r))).findLastMaxBy((0,L.compareBy)(d=>d.openingBracketRange.containsPosition(r)?d.openingBracketRange:d.closingBracketRange,D.Range.compareRangesUsingStarts));return f?[f.openingBracketRange,f.closingBracketRange]:null}else{const f=s(u);return this._matchBracket(this.textModel.validatePosition(r),f)}}_establishBracketSearchOffsets(r,u,f,d){const l=u.getCount(),o=u.getLanguageId(d);let c=Math.max(0,r.column-1-f.maxBracketLength);for(let g=d-1;g>=0;g--){const h=u.getEndOffset(g);if(h<=c)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(g))||u.getLanguageId(g)!==o){c=h;break}}let a=Math.min(u.getLineContent().length,r.column-1+f.maxBracketLength);for(let g=d+1;g=a)break;if((0,S.ignoreBracketsInToken)(u.getStandardTokenType(g))||u.getLanguageId(g)!==o){a=h;break}}return{searchStartOffset:c,searchEndOffset:a}}_matchBracket(r,u){const f=r.lineNumber,d=this.textModel.tokenization.getLineTokens(f),l=this.textModel.getLineContent(f),o=d.findTokenIndexAtOffset(r.column-1);if(o<0)return null;const c=this.languageConfigurationService.getLanguageConfiguration(d.getLanguageId(o)).brackets;if(c&&!(0,S.ignoreBracketsInToken)(d.getStandardTokenType(o))){let{searchStartOffset:a,searchEndOffset:g}=this._establishBracketSearchOffsets(r,d,c,o),h=null;for(;;){const p=m.BracketsUtils.findNextBracketInRange(c.forwardRegex,f,l,a,g);if(!p)break;if(p.startColumn<=r.column&&r.column<=p.endColumn){const b=l.substring(p.startColumn-1,p.endColumn-1).toLowerCase(),w=this._matchFoundBracket(p,c.textIsBracket[b],c.textIsOpenBracket[b],u);if(w){if(w instanceof i)return null;h=w}}a=p.endColumn-1}if(h)return h}if(o>0&&d.getStartOffset(o)===r.column-1){const a=o-1,g=this.languageConfigurationService.getLanguageConfiguration(d.getLanguageId(a)).brackets;if(g&&!(0,S.ignoreBracketsInToken)(d.getStandardTokenType(a))){const{searchStartOffset:h,searchEndOffset:p}=this._establishBracketSearchOffsets(r,d,g,a),b=m.BracketsUtils.findPrevBracketInRange(g.reversedRegex,f,l,h,p);if(b&&b.startColumn<=r.column&&r.column<=b.endColumn){const w=l.substring(b.startColumn-1,b.endColumn-1).toLowerCase(),E=this._matchFoundBracket(b,g.textIsBracket[w],g.textIsOpenBracket[w],u);if(E)return E instanceof i?null:E}}}return null}_matchFoundBracket(r,u,f,d){if(!u)return null;const l=f?this._findMatchingBracketDown(u,r.getEndPosition(),d):this._findMatchingBracketUp(u,r.getStartPosition(),d);return l?l instanceof i?l:[r,l]:null}_findMatchingBracketUp(r,u,f){const d=r.languageId,l=r.reversedRegex;let o=-1,c=0;const a=(g,h,p,b)=>{for(;;){if(f&&++c%100===0&&!f())return i.INSTANCE;const w=m.BracketsUtils.findPrevBracketInRange(l,g,h,p,b);if(!w)break;const E=h.substring(w.startColumn-1,w.endColumn-1).toLowerCase();if(r.isOpen(E)?o++:r.isClose(E)&&o--,o===0)return w;b=w.startColumn-1}return null};for(let g=u.lineNumber;g>=1;g--){const h=this.textModel.tokenization.getLineTokens(g),p=h.getCount(),b=this.textModel.getLineContent(g);let w=p-1,E=b.length,k=b.length;g===u.lineNumber&&(w=h.findTokenIndexAtOffset(u.column-1),E=u.column-1,k=u.column-1);let M=!0;for(;w>=0;w--){const R=h.getLanguageId(w)===d&&!(0,S.ignoreBracketsInToken)(h.getStandardTokenType(w));if(R)M?E=h.getStartOffset(w):(E=h.getStartOffset(w),k=h.getEndOffset(w));else if(M&&E!==k){const B=a(g,b,E,k);if(B)return B}M=R}if(M&&E!==k){const R=a(g,b,E,k);if(R)return R}}return null}_findMatchingBracketDown(r,u,f){const d=r.languageId,l=r.forwardRegex;let o=1,c=0;const a=(h,p,b,w)=>{for(;;){if(f&&++c%100===0&&!f())return i.INSTANCE;const E=m.BracketsUtils.findNextBracketInRange(l,h,p,b,w);if(!E)break;const k=p.substring(E.startColumn-1,E.endColumn-1).toLowerCase();if(r.isOpen(k)?o++:r.isClose(k)&&o--,o===0)return E;b=E.endColumn-1}return null},g=this.textModel.getLineCount();for(let h=u.lineNumber;h<=g;h++){const p=this.textModel.tokenization.getLineTokens(h),b=p.getCount(),w=this.textModel.getLineContent(h);let E=0,k=0,M=0;h===u.lineNumber&&(E=p.findTokenIndexAtOffset(u.column-1),k=u.column-1,M=u.column-1);let R=!0;for(;E=1;c--){const a=this.textModel.tokenization.getLineTokens(c),g=a.getCount(),h=this.textModel.getLineContent(c);let p=g-1,b=h.length,w=h.length;if(c===f.lineNumber){p=a.findTokenIndexAtOffset(f.column-1),b=f.column-1,w=f.column-1;const k=a.getLanguageId(p);d!==k&&(d=k,l=this.languageConfigurationService.getLanguageConfiguration(d).brackets,o=this.languageConfigurationService.getLanguageConfiguration(d).bracketsNew)}let E=!0;for(;p>=0;p--){const k=a.getLanguageId(p);if(d!==k){if(l&&o&&E&&b!==w){const R=m.BracketsUtils.findPrevBracketInRange(l.reversedRegex,c,h,b,w);if(R)return this._toFoundBracket(o,R);E=!1}d=k,l=this.languageConfigurationService.getLanguageConfiguration(d).brackets,o=this.languageConfigurationService.getLanguageConfiguration(d).bracketsNew}const M=!!l&&!(0,S.ignoreBracketsInToken)(a.getStandardTokenType(p));if(M)E?b=a.getStartOffset(p):(b=a.getStartOffset(p),w=a.getEndOffset(p));else if(o&&l&&E&&b!==w){const R=m.BracketsUtils.findPrevBracketInRange(l.reversedRegex,c,h,b,w);if(R)return this._toFoundBracket(o,R)}E=M}if(o&&l&&E&&b!==w){const k=m.BracketsUtils.findPrevBracketInRange(l.reversedRegex,c,h,b,w);if(k)return this._toFoundBracket(o,k)}}return null}findNextBracket(r){var u;const f=this.textModel.validatePosition(r);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),((u=this.bracketPairsTree.value)===null||u===void 0?void 0:u.object.getFirstBracketAfter(f))||null;const d=this.textModel.getLineCount();let l=null,o=null,c=null;for(let a=f.lineNumber;a<=d;a++){const g=this.textModel.tokenization.getLineTokens(a),h=g.getCount(),p=this.textModel.getLineContent(a);let b=0,w=0,E=0;if(a===f.lineNumber){b=g.findTokenIndexAtOffset(f.column-1),w=f.column-1,E=f.column-1;const M=g.getLanguageId(b);l!==M&&(l=M,o=this.languageConfigurationService.getLanguageConfiguration(l).brackets,c=this.languageConfigurationService.getLanguageConfiguration(l).bracketsNew)}let k=!0;for(;bk.closingBracketRange!==void 0&&k.range.strictContainsRange(w));return E?[E.openingBracketRange,E.closingBracketRange]:null}const d=s(u),l=this.textModel.getLineCount(),o=new Map;let c=[];const a=(w,E)=>{if(!o.has(w)){const k=[];for(let M=0,R=E?E.brackets.length:0;M{for(;;){if(d&&++g%100===0&&!d())return i.INSTANCE;const B=m.BracketsUtils.findNextBracketInRange(w.forwardRegex,E,k,M,R);if(!B)break;const T=k.substring(B.startColumn-1,B.endColumn-1).toLowerCase(),N=w.textIsBracket[T];if(N&&(N.isOpen(T)?c[N.index]++:N.isClose(T)&&c[N.index]--,c[N.index]===-1))return this._matchFoundBracket(B,N,!1,d);M=B.endColumn-1}return null};let p=null,b=null;for(let w=f.lineNumber;w<=l;w++){const E=this.textModel.tokenization.getLineTokens(w),k=E.getCount(),M=this.textModel.getLineContent(w);let R=0,B=0,T=0;if(w===f.lineNumber){R=E.findTokenIndexAtOffset(f.column-1),B=f.column-1,T=f.column-1;const A=E.getLanguageId(R);p!==A&&(p=A,b=this.languageConfigurationService.getLanguageConfiguration(p).brackets,a(p,b))}let N=!0;for(;Rr?.dispose()}}function s(t){if(typeof t>"u")return()=>!0;{const r=Date.now();return()=>Date.now()-r<=t}}class i{constructor(){this._searchCanceledBrand=void 0}}i.INSTANCE=new i;function n(t){return t instanceof i?null:t}}),define(te[324],ie([1,0,6,10,5,49,286,122,323,2]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBuffer=void 0;class C extends v.Disposable{constructor(i,n,t,r,u,f,d){super(),this._onDidChangeContent=this._register(new L.Emitter),this._BOM=n,this._mightContainNonBasicASCII=!f,this._mightContainRTL=r,this._mightContainUnusualLineTerminators=u,this._pieceTree=new S.PieceTreeBase(i,t,d)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(i){return this._pieceTree.createSnapshot(i?this._BOM:"")}getOffsetAt(i,n){return this._pieceTree.getOffsetAt(i,n)}getPositionAt(i){return this._pieceTree.getPositionAt(i)}getRangeAt(i,n){const t=i+n,r=this.getPositionAt(i),u=this.getPositionAt(t);return new y.Range(r.lineNumber,r.column,u.lineNumber,u.column)}getValueInRange(i,n=0){if(i.isEmpty())return"";const t=this._getEndOfLine(n);return this._pieceTree.getValueInRange(i,t)}getValueLengthInRange(i,n=0){if(i.isEmpty())return 0;if(i.startLineNumber===i.endLineNumber)return i.endColumn-i.startColumn;const t=this.getOffsetAt(i.startLineNumber,i.startColumn),r=this.getOffsetAt(i.endLineNumber,i.endColumn);let u=0;const f=this._getEndOfLine(n),d=this.getEOL();if(f.length!==d.length){const l=f.length-d.length,o=i.endLineNumber-i.startLineNumber;u=l*o}return r-t+u}getCharacterCountInRange(i,n=0){if(this._mightContainNonBasicASCII){let t=0;const r=i.startLineNumber,u=i.endLineNumber;for(let f=r;f<=u;f++){const d=this.getLineContent(f),l=f===r?i.startColumn-1:0,o=f===u?i.endColumn-1:d.length;for(let c=l;cw.sortIndex-E.sortIndex)}this._mightContainRTL=r,this._mightContainUnusualLineTerminators=u,this._mightContainNonBasicASCII=f;const h=this._doApplyEdits(l);let p=null;if(n&&a.length>0){a.sort((b,w)=>w.lineNumber-b.lineNumber),p=[];for(let b=0,w=a.length;b0&&a[b-1].lineNumber===E)continue;const k=a[b].oldContent,M=this.getLineContent(E);M.length===0||M===k||I.firstNonWhitespaceIndex(M)!==-1||p.push(E)}}return this._onDidChangeContent.fire(),new D.ApplyEditsResult(g,h,p)}_reduceOperations(i){return i.length<1e3?i:[this._toSingleEditOperation(i)]}_toSingleEditOperation(i){let n=!1;const t=i[0].range,r=i[i.length-1].range,u=new y.Range(t.startLineNumber,t.startColumn,r.endLineNumber,r.endColumn);let f=t.startLineNumber,d=t.startColumn;const l=[];for(let h=0,p=i.length;h0&&l.push(b.text),f=w.endLineNumber,d=w.endColumn}const o=l.join(""),[c,a,g]=(0,m.countEOL)(o);return{sortIndex:0,identifier:i[0].identifier,range:u,rangeOffset:this.getOffsetAt(u.startLineNumber,u.startColumn),rangeLength:this.getValueLengthInRange(u,0),text:o,eolCount:c,firstLineLength:a,lastLineLength:g,forceMoveMarkers:n,isAutoWhitespaceEdit:!1}}_doApplyEdits(i){i.sort(C._sortOpsDescending);const n=[];for(let t=0;t0){const g=l.eolCount+1;g===1?a=new y.Range(o,c,o,c+l.firstLineLength):a=new y.Range(o,c,o+g-1,l.lastLineLength+1)}else a=new y.Range(o,c,o,c);t=a.endLineNumber,r=a.endColumn,n.push(a),u=l}return n}static _sortOpsAscending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?i.sortIndex-n.sortIndex:t}static _sortOpsDescending(i,n){const t=y.Range.compareRangesUsingEnds(i.range,n.range);return t===0?n.sortIndex-i.sortIndex:-t}}e.PieceTreeTextBuffer=C}),define(te[601],ie([1,0,10,286,324]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeTextBufferBuilder=void 0;class D{constructor(_,v,C,s,i,n,t,r,u){this._chunks=_,this._bom=v,this._cr=C,this._lf=s,this._crlf=i,this._containsRTL=n,this._containsUnusualLineTerminators=t,this._isBasicASCII=r,this._normalizeEOL=u}_getEOL(_){const v=this._cr+this._lf+this._crlf,C=this._cr+this._crlf;return v===0?_===1?` +`:`\r +`:C>v/2?`\r +`:` +`}create(_){const v=this._getEOL(_),C=this._chunks;if(this._normalizeEOL&&(v===`\r +`&&(this._cr>0||this._lf>0)||v===` +`&&(this._cr>0||this._crlf>0)))for(let i=0,n=C.length;i=55296&&v<=56319?(this._acceptChunk1(_.substr(0,_.length-1),!1),this._hasPreviousChar=!0,this._previousChar=v):(this._acceptChunk1(_,!1),this._hasPreviousChar=!1,this._previousChar=v)}_acceptChunk1(_,v){!v&&_.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+_):this._acceptChunk2(_))}_acceptChunk2(_){const v=(0,I.createLineStarts)(this._tmpLineStarts,_);this.chunks.push(new I.StringBuffer(_,v.lineStarts)),this.cr+=v.cr,this.lf+=v.lf,this.crlf+=v.crlf,v.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=L.containsRTL(_)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=L.containsUnusualLineTerminators(_)))}finish(_=!0){return this._finish(),new D(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,_)}_finish(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const _=this.chunks[this.chunks.length-1];_.buffer+=String.fromCharCode(this._previousChar);const v=(0,I.createLineStartsFast)(_.buffer);_.lineStarts=v,this._previousChar===13&&this.cr++}}}e.PieceTreeTextBufferBuilder=S}),define(te[602],ie([1,0,138,17]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeSemanticTokensDto=void 0;function y(_){for(let v=0,C=_.length;vr.target.position?r.target.position.lineNumber:0,this._opts=v(this._editor.getOption(77)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(r=>{if(r.hasChanged(77)){const u=v(this._editor.getOption(77));if(this._opts.equals(u))return;this._opts=u,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(r=>this._onEditorMouseMove(new S(r,this._opts)))),this._register(this._editor.onMouseDown(r=>this._onEditorMouseDown(new S(r,this._opts)))),this._register(this._editor.onMouseUp(r=>this._onEditorMouseUp(new S(r,this._opts)))),this._register(this._editor.onKeyDown(r=>this._onEditorKeyDown(new m(r,this._opts)))),this._register(this._editor.onKeyUp(r=>this._onEditorKeyUp(new m(r,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(r=>this._onDidChangeCursorSelection(r))),this._register(this._editor.onDidChangeModel(r=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(r=>{(r.scrollTopChanged||r.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(i){i.selection&&i.selection.startColumn!==i.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(i){this._lastMouseMoveEvent=i,this._onMouseMoveOrRelevantKeyDown.fire([i,null])}_onEditorMouseDown(i){this._hasTriggerKeyOnMouseDown=i.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(i)}_onEditorMouseUp(i){const n=this._extractLineNumberFromMouseEvent(i);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===n&&this._onExecute.fire(i)}_onEditorKeyDown(i){this._lastMouseMoveEvent&&(i.keyCodeIsTriggerKey||i.keyCodeIsSideBySideKey&&i.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,i]):i.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(i){i.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}e.ClickLinkGesture=C});var yt=this&&this.__asyncValues||function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=$[Symbol.asyncIterator],L;return e?e.call($):($=typeof __values=="function"?__values($):$[Symbol.iterator](),L={},I("next"),I("throw"),I("return"),L[Symbol.asyncIterator]=function(){return this},L);function I(D){L[D]=$[D]&&function(S){return new Promise(function(m,_){S=$[D](S),y(m,_,S.done,S.value)})}}function y(D,S,m,_){Promise.resolve(_).then(function(v){D({value:v,done:m})},S)}};define(te[325],ie([1,0,14,9,6,2]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverOperation=e.HoverResult=void 0;class S{constructor(v,C,s){this.value=v,this.isComplete=C,this.hasLoadingMessage=s}}e.HoverResult=S;class m extends D.Disposable{constructor(v,C){super(),this._editor=v,this._computer=C,this._onResult=this._register(new y.Emitter),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new L.RunOnceScheduler(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(v,C=!0){this._state=v,C&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,L.createCancelableAsyncIterable)(v=>this._computer.computeAsync(v)),be(this,void 0,void 0,function*(){var v,C,s,i;try{try{for(var n=!0,t=yt(this._asyncIterable),r;r=yield t.next(),v=r.done,!v;n=!0){i=r.value,n=!1;const u=i;u&&(this._result.push(u),this._fireResult())}}catch(u){C={error:u}}finally{try{!n&&!v&&(s=t.return)&&(yield s.call(t))}finally{if(C)throw C.error}}this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(u){(0,I.onUnexpectedError)(u)}})):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const v=this._state===0,C=this._state===4;this._onResult.fire(new S(this._result.slice(0),v,C))}start(v){if(v===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}e.HoverOperation=m}),define(te[603],ie([1,0,223,2,12,7]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizableContentWidget=void 0;const S=30,m=24;class _ extends I.Disposable{constructor(C,s=new D.Dimension(10,10)){super(),this._editor=C,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new L.ResizableHTMLElement),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=D.Dimension.lift(s),this._resizableNode.layout(s.height,s.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new D.Dimension(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var C;return!((C=this._contentPosition)===null||C===void 0)&&C.position?y.Position.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);return!s||!i?void 0:D.getDomNodePagePosition(s).top+i.top-S}_availableVerticalSpaceBelow(C){const s=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(C);if(!s||!i)return;const n=D.getDomNodePagePosition(s),t=D.getClientArea(s.ownerDocument.body),r=n.top+i.top+i.height;return t.height-r-m}_findPositionPreference(C,s){var i,n;const t=Math.min((i=this._availableVerticalSpaceBelow(s))!==null&&i!==void 0?i:1/0,C),r=Math.min((n=this._availableVerticalSpaceAbove(s))!==null&&n!==void 0?n:1/0,C),u=Math.min(Math.max(r,t),C),f=Math.min(C,u);let d;return this._editor.getOption(60).above?d=f<=r?1:2:d=f<=t?2:1,d===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),d}_resize(C){this._resizableNode.layout(C.height,C.width)}}e.ResizableContentWidget=_}),define(te[326],ie([1,0,9,2,12,5,54,21]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asCommandLink=e.InlayHintsFragments=e.InlayHintItem=e.InlayHintAnchor=void 0;class _{constructor(n,t){this.range=n,this.direction=t}}e.InlayHintAnchor=_;class v{constructor(n,t,r){this.hint=n,this.anchor=t,this.provider=r,this._isResolved=!1}with(n){const t=new v(this.hint,n.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(n){return be(this,void 0,void 0,function*(){if(typeof this.provider.resolveInlayHint=="function"){if(this._currentResolve)return yield this._currentResolve,n.isCancellationRequested?void 0:this.resolve(n);this._isResolved||(this._currentResolve=this._doResolve(n).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(n){var t,r;return be(this,void 0,void 0,function*(){try{const u=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,n));this.hint.tooltip=(t=u?.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(r=u?.label)!==null&&r!==void 0?r:this.hint.label,this._isResolved=!0}catch(u){(0,L.onUnexpectedExternalError)(u),this._isResolved=!1}})}}e.InlayHintItem=v;class C{static create(n,t,r,u){return be(this,void 0,void 0,function*(){const f=[],d=n.ordered(t).reverse().map(l=>r.map(o=>be(this,void 0,void 0,function*(){try{const c=yield l.provideInlayHints(t,o,u);c?.hints.length&&f.push([c,l])}catch(c){(0,L.onUnexpectedExternalError)(c)}})));if(yield Promise.all(d.flat()),u.isCancellationRequested||t.isDisposed())throw new L.CancellationError;return new C(r,f,t)})}constructor(n,t,r){this._disposables=new I.DisposableStore,this.ranges=n,this.provider=new Set;const u=[];for(const[f,d]of t){this._disposables.add(f),this.provider.add(d);for(const l of f.hints){const o=r.validatePosition(l.position);let c="before";const a=C._getRangeAtPosition(r,o);let g;a.getStartPosition().isBefore(o)?(g=D.Range.fromPositions(a.getStartPosition(),o),c="after"):(g=D.Range.fromPositions(o,a.getEndPosition()),c="before"),u.push(new v(l,new _(g,c),d))}}this.items=u.sort((f,d)=>y.Position.compare(f.hint.position,d.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(n,t){const r=t.lineNumber,u=n.getWordAtPosition(t);if(u)return new D.Range(r,u.startColumn,r,u.endColumn);n.tokenization.tokenizeIfCheap(r);const f=n.tokenization.getLineTokens(r),d=t.column-1,l=f.findTokenIndexAtOffset(d);let o=f.getStartOffset(l),c=f.getEndOffset(l);return c-o===1&&(o===d&&l>1?(o=f.getStartOffset(l-1),c=f.getEndOffset(l-1)):c===d&&lx.toString?x.toString():""+x).join(" -> ")}`));const O=new I.DeferredPromise;return w.set(N,O.p),(()=>be(this,void 0,void 0,function*(){if(!P){const x=b(N);for(const W of x){const U=yield M(W);if(U&&U.items.length>0)return}}try{return yield N.provideInlineCompletions(l,d,o,c)}catch(x){(0,S.onUnexpectedExternalError)(x);return}}))().then(x=>O.complete(x),x=>O.error(x)),O.p}const R=yield Promise.all(h.map(N=>be(this,void 0,void 0,function*(){return{provider:N,completions:yield M(N)}}))),B=new Map,T=[];for(const N of R){const A=N.completions;if(!A)continue;const P=new n(A,N.provider);T.push(P);for(const O of A.items){const x=t.from(O,P,g,l,a);B.set(x.hash(),x)}}return new i(Array.from(B.values()),new Set(B.keys()),T)})}e.provideInlineCompletions=s;class i{constructor(d,l,o){this.completions=d,this.hashs=l,this.providerResults=o}has(d){return this.hashs.has(d.hash())}dispose(){for(const d of this.providerResults)d.removeRef()}}e.InlineCompletionProviderResult=i;class n{constructor(d,l){this.inlineCompletions=d,this.provider=l,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,this.refCount===0&&this.provider.freeInlineCompletions(this.inlineCompletions)}}e.InlineCompletionList=n;class t{static from(d,l,o,c,a){let g,h,p=d.range?m.Range.lift(d.range):o;if(typeof d.insertText=="string"){if(g=d.insertText,a&&d.completeBracketPairs){g=u(g,p.getStartPosition(),c,a);const b=g.length-d.insertText.length;b!==0&&(p=new m.Range(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+b))}h=void 0}else if("snippet"in d.insertText){const b=d.insertText.snippet.length;if(a&&d.completeBracketPairs){d.insertText.snippet=u(d.insertText.snippet,p.getStartPosition(),c,a);const E=d.insertText.snippet.length-b;E!==0&&(p=new m.Range(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+E))}const w=new C.SnippetParser().parse(d.insertText.snippet);w.children.length===1&&w.children[0]instanceof C.Text?(g=w.children[0].value,h=void 0):(g=w.toString(),h={snippet:d.insertText.snippet,range:p})}else(0,L.assertNever)(d.insertText);return new t(g,d.command,p,g,h,d.additionalTextEdits||(0,v.getReadonlyEmptyArray)(),d,l)}constructor(d,l,o,c,a,g,h,p){this.filterText=d,this.command=l,this.range=o,this.insertText=c,this.snippetInfo=a,this.additionalTextEdits=g,this.sourceInlineCompletion=h,this.source=p,d=d.replace(/\r\n|\r/g,` +`),c=d.replace(/\r\n|\r/g,` +`)}withRange(d){return new t(this.filterText,this.command,d,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}e.InlineCompletionItem=t;function r(f,d){const l=d.getWordAtPosition(f),o=d.getLineMaxColumn(f.lineNumber);return l?new m.Range(f.lineNumber,l.startColumn,f.lineNumber,o):m.Range.fromPositions(f,f.with(void 0,o))}function u(f,d,l,o){const a=l.getLineContent(d.lineNumber).substring(0,d.column-1)+f,g=l.tokenization.tokenizeLineWithEdit(d,a.length-(d.column-1),f),h=g?.sliceAndInflate(d.column-1,a.length,0);return h?(0,_.fixBracketsInLine)(h,o):f}}),define(te[605],ie([3,4]),function($,e){return $.create("vs/editor/browser/controller/textAreaHandler",e)}),define(te[606],ie([3,4]),function($,e){return $.create("vs/editor/browser/coreCommands",e)}),define(te[607],ie([3,4]),function($,e){return $.create("vs/editor/browser/editorExtensions",e)}),define(te[608],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/codeEditorWidget",e)}),define(te[609],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/accessibleDiffViewer",e)}),define(te[610],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/colors",e)}),define(te[611],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/decorations",e)}),define(te[612],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/diffEditor.contribution",e)}),define(te[613],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/diffEditorEditors",e)}),define(te[614],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature",e)}),define(te[615],ie([3,4]),function($,e){return $.create("vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin",e)}),define(te[616],ie([1,0,7,41,26,2,17,27,615]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineDiffDeletedCodeMargin=void 0;class v extends D.Disposable{get visibility(){return this._visibility}set visibility(s){this._visibility!==s&&(this._visibility=s,this._diffActions.style.visibility=s?"visible":"hidden")}constructor(s,i,n,t,r,u,f,d,l){super(),this._getViewZoneId=s,this._marginDomNode=i,this._modifiedEditor=n,this._diff=t,this._editor=r,this._viewLineCounts=u,this._originalTextModel=f,this._contextMenuService=d,this._clipboardService=l,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=m.ThemeIcon.asClassName(y.Codicon.lightBulb)+" lightbulb-glyph",this._diffActions.style.position="absolute";const o=this._modifiedEditor.getOption(66);this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${o}px`,this._diffActions.style.lineHeight=`${o}px`,this._marginDomNode.appendChild(this._diffActions);let c=0;const a=n.getOption(126)&&!S.isIOS,g=(h,p)=>{var b;this._contextMenuService.showContextMenu({domForShadowRoot:a&&(b=n.getDomNode())!==null&&b!==void 0?b:void 0,getAnchor:()=>({x:h,y:p}),getActions:()=>{const w=[],E=t.modified.isEmpty;return w.push(new I.Action("diff.clipboard.copyDeletedContent",E?t.original.length>1?(0,_.localize)(0,null):(0,_.localize)(1,null):t.original.length>1?(0,_.localize)(2,null):(0,_.localize)(3,null),void 0,!0,()=>be(this,void 0,void 0,function*(){const M=this._originalTextModel.getValueInRange(t.original.toExclusiveRange());yield this._clipboardService.writeText(M)}))),t.original.length>1&&w.push(new I.Action("diff.clipboard.copyDeletedLineContent",E?(0,_.localize)(4,null,t.original.startLineNumber+c):(0,_.localize)(5,null,t.original.startLineNumber+c),void 0,!0,()=>be(this,void 0,void 0,function*(){let M=this._originalTextModel.getLineContent(t.original.startLineNumber+c);M===""&&(M=this._originalTextModel.getEndOfLineSequence()===0?` +`:`\r +`),yield this._clipboardService.writeText(M)}))),n.getOption(90)||w.push(new I.Action("diff.inline.revertChange",(0,_.localize)(6,null),void 0,!0,()=>be(this,void 0,void 0,function*(){this._editor.revert(this._diff)}))),w},autoSelectFirstItem:!0})};this._register((0,L.addStandardDisposableListener)(this._diffActions,"mousedown",h=>{const{top:p,height:b}=(0,L.getDomNodePagePosition)(this._diffActions),w=Math.floor(o/3);h.preventDefault(),g(h.posx,p+b+w)})),this._register(n.onMouseMove(h=>{(h.target.type===8||h.target.type===5)&&h.target.detail.viewZoneId===this._getViewZoneId()?(c=this._updateLightBulbPosition(this._marginDomNode,h.event.browserEvent.y,o),this.visibility=!0):this.visibility=!1})),this._register(n.onMouseDown(h=>{h.event.rightButton&&(h.target.type===8||h.target.type===5)&&h.target.detail.viewZoneId===this._getViewZoneId()&&(h.event.preventDefault(),c=this._updateLightBulbPosition(this._marginDomNode,h.event.browserEvent.y,o),g(h.event.posx,h.event.posy+o))}))}_updateLightBulbPosition(s,i,n){const{top:t}=(0,L.getDomNodePagePosition)(s),r=i-t,u=Math.floor(r/n),f=u*n;if(this._diffActions.style.top=`${f}px`,this._viewLineCounts){let d=0;for(let l=0;lthis._editors.original.getScrollTop()),this._modifiedScrollTop=(0,v.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,v.observableSignalFromEvent)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,v.observableValue)(this,0),this._modifiedViewZonesChangedSignal=(0,v.observableSignalFromEvent)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,v.observableSignalFromEvent)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,v.derivedWithStore)((k,M)=>{var R;this._element.replaceChildren();const B=this._diffModel.read(k),T=(R=B?.diff.read(k))===null||R===void 0?void 0:R.movedTexts;if(!T||T.length===0){this.width.set(0,void 0);return}this._viewZonesChanged.read(k);const N=this._originalEditorLayoutInfo.read(k),A=this._modifiedEditorLayoutInfo.read(k);if(!N||!A){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(k),this._originalViewZonesChangedSignal.read(k);const P=T.map(Y=>{function ne(ue,de){const ce=de.getTopForLineNumber(ue.startLineNumber,!0),ae=de.getTopForLineNumber(ue.endLineNumberExclusive,!0);return(ce+ae)/2}const se=ne(Y.lineRangeMapping.original,this._editors.original),J=this._originalScrollTop.read(k),q=ne(Y.lineRangeMapping.modified,this._editors.modified),H=this._modifiedScrollTop.read(k),V=se-J,Z=q-H,ee=Math.min(se,q),le=Math.max(se,q);return{range:new i.OffsetRange(ee,le),from:V,to:Z,fromWithoutScroll:se,toWithoutScroll:q,move:Y}});P.sort((0,D.tieBreakComparators)((0,D.compareBy)(Y=>Y.fromWithoutScroll>Y.toWithoutScroll,D.booleanComparator),(0,D.compareBy)(Y=>Y.fromWithoutScroll>Y.toWithoutScroll?Y.fromWithoutScroll:-Y.toWithoutScroll,D.numberComparator)));const O=r.compute(P.map(Y=>Y.range)),x=10,W=N.verticalScrollbarWidth,U=(O.getTrackCount()-1)*10+x*2,F=W+U+(A.contentLeft-t.movedCodeBlockPadding);let G=0;for(const Y of P){const ne=O.getTrack(G),se=W+x+ne*10,J=15,q=15,H=F,V=A.glyphMarginWidth+A.lineNumbersWidth,Z=18,ee=document.createElementNS("http://www.w3.org/2000/svg","rect");ee.classList.add("arrow-rectangle"),ee.setAttribute("x",`${H-V}`),ee.setAttribute("y",`${Y.to-Z/2}`),ee.setAttribute("width",`${V}`),ee.setAttribute("height",`${Z}`),this._element.appendChild(ee);const le=document.createElementNS("http://www.w3.org/2000/svg","g"),ue=document.createElementNS("http://www.w3.org/2000/svg","path");ue.setAttribute("d",`M 0 ${Y.from} L ${se} ${Y.from} L ${se} ${Y.to} L ${H-q} ${Y.to}`),ue.setAttribute("fill","none"),le.appendChild(ue);const de=document.createElementNS("http://www.w3.org/2000/svg","polygon");de.classList.add("arrow"),M.add((0,v.autorun)(ce=>{ue.classList.toggle("currentMove",Y.move===B.activeMovedText.read(ce)),de.classList.toggle("currentMove",Y.move===B.activeMovedText.read(ce))})),de.setAttribute("points",`${H-q},${Y.to-J/2} ${H},${Y.to} ${H-q},${Y.to+J/2}`),le.appendChild(de),this._element.appendChild(le),G++}this.width.set(U,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,_.toDisposable)(()=>this._element.remove())),this._register((0,v.autorun)(k=>{const M=this._originalEditorLayoutInfo.read(k),R=this._modifiedEditorLayoutInfo.read(k);!M||!R||(this._element.style.left=`${M.width-M.verticalScrollbarWidth}px`,this._element.style.height=`${M.height}px`,this._element.style.width=`${M.verticalScrollbarWidth+M.contentLeft-t.movedCodeBlockPadding+this.width.read(k)}px`)})),this._register((0,v.recomputeInitiallyAndOnChange)(this._state));const g=(0,v.derived)(k=>{const M=this._diffModel.read(k),R=M?.diff.read(k);return R?R.movedTexts.map(B=>({move:B,original:new s.PlaceholderViewZone((0,v.constObservable)(B.lineRangeMapping.original.startLineNumber-1),18),modified:new s.PlaceholderViewZone((0,v.constObservable)(B.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,s.applyViewZones)(this._editors.original,g.map(k=>k.map(M=>M.original)))),this._register((0,s.applyViewZones)(this._editors.modified,g.map(k=>k.map(M=>M.modified)))),this._register((0,v.autorunWithStore)((k,M)=>{const R=g.read(k);for(const B of R)M.add(new u(this._editors.original,B.original,B.move,"original",this._diffModel.get())),M.add(new u(this._editors.modified,B.modified,B.move,"modified",this._diffModel.get()))}));const h=(0,v.observableFromEvent)(this._editors.original.onDidChangeCursorPosition,()=>this._editors.original.getPosition()),p=(0,v.observableFromEvent)(this._editors.modified.onDidChangeCursorPosition,()=>this._editors.modified.getPosition()),b=(0,v.observableSignalFromEvent)("original.onDidFocusEditorWidget",k=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>k(void 0),0))),w=(0,v.observableSignalFromEvent)("modified.onDidFocusEditorWidget",k=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>k(void 0),0)));let E="modified";this._register((0,v.autorunHandleChanges)({createEmptyChangeSummary:()=>{},handleChange:(k,M)=>(k.didChange(b)&&(E="original"),k.didChange(w)&&(E="modified"),!0)},k=>{b.read(k),w.read(k);const M=this._diffModel.read(k);if(!M)return;const R=M.diff.read(k);let B;if(R&&E==="original"){const T=h.read(k);T&&(B=R.movedTexts.find(N=>N.lineRangeMapping.original.contains(T.lineNumber)))}if(R&&E==="modified"){const T=p.read(k);T&&(B=R.movedTexts.find(N=>N.lineRangeMapping.modified.contains(T.lineNumber)))}B!==M.movedTextToCompare.get()&&M.movedTextToCompare.set(void 0,void 0),M.setActiveMovedText(B)}))}}e.MovedBlocksLinesPart=t,t.movedCodeBlockPadding=4;class r{static compute(d){const l=[],o=[];for(const c of d){let a=l.findIndex(g=>!g.intersectsStrict(c));a===-1&&(l.length>=6?a=(0,S.findMaxIdxBy)(l,(0,D.compareBy)(h=>h.intersectWithRangeLength(c),D.numberComparator)):(a=l.length,l.push(new i.OffsetRangeSet))),l[a].addRange(c),o.push(a)}return new r(l.length,o)}constructor(d,l){this._trackCount=d,this.trackPerLineIdx=l}getTrack(d){return this.trackPerLineIdx[d]}getTrackCount(){return this._trackCount}}class u extends s.ViewZoneOverlayWidget{constructor(d,l,o,c,a){const g=(0,L.h)("div.diff-hidden-lines-widget");super(d,l,g.root),this._editor=d,this._move=o,this._kind=c,this._diffModel=a,this._nodes=(0,L.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,L.h)("div.text-content@textContent"),(0,L.h)("div.action-bar@actionBar")]),g.root.appendChild(this._nodes.root);const h=(0,v.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,s.applyStyle)(this._nodes.root,{paddingRight:h.map(k=>k.verticalScrollbarWidth)}));let p;o.changes.length>0?p=this._kind==="original"?(0,n.localize)(0,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,n.localize)(1,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1):p=this._kind==="original"?(0,n.localize)(2,null,this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,n.localize)(3,null,this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1);const b=this._register(new I.ActionBar(this._nodes.actionBar,{highlightToggledItems:!0})),w=new y.Action("",p,"",!1);b.push(w,{icon:!1,label:!0});const E=new y.Action("","Compare",C.ThemeIcon.asClassName(m.Codicon.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===o?void 0:this._move,void 0)});this._register((0,v.autorun)(k=>{const M=this._diffModel.movedTextToCompare.read(k)===o;E.checked=M})),b.push(E,{icon:!1,label:!0})}}}),define(te[618],ie([3,4]),function($,e){return $.create("vs/editor/common/config/editorConfigurationSchema",e)}),define(te[619],ie([3,4]),function($,e){return $.create("vs/editor/common/config/editorOptions",e)}),define(te[39],ie([1,0,13,52,17,173,145,619]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorOptions=e.editorOptionsRegistry=e.EDITOR_FONT_DEFAULTS=e.unicodeHighlightConfigKeys=e.inUntrustedWorkspace=e.filterValidationDecorations=e.EditorLayoutInfoComputer=e.EditorFontVariations=e.EditorFontLigatures=e.TextEditorCursorStyle=e.stringSet=e.clampedFloat=e.clampedInt=e.boolean=e.ApplyUpdateResult=e.ComputeOptionsMemory=e.ConfigurationChangedEvent=e.MINIMAP_GUTTER_WIDTH=void 0,e.MINIMAP_GUTTER_WIDTH=8;class _{constructor(fe){this._values=fe}hasChanged(fe){return this._values[fe]}}e.ConfigurationChangedEvent=_;class v{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}e.ComputeOptionsMemory=v;class C{constructor(fe,Ce,Me,Pe){this.id=fe,this.name=Ce,this.defaultValue=Me,this.schema=Pe}applyUpdate(fe,Ce){return i(fe,Ce)}compute(fe,Ce,Me){return Me}}class s{constructor(fe,Ce){this.newValue=fe,this.didChange=Ce}}e.ApplyUpdateResult=s;function i(De,fe){if(typeof De!="object"||typeof fe!="object"||!De||!fe)return new s(fe,De!==fe);if(Array.isArray(De)||Array.isArray(fe)){const Me=Array.isArray(De)&&Array.isArray(fe)&&L.equals(De,fe);return new s(fe,!Me)}let Ce=!1;for(const Me in fe)if(fe.hasOwnProperty(Me)){const Pe=i(De[Me],fe[Me]);Pe.didChange&&(De[Me]=Pe.newValue,Ce=!0)}return new s(De,Ce)}class n{constructor(fe){this.schema=void 0,this.id=fe,this.name="_never_",this.defaultValue=void 0}applyUpdate(fe,Ce){return i(fe,Ce)}validate(fe){return this.defaultValue}}class t{constructor(fe,Ce,Me,Pe){this.id=fe,this.name=Ce,this.defaultValue=Me,this.schema=Pe}applyUpdate(fe,Ce){return i(fe,Ce)}validate(fe){return typeof fe>"u"?this.defaultValue:fe}compute(fe,Ce,Me){return Me}}function r(De,fe){return typeof De>"u"?fe:De==="false"?!1:!!De}e.boolean=r;class u extends t{constructor(fe,Ce,Me,Pe=void 0){typeof Pe<"u"&&(Pe.type="boolean",Pe.default=Me),super(fe,Ce,Me,Pe)}validate(fe){return r(fe,this.defaultValue)}}function f(De,fe,Ce,Me){if(typeof De>"u")return fe;let Pe=parseInt(De,10);return isNaN(Pe)?fe:(Pe=Math.max(Ce,Pe),Pe=Math.min(Me,Pe),Pe|0)}e.clampedInt=f;class d extends t{static clampedInt(fe,Ce,Me,Pe){return f(fe,Ce,Me,Pe)}constructor(fe,Ce,Me,Pe,Se,_e=void 0){typeof _e<"u"&&(_e.type="integer",_e.default=Me,_e.minimum=Pe,_e.maximum=Se),super(fe,Ce,Me,_e),this.minimum=Pe,this.maximum=Se}validate(fe){return d.clampedInt(fe,this.defaultValue,this.minimum,this.maximum)}}function l(De,fe,Ce,Me){if(typeof De>"u")return fe;const Pe=o.float(De,fe);return o.clamp(Pe,Ce,Me)}e.clampedFloat=l;class o extends t{static clamp(fe,Ce,Me){return feMe?Me:fe}static float(fe,Ce){if(typeof fe=="number")return fe;if(typeof fe>"u")return Ce;const Me=parseFloat(fe);return isNaN(Me)?Ce:Me}constructor(fe,Ce,Me,Pe,Se){typeof Se<"u"&&(Se.type="number",Se.default=Me),super(fe,Ce,Me,Se),this.validationFn=Pe}validate(fe){return this.validationFn(o.float(fe,this.defaultValue))}}class c extends t{static string(fe,Ce){return typeof fe!="string"?Ce:fe}constructor(fe,Ce,Me,Pe=void 0){typeof Pe<"u"&&(Pe.type="string",Pe.default=Me),super(fe,Ce,Me,Pe)}validate(fe){return c.string(fe,this.defaultValue)}}function a(De,fe,Ce,Me){return typeof De!="string"?fe:Me&&De in Me?Me[De]:Ce.indexOf(De)===-1?fe:De}e.stringSet=a;class g extends t{constructor(fe,Ce,Me,Pe,Se=void 0){typeof Se<"u"&&(Se.type="string",Se.enum=Pe,Se.default=Me),super(fe,Ce,Me,Se),this._allowedValues=Pe}validate(fe){return a(fe,this.defaultValue,this._allowedValues)}}class h extends C{constructor(fe,Ce,Me,Pe,Se,_e,ke=void 0){typeof ke<"u"&&(ke.type="string",ke.enum=Se,ke.default=Pe),super(fe,Ce,Me,ke),this._allowedValues=Se,this._convert=_e}validate(fe){return typeof fe!="string"?this.defaultValue:this._allowedValues.indexOf(fe)===-1?this.defaultValue:this._convert(fe)}}function p(De){switch(De){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class b extends C{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m.localize(0,null),m.localize(1,null),m.localize(2,null)],default:"auto",tags:["accessibility"],description:m.localize(3,null)})}validate(fe){switch(fe){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(fe,Ce,Me){return Me===0?fe.accessibilitySupport:Me}}class w extends C{constructor(){const fe={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",fe,{"editor.comments.insertSpace":{type:"boolean",default:fe.insertSpace,description:m.localize(4,null)},"editor.comments.ignoreEmptyLines":{type:"boolean",default:fe.ignoreEmptyLines,description:m.localize(5,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{insertSpace:r(Ce.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:r(Ce.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function E(De){switch(De){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var k;(function(De){De[De.Line=1]="Line",De[De.Block=2]="Block",De[De.Underline=3]="Underline",De[De.LineThin=4]="LineThin",De[De.BlockOutline=5]="BlockOutline",De[De.UnderlineThin=6]="UnderlineThin"})(k||(e.TextEditorCursorStyle=k={}));function M(De){switch(De){case"line":return k.Line;case"block":return k.Block;case"underline":return k.Underline;case"line-thin":return k.LineThin;case"block-outline":return k.BlockOutline;case"underline-thin":return k.UnderlineThin}}class R extends n{constructor(){super(140)}compute(fe,Ce,Me){const Pe=["monaco-editor"];return Ce.get(39)&&Pe.push(Ce.get(39)),fe.extraEditorClassName&&Pe.push(fe.extraEditorClassName),Ce.get(73)==="default"?Pe.push("mouse-default"):Ce.get(73)==="copy"&&Pe.push("mouse-copy"),Ce.get(110)&&Pe.push("showUnused"),Ce.get(138)&&Pe.push("showDeprecated"),Pe.join(" ")}}class B extends u{constructor(){super(37,"emptySelectionClipboard",!0,{description:m.localize(6,null)})}compute(fe,Ce,Me){return Me&&fe.emptySelectionClipboard}}class T extends C{constructor(){const fe={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",fe,{"editor.find.cursorMoveOnType":{type:"boolean",default:fe.cursorMoveOnType,description:m.localize(7,null)},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:fe.seedSearchStringFromSelection,enumDescriptions:[m.localize(8,null),m.localize(9,null),m.localize(10,null)],description:m.localize(11,null)},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:fe.autoFindInSelection,enumDescriptions:[m.localize(12,null),m.localize(13,null),m.localize(14,null)],description:m.localize(15,null)},"editor.find.globalFindClipboard":{type:"boolean",default:fe.globalFindClipboard,description:m.localize(16,null),included:y.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:fe.addExtraSpaceOnTop,description:m.localize(17,null)},"editor.find.loop":{type:"boolean",default:fe.loop,description:m.localize(18,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{cursorMoveOnType:r(Ce.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof fe.seedSearchStringFromSelection=="boolean"?fe.seedSearchStringFromSelection?"always":"never":a(Ce.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof fe.autoFindInSelection=="boolean"?fe.autoFindInSelection?"always":"never":a(Ce.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:r(Ce.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:r(Ce.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:r(Ce.loop,this.defaultValue.loop)}}}class N extends C{constructor(){super(51,"fontLigatures",N.OFF,{anyOf:[{type:"boolean",description:m.localize(19,null)},{type:"string",description:m.localize(20,null)}],description:m.localize(21,null),default:!1})}validate(fe){return typeof fe>"u"?this.defaultValue:typeof fe=="string"?fe==="false"?N.OFF:fe==="true"?N.ON:fe:fe?N.ON:N.OFF}}e.EditorFontLigatures=N,N.OFF='"liga" off, "calt" off',N.ON='"liga" on, "calt" on';class A extends C{constructor(){super(54,"fontVariations",A.OFF,{anyOf:[{type:"boolean",description:m.localize(22,null)},{type:"string",description:m.localize(23,null)}],description:m.localize(24,null),default:!1})}validate(fe){return typeof fe>"u"?this.defaultValue:typeof fe=="string"?fe==="false"?A.OFF:fe==="true"?A.TRANSLATE:fe:fe?A.TRANSLATE:A.OFF}compute(fe,Ce,Me){return fe.fontInfo.fontVariationSettings}}e.EditorFontVariations=A,A.OFF="normal",A.TRANSLATE="translate";class P extends n{constructor(){super(50)}compute(fe,Ce,Me){return fe.fontInfo}}class O extends t{constructor(){super(52,"fontSize",e.EDITOR_FONT_DEFAULTS.fontSize,{type:"number",minimum:6,maximum:100,default:e.EDITOR_FONT_DEFAULTS.fontSize,description:m.localize(25,null)})}validate(fe){const Ce=o.float(fe,this.defaultValue);return Ce===0?e.EDITOR_FONT_DEFAULTS.fontSize:o.clamp(Ce,6,100)}compute(fe,Ce,Me){return fe.fontInfo.fontSize}}class x extends C{constructor(){super(53,"fontWeight",e.EDITOR_FONT_DEFAULTS.fontWeight,{anyOf:[{type:"number",minimum:x.MINIMUM_VALUE,maximum:x.MAXIMUM_VALUE,errorMessage:m.localize(26,null)},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:x.SUGGESTION_VALUES}],default:e.EDITOR_FONT_DEFAULTS.fontWeight,description:m.localize(27,null)})}validate(fe){return fe==="normal"||fe==="bold"?fe:String(d.clampedInt(fe,e.EDITOR_FONT_DEFAULTS.fontWeight,x.MINIMUM_VALUE,x.MAXIMUM_VALUE))}}x.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],x.MINIMUM_VALUE=1,x.MAXIMUM_VALUE=1e3;class W extends C{constructor(){const fe={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},Ce={type:"string",enum:["peek","gotoAndPeek","goto"],default:fe.multiple,enumDescriptions:[m.localize(28,null),m.localize(29,null),m.localize(30,null)]},Me=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",fe,{"editor.gotoLocation.multiple":{deprecationMessage:m.localize(31,null)},"editor.gotoLocation.multipleDefinitions":Object.assign({description:m.localize(32,null)},Ce),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:m.localize(33,null)},Ce),"editor.gotoLocation.multipleDeclarations":Object.assign({description:m.localize(34,null)},Ce),"editor.gotoLocation.multipleImplementations":Object.assign({description:m.localize(35,null)},Ce),"editor.gotoLocation.multipleReferences":Object.assign({description:m.localize(36,null)},Ce),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:fe.alternativeDefinitionCommand,enum:Me,description:m.localize(37,null)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:fe.alternativeTypeDefinitionCommand,enum:Me,description:m.localize(38,null)},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:fe.alternativeDeclarationCommand,enum:Me,description:m.localize(39,null)},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:fe.alternativeImplementationCommand,enum:Me,description:m.localize(40,null)},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:fe.alternativeReferenceCommand,enum:Me,description:m.localize(41,null)}})}validate(fe){var Ce,Me,Pe,Se,_e;if(!fe||typeof fe!="object")return this.defaultValue;const ke=fe;return{multiple:a(ke.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Ce=ke.multipleDefinitions)!==null&&Ce!==void 0?Ce:a(ke.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Me=ke.multipleTypeDefinitions)!==null&&Me!==void 0?Me:a(ke.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Pe=ke.multipleDeclarations)!==null&&Pe!==void 0?Pe:a(ke.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Se=ke.multipleImplementations)!==null&&Se!==void 0?Se:a(ke.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(_e=ke.multipleReferences)!==null&&_e!==void 0?_e:a(ke.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:c.string(ke.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:c.string(ke.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:c.string(ke.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:c.string(ke.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:c.string(ke.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class U extends C{constructor(){const fe={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",fe,{"editor.hover.enabled":{type:"boolean",default:fe.enabled,description:m.localize(42,null)},"editor.hover.delay":{type:"number",default:fe.delay,minimum:0,maximum:1e4,description:m.localize(43,null)},"editor.hover.sticky":{type:"boolean",default:fe.sticky,description:m.localize(44,null)},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:fe.hidingDelay,description:m.localize(45,null)},"editor.hover.above":{type:"boolean",default:fe.above,description:m.localize(46,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),delay:d.clampedInt(Ce.delay,this.defaultValue.delay,0,1e4),sticky:r(Ce.sticky,this.defaultValue.sticky),hidingDelay:d.clampedInt(Ce.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:r(Ce.above,this.defaultValue.above)}}}class F extends n{constructor(){super(143)}compute(fe,Ce,Me){return F.computeLayout(Ce,{memory:fe.memory,outerWidth:fe.outerWidth,outerHeight:fe.outerHeight,isDominatedByLongLines:fe.isDominatedByLongLines,lineHeight:fe.fontInfo.lineHeight,viewLineCount:fe.viewLineCount,lineNumbersDigitCount:fe.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:fe.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:fe.fontInfo.maxDigitWidth,pixelRatio:fe.pixelRatio,glyphMarginDecorationLaneCount:fe.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(fe){const Ce=fe.height/fe.lineHeight,Me=Math.floor(fe.paddingTop/fe.lineHeight);let Pe=Math.floor(fe.paddingBottom/fe.lineHeight);fe.scrollBeyondLastLine&&(Pe=Math.max(Pe,Ce-1));const Se=(Me+fe.viewLineCount+Pe)/(fe.pixelRatio*fe.height),_e=Math.floor(fe.viewLineCount/Se);return{typicalViewportLineCount:Ce,extraLinesBeforeFirstLine:Me,extraLinesBeyondLastLine:Pe,desiredRatio:Se,minimapLineCount:_e}}static _computeMinimapLayout(fe,Ce){const Me=fe.outerWidth,Pe=fe.outerHeight,Se=fe.pixelRatio;if(!fe.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Se*Pe),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:Pe};const _e=Ce.stableMinimapLayoutInput,ke=_e&&fe.outerHeight===_e.outerHeight&&fe.lineHeight===_e.lineHeight&&fe.typicalHalfwidthCharacterWidth===_e.typicalHalfwidthCharacterWidth&&fe.pixelRatio===_e.pixelRatio&&fe.scrollBeyondLastLine===_e.scrollBeyondLastLine&&fe.paddingTop===_e.paddingTop&&fe.paddingBottom===_e.paddingBottom&&fe.minimap.enabled===_e.minimap.enabled&&fe.minimap.side===_e.minimap.side&&fe.minimap.size===_e.minimap.size&&fe.minimap.showSlider===_e.minimap.showSlider&&fe.minimap.renderCharacters===_e.minimap.renderCharacters&&fe.minimap.maxColumn===_e.minimap.maxColumn&&fe.minimap.scale===_e.minimap.scale&&fe.verticalScrollbarWidth===_e.verticalScrollbarWidth&&fe.isViewportWrapping===_e.isViewportWrapping,Oe=fe.lineHeight,We=fe.typicalHalfwidthCharacterWidth,qe=fe.scrollBeyondLastLine,Ge=fe.minimap.renderCharacters;let je=Se>=2?Math.round(fe.minimap.scale*2):fe.minimap.scale;const it=fe.minimap.maxColumn,Ze=fe.minimap.size,dt=fe.minimap.side,at=fe.verticalScrollbarWidth,nt=fe.viewLineCount,Ct=fe.remainingWidth,ht=fe.isViewportWrapping,bt=Ge?2:3;let ft=Math.floor(Se*Pe);const _t=ft/Se;let He=!1,Te=!1,Fe=bt*je,Ve=je/Se,Ye=1;if(Ze==="fill"||Ze==="fit"){const{typicalViewportLineCount:Ke,extraLinesBeforeFirstLine:Xe,extraLinesBeyondLastLine:Qe,desiredRatio:rt,minimapLineCount:Je}=F.computeContainedMinimapLineCount({viewLineCount:nt,scrollBeyondLastLine:qe,paddingTop:fe.paddingTop,paddingBottom:fe.paddingBottom,height:Pe,lineHeight:Oe,pixelRatio:Se});if(nt/Je>1)He=!0,Te=!0,je=1,Fe=1,Ve=je/Se;else{let tt=!1,ct=je+1;if(Ze==="fit"){const St=Math.ceil((Xe+nt+Qe)*Fe);ht&&ke&&Ct<=Ce.stableFitRemainingWidth?(tt=!0,ct=Ce.stableFitMaxMinimapScale):tt=St>ft}if(Ze==="fill"||tt){He=!0;const St=je;Fe=Math.min(Oe*Se,Math.max(1,Math.floor(1/rt))),ht&&ke&&Ct<=Ce.stableFitRemainingWidth&&(ct=Ce.stableFitMaxMinimapScale),je=Math.min(ct,Math.max(1,Math.floor(Fe/bt))),je>St&&(Ye=Math.min(2,je/St)),Ve=je/Se/Ye,ft=Math.ceil(Math.max(Ke,Xe+nt+Qe)*Fe),ht?(Ce.stableMinimapLayoutInput=fe,Ce.stableFitRemainingWidth=Ct,Ce.stableFitMaxMinimapScale=je):(Ce.stableMinimapLayoutInput=null,Ce.stableFitRemainingWidth=0)}}}const st=Math.floor(it*Ve),ot=Math.min(st,Math.max(0,Math.floor((Ct-at-2)*Ve/(We+Ve)))+e.MINIMAP_GUTTER_WIDTH);let Ue=Math.floor(Se*ot);const Ne=Ue/Se;Ue=Math.floor(Ue*Ye);const xe=Ge?1:2,ze=dt==="left"?0:Me-ot-at;return{renderMinimap:xe,minimapLeft:ze,minimapWidth:ot,minimapHeightIsEditorHeight:He,minimapIsSampling:Te,minimapScale:je,minimapLineHeight:Fe,minimapCanvasInnerWidth:Ue,minimapCanvasInnerHeight:ft,minimapCanvasOuterWidth:Ne,minimapCanvasOuterHeight:_t}}static computeLayout(fe,Ce){const Me=Ce.outerWidth|0,Pe=Ce.outerHeight|0,Se=Ce.lineHeight|0,_e=Ce.lineNumbersDigitCount|0,ke=Ce.typicalHalfwidthCharacterWidth,Oe=Ce.maxDigitWidth,We=Ce.pixelRatio,qe=Ce.viewLineCount,Ge=fe.get(135),je=Ge==="inherit"?fe.get(134):Ge,it=je==="inherit"?fe.get(130):je,Ze=fe.get(133),dt=Ce.isDominatedByLongLines,at=fe.get(57),nt=fe.get(67).renderType!==0,Ct=fe.get(68),ht=fe.get(104),bt=fe.get(83),ft=fe.get(72),_t=fe.get(102),He=_t.verticalScrollbarSize,Te=_t.verticalHasArrows,Fe=_t.arrowSize,Ve=_t.horizontalScrollbarSize,Ye=fe.get(43),st=fe.get(109)!=="never";let ot=fe.get(65);Ye&&st&&(ot+=16);let Ue=0;if(nt){const wt=Math.max(_e,Ct);Ue=Math.round(wt*Oe)}let Ne=0;at&&(Ne=Se*Ce.glyphMarginDecorationLaneCount);let xe=0,ze=xe+Ne,Ke=ze+Ue,Xe=Ke+ot;const Qe=Me-Ne-Ue-ot;let rt=!1,Je=!1,et=-1;je==="inherit"&&dt?(rt=!0,Je=!0):it==="on"||it==="bounded"?Je=!0:it==="wordWrapColumn"&&(et=Ze);const tt=F._computeMinimapLayout({outerWidth:Me,outerHeight:Pe,lineHeight:Se,typicalHalfwidthCharacterWidth:ke,pixelRatio:We,scrollBeyondLastLine:ht,paddingTop:bt.top,paddingBottom:bt.bottom,minimap:ft,verticalScrollbarWidth:He,viewLineCount:qe,remainingWidth:Qe,isViewportWrapping:Je},Ce.memory||new v);tt.renderMinimap!==0&&tt.minimapLeft===0&&(xe+=tt.minimapWidth,ze+=tt.minimapWidth,Ke+=tt.minimapWidth,Xe+=tt.minimapWidth);const ct=Qe-tt.minimapWidth,St=Math.max(1,Math.floor((ct-He-2)/ke)),lt=Te?Fe:0;return Je&&(et=Math.max(1,St),it==="bounded"&&(et=Math.min(et,Ze))),{width:Me,height:Pe,glyphMarginLeft:xe,glyphMarginWidth:Ne,glyphMarginDecorationLaneCount:Ce.glyphMarginDecorationLaneCount,lineNumbersLeft:ze,lineNumbersWidth:Ue,decorationsLeft:Ke,decorationsWidth:ot,contentLeft:Xe,contentWidth:ct,minimap:tt,viewportColumn:St,isWordWrapMinified:rt,isViewportWrapping:Je,wrappingColumn:et,verticalScrollbarWidth:He,horizontalScrollbarHeight:Ve,overviewRuler:{top:lt,width:He,height:Pe-2*lt,right:0}}}}e.EditorLayoutInfoComputer=F;class G extends C{constructor(){super(137,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m.localize(47,null),m.localize(48,null)],type:"string",enum:["simple","advanced"],default:"simple",description:m.localize(49,null)}})}validate(fe){return a(fe,"simple",["simple","advanced"])}compute(fe,Ce,Me){return Ce.get(2)===2?"advanced":Me}}class Y extends C{constructor(){const fe={enabled:!0};super(64,"lightbulb",fe,{"editor.lightbulb.enabled":{type:"boolean",default:fe.enabled,description:m.localize(50,null)}})}validate(fe){return!fe||typeof fe!="object"?this.defaultValue:{enabled:r(fe.enabled,this.defaultValue.enabled)}}}class ne extends C{constructor(){const fe={enabled:!1,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(114,"stickyScroll",fe,{"editor.stickyScroll.enabled":{type:"boolean",default:fe.enabled,description:m.localize(51,null)},"editor.stickyScroll.maxLineCount":{type:"number",default:fe.maxLineCount,minimum:1,maximum:10,description:m.localize(52,null)},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:fe.defaultModel,description:m.localize(53,null)},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:fe.scrollWithEditor,description:m.localize(54,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),maxLineCount:d.clampedInt(Ce.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:a(Ce.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:r(Ce.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class se extends C{constructor(){const fe={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(139,"inlayHints",fe,{"editor.inlayHints.enabled":{type:"string",default:fe.enabled,description:m.localize(55,null),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m.localize(56,null),m.localize(57,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),m.localize(58,null,y.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),m.localize(59,null)]},"editor.inlayHints.fontSize":{type:"number",default:fe.fontSize,markdownDescription:m.localize(60,null,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:fe.fontFamily,markdownDescription:m.localize(61,null,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:fe.padding,description:m.localize(62,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return typeof Ce.enabled=="boolean"&&(Ce.enabled=Ce.enabled?"on":"off"),{enabled:a(Ce.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:d.clampedInt(Ce.fontSize,this.defaultValue.fontSize,0,100),fontFamily:c.string(Ce.fontFamily,this.defaultValue.fontFamily),padding:r(Ce.padding,this.defaultValue.padding)}}}class J extends C{constructor(){super(65,"lineDecorationsWidth",10)}validate(fe){return typeof fe=="string"&&/^\d+(\.\d+)?ch$/.test(fe)?-parseFloat(fe.substring(0,fe.length-2)):d.clampedInt(fe,this.defaultValue,0,1e3)}compute(fe,Ce,Me){return Me<0?d.clampedInt(-Me*fe.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):Me}}class q extends o{constructor(){super(66,"lineHeight",e.EDITOR_FONT_DEFAULTS.lineHeight,fe=>o.clamp(fe,0,150),{markdownDescription:m.localize(63,null)})}compute(fe,Ce,Me){return fe.fontInfo.lineHeight}}class H extends C{constructor(){const fe={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(72,"minimap",fe,{"editor.minimap.enabled":{type:"boolean",default:fe.enabled,description:m.localize(64,null)},"editor.minimap.autohide":{type:"boolean",default:fe.autohide,description:m.localize(65,null)},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m.localize(66,null),m.localize(67,null),m.localize(68,null)],default:fe.size,description:m.localize(69,null)},"editor.minimap.side":{type:"string",enum:["left","right"],default:fe.side,description:m.localize(70,null)},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:fe.showSlider,description:m.localize(71,null)},"editor.minimap.scale":{type:"number",default:fe.scale,minimum:1,maximum:3,enum:[1,2,3],description:m.localize(72,null)},"editor.minimap.renderCharacters":{type:"boolean",default:fe.renderCharacters,description:m.localize(73,null)},"editor.minimap.maxColumn":{type:"number",default:fe.maxColumn,description:m.localize(74,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),autohide:r(Ce.autohide,this.defaultValue.autohide),size:a(Ce.size,this.defaultValue.size,["proportional","fill","fit"]),side:a(Ce.side,this.defaultValue.side,["right","left"]),showSlider:a(Ce.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:r(Ce.renderCharacters,this.defaultValue.renderCharacters),scale:d.clampedInt(Ce.scale,1,1,3),maxColumn:d.clampedInt(Ce.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function V(De){return De==="ctrlCmd"?y.isMacintosh?"metaKey":"ctrlKey":"altKey"}class Z extends C{constructor(){super(83,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m.localize(75,null)},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m.localize(76,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{top:d.clampedInt(Ce.top,0,0,1e3),bottom:d.clampedInt(Ce.bottom,0,0,1e3)}}}class ee extends C{constructor(){const fe={enabled:!0,cycle:!0};super(85,"parameterHints",fe,{"editor.parameterHints.enabled":{type:"boolean",default:fe.enabled,description:m.localize(77,null)},"editor.parameterHints.cycle":{type:"boolean",default:fe.cycle,description:m.localize(78,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),cycle:r(Ce.cycle,this.defaultValue.cycle)}}}class le extends n{constructor(){super(141)}compute(fe,Ce,Me){return fe.pixelRatio}}class ue extends C{constructor(){const fe={other:"on",comments:"off",strings:"off"},Ce=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m.localize(79,null),m.localize(80,null),m.localize(81,null)]}];super(88,"quickSuggestions",fe,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:Ce,default:fe.strings,description:m.localize(82,null)},comments:{anyOf:Ce,default:fe.comments,description:m.localize(83,null)},other:{anyOf:Ce,default:fe.other,description:m.localize(84,null)}},default:fe,markdownDescription:m.localize(85,null,"#editor.suggestOnTriggerCharacters#")}),this.defaultValue=fe}validate(fe){if(typeof fe=="boolean"){const We=fe?"on":"off";return{comments:We,strings:We,other:We}}if(!fe||typeof fe!="object")return this.defaultValue;const{other:Ce,comments:Me,strings:Pe}=fe,Se=["on","inline","off"];let _e,ke,Oe;return typeof Ce=="boolean"?_e=Ce?"on":"off":_e=a(Ce,this.defaultValue.other,Se),typeof Me=="boolean"?ke=Me?"on":"off":ke=a(Me,this.defaultValue.comments,Se),typeof Pe=="boolean"?Oe=Pe?"on":"off":Oe=a(Pe,this.defaultValue.strings,Se),{other:_e,comments:ke,strings:Oe}}}class de extends C{constructor(){super(67,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m.localize(86,null),m.localize(87,null),m.localize(88,null),m.localize(89,null)],default:"on",description:m.localize(90,null)})}validate(fe){let Ce=this.defaultValue.renderType,Me=this.defaultValue.renderFn;return typeof fe<"u"&&(typeof fe=="function"?(Ce=4,Me=fe):fe==="interval"?Ce=3:fe==="relative"?Ce=2:fe==="on"?Ce=1:Ce=0),{renderType:Ce,renderFn:Me}}}function ce(De){const fe=De.get(97);return fe==="editable"?De.get(90):fe!=="on"}e.filterValidationDecorations=ce;class ae extends C{constructor(){const fe=[],Ce={type:"number",description:m.localize(91,null)};super(101,"rulers",fe,{type:"array",items:{anyOf:[Ce,{type:["object"],properties:{column:Ce,color:{type:"string",description:m.localize(92,null),format:"color-hex"}}}]},default:fe,description:m.localize(93,null)})}validate(fe){if(Array.isArray(fe)){const Ce=[];for(const Me of fe)if(typeof Me=="number")Ce.push({column:d.clampedInt(Me,0,0,1e4),color:null});else if(Me&&typeof Me=="object"){const Pe=Me;Ce.push({column:d.clampedInt(Pe.column,0,0,1e4),color:Pe.color})}return Ce.sort((Me,Pe)=>Me.column-Pe.column),Ce}return this.defaultValue}}class X extends C{constructor(){super(91,"readOnlyMessage",void 0)}validate(fe){return!fe||typeof fe!="object"?this.defaultValue:fe}}function K(De,fe){if(typeof De!="string")return fe;switch(De){case"hidden":return 2;case"visible":return 3;default:return 1}}class z extends C{constructor(){const fe={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(102,"scrollbar",fe,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m.localize(94,null),m.localize(95,null),m.localize(96,null)],default:"auto",description:m.localize(97,null)},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m.localize(98,null),m.localize(99,null),m.localize(100,null)],default:"auto",description:m.localize(101,null)},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:fe.verticalScrollbarSize,description:m.localize(102,null)},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:fe.horizontalScrollbarSize,description:m.localize(103,null)},"editor.scrollbar.scrollByPage":{type:"boolean",default:fe.scrollByPage,description:m.localize(104,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe,Me=d.clampedInt(Ce.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),Pe=d.clampedInt(Ce.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:d.clampedInt(Ce.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:K(Ce.vertical,this.defaultValue.vertical),horizontal:K(Ce.horizontal,this.defaultValue.horizontal),useShadows:r(Ce.useShadows,this.defaultValue.useShadows),verticalHasArrows:r(Ce.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:r(Ce.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:r(Ce.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:r(Ce.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:Me,horizontalSliderSize:d.clampedInt(Ce.horizontalSliderSize,Me,0,1e3),verticalScrollbarSize:Pe,verticalSliderSize:d.clampedInt(Ce.verticalSliderSize,Pe,0,1e3),scrollByPage:r(Ce.scrollByPage,this.defaultValue.scrollByPage)}}}e.inUntrustedWorkspace="inUntrustedWorkspace",e.unicodeHighlightConfigKeys={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class Q extends C{constructor(){const fe={nonBasicASCII:e.inUntrustedWorkspace,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:e.inUntrustedWorkspace,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(124,"unicodeHighlight",fe,{[e.unicodeHighlightConfigKeys.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:fe.nonBasicASCII,description:m.localize(105,null)},[e.unicodeHighlightConfigKeys.invisibleCharacters]:{restricted:!0,type:"boolean",default:fe.invisibleCharacters,description:m.localize(106,null)},[e.unicodeHighlightConfigKeys.ambiguousCharacters]:{restricted:!0,type:"boolean",default:fe.ambiguousCharacters,description:m.localize(107,null)},[e.unicodeHighlightConfigKeys.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:fe.includeComments,description:m.localize(108,null)},[e.unicodeHighlightConfigKeys.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,e.inUntrustedWorkspace],default:fe.includeStrings,description:m.localize(109,null)},[e.unicodeHighlightConfigKeys.allowedCharacters]:{restricted:!0,type:"object",default:fe.allowedCharacters,description:m.localize(110,null),additionalProperties:{type:"boolean"}},[e.unicodeHighlightConfigKeys.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:fe.allowedLocales,description:m.localize(111,null)}})}applyUpdate(fe,Ce){let Me=!1;Ce.allowedCharacters&&fe&&(I.equals(fe.allowedCharacters,Ce.allowedCharacters)||(fe=Object.assign(Object.assign({},fe),{allowedCharacters:Ce.allowedCharacters}),Me=!0)),Ce.allowedLocales&&fe&&(I.equals(fe.allowedLocales,Ce.allowedLocales)||(fe=Object.assign(Object.assign({},fe),{allowedLocales:Ce.allowedLocales}),Me=!0));const Pe=super.applyUpdate(fe,Ce);return Me?new s(Pe.newValue,!0):Pe}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{nonBasicASCII:he(Ce.nonBasicASCII,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),invisibleCharacters:r(Ce.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:r(Ce.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:he(Ce.includeComments,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),includeStrings:he(Ce.includeStrings,e.inUntrustedWorkspace,[!0,!1,e.inUntrustedWorkspace]),allowedCharacters:this.validateBooleanMap(fe.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(fe.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(fe,Ce){if(typeof fe!="object"||!fe)return Ce;const Me={};for(const[Pe,Se]of Object.entries(fe))Se===!0&&(Me[Pe]=!0);return Me}}class j extends C{constructor(){const fe={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1};super(62,"inlineSuggest",fe,{"editor.inlineSuggest.enabled":{type:"boolean",default:fe.enabled,description:m.localize(112,null)},"editor.inlineSuggest.showToolbar":{type:"string",default:fe.showToolbar,enum:["always","onHover"],enumDescriptions:[m.localize(113,null),m.localize(114,null)],description:m.localize(115,null)},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:fe.suppressSuggestions,description:m.localize(116,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),mode:a(Ce.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:a(Ce.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:r(Ce.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:r(Ce.keepOnBlur,this.defaultValue.keepOnBlur)}}}class re extends C{constructor(){const fe={enabled:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:D.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",fe,{"editor.bracketPairColorization.enabled":{type:"boolean",default:fe.enabled,markdownDescription:m.localize(117,null,"`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:fe.independentColorPoolPerBracketType,description:m.localize(118,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:r(Ce.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class oe extends C{constructor(){const fe={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",fe,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m.localize(119,null),m.localize(120,null),m.localize(121,null)],default:fe.bracketPairs,description:m.localize(122,null)},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m.localize(123,null),m.localize(124,null),m.localize(125,null)],default:fe.bracketPairsHorizontal,description:m.localize(126,null)},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:fe.highlightActiveBracketPair,description:m.localize(127,null)},"editor.guides.indentation":{type:"boolean",default:fe.indentation,description:m.localize(128,null)},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m.localize(129,null),m.localize(130,null),m.localize(131,null)],default:fe.highlightActiveIndentation,description:m.localize(132,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{bracketPairs:he(Ce.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:he(Ce.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:r(Ce.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:r(Ce.indentation,this.defaultValue.indentation),highlightActiveIndentation:he(Ce.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function he(De,fe,Ce){const Me=Ce.indexOf(De);return Me===-1?fe:Ce[Me]}class me extends C{constructor(){const fe={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(117,"suggest",fe,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m.localize(133,null),m.localize(134,null)],default:fe.insertMode,description:m.localize(135,null)},"editor.suggest.filterGraceful":{type:"boolean",default:fe.filterGraceful,description:m.localize(136,null)},"editor.suggest.localityBonus":{type:"boolean",default:fe.localityBonus,description:m.localize(137,null)},"editor.suggest.shareSuggestSelections":{type:"boolean",default:fe.shareSuggestSelections,markdownDescription:m.localize(138,null)},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m.localize(139,null),m.localize(140,null),m.localize(141,null),m.localize(142,null)],default:fe.selectionMode,markdownDescription:m.localize(143,null)},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:fe.snippetsPreventQuickSuggestions,description:m.localize(144,null)},"editor.suggest.showIcons":{type:"boolean",default:fe.showIcons,description:m.localize(145,null)},"editor.suggest.showStatusBar":{type:"boolean",default:fe.showStatusBar,description:m.localize(146,null)},"editor.suggest.preview":{type:"boolean",default:fe.preview,description:m.localize(147,null)},"editor.suggest.showInlineDetails":{type:"boolean",default:fe.showInlineDetails,description:m.localize(148,null)},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m.localize(149,null)},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m.localize(150,null)},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m.localize(151,null)},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m.localize(152,null)},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m.localize(153,null)},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m.localize(154,null)},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m.localize(155,null)},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m.localize(156,null)},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m.localize(157,null)},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m.localize(158,null)},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m.localize(159,null)},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m.localize(160,null)},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m.localize(161,null)},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m.localize(162,null)},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m.localize(163,null)},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m.localize(164,null)},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m.localize(165,null)},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m.localize(166,null)},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m.localize(167,null)},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m.localize(168,null)},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m.localize(169,null)},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m.localize(170,null)},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m.localize(171,null)},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m.localize(172,null)},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m.localize(173,null)},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m.localize(174,null)},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m.localize(175,null)},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m.localize(176,null)},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m.localize(177,null)},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m.localize(178,null)},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m.localize(179,null)},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m.localize(180,null)}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{insertMode:a(Ce.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:r(Ce.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:r(Ce.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:r(Ce.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:r(Ce.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:a(Ce.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:r(Ce.showIcons,this.defaultValue.showIcons),showStatusBar:r(Ce.showStatusBar,this.defaultValue.showStatusBar),preview:r(Ce.preview,this.defaultValue.preview),previewMode:a(Ce.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:r(Ce.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:r(Ce.showMethods,this.defaultValue.showMethods),showFunctions:r(Ce.showFunctions,this.defaultValue.showFunctions),showConstructors:r(Ce.showConstructors,this.defaultValue.showConstructors),showDeprecated:r(Ce.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:r(Ce.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:r(Ce.showFields,this.defaultValue.showFields),showVariables:r(Ce.showVariables,this.defaultValue.showVariables),showClasses:r(Ce.showClasses,this.defaultValue.showClasses),showStructs:r(Ce.showStructs,this.defaultValue.showStructs),showInterfaces:r(Ce.showInterfaces,this.defaultValue.showInterfaces),showModules:r(Ce.showModules,this.defaultValue.showModules),showProperties:r(Ce.showProperties,this.defaultValue.showProperties),showEvents:r(Ce.showEvents,this.defaultValue.showEvents),showOperators:r(Ce.showOperators,this.defaultValue.showOperators),showUnits:r(Ce.showUnits,this.defaultValue.showUnits),showValues:r(Ce.showValues,this.defaultValue.showValues),showConstants:r(Ce.showConstants,this.defaultValue.showConstants),showEnums:r(Ce.showEnums,this.defaultValue.showEnums),showEnumMembers:r(Ce.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:r(Ce.showKeywords,this.defaultValue.showKeywords),showWords:r(Ce.showWords,this.defaultValue.showWords),showColors:r(Ce.showColors,this.defaultValue.showColors),showFiles:r(Ce.showFiles,this.defaultValue.showFiles),showReferences:r(Ce.showReferences,this.defaultValue.showReferences),showFolders:r(Ce.showFolders,this.defaultValue.showFolders),showTypeParameters:r(Ce.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:r(Ce.showSnippets,this.defaultValue.showSnippets),showUsers:r(Ce.showUsers,this.defaultValue.showUsers),showIssues:r(Ce.showIssues,this.defaultValue.showIssues)}}}class pe extends C{constructor(){super(112,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m.localize(181,null),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m.localize(182,null),default:!0,type:"boolean"}})}validate(fe){return!fe||typeof fe!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:r(fe.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:r(fe.selectSubwords,this.defaultValue.selectSubwords)}}}class ve extends C{constructor(){super(136,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m.localize(183,null),m.localize(184,null),m.localize(185,null),m.localize(186,null)],description:m.localize(187,null),default:"same"}})}validate(fe){switch(fe){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(fe,Ce,Me){return Ce.get(2)===2?0:Me}}class we extends n{constructor(){super(144)}compute(fe,Ce,Me){const Pe=Ce.get(143);return{isDominatedByLongLines:fe.isDominatedByLongLines,isWordWrapMinified:Pe.isWordWrapMinified,isViewportWrapping:Pe.isViewportWrapping,wrappingColumn:Pe.wrappingColumn}}}class Le extends C{constructor(){const fe={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",fe,{"editor.dropIntoEditor.enabled":{type:"boolean",default:fe.enabled,markdownDescription:m.localize(188,null)},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m.localize(189,null),enum:["afterDrop","never"],enumDescriptions:[m.localize(190,null),m.localize(191,null)],default:"afterDrop"}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),showDropSelector:a(Ce.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class Ee extends C{constructor(){const fe={enabled:!0,showPasteSelector:"afterPaste"};super(84,"pasteAs",fe,{"editor.pasteAs.enabled":{type:"boolean",default:fe.enabled,markdownDescription:m.localize(192,null)},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m.localize(193,null),enum:["afterPaste","never"],enumDescriptions:[m.localize(194,null),m.localize(195,null)],default:"afterPaste"}})}validate(fe){if(!fe||typeof fe!="object")return this.defaultValue;const Ce=fe;return{enabled:r(Ce.enabled,this.defaultValue.enabled),showPasteSelector:a(Ce.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const Ae="Consolas, 'Courier New', monospace",Re="Menlo, Monaco, 'Courier New', monospace",Be="'Droid Sans Mono', 'monospace', monospace";e.EDITOR_FONT_DEFAULTS={fontFamily:y.isMacintosh?Re:y.isLinux?Be:Ae,fontWeight:"normal",fontSize:y.isMacintosh?12:14,lineHeight:0,letterSpacing:0},e.editorOptionsRegistry=[];function ye(De){return e.editorOptionsRegistry[De.id]=De,De}e.EditorOptions={acceptSuggestionOnCommitCharacter:ye(new u(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m.localize(196,null)})),acceptSuggestionOnEnter:ye(new g(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m.localize(197,null),""],markdownDescription:m.localize(198,null)})),accessibilitySupport:ye(new b),accessibilityPageSize:ye(new d(3,"accessibilityPageSize",10,1,1073741824,{description:m.localize(199,null),tags:["accessibility"]})),ariaLabel:ye(new c(4,"ariaLabel",m.localize(200,null))),ariaRequired:ye(new u(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:ye(new u(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m.localize(201,null),tags:["accessibility"]})),autoClosingBrackets:ye(new g(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m.localize(202,null),m.localize(203,null),""],description:m.localize(204,null)})),autoClosingComments:ye(new g(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m.localize(205,null),m.localize(206,null),""],description:m.localize(207,null)})),autoClosingDelete:ye(new g(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m.localize(208,null),""],description:m.localize(209,null)})),autoClosingOvertype:ye(new g(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m.localize(210,null),""],description:m.localize(211,null)})),autoClosingQuotes:ye(new g(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m.localize(212,null),m.localize(213,null),""],description:m.localize(214,null)})),autoIndent:ye(new h(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],p,{enumDescriptions:[m.localize(215,null),m.localize(216,null),m.localize(217,null),m.localize(218,null),m.localize(219,null)],description:m.localize(220,null)})),automaticLayout:ye(new u(13,"automaticLayout",!1)),autoSurround:ye(new g(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m.localize(221,null),m.localize(222,null),m.localize(223,null),""],description:m.localize(224,null)})),bracketPairColorization:ye(new re),bracketPairGuides:ye(new oe),stickyTabStops:ye(new u(115,"stickyTabStops",!1,{description:m.localize(225,null)})),codeLens:ye(new u(17,"codeLens",!0,{description:m.localize(226,null)})),codeLensFontFamily:ye(new c(18,"codeLensFontFamily","",{description:m.localize(227,null)})),codeLensFontSize:ye(new d(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m.localize(228,null)})),colorDecorators:ye(new u(20,"colorDecorators",!0,{description:m.localize(229,null)})),colorDecoratorActivatedOn:ye(new g(146,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m.localize(230,null),m.localize(231,null),m.localize(232,null)],description:m.localize(233,null)})),colorDecoratorsLimit:ye(new d(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m.localize(234,null)})),columnSelection:ye(new u(22,"columnSelection",!1,{description:m.localize(235,null)})),comments:ye(new w),contextmenu:ye(new u(24,"contextmenu",!0)),copyWithSyntaxHighlighting:ye(new u(25,"copyWithSyntaxHighlighting",!0,{description:m.localize(236,null)})),cursorBlinking:ye(new h(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],E,{description:m.localize(237,null)})),cursorSmoothCaretAnimation:ye(new g(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m.localize(238,null),m.localize(239,null),m.localize(240,null)],description:m.localize(241,null)})),cursorStyle:ye(new h(28,"cursorStyle",k.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],M,{description:m.localize(242,null)})),cursorSurroundingLines:ye(new d(29,"cursorSurroundingLines",0,0,1073741824,{description:m.localize(243,null)})),cursorSurroundingLinesStyle:ye(new g(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m.localize(244,null),m.localize(245,null)],markdownDescription:m.localize(246,null)})),cursorWidth:ye(new d(31,"cursorWidth",0,0,1073741824,{markdownDescription:m.localize(247,null)})),disableLayerHinting:ye(new u(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:ye(new u(33,"disableMonospaceOptimizations",!1)),domReadOnly:ye(new u(34,"domReadOnly",!1)),dragAndDrop:ye(new u(35,"dragAndDrop",!0,{description:m.localize(248,null)})),emptySelectionClipboard:ye(new B),dropIntoEditor:ye(new Le),stickyScroll:ye(new ne),experimentalWhitespaceRendering:ye(new g(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m.localize(249,null),m.localize(250,null),m.localize(251,null)],description:m.localize(252,null)})),extraEditorClassName:ye(new c(39,"extraEditorClassName","")),fastScrollSensitivity:ye(new o(40,"fastScrollSensitivity",5,De=>De<=0?5:De,{markdownDescription:m.localize(253,null)})),find:ye(new T),fixedOverflowWidgets:ye(new u(42,"fixedOverflowWidgets",!1)),folding:ye(new u(43,"folding",!0,{description:m.localize(254,null)})),foldingStrategy:ye(new g(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m.localize(255,null),m.localize(256,null)],description:m.localize(257,null)})),foldingHighlight:ye(new u(45,"foldingHighlight",!0,{description:m.localize(258,null)})),foldingImportsByDefault:ye(new u(46,"foldingImportsByDefault",!1,{description:m.localize(259,null)})),foldingMaximumRegions:ye(new d(47,"foldingMaximumRegions",5e3,10,65e3,{description:m.localize(260,null)})),unfoldOnClickAfterEndOfLine:ye(new u(48,"unfoldOnClickAfterEndOfLine",!1,{description:m.localize(261,null)})),fontFamily:ye(new c(49,"fontFamily",e.EDITOR_FONT_DEFAULTS.fontFamily,{description:m.localize(262,null)})),fontInfo:ye(new P),fontLigatures2:ye(new N),fontSize:ye(new O),fontWeight:ye(new x),fontVariations:ye(new A),formatOnPaste:ye(new u(55,"formatOnPaste",!1,{description:m.localize(263,null)})),formatOnType:ye(new u(56,"formatOnType",!1,{description:m.localize(264,null)})),glyphMargin:ye(new u(57,"glyphMargin",!0,{description:m.localize(265,null)})),gotoLocation:ye(new W),hideCursorInOverviewRuler:ye(new u(59,"hideCursorInOverviewRuler",!1,{description:m.localize(266,null)})),hover:ye(new U),inDiffEditor:ye(new u(61,"inDiffEditor",!1)),letterSpacing:ye(new o(63,"letterSpacing",e.EDITOR_FONT_DEFAULTS.letterSpacing,De=>o.clamp(De,-5,20),{description:m.localize(267,null)})),lightbulb:ye(new Y),lineDecorationsWidth:ye(new J),lineHeight:ye(new q),lineNumbers:ye(new de),lineNumbersMinChars:ye(new d(68,"lineNumbersMinChars",5,1,300)),linkedEditing:ye(new u(69,"linkedEditing",!1,{description:m.localize(268,null)})),links:ye(new u(70,"links",!0,{description:m.localize(269,null)})),matchBrackets:ye(new g(71,"matchBrackets","always",["always","near","never"],{description:m.localize(270,null)})),minimap:ye(new H),mouseStyle:ye(new g(73,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ye(new o(74,"mouseWheelScrollSensitivity",1,De=>De===0?1:De,{markdownDescription:m.localize(271,null)})),mouseWheelZoom:ye(new u(75,"mouseWheelZoom",!1,{markdownDescription:m.localize(272,null)})),multiCursorMergeOverlapping:ye(new u(76,"multiCursorMergeOverlapping",!0,{description:m.localize(273,null)})),multiCursorModifier:ye(new h(77,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],V,{markdownEnumDescriptions:[m.localize(274,null),m.localize(275,null)],markdownDescription:m.localize(276,null)})),multiCursorPaste:ye(new g(78,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m.localize(277,null),m.localize(278,null)],markdownDescription:m.localize(279,null)})),multiCursorLimit:ye(new d(79,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m.localize(280,null)})),occurrencesHighlight:ye(new u(80,"occurrencesHighlight",!0,{description:m.localize(281,null)})),overviewRulerBorder:ye(new u(81,"overviewRulerBorder",!0,{description:m.localize(282,null)})),overviewRulerLanes:ye(new d(82,"overviewRulerLanes",3,0,3)),padding:ye(new Z),pasteAs:ye(new Ee),parameterHints:ye(new ee),peekWidgetDefaultFocus:ye(new g(86,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m.localize(283,null),m.localize(284,null)],description:m.localize(285,null)})),definitionLinkOpensInPeek:ye(new u(87,"definitionLinkOpensInPeek",!1,{description:m.localize(286,null)})),quickSuggestions:ye(new ue),quickSuggestionsDelay:ye(new d(89,"quickSuggestionsDelay",10,0,1073741824,{description:m.localize(287,null)})),readOnly:ye(new u(90,"readOnly",!1)),readOnlyMessage:ye(new X),renameOnType:ye(new u(92,"renameOnType",!1,{description:m.localize(288,null),markdownDeprecationMessage:m.localize(289,null)})),renderControlCharacters:ye(new u(93,"renderControlCharacters",!0,{description:m.localize(290,null),restricted:!0})),renderFinalNewline:ye(new g(94,"renderFinalNewline",y.isLinux?"dimmed":"on",["off","on","dimmed"],{description:m.localize(291,null)})),renderLineHighlight:ye(new g(95,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m.localize(292,null)],description:m.localize(293,null)})),renderLineHighlightOnlyWhenFocus:ye(new u(96,"renderLineHighlightOnlyWhenFocus",!1,{description:m.localize(294,null)})),renderValidationDecorations:ye(new g(97,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ye(new g(98,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m.localize(295,null),m.localize(296,null),m.localize(297,null),""],description:m.localize(298,null)})),revealHorizontalRightPadding:ye(new d(99,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:ye(new u(100,"roundedSelection",!0,{description:m.localize(299,null)})),rulers:ye(new ae),scrollbar:ye(new z),scrollBeyondLastColumn:ye(new d(103,"scrollBeyondLastColumn",4,0,1073741824,{description:m.localize(300,null)})),scrollBeyondLastLine:ye(new u(104,"scrollBeyondLastLine",!0,{description:m.localize(301,null)})),scrollPredominantAxis:ye(new u(105,"scrollPredominantAxis",!0,{description:m.localize(302,null)})),selectionClipboard:ye(new u(106,"selectionClipboard",!0,{description:m.localize(303,null),included:y.isLinux})),selectionHighlight:ye(new u(107,"selectionHighlight",!0,{description:m.localize(304,null)})),selectOnLineNumbers:ye(new u(108,"selectOnLineNumbers",!0)),showFoldingControls:ye(new g(109,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m.localize(305,null),m.localize(306,null),m.localize(307,null)],description:m.localize(308,null)})),showUnused:ye(new u(110,"showUnused",!0,{description:m.localize(309,null)})),showDeprecated:ye(new u(138,"showDeprecated",!0,{description:m.localize(310,null)})),inlayHints:ye(new se),snippetSuggestions:ye(new g(111,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m.localize(311,null),m.localize(312,null),m.localize(313,null),m.localize(314,null)],description:m.localize(315,null)})),smartSelect:ye(new pe),smoothScrolling:ye(new u(113,"smoothScrolling",!1,{description:m.localize(316,null)})),stopRenderingLineAfter:ye(new d(116,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ye(new me),inlineSuggest:ye(new j),inlineCompletionsAccessibilityVerbose:ye(new u(147,"inlineCompletionsAccessibilityVerbose",!1,{description:m.localize(317,null)})),suggestFontSize:ye(new d(118,"suggestFontSize",0,0,1e3,{markdownDescription:m.localize(318,null,"`0`","`#editor.fontSize#`")})),suggestLineHeight:ye(new d(119,"suggestLineHeight",0,0,1e3,{markdownDescription:m.localize(319,null,"`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:ye(new u(120,"suggestOnTriggerCharacters",!0,{description:m.localize(320,null)})),suggestSelection:ye(new g(121,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m.localize(321,null),m.localize(322,null),m.localize(323,null)],description:m.localize(324,null)})),tabCompletion:ye(new g(122,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m.localize(325,null),m.localize(326,null),m.localize(327,null)],description:m.localize(328,null)})),tabIndex:ye(new d(123,"tabIndex",0,-1,1073741824)),unicodeHighlight:ye(new Q),unusualLineTerminators:ye(new g(125,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m.localize(329,null),m.localize(330,null),m.localize(331,null)],description:m.localize(332,null)})),useShadowDOM:ye(new u(126,"useShadowDOM",!0)),useTabStops:ye(new u(127,"useTabStops",!0,{description:m.localize(333,null)})),wordBreak:ye(new g(128,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m.localize(334,null),m.localize(335,null)],description:m.localize(336,null)})),wordSeparators:ye(new c(129,"wordSeparators",S.USUAL_WORD_SEPARATORS,{description:m.localize(337,null)})),wordWrap:ye(new g(130,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m.localize(338,null),m.localize(339,null),m.localize(340,null),m.localize(341,null)],description:m.localize(342,null)})),wordWrapBreakAfterCharacters:ye(new c(131,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:ye(new c(132,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:ye(new d(133,"wordWrapColumn",80,1,1073741824,{markdownDescription:m.localize(343,null)})),wordWrapOverride1:ye(new g(134,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ye(new g(135,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:ye(new R),defaultColorDecorators:ye(new u(145,"defaultColorDecorators",!1,{markdownDescription:m.localize(344,null)})),pixelRatio:ye(new le),tabFocusMode:ye(new u(142,"tabFocusMode",!1,{markdownDescription:m.localize(345,null)})),layoutInfo:ye(new F),wrappingInfo:ye(new we),wrappingIndent:ye(new ve),wrappingStrategy:ye(new G)}}),define(te[620],ie([1,0,7,38,10,70,39,12,5,198]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursor=void 0;class C{constructor(n,t,r,u,f,d,l){this.top=n,this.left=t,this.paddingLeft=r,this.width=u,this.height=f,this.textContent=d,this.textContentClassName=l}}class s{constructor(n){this._context=n;const t=this._context.configuration.options,r=t.get(50);this._cursorStyle=t.get(28),this._lineHeight=t.get(66),this._typicalHalfwidthCharacterWidth=r.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,I.createFastDomNode)(document.createElement("div")),this._domNode.setClassName(`cursor ${v.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,D.applyFontInfo)(this._domNode,r),this._domNode.setDisplay("none"),this._position=new m.Position(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(n){const t=this._context.configuration.options,r=t.get(50);return this._cursorStyle=t.get(28),this._lineHeight=t.get(66),this._typicalHalfwidthCharacterWidth=r.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),(0,D.applyFontInfo)(this._domNode,r),!0}onCursorPositionChanged(n,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=n,!0}_getGraphemeAwarePosition(){const{lineNumber:n,column:t}=this._position,r=this._context.viewModel.getLineContent(n),[u,f]=y.getCharContainingOffset(r,t-1);return[new m.Position(n,u+1),r.substring(u,f)]}_prepareRender(n){let t="",r="";const[u,f]=this._getGraphemeAwarePosition();if(this._cursorStyle===S.TextEditorCursorStyle.Line||this._cursorStyle===S.TextEditorCursorStyle.LineThin){const h=n.visibleRangeForPosition(u);if(!h||h.outsideRenderedLine)return null;let p;this._cursorStyle===S.TextEditorCursorStyle.Line?(p=L.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),p>2&&(t=f,r=this._getTokenClassName(u))):p=L.computeScreenAwareSize(1);let b=h.left,w=0;p>=2&&b>=1&&(w=1,b-=w);const E=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta;return new C(E,b,w,p,this._lineHeight,t,r)}const d=n.linesVisibleRangesForRange(new _.Range(u.lineNumber,u.column,u.lineNumber,u.column+f.length),!1);if(!d||d.length===0)return null;const l=d[0];if(l.outsideRenderedLine||l.ranges.length===0)return null;const o=l.ranges[0],c=f===" "?this._typicalHalfwidthCharacterWidth:o.width<1?this._typicalHalfwidthCharacterWidth:o.width;this._cursorStyle===S.TextEditorCursorStyle.Block&&(t=f,r=this._getTokenClassName(u));let a=n.getVerticalOffsetForLineNumber(u.lineNumber)-n.bigNumbersDelta,g=this._lineHeight;return(this._cursorStyle===S.TextEditorCursorStyle.Underline||this._cursorStyle===S.TextEditorCursorStyle.UnderlineThin)&&(a+=this._lineHeight-2,g=2),new C(a,o.left,0,c,g,t,r)}_getTokenClassName(n){const t=this._context.viewModel.getViewLineData(n.lineNumber),r=t.tokens.findTokenIndexAtOffset(n.column-1);return t.tokens.getClassName(r)}prepareRender(n){this._renderData=this._prepareRender(n)}render(n){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${v.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}e.ViewCursor=s}),define(te[621],ie([1,0,40,271,39]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorOptions=void 0;class D{get editorOptions(){return this._options}constructor(_,v){this.diffEditorWidth=v,this.couldShowInlineViewBecauseOfSize=(0,L.derived)(this,s=>this._options.read(s).renderSideBySide&&this.diffEditorWidth.read(s)<=this._options.read(s).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,L.derived)(this,s=>this._options.read(s).renderOverviewRuler),this.renderSideBySide=(0,L.derived)(this,s=>this._options.read(s).renderSideBySide&&!(this._options.read(s).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(s))),this.readOnly=(0,L.derived)(this,s=>this._options.read(s).readOnly),this.shouldRenderRevertArrows=(0,L.derived)(this,s=>!(!this._options.read(s).renderMarginRevertIcon||!this.renderSideBySide.read(s)||this.readOnly.read(s))),this.renderIndicators=(0,L.derived)(this,s=>this._options.read(s).renderIndicators),this.enableSplitViewResizing=(0,L.derived)(this,s=>this._options.read(s).enableSplitViewResizing),this.splitViewDefaultRatio=(0,L.derived)(this,s=>this._options.read(s).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,L.derived)(this,s=>this._options.read(s).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,L.derived)(this,s=>this._options.read(s).maxComputationTime),this.showMoves=(0,L.derived)(this,s=>this._options.read(s).experimental.showMoves&&this.renderSideBySide.read(s)),this.isInEmbeddedEditor=(0,L.derived)(this,s=>this._options.read(s).isInEmbeddedEditor),this.diffWordWrap=(0,L.derived)(this,s=>this._options.read(s).diffWordWrap),this.originalEditable=(0,L.derived)(this,s=>this._options.read(s).originalEditable),this.diffCodeLens=(0,L.derived)(this,s=>this._options.read(s).diffCodeLens),this.accessibilityVerbose=(0,L.derived)(this,s=>this._options.read(s).accessibilityVerbose),this.diffAlgorithm=(0,L.derived)(this,s=>this._options.read(s).diffAlgorithm),this.showEmptyDecorations=(0,L.derived)(this,s=>this._options.read(s).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,L.derived)(this,s=>this._options.read(s).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,L.derived)(this,s=>this._options.read(s).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,L.derived)(this,s=>this._options.read(s).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,L.derived)(this,s=>this._options.read(s).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsMinimumLineCount=(0,L.derived)(this,s=>this._options.read(s).hideUnchangedRegions.minimumLineCount);const C=Object.assign(Object.assign({},_),S(_,I.diffEditorDefaultOptions));this._options=(0,L.observableValue)(this,C)}updateOptions(_){const v=S(_,this._options.get()),C=Object.assign(Object.assign(Object.assign({},this._options.get()),_),v);this._options.set(C,void 0,{changedOptions:_})}}e.DiffEditorOptions=D;function S(m,_){var v,C,s,i,n,t,r,u;return{enableSplitViewResizing:(0,y.boolean)(m.enableSplitViewResizing,_.enableSplitViewResizing),splitViewDefaultRatio:(0,y.clampedFloat)(m.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,y.boolean)(m.renderSideBySide,_.renderSideBySide),renderMarginRevertIcon:(0,y.boolean)(m.renderMarginRevertIcon,_.renderMarginRevertIcon),maxComputationTime:(0,y.clampedInt)(m.maxComputationTime,_.maxComputationTime,0,1073741824),maxFileSize:(0,y.clampedInt)(m.maxFileSize,_.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,y.boolean)(m.ignoreTrimWhitespace,_.ignoreTrimWhitespace),renderIndicators:(0,y.boolean)(m.renderIndicators,_.renderIndicators),originalEditable:(0,y.boolean)(m.originalEditable,_.originalEditable),diffCodeLens:(0,y.boolean)(m.diffCodeLens,_.diffCodeLens),renderOverviewRuler:(0,y.boolean)(m.renderOverviewRuler,_.renderOverviewRuler),diffWordWrap:(0,y.stringSet)(m.diffWordWrap,_.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,y.stringSet)(m.diffAlgorithm,_.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,y.boolean)(m.accessibilityVerbose,_.accessibilityVerbose),experimental:{showMoves:(0,y.boolean)((v=m.experimental)===null||v===void 0?void 0:v.showMoves,_.experimental.showMoves),showEmptyDecorations:(0,y.boolean)((C=m.experimental)===null||C===void 0?void 0:C.showEmptyDecorations,_.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,y.boolean)((i=(s=m.hideUnchangedRegions)===null||s===void 0?void 0:s.enabled)!==null&&i!==void 0?i:(n=m.experimental)===null||n===void 0?void 0:n.collapseUnchangedRegions,_.hideUnchangedRegions.enabled),contextLineCount:(0,y.clampedInt)((t=m.hideUnchangedRegions)===null||t===void 0?void 0:t.contextLineCount,_.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,y.clampedInt)((r=m.hideUnchangedRegions)===null||r===void 0?void 0:r.minimumLineCount,_.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,y.clampedInt)((u=m.hideUnchangedRegions)===null||u===void 0?void 0:u.revealLineCount,_.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,y.boolean)(m.isInEmbeddedEditor,_.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,y.boolean)(m.onlyShowAccessibleDiffViewer,_.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,y.clampedInt)(m.renderSideBySideInlineBreakpoint,_.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,y.boolean)(m.useInlineViewWhenSpaceIsLimited,_.useInlineViewWhenSpaceIsLimited)}}}),define(te[231],ie([1,0,17,39,143]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontInfo=e.SERIALIZED_FONT_INFO_VERSION=e.BareFontInfo=void 0;const D=L.isMacintosh?1.5:1.35,S=8;class m{static createFromValidatedSettings(C,s,i){const n=C.get(49),t=C.get(53),r=C.get(52),u=C.get(51),f=C.get(54),d=C.get(66),l=C.get(63);return m._create(n,t,r,u,f,d,l,s,i)}static _create(C,s,i,n,t,r,u,f,d){r===0?r=D*i:r{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const s=this._cache.getValues();let i=!1;for(const n of s)n.isTrusted||(i=!0,this._cache.remove(n));i&&this._onDidChange.fire()}readFontInfo(s){if(!this._cache.has(s)){let i=this._actualReadFontInfo(s);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new m.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(s,i)}return this._cache.get(s)}_createRequest(s,i,n,t){const r=new D.CharWidthRequest(s,i);return n.push(r),t?.push(r),r}_actualReadFontInfo(s){const i=[],n=[],t=this._createRequest("n",0,i,n),r=this._createRequest("\uFF4D",0,i,null),u=this._createRequest(" ",0,i,n),f=this._createRequest("0",0,i,n),d=this._createRequest("1",0,i,n),l=this._createRequest("2",0,i,n),o=this._createRequest("3",0,i,n),c=this._createRequest("4",0,i,n),a=this._createRequest("5",0,i,n),g=this._createRequest("6",0,i,n),h=this._createRequest("7",0,i,n),p=this._createRequest("8",0,i,n),b=this._createRequest("9",0,i,n),w=this._createRequest("\u2192",0,i,n),E=this._createRequest("\uFFEB",0,i,null),k=this._createRequest("\xB7",0,i,n),M=this._createRequest(String.fromCharCode(11825),0,i,null),R="|/-_ilm%";for(let P=0,O=R.length;P.001){T=!1;break}}let A=!0;return T&&E.width!==N&&(A=!1),E.width>w.width&&(A=!1),new m.FontInfo({pixelRatio:L.PixelRatio.value,fontFamily:s.fontFamily,fontWeight:s.fontWeight,fontSize:s.fontSize,fontFeatureSettings:s.fontFeatureSettings,fontVariationSettings:s.fontVariationSettings,lineHeight:s.lineHeight,letterSpacing:s.letterSpacing,isMonospace:T,typicalHalfwidthCharacterWidth:t.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:A,spaceWidth:u.width,middotWidth:k.width,wsmiddotWidth:M.width,maxDigitWidth:B},!0)}}e.FontMeasurementsImpl=_;class v{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(s){const i=s.getId();return!!this._values[i]}get(s){const i=s.getId();return this._values[i]}put(s,i){const n=s.getId();this._keys[n]=s,this._values[n]=i}remove(s){const i=s.getId();delete this._keys[i],delete this._values[i]}getValues(){return Object.keys(this._keys).map(s=>this._values[s])}}e.FontMeasurements=new _}),define(te[329],ie([1,0,12,5,82,39]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isModelDecorationInString=e.isModelDecorationInComment=e.isModelDecorationVisible=e.ViewModelDecorations=void 0;class S{constructor(i,n,t,r,u){this.editorId=i,this.model=n,this.configuration=t,this._linesCollection=r,this._coordinatesConverter=u,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(i){const n=i.id;let t=this._decorationsCache[n];if(!t){const r=i.range,u=i.options;let f;if(u.isWholeLine){const d=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(r.startLineNumber,1),0,!1,!0),l=this._coordinatesConverter.convertModelPositionToViewPosition(new L.Position(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber)),1);f=new I.Range(d.lineNumber,d.column,l.lineNumber,l.column)}else f=this._coordinatesConverter.convertModelRangeToViewRange(r,1);t=new y.ViewModelDecoration(f,u),this._decorationsCache[n]=t}return t}getMinimapDecorationsInRange(i){return this._getDecorationsInRange(i,!0,!1).decorations}getDecorationsViewportData(i){let n=this._cachedModelDecorationsResolver!==null;return n=n&&i.equalsRange(this._cachedModelDecorationsResolverViewRange),n||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(i,!1,!1),this._cachedModelDecorationsResolverViewRange=i),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(i,n=!1,t=!1){const r=new I.Range(i,this._linesCollection.getViewLineMinColumn(i),i,this._linesCollection.getViewLineMaxColumn(i));return this._getDecorationsInRange(r,n,t).inlineDecorations[0]}_getDecorationsInRange(i,n,t){const r=this._linesCollection.getDecorationsInRange(i,this.editorId,(0,D.filterValidationDecorations)(this.configuration.options),n,t),u=i.startLineNumber,f=i.endLineNumber,d=[];let l=0;const o=[];for(let c=u;c<=f;c++)o[c-u]=[];for(let c=0,a=r.length;cn===1)}e.isModelDecorationInComment=_;function v(s,i){return C(s,i.range,n=>n===2)}e.isModelDecorationInString=v;function C(s,i,n){for(let t=i.startLineNumber;t<=i.endLineNumber;t++){const r=s.tokenization.getLineTokens(t),u=t===i.startLineNumber,f=t===i.endLineNumber;let d=u?r.findTokenIndexAtOffset(i.startColumn-1):0;for(;di.endColumn-1);){if(!n(r.getStandardTokenType(d)))return!1;d++}}return!0}}),define(te[622],ie([3,4]),function($,e){return $.create("vs/editor/common/core/editorColorRegistry",e)}),define(te[623],ie([3,4]),function($,e){return $.create("vs/editor/common/editorContextKeys",e)}),define(te[624],ie([3,4]),function($,e){return $.create("vs/editor/common/languages",e)}),define(te[29],ie([1,0,26,21,5,518,624]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationRegistry=e.LazyTokenizationSupport=e.InlayHintKind=e.Command=e.FoldingRangeKind=e.TextEdit=e.SymbolKinds=e.getAriaLabelForSymbol=e.symbolKindNames=e.isLocationLink=e.DocumentHighlightKind=e.SignatureHelpTriggerKind=e.SelectedSuggestionInfo=e.InlineCompletionTriggerKind=e.CompletionItemKinds=e.EncodedTokenizationResult=e.TokenizationResult=e.Token=void 0;class m{constructor(h,p,b){this.offset=h,this.type=p,this.language=b,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}e.Token=m;class _{constructor(h,p){this.tokens=h,this.endState=p,this._tokenizationResultBrand=void 0}}e.TokenizationResult=_;class v{constructor(h,p){this.tokens=h,this.endState=p,this._encodedTokenizationResultBrand=void 0}}e.EncodedTokenizationResult=v;var C;(function(g){const h=new Map;h.set(0,L.Codicon.symbolMethod),h.set(1,L.Codicon.symbolFunction),h.set(2,L.Codicon.symbolConstructor),h.set(3,L.Codicon.symbolField),h.set(4,L.Codicon.symbolVariable),h.set(5,L.Codicon.symbolClass),h.set(6,L.Codicon.symbolStruct),h.set(7,L.Codicon.symbolInterface),h.set(8,L.Codicon.symbolModule),h.set(9,L.Codicon.symbolProperty),h.set(10,L.Codicon.symbolEvent),h.set(11,L.Codicon.symbolOperator),h.set(12,L.Codicon.symbolUnit),h.set(13,L.Codicon.symbolValue),h.set(15,L.Codicon.symbolEnum),h.set(14,L.Codicon.symbolConstant),h.set(15,L.Codicon.symbolEnum),h.set(16,L.Codicon.symbolEnumMember),h.set(17,L.Codicon.symbolKeyword),h.set(27,L.Codicon.symbolSnippet),h.set(18,L.Codicon.symbolText),h.set(19,L.Codicon.symbolColor),h.set(20,L.Codicon.symbolFile),h.set(21,L.Codicon.symbolReference),h.set(22,L.Codicon.symbolCustomColor),h.set(23,L.Codicon.symbolFolder),h.set(24,L.Codicon.symbolTypeParameter),h.set(25,L.Codicon.account),h.set(26,L.Codicon.issues);function p(E){let k=h.get(E);return k||(console.info("No codicon found for CompletionItemKind "+E),k=L.Codicon.symbolProperty),k}g.toIcon=p;const b=new Map;b.set("method",0),b.set("function",1),b.set("constructor",2),b.set("field",3),b.set("variable",4),b.set("class",5),b.set("struct",6),b.set("interface",7),b.set("module",8),b.set("property",9),b.set("event",10),b.set("operator",11),b.set("unit",12),b.set("value",13),b.set("constant",14),b.set("enum",15),b.set("enum-member",16),b.set("enumMember",16),b.set("keyword",17),b.set("snippet",27),b.set("text",18),b.set("color",19),b.set("file",20),b.set("reference",21),b.set("customcolor",22),b.set("folder",23),b.set("type-parameter",24),b.set("typeParameter",24),b.set("account",25),b.set("issue",26);function w(E,k){let M=b.get(E);return typeof M>"u"&&!k&&(M=9),M}g.fromString=w})(C||(e.CompletionItemKinds=C={}));var s;(function(g){g[g.Automatic=0]="Automatic",g[g.Explicit=1]="Explicit"})(s||(e.InlineCompletionTriggerKind=s={}));class i{constructor(h,p,b,w){this.range=h,this.text=p,this.completionKind=b,this.isSnippetText=w}equals(h){return y.Range.lift(this.range).equalsRange(h.range)&&this.text===h.text&&this.completionKind===h.completionKind&&this.isSnippetText===h.isSnippetText}}e.SelectedSuggestionInfo=i;var n;(function(g){g[g.Invoke=1]="Invoke",g[g.TriggerCharacter=2]="TriggerCharacter",g[g.ContentChange=3]="ContentChange"})(n||(e.SignatureHelpTriggerKind=n={}));var t;(function(g){g[g.Text=0]="Text",g[g.Read=1]="Read",g[g.Write=2]="Write"})(t||(e.DocumentHighlightKind=t={}));function r(g){return g&&I.URI.isUri(g.uri)&&y.Range.isIRange(g.range)&&(y.Range.isIRange(g.originSelectionRange)||y.Range.isIRange(g.targetSelectionRange))}e.isLocationLink=r,e.symbolKindNames={[17]:(0,S.localize)(0,null),[16]:(0,S.localize)(1,null),[4]:(0,S.localize)(2,null),[13]:(0,S.localize)(3,null),[8]:(0,S.localize)(4,null),[9]:(0,S.localize)(5,null),[21]:(0,S.localize)(6,null),[23]:(0,S.localize)(7,null),[7]:(0,S.localize)(8,null),[0]:(0,S.localize)(9,null),[11]:(0,S.localize)(10,null),[10]:(0,S.localize)(11,null),[19]:(0,S.localize)(12,null),[5]:(0,S.localize)(13,null),[1]:(0,S.localize)(14,null),[2]:(0,S.localize)(15,null),[20]:(0,S.localize)(16,null),[15]:(0,S.localize)(17,null),[18]:(0,S.localize)(18,null),[24]:(0,S.localize)(19,null),[3]:(0,S.localize)(20,null),[6]:(0,S.localize)(21,null),[14]:(0,S.localize)(22,null),[22]:(0,S.localize)(23,null),[25]:(0,S.localize)(24,null),[12]:(0,S.localize)(25,null)};function u(g,h){return(0,S.localize)(26,null,g,e.symbolKindNames[h])}e.getAriaLabelForSymbol=u;var f;(function(g){const h=new Map;h.set(0,L.Codicon.symbolFile),h.set(1,L.Codicon.symbolModule),h.set(2,L.Codicon.symbolNamespace),h.set(3,L.Codicon.symbolPackage),h.set(4,L.Codicon.symbolClass),h.set(5,L.Codicon.symbolMethod),h.set(6,L.Codicon.symbolProperty),h.set(7,L.Codicon.symbolField),h.set(8,L.Codicon.symbolConstructor),h.set(9,L.Codicon.symbolEnum),h.set(10,L.Codicon.symbolInterface),h.set(11,L.Codicon.symbolFunction),h.set(12,L.Codicon.symbolVariable),h.set(13,L.Codicon.symbolConstant),h.set(14,L.Codicon.symbolString),h.set(15,L.Codicon.symbolNumber),h.set(16,L.Codicon.symbolBoolean),h.set(17,L.Codicon.symbolArray),h.set(18,L.Codicon.symbolObject),h.set(19,L.Codicon.symbolKey),h.set(20,L.Codicon.symbolNull),h.set(21,L.Codicon.symbolEnumMember),h.set(22,L.Codicon.symbolStruct),h.set(23,L.Codicon.symbolEvent),h.set(24,L.Codicon.symbolOperator),h.set(25,L.Codicon.symbolTypeParameter);function p(b){let w=h.get(b);return w||(console.info("No codicon found for SymbolKind "+b),w=L.Codicon.symbolProperty),w}g.toIcon=p})(f||(e.SymbolKinds=f={}));class d{}e.TextEdit=d;class l{static fromValue(h){switch(h){case"comment":return l.Comment;case"imports":return l.Imports;case"region":return l.Region}return new l(h)}constructor(h){this.value=h}}e.FoldingRangeKind=l,l.Comment=new l("comment"),l.Imports=new l("imports"),l.Region=new l("region");var o;(function(g){function h(p){return!p||typeof p!="object"?!1:typeof p.id=="string"&&typeof p.title=="string"}g.is=h})(o||(e.Command=o={}));var c;(function(g){g[g.Type=1]="Type",g[g.Parameter=2]="Parameter"})(c||(e.InlayHintKind=c={}));class a{constructor(h){this.createSupport=h,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(h=>{h&&h.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}e.LazyTokenizationSupport=a,e.TokenizationRegistry=new D.TokenizationRegistry}),define(te[154],ie([1,0,29]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nullTokenizeEncoded=e.nullTokenize=e.NullState=void 0,e.NullState=new class{clone(){return this}equals(D){return this===D}};function I(D,S){return new L.TokenizationResult([new L.Token(0,"",D)],S)}e.nullTokenize=I;function y(D,S){const m=new Uint32Array(2);return m[0]=0,m[1]=(D<<0|0<<8|0<<11|1<<15|2<<24)>>>0,new L.EncodedTokenizationResult(m,S===null?e.NullState:S)}e.nullTokenizeEncoded=y}),define(te[330],ie([1,0,10,91,29,154]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._tokenizeToString=e.tokenizeLineToHTML=e.tokenizeToString=void 0;const S={getInitialState:()=>D.NullState,tokenizeEncoded:(C,s,i)=>(0,D.nullTokenizeEncoded)(0,i)};function m(C,s,i){return be(this,void 0,void 0,function*(){if(!i)return v(s,C.languageIdCodec,S);const n=yield y.TokenizationRegistry.getOrCreate(i);return v(s,C.languageIdCodec,n||S)})}e.tokenizeToString=m;function _(C,s,i,n,t,r,u){let f="
    ",d=n,l=0,o=!0;for(let c=0,a=s.getCount();c0;)u&&o?(h+=" ",o=!1):(h+=" ",o=!0),b--;break}case 60:h+="<",o=!1;break;case 62:h+=">",o=!1;break;case 38:h+="&",o=!1;break;case 0:h+="�",o=!1;break;case 65279:case 8232:case 8233:case 133:h+="\uFFFD",o=!1;break;case 13:h+="​",o=!1;break;case 32:u&&o?(h+=" ",o=!1):(h+=" ",o=!0);break;default:h+=String.fromCharCode(p),o=!1}}if(f+=`${h}`,g>t||d>=t)break}return f+="
    ",f}e.tokenizeLineToHTML=_;function v(C,s,i){let n='
    ';const t=L.splitLines(C);let r=i.getInitialState();for(let u=0,f=t.length;u0&&(n+="
    ");const l=i.tokenizeEncoded(d,!0,r);I.LineTokens.convertToEndOffset(l.tokens,d.length);const c=new I.LineTokens(l.tokens,d,s).inflate();let a=0;for(let g=0,h=c.getCount();g${L.escape(d.substring(a,b))}`,a=b}r=l.endState}return n+="
    ",n}e._tokenizeToString=v}),define(te[625],ie([1,0,14,9,17,59,122,64,81,154,511,291,91]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultBackgroundTokenizer=e.RangePriorityQueueImpl=e.TokenizationStateStore=e.TrackingTokenizationStateStore=e.TokenizerWithStateStoreAndTextModel=e.TokenizerWithStateStore=void 0;class n{constructor(c,a){this.tokenizationSupport=a,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new r(c)}getStartState(c){return this.store.getStartState(c,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}e.TokenizerWithStateStore=n;class t extends n{constructor(c,a,g,h){super(c,a),this._textModel=g,this._languageIdCodec=h}updateTokensUntilLine(c,a){const g=this._textModel.getLanguageId();for(;;){const h=this.getFirstInvalidLine();if(!h||h.lineNumber>a)break;const p=this._textModel.getLineContent(h.lineNumber),b=d(this._languageIdCodec,g,this.tokenizationSupport,p,!0,h.startState);c.add(h.lineNumber,b.tokens),this.store.setEndState(h.lineNumber,b.endState)}}getTokenTypeIfInsertingCharacter(c,a){const g=this.getStartState(c.lineNumber);if(!g)return 0;const h=this._textModel.getLanguageId(),p=this._textModel.getLineContent(c.lineNumber),b=p.substring(0,c.column-1)+a+p.substring(c.column-1),w=d(this._languageIdCodec,h,this.tokenizationSupport,b,!0,g),E=new i.LineTokens(w.tokens,b,this._languageIdCodec);if(E.getCount()===0)return 0;const k=E.findTokenIndexAtOffset(c.column-1);return E.getStandardTokenType(k)}tokenizeLineWithEdit(c,a,g){const h=c.lineNumber,p=c.column,b=this.getStartState(h);if(!b)return null;const w=this._textModel.getLineContent(h),E=w.substring(0,p-1)+g+w.substring(p-1+a),k=this._textModel.getLanguageIdAtPosition(h,0),M=d(this._languageIdCodec,k,this.tokenizationSupport,E,!0,b);return new i.LineTokens(M.tokens,E,this._languageIdCodec)}isCheapToTokenize(c){const a=this.store.getFirstInvalidEndStateLineNumberOrMax();return c1&&w>=1;w--){const E=this._textModel.getLineFirstNonWhitespaceColumn(w);if(E!==0&&E0&&g>0&&(g--,a--),this._lineEndStates.replace(c.startLineNumber,g,a)}}e.TokenizationStateStore=u;class f{constructor(){this._ranges=[]}get min(){return this._ranges.length===0?null:this._ranges[0].start}delete(c){const a=this._ranges.findIndex(g=>g.contains(c));if(a!==-1){const g=this._ranges[a];g.start===c?g.endExclusive===c+1?this._ranges.splice(a,1):this._ranges[a]=new _.OffsetRange(c+1,g.endExclusive):g.endExclusive===c+1?this._ranges[a]=new _.OffsetRange(g.start,c):this._ranges.splice(a,1,new _.OffsetRange(g.start,c),new _.OffsetRange(c+1,g.endExclusive))}}addRange(c){_.OffsetRange.addRange(c,this._ranges)}addRangeAndResize(c,a){let g=0;for(;!(g>=this._ranges.length||c.start<=this._ranges[g].endExclusive);)g++;let h=g;for(;!(h>=this._ranges.length||c.endExclusivec.toString()).join(" + ")}}e.RangePriorityQueueImpl=f;function d(o,c,a,g,h,p){let b=null;if(a)try{b=a.tokenizeEncoded(g,h,p.clone())}catch(w){(0,I.onUnexpectedError)(w)}return b||(b=(0,v.nullTokenizeEncoded)(o.encodeLanguageId(c),p)),i.LineTokens.convertToEndOffset(b.tokens,g.length),b}class l{constructor(c,a){this._tokenizerWithStateStore=c,this._backgroundTokenStore=a,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,(0,L.runWhenIdle)(c=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(c)}))}_backgroundTokenizeWithDeadline(c){const a=Date.now()+c.timeRemaining(),g=()=>{this._isDisposed||!this._tokenizerWithStateStore._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()1||this._tokenizeOneInvalidLine(a)>=c)break;while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(a.finalize()),this.checkFinished()}_hasLinesToTokenize(){return this._tokenizerWithStateStore?!this._tokenizerWithStateStore.store.allStatesValid():!1}_tokenizeOneInvalidLine(c){var a;const g=(a=this._tokenizerWithStateStore)===null||a===void 0?void 0:a.getFirstInvalidLine();return g?(this._tokenizerWithStateStore.updateTokensUntilLine(c,g.lineNumber),g.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){this._isDisposed||this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(c,a){this._tokenizerWithStateStore.store.invalidateEndStateRange(new m.LineRange(c,a))}}e.DefaultBackgroundTokenizer=l}),define(te[626],ie([1,0,13,14,9,6,2,122,64,12,145,29,285,625,291,521,523]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenizationTextModelPart=void 0;class f extends i.TextModelPart{constructor(c,a,g,h,p,b){super(),this._languageService=c,this._languageConfigurationService=a,this._textModel=g,this._bracketPairsTextModelPart=h,this._languageId=p,this._attachedViews=b,this._semanticTokens=new u.SparseTokensStore(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new D.Emitter),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new D.Emitter),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new D.Emitter),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new d(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(w=>{w.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(w=>{this._emitModelTokensChangedEvent(w)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(w=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(c){if(c.isFlush)this._semanticTokens.flush();else if(!c.isEolChange)for(const a of c.changes){const[g,h,p]=(0,m.countEOL)(a.text);this._semanticTokens.acceptEdit(a.range,g,h,p,a.text.length>0?a.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(c)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(c){this.validateLineNumber(c);const a=this.grammarTokens.getLineTokens(c);return this._semanticTokens.addSparseTokens(c,a)}_emitModelTokensChangedEvent(c){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(c),this._onDidChangeTokens.fire(c))}validateLineNumber(c){if(c<1||c>this._textModel.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(c){this.validateLineNumber(c),this.grammarTokens.forceTokenization(c)}isCheapToTokenize(c){return this.validateLineNumber(c),this.grammarTokens.isCheapToTokenize(c)}tokenizeIfCheap(c){this.validateLineNumber(c),this.grammarTokens.tokenizeIfCheap(c)}getTokenTypeIfInsertingCharacter(c,a,g){return this.grammarTokens.getTokenTypeIfInsertingCharacter(c,a,g)}tokenizeLineWithEdit(c,a,g){return this.grammarTokens.tokenizeLineWithEdit(c,a,g)}setSemanticTokens(c,a){this._semanticTokens.set(c,a),this._emitModelTokensChangedEvent({semanticTokensApplied:c!==null,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(c,a){if(this.hasCompleteSemanticTokens())return;const g=this._textModel.validateRange(this._semanticTokens.setPartial(c,a));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:g.startLineNumber,toLineNumber:g.endLineNumber}]})}getWordAtPosition(c){this.assertNotDisposed();const a=this._textModel.validatePosition(c),g=this._textModel.getLineContent(a.lineNumber),h=this.getLineTokens(a.lineNumber),p=h.findTokenIndexAtOffset(a.column-1),[b,w]=f._findLanguageBoundaries(h,p),E=(0,C.getWordAtText)(a.column,this.getLanguageConfiguration(h.getLanguageId(p)).getWordDefinition(),g.substring(b,w),b);if(E&&E.startColumn<=c.column&&c.column<=E.endColumn)return E;if(p>0&&b===a.column-1){const[k,M]=f._findLanguageBoundaries(h,p-1),R=(0,C.getWordAtText)(a.column,this.getLanguageConfiguration(h.getLanguageId(p-1)).getWordDefinition(),g.substring(k,M),k);if(R&&R.startColumn<=c.column&&c.column<=R.endColumn)return R}return null}getLanguageConfiguration(c){return this._languageConfigurationService.getLanguageConfiguration(c)}static _findLanguageBoundaries(c,a){const g=c.getLanguageId(a);let h=0;for(let b=a;b>=0&&c.getLanguageId(b)===g;b--)h=c.getStartOffset(b);let p=c.getLineContent().length;for(let b=a,w=c.getCount();b{const b=this.getLanguageId();p.changedLanguages.indexOf(b)!==-1&&this.resetTokenization()})),this.resetTokenization(),this._register(h.onDidChangeVisibleRanges(({view:p,state:b})=>{if(b){let w=this._attachedViewStates.get(p);w||(w=new l(()=>this.refreshRanges(w.lineRanges)),this._attachedViewStates.set(p,w)),w.handleStateChange(b)}else this._attachedViewStates.deleteAndDispose(p)}))}resetTokenization(c=!0){var a;this._tokens.flush(),(a=this._debugBackgroundTokens)===null||a===void 0||a.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount())),c&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});const g=()=>{if(this._textModel.isTooLargeForTokenization())return[null,null];const b=s.TokenizationRegistry.get(this.getLanguageId());if(!b)return[null,null];let w;try{w=b.getInitialState()}catch(E){return(0,y.onUnexpectedError)(E),[null,null]}return[b,w]},[h,p]=g();if(h&&p?this._tokenizer=new n.TokenizerWithStateStoreAndTextModel(this._textModel.getLineCount(),h,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){const b={setTokens:w=>{this.setTokens(w)},backgroundTokenizationFinished:()=>{if(this._backgroundTokenizationState===2)return;const w=2;this._backgroundTokenizationState=w,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(w,E)=>{var k;if(!this._tokenizer)return;const M=this._tokenizer.store.getFirstInvalidEndStateLineNumber();M!==null&&w>=M&&((k=this._tokenizer)===null||k===void 0||k.store.setEndState(w,E))}};h&&h.createBackgroundTokenizer&&!h.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=h.createBackgroundTokenizer(this._textModel,b)),this._backgroundTokenizer.value||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new n.DefaultBackgroundTokenizer(this._tokenizer,b),this._defaultBackgroundTokenizer.handleChanges()),h?.backgroundTokenizerShouldOnlyVerifyTokens&&h.createBackgroundTokenizer?(this._debugBackgroundTokens=new r.ContiguousTokensStore(this._languageIdCodec),this._debugBackgroundStates=new n.TrackingTokenizationStateStore(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=h.createBackgroundTokenizer(this._textModel,{setTokens:w=>{var E;(E=this._debugBackgroundTokens)===null||E===void 0||E.setMultilineTokens(w,this._textModel)},backgroundTokenizationFinished(){},setEndState:(w,E)=>{var k;(k=this._debugBackgroundStates)===null||k===void 0||k.setEndState(w,E)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var c;(c=this._defaultBackgroundTokenizer)===null||c===void 0||c.handleChanges()}handleDidChangeContent(c){var a,g,h;if(c.isFlush)this.resetTokenization(!1);else if(!c.isEolChange){for(const p of c.changes){const[b,w]=(0,m.countEOL)(p.text);this._tokens.acceptEdit(p.range,b,w),(a=this._debugBackgroundTokens)===null||a===void 0||a.acceptEdit(p.range,b,w)}(g=this._debugBackgroundStates)===null||g===void 0||g.acceptChanges(c.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(c.changes),(h=this._defaultBackgroundTokenizer)===null||h===void 0||h.handleChanges()}}setTokens(c){const{changes:a}=this._tokens.setMultilineTokens(c,this._textModel);return a.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:a}),{changes:a}}refreshAllVisibleLineTokens(){const c=_.LineRange.joinMany([...this._attachedViewStates].map(([a,g])=>g.lineRanges));this.refreshRanges(c)}refreshRanges(c){for(const a of c)this.refreshRange(a.startLineNumber,a.endLineNumberExclusive-1)}refreshRange(c,a){var g,h;if(!this._tokenizer)return;c=Math.max(1,Math.min(this._textModel.getLineCount(),c)),a=Math.min(this._textModel.getLineCount(),a);const p=new t.ContiguousMultilineTokensBuilder,{heuristicTokens:b}=this._tokenizer.tokenizeHeuristically(p,c,a),w=this.setTokens(p.finalize());if(b)for(const E of w.changes)(g=this._backgroundTokenizer.value)===null||g===void 0||g.requestTokens(E.fromLineNumber,E.toLineNumber+1);(h=this._defaultBackgroundTokenizer)===null||h===void 0||h.checkFinished()}forceTokenization(c){var a,g;const h=new t.ContiguousMultilineTokensBuilder;(a=this._tokenizer)===null||a===void 0||a.updateTokensUntilLine(h,c),this.setTokens(h.finalize()),(g=this._defaultBackgroundTokenizer)===null||g===void 0||g.checkFinished()}isCheapToTokenize(c){return this._tokenizer?this._tokenizer.isCheapToTokenize(c):!0}tokenizeIfCheap(c){this.isCheapToTokenize(c)&&this.forceTokenization(c)}getLineTokens(c){var a;const g=this._textModel.getLineContent(c),h=this._tokens.getTokens(this._textModel.getLanguageId(),c-1,g);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>c&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>c){const p=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),c-1,g);!h.equals(p)&&(!((a=this._debugBackgroundTokenizer.value)===null||a===void 0)&&a.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(c)}return h}getTokenTypeIfInsertingCharacter(c,a,g){if(!this._tokenizer)return 0;const h=this._textModel.validatePosition(new v.Position(c,a));return this.forceTokenization(h.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(h,g)}tokenizeLineWithEdit(c,a,g){if(!this._tokenizer)return null;const h=this._textModel.validatePosition(c);return this.forceTokenization(h.lineNumber),this._tokenizer.tokenizeLineWithEdit(h,a,g)}get hasTokens(){return this._tokens.hasTokens}}class l extends S.Disposable{get lineRanges(){return this._lineRanges}constructor(c){super(),this._refreshTokens=c,this.runner=this._register(new I.RunOnceScheduler(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,L.equals)(this._computedLineRanges,this._lineRanges,(c,a)=>c.equals(a))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(c){this._lineRanges=c.visibleLineRanges,c.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}}),define(te[331],ie([1,0,19,6,62,21,12,5,24,29,209]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoBaseAPI=e.KeyMod=void 0;class s{static chord(t,r){return(0,y.KeyChord)(t,r)}}e.KeyMod=s,s.CtrlCmd=2048,s.Shift=1024,s.Alt=512,s.WinCtrl=256;function i(){return{editor:void 0,languages:void 0,CancellationTokenSource:L.CancellationTokenSource,Emitter:I.Emitter,KeyCode:C.KeyCode,KeyMod:s,Position:S.Position,Range:m.Range,Selection:_.Selection,SelectionDirection:C.SelectionDirection,MarkerSeverity:C.MarkerSeverity,MarkerTag:C.MarkerTag,Uri:D.URI,Token:v.Token}}e.createMonacoBaseAPI=i}),define(te[627],ie([1,0,167,21,12,5,515,145,498,504,331,59,289,495,52,497]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.EditorSimpleWorker=void 0;class u extends S.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(o){const c=[];for(let a=0;athis._lines.length)c=this._lines.length,a=this._lines[c-1].length+1,g=!0;else{const h=this._lines[c-1].length+1;a<1?(a=1,g=!0):a>h&&(a=h,g=!0)}return g?{lineNumber:c,column:a}:o}}class f{constructor(o,c){this._host=o,this._models=Object.create(null),this._foreignModuleFactory=c,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(o){return this._models[o]}_getModels(){const o=[];return Object.keys(this._models).forEach(c=>o.push(this._models[c])),o}acceptNewModel(o){this._models[o.url]=new u(I.URI.parse(o.url),o.lines,o.EOL,o.versionId)}acceptModelChanged(o,c){if(!this._models[o])return;this._models[o].onEvents(c)}acceptRemovedModel(o){this._models[o]&&delete this._models[o]}computeUnicodeHighlights(o,c,a){return be(this,void 0,void 0,function*(){const g=this._getModel(o);return g?i.UnicodeTextModelHighlighter.computeUnicodeHighlights(g,c,a):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(o,c,a,g){return be(this,void 0,void 0,function*(){const h=this._getModel(o),p=this._getModel(c);return!h||!p?null:f.computeDiff(h,p,a,g)})}static computeDiff(o,c,a,g){const h=g==="advanced"?n.linesDiffComputers.getDefault():n.linesDiffComputers.getLegacy(),p=o.getLinesContent(),b=c.getLinesContent(),w=h.computeDiff(p,b,a),E=w.changes.length>0?!1:this._modelsAreIdentical(o,c);function k(M){return M.map(R=>{var B;return[R.original.startLineNumber,R.original.endLineNumberExclusive,R.modified.startLineNumber,R.modified.endLineNumberExclusive,(B=R.innerChanges)===null||B===void 0?void 0:B.map(T=>[T.originalRange.startLineNumber,T.originalRange.startColumn,T.originalRange.endLineNumber,T.originalRange.endColumn,T.modifiedRange.startLineNumber,T.modifiedRange.startColumn,T.modifiedRange.endLineNumber,T.modifiedRange.endColumn])]})}return{identical:E,quitEarly:w.hitTimeout,changes:k(w.changes),moves:w.moves.map(M=>[M.lineRangeMapping.original.startLineNumber,M.lineRangeMapping.original.endLineNumberExclusive,M.lineRangeMapping.modified.startLineNumber,M.lineRangeMapping.modified.endLineNumberExclusive,k(M.changes)])}}static _modelsAreIdentical(o,c){const a=o.getLineCount(),g=c.getLineCount();if(a!==g)return!1;for(let h=1;h<=a;h++){const p=o.getLineContent(h),b=c.getLineContent(h);if(p!==b)return!1}return!0}computeMoreMinimalEdits(o,c,a){return be(this,void 0,void 0,function*(){const g=this._getModel(o);if(!g)return c;const h=[];let p;c=c.slice(0).sort((w,E)=>{if(w.range&&E.range)return D.Range.compareRangesUsingStarts(w.range,E.range);const k=w.range?0:1,M=E.range?0:1;return k-M});let b=0;for(let w=1;wf._diffLimit){h.push({range:w,text:E});continue}const R=(0,L.stringDiff)(M,E,a),B=g.offsetAt(D.Range.lift(w).getStartPosition());for(const T of R){const N=g.positionAt(B+T.originalStart),A=g.positionAt(B+T.originalStart+T.originalLength),P={text:E.substr(T.modifiedStart,T.modifiedLength),range:{startLineNumber:N.lineNumber,startColumn:N.column,endLineNumber:A.lineNumber,endColumn:A.column}};g.getValueInRange(P.range)!==P.text&&h.push(P)}}return typeof p=="number"&&h.push({eol:p,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),h})}computeLinks(o){return be(this,void 0,void 0,function*(){const c=this._getModel(o);return c?(0,_.computeLinks)(c):null})}computeDefaultDocumentColors(o){return be(this,void 0,void 0,function*(){const c=this._getModel(o);return c?(0,r.computeDefaultDocumentColors)(c):null})}textualSuggest(o,c,a,g){return be(this,void 0,void 0,function*(){const h=new s.StopWatch,p=new RegExp(a,g),b=new Set;e:for(const w of o){const E=this._getModel(w);if(E){for(const k of E.words(p))if(!(k===c||!isNaN(Number(k)))&&(b.add(k),b.size>f._suggestionsLimit))break e}}return{words:Array.from(b),duration:h.elapsed()}})}computeWordRanges(o,c,a,g){return be(this,void 0,void 0,function*(){const h=this._getModel(o);if(!h)return Object.create(null);const p=new RegExp(a,g),b=Object.create(null);for(let w=c.startLineNumber;wthis._host.fhr(b,w),p={host:(0,t.createProxyObject)(a,g),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(p,c),Promise.resolve((0,t.getAllMethodNames)(this._foreignModule))):new Promise((b,w)=>{$([o],E=>{this._foreignModule=E.create(p,c),b((0,t.getAllMethodNames)(this._foreignModule))},w)})}fmr(o,c){if(!this._foreignModule||typeof this._foreignModule[o]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+o));try{return Promise.resolve(this._foreignModule[o].apply(this._foreignModule,c))}catch(a){return Promise.reject(a)}}}e.EditorSimpleWorker=f,f._diffLimit=1e5,f._suggestionsLimit=1e4;function d(l){return new f(l,null)}e.create=d,typeof importScripts=="function"&&(globalThis.monaco=(0,C.createMonacoBaseAPI)())}),define(te[332],ie([1,0,6,2,274,29]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapTokensColorTracker=void 0;class S extends I.Disposable{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,I.markAsSingleton)(new S)),this._INSTANCE}constructor(){super(),this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(D.TokenizationRegistry.onDidChange(_=>{_.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){const _=D.TokenizationRegistry.getColorMap();if(!_){this._colors=[y.RGBA8.Empty],this._backgroundIsLight=!0;return}this._colors=[y.RGBA8.Empty];for(let C=1;C<_.length;C++){const s=_[C].rgba;this._colors[C]=new y.RGBA8(s.r,s.g,s.b,Math.round(s.a*255))}const v=_[2].getRelativeLuminance();this._backgroundIsLight=v>=.5,this._onDidChange.fire(void 0)}getColor(_){return(_<1||_>=this._colors.length)&&(_=2),this._colors[_]}backgroundIsLight(){return this._backgroundIsLight}}e.MinimapTokensColorTracker=S,S._INSTANCE=null}),define(te[628],ie([3,4]),function($,e){return $.create("vs/editor/common/languages/modesRegistry",e)}),define(te[629],ie([3,4]),function($,e){return $.create("vs/editor/common/model/editStack",e)}),define(te[333],ie([1,0,629,9,24,21,323,138,46]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditStack=e.isEditStackElement=e.MultiModelEditStackElement=e.SingleModelEditStackElement=e.SingleModelEditStackData=void 0;function v(u){return u.toString()}class C{static create(f,d){const l=f.getAlternativeVersionId(),o=n(f);return new C(l,l,o,o,d,d,[])}constructor(f,d,l,o,c,a,g){this.beforeVersionId=f,this.afterVersionId=d,this.beforeEOL=l,this.afterEOL=o,this.beforeCursorState=c,this.afterCursorState=a,this.changes=g}append(f,d,l,o,c){d.length>0&&(this.changes=(0,S.compressConsecutiveTextChanges)(this.changes,d)),this.afterEOL=l,this.afterVersionId=o,this.afterCursorState=c}static _writeSelectionsSize(f){return 4+4*4*(f?f.length:0)}static _writeSelections(f,d,l){if(m.writeUInt32BE(f,d?d.length:0,l),l+=4,d)for(const o of d)m.writeUInt32BE(f,o.selectionStartLineNumber,l),l+=4,m.writeUInt32BE(f,o.selectionStartColumn,l),l+=4,m.writeUInt32BE(f,o.positionLineNumber,l),l+=4,m.writeUInt32BE(f,o.positionColumn,l),l+=4;return l}static _readSelections(f,d,l){const o=m.readUInt32BE(f,d);d+=4;for(let c=0;cd.toString()).join(", ")}matchesResource(f){return(D.URI.isUri(this.model)?this.model:this.model.uri).toString()===f.toString()}setModel(f){this.model=f}canAppend(f){return this.model===f&&this._data instanceof C}append(f,d,l,o,c){this._data instanceof C&&this._data.append(f,d,l,o,c)}close(){this._data instanceof C&&(this._data=this._data.serialize())}open(){this._data instanceof C||(this._data=C.deserialize(this._data))}undo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const f=C.deserialize(this._data);this.model._applyUndo(f.changes,f.beforeEOL,f.beforeVersionId,f.beforeCursorState)}redo(){if(D.URI.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof C&&(this._data=this._data.serialize());const f=C.deserialize(this._data);this.model._applyRedo(f.changes,f.afterEOL,f.afterVersionId,f.afterCursorState)}heapSize(){return this._data instanceof C&&(this._data=this._data.serialize()),this._data.byteLength+168}}e.SingleModelEditStackElement=s;class i{get resources(){return this._editStackElementsArr.map(f=>f.resource)}constructor(f,d,l){this.label=f,this.code=d,this.type=1,this._isOpen=!0,this._editStackElementsArr=l.slice(0),this._editStackElementsMap=new Map;for(const o of this._editStackElementsArr){const c=v(o.resource);this._editStackElementsMap.set(c,o)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(f){const d=v(f);return this._editStackElementsMap.has(d)}setModel(f){const d=v(D.URI.isUri(f)?f:f.uri);this._editStackElementsMap.has(d)&&this._editStackElementsMap.get(d).setModel(f)}canAppend(f){if(!this._isOpen)return!1;const d=v(f.uri);return this._editStackElementsMap.has(d)?this._editStackElementsMap.get(d).canAppend(f):!1}append(f,d,l,o,c){const a=v(f.uri);this._editStackElementsMap.get(a).append(f,d,l,o,c)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const f of this._editStackElementsArr)f.undo()}redo(){for(const f of this._editStackElementsArr)f.redo()}heapSize(f){const d=v(f);return this._editStackElementsMap.has(d)?this._editStackElementsMap.get(d).heapSize():0}split(){return this._editStackElementsArr}toString(){const f=[];for(const d of this._editStackElementsArr)f.push(`${(0,_.basename)(d.resource)}: ${d}`);return`{${f.join(", ")}}`}}e.MultiModelEditStackElement=i;function n(u){return u.getEOL()===` +`?0:1}function t(u){return u?u instanceof s||u instanceof i:!1}e.isEditStackElement=t;class r{constructor(f,d){this._model=f,this._undoRedoService=d}pushStackElement(){const f=this._undoRedoService.getLastElement(this._model.uri);t(f)&&f.close()}popStackElement(){const f=this._undoRedoService.getLastElement(this._model.uri);t(f)&&f.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(f,d){const l=this._undoRedoService.getLastElement(this._model.uri);if(t(l)&&l.canAppend(this._model))return l;const o=new s(L.localize(0,null),"undoredo.textBufferEdit",this._model,f);return this._undoRedoService.pushElement(o,d),o}pushEOL(f){const d=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(f),d.append(this._model,[],n(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(f,d,l,o){const c=this._getOrCreateEditStackElement(f,o),a=this._model.applyEdits(d,!0),g=r._computeCursorState(l,a),h=a.map((p,b)=>({index:b,textChange:p.textChange}));return h.sort((p,b)=>p.textChange.oldPosition===b.textChange.oldPosition?p.index-b.index:p.textChange.oldPosition-b.textChange.oldPosition),c.append(this._model,h.map(p=>p.textChange),n(this._model),this._model.getAlternativeVersionId(),g),g}static _computeCursorState(f,d){try{return f?f(d):null}catch(l){return(0,I.onUnexpectedError)(l),null}}}e.EditStack=r}),define(te[630],ie([3,4]),function($,e){return $.create("vs/editor/common/standaloneStrings",e)}),define(te[93],ie([1,0,630]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServicesNLS=e.ToggleHighContrastNLS=e.StandaloneCodeEditorNLS=e.QuickOutlineNLS=e.QuickCommandNLS=e.QuickHelpNLS=e.GoToLineNLS=e.InspectTokensNLS=void 0;var I;(function(s){s.inspectTokensAction=L.localize(0,null)})(I||(e.InspectTokensNLS=I={}));var y;(function(s){s.gotoLineActionLabel=L.localize(1,null)})(y||(e.GoToLineNLS=y={}));var D;(function(s){s.helpQuickAccessActionLabel=L.localize(2,null)})(D||(e.QuickHelpNLS=D={}));var S;(function(s){s.quickCommandActionLabel=L.localize(3,null),s.quickCommandHelp=L.localize(4,null)})(S||(e.QuickCommandNLS=S={}));var m;(function(s){s.quickOutlineActionLabel=L.localize(5,null),s.quickOutlineByCategoryActionLabel=L.localize(6,null)})(m||(e.QuickOutlineNLS=m={}));var _;(function(s){s.editorViewAccessibleLabel=L.localize(7,null),s.accessibilityHelpMessage=L.localize(8,null)})(_||(e.StandaloneCodeEditorNLS=_={}));var v;(function(s){s.toggleHighContrast=L.localize(9,null)})(v||(e.ToggleHighContrastNLS=v={}));var C;(function(s){s.bulkEditServiceSummary=L.localize(10,null)})(C||(e.StandaloneServicesNLS=C={}))}),define(te[631],ie([3,4]),function($,e){return $.create("vs/editor/common/viewLayout/viewLineRenderer",e)}),define(te[114],ie([1,0,631,10,101,149,532]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderViewLine2=e.RenderLineOutput2=e.renderViewLine=e.RenderLineOutput=e.CharacterMapping=e.DomPosition=e.RenderLineInput=e.LineRange=void 0;class m{constructor(w,E){this.startOffset=w,this.endOffset=E}equals(w){return this.startOffset===w.startOffset&&this.endOffset===w.endOffset}}e.LineRange=m;class _{constructor(w,E,k,M,R,B,T,N,A,P,O,x,W,U,F,G,Y,ne,se){this.useMonospaceOptimizations=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=k,this.continuesWithWrappedLine=M,this.isBasicASCII=R,this.containsRTL=B,this.fauxIndentLength=T,this.lineTokens=N,this.lineDecorations=A.sort(D.LineDecoration.compare),this.tabSize=P,this.startVisibleColumn=O,this.spaceWidth=x,this.stopRenderingLineAfter=F,this.renderWhitespace=G==="all"?4:G==="boundary"?1:G==="selection"?2:G==="trailing"?3:0,this.renderControlCharacters=Y,this.fontLigatures=ne,this.selectionsOnLine=se&&se.sort((H,V)=>H.startOffset>>16}static getCharIndex(w){return(w&65535)>>>0}constructor(w,E){this.length=w,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(w,E,k,M){const R=(E<<16|k<<0)>>>0;this._data[w-1]=R,this._horizontalOffset[w-1]=M}getHorizontalOffset(w){return this._horizontalOffset.length===0?0:this._horizontalOffset[w-1]}charOffsetToPartData(w){return this.length===0?0:w<0?this._data[0]:w>=this.length?this._data[this.length-1]:this._data[w]}getDomPosition(w){const E=this.charOffsetToPartData(w-1),k=C.getPartIndex(E),M=C.getCharIndex(E);return new v(k,M)}getColumn(w,E){return this.partDataToCharOffset(w.partIndex,E,w.charIndex)+1}partDataToCharOffset(w,E,k){if(this.length===0)return 0;const M=(w<<16|k<<0)>>>0;let R=0,B=this.length-1;for(;R+1>>1,G=this._data[F];if(G===M)return F;G>M?B=F:R=F}if(R===B)return R;const T=this._data[R],N=this._data[B];if(T===M)return R;if(N===M)return B;const A=C.getPartIndex(T),P=C.getCharIndex(T),O=C.getPartIndex(N);let x;A!==O?x=E:x=C.getCharIndex(N);const W=k-P,U=x-k;return W<=U?R:B}}e.CharacterMapping=C;class s{constructor(w,E,k){this._renderLineOutputBrand=void 0,this.characterMapping=w,this.containsRTL=E,this.containsForeignElements=k}}e.RenderLineOutput=s;function i(b,w){if(b.lineContent.length===0){if(b.lineDecorations.length>0){w.appendString("");let E=0,k=0,M=0;for(const B of b.lineDecorations)(B.type===1||B.type===2)&&(w.appendString(''),B.type===1&&(M|=1,E++),B.type===2&&(M|=2,k++));w.appendString("");const R=new C(1,E+k);return R.setColumnInfo(1,E,0,0),new s(R,!1,M)}return w.appendString(""),new s(new C(0,0),!1,0)}return g(u(b),w)}e.renderViewLine=i;class n{constructor(w,E,k,M){this.characterMapping=w,this.html=E,this.containsRTL=k,this.containsForeignElements=M}}e.RenderLineOutput2=n;function t(b){const w=new y.StringBuilder(1e4),E=i(b,w);return new n(E.characterMapping,w.build(),E.containsRTL,E.containsForeignElements)}e.renderViewLine2=t;class r{constructor(w,E,k,M,R,B,T,N,A,P,O,x,W,U,F,G){this.fontIsMonospace=w,this.canUseHalfwidthRightwardsArrow=E,this.lineContent=k,this.len=M,this.isOverflowing=R,this.overflowingCharCount=B,this.parts=T,this.containsForeignElements=N,this.fauxIndentLength=A,this.tabSize=P,this.startVisibleColumn=O,this.containsRTL=x,this.spaceWidth=W,this.renderSpaceCharCode=U,this.renderWhitespace=F,this.renderControlCharacters=G}}function u(b){const w=b.lineContent;let E,k,M;b.stopRenderingLineAfter!==-1&&b.stopRenderingLineAfter0){for(let T=0,N=b.lineDecorations.length;T0&&(R[B++]=new S.LinePart(k,"",0,!1));let T=k;for(let N=0,A=E.getCount();N=M){const W=w?I.containsRTL(b.substring(T,M)):!1;R[B++]=new S.LinePart(M,O,0,W);break}const x=w?I.containsRTL(b.substring(T,P)):!1;R[B++]=new S.LinePart(P,O,0,x),T=P}return R}function d(b,w,E){let k=0;const M=[];let R=0;if(E)for(let B=0,T=w.length;B=50&&(M[R++]=new S.LinePart(W+1,P,O,x),U=W+1,W=-1);U!==A&&(M[R++]=new S.LinePart(A,P,O,x))}else M[R++]=N;k=A}else for(let B=0,T=w.length;B50){const O=N.type,x=N.metadata,W=N.containsRTL,U=Math.ceil(P/50);for(let F=1;F=8234&&b<=8238||b>=8294&&b<=8297||b>=8206&&b<=8207||b===1564}function o(b,w){const E=[];let k=new S.LinePart(0,"",0,!1),M=0;for(const R of w){const B=R.endIndex;for(;Mk.endIndex&&(k=new S.LinePart(M,R.type,R.metadata,R.containsRTL),E.push(k)),k=new S.LinePart(M+1,"mtkcontrol",R.metadata,!1),E.push(k))}M>k.endIndex&&(k=new S.LinePart(B,R.type,R.metadata,R.containsRTL),E.push(k))}return E}function c(b,w,E,k){const M=b.continuesWithWrappedLine,R=b.fauxIndentLength,B=b.tabSize,T=b.startVisibleColumn,N=b.useMonospaceOptimizations,A=b.selectionsOnLine,P=b.renderWhitespace===1,O=b.renderWhitespace===3,x=b.renderSpaceWidth!==b.spaceWidth,W=[];let U=0,F=0,G=k[F].type,Y=k[F].containsRTL,ne=k[F].endIndex;const se=k.length;let J=!1,q=I.firstNonWhitespaceIndex(w),H;q===-1?(J=!0,q=E,H=E):H=I.lastNonWhitespaceIndex(w);let V=!1,Z=0,ee=A&&A[Z],le=T%B;for(let de=R;de=ee.endOffset&&(Z++,ee=A&&A[Z]);let ae;if(deH)ae=!0;else if(ce===9)ae=!0;else if(ce===32)if(P)if(V)ae=!0;else{const X=de+1de),ae&&O&&(ae=J||de>H),ae&&Y&&de>=q&&de<=H&&(ae=!1),V){if(!ae||!N&&le>=B){if(x){const X=U>0?W[U-1].endIndex:R;for(let K=X+1;K<=de;K++)W[U++]=new S.LinePart(K,"mtkw",1,!1)}else W[U++]=new S.LinePart(de,"mtkw",1,!1);le=le%B}}else(de===ne||ae&&de>R)&&(W[U++]=new S.LinePart(de,G,0,Y),le=le%B);for(ce===9?le=B:I.isFullWidthCharacter(ce)?le+=2:le++,V=ae;de===ne&&(F++,F0?w.charCodeAt(E-1):0,ce=E>1?w.charCodeAt(E-2):0;de===32&&ce!==32&&ce!==9||(ue=!0)}else ue=!0;if(ue)if(x){const de=U>0?W[U-1].endIndex:R;for(let ce=de+1;ce<=E;ce++)W[U++]=new S.LinePart(ce,"mtkw",1,!1)}else W[U++]=new S.LinePart(E,"mtkw",1,!1);else W[U++]=new S.LinePart(E,G,0,Y);return W}function a(b,w,E,k){k.sort(D.LineDecoration.compare);const M=D.LineDecorationsNormalizer.normalize(b,k),R=M.length;let B=0;const T=[];let N=0,A=0;for(let O=0,x=E.length;OA&&(A=ne.startOffset,T[N++]=new S.LinePart(A,F,G,Y)),ne.endOffset+1<=U)A=ne.endOffset+1,T[N++]=new S.LinePart(A,F+" "+ne.className,G|ne.metadata,Y),B++;else{A=U,T[N++]=new S.LinePart(A,F+" "+ne.className,G|ne.metadata,Y);break}}U>A&&(A=U,T[N++]=new S.LinePart(A,F,G,Y))}const P=E[E.length-1].endIndex;if(B'):w.appendString("");for(let ee=0,le=A.length;ee=P&&(re+=he)}}for(K&&(w.appendString(' style="width:'),w.appendString(String(U*Q)),w.appendString('px"')),w.appendASCIICharCode(62);J1?w.appendCharCode(8594):w.appendCharCode(65515);for(let he=2;he<=oe;he++)w.appendCharCode(160)}else re=2,oe=1,w.appendCharCode(F),w.appendCharCode(8204);H+=re,V+=oe,J>=P&&(q+=oe)}}else for(w.appendASCIICharCode(62);J=P&&(q+=re)}z?Z++:Z=0,J>=B&&!se&&ue.isPseudoAfter()&&(se=!0,ne.setColumnInfo(J+1,ee,H,V)),w.appendString("")}return se||ne.setColumnInfo(B+1,A.length-1,H,V),T&&(w.appendString(''),w.appendString(L.localize(0,null,p(N))),w.appendString("")),w.appendString(""),new s(ne,W,M)}function h(b){return b.toString(16).toUpperCase().padStart(4,"0")}function p(b){return b<1024?L.localize(1,null,b):b<1024*1024?`${(b/1024).toFixed(1)} KB`:`${(b/1024/1024).toFixed(1)} MB`}}),define(te[632],ie([1,0,90,70,39,101,149,114,82]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenderOptions=e.LineSource=e.renderLines=void 0;const v=(0,L.createTrustedTypesPolicy)("diffEditorWidget",{createHTML:t=>t});function C(t,r,u,f){(0,I.applyFontInfo)(f,r.fontInfo);const d=u.length>0,l=new D.StringBuilder(1e4);let o=0,c=0;const a=[];for(let b=0;b');const a=r.getLineContent(),g=_.ViewLineRenderingData.isBasicASCII(a,d),h=_.ViewLineRenderingData.containsRTL(a,g,l),p=(0,m.renderViewLine)(new m.RenderLineInput(o.fontInfo.isMonospace&&!o.disableMonospaceOptimizations,o.fontInfo.canUseHalfwidthRightwardsArrow,a,!1,g,h,0,r,u,o.tabSize,0,o.fontInfo.spaceWidth,o.fontInfo.middotWidth,o.fontInfo.wsmiddotWidth,o.stopRenderingLineAfter,o.renderWhitespace,o.renderControlCharacters,o.fontLigatures!==y.EditorFontLigatures.OFF,null),c);return c.appendString(""),p.characterMapping.getHorizontalOffset(p.characterMapping.length)}}),define(te[633],ie([3,4]),function($,e){return $.create("vs/editor/contrib/anchorSelect/browser/anchorSelect",e)}),define(te[634],ie([3,4]),function($,e){return $.create("vs/editor/contrib/bracketMatching/browser/bracketMatching",e)}),define(te[635],ie([3,4]),function($,e){return $.create("vs/editor/contrib/caretOperations/browser/caretOperations",e)}),define(te[636],ie([3,4]),function($,e){return $.create("vs/editor/contrib/caretOperations/browser/transpose",e)}),define(te[637],ie([3,4]),function($,e){return $.create("vs/editor/contrib/clipboard/browser/clipboard",e)}),define(te[638],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/codeAction",e)}),define(te[639],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/codeActionCommands",e)}),define(te[640],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/codeActionContributions",e)}),define(te[641],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/codeActionController",e)}),define(te[642],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/codeActionMenu",e)}),define(te[643],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codeAction/browser/lightBulbWidget",e)}),define(te[644],ie([3,4]),function($,e){return $.create("vs/editor/contrib/codelens/browser/codelensController",e)}),define(te[645],ie([3,4]),function($,e){return $.create("vs/editor/contrib/colorPicker/browser/colorPickerWidget",e)}),define(te[646],ie([3,4]),function($,e){return $.create("vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions",e)}),define(te[647],ie([3,4]),function($,e){return $.create("vs/editor/contrib/comment/browser/comment",e)}),define(te[648],ie([3,4]),function($,e){return $.create("vs/editor/contrib/contextmenu/browser/contextmenu",e)}),define(te[649],ie([3,4]),function($,e){return $.create("vs/editor/contrib/cursorUndo/browser/cursorUndo",e)}),define(te[650],ie([3,4]),function($,e){return $.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution",e)}),define(te[651],ie([3,4]),function($,e){return $.create("vs/editor/contrib/dropOrPasteInto/browser/copyPasteController",e)}),define(te[652],ie([3,4]),function($,e){return $.create("vs/editor/contrib/dropOrPasteInto/browser/defaultProviders",e)}),define(te[653],ie([3,4]),function($,e){return $.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution",e)}),define(te[654],ie([3,4]),function($,e){return $.create("vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController",e)}),define(te[655],ie([3,4]),function($,e){return $.create("vs/editor/contrib/editorState/browser/keybindingCancellation",e)}),define(te[656],ie([3,4]),function($,e){return $.create("vs/editor/contrib/find/browser/findController",e)}),define(te[657],ie([3,4]),function($,e){return $.create("vs/editor/contrib/find/browser/findWidget",e)}),define(te[658],ie([3,4]),function($,e){return $.create("vs/editor/contrib/folding/browser/folding",e)}),define(te[659],ie([3,4]),function($,e){return $.create("vs/editor/contrib/folding/browser/foldingDecorations",e)}),define(te[660],ie([3,4]),function($,e){return $.create("vs/editor/contrib/fontZoom/browser/fontZoom",e)}),define(te[661],ie([3,4]),function($,e){return $.create("vs/editor/contrib/format/browser/format",e)}),define(te[662],ie([3,4]),function($,e){return $.create("vs/editor/contrib/format/browser/formatActions",e)}),define(te[663],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoError/browser/gotoError",e)}),define(te[664],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoError/browser/gotoErrorWidget",e)}),define(te[665],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/goToCommands",e)}),define(te[666],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition",e)}),define(te[667],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesController",e)}),define(te[668],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesTree",e)}),define(te[669],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget",e)}),define(te[670],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/referencesModel",e)}),define(te[155],ie([1,0,9,6,163,2,56,46,10,5,670]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesModel=e.FileReferences=e.FilePreview=e.OneReference=void 0;class s{constructor(u,f,d,l){this.isProviderFirst=u,this.parent=f,this.link=d,this._rangeCallback=l,this.id=y.defaultGenerator.nextId()}get uri(){return this.link.uri}get range(){var u,f;return(f=(u=this._range)!==null&&u!==void 0?u:this.link.targetSelectionRange)!==null&&f!==void 0?f:this.link.range}set range(u){this._range=u,this._rangeCallback(this)}get ariaMessage(){var u;const f=(u=this.parent.getPreview(this))===null||u===void 0?void 0:u.preview(this.range);return f?(0,C.localize)(1,null,f.value,(0,m.basename)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,C.localize)(0,null,(0,m.basename)(this.uri),this.range.startLineNumber,this.range.startColumn)}}e.OneReference=s;class i{constructor(u){this._modelReference=u}dispose(){this._modelReference.dispose()}preview(u,f=8){const d=this._modelReference.object.textEditorModel;if(!d)return;const{startLineNumber:l,startColumn:o,endLineNumber:c,endColumn:a}=u,g=d.getWordUntilPosition({lineNumber:l,column:o-f}),h=new v.Range(l,g.startColumn,l,o),p=new v.Range(c,a,c,1073741824),b=d.getValueInRange(h).replace(/^\s+/,""),w=d.getValueInRange(u),E=d.getValueInRange(p).replace(/\s+$/,"");return{value:b+w+E,highlight:{start:b.length,end:b.length+w.length}}}}e.FilePreview=i;class n{constructor(u,f){this.parent=u,this.uri=f,this.children=[],this._previews=new S.ResourceMap}dispose(){(0,D.dispose)(this._previews.values()),this._previews.clear()}getPreview(u){return this._previews.get(u.uri)}get ariaMessage(){const u=this.children.length;return u===1?(0,C.localize)(2,null,(0,m.basename)(this.uri),this.uri.fsPath):(0,C.localize)(3,null,u,(0,m.basename)(this.uri),this.uri.fsPath)}resolve(u){return be(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(const f of this.children)if(!this._previews.has(f.uri))try{const d=yield u.createModelReference(f.uri);this._previews.set(f.uri,new i(d))}catch(d){(0,L.onUnexpectedError)(d)}return this})}}e.FileReferences=n;class t{constructor(u,f){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new I.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=u,this._title=f;const[d]=u;u.sort(t._compareReferences);let l;for(const o of u)if((!l||!m.extUri.isEqual(l.uri,o.uri,!0))&&(l=new n(this,o.uri),this.groups.push(l)),l.children.length===0||t._compareReferences(o,l.children[l.children.length-1])!==0){const c=new s(d===o,l,o,a=>this._onDidChangeReferenceRange.fire(a));this.references.push(c),l.children.push(c)}}dispose(){(0,D.dispose)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new t(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,C.localize)(4,null):this.references.length===1?(0,C.localize)(5,null,this.references[0].uri.fsPath):this.groups.length===1?(0,C.localize)(6,null,this.references.length,this.groups[0].uri.fsPath):(0,C.localize)(7,null,this.references.length,this.groups.length)}nextOrPreviousReference(u,f){const{parent:d}=u;let l=d.children.indexOf(u);const o=d.children.length,c=d.parent.groups.length;return c===1||f&&l+10?(f?l=(l+1)%o:l=(l+o-1)%o,d.children[l]):(l=d.parent.groups.indexOf(d),f?(l=(l+1)%c,d.parent.groups[l].children[0]):(l=(l+c-1)%c,d.parent.groups[l].children[d.parent.groups[l].children.length-1]))}nearestReference(u,f){const d=this.references.map((l,o)=>({idx:o,prefixLen:_.commonPrefixLength(l.uri.toString(),u.toString()),offsetDist:Math.abs(l.range.startLineNumber-f.lineNumber)*100+Math.abs(l.range.startColumn-f.column)})).sort((l,o)=>l.prefixLen>o.prefixLen?-1:l.prefixLeno.offsetDist?1:0)[0];if(d)return this.references[d.idx]}referenceAt(u,f){for(const d of this.references)if(d.uri.toString()===u.toString()&&v.Range.containsPosition(d.range,f))return d}firstReference(){for(const u of this.references)if(u.isProviderFirst)return u;return this.references[0]}static _compareReferences(u,f){return m.extUri.compare(u.uri,f.uri)||v.Range.compareRangesUsingStarts(u.range,f.range)}}e.ReferencesModel=t}),define(te[671],ie([3,4]),function($,e){return $.create("vs/editor/contrib/gotoSymbol/browser/symbolNavigation",e)}),define(te[672],ie([3,4]),function($,e){return $.create("vs/editor/contrib/hover/browser/hover",e)}),define(te[673],ie([3,4]),function($,e){return $.create("vs/editor/contrib/hover/browser/markdownHoverParticipant",e)}),define(te[674],ie([3,4]),function($,e){return $.create("vs/editor/contrib/hover/browser/markerHoverParticipant",e)}),define(te[675],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace",e)}),define(te[676],ie([3,4]),function($,e){return $.create("vs/editor/contrib/indentation/browser/indentation",e)}),define(te[677],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlayHints/browser/inlayHintsHover",e)}),define(te[678],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlineCompletions/browser/commands",e)}),define(te[679],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlineCompletions/browser/hoverParticipant",e)}),define(te[680],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys",e)}),define(te[681],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController",e)}),define(te[682],ie([3,4]),function($,e){return $.create("vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget",e)}),define(te[683],ie([3,4]),function($,e){return $.create("vs/editor/contrib/lineSelection/browser/lineSelection",e)}),define(te[684],ie([3,4]),function($,e){return $.create("vs/editor/contrib/linesOperations/browser/linesOperations",e)}),define(te[685],ie([3,4]),function($,e){return $.create("vs/editor/contrib/linkedEditing/browser/linkedEditing",e)}),define(te[686],ie([3,4]),function($,e){return $.create("vs/editor/contrib/links/browser/links",e)}),define(te[687],ie([3,4]),function($,e){return $.create("vs/editor/contrib/message/browser/messageController",e)}),define(te[688],ie([3,4]),function($,e){return $.create("vs/editor/contrib/multicursor/browser/multicursor",e)}),define(te[689],ie([3,4]),function($,e){return $.create("vs/editor/contrib/parameterHints/browser/parameterHints",e)}),define(te[690],ie([3,4]),function($,e){return $.create("vs/editor/contrib/parameterHints/browser/parameterHintsWidget",e)}),define(te[691],ie([3,4]),function($,e){return $.create("vs/editor/contrib/peekView/browser/peekView",e)}),define(te[692],ie([3,4]),function($,e){return $.create("vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess",e)}),define(te[693],ie([3,4]),function($,e){return $.create("vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess",e)}),define(te[694],ie([3,4]),function($,e){return $.create("vs/editor/contrib/readOnlyMessage/browser/contribution",e)}),define(te[695],ie([3,4]),function($,e){return $.create("vs/editor/contrib/rename/browser/rename",e)}),define(te[696],ie([3,4]),function($,e){return $.create("vs/editor/contrib/rename/browser/renameInputField",e)}),define(te[697],ie([3,4]),function($,e){return $.create("vs/editor/contrib/smartSelect/browser/smartSelect",e)}),define(te[698],ie([3,4]),function($,e){return $.create("vs/editor/contrib/snippet/browser/snippetController2",e)}),define(te[699],ie([3,4]),function($,e){return $.create("vs/editor/contrib/snippet/browser/snippetVariables",e)}),define(te[700],ie([3,4]),function($,e){return $.create("vs/editor/contrib/stickyScroll/browser/stickyScrollActions",e)}),define(te[701],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggest",e)}),define(te[702],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggestController",e)}),define(te[703],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggestWidget",e)}),define(te[704],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggestWidgetDetails",e)}),define(te[705],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggestWidgetRenderer",e)}),define(te[706],ie([3,4]),function($,e){return $.create("vs/editor/contrib/suggest/browser/suggestWidgetStatus",e)}),define(te[707],ie([3,4]),function($,e){return $.create("vs/editor/contrib/symbolIcons/browser/symbolIcons",e)}),define(te[708],ie([3,4]),function($,e){return $.create("vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode",e)}),define(te[709],ie([3,4]),function($,e){return $.create("vs/editor/contrib/tokenization/browser/tokenization",e)}),define(te[710],ie([3,4]),function($,e){return $.create("vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter",e)}),define(te[711],ie([3,4]),function($,e){return $.create("vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators",e)}),define(te[712],ie([3,4]),function($,e){return $.create("vs/editor/contrib/wordHighlighter/browser/highlightDecorations",e)}),define(te[713],ie([3,4]),function($,e){return $.create("vs/editor/contrib/wordHighlighter/browser/wordHighlighter",e)}),define(te[714],ie([3,4]),function($,e){return $.create("vs/editor/contrib/wordOperations/browser/wordOperations",e)}),define(te[715],ie([3,4]),function($,e){return $.create("vs/platform/action/common/actionCommonCategories",e)}),define(te[716],ie([3,4]),function($,e){return $.create("vs/platform/actionWidget/browser/actionList",e)}),define(te[717],ie([3,4]),function($,e){return $.create("vs/platform/actionWidget/browser/actionWidget",e)}),define(te[718],ie([3,4]),function($,e){return $.create("vs/platform/actions/browser/menuEntryActionViewItem",e)}),define(te[719],ie([3,4]),function($,e){return $.create("vs/platform/actions/browser/toolbar",e)}),define(te[720],ie([3,4]),function($,e){return $.create("vs/platform/actions/common/menuService",e)}),define(te[721],ie([3,4]),function($,e){return $.create("vs/platform/audioCues/browser/audioCueService",e)}),define(te[722],ie([3,4]),function($,e){return $.create("vs/platform/configuration/common/configurationRegistry",e)}),define(te[723],ie([3,4]),function($,e){return $.create("vs/platform/contextkey/browser/contextKeyService",e)}),define(te[724],ie([3,4]),function($,e){return $.create("vs/platform/contextkey/common/contextkey",e)}),define(te[725],ie([3,4]),function($,e){return $.create("vs/platform/contextkey/common/contextkeys",e)}),define(te[726],ie([3,4]),function($,e){return $.create("vs/platform/contextkey/common/scanner",e)}),define(te[727],ie([3,4]),function($,e){return $.create("vs/platform/history/browser/contextScopedHistoryWidget",e)}),define(te[728],ie([3,4]),function($,e){return $.create("vs/platform/keybinding/common/abstractKeybindingService",e)}),define(te[729],ie([3,4]),function($,e){return $.create("vs/platform/list/browser/listService",e)}),define(te[730],ie([3,4]),function($,e){return $.create("vs/platform/markers/common/markers",e)}),define(te[731],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/commandsQuickAccess",e)}),define(te[732],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/helpQuickAccess",e)}),define(te[733],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/quickInput",e)}),define(te[734],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/quickInputController",e)}),define(te[735],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/quickInputList",e)}),define(te[736],ie([3,4]),function($,e){return $.create("vs/platform/quickinput/browser/quickInputUtils",e)}),define(te[737],ie([3,4]),function($,e){return $.create("vs/platform/theme/common/colorRegistry",e)}),define(te[738],ie([3,4]),function($,e){return $.create("vs/platform/theme/common/iconRegistry",e)}),define(te[739],ie([3,4]),function($,e){return $.create("vs/platform/undoRedo/common/undoRedoService",e)}),define(te[740],ie([3,4]),function($,e){return $.create("vs/platform/workspace/common/workspace",e)}),define(te[741],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isICommandActionToggleInfo=void 0;function L(I){return I?I.condition!==void 0:!1}e.isICommandActionToggleInfo=L}),define(te[742],ie([1,0,715]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Categories=void 0,e.Categories=Object.freeze({View:{value:(0,L.localize)(0,null),original:"View"},Help:{value:(0,L.localize)(1,null),original:"Help"},Test:{value:(0,L.localize)(2,null),original:"Test"},File:{value:(0,L.localize)(3,null),original:"File"},Preferences:{value:(0,L.localize)(4,null),original:"Preferences"},Developer:{value:(0,L.localize)(5,null),original:"Developer"}})}),define(te[743],ie([1,0,9,726]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scanner=void 0;function y(..._){switch(_.length){case 1:return(0,I.localize)(0,null,_[0]);case 2:return(0,I.localize)(1,null,_[0],_[1]);case 3:return(0,I.localize)(2,null,_[0],_[1],_[2]);default:return}}const D=(0,I.localize)(3,null),S=(0,I.localize)(4,null);class m{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(v){switch(v.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return v.isTripleEq?"===":"==";case 4:return v.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return v.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return v.lexeme;case 18:return v.lexeme;case 19:return v.lexeme;case 20:return"EOF";default:throw(0,L.illegalState)(`unhandled token type: ${JSON.stringify(v)}; have you forgotten to add a case?`)}}reset(v){return this._input=v,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const C=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:C})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const C=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:C})}else this._match(126)?this._addToken(9):this._error(y("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(y("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(y("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(v){return this._isAtEnd()||this._input.charCodeAt(this._current)!==v?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(v){this._tokens.push({type:v,offset:this._start})}_error(v){const C=this._start,s=this._input.substring(this._start,this._current),i={type:19,offset:this._start,lexeme:s};this._errors.push({offset:C,lexeme:s,additionalInfo:v}),this._tokens.push(i)}_string(){this.stringRe.lastIndex=this._start;const v=this.stringRe.exec(this._input);if(v){this._current=this._start+v[0].length;const C=this._input.substring(this._start,this._current),s=m._keywords.get(C);s?this._addToken(s):this._tokens.push({type:17,lexeme:C,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(D);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let v=this._current,C=!1,s=!1;for(;;){if(v>=this._input.length){this._current=v,this._error(S);return}const n=this._input.charCodeAt(v);if(C)C=!1;else if(n===47&&!s){v++;break}else n===91?s=!0:n===92?C=!0:n===93&&(s=!1);v++}for(;v=this._input.length}}e.Scanner=m,m._regexFlags=new Set(["i","g","s","m","y","u"].map(_=>_.charCodeAt(0))),m._keywords=new Map([["not",14],["in",13],["false",12],["true",11]])}),define(te[744],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorOpenSource=void 0;var L;(function(I){I[I.API=0]="API",I[I.USER=1]="USER"})(L||(e.EditorOpenSource=L={}))}),define(te[745],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionIdentifierSet=e.ExtensionIdentifier=void 0;class L{constructor(D){this.value=D,this._lower=D.toLowerCase()}static toKey(D){return typeof D=="string"?D.toLowerCase():D._lower}}e.ExtensionIdentifier=L;class I{constructor(D){if(this._set=new Set,D)for(const S of D)this.add(S)}add(D){this._set.add(L.toKey(D))}has(D){return this._set.has(L.toKey(D))}}e.ExtensionIdentifierSet=I}),define(te[334],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileKind=void 0;var L;(function(I){I[I.FILE=0]="FILE",I[I.FOLDER=1]="FOLDER",I[I.ROOT_FOLDER=2]="ROOT_FOLDER"})(L||(e.FileKind=L={}))}),define(te[746],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showHistoryKeybindingHint=void 0;function L(I){var y,D;return((y=I.lookupKeybinding("history.showPrevious"))===null||y===void 0?void 0:y.getElectronAccelerator())==="Up"&&((D=I.lookupKeybinding("history.showNext"))===null||D===void 0?void 0:D.getElectronAccelerator())==="Down"}e.showHistoryKeybindingHint=L}),define(te[232],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SyncDescriptor=void 0;class L{constructor(y,D=[],S=!1){this.ctor=y,this.staticArguments=D,this.supportsDelayedInstantiation=S}}e.SyncDescriptor=L}),define(te[47],ie([1,0,232]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingletonServiceDescriptors=e.registerSingleton=void 0;const I=[];function y(S,m,_){m instanceof L.SyncDescriptor||(m=new L.SyncDescriptor(m,[],!!_)),I.push([S,m])}e.registerSingleton=y;function D(){return I}e.getSingletonServiceDescriptors=D}),define(te[747],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Graph=e.Node=void 0;class L{constructor(D,S){this.key=D,this.data=S,this.incoming=new Map,this.outgoing=new Map}}e.Node=L;class I{constructor(D){this._hashFn=D,this._nodes=new Map}roots(){const D=[];for(const S of this._nodes.values())S.outgoing.size===0&&D.push(S);return D}insertEdge(D,S){const m=this.lookupOrInsertNode(D),_=this.lookupOrInsertNode(S);m.outgoing.set(_.key,_),_.incoming.set(m.key,m)}removeNode(D){const S=this._hashFn(D);this._nodes.delete(S);for(const m of this._nodes.values())m.outgoing.delete(S),m.incoming.delete(S)}lookupOrInsertNode(D){const S=this._hashFn(D);let m=this._nodes.get(S);return m||(m=new L(S,D),this._nodes.set(S,m)),m}isEmpty(){return this._nodes.size===0}toString(){const D=[];for(const[S,m]of this._nodes)D.push(`${S} + (-> incoming)[${[...m.incoming.keys()].join(", ")}] + (outgoing ->)[${[...m.outgoing.keys()].join(",")}] +`);return D.join(` +`)}findCycleSlow(){for(const[D,S]of this._nodes){const m=new Set([D]),_=this._findCycle(S,m);if(_)return _}}_findCycle(D,S){for(const[m,_]of D.outgoing){if(S.has(m))return[...S,m].join(" -> ");S.add(m);const v=this._findCycle(_,S);if(v)return v;S.delete(m)}}}e.Graph=I}),define(te[8],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDecorator=e.IInstantiationService=e._util=void 0;var L;(function(D){D.serviceIds=new Map,D.DI_TARGET="$di$target",D.DI_DEPENDENCIES="$di$dependencies";function S(m){return m[D.DI_DEPENDENCIES]||[]}D.getServiceDependencies=S})(L||(e._util=L={})),e.IInstantiationService=y("instantiationService");function I(D,S,m){S[L.DI_TARGET]===S?S[L.DI_DEPENDENCIES].push({id:D,index:m}):(S[L.DI_DEPENDENCIES]=[{id:D,index:m}],S[L.DI_TARGET]=S)}function y(D){if(L.serviceIds.has(D))return L.serviceIds.get(D);const S=function(m,_,v){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");I(S,m,v)};return S.toString=()=>D,L.serviceIds.set(D,S),S}e.createDecorator=y}),define(te[130],ie([1,0,8,21,20]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceFileEdit=e.ResourceTextEdit=e.ResourceEdit=e.IBulkEditService=void 0,e.IBulkEditService=(0,L.createDecorator)("IWorkspaceEditService");class D{constructor(v){this.metadata=v}static convert(v){return v.edits.map(C=>{if(S.is(C))return S.lift(C);if(m.is(C))return m.lift(C);throw new Error("Unsupported edit")})}}e.ResourceEdit=D;class S extends D{static is(v){return v instanceof S?!0:(0,y.isObject)(v)&&I.URI.isUri(v.resource)&&(0,y.isObject)(v.textEdit)}static lift(v){return v instanceof S?v:new S(v.resource,v.textEdit,v.versionId,v.metadata)}constructor(v,C,s=void 0,i){super(i),this.resource=v,this.textEdit=C,this.versionId=s}}e.ResourceTextEdit=S;class m extends D{static is(v){return v instanceof m?!0:(0,y.isObject)(v)&&(!!v.newResource||!!v.oldResource)}static lift(v){return v instanceof m?v:new m(v.oldResource,v.newResource,v.options,v.metadata)}constructor(v,C,s={},i){super(i),this.oldResource=v,this.newResource=C,this.options=s}}e.ResourceFileEdit=m}),define(te[33],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICodeEditorService=void 0,e.ICodeEditorService=(0,L.createDecorator)("codeEditorService")}),define(te[42],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageService=void 0,e.ILanguageService=(0,L.createDecorator)("languageService")}),define(te[115],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorWorkerService=void 0,e.IEditorWorkerService=(0,L.createDecorator)("editorWorkerService")}),define(te[18],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILanguageFeaturesService=void 0,e.ILanguageFeaturesService=(0,L.createDecorator)("ILanguageFeaturesService")});var ge=this&&this.__param||function($,e){return function(L,I){e(L,I,$)}};define(te[748],ie([1,0,7,128,13,26,6,57,2,40,27,20,487,100,64,12,5,29,18,614]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HideUnchangedRegionsFeature=void 0;let o=class extends _.Disposable{get isUpdatingViewZones(){return this._isUpdatingViewZones}constructor(h,p,b,w){super(),this._editors=h,this._diffModel=p,this._options=b,this._languageFeaturesService=w,this._isUpdatingViewZones=!1,this._modifiedOutlineSource=(0,v.derivedWithStore)(this,(B,T)=>{const N=this._editors.modifiedModel.read(B);if(N)return T.add(new c(this._languageFeaturesService,N))}),this._register(this._editors.original.onDidChangeCursorPosition(B=>{if(B.reason===3){const T=this._diffModel.get();(0,v.transaction)(N=>{for(const A of this._editors.original.getSelections()||[])T?.ensureOriginalLineIsVisible(A.getStartPosition().lineNumber,N),T?.ensureOriginalLineIsVisible(A.getEndPosition().lineNumber,N)})}})),this._register(this._editors.modified.onDidChangeCursorPosition(B=>{if(B.reason===3){const T=this._diffModel.get();(0,v.transaction)(N=>{for(const A of this._editors.modified.getSelections()||[])T?.ensureModifiedLineIsVisible(A.getStartPosition().lineNumber,N),T?.ensureModifiedLineIsVisible(A.getEndPosition().lineNumber,N)})}}));const E=this._diffModel.map((B,T)=>{var N,A;return((N=B?.diff.read(T))===null||N===void 0?void 0:N.mappings.length)===0?[]:(A=B?.unchangedRegions.read(T))!==null&&A!==void 0?A:[]}),k=(0,v.derivedWithStore)(this,(B,T)=>{const N=this._modifiedOutlineSource.read(B);if(!N)return{origViewZones:[],modViewZones:[]};const A=[],P=[],O=this._options.renderSideBySide.read(B),x=E.read(B);for(const W of x)if(!W.shouldHideControls(B)){{const U=(0,v.derived)(G=>W.getHiddenOriginalRange(G).startLineNumber-1),F=new n.PlaceholderViewZone(U,24);A.push(F),T.add(new a(this._editors.original,F,W,W.originalUnchangedRange,!O,N,G=>this._diffModel.get().ensureModifiedLineIsVisible(G,void 0),this._options))}{const U=(0,v.derived)(G=>W.getHiddenModifiedRange(G).startLineNumber-1),F=new n.PlaceholderViewZone(U,24);P.push(F),T.add(new a(this._editors.modified,F,W,W.modifiedUnchangedRange,!1,N,G=>this._diffModel.get().ensureModifiedLineIsVisible(G,void 0),this._options))}}return{origViewZones:A,modViewZones:P}}),M={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},R={description:"Fold Unchanged",glyphMarginHoverMessage:new m.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,l.localize)(0,null)),glyphMarginClassName:"fold-unchanged "+C.ThemeIcon.asClassName(D.Codicon.fold),zIndex:10001};this._register((0,n.applyObservableDecorations)(this._editors.original,(0,v.derived)(B=>{const T=E.read(B),N=T.map(A=>({range:A.originalUnchangedRange.toInclusiveRange(),options:M}));for(const A of T)A.shouldHideControls(B)&&N.push({range:u.Range.fromPositions(new r.Position(A.originalLineNumber,1)),options:R});return N}))),this._register((0,n.applyObservableDecorations)(this._editors.modified,(0,v.derived)(B=>{const T=E.read(B),N=T.map(A=>({range:A.modifiedUnchangedRange.toInclusiveRange(),options:M}));for(const A of T)A.shouldHideControls(B)&&N.push({range:t.LineRange.ofLength(A.modifiedLineNumber,1).toInclusiveRange(),options:R});return N}))),this._register((0,n.applyViewZones)(this._editors.original,k.map(B=>B.origViewZones),B=>this._isUpdatingViewZones=B)),this._register((0,n.applyViewZones)(this._editors.modified,k.map(B=>B.modViewZones),B=>this._isUpdatingViewZones=B)),this._register((0,v.autorun)(B=>{const T=E.read(B);this._editors.original.setHiddenAreas(T.map(N=>N.getHiddenOriginalRange(B).toInclusiveRange()).filter(s.isDefined)),this._editors.modified.setHiddenAreas(T.map(N=>N.getHiddenModifiedRange(B).toInclusiveRange()).filter(s.isDefined))})),this._register(this._editors.modified.onMouseUp(B=>{var T;if(!B.event.rightButton&&B.target.position&&(!((T=B.target.element)===null||T===void 0)&&T.className.includes("fold-unchanged"))){const N=B.target.position.lineNumber,A=this._diffModel.get();if(!A)return;const P=A.unchangedRegions.get().find(O=>O.modifiedUnchangedRange.includes(N));if(!P)return;P.collapseAll(void 0),B.event.stopPropagation(),B.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(B=>{var T;if(!B.event.rightButton&&B.target.position&&(!((T=B.target.element)===null||T===void 0)&&T.className.includes("fold-unchanged"))){const N=B.target.position.lineNumber,A=this._diffModel.get();if(!A)return;const P=A.unchangedRegions.get().find(O=>O.originalUnchangedRange.includes(N));if(!P)return;P.collapseAll(void 0),B.event.stopPropagation(),B.event.preventDefault()}}))}};e.HideUnchangedRegionsFeature=o,e.HideUnchangedRegionsFeature=o=Ie([ge(3,d.ILanguageFeaturesService)],o);let c=class extends _.Disposable{constructor(h,p){super(),this._languageFeaturesService=h,this._textModel=p,this._currentModel=(0,v.observableValue)(this,void 0);const b=(0,v.observableSignalFromEvent)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),w=(0,v.observableSignalFromEvent)("_textModel.onDidChangeContent",S.Event.debounce(E=>this._textModel.onDidChangeContent(E),()=>{},100));this._register((0,v.autorunWithStore)((E,k)=>be(this,void 0,void 0,function*(){b.read(E),w.read(E);const M=k.add(new n.DisposableCancellationTokenSource),R=yield i.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,this._textModel,M.token);k.isDisposed||this._currentModel.set(R,void 0)})))}getBreadcrumbItems(h,p){const b=this._currentModel.read(p);if(!b)return[];const w=b.asListOfDocumentSymbols().filter(E=>h.contains(E.range.startLineNumber)&&!h.contains(E.range.endLineNumber));return w.sort((0,y.reverseOrder)((0,y.compareBy)(E=>E.range.endLineNumber-E.range.startLineNumber,y.numberComparator))),w.map(E=>({name:E.name,kind:E.kind,startLineNumber:E.range.startLineNumber}))}};c=Ie([ge(0,d.ILanguageFeaturesService)],c);class a extends n.ViewZoneOverlayWidget{constructor(h,p,b,w,E,k,M,R){const B=(0,L.h)("div.diff-hidden-lines-widget");super(h,p,B.root),this._editor=h,this._unchangedRegion=b,this._unchangedRegionRange=w,this.hide=E,this._modifiedOutlineSource=k,this._revealModifiedHiddenLine=M,this._options=R,this._nodes=(0,L.h)("div.diff-hidden-lines",[(0,L.h)("div.top@top",{title:(0,l.localize)(1,null)}),(0,L.h)("div.center@content",{style:{display:"flex"}},[(0,L.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,L.$)("a",{title:(0,l.localize)(2,null),role:"button",onclick:()=>{this._unchangedRegion.showAll(void 0)}},...(0,I.renderLabelWithIcons)("$(unfold)"))]),(0,L.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,L.h)("div.bottom@bottom",{title:(0,l.localize)(3,null),role:"button"})]),B.root.appendChild(this._nodes.root);const T=(0,v.observableFromEvent)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this.hide?(0,L.reset)(this._nodes.first):this._register((0,n.applyStyle)(this._nodes.first,{width:T.map(A=>A.contentLeft)}));const N=this._editor;this._register((0,L.addDisposableListener)(this._nodes.top,"mousedown",A=>{if(A.button!==0)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),A.preventDefault();const P=A.clientY;let O=!1;const x=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set(!0,void 0);const W=(0,L.addDisposableListener)(window,"mousemove",F=>{const Y=F.clientY-P;O=O||Math.abs(Y)>2;const ne=Math.round(Y/N.getOption(66)),se=Math.max(0,Math.min(x+ne,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(se,void 0)}),U=(0,L.addDisposableListener)(window,"mouseup",F=>{O||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(!1,void 0),W.dispose(),U.dispose()})})),this._register((0,L.addDisposableListener)(this._nodes.bottom,"mousedown",A=>{if(A.button!==0)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),A.preventDefault();const P=A.clientY;let O=!1;const x=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set(!0,void 0);const W=(0,L.addDisposableListener)(window,"mousemove",F=>{const Y=F.clientY-P;O=O||Math.abs(Y)>2;const ne=Math.round(Y/N.getOption(66)),se=Math.max(0,Math.min(x-ne,this._unchangedRegion.getMaxVisibleLineCountBottom())),J=N.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(se,void 0);const q=N.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);N.setScrollTop(N.getScrollTop()+(q-J))}),U=(0,L.addDisposableListener)(window,"mouseup",F=>{if(this._unchangedRegion.isDragged.set(!1,void 0),!O){const G=N.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);const Y=N.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);N.setScrollTop(N.getScrollTop()+(Y-G))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),W.dispose(),U.dispose()})})),this._register((0,v.autorun)(A=>{const P=[];if(!this.hide){const O=b.getHiddenModifiedRange(A).length,x=(0,l.localize)(4,null,O),W=(0,L.$)("span",{title:(0,l.localize)(5,null)},x);W.addEventListener("dblclick",G=>{G.button===0&&(G.preventDefault(),this._unchangedRegion.showAll(void 0))}),P.push(W);const U=this._unchangedRegion.getHiddenModifiedRange(A),F=this._modifiedOutlineSource.getBreadcrumbItems(U,A);if(F.length>0){P.push((0,L.$)("span",void 0,"\xA0\xA0|\xA0\xA0"));for(let G=0;G{this._revealModifiedHiddenLine(Y.startLineNumber)}}}}(0,L.reset)(this._nodes.others,...P)}))}}}),define(te[749],ie([1,0,598,18,47]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeaturesService=void 0;class D{constructor(){this.referenceProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.renameProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeActionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.definitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.typeDefinitionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.declarationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.implementationProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSymbolProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlayHintsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.colorProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.codeLensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.onTypeFormattingEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.signatureHelpProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.hoverProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentHighlightProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.selectionRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.foldingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.inlineCompletionsProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.completionProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.linkedEditingRangeProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentSemanticTokensProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentOnDropEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this)),this.documentPasteEditProvider=new L.LanguageFeatureRegistry(this._score.bind(this))}_score(m){var _;return(_=this._notebookTypeResolver)===null||_===void 0?void 0:_.call(this,m)}}e.LanguageFeaturesService=D,(0,y.registerSingleton)(I.ILanguageFeaturesService,D,1)}),define(te[233],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerDecorationsService=void 0,e.IMarkerDecorationsService=(0,L.createDecorator)("markerDecorationsService")}),define(te[50],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IModelService=void 0,e.IModelService=(0,L.createDecorator)("modelService")}),define(te[65],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextModelService=void 0,e.ITextModelService=(0,L.createDecorator)("textModelService")}),define(te[234],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISemanticTokensStylingService=void 0,e.ISemanticTokensStylingService=(0,L.createDecorator)("semanticTokensStylingService")}),define(te[185],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITextResourcePropertiesService=e.ITextResourceConfigurationService=void 0,e.ITextResourceConfigurationService=(0,L.createDecorator)("textResourceConfigurationService"),e.ITextResourcePropertiesService=(0,L.createDecorator)("textResourcePropertiesService")}),define(te[750],ie([1,0,47,8,288]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITreeViewsDnDService=void 0,e.ITreeViewsDnDService=(0,I.createDecorator)("treeViewsDndService"),(0,L.registerSingleton)(e.ITreeViewsDnDService,y.TreeViewsDnDService,1)}),define(te[335],ie([1,0,130]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortEditsByYieldTo=e.createCombinedWorkspaceEdit=void 0;function I(D,S,m){var _,v;return{edits:[...S.map(C=>new L.ResourceTextEdit(D,typeof m.insertText=="string"?{range:C,text:m.insertText,insertAsSnippet:!1}:{range:C,text:m.insertText.snippet,insertAsSnippet:!0})),...(v=(_=m.additionalEdit)===null||_===void 0?void 0:_.edits)!==null&&v!==void 0?v:[]]}}e.createCombinedWorkspaceEdit=I;function y(D){var S;function m(i,n){return"providerId"in i&&i.providerId===n.providerId||"mimeType"in i&&i.mimeType===n.handledMimeType}const _=new Map;for(const i of D)for(const n of(S=i.yieldTo)!==null&&S!==void 0?S:[])for(const t of D)if(t!==i&&m(n,t)){let r=_.get(i);r||(r=[],_.set(i,r)),r.push(t)}if(!_.size)return Array.from(D);const v=new Set,C=[];function s(i){if(!i.length)return[];const n=i[0];if(C.includes(n))return console.warn(`Yield to cycle detected for ${n.providerId}`),i;if(v.has(n))return s(i.slice(1));let t=[];const r=_.get(n);return r&&(C.push(n),t=s(r),C.pop()),v.add(n),[...t,n,...s(i.slice(1))]}return s(Array.from(D))}e.sortEditsByYieldTo=y}),define(te[751],ie([1,0,90,6,2,40,10,70,39,12,5,101,42,49,91,149,114,215,150,454]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GhostTextWidget=e.GHOST_TEXT_DESCRIPTION=void 0,e.GHOST_TEXT_DESCRIPTION="ghost-text";let l=class extends y.Disposable{constructor(h,p,b){super(),this.editor=h,this.model=p,this.languageService=b,this.isDisposed=(0,D.observableValue)(this,!1),this.currentTextModel=(0,D.observableFromEvent)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,D.derived)(this,w=>{if(this.isDisposed.read(w))return;const E=this.currentTextModel.read(w);if(E!==this.model.targetTextModel.read(w))return;const k=this.model.ghostText.read(w);if(!k)return;const M=k instanceof f.GhostTextReplacement?k.columnRange:void 0,R=[],B=[];function T(x,W){if(B.length>0){const U=B[B.length-1];W&&U.decorations.push(new r.LineDecoration(U.content.length+1,U.content.length+1+x[0].length,W,0)),U.content+=x[0],x=x.slice(1)}for(const U of x)B.push({content:U,decorations:W?[new r.LineDecoration(1,U.length+1,W,0)]:[]})}const N=E.getLineContent(k.lineNumber);let A,P=0;for(const x of k.parts){let W=x.lines;A===void 0?(R.push({column:x.column,text:W[0],preview:x.preview}),W=W.slice(1)):T([N.substring(P,x.column-1)],void 0),W.length>0&&(T(W,e.GHOST_TEXT_DESCRIPTION),A===void 0&&x.column<=N.length&&(A=x.column)),P=x.column-1}A!==void 0&&T([N.substring(P)],void 0);const O=A!==void 0?new d.ColumnRange(A,N.length+1):void 0;return{replacedRange:M,inlineTexts:R,additionalLines:B,hiddenRange:O,lineNumber:k.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(w),targetTextModel:E}}),this.decorations=(0,D.derived)(this,w=>{const E=this.uiState.read(w);if(!E)return[];const k=[];E.replacedRange&&k.push({range:E.replacedRange.toRange(E.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),E.hiddenRange&&k.push({range:E.hiddenRange.toRange(E.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}});for(const M of E.inlineTexts)k.push({range:C.Range.fromPositions(new v.Position(E.lineNumber,M.column)),options:{description:e.GHOST_TEXT_DESCRIPTION,after:{content:M.text,inlineClassName:M.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:n.InjectedTextCursorStops.Left},showIfCollapsed:!0}});return k}),this.additionalLinesWidget=this._register(new o(this.editor,this.languageService.languageIdCodec,(0,D.derived)(w=>{const E=this.uiState.read(w);return E?{lineNumber:E.lineNumber,additionalLines:E.additionalLines,minReservedLineCount:E.additionalReservedLineCount,targetTextModel:E.targetTextModel}:void 0}))),this._register((0,y.toDisposable)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,d.applyObservableDecorations)(this.editor,this.decorations))}ownsViewZone(h){return this.additionalLinesWidget.viewZoneId===h}};e.GhostTextWidget=l,e.GhostTextWidget=l=Ie([ge(2,i.ILanguageService)],l);class o extends y.Disposable{get viewZoneId(){return this._viewZoneId}constructor(h,p,b){super(),this.editor=h,this.languageIdCodec=p,this.lines=b,this._viewZoneId=void 0,this.editorOptionsChanged=(0,D.observableSignalFromEvent)("editorOptionChanged",I.Event.filter(this.editor.onDidChangeConfiguration,w=>w.hasChanged(33)||w.hasChanged(116)||w.hasChanged(98)||w.hasChanged(93)||w.hasChanged(51)||w.hasChanged(50)||w.hasChanged(66))),this._register((0,D.autorun)(w=>{const E=this.lines.read(w);this.editorOptionsChanged.read(w),E?this.updateLines(E.lineNumber,E.additionalLines,E.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(h=>{this._viewZoneId&&(h.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(h,p,b){const w=this.editor.getModel();if(!w)return;const{tabSize:E}=w.getOptions();this.editor.changeViewZones(k=>{this._viewZoneId&&(k.removeZone(this._viewZoneId),this._viewZoneId=void 0);const M=Math.max(p.length,b);if(M>0){const R=document.createElement("div");c(R,E,p,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=k.addZone({afterLineNumber:h,heightInLines:M,domNode:R,afterColumnAffinity:1})}})}}function c(g,h,p,b,w){const E=b.get(33),k=b.get(116),M="none",R=b.get(93),B=b.get(51),T=b.get(50),N=b.get(66),A=new s.StringBuilder(1e4);A.appendString('
    ');for(let x=0,W=p.length;x');const G=S.isBasicASCII(F),Y=S.containsRTL(F),ne=t.LineTokens.createEmpty(F,w);(0,u.renderViewLine)(new u.RenderLineInput(T.isMonospace&&!E,T.canUseHalfwidthRightwardsArrow,F,!1,G,Y,0,ne,U.decorations,h,0,T.spaceWidth,T.middotWidth,T.wsmiddotWidth,k,M,R,B!==_.EditorFontLigatures.OFF,null),A),A.appendString("
    ")}A.appendString(""),(0,m.applyFontInfo)(g,T);const P=A.build(),O=a?a.createHTML(P):P;g.innerHTML=O}const a=(0,L.createTrustedTypesPolicy)("editorGhostText",{createHTML:g=>g})}),define(te[131],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IStandaloneThemeService=void 0,e.IStandaloneThemeService=(0,L.createDecorator)("themeService")}),define(te[156],ie([1,0,8,721]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AudioCue=e.SoundSource=e.Sound=e.IAudioCueService=void 0,e.IAudioCueService=(0,L.createDecorator)("audioCue");class y{static register(_){return new y(_.fileName)}constructor(_){this.fileName=_}}e.Sound=y,y.error=y.register({fileName:"error.mp3"}),y.warning=y.register({fileName:"warning.mp3"}),y.foldedArea=y.register({fileName:"foldedAreas.mp3"}),y.break=y.register({fileName:"break.mp3"}),y.quickFixes=y.register({fileName:"quickFixes.mp3"}),y.taskCompleted=y.register({fileName:"taskCompleted.mp3"}),y.taskFailed=y.register({fileName:"taskFailed.mp3"}),y.terminalBell=y.register({fileName:"terminalBell.mp3"}),y.diffLineInserted=y.register({fileName:"diffLineInserted.mp3"}),y.diffLineDeleted=y.register({fileName:"diffLineDeleted.mp3"}),y.diffLineModified=y.register({fileName:"diffLineModified.mp3"}),y.chatRequestSent=y.register({fileName:"chatRequestSent.mp3"}),y.chatResponsePending=y.register({fileName:"chatResponsePending.mp3"}),y.chatResponseReceived1=y.register({fileName:"chatResponseReceived1.mp3"}),y.chatResponseReceived2=y.register({fileName:"chatResponseReceived2.mp3"}),y.chatResponseReceived3=y.register({fileName:"chatResponseReceived3.mp3"}),y.chatResponseReceived4=y.register({fileName:"chatResponseReceived4.mp3"});class D{constructor(_){this.randomOneOf=_}}e.SoundSource=D;class S{static register(_){const v=new D("randomOneOf"in _.sound?_.sound.randomOneOf:[_.sound]),C=new S(v,_.name,_.settingsKey);return S._audioCues.add(C),C}constructor(_,v,C){this.sound=_,this.name=v,this.settingsKey=C}}e.AudioCue=S,S._audioCues=new Set,S.error=S.register({name:(0,I.localize)(0,null),sound:y.error,settingsKey:"audioCues.lineHasError"}),S.warning=S.register({name:(0,I.localize)(1,null),sound:y.warning,settingsKey:"audioCues.lineHasWarning"}),S.foldedArea=S.register({name:(0,I.localize)(2,null),sound:y.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),S.break=S.register({name:(0,I.localize)(3,null),sound:y.break,settingsKey:"audioCues.lineHasBreakpoint"}),S.inlineSuggestion=S.register({name:(0,I.localize)(4,null),sound:y.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),S.terminalQuickFix=S.register({name:(0,I.localize)(5,null),sound:y.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),S.onDebugBreak=S.register({name:(0,I.localize)(6,null),sound:y.break,settingsKey:"audioCues.onDebugBreak"}),S.noInlayHints=S.register({name:(0,I.localize)(7,null),sound:y.error,settingsKey:"audioCues.noInlayHints"}),S.taskCompleted=S.register({name:(0,I.localize)(8,null),sound:y.taskCompleted,settingsKey:"audioCues.taskCompleted"}),S.taskFailed=S.register({name:(0,I.localize)(9,null),sound:y.taskFailed,settingsKey:"audioCues.taskFailed"}),S.terminalCommandFailed=S.register({name:(0,I.localize)(10,null),sound:y.error,settingsKey:"audioCues.terminalCommandFailed"}),S.terminalBell=S.register({name:(0,I.localize)(11,null),sound:y.terminalBell,settingsKey:"audioCues.terminalBell"}),S.notebookCellCompleted=S.register({name:(0,I.localize)(12,null),sound:y.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),S.notebookCellFailed=S.register({name:(0,I.localize)(13,null),sound:y.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),S.diffLineInserted=S.register({name:(0,I.localize)(14,null),sound:y.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),S.diffLineDeleted=S.register({name:(0,I.localize)(15,null),sound:y.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),S.diffLineModified=S.register({name:(0,I.localize)(16,null),sound:y.diffLineModified,settingsKey:"audioCues.diffLineModified"}),S.chatRequestSent=S.register({name:(0,I.localize)(17,null),sound:y.chatRequestSent,settingsKey:"audioCues.chatRequestSent"}),S.chatResponseReceived=S.register({name:(0,I.localize)(18,null),settingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[y.chatResponseReceived1,y.chatResponseReceived2,y.chatResponseReceived3,y.chatResponseReceived4]}}),S.chatResponsePending=S.register({name:(0,I.localize)(19,null),sound:y.chatResponsePending,settingsKey:"audioCues.chatResponsePending"})}),define(te[102],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IClipboardService=void 0,e.IClipboardService=(0,L.createDecorator)("clipboardService")}),define(te[25],ie([1,0,6,43,2,63,20,8]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsRegistry=e.ICommandService=void 0,e.ICommandService=(0,m.createDecorator)("commandService"),e.CommandsRegistry=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new L.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(_,v){if(!_)throw new Error("invalid command");if(typeof _=="string"){if(!v)throw new Error("invalid command");return this.registerCommand({id:_,handler:v})}if(_.description){const t=[];for(const u of _.description.args)t.push(u.constraint);const r=_.handler;_.handler=function(u,...f){return(0,S.validateConstraints)(f,t),r(u,...f)}}const{id:C}=_;let s=this._commands.get(C);s||(s=new D.LinkedList,this._commands.set(C,s));const i=s.unshift(_),n=(0,y.toDisposable)(()=>{i();const t=this._commands.get(C);t?.isEmpty()&&this._commands.delete(C)});return this._onDidRegisterCommand.fire(C),n}registerCommandAlias(_,v){return e.CommandsRegistry.registerCommand(_,(C,...s)=>C.get(e.ICommandService).executeCommand(v,...s))}getCommand(_){const v=this._commands.get(_);if(!(!v||v.isEmpty()))return I.Iterable.first(v)}getCommands(){const _=new Map;for(const v of this._commands.keys()){const C=this.getCommand(v);C&&_.set(v,C)}return _}},e.CommandsRegistry.registerCommand("noop",()=>{})}),define(te[336],ie([1,0,19,9,2,20,21,50,25,18]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeLensModel=e.CodeLensModel=void 0;class C{constructor(){this.lenses=[],this._disposables=new y.DisposableStore}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(n,t){this._disposables.add(n);for(const r of n.lenses)this.lenses.push({symbol:r,provider:t})}}e.CodeLensModel=C;function s(i,n,t){return be(this,void 0,void 0,function*(){const r=i.ordered(n),u=new Map,f=new C,d=r.map((l,o)=>be(this,void 0,void 0,function*(){u.set(l,o);try{const c=yield Promise.resolve(l.provideCodeLenses(n,t));c&&f.add(c,l)}catch(c){(0,I.onUnexpectedExternalError)(c)}}));return yield Promise.all(d),f.lenses=f.lenses.sort((l,o)=>l.symbol.range.startLineNumbero.symbol.range.startLineNumber?1:u.get(l.provider)u.get(o.provider)?1:l.symbol.range.startColumno.symbol.range.startColumn?1:0),f})}e.getCodeLensModel=s,_.CommandsRegistry.registerCommand("_executeCodeLensProvider",function(i,...n){let[t,r]=n;(0,D.assertType)(S.URI.isUri(t)),(0,D.assertType)(typeof r=="number"||!r);const{codeLensProvider:u}=i.get(v.ILanguageFeaturesService),f=i.get(m.IModelService).getModel(t);if(!f)throw(0,I.illegalArgument)();const d=[],l=new y.DisposableStore;return s(u,f,L.CancellationToken.None).then(o=>{l.add(o);const c=[];for(const a of o.lenses)r==null||a.symbol.command?d.push(a.symbol):r-- >0&&a.provider.resolveCodeLens&&c.push(Promise.resolve(a.provider.resolveCodeLens(f,a.symbol,L.CancellationToken.None)).then(g=>d.push(g||a.symbol)));return Promise.all(c)}).then(()=>d).finally(()=>{setTimeout(()=>l.dispose(),100)})})}),define(te[752],ie([1,0,13,19,9,2,20,21,5,50,25,18]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLinks=e.LinksList=e.Link=void 0;class i{constructor(u,f){this._link=u,this._provider=f}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(u){return be(this,void 0,void 0,function*(){return this._link.url?this._link.url:typeof this._provider.resolveLink=="function"?Promise.resolve(this._provider.resolveLink(this._link,u)).then(f=>(this._link=f||this._link,this._link.url?this.resolve(u):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}e.Link=i;class n{constructor(u){this._disposables=new D.DisposableStore;let f=[];for(const[d,l]of u){const o=d.links.map(c=>new i(c,l));f=n._union(f,o),(0,D.isDisposable)(d)&&this._disposables.add(d)}this.links=f}dispose(){this._disposables.dispose(),this.links.length=0}static _union(u,f){const d=[];let l,o,c,a;for(l=0,c=0,o=u.length,a=f.length;lPromise.resolve(o.provideLinks(u,f)).then(a=>{a&&(d[c]=[a,o])},y.onUnexpectedExternalError));return Promise.all(l).then(()=>{const o=new n((0,L.coalesce)(d));return f.isCancellationRequested?(o.dispose(),new n([])):o})}e.getLinks=t,C.CommandsRegistry.registerCommand("_executeLinkProvider",(r,...u)=>be(void 0,void 0,void 0,function*(){let[f,d]=u;(0,S.assertType)(f instanceof m.URI),typeof d!="number"&&(d=0);const{linkProvider:l}=r.get(s.ILanguageFeaturesService),o=r.get(v.IModelService).getModel(f);if(!o)return[];const c=yield t(l,o,I.CancellationToken.None);if(!c)return[];for(let g=0;g0?h[0]:[]}function u(a,g,h,p,b){return be(this,void 0,void 0,function*(){const w=r(a,g),E=yield Promise.all(w.map(k=>be(this,void 0,void 0,function*(){let M,R=null;try{M=yield k.provideDocumentSemanticTokens(g,k===h?p:null,b)}catch(B){R=B,M=null}return(!M||!s(M)&&!i(M))&&(M=null),new n(k,M,R)})));for(const k of E){if(k.error)throw k.error;if(k.tokens)return k}return E.length>0?E[0]:null})}e.getDocumentSemanticTokens=u;function f(a,g){const h=a.orderedGroups(g);return h.length>0?h[0]:null}class d{constructor(g,h){this.provider=g,this.tokens=h}}function l(a,g){return a.has(g)}e.hasDocumentRangeSemanticTokensProvider=l;function o(a,g){const h=a.orderedGroups(g);return h.length>0?h[0]:[]}function c(a,g,h,p){return be(this,void 0,void 0,function*(){const b=o(a,g),w=yield Promise.all(b.map(E=>be(this,void 0,void 0,function*(){let k;try{k=yield E.provideDocumentRangeSemanticTokens(g,h,p)}catch(M){(0,I.onUnexpectedExternalError)(M),k=null}return(!k||!s(k))&&(k=null),new d(E,k)})));for(const E of w)if(E.tokens)return E;return w.length>0?w[0]:null})}e.getDocumentRangeSemanticTokens=c,S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokensLegend",(a,...g)=>be(void 0,void 0,void 0,function*(){const[h]=g;(0,m.assertType)(h instanceof y.URI);const p=a.get(D.IModelService).getModel(h);if(!p)return;const{documentSemanticTokensProvider:b}=a.get(C.ILanguageFeaturesService),w=f(b,p);return w?w[0].getLegend():a.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokensLegend",h)})),S.CommandsRegistry.registerCommand("_provideDocumentSemanticTokens",(a,...g)=>be(void 0,void 0,void 0,function*(){const[h]=g;(0,m.assertType)(h instanceof y.URI);const p=a.get(D.IModelService).getModel(h);if(!p)return;const{documentSemanticTokensProvider:b}=a.get(C.ILanguageFeaturesService);if(!t(b,p))return a.get(S.ICommandService).executeCommand("_provideDocumentRangeSemanticTokens",h,p.getFullModelRange());const w=yield u(b,p,null,null,L.CancellationToken.None);if(!w)return;const{provider:E,tokens:k}=w;if(!k||!s(k))return;const M=(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:k.data});return k.resultId&&E.releaseDocumentSemanticTokens(k.resultId),M})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokensLegend",(a,...g)=>be(void 0,void 0,void 0,function*(){const[h,p]=g;(0,m.assertType)(h instanceof y.URI);const b=a.get(D.IModelService).getModel(h);if(!b)return;const{documentRangeSemanticTokensProvider:w}=a.get(C.ILanguageFeaturesService),E=o(w,b);if(E.length===0)return;if(E.length===1)return E[0].getLegend();if(!p||!v.Range.isIRange(p))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),E[0].getLegend();const k=yield c(w,b,v.Range.lift(p),L.CancellationToken.None);if(k)return k.provider.getLegend()})),S.CommandsRegistry.registerCommand("_provideDocumentRangeSemanticTokens",(a,...g)=>be(void 0,void 0,void 0,function*(){const[h,p]=g;(0,m.assertType)(h instanceof y.URI),(0,m.assertType)(v.Range.isIRange(p));const b=a.get(D.IModelService).getModel(h);if(!b)return;const{documentRangeSemanticTokensProvider:w}=a.get(C.ILanguageFeaturesService),E=yield c(w,b,v.Range.lift(p),L.CancellationToken.None);if(!(!E||!E.tokens))return(0,_.encodeSemanticTokensDto)({id:0,type:"full",data:E.tokens.data})}))}),define(te[28],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageTagSettingPlainKey=e.getConfigurationValue=e.removeFromValueTree=e.addToValueTree=e.toValuesTree=e.IConfigurationService=void 0,e.IConfigurationService=(0,L.createDecorator)("configurationService");function I(v,C){const s=Object.create(null);for(const i in v)y(s,i,v[i],C);return s}e.toValuesTree=I;function y(v,C,s,i){const n=C.split("."),t=n.pop();let r=v;for(let u=0;u"u"?s:t}e.getConfigurationValue=m;function _(v){return v.replace(/[\[\]]/g,"")}e.getLanguageTagSettingPlainKey=_}),define(te[338],ie([1,0,2,29,154,306,28]),function($,e,L,I,y,D,S){"use strict";var m;Object.defineProperty(e,"__esModule",{value:!0}),e.MonarchTokenizer=void 0;const _=5;class v{static create(l,o){return this._INSTANCE.create(l,o)}constructor(l){this._maxCacheDepth=l,this._entries=Object.create(null)}create(l,o){if(l!==null&&l.depth>=this._maxCacheDepth)return new C(l,o);let c=C.getStackElementId(l);c.length>0&&(c+="|"),c+=o;let a=this._entries[c];return a||(a=new C(l,o),this._entries[c]=a,a)}}v._INSTANCE=new v(_);class C{constructor(l,o){this.parent=l,this.state=o,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(l){let o="";for(;l!==null;)o.length>0&&(o+="|"),o+=l.state,l=l.parent;return o}static _equals(l,o){for(;l!==null&&o!==null;){if(l===o)return!0;if(l.state!==o.state)return!1;l=l.parent,o=o.parent}return l===null&&o===null}equals(l){return C._equals(this,l)}push(l){return v.create(this,l)}pop(){return this.parent}popall(){let l=this;for(;l.parent;)l=l.parent;return l}switchTo(l){return v.create(this.parent,l)}}class s{constructor(l,o){this.languageId=l,this.state=o}equals(l){return this.languageId===l.languageId&&this.state.equals(l.state)}clone(){return this.state.clone()===this.state?this:new s(this.languageId,this.state)}}class i{static create(l,o){return this._INSTANCE.create(l,o)}constructor(l){this._maxCacheDepth=l,this._entries=Object.create(null)}create(l,o){if(o!==null)return new n(l,o);if(l!==null&&l.depth>=this._maxCacheDepth)return new n(l,o);const c=C.getStackElementId(l);let a=this._entries[c];return a||(a=new n(l,null),this._entries[c]=a,a)}}i._INSTANCE=new i(_);class n{constructor(l,o){this.stack=l,this.embeddedLanguageData=o}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:i.create(this.stack,this.embeddedLanguageData)}equals(l){return!(l instanceof n)||!this.stack.equals(l.stack)?!1:this.embeddedLanguageData===null&&l.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||l.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(l.embeddedLanguageData)}}class t{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(l){this._languageId=l}emit(l,o){this._lastTokenType===o&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=o,this._lastTokenLanguage=this._languageId,this._tokens.push(new I.Token(l,o,this._languageId)))}nestedLanguageTokenize(l,o,c,a){const g=c.languageId,h=c.state,p=I.TokenizationRegistry.get(g);if(!p)return this.enterLanguage(g),this.emit(a,""),h;const b=p.tokenize(l,o,h);if(a!==0)for(const w of b.tokens)this._tokens.push(new I.Token(w.offset+a,w.type,w.language));else this._tokens=this._tokens.concat(b.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,b.endState}finalize(l){return new I.TokenizationResult(this._tokens,l)}}class r{constructor(l,o){this._languageService=l,this._theme=o,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(l){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(l)}emit(l,o){const c=this._theme.match(this._currentLanguageId,o)|1024;this._lastTokenMetadata!==c&&(this._lastTokenMetadata=c,this._tokens.push(l),this._tokens.push(c))}static _merge(l,o,c){const a=l!==null?l.length:0,g=o.length,h=c!==null?c.length:0;if(a===0&&g===0&&h===0)return new Uint32Array(0);if(a===0&&g===0)return c;if(g===0&&h===0)return l;const p=new Uint32Array(a+g+h);l!==null&&p.set(l);for(let b=0;b{if(h)return;let b=!1;for(let w=0,E=p.changedLanguages.length;w{p.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))}))}getLoadStatus(){const l=[];for(const o in this._embeddedLanguages){const c=I.TokenizationRegistry.get(o);if(c){if(c instanceof m){const a=c.getLoadStatus();a.loaded===!1&&l.push(a.promise)}continue}I.TokenizationRegistry.isResolved(o)||l.push(I.TokenizationRegistry.getOrCreate(o))}return l.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(l).then(o=>{})}}getInitialState(){const l=v.create(null,this._lexer.start);return i.create(l,null)}tokenize(l,o,c){if(l.length>=this._maxTokenizationLineLength)return(0,y.nullTokenize)(this._languageId,c);const a=new t,g=this._tokenize(l,o,c,a);return a.finalize(g)}tokenizeEncoded(l,o,c){if(l.length>=this._maxTokenizationLineLength)return(0,y.nullTokenizeEncoded)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),c);const a=new r(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),g=this._tokenize(l,o,c,a);return a.finalize(g)}_tokenize(l,o,c,a){return c.embeddedLanguageData?this._nestedTokenize(l,o,c,0,a):this._myTokenize(l,o,c,0,a)}_findLeavingNestedLanguageOffset(l,o){let c=this._lexer.tokenizer[o.stack.state];if(!c&&(c=D.findRules(this._lexer,o.stack.state),!c))throw D.createError(this._lexer,"tokenizer state is not defined: "+o.stack.state);let a=-1,g=!1;for(const h of c){if(!D.isIAction(h.action)||h.action.nextEmbedded!=="@pop")continue;g=!0;let p=h.regex;const b=h.regex.source;if(b.substr(0,4)==="^(?:"&&b.substr(b.length-1,1)===")"){const E=(p.ignoreCase?"i":"")+(p.unicode?"u":"");p=new RegExp(b.substr(4,b.length-5),E)}const w=l.search(p);w===-1||w!==0&&h.matchOnlyAtLineStart||(a===-1||w0&&g.nestedLanguageTokenize(p,!1,c.embeddedLanguageData,a);const b=l.substring(h);return this._myTokenize(b,o,c,a+h,g)}_safeRuleName(l){return l?l.name:"(unknown)"}_myTokenize(l,o,c,a,g){g.enterLanguage(this._languageId);const h=l.length,p=o&&this._lexer.includeLF?l+` +`:l,b=p.length;let w=c.embeddedLanguageData,E=c.stack,k=0,M=null,R=!0;for(;R||k=b)break;R=!1;let Y=this._lexer.tokenizer[A];if(!Y&&(Y=D.findRules(this._lexer,A),!Y))throw D.createError(this._lexer,"tokenizer state is not defined: "+A);const ne=p.substr(k);for(const se of Y)if((k===0||!se.matchOnlyAtLineStart)&&(P=ne.match(se.regex),P)){O=P[0],x=se.action;break}}if(P||(P=[""],O=""),x||(k=this._lexer.maxStack)throw D.createError(this._lexer,"maximum tokenizer stack size reached: ["+E.state+","+E.parent.state+",...]");E=E.push(A)}else if(x.next==="@pop"){if(E.depth<=1)throw D.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(W));E=E.pop()}else if(x.next==="@popall")E=E.popall();else{let Y=D.substituteMatches(this._lexer,x.next,O,P,A);if(Y[0]==="@"&&(Y=Y.substr(1)),D.findRules(this._lexer,Y))E=E.push(Y);else throw D.createError(this._lexer,"trying to set a next state '"+Y+"' that is undefined in rule: "+this._safeRuleName(W))}}x.log&&typeof x.log=="string"&&D.log(this._lexer,this._lexer.languageId+": "+D.substituteMatches(this._lexer,x.log,O,P,A))}if(F===null)throw D.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(W));const G=Y=>{const ne=this._languageService.getLanguageIdByLanguageName(Y)||this._languageService.getLanguageIdByMimeType(Y)||Y,se=this._getNestedEmbeddedLanguageData(ne);if(k0)throw D.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(W));if(P.length!==F.length+1)throw D.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(W));let Y=0;for(let ne=1;net});class C{static colorizeElement(r,u,f,d){d=d||{};const l=d.theme||"vs",o=d.mimeType||f.getAttribute("lang")||f.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();const c=u.getLanguageIdByMimeType(o)||o;r.setTheme(l);const a=f.firstChild?f.firstChild.nodeValue:"";f.className+=" "+l;const g=h=>{var p;const b=(p=v?.createHTML(h))!==null&&p!==void 0?p:h;f.innerHTML=b};return this.colorize(u,a||"",c,d).then(g,h=>console.error(h))}static colorize(r,u,f,d){return be(this,void 0,void 0,function*(){const l=r.languageIdCodec;let o=4;d&&typeof d.tabSize=="number"&&(o=d.tabSize),I.startsWithUTF8BOM(u)&&(u=u.substr(1));const c=I.splitLines(u);if(!r.isRegisteredLanguageId(f))return i(c,o,l);const a=yield y.TokenizationRegistry.getOrCreate(f);return a?s(c,o,a,l):i(c,o,l)})}static colorizeLine(r,u,f,d,l=4){const o=m.ViewLineRenderingData.isBasicASCII(r,u),c=m.ViewLineRenderingData.containsRTL(r,o,f);return(0,S.renderViewLine2)(new S.RenderLineInput(!1,!0,r,!1,o,c,0,d,[],l,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(r,u,f=4){const d=r.getLineContent(u);r.tokenization.forceTokenization(u);const o=r.tokenization.getLineTokens(u).inflate();return this.colorizeLine(d,r.mightContainNonBasicASCII(),r.mightContainRTL(),o,f)}}e.Colorizer=C;function s(t,r,u,f){return new Promise((d,l)=>{const o=()=>{const c=n(t,r,u,f);if(u instanceof _.MonarchTokenizer){const a=u.getLoadStatus();if(a.loaded===!1){a.promise.then(o,l);return}}d(c)};o()})}function i(t,r,u){let f=[];const l=new Uint32Array(2);l[0]=0,l[1]=33587200;for(let o=0,c=t.length;o")}return f.join("")}function n(t,r,u,f){let d=[],l=u.getInitialState();for(let o=0,c=t.length;o"),l=g.endState}return d.join("")}}),define(te[15],ie([1,0,17,10,743,8,724]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.implies=e.IContextKeyService=e.RawContextKey=e.ContextKeyOrExpr=e.ContextKeyAndExpr=e.ContextKeyNotRegexExpr=e.ContextKeyRegexExpr=e.ContextKeySmallerEqualsExpr=e.ContextKeySmallerExpr=e.ContextKeyGreaterEqualsExpr=e.ContextKeyGreaterExpr=e.ContextKeyNotExpr=e.ContextKeyNotEqualsExpr=e.ContextKeyNotInExpr=e.ContextKeyInExpr=e.ContextKeyEqualsExpr=e.ContextKeyDefinedExpr=e.ContextKeyTrueExpr=e.ContextKeyFalseExpr=e.expressionsAreEqualWithConstantSubstitution=e.ContextKeyExpr=e.Parser=void 0;const m=new Map;m.set("false",!1),m.set("true",!0),m.set("isMac",L.isMacintosh),m.set("isLinux",L.isLinux),m.set("isWindows",L.isWindows),m.set("isWeb",L.isWeb),m.set("isMacNative",L.isMacintosh&&!L.isWeb),m.set("isEdge",L.isEdge),m.set("isFirefox",L.isFirefox),m.set("isChrome",L.isChrome),m.set("isSafari",L.isSafari);const _=Object.prototype.hasOwnProperty,v={regexParsingWithErrorRecovery:!0},C=(0,S.localize)(0,null),s=(0,S.localize)(1,null),i=(0,S.localize)(2,null),n=(0,S.localize)(3,null),t=(0,S.localize)(4,null),r=(0,S.localize)(5,null),u=(0,S.localize)(6,null),f=(0,S.localize)(7,null);class d{constructor(q=v){this._config=q,this._scanner=new y.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(q){if(q===""){this._parsingErrors.push({message:C,offset:0,lexeme:"",additionalInfo:s});return}this._tokens=this._scanner.reset(q).scan(),this._current=0,this._parsingErrors=[];try{const H=this._expr();if(!this._isAtEnd()){const V=this._peek(),Z=V.type===17?r:void 0;throw this._parsingErrors.push({message:t,offset:V.offset,lexeme:y.Scanner.getLexeme(V),additionalInfo:Z}),d._parseError}return H}catch(H){if(H!==d._parseError)throw H;return}}_expr(){return this._or()}_or(){const q=[this._and()];for(;this._matchOne(16);){const H=this._and();q.push(H)}return q.length===1?q[0]:l.or(...q)}_and(){const q=[this._term()];for(;this._matchOne(15);){const H=this._term();q.push(H)}return q.length===1?q[0]:l.and(...q)}_term(){if(this._matchOne(2)){const q=this._peek();switch(q.type){case 11:return this._advance(),a.INSTANCE;case 12:return this._advance(),g.INSTANCE;case 0:{this._advance();const H=this._expr();return this._consume(1,n),H?.negate()}case 17:return this._advance(),k.create(q.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",q)}}return this._primary()}_primary(){const q=this._peek();switch(q.type){case 11:return this._advance(),l.true();case 12:return this._advance(),l.false();case 0:{this._advance();const H=this._expr();return this._consume(1,n),H}case 17:{const H=q.lexeme;if(this._advance(),this._matchOne(9)){const Z=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),Z.type!==10)throw this._errExpectedButGot("REGEX",Z);const ee=Z.lexeme,le=ee.lastIndexOf("/"),ue=le===ee.length-1?void 0:this._removeFlagsGY(ee.substring(le+1));let de;try{de=new RegExp(ee.substring(1,le),ue)}catch{throw this._errExpectedButGot("REGEX",Z)}return A.create(H,de)}switch(Z.type){case 10:case 19:{const ee=[Z.lexeme];this._advance();let le=this._peek(),ue=0;for(let K=0;K=0){const ce=ee.slice(ue+1,de),ae=ee[de+1]==="i"?"i":"";try{le=new RegExp(ce,ae)}catch{throw this._errExpectedButGot("REGEX",Z)}}}if(le===null)throw this._errExpectedButGot("REGEX",Z);return A.create(H,le)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,i);const Z=this._value();return l.notIn(H,Z)}switch(this._peek().type){case 3:{this._advance();const Z=this._value();if(this._previous().type===18)return l.equals(H,Z);switch(Z){case"true":return l.has(H);case"false":return l.not(H);default:return l.equals(H,Z)}}case 4:{this._advance();const Z=this._value();if(this._previous().type===18)return l.notEquals(H,Z);switch(Z){case"true":return l.not(H);case"false":return l.has(H);default:return l.notEquals(H,Z)}}case 5:return this._advance(),T.create(H,this._value());case 6:return this._advance(),N.create(H,this._value());case 7:return this._advance(),R.create(H,this._value());case 8:return this._advance(),B.create(H,this._value());case 13:return this._advance(),l.in(H,this._value());default:return l.has(H)}}case 20:throw this._parsingErrors.push({message:u,offset:q.offset,lexeme:"",additionalInfo:f}),d._parseError;default:throw this._errExpectedButGot(`true | false | KEY + | KEY '=~' REGEX + | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const q=this._peek();switch(q.type){case 17:case 18:return this._advance(),q.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(q){return q.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(q){return this._check(q)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(q,H){if(this._check(q))return this._advance();throw this._errExpectedButGot(H,this._peek())}_errExpectedButGot(q,H,V){const Z=(0,S.localize)(8,null,q,y.Scanner.getLexeme(H)),ee=H.offset,le=y.Scanner.getLexeme(H);return this._parsingErrors.push({message:Z,offset:ee,lexeme:le,additionalInfo:V}),d._parseError}_check(q){return this._peek().type===q}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}}e.Parser=d,d._parseError=new Error;class l{static false(){return a.INSTANCE}static true(){return g.INSTANCE}static has(q){return h.create(q)}static equals(q,H){return p.create(q,H)}static notEquals(q,H){return E.create(q,H)}static regex(q,H){return A.create(q,H)}static in(q,H){return b.create(q,H)}static notIn(q,H){return w.create(q,H)}static not(q){return k.create(q)}static and(...q){return x.create(q,null,!0)}static or(...q){return W.create(q,null,!0)}static deserialize(q){return q==null?void 0:this._parser.parse(q)}}e.ContextKeyExpr=l,l._parser=new d({regexParsingWithErrorRecovery:!1});function o(J,q){const H=J?J.substituteConstants():void 0,V=q?q.substituteConstants():void 0;return!H&&!V?!0:!H||!V?!1:H.equals(V)}e.expressionsAreEqualWithConstantSubstitution=o;function c(J,q){return J.cmp(q)}class a{constructor(){this.type=0}cmp(q){return this.type-q.type}equals(q){return q.type===this.type}substituteConstants(){return this}evaluate(q){return!1}serialize(){return"false"}keys(){return[]}negate(){return g.INSTANCE}}e.ContextKeyFalseExpr=a,a.INSTANCE=new a;class g{constructor(){this.type=1}cmp(q){return this.type-q.type}equals(q){return q.type===this.type}substituteConstants(){return this}evaluate(q){return!0}serialize(){return"true"}keys(){return[]}negate(){return a.INSTANCE}}e.ContextKeyTrueExpr=g,g.INSTANCE=new g;class h{static create(q,H=null){const V=m.get(q);return typeof V=="boolean"?V?g.INSTANCE:a.INSTANCE:new h(q,H)}constructor(q,H){this.key=q,this.negated=H,this.type=2}cmp(q){return q.type!==this.type?this.type-q.type:F(this.key,q.key)}equals(q){return q.type===this.type?this.key===q.key:!1}substituteConstants(){const q=m.get(this.key);return typeof q=="boolean"?q?g.INSTANCE:a.INSTANCE:this}evaluate(q){return!!q.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this)),this.negated}}e.ContextKeyDefinedExpr=h;class p{static create(q,H,V=null){if(typeof H=="boolean")return H?h.create(q,V):k.create(q,V);const Z=m.get(q);return typeof Z=="boolean"?H===(Z?"true":"false")?g.INSTANCE:a.INSTANCE:new p(q,H,V)}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=4}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){const q=m.get(this.key);if(typeof q=="boolean"){const H=q?"true":"false";return this.value===H?g.INSTANCE:a.INSTANCE}return this}evaluate(q){return q.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this.value,this)),this.negated}}e.ContextKeyEqualsExpr=p;class b{static create(q,H){return new b(q,H)}constructor(q,H){this.key=q,this.valueKey=H,this.type=10,this.negated=null}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.valueKey,q.key,q.valueKey)}equals(q){return q.type===this.type?this.key===q.key&&this.valueKey===q.valueKey:!1}substituteConstants(){return this}evaluate(q){const H=q.getValue(this.valueKey),V=q.getValue(this.key);return Array.isArray(H)?H.includes(V):typeof V=="string"&&typeof H=="object"&&H!==null?_.call(H,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=w.create(this.key,this.valueKey)),this.negated}}e.ContextKeyInExpr=b;class w{static create(q,H){return new w(q,H)}constructor(q,H){this.key=q,this.valueKey=H,this.type=11,this._negated=b.create(q,H)}cmp(q){return q.type!==this.type?this.type-q.type:this._negated.cmp(q._negated)}equals(q){return q.type===this.type?this._negated.equals(q._negated):!1}substituteConstants(){return this}evaluate(q){return!this._negated.evaluate(q)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}e.ContextKeyNotInExpr=w;class E{static create(q,H,V=null){if(typeof H=="boolean")return H?k.create(q,V):h.create(q,V);const Z=m.get(q);return typeof Z=="boolean"?H===(Z?"true":"false")?a.INSTANCE:g.INSTANCE:new E(q,H,V)}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=5}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){const q=m.get(this.key);if(typeof q=="boolean"){const H=q?"true":"false";return this.value===H?a.INSTANCE:g.INSTANCE}return this}evaluate(q){return q.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}e.ContextKeyNotEqualsExpr=E;class k{static create(q,H=null){const V=m.get(q);return typeof V=="boolean"?V?a.INSTANCE:g.INSTANCE:new k(q,H)}constructor(q,H){this.key=q,this.negated=H,this.type=3}cmp(q){return q.type!==this.type?this.type-q.type:F(this.key,q.key)}equals(q){return q.type===this.type?this.key===q.key:!1}substituteConstants(){const q=m.get(this.key);return typeof q=="boolean"?q?a.INSTANCE:g.INSTANCE:this}evaluate(q){return!q.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this)),this.negated}}e.ContextKeyNotExpr=k;function M(J,q){if(typeof J=="string"){const H=parseFloat(J);isNaN(H)||(J=H)}return typeof J=="string"||typeof J=="number"?q(J):a.INSTANCE}class R{static create(q,H,V=null){return M(H,Z=>new R(q,Z,V))}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=12}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){return this}evaluate(q){return typeof this.value=="string"?!1:parseFloat(q.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterExpr=R;class B{static create(q,H,V=null){return M(H,Z=>new B(q,Z,V))}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=13}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){return this}evaluate(q){return typeof this.value=="string"?!1:parseFloat(q.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}e.ContextKeyGreaterEqualsExpr=B;class T{static create(q,H,V=null){return M(H,Z=>new T(q,Z,V))}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=14}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){return this}evaluate(q){return typeof this.value=="string"?!1:parseFloat(q.getValue(this.key))new N(q,Z,V))}constructor(q,H,V){this.key=q,this.value=H,this.negated=V,this.type=15}cmp(q){return q.type!==this.type?this.type-q.type:G(this.key,this.value,q.key,q.value)}equals(q){return q.type===this.type?this.key===q.key&&this.value===q.value:!1}substituteConstants(){return this}evaluate(q){return typeof this.value=="string"?!1:parseFloat(q.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}e.ContextKeySmallerEqualsExpr=N;class A{static create(q,H){return new A(q,H)}constructor(q,H){this.key=q,this.regexp=H,this.type=7,this.negated=null}cmp(q){if(q.type!==this.type)return this.type-q.type;if(this.keyq.key)return 1;const H=this.regexp?this.regexp.source:"",V=q.regexp?q.regexp.source:"";return HV?1:0}equals(q){if(q.type===this.type){const H=this.regexp?this.regexp.source:"",V=q.regexp?q.regexp.source:"";return this.key===q.key&&H===V}return!1}substituteConstants(){return this}evaluate(q){const H=q.getValue(this.key);return this.regexp?this.regexp.test(H):!1}serialize(){const q=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${q}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this)),this.negated}}e.ContextKeyRegexExpr=A;class P{static create(q){return new P(q)}constructor(q){this._actual=q,this.type=8}cmp(q){return q.type!==this.type?this.type-q.type:this._actual.cmp(q._actual)}equals(q){return q.type===this.type?this._actual.equals(q._actual):!1}substituteConstants(){return this}evaluate(q){return!this._actual.evaluate(q)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}e.ContextKeyNotRegexExpr=P;function O(J){let q=null;for(let H=0,V=J.length;Hq.expr.length)return 1;for(let H=0,V=this.expr.length;H1;){const le=Z[Z.length-1];if(le.type!==9)break;Z.pop();const ue=Z.pop(),de=Z.length===0,ce=W.create(le.expr.map(ae=>x.create([ae,ue],null,V)),null,de);ce&&(Z.push(ce),Z.sort(c))}if(Z.length===1)return Z[0];if(V){for(let le=0;leq.serialize()).join(" && ")}keys(){const q=[];for(const H of this.expr)q.push(...H.keys());return q}negate(){if(!this.negated){const q=[];for(const H of this.expr)q.push(H.negate());this.negated=W.create(q,this,!0)}return this.negated}}e.ContextKeyAndExpr=x;class W{static create(q,H,V){return W._normalizeArr(q,H,V)}constructor(q,H){this.expr=q,this.negated=H,this.type=9}cmp(q){if(q.type!==this.type)return this.type-q.type;if(this.expr.lengthq.expr.length)return 1;for(let H=0,V=this.expr.length;Hq.serialize()).join(" || ")}keys(){const q=[];for(const H of this.expr)q.push(...H.keys());return q}negate(){if(!this.negated){const q=[];for(const H of this.expr)q.push(H.negate());for(;q.length>1;){const H=q.shift(),V=q.shift(),Z=[];for(const ee of se(H))for(const le of se(V))Z.push(x.create([ee,le],null,!1));q.unshift(W.create(Z,null,!1))}this.negated=W.create(q,this,!0)}return this.negated}}e.ContextKeyOrExpr=W;class U extends h{static all(){return U._info.values()}constructor(q,H,V){super(q,null),this._defaultValue=H,typeof V=="object"?U._info.push(Object.assign(Object.assign({},V),{key:q})):V!==!0&&U._info.push({key:q,description:V,type:H!=null?typeof H:void 0})}bindTo(q){return q.createKey(this.key,this._defaultValue)}getValue(q){return q.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(q){return p.create(this.key,q)}}e.RawContextKey=U,U._info=[],e.IContextKeyService=(0,D.createDecorator)("contextKeyService");function F(J,q){return Jq?1:0}function G(J,q,H,V){return JH?1:qV?1:0}function Y(J,q){if(J.type===0||q.type===1)return!0;if(J.type===9)return q.type===9?ne(J.expr,q.expr):!1;if(q.type===9){for(const H of q.expr)if(Y(J,H))return!0;return!1}if(J.type===6){if(q.type===6)return ne(q.expr,J.expr);for(const H of J.expr)if(Y(H,q))return!0;return!1}return J.equals(q)}e.implies=Y;function ne(J,q){let H=0,V=0;for(;H{const n=this.model.read(i),t=n?.state.read(i),r=!!t?.inlineCompletion&&t?.ghostText!==void 0&&!t?.ghostText.isEmpty();this.inlineCompletionVisible.set(r),t?.ghostText&&t?.inlineCompletion&&this.suppressSuggestions.set(t.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,L.autorun)(i=>{const n=this.model.read(i);let t=!1,r=!0;const u=n?.ghostText.read(i);if(n?.selectedSuggestItem&&u&&u.parts.length>0){const{column:f,lines:d}=u.parts[0],l=d[0],o=n.textModel.getLineIndentColumn(u.lineNumber);if(f<=o){let a=(0,I.firstNonWhitespaceIndex)(l);a===-1&&(a=l.length-1),t=a>0;const g=n.textModel.getOptions().tabSize;r=y.CursorColumns.visibleColumnFromColumn(l,a+1,g)be(void 0,void 0,void 0,function*(){const[r,u,f]=t;(0,y.assertType)(D.URI.isUri(r)),(0,y.assertType)(S.Position.isIPosition(u)),(0,y.assertType)(typeof f=="string"||!f);const d=n.get(_.ILanguageFeaturesService),l=yield n.get(v.ITextModelService).createModelReference(r);try{const o=yield i(d.signatureHelpProvider,l.object.textEditorModel,S.Position.lift(u),{triggerKind:m.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:f},L.CancellationToken.None);return o?(setTimeout(()=>o.dispose(),0),o.value):void 0}finally{l.dispose()}}))}),define(te[754],ie([1,0,14,9,6,2,121,29,236]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsModel=void 0;var v;(function(i){i.Default={type:0};class n{constructor(u,f){this.request=u,this.previouslyActiveHints=f,this.type=2}}i.Pending=n;class t{constructor(u){this.hints=u,this.type=1}}i.Active=t})(v||(v={}));class C extends D.Disposable{constructor(n,t,r=C.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new y.Emitter),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=v.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new D.MutableDisposable),this.triggerChars=new S.CharacterSet,this.retriggerChars=new S.CharacterSet,this.triggerId=0,this.editor=n,this.providers=t,this.throttledDelayer=new L.Delayer(r),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(u=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(u=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(u=>this.onCursorChange(u))),this._register(this.editor.onDidChangeModelContent(u=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(u=>this.onDidType(u))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(n){this._state.type===2&&this._state.request.cancel(),this._state=n}cancel(n=!1){this.state=v.Default,this.throttledDelayer.cancel(),n||this._onChangedHints.fire(void 0)}trigger(n,t){const r=this.editor.getModel();if(!r||!this.providers.has(r))return;const u=++this.triggerId;this._pendingTriggers.push(n),this.throttledDelayer.trigger(()=>this.doTrigger(u),t).catch(I.onUnexpectedError)}next(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,r=t%n===n-1,u=this.editor.getOption(85).cycle;if((n<2||r)&&!u){this.cancel();return}this.updateActiveSignature(r&&u?0:t+1)}previous(){if(this.state.type!==1)return;const n=this.state.hints.signatures.length,t=this.state.hints.activeSignature,r=t===0,u=this.editor.getOption(85).cycle;if((n<2||r)&&!u){this.cancel();return}this.updateActiveSignature(r&&u?n-1:t-1)}updateActiveSignature(n){this.state.type===1&&(this.state=new v.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:n})),this._onChangedHints.fire(this.state.hints))}doTrigger(n){return be(this,void 0,void 0,function*(){const t=this.state.type===1||this.state.type===2,r=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const u=this._pendingTriggers.reduce(s);this._pendingTriggers=[];const f={triggerKind:u.triggerKind,triggerCharacter:u.triggerCharacter,isRetrigger:t,activeSignatureHelp:r};if(!this.editor.hasModel())return!1;const d=this.editor.getModel(),l=this.editor.getPosition();this.state=new v.Pending((0,L.createCancelablePromise)(o=>(0,_.provideSignatureHelp)(this.providers,d,l,f,o)),r);try{const o=yield this.state.request;return n!==this.triggerId?(o?.dispose(),!1):!o||!o.value.signatures||o.value.signatures.length===0?(o?.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new v.Active(o.value),this._lastSignatureHelpResult.value=o,this._onChangedHints.fire(this.state.hints),!0)}catch(o){return n===this.triggerId&&(this.state=v.Default),(0,I.onUnexpectedError)(o),!1}})}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();const n=this.editor.getModel();if(n)for(const t of this.providers.ordered(n)){for(const r of t.signatureHelpTriggerCharacters||[])if(r.length){const u=r.charCodeAt(0);this.triggerChars.add(u),this.retriggerChars.add(u)}for(const r of t.signatureHelpRetriggerCharacters||[])r.length&&this.retriggerChars.add(r.charCodeAt(0))}}onDidType(n){if(!this.triggerOnType)return;const t=n.length-1,r=n.charCodeAt(t);(this.triggerChars.has(r)||this.isTriggered&&this.retriggerChars.has(r))&&this.trigger({triggerKind:m.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:n.charAt(t)})}onCursorChange(n){n.source==="mouse"?this.cancel():this.isTriggered&&this.trigger({triggerKind:m.SignatureHelpTriggerKind.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:m.SignatureHelpTriggerKind.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(85).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}e.ParameterHintsModel=C,C.DEFAULT_DELAY=120;function s(i,n){switch(n.triggerKind){case m.SignatureHelpTriggerKind.Invoke:return n;case m.SignatureHelpTriggerKind.ContentChange:return i;case m.SignatureHelpTriggerKind.TriggerCharacter:default:return n}}}),define(te[755],ie([1,0,15]),function($,e,L){"use strict";var I;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestAlternatives=void 0;let y=I=class{constructor(S,m){this._editor=S,this._index=0,this._ckOtherSuggestions=I.OtherSuggestions.bindTo(m)}dispose(){this.reset()}reset(){var S;this._ckOtherSuggestions.reset(),(S=this._listener)===null||S===void 0||S.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:S,index:m},_){if(S.items.length===0){this.reset();return}if(I._moveIndex(!0,S,m)===m){this.reset();return}this._acceptNext=_,this._model=S,this._index=m,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(S,m,_){let v=_;for(let C=m.items.length;C>0&&(v=(v+m.items.length+(S?1:-1))%m.items.length,!(v===_||!m.items[v].completion.additionalTextEdits));C--);return v}next(){this._move(!0)}prev(){this._move(!1)}_move(S){if(this._model)try{this._ignore=!0,this._index=I._moveIndex(S,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};e.SuggestAlternatives=y,y.OtherSuggestions=new L.RawContextKey("hasOtherSuggestions",!1),e.SuggestAlternatives=y=I=Ie([ge(1,L.IContextKeyService)],y)}),define(te[756],ie([1,0,15]),function($,e,L){"use strict";var I;Object.defineProperty(e,"__esModule",{value:!0}),e.WordContextKey=void 0;let y=I=class{constructor(S,m){this._editor=S,this._enabled=!1,this._ckAtEnd=I.AtEnd.bindTo(m),this._configListener=this._editor.onDidChangeConfiguration(_=>_.hasChanged(122)&&this._update()),this._update()}dispose(){var S;this._configListener.dispose(),(S=this._selectionListener)===null||S===void 0||S.dispose(),this._ckAtEnd.reset()}_update(){const S=this._editor.getOption(122)==="on";if(this._enabled!==S)if(this._enabled=S,this._enabled){const m=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const _=this._editor.getModel(),v=this._editor.getSelection(),C=_.getWordAtPosition(v.getStartPosition());if(!C){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(C.endColumn===v.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(m),m()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};e.WordContextKey=y,y.AtEnd=new L.RawContextKey("atEndOfWord",!1),e.WordContextKey=y=I=Ie([ge(1,L.IContextKeyService)],y)}),define(te[88],ie([1,0,15,8]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=e.IAccessibilityService=void 0,e.IAccessibilityService=(0,I.createDecorator)("accessibilityService"),e.CONTEXT_ACCESSIBILITY_MODE_ENABLED=new L.RawContextKey("accessibilityModeEnabled",!1)}),define(te[757],ie([1,0,51,13,6,2,52,17,269,328,480,200,39,143,231,88]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputedEditorOptions=e.EditorConfiguration=void 0;let u=class extends D.Disposable{constructor(h,p,b,w){super(),this._accessibilityService=w,this._onDidChange=this._register(new y.Emitter),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new y.Emitter),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new i.ComputeOptionsMemory,this.isSimpleWidget=h,this._containerObserver=this._register(new _.ElementSizeObserver(b,p.dimension)),this._rawOptions=a(p),this._validatedOptions=c.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(13)&&this._containerObserver.startObserving(),this._register(n.EditorZoom.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(s.TabFocus.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(v.FontMeasurements.onDidChange(()=>this._recomputeOptions())),this._register(L.PixelRatio.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const h=this._computeOptions(),p=c.checkEquals(this.options,h);p!==null&&(this.options=h,this._onDidChangeFast.fire(p),this._onDidChange.fire(p))}_computeOptions(){const h=this._readEnvConfiguration(),p=t.BareFontInfo.createFromValidatedSettings(this._validatedOptions,h.pixelRatio,this.isSimpleWidget),b=this._readFontInfo(p),w={memory:this._computeOptionsMemory,outerWidth:h.outerWidth,outerHeight:h.outerHeight-this._reservedHeight,fontInfo:b,extraEditorClassName:h.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:h.emptySelectionClipboard,pixelRatio:h.pixelRatio,tabFocusMode:s.TabFocus.getTabFocusMode(),accessibilitySupport:h.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return c.computeOptions(this._validatedOptions,w)}_readEnvConfiguration(){return{extraEditorClassName:d(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:L.isWebKit||L.isFirefox,pixelRatio:L.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(h){return v.FontMeasurements.readFontInfo(h)}getRawOptions(){return this._rawOptions}updateOptions(h){const p=a(h);c.applyUpdate(this._rawOptions,p)&&(this._validatedOptions=c.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(h){this._containerObserver.observe(h)}setIsDominatedByLongLines(h){this._isDominatedByLongLines!==h&&(this._isDominatedByLongLines=h,this._recomputeOptions())}setModelLineCount(h){const p=f(h);this._lineNumbersDigitCount!==p&&(this._lineNumbersDigitCount=p,this._recomputeOptions())}setViewLineCount(h){this._viewLineCount!==h&&(this._viewLineCount=h,this._recomputeOptions())}setReservedHeight(h){this._reservedHeight!==h&&(this._reservedHeight=h,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(h){this._glyphMarginDecorationLaneCount!==h&&(this._glyphMarginDecorationLaneCount=h,this._recomputeOptions())}};e.EditorConfiguration=u,e.EditorConfiguration=u=Ie([ge(3,r.IAccessibilityService)],u);function f(g){let h=0;for(;g;)g=Math.floor(g/10),h++;return h||1}function d(){let g="";return!L.isSafari&&!L.isWebkitWebView&&(g+="no-user-select "),L.isSafari&&(g+="no-minimap-shadow ",g+="enable-user-select "),m.isMacintosh&&(g+="mac "),g}class l{constructor(){this._values=[]}_read(h){return this._values[h]}get(h){return this._values[h]}_write(h,p){this._values[h]=p}}class o{constructor(){this._values=[]}_read(h){if(h>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[h]}get(h){return this._read(h)}_write(h,p){this._values[h]=p}}e.ComputedEditorOptions=o;class c{static validateOptions(h){const p=new l;for(const b of i.editorOptionsRegistry){const w=b.name==="_never_"?void 0:h[b.name];p._write(b.id,b.validate(w))}return p}static computeOptions(h,p){const b=new o;for(const w of i.editorOptionsRegistry)b._write(w.id,w.compute(p,b,h._read(w.id)));return b}static _deepEquals(h,p){if(typeof h!="object"||typeof p!="object"||!h||!p)return h===p;if(Array.isArray(h)||Array.isArray(p))return Array.isArray(h)&&Array.isArray(p)?I.equals(h,p):!1;if(Object.keys(h).length!==Object.keys(p).length)return!1;for(const b in h)if(!c._deepEquals(h[b],p[b]))return!1;return!0}static checkEquals(h,p){const b=[];let w=!1;for(const E of i.editorOptionsRegistry){const k=!c._deepEquals(h._read(E.id),p._read(E.id));b[E.id]=k,k&&(w=!0)}return w?new i.ConfigurationChangedEvent(b):null}static applyUpdate(h,p){let b=!1;for(const w of i.editorOptionsRegistry)if(p.hasOwnProperty(w.name)){const E=w.applyUpdate(h[w.name],p[w.name]);h[w.name]=E.newValue,b=b||E.didChange}return b}}function a(g){const h=S.deepClone(g);return(0,C.migrateOptions)(h),h}}),define(te[758],ie([1,0,6,43,2,52,197,21,723,25,28,15]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setContext=e.ContextKeyService=e.AbstractContextKeyService=e.Context=void 0;const i="data-keybinding-context";class n{constructor(E,k){this._id=E,this._parent=k,this._value=Object.create(null),this._value._contextId=E}get value(){return Object.assign({},this._value)}setValue(E,k){return this._value[E]!==k?(this._value[E]=k,!0):!1}removeValue(E){return E in this._value?(delete this._value[E],!0):!1}getValue(E){const k=this._value[E];return typeof k>"u"&&this._parent?this._parent.getValue(E):k}}e.Context=n;class t extends n{constructor(){super(-1,null)}setValue(E,k){return!1}removeValue(E){return!1}getValue(E){}}t.INSTANCE=new t;class r extends n{constructor(E,k,M){super(E,null),this._configurationService=k,this._values=S.TernarySearchTree.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(R=>{if(R.source===7){const B=Array.from(this._values,([T])=>T);this._values.clear(),M.fire(new d(B))}else{const B=[];for(const T of R.affectedKeys){const N=`config.${T}`,A=this._values.findSuperstr(N);A!==void 0&&(B.push(...I.Iterable.map(A,([P])=>P)),this._values.deleteSuperstr(N)),this._values.has(N)&&(B.push(N),this._values.delete(N))}M.fire(new d(B))}})}dispose(){this._listener.dispose()}getValue(E){if(E.indexOf(r._keyPrefix)!==0)return super.getValue(E);if(this._values.has(E))return this._values.get(E);const k=E.substr(r._keyPrefix.length),M=this._configurationService.getValue(k);let R;switch(typeof M){case"number":case"boolean":case"string":R=M;break;default:Array.isArray(M)?R=JSON.stringify(M):R=M}return this._values.set(E,R),R}setValue(E,k){return super.setValue(E,k)}removeValue(E){return super.removeValue(E)}}r._keyPrefix="config.";class u{constructor(E,k,M){this._service=E,this._key=k,this._defaultValue=M,this.reset()}set(E){this._service.setContext(this._key,E)}reset(){typeof this._defaultValue>"u"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class f{constructor(E){this.key=E}affectsSome(E){return E.has(this.key)}allKeysContainedIn(E){return this.affectsSome(E)}}class d{constructor(E){this.keys=E}affectsSome(E){for(const k of this.keys)if(E.has(k))return!0;return!1}allKeysContainedIn(E){return this.keys.every(k=>E.has(k))}}class l{constructor(E){this.events=E}affectsSome(E){for(const k of this.events)if(k.affectsSome(E))return!0;return!1}allKeysContainedIn(E){return this.events.every(k=>k.allKeysContainedIn(E))}}function o(w,E){return w.allKeysContainedIn(new Set(Object.keys(E)))}class c extends y.Disposable{constructor(E){super(),this._onDidChangeContext=this._register(new L.PauseableEmitter({merge:k=>new l(k)})),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=E}createKey(E,k){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new u(this,E,k)}bufferChangeEvents(E){this._onDidChangeContext.pause();try{E()}finally{this._onDidChangeContext.resume()}}createScoped(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new g(this,E)}contextMatchesRules(E){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const k=this.getContextValuesContainer(this._myContextId);return E?E.evaluate(k):!0}getContextKeyValue(E){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(E)}setContext(E,k){if(this._isDisposed)return;const M=this.getContextValuesContainer(this._myContextId);M&&M.setValue(E,k)&&this._onDidChangeContext.fire(new f(E))}removeContext(E){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(E)&&this._onDidChangeContext.fire(new f(E))}getContext(E){return this._isDisposed?t.INSTANCE:this.getContextValuesContainer(h(E))}dispose(){super.dispose(),this._isDisposed=!0}}e.AbstractContextKeyService=c;let a=class extends c{constructor(E){super(0),this._contexts=new Map,this._lastContextId=0;const k=this._register(new r(this._myContextId,E,this._onDidChangeContext));this._contexts.set(this._myContextId,k)}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._contexts.get(E)||t.INSTANCE}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");const k=++this._lastContextId;return this._contexts.set(k,new n(k,this.getContextValuesContainer(E))),k}disposeContext(E){this._isDisposed||this._contexts.delete(E)}};e.ContextKeyService=a,e.ContextKeyService=a=Ie([ge(0,C.IConfigurationService)],a);class g extends c{constructor(E,k){if(super(E.createChildContext()),this._parentChangeListener=this._register(new y.MutableDisposable),this._parent=E,this._updateParentChangeListener(),this._domNode=k,this._domNode.hasAttribute(i)){let M="";this._domNode.classList&&(M=Array.from(this._domNode.classList.values()).join(", ")),console.error(`Element already has context attribute${M?": "+M:""}`)}this._domNode.setAttribute(i,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(E=>{const M=this._parent.getContextValuesContainer(this._myContextId).value;o(E,M)||this._onDidChangeContext.fire(E)})}dispose(){this._isDisposed||(this._parent.disposeContext(this._myContextId),this._domNode.removeAttribute(i),super.dispose())}getContextValuesContainer(E){return this._isDisposed?t.INSTANCE:this._parent.getContextValuesContainer(E)}createChildContext(E=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(E)}disposeContext(E){this._isDisposed||this._parent.disposeContext(E)}}function h(w){for(;w;){if(w.hasAttribute(i)){const E=w.getAttribute(i);return E?parseInt(E,10):NaN}w=w.parentElement}return 0}function p(w,E,k){w.get(s.IContextKeyService).createKey(String(E),b(k))}e.setContext=p;function b(w){return(0,D.cloneAndChange)(w,E=>{if(typeof E=="object"&&E.$mid===1)return m.URI.revive(E).toString();if(E instanceof m.URI)return E.toString()})}v.CommandsRegistry.registerCommand("_setContext",p),v.CommandsRegistry.registerCommand({id:"getContextKeyInfo",handler(){return[...s.RawContextKey.all()].sort((w,E)=>w.key.localeCompare(E.key))},description:{description:(0,_.localize)(0,null),args:[]}}),v.CommandsRegistry.registerCommand("_generateContextKeyInfo",function(){const w=[],E=new Set;for(const k of s.RawContextKey.all())E.has(k.key)||(E.add(k.key),w.push(k));w.sort((k,M)=>k.key.localeCompare(M.key)),console.log(JSON.stringify(w,void 0,2))})}),define(te[237],ie([1,0,17,725,15]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputFocusedContext=e.InputFocusedContextKey=e.ProductQualityContext=e.IsDevelopmentContext=e.IsMobileContext=e.IsIOSContext=e.IsMacNativeContext=e.IsWebContext=e.IsWindowsContext=e.IsLinuxContext=e.IsMacContext=void 0,e.IsMacContext=new y.RawContextKey("isMac",L.isMacintosh,(0,I.localize)(0,null)),e.IsLinuxContext=new y.RawContextKey("isLinux",L.isLinux,(0,I.localize)(1,null)),e.IsWindowsContext=new y.RawContextKey("isWindows",L.isWindows,(0,I.localize)(2,null)),e.IsWebContext=new y.RawContextKey("isWeb",L.isWeb,(0,I.localize)(3,null)),e.IsMacNativeContext=new y.RawContextKey("isMacNative",L.isMacintosh&&!L.isWeb,(0,I.localize)(4,null)),e.IsIOSContext=new y.RawContextKey("isIOS",L.isIOS,(0,I.localize)(5,null)),e.IsMobileContext=new y.RawContextKey("isMobile",L.isMobile,(0,I.localize)(6,null)),e.IsDevelopmentContext=new y.RawContextKey("isDevelopment",!1,!0),e.ProductQualityContext=new y.RawContextKey("productQualityType","",(0,I.localize)(7,null)),e.InputFocusedContextKey="inputFocus",e.InputFocusedContext=new y.RawContextKey(e.InputFocusedContextKey,!1,(0,I.localize)(8,null))}),define(te[58],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IContextMenuService=e.IContextViewService=void 0,e.IContextViewService=(0,L.createDecorator)("contextViewService"),e.IContextMenuService=(0,L.createDecorator)("contextMenuService")}),define(te[157],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IDialogService=void 0,e.IDialogService=(0,L.createDecorator)("dialogService")}),define(te[238],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEnvironmentService=void 0,e.IEnvironmentService=(0,L.createDecorator)("environmentService")}),define(te[186],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ServiceCollection=void 0;class L{constructor(...y){this._entries=new Map;for(const[D,S]of y)this.set(D,S)}set(y,D){const S=this._entries.get(y);return this._entries.set(y,D),S}get(y){return this._entries.get(y)}}e.ServiceCollection=L}),define(te[759],ie([1,0,14,9,2,232,747,8,186,63]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Trace=e.InstantiationService=void 0;const C=!1;class s extends Error{constructor(r){var u;super("cyclic dependency between services"),this.message=(u=r.findCycleSlow())!==null&&u!==void 0?u:`UNABLE to detect cycle, dumping graph: +${r.toString()}`}}class i{constructor(r=new _.ServiceCollection,u=!1,f,d=C){var l;this._services=r,this._strict=u,this._parent=f,this._enableTracing=d,this._activeInstantiations=new Set,this._services.set(m.IInstantiationService,this),this._globalGraph=d?(l=f?._globalGraph)!==null&&l!==void 0?l:new S.Graph(o=>o):void 0}createChild(r){return new i(r,this._strict,this,this._enableTracing)}invokeFunction(r,...u){const f=n.traceInvocation(this._enableTracing,r);let d=!1;try{return r({get:o=>{if(d)throw(0,I.illegalState)("service accessor is only valid during the invocation of its target method");const c=this._getOrCreateServiceInstance(o,f);if(!c)throw new Error(`[invokeFunction] unknown service '${o}'`);return c}},...u)}finally{d=!0,f.stop()}}createInstance(r,...u){let f,d;return r instanceof D.SyncDescriptor?(f=n.traceCreation(this._enableTracing,r.ctor),d=this._createInstance(r.ctor,r.staticArguments.concat(u),f)):(f=n.traceCreation(this._enableTracing,r),d=this._createInstance(r,u,f)),f.stop(),d}_createInstance(r,u=[],f){const d=m._util.getServiceDependencies(r).sort((c,a)=>c.index-a.index),l=[];for(const c of d){const a=this._getOrCreateServiceInstance(c.id,f);a||this._throwIfStrict(`[createInstance] ${r.name} depends on UNKNOWN service ${c.id}.`,!1),l.push(a)}const o=d.length>0?d[0].index:u.length;if(u.length!==o){console.trace(`[createInstance] First service dependency of ${r.name} at position ${o+1} conflicts with ${u.length} static arguments`);const c=o-u.length;c>0?u=u.concat(new Array(c)):u=u.slice(0,o)}return Reflect.construct(r,u.concat(l))}_setServiceInstance(r,u){if(this._services.get(r)instanceof D.SyncDescriptor)this._services.set(r,u);else if(this._parent)this._parent._setServiceInstance(r,u);else throw new Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(r){const u=this._services.get(r);return!u&&this._parent?this._parent._getServiceInstanceOrDescriptor(r):u}_getOrCreateServiceInstance(r,u){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(r));const f=this._getServiceInstanceOrDescriptor(r);return f instanceof D.SyncDescriptor?this._safeCreateAndCacheServiceInstance(r,f,u.branch(r,!0)):(u.branch(r,!1),f)}_safeCreateAndCacheServiceInstance(r,u,f){if(this._activeInstantiations.has(r))throw new Error(`illegal state - RECURSIVELY instantiating service '${r}'`);this._activeInstantiations.add(r);try{return this._createAndCacheServiceInstance(r,u,f)}finally{this._activeInstantiations.delete(r)}}_createAndCacheServiceInstance(r,u,f){var d;const l=new S.Graph(a=>a.id.toString());let o=0;const c=[{id:r,desc:u,_trace:f}];for(;c.length;){const a=c.pop();if(l.lookupOrInsertNode(a),o++>1e3)throw new s(l);for(const g of m._util.getServiceDependencies(a.desc.ctor)){const h=this._getServiceInstanceOrDescriptor(g.id);if(h||this._throwIfStrict(`[createInstance] ${r} depends on ${g.id} which is NOT registered.`,!0),(d=this._globalGraph)===null||d===void 0||d.insertEdge(String(a.id),String(g.id)),h instanceof D.SyncDescriptor){const p={id:g.id,desc:h,_trace:a._trace.branch(g.id,!0)};l.insertEdge(a,p),c.push(p)}}}for(;;){const a=l.roots();if(a.length===0){if(!l.isEmpty())throw new s(l);break}for(const{data:g}of a){if(this._getServiceInstanceOrDescriptor(g.id)instanceof D.SyncDescriptor){const p=this._createServiceInstanceWithOwner(g.id,g.desc.ctor,g.desc.staticArguments,g.desc.supportsDelayedInstantiation,g._trace);this._setServiceInstance(g.id,p)}l.removeNode(g)}}return this._getServiceInstanceOrDescriptor(r)}_createServiceInstanceWithOwner(r,u,f=[],d,l){if(this._services.get(r)instanceof D.SyncDescriptor)return this._createServiceInstance(r,u,f,d,l);if(this._parent)return this._parent._createServiceInstanceWithOwner(r,u,f,d,l);throw new Error(`illegalState - creating UNKNOWN service instance ${u.name}`)}_createServiceInstance(r,u,f=[],d,l){if(d){const o=new i(void 0,this._strict,this,this._enableTracing);o._globalGraphImplicitDependency=String(r);const c=new Map,a=new L.IdleValue(()=>{const g=o._createInstance(u,f,l);for(const[h,p]of c){const b=g[h];if(typeof b=="function")for(const w of p)b.apply(g,w)}return c.clear(),g});return new Proxy(Object.create(null),{get(g,h){if(!a.isInitialized&&typeof h=="string"&&(h.startsWith("onDid")||h.startsWith("onWill"))){let w=c.get(h);return w||(w=new v.LinkedList,c.set(h,w)),(k,M,R)=>{const B=w.push([k,M,R]);return(0,y.toDisposable)(B)}}if(h in g)return g[h];const p=a.value;let b=p[h];return typeof b!="function"||(b=b.bind(p),g[h]=b),b},set(g,h,p){return a.value[h]=p,!0},getPrototypeOf(g){return u.prototype}})}else return this._createInstance(u,f,l)}_throwIfStrict(r,u){if(u&&console.warn(r),this._strict)throw new Error(r)}}e.InstantiationService=i;class n{static traceInvocation(r,u){return r?new n(2,u.name||new Error().stack.split(` +`).slice(3,4).join(` +`)):n._None}static traceCreation(r,u){return r?new n(1,u.name):n._None}constructor(r,u){this.type=r,this.name=u,this._start=Date.now(),this._dep=[]}branch(r,u){const f=new n(3,r.toString());return this._dep.push([r,u,f]),f}stop(){const r=Date.now()-this._start;n._totals+=r;let u=!1;function f(l,o){const c=[],a=new Array(l+1).join(" ");for(const[g,h,p]of o._dep)if(h&&p){u=!0,c.push(`${a}CREATES -> ${g}`);const b=f(l+1,p);b&&c.push(b)}else c.push(`${a}uses -> ${g}`);return c.join(` +`)}const d=[`${this.type===1?"CREATE":"CALL"} ${this.name}`,`${f(1,this)}`,`DONE, took ${r.toFixed(2)}ms (grand total ${n._totals.toFixed(2)}ms)`];(r>2||u)&&n.all.add(d.join(` +`))}}e.Trace=n,n.all=new Set,n._None=new class extends n{constructor(){super(0,null)}stop(){}branch(){return this}},n._totals=0}),define(te[760],ie([1,0,9,216,118]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseResolvedKeybinding=void 0;class D extends y.ResolvedKeybinding{constructor(m,_){if(super(),_.length===0)throw(0,L.illegalArgument)("chords");this._os=m,this._chords=_}getLabel(){return I.UILabelProvider.toLabel(this._os,this._chords,m=>this._getLabel(m))}getAriaLabel(){return I.AriaLabelProvider.toLabel(this._os,this._chords,m=>this._getAriaLabel(m))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:I.ElectronAcceleratorLabelProvider.toLabel(this._os,this._chords,m=>this._getElectronAccelerator(m))}getUserSettingsLabel(){return I.UserSettingsLabelProvider.toLabel(this._os,this._chords,m=>this._getUserSettingsLabel(m))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(m=>this._getChord(m))}_getChord(m){return new y.ResolvedChord(m.ctrlKey,m.shiftKey,m.altKey,m.metaKey,this._getLabel(m),this._getAriaLabel(m))}getDispatchChords(){return this._chords.map(m=>this._getChordDispatch(m))}getSingleModifierDispatchChords(){return this._chords.map(m=>this._getSingleModifierChordDispatch(m))}}e.BaseResolvedKeybinding=D}),define(te[34],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IKeybindingService=void 0,e.IKeybindingService=(0,L.createDecorator)("keybindingService")}),define(te[339],ie([1,0,7,318,41,6,2,130,15,58,8,34,445]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.PostEditWidgetManager=void 0;let n=i=class extends S.Disposable{constructor(u,f,d,l,o,c,a,g,h,p){super(),this.typeId=u,this.editor=f,this.showCommand=l,this.range=o,this.edits=c,this.onSelectNewEdit=a,this._contextMenuService=g,this._keybindingService=p,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=d.bindTo(h),this.visibleContext.set(!0),this._register((0,S.toDisposable)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,S.toDisposable)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(b=>{o.containsPosition(b.position)||this.dispose()})),this._register(D.Event.runAndSubscribe(p.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var u;const f=(u=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||u===void 0?void 0:u.getLabel();this.button.element.title=this.showCommand.label+(f?` (${f})`:"")}create(){this.domNode=L.$(".post-edit-widget"),this.button=this._register(new I.Button(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,()=>this.showSelector()))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const u=L.getDomNodePagePosition(this.button.element);return{x:u.left+u.width,y:u.top+u.height}},getActions:()=>this.edits.allEdits.map((u,f)=>(0,y.toAction)({id:"",label:u.label,checked:f===this.edits.activeEditIndex,run:()=>{if(f!==this.edits.activeEditIndex)return this.onSelectNewEdit(f)}}))})}};n.baseId="editor.widget.postEditWidget",n=i=Ie([ge(7,v.IContextMenuService),ge(8,_.IContextKeyService),ge(9,s.IKeybindingService)],n);let t=class extends S.Disposable{constructor(u,f,d,l,o,c){super(),this._id=u,this._editor=f,this._visibleContext=d,this._showCommand=l,this._instantiationService=o,this._bulkEditService=c,this._currentWidget=this._register(new S.MutableDisposable),this._register(D.Event.any(f.onDidChangeModel,f.onDidChangeModelContent)(()=>this.clear()))}applyEditAndShowIfNeeded(u,f,d,l){var o,c;return be(this,void 0,void 0,function*(){const a=this._editor.getModel();if(!a||!u.length)return;const g=f.allEdits[f.activeEditIndex];if(!g)return;let h=[];(typeof g.insertText=="string"?g.insertText==="":g.insertText.snippet==="")?h=[]:h=u.map(R=>new m.ResourceTextEdit(a.uri,typeof g.insertText=="string"?{range:R,text:g.insertText,insertAsSnippet:!1}:{range:R,text:g.insertText.snippet,insertAsSnippet:!0}));const b={edits:[...h,...(c=(o=g.additionalEdit)===null||o===void 0?void 0:o.edits)!==null&&c!==void 0?c:[]]},w=u[0],E=a.deltaDecorations([],[{range:w,options:{description:"paste-line-suffix",stickiness:0}}]);let k,M;try{k=yield this._bulkEditService.apply(b,{editor:this._editor,token:l}),M=a.getDecorationRange(E[0])}finally{a.deltaDecorations(E,[])}d&&k.isApplied&&f.allEdits.length>1&&this.show(M??w,f,R=>be(this,void 0,void 0,function*(){const B=this._editor.getModel();B&&(yield B.undo(),this.applyEditAndShowIfNeeded(u,{activeEditIndex:R,allEdits:f.allEdits},d,l))}))})}show(u,f,d){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(n,this._id,this._editor,this._visibleContext,this._showCommand,u,f,d))}clear(){this._currentWidget.clear()}tryShowSelector(){var u;(u=this._currentWidget.value)===null||u===void 0||u.showSelector()}};e.PostEditWidgetManager=t,e.PostEditWidgetManager=t=Ie([ge(4,C.IInstantiationService),ge(5,m.IBulkEditService)],t)}),define(te[340],ie([1,0,15]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeybindingResolver=e.NoMatchingKb=void 0,e.NoMatchingKb={kind:0};const I={kind:1};function y(_,v,C){return{kind:2,commandId:_,commandArgs:v,isBubble:C}}class D{constructor(v,C,s){var i;this._log=s,this._defaultKeybindings=v,this._defaultBoundCommands=new Map;for(const n of v){const t=n.command;t&&t.charAt(0)!=="-"&&this._defaultBoundCommands.set(t,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=D.handleRemovals([].concat(v).concat(C));for(let n=0,t=this._keybindings.length;n"u"){this._map.set(v,[C]),this._addToLookupMap(C);return}for(let i=s.length-1;i>=0;i--){const n=s[i];if(n.command===C.command)continue;let t=!0;for(let r=1;r"u"?(C=[v],this._lookupMap.set(v.command,C)):C.push(v)}_removeFromLookupMap(v){if(!v.command)return;const C=this._lookupMap.get(v.command);if(!(typeof C>"u")){for(let s=0,i=C.length;s"u"||s.length===0)return null;if(s.length===1)return s[0];for(let i=s.length-1;i>=0;i--){const n=s[i];if(C.contextMatchesRules(n.when))return n}return s[s.length-1]}resolve(v,C,s){const i=[...C,s];this._log(`| Resolving ${i}`);const n=this._map.get(i[0]);if(n===void 0)return this._log("\\ No keybinding entries."),e.NoMatchingKb;let t=null;if(i.length<2)t=n;else{t=[];for(let u=0,f=n.length;ud.chords.length)continue;let l=!0;for(let o=1;o=0;s--){const i=C[s];if(D._contextMatchesRules(v,i.when))return i}return null}static _contextMatchesRules(v,C){return C?C.evaluate(v):!0}}e.KeybindingResolver=D;function S(_){return _?`${_.serialize()}`:"no when condition"}function m(_){return _.extensionId?_.isBuiltinExtension?`built-in extension ${_.extensionId}`:`user extension ${_.extensionId}`:_.isDefault?"built-in":"user"}}),define(te[761],ie([1,0,14,9,6,262,2,728,340]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractKeybindingService=void 0;const v=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class C extends S.Disposable{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:y.Event.None}get inChordMode(){return this._currentChords.length>0}constructor(n,t,r,u,f){super(),this._contextKeyService=n,this._commandService=t,this._telemetryService=r,this._notificationService=u,this._logService=f,this._onDidUpdateKeybindings=this._register(new y.Emitter),this._currentChords=[],this._currentChordChecker=new L.IntervalTimer,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new L.TimeoutTimer,this._logging=!1}dispose(){super.dispose()}_log(n){this._logging&&this._logService.info(`[KeybindingService]: ${n}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(n,t){const r=this._getResolver().lookupPrimaryKeybinding(n,t||this._contextKeyService);if(r)return r.resolvedKeybinding}dispatchEvent(n,t){return this._dispatch(n,t)}softDispatch(n,t){this._log("/ Soft dispatching keyboard event");const r=this.resolveKeyboardEvent(n);if(r.hasMultipleChords())return console.warn("keyboard event should not be mapped to multiple chords"),_.NoMatchingKb;const[u]=r.getDispatchChords();if(u===null)return this._log("\\ Keyboard event cannot be dispatched"),_.NoMatchingKb;const f=this._contextKeyService.getContext(t),d=this._currentChords.map(({keypress:l})=>l);return this._getResolver().resolve(f,d,u)}_scheduleLeaveChordMode(){const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-n>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(n,t){switch(this._currentChords.push({keypress:n,label:t}),this._currentChords.length){case 0:throw(0,I.illegalState)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(m.localize(0,null,t));break;default:{const r=this._currentChords.map(({label:u})=>u).join(", ");this._currentChordStatusMessage=this._notificationService.status(m.localize(1,null,r))}}this._scheduleLeaveChordMode(),D.IME.enabled&&D.IME.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],D.IME.enable()}_dispatch(n,t){return this._doDispatch(this.resolveKeyboardEvent(n),t,!1)}_singleModifierDispatch(n,t){const r=this.resolveKeyboardEvent(n),[u]=r.getSingleModifierDispatchChords();if(u)return this._ignoreSingleModifiers.has(u)?(this._log(`+ Ignoring single modifier ${u} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=s.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${u}.`),this._currentSingleModifier=u,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300),!1):u===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${u} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(r,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${u}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[f]=r.getChords();return this._ignoreSingleModifiers=new s(f),this._currentSingleModifier!==null&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(n,t,r=!1){var u;let f=!1;if(n.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let d=null,l=null;if(r){const[g]=n.getSingleModifierDispatchChords();d=g,l=g?[g]:[]}else[d]=n.getDispatchChords(),l=this._currentChords.map(({keypress:g})=>g);if(d===null)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),f;const o=this._contextKeyService.getContext(t),c=n.getLabel(),a=this._getResolver().resolve(o,l,d);switch(a.kind){case 0:{if(this._logService.trace("KeybindingService#dispatch",c,"[ No matching keybinding ]"),this.inChordMode){const g=this._currentChords.map(({label:h})=>h).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${g}, ${c}".`),this._notificationService.status(m.localize(2,null,g,c),{hideAfter:10*1e3}),this._leaveChordMode(),f=!0}return f}case 1:return this._logService.trace("KeybindingService#dispatch",c,"[ Several keybindings match - more chords needed ]"),f=!0,this._expectAnotherChord(d,c),this._log(this._currentChords.length===1?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),f;case 2:{if(this._logService.trace("KeybindingService#dispatch",c,`[ Will dispatch command ${a.commandId} ]`),a.commandId===null||a.commandId===""){if(this.inChordMode){const g=this._currentChords.map(({label:h})=>h).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${g}, ${c}".`),this._notificationService.status(m.localize(3,null,g,c),{hideAfter:10*1e3}),this._leaveChordMode(),f=!0}}else this.inChordMode&&this._leaveChordMode(),a.isBubble||(f=!0),this._log(`+ Invoking command ${a.commandId}.`),typeof a.commandArgs>"u"?this._commandService.executeCommand(a.commandId).then(void 0,g=>this._notificationService.warn(g)):this._commandService.executeCommand(a.commandId,a.commandArgs).then(void 0,g=>this._notificationService.warn(g)),v.test(a.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:a.commandId,from:"keybinding",detail:(u=n.getUserSettingsLabel())!==null&&u!==void 0?u:void 0});return f}}}mightProducePrintableCharacter(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30}}e.AbstractKeybindingService=C;class s{constructor(n){this._ctrlKey=n?n.ctrlKey:!1,this._shiftKey=n?n.shiftKey:!1,this._altKey=n?n.altKey:!1,this._metaKey=n?n.metaKey:!1}has(n){switch(n){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}s.EMPTY=new s(null)}),define(te[341],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toEmptyArrayIfContainsNull=e.ResolvedKeybindingItem=void 0;class L{constructor(D,S,m,_,v,C,s){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=D,this.chords=D?I(D.getDispatchChords()):[],D&&this.chords.length===0&&(this.chords=I(D.getSingleModifierDispatchChords())),this.bubble=S?S.charCodeAt(0)===94:!1,this.command=this.bubble?S.substr(1):S,this.commandArgs=m,this.when=_,this.isDefault=v,this.extensionId=C,this.isBuiltinExtension=s}}e.ResolvedKeybindingItem=L;function I(y){const D=[];for(let S=0,m=y.length;Sthis._toKeyCodeChord(s)));return C.length>0?[new S(C,v)]:[]}}e.USLayoutResolvedKeybinding=S}),define(te[158],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILabelService=void 0,e.ILabelService=(0,L.createDecorator)("labelService")}),define(te[132],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ILayoutService=void 0,e.ILayoutService=(0,L.createDecorator)("layoutService")}),define(te[342],ie([1,0,7,6,132,33,47]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScopedLayoutService=void 0;let m=class{get dimension(){return this._dimension||(this._dimension=L.getClientArea(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var C;(C=this._codeEditorService.getFocusedCodeEditor())===null||C===void 0||C.focus()}constructor(C){this._codeEditorService=C,this.onDidLayout=I.Event.None,this.offset={top:0,quickPickTop:0}}};m=Ie([ge(0,D.ICodeEditorService)],m);let _=class extends m{get hasContainer(){return!1}get container(){return this._container}constructor(C,s){super(s),this._container=C}};e.EditorScopedLayoutService=_,e.EditorScopedLayoutService=_=Ie([ge(1,D.ICodeEditorService)],_),(0,S.registerSingleton)(y.ILayoutService,m,1)}),define(te[763],ie([1,0,7,6,2,88,28,15,132]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityService=void 0;let v=class extends y.Disposable{constructor(s,i,n){super(),this._contextKeyService=s,this._layoutService=i,this._configurationService=n,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new I.Emitter,this._onDidChangeReducedMotion=new I.Emitter,this._accessibilityModeEnabledContext=D.CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);const t=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(u=>{u.affectsConfiguration("editor.accessibilitySupport")&&(t(),this._onDidChangeScreenReaderOptimized.fire()),u.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())})),t(),this._register(this.onDidChangeScreenReaderOptimized(()=>t()));const r=window.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=r.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(r)}initReducedMotionListeners(s){if(!this._layoutService.hasContainer)return;this._register((0,L.addDisposableListener)(s,"change",()=>{this._systemMotionReduced=s.matches,this._configMotionReduced==="auto"&&this._onDidChangeReducedMotion.fire()}));const i=()=>{const n=this.isMotionReduced();this._layoutService.container.classList.toggle("reduce-motion",n),this._layoutService.container.classList.toggle("enable-motion",!n)};i(),this._register(this.onDidChangeReducedMotion(()=>i()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const s=this._configurationService.getValue("editor.accessibilitySupport");return s==="on"||s==="auto"&&this._accessibilitySupport===2}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const s=this._configMotionReduced;return s==="on"||s==="auto"&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};e.AccessibilityService=v,e.AccessibilityService=v=Ie([ge(0,m.IContextKeyService),ge(1,_.ILayoutService),ge(2,S.IConfigurationService)],v)}),define(te[764],ie([1,0,311,2,132]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextViewService=void 0;let D=class extends I.Disposable{constructor(m){super(),this.layoutService=m,this.currentViewDisposable=I.Disposable.None,this.container=m.hasContainer?m.container:null,this.contextView=this._register(new L.ContextView(this.container,1)),this.layout(),this._register(m.onDidLayout(()=>this.layout()))}setContainer(m,_){this.contextView.setContainer(m,_||1)}showContextView(m,_,v){_?(_!==this.container||this.shadowRoot!==v)&&(this.container=_,this.setContainer(_,v?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.shadowRoot=v,this.contextView.show(m);const C=(0,I.toDisposable)(()=>{this.currentViewDisposable===C&&this.hideContextView()});return this.currentViewDisposable=C,C}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(m){this.contextView.hide(m)}};e.ContextViewService=D,e.ContextViewService=D=Ie([ge(0,y.ILayoutService)],D)}),define(te[66],ie([1,0,6,2,15,8]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_LOG_LEVEL=e.LogLevelToString=e.MultiplexLogger=e.ConsoleLogger=e.AbstractLogger=e.DEFAULT_LOG_LEVEL=e.LogLevel=e.ILogService=void 0,e.ILogService=(0,D.createDecorator)("logService");var S;(function(s){s[s.Off=0]="Off",s[s.Trace=1]="Trace",s[s.Debug=2]="Debug",s[s.Info=3]="Info",s[s.Warning=4]="Warning",s[s.Error=5]="Error"})(S||(e.LogLevel=S={})),e.DEFAULT_LOG_LEVEL=S.Info;class m extends I.Disposable{constructor(){super(...arguments),this.level=e.DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new L.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(i){this.level!==i&&(this.level=i,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(i){return this.level!==S.Off&&this.level<=i}}e.AbstractLogger=m;class _ extends m{constructor(i=e.DEFAULT_LOG_LEVEL,n=!0){super(),this.useColors=n,this.setLevel(i)}trace(i,...n){this.checkLogLevel(S.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",i,...n):console.log(i,...n))}debug(i,...n){this.checkLogLevel(S.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",i,...n):console.log(i,...n))}info(i,...n){this.checkLogLevel(S.Info)&&(this.useColors?console.log("%c INFO","color: #33f",i,...n):console.log(i,...n))}warn(i,...n){this.checkLogLevel(S.Warning)&&(this.useColors?console.log("%c WARN","color: #993",i,...n):console.log(i,...n))}error(i,...n){this.checkLogLevel(S.Error)&&(this.useColors?console.log("%c ERR","color: #f33",i,...n):console.error(i,...n))}dispose(){}}e.ConsoleLogger=_;class v extends m{constructor(i){super(),this.loggers=i,i.length&&this.setLevel(i[0].getLevel())}setLevel(i){for(const n of this.loggers)n.setLevel(i);super.setLevel(i)}trace(i,...n){for(const t of this.loggers)t.trace(i,...n)}debug(i,...n){for(const t of this.loggers)t.debug(i,...n)}info(i,...n){for(const t of this.loggers)t.info(i,...n)}warn(i,...n){for(const t of this.loggers)t.warn(i,...n)}error(i,...n){for(const t of this.loggers)t.error(i,...n)}dispose(){for(const i of this.loggers)i.dispose()}}e.MultiplexLogger=v;function C(s){switch(s){case S.Trace:return"trace";case S.Debug:return"debug";case S.Info:return"info";case S.Warning:return"warn";case S.Error:return"error";case S.Off:return"off"}}e.LogLevelToString=C,e.CONTEXT_LOG_LEVEL=new y.RawContextKey("logLevel",C(S.Info))}),define(te[765],ie([1,0,51,7,14,2,132,66]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserClipboardService=void 0;let _=class extends D.Disposable{constructor(C,s){super(),this.layoutService=C,this.logService=s,this.mapTextToType=new Map,this.findText="",this.resources=[],(L.isSafari||L.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const C=()=>{const s=new y.DeferredPromise;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=s,navigator.clipboard.write([new ClipboardItem({"text/plain":s.p})]).catch(i=>be(this,void 0,void 0,function*(){(!(i instanceof Error)||i.name!=="NotAllowedError"||!s.isRejected)&&this.logService.error(i)}))};this.layoutService.hasContainer&&(this._register((0,I.addDisposableListener)(this.layoutService.container,"click",C)),this._register((0,I.addDisposableListener)(this.layoutService.container,"keydown",C)))}writeText(C,s){return be(this,void 0,void 0,function*(){if(s){this.mapTextToType.set(s,C);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(C);try{return yield navigator.clipboard.writeText(C)}catch(t){console.error(t)}const i=document.activeElement,n=document.body.appendChild((0,I.$)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=C,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)})}readText(C){return be(this,void 0,void 0,function*(){if(C)return this.mapTextToType.get(C)||"";try{return yield navigator.clipboard.readText()}catch(s){return console.error(s),""}})}readFindText(){return be(this,void 0,void 0,function*(){return this.findText})}writeFindText(C){return be(this,void 0,void 0,function*(){this.findText=C})}writeResources(C){return be(this,void 0,void 0,function*(){this.resources=C})}readResources(){return be(this,void 0,void 0,function*(){return this.resources})}};e.BrowserClipboardService=_,e.BrowserClipboardService=_=Ie([ge(0,S.ILayoutService),ge(1,m.ILogService)],_)}),define(te[766],ie([1,0,2,66]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogService=void 0;class y extends L.Disposable{constructor(S,m=[]){super(),this.logger=new I.MultiplexLogger([S,...m]),this._register(S.onDidChangeLogLevel(_=>this.setLevel(_)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(S){this.logger.setLevel(S)}getLevel(){return this.logger.getLevel()}trace(S,...m){this.logger.trace(S,...m)}debug(S,...m){this.logger.debug(S,...m)}info(S,...m){this.logger.info(S,...m)}warn(S,...m){this.logger.warn(S,...m)}error(S,...m){this.logger.error(S,...m)}}e.LogService=y}),define(te[94],ie([1,0,98,730,8]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerService=e.IMarkerData=e.MarkerSeverity=void 0;var D;(function(m){m[m.Hint=1]="Hint",m[m.Info=2]="Info",m[m.Warning=4]="Warning",m[m.Error=8]="Error"})(D||(e.MarkerSeverity=D={})),function(m){function _(n,t){return t-n}m.compare=_;const v=Object.create(null);v[m.Error]=(0,I.localize)(0,null),v[m.Warning]=(0,I.localize)(1,null),v[m.Info]=(0,I.localize)(2,null);function C(n){return v[n]||""}m.toString=C;function s(n){switch(n){case L.default.Error:return m.Error;case L.default.Warning:return m.Warning;case L.default.Info:return m.Info;case L.default.Ignore:return m.Hint}}m.fromSeverity=s;function i(n){switch(n){case m.Error:return L.default.Error;case m.Warning:return L.default.Warning;case m.Info:return L.default.Info;case m.Hint:return L.default.Ignore}}m.toSeverity=i}(D||(e.MarkerSeverity=D={}));var S;(function(m){const _="";function v(s){return C(s,!0)}m.makeKey=v;function C(s,i){const n=[_];return s.source?n.push(s.source.replace("\xA6","\\\xA6")):n.push(_),s.code?typeof s.code=="string"?n.push(s.code.replace("\xA6","\\\xA6")):n.push(s.code.value.replace("\xA6","\\\xA6")):n.push(_),s.severity!==void 0&&s.severity!==null?n.push(D.toString(s.severity)):n.push(_),s.message&&i?n.push(s.message.replace("\xA6","\\\xA6")):n.push(_),s.startLineNumber!==void 0&&s.startLineNumber!==null?n.push(s.startLineNumber.toString()):n.push(_),s.startColumn!==void 0&&s.startColumn!==null?n.push(s.startColumn.toString()):n.push(_),s.endLineNumber!==void 0&&s.endLineNumber!==null?n.push(s.endLineNumber.toString()):n.push(_),s.endColumn!==void 0&&s.endColumn!==null?n.push(s.endColumn.toString()):n.push(_),n.push(_),n.join("\xA6")}m.makeKeyOptionalMessage=C})(S||(e.IMarkerData=S={})),e.IMarkerService=(0,y.createDecorator)("markerService")}),define(te[767],ie([1,0,13,6,2,63,10,21,5,47,8,94,28]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IMarkerNavigationService=e.MarkerList=e.MarkerCoordinate=void 0;class n{constructor(f,d,l){this.marker=f,this.index=d,this.total=l}}e.MarkerCoordinate=n;let t=class{constructor(f,d,l){this._markerService=d,this._configService=l,this._onDidChange=new I.Emitter,this.onDidChange=this._onDidChange.event,this._dispoables=new y.DisposableStore,this._markers=[],this._nextIdx=-1,m.URI.isUri(f)?this._resourceFilter=g=>g.toString()===f.toString():f&&(this._resourceFilter=f);const o=this._configService.getValue("problems.sortOrder"),c=(g,h)=>{let p=(0,S.compare)(g.resource.toString(),h.resource.toString());return p===0&&(o==="position"?p=_.Range.compareRangesUsingStarts(g,h)||s.MarkerSeverity.compare(g.severity,h.severity):p=s.MarkerSeverity.compare(g.severity,h.severity)||_.Range.compareRangesUsingStarts(g,h)),p},a=()=>{this._markers=this._markerService.read({resource:m.URI.isUri(f)?f:void 0,severities:s.MarkerSeverity.Error|s.MarkerSeverity.Warning|s.MarkerSeverity.Info}),typeof f=="function"&&(this._markers=this._markers.filter(g=>this._resourceFilter(g.resource))),this._markers.sort(c)};a(),this._dispoables.add(d.onMarkerChanged(g=>{(!this._resourceFilter||g.some(h=>this._resourceFilter(h)))&&(a(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(f){return!this._resourceFilter&&!f?!0:!this._resourceFilter||!f?!1:this._resourceFilter(f)}get selected(){const f=this._markers[this._nextIdx];return f&&new n(f,this._nextIdx+1,this._markers.length)}_initIdx(f,d,l){let o=!1,c=this._markers.findIndex(a=>a.resource.toString()===f.uri.toString());c<0&&(c=(0,L.binarySearch)(this._markers,{resource:f.uri},(a,g)=>(0,S.compare)(a.resource.toString(),g.resource.toString())),c<0&&(c=~c));for(let a=c;ao.resource.toString()===f.toString());if(!(l<0)){for(;ld[1])}}class C{constructor(n){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new D.ResourceMap,this._service=n,this._subscription=n.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(n){for(const t of n){const r=this._data.get(t);r&&this._substract(r);const u=this._resourceStats(t);this._add(u),this._data.set(t,u)}}_resourceStats(n){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.unsupportedSchemas.has(n.scheme))return t;for(const{severity:r}of this._service.read({resource:n}))r===_.MarkerSeverity.Error?t.errors+=1:r===_.MarkerSeverity.Warning?t.warnings+=1:r===_.MarkerSeverity.Info?t.infos+=1:t.unknowns+=1;return t}_substract(n){this.errors-=n.errors,this.warnings-=n.warnings,this.infos-=n.infos,this.unknowns-=n.unknowns}_add(n){this.errors+=n.errors,this.warnings+=n.warnings,this.infos+=n.infos,this.unknowns+=n.unknowns}}class s{constructor(){this._onMarkerChanged=new I.DebounceEmitter({delay:0,merge:s._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new v,this._stats=new C(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(n,t){for(const r of t||[])this.changeOne(n,r,[])}changeOne(n,t,r){if((0,L.isFalsyOrEmpty)(r))this._data.delete(t,n)&&this._onMarkerChanged.fire([t]);else{const u=[];for(const f of r){const d=s._toMarker(n,t,f);d&&u.push(d)}this._data.set(t,n,u),this._onMarkerChanged.fire([t])}}static _toMarker(n,t,r){let{code:u,severity:f,message:d,source:l,startLineNumber:o,startColumn:c,endLineNumber:a,endColumn:g,relatedInformation:h,tags:p}=r;if(d)return o=o>0?o:1,c=c>0?c:1,a=a>=o?a:o,g=g>0?g:c,{resource:t,owner:n,code:u,severity:f,message:d,source:l,startLineNumber:o,startColumn:c,endLineNumber:a,endColumn:g,relatedInformation:h,tags:p}}changeAll(n,t){const r=[],u=this._data.values(n);if(u)for(const f of u){const d=y.Iterable.first(f);d&&(r.push(d.resource),this._data.delete(d.resource,n))}if((0,L.isNonEmptyArray)(t)){const f=new D.ResourceMap;for(const{resource:d,marker:l}of t){const o=s._toMarker(n,d,l);if(!o)continue;const c=f.get(d);c?c.push(o):(f.set(d,[o]),r.push(d))}for(const[d,l]of f)this._data.set(d,n,l)}r.length>0&&this._onMarkerChanged.fire(r)}read(n=Object.create(null)){let{owner:t,resource:r,severities:u,take:f}=n;if((!f||f<0)&&(f=-1),t&&r){const d=this._data.get(r,t);if(d){const l=[];for(const o of d)if(s._accept(o,u)){const c=l.push(o);if(f>0&&c===f)break}return l}else return[]}else if(!t&&!r){const d=[];for(const l of this._data.values())for(const o of l)if(s._accept(o,u)){const c=d.push(o);if(f>0&&c===f)return d}return d}else{const d=this._data.values(r??t),l=[];for(const o of d)for(const c of o)if(s._accept(c,u)){const a=l.push(c);if(f>0&&a===f)return l}return l}}static _accept(n,t){return t===void 0||(t&n.severity)===n.severity}static _merge(n){const t=new D.ResourceMap;for(const r of n)for(const u of r)t.set(u,!0);return Array.from(t.keys())}}e.MarkerService=s}),define(te[48],ie([1,0,98,8]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoOpNotification=e.INotificationService=e.Severity=void 0,e.Severity=L.default,e.INotificationService=(0,I.createDecorator)("notificationService");class y{}e.NoOpNotification=y}),define(te[55],ie([1,0,10,21,8]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractSelection=e.matchesSomeScheme=e.matchesScheme=e.IOpenerService=void 0,e.IOpenerService=(0,y.createDecorator)("openerService");function D(_,v){return I.URI.isUri(_)?(0,L.equalsIgnoreCase)(_.scheme,v):(0,L.startsWithIgnoreCase)(_,v+":")}e.matchesScheme=D;function S(_,...v){return v.some(C=>D(_,C))}e.matchesSomeScheme=S;function m(_){let v;const C=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(_.fragment);return C&&(v={startLineNumber:parseInt(C[1]),startColumn:C[2]?parseInt(C[2]):1,endLineNumber:C[4]?parseInt(C[4]):void 0,endColumn:C[4]?C[5]?parseInt(C[5]):1:void 0},_=_.with({fragment:""})),{selection:v,uri:_}}e.extractSelection=m}),define(te[769],ie([1,0,7,19,63,56,221,54,46,21,33,25,744,55]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OpenerService=void 0;let t=class{constructor(d){this._commandService=d}open(d,l){return be(this,void 0,void 0,function*(){if(!(0,n.matchesScheme)(d,m.Schemas.command))return!1;if(!l?.allowCommands||(typeof d=="string"&&(d=v.URI.parse(d)),Array.isArray(l.allowCommands)&&!l.allowCommands.includes(d.path)))return!0;let o=[];try{o=(0,S.parse)(decodeURIComponent(d.query))}catch{try{o=(0,S.parse)(d.query)}catch{}}return Array.isArray(o)||(o=[o]),yield this._commandService.executeCommand(d.path,...o),!0})}};t=Ie([ge(0,s.ICommandService)],t);let r=class{constructor(d){this._editorService=d}open(d,l){return be(this,void 0,void 0,function*(){typeof d=="string"&&(d=v.URI.parse(d));const{selection:o,uri:c}=(0,n.extractSelection)(d);return d=c,d.scheme===m.Schemas.file&&(d=(0,_.normalizePath)(d)),yield this._editorService.openCodeEditor({resource:d,options:Object.assign({selection:o,source:l?.fromUserGesture?i.EditorOpenSource.USER:i.EditorOpenSource.API},l?.editorOptions)},this._editorService.getFocusedCodeEditor(),l?.openToSide),!0})}};r=Ie([ge(0,C.ICodeEditorService)],r);let u=class{constructor(d,l){this._openers=new y.LinkedList,this._validators=new y.LinkedList,this._resolvers=new y.LinkedList,this._resolvedUriTargets=new D.ResourceMap(o=>o.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new y.LinkedList,this._defaultExternalOpener={openExternal:o=>be(this,void 0,void 0,function*(){return(0,n.matchesSomeScheme)(o,m.Schemas.http,m.Schemas.https)?L.windowOpenNoOpener(o):window.location.href=o,!0})},this._openers.push({open:(o,c)=>be(this,void 0,void 0,function*(){return c?.openExternal||(0,n.matchesSomeScheme)(o,m.Schemas.mailto,m.Schemas.http,m.Schemas.https,m.Schemas.vsls)?(yield this._doOpenExternal(o,c),!0):!1})}),this._openers.push(new t(l)),this._openers.push(new r(d))}registerOpener(d){return{dispose:this._openers.unshift(d)}}open(d,l){var o;return be(this,void 0,void 0,function*(){const c=typeof d=="string"?v.URI.parse(d):d,a=(o=this._resolvedUriTargets.get(c))!==null&&o!==void 0?o:d;for(const g of this._validators)if(!(yield g.shouldOpen(a,l)))return!1;for(const g of this._openers)if(yield g.open(d,l))return!0;return!1})}resolveExternalUri(d,l){return be(this,void 0,void 0,function*(){for(const o of this._resolvers)try{const c=yield o.resolveExternalUri(d,l);if(c)return this._resolvedUriTargets.has(c.resolved)||this._resolvedUriTargets.set(c.resolved,d),c}catch{}throw new Error("Could not resolve external URI: "+d.toString())})}_doOpenExternal(d,l){return be(this,void 0,void 0,function*(){const o=typeof d=="string"?v.URI.parse(d):d;let c;try{c=(yield this.resolveExternalUri(o,l)).resolved}catch{c=o}let a;if(typeof d=="string"&&o.toString()===c.toString()?a=d:a=encodeURI(c.toString(!0)),l?.allowContributedOpeners){const g=typeof l?.allowContributedOpeners=="string"?l?.allowContributedOpeners:void 0;for(const h of this._externalOpeners)if(yield h.openExternal(a,{sourceUri:o,preferredOpenerId:g},I.CancellationToken.None))return!0}return this._defaultExternalOpener.openExternal(a,{sourceUri:o},I.CancellationToken.None)})}dispose(){this._validators.clear()}};e.OpenerService=u,e.OpenerService=u=Ie([ge(0,C.ICodeEditorService),ge(1,s.ICommandService)],u)}),define(te[74],ie([1,0,141,56,139,238,47,8,66,55]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageFeatureDebounceService=e.ILanguageFeatureDebounceService=void 0,e.ILanguageFeatureDebounceService=(0,m.createDecorator)("ILanguageFeatureDebounceService");var C;(function(t){const r=new WeakMap;let u=0;function f(d){let l=r.get(d);return l===void 0&&(l=++u,r.set(d,l)),l}t.of=f})(C||(C={}));class s{constructor(r){this._default=r}get(r){return this._default}update(r,u){return this._default}default(){return this._default}}class i{constructor(r,u,f,d,l,o){this._logService=r,this._name=u,this._registry=f,this._default=d,this._min=l,this._max=o,this._cache=new I.LRUCache(50,.7)}_key(r){return r.id+this._registry.all(r).reduce((u,f)=>(0,L.doHash)(C.of(f),u),0)}get(r){const u=this._key(r),f=this._cache.get(u);return f?(0,y.clamp)(f.value,this._min,this._max):this.default()}update(r,u){const f=this._key(r);let d=this._cache.get(f);d||(d=new y.SlidingWindowAverage(6),this._cache.set(f,d));const l=(0,y.clamp)(d.update(u),this._min,this._max);return(0,v.matchesScheme)(r.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${r.uri.toString()} is ${l}ms`),l}_overall(){const r=new y.MovingAverage;for(const[,u]of this._cache)r.update(u.value);return r.value}default(){const r=this._overall()|0||this._default;return(0,y.clamp)(r,this._min,this._max)}}let n=class{constructor(r,u){this._logService=r,this._data=new Map,this._isDev=u.isExtensionDevelopment||!u.isBuilt}for(r,u,f){var d,l,o;const c=(d=f?.min)!==null&&d!==void 0?d:50,a=(l=f?.max)!==null&&l!==void 0?l:Math.pow(c,2),g=(o=f?.key)!==null&&o!==void 0?o:void 0,h=`${C.of(r)},${c}${g?","+g:""}`;let p=this._data.get(h);return p||(this._isDev?p=new i(this._logService,u,r,this._overallAverage()|0||c*1.5,c,a):(this._logService.debug(`[DEBOUNCE: ${u}] is disabled in developed mode`),p=new s(c*1.5)),this._data.set(h,p)),p}_overallAverage(){const r=new y.MovingAverage;for(const u of this._data.values())r.update(u.default());return r.value}};e.LanguageFeatureDebounceService=n,e.LanguageFeatureDebounceService=n=Ie([ge(0,_.ILogService),ge(1,D.IEnvironmentService)],n),(0,S.registerSingleton)(e.ILanguageFeatureDebounceService,n,1)}),define(te[187],ie([1,0,13,19,9,43,56,12,5,74,8,47,50,2,18]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OutlineModelService=e.IOutlineModelService=e.OutlineModel=e.OutlineGroup=e.OutlineElement=e.TreeElement=void 0;class r{remove(){var c;(c=this.parent)===null||c===void 0||c.children.delete(this.id)}static findId(c,a){let g;typeof c=="string"?g=`${a.id}/${c}`:(g=`${a.id}/${c.name}`,a.children.get(g)!==void 0&&(g=`${a.id}/${c.name}_${c.range.startLineNumber}_${c.range.startColumn}`));let h=g;for(let p=0;a.children.get(h)!==void 0;p++)h=`${g}_${p}`;return h}static empty(c){return c.children.size===0}}e.TreeElement=r;class u extends r{constructor(c,a,g){super(),this.id=c,this.parent=a,this.symbol=g,this.children=new Map}}e.OutlineElement=u;class f extends r{constructor(c,a,g,h){super(),this.id=c,this.parent=a,this.label=g,this.order=h,this.children=new Map}}e.OutlineGroup=f;class d extends r{static create(c,a,g){const h=new I.CancellationTokenSource(g),p=new d(a.uri),b=c.ordered(a),w=b.map((k,M)=>{var R;const B=r.findId(`provider_${M}`,p),T=new f(B,p,(R=k.displayName)!==null&&R!==void 0?R:"Unknown Outline Provider",M);return Promise.resolve(k.provideDocumentSymbols(a,h.token)).then(N=>{for(const A of N||[])d._makeOutlineElement(A,T);return T},N=>((0,y.onUnexpectedExternalError)(N),T)).then(N=>{r.empty(N)?N.remove():p._groups.set(B,N)})}),E=c.onDidChange(()=>{const k=c.ordered(a);(0,L.equals)(k,b)||h.cancel()});return Promise.all(w).then(()=>h.token.isCancellationRequested&&!g.isCancellationRequested?d.create(c,a,g):p._compact()).finally(()=>{h.dispose(),E.dispose(),h.dispose()})}static _makeOutlineElement(c,a){const g=r.findId(c,a),h=new u(g,a,c);if(c.children)for(const p of c.children)d._makeOutlineElement(p,h);a.children.set(h.id,h)}constructor(c){super(),this.uri=c,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let c=0;for(const[a,g]of this._groups)g.children.size===0?this._groups.delete(a):c+=1;if(c!==1)this.children=this._groups;else{const a=D.Iterable.first(this._groups.values());for(const[,g]of a.children)g.parent=this,this.children.set(g.id,g)}return this}getTopLevelSymbols(){const c=[];for(const a of this.children.values())a instanceof u?c.push(a.symbol):c.push(...D.Iterable.map(a.children.values(),g=>g.symbol));return c.sort((a,g)=>_.Range.compareRangesUsingStarts(a.range,g.range))}asListOfDocumentSymbols(){const c=this.getTopLevelSymbols(),a=[];return d._flattenDocumentSymbols(a,c,""),a.sort((g,h)=>m.Position.compare(_.Range.getStartPosition(g.range),_.Range.getStartPosition(h.range))||m.Position.compare(_.Range.getEndPosition(h.range),_.Range.getEndPosition(g.range)))}static _flattenDocumentSymbols(c,a,g){for(const h of a)c.push({kind:h.kind,tags:h.tags,name:h.name,detail:h.detail,containerName:h.containerName||g,range:h.range,selectionRange:h.selectionRange,children:void 0}),h.children&&d._flattenDocumentSymbols(c,h.children,h.name)}}e.OutlineModel=d,e.IOutlineModelService=(0,C.createDecorator)("IOutlineModelService");let l=class{constructor(c,a,g){this._languageFeaturesService=c,this._disposables=new n.DisposableStore,this._cache=new S.LRUCache(10,.7),this._debounceInformation=a.for(c.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(g.onModelRemoved(h=>{this._cache.delete(h.id)}))}dispose(){this._disposables.dispose()}getOrCreate(c,a){return be(this,void 0,void 0,function*(){const g=this._languageFeaturesService.documentSymbolProvider,h=g.ordered(c);let p=this._cache.get(c.id);if(!p||p.versionId!==c.getVersionId()||!(0,L.equals)(p.provider,h)){const w=new I.CancellationTokenSource;p={versionId:c.getVersionId(),provider:h,promiseCnt:0,source:w,promise:d.create(g,c,w.token),model:void 0},this._cache.set(c.id,p);const E=Date.now();p.promise.then(k=>{p.model=k,this._debounceInformation.update(c,Date.now()-E)}).catch(k=>{this._cache.delete(c.id)})}if(p.model)return p.model;p.promiseCnt+=1;const b=a.onCancellationRequested(()=>{--p.promiseCnt===0&&(p.source.cancel(),this._cache.delete(c.id))});try{return yield p.promise}finally{b.dispose()}})}};e.OutlineModelService=l,e.OutlineModelService=l=Ie([ge(0,t.ILanguageFeaturesService),ge(1,v.ILanguageFeatureDebounceService),ge(2,i.IModelService)],l),(0,s.registerSingleton)(e.IOutlineModelService,l,1)}),define(te[770],ie([1,0,19,20,21,65,187,25]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),m.CommandsRegistry.registerCommand("_executeDocumentSymbolProvider",function(_,...v){return be(this,void 0,void 0,function*(){const[C]=v;(0,I.assertType)(y.URI.isUri(C));const s=_.get(S.IOutlineModelService),n=yield _.get(D.ITextModelService).createModelReference(C);try{return(yield s.getOrCreate(n.object.textEditorModel,L.CancellationToken.None)).getTopLevelSymbols()}finally{n.dispose()}})})}),define(te[771],ie([1,0,7,79,44,61,6,2,55,477]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Link=void 0;let v=class extends m.Disposable{get enabled(){return this._enabled}set enabled(s){s?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=s}constructor(s,i,n={},t){var r;super(),this._link=i,this._enabled=!0,this.el=(0,L.append)(s,(0,L.$)("a.monaco-link",{tabIndex:(r=i.tabIndex)!==null&&r!==void 0?r:0,href:i.href,title:i.title},i.label)),this.el.setAttribute("role","button");const u=this._register(new I.DomEmitter(this.el,"click")),f=this._register(new I.DomEmitter(this.el,"keypress")),d=S.Event.chain(f.event,c=>c.map(a=>new y.StandardKeyboardEvent(a)).filter(a=>a.keyCode===3)),l=this._register(new I.DomEmitter(this.el,D.EventType.Tap)).event;this._register(D.Gesture.addTarget(this.el));const o=S.Event.any(u.event,d,l);this._register(o(c=>{this.enabled&&(L.EventHelper.stop(c,!0),n?.opener?n.opener(this._link.href):t.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}};e.Link=v,e.Link=v=Ie([ge(3,_.IOpenerService)],v)}),define(te[85],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IEditorProgressService=e.Progress=e.emptyProgressRunner=e.IProgressService=void 0,e.IProgressService=(0,L.createDecorator)("progressService"),e.emptyProgressRunner=Object.freeze({total(){},worked(){},done(){}});class I{constructor(D,S){this.callback=D,this.report=S?.async?this._reportAsync.bind(this):this._reportSync.bind(this)}_reportSync(D){this._value=D,this.callback(this._value)}_reportAsync(D){Promise.resolve(this._lastTask).finally(()=>{this._value=D;const S=this.callback(this._value);this._lastTask=Promise.resolve(S).finally(()=>this._lastTask=void 0)})}}e.Progress=I,I.None=Object.freeze({report(){}}),e.IEditorProgressService=(0,L.createDecorator)("editorProgressService")}),define(te[772],ie([1,0,14,19,2,20]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PickerQuickAccessProvider=e.TriggerAction=void 0;var S;(function(C){C[C.NO_ACTION=0]="NO_ACTION",C[C.CLOSE_PICKER=1]="CLOSE_PICKER",C[C.REFRESH_PICKER=2]="REFRESH_PICKER",C[C.REMOVE_ITEM=3]="REMOVE_ITEM"})(S||(e.TriggerAction=S={}));function m(C){const s=C;return Array.isArray(s.items)}function _(C){const s=C;return!!s.picks&&s.additionalPicks instanceof Promise}class v extends y.Disposable{constructor(s,i){super(),this.prefix=s,this.options=i}provide(s,i,n){var t;const r=new y.DisposableStore;s.canAcceptInBackground=!!(!((t=this.options)===null||t===void 0)&&t.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;let u;const f=r.add(new y.MutableDisposable),d=()=>be(this,void 0,void 0,function*(){const l=f.value=new y.DisposableStore;u?.dispose(!0),s.busy=!1,u=new I.CancellationTokenSource(i);const o=u.token,c=s.value.substr(this.prefix.length).trim(),a=this._getPicks(c,l,o,n),g=(p,b)=>{var w;let E,k;if(m(p)?(E=p.items,k=p.active):E=p,E.length===0){if(b)return!1;(c.length>0||s.hideInput)&&(!((w=this.options)===null||w===void 0)&&w.noResultsPick)&&((0,D.isFunction)(this.options.noResultsPick)?E=[this.options.noResultsPick(c)]:E=[this.options.noResultsPick])}return s.items=E,k&&(s.activeItems=[k]),!0},h=p=>be(this,void 0,void 0,function*(){let b=!1,w=!1;yield Promise.all([(()=>be(this,void 0,void 0,function*(){typeof p.mergeDelay=="number"&&(yield(0,L.timeout)(p.mergeDelay),o.isCancellationRequested)||w||(b=g(p.picks,!0))}))(),(()=>be(this,void 0,void 0,function*(){s.busy=!0;try{const E=yield p.additionalPicks;if(o.isCancellationRequested)return;let k,M;m(p.picks)?(k=p.picks.items,M=p.picks.active):k=p.picks;let R,B;if(m(E)?(R=E.items,B=E.active):R=E,R.length>0||!b){let T;if(!M&&!B){const N=s.activeItems[0];N&&k.indexOf(N)!==-1&&(T=N)}g({items:[...k,...R],active:M||B||T})}}finally{o.isCancellationRequested||(s.busy=!1),w=!0}}))()])});if(a!==null)if(_(a))yield h(a);else if(!(a instanceof Promise))g(a);else{s.busy=!0;try{const p=yield a;if(o.isCancellationRequested)return;_(p)?yield h(p):g(p)}finally{o.isCancellationRequested||(s.busy=!1)}}});return r.add(s.onDidChangeValue(()=>d())),d(),r.add(s.onDidAccept(l=>{const[o]=s.selectedItems;typeof o?.accept=="function"&&(l.inBackground||s.hide(),o.accept(s.keyMods,l))})),r.add(s.onDidTriggerItemButton(({button:l,item:o})=>be(this,void 0,void 0,function*(){var c,a;if(typeof o.trigger=="function"){const g=(a=(c=o.buttons)===null||c===void 0?void 0:c.indexOf(l))!==null&&a!==void 0?a:-1;if(g>=0){const h=o.trigger(g,s.keyMods),p=typeof h=="number"?h:yield h;if(i.isCancellationRequested)return;switch(p){case S.NO_ACTION:break;case S.CLOSE_PICKER:s.hide();break;case S.REFRESH_PICKER:d();break;case S.REMOVE_ITEM:{const b=s.items.indexOf(o);if(b!==-1){const w=s.items.slice(),E=w.splice(b,1),k=s.activeItems.filter(R=>R!==E[0]),M=s.keepScrollPosition;s.keepScrollPosition=!0,s.items=w,k&&(s.activeItems=k),s.keepScrollPosition=M}break}}}}}))),r}}e.PickerQuickAccessProvider=v}),define(te[773],ie([1,0,7,44,60,228,2,98,172]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputBox=void 0;const _=L.$;class v extends S.Disposable{constructor(s,i,n){super(),this.parent=s,this.onKeyDown=r=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.KEY_DOWN,u=>{r(new I.StandardKeyboardEvent(u))}),this.onMouseDown=r=>L.addDisposableListener(this.findInput.inputBox.inputElement,L.EventType.MOUSE_DOWN,u=>{r(new y.StandardMouseEvent(u))}),this.onDidChange=r=>this.findInput.onDidChange(r),this.container=L.append(this.parent,_(".quick-input-box")),this.findInput=this._register(new D.FindInput(this.container,void 0,{label:"",inputBoxStyles:i,toggleStyles:n}));const t=this.findInput.inputBox.inputElement;t.role="combobox",t.ariaHasPopup="menu",t.ariaAutoComplete="list",t.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(s){this.findInput.setValue(s)}select(s=null){this.findInput.inputBox.select(s)}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(s){this.findInput.inputBox.setPlaceHolder(s)}get password(){return this.findInput.inputBox.inputElement.type==="password"}set password(s){this.findInput.inputBox.inputElement.type=s?"password":"text"}set enabled(s){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!s)}set toggles(s){this.findInput.setAdditionalToggles(s)}setAttribute(s,i){this.findInput.inputBox.inputElement.setAttribute(s,i)}showDecoration(s){s===m.default.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:s===m.default.Info?1:s===m.default.Warning?2:3,content:""})}stylesForType(s){return this.findInput.inputBox.stylesForType(s===m.default.Info?1:s===m.default.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}e.QuickInputBox=v}),define(te[343],ie([1,0,7,79,6,44,61,128,163,389,736,172]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderQuickInputDescription=e.getIconClass=void 0;const s={},i=new _.IdGenerator("quick-input-button-icon-");function n(r){if(!r)return;let u;const f=r.dark.toString();return s[f]?u=s[f]:(u=i.nextId(),L.createCSSRule(`.${u}, .hc-light .${u}`,`background-image: ${L.asCSSUrl(r.light||r.dark)}`),L.createCSSRule(`.vs-dark .${u}, .hc-black .${u}`,`background-image: ${L.asCSSUrl(r.dark)}`),s[f]=u),u}e.getIconClass=n;function t(r,u,f){L.reset(u);const d=(0,v.parseLinkedText)(r);let l=0;for(const o of d.nodes)if(typeof o=="string")u.append(...(0,m.renderLabelWithIcons)(o));else{let c=o.title;!c&&o.href.startsWith("command:")?c=(0,C.localize)(0,null,o.href.substring(8)):c||(c=o.href);const a=L.$("a",{href:o.href,title:c,tabIndex:l++},o.label);a.style.textDecoration="underline";const g=E=>{L.isEventLike(E)&&L.EventHelper.stop(E,!0),f.callback(o.href)},h=f.disposables.add(new I.DomEmitter(a,L.EventType.CLICK)).event,p=f.disposables.add(new I.DomEmitter(a,L.EventType.KEY_DOWN)).event,b=y.Event.chain(p,E=>E.filter(k=>{const M=new D.StandardKeyboardEvent(k);return M.equals(10)||M.equals(3)}));f.disposables.add(S.Gesture.addTarget(a));const w=f.disposables.add(new I.DomEmitter(a,S.EventType.Tap)).event;y.Event.any(h,w,b)(g,null,f.disposables),u.appendChild(a)}}e.renderQuickInputDescription=t}),define(te[67],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IQuickInputService=e.quickPickItemScorerAccessor=e.QuickPickItemScorerAccessor=e.ItemActivation=e.QuickInputHideReason=e.NO_KEY_MODS=void 0,e.NO_KEY_MODS={ctrlCmd:!1,alt:!1};var I;(function(S){S[S.Blur=1]="Blur",S[S.Gesture=2]="Gesture",S[S.Other=3]="Other"})(I||(e.QuickInputHideReason=I={}));var y;(function(S){S[S.NONE=0]="NONE",S[S.FIRST=1]="FIRST",S[S.SECOND=2]="SECOND",S[S.LAST=3]="LAST"})(y||(e.ItemActivation=y={}));class D{constructor(m){this.options=m}}e.QuickPickItemScorerAccessor=D,e.quickPickItemScorerAccessor=new D,e.IQuickInputService=(0,L.createDecorator)("quickInputService")}),define(te[35],ie([1,0,96,20]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Registry=void 0;class y{constructor(){this.data=new Map}add(S,m){L.ok(I.isString(S)),L.ok(I.isObject(m)),L.ok(!this.data.has(S),"There is already an extension with this id"),this.data.set(S,m)}as(S){return this.data.get(S)||null}}e.Registry=new y}),define(te[344],ie([1,0,35]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LocalSelectionTransfer=e.Extensions=e.CodeDataTransfers=void 0,e.CodeDataTransfers={EDITORS:"CodeEditors",FILES:"CodeFiles"};class I{}e.Extensions={DragAndDropContribution:"workbench.contributions.dragAndDrop"},L.Registry.add(e.Extensions.DragAndDropContribution,new I);class y{constructor(){}static getInstance(){return y.INSTANCE}hasData(S){return S&&S===this.proto}getData(S){if(this.hasData(S))return this.data}}e.LocalSelectionTransfer=y,y.INSTANCE=new y}),define(te[345],ie([1,0,196,170,107,21,344]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toExternalVSDataTransfer=e.toVSDataTransfer=void 0;function m(s){const i=new I.VSDataTransfer;for(const n of s.items){const t=n.type;if(n.kind==="string"){const r=new Promise(u=>n.getAsString(u));i.append(t,(0,I.createStringDataTransferItem)(r))}else if(n.kind==="file"){const r=n.getAsFile();r&&i.append(t,_(r))}}return i}e.toVSDataTransfer=m;function _(s){const i=s.path?D.URI.parse(s.path):void 0;return(0,I.createFileDataTransferItem)(s.name,i,()=>be(this,void 0,void 0,function*(){return new Uint8Array(yield s.arrayBuffer())}))}const v=Object.freeze([S.CodeDataTransfers.EDITORS,S.CodeDataTransfers.FILES,L.DataTransfers.RESOURCES,L.DataTransfers.INTERNAL_URI_LIST]);function C(s,i=!1){const n=m(s),t=n.get(L.DataTransfers.INTERNAL_URI_LIST);if(t)n.replace(y.Mimes.uriList,t);else if(i||!n.has(y.Mimes.uriList)){const r=[];for(const u of s.items){const f=u.getAsFile();if(f){const d=f.path;try{d?r.push(D.URI.file(d).toString()):r.push(D.URI.parse(f.name,!0).toString())}catch{}}}r.length&&n.replace(y.Mimes.uriList,(0,I.createStringDataTransferItem)(I.UriList.create(r)))}for(const r of v)n.delete(r);return n}e.toExternalVSDataTransfer=C}),define(te[239],ie([1,0,6,35]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=void 0,e.Extensions={JSONContribution:"base.contributions.json"};function y(m){return m.length>0&&m.charAt(m.length-1)==="#"?m.substring(0,m.length-1):m}class D{constructor(){this._onDidChangeSchema=new L.Emitter,this.schemasById={}}registerSchema(_,v){this.schemasById[y(_)]=v,this._onDidChangeSchema.fire(_)}notifySchemaChanged(_){this._onDidChangeSchema.fire(_)}}const S=new D;I.Registry.add(e.Extensions.JSONContribution,S)}),define(te[95],ie([1,0,13,6,20,722,28,239,35]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateProperty=e.getDefaultValue=e.overrideIdentifiersFromKey=e.OVERRIDE_PROPERTY_REGEX=e.OVERRIDE_PROPERTY_PATTERN=e.resourceLanguageSettingsSchemaId=e.resourceSettings=e.windowSettings=e.machineOverridableSettings=e.machineSettings=e.applicationSettings=e.allSettings=e.Extensions=void 0,e.Extensions={Configuration:"base.contributions.configuration"},e.allSettings={properties:{},patternProperties:{}},e.applicationSettings={properties:{},patternProperties:{}},e.machineSettings={properties:{},patternProperties:{}},e.machineOverridableSettings={properties:{},patternProperties:{}},e.windowSettings={properties:{},patternProperties:{}},e.resourceSettings={properties:{},patternProperties:{}},e.resourceLanguageSettingsSchemaId="vscode://schemas/settings/resourceLanguage";const v=_.Registry.as(m.Extensions.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new I.Emitter,this._onDidUpdateConfiguration=new I.Emitter,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:D.localize(0,null),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},v.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(d,l=!0){this.registerConfigurations([d],l)}registerConfigurations(d,l=!0){const o=new Set;this.doRegisterConfigurations(d,l,o),v.registerSchema(e.resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:o})}registerDefaultConfigurations(d){const l=new Set;this.doRegisterDefaultConfigurations(d,l),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:l,defaultsOverrides:!0})}doRegisterDefaultConfigurations(d,l){var o;const c=[];for(const{overrides:a,source:g}of d)for(const h in a)if(l.add(h),e.OVERRIDE_PROPERTY_REGEX.test(h)){const p=this.configurationDefaultsOverrides.get(h),b=(o=p?.valuesSources)!==null&&o!==void 0?o:new Map;if(g)for(const M of Object.keys(a[h]))b.set(M,g);const w=Object.assign(Object.assign({},p?.value||{}),a[h]);this.configurationDefaultsOverrides.set(h,{source:g,value:w,valuesSources:b});const E=(0,S.getLanguageTagSettingPlainKey)(h),k={type:"object",default:w,description:D.localize(1,null,E),$ref:e.resourceLanguageSettingsSchemaId,defaultDefaultValue:w,source:y.isString(g)?void 0:g,defaultValueSource:g};c.push(...n(h)),this.configurationProperties[h]=k,this.defaultLanguageConfigurationOverridesNode.properties[h]=k}else{this.configurationDefaultsOverrides.set(h,{value:a[h],source:g});const p=this.configurationProperties[h];p&&(this.updatePropertyDefaultValue(h,p),this.updateSchema(h,p))}this.doRegisterOverrideIdentifiers(c)}registerOverrideIdentifiers(d){this.doRegisterOverrideIdentifiers(d),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(d){for(const l of d)this.overrideIdentifiers.add(l);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(d,l,o){d.forEach(c=>{this.validateAndRegisterProperties(c,l,c.extensionInfo,c.restrictedProperties,void 0,o),this.configurationContributors.push(c),this.registerJSONConfiguration(c)})}validateAndRegisterProperties(d,l=!0,o,c,a=3,g){var h;a=y.isUndefinedOrNull(d.scope)?a:d.scope;const p=d.properties;if(p)for(const w in p){const E=p[w];if(l&&u(w,E)){delete p[w];continue}if(E.source=o,E.defaultDefaultValue=p[w].default,this.updatePropertyDefaultValue(w,E),e.OVERRIDE_PROPERTY_REGEX.test(w)?E.scope=void 0:(E.scope=y.isUndefinedOrNull(E.scope)?a:E.scope,E.restricted=y.isUndefinedOrNull(E.restricted)?!!c?.includes(w):E.restricted),p[w].hasOwnProperty("included")&&!p[w].included){this.excludedConfigurationProperties[w]=p[w],delete p[w];continue}else this.configurationProperties[w]=p[w],!((h=p[w].policy)===null||h===void 0)&&h.name&&this.policyConfigurations.set(p[w].policy.name,w);!p[w].deprecationMessage&&p[w].markdownDeprecationMessage&&(p[w].deprecationMessage=p[w].markdownDeprecationMessage),g.add(w)}const b=d.allOf;if(b)for(const w of b)this.validateAndRegisterProperties(w,l,o,c,a,g)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(d){const l=o=>{const c=o.properties;if(c)for(const g in c)this.updateSchema(g,c[g]);const a=o.allOf;a?.forEach(l)};l(d)}updateSchema(d,l){switch(e.allSettings.properties[d]=l,l.scope){case 1:e.applicationSettings.properties[d]=l;break;case 2:e.machineSettings.properties[d]=l;break;case 6:e.machineOverridableSettings.properties[d]=l;break;case 3:e.windowSettings.properties[d]=l;break;case 4:e.resourceSettings.properties[d]=l;break;case 5:e.resourceSettings.properties[d]=l,this.resourceLanguageSettingsSchema.properties[d]=l;break}}updateOverridePropertyPatternKey(){for(const d of this.overrideIdentifiers.values()){const l=`[${d}]`,o={type:"object",description:D.localize(2,null),errorMessage:D.localize(3,null),$ref:e.resourceLanguageSettingsSchemaId};this.updatePropertyDefaultValue(l,o),e.allSettings.properties[l]=o,e.applicationSettings.properties[l]=o,e.machineSettings.properties[l]=o,e.machineOverridableSettings.properties[l]=o,e.windowSettings.properties[l]=o,e.resourceSettings.properties[l]=o}}registerOverridePropertyPatternKey(){const d={type:"object",description:D.localize(4,null),errorMessage:D.localize(5,null),$ref:e.resourceLanguageSettingsSchemaId};e.allSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,e.applicationSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,e.machineSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,e.machineOverridableSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,e.windowSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,e.resourceSettings.patternProperties[e.OVERRIDE_PROPERTY_PATTERN]=d,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(d,l){const o=this.configurationDefaultsOverrides.get(d);let c=o?.value,a=o?.source;y.isUndefined(c)&&(c=l.defaultDefaultValue,a=void 0),y.isUndefined(c)&&(c=t(l.type)),l.default=c,l.defaultValueSource=a}}const s="\\[([^\\]]+)\\]",i=new RegExp(s,"g");e.OVERRIDE_PROPERTY_PATTERN=`^(${s})+$`,e.OVERRIDE_PROPERTY_REGEX=new RegExp(e.OVERRIDE_PROPERTY_PATTERN);function n(f){const d=[];if(e.OVERRIDE_PROPERTY_REGEX.test(f)){let l=i.exec(f);for(;l?.length;){const o=l[1].trim();o&&d.push(o),l=i.exec(f)}}return(0,L.distinct)(d)}e.overrideIdentifiersFromKey=n;function t(f){switch(Array.isArray(f)?f[0]:f){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}e.getDefaultValue=t;const r=new C;_.Registry.add(e.Extensions.Configuration,r);function u(f,d){var l,o,c,a;return f.trim()?e.OVERRIDE_PROPERTY_REGEX.test(f)?D.localize(7,null,f):r.getConfigurationProperties()[f]!==void 0?D.localize(8,null,f):!((l=d.policy)===null||l===void 0)&&l.name&&r.getPolicyConfigurations().get((o=d.policy)===null||o===void 0?void 0:o.name)!==void 0?D.localize(9,null,f,(c=d.policy)===null||c===void 0?void 0:c.name,r.getPolicyConfigurations().get((a=d.policy)===null||a===void 0?void 0:a.name)):null:D.localize(6,null)}e.validateProperty=u}),define(te[240],ie([1,0,271,39,173,618,95,35]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDiffEditorConfigurationKey=e.isEditorConfigurationKey=e.editorConfigurationBaseNode=void 0,e.editorConfigurationBaseNode=Object.freeze({id:"editor",order:5,type:"object",title:D.localize(0,null),scope:5});const _=Object.assign(Object.assign({},e.editorConfigurationBaseNode),{properties:{"editor.tabSize":{type:"number",default:y.EDITOR_MODEL_DEFAULTS.tabSize,minimum:1,markdownDescription:D.localize(1,null,"`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:D.localize(2,null)},"editor.insertSpaces":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.insertSpaces,markdownDescription:D.localize(3,null,"`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.detectIndentation,markdownDescription:D.localize(4,null,"`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,description:D.localize(5,null)},"editor.largeFileOptimizations":{type:"boolean",default:y.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,description:D.localize(6,null)},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:D.localize(7,null)},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[D.localize(8,null),D.localize(9,null),D.localize(10,null)],description:D.localize(11,null)},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[D.localize(12,null),D.localize(13,null),D.localize(14,null)],default:"configuredByTheme",description:D.localize(15,null)},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:D.localize(16,null)},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:D.localize(17,null)},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:D.localize(18,null),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:D.localize(19,null)},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:D.localize(20,null),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:D.localize(21,null),items:{type:"array",items:[{type:"string",description:D.localize(22,null)},{type:"string",description:D.localize(23,null)}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:D.localize(24,null),items:{type:"array",items:[{type:"string",description:D.localize(25,null)},{type:"string",description:D.localize(26,null)}]}},"diffEditor.maxComputationTime":{type:"number",default:L.diffEditorDefaultOptions.maxComputationTime,description:D.localize(27,null)},"diffEditor.maxFileSize":{type:"number",default:L.diffEditorDefaultOptions.maxFileSize,description:D.localize(28,null)},"diffEditor.renderSideBySide":{type:"boolean",default:L.diffEditorDefaultOptions.renderSideBySide,description:D.localize(29,null)},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:L.diffEditorDefaultOptions.renderSideBySideInlineBreakpoint,description:D.localize(30,null)},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:L.diffEditorDefaultOptions.useInlineViewWhenSpaceIsLimited,description:D.localize(31,null)},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:L.diffEditorDefaultOptions.renderMarginRevertIcon,description:D.localize(32,null)},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:L.diffEditorDefaultOptions.ignoreTrimWhitespace,description:D.localize(33,null)},"diffEditor.renderIndicators":{type:"boolean",default:L.diffEditorDefaultOptions.renderIndicators,description:D.localize(34,null)},"diffEditor.codeLens":{type:"boolean",default:L.diffEditorDefaultOptions.diffCodeLens,description:D.localize(35,null)},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:L.diffEditorDefaultOptions.diffWordWrap,markdownEnumDescriptions:[D.localize(36,null),D.localize(37,null),D.localize(38,null,"`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:L.diffEditorDefaultOptions.diffAlgorithm,markdownEnumDescriptions:[D.localize(39,null),D.localize(40,null)],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:L.diffEditorDefaultOptions.hideUnchangedRegions.enabled,markdownDescription:D.localize(41,null)},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.revealLineCount,markdownDescription:D.localize(42,null),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.minimumLineCount,markdownDescription:D.localize(43,null),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:L.diffEditorDefaultOptions.hideUnchangedRegions.contextLineCount,markdownDescription:D.localize(44,null),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showMoves,markdownDescription:D.localize(45,null)},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:L.diffEditorDefaultOptions.experimental.showEmptyDecorations,description:D.localize(46,null)}}});function v(r){return typeof r.type<"u"||typeof r.anyOf<"u"}for(const r of I.editorOptionsRegistry){const u=r.schema;if(typeof u<"u")if(v(u))_.properties[`editor.${r.name}`]=u;else for(const f in u)Object.hasOwnProperty.call(u,f)&&(_.properties[f]=u[f])}let C=null;function s(){return C===null&&(C=Object.create(null),Object.keys(_.properties).forEach(r=>{C[r]=!0})),C}function i(r){return s()[`editor.${r}`]||!1}e.isEditorConfigurationKey=i;function n(r){return s()[`diffEditor.${r}`]||!1}e.isDiffEditorConfigurationKey=n,m.Registry.as(S.Extensions.Configuration).registerConfiguration(_)}),define(te[75],ie([1,0,628,6,35,107,95]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLAINTEXT_EXTENSION=e.PLAINTEXT_LANGUAGE_ID=e.ModesRegistry=e.EditorModesRegistry=e.Extensions=void 0,e.Extensions={ModesRegistry:"editor.modesRegistry"};class m{constructor(){this._onDidChangeLanguages=new I.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(v){return this._languages.push(v),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let C=0,s=this._languages.length;C{const x=O.change.keys.some(U=>P.has(U)),W=O.change.overrides.filter(([U,F])=>F.some(G=>P.has(G))).map(([U])=>U);if(x)this.configurations.clear(),this.onDidChangeEmitter.fire(new l(void 0));else for(const U of W)this.languageService.isRegisteredLanguageId(U)&&(this.configurations.delete(U),this.onDidChangeEmitter.fire(new l(U)))})),this._register(this._registry.onDidChange(O=>{this.configurations.delete(O.languageId),this.onDidChangeEmitter.fire(new l(O.languageId))}))}register(N,A,P){return this._registry.register(N,A,P)}getLanguageConfiguration(N){let A=this.configurations.get(N);return A||(A=c(N,this._registry,this.configurationService,this.languageService),this.configurations.set(N,A)),A}};e.LanguageConfigurationService=o,e.LanguageConfigurationService=o=Ie([ge(0,t.IConfigurationService),ge(1,r.ILanguageService)],o);function c(T,N,A,P){let O=N.getLanguageConfiguration(T);if(!O){if(!P.isRegisteredLanguageId(T))return new B(T,{});O=new B(T,{})}const x=g(O.languageId,A),W=E([O.underlyingConfig,x]);return new B(O.languageId,W)}const a={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function g(T,N){const A=N.getValue(a.brackets,{overrideIdentifier:T}),P=N.getValue(a.colorizedBracketPairs,{overrideIdentifier:T});return{brackets:h(A),colorizedBracketPairs:h(P)}}function h(T){if(Array.isArray(T))return T.map(N=>{if(!(!Array.isArray(N)||N.length!==2))return[N[0],N[1]]}).filter(N=>!!N)}function p(T,N,A){const P=T.getLineContent(N);let O=y.getLeadingWhitespace(P);return O.length>A-1&&(O=O.substring(0,A-1)),O}e.getIndentationAtPosition=p;function b(T,N,A){T.tokenization.forceTokenization(N);const P=T.tokenization.getLineTokens(N),O=typeof A>"u"?T.getLineMaxColumn(N)-1:A-1;return(0,m.createScopedLineTokens)(P,O)}e.getScopedLineTokens=b;class w{constructor(N){this.languageId=N,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(N,A){const P=new k(N,A,++this._order);return this._entries.push(P),this._resolved=null,(0,I.toDisposable)(()=>{for(let O=0;ON.configuration)))}}function E(T){let N={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const A of T)N={comments:A.comments||N.comments,brackets:A.brackets||N.brackets,wordPattern:A.wordPattern||N.wordPattern,indentationRules:A.indentationRules||N.indentationRules,onEnterRules:A.onEnterRules||N.onEnterRules,autoClosingPairs:A.autoClosingPairs||N.autoClosingPairs,surroundingPairs:A.surroundingPairs||N.surroundingPairs,autoCloseBefore:A.autoCloseBefore||N.autoCloseBefore,folding:A.folding||N.folding,colorizedBracketPairs:A.colorizedBracketPairs||N.colorizedBracketPairs,__electricCharacterSupport:A.__electricCharacterSupport||N.__electricCharacterSupport};return N}class k{constructor(N,A,P){this.configuration=N,this.priority=A,this.order=P}static cmp(N,A){return N.priority===A.priority?N.order-A.order:N.priority-A.priority}}class M{constructor(N){this.languageId=N}}e.LanguageConfigurationChangeEvent=M;class R extends I.Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._register(this.register(f.PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(N,A,P=0){let O=this._entries.get(N);O||(O=new w(N),this._entries.set(N,O));const x=O.register(A,P);return this._onDidChange.fire(new M(N)),(0,I.toDisposable)(()=>{x.dispose(),this._onDidChange.fire(new M(N))})}getLanguageConfiguration(N){const A=this._entries.get(N);return A?.getResolvedConfiguration()||null}}e.LanguageConfigurationRegistry=R;class B{constructor(N,A){this.languageId=N,this.underlyingConfig=A,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new s.OnEnterSupport(this.underlyingConfig):null,this.comments=B._handleComments(this.underlyingConfig),this.characterPair=new _.CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||D.DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new C.IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new d.LanguageBracketsConfiguration(N,this.underlyingConfig)}getWordDefinition(){return(0,D.ensureValidWordDefinition)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new i.RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new v.BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(N,A,P,O){return this._onEnterSupport?this._onEnterSupport.onEnter(N,A,P,O):null}getAutoClosingPairs(){return new S.AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(N){return this.characterPair.getAutoCloseBeforeSet(N)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(N){const A=N.comments;if(!A)return null;const P={};if(A.lineComment&&(P.lineCommentToken=A.lineComment),A.blockComment){const[O,x]=A.blockComment;P.blockCommentStartToken=O,P.blockCommentEndToken=x}return P}}e.ResolvedLanguageConfiguration=B,(0,u.registerSingleton)(e.ILanguageConfigurationService,o,1)}),define(te[241],ie([1,0,14,2,322,590,5,32,627,50,185,13,66,59,9,18,203,108,64]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorWorkerClient=e.EditorWorkerHost=e.EditorWorkerService=void 0;const l=60*1e3,o=5*60*1e3;function c(k,M){const R=k.getModel(M);return!(!R||R.isTooLargeForSyncing())}let a=class extends I.Disposable{constructor(M,R,B,T,N){super(),this._modelService=M,this._workerManager=this._register(new h(this._modelService,T)),this._logService=B,this._register(N.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(A,P)=>c(this._modelService,A.uri)?this._workerManager.withWorker().then(O=>O.computeLinks(A.uri)).then(O=>O&&{links:O}):Promise.resolve({links:[]})})),this._register(N.completionProvider.register("*",new g(this._workerManager,R,this._modelService,T)))}dispose(){super.dispose()}canComputeUnicodeHighlights(M){return c(this._modelService,M)}computedUnicodeHighlights(M,R,B){return this._workerManager.withWorker().then(T=>T.computedUnicodeHighlights(M,R,B))}computeDiff(M,R,B,T){return be(this,void 0,void 0,function*(){const N=yield this._workerManager.withWorker().then(O=>O.computeDiff(M,R,B,T));if(!N)return null;return{identical:N.identical,quitEarly:N.quitEarly,changes:P(N.changes),moves:N.moves.map(O=>new u.MovedText(new f.LineRangeMapping(new d.LineRange(O[0],O[1]),new d.LineRange(O[2],O[3])),P(O[4])))};function P(O){return O.map(x=>{var W;return new f.DetailedLineRangeMapping(new d.LineRange(x[0],x[1]),new d.LineRange(x[2],x[3]),(W=x[4])===null||W===void 0?void 0:W.map(U=>new f.RangeMapping(new S.Range(U[0],U[1],U[2],U[3]),new S.Range(U[4],U[5],U[6],U[7]))))})}})}computeMoreMinimalEdits(M,R,B=!1){if((0,s.isNonEmptyArray)(R)){if(!c(this._modelService,M))return Promise.resolve(R);const T=n.StopWatch.create(),N=this._workerManager.withWorker().then(A=>A.computeMoreMinimalEdits(M,R,B));return N.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",M.toString(!0),T.elapsed())),Promise.race([N,(0,L.timeout)(1e3).then(()=>R)])}else return Promise.resolve(void 0)}canNavigateValueSet(M){return c(this._modelService,M)}navigateValueSet(M,R,B){return this._workerManager.withWorker().then(T=>T.navigateValueSet(M,R,B))}canComputeWordRanges(M){return c(this._modelService,M)}computeWordRanges(M,R){return this._workerManager.withWorker().then(B=>B.computeWordRanges(M,R))}};e.EditorWorkerService=a,e.EditorWorkerService=a=Ie([ge(0,v.IModelService),ge(1,C.ITextResourceConfigurationService),ge(2,i.ILogService),ge(3,m.ILanguageConfigurationService),ge(4,r.ILanguageFeaturesService)],a);class g{constructor(M,R,B,T){this.languageConfigurationService=T,this._debugDisplayName="wordbasedCompletions",this._workerManager=M,this._configurationService=R,this._modelService=B}provideCompletionItems(M,R){return be(this,void 0,void 0,function*(){const B=this._configurationService.getValue(M.uri,R,"editor");if(!B.wordBasedSuggestions)return;const T=[];if(B.wordBasedSuggestionsMode==="currentDocument")c(this._modelService,M.uri)&&T.push(M.uri);else for(const U of this._modelService.getModels())c(this._modelService,U.uri)&&(U===M?T.unshift(U.uri):(B.wordBasedSuggestionsMode==="allDocuments"||U.getLanguageId()===M.getLanguageId())&&T.push(U.uri));if(T.length===0)return;const N=this.languageConfigurationService.getLanguageConfiguration(M.getLanguageId()).getWordDefinition(),A=M.getWordAtPosition(R),P=A?new S.Range(R.lineNumber,A.startColumn,R.lineNumber,A.endColumn):S.Range.fromPositions(R),O=P.setEndPosition(R.lineNumber,R.column),W=yield(yield this._workerManager.withWorker()).textualSuggest(T,A?.word,N);if(W)return{duration:W.duration,suggestions:W.words.map(U=>({kind:18,label:U,insertText:U,range:{insert:O,replace:P}}))}})}}class h extends I.Disposable{constructor(M,R){super(),this.languageConfigurationService=R,this._modelService=M,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new L.IntervalTimer).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(o/2)),this._register(this._modelService.onModelRemoved(T=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>o&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new E(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class p extends I.Disposable{constructor(M,R,B){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=M,this._modelService=R,!B){const T=new L.IntervalTimer;T.cancelAndSet(()=>this._checkStopModelSync(),Math.round(l/2)),this._register(T)}}dispose(){for(const M in this._syncedModels)(0,I.dispose)(this._syncedModels[M]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(M,R){for(const B of M){const T=B.toString();this._syncedModels[T]||this._beginModelSync(B,R),this._syncedModels[T]&&(this._syncedModelsLastUsedTime[T]=new Date().getTime())}}_checkStopModelSync(){const M=new Date().getTime(),R=[];for(const B in this._syncedModelsLastUsedTime)M-this._syncedModelsLastUsedTime[B]>l&&R.push(B);for(const B of R)this._stopModelSync(B)}_beginModelSync(M,R){const B=this._modelService.getModel(M);if(!B||!R&&B.isTooLargeForSyncing())return;const T=M.toString();this._proxy.acceptNewModel({url:B.uri.toString(),lines:B.getLinesContent(),EOL:B.getEOL(),versionId:B.getVersionId()});const N=new I.DisposableStore;N.add(B.onDidChangeContent(A=>{this._proxy.acceptModelChanged(T.toString(),A)})),N.add(B.onWillDispose(()=>{this._stopModelSync(T)})),N.add((0,I.toDisposable)(()=>{this._proxy.acceptRemovedModel(T)})),this._syncedModels[T]=N}_stopModelSync(M){const R=this._syncedModels[M];delete this._syncedModels[M],delete this._syncedModelsLastUsedTime[M],(0,I.dispose)(R)}}class b{constructor(M){this._instance=M,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class w{constructor(M){this._workerClient=M}fhr(M,R){return this._workerClient.fhr(M,R)}}e.EditorWorkerHost=w;class E extends I.Disposable{constructor(M,R,B,T){super(),this.languageConfigurationService=T,this._disposed=!1,this._modelService=M,this._keepIdleModels=R,this._workerFactory=new D.DefaultWorkerFactory(B),this._worker=null,this._modelManager=null}fhr(M,R){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new y.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new w(this)))}catch(M){(0,y.logOnceWebWorkerWarning)(M),this._worker=new b(new _.EditorSimpleWorker(new w(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,M=>((0,y.logOnceWebWorkerWarning)(M),this._worker=new b(new _.EditorSimpleWorker(new w(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(M){return this._modelManager||(this._modelManager=this._register(new p(M,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(M,R=!1){return be(this,void 0,void 0,function*(){return this._disposed?Promise.reject((0,t.canceled)()):this._getProxy().then(B=>(this._getOrCreateModelManager(B).ensureSyncedResources(M,R),B))})}computedUnicodeHighlights(M,R,B){return this._withSyncedResources([M]).then(T=>T.computeUnicodeHighlights(M.toString(),R,B))}computeDiff(M,R,B,T){return this._withSyncedResources([M,R],!0).then(N=>N.computeDiff(M.toString(),R.toString(),B,T))}computeMoreMinimalEdits(M,R,B){return this._withSyncedResources([M]).then(T=>T.computeMoreMinimalEdits(M.toString(),R,B))}computeLinks(M){return this._withSyncedResources([M]).then(R=>R.computeLinks(M.toString()))}computeDefaultDocumentColors(M){return this._withSyncedResources([M]).then(R=>R.computeDefaultDocumentColors(M.toString()))}textualSuggest(M,R,B){return be(this,void 0,void 0,function*(){const T=yield this._withSyncedResources(M),N=B.source,A=B.flags;return T.textualSuggest(M.map(P=>P.toString()),R,N,A)})}computeWordRanges(M,R){return this._withSyncedResources([M]).then(B=>{const T=this._modelService.getModel(M);if(!T)return Promise.resolve(null);const N=this.languageConfigurationService.getLanguageConfiguration(T.getLanguageId()).getWordDefinition(),A=N.source,P=N.flags;return B.computeWordRanges(M.toString(),R,A,P)})}navigateValueSet(M,R,B){return this._withSyncedResources([M]).then(T=>{const N=this._modelService.getModel(M);if(!N)return null;const A=this.languageConfigurationService.getLanguageConfiguration(N.getLanguageId()).getWordDefinition(),P=A.source,O=A.flags;return T.navigateValueSet(M.toString(),R,B,P,O)})}dispose(){super.dispose(),this._disposed=!0}}e.EditorWorkerClient=E}),define(te[774],ie([1,0,52,241]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWebWorker=void 0;function y(S,m,_){return new D(S,m,_)}e.createWebWorker=y;class D extends I.EditorWorkerClient{constructor(m,_,v){super(m,v.keepIdleModels||!1,v.label,_),this._foreignModuleId=v.moduleId,this._foreignModuleCreateData=v.createData||null,this._foreignModuleHost=v.host||null,this._foreignProxy=null}fhr(m,_){if(!this._foreignModuleHost||typeof this._foreignModuleHost[m]!="function")return Promise.reject(new Error("Missing method "+m+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[m].apply(this._foreignModuleHost,_))}catch(v){return Promise.reject(v)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(m=>{const _=this._foreignModuleHost?(0,L.getAllMethodNames)(this._foreignModuleHost):[];return m.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,_).then(v=>{this._foreignModuleCreateData=null;const C=(n,t)=>m.fmr(n,t),s=(n,t)=>function(){const r=Array.prototype.slice.call(arguments,0);return t(n,r)},i={};for(const n of v)i[n]=s(n,C);return i})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(m){return this._withSyncedResources(m).then(_=>this.getProxy())}}}),define(te[242],ie([1,0,10,109,125,32]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndentMetadata=e.getIndentActionForType=e.getIndentForEnter=e.getGoodIndentForLine=e.getInheritIndentForLine=void 0;function S(i,n,t){const r=i.tokenization.getLanguageIdAtPosition(n,0);if(n>1){let u,f=-1;for(u=n-1;u>=1;u--){if(i.tokenization.getLanguageIdAtPosition(u,0)!==r)return f;const d=i.getLineContent(u);if(t.shouldIgnore(d)||/^\s+$/.test(d)||d===""){f=u;continue}return u}}return-1}function m(i,n,t,r=!0,u){if(i<4)return null;const f=u.getLanguageConfiguration(n.tokenization.getLanguageId()).indentRulesSupport;if(!f)return null;if(t<=1)return{indentation:"",action:null};for(let o=t-1;o>0&&n.getLineContent(o)==="";o--)if(o===1)return{indentation:"",action:null};const d=S(n,t,f);if(d<0)return null;if(d<1)return{indentation:"",action:null};const l=n.getLineContent(d);if(f.shouldIncrease(l)||f.shouldIndentNextLine(l))return{indentation:L.getLeadingWhitespace(l),action:I.IndentAction.Indent,line:d};if(f.shouldDecrease(l))return{indentation:L.getLeadingWhitespace(l),action:null,line:d};{if(d===1)return{indentation:L.getLeadingWhitespace(n.getLineContent(d)),action:null,line:d};const o=d-1,c=f.getIndentMetadata(n.getLineContent(o));if(!(c&3)&&c&4){let a=0;for(let g=o-1;g>0;g--)if(!f.shouldIndentNextLine(n.getLineContent(g))){a=g;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(a+1)),action:null,line:a+1}}if(r)return{indentation:L.getLeadingWhitespace(n.getLineContent(d)),action:null,line:d};for(let a=d;a>0;a--){const g=n.getLineContent(a);if(f.shouldIncrease(g))return{indentation:L.getLeadingWhitespace(g),action:I.IndentAction.Indent,line:a};if(f.shouldIndentNextLine(g)){let h=0;for(let p=a-1;p>0;p--)if(!f.shouldIndentNextLine(n.getLineContent(a))){h=p;break}return{indentation:L.getLeadingWhitespace(n.getLineContent(h+1)),action:null,line:h+1}}else if(f.shouldDecrease(g))return{indentation:L.getLeadingWhitespace(g),action:null,line:a}}return{indentation:L.getLeadingWhitespace(n.getLineContent(1)),action:null,line:1}}}e.getInheritIndentForLine=m;function _(i,n,t,r,u,f){if(i<4)return null;const d=f.getLanguageConfiguration(t);if(!d)return null;const l=f.getLanguageConfiguration(t).indentRulesSupport;if(!l)return null;const o=m(i,n,r,void 0,f),c=n.getLineContent(r);if(o){const a=o.line;if(a!==void 0){let g=!0;for(let h=a;h0&&f.getLanguageId(0)!==d.languageId?(o=!0,c=l.substr(0,t.startColumn-1-d.firstCharOffset)):c=f.getLineContent().substring(0,t.startColumn-1);let a;t.isEmpty()?a=l.substr(t.startColumn-1-d.firstCharOffset):a=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-d.firstCharOffset);const g=u.getLanguageConfiguration(d.languageId).indentRulesSupport;if(!g)return null;const h=c,p=L.getLeadingWhitespace(c),b={tokenization:{getLineTokens:M=>n.tokenization.getLineTokens(M),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(M,R)=>n.getLanguageIdAtPosition(M,R)},getLineContent:M=>M===t.startLineNumber?h:n.getLineContent(M)},w=L.getLeadingWhitespace(f.getLineContent()),E=m(i,b,t.startLineNumber+1,void 0,u);if(!E){const M=o?w:p;return{beforeEnter:M,afterEnter:M}}let k=o?w:E.indentation;return E.action===I.IndentAction.Indent&&(k=r.shiftIndent(k)),g.shouldDecrease(a)&&(k=r.unshiftIndent(k)),{beforeEnter:o?w:p,afterEnter:k}}e.getIndentForEnter=v;function C(i,n,t,r,u,f){if(i<4)return null;const d=(0,D.getScopedLineTokens)(n,t.startLineNumber,t.startColumn);if(d.firstCharOffset)return null;const l=f.getLanguageConfiguration(d.languageId).indentRulesSupport;if(!l)return null;const o=d.getLineContent(),c=o.substr(0,t.startColumn-1-d.firstCharOffset);let a;if(t.isEmpty()?a=o.substr(t.startColumn-1-d.firstCharOffset):a=(0,D.getScopedLineTokens)(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-d.firstCharOffset),!l.shouldDecrease(c+a)&&l.shouldDecrease(c+r+a)){const g=m(i,n,t.startLineNumber,!1,f);if(!g)return null;let h=g.indentation;return g.action!==I.IndentAction.Indent&&(h=u.unshiftIndent(h)),h}return null}e.getIndentActionForType=C;function s(i,n,t){const r=t.getLanguageConfiguration(i.getLanguageId()).indentRulesSupport;return!r||n<1||n>i.getLineCount()?null:r.getIndentMetadata(i.getLineContent(n))}e.getIndentMetadata=s}),define(te[243],ie([1,0,109,32]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnterAction=void 0;function y(D,S,m,_){const v=(0,I.getScopedLineTokens)(S,m.startLineNumber,m.startColumn),C=_.getLanguageConfiguration(v.languageId);if(!C)return null;const s=v.getLineContent(),i=s.substr(0,m.startColumn-1-v.firstCharOffset);let n;m.isEmpty()?n=s.substr(m.startColumn-1-v.firstCharOffset):n=(0,I.getScopedLineTokens)(S,m.endLineNumber,m.endColumn).getLineContent().substr(m.endColumn-1-v.firstCharOffset);let t="";if(m.startLineNumber>1&&v.firstCharOffset===0){const o=(0,I.getScopedLineTokens)(S,m.startLineNumber-1);o.languageId===v.languageId&&(t=o.getLineContent())}const r=C.onEnter(D,t,i,n);if(!r)return null;const u=r.indentAction;let f=r.appendText;const d=r.removeText||0;f?u===L.IndentAction.Indent&&(f=" "+f):u===L.IndentAction.Indent||u===L.IndentAction.IndentOutdent?f=" ":f="";let l=(0,I.getIndentationAtPosition)(S,m.startLineNumber,m.startColumn);return d&&(l=l.substring(0,l.length-d)),{indentAction:u,appendText:f,removeText:d,indentation:l}}e.getEnterAction=y}),define(te[244],ie([1,0,10,80,5,24,243,32]),function($,e,L,I,y,D,S,m){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ShiftCommand=void 0;const v=Object.create(null);function C(i,n){if(n<=0)return"";v[i]||(v[i]=["",i]);const t=v[i];for(let r=t.length;r<=n;r++)t[r]=t[r-1]+i;return t[n]}let s=_=class{static unshiftIndent(n,t,r,u,f){const d=I.CursorColumns.visibleColumnFromColumn(n,t,r);if(f){const l=C(" ",u),c=I.CursorColumns.prevIndentTabStop(d,u)/u;return C(l,c)}else{const l=" ",c=I.CursorColumns.prevRenderTabStop(d,r)/r;return C(l,c)}}static shiftIndent(n,t,r,u,f){const d=I.CursorColumns.visibleColumnFromColumn(n,t,r);if(f){const l=C(" ",u),c=I.CursorColumns.nextIndentTabStop(d,u)/u;return C(l,c)}else{const l=" ",c=I.CursorColumns.nextRenderTabStop(d,r)/r;return C(l,c)}}constructor(n,t,r){this._languageConfigurationService=r,this._opts=t,this._selection=n,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(n,t,r){this._useLastEditRangeForCursorEndPosition?n.addTrackedEditOperation(t,r):n.addEditOperation(t,r)}getEditOperations(n,t){const r=this._selection.startLineNumber;let u=this._selection.endLineNumber;this._selection.endColumn===1&&r!==u&&(u=u-1);const{tabSize:f,indentSize:d,insertSpaces:l}=this._opts,o=r===u;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(n.getLineContent(r))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,a=0;for(let g=r;g<=u;g++,c=a){a=0;const h=n.getLineContent(g);let p=L.firstNonWhitespaceIndex(h);if(this._opts.isUnshift&&(h.length===0||p===0)||!o&&!this._opts.isUnshift&&h.length===0)continue;if(p===-1&&(p=h.length),g>1&&I.CursorColumns.visibleColumnFromColumn(h,p+1,f)%d!==0&&n.tokenization.isCheapToTokenize(g-1)){const E=(0,S.getEnterAction)(this._opts.autoIndent,n,new y.Range(g-1,n.getLineMaxColumn(g-1),g-1,n.getLineMaxColumn(g-1)),this._languageConfigurationService);if(E){if(a=c,E.appendText)for(let k=0,M=E.appendText.length;k1){let M;for(M=b-1;M>=1;M--){const T=p.getLineContent(M);if(I.lastNonWhitespaceIndex(T)>=0)break}if(M<1)return null;const R=p.getLineMaxColumn(M),B=(0,r.getEnterAction)(h.autoIndent,p,new v.Range(M,R,M,R),h.languageConfigurationService);B&&(E=B.indentation+B.appendText)}return w&&(w===s.IndentAction.Indent&&(E=u.shiftIndent(h,E)),w===s.IndentAction.Outdent&&(E=u.unshiftIndent(h,E)),E=h.normalizeIndentation(E)),E||null}static _replaceJumpToNextIndent(h,p,b,w){let E="";const k=b.getStartPosition();if(h.insertSpaces){const M=h.visibleColumnFromColumn(p,k),R=h.indentSize,B=R-M%R;for(let T=0;Tthis._compositionType(b,T,E,k,M,R));return new m.EditOperationResult(4,B,{shouldPushStackElementBefore:o(h,4),shouldPushStackElementAfter:!1})}static _compositionType(h,p,b,w,E,k){if(!p.isEmpty())return null;const M=p.getPosition(),R=Math.max(1,M.column-w),B=Math.min(h.getLineMaxColumn(M.lineNumber),M.column+E),T=new v.Range(M.lineNumber,R,M.lineNumber,B);return h.getValueInRange(T)===b&&k===0?null:new y.ReplaceCommandWithOffsetCursorState(T,b,0,k)}static _typeCommand(h,p,b){return b?new y.ReplaceCommandWithoutChangingPosition(h,p,!0):new y.ReplaceCommand(h,p,!0)}static _enter(h,p,b,w){if(h.autoIndent===0)return u._typeCommand(w,` +`,b);if(!p.tokenization.isCheapToTokenize(w.getStartPosition().lineNumber)||h.autoIndent===1){const R=p.getLineContent(w.startLineNumber),B=I.getLeadingWhitespace(R).substring(0,w.startColumn-1);return u._typeCommand(w,` +`+h.normalizeIndentation(B),b)}const E=(0,r.getEnterAction)(h.autoIndent,p,w,h.languageConfigurationService);if(E){if(E.indentAction===s.IndentAction.None)return u._typeCommand(w,` +`+h.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.Indent)return u._typeCommand(w,` +`+h.normalizeIndentation(E.indentation+E.appendText),b);if(E.indentAction===s.IndentAction.IndentOutdent){const R=h.normalizeIndentation(E.indentation),B=h.normalizeIndentation(E.indentation+E.appendText),T=` +`+B+` +`+R;return b?new y.ReplaceCommandWithoutChangingPosition(w,T,!0):new y.ReplaceCommandWithOffsetCursorState(w,T,-1,B.length-R.length,!0)}else if(E.indentAction===s.IndentAction.Outdent){const R=u.unshiftIndent(h,E.indentation);return u._typeCommand(w,` +`+h.normalizeIndentation(R+E.appendText),b)}}const k=p.getLineContent(w.startLineNumber),M=I.getLeadingWhitespace(k).substring(0,w.startColumn-1);if(h.autoIndent>=4){const R=(0,t.getIndentForEnter)(h.autoIndent,p,w,{unshiftIndent:B=>u.unshiftIndent(h,B),shiftIndent:B=>u.shiftIndent(h,B),normalizeIndentation:B=>h.normalizeIndentation(B)},h.languageConfigurationService);if(R){let B=h.visibleColumnFromColumn(p,w.getEndPosition());const T=w.endColumn,N=p.getLineContent(w.endLineNumber),A=I.firstNonWhitespaceIndex(N);if(A>=0?w=w.setEndPosition(w.endLineNumber,Math.max(w.endColumn,A+1)):w=w.setEndPosition(w.endLineNumber,p.getLineMaxColumn(w.endLineNumber)),b)return new y.ReplaceCommandWithoutChangingPosition(w,` +`+h.normalizeIndentation(R.afterEnter),!0);{let P=0;return T<=A+1&&(h.insertSpaces||(B=Math.ceil(B/h.indentSize)),P=Math.min(B+1-h.normalizeIndentation(R.afterEnter).length-1,0)),new y.ReplaceCommandWithOffsetCursorState(w,` +`+h.normalizeIndentation(R.afterEnter),0,P,!0)}}}return u._typeCommand(w,` +`+h.normalizeIndentation(M),b)}static _isAutoIndentType(h,p,b){if(h.autoIndent<4)return!1;for(let w=0,E=b.length;wu.shiftIndent(h,M),unshiftIndent:M=>u.unshiftIndent(h,M)},h.languageConfigurationService);if(k===null)return null;if(k!==h.normalizeIndentation(E)){const M=p.getLineFirstNonWhitespaceColumn(b.startLineNumber);return M===0?u._typeCommand(new v.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),h.normalizeIndentation(k)+w,!1):u._typeCommand(new v.Range(b.startLineNumber,1,b.endLineNumber,b.endColumn),h.normalizeIndentation(k)+p.getLineContent(b.startLineNumber).substring(M-1,b.startColumn-1)+w,!1)}return null}static _isAutoClosingOvertype(h,p,b,w,E){if(h.autoClosingOvertype==="never"||!h.autoClosingPairs.autoClosingPairsCloseSingleChar.has(E))return!1;for(let k=0,M=b.length;k2?T.charCodeAt(B.column-2):0)===92&&A)return!1;if(h.autoClosingOvertype==="auto"){let O=!1;for(let x=0,W=w.length;xp.startsWith(R.open)),M=E.some(R=>p.startsWith(R.close));return!k&&M}static _findAutoClosingPairOpen(h,p,b,w){const E=h.autoClosingPairs.autoClosingPairsOpenByEnd.get(w);if(!E)return null;let k=null;for(const M of E)if(k===null||M.open.length>k.open.length){let R=!0;for(const B of b)if(p.getValueInRange(new v.Range(B.lineNumber,B.column-M.open.length+1,B.lineNumber,B.column))+w!==M.open){R=!1;break}R&&(k=M)}return k}static _findContainedAutoClosingPair(h,p){if(p.open.length<=1)return null;const b=p.close.charAt(p.close.length-1),w=h.autoClosingPairs.autoClosingPairsCloseByEnd.get(b)||[];let E=null;for(const k of w)k.open!==p.open&&p.open.includes(k.open)&&p.close.endsWith(k.close)&&(!E||k.open.length>E.open.length)&&(E=k);return E}static _getAutoClosingPairClose(h,p,b,w,E){for(const O of b)if(!O.isEmpty())return null;const k=b.map(O=>{const x=O.getPosition();return E?{lineNumber:x.lineNumber,beforeColumn:x.column-w.length,afterColumn:x.column}:{lineNumber:x.lineNumber,beforeColumn:x.column,afterColumn:x.column}}),M=this._findAutoClosingPairOpen(h,p,k.map(O=>new C.Position(O.lineNumber,O.beforeColumn)),w);if(!M)return null;let R,B;if((0,m.isQuote)(w)?(R=h.autoClosingQuotes,B=h.shouldAutoCloseBefore.quote):(h.blockCommentStartToken?M.open.includes(h.blockCommentStartToken):!1)?(R=h.autoClosingComments,B=h.shouldAutoCloseBefore.comment):(R=h.autoClosingBrackets,B=h.shouldAutoCloseBefore.bracket),R==="never")return null;const N=this._findContainedAutoClosingPair(h,M),A=N?N.close:"";let P=!0;for(const O of k){const{lineNumber:x,beforeColumn:W,afterColumn:U}=O,F=p.getLineContent(x),G=F.substring(0,W-1),Y=F.substring(U-1);if(Y.startsWith(A)||(P=!1),Y.length>0){const q=Y.charAt(0);if(!u._isBeforeClosingBrace(h,Y)&&!B(q))return null}if(M.open.length===1&&(w==="'"||w==='"')&&R!=="always"){const q=(0,_.getMapForWordSeparators)(h.wordSeparators);if(G.length>0){const H=G.charCodeAt(G.length-1);if(q.get(H)===0)return null}}if(!p.tokenization.isCheapToTokenize(x))return null;p.tokenization.forceTokenization(x);const ne=p.tokenization.getLineTokens(x),se=(0,n.createScopedLineTokens)(ne,W-1);if(!M.shouldAutoClose(se,W-se.firstCharOffset))return null;const J=M.findNeutralCharacter();if(J){const q=p.tokenization.getTokenTypeIfInsertingCharacter(x,W,J);if(!M.isOK(q))return null}}return P?M.close.substring(0,M.close.length-A.length):M.close}static _runAutoClosingOpenCharType(h,p,b,w,E,k,M){const R=[];for(let B=0,T=w.length;Bnew y.ReplaceCommand(new v.Range(A.positionLineNumber,A.positionColumn,A.positionLineNumber,A.positionColumn+1),"",!1));return new m.EditOperationResult(4,N,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const T=this._getAutoClosingPairClose(p,b,E,R,!0);return T!==null?this._runAutoClosingOpenCharType(h,p,b,E,R,!0,T):null}static typeWithInterceptors(h,p,b,w,E,k,M){if(!h&&M===` +`){const T=[];for(let N=0,A=E.length;N0){const a=this._cursors.getSelections();for(let g=0;gw&&(p=p.slice(0,w),b=!0);const E=u.from(this._model,this);return this._cursors.setStates(p),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(a,g,h,E,b)}setCursorColumnSelectData(a){this._columnSelectData=a}revealPrimary(a,g,h,p,b,w){const E=this._cursors.getViewPositions();let k=null,M=null;E.length>1?M=this._cursors.getViewSelections():k=v.Range.fromPositions(E[0],E[0]),a.emitViewEvent(new i.ViewRevealRangeRequestEvent(g,h,k,M,p,b,w))}saveState(){const a=[],g=this._cursors.getSelections();for(let h=0,p=g.length;h0){const b=D.CursorState.fromModelSelections(h.resultingSelection);this.setStates(a,"modelChange",h.isUndoing?5:h.isRedoing?6:2,b)&&this.revealPrimary(a,"modelChange",!1,0,!0,0)}else{const b=this._cursors.readSelectionFromMarkers();this.setStates(a,"modelChange",2,D.CursorState.fromModelSelections(b))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const a=this._cursors.getPrimaryCursor(),g=a.viewState.selectionStart.getStartPosition(),h=a.viewState.position;return{isReal:!1,fromViewLineNumber:g.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,g),toViewLineNumber:h.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,h)}}getSelections(){return this._cursors.getSelections()}setSelections(a,g,h,p){this.setStates(a,g,p,D.CursorState.fromModelSelections(h))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(a){this._prevEditOperationType=a}_pushAutoClosedAction(a,g){const h=[],p=[];for(let E=0,k=a.length;E0&&this._pushAutoClosedAction(h,p),this._prevEditOperationType=a.type}a.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(a){(!a||a.length===0)&&(a=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(a),this._cursors.normalize()}_emitStateChangedIfNecessary(a,g,h,p,b){const w=u.from(this._model,this);if(w.equals(p))return!1;const E=this._cursors.getSelections(),k=this._cursors.getViewSelections();if(a.emitViewEvent(new i.ViewCursorStateChangedEvent(k,E,h)),!p||p.cursorState.length!==w.cursorState.length||w.cursorState.some((M,R)=>!M.modelState.equals(p.cursorState[R].modelState))){const M=p?p.cursorState.map(B=>B.modelState.selection):null,R=p?p.modelVersionId:0;a.emitOutgoingEvent(new t.CursorStateChangedEvent(M,E,R,w.modelVersionId,g||"keyboard",h,b))}return!0}_findAutoClosingPairs(a){if(!a.length)return null;const g=[];for(let h=0,p=a.length;h=0)return null;const w=b.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!w)return null;const E=w[1],k=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(E);if(!k||k.length!==1)return null;const M=k[0].open,R=b.text.length-w[2].length-1,B=b.text.lastIndexOf(M,R-1);if(B===-1)return null;g.push([B,R])}return g}executeEdits(a,g,h,p){let b=null;g==="snippet"&&(b=this._findAutoClosingPairs(h)),b&&(h[0]._isTracked=!0);const w=[],E=[],k=this._model.pushEditOperations(this.getSelections(),h,M=>{if(b)for(let B=0,T=b.length;B0&&this._pushAutoClosedAction(w,E)}_executeEdit(a,g,h,p=0){if(this.context.cursorConfig.readOnly)return;const b=u.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),a()}catch(w){(0,L.onUnexpectedError)(w)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(g,h,p,b,!1)&&this.revealPrimary(g,h,!1,0,!0,0)}getAutoClosedCharacters(){return f.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(a){this._compositionState=new o(this._model,this.getSelections())}endComposition(a,g){const h=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{g==="keyboard"&&this._executeEditOperation(_.TypeOperations.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,h,this.getSelections(),this.getAutoClosedCharacters()))},a,g)}type(a,g,h){this._executeEdit(()=>{if(h==="keyboard"){const p=g.length;let b=0;for(;b{const M=k.getPosition();return new C.Selection(M.lineNumber,M.column+b,M.lineNumber,M.column+b)});this.setSelections(a,w,E,0)}return}this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),g,h,p,b))},a,w)}paste(a,g,h,p,b){this._executeEdit(()=>{this._executeEditOperation(_.TypeOperations.paste(this.context.cursorConfig,this._model,this.getSelections(),g,h,p||[]))},a,b,4)}cut(a,g){this._executeEdit(()=>{this._executeEditOperation(m.DeleteOperations.cut(this.context.cursorConfig,this._model,this.getSelections()))},a,g)}executeCommand(a,g,h){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new D.EditOperationResult(0,[g],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},a,h)}executeCommands(a,g,h){this._executeEdit(()=>{this._executeEditOperation(new D.EditOperationResult(0,g,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},a,h)}}e.CursorsController=r;class u{static from(a,g){return new u(a.getVersionId(),g.getCursorStates())}constructor(a,g){this.modelVersionId=a,this.cursorState=g}equals(a){if(!a||this.modelVersionId!==a.modelVersionId||this.cursorState.length!==a.cursorState.length)return!1;for(let g=0,h=this.cursorState.length;g=g.length||!g[h].strictContainsRange(a[h]))return!1;return!0}}class d{static executeCommands(a,g,h){const p={model:a,selectionsBefore:g,trackedRanges:[],trackedRangesDirection:[]},b=this._innerExecuteCommands(p,h);for(let w=0,E=p.trackedRanges.length;w0&&(w[0]._isTracked=!0);let E=a.model.pushEditOperations(a.selectionsBefore,w,M=>{const R=[];for(let N=0;NN.identifier.minor-A.identifier.minor,T=[];for(let N=0;N0?(R[N].sort(B),T[N]=g[N].computeCursorState(a.model,{getInverseEditOperations:()=>R[N],getTrackedSelection:A=>{const P=parseInt(A,10),O=a.model._getTrackedRange(a.trackedRanges[P]);return a.trackedRangesDirection[P]===0?new C.Selection(O.startLineNumber,O.startColumn,O.endLineNumber,O.endColumn):new C.Selection(O.endLineNumber,O.endColumn,O.startLineNumber,O.startColumn)}})):T[N]=a.selectionsBefore[N];return T});E||(E=a.selectionsBefore);const k=[];for(const M in b)b.hasOwnProperty(M)&&k.push(parseInt(M,10));k.sort((M,R)=>R-M);for(const M of k)E.splice(M,1);return E}static _arrayIsEmpty(a){for(let g=0,h=a.length;g{v.Range.isEmpty(B)&&T===""||p.push({identifier:{major:g,minor:b++},range:B,text:T,forceMoveMarkers:N,isAutoWhitespaceEdit:h.insertsAutoWhitespace})};let E=!1;const R={addEditOperation:w,addTrackedEditOperation:(B,T,N)=>{E=!0,w(B,T,N)},trackSelection:(B,T)=>{const N=C.Selection.liftSelection(B);let A;if(N.isEmpty())if(typeof T=="boolean")T?A=2:A=3;else{const x=a.model.getLineMaxColumn(N.startLineNumber);N.startColumn===x?A=2:A=3}else A=1;const P=a.trackedRanges.length,O=a.model._setTrackedRange(null,N,A);return a.trackedRanges[P]=O,a.trackedRangesDirection[P]=N.getDirection(),P.toString()}};try{h.getEditOperations(a.model,R)}catch(B){return(0,L.onUnexpectedError)(B),{operations:[],hadTrackedEditOperation:!1}}return{operations:p,hadTrackedEditOperation:E}}static _getLoserCursorMap(a){a=a.slice(0),a.sort((h,p)=>-v.Range.compareRangesUsingEnds(h.range,p.range));const g={};for(let h=1;hb.identifier.major?w=p.identifier.major:w=b.identifier.major,g[w.toString()]=!0;for(let E=0;E0&&h--}}return g}}class l{constructor(a,g,h){this.text=a,this.startSelection=g,this.endSelection=h}}class o{static _capture(a,g){const h=[];for(const p of g){if(p.startLineNumber!==p.endLineNumber)return null;h.push(new l(a.getLineContent(p.startLineNumber),p.startColumn-1,p.endColumn-1))}return h}constructor(a,g){this._original=o._capture(a,g)}deduceOutcome(a,g){if(!this._original)return null;const h=o._capture(a,g);if(!h||this._original.length!==h.length)return null;const p=[];for(let b=0,w=this._original.length;b{h.mime===g.mime||h.userConfigured||(g.extension&&h.extension===g.extension&&console.warn(`Overwriting extension <<${g.extension}>> to now point to mime <<${g.mime}>>`),g.filename&&h.filename===g.filename&&console.warn(`Overwriting filename <<${g.filename}>> to now point to mime <<${g.mime}>>`),g.filepattern&&h.filepattern===g.filepattern&&console.warn(`Overwriting filepattern <<${g.filepattern}>> to now point to mime <<${g.mime}>>`),g.firstline&&h.firstline===g.firstline&&console.warn(`Overwriting firstline <<${g.firstline}>> to now point to mime <<${g.mime}>>`))})}function t(o,c){return{id:o.id,mime:o.mime,filename:o.filename,extension:o.extension,filepattern:o.filepattern,firstline:o.firstline,userConfigured:c,filenameLowercase:o.filename?o.filename.toLowerCase():void 0,extensionLowercase:o.extension?o.extension.toLowerCase():void 0,filepatternLowercase:o.filepattern?(0,L.parse)(o.filepattern.toLowerCase()):void 0,filepatternOnPath:o.filepattern?o.filepattern.indexOf(D.posix.sep)>=0:!1}}function r(){v=v.filter(o=>o.userConfigured),C=[]}e.clearPlatformLanguageAssociations=r;function u(o,c){return f(o,c).map(a=>a.id)}e.getLanguageIds=u;function f(o,c){let a;if(o)switch(o.scheme){case y.Schemas.file:a=o.fsPath;break;case y.Schemas.data:{a=S.DataUri.parseMetaData(o).get(S.DataUri.META_DATA_LABEL);break}case y.Schemas.vscodeNotebookCell:a=void 0;break;default:a=o.path}if(!a)return[{id:"unknown",mime:I.Mimes.unknown}];a=a.toLowerCase();const g=(0,D.basename)(a),h=d(a,g,s);if(h)return[h,{id:_.PLAINTEXT_LANGUAGE_ID,mime:I.Mimes.text}];const p=d(a,g,C);if(p)return[p,{id:_.PLAINTEXT_LANGUAGE_ID,mime:I.Mimes.text}];if(c){const b=l(c);if(b)return[b,{id:_.PLAINTEXT_LANGUAGE_ID,mime:I.Mimes.text}]}return[{id:"unknown",mime:I.Mimes.unknown}]}function d(o,c,a){var g;let h,p,b;for(let w=a.length-1;w>=0;w--){const E=a[w];if(c===E.filenameLowercase){h=E;break}if(E.filepattern&&(!p||E.filepattern.length>p.filepattern.length)){const k=E.filepatternOnPath?o:c;!((g=E.filepatternLowercase)===null||g===void 0)&&g.call(E,k)&&(p=E)}E.extension&&(!b||E.extension.length>b.extension.length)&&c.endsWith(E.extensionLowercase)&&(b=E)}if(h)return h;if(p)return p;if(b)return b}function l(o){if((0,m.startsWithUTF8BOM)(o)&&(o=o.substr(1)),o.length>0)for(let c=v.length-1;c>=0;c--){const a=v[c];if(!a.firstline)continue;const g=o.match(a.firstline);if(g&&g.length>0)return a}}}),define(te[778],ie([1,0,6,2,10,777,75,95,35]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguagesRegistry=e.LanguageIdCodec=void 0;const v=Object.prototype.hasOwnProperty,C="vs.editor.nullLanguage";class s{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(C,0),this._register(S.PLAINTEXT_LANGUAGE_ID,1),this._nextLanguageId=2}_register(t,r){this._languageIdToLanguage[r]=t,this._languageToLanguageId.set(t,r)}register(t){if(this._languageToLanguageId.has(t))return;const r=this._nextLanguageId++;this._register(t,r)}encodeLanguageId(t){return this._languageToLanguageId.get(t)||0}decodeLanguageId(t){return this._languageIdToLanguage[t]||C}}e.LanguageIdCodec=s;class i extends I.Disposable{constructor(t=!0,r=!1){super(),this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,i.instanceCount++,this._warnOnOverwrite=r,this.languageIdCodec=new s,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},t&&(this._initializeFromRegistry(),this._register(S.ModesRegistry.onDidChangeLanguages(u=>{this._initializeFromRegistry()})))}dispose(){i.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},(0,D.clearPlatformLanguageAssociations)();const t=[].concat(S.ModesRegistry.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(t)}_registerLanguages(t){for(const r of t)this._registerLanguage(r);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(r=>{const u=this._languages[r];u.name&&(this._nameMap[u.name]=u.identifier),u.aliases.forEach(f=>{this._lowercaseNameMap[f.toLowerCase()]=u.identifier}),u.mimetypes.forEach(f=>{this._mimeTypesMap[f]=u.identifier})}),_.Registry.as(m.Extensions.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(t){const r=t.id;let u;v.call(this._languages,r)?u=this._languages[r]:(this.languageIdCodec.register(r),u={identifier:r,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[r]=u),this._mergeLanguage(u,t)}_mergeLanguage(t,r){const u=r.id;let f=null;if(Array.isArray(r.mimetypes)&&r.mimetypes.length>0&&(t.mimetypes.push(...r.mimetypes),f=r.mimetypes[0]),f||(f=`text/x-${u}`,t.mimetypes.push(f)),Array.isArray(r.extensions)){r.configuration?t.extensions=r.extensions.concat(t.extensions):t.extensions=t.extensions.concat(r.extensions);for(const o of r.extensions)(0,D.registerPlatformLanguageAssociation)({id:u,mime:f,extension:o},this._warnOnOverwrite)}if(Array.isArray(r.filenames))for(const o of r.filenames)(0,D.registerPlatformLanguageAssociation)({id:u,mime:f,filename:o},this._warnOnOverwrite),t.filenames.push(o);if(Array.isArray(r.filenamePatterns))for(const o of r.filenamePatterns)(0,D.registerPlatformLanguageAssociation)({id:u,mime:f,filepattern:o},this._warnOnOverwrite);if(typeof r.firstLine=="string"&&r.firstLine.length>0){let o=r.firstLine;o.charAt(0)!=="^"&&(o="^"+o);try{const c=new RegExp(o);(0,y.regExpLeadsToEndlessLoop)(c)||(0,D.registerPlatformLanguageAssociation)({id:u,mime:f,firstline:c},this._warnOnOverwrite)}catch(c){console.warn(`[${r.id}]: Invalid regular expression \`${o}\`: `,c)}}t.aliases.push(u);let d=null;if(typeof r.aliases<"u"&&Array.isArray(r.aliases)&&(r.aliases.length===0?d=[null]:d=r.aliases),d!==null)for(const o of d)!o||o.length===0||t.aliases.push(o);const l=d!==null&&d.length>0;if(!(l&&d[0]===null)){const o=(l?d[0]:null)||u;(l||!t.name)&&(t.name=o)}r.configuration&&t.configurationFiles.push(r.configuration),r.icon&&t.icons.push(r.icon)}isRegisteredLanguageId(t){return t?v.call(this._languages,t):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(t){const r=t.toLowerCase();return v.call(this._lowercaseNameMap,r)?this._lowercaseNameMap[r]:null}getLanguageIdByMimeType(t){return t&&v.call(this._mimeTypesMap,t)?this._mimeTypesMap[t]:null}guessLanguageIdByFilepathOrFirstLine(t,r){return!t&&!r?[]:(0,D.getLanguageIds)(t,r)}}e.LanguagesRegistry=i,i.instanceCount=0}),define(te[779],ie([1,0,6,2,778,13,29,75]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LanguageService=void 0;class _ extends I.Disposable{constructor(s=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new L.Emitter),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new L.Emitter),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new L.Emitter({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,_.instanceCount++,this._registry=this._register(new y.LanguagesRegistry(!0,s)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){_.instanceCount--,super.dispose()}isRegisteredLanguageId(s){return this._registry.isRegisteredLanguageId(s)}getLanguageIdByLanguageName(s){return this._registry.getLanguageIdByLanguageName(s)}getLanguageIdByMimeType(s){return this._registry.getLanguageIdByMimeType(s)}guessLanguageIdByFilepathOrFirstLine(s,i){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(s,i);return(0,D.firstOrDefault)(n,null)}createById(s){return new v(this.onDidChange,()=>this._createAndGetLanguageIdentifier(s))}createByFilepathOrFirstLine(s,i){return new v(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(s,i);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(s){return(!s||!this.isRegisteredLanguageId(s))&&(s=m.PLAINTEXT_LANGUAGE_ID),s}requestBasicLanguageFeatures(s){this._requestedBasicLanguages.has(s)||(this._requestedBasicLanguages.add(s),this._onDidRequestBasicLanguageFeatures.fire(s))}requestRichLanguageFeatures(s){this._requestedRichLanguages.has(s)||(this._requestedRichLanguages.add(s),this.requestBasicLanguageFeatures(s),S.TokenizationRegistry.getOrCreate(s),this._onDidRequestRichLanguageFeatures.fire(s))}}e.LanguageService=_,_.instanceCount=0;class v{constructor(s,i){this._onDidChangeLanguages=s,this._selector=i,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new L.Emitter({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var s;const i=this._selector();i!==this.languageId&&(this.languageId=i,(s=this._emitter)===null||s===void 0||s.fire(this.languageId))}}}),define(te[346],ie([1,0,36,241,50,32,2,18,147]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultDocumentColorProvider=void 0;class v{constructor(i,n){this._editorWorkerClient=new I.EditorWorkerClient(i,!1,"editorWorkerService",n)}provideDocumentColors(i,n){return be(this,void 0,void 0,function*(){return this._editorWorkerClient.computeDefaultDocumentColors(i.uri)})}provideColorPresentations(i,n,t){const r=n.range,u=n.color,f=u.alpha,d=new L.Color(new L.RGBA(Math.round(255*u.red),Math.round(255*u.green),Math.round(255*u.blue),f)),l=f?L.Color.Format.CSS.formatRGB(d):L.Color.Format.CSS.formatRGBA(d),o=f?L.Color.Format.CSS.formatHSL(d):L.Color.Format.CSS.formatHSLA(d),c=f?L.Color.Format.CSS.formatHex(d):L.Color.Format.CSS.formatHexA(d),a=[];return a.push({label:l,textEdit:{range:r,text:l}}),a.push({label:o,textEdit:{range:r,text:o}}),a.push({label:c,textEdit:{range:r,text:c}}),a}}e.DefaultDocumentColorProvider=v;let C=class extends S.Disposable{constructor(i,n,t){super(),this._register(t.colorProvider.register("*",new v(i,n)))}};C=Ie([ge(0,y.IModelService),ge(1,D.ILanguageConfigurationService),ge(2,m.ILanguageFeaturesService)],C),(0,_.registerEditorFeature)(C)}),define(te[347],ie([1,0,19,9,21,5,50,25,18,346,28]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColorPresentations=e.getColors=void 0;function s(d,l,o,c=!0){return be(this,void 0,void 0,function*(){return u(new n,d,l,o,c)})}e.getColors=s;function i(d,l,o,c){return Promise.resolve(o.provideColorPresentations(d,l,c))}e.getColorPresentations=i;class n{constructor(){}compute(l,o,c,a){return be(this,void 0,void 0,function*(){const g=yield l.provideDocumentColors(o,c);if(Array.isArray(g))for(const h of g)a.push({colorInfo:h,provider:l});return Array.isArray(g)})}}class t{constructor(){}compute(l,o,c,a){return be(this,void 0,void 0,function*(){const g=yield l.provideDocumentColors(o,c);if(Array.isArray(g))for(const h of g)a.push({range:h.range,color:[h.color.red,h.color.green,h.color.blue,h.color.alpha]});return Array.isArray(g)})}}class r{constructor(l){this.colorInfo=l}compute(l,o,c,a){return be(this,void 0,void 0,function*(){const g=yield l.provideColorPresentations(o,this.colorInfo,L.CancellationToken.None);return Array.isArray(g)&&a.push(...g),Array.isArray(g)})}}function u(d,l,o,c,a){return be(this,void 0,void 0,function*(){let g=!1,h;const p=[],b=l.ordered(o);for(let w=b.length-1;w>=0;w--){const E=b[w];if(E instanceof v.DefaultDocumentColorProvider)h=E;else try{(yield d.compute(E,o,c,p))&&(g=!0)}catch(k){(0,I.onUnexpectedExternalError)(k)}}return g?p:h&&a?(yield d.compute(h,o,c,p),p):[]})}function f(d,l){const{colorProvider:o}=d.get(_.ILanguageFeaturesService),c=d.get(S.IModelService).getModel(l);if(!c)throw(0,I.illegalArgument)();const a=d.get(C.IConfigurationService).getValue("editor.defaultColorDecorators",{resource:l});return{model:c,colorProviderRegistry:o,isDefaultColorDecoratorsEnabled:a}}m.CommandsRegistry.registerCommand("_executeDocumentColorProvider",function(d,...l){const[o]=l;if(!(o instanceof y.URI))throw(0,I.illegalArgument)();const{model:c,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:g}=f(d,o);return u(new t,a,c,L.CancellationToken.None,g)}),m.CommandsRegistry.registerCommand("_executeColorPresentationProvider",function(d,...l){const[o,c]=l,{uri:a,range:g}=c;if(!(a instanceof y.URI)||!Array.isArray(o)||o.length!==4||!D.Range.isIRange(g))throw(0,I.illegalArgument)();const{model:h,colorProviderRegistry:p,isDefaultColorDecoratorsEnabled:b}=f(d,a),[w,E,k,M]=o;return u(new r({range:g,color:{red:w,green:E,blue:k,alpha:M}}),p,h,L.CancellationToken.None,b)})}),define(te[780],ie([1,0,19,69,2,40,12,29,32,18,604,300]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionWithUpdatedRange=e.UpToDateInlineCompletions=e.InlineCompletionsSource=void 0;let i=class extends y.Disposable{constructor(c,a,g,h,p){super(),this.textModel=c,this.versionId=a,this._debounceValue=g,this.languageFeaturesService=h,this.languageConfigurationService=p,this._updateOperation=this._register(new y.MutableDisposable),this.inlineCompletions=(0,D.disposableObservableValue)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,D.disposableObservableValue)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(c,a,g){var h,p;const b=new t(c,a,this.textModel.getVersionId()),w=a.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(!((h=this._updateOperation.value)===null||h===void 0)&&h.request.satisfies(b))return this._updateOperation.value.promise;if(!((p=w.get())===null||p===void 0)&&p.request.satisfies(b))return Promise.resolve(!0);const E=!!this._updateOperation.value;this._updateOperation.clear();const k=new L.CancellationTokenSource,M=(()=>be(this,void 0,void 0,function*(){if((E||a.triggerKind===m.InlineCompletionTriggerKind.Automatic)&&(yield n(this._debounceValue.get(this.textModel))),k.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const T=new Date,N=yield(0,C.provideInlineCompletions)(this.languageFeaturesService.inlineCompletionsProvider,c,this.textModel,a,k.token,this.languageConfigurationService);if(k.token.isCancellationRequested||this.textModel.getVersionId()!==b.versionId)return!1;const A=new Date;this._debounceValue.update(this.textModel,A.getTime()-T.getTime());const P=new f(N,b,this.textModel,this.versionId);if(g){const O=g.toInlineCompletion(void 0);g.canBeReused(this.textModel,c)&&!N.has(O)&&P.prepend(g.inlineCompletion,O.range,!0)}return this._updateOperation.clear(),(0,D.transaction)(O=>{w.set(P,O)}),!0}))(),R=new u(b,k,M);return this._updateOperation.value=R,M}clear(c){this._updateOperation.clear(),this.inlineCompletions.set(void 0,c),this.suggestWidgetInlineCompletions.set(void 0,c)}clearSuggestWidgetInlineCompletions(c){var a;!((a=this._updateOperation.value)===null||a===void 0)&&a.request.context.selectedSuggestionInfo&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,c)}cancelUpdate(){this._updateOperation.clear()}};e.InlineCompletionsSource=i,e.InlineCompletionsSource=i=Ie([ge(3,v.ILanguageFeaturesService),ge(4,_.ILanguageConfigurationService)],i);function n(o,c){return new Promise(a=>{let g;const h=setTimeout(()=>{g&&g.dispose(),a()},o);c&&(g=c.onCancellationRequested(()=>{clearTimeout(h),g&&g.dispose(),a()}))})}class t{constructor(c,a,g){this.position=c,this.context=a,this.versionId=g}satisfies(c){return this.position.equals(c.position)&&r(this.context.selectedSuggestionInfo,c.context.selectedSuggestionInfo,(a,g)=>a.equals(g))&&(c.context.triggerKind===m.InlineCompletionTriggerKind.Automatic||this.context.triggerKind===m.InlineCompletionTriggerKind.Explicit)&&this.versionId===c.versionId}}function r(o,c,a){return!o||!c?o===c:a(o,c)}class u{constructor(c,a,g){this.request=c,this.cancellationTokenSource=a,this.promise=g}dispose(){this.cancellationTokenSource.cancel()}}class f{get inlineCompletions(){return this._inlineCompletions}constructor(c,a,g,h){this.inlineCompletionProviderResult=c,this.request=a,this.textModel=g,this.versionId=h,this._refCount=1,this._prependedInlineCompletionItems=[],this._rangeVersionIdValue=0,this._rangeVersionId=(0,D.derived)(this,b=>{this.versionId.read(b);let w=!1;for(const E of this._inlineCompletions)w=w||E._updateRange(this.textModel);return w&&this._rangeVersionIdValue++,this._rangeVersionIdValue});const p=g.deltaDecorations([],c.completions.map(b=>({range:b.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=c.completions.map((b,w)=>new d(b,p[w],this._rangeVersionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,this._refCount===0){setTimeout(()=>{this.textModel.isDisposed()||this.textModel.deltaDecorations(this._inlineCompletions.map(c=>c.decorationId),[])},0),this.inlineCompletionProviderResult.dispose();for(const c of this._prependedInlineCompletionItems)c.source.removeRef()}}prepend(c,a,g){g&&c.source.addRef();const h=this.textModel.deltaDecorations([],[{range:a,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new d(c,h,this._rangeVersionId,a)),this._prependedInlineCompletionItems.push(c)}}e.UpToDateInlineCompletions=f;class d{get forwardStable(){var c;return(c=this.inlineCompletion.source.inlineCompletions.enableForwardStability)!==null&&c!==void 0?c:!1}constructor(c,a,g,h){this.inlineCompletion=c,this.decorationId=a,this.rangeVersion=g,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._isValid=!0,this._updatedRange=h??c.range}toInlineCompletion(c){return this.inlineCompletion.withRange(this._getUpdatedRange(c))}toSingleTextEdit(c){return new s.SingleTextEdit(this._getUpdatedRange(c),this.inlineCompletion.insertText)}isVisible(c,a,g){const h=this._toFilterTextReplacement(g).removeCommonPrefix(c);if(!this._isValid||!this.inlineCompletion.range.getStartPosition().equals(this._getUpdatedRange(g).getStartPosition())||a.lineNumber!==h.range.startLineNumber)return!1;const p=c.getValueInRange(h.range,1).toLowerCase(),b=h.text.toLowerCase(),w=Math.max(0,a.column-h.range.startColumn);let E=b.substring(0,w),k=b.substring(w),M=p.substring(0,w),R=p.substring(w);const B=c.getLineIndentColumn(h.range.startLineNumber);return h.range.startColumn<=B&&(M=M.trimStart(),M.length===0&&(R=R.trimStart()),E=E.trimStart(),E.length===0&&(k=k.trimStart())),E.startsWith(M)&&!!(0,I.matchesSubString)(R,k)}canBeReused(c,a){return this._isValid&&this._getUpdatedRange(void 0).containsPosition(a)&&this.isVisible(c,a,void 0)&&!this._isSmallerThanOriginal(void 0)}_toFilterTextReplacement(c){return new s.SingleTextEdit(this._getUpdatedRange(c),this.inlineCompletion.filterText)}_isSmallerThanOriginal(c){return l(this._getUpdatedRange(c)).isBefore(l(this.inlineCompletion.range))}_getUpdatedRange(c){return this.rangeVersion.read(c),this._updatedRange}_updateRange(c){const a=c.getDecorationRange(this.decorationId);return a?this._updatedRange.equalsRange(a)?!1:(this._updatedRange=a,!0):(this._isValid=!1,!0)}}e.InlineCompletionWithUpdatedRange=d;function l(o){return o.startLineNumber===o.endLineNumber?new S.Position(1,1+o.endColumn-o.startColumn):new S.Position(1+o.endLineNumber-o.startLineNumber,o.endColumn)}}),define(te[781],ie([1,0,10,244,5,24,109,32,299,242,243]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MoveLinesCommand=void 0;let s=class{constructor(n,t,r,u){this._languageConfigurationService=u,this._selection=n,this._isMovingDown=t,this._autoIndent=r,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(n,t){const r=n.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===r){this._selectionId=t.trackSelection(this._selection);return}if(!this._isMovingDown&&this._selection.startLineNumber===1){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let u=this._selection;u.startLineNumbern.tokenization.getLineTokens(a),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(a,g)=>n.getLanguageIdAtPosition(a,g)},getLineContent:null};if(u.startLineNumber===u.endLineNumber&&n.getLineMaxColumn(u.startLineNumber)===1){const a=u.startLineNumber,g=this._isMovingDown?a+1:a-1;n.getLineMaxColumn(g)===1?t.addEditOperation(new y.Range(1,1,1,1),null):(t.addEditOperation(new y.Range(a,1,a,1),n.getLineContent(g)),t.addEditOperation(new y.Range(g,1,g,n.getLineMaxColumn(g)),null)),u=new D.Selection(g,1,g,1)}else{let a,g;if(this._isMovingDown){a=u.endLineNumber+1,g=n.getLineContent(a),t.addEditOperation(new y.Range(a-1,n.getLineMaxColumn(a-1),a,n.getLineMaxColumn(a)),null);let h=g;if(this.shouldAutoIndent(n,u)){const p=this.matchEnterRule(n,o,f,a,u.startLineNumber-1);if(p!==null){const w=L.getLeadingWhitespace(n.getLineContent(a)),E=p+_.getSpaceCnt(w,f);h=_.generateIndent(E,f,l)+this.trimStart(g)}else{c.getLineContent=E=>E===u.startLineNumber?n.getLineContent(a):n.getLineContent(E);const w=(0,v.getGoodIndentForLine)(this._autoIndent,c,n.getLanguageIdAtPosition(a,1),u.startLineNumber,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(a)),k=_.getSpaceCnt(w,f),M=_.getSpaceCnt(E,f);k!==M&&(h=_.generateIndent(k,f,l)+this.trimStart(g))}}t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),h+` +`);const b=this.matchEnterRuleMovingDown(n,o,f,u.startLineNumber,a,h);if(b!==null)b!==0&&this.getIndentEditsOfMovingBlock(n,t,u,f,l,b);else{c.getLineContent=E=>E===u.startLineNumber?h:E>=u.startLineNumber+1&&E<=u.endLineNumber+1?n.getLineContent(E-1):n.getLineContent(E);const w=(0,v.getGoodIndentForLine)(this._autoIndent,c,n.getLanguageIdAtPosition(a,1),u.startLineNumber+1,o,this._languageConfigurationService);if(w!==null){const E=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),k=_.getSpaceCnt(w,f),M=_.getSpaceCnt(E,f);if(k!==M){const R=k-M;this.getIndentEditsOfMovingBlock(n,t,u,f,l,R)}}}}else t.addEditOperation(new y.Range(u.startLineNumber,1,u.startLineNumber,1),h+` +`)}else if(a=u.startLineNumber-1,g=n.getLineContent(a),t.addEditOperation(new y.Range(a,1,a+1,1),null),t.addEditOperation(new y.Range(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber),u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),` +`+g),this.shouldAutoIndent(n,u)){c.getLineContent=p=>p===a?n.getLineContent(u.startLineNumber):n.getLineContent(p);const h=this.matchEnterRule(n,o,f,u.startLineNumber,u.startLineNumber-2);if(h!==null)h!==0&&this.getIndentEditsOfMovingBlock(n,t,u,f,l,h);else{const p=(0,v.getGoodIndentForLine)(this._autoIndent,c,n.getLanguageIdAtPosition(u.startLineNumber,1),a,o,this._languageConfigurationService);if(p!==null){const b=L.getLeadingWhitespace(n.getLineContent(u.startLineNumber)),w=_.getSpaceCnt(p,f),E=_.getSpaceCnt(b,f);if(w!==E){const k=w-E;this.getIndentEditsOfMovingBlock(n,t,u,f,l,k)}}}}}this._selectionId=t.trackSelection(u)}buildIndentConverter(n,t,r){return{shiftIndent:u=>I.ShiftCommand.shiftIndent(u,u.length+1,n,t,r),unshiftIndent:u=>I.ShiftCommand.unshiftIndent(u,u.length+1,n,t,r)}}parseEnterResult(n,t,r,u,f){if(f){let d=f.indentation;f.indentAction===S.IndentAction.None||f.indentAction===S.IndentAction.Indent?d=f.indentation+f.appendText:f.indentAction===S.IndentAction.IndentOutdent?d=f.indentation:f.indentAction===S.IndentAction.Outdent&&(d=t.unshiftIndent(f.indentation)+f.appendText);const l=n.getLineContent(u);if(this.trimStart(l).indexOf(this.trimStart(d))>=0){const o=L.getLeadingWhitespace(n.getLineContent(u));let c=L.getLeadingWhitespace(d);const a=(0,v.getIndentMetadata)(n,u,this._languageConfigurationService);a!==null&&a&2&&(c=t.unshiftIndent(c));const g=_.getSpaceCnt(c,r),h=_.getSpaceCnt(o,r);return g-h}}return null}matchEnterRuleMovingDown(n,t,r,u,f,d){if(L.lastNonWhitespaceIndex(d)>=0){const l=n.getLineMaxColumn(f),o=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(f,l,f,l),this._languageConfigurationService);return this.parseEnterResult(n,t,r,u,o)}else{let l=u-1;for(;l>=1;){const a=n.getLineContent(l);if(L.lastNonWhitespaceIndex(a)>=0)break;l--}if(l<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(l),c=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(l,o,l,o),this._languageConfigurationService);return this.parseEnterResult(n,t,r,u,c)}}matchEnterRule(n,t,r,u,f,d){let l=f;for(;l>=1;){let a;if(l===f&&d!==void 0?a=d:a=n.getLineContent(l),L.lastNonWhitespaceIndex(a)>=0)break;l--}if(l<1||u>n.getLineCount())return null;const o=n.getLineMaxColumn(l),c=(0,C.getEnterAction)(this._autoIndent,n,new y.Range(l,o,l,o),this._languageConfigurationService);return this.parseEnterResult(n,t,r,u,c)}trimStart(n){return n.replace(/^\s+/,"")}shouldAutoIndent(n,t){if(this._autoIndent<4||!n.tokenization.isCheapToTokenize(t.startLineNumber))return!1;const r=n.getLanguageIdAtPosition(t.startLineNumber,1),u=n.getLanguageIdAtPosition(t.endLineNumber,1);return!(r!==u||this._languageConfigurationService.getLanguageConfiguration(r).indentRulesSupport===null)}getIndentEditsOfMovingBlock(n,t,r,u,f,d){for(let l=r.startLineNumber;l<=r.endLineNumber;l++){const o=n.getLineContent(l),c=L.getLeadingWhitespace(o),g=_.getSpaceCnt(c,u)+d,h=_.generateIndent(g,u,f);h!==c&&(t.addEditOperation(new y.Range(l,1,l,c.length+1),h),l===r.endLineNumber&&r.endColumn<=c.length+1&&h===""&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(n,t){let r=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(r=r.setEndPosition(r.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&r.startLineNumber{}};const o=new S.DisposableStore,c=o.add((0,L.renderMarkdown)(f,Object.assign(Object.assign({},this._getRenderOptions(f,o)),d),l));return c.element.classList.add("rendered-markdown"),{element:c.element,dispose:()=>o.dispose()}}_getRenderOptions(f,d){return{codeBlockRenderer:(l,o)=>be(this,void 0,void 0,function*(){var c,a,g;let h;l?h=this._languageService.getLanguageIdByLanguageName(l):this._options.editor&&(h=(c=this._options.editor.getModel())===null||c===void 0?void 0:c.getLanguageId()),h||(h=v.PLAINTEXT_LANGUAGE_ID);const p=yield(0,C.tokenizeToString)(this._languageService,o,h),b=document.createElement("span");if(b.innerHTML=(g=(a=i._ttpTokenizer)===null||a===void 0?void 0:a.createHTML(p))!==null&&g!==void 0?g:p,this._options.editor){const w=this._options.editor.getOption(50);(0,m.applyFontInfo)(b,w)}else this._options.codeBlockFontFamily&&(b.style.fontFamily=this._options.codeBlockFontFamily);return this._options.codeBlockFontSize!==void 0&&(b.style.fontSize=this._options.codeBlockFontSize),b}),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:l=>t(this._openerService,l,f.isTrusted),disposables:d}}}};e.MarkdownRenderer=n,n._ttpTokenizer=(0,I.createTrustedTypesPolicy)("tokenizeToString",{createHTML(u){return u}}),e.MarkdownRenderer=n=i=Ie([ge(1,_.ILanguageService),ge(2,s.IOpenerService)],n);function t(u,f,d){return be(this,void 0,void 0,function*(){try{return yield u.open(f,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:r(d)})}catch(l){return(0,y.onUnexpectedError)(l),!1}})}e.openLinkFromMarkdown=t;function r(u){return u===!0?!0:u&&Array.isArray(u.enabledCommands)?u.enabledCommands:!1}}),define(te[782],ie([1,0,7,13,57,2,116,325,315]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarginHoverWidget=void 0;const v=L.$;class C extends D.Disposable{constructor(n,t,r){super(),this._renderDisposeables=this._register(new D.DisposableStore),this._editor=n,this._isVisible=!1,this._messages=[],this._hover=this._register(new _.HoverWidget),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new S.MarkdownRenderer({editor:this._editor},t,r)),this._computer=new s(this._editor),this._hoverOperation=this._register(new m.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(u=>{this._withResult(u.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return C.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(n){this._computer.lineNumber!==n&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=n,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(n){this._messages=n,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(n,t){this._renderDisposeables.clear();const r=document.createDocumentFragment();for(const u of t){const f=v("div.hover-row.markdown-hover"),d=L.append(f,v("div.hover-contents")),l=this._renderDisposeables.add(this._markdownRenderer.render(u.value));d.appendChild(l.element),r.appendChild(f)}this._updateContents(r),this._showAt(n)}_updateContents(n){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(n),this._updateFont()}_showAt(n){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),r=this._editor.getTopForLineNumber(n),u=this._editor.getScrollTop(),f=this._editor.getOption(66),d=this._hover.containerDomNode.clientHeight,l=r-u-(d-f)/2;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(l),0)}px`}}e.MarginHoverWidget=C,C.ID="editor.contrib.modesGlyphHoverWidget";class s{get lineNumber(){return this._lineNumber}set lineNumber(n){this._lineNumber=n}constructor(n){this._editor=n,this._lineNumber=-1}computeSync(){const n=u=>({value:u}),t=this._editor.getLineDecorations(this._lineNumber),r=[];if(!t)return r;for(const u of t){if(!u.options.glyphMarginClassName)continue;const f=u.options.glyphMarginHoverMessage;!f||(0,y.isEmptyMarkdownString)(f)||r.push(...(0,I.asArray)(f).map(n))}return r}}}),define(te[348],ie([1,0,7,84,26,27,6,57,2,116,223,704,8]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestDetailsOverlay=e.SuggestDetailsWidget=e.canExpandCompletionItem=void 0;function n(u){return!!u&&!!(u.completion.documentation||u.completion.detail&&u.completion.detail!==u.completion.label)}e.canExpandCompletionItem=n;let t=class{constructor(f,d){this._editor=f,this._onDidClose=new S.Emitter,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new S.Emitter,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new _.DisposableStore,this._renderDisposeable=new _.DisposableStore,this._borderWidth=1,this._size=new L.Dimension(330,0),this.domNode=L.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=d.createInstance(v.MarkdownRenderer,{editor:f}),this._body=L.$(".body"),this._scrollbar=new I.DomScrollableElement(this._body,{alwaysConsumeMouseWheel:!0}),L.append(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=L.append(this._body,L.$(".header")),this._close=L.append(this._header,L.$("span"+D.ThemeIcon.asCSSSelector(y.Codicon.close))),this._close.title=s.localize(0,null),this._type=L.append(this._header,L.$("p.type")),this._docs=L.append(this._body,L.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(l=>{l.hasChanged(50)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const f=this._editor.getOptions(),d=f.get(50),l=d.getMassagedFontFamily(),o=f.get(118)||d.fontSize,c=f.get(119)||d.lineHeight,a=d.fontWeight,g=`${o}px`,h=`${c}px`;this.domNode.style.fontSize=g,this.domNode.style.lineHeight=`${c/o}`,this.domNode.style.fontWeight=a,this.domNode.style.fontFeatureSettings=d.fontFeatureSettings,this._type.style.fontFamily=l,this._close.style.height=h,this._close.style.width=h}getLayoutInfo(){const f=this._editor.getOption(119)||this._editor.getOption(50).lineHeight,d=this._borderWidth,l=d*2;return{lineHeight:f,borderWidth:d,borderHeight:l,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=s.localize(1,null),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,this.getLayoutInfo().lineHeight*2),this._onDidChangeContents.fire(this)}renderItem(f,d){var l,o;this._renderDisposeable.clear();let{detail:c,documentation:a}=f.completion;if(d){let g="";g+=`score: ${f.score[0]} +`,g+=`prefix: ${(l=f.word)!==null&&l!==void 0?l:"(no prefix)"} +`,g+=`word: ${f.completion.filterText?f.completion.filterText+" (filterText)":f.textLabel} +`,g+=`distance: ${f.distance} (localityBonus-setting) +`,g+=`index: ${f.idx}, based on ${f.completion.sortText&&`sortText: "${f.completion.sortText}"`||"label"} +`,g+=`commit_chars: ${(o=f.completion.commitCharacters)===null||o===void 0?void 0:o.join("")} +`,a=new m.MarkdownString().appendCodeblock("empty",g),c=`Provider: ${f.provider._debugDisplayName}`}if(!d&&!n(f)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),c){const g=c.length>1e5?`${c.substr(0,1e5)}\u2026`:c;this._type.textContent=g,this._type.title=g,L.show(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(g))}else L.clearNode(this._type),this._type.title="",L.hide(this._type),this.domNode.classList.add("no-type");if(L.clearNode(this._docs),typeof a=="string")this._docs.classList.remove("markdown-docs"),this._docs.textContent=a;else if(a){this._docs.classList.add("markdown-docs"),L.clearNode(this._docs);const g=this._markdownRenderer.render(a);this._docs.appendChild(g.element),this._renderDisposeable.add(g),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=g=>{g.preventDefault(),g.stopPropagation()},this._close.onclick=g=>{g.preventDefault(),g.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(f,d){const l=new L.Dimension(f,d);L.Dimension.equals(l,this._size)||(this._size=l,L.size(this.domNode,f,d)),this._scrollbar.scanDomNode()}scrollDown(f=8){this._body.scrollTop+=f}scrollUp(f=8){this._body.scrollTop-=f}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(f){this._borderWidth=f}get borderWidth(){return this._borderWidth}};e.SuggestDetailsWidget=t,e.SuggestDetailsWidget=t=Ie([ge(1,i.IInstantiationService)],t);class r{constructor(f,d){this.widget=f,this._editor=d,this._disposables=new _.DisposableStore,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new C.ResizableHTMLElement,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(f.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let l,o,c=0,a=0;this._disposables.add(this._resizable.onDidWillResize(()=>{l=this._topLeft,o=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(g=>{if(l&&o){this.widget.layout(g.dimension.width,g.dimension.height);let h=!1;g.west&&(a=o.width-g.dimension.width,h=!0),g.north&&(c=o.height-g.dimension.height,h=!0),h&&this._applyTopLeft({top:l.top+c,left:l.left+a})}g.done&&(l=void 0,o=void 0,c=0,a=0,this._userSize=g.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var g;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(g=this._userSize)!==null&&g!==void 0?g:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(f=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),f&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(f,d){var l;const o=f.getBoundingClientRect();this._anchorBox=o,this._preferAlignAtTop=d,this._placeAtAnchor(this._anchorBox,(l=this._userSize)!==null&&l!==void 0?l:this.widget.size,d)}_placeAtAnchor(f,d,l){var o;const c=L.getClientArea(this.getDomNode().ownerDocument.body),a=this.widget.getLayoutInfo(),g=new L.Dimension(220,2*a.lineHeight),h=f.top,p=function(){const A=c.width-(f.left+f.width+a.borderWidth+a.horizontalPadding),P=-a.borderWidth+f.left+f.width,O=new L.Dimension(A,c.height-f.top-a.borderHeight-a.verticalPadding),x=O.with(void 0,f.top+f.height-a.borderHeight-a.verticalPadding);return{top:h,left:P,fit:A-d.width,maxSizeTop:O,maxSizeBottom:x,minSize:g.with(Math.min(A,g.width))}}(),b=function(){const A=f.left-a.borderWidth-a.horizontalPadding,P=Math.max(a.horizontalPadding,f.left-d.width-a.borderWidth),O=new L.Dimension(A,c.height-f.top-a.borderHeight-a.verticalPadding),x=O.with(void 0,f.top+f.height-a.borderHeight-a.verticalPadding);return{top:h,left:P,fit:A-d.width,maxSizeTop:O,maxSizeBottom:x,minSize:g.with(Math.min(A,g.width))}}(),w=function(){const A=f.left,P=-a.borderWidth+f.top+f.height,O=new L.Dimension(f.width-a.borderHeight,c.height-f.top-f.height-a.verticalPadding);return{top:P,left:A,fit:O.height-d.height,maxSizeBottom:O,maxSizeTop:O,minSize:g.with(O.width)}}(),E=[p,b,w],k=(o=E.find(A=>A.fit>=0))!==null&&o!==void 0?o:E.sort((A,P)=>P.fit-A.fit)[0],M=f.top+f.height-a.borderHeight;let R,B=d.height;const T=Math.max(k.maxSizeTop.height,k.maxSizeBottom.height);B>T&&(B=T);let N;l?B<=k.maxSizeTop.height?(R=!0,N=k.maxSizeTop):(R=!1,N=k.maxSizeBottom):B<=k.maxSizeBottom.height?(R=!1,N=k.maxSizeBottom):(R=!0,N=k.maxSizeTop),this._applyTopLeft({left:k.left,top:R?k.top:M-B}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!R,k===p,R,k!==p),this._resizable.minSize=k.minSize,this._resizable.maxSize=N,this._resizable.layout(B,Math.min(N.width,d.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(f){this._topLeft=f,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}e.SuggestDetailsOverlay=r}),define(te[349],ie([1,0,13,56,52,20,21,28,95,35]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationChangeEvent=e.Configuration=e.ConfigurationModelParser=e.ConfigurationModel=void 0;function C(u){return Object.isFrozen(u)?u:y.deepFreeze(u)}class s{constructor(f={},d=[],l=[],o){this._contents=f,this._keys=d,this._overrides=l,this.raw=o,this.overrideConfigurations=new Map}get rawConfiguration(){var f;if(!this._rawConfiguration)if(!((f=this.raw)===null||f===void 0)&&f.length){const d=this.raw.map(l=>{if(l instanceof s)return l;const o=new i("");return o.parseRaw(l),o.configurationModel});this._rawConfiguration=d.reduce((l,o)=>o===l?o:l.merge(o),d[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(f){return f?(0,m.getConfigurationValue)(this.contents,f):this.contents}inspect(f,d){const l=this.rawConfiguration.getValue(f),o=d?this.rawConfiguration.getOverrideValue(f,d):void 0,c=d?this.rawConfiguration.override(d).getValue(f):l;return{value:l,override:o,merged:c}}getOverrideValue(f,d){const l=this.getContentsForOverrideIdentifer(d);return l?f?(0,m.getConfigurationValue)(l,f):l:void 0}override(f){let d=this.overrideConfigurations.get(f);return d||(d=this.createOverrideConfigurationModel(f),this.overrideConfigurations.set(f,d)),d}merge(...f){var d,l;const o=y.deepClone(this.contents),c=y.deepClone(this.overrides),a=[...this.keys],g=!((d=this.raw)===null||d===void 0)&&d.length?[...this.raw]:[this];for(const h of f)if(g.push(...!((l=h.raw)===null||l===void 0)&&l.length?h.raw:[h]),!h.isEmpty()){this.mergeContents(o,h.contents);for(const p of h.overrides){const[b]=c.filter(w=>L.equals(w.identifiers,p.identifiers));b?(this.mergeContents(b.contents,p.contents),b.keys.push(...p.keys),b.keys=L.distinct(b.keys)):c.push(y.deepClone(p))}for(const p of h.keys)a.indexOf(p)===-1&&a.push(p)}return new s(o,a,c,g.every(h=>h instanceof s)?void 0:g)}createOverrideConfigurationModel(f){const d=this.getContentsForOverrideIdentifer(f);if(!d||typeof d!="object"||!Object.keys(d).length)return this;const l={};for(const o of L.distinct([...Object.keys(this.contents),...Object.keys(d)])){let c=this.contents[o];const a=d[o];a&&(typeof c=="object"&&typeof a=="object"?(c=y.deepClone(c),this.mergeContents(c,a)):c=a),l[o]=c}return new s(l,this.keys,this.overrides)}mergeContents(f,d){for(const l of Object.keys(d)){if(l in f&&D.isObject(f[l])&&D.isObject(d[l])){this.mergeContents(f[l],d[l]);continue}f[l]=y.deepClone(d[l])}}getContentsForOverrideIdentifer(f){let d=null,l=null;const o=c=>{c&&(l?this.mergeContents(l,c):l=y.deepClone(c))};for(const c of this.overrides)c.identifiers.length===1&&c.identifiers[0]===f?d=c.contents:c.identifiers.includes(f)&&o(c.contents);return o(d),l}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(f,d){this.updateValue(f,d,!0)}setValue(f,d){this.updateValue(f,d,!1)}removeValue(f){const d=this.keys.indexOf(f);d!==-1&&(this.keys.splice(d,1),(0,m.removeFromValueTree)(this.contents,f),_.OVERRIDE_PROPERTY_REGEX.test(f)&&this.overrides.splice(this.overrides.findIndex(l=>L.equals(l.identifiers,(0,_.overrideIdentifiersFromKey)(f))),1))}updateValue(f,d,l){(0,m.addToValueTree)(this.contents,f,d,o=>console.error(o)),l=l||this.keys.indexOf(f)===-1,l&&this.keys.push(f),_.OVERRIDE_PROPERTY_REGEX.test(f)&&this.overrides.push({identifiers:(0,_.overrideIdentifiersFromKey)(f),keys:Object.keys(this.contents[f]),contents:(0,m.toValuesTree)(this.contents[f],o=>console.error(o))})}}e.ConfigurationModel=s;class i{constructor(f){this._name=f,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||new s}parseRaw(f,d){this._raw=f;const{contents:l,keys:o,overrides:c,restricted:a,hasExcludedProperties:g}=this.doParseRaw(f,d);this._configurationModel=new s(l,o,c,g?[f]:void 0),this._restrictedConfigurations=a||[]}doParseRaw(f,d){const l=v.Registry.as(_.Extensions.Configuration).getConfigurationProperties(),o=this.filter(f,l,!0,d);f=o.raw;const c=(0,m.toValuesTree)(f,h=>console.error(`Conflict in settings file ${this._name}: ${h}`)),a=Object.keys(f),g=this.toOverrides(f,h=>console.error(`Conflict in settings file ${this._name}: ${h}`));return{contents:c,keys:a,overrides:g,restricted:o.restricted,hasExcludedProperties:o.hasExcludedProperties}}filter(f,d,l,o){var c,a,g;let h=!1;if(!o?.scopes&&!o?.skipRestricted&&!(!((c=o?.exclude)===null||c===void 0)&&c.length))return{raw:f,restricted:[],hasExcludedProperties:h};const p={},b=[];for(const w in f)if(_.OVERRIDE_PROPERTY_REGEX.test(w)&&l){const E=this.filter(f[w],d,!1,o);p[w]=E.raw,h=h||E.hasExcludedProperties,b.push(...E.restricted)}else{const E=d[w],k=E?typeof E.scope<"u"?E.scope:3:void 0;E?.restricted&&b.push(w),!(!((a=o.exclude)===null||a===void 0)&&a.includes(w))&&(!((g=o.include)===null||g===void 0)&&g.includes(w)||(k===void 0||o.scopes===void 0||o.scopes.includes(k))&&!(o.skipRestricted&&E?.restricted))?p[w]=f[w]:h=!0}return{raw:p,restricted:b,hasExcludedProperties:h}}toOverrides(f,d){const l=[];for(const o of Object.keys(f))if(_.OVERRIDE_PROPERTY_REGEX.test(o)){const c={};for(const a in f[o])c[a]=f[o][a];l.push({identifiers:(0,_.overrideIdentifiersFromKey)(o),keys:Object.keys(c),contents:(0,m.toValuesTree)(c,d)})}return l}}e.ConfigurationModelParser=i;class n{constructor(f,d,l,o,c,a,g,h,p,b,w,E,k){this.key=f,this.overrides=d,this._value=l,this.overrideIdentifiers=o,this.defaultConfiguration=c,this.policyConfiguration=a,this.applicationConfiguration=g,this.userConfiguration=h,this.localUserConfiguration=p,this.remoteUserConfiguration=b,this.workspaceConfiguration=w,this.folderConfigurationModel=E,this.memoryConfigurationModel=k}inspect(f,d,l){const o=f.inspect(d,l);return{get value(){return C(o.value)},get override(){return C(o.override)},get merged(){return C(o.merged)}}}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.inspect(this.userConfiguration,this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.userInspectValue.value!==void 0||this.userInspectValue.override!==void 0?{value:this.userInspectValue.value,override:this.userInspectValue.override}:void 0}}class t{constructor(f,d,l,o,c=new s,a=new s,g=new I.ResourceMap,h=new s,p=new I.ResourceMap){this._defaultConfiguration=f,this._policyConfiguration=d,this._applicationConfiguration=l,this._localUserConfiguration=o,this._remoteUserConfiguration=c,this._workspaceConfiguration=a,this._folderConfigurations=g,this._memoryConfiguration=h,this._memoryConfigurationByResource=p,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new I.ResourceMap,this._userConfiguration=null}getValue(f,d,l){return this.getConsolidatedConfigurationModel(f,d,l).getValue(f)}updateValue(f,d,l={}){let o;l.resource?(o=this._memoryConfigurationByResource.get(l.resource),o||(o=new s,this._memoryConfigurationByResource.set(l.resource,o))):o=this._memoryConfiguration,d===void 0?o.removeValue(f):o.setValue(f,d),l.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(f,d,l){const o=this.getConsolidatedConfigurationModel(f,d,l),c=this.getFolderConfigurationModelForResource(d.resource,l),a=d.resource?this._memoryConfigurationByResource.get(d.resource)||this._memoryConfiguration:this._memoryConfiguration,g=new Set;for(const h of o.overrides)for(const p of h.identifiers)o.getOverrideValue(f,p)!==void 0&&g.add(p);return new n(f,d,o.getValue(f),g.size?[...g]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,l?this._workspaceConfiguration:void 0,c||void 0,a)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(f,d,l){let o=this.getConsolidatedConfigurationModelForResource(d,l);return d.overrideIdentifier&&(o=o.override(d.overrideIdentifier)),!this._policyConfiguration.isEmpty()&&this._policyConfiguration.getValue(f)!==void 0&&(o=o.merge(this._policyConfiguration)),o}getConsolidatedConfigurationModelForResource({resource:f},d){let l=this.getWorkspaceConsolidatedConfiguration();if(d&&f){const o=d.getFolder(f);o&&(l=this.getFolderConsolidatedConfiguration(o.uri)||l);const c=this._memoryConfigurationByResource.get(f);c&&(l=l.merge(c))}return l}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(f){let d=this._foldersConsolidatedConfigurations.get(f);if(!d){const l=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(f);o?(d=l.merge(o),this._foldersConsolidatedConfigurations.set(f,d)):d=l}return d}getFolderConfigurationModelForResource(f,d){if(d&&f){const l=d.getFolder(f);if(l)return this._folderConfigurations.get(l.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((f,d)=>{const{contents:l,overrides:o,keys:c}=this._folderConfigurations.get(d);return f.push([d,{contents:l,overrides:o,keys:c}]),f},[])}}static parse(f){const d=this.parseConfigurationModel(f.defaults),l=this.parseConfigurationModel(f.policy),o=this.parseConfigurationModel(f.application),c=this.parseConfigurationModel(f.user),a=this.parseConfigurationModel(f.workspace),g=f.folders.reduce((h,p)=>(h.set(S.URI.revive(p[0]),this.parseConfigurationModel(p[1])),h),new I.ResourceMap);return new t(d,l,o,c,new s,a,g,new s,new I.ResourceMap)}static parseConfigurationModel(f){return new s(f.contents,f.keys,f.overrides)}}e.Configuration=t;class r{constructor(f,d,l,o){this.change=f,this.previous=d,this.currentConfiguraiton=l,this.currentWorkspace=o,this._marker=` +`,this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=".".charCodeAt(0),this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const c of f.keys)this.affectedKeys.add(c);for(const[,c]of f.overrides)for(const a of c)this.affectedKeys.add(a);this._affectsConfigStr=this._marker;for(const c of this.affectedKeys)this._affectsConfigStr+=c+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=t.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(f,d){var l;const o=this._marker+f,c=this._affectsConfigStr.indexOf(o);if(c<0)return!1;const a=c+o.length;if(a>=this._affectsConfigStr.length)return!1;const g=this._affectsConfigStr.charCodeAt(a);if(g!==this._markerCode1&&g!==this._markerCode2)return!1;if(d){const h=this.previousConfiguration?this.previousConfiguration.getValue(f,d,(l=this.previous)===null||l===void 0?void 0:l.workspace):void 0,p=this.currentConfiguraiton.getValue(f,d,this.currentWorkspace);return!y.equals(h,p)}return!0}}e.ConfigurationChangeEvent=r}),define(te[783],ie([1,0,2,349,95,35]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultConfiguration=void 0;class S extends L.Disposable{constructor(){super(...arguments),this._configurationModel=new I.ConfigurationModel}get configurationModel(){return this._configurationModel}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=new I.ConfigurationModel;const _=D.Registry.as(y.Extensions.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(_),_)}updateConfigurationModel(_,v){const C=this.getConfigurationDefaultOverrides();for(const s of _){const i=C[s],n=v[s];i!==void 0?this._configurationModel.addValue(s,i):n?this._configurationModel.addValue(s,n.default):this._configurationModel.removeValue(s)}}}e.DefaultConfiguration=S}),define(te[117],ie([1,0,118,17,25,35,2,63]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Extensions=e.KeybindingsRegistry=void 0;class _{constructor(){this._coreKeybindings=new m.LinkedList,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(s){if(I.OS===1){if(s&&s.win)return s.win}else if(I.OS===2){if(s&&s.mac)return s.mac}else if(s&&s.linux)return s.linux;return s}registerKeybindingRule(s){const i=_.bindToCurrentPlatform(s),n=new S.DisposableStore;if(i&&i.primary){const t=(0,L.decodeKeybinding)(i.primary,I.OS);t&&n.add(this._registerDefaultKeybinding(t,s.id,s.args,s.weight,0,s.when))}if(i&&Array.isArray(i.secondary))for(let t=0,r=i.secondary.length;t{f(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(v)),this._cachedMergedKeybindings.slice(0)}}e.KeybindingsRegistry=new _,e.Extensions={EditorModes:"platform.keybindingsRegistry"},D.Registry.add(e.Extensions.EditorModes,e.KeybindingsRegistry);function v(C,s){if(C.weight1!==s.weight1)return C.weight1-s.weight1;if(C.command&&s.command){if(C.commands.command)return 1}return C.weight2-s.weight2}});var vi=this&&this.__rest||function($,e){var L={};for(var I in $)Object.prototype.hasOwnProperty.call($,I)&&e.indexOf(I)<0&&(L[I]=$[I]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,I=Object.getOwnPropertySymbols($);ya===c}}r._all=new Map,e.MenuRegistry=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new y.MicrotaskEmitter({merge:r.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(o){return this._commands.set(o.id,o),this._onDidChangeMenu.fire(r.for(t.CommandPalette)),(0,D.toDisposable)(()=>{this._commands.delete(o.id)&&this._onDidChangeMenu.fire(r.for(t.CommandPalette))})}getCommand(o){return this._commands.get(o)}getCommands(){const o=new Map;return this._commands.forEach((c,a)=>o.set(a,c)),o}appendMenuItem(o,c){let a=this._menuItems.get(o);a||(a=new S.LinkedList,this._menuItems.set(o,a));const g=a.push(c);return this._onDidChangeMenu.fire(r.for(o)),(0,D.toDisposable)(()=>{g(),this._onDidChangeMenu.fire(r.for(o))})}appendMenuItems(o){const c=new D.DisposableStore;for(const{id:a,item:g}of o)c.add(this.appendMenuItem(a,g));return c}getMenuItems(o){let c;return this._menuItems.has(o)?c=[...this._menuItems.get(o)]:c=[],o===t.CommandPalette&&this._appendImplicitItems(c),c}_appendImplicitItems(o){const c=new Set;for(const a of o)i(a)&&(c.add(a.command.id),a.alt&&c.add(a.alt.id));this._commands.forEach((a,g)=>{c.has(g)||o.push({command:a})})}};class u extends L.SubmenuAction{constructor(c,a,g){super(`submenuitem.${c.submenu.id}`,typeof c.title=="string"?c.title:c.title.value,g,"submenu"),this.item=c,this.hideActions=a}}e.SubmenuItemAction=u;let f=s=class{static label(c,a){return a?.renderShortTitle&&c.shortTitle?typeof c.shortTitle=="string"?c.shortTitle:c.shortTitle.value:typeof c.title=="string"?c.title:c.title.value}constructor(c,a,g,h,p,b){var w,E;this.hideActions=h,this._commandService=b,this.id=c.id,this.label=s.label(c,g),this.tooltip=(E=typeof c.tooltip=="string"?c.tooltip:(w=c.tooltip)===null||w===void 0?void 0:w.value)!==null&&E!==void 0?E:"",this.enabled=!c.precondition||p.contextMatchesRules(c.precondition),this.checked=void 0;let k;if(c.toggled){const M=c.toggled.condition?c.toggled:{condition:c.toggled};this.checked=p.contextMatchesRules(M.condition),this.checked&&M.tooltip&&(this.tooltip=typeof M.tooltip=="string"?M.tooltip:M.tooltip.value),this.checked&&I.ThemeIcon.isThemeIcon(M.icon)&&(k=M.icon),this.checked&&M.title&&(this.label=typeof M.title=="string"?M.title:M.title.value)}k||(k=I.ThemeIcon.isThemeIcon(c.icon)?c.icon:void 0),this.item=c,this.alt=a?new s(a,void 0,g,h,p,b):void 0,this._options=g,this.class=k&&I.ThemeIcon.asClassName(k)}run(...c){var a,g;let h=[];return!((a=this._options)===null||a===void 0)&&a.arg&&(h=[...h,this._options.arg]),!((g=this._options)===null||g===void 0)&&g.shouldForwardArgs&&(h=[...h,...c]),this._commandService.executeCommand(this.id,...h)}};e.MenuItemAction=f,e.MenuItemAction=f=s=Ie([ge(4,_.IContextKeyService),ge(5,m.ICommandService)],f);class d{constructor(c){this.desc=c}}e.Action2=d;function l(o){const c=new D.DisposableStore,a=new o,g=a.desc,{f1:h,menu:p,keybinding:b,description:w}=g,E=vi(g,["f1","menu","keybinding","description"]);if(c.add(m.CommandsRegistry.registerCommand({id:E.id,handler:(k,...M)=>a.run(k,...M),description:w})),Array.isArray(p))for(const k of p)c.add(e.MenuRegistry.appendMenuItem(k.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:k.precondition===null?void 0:E.precondition})},k)));else p&&c.add(e.MenuRegistry.appendMenuItem(p.id,Object.assign({command:Object.assign(Object.assign({},E),{precondition:p.precondition===null?void 0:E.precondition})},p)));if(h&&(c.add(e.MenuRegistry.appendMenuItem(t.CommandPalette,{command:E,when:E.precondition})),c.add(e.MenuRegistry.addCommand(E))),Array.isArray(b))for(const k of b)c.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},k),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,k.when):k.when})));else b&&c.add(C.KeybindingsRegistry.registerKeybindingRule(Object.assign(Object.assign({},b),{id:E.id,when:E.precondition?_.ContextKeyExpr.and(E.precondition,b.when):b.when})));return c}e.registerAction2=l}),define(te[784],ie([1,0,45,200,708,30]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleTabFocusModeAction=void 0;class S extends D.Action2{constructor(){super({id:S.ID,title:{value:y.localize(0,null),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(){const v=!I.TabFocus.getTabFocusMode();I.TabFocus.setTabFocusMode(v),v?(0,L.alert)(y.localize(1,null)):(0,L.alert)(y.localize(2,null))}}e.ToggleTabFocusModeAction=S,S.ID="editor.action.toggleTabFocusMode",(0,D.registerAction2)(S)}),define(te[350],ie([1,0,228,585,15,117,727,2]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextScopedReplaceInput=e.ContextScopedFindInput=e.registerAndCreateHistoryNavigationContext=e.historyNavigationVisible=void 0,e.historyNavigationVisible=new y.RawContextKey("suggestWidgetVisible",!1,(0,S.localize)(0,null));const _="historyNavigationWidgetFocus",v="historyNavigationForwardsEnabled",C="historyNavigationBackwardsEnabled";let s;const i=[];function n(u,f){if(i.includes(f))throw new Error("Cannot register the same widget multiple times");i.push(f);const d=new m.DisposableStore,l=new y.RawContextKey(_,!1).bindTo(u),o=new y.RawContextKey(v,!0).bindTo(u),c=new y.RawContextKey(C,!0).bindTo(u),a=()=>{l.set(!0),s=f},g=()=>{l.set(!1),s===f&&(s=void 0)};return f.element===document.activeElement&&a(),d.add(f.onDidFocus(()=>a())),d.add(f.onDidBlur(()=>g())),d.add((0,m.toDisposable)(()=>{i.splice(i.indexOf(f),1),g()})),{historyNavigationForwardsEnablement:o,historyNavigationBackwardsEnablement:c,dispose(){d.dispose()}}}e.registerAndCreateHistoryNavigationContext=n;let t=class extends L.FindInput{constructor(f,d,l,o){super(f,d,l);const c=this._register(o.createScoped(this.inputBox.element));this._register(n(c,this.inputBox))}};e.ContextScopedFindInput=t,e.ContextScopedFindInput=t=Ie([ge(3,y.IContextKeyService)],t);let r=class extends I.ReplaceInput{constructor(f,d,l,o,c=!1){super(f,d,c,l);const a=this._register(o.createScoped(this.inputBox.element));this._register(n(a,this.inputBox))}};e.ContextScopedReplaceInput=r,e.ContextScopedReplaceInput=r=Ie([ge(3,y.IContextKeyService)],r),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(C,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:16,secondary:[528],handler:u=>{s?.showPreviousValue()}}),D.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:y.ContextKeyExpr.and(y.ContextKeyExpr.has(_),y.ContextKeyExpr.equals(v,!0),y.ContextKeyExpr.not("isComposing"),e.historyNavigationVisible.isEqualTo(!1)),primary:18,secondary:[530],handler:u=>{s?.showNextValue()}})}),define(te[133],ie([1,0,19,9,69,2,59,20,21,12,5,65,127,701,30,25,15,18,350]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickSuggestionsOptions=e.showSimpleSuggestions=e.getSuggestionComparator=e.provideSuggestionItems=e.CompletionItemModel=e.getSnippetSuggestSupport=e.CompletionOptions=e.CompletionItem=e.suggestWidgetStatusbarMenu=e.Context=void 0,e.Context={Visible:d.historyNavigationVisible,HasFocusedSuggestion:new u.RawContextKey("suggestWidgetHasFocusedSuggestion",!1,(0,n.localize)(0,null)),DetailsVisible:new u.RawContextKey("suggestWidgetDetailsVisible",!1,(0,n.localize)(1,null)),MultipleSuggestions:new u.RawContextKey("suggestWidgetMultipleSuggestions",!1,(0,n.localize)(2,null)),MakesTextEdit:new u.RawContextKey("suggestionMakesTextEdit",!0,(0,n.localize)(3,null)),AcceptSuggestionsOnEnter:new u.RawContextKey("acceptSuggestionOnEnter",!0,(0,n.localize)(4,null)),HasInsertAndReplaceRange:new u.RawContextKey("suggestionHasInsertAndReplaceRange",!1,(0,n.localize)(5,null)),InsertMode:new u.RawContextKey("suggestionInsertMode",void 0,{type:"string",description:(0,n.localize)(6,null)}),CanResolve:new u.RawContextKey("suggestionCanResolve",!1,(0,n.localize)(7,null))},e.suggestWidgetStatusbarMenu=new t.MenuId("suggestWidgetStatusBar");class l{constructor(T,N,A,P){var O;this.position=T,this.completion=N,this.container=A,this.provider=P,this.isInvalid=!1,this.score=y.FuzzyScore.Default,this.distance=0,this.textLabel=typeof N.label=="string"?N.label:(O=N.label)===null||O===void 0?void 0:O.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=N.sortText&&N.sortText.toLowerCase(),this.filterTextLow=N.filterText&&N.filterText.toLowerCase(),this.extensionId=N.extensionId,C.Range.isIRange(N.range)?(this.editStart=new v.Position(N.range.startLineNumber,N.range.startColumn),this.editInsertEnd=new v.Position(N.range.endLineNumber,N.range.endColumn),this.editReplaceEnd=new v.Position(N.range.endLineNumber,N.range.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(N.range)||N.range.startLineNumber!==T.lineNumber):(this.editStart=new v.Position(N.range.insert.startLineNumber,N.range.insert.startColumn),this.editInsertEnd=new v.Position(N.range.insert.endLineNumber,N.range.insert.endColumn),this.editReplaceEnd=new v.Position(N.range.replace.endLineNumber,N.range.replace.endColumn),this.isInvalid=this.isInvalid||C.Range.spansMultipleLines(N.range.insert)||C.Range.spansMultipleLines(N.range.replace)||N.range.insert.startLineNumber!==T.lineNumber||N.range.replace.startLineNumber!==T.lineNumber||N.range.insert.startColumn!==N.range.replace.startColumn),typeof P.resolveCompletionItem!="function"&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return this._resolveDuration!==void 0}get resolveDuration(){return this._resolveDuration!==void 0?this._resolveDuration:-1}resolve(T){return be(this,void 0,void 0,function*(){if(!this._resolveCache){const N=T.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),A=new S.StopWatch(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,T)).then(P=>{Object.assign(this.completion,P),this._resolveDuration=A.elapsed()},P=>{(0,I.isCancellationError)(P)&&(this._resolveCache=void 0,this._resolveDuration=void 0)}).finally(()=>{N.dispose()})}return this._resolveCache})}}e.CompletionItem=l;class o{constructor(T=2,N=new Set,A=new Set,P=new Map,O=!0){this.snippetSortOrder=T,this.kindFilter=N,this.providerFilter=A,this.providerItemsToReuse=P,this.showDeprecated=O}}e.CompletionOptions=o,o.default=new o;let c;function a(){return c}e.getSnippetSuggestSupport=a;class g{constructor(T,N,A,P){this.items=T,this.needsClipboard=N,this.durations=A,this.disposable=P}}e.CompletionItemModel=g;function h(B,T,N,A=o.default,P={triggerKind:0},O=L.CancellationToken.None){return be(this,void 0,void 0,function*(){const x=new S.StopWatch;N=N.clone();const W=T.getWordAtPosition(N),U=W?new C.Range(N.lineNumber,W.startColumn,N.lineNumber,W.endColumn):C.Range.fromPositions(N),F={replace:U,insert:U.setEndPosition(N.lineNumber,N.column)},G=[],Y=new D.DisposableStore,ne=[];let se=!1;const J=(H,V,Z)=>{var ee,le,ue;let de=!1;if(!V)return de;for(const ce of V.suggestions)if(!A.kindFilter.has(ce.kind)){if(!A.showDeprecated&&(!((ee=ce?.tags)===null||ee===void 0)&&ee.includes(1)))continue;ce.range||(ce.range=F),ce.sortText||(ce.sortText=typeof ce.label=="string"?ce.label:ce.label.label),!se&&ce.insertTextRules&&ce.insertTextRules&4&&(se=i.SnippetParser.guessNeedsClipboard(ce.insertText)),G.push(new l(N,ce,V,H)),de=!0}return(0,D.isDisposable)(V)&&Y.add(V),ne.push({providerName:(le=H._debugDisplayName)!==null&&le!==void 0?le:"unknown_provider",elapsedProvider:(ue=V.duration)!==null&&ue!==void 0?ue:-1,elapsedOverall:Z.elapsed()}),de},q=(()=>be(this,void 0,void 0,function*(){if(!c||A.kindFilter.has(27))return;const H=A.providerItemsToReuse.get(c);if(H){H.forEach(ee=>G.push(ee));return}if(A.providerFilter.size>0&&!A.providerFilter.has(c))return;const V=new S.StopWatch,Z=yield c.provideCompletionItems(T,N,P,O);J(c,Z,V)}))();for(const H of B.orderedGroups(T)){let V=!1;if(yield Promise.all(H.map(Z=>be(this,void 0,void 0,function*(){if(A.providerItemsToReuse.has(Z)){const ee=A.providerItemsToReuse.get(Z);ee.forEach(le=>G.push(le)),V=V||ee.length>0;return}if(!(A.providerFilter.size>0&&!A.providerFilter.has(Z)))try{const ee=new S.StopWatch,le=yield Z.provideCompletionItems(T,N,P,O);V=J(Z,le,ee)||V}catch(ee){(0,I.onUnexpectedExternalError)(ee)}}))),V||O.isCancellationRequested)break}return yield q,O.isCancellationRequested?(Y.dispose(),Promise.reject(new I.CancellationError)):new g(G.sort(k(A.snippetSortOrder)),se,{entries:ne,elapsed:x.elapsed()},Y)})}e.provideSuggestionItems=h;function p(B,T){if(B.sortTextLow&&T.sortTextLow){if(B.sortTextLowT.sortTextLow)return 1}return B.textLabelT.textLabel?1:B.completion.kind-T.completion.kind}function b(B,T){if(B.completion.kind!==T.completion.kind){if(B.completion.kind===27)return-1;if(T.completion.kind===27)return 1}return p(B,T)}function w(B,T){if(B.completion.kind!==T.completion.kind){if(B.completion.kind===27)return 1;if(T.completion.kind===27)return-1}return p(B,T)}const E=new Map;E.set(0,b),E.set(2,w),E.set(1,p);function k(B){return E.get(B)}e.getSuggestionComparator=k,r.CommandsRegistry.registerCommand("_executeCompletionItemProvider",(B,...T)=>be(void 0,void 0,void 0,function*(){const[N,A,P,O]=T;(0,m.assertType)(_.URI.isUri(N)),(0,m.assertType)(v.Position.isIPosition(A)),(0,m.assertType)(typeof P=="string"||!P),(0,m.assertType)(typeof O=="number"||!O);const{completionProvider:x}=B.get(f.ILanguageFeaturesService),W=yield B.get(s.ITextModelService).createModelReference(N);try{const U={incomplete:!1,suggestions:[]},F=[],G=W.object.textEditorModel.validatePosition(A),Y=yield h(x,W.object.textEditorModel,G,void 0,{triggerCharacter:P??void 0,triggerKind:P?1:0});for(const ne of Y.items)F.length<(O??0)&&F.push(ne.resolve(L.CancellationToken.None)),U.incomplete=U.incomplete||ne.container.incomplete,U.suggestions.push(ne.completion);try{return yield Promise.all(F),U}finally{setTimeout(()=>Y.disposable.dispose(),100)}}finally{W.dispose()}}));function M(B,T){var N;(N=B.getContribution("editor.contrib.suggestController"))===null||N===void 0||N.triggerSuggest(new Set().add(T),void 0,!0)}e.showSimpleSuggestions=M;class R{static isAllOff(T){return T.other==="off"&&T.comments==="off"&&T.strings==="off"}static isAllOn(T){return T.other==="on"&&T.comments==="on"&&T.strings==="on"}static valueFor(T,N){switch(N){case 1:return T.comments;case 2:return T.strings;default:return T.other}}}e.QuickSuggestionsOptions=R}),define(te[134],ie([1,0,13,2,35]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessRegistry=e.Extensions=e.DefaultQuickAccessFilterValue=void 0;var D;(function(m){m[m.PRESERVE=0]="PRESERVE",m[m.LAST=1]="LAST"})(D||(e.DefaultQuickAccessFilterValue=D={})),e.Extensions={Quickaccess:"workbench.contributions.quickaccess"};class S{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(_){return _.prefix.length===0?this.defaultProvider=_:this.providers.push(_),this.providers.sort((v,C)=>C.prefix.length-v.prefix.length),(0,I.toDisposable)(()=>{this.providers.splice(this.providers.indexOf(_),1),this.defaultProvider===_&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,L.coalesce)([this.defaultProvider,...this.providers])}getQuickAccessProvider(_){return _&&this.providers.find(C=>_.startsWith(C.prefix))||void 0||this.defaultProvider}}e.QuickAccessRegistry=S,y.Registry.add(e.Extensions.Quickaccess,new S)}),define(te[785],ie([1,0,732,35,2,34,134,67]),function($,e,L,I,y,D,S,m){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.HelpQuickAccessProvider=void 0;let v=_=class{constructor(s,i){this.quickInputService=s,this.keybindingService=i,this.registry=I.Registry.as(S.Extensions.Quickaccess)}provide(s){const i=new y.DisposableStore;return i.add(s.onDidAccept(()=>{const[n]=s.selectedItems;n&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})),i.add(s.onDidChangeValue(n=>{const t=this.registry.getQuickAccessProvider(n.substr(_.PREFIX.length));t&&t.prefix&&t.prefix!==_.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),s.items=this.getQuickAccessProviders().filter(n=>n.prefix!==_.PREFIX),i}getQuickAccessProviders(){return this.registry.getQuickAccessProviders().sort((i,n)=>i.prefix.localeCompare(n.prefix)).flatMap(i=>this.createPicks(i))}createPicks(s){return s.helpEntries.map(i=>{const n=i.prefix||s.prefix,t=n||"\u2026";return{prefix:n,label:t,keybinding:i.commandId?this.keybindingService.lookupKeybinding(i.commandId):void 0,ariaLabel:(0,L.localize)(0,null,t,i.description),description:i.description}})}};e.HelpQuickAccessProvider=v,v.PREFIX="?",e.HelpQuickAccessProvider=v=_=Ie([ge(0,m.IQuickInputService),ge(1,D.IKeybindingService)],v)}),define(te[786],ie([1,0,35,134,93,785]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),L.Registry.as(I.Extensions.Quickaccess).registerQuickAccessProvider({ctor:D.HelpQuickAccessProvider,prefix:"",helpEntries:[{description:y.QuickHelpNLS.helpQuickAccessActionLabel}]})}),define(te[787],ie([1,0,14,19,6,2,8,134,67,35]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickAccessController=void 0;let C=class extends D.Disposable{constructor(i,n){super(),this.quickInputService=i,this.instantiationService=n,this.registry=v.Registry.as(m.Extensions.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(i="",n){this.doShowOrPick(i,!1,n)}doShowOrPick(i,n,t){var r;const[u,f]=this.getOrInstantiateProvider(i),d=this.visibleQuickAccess,l=d?.descriptor;if(d&&f&&l===f){i!==f.prefix&&!t?.preserveValue&&(d.picker.value=i),this.adjustValueSelection(d.picker,f,t);return}if(f&&!t?.preserveValue){let h;if(d&&l&&l!==f){const p=d.value.substr(l.prefix.length);p&&(h=`${f.prefix}${p}`)}if(!h){const p=u?.defaultFilterValue;p===m.DefaultQuickAccessFilterValue.LAST?h=this.lastAcceptedPickerValues.get(f):typeof p=="string"&&(h=`${f.prefix}${p}`)}typeof h=="string"&&(i=h)}const o=new D.DisposableStore,c=o.add(this.quickInputService.createQuickPick());c.value=i,this.adjustValueSelection(c,f,t),c.placeholder=f?.placeholder,c.quickNavigate=t?.quickNavigateConfiguration,c.hideInput=!!c.quickNavigate&&!d,(typeof t?.itemActivation=="number"||t?.quickNavigateConfiguration)&&(c.itemActivation=(r=t?.itemActivation)!==null&&r!==void 0?r:_.ItemActivation.SECOND),c.contextKey=f?.contextKey,c.filterValue=h=>h.substring(f?f.prefix.length:0);let a;n&&(a=new L.DeferredPromise,o.add(y.Event.once(c.onWillAccept)(h=>{h.veto(),c.hide()}))),o.add(this.registerPickerListeners(c,u,f,i,t?.providerOptions));const g=o.add(new I.CancellationTokenSource);if(u&&o.add(u.provide(c,g.token,t?.providerOptions)),y.Event.once(c.onDidHide)(()=>{c.selectedItems.length===0&&g.cancel(),o.dispose(),a?.complete(c.selectedItems.slice(0))}),c.show(),n)return a?.p}adjustValueSelection(i,n,t){var r;let u;t?.preserveValue?u=[i.value.length,i.value.length]:u=[(r=n?.prefix.length)!==null&&r!==void 0?r:0,i.value.length],i.valueSelection=u}registerPickerListeners(i,n,t,r,u){const f=new D.DisposableStore,d=this.visibleQuickAccess={picker:i,descriptor:t,value:r};return f.add((0,D.toDisposable)(()=>{d===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),f.add(i.onDidChangeValue(l=>{const[o]=this.getOrInstantiateProvider(l);o!==n?this.show(l,{preserveValue:!0,providerOptions:u}):d.value=l})),t&&f.add(i.onDidAccept(()=>{this.lastAcceptedPickerValues.set(t,i.value)})),f}getOrInstantiateProvider(i){const n=this.registry.getQuickAccessProvider(i);if(!n)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(n);return t||(t=this.instantiationService.createInstance(n.ctor),this.mapProviderToDescriptor.set(n,t)),[t,n]}};e.QuickAccessController=C,e.QuickAccessController=C=Ie([ge(0,_.IQuickInputService),ge(1,S.IInstantiationService)],C)}),define(te[788],ie([1,0,26,27,98,478]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SeverityIcon=void 0;var D;(function(S){function m(_){switch(_){case y.default.Ignore:return"severity-ignore "+I.ThemeIcon.asClassName(L.Codicon.info);case y.default.Info:return I.ThemeIcon.asClassName(L.Codicon.info);case y.default.Warning:return I.ThemeIcon.asClassName(L.Codicon.warning);case y.default.Error:return I.ThemeIcon.asClassName(L.Codicon.error);default:return""}}S.className=m})(D||(e.SeverityIcon=D={}))}),define(te[89],ie([1,0,6,2,20,591,8]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageService=e.AbstractStorageService=e.loadKeyTargets=e.WillSaveStateReason=e.IStorageService=e.TARGET_KEY=void 0,e.TARGET_KEY="__$__targetStorageMarker",e.IStorageService=(0,S.createDecorator)("storageService");var m;(function(s){s[s.NONE=0]="NONE",s[s.SHUTDOWN=1]="SHUTDOWN"})(m||(e.WillSaveStateReason=m={}));function _(s){const i=s.get(e.TARGET_KEY);if(i)try{return JSON.parse(i)}catch{}return Object.create(null)}e.loadKeyTargets=_;class v extends I.Disposable{constructor(i={flushInterval:v.DEFAULT_FLUSH_INTERVAL}){super(),this.options=i,this._onDidChangeValue=this._register(new L.PauseableEmitter),this._onDidChangeTarget=this._register(new L.PauseableEmitter),this._onWillSaveState=this._register(new L.Emitter),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(i,n,t){return L.Event.filter(this._onDidChangeValue.event,r=>r.scope===i&&(n===void 0||r.key===n),t)}emitDidChangeValue(i,n){const{key:t,external:r}=n;if(t===e.TARGET_KEY){switch(i){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0;break}this._onDidChangeTarget.fire({scope:i})}else this._onDidChangeValue.fire({scope:i,key:t,target:this.getKeyTargets(i)[t],external:r})}get(i,n,t){var r;return(r=this.getStorage(n))===null||r===void 0?void 0:r.get(i,t)}getBoolean(i,n,t){var r;return(r=this.getStorage(n))===null||r===void 0?void 0:r.getBoolean(i,t)}getNumber(i,n,t){var r;return(r=this.getStorage(n))===null||r===void 0?void 0:r.getNumber(i,t)}store(i,n,t,r,u=!1){if((0,y.isUndefinedOrNull)(n)){this.remove(i,t,u);return}this.withPausedEmitters(()=>{var f;this.updateKeyTarget(i,t,r),(f=this.getStorage(t))===null||f===void 0||f.set(i,n,u)})}remove(i,n,t=!1){this.withPausedEmitters(()=>{var r;this.updateKeyTarget(i,n,void 0),(r=this.getStorage(n))===null||r===void 0||r.delete(i,t)})}withPausedEmitters(i){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{i()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(i,n,t,r=!1){var u,f;const d=this.getKeyTargets(n);typeof t=="number"?d[i]!==t&&(d[i]=t,(u=this.getStorage(n))===null||u===void 0||u.set(e.TARGET_KEY,JSON.stringify(d),r)):typeof d[i]=="number"&&(delete d[i],(f=this.getStorage(n))===null||f===void 0||f.set(e.TARGET_KEY,JSON.stringify(d),r))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(i){switch(i){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(i){const n=this.getStorage(i);return n?_(n):Object.create(null)}}e.AbstractStorageService=v,v.DEFAULT_FLUSH_INTERVAL=60*1e3;class C extends v{constructor(){super(),this.applicationStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new D.Storage(new D.InMemoryStorageDatabase,{hint:D.StorageHint.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(i=>this.emitDidChangeValue(1,i))),this._register(this.profileStorage.onDidChangeStorage(i=>this.emitDidChangeValue(0,i))),this._register(this.applicationStorage.onDidChangeStorage(i=>this.emitDidChangeValue(-1,i)))}getStorage(i){switch(i){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}e.InMemoryStorageService=C}),define(te[789],ie([1,0,14,6,56,5,336,47,8,89]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeLensCache=e.ICodeLensCache=void 0,e.ICodeLensCache=(0,_.createDecorator)("ICodeLensCache");class C{constructor(n,t){this.lineCount=n,this.data=t}}let s=class{constructor(n){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new y.LRUCache(20,.75);const t="codelens/cache";(0,L.runWhenIdle)(()=>n.remove(t,1));const r="codelens/cache2",u=n.get(r,1,"{}");this._deserialize(u),I.Event.once(n.onWillSaveState)(f=>{f.reason===v.WillSaveStateReason.SHUTDOWN&&n.store(r,this._serialize(),1,1)})}put(n,t){const r=t.lenses.map(d=>{var l;return{range:d.symbol.range,command:d.symbol.command&&{id:"",title:(l=d.symbol.command)===null||l===void 0?void 0:l.title}}}),u=new S.CodeLensModel;u.add({lenses:r,dispose:()=>{}},this._fakeProvider);const f=new C(n.getLineCount(),u);this._cache.set(n.uri.toString(),f)}get(n){const t=this._cache.get(n.uri.toString());return t&&t.lineCount===n.getLineCount()?t.data:void 0}delete(n){this._cache.delete(n.uri.toString())}_serialize(){const n=Object.create(null);for(const[t,r]of this._cache){const u=new Set;for(const f of r.data.lenses)u.add(f.symbol.range.startLineNumber);n[t]={lineCount:r.lineCount,lines:[...u.values()]}}return JSON.stringify(n)}_deserialize(n){try{const t=JSON.parse(n);for(const r in t){const u=t[r],f=[];for(const l of u.lines)f.push({range:new D.Range(l,1,l,11)});const d=new S.CodeLensModel;d.add({lenses:f,dispose(){}},this._fakeProvider),this._cache.set(r,new C(u.lineCount,d))}}catch{}}};e.CodeLensCache=s,e.CodeLensCache=s=Ie([ge(0,v.IStorageService)],s),(0,m.registerSingleton)(e.ICodeLensCache,s,1)}),define(te[351],ie([1,0,14,2,56,197,29,28,47,8,89]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.ISuggestMemoryService=e.SuggestMemoryService=e.PrefixMemory=e.LRUMemory=e.NoMemory=e.Memory=void 0;class i{constructor(d){this.name=d}select(d,l,o){if(o.length===0)return 0;const c=o[0].score[0];for(let a=0;ap&&E.type===o[b].completion.kind&&E.insertText===o[b].completion.insertText&&(p=E.touch,h=b),o[b].completion.preselect&&g===-1)return g=b}return h!==-1?h:g!==-1?g:0}toJSON(){return this._cache.toJSON()}fromJSON(d){this._cache.clear();const l=0;for(const[o,c]of d)c.touch=l,c.type=typeof c.type=="number"?c.type:S.CompletionItemKinds.fromString(c.type),this._cache.set(o,c);this._seq=this._cache.size}}e.LRUMemory=t;class r extends i{constructor(){super("recentlyUsedByPrefix"),this._trie=D.TernarySearchTree.forStrings(),this._seq=0}memorize(d,l,o){const{word:c}=d.getWordUntilPosition(l),a=`${d.getLanguageId()}/${c}`;this._trie.set(a,{type:o.completion.kind,insertText:o.completion.insertText,touch:this._seq++})}select(d,l,o){const{word:c}=d.getWordUntilPosition(l);if(!c)return super.select(d,l,o);const a=`${d.getLanguageId()}/${c}`;let g=this._trie.get(a);if(g||(g=this._trie.findSubstr(a)),g)for(let h=0;hd.push([o,l])),d.sort((l,o)=>-(l[1].touch-o[1].touch)).forEach((l,o)=>l[1].touch=o),d.slice(0,200)}fromJSON(d){if(this._trie.clear(),d.length>0){this._seq=d[0][1].touch+1;for(const[l,o]of d)o.type=typeof o.type=="number"?o.type:S.CompletionItemKinds.fromString(o.type),this._trie.set(l,o)}}}e.PrefixMemory=r;let u=s=class{constructor(d,l){this._storageService=d,this._configService=l,this._disposables=new I.DisposableStore,this._persistSoon=new L.RunOnceScheduler(()=>this._saveState(),500),this._disposables.add(d.onWillSaveState(o=>{o.reason===C.WillSaveStateReason.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(d,l,o){this._withStrategy(d,l).memorize(d,l,o),this._persistSoon.schedule()}select(d,l,o){return this._withStrategy(d,l).select(d,l,o)}_withStrategy(d,l){var o;const c=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:d.getLanguageIdAtPosition(l.lineNumber,l.column),resource:d.uri});if(((o=this._strategy)===null||o===void 0?void 0:o.name)!==c){this._saveState();const a=s._strategyCtors.get(c)||n;this._strategy=new a;try{const h=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,p=this._storageService.get(`${s._storagePrefix}/${c}`,h);p&&this._strategy.fromJSON(JSON.parse(p))}catch{}}return this._strategy}_saveState(){if(this._strategy){const l=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=JSON.stringify(this._strategy);this._storageService.store(`${s._storagePrefix}/${this._strategy.name}`,o,l,1)}}};e.SuggestMemoryService=u,u._strategyCtors=new Map([["recentlyUsedByPrefix",r],["recentlyUsed",t],["first",n]]),u._storagePrefix="suggest/memories",e.SuggestMemoryService=u=s=Ie([ge(0,C.IStorageService),ge(1,m.IConfigurationService)],u),e.ISuggestMemoryService=(0,v.createDecorator)("ISuggestMemories"),(0,_.registerSingleton)(e.ISuggestMemoryService,u,1)}),define(te[790],ie([1,0,14,6,2,30,25,15,41,89,13,720]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),e.MenuService=void 0;let t=class{constructor(o,c){this._commandService=o,this._hiddenStates=new r(c)}createMenu(o,c,a){return new f(o,this._hiddenStates,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},a),this._commandService,c)}resetHiddenStates(o){this._hiddenStates.reset(o)}};e.MenuService=t,e.MenuService=t=Ie([ge(0,S.ICommandService),ge(1,v.IStorageService)],t);let r=i=class{constructor(o){this._storageService=o,this._disposables=new y.DisposableStore,this._onDidChange=new I.Emitter,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const c=o.get(i._key,0,"{}");this._data=JSON.parse(c)}catch{this._data=Object.create(null)}this._disposables.add(o.onDidChangeValue(0,i._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{const c=o.get(i._key,0,"{}");this._data=JSON.parse(c)}catch(c){console.log("FAILED to read storage after UPDATE",c)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(o,c){var a;return(a=this._hiddenByDefaultCache.get(`${o.id}/${c}`))!==null&&a!==void 0?a:!1}setDefaultState(o,c,a){this._hiddenByDefaultCache.set(`${o.id}/${c}`,a)}isHidden(o,c){var a,g;const h=this._isHiddenByDefault(o,c),p=(g=(a=this._data[o.id])===null||a===void 0?void 0:a.includes(c))!==null&&g!==void 0?g:!1;return h?!p:p}updateHidden(o,c,a){this._isHiddenByDefault(o,c)&&(a=!a);const h=this._data[o.id];if(a)h?h.indexOf(c)<0&&h.push(c):this._data[o.id]=[c];else if(h){const p=h.indexOf(c);p>=0&&(0,C.removeFastWithoutKeepingOrder)(h,p),h.length===0&&delete this._data[o.id]}this._persist()}reset(o){if(o===void 0)this._data=Object.create(null),this._persist();else{for(const{id:c}of o)this._data[c]&&delete this._data[c];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const o=JSON.stringify(this._data);this._storageService.store(i._key,o,0,0)}finally{this._ignoreChangeEvent=!1}}};r._key="menu.hiddenCommands",r=i=Ie([ge(0,v.IStorageService)],r);let u=n=class{constructor(o,c,a,g,h){this._id=o,this._hiddenStates=c,this._collectContextKeysForSubmenus=a,this._commandService=g,this._contextKeyService=h,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const o=D.MenuRegistry.getMenuItems(this._id);let c;o.sort(n._compareMenuItems);for(const a of o){const g=a.group||"";(!c||c[0]!==g)&&(c=[g,[]],this._menuGroups.push(c)),c[1].push(a),this._collectContextKeys(a)}}_collectContextKeys(o){if(n._fillInKbExprKeys(o.when,this._structureContextKeys),(0,D.isIMenuItem)(o)){if(o.command.precondition&&n._fillInKbExprKeys(o.command.precondition,this._preconditionContextKeys),o.command.toggled){const c=o.command.toggled.condition||o.command.toggled;n._fillInKbExprKeys(c,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&D.MenuRegistry.getMenuItems(o.submenu).forEach(this._collectContextKeys,this)}createActionGroups(o){const c=[];for(const a of this._menuGroups){const[g,h]=a,p=[];for(const b of h)if(this._contextKeyService.contextMatchesRules(b.when)){const w=(0,D.isIMenuItem)(b);w&&this._hiddenStates.setDefaultState(this._id,b.command.id,!!b.isHiddenByDefault);const E=d(this._id,w?b.command:b,this._hiddenStates);if(w)p.push(new D.MenuItemAction(b.command,b.alt,o,E,this._contextKeyService,this._commandService));else{const k=new n(b.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._contextKeyService).createActionGroups(o),M=_.Separator.join(...k.map(R=>R[1]));M.length>0&&p.push(new D.SubmenuItemAction(b,E,M))}}p.length>0&&c.push([g,p])}return c}static _fillInKbExprKeys(o,c){if(o)for(const a of o.keys())c.add(a)}static _compareMenuItems(o,c){const a=o.group,g=c.group;if(a!==g){if(a){if(!g)return-1}else return 1;if(a==="navigation")return-1;if(g==="navigation")return 1;const b=a.localeCompare(g);if(b!==0)return b}const h=o.order||0,p=c.order||0;return hp?1:n._compareTitles((0,D.isIMenuItem)(o)?o.command.title:o.title,(0,D.isIMenuItem)(c)?c.command.title:c.title)}static _compareTitles(o,c){const a=typeof o=="string"?o:o.original,g=typeof c=="string"?c:c.original;return a.localeCompare(g)}};u=n=Ie([ge(3,S.ICommandService),ge(4,m.IContextKeyService)],u);let f=class{constructor(o,c,a,g,h){this._disposables=new y.DisposableStore,this._menuInfo=new u(o,c,a.emitEventsForSubmenuChanges,g,h);const p=new L.RunOnceScheduler(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},a.eventDebounceDelay);this._disposables.add(p),this._disposables.add(D.MenuRegistry.onDidChangeMenu(k=>{k.has(o)&&p.schedule()}));const b=this._disposables.add(new y.DisposableStore),w=k=>{let M=!1,R=!1,B=!1;for(const T of k)if(M=M||T.isStructuralChange,R=R||T.isEnablementChange,B=B||T.isToggleChange,M&&R&&B)break;return{menu:this,isStructuralChange:M,isEnablementChange:R,isToggleChange:B}},E=()=>{b.add(h.onDidChangeContext(k=>{const M=k.affectsSome(this._menuInfo.structureContextKeys),R=k.affectsSome(this._menuInfo.preconditionContextKeys),B=k.affectsSome(this._menuInfo.toggledContextKeys);(M||R||B)&&this._onDidChange.fire({menu:this,isStructuralChange:M,isEnablementChange:R,isToggleChange:B})})),b.add(c.onDidChange(k=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))};this._onDidChange=new I.DebounceEmitter({onWillAddFirstListener:E,onDidRemoveLastListener:b.clear.bind(b),delay:a.eventDebounceDelay,merge:w}),this.onDidChange=this._onDidChange.event}getActions(o){return this._menuInfo.createActionGroups(o)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};f=Ie([ge(3,S.ICommandService),ge(4,m.IContextKeyService)],f);function d(l,o,c){const a=(0,D.isISubmenuItem)(o)?o.submenu.id:o.id,g=typeof o.title=="string"?o.title:o.title.value,h=(0,_.toAction)({id:`hide/${l.id}/${a}`,label:(0,s.localize)(0,null,g),run(){c.updateHidden(l,a,!0)}}),p=(0,_.toAction)({id:`toggle/${l.id}/${a}`,label:g,get checked(){return!c.isHidden(l,a)},run(){c.updateHidden(l,a,!!this.checked)}});return{hide:h,toggle:p,get isHidden(){return!p.checked}}}}),define(te[76],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITelemetryService=void 0,e.ITelemetryService=(0,L.createDecorator)("telemetryService")}),define(te[16],ie([1,0,607,21,33,12,50,65,30,25,15,8,117,35,76,20,66,7]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectAllCommand=e.RedoCommand=e.UndoCommand=e.EditorExtensionsRegistry=e.registerEditorContribution=e.registerInstantiatedEditorAction=e.registerMultiEditorAction=e.registerEditorAction=e.registerEditorCommand=e.registerModelAndPositionCommand=e.EditorAction2=e.MultiEditorAction=e.EditorAction=e.EditorCommand=e.ProxyCommand=e.MultiCommand=e.Command=void 0;class d{constructor(P){this.id=P.id,this.precondition=P.precondition,this._kbOpts=P.kbOpts,this._menuOpts=P.menuOpts,this._description=P.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const P=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const O of P){let x=O.kbExpr;this.precondition&&(x?x=C.ContextKeyExpr.and(x,this.precondition):x=this.precondition);const W={id:this.id,weight:O.weight,args:O.args,when:x,primary:O.primary,secondary:O.secondary,win:O.win,linux:O.linux,mac:O.mac};i.KeybindingsRegistry.registerKeybindingRule(W)}}v.CommandsRegistry.registerCommand({id:this.id,handler:(P,O)=>this.runCommand(P,O),description:this._description})}_registerMenuItem(P){_.MenuRegistry.appendMenuItem(P.menuId,{group:P.group,command:{id:this.id,title:P.title,icon:P.icon,precondition:this.precondition},when:P.when,order:P.order})}}e.Command=d;class l extends d{constructor(){super(...arguments),this._implementations=[]}addImplementation(P,O,x,W){return this._implementations.push({priority:P,name:O,implementation:x,when:W}),this._implementations.sort((U,F)=>F.priority-U.priority),{dispose:()=>{for(let U=0;U{if(G.get(C.IContextKeyService).contextMatchesRules(x??void 0))return W(G,F,O)})}runCommand(P,O){return c.runEditorCommand(P,O,this.precondition,(x,W,U)=>this.runEditorCommand(x,W,U))}}e.EditorCommand=c;class a extends c{static convertOptions(P){let O;Array.isArray(P.menuOpts)?O=P.menuOpts:P.menuOpts?O=[P.menuOpts]:O=[];function x(W){return W.menuId||(W.menuId=_.MenuId.EditorContext),W.title||(W.title=P.label),W.when=C.ContextKeyExpr.and(P.precondition,W.when),W}return Array.isArray(P.contextMenuOpts)?O.push(...P.contextMenuOpts.map(x)):P.contextMenuOpts&&O.push(x(P.contextMenuOpts)),P.menuOpts=O,P}constructor(P){super(a.convertOptions(P)),this.label=P.label,this.alias=P.alias}runEditorCommand(P,O,x){return this.reportTelemetry(P,O),this.run(P,O,x||{})}reportTelemetry(P,O){P.get(t.ITelemetryService).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}e.EditorAction=a;class g extends a{constructor(){super(...arguments),this._implementations=[]}addImplementation(P,O){return this._implementations.push([P,O]),this._implementations.sort((x,W)=>W[0]-x[0]),{dispose:()=>{for(let x=0;x{var F,G;const Y=U.get(C.IContextKeyService),ne=U.get(u.ILogService);if(!Y.contextMatchesRules((F=this.desc.precondition)!==null&&F!==void 0?F:void 0)){ne.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,(G=this.desc.precondition)===null||G===void 0?void 0:G.serialize());return}return this.runEditorCommand(U,W,...O)})}}e.EditorAction2=h;function p(A,P){v.CommandsRegistry.registerCommand(A,function(O,...x){const W=O.get(s.IInstantiationService),[U,F]=x;(0,r.assertType)(I.URI.isUri(U)),(0,r.assertType)(D.Position.isIPosition(F));const G=O.get(S.IModelService).getModel(U);if(G){const Y=D.Position.lift(F);return W.invokeFunction(P,G,Y,...x.slice(2))}return O.get(m.ITextModelService).createModelReference(U).then(Y=>new Promise((ne,se)=>{try{const J=W.invokeFunction(P,Y.object.textEditorModel,D.Position.lift(F),x.slice(2));ne(J)}catch(J){se(J)}}).finally(()=>{Y.dispose()}))})}e.registerModelAndPositionCommand=p;function b(A){return T.INSTANCE.registerEditorCommand(A),A}e.registerEditorCommand=b;function w(A){const P=new A;return T.INSTANCE.registerEditorAction(P),P}e.registerEditorAction=w;function E(A){return T.INSTANCE.registerEditorAction(A),A}e.registerMultiEditorAction=E;function k(A){T.INSTANCE.registerEditorAction(A)}e.registerInstantiatedEditorAction=k;function M(A,P,O){T.INSTANCE.registerEditorContribution(A,P,O)}e.registerEditorContribution=M;var R;(function(A){function P(F){return T.INSTANCE.getEditorCommand(F)}A.getEditorCommand=P;function O(){return T.INSTANCE.getEditorActions()}A.getEditorActions=O;function x(){return T.INSTANCE.getEditorContributions()}A.getEditorContributions=x;function W(F){return T.INSTANCE.getEditorContributions().filter(G=>F.indexOf(G.id)>=0)}A.getSomeEditorContributions=W;function U(){return T.INSTANCE.getDiffEditorContributions()}A.getDiffEditorContributions=U})(R||(e.EditorExtensionsRegistry=R={}));const B={EditorCommonContributions:"editor.contributions"};class T{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(P,O,x){this.editorContributions.push({id:P,ctor:O,instantiation:x})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(P){P.register(),this.editorActions.push(P)}getEditorActions(){return this.editorActions}registerEditorCommand(P){P.register(),this.editorCommands[P.id]=P}getEditorCommand(P){return this.editorCommands[P]||null}}T.INSTANCE=new T,n.Registry.add(B.EditorCommonContributions,T.INSTANCE);function N(A){return A.register(),A}e.UndoCommand=N(new l({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(0,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(1,null),order:1}]})),N(new o(e.UndoCommand,{id:"default:undo",precondition:void 0})),e.RedoCommand=N(new l({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:_.MenuId.MenubarEditMenu,group:"1_do",title:L.localize(2,null),order:2},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(3,null),order:1}]})),N(new o(e.RedoCommand,{id:"default:redo",precondition:void 0})),e.SelectAllCommand=N(new l({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:_.MenuId.MenubarSelectionMenu,group:"1_basic",title:L.localize(4,null),order:1},{menuId:_.MenuId.CommandPalette,group:"",title:L.localize(5,null),order:1}]}))}),define(te[188],ie([1,0,606,51,20,45,16,33,499,72,205,206,245,12,5,22,15,117,7]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoreEditingCommands=e.CoreNavigationCommands=e.RevealLine_=e.EditorScroll_=e.CoreEditorCommand=void 0;const l=0;class o extends S.EditorCommand{runEditorCommand(B,T,N){const A=T._getViewModel();A&&this.runCoreEditorCommand(A,N||{})}}e.CoreEditorCommand=o;var c;(function(R){const B=function(N){if(!y.isObject(N))return!1;const A=N;return!(!y.isString(A.to)||!y.isUndefined(A.by)&&!y.isString(A.by)||!y.isUndefined(A.value)&&!y.isNumber(A.value)||!y.isUndefined(A.revealCursor)&&!y.isBoolean(A.revealCursor))};R.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage', 'editor'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:B,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage","editor"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},R.RawDirection={Up:"up",Right:"right",Down:"down",Left:"left"},R.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage",Editor:"editor",Column:"column"};function T(N){let A;switch(N.to){case R.RawDirection.Up:A=1;break;case R.RawDirection.Right:A=2;break;case R.RawDirection.Down:A=3;break;case R.RawDirection.Left:A=4;break;default:return null}let P;switch(N.by){case R.RawUnit.Line:P=1;break;case R.RawUnit.WrappedLine:P=2;break;case R.RawUnit.Page:P=3;break;case R.RawUnit.HalfPage:P=4;break;case R.RawUnit.Editor:P=5;break;case R.RawUnit.Column:P=6;break;default:P=2}const O=Math.floor(N.value||1),x=!!N.revealCursor;return{direction:A,unit:P,value:O,revealCursor:x,select:!!N.select}}R.parse=T})(c||(e.EditorScroll_=c={}));var a;(function(R){const B=function(T){if(!y.isObject(T))return!1;const N=T;return!(!y.isNumber(N.lineNumber)&&!y.isString(N.lineNumber)||!y.isUndefined(N.at)&&!y.isString(N.at))};R.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed.\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:B,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},R.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}})(a||(e.RevealLine_=a={}));class g{constructor(B){B.addImplementation(1e4,"code-editor",(T,N)=>{const A=T.get(m.ICodeEditorService).getFocusedCodeEditor();return A&&A.hasTextFocus()?this._runEditorCommand(T,A,N):!1}),B.addImplementation(1e3,"generic-dom-input-textarea",(T,N)=>{const A=(0,d.getActiveElement)();return A&&["input","textarea"].indexOf(A.tagName.toLowerCase())>=0?(this.runDOMCommand(A),!0):!1}),B.addImplementation(0,"generic-dom",(T,N)=>{const A=T.get(m.ICodeEditorService).getActiveCodeEditor();return A?(A.focus(),this._runEditorCommand(T,A,N)):!1})}_runEditorCommand(B,T,N){const A=this.runEditorCommand(B,T,N);return A||!0}}var h;(function(R){class B extends o{constructor(V){super(V),this._inSelectionMode=V.inSelectionMode}runCoreEditorCommand(V,Z){if(!Z.position)return;V.model.pushStackElement(),V.setCursorStates(Z.source,3,[s.CursorMoveCommands.moveTo(V,V.getPrimaryCursorState(),this._inSelectionMode,Z.position,Z.viewPosition)])&&Z.revealType!==2&&V.revealPrimaryCursor(Z.source,!0,!0)}}R.MoveTo=(0,S.registerEditorCommand)(new B({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),R.MoveToSelect=(0,S.registerEditorCommand)(new B({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class T extends o{runCoreEditorCommand(V,Z){V.model.pushStackElement();const ee=this._getColumnSelectResult(V,V.getPrimaryCursorState(),V.getCursorColumnSelectData(),Z);ee!==null&&(V.setCursorStates(Z.source,3,ee.viewStates.map(le=>v.CursorState.fromViewState(le))),V.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:ee.fromLineNumber,fromViewVisualColumn:ee.fromVisualColumn,toViewLineNumber:ee.toLineNumber,toViewVisualColumn:ee.toVisualColumn}),ee.reversed?V.revealTopMostCursor(Z.source):V.revealBottomMostCursor(Z.source))}}R.ColumnSelect=(0,S.registerEditorCommand)(new class extends T{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(H,V,Z,ee){if(typeof ee.position>"u"||typeof ee.viewPosition>"u"||typeof ee.mouseColumn>"u")return null;const le=H.model.validatePosition(ee.position),ue=H.coordinatesConverter.validateViewPosition(new n.Position(ee.viewPosition.lineNumber,ee.viewPosition.column),le),de=ee.doColumnSelect?Z.fromViewLineNumber:ue.lineNumber,ce=ee.doColumnSelect?Z.fromViewVisualColumn:ee.mouseColumn-1;return _.ColumnSelection.columnSelect(H.cursorConfig,H,de,ce,ue.lineNumber,ee.mouseColumn-1)}}),R.CursorColumnSelectLeft=(0,S.registerEditorCommand)(new class extends T{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(H,V,Z,ee){return _.ColumnSelection.columnSelectLeft(H.cursorConfig,H,Z)}}),R.CursorColumnSelectRight=(0,S.registerEditorCommand)(new class extends T{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(H,V,Z,ee){return _.ColumnSelection.columnSelectRight(H.cursorConfig,H,Z)}});class N extends T{constructor(V){super(V),this._isPaged=V.isPaged}_getColumnSelectResult(V,Z,ee,le){return _.ColumnSelection.columnSelectUp(V.cursorConfig,V,ee,this._isPaged)}}R.CursorColumnSelectUp=(0,S.registerEditorCommand)(new N({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3600,linux:{primary:0}}})),R.CursorColumnSelectPageUp=(0,S.registerEditorCommand)(new N({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3595,linux:{primary:0}}}));class A extends T{constructor(V){super(V),this._isPaged=V.isPaged}_getColumnSelectResult(V,Z,ee,le){return _.ColumnSelection.columnSelectDown(V.cursorConfig,V,ee,this._isPaged)}}R.CursorColumnSelectDown=(0,S.registerEditorCommand)(new A({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3602,linux:{primary:0}}})),R.CursorColumnSelectPageDown=(0,S.registerEditorCommand)(new A({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:3596,linux:{primary:0}}}));class P extends o{constructor(){super({id:"cursorMove",precondition:void 0,description:s.CursorMove.description})}runCoreEditorCommand(V,Z){const ee=s.CursorMove.parse(Z);ee&&this._runCursorMove(V,Z.source,ee)}_runCursorMove(V,Z,ee){V.model.pushStackElement(),V.setCursorStates(Z,3,P._move(V,V.getCursorStates(),ee)),V.revealPrimaryCursor(Z,!0)}static _move(V,Z,ee){const le=ee.select,ue=ee.value;switch(ee.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return s.CursorMoveCommands.simpleMove(V,Z,ee.direction,le,ue,ee.unit);case 11:case 13:case 12:case 14:return s.CursorMoveCommands.viewportMove(V,Z,ee.direction,le,ue);default:return null}}}R.CursorMoveImpl=P,R.CursorMove=(0,S.registerEditorCommand)(new P);class O extends o{constructor(V){super(V),this._staticArgs=V.args}runCoreEditorCommand(V,Z){let ee=this._staticArgs;this._staticArgs.value===-1&&(ee={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:Z.pageSize||V.cursorConfig.pageSize}),V.model.pushStackElement(),V.setCursorStates(Z.source,3,s.CursorMoveCommands.simpleMove(V,V.getCursorStates(),ee.direction,ee.select,ee.value,ee.unit)),V.revealPrimaryCursor(Z.source,!0)}}R.CursorLeft=(0,S.registerEditorCommand)(new O({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),R.CursorLeftSelect=(0,S.registerEditorCommand)(new O({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1039}})),R.CursorRight=(0,S.registerEditorCommand)(new O({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),R.CursorRightSelect=(0,S.registerEditorCommand)(new O({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1041}})),R.CursorUp=(0,S.registerEditorCommand)(new O({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),R.CursorUpSelect=(0,S.registerEditorCommand)(new O({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),R.CursorPageUp=(0,S.registerEditorCommand)(new O({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:11}})),R.CursorPageUpSelect=(0,S.registerEditorCommand)(new O({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1035}})),R.CursorDown=(0,S.registerEditorCommand)(new O({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),R.CursorDownSelect=(0,S.registerEditorCommand)(new O({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),R.CursorPageDown=(0,S.registerEditorCommand)(new O({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:12}})),R.CursorPageDownSelect=(0,S.registerEditorCommand)(new O({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1036}})),R.CreateCursor=(0,S.registerEditorCommand)(new class extends o{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(H,V){if(!V.position)return;let Z;V.wholeLine?Z=s.CursorMoveCommands.line(H,H.getPrimaryCursorState(),!1,V.position,V.viewPosition):Z=s.CursorMoveCommands.moveTo(H,H.getPrimaryCursorState(),!1,V.position,V.viewPosition);const ee=H.getCursorStates();if(ee.length>1){const le=Z.modelState?Z.modelState.position:null,ue=Z.viewState?Z.viewState.position:null;for(let de=0,ce=ee.length;deue&&(le=ue);const de=new t.Range(le,1,le,H.model.getLineMaxColumn(le));let ce=0;if(Z.at)switch(Z.at){case a.RawAtArgument.Top:ce=3;break;case a.RawAtArgument.Center:ce=1;break;case a.RawAtArgument.Bottom:ce=4;break;default:break}const ae=H.coordinatesConverter.convertModelRangeToViewRange(de);H.revealRange(V.source,!1,ae,ce,0)}}),R.SelectAll=new class extends g{constructor(){super(S.SelectAllCommand)}runDOMCommand(H){I.isFirefox&&(H.focus(),H.select()),H.ownerDocument.execCommand("selectAll")}runEditorCommand(H,V,Z){const ee=V._getViewModel();ee&&this.runCoreEditorCommand(ee,Z)}runCoreEditorCommand(H,V){H.model.pushStackElement(),H.setCursorStates("keyboard",3,[s.CursorMoveCommands.selectAll(H,H.getPrimaryCursorState())])}},R.SetSelection=(0,S.registerEditorCommand)(new class extends o{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(H,V){V.selection&&(H.model.pushStackElement(),H.setCursorStates(V.source,3,[v.CursorState.fromModelSelection(V.selection)]))}})})(h||(e.CoreNavigationCommands=h={}));const p=u.ContextKeyExpr.and(r.EditorContextKeys.textInputFocus,r.EditorContextKeys.columnSelection);function b(R,B){f.KeybindingsRegistry.registerKeybindingRule({id:R,primary:B,when:p,weight:l+1})}b(h.CursorColumnSelectLeft.id,1039),b(h.CursorColumnSelectRight.id,1041),b(h.CursorColumnSelectUp.id,1040),b(h.CursorColumnSelectPageUp.id,1035),b(h.CursorColumnSelectDown.id,1042),b(h.CursorColumnSelectPageDown.id,1036);function w(R){return R.register(),R}var E;(function(R){class B extends S.EditorCommand{runEditorCommand(N,A,P){const O=A._getViewModel();O&&this.runCoreEditingCommand(A,O,P||{})}}R.CoreEditingCommand=B,R.LineBreakInsert=(0,S.registerEditorCommand)(new class extends B{constructor(){super({id:"lineBreakInsert",precondition:r.EditorContextKeys.writable,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(T,N,A){T.pushUndoStop(),T.executeCommands(this.id,i.TypeOperations.lineBreakInsert(N.cursorConfig,N.model,N.getCursorStates().map(P=>P.modelState.selection)))}}),R.Outdent=(0,S.registerEditorCommand)(new class extends B{constructor(){super({id:"outdent",precondition:r.EditorContextKeys.writable,kbOpts:{weight:l,kbExpr:u.ContextKeyExpr.and(r.EditorContextKeys.editorTextFocus,r.EditorContextKeys.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(T,N,A){T.pushUndoStop(),T.executeCommands(this.id,i.TypeOperations.outdent(N.cursorConfig,N.model,N.getCursorStates().map(P=>P.modelState.selection))),T.pushUndoStop()}}),R.Tab=(0,S.registerEditorCommand)(new class extends B{constructor(){super({id:"tab",precondition:r.EditorContextKeys.writable,kbOpts:{weight:l,kbExpr:u.ContextKeyExpr.and(r.EditorContextKeys.editorTextFocus,r.EditorContextKeys.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(T,N,A){T.pushUndoStop(),T.executeCommands(this.id,i.TypeOperations.tab(N.cursorConfig,N.model,N.getCursorStates().map(P=>P.modelState.selection))),T.pushUndoStop()}}),R.DeleteLeft=(0,S.registerEditorCommand)(new class extends B{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(T,N,A){const[P,O]=C.DeleteOperations.deleteLeft(N.getPrevEditOperationType(),N.cursorConfig,N.model,N.getCursorStates().map(x=>x.modelState.selection),N.getCursorAutoClosedCharacters());P&&T.pushUndoStop(),T.executeCommands(this.id,O),N.setPrevEditOperationType(2)}}),R.DeleteRight=(0,S.registerEditorCommand)(new class extends B{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:l,kbExpr:r.EditorContextKeys.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(T,N,A){const[P,O]=C.DeleteOperations.deleteRight(N.getPrevEditOperationType(),N.cursorConfig,N.model,N.getCursorStates().map(x=>x.modelState.selection));P&&T.pushUndoStop(),T.executeCommands(this.id,O),N.setPrevEditOperationType(3)}}),R.Undo=new class extends g{constructor(){super(S.UndoCommand)}runDOMCommand(T){T.ownerDocument.execCommand("undo")}runEditorCommand(T,N,A){if(!(!N.hasModel()||N.getOption(90)===!0))return N.getModel().undo()}},R.Redo=new class extends g{constructor(){super(S.RedoCommand)}runDOMCommand(T){T.ownerDocument.execCommand("redo")}runEditorCommand(T,N,A){if(!(!N.hasModel()||N.getOption(90)===!0))return N.getModel().redo()}}})(E||(e.CoreEditingCommands=E={}));class k extends S.Command{constructor(B,T,N){super({id:B,precondition:void 0,description:N}),this._handlerId=T}runCommand(B,T){const N=B.get(m.ICodeEditorService).getFocusedCodeEditor();N&&N.trigger("keyboard",this._handlerId,T)}}function M(R,B){w(new k("default:"+R,R)),w(new k(R,R,B))}M("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),M("replacePreviousChar"),M("compositionType"),M("compositionStart"),M("compositionEnd"),M("paste"),M("cut")}),define(te[791],ie([1,0,233,16]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsContribution=void 0;let y=class{constructor(S,m){}dispose(){}};e.MarkerDecorationsContribution=y,y.ID="editor.contrib.markerDecorations",e.MarkerDecorationsContribution=y=Ie([ge(1,L.IMarkerDecorationsService)],y),(0,I.registerEditorContribution)(y.ID,y,0)}),define(te[792],ie([1,0,188,12,17]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewController=void 0;class D{constructor(m,_,v,C){this.configuration=m,this.viewModel=_,this.userInputEvents=v,this.commandDelegate=C}paste(m,_,v,C){this.commandDelegate.paste(m,_,v,C)}type(m){this.commandDelegate.type(m)}compositionType(m,_,v,C){this.commandDelegate.compositionType(m,_,v,C)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(m){L.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:m})}_validateViewColumn(m){const _=this.viewModel.getLineMinColumn(m.lineNumber);return m.column<_?new I.Position(m.lineNumber,_):m}_hasMulticursorModifier(m){switch(this.configuration.options.get(77)){case"altKey":return m.altKey;case"ctrlKey":return m.ctrlKey;case"metaKey":return m.metaKey;default:return!1}}_hasNonMulticursorModifier(m){switch(this.configuration.options.get(77)){case"altKey":return m.ctrlKey||m.metaKey;case"ctrlKey":return m.altKey||m.metaKey;case"metaKey":return m.ctrlKey||m.altKey;default:return!1}}dispatchMouse(m){const _=this.configuration.options,v=y.isLinux&&_.get(106),C=_.get(22);m.middleButton&&!v?this._columnSelect(m.position,m.mouseColumn,m.inSelectionMode):m.startedOnLineNumbers?this._hasMulticursorModifier(m)?m.inSelectionMode?this._lastCursorLineSelect(m.position,m.revealType):this._createCursor(m.position,!0):m.inSelectionMode?this._lineSelectDrag(m.position,m.revealType):this._lineSelect(m.position,m.revealType):m.mouseDownCount>=4?this._selectAll():m.mouseDownCount===3?this._hasMulticursorModifier(m)?m.inSelectionMode?this._lastCursorLineSelectDrag(m.position,m.revealType):this._lastCursorLineSelect(m.position,m.revealType):m.inSelectionMode?this._lineSelectDrag(m.position,m.revealType):this._lineSelect(m.position,m.revealType):m.mouseDownCount===2?m.onInjectedText||(this._hasMulticursorModifier(m)?this._lastCursorWordSelect(m.position,m.revealType):m.inSelectionMode?this._wordSelectDrag(m.position,m.revealType):this._wordSelect(m.position,m.revealType)):this._hasMulticursorModifier(m)?this._hasNonMulticursorModifier(m)||(m.shiftKey?this._columnSelect(m.position,m.mouseColumn,!0):m.inSelectionMode?this._lastCursorMoveToSelect(m.position,m.revealType):this._createCursor(m.position,!1)):m.inSelectionMode?m.altKey?this._columnSelect(m.position,m.mouseColumn,!0):C?this._columnSelect(m.position,m.mouseColumn,!0):this._moveToSelect(m.position,m.revealType):this.moveTo(m.position,m.revealType)}_usualArgs(m,_){return m=this._validateViewColumn(m),{source:"mouse",position:this._convertViewToModelPosition(m),viewPosition:m,revealType:_}}moveTo(m,_){L.CoreNavigationCommands.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_moveToSelect(m,_){L.CoreNavigationCommands.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_columnSelect(m,_,v){m=this._validateViewColumn(m),L.CoreNavigationCommands.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(m),viewPosition:m,mouseColumn:_,doColumnSelect:v})}_createCursor(m,_){m=this._validateViewColumn(m),L.CoreNavigationCommands.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(m),viewPosition:m,wholeLine:_})}_lastCursorMoveToSelect(m,_){L.CoreNavigationCommands.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_wordSelect(m,_){L.CoreNavigationCommands.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_wordSelectDrag(m,_){L.CoreNavigationCommands.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_lastCursorWordSelect(m,_){L.CoreNavigationCommands.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_lineSelect(m,_){L.CoreNavigationCommands.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_lineSelectDrag(m,_){L.CoreNavigationCommands.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_lastCursorLineSelect(m,_){L.CoreNavigationCommands.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_lastCursorLineSelectDrag(m,_){L.CoreNavigationCommands.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(m,_))}_selectAll(){L.CoreNavigationCommands.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(m){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(m)}emitKeyDown(m){this.userInputEvents.emitKeyDown(m)}emitKeyUp(m){this.userInputEvents.emitKeyUp(m)}emitContextMenu(m){this.userInputEvents.emitContextMenu(m)}emitMouseMove(m){this.userInputEvents.emitMouseMove(m)}emitMouseLeave(m){this.userInputEvents.emitMouseLeave(m)}emitMouseUp(m){this.userInputEvents.emitMouseUp(m)}emitMouseDown(m){this.userInputEvents.emitMouseDown(m)}emitMouseDrag(m){this.userInputEvents.emitMouseDrag(m)}emitMouseDrop(m){this.userInputEvents.emitMouseDrop(m)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(m){this.userInputEvents.emitMouseWheel(m)}}e.ViewController=D}),define(te[793],ie([1,0,6,59,64,108,115,76]),function($,e,L,I,y,D,S,m){"use strict";var _;Object.defineProperty(e,"__esModule",{value:!0}),e.WorkerBasedDocumentDiffProvider=void 0;let v=_=class{constructor(s,i,n){this.editorWorkerService=i,this.telemetryService=n,this.onDidChangeEventEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(s)}dispose(){var s;(s=this.diffAlgorithmOnDidChangeSubscription)===null||s===void 0||s.dispose()}computeDiff(s,i,n,t){var r,u;return be(this,void 0,void 0,function*(){if(typeof this.diffAlgorithm!="string")return this.diffAlgorithm.computeDiff(s,i,n,t);if(s.getLineCount()===1&&s.getLineMaxColumn(1)===1)return i.getLineCount()===1&&i.getLineMaxColumn(1)===1?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new D.DetailedLineRangeMapping(new y.LineRange(1,2),new y.LineRange(1,i.getLineCount()+1),[new D.RangeMapping(s.getFullModelRange(),i.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};const f=JSON.stringify([s.uri.toString(),i.uri.toString()]),d=JSON.stringify([s.id,i.id,s.getAlternativeVersionId(),i.getAlternativeVersionId(),JSON.stringify(n)]),l=_.diffCache.get(f);if(l&&l.context===d)return l.result;const o=I.StopWatch.create(),c=yield this.editorWorkerService.computeDiff(s.uri,i.uri,n,this.diffAlgorithm),a=o.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:a,timedOut:(r=c?.quitEarly)!==null&&r!==void 0?r:!0,detectedMoves:n.computeMoves?(u=c?.moves.length)!==null&&u!==void 0?u:0:-1}),t.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!c)throw new Error("no diff result available");return _.diffCache.size>10&&_.diffCache.delete(_.diffCache.keys().next().value),_.diffCache.set(f,{result:c,context:d}),c})}setOptions(s){var i;let n=!1;s.diffAlgorithm&&this.diffAlgorithm!==s.diffAlgorithm&&((i=this.diffAlgorithmOnDidChangeSubscription)===null||i===void 0||i.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=s.diffAlgorithm,typeof s.diffAlgorithm!="string"&&(this.diffAlgorithmOnDidChangeSubscription=s.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),n=!0),n&&this.onDidChangeEventEmitter.fire()}};e.WorkerBasedDocumentDiffProvider=v,v.diffCache=new Map,e.WorkerBasedDocumentDiffProvider=v=_=Ie([ge(1,S.IEditorWorkerService),ge(2,m.ITelemetryService)],v)}),define(te[794],ie([1,0,793,47,8]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffProviderFactoryService=e.IDiffProviderFactoryService=void 0,e.IDiffProviderFactoryService=(0,y.createDecorator)("diffProviderFactoryService");let D=class{constructor(m){this.instantiationService=m}createDiffProvider(m,_){return this.instantiationService.createInstance(L.WorkerBasedDocumentDiffProvider,_)}};e.DiffProviderFactoryService=D,e.DiffProviderFactoryService=D=Ie([ge(0,y.IInstantiationService)],D),(0,I.registerSingleton)(e.IDiffProviderFactoryService,D,1)}),define(te[352],ie([1,0,14,19,2,40,794,100,64,279,108,177,281,277]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnchangedRegion=e.DiffMapping=e.DiffState=e.DiffEditorViewModel=void 0;let t=class extends y.Disposable{setActiveMovedText(g){this._activeMovedText.set(g,void 0)}constructor(g,h,p,b){super(),this.model=g,this._options=h,this._editor=p,this._diffProviderFactoryService=b,this._isDiffUpToDate=(0,D.observableValue)(this,!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,D.observableValue)(this,void 0),this.diff=this._diff,this._unchangedRegions=(0,D.observableValue)(this,{regions:[],originalDecorationIds:[],modifiedDecorationIds:[]}),this.unchangedRegions=(0,D.derived)(this,M=>this._options.hideUnchangedRegions.read(M)?this._unchangedRegions.read(M).regions:((0,D.transaction)(R=>{for(const B of this._unchangedRegions.get().regions)B.collapseAll(R)}),[])),this.movedTextToCompare=(0,D.observableValue)(this,void 0),this._activeMovedText=(0,D.observableValue)(this,void 0),this._hoveredMovedText=(0,D.observableValue)(this,void 0),this.activeMovedText=(0,D.derived)(this,M=>{var R,B;return(B=(R=this.movedTextToCompare.read(M))!==null&&R!==void 0?R:this._hoveredMovedText.read(M))!==null&&B!==void 0?B:this._activeMovedText.read(M)}),this._cancellationTokenSource=new I.CancellationTokenSource,this._diffProvider=(0,D.derived)(this,M=>{const R=this._diffProviderFactoryService.createDiffProvider(this._editor,{diffAlgorithm:this._options.diffAlgorithm.read(M)}),B=(0,D.observableSignalFromEvent)("onDidChange",R.onDidChange);return{diffProvider:R,onChangeSignal:B}}),this._register((0,y.toDisposable)(()=>this._cancellationTokenSource.cancel()));const w=(0,D.observableSignal)("contentChangedSignal"),E=this._register(new L.RunOnceScheduler(()=>w.trigger(void 0),200)),k=(M,R,B)=>{const T=l.fromDiffs(M.changes,g.original.getLineCount(),g.modified.getLineCount(),this._options.hideUnchangedRegionsMinimumLineCount.read(B),this._options.hideUnchangedRegionsContextLineCount.read(B)),N=this._unchangedRegions.get(),A=N.originalDecorationIds.map(W=>g.original.getDecorationRange(W)).filter(W=>!!W).map(W=>_.LineRange.fromRange(W)),P=N.modifiedDecorationIds.map(W=>g.modified.getDecorationRange(W)).filter(W=>!!W).map(W=>_.LineRange.fromRange(W)),O=g.original.deltaDecorations(N.originalDecorationIds,T.map(W=>({range:W.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),x=g.modified.deltaDecorations(N.modifiedDecorationIds,T.map(W=>({range:W.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));for(const W of T)for(let U=0;U{if(this._diff.get()){const B=s.TextEditInfo.fromModelContentChanges(M.changes),T=(this._lastDiff,g.original,g.modified,void 0);T&&(this._lastDiff=T,(0,D.transaction)(N=>{this._diff.set(f.fromDiffResult(this._lastDiff),N),k(T,N);const A=this.movedTextToCompare.get();this.movedTextToCompare.set(A?this._lastDiff.moves.find(P=>P.lineRangeMapping.modified.intersect(A.lineRangeMapping.modified)):void 0,N)}))}E.schedule()})),this._register(g.original.onDidChangeContent(M=>{if(this._diff.get()){const B=s.TextEditInfo.fromModelContentChanges(M.changes),T=(this._lastDiff,g.original,g.modified,void 0);T&&(this._lastDiff=T,(0,D.transaction)(N=>{this._diff.set(f.fromDiffResult(this._lastDiff),N),k(T,N);const A=this.movedTextToCompare.get();this.movedTextToCompare.set(A?this._lastDiff.moves.find(P=>P.lineRangeMapping.modified.intersect(A.lineRangeMapping.modified)):void 0,N)}))}E.schedule()})),this._register((0,D.autorunWithStore)((M,R)=>be(this,void 0,void 0,function*(){var B,T;this._options.hideUnchangedRegionsMinimumLineCount.read(M),this._options.hideUnchangedRegionsContextLineCount.read(M),E.cancel(),w.read(M);const N=this._diffProvider.read(M);N.onChangeSignal.read(M),(0,m.readHotReloadableExport)(v.DefaultLinesDiffComputer,M),(0,m.readHotReloadableExport)(n.optimizeSequenceDiffs,M),this._isDiffUpToDate.set(!1,void 0);let A=[];R.add(g.original.onDidChangeContent(x=>{const W=s.TextEditInfo.fromModelContentChanges(x.changes);A=(0,i.combineTextEditInfos)(A,W)}));let P=[];R.add(g.modified.onDidChangeContent(x=>{const W=s.TextEditInfo.fromModelContentChanges(x.changes);P=(0,i.combineTextEditInfos)(P,W)}));let O=yield N.diffProvider.computeDiff(g.original,g.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(M),maxComputationTimeMs:this._options.maxComputationTimeMs.read(M),computeMoves:this._options.showMoves.read(M)},this._cancellationTokenSource.token);this._cancellationTokenSource.token.isCancellationRequested||(O=r(O,g.original,g.modified),O=(B=(g.original,g.modified,void 0))!==null&&B!==void 0?B:O,O=(T=(g.original,g.modified,void 0))!==null&&T!==void 0?T:O,(0,D.transaction)(x=>{k(O,x),this._lastDiff=O;const W=f.fromDiffResult(O);this._diff.set(W,x),this._isDiffUpToDate.set(!0,x);const U=this.movedTextToCompare.get();this.movedTextToCompare.set(U?this._lastDiff.moves.find(F=>F.lineRangeMapping.modified.intersect(U.lineRangeMapping.modified)):void 0,x)}))})))}ensureModifiedLineIsVisible(g,h){var p;if(((p=this.diff.get())===null||p===void 0?void 0:p.mappings.length)===0)return;const b=this._unchangedRegions.get().regions;for(const w of b)if(w.getHiddenModifiedRange(void 0).contains(g)){w.showModifiedLine(g,h);return}}ensureOriginalLineIsVisible(g,h){var p;if(((p=this.diff.get())===null||p===void 0?void 0:p.mappings.length)===0)return;const b=this._unchangedRegions.get().regions;for(const w of b)if(w.getHiddenOriginalRange(void 0).contains(g)){w.showOriginalLine(g,h);return}}waitForDiff(){return be(this,void 0,void 0,function*(){yield(0,D.waitForState)(this.isDiffUpToDate,g=>g)})}serializeState(){return{collapsedRegions:this._unchangedRegions.get().regions.map(h=>({range:h.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(g){const h=g.collapsedRegions.map(b=>_.LineRange.deserialize(b.range)),p=this._unchangedRegions.get();(0,D.transaction)(b=>{for(const w of p.regions)for(const E of h)if(w.modifiedUnchangedRange.intersect(E)){w.setHiddenModifiedRange(E,b);break}})}};e.DiffEditorViewModel=t,e.DiffEditorViewModel=t=Ie([ge(3,S.IDiffProviderFactoryService)],t);function r(a,g,h){return{changes:a.changes.map(p=>new C.DetailedLineRangeMapping(p.original,p.modified,p.innerChanges?p.innerChanges.map(b=>u(b,g,h)):void 0)),moves:a.moves,identical:a.identical,quitEarly:a.quitEarly}}function u(a,g,h){let p=a.originalRange,b=a.modifiedRange;return(p.endColumn!==1||b.endColumn!==1)&&p.endColumn===g.getLineMaxColumn(p.endLineNumber)&&b.endColumn===h.getLineMaxColumn(b.endLineNumber)&&p.endLineNumbernew d(h)),g.moves||[],g.identical,g.quitEarly)}constructor(g,h,p,b){this.mappings=g,this.movedTexts=h,this.identical=p,this.quitEarly=b}}e.DiffState=f;class d{constructor(g){this.lineRangeMapping=g}}e.DiffMapping=d;class l{static fromDiffs(g,h,p,b,w){const E=C.DetailedLineRangeMapping.inverse(g,h,p),k=[];for(const M of E){let R=M.original.startLineNumber,B=M.modified.startLineNumber,T=M.original.length;const N=R===1&&B===1,A=R+T===h+1&&B+T===p+1;(N||A)&&T>=w+b?(N&&!A&&(T-=w),A&&!N&&(R+=w,B+=w,T-=w),k.push(new l(R,B,T,0,0))):T>=w*2+b&&(R+=w,B+=w,T-=w*2,k.push(new l(R,B,T,0,0)))}return k}get originalUnchangedRange(){return _.LineRange.ofLength(this.originalLineNumber,this.lineCount)}get modifiedUnchangedRange(){return _.LineRange.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(g,h,p,b,w){this.originalLineNumber=g,this.modifiedLineNumber=h,this.lineCount=p,this._visibleLineCountTop=(0,D.observableValue)(this,0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,D.observableValue)(this,0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,D.derived)(this,E=>this.visibleLineCountTop.read(E)+this.visibleLineCountBottom.read(E)===this.lineCount&&!this.isDragged.read(E)),this.isDragged=(0,D.observableValue)(this,!1),this._visibleLineCountTop.set(b,void 0),this._visibleLineCountBottom.set(w,void 0)}shouldHideControls(g){return this._shouldHideControls.read(g)}getHiddenOriginalRange(g){return _.LineRange.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(g),this.lineCount-this._visibleLineCountTop.read(g)-this._visibleLineCountBottom.read(g))}getHiddenModifiedRange(g){return _.LineRange.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(g),this.lineCount-this._visibleLineCountTop.read(g)-this._visibleLineCountBottom.read(g))}setHiddenModifiedRange(g,h){const p=g.startLineNumber-this.modifiedLineNumber,b=this.modifiedLineNumber+this.lineCount-g.endLineNumberExclusive;this.setState(p,b,h)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(g=10,h){const p=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+g,p),h)}showMoreBelow(g=10,h){const p=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+g,p),h)}showAll(g){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),g)}showModifiedLine(g,h){const p=g+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),b=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-g;pthis.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const f=this.editor.getPosition();this.editor.changeDecorations(d=>{this.decorationId&&d.removeDecoration(this.decorationId),this.decorationId=d.addDecoration(S.Selection.fromPositions(f,f),{description:"selection-anchor",stickiness:1,hoverMessage:new I.MarkdownString().appendText((0,_.localize)(0,null)),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,L.alert)((0,_.localize)(1,null,f.lineNumber,f.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const f=this.editor.getModel().getDecorationRange(this.decorationId);f&&this.editor.setPosition(f.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const f=this.editor.getModel().getDecorationRange(this.decorationId);if(f){const d=this.editor.getPosition();this.editor.setSelection(S.Selection.fromPositions(f.getStartPosition(),d)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const f=this.decorationId;this.editor.changeDecorations(d=>{d.removeDecoration(f),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};s.ID="editor.contrib.selectionAnchorController",s=C=Ie([ge(1,v.IContextKeyService)],s);class i extends D.EditorAction{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,_.localize)(2,null),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:m.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2080),weight:100}})}run(f,d){var l;return be(this,void 0,void 0,function*(){(l=s.get(d))===null||l===void 0||l.setSelectionAnchor()})}}class n extends D.EditorAction{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,_.localize)(3,null),alias:"Go to Selection Anchor",precondition:e.SelectionAnchorSet})}run(f,d){var l;return be(this,void 0,void 0,function*(){(l=s.get(d))===null||l===void 0||l.goToSelectionAnchor()})}}class t extends D.EditorAction{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,_.localize)(4,null),alias:"Select from Anchor to Cursor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:m.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,2089),weight:100}})}run(f,d){var l;return be(this,void 0,void 0,function*(){(l=s.get(d))===null||l===void 0||l.selectFromAnchorToCursor()})}}class r extends D.EditorAction{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,_.localize)(5,null),alias:"Cancel Selection Anchor",precondition:e.SelectionAnchorSet,kbOpts:{kbExpr:m.EditorContextKeys.editorTextFocus,primary:9,weight:100}})}run(f,d){var l;return be(this,void 0,void 0,function*(){(l=s.get(d))===null||l===void 0||l.cancelSelectionAnchor()})}}(0,D.registerEditorContribution)(s.ID,s,4),(0,D.registerEditorAction)(i),(0,D.registerEditorAction)(n),(0,D.registerEditorAction)(t),(0,D.registerEditorAction)(r)}),define(te[796],ie([1,0,16,22,540,635]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class S extends L.EditorAction{constructor(C,s){super(s),this.left=C}run(C,s){if(!s.hasModel())return;const i=[],n=s.getSelections();for(const t of n)i.push(new y.MoveCaretCommand(t,this.left));s.pushUndoStop(),s.executeCommands(this.id,i),s.pushUndoStop()}}class m extends S{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:D.localize(0,null),alias:"Move Selected Text Left",precondition:I.EditorContextKeys.writable})}}class _ extends S{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:D.localize(1,null),alias:"Move Selected Text Right",precondition:I.EditorContextKeys.writable})}}(0,L.registerEditorAction)(m),(0,L.registerEditorAction)(_)}),define(te[797],ie([1,0,16,123,204,5,22,636]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class _ extends L.EditorAction{constructor(){super({id:"editor.action.transposeLetters",label:m.localize(0,null),alias:"Transpose Letters",precondition:S.EditorContextKeys.writable,kbOpts:{kbExpr:S.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(C,s){if(!s.hasModel())return;const i=s.getModel(),n=[],t=s.getSelections();for(const r of t){if(!r.isEmpty())continue;const u=r.startLineNumber,f=r.startColumn,d=i.getLineMaxColumn(u);if(u===1&&(f===1||f===2&&d===2))continue;const l=f===d?r.getPosition():y.MoveOperations.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),o=y.MoveOperations.leftPosition(i,l),c=y.MoveOperations.leftPosition(i,o),a=i.getValueInRange(D.Range.fromPositions(c,o)),g=i.getValueInRange(D.Range.fromPositions(o,l)),h=D.Range.fromPositions(c,l);n.push(new I.ReplaceCommand(h,g+a))}n.length>0&&(s.pushUndoStop(),s.executeCommands(this.id,n),s.pushUndoStop())}}(0,L.registerEditorAction)(_)}),define(te[798],ie([1,0,51,7,17,183,16,33,22,637,30,102,15]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PasteAction=e.CopyAction=e.CutAction=void 0;const n="9_cutcopypaste",t=y.isNative||document.queryCommandSupported("cut"),r=y.isNative||document.queryCommandSupported("copy"),u=typeof navigator.clipboard>"u"||L.isFirefox?document.queryCommandSupported("paste"):!0;function f(o){return o.register(),o}e.CutAction=t?f(new S.MultiCommand({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:y.isNative?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:C.MenuId.MenubarEditMenu,group:"2_ccp",title:v.localize(0,null),order:1},{menuId:C.MenuId.EditorContext,group:n,title:v.localize(1,null),when:_.EditorContextKeys.writable,order:1},{menuId:C.MenuId.CommandPalette,group:"",title:v.localize(2,null),order:1},{menuId:C.MenuId.SimpleEditorContext,group:n,title:v.localize(3,null),when:_.EditorContextKeys.writable,order:1}]})):void 0,e.CopyAction=r?f(new S.MultiCommand({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:y.isNative?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:C.MenuId.MenubarEditMenu,group:"2_ccp",title:v.localize(4,null),order:2},{menuId:C.MenuId.EditorContext,group:n,title:v.localize(5,null),order:2},{menuId:C.MenuId.CommandPalette,group:"",title:v.localize(6,null),order:1},{menuId:C.MenuId.SimpleEditorContext,group:n,title:v.localize(7,null),order:2}]})):void 0,C.MenuRegistry.appendMenuItem(C.MenuId.MenubarEditMenu,{submenu:C.MenuId.MenubarCopy,title:{value:v.localize(8,null),original:"Copy As"},group:"2_ccp",order:3}),C.MenuRegistry.appendMenuItem(C.MenuId.EditorContext,{submenu:C.MenuId.EditorContextCopy,title:{value:v.localize(9,null),original:"Copy As"},group:n,order:3}),C.MenuRegistry.appendMenuItem(C.MenuId.EditorContext,{submenu:C.MenuId.EditorContextShare,title:{value:v.localize(10,null),original:"Share"},group:"11_share",order:-1,when:i.ContextKeyExpr.and(i.ContextKeyExpr.notEquals("resourceScheme","output"),_.EditorContextKeys.editorTextFocus)}),C.MenuRegistry.appendMenuItem(C.MenuId.EditorTitleContext,{submenu:C.MenuId.EditorTitleContextShare,title:{value:v.localize(11,null),original:"Share"},group:"11_share",order:-1}),C.MenuRegistry.appendMenuItem(C.MenuId.ExplorerContext,{submenu:C.MenuId.ExplorerContextShare,title:{value:v.localize(12,null),original:"Share"},group:"11_share",order:-1}),e.PasteAction=u?f(new S.MultiCommand({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:y.isNative?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:C.MenuId.MenubarEditMenu,group:"2_ccp",title:v.localize(13,null),order:4},{menuId:C.MenuId.EditorContext,group:n,title:v.localize(14,null),when:_.EditorContextKeys.writable,order:4},{menuId:C.MenuId.CommandPalette,group:"",title:v.localize(15,null),order:1},{menuId:C.MenuId.SimpleEditorContext,group:n,title:v.localize(16,null),when:_.EditorContextKeys.writable,order:4}]})):void 0;class d extends S.EditorAction{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:v.localize(17,null),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.textInputFocus,primary:0,weight:100}})}run(c,a){!a.hasModel()||!a.getOption(37)&&a.getSelection().isEmpty()||(D.CopyOptions.forceCopyWithSyntaxHighlighting=!0,a.focus(),a.getContainerDomNode().ownerDocument.execCommand("copy"),D.CopyOptions.forceCopyWithSyntaxHighlighting=!1)}}function l(o,c){o&&(o.addImplementation(1e4,"code-editor",(a,g)=>{const h=a.get(m.ICodeEditorService).getFocusedCodeEditor();if(h&&h.hasTextFocus()){const p=h.getOption(37),b=h.getSelection();return b&&b.isEmpty()&&!p||h.getContainerDomNode().ownerDocument.execCommand(c),!0}return!1}),o.addImplementation(0,"generic-dom",(a,g)=>((0,I.getActiveDocument)().execCommand(c),!0)))}l(e.CutAction,"cut"),l(e.CopyAction,"copy"),e.PasteAction&&(e.PasteAction.addImplementation(1e4,"code-editor",(o,c)=>{const a=o.get(m.ICodeEditorService),g=o.get(s.IClipboardService),h=a.getFocusedCodeEditor();return h&&h.hasTextFocus()?!h.getContainerDomNode().ownerDocument.execCommand("paste")&&y.isWeb?(()=>be(void 0,void 0,void 0,function*(){const b=yield g.readText();if(b!==""){const w=D.InMemoryClipboardMetadataManager.INSTANCE.get(b);let E=!1,k=null,M=null;w&&(E=h.getOption(37)&&!!w.isFromEmptySelection,k=typeof w.multicursorText<"u"?w.multicursorText:null,M=w.mode),h.trigger("keyboard","paste",{text:b,pasteOnNewLine:E,multicursorText:k,mode:M})}}))():!0:!1}),e.PasteAction.addImplementation(0,"generic-dom",(o,c)=>((0,I.getActiveDocument)().execCommand("paste"),!0))),r&&(0,S.registerEditorAction)(d)}),define(te[799],ie([1,0,62,16,5,22,32,294,542,647,30]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class s extends I.EditorAction{constructor(f,d){super(d),this._type=f}run(f,d){const l=f.get(S.ILanguageConfigurationService);if(!d.hasModel())return;const o=d.getModel(),c=[],a=o.getOptions(),g=d.getOption(23),h=d.getSelections().map((b,w)=>({selection:b,index:w,ignoreFirstLine:!1}));h.sort((b,w)=>y.Range.compareRangesUsingStarts(b.selection,w.selection));let p=h[0];for(let b=1;b{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeModelContent(n=>{this._undoStack=[],this._redoStack=[]})),this._register(i.onDidChangeCursorSelection(n=>{if(this._isCursorUndoRedo||!n.oldSelections||n.oldModelVersionId!==n.modelVersionId)return;const t=new S(n.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(t)||(this._undoStack.push(new m(t,i.getScrollTop(),i.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new m(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new m(new S(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(i){this._isCursorUndoRedo=!0,this._editor.setSelections(i.cursorState.selections),this._editor.setScrollPosition({scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),this._isCursorUndoRedo=!1}}e.CursorUndoRedoController=_,_.ID="editor.contrib.cursorUndoRedoController";class v extends I.EditorAction{constructor(){super({id:"cursorUndo",label:D.localize(0,null),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2099,weight:100}})}run(i,n,t){var r;(r=_.get(n))===null||r===void 0||r.cursorUndo()}}e.CursorUndo=v;class C extends I.EditorAction{constructor(){super({id:"cursorRedo",label:D.localize(1,null),alias:"Cursor Redo",precondition:void 0})}run(i,n,t){var r;(r=_.get(n))===null||r===void 0||r.cursorRedo()}}e.CursorRedo=C,(0,I.registerEditorContribution)(_.ID,_,0),(0,I.registerEditorAction)(v),(0,I.registerEditorAction)(C)}),define(te[801],ie([1,0,16,15,19,63,8,47,655]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorKeybindingCancellationTokenSource=void 0;const v=(0,S.createDecorator)("IEditorCancelService"),C=new I.RawContextKey("cancellableOperation",!1,(0,_.localize)(0,null));(0,m.registerSingleton)(v,class{constructor(){this._tokens=new WeakMap}add(i,n){let t=this._tokens.get(i);t||(t=i.invokeWithinContext(u=>{const f=C.bindTo(u.get(I.IContextKeyService)),d=new D.LinkedList;return{key:f,tokens:d}}),this._tokens.set(i,t));let r;return t.key.set(!0),r=t.tokens.push(n),()=>{r&&(r(),t.key.set(!t.tokens.isEmpty()),r=void 0)}}cancel(i){const n=this._tokens.get(i);if(!n)return;const t=n.tokens.pop();t&&(t.cancel(),n.key.set(!n.tokens.isEmpty()))}},1);class s extends y.CancellationTokenSource{constructor(n,t){super(t),this.editor=n,this._unregister=n.invokeWithinContext(r=>r.get(v).add(n,this))}dispose(){this._unregister(),super.dispose()}}e.EditorKeybindingCancellationTokenSource=s,(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:C})}runEditorCommand(i,n){i.get(v).cancel(n)}})}),define(te[103],ie([1,0,10,5,19,2,801]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextModelCancellationTokenSource=e.EditorStateCancellationTokenSource=e.EditorState=void 0;class m{constructor(s,i){if(this.flags=i,this.flags&1){const n=s.getModel();this.modelVersionId=n?L.format("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;this.flags&4?this.position=s.getPosition():this.position=null,this.flags&2?this.selection=s.getSelection():this.selection=null,this.flags&8?(this.scrollLeft=s.getScrollLeft(),this.scrollTop=s.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(s){if(!(s instanceof m))return!1;const i=s;return!(this.modelVersionId!==i.modelVersionId||this.scrollLeft!==i.scrollLeft||this.scrollTop!==i.scrollTop||!this.position&&i.position||this.position&&!i.position||this.position&&i.position&&!this.position.equals(i.position)||!this.selection&&i.selection||this.selection&&!i.selection||this.selection&&i.selection&&!this.selection.equalsRange(i.selection))}validate(s){return this._equals(new m(s,this.flags))}}e.EditorState=m;class _ extends S.EditorKeybindingCancellationTokenSource{constructor(s,i,n,t){super(s,t),this._listener=new D.DisposableStore,i&4&&this._listener.add(s.onDidChangeCursorPosition(r=>{(!n||!I.Range.containsPosition(n,r.position))&&this.cancel()})),i&2&&this._listener.add(s.onDidChangeCursorSelection(r=>{(!n||!I.Range.containsRange(n,r.selection))&&this.cancel()})),i&8&&this._listener.add(s.onDidScrollChange(r=>this.cancel())),i&1&&(this._listener.add(s.onDidChangeModel(r=>this.cancel())),this._listener.add(s.onDidChangeModelContent(r=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}e.EditorStateCancellationTokenSource=_;class v extends y.CancellationTokenSource{constructor(s,i){super(i),this._listener=s.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}e.TextModelCancellationTokenSource=v}),define(te[135],ie([1,0,13,19,9,2,21,130,5,24,18,50,103,638,25,48,85,76,112]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyCodeAction=e.ApplyCodeActionReason=e.getCodeActions=e.fixAllCommandId=e.organizeImportsCommandId=e.sourceActionCommandId=e.refactorCommandId=e.autoFixCommandId=e.quickFixCommandId=e.codeActionCommandId=void 0,e.codeActionCommandId="editor.action.codeAction",e.quickFixCommandId="editor.action.quickFix",e.autoFixCommandId="editor.action.autoFix",e.refactorCommandId="editor.action.refactor",e.sourceActionCommandId="editor.action.sourceAction",e.organizeImportsCommandId="editor.action.organizeImports",e.fixAllCommandId="editor.action.fixAll";class l extends D.Disposable{static codeActionsPreferredComparator(k,M){return k.isPreferred&&!M.isPreferred?-1:!k.isPreferred&&M.isPreferred?1:0}static codeActionsComparator({action:k},{action:M}){return(0,L.isNonEmptyArray)(k.diagnostics)?(0,L.isNonEmptyArray)(M.diagnostics)?l.codeActionsPreferredComparator(k,M):-1:(0,L.isNonEmptyArray)(M.diagnostics)?1:l.codeActionsPreferredComparator(k,M)}constructor(k,M,R){super(),this.documentation=M,this._register(R),this.allActions=[...k].sort(l.codeActionsComparator),this.validActions=this.allActions.filter(({action:B})=>!B.disabled)}get hasAutoFix(){return this.validActions.some(({action:k})=>!!k.kind&&d.CodeActionKind.QuickFix.contains(new d.CodeActionKind(k.kind))&&!!k.isPreferred)}}const o={actions:[],documentation:void 0};function c(E,k,M,R,B,T){var N;return be(this,void 0,void 0,function*(){const A=R.filter||{},P=Object.assign(Object.assign({},A),{excludes:[...A.excludes||[],d.CodeActionKind.Notebook]}),O={only:(N=A.include)===null||N===void 0?void 0:N.value,trigger:R.type},x=new i.TextModelCancellationTokenSource(k,T),W=R.type===2,U=a(E,k,W?P:A),F=new D.DisposableStore,G=U.map(ne=>be(this,void 0,void 0,function*(){try{B.report(ne);const se=yield ne.provideCodeActions(k,M,O,x.token);if(se&&F.add(se),x.token.isCancellationRequested)return o;const J=(se?.actions||[]).filter(H=>H&&(0,d.filtersAction)(A,H)),q=h(ne,J,A.include);return{actions:J.map(H=>new d.CodeActionItem(H,ne)),documentation:q}}catch(se){if((0,y.isCancellationError)(se))throw se;return(0,y.onUnexpectedExternalError)(se),o}})),Y=E.onDidChange(()=>{const ne=E.all(k);(0,L.equals)(ne,U)||x.cancel()});try{const ne=yield Promise.all(G),se=ne.map(q=>q.actions).flat(),J=[...(0,L.coalesce)(ne.map(q=>q.documentation)),...g(E,k,R,se)];return new l(se,J,F)}finally{Y.dispose(),x.dispose()}})}e.getCodeActions=c;function a(E,k,M){return E.all(k).filter(R=>R.providedCodeActionKinds?R.providedCodeActionKinds.some(B=>(0,d.mayIncludeActionsOfKind)(M,new d.CodeActionKind(B))):!0)}function*g(E,k,M,R){var B,T,N;if(k&&R.length)for(const A of E.all(k))A._getAdditionalMenuItems&&(yield*(B=A._getAdditionalMenuItems)===null||B===void 0?void 0:B.call(A,{trigger:M.type,only:(N=(T=M.filter)===null||T===void 0?void 0:T.include)===null||N===void 0?void 0:N.value},R.map(P=>P.action)))}function h(E,k,M){if(!E.documentation)return;const R=E.documentation.map(B=>({kind:new d.CodeActionKind(B.kind),command:B.command}));if(M){let B;for(const T of R)T.kind.contains(M)&&(B?B.kind.contains(T.kind)&&(B=T):B=T);if(B)return B?.command}for(const B of k)if(B.kind){for(const T of R)if(T.kind.contains(new d.CodeActionKind(B.kind)))return T.command}}var p;(function(E){E.OnSave="onSave",E.FromProblemsView="fromProblemsView",E.FromCodeActions="fromCodeActions"})(p||(e.ApplyCodeActionReason=p={}));function b(E,k,M,R,B=I.CancellationToken.None){var T;return be(this,void 0,void 0,function*(){const N=E.get(m.IBulkEditService),A=E.get(t.ICommandService),P=E.get(f.ITelemetryService),O=E.get(r.INotificationService);if(P.publicLog2("codeAction.applyCodeAction",{codeActionTitle:k.action.title,codeActionKind:k.action.kind,codeActionIsPreferred:!!k.action.isPreferred,reason:M}),yield k.resolve(B),!B.isCancellationRequested&&!(!((T=k.action.edit)===null||T===void 0)&&T.edits.length&&!(yield N.apply(k.action.edit,{editor:R?.editor,label:k.action.title,quotableLabel:k.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:M!==p.OnSave,showPreview:R?.preview})).isApplied)&&k.action.command)try{yield A.executeCommand(k.action.command.id,...k.action.command.arguments||[])}catch(x){const W=w(x);O.error(typeof W=="string"?W:n.localize(0,null))}})}e.applyCodeAction=b;function w(E){return typeof E=="string"?E:E instanceof Error&&typeof E.message=="string"?E.message:void 0}t.CommandsRegistry.registerCommand("_executeCodeActionProvider",function(E,k,M,R,B){return be(this,void 0,void 0,function*(){if(!(k instanceof S.URI))throw(0,y.illegalArgument)();const{codeActionProvider:T}=E.get(C.ILanguageFeaturesService),N=E.get(s.IModelService).getModel(k);if(!N)throw(0,y.illegalArgument)();const A=v.Selection.isISelection(M)?v.Selection.liftSelection(M):_.Range.isIRange(M)?N.validateRange(M):void 0;if(!A)throw(0,y.illegalArgument)();const P=typeof R=="string"?new d.CodeActionKind(R):void 0,O=yield c(T,N,A,{type:1,triggerAction:d.CodeActionTriggerSource.Default,filter:{includeSourceActions:!0,include:P}},u.Progress.None,I.CancellationToken.None),x=[],W=Math.min(O.validActions.length,typeof B=="number"?B:0);for(let U=0;UU.action)}finally{setTimeout(()=>O.dispose(),100)}})})}),define(te[802],ie([1,0,97,135,112,34]),function($,e,L,I,y,D){"use strict";var S;Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionKeybindingResolver=void 0;let m=S=class{constructor(v){this.keybindingService=v}getResolver(){const v=new L.Lazy(()=>this.keybindingService.getKeybindings().filter(C=>S.codeActionCommands.indexOf(C.command)>=0).filter(C=>C.resolvedKeybinding).map(C=>{let s=C.commandArgs;return C.command===I.organizeImportsCommandId?s={kind:y.CodeActionKind.SourceOrganizeImports.value}:C.command===I.fixAllCommandId&&(s={kind:y.CodeActionKind.SourceFixAll.value}),Object.assign({resolvedKeybinding:C.resolvedKeybinding},y.CodeActionCommandArgs.fromUser(s,{kind:y.CodeActionKind.None,apply:"never"}))}));return C=>{if(C.kind){const s=this.bestKeybindingForCodeAction(C,v.value);return s?.resolvedKeybinding}}}bestKeybindingForCodeAction(v,C){if(!v.kind)return;const s=new y.CodeActionKind(v.kind);return C.filter(i=>i.kind.contains(s)).filter(i=>i.preferred?v.isPreferred:!0).reduceRight((i,n)=>i?i.kind.contains(n.kind)?n:i:n,void 0)}};e.CodeActionKeybindingResolver=m,m.codeActionCommands=[I.refactorCommandId,I.codeActionCommandId,I.sourceActionCommandId,I.organizeImportsCommandId,I.fixAllCommandId],e.CodeActionKeybindingResolver=m=S=Ie([ge(0,D.IKeybindingService)],m)}),define(te[353],ie([1,0,14,9,6,2,46,12,24,15,85,112,135]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeActionModel=e.CodeActionsState=e.SUPPORTED_CODE_ACTIONS=void 0,e.SUPPORTED_CODE_ACTIONS=new v.RawContextKey("supportedCodeAction","");class n extends D.Disposable{constructor(d,l,o,c=250){super(),this._editor=d,this._markerService=l,this._signalChange=o,this._delay=c,this._autoTriggerTimer=this._register(new L.TimeoutTimer),this._register(this._markerService.onMarkerChanged(a=>this._onMarkerChanges(a))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(d){const l=this._getRangeOfSelectionUnlessWhitespaceEnclosed(d);this._signalChange(l?{trigger:d,selection:l}:void 0)}_onMarkerChanges(d){const l=this._editor.getModel();l&&d.some(o=>(0,S.isEqual)(o,l.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:s.CodeActionTriggerSource.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(d){if(!this._editor.hasModel())return;const l=this._editor.getModel(),o=this._editor.getSelection();if(o.isEmpty()&&d.type===2){const{lineNumber:c,column:a}=o.getPosition(),g=l.getLineContent(c);if(g.length===0)return;if(a===1){if(/\s/.test(g[0]))return}else if(a===l.getLineMaxColumn(c)){if(/\s/.test(g[g.length-1]))return}else if(/\s/.test(g[a-2])&&/\s/.test(g[a-1]))return}return o}}var t;(function(f){f.Empty={type:0};class d{constructor(o,c,a){this.trigger=o,this.position=c,this._cancellablePromise=a,this.type=1,this.actions=a.catch(g=>{if((0,I.isCancellationError)(g))return r;throw g})}cancel(){this._cancellablePromise.cancel()}}f.Triggered=d})(t||(e.CodeActionsState=t={}));const r=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1});class u extends D.Disposable{constructor(d,l,o,c,a,g){super(),this._editor=d,this._registry=l,this._markerService=o,this._progressService=a,this._configurationService=g,this._codeActionOracle=this._register(new D.MutableDisposable),this._state=t.Empty,this._onDidChangeState=this._register(new y.Emitter),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=e.SUPPORTED_CODE_ACTIONS.bindTo(c),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(t.Empty,!0))}_settingEnabledNearbyQuickfixes(){var d;const l=(d=this._editor)===null||d===void 0?void 0:d.getModel();return this._configurationService?this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickfixes",{resource:l?.uri}):!1}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(t.Empty);const d=this._editor.getModel();if(d&&this._registry.has(d)&&!this._editor.getOption(90)){const l=this._registry.all(d).flatMap(o=>{var c;return(c=o.providedCodeActionKinds)!==null&&c!==void 0?c:[]});this._supportedCodeActions.set(l.join(" ")),this._codeActionOracle.value=new n(this._editor,this._markerService,o=>{var c;if(!o){this.setState(t.Empty);return}const a=o.selection.getStartPosition(),g=(0,L.createCancelablePromise)(h=>be(this,void 0,void 0,function*(){var p,b,w,E,k,M;if(this._settingEnabledNearbyQuickfixes()&&o.trigger.type===1&&(o.trigger.triggerAction===s.CodeActionTriggerSource.QuickFix||!((b=(p=o.trigger.filter)===null||p===void 0?void 0:p.include)===null||b===void 0)&&b.contains(s.CodeActionKind.QuickFix))){const R=yield(0,i.getCodeActions)(this._registry,d,o.selection,o.trigger,C.Progress.None,h);if(h.isCancellationRequested)return r;if(!((w=R.validActions)===null||w===void 0?void 0:w.some(T=>T.action.kind?s.CodeActionKind.QuickFix.contains(new s.CodeActionKind(T.action.kind)):!1))){const T=this._markerService.read({resource:d.uri});if(T.length>0){const N=o.selection.getPosition();let A=N,P=Number.MAX_VALUE,O=!1;for(const x of T){const W=x.endColumn,U=x.endLineNumber,F=x.startLineNumber;(U===N.lineNumber||F===N.lineNumber)&&Math.abs(N.column-W){G.highlightRange=G.action.isPreferred}),F.push(...U.validActions)),{validActions:F,allActions:R.allActions,documentation:R.documentation,hasAutoFix:R.hasAutoFix,dispose:()=>{R.dispose()}}}}}}return(0,i.getCodeActions)(this._registry,d,o.selection,o.trigger,C.Progress.None,h)}));o.trigger.type===1&&((c=this._progressService)===null||c===void 0||c.showWhile(g,250)),this.setState(new t.Triggered(o.trigger,a,g))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:s.CodeActionTriggerSource.Default})}else this._supportedCodeActions.reset()}trigger(d){var l;(l=this._codeActionOracle.value)===null||l===void 0||l.trigger(d)}setState(d,l){d!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=d,!l&&!this._disposed&&this._onDidChangeState.fire(d))}}e.CodeActionModel=u}),define(te[354],ie([1,0,7,61,26,6,2,27,208,135,643,34,442]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.LightBulbWidget=void 0;var n;(function(r){r.Hidden={type:0};class u{constructor(d,l,o,c){this.actions=d,this.trigger=l,this.editorPosition=o,this.widgetPosition=c,this.type=1}}r.Showing=u})(n||(n={}));let t=i=class extends S.Disposable{constructor(u,f){super(),this._editor=u,this._onClick=this._register(new D.Emitter),this.onClick=this._onClick.event,this._state=n.Hidden,this._domNode=L.$("div.lightBulbWidget"),this._register(I.Gesture.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(d=>{const l=this._editor.getModel();(this.state.type!==1||!l||this.state.editorPosition.lineNumber>=l.getLineCount())&&this.hide()})),this._register(L.addStandardDisposableGenericMouseDownListener(this._domNode,d=>{if(this.state.type!==1)return;this._editor.focus(),d.preventDefault();const{top:l,height:o}=L.getDomNodePagePosition(this._domNode),c=this._editor.getOption(66);let a=Math.floor(c/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(d.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(d=>{d.hasChanged(64)&&!this._editor.getOption(64).enabled&&this.hide()})),this._register(D.Event.runAndSubscribe(f.onDidUpdateKeybindings,()=>{var d,l,o,c;this._preferredKbLabel=(l=(d=f.lookupKeybinding(v.autoFixCommandId))===null||d===void 0?void 0:d.getLabel())!==null&&l!==void 0?l:void 0,this._quickFixKbLabel=(c=(o=f.lookupKeybinding(v.quickFixCommandId))===null||o===void 0?void 0:o.getLabel())!==null&&c!==void 0?c:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(u,f,d){if(u.validActions.length<=0)return this.hide();const l=this._editor.getOptions();if(!l.get(64).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:c,column:a}=o.validatePosition(d),g=o.getOptions().tabSize,h=l.get(50),p=o.getLineContent(c),b=(0,_.computeIndentLevel)(p,g),w=h.spaceWidth*b>22,E=M=>M>2&&this._editor.getTopForLineNumber(M)===this._editor.getTopForLineNumber(M-1);let k=c;if(!w){if(c>1&&!E(c-1))k-=1;else if(!E(c+1))k+=1;else if(a*h.spaceWidth<22)return this.hide()}this.state=new n.Showing(u,f,d,{position:{lineNumber:k,column:1},preference:i._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==n.Hidden&&(this.state=n.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(u){this._state=u,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix&&(this._domNode.classList.remove(...m.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._domNode.classList.add(...m.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._preferredKbLabel)){this.title=C.localize(0,null,this._preferredKbLabel);return}this._domNode.classList.remove(...m.ThemeIcon.asClassNameArray(y.Codicon.lightbulbAutofix)),this._domNode.classList.add(...m.ThemeIcon.asClassNameArray(y.Codicon.lightBulb)),this._quickFixKbLabel?this.title=C.localize(1,null,this._quickFixKbLabel):this.title=C.localize(2,null)}set title(u){this._domNode.title=u}};e.LightBulbWidget=t,t.ID="editor.contrib.lightbulbWidget",t._posPref=[0],e.LightBulbWidget=t=i=Ie([ge(1,s.IKeybindingService)],t)}),define(te[803],ie([1,0,16,143,660]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomIn",label:y.localize(0,null),alias:"Editor Font Zoom In",precondition:void 0})}run(v,C){I.EditorZoom.setZoomLevel(I.EditorZoom.getZoomLevel()+1)}}class S extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomOut",label:y.localize(1,null),alias:"Editor Font Zoom Out",precondition:void 0})}run(v,C){I.EditorZoom.setZoomLevel(I.EditorZoom.getZoomLevel()-1)}}class m extends L.EditorAction{constructor(){super({id:"editor.action.fontZoomReset",label:y.localize(2,null),alias:"Editor Font Zoom Reset",precondition:void 0})}run(v,C){I.EditorZoom.setZoomLevel(0)}}(0,L.registerEditorAction)(D),(0,L.registerEditorAction)(S),(0,L.registerEditorAction)(m)}),define(te[355],ie([1,0,45,13,19,9,43,63,20,21,103,175,12,5,24,115,65,298,661,25,745,8,18,66]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOnTypeFormattingEdits=e.getDocumentFormattingEditsUntilResult=e.getDocumentRangeFormattingEditsUntilResult=e.formatDocumentWithProvider=e.formatDocumentWithSelectedProvider=e.formatDocumentRangesWithProvider=e.formatDocumentRangesWithSelectedProvider=e.FormattingConflicts=e.getRealAndSyntheticDocumentFormattersOrdered=e.alertFormattingEdits=void 0;function h(N){if(N=N.filter(x=>x.range),!N.length)return;let{range:A}=N[0];for(let x=1;x0&&n.Range.areIntersectingOrTouching(se[J-1],ee)?se[J-1]=n.Range.fromPositions(se[J-1].getStartPosition(),ee.getEndPosition()):J=se.push(ee);const q=ee=>be(this,void 0,void 0,function*(){var le,ue;G.trace("[format][provideDocumentRangeFormattingEdits] (request)",(le=A.extensionId)===null||le===void 0?void 0:le.value,ee);const de=(yield A.provideDocumentRangeFormattingEdits(Y,ee,Y.getFormattingOptions(),ne.token))||[];return G.trace("[format][provideDocumentRangeFormattingEdits] (response)",(ue=A.extensionId)===null||ue===void 0?void 0:ue.value,de),de}),H=(ee,le)=>{if(!ee.length||!le.length)return!1;const ue=ee.reduce((de,ce)=>n.Range.plusRange(de,ce.range),ee[0].range);if(!le.some(de=>n.Range.intersectRanges(ue,de.range)))return!1;for(const de of ee)for(const ce of le)if(n.Range.intersectRanges(de.range,ce.range))return!0;return!1},V=[],Z=[];try{if(typeof A.provideDocumentRangesFormattingEdits=="function"){G.trace("[format][provideDocumentRangeFormattingEdits] (request)",(W=A.extensionId)===null||W===void 0?void 0:W.value,se);const ee=(yield A.provideDocumentRangesFormattingEdits(Y,se,Y.getFormattingOptions(),ne.token))||[];G.trace("[format][provideDocumentRangeFormattingEdits] (response)",(U=A.extensionId)===null||U===void 0?void 0:U.value,ee),Z.push(ee)}else{for(const ee of se){if(ne.token.isCancellationRequested)return!0;Z.push(yield q(ee))}for(let ee=0;ee({text:ue.text,range:n.Range.lift(ue.range),forceMoveMarkers:!0})),ue=>{for(const{range:de}of ue)if(n.Range.areIntersectingOrTouching(de,le))return[new t.Selection(de.startLineNumber,de.startColumn,de.endLineNumber,de.endColumn)];return null})}return!0})}e.formatDocumentRangesWithProvider=E;function k(N,A,P,O,x){return be(this,void 0,void 0,function*(){const W=N.get(c.IInstantiationService),U=N.get(a.ILanguageFeaturesService),F=(0,s.isCodeEditor)(A)?A.getModel():A,G=p(U.documentFormattingEditProvider,U.documentRangeFormattingEditProvider,F),Y=yield b.select(G,F,P);Y&&(O.report(Y),yield W.invokeFunction(M,Y,A,P,x))})}e.formatDocumentWithSelectedProvider=k;function M(N,A,P,O,x){return be(this,void 0,void 0,function*(){const W=N.get(r.IEditorWorkerService);let U,F;(0,s.isCodeEditor)(P)?(U=P.getModel(),F=new C.EditorStateCancellationTokenSource(P,5,void 0,x)):(U=P,F=new C.TextModelCancellationTokenSource(P,x));let G;try{const Y=yield A.provideDocumentFormattingEdits(U,U.getFormattingOptions(),F.token);if(G=yield W.computeMoreMinimalEdits(U.uri,Y),F.token.isCancellationRequested)return!0}finally{F.dispose()}if(!G||G.length===0)return!1;if((0,s.isCodeEditor)(P))f.FormattingEdit.execute(P,G,O!==2),O!==2&&(h(G),P.revealPositionInCenterIfOutsideViewport(P.getPosition(),1));else{const[{range:Y}]=G,ne=new t.Selection(Y.startLineNumber,Y.startColumn,Y.endLineNumber,Y.endColumn);U.pushEditOperations([ne],G.map(se=>({text:se.text,range:n.Range.lift(se.range),forceMoveMarkers:!0})),se=>{for(const{range:J}of se)if(n.Range.areIntersectingOrTouching(J,ne))return[new t.Selection(J.startLineNumber,J.startColumn,J.endLineNumber,J.endColumn)];return null})}return!0})}e.formatDocumentWithProvider=M;function R(N,A,P,O,x,W){return be(this,void 0,void 0,function*(){const U=A.documentRangeFormattingEditProvider.ordered(P);for(const F of U){const G=yield Promise.resolve(F.provideDocumentRangeFormattingEdits(P,O,x,W)).catch(D.onUnexpectedExternalError);if((0,I.isNonEmptyArray)(G))return yield N.computeMoreMinimalEdits(P.uri,G)}})}e.getDocumentRangeFormattingEditsUntilResult=R;function B(N,A,P,O,x){return be(this,void 0,void 0,function*(){const W=p(A.documentFormattingEditProvider,A.documentRangeFormattingEditProvider,P);for(const U of W){const F=yield Promise.resolve(U.provideDocumentFormattingEdits(P,O,x)).catch(D.onUnexpectedExternalError);if((0,I.isNonEmptyArray)(F))return yield N.computeMoreMinimalEdits(P.uri,F)}})}e.getDocumentFormattingEditsUntilResult=B;function T(N,A,P,O,x,W,U){const F=A.onTypeFormattingEditProvider.ordered(P);return F.length===0||F[0].autoFormatTriggerCharacters.indexOf(x)<0?Promise.resolve(void 0):Promise.resolve(F[0].provideOnTypeFormattingEdits(P,O,x,W,U)).catch(D.onUnexpectedExternalError).then(G=>N.computeMoreMinimalEdits(P.uri,G))}e.getOnTypeFormattingEdits=T,l.CommandsRegistry.registerCommand("_executeFormatRangeProvider",function(N,...A){return be(this,void 0,void 0,function*(){const[P,O,x]=A;(0,_.assertType)(v.URI.isUri(P)),(0,_.assertType)(n.Range.isIRange(O));const W=N.get(u.ITextModelService),U=N.get(r.IEditorWorkerService),F=N.get(a.ILanguageFeaturesService),G=yield W.createModelReference(P);try{return R(U,F,G.object.textEditorModel,n.Range.lift(O),x,y.CancellationToken.None)}finally{G.dispose()}})}),l.CommandsRegistry.registerCommand("_executeFormatDocumentProvider",function(N,...A){return be(this,void 0,void 0,function*(){const[P,O]=A;(0,_.assertType)(v.URI.isUri(P));const x=N.get(u.ITextModelService),W=N.get(r.IEditorWorkerService),U=N.get(a.ILanguageFeaturesService),F=yield x.createModelReference(P);try{return B(W,U,F.object.textEditorModel,O,y.CancellationToken.None)}finally{F.dispose()}})}),l.CommandsRegistry.registerCommand("_executeFormatOnTypeProvider",function(N,...A){return be(this,void 0,void 0,function*(){const[P,O,x,W]=A;(0,_.assertType)(v.URI.isUri(P)),(0,_.assertType)(i.Position.isIPosition(O)),(0,_.assertType)(typeof x=="string");const U=N.get(u.ITextModelService),F=N.get(r.IEditorWorkerService),G=N.get(a.ILanguageFeaturesService),Y=yield U.createModelReference(P);try{return T(F,G,Y.object.textEditorModel,i.Position.lift(O),x,W,y.CancellationToken.None)}finally{Y.dispose()}})})}),define(te[804],ie([1,0,13,19,9,62,2,16,33,121,5,22,115,18,355,298,662,25,15,8,85]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatOnType=void 0;let c=class{constructor(b,w,E){this._editor=b,this._languageFeaturesService=w,this._workerService=E,this._disposables=new S.DisposableStore,this._sessionDisposables=new S.DisposableStore,this._disposables.add(w.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(b.onDidChangeModel(()=>this._update())),this._disposables.add(b.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(b.onDidChangeConfiguration(k=>{k.hasChanged(56)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(56)||!this._editor.hasModel())return;const b=this._editor.getModel(),[w]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(b);if(!w||!w.autoFormatTriggerCharacters)return;const E=new v.CharacterSet;for(const k of w.autoFormatTriggerCharacters)E.add(k.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(k=>{const M=k.charCodeAt(k.length-1);E.has(M)&&this._trigger(String.fromCharCode(M))}))}_trigger(b){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const w=this._editor.getModel(),E=this._editor.getPosition(),k=new I.CancellationTokenSource,M=this._editor.onDidChangeModelContent(R=>{if(R.isFlush){k.cancel(),M.dispose();return}for(let B=0,T=R.changes.length;B{k.token.isCancellationRequested||(0,L.isNonEmptyArray)(R)&&(r.FormattingEdit.execute(this._editor,R,!0),(0,t.alertFormattingEdits)(R))}).finally(()=>{M.dispose()})}};e.FormatOnType=c,c.ID="editor.contrib.autoFormat",e.FormatOnType=c=Ie([ge(1,n.ILanguageFeaturesService),ge(2,i.IEditorWorkerService)],c);let a=class{constructor(b,w,E){this.editor=b,this._languageFeaturesService=w,this._instantiationService=E,this._callOnDispose=new S.DisposableStore,this._callOnModel=new S.DisposableStore,this._callOnDispose.add(b.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(b.onDidChangeModel(()=>this._update())),this._callOnDispose.add(b.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(w.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(55)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:b})=>this._trigger(b)))}_trigger(b){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(t.formatDocumentRangesWithSelectedProvider,this.editor,b,2,o.Progress.None,I.CancellationToken.None).catch(y.onUnexpectedError))}};a.ID="editor.contrib.formatOnPaste",a=Ie([ge(1,n.ILanguageFeaturesService),ge(2,l.IInstantiationService)],a);class g extends m.EditorAction{constructor(){super({id:"editor.action.formatDocument",label:u.localize(0,null),alias:"Format Document",precondition:d.ContextKeyExpr.and(s.EditorContextKeys.notInCompositeEditor,s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(b,w){return be(this,void 0,void 0,function*(){if(w.hasModel()){const E=b.get(l.IInstantiationService);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentWithSelectedProvider,w,1,o.Progress.None,I.CancellationToken.None),250)}})}}class h extends m.EditorAction{constructor(){super({id:"editor.action.formatSelection",label:u.localize(1,null),alias:"Format Selection",precondition:d.ContextKeyExpr.and(s.EditorContextKeys.writable,s.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2084),weight:100},contextMenuOpts:{when:s.EditorContextKeys.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(b,w){return be(this,void 0,void 0,function*(){if(!w.hasModel())return;const E=b.get(l.IInstantiationService),k=w.getModel(),M=w.getSelections().map(B=>B.isEmpty()?new C.Range(B.startLineNumber,1,B.startLineNumber,k.getLineMaxColumn(B.startLineNumber)):B);yield b.get(o.IEditorProgressService).showWhile(E.invokeFunction(t.formatDocumentRangesWithSelectedProvider,w,M,1,o.Progress.None,I.CancellationToken.None),250)})}}(0,m.registerEditorContribution)(c.ID,c,2),(0,m.registerEditorContribution)(a.ID,a,2),(0,m.registerEditorAction)(g),(0,m.registerEditorAction)(h),f.CommandsRegistry.registerCommand("editor.action.format",p=>be(void 0,void 0,void 0,function*(){const b=p.get(_.ICodeEditorService).getFocusedCodeEditor();if(!b||!b.hasModel())return;const w=p.get(f.ICommandService);b.getSelection().isEmpty()?yield w.executeCommand("editor.action.formatDocument"):yield w.executeCommand("editor.action.formatSelection")}))}),define(te[246],ie([1,0,13,19,9,16,18,155]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReferencesAtPosition=e.getTypeDefinitionsAtPosition=e.getImplementationsAtPosition=e.getDeclarationsAtPosition=e.getDefinitionsAtPosition=void 0;function _(r,u,f,d){return be(this,void 0,void 0,function*(){const o=f.ordered(r).map(a=>Promise.resolve(d(a,r,u)).then(void 0,g=>{(0,y.onUnexpectedExternalError)(g)})),c=yield Promise.all(o);return(0,L.coalesce)(c.flat())})}function v(r,u,f,d){return _(u,f,r,(l,o,c)=>l.provideDefinition(o,c,d))}e.getDefinitionsAtPosition=v;function C(r,u,f,d){return _(u,f,r,(l,o,c)=>l.provideDeclaration(o,c,d))}e.getDeclarationsAtPosition=C;function s(r,u,f,d){return _(u,f,r,(l,o,c)=>l.provideImplementation(o,c,d))}e.getImplementationsAtPosition=s;function i(r,u,f,d){return _(u,f,r,(l,o,c)=>l.provideTypeDefinition(o,c,d))}e.getTypeDefinitionsAtPosition=i;function n(r,u,f,d,l){return _(u,f,r,(o,c,a)=>be(this,void 0,void 0,function*(){const g=yield o.provideReferences(c,a,{includeDeclaration:!0},l);if(!d||!g||g.length!==2)return g;const h=yield o.provideReferences(c,a,{includeDeclaration:!1},l);return h&&h.length===1?h:g}))}e.getReferencesAtPosition=n;function t(r){return be(this,void 0,void 0,function*(){const u=yield r(),f=new m.ReferencesModel(u,""),d=f.references.map(l=>l.link);return f.dispose(),d})}(0,D.registerModelAndPositionCommand)("_executeDefinitionProvider",(r,u,f)=>{const d=r.get(S.ILanguageFeaturesService),l=v(d.definitionProvider,u,f,I.CancellationToken.None);return t(()=>l)}),(0,D.registerModelAndPositionCommand)("_executeTypeDefinitionProvider",(r,u,f)=>{const d=r.get(S.ILanguageFeaturesService),l=i(d.typeDefinitionProvider,u,f,I.CancellationToken.None);return t(()=>l)}),(0,D.registerModelAndPositionCommand)("_executeDeclarationProvider",(r,u,f)=>{const d=r.get(S.ILanguageFeaturesService),l=C(d.declarationProvider,u,f,I.CancellationToken.None);return t(()=>l)}),(0,D.registerModelAndPositionCommand)("_executeReferenceProvider",(r,u,f)=>{const d=r.get(S.ILanguageFeaturesService),l=n(d.referenceProvider,u,f,!1,I.CancellationToken.None);return t(()=>l)}),(0,D.registerModelAndPositionCommand)("_executeImplementationProvider",(r,u,f)=>{const d=r.get(S.ILanguageFeaturesService),l=s(d.implementationProvider,u,f,I.CancellationToken.None);return t(()=>l)})}),define(te[805],ie([1,0,6,2,46,16,33,5,671,15,47,8,34,117,48]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ISymbolNavigationService=e.ctxHasSymbols=void 0,e.ctxHasSymbols=new v.RawContextKey("hasSymbols",!1,(0,_.localize)(0,null)),e.ISymbolNavigationService=(0,s.createDecorator)("ISymbolNavigationService");let r=class{constructor(d,l,o,c){this._editorService=l,this._notificationService=o,this._keybindingService=c,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=e.ctxHasSymbols.bindTo(d)}reset(){var d,l;this._ctxHasSymbols.reset(),(d=this._currentState)===null||d===void 0||d.dispose(),(l=this._currentMessage)===null||l===void 0||l.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(d){const l=d.parent.parent;if(l.references.length<=1){this.reset();return}this._currentModel=l,this._currentIdx=l.references.indexOf(d),this._ctxHasSymbols.set(!0),this._showMessage();const o=new u(this._editorService),c=o.onDidChange(a=>{if(this._ignoreEditorChange)return;const g=this._editorService.getActiveCodeEditor();if(!g)return;const h=g.getModel(),p=g.getPosition();if(!h||!p)return;let b=!1,w=!1;for(const E of l.references)if((0,y.isEqual)(E.uri,h.uri))b=!0,w=w||m.Range.containsPosition(E.range,p);else if(b)break;(!b||!w)&&this.reset()});this._currentState=(0,I.combinedDisposable)(o,c)}revealNext(d){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const l=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:l.uri,options:{selection:m.Range.collapseToStart(l.range),selectionRevealType:3}},d).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var d;(d=this._currentMessage)===null||d===void 0||d.dispose();const l=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),o=l?(0,_.localize)(1,null,this._currentIdx+1,this._currentModel.references.length,l.getLabel()):(0,_.localize)(2,null,this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(o)}};r=Ie([ge(0,v.IContextKeyService),ge(1,S.ICodeEditorService),ge(2,t.INotificationService),ge(3,i.IKeybindingService)],r),(0,C.registerSingleton)(e.ISymbolNavigationService,r,1),(0,D.registerEditorCommand)(new class extends D.EditorCommand{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:e.ctxHasSymbols,kbOpts:{weight:100,primary:70}})}runEditorCommand(f,d){return f.get(e.ISymbolNavigationService).revealNext(d)}}),n.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:e.ctxHasSymbols,primary:9,handler(f){f.get(e.ISymbolNavigationService).reset()}});let u=class{constructor(d){this._listener=new Map,this._disposables=new I.DisposableStore,this._onDidChange=new L.Emitter,this.onDidChange=this._onDidChange.event,this._disposables.add(d.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(d.onCodeEditorAdd(this._onDidAddEditor,this)),d.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,I.dispose)(this._listener.values())}_onDidAddEditor(d){this._listener.set(d,(0,I.combinedDisposable)(d.onDidChangeCursorPosition(l=>this._onDidChange.fire({editor:d})),d.onDidChangeModelContent(l=>this._onDidChange.fire({editor:d}))))}_onDidRemoveEditor(d){var l;(l=this._listener.get(d))===null||l===void 0||l.dispose(),this._listener.delete(d)}};u=Ie([ge(0,S.ICodeEditorService)],u)}),define(te[356],ie([1,0,14,19,9,16,18]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHoverPromise=e.getHover=e.HoverProviderResult=void 0;class m{constructor(n,t,r){this.provider=n,this.hover=t,this.ordinal=r}}e.HoverProviderResult=m;function _(i,n,t,r,u){return be(this,void 0,void 0,function*(){try{const f=yield Promise.resolve(i.provideHover(t,r,u));if(f&&s(f))return new m(i,f,n)}catch(f){(0,y.onUnexpectedExternalError)(f)}})}function v(i,n,t,r){const f=i.ordered(n).map((d,l)=>_(d,l,n,t,r));return L.AsyncIterableObject.fromPromises(f).coalesce()}e.getHover=v;function C(i,n,t,r){return v(i,n,t,r).map(u=>u.hover).toPromise()}e.getHoverPromise=C,(0,D.registerModelAndPositionCommand)("_executeHoverProvider",(i,n,t)=>{const r=i.get(S.ILanguageFeaturesService);return C(r.hoverProvider,n,t,I.CancellationToken.None)});function s(i){const n=typeof i.range<"u",t=typeof i.contents<"u"&&i.contents&&i.contents.length>0;return n&&t}}),define(te[247],ie([1,0,7,13,14,57,2,116,12,5,42,356,673,28,55,18]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderMarkdownHovers=e.MarkdownHoverParticipant=e.MarkdownHover=void 0;const u=L.$;class f{constructor(c,a,g,h,p){this.owner=c,this.range=a,this.contents=g,this.isBeforeContent=h,this.ordinal=p}isValidForHoverAnchor(c){return c.type===1&&this.range.startColumn<=c.range.startColumn&&this.range.endColumn>=c.range.endColumn}}e.MarkdownHover=f;let d=class{constructor(c,a,g,h,p){this._editor=c,this._languageService=a,this._openerService=g,this._configurationService=h,this._languageFeaturesService=p,this.hoverOrdinal=3}createLoadingMessage(c){return new f(this,c.range,[new D.MarkdownString().appendText(i.localize(0,null))],!1,2e3)}computeSync(c,a){if(!this._editor.hasModel()||c.type!==1)return[];const g=this._editor.getModel(),h=c.range.startLineNumber,p=g.getLineMaxColumn(h),b=[];let w=1e3;const E=g.getLineLength(h),k=g.getLanguageIdAtPosition(c.range.startLineNumber,c.range.startColumn),M=this._editor.getOption(116),R=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:k});let B=!1;M>=0&&E>M&&c.range.startColumn>=M&&(B=!0,b.push(new f(this,c.range,[{value:i.localize(1,null)}],!1,w++))),!B&&typeof R=="number"&&E>=R&&b.push(new f(this,c.range,[{value:i.localize(2,null)}],!1,w++));let T=!1;for(const N of a){const A=N.range.startLineNumber===h?N.range.startColumn:1,P=N.range.endLineNumber===h?N.range.endColumn:p,O=N.options.hoverMessage;if(!O||(0,D.isEmptyMarkdownString)(O))continue;N.options.beforeContentClassName&&(T=!0);const x=new v.Range(c.range.startLineNumber,A,c.range.startLineNumber,P);b.push(new f(this,x,(0,I.asArray)(O),T,w++))}return b}computeAsync(c,a,g){if(!this._editor.hasModel()||c.type!==1)return y.AsyncIterableObject.EMPTY;const h=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(h))return y.AsyncIterableObject.EMPTY;const p=new _.Position(c.range.startLineNumber,c.range.startColumn);return(0,s.getHover)(this._languageFeaturesService.hoverProvider,h,p,g).filter(b=>!(0,D.isEmptyMarkdownString)(b.hover.contents)).map(b=>{const w=b.hover.range?v.Range.lift(b.hover.range):c.range;return new f(this,w,b.hover.contents,!1,b.ordinal)})}renderHoverParts(c,a){return l(c,a,this._editor,this._languageService,this._openerService)}};e.MarkdownHoverParticipant=d,e.MarkdownHoverParticipant=d=Ie([ge(1,C.ILanguageService),ge(2,t.IOpenerService),ge(3,n.IConfigurationService),ge(4,r.ILanguageFeaturesService)],d);function l(o,c,a,g,h){c.sort((b,w)=>b.ordinal-w.ordinal);const p=new S.DisposableStore;for(const b of c)for(const w of b.contents){if((0,D.isEmptyMarkdownString)(w))continue;const E=u("div.hover-row.markdown-hover"),k=L.append(E,u("div.hover-contents")),M=p.add(new m.MarkdownRenderer({editor:a},g,h));p.add(M.onDidRenderAsync(()=>{k.className="hover-contents code-hover-contents",o.onContentsChanged()}));const R=p.add(M.render(w));k.appendChild(R.element),o.fragment.appendChild(E)}return p}e.renderMarkdownHovers=l}),define(te[806],ie([1,0,2,10,16,244,71,5,24,22,32,50,299,676,67,201,242]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentationToTabsCommand=e.IndentationToSpacesCommand=e.AutoIndentOnPaste=e.AutoIndentOnPasteCommand=e.ReindentSelectedLinesAction=e.ReindentLinesAction=e.DetectIndentation=e.ChangeTabDisplaySize=e.IndentUsingSpaces=e.IndentUsingTabs=e.ChangeIndentationSizeAction=e.IndentationToTabsAction=e.IndentationToSpacesAction=e.getReindentEditOperations=void 0;function f(B,T,N,A,P){if(B.getLineCount()===1&&B.getLineMaxColumn(1)===1)return[];const O=T.getLanguageConfiguration(B.getLanguageId()).indentationRules;if(!O)return[];for(A=Math.min(A,B.getLineCount());N<=A&&O.unIndentedLinePattern;){const H=B.getLineContent(N);if(!O.unIndentedLinePattern.test(H))break;N++}if(N>A-1)return[];const{tabSize:x,indentSize:W,insertSpaces:U}=B.getOptions(),F=(H,V)=>(V=V||1,D.ShiftCommand.shiftIndent(H,H.length+V,x,W,U)),G=(H,V)=>(V=V||1,D.ShiftCommand.unshiftIndent(H,H.length+V,x,W,U)),Y=[];let ne;const se=B.getLineContent(N);let J=se;if(P!=null){ne=P;const H=I.getLeadingWhitespace(se);J=ne+se.substring(H.length),O.decreaseIndentPattern&&O.decreaseIndentPattern.test(J)&&(ne=G(ne),J=ne+se.substring(H.length)),se!==J&&Y.push(S.EditOperation.replaceMove(new _.Selection(N,1,N,H.length+1),(0,r.normalizeIndentation)(ne,W,U)))}else ne=I.getLeadingWhitespace(se);let q=ne;O.increaseIndentPattern&&O.increaseIndentPattern.test(J)?(q=F(q),ne=F(ne)):O.indentNextLinePattern&&O.indentNextLinePattern.test(J)&&(q=F(q)),N++;for(let H=N;H<=A;H++){const V=B.getLineContent(H),Z=I.getLeadingWhitespace(V),ee=q+V.substring(Z.length);O.decreaseIndentPattern&&O.decreaseIndentPattern.test(ee)&&(q=G(q),ne=G(ne)),Z!==q&&Y.push(S.EditOperation.replaceMove(new _.Selection(H,1,H,Z.length+1),(0,r.normalizeIndentation)(q,W,U))),!(O.unIndentedLinePattern&&O.unIndentedLinePattern.test(V))&&(O.increaseIndentPattern&&O.increaseIndentPattern.test(ee)?(ne=F(ne),q=ne):O.indentNextLinePattern&&O.indentNextLinePattern.test(ee)?q=F(q):q=ne)}return Y}e.getReindentEditOperations=f;class d extends y.EditorAction{constructor(){super({id:d.ID,label:n.localize(0,null),alias:"Convert Indentation to Spaces",precondition:v.EditorContextKeys.writable})}run(T,N){const A=N.getModel();if(!A)return;const P=A.getOptions(),O=N.getSelection();if(!O)return;const x=new M(O,P.tabSize);N.pushUndoStop(),N.executeCommands(this.id,[x]),N.pushUndoStop(),A.updateOptions({insertSpaces:!0})}}e.IndentationToSpacesAction=d,d.ID="editor.action.indentationToSpaces";class l extends y.EditorAction{constructor(){super({id:l.ID,label:n.localize(1,null),alias:"Convert Indentation to Tabs",precondition:v.EditorContextKeys.writable})}run(T,N){const A=N.getModel();if(!A)return;const P=A.getOptions(),O=N.getSelection();if(!O)return;const x=new R(O,P.tabSize);N.pushUndoStop(),N.executeCommands(this.id,[x]),N.pushUndoStop(),A.updateOptions({insertSpaces:!1})}}e.IndentationToTabsAction=l,l.ID="editor.action.indentationToTabs";class o extends y.EditorAction{constructor(T,N,A){super(A),this.insertSpaces=T,this.displaySizeOnly=N}run(T,N){const A=T.get(t.IQuickInputService),P=T.get(s.IModelService),O=N.getModel();if(!O)return;const x=P.getCreationOptions(O.getLanguageId(),O.uri,O.isForSimpleWidget),W=O.getOptions(),U=[1,2,3,4,5,6,7,8].map(G=>({id:G.toString(),label:G.toString(),description:G===x.tabSize&&G===W.tabSize?n.localize(2,null):G===x.tabSize?n.localize(3,null):G===W.tabSize?n.localize(4,null):void 0})),F=Math.min(O.getOptions().tabSize-1,7);setTimeout(()=>{A.pick(U,{placeHolder:n.localize(5,null),activeItem:U[F]}).then(G=>{if(G&&O&&!O.isDisposed()){const Y=parseInt(G.label,10);this.displaySizeOnly?O.updateOptions({tabSize:Y}):O.updateOptions({tabSize:Y,indentSize:Y,insertSpaces:this.insertSpaces})}})},50)}}e.ChangeIndentationSizeAction=o;class c extends o{constructor(){super(!1,!1,{id:c.ID,label:n.localize(6,null),alias:"Indent Using Tabs",precondition:void 0})}}e.IndentUsingTabs=c,c.ID="editor.action.indentUsingTabs";class a extends o{constructor(){super(!0,!1,{id:a.ID,label:n.localize(7,null),alias:"Indent Using Spaces",precondition:void 0})}}e.IndentUsingSpaces=a,a.ID="editor.action.indentUsingSpaces";class g extends o{constructor(){super(!0,!0,{id:g.ID,label:n.localize(8,null),alias:"Change Tab Display Size",precondition:void 0})}}e.ChangeTabDisplaySize=g,g.ID="editor.action.changeTabDisplaySize";class h extends y.EditorAction{constructor(){super({id:h.ID,label:n.localize(9,null),alias:"Detect Indentation from Content",precondition:void 0})}run(T,N){const A=T.get(s.IModelService),P=N.getModel();if(!P)return;const O=A.getCreationOptions(P.getLanguageId(),P.uri,P.isForSimpleWidget);P.detectIndentation(O.insertSpaces,O.tabSize)}}e.DetectIndentation=h,h.ID="editor.action.detectIndentation";class p extends y.EditorAction{constructor(){super({id:"editor.action.reindentlines",label:n.localize(10,null),alias:"Reindent Lines",precondition:v.EditorContextKeys.writable})}run(T,N){const A=T.get(C.ILanguageConfigurationService),P=N.getModel();if(!P)return;const O=f(P,A,1,P.getLineCount());O.length>0&&(N.pushUndoStop(),N.executeEdits(this.id,O),N.pushUndoStop())}}e.ReindentLinesAction=p;class b extends y.EditorAction{constructor(){super({id:"editor.action.reindentselectedlines",label:n.localize(11,null),alias:"Reindent Selected Lines",precondition:v.EditorContextKeys.writable})}run(T,N){const A=T.get(C.ILanguageConfigurationService),P=N.getModel();if(!P)return;const O=N.getSelections();if(O===null)return;const x=[];for(const W of O){let U=W.startLineNumber,F=W.endLineNumber;if(U!==F&&W.endColumn===1&&F--,U===1){if(U===F)continue}else U--;const G=f(P,A,U,F);x.push(...G)}x.length>0&&(N.pushUndoStop(),N.executeEdits(this.id,x),N.pushUndoStop())}}e.ReindentSelectedLinesAction=b;class w{constructor(T,N){this._initialSelection=N,this._edits=[],this._selectionId=null;for(const A of T)A.range&&typeof A.text=="string"&&this._edits.push(A)}getEditOperations(T,N){for(const P of this._edits)N.addEditOperation(m.Range.lift(P.range),P.text);let A=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(A=!0,this._selectionId=N.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(A=!0,this._selectionId=N.trackSelection(this._initialSelection,!1))),A||(this._selectionId=N.trackSelection(this._initialSelection))}computeCursorState(T,N){return N.getTrackedSelection(this._selectionId)}}e.AutoIndentOnPasteCommand=w;let E=class{constructor(T,N){this.editor=T,this._languageConfigurationService=N,this.callOnDispose=new L.DisposableStore,this.callOnModel=new L.DisposableStore,this.callOnDispose.add(T.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(T.onDidChangeModel(()=>this.update())),this.callOnDispose.add(T.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(this.editor.getOption(12)<4||this.editor.getOption(55))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:T})=>{this.trigger(T)}))}trigger(T){const N=this.editor.getSelections();if(N===null||N.length>1)return;const A=this.editor.getModel();if(!A||!A.tokenization.isCheapToTokenize(T.getStartPosition().lineNumber))return;const P=this.editor.getOption(12),{tabSize:O,indentSize:x,insertSpaces:W}=A.getOptions(),U=[],F={shiftIndent:se=>D.ShiftCommand.shiftIndent(se,se.length+1,O,x,W),unshiftIndent:se=>D.ShiftCommand.unshiftIndent(se,se.length+1,O,x,W)};let G=T.startLineNumber;for(;G<=T.endLineNumber;){if(this.shouldIgnoreLine(A,G)){G++;continue}break}if(G>T.endLineNumber)return;let Y=A.getLineContent(G);if(!/\S/.test(Y.substring(0,T.startColumn-1))){const se=(0,u.getGoodIndentForLine)(P,A,A.getLanguageId(),G,F,this._languageConfigurationService);if(se!==null){const J=I.getLeadingWhitespace(Y),q=i.getSpaceCnt(se,O),H=i.getSpaceCnt(J,O);if(q!==H){const V=i.generateIndent(q,O,W);U.push({range:new m.Range(G,1,G,J.length+1),text:V}),Y=V+Y.substr(J.length)}else{const V=(0,u.getIndentMetadata)(A,G,this._languageConfigurationService);if(V===0||V===8)return}}}const ne=G;for(;GA.tokenization.getLineTokens(q),getLanguageId:()=>A.getLanguageId(),getLanguageIdAtPosition:(q,H)=>A.getLanguageIdAtPosition(q,H)},getLineContent:q=>q===ne?Y:A.getLineContent(q)},J=(0,u.getGoodIndentForLine)(P,se,A.getLanguageId(),G+1,F,this._languageConfigurationService);if(J!==null){const q=i.getSpaceCnt(J,O),H=i.getSpaceCnt(I.getLeadingWhitespace(A.getLineContent(G+1)),O);if(q!==H){const V=q-H;for(let Z=G+1;Z<=T.endLineNumber;Z++){const ee=A.getLineContent(Z),le=I.getLeadingWhitespace(ee),de=i.getSpaceCnt(le,O)+V,ce=i.generateIndent(de,O,W);ce!==le&&U.push({range:new m.Range(Z,1,Z,le.length+1),text:ce})}}}}if(U.length>0){this.editor.pushUndoStop();const se=new w(U,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",se),this.editor.pushUndoStop()}}shouldIgnoreLine(T,N){T.tokenization.forceTokenization(N);const A=T.getLineFirstNonWhitespaceColumn(N);if(A===0)return!0;const P=T.tokenization.getLineTokens(N);if(P.getCount()>0){const O=P.findTokenIndexAtOffset(A);if(O>=0&&P.getStandardTokenType(O)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};e.AutoIndentOnPaste=E,E.ID="editor.contrib.autoIndentOnPaste",e.AutoIndentOnPaste=E=Ie([ge(1,C.ILanguageConfigurationService)],E);function k(B,T,N,A){if(B.getLineCount()===1&&B.getLineMaxColumn(1)===1)return;let P="";for(let x=0;x({selection:ce,index:ae,ignore:!1}));le.sort((ce,ae)=>C.Range.compareRangesUsingStarts(ce.selection,ae.selection));let ue=le[0];for(let ce=1;cenew v.Position(ae.positionLineNumber,ae.positionColumn)));const de=ee.getSelection();if(de===null)return;const ce=new S.TrimTrailingWhitespaceCommand(de,ue);ee.pushUndoStop(),ee.executeCommands(this.id,[ce]),ee.pushUndoStop()}}e.TrimTrailingWhitespaceAction=M,M.ID="editor.action.trimTrailingWhitespace";class R extends y.EditorAction{constructor(){super({id:"editor.action.deleteLines",label:u.localize(14,null),alias:"Delete Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:3113,weight:100}})}run(Z,ee){if(!ee.hasModel())return;const le=this._getLinesToRemove(ee),ue=ee.getModel();if(ue.getLineCount()===1&&ue.getLineMaxColumn(1)===1)return;let de=0;const ce=[],ae=[];for(let X=0,K=le.length;X1&&(Q-=1,re=ue.getLineMaxColumn(Q)),ce.push(_.EditOperation.replace(new s.Selection(Q,re,j,oe),"")),ae.push(new s.Selection(Q-de,z.positionColumn,Q-de,z.positionColumn)),de+=z.endLineNumber-z.startLineNumber+1}ee.pushUndoStop(),ee.executeEdits(this.id,ce,ae),ee.pushUndoStop()}_getLinesToRemove(Z){const ee=Z.getSelections().map(de=>{let ce=de.endLineNumber;return de.startLineNumberde.startLineNumber===ce.startLineNumber?de.endLineNumber-ce.endLineNumber:de.startLineNumber-ce.startLineNumber);const le=[];let ue=ee[0];for(let de=1;de=ee[de].startLineNumber?ue.endLineNumber=ee[de].endLineNumber:(le.push(ue),ue=ee[de]);return le.push(ue),le}}e.DeleteLinesAction=R;class B extends y.EditorAction{constructor(){super({id:"editor.action.indentLines",label:u.localize(15,null),alias:"Indent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2142,weight:100}})}run(Z,ee){const le=ee._getViewModel();le&&(ee.pushUndoStop(),ee.executeCommands(this.id,m.TypeOperations.indent(le.cursorConfig,ee.getModel(),ee.getSelections())),ee.pushUndoStop())}}e.IndentLinesAction=B;class T extends y.EditorAction{constructor(){super({id:"editor.action.outdentLines",label:u.localize(16,null),alias:"Outdent Line",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2140,weight:100}})}run(Z,ee){I.CoreEditingCommands.Outdent.runEditorCommand(Z,ee,null)}}class N extends y.EditorAction{constructor(){super({id:"editor.action.insertLineBefore",label:u.localize(17,null),alias:"Insert Line Above",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})}run(Z,ee){const le=ee._getViewModel();le&&(ee.pushUndoStop(),ee.executeCommands(this.id,m.TypeOperations.lineInsertBefore(le.cursorConfig,ee.getModel(),ee.getSelections())))}}e.InsertLineBeforeAction=N;class A extends y.EditorAction{constructor(){super({id:"editor.action.insertLineAfter",label:u.localize(18,null),alias:"Insert Line Below",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})}run(Z,ee){const le=ee._getViewModel();le&&(ee.pushUndoStop(),ee.executeCommands(this.id,m.TypeOperations.lineInsertAfter(le.cursorConfig,ee.getModel(),ee.getSelections())))}}e.InsertLineAfterAction=A;class P extends y.EditorAction{run(Z,ee){if(!ee.hasModel())return;const le=ee.getSelection(),ue=this._getRangesToDelete(ee),de=[];for(let X=0,K=ue.length-1;X_.EditOperation.replace(X,""));ee.pushUndoStop(),ee.executeEdits(this.id,ae,ce),ee.pushUndoStop()}}e.AbstractDeleteAllToBoundaryAction=P;class O extends P{constructor(){super({id:"deleteAllLeft",label:u.localize(19,null),alias:"Delete All Left",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(Z,ee){let le=null;const ue=[];let de=0;return ee.forEach(ce=>{let ae;if(ce.endColumn===1&&de>0){const X=ce.startLineNumber-de;ae=new s.Selection(X,ce.startColumn,X,ce.startColumn)}else ae=new s.Selection(ce.startLineNumber,ce.startColumn,ce.startLineNumber,ce.startColumn);de+=ce.endLineNumber-ce.startLineNumber,ce.intersectRanges(Z)?le=ae:ue.push(ae)}),le&&ue.unshift(le),ue}_getRangesToDelete(Z){const ee=Z.getSelections();if(ee===null)return[];let le=ee;const ue=Z.getModel();return ue===null?[]:(le.sort(C.Range.compareRangesUsingStarts),le=le.map(de=>{if(de.isEmpty())if(de.startColumn===1){const ce=Math.max(1,de.startLineNumber-1),ae=de.startLineNumber===1?1:ue.getLineLength(ce)+1;return new C.Range(ce,ae,de.startLineNumber,1)}else return new C.Range(de.startLineNumber,1,de.startLineNumber,de.startColumn);else return new C.Range(de.startLineNumber,1,de.endLineNumber,de.endColumn)}),le)}}e.DeleteAllLeftAction=O;class x extends P{constructor(){super({id:"deleteAllRight",label:u.localize(20,null),alias:"Delete All Right",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(Z,ee){let le=null;const ue=[];for(let de=0,ce=ee.length,ae=0;de{if(de.isEmpty()){const ce=ee.getLineMaxColumn(de.startLineNumber);return de.startColumn===ce?new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber+1,1):new C.Range(de.startLineNumber,de.startColumn,de.startLineNumber,ce)}return de});return ue.sort(C.Range.compareRangesUsingStarts),ue}}e.DeleteAllRightAction=x;class W extends y.EditorAction{constructor(){super({id:"editor.action.joinLines",label:u.localize(21,null),alias:"Join Lines",precondition:i.EditorContextKeys.writable,kbOpts:{kbExpr:i.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(Z,ee){const le=ee.getSelections();if(le===null)return;let ue=ee.getSelection();if(ue===null)return;le.sort(C.Range.compareRangesUsingStarts);const de=[],ce=le.reduce((j,re)=>j.isEmpty()?j.endLineNumber===re.startLineNumber?(ue.equalsSelection(j)&&(ue=re),re):re.startLineNumber>j.endLineNumber+1?(de.push(j),re):new s.Selection(j.startLineNumber,j.startColumn,re.endLineNumber,re.endColumn):re.startLineNumber>j.endLineNumber?(de.push(j),re):new s.Selection(j.startLineNumber,j.startColumn,re.endLineNumber,re.endColumn));de.push(ce);const ae=ee.getModel();if(ae===null)return;const X=[],K=[];let z=ue,Q=0;for(let j=0,re=de.length;j=1){let De=!0;Ee===""&&(De=!1),De&&(Ee.charAt(Ee.length-1)===" "||Ee.charAt(Ee.length-1)===" ")&&(De=!1,Ee=Ee.replace(/[\s\uFEFF\xA0]+$/g," "));const fe=Be.substr(ye-1);Ee+=(De?" ":"")+fe,De?pe=fe.length+1:pe=fe.length}else pe=0}const Ae=new C.Range(he,me,ve,we);if(!Ae.isEmpty()){let Re;oe.isEmpty()?(X.push(_.EditOperation.replace(Ae,Ee)),Re=new s.Selection(Ae.startLineNumber-Q,Ee.length-pe+1,he-Q,Ee.length-pe+1)):oe.startLineNumber===oe.endLineNumber?(X.push(_.EditOperation.replace(Ae,Ee)),Re=new s.Selection(oe.startLineNumber-Q,oe.startColumn,oe.endLineNumber-Q,oe.endColumn)):(X.push(_.EditOperation.replace(Ae,Ee)),Re=new s.Selection(oe.startLineNumber-Q,oe.startColumn,oe.startLineNumber-Q,Ee.length-Le)),C.Range.intersectRanges(Ae,ue)!==null?z=Re:K.push(Re)}Q+=Ae.endLineNumber-Ae.startLineNumber}K.unshift(z),ee.pushUndoStop(),ee.executeEdits(this.id,X,K),ee.pushUndoStop()}}e.JoinLinesAction=W;class U extends y.EditorAction{constructor(){super({id:"editor.action.transpose",label:u.localize(22,null),alias:"Transpose Characters around the Cursor",precondition:i.EditorContextKeys.writable})}run(Z,ee){const le=ee.getSelections();if(le===null)return;const ue=ee.getModel();if(ue===null)return;const de=[];for(let ce=0,ae=le.length;ce=z){if(K.lineNumber===ue.getLineCount())continue;const Q=new C.Range(K.lineNumber,Math.max(1,K.column-1),K.lineNumber+1,1),j=ue.getValueInRange(Q).split("").reverse().join("");de.push(new D.ReplaceCommand(new s.Selection(K.lineNumber,Math.max(1,K.column-1),K.lineNumber+1,1),j))}else{const Q=new C.Range(K.lineNumber,Math.max(1,K.column-1),K.lineNumber,K.column+1),j=ue.getValueInRange(Q).split("").reverse().join("");de.push(new D.ReplaceCommandThatPreservesSelection(Q,j,new s.Selection(K.lineNumber,K.column+1,K.lineNumber,K.column+1)))}}ee.pushUndoStop(),ee.executeCommands(this.id,de),ee.pushUndoStop()}}e.TransposeAction=U;class F extends y.EditorAction{run(Z,ee){const le=ee.getSelections();if(le===null)return;const ue=ee.getModel();if(ue===null)return;const de=ee.getOption(129),ce=[];for(const ae of le)if(ae.isEmpty()){const X=ae.getStartPosition(),K=ee.getConfiguredWordAtPosition(X);if(!K)continue;const z=new C.Range(X.lineNumber,K.startColumn,X.lineNumber,K.endColumn),Q=ue.getValueInRange(z);ce.push(_.EditOperation.replace(z,this._modifyText(Q,de)))}else{const X=ue.getValueInRange(ae);ce.push(_.EditOperation.replace(ae,this._modifyText(X,de)))}ee.pushUndoStop(),ee.executeEdits(this.id,ce),ee.pushUndoStop()}}e.AbstractCaseAction=F;class G extends F{constructor(){super({id:"editor.action.transformToUppercase",label:u.localize(23,null),alias:"Transform to Uppercase",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){return Z.toLocaleUpperCase()}}e.UpperCaseAction=G;class Y extends F{constructor(){super({id:"editor.action.transformToLowercase",label:u.localize(24,null),alias:"Transform to Lowercase",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){return Z.toLocaleLowerCase()}}e.LowerCaseAction=Y;class ne{constructor(Z,ee){this._pattern=Z,this._flags=ee,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch{}}return this._actual}isSupported(){return this.get()!==null}}class se extends F{constructor(){super({id:"editor.action.transformToTitlecase",label:u.localize(25,null),alias:"Transform to Title Case",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){const le=se.titleBoundary.get();return le?Z.toLocaleLowerCase().replace(le,ue=>ue.toLocaleUpperCase()):Z}}e.TitleCaseAction=se,se.titleBoundary=new ne("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class J extends F{constructor(){super({id:"editor.action.transformToSnakecase",label:u.localize(26,null),alias:"Transform to Snake Case",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){const le=J.caseBoundary.get(),ue=J.singleLetters.get();return!le||!ue?Z:Z.replace(le,"$1_$2").replace(ue,"$1_$2$3").toLocaleLowerCase()}}e.SnakeCaseAction=J,J.caseBoundary=new ne("(\\p{Ll})(\\p{Lu})","gmu"),J.singleLetters=new ne("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class q extends F{constructor(){super({id:"editor.action.transformToCamelcase",label:u.localize(27,null),alias:"Transform to Camel Case",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){const le=q.wordBoundary.get();if(!le)return Z;const ue=Z.split(le);return ue.shift()+ue.map(ce=>ce.substring(0,1).toLocaleUpperCase()+ce.substring(1)).join("")}}e.CamelCaseAction=q,q.wordBoundary=new ne("[_\\s-]","gm");class H extends F{static isSupported(){return[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(ee=>ee.isSupported())}constructor(){super({id:"editor.action.transformToKebabcase",label:u.localize(28,null),alias:"Transform to Kebab Case",precondition:i.EditorContextKeys.writable})}_modifyText(Z,ee){const le=H.caseBoundary.get(),ue=H.singleLetters.get(),de=H.underscoreBoundary.get();return!le||!ue||!de?Z:Z.replace(de,"$1-$3").replace(le,"$1-$2").replace(ue,"$1-$2").toLocaleLowerCase()}}e.KebabCaseAction=H,H.caseBoundary=new ne("(\\p{Ll})(\\p{Lu})","gmu"),H.singleLetters=new ne("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),H.underscoreBoundary=new ne("(\\S)(_)(\\S)","gm"),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(c),(0,y.registerEditorAction)(a),(0,y.registerEditorAction)(h),(0,y.registerEditorAction)(p),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(k),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(R),(0,y.registerEditorAction)(B),(0,y.registerEditorAction)(T),(0,y.registerEditorAction)(N),(0,y.registerEditorAction)(A),(0,y.registerEditorAction)(O),(0,y.registerEditorAction)(x),(0,y.registerEditorAction)(W),(0,y.registerEditorAction)(U),(0,y.registerEditorAction)(G),(0,y.registerEditorAction)(Y),J.caseBoundary.isSupported()&&J.singleLetters.isSupported()&&(0,y.registerEditorAction)(J),q.wordBoundary.isSupported()&&(0,y.registerEditorAction)(q),se.titleBoundary.isSupported()&&(0,y.registerEditorAction)(se),H.isSupported()&&(0,y.registerEditorAction)(H)}),define(te[809],ie([1,0,2,16]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class y extends L.Disposable{constructor(S){super(),this._editor=S,this._register(this._editor.onMouseDown(m=>{const _=this._editor.getOption(116);_>=0&&m.target.type===6&&m.target.position.column>=_&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}y.ID="editor.contrib.longLinesHelper",(0,I.registerEditorContribution)(y.ID,y,2)}),define(te[189],ie([1,0,181,45,6,57,2,16,5,116,687,15,55,7,460]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.MessageController=void 0;let r=t=class{static get(l){return l.getContribution(t.ID)}constructor(l,o,c){this._openerService=c,this._messageWidget=new S.MutableDisposable,this._messageListeners=new S.DisposableStore,this._mouseOverMessage=!1,this._editor=l,this._visible=t.MESSAGE_VISIBLE.bindTo(o)}dispose(){var l;(l=this._message)===null||l===void 0||l.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(l,o){(0,I.alert)((0,D.isMarkdownString)(l)?l.value:l),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=(0,D.isMarkdownString)(l)?(0,L.renderMarkdown)(l,{actionHandler:{callback:a=>(0,v.openLinkFromMarkdown)(this._openerService,a,(0,D.isMarkdownString)(l)?l.isTrusted:void 0),disposables:this._messageListeners}}):void 0,this._messageWidget.value=new f(this._editor,o,typeof l=="string"?l:this._message.element),this._messageListeners.add(y.Event.debounce(this._editor.onDidBlurEditorText,(a,g)=>g,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&n.isAncestor(n.getActiveElement(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(n.addDisposableListener(this._messageWidget.value.getDomNode(),n.EventType.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let c;this._messageListeners.add(this._editor.onMouseMove(a=>{a.target.position&&(c?c.containsPosition(a.target.position)||this.closeMessage():c=new _.Range(o.lineNumber-3,1,a.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(f.fadeOut(this._messageWidget.value))}};e.MessageController=r,r.ID="editor.contrib.messageController",r.MESSAGE_VISIBLE=new s.RawContextKey("messageVisible",!1,C.localize(0,null)),e.MessageController=r=t=Ie([ge(1,s.IContextKeyService),ge(2,i.IOpenerService)],r);const u=m.EditorCommand.bindToContribution(r.get);(0,m.registerEditorCommand)(new u({id:"leaveEditorMessage",precondition:r.MESSAGE_VISIBLE,handler:d=>d.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class f{static fadeOut(l){const o=()=>{l.dispose(),clearTimeout(c),l.getDomNode().removeEventListener("animationend",o)},c=setTimeout(o,110);return l.getDomNode().addEventListener("animationend",o),l.getDomNode().classList.add("fadeOut"),{dispose:o}}constructor(l,{lineNumber:o,column:c},a){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=l,this._editor.revealLinesInCenterIfOutsideViewport(o,o,0),this._position={lineNumber:o,column:c},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const g=document.createElement("div");g.classList.add("anchor","top"),this._domNode.appendChild(g);const h=document.createElement("div");typeof a=="string"?(h.classList.add("message"),h.textContent=a):(a.classList.add("message"),h.appendChild(a)),this._domNode.appendChild(h);const p=document.createElement("div");p.classList.add("anchor","below"),this._domNode.appendChild(p),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(l){this._domNode.classList.toggle("below",l===2)}}(0,m.registerEditorContribution)(r.ID,r,4)}),define(te[810],ie([1,0,57,2,16,189,694]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReadOnlyMessageController=void 0;class m extends I.Disposable{constructor(v){super(),this.editor=v,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){const v=D.MessageController.get(this.editor);if(v&&this.editor.hasModel()){let C=this.editor.getOptions().get(91);C||(this.editor.isSimpleWidget?C=new L.MarkdownString(S.localize(0,null)):C=new L.MarkdownString(S.localize(1,null))),v.showMessage(C,this.editor.getPosition())}}}e.ReadOnlyMessageController=m,m.ID="editor.contrib.readOnlyMessageController",(0,y.registerEditorContribution)(m.ID,m,2)}),define(te[811],ie([1,0,13,19,9,16,12,5,24,22,302,550,697,30,25,18,65,20,21]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.provideSelectionRanges=e.SmartSelectController=void 0;class o{constructor(w,E){this.index=w,this.ranges=E}mov(w){const E=this.index+(w?1:-1);if(E<0||E>=this.ranges.length)return this;const k=new o(E,this.ranges);return k.ranges[E].equalsRange(this.ranges[this.index])?k.mov(w):k}}let c=l=class{static get(w){return w.getContribution(l.ID)}constructor(w,E){this._editor=w,this._languageFeaturesService=E,this._ignoreSelection=!1}dispose(){var w;(w=this._selectionListener)===null||w===void 0||w.dispose()}run(w){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const E=this._editor.getSelections(),k=this._editor.getModel();if(this._state||(yield p(this._languageFeaturesService.selectionRangeProvider,k,E.map(R=>R.getPosition()),this._editor.getOption(112),I.CancellationToken.None).then(R=>{var B;if(!(!L.isNonEmptyArray(R)||R.length!==E.length)&&!(!this._editor.hasModel()||!L.equals(this._editor.getSelections(),E,(T,N)=>T.equalsSelection(N)))){for(let T=0;TN.containsPosition(E[T].getStartPosition())&&N.containsPosition(E[T].getEndPosition())),R[T].unshift(E[T]);this._state=R.map(T=>new o(0,T)),(B=this._selectionListener)===null||B===void 0||B.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var T;this._ignoreSelection||((T=this._selectionListener)===null||T===void 0||T.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(R=>R.mov(w));const M=this._state.map(R=>_.Selection.fromPositions(R.ranges[R.index].getStartPosition(),R.ranges[R.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(M)}finally{this._ignoreSelection=!1}})}};e.SmartSelectController=c,c.ID="editor.contrib.smartSelectController",e.SmartSelectController=c=l=Ie([ge(1,r.ILanguageFeaturesService)],c);class a extends D.EditorAction{constructor(w,E){super(E),this._forward=w}run(w,E){return be(this,void 0,void 0,function*(){const k=c.get(E);k&&(yield k.run(this._forward))})}}class g extends a{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:i.localize(0,null),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:v.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(1,null),order:2}})}}t.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");class h extends a{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:i.localize(2,null),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:v.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"1_basic",title:i.localize(3,null),order:3}})}}(0,D.registerEditorContribution)(c.ID,c,4),(0,D.registerEditorAction)(g),(0,D.registerEditorAction)(h);function p(b,w,E,k,M){return be(this,void 0,void 0,function*(){const R=b.all(w).concat(new s.WordSelectionRangeProvider(k.selectSubwords));R.length===1&&R.unshift(new C.BracketSelectionRangeProvider);const B=[],T=[];for(const N of R)B.push(Promise.resolve(N.provideSelectionRanges(w,E,M)).then(A=>{if(L.isNonEmptyArray(A)&&A.length===E.length)for(let P=0;P{if(N.length===0)return[];N.sort((x,W)=>S.Position.isBefore(x.getStartPosition(),W.getStartPosition())?1:S.Position.isBefore(W.getStartPosition(),x.getStartPosition())||S.Position.isBefore(x.getEndPosition(),W.getEndPosition())?-1:S.Position.isBefore(W.getEndPosition(),x.getEndPosition())?1:0);const A=[];let P;for(const x of N)(!P||m.Range.containsRange(x,P)&&!m.Range.equalsRange(x,P))&&(A.push(x),P=x);if(!k.selectLeadingAndTrailingWhitespace)return A;const O=[A[0]];for(let x=1;x0&&this.word.startColumn===h.startColumn&&this.word.endColumn=0&&k.resolve(L.CancellationToken.None)}return g}};d=Ie([ge(5,i.ISuggestMemoryService)],d);let l=class{constructor(a,g,h,p){this._getEditorOption=a,this._languageFeatureService=g,this._clipboardService=h,this._suggestMemoryService=p}provideInlineCompletions(a,g,h,p){var b;return be(this,void 0,void 0,function*(){if(h.selectedSuggestionInfo)return;const w=this._getEditorOption(88,a);if(s.QuickSuggestionsOptions.isAllOff(w))return;a.tokenization.tokenizeIfCheap(g.lineNumber);const E=a.tokenization.getLineTokens(g.lineNumber),k=E.getStandardTokenType(E.findTokenIndexAtOffset(Math.max(g.column-1-1,0)));if(s.QuickSuggestionsOptions.valueFor(w,k)!=="inline")return;let M=a.getWordAtPosition(g),R;if(M?.word||(R=this._getTriggerCharacterInfo(a,g)),!M?.word&&!R||(M||(M=a.getWordUntilPosition(g)),M.endColumn!==g.column))return;let B;const T=a.getValueInRange(new _.Range(g.lineNumber,1,g.lineNumber,g.column));if(!R&&(!((b=this._lastResult)===null||b===void 0)&&b.canBeReused(a,g.lineNumber,M))){const N=new C.LineContext(T,g.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=N,this._lastResult.acquire(),B=this._lastResult}else{const N=yield(0,s.provideSuggestionItems)(this._languageFeatureService.completionProvider,a,g,new s.CompletionOptions(void 0,void 0,R?.providers),R&&{triggerKind:1,triggerCharacter:R.ch},p);let A;N.needsClipboard&&(A=yield this._clipboardService.readText());const P=new C.CompletionModel(N.items,g.column,new C.LineContext(T,0),n.WordDistance.None,this._getEditorOption(117,a),this._getEditorOption(111,a),{boostFullMatch:!1,firstMatchCanBeWeak:!1},A);B=new d(a,g.lineNumber,M,P,N,this._suggestMemoryService)}return this._lastResult=B,B})}handleItemDidShow(a,g){g.completion.resolve(L.CancellationToken.None)}freeInlineCompletions(a){a.release()}_getTriggerCharacterInfo(a,g){var h;const p=a.getValueInRange(_.Range.fromPositions({lineNumber:g.lineNumber,column:g.column-1},g)),b=new Set;for(const w of this._languageFeatureService.completionProvider.all(a))!((h=w.triggerCharacters)===null||h===void 0)&&h.includes(p)&&b.add(w);if(b.size!==0)return{providers:b,ch:p}}};e.SuggestInlineCompletions=l,e.SuggestInlineCompletions=l=Ie([ge(1,v.ILanguageFeaturesService),ge(2,t.IClipboardService),ge(3,i.ISuggestMemoryService)],l);let o=u=class{constructor(a,g,h,p){if(++u._counter===1){const b=p.createInstance(l,(w,E)=>{var k;return((k=h.listCodeEditors().find(R=>R.getModel()===E))!==null&&k!==void 0?k:a).getOption(w)});u._disposable=g.inlineCompletionsProvider.register("*",b)}}dispose(){var a;--u._counter===0&&((a=u._disposable)===null||a===void 0||a.dispose(),u._disposable=void 0)}};o._counter=0,o=u=Ie([ge(1,v.ILanguageFeaturesService),ge(2,m.ICodeEditorService),ge(3,r.IInstantiationService)],o),(0,S.registerEditorContribution)("suggest.inlineCompletionsProvider",o,0)}),define(te[813],ie([1,0,59,16,709]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class D extends I.EditorAction{constructor(){super({id:"editor.action.forceRetokenize",label:y.localize(0,null),alias:"Developer: Force Retokenize",precondition:void 0})}run(m,_){if(!_.hasModel())return;const v=_.getModel();v.tokenization.resetTokenization();const C=new L.StopWatch;v.tokenization.forceTokenization(v.getLineCount()),C.stop(),console.log(`tokenization took ${C.elapsed()}`)}}(0,I.registerEditorAction)(D)}),define(te[814],ie([1,0,2,46,16,33,711,157]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnusualLineTerminatorsDetector=void 0;const _="ignoreUnusualLineTerminators";function v(i,n,t){i.setModelProperty(n.uri,_,t)}function C(i,n){return i.getModelProperty(n.uri,_)}let s=class extends L.Disposable{constructor(n,t,r){super(),this._editor=n,this._dialogService=t,this._codeEditorService=r,this._isPresentingDialog=!1,this._config=this._editor.getOption(125),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(125)&&(this._config=this._editor.getOption(125),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(u=>{u.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}_checkForUnusualLineTerminators(){return be(this,void 0,void 0,function*(){if(this._config==="off"||!this._editor.hasModel())return;const n=this._editor.getModel();if(!n.mightContainUnusualLineTerminators()||C(this._codeEditorService,n)===!0||this._editor.getOption(90))return;if(this._config==="auto"){n.removeUnusualLineTerminators(this._editor.getSelections());return}if(this._isPresentingDialog)return;let r;try{this._isPresentingDialog=!0,r=yield this._dialogService.confirm({title:S.localize(0,null),message:S.localize(1,null),detail:S.localize(2,null,(0,I.basename)(n.uri)),primaryButton:S.localize(3,null),cancelButton:S.localize(4,null)})}finally{this._isPresentingDialog=!1}if(!r.confirmed){v(this._codeEditorService,n,!0);return}n.removeUnusualLineTerminators(this._editor.getSelections())})}};e.UnusualLineTerminatorsDetector=s,s.ID="editor.contrib.unusualLineTerminatorsDetector",e.UnusualLineTerminatorsDetector=s=Ie([ge(1,m.IDialogService),ge(2,D.ICodeEditorService)],s),(0,y.registerEditorContribution)(s.ID,s,1)}),define(te[357],ie([1,0,16,123,39,72,176,144,12,5,24,22,32,714,88,15,237]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeleteInsideWord=e.DeleteWordRight=e.DeleteWordEndRight=e.DeleteWordStartRight=e.DeleteWordLeft=e.DeleteWordEndLeft=e.DeleteWordStartLeft=e.DeleteWordRightCommand=e.DeleteWordLeftCommand=e.DeleteWordCommand=e.CursorWordAccessibilityRightSelect=e.CursorWordAccessibilityRight=e.CursorWordRightSelect=e.CursorWordEndRightSelect=e.CursorWordStartRightSelect=e.CursorWordRight=e.CursorWordEndRight=e.CursorWordStartRight=e.CursorWordAccessibilityLeftSelect=e.CursorWordAccessibilityLeft=e.CursorWordLeftSelect=e.CursorWordEndLeftSelect=e.CursorWordStartLeftSelect=e.CursorWordLeft=e.CursorWordEndLeft=e.CursorWordStartLeft=e.WordRightCommand=e.WordLeftCommand=e.MoveWordCommand=void 0;class f extends L.EditorCommand{constructor(q){super(q),this._inSelectionMode=q.inSelectionMode,this._wordNavigationType=q.wordNavigationType}runEditorCommand(q,H,V){if(!H.hasModel())return;const Z=(0,m.getMapForWordSeparators)(H.getOption(129)),ee=H.getModel(),ue=H.getSelections().map(de=>{const ce=new _.Position(de.positionLineNumber,de.positionColumn),ae=this._move(Z,ee,ce,this._wordNavigationType);return this._moveTo(de,ae,this._inSelectionMode)});if(ee.pushStackElement(),H._getViewModel().setCursorStates("moveWordCommand",3,ue.map(de=>D.CursorState.fromModelSelection(de))),ue.length===1){const de=new _.Position(ue[0].positionLineNumber,ue[0].positionColumn);H.revealPosition(de,0)}}_moveTo(q,H,V){return V?new C.Selection(q.selectionStartLineNumber,q.selectionStartColumn,H.lineNumber,H.column):new C.Selection(H.lineNumber,H.column,H.lineNumber,H.column)}}e.MoveWordCommand=f;class d extends f{_move(q,H,V,Z){return S.WordOperations.moveWordLeft(q,H,V,Z)}}e.WordLeftCommand=d;class l extends f{_move(q,H,V,Z){return S.WordOperations.moveWordRight(q,H,V,Z)}}e.WordRightCommand=l;class o extends d{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}e.CursorWordStartLeft=o;class c extends d{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}e.CursorWordEndLeft=c;class a extends d{constructor(){var q;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:r.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(q=r.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||q===void 0?void 0:q.negate()),primary:2063,mac:{primary:527},weight:100}})}}e.CursorWordLeft=a;class g extends d{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}e.CursorWordStartLeftSelect=g;class h extends d{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}e.CursorWordEndLeftSelect=h;class p extends d{constructor(){var q;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:r.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(q=r.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||q===void 0?void 0:q.negate()),primary:3087,mac:{primary:1551},weight:100}})}}e.CursorWordLeftSelect=p;class b extends d{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(q,H,V,Z){return super._move((0,m.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),H,V,Z)}}e.CursorWordAccessibilityLeft=b;class w extends d{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(q,H,V,Z){return super._move((0,m.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),H,V,Z)}}e.CursorWordAccessibilityLeftSelect=w;class E extends l{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}e.CursorWordStartRight=E;class k extends l{constructor(){var q;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:r.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(q=r.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||q===void 0?void 0:q.negate()),primary:2065,mac:{primary:529},weight:100}})}}e.CursorWordEndRight=k;class M extends l{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}e.CursorWordRight=M;class R extends l{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}e.CursorWordStartRightSelect=R;class B extends l{constructor(){var q;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:r.ContextKeyExpr.and(s.EditorContextKeys.textInputFocus,(q=r.ContextKeyExpr.and(t.CONTEXT_ACCESSIBILITY_MODE_ENABLED,u.IsWindowsContext))===null||q===void 0?void 0:q.negate()),primary:3089,mac:{primary:1553},weight:100}})}}e.CursorWordEndRightSelect=B;class T extends l{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}e.CursorWordRightSelect=T;class N extends l{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(q,H,V,Z){return super._move((0,m.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),H,V,Z)}}e.CursorWordAccessibilityRight=N;class A extends l{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(q,H,V,Z){return super._move((0,m.getMapForWordSeparators)(y.EditorOptions.wordSeparators.defaultValue),H,V,Z)}}e.CursorWordAccessibilityRightSelect=A;class P extends L.EditorCommand{constructor(q){super(q),this._whitespaceHeuristics=q.whitespaceHeuristics,this._wordNavigationType=q.wordNavigationType}runEditorCommand(q,H,V){const Z=q.get(i.ILanguageConfigurationService);if(!H.hasModel())return;const ee=(0,m.getMapForWordSeparators)(H.getOption(129)),le=H.getModel(),ue=H.getSelections(),de=H.getOption(6),ce=H.getOption(11),ae=Z.getLanguageConfiguration(le.getLanguageId()).getAutoClosingPairs(),X=H._getViewModel(),K=ue.map(z=>{const Q=this._delete({wordSeparators:ee,model:le,selection:z,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:H.getOption(9),autoClosingBrackets:de,autoClosingQuotes:ce,autoClosingPairs:ae,autoClosedCharacters:X.getCursorAutoClosedCharacters()},this._wordNavigationType);return new I.ReplaceCommand(Q,"")});H.pushUndoStop(),H.executeCommands(this.id,K),H.pushUndoStop()}}e.DeleteWordCommand=P;class O extends P{_delete(q,H){const V=S.WordOperations.deleteWordLeft(q,H);return V||new v.Range(1,1,1,1)}}e.DeleteWordLeftCommand=O;class x extends P{_delete(q,H){const V=S.WordOperations.deleteWordRight(q,H);if(V)return V;const Z=q.model.getLineCount(),ee=q.model.getLineMaxColumn(Z);return new v.Range(Z,ee,Z,ee)}}e.DeleteWordRightCommand=x;class W extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartLeft=W;class U extends O{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndLeft=U;class F extends O{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}e.DeleteWordLeft=F;class G extends x{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordStartRight=G;class Y extends x{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:s.EditorContextKeys.writable})}}e.DeleteWordEndRight=Y;class ne extends x{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}e.DeleteWordRight=ne;class se extends L.EditorAction{constructor(){super({id:"deleteInsideWord",precondition:s.EditorContextKeys.writable,label:n.localize(0,null),alias:"Delete Word"})}run(q,H,V){if(!H.hasModel())return;const Z=(0,m.getMapForWordSeparators)(H.getOption(129)),ee=H.getModel(),ue=H.getSelections().map(de=>{const ce=S.WordOperations.deleteInsideWord(Z,ee,de);return new I.ReplaceCommand(ce,"")});H.pushUndoStop(),H.executeCommands(this.id,ue),H.pushUndoStop()}}e.DeleteInsideWord=se,(0,L.registerEditorCommand)(new o),(0,L.registerEditorCommand)(new c),(0,L.registerEditorCommand)(new a),(0,L.registerEditorCommand)(new g),(0,L.registerEditorCommand)(new h),(0,L.registerEditorCommand)(new p),(0,L.registerEditorCommand)(new E),(0,L.registerEditorCommand)(new k),(0,L.registerEditorCommand)(new M),(0,L.registerEditorCommand)(new R),(0,L.registerEditorCommand)(new B),(0,L.registerEditorCommand)(new T),(0,L.registerEditorCommand)(new b),(0,L.registerEditorCommand)(new w),(0,L.registerEditorCommand)(new N),(0,L.registerEditorCommand)(new A),(0,L.registerEditorCommand)(new W),(0,L.registerEditorCommand)(new U),(0,L.registerEditorCommand)(new F),(0,L.registerEditorCommand)(new G),(0,L.registerEditorCommand)(new Y),(0,L.registerEditorCommand)(new ne),(0,L.registerEditorAction)(se)}),define(te[815],ie([1,0,16,176,5,22,357,25]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorWordPartRightSelect=e.CursorWordPartRight=e.WordPartRightCommand=e.CursorWordPartLeftSelect=e.CursorWordPartLeft=e.WordPartLeftCommand=e.DeleteWordPartRight=e.DeleteWordPartLeft=void 0;class _ extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(f,d){const l=I.WordPartOperations.deleteWordPartLeft(f);return l||new y.Range(1,1,1,1)}}e.DeleteWordPartLeft=_;class v extends S.DeleteWordCommand{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:D.EditorContextKeys.writable,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(f,d){const l=I.WordPartOperations.deleteWordPartRight(f);if(l)return l;const o=f.model.getLineCount(),c=f.model.getLineMaxColumn(o);return new y.Range(o,c,o,c)}}e.DeleteWordPartRight=v;class C extends S.MoveWordCommand{_move(f,d,l,o){return I.WordPartOperations.moveWordPartLeft(f,d,l)}}e.WordPartLeftCommand=C;class s extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}e.CursorWordPartLeft=s,m.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class i extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}e.CursorWordPartLeftSelect=i,m.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class n extends S.MoveWordCommand{_move(f,d,l,o){return I.WordPartOperations.moveWordPartRight(f,d,l)}}e.WordPartRightCommand=n;class t extends n{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}e.CursorWordPartRight=t;class r extends n{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:D.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}e.CursorWordPartRightSelect=r,(0,L.registerEditorCommand)(new _),(0,L.registerEditorCommand)(new v),(0,L.registerEditorCommand)(new s),(0,L.registerEditorCommand)(new i),(0,L.registerEditorCommand)(new t),(0,L.registerEditorCommand)(new r)}),define(te[816],ie([1,0,7,2,16,17,472]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IPadShowKeyboard=void 0;class S extends I.Disposable{constructor(v){super(),this.editor=v,this.widget=null,D.isIOS&&(this._register(v.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const v=!this.editor.getOption(90);!this.widget&&v?this.widget=new m(this.editor):this.widget&&!v&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}e.IPadShowKeyboard=S,S.ID="editor.contrib.iPadShowKeyboard";class m extends I.Disposable{constructor(v){super(),this.editor=v,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(L.addDisposableListener(this._domNode,"touchstart",C=>{this.editor.focus()})),this._register(L.addDisposableListener(this._domNode,"focus",C=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return m.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}m.ID="editor.contrib.ShowKeyboardWidget",(0,y.registerEditorContribution)(S.ID,S,3)}),define(te[817],ie([1,0,7,36,2,16,29,124,154,42,131,93,473]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});let n=i=class extends y.Disposable{static get(l){return l.getContribution(i.ID)}constructor(l,o,c){super(),this._editor=l,this._languageService=c,this._widget=null,this._register(this._editor.onDidChangeModel(a=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(a=>this.stop())),this._register(S.TokenizationRegistry.onDidChange(a=>this.stop())),this._register(this._editor.onKeyUp(a=>a.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new f(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};n.ID="editor.contrib.inspectTokens",n=i=Ie([ge(1,C.IStandaloneThemeService),ge(2,v.ILanguageService)],n);class t extends D.EditorAction{constructor(){super({id:"editor.action.inspectTokens",label:s.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(l,o){const c=n.get(o);c?.launch()}}function r(d){let l="";for(let o=0,c=d.length;o_.NullState,tokenize:(a,g,h)=>(0,_.nullTokenize)(l,h),tokenizeEncoded:(a,g,h)=>(0,_.nullTokenizeEncoded)(c,h)}}class f extends y.Disposable{constructor(l,o){super(),this.allowEditorOverflow=!0,this._editor=l,this._languageService=o,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=u(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(c=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return f._ID}_compute(l){const o=this._getTokensAtLine(l.lineNumber);let c=0;for(let b=o.tokens1.length-1;b>=0;b--){const w=o.tokens1[b];if(l.column-1>=w.offset){c=b;break}}let a=0;for(let b=o.tokens2.length>>>1;b>=0;b--)if(l.column-1>=o.tokens2[b<<1]){a=b;break}const g=this._model.getLineContent(l.lineNumber);let h="";if(c{var w;return(w=g.lookupKeybinding(b.id))!==null&&w!==void 0?w:void 0}},l),{allowContextMenu:!0,skipTelemetry:typeof l?.telemetrySource=="string"})),this._options=l,this._menuService=o,this._contextKeyService=c,this._contextMenuService=a,this._sessionDisposables=this._store.add(new v.DisposableStore);const p=l?.telemetrySource;p&&this._store.add(this.actionBar.onDidRun(b=>h.publicLog2("workbenchActionExecuted",{id:b.action.id,from:p})))}setActions(d,l=[],o){var c,a,g;this._sessionDisposables.clear();const h=d.slice(),p=l.slice(),b=[];let w=0;const E=[];let k=!1;if(((c=this._options)===null||c===void 0?void 0:c.hiddenItemStrategy)!==-1)for(let M=0;MT?.id)),R=this._options.overflowBehavior.maxItems-M.size;let B=0;for(let T=0;T=R&&(h[T]=void 0,E[T]=N))}}(0,S.coalesceInPlace)(h),(0,S.coalesceInPlace)(E),super.setActions(h,D.Separator.join(E,p)),b.length>0&&this._sessionDisposables.add((0,L.addDisposableListener)(this.getElement(),"contextmenu",M=>{var R,B,T,N,A;const P=new I.StandardMouseEvent(M),O=this.getItemAction(P.target);if(!O)return;P.preventDefault(),P.stopPropagation();let x=!1;if(w===1&&((R=this._options)===null||R===void 0?void 0:R.hiddenItemStrategy)===0){x=!0;for(let F=0;Fthis._menuService.resetHiddenStates(o)}))),this._contextMenuService.showContextMenu({getAnchor:()=>P,getActions:()=>U,menuId:(T=this._options)===null||T===void 0?void 0:T.contextMenu,menuActionOptions:Object.assign({renderShortTitle:!0},(N=this._options)===null||N===void 0?void 0:N.menuOptions),skipTelemetry:typeof((A=this._options)===null||A===void 0?void 0:A.telemetrySource)=="string",contextKeyService:this._contextKeyService})}))}};e.WorkbenchToolBar=u,e.WorkbenchToolBar=u=Ie([ge(2,s.IMenuService),ge(3,i.IContextKeyService),ge(4,n.IContextMenuService),ge(5,t.IKeybindingService),ge(6,r.ITelemetryService)],u)}),define(te[819],ie([1,0,567,9,69,106,2,56,397,731,25,28,157,8,34,772,89,76]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f){"use strict";var d,l;Object.defineProperty(e,"__esModule",{value:!0}),e.CommandsHistory=e.AbstractCommandsQuickAccessProvider=void 0;let o=d=class extends r.PickerQuickAccessProvider{constructor(g,h,p,b,w,E){super(d.PREFIX,g),this.instantiationService=h,this.keybindingService=p,this.commandService=b,this.telemetryService=w,this.dialogService=E,this.commandsHistory=this._register(this.instantiationService.createInstance(c)),this.options=g}_getPicks(g,h,p,b){var w,E,k,M;return be(this,void 0,void 0,function*(){const R=yield this.getCommandPicks(p);if(p.isCancellationRequested)return[];const B=(0,D.createSingleCallFunction)(()=>{const W=new _.TfIdfCalculator;W.updateDocuments(R.map(F=>({key:F.commandId,textChunks:[F.label+(F.commandAlias?` ${F.commandAlias}`:"")]})));const U=W.calculateScores(g,p);return(0,_.normalizeTfIdfScores)(U).filter(F=>F.score>d.TFIDF_THRESHOLD).slice(0,d.TFIDF_MAX_RESULTS)}),T=[];for(const W of R){const U=(w=d.WORD_FILTER(g,W.label))!==null&&w!==void 0?w:void 0,F=W.commandAlias&&(E=d.WORD_FILTER(g,W.commandAlias))!==null&&E!==void 0?E:void 0;if(U||F)W.highlights={label:U,detail:this.options.showAlias?F:void 0},T.push(W);else if(g===W.commandId)T.push(W);else if(g.length>=3){const G=B();if(p.isCancellationRequested)return[];const Y=G.find(ne=>ne.key===W.commandId);Y&&(W.tfIdfScore=Y.score,T.push(W))}}const N=new Map;for(const W of T){const U=N.get(W.label);U?(W.description=W.commandId,U.description=U.commandId):N.set(W.label,W)}T.sort((W,U)=>{if(W.tfIdfScore&&U.tfIdfScore)return W.tfIdfScore===U.tfIdfScore?W.label.localeCompare(U.label):U.tfIdfScore-W.tfIdfScore;if(W.tfIdfScore)return 1;if(U.tfIdfScore)return-1;const F=this.commandsHistory.peek(W.commandId),G=this.commandsHistory.peek(U.commandId);if(F&&G)return F>G?-1:1;if(F)return-1;if(G)return 1;if(this.options.suggestedCommandIds){const Y=this.options.suggestedCommandIds.has(W.commandId),ne=this.options.suggestedCommandIds.has(U.commandId);if(Y&&ne)return 0;if(Y)return-1;if(ne)return 1}return W.label.localeCompare(U.label)});const A=[];let P=!1,O=!0,x=!!this.options.suggestedCommandIds;for(let W=0;Wbe(this,void 0,void 0,function*(){var W;const U=yield this.getAdditionalCommandPicks(R,T,g,p);if(p.isCancellationRequested)return[];const F=U.map(G=>this.toCommandPick(G,b));return O&&((W=F[0])===null||W===void 0?void 0:W.type)!=="separator"&&F.unshift({type:"separator",label:(0,v.localize)(4,null)}),F}))()}:A})}toCommandPick(g,h){if(g.type==="separator")return g;const p=this.keybindingService.lookupKeybinding(g.commandId),b=p?(0,v.localize)(5,null,g.label,p.getAriaLabel()):g.label;return Object.assign(Object.assign({},g),{ariaLabel:b,detail:this.options.showAlias&&g.commandAlias!==g.label?g.commandAlias:void 0,keybinding:p,accept:()=>be(this,void 0,void 0,function*(){var w,E;this.commandsHistory.push(g.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:g.commandId,from:(w=h?.from)!==null&&w!==void 0?w:"quick open"});try{!((E=g.args)===null||E===void 0)&&E.length?yield this.commandService.executeCommand(g.commandId,...g.args):yield this.commandService.executeCommand(g.commandId)}catch(k){(0,I.isCancellationError)(k)||this.dialogService.error((0,v.localize)(6,null,g.label),(0,L.toErrorMessage)(k))}})})}};e.AbstractCommandsQuickAccessProvider=o,o.PREFIX=">",o.TFIDF_THRESHOLD=.5,o.TFIDF_MAX_RESULTS=5,o.WORD_FILTER=(0,y.or)(y.matchesPrefix,y.matchesWords,y.matchesContiguousSubString),e.AbstractCommandsQuickAccessProvider=o=d=Ie([ge(1,n.IInstantiationService),ge(2,t.IKeybindingService),ge(3,C.ICommandService),ge(4,f.ITelemetryService),ge(5,i.IDialogService)],o);let c=l=class extends S.Disposable{constructor(g,h){super(),this.storageService=g,this.configurationService=h,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(g=>this.updateConfiguration(g)))}updateConfiguration(g){g&&!g.affectsConfiguration("workbench.commandPalette.history")||(this.configuredCommandsHistoryLength=l.getConfiguredCommandHistoryLength(this.configurationService),l.cache&&l.cache.limit!==this.configuredCommandsHistoryLength&&(l.cache.limit=this.configuredCommandsHistoryLength,l.saveState(this.storageService)))}load(){const g=this.storageService.get(l.PREF_KEY_CACHE,0);let h;if(g)try{h=JSON.parse(g)}catch{}const p=l.cache=new m.LRUCache(this.configuredCommandsHistoryLength,1);if(h){let b;h.usesLRU?b=h.entries:b=h.entries.sort((w,E)=>w.value-E.value),b.forEach(w=>p.set(w.key,w.value))}l.counter=this.storageService.getNumber(l.PREF_KEY_COUNTER,0,l.counter)}push(g){l.cache&&(l.cache.set(g,l.counter++),l.saveState(this.storageService))}peek(g){var h;return(h=l.cache)===null||h===void 0?void 0:h.peek(g)}static saveState(g){if(!l.cache)return;const h={usesLRU:!0,entries:[]};l.cache.forEach((p,b)=>h.entries.push({key:b,value:p})),g.store(l.PREF_KEY_CACHE,JSON.stringify(h),0,0),g.store(l.PREF_KEY_COUNTER,l.counter,0,0)}static getConfiguredCommandHistoryLength(g){var h,p;const w=(p=(h=g.getValue().workbench)===null||h===void 0?void 0:h.commandPalette)===null||p===void 0?void 0:p.history;return typeof w=="number"?w:l.DEFAULT_COMMANDS_HISTORY_LENGTH}};e.CommandsHistory=c,c.DEFAULT_COMMANDS_HISTORY_LENGTH=50,c.PREF_KEY_CACHE="commandPalette.mru.cache",c.PREF_KEY_COUNTER="commandPalette.mru.counter",c.counter=1,e.CommandsHistory=c=l=Ie([ge(0,u.IStorageService),ge(1,s.IConfigurationService)],c)}),define(te[820],ie([1,0,119,819]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorCommandsQuickAccessProvider=void 0;class y extends I.AbstractCommandsQuickAccessProvider{constructor(S,m,_,v,C,s){super(S,m,_,v,C,s)}getCodeEditorCommandPicks(){const S=this.activeTextEditorControl;if(!S)return[];const m=[];for(const _ of S.getSupportedActions())m.push({commandId:_.id,commandAlias:_.alias,label:(0,L.stripIcons)(_.label)||_.id});return m}}e.AbstractEditorCommandsQuickAccessProvider=y}),define(te[821],ie([1,0,35,134,93,33,820,8,34,25,76,157,16,22,67]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneCommandsQuickAccessProvider=void 0;let r=class extends S.AbstractEditorCommandsQuickAccessProvider{get activeTextEditorControl(){var d;return(d=this.codeEditorService.getFocusedCodeEditor())!==null&&d!==void 0?d:void 0}constructor(d,l,o,c,a,g){super({showAlias:!1},d,o,c,a,g),this.codeEditorService=l}getCommandPicks(){return be(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}hasAdditionalCommandPicks(){return!1}getAdditionalCommandPicks(){return be(this,void 0,void 0,function*(){return[]})}};e.StandaloneCommandsQuickAccessProvider=r,e.StandaloneCommandsQuickAccessProvider=r=Ie([ge(0,m.IInstantiationService),ge(1,D.ICodeEditorService),ge(2,_.IKeybindingService),ge(3,v.ICommandService),ge(4,C.ITelemetryService),ge(5,s.IDialogService)],r);class u extends i.EditorAction{constructor(){super({id:u.ID,label:y.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:n.EditorContextKeys.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(d){d.get(t.IQuickInputService).quickAccess.show(r.PREFIX)}}e.GotoLineAction=u,u.ID="editor.action.quickCommand",(0,i.registerEditorAction)(u),L.Registry.as(I.Extensions.Quickaccess).registerQuickAccessProvider({ctor:r,prefix:r.PREFIX,helpEntries:[{description:y.QuickCommandNLS.quickCommandHelp,commandId:u.ID}]})}),define(te[31],ie([1,0,14,36,6,96,737,239,35]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.workbenchColorsSchemaId=e.resolveColorValue=e.ifDefinedThenElse=e.oneOf=e.transparent=e.lighten=e.darken=e.executeTransform=e.chartsPurple=e.chartsGreen=e.chartsOrange=e.chartsYellow=e.chartsBlue=e.chartsRed=e.chartsLines=e.chartsForeground=e.problemsInfoIconForeground=e.problemsWarningIconForeground=e.problemsErrorIconForeground=e.minimapSliderActiveBackground=e.minimapSliderHoverBackground=e.minimapSliderBackground=e.minimapForegroundOpacity=e.minimapBackground=e.minimapError=e.minimapWarning=e.minimapInfo=e.minimapSelection=e.minimapSelectionOccurrenceHighlight=e.minimapFindMatch=e.overviewRulerSelectionHighlightForeground=e.overviewRulerFindMatchForeground=e.overviewRulerCommonContentForeground=e.overviewRulerIncomingContentForeground=e.overviewRulerCurrentContentForeground=e.mergeBorder=e.mergeCommonContentBackground=e.mergeCommonHeaderBackground=e.mergeIncomingContentBackground=e.mergeIncomingHeaderBackground=e.mergeCurrentContentBackground=e.mergeCurrentHeaderBackground=e.breadcrumbsPickerBackground=e.breadcrumbsActiveSelectionForeground=e.breadcrumbsFocusForeground=e.breadcrumbsBackground=e.breadcrumbsForeground=e.snippetFinalTabstopHighlightBorder=e.snippetFinalTabstopHighlightBackground=e.snippetTabstopHighlightBorder=e.snippetTabstopHighlightBackground=e.toolbarActiveBackground=e.toolbarHoverOutline=e.toolbarHoverBackground=e.menuSeparatorBackground=e.menuSelectionBorder=e.menuSelectionBackground=e.menuSelectionForeground=e.menuBackground=e.menuForeground=e.menuBorder=e.quickInputListFocusBackground=e.quickInputListFocusIconForeground=e.quickInputListFocusForeground=e._deprecatedQuickInputListFocusBackground=e.checkboxSelectBorder=e.checkboxBorder=e.checkboxForeground=e.checkboxSelectBackground=e.checkboxBackground=e.listDeemphasizedForeground=e.tableOddRowsBackgroundColor=e.tableColumnsBorder=e.treeInactiveIndentGuidesStroke=e.treeIndentGuidesStroke=e.listFilterMatchHighlightBorder=e.listFilterMatchHighlight=e.listFilterWidgetShadow=e.listFilterWidgetNoMatchesOutline=e.listFilterWidgetOutline=e.listFilterWidgetBackground=e.listWarningForeground=e.listErrorForeground=e.listInvalidItemForeground=e.listFocusHighlightForeground=e.listHighlightForeground=e.listDropBackground=e.listHoverForeground=e.listHoverBackground=e.listInactiveFocusOutline=e.listInactiveFocusBackground=e.listInactiveSelectionIconForeground=e.listInactiveSelectionForeground=e.listInactiveSelectionBackground=e.listActiveSelectionIconForeground=e.listActiveSelectionForeground=e.listActiveSelectionBackground=e.listFocusAndSelectionOutline=e.listFocusOutline=e.listFocusForeground=e.listFocusBackground=e.diffUnchangedTextBackground=e.diffUnchangedRegionForeground=e.diffUnchangedRegionBackground=e.diffDiagonalFill=e.diffBorder=e.diffRemovedOutline=e.diffInsertedOutline=e.diffOverviewRulerRemoved=e.diffOverviewRulerInserted=e.diffRemovedLineGutter=e.diffInsertedLineGutter=e.diffRemovedLine=e.diffInsertedLine=e.diffRemoved=e.diffInserted=e.defaultRemoveColor=e.defaultInsertColor=e.editorLightBulbAutoFixForeground=e.editorLightBulbForeground=e.editorInlayHintParameterBackground=e.editorInlayHintParameterForeground=e.editorInlayHintTypeBackground=e.editorInlayHintTypeForeground=e.editorInlayHintBackground=e.editorInlayHintForeground=e.editorActiveLinkForeground=e.editorHoverStatusBarBackground=e.editorHoverBorder=e.editorHoverForeground=e.editorHoverBackground=e.editorHoverHighlight=e.searchResultsInfoForeground=e.searchEditorFindMatchBorder=e.searchEditorFindMatch=e.editorFindRangeHighlightBorder=e.editorFindMatchHighlightBorder=e.editorFindMatchBorder=e.editorFindRangeHighlight=e.editorFindMatchHighlight=e.editorFindMatch=e.editorSelectionHighlightBorder=e.editorSelectionHighlight=e.editorInactiveSelection=e.editorSelectionForeground=e.editorSelectionBackground=e.keybindingLabelBottomBorder=e.keybindingLabelBorder=e.keybindingLabelForeground=e.keybindingLabelBackground=e.pickerGroupBorder=e.pickerGroupForeground=e.quickInputTitleBackground=e.quickInputForeground=e.quickInputBackground=e.editorWidgetResizeBorder=e.editorWidgetBorder=e.editorWidgetForeground=e.editorWidgetBackground=e.editorStickyScrollHoverBackground=e.editorStickyScrollBackground=e.editorForeground=e.editorBackground=e.sashHoverBorder=e.editorHintBorder=e.editorHintForeground=e.editorInfoBorder=e.editorInfoForeground=e.editorInfoBackground=e.editorWarningBorder=e.editorWarningForeground=e.editorWarningBackground=e.editorErrorBorder=e.editorErrorForeground=e.editorErrorBackground=e.progressBarBackground=e.scrollbarSliderActiveBackground=e.scrollbarSliderHoverBackground=e.scrollbarSliderBackground=e.scrollbarShadow=e.badgeForeground=e.badgeBackground=e.buttonSecondaryHoverBackground=e.buttonSecondaryBackground=e.buttonSecondaryForeground=e.buttonBorder=e.buttonHoverBackground=e.buttonBackground=e.buttonSeparator=e.buttonForeground=e.selectBorder=e.selectForeground=e.selectListBackground=e.selectBackground=e.inputValidationErrorBorder=e.inputValidationErrorForeground=e.inputValidationErrorBackground=e.inputValidationWarningBorder=e.inputValidationWarningForeground=e.inputValidationWarningBackground=e.inputValidationInfoBorder=e.inputValidationInfoForeground=e.inputValidationInfoBackground=e.inputPlaceholderForeground=e.inputActiveOptionForeground=e.inputActiveOptionBackground=e.inputActiveOptionHoverBackground=e.inputActiveOptionBorder=e.inputBorder=e.inputForeground=e.inputBackground=e.widgetBorder=e.widgetShadow=e.textCodeBlockBackground=e.textBlockQuoteBorder=e.textBlockQuoteBackground=e.textPreformatForeground=e.textLinkActiveForeground=e.textLinkForeground=e.textSeparatorForeground=e.selectionBackground=e.activeContrastBorder=e.contrastBorder=e.focusBorder=e.iconForeground=e.descriptionForeground=e.errorForeground=e.disabledForeground=e.foreground=e.registerColor=e.Extensions=e.asCssVariableWithDefault=e.asCssVariable=e.asCssVariableName=void 0;function v(R){return`--vscode-${R.replace(/\./g,"-")}`}e.asCssVariableName=v;function C(R){return`var(${v(R)})`}e.asCssVariable=C;function s(R,B){return`var(${v(R)}, ${B})`}e.asCssVariableWithDefault=s,e.Extensions={ColorContribution:"base.contributions.colors"};class i{constructor(){this._onDidChangeSchema=new y.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(B,T,N,A=!1,P){const O={id:B,description:N,defaults:T,needsTransparency:A,deprecationMessage:P};this.colorsById[B]=O;const x={type:"string",description:N,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return P&&(x.deprecationMessage=P),this.colorSchema.properties[B]=x,this.colorReferenceSchema.enum.push(B),this.colorReferenceSchema.enumDescriptions.push(N),this._onDidChangeSchema.fire(),B}getColors(){return Object.keys(this.colorsById).map(B=>this.colorsById[B])}resolveDefaultColor(B,T){const N=this.colorsById[B];if(N&&N.defaults){const A=N.defaults[T.type];return E(A,T)}}getColorSchema(){return this.colorSchema}toString(){const B=(T,N)=>{const A=T.indexOf(".")===-1?0:1,P=N.indexOf(".")===-1?0:1;return A!==P?A-P:T.localeCompare(N)};return Object.keys(this.colorsById).sort(B).map(T=>`- \`${T}\`: ${this.colorsById[T].description}`).join(` +`)}}const n=new i;_.Registry.add(e.Extensions.ColorContribution,n);function t(R,B,T,N,A){return n.registerColor(R,B,T,N,A)}e.registerColor=t,e.foreground=t("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(0,null)),e.disabledForeground=t("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.localize(1,null)),e.errorForeground=t("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(2,null)),e.descriptionForeground=t("descriptionForeground",{light:"#717171",dark:h(e.foreground,.7),hcDark:h(e.foreground,.7),hcLight:h(e.foreground,.7)},S.localize(3,null)),e.iconForeground=t("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.localize(4,null)),e.focusBorder=t("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.localize(5,null)),e.contrastBorder=t("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.localize(6,null)),e.activeContrastBorder=t("contrastActiveBorder",{light:null,dark:null,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(7,null)),e.selectionBackground=t("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(8,null)),e.textSeparatorForeground=t("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:I.Color.black,hcLight:"#292929"},S.localize(9,null)),e.textLinkForeground=t("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(10,null)),e.textLinkActiveForeground=t("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},S.localize(11,null)),e.textPreformatForeground=t("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},S.localize(12,null)),e.textBlockQuoteBackground=t("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},S.localize(13,null)),e.textBlockQuoteBorder=t("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:I.Color.white,hcLight:"#292929"},S.localize(14,null)),e.textCodeBlockBackground=t("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:I.Color.black,hcLight:"#F2F2F2"},S.localize(15,null)),e.widgetShadow=t("widget.shadow",{dark:h(I.Color.black,.36),light:h(I.Color.black,.16),hcDark:null,hcLight:null},S.localize(16,null)),e.widgetBorder=t("widget.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(17,null)),e.inputBackground=t("input.background",{dark:"#3C3C3C",light:I.Color.white,hcDark:I.Color.black,hcLight:I.Color.white},S.localize(18,null)),e.inputForeground=t("input.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(19,null)),e.inputBorder=t("input.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(20,null)),e.inputActiveOptionBorder=t("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(21,null)),e.inputActiveOptionHoverBackground=t("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(22,null)),e.inputActiveOptionBackground=t("inputOption.activeBackground",{dark:h(e.focusBorder,.4),light:h(e.focusBorder,.2),hcDark:I.Color.transparent,hcLight:I.Color.transparent},S.localize(23,null)),e.inputActiveOptionForeground=t("inputOption.activeForeground",{dark:I.Color.white,light:I.Color.black,hcDark:e.foreground,hcLight:e.foreground},S.localize(24,null)),e.inputPlaceholderForeground=t("input.placeholderForeground",{light:h(e.foreground,.5),dark:h(e.foreground,.5),hcDark:h(e.foreground,.7),hcLight:h(e.foreground,.7)},S.localize(25,null)),e.inputValidationInfoBackground=t("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:I.Color.black,hcLight:I.Color.white},S.localize(26,null)),e.inputValidationInfoForeground=t("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(27,null)),e.inputValidationInfoBorder=t("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(28,null)),e.inputValidationWarningBackground=t("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:I.Color.black,hcLight:I.Color.white},S.localize(29,null)),e.inputValidationWarningForeground=t("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(30,null)),e.inputValidationWarningBorder=t("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(31,null)),e.inputValidationErrorBackground=t("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:I.Color.black,hcLight:I.Color.white},S.localize(32,null)),e.inputValidationErrorForeground=t("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:e.foreground},S.localize(33,null)),e.inputValidationErrorBorder=t("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(34,null)),e.selectBackground=t("dropdown.background",{dark:"#3C3C3C",light:I.Color.white,hcDark:I.Color.black,hcLight:I.Color.white},S.localize(35,null)),e.selectListBackground=t("dropdown.listBackground",{dark:null,light:null,hcDark:I.Color.black,hcLight:I.Color.white},S.localize(36,null)),e.selectForeground=t("dropdown.foreground",{dark:"#F0F0F0",light:e.foreground,hcDark:I.Color.white,hcLight:e.foreground},S.localize(37,null)),e.selectBorder=t("dropdown.border",{dark:e.selectBackground,light:"#CECECE",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(38,null)),e.buttonForeground=t("button.foreground",{dark:I.Color.white,light:I.Color.white,hcDark:I.Color.white,hcLight:I.Color.white},S.localize(39,null)),e.buttonSeparator=t("button.separator",{dark:h(e.buttonForeground,.4),light:h(e.buttonForeground,.4),hcDark:h(e.buttonForeground,.4),hcLight:h(e.buttonForeground,.4)},S.localize(40,null)),e.buttonBackground=t("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.localize(41,null)),e.buttonHoverBackground=t("button.hoverBackground",{dark:g(e.buttonBackground,.2),light:a(e.buttonBackground,.2),hcDark:e.buttonBackground,hcLight:e.buttonBackground},S.localize(42,null)),e.buttonBorder=t("button.border",{dark:e.contrastBorder,light:e.contrastBorder,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(43,null)),e.buttonSecondaryForeground=t("button.secondaryForeground",{dark:I.Color.white,light:I.Color.white,hcDark:I.Color.white,hcLight:e.foreground},S.localize(44,null)),e.buttonSecondaryBackground=t("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:I.Color.white},S.localize(45,null)),e.buttonSecondaryHoverBackground=t("button.secondaryHoverBackground",{dark:g(e.buttonSecondaryBackground,.2),light:a(e.buttonSecondaryBackground,.2),hcDark:null,hcLight:null},S.localize(46,null)),e.badgeBackground=t("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:I.Color.black,hcLight:"#0F4A85"},S.localize(47,null)),e.badgeForeground=t("badge.foreground",{dark:I.Color.white,light:"#333",hcDark:I.Color.white,hcLight:I.Color.white},S.localize(48,null)),e.scrollbarShadow=t("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.localize(49,null)),e.scrollbarSliderBackground=t("scrollbarSlider.background",{dark:I.Color.fromHex("#797979").transparent(.4),light:I.Color.fromHex("#646464").transparent(.4),hcDark:h(e.contrastBorder,.6),hcLight:h(e.contrastBorder,.4)},S.localize(50,null)),e.scrollbarSliderHoverBackground=t("scrollbarSlider.hoverBackground",{dark:I.Color.fromHex("#646464").transparent(.7),light:I.Color.fromHex("#646464").transparent(.7),hcDark:h(e.contrastBorder,.8),hcLight:h(e.contrastBorder,.8)},S.localize(51,null)),e.scrollbarSliderActiveBackground=t("scrollbarSlider.activeBackground",{dark:I.Color.fromHex("#BFBFBF").transparent(.4),light:I.Color.fromHex("#000000").transparent(.6),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(52,null)),e.progressBarBackground=t("progressBar.background",{dark:I.Color.fromHex("#0E70C0"),light:I.Color.fromHex("#0E70C0"),hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(53,null)),e.editorErrorBackground=t("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(54,null),!0),e.editorErrorForeground=t("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.localize(55,null)),e.editorErrorBorder=t("editorError.border",{dark:null,light:null,hcDark:I.Color.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.localize(56,null)),e.editorWarningBackground=t("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(57,null),!0),e.editorWarningForeground=t("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.localize(58,null)),e.editorWarningBorder=t("editorWarning.border",{dark:null,light:null,hcDark:I.Color.fromHex("#FFCC00").transparent(.8),hcLight:I.Color.fromHex("#FFCC00").transparent(.8)},S.localize(59,null)),e.editorInfoBackground=t("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(60,null),!0),e.editorInfoForeground=t("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.localize(61,null)),e.editorInfoBorder=t("editorInfo.border",{dark:null,light:null,hcDark:I.Color.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.localize(62,null)),e.editorHintForeground=t("editorHint.foreground",{dark:I.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.localize(63,null)),e.editorHintBorder=t("editorHint.border",{dark:null,light:null,hcDark:I.Color.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.localize(64,null)),e.sashHoverBorder=t("sash.hoverBorder",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(65,null)),e.editorBackground=t("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:I.Color.black,hcLight:I.Color.white},S.localize(66,null)),e.editorForeground=t("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:I.Color.white,hcLight:e.foreground},S.localize(67,null)),e.editorStickyScrollBackground=t("editorStickyScroll.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(68,null)),e.editorStickyScrollHoverBackground=t("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:I.Color.fromHex("#0F4A85").transparent(.1)},S.localize(69,null)),e.editorWidgetBackground=t("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:I.Color.white},S.localize(70,null)),e.editorWidgetForeground=t("editorWidget.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(71,null)),e.editorWidgetBorder=t("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(72,null)),e.editorWidgetResizeBorder=t("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.localize(73,null)),e.quickInputBackground=t("quickInput.background",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(74,null)),e.quickInputForeground=t("quickInput.foreground",{dark:e.editorWidgetForeground,light:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(75,null)),e.quickInputTitleBackground=t("quickInputTitle.background",{dark:new I.Color(new I.RGBA(255,255,255,.105)),light:new I.Color(new I.RGBA(0,0,0,.06)),hcDark:"#000000",hcLight:I.Color.white},S.localize(76,null)),e.pickerGroupForeground=t("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:I.Color.white,hcLight:"#0F4A85"},S.localize(77,null)),e.pickerGroupBorder=t("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:I.Color.white,hcLight:"#0F4A85"},S.localize(78,null)),e.keybindingLabelBackground=t("keybindingLabel.background",{dark:new I.Color(new I.RGBA(128,128,128,.17)),light:new I.Color(new I.RGBA(221,221,221,.4)),hcDark:I.Color.transparent,hcLight:I.Color.transparent},S.localize(79,null)),e.keybindingLabelForeground=t("keybindingLabel.foreground",{dark:I.Color.fromHex("#CCCCCC"),light:I.Color.fromHex("#555555"),hcDark:I.Color.white,hcLight:e.foreground},S.localize(80,null)),e.keybindingLabelBorder=t("keybindingLabel.border",{dark:new I.Color(new I.RGBA(51,51,51,.6)),light:new I.Color(new I.RGBA(204,204,204,.4)),hcDark:new I.Color(new I.RGBA(111,195,223)),hcLight:e.contrastBorder},S.localize(81,null)),e.keybindingLabelBottomBorder=t("keybindingLabel.bottomBorder",{dark:new I.Color(new I.RGBA(68,68,68,.6)),light:new I.Color(new I.RGBA(187,187,187,.4)),hcDark:new I.Color(new I.RGBA(111,195,223)),hcLight:e.foreground},S.localize(82,null)),e.editorSelectionBackground=t("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.localize(83,null)),e.editorSelectionForeground=t("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:I.Color.white},S.localize(84,null)),e.editorInactiveSelection=t("editor.inactiveSelectionBackground",{light:h(e.editorSelectionBackground,.5),dark:h(e.editorSelectionBackground,.5),hcDark:h(e.editorSelectionBackground,.7),hcLight:h(e.editorSelectionBackground,.5)},S.localize(85,null),!0),e.editorSelectionHighlight=t("editor.selectionHighlightBackground",{light:w(e.editorSelectionBackground,e.editorBackground,.3,.6),dark:w(e.editorSelectionBackground,e.editorBackground,.3,.6),hcDark:null,hcLight:null},S.localize(86,null),!0),e.editorSelectionHighlightBorder=t("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(87,null)),e.editorFindMatch=t("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.localize(88,null)),e.editorFindMatchHighlight=t("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.localize(89,null),!0),e.editorFindRangeHighlight=t("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.localize(90,null),!0),e.editorFindMatchBorder=t("editor.findMatchBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(91,null)),e.editorFindMatchHighlightBorder=t("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(92,null)),e.editorFindRangeHighlightBorder=t("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:h(e.activeContrastBorder,.4),hcLight:h(e.activeContrastBorder,.4)},S.localize(93,null),!0),e.searchEditorFindMatch=t("searchEditor.findMatchBackground",{light:h(e.editorFindMatchHighlight,.66),dark:h(e.editorFindMatchHighlight,.66),hcDark:e.editorFindMatchHighlight,hcLight:e.editorFindMatchHighlight},S.localize(94,null)),e.searchEditorFindMatchBorder=t("searchEditor.findMatchBorder",{light:h(e.editorFindMatchHighlightBorder,.66),dark:h(e.editorFindMatchHighlightBorder,.66),hcDark:e.editorFindMatchHighlightBorder,hcLight:e.editorFindMatchHighlightBorder},S.localize(95,null)),e.searchResultsInfoForeground=t("search.resultsInfoForeground",{light:e.foreground,dark:h(e.foreground,.65),hcDark:e.foreground,hcLight:e.foreground},S.localize(96,null)),e.editorHoverHighlight=t("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.localize(97,null),!0),e.editorHoverBackground=t("editorHoverWidget.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(98,null)),e.editorHoverForeground=t("editorHoverWidget.foreground",{light:e.editorWidgetForeground,dark:e.editorWidgetForeground,hcDark:e.editorWidgetForeground,hcLight:e.editorWidgetForeground},S.localize(99,null)),e.editorHoverBorder=t("editorHoverWidget.border",{light:e.editorWidgetBorder,dark:e.editorWidgetBorder,hcDark:e.editorWidgetBorder,hcLight:e.editorWidgetBorder},S.localize(100,null)),e.editorHoverStatusBarBackground=t("editorHoverWidget.statusBarBackground",{dark:g(e.editorHoverBackground,.2),light:a(e.editorHoverBackground,.05),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(101,null)),e.editorActiveLinkForeground=t("editorLink.activeForeground",{dark:"#4E94CE",light:I.Color.blue,hcDark:I.Color.cyan,hcLight:"#292929"},S.localize(102,null)),e.editorInlayHintForeground=t("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:I.Color.white,hcLight:I.Color.black},S.localize(103,null)),e.editorInlayHintBackground=t("editorInlayHint.background",{dark:h(e.badgeBackground,.1),light:h(e.badgeBackground,.1),hcDark:h(I.Color.white,.1),hcLight:h(e.badgeBackground,.1)},S.localize(104,null)),e.editorInlayHintTypeForeground=t("editorInlayHint.typeForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(105,null)),e.editorInlayHintTypeBackground=t("editorInlayHint.typeBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(106,null)),e.editorInlayHintParameterForeground=t("editorInlayHint.parameterForeground",{dark:e.editorInlayHintForeground,light:e.editorInlayHintForeground,hcDark:e.editorInlayHintForeground,hcLight:e.editorInlayHintForeground},S.localize(107,null)),e.editorInlayHintParameterBackground=t("editorInlayHint.parameterBackground",{dark:e.editorInlayHintBackground,light:e.editorInlayHintBackground,hcDark:e.editorInlayHintBackground,hcLight:e.editorInlayHintBackground},S.localize(108,null)),e.editorLightBulbForeground=t("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.localize(109,null)),e.editorLightBulbAutoFixForeground=t("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.localize(110,null)),e.defaultInsertColor=new I.Color(new I.RGBA(155,185,85,.2)),e.defaultRemoveColor=new I.Color(new I.RGBA(255,0,0,.2)),e.diffInserted=t("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.localize(111,null),!0),e.diffRemoved=t("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.localize(112,null),!0),e.diffInsertedLine=t("diffEditor.insertedLineBackground",{dark:e.defaultInsertColor,light:e.defaultInsertColor,hcDark:null,hcLight:null},S.localize(113,null),!0),e.diffRemovedLine=t("diffEditor.removedLineBackground",{dark:e.defaultRemoveColor,light:e.defaultRemoveColor,hcDark:null,hcLight:null},S.localize(114,null),!0),e.diffInsertedLineGutter=t("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(115,null)),e.diffRemovedLineGutter=t("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(116,null)),e.diffOverviewRulerInserted=t("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(117,null)),e.diffOverviewRulerRemoved=t("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(118,null)),e.diffInsertedOutline=t("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.localize(119,null)),e.diffRemovedOutline=t("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.localize(120,null)),e.diffBorder=t("diffEditor.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(121,null)),e.diffDiagonalFill=t("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.localize(122,null)),e.diffUnchangedRegionBackground=t("diffEditor.unchangedRegionBackground",{dark:"#3e3e3e",light:"#e4e4e4",hcDark:null,hcLight:null},S.localize(123,null)),e.diffUnchangedRegionForeground=t("diffEditor.unchangedRegionForeground",{dark:"#a3a2a2",light:"#4d4c4c",hcDark:null,hcLight:null},S.localize(124,null)),e.diffUnchangedTextBackground=t("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.localize(125,null)),e.listFocusBackground=t("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(126,null)),e.listFocusForeground=t("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(127,null)),e.listFocusOutline=t("list.focusOutline",{dark:e.focusBorder,light:e.focusBorder,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(128,null)),e.listFocusAndSelectionOutline=t("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(129,null)),e.listActiveSelectionBackground=t("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:I.Color.fromHex("#0F4A85").transparent(.1)},S.localize(130,null)),e.listActiveSelectionForeground=t("list.activeSelectionForeground",{dark:I.Color.white,light:I.Color.white,hcDark:null,hcLight:null},S.localize(131,null)),e.listActiveSelectionIconForeground=t("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(132,null)),e.listInactiveSelectionBackground=t("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:I.Color.fromHex("#0F4A85").transparent(.1)},S.localize(133,null)),e.listInactiveSelectionForeground=t("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(134,null)),e.listInactiveSelectionIconForeground=t("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(135,null)),e.listInactiveFocusBackground=t("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(136,null)),e.listInactiveFocusOutline=t("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(137,null)),e.listHoverBackground=t("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:I.Color.white.transparent(.1),hcLight:I.Color.fromHex("#0F4A85").transparent(.1)},S.localize(138,null)),e.listHoverForeground=t("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(139,null)),e.listDropBackground=t("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.localize(140,null)),e.listHighlightForeground=t("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:e.focusBorder,hcLight:e.focusBorder},S.localize(141,null)),e.listFocusHighlightForeground=t("list.focusHighlightForeground",{dark:e.listHighlightForeground,light:b(e.listActiveSelectionBackground,e.listHighlightForeground,"#BBE7FF"),hcDark:e.listHighlightForeground,hcLight:e.listHighlightForeground},S.localize(142,null)),e.listInvalidItemForeground=t("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.localize(143,null)),e.listErrorForeground=t("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.localize(144,null)),e.listWarningForeground=t("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.localize(145,null)),e.listFilterWidgetBackground=t("listFilterWidget.background",{light:a(e.editorWidgetBackground,0),dark:g(e.editorWidgetBackground,0),hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(146,null)),e.listFilterWidgetOutline=t("listFilterWidget.outline",{dark:I.Color.transparent,light:I.Color.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.localize(147,null)),e.listFilterWidgetNoMatchesOutline=t("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(148,null)),e.listFilterWidgetShadow=t("listFilterWidget.shadow",{dark:e.widgetShadow,light:e.widgetShadow,hcDark:e.widgetShadow,hcLight:e.widgetShadow},S.localize(149,null)),e.listFilterMatchHighlight=t("list.filterMatchBackground",{dark:e.editorFindMatchHighlight,light:e.editorFindMatchHighlight,hcDark:null,hcLight:null},S.localize(150,null)),e.listFilterMatchHighlightBorder=t("list.filterMatchBorder",{dark:e.editorFindMatchHighlightBorder,light:e.editorFindMatchHighlightBorder,hcDark:e.contrastBorder,hcLight:e.activeContrastBorder},S.localize(151,null)),e.treeIndentGuidesStroke=t("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.localize(152,null)),e.treeInactiveIndentGuidesStroke=t("tree.inactiveIndentGuidesStroke",{dark:h(e.treeIndentGuidesStroke,.4),light:h(e.treeIndentGuidesStroke,.4),hcDark:h(e.treeIndentGuidesStroke,.4),hcLight:h(e.treeIndentGuidesStroke,.4)},S.localize(153,null)),e.tableColumnsBorder=t("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.localize(154,null)),e.tableOddRowsBackgroundColor=t("tree.tableOddRowsBackground",{dark:h(e.foreground,.04),light:h(e.foreground,.04),hcDark:null,hcLight:null},S.localize(155,null)),e.listDeemphasizedForeground=t("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.localize(156,null)),e.checkboxBackground=t("checkbox.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(157,null)),e.checkboxSelectBackground=t("checkbox.selectBackground",{dark:e.editorWidgetBackground,light:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(158,null)),e.checkboxForeground=t("checkbox.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(159,null)),e.checkboxBorder=t("checkbox.border",{dark:e.selectBorder,light:e.selectBorder,hcDark:e.selectBorder,hcLight:e.selectBorder},S.localize(160,null)),e.checkboxSelectBorder=t("checkbox.selectBorder",{dark:e.iconForeground,light:e.iconForeground,hcDark:e.iconForeground,hcLight:e.iconForeground},S.localize(161,null)),e._deprecatedQuickInputListFocusBackground=t("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.localize(162,null)),e.quickInputListFocusForeground=t("quickInputList.focusForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(163,null)),e.quickInputListFocusIconForeground=t("quickInputList.focusIconForeground",{dark:e.listActiveSelectionIconForeground,light:e.listActiveSelectionIconForeground,hcDark:e.listActiveSelectionIconForeground,hcLight:e.listActiveSelectionIconForeground},S.localize(164,null)),e.quickInputListFocusBackground=t("quickInputList.focusBackground",{dark:p(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),light:p(e._deprecatedQuickInputListFocusBackground,e.listActiveSelectionBackground),hcDark:null,hcLight:null},S.localize(165,null)),e.menuBorder=t("menu.border",{dark:null,light:null,hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(166,null)),e.menuForeground=t("menu.foreground",{dark:e.selectForeground,light:e.selectForeground,hcDark:e.selectForeground,hcLight:e.selectForeground},S.localize(167,null)),e.menuBackground=t("menu.background",{dark:e.selectBackground,light:e.selectBackground,hcDark:e.selectBackground,hcLight:e.selectBackground},S.localize(168,null)),e.menuSelectionForeground=t("menu.selectionForeground",{dark:e.listActiveSelectionForeground,light:e.listActiveSelectionForeground,hcDark:e.listActiveSelectionForeground,hcLight:e.listActiveSelectionForeground},S.localize(169,null)),e.menuSelectionBackground=t("menu.selectionBackground",{dark:e.listActiveSelectionBackground,light:e.listActiveSelectionBackground,hcDark:e.listActiveSelectionBackground,hcLight:e.listActiveSelectionBackground},S.localize(170,null)),e.menuSelectionBorder=t("menu.selectionBorder",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(171,null)),e.menuSeparatorBackground=t("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:e.contrastBorder,hcLight:e.contrastBorder},S.localize(172,null)),e.toolbarHoverBackground=t("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.localize(173,null)),e.toolbarHoverOutline=t("toolbar.hoverOutline",{dark:null,light:null,hcDark:e.activeContrastBorder,hcLight:e.activeContrastBorder},S.localize(174,null)),e.toolbarActiveBackground=t("toolbar.activeBackground",{dark:g(e.toolbarHoverBackground,.1),light:a(e.toolbarHoverBackground,.1),hcDark:null,hcLight:null},S.localize(175,null)),e.snippetTabstopHighlightBackground=t("editor.snippetTabstopHighlightBackground",{dark:new I.Color(new I.RGBA(124,124,124,.3)),light:new I.Color(new I.RGBA(10,50,100,.2)),hcDark:new I.Color(new I.RGBA(124,124,124,.3)),hcLight:new I.Color(new I.RGBA(10,50,100,.2))},S.localize(176,null)),e.snippetTabstopHighlightBorder=t("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(177,null)),e.snippetFinalTabstopHighlightBackground=t("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(178,null)),e.snippetFinalTabstopHighlightBorder=t("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new I.Color(new I.RGBA(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.localize(179,null)),e.breadcrumbsForeground=t("breadcrumb.foreground",{light:h(e.foreground,.8),dark:h(e.foreground,.8),hcDark:h(e.foreground,.8),hcLight:h(e.foreground,.8)},S.localize(180,null)),e.breadcrumbsBackground=t("breadcrumb.background",{light:e.editorBackground,dark:e.editorBackground,hcDark:e.editorBackground,hcLight:e.editorBackground},S.localize(181,null)),e.breadcrumbsFocusForeground=t("breadcrumb.focusForeground",{light:a(e.foreground,.2),dark:g(e.foreground,.1),hcDark:g(e.foreground,.1),hcLight:g(e.foreground,.1)},S.localize(182,null)),e.breadcrumbsActiveSelectionForeground=t("breadcrumb.activeSelectionForeground",{light:a(e.foreground,.2),dark:g(e.foreground,.1),hcDark:g(e.foreground,.1),hcLight:g(e.foreground,.1)},S.localize(183,null)),e.breadcrumbsPickerBackground=t("breadcrumbPicker.background",{light:e.editorWidgetBackground,dark:e.editorWidgetBackground,hcDark:e.editorWidgetBackground,hcLight:e.editorWidgetBackground},S.localize(184,null));const r=.5,u=I.Color.fromHex("#40C8AE").transparent(r),f=I.Color.fromHex("#40A6FF").transparent(r),d=I.Color.fromHex("#606060").transparent(.4),l=.4,o=1;e.mergeCurrentHeaderBackground=t("merge.currentHeaderBackground",{dark:u,light:u,hcDark:null,hcLight:null},S.localize(185,null),!0),e.mergeCurrentContentBackground=t("merge.currentContentBackground",{dark:h(e.mergeCurrentHeaderBackground,l),light:h(e.mergeCurrentHeaderBackground,l),hcDark:h(e.mergeCurrentHeaderBackground,l),hcLight:h(e.mergeCurrentHeaderBackground,l)},S.localize(186,null),!0),e.mergeIncomingHeaderBackground=t("merge.incomingHeaderBackground",{dark:f,light:f,hcDark:null,hcLight:null},S.localize(187,null),!0),e.mergeIncomingContentBackground=t("merge.incomingContentBackground",{dark:h(e.mergeIncomingHeaderBackground,l),light:h(e.mergeIncomingHeaderBackground,l),hcDark:h(e.mergeIncomingHeaderBackground,l),hcLight:h(e.mergeIncomingHeaderBackground,l)},S.localize(188,null),!0),e.mergeCommonHeaderBackground=t("merge.commonHeaderBackground",{dark:d,light:d,hcDark:null,hcLight:null},S.localize(189,null),!0),e.mergeCommonContentBackground=t("merge.commonContentBackground",{dark:h(e.mergeCommonHeaderBackground,l),light:h(e.mergeCommonHeaderBackground,l),hcDark:h(e.mergeCommonHeaderBackground,l),hcLight:h(e.mergeCommonHeaderBackground,l)},S.localize(190,null),!0),e.mergeBorder=t("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.localize(191,null)),e.overviewRulerCurrentContentForeground=t("editorOverviewRuler.currentContentForeground",{dark:h(e.mergeCurrentHeaderBackground,o),light:h(e.mergeCurrentHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(192,null)),e.overviewRulerIncomingContentForeground=t("editorOverviewRuler.incomingContentForeground",{dark:h(e.mergeIncomingHeaderBackground,o),light:h(e.mergeIncomingHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(193,null)),e.overviewRulerCommonContentForeground=t("editorOverviewRuler.commonContentForeground",{dark:h(e.mergeCommonHeaderBackground,o),light:h(e.mergeCommonHeaderBackground,o),hcDark:e.mergeBorder,hcLight:e.mergeBorder},S.localize(194,null)),e.overviewRulerFindMatchForeground=t("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.localize(195,null),!0),e.overviewRulerSelectionHighlightForeground=t("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.localize(196,null),!0),e.minimapFindMatch=t("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.localize(197,null),!0),e.minimapSelectionOccurrenceHighlight=t("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(198,null),!0),e.minimapSelection=t("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.localize(199,null),!0),e.minimapInfo=t("minimap.infoHighlight",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoBorder,hcLight:e.editorInfoBorder},S.localize(200,null)),e.minimapWarning=t("minimap.warningHighlight",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningBorder,hcLight:e.editorWarningBorder},S.localize(201,null)),e.minimapError=t("minimap.errorHighlight",{dark:new I.Color(new I.RGBA(255,18,18,.7)),light:new I.Color(new I.RGBA(255,18,18,.7)),hcDark:new I.Color(new I.RGBA(255,50,50,1)),hcLight:"#B5200D"},S.localize(202,null)),e.minimapBackground=t("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.localize(203,null)),e.minimapForegroundOpacity=t("minimap.foregroundOpacity",{dark:I.Color.fromHex("#000f"),light:I.Color.fromHex("#000f"),hcDark:I.Color.fromHex("#000f"),hcLight:I.Color.fromHex("#000f")},S.localize(204,null)),e.minimapSliderBackground=t("minimapSlider.background",{light:h(e.scrollbarSliderBackground,.5),dark:h(e.scrollbarSliderBackground,.5),hcDark:h(e.scrollbarSliderBackground,.5),hcLight:h(e.scrollbarSliderBackground,.5)},S.localize(205,null)),e.minimapSliderHoverBackground=t("minimapSlider.hoverBackground",{light:h(e.scrollbarSliderHoverBackground,.5),dark:h(e.scrollbarSliderHoverBackground,.5),hcDark:h(e.scrollbarSliderHoverBackground,.5),hcLight:h(e.scrollbarSliderHoverBackground,.5)},S.localize(206,null)),e.minimapSliderActiveBackground=t("minimapSlider.activeBackground",{light:h(e.scrollbarSliderActiveBackground,.5),dark:h(e.scrollbarSliderActiveBackground,.5),hcDark:h(e.scrollbarSliderActiveBackground,.5),hcLight:h(e.scrollbarSliderActiveBackground,.5)},S.localize(207,null)),e.problemsErrorIconForeground=t("problemsErrorIcon.foreground",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(208,null)),e.problemsWarningIconForeground=t("problemsWarningIcon.foreground",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(209,null)),e.problemsInfoIconForeground=t("problemsInfoIcon.foreground",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(210,null)),e.chartsForeground=t("charts.foreground",{dark:e.foreground,light:e.foreground,hcDark:e.foreground,hcLight:e.foreground},S.localize(211,null)),e.chartsLines=t("charts.lines",{dark:h(e.foreground,.5),light:h(e.foreground,.5),hcDark:h(e.foreground,.5),hcLight:h(e.foreground,.5)},S.localize(212,null)),e.chartsRed=t("charts.red",{dark:e.editorErrorForeground,light:e.editorErrorForeground,hcDark:e.editorErrorForeground,hcLight:e.editorErrorForeground},S.localize(213,null)),e.chartsBlue=t("charts.blue",{dark:e.editorInfoForeground,light:e.editorInfoForeground,hcDark:e.editorInfoForeground,hcLight:e.editorInfoForeground},S.localize(214,null)),e.chartsYellow=t("charts.yellow",{dark:e.editorWarningForeground,light:e.editorWarningForeground,hcDark:e.editorWarningForeground,hcLight:e.editorWarningForeground},S.localize(215,null)),e.chartsOrange=t("charts.orange",{dark:e.minimapFindMatch,light:e.minimapFindMatch,hcDark:e.minimapFindMatch,hcLight:e.minimapFindMatch},S.localize(216,null)),e.chartsGreen=t("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.localize(217,null)),e.chartsPurple=t("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.localize(218,null));function c(R,B){var T,N,A,P;switch(R.op){case 0:return(T=E(R.value,B))===null||T===void 0?void 0:T.darken(R.factor);case 1:return(N=E(R.value,B))===null||N===void 0?void 0:N.lighten(R.factor);case 2:return(A=E(R.value,B))===null||A===void 0?void 0:A.transparent(R.factor);case 3:{const O=E(R.background,B);return O?(P=E(R.value,B))===null||P===void 0?void 0:P.makeOpaque(O):E(R.value,B)}case 4:for(const O of R.values){const x=E(O,B);if(x)return x}return;case 6:return E(B.defines(R.if)?R.then:R.else,B);case 5:{const O=E(R.value,B);if(!O)return;const x=E(R.background,B);return x?O.isDarkerThan(x)?I.Color.getLighterColor(O,x,R.factor).transparent(R.transparency):I.Color.getDarkerColor(O,x,R.factor).transparent(R.transparency):O.transparent(R.factor*R.transparency)}default:throw(0,D.assertNever)(R)}}e.executeTransform=c;function a(R,B){return{op:0,value:R,factor:B}}e.darken=a;function g(R,B){return{op:1,value:R,factor:B}}e.lighten=g;function h(R,B){return{op:2,value:R,factor:B}}e.transparent=h;function p(...R){return{op:4,values:R}}e.oneOf=p;function b(R,B,T){return{op:6,if:R,then:B,else:T}}e.ifDefinedThenElse=b;function w(R,B,T,N){return{op:5,value:R,background:B,factor:T,transparency:N}}function E(R,B){if(R!==null){if(typeof R=="string")return R[0]==="#"?I.Color.fromHex(R):B.getColor(R);if(R instanceof I.Color)return R;if(typeof R=="object")return c(R,B)}}e.resolveColorValue=E,e.workbenchColorsSchemaId="vscode://schemas/workbench-colors";const k=_.Registry.as(m.Extensions.JSONContribution);k.registerSchema(e.workbenchColorsSchemaId,n.getColorSchema());const M=new L.RunOnceScheduler(()=>k.notifySchemaChanged(e.workbenchColorsSchemaId),200);n.onDidChangeSchema(()=>{M.isScheduled()||M.schedule()})}),define(te[159],ie([1,0,7,151,60,14,2,31]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicCssRules=e.GlobalEditorPointerMoveMonitor=e.EditorPointerEventFactory=e.EditorMouseEventFactory=e.EditorMouseEvent=e.createCoordinatesRelativeToEditor=e.createEditorPagePosition=e.CoordinatesRelativeToEditor=e.EditorPagePosition=e.ClientCoordinates=e.PageCoordinates=void 0;class _{constructor(a,g){this.x=a,this.y=g,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new v(this.x-window.scrollX,this.y-window.scrollY)}}e.PageCoordinates=_;class v{constructor(a,g){this.clientX=a,this.clientY=g,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new _(this.clientX+window.scrollX,this.clientY+window.scrollY)}}e.ClientCoordinates=v;class C{constructor(a,g,h,p){this.x=a,this.y=g,this.width=h,this.height=p,this._editorPagePositionBrand=void 0}}e.EditorPagePosition=C;class s{constructor(a,g){this.x=a,this.y=g,this._positionRelativeToEditorBrand=void 0}}e.CoordinatesRelativeToEditor=s;function i(c){const a=L.getDomNodePagePosition(c);return new C(a.left,a.top,a.width,a.height)}e.createEditorPagePosition=i;function n(c,a,g){const h=a.width/c.offsetWidth,p=a.height/c.offsetHeight,b=(g.x-a.x)/h,w=(g.y-a.y)/p;return new s(b,w)}e.createCoordinatesRelativeToEditor=n;class t extends y.StandardMouseEvent{constructor(a,g,h){super(a),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=g,this.pos=new _(this.posx,this.posy),this.editorPos=i(h),this.relativePos=n(h,this.editorPos,this.pos)}}e.EditorMouseEvent=t;class r{constructor(a){this._editorViewDomNode=a}_create(a){return new t(a,!1,this._editorViewDomNode)}onContextMenu(a,g){return L.addDisposableListener(a,"contextmenu",h=>{g(this._create(h))})}onMouseUp(a,g){return L.addDisposableListener(a,"mouseup",h=>{g(this._create(h))})}onMouseDown(a,g){return L.addDisposableListener(a,L.EventType.MOUSE_DOWN,h=>{g(this._create(h))})}onPointerDown(a,g){return L.addDisposableListener(a,L.EventType.POINTER_DOWN,h=>{g(this._create(h),h.pointerId)})}onMouseLeave(a,g){return L.addDisposableListener(a,L.EventType.MOUSE_LEAVE,h=>{g(this._create(h))})}onMouseMove(a,g){return L.addDisposableListener(a,"mousemove",h=>g(this._create(h)))}}e.EditorMouseEventFactory=r;class u{constructor(a){this._editorViewDomNode=a}_create(a){return new t(a,!1,this._editorViewDomNode)}onPointerUp(a,g){return L.addDisposableListener(a,"pointerup",h=>{g(this._create(h))})}onPointerDown(a,g){return L.addDisposableListener(a,L.EventType.POINTER_DOWN,h=>{g(this._create(h),h.pointerId)})}onPointerLeave(a,g){return L.addDisposableListener(a,L.EventType.POINTER_LEAVE,h=>{g(this._create(h))})}onPointerMove(a,g){return L.addDisposableListener(a,"pointermove",h=>g(this._create(h)))}}e.EditorPointerEventFactory=u;class f extends S.Disposable{constructor(a){super(),this._editorViewDomNode=a,this._globalPointerMoveMonitor=this._register(new I.GlobalPointerMoveMonitor),this._keydownListener=null}startMonitoring(a,g,h,p,b){this._keydownListener=L.addStandardDisposableListener(a.ownerDocument,"keydown",w=>{w.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,w.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(a,g,h,w=>{p(new t(w,!0,this._editorViewDomNode))},w=>{this._keydownListener.dispose(),b(w)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}e.GlobalEditorPointerMoveMonitor=f;class d{constructor(a){this._editor=a,this._instanceId=++d._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new D.RunOnceScheduler(()=>this.garbageCollect(),1e3)}createClassNameRef(a){const g=this.getOrCreateRule(a);return g.increaseRefCount(),{className:g.className,dispose:()=>{g.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(a){const g=this.computeUniqueKey(a);let h=this._rules.get(g);if(!h){const p=this._counter++;h=new l(g,`dyn-rule-${this._instanceId}-${p}`,L.isInShadowDOM(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,a),this._rules.set(g,h)}return h}computeUniqueKey(a){return JSON.stringify(a)}garbageCollect(){for(const a of this._rules.values())a.hasReferences()||(this._rules.delete(a.key),a.dispose())}}e.DynamicCssRules=d,d._idPool=0;class l{constructor(a,g,h,p){this.key=a,this.className=g,this.properties=p,this._referenceCount=0,this._styleElement=L.createStyleSheet(h),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(a,g){let h=`.${a} {`;for(const p in g){const b=g[p];let w;typeof b=="object"?w=(0,m.asCssVariable)(b.id):w=b;const E=o(p);h+=` + ${E}: ${w};`}return h+=` +}`,h}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function o(c){return c.replace(/(^[A-Z])/,([a])=>a.toLowerCase()).replace(/([A-Z])/g,([a])=>`-${a.toLowerCase()}`)}}),define(te[822],ie([1,0,7,38,151,2,17,10,229,53,39,5,274,332,82,31,24,61,485,49,106,430]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Minimap=void 0;const c=140,a=2;class g{constructor(T,N,A){const P=T.options,O=P.get(141),x=P.get(143),W=x.minimap,U=P.get(50),F=P.get(72);this.renderMinimap=W.renderMinimap,this.size=F.size,this.minimapHeightIsEditorHeight=W.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=P.get(104),this.paddingTop=P.get(83).top,this.paddingBottom=P.get(83).bottom,this.showSlider=F.showSlider,this.autohide=F.autohide,this.pixelRatio=O,this.typicalHalfwidthCharacterWidth=U.typicalHalfwidthCharacterWidth,this.lineHeight=P.get(66),this.minimapLeft=W.minimapLeft,this.minimapWidth=W.minimapWidth,this.minimapHeight=x.height,this.canvasInnerWidth=W.minimapCanvasInnerWidth,this.canvasInnerHeight=W.minimapCanvasInnerHeight,this.canvasOuterWidth=W.minimapCanvasOuterWidth,this.canvasOuterHeight=W.minimapCanvasOuterHeight,this.isSampling=W.minimapIsSampling,this.editorHeight=x.height,this.fontScale=W.minimapScale,this.minimapLineHeight=W.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=(0,o.createSingleCallFunction)(()=>d.MinimapCharRendererFactory.create(this.fontScale,U.fontFamily)),this.defaultBackgroundColor=A.getColor(2),this.backgroundColor=g._getMinimapBackground(N,this.defaultBackgroundColor),this.foregroundAlpha=g._getMinimapForegroundOpacity(N)}static _getMinimapBackground(T,N){const A=T.getColor(r.minimapBackground);return A?new i.RGBA8(A.rgba.r,A.rgba.g,A.rgba.b,Math.round(255*A.rgba.a)):N}static _getMinimapForegroundOpacity(T){const N=T.getColor(r.minimapForegroundOpacity);return N?i.RGBA8._clamp(Math.round(255*N.rgba.a)):255}equals(T){return this.renderMinimap===T.renderMinimap&&this.size===T.size&&this.minimapHeightIsEditorHeight===T.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===T.scrollBeyondLastLine&&this.paddingTop===T.paddingTop&&this.paddingBottom===T.paddingBottom&&this.showSlider===T.showSlider&&this.autohide===T.autohide&&this.pixelRatio===T.pixelRatio&&this.typicalHalfwidthCharacterWidth===T.typicalHalfwidthCharacterWidth&&this.lineHeight===T.lineHeight&&this.minimapLeft===T.minimapLeft&&this.minimapWidth===T.minimapWidth&&this.minimapHeight===T.minimapHeight&&this.canvasInnerWidth===T.canvasInnerWidth&&this.canvasInnerHeight===T.canvasInnerHeight&&this.canvasOuterWidth===T.canvasOuterWidth&&this.canvasOuterHeight===T.canvasOuterHeight&&this.isSampling===T.isSampling&&this.editorHeight===T.editorHeight&&this.fontScale===T.fontScale&&this.minimapLineHeight===T.minimapLineHeight&&this.minimapCharWidth===T.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(T.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(T.backgroundColor)&&this.foregroundAlpha===T.foregroundAlpha}}class h{constructor(T,N,A,P,O,x,W,U,F){this.scrollTop=T,this.scrollHeight=N,this.sliderNeeded=A,this._computedSliderRatio=P,this.sliderTop=O,this.sliderHeight=x,this.topPaddingLineCount=W,this.startLineNumber=U,this.endLineNumber=F}getDesiredScrollTopFromDelta(T){return Math.round(this.scrollTop+T/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(T){return Math.round((T-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(T){const N=Math.max(this.startLineNumber,T.startLineNumber),A=Math.min(this.endLineNumber,T.endLineNumber);return N>A?null:[N,A]}getYForLineNumber(T,N){return+(T-this.startLineNumber+this.topPaddingLineCount)*N}static create(T,N,A,P,O,x,W,U,F,G,Y){const ne=T.pixelRatio,se=T.minimapLineHeight,J=Math.floor(T.canvasInnerHeight/se),q=T.lineHeight;if(T.minimapHeightIsEditorHeight){let de=U*T.lineHeight+T.paddingTop+T.paddingBottom;T.scrollBeyondLastLine&&(de+=Math.max(0,O-T.lineHeight-T.paddingBottom));const ce=Math.max(1,Math.floor(O*O/de)),ae=Math.max(0,T.minimapHeight-ce),X=ae/(G-O),K=F*X,z=ae>0,Q=Math.floor(T.canvasInnerHeight/T.minimapLineHeight),j=Math.floor(T.paddingTop/T.lineHeight);return new h(F,G,z,X,K,ce,j,1,Math.min(W,Q))}let H;if(x&&A!==W){const de=A-N+1;H=Math.floor(de*se/ne)}else{const de=O/q;H=Math.floor(de*se/ne)}const V=Math.floor(T.paddingTop/q);let Z=Math.floor(T.paddingBottom/q);if(T.scrollBeyondLastLine){const de=O/q;Z=Math.max(Z,de-1)}let ee;if(Z>0){const de=O/q;ee=(V+W+Z-de-1)*se/ne}else ee=Math.max(0,(V+W)*se/ne-H);ee=Math.min(T.minimapHeight-H,ee);const le=ee/(G-O),ue=F*le;if(J>=V+W+Z){const de=ee>0;return new h(F,G,de,le,ue,H,V,1,W)}else{let de;N>1?de=N+V:de=Math.max(1,F/q);let ce,ae=Math.max(1,Math.floor(de-ue*ne/se));aeF&&(ae=Math.min(ae,Y.startLineNumber),ce=Math.max(ce,Y.topPaddingLineCount)),Y.scrollTop=T.paddingTop?z=(N-ae+ce+K)*se/ne:z=F/T.paddingTop*(ce+K)*se/ne,new h(F,G,!0,le,z,H,ce,ae,X)}}}class p{constructor(T){this.dy=T}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}p.INVALID=new p(-1);class b{constructor(T,N,A){this.renderedLayout=T,this._imageData=N,this._renderedLines=new _.RenderedLinesCollection(()=>p.INVALID),this._renderedLines._set(T.startLineNumber,A)}linesEquals(T){if(!this.scrollEquals(T))return!1;const A=this._renderedLines._get().lines;for(let P=0,O=A.length;P1){for(let V=0,Z=P-1;V0&&this.minimapLines[A-1]>=T;)A--;let P=this.modelLineToMinimapLine(N)-1;for(;P+1N)return null}return[A+1,P+1]}decorationLineRangeToMinimapLineRange(T,N){let A=this.modelLineToMinimapLine(T),P=this.modelLineToMinimapLine(N);return T!==N&&P===A&&(P===this.minimapLines.length?A>1&&A--:P++),[A,P]}onLinesDeleted(T){const N=T.toLineNumber-T.fromLineNumber+1;let A=this.minimapLines.length,P=0;for(let O=this.minimapLines.length-1;O>=0&&!(this.minimapLines[O]=0&&!(this.minimapLines[A]0,scrollWidth:T.scrollWidth,scrollHeight:T.scrollHeight,viewportStartLineNumber:N,viewportEndLineNumber:A,viewportStartLineNumberVerticalOffset:T.getVerticalOffsetForLineNumber(N),scrollTop:T.scrollTop,scrollLeft:T.scrollLeft,viewportWidth:T.viewportWidth,viewportHeight:T.viewportHeight};this._actual.render(P)}_recreateLineSampling(){this._minimapSelections=null;const T=!!this._samplingState,[N,A]=E.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=N,T&&this._samplingState)for(const P of A)switch(P.type){case"deleted":this._actual.onLinesDeleted(P.deleteFromLineNumber,P.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(P.insertFromLineNumber,P.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(T){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineContent(T)}getLineMaxColumn(T){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[T-1]):this._context.viewModel.getLineMaxColumn(T)}getMinimapLinesRenderingData(T,N,A){if(this._samplingState){const P=[];for(let O=0,x=N-T+1;O{if(A.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!=="proportional"){if(A.button===0&&this._lastRenderData){const F=L.getDomNodePagePosition(this._slider.domNode),G=F.top+F.height/2;this._startSliderDragging(A,G,this._lastRenderData.renderedLayout)}return}const O=this._model.options.minimapLineHeight,x=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*A.offsetY;let U=Math.floor(x/O)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;U=Math.min(U,this._model.getLineCount()),this._model.revealLineNumber(U)}),this._sliderPointerMoveMonitor=new y.GlobalPointerMoveMonitor,this._sliderPointerDownListener=L.addStandardDisposableListener(this._slider.domNode,L.EventType.POINTER_DOWN,A=>{A.preventDefault(),A.stopPropagation(),A.button===0&&this._lastRenderData&&this._startSliderDragging(A,A.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=f.Gesture.addTarget(this._domNode.domNode),this._sliderTouchStartListener=L.addDisposableListener(this._domNode.domNode,f.EventType.Start,A=>{A.preventDefault(),A.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(A))},{passive:!1}),this._sliderTouchMoveListener=L.addDisposableListener(this._domNode.domNode,f.EventType.Change,A=>{A.preventDefault(),A.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(A)},{passive:!1}),this._sliderTouchEndListener=L.addStandardDisposableListener(this._domNode.domNode,f.EventType.End,A=>{A.preventDefault(),A.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(T,N,A){if(!T.target||!(T.target instanceof Element))return;const P=T.pageX;this._slider.toggleClassName("active",!0);const O=(x,W)=>{const U=L.getDomNodePagePosition(this._domNode.domNode),F=Math.min(Math.abs(W-P),Math.abs(W-U.left),Math.abs(W-U.left-U.width));if(S.isWindows&&F>c){this._model.setScrollTop(A.scrollTop);return}const G=x-N;this._model.setScrollTop(A.getDesiredScrollTopFromDelta(G))};T.pageY!==N&&O(T.pageY,P),this._sliderPointerMoveMonitor.startMonitoring(T.target,T.pointerId,T.buttons,x=>O(x.pageY,x.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(T){const N=this._domNode.domNode.getBoundingClientRect().top,A=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(T.pageY-N);this._model.setScrollTop(A)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){const T=["minimap"];return this._model.options.showSlider==="always"?T.push("slider-always"):T.push("slider-mouseover"),this._model.options.autohide&&T.push("autohide"),T.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new w(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(T,N){return this._lastRenderData?this._lastRenderData.onLinesChanged(T,N):!1}onLinesDeleted(T,N){var A;return(A=this._lastRenderData)===null||A===void 0||A.onLinesDeleted(T,N),!0}onLinesInserted(T,N){var A;return(A=this._lastRenderData)===null||A===void 0||A.onLinesInserted(T,N),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(r.minimapSelection),this._renderDecorations=!0,!0}onTokensChanged(T){return this._lastRenderData?this._lastRenderData.onTokensChanged(T):!1}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(T){if(this._model.options.renderMinimap===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}T.scrollLeft+T.viewportWidth>=T.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const A=h.create(this._model.options,T.viewportStartLineNumber,T.viewportEndLineNumber,T.viewportStartLineNumberVerticalOffset,T.viewportHeight,T.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),T.scrollTop,T.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(A.sliderNeeded?"block":"none"),this._slider.setTop(A.sliderTop),this._slider.setHeight(A.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(A.sliderHeight),this.renderDecorations(A),this._lastRenderData=this.renderLines(A)}renderDecorations(T){if(this._renderDecorations){this._renderDecorations=!1;const N=this._model.getSelections();N.sort(s.Range.compareRangesUsingStarts);const A=this._model.getMinimapDecorationsInViewport(T.startLineNumber,T.endLineNumber);A.sort((ne,se)=>(ne.options.zIndex||0)-(se.options.zIndex||0));const{canvasInnerWidth:P,canvasInnerHeight:O}=this._model.options,x=this._model.options.minimapLineHeight,W=this._model.options.minimapCharWidth,U=this._model.getOptions().tabSize,F=this._decorationsCanvas.domNode.getContext("2d");F.clearRect(0,0,P,O);const G=new R(T.startLineNumber,T.endLineNumber,!1);this._renderSelectionLineHighlights(F,N,G,T,x),this._renderDecorationsLineHighlights(F,A,G,T,x);const Y=new R(T.startLineNumber,T.endLineNumber,null);this._renderSelectionsHighlights(F,N,Y,T,x,U,W,P),this._renderDecorationsHighlights(F,A,Y,T,x,U,W,P)}}_renderSelectionLineHighlights(T,N,A,P,O){if(!this._selectionColor||this._selectionColor.isTransparent())return;T.fillStyle=this._selectionColor.transparent(.5).toString();let x=0,W=0;for(const U of N){const F=P.intersectWithViewport(U);if(!F)continue;const[G,Y]=F;for(let J=G;J<=Y;J++)A.set(J,!0);const ne=P.getYForLineNumber(G,O),se=P.getYForLineNumber(Y,O);W>=ne||(W>x&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,x,T.canvas.width,W-x),x=ne),W=se}W>x&&T.fillRect(C.MINIMAP_GUTTER_WIDTH,x,T.canvas.width,W-x)}_renderDecorationsLineHighlights(T,N,A,P,O){const x=new Map;for(let W=N.length-1;W>=0;W--){const U=N[W],F=U.options.minimap;if(!F||F.position!==l.MinimapPosition.Inline)continue;const G=P.intersectWithViewport(U.range);if(!G)continue;const[Y,ne]=G,se=F.getColor(this._theme.value);if(!se||se.isTransparent())continue;let J=x.get(se.toString());J||(J=se.transparent(.5).toString(),x.set(se.toString(),J)),T.fillStyle=J;for(let q=Y;q<=ne;q++){if(A.has(q))continue;A.set(q,!0);const H=P.getYForLineNumber(Y,O);T.fillRect(C.MINIMAP_GUTTER_WIDTH,H,T.canvas.width,O)}}}_renderSelectionsHighlights(T,N,A,P,O,x,W,U){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const F of N){const G=P.intersectWithViewport(F);if(!G)continue;const[Y,ne]=G;for(let se=Y;se<=ne;se++)this.renderDecorationOnLine(T,A,F,this._selectionColor,P,se,O,O,x,W,U)}}_renderDecorationsHighlights(T,N,A,P,O,x,W,U){for(const F of N){const G=F.options.minimap;if(!G)continue;const Y=P.intersectWithViewport(F.range);if(!Y)continue;const[ne,se]=Y,J=G.getColor(this._theme.value);if(!(!J||J.isTransparent()))for(let q=ne;q<=se;q++)switch(G.position){case l.MinimapPosition.Inline:this.renderDecorationOnLine(T,A,F.range,J,P,q,O,O,x,W,U);continue;case l.MinimapPosition.Gutter:{const H=P.getYForLineNumber(q,O),V=2;this.renderDecoration(T,J,V,H,a,O);continue}}}}renderDecorationOnLine(T,N,A,P,O,x,W,U,F,G,Y){const ne=O.getYForLineNumber(x,U);if(ne+W<0||ne>this._model.options.canvasInnerHeight)return;const{startLineNumber:se,endLineNumber:J}=A,q=se===x?A.startColumn:1,H=J===x?A.endColumn:this._model.getLineMaxColumn(x),V=this.getXOffsetForPosition(N,x,q,F,G,Y),Z=this.getXOffsetForPosition(N,x,H,F,G,Y);this.renderDecoration(T,P,V,ne,Z-V,W)}getXOffsetForPosition(T,N,A,P,O,x){if(A===1)return C.MINIMAP_GUTTER_WIDTH;if((A-1)*O>=x)return x;let U=T.get(N);if(!U){const F=this._model.getLineContent(N);U=[C.MINIMAP_GUTTER_WIDTH];let G=C.MINIMAP_GUTTER_WIDTH;for(let Y=1;Y=x){U[Y]=x;break}U[Y]=J,G=J}T.set(N,U)}return A-1ue?Math.floor((P-ue)/2):0,ce=ne.a/255,ae=new i.RGBA8(Math.round((ne.r-Y.r)*ce+Y.r),Math.round((ne.g-Y.g)*ce+Y.g),Math.round((ne.b-Y.b)*ce+Y.b),255);let X=T.topPaddingLineCount*P;const K=[];for(let oe=0,he=A-N+1;oe=0&&zZ)return;const Q=H.charCodeAt(ue);if(Q===9){const j=ne-(ue+de)%ne;de+=j-1,le+=j*x}else if(Q===32)le+=x;else{const j=m.isFullWidthCharacter(Q)?2:1;for(let re=0;reZ)return}}}}}class R{constructor(T,N,A){this._startLineNumber=T,this._endLineNumber=N,this._defaultValue=A,this._values=[];for(let P=0,O=this._endLineNumber-this._startLineNumber+1;Pthis._endLineNumber||(this._values[T-this._startLineNumber]=N)}get(T){return Tthis._endLineNumber?this._defaultValue:this._values[T-this._startLineNumber]}}}),define(te[823],ie([1,0,610,31]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.diffMoveBorderActive=e.diffMoveBorder=void 0,e.diffMoveBorder=(0,I.registerColor)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,L.localize)(0,null)),e.diffMoveBorderActive=(0,I.registerColor)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,L.localize)(1,null))}),define(te[248],ie([1,0,707,31,467]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOL_ICON_VARIABLE_FOREGROUND=e.SYMBOL_ICON_UNIT_FOREGROUND=e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=e.SYMBOL_ICON_TEXT_FOREGROUND=e.SYMBOL_ICON_STRUCT_FOREGROUND=e.SYMBOL_ICON_STRING_FOREGROUND=e.SYMBOL_ICON_SNIPPET_FOREGROUND=e.SYMBOL_ICON_REFERENCE_FOREGROUND=e.SYMBOL_ICON_PROPERTY_FOREGROUND=e.SYMBOL_ICON_PACKAGE_FOREGROUND=e.SYMBOL_ICON_OPERATOR_FOREGROUND=e.SYMBOL_ICON_OBJECT_FOREGROUND=e.SYMBOL_ICON_NUMBER_FOREGROUND=e.SYMBOL_ICON_NULL_FOREGROUND=e.SYMBOL_ICON_NAMESPACE_FOREGROUND=e.SYMBOL_ICON_MODULE_FOREGROUND=e.SYMBOL_ICON_METHOD_FOREGROUND=e.SYMBOL_ICON_KEYWORD_FOREGROUND=e.SYMBOL_ICON_KEY_FOREGROUND=e.SYMBOL_ICON_INTERFACE_FOREGROUND=e.SYMBOL_ICON_FUNCTION_FOREGROUND=e.SYMBOL_ICON_FOLDER_FOREGROUND=e.SYMBOL_ICON_FILE_FOREGROUND=e.SYMBOL_ICON_FIELD_FOREGROUND=e.SYMBOL_ICON_EVENT_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=e.SYMBOL_ICON_CONSTANT_FOREGROUND=e.SYMBOL_ICON_COLOR_FOREGROUND=e.SYMBOL_ICON_CLASS_FOREGROUND=e.SYMBOL_ICON_BOOLEAN_FOREGROUND=e.SYMBOL_ICON_ARRAY_FOREGROUND=void 0,e.SYMBOL_ICON_ARRAY_FOREGROUND=(0,I.registerColor)("symbolIcon.arrayForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(0,null)),e.SYMBOL_ICON_BOOLEAN_FOREGROUND=(0,I.registerColor)("symbolIcon.booleanForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(1,null)),e.SYMBOL_ICON_CLASS_FOREGROUND=(0,I.registerColor)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(2,null)),e.SYMBOL_ICON_COLOR_FOREGROUND=(0,I.registerColor)("symbolIcon.colorForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(3,null)),e.SYMBOL_ICON_CONSTANT_FOREGROUND=(0,I.registerColor)("symbolIcon.constantForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(4,null)),e.SYMBOL_ICON_CONSTRUCTOR_FOREGROUND=(0,I.registerColor)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(5,null)),e.SYMBOL_ICON_ENUMERATOR_FOREGROUND=(0,I.registerColor)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(6,null)),e.SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND=(0,I.registerColor)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(7,null)),e.SYMBOL_ICON_EVENT_FOREGROUND=(0,I.registerColor)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,L.localize)(8,null)),e.SYMBOL_ICON_FIELD_FOREGROUND=(0,I.registerColor)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(9,null)),e.SYMBOL_ICON_FILE_FOREGROUND=(0,I.registerColor)("symbolIcon.fileForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(10,null)),e.SYMBOL_ICON_FOLDER_FOREGROUND=(0,I.registerColor)("symbolIcon.folderForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(11,null)),e.SYMBOL_ICON_FUNCTION_FOREGROUND=(0,I.registerColor)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(12,null)),e.SYMBOL_ICON_INTERFACE_FOREGROUND=(0,I.registerColor)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(13,null)),e.SYMBOL_ICON_KEY_FOREGROUND=(0,I.registerColor)("symbolIcon.keyForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(14,null)),e.SYMBOL_ICON_KEYWORD_FOREGROUND=(0,I.registerColor)("symbolIcon.keywordForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(15,null)),e.SYMBOL_ICON_METHOD_FOREGROUND=(0,I.registerColor)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,L.localize)(16,null)),e.SYMBOL_ICON_MODULE_FOREGROUND=(0,I.registerColor)("symbolIcon.moduleForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(17,null)),e.SYMBOL_ICON_NAMESPACE_FOREGROUND=(0,I.registerColor)("symbolIcon.namespaceForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(18,null)),e.SYMBOL_ICON_NULL_FOREGROUND=(0,I.registerColor)("symbolIcon.nullForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(19,null)),e.SYMBOL_ICON_NUMBER_FOREGROUND=(0,I.registerColor)("symbolIcon.numberForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(20,null)),e.SYMBOL_ICON_OBJECT_FOREGROUND=(0,I.registerColor)("symbolIcon.objectForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(21,null)),e.SYMBOL_ICON_OPERATOR_FOREGROUND=(0,I.registerColor)("symbolIcon.operatorForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(22,null)),e.SYMBOL_ICON_PACKAGE_FOREGROUND=(0,I.registerColor)("symbolIcon.packageForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(23,null)),e.SYMBOL_ICON_PROPERTY_FOREGROUND=(0,I.registerColor)("symbolIcon.propertyForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(24,null)),e.SYMBOL_ICON_REFERENCE_FOREGROUND=(0,I.registerColor)("symbolIcon.referenceForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(25,null)),e.SYMBOL_ICON_SNIPPET_FOREGROUND=(0,I.registerColor)("symbolIcon.snippetForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(26,null)),e.SYMBOL_ICON_STRING_FOREGROUND=(0,I.registerColor)("symbolIcon.stringForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(27,null)),e.SYMBOL_ICON_STRUCT_FOREGROUND=(0,I.registerColor)("symbolIcon.structForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(28,null)),e.SYMBOL_ICON_TEXT_FOREGROUND=(0,I.registerColor)("symbolIcon.textForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(29,null)),e.SYMBOL_ICON_TYPEPARAMETER_FOREGROUND=(0,I.registerColor)("symbolIcon.typeParameterForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(30,null)),e.SYMBOL_ICON_UNIT_FOREGROUND=(0,I.registerColor)("symbolIcon.unitForeground",{dark:I.foreground,light:I.foreground,hcDark:I.foreground,hcLight:I.foreground},(0,L.localize)(31,null)),e.SYMBOL_ICON_VARIABLE_FOREGROUND=(0,I.registerColor)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,L.localize)(32,null))}),define(te[824],ie([1,0,26,112,642,171,248]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMenuItems=void 0;const D=Object.freeze({kind:I.CodeActionKind.Empty,title:(0,y.localize)(0,null)}),S=Object.freeze([{kind:I.CodeActionKind.QuickFix,title:(0,y.localize)(1,null)},{kind:I.CodeActionKind.RefactorExtract,title:(0,y.localize)(2,null),icon:L.Codicon.wrench},{kind:I.CodeActionKind.RefactorInline,title:(0,y.localize)(3,null),icon:L.Codicon.wrench},{kind:I.CodeActionKind.RefactorRewrite,title:(0,y.localize)(4,null),icon:L.Codicon.wrench},{kind:I.CodeActionKind.RefactorMove,title:(0,y.localize)(5,null),icon:L.Codicon.wrench},{kind:I.CodeActionKind.SurroundWith,title:(0,y.localize)(6,null),icon:L.Codicon.symbolSnippet},{kind:I.CodeActionKind.Source,title:(0,y.localize)(7,null),icon:L.Codicon.symbolFile},D]);function m(_,v,C){if(!v)return _.map(n=>{var t;return{kind:"action",item:n,group:D,disabled:!!n.action.disabled,label:n.action.disabled||n.action.title,canPreview:!!(!((t=n.action.edit)===null||t===void 0)&&t.edits.length)}});const s=S.map(n=>({group:n,actions:[]}));for(const n of _){const t=n.action.kind?new I.CodeActionKind(n.action.kind):I.CodeActionKind.None;for(const r of s)if(r.group.kind.contains(t)){r.actions.push(n);break}}const i=[];for(const n of s)if(n.actions.length){i.push({kind:"header",group:n.group});for(const t of n.actions)i.push({kind:"action",item:t,group:n.group,label:t.action.title,disabled:!!t.action.disabled,keybinding:C(t.action)})}return i}e.toMenuItems=m}),define(te[104],ie([1,0,31,36]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultMenuStyles=e.defaultSelectBoxStyles=e.getListStyles=e.defaultListStyles=e.defaultBreadcrumbsWidgetStyles=e.defaultCountBadgeStyles=e.defaultFindWidgetStyles=e.defaultInputBoxStyles=e.defaultDialogStyles=e.defaultCheckboxStyles=e.defaultToggleStyles=e.defaultProgressBarStyles=e.defaultButtonStyles=e.defaultKeybindingLabelStyles=void 0;function y(S,m){const _=Object.assign({},m);for(const v in S){const C=S[v];_[v]=C!==void 0?(0,L.asCssVariable)(C):void 0}return _}e.defaultKeybindingLabelStyles={keybindingLabelBackground:(0,L.asCssVariable)(L.keybindingLabelBackground),keybindingLabelForeground:(0,L.asCssVariable)(L.keybindingLabelForeground),keybindingLabelBorder:(0,L.asCssVariable)(L.keybindingLabelBorder),keybindingLabelBottomBorder:(0,L.asCssVariable)(L.keybindingLabelBottomBorder),keybindingLabelShadow:(0,L.asCssVariable)(L.widgetShadow)},e.defaultButtonStyles={buttonForeground:(0,L.asCssVariable)(L.buttonForeground),buttonSeparator:(0,L.asCssVariable)(L.buttonSeparator),buttonBackground:(0,L.asCssVariable)(L.buttonBackground),buttonHoverBackground:(0,L.asCssVariable)(L.buttonHoverBackground),buttonSecondaryForeground:(0,L.asCssVariable)(L.buttonSecondaryForeground),buttonSecondaryBackground:(0,L.asCssVariable)(L.buttonSecondaryBackground),buttonSecondaryHoverBackground:(0,L.asCssVariable)(L.buttonSecondaryHoverBackground),buttonBorder:(0,L.asCssVariable)(L.buttonBorder)},e.defaultProgressBarStyles={progressBarBackground:(0,L.asCssVariable)(L.progressBarBackground)},e.defaultToggleStyles={inputActiveOptionBorder:(0,L.asCssVariable)(L.inputActiveOptionBorder),inputActiveOptionForeground:(0,L.asCssVariable)(L.inputActiveOptionForeground),inputActiveOptionBackground:(0,L.asCssVariable)(L.inputActiveOptionBackground)},e.defaultCheckboxStyles={checkboxBackground:(0,L.asCssVariable)(L.checkboxBackground),checkboxBorder:(0,L.asCssVariable)(L.checkboxBorder),checkboxForeground:(0,L.asCssVariable)(L.checkboxForeground)},e.defaultDialogStyles={dialogBackground:(0,L.asCssVariable)(L.editorWidgetBackground),dialogForeground:(0,L.asCssVariable)(L.editorWidgetForeground),dialogShadow:(0,L.asCssVariable)(L.widgetShadow),dialogBorder:(0,L.asCssVariable)(L.contrastBorder),errorIconForeground:(0,L.asCssVariable)(L.problemsErrorIconForeground),warningIconForeground:(0,L.asCssVariable)(L.problemsWarningIconForeground),infoIconForeground:(0,L.asCssVariable)(L.problemsInfoIconForeground),textLinkForeground:(0,L.asCssVariable)(L.textLinkForeground)},e.defaultInputBoxStyles={inputBackground:(0,L.asCssVariable)(L.inputBackground),inputForeground:(0,L.asCssVariable)(L.inputForeground),inputBorder:(0,L.asCssVariable)(L.inputBorder),inputValidationInfoBorder:(0,L.asCssVariable)(L.inputValidationInfoBorder),inputValidationInfoBackground:(0,L.asCssVariable)(L.inputValidationInfoBackground),inputValidationInfoForeground:(0,L.asCssVariable)(L.inputValidationInfoForeground),inputValidationWarningBorder:(0,L.asCssVariable)(L.inputValidationWarningBorder),inputValidationWarningBackground:(0,L.asCssVariable)(L.inputValidationWarningBackground),inputValidationWarningForeground:(0,L.asCssVariable)(L.inputValidationWarningForeground),inputValidationErrorBorder:(0,L.asCssVariable)(L.inputValidationErrorBorder),inputValidationErrorBackground:(0,L.asCssVariable)(L.inputValidationErrorBackground),inputValidationErrorForeground:(0,L.asCssVariable)(L.inputValidationErrorForeground)},e.defaultFindWidgetStyles={listFilterWidgetBackground:(0,L.asCssVariable)(L.listFilterWidgetBackground),listFilterWidgetOutline:(0,L.asCssVariable)(L.listFilterWidgetOutline),listFilterWidgetNoMatchesOutline:(0,L.asCssVariable)(L.listFilterWidgetNoMatchesOutline),listFilterWidgetShadow:(0,L.asCssVariable)(L.listFilterWidgetShadow),inputBoxStyles:e.defaultInputBoxStyles,toggleStyles:e.defaultToggleStyles},e.defaultCountBadgeStyles={badgeBackground:(0,L.asCssVariable)(L.badgeBackground),badgeForeground:(0,L.asCssVariable)(L.badgeForeground),badgeBorder:(0,L.asCssVariable)(L.contrastBorder)},e.defaultBreadcrumbsWidgetStyles={breadcrumbsBackground:(0,L.asCssVariable)(L.breadcrumbsBackground),breadcrumbsForeground:(0,L.asCssVariable)(L.breadcrumbsForeground),breadcrumbsHoverForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusForeground:(0,L.asCssVariable)(L.breadcrumbsFocusForeground),breadcrumbsFocusAndSelectionForeground:(0,L.asCssVariable)(L.breadcrumbsActiveSelectionForeground)},e.defaultListStyles={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,L.asCssVariable)(L.listFocusBackground),listFocusForeground:(0,L.asCssVariable)(L.listFocusForeground),listFocusOutline:(0,L.asCssVariable)(L.listFocusOutline),listActiveSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listActiveSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listActiveSelectionIconForeground:(0,L.asCssVariable)(L.listActiveSelectionIconForeground),listFocusAndSelectionOutline:(0,L.asCssVariable)(L.listFocusAndSelectionOutline),listFocusAndSelectionBackground:(0,L.asCssVariable)(L.listActiveSelectionBackground),listFocusAndSelectionForeground:(0,L.asCssVariable)(L.listActiveSelectionForeground),listInactiveSelectionBackground:(0,L.asCssVariable)(L.listInactiveSelectionBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.listInactiveSelectionIconForeground),listInactiveSelectionForeground:(0,L.asCssVariable)(L.listInactiveSelectionForeground),listInactiveFocusBackground:(0,L.asCssVariable)(L.listInactiveFocusBackground),listInactiveFocusOutline:(0,L.asCssVariable)(L.listInactiveFocusOutline),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listDropBackground:(0,L.asCssVariable)(L.listDropBackground),listSelectionOutline:(0,L.asCssVariable)(L.activeContrastBorder),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),treeIndentGuidesStroke:(0,L.asCssVariable)(L.treeIndentGuidesStroke),treeInactiveIndentGuidesStroke:(0,L.asCssVariable)(L.treeInactiveIndentGuidesStroke),tableColumnsBorder:(0,L.asCssVariable)(L.tableColumnsBorder),tableOddRowsBackgroundColor:(0,L.asCssVariable)(L.tableOddRowsBackgroundColor)};function D(S){return y(S,e.defaultListStyles)}e.getListStyles=D,e.defaultSelectBoxStyles={selectBackground:(0,L.asCssVariable)(L.selectBackground),selectListBackground:(0,L.asCssVariable)(L.selectListBackground),selectForeground:(0,L.asCssVariable)(L.selectForeground),decoratorRightForeground:(0,L.asCssVariable)(L.pickerGroupForeground),selectBorder:(0,L.asCssVariable)(L.selectBorder),focusBorder:(0,L.asCssVariable)(L.focusBorder),listFocusBackground:(0,L.asCssVariable)(L.quickInputListFocusBackground),listInactiveSelectionIconForeground:(0,L.asCssVariable)(L.quickInputListFocusIconForeground),listFocusForeground:(0,L.asCssVariable)(L.quickInputListFocusForeground),listFocusOutline:(0,L.asCssVariableWithDefault)(L.activeContrastBorder,I.Color.transparent.toString()),listHoverBackground:(0,L.asCssVariable)(L.listHoverBackground),listHoverForeground:(0,L.asCssVariable)(L.listHoverForeground),listHoverOutline:(0,L.asCssVariable)(L.activeContrastBorder),selectListBorder:(0,L.asCssVariable)(L.editorWidgetBorder),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0},e.defaultMenuStyles={shadowColor:(0,L.asCssVariable)(L.widgetShadow),borderColor:(0,L.asCssVariable)(L.menuBorder),foregroundColor:(0,L.asCssVariable)(L.menuForeground),backgroundColor:(0,L.asCssVariable)(L.menuBackground),selectionForegroundColor:(0,L.asCssVariable)(L.menuSelectionForeground),selectionBackgroundColor:(0,L.asCssVariable)(L.menuSelectionBackground),selectionBorderColor:(0,L.asCssVariable)(L.menuSelectionBorder),separatorColor:(0,L.asCssVariable)(L.menuSeparatorBackground),scrollbarShadow:(0,L.asCssVariable)(L.scrollbarShadow),scrollbarSliderBackground:(0,L.asCssVariable)(L.scrollbarSliderBackground),scrollbarSliderHoverBackground:(0,L.asCssVariable)(L.scrollbarSliderHoverBackground),scrollbarSliderActiveBackground:(0,L.asCssVariable)(L.scrollbarSliderActiveBackground)}}),define(te[825],ie([1,0,7,312,313,226,69,2,46,65,668,8,34,158,104,155]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibilityProvider=e.OneReferenceRenderer=e.FileReferencesRenderer=e.IdentityProvider=e.StringRepresentationProvider=e.Delegate=e.DataSource=void 0;let f=class{constructor(w){this._resolverService=w}hasChildren(w){return w instanceof r.ReferencesModel||w instanceof r.FileReferences}getChildren(w){if(w instanceof r.ReferencesModel)return w.groups;if(w instanceof r.FileReferences)return w.resolve(this._resolverService).then(E=>E.children);throw new Error("bad tree")}};e.DataSource=f,e.DataSource=f=Ie([ge(0,v.ITextModelService)],f);class d{getHeight(){return 23}getTemplateId(w){return w instanceof r.FileReferences?a.id:h.id}}e.Delegate=d;let l=class{constructor(w){this._keybindingService=w}getKeyboardNavigationLabel(w){var E;if(w instanceof r.OneReference){const k=(E=w.parent.getPreview(w))===null||E===void 0?void 0:E.preview(w.range);if(k)return k.value}return(0,_.basename)(w.uri)}};e.StringRepresentationProvider=l,e.StringRepresentationProvider=l=Ie([ge(0,i.IKeybindingService)],l);class o{getId(w){return w instanceof r.OneReference?w.id:w.uri}}e.IdentityProvider=o;let c=class extends m.Disposable{constructor(w,E){super(),this._labelService=E;const k=document.createElement("div");k.classList.add("reference-file"),this.file=this._register(new D.IconLabel(k,{supportHighlights:!0})),this.badge=new I.CountBadge(L.append(k,L.$(".count")),{},t.defaultCountBadgeStyles),w.appendChild(k)}set(w,E){const k=(0,_.dirname)(w.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(w.uri),this._labelService.getUriLabel(k,{relative:!0}),{title:this._labelService.getUriLabel(w.uri),matches:E});const M=w.children.length;this.badge.setCount(M),M>1?this.badge.setTitleFormat((0,C.localize)(0,null,M)):this.badge.setTitleFormat((0,C.localize)(1,null,M))}};c=Ie([ge(1,n.ILabelService)],c);let a=u=class{constructor(w){this._instantiationService=w,this.templateId=u.id}renderTemplate(w){return this._instantiationService.createInstance(c,w)}renderElement(w,E,k){k.set(w.element,(0,S.createMatches)(w.filterData))}disposeTemplate(w){w.dispose()}};e.FileReferencesRenderer=a,a.id="FileReferencesRenderer",e.FileReferencesRenderer=a=u=Ie([ge(0,s.IInstantiationService)],a);class g{constructor(w){this.label=new y.HighlightedLabel(w)}set(w,E){var k;const M=(k=w.parent.getPreview(w))===null||k===void 0?void 0:k.preview(w.range);if(!M||!M.value)this.label.set(`${(0,_.basename)(w.uri)}:${w.range.startLineNumber+1}:${w.range.startColumn+1}`);else{const{value:R,highlight:B}=M;E&&!S.FuzzyScore.isDefault(E)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(R,(0,S.createMatches)(E))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(R,[B]))}}}class h{constructor(){this.templateId=h.id}renderTemplate(w){return new g(w)}renderElement(w,E,k){k.set(w.element,w.filterData)}disposeTemplate(){}}e.OneReferenceRenderer=h,h.id="OneReferenceRenderer";class p{getWidgetAriaLabel(){return(0,C.localize)(2,null)}getAriaLabel(w){return w.ariaMessage}}e.AccessibilityProvider=p}),define(te[826],ie([1,0,7,222,113,19,26,2,17,27,716,58,34,104,31,268]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionList=e.previewSelectedActionCommand=e.acceptSelectedActionCommand=void 0,e.acceptSelectedActionCommand="acceptSelectedCodeAction",e.previewSelectedActionCommand="previewSelectedCodeAction";class r{get templateId(){return"header"}renderTemplate(g){g.classList.add("group-header");const h=document.createElement("span");return g.append(h),{container:g,text:h}}renderElement(g,h,p){var b,w;p.text.textContent=(w=(b=g.group)===null||b===void 0?void 0:b.title)!==null&&w!==void 0?w:""}disposeTemplate(g){}}let u=class{get templateId(){return"action"}constructor(g,h){this._supportsPreview=g,this._keybindingService=h}renderTemplate(g){g.classList.add(this.templateId);const h=document.createElement("div");h.className="icon",g.append(h);const p=document.createElement("span");p.className="title",g.append(p);const b=new I.KeybindingLabel(g,_.OS);return{container:g,icon:h,text:p,keybinding:b}}renderElement(g,h,p){var b,w,E;if(!((b=g.group)===null||b===void 0)&&b.icon?(p.icon.className=v.ThemeIcon.asClassName(g.group.icon),g.group.icon.color&&(p.icon.style.color=(0,t.asCssVariable)(g.group.icon.color.id))):(p.icon.className=v.ThemeIcon.asClassName(S.Codicon.lightBulb),p.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!g.item||!g.label)return;p.text.textContent=c(g.label),p.keybinding.set(g.keybinding),L.setVisibility(!!g.keybinding,p.keybinding.element);const k=(w=this._keybindingService.lookupKeybinding(e.acceptSelectedActionCommand))===null||w===void 0?void 0:w.getLabel(),M=(E=this._keybindingService.lookupKeybinding(e.previewSelectedActionCommand))===null||E===void 0?void 0:E.getLabel();p.container.classList.toggle("option-disabled",g.disabled),g.disabled?p.container.title=g.label:k&&M?this._supportsPreview&&g.canPreview?p.container.title=(0,C.localize)(0,null,k,M):p.container.title=(0,C.localize)(1,null,k):p.container.title=""}disposeTemplate(g){}};u=Ie([ge(1,i.IKeybindingService)],u);class f extends UIEvent{constructor(){super("acceptSelectedAction")}}class d extends UIEvent{constructor(){super("previewSelectedAction")}}function l(a){if(a.kind==="action")return a.label}let o=class extends m.Disposable{constructor(g,h,p,b,w,E){super(),this._delegate=b,this._contextViewService=w,this._keybindingService=E,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new D.CancellationTokenSource),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const k={getHeight:M=>M.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:M=>M.kind};this._list=this._register(new y.List(g,this.domNode,k,[new u(h,this._keybindingService),new r],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:l},accessibilityProvider:{getAriaLabel:M=>{if(M.kind==="action"){let R=M.label?c(M?.label):"";return M.disabled&&(R=(0,C.localize)(2,null,R,M.disabled)),R}return null},getWidgetAriaLabel:()=>(0,C.localize)(3,null),getRole:M=>M.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(n.defaultListStyles),this._register(this._list.onMouseClick(M=>this.onListClick(M))),this._register(this._list.onMouseOver(M=>this.onListHover(M))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(M=>this.onListSelection(M))),this._allMenuItems=p,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(g){return!g.disabled&&g.kind==="action"}hide(g){this._delegate.onHide(g),this.cts.cancel(),this._contextViewService.hideContextView()}layout(g){const h=this._allMenuItems.filter(R=>R.kind==="header").length,b=this._allMenuItems.length*this._actionLineHeight+h*this._headerLineHeight-h*this._actionLineHeight;this._list.layout(b);const w=this._allMenuItems.map((R,B)=>{const T=document.getElementById(this._list.getElementID(B));if(T){T.style.width="auto";const N=T.getBoundingClientRect().width;return T.style.width="",N}return 0}),E=Math.max(...w,g),k=.7,M=Math.min(b,document.body.clientHeight*k);return this._list.layout(M,E),this.domNode.style.height=`${M}px`,this._list.domFocus(),E}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(g){const h=this._list.getFocus();if(h.length===0)return;const p=h[0],b=this._list.element(p);if(!this.focusCondition(b))return;const w=g?new d:new f;this._list.setSelection([p],w)}onListSelection(g){if(!g.elements.length)return;const h=g.elements[0];h.item&&this.focusCondition(h)?this._delegate.onSelect(h.item,g.browserEvent instanceof d):this._list.setSelection([])}onFocus(){var g,h;this._list.domFocus();const p=this._list.getFocus();if(p.length===0)return;const b=p[0],w=this._list.element(b);(h=(g=this._delegate).onFocus)===null||h===void 0||h.call(g,w.item)}onListHover(g){return be(this,void 0,void 0,function*(){const h=g.element;if(h&&h.item&&this.focusCondition(h)){if(this._delegate.onHover&&!h.disabled&&h.kind==="action"){const p=yield this._delegate.onHover(h.item,this.cts.token);h.canPreview=p?p.canPreview:void 0}g.index&&this._list.splice(g.index,1,[h])}this._list.setFocus(typeof g.index=="number"?[g.index]:[])})}onListClick(g){g.element&&this.focusCondition(g.element)&&this._list.setFocus([])}};e.ActionList=o,e.ActionList=o=Ie([ge(4,s.IContextViewService),ge(5,i.IKeybindingService)],o);function c(a){return a.replace(/\r\n|\r|\n/g," ")}}),define(te[827],ie([1,0,7,73,2,717,826,30,15,58,47,8,31,268]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IActionWidgetService=void 0,(0,i.registerColor)("actionBar.toggledBackground",{dark:i.inputActiveOptionBackground,light:i.inputActiveOptionBackground,hcDark:i.inputActiveOptionBackground,hcLight:i.inputActiveOptionBackground},(0,D.localize)(0,null));const n={Visible:new _.RawContextKey("codeActionMenuVisible",!1,(0,D.localize)(1,null))};e.IActionWidgetService=(0,s.createDecorator)("actionWidgetService");let t=class extends y.Disposable{get isVisible(){return n.Visible.getValue(this._contextKeyService)||!1}constructor(f,d,l){super(),this._contextViewService=f,this._contextKeyService=d,this._instantiationService=l,this._list=this._register(new y.MutableDisposable)}show(f,d,l,o,c,a,g){const h=n.Visible.bindTo(this._contextKeyService),p=this._instantiationService.createInstance(S.ActionList,f,d,l,o);this._contextViewService.showContextView({getAnchor:()=>c,render:b=>(h.set(!0),this._renderWidget(b,p,g??[])),onHide:b=>{h.reset(),this._onWidgetClosed(b)}},a,!1)}acceptSelected(f){var d;(d=this._list.value)===null||d===void 0||d.acceptSelected(f)}focusPrevious(){var f,d;(d=(f=this._list)===null||f===void 0?void 0:f.value)===null||d===void 0||d.focusPrevious()}focusNext(){var f,d;(d=(f=this._list)===null||f===void 0?void 0:f.value)===null||d===void 0||d.focusNext()}hide(){var f;(f=this._list.value)===null||f===void 0||f.hide(),this._list.clear()}_renderWidget(f,d,l){var o;const c=document.createElement("div");if(c.classList.add("action-widget"),f.appendChild(c),this._list.value=d,this._list.value)c.appendChild(this._list.value.domNode);else throw new Error("List has no value");const a=new y.DisposableStore,g=document.createElement("div"),h=f.appendChild(g);h.classList.add("context-view-block"),a.add(L.addDisposableListener(h,L.EventType.MOUSE_DOWN,M=>M.stopPropagation()));const p=document.createElement("div"),b=f.appendChild(p);b.classList.add("context-view-pointerBlock"),a.add(L.addDisposableListener(b,L.EventType.POINTER_MOVE,()=>b.remove())),a.add(L.addDisposableListener(b,L.EventType.MOUSE_DOWN,()=>b.remove()));let w=0;if(l.length){const M=this._createActionBar(".action-widget-action-bar",l);M&&(c.appendChild(M.getContainer().parentElement),a.add(M),w=M.getContainer().offsetWidth)}const E=(o=this._list.value)===null||o===void 0?void 0:o.layout(w);c.style.width=`${E}px`;const k=a.add(L.trackFocus(f));return a.add(k.onDidBlur(()=>this.hide())),a}_createActionBar(f,d){if(!d.length)return;const l=L.$(f),o=new I.ActionBar(l);return o.push(d,{icon:!1,label:!0}),o}_onWidgetClosed(f){var d;(d=this._list.value)===null||d===void 0||d.hide(f)}};t=Ie([ge(0,v.IContextViewService),ge(1,_.IContextKeyService),ge(2,s.IInstantiationService)],t),(0,C.registerSingleton)(e.IActionWidgetService,t,1);const r=100+1e3;(0,m.registerAction2)(class extends m.Action2{constructor(){super({id:"hideCodeActionWidget",title:{value:(0,D.localize)(2,null),original:"Hide action widget"},precondition:n.Visible,keybinding:{weight:r,primary:9,secondary:[1033]}})}run(u){u.get(e.IActionWidgetService).hide()}}),(0,m.registerAction2)(class extends m.Action2{constructor(){super({id:"selectPrevCodeAction",title:{value:(0,D.localize)(3,null),original:"Select previous action"},precondition:n.Visible,keybinding:{weight:r,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(u){const f=u.get(e.IActionWidgetService);f instanceof t&&f.focusPrevious()}}),(0,m.registerAction2)(class extends m.Action2{constructor(){super({id:"selectNextCodeAction",title:{value:(0,D.localize)(4,null),original:"Select next action"},precondition:n.Visible,keybinding:{weight:r,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(u){const f=u.get(e.IActionWidgetService);f instanceof t&&f.focusNext()}}),(0,m.registerAction2)(class extends m.Action2{constructor(){super({id:S.acceptSelectedActionCommand,title:{value:(0,D.localize)(5,null),original:"Accept selected action"},precondition:n.Visible,keybinding:{weight:r,primary:3,secondary:[2137]}})}run(u){const f=u.get(e.IActionWidgetService);f instanceof t&&f.acceptSelected()}}),(0,m.registerAction2)(class extends m.Action2{constructor(){super({id:S.previewSelectedActionCommand,title:{value:(0,D.localize)(6,null),original:"Preview selected action"},precondition:n.Visible,keybinding:{weight:r,primary:2051}})}run(u){const f=u.get(e.IActionWidgetService);f instanceof t&&f.acceptSelected(!0)}})}),define(te[828],ie([1,0,7,60,586,41,9,2,104]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuHandler=void 0;class v{constructor(s,i,n,t){this.contextViewService=s,this.telemetryService=i,this.notificationService=n,this.keybindingService=t,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(s){this.options=s}showContextMenu(s){const i=s.getActions();if(!i.length)return;this.focusToReturn=document.activeElement;let n;const t=(0,L.isHTMLElement)(s.domForShadowRoot)?s.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>s.getAnchor(),canRelayout:!1,anchorAlignment:s.anchorAlignment,anchorAxisAlignment:s.anchorAxisAlignment,render:r=>{var u;this.lastContainer=r;const f=s.getMenuClassName?s.getMenuClassName():"";f&&(r.className+=" "+f),this.options.blockMouse&&(this.block=r.appendChild((0,L.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(u=this.blockDisposable)===null||u===void 0||u.dispose(),this.blockDisposable=(0,L.addDisposableListener)(this.block,L.EventType.MOUSE_DOWN,o=>o.stopPropagation()));const d=new m.DisposableStore,l=s.actionRunner||new D.ActionRunner;return l.onWillRun(o=>this.onActionRun(o,!s.skipTelemetry),this,d),l.onDidRun(this.onDidActionRun,this,d),n=new y.Menu(r,i,{actionViewItemProvider:s.getActionViewItem,context:s.getActionsContext?s.getActionsContext():null,actionRunner:l,getKeyBinding:s.getKeyBinding?s.getKeyBinding:o=>this.keybindingService.lookupKeybinding(o.id)},_.defaultMenuStyles),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,d),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,d),d.add((0,L.addDisposableListener)(window,L.EventType.BLUR,()=>this.contextViewService.hideContextView(!0))),d.add((0,L.addDisposableListener)(window,L.EventType.MOUSE_DOWN,o=>{if(o.defaultPrevented)return;const c=new I.StandardMouseEvent(o);let a=c.target;if(!c.rightButton){for(;a;){if(a===r)return;a=a.parentElement}this.contextViewService.hideContextView(!0)}})),(0,m.combinedDisposable)(d,n)},focus:()=>{n?.focus(!!s.autoSelectFirstItem)},onHide:r=>{var u,f,d;(u=s.onHide)===null||u===void 0||u.call(s,!!r),this.block&&(this.block.remove(),this.block=null),(f=this.blockDisposable)===null||f===void 0||f.dispose(),this.blockDisposable=null,this.lastContainer&&((0,L.getActiveElement)()===this.lastContainer||(0,L.isAncestor)((0,L.getActiveElement)(),this.lastContainer))&&((d=this.focusToReturn)===null||d===void 0||d.focus()),this.lastContainer=null}},t,!!t)}onActionRun(s,i){i&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:s.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(s){s.error&&!(0,S.isCancellationError)(s.error)&&this.notificationService.error(s.error)}}e.ContextMenuHandler=v}),define(te[190],ie([1,0,7,581,113,582,182,589,588,321,6,2,729,28,95,15,237,58,8,34,35,104]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WorkbenchCompressibleAsyncDataTree=e.WorkbenchAsyncDataTree=e.WorkbenchDataTree=e.WorkbenchCompressibleObjectTree=e.WorkbenchObjectTree=e.WorkbenchTable=e.WorkbenchPagedList=e.WorkbenchList=e.WorkbenchTreeFindOpen=e.WorkbenchTreeElementHasChild=e.WorkbenchTreeElementCanExpand=e.WorkbenchTreeElementHasParent=e.WorkbenchTreeElementCanCollapse=e.WorkbenchListSupportsFind=e.WorkbenchListSelectionNavigation=e.WorkbenchListMultiSelection=e.WorkbenchListDoubleSelection=e.WorkbenchListHasSelectionOrFocus=e.WorkbenchListFocusContextKey=e.WorkbenchListSupportsMultiSelectContextKey=e.RawWorkbenchListFocusContextKey=e.WorkbenchListScrollAtBottomContextKey=e.WorkbenchListScrollAtTopContextKey=e.RawWorkbenchListScrollAtBoundaryContextKey=e.ListService=e.IListService=void 0,e.IListService=(0,d.createDecorator)("listService");class a{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new s.DisposableStore,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(oe){var he,me;oe!==this._lastFocusedWidget&&((he=this._lastFocusedWidget)===null||he===void 0||he.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=oe,(me=this._lastFocusedWidget)===null||me===void 0||me.getHTMLElement().classList.add("last-focused"))}register(oe,he){if(this._hasCreatedStyleController||(this._hasCreatedStyleController=!0,new y.DefaultStyleController((0,L.createStyleSheet)(),"").style(c.defaultListStyles)),this.lists.some(pe=>pe.widget===oe))throw new Error("Cannot register the same widget multiple times");const me={widget:oe,extraContextKeys:he};return this.lists.push(me),oe.getHTMLElement()===document.activeElement&&this.setLastFocusedList(oe),(0,s.combinedDisposable)(oe.onDidFocus(()=>this.setLastFocusedList(oe)),(0,s.toDisposable)(()=>this.lists.splice(this.lists.indexOf(me),1)),oe.onDidDispose(()=>{this.lists=this.lists.filter(pe=>pe!==me),this._lastFocusedWidget===oe&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}e.ListService=a,e.RawWorkbenchListScrollAtBoundaryContextKey=new r.RawContextKey("listScrollAtBoundary","none"),e.WorkbenchListScrollAtTopContextKey=r.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("top"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.WorkbenchListScrollAtBottomContextKey=r.ContextKeyExpr.or(e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("bottom"),e.RawWorkbenchListScrollAtBoundaryContextKey.isEqualTo("both")),e.RawWorkbenchListFocusContextKey=new r.RawContextKey("listFocus",!0),e.WorkbenchListSupportsMultiSelectContextKey=new r.RawContextKey("listSupportsMultiselect",!0),e.WorkbenchListFocusContextKey=r.ContextKeyExpr.and(e.RawWorkbenchListFocusContextKey,r.ContextKeyExpr.not(u.InputFocusedContextKey)),e.WorkbenchListHasSelectionOrFocus=new r.RawContextKey("listHasSelectionOrFocus",!1),e.WorkbenchListDoubleSelection=new r.RawContextKey("listDoubleSelection",!1),e.WorkbenchListMultiSelection=new r.RawContextKey("listMultiSelection",!1),e.WorkbenchListSelectionNavigation=new r.RawContextKey("listSelectionNavigation",!1),e.WorkbenchListSupportsFind=new r.RawContextKey("listSupportsFind",!0),e.WorkbenchTreeElementCanCollapse=new r.RawContextKey("treeElementCanCollapse",!1),e.WorkbenchTreeElementHasParent=new r.RawContextKey("treeElementHasParent",!1),e.WorkbenchTreeElementCanExpand=new r.RawContextKey("treeElementCanExpand",!1),e.WorkbenchTreeElementHasChild=new r.RawContextKey("treeElementHasChild",!1),e.WorkbenchTreeFindOpen=new r.RawContextKey("treeFindOpen",!1);const g="listTypeNavigationMode",h="listAutomaticKeyboardNavigation";function p(re,oe){const he=re.createScoped(oe.getHTMLElement());return e.RawWorkbenchListFocusContextKey.bindTo(he),he}function b(re,oe){const he=e.RawWorkbenchListScrollAtBoundaryContextKey.bindTo(re),me=()=>{const pe=oe.scrollTop===0,ve=oe.scrollHeight-oe.renderHeight-oe.scrollTop<1;pe&&ve?he.set("both"):pe?he.set("top"):ve?he.set("bottom"):he.set("none")};return me(),oe.onDidScroll(me)}const w="workbench.list.multiSelectModifier",E="workbench.list.openMode",k="workbench.list.horizontalScrolling",M="workbench.list.defaultFindMode",R="workbench.list.typeNavigationMode",B="workbench.list.keyboardNavigation",T="workbench.list.scrollByPage",N="workbench.list.defaultFindMatchType",A="workbench.tree.indent",P="workbench.tree.renderIndentGuides",O="workbench.list.smoothScrolling",x="workbench.list.mouseWheelScrollSensitivity",W="workbench.list.fastScrollSensitivity",U="workbench.tree.expandMode";function F(re){return re.getValue(w)==="alt"}class G extends s.Disposable{constructor(oe){super(),this.configurationService=oe,this.useAltAsMultipleSelectionModifier=F(oe),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(oe=>{oe.affectsConfiguration(w)&&(this.useAltAsMultipleSelectionModifier=F(this.configurationService))}))}isSelectionSingleChangeEvent(oe){return this.useAltAsMultipleSelectionModifier?oe.browserEvent.altKey:(0,y.isSelectionSingleChangeEvent)(oe)}isSelectionRangeChangeEvent(oe){return(0,y.isSelectionRangeChangeEvent)(oe)}}function Y(re,oe){var he;const me=re.get(n.IConfigurationService),pe=re.get(l.IKeybindingService),ve=new s.DisposableStore;return[Object.assign(Object.assign({},oe),{keyboardNavigationDelegate:{mightProducePrintableCharacter(Le){return pe.mightProducePrintableCharacter(Le)}},smoothScrolling:!!me.getValue(O),mouseWheelScrollSensitivity:me.getValue(x),fastScrollSensitivity:me.getValue(W),multipleSelectionController:(he=oe.multipleSelectionController)!==null&&he!==void 0?he:ve.add(new G(me)),keyboardNavigationEventFilter:ee(pe),scrollByPage:!!me.getValue(T)}),ve]}let ne=class extends y.List{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae){const Re=typeof ve.horizontalScrolling<"u"?ve.horizontalScrolling:!!Ee.getValue(k),[Be,ye]=Ae.invokeFunction(Y,ve);super(oe,he,me,pe,Object.assign(Object.assign({keyboardSupport:!1},Be),{horizontalScrolling:Re})),this.disposables.add(ye),this.contextKeyService=p(we,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(ve.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!ve.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=ve.horizontalScrolling,this._useAltAsMultipleSelectionModifier=F(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(Le.register(this)),this.updateStyles(ve.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const fe=this.getSelection(),Ce=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(fe.length>0||Ce.length>0),this.listMultiSelection.set(fe.length>1),this.listDoubleSelection.set(fe.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const fe=this.getSelection(),Ce=this.getFocus();this.listHasSelectionOrFocus.set(fe.length>0||Ce.length>0)})),this.disposables.add(Ee.onDidChangeConfiguration(fe=>{fe.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=F(Ee));let Ce={};if(fe.affectsConfiguration(k)&&this.horizontalScrolling===void 0){const Me=!!Ee.getValue(k);Ce=Object.assign(Object.assign({},Ce),{horizontalScrolling:Me})}if(fe.affectsConfiguration(T)){const Me=!!Ee.getValue(T);Ce=Object.assign(Object.assign({},Ce),{scrollByPage:Me})}if(fe.affectsConfiguration(O)){const Me=!!Ee.getValue(O);Ce=Object.assign(Object.assign({},Ce),{smoothScrolling:Me})}if(fe.affectsConfiguration(x)){const Me=Ee.getValue(x);Ce=Object.assign(Object.assign({},Ce),{mouseWheelScrollSensitivity:Me})}if(fe.affectsConfiguration(W)){const Me=Ee.getValue(W);Ce=Object.assign(Object.assign({},Ce),{fastScrollSensitivity:Me})}Object.keys(Ce).length>0&&this.updateOptions(Ce)})),this.navigator=new H(this,Object.assign({configurationService:Ee},ve)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,c.getListStyles)(oe):c.defaultListStyles)}};e.WorkbenchList=ne,e.WorkbenchList=ne=Ie([ge(5,r.IContextKeyService),ge(6,e.IListService),ge(7,n.IConfigurationService),ge(8,d.IInstantiationService)],ne);let se=class extends I.PagedList{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae){const Re=typeof ve.horizontalScrolling<"u"?ve.horizontalScrolling:!!Ee.getValue(k),[Be,ye]=Ae.invokeFunction(Y,ve);super(oe,he,me,pe,Object.assign(Object.assign({keyboardSupport:!1},Be),{horizontalScrolling:Re})),this.disposables=new s.DisposableStore,this.disposables.add(ye),this.contextKeyService=p(we,this),this.disposables.add(b(this.contextKeyService,this.widget)),this.horizontalScrolling=ve.horizontalScrolling,this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(ve.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!ve.selectionNavigation),this._useAltAsMultipleSelectionModifier=F(Ee),this.disposables.add(this.contextKeyService),this.disposables.add(Le.register(this)),this.updateStyles(ve.overrideStyles),this.disposables.add(Ee.onDidChangeConfiguration(fe=>{fe.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=F(Ee));let Ce={};if(fe.affectsConfiguration(k)&&this.horizontalScrolling===void 0){const Me=!!Ee.getValue(k);Ce=Object.assign(Object.assign({},Ce),{horizontalScrolling:Me})}if(fe.affectsConfiguration(T)){const Me=!!Ee.getValue(T);Ce=Object.assign(Object.assign({},Ce),{scrollByPage:Me})}if(fe.affectsConfiguration(O)){const Me=!!Ee.getValue(O);Ce=Object.assign(Object.assign({},Ce),{smoothScrolling:Me})}if(fe.affectsConfiguration(x)){const Me=Ee.getValue(x);Ce=Object.assign(Object.assign({},Ce),{mouseWheelScrollSensitivity:Me})}if(fe.affectsConfiguration(W)){const Me=Ee.getValue(W);Ce=Object.assign(Object.assign({},Ce),{fastScrollSensitivity:Me})}Object.keys(Ce).length>0&&this.updateOptions(Ce)})),this.navigator=new H(this,Object.assign({configurationService:Ee},ve)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,c.getListStyles)(oe):c.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchPagedList=se,e.WorkbenchPagedList=se=Ie([ge(5,r.IContextKeyService),ge(6,e.IListService),ge(7,n.IConfigurationService),ge(8,d.IInstantiationService)],se);let J=class extends D.Table{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae,Re){const Be=typeof we.horizontalScrolling<"u"?we.horizontalScrolling:!!Ae.getValue(k),[ye,De]=Re.invokeFunction(Y,we);super(oe,he,me,pe,ve,Object.assign(Object.assign({keyboardSupport:!1},ye),{horizontalScrolling:Be})),this.disposables.add(De),this.contextKeyService=p(Le,this),this.disposables.add(b(this.contextKeyService,this)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(we.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!we.selectionNavigation),this.listHasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.listDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.listMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.horizontalScrolling=we.horizontalScrolling,this._useAltAsMultipleSelectionModifier=F(Ae),this.disposables.add(this.contextKeyService),this.disposables.add(Ee.register(this)),this.updateStyles(we.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const Ce=this.getSelection(),Me=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(Ce.length>0||Me.length>0),this.listMultiSelection.set(Ce.length>1),this.listDoubleSelection.set(Ce.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const Ce=this.getSelection(),Me=this.getFocus();this.listHasSelectionOrFocus.set(Ce.length>0||Me.length>0)})),this.disposables.add(Ae.onDidChangeConfiguration(Ce=>{Ce.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=F(Ae));let Me={};if(Ce.affectsConfiguration(k)&&this.horizontalScrolling===void 0){const Pe=!!Ae.getValue(k);Me=Object.assign(Object.assign({},Me),{horizontalScrolling:Pe})}if(Ce.affectsConfiguration(T)){const Pe=!!Ae.getValue(T);Me=Object.assign(Object.assign({},Me),{scrollByPage:Pe})}if(Ce.affectsConfiguration(O)){const Pe=!!Ae.getValue(O);Me=Object.assign(Object.assign({},Me),{smoothScrolling:Pe})}if(Ce.affectsConfiguration(x)){const Pe=Ae.getValue(x);Me=Object.assign(Object.assign({},Me),{mouseWheelScrollSensitivity:Pe})}if(Ce.affectsConfiguration(W)){const Pe=Ae.getValue(W);Me=Object.assign(Object.assign({},Me),{fastScrollSensitivity:Pe})}Object.keys(Me).length>0&&this.updateOptions(Me)})),this.navigator=new V(this,Object.assign({configurationService:Ae},we)),this.disposables.add(this.navigator)}updateOptions(oe){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.updateStyles(oe.overrideStyles),oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyles(oe){this.style(oe?(0,c.getListStyles)(oe):c.defaultListStyles)}dispose(){this.disposables.dispose(),super.dispose()}};e.WorkbenchTable=J,e.WorkbenchTable=J=Ie([ge(6,r.IContextKeyService),ge(7,e.IListService),ge(8,n.IConfigurationService),ge(9,d.IInstantiationService)],J);class q extends s.Disposable{constructor(oe,he){var me;super(),this.widget=oe,this._onDidOpen=this._register(new C.Emitter),this.onDidOpen=this._onDidOpen.event,this._register(C.Event.filter(this.widget.onDidChangeSelection,pe=>pe.browserEvent instanceof KeyboardEvent)(pe=>this.onSelectionFromKeyboard(pe))),this._register(this.widget.onPointer(pe=>this.onPointer(pe.element,pe.browserEvent))),this._register(this.widget.onMouseDblClick(pe=>this.onMouseDblClick(pe.element,pe.browserEvent))),typeof he?.openOnSingleClick!="boolean"&&he?.configurationService?(this.openOnSingleClick=he?.configurationService.getValue(E)!=="doubleClick",this._register(he?.configurationService.onDidChangeConfiguration(pe=>{pe.affectsConfiguration(E)&&(this.openOnSingleClick=he?.configurationService.getValue(E)!=="doubleClick")}))):this.openOnSingleClick=(me=he?.openOnSingleClick)!==null&&me!==void 0?me:!0}onSelectionFromKeyboard(oe){if(oe.elements.length!==1)return;const he=oe.browserEvent,me=typeof he.preserveFocus=="boolean"?he.preserveFocus:!0,pe=typeof he.pinned=="boolean"?he.pinned:!me,ve=!1;this._open(this.getSelectedElement(),me,pe,ve,oe.browserEvent)}onPointer(oe,he){if(!this.openOnSingleClick||he.detail===2)return;const pe=he.button===1,ve=!0,we=pe,Le=he.ctrlKey||he.metaKey||he.altKey;this._open(oe,ve,we,Le,he)}onMouseDblClick(oe,he){if(!he)return;const me=he.target;if(me.classList.contains("monaco-tl-twistie")||me.classList.contains("monaco-icon-label")&&me.classList.contains("folder-icon")&&he.offsetX<16)return;const ve=!1,we=!0,Le=he.ctrlKey||he.metaKey||he.altKey;this._open(oe,ve,we,Le,he)}_open(oe,he,me,pe,ve){oe&&this._onDidOpen.fire({editorOptions:{preserveFocus:he,pinned:me,revealIfVisible:!0},sideBySide:pe,element:oe,browserEvent:ve})}}class H extends q{constructor(oe,he){super(oe,he),this.widget=oe}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class V extends q{constructor(oe,he){super(oe,he)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Z extends q{constructor(oe,he){super(oe,he)}getSelectedElement(){var oe;return(oe=this.widget.getSelection()[0])!==null&&oe!==void 0?oe:void 0}}function ee(re){let oe=!1;return he=>{if(he.toKeyCodeChord().isModifierKey())return!1;if(oe)return oe=!1,!1;const me=re.softDispatch(he,he.target);return me.kind===1?(oe=!0,!1):(oe=!1,me.kind===0)}}let le=class extends v.ObjectTree{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae){const{options:Re,getTypeNavigationMode:Be,disposable:ye}=we.invokeFunction(z,ve);super(oe,he,me,pe,Re),this.disposables.add(ye),this.internals=new Q(this,ve,Be,ve.overrideStyles,Le,Ee,Ae),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchObjectTree=le,e.WorkbenchObjectTree=le=Ie([ge(5,d.IInstantiationService),ge(6,r.IContextKeyService),ge(7,e.IListService),ge(8,n.IConfigurationService)],le);let ue=class extends v.CompressibleObjectTree{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae){const{options:Re,getTypeNavigationMode:Be,disposable:ye}=we.invokeFunction(z,ve);super(oe,he,me,pe,Re),this.disposables.add(ye),this.internals=new Q(this,ve,Be,ve.overrideStyles,Le,Ee,Ae),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleObjectTree=ue,e.WorkbenchCompressibleObjectTree=ue=Ie([ge(5,d.IInstantiationService),ge(6,r.IContextKeyService),ge(7,e.IListService),ge(8,n.IConfigurationService)],ue);let de=class extends _.DataTree{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae,Re){const{options:Be,getTypeNavigationMode:ye,disposable:De}=Le.invokeFunction(z,we);super(oe,he,me,pe,ve,Be),this.disposables.add(De),this.internals=new Q(this,we,ye,we.overrideStyles,Ee,Ae,Re),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles!==void 0&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchDataTree=de,e.WorkbenchDataTree=de=Ie([ge(6,d.IInstantiationService),ge(7,r.IContextKeyService),ge(8,e.IListService),ge(9,n.IConfigurationService)],de);let ce=class extends m.AsyncDataTree{get onDidOpen(){return this.internals.onDidOpen}constructor(oe,he,me,pe,ve,we,Le,Ee,Ae,Re){const{options:Be,getTypeNavigationMode:ye,disposable:De}=Le.invokeFunction(z,we);super(oe,he,me,pe,ve,Be),this.disposables.add(De),this.internals=new Q(this,we,ye,we.overrideStyles,Ee,Ae,Re),this.disposables.add(this.internals)}updateOptions(oe={}){super.updateOptions(oe),oe.overrideStyles&&this.internals.updateStyleOverrides(oe.overrideStyles),this.internals.updateOptions(oe)}};e.WorkbenchAsyncDataTree=ce,e.WorkbenchAsyncDataTree=ce=Ie([ge(6,d.IInstantiationService),ge(7,r.IContextKeyService),ge(8,e.IListService),ge(9,n.IConfigurationService)],ce);let ae=class extends m.CompressibleAsyncDataTree{constructor(oe,he,me,pe,ve,we,Le,Ee,Ae,Re,Be){const{options:ye,getTypeNavigationMode:De,disposable:fe}=Ee.invokeFunction(z,Le);super(oe,he,me,pe,ve,we,ye),this.disposables.add(fe),this.internals=new Q(this,Le,De,Le.overrideStyles,Ae,Re,Be),this.disposables.add(this.internals)}updateOptions(oe){super.updateOptions(oe),this.internals.updateOptions(oe)}};e.WorkbenchCompressibleAsyncDataTree=ae,e.WorkbenchCompressibleAsyncDataTree=ae=Ie([ge(7,d.IInstantiationService),ge(8,r.IContextKeyService),ge(9,e.IListService),ge(10,n.IConfigurationService)],ae);function X(re){const oe=re.getValue(M);if(oe==="highlight")return S.TreeFindMode.Highlight;if(oe==="filter")return S.TreeFindMode.Filter;const he=re.getValue(B);if(he==="simple"||he==="highlight")return S.TreeFindMode.Highlight;if(he==="filter")return S.TreeFindMode.Filter}function K(re){const oe=re.getValue(N);if(oe==="fuzzy")return S.TreeFindMatchType.Fuzzy;if(oe==="contiguous")return S.TreeFindMatchType.Contiguous}function z(re,oe){var he;const me=re.get(n.IConfigurationService),pe=re.get(f.IContextViewService),ve=re.get(r.IContextKeyService),we=re.get(d.IInstantiationService),Le=()=>{const De=ve.getContextKeyValue(g);if(De==="automatic")return y.TypeNavigationMode.Automatic;if(De==="trigger"||ve.getContextKeyValue(h)===!1)return y.TypeNavigationMode.Trigger;const Ce=me.getValue(R);if(Ce==="automatic")return y.TypeNavigationMode.Automatic;if(Ce==="trigger")return y.TypeNavigationMode.Trigger},Ee=oe.horizontalScrolling!==void 0?oe.horizontalScrolling:!!me.getValue(k),[Ae,Re]=we.invokeFunction(Y,oe),Be=oe.paddingBottom,ye=oe.renderIndentGuides!==void 0?oe.renderIndentGuides:me.getValue(P);return{getTypeNavigationMode:Le,disposable:Re,options:Object.assign(Object.assign({keyboardSupport:!1},Ae),{indent:typeof me.getValue(A)=="number"?me.getValue(A):void 0,renderIndentGuides:ye,smoothScrolling:!!me.getValue(O),defaultFindMode:X(me),defaultFindMatchType:K(me),horizontalScrolling:Ee,scrollByPage:!!me.getValue(T),paddingBottom:Be,hideTwistiesOfChildlessElements:oe.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(he=oe.expandOnlyOnTwistieClick)!==null&&he!==void 0?he:me.getValue(U)==="doubleClick",contextViewProvider:pe,findWidgetStyles:c.defaultFindWidgetStyles})}}let Q=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(oe,he,me,pe,ve,we,Le){var Ee;this.tree=oe,this.disposables=[],this.contextKeyService=p(ve,oe),this.disposables.push(b(this.contextKeyService,oe)),this.listSupportsMultiSelect=e.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(he.multipleSelectionSupport!==!1),e.WorkbenchListSelectionNavigation.bindTo(this.contextKeyService).set(!!he.selectionNavigation),this.listSupportFindWidget=e.WorkbenchListSupportsFind.bindTo(this.contextKeyService),this.listSupportFindWidget.set((Ee=he.findWidgetEnabled)!==null&&Ee!==void 0?Ee:!0),this.hasSelectionOrFocus=e.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.hasDoubleSelection=e.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.hasMultiSelection=e.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this.treeElementCanCollapse=e.WorkbenchTreeElementCanCollapse.bindTo(this.contextKeyService),this.treeElementHasParent=e.WorkbenchTreeElementHasParent.bindTo(this.contextKeyService),this.treeElementCanExpand=e.WorkbenchTreeElementCanExpand.bindTo(this.contextKeyService),this.treeElementHasChild=e.WorkbenchTreeElementHasChild.bindTo(this.contextKeyService),this.treeFindOpen=e.WorkbenchTreeFindOpen.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=F(Le),this.updateStyleOverrides(pe);const Re=()=>{const ye=oe.getFocus()[0];if(!ye)return;const De=oe.getNode(ye);this.treeElementCanCollapse.set(De.collapsible&&!De.collapsed),this.treeElementHasParent.set(!!oe.getParentElement(ye)),this.treeElementCanExpand.set(De.collapsible&&De.collapsed),this.treeElementHasChild.set(!!oe.getFirstElementChild(ye))},Be=new Set;Be.add(g),Be.add(h),this.disposables.push(this.contextKeyService,we.register(oe),oe.onDidChangeSelection(()=>{const ye=oe.getSelection(),De=oe.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(ye.length>0||De.length>0),this.hasMultiSelection.set(ye.length>1),this.hasDoubleSelection.set(ye.length===2)})}),oe.onDidChangeFocus(()=>{const ye=oe.getSelection(),De=oe.getFocus();this.hasSelectionOrFocus.set(ye.length>0||De.length>0),Re()}),oe.onDidChangeCollapseState(Re),oe.onDidChangeModel(Re),oe.onDidChangeFindOpenState(ye=>this.treeFindOpen.set(ye)),Le.onDidChangeConfiguration(ye=>{let De={};if(ye.affectsConfiguration(w)&&(this._useAltAsMultipleSelectionModifier=F(Le)),ye.affectsConfiguration(A)){const fe=Le.getValue(A);De=Object.assign(Object.assign({},De),{indent:fe})}if(ye.affectsConfiguration(P)&&he.renderIndentGuides===void 0){const fe=Le.getValue(P);De=Object.assign(Object.assign({},De),{renderIndentGuides:fe})}if(ye.affectsConfiguration(O)){const fe=!!Le.getValue(O);De=Object.assign(Object.assign({},De),{smoothScrolling:fe})}if(ye.affectsConfiguration(M)||ye.affectsConfiguration(B)){const fe=X(Le);De=Object.assign(Object.assign({},De),{defaultFindMode:fe})}if(ye.affectsConfiguration(R)||ye.affectsConfiguration(B)){const fe=me();De=Object.assign(Object.assign({},De),{typeNavigationMode:fe})}if(ye.affectsConfiguration(N)){const fe=K(Le);De=Object.assign(Object.assign({},De),{defaultFindMatchType:fe})}if(ye.affectsConfiguration(k)&&he.horizontalScrolling===void 0){const fe=!!Le.getValue(k);De=Object.assign(Object.assign({},De),{horizontalScrolling:fe})}if(ye.affectsConfiguration(T)){const fe=!!Le.getValue(T);De=Object.assign(Object.assign({},De),{scrollByPage:fe})}if(ye.affectsConfiguration(U)&&he.expandOnlyOnTwistieClick===void 0&&(De=Object.assign(Object.assign({},De),{expandOnlyOnTwistieClick:Le.getValue(U)==="doubleClick"})),ye.affectsConfiguration(x)){const fe=Le.getValue(x);De=Object.assign(Object.assign({},De),{mouseWheelScrollSensitivity:fe})}if(ye.affectsConfiguration(W)){const fe=Le.getValue(W);De=Object.assign(Object.assign({},De),{fastScrollSensitivity:fe})}Object.keys(De).length>0&&oe.updateOptions(De)}),this.contextKeyService.onDidChangeContext(ye=>{ye.affectsSome(Be)&&oe.updateOptions({typeNavigationMode:me()})})),this.navigator=new Z(oe,Object.assign({configurationService:Le},he)),this.disposables.push(this.navigator)}updateOptions(oe){oe.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!oe.multipleSelectionSupport)}updateStyleOverrides(oe){this.tree.style(oe?(0,c.getListStyles)(oe):c.defaultListStyles)}dispose(){this.disposables=(0,s.dispose)(this.disposables)}};Q=Ie([ge(4,r.IContextKeyService),ge(5,e.IListService),ge(6,n.IConfigurationService)],Q),o.Registry.as(t.Extensions.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,i.localize)(0,null),type:"object",properties:{[w]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,i.localize)(1,null),(0,i.localize)(2,null)],default:"ctrlCmd",description:(0,i.localize)(3,null)},[E]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(4,null)},[k]:{type:"boolean",default:!1,description:(0,i.localize)(5,null)},[T]:{type:"boolean",default:!1,description:(0,i.localize)(6,null)},[A]:{type:"number",default:8,minimum:4,maximum:40,description:(0,i.localize)(7,null)},[P]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,i.localize)(8,null)},[O]:{type:"boolean",default:!1,description:(0,i.localize)(9,null)},[x]:{type:"number",default:1,markdownDescription:(0,i.localize)(10,null)},[W]:{type:"number",default:5,markdownDescription:(0,i.localize)(11,null)},[M]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,i.localize)(12,null),(0,i.localize)(13,null)],default:"highlight",description:(0,i.localize)(14,null)},[B]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,i.localize)(15,null),(0,i.localize)(16,null),(0,i.localize)(17,null)],default:"highlight",description:(0,i.localize)(18,null),deprecated:!0,deprecationMessage:(0,i.localize)(19,null)},[N]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,i.localize)(20,null),(0,i.localize)(21,null)],default:"fuzzy",description:(0,i.localize)(22,null)},[U]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,i.localize)(23,null)},[R]:{type:"string",enum:["automatic","trigger"],default:"automatic",markdownDescription:(0,i.localize)(24,null)}}})}),define(te[77],ie([1,0,14,26,27,6,20,21,738,239,35]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spinningLoading=e.syncing=e.gotoNextLocation=e.gotoPreviousLocation=e.widgetClose=e.iconsSchemaId=e.getIconRegistry=e.registerIcon=e.IconFontDefinition=e.IconContribution=e.Extensions=void 0,e.Extensions={IconContribution:"base.contributions.icons"};var s;(function(o){function c(a,g){let h=a.defaults;for(;y.ThemeIcon.isThemeIcon(h);){const p=t.getIcon(h.id);if(!p)return;h=p.defaults}return h}o.getDefinition=c})(s||(e.IconContribution=s={}));var i;(function(o){function c(g){return{weight:g.weight,style:g.style,src:g.src.map(h=>({format:h.format,location:h.location.toString()}))}}o.toJSONObject=c;function a(g){const h=p=>(0,S.isString)(p)?p:void 0;if(g&&Array.isArray(g.src)&&g.src.every(p=>(0,S.isString)(p.format)&&(0,S.isString)(p.location)))return{weight:h(g.weight),style:h(g.style),src:g.src.map(p=>({format:p.format,location:m.URI.parse(p.location)}))}}o.fromJSONObject=a})(i||(e.IconFontDefinition=i={}));class n{constructor(){this._onDidChange=new D.Emitter,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,_.localize)(0,null)},fontCharacter:{type:"string",description:(0,_.localize)(1,null)}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${y.ThemeIcon.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(c,a,g,h){const p=this.iconsById[c];if(p){if(g&&!p.description){p.description=g,this.iconSchema.properties[c].markdownDescription=`${g} $(${c})`;const E=this.iconReferenceSchema.enum.indexOf(c);E!==-1&&(this.iconReferenceSchema.enumDescriptions[E]=g),this._onDidChange.fire()}return p}const b={id:c,description:g,defaults:a,deprecationMessage:h};this.iconsById[c]=b;const w={$ref:"#/definitions/icons"};return h&&(w.deprecationMessage=h),g&&(w.markdownDescription=`${g}: $(${c})`),this.iconSchema.properties[c]=w,this.iconReferenceSchema.enum.push(c),this.iconReferenceSchema.enumDescriptions.push(g||""),this._onDidChange.fire(),{id:c}}getIcons(){return Object.keys(this.iconsById).map(c=>this.iconsById[c])}getIcon(c){return this.iconsById[c]}getIconSchema(){return this.iconSchema}toString(){const c=(p,b)=>p.id.localeCompare(b.id),a=p=>{for(;y.ThemeIcon.isThemeIcon(p.defaults);)p=this.iconsById[p.defaults.id];return`codicon codicon-${p?p.id:""}`},g=[];g.push("| preview | identifier | default codicon ID | description"),g.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const h=Object.keys(this.iconsById).map(p=>this.iconsById[p]);for(const p of h.filter(b=>!!b.description).sort(c))g.push(`||${p.id}|${y.ThemeIcon.isThemeIcon(p.defaults)?p.defaults.id:p.id}|${p.description||""}|`);g.push("| preview | identifier "),g.push("| ----------- | --------------------------------- |");for(const p of h.filter(b=>!y.ThemeIcon.isThemeIcon(b.defaults)).sort(c))g.push(`||${p.id}|`);return g.join(` +`)}}const t=new n;C.Registry.add(e.Extensions.IconContribution,t);function r(o,c,a,g){return t.registerIcon(o,c,a,g)}e.registerIcon=r;function u(){return t}e.getIconRegistry=u;function f(){const o=(0,I.getCodiconFontCharacters)();for(const c in o){const a="\\"+o[c].toString(16);t.registerIcon(c,{fontCharacter:a})}}f(),e.iconsSchemaId="vscode://schemas/icons";const d=C.Registry.as(v.Extensions.JSONContribution);d.registerSchema(e.iconsSchemaId,t.getIconSchema());const l=new L.RunOnceScheduler(()=>d.notifySchemaChanged(e.iconsSchemaId),200);t.onDidChange(()=>{l.isScheduled()||l.schedule()}),e.widgetClose=r("widget-close",I.Codicon.close,(0,_.localize)(2,null)),e.gotoPreviousLocation=r("goto-previous-location",I.Codicon.arrowUp,(0,_.localize)(3,null)),e.gotoNextLocation=r("goto-next-location",I.Codicon.arrowDown,(0,_.localize)(4,null)),e.syncing=y.ThemeIcon.modify(I.Codicon.sync,"spin"),e.spinningLoading=y.ThemeIcon.modify(I.Codicon.loading,"spin")}),define(te[829],ie([1,0,7,90,73,84,41,13,26,2,40,27,70,100,39,64,81,12,5,108,42,91,114,82,609,156,8,77,437]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessibleDiffViewer=void 0;const E=(0,w.registerIcon)("diff-review-insert",_.Codicon.add,(0,h.localize)(0,null)),k=(0,w.registerIcon)("diff-review-remove",_.Codicon.remove,(0,h.localize)(1,null)),M=(0,w.registerIcon)("diff-review-close",_.Codicon.close,(0,h.localize)(2,null));let R=class extends v.Disposable{constructor(Y,ne,se,J,q,H,V,Z,ee){super(),this._parentNode=Y,this._visible=ne,this._setVisible=se,this._canClose=J,this._width=q,this._height=H,this._diffs=V,this._editors=Z,this._instantiationService=ee,this.model=(0,C.derivedWithStore)(this,(le,ue)=>{const de=this._visible.read(le);if(this._parentNode.style.visibility=de?"visible":"hidden",!de)return null;const ce=ue.add(this._instantiationService.createInstance(B,this._diffs,this._editors,this._setVisible,this._canClose)),ae=ue.add(this._instantiationService.createInstance(F,this._parentNode,ce,this._width,this._height,this._editors));return{model:ce,view:ae}}),this._register((0,C.recomputeInitiallyAndOnChange)(this.model))}next(){(0,C.transaction)(Y=>{const ne=this._visible.get();this._setVisible(!0,Y),ne&&this.model.get().model.nextGroup(Y)})}prev(){(0,C.transaction)(Y=>{this._setVisible(!0,Y),this.model.get().model.previousGroup(Y)})}close(){(0,C.transaction)(Y=>{this._setVisible(!1,Y)})}};e.AccessibleDiffViewer=R,R._ttPolicy=(0,I.createTrustedTypesPolicy)("diffReview",{createHTML:G=>G}),e.AccessibleDiffViewer=R=Ie([ge(8,b.IInstantiationService)],R);let B=class extends v.Disposable{constructor(Y,ne,se,J,q){super(),this._diffs=Y,this._editors=ne,this._setVisible=se,this.canClose=J,this._audioCueService=q,this._groups=(0,C.observableValue)(this,[]),this._currentGroupIdx=(0,C.observableValue)(this,0),this._currentElementIdx=(0,C.observableValue)(this,0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((H,V)=>this._groups.read(V)[H]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((H,V)=>{var Z;return(Z=this.currentGroup.read(V))===null||Z===void 0?void 0:Z.lines[H]}),this._register((0,C.autorun)(H=>{const V=this._diffs.read(H);if(!V){this._groups.set([],void 0);return}const Z=N(V,this._editors.original.getModel().getLineCount(),this._editors.modified.getModel().getLineCount());(0,C.transaction)(ee=>{const le=this._editors.modified.getPosition();if(le){const ue=Z.findIndex(de=>le?.lineNumber{const V=this.currentElement.read(H);V?.type===A.Deleted?this._audioCueService.playAudioCue(p.AudioCue.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):V?.type===A.Added&&this._audioCueService.playAudioCue(p.AudioCue.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,C.autorun)(H=>{var V;const Z=this.currentElement.read(H);if(Z&&Z.type!==A.Header){const ee=(V=Z.modifiedLineNumber)!==null&&V!==void 0?V:Z.diff.modified.startLineNumber;this._editors.modified.setSelection(d.Range.fromPositions(new f.Position(ee,1)))}}))}_goToGroupDelta(Y,ne){const se=this.groups.get();!se||se.length<=1||(0,C.subtransaction)(ne,J=>{this._currentGroupIdx.set(u.OffsetRange.ofLength(se.length).clipCyclic(this._currentGroupIdx.get()+Y),J),this._currentElementIdx.set(0,J)})}nextGroup(Y){this._goToGroupDelta(1,Y)}previousGroup(Y){this._goToGroupDelta(-1,Y)}_goToLineDelta(Y){const ne=this.currentGroup.get();!ne||ne.lines.length<=1||(0,C.transaction)(se=>{this._currentElementIdx.set(u.OffsetRange.ofLength(ne.lines.length).clip(this._currentElementIdx.get()+Y),se)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(Y){const ne=this.currentGroup.get();if(!ne)return;const se=ne.lines.indexOf(Y);se!==-1&&(0,C.transaction)(J=>{this._currentElementIdx.set(se,J)})}revealCurrentElementInEditor(){this._setVisible(!1,void 0);const Y=this.currentElement.get();Y&&(Y.type===A.Deleted?(this._editors.original.setSelection(d.Range.fromPositions(new f.Position(Y.originalLineNumber,1))),this._editors.original.revealLine(Y.originalLineNumber),this._editors.original.focus()):(Y.type!==A.Header&&(this._editors.modified.setSelection(d.Range.fromPositions(new f.Position(Y.modifiedLineNumber,1))),this._editors.modified.revealLine(Y.modifiedLineNumber)),this._editors.modified.focus()))}close(){this._setVisible(!1,void 0),this._editors.modified.focus()}};B=Ie([ge(4,p.IAudioCueService)],B);const T=3;function N(G,Y,ne){const se=[];for(const J of(0,m.groupAdjacentBy)(G,(q,H)=>H.modified.startLineNumber-q.modified.endLineNumberExclusive<2*T)){const q=[];q.push(new O);const H=new r.LineRange(Math.max(1,J[0].original.startLineNumber-T),Math.min(J[J.length-1].original.endLineNumberExclusive+T,Y+1)),V=new r.LineRange(Math.max(1,J[0].modified.startLineNumber-T),Math.min(J[J.length-1].modified.endLineNumberExclusive+T,ne+1));(0,m.forEachAdjacent)(J,(le,ue)=>{const de=new r.LineRange(le?le.original.endLineNumberExclusive:H.startLineNumber,ue?ue.original.startLineNumber:H.endLineNumberExclusive),ce=new r.LineRange(le?le.modified.endLineNumberExclusive:V.startLineNumber,ue?ue.modified.startLineNumber:V.endLineNumberExclusive);de.forEach(ae=>{q.push(new U(ae,ce.startLineNumber+(ae-de.startLineNumber)))}),ue&&(ue.original.forEach(ae=>{q.push(new x(ue,ae))}),ue.modified.forEach(ae=>{q.push(new W(ue,ae))}))});const Z=J[0].modified.join(J[J.length-1].modified),ee=J[0].original.join(J[J.length-1].original);se.push(new P(new l.LineRangeMapping(Z,ee),q))}return se}var A;(function(G){G[G.Header=0]="Header",G[G.Unchanged=1]="Unchanged",G[G.Deleted=2]="Deleted",G[G.Added=3]="Added"})(A||(A={}));class P{constructor(Y,ne){this.range=Y,this.lines=ne}}class O{constructor(){this.type=A.Header}}class x{constructor(Y,ne){this.diff=Y,this.originalLineNumber=ne,this.type=A.Deleted,this.modifiedLineNumber=void 0}}class W{constructor(Y,ne){this.diff=Y,this.modifiedLineNumber=ne,this.type=A.Added,this.originalLineNumber=void 0}}class U{constructor(Y,ne){this.originalLineNumber=Y,this.modifiedLineNumber=ne,this.type=A.Unchanged}}let F=class extends v.Disposable{constructor(Y,ne,se,J,q,H){super(),this._element=Y,this._model=ne,this._width=se,this._height=J,this._editors=q,this._languageService=H,this.domNode=this._element,this.domNode.className="diff-review monaco-editor-background";const V=document.createElement("div");V.className="diff-review-actions",this._actionBar=this._register(new y.ActionBar(V)),this._register((0,C.autorun)(Z=>{this._actionBar.clear(),this._model.canClose.read(Z)&&this._actionBar.push(new S.Action("diffreview.close",(0,h.localize)(3,null),"close-diff-review "+s.ThemeIcon.asClassName(M),!0,()=>be(this,void 0,void 0,function*(){return ne.close()})),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new D.DomScrollableElement(this._content,{})),(0,L.reset)(this.domNode,this._scrollbar.getDomNode(),V),this._register((0,v.toDisposable)(()=>{(0,L.reset)(this.domNode)})),this._register((0,n.applyStyle)(this.domNode,{width:this._width,height:this._height})),this._register((0,n.applyStyle)(this._content,{width:this._width,height:this._height})),this._register((0,C.autorunWithStore)((Z,ee)=>{this._model.currentGroup.read(Z),this._render(ee)})),this._register((0,L.addStandardDisposableListener)(this.domNode,"keydown",Z=>{(Z.equals(18)||Z.equals(2066)||Z.equals(530))&&(Z.preventDefault(),this._model.goToNextLine()),(Z.equals(16)||Z.equals(2064)||Z.equals(528))&&(Z.preventDefault(),this._model.goToPreviousLine()),(Z.equals(9)||Z.equals(2057)||Z.equals(521)||Z.equals(1033))&&(Z.preventDefault(),this._model.close()),(Z.equals(10)||Z.equals(3))&&(Z.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(Y){const ne=this._editors.original.getOptions(),se=this._editors.modified.getOptions(),J=document.createElement("div");J.className="diff-review-table",J.setAttribute("role","list"),J.setAttribute("aria-label",(0,h.localize)(4,null)),(0,i.applyFontInfo)(J,se.get(50)),(0,L.reset)(this._content,J);const q=this._editors.original.getModel(),H=this._editors.modified.getModel();if(!q||!H)return;const V=q.getOptions(),Z=H.getOptions(),ee=se.get(66),le=this._model.currentGroup.get();for(const ue of le?.lines||[]){if(!le)break;let de;if(ue.type===A.Header){const ae=document.createElement("div");ae.className="diff-review-row",ae.setAttribute("role","listitem");const X=le.range,K=this._model.currentGroupIndex.get(),z=this._model.groups.get().length,Q=he=>he===0?(0,h.localize)(5,null):he===1?(0,h.localize)(6,null):(0,h.localize)(7,null,he),j=Q(X.original.length),re=Q(X.modified.length);ae.setAttribute("aria-label",(0,h.localize)(8,null,K+1,z,X.original.startLineNumber,j,X.modified.startLineNumber,re));const oe=document.createElement("div");oe.className="diff-review-cell diff-review-summary",oe.appendChild(document.createTextNode(`${K+1}/${z}: @@ -${X.original.startLineNumber},${X.original.length} +${X.modified.startLineNumber},${X.modified.length} @@`)),ae.appendChild(oe),de=ae}else de=this._createRow(ue,ee,this._width.get(),ne,q,V,se,H,Z);J.appendChild(de);const ce=(0,C.derived)(ae=>this._model.currentElement.read(ae)===ue);Y.add((0,C.autorun)(ae=>{const X=ce.read(ae);de.tabIndex=X?0:-1,X&&de.focus()})),Y.add((0,L.addDisposableListener)(de,"focus",()=>{this._model.goToLine(ue)}))}this._scrollbar.scanDomNode()}_createRow(Y,ne,se,J,q,H,V,Z,ee){const le=J.get(143),ue=le.glyphMarginWidth+le.lineNumbersWidth,de=V.get(143),ce=10+de.glyphMarginWidth+de.lineNumbersWidth;let ae="diff-review-row",X="";const K="diff-review-spacer";let z=null;switch(Y.type){case A.Added:ae="diff-review-row line-insert",X=" char-insert",z=E;break;case A.Deleted:ae="diff-review-row line-delete",X=" char-delete",z=k;break}const Q=document.createElement("div");Q.style.minWidth=se+"px",Q.className=ae,Q.setAttribute("role","listitem"),Q.ariaLevel="";const j=document.createElement("div");j.className="diff-review-cell",j.style.height=`${ne}px`,Q.appendChild(j);const re=document.createElement("span");re.style.width=ue+"px",re.style.minWidth=ue+"px",re.className="diff-review-line-number"+X,Y.originalLineNumber!==void 0?re.appendChild(document.createTextNode(String(Y.originalLineNumber))):re.innerText="\xA0",j.appendChild(re);const oe=document.createElement("span");oe.style.width=ce+"px",oe.style.minWidth=ce+"px",oe.style.paddingRight="10px",oe.className="diff-review-line-number"+X,Y.modifiedLineNumber!==void 0?oe.appendChild(document.createTextNode(String(Y.modifiedLineNumber))):oe.innerText="\xA0",j.appendChild(oe);const he=document.createElement("span");if(he.className=K,z){const ve=document.createElement("span");ve.className=s.ThemeIcon.asClassName(z),ve.innerText="\xA0\xA0",he.appendChild(ve)}else he.innerText="\xA0\xA0";j.appendChild(he);let me;if(Y.modifiedLineNumber!==void 0){let ve=this._getLineHtml(Z,V,ee.tabSize,Y.modifiedLineNumber,this._languageService.languageIdCodec);R._ttPolicy&&(ve=R._ttPolicy.createHTML(ve)),j.insertAdjacentHTML("beforeend",ve),me=Z.getLineContent(Y.modifiedLineNumber)}else{let ve=this._getLineHtml(q,J,H.tabSize,Y.originalLineNumber,this._languageService.languageIdCodec);R._ttPolicy&&(ve=R._ttPolicy.createHTML(ve)),j.insertAdjacentHTML("beforeend",ve),me=q.getLineContent(Y.originalLineNumber)}me.length===0&&(me=(0,h.localize)(9,null));let pe="";switch(Y.type){case A.Unchanged:Y.originalLineNumber===Y.modifiedLineNumber?pe=(0,h.localize)(10,null,me,Y.originalLineNumber):pe=(0,h.localize)(11,null,me,Y.originalLineNumber,Y.modifiedLineNumber);break;case A.Added:pe=(0,h.localize)(12,null,me,Y.modifiedLineNumber);break;case A.Deleted:pe=(0,h.localize)(13,null,me,Y.originalLineNumber);break}return Q.setAttribute("aria-label",pe),Q}_getLineHtml(Y,ne,se,J,q){const H=Y.getLineContent(J),V=ne.get(50),Z=c.LineTokens.createEmpty(H,q),ee=g.ViewLineRenderingData.isBasicASCII(H,Y.mightContainNonBasicASCII()),le=g.ViewLineRenderingData.containsRTL(H,ee,Y.mightContainRTL());return(0,a.renderViewLine2)(new a.RenderLineInput(V.isMonospace&&!ne.get(33),V.canUseHalfwidthRightwardsArrow,H,!1,ee,le,0,Z,[],se,0,V.spaceWidth,V.middotWidth,V.wsmiddotWidth,ne.get(116),ne.get(98),ne.get(93),ne.get(51)!==t.EditorFontLigatures.OFF,null)).html}};F=Ie([ge(5,o.ILanguageService)],F)}),define(te[830],ie([1,0,51,7,151,83,26,36,6,2,27,645,31,77,199]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerWidget=e.InsertButton=e.ColorPickerBody=e.ColorPickerHeader=void 0;const t=I.$;class r extends v.Disposable{constructor(p,b,w,E=!1){super(),this.model=b,this.showingStandaloneColorPicker=E,this._closeButton=null,this._domNode=t(".colorpicker-header"),I.append(p,this._domNode),this._pickedColorNode=I.append(this._domNode,t(".picked-color")),I.append(this._pickedColorNode,t("span.codicon.codicon-color-mode")),this._pickedColorPresentation=I.append(this._pickedColorNode,document.createElement("span")),this._pickedColorPresentation.classList.add("picked-color-presentation");const k=(0,s.localize)(0,null);this._pickedColorNode.setAttribute("title",k),this._originalColorNode=I.append(this._domNode,t(".original-color")),this._originalColorNode.style.backgroundColor=m.Color.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=w.getColorTheme().getColor(i.editorHoverBackground)||m.Color.white,this._register(w.onDidColorThemeChange(M=>{this.backgroundColor=M.getColor(i.editorHoverBackground)||m.Color.white})),this._register(I.addDisposableListener(this._pickedColorNode,I.EventType.CLICK,()=>this.model.selectNextColorPresentation())),this._register(I.addDisposableListener(this._originalColorNode,I.EventType.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this._register(b.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=m.Color.Format.CSS.format(b.color)||"",this._pickedColorNode.classList.toggle("light",b.color.rgba.a<.5?this.backgroundColor.isLighter():b.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new u(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(p){this._pickedColorNode.style.backgroundColor=m.Color.Format.CSS.format(p)||"",this._pickedColorNode.classList.toggle("light",p.rgba.a<.5?this.backgroundColor.isLighter():p.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}e.ColorPickerHeader=r;class u extends v.Disposable{constructor(p){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),I.append(p,this._button);const b=document.createElement("div");b.classList.add("close-button-inner-div"),I.append(this._button,b),I.append(b,t(".button"+C.ThemeIcon.asCSSSelector((0,n.registerIcon)("color-picker-close",S.Codicon.close,(0,s.localize)(1,null))))).classList.add("close-icon"),this._button.onclick=()=>{this._onClicked.fire()}}}class f extends v.Disposable{constructor(p,b,w,E=!1){super(),this.model=b,this.pixelRatio=w,this._insertButton=null,this._domNode=t(".colorpicker-body"),I.append(p,this._domNode),this._saturationBox=new d(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new o(this._domNode,this.model,E),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new c(this._domNode,this.model,E),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),E&&(this._insertButton=this._register(new a(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:p,v:b}){const w=this.model.color.hsva;this.model.color=new m.Color(new m.HSVA(w.h,p,b,w.a))}onDidOpacityChange(p){const b=this.model.color.hsva;this.model.color=new m.Color(new m.HSVA(b.h,b.s,b.v,p))}onDidHueChange(p){const b=this.model.color.hsva,w=(1-p)*360;this.model.color=new m.Color(new m.HSVA(w===360?0:w,b.s,b.v,b.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}e.ColorPickerBody=f;class d extends v.Disposable{constructor(p,b,w){super(),this.model=b,this.pixelRatio=w,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._domNode=t(".saturation-wrap"),I.append(p,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",I.append(this._domNode,this._canvas),this.selection=t(".saturation-selection"),I.append(this._domNode,this.selection),this.layout(),this._register(I.addDisposableListener(this._domNode,I.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(p){if(!p.target||!(p.target instanceof Element))return;this.monitor=this._register(new y.GlobalPointerMoveMonitor);const b=I.getDomNodePagePosition(this._domNode);p.target!==this.selection&&this.onDidChangePosition(p.offsetX,p.offsetY),this.monitor.startMonitoring(p.target,p.pointerId,p.buttons,E=>this.onDidChangePosition(E.pageX-b.left,E.pageY-b.top),()=>null);const w=I.addDisposableListener(p.target.ownerDocument,I.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),w.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(p,b){const w=Math.max(0,Math.min(1,p/this.width)),E=Math.max(0,Math.min(1,1-b/this.height));this.paintSelection(w,E),this._onDidChange.fire({s:w,v:E})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const p=this.model.color.hsva;this.paintSelection(p.s,p.v)}paint(){const p=this.model.color.hsva,b=new m.Color(new m.HSVA(p.h,1,1,1)),w=this._canvas.getContext("2d"),E=w.createLinearGradient(0,0,this._canvas.width,0);E.addColorStop(0,"rgba(255, 255, 255, 1)"),E.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),E.addColorStop(1,"rgba(255, 255, 255, 0)");const k=w.createLinearGradient(0,0,0,this._canvas.height);k.addColorStop(0,"rgba(0, 0, 0, 0)"),k.addColorStop(1,"rgba(0, 0, 0, 1)"),w.rect(0,0,this._canvas.width,this._canvas.height),w.fillStyle=m.Color.Format.CSS.format(b),w.fill(),w.fillStyle=E,w.fill(),w.fillStyle=k,w.fill()}paintSelection(p,b){this.selection.style.left=`${p*this.width}px`,this.selection.style.top=`${this.height-b*this.height}px`}onDidChangeColor(p){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const b=p.hsva;this.paintSelection(b.s,b.v)}}class l extends v.Disposable{constructor(p,b,w=!1){super(),this.model=b,this._onDidChange=new _.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new _.Emitter,this.onColorFlushed=this._onColorFlushed.event,w?(this.domNode=I.append(p,t(".standalone-strip")),this.overlay=I.append(this.domNode,t(".standalone-overlay"))):(this.domNode=I.append(p,t(".strip")),this.overlay=I.append(this.domNode,t(".overlay"))),this.slider=I.append(this.domNode,t(".slider")),this.slider.style.top="0px",this._register(I.addDisposableListener(this.domNode,I.EventType.POINTER_DOWN,E=>this.onPointerDown(E))),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const p=this.getValue(this.model.color);this.updateSliderPosition(p)}onDidChangeColor(p){const b=this.getValue(p);this.updateSliderPosition(b)}onPointerDown(p){if(!p.target||!(p.target instanceof Element))return;const b=this._register(new y.GlobalPointerMoveMonitor),w=I.getDomNodePagePosition(this.domNode);this.domNode.classList.add("grabbing"),p.target!==this.slider&&this.onDidChangeTop(p.offsetY),b.startMonitoring(p.target,p.pointerId,p.buttons,k=>this.onDidChangeTop(k.pageY-w.top),()=>null);const E=I.addDisposableListener(p.target.ownerDocument,I.EventType.POINTER_UP,()=>{this._onColorFlushed.fire(),E.dispose(),b.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(p){const b=Math.max(0,Math.min(1,1-p/this.height));this.updateSliderPosition(b),this._onDidChange.fire(b)}updateSliderPosition(p){this.slider.style.top=`${(1-p)*this.height}px`}}class o extends l{constructor(p,b,w=!1){super(p,b,w),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(p){super.onDidChangeColor(p);const{r:b,g:w,b:E}=p.rgba,k=new m.Color(new m.RGBA(b,w,E,1)),M=new m.Color(new m.RGBA(b,w,E,0));this.overlay.style.background=`linear-gradient(to bottom, ${k} 0%, ${M} 100%)`}getValue(p){return p.hsva.a}}class c extends l{constructor(p,b,w=!1){super(p,b,w),this.domNode.classList.add("hue-strip")}getValue(p){return 1-p.hsva.h/360}}class a extends v.Disposable{constructor(p){super(),this._onClicked=this._register(new _.Emitter),this.onClicked=this._onClicked.event,this._button=I.append(p,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._button.onclick=b=>{this._onClicked.fire()}}get button(){return this._button}}e.InsertButton=a;class g extends D.Widget{constructor(p,b,w,E,k=!1){super(),this.model=b,this.pixelRatio=w,this._register(L.PixelRatio.onDidChange(()=>this.layout()));const M=t(".colorpicker-widget");p.appendChild(M),this.header=this._register(new r(M,this.model,E,k)),this.body=this._register(new f(M,this.model,this.pixelRatio,k))}layout(){this.body.layout()}}e.ColorPickerWidget=g}),define(te[831],ie([1,0,7,45,84,26,6,2,10,20,42,116,236,690,15,55,31,77,27,461]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.ParameterHintsWidget=void 0;const o=L.$,c=(0,f.registerIcon)("parameter-hints-next",D.Codicon.chevronDown,n.localize(0,null)),a=(0,f.registerIcon)("parameter-hints-previous",D.Codicon.chevronUp,n.localize(1,null));let g=l=class extends m.Disposable{constructor(p,b,w,E,k){super(),this.editor=p,this.model=b,this.renderDisposeables=this._register(new m.DisposableStore),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new s.MarkdownRenderer({editor:p},k,E)),this.keyVisible=i.Context.Visible.bindTo(w),this.keyMultipleSignatures=i.Context.MultipleSignatures.bindTo(w)}createParameterHintDOMNodes(){const p=o(".editor-widget.parameter-hints-widget"),b=L.append(p,o(".phwrapper"));b.tabIndex=-1;const w=L.append(b,o(".controls")),E=L.append(w,o(".button"+d.ThemeIcon.asCSSSelector(a))),k=L.append(w,o(".overloads")),M=L.append(w,o(".button"+d.ThemeIcon.asCSSSelector(c)));this._register(L.addDisposableListener(E,"click",P=>{L.EventHelper.stop(P),this.previous()})),this._register(L.addDisposableListener(M,"click",P=>{L.EventHelper.stop(P),this.next()}));const R=o(".body"),B=new y.DomScrollableElement(R,{alwaysConsumeMouseWheel:!0});this._register(B),b.appendChild(B.getDomNode());const T=L.append(R,o(".signature")),N=L.append(R,o(".docs"));p.style.userSelect="text",this.domNodes={element:p,signature:T,overloads:k,docs:N,scrollbar:B},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(P=>{this.visible&&this.editor.layoutContentWidget(this)}));const A=()=>{if(!this.domNodes)return;const P=this.editor.getOption(50);this.domNodes.element.style.fontSize=`${P.fontSize}px`,this.domNodes.element.style.lineHeight=`${P.lineHeight/P.fontSize}`};A(),this._register(S.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor),P=>P.filter(O=>O.hasChanged(50)))(A)),this._register(this.editor.onDidLayoutChange(P=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var p;(p=this.domNodes)===null||p===void 0||p.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var p;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,(p=this.domNodes)===null||p===void 0||p.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(p){var b;if(this.renderDisposeables.clear(),!this.domNodes)return;const w=p.signatures.length>1;this.domNodes.element.classList.toggle("multiple",w),this.keyMultipleSignatures.set(w),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const E=p.signatures[p.activeSignature];if(!E)return;const k=L.append(this.domNodes.signature,o(".code")),M=this.editor.getOption(50);k.style.fontSize=`${M.fontSize}px`,k.style.fontFamily=M.fontFamily;const R=E.parameters.length>0,B=(b=E.activeParameter)!==null&&b!==void 0?b:p.activeParameter;if(R)this.renderParameters(k,E,B);else{const A=L.append(k,o("span"));A.textContent=E.label}const T=E.parameters[B];if(T?.documentation){const A=o("span.documentation");if(typeof T.documentation=="string")A.textContent=T.documentation;else{const P=this.renderMarkdownDocs(T.documentation);A.appendChild(P.element)}L.append(this.domNodes.docs,o("p",{},A))}if(E.documentation!==void 0)if(typeof E.documentation=="string")L.append(this.domNodes.docs,o("p",{},E.documentation));else{const A=this.renderMarkdownDocs(E.documentation);L.append(this.domNodes.docs,A.element)}const N=this.hasDocs(E,T);if(this.domNodes.signature.classList.toggle("has-docs",N),this.domNodes.docs.classList.toggle("empty",!N),this.domNodes.overloads.textContent=String(p.activeSignature+1).padStart(p.signatures.length.toString().length,"0")+"/"+p.signatures.length,T){let A="";const P=E.parameters[B];Array.isArray(P.label)?A=E.label.substring(P.label[0],P.label[1]):A=P.label,P.documentation&&(A+=typeof P.documentation=="string"?`, ${P.documentation}`:`, ${P.documentation.value}`),E.documentation&&(A+=typeof E.documentation=="string"?`, ${E.documentation}`:`, ${E.documentation.value}`),this.announcedLabel!==A&&(I.alert(n.localize(2,null,A)),this.announcedLabel=A)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(p){const b=this.renderDisposeables.add(this.markdownRenderer.render(p,{asyncRenderCallback:()=>{var w;(w=this.domNodes)===null||w===void 0||w.scrollbar.scanDomNode()}}));return b.element.classList.add("markdown-docs"),b}hasDocs(p,b){return!!(b&&typeof b.documentation=="string"&&(0,v.assertIsDefined)(b.documentation).length>0||b&&typeof b.documentation=="object"&&(0,v.assertIsDefined)(b.documentation).value.length>0||p.documentation&&typeof p.documentation=="string"&&(0,v.assertIsDefined)(p.documentation).length>0||p.documentation&&typeof p.documentation=="object"&&(0,v.assertIsDefined)(p.documentation.value).length>0)}renderParameters(p,b,w){const[E,k]=this.getParameterLabelOffsets(b,w),M=document.createElement("span");M.textContent=b.label.substring(0,E);const R=document.createElement("span");R.textContent=b.label.substring(E,k),R.className="parameter active";const B=document.createElement("span");B.textContent=b.label.substring(k),L.append(p,M,R,B)}getParameterLabelOffsets(p,b){const w=p.parameters[b];if(w){if(Array.isArray(w.label))return w.label;if(w.label.length){const E=new RegExp(`(\\W|^)${(0,_.escapeRegExpCharacters)(w.label)}(?=\\W|$)`,"g");E.test(p.label);const k=E.lastIndex-w.label.length;return k>=0?[k,E.lastIndex]:[0,0]}else return[0,0]}else return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return l.ID}updateMaxHeight(){if(!this.domNodes)return;const b=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=b;const w=this.domNodes.element.getElementsByClassName("phwrapper");w.length&&(w[0].style.maxHeight=b)}};e.ParameterHintsWidget=g,g.ID="editor.widget.parameterHintsWidget",e.ParameterHintsWidget=g=l=Ie([ge(2,t.IContextKeyService),ge(3,r.IOpenerService),ge(4,C.ILanguageService)],g),(0,u.registerColor)("editorHoverWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},n.localize(3,null))}),define(te[832],ie([1,0,97,2,16,22,29,18,754,236,689,15,8,831]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerParameterHintsAction=e.ParameterHintsController=void 0;let r=t=class extends I.Disposable{static get(o){return o.getContribution(t.ID)}constructor(o,c,a){super(),this.editor=o,this.model=this._register(new _.ParameterHintsModel(o,a.signatureHelpProvider)),this._register(this.model.onChangedHints(g=>{var h;g?(this.widget.value.show(),this.widget.value.render(g)):(h=this.widget.rawValue)===null||h===void 0||h.hide()})),this.widget=new L.Lazy(()=>this._register(c.createInstance(n.ParameterHintsWidget,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var o;(o=this.widget.rawValue)===null||o===void 0||o.previous()}next(){var o;(o=this.widget.rawValue)===null||o===void 0||o.next()}trigger(o){this.model.trigger(o,0)}};e.ParameterHintsController=r,r.ID="editor.controller.parameterHints",e.ParameterHintsController=r=t=Ie([ge(1,i.IInstantiationService),ge(2,m.ILanguageFeaturesService)],r);class u extends y.EditorAction{constructor(){super({id:"editor.action.triggerParameterHints",label:C.localize(0,null),alias:"Trigger Parameter Hints",precondition:D.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:D.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})}run(o,c){const a=r.get(c);a?.trigger({triggerKind:S.SignatureHelpTriggerKind.Invoke})}}e.TriggerParameterHintsAction=u,(0,y.registerEditorContribution)(r.ID,r,2),(0,y.registerEditorAction)(u);const f=100+75,d=y.EditorCommand.bindToContribution(r.get);(0,y.registerEditorCommand)(new d({id:"closeParameterHints",precondition:v.Context.Visible,handler:l=>l.cancel(),kbOpts:{weight:f,kbExpr:D.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new d({id:"showPrevParameterHint",precondition:s.ContextKeyExpr.and(v.Context.Visible,v.Context.MultipleSignatures),handler:l=>l.previous(),kbOpts:{weight:f,kbExpr:D.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,y.registerEditorCommand)(new d({id:"showNextParameterHint",precondition:s.ContextKeyExpr.and(v.Context.Visible,v.Context.MultipleSignatures),handler:l=>l.next(),kbOpts:{weight:f,kbExpr:D.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))}),define(te[833],ie([1,0,7,73,41,2,116,8,771,77,27,468]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BannerController=void 0;const s=26;let i=class extends D.Disposable{constructor(r,u){super(),this._editor=r,this.instantiationService=u,this.banner=this._register(this.instantiationService.createInstance(n))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(r){this.banner.show(Object.assign(Object.assign({},r),{onClose:()=>{var u;this.hide(),(u=r.onClose)===null||u===void 0||u.call(r)}})),this._editor.setBanner(this.banner.element,s)}};e.BannerController=i,e.BannerController=i=Ie([ge(1,m.IInstantiationService)],i);let n=class extends D.Disposable{constructor(r){super(),this.instantiationService=r,this.markdownRenderer=this.instantiationService.createInstance(S.MarkdownRenderer,{}),this.element=(0,L.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(r){if(r.ariaLabel)return r.ariaLabel;if(typeof r.message=="string")return r.message}getBannerMessage(r){if(typeof r=="string"){const u=(0,L.$)("span");return u.innerText=r,u}return this.markdownRenderer.render(r).element}clear(){(0,L.clearNode)(this.element)}show(r){(0,L.clearNode)(this.element);const u=this.getAriaLabel(r);u&&this.element.setAttribute("aria-label",u);const f=(0,L.append)(this.element,(0,L.$)("div.icon-container"));f.setAttribute("aria-hidden","true"),r.icon&&f.appendChild((0,L.$)(`div${C.ThemeIcon.asCSSSelector(r.icon)}`));const d=(0,L.append)(this.element,(0,L.$)("div.message-container"));if(d.setAttribute("aria-hidden","true"),d.appendChild(this.getBannerMessage(r.message)),this.messageActionsContainer=(0,L.append)(this.element,(0,L.$)("div.message-actions-container")),r.actions)for(const o of r.actions)this._register(this.instantiationService.createInstance(_.Link,this.messageActionsContainer,Object.assign(Object.assign({},o),{tabIndex:-1}),{}));const l=(0,L.append)(this.element,(0,L.$)("div.action-container"));this.actionBar=this._register(new I.ActionBar(l)),this.actionBar.push(this._register(new y.Action("banner.close","Close Banner",C.ThemeIcon.asClassName(v.widgetClose),!0,()=>{typeof r.onClose=="function"&&r.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};n=Ie([ge(0,m.IInstantiationService)],n)}),define(te[834],ie([1,0,7,6,2,27,77]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnthemedProductIconTheme=e.getIconsStyleSheet=void 0;function m(v){const C=new y.DisposableStore,s=C.add(new I.Emitter),i=(0,S.getIconRegistry)();return C.add(i.onDidChange(()=>s.fire())),v&&C.add(v.onDidProductIconThemeChange(()=>s.fire())),{dispose:()=>C.dispose(),onDidChange:s.event,getCSS(){const n=v?v.getProductIconTheme():new _,t={},r=f=>{const d=n.getIcon(f);if(!d)return;const l=d.font;return l?(t[l.id]=l.definition,`.codicon-${f.id}:before { content: '${d.fontCharacter}'; font-family: ${(0,L.asCSSPropertyValue)(l.id)}; }`):`.codicon-${f.id}:before { content: '${d.fontCharacter}'; }`},u=[];for(const f of i.getIcons()){const d=r(f);d&&u.push(d)}for(const f in t){const d=t[f],l=d.weight?`font-weight: ${d.weight};`:"",o=d.style?`font-style: ${d.style};`:"",c=d.src.map(a=>`${(0,L.asCSSUrl)(a.location)} format('${a.format}')`).join(", ");u.push(`@font-face { src: ${c}; font-family: ${(0,L.asCSSPropertyValue)(f)};${l}${o} font-display: block; }`)}return u.join(` +`)}}}e.getIconsStyleSheet=m;class _{getIcon(C){const s=(0,S.getIconRegistry)();let i=C.defaults;for(;D.ThemeIcon.isThemeIcon(i);){const n=s.getIcon(i.id);if(!n)return;i=n.defaults}return i}}e.UnthemedProductIconTheme=_}),define(te[86],ie([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDark=e.isHighContrast=e.ColorScheme=void 0;var L;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST_DARK="hcDark",D.HIGH_CONTRAST_LIGHT="hcLight"})(L||(e.ColorScheme=L={}));function I(D){return D===L.HIGH_CONTRAST_DARK||D===L.HIGH_CONTRAST_LIGHT}e.isHighContrast=I;function y(D){return D===L.DARK||D===L.HIGH_CONTRAST_DARK}e.isDark=y}),define(te[249],ie([1,0,51,38,17,482,142,149,114,86,39]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getColumnOfNodeOffset=e.ViewLine=e.ViewLineOptions=void 0;const s=function(){return y.isNative?!0:!(y.isLinux||L.isFirefox||L.isSafari)}();let i=!0;class n{constructor(g,h){this.themeType=h;const p=g.options,b=p.get(50);p.get(38)==="off"?this.renderWhitespace=p.get(98):this.renderWhitespace="none",this.renderControlCharacters=p.get(93),this.spaceWidth=b.spaceWidth,this.middotWidth=b.middotWidth,this.wsmiddotWidth=b.wsmiddotWidth,this.useMonospaceOptimizations=b.isMonospace&&!p.get(33),this.canUseHalfwidthRightwardsArrow=b.canUseHalfwidthRightwardsArrow,this.lineHeight=p.get(66),this.stopRenderingLineAfter=p.get(116),this.fontLigatures=p.get(51)}equals(g){return this.themeType===g.themeType&&this.renderWhitespace===g.renderWhitespace&&this.renderControlCharacters===g.renderControlCharacters&&this.spaceWidth===g.spaceWidth&&this.middotWidth===g.middotWidth&&this.wsmiddotWidth===g.wsmiddotWidth&&this.useMonospaceOptimizations===g.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===g.canUseHalfwidthRightwardsArrow&&this.lineHeight===g.lineHeight&&this.stopRenderingLineAfter===g.stopRenderingLineAfter&&this.fontLigatures===g.fontLigatures}}e.ViewLineOptions=n;class t{constructor(g){this._options=g,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(g){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,I.createFastDomNode)(g);else throw new Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(g){this._isMaybeInvalid=!0,this._options=g}onSelectionChanged(){return(0,v.isHighContrast)(this._options.themeType)||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1}renderLine(g,h,p,b){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const w=p.getViewLineRenderingData(g),E=this._options,k=m.LineDecoration.filter(w.inlineDecorations,g,w.minColumn,w.maxColumn);let M=null;if((0,v.isHighContrast)(E.themeType)||this._options.renderWhitespace==="selection"){const N=p.selections;for(const A of N){if(A.endLineNumberg)continue;const P=A.startLineNumber===g?A.startColumn:w.minColumn,O=A.endLineNumber===g?A.endColumn:w.maxColumn;P');const B=(0,_.renderViewLine)(R,b);b.appendString("");let T=null;return i&&s&&w.isBasicASCII&&E.useMonospaceOptimizations&&B.containsForeignElements===0&&(T=new r(this._renderedViewLine?this._renderedViewLine.domNode:null,R,B.characterMapping)),T||(T=d(this._renderedViewLine?this._renderedViewLine.domNode:null,R,B.characterMapping,B.containsRTL,B.containsForeignElements)),this._renderedViewLine=T,!0}layoutLine(g,h){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(h),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(g){return this._renderedViewLine?this._renderedViewLine.getWidth(g):0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof r:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof r?this._renderedViewLine.monospaceAssumptionsAreValid():i}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof r&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(g,h,p,b){if(!this._renderedViewLine)return null;h=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,h)),p=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,p));const w=this._renderedViewLine.input.stopRenderingLineAfter;if(w!==-1&&h>w+1&&p>w+1)return new S.VisibleRanges(!0,[new S.FloatHorizontalRange(this.getWidth(b),0)]);w!==-1&&h>w+1&&(h=w+1),w!==-1&&p>w+1&&(p=w+1);const E=this._renderedViewLine.getVisibleRangesForRange(g,h,p,b);return E&&E.length>0?new S.VisibleRanges(!1,E):null}getColumnOfNodeOffset(g,h){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(g,h):1}}e.ViewLine=t,t.CLASS_NAME="view-line";class r{constructor(g,h,p){this._cachedWidth=-1,this.domNode=g,this.input=h;const b=Math.floor(h.lineContent.length/300);if(b>0){this._keyColumnPixelOffsetCache=new Float32Array(b);for(let w=0;w=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),i=!1)}return i}toSlowRenderedLine(){return d(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(g,h,p,b){const w=this._getColumnPixelOffset(g,h,b),E=this._getColumnPixelOffset(g,p,b);return[new S.FloatHorizontalRange(w,E-w)]}_getColumnPixelOffset(g,h,p){if(h<=300){const R=this._characterMapping.getHorizontalOffset(h);return this._charWidth*R}const b=Math.floor((h-1)/300)-1,w=(b+1)*300+1;let E=-1;if(this._keyColumnPixelOffsetCache&&(E=this._keyColumnPixelOffsetCache[b],E===-1&&(E=this._actualReadPixelOffset(g,w,p),this._keyColumnPixelOffsetCache[b]=E)),E===-1){const R=this._characterMapping.getHorizontalOffset(h);return this._charWidth*R}const k=this._characterMapping.getHorizontalOffset(w),M=this._characterMapping.getHorizontalOffset(h);return E+this._charWidth*(M-k)}_getReadingTarget(g){return g.domNode.firstChild}_actualReadPixelOffset(g,h,p){if(!this.domNode)return-1;const b=this._characterMapping.getDomPosition(h),w=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(this.domNode),b.partIndex,b.charIndex,b.partIndex,b.charIndex,p);return!w||w.length===0?-1:w[0].left}getColumnOfNodeOffset(g,h){return c(this._characterMapping,g,h)}}class u{constructor(g,h,p,b,w){if(this.domNode=g,this.input=h,this._characterMapping=p,this._isWhitespaceOnly=/^\s*$/.test(h.lineContent),this._containsForeignElements=w,this._cachedWidth=-1,this._pixelOffsetCache=null,!b||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let E=0,k=this._characterMapping.length;E<=k;E++)this._pixelOffsetCache[E]=-1}}_getReadingTarget(g){return g.domNode.firstChild}getWidth(g){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,g?.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(g,h,p,b){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const w=this._readPixelOffset(this.domNode,g,h,b);if(w===-1)return null;const E=this._readPixelOffset(this.domNode,g,p,b);return E===-1?null:[new S.FloatHorizontalRange(w,E-w)]}return this._readVisibleRangesForRange(this.domNode,g,h,p,b)}_readVisibleRangesForRange(g,h,p,b,w){if(p===b){const E=this._readPixelOffset(g,h,p,w);return E===-1?null:[new S.FloatHorizontalRange(E,0)]}else return this._readRawVisibleRangesForRange(g,p,b,w)}_readPixelOffset(g,h,p,b){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth(b);const w=this._getReadingTarget(g);return w.firstChild?(b.markDidDomLayout(),w.firstChild.offsetWidth):0}if(this._pixelOffsetCache!==null){const w=this._pixelOffsetCache[p];if(w!==-1)return w;const E=this._actualReadPixelOffset(g,h,p,b);return this._pixelOffsetCache[p]=E,E}return this._actualReadPixelOffset(g,h,p,b)}_actualReadPixelOffset(g,h,p,b){if(this._characterMapping.length===0){const M=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(g),0,0,0,0,b);return!M||M.length===0?-1:M[0].left}if(p===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth(b);const w=this._characterMapping.getDomPosition(p),E=D.RangeUtil.readHorizontalRanges(this._getReadingTarget(g),w.partIndex,w.charIndex,w.partIndex,w.charIndex,b);if(!E||E.length===0)return-1;const k=E[0].left;if(this.input.isBasicASCII){const M=this._characterMapping.getHorizontalOffset(p),R=Math.round(this.input.spaceWidth*M);if(Math.abs(R-k)<=1)return R}return k}_readRawVisibleRangesForRange(g,h,p,b){if(h===1&&p===this._characterMapping.length)return[new S.FloatHorizontalRange(0,this.getWidth(b))];const w=this._characterMapping.getDomPosition(h),E=this._characterMapping.getDomPosition(p);return D.RangeUtil.readHorizontalRanges(this._getReadingTarget(g),w.partIndex,w.charIndex,E.partIndex,E.charIndex,b)}getColumnOfNodeOffset(g,h){return c(this._characterMapping,g,h)}}class f extends u{_readVisibleRangesForRange(g,h,p,b,w){const E=super._readVisibleRangesForRange(g,h,p,b,w);if(!E||E.length===0||p===b||p===1&&b===this._characterMapping.length)return E;if(!this.input.containsRTL){const k=this._readPixelOffset(g,h,b,w);if(k!==-1){const M=E[E.length-1];M.left=4&&p[0]===3&&p[3]===7}static isStrictChildOfViewLines(p){return p.length>4&&p[0]===3&&p[3]===7}static isChildOfScrollableElement(p){return p.length>=2&&p[0]===3&&p[1]===5}static isChildOfMinimap(p){return p.length>=2&&p[0]===3&&p[1]===8}static isChildOfContentWidgets(p){return p.length>=4&&p[0]===3&&p[3]===1}static isChildOfOverflowGuard(p){return p.length>=1&&p[0]===3}static isChildOfOverflowingContentWidgets(p){return p.length>=1&&p[0]===2}static isChildOfOverlayWidgets(p){return p.length>=2&&p[0]===3&&p[1]===4}}class u{constructor(p,b,w){this.viewModel=p.viewModel;const E=p.configuration.options;this.layoutInfo=E.get(143),this.viewDomNode=b.viewDomNode,this.lineHeight=E.get(66),this.stickyTabStops=E.get(115),this.typicalHalfwidthCharacterWidth=E.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=w,this._context=p,this._viewHelper=b}getZoneAtCoord(p){return u.getZoneAtCoord(this._context,p)}static getZoneAtCoord(p,b){const w=p.viewLayout.getWhitespaceAtVerticalOffset(b);if(w){const E=w.verticalOffset+w.height/2,k=p.viewModel.getLineCount();let M=null,R,B=null;return w.afterLineNumber!==k&&(B=new D.Position(w.afterLineNumber+1,1)),w.afterLineNumber>0&&(M=new D.Position(w.afterLineNumber,p.viewModel.getLineMaxColumn(w.afterLineNumber))),B===null?R=M:M===null?R=B:b=p.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,c._getMouseColumn(this.mouseContentHorizontalOffset,p.typicalHalfwidthCharacterWidth))}}class d extends f{constructor(p,b,w,E,k){super(p,b,w,E),this._ctx=p,k?(this.target=k,this.targetPath=I.PartFingerprints.collect(k,p.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} + target: ${this.target?this.target.outerHTML:null}`}_getMouseColumn(p=null){return p&&p.columnM.contentLeft+M.width)continue;const R=p.getVerticalOffsetForLineNumber(M.position.lineNumber);if(R<=k&&k<=R+M.height)return b.fulfillContentText(M.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(p,b){const w=p.getZoneAtCoord(b.mouseVerticalOffset);if(w){const E=b.isInContentArea?8:5;return b.fulfillViewZone(E,w.position,w)}return null}static _hitTestTextArea(p,b){return r.isTextArea(b.targetPath)?p.lastRenderData.lastTextareaPosition?b.fulfillContentText(p.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):b.fulfillTextarea():null}static _hitTestMargin(p,b){if(b.isInMarginArea){const w=p.getFullLineRangeAtCoord(b.mouseVerticalOffset),E=w.range.getStartPosition();let k=Math.abs(b.relativePos.x);const M={isAfterLines:w.isAfterLines,glyphMarginLeft:p.layoutInfo.glyphMarginLeft,glyphMarginWidth:p.layoutInfo.glyphMarginWidth,lineNumbersWidth:p.layoutInfo.lineNumbersWidth,offsetX:k};return k-=p.layoutInfo.glyphMarginLeft,k<=p.layoutInfo.glyphMarginWidth?b.fulfillMargin(2,E,w.range,M):(k-=p.layoutInfo.glyphMarginWidth,k<=p.layoutInfo.lineNumbersWidth?b.fulfillMargin(3,E,w.range,M):(k-=p.layoutInfo.lineNumbersWidth,b.fulfillMargin(4,E,w.range,M)))}return null}static _hitTestViewLines(p,b,w){if(!r.isChildOfViewLines(b.targetPath))return null;if(p.isInTopPadding(b.mouseVerticalOffset))return b.fulfillContentEmpty(new D.Position(1,1),l);if(p.isAfterLines(b.mouseVerticalOffset)||p.isInBottomPadding(b.mouseVerticalOffset)){const k=p.viewModel.getLineCount(),M=p.viewModel.getLineMaxColumn(k);return b.fulfillContentEmpty(new D.Position(k,M),l)}if(w){if(r.isStrictChildOfViewLines(b.targetPath)){const k=p.getLineNumberAtVerticalOffset(b.mouseVerticalOffset);if(p.viewModel.getLineLength(k)===0){const R=p.getLineWidth(k),B=o(b.mouseContentHorizontalOffset-R);return b.fulfillContentEmpty(new D.Position(k,1),B)}const M=p.getLineWidth(k);if(b.mouseContentHorizontalOffset>=M){const R=o(b.mouseContentHorizontalOffset-M),B=new D.Position(k,p.viewModel.getLineMaxColumn(k));return b.fulfillContentEmpty(B,R)}}return b.fulfillUnknown()}const E=c._doHitTest(p,b);return E.type===1?c.createMouseTargetFromHitTestPosition(p,b,E.spanNode,E.position,E.injectedText):this._createMouseTarget(p,b.withTarget(E.hitTarget),!0)}static _hitTestMinimap(p,b){if(r.isChildOfMinimap(b.targetPath)){const w=p.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=p.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}static _hitTestScrollbarSlider(p,b){if(r.isChildOfScrollableElement(b.targetPath)&&b.target&&b.target.nodeType===1){const w=b.target.className;if(w&&/\b(slider|scrollbar)\b/.test(w)){const E=p.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),k=p.viewModel.getLineMaxColumn(E);return b.fulfillScrollbar(new D.Position(E,k))}}return null}static _hitTestScrollbar(p,b){if(r.isChildOfScrollableElement(b.targetPath)){const w=p.getLineNumberAtVerticalOffset(b.mouseVerticalOffset),E=p.viewModel.getLineMaxColumn(w);return b.fulfillScrollbar(new D.Position(w,E))}return null}getMouseColumn(p){const b=this._context.configuration.options,w=b.get(143),E=this._context.viewLayout.getCurrentScrollLeft()+p.x-w.contentLeft;return c._getMouseColumn(E,b.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(p,b){return p<0?1:Math.round(p/b)+1}static createMouseTargetFromHitTestPosition(p,b,w,E,k){const M=E.lineNumber,R=E.column,B=p.getLineWidth(M);if(b.mouseContentHorizontalOffset>B){const F=o(b.mouseContentHorizontalOffset-B);return b.fulfillContentEmpty(E,F)}const T=p.visibleRangeForPosition(M,R);if(!T)return b.fulfillUnknown(E);const N=T.left;if(Math.abs(b.mouseContentHorizontalOffset-N)<1)return b.fulfillContentText(E,null,{mightBeForeignElement:!!k,injectedText:k});const A=[];if(A.push({offset:T.left,column:R}),R>1){const F=p.visibleRangeForPosition(M,R-1);F&&A.push({offset:F.left,column:R-1})}const P=p.viewModel.getLineMaxColumn(M);if(RF.offset-G.offset);const O=b.pos.toClientCoordinates(),x=w.getBoundingClientRect(),W=x.left<=O.clientX&&O.clientX<=x.right;let U=null;for(let F=1;Fk)){const R=Math.floor((E+k)/2);let B=b.pos.y+(R-b.mouseVerticalOffset);B<=b.editorPos.y&&(B=b.editorPos.y+1),B>=b.editorPos.y+b.editorPos.height&&(B=b.editorPos.y+b.editorPos.height-1);const T=new L.PageCoordinates(b.pos.x,B),N=this._actualDoHitTestWithCaretRangeFromPoint(p,T.toClientCoordinates());if(N.type===1)return N}return this._actualDoHitTestWithCaretRangeFromPoint(p,b.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(p,b){const w=_.getShadowRoot(p.viewDomNode);let E;if(w?typeof w.caretRangeFromPoint>"u"?E=a(w,b.clientX,b.clientY):E=w.caretRangeFromPoint(b.clientX,b.clientY):E=p.viewDomNode.ownerDocument.caretRangeFromPoint(b.clientX,b.clientY),!E||!E.startContainer)return new C;const k=E.startContainer;if(k.nodeType===k.TEXT_NODE){const M=k.parentNode,R=M?M.parentNode:null,B=R?R.parentNode:null;return(B&&B.nodeType===B.ELEMENT_NODE?B.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(p,M,E.startOffset):new C(k.parentNode)}else if(k.nodeType===k.ELEMENT_NODE){const M=k.parentNode,R=M?M.parentNode:null;return(R&&R.nodeType===R.ELEMENT_NODE?R.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(p,k,k.textContent.length):new C(k)}return new C}static _doHitTestWithCaretPositionFromPoint(p,b){const w=p.viewDomNode.ownerDocument.caretPositionFromPoint(b.clientX,b.clientY);if(w.offsetNode.nodeType===w.offsetNode.TEXT_NODE){const E=w.offsetNode.parentNode,k=E?E.parentNode:null,M=k?k.parentNode:null;return(M&&M.nodeType===M.ELEMENT_NODE?M.className:null)===y.ViewLine.CLASS_NAME?i.createFromDOMInfo(p,w.offsetNode.parentNode,w.offset):new C(w.offsetNode.parentNode)}if(w.offsetNode.nodeType===w.offsetNode.ELEMENT_NODE){const E=w.offsetNode.parentNode,k=E&&E.nodeType===E.ELEMENT_NODE?E.className:null,M=E?E.parentNode:null,R=M&&M.nodeType===M.ELEMENT_NODE?M.className:null;if(k===y.ViewLine.CLASS_NAME){const B=w.offsetNode.childNodes[Math.min(w.offset,w.offsetNode.childNodes.length-1)];if(B)return i.createFromDOMInfo(p,B,0)}else if(R===y.ViewLine.CLASS_NAME)return i.createFromDOMInfo(p,w.offsetNode,0)}return new C(w.offsetNode)}static _snapToSoftTabBoundary(p,b){const w=b.getLineContent(p.lineNumber),{tabSize:E}=b.model.getOptions(),k=v.AtomicTabMoveOperations.atomicPosition(w,p.column-1,E,2);return k!==-1?new D.Position(p.lineNumber,k+1):p}static _doHitTest(p,b){let w=new C;if(typeof p.viewDomNode.ownerDocument.caretRangeFromPoint=="function"?w=this._doHitTestWithCaretRangeFromPoint(p,b):p.viewDomNode.ownerDocument.caretPositionFromPoint&&(w=this._doHitTestWithCaretPositionFromPoint(p,b.pos.toClientCoordinates())),w.type===1){const E=p.viewModel.getInjectedTextAt(w.position),k=p.viewModel.normalizePosition(w.position,2);(E||!k.equals(w.position))&&(w=new s(k,w.spanNode,E))}return w}}e.MouseTargetFactory=c;function a(h,p,b){const w=document.createRange();let E=h.elementFromPoint(p,b);if(E!==null){for(;E&&E.firstChild&&E.firstChild.nodeType!==E.firstChild.TEXT_NODE&&E.lastChild&&E.lastChild.firstChild;)E=E.lastChild;const k=E.getBoundingClientRect(),M=window.getComputedStyle(E,null).getPropertyValue("font-style"),R=window.getComputedStyle(E,null).getPropertyValue("font-variant"),B=window.getComputedStyle(E,null).getPropertyValue("font-weight"),T=window.getComputedStyle(E,null).getPropertyValue("font-size"),N=window.getComputedStyle(E,null).getPropertyValue("line-height"),A=window.getComputedStyle(E,null).getPropertyValue("font-family"),P=`${M} ${R} ${B} ${T}/${N} ${A}`,O=E.innerText;let x=k.left,W=0,U;if(p>k.left+k.width)W=O.length;else{const F=g.getInstance();for(let G=0;Gthis._createMouseTarget(h,p),h=>this._getMouseColumn(h))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(143).height;const a=new m.EditorMouseEventFactory(this.viewHelper.viewDomNode);this._register(a.onContextMenu(this.viewHelper.viewDomNode,h=>this._onContextMenu(h,!0))),this._register(a.onMouseMove(this.viewHelper.viewDomNode,h=>{this._onMouseMove(h),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=L.addDisposableListener(this.viewHelper.viewDomNode.ownerDocument,"mousemove",p=>{this.viewHelper.viewDomNode.contains(p.target)||this._onMouseLeave(new m.EditorMouseEvent(p,!1,this.viewHelper.viewDomNode))}))})),this._register(a.onMouseUp(this.viewHelper.viewDomNode,h=>this._onMouseUp(h))),this._register(a.onMouseLeave(this.viewHelper.viewDomNode,h=>this._onMouseLeave(h)));let g=0;this._register(a.onPointerDown(this.viewHelper.viewDomNode,(h,p)=>{g=p})),this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.POINTER_UP,h=>{this._mouseDownOperation.onPointerUp()})),this._register(a.onMouseDown(this.viewHelper.viewDomNode,h=>this._onMouseDown(h,g))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){const l=i.MouseWheelClassifier.INSTANCE;let o=0,c=_.EditorZoom.getZoomLevel(),a=!1,g=0;const h=b=>{if(this.viewController.emitMouseWheel(b),!this._context.configuration.options.get(75))return;const w=new I.StandardWheelEvent(b);if(l.acceptStandardWheelEvent(w),l.isPhysicalMouseWheel()){if(p(b)){const E=_.EditorZoom.getZoomLevel(),k=w.deltaY>0?1:-1;_.EditorZoom.setZoomLevel(E+k),w.preventDefault(),w.stopPropagation()}}else Date.now()-o>50&&(c=_.EditorZoom.getZoomLevel(),a=p(b),g=0),o=Date.now(),g+=w.deltaY,a&&(_.EditorZoom.setZoomLevel(c+g/5),w.preventDefault(),w.stopPropagation())};this._register(L.addDisposableListener(this.viewHelper.viewDomNode,L.EventType.MOUSE_WHEEL,h,{capture:!0,passive:!1}));function p(b){return D.isMacintosh?(b.metaKey||b.ctrlKey)&&!b.shiftKey&&!b.altKey:b.ctrlKey&&!b.metaKey&&!b.shiftKey&&!b.altKey}}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(l){if(l.hasChanged(143)){const o=this._context.configuration.options.get(143).height;this._height!==o&&(this._height=o,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(l){return this._mouseDownOperation.onCursorStateChanged(l),!1}onFocusChanged(l){return!1}getTargetAtClientPoint(l,o){const a=new m.ClientCoordinates(l,o).toPageCoordinates(),g=(0,m.createEditorPagePosition)(this.viewHelper.viewDomNode);if(a.yg.y+g.height||a.xg.x+g.width)return null;const h=(0,m.createCoordinatesRelativeToEditor)(this.viewHelper.viewDomNode,g,a);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),g,a,h,null)}_createMouseTarget(l,o){let c=l.target;if(!this.viewHelper.viewDomNode.contains(c)){const a=L.getShadowRoot(this.viewHelper.viewDomNode);a&&(c=a.elementsFromPoint(l.posx,l.posy).find(g=>this.viewHelper.viewDomNode.contains(g)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),l.editorPos,l.pos,l.relativePos,o?c:null)}_getMouseColumn(l){return this.mouseTargetFactory.getMouseColumn(l.relativePos)}_onContextMenu(l,o){this.viewController.emitContextMenu({event:l,target:this._createMouseTarget(l,o)})}_onMouseMove(l){this.mouseTargetFactory.mouseTargetIsWidget(l)||l.preventDefault(),!(this._mouseDownOperation.isActive()||l.timestamp{l.preventDefault(),this.viewHelper.focusTextArea()};if(E&&(a||h&&p))k(),this._mouseDownOperation.start(c.type,l,o);else if(g)l.preventDefault();else if(b){const M=c.detail;E&&this.viewHelper.shouldSuppressMouseDownOnViewZone(M.viewZoneId)&&(k(),this._mouseDownOperation.start(c.type,l,o),l.preventDefault())}else w&&this.viewHelper.shouldSuppressMouseDownOnWidget(c.detail)&&(k(),l.preventDefault());this.viewController.emitMouseDown({event:l,target:c})}}e.MouseHandler=n;class t extends y.Disposable{constructor(l,o,c,a,g,h){super(),this._context=l,this._viewController=o,this._viewHelper=c,this._mouseTargetFactory=a,this._createMouseTarget=g,this._getMouseColumn=h,this._mouseMoveMonitor=this._register(new m.GlobalEditorPointerMoveMonitor(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new r(this._context,this._viewHelper,this._mouseTargetFactory,(p,b,w)=>this._dispatchMouse(p,b,w))),this._mouseState=new f,this._currentSelection=new C.Selection(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(l){this._lastMouseEvent=l,this._mouseState.setModifiers(l);const o=this._findMousePosition(l,!1);o&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:l,target:o}):o.type===13&&(o.outsidePosition==="above"||o.outsidePosition==="below")?this._topBottomDragScrolling.start(o,l):(this._topBottomDragScrolling.stop(),this._dispatchMouse(o,!0,1)))}start(l,o,c){this._lastMouseEvent=o,this._mouseState.setStartedOnLineNumbers(l===3),this._mouseState.setStartButtons(o),this._mouseState.setModifiers(o);const a=this._findMousePosition(o,!0);if(!a||!a.position)return;this._mouseState.trySetCount(o.detail,a.position),o.detail=this._mouseState.count;const g=this._context.configuration.options;if(!g.get(90)&&g.get(35)&&!g.get(22)&&!this._mouseState.altKey&&o.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&a.type===6&&a.position&&this._currentSelection.containsPosition(a.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,c,o.buttons,h=>this._onMouseDownThenMove(h),h=>{const p=this._findMousePosition(this._lastMouseEvent,!1);h&&h instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:p?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(a,o.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,c,o.buttons,h=>this._onMouseDownThenMove(h),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(l){this._currentSelection=l.selections[0]}_getPositionOutsideEditor(l){const o=l.editorPos,c=this._context.viewModel,a=this._context.viewLayout,g=this._getMouseColumn(l);if(l.posyo.y+o.height){const p=l.posy-o.y-o.height,b=a.getCurrentScrollTop()+l.relativePos.y,w=S.HitTestContext.getZoneAtCoord(this._context,b);if(w){const k=this._helpPositionJumpOverViewZone(w);if(k)return S.MouseTarget.createOutsideEditor(g,k,"below",p)}const E=a.getLineNumberAtVerticalOffset(b);return S.MouseTarget.createOutsideEditor(g,new v.Position(E,c.getLineMaxColumn(E)),"below",p)}const h=a.getLineNumberAtVerticalOffset(a.getCurrentScrollTop()+l.relativePos.y);if(l.posxo.x+o.width){const p=l.posx-o.x-o.width;return S.MouseTarget.createOutsideEditor(g,new v.Position(h,c.getLineMaxColumn(h)),"right",p)}return null}_findMousePosition(l,o){const c=this._getPositionOutsideEditor(l);if(c)return c;const a=this._createMouseTarget(l,o);if(!a.position)return null;if(a.type===8||a.type===5){const h=this._helpPositionJumpOverViewZone(a.detail);if(h)return S.MouseTarget.createViewZone(a.type,a.element,a.mouseColumn,h,a.detail)}return a}_helpPositionJumpOverViewZone(l){const o=new v.Position(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),c=l.positionBefore,a=l.positionAfter;return c&&a?c.isBefore(o)?c:a:null}_dispatchMouse(l,o,c){l.position&&this._viewController.dispatchMouse({position:l.position,mouseColumn:l.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:c,inSelectionMode:o,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:l.type===6&&l.detail.injectedText!==null})}}class r extends y.Disposable{constructor(l,o,c,a){super(),this._context=l,this._viewHelper=o,this._mouseTargetFactory=c,this._dispatchMouse=a,this._operation=null}dispose(){super.dispose(),this.stop()}start(l,o){this._operation?this._operation.setPosition(l,o):this._operation=new u(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,l,o)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class u extends y.Disposable{constructor(l,o,c,a,g,h){super(),this._context=l,this._viewHelper=o,this._mouseTargetFactory=c,this._dispatchMouse=a,this._position=g,this._mouseEvent=h,this._lastTime=Date.now(),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}dispose(){this._animationFrameDisposable.dispose()}setPosition(l,o){this._position=l,this._mouseEvent=o}_tick(){const l=Date.now(),o=l-this._lastTime;return this._lastTime=l,o}_getScrollSpeed(){const l=this._context.configuration.options.get(66),o=this._context.configuration.options.get(143).height/l,c=this._position.outsideDistance/l;return c<=1.5?Math.max(30,o*(1+c)):c<=3?Math.max(60,o*(2+c)):Math.max(200,o*(7+c))}_execute(){const l=this._context.configuration.options.get(66),o=this._getScrollSpeed(),c=this._tick(),a=o*(c/1e3)*l,g=this._position.outsidePosition==="above"?-a:a;this._context.viewModel.viewLayout.deltaScrollNow(0,g),this._viewHelper.renderNow();const h=this._context.viewLayout.getLinesViewportData(),p=this._position.outsidePosition==="above"?h.startLineNumber:h.endLineNumber;let b;{const w=(0,m.createEditorPagePosition)(this._viewHelper.viewDomNode),E=this._context.configuration.options.get(143).horizontalScrollbarHeight,k=new m.PageCoordinates(this._mouseEvent.pos.x,w.y+w.height-E-.1),M=(0,m.createCoordinatesRelativeToEditor)(this._viewHelper.viewDomNode,w,k);b=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),w,k,M,null)}(!b.position||b.position.lineNumber!==p)&&(this._position.outsidePosition==="above"?b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new v.Position(p,1),"above",this._position.outsideDistance):b=S.MouseTarget.createOutsideEditor(this._position.mouseColumn,new v.Position(p,this._context.viewModel.getLineMaxColumn(p)),"below",this._position.outsideDistance)),this._dispatchMouse(b,!0,2),this._animationFrameDisposable=L.scheduleAtNextAnimationFrame(()=>this._execute())}}class f{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(l){this._altKey=l.altKey,this._ctrlKey=l.ctrlKey,this._metaKey=l.metaKey,this._shiftKey=l.shiftKey}setStartButtons(l){this._leftButton=l.leftButton,this._middleButton=l.middleButton}setStartedOnLineNumbers(l){this._startedOnLineNumbers=l}trySetCount(l,o){const c=new Date().getTime();c-this._lastSetMouseDownCountTime>f.CLEAR_MOUSE_DOWN_COUNT_TIME&&(l=1),this._lastSetMouseDownCountTime=c,l>this._lastMouseDownCount+1&&(l=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(o)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=o,this._lastMouseDownCount=Math.min(l,this._lastMouseDownPositionEqualCount)}}f.CLEAR_MOUSE_DOWN_COUNT_TIME=400}),define(te[836],ie([1,0,7,17,61,2,835,159,217,183]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PointerHandler=e.PointerEventHandler=void 0;class C extends S.MouseHandler{constructor(t,r,u){super(t,r,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,d=>this.onTap(d))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,d=>this.onChange(d))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,d=>this._onContextMenu(new m.EditorMouseEvent(d,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,"pointerdown",d=>{const l=d.pointerType;if(l==="mouse"){this._lastPointerType="mouse";return}else l==="touch"?this._lastPointerType="touch":this._lastPointerType="pen"}));const f=new m.EditorPointerEventFactory(this.viewHelper.viewDomNode);this._register(f.onPointerMove(this.viewHelper.viewDomNode,d=>this._onMouseMove(d))),this._register(f.onPointerUp(this.viewHelper.viewDomNode,d=>this._onMouseUp(d))),this._register(f.onPointerLeave(this.viewHelper.viewDomNode,d=>this._onMouseLeave(d))),this._register(f.onPointerDown(this.viewHelper.viewDomNode,(d,l)=>this._onMouseDown(d,l)))}onTap(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();const r=this._createMouseTarget(new m.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);r.position&&this.viewController.dispatchMouse({position:r.position,mouseColumn:r.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:r.type===6&&r.detail.injectedText!==null})}onChange(t){this._lastPointerType==="touch"&&this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}_onMouseDown(t,r){t.browserEvent.pointerType!=="touch"&&super._onMouseDown(t,r)}}e.PointerEventHandler=C;class s extends S.MouseHandler{constructor(t,r,u){super(t,r,u),this._register(y.Gesture.addTarget(this.viewHelper.linesContentDomNode)),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Tap,f=>this.onTap(f))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Change,f=>this.onChange(f))),this._register(L.addDisposableListener(this.viewHelper.linesContentDomNode,y.EventType.Contextmenu,f=>this._onContextMenu(new m.EditorMouseEvent(f,!1,this.viewHelper.viewDomNode),!1)))}onTap(t){t.preventDefault(),this.viewHelper.focusTextArea();const r=this._createMouseTarget(new m.EditorMouseEvent(t,!1,this.viewHelper.viewDomNode),!1);if(r.position){const u=document.createEvent("CustomEvent");u.initEvent(v.TextAreaSyntethicEvents.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(u),this.viewController.moveTo(r.position,1)}}onChange(t){this._context.viewModel.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)}}class i extends D.Disposable{constructor(t,r,u){super(),I.isIOS&&_.BrowserFeatures.pointerEvents?this.handler=this._register(new C(t,r,u)):window.TouchEvent?this.handler=this._register(new s(t,r,u)):this.handler=this._register(new S.MouseHandler(t,r,u))}getTargetAtClientPoint(t,r){return this.handler.getTargetAtClientPoint(t,r)}}e.PointerHandler=i}),define(te[837],ie([1,0,198,14,17,70,142,229,53,481,249,12,5,426]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewLines=void 0;class n{constructor(){this._currentVisibleRange=new i.Range(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(d){this._currentVisibleRange=d}}class t{constructor(d,l,o,c,a,g,h){this.minimalReveal=d,this.lineNumber=l,this.startColumn=o,this.endColumn=c,this.startScrollTop=a,this.stopScrollTop=g,this.scrollType=h,this.type="range",this.minLineNumber=l,this.maxLineNumber=l}}class r{constructor(d,l,o,c,a){this.minimalReveal=d,this.selections=l,this.startScrollTop=o,this.stopScrollTop=c,this.scrollType=a,this.type="selections";let g=l[0].startLineNumber,h=l[0].endLineNumber;for(let p=1,b=l.length;p{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new I.RunOnceScheduler(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new n,this._horizontalRevealRequest=null,this._stickyScrollEnabled=c.get(114).enabled,this._maxNumberStickyLines=c.get(114).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new C.ViewLine(this._viewLineOptions)}onConfigurationChanged(d){this._visibleLines.onConfigurationChanged(d),d.hasChanged(144)&&(this._maxLineWidth=0);const l=this._context.configuration.options,o=l.get(50),c=l.get(144);return this._lineHeight=l.get(66),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=c.isViewportWrapping,this._revealHorizontalRightPadding=l.get(99),this._cursorSurroundingLines=l.get(29),this._cursorSurroundingLinesStyle=l.get(30),this._canUseLayerHinting=!l.get(32),this._stickyScrollEnabled=l.get(114).enabled,this._maxNumberStickyLines=l.get(114).maxLineCount,(0,D.applyFontInfo)(this.domNode,o),this._onOptionsMaybeChanged(),d.hasChanged(143)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const d=this._context.configuration,l=new C.ViewLineOptions(d,this._context.theme.type);if(!this._viewLineOptions.equals(l)){this._viewLineOptions=l;const o=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let a=o;a<=c;a++)this._visibleLines.getVisibleLine(a).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(d){const l=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let c=!1;for(let a=l;a<=o;a++)c=this._visibleLines.getVisibleLine(a).onSelectionChanged()||c;return c}onDecorationsChanged(d){{const l=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let c=l;c<=o;c++)this._visibleLines.getVisibleLine(c).onDecorationsChanged()}return!0}onFlushed(d){const l=this._visibleLines.onFlushed(d);return this._maxLineWidth=0,l}onLinesChanged(d){return this._visibleLines.onLinesChanged(d)}onLinesDeleted(d){return this._visibleLines.onLinesDeleted(d)}onLinesInserted(d){return this._visibleLines.onLinesInserted(d)}onRevealRangeRequest(d){const l=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),d.source,d.minimalReveal,d.range,d.selections,d.verticalType);if(l===-1)return!1;let o=this._context.viewLayout.validateScrollPosition({scrollTop:l});d.revealHorizontal?d.range&&d.range.startLineNumber!==d.range.endLineNumber?o={scrollTop:o.scrollTop,scrollLeft:0}:d.range?this._horizontalRevealRequest=new t(d.minimalReveal,d.range.startLineNumber,d.range.startColumn,d.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,d.scrollType):d.selections&&d.selections.length>0&&(this._horizontalRevealRequest=new r(d.minimalReveal,d.selections,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,d.scrollType)):this._horizontalRevealRequest=null;const a=Math.abs(this._context.viewLayout.getCurrentScrollTop()-o.scrollTop)<=this._lineHeight?1:d.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(o,a),!0}onScrollChanged(d){if(this._horizontalRevealRequest&&d.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&d.scrollTopChanged){const l=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),o=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(d.scrollTopo)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(d.scrollWidth),this._visibleLines.onScrollChanged(d)||!0}onTokensChanged(d){return this._visibleLines.onTokensChanged(d)}onZonesChanged(d){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(d)}onThemeChanged(d){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(d,l){const o=this._getViewLineDomNode(d);if(o===null)return null;const c=this._getLineNumberFor(o);if(c===-1||c<1||c>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(c)===1)return new s.Position(c,1);const a=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber();if(cg)return null;let h=this._visibleLines.getVisibleLine(c).getColumnOfNodeOffset(d,l);const p=this._context.viewModel.getLineMinColumn(c);return ho)return-1;const c=new v.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),a=this._visibleLines.getVisibleLine(d).getWidth(c);return this._updateLineWidthsSlowIfDomDidLayout(c),a}linesVisibleRangesForRange(d,l){if(this.shouldRender())return null;const o=d.endLineNumber,c=i.Range.intersectRanges(d,this._lastRenderedData.getCurrentVisibleRange());if(!c)return null;const a=[];let g=0;const h=new v.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot);let p=0;l&&(p=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(c.startLineNumber,1)).lineNumber);const b=this._visibleLines.getStartLineNumber(),w=this._visibleLines.getEndLineNumber();for(let E=c.startLineNumber;E<=c.endLineNumber;E++){if(Ew)continue;const k=E===c.startLineNumber?c.startColumn:1,M=E!==c.endLineNumber,R=M?this._context.viewModel.getLineMaxColumn(E):c.endColumn,B=this._visibleLines.getVisibleLine(E).getVisibleRangesForRange(E,k,R,h);if(B){if(l&&Ethis._visibleLines.getEndLineNumber())return null;const c=new v.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),a=this._visibleLines.getVisibleLine(d).getVisibleRangesForRange(d,l,o,c);return this._updateLineWidthsSlowIfDomDidLayout(c),a}visibleRangeForPosition(d){const l=this._visibleRangesForLineRange(d.lineNumber,d.column,d.column);return l?new S.HorizontalPosition(l.outsideRenderedLine,l.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(d){d.didDomLayout&&(this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow()))}_updateLineWidths(d){const l=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let c=1,a=!0;for(let g=l;g<=o;g++){const h=this._visibleLines.getVisibleLine(g);if(d&&!h.getWidthIsFast()){a=!1;continue}c=Math.max(c,h.getWidth(null))}return a&&l===1&&o===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(c),a}_checkMonospaceFontAssumptions(){let d=-1,l=-1;const o=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let a=o;a<=c;a++){const g=this._visibleLines.getVisibleLine(a);if(g.needsMonospaceFontCheck()){const h=g.getWidth(null);h>l&&(l=h,d=a)}}if(d!==-1&&!this._visibleLines.getVisibleLine(d).monospaceAssumptionsAreValid())for(let a=o;a<=c;a++)this._visibleLines.getVisibleLine(a).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(d){if(this._visibleLines.renderLines(d),this._lastRenderedData.setCurrentVisibleRange(d.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const o=this._horizontalRevealRequest;if(d.startLineNumber<=o.minLineNumber&&o.maxLineNumber<=d.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const c=this._computeScrollLeftToReveal(o);c&&(this._isViewportWrapping||this._ensureMaxLineWidth(c.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:c.scrollLeft},o.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.isLinux&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const o=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let a=o;a<=c;a++)if(this._visibleLines.getVisibleLine(a).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const l=this._context.viewLayout.getCurrentScrollTop()-d.bigNumbersDelta;this._linesContent.setTop(-l),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(d){const l=Math.ceil(d);this._maxLineWidth0){let N=a[0].startLineNumber,A=a[0].endLineNumber;for(let P=1,O=a.length;Pp){if(!w)return-1;T=E}else if(g===5||g===6)if(g===6&&h<=E&&k<=b)T=h;else{const N=Math.max(5*this._lineHeight,p*.2),A=E-N,P=k-p;T=Math.max(P,A)}else if(g===1||g===2)if(g===2&&h<=E&&k<=b)T=h;else{const N=(E+k)/2;T=Math.max(0,N-p/2)}else T=this._computeMinimumScrolling(h,b,E,k,g===3,g===4);return T}_computeScrollLeftToReveal(d){const l=this._context.viewLayout.getCurrentViewport(),o=this._context.configuration.options.get(143),c=l.left,a=c+l.width-o.verticalScrollbarWidth;let g=1073741824,h=0;if(d.type==="range"){const b=this._visibleRangesForLineRange(d.lineNumber,d.startColumn,d.endColumn);if(!b)return null;for(const w of b.ranges)g=Math.min(g,Math.round(w.left)),h=Math.max(h,Math.round(w.left+w.width))}else for(const b of d.selections){if(b.startLineNumber!==b.endLineNumber)return null;const w=this._visibleRangesForLineRange(b.startLineNumber,b.startColumn,b.endColumn);if(!w)return null;for(const E of w.ranges)g=Math.min(g,Math.round(E.left)),h=Math.max(h,Math.round(E.left+E.width))}return d.minimalReveal||(g=Math.max(0,g-u.HORIZONTAL_EXTRA_PX),h+=this._revealHorizontalRightPadding),d.type==="selections"&&h-g>l.width?null:{scrollLeft:this._computeMinimumScrolling(c,a,g,h),maxHorizontalOffset:h}}_computeMinimumScrolling(d,l,o,c,a,g){d=d|0,l=l|0,o=o|0,c=c|0,a=!!a,g=!!g;const h=l-d;if(c-ol)return Math.max(0,c-h)}else return o;return d}}e.ViewLines=u,u.HORIZONTAL_EXTRA_PX=30}),define(te[359],ie([1,0,7,44,73,226,222,13,14,388,105,9,6,119,2,17,10,735,343,97,21,86,172]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputList=e.QuickInputListFocus=void 0;const a=L.$;class g{constructor(T,N,A,P,O,x,W){var U,F,G;this._checked=!1,this._hidden=!1,this.hasCheckbox=P,this.index=A,this.fireButtonTriggered=O,this.fireSeparatorButtonTriggered=x,this._onChecked=W,this.onChecked=P?i.Event.map(i.Event.filter(this._onChecked.event,Y=>Y.listElement===this),Y=>Y.checked):i.Event.None,T.type==="separator"?this._separator=T:(this.item=T,N&&N.type==="separator"&&!N.buttons&&(this._separator=N),this.saneDescription=this.item.description,this.saneDetail=this.item.detail,this._labelHighlights=(U=this.item.highlights)===null||U===void 0?void 0:U.label,this._descriptionHighlights=(F=this.item.highlights)===null||F===void 0?void 0:F.description,this._detailHighlights=(G=this.item.highlights)===null||G===void 0?void 0:G.detail,this.saneTooltip=this.item.tooltip),this._init=new l.Lazy(()=>{var Y;const ne=(Y=T.label)!==null&&Y!==void 0?Y:"",se=(0,n.parseLabelWithIcons)(ne).text.trim(),J=T.ariaLabel||[ne,this.saneDescription,this.saneDetail].map(q=>(0,n.getCodiconAriaLabel)(q)).filter(q=>!!q).join(", ");return{saneLabel:ne,saneSortLabel:se,saneAriaLabel:J}})}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(T){this._element=T}get hidden(){return this._hidden}set hidden(T){this._hidden=T}get checked(){return this._checked}set checked(T){T!==this._checked&&(this._checked=T,this._onChecked.fire({listElement:this,checked:T}))}get separator(){return this._separator}set separator(T){this._separator=T}get labelHighlights(){return this._labelHighlights}set labelHighlights(T){this._labelHighlights=T}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(T){this._descriptionHighlights=T}get detailHighlights(){return this._detailHighlights}set detailHighlights(T){this._detailHighlights=T}}class h{constructor(T){this.themeService=T}get templateId(){return h.ID}renderTemplate(T){const N=Object.create(null);N.toDisposeElement=[],N.toDisposeTemplate=[],N.entry=L.append(T,a(".quick-input-list-entry"));const A=L.append(N.entry,a("label.quick-input-list-label"));N.toDisposeTemplate.push(L.addStandardDisposableListener(A,L.EventType.CLICK,F=>{N.checkbox.offsetParent||F.preventDefault()})),N.checkbox=L.append(A,a("input.quick-input-list-checkbox")),N.checkbox.type="checkbox",N.toDisposeTemplate.push(L.addStandardDisposableListener(N.checkbox,L.EventType.CHANGE,F=>{N.element.checked=N.checkbox.checked}));const P=L.append(A,a(".quick-input-list-rows")),O=L.append(P,a(".quick-input-list-row")),x=L.append(P,a(".quick-input-list-row"));N.label=new D.IconLabel(O,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),N.toDisposeTemplate.push(N.label),N.icon=L.prepend(N.label.element,a(".quick-input-list-icon"));const W=L.append(O,a(".quick-input-list-entry-keybinding"));N.keybinding=new S.KeybindingLabel(W,r.OS);const U=L.append(x,a(".quick-input-list-label-meta"));return N.detail=new D.IconLabel(U,{supportHighlights:!0,supportIcons:!0}),N.toDisposeTemplate.push(N.detail),N.separator=L.append(N.entry,a(".quick-input-list-separator")),N.actionBar=new y.ActionBar(N.entry),N.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),N.toDisposeTemplate.push(N.actionBar),N}renderElement(T,N,A){var P,O,x,W;A.element=T,T.element=(P=A.entry)!==null&&P!==void 0?P:void 0;const U=T.item?T.item:T.separator;A.checkbox.checked=T.checked,A.toDisposeElement.push(T.onChecked(J=>A.checkbox.checked=J));const{labelHighlights:F,descriptionHighlights:G,detailHighlights:Y}=T;if(!((O=T.item)===null||O===void 0)&&O.iconPath){const J=(0,c.isDark)(this.themeService.getColorTheme().type)?T.item.iconPath.dark:(x=T.item.iconPath.light)!==null&&x!==void 0?x:T.item.iconPath.dark,q=o.URI.revive(J);A.icon.className="quick-input-list-icon",A.icon.style.backgroundImage=L.asCSSUrl(q)}else A.icon.style.backgroundImage="",A.icon.className=!((W=T.item)===null||W===void 0)&&W.iconClass?`quick-input-list-icon ${T.item.iconClass}`:"";const ne={matches:F||[],descriptionTitle:T.saneDescription,descriptionMatches:G||[],labelEscapeNewLines:!0};U.type!=="separator"?(ne.extraClasses=U.iconClasses,ne.italic=U.italic,ne.strikethrough=U.strikethrough,A.entry.classList.remove("quick-input-list-separator-as-item")):A.entry.classList.add("quick-input-list-separator-as-item"),A.label.setLabel(T.saneLabel,T.saneDescription,ne),A.keybinding.set(U.type==="separator"?void 0:U.keybinding),T.saneDetail?(A.detail.element.style.display="",A.detail.setLabel(T.saneDetail,void 0,{matches:Y,title:T.saneDetail,labelEscapeNewLines:!0})):A.detail.element.style.display="none",T.item&&T.separator&&T.separator.label?(A.separator.textContent=T.separator.label,A.separator.style.display=""):A.separator.style.display="none",A.entry.classList.toggle("quick-input-list-separator-border",!!T.separator);const se=U.buttons;se&&se.length?(A.actionBar.push(se.map((J,q)=>{let H=J.iconClass||(J.iconPath?(0,d.getIconClass)(J.iconPath):void 0);return J.alwaysVisible&&(H=H?`${H} always-visible`:"always-visible"),{id:`id-${q}`,class:H,enabled:!0,label:"",tooltip:J.tooltip||"",run:()=>{U.type!=="separator"?T.fireButtonTriggered({button:J,item:U}):T.fireSeparatorButtonTriggered({button:J,separator:U})}}}),{icon:!0,label:!1}),A.entry.classList.add("has-actions")):A.entry.classList.remove("has-actions")}disposeElement(T,N,A){A.toDisposeElement=(0,t.dispose)(A.toDisposeElement),A.actionBar.clear()}disposeTemplate(T){T.toDisposeElement=(0,t.dispose)(T.toDisposeElement),T.toDisposeTemplate=(0,t.dispose)(T.toDisposeTemplate)}}h.ID="listelement";class p{getHeight(T){return T.item?T.saneDetail?44:22:24}getTemplateId(T){return h.ID}}var b;(function(B){B[B.First=1]="First",B[B.Second=2]="Second",B[B.Last=3]="Last",B[B.Next=4]="Next",B[B.Previous=5]="Previous",B[B.NextPage=6]="NextPage",B[B.PreviousPage=7]="PreviousPage"})(b||(e.QuickInputListFocus=b={}));class w{constructor(T,N,A,P){this.parent=T,this.options=A,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.sortByLabel=!0,this._onChangedAllVisibleChecked=new i.Emitter,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new i.Emitter,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new i.Emitter,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new i.Emitter,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new i.Emitter,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new i.Emitter,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onKeyDown=new i.Emitter,this.onKeyDown=this._onKeyDown.event,this._onLeave=new i.Emitter,this.onLeave=this._onLeave.event,this._listElementChecked=new i.Emitter,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=N,this.container=L.append(this.parent,a(".quick-input-list"));const O=new p,x=new R;if(this.list=A.createList("QuickInput",this.container,O,[new h(P)],{identityProvider:{getId:W=>{var U,F,G,Y,ne,se,J,q;return(q=(se=(Y=(F=(U=W.item)===null||U===void 0?void 0:U.id)!==null&&F!==void 0?F:(G=W.item)===null||G===void 0?void 0:G.label)!==null&&Y!==void 0?Y:(ne=W.separator)===null||ne===void 0?void 0:ne.id)!==null&&se!==void 0?se:(J=W.separator)===null||J===void 0?void 0:J.label)!==null&&q!==void 0?q:""}},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:x}),this.list.getHTMLElement().id=N,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(W=>{const U=new I.StandardKeyboardEvent(W);switch(U.keyCode){case 10:this.toggleCheckbox();break;case 31:(r.isMacintosh?W.metaKey:W.ctrlKey)&&this.list.setFocus((0,m.range)(this.list.length));break;case 16:{const F=this.list.getFocus();F.length===1&&F[0]===0&&this._onLeave.fire();break}case 18:{const F=this.list.getFocus();F.length===1&&F[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(U)})),this.disposables.push(this.list.onMouseDown(W=>{W.browserEvent.button!==2&&W.browserEvent.preventDefault()})),this.disposables.push(L.addDisposableListener(this.container,L.EventType.CLICK,W=>{(W.x||W.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(W=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(W=>{typeof W.index=="number"&&(W.browserEvent.preventDefault(),this.list.setSelection([W.index]))})),A.hoverDelegate){const W=new _.ThrottledDelayer(A.hoverDelegate.delay);this.disposables.push(this.list.onMouseOver(U=>be(this,void 0,void 0,function*(){var F;if(U.browserEvent.target instanceof HTMLAnchorElement){W.cancel();return}if(!(!(U.browserEvent.relatedTarget instanceof HTMLAnchorElement)&&L.isAncestor(U.browserEvent.relatedTarget,(F=U.element)===null||F===void 0?void 0:F.element)))try{yield W.trigger(()=>be(this,void 0,void 0,function*(){U.element&&this.showHover(U.element)}))}catch(G){if(!(0,s.isCancellationError)(G))throw G}}))),this.disposables.push(this.list.onMouseOut(U=>{var F;L.isAncestor(U.browserEvent.relatedTarget,(F=U.element)===null||F===void 0?void 0:F.element)||W.cancel()})),this.disposables.push(W)}this.disposables.push(this._listElementChecked.event(W=>this.fireCheckedEvents())),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onSeparatorButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return i.Event.map(this.list.onDidChangeFocus,T=>T.elements.map(N=>N.item))}get onDidChangeSelection(){return i.Event.map(this.list.onDidChangeSelection,T=>({items:T.elements.map(N=>N.item),event:T.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(T){this.list.scrollTop=T}get ariaLabel(){return this.list.getHTMLElement().ariaLabel}set ariaLabel(T){this.list.getHTMLElement().ariaLabel=T}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(T,N=!0){for(let A=0,P=T.length;A{N.hidden||(N.checked=T)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(T){this.elementDisposables=(0,t.dispose)(this.elementDisposables);const N=x=>this.fireButtonTriggered(x),A=x=>this.fireSeparatorButtonTriggered(x);this.inputElements=T;const P=new Map,O=this.parent.classList.contains("show-checkboxes");this.elements=T.reduce((x,W,U)=>{var F;const G=U>0?T[U-1]:void 0;if(W.type==="separator"&&!W.buttons)return x;const Y=new g(W,G,U,O,N,A,this._listElementChecked),ne=x.length;return x.push(Y),P.set((F=Y.item)!==null&&F!==void 0?F:Y.separator,ne),x},[]),this.elementsToIndexes=P,this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(T=>T.item)}setFocusedElements(T){if(this.list.setFocus(T.filter(N=>this.elementsToIndexes.has(N)).map(N=>this.elementsToIndexes.get(N))),T.length>0){const N=this.list.getFocus()[0];typeof N=="number"&&this.list.reveal(N)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(T){this.list.setSelection(T.filter(N=>this.elementsToIndexes.has(N)).map(N=>this.elementsToIndexes.get(N)))}getCheckedElements(){return this.elements.filter(T=>T.checked).map(T=>T.item).filter(T=>!!T)}setCheckedElements(T){try{this._fireCheckedEvents=!1;const N=new Set;for(const A of T)N.add(A);for(const A of this.elements)A.checked=N.has(A.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(T){this.list.getHTMLElement().style.pointerEvents=T?"":"none"}focus(T){if(!this.list.length)return;switch(T===b.Second&&this.list.length<2&&(T=b.First),T){case b.First:this.list.scrollTop=0,this.list.focusFirst(void 0,A=>!!A.item);break;case b.Second:this.list.scrollTop=0,this.list.focusNth(1,void 0,A=>!!A.item);break;case b.Last:this.list.scrollTop=this.list.scrollHeight,this.list.focusLast(void 0,A=>!!A.item);break;case b.Next:{this.list.focusNext(void 0,!0,void 0,P=>!!P.item);const A=this.list.getFocus()[0];A!==0&&!this.elements[A-1].item&&this.list.firstVisibleIndex>A-1&&this.list.reveal(A-1);break}case b.Previous:{this.list.focusPrevious(void 0,!0,void 0,P=>!!P.item);const A=this.list.getFocus()[0];A!==0&&!this.elements[A-1].item&&this.list.firstVisibleIndex>A-1&&this.list.reveal(A-1);break}case b.NextPage:this.list.focusNextPage(void 0,A=>!!A.item);break;case b.PreviousPage:this.list.focusPreviousPage(void 0,A=>!!A.item);break}const N=this.list.getFocus()[0];typeof N=="number"&&this.list.reveal(N)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}showHover(T){var N,A,P;this.options.hoverDelegate!==void 0&&(this._lastHover&&!this._lastHover.isDisposed&&((A=(N=this.options.hoverDelegate).onDidHideHover)===null||A===void 0||A.call(N),(P=this._lastHover)===null||P===void 0||P.dispose()),!(!T.element||!T.saneTooltip)&&(this._lastHover=this.options.hoverDelegate.showHover({content:T.saneTooltip,target:T.element,linkHandler:O=>{this.options.linkOpenerDelegate(O)},showPointer:!0,container:this.container,hoverPosition:1},!1)))}layout(T){this.list.getHTMLElement().style.maxHeight=T?`${Math.floor(T/44)*44+6}px`:"",this.list.layout()}filter(T){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const N=T;if(T=T.trim(),!T||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(P=>{P.labelHighlights=void 0,P.descriptionHighlights=void 0,P.detailHighlights=void 0,P.hidden=!1;const O=P.index&&this.inputElements[P.index-1];P.item&&(P.separator=O&&O.type==="separator"&&!O.buttons?O:void 0)});else{let P;this.elements.forEach(O=>{var x,W,U,F;let G;this.matchOnLabelMode==="fuzzy"?G=this.matchOnLabel&&(x=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&x!==void 0?x:void 0:G=this.matchOnLabel&&(W=E(N,(0,n.parseLabelWithIcons)(O.saneLabel)))!==null&&W!==void 0?W:void 0;const Y=this.matchOnDescription&&(U=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDescription||"")))!==null&&U!==void 0?U:void 0,ne=this.matchOnDetail&&(F=(0,n.matchesFuzzyIconAware)(T,(0,n.parseLabelWithIcons)(O.saneDetail||"")))!==null&&F!==void 0?F:void 0;if(G||Y||ne?(O.labelHighlights=G,O.descriptionHighlights=Y,O.detailHighlights=ne,O.hidden=!1):(O.labelHighlights=void 0,O.descriptionHighlights=void 0,O.detailHighlights=void 0,O.hidden=O.item?!O.item.alwaysShow:!0),O.item?O.separator=void 0:O.separator&&(O.hidden=!0),!this.sortByLabel){const se=O.index&&this.inputElements[O.index-1];P=se&&se.type==="separator"?se:P,P&&!O.hidden&&(O.separator=P,P=void 0)}})}const A=this.elements.filter(P=>!P.hidden);if(this.sortByLabel&&T){const P=T.toLowerCase();A.sort((O,x)=>M(O,x,P))}return this.elementsToIndexes=A.reduce((P,O,x)=>{var W;return P.set((W=O.item)!==null&&W!==void 0?W:O.separator,x),P},new Map),this.list.splice(0,this.list.length,A),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(A.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const T=this.list.getFocusedElements(),N=this.allVisibleChecked(T);for(const A of T)A.checked=!N}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(T){this.container.style.display=T?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=(0,t.dispose)(this.elementDisposables),this.disposables=(0,t.dispose)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(T){this._onButtonTriggered.fire(T)}fireSeparatorButtonTriggered(T){this._onSeparatorButtonTriggered.fire(T)}style(T){this.list.style(T)}toggleHover(){const T=this.list.getFocusedElements()[0];if(!T?.saneTooltip)return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}const N=this.list.getFocusedElements()[0];if(!N)return;this.showHover(N);const A=new t.DisposableStore;A.add(this.list.onDidChangeFocus(P=>{P.indexes.length&&this.showHover(P.elements[0])})),this._lastHover&&A.add(this._lastHover),this._toggleHover=A,this.elementDisposables.push(this._toggleHover)}}e.QuickInputList=w,Ie([C.memoize],w.prototype,"onDidChangeFocus",null),Ie([C.memoize],w.prototype,"onDidChangeSelection",null);function E(B,T){const{text:N,iconOffsets:A}=T;if(!A||A.length===0)return k(B,N);const P=(0,u.ltrim)(N," "),O=N.length-P.length,x=k(B,P);if(x)for(const W of x){const U=A[W.start+O]+O;W.start+=U,W.end+=U}return x}function k(B,T){const N=T.toLowerCase().indexOf(B.toLowerCase());return N!==-1?[{start:N,end:N+B.length}]:null}function M(B,T,N){const A=B.labelHighlights||[],P=T.labelHighlights||[];return A.length&&!P.length?-1:!A.length&&P.length?1:A.length===0&&P.length===0?0:(0,v.compareAnything)(B.saneSortLabel,T.saneSortLabel,N)}class R{getWidgetAriaLabel(){return(0,f.localize)(0,null)}getAriaLabel(T){var N;return!((N=T.separator)===null||N===void 0)&&N.label?`${T.saneAriaLabel}, ${T.separator.label}`:T.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(T){return T.hasCheckbox?"checkbox":"option"}isChecked(T){if(T.hasCheckbox)return{value:T.checked,onDidChange:T.onChecked}}}}),define(te[838],ie([1,0,7,44,153,41,13,14,26,6,2,17,98,27,733,67,359,343,172]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputBox=e.QuickPick=e.backButton=void 0,e.backButton={iconClass:n.ThemeIcon.asClassName(_.Codicon.quickInputBack),tooltip:(0,t.localize)(0,null),handle:-1};class d extends C.Disposable{constructor(a){super(),this.ui=a,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=d.noPromptMessage,this._severity=i.default.Ignore,this.onDidTriggerButtonEmitter=this._register(new v.Emitter),this.onDidHideEmitter=this._register(new v.Emitter),this.onDisposeEmitter=this._register(new v.Emitter),this.visibleDisposables=this._register(new C.DisposableStore),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(a){this._title=a,this.update()}get description(){return this._description}set description(a){this._description=a,this.update()}get step(){return this._steps}set step(a){this._steps=a,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(a){this._totalSteps=a,this.update()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.update()}get contextKey(){return this._contextKey}set contextKey(a){this._contextKey=a,this.update()}get busy(){return this._busy}set busy(a){this._busy=a,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(a){const g=this._ignoreFocusOut!==a&&!s.isIOS;this._ignoreFocusOut=a&&!s.isIOS,g&&this.update()}get buttons(){return this._buttons}set buttons(a){this._buttons=a,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(a){this._toggles=a??[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(a){this._validationMessage=a,this.update()}get severity(){return this._severity}set severity(a){this._severity=a,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(a=>{this.buttons.indexOf(a)!==-1&&this.onDidTriggerButtonEmitter.fire(a)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(a=r.QuickInputHideReason.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:a})}update(){var a,g;if(!this.visible)return;const h=this.getTitle();h&&this.ui.title.textContent!==h?this.ui.title.textContent=h:!h&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0");const p=this.getDescription();if(this.ui.description1.textContent!==p&&(this.ui.description1.textContent=p),this.ui.description2.textContent!==p&&(this.ui.description2.textContent=p),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?L.reset(this.ui.widget,this._widget):L.reset(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new m.TimeoutTimer,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const w=this.buttons.filter(k=>k===e.backButton);this.ui.leftActionBar.push(w.map((k,M)=>{const R=new D.Action(`id-${M}`,"",k.iconClass||(0,f.getIconClass)(k.iconPath),!0,()=>be(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(k)}));return R.tooltip=k.tooltip||"",R}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const E=this.buttons.filter(k=>k!==e.backButton);this.ui.rightActionBar.push(E.map((k,M)=>{const R=new D.Action(`id-${M}`,"",k.iconClass||(0,f.getIconClass)(k.iconPath),!0,()=>be(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(k)}));return R.tooltip=k.tooltip||"",R}),{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const w=(g=(a=this.toggles)===null||a===void 0?void 0:a.filter(E=>E instanceof y.Toggle))!==null&&g!==void 0?g:[];this.ui.inputBox.toggles=w}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const b=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==b&&(this._lastValidationMessage=b,L.reset(this.ui.message),(0,f.renderQuickInputDescription)(b,this.ui.message,{callback:w=>{this.ui.linkOpenerDelegate(w)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,t.localize)(2,null,this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(a){if(this.ui.inputBox.showDecoration(a),a!==i.default.Ignore){const g=this.ui.inputBox.stylesForType(a);this.ui.message.style.color=g.foreground?`${g.foreground}`:"",this.ui.message.style.backgroundColor=g.background?`${g.background}`:"",this.ui.message.style.border=g.border?`1px solid ${g.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}d.noPromptMessage=(0,t.localize)(1,null);class l extends d{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new v.Emitter),this.onWillAcceptEmitter=this._register(new v.Emitter),this.onDidAcceptEmitter=this._register(new v.Emitter),this.onDidCustomEmitter=this._register(new v.Emitter),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=r.ItemActivation.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new v.Emitter),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new v.Emitter),this.onDidTriggerItemButtonEmitter=this._register(new v.Emitter),this.onDidTriggerSeparatorButtonEmitter=this._register(new v.Emitter),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=a=>a,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(a){this._quickNavigate=a,this.update()}get value(){return this._value}set value(a){this.doSetValue(a)}doSetValue(a,g){this._value!==a&&(this._value=a,g||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(a){this._ariaLabel=a,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(a){this._placeholder=a,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(a){this.ui.list.scrollTop=a}set items(a){this._items=a,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(a){this._canSelectMany=a,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(a){this._canAcceptInBackground=a}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(a){this._matchOnDescription=a,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(a){this._matchOnDetail=a,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(a){this._matchOnLabel=a,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(a){this._matchOnLabelMode=a,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(a){this._sortByLabel=a,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(a){this._autoFocusOnList=a,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(a){this._keepScrollPosition=a}get itemActivation(){return this._itemActivation}set itemActivation(a){this._itemActivation=a}get activeItems(){return this._activeItems}set activeItems(a){this._activeItems=a,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(a){this._selectedItems=a,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?r.NO_KEY_MODS:this.ui.keyMods}set valueSelection(a){this._valueSelection=a,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(a){this._customButton=a,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(a){this._customButtonLabel=a,this.update()}get customHover(){return this._customButtonHover}set customHover(a){this._customButtonHover=a,this.update()}get ok(){return this._ok}set ok(a){this._ok=a,this.update()}get hideInput(){return!!this._hideInput}set hideInput(a){this._hideInput=a,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(u.QuickInputListFocus.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(a=>{this.doSetValue(a,!0)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(a=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(a=>{switch(a.keyCode){case 18:this.ui.list.focus(u.QuickInputListFocus.Next),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(a,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(u.QuickInputListFocus.Previous):this.ui.list.focus(u.QuickInputListFocus.Last),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(a,!0);break;case 12:this.ui.list.focus(u.QuickInputListFocus.NextPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(a,!0);break;case 11:this.ui.list.focus(u.QuickInputListFocus.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),L.EventHelper.stop(a,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(a.ctrlKey||a.metaKey)&&!a.shiftKey&&!a.altKey&&(this.ui.list.focus(u.QuickInputListFocus.First),L.EventHelper.stop(a,!0));break;case 13:(a.ctrlKey||a.metaKey)&&!a.shiftKey&&!a.altKey&&(this.ui.list.focus(u.QuickInputListFocus.Last),L.EventHelper.stop(a,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(a=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,S.equals)(a,this._activeItems,(g,h)=>g===h)||(this._activeItems=a,this.onDidChangeActiveEmitter.fire(a))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:a,event:g})=>{if(this.canSelectMany){a.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(a,this._selectedItems,(h,p)=>h===p)||(this._selectedItems=a,this.onDidChangeSelectionEmitter.fire(a),a.length&&this.handleAccept(g instanceof MouseEvent&&g.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(a=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,S.equals)(a,this._selectedItems,(g,h)=>g===h)||(this._selectedItems=a,this.onDidChangeSelectionEmitter.fire(a)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(a=>this.onDidTriggerItemButtonEmitter.fire(a))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(a=>this.onDidTriggerSeparatorButtonEmitter.fire(a))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(a){let g=!1;this.onWillAcceptEmitter.fire({veto:()=>g=!0}),g||this.onDidAcceptEmitter.fire({inBackground:a})}registerQuickNavigation(){return L.addDisposableListener(this.ui.container,L.EventType.KEY_UP,a=>{if(this.canSelectMany||!this._quickNavigate)return;const g=new I.StandardKeyboardEvent(a),h=g.keyCode;this._quickNavigate.keybindings.some(w=>{const E=w.getChords();return E.length>1?!1:E[0].shiftKey&&h===4?!(g.ctrlKey||g.altKey||g.metaKey):!!(E[0].altKey&&h===6||E[0].ctrlKey&&h===5||E[0].metaKey&&h===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const a=this.keepScrollPosition?this.scrollTop:0,g=!!this.description,h={title:!!this.title||!!this.step||!!this.buttons.length,description:g,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||g,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(h),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let p=this.ariaLabel;if(!p&&h.inputBox&&(p=this.placeholder||l.DEFAULT_ARIA_LABEL,this.title&&(p+=` - ${this.title}`)),this.ui.list.ariaLabel!==p&&(this.ui.list.ariaLabel=p??null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case r.ItemActivation.NONE:this._itemActivation=r.ItemActivation.FIRST;break;case r.ItemActivation.SECOND:this.ui.list.focus(u.QuickInputListFocus.Second),this._itemActivation=r.ItemActivation.FIRST;break;case r.ItemActivation.LAST:this.ui.list.focus(u.QuickInputListFocus.Last),this._itemActivation=r.ItemActivation.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",h.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(u.QuickInputListFocus.First)),this.keepScrollPosition&&(this.scrollTop=a)}}e.QuickPick=l,l.DEFAULT_ARIA_LABEL=(0,t.localize)(3,null);class o extends d{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new v.Emitter),this.onDidAcceptEmitter=this._register(new v.Emitter),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(a){this._value=a||"",this.update()}get placeholder(){return this._placeholder}set placeholder(a){this._placeholder=a,this.update()}get password(){return this._password}set password(a){this._password=a,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(a=>{a!==this.value&&(this._value=a,this.onDidValueChangeEmitter.fire(a))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");const a={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(a),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}e.InputBox=o}),define(te[839],ie([1,0,7,73,318,312,577,19,6,2,98,734,67,773,359,838]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputController=void 0;const u=L.$;class f extends v.Disposable{constructor(l,o){super(),this.options=l,this.themeService=o,this.enabled=!0,this.onDidAcceptEmitter=this._register(new _.Emitter),this.onDidCustomEmitter=this._register(new _.Emitter),this.onDidTriggerButtonEmitter=this._register(new _.Emitter),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new _.Emitter),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new _.Emitter),this.onHide=this.onHideEmitter.event,this.idPrefix=l.idPrefix,this.parentElement=l.container,this.styles=l.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const l=o=>{this.keyMods.ctrlCmd=o.ctrlKey||o.metaKey,this.keyMods.alt=o.altKey};this._register(L.addDisposableListener(window,L.EventType.KEY_DOWN,l,!0)),this._register(L.addDisposableListener(window,L.EventType.KEY_UP,l,!0)),this._register(L.addDisposableListener(window,L.EventType.MOUSE_DOWN,l,!0))}getUI(){if(this.ui)return this.ui;const l=L.append(this.parentElement,u(".quick-input-widget.show-file-icons"));l.tabIndex=-1,l.style.display="none";const o=L.createStyleSheet(l),c=L.append(l,u(".quick-input-titlebar")),a=this.options.hoverDelegate?{hoverDelegate:this.options.hoverDelegate}:void 0,g=this._register(new I.ActionBar(c,a));g.domNode.classList.add("quick-input-left-action-bar");const h=L.append(c,u(".quick-input-title")),p=this._register(new I.ActionBar(c,a));p.domNode.classList.add("quick-input-right-action-bar");const b=L.append(l,u(".quick-input-header")),w=L.append(b,u("input.quick-input-check-all"));w.type="checkbox",w.setAttribute("aria-label",(0,s.localize)(0,null)),this._register(L.addStandardDisposableListener(w,L.EventType.CHANGE,q=>{const H=w.checked;se.setAllVisibleChecked(H)})),this._register(L.addDisposableListener(w,L.EventType.CLICK,q=>{(q.x||q.y)&&R.setFocus()}));const E=L.append(b,u(".quick-input-description")),k=L.append(b,u(".quick-input-and-message")),M=L.append(k,u(".quick-input-filter")),R=this._register(new n.QuickInputBox(M,this.styles.inputBox,this.styles.toggle));R.setAttribute("aria-describedby",`${this.idPrefix}message`);const B=L.append(M,u(".quick-input-visible-count"));B.setAttribute("aria-live","polite"),B.setAttribute("aria-atomic","true");const T=new D.CountBadge(B,{countFormat:(0,s.localize)(1,null)},this.styles.countBadge),N=L.append(M,u(".quick-input-count"));N.setAttribute("aria-live","polite");const A=new D.CountBadge(N,{countFormat:(0,s.localize)(2,null)},this.styles.countBadge),P=L.append(b,u(".quick-input-action")),O=this._register(new y.Button(P,this.styles.button));O.label=(0,s.localize)(3,null),this._register(O.onDidClick(q=>{this.onDidAcceptEmitter.fire()}));const x=L.append(b,u(".quick-input-action")),W=this._register(new y.Button(x,this.styles.button));W.label=(0,s.localize)(4,null),this._register(W.onDidClick(q=>{this.onDidCustomEmitter.fire()}));const U=L.append(k,u(`#${this.idPrefix}message.quick-input-message`)),F=this._register(new S.ProgressBar(l,this.styles.progressBar));F.getContainer().classList.add("quick-input-progress");const G=L.append(l,u(".quick-input-html-widget"));G.tabIndex=-1;const Y=L.append(l,u(".quick-input-description")),ne=this.idPrefix+"list",se=this._register(new t.QuickInputList(l,ne,this.options,this.themeService));R.setAttribute("aria-controls",ne),this._register(se.onDidChangeFocus(()=>{var q;R.setAttribute("aria-activedescendant",(q=se.getActiveDescendant())!==null&&q!==void 0?q:"")})),this._register(se.onChangedAllVisibleChecked(q=>{w.checked=q})),this._register(se.onChangedVisibleCount(q=>{T.setCount(q)})),this._register(se.onChangedCheckedCount(q=>{A.setCount(q)})),this._register(se.onLeave(()=>{setTimeout(()=>{R.setFocus(),this.controller instanceof r.QuickPick&&this.controller.canSelectMany&&se.clearFocus()},0)}));const J=L.trackFocus(l);return this._register(J),this._register(L.addDisposableListener(l,L.EventType.FOCUS,q=>{L.isAncestor(q.relatedTarget,l)||(this.previousFocusElement=q.relatedTarget instanceof HTMLElement?q.relatedTarget:void 0)},!0)),this._register(J.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(i.QuickInputHideReason.Blur),this.previousFocusElement=void 0})),this._register(L.addDisposableListener(l,L.EventType.FOCUS,q=>{R.setFocus()})),this._register(L.addStandardDisposableListener(l,L.EventType.KEY_DOWN,q=>{if(!L.isAncestor(q.target,G))switch(q.keyCode){case 3:L.EventHelper.stop(q,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:L.EventHelper.stop(q,!0),this.hide(i.QuickInputHideReason.Gesture);break;case 2:if(!q.altKey&&!q.ctrlKey&&!q.metaKey){const H=[".quick-input-list .monaco-action-bar .always-visible",".quick-input-list-entry:hover .monaco-action-bar",".monaco-list-row.focused .monaco-action-bar"];if(l.classList.contains("show-checkboxes")?H.push("input"):H.push("input[type=text]"),this.getUI().list.isDisplayed()&&H.push(".monaco-list"),this.getUI().message&&H.push(".quick-input-message a"),this.getUI().widget){if(L.isAncestor(q.target,this.getUI().widget))break;H.push(".quick-input-html-widget")}const V=l.querySelectorAll(H.join(", "));q.shiftKey&&q.target===V[0]?(L.EventHelper.stop(q,!0),se.clearFocus()):!q.shiftKey&&L.isAncestor(q.target,V[V.length-1])&&(L.EventHelper.stop(q,!0),V[0].focus())}break;case 10:q.ctrlKey&&(L.EventHelper.stop(q,!0),this.getUI().list.toggleHover());break}})),this.ui={container:l,styleSheet:o,leftActionBar:g,titleBar:c,title:h,description1:Y,description2:E,widget:G,rightActionBar:p,checkAll:w,inputContainer:k,filterContainer:M,inputBox:R,visibleCountContainer:B,visibleCount:T,countContainer:N,count:A,okContainer:P,ok:O,message:U,customButtonContainer:x,customButton:W,list:se,progressBar:F,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:q=>this.show(q),hide:()=>this.hide(),setVisibilities:q=>this.setVisibilities(q),setEnabled:q=>this.setEnabled(q),setContextKey:q=>this.options.setContextKey(q),linkOpenerDelegate:q=>this.options.linkOpenerDelegate(q)},this.updateStyles(),this.ui}pick(l,o={},c=m.CancellationToken.None){return new Promise((a,g)=>{let h=E=>{var k;h=a,(k=o.onKeyMods)===null||k===void 0||k.call(o,p.keyMods),a(E)};if(c.isCancellationRequested){h(void 0);return}const p=this.createQuickPick();let b;const w=[p,p.onDidAccept(()=>{if(p.canSelectMany)h(p.selectedItems.slice()),p.hide();else{const E=p.activeItems[0];E&&(h(E),p.hide())}}),p.onDidChangeActive(E=>{const k=E[0];k&&o.onDidFocus&&o.onDidFocus(k)}),p.onDidChangeSelection(E=>{if(!p.canSelectMany){const k=E[0];k&&(h(k),p.hide())}}),p.onDidTriggerItemButton(E=>o.onDidTriggerItemButton&&o.onDidTriggerItemButton(Object.assign(Object.assign({},E),{removeItem:()=>{const k=p.items.indexOf(E.item);if(k!==-1){const M=p.items.slice(),R=M.splice(k,1),B=p.activeItems.filter(N=>N!==R[0]),T=p.keepScrollPosition;p.keepScrollPosition=!0,p.items=M,B&&(p.activeItems=B),p.keepScrollPosition=T}}}))),p.onDidTriggerSeparatorButton(E=>{var k;return(k=o.onDidTriggerSeparatorButton)===null||k===void 0?void 0:k.call(o,E)}),p.onDidChangeValue(E=>{b&&!E&&(p.activeItems.length!==1||p.activeItems[0]!==b)&&(p.activeItems=[b])}),c.onCancellationRequested(()=>{p.hide()}),p.onDidHide(()=>{(0,v.dispose)(w),h(void 0)})];p.title=o.title,p.canSelectMany=!!o.canPickMany,p.placeholder=o.placeHolder,p.ignoreFocusOut=!!o.ignoreFocusLost,p.matchOnDescription=!!o.matchOnDescription,p.matchOnDetail=!!o.matchOnDetail,p.matchOnLabel=o.matchOnLabel===void 0||o.matchOnLabel,p.autoFocusOnList=o.autoFocusOnList===void 0||o.autoFocusOnList,p.quickNavigate=o.quickNavigate,p.hideInput=!!o.hideInput,p.contextKey=o.contextKey,p.busy=!0,Promise.all([l,o.activeItem]).then(([E,k])=>{b=k,p.busy=!1,p.items=E,p.canSelectMany&&(p.selectedItems=E.filter(M=>M.type!=="separator"&&M.picked)),b&&(p.activeItems=[b])}),p.show(),Promise.resolve(l).then(void 0,E=>{g(E),p.hide()})})}createQuickPick(){const l=this.getUI();return new r.QuickPick(l)}createInputBox(){const l=this.getUI();return new r.InputBox(l)}show(l){const o=this.getUI();this.onShowEmitter.fire();const c=this.controller;this.controller=l,c?.didHide(),this.setEnabled(!0),o.leftActionBar.clear(),o.title.textContent="",o.description1.textContent="",o.description2.textContent="",L.reset(o.widget),o.rightActionBar.clear(),o.checkAll.checked=!1,o.inputBox.placeholder="",o.inputBox.password=!1,o.inputBox.showDecoration(C.default.Ignore),o.visibleCount.setCount(0),o.count.setCount(0),L.reset(o.message),o.progressBar.stop(),o.list.setElements([]),o.list.matchOnDescription=!1,o.list.matchOnDetail=!1,o.list.matchOnLabel=!0,o.list.sortByLabel=!0,o.ignoreFocusOut=!1,o.inputBox.toggles=void 0;const a=this.options.backKeybindingLabel();r.backButton.tooltip=a?(0,s.localize)(5,null,a):(0,s.localize)(6,null),o.container.style.display="",this.updateLayout(),o.inputBox.setFocus()}setVisibilities(l){const o=this.getUI();o.title.style.display=l.title?"":"none",o.description1.style.display=l.description&&(l.inputBox||l.checkAll)?"":"none",o.description2.style.display=l.description&&!(l.inputBox||l.checkAll)?"":"none",o.checkAll.style.display=l.checkAll?"":"none",o.inputContainer.style.display=l.inputBox?"":"none",o.filterContainer.style.display=l.inputBox?"":"none",o.visibleCountContainer.style.display=l.visibleCount?"":"none",o.countContainer.style.display=l.count?"":"none",o.okContainer.style.display=l.ok?"":"none",o.customButtonContainer.style.display=l.customButton?"":"none",o.message.style.display=l.message?"":"none",o.progressBar.getContainer().style.display=l.progressBar?"":"none",o.list.display(!!l.list),o.container.classList.toggle("show-checkboxes",!!l.checkBox),o.container.classList.toggle("hidden-input",!l.inputBox&&!l.description),this.updateLayout()}setEnabled(l){if(l!==this.enabled){this.enabled=l;for(const o of this.getUI().leftActionBar.viewItems)o.action.enabled=l;for(const o of this.getUI().rightActionBar.viewItems)o.action.enabled=l;this.getUI().checkAll.disabled=!l,this.getUI().inputBox.enabled=l,this.getUI().ok.enabled=l,this.getUI().list.enabled=l}}hide(l){var o,c,a;const g=this.controller;if(!g)return;const h=!L.isAncestor(document.activeElement,(c=(o=this.ui)===null||o===void 0?void 0:o.container)!==null&&c!==void 0?c:null);if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!h){let p=this.previousFocusElement;for(;p&&!p.offsetParent;)p=(a=p.parentElement)!==null&&a!==void 0?a:void 0;p?.offsetParent?(p.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}g.didHide(l)}layout(l,o){this.dimension=l,this.titleBarOffset=o,this.updateLayout()}updateLayout(){if(this.ui&&this.isDisplayed()){this.ui.container.style.top=`${this.titleBarOffset}px`;const l=this.ui.container.style,o=Math.min(this.dimension.width*.62,f.MAX_WIDTH);l.width=o+"px",l.marginLeft="-"+o/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(l){this.styles=l,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:l,quickInputBackground:o,quickInputForeground:c,widgetBorder:a,widgetShadow:g}=this.styles.widget;this.ui.titleBar.style.backgroundColor=l??"",this.ui.container.style.backgroundColor=o??"",this.ui.container.style.color=c??"",this.ui.container.style.border=a?`1px solid ${a}`:"",this.ui.container.style.boxShadow=g?`0 0 8px 2px ${g}`:"",this.ui.list.style(this.styles.list);const h=[];this.styles.pickerGroup.pickerGroupBorder&&h.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&h.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&h.push(".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(h.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&h.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&h.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&h.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&h.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&h.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),h.push("}"));const p=h.join(` +`);p!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=p)}}isDisplayed(){return this.ui&&this.ui.container.style.display!=="none"}}e.QuickInputController=f,f.MAX_WIDTH=600}),define(te[23],ie([1,0,6,2,8,35,86]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Themable=e.registerThemingParticipant=e.Extensions=e.getThemeTypeSelector=e.themeColorFromId=e.IThemeService=void 0,e.IThemeService=(0,y.createDecorator)("themeService");function m(n){return{id:n}}e.themeColorFromId=m;function _(n){switch(n){case S.ColorScheme.DARK:return"vs-dark";case S.ColorScheme.HIGH_CONTRAST_DARK:return"hc-black";case S.ColorScheme.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}e.getThemeTypeSelector=_,e.Extensions={ThemingContribution:"base.contributions.theming"};class v{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Emitter}onColorThemeChange(t){return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),(0,I.toDisposable)(()=>{const r=this.themingParticipants.indexOf(t);this.themingParticipants.splice(r,1)})}getThemingParticipants(){return this.themingParticipants}}const C=new v;D.Registry.add(e.Extensions.ThemingContribution,C);function s(n){return C.onColorThemeChange(n)}e.registerThemingParticipant=s;class i extends I.Disposable{constructor(t){super(),this.themeService=t,this.theme=t.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(r=>this.onThemeChange(r)))}onThemeChange(t){this.theme=t,this.updateStyles()}updateStyles(){}}e.Themable=i}),define(te[840],ie([1,0,6,2,63,23]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalStyleSheet=e.AbstractCodeEditorService=void 0;let S=class extends I.Disposable{constructor(v){super(),this._themeService=v,this._onWillCreateCodeEditor=this._register(new L.Emitter),this._onCodeEditorAdd=this._register(new L.Emitter),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new L.Emitter),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new L.Emitter),this._onDiffEditorAdd=this._register(new L.Emitter),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new L.Emitter),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new y.LinkedList,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(v){this._codeEditors[v.getId()]=v,this._onCodeEditorAdd.fire(v)}removeCodeEditor(v){delete this._codeEditors[v.getId()]&&this._onCodeEditorRemove.fire(v)}listCodeEditors(){return Object.keys(this._codeEditors).map(v=>this._codeEditors[v])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(v){this._diffEditors[v.getId()]=v,this._onDiffEditorAdd.fire(v)}listDiffEditors(){return Object.keys(this._diffEditors).map(v=>this._diffEditors[v])}getFocusedCodeEditor(){let v=null;const C=this.listCodeEditors();for(const s of C){if(s.hasTextFocus())return s;s.hasWidgetFocus()&&(v=s)}return v}removeDecorationType(v){const C=this._decorationOptionProviders.get(v);C&&(C.refCount--,C.refCount<=0&&(this._decorationOptionProviders.delete(v),C.dispose(),this.listCodeEditors().forEach(s=>s.removeDecorationsByType(v))))}setModelProperty(v,C,s){const i=v.toString();let n;this._modelProperties.has(i)?n=this._modelProperties.get(i):(n=new Map,this._modelProperties.set(i,n)),n.set(C,s)}getModelProperty(v,C){const s=v.toString();if(this._modelProperties.has(s))return this._modelProperties.get(s).get(C)}openCodeEditor(v,C,s){return be(this,void 0,void 0,function*(){for(const i of this._codeEditorOpenHandlers){const n=yield i(v,C,s);if(n!==null)return n}return null})}registerCodeEditorOpenHandler(v){const C=this._codeEditorOpenHandlers.unshift(v);return(0,I.toDisposable)(C)}};e.AbstractCodeEditorService=S,e.AbstractCodeEditorService=S=Ie([ge(0,D.IThemeService)],S);class m{constructor(v){this._styleSheet=v}}e.GlobalStyleSheet=m}),define(te[841],ie([1,0,7,38,84,53,23]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditorScrollbar=void 0;class m extends D.ViewPart{constructor(v,C,s,i){super(v);const n=this._context.configuration.options,t=n.get(102),r=n.get(74),u=n.get(40),f=n.get(105),d={listenOnDomNode:s.domNode,className:"editor-scrollable "+(0,S.getThemeTypeSelector)(v.theme.type),useShadows:!1,lazyRender:!0,vertical:t.vertical,horizontal:t.horizontal,verticalHasArrows:t.verticalHasArrows,horizontalHasArrows:t.horizontalHasArrows,verticalScrollbarSize:t.verticalScrollbarSize,verticalSliderSize:t.verticalSliderSize,horizontalScrollbarSize:t.horizontalScrollbarSize,horizontalSliderSize:t.horizontalSliderSize,handleMouseWheel:t.handleMouseWheel,alwaysConsumeMouseWheel:t.alwaysConsumeMouseWheel,arrowSize:t.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:u,scrollPredominantAxis:f,scrollByPage:t.scrollByPage};this.scrollbar=this._register(new y.SmoothScrollableElement(C.domNode,d,this._context.viewLayout.getScrollable())),D.PartFingerprints.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,I.createFastDomNode)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const l=(o,c,a)=>{const g={};if(c){const h=o.scrollTop;h&&(g.scrollTop=this._context.viewLayout.getCurrentScrollTop()+h,o.scrollTop=0)}if(a){const h=o.scrollLeft;h&&(g.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+h,o.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(g,1)};this._register(L.addDisposableListener(s.domNode,"scroll",o=>l(s.domNode,!0,!0))),this._register(L.addDisposableListener(C.domNode,"scroll",o=>l(C.domNode,!0,!1))),this._register(L.addDisposableListener(i.domNode,"scroll",o=>l(i.domNode,!0,!1))),this._register(L.addDisposableListener(this.scrollbarDomNode.domNode,"scroll",o=>l(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const v=this._context.configuration.options,C=v.get(143);this.scrollbarDomNode.setLeft(C.contentLeft),v.get(72).side==="right"?this.scrollbarDomNode.setWidth(C.contentWidth+C.minimap.minimapWidth):this.scrollbarDomNode.setWidth(C.contentWidth),this.scrollbarDomNode.setHeight(C.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(v){this.scrollbar.delegateVerticalScrollbarPointerDown(v)}delegateScrollFromMouseWheelEvent(v){this.scrollbar.delegateScrollFromMouseWheelEvent(v)}onConfigurationChanged(v){if(v.hasChanged(102)||v.hasChanged(74)||v.hasChanged(40)){const C=this._context.configuration.options,s=C.get(102),i=C.get(74),n=C.get(40),t=C.get(105),r={vertical:s.vertical,horizontal:s.horizontal,verticalScrollbarSize:s.verticalScrollbarSize,horizontalScrollbarSize:s.horizontalScrollbarSize,scrollByPage:s.scrollByPage,handleMouseWheel:s.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:t};this.scrollbar.updateOptions(r)}return v.hasChanged(143)&&this._setLayout(),!0}onScrollChanged(v){return!0}onThemeChanged(v){return this.scrollbar.updateClassName("editor-scrollable "+(0,S.getThemeTypeSelector)(this._context.theme.type)),!0}prepareRender(v){}render(v){this.scrollbar.renderNow()}}e.EditorScrollbar=m}),define(te[842],ie([1,0,111,31,23,434]),function($,e,L,I,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionsOverlay=void 0;class D{constructor(i){this.left=i.left,this.width=i.width,this.startStyle=null,this.endStyle=null}}class S{constructor(i,n){this.lineNumber=i,this.ranges=n}}function m(s){return new D(s)}function _(s){return new S(s.lineNumber,s.ranges.map(m))}class v extends L.DynamicViewOverlay{constructor(i){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=i;const n=this._context.configuration.options;this._lineHeight=n.get(66),this._roundedSelection=n.get(100),this._typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){const n=this._context.configuration.options;return this._lineHeight=n.get(66),this._roundedSelection=n.get(100),this._typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_visibleRangesHaveGaps(i){for(let n=0,t=i.length;n1)return!0;return!1}_enrichVisibleRangesWithStyle(i,n,t){const r=this._typicalHalfwidthCharacterWidth/4;let u=null,f=null;if(t&&t.length>0&&n.length>0){const d=n[0].lineNumber;if(d===i.startLineNumber)for(let o=0;!u&&o=0;o--)t[o].lineNumber===l&&(f=t[o].ranges[0]);u&&!u.startStyle&&(u=null),f&&!f.startStyle&&(f=null)}for(let d=0,l=n.length;d0){const p=n[d-1].ranges[0].left,b=n[d-1].ranges[0].left+n[d-1].ranges[0].width;C(c-p)p&&(g.top=1),C(a-b)'}_actualRenderOneSelection(i,n,t,r){if(r.length===0)return;const u=!!r[0].ranges[0].startStyle,f=this._lineHeight.toString(),d=(this._lineHeight-1).toString(),l=r[0].lineNumber,o=r[r.length-1].lineNumber;for(let c=0,a=r.length;c1,o)}this._previousFrameVisibleRangesWithStyle=u,this._renderResult=n.map(([f,d])=>f+d)}render(i,n){if(!this._renderResult)return"";const t=n-i;return t<0||t>=this._renderResult.length?"":this._renderResult[t]}}e.SelectionsOverlay=v,v.SELECTION_CLASS_NAME="selected-text",v.SELECTION_TOP_LEFT="top-left-radius",v.SELECTION_BOTTOM_LEFT="bottom-left-radius",v.SELECTION_TOP_RIGHT="top-right-radius",v.SELECTION_BOTTOM_RIGHT="bottom-right-radius",v.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",v.ROUNDED_PIECE_WIDTH=10,(0,y.registerThemingParticipant)((s,i)=>{const n=s.getColor(I.editorSelectionForeground);n&&!n.isTransparent()&&i.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)});function C(s){return s<0?-s:s}}),define(te[360],ie([1,0,7,38,195,2,40,100,12,293,31,23]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.OverviewRulerPart=void 0;let n=i=class extends D.Disposable{constructor(r,u,f,d,l,o,c,a){super(),this._editors=r,this._rootElement=u,this._diffModel=f,this._rootWidth=d,this._rootHeight=l,this._modifiedEditorLayoutInfo=o,this._options=c,this._themeService=a;const g=(0,S.observableFromEvent)(this._themeService.onDidColorThemeChange,()=>this._themeService.getColorTheme()),h=(0,S.derived)(w=>{const E=g.read(w),k=E.getColor(C.diffOverviewRulerInserted)||(E.getColor(C.diffInserted)||C.defaultInsertColor).transparent(2),M=E.getColor(C.diffOverviewRulerRemoved)||(E.getColor(C.diffRemoved)||C.defaultRemoveColor).transparent(2);return{insertColor:k,removeColor:M}}),p=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),b=(0,S.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollHeight());this._register((0,S.autorunWithStore)((w,E)=>{if(!this._options.renderOverviewRuler.read(w))return;const k=(0,I.createFastDomNode)(document.createElement("div"));k.setClassName("diffViewport"),k.setPosition("absolute");const M=(0,L.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;E.add((0,m.appendRemoveOnDispose)(M,k.domNode)),E.add((0,L.addStandardDisposableListener)(M,L.EventType.POINTER_DOWN,R=>{this._editors.modified.delegateVerticalScrollbarPointerDown(R)})),E.add((0,L.addDisposableListener)(M,L.EventType.MOUSE_WHEEL,R=>{this._editors.modified.delegateScrollFromMouseWheelEvent(R)},{passive:!1})),E.add((0,m.appendRemoveOnDispose)(this._rootElement,M)),E.add((0,S.autorunWithStore)((R,B)=>{const T=this._diffModel.read(R),N=this._editors.original.createOverviewRuler("original diffOverviewRuler");N&&(B.add(N),B.add((0,m.appendRemoveOnDispose)(M,N.getDomNode())));const A=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(A&&(B.add(A),B.add((0,m.appendRemoveOnDispose)(M,A.getDomNode()))),!N||!A)return;const P=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.original.onDidChangeViewZones),O=(0,S.observableSignalFromEvent)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),x=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),W=(0,S.observableSignalFromEvent)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);B.add((0,S.autorun)(U=>{var F;P.read(U),O.read(U),x.read(U),W.read(U);const G=h.read(U),Y=(F=T?.diff.read(U))===null||F===void 0?void 0:F.mappings;function ne(q,H,V){const Z=V._getViewModel();return Z?q.filter(ee=>ee.length>0).map(ee=>{const le=Z.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ee.startLineNumber,1)),ue=Z.coordinatesConverter.convertModelPositionToViewPosition(new _.Position(ee.endLineNumberExclusive,1)),de=ue.lineNumber-le.lineNumber;return new v.OverviewRulerZone(le.lineNumber,ue.lineNumber,de,H.toString())}):[]}const se=ne((Y||[]).map(q=>q.lineRangeMapping.original),G.removeColor,this._editors.original),J=ne((Y||[]).map(q=>q.lineRangeMapping.modified),G.insertColor,this._editors.modified);N?.setZones(se),A?.setZones(J)})),B.add((0,S.autorun)(U=>{const F=this._rootHeight.read(U),G=this._rootWidth.read(U),Y=this._modifiedEditorLayoutInfo.read(U);if(Y){const ne=i.ENTIRE_DIFF_OVERVIEW_WIDTH-2*i.ONE_OVERVIEW_WIDTH;N.setLayout({top:0,height:F,right:ne+i.ONE_OVERVIEW_WIDTH,width:i.ONE_OVERVIEW_WIDTH}),A.setLayout({top:0,height:F,right:0,width:i.ONE_OVERVIEW_WIDTH});const se=p.read(U),J=b.read(U),q=this._editors.modified.getOption(102),H=new y.ScrollbarState(q.verticalHasArrows?q.arrowSize:0,q.verticalScrollbarSize,0,Y.height,J,se);k.setTop(H.getSliderPosition()),k.setHeight(H.getSliderSize())}else k.setTop(0),k.setHeight(0);M.style.height=F+"px",M.style.left=G-i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",k.setWidth(i.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}))}};e.OverviewRulerPart=n,n.ONE_OVERVIEW_WIDTH=15,n.ENTIRE_DIFF_OVERVIEW_WIDTH=i.ONE_OVERVIEW_WIDTH*2,e.OverviewRulerPart=n=i=Ie([ge(7,s.IThemeService)],n)}),define(te[843],ie([1,0,6,2,40,360,39,613,8,34]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorEditors=void 0;let C=class extends I.Disposable{constructor(i,n,t,r,u,f,d){super(),this.originalEditorElement=i,this.modifiedEditorElement=n,this._options=t,this._createInnerEditor=u,this._instantiationService=f,this._keybindingService=d,this._onDidContentSizeChange=this._register(new L.Emitter),this.original=this._register(this._createLeftHandSideEditor(t.editorOptions.get(),r.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(t.editorOptions.get(),r.modifiedEditor||{})),this.modifiedModel=(0,y.observableFromEvent)(this.modified.onDidChangeModel,()=>this.modified.getModel()),this._register((0,y.autorunHandleChanges)({createEmptyChangeSummary:()=>({}),handleChange:(l,o)=>(l.didChange(t.editorOptions)&&Object.assign(o,l.change.changedOptions),!0)},(l,o)=>{t.editorOptions.read(l),this._options.renderSideBySide.read(l),this.modified.updateOptions(this._adjustOptionsForRightHandSide(l,o)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(l,o))}))}_createLeftHandSideEditor(i,n){const t=this._adjustOptionsForLeftHandSide(void 0,i),r=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,t,n);return r.setContextValue("isInDiffLeftEditor",!0),r}_createRightHandSideEditor(i,n){const t=this._adjustOptionsForRightHandSide(void 0,i),r=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,t,n);return r.setContextValue("isInDiffRightEditor",!0),r}_constructInnerEditor(i,n,t,r){const u=this._createInnerEditor(i,n,t,r);return this._register(u.onDidContentSizeChange(f=>{const d=this.original.getContentWidth()+this.modified.getContentWidth()+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,l=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:l,contentWidth:d,contentHeightChanged:f.contentHeightChanged,contentWidthChanged:f.contentWidthChanged})})),u}_adjustOptionsForLeftHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return this._options.renderSideBySide.get()?(t.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},t.wordWrapOverride1=this._options.diffWordWrap.get()):(t.wordWrapOverride1="off",t.wordWrapOverride2="off",t.stickyScroll={enabled:!1},t.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),n.originalAriaLabel&&(t.ariaLabel=n.originalAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.readOnly=!this._options.originalEditable.get(),t.dropIntoEditor={enabled:!t.readOnly},t.extraEditorClassName="original-in-monaco-diff-editor",t}_adjustOptionsForRightHandSide(i,n){const t=this._adjustOptionsForSubEditor(n);return n.modifiedAriaLabel&&(t.ariaLabel=n.modifiedAriaLabel),t.ariaLabel=this._updateAriaLabel(t.ariaLabel),t.wordWrapOverride1=this._options.diffWordWrap.get(),t.revealHorizontalRightPadding=S.EditorOptions.revealHorizontalRightPadding.defaultValue+D.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t}_adjustOptionsForSubEditor(i){const n=Object.assign(Object.assign({},i),{dimension:{height:0,width:0}});return n.inDiffEditor=!0,n.automaticLayout=!1,n.scrollbar=Object.assign({},n.scrollbar||{}),n.scrollbar.vertical="visible",n.folding=!1,n.codeLens=this._options.diffCodeLens.get(),n.fixedOverflowWidgets=!0,n.minimap=Object.assign({},n.minimap||{}),n.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?n.stickyScroll={enabled:!1}:n.stickyScroll=this._options.editorOptions.get().stickyScroll,n}_updateAriaLabel(i){var n;i||(i="");const t=(0,m.localize)(0,null,(n=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))===null||n===void 0?void 0:n.getAriaLabel());return this._options.accessibilityVerbose.get()?i+t:i?i.replaceAll(t,""):""}};e.DiffEditorEditors=C,e.DiffEditorEditors=C=Ie([ge(5,_.IInstantiationService),ge(6,v.IKeybindingService)],C)}),define(te[78],ie([1,0,622,36,31,23]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.editorUnicodeHighlightBackground=e.editorUnicodeHighlightBorder=e.editorBracketPairGuideActiveBackground6=e.editorBracketPairGuideActiveBackground5=e.editorBracketPairGuideActiveBackground4=e.editorBracketPairGuideActiveBackground3=e.editorBracketPairGuideActiveBackground2=e.editorBracketPairGuideActiveBackground1=e.editorBracketPairGuideBackground6=e.editorBracketPairGuideBackground5=e.editorBracketPairGuideBackground4=e.editorBracketPairGuideBackground3=e.editorBracketPairGuideBackground2=e.editorBracketPairGuideBackground1=e.editorBracketHighlightingUnexpectedBracketForeground=e.editorBracketHighlightingForeground6=e.editorBracketHighlightingForeground5=e.editorBracketHighlightingForeground4=e.editorBracketHighlightingForeground3=e.editorBracketHighlightingForeground2=e.editorBracketHighlightingForeground1=e.overviewRulerInfo=e.overviewRulerWarning=e.overviewRulerError=e.overviewRulerRangeHighlight=e.ghostTextBackground=e.ghostTextForeground=e.ghostTextBorder=e.editorUnnecessaryCodeOpacity=e.editorUnnecessaryCodeBorder=e.editorGutter=e.editorOverviewRulerBackground=e.editorOverviewRulerBorder=e.editorBracketMatchBorder=e.editorBracketMatchBackground=e.editorCodeLensForeground=e.editorRuler=e.editorDimmedLineNumber=e.editorActiveLineNumber=e.editorActiveIndentGuide6=e.editorActiveIndentGuide5=e.editorActiveIndentGuide4=e.editorActiveIndentGuide3=e.editorActiveIndentGuide2=e.editorActiveIndentGuide1=e.editorIndentGuide6=e.editorIndentGuide5=e.editorIndentGuide4=e.editorIndentGuide3=e.editorIndentGuide2=e.editorIndentGuide1=e.deprecatedEditorActiveIndentGuides=e.deprecatedEditorIndentGuides=e.editorLineNumbers=e.editorWhitespaces=e.editorCursorBackground=e.editorCursorForeground=e.editorSymbolHighlightBorder=e.editorSymbolHighlight=e.editorRangeHighlightBorder=e.editorRangeHighlight=e.editorLineHighlightBorder=e.editorLineHighlight=void 0,e.editorLineHighlight=(0,y.registerColor)("editor.lineHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(0,null)),e.editorLineHighlightBorder=(0,y.registerColor)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hcDark:"#f38518",hcLight:y.contrastBorder},L.localize(1,null)),e.editorRangeHighlight=(0,y.registerColor)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hcDark:null,hcLight:null},L.localize(2,null),!0),e.editorRangeHighlightBorder=(0,y.registerColor)("editor.rangeHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(3,null),!0),e.editorSymbolHighlight=(0,y.registerColor)("editor.symbolHighlightBackground",{dark:y.editorFindMatchHighlight,light:y.editorFindMatchHighlight,hcDark:null,hcLight:null},L.localize(4,null),!0),e.editorSymbolHighlightBorder=(0,y.registerColor)("editor.symbolHighlightBorder",{dark:null,light:null,hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(5,null),!0),e.editorCursorForeground=(0,y.registerColor)("editorCursor.foreground",{dark:"#AEAFAD",light:I.Color.black,hcDark:I.Color.white,hcLight:"#0F4A85"},L.localize(6,null)),e.editorCursorBackground=(0,y.registerColor)("editorCursor.background",null,L.localize(7,null)),e.editorWhitespaces=(0,y.registerColor)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hcDark:"#e3e4e229",hcLight:"#CCCCCC"},L.localize(8,null)),e.editorLineNumbers=(0,y.registerColor)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hcDark:I.Color.white,hcLight:"#292929"},L.localize(9,null)),e.deprecatedEditorIndentGuides=(0,y.registerColor)("editorIndentGuide.background",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(10,null),!1,L.localize(11,null)),e.deprecatedEditorActiveIndentGuides=(0,y.registerColor)("editorIndentGuide.activeBackground",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hcDark:e.editorWhitespaces,hcLight:e.editorWhitespaces},L.localize(12,null),!1,L.localize(13,null)),e.editorIndentGuide1=(0,y.registerColor)("editorIndentGuide.background1",{dark:e.deprecatedEditorIndentGuides,light:e.deprecatedEditorIndentGuides,hcDark:e.deprecatedEditorIndentGuides,hcLight:e.deprecatedEditorIndentGuides},L.localize(14,null)),e.editorIndentGuide2=(0,y.registerColor)("editorIndentGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(15,null)),e.editorIndentGuide3=(0,y.registerColor)("editorIndentGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(16,null)),e.editorIndentGuide4=(0,y.registerColor)("editorIndentGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(17,null)),e.editorIndentGuide5=(0,y.registerColor)("editorIndentGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(18,null)),e.editorIndentGuide6=(0,y.registerColor)("editorIndentGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(19,null)),e.editorActiveIndentGuide1=(0,y.registerColor)("editorIndentGuide.activeBackground1",{dark:e.deprecatedEditorActiveIndentGuides,light:e.deprecatedEditorActiveIndentGuides,hcDark:e.deprecatedEditorActiveIndentGuides,hcLight:e.deprecatedEditorActiveIndentGuides},L.localize(20,null)),e.editorActiveIndentGuide2=(0,y.registerColor)("editorIndentGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(21,null)),e.editorActiveIndentGuide3=(0,y.registerColor)("editorIndentGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(22,null)),e.editorActiveIndentGuide4=(0,y.registerColor)("editorIndentGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(23,null)),e.editorActiveIndentGuide5=(0,y.registerColor)("editorIndentGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(24,null)),e.editorActiveIndentGuide6=(0,y.registerColor)("editorIndentGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(25,null));const S=(0,y.registerColor)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hcDark:y.activeContrastBorder,hcLight:y.activeContrastBorder},L.localize(26,null),!1,L.localize(27,null));e.editorActiveLineNumber=(0,y.registerColor)("editorLineNumber.activeForeground",{dark:S,light:S,hcDark:S,hcLight:S},L.localize(28,null)),e.editorDimmedLineNumber=(0,y.registerColor)("editorLineNumber.dimmedForeground",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(29,null)),e.editorRuler=(0,y.registerColor)("editorRuler.foreground",{dark:"#5A5A5A",light:I.Color.lightgrey,hcDark:I.Color.white,hcLight:"#292929"},L.localize(30,null)),e.editorCodeLensForeground=(0,y.registerColor)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hcDark:"#999999",hcLight:"#292929"},L.localize(31,null)),e.editorBracketMatchBackground=(0,y.registerColor)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hcDark:"#0064001a",hcLight:"#0000"},L.localize(32,null)),e.editorBracketMatchBorder=(0,y.registerColor)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hcDark:y.contrastBorder,hcLight:y.contrastBorder},L.localize(33,null)),e.editorOverviewRulerBorder=(0,y.registerColor)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hcDark:"#7f7f7f4d",hcLight:"#666666"},L.localize(34,null)),e.editorOverviewRulerBackground=(0,y.registerColor)("editorOverviewRuler.background",null,L.localize(35,null)),e.editorGutter=(0,y.registerColor)("editorGutter.background",{dark:y.editorBackground,light:y.editorBackground,hcDark:y.editorBackground,hcLight:y.editorBackground},L.localize(36,null)),e.editorUnnecessaryCodeBorder=(0,y.registerColor)("editorUnnecessaryCode.border",{dark:null,light:null,hcDark:I.Color.fromHex("#fff").transparent(.8),hcLight:y.contrastBorder},L.localize(37,null)),e.editorUnnecessaryCodeOpacity=(0,y.registerColor)("editorUnnecessaryCode.opacity",{dark:I.Color.fromHex("#000a"),light:I.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(38,null)),e.ghostTextBorder=(0,y.registerColor)("editorGhostText.border",{dark:null,light:null,hcDark:I.Color.fromHex("#fff").transparent(.8),hcLight:I.Color.fromHex("#292929").transparent(.8)},L.localize(39,null)),e.ghostTextForeground=(0,y.registerColor)("editorGhostText.foreground",{dark:I.Color.fromHex("#ffffff56"),light:I.Color.fromHex("#0007"),hcDark:null,hcLight:null},L.localize(40,null)),e.ghostTextBackground=(0,y.registerColor)("editorGhostText.background",{dark:null,light:null,hcDark:null,hcLight:null},L.localize(41,null));const m=new I.Color(new I.RGBA(0,122,204,.6));e.overviewRulerRangeHighlight=(0,y.registerColor)("editorOverviewRuler.rangeHighlightForeground",{dark:m,light:m,hcDark:m,hcLight:m},L.localize(42,null),!0),e.overviewRulerError=(0,y.registerColor)("editorOverviewRuler.errorForeground",{dark:new I.Color(new I.RGBA(255,18,18,.7)),light:new I.Color(new I.RGBA(255,18,18,.7)),hcDark:new I.Color(new I.RGBA(255,50,50,1)),hcLight:"#B5200D"},L.localize(43,null)),e.overviewRulerWarning=(0,y.registerColor)("editorOverviewRuler.warningForeground",{dark:y.editorWarningForeground,light:y.editorWarningForeground,hcDark:y.editorWarningBorder,hcLight:y.editorWarningBorder},L.localize(44,null)),e.overviewRulerInfo=(0,y.registerColor)("editorOverviewRuler.infoForeground",{dark:y.editorInfoForeground,light:y.editorInfoForeground,hcDark:y.editorInfoBorder,hcLight:y.editorInfoBorder},L.localize(45,null)),e.editorBracketHighlightingForeground1=(0,y.registerColor)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hcDark:"#FFD700",hcLight:"#0431FAFF"},L.localize(46,null)),e.editorBracketHighlightingForeground2=(0,y.registerColor)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hcDark:"#DA70D6",hcLight:"#319331FF"},L.localize(47,null)),e.editorBracketHighlightingForeground3=(0,y.registerColor)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hcDark:"#87CEFA",hcLight:"#7B3814FF"},L.localize(48,null)),e.editorBracketHighlightingForeground4=(0,y.registerColor)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(49,null)),e.editorBracketHighlightingForeground5=(0,y.registerColor)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(50,null)),e.editorBracketHighlightingForeground6=(0,y.registerColor)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(51,null)),e.editorBracketHighlightingUnexpectedBracketForeground=(0,y.registerColor)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new I.Color(new I.RGBA(255,18,18,.8)),light:new I.Color(new I.RGBA(255,18,18,.8)),hcDark:new I.Color(new I.RGBA(255,50,50,1)),hcLight:""},L.localize(52,null)),e.editorBracketPairGuideBackground1=(0,y.registerColor)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(53,null)),e.editorBracketPairGuideBackground2=(0,y.registerColor)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(54,null)),e.editorBracketPairGuideBackground3=(0,y.registerColor)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(55,null)),e.editorBracketPairGuideBackground4=(0,y.registerColor)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(56,null)),e.editorBracketPairGuideBackground5=(0,y.registerColor)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(57,null)),e.editorBracketPairGuideBackground6=(0,y.registerColor)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(58,null)),e.editorBracketPairGuideActiveBackground1=(0,y.registerColor)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(59,null)),e.editorBracketPairGuideActiveBackground2=(0,y.registerColor)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(60,null)),e.editorBracketPairGuideActiveBackground3=(0,y.registerColor)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(61,null)),e.editorBracketPairGuideActiveBackground4=(0,y.registerColor)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(62,null)),e.editorBracketPairGuideActiveBackground5=(0,y.registerColor)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(63,null)),e.editorBracketPairGuideActiveBackground6=(0,y.registerColor)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},L.localize(64,null)),e.editorUnicodeHighlightBorder=(0,y.registerColor)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hcDark:"#ff0000",hcLight:"#CEA33D"},L.localize(65,null)),e.editorUnicodeHighlightBackground=(0,y.registerColor)("editorUnicodeHighlight.background",{dark:"#bd9b0326",light:"#cea33d14",hcDark:"#00000000",hcLight:"#cea33d14"},L.localize(66,null)),(0,D.registerThemingParticipant)((_,v)=>{const C=_.getColor(y.editorBackground),s=_.getColor(e.editorLineHighlight),i=s&&!s.isTransparent()?s:C;i&&v.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${i}; }`)})}),define(te[844],ie([1,0,111,78,13,23,24,86,421]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrentLineMarginHighlightOverlay=e.CurrentLineHighlightOverlay=e.AbstractLineHighlightOverlay=void 0;class _ extends L.DynamicViewOverlay{constructor(i){super(),this._context=i;const n=this._context.configuration.options,t=n.get(143);this._lineHeight=n.get(66),this._renderLineHighlight=n.get(95),this._renderLineHighlightOnlyWhenFocus=n.get(96),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new S.Selection(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let i=!1;const n=this._selections.map(r=>r.positionLineNumber);n.sort((r,u)=>r-u),y.equals(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,i=!0);const t=this._selections.every(r=>r.isEmpty());return this._selectionIsEmpty!==t&&(this._selectionIsEmpty=t,i=!0),i}onThemeChanged(i){return this._readFromSelections()}onConfigurationChanged(i){const n=this._context.configuration.options,t=n.get(143);return this._lineHeight=n.get(66),this._renderLineHighlight=n.get(95),this._renderLineHighlightOnlyWhenFocus=n.get(96),this._contentLeft=t.contentLeft,this._contentWidth=t.contentWidth,!0}onCursorStateChanged(i){return this._selections=i.selections,this._readFromSelections()}onFlushed(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollWidthChanged||i.scrollTopChanged}onZonesChanged(i){return!0}onFocusChanged(i){return this._renderLineHighlightOnlyWhenFocus?(this._focused=i.isFocused,!0):!1}prepareRender(i){if(!this._shouldRenderThis()){this._renderData=null;return}const n=this._renderOne(i),t=i.visibleRange.startLineNumber,r=i.visibleRange.endLineNumber,u=this._cursorLineNumbers.length;let f=0;const d=[];for(let l=t;l<=r;l++){const o=l-t;for(;f=this._renderData.length?"":this._renderData[t]}_shouldRenderInMargin(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}e.AbstractLineHighlightOverlay=_;class v extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}e.CurrentLineHighlightOverlay=v;class C extends _{_renderOne(i){return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}e.CurrentLineMarginHighlightOverlay=C,(0,D.registerThemingParticipant)((s,i)=>{const n=s.getColor(I.editorLineHighlight);if(n&&(i.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||s.defines(I.editorLineHighlightBorder)){const t=s.getColor(I.editorLineHighlightBorder);t&&(i.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${t}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${t}; }`),(0,m.isHighContrast)(s.type)&&(i.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),i.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}})}),define(te[845],ie([1,0,111,78,23,12,13,20,290,210,424]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentGuidesOverlay=void 0;class C extends L.DynamicViewOverlay{constructor(n){super(),this._context=n,this._primaryPosition=null;const t=this._context.configuration.options,r=t.get(144),u=t.get(50);this._lineHeight=t.get(66),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=r.wrappingColumn===-1?-1:r.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(n){const t=this._context.configuration.options,r=t.get(144),u=t.get(50);return this._lineHeight=t.get(66),this._spaceWidth=u.spaceWidth,this._maxIndentLeft=r.wrappingColumn===-1?-1:r.wrappingColumn*u.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(n){var t;const u=n.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(u)?!1:(this._primaryPosition=u,!0)}onDecorationsChanged(n){return!0}onFlushed(n){return!0}onLinesChanged(n){return!0}onLinesDeleted(n){return!0}onLinesInserted(n){return!0}onScrollChanged(n){return n.scrollTopChanged}onZonesChanged(n){return!0}onLanguageConfigurationChanged(n){return!0}prepareRender(n){var t,r,u,f;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const d=n.visibleRange.startLineNumber,l=n.visibleRange.endLineNumber,o=n.scrollWidth,c=this._lineHeight,a=this._primaryPosition,g=this.getGuidesByLine(d,Math.min(l+1,this._context.viewModel.getLineCount()),a),h=[];for(let p=d;p<=l;p++){const b=p-d,w=g[b];let E="";const k=(r=(t=n.visibleRangeForPosition(new D.Position(p,1)))===null||t===void 0?void 0:t.left)!==null&&r!==void 0?r:0;for(const M of w){const R=M.column===-1?k+(M.visibleColumn-1)*this._spaceWidth:n.visibleRangeForPosition(new D.Position(p,M.column)).left;if(R>o||this._maxIndentLeft>0&&R>this._maxIndentLeft)break;const B=M.horizontalLine?M.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",T=M.horizontalLine?((f=(u=n.visibleRangeForPosition(new D.Position(p,M.horizontalLine.endColumn)))===null||u===void 0?void 0:u.left)!==null&&f!==void 0?f:R+this._spaceWidth)-R:this._spaceWidth;E+=`
    `}h[b]=E}this._renderResult=h}getGuidesByLine(n,t,r){const u=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(n,t,r,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?v.HorizontalGuidesState.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal==="active"?v.HorizontalGuidesState.EnabledForActive:v.HorizontalGuidesState.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,f=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(n,t):null;let d=0,l=0,o=0;if(this._bracketPairGuideOptions.highlightActiveIndentation!==!1&&r){const g=this._context.viewModel.getActiveIndentGuide(r.lineNumber,n,t);d=g.startLineNumber,l=g.endLineNumber,o=g.indent}const{indentSize:c}=this._context.viewModel.model.getOptions(),a=[];for(let g=n;g<=t;g++){const h=new Array;a.push(h);const p=u?u[g-n]:[],b=new S.ArrayQueue(p),w=f?f[g-n]:0;for(let E=1;E<=w;E++){const k=(E-1)*c+1,M=(this._bracketPairGuideOptions.highlightActiveIndentation==="always"||p.length===0)&&d<=g&&g<=l&&E===o;h.push(...b.takeWhile(B=>B.visibleColumn!0)||[])}return a}render(n,t){if(!this._renderResult)return"";const r=t-n;return r<0||r>=this._renderResult.length?"":this._renderResult[r]}}e.IndentGuidesOverlay=C;function s(i){if(!(i&&i.isTransparent()))return i}(0,y.registerThemingParticipant)((i,n)=>{const t=[{bracketColor:I.editorBracketHighlightingForeground1,guideColor:I.editorBracketPairGuideBackground1,guideColorActive:I.editorBracketPairGuideActiveBackground1},{bracketColor:I.editorBracketHighlightingForeground2,guideColor:I.editorBracketPairGuideBackground2,guideColorActive:I.editorBracketPairGuideActiveBackground2},{bracketColor:I.editorBracketHighlightingForeground3,guideColor:I.editorBracketPairGuideBackground3,guideColorActive:I.editorBracketPairGuideActiveBackground3},{bracketColor:I.editorBracketHighlightingForeground4,guideColor:I.editorBracketPairGuideBackground4,guideColorActive:I.editorBracketPairGuideActiveBackground4},{bracketColor:I.editorBracketHighlightingForeground5,guideColor:I.editorBracketPairGuideBackground5,guideColorActive:I.editorBracketPairGuideActiveBackground5},{bracketColor:I.editorBracketHighlightingForeground6,guideColor:I.editorBracketPairGuideBackground6,guideColorActive:I.editorBracketPairGuideActiveBackground6}],r=new _.BracketPairGuidesClassNames,u=[{indentColor:I.editorIndentGuide1,indentColorActive:I.editorActiveIndentGuide1},{indentColor:I.editorIndentGuide2,indentColorActive:I.editorActiveIndentGuide2},{indentColor:I.editorIndentGuide3,indentColorActive:I.editorActiveIndentGuide3},{indentColor:I.editorIndentGuide4,indentColorActive:I.editorActiveIndentGuide4},{indentColor:I.editorIndentGuide5,indentColorActive:I.editorActiveIndentGuide5},{indentColor:I.editorIndentGuide6,indentColorActive:I.editorActiveIndentGuide6}],f=t.map(l=>{var o,c;const a=i.getColor(l.bracketColor),g=i.getColor(l.guideColor),h=i.getColor(l.guideColorActive),p=s((o=s(g))!==null&&o!==void 0?o:a?.transparent(.3)),b=s((c=s(h))!==null&&c!==void 0?c:a);if(!(!p||!b))return{guideColor:p,guideColorActive:b}}).filter(m.isDefined),d=u.map(l=>{const o=i.getColor(l.indentColor),c=i.getColor(l.indentColorActive),a=s(o),g=s(c);if(!(!a||!g))return{indentColor:a,indentColorActive:g}}).filter(m.isDefined);if(f.length>0){for(let l=0;l<30;l++){const o=f[l%f.length];n.addRule(`.monaco-editor .${r.getInlineClassNameOfLevel(l).replace(/ /g,".")} { --guide-color: ${o.guideColor}; --guide-color-active: ${o.guideColorActive}; }`)}n.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),n.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),n.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),n.addRule(`.monaco-editor .vertical.${r.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),n.addRule(`.monaco-editor .horizontal-top.${r.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),n.addRule(`.monaco-editor .horizontal-bottom.${r.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(d.length>0){for(let l=0;l<30;l++){const o=d[l%d.length];n.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${l} { --indent-color: ${o.indentColor}; --indent-color-active: ${o.indentColorActive}; }`)}n.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),n.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}})}),define(te[361],ie([1,0,17,111,12,23,78,425]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineNumbersOverlay=void 0;class m extends I.DynamicViewOverlay{constructor(v){super(),this._context=v,this._readConfig(),this._lastCursorModelPosition=new y.Position(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const v=this._context.configuration.options;this._lineHeight=v.get(66);const C=v.get(67);this._renderLineNumbers=C.renderType,this._renderCustomLineNumbers=C.renderFn,this._renderFinalNewline=v.get(94);const s=v.get(143);this._lineNumbersLeft=s.lineNumbersLeft,this._lineNumbersWidth=s.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(v){return this._readConfig(),!0}onCursorStateChanged(v){const C=v.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(C);let s=!1;return this._activeLineNumber!==C.lineNumber&&(this._activeLineNumber=C.lineNumber,s=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(s=!0),s}onFlushed(v){return!0}onLinesChanged(v){return!0}onLinesDeleted(v){return!0}onLinesInserted(v){return!0}onScrollChanged(v){return v.scrollTopChanged}onZonesChanged(v){return!0}_getLineRenderLineNumber(v){const C=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new y.Position(v,1));if(C.column!==1)return"";const s=C.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(s);if(this._renderLineNumbers===2){const i=Math.abs(this._lastCursorModelPosition.lineNumber-s);return i===0?''+s+"":String(i)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===s||s%10===0?String(s):"":String(s)}prepareRender(v){if(this._renderLineNumbers===0){this._renderResult=null;return}const C=L.isLinux?this._lineHeight%2===0?" lh-even":" lh-odd":"",s=v.visibleRange.startLineNumber,i=v.visibleRange.endLineNumber,n=this._context.viewModel.getLineCount(),t=[];for(let r=s;r<=i;r++){const u=r-s,f=this._getLineRenderLineNumber(r);if(!f){t[u]="";continue}let d="";if(r===n&&this._context.viewModel.getLineLength(r)===0){if(this._renderFinalNewline==="off"){t[u]="";continue}this._renderFinalNewline==="dimmed"&&(d=" dimmed-line-number")}r===this._activeLineNumber&&(d=" active-line-number"),t[u]=`
    ${f}
    `}this._renderResult=t}render(v,C){if(!this._renderResult)return"";const s=C-v;return s<0||s>=this._renderResult.length?"":this._renderResult[s]}}e.LineNumbersOverlay=m,m.CLASS_NAME="line-numbers",(0,D.registerThemingParticipant)((_,v)=>{const C=_.getColor(S.editorLineNumbers),s=_.getColor(S.editorDimmedLineNumber);s?v.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${s}; }`):C&&v.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${C.transparent(.4)}; }`)})}),define(te[846],ie([1,0,605,51,38,17,10,70,183,273,53,361,292,39,144,12,5,24,198,29,36,262,34,419]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaHandler=void 0;class g{constructor(E,k,M,R,B){this._context=E,this.modelLineNumber=k,this.distanceToModelLineStart=M,this.widthOfHiddenLineTextBefore=R,this.distanceToModelLineEnd=B,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(E){const k=new r.Position(this.modelLineNumber,this.distanceToModelLineStart+1),M=new r.Position(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(k),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(M),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=E.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=E.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(E){return this._previousPresentation||(E?this._previousPresentation=E:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const h=I.isFirefox;let p=class extends C.ViewPart{constructor(E,k,M,R){super(E),this._keybindingService=R,this._primaryCursorPosition=new r.Position(1,1),this._primaryCursorVisibleRange=null,this._viewController=k,this._visibleRangeProvider=M,this._scrollLeft=0,this._scrollTop=0;const B=this._context.configuration.options,T=B.get(143);this._setAccessibilityOptions(B),this._contentLeft=T.contentLeft,this._contentWidth=T.contentWidth,this._contentHeight=T.height,this._fontInfo=B.get(50),this._lineHeight=B.get(66),this._emptySelectionClipboard=B.get(37),this._copyWithSyntaxHighlighting=B.get(25),this._visibleTextArea=null,this._selections=[new f.Selection(1,1,1,1)],this._modelSelections=[new f.Selection(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,y.createFastDomNode)(document.createElement("textarea")),C.PartFingerprints.write(this.textArea,6),this.textArea.setClassName(`inputarea ${d.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:N}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${N*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(B)),this.textArea.setAttribute("aria-required",B.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(B.get(123))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",L.localize(0,null)),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",B.get(90)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,y.createFastDomNode)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const A={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:x=>this._context.viewModel.getLineMaxColumn(x),getValueInRange:(x,W)=>this._context.viewModel.getValueInRange(x,W),getValueLengthInRange:(x,W)=>this._context.viewModel.getValueLengthInRange(x,W),modifyPosition:(x,W)=>this._context.viewModel.modifyPosition(x,W)},P={getDataToCopy:()=>{const x=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,D.isWindows),W=this._context.viewModel.model.getEOL(),U=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),F=Array.isArray(x)?x:null,G=Array.isArray(x)?x.join(W):x;let Y,ne=null;if(_.CopyOptions.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&G.length<65536){const se=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);se&&(Y=se.html,ne=se.mode)}return{isFromEmptySelection:U,multicursorText:F,text:G,html:Y,mode:ne}},getScreenReaderContent:()=>{if(this._accessibilitySupport===1){const x=this._selections[0];if(D.isMacintosh&&x.isEmpty()){const U=x.getStartPosition();let F=this._getWordBeforePosition(U);if(F.length===0&&(F=this._getCharacterBeforePosition(U)),F.length>0)return new v.TextAreaState(F,F.length,F.length,u.Range.fromPositions(U),0)}const W=500;if(D.isMacintosh&&!x.isEmpty()&&A.getValueLengthInRange(x,0)0)return new v.TextAreaState(U,F,F,u.Range.fromPositions(W),0)}return v.TextAreaState.EMPTY}return v.PagedScreenReaderStrategy.fromEditorSelection(A,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(x,W,U)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(x,W,U)},O=this._register(new _.TextAreaWrapper(this.textArea.domNode));this._textAreaInput=this._register(new _.TextAreaInput(P,O,D.OS,{isAndroid:I.isAndroid,isChrome:I.isChrome,isFirefox:I.isFirefox,isSafari:I.isSafari})),this._register(this._textAreaInput.onKeyDown(x=>{this._viewController.emitKeyDown(x)})),this._register(this._textAreaInput.onKeyUp(x=>{this._viewController.emitKeyUp(x)})),this._register(this._textAreaInput.onPaste(x=>{let W=!1,U=null,F=null;x.metadata&&(W=this._emptySelectionClipboard&&!!x.metadata.isFromEmptySelection,U=typeof x.metadata.multicursorText<"u"?x.metadata.multicursorText:null,F=x.metadata.mode),this._viewController.paste(x.text,W,U,F)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(x=>{x.replacePrevCharCnt||x.replaceNextCharCnt||x.positionDelta?(v._debugComposition&&console.log(` => compositionType: <<${x.text}>>, ${x.replacePrevCharCnt}, ${x.replaceNextCharCnt}, ${x.positionDelta}`),this._viewController.compositionType(x.text,x.replacePrevCharCnt,x.replaceNextCharCnt,x.positionDelta)):(v._debugComposition&&console.log(` => type: <<${x.text}>>`),this._viewController.type(x.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(x=>{this._viewController.setSelection(x)})),this._register(this._textAreaInput.onCompositionStart(x=>{const W=this.textArea.domNode,U=this._modelSelections[0],{distanceToModelLineStart:F,widthOfHiddenTextBefore:G}=(()=>{const ne=W.value.substring(0,Math.min(W.selectionStart,W.selectionEnd)),se=ne.lastIndexOf(` +`),J=ne.substring(se+1),q=J.lastIndexOf(" "),H=J.length-q-1,V=U.getStartPosition(),Z=Math.min(V.column-1,H),ee=V.column-1-Z,le=J.substring(0,J.length-Z),{tabSize:ue}=this._context.viewModel.model.getOptions(),de=b(this.textArea.domNode.ownerDocument,le,this._fontInfo,ue);return{distanceToModelLineStart:ee,widthOfHiddenTextBefore:de}})(),{distanceToModelLineEnd:Y}=(()=>{const ne=W.value.substring(Math.max(W.selectionStart,W.selectionEnd)),se=ne.indexOf(` +`),J=se===-1?ne:ne.substring(0,se),q=J.indexOf(" "),H=q===-1?J.length:J.length-q-1,V=U.getEndPosition(),Z=Math.min(this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column,H);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(V.lineNumber)-V.column-Z}})();this._context.viewModel.revealRange("keyboard",!0,u.Range.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new g(this._context,U.startLineNumber,F,G,Y),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${d.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(x=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${d.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(c.IME.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(E){this._textAreaInput.writeScreenReaderContent(E)}dispose(){super.dispose()}_getAndroidWordAtPosition(E){const k='`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',M=this._context.viewModel.getLineContent(E.lineNumber),R=(0,t.getMapForWordSeparators)(k);let B=!0,T=E.column,N=!0,A=E.column,P=0;for(;P<50&&(B||N);){if(B&&T<=1&&(B=!1),B){const O=M.charCodeAt(T-2);R.get(O)!==0?B=!1:T--}if(N&&A>M.length&&(N=!1),N){const O=M.charCodeAt(A-1);R.get(O)!==0?N=!1:A++}P++}return[M.substring(T-1,A-1),E.column-T]}_getWordBeforePosition(E){const k=this._context.viewModel.getLineContent(E.lineNumber),M=(0,t.getMapForWordSeparators)(this._context.configuration.options.get(129));let R=E.column,B=0;for(;R>1;){const T=k.charCodeAt(R-2);if(M.get(T)!==0||B>50)return k.substring(R-1,E.column-1);B++,R--}return k.substring(0,E.column-1)}_getCharacterBeforePosition(E){if(E.column>1){const M=this._context.viewModel.getLineContent(E.lineNumber).charAt(E.column-2);if(!S.isHighSurrogate(M.charCodeAt(0)))return M}return""}_getAriaLabel(E){var k,M,R;if(E.get(2)===1){const T=(k=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))===null||k===void 0?void 0:k.getAriaLabel(),N=(M=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))===null||M===void 0?void 0:M.getAriaLabel(),A=(R=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))===null||R===void 0?void 0:R.getAriaLabel(),P=L.localize(1,null);return T?L.localize(2,null,P,T):N?L.localize(3,null,P,N):A?L.localize(4,null,P,A):P}return E.get(4)}_setAccessibilityOptions(E){this._accessibilitySupport=E.get(2);const k=E.get(3);this._accessibilitySupport===2&&k===n.EditorOptions.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=k;const R=E.get(143).wrappingColumn;if(R!==-1&&this._accessibilitySupport!==1){const B=E.get(50);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(R*B.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=h?0:1}onConfigurationChanged(E){const k=this._context.configuration.options,M=k.get(143);this._setAccessibilityOptions(k),this._contentLeft=M.contentLeft,this._contentWidth=M.contentWidth,this._contentHeight=M.height,this._fontInfo=k.get(50),this._lineHeight=k.get(66),this._emptySelectionClipboard=k.get(37),this._copyWithSyntaxHighlighting=k.get(25),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");const{tabSize:R}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${R*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(k)),this.textArea.setAttribute("aria-required",k.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(k.get(123))),(E.hasChanged(34)||E.hasChanged(90))&&this._ensureReadOnlyAttribute(),E.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(E){return this._selections=E.selections.slice(0),this._modelSelections=E.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(E){return!0}onFlushed(E){return!0}onLinesChanged(E){return!0}onLinesDeleted(E){return!0}onLinesInserted(E){return!0}onScrollChanged(E){return this._scrollLeft=E.scrollLeft,this._scrollTop=E.scrollTop,!0}onZonesChanged(E){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(E){E.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",E.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),E.role&&this.textArea.setAttribute("role",E.role)}_ensureReadOnlyAttribute(){const E=this._context.configuration.options;!c.IME.enabled||E.get(34)&&E.get(90)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(E){var k;this._primaryCursorPosition=new r.Position(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=E.visibleRangeForPosition(this._primaryCursorPosition),(k=this._visibleTextArea)===null||k===void 0||k.prepareRender(E)}render(E){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){var E;if(this._visibleTextArea){const R=this._visibleTextArea.visibleTextareaStart,B=this._visibleTextArea.visibleTextareaEnd,T=this._visibleTextArea.startPosition,N=this._visibleTextArea.endPosition;if(T&&N&&R&&B&&B.left>=this._scrollLeft&&R.left<=this._scrollLeft+this._contentWidth){const A=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,P=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let O=this._visibleTextArea.widthOfHiddenLineTextBefore,x=this._contentLeft+R.left-this._scrollLeft,W=B.left-R.left+1;if(xthis._contentWidth&&(W=this._contentWidth);const U=this._context.viewModel.getViewLineData(T.lineNumber),F=U.tokens.findTokenIndexAtOffset(T.column-1),G=U.tokens.findTokenIndexAtOffset(N.column-1),Y=F===G,ne=this._visibleTextArea.definePresentation(Y?U.tokens.getPresentation(F):null);this.textArea.domNode.scrollTop=P*this._lineHeight,this.textArea.domNode.scrollLeft=O,this._doRender({lastRenderPosition:null,top:A,left:x,width:W,height:this._lineHeight,useCover:!1,color:(l.TokenizationRegistry.getColorMap()||[])[ne.foreground],italic:ne.italic,bold:ne.bold,underline:ne.underline,strikethrough:ne.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const k=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(kthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const M=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(M<0||M>this._contentHeight){this._renderAtTopLeft();return}if(D.isMacintosh){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:k,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const R=(E=this._textAreaInput.textAreaState.newlineCountBeforeSelection)!==null&&E!==void 0?E:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=R*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:M,left:this._textAreaWrapping?this._contentLeft:k,width:this._textAreaWidth,height:h?0:1,useCover:!1})}_newlinecount(E){let k=0,M=-1;do{if(M=E.indexOf(` +`,M+1),M===-1)break;k++}while(!0);return k}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:h?0:1,useCover:!0})}_doRender(E){this._lastRenderPosition=E.lastRenderPosition;const k=this.textArea,M=this.textAreaCover;(0,m.applyFontInfo)(k,this._fontInfo),k.setTop(E.top),k.setLeft(E.left),k.setWidth(E.width),k.setHeight(E.height),k.setColor(E.color?o.Color.Format.CSS.formatHex(E.color):""),k.setFontStyle(E.italic?"italic":""),E.bold&&k.setFontWeight("bold"),k.setTextDecoration(`${E.underline?" underline":""}${E.strikethrough?" line-through":""}`),M.setTop(E.useCover?E.top:0),M.setLeft(E.useCover?E.left:0),M.setWidth(E.useCover?E.width:0),M.setHeight(E.useCover?E.height:0);const R=this._context.configuration.options;R.get(57)?M.setClassName("monaco-editor-background textAreaCover "+i.Margin.OUTER_CLASS_NAME):R.get(67).renderType!==0?M.setClassName("monaco-editor-background textAreaCover "+s.LineNumbersOverlay.CLASS_NAME):M.setClassName("monaco-editor-background textAreaCover")}};e.TextAreaHandler=p,e.TextAreaHandler=p=Ie([ge(3,a.IKeybindingService)],p);function b(w,E,k,M){if(E.length===0)return 0;const R=w.createElement("div");R.style.position="absolute",R.style.top="-50000px",R.style.width="50000px";const B=w.createElement("span");(0,m.applyFontInfo)(B,k),B.style.whiteSpace="pre",B.style.tabSize=`${M*k.spaceWidth}px`,B.append(E),R.appendChild(B),w.body.appendChild(R);const T=B.offsetWidth;return w.body.removeChild(R),T}}),define(te[847],ie([1,0,38,36,53,12,29,78,82,13]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DecorationsOverviewRuler=void 0;class C{constructor(n,t){const r=n.options;this.lineHeight=r.get(66),this.pixelRatio=r.get(141),this.overviewRulerLanes=r.get(82),this.renderBorder=r.get(81);const u=t.getColor(m.editorOverviewRulerBorder);this.borderColor=u?u.toString():null,this.hideCursor=r.get(59);const f=t.getColor(m.editorCursorForeground);this.cursorColor=f?f.transparent(.7).toString():null,this.themeType=t.type;const d=r.get(72),l=d.enabled,o=d.side,c=t.getColor(m.editorOverviewRulerBackground),a=S.TokenizationRegistry.getDefaultBackground();c?this.backgroundColor=c:l&&o==="right"?this.backgroundColor=a:this.backgroundColor=null;const h=r.get(143).overviewRuler;this.top=h.top,this.right=h.right,this.domWidth=h.width,this.domHeight=h.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[p,b]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=p,this.w=b}_initLanes(n,t,r){const u=t-n;if(r>=3){const f=Math.floor(u/3),d=Math.floor(u/3),l=u-f-d,o=n,c=o+f,a=o+f+l;return[[0,o,c,o,a,o,c,o],[0,f,l,f+l,d,f+l+d,l+d,f+l+d]]}else if(r===2){const f=Math.floor(u/2),d=u-f,l=n,o=l+f;return[[0,l,l,l,o,l,l,l],[0,f,f,f,d,f+d,f+d,f+d]]}else{const f=n,d=u;return[[0,f,f,f,f,f,f,f],[0,d,d,d,d,d,d,d]]}}equals(n){return this.lineHeight===n.lineHeight&&this.pixelRatio===n.pixelRatio&&this.overviewRulerLanes===n.overviewRulerLanes&&this.renderBorder===n.renderBorder&&this.borderColor===n.borderColor&&this.hideCursor===n.hideCursor&&this.cursorColor===n.cursorColor&&this.themeType===n.themeType&&I.Color.equals(this.backgroundColor,n.backgroundColor)&&this.top===n.top&&this.right===n.right&&this.domWidth===n.domWidth&&this.domHeight===n.domHeight&&this.canvasWidth===n.canvasWidth&&this.canvasHeight===n.canvasHeight}}class s extends y.ViewPart{constructor(n){super(n),this._actualShouldRender=0,this._renderedDecorations=[],this._renderedCursorPositions=[],this._domNode=(0,L.createFastDomNode)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=S.TokenizationRegistry.onDidChange(t=>{t.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(n){const t=new C(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(t)?!1:(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,n&&this._render(),!0)}_markRenderingIsNeeded(){return this._actualShouldRender=2,!0}_markRenderingIsMaybeNeeded(){return this._actualShouldRender=1,!0}onConfigurationChanged(n){return this._updateSettings(!1)?this._markRenderingIsNeeded():!1}onCursorStateChanged(n){this._cursorPositions=[];for(let t=0,r=n.selections.length;tb.lineNumber===w.lineNumber)&&(this._actualShouldRender=2),this._actualShouldRender===1)return;this._renderedDecorations=t,this._renderedCursorPositions=this._cursorPositions,this._domNode.setDisplay("block");const r=this._settings.canvasWidth,u=this._settings.canvasHeight,f=this._settings.lineHeight,d=this._context.viewLayout,l=this._context.viewLayout.getScrollHeight(),o=u/l,c=6*this._settings.pixelRatio|0,a=c/2|0,g=this._domNode.domNode.getContext("2d");n?n.isOpaque()?(g.fillStyle=I.Color.Format.CSS.formatHexA(n),g.fillRect(0,0,r,u)):(g.clearRect(0,0,r,u),g.fillStyle=I.Color.Format.CSS.formatHexA(n),g.fillRect(0,0,r,u)):g.clearRect(0,0,r,u);const h=this._settings.x,p=this._settings.w;for(const b of t){const w=b.color,E=b.data;g.fillStyle=w;let k=0,M=0,R=0;for(let B=0,T=E.length/3;Bu&&(U=u-a),O=U-a,x=U+a}O>R+1||N!==k?(B!==0&&g.fillRect(h[k],M,p[k],R-M),k=N,M=O,R=x):x>R&&(R=x)}g.fillRect(h[k],M,p[k],R-M)}if(!this._settings.hideCursor&&this._settings.cursorColor){const b=2*this._settings.pixelRatio|0,w=b/2|0,E=this._settings.x[7],k=this._settings.w[7];g.fillStyle=this._settings.cursorColor;let M=-100,R=-100;for(let B=0,T=this._cursorPositions.length;Bu&&(A=u-w);const P=A-w,O=P+b;P>R+1?(B!==0&&g.fillRect(E,M,k,R-M),M=P,R=O):O>R&&(R=O)}g.fillRect(E,M,k,R-M)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(g.beginPath(),g.lineWidth=1,g.strokeStyle=this._settings.borderColor,g.moveTo(0,0),g.lineTo(0,u),g.stroke(),g.moveTo(0,0),g.lineTo(r,0),g.stroke())}}e.DecorationsOverviewRuler=s}),define(te[848],ie([1,0,38,14,53,620,39,78,23,86,435]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewCursors=void 0;class C extends y.ViewPart{constructor(i){super(i);const n=this._context.configuration.options;this._readOnly=n.get(90),this._cursorBlinking=n.get(26),this._cursorStyle=n.get(28),this._cursorSmoothCaretAnimation=n.get(27),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new D.ViewCursor(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,L.createFastDomNode)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new I.TimeoutTimer,this._cursorFlatBlinkInterval=new I.IntervalTimer,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(i){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(i){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(i){const n=this._context.configuration.options;this._readOnly=n.get(90),this._cursorBlinking=n.get(26),this._cursorStyle=n.get(28),this._cursorSmoothCaretAnimation=n.get(27),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(i);for(let t=0,r=this._secondaryCursors.length;tn.length){const u=this._secondaryCursors.length-n.length;for(let f=0;f{for(let r=0,u=i.ranges.length;r{this._isVisible?this._hide():this._show()},C.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},C.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let i="cursors-layer";switch(this._selectionIsEmpty||(i+=" has-selection"),this._cursorStyle){case S.TextEditorCursorStyle.Line:i+=" cursor-line-style";break;case S.TextEditorCursorStyle.Block:i+=" cursor-block-style";break;case S.TextEditorCursorStyle.Underline:i+=" cursor-underline-style";break;case S.TextEditorCursorStyle.LineThin:i+=" cursor-line-thin-style";break;case S.TextEditorCursorStyle.BlockOutline:i+=" cursor-block-outline-style";break;case S.TextEditorCursorStyle.UnderlineThin:i+=" cursor-underline-thin-style";break;default:i+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:i+=" cursor-blink";break;case 2:i+=" cursor-smooth";break;case 3:i+=" cursor-phase";break;case 4:i+=" cursor-expand";break;case 5:i+=" cursor-solid";break;default:i+=" cursor-solid"}else i+=" cursor-solid";return(this._cursorSmoothCaretAnimation==="on"||this._cursorSmoothCaretAnimation==="explicit")&&(i+=" cursor-smooth-caret-animation"),i}_show(){this._primaryCursor.show();for(let i=0,n=this._secondaryCursors.length;i{const n=s.getColor(m.editorCursorForeground);if(n){let t=s.getColor(m.editorCursorBackground);t||(t=n.opposite()),i.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${t}; }`),(0,v.isHighContrast)(s.type)&&i.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${t}; border-right: 1px solid ${t}; }`)}})}),define(te[849],ie([1,0,111,10,114,12,78,436]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WhitespaceOverlay=void 0;class m extends L.DynamicViewOverlay{constructor(C){super(),this._context=C,this._options=new _(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(C){const s=new _(this._context.configuration);return this._options.equals(s)?C.hasChanged(143):(this._options=s,!0)}onCursorStateChanged(C){return this._selection=C.selections,this._options.renderWhitespace==="selection"}onDecorationsChanged(C){return!0}onFlushed(C){return!0}onLinesChanged(C){return!0}onLinesDeleted(C){return!0}onLinesInserted(C){return!0}onScrollChanged(C){return C.scrollTopChanged}onZonesChanged(C){return!0}prepareRender(C){if(this._options.renderWhitespace==="none"){this._renderResult=null;return}const s=C.visibleRange.startLineNumber,n=C.visibleRange.endLineNumber-s+1,t=new Array(n);for(let u=0;uu)continue;const a=c.startLineNumber===u?c.startColumn:d.minColumn,g=c.endLineNumber===u?c.endColumn:d.maxColumn;a=A.endOffset&&(N++,A=i&&i[N]),x!==9&&x!==32||c&&!R&&O<=T)continue;if(o&&O>=B&&O<=T&&x===32){const U=O-1>=0?u.charCodeAt(O-1):0,F=O+1=0?u.charCodeAt(O-1):0;if(x===32&&U!==32&&U!==9)continue}if(i&&(!A||A.startOffset>O||A.endOffset<=O))continue;const W=C.visibleRangeForPosition(new D.Position(s,O+1));W&&(r?(P=Math.max(P,W.left),x===9?M+=this._renderArrow(a,p,W.left):M+=``):x===9?M+=`
    ${k?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:M+=`
    ${String.fromCharCode(E)}
    `)}return r?(P=Math.round(P+p),``+M+""):M}_renderArrow(C,s,i){const n=s/7,t=s,r=C/2,u=i,f={x:0,y:n/2},d={x:100/125*t,y:f.y},l={x:d.x-.2*d.x,y:d.y+.2*d.x},o={x:l.x+.1*d.x,y:l.y+.1*d.x},c={x:o.x+.35*d.x,y:o.y-.35*d.x},a={x:c.x,y:-c.y},g={x:o.x,y:-o.y},h={x:l.x,y:-l.y},p={x:d.x,y:-d.y},b={x:f.x,y:-f.y};return``}render(C,s){if(!this._renderResult)return"";const i=s-C;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}e.WhitespaceOverlay=m;class _{constructor(C){const s=C.options,i=s.get(50),n=s.get(38);n==="off"?(this.renderWhitespace="none",this.renderWithSVG=!1):n==="svg"?(this.renderWhitespace=s.get(98),this.renderWithSVG=!0):(this.renderWhitespace=s.get(98),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=s.get(66),this.stopRenderingLineAfter=s.get(116)}equals(C){return this.renderWhitespace===C.renderWhitespace&&this.renderWithSVG===C.renderWithSVG&&this.spaceWidth===C.spaceWidth&&this.middotWidth===C.middotWidth&&this.wsmiddotWidth===C.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===C.canUseHalfwidthRightwardsArrow&&this.lineHeight===C.lineHeight&&this.stopRenderingLineAfter===C.stopRenderingLineAfter}}}),define(te[850],ie([1,0,7,24,5,38,9,836,846,792,272,596,53,592,844,525,841,845,361,837,526,292,527,822,528,847,537,529,530,842,848,531,12,142,538,534,148,23,358,524,258,849,211,49,8]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M,R,B,T,N,A,P,O,x,W,U,F,G,Y,ne){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;let se=class extends P.ViewEventHandler{constructor(H,V,Z,ee,le,ue,de){super(),this._instantiationService=de,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new I.Selection(1,1,1,1)],this._renderAnimationFrame=null;const ce=new v.ViewController(V,ee,le,H);this._context=new N.ViewContext(V,Z,ee),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(_.TextAreaHandler,this._context,ce,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,D.createFastDomNode)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,D.createFastDomNode)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,D.createFastDomNode)(document.createElement("div")),i.PartFingerprints.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new u.EditorScrollbar(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new l.ViewLines(this._context,this._linesContent),this._viewZones=new R.ViewZones(this._context),this._viewParts.push(this._viewZones);const ae=new p.DecorationsOverviewRuler(this._context);this._viewParts.push(ae);const X=new E.ScrollDecorationViewPart(this._context);this._viewParts.push(X);const K=new s.ContentViewOverlays(this._context);this._viewParts.push(K),K.addDynamicOverlay(new t.CurrentLineHighlightOverlay(this._context)),K.addDynamicOverlay(new k.SelectionsOverlay(this._context)),K.addDynamicOverlay(new f.IndentGuidesOverlay(this._context)),K.addDynamicOverlay(new r.DecorationsOverlay(this._context)),K.addDynamicOverlay(new F.WhitespaceOverlay(this._context));const z=new s.MarginViewOverlays(this._context);this._viewParts.push(z),z.addDynamicOverlay(new t.CurrentLineMarginHighlightOverlay(this._context)),z.addDynamicOverlay(new a.MarginViewLineDecorationsOverlay(this._context)),z.addDynamicOverlay(new o.LinesDecorationsOverlay(this._context)),z.addDynamicOverlay(new d.LineNumbersOverlay(this._context)),this._glyphMarginWidgets=new G.GlyphMarginWidgets(this._context),this._viewParts.push(this._glyphMarginWidgets);const Q=new c.Margin(this._context);Q.getDomNode().appendChild(this._viewZones.marginDomNode),Q.getDomNode().appendChild(z.getDomNode()),Q.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(Q),this._contentWidgets=new n.ViewContentWidgets(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new M.ViewCursors(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new h.ViewOverlayWidgets(this._context),this._viewParts.push(this._overlayWidgets);const j=new w.Rulers(this._context);this._viewParts.push(j);const re=new W.BlockDecorations(this._context);this._viewParts.push(re);const oe=new g.Minimap(this._context);if(this._viewParts.push(oe),ae){const he=this._scrollbar.getOverviewRulerLayoutInfo();he.parent.insertBefore(ae.getDomNode(),he.insertBefore)}this._linesContent.appendChild(K.getDomNode()),this._linesContent.appendChild(j.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(Q.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(X.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(oe.getDomNode()),this._overflowGuardContainer.appendChild(re.domNode),this.domNode.appendChild(this._overflowGuardContainer),ue?ue.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new m.PointerHandler(this._context,ce,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._shouldRecomputeGlyphMarginLanes&&(this._shouldRecomputeGlyphMarginLanes=!1,this._context.configuration.setGlyphMarginDecorationLaneCount(this._computeGlyphMarginLaneCount())),U.inputLatency.onRenderStart(),this._renderNow()}_computeGlyphMarginLaneCount(){const H=this._context.viewModel.model;let V=[];V=V.concat(H.getAllMarginDecorations().map(le=>{var ue,de;const ce=(de=(ue=le.options.glyphMargin)===null||ue===void 0?void 0:ue.position)!==null&&de!==void 0?de:Y.GlyphMarginLane.Left;return{range:le.range,lane:ce}})),V=V.concat(this._glyphMarginWidgets.getWidgets().map(le=>({range:H.validateRange(le.preference.range),lane:le.preference.lane}))),V.sort((le,ue)=>y.Range.compareRangesUsingStarts(le.range,ue.range));let Z=null,ee=null;for(const le of V)if(le.lane===Y.GlyphMarginLane.Left&&(!Z||y.Range.compareRangesUsingEnds(Z,le.range)<0)&&(Z=le.range),le.lane===Y.GlyphMarginLane.Right&&(!ee||y.Range.compareRangesUsingEnds(ee,le.range)<0)&&(ee=le.range),Z&&ee){if(Z.endLineNumber{this.focus()},dispatchTextAreaEvent:H=>{this._textAreaHandler.textArea.domNode.dispatchEvent(H)},getLastRenderData:()=>{const H=this._viewCursors.getLastRenderData()||[],V=this._textAreaHandler.getLastRenderData();return new x.PointerHandlerLastRenderData(H,V)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:H=>this._viewZones.shouldSuppressMouseDownOnViewZone(H),shouldSuppressMouseDownOnWidget:H=>this._contentWidgets.shouldSuppressMouseDownOnWidget(H),getPositionFromDOMInfo:(H,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(H,V)),visibleRangeForPosition:(H,V)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new B.Position(H,V))),getLineWidth:H=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(H))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:H=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(H))}}_applyLayout(){const V=this._context.configuration.options.get(143);this.domNode.setWidth(V.width),this.domNode.setHeight(V.height),this._overflowGuardContainer.setWidth(V.width),this._overflowGuardContainer.setHeight(V.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const H=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(140)+" "+(0,O.getThemeTypeSelector)(this._context.theme.type)+H}handleEvents(H){super.handleEvents(H),this._scheduleRender()}onConfigurationChanged(H){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(H){return this._selections=H.selections,!1}onDecorationsChanged(H){return H.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(H){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(H){return this._context.theme.update(H.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const H of this._viewParts)H.dispose();super.dispose()}_scheduleRender(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=L.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){J(()=>this._actualRender())}_getViewPartsToRender(){const H=[];let V=0;for(const Z of this._viewParts)Z.shouldRender()&&(H[V++]=Z);return H}_actualRender(){if(!L.isInDOM(this.domNode.domNode))return;let H=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&H.length===0)return;const V=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(V.startLineNumber,V.endLineNumber,V.centeredLineNumber);const Z=new A.ViewportData(this._selections,V,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(Z),this._viewLines.shouldRender()&&(this._viewLines.renderText(Z),this._viewLines.onDidRender(),H=this._getViewPartsToRender());const ee=new T.RenderingContext(this._context.viewLayout,Z,this._viewLines);for(const le of H)le.prepareRender(ee);for(const le of H)le.render(ee),le.onDidRender()}delegateVerticalScrollbarPointerDown(H){this._scrollbar.delegateVerticalScrollbarPointerDown(H)}delegateScrollFromMouseWheelEvent(H){this._scrollbar.delegateScrollFromMouseWheelEvent(H)}restoreState(H){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:H.scrollTop,scrollLeft:H.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(H,V){const Z=this._context.viewModel.model.validatePosition({lineNumber:H,column:V}),ee=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(Z);this._flushAccumulatedAndRenderNow();const le=this._viewLines.visibleRangeForPosition(new B.Position(ee.lineNumber,ee.column));return le?le.left:-1}getTargetAtClientPoint(H,V){const Z=this._pointerHandler.getTargetAtClientPoint(H,V);return Z?C.ViewUserInputEvents.convertViewToModelMouseTarget(Z,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(H){return new b.OverviewRuler(this._context,H)}change(H){this._viewZones.changeViewZones(H),this._scheduleRender()}render(H,V){if(V){this._viewLines.forceShouldRender();for(const Z of this._viewParts)Z.forceShouldRender()}H?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(H){this._textAreaHandler.writeScreenReaderContent(H)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(H){this._textAreaHandler.setAriaOptions(H)}addContentWidget(H){this._contentWidgets.addWidget(H.widget),this.layoutContentWidget(H),this._scheduleRender()}layoutContentWidget(H){var V,Z,ee,le,ue,de,ce,ae;this._contentWidgets.setWidgetPosition(H.widget,(Z=(V=H.position)===null||V===void 0?void 0:V.position)!==null&&Z!==void 0?Z:null,(le=(ee=H.position)===null||ee===void 0?void 0:ee.secondaryPosition)!==null&&le!==void 0?le:null,(de=(ue=H.position)===null||ue===void 0?void 0:ue.preference)!==null&&de!==void 0?de:null,(ae=(ce=H.position)===null||ce===void 0?void 0:ce.positionAffinity)!==null&&ae!==void 0?ae:null),this._scheduleRender()}removeContentWidget(H){this._contentWidgets.removeWidget(H.widget),this._scheduleRender()}addOverlayWidget(H){this._overlayWidgets.addWidget(H.widget),this.layoutOverlayWidget(H),this._scheduleRender()}layoutOverlayWidget(H){const V=H.position?H.position.preference:null;this._overlayWidgets.setWidgetPosition(H.widget,V)&&this._scheduleRender()}removeOverlayWidget(H){this._overlayWidgets.removeWidget(H.widget),this._scheduleRender()}addGlyphMarginWidget(H){this._glyphMarginWidgets.addWidget(H.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(H){const V=H.position;this._glyphMarginWidgets.setWidgetPosition(H.widget,V)&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(H){this._glyphMarginWidgets.removeWidget(H.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};e.View=se,e.View=se=Ie([ge(6,ne.IInstantiationService)],se);function J(q){try{return q()}catch(H){(0,S.onUnexpectedError)(H)}}}),define(te[851],ie([1,0,6,2,5,78,23]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorizedBracketPairsDecorationProvider=void 0;class m extends I.Disposable{constructor(C){super(),this.textModel=C,this.colorProvider=new _,this.onDidChangeEmitter=new L.Emitter,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=C.getOptions().bracketPairColorizationOptions,this._register(C.bracketPairs.onDidChange(s=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(C){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(C,s,i,n){return n?[]:s===void 0?[]:this.colorizationOptions.enabled?this.textModel.bracketPairs.getBracketsInRange(C,!0).map(r=>({id:`bracket${r.range.toString()}-${r.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(r,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:r.range})).toArray():[]}getAllDecorations(C,s){return C===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new y.Range(1,1,this.textModel.getLineCount(),1),C,s):[]}}e.ColorizedBracketPairsDecorationProvider=m;class _{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(C,s){return C.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(s?C.nestingLevelOfEqualBracketType:C.nestingLevel)}getInlineClassNameOfLevel(C){return`bracket-highlighting-${C%30}`}}(0,S.registerThemingParticipant)((v,C)=>{const s=[D.editorBracketHighlightingForeground1,D.editorBracketHighlightingForeground2,D.editorBracketHighlightingForeground3,D.editorBracketHighlightingForeground4,D.editorBracketHighlightingForeground5,D.editorBracketHighlightingForeground6],i=new _;C.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${v.getColor(D.editorBracketHighlightingUnexpectedBracketForeground)}; }`);const n=s.map(t=>v.getColor(t)).filter(t=>!!t).filter(t=>!t.isTransparent());for(let t=0;t<30;t++){const r=n[t%n.length];C.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(t)} { color: ${r}; }`)}})}),define(te[852],ie([1,0,94,2,49,23,78,50,5,54,6,31,56,260]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerDecorationsService=void 0;let t=class extends I.Disposable{constructor(f,d){super(),this._markerService=d,this._onDidChangeMarker=this._register(new C.Emitter),this._markerDecorations=new i.ResourceMap,f.getModels().forEach(l=>this._onModelAdded(l)),this._register(f.onModelAdded(this._onModelAdded,this)),this._register(f.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(f=>f.dispose()),this._markerDecorations.clear()}getMarker(f,d){const l=this._markerDecorations.get(f);return l&&l.getMarker(d)||null}_handleMarkerChange(f){f.forEach(d=>{const l=this._markerDecorations.get(d);l&&this._updateDecorations(l)})}_onModelAdded(f){const d=new r(f);this._markerDecorations.set(f.uri,d),this._updateDecorations(d)}_onModelRemoved(f){var d;const l=this._markerDecorations.get(f.uri);l&&(l.dispose(),this._markerDecorations.delete(f.uri)),(f.uri.scheme===v.Schemas.inMemory||f.uri.scheme===v.Schemas.internal||f.uri.scheme===v.Schemas.vscode)&&((d=this._markerService)===null||d===void 0||d.read({resource:f.uri}).map(o=>o.owner).forEach(o=>this._markerService.remove(o,[f.uri])))}_updateDecorations(f){const d=this._markerService.read({resource:f.model.uri,take:500});f.update(d)&&this._onDidChangeMarker.fire(f.model)}};e.MarkerDecorationsService=t,e.MarkerDecorationsService=t=Ie([ge(0,m.IModelService),ge(1,L.IMarkerService)],t);class r extends I.Disposable{constructor(f){super(),this.model=f,this._map=new i.BidirectionalMap,this._register((0,I.toDisposable)(()=>{this.model.deltaDecorations([...this._map.values()],[]),this._map.clear()}))}update(f){const{added:d,removed:l}=(0,n.diffSets)(new Set(this._map.keys()),new Set(f));if(d.length===0&&l.length===0)return!1;const o=l.map(g=>this._map.get(g)),c=d.map(g=>({range:this._createDecorationRange(this.model,g),options:this._createDecorationOption(g)})),a=this.model.deltaDecorations(o,c);for(const g of l)this._map.delete(g);for(let g=0;g=o)return l;const c=f.getWordAtPosition(l.getStartPosition());c&&(l=new _.Range(l.startLineNumber,c.startColumn,l.endLineNumber,c.endColumn))}else if(d.endColumn===Number.MAX_VALUE&&d.startColumn===1&&l.startLineNumber===l.endLineNumber){const o=f.getLineFirstNonWhitespaceColumn(d.startLineNumber);o=0:!1}}}),define(te[250],ie([1,0,124,23,66,522,42]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toMultilineTokens2=e.SemanticTokensProviderStyling=void 0;let m=class{constructor(i,n,t,r){this._legend=i,this._themeService=n,this._languageService=t,this._logService=r,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new C}getMetadata(i,n,t){const r=this._languageService.languageIdCodec.encodeLanguageId(t),u=this._hashTable.get(i,n,r);let f;if(u)f=u.metadata,this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${i} / ${n}: foreground ${L.TokenMetadata.getForeground(f)}, fontStyle ${L.TokenMetadata.getFontStyle(f).toString(2)}`);else{let d=this._legend.tokenTypes[i];const l=[];if(d){let o=n;for(let a=0;o>0&&a>1;o>0&&this._logService.getLevel()===y.LogLevel.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${n.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),l.push("not-in-legend"));const c=this._themeService.getColorTheme().getTokenStyleMetadata(d,l,t);if(typeof c>"u")f=2147483647;else{if(f=0,typeof c.italic<"u"){const a=(c.italic?1:0)<<11;f|=a|1}if(typeof c.bold<"u"){const a=(c.bold?2:0)<<11;f|=a|2}if(typeof c.underline<"u"){const a=(c.underline?4:0)<<11;f|=a|4}if(typeof c.strikethrough<"u"){const a=(c.strikethrough?8:0)<<11;f|=a|8}if(c.foreground){const a=c.foreground<<15;f|=a|16}f===0&&(f=2147483647)}}else this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${i} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),f=2147483647,d="not-in-legend";this._hashTable.add(i,n,r,f),this._logService.getLevel()===y.LogLevel.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${i} (${d}) / ${n} (${l.join(" ")}): foreground ${L.TokenMetadata.getForeground(f)}, fontStyle ${L.TokenMetadata.getFontStyle(f).toString(2)}`)}return f}warnOverlappingSemanticTokens(i,n){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${i}, column ${n}`))}warnInvalidLengthSemanticTokens(i,n){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,console.warn(`Semantic token with invalid length detected at lineNumber ${i}, column ${n}`))}warnInvalidEditStart(i,n,t,r,u){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,console.warn(`Invalid semantic tokens edit detected (previousResultId: ${i}, resultId: ${n}) at edit #${t}: The provided start offset ${r} is outside the previous data (length ${u}).`))}};e.SemanticTokensProviderStyling=m,e.SemanticTokensProviderStyling=m=Ie([ge(1,I.IThemeService),ge(2,S.ILanguageService),ge(3,y.ILogService)],m);function _(s,i,n){const t=s.data,r=s.data.length/5|0,u=Math.max(Math.ceil(r/1024),400),f=[];let d=0,l=1,o=0;for(;dc&&t[5*k]===0;)k--;if(k-1===c){let M=a;for(;M+1T)i.warnOverlappingSemanticTokens(B,T+1);else{const x=i.getMetadata(P,O,n);x!==2147483647&&(p===0&&(p=B),g[h]=B-p,g[h+1]=T,g[h+2]=A,g[h+3]=x,h+=4,b=B,w=A)}l=B,o=T,d++}h!==g.length&&(g=g.subarray(0,h));const E=D.SparseMultilineTokens.create(p,g);f.push(E)}return f}e.toMultilineTokens2=_;class v{constructor(i,n,t,r){this.tokenTypeIndex=i,this.tokenModifierSet=n,this.languageId=t,this.metadata=r,this.next=null}}class C{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1=this._growCount){const u=this._elements;this._currentLengthIndex++,this._currentLength=C._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1{this._caches=new WeakMap}))}getStyling(s){return this._caches.has(s)||this._caches.set(s,new S.SemanticTokensProviderStyling(s.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(s)}};e.SemanticTokensStylingService=v,e.SemanticTokensStylingService=v=Ie([ge(0,y.IThemeService),ge(1,D.ILogService),ge(2,I.ILanguageService)],v),(0,_.registerSingleton)(m.ISemanticTokensStylingService,v,1)}),define(te[362],ie([1,0,106,2,175,49,78,23,45]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractEditorNavigationQuickAccessProvider=void 0;class v{constructor(s){this.options=s,this.rangeHighlightDecorationId=void 0}provide(s,i){var n;const t=new I.DisposableStore;s.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),s.matchOnLabel=s.matchOnDescription=s.matchOnDetail=s.sortByLabel=!1;const r=t.add(new I.MutableDisposable);return r.value=this.doProvide(s,i),t.add(this.onDidActiveTextEditorControlChange(()=>{r.value=void 0,r.value=this.doProvide(s,i)})),t}doProvide(s,i){var n;const t=new I.DisposableStore,r=this.activeTextEditorControl;if(r&&this.canProvideWithTextEditor(r)){const u={editor:r},f=(0,y.getCodeEditor)(r);if(f){let d=(n=r.saveViewState())!==null&&n!==void 0?n:void 0;t.add(f.onDidChangeCursorPosition(()=>{var l;d=(l=r.saveViewState())!==null&&l!==void 0?l:void 0})),u.restoreViewState=()=>{d&&r===this.activeTextEditorControl&&r.restoreViewState(d)},t.add((0,L.createSingleCallFunction)(i.onCancellationRequested)(()=>{var l;return(l=u.restoreViewState)===null||l===void 0?void 0:l.call(u)}))}t.add((0,I.toDisposable)(()=>this.clearDecorations(r))),t.add(this.provideWithTextEditor(u,s,i))}else t.add(this.provideWithoutTextEditor(s,i));return t}canProvideWithTextEditor(s){return!0}gotoLocation({editor:s},i){s.setSelection(i.range),s.revealRangeInCenter(i.range,0),i.preserveFocus||s.focus();const n=s.getModel();n&&"getLineContent"in n&&(0,_.status)(`${n.getLineContent(i.range.startLineNumber)}`)}getModel(s){var i;return(0,y.isDiffEditor)(s)?(i=s.getModel())===null||i===void 0?void 0:i.modified:s.getModel()}addDecorations(s,i){s.changeDecorations(n=>{const t=[];this.rangeHighlightDecorationId&&(t.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),t.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const r=[{range:i,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:i,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,m.themeColorFromId)(S.overviewRulerRangeHighlight),position:D.OverviewRulerLane.Full}}}],[u,f]=n.deltaDecorations(t,r);this.rangeHighlightDecorationId={rangeHighlightId:u,overviewRulerDecorationId:f}})}clearDecorations(s){const i=this.rangeHighlightDecorationId;i&&(s.changeDecorations(n=>{n.deltaDecorations([i.overviewRulerDecorationId,i.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}e.AbstractEditorNavigationQuickAccessProvider=v}),define(te[854],ie([1,0,2,175,362,692]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoLineQuickAccessProvider=void 0;class S extends y.AbstractEditorNavigationQuickAccessProvider{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(_){const v=(0,D.localize)(0,null);return _.items=[{label:v}],_.ariaLabel=v,L.Disposable.None}provideWithTextEditor(_,v,C){const s=_.editor,i=new L.DisposableStore;i.add(v.onDidAccept(r=>{const[u]=v.selectedItems;if(u){if(!this.isValidLineNumber(s,u.lineNumber))return;this.gotoLocation(_,{range:this.toRange(u.lineNumber,u.column),keyMods:v.keyMods,preserveFocus:r.inBackground}),r.inBackground||v.hide()}}));const n=()=>{const r=this.parsePosition(s,v.value.trim().substr(S.PREFIX.length)),u=this.getPickLabel(s,r.lineNumber,r.column);if(v.items=[{lineNumber:r.lineNumber,column:r.column,label:u}],v.ariaLabel=u,!this.isValidLineNumber(s,r.lineNumber)){this.clearDecorations(s);return}const f=this.toRange(r.lineNumber,r.column);s.revealRangeInCenter(f,0),this.addDecorations(s,f)};n(),i.add(v.onDidChangeValue(()=>n()));const t=(0,I.getCodeEditor)(s);return t&&t.getOptions().get(67).renderType===2&&(t.updateOptions({lineNumbers:"on"}),i.add((0,L.toDisposable)(()=>t.updateOptions({lineNumbers:"relative"})))),i}toRange(_=1,v=1){return{startLineNumber:_,startColumn:v,endLineNumber:_,endColumn:v}}parsePosition(_,v){const C=v.split(/,|:|#/).map(i=>parseInt(i,10)).filter(i=>!isNaN(i)),s=this.lineCount(_)+1;return{lineNumber:C[0]>0?C[0]:s+C[0],column:C[1]}}getPickLabel(_,v,C){if(this.isValidLineNumber(_,v))return this.isValidColumn(_,v,C)?(0,D.localize)(1,null,v,C):(0,D.localize)(2,null,v);const s=_.getPosition()||{lineNumber:1,column:1},i=this.lineCount(_);return i>1?(0,D.localize)(3,null,s.lineNumber,s.column,i):(0,D.localize)(4,null,s.lineNumber,s.column)}isValidLineNumber(_,v){return!v||typeof v!="number"?!1:v>0&&v<=this.lineCount(_)}isValidColumn(_,v,C){if(!C||typeof C!="number")return!1;const s=this.getModel(_);if(!s)return!1;const i={lineNumber:v,column:C};return s.validatePosition(i).equals(i)}lineCount(_){var v,C;return(C=(v=this.getModel(_))===null||v===void 0?void 0:v.getLineCount())!==null&&C!==void 0?C:0}}e.AbstractGotoLineQuickAccessProvider=S,S.PREFIX=":"}),define(te[855],ie([1,0,14,19,26,27,573,2,10,5,29,187,362,693,18,68]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractGotoSymbolQuickAccessProvider=void 0;let f=u=class extends i.AbstractEditorNavigationQuickAccessProvider{constructor(c,a,g=Object.create(null)){super(g),this._languageFeaturesService=c,this._outlineModelService=a,this.options=g,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(c){return this.provideLabelPick(c,(0,n.localize)(0,null)),m.Disposable.None}provideWithTextEditor(c,a,g){const h=c.editor,p=this.getModel(h);return p?this._languageFeaturesService.documentSymbolProvider.has(p)?this.doProvideWithEditorSymbols(c,p,a,g):this.doProvideWithoutEditorSymbols(c,p,a,g):m.Disposable.None}doProvideWithoutEditorSymbols(c,a,g,h){const p=new m.DisposableStore;return this.provideLabelPick(g,(0,n.localize)(1,null)),be(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(a,p))||h.isCancellationRequested||p.add(this.doProvideWithEditorSymbols(c,a,g,h))}),p}provideLabelPick(c,a){c.items=[{label:a,index:0,kind:14}],c.ariaLabel=a}waitForLanguageSymbolRegistry(c,a){return be(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(c))return!0;const g=new L.DeferredPromise,h=a.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(c)&&(h.dispose(),g.complete(!0))}));return a.add((0,m.toDisposable)(()=>g.complete(!1))),g.p})}doProvideWithEditorSymbols(c,a,g,h){var p;const b=c.editor,w=new m.DisposableStore;w.add(g.onDidAccept(R=>{const[B]=g.selectedItems;B&&B.range&&(this.gotoLocation(c,{range:B.range.selection,keyMods:g.keyMods,preserveFocus:R.inBackground}),R.inBackground||g.hide())})),w.add(g.onDidTriggerItemButton(({item:R})=>{R&&R.range&&(this.gotoLocation(c,{range:R.range.selection,keyMods:g.keyMods,forceSideBySide:!0}),g.hide())}));const E=this.getDocumentSymbols(a,h);let k;const M=R=>be(this,void 0,void 0,function*(){k?.dispose(!0),g.busy=!1,k=new I.CancellationTokenSource(h),g.busy=!0;try{const B=(0,S.prepareQuery)(g.value.substr(u.PREFIX.length).trim()),T=yield this.doGetSymbolPicks(E,B,void 0,k.token);if(h.isCancellationRequested)return;if(T.length>0){if(g.items=T,R&&B.original.length===0){const N=(0,r.findLast)(T,A=>!!(A.type!=="separator"&&A.range&&v.Range.containsPosition(A.range.decoration,R)));N&&(g.activeItems=[N])}}else B.original.length>0?this.provideLabelPick(g,(0,n.localize)(2,null)):this.provideLabelPick(g,(0,n.localize)(3,null))}finally{h.isCancellationRequested||(g.busy=!1)}});return w.add(g.onDidChangeValue(()=>M(void 0))),M((p=b.getSelection())===null||p===void 0?void 0:p.getPosition()),w.add(g.onDidChangeActive(()=>{const[R]=g.activeItems;R&&R.range&&(b.revealRangeInCenter(R.range.selection,0),this.addDecorations(b,R.range.decoration))})),w}doGetSymbolPicks(c,a,g,h){var p,b;return be(this,void 0,void 0,function*(){const w=yield c;if(h.isCancellationRequested)return[];const E=a.original.indexOf(u.SCOPE_PREFIX)===0,k=E?1:0;let M,R;a.values&&a.values.length>1?(M=(0,S.pieceToQuery)(a.values[0]),R=(0,S.pieceToQuery)(a.values.slice(1))):M=a;let B;const T=(b=(p=this.options)===null||p===void 0?void 0:p.openSideBySideDirection)===null||b===void 0?void 0:b.call(p);T&&(B=[{iconClass:T==="right"?D.ThemeIcon.asClassName(y.Codicon.splitHorizontal):D.ThemeIcon.asClassName(y.Codicon.splitVertical),tooltip:T==="right"?(0,n.localize)(4,null):(0,n.localize)(5,null)}]);const N=[];for(let O=0;Ok){let H=!1;if(M!==a&&([Y,ne]=(0,S.scoreFuzzy2)(U,Object.assign(Object.assign({},a),{values:void 0}),k,F),typeof Y=="number"&&(H=!0)),typeof Y!="number"&&([Y,ne]=(0,S.scoreFuzzy2)(U,M,k,F),typeof Y!="number"))continue;if(!H&&R){if(G&&R.original.length>0&&([se,J]=(0,S.scoreFuzzy2)(G,R)),typeof se!="number")continue;typeof Y=="number"&&(Y+=se)}}const q=x.tags&&x.tags.indexOf(1)>=0;N.push({index:O,kind:x.kind,score:Y,label:U,ariaLabel:(0,C.getAriaLabelForSymbol)(x.name,x.kind),description:G,highlights:q?void 0:{label:ne,description:J},range:{selection:v.Range.collapseToStart(x.selectionRange),decoration:x.range},strikethrough:q,buttons:B})}const A=N.sort((O,x)=>E?this.compareByKindAndScore(O,x):this.compareByScore(O,x));let P=[];if(E){let U=function(){x&&typeof O=="number"&&W>0&&(x.label=(0,_.format)(l[O]||d,W))},O,x,W=0;for(const F of A)O!==F.kind?(U(),O=F.kind,W=1,x={type:"separator"},P.push(x)):W++,P.push(F);U()}else A.length>0&&(P=[{label:(0,n.localize)(6,null,N.length),type:"separator"},...A]);return P})}compareByScore(c,a){if(typeof c.score!="number"&&typeof a.score=="number")return 1;if(typeof c.score=="number"&&typeof a.score!="number")return-1;if(typeof c.score=="number"&&typeof a.score=="number"){if(c.score>a.score)return-1;if(c.scorea.index?1:0}compareByKindAndScore(c,a){const g=l[c.kind]||d,h=l[a.kind]||d,p=g.localeCompare(h);return p===0?this.compareByScore(c,a):p}getDocumentSymbols(c,a){return be(this,void 0,void 0,function*(){const g=yield this._outlineModelService.getOrCreate(c,a);return a.isCancellationRequested?[]:g.asListOfDocumentSymbols()})}};e.AbstractGotoSymbolQuickAccessProvider=f,f.PREFIX="@",f.SCOPE_PREFIX=":",f.PREFIX_BY_CATEGORY=`${u.PREFIX}${u.SCOPE_PREFIX}`,e.AbstractGotoSymbolQuickAccessProvider=f=u=Ie([ge(0,t.ILanguageFeaturesService),ge(1,s.IOutlineModelService)],f);const d=(0,n.localize)(7,null),l={[5]:(0,n.localize)(8,null),[11]:(0,n.localize)(9,null),[8]:(0,n.localize)(10,null),[12]:(0,n.localize)(11,null),[4]:(0,n.localize)(12,null),[22]:(0,n.localize)(13,null),[23]:(0,n.localize)(14,null),[24]:(0,n.localize)(15,null),[10]:(0,n.localize)(16,null),[2]:(0,n.localize)(17,null),[3]:(0,n.localize)(18,null),[25]:(0,n.localize)(19,null),[1]:(0,n.localize)(20,null),[6]:(0,n.localize)(21,null),[9]:(0,n.localize)(22,null),[21]:(0,n.localize)(23,null),[14]:(0,n.localize)(24,null),[0]:(0,n.localize)(25,null),[17]:(0,n.localize)(26,null),[15]:(0,n.localize)(27,null),[16]:(0,n.localize)(28,null),[18]:(0,n.localize)(29,null),[19]:(0,n.localize)(30,null),[7]:(0,n.localize)(31,null),[13]:(0,n.localize)(32,null)}}),define(te[856],ie([1,0,2,12,696,15,34,31,23,463]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RenameInputField=e.CONTEXT_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_RENAME_INPUT_VISIBLE=new D.RawContextKey("renameInputVisible",!1,(0,y.localize)(0,null));let v=class{constructor(s,i,n,t,r){this._editor=s,this._acceptKeybindings=i,this._themeService=n,this._keybindingService=t,this._disposables=new L.DisposableStore,this.allowEditorOverflow=!0,this._visibleContextKey=e.CONTEXT_RENAME_INPUT_VISIBLE.bindTo(r),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(50)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,y.localize)(1,null)),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(s){var i,n,t,r;if(!this._input||!this._domNode)return;const u=s.getColor(m.widgetShadow),f=s.getColor(m.widgetBorder);this._domNode.style.backgroundColor=String((i=s.getColor(m.editorWidgetBackground))!==null&&i!==void 0?i:""),this._domNode.style.boxShadow=u?` 0 0 8px 2px ${u}`:"",this._domNode.style.border=f?`1px solid ${f}`:"",this._domNode.style.color=String((n=s.getColor(m.inputForeground))!==null&&n!==void 0?n:""),this._input.style.backgroundColor=String((t=s.getColor(m.inputBackground))!==null&&t!==void 0?t:"");const d=s.getColor(m.inputBorder);this._input.style.borderWidth=d?"1px":"0px",this._input.style.borderStyle=d?"solid":"none",this._input.style.borderColor=(r=d?.toString())!==null&&r!==void 0?r:"none"}_updateFont(){if(!this._input||!this._label)return;const s=this._editor.getOption(50);this._input.style.fontFamily=s.fontFamily,this._input.style.fontWeight=s.fontWeight,this._input.style.fontSize=`${s.fontSize}px`,this._label.style.fontSize=`${s.fontSize*.8}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}beforeRender(){var s,i;const[n,t]=this._acceptKeybindings;return this._label.innerText=(0,y.localize)(2,null,(s=this._keybindingService.lookupKeybinding(n))===null||s===void 0?void 0:s.getLabel(),(i=this._keybindingService.lookupKeybinding(t))===null||i===void 0?void 0:i.getLabel()),null}afterRender(s){s||this.cancelInput(!0)}acceptInput(s){var i;(i=this._currentAcceptInput)===null||i===void 0||i.call(this,s)}cancelInput(s){var i;(i=this._currentCancelInput)===null||i===void 0||i.call(this,s)}getInput(s,i,n,t,r,u){this._domNode.classList.toggle("preview",r),this._position=new I.Position(s.startLineNumber,s.startColumn),this._input.value=i,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",t.toString()),this._input.size=Math.max((s.endColumn-s.startColumn)*1.1,20);const f=new L.DisposableStore;return new Promise(d=>{this._currentCancelInput=l=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,d(l),!0),this._currentAcceptInput=l=>{if(this._input.value.trim().length===0||this._input.value===i){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,d({newName:this._input.value,wantsPreview:r&&l})},f.add(u.onCancellationRequested(()=>this.cancelInput(!0))),f.add(this._editor.onDidBlurEditorWidget(()=>{var l;return this.cancelInput(!(!((l=this._domNode)===null||l===void 0)&&l.ownerDocument.hasFocus()))})),this._show()}).finally(()=>{f.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};e.RenameInputField=v,e.RenameInputField=v=Ie([ge(2,_.IThemeService),ge(3,S.IKeybindingService),ge(4,D.IContextKeyService)],v)}),define(te[857],ie([1,0,45,14,19,9,2,20,21,103,16,130,33,12,5,22,185,189,695,95,15,8,66,48,85,35,856,18]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w){"use strict";var E;Object.defineProperty(e,"__esModule",{value:!0}),e.RenameAction=e.rename=void 0;class k{constructor(A,P,O){this.model=A,this.position=P,this._providerRenameIdx=0,this._providers=O.ordered(A)}hasProvider(){return this._providers.length>0}resolveRenameLocation(A){return be(this,void 0,void 0,function*(){const P=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?P.join(` +`):void 0}:{range:t.Range.fromPositions(this.position),text:"",rejectReason:P.length>0?P.join(` +`):void 0}})}provideRenameEdits(A,P){return be(this,void 0,void 0,function*(){return this._provideRenameEdits(A,this._providerRenameIdx,[],P)})}_provideRenameEdits(A,P,O,x){return be(this,void 0,void 0,function*(){const W=this._providers[P];if(!W)return{edits:[],rejectReason:O.join(` +`)};const U=yield W.provideRenameEdits(this.model,this.position,A,x);if(U){if(U.rejectReason)return this._provideRenameEdits(A,P+1,O.concat(U.rejectReason),x)}else return this._provideRenameEdits(A,P+1,O.concat(d.localize(0,null)),x);return U})}}function M(N,A,P,O){return be(this,void 0,void 0,function*(){const x=new k(A,P,N),W=yield x.resolveRenameLocation(y.CancellationToken.None);return W?.rejectReason?{edits:[],rejectReason:W.rejectReason}:x.provideRenameEdits(O,y.CancellationToken.None)})}e.rename=M;let R=E=class{static get(A){return A.getContribution(E.ID)}constructor(A,P,O,x,W,U,F,G){this.editor=A,this._instaService=P,this._notificationService=O,this._bulkEditService=x,this._progressService=W,this._logService=U,this._configService=F,this._languageFeaturesService=G,this._disposableStore=new S.DisposableStore,this._cts=new y.CancellationTokenSource,this._renameInputField=this._disposableStore.add(this._instaService.createInstance(b.RenameInputField,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var A,P;return be(this,void 0,void 0,function*(){if(this._cts.dispose(!0),this._cts=new y.CancellationTokenSource,!this.editor.hasModel())return;const O=this.editor.getPosition(),x=new k(this.editor.getModel(),O,this._languageFeaturesService.renameProvider);if(!x.hasProvider())return;const W=new v.EditorStateCancellationTokenSource(this.editor,5,void 0,this._cts.token);let U;try{const H=x.resolveRenameLocation(W.token);this._progressService.showWhile(H,250),U=yield H}catch(H){(A=f.MessageController.get(this.editor))===null||A===void 0||A.showMessage(H||d.localize(1,null),O);return}finally{W.dispose()}if(!U)return;if(U.rejectReason){(P=f.MessageController.get(this.editor))===null||P===void 0||P.showMessage(U.rejectReason,O);return}if(W.token.isCancellationRequested)return;const F=new v.EditorStateCancellationTokenSource(this.editor,5,U.range,this._cts.token),G=this.editor.getSelection();let Y=0,ne=U.text.length;!t.Range.isEmpty(G)&&!t.Range.spansMultipleLines(G)&&t.Range.containsRange(U.range,G)&&(Y=Math.max(0,G.startColumn-U.range.startColumn),ne=Math.min(U.range.endColumn,G.endColumn)-U.range.startColumn);const se=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),J=yield this._renameInputField.getInput(U.range,U.text,Y,ne,se,F.token);if(typeof J=="boolean"){J&&this.editor.focus(),F.dispose();return}this.editor.focus();const q=(0,I.raceCancellation)(x.provideRenameEdits(J.newName,F.token),F.token).then(H=>be(this,void 0,void 0,function*(){if(!(!H||!this.editor.hasModel())){if(H.rejectReason){this._notificationService.info(H.rejectReason);return}this.editor.setSelection(t.Range.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(H,{editor:this.editor,showPreview:J.wantsPreview,label:d.localize(2,null,U?.text,J.newName),code:"undoredo.rename",quotableLabel:d.localize(3,null,U?.text,J.newName),respectAutoSaveConfig:!0}).then(V=>{V.ariaSummary&&(0,L.alert)(d.localize(4,null,U.text,J.newName,V.ariaSummary))}).catch(V=>{this._notificationService.error(d.localize(5,null)),this._logService.error(V)})}}),H=>{this._notificationService.error(d.localize(6,null)),this._logService.error(H)}).finally(()=>{F.dispose()});return this._progressService.showWhile(q,250),q})}acceptRenameInput(A){this._renameInputField.acceptInput(A)}cancelRenameInput(){this._renameInputField.cancelInput(!0)}};R.ID="editor.contrib.renameController",R=E=Ie([ge(1,c.IInstantiationService),ge(2,g.INotificationService),ge(3,s.IBulkEditService),ge(4,h.IEditorProgressService),ge(5,a.ILogService),ge(6,u.ITextResourceConfigurationService),ge(7,w.ILanguageFeaturesService)],R);class B extends C.EditorAction{constructor(){super({id:"editor.action.rename",label:d.localize(7,null),alias:"Rename Symbol",precondition:o.ContextKeyExpr.and(r.EditorContextKeys.writable,r.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:r.EditorContextKeys.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(A,P){const O=A.get(i.ICodeEditorService),[x,W]=Array.isArray(P)&&P||[void 0,void 0];return _.URI.isUri(x)&&n.Position.isIPosition(W)?O.openCodeEditor({resource:x},O.getActiveCodeEditor()).then(U=>{U&&(U.setPosition(W),U.invokeWithinContext(F=>(this.reportTelemetry(F,U),this.run(F,U))))},D.onUnexpectedError):super.runCommand(A,P)}run(A,P){const O=R.get(P);return O?O.run():Promise.resolve()}}e.RenameAction=B,(0,C.registerEditorContribution)(R.ID,R,4),(0,C.registerEditorAction)(B);const T=C.EditorCommand.bindToContribution(R.get);(0,C.registerEditorCommand)(new T({id:"acceptRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:N=>N.acceptRenameInput(!1),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(r.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:3}})),(0,C.registerEditorCommand)(new T({id:"acceptRenameInputWithPreview",precondition:o.ContextKeyExpr.and(b.CONTEXT_RENAME_INPUT_VISIBLE,o.ContextKeyExpr.has("config.editor.rename.enablePreview")),handler:N=>N.acceptRenameInput(!0),kbOpts:{weight:100+99,kbExpr:o.ContextKeyExpr.and(r.EditorContextKeys.focus,o.ContextKeyExpr.not("isComposing")),primary:1024+3}})),(0,C.registerEditorCommand)(new T({id:"cancelRenameInput",precondition:b.CONTEXT_RENAME_INPUT_VISIBLE,handler:N=>N.cancelRenameInput(),kbOpts:{weight:100+99,kbExpr:r.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,C.registerModelAndPositionCommand)("_executeDocumentRenameProvider",function(N,A,P,...O){const[x]=O;(0,m.assertType)(typeof x=="string");const{renameProvider:W}=N.get(w.ILanguageFeaturesService);return M(W,A,P,x)}),(0,C.registerModelAndPositionCommand)("_executePrepareRename",function(N,A,P){return be(this,void 0,void 0,function*(){const{renameProvider:O}=N.get(w.ILanguageFeaturesService),W=yield new k(A,P,O).resolveRenameLocation(y.CancellationToken.None);if(W?.rejectReason)throw new Error(W.rejectReason);return W})}),p.Registry.as(l.Extensions.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:d.localize(8,null),default:!0,type:"boolean"}}})}),define(te[858],ie([1,0,2,9,50,28,14,19,23,250,337,74,59,18,234,147,301]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";var f;Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentSemanticTokensFeature=void 0;let d=class extends L.Disposable{constructor(a,g,h,p,b,w){super(),this._watchers=Object.create(null);const E=R=>{this._watchers[R.uri.toString()]=new l(R,a,h,b,w)},k=(R,B)=>{B.dispose(),delete this._watchers[R.uri.toString()]},M=()=>{for(const R of g.getModels()){const B=this._watchers[R.uri.toString()];(0,u.isSemanticColoringEnabled)(R,h,p)?B||E(R):B&&k(R,B)}};this._register(g.onModelAdded(R=>{(0,u.isSemanticColoringEnabled)(R,h,p)&&E(R)})),this._register(g.onModelRemoved(R=>{const B=this._watchers[R.uri.toString()];B&&k(R,B)})),this._register(p.onDidChangeConfiguration(R=>{R.affectsConfiguration(u.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&M()})),this._register(h.onDidColorThemeChange(M))}dispose(){for(const a of Object.values(this._watchers))a.dispose();super.dispose()}};e.DocumentSemanticTokensFeature=d,e.DocumentSemanticTokensFeature=d=Ie([ge(0,t.ISemanticTokensStylingService),ge(1,y.IModelService),ge(2,_.IThemeService),ge(3,D.IConfigurationService),ge(4,s.ILanguageFeatureDebounceService),ge(5,n.ILanguageFeaturesService)],d);let l=f=class extends L.Disposable{constructor(a,g,h,p,b){super(),this._semanticTokensStylingService=g,this._isDisposed=!1,this._model=a,this._provider=b.documentSemanticTokensProvider,this._debounceInformation=p.for(this._provider,"DocumentSemanticTokens",{min:f.REQUEST_MIN_DELAY,max:f.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new S.RunOnceScheduler(()=>this._fetchDocumentSemanticTokensNow(),f.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const w=()=>{(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const E of this._provider.all(a))typeof E.onDidChange=="function"&&this._documentProvidersChangeListeners.push(E.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};w(),this._register(this._provider.onDidChange(()=>{w(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(h.onDidColorThemeChange(E=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),(0,L.dispose)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,C.hasDocumentSemanticTokensProvider)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;const a=new m.CancellationTokenSource,g=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,h=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,p=(0,C.getDocumentSemanticTokens)(this._provider,this._model,g,h,a.token);this._currentDocumentRequestCancellationTokenSource=a,this._providersChangedDuringRequest=!1;const b=[],w=this._model.onDidChangeContent(k=>{b.push(k)}),E=new i.StopWatch(!1);p.then(k=>{if(this._debounceInformation.update(this._model,E.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),!k)this._setDocumentSemanticTokens(null,null,null,b);else{const{provider:M,tokens:R}=k,B=this._semanticTokensStylingService.getStyling(M);this._setDocumentSemanticTokens(M,R||null,B,b)}},k=>{k&&(I.isCancellationError(k)||typeof k.message=="string"&&k.message.indexOf("busy")!==-1)||I.onUnexpectedError(k),this._currentDocumentRequestCancellationTokenSource=null,w.dispose(),(b.length>0||this._providersChangedDuringRequest)&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(a,g,h,p,b){b=Math.min(b,h.length-p,a.length-g);for(let w=0;w{(p.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){a&&g&&a.releaseDocumentSemanticTokens(g.resultId);return}if(!a||!h){this._model.tokenization.setSemanticTokens(null,!1);return}if(!g){this._model.tokenization.setSemanticTokens(null,!0),w();return}if((0,C.isSemanticTokensEdits)(g)){if(!b){this._model.tokenization.setSemanticTokens(null,!0);return}if(g.edits.length===0)g={resultId:g.resultId,data:b.data};else{let E=0;for(const T of g.edits)E+=(T.data?T.data.length:0)-T.deleteCount;const k=b.data,M=new Uint32Array(k.length+E);let R=k.length,B=M.length;for(let T=g.edits.length-1;T>=0;T--){const N=g.edits[T];if(N.start>k.length){h.warnInvalidEditStart(b.resultId,g.resultId,T,N.start,k.length),this._model.tokenization.setSemanticTokens(null,!0);return}const A=R-(N.start+N.deleteCount);A>0&&(f._copy(k,R-A,M,B-A,A),B-=A),N.data&&(f._copy(N.data,0,M,B-N.data.length,N.data.length),B-=N.data.length),R=N.start}R>0&&f._copy(k,0,M,0,R),g={resultId:g.resultId,data:M}}}if((0,C.isSemanticTokens)(g)){this._currentDocumentResponse=new o(a,g.resultId,g.data);const E=(0,v.toMultilineTokens2)(g,h,this._model.getLanguageId());if(p.length>0)for(const k of p)for(const M of E)for(const R of k.changes)M.applyEdit(R.range,R.text);this._model.tokenization.setSemanticTokens(E,!0)}else this._model.tokenization.setSemanticTokens(null,!0);w()}};l.REQUEST_MIN_DELAY=300,l.REQUEST_MAX_DELAY=2e3,l=f=Ie([ge(1,t.ISemanticTokensStylingService),ge(2,_.IThemeService),ge(3,s.ILanguageFeatureDebounceService),ge(4,n.ILanguageFeaturesService)],l);class o{constructor(a,g,h){this.provider=a,this.resultId=g,this.data=h}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}(0,r.registerEditorFeature)(d)}),define(te[859],ie([1,0,14,2,16,337,301,250,28,23,74,59,18,234]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewportSemanticTokensContribution=void 0;let t=class extends I.Disposable{constructor(u,f,d,l,o,c){super(),this._semanticTokensStylingService=f,this._themeService=d,this._configurationService=l,this._editor=u,this._provider=c.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new L.RunOnceScheduler(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const a=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{a()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),a()})),this._register(this._editor.onDidChangeModelContent(g=>{this._cancelAll(),a()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),a()})),this._register(this._configurationService.onDidChangeConfiguration(g=>{g.affectsConfiguration(S.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&(this._cancelAll(),a())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),a()})),a()}_cancelAll(){for(const u of this._outstandingRequests)u.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(u){for(let f=0,d=this._outstandingRequests.length;fthis._requestRange(u,d)))}_requestRange(u,f){const d=u.getVersionId(),l=(0,L.createCancelablePromise)(c=>Promise.resolve((0,D.getDocumentRangeSemanticTokens)(this._provider,u,f,c))),o=new s.StopWatch(!1);return l.then(c=>{if(this._debounceInformation.update(u,o.elapsed()),!c||!c.tokens||u.isDisposed()||u.getVersionId()!==d)return;const{provider:a,tokens:g}=c,h=this._semanticTokensStylingService.getStyling(a);u.tokenization.setPartialSemanticTokens(f,(0,m.toMultilineTokens2)(g,h,u.getLanguageId()))}).then(()=>this._removeOutstandingRequest(l),()=>this._removeOutstandingRequest(l)),l}};e.ViewportSemanticTokensContribution=t,t.ID="editor.contrib.viewportSemanticTokens",e.ViewportSemanticTokensContribution=t=Ie([ge(1,n.ISemanticTokensStylingService),ge(2,v.IThemeService),ge(3,_.IConfigurationService),ge(4,C.ILanguageFeatureDebounceService),ge(5,i.ILanguageFeaturesService)],t),(0,y.registerEditorContribution)(t.ID,t,1)}),define(te[860],ie([1,0,7,226,26,27,6,69,2,21,29,776,50,42,705,334,77,23,348]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemRenderer=e.getAriaId=void 0;function o(p){return`suggest-aria-id:${p}`}e.getAriaId=o;const c=(0,u.registerIcon)("suggest-more-info",y.Codicon.chevronRight,t.localize(0,null)),a=new(l=class{extract(b,w){if(b.textLabel.match(l._regexStrict))return w[0]=b.textLabel,!0;if(b.completion.detail&&b.completion.detail.match(l._regexStrict))return w[0]=b.completion.detail,!0;if(typeof b.completion.documentation=="string"){const E=l._regexRelaxed.exec(b.completion.documentation);if(E&&(E.index===0||E.index+E[0].length===b.completion.documentation.length))return w[0]=E[0],!0}return!1}},l._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,l._regexStrict=new RegExp(`^${l._regexRelaxed.source}$`,"i"),l);let g=class{constructor(b,w,E,k){this._editor=b,this._modelService=w,this._languageService=E,this._themeService=k,this._onDidToggleDetails=new S.Emitter,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(b){const w=new _.DisposableStore,E=b;E.classList.add("show-file-icons");const k=(0,L.append)(b,(0,L.$)(".icon")),M=(0,L.append)(k,(0,L.$)("span.colorspan")),R=(0,L.append)(b,(0,L.$)(".contents")),B=(0,L.append)(R,(0,L.$)(".main")),T=(0,L.append)(B,(0,L.$)(".icon-label.codicon")),N=(0,L.append)(B,(0,L.$)("span.left")),A=(0,L.append)(B,(0,L.$)("span.right")),P=new I.IconLabel(N,{supportHighlights:!0,supportIcons:!0});w.add(P);const O=(0,L.append)(N,(0,L.$)("span.signature-label")),x=(0,L.append)(N,(0,L.$)("span.qualifier-label")),W=(0,L.append)(A,(0,L.$)("span.details-label")),U=(0,L.append)(A,(0,L.$)("span.readMore"+D.ThemeIcon.asCSSSelector(c)));U.title=t.localize(1,null);const F=()=>{const G=this._editor.getOptions(),Y=G.get(50),ne=Y.getMassagedFontFamily(),se=Y.fontFeatureSettings,J=G.get(118)||Y.fontSize,q=G.get(119)||Y.lineHeight,H=Y.fontWeight,V=Y.letterSpacing,Z=`${J}px`,ee=`${q}px`,le=`${V}px`;E.style.fontSize=Z,E.style.fontWeight=H,E.style.letterSpacing=le,B.style.fontFamily=ne,B.style.fontFeatureSettings=se,B.style.lineHeight=ee,k.style.height=ee,k.style.width=ee,U.style.height=ee,U.style.width=ee};return F(),w.add(this._editor.onDidChangeConfiguration(G=>{(G.hasChanged(50)||G.hasChanged(118)||G.hasChanged(119))&&F()})),{root:E,left:N,right:A,icon:k,colorspan:M,iconLabel:P,iconContainer:T,parametersLabel:O,qualifierLabel:x,detailsLabel:W,readMore:U,disposables:w}}renderElement(b,w,E){const{completion:k}=b;E.root.id=o(w),E.colorspan.style.backgroundColor="";const M={labelEscapeNewLines:!0,matches:(0,m.createMatches)(b.score)},R=[];if(k.kind===19&&a.extract(b,R))E.icon.className="icon customcolor",E.iconContainer.className="icon hide",E.colorspan.style.backgroundColor=R[0];else if(k.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){E.icon.className="icon hide",E.iconContainer.className="icon hide";const B=(0,s.getIconClasses)(this._modelService,this._languageService,v.URI.from({scheme:"fake",path:b.textLabel}),r.FileKind.FILE),T=(0,s.getIconClasses)(this._modelService,this._languageService,v.URI.from({scheme:"fake",path:k.detail}),r.FileKind.FILE);M.extraClasses=B.length>T.length?B:T}else k.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(E.icon.className="icon hide",E.iconContainer.className="icon hide",M.extraClasses=[(0,s.getIconClasses)(this._modelService,this._languageService,v.URI.from({scheme:"fake",path:b.textLabel}),r.FileKind.FOLDER),(0,s.getIconClasses)(this._modelService,this._languageService,v.URI.from({scheme:"fake",path:k.detail}),r.FileKind.FOLDER)].flat()):(E.icon.className="icon hide",E.iconContainer.className="",E.iconContainer.classList.add("suggest-icon",...D.ThemeIcon.asClassNameArray(C.CompletionItemKinds.toIcon(k.kind))));k.tags&&k.tags.indexOf(1)>=0&&(M.extraClasses=(M.extraClasses||[]).concat(["deprecated"]),M.matches=[]),E.iconLabel.setLabel(b.textLabel,void 0,M),typeof k.label=="string"?(E.parametersLabel.textContent="",E.detailsLabel.textContent=h(k.detail||""),E.root.classList.add("string-label")):(E.parametersLabel.textContent=h(k.label.detail||""),E.detailsLabel.textContent=h(k.label.description||""),E.root.classList.remove("string-label")),this._editor.getOption(117).showInlineDetails?(0,L.show)(E.detailsLabel):(0,L.hide)(E.detailsLabel),(0,d.canExpandCompletionItem)(b)?(E.right.classList.add("can-expand-details"),(0,L.show)(E.readMore),E.readMore.onmousedown=B=>{B.stopPropagation(),B.preventDefault()},E.readMore.onclick=B=>{B.stopPropagation(),B.preventDefault(),this._onDidToggleDetails.fire()}):(E.right.classList.remove("can-expand-details"),(0,L.hide)(E.readMore),E.readMore.onmousedown=null,E.readMore.onclick=null)}disposeTemplate(b){b.disposables.dispose()}};e.ItemRenderer=g,e.ItemRenderer=g=Ie([ge(1,i.IModelService),ge(2,n.ILanguageService),ge(3,f.IThemeService)],g);function h(p){return p.replace(/\r\n|\r|\n/g,"")}}),define(te[861],ie([1,0,854,35,134,33,93,6,16,22,67]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoLineAction=e.StandaloneGotoLineQuickAccessProvider=void 0;let s=class extends L.AbstractGotoLineQuickAccessProvider{constructor(t){super(),this.editorService=t,this.onDidActiveTextEditorControlChange=m.Event.None}get activeTextEditorControl(){var t;return(t=this.editorService.getFocusedCodeEditor())!==null&&t!==void 0?t:void 0}};e.StandaloneGotoLineQuickAccessProvider=s,e.StandaloneGotoLineQuickAccessProvider=s=Ie([ge(0,D.ICodeEditorService)],s);class i extends _.EditorAction{constructor(){super({id:i.ID,label:S.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:v.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})}run(t){t.get(C.IQuickInputService).quickAccess.show(s.PREFIX)}}e.GotoLineAction=i,i.ID="editor.action.gotoLine",(0,_.registerEditorAction)(i),I.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:s,prefix:s.PREFIX,helpEntries:[{description:S.GoToLineNLS.gotoLineActionLabel,commandId:i.ID}]})}),define(te[862],ie([1,0,855,35,134,33,93,6,16,22,67,187,18,171,248]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GotoSymbolAction=e.StandaloneGotoSymbolQuickAccessProvider=void 0;let n=class extends L.AbstractGotoSymbolQuickAccessProvider{constructor(u,f,d){super(f,d),this.editorService=u,this.onDidActiveTextEditorControlChange=m.Event.None}get activeTextEditorControl(){var u;return(u=this.editorService.getFocusedCodeEditor())!==null&&u!==void 0?u:void 0}};e.StandaloneGotoSymbolQuickAccessProvider=n,e.StandaloneGotoSymbolQuickAccessProvider=n=Ie([ge(0,D.ICodeEditorService),ge(1,i.ILanguageFeaturesService),ge(2,s.IOutlineModelService)],n);class t extends _.EditorAction{constructor(){super({id:t.ID,label:S.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:v.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:v.EditorContextKeys.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(u){u.get(C.IQuickInputService).quickAccess.show(L.AbstractGotoSymbolQuickAccessProvider.PREFIX,{itemActivation:C.ItemActivation.NONE})}}e.GotoSymbolAction=t,t.ID="editor.action.quickOutline",(0,_.registerEditorAction)(t),I.Registry.as(y.Extensions.Quickaccess).registerQuickAccessProvider({ctor:n,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,helpEntries:[{description:S.QuickOutlineNLS.quickOutlineActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX,commandId:t.ID},{description:S.QuickOutlineNLS.quickOutlineByCategoryActionLabel,prefix:L.AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY}]})}),define(te[363],ie([1,0,7,54,840,33,15,47,23]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneCodeEditorService=void 0;let v=class extends y.AbstractCodeEditorService{constructor(s,i){super(i),this._register(this.onCodeEditorAdd(()=>this._checkContextKey())),this._register(this.onCodeEditorRemove(()=>this._checkContextKey())),this._editorIsOpen=s.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this._register(this.registerCodeEditorOpenHandler((n,t,r)=>be(this,void 0,void 0,function*(){return t?this.doOpenEditor(t,n):null})))}_checkContextKey(){let s=!1;for(const i of this.listCodeEditors())if(!i.isSimpleWidget){s=!0;break}this._editorIsOpen.set(s)}setActiveCodeEditor(s){this._activeCodeEditor=s}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(s,i){if(!this.findModel(s,i.resource)){if(i.resource){const r=i.resource.scheme;if(r===I.Schemas.http||r===I.Schemas.https)return(0,L.windowOpenNoOpener)(i.resource.toString()),s}return null}const t=i.options?i.options.selection:null;if(t)if(typeof t.endLineNumber=="number"&&typeof t.endColumn=="number")s.setSelection(t),s.revealRangeInCenter(t,1);else{const r={lineNumber:t.startLineNumber,column:t.startColumn};s.setPosition(r),s.revealPositionInCenter(r,1)}return s}findModel(s,i){const n=s.getModel();return n&&n.uri.toString()!==i.toString()?null:n}};e.StandaloneCodeEditorService=v,e.StandaloneCodeEditorService=v=Ie([ge(0,S.IContextKeyService),ge(1,_.IThemeService)],v),(0,m.registerSingleton)(D.ICodeEditorService,v,0)}),define(te[863],ie([1,0,78,31]),function($,e,L,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hc_light=e.hc_black=e.vs_dark=e.vs=void 0,e.vs={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[I.editorBackground]:"#FFFFFE",[I.editorForeground]:"#000000",[I.editorInactiveSelection]:"#E5EBF1",[L.editorIndentGuide1]:"#D3D3D3",[L.editorActiveIndentGuide1]:"#939393",[I.editorSelectionHighlight]:"#ADD6FF4D"}},e.vs_dark={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[I.editorBackground]:"#1E1E1E",[I.editorForeground]:"#D4D4D4",[I.editorInactiveSelection]:"#3A3D41",[L.editorIndentGuide1]:"#404040",[L.editorActiveIndentGuide1]:"#707070",[I.editorSelectionHighlight]:"#ADD6FF26"}},e.hc_black={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[I.editorBackground]:"#000000",[I.editorForeground]:"#FFFFFF",[L.editorIndentGuide1]:"#FFFFFF",[L.editorActiveIndentGuide1]:"#FFFFFF"}},e.hc_light={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[I.editorBackground]:"#FFFFFF",[I.editorForeground]:"#292929",[L.editorIndentGuide1]:"#292929",[L.editorActiveIndentGuide1]:"#292929"}}}),define(te[364],ie([1,0,7,51,36,6,29,124,507,863,35,31,23,2,86,834]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneThemeService=e.HC_LIGHT_THEME_NAME=e.HC_BLACK_THEME_NAME=e.VS_DARK_THEME_NAME=e.VS_LIGHT_THEME_NAME=void 0,e.VS_LIGHT_THEME_NAME="vs",e.VS_DARK_THEME_NAME="vs-dark",e.HC_BLACK_THEME_NAME="hc-black",e.HC_LIGHT_THEME_NAME="hc-light";const u=C.Registry.as(s.Extensions.ColorContribution),f=C.Registry.as(i.Extensions.ThemingContribution);class d{constructor(h,p){this.semanticHighlighting=!1,this.themeData=p;const b=p.base;h.length>0?(l(h)?this.id=h:this.id=b+" "+h,this.themeName=h):(this.id=b,this.themeName=b),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const h=new Map;for(const p in this.themeData.colors)h.set(p,y.Color.fromHex(this.themeData.colors[p]));if(this.themeData.inherit){const p=o(this.themeData.base);for(const b in p.colors)h.has(b)||h.set(b,y.Color.fromHex(p.colors[b]))}this.colors=h}return this.colors}getColor(h,p){const b=this.getColors().get(h);if(b)return b;if(p!==!1)return this.getDefault(h)}getDefault(h){let p=this.defaultColors[h];return p||(p=u.resolveDefaultColor(h,this),this.defaultColors[h]=p,p)}defines(h){return this.getColors().has(h)}get type(){switch(this.base){case e.VS_LIGHT_THEME_NAME:return t.ColorScheme.LIGHT;case e.HC_BLACK_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_DARK;case e.HC_LIGHT_THEME_NAME:return t.ColorScheme.HIGH_CONTRAST_LIGHT;default:return t.ColorScheme.DARK}}get tokenTheme(){if(!this._tokenTheme){let h=[],p=[];if(this.themeData.inherit){const E=o(this.themeData.base);h=E.rules,E.encodedTokensColors&&(p=E.encodedTokensColors)}const b=this.themeData.colors["editor.foreground"],w=this.themeData.colors["editor.background"];if(b||w){const E={token:""};b&&(E.foreground=b),w&&(E.background=w),h.push(E)}h=h.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(p=this.themeData.encodedTokensColors),this._tokenTheme=_.TokenTheme.createFromRawTokenTheme(h,p)}return this._tokenTheme}getTokenStyleMetadata(h,p,b){const E=this.tokenTheme._match([h].concat(p).join(".")).metadata,k=m.TokenMetadata.getForeground(E),M=m.TokenMetadata.getFontStyle(E);return{foreground:k,italic:!!(M&1),bold:!!(M&2),underline:!!(M&4),strikethrough:!!(M&8)}}}function l(g){return g===e.VS_LIGHT_THEME_NAME||g===e.VS_DARK_THEME_NAME||g===e.HC_BLACK_THEME_NAME||g===e.HC_LIGHT_THEME_NAME}function o(g){switch(g){case e.VS_LIGHT_THEME_NAME:return v.vs;case e.VS_DARK_THEME_NAME:return v.vs_dark;case e.HC_BLACK_THEME_NAME:return v.hc_black;case e.HC_LIGHT_THEME_NAME:return v.hc_light}}function c(g){const h=o(g);return new d(g,h)}class a extends n.Disposable{constructor(){super(),this._onColorThemeChange=this._register(new D.Emitter),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new D.Emitter),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new r.UnthemedProductIconTheme,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(e.VS_LIGHT_THEME_NAME,c(e.VS_LIGHT_THEME_NAME)),this._knownThemes.set(e.VS_DARK_THEME_NAME,c(e.VS_DARK_THEME_NAME)),this._knownThemes.set(e.HC_BLACK_THEME_NAME,c(e.HC_BLACK_THEME_NAME)),this._knownThemes.set(e.HC_LIGHT_THEME_NAME,c(e.HC_LIGHT_THEME_NAME));const h=this._register((0,r.getIconsStyleSheet)(this));this._codiconCSS=h.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} +${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(e.VS_LIGHT_THEME_NAME),this._onOSSchemeChanged(),this._register(h.onDidChange(()=>{this._codiconCSS=h.getCSS(),this._updateCSS()})),(0,I.addMatchMediaChangeListener)("(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(h){return L.isInShadowDOM(h)?this._registerShadowDomContainer(h):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=L.createStyleSheet(void 0,h=>{h.className="monaco-colors",h.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),n.Disposable.None}_registerShadowDomContainer(h){const p=L.createStyleSheet(h,b=>{b.className="monaco-colors",b.textContent=this._allCSS});return this._styleElements.push(p),{dispose:()=>{for(let b=0;b{b.base===h&&b.notifyBaseUpdated()}),this._theme.themeName===h&&this.setTheme(h)}getColorTheme(){return this._theme}setColorMapOverride(h){this._colorMapOverride=h,this._updateThemeOrColorMap()}setTheme(h){let p;this._knownThemes.has(h)?p=this._knownThemes.get(h):p=this._knownThemes.get(e.VS_LIGHT_THEME_NAME),this._updateActualTheme(p)}_updateActualTheme(h){!h||this._theme===h||(this._theme=h,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){const h=window.matchMedia("(forced-colors: active)").matches;if(h!==(0,t.isHighContrast)(this._theme.type)){let p;(0,t.isDark)(this._theme.type)?p=h?e.HC_BLACK_THEME_NAME:e.VS_DARK_THEME_NAME:p=h?e.HC_LIGHT_THEME_NAME:e.VS_LIGHT_THEME_NAME,this._updateActualTheme(this._knownThemes.get(p))}}}setAutoDetectHighContrast(h){this._autoDetectHighContrast=h,this._onOSSchemeChanged()}_updateThemeOrColorMap(){const h=[],p={},b={addRule:k=>{p[k]||(h.push(k),p[k]=!0)}};f.getThemingParticipants().forEach(k=>k(this._theme,b,this._environment));const w=[];for(const k of u.getColors()){const M=this._theme.getColor(k.id,!0);M&&w.push(`${(0,s.asCssVariableName)(k.id)}: ${M.toString()};`)}b.addRule(`.monaco-editor, .monaco-diff-editor { ${w.join(` +`)} }`);const E=this._colorMapOverride||this._theme.tokenTheme.getColorMap();b.addRule((0,_.generateTokensCSSForColorMap)(E)),this._themeCSS=h.join(` +`),this._updateCSS(),S.TokenizationRegistry.setColorMap(E),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS} +${this._themeCSS}`,this._styleElements.forEach(h=>h.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}e.StandaloneThemeService=a}),define(te[864],ie([1,0,16,131,93,86,364]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class m extends L.EditorAction{constructor(){super({id:"editor.action.toggleHighContrast",label:y.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(v,C){const s=v.get(I.IStandaloneThemeService),i=s.getColorTheme();(0,D.isHighContrast)(i.type)?(s.setTheme(this._originalThemeName||((0,D.isDark)(i.type)?S.VS_DARK_THEME_NAME:S.VS_LIGHT_THEME_NAME)),this._originalThemeName=null):(s.setTheme((0,D.isDark)(i.type)?S.HC_BLACK_THEME_NAME:S.HC_LIGHT_THEME_NAME),this._originalThemeName=i.themeName)}}(0,L.registerEditorAction)(m)}),define(te[160],ie([1,0,7,44,129,320,41,216,2,17,718,30,741,15,58,8,34,48,89,23,27,86,20,31,104,88,476]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createActionViewItem=e.DropdownWithDefaultActionViewItem=e.SubmenuEntryActionViewItem=e.MenuEntryActionViewItem=e.createAndFillInActionBarActions=e.createAndFillInContextMenuActions=void 0;function b(N,A,P,O){const x=N.getActions(A),W=L.ModifierKeyEmitter.getInstance(),U=W.keyStatus.altKey||(v.isWindows||v.isLinux)&&W.keyStatus.shiftKey;E(x,P,U,O?F=>F===O:F=>F==="navigation")}e.createAndFillInContextMenuActions=b;function w(N,A,P,O,x,W){const U=N.getActions(A);E(U,P,!1,typeof O=="string"?G=>G===O:O,x,W)}e.createAndFillInActionBarActions=w;function E(N,A,P,O=U=>U==="navigation",x=()=>!1,W=!1){let U,F;Array.isArray(A)?(U=A,F=A):(U=A.primary,F=A.secondary);const G=new Set;for(const[Y,ne]of N){let se;O(Y)?(se=U,se.length>0&&W&&se.push(new S.Separator)):(se=F,se.length>0&&se.push(new S.Separator));for(let J of ne){P&&(J=J instanceof s.MenuItemAction&&J.alt?J.alt:J);const q=se.push(J);J instanceof S.SubmenuAction&&G.add({group:Y,action:J,index:q-1})}}for(const{group:Y,action:ne,index:se}of G){const J=O(Y)?U:F,q=ne.actions;x(ne,Y,J.length)&&J.splice(se,1,...q)}}let k=class extends y.ActionViewItem{constructor(A,P,O,x,W,U,F,G){super(void 0,A,{icon:!!(A.class||A.item.icon),label:!A.class&&!A.item.icon,draggable:P?.draggable,keybinding:P?.keybinding,hoverDelegate:P?.hoverDelegate}),this._keybindingService=O,this._notificationService=x,this._contextKeyService=W,this._themeService=U,this._contextMenuService=F,this._accessibilityService=G,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new _.MutableDisposable),this._altKey=L.ModifierKeyEmitter.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(A){return be(this,void 0,void 0,function*(){A.preventDefault(),A.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(P){this._notificationService.error(P)}})}render(A){if(super.render(A),A.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let P=!1;const O=()=>{var x;const W=!!(!((x=this._menuItemAction.alt)===null||x===void 0)&&x.enabled)&&(!this._accessibilityService.isMotionReduced()||P)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&P);W!==this._wantsAltCommand&&(this._wantsAltCommand=W,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(O)),this._register((0,L.addDisposableListener)(A,"mouseleave",x=>{P=!1,O()})),this._register((0,L.addDisposableListener)(A,"mouseenter",x=>{P=!0,O()})),O()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var A;const P=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),O=P&&P.getLabel(),x=this._commandAction.tooltip||this._commandAction.label;let W=O?(0,C.localize)(0,null,x,O):x;if(!this._wantsAltCommand&&(!((A=this._menuItemAction.alt)===null||A===void 0)&&A.enabled)){const U=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,F=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),G=F&&F.getLabel(),Y=G?(0,C.localize)(1,null,U,G):U;W=(0,C.localize)(2,null,W,m.UILabelProvider.modifierLabels[v.OS].altKey,Y)}return W}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(A){this._itemClassDispose.value=void 0;const{element:P,label:O}=this;if(!P||!O)return;const x=this._commandAction.checked&&(0,i.isICommandActionToggleInfo)(A.toggled)&&A.toggled.icon?A.toggled.icon:A.icon;if(x)if(o.ThemeIcon.isThemeIcon(x)){const W=o.ThemeIcon.asClassNameArray(x);O.classList.add(...W),this._itemClassDispose.value=(0,_.toDisposable)(()=>{O.classList.remove(...W)})}else{const W=(0,c.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(x.dark):(0,L.asCSSUrl)(x.light),U=(0,L.$)("span");U.style.webkitMask=U.style.mask=`${W} no-repeat 50% 50%`,U.style.background="var(--vscode-icon-foreground)",U.style.display="inline-block",U.style.width="100%",U.style.height="100%",O.appendChild(U),O.classList.add("icon"),this._itemClassDispose.value=(0,_.combinedDisposable)((0,_.toDisposable)(()=>{O.classList.remove("icon"),(0,L.reset)(O)}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}}};e.MenuEntryActionViewItem=k,e.MenuEntryActionViewItem=k=Ie([ge(2,u.IKeybindingService),ge(3,f.INotificationService),ge(4,n.IContextKeyService),ge(5,l.IThemeService),ge(6,t.IContextMenuService),ge(7,p.IAccessibilityService)],k);let M=class extends D.DropdownMenuActionViewItem{constructor(A,P,O,x,W){var U,F,G;const Y=Object.assign(Object.assign({},P),{menuAsChild:(U=P?.menuAsChild)!==null&&U!==void 0?U:!1,classNames:(F=P?.classNames)!==null&&F!==void 0?F:o.ThemeIcon.isThemeIcon(A.item.icon)?o.ThemeIcon.asClassName(A.item.icon):void 0,keybindingProvider:(G=P?.keybindingProvider)!==null&&G!==void 0?G:ne=>O.lookupKeybinding(ne.id)});super(A,{getActions:()=>A.actions},x,Y),this._keybindingService=O,this._contextMenuService=x,this._themeService=W}render(A){super.render(A),(0,a.assertType)(this.element),A.classList.add("menu-entry");const P=this._action,{icon:O}=P.item;if(O&&!o.ThemeIcon.isThemeIcon(O)){this.element.classList.add("icon");const x=()=>{this.element&&(this.element.style.backgroundImage=(0,c.isDark)(this._themeService.getColorTheme().type)?(0,L.asCSSUrl)(O.dark):(0,L.asCSSUrl)(O.light))};x(),this._register(this._themeService.onDidColorThemeChange(()=>{x()}))}}};e.SubmenuEntryActionViewItem=M,e.SubmenuEntryActionViewItem=M=Ie([ge(2,u.IKeybindingService),ge(3,t.IContextMenuService),ge(4,l.IThemeService)],M);let R=class extends y.BaseActionViewItem{constructor(A,P,O,x,W,U,F,G){var Y,ne,se;super(null,A),this._keybindingService=O,this._notificationService=x,this._contextMenuService=W,this._menuService=U,this._instaService=F,this._storageService=G,this._container=null,this._options=P,this._storageKey=`${A.item.submenu.id}_lastActionId`;let J;const q=P?.persistLastActionId?G.get(this._storageKey,1):void 0;q&&(J=A.actions.find(V=>q===V.id)),J||(J=A.actions[0]),this._defaultAction=this._instaService.createInstance(k,J,{keybinding:this._getDefaultActionKeybindingLabel(J)});const H=Object.assign(Object.assign({keybindingProvider:V=>this._keybindingService.lookupKeybinding(V.id)},P),{menuAsChild:(Y=P?.menuAsChild)!==null&&Y!==void 0?Y:!0,classNames:(ne=P?.classNames)!==null&&ne!==void 0?ne:["codicon","codicon-chevron-down"],actionRunner:(se=P?.actionRunner)!==null&&se!==void 0?se:new S.ActionRunner});this._dropdown=new D.DropdownMenuActionViewItem(A,A.actions,this._contextMenuService,H),this._dropdown.actionRunner.onDidRun(V=>{V.action instanceof s.MenuItemAction&&this.update(V.action)})}update(A){var P;!((P=this._options)===null||P===void 0)&&P.persistLastActionId&&this._storageService.store(this._storageKey,A.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(k,A,{keybinding:this._getDefaultActionKeybindingLabel(A)}),this._defaultAction.actionRunner=new class extends S.ActionRunner{runAction(O,x){return be(this,void 0,void 0,function*(){yield O.run(void 0)})}},this._container&&this._defaultAction.render((0,L.prepend)(this._container,(0,L.$)(".action-container")))}_getDefaultActionKeybindingLabel(A){var P;let O;if(!((P=this._options)===null||P===void 0)&&P.renderKeybindingWithDefaultActionLabel){const x=this._keybindingService.lookupKeybinding(A.id);x&&(O=`(${x.getLabel()})`)}return O}setActionContext(A){super.setActionContext(A),this._defaultAction.setActionContext(A),this._dropdown.setActionContext(A)}render(A){this._container=A,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const P=(0,L.$)(".action-container");this._defaultAction.render((0,L.append)(this._container,P)),this._register((0,L.addDisposableListener)(P,L.EventType.KEY_DOWN,x=>{const W=new I.StandardKeyboardEvent(x);W.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),W.stopPropagation())}));const O=(0,L.$)(".dropdown-action-container");this._dropdown.render((0,L.append)(this._container,O)),this._register((0,L.addDisposableListener)(O,L.EventType.KEY_DOWN,x=>{var W;const U=new I.StandardKeyboardEvent(x);U.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(W=this._defaultAction.element)===null||W===void 0||W.focus(),U.stopPropagation())}))}focus(A){A?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(A){A?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};e.DropdownWithDefaultActionViewItem=R,e.DropdownWithDefaultActionViewItem=R=Ie([ge(2,u.IKeybindingService),ge(3,f.INotificationService),ge(4,t.IContextMenuService),ge(5,s.IMenuService),ge(6,r.IInstantiationService),ge(7,d.IStorageService)],R);let B=class extends y.SelectActionViewItem{constructor(A,P){super(null,A,A.actions.map(O=>({text:O.id===S.Separator.ID?"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500":O.label,isDisabled:!O.enabled})),0,P,h.defaultSelectBoxStyles,{ariaLabel:A.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,A.actions.findIndex(O=>O.checked)))}render(A){super.render(A),A.style.borderColor=(0,g.asCssVariable)(g.selectBorder)}runAction(A,P){const O=this.action.actions[P];O&&this.actionRunner.run(O)}};B=Ie([ge(1,t.IContextViewService)],B);function T(N,A,P){return A instanceof s.MenuItemAction?N.createInstance(k,A,P):A instanceof s.SubmenuItemAction?A.item.isSelection?N.createInstance(B,A):A.item.rememberDefaultAction?N.createInstance(R,A,Object.assign(Object.assign({},P),{persistLastActionId:!0})):N.createInstance(M,A,P):void 0}e.createActionViewItem=T}),define(te[251],ie([1,0,7,129,222,41,13,14,26,2,40,17,27,12,29,214,682,160,818,30,25,15,58,8,34,76,77,455]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b){"use strict";var w;Object.defineProperty(e,"__esModule",{value:!0}),e.CustomizedMenuWorkbenchToolBar=e.InlineSuggestionHintsContentWidget=e.InlineCompletionsHintsWidget=void 0;let E=class extends v.Disposable{constructor(P,O,x){super(),this.editor=P,this.model=O,this.instantiationService=x,this.alwaysShowToolbar=(0,C.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).showToolbar==="always"),this.sessionPosition=void 0,this.position=(0,C.derived)(this,W=>{var U,F,G;const Y=(U=this.model.read(W))===null||U===void 0?void 0:U.ghostText.read(W);if(!this.alwaysShowToolbar.read(W)||!Y||Y.parts.length===0)return this.sessionPosition=void 0,null;const ne=Y.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==Y.lineNumber&&(this.sessionPosition=void 0);const se=new n.Position(Y.lineNumber,Math.min(ne,(G=(F=this.sessionPosition)===null||F===void 0?void 0:F.column)!==null&&G!==void 0?G:Number.MAX_SAFE_INTEGER));return this.sessionPosition=se,se}),this._register((0,C.autorunWithStore)((W,U)=>{const F=this.model.read(W);if(!F||!this.alwaysShowToolbar.read(W))return;const G=U.add(this.instantiationService.createInstance(R,this.editor,!0,this.position,F.selectedInlineCompletionIndex,F.inlineCompletionsCount,F.selectedInlineCompletion.map(Y=>{var ne;return(ne=Y?.inlineCompletion.source.inlineCompletions.commands)!==null&&ne!==void 0?ne:[]})));P.addContentWidget(G),U.add((0,v.toDisposable)(()=>P.removeContentWidget(G))),U.add((0,C.autorun)(Y=>{this.position.read(Y)&&F.lastTriggerKind.read(Y)!==t.InlineCompletionTriggerKind.Explicit&&F.triggerExplicitly()}))}))}};e.InlineCompletionsHintsWidget=E,e.InlineCompletionsHintsWidget=E=Ie([ge(2,g.IInstantiationService)],E);const k=(0,b.registerIcon)("inline-suggestion-hints-next",_.Codicon.chevronRight,(0,u.localize)(0,null)),M=(0,b.registerIcon)("inline-suggestion-hints-previous",_.Codicon.chevronLeft,(0,u.localize)(1,null));let R=w=class extends v.Disposable{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(P,O,x){const W=new D.Action(P,O,x,!0,()=>this._commandService.executeCommand(P)),U=this.keybindingService.lookupKeybinding(P,this._contextKeyService);let F=O;return U&&(F=(0,u.localize)(2,null,O,U.getLabel())),W.tooltip=F,W}constructor(P,O,x,W,U,F,G,Y,ne,se,J){super(),this.editor=P,this.withBorder=O,this._position=x,this._currentSuggestionIdx=W,this._suggestionCount=U,this._extraCommands=F,this._commandService=G,this.keybindingService=ne,this._contextKeyService=se,this._menuService=J,this.id=`InlineSuggestionHintsContentWidget${w.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,L.h)("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[(0,L.h)("div@toolBar")]),this.previousAction=this.createCommandAction(r.showPreviousInlineSuggestionActionId,(0,u.localize)(3,null),i.ThemeIcon.asClassName(M)),this.availableSuggestionCountAction=new D.Action("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(r.showNextInlineSuggestionActionId,(0,u.localize)(4,null),i.ThemeIcon.asClassName(k)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(l.MenuId.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new m.RunOnceScheduler(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new m.RunOnceScheduler(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(Y.createInstance(N,this.nodes.toolBar,l.MenuId.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:q=>q.startsWith("primary")},actionViewItemProvider:(q,H)=>{if(q instanceof l.MenuItemAction)return Y.createInstance(T,q,void 0);if(q===this.availableSuggestionCountAction){const V=new B(void 0,q,{label:!0,icon:!1});return V.setClass("availableSuggestionCount"),V}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(q=>{w._dropDownVisible=q})),this._register((0,C.autorun)(q=>{this._position.read(q),this.editor.layoutContentWidget(this)})),this._register((0,C.autorun)(q=>{const H=this._suggestionCount.read(q),V=this._currentSuggestionIdx.read(q);H!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${V+1}/${H}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),H!==void 0&&H>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register((0,C.autorun)(q=>{const H=this._extraCommands.read(q);if((0,S.equals)(this.lastCommands,H))return;this.lastCommands=H;const V=H.map(Z=>({class:void 0,id:Z.id,enabled:!0,tooltip:Z.tooltip||"",label:Z.title,run:ee=>this._commandService.executeCommand(Z.id)}));for(const[Z,ee]of this.inlineCompletionsActionsMenus.getActions())for(const le of ee)le instanceof l.MenuItemAction&&V.push(le);V.length>0&&V.unshift(new D.Separator),this.toolBar.setAdditionalSecondaryActions(V)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};e.InlineSuggestionHintsContentWidget=R,R._dropDownVisible=!1,R.id=0,e.InlineSuggestionHintsContentWidget=R=w=Ie([ge(6,o.ICommandService),ge(7,g.IInstantiationService),ge(8,h.IKeybindingService),ge(9,c.IContextKeyService),ge(10,l.IMenuService)],R);class B extends I.ActionViewItem{constructor(){super(...arguments),this._className=void 0}setClass(P){this._className=P}render(P){super.render(P),this._className&&P.classList.add(this._className)}}class T extends f.MenuEntryActionViewItem{updateLabel(){const P=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!P)return super.updateLabel();if(this.label){const O=(0,L.h)("div.keybinding").root;new y.KeybindingLabel(O,s.OS,Object.assign({disableTitle:!0},y.unthemedKeybindingLabelOptions)).set(P),this.label.textContent=this._action.label,this.label.appendChild(O),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}}let N=class extends d.WorkbenchToolBar{constructor(P,O,x,W,U,F,G,Y){super(P,Object.assign({resetMenu:O},x),W,U,F,G,Y),this.menuId=O,this.options2=x,this.menuService=W,this.contextKeyService=U,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var P,O,x,W,U,F,G;const Y=[],ne=[];(0,f.createAndFillInActionBarActions)(this.menu,(P=this.options2)===null||P===void 0?void 0:P.menuOptions,{primary:Y,secondary:ne},(x=(O=this.options2)===null||O===void 0?void 0:O.toolbarOptions)===null||x===void 0?void 0:x.primaryGroup,(U=(W=this.options2)===null||W===void 0?void 0:W.toolbarOptions)===null||U===void 0?void 0:U.shouldInlineSubmenu,(G=(F=this.options2)===null||F===void 0?void 0:F.toolbarOptions)===null||G===void 0?void 0:G.useSeparatorsInPrimaryActions),ne.push(...this.additionalActions),Y.unshift(...this.prependedPrimaryActions),this.setActions(Y,ne)}setPrependedPrimaryActions(P){(0,S.equals)(this.prependedPrimaryActions,P,(O,x)=>O===x)||(this.prependedPrimaryActions=P,this.updateToolbar())}setAdditionalSecondaryActions(P){(0,S.equals)(this.additionalActions,P,(O,x)=>O===x)||(this.additionalActions=P,this.updateToolbar())}};e.CustomizedMenuWorkbenchToolBar=N,e.CustomizedMenuWorkbenchToolBar=N=Ie([ge(3,l.IMenuService),ge(4,c.IContextKeyService),ge(5,a.IContextMenuService),ge(6,h.IKeybindingService),ge(7,p.ITelemetryService)],N)}),define(te[865],ie([1,0,7,73,2,706,160,30,15,8]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestWidgetStatus=void 0;class C extends S.MenuEntryActionViewItem{updateLabel(){const n=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!n)return super.updateLabel();this.label&&(this.label.textContent=(0,D.localize)(0,null,this._action.label,C.symbolPrintEnter(n)))}static symbolPrintEnter(n){var t;return(t=n.getLabel())===null||t===void 0?void 0:t.replace(/\benter\b/gi,"\u23CE")}}let s=class{constructor(n,t,r,u,f){this._menuId=t,this._menuService=u,this._contextKeyService=f,this._menuDisposables=new y.DisposableStore,this.element=L.append(n,L.$(".suggest-status-bar"));const d=l=>l instanceof m.MenuItemAction?r.createInstance(C,l,void 0):void 0;this._leftActions=new I.ActionBar(this.element,{actionViewItemProvider:d}),this._rightActions=new I.ActionBar(this.element,{actionViewItemProvider:d}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this._leftActions.dispose(),this._rightActions.dispose(),this.element.remove()}show(){const n=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{const r=[],u=[];for(const[f,d]of n.getActions())f==="left"?r.push(...d):u.push(...d);this._leftActions.clear(),this._leftActions.push(r),this._rightActions.clear(),this._rightActions.push(u)};this._menuDisposables.add(n.onDidChange(()=>t())),this._menuDisposables.add(n)}hide(){this._menuDisposables.clear()}};e.SuggestWidgetStatus=s,e.SuggestWidgetStatus=s=Ie([ge(2,v.IInstantiationService),ge(3,m.IMenuService),ge(4,_.IContextKeyService)],s)}),define(te[866],ie([1,0,7,41,6,2,160,30,15,34,48,76,828,58]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuMenuDelegate=e.ContextMenuService=void 0;let t=class extends D.Disposable{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new i.ContextMenuHandler(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(f,d,l,o,c,a){super(),this.telemetryService=f,this.notificationService=d,this.contextViewService=l,this.keybindingService=o,this.menuService=c,this.contextKeyService=a,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new y.Emitter),this._onDidHideContextMenu=this._store.add(new y.Emitter)}configure(f){this.contextMenuHandler.configure(f)}showContextMenu(f){f=r.transform(f,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},f),{onHide:d=>{var l;(l=f.onHide)===null||l===void 0||l.call(f,d),this._onDidHideContextMenu.fire()}})),L.ModifierKeyEmitter.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};e.ContextMenuService=t,e.ContextMenuService=t=Ie([ge(0,s.ITelemetryService),ge(1,C.INotificationService),ge(2,n.IContextViewService),ge(3,v.IKeybindingService),ge(4,m.IMenuService),ge(5,_.IContextKeyService)],t);var r;(function(u){function f(l){return l&&l.menuId instanceof m.MenuId}function d(l,o,c){if(!f(l))return l;const{menuId:a,menuActionOptions:g,contextKeyService:h}=l;return Object.assign(Object.assign({},l),{getActions:()=>{const p=[];if(a){const b=o.createMenu(a,h??c);(0,S.createAndFillInContextMenuActions)(b,g,p),b.dispose()}return l.getActions?I.Separator.join(l.getActions(),p):p}})}u.transform=d})(r||(e.ContextMenuMenuDelegate=r={}))}),define(te[867],ie([1,0,19,6,15,8,132,190,55,787,104,31,23,839]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputService=void 0;let t=class extends i.Themable{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(v.QuickAccessController))),this._quickAccess}constructor(u,f,d,l){super(d),this.instantiationService=u,this.contextKeyService=f,this.layoutService=l,this._onShow=this._register(new I.Emitter),this._onHide=this._register(new I.Emitter),this.contexts=new Map}createController(u=this.layoutService,f){const d={idPrefix:"quickInput_",container:u.container,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:o=>this.setContextKey(o),linkOpenerDelegate:o=>{this.instantiationService.invokeFunction(c=>{c.get(_.IOpenerService).open(o,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>u.focus(),createList:(o,c,a,g,h)=>this.instantiationService.createInstance(m.WorkbenchList,o,c,a,g,h),styles:this.computeStyles()},l=this._register(new n.QuickInputController(Object.assign(Object.assign({},d),f),this.themeService));return l.layout(u.dimension,u.offset.quickPickTop),this._register(u.onDidLayout(o=>l.layout(o,u.offset.quickPickTop))),this._register(l.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(l.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),l}setContextKey(u){let f;u&&(f=this.contexts.get(u),f||(f=new y.RawContextKey(u,!1).bindTo(this.contextKeyService),this.contexts.set(u,f))),!(f&&f.get())&&(this.resetContextKeys(),f?.set(!0))}resetContextKeys(){this.contexts.forEach(u=>{u.get()&&u.reset()})}pick(u,f={},d=L.CancellationToken.None){return this.controller.pick(u,f,d)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,s.asCssVariable)(s.quickInputBackground),quickInputForeground:(0,s.asCssVariable)(s.quickInputForeground),quickInputTitleBackground:(0,s.asCssVariable)(s.quickInputTitleBackground),widgetBorder:(0,s.asCssVariable)(s.widgetBorder),widgetShadow:(0,s.asCssVariable)(s.widgetShadow)},inputBox:C.defaultInputBoxStyles,toggle:C.defaultToggleStyles,countBadge:C.defaultCountBadgeStyles,button:C.defaultButtonStyles,progressBar:C.defaultProgressBarStyles,keybindingLabel:C.defaultKeybindingLabelStyles,list:(0,C.getListStyles)({listBackground:s.quickInputBackground,listFocusBackground:s.quickInputListFocusBackground,listFocusForeground:s.quickInputListFocusForeground,listInactiveFocusForeground:s.quickInputListFocusForeground,listInactiveSelectionIconForeground:s.quickInputListFocusIconForeground,listInactiveFocusBackground:s.quickInputListFocusBackground,listFocusOutline:s.activeContrastBorder,listInactiveFocusOutline:s.activeContrastBorder}),pickerGroup:{pickerGroupBorder:(0,s.asCssVariable)(s.pickerGroupBorder),pickerGroupForeground:(0,s.asCssVariable)(s.pickerGroupForeground)}}}};e.QuickInputService=t,e.QuickInputService=t=Ie([ge(0,D.IInstantiationService),ge(1,y.IContextKeyService),ge(2,i.IThemeService),ge(3,S.ILayoutService)],t)}),define(te[868],ie([1,0,16,23,19,8,15,342,33,867,106,474]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QuickInputEditorWidget=e.QuickInputEditorContribution=e.StandaloneQuickInputService=void 0;let s=class extends v.QuickInputService{constructor(u,f,d,l,o){super(f,d,l,new m.EditorScopedLayoutService(u.getContainerDomNode(),o)),this.host=void 0;const c=n.get(u);if(c){const a=c.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return a.getDomNode()},get dimension(){return u.getLayoutInfo()},get onDidLayout(){return u.onDidLayoutChange},focus:()=>u.focus(),offset:{top:0,quickPickTop:0}}}else this.host=void 0}createController(){return super.createController(this.host)}};s=Ie([ge(1,D.IInstantiationService),ge(2,S.IContextKeyService),ge(3,I.IThemeService),ge(4,_.ICodeEditorService)],s);let i=class{get activeService(){const u=this.codeEditorService.getFocusedCodeEditor();if(!u)throw new Error("Quick input service needs a focused editor to work.");let f=this.mapEditorToService.get(u);if(!f){const d=f=this.instantiationService.createInstance(s,u);this.mapEditorToService.set(u,f),(0,C.createSingleCallFunction)(u.onDidDispose)(()=>{d.dispose(),this.mapEditorToService.delete(u)})}return f}get quickAccess(){return this.activeService.quickAccess}constructor(u,f){this.instantiationService=u,this.codeEditorService=f,this.mapEditorToService=new Map}pick(u,f={},d=y.CancellationToken.None){return this.activeService.pick(u,f,d)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};e.StandaloneQuickInputService=i,e.StandaloneQuickInputService=i=Ie([ge(0,D.IInstantiationService),ge(1,_.ICodeEditorService)],i);class n{static get(u){return u.getContribution(n.ID)}constructor(u){this.editor=u,this.widget=new t(this.editor)}dispose(){this.widget.dispose()}}e.QuickInputEditorContribution=n,n.ID="editor.controller.quickInput";class t{constructor(u){this.codeEditor=u,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return t.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}e.QuickInputEditorWidget=t,t.ID="editor.contrib.quickInputWidget",(0,L.registerEditorContribution)(n.ID,n,4)}),define(te[191],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoSource=e.UndoRedoGroup=e.ResourceEditStackSnapshot=e.IUndoRedoService=void 0,e.IUndoRedoService=(0,L.createDecorator)("undoRedoService");class I{constructor(m,_){this.resource=m,this.elements=_}}e.ResourceEditStackSnapshot=I;class y{constructor(){this.id=y._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoGroup=y,y._ID=0,y.None=new y;class D{constructor(){this.id=D._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}e.UndoRedoSource=D,D._ID=0,D.None=new D}),define(te[37],ie([1,0,13,36,9,6,2,10,21,122,201,64,12,5,24,173,42,32,49,600,851,333,290,512,513,324,601,179,626,110,191]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M){"use strict";var R;Object.defineProperty(e,"__esModule",{value:!0}),e.AttachedViews=e.ModelDecorationOptions=e.ModelDecorationInjectedTextOptions=e.ModelDecorationMinimapOptions=e.ModelDecorationGlyphMarginOptions=e.ModelDecorationOverviewRulerOptions=e.TextModel=e.createTextBuffer=e.createTextBufferFactoryFromSnapshot=e.createTextBufferFactory=void 0;function B(K){const z=new b.PieceTreeTextBufferBuilder;return z.acceptChunk(K),z.finish()}e.createTextBufferFactory=B;function T(K){const z=new b.PieceTreeTextBufferBuilder;let Q;for(;typeof(Q=K.read())=="string";)z.acceptChunk(Q);return z.finish()}e.createTextBufferFactoryFromSnapshot=T;function N(K,z){let Q;return typeof K=="string"?Q=B(K):d.isITextSnapshot(K)?Q=T(K):Q=K,Q.create(z)}e.createTextBuffer=N;let A=0;const P=999,O=1e4;class x{constructor(z){this._source=z,this._eos=!1}read(){if(this._eos)return null;const z=[];let Q=0,j=0;do{const re=this._source.read();if(re===null)return this._eos=!0,Q===0?null:z.join("");if(re.length>0&&(z[Q++]=re,j+=re.length),j>=64*1024)return z.join("")}while(!0)}}const W=()=>{throw new Error("Invalid change accessor")};let U=R=class extends S.Disposable{static resolveOptions(z,Q){if(Q.detectIndentation){const j=(0,g.guessIndentation)(z,Q.tabSize,Q.insertSpaces);return new d.TextModelResolvedOptions({tabSize:j.tabSize,indentSize:"tabSize",insertSpaces:j.insertSpaces,trimAutoWhitespace:Q.trimAutoWhitespace,defaultEOL:Q.defaultEOL,bracketPairColorizationOptions:Q.bracketPairColorizationOptions})}return new d.TextModelResolvedOptions(Q)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(z){return this._eventEmitter.slowEvent(Q=>z(Q.contentChangedEvent))}onDidChangeContentOrInjectedText(z){return(0,S.combinedDisposable)(this._eventEmitter.fastEvent(Q=>z(Q)),this._onDidChangeInjectedText.event(Q=>z(Q)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(z,Q,j,re=null,oe,he,me){super(),this._undoRedoService=oe,this._languageService=he,this._languageConfigurationService=me,this._onWillDispose=this._register(new D.Emitter),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new de(Ae=>this.handleBeforeFireDecorationsChangedEvent(Ae))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new D.Emitter),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new D.Emitter),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new D.Emitter),this._eventEmitter=this._register(new ce),this._languageSelectionListener=this._register(new S.MutableDisposable),this._deltaDecorationCallCnt=0,this._attachedViews=new ae,A++,this.id="$model"+A,this.isForSimpleWidget=j.isForSimpleWidget,typeof re>"u"||re===null?this._associatedResource=_.URI.parse("inmemory://model/"+A):this._associatedResource=re,this._attachedEditorCount=0;const{textBuffer:pe,disposable:ve}=N(z,j.defaultEOL);this._buffer=pe,this._bufferDisposable=ve,this._options=R.resolveOptions(this._buffer,j);const we=typeof Q=="string"?Q:Q.languageId;typeof Q!="string"&&(this._languageSelectionListener.value=Q.onDidChange(()=>this._setLanguage(Q.languageId))),this._bracketPairs=this._register(new l.BracketPairsTextModelPart(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new a.GuidesTextModelPart(this,this._languageConfigurationService)),this._decorationProvider=this._register(new o.ColorizedBracketPairsDecorationProvider(this)),this._tokenizationTextModelPart=new E.TokenizationTextModelPart(this._languageService,this._languageConfigurationService,this,this._bracketPairs,we,this._attachedViews);const Le=this._buffer.getLineCount(),Ee=this._buffer.getValueLengthInRange(new n.Range(1,1,Le,this._buffer.getLineLength(Le)+1),0);j.largeFileOptimizations?(this._isTooLargeForTokenization=Ee>R.LARGE_FILE_SIZE_THRESHOLD||Le>R.LARGE_FILE_LINE_COUNT_THRESHOLD,this._isTooLargeForHeapOperation=Ee>R.LARGE_FILE_HEAP_OPERATION_THRESHOLD):(this._isTooLargeForTokenization=!1,this._isTooLargeForHeapOperation=!1),this._isTooLargeForSyncing=Ee>R._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=m.singleLetterHash(A),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new ne,this._commandManager=new c.EditStack(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(we)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;const z=new p.PieceTreeTextBuffer([],"",` +`,!1,!1,!0,!0);z.dispose(),this._buffer=z,this._bufferDisposable=S.Disposable.None}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(z,Q){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(Q),this._bracketPairs.handleDidChangeContent(Q),this._eventEmitter.fire(new k.InternalModelContentChangeEvent(z,Q)))}setValue(z){if(this._assertNotDisposed(),z==null)throw(0,y.illegalArgument)();const{textBuffer:Q,disposable:j}=N(z,this._options.defaultEOL);this._setValueFromTextBuffer(Q,j)}_createContentChanged2(z,Q,j,re,oe,he,me,pe){return{changes:[{range:z,rangeOffset:Q,rangeLength:j,text:re}],eol:this._buffer.getEOL(),isEolChange:pe,versionId:this.getVersionId(),isUndoing:oe,isRedoing:he,isFlush:me}}_setValueFromTextBuffer(z,Q){this._assertNotDisposed();const j=this.getFullModelRange(),re=this.getValueLengthInRange(j),oe=this.getLineCount(),he=this.getLineMaxColumn(oe);this._buffer=z,this._bufferDisposable.dispose(),this._bufferDisposable=Q,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new ne,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new k.ModelRawContentChangedEvent([new k.ModelRawFlush],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,he),0,re,this.getValue(),!1,!1,!0,!1))}setEOL(z){this._assertNotDisposed();const Q=z===1?`\r +`:` +`;if(this._buffer.getEOL()===Q)return;const j=this.getFullModelRange(),re=this.getValueLengthInRange(j),oe=this.getLineCount(),he=this.getLineMaxColumn(oe);this._onBeforeEOLChange(),this._buffer.setEOL(Q),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new k.ModelRawContentChangedEvent([new k.ModelRawEOLChanged],this._versionId,!1,!1),this._createContentChanged2(new n.Range(1,1,oe,he),0,re,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const z=this.getVersionId(),Q=this._decorationsTree.collectNodesPostOrder();for(let j=0,re=Q.length;j0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isTooLargeForHeapOperation(){return this._isTooLargeForHeapOperation}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let z=0,Q=0;const j=this._buffer.getLineCount();for(let re=1;re<=j;re++){const oe=this._buffer.getLineLength(re);oe>=O?Q+=oe:z+=oe}return Q>z}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(z){this._assertNotDisposed();const Q=typeof z.tabSize<"u"?z.tabSize:this._options.tabSize,j=typeof z.indentSize<"u"?z.indentSize:this._options.originalIndentSize,re=typeof z.insertSpaces<"u"?z.insertSpaces:this._options.insertSpaces,oe=typeof z.trimAutoWhitespace<"u"?z.trimAutoWhitespace:this._options.trimAutoWhitespace,he=typeof z.bracketColorizationOptions<"u"?z.bracketColorizationOptions:this._options.bracketPairColorizationOptions,me=new d.TextModelResolvedOptions({tabSize:Q,indentSize:j,insertSpaces:re,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:oe,bracketPairColorizationOptions:he});if(this._options.equals(me))return;const pe=this._options.createChangeEvent(me);this._options=me,this._bracketPairs.handleDidChangeOptions(pe),this._decorationProvider.handleDidChangeOptions(pe),this._onDidChangeOptions.fire(pe)}detectIndentation(z,Q){this._assertNotDisposed();const j=(0,g.guessIndentation)(this._buffer,Q,z);this.updateOptions({insertSpaces:j.insertSpaces,tabSize:j.tabSize,indentSize:j.tabSize})}normalizeIndentation(z){return this._assertNotDisposed(),(0,C.normalizeIndentation)(z,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(z=null){const Q=this.findMatches(m.UNUSUAL_LINE_TERMINATORS.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(z,Q.map(j=>({range:j.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(z){this._assertNotDisposed();const Q=this._validatePosition(z.lineNumber,z.column,0);return this._buffer.getOffsetAt(Q.lineNumber,Q.column)}getPositionAt(z){this._assertNotDisposed();const Q=Math.min(this._buffer.getLength(),Math.max(0,z));return this._buffer.getPositionAt(Q)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(z){this._versionId=z}_overwriteAlternativeVersionId(z){this._alternativeVersionId=z}_overwriteInitialUndoRedoSnapshot(z){this._initialUndoRedoSnapshot=z}getValue(z,Q=!1){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new y.BugIndicatingError("Operation would exceed heap memory limits");const j=this.getFullModelRange(),re=this.getValueInRange(j,z);return Q?this._buffer.getBOM()+re:re}createSnapshot(z=!1){return new x(this._buffer.createSnapshot(z))}getValueLength(z,Q=!1){this._assertNotDisposed();const j=this.getFullModelRange(),re=this.getValueLengthInRange(j,z);return Q?this._buffer.getBOM().length+re:re}getValueInRange(z,Q=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(z),Q)}getValueLengthInRange(z,Q=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(z),Q)}getCharacterCountInRange(z,Q=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(z),Q)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineContent(z)}getLineLength(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)}getLinesContent(){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new y.BugIndicatingError("Operation would exceed heap memory limits");return this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),this._buffer.getEOL()===` +`?0:1}getLineMinColumn(z){return this._assertNotDisposed(),1}getLineMaxColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLength(z)+1}getLineFirstNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(z)}getLineLastNonWhitespaceColumn(z){if(this._assertNotDisposed(),z<1||z>this.getLineCount())throw new y.BugIndicatingError("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(z)}_validateRangeRelaxedNoAllocations(z){const Q=this._buffer.getLineCount(),j=z.startLineNumber,re=z.startColumn;let oe=Math.floor(typeof j=="number"&&!isNaN(j)?j:1),he=Math.floor(typeof re=="number"&&!isNaN(re)?re:1);if(oe<1)oe=1,he=1;else if(oe>Q)oe=Q,he=this.getLineMaxColumn(oe);else if(he<=1)he=1;else{const Le=this.getLineMaxColumn(oe);he>=Le&&(he=Le)}const me=z.endLineNumber,pe=z.endColumn;let ve=Math.floor(typeof me=="number"&&!isNaN(me)?me:1),we=Math.floor(typeof pe=="number"&&!isNaN(pe)?pe:1);if(ve<1)ve=1,we=1;else if(ve>Q)ve=Q,we=this.getLineMaxColumn(ve);else if(we<=1)we=1;else{const Le=this.getLineMaxColumn(ve);we>=Le&&(we=Le)}return j===oe&&re===he&&me===ve&&pe===we&&z instanceof n.Range&&!(z instanceof t.Selection)?z:new n.Range(oe,he,ve,we)}_isValidPosition(z,Q,j){if(typeof z!="number"||typeof Q!="number"||isNaN(z)||isNaN(Q)||z<1||Q<1||(z|0)!==z||(Q|0)!==Q)return!1;const re=this._buffer.getLineCount();if(z>re)return!1;if(Q===1)return!0;const oe=this.getLineMaxColumn(z);if(Q>oe)return!1;if(j===1){const he=this._buffer.getLineCharCode(z,Q-2);if(m.isHighSurrogate(he))return!1}return!0}_validatePosition(z,Q,j){const re=Math.floor(typeof z=="number"&&!isNaN(z)?z:1),oe=Math.floor(typeof Q=="number"&&!isNaN(Q)?Q:1),he=this._buffer.getLineCount();if(re<1)return new i.Position(1,1);if(re>he)return new i.Position(he,this.getLineMaxColumn(he));if(oe<=1)return new i.Position(re,1);const me=this.getLineMaxColumn(re);if(oe>=me)return new i.Position(re,me);if(j===1){const pe=this._buffer.getLineCharCode(re,oe-2);if(m.isHighSurrogate(pe))return new i.Position(re,oe-1)}return new i.Position(re,oe)}validatePosition(z){return this._assertNotDisposed(),z instanceof i.Position&&this._isValidPosition(z.lineNumber,z.column,1)?z:this._validatePosition(z.lineNumber,z.column,1)}_isValidRange(z,Q){const j=z.startLineNumber,re=z.startColumn,oe=z.endLineNumber,he=z.endColumn;if(!this._isValidPosition(j,re,0)||!this._isValidPosition(oe,he,0))return!1;if(Q===1){const me=re>1?this._buffer.getLineCharCode(j,re-2):0,pe=he>1&&he<=this._buffer.getLineLength(oe)?this._buffer.getLineCharCode(oe,he-2):0,ve=m.isHighSurrogate(me),we=m.isHighSurrogate(pe);return!ve&&!we}return!0}validateRange(z){if(this._assertNotDisposed(),z instanceof n.Range&&!(z instanceof t.Selection)&&this._isValidRange(z,1))return z;const j=this._validatePosition(z.startLineNumber,z.startColumn,0),re=this._validatePosition(z.endLineNumber,z.endColumn,0),oe=j.lineNumber,he=j.column,me=re.lineNumber,pe=re.column;{const ve=he>1?this._buffer.getLineCharCode(oe,he-2):0,we=pe>1&&pe<=this._buffer.getLineLength(me)?this._buffer.getLineCharCode(me,pe-2):0,Le=m.isHighSurrogate(ve),Ee=m.isHighSurrogate(we);return!Le&&!Ee?new n.Range(oe,he,me,pe):oe===me&&he===pe?new n.Range(oe,he-1,me,pe-1):Le&&Ee?new n.Range(oe,he-1,me,pe+1):Le?new n.Range(oe,he-1,me,pe):new n.Range(oe,he,me,pe+1)}return new n.Range(oe,he,me,pe)}modifyPosition(z,Q){this._assertNotDisposed();const j=this.getOffsetAt(z)+Q;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,j)))}getFullModelRange(){this._assertNotDisposed();const z=this.getLineCount();return new n.Range(1,1,z,this.getLineMaxColumn(z))}findMatchesLineByLine(z,Q,j,re){return this._buffer.findMatchesLineByLine(z,Q,j,re)}findMatches(z,Q,j,re,oe,he,me=P){this._assertNotDisposed();let pe=null;Q!==null&&(Array.isArray(Q)||(Q=[Q]),Q.every(Le=>n.Range.isIRange(Le))&&(pe=Q.map(Le=>this.validateRange(Le)))),pe===null&&(pe=[this.getFullModelRange()]),pe=pe.sort((Le,Ee)=>Le.startLineNumber-Ee.startLineNumber||Le.startColumn-Ee.startColumn);const ve=[];ve.push(pe.reduce((Le,Ee)=>n.Range.areIntersecting(Le,Ee)?Le.plusRange(Ee):(ve.push(Le),Ee)));let we;if(!j&&z.indexOf(` +`)<0){const Ee=new w.SearchParams(z,j,re,oe).parseSearchRequest();if(!Ee)return[];we=Ae=>this.findMatchesLineByLine(Ae,Ee,he,me)}else we=Le=>w.TextModelSearch.findMatches(this,new w.SearchParams(z,j,re,oe),Le,he,me);return ve.map(we).reduce((Le,Ee)=>Le.concat(Ee),[])}findNextMatch(z,Q,j,re,oe,he){this._assertNotDisposed();const me=this.validatePosition(Q);if(!j&&z.indexOf(` +`)<0){const ve=new w.SearchParams(z,j,re,oe).parseSearchRequest();if(!ve)return null;const we=this.getLineCount();let Le=new n.Range(me.lineNumber,me.column,we,this.getLineMaxColumn(we)),Ee=this.findMatchesLineByLine(Le,ve,he,1);return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,j,re,oe),me,he),Ee.length>0||(Le=new n.Range(1,1,me.lineNumber,this.getLineMaxColumn(me.lineNumber)),Ee=this.findMatchesLineByLine(Le,ve,he,1),Ee.length>0)?Ee[0]:null}return w.TextModelSearch.findNextMatch(this,new w.SearchParams(z,j,re,oe),me,he)}findPreviousMatch(z,Q,j,re,oe,he){this._assertNotDisposed();const me=this.validatePosition(Q);return w.TextModelSearch.findPreviousMatch(this,new w.SearchParams(z,j,re,oe),me,he)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(z){if((this.getEOL()===` +`?0:1)!==z)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(z)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(z){return z instanceof d.ValidAnnotatedEditOperation?z:new d.ValidAnnotatedEditOperation(z.identifier||null,this.validateRange(z.range),z.text,z.forceMoveMarkers||!1,z.isAutoWhitespaceEdit||!1,z._isTracked||!1)}_validateEditOperations(z){const Q=[];for(let j=0,re=z.length;j({range:this.validateRange(me.range),text:me.text}));let he=!0;if(z)for(let me=0,pe=z.length;meve.endLineNumber,Be=ve.startLineNumber>Ae.endLineNumber;if(!Re&&!Be){we=!0;break}}if(!we){he=!1;break}}if(he)for(let me=0,pe=this._trimAutoWhitespaceLines.length;meRe.endLineNumber)&&!(ve===Re.startLineNumber&&Re.startColumn===we&&Re.isEmpty()&&Be&&Be.length>0&&Be.charAt(0)===` +`)&&!(ve===Re.startLineNumber&&Re.startColumn===1&&Re.isEmpty()&&Be&&Be.length>0&&Be.charAt(Be.length-1)===` +`)){Le=!1;break}}if(Le){const Ee=new n.Range(ve,1,ve,we);Q.push(new d.ValidAnnotatedEditOperation(null,Ee,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(z,Q,j,re)}_applyUndo(z,Q,j,re){const oe=z.map(he=>{const me=this.getPositionAt(he.newPosition),pe=this.getPositionAt(he.newEnd);return{range:new n.Range(me.lineNumber,me.column,pe.lineNumber,pe.column),text:he.oldText}});this._applyUndoRedoEdits(oe,Q,!0,!1,j,re)}_applyRedo(z,Q,j,re){const oe=z.map(he=>{const me=this.getPositionAt(he.oldPosition),pe=this.getPositionAt(he.oldEnd);return{range:new n.Range(me.lineNumber,me.column,pe.lineNumber,pe.column),text:he.newText}});this._applyUndoRedoEdits(oe,Q,!1,!0,j,re)}_applyUndoRedoEdits(z,Q,j,re,oe,he){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=j,this._isRedoing=re,this.applyEdits(z,!1),this.setEOL(Q),this._overwriteAlternativeVersionId(oe)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(he),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(z,Q=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const j=this._validateEditOperations(z);return this._doApplyEdits(j,Q)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(z,Q){const j=this._buffer.getLineCount(),re=this._buffer.applyEdits(z,this._options.trimAutoWhitespace,Q),oe=this._buffer.getLineCount(),he=re.changes;if(this._trimAutoWhitespaceLines=re.trimAutoWhitespaceLineNumbers,he.length!==0){for(let ve=0,we=he.length;ve=0;Oe--){const We=Ae+Oe,qe=Ce+Oe;ke.takeFromEndWhile(je=>je.lineNumber>qe);const Ge=ke.takeFromEndWhile(je=>je.lineNumber===qe);me.push(new k.ModelRawLineChanged(We,this.getLineContent(qe),Ge))}if(Deat.lineNumberat.lineNumber===dt)}me.push(new k.ModelRawLinesInserted(We+1,Ae+ye,it,je))}pe+=fe}this._emitContentChangedEvent(new k.ModelRawContentChangedEvent(me,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:he,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return re.reverseEdits===null?void 0:re.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(z){if(z===null||z.size===0)return;const j=Array.from(z).map(re=>new k.ModelRawLineChanged(re,this.getLineContent(re),this._getInjectedTextInLine(re)));this._onDidChangeInjectedText.fire(new k.ModelInjectedTextChangedEvent(j))}changeDecorations(z,Q=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(Q,z)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(z,Q){const j={addDecoration:(oe,he)=>this._deltaDecorationsImpl(z,[],[{range:oe,options:he}])[0],changeDecoration:(oe,he)=>{this._changeDecorationImpl(oe,he)},changeDecorationOptions:(oe,he)=>{this._changeDecorationOptionsImpl(oe,ue(he))},removeDecoration:oe=>{this._deltaDecorationsImpl(z,[oe],[])},deltaDecorations:(oe,he)=>oe.length===0&&he.length===0?[]:this._deltaDecorationsImpl(z,oe,he)};let re=null;try{re=Q(j)}catch(oe){(0,y.onUnexpectedError)(oe)}return j.addDecoration=W,j.changeDecoration=W,j.changeDecorationOptions=W,j.removeDecoration=W,j.deltaDecorations=W,re}deltaDecorations(z,Q,j=0){if(this._assertNotDisposed(),z||(z=[]),z.length===0&&Q.length===0)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,y.onUnexpectedError)(new Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(j,z,Q)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(z){return this.getDecorationRange(z)}_setTrackedRange(z,Q,j){const re=z?this._decorations[z]:null;if(!re)return Q?this._deltaDecorationsImpl(0,[],[{range:Q,options:le[j]}],!0)[0]:null;if(!Q)return this._decorationsTree.delete(re),delete this._decorations[re.id],null;const oe=this._validateRangeRelaxedNoAllocations(Q),he=this._buffer.getOffsetAt(oe.startLineNumber,oe.startColumn),me=this._buffer.getOffsetAt(oe.endLineNumber,oe.endColumn);return this._decorationsTree.delete(re),re.reset(this.getVersionId(),he,me,oe),re.setOptions(le[j]),this._decorationsTree.insert(re),re.id}removeAllDecorationsWithOwnerId(z){if(this._isDisposed)return;const Q=this._decorationsTree.collectNodesFromOwner(z);for(let j=0,re=Q.length;jthis.getLineCount()?[]:this.getLinesDecorations(z,z,Q,j)}getLinesDecorations(z,Q,j=0,re=!1,oe=!1){const he=this.getLineCount(),me=Math.min(he,Math.max(1,z)),pe=Math.min(he,Math.max(1,Q)),ve=this.getLineMaxColumn(pe),we=new n.Range(me,1,pe,ve),Le=this._getDecorationsInRange(we,j,re,oe);return(0,L.pushMany)(Le,this._decorationProvider.getDecorationsInRange(we,j,re)),Le}getDecorationsInRange(z,Q=0,j=!1,re=!1,oe=!1){const he=this.validateRange(z),me=this._getDecorationsInRange(he,Q,j,oe);return(0,L.pushMany)(me,this._decorationProvider.getDecorationsInRange(he,Q,j,re)),me}getOverviewRulerDecorations(z=0,Q=!1){return this._decorationsTree.getAll(this,z,Q,!0,!1)}getInjectedTextDecorations(z=0){return this._decorationsTree.getAllInjectedText(this,z)}_getInjectedTextInLine(z){const Q=this._buffer.getOffsetAt(z,1),j=Q+this._buffer.getLineLength(z),re=this._decorationsTree.getInjectedTextInInterval(this,Q,j,0);return k.LineInjectedText.fromDecorations(re).filter(oe=>oe.lineNumber===z)}getAllDecorations(z=0,Q=!1){let j=this._decorationsTree.getAll(this,z,Q,!1,!1);return j=j.concat(this._decorationProvider.getAllDecorations(z,Q)),j}getAllMarginDecorations(z=0){return this._decorationsTree.getAll(this,z,!1,!1,!0)}_getDecorationsInRange(z,Q,j,re){const oe=this._buffer.getOffsetAt(z.startLineNumber,z.startColumn),he=this._buffer.getOffsetAt(z.endLineNumber,z.endColumn);return this._decorationsTree.getAllInInterval(this,oe,he,Q,j,re)}getRangeAt(z,Q){return this._buffer.getRangeAt(z,Q-z)}_changeDecorationImpl(z,Q){const j=this._decorations[z];if(!j)return;if(j.options.after){const me=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(me.endLineNumber)}if(j.options.before){const me=this.getDecorationRange(z);this._onDidChangeDecorations.recordLineAffectedByInjectedText(me.startLineNumber)}const re=this._validateRangeRelaxedNoAllocations(Q),oe=this._buffer.getOffsetAt(re.startLineNumber,re.startColumn),he=this._buffer.getOffsetAt(re.endLineNumber,re.endColumn);this._decorationsTree.delete(j),j.reset(this.getVersionId(),oe,he,re),this._decorationsTree.insert(j),this._onDidChangeDecorations.checkAffectedAndFire(j.options),j.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.endLineNumber),j.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(re.startLineNumber)}_changeDecorationOptionsImpl(z,Q){const j=this._decorations[z];if(!j)return;const re=!!(j.options.overviewRuler&&j.options.overviewRuler.color),oe=!!(Q.overviewRuler&&Q.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire(j.options),this._onDidChangeDecorations.checkAffectedAndFire(Q),j.options.after||Q.after){const he=this._decorationsTree.getNodeRange(this,j);this._onDidChangeDecorations.recordLineAffectedByInjectedText(he.endLineNumber)}if(j.options.before||Q.before){const he=this._decorationsTree.getNodeRange(this,j);this._onDidChangeDecorations.recordLineAffectedByInjectedText(he.startLineNumber)}re!==oe?(this._decorationsTree.delete(j),j.setOptions(Q),this._decorationsTree.insert(j)):j.setOptions(Q)}_deltaDecorationsImpl(z,Q,j,re=!1){const oe=this.getVersionId(),he=Q.length;let me=0;const pe=j.length;let ve=0;this._onDidChangeDecorations.beginDeferredEmit();try{const we=new Array(pe);for(;methis._setLanguage(z.languageId,Q)),this._setLanguage(z.languageId,Q))}_setLanguage(z,Q){this.tokenization.setLanguageId(z,Q),this._languageService.requestRichLanguageFeatures(z)}getLanguageIdAtPosition(z,Q){return this.tokenization.getLanguageIdAtPosition(z,Q)}getWordAtPosition(z){return this._tokenizationTextModelPart.getWordAtPosition(z)}getWordUntilPosition(z){return this._tokenizationTextModelPart.getWordUntilPosition(z)}normalizePosition(z,Q){return z}getLineIndentColumn(z){return F(this.getLineContent(z))+1}};e.TextModel=U,U._MODEL_SYNC_LIMIT=50*1024*1024,U.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024,U.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3,U.LARGE_FILE_HEAP_OPERATION_THRESHOLD=256*1024*1024,U.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:r.EDITOR_MODEL_DEFAULTS.tabSize,indentSize:r.EDITOR_MODEL_DEFAULTS.indentSize,insertSpaces:r.EDITOR_MODEL_DEFAULTS.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:r.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,largeFileOptimizations:r.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,bracketPairColorizationOptions:r.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions},e.TextModel=U=R=Ie([ge(4,M.IUndoRedoService),ge(5,u.ILanguageService),ge(6,f.ILanguageConfigurationService)],U);function F(K){let z=0;for(const Q of K)if(Q===" "||Q===" ")z++;else break;return z}function G(K){return!!(K.options.overviewRuler&&K.options.overviewRuler.color)}function Y(K){return!!K.options.after||!!K.options.before}class ne{constructor(){this._decorationsTree0=new h.IntervalTree,this._decorationsTree1=new h.IntervalTree,this._injectedTextDecorationsTree=new h.IntervalTree}ensureAllNodesHaveRanges(z){this.getAll(z,0,!1,!1,!1)}_ensureNodesHaveRanges(z,Q){for(const j of Q)j.range===null&&(j.range=z.getRangeAt(j.cachedAbsoluteStart,j.cachedAbsoluteEnd));return Q}getAllInInterval(z,Q,j,re,oe,he){const me=z.getVersionId(),pe=this._intervalSearch(Q,j,re,oe,me,he);return this._ensureNodesHaveRanges(z,pe)}_intervalSearch(z,Q,j,re,oe,he){const me=this._decorationsTree0.intervalSearch(z,Q,j,re,oe,he),pe=this._decorationsTree1.intervalSearch(z,Q,j,re,oe,he),ve=this._injectedTextDecorationsTree.intervalSearch(z,Q,j,re,oe,he);return me.concat(pe).concat(ve)}getInjectedTextInInterval(z,Q,j,re){const oe=z.getVersionId(),he=this._injectedTextDecorationsTree.intervalSearch(Q,j,re,!1,oe,!1);return this._ensureNodesHaveRanges(z,he).filter(me=>me.options.showIfCollapsed||!me.range.isEmpty())}getAllInjectedText(z,Q){const j=z.getVersionId(),re=this._injectedTextDecorationsTree.search(Q,!1,j,!1);return this._ensureNodesHaveRanges(z,re).filter(oe=>oe.options.showIfCollapsed||!oe.range.isEmpty())}getAll(z,Q,j,re,oe){const he=z.getVersionId(),me=this._search(Q,j,re,he,oe);return this._ensureNodesHaveRanges(z,me)}_search(z,Q,j,re,oe){if(j)return this._decorationsTree1.search(z,Q,re,oe);{const he=this._decorationsTree0.search(z,Q,re,oe),me=this._decorationsTree1.search(z,Q,re,oe),pe=this._injectedTextDecorationsTree.search(z,Q,re,oe);return he.concat(me).concat(pe)}}collectNodesFromOwner(z){const Q=this._decorationsTree0.collectNodesFromOwner(z),j=this._decorationsTree1.collectNodesFromOwner(z),re=this._injectedTextDecorationsTree.collectNodesFromOwner(z);return Q.concat(j).concat(re)}collectNodesPostOrder(){const z=this._decorationsTree0.collectNodesPostOrder(),Q=this._decorationsTree1.collectNodesPostOrder(),j=this._injectedTextDecorationsTree.collectNodesPostOrder();return z.concat(Q).concat(j)}insert(z){Y(z)?this._injectedTextDecorationsTree.insert(z):G(z)?this._decorationsTree1.insert(z):this._decorationsTree0.insert(z)}delete(z){Y(z)?this._injectedTextDecorationsTree.delete(z):G(z)?this._decorationsTree1.delete(z):this._decorationsTree0.delete(z)}getNodeRange(z,Q){const j=z.getVersionId();return Q.cachedVersionId!==j&&this._resolveNode(Q,j),Q.range===null&&(Q.range=z.getRangeAt(Q.cachedAbsoluteStart,Q.cachedAbsoluteEnd)),Q.range}_resolveNode(z,Q){Y(z)?this._injectedTextDecorationsTree.resolveNode(z,Q):G(z)?this._decorationsTree1.resolveNode(z,Q):this._decorationsTree0.resolveNode(z,Q)}acceptReplace(z,Q,j,re){this._decorationsTree0.acceptReplace(z,Q,j,re),this._decorationsTree1.acceptReplace(z,Q,j,re),this._injectedTextDecorationsTree.acceptReplace(z,Q,j,re)}}function se(K){return K.replace(/[^a-z0-9\-_]/gi," ")}class J{constructor(z){this.color=z.color||"",this.darkColor=z.darkColor||""}}class q extends J{constructor(z){super(z),this._resolvedColor=null,this.position=typeof z.position=="number"?z.position:d.OverviewRulerLane.Center}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(z,Q){if(typeof z=="string")return z;const j=z?Q.getColor(z.id):null;return j?j.toString():""}}e.ModelDecorationOverviewRulerOptions=q;class H{constructor(z){var Q;this.position=(Q=z?.position)!==null&&Q!==void 0?Q:d.GlyphMarginLane.Left}}e.ModelDecorationGlyphMarginOptions=H;class V extends J{constructor(z){super(z),this.position=z.position}getColor(z){return this._resolvedColor||(z.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,z):this._resolvedColor=this._resolveColor(this.color,z)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(z,Q){return typeof z=="string"?I.Color.fromHex(z):Q.getColor(z.id)}}e.ModelDecorationMinimapOptions=V;class Z{static from(z){return z instanceof Z?z:new Z(z)}constructor(z){this.content=z.content||"",this.inlineClassName=z.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=z.attachedData||null,this.cursorStops=z.cursorStops||null}}e.ModelDecorationInjectedTextOptions=Z;class ee{static register(z){return new ee(z)}static createDynamic(z){return new ee(z)}constructor(z){var Q,j,re,oe,he,me;this.description=z.description,this.blockClassName=z.blockClassName?se(z.blockClassName):null,this.blockDoesNotCollapse=(Q=z.blockDoesNotCollapse)!==null&&Q!==void 0?Q:null,this.blockIsAfterEnd=(j=z.blockIsAfterEnd)!==null&&j!==void 0?j:null,this.blockPadding=(re=z.blockPadding)!==null&&re!==void 0?re:null,this.stickiness=z.stickiness||0,this.zIndex=z.zIndex||0,this.className=z.className?se(z.className):null,this.shouldFillLineOnLineBreak=(oe=z.shouldFillLineOnLineBreak)!==null&&oe!==void 0?oe:null,this.hoverMessage=z.hoverMessage||null,this.glyphMarginHoverMessage=z.glyphMarginHoverMessage||null,this.isWholeLine=z.isWholeLine||!1,this.showIfCollapsed=z.showIfCollapsed||!1,this.collapseOnReplaceEdit=z.collapseOnReplaceEdit||!1,this.overviewRuler=z.overviewRuler?new q(z.overviewRuler):null,this.minimap=z.minimap?new V(z.minimap):null,this.glyphMargin=z.glyphMarginClassName?new H(z.glyphMargin):null,this.glyphMarginClassName=z.glyphMarginClassName?se(z.glyphMarginClassName):null,this.linesDecorationsClassName=z.linesDecorationsClassName?se(z.linesDecorationsClassName):null,this.firstLineDecorationClassName=z.firstLineDecorationClassName?se(z.firstLineDecorationClassName):null,this.marginClassName=z.marginClassName?se(z.marginClassName):null,this.inlineClassName=z.inlineClassName?se(z.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=z.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=z.beforeContentClassName?se(z.beforeContentClassName):null,this.afterContentClassName=z.afterContentClassName?se(z.afterContentClassName):null,this.after=z.after?Z.from(z.after):null,this.before=z.before?Z.from(z.before):null,this.hideInCommentTokens=(he=z.hideInCommentTokens)!==null&&he!==void 0?he:!1,this.hideInStringTokens=(me=z.hideInStringTokens)!==null&&me!==void 0?me:!1}}e.ModelDecorationOptions=ee,ee.EMPTY=ee.register({description:"empty"});const le=[ee.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),ee.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),ee.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),ee.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function ue(K){return K instanceof ee?K:ee.createDynamic(K)}class de extends S.Disposable{constructor(z){super(),this.handleBeforeFire=z,this._actual=this._register(new D.Emitter),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var z;this._deferredCnt--,this._deferredCnt===0&&(this._shouldFireDeferred&&this.doFire(),(z=this._affectedInjectedTextLines)===null||z===void 0||z.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(z){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(z)}checkAffectedAndFire(z){this._affectsMinimap||(this._affectsMinimap=!!(z.minimap&&z.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(z.overviewRuler&&z.overviewRuler.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!z.glyphMarginClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){this._deferredCnt===0?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);const z={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(z)}}class ce extends S.Disposable{constructor(){super(),this._fastEmitter=this._register(new D.Emitter),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new D.Emitter),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(z=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=z;const Q=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(Q),this._slowEmitter.fire(Q)}}fire(z){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(z):this._deferredEvent=z;return}this._fastEmitter.fire(z),this._slowEmitter.fire(z)}}class ae{constructor(){this._onDidChangeVisibleRanges=new D.Emitter,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){const z=new X(Q=>{this._onDidChangeVisibleRanges.fire({view:z,state:Q})});return this._views.add(z),z}detachView(z){this._views.delete(z),this._onDidChangeVisibleRanges.fire({view:z,state:void 0})}}e.AttachedViews=ae;class X{constructor(z){this.handleStateChange=z}setVisibleLines(z,Q){const j=z.map(re=>new s.LineRange(re.startLineNumber,re.endLineNumber+1));this.handleStateChange({visibleLineRanges:j,stabilized:Q})}}}),define(te[365],ie([1,0,26,57,27,37,611,77]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowRevertChange=e.diffDeleteDecorationEmpty=e.diffWholeLineDeleteDecoration=e.diffDeleteDecoration=e.diffAddDecorationEmpty=e.diffWholeLineAddDecoration=e.diffAddDecoration=e.diffLineDeleteDecorationBackground=e.diffLineAddDecorationBackground=e.diffLineDeleteDecorationBackgroundWithIndicator=e.diffLineAddDecorationBackgroundWithIndicator=e.diffRemoveIcon=e.diffInsertIcon=void 0,e.diffInsertIcon=(0,m.registerIcon)("diff-insert",L.Codicon.add,(0,S.localize)(0,null)),e.diffRemoveIcon=(0,m.registerIcon)("diff-remove",L.Codicon.remove,(0,S.localize)(1,null)),e.diffLineAddDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+y.ThemeIcon.asClassName(e.diffInsertIcon),marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackgroundWithIndicator=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+y.ThemeIcon.asClassName(e.diffRemoveIcon),marginClassName:"gutter-delete"}),e.diffLineAddDecorationBackground=D.ModelDecorationOptions.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),e.diffLineDeleteDecorationBackground=D.ModelDecorationOptions.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),e.diffAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),e.diffWholeLineAddDecoration=D.ModelDecorationOptions.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),e.diffAddDecorationEmpty=D.ModelDecorationOptions.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),e.diffDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),e.diffWholeLineDeleteDecoration=D.ModelDecorationOptions.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),e.diffDeleteDecorationEmpty=D.ModelDecorationOptions.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"}),e.arrowRevertChange=D.ModelDecorationOptions.register({description:"diff-editor-arrow-revert-change",glyphMarginHoverMessage:new I.MarkdownString(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,S.localize)(2,null)),glyphMarginClassName:"arrow-revert-change "+y.ThemeIcon.asClassName(L.Codicon.arrowRight),zIndex:10001})}),define(te[869],ie([1,0,2,40,365,327,100,12,5]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorDecorations=void 0;class v extends L.Disposable{constructor(s,i,n){super(),this._editors=s,this._diffModel=i,this._options=n,this._decorations=(0,I.derived)(this,t=>{var r;const u=(r=this._diffModel.read(t))===null||r===void 0?void 0:r.diff.read(t);if(!u)return null;const f=this._diffModel.read(t).movedTextToCompare.read(t),d=this._options.renderIndicators.read(t),l=this._options.showEmptyDecorations.read(t),o=[],c=[];if(!f)for(const g of u.mappings){if(g.lineRangeMapping.original.isEmpty||o.push({range:g.lineRangeMapping.original.toInclusiveRange(),options:d?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground}),g.lineRangeMapping.modified.isEmpty||c.push({range:g.lineRangeMapping.modified.toInclusiveRange(),options:d?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground}),g.lineRangeMapping.modified.isEmpty||g.lineRangeMapping.original.isEmpty)g.lineRangeMapping.original.isEmpty||o.push({range:g.lineRangeMapping.original.toInclusiveRange(),options:y.diffWholeLineDeleteDecoration}),g.lineRangeMapping.modified.isEmpty||c.push({range:g.lineRangeMapping.modified.toInclusiveRange(),options:y.diffWholeLineAddDecoration});else for(const h of g.lineRangeMapping.innerChanges||[])g.lineRangeMapping.original.contains(h.originalRange.startLineNumber)&&o.push({range:h.originalRange,options:h.originalRange.isEmpty()&&l?y.diffDeleteDecorationEmpty:y.diffDeleteDecoration}),g.lineRangeMapping.modified.contains(h.modifiedRange.startLineNumber)&&c.push({range:h.modifiedRange,options:h.modifiedRange.isEmpty()&&l?y.diffAddDecorationEmpty:y.diffAddDecoration});!g.lineRangeMapping.modified.isEmpty&&this._options.shouldRenderRevertArrows.read(t)&&!f&&c.push({range:_.Range.fromPositions(new m.Position(g.lineRangeMapping.modified.startLineNumber,1)),options:y.arrowRevertChange})}if(f)for(const g of f.changes){const h=g.original.toInclusiveRange();h&&o.push({range:h,options:d?y.diffLineDeleteDecorationBackgroundWithIndicator:y.diffLineDeleteDecorationBackground});const p=g.modified.toInclusiveRange();p&&c.push({range:p,options:d?y.diffLineAddDecorationBackgroundWithIndicator:y.diffLineAddDecorationBackground});for(const b of g.innerChanges||[])o.push({range:b.originalRange,options:y.diffDeleteDecoration}),c.push({range:b.modifiedRange,options:y.diffAddDecoration})}const a=this._diffModel.read(t).activeMovedText.read(t);for(const g of u.movedTexts)o.push({range:g.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(g===a?" currentMove":""),blockPadding:[D.MovedBlocksLinesPart.movedCodeBlockPadding,0,D.MovedBlocksLinesPart.movedCodeBlockPadding,D.MovedBlocksLinesPart.movedCodeBlockPadding]}}),c.push({range:g.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(g===a?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:o,modifiedDecorations:c}}),this._register((0,S.applyObservableDecorations)(this._editors.original,this._decorations.map(t=>t?.originalDecorations||[]))),this._register((0,S.applyObservableDecorations)(this._editors.modified,this._decorations.map(t=>t?.modifiedDecorations||[])))}}e.DiffEditorDecorations=v}),define(te[870],ie([1,0,7,13,14,26,2,40,27,20,70,120,365,352,616,632,100,64,12,82,102,58]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewZoneManager=void 0;let a=class extends S.Disposable{constructor(b,w,E,k,M,R,B){super(),this._editors=b,this._diffModel=w,this._options=E,this._diffEditorWidget=k,this._canIgnoreViewZoneUpdateEvent=M,this._clipboardService=R,this._contextMenuService=B,this._originalTopPadding=(0,m.observableValue)(this,0),this._originalScrollOffset=(0,m.observableValue)(this,0),this._originalScrollOffsetAnimated=(0,u.animatedObservable)(this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,m.observableValue)(this,0),this._modifiedScrollOffset=(0,m.observableValue)(this,0),this._modifiedScrollOffsetAnimated=(0,u.animatedObservable)(this._modifiedScrollOffset,this._store);let T=!1;const N=(0,m.observableValue)("state",0),A=this._register(new y.RunOnceScheduler(()=>{N.set(N.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(se=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&A.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(se=>{!T&&!this._canIgnoreViewZoneUpdateEvent()&&A.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(se=>{(se.hasChanged(144)||se.hasChanged(66))&&A.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(se=>{(se.hasChanged(144)||se.hasChanged(66))&&A.schedule()}));const P=this._diffModel.map(se=>se?(0,m.observableFromEvent)(se.model.original.onDidChangeTokens,()=>se.model.original.tokenization.backgroundTokenizationState===2):void 0).map((se,J)=>se?.read(J)),O=new Set,x=new Set,W=(0,m.derived)(se=>{const J=this._diffModel.read(se),q=J?.diff.read(se);if(!J||!q)return null;N.read(se);const V=this._options.renderSideBySide.read(se);return g(this._editors.original,this._editors.modified,q.mappings,O,x,V)}),U=(0,m.derived)(se=>{var J;const q=(J=this._diffModel.read(se))===null||J===void 0?void 0:J.movedTextToCompare.read(se);if(!q)return null;N.read(se);const H=q.changes.map(V=>new n.DiffMapping(V));return g(this._editors.original,this._editors.modified,H,O,x,!0)});function F(){const se=document.createElement("div");return se.className="diagonal-fill",se}const G=this._register(new S.DisposableStore),Y=(0,m.derived)(se=>{var J,q,H,V,Z,ee,le,ue;G.clear();const de=W.read(se)||[],ce=[],ae=[],X=this._modifiedTopPadding.read(se);X>0&&ae.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:X,showInHiddenAreas:!0,suppressMouseDown:!0});const K=this._originalTopPadding.read(se);K>0&&ce.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:K,showInHiddenAreas:!0,suppressMouseDown:!0});const z=this._options.renderSideBySide.read(se),Q=z||(J=this._editors.modified._getViewModel())===null||J===void 0?void 0:J.createLineBreaksComputer();if(Q){for(const we of de)if(we.diff)for(let Le=we.originalRange.startLineNumber;Lethis._editors.original.getModel().tokenization.getLineTokens(fe)),we.originalRange.mapToLineArray(fe=>j[re++]),me,pe),Re=[];for(const fe of we.diff.innerChanges||[])Re.push(new l.InlineDecoration(fe.originalRange.delta(-(we.diff.original.startLineNumber-1)),i.diffDeleteDecoration.className,0));const Be=(0,r.renderLines)(Ae,ve,Re,Ee),ye=document.createElement("div");if(ye.className="inline-deleted-margin-view-zone",(0,C.applyFontInfo)(ye,ve.fontInfo),this._options.renderIndicators.read(se))for(let fe=0;fe(0,v.assertIsDefined)(De),ye,this._editors.modified,we.diff,this._diffEditorWidget,Be.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let fe=0;fe1&&ce.push({afterLineNumber:we.originalRange.startLineNumber+fe,domNode:F(),heightInPx:(Ce-1)*oe,showInHiddenAreas:!0,suppressMouseDown:!0})}ae.push({afterLineNumber:we.modifiedRange.startLineNumber-1,domNode:Ee,heightInPx:Be.heightInLines*oe,minWidthInPx:Be.minWidthInPx,marginDomNode:ye,setZoneId(fe){De=fe},showInHiddenAreas:!0,suppressMouseDown:!0})}const Le=document.createElement("div");Le.className="gutter-delete",ce.push({afterLineNumber:we.originalRange.endLineNumberExclusive-1,domNode:F(),heightInPx:we.modifiedHeightInPx,marginDomNode:Le,showInHiddenAreas:!0,suppressMouseDown:!0})}else{const Le=we.modifiedHeightInPx-we.originalHeightInPx;if(Le>0){if(he?.lineRangeMapping.original.delta(-1).deltaLength(2).contains(we.originalRange.endLineNumberExclusive-1))continue;ce.push({afterLineNumber:we.originalRange.endLineNumberExclusive-1,domNode:F(),heightInPx:Le,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let Ee=function(){const Re=document.createElement("div");return Re.className="arrow-revert-change "+_.ThemeIcon.asClassName(D.Codicon.arrowRight),(0,L.$)("div",{},Re)};if(he?.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(we.modifiedRange.endLineNumberExclusive-1))continue;let Ae;we.diff&&we.diff.modified.isEmpty&&this._options.shouldRenderRevertArrows.read(se)&&(Ae=Ee()),ae.push({afterLineNumber:we.modifiedRange.endLineNumberExclusive-1,domNode:F(),heightInPx:-Le,marginDomNode:Ae,showInHiddenAreas:!0,suppressMouseDown:!0})}}for(const we of(ue=U.read(se))!==null&&ue!==void 0?ue:[]){if(!he?.lineRangeMapping.original.intersect(we.originalRange)||!he?.lineRangeMapping.modified.intersect(we.modifiedRange))continue;const Le=we.modifiedHeightInPx-we.originalHeightInPx;Le>0?ce.push({afterLineNumber:we.originalRange.endLineNumberExclusive-1,domNode:F(),heightInPx:Le,showInHiddenAreas:!0,suppressMouseDown:!0}):ae.push({afterLineNumber:we.modifiedRange.endLineNumberExclusive-1,domNode:F(),heightInPx:-Le,showInHiddenAreas:!0,suppressMouseDown:!0})}return{orig:ce,mod:ae}});this._register((0,m.autorunWithStore)(se=>{const J=s.StableEditorScrollState.capture(this._editors.modified),q=Y.read(se);T=!0,this._editors.original.changeViewZones(H=>{for(const V of O)H.removeZone(V);O.clear();for(const V of q.orig){const Z=H.addZone(V);V.setZoneId&&V.setZoneId(Z),O.add(Z)}}),this._editors.modified.changeViewZones(H=>{for(const V of x)H.removeZone(V);x.clear();for(const V of q.mod){const Z=H.addZone(V);V.setZoneId&&V.setZoneId(Z),x.add(Z)}}),T=!1,J.restore(this._editors.modified)})),this._register((0,S.toDisposable)(()=>{this._editors.original.changeViewZones(se=>{for(const J of O)se.removeZone(J);O.clear()}),this._editors.modified.changeViewZones(se=>{for(const J of x)se.removeZone(J);x.clear()})}));let ne=!1;this._register(this._editors.original.onDidScrollChange(se=>{se.scrollLeftChanged&&!ne&&(ne=!0,this._editors.modified.setScrollLeft(se.scrollLeft),ne=!1)})),this._register(this._editors.modified.onDidScrollChange(se=>{se.scrollLeftChanged&&!ne&&(ne=!0,this._editors.original.setScrollLeft(se.scrollLeft),ne=!1)})),this._originalScrollTop=(0,m.observableFromEvent)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,m.observableFromEvent)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,m.autorun)(se=>{const J=this._originalScrollTop.read(se)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(se))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(se));J!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(J,1)})),this._register((0,m.autorun)(se=>{const J=this._modifiedScrollTop.read(se)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(se))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(se));J!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(J,1)})),this._register((0,m.autorun)(se=>{var J;const q=(J=this._diffModel.read(se))===null||J===void 0?void 0:J.movedTextToCompare.read(se);let H=0;if(q){const V=this._editors.original.getTopForLineNumber(q.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get();H=this._editors.modified.getTopForLineNumber(q.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get()-V}H>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(H,void 0)):H<0?(this._modifiedTopPadding.set(-H,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-H,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+H,void 0,!0)}))}};e.ViewZoneManager=a,e.ViewZoneManager=a=Ie([ge(5,o.IClipboardService),ge(6,c.IContextMenuService)],a);function g(p,b,w,E,k,M){const R=new I.ArrayQueue(h(p,E)),B=new I.ArrayQueue(h(b,k)),T=p.getOption(66),N=b.getOption(66),A=[];let P=0,O=0;function x(W,U){for(;;){let F=R.peek(),G=B.peek();if(F&&F.lineNumber>=W&&(F=void 0),G&&G.lineNumber>=U&&(G=void 0),!F&&!G)break;const Y=F?F.lineNumber-P:Number.MAX_VALUE,ne=G?G.lineNumber-O:Number.MAX_VALUE;Yne?(B.dequeue(),F={lineNumber:G.lineNumber-O+P,heightInPx:0}):(R.dequeue(),B.dequeue()),A.push({originalRange:f.LineRange.ofLength(F.lineNumber,1),modifiedRange:f.LineRange.ofLength(G.lineNumber,1),originalHeightInPx:T+F.heightInPx,modifiedHeightInPx:N+G.heightInPx,diff:void 0})}}for(const W of w){let ne=function(se,J){var q,H,V,Z;if(sece.lineNumberce+ae.heightInPx,0))!==null&&H!==void 0?H:0,de=(Z=(V=B.takeWhile(ce=>ce.lineNumberce+ae.heightInPx,0))!==null&&Z!==void 0?Z:0;A.push({originalRange:ee,modifiedRange:le,originalHeightInPx:ee.length*T+ue,modifiedHeightInPx:le.length*N+de,diff:W.lineRangeMapping}),Y=se,G=J};const U=W.lineRangeMapping;x(U.original.startLineNumber,U.modified.startLineNumber);let F=!0,G=U.modified.startLineNumber,Y=U.original.startLineNumber;if(M)for(const se of U.innerChanges||[])se.originalRange.startColumn>1&&se.modifiedRange.startColumn>1&&ne(se.originalRange.startLineNumber,se.modifiedRange.startLineNumber),se.originalRange.endColumn1&&E.push({lineNumber:T,heightInPx:R*(N-1)})}for(const T of p.getWhitespaces()){if(b.has(T.id))continue;const N=T.afterLineNumber===0?0:M.convertViewPositionToModelPosition(new d.Position(T.afterLineNumber,1)).lineNumber;w.push({lineNumber:N,heightInPx:T.height})}return(0,u.joinCombine)(w,E,T=>T.lineNumber,(T,N)=>({lineNumber:T.lineNumber,heightInPx:T.heightInPx+N.heightInPx}))}}),define(te[871],ie([1,0,6,2,17,37,173,75,42,185,28,191,141,333,54,52,32]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";var f;Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultModelSHA1Computer=e.ModelService=void 0;function d(h){return h.toString()}class l{constructor(p,b,w){this.model=p,this._modelEventListeners=new I.DisposableStore,this.model=p,this._modelEventListeners.add(p.onWillDispose(()=>b(p))),this._modelEventListeners.add(p.onDidChangeLanguage(E=>w(p,E)))}dispose(){this._modelEventListeners.dispose()}}const o=y.isLinux||y.isMacintosh?1:2;class c{constructor(p,b,w,E,k,M,R,B){this.uri=p,this.initialUndoRedoSnapshot=b,this.time=w,this.sharesUndoRedoStack=E,this.heapSize=k,this.sha1=M,this.versionId=R,this.alternativeVersionId=B}}let a=f=class extends I.Disposable{constructor(p,b,w,E,k){super(),this._configurationService=p,this._resourcePropertiesService=b,this._undoRedoService=w,this._languageService=E,this._languageConfigurationService=k,this._onModelAdded=this._register(new L.Emitter),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new L.Emitter),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new L.Emitter),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(M=>this._updateModelOptions(M))),this._updateModelOptions(void 0)}static _readModelOptions(p,b){var w;let E=S.EDITOR_MODEL_DEFAULTS.tabSize;if(p.editor&&typeof p.editor.tabSize<"u"){const O=parseInt(p.editor.tabSize,10);isNaN(O)||(E=O),E<1&&(E=1)}let k="tabSize";if(p.editor&&typeof p.editor.indentSize<"u"&&p.editor.indentSize!=="tabSize"){const O=parseInt(p.editor.indentSize,10);isNaN(O)||(k=Math.max(O,1))}let M=S.EDITOR_MODEL_DEFAULTS.insertSpaces;p.editor&&typeof p.editor.insertSpaces<"u"&&(M=p.editor.insertSpaces==="false"?!1:!!p.editor.insertSpaces);let R=o;const B=p.eol;B===`\r +`?R=2:B===` +`&&(R=1);let T=S.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace;p.editor&&typeof p.editor.trimAutoWhitespace<"u"&&(T=p.editor.trimAutoWhitespace==="false"?!1:!!p.editor.trimAutoWhitespace);let N=S.EDITOR_MODEL_DEFAULTS.detectIndentation;p.editor&&typeof p.editor.detectIndentation<"u"&&(N=p.editor.detectIndentation==="false"?!1:!!p.editor.detectIndentation);let A=S.EDITOR_MODEL_DEFAULTS.largeFileOptimizations;p.editor&&typeof p.editor.largeFileOptimizations<"u"&&(A=p.editor.largeFileOptimizations==="false"?!1:!!p.editor.largeFileOptimizations);let P=S.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions;return!((w=p.editor)===null||w===void 0)&&w.bracketPairColorization&&typeof p.editor.bracketPairColorization=="object"&&(P={enabled:!!p.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!p.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:b,tabSize:E,indentSize:k,insertSpaces:M,detectIndentation:N,defaultEOL:R,trimAutoWhitespace:T,largeFileOptimizations:A,bracketPairColorizationOptions:P}}_getEOL(p,b){if(p)return this._resourcePropertiesService.getEOL(p,b);const w=this._configurationService.getValue("files.eol",{overrideIdentifier:b});return w&&typeof w=="string"&&w!=="auto"?w:y.OS===3||y.OS===2?` +`:`\r +`}_shouldRestoreUndoStack(){const p=this._configurationService.getValue("files.restoreUndoStack");return typeof p=="boolean"?p:!0}getCreationOptions(p,b,w){const E=typeof p=="string"?p:p.languageId;let k=this._modelCreationOptionsByLanguageAndResource[E+b];if(!k){const M=this._configurationService.getValue("editor",{overrideIdentifier:E,resource:b}),R=this._getEOL(b,E);k=f._readModelOptions({editor:M,eol:R},w),this._modelCreationOptionsByLanguageAndResource[E+b]=k}return k}_updateModelOptions(p){const b=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const w=Object.keys(this._models);for(let E=0,k=w.length;Ep){const b=[];for(this._disposedModels.forEach(w=>{w.sharesUndoRedoStack||b.push(w)}),b.sort((w,E)=>w.time-E.time);b.length>0&&this._disposedModelsHeapSize>p;){const w=b.shift();this._removeDisposedModel(w.uri),w.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(w.initialUndoRedoSnapshot)}}}_createModelData(p,b,w,E){const k=this.getCreationOptions(b,w,E),M=new D.TextModel(p,b,k,w,this._undoRedoService,this._languageService,this._languageConfigurationService);if(w&&this._disposedModels.has(d(w))){const T=this._removeDisposedModel(w),N=this._undoRedoService.getElements(w),A=this._getSHA1Computer(),P=A.canComputeSHA1(M)?A.computeSHA1(M)===T.sha1:!1;if(P||T.sharesUndoRedoStack){for(const O of N.past)(0,n.isEditStackElement)(O)&&O.matchesResource(w)&&O.setModel(M);for(const O of N.future)(0,n.isEditStackElement)(O)&&O.matchesResource(w)&&O.setModel(M);this._undoRedoService.setElementsValidFlag(w,!0,O=>(0,n.isEditStackElement)(O)&&O.matchesResource(w)),P&&(M._overwriteVersionId(T.versionId),M._overwriteAlternativeVersionId(T.alternativeVersionId),M._overwriteInitialUndoRedoSnapshot(T.initialUndoRedoSnapshot))}else T.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(T.initialUndoRedoSnapshot)}const R=d(M.uri);if(this._models[R])throw new Error("ModelService: Cannot add model because it already exists!");const B=new l(M,T=>this._onWillDispose(T),(T,N)=>this._onDidChangeLanguage(T,N));return this._models[R]=B,B}createModel(p,b,w,E=!1){let k;return b?k=this._createModelData(p,b,w,E):k=this._createModelData(p,m.PLAINTEXT_LANGUAGE_ID,w,E),this._onModelAdded.fire(k.model),k.model}getModels(){const p=[],b=Object.keys(this._models);for(let w=0,E=b.length;w0||T.future.length>0){for(const N of T.past)(0,n.isEditStackElement)(N)&&N.matchesResource(p.uri)&&(k=!0,M+=N.heapSize(p.uri),N.setModel(p.uri));for(const N of T.future)(0,n.isEditStackElement)(N)&&N.matchesResource(p.uri)&&(k=!0,M+=N.heapSize(p.uri),N.setModel(p.uri))}}const R=f.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK,B=this._getSHA1Computer();if(k)if(!E&&(M>R||!B.canComputeSHA1(p))){const T=w.model.getInitialUndoRedoSnapshot();T!==null&&this._undoRedoService.restoreSnapshot(T)}else this._ensureDisposedModelsHeapSize(R-M),this._undoRedoService.setElementsValidFlag(p.uri,!1,T=>(0,n.isEditStackElement)(T)&&T.matchesResource(p.uri)),this._insertDisposedModel(new c(p.uri,w.model.getInitialUndoRedoSnapshot(),Date.now(),E,M,B.computeSHA1(p),p.getVersionId(),p.getAlternativeVersionId()));else if(!E){const T=w.model.getInitialUndoRedoSnapshot();T!==null&&this._undoRedoService.restoreSnapshot(T)}delete this._models[b],w.dispose(),delete this._modelCreationOptionsByLanguageAndResource[p.getLanguageId()+p.uri],this._onModelRemoved.fire(p)}_onDidChangeLanguage(p,b){const w=b.oldLanguage,E=p.getLanguageId(),k=this.getCreationOptions(w,p.uri,p.isForSimpleWidget),M=this.getCreationOptions(E,p.uri,p.isForSimpleWidget);f._setModelOptionsForModel(p,M,k),this._onModelModeChanged.fire({model:p,oldLanguageId:w})}_getSHA1Computer(){return new g}};e.ModelService=a,a.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024,e.ModelService=a=f=Ie([ge(0,C.IConfigurationService),ge(1,v.ITextResourcePropertiesService),ge(2,s.IUndoRedoService),ge(3,_.ILanguageService),ge(4,u.ILanguageConfigurationService)],a);class g{canComputeSHA1(p){return p.getValueLength()<=g.MAX_MODEL_SIZE}computeSHA1(p){const b=new i.StringSHA1,w=p.createSnapshot();let E;for(;E=w.read();)b.update(E);return b.digest()}}e.DefaultModelSHA1Computer=g,g.MAX_MODEL_SIZE=10*1024*1024}),define(te[872],ie([1,0,13,12,5,210,37,110,212,535,284,82]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModelLinesFromModelAsIs=e.ViewModelLinesFromProjectedModel=void 0;class i{constructor(o,c,a,g,h,p,b,w,E,k){this._editorId=o,this.model=c,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=a,this._monospaceLineBreaksComputerFactory=g,this.fontInfo=h,this.tabSize=p,this.wrappingStrategy=b,this.wrappingColumn=w,this.wrappingIndent=E,this.wordBreak=k,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new u(this)}_constructLines(o,c){this.modelLineProjections=[],o&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const a=this.model.getLinesContent(),g=this.model.getInjectedTextDecorations(this._editorId),h=a.length,p=this.createLineBreaksComputer(),b=new L.ArrayQueue(m.LineInjectedText.fromDecorations(g));for(let N=0;NP.lineNumber===N+1);p.addRequest(a[N],A,c?c[N]:null)}const w=p.finalize(),E=[],k=this.hiddenAreasDecorationIds.map(N=>this.model.getDecorationRange(N)).sort(y.Range.compareRangesUsingStarts);let M=1,R=0,B=-1,T=B+1=M&&A<=R,O=(0,v.createModelLineProjection)(w[N],!P);E[N]=O.getViewLineCount(),this.modelLineProjections[N]=O}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new C.ConstantTimePrefixSumComputer(E)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(o=>this.model.getDecorationRange(o))}setHiddenAreas(o){const c=o.map(R=>this.model.validateRange(R)),a=n(c),g=this.hiddenAreasDecorationIds.map(R=>this.model.getDecorationRange(R)).sort(y.Range.compareRangesUsingStarts);if(a.length===g.length){let R=!1;for(let B=0;B({range:R,options:S.ModelDecorationOptions.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,h);const p=a;let b=1,w=0,E=-1,k=E+1=b&&B<=w?this.modelLineProjections[R].isVisible()&&(this.modelLineProjections[R]=this.modelLineProjections[R].setVisible(!1),T=!0):(M=!0,this.modelLineProjections[R].isVisible()||(this.modelLineProjections[R]=this.modelLineProjections[R].setVisible(!0),T=!0)),T){const N=this.modelLineProjections[R].getViewLineCount();this.projectedModelLineLineCounts.setValue(R,N)}}return M||this.setHiddenAreas([]),!0}modelPositionIsVisible(o,c){return o<1||o>this.modelLineProjections.length?!1:this.modelLineProjections[o-1].isVisible()}getModelLineViewLineCount(o){return o<1||o>this.modelLineProjections.length?1:this.modelLineProjections[o-1].getViewLineCount()}setTabSize(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)}setWrappingSettings(o,c,a,g,h){const p=this.fontInfo.equals(o),b=this.wrappingStrategy===c,w=this.wrappingColumn===a,E=this.wrappingIndent===g,k=this.wordBreak===h;if(p&&b&&w&&E&&k)return!1;const M=p&&b&&!w&&E&&k;this.fontInfo=o,this.wrappingStrategy=c,this.wrappingColumn=a,this.wrappingIndent=g,this.wordBreak=h;let R=null;if(M){R=[];for(let B=0,T=this.modelLineProjections.length;B2&&!this.modelLineProjections[c-2].isVisible(),p=c===1?1:this.projectedModelLineLineCounts.getPrefixSum(c-1)+1;let b=0;const w=[],E=[];for(let k=0,M=g.length;kw?(k=this.projectedModelLineLineCounts.getPrefixSum(c-1)+1,M=k+w-1,T=M+1,N=T+(h-w)-1,E=!0):hc?c:o|0}getActiveIndentGuide(o,c,a){o=this._toValidViewLineNumber(o),c=this._toValidViewLineNumber(c),a=this._toValidViewLineNumber(a);const g=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),h=this.convertViewPositionToModelPosition(c,this.getViewLineMinColumn(c)),p=this.convertViewPositionToModelPosition(a,this.getViewLineMinColumn(a)),b=this.model.guides.getActiveIndentGuide(g.lineNumber,h.lineNumber,p.lineNumber),w=this.convertModelPositionToViewPosition(b.startLineNumber,1),E=this.convertModelPositionToViewPosition(b.endLineNumber,this.model.getLineMaxColumn(b.endLineNumber));return{startLineNumber:w.lineNumber,endLineNumber:E.lineNumber,indent:b.indent}}getViewLineInfo(o){o=this._toValidViewLineNumber(o);const c=this.projectedModelLineLineCounts.getIndexOf(o-1),a=c.index,g=c.remainder;return new t(a+1,g)}getMinColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(o){return this.modelLineProjections[o.modelLineNumber-1].getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(o){const c=this.modelLineProjections[o.modelLineNumber-1],a=c.getViewLineMinColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),g=c.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,a);return new I.Position(o.modelLineNumber,g)}getModelEndPositionOfViewLine(o){const c=this.modelLineProjections[o.modelLineNumber-1],a=c.getViewLineMaxColumn(this.model,o.modelLineNumber,o.modelLineWrappedLineIdx),g=c.getModelColumnOfViewPosition(o.modelLineWrappedLineIdx,a);return new I.Position(o.modelLineNumber,g)}getViewLineInfosGroupedByModelRanges(o,c){const a=this.getViewLineInfo(o),g=this.getViewLineInfo(c),h=new Array;let p=this.getModelStartPositionOfViewLine(a),b=new Array;for(let w=a.modelLineNumber;w<=g.modelLineNumber;w++){const E=this.modelLineProjections[w-1];if(E.isVisible()){const k=w===a.modelLineNumber?a.modelLineWrappedLineIdx:0,M=w===g.modelLineNumber?g.modelLineWrappedLineIdx+1:E.getViewLineCount();for(let R=k;R{if(B.forWrappedLinesAfterColumn!==-1&&this.modelLineProjections[k.modelLineNumber-1].getViewPositionOfModelPosition(0,B.forWrappedLinesAfterColumn).lineNumber>=k.modelLineWrappedLineIdx||B.forWrappedLinesBeforeOrAtColumn!==-1&&this.modelLineProjections[k.modelLineNumber-1].getViewPositionOfModelPosition(0,B.forWrappedLinesBeforeOrAtColumn).lineNumberk.modelLineWrappedLineIdx)return}const N=this.convertModelPositionToViewPosition(k.modelLineNumber,B.horizontalLine.endColumn),A=this.modelLineProjections[k.modelLineNumber-1].getViewPositionOfModelPosition(0,B.horizontalLine.endColumn);return A.lineNumber===k.modelLineWrappedLineIdx?new D.IndentGuide(B.visibleColumn,T,B.className,new D.IndentGuideHorizontalLine(B.horizontalLine.top,N.column),-1,-1):A.lineNumber!!B))}}return p}getViewLinesIndentGuides(o,c){o=this._toValidViewLineNumber(o),c=this._toValidViewLineNumber(c);const a=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),g=this.convertViewPositionToModelPosition(c,this.getViewLineMaxColumn(c));let h=[];const p=[],b=[],w=a.lineNumber-1,E=g.lineNumber-1;let k=null;for(let T=w;T<=E;T++){const N=this.modelLineProjections[T];if(N.isVisible()){const A=N.getViewLineNumberOfModelPosition(0,T===w?a.column:1),P=N.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(T+1)),O=P-A+1;let x=0;O>1&&N.getViewLineMinColumn(this.model,T+1,P)===1&&(x=A===0?1:2),p.push(O),b.push(x),k===null&&(k=new I.Position(T+1,0))}else k!==null&&(h=h.concat(this.model.guides.getLinesIndentGuides(k.lineNumber,T)),k=null)}k!==null&&(h=h.concat(this.model.guides.getLinesIndentGuides(k.lineNumber,g.lineNumber)),k=null);const M=c-o+1,R=new Array(M);let B=0;for(let T=0,N=h.length;Tc&&(T=!0,B=c-h+1),M.getViewLinesData(this.model,E+1,R,B,h-o,a,w),h+=B,T)break}return w}validateViewPosition(o,c,a){o=this._toValidViewLineNumber(o);const g=this.projectedModelLineLineCounts.getIndexOf(o-1),h=g.index,p=g.remainder,b=this.modelLineProjections[h],w=b.getViewLineMinColumn(this.model,h+1,p),E=b.getViewLineMaxColumn(this.model,h+1,p);cE&&(c=E);const k=b.getModelColumnOfViewPosition(p,c);return this.model.validatePosition(new I.Position(h+1,k)).equals(a)?new I.Position(o,c):this.convertModelPositionToViewPosition(a.lineNumber,a.column)}validateViewRange(o,c){const a=this.validateViewPosition(o.startLineNumber,o.startColumn,c.getStartPosition()),g=this.validateViewPosition(o.endLineNumber,o.endColumn,c.getEndPosition());return new y.Range(a.lineNumber,a.column,g.lineNumber,g.column)}convertViewPositionToModelPosition(o,c){const a=this.getViewLineInfo(o),g=this.modelLineProjections[a.modelLineNumber-1].getModelColumnOfViewPosition(a.modelLineWrappedLineIdx,c);return this.model.validatePosition(new I.Position(a.modelLineNumber,g))}convertViewRangeToModelRange(o){const c=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),a=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new y.Range(c.lineNumber,c.column,a.lineNumber,a.column)}convertModelPositionToViewPosition(o,c,a=2,g=!1,h=!1){const p=this.model.validatePosition(new I.Position(o,c)),b=p.lineNumber,w=p.column;let E=b-1,k=!1;if(h)for(;E0&&!this.modelLineProjections[E].isVisible();)E--,k=!0;if(E===0&&!this.modelLineProjections[E].isVisible())return new I.Position(g?0:1,1);const M=1+this.projectedModelLineLineCounts.getPrefixSum(E);let R;return k?h?R=this.modelLineProjections[E].getViewPositionOfModelPosition(M,1,a):R=this.modelLineProjections[E].getViewPositionOfModelPosition(M,this.model.getLineMaxColumn(E+1),a):R=this.modelLineProjections[b-1].getViewPositionOfModelPosition(M,w,a),R}convertModelRangeToViewRange(o,c=0){if(o.isEmpty()){const a=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,c);return y.Range.fromPositions(a)}else{const a=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn,1),g=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn,0);return new y.Range(a.lineNumber,a.column,g.lineNumber,g.column)}}getViewLineNumberOfModelPosition(o,c){let a=o-1;if(this.modelLineProjections[a].isVisible()){const h=1+this.projectedModelLineLineCounts.getPrefixSum(a);return this.modelLineProjections[a].getViewLineNumberOfModelPosition(h,c)}for(;a>0&&!this.modelLineProjections[a].isVisible();)a--;if(a===0&&!this.modelLineProjections[a].isVisible())return 1;const g=1+this.projectedModelLineLineCounts.getPrefixSum(a);return this.modelLineProjections[a].getViewLineNumberOfModelPosition(g,this.model.getLineMaxColumn(a+1))}getDecorationsInRange(o,c,a,g,h){const p=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),b=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);if(b.lineNumber-p.lineNumber<=o.endLineNumber-o.startLineNumber)return this.model.getDecorationsInRange(new y.Range(p.lineNumber,1,b.lineNumber,b.column),c,a,g,h);let w=[];const E=p.lineNumber-1,k=b.lineNumber-1;let M=null;for(let N=E;N<=k;N++)if(this.modelLineProjections[N].isVisible())M===null&&(M=new I.Position(N+1,N===E?p.column:1));else if(M!==null){const P=this.model.getLineMaxColumn(N);w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,N,P),c,a,g)),M=null}M!==null&&(w=w.concat(this.model.getDecorationsInRange(new y.Range(M.lineNumber,M.column,b.lineNumber,b.column),c,a,g)),M=null),w.sort((N,A)=>{const P=y.Range.compareRangesUsingStarts(N.range,A.range);return P===0?N.idA.id?1:0:P});const R=[];let B=0,T=null;for(const N of w){const A=N.id;T!==A&&(T=A,R[B++]=N)}return R}getInjectedTextAt(o){const c=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[c.modelLineNumber-1].getInjectedTextAt(c.modelLineWrappedLineIdx,o.column)}normalizePosition(o,c){const a=this.getViewLineInfo(o.lineNumber);return this.modelLineProjections[a.modelLineNumber-1].normalizePosition(a.modelLineWrappedLineIdx,o,c)}getLineIndentColumn(o){const c=this.getViewLineInfo(o);return c.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(c.modelLineNumber):0}}e.ViewModelLinesFromProjectedModel=i;function n(l){if(l.length===0)return[];const o=l.slice();o.sort(y.Range.compareRangesUsingStarts);const c=[];let a=o[0].startLineNumber,g=o[0].endLineNumber;for(let h=1,p=o.length;hg+1?(c.push(new y.Range(a,1,g,1)),a=b.startLineNumber,g=b.endLineNumber):b.endLineNumber>g&&(g=b.endLineNumber)}return c.push(new y.Range(a,1,g,1)),c}class t{constructor(o,c){this.modelLineNumber=o,this.modelLineWrappedLineIdx=c}}class r{constructor(o,c){this.modelRange=o,this.viewLines=c}}class u{constructor(o){this._lines=o}convertViewPositionToModelPosition(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)}convertViewRangeToModelRange(o){return this._lines.convertViewRangeToModelRange(o)}validateViewPosition(o,c){return this._lines.validateViewPosition(o.lineNumber,o.column,c)}validateViewRange(o,c){return this._lines.validateViewRange(o,c)}convertModelPositionToViewPosition(o,c,a,g){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column,c,a,g)}convertModelRangeToViewRange(o,c){return this._lines.convertModelRangeToViewRange(o,c)}modelPositionIsVisible(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)}getModelLineViewLineCount(o){return this._lines.getModelLineViewLineCount(o)}getViewLineNumberOfModelPosition(o,c){return this._lines.getViewLineNumberOfModelPosition(o,c)}}class f{constructor(o){this.model=o}dispose(){}createCoordinatesConverter(){return new d(this)}getHiddenAreas(){return[]}setHiddenAreas(o){return!1}setTabSize(o){return!1}setWrappingSettings(o,c,a,g){return!1}createLineBreaksComputer(){const o=[];return{addRequest:(c,a,g)=>{o.push(null)},finalize:()=>o}}onModelFlushed(){}onModelLinesDeleted(o,c,a){return new _.ViewLinesDeletedEvent(c,a)}onModelLinesInserted(o,c,a,g){return new _.ViewLinesInsertedEvent(c,a)}onModelLineChanged(o,c,a){return[!1,new _.ViewLinesChangedEvent(c,1),null,null]}acceptVersionId(o){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(o,c,a){return{startLineNumber:o,endLineNumber:o,indent:0}}getViewLinesBracketGuides(o,c,a){return new Array(c-o+1).fill([])}getViewLinesIndentGuides(o,c){const a=c-o+1,g=new Array(a);for(let h=0;hc)}getModelLineViewLineCount(o){return 1}getViewLineNumberOfModelPosition(o,c){return o}}}),define(te[873],ie([1,0,13,14,36,2,17,10,39,775,72,12,5,110,29,75,330,212,539,332,82,329,213,872]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewModel=void 0;const h=!0;class p extends D.Disposable{constructor(T,N,A,P,O,x,W,U,F){if(super(),this.languageConfigurationService=W,this._themeService=U,this._attachedView=F,this.hiddenAreasModel=new E,this.previousHiddenAreas=[],this._editorId=T,this._configuration=N,this.model=A,this._eventDispatcher=new a.ViewModelEventDispatcher,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._updateConfigurationViewLineCount=this._register(new I.RunOnceScheduler(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=b.create(this.model),h&&this.model.isTooLargeForTokenization())this._lines=new g.ViewModelLinesFromModelAsIs(this.model);else{const G=this._configuration.options,Y=G.get(50),ne=G.get(137),se=G.get(144),J=G.get(136),q=G.get(128);this._lines=new g.ViewModelLinesFromProjectedModel(this._editorId,this.model,P,O,Y,this.model.getOptions().tabSize,ne,se.wrappingColumn,J,q)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new v.CursorsController(A,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new d.ViewLayout(this._configuration,this.getLineCount(),x)),this._register(this.viewLayout.onDidScroll(G=>{G.scrollTopChanged&&this._handleVisibleLinesChanged(),G.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new f.ViewScrollChangedEvent(G)),this._eventDispatcher.emitOutgoingEvent(new a.ScrollChangedEvent(G.oldScrollWidth,G.oldScrollLeft,G.oldScrollHeight,G.oldScrollTop,G.scrollWidth,G.scrollLeft,G.scrollHeight,G.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(G=>{this._eventDispatcher.emitOutgoingEvent(G)})),this._decorations=new c.ViewModelDecorations(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(G=>{try{const Y=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(Y,G)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(l.MinimapTokensColorTracker.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new f.ViewTokensColorsChangedEvent)})),this._register(this._themeService.onDidColorThemeChange(G=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new f.ViewThemeChangedEvent(G))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(T){this._eventDispatcher.addViewEventHandler(T)}removeViewEventHandler(T){this._eventDispatcher.removeViewEventHandler(T)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){const T=this.viewLayout.getLinesViewportData(),N=new i.Range(T.startLineNumber,this.getLineMinColumn(T.startLineNumber),T.endLineNumber,this.getLineMaxColumn(T.endLineNumber));return this._toModelVisibleRanges(N)}visibleLinesStabilized(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!0)}_handleVisibleLinesChanged(){const T=this.getModelVisibleRanges();this._attachedView.setVisibleLines(T,!1)}setHasFocus(T){this._hasFocus=T,this._cursor.setHasFocus(T),this._eventDispatcher.emitSingleViewEvent(new f.ViewFocusChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new a.FocusChangedEvent(!T,T))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new f.ViewCompositionStartEvent)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new f.ViewCompositionEndEvent)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){const T=new s.Position(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),N=this.coordinatesConverter.convertViewPositionToModelPosition(T);return new R(N,this._viewportStart.startLineDelta)}return new R(null,0)}_onConfigurationChanged(T,N){const A=this._captureStableViewport(),P=this._configuration.options,O=P.get(50),x=P.get(137),W=P.get(144),U=P.get(136),F=P.get(128);this._lines.setWrappingSettings(O,x,W.wrappingColumn,U,F)&&(T.emitViewEvent(new f.ViewFlushedEvent),T.emitViewEvent(new f.ViewLineMappingChangedEvent),T.emitViewEvent(new f.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(T),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),N.hasChanged(90)&&(this._decorations.reset(),T.emitViewEvent(new f.ViewDecorationsChangedEvent(null))),T.emitViewEvent(new f.ViewConfigurationChangedEvent(N)),this.viewLayout.onConfigurationChanged(N),A.recoverViewportStart(this.coordinatesConverter,this.viewLayout),C.CursorConfiguration.shouldRecreate(N)&&(this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(T=>{try{const A=this._eventDispatcher.beginEmitViewEvents();let P=!1,O=!1;const x=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.changes:T.changes,W=T instanceof n.InternalModelContentChangeEvent?T.rawContentChangedEvent.versionId:null,U=this._lines.createLineBreaksComputer();for(const Y of x)switch(Y.changeType){case 4:{for(let ne=0;ne!q.ownerId||q.ownerId===this._editorId)),U.addRequest(se,J,null)}break}case 2:{let ne=null;Y.injectedText&&(ne=Y.injectedText.filter(se=>!se.ownerId||se.ownerId===this._editorId)),U.addRequest(Y.detail,ne,null);break}}const F=U.finalize(),G=new L.ArrayQueue(F);for(const Y of x)switch(Y.changeType){case 1:{this._lines.onModelFlushed(),A.emitViewEvent(new f.ViewFlushedEvent),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),P=!0;break}case 3:{const ne=this._lines.onModelLinesDeleted(W,Y.fromLineNumber,Y.toLineNumber);ne!==null&&(A.emitViewEvent(ne),this.viewLayout.onLinesDeleted(ne.fromLineNumber,ne.toLineNumber)),P=!0;break}case 4:{const ne=G.takeCount(Y.detail.length),se=this._lines.onModelLinesInserted(W,Y.fromLineNumber,Y.toLineNumber,ne);se!==null&&(A.emitViewEvent(se),this.viewLayout.onLinesInserted(se.fromLineNumber,se.toLineNumber)),P=!0;break}case 2:{const ne=G.dequeue(),[se,J,q,H]=this._lines.onModelLineChanged(W,Y.lineNumber,ne);O=se,J&&A.emitViewEvent(J),q&&(A.emitViewEvent(q),this.viewLayout.onLinesInserted(q.fromLineNumber,q.toLineNumber)),H&&(A.emitViewEvent(H),this.viewLayout.onLinesDeleted(H.fromLineNumber,H.toLineNumber));break}case 5:break}W!==null&&this._lines.acceptVersionId(W),this.viewLayout.onHeightMaybeChanged(),!P&&O&&(A.emitViewEvent(new f.ViewLineMappingChangedEvent),A.emitViewEvent(new f.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(A),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}const N=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&N){const A=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(A){const P=this.coordinatesConverter.convertModelPositionToViewPosition(A.getStartPosition()),O=this.viewLayout.getVerticalOffsetForLineNumber(P.lineNumber);this.viewLayout.setScrollPosition({scrollTop:O+this._viewportStart.startLineDelta},1)}}try{const A=this._eventDispatcher.beginEmitViewEvents();T instanceof n.InternalModelContentChangeEvent&&A.emitOutgoingEvent(new a.ModelContentChangedEvent(T.contentChangedEvent)),this._cursor.onModelContentChanged(A,T)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(T=>{const N=[];for(let A=0,P=T.ranges.length;A{this._eventDispatcher.emitSingleViewEvent(new f.ViewLanguageConfigurationEvent),this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new a.ModelLanguageConfigurationChangedEvent(T))})),this._register(this.model.onDidChangeLanguage(T=>{this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new a.ModelLanguageChangedEvent(T))})),this._register(this.model.onDidChangeOptions(T=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const N=this._eventDispatcher.beginEmitViewEvents();N.emitViewEvent(new f.ViewFlushedEvent),N.emitViewEvent(new f.ViewLineMappingChangedEvent),N.emitViewEvent(new f.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(N),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new C.CursorConfiguration(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new a.ModelOptionsChangedEvent(T))})),this._register(this.model.onDidChangeDecorations(T=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new f.ViewDecorationsChangedEvent(T)),this._eventDispatcher.emitOutgoingEvent(new a.ModelDecorationsChangedEvent(T))}))}setHiddenAreas(T,N){this.hiddenAreasModel.setHiddenAreas(N,T);const A=this.hiddenAreasModel.getMergedRanges();if(A===this.previousHiddenAreas)return;this.previousHiddenAreas=A;const P=this._captureStableViewport();let O=!1;try{const x=this._eventDispatcher.beginEmitViewEvents();O=this._lines.setHiddenAreas(A),O&&(x.emitViewEvent(new f.ViewFlushedEvent),x.emitViewEvent(new f.ViewLineMappingChangedEvent),x.emitViewEvent(new f.ViewDecorationsChangedEvent(null)),this._cursor.onLineMappingChanged(x),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged()),P.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),O&&this._eventDispatcher.emitOutgoingEvent(new a.HiddenAreasChangedEvent)}getVisibleRangesPlusViewportAboveBelow(){const T=this._configuration.options.get(143),N=this._configuration.options.get(66),A=Math.max(20,Math.round(T.height/N)),P=this.viewLayout.getLinesViewportData(),O=Math.max(1,P.completelyVisibleStartLineNumber-A),x=Math.min(this.getLineCount(),P.completelyVisibleEndLineNumber+A);return this._toModelVisibleRanges(new i.Range(O,this.getLineMinColumn(O),x,this.getLineMaxColumn(x)))}getVisibleRanges(){const T=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(T)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(T){const N=this.coordinatesConverter.convertViewRangeToModelRange(T),A=this._lines.getHiddenAreas();if(A.length===0)return[N];const P=[];let O=0,x=N.startLineNumber,W=N.startColumn;const U=N.endLineNumber,F=N.endColumn;for(let G=0,Y=A.length;GU||(x"u")return this._reduceRestoreStateCompatibility(T);const N=this.model.validatePosition(T.firstPosition),A=this.coordinatesConverter.convertModelPositionToViewPosition(N),P=this.viewLayout.getVerticalOffsetForLineNumber(A.lineNumber)-T.firstPositionDeltaTop;return{scrollLeft:T.scrollLeft,scrollTop:P}}_reduceRestoreStateCompatibility(T){return{scrollLeft:T.scrollLeft,scrollTop:T.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(T,N,A){this._viewportStart.update(this,T)}getActiveIndentGuide(T,N,A){return this._lines.getActiveIndentGuide(T,N,A)}getLinesIndentGuides(T,N){return this._lines.getViewLinesIndentGuides(T,N)}getBracketGuidesInRangeByLine(T,N,A,P){return this._lines.getViewLinesBracketGuides(T,N,A,P)}getLineContent(T){return this._lines.getViewLineContent(T)}getLineLength(T){return this._lines.getViewLineLength(T)}getLineMinColumn(T){return this._lines.getViewLineMinColumn(T)}getLineMaxColumn(T){return this._lines.getViewLineMaxColumn(T)}getLineFirstNonWhitespaceColumn(T){const N=m.firstNonWhitespaceIndex(this.getLineContent(T));return N===-1?0:N+1}getLineLastNonWhitespaceColumn(T){const N=m.lastNonWhitespaceIndex(this.getLineContent(T));return N===-1?0:N+2}getMinimapDecorationsInRange(T){return this._decorations.getMinimapDecorationsInRange(T)}getDecorationsInViewport(T){return this._decorations.getDecorationsViewportData(T).decorations}getInjectedTextAt(T){return this._lines.getInjectedTextAt(T)}getViewportViewLineRenderingData(T,N){const P=this._decorations.getDecorationsViewportData(T).inlineDecorations[N-T.startLineNumber];return this._getViewLineRenderingData(N,P)}getViewLineRenderingData(T){const N=this._decorations.getInlineDecorationsOnLine(T);return this._getViewLineRenderingData(T,N)}_getViewLineRenderingData(T,N){const A=this.model.mightContainRTL(),P=this.model.mightContainNonBasicASCII(),O=this.getTabSize(),x=this._lines.getViewLineData(T);return x.inlineDecorations&&(N=[...N,...x.inlineDecorations.map(W=>W.toInlineDecoration(T))]),new o.ViewLineRenderingData(x.minColumn,x.maxColumn,x.content,x.continuesWithWrappedLine,A,P,x.tokens,N,O,x.startVisibleColumn)}getViewLineData(T){return this._lines.getViewLineData(T)}getMinimapLinesRenderingData(T,N,A){const P=this._lines.getViewLinesData(T,N,A);return new o.MinimapLinesRenderingData(this.getTabSize(),P)}getAllOverviewRulerDecorations(T){const N=this.model.getOverviewRulerDecorations(this._editorId,(0,_.filterValidationDecorations)(this._configuration.options)),A=new w;for(const P of N){const O=P.options,x=O.overviewRuler;if(!x)continue;const W=x.position;if(W===0)continue;const U=x.getColor(T.value),F=this.coordinatesConverter.getViewLineNumberOfModelPosition(P.range.startLineNumber,P.range.startColumn),G=this.coordinatesConverter.getViewLineNumberOfModelPosition(P.range.endLineNumber,P.range.endColumn);A.accept(U,O.zIndex,F,G,W)}return A.asArray}_invalidateDecorationsColorCache(){const T=this.model.getOverviewRulerDecorations();for(const N of T){const A=N.options.overviewRuler;A?.invalidateCachedColor();const P=N.options.minimap;P?.invalidateCachedColor()}}getValueInRange(T,N){const A=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueInRange(A,N)}getValueLengthInRange(T,N){const A=this.coordinatesConverter.convertViewRangeToModelRange(T);return this.model.getValueLengthInRange(A,N)}modifyPosition(T,N){const A=this.coordinatesConverter.convertViewPositionToModelPosition(T);return this.model.modifyPosition(A,N)}deduceModelPositionRelativeToViewPosition(T,N,A){const P=this.coordinatesConverter.convertViewPositionToModelPosition(T);this.model.getEOL().length===2&&(N<0?N-=A:N+=A);const x=this.model.getOffsetAt(P)+N;return this.model.getPositionAt(x)}getPlainTextToCopy(T,N,A){const P=A?`\r +`:this.model.getEOL();T=T.slice(0),T.sort(i.Range.compareRangesUsingStarts);let O=!1,x=!1;for(const U of T)U.isEmpty()?O=!0:x=!0;if(!x){if(!N)return"";const U=T.map(G=>G.startLineNumber);let F="";for(let G=0;G0&&U[G-1]===U[G]||(F+=this.model.getLineContent(U[G])+P);return F}if(O&&N){const U=[];let F=0;for(const G of T){const Y=G.startLineNumber;G.isEmpty()?Y!==F&&U.push(this.model.getLineContent(Y)):U.push(this.model.getValueInRange(G,A?2:0)),F=Y}return U.length===1?U[0]:U}const W=[];for(const U of T)U.isEmpty()||W.push(this.model.getValueInRange(U,A?2:0));return W.length===1?W[0]:W}getRichTextToCopy(T,N){const A=this.model.getLanguageId();if(A===r.PLAINTEXT_LANGUAGE_ID||T.length!==1)return null;let P=T[0];if(P.isEmpty()){if(!N)return null;const G=P.startLineNumber;P=new i.Range(G,this.model.getLineMinColumn(G),G,this.model.getLineMaxColumn(G))}const O=this._configuration.options.get(50),x=this._getColorMap(),U=/[:;\\\/<>]/.test(O.fontFamily)||O.fontFamily===_.EDITOR_FONT_DEFAULTS.fontFamily;let F;return U?F=_.EDITOR_FONT_DEFAULTS.fontFamily:(F=O.fontFamily,F=F.replace(/"/g,"'"),/[,']/.test(F)||/[+ ]/.test(F)&&(F=`'${F}'`),F=`${F}, ${_.EDITOR_FONT_DEFAULTS.fontFamily}`),{mode:A,html:`
    `+this._getHTMLToCopy(P,x)+"
    "}}_getHTMLToCopy(T,N){const A=T.startLineNumber,P=T.startColumn,O=T.endLineNumber,x=T.endColumn,W=this.getTabSize();let U="";for(let F=A;F<=O;F++){const G=this.model.tokenization.getLineTokens(F),Y=G.getLineContent(),ne=F===A?P-1:0,se=F===O?x-1:Y.length;Y===""?U+="
    ":U+=(0,u.tokenizeLineToHTML)(Y,G.inflate(),N,ne,se,W,S.isWindows)}return U}_getColorMap(){const T=t.TokenizationRegistry.getColorMap(),N=["#000000"];if(T)for(let A=1,P=T.length;Athis._cursor.setStates(P,T,N,A))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(T){this._cursor.setCursorColumnSelectData(T)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(T){this._cursor.setPrevEditOperationType(T)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(T,N,A=0){this._withViewEventsCollector(P=>this._cursor.setSelections(P,T,N,A))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(T){this._withViewEventsCollector(N=>this._cursor.restoreState(N,T))}_executeCursorEdit(T){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new a.ReadOnlyEditAttemptEvent);return}this._withViewEventsCollector(T)}executeEdits(T,N,A){this._executeCursorEdit(P=>this._cursor.executeEdits(P,T,N,A))}startComposition(){this._executeCursorEdit(T=>this._cursor.startComposition(T))}endComposition(T){this._executeCursorEdit(N=>this._cursor.endComposition(N,T))}type(T,N){this._executeCursorEdit(A=>this._cursor.type(A,T,N))}compositionType(T,N,A,P,O){this._executeCursorEdit(x=>this._cursor.compositionType(x,T,N,A,P,O))}paste(T,N,A,P){this._executeCursorEdit(O=>this._cursor.paste(O,T,N,A,P))}cut(T){this._executeCursorEdit(N=>this._cursor.cut(N,T))}executeCommand(T,N){this._executeCursorEdit(A=>this._cursor.executeCommand(A,T,N))}executeCommands(T,N){this._executeCursorEdit(A=>this._cursor.executeCommands(A,T,N))}revealPrimaryCursor(T,N,A=!1){this._withViewEventsCollector(P=>this._cursor.revealPrimary(P,T,A,0,N,0))}revealTopMostCursor(T){const N=this._cursor.getTopMostViewPosition(),A=new i.Range(N.lineNumber,N.column,N.lineNumber,N.column);this._withViewEventsCollector(P=>P.emitViewEvent(new f.ViewRevealRangeRequestEvent(T,!1,A,null,0,!0,0)))}revealBottomMostCursor(T){const N=this._cursor.getBottomMostViewPosition(),A=new i.Range(N.lineNumber,N.column,N.lineNumber,N.column);this._withViewEventsCollector(P=>P.emitViewEvent(new f.ViewRevealRangeRequestEvent(T,!1,A,null,0,!0,0)))}revealRange(T,N,A,P,O){this._withViewEventsCollector(x=>x.emitViewEvent(new f.ViewRevealRangeRequestEvent(T,!1,A,null,P,N,O)))}changeWhitespace(T){this.viewLayout.changeWhitespace(T)&&(this._eventDispatcher.emitSingleViewEvent(new f.ViewZonesChangedEvent),this._eventDispatcher.emitOutgoingEvent(new a.ViewZonesChangedEvent))}_withViewEventsCollector(T){try{const N=this._eventDispatcher.beginEmitViewEvents();return T(N)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(T,N){return this._lines.normalizePosition(T,N)}getLineIndentColumn(T){return this._lines.getLineIndentColumn(T)}}e.ViewModel=p;class b{static create(T){const N=T._setTrackedRange(null,new i.Range(1,1,1,1),1);return new b(T,1,!1,N,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(T,N,A,P,O){this._model=T,this._viewLineNumber=N,this._isValid=A,this._modelTrackedRange=P,this._startLineDelta=O}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(T,N){const A=T.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(N,T.getLineMinColumn(N))),P=T.model._setTrackedRange(this._modelTrackedRange,new i.Range(A.lineNumber,A.column,A.lineNumber,A.column),1),O=T.viewLayout.getVerticalOffsetForLineNumber(N),x=T.viewLayout.getCurrentScrollTop();this._viewLineNumber=N,this._isValid=!0,this._modelTrackedRange=P,this._startLineDelta=x-O}invalidate(){this._isValid=!1}}class w{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(T,N,A,P,O){const x=this._asMap[T];if(x){const W=x.data,U=W[W.length-3],F=W[W.length-1];if(U===O&&F+1>=A){P>F&&(W[W.length-1]=P);return}W.push(O,A,P)}else{const W=new o.OverviewRulerDecorationsGroup(T,N,[O,A,P]);this._asMap[T]=W,this.asArray.push(W)}}}class E{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(T,N){const A=this.hiddenAreas.get(T);A&&M(A,N)||(this.hiddenAreas.set(T,N),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;const T=Array.from(this.hiddenAreas.values()).reduce((N,A)=>k(N,A),[]);return M(this.ranges,T)?this.ranges:(this.ranges=T,this.ranges)}}function k(B,T){const N=[];let A=0,P=0;for(;A{this._onDidChangeConfiguration.fire(Be);const ye=this._configuration.options;if(Be.hasChanged(143)){const De=ye.get(143);this._onDidLayoutChange.fire(De)}})),this._contextKeyService=this._register(oe.createScoped(this._domElement)),this._notificationService=me,this._codeEditorService=j,this._commandService=re,this._themeService=he,this._register(new J(this,this._contextKeyService)),this._register(new q(this,this._contextKeyService,we)),this._instantiationService=Q.createChild(new E.ServiceCollection([b.IContextKeyService,this._contextKeyService])),this._modelData=null,this._focusTracker=new H(X),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={};let Ae;Array.isArray(z.contributions)?Ae=z.contributions:Ae=v.EditorExtensionsRegistry.getEditorContributions(),this._contributions.initialize(this,Ae,this._instantiationService);for(const Be of v.EditorExtensionsRegistry.getEditorActions()){if(this._actions.has(Be.id)){(0,y.onUnexpectedError)(new Error(`Cannot have two actions with the same id ${Be.id}`));continue}const ye=new d.InternalEditorAction(Be.id,Be.label,Be.alias,(Le=Be.precondition)!==null&&Le!==void 0?Le:void 0,()=>this._instantiationService.invokeFunction(De=>Promise.resolve(Be.runEditorCommand(De,this,null))),this._contextKeyService);this._actions.set(ye.id,ye)}const Re=()=>!this._configuration.options.get(90)&&this._configuration.options.get(36).enabled;this._register(new I.DragAndDropObserver(this._domElement,{onDragEnter:()=>{},onDragOver:Be=>{if(!Re())return;const ye=this.getTargetAtClientPoint(Be.clientX,Be.clientY);ye?.position&&this.showDropIndicatorAt(ye.position)},onDrop:Be=>be(this,void 0,void 0,function*(){if(!Re()||(this.removeDropIndicator(),!Be.dataTransfer))return;const ye=this.getTargetAtClientPoint(Be.clientX,Be.clientY);ye?.position&&this._onDropIntoEditor.fire({position:ye.position,event:Be})}),onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(X){var K;(K=this._modelData)===null||K===void 0||K.view.writeScreenReaderContent(X)}_createConfiguration(X,K,z){return new _.EditorConfiguration(X,K,this._domElement,z)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return l.EditorType.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(X){return this._instantiationService.invokeFunction(X)}updateOptions(X){this._configuration.updateOptions(X||{})}getOptions(){return this._configuration.options}getOption(X){return this._configuration.options.get(X)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(X){return this._modelData?N.WordOperations.getWordAtPosition(this._modelData.model,this._configuration.options.get(129),X):null}getValue(X=null){if(!this._modelData)return"";const K=!!(X&&X.preserveBOM);let z=0;return X&&X.lineEnding&&X.lineEnding===` +`?z=1:X&&X.lineEnding&&X.lineEnding===`\r +`&&(z=2),this._modelData.model.getValue(z,K)}setValue(X){this._modelData&&this._modelData.model.setValue(X)}getModel(){return this._modelData?this._modelData.model:null}setModel(X=null){const K=X;if(this._modelData===null&&K===null||this._modelData&&this._modelData.model===K)return;const z=this.hasTextFocus(),Q=this._detachModel();this._attachModel(K),z&&this.hasModel()&&this.focus();const j={oldModelUrl:Q?Q.uri:null,newModelUrl:K?K.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(j),this._postDetachModelCleanup(Q),this._contributions.onAfterModelAttached()}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(const X in this._decorationTypeSubtypes){const K=this._decorationTypeSubtypes[X];for(const z in K)this._removeDecorationType(X+"-"+z)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(X,K,z,Q){const j=X.model.validatePosition({lineNumber:K,column:z}),re=X.viewModel.coordinatesConverter.convertModelPositionToViewPosition(j);return X.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(re.lineNumber,Q)}getTopForLineNumber(X,K=!1){return this._modelData?U._getVerticalOffsetForPosition(this._modelData,X,1,K):-1}getTopForPosition(X,K){return this._modelData?U._getVerticalOffsetForPosition(this._modelData,X,K,!1):-1}static _getVerticalOffsetForPosition(X,K,z,Q=!1){const j=X.model.validatePosition({lineNumber:K,column:z}),re=X.viewModel.coordinatesConverter.convertModelPositionToViewPosition(j);return X.viewModel.viewLayout.getVerticalOffsetForLineNumber(re.lineNumber,Q)}getBottomForLineNumber(X,K=!1){return this._modelData?U._getVerticalOffsetAfterPosition(this._modelData,X,1,K):-1}setHiddenAreas(X,K){var z;(z=this._modelData)===null||z===void 0||z.viewModel.setHiddenAreas(X.map(Q=>u.Range.lift(Q)),K)}getVisibleColumnFromPosition(X){if(!this._modelData)return X.column;const K=this._modelData.model.validatePosition(X),z=this._modelData.model.getOptions().tabSize;return t.CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(K.lineNumber),K.column,z)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(X,K="api"){if(this._modelData){if(!r.Position.isIPosition(X))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(K,[{selectionStartLineNumber:X.lineNumber,selectionStartColumn:X.column,positionLineNumber:X.lineNumber,positionColumn:X.column}])}}_sendRevealRange(X,K,z,Q){if(!this._modelData)return;if(!u.Range.isIRange(X))throw new Error("Invalid arguments");const j=this._modelData.model.validateRange(X),re=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(j);this._modelData.viewModel.revealRange("api",z,re,K,Q)}revealLine(X,K=0){this._revealLine(X,0,K)}revealLineInCenter(X,K=0){this._revealLine(X,1,K)}revealLineInCenterIfOutsideViewport(X,K=0){this._revealLine(X,2,K)}revealLineNearTop(X,K=0){this._revealLine(X,5,K)}_revealLine(X,K,z){if(typeof X!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(X,1,X,1),K,!1,z)}revealPosition(X,K=0){this._revealPosition(X,0,!0,K)}revealPositionInCenter(X,K=0){this._revealPosition(X,1,!0,K)}revealPositionInCenterIfOutsideViewport(X,K=0){this._revealPosition(X,2,!0,K)}revealPositionNearTop(X,K=0){this._revealPosition(X,5,!0,K)}_revealPosition(X,K,z,Q){if(!r.Position.isIPosition(X))throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(X.lineNumber,X.column,X.lineNumber,X.column),K,z,Q)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(X,K="api"){const z=f.Selection.isISelection(X),Q=u.Range.isIRange(X);if(!z&&!Q)throw new Error("Invalid arguments");if(z)this._setSelectionImpl(X,K);else if(Q){const j={selectionStartLineNumber:X.startLineNumber,selectionStartColumn:X.startColumn,positionLineNumber:X.endLineNumber,positionColumn:X.endColumn};this._setSelectionImpl(j,K)}}_setSelectionImpl(X,K){if(!this._modelData)return;const z=new f.Selection(X.selectionStartLineNumber,X.selectionStartColumn,X.positionLineNumber,X.positionColumn);this._modelData.viewModel.setSelections(K,[z])}revealLines(X,K,z=0){this._revealLines(X,K,0,z)}revealLinesInCenter(X,K,z=0){this._revealLines(X,K,1,z)}revealLinesInCenterIfOutsideViewport(X,K,z=0){this._revealLines(X,K,2,z)}revealLinesNearTop(X,K,z=0){this._revealLines(X,K,5,z)}_revealLines(X,K,z,Q){if(typeof X!="number"||typeof K!="number")throw new Error("Invalid arguments");this._sendRevealRange(new u.Range(X,1,K,1),z,!1,Q)}revealRange(X,K=0,z=!1,Q=!0){this._revealRange(X,z?1:0,Q,K)}revealRangeInCenter(X,K=0){this._revealRange(X,1,!0,K)}revealRangeInCenterIfOutsideViewport(X,K=0){this._revealRange(X,2,!0,K)}revealRangeNearTop(X,K=0){this._revealRange(X,5,!0,K)}revealRangeNearTopIfOutsideViewport(X,K=0){this._revealRange(X,6,!0,K)}revealRangeAtTop(X,K=0){this._revealRange(X,3,!0,K)}_revealRange(X,K,z,Q){if(!u.Range.isIRange(X))throw new Error("Invalid arguments");this._sendRevealRange(u.Range.lift(X),K,z,Q)}setSelections(X,K="api",z=0){if(this._modelData){if(!X||X.length===0)throw new Error("Invalid arguments");for(let Q=0,j=X.length;Q0&&this._modelData.viewModel.restoreCursorState(z):this._modelData.viewModel.restoreCursorState([z]),this._contributions.restoreViewState(K.contributionsState||{});const Q=this._modelData.viewModel.reduceRestoreState(K.viewState);this._modelData.view.restoreState(Q)}}handleInitialized(){var X;(X=this._getViewModel())===null||X===void 0||X.visibleLinesStabilized()}getContribution(X){return this._contributions.get(X)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){let X=this.getActions();return X=X.filter(K=>K.isSupported()),X}getAction(X){return this._actions.get(X)||null}trigger(X,K,z){switch(z=z||{},K){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(X);return;case"type":{const j=z;this._type(X,j.text||"");return}case"replacePreviousChar":{const j=z;this._compositionType(X,j.text||"",j.replaceCharCnt||0,0,0);return}case"compositionType":{const j=z;this._compositionType(X,j.text||"",j.replacePrevCharCnt||0,j.replaceNextCharCnt||0,j.positionDelta||0);return}case"paste":{const j=z;this._paste(X,j.text||"",j.pasteOnNewLine||!1,j.multicursorText||null,j.mode||null);return}case"cut":this._cut(X);return}const Q=this.getAction(K);if(Q){Promise.resolve(Q.run(z)).then(void 0,y.onUnexpectedError);return}this._modelData&&(this._triggerEditorCommand(X,K,z)||this._triggerCommand(K,z))}_triggerCommand(X,K){this._commandService.executeCommand(X,K)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(X){this._modelData&&(this._modelData.viewModel.endComposition(X),this._onDidCompositionEnd.fire())}_type(X,K){!this._modelData||K.length===0||(X==="keyboard"&&this._onWillType.fire(K),this._modelData.viewModel.type(K,X),X==="keyboard"&&this._onDidType.fire(K))}_compositionType(X,K,z,Q,j){this._modelData&&this._modelData.viewModel.compositionType(K,z,Q,j,X)}_paste(X,K,z,Q,j){if(!this._modelData||K.length===0)return;const re=this._modelData.viewModel,oe=re.getSelection().getStartPosition();re.paste(K,z,Q,X);const he=re.getSelection().getStartPosition();X==="keyboard"&&this._onDidPaste.fire({range:new u.Range(oe.lineNumber,oe.column,he.lineNumber,he.column),languageId:j})}_cut(X){this._modelData&&this._modelData.viewModel.cut(X)}_triggerEditorCommand(X,K,z){const Q=v.EditorExtensionsRegistry.getEditorCommand(K);return Q?(z=z||{},z.source=X,this._instantiationService.invokeFunction(j=>{Promise.resolve(Q.runEditorCommand(j,this,z)).then(void 0,y.onUnexpectedError)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(90)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(90)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(X,K,z){if(!this._modelData||this._configuration.options.get(90))return!1;let Q;return z?Array.isArray(z)?Q=()=>z:Q=z:Q=()=>null,this._modelData.viewModel.executeEdits(X,K,Q),!0}executeCommand(X,K){this._modelData&&this._modelData.viewModel.executeCommand(K,X)}executeCommands(X,K){this._modelData&&this._modelData.viewModel.executeCommands(K,X)}createDecorationsCollection(X){return new V(this,X)}changeDecorations(X){return this._modelData?this._modelData.model.changeDecorations(X,this._id):null}getLineDecorations(X){return this._modelData?this._modelData.model.getLineDecorations(X,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}getDecorationsInRange(X){return this._modelData?this._modelData.model.getDecorationsInRange(X,this._id,(0,n.filterValidationDecorations)(this._configuration.options)):null}deltaDecorations(X,K){return this._modelData?X.length===0&&K.length===0?X:this._modelData.model.deltaDecorations(X,K,this._id):[]}removeDecorations(X){!this._modelData||X.length===0||this._modelData.model.changeDecorations(K=>{K.deltaDecorations(X,[])})}removeDecorationsByType(X){const K=this._decorationTypeKeysToIds[X];K&&this.deltaDecorations(K,[]),this._decorationTypeKeysToIds.hasOwnProperty(X)&&delete this._decorationTypeKeysToIds[X],this._decorationTypeSubtypes.hasOwnProperty(X)&&delete this._decorationTypeSubtypes[X]}getLayoutInfo(){return this._configuration.options.get(143)}createOverviewRuler(X){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(X)}getContainerDomNode(){return this._domElement}getDomNode(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}delegateVerticalScrollbarPointerDown(X){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarPointerDown(X)}delegateScrollFromMouseWheelEvent(X){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateScrollFromMouseWheelEvent(X)}layout(X){this._configuration.observeContainer(X),this.render()}focus(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}hasTextFocus(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(X){const K={widget:X,position:X.getPosition()};this._contentWidgets.hasOwnProperty(X.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[X.getId()]=K,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(K)}layoutContentWidget(X){const K=X.getId();if(this._contentWidgets.hasOwnProperty(K)){const z=this._contentWidgets[K];z.position=X.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(z)}}removeContentWidget(X){const K=X.getId();if(this._contentWidgets.hasOwnProperty(K)){const z=this._contentWidgets[K];delete this._contentWidgets[K],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(z)}}addOverlayWidget(X){const K={widget:X,position:X.getPosition()};this._overlayWidgets.hasOwnProperty(X.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[X.getId()]=K,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(K)}layoutOverlayWidget(X){const K=X.getId();if(this._overlayWidgets.hasOwnProperty(K)){const z=this._overlayWidgets[K];z.position=X.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(z)}}removeOverlayWidget(X){const K=X.getId();if(this._overlayWidgets.hasOwnProperty(K)){const z=this._overlayWidgets[K];delete this._overlayWidgets[K],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(z)}}addGlyphMarginWidget(X){const K={widget:X,position:X.getPosition()};this._glyphMarginWidgets.hasOwnProperty(X.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[X.getId()]=K,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(K)}layoutGlyphMarginWidget(X){const K=X.getId();if(this._glyphMarginWidgets.hasOwnProperty(K)){const z=this._glyphMarginWidgets[K];z.position=X.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(z)}}removeGlyphMarginWidget(X){const K=X.getId();if(this._glyphMarginWidgets.hasOwnProperty(K)){const z=this._glyphMarginWidgets[K];delete this._glyphMarginWidgets[K],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(z)}}changeViewZones(X){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(X)}getTargetAtClientPoint(X,K){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(X,K)}getScrolledVisiblePosition(X){if(!this._modelData||!this._modelData.hasRealView)return null;const K=this._modelData.model.validatePosition(X),z=this._configuration.options,Q=z.get(143),j=U._getVerticalOffsetForPosition(this._modelData,K.lineNumber,K.column)-this.getScrollTop(),re=this._modelData.view.getOffsetForColumn(K.lineNumber,K.column)+Q.glyphMarginWidth+Q.lineNumbersWidth+Q.decorationsWidth-this.getScrollLeft();return{top:j,left:re,height:z.get(66)}}getOffsetForColumn(X,K){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(X,K)}render(X=!1){!this._modelData||!this._modelData.hasRealView||this._modelData.view.render(!0,X)}setAriaOptions(X){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(X)}applyFontInfo(X){(0,P.applyFontInfo)(X,this._configuration.options.get(50))}setBanner(X,K){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=X,this._configuration.setReservedHeight(X?K:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(X){if(!X){this._modelData=null;return}const K=[];this._domElement.setAttribute("data-mode-id",X.getLanguageId()),this._configuration.setIsDominatedByLongLines(X.isDominatedByLongLines()),this._configuration.setModelLineCount(X.getLineCount());const z=X.onBeforeAttached(),Q=new h.ViewModel(this._id,this._configuration,X,T.DOMLineBreaksComputerFactory.create(),B.MonospaceLineBreaksComputerFactory.create(this._configuration.options),oe=>I.scheduleAtNextAnimationFrame(oe),this.languageConfigurationService,this._themeService,z);K.push(X.onWillDispose(()=>this.setModel(null))),K.push(Q.onEvent(oe=>{switch(oe.kind){case 0:this._onDidContentSizeChange.fire(oe);break;case 1:this._editorTextFocus.setValue(oe.hasFocus);break;case 2:this._onDidScrollChange.fire(oe);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(oe.reachedMaxCursorCount){const ve=this.getOption(79),we=L.localize(0,null,ve);this._notificationService.prompt(k.Severity.Warning,we,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:L.localize(1,null),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}const he=[];for(let ve=0,we=oe.selections.length;ve{this._paste("keyboard",j,re,oe,he)},type:j=>{this._type("keyboard",j)},compositionType:(j,re,oe,he)=>{this._compositionType("keyboard",j,re,oe,he)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:K={paste:(j,re,oe,he)=>{const me={text:j,pasteOnNewLine:re,multicursorText:oe,mode:he};this._commandService.executeCommand("paste",me)},type:j=>{const re={text:j};this._commandService.executeCommand("type",re)},compositionType:(j,re,oe,he)=>{if(oe||he){const me={text:j,replacePrevCharCnt:re,replaceNextCharCnt:oe,positionDelta:he};this._commandService.executeCommand("compositionType",me)}else{const me={text:j,replaceCharCnt:re};this._commandService.executeCommand("replacePreviousChar",me)}},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const z=new i.ViewUserInputEvents(X.coordinatesConverter);return z.onKeyDown=j=>this._onKeyDown.fire(j),z.onKeyUp=j=>this._onKeyUp.fire(j),z.onContextMenu=j=>this._onContextMenu.fire(j),z.onMouseMove=j=>this._onMouseMove.fire(j),z.onMouseLeave=j=>this._onMouseLeave.fire(j),z.onMouseDown=j=>this._onMouseDown.fire(j),z.onMouseUp=j=>this._onMouseUp.fire(j),z.onMouseDrag=j=>this._onMouseDrag.fire(j),z.onMouseDrop=j=>this._onMouseDrop.fire(j),z.onMouseDropCanceled=j=>this._onMouseDropCanceled.fire(j),z.onMouseWheel=j=>this._onMouseWheel.fire(j),[new s.View(K,this._configuration,this._themeService.getColorTheme(),X,z,this._overflowWidgetsDomNode,this._instantiationService),!0]}_postDetachModelCleanup(X){X?.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const X=this._modelData.model,K=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),K&&this._domElement.contains(K)&&this._domElement.removeChild(K),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),X}_removeDecorationType(X){this._codeEditorService.removeDecorationType(X)}hasModel(){return this._modelData!==null}showDropIndicatorAt(X){const K=[{range:new u.Range(X.lineNumber,X.column,X.lineNumber,X.column),options:U.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(K),this.revealPosition(X,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(X,K){this._contextKeyService.createKey(X,K)}};e.CodeEditorWidget=Y,Y.dropIntoEditorDecorationOptions=c.ModelDecorationOptions.register({description:"workbench-dnd-target",className:"dnd-target"}),e.CodeEditorWidget=Y=U=Ie([ge(3,w.IInstantiationService),ge(4,C.ICodeEditorService),ge(5,p.ICommandService),ge(6,b.IContextKeyService),ge(7,M.IThemeService),ge(8,k.INotificationService),ge(9,R.IAccessibilityService),ge(10,A.ILanguageConfigurationService),ge(11,O.ILanguageFeaturesService)],Y);class ne extends S.Disposable{constructor(X){super(),this._emitterOptions=X,this._onDidChangeToTrue=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new D.Emitter(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(X){const K=X?2:1;this._value!==K&&(this._value=K,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}e.BooleanEventEmitter=ne;class se extends D.Emitter{constructor(X,K){super({deliveryQueue:K}),this._contributions=X}fire(X){this._contributions.onBeforeInteractionEvent(),super.fire(X)}}class J extends S.Disposable{constructor(X,K){super(),this._editor=X,K.createKey("editorId",X.getId()),this._editorSimpleInput=o.EditorContextKeys.editorSimpleInput.bindTo(K),this._editorFocus=o.EditorContextKeys.focus.bindTo(K),this._textInputFocus=o.EditorContextKeys.textInputFocus.bindTo(K),this._editorTextFocus=o.EditorContextKeys.editorTextFocus.bindTo(K),this._tabMovesFocus=o.EditorContextKeys.tabMovesFocus.bindTo(K),this._editorReadonly=o.EditorContextKeys.readOnly.bindTo(K),this._inDiffEditor=o.EditorContextKeys.inDiffEditor.bindTo(K),this._editorColumnSelection=o.EditorContextKeys.columnSelection.bindTo(K),this._hasMultipleSelections=o.EditorContextKeys.hasMultipleSelections.bindTo(K),this._hasNonEmptySelection=o.EditorContextKeys.hasNonEmptySelection.bindTo(K),this._canUndo=o.EditorContextKeys.canUndo.bindTo(K),this._canRedo=o.EditorContextKeys.canRedo.bindTo(K),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(W.TabFocus.onDidChangeTabFocus(z=>this._tabMovesFocus.set(z))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const X=this._editor.getOptions();this._tabMovesFocus.set(W.TabFocus.getTabFocusMode()),this._editorReadonly.set(X.get(90)),this._inDiffEditor.set(X.get(61)),this._editorColumnSelection.set(X.get(22))}_updateFromSelection(){const X=this._editor.getSelections();X?(this._hasMultipleSelections.set(X.length>1),this._hasNonEmptySelection.set(X.some(K=>!K.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const X=this._editor.getModel();this._canUndo.set(!!(X&&X.canUndo())),this._canRedo.set(!!(X&&X.canRedo()))}}class q extends S.Disposable{constructor(X,K,z){super(),this._editor=X,this._contextKeyService=K,this._languageFeaturesService=z,this._langId=o.EditorContextKeys.languageId.bindTo(K),this._hasCompletionItemProvider=o.EditorContextKeys.hasCompletionItemProvider.bindTo(K),this._hasCodeActionsProvider=o.EditorContextKeys.hasCodeActionsProvider.bindTo(K),this._hasCodeLensProvider=o.EditorContextKeys.hasCodeLensProvider.bindTo(K),this._hasDefinitionProvider=o.EditorContextKeys.hasDefinitionProvider.bindTo(K),this._hasDeclarationProvider=o.EditorContextKeys.hasDeclarationProvider.bindTo(K),this._hasImplementationProvider=o.EditorContextKeys.hasImplementationProvider.bindTo(K),this._hasTypeDefinitionProvider=o.EditorContextKeys.hasTypeDefinitionProvider.bindTo(K),this._hasHoverProvider=o.EditorContextKeys.hasHoverProvider.bindTo(K),this._hasDocumentHighlightProvider=o.EditorContextKeys.hasDocumentHighlightProvider.bindTo(K),this._hasDocumentSymbolProvider=o.EditorContextKeys.hasDocumentSymbolProvider.bindTo(K),this._hasReferenceProvider=o.EditorContextKeys.hasReferenceProvider.bindTo(K),this._hasRenameProvider=o.EditorContextKeys.hasRenameProvider.bindTo(K),this._hasSignatureHelpProvider=o.EditorContextKeys.hasSignatureHelpProvider.bindTo(K),this._hasInlayHintsProvider=o.EditorContextKeys.hasInlayHintsProvider.bindTo(K),this._hasDocumentFormattingProvider=o.EditorContextKeys.hasDocumentFormattingProvider.bindTo(K),this._hasDocumentSelectionFormattingProvider=o.EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(K),this._hasMultipleDocumentFormattingProvider=o.EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(K),this._hasMultipleDocumentSelectionFormattingProvider=o.EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(K),this._isInWalkThrough=o.EditorContextKeys.isInWalkThroughSnippet.bindTo(K);const Q=()=>this._update();this._register(X.onDidChangeModel(Q)),this._register(X.onDidChangeModelLanguage(Q)),this._register(z.completionProvider.onDidChange(Q)),this._register(z.codeActionProvider.onDidChange(Q)),this._register(z.codeLensProvider.onDidChange(Q)),this._register(z.definitionProvider.onDidChange(Q)),this._register(z.declarationProvider.onDidChange(Q)),this._register(z.implementationProvider.onDidChange(Q)),this._register(z.typeDefinitionProvider.onDidChange(Q)),this._register(z.hoverProvider.onDidChange(Q)),this._register(z.documentHighlightProvider.onDidChange(Q)),this._register(z.documentSymbolProvider.onDidChange(Q)),this._register(z.referenceProvider.onDidChange(Q)),this._register(z.renameProvider.onDidChange(Q)),this._register(z.documentFormattingEditProvider.onDidChange(Q)),this._register(z.documentRangeFormattingEditProvider.onDidChange(Q)),this._register(z.signatureHelpProvider.onDidChange(Q)),this._register(z.inlayHintsProvider.onDidChange(Q)),Q()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const X=this._editor.getModel();if(!X){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(X.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(X)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(X)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(X)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(X)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(X)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(X)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(X)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(X)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(X)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(X)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(X)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(X)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(X)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(X)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(X)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(X)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(X)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(X).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(X).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(X).length>1),this._isInWalkThrough.set(X.uri.scheme===m.Schemas.walkThroughSnippet)})}}e.EditorModeContext=q;class H extends S.Disposable{constructor(X){super(),this._onChange=this._register(new D.Emitter),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(I.trackFocus(X)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}class V{get length(){return this._decorationIds.length}constructor(X,K){this._editor=X,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(K)&&K.length>0&&this.set(K)}onDidChange(X,K,z){return this._editor.onDidChangeModelDecorations(Q=>{this._isChangingDecorations||X.call(K,Q)},z)}getRange(X){return!this._editor.hasModel()||X>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[X])}getRanges(){if(!this._editor.hasModel())return[];const X=this._editor.getModel(),K=[];for(const z of this._decorationIds){const Q=X.getDecorationRange(z);Q&&K.push(Q)}return K}has(X){return this._decorationIds.includes(X.id)}clear(){this._decorationIds.length!==0&&this.set([])}set(X){try{this._isChangingDecorations=!0,this._editor.changeDecorations(K=>{this._decorationIds=K.deltaDecorations(this._decorationIds,X)})}finally{this._isChangingDecorations=!1}return this._decorationIds}}const Z=encodeURIComponent("");function le(ae){return Z+encodeURIComponent(ae.toString())+ee}const ue=encodeURIComponent('');function ce(ae){return ue+encodeURIComponent(ae.toString())+de}(0,M.registerThemingParticipant)((ae,X)=>{const K=ae.getColor(g.editorErrorForeground);K&&X.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${le(K)}") repeat-x bottom left; }`);const z=ae.getColor(g.editorWarningForeground);z&&X.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${le(z)}") repeat-x bottom left; }`);const Q=ae.getColor(g.editorInfoForeground);Q&&X.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${le(Q)}") repeat-x bottom left; }`);const j=ae.getColor(g.editorHintForeground);j&&X.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${ce(j)}") no-repeat bottom left; }`);const re=ae.getColor(a.editorUnnecessaryCodeOpacity);re&&X.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${re.rgba.a}; }`)})}),define(te[366],ie([1,0,7,68,9,6,2,40,16,33,192,829,869,594,748,870,327,360,100,12,5,174,22,87,156,15,8,186,85,486,843,621,352,438,823]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M,R,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffEditorWidget=void 0;let T=class extends k.DelegatingEditor{constructor(W,U,F,G,Y,ne,se,J){var q;super(),this._domElement=W,this._parentContextKeyService=G,this._parentInstantiationService=Y,this._audioCueService=se,this._editorProgressService=J,this.elements=(0,L.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,L.h)("div.noModificationsOverlay@overlay",{style:{position:"absolute",height:"100%",visibility:"hidden"}},[(0,L.$)("span",{},"No Changes")]),(0,L.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,L.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=this._register((0,m.disposableObservableValue)("diffModel",void 0)),this.onDidChangeModel=D.Event.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._parentInstantiationService.createChild(new w.ServiceCollection([p.IContextKeyService,this._contextKeyService])),this._boundarySashes=(0,m.observableValue)(this,void 0),this._accessibleDiffViewerShouldBeVisible=(0,m.observableValue)(this,!1),this._accessibleDiffViewerVisible=(0,m.derived)(this,ue=>this._options.onlyShowAccessibleDiffViewer.read(ue)?!0:this._accessibleDiffViewerShouldBeVisible.read(ue)),this.movedBlocksLinesPart=(0,m.observableValue)(this,void 0),this._layoutInfo=(0,m.derived)(this,ue=>{var de,ce,ae;const X=this._rootSizeObserver.width.read(ue),K=this._rootSizeObserver.height.read(ue),z=(de=this._sash.read(ue))===null||de===void 0?void 0:de.sashLeft.read(ue),Q=z??Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft),j=X-Q-(this._options.renderOverviewRuler.read(ue)?f.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0),re=(ae=(ce=this.movedBlocksLinesPart.read(ue))===null||ce===void 0?void 0:ce.width.read(ue))!==null&&ae!==void 0?ae:0,oe=Q-re;return this.elements.original.style.width=oe+"px",this.elements.original.style.left="0px",this.elements.modified.style.width=j+"px",this.elements.modified.style.left=Q+"px",this._editors.original.layout({width:oe,height:K}),this._editors.modified.layout({width:j,height:K}),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((ue,de)=>ue?.diff.read(de)),this.onDidUpdateDiff=D.Event.fromObservableLight(this._diffValue),ne.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._domElement.appendChild(this.elements.root),this._register((0,S.toDisposable)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new d.ObservableElementSizeObserver(this.elements.root,U.dimension)),this._rootSizeObserver.setAutomaticLayout((q=U.automaticLayout)!==null&&q!==void 0?q:!1),this._options=new R.DiffEditorOptions(U,this._rootSizeObserver.width),this._contextKeyService.createKey(a.EditorContextKeys.isEmbeddedDiffEditor.key,!1);const H=a.EditorContextKeys.isEmbeddedDiffEditor.bindTo(this._contextKeyService);this._register((0,m.autorun)(ue=>{H.set(this._options.isInEmbeddedEditor.read(ue))}));const V=a.EditorContextKeys.comparingMovedCode.bindTo(this._contextKeyService);this._register((0,m.autorun)(ue=>{var de;V.set(!!(!((de=this._diffModel.read(ue))===null||de===void 0)&&de.movedTextToCompare.read(ue)))}));const Z=a.EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached.bindTo(this._contextKeyService);this._register((0,m.autorun)(ue=>{Z.set(this._options.couldShowInlineViewBecauseOfSize.read(ue))})),this._editors=this._register(this._instantiationService.createInstance(M.DiffEditorEditors,this.elements.original,this.elements.modified,this._options,F,(ue,de,ce,ae)=>this._createInnerEditor(ue,de,ce,ae))),this._sash=(0,m.derivedWithStore)(this,(ue,de)=>{const ce=this._options.renderSideBySide.read(ue);if(this.elements.root.classList.toggle("side-by-side",ce),!ce)return;const ae=de.add(new n.DiffEditorSash(this._options,this.elements.root,{height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((X,K)=>X-(this._options.renderOverviewRuler.read(K)?f.OverviewRulerPart.ENTIRE_DIFF_OVERVIEW_WIDTH:0))}));return de.add((0,m.autorun)(X=>{const K=this._boundarySashes.read(X);K&&ae.setBoundarySashes(K)})),ae}),this._register((0,m.recomputeInitiallyAndOnChange)(this._sash)),this._register((0,m.autorunWithStore)((ue,de)=>{this.unchangedRangesFeature=de.add(this._instantiationService.createInstance((0,d.readHotReloadableExport)(t.HideUnchangedRegionsFeature,ue),this._editors,this._diffModel,this._options))})),this._register((0,m.autorunWithStore)((ue,de)=>{de.add(new((0,d.readHotReloadableExport)(i.DiffEditorDecorations,ue))(this._editors,this._diffModel,this._options))})),this._register((0,m.autorunWithStore)((ue,de)=>{de.add(this._instantiationService.createInstance((0,d.readHotReloadableExport)(r.ViewZoneManager,ue),this._editors,this._diffModel,this._options,this,()=>this.unchangedRangesFeature.isUpdatingViewZones))})),this._register((0,m.autorunWithStore)((ue,de)=>{de.add(this._instantiationService.createInstance((0,d.readHotReloadableExport)(f.OverviewRulerPart,ue),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(ce=>ce.modifiedEditor),this._options))})),this._register((0,m.autorunWithStore)((ue,de)=>{this._accessibleDiffViewer=de.add(this._register(this._instantiationService.createInstance((0,d.readHotReloadableExport)(s.AccessibleDiffViewer,ue),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(ce,ae)=>this._accessibleDiffViewerShouldBeVisible.set(ce,ae),this._options.onlyShowAccessibleDiffViewer.map(ce=>!ce),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((ce,ae)=>{var X;return(X=ce?.diff.read(ae))===null||X===void 0?void 0:X.mappings.map(K=>K.lineRangeMapping)}),this._editors)))}));const ee=this._accessibleDiffViewerVisible.map(ue=>ue?"hidden":"visible");this._register((0,d.applyStyle)(this.elements.modified,{visibility:ee})),this._register((0,d.applyStyle)(this.elements.original,{visibility:ee})),this._createDiffEditorContributions(),ne.addDiffEditor(this),this._register((0,m.recomputeInitiallyAndOnChange)(this._layoutInfo)),this._register((0,m.autorunWithStore)((ue,de)=>{this.movedBlocksLinesPart.set(de.add(new((0,d.readHotReloadableExport)(u.MovedBlocksLinesPart,ue))(this.elements.root,this._diffModel,this._layoutInfo.map(ce=>ce.originalEditor),this._layoutInfo.map(ce=>ce.modifiedEditor),this._editors)),void 0)})),this._register((0,d.applyStyle)(this.elements.overlay,{width:this._layoutInfo.map((ue,de)=>ue.originalEditor.width+(this._options.renderSideBySide.read(de)?0:ue.modifiedEditor.width)),visibility:(0,m.derived)(ue=>{var de,ce;return this._options.hideUnchangedRegions.read(ue)&&((ce=(de=this._diffModel.read(ue))===null||de===void 0?void 0:de.diff.read(ue))===null||ce===void 0?void 0:ce.mappings.length)===0?"visible":"hidden"})})),this._register(this._editors.modified.onMouseDown(ue=>{var de,ce;if(!ue.event.rightButton&&ue.target.position&&(!((de=ue.target.element)===null||de===void 0)&&de.className.includes("arrow-revert-change"))){const ae=ue.target.position.lineNumber,X=ue.target,K=this._diffModel.get();if(!K)return;const z=(ce=K.diff.get())===null||ce===void 0?void 0:ce.mappings;if(!z)return;const Q=z.find(j=>X?.detail.afterLineNumber===j.lineRangeMapping.modified.startLineNumber-1||j.lineRangeMapping.modified.startLineNumber===ae);if(!Q)return;this.revert(Q.lineRangeMapping),ue.event.stopPropagation()}})),this._register(D.Event.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,ue=>{var de,ce;if(ue?.reason===3){const ae=(ce=(de=this._diffModel.get())===null||de===void 0?void 0:de.diff.get())===null||ce===void 0?void 0:ce.mappings.find(X=>X.lineRangeMapping.modified.contains(ue.position.lineNumber));ae?.lineRangeMapping.modified.isEmpty?this._audioCueService.playAudioCue(h.AudioCue.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):ae?.lineRangeMapping.original.isEmpty?this._audioCueService.playAudioCue(h.AudioCue.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):ae&&this._audioCueService.playAudioCue(h.AudioCue.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}));const le=this._diffModel.map((ue,de)=>ue?.isDiffUpToDate.read(de));this._register((0,m.autorunWithStore)((ue,de)=>{if(le.read(ue)===!1){const ce=this._editorProgressService.show(!0,1e3);de.add((0,S.toDisposable)(()=>ce.done()))}}))}_createInnerEditor(W,U,F,G){return W.createInstance(C.CodeEditorWidget,U,F,G)}_createDiffEditorContributions(){const W=_.EditorExtensionsRegistry.getDiffEditorContributions();for(const U of W)try{this._register(this._instantiationService.createInstance(U.ctor,this))}catch(F){(0,y.onUnexpectedError)(F)}}get _targetEditor(){return this._editors.modified}getEditorType(){return c.EditorType.IDiffEditor}layout(W){this._rootSizeObserver.observe(W)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var W;const U=this._editors.original.saveViewState(),F=this._editors.modified.saveViewState();return{original:U,modified:F,modelState:(W=this._diffModel.get())===null||W===void 0?void 0:W.serializeState()}}restoreViewState(W){var U;if(W&&W.original&&W.modified){const F=W;this._editors.original.restoreViewState(F.original),this._editors.modified.restoreViewState(F.modified),F.modelState&&((U=this._diffModel.get())===null||U===void 0||U.restoreSerializedState(F.modelState))}}createViewModel(W){return this._instantiationService.createInstance(B.DiffEditorViewModel,W,this._options,this)}getModel(){var W,U;return(U=(W=this._diffModel.get())===null||W===void 0?void 0:W.model)!==null&&U!==void 0?U:null}setModel(W){!W&&this._diffModel.get()&&this._accessibleDiffViewer.close();const U=W?"model"in W?W:this.createViewModel(W):void 0;this._editors.original.setModel(U?U.model.original:null),this._editors.modified.setModel(U?U.model.modified:null),(0,m.transaction)(F=>{this._diffModel.set(U,F)})}updateOptions(W){this._options.updateOptions(W)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var W;const U=(W=this._diffModel.get())===null||W===void 0?void 0:W.diff.get();return U?O(U):null}revert(W){var U;const F=(U=this._diffModel.get())===null||U===void 0?void 0:U.model;if(!F)return;const G=W.innerChanges?W.innerChanges.map(Y=>({range:Y.modifiedRange,text:F.original.getValueInRange(Y.originalRange)})):[{range:W.modified.toExclusiveRange(),text:F.original.getValueInRange(W.original.toExclusiveRange())}];this._editors.modified.executeEdits("diffEditor",G)}accessibleDiffViewerNext(){this._accessibleDiffViewer.next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.prev()}mapToOtherSide(){var W,U;const F=this._editors.modified.hasWidgetFocus(),G=F?this._editors.modified:this._editors.original,Y=F?this._editors.original:this._editors.modified;let ne;const se=G.getSelection();if(se){const J=(U=(W=this._diffModel.get())===null||W===void 0?void 0:W.diff.get())===null||U===void 0?void 0:U.mappings.map(q=>F?q.lineRangeMapping.flip():q.lineRangeMapping);if(J){const q=N(se.getStartPosition(),J),H=N(se.getEndPosition(),J);ne=o.Range.plusRange(q,H)}}return{destination:Y,destinationSelection:ne}}switchSide(){const{destination:W,destinationSelection:U}=this.mapToOtherSide();W.focus(),U&&W.setSelection(U)}exitCompareMove(){const W=this._diffModel.get();W&&W.movedTextToCompare.set(void 0,void 0)}collapseAllUnchangedRegions(){var W;const U=(W=this._diffModel.get())===null||W===void 0?void 0:W.unchangedRegions.get();U&&(0,m.transaction)(F=>{for(const G of U)G.collapseAll(F)})}showAllUnchangedRegions(){var W;const U=(W=this._diffModel.get())===null||W===void 0?void 0:W.unchangedRegions.get();U&&(0,m.transaction)(F=>{for(const G of U)G.showAll(F)})}};e.DiffEditorWidget=T,e.DiffEditorWidget=T=Ie([ge(3,p.IContextKeyService),ge(4,b.IInstantiationService),ge(5,v.ICodeEditorService),ge(6,h.IAudioCueService),ge(7,E.IEditorProgressService)],T);function N(x,W){const U=(0,I.findLast)(W,G=>G.original.startLineNumber<=x.lineNumber);if(!U)return o.Range.fromPositions(x);if(U.original.endLineNumberExclusive<=x.lineNumber){const G=x.lineNumber-U.original.endLineNumberExclusive+U.modified.endLineNumberExclusive;return o.Range.fromPositions(new l.Position(G,x.column))}if(!U.innerChanges)return o.Range.fromPositions(new l.Position(U.modified.startLineNumber,1));const F=(0,I.findLast)(U.innerChanges,G=>G.originalRange.getStartPosition().isBeforeOrEqual(x));if(!F){const G=x.lineNumber-U.original.startLineNumber+U.modified.startLineNumber;return o.Range.fromPositions(new l.Position(G,x.column))}if(F.originalRange.containsPosition(x))return F.modifiedRange;{const G=A(F.originalRange.getEndPosition(),x);return o.Range.fromPositions(P(F.modifiedRange.getEndPosition(),G))}}function A(x,W){return x.lineNumber===W.lineNumber?new g.LengthObj(0,W.column-x.column):new g.LengthObj(W.lineNumber-x.lineNumber,W.column-1)}function P(x,W){return W.lineCount===0?new l.Position(x.lineNumber,x.column+W.columnCount):new l.Position(x.lineNumber+W.lineCount,W.columnCount+1)}function O(x){return x.mappings.map(W=>{const U=W.lineRangeMapping;let F,G,Y,ne,se=U.innerChanges;return U.original.isEmpty?(F=U.original.startLineNumber-1,G=0,se=void 0):(F=U.original.startLineNumber,G=U.original.endLineNumberExclusive-1),U.modified.isEmpty?(Y=U.modified.startLineNumber-1,ne=0,se=void 0):(Y=U.modified.startLineNumber,ne=U.modified.endLineNumberExclusive-1),{originalStartLineNumber:F,originalEndLineNumber:G,modifiedStartLineNumber:Y,modifiedEndLineNumber:ne,charChanges:se?.map(J=>({originalStartLineNumber:J.originalRange.startLineNumber,originalStartColumn:J.originalRange.startColumn,originalEndLineNumber:J.originalRange.endLineNumber,originalEndColumn:J.originalRange.endColumn,modifiedStartLineNumber:J.modifiedRange.startLineNumber,modifiedStartColumn:J.modifiedRange.startColumn,modifiedEndLineNumber:J.modifiedRange.endLineNumber,modifiedEndColumn:J.modifiedRange.endColumn}))}})}}),define(te[874],ie([1,0,7,26,16,33,366,22,612,30,25,28,15]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFocusedDiffEditor=e.AccessibleDiffViewerPrev=e.AccessibleDiffViewerNext=e.ShowAllUnchangedRegions=e.CollapseAllUnchangedRegions=e.ExitCompareMove=e.SwitchSide=e.ToggleUseInlineViewWhenSpaceIsLimited=e.ToggleShowMovedCodeBlocks=e.ToggleCollapseUnchangedRegions=void 0;class n extends v.Action2{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:{value:(0,_.localize)(0,null),original:"Toggle Collapse Unchanged Regions"},icon:I.Codicon.map,toggled:i.ContextKeyExpr.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:i.ContextKeyExpr.has("isInDiffEditor"),menu:{when:i.ContextKeyExpr.has("isInDiffEditor"),id:v.MenuId.EditorTitle,order:22,group:"navigation"}})}run(w,...E){const k=w.get(s.IConfigurationService),M=!k.getValue("diffEditor.hideUnchangedRegions.enabled");k.updateValue("diffEditor.hideUnchangedRegions.enabled",M)}}e.ToggleCollapseUnchangedRegions=n,(0,v.registerAction2)(n);class t extends v.Action2{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:{value:(0,_.localize)(1,null),original:"Toggle Show Moved Code Blocks"},precondition:i.ContextKeyExpr.has("isInDiffEditor")})}run(w,...E){const k=w.get(s.IConfigurationService),M=!k.getValue("diffEditor.experimental.showMoves");k.updateValue("diffEditor.experimental.showMoves",M)}}e.ToggleShowMovedCodeBlocks=t,(0,v.registerAction2)(t);class r extends v.Action2{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:{value:(0,_.localize)(2,null),original:"Toggle Use Inline View When Space Is Limited"},precondition:i.ContextKeyExpr.has("isInDiffEditor")})}run(w,...E){const k=w.get(s.IConfigurationService),M=!k.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");k.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",M)}}e.ToggleUseInlineViewWhenSpaceIsLimited=r,(0,v.registerAction2)(r),v.MenuRegistry.appendMenuItem(v.MenuId.EditorTitle,{command:{id:new r().desc.id,title:(0,_.localize)(3,null),toggled:i.ContextKeyExpr.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:i.ContextKeyExpr.has("isInDiffEditor")},order:11,group:"1_diff",when:i.ContextKeyExpr.and(m.EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached,i.ContextKeyExpr.has("isInDiffEditor"))}),v.MenuRegistry.appendMenuItem(v.MenuId.EditorTitle,{command:{id:new t().desc.id,title:(0,_.localize)(4,null),icon:I.Codicon.move,toggled:i.ContextKeyEqualsExpr.create("config.diffEditor.experimental.showMoves",!0),precondition:i.ContextKeyExpr.has("isInDiffEditor")},order:10,group:"1_diff",when:i.ContextKeyExpr.has("isInDiffEditor")});const u={value:(0,_.localize)(5,null),original:"Diff Editor"};class f extends y.EditorAction2{constructor(){super({id:"diffEditor.switchSide",title:{value:(0,_.localize)(6,null),original:"Switch Side"},icon:I.Codicon.arrowSwap,precondition:i.ContextKeyExpr.has("isInDiffEditor"),f1:!0,category:u})}runEditorCommand(w,E,k){const M=h(w);if(M instanceof S.DiffEditorWidget){if(k&&k.dryRun)return{destinationSelection:M.mapToOtherSide().destinationSelection};M.switchSide()}}}e.SwitchSide=f,(0,v.registerAction2)(f);class d extends y.EditorAction2{constructor(){super({id:"diffEditor.exitCompareMove",title:{value:(0,_.localize)(7,null),original:"Exit Compare Move"},icon:I.Codicon.close,precondition:m.EditorContextKeys.comparingMovedCode,f1:!1,category:u,keybinding:{weight:1e4,primary:9}})}runEditorCommand(w,E,...k){const M=h(w);M instanceof S.DiffEditorWidget&&M.exitCompareMove()}}e.ExitCompareMove=d,(0,v.registerAction2)(d);class l extends y.EditorAction2{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:{value:(0,_.localize)(8,null),original:"Collapse All Unchanged Regions"},icon:I.Codicon.fold,precondition:i.ContextKeyExpr.has("isInDiffEditor"),f1:!0,category:u})}runEditorCommand(w,E,...k){const M=h(w);M instanceof S.DiffEditorWidget&&M.collapseAllUnchangedRegions()}}e.CollapseAllUnchangedRegions=l,(0,v.registerAction2)(l);class o extends y.EditorAction2{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:{value:(0,_.localize)(9,null),original:"Show All Unchanged Regions"},icon:I.Codicon.unfold,precondition:i.ContextKeyExpr.has("isInDiffEditor"),f1:!0,category:u})}runEditorCommand(w,E,...k){const M=h(w);M instanceof S.DiffEditorWidget&&M.showAllUnchangedRegions()}}e.ShowAllUnchangedRegions=o,(0,v.registerAction2)(o);const c={value:(0,_.localize)(10,null),original:"Accessible Diff Viewer"};class a extends v.Action2{constructor(){super({id:a.id,title:{value:(0,_.localize)(11,null),original:"Go to Next Difference"},category:c,precondition:i.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(w){const E=h(w);E?.accessibleDiffViewerNext()}}e.AccessibleDiffViewerNext=a,a.id="editor.action.accessibleDiffViewer.next",v.MenuRegistry.appendMenuItem(v.MenuId.EditorTitle,{command:{id:a.id,title:(0,_.localize)(12,null),precondition:i.ContextKeyExpr.has("isInDiffEditor")},order:10,group:"2_diff",when:i.ContextKeyExpr.and(m.EditorContextKeys.accessibleDiffViewerVisible.negate(),i.ContextKeyExpr.has("isInDiffEditor"))});class g extends v.Action2{constructor(){super({id:g.id,title:{value:(0,_.localize)(13,null),original:"Go to Previous Difference"},category:c,precondition:i.ContextKeyExpr.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(w){const E=h(w);E?.accessibleDiffViewerPrev()}}e.AccessibleDiffViewerPrev=g,g.id="editor.action.accessibleDiffViewer.prev";function h(b){var w;const E=b.get(D.ICodeEditorService),k=E.listDiffEditors(),M=(w=E.getFocusedCodeEditor())!==null&&w!==void 0?w:E.getActiveCodeEditor();if(!M)return null;for(let B=0,T=k.length;Bthis._onParentConfigurationChanged(E)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(r){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(r){L.mixin(this._overwriteOptions,r,!0),super.updateOptions(this._overwriteOptions)}};e.EmbeddedCodeEditorWidget=n,e.EmbeddedCodeEditorWidget=n=Ie([ge(4,C.IInstantiationService),ge(5,I.ICodeEditorService),ge(6,_.ICommandService),ge(7,v.IContextKeyService),ge(8,i.IThemeService),ge(9,s.INotificationService),ge(10,m.IAccessibilityService),ge(11,D.ILanguageConfigurationService),ge(12,S.ILanguageFeaturesService)],n)}),define(te[875],ie([1,0,14,2,16,12,5,24,22,49,37,634,30,31,23,441]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketMatchingController=void 0;const r=(0,n.registerColor)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},s.localize(0,null));class u extends y.EditorAction{constructor(){super({id:"editor.action.jumpToBracket",label:s.localize(1,null),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3165,weight:100}})}run(a,g){var h;(h=o.get(g))===null||h===void 0||h.jumpToBracket()}}class f extends y.EditorAction{constructor(){super({id:"editor.action.selectToBracket",label:s.localize(2,null),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(a,g,h){var p;let b=!0;h&&h.selectBrackets===!1&&(b=!1),(p=o.get(g))===null||p===void 0||p.selectToBracket(b)}}class d extends y.EditorAction{constructor(){super({id:"editor.action.removeBrackets",label:s.localize(3,null),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:2561,weight:100}})}run(a,g){var h;(h=o.get(g))===null||h===void 0||h.removeBrackets(this.id)}}class l{constructor(a,g,h){this.position=a,this.brackets=g,this.options=h}}class o extends I.Disposable{static get(a){return a.getContribution(o.ID)}constructor(a){super(),this._editor=a,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new L.RunOnceScheduler(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(71),this._updateBracketsSoon.schedule(),this._register(a.onDidChangeCursorPosition(g=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModelContent(g=>{this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModel(g=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModelLanguageConfiguration(g=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeConfiguration(g=>{g.hasChanged(71)&&(this._matchBrackets=this._editor.getOption(71),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(a.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(a.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const a=this._editor.getModel(),g=this._editor.getSelections().map(h=>{const p=h.getStartPosition(),b=a.bracketPairs.matchBracket(p);let w=null;if(b)b[0].containsPosition(p)&&!b[1].containsPosition(p)?w=b[1].getStartPosition():b[1].containsPosition(p)&&(w=b[0].getStartPosition());else{const E=a.bracketPairs.findEnclosingBrackets(p);if(E)w=E[1].getStartPosition();else{const k=a.bracketPairs.findNextBracket(p);k&&k.range&&(w=k.range.getStartPosition())}}return w?new m.Selection(w.lineNumber,w.column,w.lineNumber,w.column):new m.Selection(p.lineNumber,p.column,p.lineNumber,p.column)});this._editor.setSelections(g),this._editor.revealRange(g[0])}selectToBracket(a){if(!this._editor.hasModel())return;const g=this._editor.getModel(),h=[];this._editor.getSelections().forEach(p=>{const b=p.getStartPosition();let w=g.bracketPairs.matchBracket(b);if(!w&&(w=g.bracketPairs.findEnclosingBrackets(b),!w)){const M=g.bracketPairs.findNextBracket(b);M&&M.range&&(w=g.bracketPairs.matchBracket(M.range.getStartPosition()))}let E=null,k=null;if(w){w.sort(S.Range.compareRangesUsingStarts);const[M,R]=w;if(E=a?M.getStartPosition():M.getEndPosition(),k=a?R.getEndPosition():R.getStartPosition(),R.containsPosition(b)){const B=E;E=k,k=B}}E&&k&&h.push(new m.Selection(E.lineNumber,E.column,k.lineNumber,k.column))}),h.length>0&&(this._editor.setSelections(h),this._editor.revealRange(h[0]))}removeBrackets(a){if(!this._editor.hasModel())return;const g=this._editor.getModel();this._editor.getSelections().forEach(h=>{const p=h.getPosition();let b=g.bracketPairs.matchBracket(p);b||(b=g.bracketPairs.findEnclosingBrackets(p)),b&&(this._editor.pushUndoStop(),this._editor.executeEdits(a,[{range:b[0],text:""},{range:b[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const a=[];let g=0;for(const h of this._lastBracketsData){const p=h.brackets;p&&(a[g++]={range:p[0],options:h.options},a[g++]={range:p[1],options:h.options})}this._decorations.set(a)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const a=this._editor.getSelections();if(a.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const g=this._editor.getModel(),h=g.getVersionId();let p=[];this._lastVersionId===h&&(p=this._lastBracketsData);const b=[];let w=0;for(let B=0,T=a.length;B1&&b.sort(D.Position.compare);const E=[];let k=0,M=0;const R=p.length;for(let B=0,T=b.length;Bthis.update(G))),this._lightBulbWidget=new D.Lazy(()=>{const G=this._editor.getContribution(n.LightBulbWidget.ID);return G&&this._register(G.onClick(Y=>this.showCodeActionList(Y.actions,Y,{includeDisabledActions:!1,fromLightbulb:!0}))),G}),this._resolver=A.createInstance(s.CodeActionKeybindingResolver),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}showCodeActions(B,T,N){return this.showCodeActionList(T,N,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(B,T,N,A){var P;if(!this._editor.hasModel())return;(P=t.MessageController.get(this._editor))===null||P===void 0||P.closeMessage();const O=this._editor.getPosition();this._trigger({type:1,triggerAction:T,filter:N,autoApply:A,context:{notAvailableMessage:B,position:O}})}_trigger(B){return this._model.trigger(B)}_applyCodeAction(B,T,N){return be(this,void 0,void 0,function*(){try{yield this._instantiationService.invokeFunction(C.applyCodeAction,B,C.ApplyCodeActionReason.FromCodeActions,{preview:N,editor:this._editor})}finally{T&&this._trigger({type:2,triggerAction:b.CodeActionTriggerSource.QuickFix,filter:{}})}})}update(B){var T,N,A,P,O,x,W;return be(this,void 0,void 0,function*(){if(B.type!==1){(T=this._lightBulbWidget.rawValue)===null||T===void 0||T.hide();return}let U;try{U=yield B.actions}catch(F){(0,y.onUnexpectedError)(F);return}if(!this._disposed)if((N=this._lightBulbWidget.value)===null||N===void 0||N.update(U,B.trigger,B.position),B.trigger.type===1){if(!((A=B.trigger.filter)===null||A===void 0)&&A.include){const G=this.tryGetValidActionToApply(B.trigger,U);if(G){try{(P=this._lightBulbWidget.value)===null||P===void 0||P.hide(),yield this._applyCodeAction(G,!1,!1)}finally{U.dispose()}return}if(B.trigger.context){const Y=this.getInvalidActionThatWouldHaveBeenApplied(B.trigger,U);if(Y&&Y.action.disabled){(O=t.MessageController.get(this._editor))===null||O===void 0||O.showMessage(Y.action.disabled,B.trigger.context.position),U.dispose();return}}}const F=!!(!((x=B.trigger.filter)===null||x===void 0)&&x.include);if(B.trigger.context&&(!U.allActions.length||!F&&!U.validActions.length)){(W=t.MessageController.get(this._editor))===null||W===void 0||W.showMessage(B.trigger.context.notAvailableMessage,B.trigger.context.position),this._activeCodeActions.value=U,U.dispose();return}this._activeCodeActions.value=U,this.showCodeActionList(U,this.toCoords(B.position),{includeDisabledActions:F,fromLightbulb:!1})}else this._actionWidgetService.isVisible?U.dispose():this._activeCodeActions.value=U})}getInvalidActionThatWouldHaveBeenApplied(B,T){if(T.allActions.length&&(B.autoApply==="first"&&T.validActions.length===0||B.autoApply==="ifSingle"&&T.allActions.length===1))return T.allActions.find(({action:N})=>N.disabled)}tryGetValidActionToApply(B,T){if(T.validActions.length&&(B.autoApply==="first"&&T.validActions.length>0||B.autoApply==="ifSingle"&&T.validActions.length===1))return T.validActions[0]}showCodeActionList(B,T,N){return be(this,void 0,void 0,function*(){const A=this._editor.createDecorationsCollection(),P=this._editor.getDomNode();if(!P)return;const O=N.includeDisabledActions&&(this._showDisabled||B.validActions.length===0)?B.allActions:B.validActions;if(!O.length)return;const x=m.Position.isIPosition(T)?this.toCoords(T):T,W={onSelect:(U,F)=>be(this,void 0,void 0,function*(){this._applyCodeAction(U,!0,!!F),this._actionWidgetService.hide(),A.clear()}),onHide:()=>{var U;(U=this._editor)===null||U===void 0||U.focus(),A.clear()},onHover:(U,F)=>be(this,void 0,void 0,function*(){var G;if(yield U.resolve(F),!F.isCancellationRequested)return{canPreview:!!(!((G=U.action.edit)===null||G===void 0)&&G.edits.length)}}),onFocus:U=>{var F,G;if(U&&U.highlightRange&&U.action.diagnostics){const Y=[{range:U.action.diagnostics[0],options:E.DECORATION}];A.set(Y);const ne=U.action.diagnostics[0],se=(G=(F=this._editor.getModel())===null||F===void 0?void 0:F.getWordAtPosition({lineNumber:ne.startLineNumber,column:ne.startColumn}))===null||G===void 0?void 0:G.word;I.status((0,r.localize)(0,null,se,ne.startLineNumber,ne.startColumn))}else A.clear()}};this._actionWidgetService.show("codeActionWidget",!0,(0,i.toMenuItems)(O,this._shouldShowHeaders(),this._resolver.getResolver()),W,x,P,this._getActionBarActions(B,T,N))})}toCoords(B){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(B,1),this._editor.render();const T=this._editor.getScrolledVisiblePosition(B),N=(0,L.getDomNodePagePosition)(this._editor.getDomNode()),A=N.left+T.left,P=N.top+T.top+T.height;return{x:A,y:P}}_shouldShowHeaders(){var B;const T=(B=this._editor)===null||B===void 0?void 0:B.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:T?.uri})}_getActionBarActions(B,T,N){if(N.fromLightbulb)return[];const A=B.documentation.map(P=>{var O;return{id:P.id,label:P.title,tooltip:(O=P.tooltip)!==null&&O!==void 0?O:"",class:void 0,enabled:!0,run:()=>{var x;return this._commandService.executeCommand(P.id,...(x=P.arguments)!==null&&x!==void 0?x:[])}}});return N.includeDisabledActions&&B.validActions.length>0&&B.allActions.length!==B.validActions.length&&A.push(this._showDisabled?{id:"hideMoreActions",label:(0,r.localize)(1,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(B,T,N))}:{id:"showMoreActions",label:(0,r.localize)(2,null),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(B,T,N))}),A}};e.CodeActionController=M,M.ID="editor.contrib.codeActionController",M.DECORATION=_.ModelDecorationOptions.register({description:"quickfix-highlight",className:k}),e.CodeActionController=M=E=Ie([ge(1,c.IMarkerService),ge(2,l.IContextKeyService),ge(3,o.IInstantiationService),ge(4,v.ILanguageFeaturesService),ge(5,a.IEditorProgressService),ge(6,f.ICommandService),ge(7,d.IConfigurationService),ge(8,u.IActionWidgetService),ge(9,o.IInstantiationService)],M),(0,p.registerThemingParticipant)((R,B)=>{((A,P)=>{P&&B.addRule(`.monaco-editor ${A} { background-color: ${P}; }`)})(".quickfix-edit-highlight",R.getColor(g.editorFindMatchHighlight));const N=R.getColor(g.editorFindMatchHighlightBorder);N&&B.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${(0,h.isHighContrast)(R.type)?"dotted":"solid"} ${N}; box-sizing: border-box; }`)})}),define(te[876],ie([1,0,10,16,22,135,639,15,112,252,353]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoFixAction=e.FixAllAction=e.OrganizeImportsAction=e.SourceAction=e.RefactorAction=e.CodeActionCommand=e.QuickFixAction=void 0;function s(c){return m.ContextKeyExpr.regex(C.SUPPORTED_CODE_ACTIONS.keys()[0],new RegExp("(\\s|^)"+(0,L.escapeRegExpCharacters)(c.value)+"\\b"))}const i={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:S.localize(0,null)},apply:{type:"string",description:S.localize(1,null),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[S.localize(2,null),S.localize(3,null),S.localize(4,null)]},preferred:{type:"boolean",default:!1,description:S.localize(5,null)}}};function n(c,a,g,h,p=_.CodeActionTriggerSource.Default){if(c.hasModel()){const b=v.CodeActionController.get(c);b?.manualTriggerAtCurrentPosition(a,p,g,h)}}class t extends I.EditorAction{constructor(){super({id:D.quickFixCommandId,label:S.localize(6,null),alias:"Quick Fix...",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:2137,weight:100}})}run(a,g){return n(g,S.localize(7,null),void 0,void 0,_.CodeActionTriggerSource.QuickFix)}}e.QuickFixAction=t;class r extends I.EditorCommand{constructor(){super({id:D.codeActionCommandId,precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:i}]}})}runEditorCommand(a,g,h){const p=_.CodeActionCommandArgs.fromUser(h,{kind:_.CodeActionKind.Empty,apply:"ifSingle"});return n(g,typeof h?.kind=="string"?p.preferred?S.localize(8,null,h.kind):S.localize(9,null,h.kind):p.preferred?S.localize(10,null):S.localize(11,null),{include:p.kind,includeSourceActions:!0,onlyIncludePreferredActions:p.preferred},p.apply)}}e.CodeActionCommand=r;class u extends I.EditorAction{constructor(){super({id:D.refactorCommandId,label:S.localize(12,null),alias:"Refactor...",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:m.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:i}]}})}run(a,g,h){const p=_.CodeActionCommandArgs.fromUser(h,{kind:_.CodeActionKind.Refactor,apply:"never"});return n(g,typeof h?.kind=="string"?p.preferred?S.localize(13,null,h.kind):S.localize(14,null,h.kind):p.preferred?S.localize(15,null):S.localize(16,null),{include:_.CodeActionKind.Refactor.contains(p.kind)?p.kind:_.CodeActionKind.None,onlyIncludePreferredActions:p.preferred},p.apply,_.CodeActionTriggerSource.Refactor)}}e.RefactorAction=u;class f extends I.EditorAction{constructor(){super({id:D.sourceActionCommandId,label:S.localize(17,null),alias:"Source Action...",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,y.EditorContextKeys.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:m.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.Source))},description:{description:"Source Action...",args:[{name:"args",schema:i}]}})}run(a,g,h){const p=_.CodeActionCommandArgs.fromUser(h,{kind:_.CodeActionKind.Source,apply:"never"});return n(g,typeof h?.kind=="string"?p.preferred?S.localize(18,null,h.kind):S.localize(19,null,h.kind):p.preferred?S.localize(20,null):S.localize(21,null),{include:_.CodeActionKind.Source.contains(p.kind)?p.kind:_.CodeActionKind.None,includeSourceActions:!0,onlyIncludePreferredActions:p.preferred},p.apply,_.CodeActionTriggerSource.SourceAction)}}e.SourceAction=f;class d extends I.EditorAction{constructor(){super({id:D.organizeImportsCommandId,label:S.localize(22,null),alias:"Organize Imports",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceOrganizeImports)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1581,weight:100}})}run(a,g){return n(g,S.localize(23,null),{include:_.CodeActionKind.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.OrganizeImports)}}e.OrganizeImportsAction=d;class l extends I.EditorAction{constructor(){super({id:D.fixAllCommandId,label:S.localize(24,null),alias:"Fix All",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.SourceFixAll))})}run(a,g){return n(g,S.localize(25,null),{include:_.CodeActionKind.SourceFixAll,includeSourceActions:!0},"ifSingle",_.CodeActionTriggerSource.FixAll)}}e.FixAllAction=l;class o extends I.EditorAction{constructor(){super({id:D.autoFixCommandId,label:S.localize(26,null),alias:"Auto Fix...",precondition:m.ContextKeyExpr.and(y.EditorContextKeys.writable,s(_.CodeActionKind.QuickFix)),kbOpts:{kbExpr:y.EditorContextKeys.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(a,g){return n(g,S.localize(27,null),{include:_.CodeActionKind.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",_.CodeActionTriggerSource.AutoFix)}}e.AutoFixAction=o}),define(te[877],ie([1,0,16,240,876,252,354,640,95,35]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(D.CodeActionController.ID,D.CodeActionController,3),(0,L.registerEditorContribution)(S.LightBulbWidget.ID,S.LightBulbWidget,4),(0,L.registerEditorAction)(y.QuickFixAction),(0,L.registerEditorAction)(y.RefactorAction),(0,L.registerEditorAction)(y.SourceAction),(0,L.registerEditorAction)(y.OrganizeImportsAction),(0,L.registerEditorAction)(y.AutoFixAction),(0,L.registerEditorAction)(y.FixAllAction),(0,L.registerEditorCommand)(new y.CodeActionCommand),v.Registry.as(_.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},I.editorConfigurationBaseNode),{properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:m.localize(0,null),default:!0}}})),v.Registry.as(_.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},I.editorConfigurationBaseNode),{properties:{"editor.codeActionWidget.includeNearbyQuickfixes":{type:"boolean",scope:5,description:m.localize(1,null),default:!1}}}))}),define(te[878],ie([1,0,7,128,5,37,443]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeLensWidget=e.CodeLensHelper=void 0;class S{constructor(i,n,t){this.afterColumn=1073741824,this.afterLineNumber=i,this.heightInPx=n,this._onHeight=t,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(i){this._lastHeight===void 0?this._lastHeight=i:this._lastHeight!==i&&(this._lastHeight=i,this._onHeight())}isVisible(){return this._lastHeight!==0&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class m{constructor(i,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=i,this._id=`codelens.widget-${m._idPool++}`,this.updatePosition(n),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(i,n){this._commands.clear();const t=[];let r=!1;for(let u=0;u{o.symbol.command&&l.push(o.symbol),t.addDecoration({range:o.symbol.range,options:v},a=>this._decorationIds[c]=a),d?d=y.Range.plusRange(d,o.symbol.range):d=y.Range.lift(o.symbol.range)}),this._viewZone=new S(d.startLineNumber-1,u,f),this._viewZoneId=r.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new m(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(i,n){this._decorationIds.forEach(i.removeDecoration,i),this._decorationIds=[],n?.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((i,n)=>{const t=this._editor.getModel().getDecorationRange(i),r=this._data[n].symbol;return!!(t&&y.Range.isEmpty(r.range)===t.isEmpty())})}updateCodeLensSymbols(i,n){this._decorationIds.forEach(n.removeDecoration,n),this._decorationIds=[],this._data=i,this._data.forEach((t,r)=>{n.addDecoration({range:t.symbol.range,options:v},u=>this._decorationIds[r]=u)})}updateHeight(i,n){this._viewZone.heightInPx=i,n.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(i){if(!this._viewZone.isVisible())return null;for(let n=0;nthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(b=>{(b.hasChanged(50)||b.hasChanged(19)||b.hasChanged(18))&&this._updateLensStyle(),b.hasChanged(17)&&this._onModelChange()})),this._disposables.add(c.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var o;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(o=this._currentCodeLensModel)===null||o===void 0||o.dispose()}_getLayoutInfo(){const o=Math.max(1.3,this._editor.getOption(66)/this._editor.getOption(52));let c=this._editor.getOption(19);return(!c||c<5)&&(c=this._editor.getOption(52)*.9|0),{fontSize:c,codeLensHeight:c*o|0}}_updateLensStyle(){const{codeLensHeight:o,fontSize:c}=this._getLayoutInfo(),a=this._editor.getOption(18),g=this._editor.getOption(50),{style:h}=this._editor.getContainerDomNode();h.setProperty("--vscode-editorCodeLens-lineHeight",`${o}px`),h.setProperty("--vscode-editorCodeLens-fontSize",`${c}px`),h.setProperty("--vscode-editorCodeLens-fontFeatureSettings",g.fontFeatureSettings),a&&(h.setProperty("--vscode-editorCodeLens-fontFamily",a),h.setProperty("--vscode-editorCodeLens-fontFamilyDefault",m.EDITOR_FONT_DEFAULTS.fontFamily)),this._editor.changeViewZones(p=>{for(const b of this._lenses)b.updateHeight(o,p)})}_localDispose(){var o,c,a;(o=this._getCodeLensModelPromise)===null||o===void 0||o.cancel(),this._getCodeLensModelPromise=void 0,(c=this._resolveCodeLensesPromise)===null||c===void 0||c.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(a=this._currentCodeLensModel)===null||a===void 0||a.dispose()}_onModelChange(){this._localDispose();const o=this._editor.getModel();if(!o||!this._editor.getOption(17)||o.isTooLargeForTokenization())return;const c=this._codeLensCache.get(o);if(c&&this._renderCodeLensSymbols(c),!this._languageFeaturesService.codeLensProvider.has(o)){c&&this._localToDispose.add((0,L.disposableTimeout)(()=>{const g=this._codeLensCache.get(o);c===g&&(this._codeLensCache.delete(o),this._onModelChange())},30*1e3));return}for(const g of this._languageFeaturesService.codeLensProvider.all(o))if(typeof g.onDidChange=="function"){const h=g.onDidChange(()=>a.schedule());this._localToDispose.add(h)}const a=new L.RunOnceScheduler(()=>{var g;const h=Date.now();(g=this._getCodeLensModelPromise)===null||g===void 0||g.cancel(),this._getCodeLensModelPromise=(0,L.createCancelablePromise)(p=>(0,v.getCodeLensModel)(this._languageFeaturesService.codeLensProvider,o,p)),this._getCodeLensModelPromise.then(p=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=p,this._codeLensCache.put(o,p);const b=this._provideCodeLensDebounce.update(o,Date.now()-h);a.delay=b,this._renderCodeLensSymbols(p),this._resolveCodeLensesInViewportSoon()},I.onUnexpectedError)},this._provideCodeLensDebounce.get(o));this._localToDispose.add(a),this._localToDispose.add((0,y.toDisposable)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var g;this._editor.changeDecorations(h=>{this._editor.changeViewZones(p=>{const b=[];let w=-1;this._lenses.forEach(k=>{!k.isValid()||w===k.getLineNumber()?b.push(k):(k.update(p),w=k.getLineNumber())});const E=new s.CodeLensHelper;b.forEach(k=>{k.dispose(E,p),this._lenses.splice(this._lenses.indexOf(k),1)}),E.commit(h)})}),a.schedule(),this._resolveCodeLensesScheduler.cancel(),(g=this._resolveCodeLensesPromise)===null||g===void 0||g.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{a.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{a.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(g=>{g.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,y.toDisposable)(()=>{if(this._editor.getModel()){const g=D.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(h=>{this._editor.changeViewZones(p=>{this._disposeAllLenses(h,p)})}),g.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(g=>{if(g.target.type!==9)return;let h=g.target.element;if(h?.tagName==="SPAN"&&(h=h.parentElement),h?.tagName==="A")for(const p of this._lenses){const b=p.getCommand(h);if(b){this._commandService.executeCommand(b.id,...b.arguments||[]).catch(w=>this._notificationService.error(w));break}}})),a.schedule()}_disposeAllLenses(o,c){const a=new s.CodeLensHelper;for(const g of this._lenses)g.dispose(a,c);o&&a.commit(o),this._lenses.length=0}_renderCodeLensSymbols(o){if(!this._editor.hasModel())return;const c=this._editor.getModel().getLineCount(),a=[];let g;for(const b of o.lenses){const w=b.symbol.range.startLineNumber;w<1||w>c||(g&&g[g.length-1].symbol.range.startLineNumber===w?g.push(b):(g=[b],a.push(g)))}if(!a.length&&!this._lenses.length)return;const h=D.StableEditorScrollState.capture(this._editor),p=this._getLayoutInfo();this._editor.changeDecorations(b=>{this._editor.changeViewZones(w=>{const E=new s.CodeLensHelper;let k=0,M=0;for(;Mthis._resolveCodeLensesInViewportSoon())),k++,M++)}for(;kthis._resolveCodeLensesInViewportSoon())),M++;E.commit(b)})}),h.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var o;(o=this._resolveCodeLensesPromise)===null||o===void 0||o.cancel(),this._resolveCodeLensesPromise=void 0;const c=this._editor.getModel();if(!c)return;const a=[],g=[];if(this._lenses.forEach(b=>{const w=b.computeIfNecessary(c);w&&(a.push(w),g.push(b))}),a.length===0)return;const h=Date.now(),p=(0,L.createCancelablePromise)(b=>{const w=a.map((E,k)=>{const M=new Array(E.length),R=E.map((B,T)=>!B.symbol.command&&typeof B.provider.resolveCodeLens=="function"?Promise.resolve(B.provider.resolveCodeLens(c,B.symbol,b)).then(N=>{M[T]=N},I.onUnexpectedExternalError):(M[T]=B.symbol,Promise.resolve(void 0)));return Promise.all(R).then(()=>{!b.isCancellationRequested&&!g[k].isDisposed()&&g[k].updateCommands(M)})});return Promise.all(w)});this._resolveCodeLensesPromise=p,this._resolveCodeLensesPromise.then(()=>{const b=this._resolveCodeLensesDebounce.update(c,Date.now()-h);this._resolveCodeLensesScheduler.delay=b,this._currentCodeLensModel&&this._codeLensCache.put(c,this._currentCodeLensModel),this._oldCodeLensModels.clear(),p===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},b=>{(0,I.onUnexpectedError)(b),p===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){var o;return be(this,void 0,void 0,function*(){return yield this._getCodeLensModelPromise,yield this._resolveCodeLensesPromise,!((o=this._currentCodeLensModel)===null||o===void 0)&&o.isDisposed?void 0:this._currentCodeLensModel})}};e.CodeLensContribution=d,d.ID="css.editor.codeLens",e.CodeLensContribution=d=Ie([ge(1,f.ILanguageFeaturesService),ge(2,u.ILanguageFeatureDebounceService),ge(3,n.ICommandService),ge(4,t.INotificationService),ge(5,C.ICodeLensCache)],d),(0,S.registerEditorContribution)(d.ID,d,1),(0,S.registerEditorAction)(class extends S.EditorAction{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:_.EditorContextKeys.hasCodeLensProvider,label:(0,i.localize)(0,null),alias:"Show CodeLens Commands For Current Line"})}run(o,c){return be(this,void 0,void 0,function*(){if(!c.hasModel())return;const a=o.get(r.IQuickInputService),g=o.get(n.ICommandService),h=o.get(t.INotificationService),p=c.getSelection().positionLineNumber,b=c.getContribution(d.ID);if(!b)return;const w=yield b.getModel();if(!w)return;const E=[];for(const R of w.lenses)R.symbol.command&&R.symbol.range.startLineNumber===p&&E.push({label:R.symbol.command.title,command:R.symbol.command});if(E.length===0)return;const k=yield a.pick(E,{canPickMany:!1,placeHolder:(0,i.localize)(1,null)});if(!k)return;let M=k.command;if(w.isDisposed){const R=yield b.getModel(),B=R?.lenses.find(T=>{var N;return T.symbol.range.startLineNumber===p&&((N=T.symbol.command)===null||N===void 0?void 0:N.title)===M.title});if(!B||!B.symbol.command)return;M=B.symbol.command}try{yield g.executeCommand(M.id,...M.arguments||[])}catch(R){h.error(R)}})}})}),define(te[367],ie([1,0,14,36,9,6,2,59,10,159,16,5,37,74,18,347,28]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";var f;Object.defineProperty(e,"__esModule",{value:!0}),e.DecoratorLimitReporter=e.ColorDetector=e.ColorDecorationInjectedTextMarker=void 0,e.ColorDecorationInjectedTextMarker=Object.create({});let d=f=class extends S.Disposable{constructor(c,a,g,h){super(),this._editor=c,this._configurationService=a,this._languageFeaturesService=g,this._localToDispose=this._register(new S.DisposableStore),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new v.DynamicCssRules(this._editor),this._decoratorLimitReporter=new l,this._colorDecorationClassRefs=this._register(new S.DisposableStore),this._debounceInformation=h.for(g.colorProvider,"Document Colors",{min:f.RECOMPUTE_TIME}),this._register(c.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(c.onDidChangeModelLanguage(()=>this.updateColors())),this._register(g.colorProvider.onDidChange(()=>this.updateColors())),this._register(c.onDidChangeConfiguration(p=>{const b=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(145);const w=b!==this._isColorDecoratorsEnabled||p.hasChanged(21),E=p.hasChanged(145);(w||E)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(145),this.updateColors()}isEnabled(){const c=this._editor.getModel();if(!c)return!1;const a=c.getLanguageId(),g=this._configurationService.getValue(a);if(g&&typeof g=="object"){const h=g.colorDecorators;if(h&&h.enable!==void 0&&!h.enable)return h.enable}return this._editor.getOption(20)}static get(c){return c.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const c=this._editor.getModel();!c||!this._languageFeaturesService.colorProvider.has(c)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new L.TimeoutTimer,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(c)))})),this.beginCompute())}beginCompute(){return be(this,void 0,void 0,function*(){this._computePromise=(0,L.createCancelablePromise)(c=>be(this,void 0,void 0,function*(){const a=this._editor.getModel();if(!a)return[];const g=new m.StopWatch(!1),h=yield(0,r.getColors)(this._languageFeaturesService.colorProvider,a,c,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(a,g.elapsed()),h}));try{const c=yield this._computePromise;this.updateDecorations(c),this.updateColorDecorators(c),this._computePromise=null}catch(c){(0,y.onUnexpectedError)(c)}})}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(c){const a=c.map(g=>({range:{startLineNumber:g.colorInfo.range.startLineNumber,startColumn:g.colorInfo.range.startColumn,endLineNumber:g.colorInfo.range.endLineNumber,endColumn:g.colorInfo.range.endColumn},options:i.ModelDecorationOptions.EMPTY}));this._editor.changeDecorations(g=>{this._decorationsIds=g.deltaDecorations(this._decorationsIds,a),this._colorDatas=new Map,this._decorationsIds.forEach((h,p)=>this._colorDatas.set(h,c[p]))})}updateColorDecorators(c){this._colorDecorationClassRefs.clear();const a=[],g=this._editor.getOption(21);for(let p=0;pthis._colorDatas.has(h.id));return g.length===0?null:this._colorDatas.get(g[0].id)}isColorDecoration(c){return this._colorDecoratorIds.has(c)}};e.ColorDetector=d,d.ID="editor.contrib.colorDetector",d.RECOMPUTE_TIME=1e3,e.ColorDetector=d=f=Ie([ge(1,u.IConfigurationService),ge(2,t.ILanguageFeaturesService),ge(3,n.ILanguageFeatureDebounceService)],d);class l{constructor(){this._onDidChange=new D.Emitter,this._computed=0,this._limited=!1}update(c,a){(c!==this._computed||a!==this._limited)&&(this._computed=c,this._limited=a,this._onDidChange.fire())}}e.DecoratorLimitReporter=l,(0,C.registerEditorContribution)(d.ID,d,1)}),define(te[368],ie([1,0,14,19,36,2,5,347,367,541,830,23,7]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerParticipant=e.StandaloneColorPickerHover=e.ColorHoverParticipant=e.ColorHover=void 0;class n{constructor(a,g,h,p){this.owner=a,this.range=g,this.model=h,this.provider=p,this.forceShowAtRange=!0}isValidForHoverAnchor(a){return a.type===1&&this.range.startColumn<=a.range.startColumn&&this.range.endColumn>=a.range.endColumn}}e.ColorHover=n;let t=class{constructor(a,g){this._editor=a,this._themeService=g,this.hoverOrdinal=2}computeSync(a,g){return[]}computeAsync(a,g,h){return L.AsyncIterableObject.fromPromise(this._computeAsync(a,g,h))}_computeAsync(a,g,h){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const p=_.ColorDetector.get(this._editor);if(!p)return[];for(const b of g){if(!p.isColorDecoration(b))continue;const w=p.getColorData(b.range.getStartPosition());if(w)return[yield f(this,this._editor.getModel(),w.colorInfo,w.provider)]}return[]})}renderHoverParts(a,g){return d(this,this._editor,this._themeService,g,a)}};e.ColorHoverParticipant=t,e.ColorHoverParticipant=t=Ie([ge(1,s.IThemeService)],t);class r{constructor(a,g,h,p){this.owner=a,this.range=g,this.model=h,this.provider=p}}e.StandaloneColorPickerHover=r;let u=class{constructor(a,g){this._editor=a,this._themeService=g,this._color=null}createColorHover(a,g,h){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!_.ColorDetector.get(this._editor))return null;const b=yield(0,m.getColors)(h,this._editor.getModel(),I.CancellationToken.None);let w=null,E=null;for(const B of b){const T=B.colorInfo;S.Range.containsRange(T.range,a.range)&&(w=T,E=B.provider)}const k=w??a,M=E??g,R=!!w;return{colorHover:yield f(this,this._editor.getModel(),k,M),foundInEditor:R}})}updateEditorModel(a){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const g=a.model;let h=new S.Range(a.range.startLineNumber,a.range.startColumn,a.range.endLineNumber,a.range.endColumn);this._color&&(yield o(this._editor.getModel(),g,this._color,h,a),h=l(this._editor,h,g))})}renderHoverParts(a,g){return d(this,this._editor,this._themeService,g,a)}set color(a){this._color=a}get color(){return this._color}};e.StandaloneColorPickerParticipant=u,e.StandaloneColorPickerParticipant=u=Ie([ge(1,s.IThemeService)],u);function f(c,a,g,h){return be(this,void 0,void 0,function*(){const p=a.getValueInRange(g.range),{red:b,green:w,blue:E,alpha:k}=g.color,M=new y.RGBA(Math.round(b*255),Math.round(w*255),Math.round(E*255),k),R=new y.Color(M),B=yield(0,m.getColorPresentations)(a,g,h,I.CancellationToken.None),T=new v.ColorPickerModel(R,[],0);return T.colorPresentations=B||[],T.guessColorPresentation(R,p),c instanceof t?new n(c,S.Range.lift(g.range),T,h):new r(c,S.Range.lift(g.range),T,h)})}function d(c,a,g,h,p){if(h.length===0||!a.hasModel())return D.Disposable.None;if(p.setMinimumDimensions){const T=a.getOption(66)+8;p.setMinimumDimensions(new i.Dimension(302,T))}const b=new D.DisposableStore,w=h[0],E=a.getModel(),k=w.model,M=b.add(new C.ColorPickerWidget(p.fragment,k,a.getOption(141),g,c instanceof u));p.setColorPicker(M);let R=!1,B=new S.Range(w.range.startLineNumber,w.range.startColumn,w.range.endLineNumber,w.range.endColumn);if(c instanceof u){const T=h[0].model.color;c.color=T,o(E,k,T,B,w),b.add(k.onColorFlushed(N=>{c.color=N}))}else b.add(k.onColorFlushed(T=>be(this,void 0,void 0,function*(){yield o(E,k,T,B,w),R=!0,B=l(a,B,k,p)})));return b.add(k.onDidChangeColor(T=>{o(E,k,T,B,w)})),b.add(a.onDidChangeModelContent(T=>{R?R=!1:(p.hide(),a.focus())})),b}function l(c,a,g,h){let p,b;if(g.presentation.textEdit){p=[g.presentation.textEdit],b=new S.Range(g.presentation.textEdit.range.startLineNumber,g.presentation.textEdit.range.startColumn,g.presentation.textEdit.range.endLineNumber,g.presentation.textEdit.range.endColumn);const w=c.getModel()._setTrackedRange(null,b,3);c.pushUndoStop(),c.executeEdits("colorpicker",p),b=c.getModel()._getTrackedRange(w)||b}else p=[{range:a,text:g.presentation.label,forceMoveMarkers:!1}],b=a.setEndPosition(a.endLineNumber,a.startColumn+g.presentation.label.length),c.pushUndoStop(),c.executeEdits("colorpicker",p);return g.presentation.additionalTextEdits&&(p=[...g.presentation.additionalTextEdits],c.executeEdits("colorpicker",p),h&&h.hide()),c.pushUndoStop(),b}function o(c,a,g,h,p){return be(this,void 0,void 0,function*(){const b=yield(0,m.getColorPresentations)(c,{range:h,color:{red:g.rgba.r/255,green:g.rgba.g/255,blue:g.rgba.b/255,alpha:g.rgba.a}},p.provider,I.CancellationToken.None);a.colorPresentations=b||[]})}}),define(te[880],ie([1,0,2,17,16,12,5,24,37,543,444]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DragAndDropController=void 0;function C(i){return I.isMacintosh?i.altKey:i.ctrlKey}class s extends L.Disposable{constructor(n){super(),this._editor=n,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(n){!this._editor.getOption(35)||this._editor.getOption(22)||(C(n)&&(this._modifierPressed=!0),this._mouseDown&&C(n)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(n){!this._editor.getOption(35)||this._editor.getOption(22)||(C(n)&&(this._modifierPressed=!1),this._mouseDown&&n.keyCode===s.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(n){this._mouseDown=!0}_onEditorMouseUp(n){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(n){const t=n.target;if(this._dragSelection===null){const u=(this._editor.getSelections()||[]).filter(f=>t.position&&f.containsPosition(t.position));if(u.length===1)this._dragSelection=u[0];else return}C(n.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(n){if(n.target&&(this._hitContent(n.target)||this._hitMargin(n.target))&&n.target.position){const t=new D.Position(n.target.position.lineNumber,n.target.position.column);if(this._dragSelection===null){let r=null;if(n.event.shiftKey){const u=this._editor.getSelection();if(u){const{selectionStartLineNumber:f,selectionStartColumn:d}=u;r=[new m.Selection(f,d,t.lineNumber,t.column)]}}else r=(this._editor.getSelections()||[]).map(u=>u.containsPosition(t)?new m.Selection(t.lineNumber,t.column,t.lineNumber,t.column):u);this._editor.setSelections(r||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(C(n.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(s.ID,new v.DragAndDropCommand(this._dragSelection,t,C(n.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(n){this._dndDecorationIds.set([{range:new S.Range(n.lineNumber,n.column,n.lineNumber,n.column),options:s._DECORATION_OPTIONS}]),this._editor.revealPosition(n,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(n){return n.type===6||n.type===7}_hitMargin(n){return n.type===2||n.type===3||n.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}e.DragAndDropController=s,s.ID="editor.contrib.dragAndDrop",s.TRIGGER_KEY_VALUE=I.isMacintosh?6:5,s._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"dnd-target",className:"dnd-target"}),(0,y.registerEditorContribution)(s.ID,s,2)}),define(te[881],ie([1,0,5,49,37,31,23]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindDecorations=void 0;class m{constructor(v){this._editor=v,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const v=this._findScopeDecorationIds.map(C=>this._editor.getModel().getDecorationRange(C)).filter(C=>!!C);if(v.length)return v}return null}getStartPosition(){return this._startPosition}setStartPosition(v){this._startPosition=v,this.setCurrentFindMatch(null)}_getDecorationIndex(v){const C=this._decorations.indexOf(v);return C>=0?C+1:1}getDecorationRangeAt(v){const C=v{if(this._highlightedDecorationId!==null&&(i.changeDecorationOptions(this._highlightedDecorationId,m._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),C!==null&&(this._highlightedDecorationId=C,i.changeDecorationOptions(this._highlightedDecorationId,m._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),C!==null){let n=this._editor.getModel().getDecorationRange(C);if(n.startLineNumber!==n.endLineNumber&&n.endColumn===1){const t=n.endLineNumber-1,r=this._editor.getModel().getLineMaxColumn(t);n=new L.Range(n.startLineNumber,n.startColumn,t,r)}this._rangeHighlightDecorationId=i.addDecoration(n,m._RANGE_HIGHLIGHT_DECORATION)}}),s}set(v,C){this._editor.changeDecorations(s=>{let i=m._FIND_MATCH_DECORATION;const n=[];if(v.length>1e3){i=m._FIND_MATCH_NO_OVERVIEW_DECORATION;const r=this._editor.getModel().getLineCount(),f=this._editor.getLayoutInfo().height/r,d=Math.max(2,Math.ceil(3/f));let l=v[0].range.startLineNumber,o=v[0].range.endLineNumber;for(let c=1,a=v.length;c=g.startLineNumber?g.endLineNumber>o&&(o=g.endLineNumber):(n.push({range:new L.Range(l,1,o,1),options:m._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),l=g.startLineNumber,o=g.endLineNumber)}n.push({range:new L.Range(l,1,o,1),options:m._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const t=new Array(v.length);for(let r=0,u=v.length;rs.removeDecoration(r)),this._findScopeDecorationIds=[]),C?.length&&(this._findScopeDecorationIds=C.map(r=>s.addDecoration(r,m._FIND_SCOPE_DECORATION)))})}matchBeforePosition(v){if(this._decorations.length===0)return null;for(let C=this._decorations.length-1;C>=0;C--){const s=this._decorations[C],i=this._editor.getModel().getDecorationRange(s);if(!(!i||i.endLineNumber>v.lineNumber)){if(i.endLineNumberv.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(v){if(this._decorations.length===0)return null;for(let C=0,s=this._decorations.length;Cv.lineNumber)return n;if(!(n.startColumnthis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(l=>{(l.reason===3||l.reason===5||l.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(l=>{this._ignoreModelContentChanged||(l.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(l=>this._onStateChanged(l))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,y.dispose)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(f){this._isDisposed||this._editor.hasModel()&&(f.searchString||f.isReplaceRevealed||f.isRegex||f.wholeWord||f.matchCase||f.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{f.searchScope?this.research(f.moveCursor,this._state.searchScope):this.research(f.moveCursor)},t)):f.searchScope?this.research(f.moveCursor,this._state.searchScope):this.research(f.moveCursor))}static _getSearchRange(f,d){return d||f.getFullModelRange()}research(f,d){let l=null;typeof d<"u"?d!==null&&(Array.isArray(d)?l=d:l=[d]):l=this._decorations.getFindScopes(),l!==null&&(l=l.map(g=>{if(g.startLineNumber!==g.endLineNumber){let h=g.endLineNumber;return g.endColumn===1&&(h=h-1),new m.Range(g.startLineNumber,1,h,this._editor.getModel().getLineMaxColumn(h))}return g}));const o=this._findMatches(l,!1,e.MATCHES_LIMIT);this._decorations.set(o,l);const c=this._editor.getSelection();let a=this._decorations.getCurrentMatchesPosition(c);if(a===0&&o.length>0){const g=(0,L.findFirstIdxMonotonousOrArrLen)(o.map(h=>h.range),h=>m.Range.compareRangesUsingStarts(h,c)>=0);a=g>0?g-1+1:a}this._state.changeMatchInfo(a,this._decorations.getCount(),void 0),f&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const f=this._decorations.getFindScope();return f&&this._editor.revealRangeInCenterIfOutsideViewport(f,0),!0}return!1}_setCurrentFindMatch(f){const d=this._decorations.setCurrentFindMatch(f);this._state.changeMatchInfo(d,this._decorations.getCount(),f),this._editor.setSelection(f),this._editor.revealRangeInCenterIfOutsideViewport(f,0)}_prevSearchPosition(f){const d=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:l,column:o}=f;const c=this._editor.getModel();return d||o===1?(l===1?l=c.getLineCount():l--,o=c.getLineMaxColumn(l)):o--,new S.Position(l,o)}_moveToPrevMatch(f,d=!1){if(!this._state.canNavigateBack()){const b=this._decorations.matchAfterPosition(f);b&&this._setCurrentFindMatch(b);return}if(this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:l,column:o}=f;const c=this._editor.getModel();return d||o===c.getLineMaxColumn(l)?(l===c.getLineCount()?l=1:l++,o=1):o++,new S.Position(l,o)}_moveToNextMatch(f){if(!this._state.canNavigateForward()){const l=this._decorations.matchBeforePosition(f);l&&this._setCurrentFindMatch(l);return}if(this._decorations.getCount()r._getSearchRange(this._editor.getModel(),c));return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(129):null,d,l)}replaceAll(){if(!this._hasMatches())return;const f=this._decorations.getFindScopes();f===null&&this._state.matchesCount>=e.MATCHES_LIMIT?this._largeReplaceAll():this._regularReplaceAll(f),this.research(!1)}_largeReplaceAll(){const d=new v.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(129):null).parseSearchRequest();if(!d)return;let l=d.regex;if(!l.multiline){let w="mu";l.ignoreCase&&(w+="i"),l.global&&(w+="g"),l=new RegExp(l.source,w)}const o=this._editor.getModel(),c=o.getValue(1),a=o.getFullModelRange(),g=this._getReplacePattern();let h;const p=this._state.preserveCase;g.hasReplacementPatterns||p?h=c.replace(l,function(){return g.buildReplaceString(arguments,p)}):h=c.replace(l,g.buildReplaceString(null,p));const b=new D.ReplaceCommandThatPreservesSelection(a,h,this._editor.getSelection());this._executeEditorCommand("replaceAll",b)}_regularReplaceAll(f){const d=this._getReplacePattern(),l=this._findMatches(f,d.hasReplacementPatterns||this._state.preserveCase,1073741824),o=[];for(let a=0,g=l.length;aa.range),o);this._executeEditorCommand("replaceAll",c)}selectAllMatches(){if(!this._hasMatches())return;const f=this._decorations.getFindScopes();let l=this._findMatches(f,!1,1073741824).map(c=>new _.Selection(c.range.startLineNumber,c.range.startColumn,c.range.endLineNumber,c.range.endColumn));const o=this._editor.getSelection();for(let c=0,a=l.length;cthis._hide(),2e3)),this._isVisible=!1,this._editor=C,this._state=s,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n={inputActiveOptionBorder:(0,m.asCssVariable)(m.inputActiveOptionBorder),inputActiveOptionForeground:(0,m.asCssVariable)(m.inputActiveOptionForeground),inputActiveOptionBackground:(0,m.asCssVariable)(m.inputActiveOptionBackground)};this.caseSensitive=this._register(new I.CaseSensitiveToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase},n))),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new I.WholeWordsToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleWholeWordCommand),isChecked:this._state.wholeWord},n))),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new I.RegexToggle(Object.assign({appendTitle:this._keybindingLabelFor(S.FIND_IDS.ToggleRegexCommand),isChecked:this._state.isRegex},n))),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(t=>{let r=!1;t.isRegex&&(this.regex.checked=this._state.isRegex,r=!0),t.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,r=!0),t.matchCase&&(this.caseSensitive.checked=this._state.matchCase,r=!0),!this._state.isRevealed&&r&&this._revealTemporarily()})),this._register(L.addDisposableListener(this._domNode,L.EventType.MOUSE_LEAVE,t=>this._onMouseLeave())),this._register(L.addDisposableListener(this._domNode,"mouseover",t=>this._onMouseOver()))}_keybindingLabelFor(C){const s=this._keybindingService.lookupKeybinding(C);return s?` (${s.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return _.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}e.FindOptionsWidget=_,_.ID="editor.contrib.findOptionsWidget"}),define(te[883],ie([1,0,6,2,5,193]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FindReplaceState=void 0;function S(_,v){return _===1?!0:_===2?!1:v}class m extends I.Disposable{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return S(this._isRegexOverride,this._isRegex)}get wholeWord(){return S(this._wholeWordOverride,this._wholeWord)}get matchCase(){return S(this._matchCaseOverride,this._matchCase)}get preserveCase(){return S(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new L.Emitter),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(v,C,s){const i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;C===0&&(v=0),v>C&&(v=C),this._matchesPosition!==v&&(this._matchesPosition=v,i.matchesPosition=!0,n=!0),this._matchesCount!==C&&(this._matchesCount=C,i.matchesCount=!0,n=!0),typeof s<"u"&&(y.Range.equalsRange(this._currentMatch,s)||(this._currentMatch=s,i.currentMatch=!0,n=!0)),n&&this._onFindReplaceStateChange.fire(i)}change(v,C,s=!0){var i;const n={moveCursor:C,updateHistory:s,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let t=!1;const r=this.isRegex,u=this.wholeWord,f=this.matchCase,d=this.preserveCase;typeof v.searchString<"u"&&this._searchString!==v.searchString&&(this._searchString=v.searchString,n.searchString=!0,t=!0),typeof v.replaceString<"u"&&this._replaceString!==v.replaceString&&(this._replaceString=v.replaceString,n.replaceString=!0,t=!0),typeof v.isRevealed<"u"&&this._isRevealed!==v.isRevealed&&(this._isRevealed=v.isRevealed,n.isRevealed=!0,t=!0),typeof v.isReplaceRevealed<"u"&&this._isReplaceRevealed!==v.isReplaceRevealed&&(this._isReplaceRevealed=v.isReplaceRevealed,n.isReplaceRevealed=!0,t=!0),typeof v.isRegex<"u"&&(this._isRegex=v.isRegex),typeof v.wholeWord<"u"&&(this._wholeWord=v.wholeWord),typeof v.matchCase<"u"&&(this._matchCase=v.matchCase),typeof v.preserveCase<"u"&&(this._preserveCase=v.preserveCase),typeof v.searchScope<"u"&&(!((i=v.searchScope)===null||i===void 0)&&i.every(l=>{var o;return(o=this._searchScope)===null||o===void 0?void 0:o.some(c=>!y.Range.equalsRange(c,l))})||(this._searchScope=v.searchScope,n.searchScope=!0,t=!0)),typeof v.loop<"u"&&this._loop!==v.loop&&(this._loop=v.loop,n.loop=!0,t=!0),typeof v.isSearching<"u"&&this._isSearching!==v.isSearching&&(this._isSearching=v.isSearching,n.isSearching=!0,t=!0),typeof v.filters<"u"&&(this._filters?this._filters.update(v.filters):this._filters=v.filters,n.filters=!0,t=!0),this._isRegexOverride=typeof v.isRegexOverride<"u"?v.isRegexOverride:0,this._wholeWordOverride=typeof v.wholeWordOverride<"u"?v.wholeWordOverride:0,this._matchCaseOverride=typeof v.matchCaseOverride<"u"?v.matchCaseOverride:0,this._preserveCaseOverride=typeof v.preserveCaseOverride<"u"?v.preserveCaseOverride:0,r!==this.isRegex&&(t=!0,n.isRegex=!0),u!==this.wholeWord&&(t=!0,n.wholeWord=!0),f!==this.matchCase&&(t=!0,n.matchCase=!0),d!==this.preserveCase&&(t=!0,n.preserveCase=!0),t&&this._onFindReplaceStateChange.fire(n)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=D.MATCHES_LIMIT}}e.FindReplaceState=m}),define(te[884],ie([1,0,7,45,153,152,83,14,26,9,2,17,10,5,193,657,350,746,31,77,23,27,86,20,104,447]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleButton=e.FindWidget=e.FindWidgetViewZone=e.NLS_NO_RESULTS=e.NLS_MATCHES_LOCATION=e.findNextMatchIcon=e.findPreviousMatchIcon=e.findReplaceAllIcon=e.findReplaceIcon=void 0;const p=(0,l.registerIcon)("find-selection",_.Codicon.selection,r.localize(0,null)),b=(0,l.registerIcon)("find-collapsed",_.Codicon.chevronRight,r.localize(1,null)),w=(0,l.registerIcon)("find-expanded",_.Codicon.chevronDown,r.localize(2,null));e.findReplaceIcon=(0,l.registerIcon)("find-replace",_.Codicon.replace,r.localize(3,null)),e.findReplaceAllIcon=(0,l.registerIcon)("find-replace-all",_.Codicon.replaceAll,r.localize(4,null)),e.findPreviousMatchIcon=(0,l.registerIcon)("find-previous-match",_.Codicon.arrowUp,r.localize(5,null)),e.findNextMatchIcon=(0,l.registerIcon)("find-next-match",_.Codicon.arrowDown,r.localize(6,null));const E=r.localize(7,null),k=r.localize(8,null),M=r.localize(9,null),R=r.localize(10,null),B=r.localize(11,null),T=r.localize(12,null),N=r.localize(13,null),A=r.localize(14,null),P=r.localize(15,null),O=r.localize(16,null),x=r.localize(17,null),W=r.localize(18,null),U=r.localize(19,null,t.MATCHES_LIMIT);e.NLS_MATCHES_LOCATION=r.localize(20,null),e.NLS_NO_RESULTS=r.localize(21,null);const F=419,Y=275-54;let ne=69;const se=33,J="ctrlEnterReplaceAll.windows.donotask",q=s.isMacintosh?256:2048;class H{constructor(de){this.afterLineNumber=de,this.heightInPx=se,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}e.FindWidgetViewZone=H;function V(ue,de,ce){const ae=!!de.match(/\n/);if(ce&&ae&&ce.selectionStart>0){ue.stopPropagation();return}}function Z(ue,de,ce){const ae=!!de.match(/\n/);if(ce&&ae&&ce.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(oe=>this._onStateChanged(oe))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(90)&&(this._codeEditor.getOption(90)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),oe.hasChanged(143)&&this._tryUpdateWidgetWidth(),oe.hasChanged(2)&&this.updateAccessibilitySupport(),oe.hasChanged(41)){const he=this._codeEditor.getOption(41).loop;this._state.change({loop:he},!1);const me=this._codeEditor.getOption(41).addExtraSpaceOnTop;me&&!this._viewZone&&(this._viewZone=new H(0),this._showViewZone()),!me&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>be(this,void 0,void 0,function*(){if(this._isVisible){const oe=yield this._controller.getGlobalBufferTerm();oe&&oe!==this._state.searchString&&(this._state.change({searchString:oe},!1),this._findInput.select())}}))),this._findInputFocused=t.CONTEXT_FIND_INPUT_FOCUSED.bindTo(z),this._findFocusTracker=this._register(L.trackFocus(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=t.CONTEXT_REPLACE_INPUT_FOCUSED.bindTo(z),this._replaceFocusTracker=this._register(L.trackFocus(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(41).addExtraSpaceOnTop&&(this._viewZone=new H(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(oe=>{if(oe.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return ee.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(de){if(de.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(de.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),de.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),de.isReplaceRevealed&&(this._state.isReplaceRevealed?!this._codeEditor.getOption(90)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(de.isRevealed||de.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),de.isRegex&&this._findInput.setRegex(this._state.isRegex),de.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),de.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),de.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),de.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),de.searchString||de.matchesCount||de.matchesPosition){const ce=this._state.searchString.length>0&&this._state.matchesCount===0;this._domNode.classList.toggle("no-results",ce),this._updateMatchesCount(),this._updateButtons()}(de.searchString||de.currentMatch)&&this._layoutViewZone(),de.updateHistory&&this._delayedUpdateHistory(),de.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,v.onUnexpectedError)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=ne+"px",this._state.matchesCount>=t.MATCHES_LIMIT?this._matchesCount.title=U:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);let de;if(this._state.matchesCount>0){let ce=String(this._state.matchesCount);this._state.matchesCount>=t.MATCHES_LIMIT&&(ce+="+");let ae=String(this._state.matchesPosition);ae==="0"&&(ae="?"),de=i.format(e.NLS_MATCHES_LOCATION,ae,ce)}else de=e.NLS_NO_RESULTS;this._matchesCount.appendChild(document.createTextNode(de)),(0,I.alert)(this._getAriaLabel(de,this._state.currentMatch,this._state.searchString)),ne=Math.max(ne,this._matchesCount.clientWidth)}_getAriaLabel(de,ce,ae){if(de===e.NLS_NO_RESULTS)return ae===""?r.localize(22,null,de):r.localize(23,null,de,ae);if(ce){const X=r.localize(24,null,de,ae,ce.startLineNumber+":"+ce.startColumn),K=this._codeEditor.getModel();return K&&ce.startLineNumber<=K.getLineCount()&&ce.startLineNumber>=1?`${K.getLineContent(ce.startLineNumber)}, ${X}`:X}return r.localize(25,null,de,ae)}_updateToggleSelectionFindButton(){const de=this._codeEditor.getSelection(),ce=de?de.startLineNumber!==de.endLineNumber||de.startColumn!==de.endColumn:!1,ae=this._toggleSelectionFind.checked;this._isVisible&&(ae||ce)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const de=this._state.searchString.length>0,ce=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&de&&ce&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&de&&ce&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&de),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const ae=!this._codeEditor.getOption(90);this._toggleReplaceBtn.setEnabled(this._isVisible&&ae)}_reveal(){if(this._revealTimeouts.forEach(de=>{clearTimeout(de)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const de=this._codeEditor.getSelection();switch(this._codeEditor.getOption(41).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const ae=!!de&&de.startLineNumber!==de.endLineNumber;this._toggleSelectionFind.checked=ae;break}default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let ce=!0;if(this._codeEditor.getOption(41).seedSearchStringFromSelection&&de){const ae=this._codeEditor.getDomNode();if(ae){const X=L.getDomNodePagePosition(ae),K=this._codeEditor.getScrolledVisiblePosition(de.getStartPosition()),z=X.left+(K?K.left:0),Q=K?K.top:0;if(this._viewZone&&Qde.startLineNumber&&(ce=!1);const j=L.getTopLeftOffset(this._domNode).left;z>j&&(ce=!1);const re=this._codeEditor.getScrolledVisiblePosition(de.getEndPosition());X.left+(re?re.left:0)>j&&(ce=!1)}}}this._showViewZone(ce)}}_hide(de){this._revealTimeouts.forEach(ce=>{clearTimeout(ce)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),de&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(de){if(!this._codeEditor.getOption(41).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const ae=this._viewZone;this._viewZoneId!==void 0||!ae||this._codeEditor.changeViewZones(X=>{ae.heightInPx=this._getHeight(),this._viewZoneId=X.addZone(ae),this._codeEditor.setScrollTop(de||this._codeEditor.getScrollTop()+ae.heightInPx)})}_showViewZone(de=!0){if(!this._isVisible||!this._codeEditor.getOption(41).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new H(0));const ae=this._viewZone;this._codeEditor.changeViewZones(X=>{if(this._viewZoneId!==void 0){const K=this._getHeight();if(K===ae.heightInPx)return;const z=K-ae.heightInPx;ae.heightInPx=K,X.layoutZone(this._viewZoneId),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+z);return}else{let K=this._getHeight();if(K-=this._codeEditor.getOption(83).top,K<=0)return;ae.heightInPx=K,this._viewZoneId=X.addZone(ae),de&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+K)}})}_removeViewZone(){this._codeEditor.changeViewZones(de=>{this._viewZoneId!==void 0&&(de.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!L.isInDOM(this._domNode))return;const de=this._codeEditor.getLayoutInfo();if(de.contentWidth<=0){this._domNode.classList.add("hiddenEditor");return}else this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const ae=de.width,X=de.minimap.minimapWidth;let K=!1,z=!1,Q=!1;if(this._resized&&L.getTotalWidth(this._domNode)>F){this._domNode.style.maxWidth=`${ae-28-X-15}px`,this._replaceInput.width=L.getTotalWidth(this._findInput.domNode);return}if(F+28+X>=ae&&(z=!0),F+28+X-ne>=ae&&(Q=!0),F+28+X-ne>=ae+50&&(K=!0),this._domNode.classList.toggle("collapsed-find-widget",K),this._domNode.classList.toggle("narrow-find-widget",Q),this._domNode.classList.toggle("reduced-find-widget",z),!Q&&!K&&(this._domNode.style.maxWidth=`${ae-28-X-15}px`),this._findInput.layout({collapsedFindWidget:K,narrowFindWidget:Q,reducedFindWidget:z}),this._resized){const j=this._findInput.inputBox.element.clientWidth;j>0&&(this._replaceInput.width=j)}else this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode))}_getHeight(){let de=0;return de+=4,de+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(de+=4,de+=this._replaceInput.inputBox.height+2),de+=4,de}_tryUpdateHeight(){const de=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===de?!1:(this._cachedHeight=de,this._domNode.style.height=`${de}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const de=this._codeEditor.getSelections();de.map(ce=>{ce.endColumn===1&&ce.endLineNumber>ce.startLineNumber&&(ce=ce.setEndPosition(ce.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(ce.endLineNumber-1)));const ae=this._state.currentMatch;return ce.startLineNumber!==ce.endLineNumber&&!n.Range.equalsRange(ce,ae)?ce:null}).filter(ce=>!!ce),de.length&&this._state.change({searchScope:de},!0)}}_onFindInputMouseDown(de){de.middleButton&&de.stopPropagation()}_onFindInputKeyDown(de){if(de.equals(q|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{this._findInput.inputBox.insertAtCursor(` +`),de.preventDefault();return}if(de.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(de.equals(18))return Z(de,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))}_onReplaceInputKeyDown(de){if(de.equals(q|3))if(this._keybindingService.dispatchEvent(de,de.target)){de.preventDefault();return}else{s.isWindows&&s.isNative&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(r.localize(26,null)),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(J,!0,0,0)),this._replaceInput.inputBox.insertAtCursor(` +`),de.preventDefault();return}if(de.equals(2)){this._findInput.focusOnCaseSensitive(),de.preventDefault();return}if(de.equals(1026)){this._findInput.focus(),de.preventDefault();return}if(de.equals(2066)){this._codeEditor.focus(),de.preventDefault();return}if(de.equals(16))return V(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(de.equals(18))return Z(de,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))}getVerticalSashLeft(de){return 0}_keybindingLabelFor(de){const ce=this._keybindingService.lookupKeybinding(de);return ce?` (${ce.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new u.ContextScopedFindInput(null,this._contextViewProvider,{width:Y,label:k,placeholder:M,appendCaseSensitiveLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(t.FIND_IDS.ToggleRegexCommand),validation:j=>{if(j.length===0||!this._findInput.getRegex())return null;try{return new RegExp(j,"gu"),null}catch(re){return{content:re.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>(0,f.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:h.defaultInputBoxStyles,toggleStyles:h.defaultToggleStyles},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(j=>this._onFindInputKeyDown(j))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(j=>{j.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),j.preventDefault())})),this._register(this._findInput.onRegexKeyDown(j=>{j.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),j.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(j=>{this._tryUpdateHeight()&&this._showViewZone()})),s.isLinux&&this._register(this._findInput.onMouseDown(j=>this._onFindInputMouseDown(j))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new le({label:R+this._keybindingLabelFor(t.FIND_IDS.PreviousMatchFindAction),icon:e.findPreviousMatchIcon,onTrigger:()=>{(0,g.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.PreviousMatchFindAction)).run().then(void 0,v.onUnexpectedError)}})),this._nextBtn=this._register(new le({label:B+this._keybindingLabelFor(t.FIND_IDS.NextMatchFindAction),icon:e.findNextMatchIcon,onTrigger:()=>{(0,g.assertIsDefined)(this._codeEditor.getAction(t.FIND_IDS.NextMatchFindAction)).run().then(void 0,v.onUnexpectedError)}}));const ae=document.createElement("div");ae.className="find-part",ae.appendChild(this._findInput.domNode);const X=document.createElement("div");X.className="find-actions",ae.appendChild(X),X.appendChild(this._matchesCount),X.appendChild(this._prevBtn.domNode),X.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new y.Toggle({icon:p,title:T+this._keybindingLabelFor(t.FIND_IDS.ToggleSearchScopeCommand),isChecked:!1,inputActiveOptionBackground:(0,d.asCssVariable)(d.inputActiveOptionBackground),inputActiveOptionBorder:(0,d.asCssVariable)(d.inputActiveOptionBorder),inputActiveOptionForeground:(0,d.asCssVariable)(d.inputActiveOptionForeground)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const j=this._codeEditor.getSelections();j.map(re=>(re.endColumn===1&&re.endLineNumber>re.startLineNumber&&(re=re.setEndPosition(re.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(re.endLineNumber-1))),re.isEmpty()?null:re)).filter(re=>!!re),j.length&&this._state.change({searchScope:j},!0)}}else this._state.change({searchScope:null},!0)})),X.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new le({label:N+this._keybindingLabelFor(t.FIND_IDS.CloseFindWidgetCommand),icon:l.widgetClose,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:j=>{j.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),j.preventDefault())}})),this._replaceInput=this._register(new u.ContextScopedReplaceInput(null,void 0,{label:A,placeholder:P,appendPreserveCaseLabel:this._keybindingLabelFor(t.FIND_IDS.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>(0,f.showHistoryKeybindingHint)(this._keybindingService),inputBoxStyles:h.defaultInputBoxStyles,toggleStyles:h.defaultToggleStyles},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(j=>this._onReplaceInputKeyDown(j))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(j=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(j=>{j.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),j.preventDefault())})),this._replaceBtn=this._register(new le({label:O+this._keybindingLabelFor(t.FIND_IDS.ReplaceOneAction),icon:e.findReplaceIcon,onTrigger:()=>{this._controller.replace()},onKeyDown:j=>{j.equals(1026)&&(this._closeBtn.focus(),j.preventDefault())}})),this._replaceAllBtn=this._register(new le({label:x+this._keybindingLabelFor(t.FIND_IDS.ReplaceAllAction),icon:e.findReplaceAllIcon,onTrigger:()=>{this._controller.replaceAll()}}));const K=document.createElement("div");K.className="replace-part",K.appendChild(this._replaceInput.domNode);const z=document.createElement("div");z.className="replace-actions",K.appendChild(z),z.appendChild(this._replaceBtn.domNode),z.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new le({label:W,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=E,this._domNode.role="dialog",this._domNode.style.width=`${F}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(ae),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(K),this._resizeSash=new D.Sash(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let Q=F;this._register(this._resizeSash.onDidStart(()=>{Q=L.getTotalWidth(this._domNode)})),this._register(this._resizeSash.onDidChange(j=>{this._resized=!0;const re=Q+j.startX-j.currentX;if(reoe||(this._domNode.style.width=`${re}px`,this._isReplaceVisible&&(this._replaceInput.width=L.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const j=L.getTotalWidth(this._domNode);if(j{this._opts.onTrigger(),ae.preventDefault()}),this.onkeydown(this._domNode,ae=>{var X,K;if(ae.equals(10)||ae.equals(3)){this._opts.onTrigger(),ae.preventDefault();return}(K=(X=this._opts).onKeyDown)===null||K===void 0||K.call(X,ae)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(de){this._domNode.classList.toggle("disabled",!de),this._domNode.setAttribute("aria-disabled",String(!de)),this._domNode.tabIndex=de?0:-1}setExpanded(de){this._domNode.setAttribute("aria-expanded",String(!!de)),de?(this._domNode.classList.remove(...c.ThemeIcon.asClassNameArray(b)),this._domNode.classList.add(...c.ThemeIcon.asClassNameArray(w))):(this._domNode.classList.remove(...c.ThemeIcon.asClassNameArray(w)),this._domNode.classList.add(...c.ThemeIcon.asClassNameArray(b)))}}e.SimpleButton=le,(0,o.registerThemingParticipant)((ue,de)=>{const ce=(we,Le)=>{Le&&de.addRule(`.monaco-editor ${we} { background-color: ${Le}; }`)};ce(".findMatch",ue.getColor(d.editorFindMatchHighlight)),ce(".currentFindMatch",ue.getColor(d.editorFindMatch)),ce(".findScope",ue.getColor(d.editorFindRangeHighlight));const ae=ue.getColor(d.editorWidgetBackground);ce(".find-widget",ae);const X=ue.getColor(d.widgetShadow);X&&de.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${X}; }`);const K=ue.getColor(d.widgetBorder);K&&de.addRule(`.monaco-editor .find-widget { border-left: 1px solid ${K}; border-right: 1px solid ${K}; border-bottom: 1px solid ${K}; }`);const z=ue.getColor(d.editorFindMatchHighlightBorder);z&&de.addRule(`.monaco-editor .findMatch { border: 1px ${(0,a.isHighContrast)(ue.type)?"dotted":"solid"} ${z}; box-sizing: border-box; }`);const Q=ue.getColor(d.editorFindMatchBorder);Q&&de.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${Q}; padding: 1px; box-sizing: border-box; }`);const j=ue.getColor(d.editorFindRangeHighlightBorder);j&&de.addRule(`.monaco-editor .findScope { border: 1px ${(0,a.isHighContrast)(ue.type)?"dashed":"solid"} ${j}; }`);const re=ue.getColor(d.contrastBorder);re&&de.addRule(`.monaco-editor .find-widget { border: 1px solid ${re}; }`);const oe=ue.getColor(d.editorWidgetForeground);oe&&de.addRule(`.monaco-editor .find-widget { color: ${oe}; }`);const he=ue.getColor(d.errorForeground);he&&de.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${he}; }`);const me=ue.getColor(d.editorWidgetResizeBorder);if(me)de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${me}; }`);else{const we=ue.getColor(d.editorWidgetBorder);we&&de.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${we}; }`)}const pe=ue.getColor(d.toolbarHoverBackground);pe&&de.addRule(` + .monaco-editor .find-widget .button:not(.disabled):hover, + .monaco-editor .find-widget .codicon-find-selection:hover { + background-color: ${pe} !important; + } + `);const ve=ue.getColor(d.focusBorder);ve&&de.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${ve}; }`)})}),define(te[369],ie([1,0,14,2,10,16,78,22,49,193,882,883,884,656,30,102,15,58,34,48,67,89,23]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a){"use strict";var g;Object.defineProperty(e,"__esModule",{value:!0}),e.StartFindReplaceAction=e.PreviousSelectionMatchFindAction=e.NextSelectionMatchFindAction=e.SelectionMatchFindAction=e.MoveToMatchFindAction=e.PreviousMatchFindAction=e.NextMatchFindAction=e.MatchFindAction=e.StartFindWithSelectionAction=e.StartFindWithArgsAction=e.StartFindAction=e.FindController=e.CommonFindController=e.getSelectionSearchString=void 0;const h=524288;function p(W,U="single",F=!1){if(!W.hasModel())return null;const G=W.getSelection();if(U==="single"&&G.startLineNumber===G.endLineNumber||U==="multiple"){if(G.isEmpty()){const Y=W.getConfiguredWordAtPosition(G.getStartPosition());if(Y&&F===!1)return Y.word}else if(W.getModel().getValueLengthInRange(G)this._onStateChanged(se))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{const se=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),se&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(U){this.saveQueryState(U),U.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),U.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(U){U.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),U.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),U.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),U.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!v.CONTEXT_FIND_INPUT_FOCUSED.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const U=this._editor.getSelections();U.map(F=>(F.endColumn===1&&F.endLineNumber>F.startLineNumber&&(F=F.setEndPosition(F.endLineNumber-1,this._editor.getModel().getLineMaxColumn(F.endLineNumber-1))),F.isEmpty()?null:F)).filter(F=>!!F),U.length&&this._state.change({searchScope:U},!0)}}setSearchString(U){this._state.isRegex&&(U=y.escapeRegExpCharacters(U)),this._state.change({searchString:U},!1)}highlightFindOptions(U=!1){}_start(U,F){return be(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;const G=Object.assign(Object.assign({},F),{isRevealed:!0});if(U.seedSearchStringFromSelection==="single"){const Y=p(this._editor,U.seedSearchStringFromSelection,U.seedSearchStringFromNonEmptySelection);Y&&(this._state.isRegex?G.searchString=y.escapeRegExpCharacters(Y):G.searchString=Y)}else if(U.seedSearchStringFromSelection==="multiple"&&!U.updateSearchScope){const Y=p(this._editor,U.seedSearchStringFromSelection);Y&&(G.searchString=Y)}if(!G.searchString&&U.seedSearchStringFromGlobalClipboard){const Y=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;Y&&(G.searchString=Y)}if(U.forceRevealReplace||G.isReplaceRevealed?G.isReplaceRevealed=!0:this._findWidgetVisible.get()||(G.isReplaceRevealed=!1),U.updateSearchScope){const Y=this._editor.getSelections();Y.some(ne=>!ne.isEmpty())&&(G.searchScope=Y)}G.loop=U.loop,this._state.change(G,!1),this._model||(this._model=new v.FindModelBoundToEditorModel(this._editor,this._state))})}start(U,F){return this._start(U,F)}moveToNextMatch(){return this._model?(this._model.moveToNextMatch(),!0):!1}moveToPrevMatch(){return this._model?(this._model.moveToPrevMatch(),!0):!1}goToMatch(U){return this._model?(this._model.moveToMatch(U),!0):!1}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){var U;return this._model?!((U=this._editor.getModel())===null||U===void 0)&&U.isTooLargeForHeapOperation()?(this._notificationService.warn(n.localize(0,null)),!1):(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}getGlobalBufferTerm(){return be(this,void 0,void 0,function*(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(U){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(U)}};e.CommonFindController=b,b.ID="editor.contrib.findController",e.CommonFindController=b=g=Ie([ge(1,u.IContextKeyService),ge(2,c.IStorageService),ge(3,r.IClipboardService),ge(4,l.INotificationService)],b);let w=class extends b{constructor(U,F,G,Y,ne,se,J,q){super(U,G,J,q,se),this._contextViewService=F,this._keybindingService=Y,this._themeService=ne,this._widget=null,this._findOptionsWidget=null}_start(U,F){const G=Object.create(null,{_start:{get:()=>super._start}});return be(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const Y=this._editor.getSelection();let ne=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":ne=!0;break;case"never":ne=!1;break;case"multiline":{ne=!!Y&&Y.startLineNumber!==Y.endLineNumber;break}default:break}U.updateSearchScope=U.updateSearchScope||ne,yield G._start.call(this,U,F),this._widget&&(U.shouldFocus===2?this._widget.focusReplaceInput():U.shouldFocus===1&&this._widget.focusFindInput())})}highlightFindOptions(U=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!U?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new i.FindWidget(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new C.FindOptionsWidget(this._editor,this._state,this._keybindingService))}};e.FindController=w,e.FindController=w=Ie([ge(1,f.IContextViewService),ge(2,u.IContextKeyService),ge(3,d.IKeybindingService),ge(4,a.IThemeService),ge(5,l.INotificationService),ge(6,c.IStorageService),ge(7,r.IClipboardService)],w),e.StartFindAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:v.FIND_IDS.StartFindAction,label:n.localize(1,null),alias:"Find",precondition:u.ContextKeyExpr.or(m.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(2,null),order:1}})),e.StartFindAction.addImplementation(0,(W,U,F)=>{const G=b.get(U);return G?G.start({forceRevealReplace:!1,seedSearchStringFromSelection:U.getOption(41).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:U.getOption(41).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:U.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:U.getOption(41).loop}):!1});const E={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:n.localize(3,null)},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:n.localize(4,null)},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:n.localize(5,null)},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:n.localize(6,null)},findInSelection:{type:"boolean"}}}}]};class k extends D.EditorAction{constructor(){super({id:v.FIND_IDS.StartFindWithArgs,label:n.localize(7,null),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:E})}run(U,F,G){return be(this,void 0,void 0,function*(){const Y=b.get(F);if(Y){const ne=G?{searchString:G.searchString,replaceString:G.replaceString,isReplaceRevealed:G.replaceString!==void 0,isRegex:G.isRegex,wholeWord:G.matchWholeWord,matchCase:G.isCaseSensitive,preserveCase:G.preserveCase}:{};yield Y.start({forceRevealReplace:!1,seedSearchStringFromSelection:Y.getState().searchString.length===0&&F.getOption(41).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:F.getOption(41).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:G?.findInSelection||!1,loop:F.getOption(41).loop},ne),Y.setGlobalBufferTerm(Y.getState().searchString)}})}}e.StartFindWithArgsAction=k;class M extends D.EditorAction{constructor(){super({id:v.FIND_IDS.StartFindWithSelection,label:n.localize(8,null),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(U,F){return be(this,void 0,void 0,function*(){const G=b.get(F);G&&(yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:F.getOption(41).loop}),G.setGlobalBufferTerm(G.getState().searchString))})}}e.StartFindWithSelectionAction=M;class R extends D.EditorAction{run(U,F){return be(this,void 0,void 0,function*(){const G=b.get(F);G&&!this._run(G)&&(yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:G.getState().searchString.length===0&&F.getOption(41).seedSearchStringFromSelection!=="never"?"single":"none",seedSearchStringFromNonEmptySelection:F.getOption(41).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:F.getOption(41).loop}),this._run(G))})}}e.MatchFindAction=R;class B extends R{constructor(){super({id:v.FIND_IDS.NextMatchFindAction,label:n.localize(9,null),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:m.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:u.ContextKeyExpr.and(m.EditorContextKeys.focus,v.CONTEXT_FIND_INPUT_FOCUSED),primary:3,weight:100}]})}_run(U){return U.moveToNextMatch()?(U.editor.pushUndoStop(),!0):!1}}e.NextMatchFindAction=B;class T extends R{constructor(){super({id:v.FIND_IDS.PreviousMatchFindAction,label:n.localize(10,null),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:m.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:u.ContextKeyExpr.and(m.EditorContextKeys.focus,v.CONTEXT_FIND_INPUT_FOCUSED),primary:1027,weight:100}]})}_run(U){return U.moveToPrevMatch()}}e.PreviousMatchFindAction=T;class N extends D.EditorAction{constructor(){super({id:v.FIND_IDS.GoToMatchFindAction,label:n.localize(11,null),alias:"Go to Match...",precondition:v.CONTEXT_FIND_WIDGET_VISIBLE}),this._highlightDecorations=[]}run(U,F,G){const Y=b.get(F);if(!Y)return;const ne=Y.getState().matchesCount;if(ne<1){U.get(l.INotificationService).notify({severity:l.Severity.Warning,message:n.localize(12,null)});return}const J=U.get(o.IQuickInputService).createInputBox();J.placeholder=n.localize(13,null,ne);const q=V=>{const Z=parseInt(V);if(isNaN(Z))return;const ee=Y.getState().matchesCount;if(Z>0&&Z<=ee)return Z-1;if(Z<0&&Z>=-ee)return ee+Z},H=V=>{const Z=q(V);if(typeof Z=="number"){J.validationMessage=void 0,Y.goToMatch(Z);const ee=Y.getState().currentMatch;ee&&this.addDecorations(F,ee)}else J.validationMessage=n.localize(14,null,Y.getState().matchesCount),this.clearDecorations(F)};J.onDidChangeValue(V=>{H(V)}),J.onDidAccept(()=>{const V=q(J.value);typeof V=="number"?(Y.goToMatch(V),J.hide()):J.validationMessage=n.localize(15,null,Y.getState().matchesCount)}),J.onDidHide(()=>{this.clearDecorations(F),J.dispose()}),J.show()}clearDecorations(U){U.changeDecorations(F=>{this._highlightDecorations=F.deltaDecorations(this._highlightDecorations,[])})}addDecorations(U,F){U.changeDecorations(G=>{this._highlightDecorations=G.deltaDecorations(this._highlightDecorations,[{range:F,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:F,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,a.themeColorFromId)(S.overviewRulerRangeHighlight),position:_.OverviewRulerLane.Full}}}])})}}e.MoveToMatchFindAction=N;class A extends D.EditorAction{run(U,F){return be(this,void 0,void 0,function*(){const G=b.get(F);if(!G)return;const Y=p(F,"single",!1);Y&&G.setSearchString(Y),this._run(G)||(yield G.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:F.getOption(41).loop}),this._run(G))})}}e.SelectionMatchFindAction=A;class P extends A{constructor(){super({id:v.FIND_IDS.NextSelectionMatchFindAction,label:n.localize(16,null),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:m.EditorContextKeys.focus,primary:2109,weight:100}})}_run(U){return U.moveToNextMatch()}}e.NextSelectionMatchFindAction=P;class O extends A{constructor(){super({id:v.FIND_IDS.PreviousSelectionMatchFindAction,label:n.localize(17,null),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:m.EditorContextKeys.focus,primary:3133,weight:100}})}_run(U){return U.moveToPrevMatch()}}e.PreviousSelectionMatchFindAction=O,e.StartFindReplaceAction=(0,D.registerMultiEditorAction)(new D.MultiEditorAction({id:v.FIND_IDS.StartFindReplaceAction,label:n.localize(18,null),alias:"Replace",precondition:u.ContextKeyExpr.or(m.EditorContextKeys.focus,u.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:t.MenuId.MenubarEditMenu,group:"3_find",title:n.localize(19,null),order:2}})),e.StartFindReplaceAction.addImplementation(0,(W,U,F)=>{if(!U.hasModel()||U.getOption(90))return!1;const G=b.get(U);if(!G)return!1;const Y=U.getSelection(),ne=G.isFindInputFocused(),se=!Y.isEmpty()&&Y.startLineNumber===Y.endLineNumber&&U.getOption(41).seedSearchStringFromSelection!=="never"&&!ne,J=ne||se?2:1;return G.start({forceRevealReplace:!0,seedSearchStringFromSelection:se?"single":"none",seedSearchStringFromNonEmptySelection:U.getOption(41).seedSearchStringFromSelection==="selection",seedSearchStringFromGlobalClipboard:U.getOption(41).seedSearchStringFromSelection!=="never",shouldFocus:J,shouldAnimate:!0,updateSearchScope:!1,loop:U.getOption(41).loop})}),(0,D.registerEditorContribution)(b.ID,w,0),(0,D.registerEditorAction)(k),(0,D.registerEditorAction)(M),(0,D.registerEditorAction)(B),(0,D.registerEditorAction)(T),(0,D.registerEditorAction)(N),(0,D.registerEditorAction)(P),(0,D.registerEditorAction)(O);const x=D.EditorCommand.bindToContribution(b.get);(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.CloseFindWidgetCommand,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.closeFindWidget(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(m.EditorContextKeys.focus,u.ContextKeyExpr.not("isComposing")),primary:9,secondary:[1033]}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ToggleCaseSensitiveCommand,precondition:void 0,handler:W=>W.toggleCaseSensitive(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:v.ToggleCaseSensitiveKeybinding.primary,mac:v.ToggleCaseSensitiveKeybinding.mac,win:v.ToggleCaseSensitiveKeybinding.win,linux:v.ToggleCaseSensitiveKeybinding.linux}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ToggleWholeWordCommand,precondition:void 0,handler:W=>W.toggleWholeWords(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:v.ToggleWholeWordKeybinding.primary,mac:v.ToggleWholeWordKeybinding.mac,win:v.ToggleWholeWordKeybinding.win,linux:v.ToggleWholeWordKeybinding.linux}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ToggleRegexCommand,precondition:void 0,handler:W=>W.toggleRegex(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:v.ToggleRegexKeybinding.primary,mac:v.ToggleRegexKeybinding.mac,win:v.ToggleRegexKeybinding.win,linux:v.ToggleRegexKeybinding.linux}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ToggleSearchScopeCommand,precondition:void 0,handler:W=>W.toggleSearchScope(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:v.ToggleSearchScopeKeybinding.primary,mac:v.ToggleSearchScopeKeybinding.mac,win:v.ToggleSearchScopeKeybinding.win,linux:v.ToggleSearchScopeKeybinding.linux}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.TogglePreserveCaseCommand,precondition:void 0,handler:W=>W.togglePreserveCase(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:v.TogglePreserveCaseKeybinding.primary,mac:v.TogglePreserveCaseKeybinding.mac,win:v.TogglePreserveCaseKeybinding.win,linux:v.TogglePreserveCaseKeybinding.linux}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ReplaceOneAction,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.replace(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:3094}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ReplaceOneAction,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.replace(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(m.EditorContextKeys.focus,v.CONTEXT_REPLACE_INPUT_FOCUSED),primary:3}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ReplaceAllAction,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.replaceAll(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:2563}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.ReplaceAllAction,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.replaceAll(),kbOpts:{weight:100+5,kbExpr:u.ContextKeyExpr.and(m.EditorContextKeys.focus,v.CONTEXT_REPLACE_INPUT_FOCUSED),primary:void 0,mac:{primary:2051}}})),(0,D.registerEditorCommand)(new x({id:v.FIND_IDS.SelectAllMatchesAction,precondition:v.CONTEXT_FIND_WIDGET_VISIBLE,handler:W=>W.selectAllMatches(),kbOpts:{weight:100+5,kbExpr:m.EditorContextKeys.focus,primary:515}}))}),define(te[370],ie([1,0,26,49,37,659,31,77,23,27]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FoldingDecorationProvider=e.foldingManualExpandedIcon=e.foldingManualCollapsedIcon=e.foldingCollapsedIcon=e.foldingExpandedIcon=void 0;const C=(0,S.registerColor)("editor.foldBackground",{light:(0,S.transparent)(S.editorSelectionBackground,.3),dark:(0,S.transparent)(S.editorSelectionBackground,.3),hcDark:null,hcLight:null},(0,D.localize)(0,null),!0);(0,S.registerColor)("editorGutter.foldingControlForeground",{dark:S.iconForeground,light:S.iconForeground,hcDark:S.iconForeground,hcLight:S.iconForeground},(0,D.localize)(1,null)),e.foldingExpandedIcon=(0,m.registerIcon)("folding-expanded",L.Codicon.chevronDown,(0,D.localize)(2,null)),e.foldingCollapsedIcon=(0,m.registerIcon)("folding-collapsed",L.Codicon.chevronRight,(0,D.localize)(3,null)),e.foldingManualCollapsedIcon=(0,m.registerIcon)("folding-manual-collapsed",e.foldingCollapsedIcon,(0,D.localize)(4,null)),e.foldingManualExpandedIcon=(0,m.registerIcon)("folding-manual-expanded",e.foldingExpandedIcon,(0,D.localize)(5,null));const s={color:(0,_.themeColorFromId)(C),position:I.MinimapPosition.Inline};class i{constructor(t){this.editor=t,this.showFoldingControls="mouseover",this.showFoldingHighlights=!0}getDecorationOption(t,r,u){return r?i.HIDDEN_RANGE_DECORATION:this.showFoldingControls==="never"?t?this.showFoldingHighlights?i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION:i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION:i.NO_CONTROLS_EXPANDED_RANGE_DECORATION:t?u?this.showFoldingHighlights?i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:i.COLLAPSED_VISUAL_DECORATION:this.showFoldingControls==="mouseover"?u?i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION:i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:u?i.MANUALLY_EXPANDED_VISUAL_DECORATION:i.EXPANDED_VISUAL_DECORATION}changeDecorations(t){return this.editor.changeDecorations(t)}removeDecorations(t){this.editor.removeDecorations(t)}}e.FoldingDecorationProvider=i,i.COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingCollapsedIcon)}),i.MANUALLY_COLLAPSED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-collapsed-highlighted-visual-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingManualCollapsedIcon)}),i.NO_CONTROLS_COLLAPSED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",isWholeLine:!0}),i.NO_CONTROLS_COLLAPSED_HIGHLIGHTED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,afterContentClassName:"inline-folded",className:"folded-background",minimap:s,isWholeLine:!0}),i.EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+v.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingExpandedIcon)}),i.MANUALLY_EXPANDED_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+v.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.MANUALLY_EXPANDED_AUTO_HIDE_VISUAL_DECORATION=y.ModelDecorationOptions.register({description:"folding-manually-expanded-auto-hide-visual-decoration",stickiness:0,isWholeLine:!0,firstLineDecorationClassName:v.ThemeIcon.asClassName(e.foldingManualExpandedIcon)}),i.NO_CONTROLS_EXPANDED_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-no-controls-range-decoration",stickiness:0,isWholeLine:!0}),i.HIDDEN_RANGE_DECORATION=y.ModelDecorationOptions.register({description:"folding-hidden-range-decoration",stickiness:1})}),define(te[253],ie([1,0,14,19,9,62,2,10,20,120,16,22,29,32,295,546,296,658,15,370,180,297,48,74,59,18,6,25,21,50,28,448]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M){"use strict";var R;Object.defineProperty(e,"__esModule",{value:!0}),e.RangesLimitReporter=e.FoldingController=void 0;const B=new d.RawContextKey("foldingEnabled",!1);let T=R=class extends S.Disposable{static get(ae){return ae.getContribution(R.ID)}static getFoldingRangeProviders(ae,X){var K,z;const Q=ae.foldingRangeProvider.ordered(X);return(z=(K=R._foldingRangeSelector)===null||K===void 0?void 0:K.call(R,Q,X))!==null&&z!==void 0?z:Q}constructor(ae,X,K,z,Q,j){super(),this.contextKeyService=X,this.languageConfigurationService=K,this.languageFeaturesService=j,this.localToDispose=this._register(new S.DisposableStore),this.editor=ae,this._foldingLimitReporter=new N(ae);const re=this.editor.getOptions();this._isEnabled=re.get(43),this._useFoldingProviders=re.get(44)!=="indentation",this._unfoldOnClickAfterEndOfLine=re.get(48),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=re.get(46),this.updateDebounceInfo=Q.for(j.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new l.FoldingDecorationProvider(ae),this.foldingDecorationProvider.showFoldingControls=re.get(109),this.foldingDecorationProvider.showFoldingHighlights=re.get(45),this.foldingEnabled=B.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(oe=>{if(oe.hasChanged(43)&&(this._isEnabled=this.editor.getOptions().get(43),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),oe.hasChanged(47)&&this.onModelChanged(),oe.hasChanged(109)||oe.hasChanged(45)){const he=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=he.get(109),this.foldingDecorationProvider.showFoldingHighlights=he.get(45),this.triggerFoldingModelChanged()}oe.hasChanged(44)&&(this._useFoldingProviders=this.editor.getOptions().get(44)!=="indentation",this.onFoldingStrategyChanged()),oe.hasChanged(48)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(48)),oe.hasChanged(46)&&(this._foldingImportsByDefault=this.editor.getOptions().get(46))})),this.onModelChanged()}saveViewState(){const ae=this.editor.getModel();if(!ae||!this._isEnabled||ae.isTooLargeForTokenization())return{};if(this.foldingModel){const X=this.foldingModel.getMemento(),K=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:X,lineCount:ae.getLineCount(),provider:K,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(ae){const X=this.editor.getModel();if(!(!X||!this._isEnabled||X.isTooLargeForTokenization()||!this.hiddenRangeModel)&&ae&&(this._currentModelHasFoldedImports=!!ae.foldedImports,ae.collapsedRegions&&ae.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(ae.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const ae=this.editor.getModel();!this._isEnabled||!ae||ae.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new t.FoldingModel(ae,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new r.HiddenRangeModel(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(X=>this.onHiddenRangesChanges(X))),this.updateScheduler=new L.Delayer(this.updateDebounceInfo.get(ae)),this.cursorChangedScheduler=new L.RunOnceScheduler(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(X=>this.onDidChangeModelContent(X))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(X=>this.onEditorMouseDown(X))),this.localToDispose.add(this.editor.onMouseUp(X=>this.onEditorMouseUp(X))),this.localToDispose.add({dispose:()=>{var X,K;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),(X=this.updateScheduler)===null||X===void 0||X.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,(K=this.rangeProvider)===null||K===void 0||K.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var ae;(ae=this.rangeProvider)===null||ae===void 0||ae.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(ae){if(this.rangeProvider)return this.rangeProvider;const X=new u.IndentRangeProvider(ae,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=X,this._useFoldingProviders&&this.foldingModel){const K=R.getFoldingRangeProviders(this.languageFeaturesService,ae);K.length>0&&(this.rangeProvider=new c.SyntaxRangeProvider(ae,K,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,X))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(ae){var X;(X=this.hiddenRangeModel)===null||X===void 0||X.notifyChangeModelContent(ae),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const ae=this.foldingModel;if(!ae)return null;const X=new h.StopWatch,K=this.getRangeProvider(ae.textModel),z=this.foldingRegionPromise=(0,L.createCancelablePromise)(Q=>K.compute(Q));return z.then(Q=>{if(Q&&z===this.foldingRegionPromise){let j;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const me=Q.setCollapsedAllOfType(i.FoldingRangeKind.Imports.value,!0);me&&(j=v.StableEditorScrollState.capture(this.editor),this._currentModelHasFoldedImports=me)}const re=this.editor.getSelections(),oe=re?re.map(me=>me.startLineNumber):[];ae.update(Q,oe),j?.restore(this.editor);const he=this.updateDebounceInfo.update(ae.textModel,X.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=he)}return ae})}).then(void 0,ae=>((0,y.onUnexpectedError)(ae),null)))}onHiddenRangesChanges(ae){if(this.hiddenRangeModel&&ae.length&&!this._restoringViewState){const X=this.editor.getSelections();X&&this.hiddenRangeModel.adjustSelections(X)&&this.editor.setSelections(X)}this.editor.setHiddenAreas(ae,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const ae=this.getFoldingModel();ae&&ae.then(X=>{if(X){const K=this.editor.getSelections();if(K&&K.length>0){const z=[];for(const Q of K){const j=Q.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(j)&&z.push(...X.getAllRegionsAtLine(j,re=>re.isCollapsed&&j>re.startLineNumber))}z.length&&(X.toggleCollapseState(z),this.reveal(K[0].getPosition()))}}}).then(void 0,y.onUnexpectedError)}onEditorMouseDown(ae){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!ae.target||!ae.target.range||!ae.event.leftButton&&!ae.event.middleButton)return;const X=ae.target.range;let K=!1;switch(ae.target.type){case 4:{const z=ae.target.detail,Q=ae.target.element.offsetLeft;if(z.offsetX-Q<4)return;K=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!ae.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){const z=this.editor.getModel();if(z&&X.startColumn===z.getLineMaxColumn(X.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:X.startLineNumber,iconClicked:K}}onEditorMouseUp(ae){const X=this.foldingModel;if(!X||!this.mouseDownInfo||!ae.target)return;const K=this.mouseDownInfo.lineNumber,z=this.mouseDownInfo.iconClicked,Q=ae.target.range;if(!Q||Q.startLineNumber!==K)return;if(z){if(ae.target.type!==4)return}else{const re=this.editor.getModel();if(!re||Q.startColumn!==re.getLineMaxColumn(K))return}const j=X.getRegionAtLine(K);if(j&&j.startLineNumber===K){const re=j.isCollapsed;if(z||re){const oe=ae.event.altKey;let he=[];if(oe){const me=ve=>!ve.containedBy(j)&&!j.containedBy(ve),pe=X.getRegionsInside(null,me);for(const ve of pe)ve.isCollapsed&&he.push(ve);he.length===0&&(he=pe)}else{const me=ae.event.middleButton||ae.event.shiftKey;if(me)for(const pe of X.getRegionsInside(j))pe.isCollapsed===re&&he.push(pe);(re||!me||he.length===0)&&he.push(j)}X.toggleCollapseState(he),this.reveal({lineNumber:K,column:1})}}}reveal(ae){this.editor.revealPositionInCenterIfOutsideViewport(ae,0)}};e.FoldingController=T,T.ID="editor.contrib.folding",e.FoldingController=T=R=Ie([ge(1,d.IContextKeyService),ge(2,n.ILanguageConfigurationService),ge(3,a.INotificationService),ge(4,g.ILanguageFeatureDebounceService),ge(5,p.ILanguageFeaturesService)],T);class N{constructor(ae){this.editor=ae,this._onDidChange=new b.Emitter,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(47)}update(ae,X){(ae!==this._computed||X!==this._limited)&&(this._computed=ae,this._limited=X,this._onDidChange.fire())}}e.RangesLimitReporter=N;class A extends C.EditorAction{runEditorCommand(ae,X,K){const z=ae.get(n.ILanguageConfigurationService),Q=T.get(X);if(!Q)return;const j=Q.getFoldingModel();if(j)return this.reportTelemetry(ae,X),j.then(re=>{if(re){this.invoke(Q,re,X,K,z);const oe=X.getSelection();oe&&Q.reveal(oe.getStartPosition())}})}getSelectedLines(ae){const X=ae.getSelections();return X?X.map(K=>K.startLineNumber):[]}getLineNumbers(ae,X){return ae&&ae.selectionLines?ae.selectionLines.map(K=>K+1):this.getSelectedLines(X)}run(ae,X){}}function P(ce){if(!_.isUndefined(ce)){if(!_.isObject(ce))return!1;const ae=ce;if(!_.isUndefined(ae.levels)&&!_.isNumber(ae.levels)||!_.isUndefined(ae.direction)&&!_.isString(ae.direction)||!_.isUndefined(ae.selectionLines)&&(!Array.isArray(ae.selectionLines)||!ae.selectionLines.every(_.isNumber)))return!1}return!0}class O extends A{constructor(){super({id:"editor.unfold",label:f.localize(0,null),alias:"Unfold",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: + * 'levels': Number of levels to unfold. If not set, defaults to 1. + * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. + * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. + `,constraint:P,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ae,X,K,z){const Q=z&&z.levels||1,j=this.getLineNumbers(z,K);z&&z.direction==="up"?(0,t.setCollapseStateLevelsUp)(X,!1,Q,j):(0,t.setCollapseStateLevelsDown)(X,!1,Q,j)}}class x extends A{constructor(){super({id:"editor.unfoldRecursively",label:f.localize(1,null),alias:"Unfold Recursively",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2142),weight:100}})}invoke(ae,X,K,z){(0,t.setCollapseStateLevelsDown)(X,!1,Number.MAX_VALUE,this.getSelectedLines(K))}}class W extends A{constructor(){super({id:"editor.fold",label:f.localize(2,null),alias:"Fold",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: + * 'levels': Number of levels to fold. + * 'direction': If 'up', folds given number of levels up otherwise folds down. + * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. + If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. + `,constraint:P,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(ae,X,K,z){const Q=this.getLineNumbers(z,K),j=z&&z.levels,re=z&&z.direction;typeof j!="number"&&typeof re!="string"?(0,t.setCollapseStateUp)(X,!0,Q):re==="up"?(0,t.setCollapseStateLevelsUp)(X,!0,j||1,Q):(0,t.setCollapseStateLevelsDown)(X,!0,j||1,Q)}}class U extends A{constructor(){super({id:"editor.toggleFold",label:f.localize(3,null),alias:"Toggle Fold",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2090),weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);(0,t.toggleCollapseState)(X,1,z)}}class F extends A{constructor(){super({id:"editor.foldRecursively",label:f.localize(4,null),alias:"Fold Recursively",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2140),weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);(0,t.setCollapseStateLevelsDown)(X,!0,Number.MAX_VALUE,z)}}class G extends A{constructor(){super({id:"editor.foldAllBlockComments",label:f.localize(5,null),alias:"Fold All Block Comments",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2138),weight:100}})}invoke(ae,X,K,z,Q){if(X.regions.hasTypes())(0,t.setCollapseStateForType)(X,i.FoldingRangeKind.Comment.value,!0);else{const j=K.getModel();if(!j)return;const re=Q.getLanguageConfiguration(j.getLanguageId()).comments;if(re&&re.blockCommentStartToken){const oe=new RegExp("^\\s*"+(0,m.escapeRegExpCharacters)(re.blockCommentStartToken));(0,t.setCollapseStateForMatchingLines)(X,oe,!0)}}}}class Y extends A{constructor(){super({id:"editor.foldAllMarkerRegions",label:f.localize(6,null),alias:"Fold All Regions",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2077),weight:100}})}invoke(ae,X,K,z,Q){if(X.regions.hasTypes())(0,t.setCollapseStateForType)(X,i.FoldingRangeKind.Region.value,!0);else{const j=K.getModel();if(!j)return;const re=Q.getLanguageConfiguration(j.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(X,oe,!0)}}}}class ne extends A{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:f.localize(7,null),alias:"Unfold All Regions",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2078),weight:100}})}invoke(ae,X,K,z,Q){if(X.regions.hasTypes())(0,t.setCollapseStateForType)(X,i.FoldingRangeKind.Region.value,!1);else{const j=K.getModel();if(!j)return;const re=Q.getLanguageConfiguration(j.getLanguageId()).foldingRules;if(re&&re.markers&&re.markers.start){const oe=new RegExp(re.markers.start);(0,t.setCollapseStateForMatchingLines)(X,oe,!1)}}}}class se extends A{constructor(){super({id:"editor.foldAllExcept",label:f.localize(8,null),alias:"Fold All Except Selected",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2136),weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);(0,t.setCollapseStateForRest)(X,!0,z)}}class J extends A{constructor(){super({id:"editor.unfoldAllExcept",label:f.localize(9,null),alias:"Unfold All Except Selected",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2134),weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);(0,t.setCollapseStateForRest)(X,!1,z)}}class q extends A{constructor(){super({id:"editor.foldAll",label:f.localize(10,null),alias:"Fold All",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2069),weight:100}})}invoke(ae,X,K){(0,t.setCollapseStateLevelsDown)(X,!0)}}class H extends A{constructor(){super({id:"editor.unfoldAll",label:f.localize(11,null),alias:"Unfold All",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2088),weight:100}})}invoke(ae,X,K){(0,t.setCollapseStateLevelsDown)(X,!1)}}class V extends A{getFoldingLevel(){return parseInt(this.id.substr(V.ID_PREFIX.length))}invoke(ae,X,K){(0,t.setCollapseStateAtLevel)(X,this.getFoldingLevel(),!0,this.getSelectedLines(K))}}V.ID_PREFIX="editor.foldLevel",V.ID=ce=>V.ID_PREFIX+ce;class Z extends A{constructor(){super({id:"editor.gotoParentFold",label:f.localize(12,null),alias:"Go to Parent Fold",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);if(z.length>0){const Q=(0,t.getParentFoldLine)(z[0],X);Q!==null&&K.setSelection({startLineNumber:Q,startColumn:1,endLineNumber:Q,endColumn:1})}}}class ee extends A{constructor(){super({id:"editor.gotoPreviousFold",label:f.localize(13,null),alias:"Go to Previous Folding Range",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);if(z.length>0){const Q=(0,t.getPreviousFoldLine)(z[0],X);Q!==null&&K.setSelection({startLineNumber:Q,startColumn:1,endLineNumber:Q,endColumn:1})}}}class le extends A{constructor(){super({id:"editor.gotoNextFold",label:f.localize(14,null),alias:"Go to Next Folding Range",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,weight:100}})}invoke(ae,X,K){const z=this.getSelectedLines(K);if(z.length>0){const Q=(0,t.getNextFoldLine)(z[0],X);Q!==null&&K.setSelection({startLineNumber:Q,startColumn:1,endLineNumber:Q,endColumn:1})}}}class ue extends A{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:f.localize(15,null),alias:"Create Folding Range from Selection",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2135),weight:100}})}invoke(ae,X,K){var z;const Q=[],j=K.getSelections();if(j){for(const re of j){let oe=re.endLineNumber;re.endColumn===1&&--oe,oe>re.startLineNumber&&(Q.push({startLineNumber:re.startLineNumber,endLineNumber:oe,type:void 0,isCollapsed:!0,source:1}),K.setSelection({startLineNumber:re.startLineNumber,startColumn:1,endLineNumber:re.startLineNumber,endColumn:1}))}if(Q.length>0){Q.sort((oe,he)=>oe.startLineNumber-he.startLineNumber);const re=o.FoldingRegions.sanitizeAndMerge(X.regions,Q,(z=K.getModel())===null||z===void 0?void 0:z.getLineCount());X.updatePost(o.FoldingRegions.fromFoldRanges(re))}}}}class de extends A{constructor(){super({id:"editor.removeManualFoldingRanges",label:f.localize(16,null),alias:"Remove Manual Folding Ranges",precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2137),weight:100}})}invoke(ae,X,K){const z=K.getSelections();if(z){const Q=[];for(const j of z){const{startLineNumber:re,endLineNumber:oe}=j;Q.push(oe>=re?{startLineNumber:re,endLineNumber:oe}:{endLineNumber:oe,startLineNumber:re})}X.removeManualRanges(Q),ae.triggerFoldingModelChanged()}}}(0,C.registerEditorContribution)(T.ID,T,0),(0,C.registerEditorAction)(O),(0,C.registerEditorAction)(x),(0,C.registerEditorAction)(W),(0,C.registerEditorAction)(F),(0,C.registerEditorAction)(q),(0,C.registerEditorAction)(H),(0,C.registerEditorAction)(G),(0,C.registerEditorAction)(Y),(0,C.registerEditorAction)(ne),(0,C.registerEditorAction)(se),(0,C.registerEditorAction)(J),(0,C.registerEditorAction)(U),(0,C.registerEditorAction)(Z),(0,C.registerEditorAction)(ee),(0,C.registerEditorAction)(le),(0,C.registerEditorAction)(ue),(0,C.registerEditorAction)(de);for(let ce=1;ce<=7;ce++)(0,C.registerInstantiatedEditorAction)(new V({id:V.ID(ce),label:f.localize(17,null,ce),alias:`Fold Level ${ce}`,precondition:B,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:(0,D.KeyChord)(2089,2048|21+ce),weight:100}}));w.CommandsRegistry.registerCommand("_executeFoldingRangeProvider",function(ce,...ae){return be(this,void 0,void 0,function*(){const[X]=ae;if(!(X instanceof E.URI))throw(0,y.illegalArgument)();const K=ce.get(p.ILanguageFeaturesService),z=ce.get(k.IModelService).getModel(X);if(!z)throw(0,y.illegalArgument)();const Q=ce.get(M.IConfigurationService);if(!Q.getValue("editor.folding",{resource:X}))return[];const j=ce.get(n.ILanguageConfigurationService),re=Q.getValue("editor.foldingStrategy",{resource:X}),oe={get limit(){return Q.getValue("editor.foldingMaximumRegions",{resource:X})},update:(we,Le)=>{}},he=new u.IndentRangeProvider(z,j,oe);let me=he;if(re!=="indentation"){const we=T.getFoldingRangeProviders(K,z);we.length&&(me=new c.SyntaxRangeProvider(z,we,()=>{},oe,he))}const pe=yield me.compute(I.CancellationToken.None),ve=[];try{if(pe)for(let we=0;wex.hoverOrdinal-W.hoverOrdinal),this._computer=new B(this._editor,this._participants),this._hoverOperation=this._register(new C.HoverOperation(this._editor,this._computer)),this._register(this._hoverOperation.onResult(x=>{if(!this._computer.anchor)return;const W=x.hasLoadingMessage?this._addLoadingMessage(x.value):x.value;this._withResult(new h(this._computer.anchor,W,x.isComplete))})),this._register(L.addStandardDisposableListener(this._widget.getDomNode(),"keydown",x=>{x.equals(9)&&this.hide()})),this._register(v.TokenizationRegistry.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}get widget(){return this._widget}maybeShowAt(A){if(this._widget.isResizing)return!0;const P=[];for(const x of this._participants)if(x.suggestHoverAnchor){const W=x.suggestHoverAnchor(A);W&&P.push(W)}const O=A.target;if(O.type===6&&P.push(new s.HoverRangeAnchor(0,O.range,A.event.posx,A.event.posy)),O.type===7){const x=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!O.detail.isAfterLines&&typeof O.detail.horizontalDistanceToText=="number"&&O.detail.horizontalDistanceToTextW.priority-x.priority),this._startShowingOrUpdateHover(P[0],0,0,!1,A))}startShowingAtRange(A,P,O,x){this._startShowingOrUpdateHover(new s.HoverRangeAnchor(0,A,void 0,void 0),P,O,x,null)}_startShowingOrUpdateHover(A,P,O,x,W){return!this._widget.position||!this._currentResult?A?(this._startHoverOperationIfNecessary(A,P,O,x,!1),!0):!1:this._editor.getOption(60).sticky&&W&&this._widget.isMouseGettingCloser(W.event.posx,W.event.posy)?(A&&this._startHoverOperationIfNecessary(A,P,O,x,!0),!0):A?A&&this._currentResult.anchor.equals(A)?!0:A.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(A)),this._startHoverOperationIfNecessary(A,P,O,x,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(A,P,O,x,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(A,P,O,x,W){this._computer.anchor&&this._computer.anchor.equals(A)||(this._hoverOperation.cancel(),this._computer.anchor=A,this._computer.shouldFocus=x,this._computer.source=O,this._computer.insistOnKeepingHoverVisible=W,this._hoverOperation.start(P))}_setCurrentResult(A){this._currentResult!==A&&(A&&A.messages.length===0&&(A=null),this._currentResult=A,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}containsNode(A){return A?this._widget.getDomNode().contains(A):!1}_addLoadingMessage(A){if(this._computer.anchor){for(const P of this._participants)if(P.createLoadingMessage){const O=P.createLoadingMessage(this._computer.anchor);if(O)return A.slice(0).concat([O])}}return A}_withResult(A){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!A.isComplete||this._computer.insistOnKeepingHoverVisible&&A.messages.length===0)||this._setCurrentResult(A)}_renderMessages(A,P){const{showAtPosition:O,showAtSecondaryPosition:x,highlightRange:W}=o.computeHoverRanges(this._editor,A.range,P),U=new D.DisposableStore,F=U.add(new R(this._keybindingService)),G=document.createDocumentFragment();let Y=null;const ne={fragment:G,statusBar:F,setColorPicker:J=>Y=J,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:J=>this._widget.setMinimumDimensions(J),hide:()=>this.hide()};for(const J of this._participants){const q=P.filter(H=>H.owner===J);q.length>0&&U.add(J.renderHoverParts(ne,q))}const se=P.some(J=>J.isBeforeContent);if(F.hasContent&&G.appendChild(F.hoverElement),G.hasChildNodes()){if(W){const J=this._editor.createDecorationsCollection();J.set([{range:W,options:o._DECORATION_OPTIONS}]),U.add((0,D.toDisposable)(()=>{J.clear()}))}this._widget.showAt(G,new b(Y,O,x,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,se,A.initialMousePosX,A.initialMousePosY,U))}else U.dispose()}static computeHoverRanges(A,P,O){let x=1;if(A.hasModel()){const Y=A._getViewModel(),ne=Y.coordinatesConverter,se=ne.convertModelRangeToViewRange(P),J=new S.Position(se.startLineNumber,Y.getLineMinColumn(se.startLineNumber));x=ne.convertViewPositionToModelPosition(J).column}const W=P.startLineNumber;let U=P.startColumn,F=O[0].range,G=null;for(const Y of O)F=m.Range.plusRange(F,Y.range),Y.range.startLineNumber===W&&Y.range.endLineNumber===W&&(U=Math.max(Math.min(U,Y.range.startColumn),x)),Y.forceShowAtRange&&(G=Y.range);return{showAtPosition:G?G.getStartPosition():new S.Position(W,P.startColumn),showAtSecondaryPosition:G?G.getStartPosition():new S.Position(W,U),highlightRange:F}}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}};e.ContentHoverController=g,g._DECORATION_OPTIONS=_.ModelDecorationOptions.register({description:"content-hover-highlight",className:"hoverHighlight"}),e.ContentHoverController=g=o=Ie([ge(1,i.IInstantiationService),ge(2,n.IKeybindingService)],g);class h{constructor(A,P,O){this.anchor=A,this.messages=P,this.isComplete=O}filter(A){const P=this.messages.filter(O=>O.isValidForHoverAnchor(A));return P.length===this.messages.length?this:new p(this,this.anchor,P,this.isComplete)}}class p extends h{constructor(A,P,O,x){super(P,O,x),this.original=A}filter(A){return this.original.filter(A)}}class b{constructor(A,P,O,x,W,U,F,G,Y,ne){this.colorPicker=A,this.showAtPosition=P,this.showAtSecondaryPosition=O,this.preferAbove=x,this.stoleFocus=W,this.source=U,this.isBeforeContent=F,this.initialMousePosX=G,this.initialMousePosY=Y,this.disposables=ne,this.closestMouseDistance=void 0}}const w=30,E=10,k=6;let M=c=class extends f.ResizableContentWidget{get isColorPickerVisible(){var A;return!!(!((A=this._visibleData)===null||A===void 0)&&A.colorPicker)}get isVisibleFromKeyboard(){var A;return((A=this._visibleData)===null||A===void 0?void 0:A.source)===1}get isVisible(){var A;return(A=this._hoverVisibleKey.get())!==null&&A!==void 0?A:!1}get isFocused(){var A;return(A=this._hoverFocusedKey.get())!==null&&A!==void 0?A:!1}constructor(A,P,O,x,W){const U=A.getOption(66)+8,F=150,G=new L.Dimension(F,U);super(A,G),this._configurationService=O,this._accessibilityService=x,this._keybindingService=W,this._hover=this._register(new I.HoverWidget),this._minimumSize=G,this._hoverVisibleKey=r.EditorContextKeys.hoverVisible.bindTo(P),this._hoverFocusedKey=r.EditorContextKeys.hoverFocused.bindTo(P),L.append(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(ne=>{ne.hasChanged(50)&&this._updateFont()}));const Y=this._register(L.trackFocus(this._resizableNode.domNode));this._register(Y.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(Y.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._layout(),this._editor.addContentWidget(this)}dispose(){var A;super.dispose(),(A=this._visibleData)===null||A===void 0||A.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return c.ID}static _applyDimensions(A,P,O){const x=typeof P=="number"?`${P}px`:P,W=typeof O=="number"?`${O}px`:O;A.style.width=x,A.style.height=W}_setContentsDomNodeDimensions(A,P){const O=this._hover.contentsDomNode;return c._applyDimensions(O,A,P)}_setContainerDomNodeDimensions(A,P){const O=this._hover.containerDomNode;return c._applyDimensions(O,A,P)}_setHoverWidgetDimensions(A,P){this._setContentsDomNodeDimensions(A,P),this._setContainerDomNodeDimensions(A,P),this._layoutContentWidget()}static _applyMaxDimensions(A,P,O){const x=typeof P=="number"?`${P}px`:P,W=typeof O=="number"?`${O}px`:O;A.style.maxWidth=x,A.style.maxHeight=W}_setHoverWidgetMaxDimensions(A,P){c._applyMaxDimensions(this._hover.contentsDomNode,A,P),c._applyMaxDimensions(this._hover.containerDomNode,A,P),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof A=="number"?`${A}px`:A),this._layoutContentWidget()}_hasHorizontalScrollbar(){const A=this._hover.scrollbar.getScrollDimensions();return A.scrollWidth>A.width}_adjustContentsBottomPadding(){const A=this._hover.contentsDomNode,P=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;A.style.paddingBottom!==P&&(A.style.paddingBottom=P)}_setAdjustedHoverWidgetDimensions(A){this._setHoverWidgetMaxDimensions("none","none");const P=A.width,O=A.height;this._setHoverWidgetDimensions(P,O),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(P,O-E))}_updateResizableNodeMaxDimensions(){var A,P;const O=(A=this._findMaximumRenderingWidth())!==null&&A!==void 0?A:1/0,x=(P=this._findMaximumRenderingHeight())!==null&&P!==void 0?P:1/0;this._resizableNode.maxSize=new L.Dimension(O,x),this._setHoverWidgetMaxDimensions(O,x)}_resize(A){var P,O;c._lastDimensions=new L.Dimension(A.width,A.height),this._setAdjustedHoverWidgetDimensions(A),this._resizableNode.layout(A.height,A.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(O=(P=this._visibleData)===null||P===void 0?void 0:P.colorPicker)===null||O===void 0||O.layout()}_findAvailableSpaceVertically(){var A;const P=(A=this._visibleData)===null||A===void 0?void 0:A.showAtPosition;if(P)return this._positionPreference===1?this._availableVerticalSpaceAbove(P):this._availableVerticalSpaceBelow(P)}_findMaximumRenderingHeight(){const A=this._findAvailableSpaceVertically();if(!A)return;let P=k;return Array.from(this._hover.contentsDomNode.children).forEach(O=>{P+=O.clientHeight}),this._hasHorizontalScrollbar()&&(P+=E),Math.min(A,P)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const A=Array.from(this._hover.contentsDomNode.children).some(P=>P.scrollWidth>P.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),A}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const A=this._isHoverTextOverflowing(),P=typeof this._contentWidth>"u"?0:this._contentWidth-2;return A||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=A,this._visibleData.initialMousePosY=P,!1;const O=L.getDomNodePagePosition(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=T(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,O.left,O.top,O.width,O.height));const x=T(A,P,O.left,O.top,O.width,O.height);return x>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,x),!0)}_setHoverData(A){var P;(P=this._visibleData)===null||P===void 0||P.disposables.dispose(),this._visibleData=A,this._hoverVisibleKey.set(!!A),this._hover.containerDomNode.classList.toggle("hidden",!A)}_layout(){const{fontSize:A,lineHeight:P}=this._editor.getOption(50),O=this._hover.contentsDomNode;O.style.fontSize=`${A}px`,O.style.lineHeight=`${P/A}`,this._updateMaxDimensions()}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(P=>this._editor.applyFontInfo(P))}_updateContent(A){const P=this._hover.contentsDomNode;P.style.paddingBottom="",P.textContent="",P.appendChild(A)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const A=Math.max(this._editor.getLayoutInfo().height/4,250,c._lastDimensions.height),P=Math.max(this._editor.getLayoutInfo().width*.66,500,c._lastDimensions.width);this._setHoverWidgetMaxDimensions(P,A)}_render(A,P){this._setHoverData(P),this._updateFont(),this._updateContent(A),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var A;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(A=this._positionPreference)!==null&&A!==void 0?A:1]}:null}showAt(A,P){var O,x,W,U;if(!this._editor||!this._editor.hasModel())return;this._render(A,P);const F=L.getTotalHeight(this._hover.containerDomNode),G=P.showAtPosition;this._positionPreference=(O=this._findPositionPreference(F,G))!==null&&O!==void 0?O:1,this.onContentsChanged(),P.stoleFocus&&this._hover.containerDomNode.focus(),(x=P.colorPicker)===null||x===void 0||x.layout();const Y=(0,I.getHoverAccessibleViewHint)(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(U=(W=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||W===void 0?void 0:W.getAriaLabel())!==null&&U!==void 0?U:"");Y&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+Y)}hide(){if(!this._visibleData)return;const A=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new L.Dimension(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),A&&this._editor.focus()}_removeConstraintsRenderNormally(){const A=this._editor.getLayoutInfo();this._resizableNode.layout(A.height,A.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(A){var P;const O=this._hover.containerDomNode,x=this._hover.contentsDomNode,W=(P=this._findMaximumRenderingHeight())!==null&&P!==void 0?P:1/0;this._setContainerDomNodeDimensions(L.getTotalWidth(O),Math.min(W,A)),this._setContentsDomNodeDimensions(L.getTotalWidth(x),Math.min(W,A-E))}setMinimumDimensions(A){this._minimumSize=new L.Dimension(Math.max(this._minimumSize.width,A.width),Math.max(this._minimumSize.height,A.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const A=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new L.Dimension(A,this._minimumSize.height)}onContentsChanged(){var A;this._removeConstraintsRenderNormally();const P=this._hover.containerDomNode;let O=L.getTotalHeight(P),x=L.getTotalWidth(P);if(this._resizableNode.layout(O,x),this._setHoverWidgetDimensions(x,O),O=L.getTotalHeight(P),x=L.getTotalWidth(P),this._contentWidth=x,this._updateMinimumWidth(),this._resizableNode.layout(O,x),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(O)),!((A=this._visibleData)===null||A===void 0)&&A.showAtPosition){const W=L.getTotalHeight(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(W,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const A=this._hover.scrollbar.getScrollPosition().scrollTop,P=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:A-P.lineHeight})}scrollDown(){const A=this._hover.scrollbar.getScrollPosition().scrollTop,P=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:A+P.lineHeight})}scrollLeft(){const A=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:A-w})}scrollRight(){const A=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:A+w})}pageUp(){const A=this._hover.scrollbar.getScrollPosition().scrollTop,P=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:A-P})}pageDown(){const A=this._hover.scrollbar.getScrollPosition().scrollTop,P=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:A+P})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};e.ContentHoverWidget=M,M.ID="editor.contrib.resizableContentHoverWidget",M._lastDimensions=new L.Dimension(0,0),e.ContentHoverWidget=M=c=Ie([ge(1,u.IContextKeyService),ge(2,d.IConfigurationService),ge(3,l.IAccessibilityService),ge(4,n.IKeybindingService)],M);let R=class extends D.Disposable{get hasContent(){return this._hasContent}constructor(A){super(),this._keybindingService=A,this._hasContent=!1,this.hoverElement=a("div.hover-row.status-bar"),this.actionsElement=L.append(this.hoverElement,a("div.actions"))}addAction(A){const P=this._keybindingService.lookupKeybinding(A.commandId),O=P?P.getLabel():null;return this._hasContent=!0,this._register(I.HoverAction.render(this.actionsElement,A,O))}append(A){const P=L.append(this.actionsElement,A);return this._hasContent=!0,P}};e.EditorHoverStatusBar=R,e.EditorHoverStatusBar=R=Ie([ge(0,n.IKeybindingService)],R);class B{get anchor(){return this._anchor}set anchor(A){this._anchor=A}get shouldFocus(){return this._shouldFocus}set shouldFocus(A){this._shouldFocus=A}get source(){return this._source}set source(A){this._source=A}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(A){this._insistOnKeepingHoverVisible=A}constructor(A,P){this._editor=A,this._participants=P,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(A,P){if(P.type!==1&&!P.supportsMarkerHover)return[];const O=A.getModel(),x=P.range.startLineNumber;if(x>O.getLineCount())return[];const W=O.getLineMaxColumn(x);return A.getLineDecorations(x).filter(U=>{if(U.options.isWholeLine)return!0;const F=U.range.startLineNumber===x?U.range.startColumn:1,G=U.range.endLineNumber===x?U.range.endColumn:W;if(U.options.showIfCollapsed){if(F>P.range.startColumn+1||P.range.endColumn-1>G)return!1}else if(F>P.range.startColumn||P.range.endColumn>G)return!1;return!0})}computeAsync(A){const P=this._anchor;if(!this._editor.hasModel()||!P)return t.AsyncIterableObject.EMPTY;const O=B._getLineDecorations(this._editor,P);return t.AsyncIterableObject.merge(this._participants.map(x=>x.computeAsync?x.computeAsync(P,O,A):t.AsyncIterableObject.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const A=B._getLineDecorations(this._editor,this._anchor);let P=[];for(const O of this._participants)P=P.concat(O.computeSync(this._anchor,A));return(0,y.coalesce)(P)}}function T(N,A,P,O,x,W){const U=P+x/2,F=O+W/2,G=Math.max(Math.abs(N-U)-x/2,0),Y=Math.max(Math.abs(A-F)-W/2,0);return Math.sqrt(G*G+Y*Y)}}),define(te[885],ie([1,0,2,368,8,371,34,6,18,16,22,15,50,32,346,7,199]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";var u,f;Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneColorPickerWidget=e.StandaloneColorPickerController=void 0;let d=u=class extends L.Disposable{constructor(h,p,b,w,E,k,M){super(),this._editor=h,this._modelService=b,this._keybindingService=w,this._instantiationService=E,this._languageFeatureService=k,this._languageConfigurationService=M,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=C.EditorContextKeys.standaloneColorPickerVisible.bindTo(p),this._standaloneColorPickerFocused=C.EditorContextKeys.standaloneColorPickerFocused.bindTo(p)}showOrFocus(){var h;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(h=this._standaloneColorPickerWidget)===null||h===void 0||h.focus():this._standaloneColorPickerWidget=new c(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var h;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(h=this._standaloneColorPickerWidget)===null||h===void 0||h.hide(),this._editor.focus()}insertColor(){var h;(h=this._standaloneColorPickerWidget)===null||h===void 0||h.updateEditor(),this.hide()}static get(h){return h.getContribution(u.ID)}};e.StandaloneColorPickerController=d,d.ID="editor.contrib.standaloneColorPickerController",e.StandaloneColorPickerController=d=u=Ie([ge(1,s.IContextKeyService),ge(2,i.IModelService),ge(3,S.IKeybindingService),ge(4,y.IInstantiationService),ge(5,_.ILanguageFeaturesService),ge(6,n.ILanguageConfigurationService)],d),(0,v.registerEditorContribution)(d.ID,d,1);const l=8,o=22;let c=f=class extends L.Disposable{constructor(h,p,b,w,E,k,M,R){var B;super(),this._editor=h,this._standaloneColorPickerVisible=p,this._standaloneColorPickerFocused=b,this._modelService=E,this._keybindingService=k,this._languageFeaturesService=M,this._languageConfigurationService=R,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new m.Emitter),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=w.createInstance(I.StandaloneColorPickerParticipant,this._editor),this._position=(B=this._editor._getViewModel())===null||B===void 0?void 0:B.getPrimaryCursorState().modelState.position;const T=this._editor.getSelection(),N=T?{startLineNumber:T.startLineNumber,startColumn:T.startColumn,endLineNumber:T.endLineNumber,endColumn:T.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},A=this._register(r.trackFocus(this._body));this._register(A.onDidBlur(P=>{this.hide()})),this._register(A.onDidFocus(P=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(P=>{var O;const x=(O=P.target.element)===null||O===void 0?void 0:O.classList;x&&x.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(P=>{this._render(P.value,P.foundInEditor)})),this._start(N),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return f.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const h=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:h?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}_start(h){return be(this,void 0,void 0,function*(){const p=yield this._computeAsync(h);p&&this._onResult.fire(new a(p.result,p.foundInEditor))})}_computeAsync(h){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel())return null;const p={range:h,color:{red:0,green:0,blue:0,alpha:1}},b=yield this._standaloneColorPickerParticipant.createColorHover(p,new t.DefaultDocumentColorProvider(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return b?{result:b.colorHover,foundInEditor:b.foundInEditor}:null})}_render(h,p){const b=document.createDocumentFragment(),w=this._register(new D.EditorHoverStatusBar(this._keybindingService));let E;const k={fragment:b,statusBar:w,setColorPicker:x=>E=x,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=h,this._register(this._standaloneColorPickerParticipant.renderHoverParts(k,[h])),E===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(b),E.layout();const M=E.body,R=M.saturationBox.domNode.clientWidth,B=M.domNode.clientWidth-R-o-l,T=E.body.enterButton;T?.onClicked(()=>{this.updateEditor(),this.hide()});const N=E.header,A=N.pickedColorNode;A.style.width=R+l+"px";const P=N.originalColorNode;P.style.width=B+"px";const O=E.header.closeButton;O?.onClicked(()=>{this.hide()}),p&&(T&&(T.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(h.range)),this._editor.layoutContentWidget(this)}};e.StandaloneColorPickerWidget=c,c.ID="editor.contrib.standaloneColorPickerWidget",e.StandaloneColorPickerWidget=c=f=Ie([ge(3,y.IInstantiationService),ge(4,i.IModelService),ge(5,S.IKeybindingService),ge(6,_.ILanguageFeaturesService),ge(7,n.ILanguageConfigurationService)],c);class a{constructor(h,p){this.value=h,this.foundInEditor=p}}}),define(te[886],ie([1,0,16,646,885,22,30,199]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowOrFocusStandaloneColorPicker=void 0;class m extends L.EditorAction2{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{value:(0,I.localize)(0,null),mnemonicTitle:(0,I.localize)(1,null),original:"Show or Focus Standalone Color Picker"},precondition:void 0,menu:[{id:S.MenuId.CommandPalette}]})}runEditorCommand(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.showOrFocus()}}e.ShowOrFocusStandaloneColorPicker=m;class _ extends L.EditorAction{constructor(){super({id:"editor.action.hideColorPicker",label:(0,I.localize)(2,null),alias:"Hide the Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.hide()}}class v extends L.EditorAction{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,I.localize)(3,null),alias:"Insert Color with Standalone Color Picker",precondition:D.EditorContextKeys.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(s,i){var n;(n=y.StandaloneColorPickerController.get(i))===null||n===void 0||n.insertColor()}}(0,L.registerEditorAction)(_),(0,L.registerEditorAction)(v),(0,S.registerAction2)(m)}),define(te[887],ie([1,0,14,9,103,16,5,24,22,37,115,675,547,453]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});let t=n=class{static get(d){return d.getContribution(n.ID)}constructor(d,l){this.editor=d,this.editorWorkerService=l,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(d,l){var o;(o=this.currentRequest)===null||o===void 0||o.cancel();const c=this.editor.getSelection(),a=this.editor.getModel();if(!a||!c)return;let g=c;if(g.startLineNumber!==g.endLineNumber)return;const h=new y.EditorState(this.editor,5),p=a.uri;return this.editorWorkerService.canNavigateValueSet(p)?(this.currentRequest=(0,L.createCancelablePromise)(b=>this.editorWorkerService.navigateValueSet(p,g,l)),this.currentRequest.then(b=>{var w;if(!b||!b.range||!b.value||!h.validate(this.editor))return;const E=S.Range.lift(b.range);let k=b.range;const M=b.value.length-(g.endColumn-g.startColumn);k={startLineNumber:k.startLineNumber,startColumn:k.startColumn,endLineNumber:k.endLineNumber,endColumn:k.startColumn+b.value.length},M>1&&(g=new m.Selection(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn+M-1));const R=new i.InPlaceReplaceCommand(E,g,b.value);this.editor.pushUndoStop(),this.editor.executeCommand(d,R),this.editor.pushUndoStop(),this.decorations.set([{range:k,options:n.DECORATION}]),(w=this.decorationRemover)===null||w===void 0||w.cancel(),this.decorationRemover=(0,L.timeout)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(I.onUnexpectedError)}).catch(I.onUnexpectedError)):Promise.resolve(void 0)}};t.ID="editor.contrib.inPlaceReplaceController",t.DECORATION=v.ModelDecorationOptions.register({description:"in-place-replace",className:"valueSetReplacement"}),t=n=Ie([ge(1,C.IEditorWorkerService)],t);class r extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.up",label:s.localize(0,null),alias:"Replace with Previous Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3159,weight:100}})}run(d,l){const o=t.get(l);return o?o.run(this.id,!1):Promise.resolve(void 0)}}class u extends D.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.down",label:s.localize(1,null),alias:"Replace with Next Value",precondition:_.EditorContextKeys.writable,kbOpts:{kbExpr:_.EditorContextKeys.editorTextFocus,primary:3161,weight:100}})}run(d,l){const o=t.get(l);return o?o.run(this.id,!0):Promise.resolve(void 0)}}(0,D.registerEditorContribution)(t.ID,t,4),(0,D.registerEditorAction)(r),(0,D.registerEditorAction)(u)}),define(te[254],ie([1,0,7,14,26,2,10,27,5,37,8,456]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineProgressManager=void 0;const s=v.ModelDecorationOptions.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:S.noBreakWhitespace,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class i extends D.Disposable{constructor(r,u,f,d,l){super(),this.typeId=r,this.editor=u,this.range=f,this.delegate=l,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(d),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(r){this.domNode=L.$(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=r;const u=L.$("span.icon");this.domNode.append(u),u.classList.add(...m.ThemeIcon.asClassNameArray(y.Codicon.loading),"codicon-modifier-spin");const f=()=>{const d=this.editor.getOption(66);this.domNode.style.height=`${d}px`,this.domNode.style.width=`${Math.ceil(.8*d)}px`};f(),this._register(this.editor.onDidChangeConfiguration(d=>{(d.hasChanged(52)||d.hasChanged(66))&&f()})),this._register(L.addDisposableListener(this.domNode,L.EventType.CLICK,d=>{this.delegate.cancel()}))}getId(){return i.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}i.baseId="editor.widget.inlineProgressWidget";let n=class extends D.Disposable{constructor(r,u,f){super(),this.id=r,this._editor=u,this._instantiationService=f,this._showDelay=500,this._showPromise=this._register(new D.MutableDisposable),this._currentWidget=new D.MutableDisposable,this._operationIdPool=0,this._currentDecorations=u.createDecorationsCollection()}showWhile(r,u,f){return be(this,void 0,void 0,function*(){const d=this._operationIdPool++;this._currentOperation=d,this.clear(),this._showPromise.value=(0,I.disposableTimeout)(()=>{const l=_.Range.fromPositions(r);this._currentDecorations.set([{range:l,options:s}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(i,this.id,this._editor,l,u,f))},this._showDelay);try{return yield f}finally{this._currentOperation===d&&(this.clear(),this._currentOperation=void 0)}})}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};e.InlineProgressManager=n,e.InlineProgressManager=n=Ie([ge(2,C.IInstantiationService)],n)}),define(te[888],ie([1,0,7,13,14,170,2,107,17,169,183,345,130,5,18,335,103,254,651,102,15,8,85,67,339]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.CopyPasteController=e.pasteWidgetVisibleCtx=e.changePasteTypeCommandId=void 0,e.changePasteTypeCommandId="editor.changePasteType",e.pasteWidgetVisibleCtx=new o.RawContextKey("pasteWidgetVisible",!1,(0,d.localize)(0,null));const b="application/vnd.code.copyMetadata";let w=p=class extends S.Disposable{static get(M){return M.getContribution(p.ID)}constructor(M,R,B,T,N,A,P){super(),this._bulkEditService=B,this._clipboardService=T,this._languageFeaturesService=N,this._quickInputService=A,this._progressService=P,this._editor=M;const O=M.getContainerDomNode();this._register((0,L.addDisposableListener)(O,"copy",x=>this.handleCopy(x))),this._register((0,L.addDisposableListener)(O,"cut",x=>this.handleCopy(x))),this._register((0,L.addDisposableListener)(O,"paste",x=>this.handlePaste(x),!0)),this._pasteProgressManager=this._register(new f.InlineProgressManager("pasteIntoEditor",M,R)),this._postPasteWidgetManager=this._register(R.createInstance(h.PostEditWidgetManager,"pasteIntoEditor",M,e.pasteWidgetVisibleCtx,{id:e.changePasteTypeCommandId,label:(0,d.localize)(1,null)}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(M){this._editor.focus();try{this._pasteAsActionContext={preferredId:M},(0,L.getActiveDocument)().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(84).enabled&&!this._editor.getOption(90)}handleCopy(M){var R,B;if(!this._editor.hasTextFocus()||(_.isWeb&&this._clipboardService.writeResources([]),!M.clipboardData||!this.isPasteAsEnabled()))return;const T=this._editor.getModel(),N=this._editor.getSelections();if(!T||!N?.length)return;const A=this._editor.getOption(37);let P=N;const O=N.length===1&&N[0].isEmpty();if(O){if(!A)return;P=[new n.Range(P[0].startLineNumber,1,P[0].startLineNumber,1+T.getLineLength(P[0].startLineNumber))]}const x=(R=this._editor._getViewModel())===null||R===void 0?void 0:R.getPlainTextToCopy(N,A,_.isWindows),U={multicursorText:Array.isArray(x)?x:null,pasteOnNewLine:O,mode:null},F=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(J=>!!J.prepareDocumentPaste);if(!F.length){this.setCopyMetadata(M.clipboardData,{defaultPastePayload:U});return}const G=(0,s.toVSDataTransfer)(M.clipboardData),Y=F.flatMap(J=>{var q;return(q=J.copyMimeTypes)!==null&&q!==void 0?q:[]}),ne=(0,v.generateUuid)();this.setCopyMetadata(M.clipboardData,{id:ne,providerCopyMimeTypes:Y,defaultPastePayload:U});const se=(0,y.createCancelablePromise)(J=>be(this,void 0,void 0,function*(){const q=(0,I.coalesce)(yield Promise.all(F.map(H=>be(this,void 0,void 0,function*(){try{return yield H.prepareDocumentPaste(T,P,G,J)}catch(V){console.error(V);return}}))));q.reverse();for(const H of q)for(const[V,Z]of H)G.replace(V,Z);return G}));(B=this._currentCopyOperation)===null||B===void 0||B.dataTransferPromise.cancel(),this._currentCopyOperation={handle:ne,dataTransferPromise:se}}handlePaste(M){var R,B;return be(this,void 0,void 0,function*(){if(!M.clipboardData||!this._editor.hasTextFocus())return;(R=this._currentPasteOperation)===null||R===void 0||R.cancel(),this._currentPasteOperation=void 0;const T=this._editor.getModel(),N=this._editor.getSelections();if(!N?.length||!T||!this.isPasteAsEnabled())return;const A=this.fetchCopyMetadata(M),P=(0,s.toExternalVSDataTransfer)(M.clipboardData);P.delete(b);const O=[...M.clipboardData.types,...(B=A?.providerCopyMimeTypes)!==null&&B!==void 0?B:[],m.Mimes.uriList],x=this._languageFeaturesService.documentPasteEditProvider.ordered(T).filter(W=>{var U;return(U=W.pasteMimeTypes)===null||U===void 0?void 0:U.some(F=>(0,D.matchesMimeType)(F,O))});x.length&&(M.preventDefault(),M.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,x,N,P,A):this.doPasteInline(x,N,P,A))})}doPasteInline(M,R,B,T){const N=(0,y.createCancelablePromise)(A=>be(this,void 0,void 0,function*(){const P=this._editor;if(!P.hasModel())return;const O=P.getModel(),x=new u.EditorStateCancellationTokenSource(P,3,void 0,A);try{if(yield this.mergeInDataFromCopy(B,T,x.token),x.token.isCancellationRequested)return;const W=M.filter(F=>E(F,B));if(!W.length||W.length===1&&W[0].id==="text"){yield this.applyDefaultPasteHandler(B,T,x.token);return}const U=yield this.getPasteEdits(W,B,O,R,x.token);if(x.token.isCancellationRequested)return;if(U.length===1&&U[0].providerId==="text"){yield this.applyDefaultPasteHandler(B,T,x.token);return}if(U.length){const F=P.getOption(84).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(R,{activeEditIndex:0,allEdits:U},F,x.token)}yield this.applyDefaultPasteHandler(B,T,x.token)}finally{x.dispose(),this._currentPasteOperation===N&&(this._currentPasteOperation=void 0)}}));this._pasteProgressManager.showWhile(R[0].getEndPosition(),(0,d.localize)(2,null),N),this._currentPasteOperation=N}showPasteAsPick(M,R,B,T,N){const A=(0,y.createCancelablePromise)(P=>be(this,void 0,void 0,function*(){const O=this._editor;if(!O.hasModel())return;const x=O.getModel(),W=new u.EditorStateCancellationTokenSource(O,3,void 0,P);try{if(yield this.mergeInDataFromCopy(T,N,W.token),W.token.isCancellationRequested)return;let U=R.filter(ne=>E(ne,T));M&&(U=U.filter(ne=>ne.id===M));const F=yield this.getPasteEdits(U,T,x,B,W.token);if(W.token.isCancellationRequested||!F.length)return;let G;if(M)G=F.at(0);else{const ne=yield this._quickInputService.pick(F.map(se=>({label:se.label,description:se.providerId,detail:se.detail,edit:se})),{placeHolder:(0,d.localize)(3,null)});G=ne?.edit}if(!G)return;const Y=(0,r.createCombinedWorkspaceEdit)(x.uri,B,G);yield this._bulkEditService.apply(Y,{editor:this._editor})}finally{W.dispose(),this._currentPasteOperation===A&&(this._currentPasteOperation=void 0)}}));this._progressService.withProgress({location:10,title:(0,d.localize)(4,null)},()=>A)}setCopyMetadata(M,R){M.setData(b,JSON.stringify(R))}fetchCopyMetadata(M){var R;if(!M.clipboardData)return;const B=M.clipboardData.getData(b);if(B)try{return JSON.parse(B)}catch{return}const[T,N]=C.ClipboardEventUtils.getTextData(M.clipboardData);if(N)return{defaultPastePayload:{mode:N.mode,multicursorText:(R=N.multicursorText)!==null&&R!==void 0?R:null,pasteOnNewLine:!!N.isFromEmptySelection}}}mergeInDataFromCopy(M,R,B){var T;return be(this,void 0,void 0,function*(){if(R?.id&&((T=this._currentCopyOperation)===null||T===void 0?void 0:T.handle)===R.id){const N=yield this._currentCopyOperation.dataTransferPromise;if(B.isCancellationRequested)return;for(const[A,P]of N)M.replace(A,P)}if(!M.has(m.Mimes.uriList)){const N=yield this._clipboardService.readResources();if(B.isCancellationRequested)return;N.length&&M.append(m.Mimes.uriList,(0,D.createStringDataTransferItem)(D.UriList.create(N)))}})}getPasteEdits(M,R,B,T,N){return be(this,void 0,void 0,function*(){const A=yield(0,y.raceCancellation)(Promise.all(M.map(O=>be(this,void 0,void 0,function*(){var x;try{const W=yield(x=O.provideDocumentPasteEdits)===null||x===void 0?void 0:x.call(O,B,T,R,N);if(W)return Object.assign(Object.assign({},W),{providerId:O.id})}catch(W){console.error(W)}}))),N),P=(0,I.coalesce)(A??[]);return(0,r.sortEditsByYieldTo)(P)})}applyDefaultPasteHandler(M,R,B){var T,N,A;return be(this,void 0,void 0,function*(){const P=(T=M.get(m.Mimes.text))!==null&&T!==void 0?T:M.get("text");if(!P)return;const O=yield P.asString();if(B.isCancellationRequested)return;const x={text:O,pasteOnNewLine:(N=R?.defaultPastePayload.pasteOnNewLine)!==null&&N!==void 0?N:!1,multicursorText:(A=R?.defaultPastePayload.multicursorText)!==null&&A!==void 0?A:null,mode:null};this._editor.trigger("keyboard","paste",x)})}};e.CopyPasteController=w,w.ID="editor.contrib.copyPasteActionController",e.CopyPasteController=w=p=Ie([ge(1,c.IInstantiationService),ge(2,i.IBulkEditService),ge(3,l.IClipboardService),ge(4,t.ILanguageFeaturesService),ge(5,g.IQuickInputService),ge(6,a.IProgressService)],w);function E(k,M){var R;return!!(!((R=k.pasteMimeTypes)===null||R===void 0)&&R.some(B=>M.matches(B)))}}),define(te[889],ie([1,0,13,14,170,2,345,5,18,288,750,103,254,654,28,15,344,8,335,339]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.DropIntoEditorController=e.dropWidgetVisibleCtx=e.changeDropTypeCommandId=e.defaultProviderConfig=void 0,e.defaultProviderConfig="editor.experimental.dropIntoEditor.defaultProvider",e.changeDropTypeCommandId="editor.changeDropType",e.dropWidgetVisibleCtx=new r.RawContextKey("dropWidgetVisible",!1,(0,n.localize)(0,null));let c=o=class extends D.Disposable{static get(g){return g.getContribution(o.ID)}constructor(g,h,p,b,w){super(),this._configService=p,this._languageFeaturesService=b,this._treeViewsDragAndDropService=w,this.treeItemsTransfer=u.LocalSelectionTransfer.getInstance(),this._dropProgressManager=this._register(h.createInstance(i.InlineProgressManager,"dropIntoEditor",g)),this._postDropWidgetManager=this._register(h.createInstance(l.PostEditWidgetManager,"dropIntoEditor",g,e.dropWidgetVisibleCtx,{id:e.changeDropTypeCommandId,label:(0,n.localize)(1,null)})),this._register(g.onDropIntoEditor(E=>this.onDropIntoEditor(g,E.position,E.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}onDropIntoEditor(g,h,p){var b;return be(this,void 0,void 0,function*(){if(!p.dataTransfer||!g.hasModel())return;(b=this._currentOperation)===null||b===void 0||b.cancel(),g.focus(),g.setPosition(h);const w=(0,I.createCancelablePromise)(E=>be(this,void 0,void 0,function*(){const k=new s.EditorStateCancellationTokenSource(g,1,void 0,E);try{const M=yield this.extractDataTransferData(p);if(M.size===0||k.token.isCancellationRequested)return;const R=g.getModel();if(!R)return;const B=this._languageFeaturesService.documentOnDropEditProvider.ordered(R).filter(N=>N.dropMimeTypes?N.dropMimeTypes.some(A=>M.matches(A)):!0),T=yield this.getDropEdits(B,R,h,M,k);if(k.token.isCancellationRequested)return;if(T.length){const N=this.getInitialActiveEditIndex(R,T),A=g.getOption(36).showDropSelector==="afterDrop";yield this._postDropWidgetManager.applyEditAndShowIfNeeded([m.Range.fromPositions(h)],{activeEditIndex:N,allEdits:T},A,E)}}finally{k.dispose(),this._currentOperation===w&&(this._currentOperation=void 0)}}));this._dropProgressManager.showWhile(h,(0,n.localize)(2,null),w),this._currentOperation=w})}getDropEdits(g,h,p,b,w){return be(this,void 0,void 0,function*(){const E=yield(0,I.raceCancellation)(Promise.all(g.map(M=>be(this,void 0,void 0,function*(){try{const R=yield M.provideDocumentOnDropEdits(h,p,b,w.token);if(R)return Object.assign(Object.assign({},R),{providerId:M.id})}catch(R){console.error(R)}}))),w.token),k=(0,L.coalesce)(E??[]);return(0,d.sortEditsByYieldTo)(k)})}getInitialActiveEditIndex(g,h){const p=this._configService.getValue(e.defaultProviderConfig,{resource:g.uri});for(const[b,w]of Object.entries(p)){const E=h.findIndex(k=>w===k.providerId&&k.handledMimeType&&(0,y.matchesMimeType)(b,[k.handledMimeType]));if(E>=0)return E}return 0}extractDataTransferData(g){return be(this,void 0,void 0,function*(){if(!g.dataTransfer)return new y.VSDataTransfer;const h=(0,S.toExternalVSDataTransfer)(g.dataTransfer);if(this.treeItemsTransfer.hasData(v.DraggedTreeItemsIdentifier.prototype)){const p=this.treeItemsTransfer.getData(v.DraggedTreeItemsIdentifier.prototype);if(Array.isArray(p))for(const b of p){const w=yield this._treeViewsDragAndDropService.removeDragOperationTransfer(b.identifier);if(w)for(const[E,k]of w)h.replace(E,k)}}return h})}};e.DropIntoEditorController=c,c.ID="editor.contrib.dropIntoEditorController",e.DropIntoEditorController=c=o=Ie([ge(1,f.IInstantiationService),ge(2,t.IConfigurationService),ge(3,_.ILanguageFeaturesService),ge(4,C.ITreeViewsDnDService)],c)}),define(te[890],ie([1,0,13,14,19,36,9,6,2,10,21,16,33,12,5,22,37,32,685,15,18,31,74,59,457]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.editorLinkedEditingBackground=e.LinkedEditingAction=e.LinkedEditingContribution=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=void 0,e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE=new l.RawContextKey("LinkedEditingInputVisible",!1);const p="linked-editing-decoration";let b=h=class extends _.Disposable{static get(R){return R.getContribution(h.ID)}constructor(R,B,T,N,A){super(),this.languageConfigurationService=N,this._syncRangesToken=0,this._localToDispose=this._register(new _.DisposableStore),this._editor=R,this._providers=T.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE.bindTo(B),this._debounceInformation=A.for(this._providers,"Linked Editing",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new _.DisposableStore),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(P=>{(P.hasChanged(69)||P.hasChanged(92))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(R){const B=this._editor.getModel(),T=B!==null&&(this._editor.getOption(69)||this._editor.getOption(92))&&this._providers.has(B);if(T===this._enabled&&!R||(this._enabled=T,this.clearRanges(),this._localToDispose.clear(),!T||B===null))return;this._localToDispose.add(m.Event.runAndSubscribe(B.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(B.getLanguageId()).getWordDefinition()}));const N=new I.Delayer(this._debounceInformation.get(B)),A=()=>{var x;this._rangeUpdateTriggerPromise=N.trigger(()=>this.updateRanges(),(x=this._debounceDuration)!==null&&x!==void 0?x:this._debounceInformation.get(B))},P=new I.Delayer(0),O=x=>{this._rangeSyncTriggerPromise=P.trigger(()=>this._syncRanges(x))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{A()})),this._localToDispose.add(this._editor.onDidChangeModelContent(x=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const W=this._currentDecorations.getRange(0);if(W&&x.changes.every(U=>W.intersectRanges(U.range))){O(this._syncRangesToken);return}}A()})),this._localToDispose.add({dispose:()=>{N.dispose(),P.dispose()}}),this.updateRanges()}_syncRanges(R){if(!this._editor.hasModel()||R!==this._syncRangesToken||this._currentDecorations.length===0)return;const B=this._editor.getModel(),T=this._currentDecorations.getRange(0);if(!T||T.startLineNumber!==T.endLineNumber)return this.clearRanges();const N=B.getValueInRange(T);if(this._currentWordPattern){const P=N.match(this._currentWordPattern);if((P?P[0].length:0)!==N.length)return this.clearRanges()}const A=[];for(let P=1,O=this._currentDecorations.length;P1){this.clearRanges();return}const T=this._editor.getModel(),N=T.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===N){if(B.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){const P=this._currentDecorations.getRange(0);if(P&&P.containsPosition(B))return}}this.clearRanges(),this._currentRequestPosition=B,this._currentRequestModelVersion=N;const A=(0,I.createCancelablePromise)(P=>be(this,void 0,void 0,function*(){try{const O=new g.StopWatch(!1),x=yield k(this._providers,T,B,P);if(this._debounceInformation.update(T,O.elapsed()),A!==this._currentRequest||(this._currentRequest=null,N!==T.getVersionId()))return;let W=[];x?.ranges&&(W=x.ranges),this._currentWordPattern=x?.wordPattern||this._languageWordPattern;let U=!1;for(let G=0,Y=W.length;G({range:G,options:h.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(F),this._syncRangesToken++}catch(O){(0,S.isCancellationError)(O)||(0,S.onUnexpectedError)(O),(this._currentRequest===A||!this._currentRequest)&&this.clearRanges()}}));return this._currentRequest=A,A})}};e.LinkedEditingContribution=b,b.ID="editor.contrib.linkedEditing",b.DECORATION=u.ModelDecorationOptions.register({description:"linked-editing",stickiness:0,className:p}),e.LinkedEditingContribution=b=h=Ie([ge(1,l.IContextKeyService),ge(2,o.ILanguageFeaturesService),ge(3,f.ILanguageConfigurationService),ge(4,a.ILanguageFeatureDebounceService)],b);class w extends s.EditorAction{constructor(){super({id:"editor.action.linkedEditing",label:d.localize(0,null),alias:"Start Linked Editing",precondition:l.ContextKeyExpr.and(r.EditorContextKeys.writable,r.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:r.EditorContextKeys.editorTextFocus,primary:3132,weight:100}})}runCommand(R,B){const T=R.get(i.ICodeEditorService),[N,A]=Array.isArray(B)&&B||[void 0,void 0];return C.URI.isUri(N)&&n.Position.isIPosition(A)?T.openCodeEditor({resource:N},T.getActiveCodeEditor()).then(P=>{P&&(P.setPosition(A),P.invokeWithinContext(O=>(this.reportTelemetry(O,P),this.run(O,P))))},S.onUnexpectedError):super.runCommand(R,B)}run(R,B){const T=b.get(B);return T?Promise.resolve(T.updateRanges(!0)):Promise.resolve()}}e.LinkedEditingAction=w;const E=s.EditorCommand.bindToContribution(b.get);(0,s.registerEditorCommand)(new E({id:"cancelLinkedEditingInput",precondition:e.CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE,handler:M=>M.clearRanges(),kbOpts:{kbExpr:r.EditorContextKeys.editorTextFocus,weight:100+99,primary:9,secondary:[1033]}}));function k(M,R,B,T){const N=M.ordered(R);return(0,I.first)(N.map(A=>()=>be(this,void 0,void 0,function*(){try{return yield A.provideLinkedEditingRanges(R,B,T)}catch(P){(0,S.onUnexpectedExternalError)(P);return}})),A=>!!A&&L.isNonEmptyArray(A?.ranges))}e.editorLinkedEditingBackground=(0,c.registerColor)("editor.linkedEditingBackground",{dark:D.Color.fromHex("#f00").transparent(.3),light:D.Color.fromHex("#f00").transparent(.3),hcDark:D.Color.fromHex("#f00").transparent(.3),hcLight:D.Color.white},d.localize(1,null)),(0,s.registerModelAndPositionCommand)("_executeLinkedEditingProvider",(M,R,B)=>{const{linkedEditingRangeProvider:T}=M.get(o.ILanguageFeaturesService);return k(T,R,B,y.CancellationToken.None)}),(0,s.registerEditorContribution)(b.ID,b,1),(0,s.registerEditorAction)(w)}),define(te[891],ie([1,0,14,19,9,57,2,54,17,46,59,21,16,37,74,18,184,752,686,48,55,458]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.LinkDetector=void 0;let a=c=class extends S.Disposable{static get(E){return E.getContribution(c.ID)}constructor(E,k,M,R,B){super(),this.editor=E,this.openerService=k,this.notificationService=M,this.languageFeaturesService=R,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=B.for(this.providers,"Links",{min:1e3,max:4e3}),this.computeLinks=this._register(new L.RunOnceScheduler(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const T=this._register(new u.ClickLinkGesture(E));this._register(T.onMouseMoveOrRelevantKeyDown(([N,A])=>{this._onEditorMouseMove(N,A)})),this._register(T.onExecute(N=>{this.onEditorMouseUp(N)})),this._register(T.onCancel(N=>{this.cleanUpActiveLinkDecoration()})),this._register(E.onDidChangeConfiguration(N=>{N.hasChanged(70)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(E.onDidChangeModelContent(N=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(E.onDidChangeModel(N=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(E.onDidChangeModelLanguage(N=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(N=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}computeLinksNow(){return be(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.editor.getOption(70))return;const E=this.editor.getModel();if(!E.isTooLargeForSyncing()&&this.providers.has(E)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,L.createCancelablePromise)(k=>(0,f.getLinks)(this.providers,E,k));try{const k=new C.StopWatch(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(E,k.elapsed()),E.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(k){(0,y.onUnexpectedError)(k)}finally{this.computePromise=null}}})}updateDecorations(E){const k=this.editor.getOption(77)==="altKey",M=[],R=Object.keys(this.currentOccurrences);for(const T of R){const N=this.currentOccurrences[T];M.push(N.decorationId)}const B=[];if(E)for(const T of E)B.push(h.decoration(T,k));this.editor.changeDecorations(T=>{const N=T.deltaDecorations(M,B);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let A=0,P=N.length;A{R.activate(B,M),this.activeLinkDecorationId=R.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const E=this.editor.getOption(77)==="altKey";if(this.activeLinkDecorationId){const k=this.currentOccurrences[this.activeLinkDecorationId];k&&this.editor.changeDecorations(M=>{k.deactivate(M,E)}),this.activeLinkDecorationId=null}}onEditorMouseUp(E){if(!this.isEnabled(E))return;const k=this.getLinkOccurrence(E.target.position);k&&this.openLinkOccurrence(k,E.hasSideBySideModifier,!0)}openLinkOccurrence(E,k,M=!1){if(!this.openerService)return;const{link:R}=E;R.resolve(I.CancellationToken.None).then(B=>{if(typeof B=="string"&&this.editor.hasModel()){const T=this.editor.getModel().uri;if(T.scheme===m.Schemas.file&&B.startsWith(`${m.Schemas.file}:`)){const N=s.URI.parse(B);if(N.scheme===m.Schemas.file){const A=v.originalFSPath(N);let P=null;A.startsWith("/./")?P=`.${A.substr(1)}`:A.startsWith("//./")&&(P=`.${A.substr(2)}`),P&&(B=v.joinPath(T,P))}}}return this.openerService.open(B,{openToSide:k,fromUserGesture:M,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},B=>{const T=B instanceof Error?B.message:B;T==="invalid"?this.notificationService.warn(d.localize(0,null,R.url.toString())):T==="missing"?this.notificationService.warn(d.localize(1,null)):(0,y.onUnexpectedError)(B)})}getLinkOccurrence(E){if(!this.editor.hasModel()||!E)return null;const k=this.editor.getModel().getDecorationsInRange({startLineNumber:E.lineNumber,startColumn:E.column,endLineNumber:E.lineNumber,endColumn:E.column},0,!0);for(const M of k){const R=this.currentOccurrences[M.id];if(R)return R}return null}isEnabled(E,k){return!!(E.target.type===6&&(E.hasTriggerModifier||k&&k.keyCodeIsTriggerKey))}stop(){var E;this.computeLinks.cancel(),this.activeLinksList&&((E=this.activeLinksList)===null||E===void 0||E.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};e.LinkDetector=a,a.ID="editor.linkDetector",e.LinkDetector=a=c=Ie([ge(1,o.IOpenerService),ge(2,l.INotificationService),ge(3,r.ILanguageFeaturesService),ge(4,t.ILanguageFeatureDebounceService)],a);const g={general:n.ModelDecorationOptions.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:n.ModelDecorationOptions.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class h{static decoration(E,k){return{range:E.range,options:h._getOptions(E,k,!1)}}static _getOptions(E,k,M){const R=Object.assign({},M?g.active:g.general);return R.hoverMessage=p(E,k),R}constructor(E,k){this.link=E,this.decorationId=k}activate(E,k){E.changeDecorationOptions(this.decorationId,h._getOptions(this.link,k,!0))}deactivate(E,k){E.changeDecorationOptions(this.decorationId,h._getOptions(this.link,k,!1))}}function p(w,E){const k=w.url&&/^command:/i.test(w.url.toString()),M=w.tooltip?w.tooltip:k?d.localize(2,null):d.localize(3,null),R=E?_.isMacintosh?d.localize(4,null):d.localize(5,null):_.isMacintosh?d.localize(6,null):d.localize(7,null);if(w.url){let B="";if(/^command:/i.test(w.url.toString())){const N=w.url.toString().match(/^command:([^?#]+)/);if(N){const A=N[1];B=d.localize(8,null,A)}}return new D.MarkdownString("",!0).appendLink(w.url.toString(!0).replace(/ /g,"%20"),M,B).appendMarkdown(` (${R})`)}else return new D.MarkdownString().appendText(`${M} (${R})`)}class b extends i.EditorAction{constructor(){super({id:"editor.action.openLink",label:d.localize(9,null),alias:"Open Link",precondition:void 0})}run(E,k){const M=a.get(k);if(!M||!k.hasModel())return;const R=k.getSelections();for(const B of R){const T=M.getLinkOccurrence(B.getEndPosition());T&&M.openLinkOccurrence(T,!1)}}}(0,i.registerEditorContribution)(a.ID,a,1),(0,i.registerEditorAction)(b)}),define(te[892],ie([1,0,2,18,187,14,253,297,296,32,9,303,43]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyModelProvider=void 0;var n;(function(c){c.OUTLINE_MODEL="outlineModel",c.FOLDING_PROVIDER_MODEL="foldingProviderModel",c.INDENTATION_MODEL="indentationModel"})(n||(n={}));var t;(function(c){c[c.VALID=0]="VALID",c[c.INVALID=1]="INVALID",c[c.CANCELED=2]="CANCELED"})(t||(t={}));let r=class extends L.Disposable{constructor(a,g,h,p){super(),this._editor=a,this._languageConfigurationService=g,this._languageFeaturesService=h,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new D.Delayer(300)),this._updateOperation=this._register(new L.DisposableStore);const b=new f(h),w=new o(this._editor,h),E=new l(this._editor,g);switch(p){case n.OUTLINE_MODEL:this._modelProviders.push(b),this._modelProviders.push(w),this._modelProviders.push(E);break;case n.FOLDING_PROVIDER_MODEL:this._modelProviders.push(w),this._modelProviders.push(E);break;case n.INDENTATION_MODEL:this._modelProviders.push(E);break}}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}update(a,g,h){return be(this,void 0,void 0,function*(){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),yield this._updateScheduler.trigger(()=>be(this,void 0,void 0,function*(){for(const p of this._modelProviders){const{statusPromise:b,modelPromise:w}=p.computeStickyModel(a,g,h);this._modelPromise=w;const E=yield b;if(this._modelPromise!==w)return null;switch(E){case t.CANCELED:return this._updateOperation.clear(),null;case t.VALID:return p.stickyModel}}return null})).catch(p=>((0,C.onUnexpectedError)(p),null))})}};e.StickyModelProvider=r,e.StickyModelProvider=r=Ie([ge(1,v.ILanguageConfigurationService),ge(2,I.ILanguageFeaturesService)],r);class u{constructor(){this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,t.INVALID}computeStickyModel(a,g,h){if(h.isCancellationRequested||!this.isProviderValid(a))return{statusPromise:this._invalid(),modelPromise:null};const p=(0,D.createCancelablePromise)(b=>this.createModelFromProvider(a,g,b));return{statusPromise:p.then(b=>this.isModelValid(b)?h.isCancellationRequested?t.CANCELED:(this._stickyModel=this.createStickyModel(a,g,h,b),t.VALID):this._invalid()).then(void 0,b=>((0,C.onUnexpectedError)(b),t.CANCELED)),modelPromise:p}}isModelValid(a){return!0}isProviderValid(a){return!0}}let f=class extends u{constructor(a){super(),this._languageFeaturesService=a}createModelFromProvider(a,g,h){return y.OutlineModel.create(this._languageFeaturesService.documentSymbolProvider,a,h)}createStickyModel(a,g,h,p){var b;const{stickyOutlineElement:w,providerID:E}=this._stickyModelFromOutlineModel(p,(b=this._stickyModel)===null||b===void 0?void 0:b.outlineProviderId);return new s.StickyModel(a.uri,g,w,E)}isModelValid(a){return a&&a.children.size>0}_stickyModelFromOutlineModel(a,g){let h;if(i.Iterable.first(a.children.values())instanceof y.OutlineGroup){const E=i.Iterable.find(a.children.values(),k=>k.id===g);if(E)h=E.children;else{let k="",M=-1,R;for(const[B,T]of a.children.entries()){const N=this._findSumOfRangesOfGroup(T);N>M&&(R=T,M=N,k=T.id)}g=k,h=R.children}}else h=a.children;const p=[],b=Array.from(h.values()).sort((E,k)=>{const M=new s.StickyRange(E.symbol.range.startLineNumber,E.symbol.range.endLineNumber),R=new s.StickyRange(k.symbol.range.startLineNumber,k.symbol.range.endLineNumber);return this._comparator(M,R)});for(const E of b)p.push(this._stickyModelFromOutlineElement(E,E.symbol.selectionRange.startLineNumber));return{stickyOutlineElement:new s.StickyElement(void 0,p,void 0),providerID:g}}_stickyModelFromOutlineElement(a,g){const h=[];for(const b of a.children.values())if(b.symbol.selectionRange.startLineNumber!==b.symbol.range.endLineNumber)if(b.symbol.selectionRange.startLineNumber!==g)h.push(this._stickyModelFromOutlineElement(b,b.symbol.selectionRange.startLineNumber));else for(const w of b.children.values())h.push(this._stickyModelFromOutlineElement(w,b.symbol.selectionRange.startLineNumber));h.sort((b,w)=>this._comparator(b.range,w.range));const p=new s.StickyRange(a.symbol.selectionRange.startLineNumber,a.symbol.range.endLineNumber);return new s.StickyElement(p,h,void 0)}_comparator(a,g){return a.startLineNumber!==g.startLineNumber?a.startLineNumber-g.startLineNumber:g.endLineNumber-a.endLineNumber}_findSumOfRangesOfGroup(a){let g=0;for(const h of a.children.values())g+=this._findSumOfRangesOfGroup(h);return a instanceof y.OutlineElement?g+a.symbol.range.endLineNumber-a.symbol.selectionRange.startLineNumber:g}};f=Ie([ge(0,I.ILanguageFeaturesService)],f);class d extends u{constructor(a){super(),this._foldingLimitReporter=new S.RangesLimitReporter(a)}createStickyModel(a,g,h,p){const b=this._fromFoldingRegions(p);return new s.StickyModel(a.uri,g,b,void 0)}isModelValid(a){return a!==null}_fromFoldingRegions(a){const g=a.length,h=[],p=new s.StickyElement(void 0,[],void 0);for(let b=0;b0}createModelFromProvider(a,g,h){const p=S.FoldingController.getFoldingRangeProviders(this._languageFeaturesService,a);return new m.SyntaxRangeProvider(a,p,()=>this.createModelFromProvider(a,g,h),this._foldingLimitReporter,void 0).compute(h)}};o=Ie([ge(1,I.ILanguageFeaturesService)],o)}),define(te[893],ie([1,0,2,18,19,14,13,6,32,892]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyLineCandidateProvider=e.StickyLineCandidate=void 0;class C{constructor(n,t,r){this.startLineNumber=n,this.endLineNumber=t,this.nestingDepth=r}}e.StickyLineCandidate=C;let s=class extends L.Disposable{constructor(n,t,r){super(),this._languageFeaturesService=t,this._languageConfigurationService=r,this._onDidChangeStickyScroll=this._register(new m.Emitter),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._options=null,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=n,this._sessionStore=this._register(new L.DisposableStore),this._updateSoon=this._register(new D.RunOnceScheduler(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(u=>{u.hasChanged(114)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._stickyModelProvider=null,this._sessionStore.clear(),this._options=this._editor.getOption(114),this._options.enabled&&(this._stickyModelProvider=this._sessionStore.add(new v.StickyModelProvider(this._editor,this._languageConfigurationService,this._languageFeaturesService,this._options.defaultModel)),this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this.update())}getVersionId(){var n;return(n=this._model)===null||n===void 0?void 0:n.version}update(){var n;return be(this,void 0,void 0,function*(){(n=this._cts)===null||n===void 0||n.dispose(!0),this._cts=new y.CancellationTokenSource,yield this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()})}updateStickyModel(n){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._stickyModelProvider||this._editor.getModel().isTooLargeForTokenization()){this._model=null;return}const t=this._editor.getModel(),r=t.getVersionId(),u=yield this._stickyModelProvider.update(t,r,n);n.isCancellationRequested||(this._model=u)})}updateIndex(n){return n===-1?n=0:n<0&&(n=-n-2),n}getCandidateStickyLinesIntersectingFromStickyModel(n,t,r,u,f){if(t.children.length===0)return;let d=f;const l=[];for(let a=0;aa-g)),c=this.updateIndex((0,S.binarySearch)(l,n.startLineNumber+u,(a,g)=>a-g));for(let a=o;a<=c;a++){const g=t.children[a];if(!g)return;if(g.range){const h=g.range.startLineNumber,p=g.range.endLineNumber;n.startLineNumber<=p+1&&h-1<=n.endLineNumber&&h!==d&&(d=h,r.push(new C(h,p-1,u+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(n,g,r,u+1,h))}else this.getCandidateStickyLinesIntersectingFromStickyModel(n,g,r,u,f)}}getCandidateStickyLinesIntersecting(n){var t,r;if(!(!((t=this._model)===null||t===void 0)&&t.element))return[];let u=[];this.getCandidateStickyLinesIntersectingFromStickyModel(n,this._model.element,u,0,-1);const f=(r=this._editor._getViewModel())===null||r===void 0?void 0:r.getHiddenAreas();if(f)for(const d of f)u=u.filter(l=>!(l.startLineNumber>=d.startLineNumber&&l.endLineNumber<=d.endLineNumber+1));return u}};e.StickyLineCandidateProvider=s,e.StickyLineCandidateProvider=s=Ie([ge(1,I.ILanguageFeaturesService),ge(2,_.ILanguageConfigurationService)],s)}),define(te[894],ie([1,0,7,90,13,2,27,249,161,12,101,149,114,370,465]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollWidget=e.StickyScrollWidgetState=void 0;class t{constructor(h,p,b,w=null){this.startLineNumbers=h,this.endLineNumbers=p,this.lastLineRelativePosition=b,this.showEndForLine=w}equals(h){return!!h&&this.lastLineRelativePosition===h.lastLineRelativePosition&&this.showEndForLine===h.showEndForLine&&(0,y.equals)(this.startLineNumbers,h.startLineNumbers)&&(0,y.equals)(this.endLineNumbers,h.endLineNumbers)}}e.StickyScrollWidgetState=t;const r=(0,I.createTrustedTypesPolicy)("stickyScrollViewLayer",{createHTML:g=>g}),u="data-sticky-line-index",f="data-sticky-is-line",d="data-sticky-is-line-number",l="data-sticky-is-folding-icon";class o extends D.Disposable{constructor(h){super(),this._editor=h,this._foldingIconStore=new D.DisposableStore,this._rootDomNode=document.createElement("div"),this._lineNumbersDomNode=document.createElement("div"),this._linesDomNodeScrollable=document.createElement("div"),this._linesDomNode=document.createElement("div"),this._lineHeight=this._editor.getOption(66),this._stickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className="sticky-widget-line-numbers",this._lineNumbersDomNode.setAttribute("role","none"),this._linesDomNode.className="sticky-widget-lines",this._linesDomNode.setAttribute("role","list"),this._linesDomNodeScrollable.className="sticky-widget-lines-scrollable",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className="sticky-widget",this._rootDomNode.classList.toggle("peek",h instanceof _.EmbeddedCodeEditorWidget),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);const p=()=>{this._linesDomNode.style.left=this._editor.getOption(114).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:"0px"};this._register(this._editor.onDidChangeConfiguration(b=>{b.hasChanged(114)&&p(),b.hasChanged(66)&&(this._lineHeight=this._editor.getOption(66))})),this._register(this._editor.onDidScrollChange(b=>{b.scrollLeftChanged&&p(),b.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{p(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),p(),this._register(this._editor.onDidLayoutChange(b=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getStickyLineForLine(h){return this._stickyLines.find(p=>p.lineNumber===h)}getCurrentLines(){return this._lineNumbers}setState(h,p,b=1/0){if((!this._previousState&&!h||this._previousState&&this._previousState.equals(h))&&b===1/0)return;this._previousState=h;const w=this._stickyLines;if(this._clearStickyWidget(),!h||!this._editor._getViewModel())return;if(h.startLineNumbers.length*this._lineHeight+h.lastLineRelativePosition>0){this._lastLineRelativePosition=h.lastLineRelativePosition;const k=[...h.startLineNumbers];h.showEndForLine!==null&&(k[h.showEndForLine]=h.endLineNumbers[h.showEndForLine]),this._lineNumbers=k}else this._lastLineRelativePosition=0,this._lineNumbers=[];this._renderRootNode(w,p,b)}_updateWidgetWidth(){const h=this._editor.getLayoutInfo(),p=h.contentLeft;this._lineNumbersDomNode.style.width=`${p}px`,this._linesDomNodeScrollable.style.setProperty("--vscode-editorStickyScroll-scrollableWidth",`${this._editor.getScrollWidth()-h.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${h.width-h.verticalScrollbarWidth}px`}_clearStickyWidget(){this._stickyLines=[],this._foldingIconStore.clear(),L.clearNode(this._lineNumbersDomNode),L.clearNode(this._linesDomNode),this._rootDomNode.style.display="none"}_useFoldingOpacityTransition(h){this._lineNumbersDomNode.style.setProperty("--vscode-editorStickyScroll-foldingOpacityTransition",`opacity ${h?.5:0}s`)}_setFoldingIconsVisibility(h){for(const p of this._stickyLines){const b=p.foldingIcon;b&&b.setVisible(h?!0:b.isCollapsed)}}_renderRootNode(h,p,b=1/0){return be(this,void 0,void 0,function*(){const w=this._editor.getLayoutInfo();for(const[k,M]of this._lineNumbers.entries()){const R=h[k],B=M>=b||R?.lineNumber!==M?this._renderChildNode(k,M,p,w):this._updateTopAndZIndexOfStickyLine(R);B&&(this._linesDomNode.appendChild(B.lineDomNode),this._lineNumbersDomNode.appendChild(B.lineNumberDomNode),this._stickyLines.push(B))}p&&(this._setFoldingHoverListeners(),this._useFoldingOpacityTransition(!this._isOnGlyphMargin));const E=this._lineNumbers.length*this._lineHeight+this._lastLineRelativePosition;if(E===0){this._clearStickyWidget();return}this._rootDomNode.style.display="block",this._lineNumbersDomNode.style.height=`${E}px`,this._linesDomNodeScrollable.style.height=`${E}px`,this._rootDomNode.style.height=`${E}px`,this._rootDomNode.style.marginLeft="0px",this._updateMinContentWidth(),this._editor.layoutOverlayWidget(this)})}_setFoldingHoverListeners(){this._editor.getOption(109)==="mouseover"&&(this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_ENTER,p=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(L.addDisposableListener(this._lineNumbersDomNode,L.EventType.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(h,p,b,w){const E=this._editor._getViewModel();if(!E)return;const k=E.coordinatesConverter.convertModelPositionToViewPosition(new v.Position(p,1)).lineNumber,M=E.getViewLineRenderingData(k),R=this._editor.getOption(67);let B;try{B=s.LineDecoration.filter(M.inlineDecorations,k,M.minColumn,M.maxColumn)}catch{B=[]}const T=new i.RenderLineInput(!0,!0,M.content,M.continuesWithWrappedLine,M.isBasicASCII,M.containsRTL,0,M.tokens,B,M.tabSize,M.startVisibleColumn,1,1,1,500,"none",!0,!0,null),N=new C.StringBuilder(2e3),A=(0,i.renderViewLine)(T,N);let P;r?P=r.createHTML(N.build()):P=N.build();const O=document.createElement("span");O.setAttribute(u,String(h)),O.setAttribute(f,""),O.setAttribute("role","listitem"),O.tabIndex=0,O.className="sticky-line-content",O.classList.add(`stickyLine${p}`),O.style.lineHeight=`${this._lineHeight}px`,O.innerHTML=P;const x=document.createElement("span");x.setAttribute(u,String(h)),x.setAttribute(d,""),x.className="sticky-line-number",x.style.lineHeight=`${this._lineHeight}px`;const W=w.contentLeft;x.style.width=`${W}px`;const U=document.createElement("span");R.renderType===1||R.renderType===3&&p%10===0?U.innerText=p.toString():R.renderType===2&&(U.innerText=Math.abs(p-this._editor.getPosition().lineNumber).toString()),U.className="sticky-line-number-inner",U.style.lineHeight=`${this._lineHeight}px`,U.style.width=`${w.lineNumbersWidth}px`,U.style.paddingLeft=`${w.lineNumbersLeft}px`,x.appendChild(U);const F=this._renderFoldingIconForLine(b,p);F&&x.appendChild(F.domNode),this._editor.applyFontInfo(O),this._editor.applyFontInfo(U),x.style.lineHeight=`${this._lineHeight}px`,O.style.lineHeight=`${this._lineHeight}px`,x.style.height=`${this._lineHeight}px`,O.style.height=`${this._lineHeight}px`;const G=new c(h,p,O,x,F,A.characterMapping);return this._updateTopAndZIndexOfStickyLine(G)}_updateTopAndZIndexOfStickyLine(h){var p;const b=h.index,w=h.lineDomNode,E=h.lineNumberDomNode,k=b===this._lineNumbers.length-1,M="0",R="1";w.style.zIndex=k?M:R,E.style.zIndex=k?M:R;const B=`${b*this._lineHeight+this._lastLineRelativePosition+(!((p=h.foldingIcon)===null||p===void 0)&&p.isCollapsed?1:0)}px`,T=`${b*this._lineHeight}px`;return w.style.top=k?B:T,E.style.top=k?B:T,h}_renderFoldingIconForLine(h,p){const b=this._editor.getOption(109);if(!h||b==="never")return;const w=h.regions,E=w.findRange(p),k=w.getStartLineNumber(E);if(!(p===k))return;const R=w.isCollapsed(E),B=new a(R,k,w.getEndLineNumber(E),this._lineHeight);return B.setVisible(this._isOnGlyphMargin?!0:R||b==="always"),B.domNode.setAttribute(l,""),B}_updateMinContentWidth(){this._minContentWidthInPx=0;for(const h of this._stickyLines)h.lineDomNode.scrollWidth>this._minContentWidthInPx&&(this._minContentWidthInPx=h.lineDomNode.scrollWidth);this._minContentWidthInPx+=this._editor.getLayoutInfo().verticalScrollbarWidth}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:null}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(h){0<=h&&h0)return null;const p=this._getRenderedStickyLineFromChildDomNode(h);if(!p)return null;const b=(0,m.getColumnOfNodeOffset)(p.characterMapping,h,0);return new v.Position(p.lineNumber,b)}getLineNumberFromChildDomNode(h){var p,b;return(b=(p=this._getRenderedStickyLineFromChildDomNode(h))===null||p===void 0?void 0:p.lineNumber)!==null&&b!==void 0?b:null}_getRenderedStickyLineFromChildDomNode(h){const p=this.getLineIndexFromChildDomNode(h);return p===null||p<0||p>=this._stickyLines.length?null:this._stickyLines[p]}getLineIndexFromChildDomNode(h){const p=this._getAttributeValue(h,u);return p?parseInt(p,10):null}isInStickyLine(h){return this._getAttributeValue(h,f)!==void 0}isInFoldingIconDomNode(h){return this._getAttributeValue(h,l)!==void 0}_getAttributeValue(h,p){for(;h&&h!==this._rootDomNode;){const b=h.getAttribute(p);if(b!==null)return b;h=h.parentElement}}}e.StickyScrollWidget=o;class c{constructor(h,p,b,w,E,k){this.index=h,this.lineNumber=p,this.lineDomNode=b,this.lineNumberDomNode=w,this.foldingIcon=E,this.characterMapping=k}}class a{constructor(h,p,b,w){this.isCollapsed=h,this.foldingStartLine=p,this.foldingEndLine=b,this.dimension=w,this.domNode=document.createElement("div"),this.domNode.style.width=`${w}px`,this.domNode.style.height=`${w}px`,this.domNode.className=S.ThemeIcon.asClassName(h?n.foldingCollapsedIcon:n.foldingExpandedIcon)}setVisible(h){this.domNode.style.cursor=h?"pointer":"default",this.domNode.style.opacity=h?"1":"0"}}}),define(te[895],ie([1,0,7,113,14,9,6,2,139,10,161,865,703,15,8,89,31,86,23,223,133,348,860,104,45,171,466,248]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h){"use strict";var p;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestContentWidget=e.SuggestWidget=e.editorSuggestWidgetSelectedBackground=void 0,(0,u.registerColor)("editorSuggestWidget.background",{dark:u.editorWidgetBackground,light:u.editorWidgetBackground,hcDark:u.editorWidgetBackground,hcLight:u.editorWidgetBackground},i.localize(0,null)),(0,u.registerColor)("editorSuggestWidget.border",{dark:u.editorWidgetBorder,light:u.editorWidgetBorder,hcDark:u.editorWidgetBorder,hcLight:u.editorWidgetBorder},i.localize(1,null));const b=(0,u.registerColor)("editorSuggestWidget.foreground",{dark:u.editorForeground,light:u.editorForeground,hcDark:u.editorForeground,hcLight:u.editorForeground},i.localize(2,null));(0,u.registerColor)("editorSuggestWidget.selectedForeground",{dark:u.quickInputListFocusForeground,light:u.quickInputListFocusForeground,hcDark:u.quickInputListFocusForeground,hcLight:u.quickInputListFocusForeground},i.localize(3,null)),(0,u.registerColor)("editorSuggestWidget.selectedIconForeground",{dark:u.quickInputListFocusIconForeground,light:u.quickInputListFocusIconForeground,hcDark:u.quickInputListFocusIconForeground,hcLight:u.quickInputListFocusIconForeground},i.localize(4,null)),e.editorSuggestWidgetSelectedBackground=(0,u.registerColor)("editorSuggestWidget.selectedBackground",{dark:u.quickInputListFocusBackground,light:u.quickInputListFocusBackground,hcDark:u.quickInputListFocusBackground,hcLight:u.quickInputListFocusBackground},i.localize(5,null)),(0,u.registerColor)("editorSuggestWidget.highlightForeground",{dark:u.listHighlightForeground,light:u.listHighlightForeground,hcDark:u.listHighlightForeground,hcLight:u.listHighlightForeground},i.localize(6,null)),(0,u.registerColor)("editorSuggestWidget.focusHighlightForeground",{dark:u.listFocusHighlightForeground,light:u.listFocusHighlightForeground,hcDark:u.listFocusHighlightForeground,hcLight:u.listFocusHighlightForeground},i.localize(7,null)),(0,u.registerColor)("editorSuggestWidgetStatus.foreground",{dark:(0,u.transparent)(b,.5),light:(0,u.transparent)(b,.5),hcDark:(0,u.transparent)(b,.5),hcLight:(0,u.transparent)(b,.5)},i.localize(8,null));class w{constructor(R,B){this._service=R,this._key=`suggestWidget.size/${B.getEditorType()}/${B instanceof C.EmbeddedCodeEditorWidget}`}restore(){var R;const B=(R=this._service.get(this._key,0))!==null&&R!==void 0?R:"";try{const T=JSON.parse(B);if(L.Dimension.is(T))return L.Dimension.lift(T)}catch{}}store(R){this._service.store(this._key,JSON.stringify(R),0,1)}reset(){this._service.remove(this._key,0)}}let E=p=class{constructor(R,B,T,N,A){this.editor=R,this._storageService=B,this._state=0,this._isAuto=!1,this._pendingLayout=new m.MutableDisposable,this._pendingShowDetails=new m.MutableDisposable,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new y.TimeoutTimer,this._disposables=new m.DisposableStore,this._onDidSelect=new S.PauseableEmitter,this._onDidFocus=new S.PauseableEmitter,this._onDidHide=new S.Emitter,this._onDidShow=new S.Emitter,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new S.Emitter,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new l.ResizableHTMLElement,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new k(this,R),this._persistedSize=new w(B,R);class P{constructor(Y,ne,se=!1,J=!1){this.persistedSize=Y,this.currentSize=ne,this.persistHeight=se,this.persistWidth=J}}let O;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),O=new P(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(G=>{var Y,ne,se,J;if(this._resize(G.dimension.width,G.dimension.height),O&&(O.persistHeight=O.persistHeight||!!G.north||!!G.south,O.persistWidth=O.persistWidth||!!G.east||!!G.west),!!G.done){if(O){const{itemHeight:q,defaultSize:H}=this.getLayoutInfo(),V=Math.round(q/2);let{width:Z,height:ee}=this.element.size;(!O.persistHeight||Math.abs(O.currentSize.height-ee)<=V)&&(ee=(ne=(Y=O.persistedSize)===null||Y===void 0?void 0:Y.height)!==null&&ne!==void 0?ne:H.height),(!O.persistWidth||Math.abs(O.currentSize.width-Z)<=V)&&(Z=(J=(se=O.persistedSize)===null||se===void 0?void 0:se.width)!==null&&J!==void 0?J:H.width),this._persistedSize.store(new L.Dimension(Z,ee))}this._contentWidget.unlockPreference(),O=void 0}})),this._messageElement=L.append(this.element.domNode,L.$(".message")),this._listElement=L.append(this.element.domNode,L.$(".tree"));const x=this._disposables.add(A.createInstance(c.SuggestDetailsWidget,this.editor));x.onDidClose(this.toggleDetails,this,this._disposables),this._details=new c.SuggestDetailsOverlay(x,this.editor);const W=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(117).showIcons);W();const U=A.createInstance(a.ItemRenderer,this.editor);this._disposables.add(U),this._disposables.add(U.onDidToggleDetails(()=>this.toggleDetails())),this._list=new I.List("SuggestWidget",this._listElement,{getHeight:G=>this.getLayoutInfo().itemHeight,getTemplateId:G=>"suggestion"},[U],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>i.localize(11,null),getWidgetRole:()=>"listbox",getAriaLabel:G=>{let Y=G.textLabel;if(typeof G.completion.label!="string"){const{detail:q,description:H}=G.completion.label;q&&H?Y=i.localize(12,null,Y,q,H):q?Y=i.localize(13,null,Y,q):H&&(Y=i.localize(14,null,Y,H))}if(!G.isResolved||!this._isDetailsVisible())return Y;const{documentation:ne,detail:se}=G.completion,J=v.format("{0}{1}",se||"",ne?typeof ne=="string"?ne:ne.value:"");return i.localize(15,null,Y,J)}}}),this._list.style((0,g.getListStyles)({listInactiveFocusBackground:e.editorSuggestWidgetSelectedBackground,listInactiveFocusOutline:u.activeContrastBorder})),this._status=A.createInstance(s.SuggestWidgetStatus,this.element.domNode,o.suggestWidgetStatusbarMenu);const F=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(117).showStatusBar);F(),this._disposables.add(N.onDidColorThemeChange(G=>this._onThemeChange(G))),this._onThemeChange(N.getColorTheme()),this._disposables.add(this._list.onMouseDown(G=>this._onListMouseDownOrTap(G))),this._disposables.add(this._list.onTap(G=>this._onListMouseDownOrTap(G))),this._disposables.add(this._list.onDidChangeSelection(G=>this._onListSelection(G))),this._disposables.add(this._list.onDidChangeFocus(G=>this._onListFocus(G))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(G=>{G.hasChanged(117)&&(F(),W())})),this._ctxSuggestWidgetVisible=o.Context.Visible.bindTo(T),this._ctxSuggestWidgetDetailsVisible=o.Context.DetailsVisible.bindTo(T),this._ctxSuggestWidgetMultipleSuggestions=o.Context.MultipleSuggestions.bindTo(T),this._ctxSuggestWidgetHasFocusedSuggestion=o.Context.HasFocusedSuggestion.bindTo(T),this._disposables.add(L.addStandardDisposableListener(this._details.widget.domNode,"keydown",G=>{this._onDetailsKeydown.fire(G)})),this._disposables.add(this.editor.onMouseDown(G=>this._onEditorMouseDown(G)))}dispose(){var R;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),(R=this._loadingTimeout)===null||R===void 0||R.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(R){this._details.widget.domNode.contains(R.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(R.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){this._state!==0&&this._contentWidget.layout()}_onListMouseDownOrTap(R){typeof R.element>"u"||typeof R.index>"u"||(R.browserEvent.preventDefault(),R.browserEvent.stopPropagation(),this._select(R.element,R.index))}_onListSelection(R){R.elements.length&&this._select(R.elements[0],R.indexes[0])}_select(R,B){const T=this._completionModel;T&&(this._onDidSelect.fire({item:R,index:B,model:T}),this.editor.focus())}_onThemeChange(R){this._details.widget.borderWidth=(0,f.isHighContrast)(R.type)?2:1}_onListFocus(R){var B;if(this._ignoreFocusEvents)return;if(!R.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);const T=R.elements[0],N=R.indexes[0];T!==this._focusedItem&&((B=this._currentSuggestionDetails)===null||B===void 0||B.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=T,this._list.reveal(N),this._currentSuggestionDetails=(0,y.createCancelablePromise)(A=>be(this,void 0,void 0,function*(){const P=(0,y.disposableTimeout)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),O=A.onCancellationRequested(()=>P.dispose());try{return yield T.resolve(A)}finally{P.dispose(),O.dispose()}})),this._currentSuggestionDetails.then(()=>{N>=this._list.length||T!==this._list.element(N)||(this._ignoreFocusEvents=!0,this._list.splice(N,1,[T]),this._list.setFocus([N]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,a.getAriaId)(N)}))}).catch(D.onUnexpectedError)),this._onDidFocus.fire({item:T,index:N,model:this._completionModel})}_setState(R){if(this._state!==R)switch(this._state=R,this.element.domNode.classList.toggle("frozen",R===4),this.element.domNode.classList.remove("message"),R){case 0:L.hide(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=p.LOADING_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,h.status)(p.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=p.NO_SUGGESTIONS_MESSAGE,L.hide(this._listElement,this._status.element),L.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,h.status)(p.NO_SUGGESTIONS_MESSAGE);break;case 3:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 4:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._show();break;case 5:L.hide(this._messageElement),L.show(this._listElement,this._status.element),this._details.show(),this._show();break}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(R,B){this._state===0&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!R,this._isAuto||(this._loadingTimeout=(0,y.disposableTimeout)(()=>this._setState(1),B)))}showSuggestions(R,B,T,N,A){var P,O;if(this._contentWidget.setPosition(this.editor.getPosition()),(P=this._loadingTimeout)===null||P===void 0||P.dispose(),(O=this._currentSuggestionDetails)===null||O===void 0||O.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==R&&(this._completionModel=R),T&&this._state!==2&&this._state!==0){this._setState(4);return}const x=this._completionModel.items.length,W=x===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(x>1),W){this._setState(N?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(T?4:3),this._list.reveal(B,0),this._list.setFocus(A?[]:[B])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(this._state!==0&&this._state!==2&&this._state!==1&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){this._state===5?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):this._state===3&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,c.canExpandCompletionItem)(this._list.getFocusedElements()[0])||this._explainMode)&&(this._state===3||this._state===5||this._state===4)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(R){this._pendingShowDetails.value=L.runAtThisOrScheduleAtNextAnimationFrame(()=>{this._pendingShowDetails.clear(),this._details.show(),R?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var R;this._pendingLayout.clear(),this._pendingShowDetails.clear(),(R=this._loadingTimeout)===null||R===void 0||R.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const B=this._persistedSize.restore(),T=Math.ceil(this.getLayoutInfo().itemHeight*4.3);B&&B.heightW&&(x=W);const U=this._completionModel?this._completionModel.stats.pLabelLen*P.typicalHalfwidthCharacterWidth:x,F=P.statusBarHeight+this._list.contentHeight+P.borderHeight,G=P.itemHeight+P.statusBarHeight,Y=L.getDomNodePagePosition(this.editor.getDomNode()),ne=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),se=Y.top+ne.top+ne.height,J=Math.min(A.height-se-P.verticalPadding,F),q=Y.top+ne.top-P.verticalPadding,H=Math.min(q,F);let V=Math.min(Math.max(H,J)+P.borderHeight,F);O===((B=this._cappedHeight)===null||B===void 0?void 0:B.capped)&&(O=this._cappedHeight.wanted),OV&&(O=V);const Z=150;O>J||this._forceRenderingAbove&&q>Z?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),V=H):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),V=J),this.element.preferredSize=new L.Dimension(U,P.defaultSize.height),this.element.maxSize=new L.Dimension(W,V),this.element.minSize=new L.Dimension(220,G),this._cappedHeight=O===F?{wanted:(N=(T=this._cappedHeight)===null||T===void 0?void 0:T.wanted)!==null&&N!==void 0?N:R.height,capped:O}:void 0}this._resize(x,O)}_resize(R,B){const{width:T,height:N}=this.element.maxSize;R=Math.min(T,R),B=Math.min(N,B);const{statusBarHeight:A}=this.getLayoutInfo();this._list.layout(B-A,R),this._listElement.style.height=`${B-A}px`,this.element.layout(B,R),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var R;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,((R=this._contentWidget.getPosition())===null||R===void 0?void 0:R.preference[0])===2)}getLayoutInfo(){const R=this.editor.getOption(50),B=(0,_.clamp)(this.editor.getOption(119)||R.lineHeight,8,1e3),T=!this.editor.getOption(117).showStatusBar||this._state===2||this._state===1?0:B,N=this._details.widget.borderWidth,A=2*N;return{itemHeight:B,statusBarHeight:T,borderWidth:N,borderHeight:A,typicalHalfwidthCharacterWidth:R.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new L.Dimension(430,T+12*B+A)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(R){this._storageService.store("expandSuggestionDocs",R,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};e.SuggestWidget=E,E.LOADING_MESSAGE=i.localize(9,null),E.NO_SUGGESTIONS_MESSAGE=i.localize(10,null),e.SuggestWidget=E=p=Ie([ge(1,r.IStorageService),ge(2,n.IContextKeyService),ge(3,d.IThemeService),ge(4,t.IInstantiationService)],E);class k{constructor(R,B){this._widget=R,this._editor=B,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return this._hidden||!this._position||!this._preference?null:{position:this._position,preference:[this._preference]}}beforeRender(){const{height:R,width:B}=this._widget.element.size,{borderWidth:T,horizontalPadding:N}=this._widget.getLayoutInfo();return new L.Dimension(B+2*T+N,R+2*T)}afterRender(R){this._widget._afterRender(R)}setPreference(R){this._preferenceLocked||(this._preference=R)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(R){this._position=R}}e.SuggestContentWidget=k}),define(te[372],ie([1,0,49,37,29,712,31,23,470]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectionHighlightDecorationOptions=e.getHighlightDecorationOptions=void 0;const _=(0,S.registerColor)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},D.localize(0,null),!0);(0,S.registerColor)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},D.localize(1,null),!0),(0,S.registerColor)("editor.wordHighlightTextBackground",{light:_,dark:_,hcDark:_,hcLight:_},D.localize(2,null),!0);const v=(0,S.registerColor)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(3,null));(0,S.registerColor)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:S.activeContrastBorder,hcLight:S.activeContrastBorder},D.localize(4,null)),(0,S.registerColor)("editor.wordHighlightTextBorder",{light:v,dark:v,hcDark:v,hcLight:v},D.localize(5,null));const C=(0,S.registerColor)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},D.localize(6,null),!0),s=(0,S.registerColor)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},D.localize(7,null),!0),i=(0,S.registerColor)("editorOverviewRuler.wordHighlightTextForeground",{dark:S.overviewRulerSelectionHighlightForeground,light:S.overviewRulerSelectionHighlightForeground,hcDark:S.overviewRulerSelectionHighlightForeground,hcLight:S.overviewRulerSelectionHighlightForeground},D.localize(8,null),!0),n=I.ModelDecorationOptions.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,m.themeColorFromId)(s),position:L.OverviewRulerLane.Center},minimap:{color:(0,m.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),t=I.ModelDecorationOptions.register({description:"word-highlight-text",stickiness:1,className:"wordHighlightText",overviewRuler:{color:(0,m.themeColorFromId)(i),position:L.OverviewRulerLane.Center},minimap:{color:(0,m.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),r=I.ModelDecorationOptions.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,m.themeColorFromId)(S.overviewRulerSelectionHighlightForeground),position:L.OverviewRulerLane.Center},minimap:{color:(0,m.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}}),u=I.ModelDecorationOptions.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),f=I.ModelDecorationOptions.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,m.themeColorFromId)(C),position:L.OverviewRulerLane.Center},minimap:{color:(0,m.themeColorFromId)(S.minimapSelectionOccurrenceHighlight),position:L.MinimapPosition.Inline}});function d(o){return o===y.DocumentHighlightKind.Write?n:o===y.DocumentHighlightKind.Text?t:f}e.getHighlightDecorationOptions=d;function l(o){return o?u:r}e.getSelectionHighlightDecorationOptions=l,(0,m.registerThemingParticipant)((o,c)=>{const a=o.getColor(S.editorSelectionHighlight);a&&c.addRule(`.monaco-editor .selectionHighlight { background-color: ${a.transparent(.5)}; }`)})}),define(te[896],ie([1,0,45,14,62,2,16,206,5,24,22,369,688,30,15,18,372,8]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),e.FocusPreviousCursor=e.FocusNextCursor=e.SelectionHighlighter=e.CompatChangeAll=e.SelectHighlightsAction=e.MoveSelectionToPreviousFindMatchAction=e.MoveSelectionToNextFindMatchAction=e.AddSelectionToPreviousFindMatchAction=e.AddSelectionToNextFindMatchAction=e.MultiCursorSelectionControllerAction=e.MultiCursorSelectionController=e.MultiCursorSession=e.MultiCursorSessionResult=e.InsertCursorBelow=e.InsertCursorAbove=void 0;function l(F,G){const Y=G.filter(ne=>!F.find(se=>se.equals(ne)));if(Y.length>=1){const ne=Y.map(J=>`line ${J.viewState.position.lineNumber} column ${J.viewState.position.column}`).join(", "),se=Y.length===1?i.localize(0,null,ne):i.localize(1,null,ne);(0,L.status)(se)}}class o extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAbove",label:i.localize(2,null),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(3,null),order:2}})}run(G,Y,ne){if(!Y.hasModel())return;let se=!0;ne&&ne.logicalLine===!1&&(se=!1);const J=Y._getViewModel();if(J.cursorConfig.readOnly)return;J.model.pushStackElement();const q=J.getCursorStates();J.setCursorStates(ne.source,3,m.CursorMoveCommands.addCursorUp(J,q,se)),J.revealTopMostCursor(ne.source),l(q,J.getCursorStates())}}e.InsertCursorAbove=o;class c extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorBelow",label:i.localize(4,null),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(5,null),order:3}})}run(G,Y,ne){if(!Y.hasModel())return;let se=!0;ne&&ne.logicalLine===!1&&(se=!1);const J=Y._getViewModel();if(J.cursorConfig.readOnly)return;J.model.pushStackElement();const q=J.getCursorStates();J.setCursorStates(ne.source,3,m.CursorMoveCommands.addCursorDown(J,q,se)),J.revealBottomMostCursor(ne.source),l(q,J.getCursorStates())}}e.InsertCursorBelow=c;class a extends S.EditorAction{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:i.localize(6,null),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(7,null),order:4}})}getCursorsForSelection(G,Y,ne){if(!G.isEmpty()){for(let se=G.startLineNumber;se1&&ne.push(new v.Selection(G.endLineNumber,G.endColumn,G.endLineNumber,G.endColumn))}}run(G,Y){if(!Y.hasModel())return;const ne=Y.getModel(),se=Y.getSelections(),J=Y._getViewModel(),q=J.getCursorStates(),H=[];se.forEach(V=>this.getCursorsForSelection(V,ne,H)),H.length>0&&Y.setSelections(H),l(q,J.getCursorStates())}}class g extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToBottom",label:i.localize(8,null),alias:"Add Cursors To Bottom",precondition:void 0})}run(G,Y){if(!Y.hasModel())return;const ne=Y.getSelections(),se=Y.getModel().getLineCount(),J=[];for(let V=ne[0].startLineNumber;V<=se;V++)J.push(new v.Selection(V,ne[0].startColumn,V,ne[0].endColumn));const q=Y._getViewModel(),H=q.getCursorStates();J.length>0&&Y.setSelections(J),l(H,q.getCursorStates())}}class h extends S.EditorAction{constructor(){super({id:"editor.action.addCursorsToTop",label:i.localize(9,null),alias:"Add Cursors To Top",precondition:void 0})}run(G,Y){if(!Y.hasModel())return;const ne=Y.getSelections(),se=[];for(let H=ne[0].startLineNumber;H>=1;H--)se.push(new v.Selection(H,ne[0].startColumn,H,ne[0].endColumn));const J=Y._getViewModel(),q=J.getCursorStates();se.length>0&&Y.setSelections(se),l(q,J.getCursorStates())}}class p{constructor(G,Y,ne){this.selections=G,this.revealRange=Y,this.revealScrollType=ne}}e.MultiCursorSessionResult=p;class b{static create(G,Y){if(!G.hasModel())return null;const ne=Y.getState();if(!G.hasTextFocus()&&ne.isRevealed&&ne.searchString.length>0)return new b(G,Y,!1,ne.searchString,ne.wholeWord,ne.matchCase,null);let se=!1,J,q;const H=G.getSelections();H.length===1&&H[0].isEmpty()?(se=!0,J=!0,q=!0):(J=ne.wholeWord,q=ne.matchCase);const V=G.getSelection();let Z,ee=null;if(V.isEmpty()){const le=G.getConfiguredWordAtPosition(V.getStartPosition());if(!le)return null;Z=le.word,ee=new v.Selection(V.startLineNumber,le.startColumn,V.startLineNumber,le.endColumn)}else Z=G.getModel().getValueInRange(V).replace(/\r\n/g,` +`);return new b(G,Y,se,Z,J,q,ee)}constructor(G,Y,ne,se,J,q,H){this._editor=G,this.findController=Y,this.isDisconnectedFromFindController=ne,this.searchText=se,this.wholeWord=J,this.matchCase=q,this.currentMatch=H}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const G=this._getNextMatch();if(!G)return null;const Y=this._editor.getSelections();return new p(Y.concat(G),G,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const G=this._getNextMatch();if(!G)return null;const Y=this._editor.getSelections();return new p(Y.slice(0,Y.length-1).concat(G),G,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();const G=this._editor.getSelections(),Y=G[G.length-1],ne=this._editor.getModel().findNextMatch(this.searchText,Y.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(129):null,!1);return ne?new v.Selection(ne.range.startLineNumber,ne.range.startColumn,ne.range.endLineNumber,ne.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const G=this._getPreviousMatch();if(!G)return null;const Y=this._editor.getSelections();return new p(Y.concat(G),G,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const G=this._getPreviousMatch();if(!G)return null;const Y=this._editor.getSelections();return new p(Y.slice(0,Y.length-1).concat(G),G,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();const G=this._editor.getSelections(),Y=G[G.length-1],ne=this._editor.getModel().findPreviousMatch(this.searchText,Y.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(129):null,!1);return ne?new v.Selection(ne.range.startLineNumber,ne.range.startColumn,ne.range.endLineNumber,ne.range.endColumn):null}selectAll(G){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const Y=this._editor.getModel();return G?Y.findMatches(this.searchText,G,!1,this.matchCase,this.wholeWord?this._editor.getOption(129):null,!1,1073741824):Y.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(129):null,!1,1073741824)}}e.MultiCursorSession=b;class w extends D.Disposable{static get(G){return G.getContribution(w.ID)}constructor(G){super(),this._sessionDispose=this._register(new D.DisposableStore),this._editor=G,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(G){if(!this._session){const Y=b.create(this._editor,G);if(!Y)return;this._session=Y;const ne={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(ne.wholeWordOverride=1,ne.matchCaseOverride=1,ne.isRegexOverride=2),G.getState().change(ne,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(se=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(G.getState().onFindReplaceStateChange(se=>{(se.matchCase||se.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const G={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(G,!1)}this._session=null}_setSelections(G){this._ignoreSelectionChange=!0,this._editor.setSelections(G),this._ignoreSelectionChange=!1}_expandEmptyToWord(G,Y){if(!Y.isEmpty())return Y;const ne=this._editor.getConfiguredWordAtPosition(Y.getStartPosition());return ne?new v.Selection(Y.startLineNumber,ne.startColumn,Y.startLineNumber,ne.endColumn):Y}_applySessionResult(G){G&&(this._setSelections(G.selections),G.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(G.revealRange,G.revealScrollType))}getSession(G){return this._session}addSelectionToNextFindMatch(G){if(this._editor.hasModel()){if(!this._session){const Y=this._editor.getSelections();if(Y.length>1){const se=G.getState().matchCase;if(!O(this._editor.getModel(),Y,se)){const q=this._editor.getModel(),H=[];for(let V=0,Z=Y.length;V0&&ne.isRegex){const se=this._editor.getModel();ne.searchScope?Y=se.findMatches(ne.searchString,ne.searchScope,ne.isRegex,ne.matchCase,ne.wholeWord?this._editor.getOption(129):null,!1,1073741824):Y=se.findMatches(ne.searchString,!0,ne.isRegex,ne.matchCase,ne.wholeWord?this._editor.getOption(129):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(G),!this._session)return;Y=this._session.selectAll(ne.searchScope)}if(Y.length>0){const se=this._editor.getSelection();for(let J=0,q=Y.length;Jnew v.Selection(J.range.startLineNumber,J.range.startColumn,J.range.endLineNumber,J.range.endColumn)))}}}e.MultiCursorSelectionController=w,w.ID="editor.contrib.multiCursorController";class E extends S.EditorAction{run(G,Y){const ne=w.get(Y);if(!ne)return;const se=Y._getViewModel();if(se){const J=se.getCursorStates(),q=s.CommonFindController.get(Y);if(q)this._run(ne,q);else{const H=G.get(f.IInstantiationService).createInstance(s.CommonFindController,Y);this._run(ne,H),H.dispose()}l(J,se.getCursorStates())}}}e.MultiCursorSelectionControllerAction=E;class k extends E{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:i.localize(10,null),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:2082,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(11,null),order:5}})}_run(G,Y){G.addSelectionToNextFindMatch(Y)}}e.AddSelectionToNextFindMatchAction=k;class M extends E{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:i.localize(12,null),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(13,null),order:6}})}_run(G,Y){G.addSelectionToPreviousFindMatch(Y)}}e.AddSelectionToPreviousFindMatchAction=M;class R extends E{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:i.localize(14,null),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:(0,y.KeyChord)(2089,2082),weight:100}})}_run(G,Y){G.moveSelectionToNextFindMatch(Y)}}e.MoveSelectionToNextFindMatchAction=R;class B extends E{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:i.localize(15,null),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(G,Y){G.moveSelectionToPreviousFindMatch(Y)}}e.MoveSelectionToPreviousFindMatchAction=B;class T extends E{constructor(){super({id:"editor.action.selectHighlights",label:i.localize(16,null),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:C.EditorContextKeys.focus,primary:3114,weight:100},menuOpts:{menuId:n.MenuId.MenubarSelectionMenu,group:"3_multi",title:i.localize(17,null),order:7}})}_run(G,Y){G.selectAll(Y)}}e.SelectHighlightsAction=T;class N extends E{constructor(){super({id:"editor.action.changeAll",label:i.localize(18,null),alias:"Change All Occurrences",precondition:t.ContextKeyExpr.and(C.EditorContextKeys.writable,C.EditorContextKeys.editorTextFocus),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(G,Y){G.selectAll(Y)}}e.CompatChangeAll=N;class A{constructor(G,Y,ne,se,J){this._model=G,this._searchText=Y,this._matchCase=ne,this._wordSeparators=se,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,J&&this._model===J._model&&this._searchText===J._searchText&&this._matchCase===J._matchCase&&this._wordSeparators===J._wordSeparators&&this._modelVersionId===J._modelVersionId&&(this._cachedFindMatches=J._cachedFindMatches)}findMatches(){return this._cachedFindMatches===null&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(G=>G.range),this._cachedFindMatches.sort(_.Range.compareRangesUsingStarts)),this._cachedFindMatches}}let P=d=class extends D.Disposable{constructor(G,Y){super(),this._languageFeaturesService=Y,this.editor=G,this._isEnabled=G.getOption(107),this._decorations=G.createDecorationsCollection(),this.updateSoon=this._register(new I.RunOnceScheduler(()=>this._update(),300)),this.state=null,this._register(G.onDidChangeConfiguration(se=>{this._isEnabled=G.getOption(107)})),this._register(G.onDidChangeCursorSelection(se=>{this._isEnabled&&(se.selection.isEmpty()?se.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(G.onDidChangeModel(se=>{this._setState(null)})),this._register(G.onDidChangeModelContent(se=>{this._isEnabled&&this.updateSoon.schedule()}));const ne=s.CommonFindController.get(G);ne&&this._register(ne.getState().onFindReplaceStateChange(se=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(d._createState(this.state,this._isEnabled,this.editor))}static _createState(G,Y,ne){if(!Y||!ne.hasModel())return null;const se=ne.getSelection();if(se.startLineNumber!==se.endLineNumber)return null;const J=w.get(ne);if(!J)return null;const q=s.CommonFindController.get(ne);if(!q)return null;let H=J.getSession(q);if(!H){const ee=ne.getSelections();if(ee.length>1){const ue=q.getState().matchCase;if(!O(ne.getModel(),ee,ue))return null}H=b.create(ne,q)}if(!H||H.currentMatch||/^[ \t]+$/.test(H.searchText)||H.searchText.length>200)return null;const V=q.getState(),Z=V.matchCase;if(V.isRevealed){let ee=V.searchString;Z||(ee=ee.toLowerCase());let le=H.searchText;if(Z||(le=le.toLowerCase()),ee===le&&H.matchCase===V.matchCase&&H.wholeWord===V.wholeWord&&!V.isRegex)return null}return new A(ne.getModel(),H.searchText,H.matchCase,H.wholeWord?ne.getOption(129):null,G)}_setState(G){if(this.state=G,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;const Y=this.editor.getModel();if(Y.isTooLargeForTokenization())return;const ne=this.state.findMatches(),se=this.editor.getSelections();se.sort(_.Range.compareRangesUsingStarts);const J=[];for(let V=0,Z=0,ee=ne.length,le=se.length;V=le)J.push(ue),V++;else{const de=_.Range.compareRangesUsingStarts(ue,se[Z]);de<0?((se[Z].isEmpty()||!_.Range.areIntersecting(ue,se[Z]))&&J.push(ue),V++):(de>0||V++,Z++)}}const q=this._languageFeaturesService.documentHighlightProvider.has(Y)&&this.editor.getOption(80),H=J.map(V=>({range:V,options:(0,u.getSelectionHighlightDecorationOptions)(q)}));this._decorations.set(H)}dispose(){this._setState(null),super.dispose()}};e.SelectionHighlighter=P,P.ID="editor.contrib.selectionHighlighter",e.SelectionHighlighter=P=d=Ie([ge(1,r.ILanguageFeaturesService)],P);function O(F,G,Y){const ne=x(F,G[0],!Y);for(let se=1,J=G.length;se()=>Promise.resolve(A.provideDocumentHighlights(R,B,T)).then(void 0,S.onUnexpectedExternalError)),I.isNonEmptyArray)}e.getOccurrencesAtPosition=l;class o{constructor(R,B,T){this._model=R,this._selection=B,this._wordSeparators=T,this._wordRange=this._getCurrentWordRange(R,B),this._result=null}get result(){return this._result||(this._result=(0,y.createCancelablePromise)(R=>this._compute(this._model,this._selection,this._wordSeparators,R))),this._result}_getCurrentWordRange(R,B){const T=R.getWordAtPosition(B.getPosition());return T?new v.Range(B.startLineNumber,T.startColumn,B.startLineNumber,T.endColumn):null}isValid(R,B,T){const N=B.startLineNumber,A=B.startColumn,P=B.endColumn,O=this._getCurrentWordRange(R,B);let x=!!(this._wordRange&&this._wordRange.equalsRange(O));for(let W=0,U=T.length;!x&&W=P&&(x=!0)}return x}cancel(){this.result.cancel()}}class c extends o{constructor(R,B,T,N){super(R,B,T),this._providers=N}_compute(R,B,T,N){return l(this._providers,R,B.getPosition(),N).then(A=>A||[])}}class a extends o{constructor(R,B,T){super(R,B,T),this._selectionIsEmpty=B.isEmpty()}_compute(R,B,T,N){return(0,y.timeout)(250,N).then(()=>{if(!B.isEmpty())return[];const A=R.getWordAtPosition(B.getPosition());return!A||A.word.length>1e3?[]:R.findMatches(A.word,!0,!1,!0,T,!1).map(O=>({range:O.range,kind:s.DocumentHighlightKind.Text}))})}isValid(R,B,T){const N=B.isEmpty();return this._selectionIsEmpty!==N?!1:super.isValid(R,B,T)}}function g(M,R,B,T){return M.has(R)?new c(R,B,T,M):new a(R,B,T)}(0,_.registerModelAndPositionCommand)("_executeDocumentHighlights",(M,R,B)=>{const T=M.get(t.ILanguageFeaturesService);return l(T.documentHighlightProvider,R,B,D.CancellationToken.None)});class h{constructor(R,B,T,N){this.toUnhook=new m.DisposableStore,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=R,this.providers=B,this.linkedHighlighters=T,this._hasWordHighlights=d.bindTo(N),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(80),this.model=this.editor.getModel(),this.toUnhook.add(R.onDidChangeCursorPosition(A=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(A)})),this.toUnhook.add(R.onDidChangeModelContent(A=>{this._stopAll()})),this.toUnhook.add(R.onDidChangeConfiguration(A=>{const P=this.editor.getOption(80);this.occurrencesHighlight!==P&&(this.occurrencesHighlight=P,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(v.Range.compareRangesUsingStarts)}moveNext(){const R=this._getSortedHighlights(),T=(R.findIndex(A=>A.containsPosition(this.editor.getPosition()))+1)%R.length,N=R[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(N.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(N);const A=this._getWord();if(A){const P=this.editor.getModel().getLineContent(N.startLineNumber);(0,L.alert)(`${P}, ${T+1} of ${R.length} for '${A.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){const R=this._getSortedHighlights(),T=(R.findIndex(A=>A.containsPosition(this.editor.getPosition()))-1+R.length)%R.length,N=R[T];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(N.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(N);const A=this._getWord();if(A){const P=this.editor.getModel().getLineContent(N.startLineNumber);(0,L.alert)(`${P}, ${T+1} of ${R.length} for '${A.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(R){if(!this.occurrencesHighlight){this._stopAll();return}if(R.reason!==3){this._stopAll();return}this._run()}_getWord(){const R=this.editor.getSelection(),B=R.startLineNumber,T=R.startColumn;return this.model.getWordAtPosition({lineNumber:B,column:T})}_run(){const R=this.editor.getSelection();if(R.startLineNumber!==R.endLineNumber){this._stopAll();return}const B=R.startColumn,T=R.endColumn,N=this._getWord();if(!N||N.startColumn>B||N.endColumn{P===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=O||[],this._beginRenderDecorations())},S.onUnexpectedError)}}_beginRenderDecorations(){const R=new Date().getTime(),B=this.lastCursorPositionChangeTime+250;R>=B?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},B-R)}renderDecorations(){this.renderDecorationsTimer=-1;const R=[];for(const B of this.workerRequestValue)B.range&&R.push({range:B.range,options:(0,r.getHighlightDecorationOptions)(B.kind)});this.decorations.set(R),this._hasWordHighlights.set(this.hasDecorations());for(const B of this.linkedHighlighters())B?.editor.getModel()===this.editor.getModel()&&(B._stopAll(),B.decorations.set(R),B._hasWordHighlights.set(B.hasDecorations()))}dispose(){this._stopAll(),this.toUnhook.dispose()}}let p=f=class extends m.Disposable{static get(R){return R.getContribution(f.ID)}constructor(R,B,T){super(),this.wordHighlighter=null,this.linkedContributions=new Set;const N=()=>{R.hasModel()&&!R.getModel().isTooLargeForTokenization()&&(this.wordHighlighter=new h(R,T.documentHighlightProvider,()=>u.Iterable.map(this.linkedContributions,A=>A.wordHighlighter),B))};this._register(R.onDidChangeModel(A=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),N()})),N()}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){var R;(R=this.wordHighlighter)===null||R===void 0||R.moveNext()}moveBack(){var R;(R=this.wordHighlighter)===null||R===void 0||R.moveBack()}restoreViewState(R){this.wordHighlighter&&R&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};e.WordHighlighterContribution=p,p.ID="editor.contrib.wordHighlighter",e.WordHighlighterContribution=p=f=Ie([ge(1,n.IContextKeyService),ge(2,t.ILanguageFeaturesService)],p);class b extends _.EditorAction{constructor(R,B){super(B),this._isNext=R}run(R,B){const T=p.get(B);T&&(this._isNext?T.moveNext():T.moveBack())}}class w extends b{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:i.localize(0,null),alias:"Go to Next Symbol Highlight",precondition:d,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:65,weight:100}})}}class E extends b{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:i.localize(1,null),alias:"Go to Previous Symbol Highlight",precondition:d,kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})}}class k extends _.EditorAction{constructor(){super({id:"editor.action.wordHighlight.trigger",label:i.localize(2,null),alias:"Trigger Symbol Highlight",precondition:d.toNegated(),kbOpts:{kbExpr:C.EditorContextKeys.editorTextFocus,primary:0,weight:100}})}run(R,B,T){const N=p.get(B);N&&N.restoreViewState(!0)}}(0,_.registerEditorContribution)(p.ID,p,0),(0,_.registerEditorAction)(w),(0,_.registerEditorAction)(E),(0,_.registerEditorAction)(k)}),define(te[898],ie([1,0,7,152,36,163,2,52,5,37,471]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ZoneWidget=e.OverlayWidgetDelegate=void 0;const C=new y.Color(new y.RGBA(0,122,204)),s={showArrow:!0,showFrame:!0,className:"",frameColor:C,arrowColor:C,keepEditorSelection:!1},i="vs.editor.contrib.zoneWidget";class n{constructor(d,l,o,c,a,g,h,p){this.id="",this.domNode=d,this.afterLineNumber=l,this.afterColumn=o,this.heightInLines=c,this.showInHiddenAreas=h,this.ordinal=p,this._onDomNodeTop=a,this._onComputedHeight=g}onDomNodeTop(d){this._onDomNodeTop(d)}onComputedHeight(d){this._onComputedHeight(d)}}class t{constructor(d,l){this._id=d,this._domNode=l}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}e.OverlayWidgetDelegate=t;class r{constructor(d){this._editor=d,this._ruleName=r._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),L.removeCSSRulesContainingSelector(this._ruleName)}set color(d){this._color!==d&&(this._color=d,this._updateStyle())}set height(d){this._height!==d&&(this._height=d,this._updateStyle())}_updateStyle(){L.removeCSSRulesContainingSelector(this._ruleName),L.createCSSRule(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(d){d.column===1&&(d={lineNumber:d.lineNumber,column:2}),this._decorations.set([{range:_.Range.fromPositions(d),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}r._IdGenerator=new D.IdGenerator(".arrow-decoration-");class u{constructor(d,l={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new S.DisposableStore,this.container=null,this._isShowing=!1,this.editor=d,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=m.deepClone(l),m.mixin(this.options,s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(o=>{const c=this._getWidth(o);this.domNode.style.width=c+"px",this.domNode.style.left=this._getLeft(o)+"px",this._onWidth(c)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(d=>{this._viewZone&&d.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new r(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(d){d.frameColor&&(this.options.frameColor=d.frameColor),d.arrowColor&&(this.options.arrowColor=d.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const d=this.options.frameColor.toString();this.container.style.borderTopColor=d,this.container.style.borderBottomColor=d}if(this._arrow&&this.options.arrowColor){const d=this.options.arrowColor.toString();this._arrow.color=d}}_getWidth(d){return d.width-d.minimap.minimapWidth-d.verticalScrollbarWidth}_getLeft(d){return d.minimap.minimapWidth>0&&d.minimap.minimapLeft===0?d.minimap.minimapWidth:0}_onViewZoneTop(d){this.domNode.style.top=d+"px"}_onViewZoneHeight(d){var l;if(this.domNode.style.height=`${d}px`,this.container){const o=d-this._decoratingElementsHeight();this.container.style.height=`${o}px`;const c=this.editor.getLayoutInfo();this._doLayout(o,this._getWidth(c))}(l=this._resizeSash)===null||l===void 0||l.layout()}get position(){const d=this._positionMarkerId.getRange(0);if(d)return d.getStartPosition()}show(d,l){const o=_.Range.isIRange(d)?_.Range.lift(d):_.Range.fromPositions(d);this._isShowing=!0,this._showImpl(o,l),this._isShowing=!1,this._positionMarkerId.set([{range:o,options:v.ModelDecorationOptions.EMPTY}])}hide(){var d;this._viewZone&&(this.editor.changeViewZones(l=>{this._viewZone&&l.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(d=this._arrow)===null||d===void 0||d.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const d=this.editor.getOption(66);let l=0;if(this.options.showArrow){const o=Math.round(d/3);l+=2*o}if(this.options.showFrame){const o=Math.round(d/9);l+=2*o}return l}_showImpl(d,l){const o=d.getStartPosition(),c=this.editor.getLayoutInfo(),a=this._getWidth(c);this.domNode.style.width=`${a}px`,this.domNode.style.left=this._getLeft(c)+"px";const g=document.createElement("div");g.style.overflow="hidden";const h=this.editor.getOption(66);if(!this.options.allowUnlimitedHeight){const k=Math.max(12,this.editor.getLayoutInfo().height/h*.8);l=Math.min(l,k)}let p=0,b=0;if(this._arrow&&this.options.showArrow&&(p=Math.round(h/3),this._arrow.height=p,this._arrow.show(o)),this.options.showFrame&&(b=Math.round(h/9)),this.editor.changeViewZones(k=>{this._viewZone&&k.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new n(g,o.lineNumber,o.column,l,M=>this._onViewZoneTop(M),M=>this._onViewZoneHeight(M),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=k.addZone(this._viewZone),this._overlayWidget=new t(i+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const k=this.options.frameWidth?this.options.frameWidth:b;this.container.style.borderTopWidth=k+"px",this.container.style.borderBottomWidth=k+"px"}const w=l*h-this._decoratingElementsHeight();this.container&&(this.container.style.top=p+"px",this.container.style.height=w+"px",this.container.style.overflow="hidden"),this._doLayout(w,a),this.options.keepEditorSelection||this.editor.setSelection(d);const E=this.editor.getModel();if(E){const k=E.validateRange(new _.Range(d.startLineNumber,1,d.endLineNumber+1,1));this.revealRange(k,k.startLineNumber===E.getLineCount())}}revealRange(d,l){l?this.editor.revealLineNearTop(d.endLineNumber,0):this.editor.revealRange(d,0)}setCssClass(d,l){this.container&&(l&&this.container.classList.remove(l),this.container.classList.add(d))}_onWidth(d){}_doLayout(d,l){}_relayout(d){this._viewZone&&this._viewZone.heightInLines!==d&&this.editor.changeViewZones(l=>{this._viewZone&&(this._viewZone.heightInLines=d,l.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new I.Sash(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let d;this._disposables.add(this._resizeSash.onDidStart(l=>{this._viewZone&&(d={startY:l.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{d=void 0})),this._disposables.add(this._resizeSash.onDidChange(l=>{if(d){const o=(l.currentY-d.startY)/this.editor.getOption(66),c=o<0?Math.ceil(o):Math.floor(o),a=d.heightInLines+c;a>5&&a<35&&this._relayout(a)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const d=this.editor.getLayoutInfo();return d.width-d.minimap.minimapWidth}}e.ZoneWidget=u}),define(te[136],ie([1,0,7,73,41,26,27,36,6,52,16,33,161,898,691,160,15,47,8,31,462]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.peekViewEditorMatchHighlightBorder=e.peekViewEditorMatchHighlight=e.peekViewResultsMatchHighlight=e.peekViewEditorStickyScrollBackground=e.peekViewEditorGutterBackground=e.peekViewEditorBackground=e.peekViewResultsSelectionForeground=e.peekViewResultsSelectionBackground=e.peekViewResultsFileForeground=e.peekViewResultsMatchForeground=e.peekViewResultsBackground=e.peekViewBorder=e.peekViewTitleInfoForeground=e.peekViewTitleForeground=e.peekViewTitleBackground=e.PeekViewWidget=e.getOuterEditor=e.PeekContext=e.IPeekViewService=void 0,e.IPeekViewService=(0,d.createDecorator)("IPeekViewService"),(0,f.registerSingleton)(e.IPeekViewService,class{constructor(){this._widgets=new Map}addExclusiveWidget(p,b){const w=this._widgets.get(p);w&&(w.listener.dispose(),w.widget.dispose());const E=()=>{const k=this._widgets.get(p);k&&k.widget===b&&(k.listener.dispose(),this._widgets.delete(p))};this._widgets.set(p,{widget:b,listener:b.onDidClose(E)})}},1);var o;(function(p){p.inPeekEditor=new u.RawContextKey("inReferenceSearchEditor",!0,t.localize(0,null)),p.notInPeekEditor=p.inPeekEditor.toNegated()})(o||(e.PeekContext=o={}));let c=class{constructor(b,w){b instanceof i.EmbeddedCodeEditorWidget&&o.inPeekEditor.bindTo(w)}dispose(){}};c.ID="editor.contrib.referenceController",c=Ie([ge(1,u.IContextKeyService)],c),(0,C.registerEditorContribution)(c.ID,c,0);function a(p){const b=p.get(s.ICodeEditorService).getFocusedCodeEditor();return b instanceof i.EmbeddedCodeEditorWidget?b.getParentEditor():b}e.getOuterEditor=a;const g={headerBackgroundColor:m.Color.white,primaryHeadingColor:m.Color.fromHex("#333333"),secondaryHeadingColor:m.Color.fromHex("#6c6c6cb3")};let h=class extends n.ZoneWidget{constructor(b,w,E){super(b,w),this.instantiationService=E,this._onDidClose=new _.Emitter,this.onDidClose=this._onDidClose.event,v.mixin(this.options,g,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(b){const w=this.options;b.headerBackgroundColor&&(w.headerBackgroundColor=b.headerBackgroundColor),b.primaryHeadingColor&&(w.primaryHeadingColor=b.primaryHeadingColor),b.secondaryHeadingColor&&(w.secondaryHeadingColor=b.secondaryHeadingColor),super.style(b)}_applyStyles(){super._applyStyles();const b=this.options;this._headElement&&b.headerBackgroundColor&&(this._headElement.style.backgroundColor=b.headerBackgroundColor.toString()),this._primaryHeading&&b.primaryHeadingColor&&(this._primaryHeading.style.color=b.primaryHeadingColor.toString()),this._secondaryHeading&&b.secondaryHeadingColor&&(this._secondaryHeading.style.color=b.secondaryHeadingColor.toString()),this._bodyElement&&b.frameColor&&(this._bodyElement.style.borderColor=b.frameColor.toString())}_fillContainer(b){this.setCssClass("peekview-widget"),this._headElement=L.$(".head"),this._bodyElement=L.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),b.appendChild(this._headElement),b.appendChild(this._bodyElement)}_fillHead(b,w){this._titleElement=L.$(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),L.addStandardDisposableListener(this._titleElement,"click",M=>this._onTitleClick(M))),L.append(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=L.$("span.filename"),this._secondaryHeading=L.$("span.dirname"),this._metaHeading=L.$("span.meta"),L.append(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const E=L.$(".peekview-actions");L.append(this._headElement,E);const k=this._getActionBarOptions();this._actionbarWidget=new I.ActionBar(E,k),this._disposables.add(this._actionbarWidget),w||this._actionbarWidget.push(new y.Action("peekview.close",t.localize(1,null),S.ThemeIcon.asClassName(D.Codicon.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(b){}_getActionBarOptions(){return{actionViewItemProvider:r.createActionViewItem.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(b){}setTitle(b,w){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=b,this._primaryHeading.setAttribute("title",b),w?this._secondaryHeading.innerText=w:L.clearNode(this._secondaryHeading))}setMetaTitle(b){this._metaHeading&&(b?(this._metaHeading.innerText=b,L.show(this._metaHeading)):L.hide(this._metaHeading))}_doLayout(b,w){if(!this._isShowing&&b<0){this.dispose();return}const E=Math.ceil(this.editor.getOption(66)*1.2),k=Math.round(b-(E+2));this._doLayoutHead(E,w),this._doLayoutBody(k,w)}_doLayoutHead(b,w){this._headElement&&(this._headElement.style.height=`${b}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(b,w){this._bodyElement&&(this._bodyElement.style.height=`${b}px`)}};e.PeekViewWidget=h,e.PeekViewWidget=h=Ie([ge(2,d.IInstantiationService)],h),e.peekViewTitleBackground=(0,l.registerColor)("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:m.Color.black,hcLight:m.Color.white},t.localize(2,null)),e.peekViewTitleForeground=(0,l.registerColor)("peekViewTitleLabel.foreground",{dark:m.Color.white,light:m.Color.black,hcDark:m.Color.white,hcLight:l.editorForeground},t.localize(3,null)),e.peekViewTitleInfoForeground=(0,l.registerColor)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},t.localize(4,null)),e.peekViewBorder=(0,l.registerColor)("peekView.border",{dark:l.editorInfoForeground,light:l.editorInfoForeground,hcDark:l.contrastBorder,hcLight:l.contrastBorder},t.localize(5,null)),e.peekViewResultsBackground=(0,l.registerColor)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:m.Color.black,hcLight:m.Color.white},t.localize(6,null)),e.peekViewResultsMatchForeground=(0,l.registerColor)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:m.Color.white,hcLight:l.editorForeground},t.localize(7,null)),e.peekViewResultsFileForeground=(0,l.registerColor)("peekViewResult.fileForeground",{dark:m.Color.white,light:"#1E1E1E",hcDark:m.Color.white,hcLight:l.editorForeground},t.localize(8,null)),e.peekViewResultsSelectionBackground=(0,l.registerColor)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},t.localize(9,null)),e.peekViewResultsSelectionForeground=(0,l.registerColor)("peekViewResult.selectionForeground",{dark:m.Color.white,light:"#6C6C6C",hcDark:m.Color.white,hcLight:l.editorForeground},t.localize(10,null)),e.peekViewEditorBackground=(0,l.registerColor)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:m.Color.black,hcLight:m.Color.white},t.localize(11,null)),e.peekViewEditorGutterBackground=(0,l.registerColor)("peekViewEditorGutter.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(12,null)),e.peekViewEditorStickyScrollBackground=(0,l.registerColor)("peekViewEditorStickyScroll.background",{dark:e.peekViewEditorBackground,light:e.peekViewEditorBackground,hcDark:e.peekViewEditorBackground,hcLight:e.peekViewEditorBackground},t.localize(13,null)),e.peekViewResultsMatchHighlight=(0,l.registerColor)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},t.localize(14,null)),e.peekViewEditorMatchHighlight=(0,l.registerColor)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},t.localize(15,null)),e.peekViewEditorMatchHighlightBorder=(0,l.registerColor)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:l.activeContrastBorder,hcLight:l.activeContrastBorder},t.localize(16,null))}),define(te[899],ie([1,0,7,84,13,36,6,2,46,10,5,136,664,160,30,15,8,158,94,55,788,31,23,449]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a){"use strict";var g;Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerNavigationWidget=void 0;class h{constructor(O,x,W,U,F){this._openerService=U,this._labelService=F,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new m.DisposableStore,this._editor=x;const G=document.createElement("div");G.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),G.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),G.appendChild(this._relatedBlock),this._disposables.add(L.addStandardDisposableListener(this._relatedBlock,"click",Y=>{Y.preventDefault();const ne=this._relatedDiagnostics.get(Y.target);ne&&W(ne)})),this._scrollable=new I.ScrollableElement(G,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),O.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(Y=>{G.style.left=`-${Y.scrollLeft}px`,G.style.top=`-${Y.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,m.dispose)(this._disposables)}update(O){const{source:x,message:W,relatedInformation:U,code:F}=O;let G=(x?.length||0)+2;F&&(typeof F=="string"?G+=F.length:G+=F.value.length);const Y=(0,v.splitLines)(W);this._lines=Y.length,this._longestLineLength=0;for(const H of Y)this._longestLineLength=Math.max(H.length+G,this._longestLineLength);L.clearNode(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(O)),this._editor.applyFontInfo(this._messageBlock);let ne=this._messageBlock;for(const H of Y)ne=document.createElement("div"),ne.innerText=H,H===""&&(ne.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(ne);if(x||F){const H=document.createElement("span");if(H.classList.add("details"),ne.appendChild(H),x){const V=document.createElement("span");V.innerText=x,V.classList.add("source"),H.appendChild(V)}if(F)if(typeof F=="string"){const V=document.createElement("span");V.innerText=`(${F})`,V.classList.add("code"),H.appendChild(V)}else{this._codeLink=L.$("a.code-link"),this._codeLink.setAttribute("href",`${F.target.toString()}`),this._codeLink.onclick=Z=>{this._openerService.open(F.target,{allowCommands:!0}),Z.preventDefault(),Z.stopPropagation()};const V=L.append(this._codeLink,L.$("span"));V.innerText=F.value,H.appendChild(this._codeLink)}}if(L.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.isNonEmptyArray)(U)){const H=this._relatedBlock.appendChild(document.createElement("div"));H.style.paddingTop=`${Math.floor(this._editor.getOption(66)*.66)}px`,this._lines+=1;for(const V of U){const Z=document.createElement("div"),ee=document.createElement("a");ee.classList.add("filename"),ee.innerText=`${this._labelService.getUriBasenameLabel(V.resource)}(${V.startLineNumber}, ${V.startColumn}): `,ee.title=this._labelService.getUriLabel(V.resource),this._relatedDiagnostics.set(ee,V);const le=document.createElement("span");le.innerText=V.message,Z.appendChild(ee),Z.appendChild(le),this._lines+=1,H.appendChild(Z)}}const se=this._editor.getOption(50),J=Math.ceil(se.typicalFullwidthCharacterWidth*this._longestLineLength*.75),q=se.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:J,scrollHeight:q})}layout(O,x){this._scrollable.getDomNode().style.height=`${O}px`,this._scrollable.getDomNode().style.width=`${x}px`,this._scrollable.setScrollDimensions({width:x,height:O})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(O){let x="";switch(O.severity){case d.MarkerSeverity.Error:x=i.localize(0,null);break;case d.MarkerSeverity.Warning:x=i.localize(1,null);break;case d.MarkerSeverity.Info:x=i.localize(2,null);break;case d.MarkerSeverity.Hint:x=i.localize(3,null);break}let W=i.localize(4,null,x,O.startLineNumber+":"+O.startColumn);const U=this._editor.getModel();return U&&O.startLineNumber<=U.getLineCount()&&O.startLineNumber>=1&&(W=`${U.getLineContent(O.startLineNumber)}, ${W}`),W}}let p=g=class extends s.PeekViewWidget{constructor(O,x,W,U,F,G,Y){super(O,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},F),this._themeService=x,this._openerService=W,this._menuService=U,this._contextKeyService=G,this._labelService=Y,this._callOnDispose=new m.DisposableStore,this._onDidSelectRelatedInformation=new S.Emitter,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=d.MarkerSeverity.Warning,this._backgroundColor=D.Color.white,this._applyTheme(x.getColorTheme()),this._callOnDispose.add(x.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(O){this._backgroundColor=O.getColor(A);let x=k,W=M;this._severity===d.MarkerSeverity.Warning?(x=R,W=B):this._severity===d.MarkerSeverity.Info&&(x=T,W=N);const U=O.getColor(x),F=O.getColor(W);this.style({arrowColor:U,frameColor:U,headerBackgroundColor:F,primaryHeadingColor:O.getColor(s.peekViewTitleForeground),secondaryHeadingColor:O.getColor(s.peekViewTitleInfoForeground)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(O){super._fillHead(O),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(U=>this.editor.focus()));const x=[],W=this._menuService.createMenu(g.TitleMenu,this._contextKeyService);(0,n.createAndFillInActionBarActions)(W,void 0,x),this._actionbarWidget.push(x,{label:!1,icon:!0,index:0}),W.dispose()}_fillTitleIcon(O){this._icon=L.append(O,L.$(""))}_fillBody(O){this._parentContainer=O,O.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),O.appendChild(this._container),this._message=new h(this._container,this.editor,x=>this._onDidSelectRelatedInformation.fire(x),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(O,x,W){this._container.classList.remove("stale"),this._message.update(O),this._severity=O.severity,this._applyTheme(this._themeService.getColorTheme());const U=C.Range.lift(O),F=this.editor.getPosition(),G=F&&U.containsPosition(F)?F:U.getStartPosition();super.show(G,this.computeRequiredHeight());const Y=this.editor.getModel();if(Y){const ne=W>1?i.localize(5,null,x,W):i.localize(6,null,x,W);this.setTitle((0,_.basename)(Y.uri),ne)}this._icon.className=`codicon ${o.SeverityIcon.className(d.MarkerSeverity.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(G,0),this.editor.focus()}updateMarker(O){this._container.classList.remove("stale"),this._message.update(O)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(O,x){super._doLayoutBody(O,x),this._heightInPixel=O,this._message.layout(O,x),this._container.style.height=`${O}px`}_onWidth(O){this._message.layout(this._heightInPixel,O)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};e.MarkerNavigationWidget=p,p.TitleMenu=new t.MenuId("gotoErrorTitleMenu"),e.MarkerNavigationWidget=p=g=Ie([ge(1,a.IThemeService),ge(2,l.IOpenerService),ge(3,t.IMenuService),ge(4,u.IInstantiationService),ge(5,r.IContextKeyService),ge(6,f.ILabelService)],p);const b=(0,c.oneOf)(c.editorErrorForeground,c.editorErrorBorder),w=(0,c.oneOf)(c.editorWarningForeground,c.editorWarningBorder),E=(0,c.oneOf)(c.editorInfoForeground,c.editorInfoBorder),k=(0,c.registerColor)("editorMarkerNavigationError.background",{dark:b,light:b,hcDark:c.contrastBorder,hcLight:c.contrastBorder},i.localize(7,null)),M=(0,c.registerColor)("editorMarkerNavigationError.headerBackground",{dark:(0,c.transparent)(k,.1),light:(0,c.transparent)(k,.1),hcDark:null,hcLight:null},i.localize(8,null)),R=(0,c.registerColor)("editorMarkerNavigationWarning.background",{dark:w,light:w,hcDark:c.contrastBorder,hcLight:c.contrastBorder},i.localize(9,null)),B=(0,c.registerColor)("editorMarkerNavigationWarning.headerBackground",{dark:(0,c.transparent)(R,.1),light:(0,c.transparent)(R,.1),hcDark:"#0C141F",hcLight:(0,c.transparent)(R,.2)},i.localize(10,null)),T=(0,c.registerColor)("editorMarkerNavigationInfo.background",{dark:E,light:E,hcDark:c.contrastBorder,hcLight:c.contrastBorder},i.localize(11,null)),N=(0,c.registerColor)("editorMarkerNavigationInfo.headerBackground",{dark:(0,c.transparent)(T,.1),light:(0,c.transparent)(T,.1),hcDark:null,hcLight:null},i.localize(12,null)),A=(0,c.registerColor)("editorMarkerNavigation.background",{dark:c.editorBackground,light:c.editorBackground,hcDark:c.editorBackground,hcLight:c.editorBackground},i.localize(13,null))}),define(te[373],ie([1,0,26,2,16,33,12,5,22,767,663,30,15,8,77,899]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.NextMarkerAction=e.MarkerController=void 0;let f=u=class{static get(b){return b.getContribution(u.ID)}constructor(b,w,E,k,M){this._markerNavigationService=w,this._contextKeyService=E,this._editorService=k,this._instantiationService=M,this._sessionDispoables=new I.DisposableStore,this._editor=b,this._widgetVisible=g.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(b){if(this._model&&this._model.matches(b))return this._model;let w=!1;return this._model&&(w=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(b),w&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(r.MarkerNavigationWidget,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(E=>{var k,M,R;(!(!((k=this._model)===null||k===void 0)&&k.selected)||!m.Range.containsPosition((M=this._model)===null||M===void 0?void 0:M.selected.marker,E.position))&&((R=this._model)===null||R===void 0||R.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const E=this._model.find(this._editor.getModel().uri,this._widget.position);E?this._widget.updateMarker(E.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(E=>{this._editorService.openCodeEditor({resource:E.resource,options:{pinned:!0,revealIfOpened:!0,selection:m.Range.lift(E).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(b=!0){this._cleanUp(),b&&this._editor.focus()}showAtMarker(b){if(this._editor.hasModel()){const w=this._getOrCreateModel(this._editor.getModel().uri);w.resetIndex(),w.move(!0,this._editor.getModel(),new S.Position(b.startLineNumber,b.startColumn)),w.selected&&this._widget.showAtMarker(w.selected.marker,w.selected.index,w.selected.total)}}nagivate(b,w){var E,k;return be(this,void 0,void 0,function*(){if(this._editor.hasModel()){const M=this._getOrCreateModel(w?void 0:this._editor.getModel().uri);if(M.move(b,this._editor.getModel(),this._editor.getPosition()),!M.selected)return;if(M.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const R=yield this._editorService.openCodeEditor({resource:M.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:M.selected.marker}},this._editor);R&&((E=u.get(R))===null||E===void 0||E.close(),(k=u.get(R))===null||k===void 0||k.nagivate(b,w))}else this._widget.showAtMarker(M.selected.marker,M.selected.index,M.selected.total)}})}};e.MarkerController=f,f.ID="editor.contrib.markerController",e.MarkerController=f=u=Ie([ge(1,v.IMarkerNavigationService),ge(2,i.IContextKeyService),ge(3,D.ICodeEditorService),ge(4,n.IInstantiationService)],f);class d extends y.EditorAction{constructor(b,w,E){super(E),this._next=b,this._multiFile=w}run(b,w){var E;return be(this,void 0,void 0,function*(){w.hasModel()&&((E=f.get(w))===null||E===void 0||E.nagivate(this._next,this._multiFile))})}}class l extends d{constructor(){super(!0,!1,{id:l.ID,label:l.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:578,weight:100},menuOpts:{menuId:r.MarkerNavigationWidget.TitleMenu,title:l.LABEL,icon:(0,t.registerIcon)("marker-navigation-next",L.Codicon.arrowDown,C.localize(1,null)),group:"navigation",order:1}})}}e.NextMarkerAction=l,l.ID="editor.action.marker.next",l.LABEL=C.localize(0,null);class o extends d{constructor(){super(!1,!1,{id:o.ID,label:o.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1602,weight:100},menuOpts:{menuId:r.MarkerNavigationWidget.TitleMenu,title:o.LABEL,icon:(0,t.registerIcon)("marker-navigation-previous",L.Codicon.arrowUp,C.localize(3,null)),group:"navigation",order:2}})}}o.ID="editor.action.marker.prev",o.LABEL=C.localize(2,null);class c extends d{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:C.localize(4,null),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:66,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(5,null),group:"6_problem_nav",order:1}})}}class a extends d{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:C.localize(6,null),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.focus,primary:1090,weight:100},menuOpts:{menuId:s.MenuId.MenubarGoMenu,title:C.localize(7,null),group:"6_problem_nav",order:2}})}}(0,y.registerEditorContribution)(f.ID,f,4),(0,y.registerEditorAction)(l),(0,y.registerEditorAction)(o),(0,y.registerEditorAction)(c),(0,y.registerEditorAction)(a);const g=new i.RawContextKey("markersNavigationVisible",!1),h=y.EditorCommand.bindToContribution(f.get);(0,y.registerEditorCommand)(new h({id:"closeMarkersNavigation",precondition:g,handler:p=>p.close(),kbOpts:{weight:100+50,kbExpr:_.EditorContextKeys.focus,primary:9,secondary:[1033]}}))}),define(te[900],ie([1,0,7,316,36,6,2,54,46,161,5,37,32,75,42,65,825,136,669,8,34,158,190,23,191,155,451]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReferenceWidget=e.LayoutData=void 0;class b{constructor(R,B){this._editor=R,this._model=B,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new S.DisposableStore,this._callOnModelChange=new S.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const R=this._editor.getModel();if(R){for(const B of this._model.references)if(B.uri.toString()===R.uri.toString()){this._addDecorations(B.parent);return}}}_addDecorations(R){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const B=[],T=[];for(let N=0,A=R.children.length;N{const A=N.deltaDecorations([],B);for(let P=0;P{A.equals(9)&&(this._keybindingService.dispatchEvent(A,A.target),A.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(E,"ReferencesWidget",this._treeContainer,new u.Delegate,[this._instantiationService.createInstance(u.FileReferencesRenderer),this._instantiationService.createInstance(u.OneReferenceRenderer)],this._instantiationService.createInstance(u.DataSource),T),this._splitView.addView({onDidChange:D.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:A=>{this._preview.layout({height:this._dim.height,width:A})}},I.Sizing.Distribute),this._splitView.addView({onDidChange:D.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:A=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${A}px`,this._tree.layout(this._dim.height,A)}},I.Sizing.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const N=(A,P)=>{A instanceof p.OneReference&&(P==="show"&&this._revealReference(A,!1),this._onDidSelectReference.fire({element:A,kind:P,source:"tree"}))};this._tree.onDidOpen(A=>{A.sideBySide?N(A.element,"side"):A.editorOptions.pinned?N(A.element,"goto"):N(A.element,"show")}),L.hide(this._treeContainer)}_onWidth(R){this._dim&&this._doLayoutBody(this._dim.height,R)}_doLayoutBody(R,B){super._doLayoutBody(R,B),this._dim=new L.Dimension(B,R),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(B),this._splitView.resizeView(0,B*this.layoutData.ratio)}setSelection(R){return this._revealReference(R,!0).then(()=>{this._model&&(this._tree.setSelection([R]),this._tree.setFocus([R]))})}setModel(R){return this._disposeOnNewModel.clear(),this._model=R,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=d.localize(1,null),L.show(this._messageContainer),Promise.resolve(void 0)):(L.hide(this._messageContainer),this._decorationsManager=new b(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(R=>this._tree.rerender(R))),this._disposeOnNewModel.add(this._preview.onMouseDown(R=>{const{event:B,target:T}=R;if(B.detail!==2)return;const N=this._getFocusedReference();N&&this._onDidSelectReference.fire({element:{uri:N.uri,range:T.range},kind:B.ctrlKey||B.metaKey||B.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),L.show(this._treeContainer),L.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[R]=this._tree.getFocus();if(R instanceof p.OneReference)return R;if(R instanceof p.FileReferences&&R.children.length>0)return R.children[0]}revealReference(R){return be(this,void 0,void 0,function*(){yield this._revealReference(R,!1),this._onDidSelectReference.fire({element:R,kind:"goto",source:"tree"})})}_revealReference(R,B){return be(this,void 0,void 0,function*(){if(this._revealedReference===R)return;this._revealedReference=R,R.uri.scheme!==m.Schemas.inMemory?this.setTitle((0,_.basenameOrAuthority)(R.uri),this._uriLabel.getUriLabel((0,_.dirname)(R.uri))):this.setTitle(d.localize(2,null));const T=this._textModelResolverService.createModelReference(R.uri);this._tree.getInput()===R.parent?this._tree.reveal(R):(B&&this._tree.reveal(R.parent),yield this._tree.expand(R.parent),this._tree.reveal(R));const N=yield T;if(!this._model){N.dispose();return}(0,S.dispose)(this._previewModelReference);const A=N.object;if(A){const P=this._preview.getModel()===A.textEditorModel?0:1,O=C.Range.lift(R.range).collapseToStart();this._previewModelReference=N,this._preview.setModel(A.textEditorModel),this._preview.setSelection(O),this._preview.revealRangeInCenter(O,P)}else this._preview.setModel(this._previewNotAvailableMessage),N.dispose()})}};e.ReferenceWidget=k,e.ReferenceWidget=k=Ie([ge(3,g.IThemeService),ge(4,r.ITextModelService),ge(5,l.IInstantiationService),ge(6,f.IPeekViewService),ge(7,c.ILabelService),ge(8,h.IUndoRedoService),ge(9,o.IKeybindingService),ge(10,t.ILanguageService),ge(11,i.ILanguageConfigurationService)],k)}),define(te[374],ie([1,0,14,9,62,2,33,12,5,136,667,25,28,15,8,117,190,48,89,155,900]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o){"use strict";var c;Object.defineProperty(e,"__esModule",{value:!0}),e.ReferencesController=e.ctxReferenceSearchVisible=void 0,e.ctxReferenceSearchVisible=new n.RawContextKey("referenceSearchVisible",!1,C.localize(0,null));let a=c=class{static get(p){return p.getContribution(c.ID)}constructor(p,b,w,E,k,M,R,B){this._defaultTreeKeyboardSupport=p,this._editor=b,this._editorService=E,this._notificationService=k,this._instantiationService=M,this._storageService=R,this._configurationService=B,this._disposables=new D.DisposableStore,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=e.ctxReferenceSearchVisible.bindTo(w)}dispose(){var p,b;this._referenceSearchVisible.reset(),this._disposables.dispose(),(p=this._widget)===null||p===void 0||p.dispose(),(b=this._model)===null||b===void 0||b.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(p,b,w){let E;if(this._widget&&(E=this._widget.position),this.closeWidget(),E&&p.containsPosition(E))return;this._peekMode=w,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const k="peekViewLayout",M=o.LayoutData.fromJSON(this._storageService.get(k,0,"{}"));this._widget=this._instantiationService.createInstance(o.ReferenceWidget,this._editor,this._defaultTreeKeyboardSupport,M),this._widget.setTitle(C.localize(1,null)),this._widget.show(p),this._disposables.add(this._widget.onDidClose(()=>{b.cancel(),this._widget&&(this._storageService.store(k,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(B=>{const{element:T,kind:N}=B;if(T)switch(N){case"open":(B.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(T,!1,!1);break;case"side":this.openReference(T,!0,!1);break;case"goto":w?this._gotoReference(T,!0):this.openReference(T,!1,!0);break}}));const R=++this._requestIdPool;b.then(B=>{var T;if(R!==this._requestIdPool||!this._widget){B.dispose();return}return(T=this._model)===null||T===void 0||T.dispose(),this._model=B,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(C.localize(2,null,this._model.title,this._model.references.length));const N=this._editor.getModel().uri,A=new m.Position(p.startLineNumber,p.startColumn),P=this._model.nearestReference(N,A);if(P)return this._widget.setSelection(P).then(()=>{this._widget&&this._editor.getOption(86)==="editor"&&this._widget.focusOnPreviewEditor()})}})},B=>{this._notificationService.error(B)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(p){return be(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const b=this._widget.position;if(!b)return;const w=this._model.nearestReference(this._editor.getModel().uri,b);if(!w)return;const E=this._model.nextOrPreviousReference(w,p),k=this._editor.hasTextFocus(),M=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(E),yield this._gotoReference(E,!1),k?this._editor.focus():this._widget&&M&&this._widget.focusOnPreviewEditor()})}revealReference(p){return be(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(p))})}closeWidget(p=!0){var b,w;(b=this._widget)===null||b===void 0||b.dispose(),(w=this._model)===null||w===void 0||w.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,p&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(p,b){var w;(w=this._widget)===null||w===void 0||w.hide(),this._ignoreModelChangeEvent=!0;const E=_.Range.lift(p.range).collapseToStart();return this._editorService.openCodeEditor({resource:p.uri,options:{selection:E,selectionSource:"code.jump",pinned:b}},this._editor).then(k=>{var M;if(this._ignoreModelChangeEvent=!1,!k||!this._widget){this.closeWidget();return}if(this._editor===k)this._widget.show(E),this._widget.focusOnReferenceTree();else{const R=c.get(k),B=this._model.clone();this.closeWidget(),k.focus(),R?.toggleWidget(E,(0,L.createCancelablePromise)(T=>Promise.resolve(B)),(M=this._peekMode)!==null&&M!==void 0?M:!1)}},k=>{this._ignoreModelChangeEvent=!1,(0,I.onUnexpectedError)(k)})}openReference(p,b,w){b||this.closeWidget();const{uri:E,range:k}=p;this._editorService.openCodeEditor({resource:E,options:{selection:k,selectionSource:"code.jump",pinned:w}},this._editor,b)}};e.ReferencesController=a,a.ID="editor.contrib.referencesController",e.ReferencesController=a=c=Ie([ge(2,n.IContextKeyService),ge(3,S.ICodeEditorService),ge(4,f.INotificationService),ge(5,t.IInstantiationService),ge(6,d.IStorageService),ge(7,i.IConfigurationService)],a);function g(h,p){const b=(0,v.getOuterEditor)(h);if(!b)return;const w=a.get(b);w&&p(w)}r.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,y.KeyChord)(2089,60),when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,v.PeekContext.inPeekEditor),handler(h){g(h,p=>{p.changeFocusBetweenPreviewAndReferences()})}}),r.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:100-10,primary:62,secondary:[70],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,v.PeekContext.inPeekEditor),handler(h){g(h,p=>{p.goToNextOrPreviousReference(!0)})}}),r.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:100-10,primary:1086,secondary:[1094],when:n.ContextKeyExpr.or(e.ctxReferenceSearchVisible,v.PeekContext.inPeekEditor),handler(h){g(h,p=>{p.goToNextOrPreviousReference(!1)})}}),s.CommandsRegistry.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),s.CommandsRegistry.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),s.CommandsRegistry.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),s.CommandsRegistry.registerCommand("closeReferenceSearch",h=>g(h,p=>p.closeWidget())),r.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:100-101,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(v.PeekContext.inPeekEditor,n.ContextKeyExpr.not("config.editor.stablePeek"))}),r.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:200+50,primary:9,secondary:[1033],when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,n.ContextKeyExpr.not("config.editor.stablePeek"))}),r.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(h){var p;const w=(p=h.get(u.IListService).lastFocusedList)===null||p===void 0?void 0:p.getFocus();Array.isArray(w)&&w[0]instanceof l.OneReference&&g(h,E=>E.revealReference(w[0]))}}),r.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:n.ContextKeyExpr.and(e.ctxReferenceSearchVisible,u.WorkbenchListFocusContextKey,u.WorkbenchTreeElementCanCollapse.negate(),u.WorkbenchTreeElementCanExpand.negate()),handler(h){var p;const w=(p=h.get(u.IListService).lastFocusedList)===null||p===void 0?void 0:p.getFocus();Array.isArray(w)&&w[0]instanceof l.OneReference&&g(h,E=>E.openReference(w[0],!0,!0))}}),s.CommandsRegistry.registerCommand("openReference",h=>{var p;const w=(p=h.get(u.IListService).lastFocusedList)===null||p===void 0?void 0:p.getFocus();Array.isArray(w)&&w[0]instanceof l.OneReference&&g(h,E=>E.openReference(w[0],!1,!0))})}),define(te[255],ie([1,0,45,14,62,20,21,103,175,16,33,161,12,5,22,29,374,155,805,189,136,665,30,25,15,8,48,85,246,18,43,237]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M,R){"use strict";var B,T,N,A,P,O,x,W;Object.defineProperty(e,"__esModule",{value:!0}),e.DefinitionAction=e.SymbolNavigationAction=e.SymbolNavigationAnchor=void 0,a.MenuRegistry.appendMenuItem(a.MenuId.EditorContext,{submenu:a.MenuId.EditorContextPeek,title:c.localize(0,null),group:"navigation",order:100});class U{static is(V){return!V||typeof V!="object"?!1:!!(V instanceof U||i.Position.isIPosition(V.position)&&V.model)}constructor(V,Z){this.model=V,this.position=Z}}e.SymbolNavigationAnchor=U;class F extends v.EditorAction2{static all(){return F._allSymbolNavigationCommands.values()}static _patchConfig(V){const Z=Object.assign(Object.assign({},V),{f1:!0});if(Z.menu)for(const ee of M.Iterable.wrap(Z.menu))(ee.id===a.MenuId.EditorContext||ee.id===a.MenuId.EditorContextPeek)&&(ee.when=h.ContextKeyExpr.and(V.precondition,ee.when));return Z}constructor(V,Z){super(F._patchConfig(Z)),this.configuration=V,F._allSymbolNavigationCommands.set(Z.id,this)}runEditorCommand(V,Z,ee,le){if(!Z.hasModel())return Promise.resolve(void 0);const ue=V.get(b.INotificationService),de=V.get(C.ICodeEditorService),ce=V.get(w.IEditorProgressService),ae=V.get(d.ISymbolNavigationService),X=V.get(k.ILanguageFeaturesService),K=V.get(p.IInstantiationService),z=Z.getModel(),Q=Z.getPosition(),j=U.is(ee)?ee:new U(z,Q),re=new m.EditorStateCancellationTokenSource(Z,5),oe=(0,I.raceCancellation)(this._getLocationModel(X,j.model,j.position,re.token),re.token).then(he=>be(this,void 0,void 0,function*(){var me;if(!he||re.token.isCancellationRequested)return;(0,L.alert)(he.ariaMessage);let pe;if(he.referenceAt(z.uri,Q)){const we=this._getAlternativeCommand(Z);!F._activeAlternativeCommands.has(we)&&F._allSymbolNavigationCommands.has(we)&&(pe=F._allSymbolNavigationCommands.get(we))}const ve=he.references.length;if(ve===0){if(!this.configuration.muteMessage){const we=z.getWordAtPosition(Q);(me=l.MessageController.get(Z))===null||me===void 0||me.showMessage(this._getNoResultFoundMessage(we),Q)}}else if(ve===1&&pe)F._activeAlternativeCommands.add(this.desc.id),K.invokeFunction(we=>pe.runEditorCommand(we,Z,ee,le).finally(()=>{F._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(de,ae,Z,he,le)}),he=>{ue.error(he)}).finally(()=>{re.dispose()});return ce.showWhile(oe,250),oe}_onResult(V,Z,ee,le,ue){return be(this,void 0,void 0,function*(){const de=this._getGoToPreference(ee);if(!(ee instanceof s.EmbeddedCodeEditorWidget)&&(this.configuration.openInPeek||de==="peek"&&le.references.length>1))this._openInPeek(ee,le,ue);else{const ce=le.firstReference(),ae=le.references.length>1&&de==="gotoAndPeek",X=yield this._openReference(ee,V,ce,this.configuration.openToSide,!ae);ae&&X?this._openInPeek(X,le,ue):le.dispose(),de==="goto"&&Z.put(ce)}})}_openReference(V,Z,ee,le,ue){return be(this,void 0,void 0,function*(){let de;if((0,r.isLocationLink)(ee)&&(de=ee.targetSelectionRange),de||(de=ee.range),!de)return;const ce=yield Z.openCodeEditor({resource:ee.uri,options:{selection:n.Range.collapseToStart(de),selectionRevealType:3,selectionSource:"code.jump"}},V,le);if(ce){if(ue){const ae=ce.getModel(),X=ce.createDecorationsCollection([{range:de,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{ce.getModel()===ae&&X.clear()},350)}return ce}})}_openInPeek(V,Z,ee){const le=u.ReferencesController.get(V);le&&V.hasModel()?le.toggleWidget(ee??V.getSelection(),(0,I.createCancelablePromise)(ue=>Promise.resolve(Z)),this.configuration.openInPeek):Z.dispose()}}e.SymbolNavigationAction=F,F._allSymbolNavigationCommands=new Map,F._activeAlternativeCommands=new Set;class G extends F{_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getDefinitionsAtPosition)(V.definitionProvider,Z,ee,le),c.localize(1,null))})}_getNoResultFoundMessage(V){return V&&V.word?c.localize(2,null,V.word):c.localize(3,null)}_getAlternativeCommand(V){return V.getOption(58).alternativeDefinitionCommand}_getGoToPreference(V){return V.getOption(58).multipleDefinitions}}e.DefinitionAction=G,(0,a.registerAction2)((B=class extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:B.id,title:{value:c.localize(4,null),original:"Go to Definition",mnemonicTitle:c.localize(5,null)},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:70,weight:100},{when:h.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,R.IsWebContext),primary:2118,weight:100}],menu:[{id:a.MenuId.EditorContext,group:"navigation",order:1.1},{id:a.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),g.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",B.id)}},B.id="editor.action.revealDefinition",B)),(0,a.registerAction2)((T=class extends G{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:T.id,title:{value:c.localize(6,null),original:"Open Definition to the Side"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:[{when:t.EditorContextKeys.editorTextFocus,primary:(0,y.KeyChord)(2089,70),weight:100},{when:h.ContextKeyExpr.and(t.EditorContextKeys.editorTextFocus,R.IsWebContext),primary:(0,y.KeyChord)(2089,2118),weight:100}]}),g.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",T.id)}},T.id="editor.action.revealDefinitionAside",T)),(0,a.registerAction2)((N=class extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:N.id,title:{value:c.localize(7,null),original:"Peek Definition"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:a.MenuId.EditorContextPeek,group:"peek",order:2}}),g.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",N.id)}},N.id="editor.action.peekDefinition",N));class Y extends F{_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getDeclarationsAtPosition)(V.declarationProvider,Z,ee,le),c.localize(8,null))})}_getNoResultFoundMessage(V){return V&&V.word?c.localize(9,null,V.word):c.localize(10,null)}_getAlternativeCommand(V){return V.getOption(58).alternativeDeclarationCommand}_getGoToPreference(V){return V.getOption(58).multipleDeclarations}}(0,a.registerAction2)((A=class extends Y{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:A.id,title:{value:c.localize(11,null),original:"Go to Declaration",mnemonicTitle:c.localize(12,null)},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:[{id:a.MenuId.EditorContext,group:"navigation",order:1.3},{id:a.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(V){return V&&V.word?c.localize(13,null,V.word):c.localize(14,null)}},A.id="editor.action.revealDeclaration",A)),(0,a.registerAction2)(class extends Y{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:{value:c.localize(15,null),original:"Peek Declaration"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasDeclarationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:a.MenuId.EditorContextPeek,group:"peek",order:3}})}});class ne extends F{_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getTypeDefinitionsAtPosition)(V.typeDefinitionProvider,Z,ee,le),c.localize(16,null))})}_getNoResultFoundMessage(V){return V&&V.word?c.localize(17,null,V.word):c.localize(18,null)}_getAlternativeCommand(V){return V.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(V){return V.getOption(58).multipleTypeDefinitions}}(0,a.registerAction2)((P=class extends ne{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:P.ID,title:{value:c.localize(19,null),original:"Go to Type Definition",mnemonicTitle:c.localize(20,null)},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:0,weight:100},menu:[{id:a.MenuId.EditorContext,group:"navigation",order:1.4},{id:a.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},P.ID="editor.action.goToTypeDefinition",P)),(0,a.registerAction2)((O=class extends ne{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:O.ID,title:{value:c.localize(21,null),original:"Peek Type Definition"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasTypeDefinitionProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:a.MenuId.EditorContextPeek,group:"peek",order:4}})}},O.ID="editor.action.peekTypeDefinition",O));class se extends F{_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getImplementationsAtPosition)(V.implementationProvider,Z,ee,le),c.localize(22,null))})}_getNoResultFoundMessage(V){return V&&V.word?c.localize(23,null,V.word):c.localize(24,null)}_getAlternativeCommand(V){return V.getOption(58).alternativeImplementationCommand}_getGoToPreference(V){return V.getOption(58).multipleImplementations}}(0,a.registerAction2)((x=class extends se{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:x.ID,title:{value:c.localize(25,null),original:"Go to Implementations",mnemonicTitle:c.localize(26,null)},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:2118,weight:100},menu:[{id:a.MenuId.EditorContext,group:"navigation",order:1.45},{id:a.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},x.ID="editor.action.goToImplementation",x)),(0,a.registerAction2)((W=class extends se{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:W.ID,title:{value:c.localize(27,null),original:"Peek Implementations"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasImplementationProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:3142,weight:100},menu:{id:a.MenuId.EditorContextPeek,group:"peek",order:5}})}},W.ID="editor.action.peekImplementation",W));class J extends F{_getNoResultFoundMessage(V){return V?c.localize(28,null,V.word):c.localize(29,null)}_getAlternativeCommand(V){return V.getOption(58).alternativeReferenceCommand}_getGoToPreference(V){return V.getOption(58).multipleReferences}}(0,a.registerAction2)(class extends J{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{value:c.localize(30,null),original:"Go to References",mnemonicTitle:c.localize(31,null)},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),keybinding:{when:t.EditorContextKeys.editorTextFocus,primary:1094,weight:100},menu:[{id:a.MenuId.EditorContext,group:"navigation",order:1.45},{id:a.MenuId.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Z,ee,!0,le),c.localize(32,null))})}}),(0,a.registerAction2)(class extends J{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:{value:c.localize(33,null),original:"Peek References"},precondition:h.ContextKeyExpr.and(t.EditorContextKeys.hasReferenceProvider,o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated()),menu:{id:a.MenuId.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(yield(0,E.getReferencesAtPosition)(V.referenceProvider,Z,ee,!1,le),c.localize(34,null))})}});class q extends F{constructor(V,Z,ee){super(V,{id:"editor.action.goToLocation",title:{value:c.localize(35,null),original:"Go to Any Symbol"},precondition:h.ContextKeyExpr.and(o.PeekContext.notInPeekEditor,t.EditorContextKeys.isInWalkThroughSnippet.toNegated())}),this._references=Z,this._gotoMultipleBehaviour=ee}_getLocationModel(V,Z,ee,le){return be(this,void 0,void 0,function*(){return new f.ReferencesModel(this._references,c.localize(36,null))})}_getNoResultFoundMessage(V){return V&&c.localize(37,null,V.word)||""}_getGoToPreference(V){var Z;return(Z=this._gotoMultipleBehaviour)!==null&&Z!==void 0?Z:V.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}g.CommandsRegistry.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(H,V,Z,ee,le,ue,de)=>be(void 0,void 0,void 0,function*(){(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Z)),(0,D.assertType)(Array.isArray(ee)),(0,D.assertType)(typeof le>"u"||typeof le=="string"),(0,D.assertType)(typeof de>"u"||typeof de=="boolean");const ce=H.get(C.ICodeEditorService),ae=yield ce.openCodeEditor({resource:V},ce.getFocusedCodeEditor());if((0,_.isCodeEditor)(ae))return ae.setPosition(Z),ae.revealPositionInCenterIfOutsideViewport(Z,0),ae.invokeWithinContext(X=>{const K=new class extends q{_getNoResultFoundMessage(z){return ue||super._getNoResultFoundMessage(z)}}({muteMessage:!ue,openInPeek:!!de,openToSide:!1},ee,le);X.get(p.IInstantiationService).invokeFunction(K.run.bind(K),ae)})})}),g.CommandsRegistry.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:S.URI},{name:"position",description:"The position at which to start",constraint:i.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(H,V,Z,ee,le)=>be(void 0,void 0,void 0,function*(){H.get(g.ICommandService).executeCommand("editor.action.goToLocations",V,Z,ee,le,void 0,!0)})}),g.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:(H,V,Z)=>{(0,D.assertType)(S.URI.isUri(V)),(0,D.assertType)(i.Position.isIPosition(Z));const ee=H.get(k.ILanguageFeaturesService),le=H.get(C.ICodeEditorService);return le.openCodeEditor({resource:V},le.getFocusedCodeEditor()).then(ue=>{if(!(0,_.isCodeEditor)(ue)||!ue.hasModel())return;const de=u.ReferencesController.get(ue);if(!de)return;const ce=(0,I.createCancelablePromise)(X=>(0,E.getReferencesAtPosition)(ee.referenceProvider,ue.getModel(),i.Position.lift(Z),!1,X).then(K=>new f.ReferencesModel(K,c.localize(38,null)))),ae=new n.Range(Z.lineNumber,Z.column,Z.lineNumber,Z.column);return Promise.resolve(de.toggleWidget(ae,ce,!1))})}}),g.CommandsRegistry.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")}),define(te[375],ie([1,0,14,9,57,2,103,16,5,42,65,184,136,666,15,255,246,18,37,450]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.GotoDefinitionAtPositionEditorContribution=void 0;let o=l=class{constructor(a,g,h,p){this.textModelResolverService=g,this.languageService=h,this.languageFeaturesService=p,this.toUnhook=new D.DisposableStore,this.toUnhookForKeyboard=new D.DisposableStore,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=a,this.linkDecorations=this.editor.createDecorationsCollection();const b=new s.ClickLinkGesture(a);this.toUnhook.add(b),this.toUnhook.add(b.onMouseMoveOrRelevantKeyDown(([w,E])=>{this.startFindDefinitionFromMouse(w,E??void 0)})),this.toUnhook.add(b.onExecute(w=>{this.isEnabled(w)&&this.gotoDefinition(w.target.position,w.hasSideBySideModifier).catch(E=>{(0,I.onUnexpectedError)(E)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(b.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(a){return a.getContribution(l.ID)}startFindDefinitionFromCursor(a){return be(this,void 0,void 0,function*(){yield this.startFindDefinition(a),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(g=>{g&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(a,g){if(a.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(a,g)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const h=a.target.position;this.startFindDefinition(h)}startFindDefinition(a){var g;return be(this,void 0,void 0,function*(){this.toUnhookForKeyboard.clear();const h=a?(g=this.editor.getModel())===null||g===void 0?void 0:g.getWordAtPosition(a):null;if(!h){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===h.startColumn&&this.currentWordAtPosition.endColumn===h.endColumn&&this.currentWordAtPosition.word===h.word)return;this.currentWordAtPosition=h;const p=new S.EditorState(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,L.createCancelablePromise)(E=>this.findDefinition(a,E));let b;try{b=yield this.previousPromise}catch(E){(0,I.onUnexpectedError)(E);return}if(!b||!b.length||!p.validate(this.editor)){this.removeLinkDecorations();return}const w=b[0].originSelectionRange?_.Range.lift(b[0].originSelectionRange):new _.Range(a.lineNumber,h.startColumn,a.lineNumber,h.endColumn);if(b.length>1){let E=w;for(const{originSelectionRange:k}of b)k&&(E=_.Range.plusRange(E,k));this.addDecoration(E,new y.MarkdownString().appendText(n.localize(0,null,b.length)))}else{const E=b[0];if(!E.uri)return;this.textModelResolverService.createModelReference(E.uri).then(k=>{if(!k.object||!k.object.textEditorModel){k.dispose();return}const{object:{textEditorModel:M}}=k,{startLineNumber:R}=E.range;if(R<1||R>M.getLineCount()){k.dispose();return}const B=this.getPreviewValue(M,R,E),T=this.languageService.guessLanguageIdByFilepathOrFirstLine(M.uri);this.addDecoration(w,B?new y.MarkdownString().appendCodeblock(T||"",B):void 0),k.dispose()})}})}getPreviewValue(a,g,h){let p=h.range;return p.endLineNumber-p.startLineNumber>=l.MAX_SOURCE_PREVIEW_LINES&&(p=this.getPreviewRangeBasedOnIndentation(a,g)),this.stripIndentationFromPreviewRange(a,g,p)}stripIndentationFromPreviewRange(a,g,h){let b=a.getLineFirstNonWhitespaceColumn(g);for(let E=g+1;E{const p=!g&&this.editor.getOption(87)&&!this.isInPeekEditor(h);return new r.DefinitionAction({openToSide:g,openInPeek:p,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(h)})}isInPeekEditor(a){const g=a.get(t.IContextKeyService);return i.PeekContext.inPeekEditor.getValue(g)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};e.GotoDefinitionAtPositionEditorContribution=o,o.ID="editor.contrib.gotodefinitionatposition",o.MAX_SOURCE_PREVIEW_LINES=8,e.GotoDefinitionAtPositionEditorContribution=o=l=Ie([ge(1,C.ITextModelService),ge(2,v.ILanguageService),ge(3,f.ILanguageFeaturesService)],o),(0,m.registerEditorContribution)(o.ID,o,2)}),define(te[901],ie([1,0,7,13,14,9,2,46,5,18,233,135,252,112,373,674,94,55,85]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerHoverParticipant=e.MarkerHover=void 0;const l=L.$;class o{constructor(h,p,b){this.owner=h,this.range=p,this.marker=b}isValidForHoverAnchor(h){return h.type===1&&this.range.startColumn<=h.range.startColumn&&this.range.endColumn>=h.range.endColumn}}e.MarkerHover=o;const c={type:1,filter:{include:n.CodeActionKind.QuickFix},triggerAction:n.CodeActionTriggerSource.QuickFixHover};let a=class{constructor(h,p,b,w){this._editor=h,this._markerDecorationsService=p,this._openerService=b,this._languageFeaturesService=w,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(h,p){if(!this._editor.hasModel()||h.type!==1&&!h.supportsMarkerHover)return[];const b=this._editor.getModel(),w=h.range.startLineNumber,E=b.getLineMaxColumn(w),k=[];for(const M of p){const R=M.range.startLineNumber===w?M.range.startColumn:1,B=M.range.endLineNumber===w?M.range.endColumn:E,T=this._markerDecorationsService.getMarker(b.uri,M);if(!T)continue;const N=new _.Range(h.range.startLineNumber,R,h.range.startLineNumber,B);k.push(new o(this,N,T))}return k}renderHoverParts(h,p){if(!p.length)return S.Disposable.None;const b=new S.DisposableStore;p.forEach(E=>h.fragment.appendChild(this.renderMarkerHover(E,b)));const w=p.length===1?p[0]:p.sort((E,k)=>u.MarkerSeverity.compare(E.marker.severity,k.marker.severity))[0];return this.renderMarkerStatusbar(h,w,b),b}renderMarkerHover(h,p){const b=l("div.hover-row"),w=L.append(b,l("div.marker.hover-contents")),{source:E,message:k,code:M,relatedInformation:R}=h.marker;this._editor.applyFontInfo(w);const B=L.append(w,l("span"));if(B.style.whiteSpace="pre-wrap",B.innerText=k,E||M)if(M&&typeof M!="string"){const T=l("span");if(E){const O=L.append(T,l("span"));O.innerText=E}const N=L.append(T,l("a.code-link"));N.setAttribute("href",M.target.toString()),p.add(L.addDisposableListener(N,"click",O=>{this._openerService.open(M.target,{allowCommands:!0}),O.preventDefault(),O.stopPropagation()}));const A=L.append(N,l("span"));A.innerText=M.value;const P=L.append(w,T);P.style.opacity="0.6",P.style.paddingLeft="6px"}else{const T=L.append(w,l("span"));T.style.opacity="0.6",T.style.paddingLeft="6px",T.innerText=E&&M?`${E}(${M})`:E||`(${M})`}if((0,I.isNonEmptyArray)(R))for(const{message:T,resource:N,startLineNumber:A,startColumn:P}of R){const O=L.append(w,l("div"));O.style.marginTop="8px";const x=L.append(O,l("a"));x.innerText=`${(0,m.basename)(N)}(${A}, ${P}): `,x.style.cursor="pointer",p.add(L.addDisposableListener(x,"click",U=>{U.stopPropagation(),U.preventDefault(),this._openerService&&this._openerService.open(N,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:A,startColumn:P}}}).catch(D.onUnexpectedError)}));const W=L.append(O,l("span"));W.innerText=T,this._editor.applyFontInfo(W)}return b}renderMarkerStatusbar(h,p,b){if((p.marker.severity===u.MarkerSeverity.Error||p.marker.severity===u.MarkerSeverity.Warning||p.marker.severity===u.MarkerSeverity.Info)&&h.statusBar.addAction({label:r.localize(0,null),commandId:t.NextMarkerAction.ID,run:()=>{var w;h.hide(),(w=t.MarkerController.get(this._editor))===null||w===void 0||w.showAtMarker(p.marker),this._editor.focus()}}),!this._editor.getOption(90)){const w=h.statusBar.append(l("div"));this.recentMarkerCodeActionsInfo&&(u.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker)===u.IMarkerData.makeKey(p.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(w.textContent=r.localize(1,null)):this.recentMarkerCodeActionsInfo=void 0);const E=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?S.Disposable.None:b.add((0,y.disposableTimeout)(()=>w.textContent=r.localize(2,null),200));w.textContent||(w.textContent=String.fromCharCode(160));const k=this.getCodeActions(p.marker);b.add((0,S.toDisposable)(()=>k.cancel())),k.then(M=>{if(E.dispose(),this.recentMarkerCodeActionsInfo={marker:p.marker,hasCodeActions:M.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){M.dispose(),w.textContent=r.localize(3,null);return}w.style.display="none";let R=!1;b.add((0,S.toDisposable)(()=>{R||M.dispose()})),h.statusBar.addAction({label:r.localize(4,null),commandId:s.quickFixCommandId,run:B=>{R=!0;const T=i.CodeActionController.get(this._editor),N=L.getDomNodePagePosition(B);h.hide(),T?.showCodeActions(c,M,{x:N.left,y:N.top,width:N.width,height:N.height})}})},D.onUnexpectedError)}}getCodeActions(h){return(0,y.createCancelablePromise)(p=>(0,s.getCodeActions)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new _.Range(h.startLineNumber,h.startColumn,h.endLineNumber,h.endColumn),c,d.Progress.None,p))}};e.MarkerHoverParticipant=a,e.MarkerHoverParticipant=a=Ie([ge(1,C.IMarkerDecorationsService),ge(2,f.IOpenerService),ge(3,v.ILanguageFeaturesService)],a)}),define(te[376],ie([1,0,62,2,16,5,22,42,375,371,782,8,55,31,23,99,247,901,251,34,672,14,452]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c){"use strict";var a;Object.defineProperty(e,"__esModule",{value:!0}),e.ModesHoverController=void 0;const g=!1;let h=a=class extends I.Disposable{static get(P){return P.getContribution(a.ID)}constructor(P,O,x,W,U){super(),this._editor=P,this._instantiationService=O,this._openerService=x,this._languageService=W,this._keybindingService=U,this._toUnhook=new I.DisposableStore,this._hoverActivatedByColorDecoratorClick=!1,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._reactToEditorMouseMoveRunner=this._register(new c.RunOnceScheduler(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookEvents(),this._register(this._editor.onDidChangeConfiguration(F=>{F.hasChanged(60)&&(this._unhookEvents(),this._hookEvents())})),this._register(this._editor.onMouseLeave(()=>{this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}))}_hookEvents(){const P=()=>this._hideWidgets(),O=this._editor.getOption(60);this._isHoverEnabled=O.enabled,this._isHoverSticky=O.sticky,this._hidingDelay=O.hidingDelay,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(x=>this._onEditorMouseDown(x))),this._toUnhook.add(this._editor.onMouseUp(x=>this._onEditorMouseUp(x))),this._toUnhook.add(this._editor.onMouseMove(x=>this._onEditorMouseMove(x))),this._toUnhook.add(this._editor.onKeyDown(x=>this._onKeyDown(x)))):(this._toUnhook.add(this._editor.onMouseMove(x=>this._onEditorMouseMove(x))),this._toUnhook.add(this._editor.onKeyDown(x=>this._onKeyDown(x)))),this._toUnhook.add(this._editor.onMouseLeave(x=>this._onEditorMouseLeave(x))),this._toUnhook.add(this._editor.onDidChangeModel(P)),this._toUnhook.add(this._editor.onDidScrollChange(x=>this._onEditorScrollChanged(x)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(P){(P.scrollTopChanged||P.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(P){var O;this._isMouseDown=!0;const x=P.target;if(x.type===9&&x.detail===v.ContentHoverWidget.ID){this._hoverClicked=!0;return}x.type===12&&x.detail===C.MarginHoverWidget.ID||(x.type!==12&&(this._hoverClicked=!1),!((O=this._contentWidget)===null||O===void 0)&&O.widget.isResizing||this._hideWidgets())}_onEditorMouseUp(P){this._isMouseDown=!1}_onEditorMouseLeave(P){var O,x;const W=P.event.browserEvent.relatedTarget;!((O=this._contentWidget)===null||O===void 0)&&O.widget.isResizing||!((x=this._contentWidget)===null||x===void 0)&&x.containsNode(W)||g||this._hideWidgets()}_isMouseOverWidget(P){var O,x,W,U,F;const G=P.target;return!!(this._isHoverSticky&&G.type===9&&G.detail===v.ContentHoverWidget.ID||this._isHoverSticky&&(!((O=this._contentWidget)===null||O===void 0)&&O.containsNode((x=P.event.browserEvent.view)===null||x===void 0?void 0:x.document.activeElement))&&!(!((U=(W=P.event.browserEvent.view)===null||W===void 0?void 0:W.getSelection())===null||U===void 0)&&U.isCollapsed)||!this._isHoverSticky&&G.type===9&&G.detail===v.ContentHoverWidget.ID&&(!((F=this._contentWidget)===null||F===void 0)&&F.isColorPickerVisible)||this._isHoverSticky&&G.type===12&&G.detail===C.MarginHoverWidget.ID)}_onEditorMouseMove(P){var O,x,W,U;if(this._mouseMoveEvent=P,!((O=this._contentWidget)===null||O===void 0)&&O.isFocused||!((x=this._contentWidget)===null||x===void 0)&&x.isResizing||this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&(!((W=this._contentWidget)===null||W===void 0)&&W.isVisibleFromKeyboard))return;if(this._isMouseOverWidget(P)){this._reactToEditorMouseMoveRunner.cancel();return}if(!((U=this._contentWidget)===null||U===void 0)&&U.isVisible&&this._isHoverSticky&&this._hidingDelay>0){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(this._hidingDelay);return}this._reactToEditorMouseMove(P)}_reactToEditorMouseMove(P){var O,x,W;if(!P)return;const U=P.target,F=(O=U.element)===null||O===void 0?void 0:O.classList.contains("colorpicker-color-decoration"),G=this._editor.getOption(146);if(F&&(G==="click"&&!this._hoverActivatedByColorDecoratorClick||G==="hover"&&!this._isHoverEnabled&&!g||G==="clickAndHover"&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick)||!F&&!this._isHoverEnabled&&!this._hoverActivatedByColorDecoratorClick){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(P)){(x=this._glyphWidget)===null||x===void 0||x.hide();return}if(U.type===2&&U.position){(W=this._contentWidget)===null||W===void 0||W.hide(),this._glyphWidget||(this._glyphWidget=new C.MarginHoverWidget(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(U.position.lineNumber);return}g||this._hideWidgets()}_onKeyDown(P){var O;if(!this._editor.hasModel())return;const x=this._keybindingService.softDispatch(P,this._editor.getDomNode()),W=x.kind===1||x.kind===2&&x.commandId==="editor.action.showHover"&&((O=this._contentWidget)===null||O===void 0?void 0:O.isVisible);P.keyCode!==5&&P.keyCode!==6&&P.keyCode!==57&&P.keyCode!==4&&!W&&this._hideWidgets()}_hideWidgets(){var P,O,x;g||this._isMouseDown&&this._hoverClicked&&(!((P=this._contentWidget)===null||P===void 0)&&P.isColorPickerVisible)||d.InlineSuggestionHintsContentWidget.dropDownVisible||(this._hoverActivatedByColorDecoratorClick=!1,this._hoverClicked=!1,(O=this._glyphWidget)===null||O===void 0||O.hide(),(x=this._contentWidget)===null||x===void 0||x.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(v.ContentHoverController,this._editor)),this._contentWidget}showContentHover(P,O,x,W,U=!1){this._hoverActivatedByColorDecoratorClick=U,this._getOrCreateContentWidget().startShowingAtRange(P,O,x,W)}focus(){var P;(P=this._contentWidget)===null||P===void 0||P.focus()}scrollUp(){var P;(P=this._contentWidget)===null||P===void 0||P.scrollUp()}scrollDown(){var P;(P=this._contentWidget)===null||P===void 0||P.scrollDown()}scrollLeft(){var P;(P=this._contentWidget)===null||P===void 0||P.scrollLeft()}scrollRight(){var P;(P=this._contentWidget)===null||P===void 0||P.scrollRight()}pageUp(){var P;(P=this._contentWidget)===null||P===void 0||P.pageUp()}pageDown(){var P;(P=this._contentWidget)===null||P===void 0||P.pageDown()}goToTop(){var P;(P=this._contentWidget)===null||P===void 0||P.goToTop()}goToBottom(){var P;(P=this._contentWidget)===null||P===void 0||P.goToBottom()}get isColorPickerVisible(){var P;return(P=this._contentWidget)===null||P===void 0?void 0:P.isColorPickerVisible}get isHoverVisible(){var P;return(P=this._contentWidget)===null||P===void 0?void 0:P.isVisible}dispose(){var P,O;super.dispose(),this._unhookEvents(),this._toUnhook.dispose(),(P=this._glyphWidget)===null||P===void 0||P.dispose(),(O=this._contentWidget)===null||O===void 0||O.dispose()}};e.ModesHoverController=h,h.ID="editor.contrib.hover",e.ModesHoverController=h=a=Ie([ge(1,s.IInstantiationService),ge(2,i.IOpenerService),ge(3,m.ILanguageService),ge(4,l.IKeybindingService)],h);class p extends y.EditorAction{constructor(){super({id:"editor.action.showHover",label:o.localize(0,null),description:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if when triggered with the keyboard, the hover should take focus immediately.",type:"boolean",default:!1}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:S.EditorContextKeys.editorTextFocus,primary:(0,L.KeyChord)(2089,2087),weight:100}})}run(P,O,x){if(!O.hasModel())return;const W=h.get(O);if(!W)return;const U=O.getPosition(),F=new D.Range(U.lineNumber,U.column,U.lineNumber,U.column),G=O.getOption(2)===2||!!x?.focus;W.isHoverVisible?W.focus():W.showContentHover(F,1,1,G)}}class b extends y.EditorAction{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:o.localize(1,null),alias:"Show Definition Preview Hover",precondition:void 0})}run(P,O){const x=h.get(O);if(!x)return;const W=O.getPosition();if(!W)return;const U=new D.Range(W.lineNumber,W.column,W.lineNumber,W.column),F=_.GotoDefinitionAtPositionEditorContribution.get(O);if(!F)return;F.startFindDefinitionFromCursor(W).then(()=>{x.showContentHover(U,1,1,!0)})}}class w extends y.EditorAction{constructor(){super({id:"editor.action.scrollUpHover",label:o.localize(2,null),alias:"Scroll Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:16,weight:100}})}run(P,O){const x=h.get(O);x&&x.scrollUp()}}class E extends y.EditorAction{constructor(){super({id:"editor.action.scrollDownHover",label:o.localize(3,null),alias:"Scroll Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:18,weight:100}})}run(P,O){const x=h.get(O);x&&x.scrollDown()}}class k extends y.EditorAction{constructor(){super({id:"editor.action.scrollLeftHover",label:o.localize(4,null),alias:"Scroll Left Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:15,weight:100}})}run(P,O){const x=h.get(O);x&&x.scrollLeft()}}class M extends y.EditorAction{constructor(){super({id:"editor.action.scrollRightHover",label:o.localize(5,null),alias:"Scroll Right Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:17,weight:100}})}run(P,O){const x=h.get(O);x&&x.scrollRight()}}class R extends y.EditorAction{constructor(){super({id:"editor.action.pageUpHover",label:o.localize(6,null),alias:"Page Up Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:11,secondary:[528],weight:100}})}run(P,O){const x=h.get(O);x&&x.pageUp()}}class B extends y.EditorAction{constructor(){super({id:"editor.action.pageDownHover",label:o.localize(7,null),alias:"Page Down Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:12,secondary:[530],weight:100}})}run(P,O){const x=h.get(O);x&&x.pageDown()}}class T extends y.EditorAction{constructor(){super({id:"editor.action.goToTopHover",label:o.localize(8,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(P,O){const x=h.get(O);x&&x.goToTop()}}class N extends y.EditorAction{constructor(){super({id:"editor.action.goToBottomHover",label:o.localize(9,null),alias:"Go To Bottom Hover",precondition:S.EditorContextKeys.hoverFocused,kbOpts:{kbExpr:S.EditorContextKeys.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(P,O){const x=h.get(O);x&&x.goToBottom()}}(0,y.registerEditorContribution)(h.ID,h,2),(0,y.registerEditorAction)(p),(0,y.registerEditorAction)(b),(0,y.registerEditorAction)(w),(0,y.registerEditorAction)(E),(0,y.registerEditorAction)(k),(0,y.registerEditorAction)(M),(0,y.registerEditorAction)(R),(0,y.registerEditorAction)(B),(0,y.registerEditorAction)(T),(0,y.registerEditorAction)(N),r.HoverParticipantRegistry.register(u.MarkdownHoverParticipant),r.HoverParticipantRegistry.register(f.MarkerHoverParticipant),(0,t.registerThemingParticipant)((A,P)=>{const O=A.getColor(n.editorHoverBorder);O&&(P.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${O.transparent(.5)}; }`),P.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${O.transparent(.5)}; }`),P.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${O.transparent(.5)}; }`))})}),define(te[902],ie([1,0,2,16,5,367,368,376,99]),function($,e,L,I,y,D,S,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorContribution=void 0;class v extends L.Disposable{constructor(s){super(),this._editor=s,this._register(s.onMouseDown(i=>this.onMouseDown(i)))}dispose(){super.dispose()}onMouseDown(s){const i=this._editor.getOption(146);if(i!=="click"&&i!=="clickAndHover")return;const n=s.target;if(n.type!==6||!n.detail.injectedText||n.detail.injectedText.options.attachedData!==D.ColorDecorationInjectedTextMarker||!n.range)return;const t=this._editor.getContribution(m.ModesHoverController.ID);if(t&&!t.isColorPickerVisible){const r=new y.Range(n.range.startLineNumber,n.range.startColumn+1,n.range.endLineNumber,n.range.endColumn+1);t.showContentHover(r,1,0,!1,!0)}}}e.ColorContribution=v,v.ID="editor.contrib.colorContribution",(0,I.registerEditorContribution)(v.ID,v,2),_.HoverParticipantRegistry.register(S.ColorHoverParticipant)}),define(te[377],ie([1,0,7,41,19,169,5,65,255,136,30,25,15,58,8,48]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.goToDefinitionWithLocation=e.showGoToContextMenu=void 0;function u(d,l,o,c){var a;return be(this,void 0,void 0,function*(){const g=d.get(m.ITextModelService),h=d.get(n.IContextMenuService),p=d.get(s.ICommandService),b=d.get(t.IInstantiationService),w=d.get(r.INotificationService);if(yield c.item.resolve(y.CancellationToken.None),!c.part.location)return;const E=c.part.location,k=[],M=new Set(C.MenuRegistry.getMenuItems(C.MenuId.EditorContext).map(B=>(0,C.isIMenuItem)(B)?B.command.id:(0,D.generateUuid)()));for(const B of _.SymbolNavigationAction.all())M.has(B.desc.id)&&k.push(new I.Action(B.desc.id,C.MenuItemAction.label(B.desc,{renderShortTitle:!0}),void 0,!0,()=>be(this,void 0,void 0,function*(){const T=yield g.createModelReference(E.uri);try{const N=new _.SymbolNavigationAnchor(T.object.textEditorModel,S.Range.getStartPosition(E.range)),A=c.item.anchor.range;yield b.invokeFunction(B.runEditorCommand.bind(B),l,N,A)}finally{T.dispose()}})));if(c.part.command){const{command:B}=c.part;k.push(new I.Separator),k.push(new I.Action(B.id,B.title,void 0,!0,()=>be(this,void 0,void 0,function*(){var T;try{yield p.executeCommand(B.id,...(T=B.arguments)!==null&&T!==void 0?T:[])}catch(N){w.notify({severity:r.Severity.Error,source:c.item.provider.displayName,message:N})}})))}const R=l.getOption(126);h.showContextMenu({domForShadowRoot:R&&(a=l.getDomNode())!==null&&a!==void 0?a:void 0,getAnchor:()=>{const B=L.getDomNodePagePosition(o);return{x:B.left,y:B.top+B.height+8}},getActions:()=>k,onHide:()=>{l.focus()},autoSelectFirstItem:!0})})}e.showGoToContextMenu=u;function f(d,l,o,c){return be(this,void 0,void 0,function*(){const g=yield d.get(m.ITextModelService).createModelReference(c.uri);yield o.invokeWithinContext(h=>be(this,void 0,void 0,function*(){const p=l.hasSideBySideModifier,b=h.get(i.IContextKeyService),w=v.PeekContext.inPeekEditor.getValue(b),E=!p&&o.getOption(87)&&!w;return new _.DefinitionAction({openToSide:p,openInPeek:E,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(h,new _.SymbolNavigationAnchor(g.object.textEditorModel,S.Range.getStartPosition(c.range)),S.Range.lift(c.range))})),g.dispose()})}e.goToDefinitionWithLocation=f}),define(te[378],ie([1,0,7,13,14,19,9,2,56,20,21,159,120,39,71,5,29,49,37,74,18,65,184,326,377,25,47,8,48,31,23]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M){"use strict";var R;Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsController=e.RenderedInlayHintLabelPart=void 0;class B{constructor(){this._entries=new _.LRUCache(50)}get(W){const U=B._key(W);return this._entries.get(U)}set(W,U){const F=B._key(W);this._entries.set(F,U)}static _key(W){return`${W.uri.toString()}/${W.getVersionId()}`}}const T=(0,w.createDecorator)("IInlayHintsCache");(0,b.registerSingleton)(T,B,1);class N{constructor(W,U){this.item=W,this.index=U}get part(){const W=this.item.hint.label;return typeof W=="string"?{label:W}:W[this.index]}}e.RenderedInlayHintLabelPart=N;class A{constructor(W,U){this.part=W,this.hasTriggerModifier=U}}let P=R=class{static get(W){var U;return(U=W.getContribution(R.ID))!==null&&U!==void 0?U:void 0}constructor(W,U,F,G,Y,ne,se){this._editor=W,this._languageFeaturesService=U,this._inlayHintsCache=G,this._commandService=Y,this._notificationService=ne,this._instaService=se,this._disposables=new m.DisposableStore,this._sessionDisposables=new m.DisposableStore,this._decorationsMetadata=new Map,this._ruleFactory=new s.DynamicCssRules(this._editor),this._activeRenderMode=0,this._debounceInfo=F.for(U.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(U.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(W.onDidChangeModel(()=>this._update())),this._disposables.add(W.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(W.onDidChangeConfiguration(J=>{J.hasChanged(139)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){this._sessionDisposables.clear(),this._removeAllDecorations();const W=this._editor.getOption(139);if(W.enabled==="off")return;const U=this._editor.getModel();if(!U||!this._languageFeaturesService.inlayHintsProvider.has(U))return;const F=this._inlayHintsCache.get(U);F&&this._updateHintsDecorators([U.getFullModelRange()],F),this._sessionDisposables.add((0,m.toDisposable)(()=>{U.isDisposed()||this._cacheHintsForFastRestore(U)}));let G;const Y=new Set,ne=new y.RunOnceScheduler(()=>be(this,void 0,void 0,function*(){const se=Date.now();G?.dispose(!0),G=new D.CancellationTokenSource;const J=U.onWillDispose(()=>G?.cancel());try{const q=G.token,H=yield g.InlayHintsFragments.create(this._languageFeaturesService.inlayHintsProvider,U,this._getHintsRanges(),q);if(ne.delay=this._debounceInfo.update(U,Date.now()-se),q.isCancellationRequested){H.dispose();return}for(const V of H.provider)typeof V.onDidChangeInlayHints=="function"&&!Y.has(V)&&(Y.add(V),this._sessionDisposables.add(V.onDidChangeInlayHints(()=>{ne.isScheduled()||ne.schedule()})));this._sessionDisposables.add(H),this._updateHintsDecorators(H.ranges,H.items),this._cacheHintsForFastRestore(U)}catch(q){(0,S.onUnexpectedError)(q)}finally{G.dispose(),J.dispose()}}),this._debounceInfo.get(U));if(this._sessionDisposables.add(ne),this._sessionDisposables.add((0,m.toDisposable)(()=>G?.dispose(!0))),ne.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(se=>{(se.scrollTopChanged||!ne.isScheduled())&&ne.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(se=>{const J=Math.max(ne.delay,1250);ne.schedule(J)})),W.enabled==="on")this._activeRenderMode=0;else{let se,J;W.enabled==="onUnlessPressed"?(se=0,J=1):(se=1,J=0),this._activeRenderMode=se,this._sessionDisposables.add(L.ModifierKeyEmitter.getInstance().event(q=>{if(!this._editor.hasModel())return;const H=q.altKey&&q.ctrlKey&&!(q.shiftKey||q.metaKey)?J:se;if(H!==this._activeRenderMode){this._activeRenderMode=H;const V=this._editor.getModel(),Z=this._copyInlayHintsWithCurrentAnchor(V);this._updateHintsDecorators([V.getFullModelRange()],Z),ne.schedule(0)}}))}this._sessionDisposables.add(this._installDblClickGesture(()=>ne.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const W=new m.DisposableStore,U=W.add(new a.ClickLinkGesture(this._editor)),F=new m.DisposableStore;return W.add(F),W.add(U.onMouseMoveOrRelevantKeyDown(G=>{const[Y]=G,ne=this._getInlayHintLabelPart(Y),se=this._editor.getModel();if(!ne||!se){F.clear();return}const J=new D.CancellationTokenSource;F.add((0,m.toDisposable)(()=>J.dispose(!0))),ne.item.resolve(J.token),this._activeInlayHintPart=ne.part.command||ne.part.location?new A(ne,Y.hasTriggerModifier):void 0;const q=se.validatePosition(ne.item.hint.position).lineNumber,H=new r.Range(q,1,q,se.getLineMaxColumn(q)),V=this._getInlineHintsForRange(H);this._updateHintsDecorators([H],V),F.add((0,m.toDisposable)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([H],V)}))})),W.add(U.onCancel(()=>F.clear())),W.add(U.onExecute(G=>be(this,void 0,void 0,function*(){const Y=this._getInlayHintLabelPart(G);if(Y){const ne=Y.part;ne.location?this._instaService.invokeFunction(h.goToDefinitionWithLocation,G,this._editor,ne.location):u.Command.is(ne.command)&&(yield this._invokeCommand(ne.command,Y.item))}}))),W}_getInlineHintsForRange(W){const U=new Set;for(const F of this._decorationsMetadata.values())W.containsRange(F.item.anchor.range)&&U.add(F.item);return Array.from(U)}_installDblClickGesture(W){return this._editor.onMouseUp(U=>be(this,void 0,void 0,function*(){if(U.event.detail!==2)return;const F=this._getInlayHintLabelPart(U);if(F&&(U.event.preventDefault(),yield F.item.resolve(D.CancellationToken.None),(0,I.isNonEmptyArray)(F.item.hint.textEdits))){const G=F.item.hint.textEdits.map(Y=>t.EditOperation.replace(r.Range.lift(Y.range),Y.text));this._editor.executeEdits("inlayHint.default",G),W()}}))}_installContextMenu(){return this._editor.onContextMenu(W=>be(this,void 0,void 0,function*(){if(!(W.event.target instanceof HTMLElement))return;const U=this._getInlayHintLabelPart(W);U&&(yield this._instaService.invokeFunction(h.showGoToContextMenu,this._editor,W.event.target,U))}))}_getInlayHintLabelPart(W){var U;if(W.target.type!==6)return;const F=(U=W.target.detail.injectedText)===null||U===void 0?void 0:U.options;if(F instanceof d.ModelDecorationInjectedTextOptions&&F?.attachedData instanceof N)return F.attachedData}_invokeCommand(W,U){var F;return be(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(W.id,...(F=W.arguments)!==null&&F!==void 0?F:[])}catch(G){this._notificationService.notify({severity:E.Severity.Error,source:U.provider.displayName,message:G})}})}_cacheHintsForFastRestore(W){const U=this._copyInlayHintsWithCurrentAnchor(W);this._inlayHintsCache.set(W,U)}_copyInlayHintsWithCurrentAnchor(W){const U=new Map;for(const[F,G]of this._decorationsMetadata){if(U.has(G.item))continue;const Y=W.getDecorationRange(F);if(Y){const ne=new g.InlayHintAnchor(Y,G.item.anchor.direction),se=G.item.with({anchor:ne});U.set(G.item,se)}}return Array.from(U.values())}_getHintsRanges(){const U=this._editor.getModel(),F=this._editor.getVisibleRangesPlusViewportAboveBelow(),G=[];for(const Y of F.sort(r.Range.compareRangesUsingStarts)){const ne=U.validateRange(new r.Range(Y.startLineNumber-30,Y.startColumn,Y.endLineNumber+30,Y.endColumn));G.length===0||!r.Range.areIntersectingOrTouching(G[G.length-1],ne)?G.push(ne):G[G.length-1]=r.Range.plusRange(G[G.length-1],ne)}return G}_updateHintsDecorators(W,U){var F,G;const Y=[],ne=(ue,de,ce,ae,X)=>{const K={content:ce,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:de.className,cursorStops:ae,attachedData:X};Y.push({item:ue,classNameRef:de,decoration:{range:ue.anchor.range,options:{description:"InlayHint",showIfCollapsed:ue.anchor.range.isEmpty(),collapseOnReplaceEdit:!ue.anchor.range.isEmpty(),stickiness:0,[ue.anchor.direction]:this._activeRenderMode===0?K:void 0}}})},se=(ue,de)=>{const ce=this._ruleFactory.createClassNameRef({width:`${J/3|0}px`,display:"inline-block"});ne(ue,ce,"\u200A",de?f.InjectedTextCursorStops.Right:f.InjectedTextCursorStops.None)},{fontSize:J,fontFamily:q,padding:H,isUniform:V}=this._getLayoutInfo(),Z="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(Z,q);for(const ue of U){ue.hint.paddingLeft&&se(ue,!1);const de=typeof ue.hint.label=="string"?[{label:ue.hint.label}]:ue.hint.label;for(let ce=0;ceR._MAX_DECORATORS)break}const ee=[];for(const ue of W)for(const{id:de}of(G=this._editor.getDecorationsInRange(ue))!==null&&G!==void 0?G:[]){const ce=this._decorationsMetadata.get(de);ce&&(ee.push(de),ce.classNameRef.dispose(),this._decorationsMetadata.delete(de))}const le=i.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(ue=>{const de=ue.deltaDecorations(ee,Y.map(ce=>ce.decoration));for(let ce=0;ceF)&&(Y=F);const ne=W.fontFamily||G;return{fontSize:Y,fontFamily:ne,padding:U,isUniform:!U&&ne===G&&Y===F}}_removeAllDecorations(){this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys()));for(const W of this._decorationsMetadata.values())W.classNameRef.dispose();this._decorationsMetadata.clear()}};e.InlayHintsController=P,P.ID="editor.contrib.InlayHints",P._MAX_DECORATORS=1500,e.InlayHintsController=P=R=Ie([ge(1,o.ILanguageFeaturesService),ge(2,l.ILanguageFeatureDebounceService),ge(3,T),ge(4,p.ICommandService),ge(5,E.INotificationService),ge(6,w.IInstantiationService)],P);function O(x){const W="\xA0";return x.replace(/[ \t]/g,W)}p.CommandsRegistry.registerCommand("_executeInlayHintProvider",(x,...W)=>be(void 0,void 0,void 0,function*(){const[U,F]=W;(0,v.assertType)(C.URI.isUri(U)),(0,v.assertType)(r.Range.isIRange(F));const{inlayHintsProvider:G}=x.get(o.ILanguageFeaturesService),Y=yield x.get(c.ITextModelService).createModelReference(U);try{const ne=yield g.InlayHintsFragments.create(G,Y.object.textEditorModel,[r.Range.lift(F)],D.CancellationToken.None),se=ne.items.map(J=>J.hint);return setTimeout(()=>ne.dispose(),0),se}finally{Y.dispose()}}))});var yt=this&&this.__asyncValues||function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=$[Symbol.asyncIterator],L;return e?e.call($):($=typeof __values=="function"?__values($):$[Symbol.iterator](),L={},I("next"),I("throw"),I("return"),L[Symbol.asyncIterator]=function(){return this},L);function I(D){L[D]=$[D]&&function(S){return new Promise(function(m,_){S=$[D](S),y(m,_,S.done,S.value)})}}function y(D,S,m,_){Promise.resolve(_).then(function(v){D({value:v,done:m})},S)}};define(te[903],ie([1,0,14,57,12,37,99,42,65,356,247,378,28,55,18,677,17,326,13]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlayHintsHover=void 0;class l extends S.HoverForeignElementAnchor{constructor(a,g,h,p){super(10,g,a.item.anchor.range,h,p,!0),this.part=a}}let o=class extends C.MarkdownHoverParticipant{constructor(a,g,h,p,b,w){super(a,g,h,p,w),this._resolverService=b,this.hoverOrdinal=6}suggestHoverAnchor(a){var g;if(!s.InlayHintsController.get(this._editor)||a.target.type!==6)return null;const p=(g=a.target.detail.injectedText)===null||g===void 0?void 0:g.options;return p instanceof D.ModelDecorationInjectedTextOptions&&p.attachedData instanceof s.RenderedInlayHintLabelPart?new l(p.attachedData,this,a.event.posx,a.event.posy):null}computeSync(){return[]}computeAsync(a,g,h){return a instanceof l?new L.AsyncIterableObject(p=>be(this,void 0,void 0,function*(){var b,w,E,k;const{part:M}=a;if(yield M.item.resolve(h),h.isCancellationRequested)return;let R;typeof M.item.hint.tooltip=="string"?R=new I.MarkdownString().appendText(M.item.hint.tooltip):M.item.hint.tooltip&&(R=M.item.hint.tooltip),R&&p.emitOne(new C.MarkdownHover(this,a.range,[R],!1,0)),(0,d.isNonEmptyArray)(M.item.hint.textEdits)&&p.emitOne(new C.MarkdownHover(this,a.range,[new I.MarkdownString().appendText((0,r.localize)(0,null))],!1,10001));let B;if(typeof M.part.tooltip=="string"?B=new I.MarkdownString().appendText(M.part.tooltip):M.part.tooltip&&(B=M.part.tooltip),B&&p.emitOne(new C.MarkdownHover(this,a.range,[B],!1,1)),M.part.location||M.part.command){let O;const W=this._editor.getOption(77)==="altKey"?u.isMacintosh?(0,r.localize)(1,null):(0,r.localize)(2,null):u.isMacintosh?(0,r.localize)(3,null):(0,r.localize)(4,null);M.part.location&&M.part.command?O=new I.MarkdownString().appendText((0,r.localize)(5,null,W)):M.part.location?O=new I.MarkdownString().appendText((0,r.localize)(6,null,W)):M.part.command&&(O=new I.MarkdownString(`[${(0,r.localize)(7,null)}](${(0,f.asCommandLink)(M.part.command)} "${M.part.command.title}") (${W})`,{isTrusted:!0})),O&&p.emitOne(new C.MarkdownHover(this,a.range,[O],!1,1e4))}const T=yield this._resolveInlayHintLabelPartHover(M,h);try{for(var N=!0,A=yt(T),P;P=yield A.next(),b=P.done,!b;N=!0){k=P.value,N=!1;const O=k;p.emitOne(O)}}catch(O){w={error:O}}finally{try{!N&&!b&&(E=A.return)&&(yield E.call(A))}finally{if(w)throw w.error}}})):L.AsyncIterableObject.EMPTY}_resolveInlayHintLabelPartHover(a,g){return be(this,void 0,void 0,function*(){if(!a.part.location)return L.AsyncIterableObject.EMPTY;const{uri:h,range:p}=a.part.location,b=yield this._resolverService.createModelReference(h);try{const w=b.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(w)?(0,v.getHover)(this._languageFeaturesService.hoverProvider,w,new y.Position(p.startLineNumber,p.startColumn),g).filter(E=>!(0,I.isEmptyMarkdownString)(E.hover.contents)).map(E=>new C.MarkdownHover(this,a.item.anchor.range,E.hover.contents,!1,2+E.ordinal)):L.AsyncIterableObject.EMPTY}finally{b.dispose()}})}};e.InlayHintsHover=o,e.InlayHintsHover=o=Ie([ge(1,m.ILanguageService),ge(2,n.IOpenerService),ge(3,i.IConfigurationService),ge(4,_.ITextModelService),ge(5,t.ILanguageFeaturesService)],o)}),define(te[904],ie([1,0,16,99,378,903]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.InlayHintsController.ID,y.InlayHintsController,1),I.HoverParticipantRegistry.register(D.InlayHintsHover)}),define(te[379],ie([1,0,2,18,894,893,8,58,30,15,22,184,5,246,377,12,19,32,74,7,303,60,253,295]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.StickyScrollController=void 0;let p=h=class extends L.Disposable{constructor(w,E,k,M,R,B,T){super(),this._editor=w,this._contextMenuService=E,this._languageFeaturesService=k,this._instaService=M,this._contextKeyService=T,this._sessionStore=new L.DisposableStore,this._foldingModel=null,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new y.StickyScrollWidget(this._editor),this._stickyLineCandidateProvider=new D.StickyLineCandidateProvider(this._editor,k,R),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new y.StickyScrollWidgetState([],[],0),this._readConfiguration();const N=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(P=>{(P.hasChanged(114)||P.hasChanged(72)||P.hasChanged(66)||P.hasChanged(109))&&this._readConfiguration()})),this._register(l.addDisposableListener(N,l.EventType.CONTEXT_MENU,P=>be(this,void 0,void 0,function*(){this._onContextMenu(P)}))),this._stickyScrollFocusedContextKey=C.EditorContextKeys.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=C.EditorContextKeys.stickyScrollVisible.bindTo(this._contextKeyService);const A=this._register(l.trackFocus(N));this._register(A.onDidBlur(P=>{this._positionRevealed===!1&&N.clientHeight===0?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(A.onDidFocus(P=>{this.focus()})),this._registerMouseListeners(),this._register(l.addDisposableListener(N,l.EventType.MOUSE_DOWN,P=>{this._onMouseDown=!0}))}static get(w){return w.getContribution(h.ID)}_disposeFocusStickyScrollStore(){var w;this._stickyScrollFocusedContextKey.set(!1),(w=this._focusDisposableStore)===null||w===void 0||w.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}this._stickyScrollFocusedContextKey.get()!==!0&&(this._focused=!0,this._focusDisposableStore=new L.DisposableStore,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(w){this._focusedStickyElementIndex=w?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){const w=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:w[this._focusedStickyElementIndex],column:1})}_revealPosition(w){this._reveaInEditor(w,()=>this._editor.revealPosition(w))}_revealLineInCenterIfOutsideViewport(w){this._reveaInEditor(w,()=>this._editor.revealLineInCenterIfOutsideViewport(w.lineNumber,0))}_reveaInEditor(w,E){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,E(),this._editor.setSelection(i.Range.fromPositions(w)),this._editor.focus()}_registerMouseListeners(){const w=this._register(new L.DisposableStore),E=this._register(new s.ClickLinkGesture(this._editor,{extractLineNumberFromMouseEvent:R=>{const B=this._stickyScrollWidget.getEditorPositionFromNode(R.target.element);return B?B.lineNumber:0}})),k=R=>{if(!this._editor.hasModel()||R.target.type!==12||R.target.detail!==this._stickyScrollWidget.getId())return null;const B=R.target.element;if(!B||B.innerText!==B.innerHTML)return null;const T=this._stickyScrollWidget.getEditorPositionFromNode(B);return T?{range:new i.Range(T.lineNumber,T.column,T.lineNumber,T.column+B.innerText.length),textElement:B}:null},M=this._stickyScrollWidget.getDomNode();this._register(l.addStandardDisposableListener(M,l.EventType.CLICK,R=>{if(R.ctrlKey||R.altKey||R.metaKey||!R.leftButton)return;if(R.shiftKey){const A=this._stickyScrollWidget.getLineIndexFromChildDomNode(R.target);if(A===null)return;const P=new r.Position(this._endLineNumbers[A],1);this._revealLineInCenterIfOutsideViewport(P);return}if(this._stickyScrollWidget.isInFoldingIconDomNode(R.target)){const A=this._stickyScrollWidget.getLineNumberFromChildDomNode(R.target);this._toggleFoldingRegionForLine(A);return}if(!this._stickyScrollWidget.isInStickyLine(R.target))return;let N=this._stickyScrollWidget.getEditorPositionFromNode(R.target);if(!N){const A=this._stickyScrollWidget.getLineNumberFromChildDomNode(R.target);if(A===null)return;N=new r.Position(A,1)}this._revealPosition(N)})),this._register(l.addStandardDisposableListener(M,l.EventType.MOUSE_MOVE,R=>{if(R.shiftKey){const B=this._stickyScrollWidget.getLineIndexFromChildDomNode(R.target);if(B===null||this._showEndForLine!==null&&this._showEndForLine===B)return;this._showEndForLine=B,this._renderStickyScroll();return}this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(l.addDisposableListener(M,l.EventType.MOUSE_LEAVE,R=>{this._showEndForLine!==null&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(E.onMouseMoveOrRelevantKeyDown(([R,B])=>{const T=k(R);if(!T||!R.hasTriggerModifier||!this._editor.hasModel()){w.clear();return}const{range:N,textElement:A}=T;if(!N.equalsRange(this._stickyRangeProjectedOnEditor))this._stickyRangeProjectedOnEditor=N,w.clear();else if(A.style.textDecoration==="underline")return;const P=new u.CancellationTokenSource;w.add((0,L.toDisposable)(()=>P.dispose(!0)));let O;(0,n.getDefinitionsAtPosition)(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new r.Position(N.startLineNumber,N.startColumn+1),P.token).then(x=>{if(!P.token.isCancellationRequested)if(x.length!==0){this._candidateDefinitionsLength=x.length;const W=A;O!==W?(w.clear(),O=W,O.style.textDecoration="underline",w.add((0,L.toDisposable)(()=>{O.style.textDecoration="none"}))):O||(O=W,O.style.textDecoration="underline",w.add((0,L.toDisposable)(()=>{O.style.textDecoration="none"})))}else w.clear()})})),this._register(E.onCancel(()=>{w.clear()})),this._register(E.onExecute(R=>be(this,void 0,void 0,function*(){if(R.target.type!==12||R.target.detail!==this._stickyScrollWidget.getId())return;const B=this._stickyScrollWidget.getEditorPositionFromNode(R.target.element);B&&(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:B.lineNumber,column:1})),this._instaService.invokeFunction(t.goToDefinitionWithLocation,R,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor}))})))}_onContextMenu(w){const E=new c.StandardMouseEvent(w);this._contextMenuService.showContextMenu({menuId:_.MenuId.StickyScrollContext,getAnchor:()=>E})}_toggleFoldingRegionForLine(w){if(!this._foldingModel||w===null)return;const E=this._stickyScrollWidget.getStickyLineForLine(w),k=E?.foldingIcon;if(!k)return;(0,g.toggleCollapseState)(this._foldingModel,Number.MAX_VALUE,[w]),k.isCollapsed=!k.isCollapsed;const M=(k.isCollapsed?this._editor.getTopForLineNumber(k.foldingEndLine):this._editor.getTopForLineNumber(k.foldingStartLine))-this._editor.getOption(66)*E.index+1;this._editor.setScrollTop(M),this._renderStickyScroll(w)}_readConfiguration(){const w=this._editor.getOption(114);if(w.enabled===!1){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}else w.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(k=>{k.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(k=>this._onTokensChange(k))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);this._editor.getOption(67).renderType===2&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll()}))}_needsUpdate(w){const E=this._stickyScrollWidget.getCurrentLines();for(const k of E)for(const M of w.ranges)if(k>=M.fromLineNumber&&k<=M.toLineNumber)return!0;return!1}_onTokensChange(w){this._needsUpdate(w)&&this._renderStickyScroll(-1)}_onDidResize(){const E=this._editor.getLayoutInfo().height/this._editor.getOption(66);this._maxStickyLines=Math.round(E*.25)}_renderStickyScroll(w=1/0){var E,k;return be(this,void 0,void 0,function*(){const M=this._editor.getModel();if(!M||M.isTooLargeForTokenization()){this._foldingModel=null,this._stickyScrollWidget.setState(void 0,null,w);return}const R=this._stickyLineCandidateProvider.getVersionId();if(R===void 0||R===M.getVersionId())if(this._foldingModel=(k=yield(E=a.FoldingController.get(this._editor))===null||E===void 0?void 0:E.getFoldingModel())!==null&&k!==void 0?k:null,this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(this._widgetState.startLineNumbers.length!==0),!this._focused)this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,w);else if(this._focusedStickyElementIndex===-1)this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,w),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,this._focusedStickyElementIndex!==-1&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{const B=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,w),this._stickyScrollWidget.lineNumberCount===0?this._focusedStickyElementIndex=-1:(this._stickyScrollWidget.lineNumbers.includes(B)||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}})}findScrollWidgetState(){const w=this._editor.getOption(66),E=Math.min(this._maxStickyLines,this._editor.getOption(114).maxLineCount),k=this._editor.getScrollTop();let M=0;const R=[],B=[],T=this._editor.getVisibleRanges();if(T.length!==0){const N=new o.StickyRange(T[0].startLineNumber,T[T.length-1].endLineNumber),A=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(N);for(const P of A){const O=P.startLineNumber,x=P.endLineNumber,W=P.nestingDepth;if(x-O>0){const U=(W-1)*w,F=W*w,G=this._editor.getBottomForLineNumber(O)-k,Y=this._editor.getTopForLineNumber(x)-k,ne=this._editor.getBottomForLineNumber(x)-k;if(U>Y&&U<=ne){R.push(O),B.push(x+1),M=ne-F;break}else F>G&&F<=ne&&(R.push(O),B.push(x+1));if(R.length===E)break}}}return this._endLineNumbers=B,new y.StickyScrollWidgetState(R,B,M,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};e.StickyScrollController=p,p.ID="store.contrib.stickyScrollController",e.StickyScrollController=p=h=Ie([ge(1,m.IContextMenuService),ge(2,I.ILanguageFeaturesService),ge(3,S.IInstantiationService),ge(4,f.ILanguageConfigurationService),ge(5,d.ILanguageFeatureDebounceService),ge(6,v.IContextKeyService)],p)}),define(te[905],ie([1,0,16,700,742,30,28,15,22,379]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEditor=e.GoToStickyScrollLine=e.SelectPreviousStickyScrollLine=e.SelectNextStickyScrollLine=e.FocusStickyScroll=e.ToggleStickyScroll=void 0;class C extends D.Action2{constructor(){super({id:"editor.action.toggleStickyScroll",title:{value:(0,I.localize)(0,null),mnemonicTitle:(0,I.localize)(1,null),original:"Toggle Sticky Scroll"},category:y.Categories.View,toggled:{condition:m.ContextKeyExpr.equals("config.editor.stickyScroll.enabled",!0),title:(0,I.localize)(2,null),mnemonicTitle:(0,I.localize)(3,null)},menu:[{id:D.MenuId.CommandPalette},{id:D.MenuId.MenubarAppearanceMenu,group:"4_editor",order:3},{id:D.MenuId.StickyScrollContext}]})}run(d){return be(this,void 0,void 0,function*(){const l=d.get(S.IConfigurationService),o=!l.getValue("editor.stickyScroll.enabled");return l.updateValue("editor.stickyScroll.enabled",o)})}}e.ToggleStickyScroll=C;const s=100;class i extends L.EditorAction2{constructor(){super({id:"editor.action.focusStickyScroll",title:{value:(0,I.localize)(4,null),mnemonicTitle:(0,I.localize)(5,null),original:"Focus Sticky Scroll"},precondition:m.ContextKeyExpr.and(m.ContextKeyExpr.has("config.editor.stickyScroll.enabled"),_.EditorContextKeys.stickyScrollVisible),menu:[{id:D.MenuId.CommandPalette}]})}runEditorCommand(d,l){var o;(o=v.StickyScrollController.get(l))===null||o===void 0||o.focus()}}e.FocusStickyScroll=i;class n extends L.EditorAction2{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:{value:(0,I.localize)(6,null),original:"Select next sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:18}})}runEditorCommand(d,l){var o;(o=v.StickyScrollController.get(l))===null||o===void 0||o.focusNext()}}e.SelectNextStickyScrollLine=n;class t extends L.EditorAction2{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:{value:(0,I.localize)(7,null),original:"Select previous sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:16}})}runEditorCommand(d,l){var o;(o=v.StickyScrollController.get(l))===null||o===void 0||o.focusPrevious()}}e.SelectPreviousStickyScrollLine=t;class r extends L.EditorAction2{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:{value:(0,I.localize)(8,null),original:"Go to focused sticky scroll line"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:3}})}runEditorCommand(d,l){var o;(o=v.StickyScrollController.get(l))===null||o===void 0||o.goToFocused()}}e.GoToStickyScrollLine=r;class u extends L.EditorAction2{constructor(){super({id:"editor.action.selectEditor",title:{value:(0,I.localize)(9,null),original:"Select Editor"},precondition:_.EditorContextKeys.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:s,primary:9}})}runEditorCommand(d,l){var o;(o=v.StickyScrollController.get(l))===null||o===void 0||o.selectEditor()}}e.SelectEditor=u}),define(te[906],ie([1,0,16,905,379,30]),function($,e,L,I,y,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.StickyScrollController.ID,y.StickyScrollController,1),(0,D.registerAction2)(I.ToggleStickyScroll),(0,D.registerAction2)(I.FocusStickyScroll),(0,D.registerAction2)(I.SelectPreviousStickyScrollLine),(0,D.registerAction2)(I.SelectNextStickyScrollLine),(0,D.registerAction2)(I.GoToStickyScrollLine),(0,D.registerAction2)(I.SelectEditor)}),define(te[907],ie([1,0,16,33,374,28,15,8,48,89]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneReferencesController=void 0;let C=class extends y.ReferencesController{constructor(i,n,t,r,u,f,d){super(!0,i,n,t,r,u,f,d)}};e.StandaloneReferencesController=C,e.StandaloneReferencesController=C=Ie([ge(1,S.IContextKeyService),ge(2,I.ICodeEditorService),ge(3,_.INotificationService),ge(4,m.IInstantiationService),ge(5,v.IStorageService),ge(6,D.IConfigurationService)],C),(0,L.registerEditorContribution)(y.ReferencesController.ID,C,4)}),define(te[908],ie([1,0,9,2,54,98,739,157,47,48,191]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UndoRedoService=void 0;const s=!1;function i(g){return g.scheme===y.Schemas.file?g.fsPath:g.path}let n=0;class t{constructor(h,p,b,w,E,k,M){this.id=++n,this.type=0,this.actual=h,this.label=h.label,this.confirmBeforeUndo=h.confirmBeforeUndo||!1,this.resourceLabel=p,this.strResource=b,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=w,this.groupOrder=E,this.sourceId=k,this.sourceOrder=M,this.isValid=!0}setValid(h){this.isValid=h}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class r{constructor(h,p){this.resourceLabel=h,this.reason=p}}class u{constructor(){this.elements=new Map}createMessage(){const h=[],p=[];for(const[,w]of this.elements)(w.reason===0?h:p).push(w.resourceLabel);const b=[];return h.length>0&&b.push(S.localize(0,null,h.join(", "))),p.length>0&&b.push(S.localize(1,null,p.join(", "))),b.join(` +`)}get size(){return this.elements.size}has(h){return this.elements.has(h)}set(h,p){this.elements.set(h,p)}delete(h){return this.elements.delete(h)}}class f{constructor(h,p,b,w,E,k,M){this.id=++n,this.type=1,this.actual=h,this.label=h.label,this.confirmBeforeUndo=h.confirmBeforeUndo||!1,this.resourceLabels=p,this.strResources=b,this.groupId=w,this.groupOrder=E,this.sourceId=k,this.sourceOrder=M,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(h,p,b){this.removedResources||(this.removedResources=new u),this.removedResources.has(p)||this.removedResources.set(p,new r(h,b))}setValid(h,p,b){b?this.invalidatedResources&&(this.invalidatedResources.delete(p),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new u),this.invalidatedResources.has(p)||this.invalidatedResources.set(p,new r(h,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class d{constructor(h,p){this.resourceLabel=h,this.strResource=p,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const h of this._past)h.type===1&&h.removeResource(this.resourceLabel,this.strResource,0);for(const h of this._future)h.type===1&&h.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const h=[];h.push(`* ${this.strResource}:`);for(let p=0;p=0;p--)h.push(` * [REDO] ${this._future[p]}`);return h.join(` +`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(h,p){h.type===1?h.setValid(this.resourceLabel,this.strResource,p):h.setValid(p)}setElementsValidFlag(h,p){for(const b of this._past)p(b.actual)&&this._setElementValidFlag(b,h);for(const b of this._future)p(b.actual)&&this._setElementValidFlag(b,h)}pushElement(h){for(const p of this._future)p.type===1&&p.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(h),this.versionId++}createSnapshot(h){const p=[];for(let b=0,w=this._past.length;b=0;b--)p.push(this._future[b].id);return new C.ResourceEditStackSnapshot(h,p)}restoreSnapshot(h){const p=h.elements.length;let b=!0,w=0,E=-1;for(let M=0,R=this._past.length;M=p||B.id!==h.elements[w])&&(b=!1,E=0),!b&&B.type===1&&B.removeResource(this.resourceLabel,this.strResource,0)}let k=-1;for(let M=this._future.length-1;M>=0;M--,w++){const R=this._future[M];b&&(w>=p||R.id!==h.elements[w])&&(b=!1,k=M),!b&&R.type===1&&R.removeResource(this.resourceLabel,this.strResource,0)}E!==-1&&(this._past=this._past.slice(0,E)),k!==-1&&(this._future=this._future.slice(k+1)),this.versionId++}getElements(){const h=[],p=[];for(const b of this._past)h.push(b.actual);for(const b of this._future)p.push(b.actual);return{past:h,future:p}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(h,p){for(let b=this._past.length-1;b>=0;b--)if(this._past[b]===h){p.has(this.strResource)?this._past[b]=p.get(this.strResource):this._past.splice(b,1);break}this.versionId++}splitFutureWorkspaceElement(h,p){for(let b=this._future.length-1;b>=0;b--)if(this._future[b]===h){p.has(this.strResource)?this._future[b]=p.get(this.strResource):this._future.splice(b,1);break}this.versionId++}moveBackward(h){this._past.pop(),this._future.push(h),this.versionId++}moveForward(h){this._future.pop(),this._past.push(h),this.versionId++}}class l{constructor(h){this.editStacks=h,this._versionIds=[];for(let p=0,b=this.editStacks.length;pp.sourceOrder)&&(p=k,b=w)}return[p,b]}canUndo(h){if(h instanceof C.UndoRedoSource){const[,b]=this._findClosestUndoElementWithSource(h.id);return!!b}const p=this.getUriComparisonKey(h);return this._editStacks.has(p)?this._editStacks.get(p).hasPastElements():!1}_onError(h,p){(0,L.onUnexpectedError)(h);for(const b of p.strResources)this.removeElements(b);this._notificationService.error(h)}_acquireLocks(h){for(const p of h.editStacks)if(p.locked)throw new Error("Cannot acquire edit stack lock");for(const p of h.editStacks)p.locked=!0;return()=>{for(const p of h.editStacks)p.locked=!1}}_safeInvokeWithLocks(h,p,b,w,E){const k=this._acquireLocks(b);let M;try{M=p()}catch(R){return k(),w.dispose(),this._onError(R,h)}return M?M.then(()=>(k(),w.dispose(),E()),R=>(k(),w.dispose(),this._onError(R,h))):(k(),w.dispose(),E())}_invokeWorkspacePrepare(h){return be(this,void 0,void 0,function*(){if(typeof h.actual.prepareUndoRedo>"u")return I.Disposable.None;const p=h.actual.prepareUndoRedo();return typeof p>"u"?I.Disposable.None:p})}_invokeResourcePrepare(h,p){if(h.actual.type!==1||typeof h.actual.prepareUndoRedo>"u")return p(I.Disposable.None);const b=h.actual.prepareUndoRedo();return b?(0,I.isDisposable)(b)?p(b):b.then(w=>p(w)):p(I.Disposable.None)}_getAffectedEditStacks(h){const p=[];for(const b of h.strResources)p.push(this._editStacks.get(b)||o);return new l(p)}_tryToSplitAndUndo(h,p,b,w){if(p.canSplit())return this._splitPastWorkspaceElement(p,b),this._notificationService.warn(w),new a(this._undo(h,0,!0));for(const E of p.strResources)this.removeElements(E);return this._notificationService.warn(w),new a}_checkWorkspaceUndo(h,p,b,w){if(p.removedResources)return this._tryToSplitAndUndo(h,p,p.removedResources,S.localize(2,null,p.label,p.removedResources.createMessage()));if(w&&p.invalidatedResources)return this._tryToSplitAndUndo(h,p,p.invalidatedResources,S.localize(3,null,p.label,p.invalidatedResources.createMessage()));const E=[];for(const M of b.editStacks)M.getClosestPastElement()!==p&&E.push(M.resourceLabel);if(E.length>0)return this._tryToSplitAndUndo(h,p,null,S.localize(4,null,p.label,E.join(", ")));const k=[];for(const M of b.editStacks)M.locked&&k.push(M.resourceLabel);return k.length>0?this._tryToSplitAndUndo(h,p,null,S.localize(5,null,p.label,k.join(", "))):b.isValid()?null:this._tryToSplitAndUndo(h,p,null,S.localize(6,null,p.label))}_workspaceUndo(h,p,b){const w=this._getAffectedEditStacks(p),E=this._checkWorkspaceUndo(h,p,w,!1);return E?E.returnValue:this._confirmAndExecuteWorkspaceUndo(h,p,w,b)}_isPartOfUndoGroup(h){if(!h.groupId)return!1;for(const[,p]of this._editStacks){const b=p.getClosestPastElement();if(b){if(b===h){const w=p.getSecondClosestPastElement();if(w&&w.groupId===h.groupId)return!0}if(b.groupId===h.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(h,p,b,w){return be(this,void 0,void 0,function*(){if(p.canSplit()&&!this._isPartOfUndoGroup(p)){let M;(function(T){T[T.All=0]="All",T[T.This=1]="This",T[T.Cancel=2]="Cancel"})(M||(M={}));const{result:R}=yield this._dialogService.prompt({type:D.default.Info,message:S.localize(7,null,p.label),buttons:[{label:S.localize(8,null,b.editStacks.length),run:()=>M.All},{label:S.localize(9,null),run:()=>M.This}],cancelButton:{run:()=>M.Cancel}});if(R===M.Cancel)return;if(R===M.This)return this._splitPastWorkspaceElement(p,null),this._undo(h,0,!0);const B=this._checkWorkspaceUndo(h,p,b,!1);if(B)return B.returnValue;w=!0}let E;try{E=yield this._invokeWorkspacePrepare(p)}catch(M){return this._onError(M,p)}const k=this._checkWorkspaceUndo(h,p,b,!0);if(k)return E.dispose(),k.returnValue;for(const M of b.editStacks)M.moveBackward(p);return this._safeInvokeWithLocks(p,()=>p.actual.undo(),b,E,()=>this._continueUndoInGroup(p.groupId,w))})}_resourceUndo(h,p,b){if(!p.isValid){h.flushAllElements();return}if(h.locked){const w=S.localize(10,null,p.label);this._notificationService.warn(w);return}return this._invokeResourcePrepare(p,w=>(h.moveBackward(p),this._safeInvokeWithLocks(p,()=>p.actual.undo(),new l([h]),w,()=>this._continueUndoInGroup(p.groupId,b))))}_findClosestUndoElementInGroup(h){if(!h)return[null,null];let p=null,b=null;for(const[w,E]of this._editStacks){const k=E.getClosestPastElement();k&&k.groupId===h&&(!p||k.groupOrder>p.groupOrder)&&(p=k,b=w)}return[p,b]}_continueUndoInGroup(h,p){if(!h)return;const[,b]=this._findClosestUndoElementInGroup(h);if(b)return this._undo(b,0,p)}undo(h){if(h instanceof C.UndoRedoSource){const[,p]=this._findClosestUndoElementWithSource(h.id);return p?this._undo(p,h.id,!1):void 0}return typeof h=="string"?this._undo(h,0,!1):this._undo(this.getUriComparisonKey(h),0,!1)}_undo(h,p=0,b){if(!this._editStacks.has(h))return;const w=this._editStacks.get(h),E=w.getClosestPastElement();if(!E)return;if(E.groupId){const[M,R]=this._findClosestUndoElementInGroup(E.groupId);if(E!==M&&R)return this._undo(R,p,b)}if((E.sourceId!==p||E.confirmBeforeUndo)&&!b)return this._confirmAndContinueUndo(h,p,E);try{return E.type===1?this._workspaceUndo(h,E,b):this._resourceUndo(w,E,b)}finally{s&&this._print("undo")}}_confirmAndContinueUndo(h,p,b){return be(this,void 0,void 0,function*(){if((yield this._dialogService.confirm({message:S.localize(11,null,b.label),primaryButton:S.localize(12,null),cancelButton:S.localize(13,null)})).confirmed)return this._undo(h,p,!0)})}_findClosestRedoElementWithSource(h){if(!h)return[null,null];let p=null,b=null;for(const[w,E]of this._editStacks){const k=E.getClosestFutureElement();k&&k.sourceId===h&&(!p||k.sourceOrder0)return this._tryToSplitAndRedo(h,p,null,S.localize(16,null,p.label,E.join(", ")));const k=[];for(const M of b.editStacks)M.locked&&k.push(M.resourceLabel);return k.length>0?this._tryToSplitAndRedo(h,p,null,S.localize(17,null,p.label,k.join(", "))):b.isValid()?null:this._tryToSplitAndRedo(h,p,null,S.localize(18,null,p.label))}_workspaceRedo(h,p){const b=this._getAffectedEditStacks(p),w=this._checkWorkspaceRedo(h,p,b,!1);return w?w.returnValue:this._executeWorkspaceRedo(h,p,b)}_executeWorkspaceRedo(h,p,b){return be(this,void 0,void 0,function*(){let w;try{w=yield this._invokeWorkspacePrepare(p)}catch(k){return this._onError(k,p)}const E=this._checkWorkspaceRedo(h,p,b,!0);if(E)return w.dispose(),E.returnValue;for(const k of b.editStacks)k.moveForward(p);return this._safeInvokeWithLocks(p,()=>p.actual.redo(),b,w,()=>this._continueRedoInGroup(p.groupId))})}_resourceRedo(h,p){if(!p.isValid){h.flushAllElements();return}if(h.locked){const b=S.localize(19,null,p.label);this._notificationService.warn(b);return}return this._invokeResourcePrepare(p,b=>(h.moveForward(p),this._safeInvokeWithLocks(p,()=>p.actual.redo(),new l([h]),b,()=>this._continueRedoInGroup(p.groupId))))}_findClosestRedoElementInGroup(h){if(!h)return[null,null];let p=null,b=null;for(const[w,E]of this._editStacks){const k=E.getClosestFutureElement();k&&k.groupId===h&&(!p||k.groupOrder"u")return typeof t=="string"?{id:(0,I.basename)(t)}:r?e.EXTENSION_DEVELOPMENT_EMPTY_WINDOW_WORKSPACE:e.UNKNOWN_EMPTY_WINDOW_WORKSPACE;const u=t;return u.configuration?{id:u.id,configPath:u.configuration}:u.folders.length===1?{id:u.id,uri:u.folders[0].uri}:{id:u.id}}e.toWorkspaceIdentifier=v;function C(t){const r=t;return typeof r?.id=="string"&&D.URI.isUri(r.configPath)}e.isWorkspaceIdentifier=C;class s{constructor(r,u,f,d,l){this._id=r,this._transient=f,this._configuration=d,this._ignorePathCasing=l,this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0),this.folders=u}get folders(){return this._folders}set folders(r){this._folders=r,this.updateFoldersMap()}get id(){return this._id}get transient(){return this._transient}get configuration(){return this._configuration}set configuration(r){this._configuration=r}getFolder(r){return r&&this._foldersMap.findSubstr(r)||null}updateFoldersMap(){this._foldersMap=y.TernarySearchTree.forUris(this._ignorePathCasing,()=>!0);for(const r of this.folders)this._foldersMap.set(r.uri,r)}toJSON(){return{id:this.id,folders:this.folders,transient:this.transient,configuration:this.configuration}}}e.Workspace=s;class i{constructor(r,u){this.raw=u,this.uri=r.uri,this.index=r.index,this.name=r.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}e.WorkspaceFolder=i,e.WORKSPACE_EXTENSION="code-workspace",e.WORKSPACE_FILTER=[{name:(0,L.localize)(0,null),extensions:[e.WORKSPACE_EXTENSION]}],e.STANDALONE_EDITOR_WORKSPACE_ID="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function n(t){return t.id===e.STANDALONE_EDITOR_WORKSPACE_ID}e.isStandaloneEditorWorkspace=n}),define(te[909],ie([1,0,7,129,41,2,17,16,22,648,30,15,58,34,28,162]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";var u;Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenuController=void 0;let f=u=class{static get(o){return o.getContribution(u.ID)}constructor(o,c,a,g,h,p,b,w){this._contextMenuService=c,this._contextViewService=a,this._contextKeyService=g,this._keybindingService=h,this._menuService=p,this._configurationService=b,this._workspaceContextService=w,this._toDispose=new D.DisposableStore,this._contextMenuIsBeingShownCount=0,this._editor=o,this._toDispose.add(this._editor.onContextMenu(E=>this._onContextMenu(E))),this._toDispose.add(this._editor.onMouseWheel(E=>{if(this._contextMenuIsBeingShownCount>0){const k=this._contextViewService.getContextViewElement(),M=E.srcElement;M.shadowRoot&&L.getShadowRoot(k)===M.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(E=>{this._editor.getOption(24)&&E.keyCode===58&&(E.preventDefault(),E.stopPropagation(),this.showContextMenu())}))}_onContextMenu(o){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),o.target.position&&!this._editor.getSelection().containsPosition(o.target.position)&&this._editor.setPosition(o.target.position);return}if(o.target.type===12||o.target.type===6&&o.target.detail.injectedText)return;if(o.event.preventDefault(),o.event.stopPropagation(),o.target.type===11)return this._showScrollbarContextMenu(o.event);if(o.target.type!==6&&o.target.type!==7&&o.target.type!==1)return;if(this._editor.focus(),o.target.position){let a=!1;for(const g of this._editor.getSelections())if(g.containsPosition(o.target.position)){a=!0;break}a||this._editor.setPosition(o.target.position)}let c=null;o.target.type!==1&&(c=o.event),this.showContextMenu(c)}showContextMenu(o){if(!this._editor.getOption(24)||!this._editor.hasModel())return;const c=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?C.MenuId.SimpleEditorContext:C.MenuId.EditorContext);c.length>0&&this._doShowContextMenu(c,o)}_getMenuActions(o,c){const a=[],g=this._menuService.createMenu(c,this._contextKeyService),h=g.getActions({arg:o.uri});g.dispose();for(const p of h){const[,b]=p;let w=0;for(const E of b)if(E instanceof C.SubmenuItemAction){const k=this._getMenuActions(o,E.item.submenu);k.length>0&&(a.push(new y.SubmenuAction(E.id,E.label,k)),w++)}else a.push(E),w++;w&&a.push(new y.Separator)}return a.length&&a.pop(),a}_doShowContextMenu(o,c=null){if(!this._editor.hasModel())return;const a=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let g=c;if(!g){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const p=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),b=L.getDomNodePagePosition(this._editor.getDomNode()),w=b.left+p.left,E=b.top+p.top+p.height;g={x:w,y:E}}const h=this._editor.getOption(126)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:h?this._editor.getDomNode():void 0,getAnchor:()=>g,getActions:()=>o,getActionViewItem:p=>{const b=this._keybindingFor(p);if(b)return new I.ActionViewItem(p,p,{label:!0,keybinding:b.getLabel(),isMenu:!0});const w=p;return typeof w.getActionViewItem=="function"?w.getActionViewItem():new I.ActionViewItem(p,p,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:p=>this._keybindingFor(p),onHide:p=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:a})}})}_showScrollbarContextMenu(o){if(!this._editor.hasModel()||(0,r.isStandaloneEditorWorkspace)(this._workspaceContextService.getWorkspace()))return;const c=this._editor.getOption(72);let a=0;const g=E=>({id:`menu-action-${++a}`,label:E.label,tooltip:"",class:void 0,enabled:typeof E.enabled>"u"?!0:E.enabled,checked:E.checked,run:E.run}),h=(E,k)=>new y.SubmenuAction(`menu-action-${++a}`,E,k,void 0),p=(E,k,M,R,B)=>{if(!k)return g({label:E,enabled:k,run:()=>{}});const T=A=>()=>{this._configurationService.updateValue(M,A)},N=[];for(const A of B)N.push(g({label:A.label,checked:R===A.value,run:T(A.value)}));return h(E,N)},b=[];b.push(g({label:v.localize(0,null),checked:c.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!c.enabled)}})),b.push(new y.Separator),b.push(g({label:v.localize(1,null),enabled:c.enabled,checked:c.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!c.renderCharacters)}})),b.push(p(v.localize(2,null),c.enabled,"editor.minimap.size",c.size,[{label:v.localize(3,null),value:"proportional"},{label:v.localize(4,null),value:"fill"},{label:v.localize(5,null),value:"fit"}])),b.push(p(v.localize(6,null),c.enabled,"editor.minimap.showSlider",c.showSlider,[{label:v.localize(7,null),value:"mouseover"},{label:v.localize(8,null),value:"always"}]));const w=this._editor.getOption(126)&&!S.isIOS;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:w?this._editor.getDomNode():void 0,getAnchor:()=>o,getActions:()=>b,onHide:E=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(o){return this._keybindingService.lookupKeybinding(o.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};e.ContextMenuController=f,f.ID="editor.contrib.contextmenu",e.ContextMenuController=f=u=Ie([ge(1,i.IContextMenuService),ge(2,i.IContextViewService),ge(3,s.IContextKeyService),ge(4,n.IKeybindingService),ge(5,C.IMenuService),ge(6,t.IConfigurationService),ge(7,r.IWorkspaceContextService)],f);class d extends m.EditorAction{constructor(){super({id:"editor.action.showContextMenu",label:v.localize(9,null),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:_.EditorContextKeys.textInputFocus,primary:1092,weight:100}})}run(o,c){var a;(a=f.get(c))===null||a===void 0||a.showContextMenu()}}(0,m.registerEditorContribution)(f.ID,f,2),(0,m.registerEditorAction)(d)}),define(te[380],ie([1,0,13,170,2,107,54,46,21,18,652,162]),function($,e,L,I,y,D,S,m,_,v,C,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultPasteProvidersFeature=e.DefaultDropProvidersFeature=void 0;const i=(0,C.localize)(0,null);class n{provideDocumentPasteEdits(c,a,g,h){return be(this,void 0,void 0,function*(){const p=yield this.getEdit(g,h);return p?{insertText:p.insertText,label:p.label,detail:p.detail,handledMimeType:p.handledMimeType,yieldTo:p.yieldTo}:void 0})}provideDocumentOnDropEdits(c,a,g,h){return be(this,void 0,void 0,function*(){const p=yield this.getEdit(g,h);return p?{insertText:p.insertText,label:p.label,handledMimeType:p.handledMimeType,yieldTo:p.yieldTo}:void 0})}}class t extends n{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[D.Mimes.text],this.pasteMimeTypes=[D.Mimes.text]}getEdit(c,a){return be(this,void 0,void 0,function*(){const g=c.get(D.Mimes.text);if(!g||c.has(D.Mimes.uriList))return;const h=yield g.asString();return{handledMimeType:D.Mimes.text,label:(0,C.localize)(1,null),detail:i,insertText:h}})}}class r extends n{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(c,a){return be(this,void 0,void 0,function*(){const g=yield f(c);if(!g.length||a.isCancellationRequested)return;let h=0;const p=g.map(({uri:w,originalText:E})=>w.scheme===S.Schemas.file?w.fsPath:(h++,E)).join(" ");let b;return h>0?b=g.length>1?(0,C.localize)(2,null):(0,C.localize)(3,null):b=g.length>1?(0,C.localize)(4,null):(0,C.localize)(5,null),{handledMimeType:D.Mimes.uriList,insertText:p,label:b,detail:i}})}}let u=class extends n{constructor(c){super(),this._workspaceContextService=c,this.id="relativePath",this.dropMimeTypes=[D.Mimes.uriList],this.pasteMimeTypes=[D.Mimes.uriList]}getEdit(c,a){return be(this,void 0,void 0,function*(){const g=yield f(c);if(!g.length||a.isCancellationRequested)return;const h=(0,L.coalesce)(g.map(({uri:p})=>{const b=this._workspaceContextService.getWorkspaceFolder(p);return b?(0,m.relativePath)(b.uri,p):void 0}));if(h.length)return{handledMimeType:D.Mimes.uriList,insertText:h.join(" "),label:g.length>1?(0,C.localize)(6,null):(0,C.localize)(7,null),detail:i}})}};u=Ie([ge(0,s.IWorkspaceContextService)],u);function f(o){return be(this,void 0,void 0,function*(){const c=o.get(D.Mimes.uriList);if(!c)return[];const a=yield c.asString(),g=[];for(const h of I.UriList.parse(a))try{g.push({uri:_.URI.parse(h),originalText:h})}catch{}return g})}let d=class extends y.Disposable{constructor(c,a){super(),this._register(c.documentOnDropEditProvider.register("*",new t)),this._register(c.documentOnDropEditProvider.register("*",new r)),this._register(c.documentOnDropEditProvider.register("*",new u(a)))}};e.DefaultDropProvidersFeature=d,e.DefaultDropProvidersFeature=d=Ie([ge(0,v.ILanguageFeaturesService),ge(1,s.IWorkspaceContextService)],d);let l=class extends y.Disposable{constructor(c,a){super(),this._register(c.documentPasteEditProvider.register("*",new t)),this._register(c.documentPasteEditProvider.register("*",new r)),this._register(c.documentPasteEditProvider.register("*",new u(a)))}};e.DefaultPasteProvidersFeature=l,e.DefaultPasteProvidersFeature=l=Ie([ge(0,v.ILanguageFeaturesService),ge(1,s.IWorkspaceContextService)],l)}),define(te[910],ie([1,0,16,147,888,380,650]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(y.CopyPasteController.ID,y.CopyPasteController,0),(0,I.registerEditorFeature)(D.DefaultPasteProvidersFeature),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:y.changePasteTypeCommandId,precondition:y.pasteWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(m,_,v){var C;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.changePasteType()}}),(0,L.registerEditorAction)(class extends L.EditorAction{constructor(){super({id:"editor.action.pasteAs",label:S.localize(0,null),alias:"Paste As...",precondition:void 0,description:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:S.localize(1,null)}}}}]}})}run(m,_,v){var C;const s=typeof v?.id=="string"?v.id:void 0;return(C=y.CopyPasteController.get(_))===null||C===void 0?void 0:C.pasteAs(s)}})}),define(te[911],ie([1,0,16,240,147,380,653,95,35,889]),function($,e,L,I,y,D,S,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(v.DropIntoEditorController.ID,v.DropIntoEditorController,2),(0,L.registerEditorCommand)(new class extends L.EditorCommand{constructor(){super({id:v.changeDropTypeCommandId,precondition:v.dropWidgetVisibleCtx,kbOpts:{weight:100,primary:2137}})}runEditorCommand(C,s,i){var n;(n=v.DropIntoEditorController.get(s))===null||n===void 0||n.changeDropType()}}),(0,y.registerEditorFeature)(D.DefaultDropProvidersFeature),_.Registry.as(m.Extensions.Configuration).registerConfiguration(Object.assign(Object.assign({},I.editorConfigurationBaseNode),{properties:{[v.defaultProviderConfig]:{type:"object",scope:5,description:S.localize(0,null),default:{},additionalProperties:{type:"string"}}}}))}),define(te[912],ie([1,0,574,92,46,10,169,32,127,699,162]),function($,e,L,I,y,D,S,m,_,v,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RandomBasedVariableResolver=e.WorkspaceBasedVariableResolver=e.TimeBasedVariableResolver=e.CommentBasedVariableResolver=e.ClipboardBasedVariableResolver=e.ModelBasedVariableResolver=e.SelectionBasedVariableResolver=e.CompositeSnippetVariableResolver=e.KnownSnippetVariableNames=void 0,e.KnownSnippetVariableNames=Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,CURRENT_TIMEZONE_OFFSET:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class s{constructor(o){this._delegates=o}resolve(o){for(const c of this._delegates){const a=c.resolve(o);if(a!==void 0)return a}}}e.CompositeSnippetVariableResolver=s;class i{constructor(o,c,a,g){this._model=o,this._selection=c,this._selectionIdx=a,this._overtypingCapturer=g}resolve(o){const{name:c}=o;if(c==="SELECTION"||c==="TM_SELECTED_TEXT"){let a=this._model.getValueInRange(this._selection)||void 0,g=this._selection.startLineNumber!==this._selection.endLineNumber;if(!a&&this._overtypingCapturer){const h=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);h&&(a=h.value,g=h.multiline)}if(a&&g&&o.snippet){const h=this._model.getLineContent(this._selection.startLineNumber),p=(0,D.getLeadingWhitespace)(h,0,this._selection.startColumn-1);let b=p;o.snippet.walk(E=>E===o?!1:(E instanceof _.Text&&(b=(0,D.getLeadingWhitespace)((0,D.splitLines)(E.value).pop())),!0));const w=(0,D.commonPrefixLength)(b,p);a=a.replace(/(\r\n|\r|\n)(.*)/g,(E,k,M)=>`${k}${b.substr(w)}${M}`)}return a}else{if(c==="TM_CURRENT_LINE")return this._model.getLineContent(this._selection.positionLineNumber);if(c==="TM_CURRENT_WORD"){const a=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return a&&a.word||void 0}else{if(c==="TM_LINE_INDEX")return String(this._selection.positionLineNumber-1);if(c==="TM_LINE_NUMBER")return String(this._selection.positionLineNumber);if(c==="CURSOR_INDEX")return String(this._selectionIdx);if(c==="CURSOR_NUMBER")return String(this._selectionIdx+1)}}}}e.SelectionBasedVariableResolver=i;class n{constructor(o,c){this._labelService=o,this._model=c}resolve(o){const{name:c}=o;if(c==="TM_FILENAME")return I.basename(this._model.uri.fsPath);if(c==="TM_FILENAME_BASE"){const a=I.basename(this._model.uri.fsPath),g=a.lastIndexOf(".");return g<=0?a:a.slice(0,g)}else{if(c==="TM_DIRECTORY")return I.dirname(this._model.uri.fsPath)==="."?"":this._labelService.getUriLabel((0,y.dirname)(this._model.uri));if(c==="TM_FILEPATH")return this._labelService.getUriLabel(this._model.uri);if(c==="RELATIVE_FILEPATH")return this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0})}}}e.ModelBasedVariableResolver=n;class t{constructor(o,c,a,g){this._readClipboardText=o,this._selectionIdx=c,this._selectionCount=a,this._spread=g}resolve(o){if(o.name!=="CLIPBOARD")return;const c=this._readClipboardText();if(c){if(this._spread){const a=c.split(/\r\n|\n|\r/).filter(g=>!(0,D.isFalsyOrWhitespace)(g));if(a.length===this._selectionCount)return a[this._selectionIdx]}return c}}}e.ClipboardBasedVariableResolver=t;let r=class{constructor(o,c,a){this._model=o,this._selection=c,this._languageConfigurationService=a}resolve(o){const{name:c}=o,a=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),g=this._languageConfigurationService.getLanguageConfiguration(a).comments;if(g){if(c==="LINE_COMMENT")return g.lineCommentToken||void 0;if(c==="BLOCK_COMMENT_START")return g.blockCommentStartToken||void 0;if(c==="BLOCK_COMMENT_END")return g.blockCommentEndToken||void 0}}};e.CommentBasedVariableResolver=r,e.CommentBasedVariableResolver=r=Ie([ge(2,m.ILanguageConfigurationService)],r);class u{constructor(){this._date=new Date}resolve(o){const{name:c}=o;if(c==="CURRENT_YEAR")return String(this._date.getFullYear());if(c==="CURRENT_YEAR_SHORT")return String(this._date.getFullYear()).slice(-2);if(c==="CURRENT_MONTH")return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if(c==="CURRENT_DATE")return String(this._date.getDate().valueOf()).padStart(2,"0");if(c==="CURRENT_HOUR")return String(this._date.getHours().valueOf()).padStart(2,"0");if(c==="CURRENT_MINUTE")return String(this._date.getMinutes().valueOf()).padStart(2,"0");if(c==="CURRENT_SECOND")return String(this._date.getSeconds().valueOf()).padStart(2,"0");if(c==="CURRENT_DAY_NAME")return u.dayNames[this._date.getDay()];if(c==="CURRENT_DAY_NAME_SHORT")return u.dayNamesShort[this._date.getDay()];if(c==="CURRENT_MONTH_NAME")return u.monthNames[this._date.getMonth()];if(c==="CURRENT_MONTH_NAME_SHORT")return u.monthNamesShort[this._date.getMonth()];if(c==="CURRENT_SECONDS_UNIX")return String(Math.floor(this._date.getTime()/1e3));if(c==="CURRENT_TIMEZONE_OFFSET"){const a=this._date.getTimezoneOffset(),g=a>0?"-":"+",h=Math.trunc(Math.abs(a/60)),p=h<10?"0"+h:h,b=Math.abs(a)-h*60,w=b<10?"0"+b:b;return g+p+":"+w}}}e.TimeBasedVariableResolver=u,u.dayNames=[v.localize(0,null),v.localize(1,null),v.localize(2,null),v.localize(3,null),v.localize(4,null),v.localize(5,null),v.localize(6,null)],u.dayNamesShort=[v.localize(7,null),v.localize(8,null),v.localize(9,null),v.localize(10,null),v.localize(11,null),v.localize(12,null),v.localize(13,null)],u.monthNames=[v.localize(14,null),v.localize(15,null),v.localize(16,null),v.localize(17,null),v.localize(18,null),v.localize(19,null),v.localize(20,null),v.localize(21,null),v.localize(22,null),v.localize(23,null),v.localize(24,null),v.localize(25,null)],u.monthNamesShort=[v.localize(26,null),v.localize(27,null),v.localize(28,null),v.localize(29,null),v.localize(30,null),v.localize(31,null),v.localize(32,null),v.localize(33,null),v.localize(34,null),v.localize(35,null),v.localize(36,null),v.localize(37,null)];class f{constructor(o){this._workspaceService=o}resolve(o){if(!this._workspaceService)return;const c=(0,C.toWorkspaceIdentifier)(this._workspaceService.getWorkspace());if(!(0,C.isEmptyWorkspaceIdentifier)(c)){if(o.name==="WORKSPACE_NAME")return this._resolveWorkspaceName(c);if(o.name==="WORKSPACE_FOLDER")return this._resoveWorkspacePath(c)}}_resolveWorkspaceName(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return I.basename(o.uri.path);let c=I.basename(o.configPath.path);return c.endsWith(C.WORKSPACE_EXTENSION)&&(c=c.substr(0,c.length-C.WORKSPACE_EXTENSION.length-1)),c}_resoveWorkspacePath(o){if((0,C.isSingleFolderWorkspaceIdentifier)(o))return(0,L.normalizeDriveLetter)(o.uri.fsPath);const c=I.basename(o.configPath.path);let a=o.configPath.fsPath;return a.endsWith(c)&&(a=a.substr(0,a.length-c.length-1)),a?(0,L.normalizeDriveLetter)(a):"/"}}e.WorkspaceBasedVariableResolver=f;class d{resolve(o){const{name:c}=o;if(c==="RANDOM")return Math.random().toString().slice(-6);if(c==="RANDOM_HEX")return Math.random().toString(16).slice(-6);if(c==="UUID")return(0,S.generateUuid)()}}e.RandomBasedVariableResolver=d}),define(te[381],ie([1,0,13,2,10,71,5,24,32,37,158,162,127,912,464]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetSession=e.OneSnippet=void 0;class r{constructor(l,o,c){this._editor=l,this._snippet=o,this._snippetLineLeadingWhitespace=c,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,L.groupBy)(o.placeholders,i.Placeholder.compareByIndex),this._placeholderGroupsIdx=-1}initialize(l){this._offset=l.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(this._offset===-1)throw new Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const l=this._editor.getModel();this._editor.changeDecorations(o=>{for(const c of this._snippet.placeholders){const a=this._snippet.offset(c),g=this._snippet.fullLen(c),h=S.Range.fromPositions(l.getPositionAt(this._offset+a),l.getPositionAt(this._offset+a+g)),p=c.isFinalTabstop?r._decor.inactiveFinal:r._decor.inactive,b=o.addDecoration(h,p);this._placeholderDecorations.set(c,b)}})}move(l){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){const a=[];for(const g of this._placeholderGroups[this._placeholderGroupsIdx])if(g.transform){const h=this._placeholderDecorations.get(g),p=this._editor.getModel().getDecorationRange(h),b=this._editor.getModel().getValueInRange(p),w=g.transform.resolve(b).split(/\r\n|\r|\n/);for(let E=1;E0&&this._editor.executeEdits("snippet.placeholderTransform",a)}let o=!1;l===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,o=!0);const c=this._editor.getModel().changeDecorations(a=>{const g=new Set,h=[];for(const p of this._placeholderGroups[this._placeholderGroupsIdx]){const b=this._placeholderDecorations.get(p),w=this._editor.getModel().getDecorationRange(b);h.push(new m.Selection(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn)),o=o&&this._hasPlaceholderBeenCollapsed(p),a.changeDecorationOptions(b,p.isFinalTabstop?r._decor.activeFinal:r._decor.active),g.add(p);for(const E of this._snippet.enclosingPlaceholders(p)){const k=this._placeholderDecorations.get(E);a.changeDecorationOptions(k,E.isFinalTabstop?r._decor.activeFinal:r._decor.active),g.add(E)}}for(const[p,b]of this._placeholderDecorations)g.has(p)||a.changeDecorationOptions(b,p.isFinalTabstop?r._decor.inactiveFinal:r._decor.inactive);return h});return o?this.move(l):c??[]}_hasPlaceholderBeenCollapsed(l){let o=l;for(;o;){if(o instanceof i.Placeholder){const c=this._placeholderDecorations.get(o);if(this._editor.getModel().getDecorationRange(c).isEmpty()&&o.toString().length>0)return!0}o=o.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(this._snippet.placeholders.length===0)return!0;if(this._snippet.placeholders.length===1){const[l]=this._snippet.placeholders;if(l.isFinalTabstop&&this._snippet.rightMostDescendant===l)return!0}return!1}computePossibleSelections(){const l=new Map;for(const o of this._placeholderGroups){let c;for(const a of o){if(a.isFinalTabstop)break;c||(c=[],l.set(a.index,c));const g=this._placeholderDecorations.get(a),h=this._editor.getModel().getDecorationRange(g);if(!h){l.delete(a.index);break}c.push(h)}}return l}get activeChoice(){if(!this._placeholderDecorations)return;const l=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!l?.choice)return;const o=this._placeholderDecorations.get(l);if(!o)return;const c=this._editor.getModel().getDecorationRange(o);if(c)return{range:c,choice:l.choice}}get hasChoice(){let l=!1;return this._snippet.walk(o=>(l=o instanceof i.Choice,!l)),l}merge(l){const o=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(c=>{for(const a of this._placeholderGroups[this._placeholderGroupsIdx]){const g=l.shift();console.assert(g._offset!==-1),console.assert(!g._placeholderDecorations);const h=g._snippet.placeholderInfo.last.index;for(const b of g._snippet.placeholderInfo.all)b.isFinalTabstop?b.index=a.index+(h+1)/this._nestingLevel:b.index=a.index+b.index/this._nestingLevel;this._snippet.replace(a,g._snippet.children);const p=this._placeholderDecorations.get(a);c.removeDecoration(p),this._placeholderDecorations.delete(a);for(const b of g._snippet.placeholders){const w=g._snippet.offset(b),E=g._snippet.fullLen(b),k=S.Range.fromPositions(o.getPositionAt(g._offset+w),o.getPositionAt(g._offset+w+E)),M=c.addDecoration(k,r._decor.inactive);this._placeholderDecorations.set(b,M)}}this._placeholderGroups=(0,L.groupBy)(this._snippet.placeholders,i.Placeholder.compareByIndex)})}}e.OneSnippet=r,r._decor={active:v.ModelDecorationOptions.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:v.ModelDecorationOptions.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:v.ModelDecorationOptions.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:v.ModelDecorationOptions.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const u={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let f=t=class{static adjustWhitespace(l,o,c,a,g){const h=l.getLineContent(o.lineNumber),p=(0,y.getLeadingWhitespace)(h,0,o.column-1);let b;return a.walk(w=>{if(!(w instanceof i.Text)||w.parent instanceof i.Choice||g&&!g.has(w))return!0;const E=w.value.split(/\r\n|\r|\n/);if(c){const M=a.offset(w);if(M===0)E[0]=l.normalizeIndentation(E[0]);else{b=b??a.toString();const R=b.charCodeAt(M-1);(R===10||R===13)&&(E[0]=l.normalizeIndentation(p+E[0]))}for(let R=1;Rx.get(s.IWorkspaceContextService)),B=l.invokeWithinContext(x=>new n.ModelBasedVariableResolver(x.get(C.ILabelService),M)),T=()=>p,N=M.getValueInRange(t.adjustSelection(M,l.getSelection(),c,0)),A=M.getValueInRange(t.adjustSelection(M,l.getSelection(),0,a)),P=M.getLineFirstNonWhitespaceColumn(l.getSelection().positionLineNumber),O=l.getSelections().map((x,W)=>({selection:x,idx:W})).sort((x,W)=>S.Range.compareRangesUsingStarts(x.selection,W.selection));for(const{selection:x,idx:W}of O){let U=t.adjustSelection(M,x,c,0),F=t.adjustSelection(M,x,0,a);N!==M.getValueInRange(U)&&(U=x),A!==M.getValueInRange(F)&&(F=x);const G=x.setStartPosition(U.startLineNumber,U.startColumn).setEndPosition(F.endLineNumber,F.endColumn),Y=new i.SnippetParser().parse(o,!0,g),ne=G.getStartPosition(),se=t.adjustWhitespace(M,ne,h||W>0&&P!==M.getLineFirstNonWhitespaceColumn(x.positionLineNumber),Y);Y.resolveVariables(new n.CompositeSnippetVariableResolver([B,new n.ClipboardBasedVariableResolver(T,W,O.length,l.getOption(78)==="spread"),new n.SelectionBasedVariableResolver(M,x,W,b),new n.CommentBasedVariableResolver(M,x,w),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(R),new n.RandomBasedVariableResolver])),E[W]=D.EditOperation.replace(G,Y.toString()),E[W].identifier={major:W,minor:0},E[W]._isTracked=!0,k[W]=new r(l,Y,se)}return{edits:E,snippets:k}}static createEditsAndSnippetsFromEdits(l,o,c,a,g,h,p){if(!l.hasModel()||o.length===0)return{edits:[],snippets:[]};const b=[],w=l.getModel(),E=new i.SnippetParser,k=new i.TextmateSnippet,M=new n.CompositeSnippetVariableResolver([l.invokeWithinContext(B=>new n.ModelBasedVariableResolver(B.get(C.ILabelService),w)),new n.ClipboardBasedVariableResolver(()=>g,0,l.getSelections().length,l.getOption(78)==="spread"),new n.SelectionBasedVariableResolver(w,l.getSelection(),0,h),new n.CommentBasedVariableResolver(w,l.getSelection(),p),new n.TimeBasedVariableResolver,new n.WorkspaceBasedVariableResolver(l.invokeWithinContext(B=>B.get(s.IWorkspaceContextService))),new n.RandomBasedVariableResolver]);o=o.sort((B,T)=>S.Range.compareRangesUsingStarts(B.range,T.range));let R=0;for(let B=0;B0){const W=o[B-1].range,U=S.Range.fromPositions(W.getEndPosition(),T.getStartPosition()),F=new i.Text(w.getValueInRange(U));k.appendChild(F),R+=F.value.length}const A=E.parseFragment(N,k);t.adjustWhitespace(w,T.getStartPosition(),!0,k,new Set(A)),k.resolveVariables(M);const P=k.toString(),O=P.slice(R);R=P.length;const x=D.EditOperation.replace(T,O);x.identifier={major:B,minor:0},x._isTracked=!0,b.push(x)}return E.ensureFinalTabstop(k,c,!0),{edits:b,snippets:[new r(l,k,"")]}}constructor(l,o,c=u,a){this._editor=l,this._template=o,this._options=c,this._languageConfigurationService=a,this._templateMerges=[],this._snippets=[]}dispose(){(0,I.dispose)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:l,snippets:o}=typeof this._template=="string"?t.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):t.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=o,this._editor.executeEdits("snippet",l,c=>{const a=c.filter(g=>!!g.identifier);for(let g=0;gm.Selection.fromPositions(g.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(l,o=u){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,l]);const{edits:c,snippets:a}=t.createEditsAndSnippetsFromSelections(this._editor,l,o.overwriteBefore,o.overwriteAfter,!0,o.adjustWhitespace,o.clipboardText,o.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",c,g=>{const h=g.filter(b=>!!b.identifier);for(let b=0;bm.Selection.fromPositions(b.range.getEndPosition()))})}next(){const l=this._move(!0);this._editor.setSelections(l),this._editor.revealPositionInCenterIfOutsideViewport(l[0].getPosition())}prev(){const l=this._move(!1);this._editor.setSelections(l),this._editor.revealPositionInCenterIfOutsideViewport(l[0].getPosition())}_move(l){const o=[];for(const c of this._snippets){const a=c.move(l);o.push(...a)}return o}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const l=this._editor.getSelections();if(l.length{g.push(...a.get(h))})}l.sort(S.Range.compareRangesUsingStarts);for(const[c,a]of o){if(a.length!==l.length){o.delete(c);continue}a.sort(S.Range.compareRangesUsingStarts);for(let g=0;g0}};e.SnippetSession=f,e.SnippetSession=f=t=Ie([ge(3,_.ILanguageConfigurationService)],f)}),define(te[194],ie([1,0,2,20,16,12,22,32,18,133,698,15,66,381]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SnippetController2=void 0;const r={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let u=t=class{static get(l){return l.getContribution(t.ID)}constructor(l,o,c,a,g){this._editor=l,this._logService=o,this._languageFeaturesService=c,this._languageConfigurationService=g,this._snippetListener=new L.DisposableStore,this._modelVersionId=-1,this._inSnippet=t.InSnippetMode.bindTo(a),this._hasNextTabstop=t.HasNextTabstop.bindTo(a),this._hasPrevTabstop=t.HasPrevTabstop.bindTo(a)}dispose(){var l;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),(l=this._session)===null||l===void 0||l.dispose(),this._snippetListener.dispose()}insert(l,o){try{this._doInsert(l,typeof o>"u"?r:Object.assign(Object.assign({},r),o))}catch(c){this.cancel(),this._logService.error(c),this._logService.error("snippet_error"),this._logService.error("insert_template=",l),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}}_doInsert(l,o){var c;if(this._editor.hasModel()){if(this._snippetListener.clear(),o.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&typeof l!="string"&&this.cancel(),this._session?((0,I.assertType)(typeof l=="string"),this._session.merge(l,o)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new n.SnippetSession(this._editor,l,o,this._languageConfigurationService),this._session.insert()),o.undoStopAfter&&this._editor.getModel().pushStackElement(),!((c=this._session)===null||c===void 0)&&c.hasChoice){const a={_debugDisplayName:"snippetChoiceCompletions",provideCompletionItems:(E,k)=>{if(!this._session||E!==this._editor.getModel()||!D.Position.equals(this._editor.getPosition(),k))return;const{activeChoice:M}=this._session;if(!M||M.choice.options.length===0)return;const R=E.getValueInRange(M.range),B=!!M.choice.options.find(N=>N.value===R),T=[];for(let N=0;N{h?.dispose(),p=!1},w=()=>{p||(h=this._languageFeaturesService.completionProvider.register({language:g.getLanguageId(),pattern:g.uri.fsPath,scheme:g.uri.scheme,exclusive:!0},a),this._snippetListener.add(h),p=!0)};this._choiceCompletions={provider:a,enable:w,disable:b}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(a=>a.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){if(!(!this._session||!this._editor.hasModel())){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){var l;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{activeChoice:o}=this._session;if(!o||!this._choiceCompletions){(l=this._choiceCompletions)===null||l===void 0||l.disable(),this._currentChoice=void 0;return}this._currentChoice!==o.choice&&(this._currentChoice=o.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{(0,v.showSimpleSuggestions)(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(l=!1){var o;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,(o=this._session)===null||o===void 0||o.dispose(),this._session=void 0,this._modelVersionId=-1,l&&this._editor.setSelections([this._editor.getSelection()])}prev(){var l;(l=this._session)===null||l===void 0||l.prev(),this._updateState()}next(){var l;(l=this._session)===null||l===void 0||l.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};e.SnippetController2=u,u.ID="snippetController2",u.InSnippetMode=new s.RawContextKey("inSnippetMode",!1,(0,C.localize)(0,null)),u.HasNextTabstop=new s.RawContextKey("hasNextTabstop",!1,(0,C.localize)(1,null)),u.HasPrevTabstop=new s.RawContextKey("hasPrevTabstop",!1,(0,C.localize)(2,null)),e.SnippetController2=u=t=Ie([ge(1,i.ILogService),ge(2,_.ILanguageFeaturesService),ge(3,s.IContextKeyService),ge(4,m.ILanguageConfigurationService)],u),(0,y.registerEditorContribution)(u.ID,u,4);const f=y.EditorCommand.bindToContribution(u.get);(0,y.registerEditorCommand)(new f({id:"jumpToNextSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasNextTabstop),handler:d=>d.next(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:2}})),(0,y.registerEditorCommand)(new f({id:"jumpToPrevSnippetPlaceholder",precondition:s.ContextKeyExpr.and(u.InSnippetMode,u.HasPrevTabstop),handler:d=>d.prev(),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:1026}})),(0,y.registerEditorCommand)(new f({id:"leaveSnippet",precondition:u.InSnippetMode,handler:d=>d.cancel(!0),kbOpts:{weight:100+30,kbExpr:S.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),(0,y.registerEditorCommand)(new f({id:"acceptSnippet",precondition:u.InSnippetMode,handler:d=>d.finish()}))}),define(te[913],ie([1,0,68,9,2,40,20,71,12,5,29,32,215,780,150,194,25,8]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsModel=e.VersionIdChangeReason=void 0;var d;(function(o){o[o.Undo=0]="Undo",o[o.Redo=1]="Redo",o[o.AcceptWord=2]="AcceptWord",o[o.Other=3]="Other"})(d||(e.VersionIdChangeReason=d={}));let l=class extends y.Disposable{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(c,a,g,h,p,b,w,E,k,M,R,B){super(),this.textModel=c,this.selectedSuggestItem=a,this.cursorPosition=g,this.textModelVersionId=h,this._debounceValue=p,this._suggestPreviewEnabled=b,this._suggestPreviewMode=w,this._inlineSuggestMode=E,this._enabled=k,this._instantiationService=M,this._commandService=R,this._languageConfigurationService=B,this._source=this._register(this._instantiationService.createInstance(n.InlineCompletionsSource,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,D.observableValue)(this,!1),this._forceUpdate=(0,D.observableSignal)("forceUpdate"),this._selectedInlineCompletionId=(0,D.observableValue)(this,void 0),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([d.Redo,d.Undo,d.AcceptWord]),this._fetchInlineCompletions=(0,D.derivedHandleChanges)({owner:this,createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:C.InlineCompletionTriggerKind.Automatic}),handleChange:(N,A)=>(N.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(N.change)?A.preserveCurrentCompletion=!0:N.didChange(this._forceUpdate)&&(A.inlineCompletionTriggerKind=N.change),!0)},(N,A)=>{if(this._forceUpdate.read(N),!(this._enabled.read(N)&&this.selectedSuggestItem.read(N)||this._isActive.read(N))){this._source.cancelUpdate();return}this.textModelVersionId.read(N);const O=this.selectedInlineCompletion.get(),x=A.preserveCurrentCompletion||O?.forwardStable?O:void 0,W=this._source.suggestWidgetInlineCompletions.get(),U=this.selectedSuggestItem.read(N);if(W&&!U){const Y=this._source.inlineCompletions.get();(0,D.transaction)(ne=>{Y&&W.request.versionId>Y.request.versionId&&this._source.inlineCompletions.set(W.clone(),ne),this._source.clearSuggestWidgetInlineCompletions(ne)})}const F=this.cursorPosition.read(N),G={triggerKind:A.inlineCompletionTriggerKind,selectedSuggestionInfo:U?.toSelectedSuggestionInfo()};return this._source.fetch(F,G,x)}),this._filteredInlineCompletionItems=(0,D.derived)(this,N=>{const A=this._source.inlineCompletions.read(N);if(!A)return[];const P=this.cursorPosition.read(N);return A.inlineCompletions.filter(x=>x.isVisible(this.textModel,P,N))}),this.selectedInlineCompletionIndex=(0,D.derived)(this,N=>{const A=this._selectedInlineCompletionId.read(N),P=this._filteredInlineCompletionItems.read(N),O=this._selectedInlineCompletionId===void 0?-1:P.findIndex(x=>x.semanticId===A);return O===-1?(this._selectedInlineCompletionId.set(void 0,void 0),0):O}),this.selectedInlineCompletion=(0,D.derived)(this,N=>{const A=this._filteredInlineCompletionItems.read(N),P=this.selectedInlineCompletionIndex.read(N);return A[P]}),this.lastTriggerKind=this._source.inlineCompletions.map(N=>N?.request.context.triggerKind),this.inlineCompletionsCount=(0,D.derived)(this,N=>{if(this.lastTriggerKind.read(N)===C.InlineCompletionTriggerKind.Explicit)return this._filteredInlineCompletionItems.read(N).length}),this.state=(0,D.derivedOpts)({owner:this,equalityComparer:(N,A)=>!N||!A?N===A:(0,i.ghostTextOrReplacementEquals)(N.ghostText,A.ghostText)&&N.inlineCompletion===A.inlineCompletion&&N.suggestItem===A.suggestItem},N=>{var A;const P=this.textModel,O=this.selectedSuggestItem.read(N);if(O){const x=O.toSingleTextEdit().removeCommonPrefix(P),W=this._computeAugmentedCompletion(x,N);if(!this._suggestPreviewEnabled.read(N)&&!W)return;const F=(A=W?.edit)!==null&&A!==void 0?A:x,G=W?W.edit.text.length-x.text.length:0,Y=this._suggestPreviewMode.read(N),ne=this.cursorPosition.read(N),se=F.computeGhostText(P,Y,ne,G);return{ghostText:se??new i.GhostText(F.range.endLineNumber,[]),inlineCompletion:W?.completion,suggestItem:O}}else{if(!this._isActive.read(N))return;const x=this.selectedInlineCompletion.read(N);if(!x)return;const W=x.toSingleTextEdit(N),U=this._inlineSuggestMode.read(N),F=this.cursorPosition.read(N),G=W.computeGhostText(P,U,F);return G?{ghostText:G,inlineCompletion:x,suggestItem:void 0}:void 0}}),this.ghostText=(0,D.derivedOpts)({owner:this,equalityComparer:i.ghostTextOrReplacementEquals},N=>{const A=this.state.read(N);if(A)return A.ghostText}),this._register((0,D.recomputeInitiallyAndOnChange)(this._fetchInlineCompletions));let T;this._register((0,D.autorun)(N=>{var A,P;const O=this.state.read(N),x=O?.inlineCompletion;if(x?.semanticId!==T?.semanticId&&(T=x,x)){const W=x.inlineCompletion,U=W.source;(P=(A=U.provider).handleItemDidShow)===null||P===void 0||P.call(A,U.inlineCompletions,W.sourceInlineCompletion,W.insertText)}}))}trigger(c){return be(this,void 0,void 0,function*(){this._isActive.set(!0,c),yield this._fetchInlineCompletions.get()})}triggerExplicitly(c){return be(this,void 0,void 0,function*(){(0,D.subtransaction)(c,a=>{this._isActive.set(!0,a),this._forceUpdate.trigger(a,C.InlineCompletionTriggerKind.Explicit)}),yield this._fetchInlineCompletions.get()})}stop(c){(0,D.subtransaction)(c,a=>{this._isActive.set(!1,a),this._source.clear(a)})}_computeAugmentedCompletion(c,a){const g=this.textModel,h=this._source.suggestWidgetInlineCompletions.read(a),p=h?h.inlineCompletions:[this.selectedInlineCompletion.read(a)].filter(S.isDefined);return(0,L.mapFindFirst)(p,w=>{let E=w.toSingleTextEdit(a);return E=E.removeCommonPrefix(g,v.Range.fromPositions(E.range.getStartPosition(),c.range.getEndPosition())),E.augments(c)?{edit:E,completion:w}:void 0})}_deltaSelectedInlineCompletionIndex(c){return be(this,void 0,void 0,function*(){yield this.triggerExplicitly();const a=this._filteredInlineCompletionItems.get()||[];if(a.length>0){const g=(this.selectedInlineCompletionIndex.get()+c+a.length)%a.length;this._selectedInlineCompletionId.set(a[g].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)})}next(){return be(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(1)})}previous(){return be(this,void 0,void 0,function*(){yield this._deltaSelectedInlineCompletionIndex(-1)})}accept(c){var a;return be(this,void 0,void 0,function*(){if(c.getModel()!==this.textModel)throw new I.BugIndicatingError;const g=this.state.get();if(!g||g.ghostText.isEmpty()||!g.inlineCompletion)return;const h=g.inlineCompletion.toInlineCompletion(void 0);c.pushUndoStop(),h.snippetInfo?(c.executeEdits("inlineSuggestion.accept",[m.EditOperation.replaceMove(h.range,""),...h.additionalTextEdits]),c.setPosition(h.snippetInfo.range.getStartPosition()),(a=r.SnippetController2.get(c))===null||a===void 0||a.insert(h.snippetInfo.snippet,{undoStopBefore:!1})):c.executeEdits("inlineSuggestion.accept",[m.EditOperation.replaceMove(h.range,h.insertText),...h.additionalTextEdits]),h.command&&h.source.addRef(),(0,D.transaction)(p=>{this._source.clear(p),this._isActive.set(!1,p)}),h.command&&(yield this._commandService.executeCommand(h.command.id,...h.command.arguments||[]).then(void 0,I.onUnexpectedExternalError),h.source.removeRef())})}acceptNextWord(c){return be(this,void 0,void 0,function*(){yield this._acceptNext(c,(a,g)=>{const h=this.textModel.getLanguageIdAtPosition(a.lineNumber,a.column),p=this._languageConfigurationService.getLanguageConfiguration(h),b=new RegExp(p.wordDefinition.source,p.wordDefinition.flags.replace("g","")),w=g.match(b);let E=0;w&&w.index!==void 0?w.index===0?E=w[0].length:E=w.index:E=g.length;const M=/\s+/g.exec(g);return M&&M.index!==void 0&&M.index+M[0].length{const h=g.match(/\n/);return h&&h.index!==void 0?h.index+1:g.length})})}_acceptNext(c,a){return be(this,void 0,void 0,function*(){if(c.getModel()!==this.textModel)throw new I.BugIndicatingError;const g=this.state.get();if(!g||g.ghostText.isEmpty()||!g.inlineCompletion)return;const h=g.ghostText,p=g.inlineCompletion.toInlineCompletion(void 0);if(p.snippetInfo||p.filterText!==p.insertText){yield this.accept(c);return}const b=h.parts[0],w=new _.Position(h.lineNumber,b.column),E=b.lines.join(` +`),k=a(w,E);if(k===E.length&&h.parts.length===1){this.accept(c);return}const M=E.substring(0,k);this._isAcceptingPartially=!0;try{c.pushUndoStop(),c.executeEdits("inlineSuggestion.accept",[m.EditOperation.replace(v.Range.fromPositions(w),M)]);const R=(0,t.lengthOfText)(M);c.setPosition((0,t.addPositions)(w,R))}finally{this._isAcceptingPartially=!1}if(p.source.provider.handlePartialAccept){const R=v.Range.fromPositions(p.range.getStartPosition(),(0,t.addPositions)(w,(0,t.lengthOfText)(M))),B=c.getModel().getValueInRange(R,1);p.source.provider.handlePartialAccept(p.source.inlineCompletions,p.sourceInlineCompletion,B.length)}})}handleSuggestAccepted(c){var a,g;const h=c.toSingleTextEdit().removeCommonPrefix(this.textModel),p=this._computeAugmentedCompletion(h,void 0);if(!p)return;const b=p.completion.inlineCompletion;(g=(a=b.source.provider).handlePartialAccept)===null||g===void 0||g.call(a,b.source.inlineCompletions,b.sourceInlineCompletion,h.text.length)}};e.InlineCompletionsModel=l,e.InlineCompletionsModel=l=Ie([ge(9,f.IInstantiationService),ge(10,u.ICommandService),ge(11,s.ILanguageConfigurationService)],l)}),define(te[914],ie([1,0,14,19,9,6,2,10,24,115,305,102,28,15,66,76,304,133,18,69,20,235,194,238]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g){"use strict";var h;Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestModel=e.LineContext=void 0;class p{static shouldAutoTrigger(M){if(!M.hasModel())return!1;const R=M.getModel(),B=M.getPosition();R.tokenization.tokenizeIfCheap(B.lineNumber);const T=R.getWordAtPosition(B);return!(!T||T.endColumn!==B.column&&T.startColumn+1!==B.column||!isNaN(Number(T.word)))}constructor(M,R,B){this.leadingLineContent=M.getLineContent(R.lineNumber).substr(0,R.column-1),this.leadingWord=M.getWordUntilPosition(R),this.lineNumber=R.lineNumber,this.column=R.column,this.triggerOptions=B}}e.LineContext=p;function b(k,M,R){if(!M.getContextKeyValue(c.InlineCompletionContextKeys.inlineSuggestionVisible.key))return!0;const B=M.getContextKeyValue(c.InlineCompletionContextKeys.suppressSuggestions.key);return B!==void 0?!B:!k.getOption(62).suppressSuggestions}function w(k,M,R){if(!M.getContextKeyValue("inlineSuggestionVisible"))return!0;const B=M.getContextKeyValue(c.InlineCompletionContextKeys.suppressSuggestions.key);return B!==void 0?!B:!k.getOption(62).suppressSuggestions}let E=h=class{constructor(M,R,B,T,N,A,P,O,x){this._editor=M,this._editorWorkerService=R,this._clipboardService=B,this._telemetryService=T,this._logService=N,this._contextKeyService=A,this._configurationService=P,this._languageFeaturesService=O,this._envService=x,this._toDispose=new S.DisposableStore,this._triggerCharacterListener=new S.DisposableStore,this._triggerQuickSuggest=new L.TimeoutTimer,this._triggerState=void 0,this._completionDisposables=new S.DisposableStore,this._onDidCancel=new D.Emitter,this._onDidTrigger=new D.Emitter,this._onDidSuggest=new D.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new _.Selection(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let W=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{W=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{W=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(U=>{W||this._onCursorChange(U)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{!W&&this._triggerState!==void 0&&this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,S.dispose)(this._triggerCharacterListener),(0,S.dispose)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(90)||!this._editor.hasModel()||!this._editor.getOption(120))return;const M=new Map;for(const B of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const T of B.triggerCharacters||[]){let N=M.get(T);N||(N=new Set,N.add((0,f.getSnippetSuggestSupport)()),M.set(T,N)),N.add(B)}const R=B=>{var T;if(!w(this._editor,this._contextKeyService,this._configurationService)||p.shouldAutoTrigger(this._editor))return;if(!B){const P=this._editor.getPosition();B=this._editor.getModel().getLineContent(P.lineNumber).substr(0,P.column-1)}let N="";(0,m.isLowSurrogate)(B.charCodeAt(B.length-1))?(0,m.isHighSurrogate)(B.charCodeAt(B.length-2))&&(N=B.substr(B.length-2)):N=B.charAt(B.length-1);const A=M.get(N);if(A){const P=new Map;if(this._completionModel)for(const[O,x]of this._completionModel.getItemsByProvider())A.has(O)||P.set(O,x);this.trigger({auto:!0,triggerKind:1,triggerCharacter:N,retrigger:!!this._completionModel,clipboardText:(T=this._completionModel)===null||T===void 0?void 0:T.clipboardText,completionOptions:{providerFilter:A,providerItemsToReuse:P}})}};this._triggerCharacterListener.add(this._editor.onDidType(R)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>R()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(M=!1){var R;this._triggerState!==void 0&&(this._triggerQuickSuggest.cancel(),(R=this._requestToken)===null||R===void 0||R.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:M}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._triggerState!==void 0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._triggerState.auto,retrigger:!0}))}_onCursorChange(M){if(!this._editor.hasModel())return;const R=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!M.selection.isEmpty()||M.reason!==0&&M.reason!==3||M.source!=="keyboard"&&M.source!=="deleteLeft"){this.cancel();return}this._triggerState===void 0&&M.reason===0?(R.containsRange(this._currentSelection)||R.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._triggerState!==void 0&&M.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._triggerState===void 0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var M;f.QuickSuggestionsOptions.isAllOff(this._editor.getOption(88))||this._editor.getOption(117).snippetsPreventQuickSuggestions&&(!((M=a.SnippetController2.get(this._editor))===null||M===void 0)&&M.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._triggerState!==void 0||!p.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;const R=this._editor.getModel(),B=this._editor.getPosition(),T=this._editor.getOption(88);if(!f.QuickSuggestionsOptions.isAllOff(T)){if(!f.QuickSuggestionsOptions.isAllOn(T)){R.tokenization.tokenizeIfCheap(B.lineNumber);const N=R.tokenization.getLineTokens(B.lineNumber),A=N.getStandardTokenType(N.findTokenIndexAtOffset(Math.max(B.column-1-1,0)));if(f.QuickSuggestionsOptions.valueFor(T,A)!=="on")return}b(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(R)&&this.trigger({auto:!0})}},this._editor.getOption(89)))}_refilterCompletionItems(){(0,o.assertType)(this._editor.hasModel()),(0,o.assertType)(this._triggerState!==void 0);const M=this._editor.getModel(),R=this._editor.getPosition(),B=new p(M,R,Object.assign(Object.assign({},this._triggerState),{refilter:!0}));this._onNewContext(B)}trigger(M){var R,B,T,N,A,P;if(!this._editor.hasModel())return;const O=this._editor.getModel(),x=new p(O,this._editor.getPosition(),M);this.cancel(M.retrigger),this._triggerState=M,this._onDidTrigger.fire({auto:M.auto,shy:(R=M.shy)!==null&&R!==void 0?R:!1,position:this._editor.getPosition()}),this._context=x;let W={triggerKind:(B=M.triggerKind)!==null&&B!==void 0?B:0};M.triggerCharacter&&(W={triggerKind:1,triggerCharacter:M.triggerCharacter}),this._requestToken=new I.CancellationTokenSource;const U=this._editor.getOption(111);let F=1;switch(U){case"top":F=0;break;case"bottom":F=2;break}const{itemKind:G,showDeprecated:Y}=h._createSuggestFilter(this._editor),ne=new f.CompletionOptions(F,(N=(T=M.completionOptions)===null||T===void 0?void 0:T.kindFilter)!==null&&N!==void 0?N:G,(A=M.completionOptions)===null||A===void 0?void 0:A.providerFilter,(P=M.completionOptions)===null||P===void 0?void 0:P.providerItemsToReuse,Y),se=C.WordDistance.create(this._editorWorkerService,this._editor),J=(0,f.provideSuggestionItems)(this._languageFeaturesService.completionProvider,O,this._editor.getPosition(),ne,W,this._requestToken.token);Promise.all([J,se]).then(([q,H])=>be(this,void 0,void 0,function*(){var V;if((V=this._requestToken)===null||V===void 0||V.dispose(),!this._editor.hasModel())return;let Z=M?.clipboardText;if(!Z&&q.needsClipboard&&(Z=yield this._clipboardService.readText()),this._triggerState===void 0)return;const ee=this._editor.getModel(),le=new p(ee,this._editor.getPosition(),M),ue=Object.assign(Object.assign({},l.FuzzyScoreOptions.default),{firstMatchCanBeWeak:!this._editor.getOption(117).matchOnWordStartOnly});if(this._completionModel=new u.CompletionModel(q.items,this._context.column,{leadingLineContent:le.leadingLineContent,characterCountDelta:le.column-this._context.column},H,this._editor.getOption(117),this._editor.getOption(111),ue,Z),this._completionDisposables.add(q.disposable),this._onNewContext(le),this._reportDurationsTelemetry(q.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(const de of q.items)de.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${de.provider._debugDisplayName}`,de.completion)})).catch(y.onUnexpectedError)}_reportDurationsTelemetry(M){this._telemetryGate++%230===0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(M)}),this._logService.debug("suggest.durations.json",M)})}static _createSuggestFilter(M){const R=new Set;M.getOption(111)==="none"&&R.add(27);const T=M.getOption(117);return T.showMethods||R.add(0),T.showFunctions||R.add(1),T.showConstructors||R.add(2),T.showFields||R.add(3),T.showVariables||R.add(4),T.showClasses||R.add(5),T.showStructs||R.add(6),T.showInterfaces||R.add(7),T.showModules||R.add(8),T.showProperties||R.add(9),T.showEvents||R.add(10),T.showOperators||R.add(11),T.showUnits||R.add(12),T.showValues||R.add(13),T.showConstants||R.add(14),T.showEnums||R.add(15),T.showEnumMembers||R.add(16),T.showKeywords||R.add(17),T.showWords||R.add(18),T.showColors||R.add(19),T.showFiles||R.add(20),T.showReferences||R.add(21),T.showColors||R.add(22),T.showFolders||R.add(23),T.showTypeParameters||R.add(24),T.showSnippets||R.add(27),T.showUsers||R.add(25),T.showIssues||R.add(26),{itemKind:R,showDeprecated:T.showDeprecated}}_onNewContext(M){if(this._context){if(M.lineNumber!==this._context.lineNumber){this.cancel();return}if((0,m.getLeadingWhitespace)(M.leadingLineContent)!==(0,m.getLeadingWhitespace)(this._context.leadingLineContent)){this.cancel();return}if(M.columnthis._context.leadingWord.startColumn){if(p.shouldAutoTrigger(this._editor)&&this._context){const B=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:B}})}return}if(M.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&M.leadingWord.word.length!==0){const R=new Map,B=new Set;for(const[T,N]of this._completionModel.getItemsByProvider())N.length>0&&N[0].container.incomplete?B.add(T):R.set(T,N);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:B,providerItemsToReuse:R}})}else{const R=this._completionModel.lineContext;let B=!1;if(this._completionModel.lineContext={leadingLineContent:M.leadingLineContent,characterCountDelta:M.column-this._context.column},this._completionModel.items.length===0){const T=p.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(T&&this._context.leadingWord.endColumn0,B&&M.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:M.triggerOptions,isFrozen:B})}}}}};e.SuggestModel=E,e.SuggestModel=E=h=Ie([ge(1,v.IEditorWorkerService),ge(2,s.IClipboardService),ge(3,r.ITelemetryService),ge(4,t.ILogService),ge(5,n.IContextKeyService),ge(6,i.IConfigurationService),ge(7,d.ILanguageFeaturesService),ge(8,g.IEnvironmentService)],E)}),define(te[382],ie([1,0,45,13,14,19,9,6,118,2,17,59,20,120,16,71,12,5,22,194,127,351,756,702,25,15,8,66,133,755,551,914,552,895,76,46,141]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M,R,B,T,N,A,P){"use strict";var O;Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerSuggestAction=e.SuggestController=void 0;const x=!1;class W{constructor(J,q){if(this._model=J,this._position=q,J.getLineMaxColumn(q.lineNumber)!==q.column){const V=J.getOffsetAt(q),Z=J.getPositionAt(V+1);this._marker=J.deltaDecorations([],[{range:f.Range.fromPositions(q,Z),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(J){if(this._model.isDisposed()||this._position.lineNumber!==J.lineNumber)return 0;if(this._marker){const q=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(q.getStartPosition())-this._model.getOffsetAt(J)}else return this._model.getLineMaxColumn(J.lineNumber)-J.column}}let U=O=class{static get(J){return J.getContribution(O.ID)}constructor(J,q,H,V,Z,ee,le){this._memoryService=q,this._commandService=H,this._contextKeyService=V,this._instantiationService=Z,this._logService=ee,this._telemetryService=le,this._lineSuffix=new v.MutableDisposable,this._toDispose=new v.DisposableStore,this._selectors=new F(ae=>ae.priority),this._onWillInsertSuggestItem=new m.Emitter,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=J,this.model=Z.createInstance(R.SuggestModel,this.editor),this._selectors.register({priority:0,select:(ae,X,K)=>this._memoryService.select(ae,X,K)});const ue=E.Context.InsertMode.bindTo(V);ue.set(J.getOption(117).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>ue.set(J.getOption(117).insertMode))),this.widget=this._toDispose.add(new y.IdleValue(()=>{const ae=this._instantiationService.createInstance(T.SuggestWidget,this.editor);this._toDispose.add(ae),this._toDispose.add(ae.onDidSelect(j=>this._insertSuggestion(j,0),this));const X=new M.CommitCharacterController(this.editor,ae,this.model,j=>this._insertSuggestion(j,2));this._toDispose.add(X);const K=E.Context.MakesTextEdit.bindTo(this._contextKeyService),z=E.Context.HasInsertAndReplaceRange.bindTo(this._contextKeyService),Q=E.Context.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,v.toDisposable)(()=>{K.reset(),z.reset(),Q.reset()})),this._toDispose.add(ae.onDidFocus(({item:j})=>{const re=this.editor.getPosition(),oe=j.editStart.column,he=re.column;let me=!0;this.editor.getOption(1)==="smart"&&this.model.state===2&&!j.completion.additionalTextEdits&&!(j.completion.insertTextRules&4)&&he-oe===j.completion.insertText.length&&(me=this.editor.getModel().getValueInRange({startLineNumber:re.lineNumber,startColumn:oe,endLineNumber:re.lineNumber,endColumn:he})!==j.completion.insertText),K.set(me),z.set(!u.Position.equals(j.editInsertEnd,j.editReplaceEnd)),Q.set(!!j.provider.resolveCompletionItem||!!j.completion.documentation||j.completion.detail!==j.completion.label)})),this._toDispose.add(ae.onDetailsKeyDown(j=>{if(j.toKeyCodeChord().equals(new _.KeyCodeChord(!0,!1,!1,!1,33))||C.isMacintosh&&j.toKeyCodeChord().equals(new _.KeyCodeChord(!1,!1,!1,!0,33))){j.stopPropagation();return}j.toKeyCodeChord().isModifierKey()||this.editor.focus()})),ae})),this._overtypingCapturer=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new B.OvertypingCapturer(this.editor,this.model)))),this._alternatives=this._toDispose.add(new y.IdleValue(()=>this._toDispose.add(new k.SuggestAlternatives(this.editor,this._contextKeyService)))),this._toDispose.add(Z.createInstance(a.WordContextKey,J)),this._toDispose.add(this.model.onDidTrigger(ae=>{this.widget.value.showTriggered(ae.auto,ae.shy?250:50),this._lineSuffix.value=new W(this.editor.getModel(),ae.position)})),this._toDispose.add(this.model.onDidSuggest(ae=>{if(ae.triggerOptions.shy)return;let X=-1;for(const z of this._selectors.itemsOrderedByPriorityDesc)if(X=z.select(this.editor.getModel(),this.editor.getPosition(),ae.completionModel.items),X!==-1)break;X===-1&&(X=0);let K=!1;if(ae.triggerOptions.auto){const z=this.editor.getOption(117);z.selectionMode==="never"||z.selectionMode==="always"?K=z.selectionMode==="never":z.selectionMode==="whenTriggerCharacter"?K=ae.triggerOptions.triggerKind!==1:z.selectionMode==="whenQuickSuggestion"&&(K=ae.triggerOptions.triggerKind===1&&!ae.triggerOptions.refilter)}this.widget.value.showSuggestions(ae.completionModel,X,ae.isFrozen,ae.triggerOptions.auto,K)})),this._toDispose.add(this.model.onDidCancel(ae=>{ae.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{x||(this.model.cancel(),this.model.clear())}));const de=E.Context.AcceptSuggestionsOnEnter.bindTo(V),ce=()=>{const ae=this.editor.getOption(1);de.set(ae==="on"||ae==="smart")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>ce())),ce()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(J,q){if(!J||!J.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;const H=l.SnippetController2.get(this.editor);if(!H)return;this._onWillInsertSuggestItem.fire({item:J.item});const V=this.editor.getModel(),Z=V.getAlternativeVersionId(),{item:ee}=J,le=[],ue=new D.CancellationTokenSource;q&1||this.editor.pushUndoStop();const de=this.getOverwriteInfo(ee,!!(q&8));this._memoryService.memorize(V,this.editor.getPosition(),ee);const ce=ee.isResolved;let ae=-1,X=-1;if(Array.isArray(ee.completion.additionalTextEdits)){this.model.cancel();const z=n.StableEditorScrollState.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",ee.completion.additionalTextEdits.map(Q=>r.EditOperation.replaceMove(f.Range.lift(Q.range),Q.text))),z.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!ce){const z=new s.StopWatch;let Q;const j=V.onDidChangeContent(me=>{if(me.isFlush){ue.cancel(),j.dispose();return}for(const pe of me.changes){const ve=f.Range.getEndPosition(pe.range);(!Q||u.Position.isBefore(ve,Q))&&(Q=ve)}}),re=q;q|=2;let oe=!1;const he=this.editor.onWillType(()=>{he.dispose(),oe=!0,re&2||this.editor.pushUndoStop()});le.push(ee.resolve(ue.token).then(()=>{if(!ee.completion.additionalTextEdits||ue.token.isCancellationRequested)return;if(Q&&ee.completion.additionalTextEdits.some(pe=>u.Position.isBefore(Q,f.Range.getStartPosition(pe.range))))return!1;oe&&this.editor.pushUndoStop();const me=n.StableEditorScrollState.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",ee.completion.additionalTextEdits.map(pe=>r.EditOperation.replaceMove(f.Range.lift(pe.range),pe.text))),me.restoreRelativeVerticalPositionOfCursor(this.editor),(oe||!(re&2))&&this.editor.pushUndoStop(),!0}).then(me=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",z.elapsed(),me),X=me===!0?1:me===!1?0:-2}).finally(()=>{j.dispose(),he.dispose()}))}let{insertText:K}=ee.completion;if(ee.completion.insertTextRules&4||(K=o.SnippetParser.escape(K)),this.model.cancel(),H.insert(K,{overwriteBefore:de.overwriteBefore,overwriteAfter:de.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(ee.completion.insertTextRules&1),clipboardText:J.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),q&2||this.editor.pushUndoStop(),ee.completion.command)if(ee.completion.command.id===G.id)this.model.trigger({auto:!0,retrigger:!0});else{const z=new s.StopWatch;le.push(this._commandService.executeCommand(ee.completion.command.id,...ee.completion.command.arguments?[...ee.completion.command.arguments]:[]).catch(Q=>{ee.completion.extensionId?(0,S.onUnexpectedExternalError)(Q):(0,S.onUnexpectedError)(Q)}).finally(()=>{ae=z.elapsed()}))}q&4&&this._alternatives.value.set(J,z=>{for(ue.cancel();V.canUndo();){Z!==V.getAlternativeVersionId()&&V.undo(),this._insertSuggestion(z,3|(q&8?8:0));break}}),this._alertCompletionItem(ee),Promise.all(le).finally(()=>{this._reportSuggestionAcceptedTelemetry(ee,V,ce,ae,X),this.model.clear(),ue.dispose()})}_reportSuggestionAcceptedTelemetry(J,q,H,V,Z){var ee,le,ue;Math.floor(Math.random()*100)!==0&&this._telemetryService.publicLog2("suggest.acceptedSuggestion",{extensionId:(le=(ee=J.extensionId)===null||ee===void 0?void 0:ee.value)!==null&&le!==void 0?le:"unknown",providerId:(ue=J.provider._debugDisplayName)!==null&&ue!==void 0?ue:"unknown",kind:J.completion.kind,basenameHash:(0,P.hash)((0,A.basename)(q.uri)).toString(16),languageId:q.getLanguageId(),fileExtension:(0,A.extname)(q.uri),resolveInfo:J.provider.resolveCompletionItem?H?1:0:-1,resolveDuration:J.resolveDuration,commandDuration:V,additionalEditsAsync:Z})}getOverwriteInfo(J,q){(0,i.assertType)(this.editor.hasModel());let H=this.editor.getOption(117).insertMode==="replace";q&&(H=!H);const V=J.position.column-J.editStart.column,Z=(H?J.editReplaceEnd.column:J.editInsertEnd.column)-J.position.column,ee=this.editor.getPosition().column-J.position.column,le=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:V+ee,overwriteAfter:Z+le}}_alertCompletionItem(J){if((0,I.isNonEmptyArray)(J.completion.additionalTextEdits)){const q=g.localize(0,null,J.textLabel,J.completion.additionalTextEdits.length);(0,L.alert)(q)}}triggerSuggest(J,q,H){this.editor.hasModel()&&(this.model.trigger({auto:q??!1,completionOptions:{providerFilter:J,kindFilter:H?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(J){if(!this.editor.hasModel())return;const q=this.editor.getPosition(),H=()=>{q.equals(this.editor.getPosition())&&this._commandService.executeCommand(J.fallback)},V=Z=>{if(Z.completion.insertTextRules&4||Z.completion.additionalTextEdits)return!0;const ee=this.editor.getPosition(),le=Z.editStart.column,ue=ee.column;return ue-le!==Z.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:ee.lineNumber,startColumn:le,endLineNumber:ee.lineNumber,endColumn:ue})!==Z.completion.insertText};m.Event.once(this.model.onDidTrigger)(Z=>{const ee=[];m.Event.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,v.dispose)(ee),H()},void 0,ee),this.model.onDidSuggest(({completionModel:le})=>{if((0,v.dispose)(ee),le.items.length===0){H();return}const ue=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),le.items),de=le.items[ue];if(!V(de)){H();return}this.editor.pushUndoStop(),this._insertSuggestion({index:ue,item:de,model:le},7)},void 0,ee)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(q,0),this.editor.focus()}acceptSelectedSuggestion(J,q){const H=this.widget.value.getFocusedItem();let V=0;J&&(V|=4),q&&(V|=8),this._insertSuggestion(H,V)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(J){return this._selectors.register(J)}};e.SuggestController=U,U.ID="editor.contrib.suggestController",e.SuggestController=U=O=Ie([ge(1,c.ISuggestMemoryService),ge(2,h.ICommandService),ge(3,p.IContextKeyService),ge(4,b.IInstantiationService),ge(5,w.ILogService),ge(6,N.ITelemetryService)],U);class F{constructor(J){this.prioritySelector=J,this._items=new Array}register(J){if(this._items.indexOf(J)!==-1)throw new Error("Value is already registered");return this._items.push(J),this._items.sort((q,H)=>this.prioritySelector(H)-this.prioritySelector(q)),{dispose:()=>{const q=this._items.indexOf(J);q>=0&&this._items.splice(q,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class G extends t.EditorAction{constructor(){super({id:G.id,label:g.localize(1,null),alias:"Trigger Suggest",precondition:p.ContextKeyExpr.and(d.EditorContextKeys.writable,d.EditorContextKeys.hasCompletionItemProvider,E.Context.Visible.toNegated()),kbOpts:{kbExpr:d.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(J,q,H){const V=U.get(q);if(!V)return;let Z;H&&typeof H=="object"&&H.auto===!0&&(Z=!0),V.triggerSuggest(void 0,Z,void 0)}}e.TriggerSuggestAction=G,G.id="editor.action.triggerSuggest",(0,t.registerEditorContribution)(U.ID,U,2),(0,t.registerEditorAction)(G);const Y=100+90,ne=t.EditorCommand.bindToContribution(U.get);(0,t.registerEditorCommand)(new ne({id:"acceptSelectedSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler(se){se.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:p.ContextKeyExpr.and(E.Context.Visible,d.EditorContextKeys.textInputFocus),weight:Y},{primary:3,kbExpr:p.ContextKeyExpr.and(E.Context.Visible,d.EditorContextKeys.textInputFocus,E.Context.AcceptSuggestionsOnEnter,E.Context.MakesTextEdit),weight:Y}],menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,title:g.localize(2,null),group:"left",order:1,when:E.Context.HasInsertAndReplaceRange.toNegated()},{menuId:E.suggestWidgetStatusbarMenu,title:g.localize(3,null),group:"left",order:1,when:p.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert"))},{menuId:E.suggestWidgetStatusbarMenu,title:g.localize(4,null),group:"left",order:1,when:p.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace"))}]})),(0,t.registerEditorCommand)(new ne({id:"acceptAlternativeSelectedSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,d.EditorContextKeys.textInputFocus,E.Context.HasFocusedSuggestion),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:1027,secondary:[1026]},handler(se){se.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:p.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("insert")),title:g.localize(5,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"left",order:2,when:p.ContextKeyExpr.and(E.Context.HasInsertAndReplaceRange,E.Context.InsertMode.isEqualTo("replace")),title:g.localize(6,null)}]})),h.CommandsRegistry.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,t.registerEditorCommand)(new ne({id:"hideSuggestWidget",precondition:E.Context.Visible,handler:se=>se.cancelSuggestWidget(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),(0,t.registerEditorCommand)(new ne({id:"selectNextSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectNextSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,t.registerEditorCommand)(new ne({id:"selectNextPageSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectNextPageSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),(0,t.registerEditorCommand)(new ne({id:"selectLastSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectLastSuggestion()})),(0,t.registerEditorCommand)(new ne({id:"selectPrevSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectPrevSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,t.registerEditorCommand)(new ne({id:"selectPrevPageSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectPrevPageSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),(0,t.registerEditorCommand)(new ne({id:"selectFirstSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,p.ContextKeyExpr.or(E.Context.MultipleSuggestions,E.Context.HasFocusedSuggestion.negate())),handler:se=>se.selectFirstSuggestion()})),(0,t.registerEditorCommand)(new ne({id:"focusSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:se=>se.focusSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}})),(0,t.registerEditorCommand)(new ne({id:"focusAndAcceptSuggestion",precondition:p.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion.negate()),handler:se=>{se.focusSuggestion(),se.acceptSelectedSuggestion(!0,!1)}})),(0,t.registerEditorCommand)(new ne({id:"toggleSuggestionDetails",precondition:p.ContextKeyExpr.and(E.Context.Visible,E.Context.HasFocusedSuggestion),handler:se=>se.toggleSuggestionDetails(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:p.ContextKeyExpr.and(E.Context.DetailsVisible,E.Context.CanResolve),title:g.localize(7,null)},{menuId:E.suggestWidgetStatusbarMenu,group:"right",order:1,when:p.ContextKeyExpr.and(E.Context.DetailsVisible.toNegated(),E.Context.CanResolve),title:g.localize(8,null)}]})),(0,t.registerEditorCommand)(new ne({id:"toggleExplainMode",precondition:E.Context.Visible,handler:se=>se.toggleExplainMode(),kbOpts:{weight:100,primary:2138}})),(0,t.registerEditorCommand)(new ne({id:"toggleSuggestionFocus",precondition:E.Context.Visible,handler:se=>se.toggleSuggestionFocus(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),(0,t.registerEditorCommand)(new ne({id:"insertBestCompletion",precondition:p.ContextKeyExpr.and(d.EditorContextKeys.textInputFocus,p.ContextKeyExpr.equals("config.editor.tabCompletion","on"),a.WordContextKey.AtEnd,E.Context.Visible.toNegated(),k.SuggestAlternatives.OtherSuggestions.toNegated(),l.SnippetController2.InSnippetMode.toNegated()),handler:(se,J)=>{se.triggerSuggestAndAcceptBest((0,i.isObject)(J)?Object.assign({fallback:"tab"},J):{fallback:"tab"})},kbOpts:{weight:Y,primary:2}})),(0,t.registerEditorCommand)(new ne({id:"insertNextSuggestion",precondition:p.ContextKeyExpr.and(d.EditorContextKeys.textInputFocus,p.ContextKeyExpr.equals("config.editor.tabCompletion","on"),k.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),l.SnippetController2.InSnippetMode.toNegated()),handler:se=>se.acceptNextSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:2}})),(0,t.registerEditorCommand)(new ne({id:"insertPrevSuggestion",precondition:p.ContextKeyExpr.and(d.EditorContextKeys.textInputFocus,p.ContextKeyExpr.equals("config.editor.tabCompletion","on"),k.SuggestAlternatives.OtherSuggestions,E.Context.Visible.toNegated(),l.SnippetController2.InSnippetMode.toNegated()),handler:se=>se.acceptPrevSuggestion(),kbOpts:{weight:Y,kbExpr:d.EditorContextKeys.textInputFocus,primary:1026}})),(0,t.registerEditorAction)(class extends t.EditorAction{constructor(){super({id:"editor.action.resetSuggestSize",label:g.localize(9,null),alias:"Reset Suggest Widget Size",precondition:void 0})}run(se,J){var q;(q=U.get(J))===null||q===void 0||q.resetWidgetSize()}})}),define(te[915],ie([1,0,6,2,12,5,29,127,381,382,40,300,13,68]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuggestItemInfo=e.SuggestWidgetAdaptor=void 0;class t extends I.Disposable{get selectedItem(){return this._selectedItem}constructor(d,l,o,c){super(),this.editor=d,this.suggestControllerPreselector=l,this.checkModelVersion=o,this.onWillAccept=c,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,C.observableValue)(this,void 0),this._register(d.onKeyDown(g=>{g.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(d.onKeyUp(g=>{g.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const a=v.SuggestController.get(this.editor);if(a){this._register(a.registerSelector({priority:100,select:(p,b,w)=>{var E;(0,C.transaction)(N=>this.checkModelVersion(N));const k=this.editor.getModel();if(!k)return-1;const M=(E=this.suggestControllerPreselector())===null||E===void 0?void 0:E.removeCommonPrefix(k);if(!M)return-1;const R=y.Position.lift(b),B=w.map((N,A)=>{const O=r.fromSuggestion(a,k,R,N,this.isShiftKeyPressed).toSingleTextEdit().removeCommonPrefix(k),x=M.augments(O);return{index:A,valid:x,prefixLength:O.text.length,suggestItem:N}}).filter(N=>N&&N.valid&&N.prefixLength>0),T=(0,n.findFirstMaxBy)(B,(0,i.compareBy)(N=>N.prefixLength,i.numberComparator));return T?T.index:-1}}));let g=!1;const h=()=>{g||(g=!0,this._register(a.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(a.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(a.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(L.Event.once(a.model.onDidTrigger)(p=>{h()})),this._register(a.onWillInsertSuggestItem(p=>{const b=this.editor.getPosition(),w=this.editor.getModel();if(!b||!w)return;const E=r.fromSuggestion(a,w,b,p.item,this.isShiftKeyPressed);this.onWillAccept(E)}))}this.update(this._isActive)}update(d){const l=this.getSuggestItemInfo();(this._isActive!==d||!u(this._currentSuggestItemInfo,l))&&(this._isActive=d,this._currentSuggestItemInfo=l,(0,C.transaction)(o=>{this.checkModelVersion(o),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,o)}))}getSuggestItemInfo(){const d=v.SuggestController.get(this.editor);if(!d||!this.isSuggestWidgetVisible)return;const l=d.widget.value.getFocusedItem(),o=this.editor.getPosition(),c=this.editor.getModel();if(!(!l||!o||!c))return r.fromSuggestion(d,c,o,l.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const d=v.SuggestController.get(this.editor);d?.stopForceRenderingAbove()}forceRenderingAbove(){const d=v.SuggestController.get(this.editor);d?.forceRenderingAbove()}}e.SuggestWidgetAdaptor=t;class r{static fromSuggestion(d,l,o,c,a){let{insertText:g}=c.completion,h=!1;if(c.completion.insertTextRules&4){const b=new m.SnippetParser().parse(g);b.children.length<100&&_.SnippetSession.adjustWhitespace(l,o,!0,b),g=b.toString(),h=!0}const p=d.getOverwriteInfo(c,a);return new r(D.Range.fromPositions(o.delta(0,-p.overwriteBefore),o.delta(0,Math.max(p.overwriteAfter,0))),g,c.completion.kind,h)}constructor(d,l,o,c){this.range=d,this.insertText=l,this.completionItemKind=o,this.isSnippetText=c}equals(d){return this.range.equalsRange(d.range)&&this.insertText===d.insertText&&this.completionItemKind===d.completionItemKind&&this.isSnippetText===d.isSnippetText}toSelectedSuggestionInfo(){return new S.SelectedSuggestionInfo(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new s.SingleTextEdit(this.range,this.insertText)}}e.SuggestItemInfo=r;function u(f,d){return f===d?!0:!f||!d?!1:f.equals(d)}}),define(te[256],ie([1,0,45,6,2,40,188,12,74,18,214,751,235,251,913,915,681,156,25,28,15,8,34]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a){"use strict";var g;Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsController=void 0;let h=g=class extends y.Disposable{static get(b){return b.getContribution(g.ID)}constructor(b,w,E,k,M,R,B,T,N){super(),this.editor=b,this.instantiationService=w,this.contextKeyService=E,this.configurationService=k,this.commandService=M,this.debounceService=R,this.languageFeaturesService=B,this.audioCueService=T,this._keybindingService=N,this.model=(0,D.disposableObservableValue)("inlineCompletionModel",void 0),this.textModelVersionId=(0,D.observableValue)(this,-1),this.cursorPosition=(0,D.observableValue)(this,new m.Position(1,1)),this.suggestWidgetAdaptor=this._register(new r.SuggestWidgetAdaptor(this.editor,()=>{var O,x;return(x=(O=this.model.get())===null||O===void 0?void 0:O.selectedInlineCompletion.get())===null||x===void 0?void 0:x.toSingleTextEdit(void 0)},O=>this.updateObservables(O,t.VersionIdChangeReason.Other),O=>{(0,D.transaction)(x=>{var W;this.updateObservables(x,t.VersionIdChangeReason.Other),(W=this.model.get())===null||W===void 0||W.handleSuggestAccepted(O)})})),this._enabled=(0,D.observableFromEvent)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).enabled),this.ghostTextWidget=this._register(this.instantiationService.createInstance(s.GhostTextWidget,this.editor,{ghostText:this.model.map((O,x)=>O?.ghostText.read(x)),minReservedLineCount:(0,D.constObservable)(0),targetTextModel:this.model.map(O=>O?.textModel)})),this._debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._register(new i.InlineCompletionContextKeys(this.contextKeyService,this.model)),this._register(I.Event.runAndSubscribe(b.onDidChangeModel,()=>(0,D.transaction)(O=>{this.model.set(void 0,O),this.updateObservables(O,t.VersionIdChangeReason.Other);const x=b.getModel();if(x){const W=w.createInstance(t.InlineCompletionsModel,x,this.suggestWidgetAdaptor.selectedItem,this.cursorPosition,this.textModelVersionId,this._debounceValue,(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(117).preview),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(117).previewMode),(0,D.observableFromEvent)(b.onDidChangeConfiguration,()=>b.getOption(62).mode),this._enabled);this.model.set(W,O)}})));const A=O=>{var x;return O.isUndoing?t.VersionIdChangeReason.Undo:O.isRedoing?t.VersionIdChangeReason.Redo:!((x=this.model.get())===null||x===void 0)&&x.isAcceptingPartially?t.VersionIdChangeReason.AcceptWord:t.VersionIdChangeReason.Other};this._register(b.onDidChangeModelContent(O=>(0,D.transaction)(x=>this.updateObservables(x,A(O))))),this._register(b.onDidChangeCursorPosition(O=>(0,D.transaction)(x=>{var W;this.updateObservables(x,t.VersionIdChangeReason.Other),(O.reason===3||O.source==="api")&&((W=this.model.get())===null||W===void 0||W.stop(x))}))),this._register(b.onDidType(()=>(0,D.transaction)(O=>{var x;this.updateObservables(O,t.VersionIdChangeReason.Other),this._enabled.get()&&((x=this.model.get())===null||x===void 0||x.trigger(O))}))),this._register(this.commandService.onDidExecuteCommand(O=>{new Set([S.CoreEditingCommands.Tab.id,S.CoreEditingCommands.DeleteLeft.id,S.CoreEditingCommands.DeleteRight.id,C.inlineSuggestCommitId,"acceptSelectedSuggestion"]).has(O.commandId)&&b.hasTextFocus()&&this._enabled.get()&&(0,D.transaction)(W=>{var U;(U=this.model.get())===null||U===void 0||U.trigger(W)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.contextKeyService.getContextKeyValue("accessibleViewIsShown")||this.configurationService.getValue("editor.inlineSuggest.keepOnBlur")||b.getOption(62).keepOnBlur||n.InlineSuggestionHintsContentWidget.dropDownVisible||(0,D.transaction)(O=>{var x;(x=this.model.get())===null||x===void 0||x.stop(O)})})),this._register((0,D.autorun)(O=>{var x;const W=(x=this.model.read(O))===null||x===void 0?void 0:x.state.read(O);W?.suggestItem?W.ghostText.lineCount>=2&&this.suggestWidgetAdaptor.forceRenderingAbove():this.suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register((0,y.toDisposable)(()=>{this.suggestWidgetAdaptor.stopForceRenderingAbove()}));let P;this._register((0,D.autorun)(O=>{const x=this.model.read(O),W=x?.state.read(O);if(!x||!W||!W.inlineCompletion){P=void 0;return}if(W.inlineCompletion.semanticId!==P){P=W.inlineCompletion.semanticId;const U=x.textModel.getLineContent(W.ghostText.lineNumber);this.audioCueService.playAudioCue(f.AudioCue.inlineSuggestion).then(()=>{this.editor.getOption(8)&&this.provideScreenReaderUpdate(W.ghostText.renderForScreenReader(U))})}})),this._register(new n.InlineCompletionsHintsWidget(this.editor,this.model,this.instantiationService)),this._register(this.configurationService.onDidChangeConfiguration(O=>{O.affectsConfiguration("accessibility.verbosity.inlineCompletions")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this.configurationService.getValue("accessibility.verbosity.inlineCompletions")})}provideScreenReaderUpdate(b){const w=this.contextKeyService.getContextKeyValue("accessibleViewIsShown"),E=this._keybindingService.lookupKeybinding("editor.action.accessibleView");let k;!w&&E&&this.editor.getOption(147)&&(k=(0,u.localize)(0,null,E.getAriaLabel())),k?(0,L.alert)(b+", "+k):(0,L.alert)(b)}updateObservables(b,w){var E,k;const M=this.editor.getModel();this.textModelVersionId.set((E=M?.getVersionId())!==null&&E!==void 0?E:-1,b,w),this.cursorPosition.set((k=this.editor.getPosition())!==null&&k!==void 0?k:new m.Position(1,1),b)}shouldShowHoverAt(b){var w;const E=(w=this.model.get())===null||w===void 0?void 0:w.ghostText.get();return E?E.parts.some(k=>b.containsPosition(new m.Position(E.lineNumber,k.column))):!1}shouldShowHoverAtViewZone(b){return this.ghostTextWidget.ownsViewZone(b)}};e.InlineCompletionsController=h,h.ID="editor.contrib.inlineCompletionsController",e.InlineCompletionsController=h=g=Ie([ge(1,c.IInstantiationService),ge(2,o.IContextKeyService),ge(3,l.IConfigurationService),ge(4,d.ICommandService),ge(5,_.ILanguageFeatureDebounceService),ge(6,v.ILanguageFeaturesService),ge(7,f.IAudioCueService),ge(8,a.IKeybindingService)],h)}),define(te[916],ie([1,0,40,16,22,214,235,256,133,678,30,28,15]),function($,e,L,I,y,D,S,m,_,v,C,s,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToggleAlwaysShowInlineSuggestionToolbar=e.HideInlineCompletion=e.AcceptInlineCompletion=e.AcceptNextLineOfInlineCompletion=e.AcceptNextWordOfInlineCompletion=e.TriggerInlineSuggestionAction=e.ShowPreviousInlineSuggestionAction=e.ShowNextInlineSuggestionAction=void 0;class n extends I.EditorAction{constructor(){super({id:n.ID,label:v.localize(0,null),alias:"Show Next Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);(h=p?.model.get())===null||h===void 0||h.next()})}}e.ShowNextInlineSuggestionAction=n,n.ID=D.showNextInlineSuggestionActionId;class t extends I.EditorAction{constructor(){super({id:t.ID,label:v.localize(1,null),alias:"Show Previous Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);(h=p?.model.get())===null||h===void 0||h.previous()})}}e.ShowPreviousInlineSuggestionAction=t,t.ID=D.showPreviousInlineSuggestionActionId;class r extends I.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.trigger",label:v.localize(2,null),alias:"Trigger Inline Suggestion",precondition:y.EditorContextKeys.writable})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);(h=p?.model.get())===null||h===void 0||h.triggerExplicitly()})}}e.TriggerInlineSuggestionAction=r;class u extends I.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextWord",label:v.localize(3,null),alias:"Accept Next Word Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1,primary:2065,kbExpr:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible)},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:v.localize(4,null),group:"primary",order:2}]})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);yield(h=p?.model.get())===null||h===void 0?void 0:h.acceptNextWord(p.editor)})}}e.AcceptNextWordOfInlineCompletion=u;class f extends I.EditorAction{constructor(){super({id:"editor.action.inlineSuggest.acceptNextLine",label:v.localize(5,null),alias:"Accept Next Line Of Inline Suggestion",precondition:i.ContextKeyExpr.and(y.EditorContextKeys.writable,S.InlineCompletionContextKeys.inlineSuggestionVisible),kbOpts:{weight:100+1},menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:v.localize(6,null),group:"secondary",order:2}]})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);yield(h=p?.model.get())===null||h===void 0?void 0:h.acceptNextLine(p.editor)})}}e.AcceptNextLineOfInlineCompletion=f;class d extends I.EditorAction{constructor(){super({id:D.inlineSuggestCommitId,label:v.localize(7,null),alias:"Accept Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,menuOpts:[{menuId:C.MenuId.InlineSuggestionToolbar,title:v.localize(8,null),group:"primary",order:1}],kbOpts:{primary:2,weight:200,kbExpr:i.ContextKeyExpr.and(S.InlineCompletionContextKeys.inlineSuggestionVisible,y.EditorContextKeys.tabMovesFocus.toNegated(),S.InlineCompletionContextKeys.inlineSuggestionHasIndentationLessThanTabSize,_.Context.Visible.toNegated(),y.EditorContextKeys.hoverFocused.toNegated())}})}run(a,g){var h;return be(this,void 0,void 0,function*(){const p=m.InlineCompletionsController.get(g);p&&((h=p.model.get())===null||h===void 0||h.accept(p.editor),p.editor.focus())})}}e.AcceptInlineCompletion=d;class l extends I.EditorAction{constructor(){super({id:l.ID,label:v.localize(9,null),alias:"Hide Inline Suggestion",precondition:S.InlineCompletionContextKeys.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}run(a,g){return be(this,void 0,void 0,function*(){const h=m.InlineCompletionsController.get(g);(0,L.transaction)(p=>{var b;(b=h?.model.get())===null||b===void 0||b.stop(p)})})}}e.HideInlineCompletion=l,l.ID="editor.action.inlineSuggest.hide";class o extends C.Action2{constructor(){super({id:o.ID,title:v.localize(10,null),f1:!1,precondition:void 0,menu:[{id:C.MenuId.InlineSuggestionToolbar,group:"secondary",order:10}],toggled:i.ContextKeyExpr.equals("config.editor.inlineSuggest.showToolbar","always")})}run(a,g){return be(this,void 0,void 0,function*(){const h=a.get(s.IConfigurationService),b=h.getValue("editor.inlineSuggest.showToolbar")==="always"?"onHover":"always";h.updateValue("editor.inlineSuggest.showToolbar",b)})}}e.ToggleAlwaysShowInlineSuggestionToolbar=o,o.ID="editor.action.inlineSuggest.toggleAlwaysShowToolbar"}),define(te[917],ie([1,0,7,57,2,40,5,42,99,256,251,116,679,88,8,55,76]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InlineCompletionsHoverParticipant=e.InlineCompletionsHover=void 0;class f{constructor(o,c,a){this.owner=o,this.range=c,this.controller=a}isValidForHoverAnchor(o){return o.type===1&&this.range.startColumn<=o.range.startColumn&&this.range.endColumn>=o.range.endColumn}}e.InlineCompletionsHover=f;let d=class{constructor(o,c,a,g,h,p){this._editor=o,this._languageService=c,this._openerService=a,this.accessibilityService=g,this._instantiationService=h,this._telemetryService=p,this.hoverOrdinal=4}suggestHoverAnchor(o){const c=v.InlineCompletionsController.get(this._editor);if(!c)return null;const a=o.target;if(a.type===8){const g=a.detail;if(c.shouldShowHoverAtViewZone(g.viewZoneId))return new _.HoverForeignElementAnchor(1e3,this,S.Range.fromPositions(this._editor.getModel().validatePosition(g.positionBefore||g.position)),o.event.posx,o.event.posy,!1)}return a.type===7&&c.shouldShowHoverAt(a.range)?new _.HoverForeignElementAnchor(1e3,this,a.range,o.event.posx,o.event.posy,!1):a.type===6&&a.detail.mightBeForeignElement&&c.shouldShowHoverAt(a.range)?new _.HoverForeignElementAnchor(1e3,this,a.range,o.event.posx,o.event.posy,!1):null}computeSync(o,c){if(this._editor.getOption(62).showToolbar==="always")return[];const a=v.InlineCompletionsController.get(this._editor);return a&&a.shouldShowHoverAt(o.range)?[new f(this,o.range,a)]:[]}renderHoverParts(o,c){const a=new y.DisposableStore,g=c[0];this._telemetryService.publicLog2("inlineCompletionHover.shown"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(8)&&this.renderScreenReaderText(o,g,a);const h=g.controller.model.get(),p=this._instantiationService.createInstance(C.InlineSuggestionHintsContentWidget,this._editor,!1,(0,D.constObservable)(null),h.selectedInlineCompletionIndex,h.inlineCompletionsCount,h.selectedInlineCompletion.map(b=>{var w;return(w=b?.inlineCompletion.source.inlineCompletions.commands)!==null&&w!==void 0?w:[]}));return o.fragment.appendChild(p.getDomNode()),h.triggerExplicitly(),a.add(p),a}renderScreenReaderText(o,c,a){const g=L.$,h=g("div.hover-row.markdown-hover"),p=L.append(h,g("div.hover-contents",{["aria-live"]:"assertive"})),b=a.add(new s.MarkdownRenderer({editor:this._editor},this._languageService,this._openerService)),w=E=>{a.add(b.onDidRenderAsync(()=>{p.className="hover-contents code-hover-contents",o.onContentsChanged()}));const k=i.localize(0,null),M=a.add(b.render(new I.MarkdownString().appendText(k).appendCodeblock("text",E)));p.replaceChildren(M.element)};a.add((0,D.autorun)(E=>{var k;const M=(k=c.controller.model.read(E))===null||k===void 0?void 0:k.ghostText.read(E);if(M){const R=this._editor.getModel().getLineContent(M.lineNumber);w(M.renderForScreenReader(R))}else L.reset(p)})),o.fragment.appendChild(h)}};e.InlineCompletionsHoverParticipant=d,e.InlineCompletionsHoverParticipant=d=Ie([ge(1,m.ILanguageService),ge(2,r.IOpenerService),ge(3,n.IAccessibilityService),ge(4,t.IInstantiationService),ge(5,u.ITelemetryService)],d)}),define(te[918],ie([1,0,16,99,916,917,256,30]),function($,e,L,I,y,D,S,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,L.registerEditorContribution)(S.InlineCompletionsController.ID,S.InlineCompletionsController,3),(0,L.registerEditorAction)(y.TriggerInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowNextInlineSuggestionAction),(0,L.registerEditorAction)(y.ShowPreviousInlineSuggestionAction),(0,L.registerEditorAction)(y.AcceptNextWordOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptNextLineOfInlineCompletion),(0,L.registerEditorAction)(y.AcceptInlineCompletion),(0,L.registerEditorAction)(y.HideInlineCompletion),(0,m.registerAction2)(y.ToggleAlwaysShowInlineSuggestionToolbar),I.HoverParticipantRegistry.register(D.InlineCompletionsHoverParticipant)}),define(te[383],ie([1,0,8]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IWorkspaceTrustManagementService=void 0,e.IWorkspaceTrustManagementService=(0,L.createDecorator)("workspaceTrustManagementService")}),define(te[919],ie([1,0,14,26,57,2,17,10,16,39,37,289,115,42,329,99,247,833,710,28,8,55,67,77,383,469]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ShowExcludeOptions=e.DisableHighlightingOfNonBasicAsciiCharactersAction=e.DisableHighlightingOfInvisibleCharactersAction=e.DisableHighlightingOfAmbiguousCharactersAction=e.DisableHighlightingInStringsAction=e.DisableHighlightingInCommentsAction=e.UnicodeHighlighterHoverParticipant=e.UnicodeHighlighter=e.warningIcon=void 0,e.warningIcon=(0,g.registerIcon)("extensions-warning-message",I.Codicon.warning,d.localize(0,null));let p=class extends D.Disposable{constructor(se,J,q,H){super(),this._editor=se,this._editorWorkerService=J,this._workspaceTrustService=q,this._highlighter=null,this._bannerClosed=!1,this._updateState=V=>{if(V&&V.hasMore){if(this._bannerClosed)return;const Z=Math.max(V.ambiguousCharacterCount,V.nonBasicAsciiCharacterCount,V.invisibleCharacterCount);let ee;if(V.nonBasicAsciiCharacterCount>=Z)ee={message:d.localize(1,null),command:new W};else if(V.ambiguousCharacterCount>=Z)ee={message:d.localize(2,null),command:new O};else if(V.invisibleCharacterCount>=Z)ee={message:d.localize(3,null),command:new x};else throw new Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:ee.message,icon:e.warningIcon,actions:[{label:ee.command.shortLabel,href:`command:${ee.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(H.createInstance(f.BannerController,se)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=se.getOption(124),this._register(q.onDidChangeTrust(V=>{this._updateHighlighter()})),this._register(se.onDidChangeConfiguration(V=>{V.hasChanged(124)&&(this._options=se.getOption(124),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;const se=b(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([se.nonBasicASCII,se.ambiguousCharacters,se.invisibleCharacters].every(q=>q===!1))return;const J={nonBasicASCII:se.nonBasicASCII,ambiguousCharacters:se.ambiguousCharacters,invisibleCharacters:se.invisibleCharacters,includeComments:se.includeComments,includeStrings:se.includeStrings,allowedCodePoints:Object.keys(se.allowedCharacters).map(q=>q.codePointAt(0)),allowedLocales:Object.keys(se.allowedLocales).map(q=>q==="_os"?new Intl.NumberFormat().resolvedOptions().locale:q==="_vscode"?S.language:q)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new w(this._editor,J,this._updateState,this._editorWorkerService):this._highlighter=new E(this._editor,J,this._updateState)}getDecorationInfo(se){return this._highlighter?this._highlighter.getDecorationInfo(se):null}};e.UnicodeHighlighter=p,p.ID="editor.contrib.unicodeHighlighter",e.UnicodeHighlighter=p=Ie([ge(1,i.IEditorWorkerService),ge(2,h.IWorkspaceTrustManagementService),ge(3,o.IInstantiationService)],p);function b(ne,se){return{nonBasicASCII:se.nonBasicASCII===v.inUntrustedWorkspace?!ne:se.nonBasicASCII,ambiguousCharacters:se.ambiguousCharacters,invisibleCharacters:se.invisibleCharacters,includeComments:se.includeComments===v.inUntrustedWorkspace?!ne:se.includeComments,includeStrings:se.includeStrings===v.inUntrustedWorkspace?!ne:se.includeStrings,allowedCharacters:se.allowedCharacters,allowedLocales:se.allowedLocales}}let w=class extends D.Disposable{constructor(se,J,q,H){super(),this._editor=se,this._options=J,this._updateState=q,this._editorWorkerService=H,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const se=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(J=>{if(this._model.isDisposed()||this._model.getVersionId()!==se)return;this._updateState(J);const q=[];if(!J.hasMore)for(const H of J.ranges)q.push({range:H,options:N.instance.getDecorationFromOptions(this._options)});this._decorations.set(q)})}getDecorationInfo(se){if(!this._decorations.has(se))return null;const J=this._editor.getModel();if(!(0,t.isModelDecorationVisible)(J,se))return null;const q=J.getValueInRange(se.range);return{reason:T(q,this._options),inComment:(0,t.isModelDecorationInComment)(J,se),inString:(0,t.isModelDecorationInString)(J,se)}}};w=Ie([ge(3,i.IEditorWorkerService)],w);class E extends D.Disposable{constructor(se,J,q){super(),this._editor=se,this._options=J,this._updateState=q,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new L.RunOnceScheduler(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}const se=this._editor.getVisibleRanges(),J=[],q={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const H of se){const V=s.UnicodeTextModelHighlighter.computeUnicodeHighlights(this._model,this._options,H);for(const Z of V.ranges)q.ranges.push(Z);q.ambiguousCharacterCount+=q.ambiguousCharacterCount,q.invisibleCharacterCount+=q.invisibleCharacterCount,q.nonBasicAsciiCharacterCount+=q.nonBasicAsciiCharacterCount,q.hasMore=q.hasMore||V.hasMore}if(!q.hasMore)for(const H of q.ranges)J.push({range:H,options:N.instance.getDecorationFromOptions(this._options)});this._updateState(q),this._decorations.set(J)}getDecorationInfo(se){if(!this._decorations.has(se))return null;const J=this._editor.getModel(),q=J.getValueInRange(se.range);return(0,t.isModelDecorationVisible)(J,se)?{reason:T(q,this._options),inComment:(0,t.isModelDecorationInComment)(J,se),inString:(0,t.isModelDecorationInString)(J,se)}:null}}let k=class{constructor(se,J,q){this._editor=se,this._languageService=J,this._openerService=q,this.hoverOrdinal=5}computeSync(se,J){if(!this._editor.hasModel()||se.type!==1)return[];const q=this._editor.getModel(),H=this._editor.getContribution(p.ID);if(!H)return[];const V=[],Z=new Set;let ee=300;for(const le of J){const ue=H.getDecorationInfo(le);if(!ue)continue;const ce=q.getValueInRange(le.range).codePointAt(0),ae=R(ce);let X;switch(ue.reason.kind){case 0:{(0,m.isBasicASCII)(ue.reason.confusableWith)?X=d.localize(4,null,ae,R(ue.reason.confusableWith.codePointAt(0))):X=d.localize(5,null,ae,R(ue.reason.confusableWith.codePointAt(0)));break}case 1:X=d.localize(6,null,ae);break;case 2:X=d.localize(7,null,ae);break}if(Z.has(X))continue;Z.add(X);const K={codePoint:ce,reason:ue.reason,inComment:ue.inComment,inString:ue.inString},z=d.localize(8,null),Q=`command:${U.ID}?${encodeURIComponent(JSON.stringify(K))}`,j=new y.MarkdownString("",!0).appendMarkdown(X).appendText(" ").appendLink(Q,z);V.push(new u.MarkdownHover(this,le.range,[j],!1,ee++))}return V}renderHoverParts(se,J){return(0,u.renderMarkdownHovers)(se,J,this._editor,this._languageService,this._openerService)}};e.UnicodeHighlighterHoverParticipant=k,e.UnicodeHighlighterHoverParticipant=k=Ie([ge(1,n.ILanguageService),ge(2,c.IOpenerService)],k);function M(ne){return`U+${ne.toString(16).padStart(4,"0")}`}function R(ne){let se=`\`${M(ne)}\``;return m.InvisibleCharacters.isInvisibleCharacter(ne)||(se+=` "${`${B(ne)}`}"`),se}function B(ne){return ne===96?"`` ` ``":"`"+String.fromCodePoint(ne)+"`"}function T(ne,se){return s.UnicodeTextModelHighlighter.computeUnicodeHighlightReason(ne,se)}class N{constructor(){this.map=new Map}getDecorationFromOptions(se){return this.getDecoration(!se.includeComments,!se.includeStrings)}getDecoration(se,J){const q=`${se}${J}`;let H=this.map.get(q);return H||(H=C.ModelDecorationOptions.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:se,hideInStringTokens:J}),this.map.set(q,H)),H}}N.instance=new N;class A extends _.EditorAction{constructor(){super({id:O.ID,label:d.localize(10,null),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=d.localize(9,null)}run(se,J,q){return be(this,void 0,void 0,function*(){const H=se?.get(l.IConfigurationService);H&&this.runAction(H)})}runAction(se){return be(this,void 0,void 0,function*(){yield se.updateValue(v.unicodeHighlightConfigKeys.includeComments,!1,2)})}}e.DisableHighlightingInCommentsAction=A;class P extends _.EditorAction{constructor(){super({id:O.ID,label:d.localize(12,null),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=d.localize(11,null)}run(se,J,q){return be(this,void 0,void 0,function*(){const H=se?.get(l.IConfigurationService);H&&this.runAction(H)})}runAction(se){return be(this,void 0,void 0,function*(){yield se.updateValue(v.unicodeHighlightConfigKeys.includeStrings,!1,2)})}}e.DisableHighlightingInStringsAction=P;class O extends _.EditorAction{constructor(){super({id:O.ID,label:d.localize(14,null),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=d.localize(13,null)}run(se,J,q){return be(this,void 0,void 0,function*(){const H=se?.get(l.IConfigurationService);H&&this.runAction(H)})}runAction(se){return be(this,void 0,void 0,function*(){yield se.updateValue(v.unicodeHighlightConfigKeys.ambiguousCharacters,!1,2)})}}e.DisableHighlightingOfAmbiguousCharactersAction=O,O.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class x extends _.EditorAction{constructor(){super({id:x.ID,label:d.localize(16,null),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=d.localize(15,null)}run(se,J,q){return be(this,void 0,void 0,function*(){const H=se?.get(l.IConfigurationService);H&&this.runAction(H)})}runAction(se){return be(this,void 0,void 0,function*(){yield se.updateValue(v.unicodeHighlightConfigKeys.invisibleCharacters,!1,2)})}}e.DisableHighlightingOfInvisibleCharactersAction=x,x.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class W extends _.EditorAction{constructor(){super({id:W.ID,label:d.localize(18,null),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=d.localize(17,null)}run(se,J,q){return be(this,void 0,void 0,function*(){const H=se?.get(l.IConfigurationService);H&&this.runAction(H)})}runAction(se){return be(this,void 0,void 0,function*(){yield se.updateValue(v.unicodeHighlightConfigKeys.nonBasicASCII,!1,2)})}}e.DisableHighlightingOfNonBasicAsciiCharactersAction=W,W.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class U extends _.EditorAction{constructor(){super({id:U.ID,label:d.localize(19,null),alias:"Show Exclude Options",precondition:void 0})}run(se,J,q){return be(this,void 0,void 0,function*(){const{codePoint:H,reason:V,inString:Z,inComment:ee}=q,le=String.fromCodePoint(H),ue=se.get(a.IQuickInputService),de=se.get(l.IConfigurationService);function ce(K){return m.InvisibleCharacters.isInvisibleCharacter(K)?d.localize(20,null,M(K)):d.localize(21,null,`${M(K)} "${le}"`)}const ae=[];if(V.kind===0)for(const K of V.notAmbiguousInLocales)ae.push({label:d.localize(22,null,K),run:()=>be(this,void 0,void 0,function*(){G(de,[K])})});if(ae.push({label:ce(H),run:()=>F(de,[H])}),ee){const K=new A;ae.push({label:K.label,run:()=>be(this,void 0,void 0,function*(){return K.runAction(de)})})}else if(Z){const K=new P;ae.push({label:K.label,run:()=>be(this,void 0,void 0,function*(){return K.runAction(de)})})}if(V.kind===0){const K=new O;ae.push({label:K.label,run:()=>be(this,void 0,void 0,function*(){return K.runAction(de)})})}else if(V.kind===1){const K=new x;ae.push({label:K.label,run:()=>be(this,void 0,void 0,function*(){return K.runAction(de)})})}else if(V.kind===2){const K=new W;ae.push({label:K.label,run:()=>be(this,void 0,void 0,function*(){return K.runAction(de)})})}else Y(V);const X=yield ue.pick(ae,{title:d.localize(23,null)});X&&(yield X.run())})}}e.ShowExcludeOptions=U,U.ID="editor.action.unicodeHighlight.showExcludeOptions";function F(ne,se){return be(this,void 0,void 0,function*(){const J=ne.getValue(v.unicodeHighlightConfigKeys.allowedCharacters);let q;typeof J=="object"&&J?q=J:q={};for(const H of se)q[String.fromCodePoint(H)]=!0;yield ne.updateValue(v.unicodeHighlightConfigKeys.allowedCharacters,q,2)})}function G(ne,se){var J;return be(this,void 0,void 0,function*(){const q=(J=ne.inspect(v.unicodeHighlightConfigKeys.allowedLocales).user)===null||J===void 0?void 0:J.value;let H;typeof q=="object"&&q?H=Object.assign({},q):H={};for(const V of se)H[V]=!0;yield ne.updateValue(v.unicodeHighlightConfigKeys.allowedLocales,H,2)})}function Y(ne){throw new Error(`Unexpected value: ${ne}`)}(0,_.registerEditorAction)(O),(0,_.registerEditorAction)(x),(0,_.registerEditorAction)(W),(0,_.registerEditorAction)(U),(0,_.registerEditorContribution)(p.ID,p,1),r.HoverParticipantRegistry.register(k)}),define(te[920],ie([1,0,188,192,874,795,875,796,797,798,877,879,902,886,799,909,800,880,910,911,369,253,803,804,770,918,254,255,375,373,376,806,904,887,807,808,890,891,809,896,832,857,858,859,811,194,906,382,812,813,784,919,814,897,357,815,810,93,171]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),define(te[257],ie([1,0,10,7,44,6,118,2,17,98,21,130,240,71,12,5,50,65,185,25,28,349,15,157,8,761,34,340,117,341,762,158,48,85,76,162,132,93,46,33,66,383,58,764,779,866,47,769,115,241,42,852,233,871,868,364,131,763,88,30,790,765,102,758,232,759,186,190,94,768,55,67,89,783,156,766,147,9,238,32,363,342,908,74,853,749]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M,R,B,T,N,A,P,O,x,W,U,F,G,Y,ne,se,J,q,H,V,Z,ee,le,ue,de,ce,ae,X,K,z,Q,j,re,oe,he,me,pe,ve,we,Le,Ee,Ae,Re,Be,ye,De,fe,Ce,Me){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandaloneServices=e.updateConfigurationService=e.StandaloneConfigurationService=e.StandaloneKeybindingService=e.StandaloneCommandService=e.StandaloneNotificationService=void 0;class Pe{constructor(Ne){this.disposed=!1,this.model=Ne,this._onWillDispose=new D.Emitter}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Se=class{constructor(Ne){this.modelService=Ne}createModelReference(Ne){const xe=this.modelService.getModel(Ne);return xe?Promise.resolve(new m.ImmortalReference(new Pe(xe))):Promise.reject(new Error("Model not found"))}};Se=Ie([ge(0,u.IModelService)],Se);class _e{show(){return _e.NULL_PROGRESS_RUNNER}showWhile(Ne,xe){return be(this,void 0,void 0,function*(){yield Ne})}}_e.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class ke{withProgress(Ne,xe,ze){return xe({report:()=>{}})}}class Oe{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}}class We{confirm(Ne){return be(this,void 0,void 0,function*(){return{confirmed:this.doConfirm(Ne.message,Ne.detail),checkboxChecked:!1}})}doConfirm(Ne,xe){let ze=Ne;return xe&&(ze=ze+` + +`+xe),window.confirm(ze)}prompt(Ne){var xe,ze;return be(this,void 0,void 0,function*(){let Ke;if(this.doConfirm(Ne.message,Ne.detail)){const Qe=[...(xe=Ne.buttons)!==null&&xe!==void 0?xe:[]];Ne.cancelButton&&typeof Ne.cancelButton!="string"&&typeof Ne.cancelButton!="boolean"&&Qe.push(Ne.cancelButton),Ke=yield(ze=Qe[0])===null||ze===void 0?void 0:ze.run({checkboxChecked:!1})}return{result:Ke}})}error(Ne,xe){return be(this,void 0,void 0,function*(){yield this.prompt({type:v.default.Error,message:Ne,detail:xe})})}}class qe{info(Ne){return this.notify({severity:v.default.Info,message:Ne})}warn(Ne){return this.notify({severity:v.default.Warning,message:Ne})}error(Ne){return this.notify({severity:v.default.Error,message:Ne})}notify(Ne){switch(Ne.severity){case v.default.Error:console.error(Ne.message);break;case v.default.Warning:console.warn(Ne.message);break;default:console.log(Ne.message);break}return qe.NO_OP}prompt(Ne,xe,ze,Ke){return qe.NO_OP}status(Ne,xe){return m.Disposable.None}}e.StandaloneNotificationService=qe,qe.NO_OP=new B.NoOpNotification;let Ge=class{constructor(Ne){this._onWillExecuteCommand=new D.Emitter,this._onDidExecuteCommand=new D.Emitter,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=Ne}executeCommand(Ne,...xe){const ze=l.CommandsRegistry.getCommand(Ne);if(!ze)return Promise.reject(new Error(`command '${Ne}' not found`));try{this._onWillExecuteCommand.fire({commandId:Ne,args:xe});const Ke=this._instantiationService.invokeFunction.apply(this._instantiationService,[ze.handler,...xe]);return this._onDidExecuteCommand.fire({commandId:Ne,args:xe}),Promise.resolve(Ke)}catch(Ke){return Promise.reject(Ke)}}};e.StandaloneCommandService=Ge,e.StandaloneCommandService=Ge=Ie([ge(0,h.IInstantiationService)],Ge);let je=class extends p.AbstractKeybindingService{constructor(Ne,xe,ze,Ke,Xe,Qe){super(Ne,xe,ze,Ke,Xe),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const rt=lt=>{const wt=new m.DisposableStore;wt.add(I.addDisposableListener(lt,I.EventType.KEY_DOWN,Dt=>{const Lt=new y.StandardKeyboardEvent(Dt);this._dispatch(Lt,Lt.target)&&(Lt.preventDefault(),Lt.stopPropagation())})),wt.add(I.addDisposableListener(lt,I.EventType.KEY_UP,Dt=>{const Lt=new y.StandardKeyboardEvent(Dt);this._singleModifierDispatch(Lt,Lt.target)&&Lt.preventDefault()})),this._domNodeListeners.push(new it(lt,wt))},Je=lt=>{for(let wt=0;wt{lt.getOption(61)||rt(lt.getContainerDomNode())},tt=lt=>{lt.getOption(61)||Je(lt.getContainerDomNode())};this._register(Qe.onCodeEditorAdd(et)),this._register(Qe.onCodeEditorRemove(tt)),Qe.listCodeEditors().forEach(et);const ct=lt=>{rt(lt.getContainerDomNode())},St=lt=>{Je(lt.getContainerDomNode())};this._register(Qe.onDiffEditorAdd(ct)),this._register(Qe.onDiffEditorRemove(St)),Qe.listDiffEditors().forEach(ct)}addDynamicKeybinding(Ne,xe,ze,Ke){return(0,m.combinedDisposable)(l.CommandsRegistry.registerCommand(Ne,ze),this.addDynamicKeybindings([{keybinding:xe,command:Ne,when:Ke}]))}addDynamicKeybindings(Ne){const xe=Ne.map(ze=>{var Ke;return{keybinding:(0,S.decodeKeybinding)(ze.keybinding,_.OS),command:(Ke=ze.command)!==null&&Ke!==void 0?Ke:null,commandArgs:ze.commandArgs,when:ze.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(xe),this.updateResolver(),(0,m.toDisposable)(()=>{for(let ze=0;zethis._log(ze))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(Ne,xe){const ze=[];let Ke=0;for(const Xe of Ne){const Qe=Xe.when||void 0,rt=Xe.keybinding;if(!rt)ze[Ke++]=new k.ResolvedKeybindingItem(void 0,Xe.command,Xe.commandArgs,Qe,xe,null,!1);else{const Je=M.USLayoutResolvedKeybinding.resolveKeybinding(rt,_.OS);for(const et of Je)ze[Ke++]=new k.ResolvedKeybindingItem(et,Xe.command,Xe.commandArgs,Qe,xe,null,!1)}}return ze}resolveKeyboardEvent(Ne){const xe=new S.KeyCodeChord(Ne.ctrlKey,Ne.shiftKey,Ne.altKey,Ne.metaKey,Ne.keyCode);return new M.USLayoutResolvedKeybinding([xe],_.OS)}};e.StandaloneKeybindingService=je,e.StandaloneKeybindingService=je=Ie([ge(0,a.IContextKeyService),ge(1,l.ICommandService),ge(2,N.ITelemetryService),ge(3,B.INotificationService),ge(4,U.ILogService),ge(5,W.ICodeEditorService)],je);class it extends m.Disposable{constructor(Ne,xe){super(),this.domNode=Ne,this._register(xe)}}function Ze(Ue){return Ue&&typeof Ue=="object"&&(!Ue.overrideIdentifier||typeof Ue.overrideIdentifier=="string")&&(!Ue.resource||Ue.resource instanceof C.URI)}class dt{constructor(){this._onDidChangeConfiguration=new D.Emitter,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const Ne=new Be.DefaultConfiguration;this._configuration=new c.Configuration(Ne.reload(),new c.ConfigurationModel,new c.ConfigurationModel,new c.ConfigurationModel),Ne.dispose()}getValue(Ne,xe){const ze=typeof Ne=="string"?Ne:void 0,Ke=Ze(Ne)?Ne:Ze(xe)?xe:{};return this._configuration.getValue(ze,Ke,void 0)}updateValues(Ne){const xe={data:this._configuration.toData()},ze=[];for(const Ke of Ne){const[Xe,Qe]=Ke;this.getValue(Xe)!==Qe&&(this._configuration.updateValue(Xe,Qe),ze.push(Xe))}if(ze.length>0){const Ke=new c.ConfigurationChangeEvent({keys:ze,overrides:[]},xe,this._configuration);Ke.source=8,Ke.sourceConfig=null,this._onDidChangeConfiguration.fire(Ke)}return Promise.resolve()}updateValue(Ne,xe,ze,Ke){return this.updateValues([[Ne,xe]])}inspect(Ne,xe={}){return this._configuration.inspect(Ne,xe,void 0)}}e.StandaloneConfigurationService=dt;let at=class{constructor(Ne,xe,ze){this.configurationService=Ne,this.modelService=xe,this.languageService=ze,this._onDidChangeConfiguration=new D.Emitter,this.configurationService.onDidChangeConfiguration(Ke=>{this._onDidChangeConfiguration.fire({affectedKeys:Ke.affectedKeys,affectsConfiguration:(Xe,Qe)=>Ke.affectsConfiguration(Qe)})})}getValue(Ne,xe,ze){const Ke=t.Position.isIPosition(xe)?xe:null,Xe=Ke?typeof ze=="string"?ze:void 0:typeof xe=="string"?xe:void 0,Qe=Ne?this.getLanguage(Ne,Ke):void 0;return typeof Xe>"u"?this.configurationService.getValue({resource:Ne,overrideIdentifier:Qe}):this.configurationService.getValue(Xe,{resource:Ne,overrideIdentifier:Qe})}getLanguage(Ne,xe){const ze=this.modelService.getModel(Ne);return ze?xe?ze.getLanguageIdAtPosition(xe.lineNumber,xe.column):ze.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(Ne)}};at=Ie([ge(0,o.IConfigurationService),ge(1,u.IModelService),ge(2,Z.ILanguageService)],at);let nt=class{constructor(Ne){this.configurationService=Ne}getEOL(Ne,xe){const ze=this.configurationService.getValue("files.eol",{overrideIdentifier:xe,resource:Ne});return ze&&typeof ze=="string"&&ze!=="auto"?ze:_.isLinux||_.isMacintosh?` +`:`\r +`}};nt=Ie([ge(0,o.IConfigurationService)],nt);class Ct{publicLog2(){}}class ht{constructor(){const Ne=C.URI.from({scheme:ht.SCHEME,authority:"model",path:"/"});this.workspace={id:A.STANDALONE_EDITOR_WORKSPACE_ID,folders:[new A.WorkspaceFolder({uri:Ne,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(Ne){return Ne&&Ne.scheme===ht.SCHEME?this.workspace.folders[0]:null}}ht.SCHEME="inmemory";function bt(Ue,Ne,xe){if(!Ne||!(Ue instanceof dt))return;const ze=[];Object.keys(Ne).forEach(Ke=>{(0,i.isEditorConfigurationKey)(Ke)&&ze.push([`editor.${Ke}`,Ne[Ke]]),xe&&(0,i.isDiffEditorConfigurationKey)(Ke)&&ze.push([`diffEditor.${Ke}`,Ne[Ke]])}),ze.length>0&&Ue.updateValues(ze)}e.updateConfigurationService=bt;let ft=class{constructor(Ne){this._modelService=Ne}hasPreviewHandler(){return!1}apply(Ne,xe){return be(this,void 0,void 0,function*(){const ze=Array.isArray(Ne)?Ne:s.ResourceEdit.convert(Ne),Ke=new Map;for(const rt of ze){if(!(rt instanceof s.ResourceTextEdit))throw new Error("bad edit - only text edits are supported");const Je=this._modelService.getModel(rt.resource);if(!Je)throw new Error("bad edit - model not found");if(typeof rt.versionId=="number"&&Je.getVersionId()!==rt.versionId)throw new Error("bad state - model changed in the meantime");let et=Ke.get(Je);et||(et=[],Ke.set(Je,et)),et.push(n.EditOperation.replaceMove(r.Range.lift(rt.textEdit.range),rt.textEdit.text))}let Xe=0,Qe=0;for(const[rt,Je]of Ke)rt.pushStackElement(),rt.pushEditOperations([],Je,()=>[]),rt.pushStackElement(),Qe+=1,Xe+=Je.length;return{ariaSummary:L.format(O.StandaloneServicesNLS.bulkEditServiceSummary,Xe,Qe),isApplied:Xe>0}})}};ft=Ie([ge(0,u.IModelService)],ft);class _t{getUriLabel(Ne,xe){return Ne.scheme==="file"?Ne.fsPath:Ne.path}getUriBasenameLabel(Ne){return(0,x.basename)(Ne)}}let He=class extends Y.ContextViewService{constructor(Ne,xe){super(Ne),this._codeEditorService=xe}showContextView(Ne,xe,ze){if(!xe){const Ke=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();Ke&&(xe=Ke.getContainerDomNode())}return super.showContextView(Ne,xe,ze)}};He=Ie([ge(0,P.ILayoutService),ge(1,W.ICodeEditorService)],He);class Te{constructor(){this._neverEmitter=new D.Emitter,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class Fe extends ne.LanguageService{constructor(){super()}}class Ve extends De.LogService{constructor(){super(new U.ConsoleLogger)}}let Ye=class extends se.ContextMenuService{constructor(Ne,xe,ze,Ke,Xe,Qe){super(Ne,xe,ze,Ke,Xe,Qe),this.configure({blockMouse:!1})}};Ye=Ie([ge(0,N.ITelemetryService),ge(1,B.INotificationService),ge(2,G.IContextViewService),ge(3,b.IKeybindingService),ge(4,z.IMenuService),ge(5,a.IContextKeyService)],Ye);class st{playAudioCue(Ne,xe){return be(this,void 0,void 0,function*(){})}}(0,J.registerSingleton)(o.IConfigurationService,dt,0),(0,J.registerSingleton)(d.ITextResourceConfigurationService,at,0),(0,J.registerSingleton)(d.ITextResourcePropertiesService,nt,0),(0,J.registerSingleton)(A.IWorkspaceContextService,ht,0),(0,J.registerSingleton)(R.ILabelService,_t,0),(0,J.registerSingleton)(N.ITelemetryService,Ct,0),(0,J.registerSingleton)(g.IDialogService,We,0),(0,J.registerSingleton)(Me.IEnvironmentService,Oe,0),(0,J.registerSingleton)(B.INotificationService,qe,0),(0,J.registerSingleton)(we.IMarkerService,Le.MarkerService,0),(0,J.registerSingleton)(Z.ILanguageService,Fe,0),(0,J.registerSingleton)(ae.IStandaloneThemeService,ce.StandaloneThemeService,0),(0,J.registerSingleton)(U.ILogService,Ve,0),(0,J.registerSingleton)(u.IModelService,ue.ModelService,0),(0,J.registerSingleton)(le.IMarkerDecorationsService,ee.MarkerDecorationsService,0),(0,J.registerSingleton)(a.IContextKeyService,oe.ContextKeyService,0),(0,J.registerSingleton)(T.IProgressService,ke,0),(0,J.registerSingleton)(T.IEditorProgressService,_e,0),(0,J.registerSingleton)(Re.IStorageService,Re.InMemoryStorageService,0),(0,J.registerSingleton)(H.IEditorWorkerService,V.EditorWorkerService,0),(0,J.registerSingleton)(s.IBulkEditService,ft,0),(0,J.registerSingleton)(F.IWorkspaceTrustManagementService,Te,0),(0,J.registerSingleton)(f.ITextModelService,Se,0),(0,J.registerSingleton)(K.IAccessibilityService,X.AccessibilityService,0),(0,J.registerSingleton)(ve.IListService,ve.ListService,0),(0,J.registerSingleton)(l.ICommandService,Ge,0),(0,J.registerSingleton)(b.IKeybindingService,je,0),(0,J.registerSingleton)(Ae.IQuickInputService,de.StandaloneQuickInputService,0),(0,J.registerSingleton)(G.IContextViewService,He,0),(0,J.registerSingleton)(Ee.IOpenerService,q.OpenerService,0),(0,J.registerSingleton)(re.IClipboardService,j.BrowserClipboardService,0),(0,J.registerSingleton)(G.IContextMenuService,Ye,0),(0,J.registerSingleton)(z.IMenuService,Q.MenuService,0),(0,J.registerSingleton)(ye.IAudioCueService,st,0);var ot;(function(Ue){const Ne=new pe.ServiceCollection;for(const[Je,et]of(0,J.getSingletonServiceDescriptors)())Ne.set(Je,et);const xe=new me.InstantiationService(Ne,!0);Ne.set(h.IInstantiationService,xe);function ze(Je){Ke||Qe({});const et=Ne.get(Je);if(!et)throw new Error("Missing service "+Je);return et instanceof he.SyncDescriptor?xe.invokeFunction(tt=>tt.get(Je)):et}Ue.get=ze;let Ke=!1;const Xe=new D.Emitter;function Qe(Je){if(Ke)return xe;Ke=!0;for(const[tt,ct]of(0,J.getSingletonServiceDescriptors)())Ne.get(tt)||Ne.set(tt,ct);for(const tt in Je)if(Je.hasOwnProperty(tt)){const ct=(0,h.createDecorator)(tt);Ne.get(ct)instanceof he.SyncDescriptor&&Ne.set(ct,Je[tt])}const et=(0,fe.getEditorFeatures)();for(const tt of et)try{xe.createInstance(tt)}catch(ct){(0,Ce.onUnexpectedError)(ct)}return Xe.fire(),xe}Ue.initialize=Qe;function rt(Je){if(Ke)return Je();const et=new m.DisposableStore,tt=et.add(Xe.event(()=>{tt.dispose(),et.add(Je())}));return et}Ue.withServices=rt})(ot||(e.StandaloneServices=ot={}))}),define(te[921],ie([1,0,45,2,33,192,280,257,131,30,25,28,15,58,8,34,48,23,88,93,102,85,50,42,363,75,32,18,366,156]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTextModel=e.StandaloneDiffEditor2=e.StandaloneEditor=e.StandaloneCodeEditor=void 0;let M=0,R=!1;function B(x){if(!x){if(R)return;R=!0}L.setARIAContainer(x||document.body)}let T=class extends D.CodeEditorWidget{constructor(W,U,F,G,Y,ne,se,J,q,H,V,Z){const ee=Object.assign({},U);ee.ariaLabel=ee.ariaLabel||l.StandaloneCodeEditorNLS.editorViewAccessibleLabel,ee.ariaLabel=ee.ariaLabel+";"+l.StandaloneCodeEditorNLS.accessibilityHelpMessage,super(W,ee,{},F,G,Y,ne,J,q,H,V,Z),se instanceof m.StandaloneKeybindingService?this._standaloneKeybindingService=se:this._standaloneKeybindingService=null,B(ee.ariaContainerElement)}addCommand(W,U,F){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const G="DYNAMIC_"+ ++M,Y=i.ContextKeyExpr.deserialize(F);return this._standaloneKeybindingService.addDynamicKeybinding(G,W,U,Y),G}createContextKey(W,U){return this._contextKeyService.createKey(W,U)}addAction(W){if(typeof W.id!="string"||typeof W.label!="string"||typeof W.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),I.Disposable.None;const U=W.id,F=W.label,G=i.ContextKeyExpr.and(i.ContextKeyExpr.equals("editorId",this.getId()),i.ContextKeyExpr.deserialize(W.precondition)),Y=W.keybindings,ne=i.ContextKeyExpr.and(G,i.ContextKeyExpr.deserialize(W.keybindingContext)),se=W.contextMenuGroupId||null,J=W.contextMenuOrder||0,q=(ee,...le)=>Promise.resolve(W.run(this,...le)),H=new I.DisposableStore,V=this.getId()+":"+U;if(H.add(C.CommandsRegistry.registerCommand(V,q)),se){const ee={command:{id:V,title:F},when:G,group:se,order:J};H.add(v.MenuRegistry.appendMenuItem(v.MenuId.EditorContext,ee))}if(Array.isArray(Y))for(const ee of Y)H.add(this._standaloneKeybindingService.addDynamicKeybinding(V,ee,q,ne));const Z=new S.InternalEditorAction(V,F,F,G,(...ee)=>Promise.resolve(W.run(this,...ee)),this._contextKeyService);return this._actions.set(U,Z),H.add((0,I.toDisposable)(()=>{this._actions.delete(U)})),H}_triggerCommand(W,U){if(this._codeEditorService instanceof h.StandaloneCodeEditorService)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(W,U)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(W,U)}};e.StandaloneCodeEditor=T,e.StandaloneCodeEditor=T=Ie([ge(2,t.IInstantiationService),ge(3,y.ICodeEditorService),ge(4,C.ICommandService),ge(5,i.IContextKeyService),ge(6,r.IKeybindingService),ge(7,f.IThemeService),ge(8,u.INotificationService),ge(9,d.IAccessibilityService),ge(10,b.ILanguageConfigurationService),ge(11,w.ILanguageFeaturesService)],T);let N=class extends T{constructor(W,U,F,G,Y,ne,se,J,q,H,V,Z,ee,le,ue){const de=Object.assign({},U);(0,m.updateConfigurationService)(H,de,!1);const ce=J.registerEditorContainer(W);typeof de.theme=="string"&&J.setTheme(de.theme),typeof de.autoDetectHighContrast<"u"&&J.setAutoDetectHighContrast(!!de.autoDetectHighContrast);const ae=de.model;delete de.model,super(W,de,F,G,Y,ne,se,J,q,V,le,ue),this._configurationService=H,this._standaloneThemeService=J,this._register(ce);let X;if(typeof ae>"u"){const K=ee.getLanguageIdByMimeType(de.language)||de.language||p.PLAINTEXT_LANGUAGE_ID;X=P(Z,ee,de.value||"",K,void 0),this._ownsModel=!0}else X=ae,this._ownsModel=!1;if(this._attachModel(X),X){const K={oldModelUrl:null,newModelUrl:X.uri};this._onDidChangeModel.fire(K)}}dispose(){super.dispose()}updateOptions(W){(0,m.updateConfigurationService)(this._configurationService,W,!1),typeof W.theme=="string"&&this._standaloneThemeService.setTheme(W.theme),typeof W.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!W.autoDetectHighContrast),super.updateOptions(W)}_postDetachModelCleanup(W){super._postDetachModelCleanup(W),W&&this._ownsModel&&(W.dispose(),this._ownsModel=!1)}};e.StandaloneEditor=N,e.StandaloneEditor=N=Ie([ge(2,t.IInstantiationService),ge(3,y.ICodeEditorService),ge(4,C.ICommandService),ge(5,i.IContextKeyService),ge(6,r.IKeybindingService),ge(7,_.IStandaloneThemeService),ge(8,u.INotificationService),ge(9,s.IConfigurationService),ge(10,d.IAccessibilityService),ge(11,a.IModelService),ge(12,g.ILanguageService),ge(13,b.ILanguageConfigurationService),ge(14,w.ILanguageFeaturesService)],N);let A=class extends E.DiffEditorWidget{constructor(W,U,F,G,Y,ne,se,J,q,H,V,Z){const ee=Object.assign({},U);(0,m.updateConfigurationService)(J,ee,!0);const le=ne.registerEditorContainer(W);typeof ee.theme=="string"&&ne.setTheme(ee.theme),typeof ee.autoDetectHighContrast<"u"&&ne.setAutoDetectHighContrast(!!ee.autoDetectHighContrast),super(W,ee,{},G,F,Y,Z,H),this._configurationService=J,this._standaloneThemeService=ne,this._register(le)}dispose(){super.dispose()}updateOptions(W){(0,m.updateConfigurationService)(this._configurationService,W,!0),typeof W.theme=="string"&&this._standaloneThemeService.setTheme(W.theme),typeof W.autoDetectHighContrast<"u"&&this._standaloneThemeService.setAutoDetectHighContrast(!!W.autoDetectHighContrast),super.updateOptions(W)}_createInnerEditor(W,U,F){return W.createInstance(T,U,F)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(W,U,F){return this.getModifiedEditor().addCommand(W,U,F)}createContextKey(W,U){return this.getModifiedEditor().createContextKey(W,U)}addAction(W){return this.getModifiedEditor().addAction(W)}};e.StandaloneDiffEditor2=A,e.StandaloneDiffEditor2=A=Ie([ge(2,t.IInstantiationService),ge(3,i.IContextKeyService),ge(4,y.ICodeEditorService),ge(5,_.IStandaloneThemeService),ge(6,u.INotificationService),ge(7,s.IConfigurationService),ge(8,n.IContextMenuService),ge(9,c.IEditorProgressService),ge(10,o.IClipboardService),ge(11,k.IAudioCueService)],A);function P(x,W,U,F,G){if(U=U||"",!F){const Y=U.indexOf(` +`);let ne=U;return Y!==-1&&(ne=U.substring(0,Y)),O(x,U,W.createByFilepathOrFirstLine(G||null,ne),G)}return O(x,U,W.createById(F),G)}e.createTextModel=P;function O(x,W,U,F){return x.createModel(W,U,F)}}),define(te[922],ie([1,0,2,10,21,328,16,33,774,39,143,231,174,29,42,32,75,154,49,50,209,753,921,257,131,30,25,15,34,94,55,475]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r,u,f,d,l,o,c,a,g,h,p,b,w,E,k,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoEditorAPI=e.registerEditorOpener=e.registerLinkOpener=e.registerCommand=e.remeasureFonts=e.setTheme=e.defineTheme=e.tokenize=e.colorizeModelLine=e.colorize=e.colorizeElement=e.createWebWorker=e.onDidChangeModelLanguage=e.onWillDisposeModel=e.onDidCreateModel=e.getModels=e.getModel=e.onDidChangeMarkers=e.getModelMarkers=e.removeAllMarkers=e.setModelMarkers=e.setModelLanguage=e.createModel=e.addKeybindingRules=e.addKeybindingRule=e.addEditorAction=e.addCommand=e.createDiffEditor=e.getDiffEditors=e.getEditors=e.onDidCreateDiffEditor=e.onDidCreateEditor=e.create=void 0;function R(me,pe,ve){return g.StandaloneServices.initialize(ve||{}).createInstance(a.StandaloneEditor,me,pe)}e.create=R;function B(me){return g.StandaloneServices.get(m.ICodeEditorService).onCodeEditorAdd(ve=>{me(ve)})}e.onDidCreateEditor=B;function T(me){return g.StandaloneServices.get(m.ICodeEditorService).onDiffEditorAdd(ve=>{me(ve)})}e.onDidCreateDiffEditor=T;function N(){return g.StandaloneServices.get(m.ICodeEditorService).listCodeEditors()}e.getEditors=N;function A(){return g.StandaloneServices.get(m.ICodeEditorService).listDiffEditors()}e.getDiffEditors=A;function P(me,pe,ve){return g.StandaloneServices.initialize(ve||{}).createInstance(a.StandaloneDiffEditor2,me,pe)}e.createDiffEditor=P;function O(me){if(typeof me.id!="string"||typeof me.run!="function")throw new Error("Invalid command descriptor, `id` and `run` are required properties!");return b.CommandsRegistry.registerCommand(me.id,me.run)}e.addCommand=O;function x(me){if(typeof me.id!="string"||typeof me.label!="string"||typeof me.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");const pe=w.ContextKeyExpr.deserialize(me.precondition),ve=(Le,...Ee)=>S.EditorCommand.runEditorCommand(Le,Ee,pe,(Ae,Re,Be)=>Promise.resolve(me.run(Re,...Be))),we=new L.DisposableStore;if(we.add(b.CommandsRegistry.registerCommand(me.id,ve)),me.contextMenuGroupId){const Le={command:{id:me.id,title:me.label},when:pe,group:me.contextMenuGroupId,order:me.contextMenuOrder||0};we.add(p.MenuRegistry.appendMenuItem(p.MenuId.EditorContext,Le))}if(Array.isArray(me.keybindings)){const Le=g.StandaloneServices.get(E.IKeybindingService);if(!(Le instanceof g.StandaloneKeybindingService))console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService");else{const Ee=w.ContextKeyExpr.and(pe,w.ContextKeyExpr.deserialize(me.keybindingContext));we.add(Le.addDynamicKeybindings(me.keybindings.map(Ae=>({keybinding:Ae,command:me.id,when:Ee}))))}}return we}e.addEditorAction=x;function W(me){return U([me])}e.addKeybindingRule=W;function U(me){const pe=g.StandaloneServices.get(E.IKeybindingService);return pe instanceof g.StandaloneKeybindingService?pe.addDynamicKeybindings(me.map(ve=>({keybinding:ve.keybinding,command:ve.command,commandArgs:ve.commandArgs,when:w.ContextKeyExpr.deserialize(ve.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),L.Disposable.None)}e.addKeybindingRules=U;function F(me,pe,ve){const we=g.StandaloneServices.get(t.ILanguageService),Le=we.getLanguageIdByMimeType(pe)||pe;return(0,a.createTextModel)(g.StandaloneServices.get(l.IModelService),we,me,Le,ve)}e.createModel=F;function G(me,pe){const ve=g.StandaloneServices.get(t.ILanguageService),we=ve.getLanguageIdByMimeType(pe)||pe||u.PLAINTEXT_LANGUAGE_ID;me.setLanguage(ve.createById(we))}e.setModelLanguage=G;function Y(me,pe,ve){me&&g.StandaloneServices.get(k.IMarkerService).changeOne(pe,me.uri,ve)}e.setModelMarkers=Y;function ne(me){g.StandaloneServices.get(k.IMarkerService).changeAll(me,[])}e.removeAllMarkers=ne;function se(me){return g.StandaloneServices.get(k.IMarkerService).read(me)}e.getModelMarkers=se;function J(me){return g.StandaloneServices.get(k.IMarkerService).onMarkerChanged(me)}e.onDidChangeMarkers=J;function q(me){return g.StandaloneServices.get(l.IModelService).getModel(me)}e.getModel=q;function H(){return g.StandaloneServices.get(l.IModelService).getModels()}e.getModels=H;function V(me){return g.StandaloneServices.get(l.IModelService).onModelAdded(me)}e.onDidCreateModel=V;function Z(me){return g.StandaloneServices.get(l.IModelService).onModelRemoved(me)}e.onWillDisposeModel=Z;function ee(me){return g.StandaloneServices.get(l.IModelService).onModelLanguageChanged(ve=>{me({model:ve.model,oldLanguage:ve.oldLanguageId})})}e.onDidChangeModelLanguage=ee;function le(me){return(0,_.createWebWorker)(g.StandaloneServices.get(l.IModelService),g.StandaloneServices.get(r.ILanguageConfigurationService),me)}e.createWebWorker=le;function ue(me,pe){const ve=g.StandaloneServices.get(t.ILanguageService),we=g.StandaloneServices.get(h.IStandaloneThemeService);return c.Colorizer.colorizeElement(we,ve,me,pe).then(()=>{we.registerEditorContainer(me)})}e.colorizeElement=ue;function de(me,pe,ve){const we=g.StandaloneServices.get(t.ILanguageService);return g.StandaloneServices.get(h.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorize(we,me,pe,ve)}e.colorize=de;function ce(me,pe,ve=4){return g.StandaloneServices.get(h.IStandaloneThemeService).registerEditorContainer(document.body),c.Colorizer.colorizeModelLine(me,pe,ve)}e.colorizeModelLine=ce;function ae(me){const pe=n.TokenizationRegistry.get(me);return pe||{getInitialState:()=>f.NullState,tokenize:(ve,we,Le)=>(0,f.nullTokenize)(me,Le)}}function X(me,pe){n.TokenizationRegistry.getOrCreate(pe);const ve=ae(pe),we=(0,I.splitLines)(me),Le=[];let Ee=ve.getInitialState();for(let Ae=0,Re=we.length;Aebe(this,void 0,void 0,function*(){var Ee;if(!we)return null;const Ae=(Ee=ve.options)===null||Ee===void 0?void 0:Ee.selection;let Re;return Ae&&typeof Ae.endLineNumber=="number"&&typeof Ae.endColumn=="number"?Re=Ae:Ae&&(Re={lineNumber:Ae.startLineNumber,column:Ae.startColumn}),(yield me.openCodeEditor(we,ve.resource,Re))?we:null}))}e.registerEditorOpener=oe;function he(){return{create:R,getEditors:N,getDiffEditors:A,onDidCreateEditor:B,onDidCreateDiffEditor:T,createDiffEditor:P,addCommand:O,addEditorAction:x,addKeybindingRule:W,addKeybindingRules:U,createModel:F,setModelLanguage:G,setModelMarkers:Y,getModelMarkers:se,removeAllMarkers:ne,onDidChangeMarkers:J,getModels:H,getModel:q,onDidCreateModel:V,onWillDisposeModel:Z,onDidChangeModelLanguage:ee,createWebWorker:le,colorizeElement:ue,colorize:de,colorizeModelLine:ce,tokenize:X,defineTheme:K,setTheme:z,remeasureFonts:Q,registerCommand:j,registerLinkOpener:re,registerEditorOpener:oe,AccessibilitySupport:o.AccessibilitySupport,ContentWidgetPositionPreference:o.ContentWidgetPositionPreference,CursorChangeReason:o.CursorChangeReason,DefaultEndOfLine:o.DefaultEndOfLine,EditorAutoIndentStrategy:o.EditorAutoIndentStrategy,EditorOption:o.EditorOption,EndOfLinePreference:o.EndOfLinePreference,EndOfLineSequence:o.EndOfLineSequence,MinimapPosition:o.MinimapPosition,MouseTargetType:o.MouseTargetType,OverlayWidgetPositionPreference:o.OverlayWidgetPositionPreference,OverviewRulerLane:o.OverviewRulerLane,GlyphMarginLane:o.GlyphMarginLane,RenderLineNumbersType:o.RenderLineNumbersType,RenderMinimap:o.RenderMinimap,ScrollbarVisibility:o.ScrollbarVisibility,ScrollType:o.ScrollType,TextEditorCursorBlinkingStyle:o.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:o.TextEditorCursorStyle,TrackedRangeStickiness:o.TrackedRangeStickiness,WrappingIndent:o.WrappingIndent,InjectedTextCursorStops:o.InjectedTextCursorStops,PositionAffinity:o.PositionAffinity,ConfigurationChangedEvent:v.ConfigurationChangedEvent,BareFontInfo:s.BareFontInfo,FontInfo:s.FontInfo,TextModelResolvedOptions:d.TextModelResolvedOptions,FindMatch:d.FindMatch,ApplyUpdateResult:v.ApplyUpdateResult,EditorZoom:C.EditorZoom,EditorType:i.EditorType,EditorOptions:v.EditorOptions}}e.createMonacoEditorAPI=he}),define(te[923],ie([1,0,36,5,29,32,75,42,209,257,553,338,131,94,18,28]),function($,e,L,I,y,D,S,m,_,v,C,s,i,n,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createMonacoLanguagesAPI=e.registerInlayHintsProvider=e.registerInlineCompletionsProvider=e.registerDocumentRangeSemanticTokensProvider=e.registerDocumentSemanticTokensProvider=e.registerSelectionRangeProvider=e.registerDeclarationProvider=e.registerFoldingRangeProvider=e.registerColorProvider=e.registerCompletionItemProvider=e.registerLinkProvider=e.registerOnTypeFormattingEditProvider=e.registerDocumentRangeFormattingEditProvider=e.registerDocumentFormattingEditProvider=e.registerCodeActionProvider=e.registerCodeLensProvider=e.registerTypeDefinitionProvider=e.registerImplementationProvider=e.registerDefinitionProvider=e.registerLinkedEditingRangeProvider=e.registerDocumentHighlightProvider=e.registerDocumentSymbolProvider=e.registerHoverProvider=e.registerSignatureHelpProvider=e.registerRenameProvider=e.registerReferenceProvider=e.setMonarchTokensProvider=e.setTokensProvider=e.registerTokensProviderFactory=e.setColorMap=e.TokenizationSupportAdapter=e.EncodedTokenizationSupportAdapter=e.setLanguageConfiguration=e.onLanguageEncountered=e.onLanguage=e.getEncodedLanguageId=e.getLanguages=e.register=void 0;function u(K){S.ModesRegistry.registerLanguage(K)}e.register=u;function f(){let K=[];return K=K.concat(S.ModesRegistry.getLanguages()),K}e.getLanguages=f;function d(K){return v.StandaloneServices.get(m.ILanguageService).languageIdCodec.encodeLanguageId(K)}e.getEncodedLanguageId=d;function l(K,z){return v.StandaloneServices.withServices(()=>{const j=v.StandaloneServices.get(m.ILanguageService).onDidRequestRichLanguageFeatures(re=>{re===K&&(j.dispose(),z())});return j})}e.onLanguage=l;function o(K,z){return v.StandaloneServices.withServices(()=>{const j=v.StandaloneServices.get(m.ILanguageService).onDidRequestBasicLanguageFeatures(re=>{re===K&&(j.dispose(),z())});return j})}e.onLanguageEncountered=o;function c(K,z){if(!v.StandaloneServices.get(m.ILanguageService).isRegisteredLanguageId(K))throw new Error(`Cannot set configuration for unknown language ${K}`);return v.StandaloneServices.get(D.ILanguageConfigurationService).register(K,z,100)}e.setLanguageConfiguration=c;class a{constructor(z,Q){this._languageId=z,this._actual=Q}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(z,Q,j){if(typeof this._actual.tokenize=="function")return g.adaptTokenize(this._languageId,this._actual,z,j);throw new Error("Not supported!")}tokenizeEncoded(z,Q,j){const re=this._actual.tokenizeEncoded(z,j);return new y.EncodedTokenizationResult(re.tokens,re.endState)}}e.EncodedTokenizationSupportAdapter=a;class g{constructor(z,Q,j,re){this._languageId=z,this._actual=Q,this._languageService=j,this._standaloneThemeService=re}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(z,Q){const j=[];let re=0;for(let oe=0,he=z.length;oe0&&oe[he-1]===Ee)continue;let Ae=Le.startIndex;ve===0?Ae=0:Aebe(this,void 0,void 0,function*(){const j=yield Promise.resolve(z.create());return j?h(j)?E(K,j):new s.MonarchTokenizer(v.StandaloneServices.get(m.ILanguageService),v.StandaloneServices.get(i.IStandaloneThemeService),K,(0,C.compile)(K,j),v.StandaloneServices.get(r.IConfigurationService)):null}));return y.TokenizationRegistry.registerFactory(K,Q)}e.registerTokensProviderFactory=k;function M(K,z){if(!v.StandaloneServices.get(m.ILanguageService).isRegisteredLanguageId(K))throw new Error(`Cannot set tokens provider for unknown language ${K}`);return b(z)?k(K,{create:()=>z}):y.TokenizationRegistry.register(K,E(K,z))}e.setTokensProvider=M;function R(K,z){const Q=j=>new s.MonarchTokenizer(v.StandaloneServices.get(m.ILanguageService),v.StandaloneServices.get(i.IStandaloneThemeService),K,(0,C.compile)(K,j),v.StandaloneServices.get(r.IConfigurationService));return b(z)?k(K,{create:()=>z}):y.TokenizationRegistry.register(K,Q(z))}e.setMonarchTokensProvider=R;function B(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).referenceProvider.register(K,z)}e.registerReferenceProvider=B;function T(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).renameProvider.register(K,z)}e.registerRenameProvider=T;function N(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).signatureHelpProvider.register(K,z)}e.registerSignatureHelpProvider=N;function A(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).hoverProvider.register(K,{provideHover:(j,re,oe)=>{const he=j.getWordAtPosition(re);return Promise.resolve(z.provideHover(j,re,oe)).then(me=>{if(me)return!me.range&&he&&(me.range=new I.Range(re.lineNumber,he.startColumn,re.lineNumber,he.endColumn)),me.range||(me.range=new I.Range(re.lineNumber,re.column,re.lineNumber,re.column)),me})}})}e.registerHoverProvider=A;function P(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentSymbolProvider.register(K,z)}e.registerDocumentSymbolProvider=P;function O(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentHighlightProvider.register(K,z)}e.registerDocumentHighlightProvider=O;function x(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).linkedEditingRangeProvider.register(K,z)}e.registerLinkedEditingRangeProvider=x;function W(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).definitionProvider.register(K,z)}e.registerDefinitionProvider=W;function U(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).implementationProvider.register(K,z)}e.registerImplementationProvider=U;function F(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).typeDefinitionProvider.register(K,z)}e.registerTypeDefinitionProvider=F;function G(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).codeLensProvider.register(K,z)}e.registerCodeLensProvider=G;function Y(K,z,Q){return v.StandaloneServices.get(t.ILanguageFeaturesService).codeActionProvider.register(K,{providedCodeActionKinds:Q?.providedCodeActionKinds,documentation:Q?.documentation,provideCodeActions:(re,oe,he,me)=>{const ve=v.StandaloneServices.get(n.IMarkerService).read({resource:re.uri}).filter(we=>I.Range.areIntersectingOrTouching(we,oe));return z.provideCodeActions(re,oe,{markers:ve,only:he.only,trigger:he.trigger},me)},resolveCodeAction:z.resolveCodeAction})}e.registerCodeActionProvider=Y;function ne(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentFormattingEditProvider.register(K,z)}e.registerDocumentFormattingEditProvider=ne;function se(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeFormattingEditProvider.register(K,z)}e.registerDocumentRangeFormattingEditProvider=se;function J(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).onTypeFormattingEditProvider.register(K,z)}e.registerOnTypeFormattingEditProvider=J;function q(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).linkProvider.register(K,z)}e.registerLinkProvider=q;function H(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).completionProvider.register(K,z)}e.registerCompletionItemProvider=H;function V(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).colorProvider.register(K,z)}e.registerColorProvider=V;function Z(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).foldingRangeProvider.register(K,z)}e.registerFoldingRangeProvider=Z;function ee(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).declarationProvider.register(K,z)}e.registerDeclarationProvider=ee;function le(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).selectionRangeProvider.register(K,z)}e.registerSelectionRangeProvider=le;function ue(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentSemanticTokensProvider.register(K,z)}e.registerDocumentSemanticTokensProvider=ue;function de(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).documentRangeSemanticTokensProvider.register(K,z)}e.registerDocumentRangeSemanticTokensProvider=de;function ce(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).inlineCompletionsProvider.register(K,z)}e.registerInlineCompletionsProvider=ce;function ae(K,z){return v.StandaloneServices.get(t.ILanguageFeaturesService).inlayHintsProvider.register(K,z)}e.registerInlayHintsProvider=ae;function X(){return{register:u,getLanguages:f,onLanguage:l,onLanguageEncountered:o,getEncodedLanguageId:d,setLanguageConfiguration:c,setColorMap:w,registerTokensProviderFactory:k,setTokensProvider:M,setMonarchTokensProvider:R,registerReferenceProvider:B,registerRenameProvider:T,registerCompletionItemProvider:H,registerSignatureHelpProvider:N,registerHoverProvider:A,registerDocumentSymbolProvider:P,registerDocumentHighlightProvider:O,registerLinkedEditingRangeProvider:x,registerDefinitionProvider:W,registerImplementationProvider:U,registerTypeDefinitionProvider:F,registerCodeLensProvider:G,registerCodeActionProvider:Y,registerDocumentFormattingEditProvider:ne,registerDocumentRangeFormattingEditProvider:se,registerOnTypeFormattingEditProvider:J,registerLinkProvider:q,registerColorProvider:V,registerFoldingRangeProvider:Z,registerDeclarationProvider:ee,registerSelectionRangeProvider:le,registerDocumentSemanticTokensProvider:ue,registerDocumentRangeSemanticTokensProvider:de,registerInlineCompletionsProvider:ce,registerInlayHintsProvider:ae,DocumentHighlightKind:_.DocumentHighlightKind,CompletionItemKind:_.CompletionItemKind,CompletionItemTag:_.CompletionItemTag,CompletionItemInsertTextRule:_.CompletionItemInsertTextRule,SymbolKind:_.SymbolKind,SymbolTag:_.SymbolTag,IndentAction:_.IndentAction,CompletionTriggerKind:_.CompletionTriggerKind,SignatureHelpTriggerKind:_.SignatureHelpTriggerKind,InlayHintKind:_.InlayHintKind,InlineCompletionTriggerKind:_.InlineCompletionTriggerKind,CodeActionTriggerType:_.CodeActionTriggerType,FoldingRangeKind:y.FoldingRangeKind,SelectedSuggestionInfo:y.SelectedSuggestionInfo}}e.createMonacoLanguagesAPI=X}),define(te[924],ie([1,0,39,331,922,923,355]),function($,e,L,I,y,D,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.languages=e.editor=e.Token=e.Uri=e.MarkerTag=e.MarkerSeverity=e.SelectionDirection=e.Selection=e.Range=e.Position=e.KeyMod=e.KeyCode=e.Emitter=e.CancellationTokenSource=void 0,L.EditorOptions.wrappingIndent.defaultValue=0,L.EditorOptions.glyphMargin.defaultValue=!1,L.EditorOptions.autoIndent.defaultValue=3,L.EditorOptions.overviewRulerLanes.defaultValue=2,S.FormattingConflicts.setFormatterSelector((v,C,s)=>Promise.resolve(v[0]));const m=(0,I.createMonacoBaseAPI)();m.editor=(0,y.createMonacoEditorAPI)(),m.languages=(0,D.createMonacoLanguagesAPI)(),e.CancellationTokenSource=m.CancellationTokenSource,e.Emitter=m.Emitter,e.KeyCode=m.KeyCode,e.KeyMod=m.KeyMod,e.Position=m.Position,e.Range=m.Range,e.Selection=m.Selection,e.SelectionDirection=m.SelectionDirection,e.MarkerSeverity=m.MarkerSeverity,e.MarkerTag=m.MarkerTag,e.Uri=m.Uri,e.Token=m.Token,e.editor=m.editor,e.languages=m.languages;const _=globalThis.MonacoEnvironment;(_?.globalAPI||typeof define=="function"&&define.amd)&&(globalThis.monaco=m),typeof globalThis.require<"u"&&typeof globalThis.require.config=="function"&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})});var Ci=this&&this.__createBinding||(Object.create?function($,e,L,I){I===void 0&&(I=L);var y=Object.getOwnPropertyDescriptor(e,L);(!y||("get"in y?!e.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return e[L]}}),Object.defineProperty($,I,y)}:function($,e,L,I){I===void 0&&(I=L),$[I]=e[L]}),bi=this&&this.__exportStar||function($,e){for(var L in $)L!=="default"&&!Object.prototype.hasOwnProperty.call(e,L)&&Ci(e,$,L)};define(te[926],ie([1,0,924,920,816,817,786,861,862,821,907,864]),function($,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),bi(L,e)})}).call(this); + + +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ +var moduleExports=(()=>{var y=Object.create;var g=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var a=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,s)=>(typeof require!="undefined"?require:r)[s]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var D=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var m=(e,r,s,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of q(r))!M.call(e,o)&&o!==s&&g(e,o,{get:()=>r[o],enumerable:!(n=x(r,o))||n.enumerable});return e},p=(e,r,s)=>(m(e,r,"default"),s&&m(s,r,"default")),c=(e,r,s)=>(s=e!=null?y(A(e)):{},m(r||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var v=D((w,d)=>{var b=c(a("vs/editor/editor.api"));d.exports=b});var t={};p(t,c(v()));var f={},u={},l=class{static getOrCreate(r){return u[r]||(u[r]=new l(r)),u[r]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(r){this._languageId=r,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((s,n)=>{this._lazyLoadPromiseResolve=s,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,f[this._languageId].loader().then(r=>this._lazyLoadPromiseResolve(r),r=>this._lazyLoadPromiseReject(r))),this._lazyLoadPromise}};function i(e){let r=e.id;f[r]=e,t.languages.register(e);let s=l.getOrCreate(r);t.languages.registerTokensProviderFactory(r,{create:async()=>(await s.load()).language}),t.languages.onLanguageEncountered(r,async()=>{let n=await s.load();t.languages.setLanguageConfiguration(r,n.conf)})}i({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/abap/abap"],e,r)})});i({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/apex/apex"],e,r)})});i({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/azcli/azcli"],e,r)})});i({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bat/bat"],e,r)})});i({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/bicep/bicep"],e,r)})});i({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cameligo/cameligo"],e,r)})});i({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/clojure/clojure"],e,r)})});i({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/coffee/coffee"],e,r)})});i({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cpp/cpp"],e,r)})});i({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csharp/csharp"],e,r)})});i({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/csp/csp"],e,r)})});i({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/css/css"],e,r)})});i({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/cypher/cypher"],e,r)})});i({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dart/dart"],e,r)})});i({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/dockerfile/dockerfile"],e,r)})});i({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ecl/ecl"],e,r)})});i({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/elixir/elixir"],e,r)})});i({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/flow9/flow9"],e,r)})});i({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/fsharp/fsharp"],e,r)})});i({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationDollar)});i({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationDollar)});i({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAngleInterpolationBracket)});i({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagBracketInterpolationBracket)});i({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationDollar)});i({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/freemarker2/freemarker2"],e,r)}).then(e=>e.TagAutoInterpolationBracket)});i({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/go/go"],e,r)})});i({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/graphql/graphql"],e,r)})});i({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/handlebars/handlebars"],e,r)})});i({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/hcl/hcl"],e,r)})});i({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/html/html"],e,r)})});i({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ini/ini"],e,r)})});i({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/java/java"],e,r)})});i({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/javascript/javascript"],e,r)})});i({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/julia/julia"],e,r)})});i({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/kotlin/kotlin"],e,r)})});i({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/less/less"],e,r)})});i({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lexon/lexon"],e,r)})});i({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/lua/lua"],e,r)})});i({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/liquid/liquid"],e,r)})});i({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/m3/m3"],e,r)})});i({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/markdown/markdown"],e,r)})});i({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mdx/mdx"],e,r)})});i({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mips/mips"],e,r)})});i({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/msdax/msdax"],e,r)})});i({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/mysql/mysql"],e,r)})});i({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/objective-c/objective-c"],e,r)})});i({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascal/pascal"],e,r)})});i({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pascaligo/pascaligo"],e,r)})});i({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/perl/perl"],e,r)})});i({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pgsql/pgsql"],e,r)})});i({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/php/php"],e,r)})});i({id:"pla",extensions:[".pla"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pla/pla"],e,r)})});i({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/postiats/postiats"],e,r)})});i({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powerquery/powerquery"],e,r)})});i({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/powershell/powershell"],e,r)})});i({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/protobuf/protobuf"],e,r)})});i({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/pug/pug"],e,r)})});i({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/python/python"],e,r)})});i({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/qsharp/qsharp"],e,r)})});i({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/r/r"],e,r)})});i({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/razor/razor"],e,r)})});i({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redis/redis"],e,r)})});i({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/redshift/redshift"],e,r)})});i({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/restructuredtext/restructuredtext"],e,r)})});i({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/ruby/ruby"],e,r)})});i({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/rust/rust"],e,r)})});i({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sb/sb"],e,r)})});i({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scala/scala"],e,r)})});i({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scheme/scheme"],e,r)})});i({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/scss/scss"],e,r)})});i({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/shell/shell"],e,r)})});i({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/solidity/solidity"],e,r)})});i({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sophia/sophia"],e,r)})});i({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sparql/sparql"],e,r)})});i({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/sql/sql"],e,r)})});i({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/st/st"],e,r)})});i({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/swift/swift"],e,r)})});i({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/systemverilog/systemverilog"],e,r)})});i({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/tcl/tcl"],e,r)})});i({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/twig/twig"],e,r)})});i({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/typescript/typescript"],e,r)})});i({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/vb/vb"],e,r)})});i({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/wgsl/wgsl"],e,r)})});i({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\new Promise((e,r)=>{a(["vs/basic-languages/xml/xml"],e,r)})});i({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>new Promise((e,r)=>{a(["vs/basic-languages/yaml/yaml"],e,r)})});})(); +return moduleExports; +}); + +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/css/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ +var moduleExports=(()=>{var C=Object.create;var g=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(n,r)=>(typeof require!="undefined"?require:n)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),M=(e,n)=>{for(var r in n)g(e,r,{get:n[r],enumerable:!0})},s=(e,n,r,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(e,t)&&t!==r&&g(e,t,{get:()=>n[t],enumerable:!(a=S(n,t))||a.enumerable});return e},y=(e,n,r)=>(s(e,n,"default"),r&&s(r,n,"default")),w=(e,n,r)=>(r=e!=null?C(x(e)):{},s(n||!e||!e.__esModule?g(r,"default",{value:e,enumerable:!0}):r,e)),P=e=>s(g({},"__esModule",{value:!0}),e);var v=I((k,D)=>{var O=w(l("vs/editor/editor.api"));D.exports=O});var R={};M(R,{cssDefaults:()=>p,lessDefaults:()=>f,scssDefaults:()=>c});var o={};y(o,w(v()));var i=class{_onDidChange=new o.Emitter;_options;_modeConfiguration;_languageId;constructor(n,r,a){this._languageId=n,this.setOptions(r),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(n){this.setOptions(n)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},d={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},u={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},p=new i("css",d,u),c=new i("scss",d,u),f=new i("less",d,u);o.languages.css={cssDefaults:p,lessDefaults:f,scssDefaults:c};function m(){return new Promise((e,n)=>{l(["vs/language/css/cssMode"],e,n)})}o.languages.onLanguage("less",()=>{m().then(e=>e.setupMode(f))});o.languages.onLanguage("scss",()=>{m().then(e=>e.setupMode(c))});o.languages.onLanguage("css",()=>{m().then(e=>e.setupMode(p))});return P(R);})(); +return moduleExports; +}); + +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/html/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ +var moduleExports=(()=>{var w=Object.create;var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var f=(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 k=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),T=(e,n)=>{for(var t in n)l(e,t,{get:n[t],enumerable:!0})},d=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of H(n))!_.call(e,o)&&o!==t&&l(e,o,{get:()=>n[o],enumerable:!(r=R(n,o))||r.enumerable});return e},b=(e,n,t)=>(d(e,n,"default"),t&&d(t,n,"default")),v=(e,n,t)=>(t=e!=null?w(O(e)):{},d(n||!e||!e.__esModule?l(t,"default",{value:e,enumerable:!0}):t,e)),A=e=>d(l({},"__esModule",{value:!0}),e);var C=k((z,h)=>{var E=v(f("vs/editor/editor.api"));h.exports=E});var V={};T(V,{handlebarDefaults:()=>M,handlebarLanguageService:()=>m,htmlDefaults:()=>x,htmlLanguageService:()=>c,razorDefaults:()=>I,razorLanguageService:()=>y,registerHTMLLanguageService:()=>s});var a={};b(a,v(C()));var p=class{_onDidChange=new a.Emitter;_options;_modeConfiguration;_languageId;constructor(n,t,r){this._languageId=n,this.setOptions(t),this.setModeConfiguration(r)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(n){this._options=n||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(this)}},F={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},u={format:F,suggest:{},data:{useDefaultDataProvider:!0}};function g(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===i,documentFormattingEdits:e===i,documentRangeFormattingEdits:e===i}}var i="html",D="handlebars",L="razor",c=s(i,u,g(i)),x=c.defaults,m=s(D,u,g(D)),M=m.defaults,y=s(L,u,g(L)),I=y.defaults;a.languages.html={htmlDefaults:x,razorDefaults:I,handlebarDefaults:M,htmlLanguageService:c,handlebarLanguageService:m,razorLanguageService:y,registerHTMLLanguageService:s};function P(){return new Promise((e,n)=>{f(["vs/language/html/htmlMode"],e,n)})}function s(e,n=u,t=g(e)){let r=new p(e,n,t),o,S=a.languages.onLanguage(e,async()=>{o=(await P()).setupMode(r)});return{defaults:r,dispose(){S.dispose(),o?.dispose(),o=void 0}}}return A(V);})(); +return moduleExports; +}); + +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/json/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ +var moduleExports=(()=>{var p=Object.create;var r=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var g=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var D=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports),b=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},s=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of h(e))!C.call(o,i)&&i!==n&&r(o,i,{get:()=>e[i],enumerable:!(a=y(e,i))||a.enumerable});return o},u=(o,e,n)=>(s(o,e,"default"),n&&s(n,e,"default")),c=(o,e,n)=>(n=o!=null?p(v(o)):{},s(e||!o||!o.__esModule?r(n,"default",{value:o,enumerable:!0}):n,o)),O=o=>s(r({},"__esModule",{value:!0}),o);var f=D((w,m)=>{var M=c(g("vs/editor/editor.api"));m.exports=M});var R={};b(R,{jsonDefaults:()=>d});var t={};u(t,c(f()));var l=class{_onDidChange=new t.Emitter;_diagnosticsOptions;_modeConfiguration;_languageId;constructor(e,n,a){this._languageId=e,this.setDiagnosticsOptions(n),this.setModeConfiguration(a)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},j={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},S={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d=new l("json",j,S);t.languages.json={jsonDefaults:d};function _(){return new Promise((o,e)=>{g(["vs/language/json/jsonMode"],o,e)})}t.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});t.languages.onLanguage("json",()=>{_().then(o=>o.setupMode(d))});return O(R);})(); +return moduleExports; +}); + +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/typescript/monaco.contribution", ["require","require","vs/editor/editor.api"],(require)=>{ +var moduleExports=(()=>{var N=Object.create;var d=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty;var c=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(e,t)=>(typeof require!="undefined"?require:e)[t]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var w=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),A=(n,e)=>{for(var t in e)d(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of M(e))!F.call(n,r)&&r!==t&&d(n,r,{get:()=>e[r],enumerable:!(i=H(e,r))||i.enumerable});return n},D=(n,e,t)=>(g(n,e,"default"),t&&g(t,e,"default")),C=(n,e,t)=>(t=n!=null?N(R(n)):{},g(e||!n||!n.__esModule?d(t,"default",{value:n,enumerable:!0}):t,n)),W=n=>g(d({},"__esModule",{value:!0}),n);var _=w((B,E)=>{var V=C(c("vs/editor/editor.api"));E.exports=V});var T={};A(T,{JsxEmit:()=>f,ModuleKind:()=>b,ModuleResolutionKind:()=>O,NewLineKind:()=>y,ScriptTarget:()=>h,getJavaScriptWorker:()=>k,getTypeScriptWorker:()=>P,javascriptDefaults:()=>v,typescriptDefaults:()=>x,typescriptVersion:()=>I});var L="5.0.2";var l={};D(l,C(_()));var b=(s=>(s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext",s))(b||{}),f=(a=>(a[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a))(f||{}),y=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(y||{}),h=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(h||{}),O=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t))(O||{}),m=class{_onDidChange=new l.Emitter;_onDidExtraLibsChange=new l.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,t,i,r,p){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(r),this.setModeConfiguration(p),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let p=this._extraLibs[i];!p||p.version===r&&(delete this._extraLibs[i],this._removedExtraLibs[i]=r,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,r=t.content,p=1;this._removedExtraLibs[i]&&(p=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:r,version:p}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},I=L,S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},x=new m({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new m({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),P=()=>u().then(n=>n.getTypeScriptWorker()),k=()=>u().then(n=>n.getJavaScriptWorker());l.languages.typescript={ModuleKind:b,JsxEmit:f,NewLineKind:y,ScriptTarget:h,ModuleResolutionKind:O,typescriptVersion:I,typescriptDefaults:x,javascriptDefaults:v,getTypeScriptWorker:P,getJavaScriptWorker:k};function u(){return new Promise((n,e)=>{c(["vs/language/typescript/tsMode"],n,e)})}l.languages.onLanguage("typescript",()=>u().then(n=>n.setupTypeScript(x)));l.languages.onLanguage("javascript",()=>u().then(n=>n.setupJavaScript(v)));return W(T);})(); +return moduleExports; +}); + +define("vs/editor/editor.main", ["vs/editor/edcore.main","vs/basic-languages/monaco.contribution","vs/language/css/monaco.contribution","vs/language/html/monaco.contribution","vs/language/json/monaco.contribution","vs/language/typescript/monaco.contribution"], function(api) { return api; }); +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.de.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.de.js new file mode 100644 index 0000000..3456e26 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.de.js @@ -0,0 +1,31 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.de",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["Eingabe"],"vs/base/browser/ui/findinput/findInputToggles":["Gro\xDF-/Kleinschreibung beachten","Nur ganzes Wort suchen","Regul\xE4ren Ausdruck verwenden"],"vs/base/browser/ui/findinput/replaceInput":["Eingabe","Gro\xDF-/Kleinschreibung beibehalten"],"vs/base/browser/ui/hover/hoverWidget":['\xDCberpr\xFCfen Sie dies in der barrierefreien Ansicht mit "{0}".','\xDCberpr\xFCfen Sie dies in der barrierefreien Ansicht \xFCber den Befehl "Barrierefreie Ansicht \xF6ffnen", der zurzeit nicht \xFCber eine Tastenzuordnung ausgel\xF6st werden kann.'],"vs/base/browser/ui/iconLabel/iconLabelHover":["Wird geladen..."],"vs/base/browser/ui/inputbox/inputBox":["Fehler: {0}","Warnung: {0}","Info: {0}","f\xFCr Verlauf","Gel\xF6schte Eingabe"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["Ungebunden"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Auswahlfeld"],"vs/base/browser/ui/toolbar/toolbar":["Weitere Aktionen..."],"vs/base/browser/ui/tree/abstractTree":["Filter","Fuzzy\xFCbereinstimmung","Zum Filtern Text eingeben","Zum Suchen eingeben","Zum Suchen eingeben","Schlie\xDFen","Kein Element gefunden."],"vs/base/common/actions":["(leer)"],"vs/base/common/errorMessage":["{0}: {1}","Ein Systemfehler ist aufgetreten ({0}).","Ein unbekannter Fehler ist aufgetreten. Weitere Details dazu finden Sie im Protokoll.","Ein unbekannter Fehler ist aufgetreten. Weitere Details dazu finden Sie im Protokoll.","{0} ({1} Fehler gesamt)","Ein unbekannter Fehler ist aufgetreten. Weitere Details dazu finden Sie im Protokoll."],"vs/base/common/keybindingLabels":["STRG","UMSCHALTTASTE","ALT","Windows","STRG","UMSCHALTTASTE","ALT","Super","Steuern","UMSCHALTTASTE","Option","Befehl","Steuern","UMSCHALTTASTE","ALT","Windows","Steuern","UMSCHALTTASTE","ALT","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["Editor","Auf den Editor kann zurzeit nicht zugegriffen werden.","{0} Um den f\xFCr die Sprachausgabe optimierten Modus zu aktivieren, verwenden Sie {1}",'{0} Um den f\xFCr die Sprachausgabe optimierten Modus zu aktivieren, \xF6ffnen Sie die Schnellauswahl mit {1}, und f\xFChren Sie den Befehl "Barrierefreiheitsmodus der Bildschirmsprachausgabe umschalten" aus, der derzeit nicht \xFCber die Tastatur ausgel\xF6st werden kann.','{0} Weisen Sie eine Tastenzuordnung f\xFCr den Befehl "Barrierefreiheitsmodus der Sprachausgabe umschalten" zu, indem Sie mit auf den Editor f\xFCr Tastenzuordnungen zugreifen {1} und ihn ausf\xFChren.'],"vs/editor/browser/coreCommands":["Auch bei l\xE4ngeren Zeilen am Ende bleiben","Auch bei l\xE4ngeren Zeilen am Ende bleiben","Sekund\xE4re Cursor entfernt"],"vs/editor/browser/editorExtensions":["&&R\xFCckg\xE4ngig","R\xFCckg\xE4ngig","&&Wiederholen","Wiederholen","&&Alles ausw\xE4hlen","Alle ausw\xE4hlen"],"vs/editor/browser/widget/codeEditorWidget":["Die Anzahl der Cursor wurde auf {0} beschr\xE4nkt. Erw\xE4gen Sie die Verwendung von [Suchen und Ersetzen](https://code.visualstudio.com/docs/editor/codebasics#_find-und-ersetzen) f\xFCr gr\xF6\xDFere \xC4nderungen, oder erh\xF6hen Sie die Multicursorbegrenzungseinstellung des Editors.","Erh\xF6hen des Grenzwerts f\xFCr mehrere Cursor"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":['Symbol f\xFCr "Einf\xFCgen" im barrierefreien Diff-Viewer.','Symbol f\xFCr "Entfernen" im barrierefreien Diff-Viewer.','Symbol f\xFCr "Schlie\xDFen" im barrierefreien Diff-Viewer.',"Schlie\xDFen","Barrierefreier Diff-Viewer. Verwenden Sie den Pfeil nach oben und unten, um zu navigieren.","keine ge\xE4nderten Zeilen","1 Zeile ge\xE4ndert","{0} Zeilen ge\xE4ndert","Unterschied {0} von {1}: urspr\xFCngliche Zeile {2}, {3}, ge\xE4nderte Zeile {4}, {5}","leer","{0}: unver\xE4nderte Zeile {1}","{0} urspr\xFCngliche Zeile {1} ge\xE4nderte Zeile {2}","+ {0} ge\xE4nderte Zeile(n) {1}","\u2013 {0} Originalzeile {1}"],"vs/editor/browser/widget/diffEditor/colors":["Die Rahmenfarbe f\xFCr Text, der im Diff-Editor verschoben wurde.","Die aktive Rahmenfarbe f\xFCr Text, der im Diff-Editor verschoben wurde."],"vs/editor/browser/widget/diffEditor/decorations":["Zeilenformatierung f\xFCr Einf\xFCgungen im Diff-Editor","Zeilenformatierung f\xFCr Entfernungen im Diff-Editor","Klicken Sie, um die \xC4nderung r\xFCckg\xE4ngig zu machen"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":['"Unver\xE4nderte Bereiche reduzieren" umschalten','"Verschobene Codebl\xF6cke anzeigen" umschalten','"Bei eingeschr\xE4nktem Speicherplatz Inlineansicht verwenden" umschalten',"Bei eingeschr\xE4nktem Speicherplatz Inlineansicht verwenden","Verschobene Codebl\xF6cke anzeigen","Diff-Editor","Seite wechseln","Vergleichsmodus beenden","Alle unver\xE4nderten Regionen reduzieren","Alle unver\xE4nderten Regionen anzeigen","Barrierefreier Diff-Viewer","Zum n\xE4chsten Unterschied wechseln","Barrierefreien Diff-Viewer \xF6ffnen","Zum vorherigen Unterschied wechseln"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" verwenden Sie {0}, um die Hilfe zur Barrierefreiheit zu \xF6ffnen."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["Unver\xE4nderten Bereich falten","Klicken oder ziehen Sie, um oben mehr anzuzeigen.","Alle anzeigen","Klicken oder ziehen Sie, um unten mehr anzuzeigen.","{0} ausgeblendete Linien","Zum Auffalten doppelklicken"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["Gel\xF6schte Zeilen kopieren","Gel\xF6schte Zeile kopieren","Ge\xE4nderte Zeilen kopieren","Ge\xE4nderte Zeile kopieren","Gel\xF6schte Zeile kopieren ({0})","Ge\xE4nderte Zeile ({0}) kopieren","Diese \xC4nderung r\xFCckg\xE4ngig machen"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["Code mit \xC4nderungen in Zeile {0}-{1} verschoben","Code mit \xC4nderungen aus Zeile {0}-{1} verschoben","Code in Zeile {0}-{1} verschoben","Code aus Zeile {0}-{1} verschoben"],"vs/editor/common/config/editorConfigurationSchema":["Editor","Die Anzahl der Leerzeichen, denen ein Tabstopp entspricht. Diese Einstellung wird basierend auf dem Inhalt der Datei \xFCberschrieben, wenn {0} aktiviert ist.","Die Anzahl von Leerzeichen, die f\xFCr den Einzug oder \u201EtabSize\u201C verwendet werden, um den Wert aus \u201E#editor.tabSize#\u201C zu verwenden. Diese Einstellung wird basierend auf dem Dateiinhalt \xFCberschrieben, wenn \u201E#editor.detectIndentation#\u201C aktiviert ist.","F\xFCgt beim Dr\xFCcken der TAB-Taste Leerzeichen ein. Diese Einstellung wird basierend auf dem Inhalt der Datei \xFCberschrieben, wenn {0} aktiviert ist.","Steuert, ob {0} und {1} automatisch erkannt werden, wenn eine Datei basierend auf dem Dateiinhalt ge\xF6ffnet wird.","Nachfolgende automatisch eingef\xFCgte Leerzeichen entfernen","Spezielle Behandlung f\xFCr gro\xDFe Dateien zum Deaktivieren bestimmter speicherintensiver Funktionen.","Steuert, ob Vervollst\xE4ndigungen auf Grundlage der W\xF6rter im Dokument berechnet werden sollen.","Nur W\xF6rter aus dem aktiven Dokument vorschlagen","W\xF6rter aus allen ge\xF6ffneten Dokumenten derselben Sprache vorschlagen","W\xF6rter aus allen ge\xF6ffneten Dokumenten vorschlagen","Steuert, aus welchen Dokumenten wortbasierte Vervollst\xE4ndigungen berechnet werden.","Die semantische Hervorhebung ist f\xFCr alle Farbdesigns aktiviert.","Die semantische Hervorhebung ist f\xFCr alle Farbdesigns deaktiviert.",'Die semantische Hervorhebung wird durch die Einstellung "semanticHighlighting" des aktuellen Farbdesigns konfiguriert.',"Steuert, ob die semantische Hervorhebung f\xFCr die Sprachen angezeigt wird, die sie unterst\xFCtzen.","Lassen Sie Peek-Editoren ge\xF6ffnet, auch wenn Sie auf ihren Inhalt doppelklicken oder auf die ESCAPETASTE klicken.","Zeilen, die diese L\xE4nge \xFCberschreiten, werden aus Leistungsgr\xFCnden nicht tokenisiert","Steuert, ob die Tokenisierung asynchron auf einem Webworker erfolgen soll.","Steuert, ob die asynchrone Tokenisierung protokolliert werden soll. Nur zum Debuggen.","Steuert, ob die asynchrone Tokenisierung anhand der Legacy-Hintergrundtokenisierung \xFCberpr\xFCft werden soll. Die Tokenisierung kann verlangsamt werden. Nur zum Debuggen.","Definiert die Klammersymbole, die den Einzug vergr\xF6\xDFern oder verkleinern.","Das \xF6ffnende Klammerzeichen oder die Zeichenfolgensequenz.","Das schlie\xDFende Klammerzeichen oder die Zeichenfolgensequenz.","Definiert die Klammerpaare, die durch ihre Schachtelungsebene farbig formatiert werden, wenn die Farbgebung f\xFCr das Klammerpaar aktiviert ist.","Das \xF6ffnende Klammerzeichen oder die Zeichenfolgensequenz.","Das schlie\xDFende Klammerzeichen oder die Zeichenfolgensequenz.","Timeout in Millisekunden, nach dem die Diff-Berechnung abgebrochen wird. Bei 0 wird kein Timeout verwendet.","Maximale Dateigr\xF6\xDFe in MB, f\xFCr die Diffs berechnet werden sollen. Verwenden Sie 0, um keinen Grenzwert zu setzen.","Steuert, ob der Diff-Editor die Unterschiede nebeneinander oder im Text anzeigt.","Wenn die Breite des Diff-Editors unter diesem Wert liegt, wird die Inlineansicht verwendet.","Wenn diese Option aktiviert ist und die Breite des Editors nicht ausreicht, wird die Inlineansicht verwendet.","Wenn diese Option aktiviert ist, zeigt der Diff-Editor Pfeile in seinem Glyphenrand an, um \xC4nderungen r\xFCckg\xE4ngig zu machen.","Wenn aktiviert, ignoriert der Diff-Editor \xC4nderungen an voran- oder nachgestellten Leerzeichen.",'Steuert, ob der Diff-Editor die Indikatoren "+" und "-" f\xFCr hinzugef\xFCgte/entfernte \xC4nderungen anzeigt.',"Steuert, ob der Editor CodeLens anzeigt.","Zeilenumbr\xFCche erfolgen nie.","Der Zeilenumbruch erfolgt an der Breite des Anzeigebereichs.","Zeilen werden gem\xE4\xDF der Einstellung \u201E{0}\u201C umbrochen.","Verwendet den Legacyvergleichsalgorithmus.","Verwendet den erweiterten Vergleichsalgorithmus.","Steuert, ob der Diff-Editor unver\xE4nderte Regionen anzeigt.","Steuert, wie viele Zeilen f\xFCr unver\xE4nderte Regionen verwendet werden.","Steuert, wie viele Zeilen als Mindestwert f\xFCr unver\xE4nderte Regionen verwendet werden.","Steuert, wie viele Zeilen beim Vergleich unver\xE4nderter Regionen als Kontext verwendet werden.","Steuert, ob der Diff-Editor erkannte Codeverschiebevorg\xE4nge anzeigen soll.","Steuert, ob der diff-Editor leere Dekorationen anzeigt, um anzuzeigen, wo Zeichen eingef\xFCgt oder gel\xF6scht wurden."],"vs/editor/common/config/editorOptions":["Plattform-APIs verwenden, um zu erkennen, wenn eine Sprachausgabe angef\xFCgt ist","F\xFCr die Verwendung mit einer Sprachausgabe optimieren","Annehmen, dass keine Sprachausgabe angef\xFCgt ist","Steuert, ob die Benutzeroberfl\xE4che in einem Modus ausgef\xFChrt werden soll, in dem sie f\xFCr Sprachausgaben optimiert ist.","Steuert, ob beim Kommentieren ein Leerzeichen eingef\xFCgt wird.","Steuert, ob leere Zeilen bei Umschalt-, Hinzuf\xFCgungs- oder Entfernungsaktionen f\xFCr Zeilenkommentare ignoriert werden sollen.","Steuert, ob ein Kopiervorgang ohne Auswahl die aktuelle Zeile kopiert.","Steuert, ob der Cursor bei der Suche nach \xDCbereinstimmungen w\xE4hrend der Eingabe springt.","Suchzeichenfolge niemals aus der Editorauswahl seeden.","Suchzeichenfolge immer aus der Editorauswahl seeden, einschlie\xDFlich Wort an Cursorposition.","Suchzeichenfolge nur aus der Editorauswahl seeden.",'Steuert, ob f\xFCr die Suchzeichenfolge im Widget "Suche" ein Seeding aus der Auswahl des Editors ausgef\xFChrt wird.','"In Auswahl suchen" niemals automatisch aktivieren (Standard).','"In Auswahl suchen" immer automatisch aktivieren.','"In Auswahl suchen" automatisch aktivieren, wenn mehrere Inhaltszeilen ausgew\xE4hlt sind.','Steuert die Bedingung zum automatischen Aktivieren von "In Auswahl suchen".','Steuert, ob das Widget "Suche" die freigegebene Suchzwischenablage unter macOS lesen oder bearbeiten soll.','Steuert, ob das Suchwidget zus\xE4tzliche Zeilen im oberen Bereich des Editors hinzuf\xFCgen soll. Wenn die Option auf "true" festgelegt ist, k\xF6nnen Sie \xFCber die erste Zeile hinaus scrollen, wenn das Suchwidget angezeigt wird.',"Steuert, ob die Suche automatisch am Anfang (oder am Ende) neu gestartet wird, wenn keine weiteren \xDCbereinstimmungen gefunden werden.",'Hiermit werden Schriftligaturen (Schriftartfeatures "calt" und "liga") aktiviert/deaktiviert. \xC4ndern Sie diesen Wert in eine Zeichenfolge, um die CSS-Eigenschaft "font-feature-settings" detailliert zu steuern.','Explizite CSS-Eigenschaft "font-feature-settings". Stattdessen kann ein boolescher Wert \xFCbergeben werden, wenn nur Ligaturen aktiviert/deaktiviert werden m\xFCssen.','Hiermit werden Schriftligaturen oder Schriftartfeatures konfiguriert. Hierbei kann es sich entweder um einen booleschen Wert zum Aktivieren oder Deaktivieren von Ligaturen oder um eine Zeichenfolge f\xFCr den Wert der CSS-Eigenschaft "font-feature-settings" handeln.',"Aktiviert/deaktiviert die \xDCbersetzung von \u201Efont-weight\u201C in \u201Efont-variation-settings\u201C. \xC4ndern Sie dies in eine Zeichenfolge f\xFCr eine differenzierte Steuerung der CSS-Eigenschaft \u201Efont-variation-settings\u201C.","Explizite CSS-Eigenschaft \u201Efont-variation-settings\u201C. Stattdessen kann ein boolescher Wert eingeben werden, wenn nur \u201Efont-weight\u201C in \u201Efont-variation-settings\u201C \xFCbersetzt werden muss.","Konfiguriert Variationen der Schriftart. Kann entweder ein boolescher Wert zum Aktivieren/Deaktivieren der \xDCbersetzung von \u201Efont-weight\u201C in \u201Efont-variation-settings\u201C oder eine Zeichenfolge f\xFCr den Wert der CSS-Eigenschaft \u201Efont-variation-settings\u201C sein.","Legt die Schriftgr\xF6\xDFe in Pixeln fest.",'Es sind nur die Schl\xFCsselw\xF6rter "normal" und "bold" sowie Zahlen zwischen 1 und 1000 zul\xE4ssig.','Steuert die Schriftbreite. Akzeptiert die Schl\xFCsselw\xF6rter "normal" und "bold" sowie Zahlen zwischen 1 und 1000.',"Vorschauansicht der Ergebnisse anzeigen (Standardeinstellung)","Zum Hauptergebnis gehen und Vorschauansicht anzeigen","Wechseln Sie zum prim\xE4ren Ergebnis, und aktivieren Sie die Navigation ohne Vorschau zu anderen Ergebnissen.",'Diese Einstellung ist veraltet. Verwenden Sie stattdessen separate Einstellungen wie "editor.editor.gotoLocation.multipleDefinitions" oder "editor.editor.gotoLocation.multipleImplementations".','Legt das Verhalten des Befehls "Gehe zu Definition" fest, wenn mehrere Zielpositionen vorhanden sind','Legt das Verhalten des Befehls "Gehe zur Typdefinition" fest, wenn mehrere Zielpositionen vorhanden sind.','Legt das Verhalten des Befehls "Gehe zu Deklaration" fest, wenn mehrere Zielpositionen vorhanden sind.','Legt das Verhalten des Befehls "Gehe zu Implementierungen", wenn mehrere Zielspeicherorte vorhanden sind','Legt das Verhalten des Befehls "Gehe zu Verweisen" fest, wenn mehrere Zielpositionen vorhanden sind','Die alternative Befehls-ID, die ausgef\xFChrt wird, wenn das Ergebnis von "Gehe zu Definition" die aktuelle Position ist.','Die alternative Befehls-ID, die ausgef\xFChrt wird, wenn das Ergebnis von "Gehe zu Typdefinition" die aktuelle Position ist.','Die alternative Befehls-ID, die ausgef\xFChrt wird, wenn das Ergebnis von "Gehe zu Deklaration" der aktuelle Speicherort ist.','Die alternative Befehls-ID, die ausgef\xFChrt wird, wenn das Ergebnis von "Gehe zu Implementatierung" der aktuelle Speicherort ist.','Die alternative Befehls-ID, die ausgef\xFChrt wird, wenn das Ergebnis von "Gehe zu Verweis" die aktuelle Position ist.',"Steuert, ob die Hovermarkierung angezeigt wird.","Steuert die Verz\xF6gerung in Millisekunden, nach der die Hovermarkierung angezeigt wird.","Steuert, ob die Hovermarkierung sichtbar bleiben soll, wenn der Mauszeiger dar\xFCber bewegt wird.",'Steuert die Verz\xF6gerung in Millisekunden, nach der die Hovermarkierung ausgeblendet wird. Erfordert die Aktivierung von "editor.hover.sticky".',"Zeigen Sie den Mauszeiger lieber \xFCber der Linie an, wenn Platz vorhanden ist.","Es wird angenommen, dass alle Zeichen gleich breit sind. Dies ist ein schneller Algorithmus, der f\xFCr Festbreitenschriftarten und bestimmte Alphabete (wie dem lateinischen), bei denen die Glyphen gleich breit sind, korrekt funktioniert.","Delegiert die Berechnung von Umbruchpunkten an den Browser. Dies ist ein langsamer Algorithmus, der bei gro\xDFen Dateien Code Freezes verursachen kann, aber in allen F\xE4llen korrekt funktioniert.",'Steuert den Algorithmus, der Umbruchpunkte berechnet. Beachten Sie, dass "advanced" im Barrierefreiheitsmodus f\xFCr eine optimale Benutzererfahrung verwendet wird.',"Aktiviert das Gl\xFChlampensymbol f\xFCr Codeaktionen im Editor.","Zeigt die geschachtelten aktuellen Bereiche w\xE4hrend des Bildlaufs am oberen Rand des Editors an.","Definiert die maximale Anzahl fixierter Zeilen, die angezeigt werden sollen.","Legt das Modell fest, das zur Bestimmung der zu fixierenden Zeilen verwendet wird. Existiert das Gliederungsmodell nicht, wird auf das Modell des Folding Providers zur\xFCckgegriffen, der wiederum auf das Einr\xFCckungsmodell zur\xFCckgreift. Diese Reihenfolge wird in allen drei F\xE4llen beachtet.","Aktiviert das Scrollen des Widgets f\xFCr den fixierten Bildlauf mit der horizontalen Scrollleiste des Editors.","Aktiviert die Inlay-Hinweise im Editor.","Inlay-Hinweise sind aktiviert","Inlay-Hinweise werden standardm\xE4\xDFig angezeigt und ausgeblendet, wenn Sie {0} gedr\xFCckt halten","Inlayhinweise sind standardm\xE4\xDFig ausgeblendet. Sie werden angezeigt, wenn {0} gedr\xFCckt gehalten wird.","Inlay-Hinweise sind deaktiviert","Steuert den Schriftgrad von Einlapphinweisen im Editor. Standardm\xE4\xDFig wird die {0} verwendet, wenn der konfigurierte Wert kleiner als {1} oder gr\xF6\xDFer als der Schriftgrad des Editors ist.",'Steuert die Schriftartfamilie von Einlapphinweisen im Editor. Bei Festlegung auf "leer" wird die {0} verwendet.',"Aktiviert den Abstand um die Inlay-Hinweise im Editor.",`Steuert die Zeilenh\xF6he. \r + \u2013 Verwenden Sie 0, um die Zeilenh\xF6he automatisch anhand des Schriftgrads zu berechnen.\r + \u2013 Werte zwischen 0 und 8 werden als Multiplikator mit dem Schriftgrad verwendet.\r + \u2013 Werte gr\xF6\xDFer oder gleich 8 werden als effektive Werte verwendet.`,"Steuert, ob die Minimap angezeigt wird.","Steuert, ob die Minimap automatisch ausgeblendet wird.","Die Minimap hat die gleiche Gr\xF6\xDFe wie der Editor-Inhalt (und kann scrollen).","Die Minimap wird bei Bedarf vergr\xF6\xDFert oder verkleinert, um die H\xF6he des Editors zu f\xFCllen (kein Scrollen).","Die Minimap wird bei Bedarf verkleinert, damit sie nicht gr\xF6\xDFer als der Editor ist (kein Scrollen).","Legt die Gr\xF6\xDFe der Minimap fest.","Steuert die Seite, wo die Minimap gerendert wird.","Steuert, wann der Schieberegler f\xFCr die Minimap angezeigt wird.","Ma\xDFstab des in der Minimap gezeichneten Inhalts: 1, 2 oder 3.","Die tats\xE4chlichen Zeichen in einer Zeile rendern im Gegensatz zu Farbbl\xF6cken.","Begrenzen Sie die Breite der Minimap, um nur eine bestimmte Anzahl von Spalten zu rendern.","Steuert den Abstand zwischen dem oberen Rand des Editors und der ersten Zeile.","Steuert den Abstand zwischen dem unteren Rand des Editors und der letzten Zeile.","Aktiviert ein Pop-up, das Dokumentation und Typ eines Parameters anzeigt w\xE4hrend Sie tippen.","Steuert, ob das Men\xFC mit Parameterhinweisen zyklisch ist oder sich am Ende der Liste schlie\xDFt.","Schnelle Vorschl\xE4ge werden im Vorschlagswidget angezeigt","Schnelle Vorschl\xE4ge werden als inaktiver Text angezeigt","Schnelle Vorschl\xE4ge sind deaktiviert","Schnellvorschl\xE4ge innerhalb von Zeichenfolgen aktivieren.","Schnellvorschl\xE4ge innerhalb von Kommentaren aktivieren.","Schnellvorschl\xE4ge au\xDFerhalb von Zeichenfolgen und Kommentaren aktivieren.","Steuert, ob Vorschl\xE4ge w\xE4hrend des Tippens automatisch angezeigt werden sollen. Dies kann bei der Eingabe von Kommentaren, Zeichenketten und anderem Code kontrolliert werden. Schnellvorschl\xE4ge k\xF6nnen so konfiguriert werden, dass sie als Geistertext oder mit dem Vorschlags-Widget angezeigt werden. Beachten Sie auch die '{0}'-Einstellung, die steuert, ob Vorschl\xE4ge durch Sonderzeichen ausgel\xF6st werden.","Zeilennummern werden nicht dargestellt.","Zeilennummern werden als absolute Zahl dargestellt.","Zeilennummern werden als Abstand in Zeilen an Cursorposition dargestellt.","Zeilennummern werden alle 10 Zeilen dargestellt.","Steuert die Anzeige von Zeilennummern.","Anzahl der Zeichen aus Festbreitenschriftarten, ab der dieses Editor-Lineal gerendert wird.","Farbe dieses Editor-Lineals.","Vertikale Linien nach einer bestimmten Anzahl von Monospacezeichen rendern. Verwenden Sie mehrere Werte f\xFCr mehrere Linien. Wenn das Array leer ist, werden keine Linien gerendert.","Die vertikale Bildlaufleiste wird nur bei Bedarf angezeigt.","Die vertikale Bildlaufleiste ist immer sichtbar.","Die vertikale Bildlaufleiste wird immer ausgeblendet.","Steuert die Sichtbarkeit der vertikalen Bildlaufleiste.","Die horizontale Bildlaufleiste wird nur bei Bedarf angezeigt.","Die horizontale Bildlaufleiste ist immer sichtbar.","Die horizontale Bildlaufleiste wird immer ausgeblendet.","Steuert die Sichtbarkeit der horizontalen Bildlaufleiste.","Die Breite der vertikalen Bildlaufleiste.","Die H\xF6he der horizontalen Bildlaufleiste.","Steuert, ob Klicks nach Seite scrollen oder zur Klickposition springen.","Legt fest, ob alle nicht einfachen ASCII-Zeichen hervorgehoben werden. Nur Zeichen zwischen U+0020 und U+007E, Tabulator, Zeilenvorschub und Wagenr\xFCcklauf gelten als einfache ASCII-Zeichen.","Legt fest, ob Zeichen, die nur als Platzhalter dienen oder \xFCberhaupt keine Breite haben, hervorgehoben werden.","Legt fest, ob Zeichen hervorgehoben werden, die mit einfachen ASCII-Zeichen verwechselt werden k\xF6nnen, mit Ausnahme derjenigen, die im aktuellen Gebietsschema des Benutzers \xFCblich sind.","Steuert, ob Zeichen in Kommentaren auch mit Unicode-Hervorhebung versehen werden sollen.","Steuert, ob Zeichen in Zeichenfolgen auch mit Unicode-Hervorhebung versehen werden sollen.","Definiert zul\xE4ssige Zeichen, die nicht hervorgehoben werden.","Unicodezeichen, die in zul\xE4ssigen Gebietsschemas \xFCblich sind, werden nicht hervorgehoben.","Steuert, ob Inline-Vorschl\xE4ge automatisch im Editor angezeigt werden.","Die Symbolleiste \u201EInline-Vorschlag\u201C anzeigen, wenn ein Inline-Vorschlag angezeigt wird.","Die Symbolleiste \u201EInline-Vorschlag\u201C anzeigen, wenn Sie mit dem Mauszeiger auf einen Inline-Vorschlag zeigen.","Steuert, wann die Inlinevorschlagssymbolleiste angezeigt werden soll.","Steuert, wie Inlinevorschl\xE4ge mit dem Vorschlagswidget interagieren. Wenn diese Option aktiviert ist, wird das Vorschlagswidget nicht automatisch angezeigt, wenn Inlinevorschl\xE4ge verf\xFCgbar sind.","Steuert, ob die Klammerpaar-Farbgebung aktiviert ist oder nicht. Verwenden Sie {0}, um die Hervorhebungsfarben der Klammer zu \xFCberschreiben.","Steuert, ob jeder Klammertyp \xFCber einen eigenen unabh\xE4ngigen Farbpool verf\xFCgt.","Aktiviert Klammernpaarf\xFChrungslinien.","Aktiviert Klammernpaarf\xFChrungslinien nur f\xFCr das aktive Klammerpaar.","Deaktiviert Klammernpaarf\xFChrungslinien.","Steuert, ob F\xFChrungslinien f\xFCr Klammerpaare aktiviert sind oder nicht.","Aktiviert horizontale F\xFChrungslinien als Erg\xE4nzung zu vertikalen Klammernpaarf\xFChrungslinien.","Aktiviert horizontale F\xFChrungslinien nur f\xFCr das aktive Klammerpaar.","Deaktiviert horizontale F\xFChrungslinien f\xFCr Klammernpaare.","Steuert, ob horizontale F\xFChrungslinien f\xFCr Klammernpaare aktiviert sind oder nicht.","Steuert, ob der Editor das aktive Klammerpaar hervorheben soll.","Steuert, ob der Editor Einzugsf\xFChrungslinien rendern soll.","Hebt die aktive Einzugsf\xFChrung hervor.","Hebt die aktive Einzugshilfslinie hervor, selbst wenn Klammerhilfslinien hervorgehoben sind.","Heben Sie die aktive Einzugshilfslinie nicht hervor.","Steuert, ob der Editor die aktive Einzugsf\xFChrungslinie hevorheben soll.","Vorschlag einf\xFCgen, ohne den Text auf der rechten Seite des Cursors zu \xFCberschreiben","Vorschlag einf\xFCgen und Text auf der rechten Seite des Cursors \xFCberschreiben","Legt fest, ob W\xF6rter beim Akzeptieren von Vervollst\xE4ndigungen \xFCberschrieben werden. Beachten Sie, dass dies von Erweiterungen abh\xE4ngt, die f\xFCr dieses Features aktiviert sind.","Steuert, ob Filter- und Suchvorschl\xE4ge geringf\xFCgige Tippfehler ber\xFCcksichtigen.","Steuert, ob bei der Sortierung W\xF6rter priorisiert werden, die in der N\xE4he des Cursors stehen.",'Steuert, ob gespeicherte Vorschlagauswahlen in verschiedenen Arbeitsbereichen und Fenstern gemeinsam verwendet werden (daf\xFCr ist "#editor.suggestSelection#" erforderlich).',"W\xE4hlen Sie immer einen Vorschlag aus, wenn IntelliSense automatisch ausgel\xF6st wird.","W\xE4hlen Sie niemals einen Vorschlag aus, wenn IntelliSense automatisch ausgel\xF6st wird.","W\xE4hlen Sie einen Vorschlag nur aus, wenn IntelliSense aus einem Triggerzeichen ausgel\xF6st wird.","W\xE4hlen Sie einen Vorschlag nur aus, wenn Sie IntelliSense w\xE4hrend der Eingabe ausl\xF6sen.",'Steuert, ob ein Vorschlag ausgew\xE4hlt wird, wenn das Widget angezeigt wird. Beachten Sie, dass dies nur f\xFCr automatisch ausgel\xF6ste Vorschl\xE4ge gilt ("#editor.quickSuggestions#" und "#editor.suggestOnTriggerCharacters#"), und dass ein Vorschlag immer ausgew\xE4hlt wird, wenn er explizit aufgerufen wird, z. B. \xFCber STRG+LEERTASTE.','Steuert, ob ein aktiver Schnipsel verhindert, dass der Bereich "Schnelle Vorschl\xE4ge" angezeigt wird.',"Steuert, ob Symbole in Vorschl\xE4gen ein- oder ausgeblendet werden.","Steuert die Sichtbarkeit der Statusleiste unten im Vorschlagswidget.","Steuert, ob das Ergebnis des Vorschlags im Editor in der Vorschau angezeigt werden soll.","Steuert, ob Vorschlagsdetails inline mit der Bezeichnung oder nur im Detailwidget angezeigt werden.","Diese Einstellung ist veraltet. Die Gr\xF6\xDFe des Vorschlagswidgets kann jetzt ge\xE4ndert werden.",'Diese Einstellung ist veraltet. Verwenden Sie stattdessen separate Einstellungen wie "editor.suggest.showKeywords" oder "editor.suggest.showSnippets".','Wenn aktiviert, zeigt IntelliSense "method"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "funktions"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "constructor"-Vorschl\xE4ge an.',"Wenn IntelliSense aktiviert ist, werden \u201Everaltete\u201C Vorschl\xE4ge angezeigt.","Wenn dies aktiviert ist, erfordert die IntelliSense-Filterung, dass das erste Zeichen mit einem Wortanfang \xFCbereinstimmt, z.\xA0B. \u201Ec\u201C in \u201EConsole\u201C oder \u201EWebContext\u201C, aber _nicht_ bei \u201Edescription\u201C. Wenn diese Option deaktiviert ist, zeigt IntelliSense mehr Ergebnisse an, sortiert sie aber weiterhin nach der \xDCbereinstimmungsqualit\xE4t.",'Wenn aktiviert, zeigt IntelliSense "field"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "variable"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "class"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "struct"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "interface"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "module"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "property"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "event"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "operator"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "unit"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "value"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "constant"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "enum"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "enumMember"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "keyword"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "text"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "color"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "file"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "reference"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "customcolor"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "folder"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "typeParameter"-Vorschl\xE4ge an.','Wenn aktiviert, zeigt IntelliSense "snippet"-Vorschl\xE4ge an.',"Wenn aktiviert, zeigt IntelliSense user-Vorschl\xE4ge an.","Wenn aktiviert, zeigt IntelliSense issues-Vorschl\xE4ge an.","Gibt an, ob f\xFChrende und nachstehende Leerzeichen immer ausgew\xE4hlt werden sollen.",'Gibt an, ob Unterw\xF6rter (z.\xA0B. "foo" in "fooBar" oder "foo_bar") ausgew\xE4hlt werden sollen.',"Kein Einzug. Umbrochene Zeilen beginnen bei Spalte 1.","Umbrochene Zeilen erhalten den gleichen Einzug wie das \xFCbergeordnete Element.","Umbrochene Zeilen erhalten + 1 Einzug auf das \xFCbergeordnete Element.","Umgebrochene Zeilen werden im Vergleich zum \xFCbergeordneten Element +2 einger\xFCckt.","Steuert die Einr\xFCckung der umbrochenen Zeilen.","Steuert, ob Sie eine Datei in einen Editor ziehen und ablegen k\xF6nnen, indem Sie die UMSCHALTTASTE gedr\xFCckt halten (anstatt die Datei in einem Editor zu \xF6ffnen).","Steuert, ob beim Ablegen von Dateien im Editor ein Widget angezeigt wird. Mit diesem Widget k\xF6nnen Sie steuern, wie die Datei ablegt wird.","Zeigt das Widget f\xFCr die Dropdownauswahl an, nachdem eine Datei im Editor abgelegt wurde.","Das Widget f\xFCr die Ablageauswahl wird nie angezeigt. Stattdessen wird immer der Standardablageanbieter verwendet.","Steuert, ob Sie Inhalte auf unterschiedliche Weise einf\xFCgen k\xF6nnen.","Steuert, ob beim Einf\xFCgen von Inhalt im Editor ein Widget angezeigt wird. Mit diesem Widget k\xF6nnen Sie steuern, wie die Datei eingef\xFCgt wird.","Das Widget f\xFCr die Einf\xFCgeauswahl anzeigen, nachdem der Inhalt in den Editor eingef\xFCgt wurde.","Das Widget f\xFCr die Einf\xFCgeauswahl wird nie angezeigt. Stattdessen wird immer das Standardeinf\xFCgeverhalten verwendet.",'Steuert, ob Vorschl\xE4ge \xFCber Commitzeichen angenommen werden sollen. In JavaScript kann ein Semikolon (";") beispielsweise ein Commitzeichen sein, das einen Vorschlag annimmt und dieses Zeichen eingibt.',"Einen Vorschlag nur mit der EINGABETASTE akzeptieren, wenn dieser eine \xC4nderung am Text vornimmt.","Steuert, ob Vorschl\xE4ge mit der EINGABETASTE (zus\xE4tzlich zur TAB-Taste) akzeptiert werden sollen. Vermeidet Mehrdeutigkeit zwischen dem Einf\xFCgen neuer Zeilen oder dem Annehmen von Vorschl\xE4gen.","Steuert die Anzahl von Zeilen im Editor, die von einer Sprachausgabe in einem Arbeitsschritt gelesen werden k\xF6nnen. Wenn eine Sprachausgabe erkannt wird, wird der Standardwert automatisch auf 500 festgelegt. Warnung: Ein Wert h\xF6her als der Standardwert, kann sich auf die Leistung auswirken.","Editor-Inhalt","Steuern Sie, ob Inlinevorschl\xE4ge von einer Sprachausgabe angek\xFCndigt werden.","Verwenden Sie Sprachkonfigurationen, um zu bestimmen, wann Klammern automatisch geschlossen werden sollen.","Schlie\xDFe Klammern nur automatisch, wenn der Cursor sich links von einem Leerzeichen befindet.","Steuert, ob der Editor automatisch Klammern schlie\xDFen soll, nachdem der Benutzer eine \xF6ffnende Klammer hinzugef\xFCgt hat.","Verwenden Sie Sprachkonfigurationen, um festzulegen, wann Kommentare automatisch geschlossen werden sollen.","Kommentare werden nur dann automatisch geschlossen, wenn sich der Cursor links von einem Leerraum befindet.","Steuert, ob der Editor Kommentare automatisch schlie\xDFen soll, nachdem die Benutzer*innen einen ersten Kommentar hinzugef\xFCgt haben.","Angrenzende schlie\xDFende Anf\xFChrungszeichen oder Klammern werden nur \xFCberschrieben, wenn sie automatisch eingef\xFCgt wurden.","Steuert, ob der Editor angrenzende schlie\xDFende Anf\xFChrungszeichen oder Klammern beim L\xF6schen entfernen soll.","Schlie\xDFende Anf\xFChrungszeichen oder Klammern werden nur \xFCberschrieben, wenn sie automatisch eingef\xFCgt wurden.","Steuert, ob der Editor schlie\xDFende Anf\xFChrungszeichen oder Klammern \xFCberschreiben soll.","Verwende die Sprachkonfiguration, um zu ermitteln, wann Anf\xFChrungsstriche automatisch geschlossen werden.","Schlie\xDFende Anf\xFChrungszeichen nur dann automatisch erg\xE4nzen, wenn der Cursor sich links von einem Leerzeichen befindet.","Steuert, ob der Editor Anf\xFChrungszeichen automatisch schlie\xDFen soll, nachdem der Benutzer ein \xF6ffnendes Anf\xFChrungszeichen hinzugef\xFCgt hat.","Der Editor f\xFCgt den Einzug nicht automatisch ein.","Der Editor beh\xE4lt den Einzug der aktuellen Zeile bei.","Der Editor beh\xE4lt den in der aktuellen Zeile definierten Einzug bei und beachtet f\xFCr Sprachen definierte Klammern.","Der Editor beh\xE4lt den Einzug der aktuellen Zeile bei, beachtet von Sprachen definierte Klammern und ruft spezielle onEnterRules-Regeln auf, die von Sprachen definiert wurden.","Der Editor beh\xE4lt den Einzug der aktuellen Zeile bei, beachtet die von Sprachen definierten Klammern, ruft von Sprachen definierte spezielle onEnterRules-Regeln auf und beachtet von Sprachen definierte indentationRules-Regeln.","Legt fest, ob der Editor den Einzug automatisch anpassen soll, wenn Benutzer Zeilen eingeben, einf\xFCgen, verschieben oder einr\xFCcken","Sprachkonfigurationen verwenden, um zu bestimmen, wann eine Auswahl automatisch umschlossen werden soll.","Mit Anf\xFChrungszeichen, nicht mit Klammern umschlie\xDFen.","Mit Klammern, nicht mit Anf\xFChrungszeichen umschlie\xDFen.","Steuert, ob der Editor die Auswahl beim Eingeben von Anf\xFChrungszeichen oder Klammern automatisch umschlie\xDFt.","Emuliert das Auswahlverhalten von Tabstoppzeichen, wenn Leerzeichen f\xFCr den Einzug verwendet werden. Die Auswahl wird an Tabstopps ausgerichtet.","Steuert, ob der Editor CodeLens anzeigt.","Steuert die Schriftfamilie f\xFCr CodeLens.","Steuert den Schriftgrad in Pixeln f\xFCr CodeLens. Bei Festlegung auf \u201E0, 90\xA0% von \u201E#editor.fontSize#\u201C verwendet.","Steuert, ob der Editor die Inline-Farbdecorators und die Farbauswahl rendern soll.","Farbauswahl sowohl beim Klicken als auch beim Daraufzeigen des Farbdekorators anzeigen","Farbauswahl beim Draufzeigen auf den Farbdekorator anzeigen","Farbauswahl beim Klicken auf den Farbdekorator anzeigen","Steuert die Bedingung, damit eine Farbauswahl aus einem Farbdekorator angezeigt wird.","Steuert die maximale Anzahl von Farb-Decorators, die in einem Editor gleichzeitig gerendert werden k\xF6nnen.","Zulassen, dass die Auswahl per Maus und Tasten die Spaltenauswahl durchf\xFChrt.","Steuert, ob Syntax-Highlighting in die Zwischenablage kopiert wird.","Steuert den Cursoranimationsstil.","Die Smooth Caret-Animation ist deaktiviert.","Die Smooth Caret-Animation ist nur aktiviert, wenn der Benutzer den Cursor mit einer expliziten Geste bewegt.","Die Smooth Caret-Animation ist immer aktiviert.","Steuert, ob die weiche Cursoranimation aktiviert werden soll.","Steuert den Cursor-Stil.","Steuert die Mindestanzahl sichtbarer f\xFChrender Zeilen\xA0(mindestens\xA00) und nachfolgender Zeilen\xA0(mindestens\xA01) um den Cursor. Dies wird in einigen anderen Editoren als \u201EscrollOff\u201C oder \u201EscrollOffset\u201C bezeichnet.",'"cursorSurroundingLines" wird nur erzwungen, wenn die Ausl\xF6sung \xFCber die Tastatur oder API erfolgt.','"cursorSurroundingLines" wird immer erzwungen.','Steuert, wann "#cursorSurroundingLines#" erzwungen werden soll.',"Steuert die Breite des Cursors, wenn `#editor.cursorStyle#` auf `line` festgelegt ist.","Steuert, ob der Editor das Verschieben einer Auswahl per Drag and Drop zul\xE4sst.","Verwenden Sie eine neue Rendering-Methode mit SVGs.","Verwenden Sie eine neue Rendering-Methode mit Schriftartzeichen.","Verwenden Sie die stabile Rendering-Methode.","Steuert, ob Leerzeichen mit einer neuen experimentellen Methode gerendert werden.","Multiplikator f\xFCr Scrollgeschwindigkeit bei Dr\xFCcken von ALT.","Steuert, ob Codefaltung im Editor aktiviert ist.","Verwenden Sie eine sprachspezifische Faltstrategie, falls verf\xFCgbar. Andernfalls wird eine einzugsbasierte verwendet.","Einzugsbasierte Faltstrategie verwenden.","Steuert die Strategie f\xFCr die Berechnung von Faltbereichen.","Steuert, ob der Editor eingefaltete Bereiche hervorheben soll.","Steuert, ob der Editor Importbereiche automatisch reduziert.","Die maximale Anzahl von faltbaren Regionen. Eine Erh\xF6hung dieses Werts kann dazu f\xFChren, dass der Editor weniger reaktionsf\xE4hig wird, wenn die aktuelle Quelle eine gro\xDFe Anzahl von faltbaren Regionen aufweist.","Steuert, ob eine Zeile aufgefaltet wird, wenn nach einer gefalteten Zeile auf den leeren Inhalt geklickt wird.","Steuert die Schriftfamilie.","Steuert, ob der Editor den eingef\xFCgten Inhalt automatisch formatieren soll. Es muss ein Formatierer vorhanden sein, der in der Lage ist, auch Dokumentbereiche zu formatieren.","Steuert, ob der Editor die Zeile nach der Eingabe automatisch formatieren soll.","Steuert, ob der Editor den vertikalen Glyphenrand rendert. Der Glyphenrand wird haupts\xE4chlich zum Debuggen verwendet.","Steuert, ob der Cursor im \xDCbersichtslineal ausgeblendet werden soll.","Legt den Abstand der Buchstaben in Pixeln fest.","Steuert, ob die verkn\xFCpfte Bearbeitung im Editor aktiviert ist. Abh\xE4ngig von der Sprache werden zugeh\xF6rige Symbole, z.\xA0B. HTML-Tags, w\xE4hrend der Bearbeitung aktualisiert.","Steuert, ob der Editor Links erkennen und anklickbar machen soll.","Passende Klammern hervorheben",'Ein Multiplikator, der f\xFCr die Mausrad-Bildlaufereignisse "deltaX" und "deltaY" verwendet werden soll.',"Schriftart des Editors vergr\xF6\xDFern, wenn das Mausrad verwendet und die STRG-TASTE gedr\xFCckt wird.","Mehrere Cursor zusammenf\xFChren, wenn sie sich \xFCberlappen.","Ist unter Windows und Linux der STRG-Taste und unter macOS der Befehlstaste zugeordnet.","Ist unter Windows und Linux der ALT-Taste und unter macOS der Wahltaste zugeordnet.",'Der Modifizierer, der zum Hinzuf\xFCgen mehrerer Cursor mit der Maus verwendet werden soll. Die Mausgesten "Gehe zu Definition" und "Link \xF6ffnen" werden so angepasst, dass sie nicht mit dem [Multicursormodifizierer](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-Modifizierer) in Konflikt stehen.',"Jeder Cursor f\xFCgt eine Textzeile ein.","Jeder Cursor f\xFCgt den vollst\xE4ndigen Text ein.","Steuert das Einf\xFCgen, wenn die Zeilenanzahl des Einf\xFCgetexts der Cursor-Anzahl entspricht.","Steuert die maximale Anzahl von Cursorn, die sich gleichzeitig in einem aktiven Editor befindet.","Steuert, ob der Editor das Vorkommen semantischer Symbole hervorheben soll.","Steuert, ob um das \xDCbersichtslineal ein Rahmen gezeichnet werden soll.","Struktur beim \xD6ffnen des Peek-Editors fokussieren","Editor fokussieren, wenn Sie den Peek-Editor \xF6ffnen","Steuert, ob der Inline-Editor oder die Struktur im Peek-Widget fokussiert werden soll.",'Steuert, ob die Mausgeste "Gehe zu Definition" immer das Vorschauwidget \xF6ffnet.',"Steuert die Verz\xF6gerung in Millisekunden nach der Schnellvorschl\xE4ge angezeigt werden.","Steuert, ob der Editor bei Eingabe automatisch eine Umbenennung vornimmt.",'Veraltet. Verwenden Sie stattdessen "editor.linkedEditing".',"Steuert, ob der Editor Steuerzeichen rendern soll.","Letzte Zeilennummer rendern, wenn die Datei mit einem Zeilenumbruch endet.","Hebt den Bundsteg und die aktuelle Zeile hervor.","Steuert, wie der Editor die aktuelle Zeilenhervorhebung rendern soll.","Steuert, ob der Editor die aktuelle Zeilenhervorhebung nur dann rendern soll, wenn der Fokus auf dem Editor liegt.","Leerraumzeichen werden gerendert mit Ausnahme der einzelnen Leerzeichen zwischen W\xF6rtern.","Hiermit werden Leerraumzeichen nur f\xFCr ausgew\xE4hlten Text gerendert.","Nur nachstehende Leerzeichen rendern","Steuert, wie der Editor Leerzeichen rendern soll.","Steuert, ob eine Auswahl abgerundete Ecken aufweisen soll.","Steuert die Anzahl der zus\xE4tzlichen Zeichen, nach denen der Editor horizontal scrollt.","Steuert, ob der Editor jenseits der letzten Zeile scrollen wird.","Nur entlang der vorherrschenden Achse scrollen, wenn gleichzeitig vertikal und horizontal gescrollt wird. Dadurch wird ein horizontaler Versatz beim vertikalen Scrollen auf einem Trackpad verhindert.","Steuert, ob die prim\xE4re Linux-Zwischenablage unterst\xFCtzt werden soll.","Steuert, ob der Editor \xDCbereinstimmungen hervorheben soll, die der Auswahl \xE4hneln.","Steuerelemente f\xFCr die Codefaltung immer anzeigen.","Zeigen Sie niemals die Faltungssteuerelemente an, und verringern Sie die Gr\xF6\xDFe des Bundstegs.","Steuerelemente f\xFCr die Codefaltung nur anzeigen, wenn sich die Maus \xFCber dem Bundsteg befindet.","Steuert, wann die Steuerungselemente f\xFCr die Codefaltung am Bundsteg angezeigt werden.","Steuert das Ausblenden von nicht verwendetem Code.","Steuert durchgestrichene veraltete Variablen.","Zeige Schnipselvorschl\xE4ge \xFCber den anderen Vorschl\xE4gen.","Schnipselvorschl\xE4ge unter anderen Vorschl\xE4gen anzeigen.","Zeige Schnipselvorschl\xE4ge mit anderen Vorschl\xE4gen.","Keine Schnipselvorschl\xE4ge anzeigen.","Steuert, ob Codeschnipsel mit anderen Vorschl\xE4gen angezeigt und wie diese sortiert werden.","Legt fest, ob der Editor Bildl\xE4ufe animiert ausf\xFChrt.","Steuert, ob f\xFCr Benutzer*innen, die eine Sprachausgabe nutzen, bei Anzeige einer Inlinevervollst\xE4ndigung ein Hinweis zur Barrierefreiheit angezeigt werden soll.","Schriftgrad f\xFCr das Vorschlagswidget. Bei Festlegung auf {0} wird der Wert von {1} verwendet.","Zeilenh\xF6he f\xFCr das Vorschlagswidget. Bei Festlegung auf {0} wird der Wert von {1} verwendet. Der Mindestwert ist 8.","Steuert, ob Vorschl\xE4ge automatisch angezeigt werden sollen, wenn Triggerzeichen eingegeben werden.","Immer den ersten Vorschlag ausw\xE4hlen.",'W\xE4hlen Sie die aktuellsten Vorschl\xE4ge aus, es sei denn, es wird ein Vorschlag durch eine weitere Eingabe ausgew\xE4hlt, z.B. "console.| -> console.log", weil "log" vor Kurzem abgeschlossen wurde.','W\xE4hlen Sie Vorschl\xE4ge basierend auf fr\xFCheren Pr\xE4fixen aus, die diese Vorschl\xE4ge abgeschlossen haben, z.B. "co -> console" und "con ->" const".',"Steuert, wie Vorschl\xE4ge bei Anzeige der Vorschlagsliste vorab ausgew\xE4hlt werden.","Die Tab-Vervollst\xE4ndigung f\xFCgt den passendsten Vorschlag ein, wenn auf Tab gedr\xFCckt wird.","Tab-Vervollst\xE4ndigungen deaktivieren.",'Codeschnipsel per Tab vervollst\xE4ndigen, wenn die Pr\xE4fixe \xFCbereinstimmen. Funktioniert am besten, wenn "quickSuggestions" deaktiviert sind.',"Tab-Vervollst\xE4ndigungen aktivieren.","Ungew\xF6hnliche Zeilenabschlusszeichen werden automatisch entfernt.","Ungew\xF6hnliche Zeilenabschlusszeichen werden ignoriert.","Zum Entfernen ungew\xF6hnlicher Zeilenabschlusszeichen wird eine Eingabeaufforderung angezeigt.","Entfernen Sie un\xFCbliche Zeilenabschlusszeichen, die Probleme verursachen k\xF6nnen.","Das Einf\xFCgen und L\xF6schen von Leerzeichen erfolgt nach Tabstopps.","Verwenden Sie die Standardregel f\xFCr Zeilenumbr\xFCche.","Trennstellen d\xFCrfen nicht f\xFCr Texte in Chinesisch/Japanisch/Koreanisch (CJK) verwendet werden. Das Verhalten von Nicht-CJK-Texten ist mit dem f\xFCr normales Verhalten identisch.","Steuert die Regeln f\xFCr Trennstellen, die f\xFCr Texte in Chinesisch/Japanisch/Koreanisch (CJK) verwendet werden.","Zeichen, die als Worttrennzeichen verwendet werden, wenn wortbezogene Navigationen oder Vorg\xE4nge ausgef\xFChrt werden.","Zeilenumbr\xFCche erfolgen nie.","Der Zeilenumbruch erfolgt an der Breite des Anzeigebereichs.",'Der Zeilenumbruch erfolgt bei "#editor.wordWrapColumn#".','Der Zeilenumbruch erfolgt beim Mindestanzeigebereich und "#editor.wordWrapColumn".',"Steuert, wie der Zeilenumbruch durchgef\xFChrt werden soll.",'Steuert die umschlie\xDFende Spalte des Editors, wenn "#editor.wordWrap#" den Wert "wordWrapColumn" oder "bounded" aufweist.',"Steuert, ob Inlinefarbdekorationen mithilfe des Standard-Dokumentfarbanbieters angezeigt werden sollen.","Steuert, ob der Editor Registerkarten empf\xE4ngt oder zur Navigation zur Workbench zur\xFCckgibt."],"vs/editor/common/core/editorColorRegistry":["Hintergrundfarbe zur Hervorhebung der Zeile an der Cursorposition.","Hintergrundfarbe f\xFCr den Rahmen um die Zeile an der Cursorposition.","Hintergrundfarbe der markierten Bereiche, wie z.B. Quick Open oder die Suche. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrundfarbe f\xFCr den Rahmen um hervorgehobene Bereiche.",'Hintergrundfarbe des hervorgehobenen Symbols, z. B. "Gehe zu Definition" oder "Gehe zu n\xE4chster/vorheriger". Die Farbe darf nicht undurchsichtig sein, um zugrunde liegende Dekorationen nicht zu verbergen.',"Hintergrundfarbe des Rahmens um hervorgehobene Symbole","Farbe des Cursors im Editor.","Hintergrundfarbe vom Editor-Cursor. Erlaubt die Anpassung der Farbe von einem Zeichen, welches von einem Block-Cursor \xFCberdeckt wird.","Farbe der Leerzeichen im Editor.","Zeilennummernfarbe im Editor.","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor.",'"editorIndentGuide.background" ist veraltet. Verwenden Sie stattdessen "editorIndentGuide.background1".',"Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor.",'"editorIndentGuide.activeBackground" ist veraltet. Verwenden Sie stattdessen "editorIndentGuide.activeBackground1".',"Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (1).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (2).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (3).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (4).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (5).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im Editor (6).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (1).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (2).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (3).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (4).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (5).","Farbe der F\xFChrungslinien f\xFCr Einz\xFCge im aktiven Editor (6).","Zeilennummernfarbe der aktiven Editorzeile.",'Die ID ist veraltet. Verwenden Sie stattdessen "editorLineNumber.activeForeground".',"Zeilennummernfarbe der aktiven Editorzeile.","Die Farbe der letzten Editor-Zeile, wenn \u201Eeditor.renderFinalNewline\u201C auf \u201Eabgeblendet\u201C festgelegt ist.","Farbe des Editor-Lineals.","Vordergrundfarbe der CodeLens-Links im Editor","Hintergrundfarbe f\xFCr zusammengeh\xF6rige Klammern","Farbe f\xFCr zusammengeh\xF6rige Klammern","Farbe des Rahmens f\xFCr das \xDCbersicht-Lineal.","Hintergrundfarbe des Editor-\xDCbersichtslineals.","Hintergrundfarbe der Editorleiste. Die Leiste enth\xE4lt die Glyphenr\xE4nder und die Zeilennummern.","Rahmenfarbe unn\xF6tigen (nicht genutzten) Quellcodes im Editor.",'Deckkraft des unn\xF6tigen (nicht genutzten) Quellcodes im Editor. "#000000c0" rendert z.B. den Code mit einer Deckkraft von 75%. Verwenden Sie f\xFCr Designs mit hohem Kontrast das Farbdesign "editorUnnecessaryCode.border", um unn\xF6tigen Code zu unterstreichen statt ihn abzublenden.',"Rahmenfarbe des Ghost-Texts im Editor.","Vordergrundfarbe des Ghost-Texts im Editor.","Hintergrundfarbe des Ghost-Texts im Editor.","\xDCbersichtslinealmarkerfarbe f\xFCr das Hervorheben von Bereichen. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","\xDCbersichtslineal-Markierungsfarbe f\xFCr Fehler.","\xDCbersichtslineal-Markierungsfarbe f\xFCr Warnungen.","\xDCbersichtslineal-Markierungsfarbe f\xFCr Informationen.","Vordergrundfarbe der Klammern (1). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der Klammern (2). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der Klammern (3). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der Klammern (4). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der Klammern (5). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der Klammern (6). Erfordert die Aktivierung der Farbgebung des Klammerpaars.","Vordergrundfarbe der unerwarteten Klammern.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (1). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (2). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (3). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (4). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (5). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der inaktiven Klammerpaar-Hilfslinien (6). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (1). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (2). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (3). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (4). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (5). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Hintergrundfarbe der aktiven Klammerpaar-Hilfslinien (6). Erfordert das Aktivieren von Klammerpaar-Hilfslinien.","Rahmenfarbe, die zum Hervorheben von Unicode-Zeichen verwendet wird.","Hintergrundfarbe, die zum Hervorheben von Unicode-Zeichen verwendet wird."],"vs/editor/common/editorContextKeys":["Gibt an, ob der Editor-Text den Fokus besitzt (Cursor blinkt).","Gibt an, ob der Editor oder ein Editor-Widget den Fokus besitzt (z.\xA0B. ob der Fokus sich im Suchwidget befindet).","Gibt an, ob ein Editor oder eine Rich-Text-Eingabe den Fokus besitzt (Cursor blinkt).","Gibt an, ob der Editor schreibgesch\xFCtzt ist","Gibt an, ob der Kontext ein Diff-Editor ist.","Gibt an, ob der Kontext ein eingebetteter Diff-Editor ist.","Gibt an, ob ein verschobener Codeblock f\xFCr den Vergleich ausgew\xE4hlt wird.","Gibt an, ob der barrierefreie Diff-Viewer sichtbar ist.",'Gibt an, ob f\xFCr den Diff-Editor der Breakpoint f\xFCr das Rendern im Modus "Parallel" oder "Inline" erreicht wurde.','Gibt an, ob "editor.columnSelection" aktiviert ist.',"Gibt an, ob im Editor Text ausgew\xE4hlt ist.","Gibt an, ob der Editor \xFCber Mehrfachauswahl verf\xFCgt.","Gibt an, ob die TAB-TASTE den Fokus aus dem Editor verschiebt.","Gibt an, ob Hover im Editor sichtbar ist.","Gibt an, ob Daraufzeigen im Editor fokussiert ist.","Gibt an, ob der Fokus auf dem Fixierten Bildlauf liegt.","Gibt an, ob der Fixierte Bildlauf sichtbar ist.","Gibt an, ob der eigenst\xE4ndige Farbw\xE4hler sichtbar ist.","Gibt an, ob der eigenst\xE4ndige Farbw\xE4hler fokussiert ist.","Gibt an, ob der Editor Bestandteil eines gr\xF6\xDFeren Editors ist (z.\xA0B. Notebooks).","Der Sprachbezeichner des Editors.","Gibt an, ob der Editor \xFCber einen Vervollst\xE4ndigungselementanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Codeaktionsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen CodeLens-Anbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Definitionsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Deklarationsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Implementierungsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Typdefinitionsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Hoveranbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Dokumenthervorhebungsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Dokumentsymbolanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Verweisanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Umbenennungsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Signaturhilfeanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Inlinehinweisanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Dokumentformatierungsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber einen Anbieter f\xFCr Dokumentauswahlformatierung verf\xFCgt.","Gibt an, ob der Editor \xFCber mehrere Dokumentformatierungsanbieter verf\xFCgt.","Gibt an, ob der Editor \xFCber mehrere Anbieter f\xFCr Dokumentauswahlformatierung verf\xFCgt."],"vs/editor/common/languages":["Array","Boolescher Wert","Klasse","Konstante","Konstruktor","Enumeration","Enumerationsmember","Ereignis","Feld","Datei","Funktion","Schnittstelle","Schl\xFCssel","Methode","Modul","Namespace","NULL","Zahl","Objekt","Operator","Paket","Eigenschaft","Zeichenfolge","Struktur","Typparameter","Variable","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["Nur-Text"],"vs/editor/common/model/editStack":["Eingabe"],"vs/editor/common/standaloneStrings":["Entwickler: Token \xFCberpr\xFCfen","Gehe zu Zeile/Spalte...","Alle Anbieter f\xFCr den Schnellzugriff anzeigen","Befehlspalette","Befehle anzeigen und ausf\xFChren","Gehe zu Symbol...","Gehe zu Symbol nach Kategorie...","Editor-Inhalt","Dr\xFCcken Sie ALT + F1, um die Barrierefreiheitsoptionen aufzurufen.","Zu Design mit hohem Kontrast umschalten","{0} Bearbeitungen in {1} Dateien durchgef\xFChrt"],"vs/editor/common/viewLayout/viewLineRenderer":["Mehr anzeigen ({0})","{0} Zeichen"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["Auswahlanker",'Anker festgelegt bei "{0}:{1}"',"Auswahlanker festlegen","Zu Auswahlanker wechseln","Auswahl von Anker zu Cursor","Auswahlanker abbrechen"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\xDCbersichtslineal-Markierungsfarbe f\xFCr zusammengeh\xF6rige Klammern.","Gehe zu Klammer","Ausw\xE4hlen bis Klammer","Klammern entfernen","Gehe zu &&Klammer"],"vs/editor/contrib/caretOperations/browser/caretOperations":["Ausgew\xE4hlten Text nach links verschieben","Ausgew\xE4hlten Text nach rechts verschieben"],"vs/editor/contrib/caretOperations/browser/transpose":["Buchstaben austauschen"],"vs/editor/contrib/clipboard/browser/clipboard":["&&Ausschneiden","Ausschneiden","Ausschneiden","Ausschneiden","&&Kopieren","Kopieren","Kopieren","Kopieren","Kopieren als","Kopieren als","Freigeben","Freigeben","Freigeben","&&Einf\xFCgen","Einf\xFCgen","Einf\xFCgen","Einf\xFCgen","Mit Syntaxhervorhebung kopieren"],"vs/editor/contrib/codeAction/browser/codeAction":["Beim Anwenden der Code-Aktion ist ein unbekannter Fehler aufgetreten"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["Art der auszuf\xFChrenden Codeaktion","Legt fest, wann die zur\xFCckgegebenen Aktionen angewendet werden","Die erste zur\xFCckgegebene Codeaktion immer anwenden","Die erste zur\xFCckgegebene Codeaktion anwenden, wenn nur eine vorhanden ist","Zur\xFCckgegebene Codeaktionen nicht anwenden","Legt fest, ob nur bevorzugte Codeaktionen zur\xFCckgegeben werden sollen","Schnelle Problembehebung ...","Keine Codeaktionen verf\xFCgbar",'Keine bevorzugten Codeaktionen f\xFCr "{0}" verf\xFCgbar','Keine Codeaktionen f\xFCr "{0}" verf\xFCgbar',"Keine bevorzugten Codeaktionen verf\xFCgbar","Keine Codeaktionen verf\xFCgbar","Refactoring durchf\xFChren...",'Keine bevorzugten Refactorings f\xFCr "{0}" verf\xFCgbar','Keine Refactorings f\xFCr "{0}" verf\xFCgbar',"Keine bevorzugten Refactorings verf\xFCgbar","Keine Refactorings verf\xFCgbar","Quellaktion...",'Keine bevorzugten Quellaktionen f\xFCr "{0}" verf\xFCgbar','Keine Quellaktionen f\xFCr "{0}" verf\xFCgbar',"Keine bevorzugten Quellaktionen verf\xFCgbar","Keine Quellaktionen verf\xFCgbar","Importe organisieren","Keine Aktion zum Organisieren von Importen verf\xFCgbar","Alle korrigieren",'Aktion "Alle korrigieren" nicht verf\xFCgbar',"Automatisch korrigieren...","Keine automatischen Korrekturen verf\xFCgbar"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["Aktivieren/Deaktivieren Sie die Anzeige von Gruppenheadern im Codeaktionsmen\xFC.","Aktivieren/deaktivieren Sie die Anzeige der n\xE4chstgelegenen schnellen Problembehebung innerhalb einer Zeile, wenn derzeit keine Diagnose durchgef\xFChrt wird."],"vs/editor/contrib/codeAction/browser/codeActionController":["Kontext: {0} in Zeile {1} und Spalte {2}.","Deaktivierte Elemente ausblenden","Deaktivierte Elemente anzeigen"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["Weitere Aktionen...","Schnelle Problembehebung","Extrahieren","Inline","Erneut generieren","Verschieben","Umgeben mit","Quellaktion"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["Zeigt Codeaktionen an. Bevorzugte Schnellkorrektur verf\xFCgbar ({0})","Codeaktionen anzeigen ({0})","Codeaktionen anzeigen"],"vs/editor/contrib/codelens/browser/codelensController":["CodeLens-Befehle f\xFCr aktuelle Zeile anzeigen","Befehl ausw\xE4hlen"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["Zum Umschalten zwischen Farboptionen (rgb/hsl/hex) klicken","Symbol zum Schlie\xDFen des Farbw\xE4hlers"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["Eigenst\xE4ndige Farbw\xE4hler anzeigen oder konzentrieren","&&Eigenst\xE4ndige Farbw\xE4hler anzeigen oder fokussieren","Farbw\xE4hler ausblenden","Farbe mit eigenst\xE4ndigem Farbw\xE4hler einf\xFCgen"],"vs/editor/contrib/comment/browser/comment":["Zeilenkommentar umschalten","Zeilenkommen&&tar umschalten","Zeilenkommentar hinzuf\xFCgen","Zeilenkommentar entfernen","Blockkommentar umschalten","&&Blockkommentar umschalten"],"vs/editor/contrib/contextmenu/browser/contextmenu":["Minimap","Zeichen rendern","Vertikale Gr\xF6\xDFe","Proportional","Ausf\xFCllen","Anpassen","Schieberegler","Maus \xFCber","Immer","Editor-Kontextmen\xFC anzeigen"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["Mit Cursor r\xFCckg\xE4ngig machen","Wiederholen mit Cursor"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["Einf\xFCgen als...","Die ID der Einf\xFCgebearbeitung, die angewendet werden soll. Wenn keine Angabe erfolgt, zeigt der Editor eine Auswahl an."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["Gibt an, ob das Einf\xFCgewidget angezeigt wird.","Einf\xFCgeoptionen anzeigen...","Einf\xFCgehandler werden ausgef\xFChrt. Klicken Sie hier, um den Vorgang abzubrechen.","Einf\xFCgeaktion ausw\xE4hlen","Einf\xFCgehandler werden ausgef\xFChrt"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["Integriert","Nur-Text einf\xFCgen","URI einf\xFCgen","URI einf\xFCgen","Pfade einf\xFCgen","Pfad einf\xFCgen","Relative Pfade einf\xFCgen","Relativen Pfad einf\xFCgen"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["Konfiguriert den Standardablageanbieter f\xFCr den Inhalt eines vorgegebenen MIME-Typs."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["Gibt an, ob das Ablagewidget angezeigt wird.","Ablageoptionen anzeigen...","Drophandler werden ausgef\xFChrt. Klicken Sie hier, um den Vorgang abzubrechen."],"vs/editor/contrib/editorState/browser/keybindingCancellation":['Gibt an, ob der Editor einen abbrechbaren Vorgang ausf\xFChrt, z.\xA0B. "Verweisvorschau".'],"vs/editor/contrib/find/browser/findController":["Die Datei ist zu gro\xDF, um einen Vorgang zum Ersetzen aller Elemente auszuf\xFChren.","Suchen","&&Suchen",`\xDCberschreibt das Flag \u201EUse Regular Expression\u201C.\r +Das Flag wird f\xFCr die Zukunft nicht gespeichert.\r +0:\xA0Nichts unternehmen\r +1:\xA0TRUE\r +2:\xA0FALSE`,`\xDCberschreibt das Flag \u201EMatch Whole Word\u201C.\r +Das Flag wird f\xFCr die Zukunft nicht gespeichert.\r +0:\xA0Nichts unternehmen\r +1:\xA0TRUE\r +2:\xA0FALSE`,`\xDCberschreibt das Flag \u201EMath Case\u201C.\r +Das Flag wird f\xFCr die Zukunft nicht gespeichert.\r +0:\xA0Nichts unternehmen\r +1:\xA0TRUE\r +2:\xA0FALSE`,`\xDCberschreibt das Flag \u201EPreserve Case\u201C.\r +Das Flag wird f\xFCr die Zukunft nicht gespeichert.\r +0:\xA0Nichts unternehmen\r +1:\xA0TRUE\r +2:\xA0FALSE`,"Mit Argumenten suchen","Mit Auswahl suchen","Weitersuchen","Vorheriges Element suchen","Zu \xDCbereinstimmung wechseln\xA0...","Keine \xDCbereinstimmungen. Versuchen Sie, nach etwas anderem zu suchen.","Geben Sie eine Zahl ein, um zu einer bestimmten \xDCbereinstimmung zu wechseln (zwischen\xA01 und {0}).","Zahl zwischen\xA01 und {0} eingeben","Zahl zwischen\xA01 und {0} eingeben","N\xE4chste Auswahl suchen","Vorherige Auswahl suchen","Ersetzen","&&Ersetzen"],"vs/editor/contrib/find/browser/findWidget":['Symbol f\xFCr "In Auswahl suchen" im Editor-Such-Widget.',"Symbol f\xFCr die Anzeige, dass das Editor-Such-Widget zugeklappt wurde.","Symbol f\xFCr die Anzeige, dass das Editor-Such-Widget aufgeklappt wurde.",'Symbol f\xFCr "Ersetzen" im Editor-Such-Widget.','Symbol f\xFCr "Alle ersetzen" im Editor-Such-Widget.','Symbol f\xFCr "Vorheriges Element suchen" im Editor-Such-Widget.','Symbol f\xFCr "N\xE4chstes Element suchen" im Editor-Such-Widget.',"Suchen/Ersetzen","Suchen","Suchen","Vorherige \xDCbereinstimmung","N\xE4chste \xDCbereinstimmung","In Auswahl suchen","Schlie\xDFen","Ersetzen","Ersetzen","Ersetzen","Alle ersetzen","Ersetzen umschalten","Nur die ersten {0} Ergebnisse wurden hervorgehoben, aber alle Suchoperationen werden auf dem gesamten Text durchgef\xFChrt.","{0} von {1}","Keine Ergebnisse","{0} gefunden",'{0} f\xFCr "{1}" gefunden','{0} f\xFCr "{1}" gefunden, bei {2}','{0} f\xFCr "{1}" gefunden','STRG+EINGABE f\xFCgt jetzt einen Zeilenumbruch ein, statt alles zu ersetzen. Sie k\xF6nnen die Tastenzuordnung f\xFCr "editor.action.replaceAll" \xE4ndern, um dieses Verhalten au\xDFer Kraft zu setzen.'],"vs/editor/contrib/folding/browser/folding":["Auffalten","Faltung rekursiv aufheben","Falten","Einklappung umschalten","Rekursiv falten","Alle Blockkommentare falten","Alle Regionen falten","Alle Regionen auffalten","Alle bis auf ausgew\xE4hlte falten","Alle bis auf ausgew\xE4hlte auffalten","Alle falten","Alle auffalten","Zur \xFCbergeordneten Reduzierung wechseln","Zum vorherigen Faltbereich wechseln","Zum n\xE4chsten Faltbereich wechseln","Faltungsbereich aus Auswahl erstellen","Manuelle Faltbereiche entfernen","Faltebene {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["Hintergrundfarbe hinter gefalteten Bereichen. Die Farbe darf nicht deckend sein, sodass zugrunde liegende Dekorationen nicht ausgeblendet werden.","Farbe des Faltsteuerelements im Editor-Bundsteg.","Symbol f\xFCr aufgeklappte Bereiche im Editor-Glyphenrand.","Symbol f\xFCr zugeklappte Bereiche im Editor-Glyphenrand.","Symbol f\xFCr manuell reduzierte Bereiche im Glyphenrand des Editors.","Symbol f\xFCr manuell erweiterte Bereiche im Glyphenrand des Editors."],"vs/editor/contrib/fontZoom/browser/fontZoom":["Editorschriftart vergr\xF6\xDFern","Editorschriftart verkleinern","Editor Schriftart Vergr\xF6\xDFerung zur\xFCcksetzen"],"vs/editor/contrib/format/browser/format":["1 Formatierung in Zeile {0} vorgenommen","{0} Formatierungen in Zeile {1} vorgenommen","1 Formatierung zwischen Zeilen {0} und {1} vorgenommen","{0} Formatierungen zwischen Zeilen {1} und {2} vorgenommen"],"vs/editor/contrib/format/browser/formatActions":["Dokument formatieren","Auswahl formatieren"],"vs/editor/contrib/gotoError/browser/gotoError":["Gehe zu n\xE4chstem Problem (Fehler, Warnung, Information)","Symbol f\xFCr den Marker zum Wechseln zum n\xE4chsten Element.","Gehe zu vorigem Problem (Fehler, Warnung, Information)","Symbol f\xFCr den Marker zum Wechseln zum vorherigen Element.","Gehe zu dem n\xE4chsten Problem in den Dateien (Fehler, Warnung, Info)","N\xE4chstes &&Problem","Gehe zu dem vorherigen Problem in den Dateien (Fehler, Warnung, Info)","Vorheriges &&Problem"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["Fehler","Warnung","Info","Hinweis","{0} bei {1}. ","{0} von {1} Problemen","{0} von {1} Problemen","Editormarkierung: Farbe bei Fehler des Navigationswidgets.","Hintergrund der Fehler\xFCberschrift des Markernavigationswidgets im Editor.","Editormarkierung: Farbe bei Warnung des Navigationswidgets.","Hintergrund der Warnungs\xFCberschrift des Markernavigationswidgets im Editor.","Editormarkierung: Farbe bei Information des Navigationswidgets.","Hintergrund der Informations\xFCberschrift des Markernavigationswidgets im Editor.","Editormarkierung: Hintergrund des Navigationswidgets."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["Vorschau","Definitionen",'Keine Definition gefunden f\xFCr "{0}".',"Keine Definition gefunden","Gehe zu Definition","Gehe &&zu Definition","Definition an der Seite \xF6ffnen","Definition einsehen","Deklarationen",'Keine Deklaration f\xFCr "{0}" gefunden.',"Keine Deklaration gefunden.","Zur Deklaration wechseln","Gehe zu &&Deklaration",'Keine Deklaration f\xFCr "{0}" gefunden.',"Keine Deklaration gefunden.","Vorschau f\xFCr Deklaration anzeigen","Typdefinitionen",'Keine Typendefinition gefunden f\xFCr "{0}"',"Keine Typendefinition gefunden","Zur Typdefinition wechseln","Zur &&Typdefinition wechseln","Vorschau der Typdefinition anzeigen","Implementierungen",'Keine Implementierung gefunden f\xFCr "{0}"',"Keine Implementierung gefunden","Gehe zu Implementierungen","Gehe zu &&Implementierungen","Vorschau f\xFCr Implementierungen anzeigen",'F\xFCr "{0}" wurden keine Verweise gefunden.',"Keine Referenzen gefunden","Gehe zu Verweisen","Gehe zu &&Verweisen","Verweise","Vorschau f\xFCr Verweise anzeigen","Verweise","Zum beliebigem Symbol wechseln","Speicherorte",'Keine Ergebnisse f\xFCr "{0}"',"Verweise"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["Klicken Sie, um {0} Definitionen anzuzeigen."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":['Gibt an, ob die Verweisvorschau sichtbar ist, z.\xA0B. "Verweisvorschau" oder "Definition einsehen".',"Wird geladen...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} Verweise","{0} Verweis","Verweise"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["Keine Vorschau verf\xFCgbar.","Keine Ergebnisse","Verweise"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["in {0} in Zeile {1} in Spalte {2}","{0} in {1} in Zeile {2} in Spalte {3}","1 Symbol in {0}, vollst\xE4ndiger Pfad {1}","{0} Symbole in {1}, vollst\xE4ndiger Pfad {2}","Es wurden keine Ergebnisse gefunden.","1 Symbol in {0} gefunden","{0} Symbole in {1} gefunden","{0} Symbole in {1} Dateien gefunden"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["Gibt an, ob Symbolpositionen vorliegen, bei denen die Navigation nur \xFCber die Tastatur m\xF6glich ist.","Symbol {0} von {1}, {2} f\xFCr n\xE4chstes","Symbol {0} von {1}"],"vs/editor/contrib/hover/browser/hover":["Anzeigen oder Fokus beim Daraufzeigen","Definitionsvorschauhover anzeigen","Bildlauf nach oben beim Daraufzeigen","Bildlauf nach unten beim Daraufzeigen","Bildlauf nach links beim Daraufzeigen","Bildlauf nach rechts beim Daraufzeigen","Eine Seite nach oben beim Daraufzeigen","Eine Seite nach unten beim Daraufzeigen","Gehe nach oben beim Daraufzeigen","Gehe nach unten beim Daraufzeigen"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["Wird geladen...","Das Rendering langer Zeilen wurde aus Leistungsgr\xFCnden angehalten. Dies kann \xFCber \u201Eeditor.stopRenderingLineAfter\u201C konfiguriert werden.","Die Tokenisierung wird bei langen Zeilen aus Leistungsgr\xFCnden \xFCbersprungen. Dies kann \xFCber \u201Eeditor.maxTokenizationLineLength\u201C konfiguriert werden."],"vs/editor/contrib/hover/browser/markerHoverParticipant":["Problem anzeigen","Keine Schnellkorrekturen verf\xFCgbar","Es wird nach Schnellkorrekturen gesucht...","Keine Schnellkorrekturen verf\xFCgbar","Schnelle Problembehebung ..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["Durch vorherigen Wert ersetzen","Durch n\xE4chsten Wert ersetzen"],"vs/editor/contrib/indentation/browser/indentation":["Einzug in Leerzeichen konvertieren","Einzug in Tabstopps konvertieren","Konfigurierte Tabulatorgr\xF6\xDFe","Standardregisterkartengr\xF6\xDFe","Aktuelle Registerkartengr\xF6\xDFe","Tabulatorgr\xF6\xDFe f\xFCr aktuelle Datei ausw\xE4hlen","Einzug mithilfe von Tabstopps","Einzug mithilfe von Leerzeichen","Anzeigegr\xF6\xDFe der Registerkarte \xE4ndern","Einzug aus Inhalt erkennen","Neuen Einzug f\xFCr Zeilen festlegen","Gew\xE4hlte Zeilen zur\xFCckziehen"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["Zum Einf\xFCgen doppelklicken","BEFEHL + Klicken","STRG + Klicken","OPTION + Klicken","ALT + Klicken","Wechseln Sie zu Definition ({0}), klicken Sie mit der rechten Maustaste, um weitere Informationen zu finden.","Gehe zu Definition ({0})","Befehl ausf\xFChren"],"vs/editor/contrib/inlineCompletions/browser/commands":["N\xE4chsten Inline-Vorschlag anzeigen","Vorherigen Inline-Vorschlag anzeigen","Inline-Vorschlag ausl\xF6sen","N\xE4chstes Wort des Inline-Vorschlags annehmen","Wort annehmen","N\xE4chste Zeile des Inlinevorschlags akzeptieren","Zeile annehmen","Inline-Vorschlag annehmen","Annehmen","Inlinevorschlag ausblenden","Symbolleiste immer anzeigen"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["Vorschlag:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["Gibt an, ob ein Inline-Vorschlag sichtbar ist.","Gibt an, ob der Inline-Vorschlag mit Leerzeichen beginnt.","Ob der Inline-Vorschlag mit Leerzeichen beginnt, das kleiner ist als das, was durch die Tabulatortaste eingef\xFCgt werden w\xFCrde","Gibt an, ob Vorschl\xE4ge f\xFCr den aktuellen Vorschlag unterdr\xFCckt werden sollen"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\xDCberpr\xFCfen Sie dies in der barrierefreien Ansicht ({0})."],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["Symbol f\xFCr die Anzeige des n\xE4chsten Parameterhinweises.","Symbol f\xFCr die Anzeige des vorherigen Parameterhinweises.","{0} ({1})","Zur\xFCck","Weiter"],"vs/editor/contrib/lineSelection/browser/lineSelection":["Zeilenauswahl erweitern"],"vs/editor/contrib/linesOperations/browser/linesOperations":["Zeile nach oben kopieren","Zeile nach oben &&kopieren","Zeile nach unten kopieren","Zeile nach unten ko&&pieren","Auswahl duplizieren","&&Auswahl duplizieren","Zeile nach oben verschieben","Zeile nach oben &&verschieben","Zeile nach unten verschieben","Zeile nach &&unten verschieben","Zeilen aufsteigend sortieren","Zeilen absteigend sortieren","Doppelte Zeilen l\xF6schen","Nachgestelltes Leerzeichen k\xFCrzen","Zeile l\xF6schen","Zeileneinzug","Zeile ausr\xFCcken","Zeile oben einf\xFCgen","Zeile unten einf\xFCgen","Alle \xFCbrigen l\xF6schen","Alle rechts l\xF6schen","Zeilen verkn\xFCpfen","Zeichen um den Cursor herum transponieren","In Gro\xDFbuchstaben umwandeln","In Kleinbuchstaben umwandeln","In gro\xDFe Anfangsbuchstaben umwandeln","In Snake Case umwandeln","In Camel-Fall transformieren","Verwandle dich in eine Kebab-H\xFClle"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["Verkn\xFCpfte Bearbeitung starten","Hintergrundfarbe, wenn der Editor automatisch nach Typ umbenennt."],"vs/editor/contrib/links/browser/links":["Fehler beim \xD6ffnen dieses Links, weil er nicht wohlgeformt ist: {0}","Fehler beim \xD6ffnen dieses Links, weil das Ziel fehlt.","Befehl ausf\xFChren","Link folgen","BEFEHL + Klicken","STRG + Klicken","OPTION + Klicken","alt + klicken",'F\xFChren Sie den Befehl "{0}" aus.',"Link \xF6ffnen"],"vs/editor/contrib/message/browser/messageController":["Gibt an, ob der Editor zurzeit eine Inlinenachricht anzeigt."],"vs/editor/contrib/multicursor/browser/multicursor":["Hinzugef\xFCgter Cursor: {0}","Hinzugef\xFCgte Cursor: {0}","Cursor oberhalb hinzuf\xFCgen","Cursor oberh&&alb hinzuf\xFCgen","Cursor unterhalb hinzuf\xFCgen","Cursor unterhal&&b hinzuf\xFCgen","Cursor an Zeilenenden hinzuf\xFCgen","C&&ursor an Zeilenenden hinzuf\xFCgen","Cursor am Ende hinzuf\xFCgen","Cursor am Anfang hinzuf\xFCgen","Auswahl zur n\xE4chsten \xDCbereinstimmungssuche hinzuf\xFCgen","&&N\xE4chstes Vorkommen hinzuf\xFCgen","Letzte Auswahl zu vorheriger \xDCbereinstimmungssuche hinzuf\xFCgen","Vo&&rheriges Vorkommen hinzuf\xFCgen","Letzte Auswahl in n\xE4chste \xDCbereinstimmungssuche verschieben","Letzte Auswahl in vorherige \xDCbereinstimmungssuche verschieben","Alle Vorkommen ausw\xE4hlen und \xDCbereinstimmung suchen","Alle V&&orkommen ausw\xE4hlen","Alle Vorkommen \xE4ndern","Fokus auf n\xE4chsten Cursor","Fokussiert den n\xE4chsten Cursor","Fokus auf vorherigen Cursor","Fokussiert den vorherigen Cursor"],"vs/editor/contrib/parameterHints/browser/parameterHints":["Parameterhinweise ausl\xF6sen"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["Symbol f\xFCr die Anzeige des n\xE4chsten Parameterhinweises.","Symbol f\xFCr die Anzeige des vorherigen Parameterhinweises.","{0}, Hinweis","Vordergrundfarbe des aktiven Elements im Parameterhinweis."],"vs/editor/contrib/peekView/browser/peekView":["Gibt an, ob der aktuelle Code-Editor in der Vorschau eingebettet ist.","Schlie\xDFen","Hintergrundfarbe des Titelbereichs der Peek-Ansicht.","Farbe des Titels in der Peek-Ansicht.","Farbe der Titelinformationen in der Peek-Ansicht.","Farbe der Peek-Ansichtsr\xE4nder und des Pfeils.","Hintergrundfarbe der Ergebnisliste in der Peek-Ansicht.","Vordergrundfarbe f\xFCr Zeilenknoten in der Ergebnisliste der Peek-Ansicht.","Vordergrundfarbe f\xFCr Dateiknoten in der Ergebnisliste der Peek-Ansicht.","Hintergrundfarbe des ausgew\xE4hlten Eintrags in der Ergebnisliste der Peek-Ansicht.","Vordergrundfarbe des ausgew\xE4hlten Eintrags in der Ergebnisliste der Peek-Ansicht.","Hintergrundfarbe des Peek-Editors.","Hintergrundfarbe der Leiste im Peek-Editor.","Die Hintergrundfarbe f\xFCr den \u201ESticky\u201C-Bildlaufeffekt im Editor f\xFCr die \u201EPeek\u201C-Ansicht.","Farbe f\xFCr \xDCbereinstimmungsmarkierungen in der Ergebnisliste der Peek-Ansicht.","Farbe f\xFCr \xDCbereinstimmungsmarkierungen im Peek-Editor.","Rahmen f\xFCr \xDCbereinstimmungsmarkierungen im Peek-Editor."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\xD6ffnen Sie zuerst einen Text-Editor, um zu einer Zeile zu wechseln.","Wechseln Sie zu Zeile {0} und Zeichen {1}.","Zu Zeile {0} wechseln.","Aktuelle Zeile: {0}, Zeichen: {1}. Geben Sie eine Zeilennummer zwischen 1 und {2} ein, zu der Sie navigieren m\xF6chten.","Aktuelle Zeile: {0}, Zeichen: {1}. Geben Sie eine Zeilennummer ein, zu der Sie navigieren m\xF6chten."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\xD6ffnen Sie zun\xE4chst einen Text-Editor mit Symbolinformationen, um zu einem Symbol zu navigieren.","Der aktive Text-Editor stellt keine Symbolinformationen bereit.","Keine \xFCbereinstimmenden Editorsymbole.","Keine Editorsymbole.","An der Seite \xF6ffnen","Unten \xF6ffnen","Symbole ({0})","Eigenschaften ({0})","Methoden ({0})","Funktionen ({0})","Konstruktoren ({0})","Variablen ({0})","Klassen ({0})","Strukturen ({0})","Ereignisse ({0})","Operatoren ({0})","Schnittstellen ({0})","Namespaces ({0})","Pakete ({0})","Typparameter ({0})","Module ({0})","Eigenschaften ({0})","Enumerationen ({0})","Enumerationsmember ({0})","Zeichenfolgen ({0})","Dateien ({0})","Arrays ({0})","Zahlen ({0})","Boolesche Werte ({0})","Objekte ({0})","Schl\xFCssel ({0})","Felder ({0})","Konstanten ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["Bearbeitung von schreibgesch\xFCtzter Eingabe nicht m\xF6glich","Ein Bearbeiten ist im schreibgesch\xFCtzten Editor nicht m\xF6glich"],"vs/editor/contrib/rename/browser/rename":["Kein Ergebnis.","Ein unbekannter Fehler ist beim Aufl\xF6sen der Umbenennung eines Ortes aufgetreten.","'{0}' wird in '{1}' umbenannt","{0} wird in {1} umbenannt.",'"{0}" erfolgreich in "{1}" umbenannt. Zusammenfassung: {2}',"Die rename-Funktion konnte die \xC4nderungen nicht anwenden.","Die rename-Funktion konnte die \xC4nderungen nicht berechnen.","Symbol umbenennen","M\xF6glichkeit aktivieren/deaktivieren, \xC4nderungen vor dem Umbenennen als Vorschau anzeigen zu lassen"],"vs/editor/contrib/rename/browser/renameInputField":["Gibt an, ob das Widget zum Umbenennen der Eingabe sichtbar ist.","Benennen Sie die Eingabe um. Geben Sie einen neuen Namen ein, und dr\xFCcken Sie die EINGABETASTE, um den Commit auszuf\xFChren.","{0} zur Umbenennung, {1} zur Vorschau"],"vs/editor/contrib/smartSelect/browser/smartSelect":["Auswahl aufklappen","Auswahl &&erweitern","Markierung verkleinern","Au&&swahl verkleinern"],"vs/editor/contrib/snippet/browser/snippetController2":["Gibt an, ob der Editor sich zurzeit im Schnipselmodus befindet.","Gibt an, ob ein n\xE4chster Tabstopp im Schnipselmodus vorhanden ist.","Gibt an, ob ein vorheriger Tabstopp im Schnipselmodus vorhanden ist.","Zum n\xE4chsten Platzhalter wechseln..."],"vs/editor/contrib/snippet/browser/snippetVariables":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","So","Mo","Di","Mi","Do","Fr","Sa","Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember","Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["Fixierten Bildlauf umschalten","Fixierten Bildlauf &&umschalten","Fixierter Bildlauf","&&Fixierter Bildlauf","Fokus auf Fixierten Bildlauf","&&Fokus fixierter Bildlauf","N\xE4chste fixierte Zeile ausw\xE4hlen","Zuletzt gew\xE4hlte fixierte Zeile ausw\xE4hlen","Gehe zur fokussierten fixierten Zeile","Editor ausw\xE4hlen"],"vs/editor/contrib/suggest/browser/suggest":["Gibt an, ob ein Vorschlag fokussiert ist","Gibt an, ob Vorschlagsdetails sichtbar sind.","Gibt an, ob mehrere Vorschl\xE4ge zur Auswahl stehen.","Gibt an, ob das Einf\xFCgen des aktuellen Vorschlags zu einer \xC4nderung f\xFChrt oder ob bereits alles eingegeben wurde.","Gibt an, ob Vorschl\xE4ge durch Dr\xFCcken der EINGABETASTE eingef\xFCgt werden.","Gibt an, ob der aktuelle Vorschlag Verhalten zum Einf\xFCgen und Ersetzen aufweist.","Gibt an, ob Einf\xFCgen oder Ersetzen als Standardverhalten verwendet wird.","Gibt an, ob der aktuelle Vorschlag die Aufl\xF6sung weiterer Details unterst\xFCtzt."],"vs/editor/contrib/suggest/browser/suggestController":['Das Akzeptieren von "{0}" ergab {1} zus\xE4tzliche Bearbeitungen.',"Vorschlag ausl\xF6sen","Einf\xFCgen","Einf\xFCgen","Ersetzen","Ersetzen","Einf\xFCgen","weniger anzeigen","mehr anzeigen","Gr\xF6\xDFe des Vorschlagswidgets zur\xFCcksetzen"],"vs/editor/contrib/suggest/browser/suggestWidget":["Hintergrundfarbe des Vorschlagswidgets.","Rahmenfarbe des Vorschlagswidgets.","Vordergrundfarbe des Vorschlagswidgets.","Die Vordergrundfarbe des ausgew\xE4hlten Eintrags im Vorschlagswidget.","Die Vordergrundfarbe des Symbols des ausgew\xE4hlten Eintrags im Vorschlagswidget.","Hintergrundfarbe des ausgew\xE4hlten Eintrags im Vorschlagswidget.","Farbe der Trefferhervorhebung im Vorschlagswidget.","Die Farbe des Treffers wird im Vorschlagswidget hervorgehoben, wenn ein Element fokussiert wird.","Vordergrundfarbe des Status des Vorschlagswidgets.","Wird geladen...","Keine Vorschl\xE4ge.","Vorschlagen","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, Dokumente: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["Schlie\xDFen","Wird geladen..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["Symbol f\xFCr weitere Informationen im Vorschlags-Widget.","Weitere Informationen"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["Die Vordergrundfarbe f\xFCr Arraysymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr boolesche Symbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Klassensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Farbsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr konstante Symbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Konstruktorsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Enumeratorsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Enumeratormembersymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Ereignissymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Feldsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Dateisymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Ordnersymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Funktionssymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Schnittstellensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Schl\xFCsselsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Schl\xFCsselwortsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Methodensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Modulsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Namespacesymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr NULL-Symbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Zahlensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Objektsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Operatorsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Paketsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Eigenschaftensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Referenzsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Codeschnipselsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Zeichenfolgensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Struktursymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Textsymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Typparametersymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr Einheitensymbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt.","Die Vordergrundfarbe f\xFCr variable Symbole. Diese Symbole werden in den Widgets f\xFCr Gliederung, Breadcrumbs und Vorschl\xE4ge angezeigt."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["TAB-Umschalttaste verschiebt Fokus","Beim Dr\xFCcken auf Tab wird der Fokus jetzt auf das n\xE4chste fokussierbare Element verschoben","Beim Dr\xFCcken von Tab wird jetzt das Tabulator-Zeichen eingef\xFCgt"],"vs/editor/contrib/tokenization/browser/tokenization":["Entwickler: Force Retokenize"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["Symbol, das mit einer Warnmeldung im Erweiterungs-Editor angezeigt wird.","Dieses Dokument enth\xE4lt viele nicht einfache ASCII-Unicode-Zeichen.","Dieses Dokument enth\xE4lt viele mehrdeutige Unicode-Zeichen.","Dieses Dokument enth\xE4lt viele unsichtbare Unicode-Zeichen.","Das Zeichen {0} kann mit dem Zeichen {1} verwechselt werden, was im Quellcode h\xE4ufiger vorkommt.","Das Zeichen {0} kann mit dem Zeichen {1} verwechselt werden, was im Quellcode h\xE4ufiger vorkommt.","Das Zeichen {0} ist nicht sichtbar.","Das Zeichen {0} ist kein einfaches ASCII-Zeichen.","Einstellungen anpassen","Hervorhebung in Kommentaren deaktivieren","Deaktivieren der Hervorhebung von Zeichen in Kommentaren","Hervorhebung in Zeichenfolgen deaktivieren","Deaktivieren der Hervorhebung von Zeichen in Zeichenfolgen","Mehrdeutige Hervorhebung deaktivieren","Deaktivieren der Hervorhebung von mehrdeutigen Zeichen","Unsichtbare Hervorhebung deaktivieren","Deaktivieren der Hervorhebung unsichtbarer Zeichen","Nicht-ASCII-Hervorhebung deaktivieren","Deaktivieren der Hervorhebung von nicht einfachen ASCII-Zeichen","Ausschlussoptionen anzeigen","{0} (unsichtbares Zeichen) von der Hervorhebung ausschlie\xDFen","{0} nicht hervorheben","Unicodezeichen zulassen, die in der Sprache \u201E{0}\u201C h\xE4ufiger vorkommen.","Konfigurieren der Optionen f\xFCr die Unicode-Hervorhebung"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["Ungew\xF6hnliche Zeilentrennzeichen","Ungew\xF6hnliche Zeilentrennzeichen erkannt",`Die Datei "{0}" enth\xE4lt mindestens ein ungew\xF6hnliches Zeilenabschlusszeichen, z. B. Zeilentrennzeichen (LS) oder Absatztrennzeichen (PS).\r +\r +Es wird empfohlen, sie aus der Datei zu entfernen. Dies kann \xFCber "editor.unusualLineTerminators" konfiguriert werden.`,"&&Ungew\xF6hnliche Zeilenabschlusszeichen entfernen","Ignorieren"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["Hintergrundfarbe eines Symbols beim Lesezugriff, z.B. beim Lesen einer Variablen. Die Farbe darf nicht deckend sein, damit sie nicht die zugrunde liegenden Dekorationen verdeckt.","Hintergrundfarbe eines Symbols bei Schreibzugriff, z.B. beim Schreiben in eine Variable. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Die Hintergrundfarbe eines Textteils f\xFCr ein Symbol. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.","Randfarbe eines Symbols beim Lesezugriff, wie etwa beim Lesen einer Variablen.","Randfarbe eines Symbols beim Schreibzugriff, wie etwa beim Schreiben einer Variablen.","Die Rahmenfarbe eines Textteils f\xFCr ein Symbol.","\xDCbersichtslinealmarkerfarbd f\xFCr das Hervorheben von Symbolen. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","\xDCbersichtslinealmarkerfarbe f\xFCr Symbolhervorhebungen bei Schreibzugriff. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Die Markierungsfarbe des \xDCbersichtslineals eines Textteils f\xFCr ein Symbol. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["Gehe zur n\xE4chsten Symbolhervorhebungen","Gehe zur vorherigen Symbolhervorhebungen","Symbol-Hervorhebung ein-/ausschalten"],"vs/editor/contrib/wordOperations/browser/wordOperations":["Wort l\xF6schen"],"vs/platform/action/common/actionCommonCategories":["Ansehen","Hilfe","Test","Datei","Einstellungen","Entwickler"],"vs/platform/actionWidget/browser/actionList":["{0} zum Anwenden, {1} f\xFCr die Vorschau","{0} zum Anwenden","{0} deaktiviert, Grund: {1}","Aktionswidget"],"vs/platform/actionWidget/browser/actionWidget":["Hintergrundfarbe f\xFCr umgeschaltete Aktionselemente in der Aktionsleiste.","Gibt an, ob die Aktionswidgetliste sichtbar ist.","Codeaktionswidget ausblenden","Vorherige Aktion ausw\xE4hlen","N\xE4chste Aktion ausw\xE4hlen","Ausgew\xE4hlte Aktion akzeptieren","Vorschau f\xFCr ausgew\xE4hlte Elemente anzeigen"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["Ausblenden","Men\xFC zur\xFCcksetzen"],"vs/platform/actions/common/menuService":['"{0}" ausblenden'],"vs/platform/audioCues/browser/audioCueService":["Fehler in der Zeile","Warnung in der Zeile","Gefalteter Bereich in der Zeile","Haltepunkt in der Zeile","Inlinevorschlag in der Zeile","Terminale schnelle Problembehebung","Debugger auf Haltepunkt beendet","Keine Inlay-Hinweise in der Zeile","Aufgabe abgeschlossen","Aufgabe fehlgeschlagen","Terminalbefehl fehlgeschlagen","Terminalglocke","Notebookzelle abgeschlossen","Notebookzelle fehlgeschlagen","Vergleichslinie eingef\xFCgt","Vergleichslinie gel\xF6scht","Vergleichslinie ge\xE4ndert","Chatanfrage gesendet","Chatantwort empfangen","Chatantwort ausstehend"],"vs/platform/configuration/common/configurationRegistry":["Au\xDFerkraftsetzungen f\xFCr die Standardsprachkonfiguration","Konfigurieren Sie Einstellungen, die f\xFCr die Sprache {0} \xFCberschrieben werden sollen.","Zu \xFCberschreibende Editor-Einstellungen f\xFCr eine Sprache konfigurieren.","Diese Einstellung unterst\xFCtzt keine sprachspezifische Konfiguration.","Zu \xFCberschreibende Editor-Einstellungen f\xFCr eine Sprache konfigurieren.","Diese Einstellung unterst\xFCtzt keine sprachspezifische Konfiguration.","Eine leere Eigenschaft kann nicht registriert werden.",'"{0}" kann nicht registriert werden. Stimmt mit dem Eigenschaftsmuster "\\\\[.*\\\\]$" zum Beschreiben sprachspezifischer Editor-Einstellungen \xFCberein. Verwenden Sie den Beitrag "configurationDefaults".','{0}" kann nicht registriert werden. Diese Eigenschaft ist bereits registriert.','"{0}" kann nicht registriert werden. Die zugeordnete Richtlinie {1} ist bereits bei {2} registriert.'],"vs/platform/contextkey/browser/contextKeyService":["Ein Befehl, der Informationen zu Kontextschl\xFCsseln zur\xFCckgibt"],"vs/platform/contextkey/common/contextkey":["Leerer Kontextschl\xFCsselausdruck","Haben Sie vergessen, einen Ausdruck zu schreiben? Sie k\xF6nnen auch \u201Efalse\u201C oder \u201Etrue\u201C festlegen, um immer auf \u201Efalse\u201C oder \u201Etrue\u201C auszuwerten.","\u201Ein\u201C nach \u201Enot\u201C.","schlie\xDFende Klammer \u201E)\u201C","Unerwartetes Token","Haben Sie vergessen, && oder || vor dem Token einzuf\xFCgen?","Unerwartetes Ende des Ausdrucks.","Haben Sie vergessen, einen Kontextschl\xFCssel zu setzen?",`Erwartet: {0}\r +Empfangen: \u201E{1}\u201C.`],"vs/platform/contextkey/common/contextkeys":["Gibt an, ob macOS als Betriebssystem verwendet wird.","Gibt an, ob Linux als Betriebssystem verwendet wird.","Gibt an, ob Windows als Betriebssystem verwendet wird.","Gibt an, ob es sich bei der Plattform um einen Webbrowser handelt.","Gibt an, ob macOS auf einer Nicht-Browser-Plattform als Betriebssystem verwendet wird.","Gibt an, ob iOS als Betriebssystem verwendet wird.","Gibt an, ob es sich bei der Plattform um einen mobilen Webbrowser handelt.","Qualit\xE4tstyp des VS Codes","Gibt an, ob sich der Tastaturfokus in einem Eingabefeld befindet."],"vs/platform/contextkey/common/scanner":["Meinten Sie {0}?","Meinten Sie {0} oder {1}?","Meinten Sie {0}, {1} oder {2}?","Haben Sie vergessen, das Anf\xFChrungszeichen zu \xF6ffnen oder zu schlie\xDFen?","Haben Sie vergessen, das Zeichen \u201E/\u201C (Schr\xE4gstrich) zu escapen? Setzen Sie zwei Backslashes davor, um es zu escapen, z. B. \u201E\\\\/\u201C."],"vs/platform/history/browser/contextScopedHistoryWidget":["Gibt an, ob Vorschl\xE4ge sichtbar sind."],"vs/platform/keybinding/common/abstractKeybindingService":["({0}) wurde gedr\xFCckt. Es wird auf die zweite Taste in der Kombination gewartet...","({0}) wurde gedr\xFCckt. Es wird auf die zweite Taste in der Kombination gewartet...","Die Tastenkombination ({0}, {1}) ist kein Befehl.","Die Tastenkombination ({0}, {1}) ist kein Befehl."],"vs/platform/list/browser/listService":["Workbench","Ist unter Windows und Linux der STRG-Taste und unter macOS der Befehlstaste zugeordnet.","Ist unter Windows und Linux der ALT-Taste und unter macOS der Wahltaste zugeordnet.",'Der Modifizierer zum Hinzuf\xFCgen eines Elements in B\xE4umen und Listen zu einer Mehrfachauswahl mit der Maus (zum Beispiel im Explorer, in ge\xF6ffneten Editoren und in der SCM-Ansicht). Die Mausbewegung "Seitlich \xF6ffnen" wird \u2013 sofern unterst\xFCtzt \u2013 so angepasst, dass kein Konflikt mit dem Modifizierer f\xFCr Mehrfachauswahl entsteht.',"Steuert, wie Elemente in Strukturen und Listen mithilfe der Maus ge\xF6ffnet werden (sofern unterst\xFCtzt). Bei \xFCbergeordneten Elementen, deren untergeordnete Elemente sich in Strukturen befinden, steuert diese Einstellung, ob ein Einfachklick oder ein Doppelklick das \xFCbergeordnete Elemente erweitert. Beachten Sie, dass einige Strukturen und Listen diese Einstellung ggf. ignorieren, wenn sie nicht zutrifft.","Steuert, ob Listen und Strukturen ein horizontales Scrollen in der Workbench unterst\xFCtzen. Warnung: Das Aktivieren dieser Einstellung kann sich auf die Leistung auswirken.","Steuert, ob Klicks in der Bildlaufleiste Seite f\xFCr Seite scrollen.","Steuert den Struktureinzug in Pixeln.","Steuert, ob die Struktur Einzugsf\xFChrungslinien rendern soll.","Steuert, ob Listen und Strukturen einen optimierten Bildlauf verwenden.",'Ein Multiplikator, der f\xFCr die Mausrad-Bildlaufereignisse "deltaX" und "deltaY" verwendet werden soll.',"Multiplikator f\xFCr Scrollgeschwindigkeit bei Dr\xFCcken von ALT.","Elemente beim Suchen hervorheben. Die Navigation nach oben und unten durchl\xE4uft dann nur die markierten Elemente.","Filterelemente bei der Suche.","Steuert den Standardsuchmodus f\xFCr Listen und Strukturen in der Workbench.","Bei der einfachen Tastaturnavigation werden Elemente in den Fokus genommen, die mit der Tastatureingabe \xFCbereinstimmen. Die \xDCbereinstimmungen gelten nur f\xFCr Pr\xE4fixe.","Hervorheben von Tastaturnavigationshervorgebungselemente, die mit der Tastatureingabe \xFCbereinstimmen. Beim nach oben und nach unten Navigieren werden nur die hervorgehobenen Elemente durchlaufen.","Durch das Filtern der Tastaturnavigation werden alle Elemente herausgefiltert und ausgeblendet, die nicht mit der Tastatureingabe \xFCbereinstimmen.",'Steuert die Tastaturnavigation in Listen und Strukturen in der Workbench. Kann "simple" (einfach), "highlight" (hervorheben) und "filter" (filtern) sein.',"Bitte verwenden Sie stattdessen \u201Eworkbench.list.defaultFindMode\u201C und \u201Eworkbench.list.typeNavigationMode\u201C.","Verwenden Sie bei der Suche eine Fuzzy\xFCbereinstimmung.","Verwenden Sie bei der Suche eine zusammenh\xE4ngende \xDCbereinstimmung.","Steuert den Typ der \xDCbereinstimmung, der beim Durchsuchen von Listen und Strukturen in der Workbench verwendet wird.","Steuert, wie Strukturordner beim Klicken auf die Ordnernamen erweitert werden. Beachten Sie, dass einige Strukturen und Listen diese Einstellung ggf. ignorieren, wenn sie nicht zutrifft.",'Steuert die Funktionsweise der Typnavigation in Listen und Strukturen in der Workbench. Bei einer Festlegung auf "trigger" beginnt die Typnavigation, sobald der Befehl "list.triggerTypeNavigation" ausgef\xFChrt wird.'],"vs/platform/markers/common/markers":["Fehler","Warnung","Info"],"vs/platform/quickinput/browser/commandsQuickAccess":["zuletzt verwendet","\xE4hnliche Befehle","h\xE4ufig verwendet","andere Befehle","\xE4hnliche Befehle","{0}, {1}",'Der Befehl "{0}" hat zu einem Fehler gef\xFChrt.'],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["Zur\xFCck","Dr\xFCcken Sie die EINGABETASTE, um Ihre Eingabe zu best\xE4tigen, oder ESC, um den Vorgang abzubrechen.","{0}/{1}","Nehmen Sie eine Eingabe vor, um die Ergebnisse einzugrenzen."],"vs/platform/quickinput/browser/quickInputController":["Aktivieren Sie alle Kontrollk\xE4stchen","{0} Ergebnisse","{0} ausgew\xE4hlt","OK","Benutzerdefiniert","Zur\xFCck ({0})","Zur\xFCck"],"vs/platform/quickinput/browser/quickInputList":["Schnelleingabe"],"vs/platform/quickinput/browser/quickInputUtils":['Klicken, um den Befehl "{0}" auszuf\xFChren'],"vs/platform/theme/common/colorRegistry":["Allgemeine Vordergrundfarbe. Diese Farbe wird nur verwendet, wenn sie nicht durch eine Komponente \xFCberschrieben wird.","Allgemeine Vordergrundfarbe. Diese Farbe wird nur verwendet, wenn sie nicht durch eine Komponente \xFCberschrieben wird.","Allgemeine Vordergrundfarbe f\xFCr Fehlermeldungen. Diese Farbe wird nur verwendet, wenn sie nicht durch eine Komponente \xFCberschrieben wird.","Vordergrundfarbe f\xFCr Beschreibungstexte, die weitere Informationen anzeigen, z.B. f\xFCr eine Beschriftung.","Die f\xFCr Symbole in der Workbench verwendete Standardfarbe.","Allgemeine Rahmenfarbe f\xFCr fokussierte Elemente. Diese Farbe wird nur verwendet, wenn sie nicht durch eine Komponente \xFCberschrieben wird.","Ein zus\xE4tzlicher Rahmen um Elemente, mit dem diese von anderen getrennt werden, um einen gr\xF6\xDFeren Kontrast zu erreichen.","Ein zus\xE4tzlicher Rahmen um aktive Elemente, mit dem diese von anderen getrennt werden, um einen gr\xF6\xDFeren Kontrast zu erreichen.","Hintergrundfarbe der Textauswahl in der Workbench (z.B. f\xFCr Eingabefelder oder Textbereiche). Diese Farbe gilt nicht f\xFCr die Auswahl im Editor.","Farbe f\xFCr Text-Trennzeichen.","Vordergrundfarbe f\xFCr Links im Text.","Vordergrundfarbe f\xFCr angeklickte Links im Text und beim Zeigen darauf mit der Maus.","Vordergrundfarbe f\xFCr vorformatierte Textsegmente.","Hintergrundfarbe f\xFCr Blockzitate im Text.","Rahmenfarbe f\xFCr blockquote-Elemente im Text.","Hintergrundfarbe f\xFCr Codebl\xF6cke im Text.","Schattenfarbe von Widgets wie zum Beispiel Suchen/Ersetzen innerhalb des Editors.","Die Rahmenfarbe von Widgets, z.\xA0B. Suchen/Ersetzen im Editor.","Hintergrund f\xFCr Eingabefeld.","Vordergrund f\xFCr Eingabefeld.","Rahmen f\xFCr Eingabefeld.","Rahmenfarbe f\xFCr aktivierte Optionen in Eingabefeldern.","Hintergrundfarbe f\xFCr aktivierte Optionen in Eingabefeldern.","Hintergrundfarbe beim Daraufzeigen f\xFCr Optionen in Eingabefeldern.","Vordergrundfarbe f\xFCr aktivierte Optionen in Eingabefeldern.","Eingabefeld-Vordergrundfarbe f\xFCr Platzhaltertext.","Hintergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Information.","Vordergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Information.","Rahmenfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Information.","Hintergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Warnung.","Vordergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Warnung.","Rahmenfarbe bei der Eingabevalidierung f\xFCr den Schweregrad der Warnung.","Hintergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad des Fehlers.","Vordergrundfarbe bei der Eingabevalidierung f\xFCr den Schweregrad des Fehlers.","Rahmenfarbe bei der Eingabevalidierung f\xFCr den Schweregrad des Fehlers.","Hintergrund f\xFCr Dropdown.","Hintergrund f\xFCr Dropdownliste.","Vordergrund f\xFCr Dropdown.","Rahmen f\xFCr Dropdown.","Vordergrundfarbe der Schaltfl\xE4che.","Farbe des Schaltfl\xE4chentrennzeichens.","Hintergrundfarbe der Schaltfl\xE4che.","Hintergrundfarbe der Schaltfl\xE4che, wenn darauf gezeigt wird.","Rahmenfarbe der Schaltfl\xE4che.","Sekund\xE4re Vordergrundfarbe der Schaltfl\xE4che.","Hintergrundfarbe der sekund\xE4ren Schaltfl\xE4che.","Hintergrundfarbe der sekund\xE4ren Schaltfl\xE4che beim Daraufzeigen.","Hintergrundfarbe f\xFCr Badge. Badges sind kurze Info-Texte, z.B. f\xFCr Anzahl Suchergebnisse.","Vordergrundfarbe f\xFCr Badge. Badges sind kurze Info-Texte, z.B. f\xFCr Anzahl Suchergebnisse.","Schatten der Scrollleiste, um anzuzeigen, dass die Ansicht gescrollt wird.","Hintergrundfarbe vom Scrollbar-Schieber","Hintergrundfarbe des Schiebereglers, wenn darauf gezeigt wird.","Hintergrundfarbe des Schiebereglers, wenn darauf geklickt wird.","Hintergrundfarbe des Fortschrittbalkens, der f\xFCr zeitintensive Vorg\xE4nge angezeigt werden kann.","Hintergrundfarbe f\xFCr Fehlertext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Vordergrundfarbe von Fehlerunterstreichungen im Editor.","Wenn festgelegt, wird die Farbe doppelter Unterstreichungen f\xFCr Fehler im Editor angezeigt.","Hintergrundfarbe f\xFCr Warnungstext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Vordergrundfarbe von Warnungsunterstreichungen im Editor.","Wenn festgelegt, wird die Farbe doppelter Unterstreichungen f\xFCr Warnungen im Editor angezeigt.","Hintergrundfarbe f\xFCr Infotext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Vordergrundfarbe von Informationsunterstreichungen im Editor.","Wenn festgelegt, wird die Farbe doppelter Unterstreichungen f\xFCr Infos im Editor angezeigt.","Vordergrundfarbe der Hinweisunterstreichungen im Editor.","Wenn festgelegt, wird die Farbe doppelter Unterstreichungen f\xFCr Hinweise im Editor angezeigt.","Rahmenfarbe aktiver Trennleisten.","Hintergrundfarbe des Editors.","Standardvordergrundfarbe des Editors.","Einrastfunktion der Hintergrundfarbe f\xFCr den Editor","Einrastfunktion beim Daraufzeigen der Hintergrundfarbe f\xFCr den Editor","Hintergrundfarbe von Editor-Widgets wie zum Beispiel Suchen/Ersetzen.","Vordergrundfarbe f\xFCr Editorwidgets wie Suchen/Ersetzen.","Rahmenfarbe von Editorwigdets. Die Farbe wird nur verwendet, wenn f\xFCr das Widget ein Rahmen verwendet wird und die Farbe nicht von einem Widget \xFCberschrieben wird.","Rahmenfarbe der Gr\xF6\xDFenanpassungsleiste von Editorwigdets. Die Farbe wird nur verwendet, wenn f\xFCr das Widget ein Gr\xF6\xDFenanpassungsrahmen verwendet wird und die Farbe nicht von einem Widget au\xDFer Kraft gesetzt wird.","Schnellauswahl der Hintergrundfarbe. Im Widget f\xFCr die Schnellauswahl sind Auswahlelemente wie die Befehlspalette enthalten.","Vordergrundfarbe der Schnellauswahl. Im Widget f\xFCr die Schnellauswahl sind Auswahlelemente wie die Befehlspalette enthalten.","Hintergrundfarbe f\xFCr den Titel der Schnellauswahl. Im Widget f\xFCr die Schnellauswahl sind Auswahlelemente wie die Befehlspalette enthalten.","Schnellauswahlfarbe f\xFCr das Gruppieren von Bezeichnungen.","Schnellauswahlfarbe f\xFCr das Gruppieren von Rahmen.","Die Hintergrundfarbe der Tastenbindungsbeschriftung. Die Tastenbindungsbeschriftung wird verwendet, um eine Tastenkombination darzustellen.","Die Vordergrundfarbe der Tastenbindungsbeschriftung. Die Tastenbindungsbeschriftung wird verwendet, um eine Tastenkombination darzustellen.","Die Rahmenfarbe der Tastenbindungsbeschriftung. Die Tastenbindungsbeschriftung wird verwendet, um eine Tastenkombination darzustellen.","Die Rahmenfarbe der Schaltfl\xE4che der Tastenbindungsbeschriftung. Die Tastenbindungsbeschriftung wird verwendet, um eine Tastenkombination darzustellen.","Farbe der Editor-Auswahl.","Farbe des gew\xE4hlten Text f\xFCr einen hohen Kontrast","Die Farbe der Auswahl befindet sich in einem inaktiven Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegende Dekorationen verdeckt.","Farbe f\xFCr Bereiche mit dem gleichen Inhalt wie die Auswahl. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Randfarbe f\xFCr Bereiche, deren Inhalt der Auswahl entspricht.","Farbe des aktuellen Suchergebnisses.","Farbe der anderen Suchergebnisse. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Farbe des Bereichs, der die Suche eingrenzt. Die Farbe darf nicht deckend sein, damit sie nicht die zugrunde liegenden Dekorationen verdeckt.","Randfarbe des aktuellen Suchergebnisses.","Randfarbe der anderen Suchtreffer.","Rahmenfarbe des Bereichs, der die Suche eingrenzt. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Farbe der Abfrage\xFCbereinstimmungen des Such-Editors","Rahmenfarbe der Abfrage\xFCbereinstimmungen des Such-Editors","Farbe des Texts in der Abschlussmeldung des Such-Viewlets.","Hervorhebung unterhalb des Worts, f\xFCr das ein Hoverelement angezeigt wird. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrundfarbe des Editor-Mauszeigers.","Vordergrundfarbe des Editor-Mauszeigers","Rahmenfarbe des Editor-Mauszeigers.","Hintergrundfarbe der Hoverstatusleiste des Editors.","Farbe der aktiven Links.","Vordergrundfarbe f\xFCr Inlinehinweise","Hintergrundfarbe f\xFCr Inlinehinweise","Vordergrundfarbe von Inlinehinweisen f\xFCr Typen","Hintergrundfarbe von Inlinehinweisen f\xFCr Typen","Vordergrundfarbe von Inlinehinweisen f\xFCr Parameter","Hintergrundfarbe von Inlinehinweisen f\xFCr Parameter",'Die f\xFCr das Aktionssymbol "Gl\xFChbirne" verwendete Farbe.','Die f\xFCr das Aktionssymbol "Automatische Gl\xFChbirnenkorrektur" verwendete Farbe.',"Hintergrundfarbe f\xFCr eingef\xFCgten Text. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrundfarbe f\xFCr Text, der entfernt wurde. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrundfarbe f\xFCr eingef\xFCgte Zeilen. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.","Hintergrundfarbe f\xFCr Zeilen, die entfernt wurden. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.","Hintergrundfarbe f\xFCr den Rand, an dem Zeilen eingef\xFCgt wurden.","Hintergrundfarbe f\xFCr den Rand, an dem die Zeilen entfernt wurden.","Vordergrund des Diff-\xDCbersichtslineals f\xFCr eingef\xFCgten Inhalt.","Vordergrund des Diff-\xDCbersichtslineals f\xFCr entfernten Inhalt.","Konturfarbe f\xFCr eingef\xFCgten Text.","Konturfarbe f\xFCr entfernten Text.","Die Rahmenfarbe zwischen zwei Text-Editoren.","Farbe der diagonalen F\xFCllung des Vergleichs-Editors. Die diagonale F\xFCllung wird in Ansichten mit parallelem Vergleich verwendet.","Die Hintergrundfarbe von unver\xE4nderten Bl\xF6cken im Diff-Editor.","Die Vordergrundfarbe von unver\xE4nderten Bl\xF6cken im Diff-Editor.","Die Hintergrundfarbe des unver\xE4nderten Codes im Diff-Editor.","Hintergrundfarbe der Liste/Struktur f\xFCr das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Vordergrundfarbe der Liste/Struktur f\xFCr das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Konturfarbe der Liste/Struktur f\xFCr das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Umrissfarbe der Liste/des Baums f\xFCr das fokussierte Element, wenn die Liste/der Baum aktiv und ausgew\xE4hlt ist. Eine aktive Liste/Baum hat Tastaturfokus, eine inaktive nicht.","Hintergrundfarbe der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Vordergrundfarbe der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Vordergrundfarbe des Symbols der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Hintergrundfarbe der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Struktur inaktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Vordergrundfarbe der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Baumstruktur inaktiv ist. Eine aktive Liste/Baumstruktur hat Tastaturfokus, eine inaktive hingegen nicht.","Vordergrundfarbe des Symbols der Liste/Struktur f\xFCr das ausgew\xE4hlte Element, wenn die Liste/Struktur inaktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Hintergrundfarbe der Liste/Struktur f\xFCr das fokussierte Element, wenn die Liste/Struktur inaktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Konturfarbe der Liste/Struktur f\xFCr das fokussierte Element, wenn die Liste/Struktur inaktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.","Hintergrund der Liste/Struktur, wenn mit der Maus auf Elemente gezeigt wird.","Vordergrund der Liste/Struktur, wenn mit der Maus auf Elemente gezeigt wird.","Drag & Drop-Hintergrund der Liste/Struktur, wenn Elemente mithilfe der Maus verschoben werden.","Vordergrundfarbe der Liste/Struktur zur Trefferhervorhebung beim Suchen innerhalb der Liste/Struktur.","Die Vordergrundfarbe der Liste/Struktur des Treffers hebt aktiv fokussierte Elemente hervor, wenn innerhalb der Liste / der Struktur gesucht wird.","Vordergrundfarbe einer Liste/Struktur f\xFCr ung\xFCltige Elemente, z.B. ein nicht ausgel\xF6ster Stamm im Explorer.","Vordergrundfarbe f\xFCr Listenelemente, die Fehler enthalten.","Vordergrundfarbe f\xFCr Listenelemente, die Warnungen enthalten.","Hintergrundfarbe des Typfilterwidgets in Listen und Strukturen.","Konturfarbe des Typfilterwidgets in Listen und Strukturen.","Konturfarbe des Typfilterwidgets in Listen und Strukturen, wenn es keine \xDCbereinstimmungen gibt.","Schattenfarbe des Typfilterwidgets in Listen und Strukturen.","Hintergrundfarbe der gefilterten \xDCbereinstimmung","Rahmenfarbe der gefilterten \xDCbereinstimmung","Strukturstrichfarbe f\xFCr die Einzugsf\xFChrungslinien.","Strukturstrichfarbe f\xFCr die Einzugslinien, die nicht aktiv sind.","Tabellenrahmenfarbe zwischen Spalten.","Hintergrundfarbe f\xFCr ungerade Tabellenzeilen.","Hintergrundfarbe f\xFCr nicht hervorgehobene Listen-/Strukturelemente.","Hintergrundfarbe von Kontrollk\xE4stchenwidget.","Hintergrundfarbe des Kontrollk\xE4stchenwidgets, wenn das Element ausgew\xE4hlt ist, in dem es sich befindet.","Vordergrundfarbe von Kontrollk\xE4stchenwidget.","Rahmenfarbe von Kontrollk\xE4stchenwidget.","Rahmenfarbe des Kontrollk\xE4stchenwidgets, wenn das Element ausgew\xE4hlt ist, in dem es sich befindet.",'Verwenden Sie stattdessen "quickInputList.focusBackground".',"Die Hintergrundfarbe der Schnellauswahl f\xFCr das fokussierte Element.","Die Vordergrundfarbe des Symbols der Schnellauswahl f\xFCr das fokussierte Element.","Die Hintergrundfarbe der Schnellauswahl f\xFCr das fokussierte Element.","Rahmenfarbe von Men\xFCs.","Vordergrundfarbe von Men\xFCelementen.","Hintergrundfarbe von Men\xFCelementen.","Vordergrundfarbe des ausgew\xE4hlten Men\xFCelements im Men\xFC.","Hintergrundfarbe des ausgew\xE4hlten Men\xFCelements im Men\xFC.","Rahmenfarbe des ausgew\xE4hlten Men\xFCelements im Men\xFC.","Farbe eines Trenner-Men\xFCelements in Men\xFCs.","Symbolleistenhintergrund beim Bewegen der Maus \xFCber Aktionen","Symbolleistengliederung beim Bewegen der Maus \xFCber Aktionen","Symbolleistenhintergrund beim Halten der Maus \xFCber Aktionen","Hervorhebungs-Hintergrundfarbe eines Codeschnipsel-Tabstopps.","Hervorhebungs-Rahmenfarbe eines Codeschnipsel-Tabstopps.","Hervorhebungs-Hintergrundfarbe des letzten Tabstopps eines Codeschnipsels.","Rahmenfarbe zur Hervorhebung des letzten Tabstopps eines Codeschnipsels.","Farbe der Breadcrumb-Elemente, die den Fokus haben.","Hintergrundfarbe der Breadcrumb-Elemente.","Farbe der Breadcrumb-Elemente, die den Fokus haben.","Die Farbe der ausgew\xE4hlten Breadcrumb-Elemente.","Hintergrundfarbe des Breadcrumb-Auswahltools.","Hintergrund des aktuellen Headers in Inlinezusammenf\xFChrungskonflikten. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrund f\xFCr den aktuellen Inhalt in Inlinezusammenf\xFChrungskonflikten. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrund f\xFCr eingehende Header in Inlinezusammenf\xFChrungskonflikten. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrund f\xFCr eingehenden Inhalt in Inlinezusammenf\xFChrungskonflikten. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Headerhintergrund f\xFCr gemeinsame Vorg\xE4ngerelemente in Inlinezusammenf\xFChrungskonflikten. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Hintergrund des Inhalts gemeinsamer Vorg\xE4ngerelemente in Inlinezusammenf\xFChrungskonflikt. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Rahmenfarbe f\xFCr Kopfzeilen und die Aufteilung in Inline-Mergingkonflikten.","Aktueller \xDCbersichtslineal-Vordergrund f\xFCr Inline-Mergingkonflikte.","Eingehender \xDCbersichtslineal-Vordergrund f\xFCr Inline-Mergingkonflikte.","Hintergrund des \xDCbersichtslineals des gemeinsamen \xFCbergeordneten Elements bei Inlinezusammenf\xFChrungskonflikten.","\xDCbersichtslinealmarkerfarbe f\xFCr das Suchen von \xDCbereinstimmungen. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","\xDCbersichtslinealmarkerfarbe f\xFCr das Hervorheben der Auswahl. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.","Minimap-Markerfarbe f\xFCr gefundene \xDCbereinstimmungen.","Minimap-Markerfarbe f\xFCr wiederholte Editorauswahlen.","Minimap-Markerfarbe f\xFCr die Editorauswahl.","Minimapmarkerfarbe f\xFCr Informationen.","Minimapmarkerfarbe f\xFCr Warnungen","Minimapmarkerfarbe f\xFCr Fehler","Hintergrundfarbe der Minimap.","Deckkraft von Vordergrundelementen, die in der Minimap gerendert werden. Beispiel: \u201E#000000c0\u201C wird die Elemente mit einer Deckkraft von 75 % rendern.","Hintergrundfarbe des Minimap-Schiebereglers.","Hintergrundfarbe des Minimap-Schiebereglers beim Daraufzeigen.","Hintergrundfarbe des Minimap-Schiebereglers, wenn darauf geklickt wird.","Die Farbe, die f\xFCr das Problemfehlersymbol verwendet wird.","Die Farbe, die f\xFCr das Problemwarnsymbol verwendet wird.","Die Farbe, die f\xFCr das Probleminfosymbol verwendet wird.","Die in Diagrammen verwendete Vordergrundfarbe.","Die f\xFCr horizontale Linien in Diagrammen verwendete Farbe.","Die in Diagrammvisualisierungen verwendete Farbe Rot.","Die in Diagrammvisualisierungen verwendete Farbe Blau.","Die in Diagrammvisualisierungen verwendete Farbe Gelb.","Die in Diagrammvisualisierungen verwendete Farbe Orange.","Die in Diagrammvisualisierungen verwendete Farbe Gr\xFCn.","Die in Diagrammvisualisierungen verwendete Farbe Violett."],"vs/platform/theme/common/iconRegistry":["Die ID der zu verwendenden Schriftart. Sofern nicht festgelegt, wird die zuerst definierte Schriftart verwendet.","Das der Symboldefinition zugeordnete Schriftzeichen.","Symbol f\xFCr Aktion zum Schlie\xDFen in Widgets","Symbol f\xFCr den Wechsel zur vorherigen Editor-Position.","Symbol f\xFCr den Wechsel zur n\xE4chsten Editor-Position."],"vs/platform/undoRedo/common/undoRedoService":["Die folgenden Dateien wurden geschlossen und auf dem Datentr\xE4ger ge\xE4ndert: {0}.","Die folgenden Dateien wurden auf inkompatible Weise ge\xE4ndert: {0}.",'"{0}" konnte nicht f\xFCr alle Dateien r\xFCckg\xE4ngig gemacht werden. {1}','"{0}" konnte nicht f\xFCr alle Dateien r\xFCckg\xE4ngig gemacht werden. {1}','"{0}" konnte nicht f\xFCr alle Dateien r\xFCckg\xE4ngig gemacht werden, da \xC4nderungen an {1} vorgenommen wurden.','"{0}" konnte nicht f\xFCr alle Dateien r\xFCckg\xE4ngig gemacht werden, weil bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen f\xFCr "{1}" durchgef\xFChrt wird.','"{0}" konnte nicht f\xFCr alle Dateien r\xFCckg\xE4ngig gemacht werden, weil in der Zwischenzeit bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen durchgef\xFChrt wurde.','M\xF6chten Sie "{0}" f\xFCr alle Dateien r\xFCckg\xE4ngig machen?',"&&In {0} Dateien r\xFCckg\xE4ngig machen","&&Datei r\xFCckg\xE4ngig machen",'"{0}" konnte nicht r\xFCckg\xE4ngig gemacht werden, weil bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen durchgef\xFChrt wird.','M\xF6chten Sie "{0}" r\xFCckg\xE4ngig machen?',"&&Ja","Nein",'"{0}" konnte nicht in allen Dateien wiederholt werden. {1}','"{0}" konnte nicht in allen Dateien wiederholt werden. {1}','"{0}" konnte nicht in allen Dateien wiederholt werden, da \xC4nderungen an {1} vorgenommen wurden.','"{0}" konnte nicht f\xFCr alle Dateien wiederholt werden, weil bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen f\xFCr "{1}" durchgef\xFChrt wird.','"{0}" konnte nicht f\xFCr alle Dateien wiederholt werden, weil in der Zwischenzeit bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen durchgef\xFChrt wurde.','"{0}" konnte nicht wiederholt werden, weil bereits ein Vorgang zum R\xFCckg\xE4ngigmachen oder Wiederholen durchgef\xFChrt wird.'],"vs/platform/workspace/common/workspace":["Codearbeitsbereich"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.de.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.es.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.es.js new file mode 100644 index 0000000..0b9effd --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.es.js @@ -0,0 +1,31 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.es",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["entrada"],"vs/base/browser/ui/findinput/findInputToggles":["Coincidir may\xFAsculas y min\xFAsculas","Solo palabras completas","Usar expresi\xF3n regular"],"vs/base/browser/ui/findinput/replaceInput":["entrada","Conservar may/min"],"vs/base/browser/ui/hover/hoverWidget":["Inspeccione esto en la vista accesible con {0}.","Inspeccione esto en la vista accesible mediante el comando Abrir vista accesible, que actualmente no se puede desencadenar mediante el enlace de teclado."],"vs/base/browser/ui/iconLabel/iconLabelHover":["Cargando..."],"vs/base/browser/ui/inputbox/inputBox":["Error: {0}","Advertencia: {0}","Informaci\xF3n: {0}","para el historial","Entrada borrada"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["Sin enlazar"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Seleccionar cuadro"],"vs/base/browser/ui/toolbar/toolbar":["M\xE1s Acciones..."],"vs/base/browser/ui/tree/abstractTree":["Filtrar","Coincidencia aproximada","Escriba texto para filtrar","Escriba texto para buscar","Escriba texto para buscar","Cerrar","No se encontraron elementos."],"vs/base/common/actions":["(vac\xEDo)"],"vs/base/common/errorMessage":["{0}: {1}","Error del sistema ({0})","Se ha producido un error desconocido. Consulte el registro para obtener m\xE1s detalles.","Se ha producido un error desconocido. Consulte el registro para obtener m\xE1s detalles.","{0} ({1} errores en total)","Se ha producido un error desconocido. Consulte el registro para obtener m\xE1s detalles."],"vs/base/common/keybindingLabels":["Ctrl","May\xFAs","Alt","Windows","Ctrl","May\xFAs","Alt","Super","Control","May\xFAs","Opci\xF3n","Comando","Control","May\xFAs","Alt","Windows","Control","May\xFAs","Alt","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["editor","No se puede acceder al editor en este momento.","{0} Para habilitar el modo optimizado para lectores de pantalla, use {1}","{0} Para habilitar el modo optimizado para lector de pantalla, abra la selecci\xF3n r\xE1pida con {1} y ejecute el comando Alternar modo de accesibilidad del lector de pantalla, que actualmente no se puede desencadenar mediante el teclado.","{0} Para asignar un enlace de teclado para el comando Alternar modo de accesibilidad del lector de pantalla, acceda al editor de enlaces de teclado con {1} y ejec\xFAtelo."],"vs/editor/browser/coreCommands":["Anclar al final incluso cuando se vayan a l\xEDneas m\xE1s largas","Anclar al final incluso cuando se vayan a l\xEDneas m\xE1s largas","Cursores secundarios quitados"],"vs/editor/browser/editorExtensions":["&&Deshacer","Deshacer","&&Rehacer","Rehacer","&&Seleccionar todo","Seleccionar todo"],"vs/editor/browser/widget/codeEditorWidget":["El n\xFAmero de cursores se ha limitado a {0}. Considere la posibilidad de usar [buscar y reemplazar](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) para realizar cambios mayores o aumentar la configuraci\xF3n del l\xEDmite de varios cursores del editor.","Aumentar el l\xEDmite de varios cursores"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":['Icono de "Insertar" en el visor de diferencias accesible.','Icono de "Quitar" en el visor de diferencias accesible.','Icono de "Cerrar" en el visor de diferencias accesible.',"Cerrar","Visor de diferencias accesible. Utilice la flecha hacia arriba y hacia abajo para navegar.","no se han cambiado l\xEDneas","1 l\xEDnea cambiada","{0} l\xEDneas cambiadas","Diferencia {0} de {1}: l\xEDnea original {2}, {3}, l\xEDnea modificada {4}, {5}","vac\xEDo","{0} l\xEDnea sin cambios {1}","{0} l\xEDnea original {1} l\xEDnea modificada {2}","+ {0} l\xEDnea modificada {1}","- {0} l\xEDnea original {1}"],"vs/editor/browser/widget/diffEditor/colors":["Color del borde del texto que se movi\xF3 en el editor de diferencias.","Color del borde de texto activo que se movi\xF3 en el editor de diferencias."],"vs/editor/browser/widget/diffEditor/decorations":["Decoraci\xF3n de l\xEDnea para las inserciones en el editor de diferencias.","Decoraci\xF3n de l\xEDnea para las eliminaciones en el editor de diferencias.","Haga clic para revertir el cambio"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["Alternar contraer regiones sin cambios","Alternar Mostrar bloques de c\xF3digo movidos","Alternar el uso de la vista insertada cuando el espacio es limitado","Uso de la vista insertada cuando el espacio es limitado","Mostrar bloques de c\xF3digo movidos","Editor de diferencias","Lado del conmutador","Salir de la comparaci\xF3n de movimientos","Contraer todas las regiones sin cambios","Mostrar todas las regiones sin cambios","Visor de diferencias accesibles","Ir a la siguiente diferencia","Abrir visor de diferencias accesibles","Ir a la diferencia anterior"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" use {0} para abrir la ayuda de accesibilidad."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["Plegar la regi\xF3n sin cambios","Haga clic o arrastre para mostrar m\xE1s arriba","Mostrar todo","Hacer clic o arrastrar para mostrar m\xE1s abajo","{0} l\xEDneas ocultas","Doble clic para desplegar"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["Copiar l\xEDneas eliminadas","Copiar l\xEDnea eliminada","Copiar l\xEDneas cambiadas","Copiar l\xEDnea cambiada","Copiar la l\xEDnea eliminada ({0})","Copiar l\xEDnea cambiada ({0})","Revertir este cambio"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["C\xF3digo movido con cambios en la l\xEDnea {0}-{1}","C\xF3digo movido con cambios de la l\xEDnea {0}-{1}","C\xF3digo movido a la l\xEDnea {0}-{1}","C\xF3digo movido de la l\xEDnea {0}-{1}"],"vs/editor/common/config/editorConfigurationSchema":["Editor","El n\xFAmero de espacios a los que equivale una tabulaci\xF3n. Este valor se invalida en funci\xF3n del contenido del archivo cuando {0} est\xE1 activado.",'N\xFAmero de espacios usados para la sangr\xEDa o "tabSize" para usar el valor de "#editor.tabSize#". Esta configuraci\xF3n se invalida en funci\xF3n del contenido del archivo cuando "#editor.detectIndentation#" est\xE1 activado.','Insertar espacios al presionar "TAB". Este valor se invalida en funci\xF3n del contenido del archivo cuando {0} est\xE1 activado.',"Controla si {0} y {1} se detectan autom\xE1ticamente al abrir un archivo en funci\xF3n del contenido de este.","Quitar el espacio en blanco final autoinsertado.","Manejo especial para archivos grandes para desactivar ciertas funciones de memoria intensiva.","Habilita sugerencias basadas en palabras.","Sugerir palabras solo del documento activo.","Sugerir palabras de todos los documentos abiertos del mismo idioma.","Sugerir palabras de todos los documentos abiertos.","Controla de qu\xE9 documentos se calculan las finalizaciones basadas en palabras.","El resaltado sem\xE1ntico est\xE1 habilitado para todos los temas de color.","El resaltado sem\xE1ntico est\xE1 deshabilitado para todos los temas de color.",'El resaltado sem\xE1ntico est\xE1 configurado con el valor "semanticHighlighting" del tema de color actual.',"Controla si se muestra semanticHighlighting para los idiomas que lo admiten.",'Mantiene abiertos los editores interactivos, incluso al hacer doble clic en su contenido o presionar "Escape".',"Las lineas por encima de esta longitud no se tokenizar\xE1n por razones de rendimiento.","Controla si la tokenizaci\xF3n debe producirse de forma asincr\xF3nica en un rol de trabajo.","Controla si se debe registrar la tokenizaci\xF3n asincr\xF3nica. Solo para depuraci\xF3n.","Controla si se debe comprobar la tokenizaci\xF3n asincr\xF3nica con la tokenizaci\xF3n en segundo plano heredada. Puede ralentizar la tokenizaci\xF3n. Solo para depuraci\xF3n.","Define los corchetes que aumentan o reducen la sangr\xEDa.","Secuencia de cadena o corchete de apertura.","Secuencia de cadena o corchete de cierre.","Define los pares de corchetes coloreados por su nivel de anidamiento si est\xE1 habilitada la coloraci\xF3n de par de corchetes.","Secuencia de cadena o corchete de apertura.","Secuencia de cadena o corchete de cierre.","Tiempo de espera en milisegundos despu\xE9s del cual se cancela el c\xE1lculo de diferencias. Utilice 0 para no usar tiempo de espera.","Tama\xF1o m\xE1ximo de archivo en MB para el que calcular diferencias. Use 0 para no limitar.","Controla si el editor de diferencias muestra las diferencias en paralelo o alineadas.","Si el ancho del editor de diferencias es menor que este valor, se usa la vista insertada.","Si est\xE1 habilitada y el ancho del editor es demasiado peque\xF1o, se usa la vista en l\xEDnea.","Cuando est\xE1 habilitado, el editor de diferencias muestra flechas en su margen de glifo para revertir los cambios.","Cuando est\xE1 habilitado, el editor de diferencias omite los cambios en los espacios en blanco iniciales o finales.","Controla si el editor de diferencias muestra los indicadores +/- para los cambios agregados o quitados.","Controla si el editor muestra CodeLens.","Las l\xEDneas no se ajustar\xE1n nunca.","Las l\xEDneas se ajustar\xE1n en el ancho de la ventanilla.","Las l\xEDneas se ajustar\xE1n en funci\xF3n de la configuraci\xF3n de {0}.","Usa el algoritmo de diferenciaci\xF3n heredado.","Usa el algoritmo de diferenciaci\xF3n avanzada.","Controla si el editor de diferencias muestra las regiones sin cambios.","Controla cu\xE1ntas l\xEDneas se usan para las regiones sin cambios.","Controla cu\xE1ntas l\xEDneas se usan como m\xEDnimo para las regiones sin cambios.","Controla cu\xE1ntas l\xEDneas se usan como contexto al comparar regiones sin cambios.","Controlar si el editor de diferencias debe mostrar los movimientos de c\xF3digo detectados.","Controla si el editor de diferencias muestra decoraciones vac\xEDas para ver d\xF3nde se insertan o eliminan los caracteres."],"vs/editor/common/config/editorOptions":["Usar las API de la plataforma para detectar cu\xE1ndo se conecta un lector de pantalla","Optimizar para usar con un lector de pantalla","Supongamos que no hay un lector de pantalla conectado","Controla si la interfaz de usuario debe ejecutarse en un modo en el que est\xE9 optimizada para lectores de pantalla.","Controla si se inserta un car\xE1cter de espacio al comentar.","Controla si las l\xEDneas vac\xEDas deben ignorarse con la opci\xF3n de alternar, agregar o quitar acciones para los comentarios de l\xEDnea.","Controla si al copiar sin selecci\xF3n se copia la l\xEDnea actual.","Controla si el cursor debe saltar para buscar coincidencias mientras se escribe.","Nunca inicializar la cadena de b\xFAsqueda desde la selecci\xF3n del editor.","Siempre inicializar la cadena de b\xFAsqueda desde la selecci\xF3n del editor, incluida la palabra en la posici\xF3n del cursor.","Solo inicializar la cadena de b\xFAsqueda desde la selecci\xF3n del editor.","Controla si la cadena de b\xFAsqueda del widget de b\xFAsqueda se inicializa desde la selecci\xF3n del editor.","No activar nunca Buscar en selecci\xF3n autom\xE1ticamente (predeterminado).","Activar siempre Buscar en selecci\xF3n autom\xE1ticamente.","Activar Buscar en la selecci\xF3n autom\xE1ticamente cuando se seleccionen varias l\xEDneas de contenido.","Controla la condici\xF3n para activar la b\xFAsqueda en la selecci\xF3n de forma autom\xE1tica.","Controla si el widget de b\xFAsqueda debe leer o modificar el Portapapeles de b\xFAsqueda compartido en macOS.","Controla si Encontrar widget debe agregar m\xE1s l\xEDneas en la parte superior del editor. Si es true, puede desplazarse m\xE1s all\xE1 de la primera l\xEDnea cuando Encontrar widget est\xE1 visible.","Controla si la b\xFAsqueda se reinicia autom\xE1ticamente desde el principio (o el final) cuando no se encuentran m\xE1s coincidencias.",'Habilita o deshabilita las ligaduras tipogr\xE1ficas (caracter\xEDsticas de fuente "calt" y "liga"). C\xE1mbielo a una cadena para el control espec\xEDfico de la propiedad de CSS "font-feature-settings".','Propiedad de CSS "font-feature-settings" expl\xEDcita. En su lugar, puede pasarse un valor booleano si solo es necesario activar o desactivar las ligaduras.','Configura las ligaduras tipogr\xE1ficas o las caracter\xEDsticas de fuente. Puede ser un valor booleano para habilitar o deshabilitar las ligaduras o bien una cadena para el valor de la propiedad "font-feature-settings" de CSS.',"Habilita o deshabilita la traducci\xF3n del grosor de font-weight a font-variation-settings. Cambie esto a una cadena para el control espec\xEDfico de la propiedad CSS 'font-variation-settings'.","Propiedad CSS expl\xEDcita 'font-variation-settings'. En su lugar, se puede pasar un valor booleano si solo es necesario traducir font-weight a font-variation-settings.","Configura variaciones de fuente. Puede ser un booleano para habilitar o deshabilitar la traducci\xF3n de font-weight a font-variation-settings o una cadena para el valor de la propiedad CSS 'font-variation-settings'.","Controla el tama\xF1o de fuente en p\xEDxeles.",'Solo se permiten las palabras clave "normal" y "negrita" o los n\xFAmeros entre 1 y 1000.','Controla el grosor de la fuente. Acepta las palabras clave "normal" y "negrita" o los n\xFAmeros entre 1 y 1000.',"Mostrar vista de inspecci\xF3n de los resultados (predeterminado)","Ir al resultado principal y mostrar una vista de inspecci\xF3n","Vaya al resultado principal y habilite la navegaci\xF3n sin peek para otros",'Esta configuraci\xF3n est\xE1 en desuso. Use configuraciones separadas como "editor.editor.gotoLocation.multipleDefinitions" o "editor.editor.gotoLocation.multipleImplementations" en su lugar.','Controla el comportamiento del comando "Ir a definici\xF3n" cuando existen varias ubicaciones de destino.','Controla el comportamiento del comando "Ir a definici\xF3n de tipo" cuando existen varias ubicaciones de destino.','Controla el comportamiento del comando "Ir a declaraci\xF3n" cuando existen varias ubicaciones de destino.','Controla el comportamiento del comando "Ir a implementaciones" cuando existen varias ubicaciones de destino.','Controla el comportamiento del comando "Ir a referencias" cuando existen varias ubicaciones de destino.','Identificador de comando alternativo que se ejecuta cuando el resultado de "Ir a definici\xF3n" es la ubicaci\xF3n actual.','Id. de comando alternativo que se est\xE1 ejecutando cuando el resultado de "Ir a definici\xF3n de tipo" es la ubicaci\xF3n actual.','Id. de comando alternativo que se est\xE1 ejecutando cuando el resultado de "Ir a declaraci\xF3n" es la ubicaci\xF3n actual.','Id. de comando alternativo que se est\xE1 ejecutando cuando el resultado de "Ir a implementaci\xF3n" es la ubicaci\xF3n actual.','Identificador de comando alternativo que se ejecuta cuando el resultado de "Ir a referencia" es la ubicaci\xF3n actual.',"Controla si se muestra la informaci\xF3n al mantener el puntero sobre un elemento.","Controla el retardo en milisegundos despu\xE9s del cual se muestra la informaci\xF3n al mantener el puntero sobre un elemento.","Controla si la informaci\xF3n que aparece al mantener el puntero sobre un elemento permanece visible al mover el mouse sobre este.",'Controla el retardo en milisegundos despu\xE9s del cual se oculta la informaci\xF3n al mantener el puntero sobre un elemento. Requiere que se habilite "editor.hover.sticky".',"Preferir mostrar los desplazamientos por encima de la l\xEDnea, si hay espacio.","Se supone que todos los caracteres son del mismo ancho. Este es un algoritmo r\xE1pido que funciona correctamente para fuentes monoespaciales y ciertos scripts (como caracteres latinos) donde los glifos tienen el mismo ancho.","Delega el c\xE1lculo de puntos de ajuste en el explorador. Es un algoritmo lento, que podr\xEDa causar bloqueos para archivos grandes, pero funciona correctamente en todos los casos.","Controla el algoritmo que calcula los puntos de ajuste. Tenga en cuenta que, en el modo de accesibilidad, se usar\xE1 el modo avanzado para obtener la mejor experiencia.","Habilita la bombilla de acci\xF3n de c\xF3digo en el editor.","Muestra los \xE1mbitos actuales anidados durante el desplazamiento en la parte superior del editor.","Define el n\xFAmero m\xE1ximo de l\xEDneas r\xE1pidas que se mostrar\xE1n.","Define el modelo que se va a usar para determinar qu\xE9 l\xEDneas se van a pegar. Si el modelo de esquema no existe, recurrir\xE1 al modelo del proveedor de plegado que recurre al modelo de sangr\xEDa. Este orden se respeta en los tres casos.","Habilite el desplazamiento del widget de desplazamiento r\xE1pido con la barra de desplazamiento horizontal del editor.","Habilita las sugerencias de incrustaci\xF3n en el editor.","Las sugerencias de incrustaci\xF3n est\xE1n habilitadas","Las sugerencias de incrustaci\xF3n se muestran de forma predeterminada y se ocultan cuando se mantiene presionado {0}","Las sugerencias de incrustaci\xF3n est\xE1n ocultas de forma predeterminada y se muestran al mantener presionado {0}","Las sugerencias de incrustaci\xF3n est\xE1n deshabilitadas","Controla el tama\xF1o de fuente de las sugerencias de incrustaci\xF3n en el editor. Como valor predeterminado, se usa {0} cuando el valor configurado es menor que {1} o mayor que el tama\xF1o de fuente del editor.","Controla la familia de fuentes de sugerencias de incrustaci\xF3n en el editor. Cuando se establece en vac\xEDo, se usa el {0}.","Habilita el relleno alrededor de las sugerencias de incrustaci\xF3n en el editor.",`Controla el alto de l\xEDnea. \r + - Use 0 para calcular autom\xE1ticamente el alto de l\xEDnea a partir del tama\xF1o de la fuente.\r + - Los valores entre 0 y 8 se usar\xE1n como multiplicador con el tama\xF1o de fuente.\r + - Los valores mayores o igual que 8 se usar\xE1n como valores efectivos.`,"Controla si se muestra el minimapa.","Controla si el minimapa se oculta autom\xE1ticamente.","El minimapa tiene el mismo tama\xF1o que el contenido del editor (y podr\xEDa desplazarse).","El minimapa se estirar\xE1 o reducir\xE1 seg\xFAn sea necesario para ocupar la altura del editor (sin desplazamiento).","El minimapa se reducir\xE1 seg\xFAn sea necesario para no ser nunca m\xE1s grande que el editor (sin desplazamiento).","Controla el tama\xF1o del minimapa.","Controla en qu\xE9 lado se muestra el minimapa.","Controla cu\xE1ndo se muestra el control deslizante del minimapa.","Escala del contenido dibujado en el minimapa: 1, 2 o 3.","Represente los caracteres reales en una l\xEDnea, por oposici\xF3n a los bloques de color.","Limite el ancho del minimapa para representar como mucho un n\xFAmero de columnas determinado.","Controla la cantidad de espacio entre el borde superior del editor y la primera l\xEDnea.","Controla el espacio entre el borde inferior del editor y la \xFAltima l\xEDnea.","Habilita un elemento emergente que muestra documentaci\xF3n de los par\xE1metros e informaci\xF3n de los tipos mientras escribe.","Controla si el men\xFA de sugerencias de par\xE1metros se cicla o se cierra al llegar al final de la lista.","Las sugerencias r\xE1pidas se muestran dentro del widget de sugerencias","Las sugerencias r\xE1pidas se muestran como texto fantasma","Las sugerencias r\xE1pidas est\xE1n deshabilitadas","Habilita sugerencias r\xE1pidas en las cadenas.","Habilita sugerencias r\xE1pidas en los comentarios.","Habilita sugerencias r\xE1pidas fuera de las cadenas y los comentarios.","Controla si las sugerencias deben mostrarse autom\xE1ticamente al escribir. Puede controlarse para la escritura en comentarios, cadenas y otro c\xF3digo. Las sugerencias r\xE1pidas pueden configurarse para mostrarse como texto fantasma o con el widget de sugerencias. Tenga tambi\xE9n en cuenta la configuraci\xF3n '{0}' que controla si las sugerencias son desencadenadas por caracteres especiales.","Los n\xFAmeros de l\xEDnea no se muestran.","Los n\xFAmeros de l\xEDnea se muestran como un n\xFAmero absoluto.","Los n\xFAmeros de l\xEDnea se muestran como distancia en l\xEDneas a la posici\xF3n del cursor.","Los n\xFAmeros de l\xEDnea se muestran cada 10 l\xEDneas.","Controla la visualizaci\xF3n de los n\xFAmeros de l\xEDnea.","N\xFAmero de caracteres monoespaciales en los que se representar\xE1 esta regla del editor.","Color de esta regla del editor.","Muestra reglas verticales despu\xE9s de un cierto n\xFAmero de caracteres monoespaciados. Usa m\xFAltiples valores para mostrar m\xFAltiples reglas. Si la matriz est\xE1 vac\xEDa, no se muestran reglas.","La barra de desplazamiento vertical estar\xE1 visible solo cuando sea necesario.","La barra de desplazamiento vertical estar\xE1 siempre visible.","La barra de desplazamiento vertical estar\xE1 siempre oculta.","Controla la visibilidad de la barra de desplazamiento vertical.","La barra de desplazamiento horizontal estar\xE1 visible solo cuando sea necesario.","La barra de desplazamiento horizontal estar\xE1 siempre visible.","La barra de desplazamiento horizontal estar\xE1 siempre oculta.","Controla la visibilidad de la barra de desplazamiento horizontal.","Ancho de la barra de desplazamiento vertical.","Altura de la barra de desplazamiento horizontal.","Controla si al hacer clic se desplaza por p\xE1gina o salta a la posici\xF3n donde se hace clic.","Controla si se resaltan todos los caracteres ASCII no b\xE1sicos. Solo los caracteres entre U+0020 y U+007E, tabulaci\xF3n, avance de l\xEDnea y retorno de carro se consideran ASCII b\xE1sicos.","Controla si se resaltan los caracteres que solo reservan espacio o que no tienen ancho.","Controla si se resaltan caracteres que se pueden confundir con caracteres ASCII b\xE1sicos, excepto los que son comunes en la configuraci\xF3n regional del usuario actual.","Controla si los caracteres de los comentarios tambi\xE9n deben estar sujetos al resaltado Unicode.","Controla si los caracteres de las cadenas tambi\xE9n deben estar sujetos al resaltado Unicode.","Define los caracteres permitidos que no se resaltan.","Los caracteres Unicode que son comunes en las configuraciones regionales permitidas no se resaltan.","Controla si se deben mostrar autom\xE1ticamente las sugerencias alineadas en el editor.","Muestra la barra de herramientas de sugerencias insertadas cada vez que se muestra una sugerencia insertada.","Muestra la barra de herramientas de sugerencias insertadas al mantener el puntero sobre una sugerencia insertada.","Controla cu\xE1ndo mostrar la barra de herramientas de sugerencias insertadas.","Controla c\xF3mo interact\xFAan las sugerencias insertadas con el widget de sugerencias. Si se habilita, el widget de sugerencias no se muestra autom\xE1ticamente cuando hay sugerencias insertadas disponibles.","Controla si est\xE1 habilitada o no la coloraci\xF3n de pares de corchetes. Use {0} para invalidar los colores de resaltado de corchete.","Controla si cada tipo de corchete tiene su propio grupo de colores independiente.","Habilita gu\xEDas de par de corchetes.","Habilita gu\xEDas de par de corchetes solo para el par de corchetes activo.","Deshabilita las gu\xEDas de par de corchetes.","Controla si est\xE1n habilitadas las gu\xEDas de pares de corchetes.","Habilita gu\xEDas horizontales como adici\xF3n a gu\xEDas de par de corchetes verticales.","Habilita gu\xEDas horizontales solo para el par de corchetes activo.","Deshabilita las gu\xEDas de par de corchetes horizontales.","Controla si est\xE1n habilitadas las gu\xEDas de pares de corchetes horizontales.","Controla si el editor debe resaltar el par de corchetes activo.","Controla si el editor debe representar gu\xEDas de sangr\xEDa.","Resalta la gu\xEDa de sangr\xEDa activa.","Resalta la gu\xEDa de sangr\xEDa activa incluso si se resaltan las gu\xEDas de corchetes.","No resalta la gu\xEDa de sangr\xEDa activa.","Controla si el editor debe resaltar la gu\xEDa de sangr\xEDa activa.","Inserte la sugerencia sin sobrescribir el texto a la derecha del cursor.","Inserte la sugerencia y sobrescriba el texto a la derecha del cursor.","Controla si las palabras se sobrescriben al aceptar la finalizaci\xF3n. Tenga en cuenta que esto depende de las extensiones que participan en esta caracter\xEDstica.","Controla si el filtrado y la ordenaci\xF3n de sugerencias se tienen en cuenta para los errores ortogr\xE1ficos peque\xF1os.","Controla si la ordenaci\xF3n mejora las palabras que aparecen cerca del cursor.",'Controla si las selecciones de sugerencias recordadas se comparten entre m\xFAltiples \xE1reas de trabajo y ventanas (necesita "#editor.suggestSelection#").',"Seleccione siempre una sugerencia cuando se desencadene IntelliSense autom\xE1ticamente.","Nunca seleccione una sugerencia cuando desencadene IntelliSense autom\xE1ticamente.","Seleccione una sugerencia solo cuando desencadene IntelliSense desde un car\xE1cter de desencadenador.","Seleccione una sugerencia solo cuando desencadene IntelliSense mientras escribe.","Controla si se selecciona una sugerencia cuando se muestra el widget. Tenga en cuenta que esto solo se aplica a las sugerencias desencadenadas autom\xE1ticamente (`#editor.quickSuggestions#` y `#editor.suggestOnTriggerCharacters#`) y que siempre se selecciona una sugerencia cuando se invoca expl\xEDcitamente, por ejemplo, a trav\xE9s de 'Ctrl+Espacio'.","Controla si un fragmento de c\xF3digo activo impide sugerencias r\xE1pidas.","Controla si mostrar u ocultar iconos en sugerencias.","Controla la visibilidad de la barra de estado en la parte inferior del widget de sugerencias.","Controla si se puede obtener una vista previa del resultado de la sugerencia en el editor.","Controla si los detalles de sugerencia se muestran incorporados con la etiqueta o solo en el widget de detalles.","La configuraci\xF3n est\xE1 en desuso. Ahora puede cambiarse el tama\xF1o del widget de sugerencias.",'Esta configuraci\xF3n est\xE1 en desuso. Use configuraciones separadas como "editor.suggest.showKeyword" o "editor.suggest.showSnippets" en su lugar.','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "method".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de "funci\xF3n".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "constructor".','Cuando se activa IntelliSense muestra sugerencias "obsoletas".','Cuando se activa el filtro IntelliSense se requiere que el primer car\xE1cter coincida con el inicio de una palabra. Por ejemplo, "c" en "Consola" o "WebContext" but _not_ on "descripci\xF3n". Si se desactiva, IntelliSense mostrar\xE1 m\xE1s resultados, pero los ordenar\xE1 seg\xFAn la calidad de la coincidencia.','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "field".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "variable".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "class".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "struct".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "interface".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "module".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "property".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "event".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "operator".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "unit".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de "value".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "constant".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "enum".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "enumMember".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "keyword".','Si est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "text".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de "color".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "file".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "reference".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "customcolor".','Si est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "folder".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "typeParameter".','Cuando est\xE1 habilitado, IntelliSense muestra sugerencias de tipo "snippet".',"Cuando est\xE1 habilitado, IntelliSense muestra sugerencias del usuario.","Cuando est\xE1 habilitado IntelliSense muestra sugerencias para problemas.","Indica si los espacios en blanco iniciales y finales deben seleccionarse siempre.",'Indica si se deben seleccionar las subpalabras (como "foo" en "fooBar" o "foo_bar").',"No hay sangr\xEDa. Las l\xEDneas ajustadas comienzan en la columna 1.","A las l\xEDneas ajustadas se les aplica la misma sangr\xEDa que al elemento primario.","A las l\xEDneas ajustadas se les aplica una sangr\xEDa de +1 respecto al elemento primario.","A las l\xEDneas ajustadas se les aplica una sangr\xEDa de +2 respecto al elemento primario.","Controla la sangr\xEDa de las l\xEDneas ajustadas.","Controla si puede arrastrar y colocar un archivo en un editor de texto manteniendo presionada la tecla `may\xFAs` (en lugar de abrir el archivo en un editor).","Controla si se muestra un widget al colocar archivos en el editor. Este widget le permite controlar c\xF3mo se coloca el archivo.","Muestra el widget del selector de colocaci\xF3n despu\xE9s de colocar un archivo en el editor.","No mostrar nunca el widget del selector de colocaci\xF3n. En su lugar, siempre se usa el proveedor de colocaci\xF3n predeterminado.","Controla si se puede pegar contenido de distintas formas.","Controla si se muestra un widget al pegar contenido en el editor. Este widget le permite controlar c\xF3mo se pega el archivo.","Muestra el widget del selector de pegado despu\xE9s de pegar contenido en el editor.","No mostrar nunca el widget del selector de pegado. En su lugar, siempre se usa el comportamiento de pegado predeterminado.",'Controla si se deben aceptar sugerencias en los caracteres de confirmaci\xF3n. Por ejemplo, en Javascript, el punto y coma (";") puede ser un car\xE1cter de confirmaci\xF3n que acepta una sugerencia y escribe ese car\xE1cter.','Aceptar solo una sugerencia con "Entrar" cuando realiza un cambio textual.','Controla si las sugerencias deben aceptarse con "Entrar", adem\xE1s de "TAB". Ayuda a evitar la ambig\xFCedad entre insertar nuevas l\xEDneas o aceptar sugerencias.',"Controla el n\xFAmero de l\xEDneas del editor que pueden ser le\xEDdas por un lector de pantalla a la vez. Cuando detectamos un lector de pantalla, fijamos autom\xE1ticamente el valor por defecto en 500. Advertencia: esto tiene una implicaci\xF3n de rendimiento para n\xFAmeros mayores que el predeterminado.","Contenido del editor","Controlar si un lector de pantalla anuncia sugerencias insertadas.","Utilizar las configuraciones del lenguaje para determinar cu\xE1ndo cerrar los corchetes autom\xE1ticamente.","Cerrar autom\xE1ticamente los corchetes cuando el cursor est\xE9 a la izquierda de un espacio en blanco.","Controla si el editor debe cerrar autom\xE1ticamente los corchetes despu\xE9s de que el usuario agregue un corchete de apertura.","Utilice las configuraciones de idioma para determinar cu\xE1ndo cerrar los comentarios autom\xE1ticamente.","Cerrar autom\xE1ticamente los comentarios solo cuando el cursor est\xE9 a la izquierda de un espacio en blanco.","Controla si el editor debe cerrar autom\xE1ticamente los comentarios despu\xE9s de que el usuario agregue un comentario de apertura.","Quite los corchetes o las comillas de cierre adyacentes solo si se insertaron autom\xE1ticamente.","Controla si el editor debe quitar los corchetes o las comillas de cierre adyacentes al eliminar.","Escriba en las comillas o los corchetes solo si se insertaron autom\xE1ticamente.","Controla si el editor debe escribir entre comillas o corchetes.","Utilizar las configuraciones del lenguaje para determinar cu\xE1ndo cerrar las comillas autom\xE1ticamente. ","Cerrar autom\xE1ticamente las comillas cuando el cursor est\xE9 a la izquierda de un espacio en blanco. ","Controla si el editor debe cerrar autom\xE1ticamente las comillas despu\xE9s de que el usuario agrega uma comilla de apertura.","El editor no insertar\xE1 la sangr\xEDa autom\xE1ticamente.","El editor mantendr\xE1 la sangr\xEDa de la l\xEDnea actual.","El editor respetar\xE1 la sangr\xEDa de la l\xEDnea actual y los corchetes definidos por el idioma.","El editor mantendr\xE1 la sangr\xEDa de la l\xEDnea actual, respetar\xE1 los corchetes definidos por el idioma e invocar\xE1 onEnterRules especiales definidos por idiomas.","El editor respetar\xE1 la sangr\xEDa de la l\xEDnea actual, los corchetes definidos por idiomas y las reglas indentationRules definidas por idiomas, adem\xE1s de invocar reglas onEnterRules especiales.","Controla si el editor debe ajustar autom\xE1ticamente la sangr\xEDa mientras los usuarios escriben, pegan, mueven o sangran l\xEDneas.","Use las configuraciones de idioma para determinar cu\xE1ndo delimitar las selecciones autom\xE1ticamente.","Envolver con comillas, pero no con corchetes.","Envolver con corchetes, pero no con comillas.","Controla si el editor debe rodear autom\xE1ticamente las selecciones al escribir comillas o corchetes.","Emula el comportamiento de selecci\xF3n de los caracteres de tabulaci\xF3n al usar espacios para la sangr\xEDa. La selecci\xF3n se aplicar\xE1 a las tabulaciones.","Controla si el editor muestra CodeLens.","Controla la familia de fuentes para CodeLens.",'Controla el tama\xF1o de fuente de CodeLens en p\xEDxeles. Cuando se establece en 0, se usa el 90\xA0% de "#editor.fontSize#".',"Controla si el editor debe representar el Selector de colores y los elementos Decorator de color en l\xEDnea.","Hacer que el selector de colores aparezca tanto al hacer clic como al mantener el puntero sobre el decorador de color","Hacer que el selector de colores aparezca al pasar el puntero sobre el decorador de color","Hacer que el selector de colores aparezca al hacer clic en el decorador de color","Controla la condici\xF3n para que un selector de colores aparezca de un decorador de color","Controla el n\xFAmero m\xE1ximo de decoradores de color que se pueden representar en un editor a la vez.","Habilite que la selecci\xF3n con el mouse y las teclas est\xE9 realizando la selecci\xF3n de columnas.","Controla si el resaltado de sintaxis debe ser copiado al portapapeles.","Controla el estilo de animaci\xF3n del cursor.","La animaci\xF3n del s\xEDmbolo de intercalaci\xF3n suave est\xE1 deshabilitada.","La animaci\xF3n de s\xEDmbolo de intercalaci\xF3n suave solo se habilita cuando el usuario mueve el cursor con un gesto expl\xEDcito.","La animaci\xF3n de s\xEDmbolo de intercalaci\xF3n suave siempre est\xE1 habilitada.","Controla si la animaci\xF3n suave del cursor debe estar habilitada.","Controla el estilo del cursor.",'Controla el n\xFAmero m\xEDnimo de l\xEDneas iniciales visibles (m\xEDnimo 0) y l\xEDneas finales (m\xEDnimo 1) que rodean el cursor. Se conoce como "scrollOff" o "scrollOffset" en otros editores.','Solo se aplica "cursorSurroundingLines" cuando se desencadena mediante el teclado o la API.','"cursorSurroundingLines" se aplica siempre.','Controla cuando se debe aplicar "#cursorSurroundingLines#".','Controla el ancho del cursor cuando "#editor.cursorStyle#" se establece en "line".',"Controla si el editor debe permitir mover las selecciones mediante arrastrar y colocar.","Use un nuevo m\xE9todo de representaci\xF3n con svgs.","Use un nuevo m\xE9todo de representaci\xF3n con caracteres de fuente.","Use el m\xE9todo de representaci\xF3n estable.","Controla si los espacios en blanco se representan con un nuevo m\xE9todo experimental.",'Multiplicador de la velocidad de desplazamiento al presionar "Alt".',"Controla si el editor tiene el plegado de c\xF3digo habilitado.","Utilice una estrategia de plegado espec\xEDfica del idioma, si est\xE1 disponible, de lo contrario la basada en sangr\xEDa.","Utilice la estrategia de plegado basada en sangr\xEDa.","Controla la estrategia para calcular rangos de plegado.","Controla si el editor debe destacar los rangos plegados.","Permite controlar si el editor contrae autom\xE1ticamente los rangos de importaci\xF3n.","N\xFAmero m\xE1ximo de regiones plegables. Si aumenta este valor, es posible que el editor tenga menos capacidad de respuesta cuando el origen actual tiene un gran n\xFAmero de regiones plegables.","Controla si al hacer clic en el contenido vac\xEDo despu\xE9s de una l\xEDnea plegada se desplegar\xE1 la l\xEDnea.","Controla la familia de fuentes.","Controla si el editor debe dar formato autom\xE1ticamente al contenido pegado. Debe haber disponible un formateador capaz de aplicar formato a un rango dentro de un documento. ","Controla si el editor debe dar formato a la l\xEDnea autom\xE1ticamente despu\xE9s de escribirla.","Controla si el editor debe representar el margen de glifo vertical. El margen de glifo se usa, principalmente, para depuraci\xF3n.","Controla si el cursor debe ocultarse en la regla de informaci\xF3n general.","Controla el espacio entre letras en p\xEDxeles.","Controla si el editor tiene habilitada la edici\xF3n vinculada. Dependiendo del lenguaje, los s\xEDmbolos relacionados (por ejemplo, las etiquetas HTML) se actualizan durante la edici\xF3n.","Controla si el editor debe detectar v\xEDnculos y hacerlos interactivos.","Resaltar par\xE9ntesis coincidentes.",'Se usar\xE1 un multiplicador en los eventos de desplazamiento de la rueda del mouse "deltaX" y "deltaY". ','Ampliar la fuente del editor cuando se use la rueda del mouse mientras se presiona "Ctrl".',"Combinar varios cursores cuando se solapan.",'Se asigna a "Control" en Windows y Linux y a "Comando" en macOS.','Se asigna a "Alt" en Windows y Linux y a "Opci\xF3n" en macOS.',"El modificador que se usar\xE1 para agregar varios cursores con el mouse. Los gestos del mouse Ir a definici\xF3n y Abrir v\xEDnculo se adaptar\xE1n de modo que no entren en conflicto con el [modificador multicursor](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).","Cada cursor pega una \xFAnica l\xEDnea del texto.","Cada cursor pega el texto completo.","Controla el pegado cuando el recuento de l\xEDneas del texto pegado coincide con el recuento de cursores.","Controla el n\xFAmero m\xE1ximo de cursores que puede haber en un editor activo a la vez.","Controla si el editor debe resaltar las apariciones de s\xEDmbolos sem\xE1nticos.","Controla si debe dibujarse un borde alrededor de la regla de informaci\xF3n general.","Enfocar el \xE1rbol al abrir la inspecci\xF3n","Enfocar el editor al abrir la inspecci\xF3n","Controla si se debe enfocar el editor en l\xEDnea o el \xE1rbol en el widget de vista.","Controla si el gesto del mouse Ir a definici\xF3n siempre abre el widget interactivo.","Controla el retraso, en milisegundos, tras el cual aparecer\xE1n sugerencias r\xE1pidas.","Controla si el editor cambia el nombre autom\xE1ticamente en el tipo.",'En desuso. Utilice "editor.linkedEditing" en su lugar.',"Controla si el editor debe representar caracteres de control.","Representar el n\xFAmero de la \xFAltima l\xEDnea cuando el archivo termina con un salto de l\xEDnea.","Resalta el medianil y la l\xEDnea actual.","Controla c\xF3mo debe representar el editor el resaltado de l\xEDnea actual.","Controla si el editor debe representar el resaltado de la l\xEDnea actual solo cuando el editor est\xE1 enfocado.","Representa caracteres de espacio en blanco, excepto los espacios individuales entre palabras.","Represente los caracteres de espacio en blanco solo en el texto seleccionado.","Representa solo los caracteres de espacio en blanco al final.","Controla la forma en que el editor debe representar los caracteres de espacio en blanco.","Controla si las selecciones deber\xEDan tener las esquinas redondeadas.","Controla el n\xFAmero de caracteres adicionales a partir del cual el editor se desplazar\xE1 horizontalmente.","Controla si el editor seguir\xE1 haciendo scroll despu\xE9s de la \xFAltima l\xEDnea.","Despl\xE1cese solo a lo largo del eje predominante cuando se desplace vertical y horizontalmente al mismo tiempo. Evita la deriva horizontal cuando se desplaza verticalmente en un trackpad.","Controla si el portapapeles principal de Linux debe admitirse.","Controla si el editor debe destacar las coincidencias similares a la selecci\xF3n.","Mostrar siempre los controles de plegado.","No mostrar nunca los controles de plegado y reducir el tama\xF1o del medianil.","Mostrar solo los controles de plegado cuando el mouse est\xE1 sobre el medianil.","Controla cu\xE1ndo se muestran los controles de plegado en el medianil.","Controla el fundido de salida del c\xF3digo no usado.","Controla las variables en desuso tachadas.","Mostrar sugerencias de fragmentos de c\xF3digo por encima de otras sugerencias.","Mostrar sugerencias de fragmentos de c\xF3digo por debajo de otras sugerencias.","Mostrar sugerencias de fragmentos de c\xF3digo con otras sugerencias.","No mostrar sugerencias de fragmentos de c\xF3digo.","Controla si se muestran los fragmentos de c\xF3digo con otras sugerencias y c\xF3mo se ordenan.","Controla si el editor se desplazar\xE1 con una animaci\xF3n.","Controla si se debe proporcionar la sugerencia de accesibilidad a los usuarios del lector de pantalla cuando se muestra una finalizaci\xF3n insertada.","Tama\xF1o de fuente del widget de sugerencias. Cuando se establece en {0}, se usa el valor de {1}.","Alto de l\xEDnea para el widget de sugerencias. Cuando se establece en {0}, se usa el valor de {1}. El valor m\xEDnimo es 8.","Controla si deben aparecer sugerencias de forma autom\xE1tica al escribir caracteres desencadenadores.","Seleccionar siempre la primera sugerencia.",'Seleccione sugerencias recientes a menos que al escribir m\xE1s se seleccione una, por ejemplo, "console.| -> console.log" porque "log" se ha completado recientemente.','Seleccione sugerencias basadas en prefijos anteriores que han completado esas sugerencias, por ejemplo, "co -> console" y "con -> const".',"Controla c\xF3mo se preseleccionan las sugerencias cuando se muestra la lista,","La pesta\xF1a se completar\xE1 insertando la mejor sugerencia de coincidencia encontrada al presionar la pesta\xF1a","Deshabilitar los complementos para pesta\xF1as.","La pesta\xF1a se completa con fragmentos de c\xF3digo cuando su prefijo coincide. Funciona mejor cuando las 'quickSuggestions' no est\xE1n habilitadas.","Habilita completar pesta\xF1as.","Los terminadores de l\xEDnea no habituales se quitan autom\xE1ticamente.","Los terminadores de l\xEDnea no habituales se omiten.","Advertencia de terminadores de l\xEDnea inusuales que se quitar\xE1n.","Quite los terminadores de l\xEDnea inusuales que podr\xEDan provocar problemas.","La inserci\xF3n y eliminaci\xF3n del espacio en blanco sigue a las tabulaciones.","Use la regla de salto de l\xEDnea predeterminada.","Los saltos de palabra no deben usarse para texto chino, japon\xE9s o coreano (CJK). El comportamiento del texto distinto a CJK es el mismo que el normal.","Controla las reglas de salto de palabra usadas para texto chino, japon\xE9s o coreano (CJK).","Caracteres que se usar\xE1n como separadores de palabras al realizar operaciones o navegaciones relacionadas con palabras.","Las l\xEDneas no se ajustar\xE1n nunca.","Las l\xEDneas se ajustar\xE1n en el ancho de la ventanilla.",'Las l\xEDneas se ajustar\xE1n al valor de "#editor.wordWrapColumn#". ','Las l\xEDneas se ajustar\xE1n al valor que sea inferior: el tama\xF1o de la ventanilla o el valor de "#editor.wordWrapColumn#".',"Controla c\xF3mo deben ajustarse las l\xEDneas.",'Controla la columna de ajuste del editor cuando "#editor.wordWrap#" es "wordWrapColumn" o "bounded".',"Controla si las decoraciones de color en l\xEDnea deben mostrarse con el proveedor de colores del documento predeterminado.","Controla si el editor recibe las pesta\xF1as o las aplaza al \xE1rea de trabajo para la navegaci\xF3n."],"vs/editor/common/core/editorColorRegistry":["Color de fondo para la l\xEDnea resaltada en la posici\xF3n del cursor.","Color de fondo del borde alrededor de la l\xEDnea en la posici\xF3n del cursor.","Color de fondo de rangos resaltados, como en abrir r\xE1pido y encontrar caracter\xEDsticas. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de fondo del borde alrededor de los intervalos resaltados.","Color de fondo del s\xEDmbolo destacado, como Ir a definici\xF3n o Ir al siguiente/anterior s\xEDmbolo. El color no debe ser opaco para no ocultar la decoraci\xF3n subyacente.","Color de fondo del borde alrededor de los s\xEDmbolos resaltados.","Color del cursor del editor.","Color de fondo del cursor de edici\xF3n. Permite personalizar el color del caracter solapado por el bloque del cursor.","Color de los caracteres de espacio en blanco del editor.","Color de n\xFAmeros de l\xEDnea del editor.","Color de las gu\xEDas de sangr\xEDa del editor.",'"editorIndentGuide.background" est\xE1 en desuso. Use "editorIndentGuide.background1" en su lugar.',"Color de las gu\xEDas de sangr\xEDa activas del editor.",'"editorIndentGuide.activeBackground" est\xE1 en desuso. Use "editorIndentGuide.activeBackground1" en su lugar.',"Color de las gu\xEDas de sangr\xEDa del editor (1).","Color de las gu\xEDas de sangr\xEDa del editor (2).","Color de las gu\xEDas de sangr\xEDa del editor (3).","Color de las gu\xEDas de sangr\xEDa del editor (4).","Color de las gu\xEDas de sangr\xEDa del editor (5).","Color de las gu\xEDas de sangr\xEDa del editor (6).","Color de las gu\xEDas de sangr\xEDa del editor activo (1).","Color de las gu\xEDas de sangr\xEDa del editor activo (2).","Color de las gu\xEDas de sangr\xEDa del editor activo (3).","Color de las gu\xEDas de sangr\xEDa del editor activo (4).","Color de las gu\xEDas de sangr\xEDa del editor activo (5).","Color de las gu\xEDas de sangr\xEDa del editor activo (6).","Color del n\xFAmero de l\xEDnea activa en el editor","ID es obsoleto. Usar en lugar 'editorLineNumber.activeForeground'. ","Color del n\xFAmero de l\xEDnea activa en el editor","Color de la l\xEDnea final del editor cuando editor.renderFinalNewline se establece en atenuado.","Color de las reglas del editor","Color principal de lentes de c\xF3digo en el editor","Color de fondo tras corchetes coincidentes","Color de bloques con corchetes coincidentes","Color del borde de la regla de visi\xF3n general.","Color de fondo de la regla de informaci\xF3n general del editor.","Color de fondo del margen del editor. Este espacio contiene los m\xE1rgenes de glifos y los n\xFAmeros de l\xEDnea.","Color del borde de c\xF3digo fuente innecesario (sin usar) en el editor.",`Opacidad de c\xF3digo fuente innecesario (sin usar) en el editor. Por ejemplo, "#000000c0" representar\xE1 el c\xF3digo con un 75 % de opacidad. Para temas de alto contraste, utilice el color del tema 'editorUnnecessaryCode.border' para resaltar el c\xF3digo innecesario en vez de atenuarlo.`,"Color del borde del texto fantasma en el editor.","Color de primer plano del texto fantasma en el editor.","Color de fondo del texto fantasma en el editor.","Color de marcador de regla general para los destacados de rango. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de marcador de regla de informaci\xF3n general para errores. ","Color de marcador de regla de informaci\xF3n general para advertencias.","Color de marcador de regla de informaci\xF3n general para mensajes informativos. ","Color de primer plano de los corchetes (1). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de los corchetes (2). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de los corchetes (3). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de los corchetes (4). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de los corchetes (5). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de los corchetes (6). Requiere que se habilite la coloraci\xF3n del par de corchetes.","Color de primer plano de corchetes inesperados.","Color de fondo de las gu\xEDas de par de corchetes inactivos (1). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes inactivos (2). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes inactivos (3). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes inactivos (4). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes inactivos (5). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes inactivos (6). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de pares de corchetes activos (1). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes activos (2). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de pares de corchetes activos (3). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes activos (4). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes activos (5). Requiere habilitar gu\xEDas de par de corchetes.","Color de fondo de las gu\xEDas de par de corchetes activos (6). Requiere habilitar gu\xEDas de par de corchetes.","Color de borde usado para resaltar caracteres Unicode.","Color de borde usado para resaltar caracteres unicode."],"vs/editor/common/editorContextKeys":["Si el texto del editor tiene el foco (el cursor parpadea)","Si el editor o un widget del editor tiene el foco (por ejemplo, el foco est\xE1 en el widget de b\xFAsqueda)","Si un editor o una entrada de texto enriquecido tienen el foco (el cursor parpadea)","Si el editor es de solo lectura","Si el contexto es un editor de diferencias","Si el contexto es un editor de diferencias incrustado","Indica si se selecciona un bloque de c\xF3digo movido para la comparaci\xF3n","Si el visor de diferencias accesible est\xE1 visible","Indica si se alcanza el punto de interrupci\xF3n insertado en paralelo del editor de diferencias",'Si "editor.columnSelection" se ha habilitado',"Si el editor tiene texto seleccionado","Si el editor tiene varias selecciones",'Si "Tabulaci\xF3n" mover\xE1 el foco fuera del editor',"Si el mantenimiento del puntero del editor es visible","Si se centra el desplazamiento del editor","Si el desplazamiento permanente est\xE1 centrado","Si el desplazamiento permanente est\xE1 visible","Si el selector de colores independiente est\xE1 visible","Si el selector de colores independiente est\xE1 centrado","Si el editor forma parte de otro m\xE1s grande (por ejemplo, blocs de notas)","Identificador de idioma del editor","Si el editor tiene un proveedor de elementos de finalizaci\xF3n","Si el editor tiene un proveedor de acciones de c\xF3digo","Si el editor tiene un proveedor de CodeLens","Si el editor tiene un proveedor de definiciones","Si el editor tiene un proveedor de declaraciones","Si el editor tiene un proveedor de implementaci\xF3n","Si el editor tiene un proveedor de definiciones de tipo","Si el editor tiene un proveedor de contenido con mantenimiento del puntero","Si el editor tiene un proveedor de resaltado de documentos","Si el editor tiene un proveedor de s\xEDmbolos de documentos","Si el editor tiene un proveedor de referencia","Si el editor tiene un proveedor de cambio de nombre","Si el editor tiene un proveedor de ayuda de signatura","Si el editor tiene un proveedor de sugerencias insertadas","Si el editor tiene un proveedor de formatos de documento","Si el editor tiene un proveedor de formatos de selecci\xF3n de documentos","Si el editor tiene varios proveedores de formatos del documento","Si el editor tiene varios proveedores de formato de la selecci\xF3n de documentos"],"vs/editor/common/languages":["matriz","booleano","clase","constante","constructor","enumeraci\xF3n","miembro de la enumeraci\xF3n","evento","campo","archivo","funci\xF3n","interfaz","clave","m\xE9todo","m\xF3dulo","espacio de nombres","NULL","n\xFAmero","objeto","operador","paquete","propiedad","cadena","estructura","par\xE1metro de tipo","variable","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["Texto sin formato"],"vs/editor/common/model/editStack":["Escribiendo"],"vs/editor/common/standaloneStrings":["Desarrollador: inspeccionar tokens","Vaya a L\xEDnea/Columna...","Mostrar todos los proveedores de acceso r\xE1pido","Paleta de comandos","Mostrar y ejecutar comandos","Ir a s\xEDmbolo...","Ir a s\xEDmbolo por categor\xEDa...","Contenido del editor","Presione Alt+F1 para ver las opciones de accesibilidad.","Alternar tema de contraste alto","{0} ediciones realizadas en {1} archivos"],"vs/editor/common/viewLayout/viewLineRenderer":["Mostrar m\xE1s ({0})","{0} caracteres"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["Delimitador de la selecci\xF3n","Delimitador establecido en {0}:{1}","Establecer el delimitador de la selecci\xF3n","Ir al delimitador de la selecci\xF3n","Seleccionar desde el delimitador hasta el cursor","Cancelar el delimitador de la selecci\xF3n"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["Resumen color de marcador de regla para corchetes.","Ir al corchete","Seleccionar para corchete","Quitar corchetes","Ir al &&corchete"],"vs/editor/contrib/caretOperations/browser/caretOperations":["Mover el texto seleccionado a la izquierda","Mover el texto seleccionado a la derecha"],"vs/editor/contrib/caretOperations/browser/transpose":["Transponer letras"],"vs/editor/contrib/clipboard/browser/clipboard":["Cor&&tar","Cortar","Cortar","Cortar","&&Copiar","Copiar","Copiar","Copiar","Copiar como","Copiar como","Compartir","Compartir","Compartir","&&Pegar","Pegar","Pegar","Pegar","Copiar con resaltado de sintaxis"],"vs/editor/contrib/codeAction/browser/codeAction":["Se ha producido un error desconocido al aplicar la acci\xF3n de c\xF3digo"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["Tipo de la acci\xF3n de c\xF3digo que se va a ejecutar.","Controla cu\xE1ndo se aplican las acciones devueltas.","Aplicar siempre la primera acci\xF3n de c\xF3digo devuelto.","Aplicar la primera acci\xF3n de c\xF3digo devuelta si solo hay una.","No aplique las acciones de c\xF3digo devuelto.","Controla si solo se deben devolver las acciones de c\xF3digo preferidas.","Correcci\xF3n R\xE1pida","No hay acciones de c\xF3digo disponibles",'No hay acciones de c\xF3digo preferidas para "{0}" disponibles','No hay ninguna acci\xF3n de c\xF3digo para "{0}" disponible.',"No hay acciones de c\xF3digo preferidas disponibles","No hay acciones de c\xF3digo disponibles","Refactorizar...",'No hay refactorizaciones preferidas de "{0}" disponibles','No hay refactorizaciones de "{0}" disponibles',"No hay ninguna refactorizaci\xF3n favorita disponible.","No hay refactorizaciones disponibles","Acci\xF3n de c\xF3digo fuente...",'No hay acciones de origen preferidas para "{0}" disponibles','No hay ninguna acci\xF3n de c\xF3digo fuente para "{0}" disponible.',"No hay ninguna acci\xF3n de c\xF3digo fuente favorita disponible.","No hay acciones de origen disponibles","Organizar Importaciones","No hay acciones de importaci\xF3n disponibles","Corregir todo","No est\xE1 disponible la acci\xF3n de corregir todo","Corregir autom\xE1ticamente...","No hay autocorrecciones disponibles"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["Activar/desactivar la visualizaci\xF3n de los encabezados de los grupos en el men\xFA de Acci\xF3n de c\xF3digo.","Habilita o deshabilita la visualizaci\xF3n de la correcci\xF3n r\xE1pida m\xE1s cercana dentro de una l\xEDnea cuando no est\xE1 actualmente en un diagn\xF3stico."],"vs/editor/contrib/codeAction/browser/codeActionController":["Contexto: {0} en la l\xEDnea {1} y columna {2}.","Ocultar deshabilitado","Mostrar elementos deshabilitados"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["M\xE1s Acciones...","Correcci\xF3n r\xE1pida","Extraer","Insertado","Reescribir","Mover","Delimitar con","Acci\xF3n de origen"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["Mostrar acciones de c\xF3digo. Correcci\xF3n r\xE1pida preferida disponible ({0})","Mostrar acciones de c\xF3digo ({0})","Mostrar acciones de c\xF3digo"],"vs/editor/contrib/codelens/browser/codelensController":["Mostrar comandos de lente de c\xF3digo para la l\xEDnea actual","Seleccionar un comando"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["Haga clic para alternar las opciones de color (rgb/hsl/hex)","Icono para cerrar el selector de colores"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["Mostrar o centrar Selector de colores independientes","&Mostrar o centrar Selector de colores independientes","Ocultar la Selector de colores","Insertar color con Selector de colores independiente"],"vs/editor/contrib/comment/browser/comment":["Alternar comentario de l\xEDnea","&&Alternar comentario de l\xEDnea","Agregar comentario de l\xEDnea","Quitar comentario de l\xEDnea","Alternar comentario de bloque","Alternar &&bloque de comentario"],"vs/editor/contrib/contextmenu/browser/contextmenu":["Minimapa","Representar caracteres","Tama\xF1o vertical","Proporcional","Relleno","Ajustar","Control deslizante","Pasar el mouse","Siempre","Mostrar men\xFA contextual del editor"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["Cursor Deshacer","Cursor Rehacer"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["Pegar como...","Id. de la edici\xF3n pegada que se intenta aplicar. Si no se proporciona, el editor mostrar\xE1 un selector."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["Si se muestra el widget de pegado","Mostrar opciones de pegado...","Ejecutando controladores de pegado. Haga clic para cancelar.","Seleccionar acci\xF3n pegar","Ejecutando controladores de pegado"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["Integrado","Insertar texto sin formato","Insertar URIs","Insertar URI","Insertar rutas de acceso","Insertar ruta de acceso","Insertar rutas de acceso relativas","Insertar ruta de acceso relativa"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["Configura el proveedor de colocaci\xF3n predeterminado que se usar\xE1 para el contenido de un tipo MIME determinado."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["Si se muestra el widget de colocaci\xF3n","Mostrar opciones de colocaci\xF3n...","Ejecutando controladores de colocaci\xF3n. Haga clic para cancelar."],"vs/editor/contrib/editorState/browser/keybindingCancellation":['Indica si el editor ejecuta una operaci\xF3n que se puede cancelar como, por ejemplo, "Inspeccionar referencias"'],"vs/editor/contrib/find/browser/findController":["El archivo es demasiado grande para realizar una operaci\xF3n de reemplazar todo.","Buscar","&&Buscar",`Invalida la marca "Usar expresi\xF3n regular".\r +La marca no se guardar\xE1 para el futuro.\r +0: No hacer nada\r +1: True\r +2: False`,`Invalida la marca "Hacer coincidir palabra completa\u201D.\r +La marca no se guardar\xE1 para el futuro.\r +0: No hacer nada\r +1: True\r +2: False`,`Invalida la marca "Caso matem\xE1tico".\r +La marca no se guardar\xE1 para el futuro.\r +0: No hacer nada\r +1: True\r +2: False`,`Invalida la marca "Conservar may\xFAsculas y min\xFAsculas.\r +La marca no se guardar\xE1 para el futuro.\r +0: No hacer nada\r +1: True\r +2: False`,"B\xFAsqueda con argumentos","Buscar con selecci\xF3n","Buscar siguiente","Buscar anterior","Ir a Coincidencia...","No hay coincidencias. Intente buscar otra cosa.","Escriba un n\xFAmero para ir a una coincidencia espec\xEDfica (entre 1 y {0})","Escriba un n\xFAmero entre 1 y {0}","Escriba un n\xFAmero entre 1 y {0}","Buscar selecci\xF3n siguiente","Buscar selecci\xF3n anterior","Reemplazar","&&Reemplazar"],"vs/editor/contrib/find/browser/findWidget":['Icono para "Buscar en selecci\xF3n" en el widget de b\xFAsqueda del editor.',"Icono para indicar que el widget de b\xFAsqueda del editor est\xE1 contra\xEDdo.","Icono para indicar que el widget de b\xFAsqueda del editor est\xE1 expandido.",'Icono para "Reemplazar" en el widget de b\xFAsqueda del editor.','Icono para "Reemplazar todo" en el widget de b\xFAsqueda del editor.','Icono para "Buscar anterior" en el widget de b\xFAsqueda del editor.','Icono para "Buscar siguiente" en el widget de b\xFAsqueda del editor.',"Buscar y reemplazar","Buscar","Buscar","Coincidencia anterior","Coincidencia siguiente","Buscar en selecci\xF3n","Cerrar","Reemplazar","Reemplazar","Reemplazar","Reemplazar todo","Alternar reemplazar","S\xF3lo los primeros {0} resultados son resaltados, pero todas las operaciones de b\xFAsqueda trabajan en todo el texto.","{0} de {1}","No hay resultados","Encontrados: {0}",'{0} encontrado para "{1}"','{0} encontrado para "{1}", en {2}','{0} encontrado para "{1}"',"Ctrl+Entrar ahora inserta un salto de l\xEDnea en lugar de reemplazar todo. Puede modificar el enlace de claves para editor.action.replaceAll para invalidar este comportamiento."],"vs/editor/contrib/folding/browser/folding":["Desplegar","Desplegar de forma recursiva","Plegar","Alternar plegado","Plegar de forma recursiva","Cerrar todos los comentarios de bloque","Plegar todas las regiones","Desplegar Todas las Regiones","Plegar todas excepto las seleccionadas","Desplegar todas excepto las seleccionadas","Plegar todo","Desplegar todo","Ir al plegado primario","Ir al rango de plegado anterior","Ir al rango de plegado siguiente","Crear rango de plegado a partir de la selecci\xF3n","Quitar rangos de plegado manuales","Nivel de plegamiento {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["Color de fondo detr\xE1s de los rangos plegados. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color del control plegable en el medianil del editor.","Icono de rangos expandidos en el margen de glifo del editor.","Icono de rangos contra\xEDdos en el margen de glifo del editor.","Icono de intervalos contra\xEDdos manualmente en el margen del glifo del editor.","Icono de intervalos expandidos manualmente en el margen del glifo del editor."],"vs/editor/contrib/fontZoom/browser/fontZoom":["Acercarse a la tipograf\xEDa del editor","Alejarse de la tipograf\xEDa del editor","Restablecer alejamiento de la tipograf\xEDa del editor"],"vs/editor/contrib/format/browser/format":["1 edici\xF3n de formato en la l\xEDnea {0}","{0} ediciones de formato en la l\xEDnea {1}","1 edici\xF3n de formato entre las l\xEDneas {0} y {1}","{0} ediciones de formato entre las l\xEDneas {1} y {2}"],"vs/editor/contrib/format/browser/formatActions":["Dar formato al documento","Dar formato a la selecci\xF3n"],"vs/editor/contrib/gotoError/browser/gotoError":["Ir al siguiente problema (Error, Advertencia, Informaci\xF3n)","Icono para ir al marcador siguiente.","Ir al problema anterior (Error, Advertencia, Informaci\xF3n)","Icono para ir al marcador anterior.","Ir al siguiente problema en Archivos (Error, Advertencia, Informaci\xF3n)","Siguiente &&problema","Ir al problema anterior en Archivos (Error, Advertencia, Informaci\xF3n)","Anterior &&problema"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["Error","Advertencia","Informaci\xF3n","Sugerencia","{0} en {1}. ","{0} de {1} problemas","{0} de {1} problema","Color de los errores del widget de navegaci\xF3n de marcadores del editor.","Fondo del encabezado del error del widget de navegaci\xF3n del marcador de editor.","Color de las advertencias del widget de navegaci\xF3n de marcadores del editor.","Fondo del encabezado de la advertencia del widget de navegaci\xF3n del marcador de editor.","Color del widget informativo marcador de navegaci\xF3n en el editor.","Fondo del encabezado de informaci\xF3n del widget de navegaci\xF3n del marcador de editor.","Fondo del widget de navegaci\xF3n de marcadores del editor."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["Ver","Definiciones",'No se encontr\xF3 ninguna definici\xF3n para "{0}"',"No se encontr\xF3 ninguna definici\xF3n","Ir a definici\xF3n","Ir a &&definici\xF3n","Abrir definici\xF3n en el lateral","Ver la definici\xF3n sin salir","Declaraciones","No se encontr\xF3 ninguna definici\xF3n para '{0}'","No se encontr\xF3 ninguna declaraci\xF3n","Ir a Definici\xF3n","Ir a &&declaraci\xF3n","No se encontr\xF3 ninguna definici\xF3n para '{0}'","No se encontr\xF3 ninguna declaraci\xF3n","Inspeccionar Definici\xF3n","Definiciones de tipo",'No se encontr\xF3 ninguna definici\xF3n de tipo para "{0}"',"No se encontr\xF3 ninguna definici\xF3n de tipo","Ir a la definici\xF3n de tipo","Ir a la definici\xF3n de &&tipo","Inspeccionar definici\xF3n de tipo","Implementaciones",'No se encontr\xF3 ninguna implementaci\xF3n para "{0}"',"No se encontr\xF3 ninguna implementaci\xF3n","Ir a Implementaciones","Ir a &&implementaciones","Inspeccionar implementaciones",'No se ha encontrado ninguna referencia para "{0}".',"No se encontraron referencias","Ir a Referencias","Ir a &&referencias","Referencias","Inspeccionar Referencias","Referencias","Ir a cualquier s\xEDmbolo","Ubicaciones",'No hay resultados para "{0}"',"Referencias"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["Haga clic para mostrar {0} definiciones."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":['Indica si est\xE1 visible la inspecci\xF3n de referencias, como "Inspecci\xF3n de referencias" o "Ver la definici\xF3n sin salir".',"Cargando...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} referencias","{0} referencia","Referencias"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["vista previa no disponible","No hay resultados","Referencias"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["en {0} en la l\xEDnea {1} en la columna {2}","{0} en {1} en la l\xEDnea {2} en la columna {3}","1 s\xEDmbolo en {0}, ruta de acceso completa {1}","{0} s\xEDmbolos en {1}, ruta de acceso completa {2}","No se encontraron resultados","Encontr\xF3 1 s\xEDmbolo en {0}","Encontr\xF3 {0} s\xEDmbolos en {1}","Encontr\xF3 {0} s\xEDmbolos en {1} archivos"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["Indica si hay ubicaciones de s\xEDmbolos a las que se pueda navegar solo con el teclado.","S\xEDmbolo {0} de {1}, {2} para el siguiente","S\xEDmbolo {0} de {1}"],"vs/editor/contrib/hover/browser/hover":["Mostrar o centrarse al mantener el puntero","Mostrar vista previa de la definici\xF3n que aparece al mover el puntero","Desplazar hacia arriba al mantener el puntero","Desplazar hacia abajo al mantener el puntero","Desplazar al mantener el puntero a la izquierda","Desplazar al mantener el puntero a la derecha","Desplazamiento de p\xE1gina hacia arriba","Desplazamiento de p\xE1gina hacia abajo","Ir al puntero superior","Ir a la parte inferior al mantener el puntero"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["Cargando...",'Representaci\xF3n en pausa durante una l\xEDnea larga por motivos de rendimiento. Esto se puede configurar mediante "editor.stopRenderingLineAfter".','Por motivos de rendimiento, la tokenizaci\xF3n se omite con filas largas. Esta opci\xF3n se puede configurar con "editor.maxTokenizationLineLength".'],"vs/editor/contrib/hover/browser/markerHoverParticipant":["Ver el problema","No hay correcciones r\xE1pidas disponibles","Buscando correcciones r\xE1pidas...","No hay correcciones r\xE1pidas disponibles","Correcci\xF3n R\xE1pida"],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["Reemplazar con el valor anterior","Reemplazar con el valor siguiente"],"vs/editor/contrib/indentation/browser/indentation":["Convertir sangr\xEDa en espacios","Convertir sangr\xEDa en tabulaciones","Tama\xF1o de tabulaci\xF3n configurado","Tama\xF1o de tabulaci\xF3n predeterminado","Tama\xF1o de tabulaci\xF3n actual","Seleccionar tama\xF1o de tabulaci\xF3n para el archivo actual","Aplicar sangr\xEDa con tabulaciones","Aplicar sangr\xEDa con espacios","Cambiar tama\xF1o de visualizaci\xF3n de tabulaci\xF3n","Detectar sangr\xEDa del contenido","Volver a aplicar sangr\xEDa a l\xEDneas","Volver a aplicar sangr\xEDa a l\xEDneas seleccionadas"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["Haga doble clic para insertar","cmd + clic","ctrl + clic","opci\xF3n + clic","alt + clic","Ir a Definici\xF3n ({0}), haga clic con el bot\xF3n derecho para obtener m\xE1s informaci\xF3n","Ir a Definici\xF3n ({0})","Ejecutar comando"],"vs/editor/contrib/inlineCompletions/browser/commands":["Mostrar sugerencia alineada siguiente","Mostrar sugerencia alineada anterior","Desencadenar sugerencia alineada","Aceptar la siguiente palabra de sugerencia insertada","Aceptar palabra","Aceptar la siguiente l\xEDnea de sugerencia insertada","Aceptar l\xEDnea","Aceptar la sugerencia insertada","Aceptar","Ocultar la sugerencia insertada","Mostrar siempre la barra de herramientas"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["Sugerencia:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["Si una sugerencia alineada est\xE1 visible","Si la sugerencia alineada comienza con un espacio en blanco","Si la sugerencia insertada comienza con un espacio en blanco menor que lo que se insertar\xEDa mediante tabulaci\xF3n","Si las sugerencias deben suprimirse para la sugerencia actual"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["Inspeccionar esto en la vista accesible ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["Icono para mostrar la sugerencia de par\xE1metro siguiente.","Icono para mostrar la sugerencia de par\xE1metro anterior.","{0} ({1})","Anterior","Siguiente"],"vs/editor/contrib/lineSelection/browser/lineSelection":["Expandir selecci\xF3n de l\xEDnea"],"vs/editor/contrib/linesOperations/browser/linesOperations":["Copiar l\xEDnea arriba","&&Copiar l\xEDnea arriba","Copiar l\xEDnea abajo","Co&&piar l\xEDnea abajo","Selecci\xF3n duplicada","&&Duplicar selecci\xF3n","Mover l\xEDnea hacia arriba","Mo&&ver l\xEDnea arriba","Mover l\xEDnea hacia abajo","Mover &&l\xEDnea abajo","Ordenar l\xEDneas en orden ascendente","Ordenar l\xEDneas en orden descendente","Eliminar l\xEDneas duplicadas","Recortar espacio final","Eliminar l\xEDnea","Sangr\xEDa de l\xEDnea","Anular sangr\xEDa de l\xEDnea","Insertar l\xEDnea arriba","Insertar l\xEDnea debajo","Eliminar todo a la izquierda","Eliminar todo lo que est\xE1 a la derecha","Unir l\xEDneas","Transponer caracteres alrededor del cursor","Transformar a may\xFAsculas","Transformar a min\xFAsculas","Transformar en Title Case","Transformar en Snake Case","Transformar a may\xFAsculas y min\xFAsculas Camel","Transformar en caso Kebab"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["Iniciar edici\xF3n vinculada","Color de fondo cuando el editor cambia el nombre autom\xE1ticamente al escribir."],"vs/editor/contrib/links/browser/links":["No se pudo abrir este v\xEDnculo porque no tiene un formato correcto: {0}","No se pudo abrir este v\xEDnculo porque falta el destino.","Ejecutar comando","Seguir v\xEDnculo","cmd + clic","ctrl + clic","opci\xF3n + clic","alt + clic","Ejecutar el comando {0}","Abrir v\xEDnculo"],"vs/editor/contrib/message/browser/messageController":["Indica si el editor muestra actualmente un mensaje insertado"],"vs/editor/contrib/multicursor/browser/multicursor":["Cursor agregado: {0}","Cursores agregados: {0}","Agregar cursor arriba","&&Agregar cursor arriba","Agregar cursor debajo","A&&gregar cursor abajo","A\xF1adir cursores a finales de l\xEDnea","Agregar c&&ursores a extremos de l\xEDnea","A\xF1adir cursores a la parte inferior","A\xF1adir cursores a la parte superior","Agregar selecci\xF3n hasta la siguiente coincidencia de b\xFAsqueda","Agregar &&siguiente repetici\xF3n","Agregar selecci\xF3n hasta la anterior coincidencia de b\xFAsqueda","Agregar r&&epetici\xF3n anterior","Mover \xFAltima selecci\xF3n hasta la siguiente coincidencia de b\xFAsqueda","Mover \xFAltima selecci\xF3n hasta la anterior coincidencia de b\xFAsqueda","Seleccionar todas las repeticiones de coincidencia de b\xFAsqueda","Seleccionar todas las &&repeticiones","Cambiar todas las ocurrencias","Enfocar el siguiente cursor","Centra el cursor siguiente","Enfocar cursor anterior","Centra el cursor anterior"],"vs/editor/contrib/parameterHints/browser/parameterHints":["Sugerencias para par\xE1metros Trigger"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["Icono para mostrar la sugerencia de par\xE1metro siguiente.","Icono para mostrar la sugerencia de par\xE1metro anterior.","{0}, sugerencia","Color de primer plano del elemento activo en la sugerencia de par\xE1metro."],"vs/editor/contrib/peekView/browser/peekView":["Indica si el editor de c\xF3digo actual est\xE1 incrustado en la inspecci\xF3n.","Cerrar","Color de fondo del \xE1rea de t\xEDtulo de la vista de inspecci\xF3n.","Color del t\xEDtulo de la vista de inpecci\xF3n.","Color de la informaci\xF3n del t\xEDtulo de la vista de inspecci\xF3n.","Color de los bordes y la flecha de la vista de inspecci\xF3n.","Color de fondo de la lista de resultados de vista de inspecci\xF3n.","Color de primer plano de los nodos de inspecci\xF3n en la lista de resultados.","Color de primer plano de los archivos de inspecci\xF3n en la lista de resultados.","Color de fondo de la entrada seleccionada en la lista de resultados de vista de inspecci\xF3n.","Color de primer plano de la entrada seleccionada en la lista de resultados de vista de inspecci\xF3n.","Color de fondo del editor de vista de inspecci\xF3n.","Color de fondo del margen en el editor de vista de inspecci\xF3n.","Color de fondo del desplazamiento permanente en el editor de vista de inspecci\xF3n.","Buscar coincidencia con el color de resaltado de la lista de resultados de vista de inspecci\xF3n.","Buscar coincidencia del color de resultado del editor de vista de inspecci\xF3n.","Hacer coincidir el borde resaltado en el editor de vista previa."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["Abra primero un editor de texto para ir a una l\xEDnea.","Vaya a la l\xEDnea {0} y al car\xE1cter {1}.","Ir a la l\xEDnea {0}.","L\xEDnea actual: {0}, Car\xE1cter: {1}. Escriba un n\xFAmero de l\xEDnea entre 1 y {2} a los que navegar.","L\xEDnea actual: {0}, Car\xE1cter: {1}. Escriba un n\xFAmero de l\xEDnea al que navegar."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["Para ir a un s\xEDmbolo, primero abra un editor de texto con informaci\xF3n de s\xEDmbolo.","El editor de texto activo no proporciona informaci\xF3n de s\xEDmbolos.","No hay ning\xFAn s\xEDmbolo del editor coincidente.","No hay s\xEDmbolos del editor.","Abrir en el lateral","Abrir en la parte inferior","s\xEDmbolos ({0})","propiedades ({0})","m\xE9todos ({0})","funciones ({0})","constructores ({0})","variables ({0})","clases ({0})","estructuras ({0})","eventos ({0})","operadores ({0})","interfaces ({0})","espacios de nombres ({0})","paquetes ({0})","par\xE1metros de tipo ({0})","m\xF3dulos ({0})","propiedades ({0})","enumeraciones ({0})","miembros de enumeraci\xF3n ({0})","cadenas ({0})","archivos ({0})","matrices ({0})","n\xFAmeros ({0})","booleanos ({0})","objetos ({0})","claves ({0})","campos ({0})","constantes ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["No se puede editar en la entrada de solo lectura","No se puede editar en un editor de s\xF3lo lectura"],"vs/editor/contrib/rename/browser/rename":["No hay ning\xFAn resultado.","Error desconocido al resolver el cambio de nombre de la ubicaci\xF3n","Cambiando el nombre de '{0}' a '{1}'","Cambiar el nombre de {0} a {1}","Nombre cambiado correctamente de '{0}' a '{1}'. Resumen: {2}","No se pudo cambiar el nombre a las ediciones de aplicaci\xF3n","No se pudo cambiar el nombre de las ediciones de c\xE1lculo","Cambiar el nombre del s\xEDmbolo","Activar/desactivar la capacidad de previsualizar los cambios antes de cambiar el nombre"],"vs/editor/contrib/rename/browser/renameInputField":["Indica si el widget de cambio de nombre de entrada est\xE1 visible.","Cambie el nombre de la entrada. Escriba el nuevo nombre y presione Entrar para confirmar.","{0} para cambiar de nombre, {1} para obtener una vista previa"],"vs/editor/contrib/smartSelect/browser/smartSelect":["Expandir selecci\xF3n","&&Expandir selecci\xF3n","Reducir la selecci\xF3n","&&Reducir selecci\xF3n"],"vs/editor/contrib/snippet/browser/snippetController2":["Indica si el editor actual est\xE1 en modo de fragmentos de c\xF3digo.","Indica si hay una tabulaci\xF3n siguiente cuando se est\xE1 en modo de fragmentos de c\xF3digo.","Si hay una tabulaci\xF3n anterior cuando se est\xE1 en modo de fragmentos de c\xF3digo.","Ir al marcador de posici\xF3n siguiente..."],"vs/editor/contrib/snippet/browser/snippetVariables":["Domingo","Lunes","Martes","Mi\xE9rcoles","Jueves","Viernes","S\xE1bado","Dom","Lun","Mar","Mi\xE9","Jue","Vie","S\xE1b","Enero","Febrero","Marzo","Abril","May","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre","Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["Alternar desplazamiento permanente","&&Alternar desplazamiento permanente","Desplazamiento permanente","&&Desplazamiento permanente","Desplazamiento permanente de foco","&&Desplazamiento permanente de foco","Seleccionar la siguiente l\xEDnea de desplazamiento r\xE1pida","Seleccionar la l\xEDnea de desplazamiento r\xE1pida anterior","Ir a la l\xEDnea de desplazamiento r\xE1pida con foco","Seleccionar el Editor"],"vs/editor/contrib/suggest/browser/suggest":["Si alguna sugerencia tiene el foco","Indica si los detalles de las sugerencias est\xE1n visibles.","Indica si hay varias sugerencias para elegir.","Indica si la inserci\xF3n de la sugerencia actual genera un cambio o si ya se ha escrito todo.","Indica si se insertan sugerencias al presionar Entrar.","Indica si la sugerencia actual tiene el comportamiento de inserci\xF3n y reemplazo.","Indica si el comportamiento predeterminado es insertar o reemplazar.","Indica si la sugerencia actual admite la resoluci\xF3n de m\xE1s detalles."],"vs/editor/contrib/suggest/browser/suggestController":['Aceptando "{0}" ediciones adicionales de {1} realizadas',"Sugerencias para Trigger","Insertar","Insertar","Reemplazar","Reemplazar","Insertar","mostrar menos","mostrar m\xE1s","Restablecer tama\xF1o del widget de sugerencias"],"vs/editor/contrib/suggest/browser/suggestWidget":["Color de fondo del widget sugerido.","Color de borde del widget sugerido.","Color de primer plano del widget sugerido.","Color de primer plano de le entrada seleccionada del widget de sugerencias.","Color de primer plano del icono de la entrada seleccionada en el widget de sugerencias.","Color de fondo de la entrada seleccionada del widget sugerido.","Color del resaltado coincidido en el widget sugerido.","Color de los resaltados de coincidencia en el widget de sugerencias cuando se enfoca un elemento.","Color de primer plano del estado del widget sugerido.","Cargando...","No hay sugerencias.","Sugerir","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, documentos: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["Cerrar","Cargando..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["Icono para obtener m\xE1s informaci\xF3n en el widget de sugerencias.","Leer m\xE1s"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["Color de primer plano de los s\xEDmbolos de matriz. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos booleanos. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de clase. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de color. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos constantes. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de constructor. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de enumerador. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de miembro del enumerador. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de evento. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de campo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de archivo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de carpeta. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de funci\xF3n. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de interfaz. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de claves. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de palabra clave. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de m\xE9todo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de m\xF3dulo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de espacio de nombres. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos nulos. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano para los s\xEDmbolos num\xE9ricos. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de objeto. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano para los s\xEDmbolos del operador. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de paquete. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de propiedad. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de referencia. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de fragmento de c\xF3digo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de cadena. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de estructura. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de texto. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano para los s\xEDmbolos de par\xE1metro de tipo. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos de unidad. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias.","Color de primer plano de los s\xEDmbolos variables. Estos s\xEDmbolos aparecen en el contorno, la ruta de navegaci\xF3n y el widget de sugerencias."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["Alternar tecla de tabulaci\xF3n para mover el punto de atenci\xF3n","Presionando la pesta\xF1a ahora mover\xE1 el foco al siguiente elemento enfocable.","Presionando la pesta\xF1a ahora insertar\xE1 el car\xE1cter de tabulaci\xF3n"],"vs/editor/contrib/tokenization/browser/tokenization":["Desarrollador: forzar nueva aplicaci\xF3n de token"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["Icono que se muestra con un mensaje de advertencia en el editor de extensiones.","Este documento contiene muchos caracteres Unicode ASCII no b\xE1sicos","Este documento contiene muchos caracteres Unicode ambiguos","Este documento contiene muchos caracteres Unicode invisibles","El car\xE1cter {0} podr\xEDa confundirse con el car\xE1cter ASCII {1}, que es m\xE1s com\xFAn en el c\xF3digo fuente.","El car\xE1cter {0} podr\xEDa confundirse con el car\xE1cter {1}, que es m\xE1s com\xFAn en el c\xF3digo fuente.","El car\xE1cter {0} es invisible.","El car\xE1cter {0} no es un car\xE1cter ASCII b\xE1sico.","Ajustar la configuraci\xF3n","Deshabilitar resaltado en comentarios","Deshabilitar resaltado de caracteres en comentarios","Deshabilitar resaltado en cadenas","Deshabilitar resaltado de caracteres en cadenas","Deshabilitar resaltado ambiguo","Deshabilitar el resaltado de caracteres ambiguos","Deshabilitar resaltado invisible","Deshabilitar el resaltado de caracteres invisibles","Deshabilitar resaltado que no es ASCII","Deshabilitar el resaltado de caracteres ASCII no b\xE1sicos","Mostrar opciones de exclusi\xF3n","Excluir {0} (car\xE1cter invisible) de que se resalte","Excluir {0} de ser resaltado",'Permite caracteres Unicode m\xE1s comunes en el idioma "{0}".',"Configurar opciones de resaltado Unicode"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["Terminadores de l\xEDnea inusuales","Se han detectado terminadores de l\xEDnea inusuales",`Este archivo "{0}" contiene uno o m\xE1s caracteres de terminaci\xF3n de l\xEDnea inusuales, como el separador de l\xEDnea (LS) o el separador de p\xE1rrafo (PS).\r +\r +Se recomienda eliminarlos del archivo. Esto puede configurarse mediante "editor.unusualLineTerminators".`,"&&Quitar terminadores de l\xEDnea inusuales","Omitir"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["Color de fondo de un s\xEDmbolo durante el acceso de lectura, como la lectura de una variable. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de fondo de un s\xEDmbolo durante el acceso de escritura, como escribir en una variable. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de fondo de la presencia textual para un s\xEDmbolo. Para evitar ocultar cualquier decoraci\xF3n subyacente, el color no debe ser opaco.","Color de fondo de un s\xEDmbolo durante el acceso de lectura; por ejemplo, cuando se lee una variable.","Color de fondo de un s\xEDmbolo durante el acceso de escritura; por ejemplo, cuando se escribe una variable.","Color de borde de una repetici\xF3n textual de un s\xEDmbolo.","Color del marcador de regla general para destacados de s\xEDmbolos. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de marcador de regla general para destacados de s\xEDmbolos de acceso de escritura. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color del marcador de regla de informaci\xF3n general de una repetici\xF3n textual de un s\xEDmbolo. El color no debe ser opaco para no ocultar las decoraciones subyacentes."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["Ir al siguiente s\xEDmbolo destacado","Ir al s\xEDmbolo destacado anterior","Desencadenar los s\xEDmbolos destacados"],"vs/editor/contrib/wordOperations/browser/wordOperations":["Eliminar palabra"],"vs/platform/action/common/actionCommonCategories":["Ver","Ayuda","Probar","archivo","Preferencias","Desarrollador"],"vs/platform/actionWidget/browser/actionList":["{0} para aplicar, {1} para previsualizar","{0} para aplicar","{0}, Motivo de deshabilitaci\xF3n: {1}","Widget de acci\xF3n"],"vs/platform/actionWidget/browser/actionWidget":["Color de fondo de los elementos de acci\xF3n alternados en la barra de acciones.","Si la lista de widgets de acci\xF3n es visible","Ocultar el widget de acci\xF3n","Seleccione la acci\xF3n anterior","Seleccione la siguiente acci\xF3n","Aceptar la acci\xF3n seleccionada","Vista previa de la acci\xF3n seleccionada"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["Ocultar","Men\xFA Restablecer"],"vs/platform/actions/common/menuService":['Ocultar "{0}"'],"vs/platform/audioCues/browser/audioCueService":["Error en la l\xEDnea","Advertencia en la l\xEDnea","\xC1rea doblada en la l\xEDnea","Punto de interrupci\xF3n en la l\xEDnea","Sugerencia insertada en la l\xEDnea","Correcci\xF3n r\xE1pida del terminal","Depurador detenido en el punto de interrupci\xF3n","No hay sugerencias de incrustaci\xF3n en la l\xEDnea","Tarea completada.","Error en la tarea","Error del comando de terminal","Campana de terminal","Celda del bloc de notas completada","Error en la celda del bloc de notas","L\xEDnea de diferencia insertada","L\xEDnea de diferencia eliminada","L\xEDnea de diferencia modificada","Se envi\xF3 una solicitud de chat","Respuesta de chat recibida","Respuesta de chat pendiente"],"vs/platform/configuration/common/configurationRegistry":["La configuraci\xF3n del lenguaje predeterminada se reemplaza","Configure los valores que se invalidar\xE1n para el idioma {0}.","Establecer los valores de configuraci\xF3n que se reemplazar\xE1n para un lenguaje.","Esta configuraci\xF3n no admite la configuraci\xF3n por idioma.","Establecer los valores de configuraci\xF3n que se reemplazar\xE1n para un lenguaje.","Esta configuraci\xF3n no admite la configuraci\xF3n por idioma.","No se puede registrar una propiedad vac\xEDa.",`No se puede registrar "{0}". Coincide con el patr\xF3n de propiedad '\\\\[.*\\\\]$' para describir la configuraci\xF3n del editor espec\xEDfica del lenguaje. Utilice la contribuci\xF3n "configurationDefaults".`,'No se puede registrar "{0}". Esta propiedad ya est\xE1 registrada.','No se puede registrar "{0}". La directiva asociada {1} ya est\xE1 registrada con {2}.'],"vs/platform/contextkey/browser/contextKeyService":["Comando que devuelve informaci\xF3n sobre las claves de contexto"],"vs/platform/contextkey/common/contextkey":["Expresi\xF3n de clave de contexto vac\xEDa",'\xBFHa olvidado escribir una expresi\xF3n? tambi\xE9n puede poner "false" o "true" para evaluar siempre como false o true, respectivamente.',"'in' despu\xE9s de 'not'.","par\xE9ntesis de cierre ')'","Token inesperado","\xBFHa olvidado poner && o || antes del token?","Final de expresi\xF3n inesperado","\xBFHa olvidado poner una clave de contexto?",`Esperado: {0}\r +recibido: '{1}'.`],"vs/platform/contextkey/common/contextkeys":["Si el sistema operativo es macOS","Si el sistema operativo es Linux","Si el sistema operativo es Windows","Si la plataforma es un explorador web","Si el sistema operativo es macOS en una plataforma que no es de explorador","Si el sistema operativo es IOS","Si la plataforma es un explorador web m\xF3vil","Tipo de calidad de VS Code","Si el foco del teclado est\xE1 dentro de un cuadro de entrada"],"vs/platform/contextkey/common/scanner":["\xBFQuiso decir {0}?","\xBFQuiso decir {0} o {1}?","\xBFQuiso decir {0}, {1} o {2}?","\xBFHa olvidado abrir o cerrar la cita?",`\xBFHa olvidado escapar el car\xE1cter "/" (barra diagonal)?Coloque dos barras diagonales inversas antes de que escape, por ejemplo, '\\\\/'.`],"vs/platform/history/browser/contextScopedHistoryWidget":["Indica si las sugerencias est\xE1n visibles."],"vs/platform/keybinding/common/abstractKeybindingService":["Se presion\xF3 ({0}). Esperando la siguiente tecla...","Se ha presionado ({0}). Esperando la siguiente tecla...","La combinaci\xF3n de claves ({0}, {1}) no es un comando.","La combinaci\xF3n de claves ({0}, {1}) no es un comando."],"vs/platform/list/browser/listService":["\xC1rea de trabajo",'Se asigna a "Control" en Windows y Linux y a "Comando" en macOS.','Se asigna a "Alt" en Windows y Linux y a "Opci\xF3n" en macOS.',"El modificador que se utilizar\xE1 para agregar un elemento en los \xE1rboles y listas para una selecci\xF3n m\xFAltiple con el rat\xF3n (por ejemplo en el explorador, abiertos editores y vista de scm). Los gestos de rat\xF3n 'Abrir hacia' - si est\xE1n soportados - se adaptar\xE1n de forma tal que no tenga conflicto con el modificador m\xFAltiple.","Controla c\xF3mo abrir elementos en los \xE1rboles y las listas mediante el mouse (si se admite). Tenga en cuenta que algunos \xE1rboles y listas pueden optar por ignorar esta configuraci\xF3n si no es aplicable.","Controla si las listas y los \xE1rboles admiten el desplazamiento horizontal en el \xE1rea de trabajo. Advertencia: La activaci\xF3n de esta configuraci\xF3n repercute en el rendimiento.","Controla si los clics en la barra de desplazamiento se desplazan p\xE1gina por p\xE1gina.","Controla la sangr\xEDa de \xE1rbol en p\xEDxeles.","Controla si el \xE1rbol debe representar gu\xEDas de sangr\xEDa.","Controla si las listas y los \xE1rboles tienen un desplazamiento suave.",'Se usar\xE1 un multiplicador en los eventos de desplazamiento de la rueda del mouse "deltaX" y "deltaY". ','Multiplicador de la velocidad de desplazamiento al presionar "Alt".',"Resalta elementos al buscar. Navegar m\xE1s arriba o abajo pasar\xE1 solo por los elementos resaltados.","Filtre elementos al buscar.","Controla el modo de b\xFAsqueda predeterminado para listas y \xE1rboles en el \xE1rea de trabajo.","La navegaci\xF3n simple del teclado se centra en elementos que coinciden con la entrada del teclado. El emparejamiento se hace solo en prefijos.","Destacar la navegaci\xF3n del teclado resalta los elementos que coinciden con la entrada del teclado. M\xE1s arriba y abajo la navegaci\xF3n atravesar\xE1 solo los elementos destacados.","La navegaci\xF3n mediante el teclado de filtro filtrar\xE1 y ocultar\xE1 todos los elementos que no coincidan con la entrada del teclado.","Controla el estilo de navegaci\xF3n del teclado para listas y \xE1rboles en el \xE1rea de trabajo. Puede ser simple, resaltar y filtrar.",'Use "workbench.list.defaultFindMode" y "workbench.list.typeNavigationMode" en su lugar.',"Usar coincidencias aproximadas al buscar.","Use coincidencias contiguas al buscar.","Controla el tipo de coincidencia que se usa al buscar listas y \xE1rboles en el \xE1rea de trabajo.","Controla c\xF3mo se expanden las carpetas de \xE1rbol al hacer clic en sus nombres. Tenga en cuenta que algunos \xE1rboles y listas pueden optar por omitir esta configuraci\xF3n si no es aplicable.",'Controla el funcionamiento de la navegaci\xF3n por tipos en listas y \xE1rboles del \xE1rea de trabajo. Cuando se establece en "trigger", la navegaci\xF3n por tipos comienza una vez que se ejecuta el comando "list.triggerTypeNavigation".'],"vs/platform/markers/common/markers":["Error","Advertencia","Informaci\xF3n"],"vs/platform/quickinput/browser/commandsQuickAccess":["usado recientemente","comandos similares","usados habitualmente","otros comandos","comandos similares","{0}, {1}",'El comando "{0}" ha dado lugar a un error'],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["Atr\xE1s",'Presione "Entrar" para confirmar su entrada o "Esc" para cancelar',"{0}/{1}","Escriba para restringir los resultados."],"vs/platform/quickinput/browser/quickInputController":["Activar o desactivar todas las casillas","{0} resultados","{0} seleccionados","Aceptar","Personalizado","Atr\xE1s ({0})","Atr\xE1s"],"vs/platform/quickinput/browser/quickInputList":["Entrada r\xE1pida"],"vs/platform/quickinput/browser/quickInputUtils":['Haga clic en para ejecutar el comando "{0}"'],"vs/platform/theme/common/colorRegistry":["Color de primer plano general. Este color solo se usa si un componente no lo invalida.","Primer plano general de los elementos deshabilitados. Este color solo se usa si un componente no lo reemplaza.","Color de primer plano general para los mensajes de erroe. Este color solo se usa si un componente no lo invalida.","Color de primer plano para el texto descriptivo que proporciona informaci\xF3n adicional, por ejemplo para una etiqueta.","El color predeterminado para los iconos en el \xE1rea de trabajo.","Color de borde de los elementos con foco. Este color solo se usa si un componente no lo invalida.","Un borde adicional alrededor de los elementos para separarlos unos de otros y as\xED mejorar el contraste.","Un borde adicional alrededor de los elementos activos para separarlos unos de otros y as\xED mejorar el contraste.","El color de fondo del texto seleccionado en el \xE1rea de trabajo (por ejemplo, campos de entrada o \xE1reas de texto). Esto no se aplica a las selecciones dentro del editor.","Color para los separadores de texto.","Color de primer plano para los v\xEDnculos en el texto.","Color de primer plano para los enlaces de texto, al hacer clic o pasar el mouse sobre ellos.","Color de primer plano para los segmentos de texto con formato previo.","Color de fondo para los bloques en texto.","Color de borde para los bloques en texto.","Color de fondo para los bloques de c\xF3digo en el texto.","Color de sombra de los widgets dentro del editor, como buscar/reemplazar","Color de borde de los widgets dentro del editor, como buscar/reemplazar","Fondo de cuadro de entrada.","Primer plano de cuadro de entrada.","Borde de cuadro de entrada.","Color de borde de opciones activadas en campos de entrada.","Color de fondo de las opciones activadas en los campos de entrada.","Color de fondo al pasar por encima de las opciones en los campos de entrada.","Color de primer plano de las opciones activadas en los campos de entrada.","Color de primer plano para el marcador de posici\xF3n de texto","Color de fondo de validaci\xF3n de entrada para gravedad de informaci\xF3n.","Color de primer plano de validaci\xF3n de entrada para informaci\xF3n de gravedad.","Color de borde de validaci\xF3n de entrada para gravedad de informaci\xF3n.","Color de fondo de validaci\xF3n de entrada para gravedad de advertencia.","Color de primer plano de validaci\xF3n de entrada para informaci\xF3n de advertencia.","Color de borde de validaci\xF3n de entrada para gravedad de advertencia.","Color de fondo de validaci\xF3n de entrada para gravedad de error.","Color de primer plano de validaci\xF3n de entrada para informaci\xF3n de error.","Color de borde de valdaci\xF3n de entrada para gravedad de error.","Fondo de lista desplegable.","Fondo de la lista desplegable.","Primer plano de lista desplegable.","Borde de lista desplegable.","Color de primer plano del bot\xF3n.","Color del separador de botones.","Color de fondo del bot\xF3n.","Color de fondo del bot\xF3n al mantener el puntero.","Color del borde del bot\xF3n","Color de primer plano del bot\xF3n secundario.","Color de fondo del bot\xF3n secundario.","Color de fondo del bot\xF3n secundario al mantener el mouse.","Color de fondo de la insignia. Las insignias son peque\xF1as etiquetas de informaci\xF3n, por ejemplo los resultados de un n\xFAmero de resultados.","Color de primer plano de la insignia. Las insignias son peque\xF1as etiquetas de informaci\xF3n, por ejemplo los resultados de un n\xFAmero de resultados.","Sombra de la barra de desplazamiento indica que la vista se ha despazado.","Color de fondo de control deslizante de barra de desplazamiento.","Color de fondo de barra de desplazamiento cursor cuando se pasar sobre el control.","Color de fondo de la barra de desplazamiento al hacer clic.","Color de fondo para la barra de progreso que se puede mostrar para las operaciones de larga duraci\xF3n.","Color de fondo del texto de error del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de primer plano de squigglies de error en el editor.","Si se establece, color de subrayados dobles para errores en el editor.","Color de fondo del texto de advertencia del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de primer plano de squigglies de advertencia en el editor.","Si se establece, color de subrayados dobles para advertencias en el editor.","Color de fondo del texto de informaci\xF3n del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de primer plano de los subrayados ondulados informativos en el editor.","Si se establece, color de subrayados dobles para informaciones en el editor.","Color de primer plano de pista squigglies en el editor.","Si se establece, color de subrayados dobles para sugerencias en el editor.","Color de borde de los marcos activos.","Color de fondo del editor.","Color de primer plano predeterminado del editor.","Color de fondo de desplazamiento permanente para el editor","Desplazamiento permanente al mantener el mouse sobre el color de fondo del editor","Color de fondo del editor de widgets como buscar/reemplazar","Color de primer plano de los widgets del editor, como buscar y reemplazar.","Color de borde de los widgets del editor. El color solo se usa si el widget elige tener un borde y no invalida el color.","Color del borde de la barra de cambio de tama\xF1o de los widgets del editor. El color se utiliza solo si el widget elige tener un borde de cambio de tama\xF1o y si un widget no invalida el color.","Color de fondo del selector r\xE1pido. El widget del selector r\xE1pido es el contenedor para selectores como la paleta de comandos.","Color de primer plano del selector r\xE1pido. El widget del selector r\xE1pido es el contenedor para selectores como la paleta de comandos.","Color de fondo del t\xEDtulo del selector r\xE1pido. El widget del selector r\xE1pido es el contenedor para selectores como la paleta de comandos.","Selector de color r\xE1pido para la agrupaci\xF3n de etiquetas.","Selector de color r\xE1pido para la agrupaci\xF3n de bordes.","Color de fondo de etiqueta de enlace de teclado. La etiqueta enlace de teclado se usa para representar un m\xE9todo abreviado de teclado.","Color de primer plano de etiqueta de enlace de teclado. La etiqueta enlace de teclado se usa para representar un m\xE9todo abreviado de teclado.","Color del borde de la etiqueta de enlace de teclado. La etiqueta enlace de teclado se usa para representar un m\xE9todo abreviado de teclado.","Color del borde inferior de la etiqueta de enlace de teclado. La etiqueta enlace de teclado se usa para representar un m\xE9todo abreviado de teclado.","Color de la selecci\xF3n del editor.","Color del texto seleccionado para alto contraste.","Color de la selecci\xF3n en un editor inactivo. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color en las regiones con el mismo contenido que la selecci\xF3n. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de borde de las regiones con el mismo contenido que la selecci\xF3n.","Color de la coincidencia de b\xFAsqueda actual.","Color de los otros resultados de la b\xFAsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de la gama que limita la b\xFAsqueda. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de borde de la coincidencia de b\xFAsqueda actual.","Color de borde de otra b\xFAsqueda que coincide.","Color del borde de la gama que limita la b\xFAsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de las consultas coincidentes del Editor de b\xFAsqueda.","Color de borde de las consultas coincidentes del Editor de b\xFAsqueda.","Color del texto en el mensaje de finalizaci\xF3n del viewlet de b\xFAsqueda.","Destacar debajo de la palabra para la que se muestra un mensaje al mantener el mouse. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de fondo al mantener el puntero en el editor.","Color de primer plano al mantener el puntero en el editor.","Color del borde al mantener el puntero en el editor.","Color de fondo de la barra de estado al mantener el puntero en el editor.","Color de los v\xEDnculos activos.","Color de primer plano de las sugerencias insertadas","Color de fondo de las sugerencias insertadas","Color de primer plano de las sugerencias insertadas para los tipos de letra","Color de fondo de las sugerencias insertadas para los tipos de letra","Color de primer plano de las sugerencias insertadas para los par\xE1metros","Color de fondo de las sugerencias insertadas para los par\xE1metros","El color utilizado para el icono de bombilla de acciones.","El color utilizado para el icono de la bombilla de acciones de correcci\xF3n autom\xE1tica.","Color de fondo para el texto que se insert\xF3. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de fondo para el texto que se elimin\xF3. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Color de fondo de las l\xEDneas insertadas. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de fondo de las l\xEDneas que se quitaron. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de fondo del margen donde se insertaron las l\xEDneas.","Color de fondo del margen donde se quitaron las l\xEDneas.","Primer plano de la regla de informaci\xF3n general de diferencias para el contenido insertado.","Primer plano de la regla de informaci\xF3n general de diferencias para el contenido quitado.","Color de contorno para el texto insertado.","Color de contorno para el texto quitado.","Color del borde entre ambos editores de texto.","Color de relleno diagonal del editor de diferencias. El relleno diagonal se usa en las vistas de diferencias en paralelo.","Color de fondo de los bloques sin modificar en el editor de diferencias.","Color de primer plano de los bloques sin modificar en el editor de diferencias.","Color de fondo del c\xF3digo sin modificar en el editor de diferencias.","Color de fondo de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de primer plano de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de contorno de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, pero no cuando est\xE1n inactivos.","Color de contorno de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n activos y seleccionados. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, pero no cuando est\xE1n inactivos.","Color de fondo de la lista o el \xE1rbol del elemento seleccionado cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de primer plano de la lista o el \xE1rbol del elemento seleccionado cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de primer plano del icono de lista o \xE1rbol del elemento seleccionado cuando la lista o el \xE1rbol est\xE1n activos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de fondo de la lista o el \xE1rbol del elemento seleccionado cuando la lista o el \xE1rbol est\xE1n inactivos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de primer plano de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol esta inactiva. Una lista o un \xE1rbol tiene el foco del teclado cuando est\xE1 activo, cuando esta inactiva no.","Color de primer plano del icono de lista o \xE1rbol del elemento seleccionado cuando la lista o el \xE1rbol est\xE1n inactivos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, cuando est\xE1n inactivos no.","Color de fondo de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n inactivos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, pero no cuando est\xE1n inactivos.","Color de contorno de la lista o el \xE1rbol del elemento con el foco cuando la lista o el \xE1rbol est\xE1n inactivos. Una lista o un \xE1rbol tienen el foco del teclado cuando est\xE1n activos, pero no cuando est\xE1n inactivos.","Fondo de la lista o el \xE1rbol al mantener el mouse sobre los elementos.","Color de primer plano de la lista o el \xE1rbol al pasar por encima de los elementos con el rat\xF3n.","Fondo de arrastrar y colocar la lista o el \xE1rbol al mover los elementos con el mouse.","Color de primer plano de la lista o el \xE1rbol de las coincidencias resaltadas al buscar dentro de la lista o el \xE1bol.","Color de primer plano de la lista o \xE1rbol de los elementos coincidentes en los elementos enfocados activamente cuando se busca dentro de la lista o \xE1rbol.","Color de primer plano de una lista o \xE1rbol para los elementos inv\xE1lidos, por ejemplo una raiz sin resolver en el explorador.","Color del primer plano de elementos de lista que contienen errores.","Color del primer plano de elementos de lista que contienen advertencias.","Color de fondo del widget de filtro de tipo en listas y \xE1rboles.","Color de contorno del widget de filtro de tipo en listas y \xE1rboles.","Color de contorno del widget de filtro de tipo en listas y \xE1rboles, cuando no hay coincidencias.","Color de sombra del widget de filtrado de escritura en listas y \xE1rboles.","Color de fondo de la coincidencia filtrada.","Color de borde de la coincidencia filtrada.","Color de trazo de \xE1rbol para las gu\xEDas de sangr\xEDa.","Color de trazo de \xE1rbol para las gu\xEDas de sangr\xEDa que no est\xE1n activas.","Color de borde de la tabla entre columnas.","Color de fondo para las filas de tabla impares.","Color de primer plano de lista/\xE1rbol para los elementos no enfatizados.","Color de fondo de la casilla de verificaci\xF3n del widget.","Color de fondo del widget de la casilla cuando se selecciona el elemento en el que se encuentra.","Color de primer plano del widget de la casilla de verificaci\xF3n.","Color del borde del widget de la casilla de verificaci\xF3n.","Color de borde del widget de la casilla cuando se selecciona el elemento en el que se encuentra.","Use quickInputList.focusBackground en su lugar.","Selector r\xE1pido del color de primer plano para el elemento con el foco.","Color de primer plano del icono del selector r\xE1pido para el elemento con el foco.","Color de fondo del selector r\xE1pido para el elemento con el foco.","Color del borde de los men\xFAs.","Color de primer plano de los elementos de men\xFA.","Color de fondo de los elementos de men\xFA.","Color de primer plano del menu para el elemento del men\xFA seleccionado.","Color de fondo del menu para el elemento del men\xFA seleccionado.","Color del borde del elemento seleccionado en los men\xFAs.","Color del separador del menu para un elemento del men\xFA.","El fondo de la barra de herramientas se perfila al pasar por encima de las acciones con el mouse.","La barra de herramientas se perfila al pasar por encima de las acciones con el mouse.","Fondo de la barra de herramientas al mantener el mouse sobre las acciones","Resaltado del color de fondo para una ficha de un fragmento de c\xF3digo.","Resaltado del color del borde para una ficha de un fragmento de c\xF3digo.","Resaltado del color de fondo para la \xFAltima ficha de un fragmento de c\xF3digo.","Resaltado del color del borde para la \xFAltima tabulaci\xF3n de un fragmento de c\xF3digo.","Color de los elementos de ruta de navegaci\xF3n que reciben el foco.","Color de fondo de los elementos de ruta de navegaci\xF3n","Color de los elementos de ruta de navegaci\xF3n que reciben el foco.","Color de los elementos de ruta de navegaci\xF3n seleccionados.","Color de fondo del selector de elementos de ruta de navegaci\xF3n.","Fondo del encabezado actual en los conflictos de combinaci\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Fondo de contenido actual en los conflictos de combinaci\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Fondo de encabezado entrante en los conflictos de combinaci\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Fondo de contenido entrante en los conflictos de combinaci\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Fondo de cabecera de elemento antecesor com\xFAn en conflictos de fusi\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar decoraciones subyacentes.","Fondo de contenido antecesor com\xFAn en conflictos de combinaci\xF3n en l\xEDnea. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color del borde en los encabezados y el divisor en conflictos de combinaci\xF3n alineados.","Primer plano de la regla de visi\xF3n general actual para conflictos de combinaci\xF3n alineados.","Primer plano de regla de visi\xF3n general de entrada para conflictos de combinaci\xF3n alineados.","Primer plano de la regla de visi\xF3n general de ancestros comunes para conflictos de combinaci\xF3n alineados.","Color del marcador de regla general para buscar actualizaciones. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color del marcador de la regla general para los destacados de la selecci\xF3n. El color no debe ser opaco para no ocultar las decoraciones subyacentes.","Color de marcador de minimapa para coincidencias de b\xFAsqueda.","Color de marcador de minimapa para las selecciones del editor que se repiten.","Color del marcador de minimapa para la selecci\xF3n del editor.","Color del marcador de minimapa para informaci\xF3n.","Color del marcador de minimapa para advertencias.","Color del marcador de minimapa para errores.","Color de fondo del minimapa.",'Opacidad de los elementos de primer plano representados en el minimapa. Por ejemplo, "#000000c0" representar\xE1 los elementos con 75% de opacidad.',"Color de fondo del deslizador del minimapa.","Color de fondo del deslizador del minimapa al pasar el puntero.","Color de fondo del deslizador de minimapa al hacer clic en \xE9l.","Color utilizado para el icono de error de problemas.","Color utilizado para el icono de advertencia de problemas.","Color utilizado para el icono de informaci\xF3n de problemas.","Color de primer plano que se usa en los gr\xE1ficos.","Color que se usa para las l\xEDneas horizontales en los gr\xE1ficos.","Color rojo que se usa en las visualizaciones de gr\xE1ficos.","Color azul que se usa en las visualizaciones de gr\xE1ficos.","Color amarillo que se usa en las visualizaciones de gr\xE1ficos.","Color naranja que se usa en las visualizaciones de gr\xE1ficos.","Color verde que se usa en las visualizaciones de gr\xE1ficos.","Color p\xFArpura que se usa en las visualizaciones de gr\xE1ficos."],"vs/platform/theme/common/iconRegistry":["Identificador de la fuente que se va a usar. Si no se establece, se usa la fuente definida en primer lugar.","Car\xE1cter de fuente asociado a la definici\xF3n del icono.","Icono de la acci\xF3n de cierre en los widgets.","Icono para ir a la ubicaci\xF3n del editor anterior.","Icono para ir a la ubicaci\xF3n del editor siguiente."],"vs/platform/undoRedo/common/undoRedoService":["Se han cerrado los siguientes archivos y se han modificado en el disco: {0}.","Los siguientes archivos se han modificado de forma incompatible: {0}.",'No se pudo deshacer "{0}" en todos los archivos. {1}','No se pudo deshacer "{0}" en todos los archivos. {1}','No se pudo deshacer "{0}" en todos los archivos porque se realizaron cambios en {1}','No se pudo deshacer "{0}" en todos los archivos porque ya hay una operaci\xF3n de deshacer o rehacer en ejecuci\xF3n en {1}','No se pudo deshacer "{0}" en todos los archivos porque se produjo una operaci\xF3n de deshacer o rehacer mientras tanto','\xBFDesea deshacer "{0}" en todos los archivos?',"&&Deshacer en {0} archivos","Deshacer este &&archivo",'No se pudo deshacer "{0}" porque ya hay una operaci\xF3n de deshacer o rehacer en ejecuci\xF3n.','\xBFQuiere deshacer "{0}"?',"&&S\xED","No",'No se pudo rehacer "{0}" en todos los archivos. {1}','No se pudo rehacer "{0}" en todos los archivos. {1}','No se pudo volver a hacer "{0}" en todos los archivos porque se realizaron cambios en {1}','No se pudo rehacer "{0}" en todos los archivos porque ya hay una operaci\xF3n de deshacer o rehacer en ejecuci\xF3n en {1}','No se pudo rehacer "{0}" en todos los archivos porque se produjo una operaci\xF3n de deshacer o rehacer mientras tanto','No se pudo rehacer "{0}" porque ya hay una operaci\xF3n de deshacer o rehacer en ejecuci\xF3n.'],"vs/platform/workspace/common/workspace":["\xC1rea de trabajo de c\xF3digo"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.es.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.fr.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.fr.js new file mode 100644 index 0000000..089b593 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.fr.js @@ -0,0 +1,29 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.fr",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["entr\xE9e"],"vs/base/browser/ui/findinput/findInputToggles":["Respecter la casse","Mot entier","Utiliser une expression r\xE9guli\xE8re"],"vs/base/browser/ui/findinput/replaceInput":["entr\xE9e","Pr\xE9server la casse"],"vs/base/browser/ui/hover/hoverWidget":["Inspectez ceci dans l\u2019affichage accessible avec {0}.","Inspectez ceci dans l\u2019affichage accessible via la commande Open Accessible View qui ne peut pas \xEAtre d\xE9clench\xE9e via une combinaison de touches pour l\u2019instant."],"vs/base/browser/ui/iconLabel/iconLabelHover":["Chargement..."],"vs/base/browser/ui/inputbox/inputBox":["Erreur\xA0: {0}","Avertissement\xA0: {0}","Info\xA0: {0}","pour l\u2019historique","Entr\xE9e effac\xE9e"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["Ind\xE9pendant"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Zone de s\xE9lection"],"vs/base/browser/ui/toolbar/toolbar":["Plus d'actions..."],"vs/base/browser/ui/tree/abstractTree":["Filtrer","Correspondance approximative","Type \xE0 filtrer","Entrer le texte \xE0 rechercher","Entrer le texte \xE0 rechercher","Fermer","Aucun \xE9l\xE9ment trouv\xE9."],"vs/base/common/actions":["(vide)"],"vs/base/common/errorMessage":["{0}: {1}","Une erreur syst\xE8me s'est produite ({0})","Une erreur inconnue s\u2019est produite. Veuillez consulter le journal pour plus de d\xE9tails.","Une erreur inconnue s\u2019est produite. Veuillez consulter le journal pour plus de d\xE9tails.","{0} ({1}\xA0erreurs au total)","Une erreur inconnue s\u2019est produite. Veuillez consulter le journal pour plus de d\xE9tails."],"vs/base/common/keybindingLabels":["Ctrl","Maj","Alt","Windows","Ctrl","Maj","Alt","Super","Contr\xF4le","Maj","Option","Commande","Contr\xF4le","Maj","Alt","Windows","Contr\xF4le","Maj","Alt","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\xE9diteur","L\u2019\xE9diteur n\u2019est pas accessible pour le moment.","{0} Pour activer le mode optimis\xE9 du lecteur d\u2019\xE9cran, utilisez {1}","{0} Pour activer le mode optimis\xE9 du lecteur d\u2019\xE9cran, ouvrez la s\xE9lection rapide avec {1} et ex\xE9cutez la commande Activer/D\xE9sactiver le mode d\u2019accessibilit\xE9 du lecteur d\u2019\xE9cran, qui n\u2019est pas d\xE9clenchable via le clavier pour le moment.","{0} Attribuez une combinaison de touches \xE0 la commande Activer/D\xE9sactiver le mode d\u2019accessibilit\xE9 du lecteur d\u2019\xE9cran en acc\xE9dant \xE0 l\u2019\xE9diteur de combinaisons de touches avec {1} et ex\xE9cutez-la."],"vs/editor/browser/coreCommands":["Aligner par rapport \xE0 la fin m\xEAme en cas de passage \xE0 des lignes plus longues","Aligner par rapport \xE0 la fin m\xEAme en cas de passage \xE0 des lignes plus longues","Curseurs secondaires supprim\xE9s"],"vs/editor/browser/editorExtensions":["Ann&&uler","Annuler","&&R\xE9tablir","R\xE9tablir","&&S\xE9lectionner tout","Tout s\xE9lectionner"],"vs/editor/browser/widget/codeEditorWidget":["Le nombre de curseurs a \xE9t\xE9 limit\xE9 \xE0 {0}. Envisagez d\u2019utiliser [rechercher et remplacer](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) pour les modifications plus importantes ou augmentez la limite du nombre de curseurs multiples du param\xE8tre.","Augmenter la limite de curseurs multiples"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["Ic\xF4ne \xAB Ins\xE9rer \xBB dans la visionneuse diff accessible.","Ic\xF4ne \xAB Supprimer \xBB dans la visionneuse diff accessible.","Ic\xF4ne de \xAB Fermer \xBB dans la visionneuse diff accessible.","Fermer","Visionneuse diff accessible. Utilisez les fl\xE8ches haut et bas pour naviguer.","aucune ligne chang\xE9e","1\xA0ligne chang\xE9e","{0}\xA0lignes chang\xE9es","Diff\xE9rence\xA0{0} sur\xA0{1}\xA0: ligne d'origine {2}, {3}, ligne modifi\xE9e {4}, {5}","vide","{0} ligne inchang\xE9e {1}","{0}\xA0ligne d'origine {1}\xA0ligne modifi\xE9e {2}","+ {0}\xA0ligne modifi\xE9e {1}","- {0} ligne d'origine {1}"],"vs/editor/browser/widget/diffEditor/colors":["Couleur de bordure du texte d\xE9plac\xE9 dans l\u2019\xE9diteur de diff.","Couleur de bordure active du texte d\xE9plac\xE9 dans l\u2019\xE9diteur de diff\xE9rences."],"vs/editor/browser/widget/diffEditor/decorations":["\xC9l\xE9ment d\xE9coratif de ligne pour les insertions dans l'\xE9diteur de diff\xE9rences.","\xC9l\xE9ment d\xE9coratif de ligne pour les suppressions dans l'\xE9diteur de diff\xE9rences.","Cliquez pour r\xE9tablir la modification"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["Activer/d\xE9sactiver r\xE9duire les r\xE9gions inchang\xE9es","Activer/d\xE9sactiver l\u2019affichage des blocs de code d\xE9plac\xE9s","Activer/d\xE9sactiver Utiliser la vue inline lorsque l'espace est limit\xE9","Utiliser la vue inline lorsque l'espace est limit\xE9","Afficher les blocs de code d\xE9plac\xE9s","\xC9diteur de diff\xE9rences","Changer de c\xF4t\xE9","Quitter Comparer le d\xE9placement","R\xE9duire toutes les r\xE9gions inchang\xE9es","Afficher toutes les r\xE9gions inchang\xE9es","Visionneuse Diff accessible","Acc\xE9der \xE0 la diff\xE9rence suivante","Ouvrir la visionneuse diff accessible","Acc\xE9der la diff\xE9rence pr\xE9c\xE9dente"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" utilisez {0} pour ouvrir l\u2019aide sur l\u2019accessibilit\xE9."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["Replier la r\xE9gion inchang\xE9e","Cliquez ou faites glisser pour afficher plus d'\xE9l\xE9ments au-dessus","Tout afficher","Cliquez ou faites glisser pour afficher plus d'\xE9l\xE9ments en dessous","{0} lignes masqu\xE9es","Double-cliquer pour d\xE9plier"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["Copier les lignes supprim\xE9es","Copier la ligne supprim\xE9e","Copier les lignes modifi\xE9es","Copier la ligne modifi\xE9e","Copier la ligne supprim\xE9e ({0})","Copier la ligne modifi\xE9e ({0})","Annuler la modification"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["Code d\xE9plac\xE9 avec des modifications vers la ligne {0}-{1}","Code d\xE9plac\xE9 avec des modifications \xE0 partir de la ligne {0}-{1}","Code d\xE9plac\xE9 vers la ligne {0}-{1}","Code d\xE9plac\xE9 \xE0 partir de la ligne {0}-{1}"],"vs/editor/common/config/editorConfigurationSchema":["\xC9diteur","Le nombre d\u2019espaces auxquels une tabulation est \xE9gale. Ce param\xE8tre est substitu\xE9 bas\xE9 sur le contenu du fichier lorsque {0} est activ\xE9.",'Nombre d\u2019espaces utilis\xE9s pour la mise en retrait ou `"tabSize"` pour utiliser la valeur de `#editor.tabSize#`. Ce param\xE8tre est remplac\xE9 en fonction du contenu du fichier quand `#editor.detectIndentation#` est activ\xE9.',"Espaces ins\xE9r\xE9s quand vous appuyez sur la touche Tab. Ce param\xE8tre est remplac\xE9 en fonction du contenu du fichier quand {0} est activ\xE9.","Contr\xF4le si {0} et {1} sont automatiquement d\xE9tect\xE9s lors de l\u2019ouverture d\u2019un fichier en fonction de son contenu.","Supprimer l'espace blanc de fin ins\xE9r\xE9 automatiquement.","Traitement sp\xE9cial des fichiers volumineux pour d\xE9sactiver certaines fonctionnalit\xE9s utilisant beaucoup de m\xE9moire.","Contr\xF4le si la saisie semi-automatique doit \xEAtre calcul\xE9e en fonction des mots pr\xE9sents dans le document.","Sugg\xE8re uniquement des mots dans le document actif.","Sugg\xE8re des mots dans tous les documents ouverts du m\xEAme langage.","Sugg\xE8re des mots dans tous les documents ouverts.","Contr\xF4le la fa\xE7on dont sont calcul\xE9es les compl\xE9tions bas\xE9es sur des mots dans les documents.","Coloration s\xE9mantique activ\xE9e pour tous les th\xE8mes de couleur.","Coloration s\xE9mantique d\xE9sactiv\xE9e pour tous les th\xE8mes de couleur.","La coloration s\xE9mantique est configur\xE9e par le param\xE8tre 'semanticHighlighting' du th\xE8me de couleur actuel.","Contr\xF4le si semanticHighlighting est affich\xE9 pour les langages qui le prennent en charge.","Maintenir les \xE9diteurs d'aper\xE7u ouverts m\xEAme si l'utilisateur double-clique sur son contenu ou appuie sur la touche \xC9chap.","Les lignes plus longues que cette valeur ne sont pas tokenis\xE9es pour des raisons de performances","Contr\xF4le si la cr\xE9ation de jetons doit se produire de mani\xE8re asynchrone sur un worker web.","Contr\xF4le si la cr\xE9ation de jetons asynchrones doit \xEAtre journalis\xE9e. Pour le d\xE9bogage uniquement.","Contr\xF4le si la segmentation du texte en unit\xE9s lexicales asynchrones doit \xEAtre v\xE9rifi\xE9e par rapport \xE0 la segmentation du texte en unit\xE9s lexicales en arri\xE8re-plan h\xE9rit\xE9e. Peut ralentir la segmentation du texte en unit\xE9s lexicales. Pour le d\xE9bogage uniquement.","D\xE9finit les symboles de type crochet qui augmentent ou diminuent le retrait.","S\xE9quence de cha\xEEnes ou de caract\xE8res de crochets ouvrants.","S\xE9quence de cha\xEEnes ou de caract\xE8res de crochets fermants.","D\xE9finit les paires de crochets qui sont coloris\xE9es par leur niveau d\u2019imbrication si la colorisation des paires de crochets est activ\xE9e.","S\xE9quence de cha\xEEnes ou de caract\xE8res de crochets ouvrants.","S\xE9quence de cha\xEEnes ou de caract\xE8res de crochets fermants.","D\xE9lai d'expiration en millisecondes avant annulation du calcul de diff. Utilisez\xA00 pour supprimer le d\xE9lai d'expiration.","Taille de fichier maximale en Mo pour laquelle calculer les diff\xE9rences. Utilisez 0 pour ne pas avoir de limite.","Contr\xF4le si l'\xE9diteur de diff\xE9rences affiche les diff\xE9rences en mode c\xF4te \xE0 c\xF4te ou inline.","Si l'\xE9diteur de diff\xE9rences est moins large que cette valeur, la vue inline est utilis\xE9e.","Si cette option est activ\xE9e et que la largeur de l'\xE9diteur est trop \xE9troite, la vue inline est utilis\xE9e.","Lorsqu\u2019il est activ\xE9, l\u2019\xE9diteur de diff\xE9rences affiche des fl\xE8ches dans sa marge de glyphe pour r\xE9tablir les modifications.","Quand il est activ\xE9, l'\xE9diteur de diff\xE9rences ignore les changements d'espace blanc de d\xE9but ou de fin.","Contr\xF4le si l'\xE9diteur de diff\xE9rences affiche les indicateurs +/- pour les changements ajout\xE9s/supprim\xE9s .","Contr\xF4le si l'\xE9diteur affiche CodeLens.","Le retour automatique \xE0 la ligne n'est jamais effectu\xE9.","Le retour automatique \xE0 la ligne s'effectue en fonction de la largeur de la fen\xEAtre d'affichage.","Le retour automatique \xE0 la ligne d\xE9pend du param\xE8tre {0}.","Utilise l\u2019algorithme de comparaison h\xE9rit\xE9.","Utilise l\u2019algorithme de comparaison avanc\xE9.","Contr\xF4le si l'\xE9diteur de diff\xE9rences affiche les r\xE9gions inchang\xE9es.","Contr\xF4le le nombre de lignes utilis\xE9es pour les r\xE9gions inchang\xE9es.","Contr\xF4le le nombre de lignes utilis\xE9es comme minimum pour les r\xE9gions inchang\xE9es.","Contr\xF4le le nombre de lignes utilis\xE9es comme contexte lors de la comparaison des r\xE9gions inchang\xE9es.","Contr\xF4le si l\u2019\xE9diteur de diff\xE9rences doit afficher les d\xE9placements de code d\xE9tect\xE9s.","Contr\xF4le si l\u2019\xE9diteur de diff\xE9rences affiche des d\xE9corations vides pour voir o\xF9 les caract\xE8res ont \xE9t\xE9 ins\xE9r\xE9s ou supprim\xE9s."],"vs/editor/common/config/editorOptions":["Utiliser les API de la plateforme pour d\xE9tecter si un lecteur d'\xE9cran est attach\xE9","Optimiser pour l\u2019utilisation avec un lecteur d\u2019\xE9cran","Supposer qu\u2019un lecteur d\u2019\xE9cran n\u2019est pas attach\xE9","Contr\xF4le si l\u2019interface utilisateur doit s\u2019ex\xE9cuter dans un mode o\xF9 elle est optimis\xE9e pour les lecteurs d\u2019\xE9cran.","Contr\xF4le si un espace est ins\xE9r\xE9 pour les commentaires.","Contr\xF4le si les lignes vides doivent \xEAtre ignor\xE9es avec des actions d'activation/de d\xE9sactivation, d'ajout ou de suppression des commentaires de ligne.","Contr\xF4le si la copie sans s\xE9lection permet de copier la ligne actuelle.","Contr\xF4le si le curseur doit sauter pour rechercher les correspondances lors de la saisie.","Ne lancez jamais la cha\xEEne de recherche dans la s\xE9lection de l\u2019\xE9diteur.","Toujours amorcer la cha\xEEne de recherche \xE0 partir de la s\xE9lection de l\u2019\xE9diteur, y compris le mot \xE0 la position du curseur.","Cha\xEEne de recherche initiale uniquement dans la s\xE9lection de l\u2019\xE9diteur.","D\xE9termine si la cha\xEEne de recherche dans le Widget Recherche est initialis\xE9e avec la s\xE9lection de l\u2019\xE9diteur.","Ne jamais activer automatiquement la recherche dans la s\xE9lection (par d\xE9faut).","Toujours activer automatiquement la recherche dans la s\xE9lection.","Activez Rechercher automatiquement dans la s\xE9lection quand plusieurs lignes de contenu sont s\xE9lectionn\xE9es.","Contr\xF4le la condition d'activation automatique de la recherche dans la s\xE9lection.","D\xE9termine si le Widget Recherche devrait lire ou modifier le presse-papiers de recherche partag\xE9 sur macOS.","Contr\xF4le si le widget Recherche doit ajouter des lignes suppl\xE9mentaires en haut de l'\xE9diteur. Quand la valeur est true, vous pouvez faire d\xE9filer au-del\xE0 de la premi\xE8re ligne si le widget Recherche est visible.","Contr\xF4le si la recherche red\xE9marre automatiquement depuis le d\xE9but (ou la fin) quand il n'existe aucune autre correspondance.","Active/d\xE9sactive les ligatures de police (fonctionnalit\xE9s de police 'calt' et 'liga'). Remplacez ceci par une cha\xEEne pour contr\xF4ler de mani\xE8re pr\xE9cise la propri\xE9t\xE9 CSS 'font-feature-settings'.","Propri\xE9t\xE9 CSS 'font-feature-settings' explicite. Vous pouvez passer une valeur bool\xE9enne \xE0 la place si vous devez uniquement activer/d\xE9sactiver les ligatures.","Configure les ligatures de police ou les fonctionnalit\xE9s de police. Il peut s'agir d'une valeur bool\xE9enne permettant d'activer/de d\xE9sactiver les ligatures, ou d'une cha\xEEne correspondant \xE0 la valeur de la propri\xE9t\xE9 CSS 'font-feature-settings'.","Active/d\xE9sactive la traduction de font-weight en font-variation-settings. Remplacez ce param\xE8tre par une cha\xEEne pour un contr\xF4le affin\xE9 de la propri\xE9t\xE9 CSS 'font-variation-settings'.","Propri\xE9t\xE9 CSS 'font-variation-settings' explicite. Une valeur bool\xE9enne peut \xEAtre pass\xE9e \xE0 la place si une seule valeur doit traduire font-weight en font-variation-settings.","Configure les variations de la police. Il peut s\u2019agir d\u2019une valeur bool\xE9enne pour activer/d\xE9sactiver la traduction de font-weight en font-variation-settings ou d\u2019une cha\xEEne pour la valeur de la propri\xE9t\xE9 CSS 'font-variation-settings'.","Contr\xF4le la taille de police en pixels.",'Seuls les mots cl\xE9s "normal" et "bold", ou les nombres compris entre\xA01 et\xA01\xA0000 sont autoris\xE9s.',`Contr\xF4le l'\xE9paisseur de police. Accepte les mots cl\xE9s "normal" et "bold", ou les nombres compris entre\xA01 et\xA01\xA0000.`,"Montrer l\u2019aper\xE7u des r\xE9sultats (par d\xE9faut)","Acc\xE9der au r\xE9sultat principal et montrer un aper\xE7u","Acc\xE9der au r\xE9sultat principal et activer l\u2019acc\xE8s sans aper\xE7u pour les autres","Ce param\xE8tre est d\xE9pr\xE9ci\xE9, utilisez des param\xE8tres distincts comme 'editor.editor.gotoLocation.multipleDefinitions' ou 'editor.editor.gotoLocation.multipleImplementations' \xE0 la place.","Contr\xF4le le comportement de la commande 'Atteindre la d\xE9finition' quand plusieurs emplacements cibles existent.","Contr\xF4le le comportement de la commande 'Atteindre la d\xE9finition de type' quand plusieurs emplacements cibles existent.","Contr\xF4le le comportement de la commande 'Atteindre la d\xE9claration' quand plusieurs emplacements cibles existent.","Contr\xF4le le comportement de la commande 'Atteindre les impl\xE9mentations' quand plusieurs emplacements cibles existent.","Contr\xF4le le comportement de la commande 'Atteindre les r\xE9f\xE9rences' quand plusieurs emplacements cibles existent.","ID de commande alternatif ex\xE9cut\xE9 quand le r\xE9sultat de 'Atteindre la d\xE9finition' est l'emplacement actuel.","ID de commande alternatif ex\xE9cut\xE9 quand le r\xE9sultat de 'Atteindre la d\xE9finition de type' est l'emplacement actuel.","ID de commande alternatif ex\xE9cut\xE9 quand le r\xE9sultat de 'Atteindre la d\xE9claration' est l'emplacement actuel.","ID de commande alternatif ex\xE9cut\xE9 quand le r\xE9sultat de 'Atteindre l'impl\xE9mentation' est l'emplacement actuel.","ID de commande alternatif ex\xE9cut\xE9 quand le r\xE9sultat de 'Atteindre la r\xE9f\xE9rence' est l'emplacement actuel.","Contr\xF4le si le pointage est affich\xE9.","Contr\xF4le le d\xE9lai en millisecondes, apr\xE8s lequel le survol est affich\xE9.","Contr\xF4le si le pointage doit rester visible quand la souris est d\xE9plac\xE9e au-dessus.","Contr\xF4le le d\xE9lai en millisecondes, apr\xE8s lequel le pointage est masqu\xE9. Demande d'activer 'editor.hover.sticky'.","Pr\xE9f\xE9rez afficher les points au-dessus de la ligne, s\u2019il y a de l\u2019espace.","Suppose que tous les caract\xE8res ont la m\xEAme largeur. Il s'agit d'un algorithme rapide qui fonctionne correctement pour les polices \xE0 espacement fixe et certains scripts (comme les caract\xE8res latins) o\xF9 les glyphes ont la m\xEAme largeur.","D\xE9l\xE8gue le calcul des points de wrapping au navigateur. Il s'agit d'un algorithme lent qui peut provoquer le gel des grands fichiers, mais qui fonctionne correctement dans tous les cas.","Contr\xF4le l\u2019algorithme qui calcule les points d\u2019habillage. Notez qu\u2019en mode d\u2019accessibilit\xE9, les options avanc\xE9es sont utilis\xE9es pour une exp\xE9rience optimale.","Active l\u2019ampoule d\u2019action de code dans l\u2019\xE9diteur.","Affiche les \xE9tendues actives imbriqu\xE9s pendant le d\xE9filement en haut de l\u2019\xE9diteur.","D\xE9finit le nombre maximal de lignes r\xE9manentes \xE0 afficher.","D\xE9finit le mod\xE8le \xE0 utiliser pour d\xE9terminer les lignes \xE0 coller. Si le mod\xE8le hi\xE9rarchique n\u2019existe pas, il revient au mod\xE8le de fournisseur de pliage qui revient au mod\xE8le de mise en retrait. Cette demande est respect\xE9e dans les trois cas.","Activez le d\xE9filement du widget Sticky Scroll avec la barre de d\xE9filement horizontale de l'\xE9diteur.","Active les indicateurs inlay dans l\u2019\xE9diteur.","Les indicateurs d\u2019inlay sont activ\xE9s.","Les indicateurs d\u2019inlay sont affich\xE9s par d\xE9faut et masqu\xE9s lors de la conservation {0}","Les indicateurs d\u2019inlay sont masqu\xE9s par d\xE9faut et s\u2019affichent lorsque vous maintenez {0}","Les indicateurs d\u2019inlay sont d\xE9sactiv\xE9s.","Contr\xF4le la taille de police des indicateurs d\u2019inlay dans l\u2019\xE9diteur. Par d\xE9faut, le {0} est utilis\xE9 lorsque la valeur configur\xE9e est inf\xE9rieure \xE0 {1} ou sup\xE9rieure \xE0 la taille de police de l\u2019\xE9diteur.","Contr\xF4le la famille de polices des indicateurs d\u2019inlay dans l\u2019\xE9diteur. Lorsqu\u2019il est d\xE9fini sur vide, le {0} est utilis\xE9.","Active le remplissage autour des indicateurs d\u2019inlay dans l\u2019\xE9diteur.",`Contr\xF4le la hauteur de ligne. \r + - Utilisez 0 pour calculer automatiquement la hauteur de ligne \xE0 partir de la taille de police.\r + : les valeurs comprises entre 0 et 8 sont utilis\xE9es comme multiplicateur avec la taille de police.\r + : les valeurs sup\xE9rieures ou \xE9gales \xE0 8 seront utilis\xE9es comme valeurs effectives.`,"Contr\xF4le si la minimap est affich\xE9e.","Contr\xF4le si la minimap est masqu\xE9e automatiquement.","Le minimap a la m\xEAme taille que le contenu de l'\xE9diteur (d\xE9filement possible).","Le minimap s'agrandit ou se r\xE9duit selon les besoins pour remplir la hauteur de l'\xE9diteur (pas de d\xE9filement).","Le minimap est r\xE9duit si n\xE9cessaire pour ne jamais d\xE9passer la taille de l'\xE9diteur (pas de d\xE9filement).","Contr\xF4le la taille du minimap.","Contr\xF4le le c\xF4t\xE9 o\xF9 afficher la minimap.","Contr\xF4le quand afficher le curseur du minimap.","\xC9chelle du contenu dessin\xE9 dans le minimap\xA0: 1, 2\xA0ou\xA03.","Afficher les caract\xE8res r\xE9els sur une ligne par opposition aux blocs de couleur.","Limiter la largeur de la minimap pour afficher au plus un certain nombre de colonnes.","Contr\xF4le la quantit\xE9 d\u2019espace entre le bord sup\xE9rieur de l\u2019\xE9diteur et la premi\xE8re ligne.","Contr\xF4le la quantit\xE9 d'espace entre le bord inf\xE9rieur de l'\xE9diteur et la derni\xE8re ligne.","Active une fen\xEAtre contextuelle qui affiche de la documentation sur les param\xE8tres et des informations sur les types \xE0 mesure que vous tapez.","D\xE9termine si le menu de suggestions de param\xE8tres se ferme ou reviens au d\xE9but lorsque la fin de la liste est atteinte.","Des suggestions rapides s\u2019affichent dans le widget de suggestion","Les suggestions rapides s\u2019affichent sous forme de texte fant\xF4me","Les suggestions rapides sont d\xE9sactiv\xE9es","Activez les suggestions rapides dans les cha\xEEnes.","Activez les suggestions rapides dans les commentaires.","Activez les suggestions rapides en dehors des cha\xEEnes et des commentaires.","Contr\xF4le si les suggestions doivent s\u2019afficher automatiquement lors de la saisie. Cela peut \xEAtre contr\xF4l\xE9 pour la saisie dans des commentaires, des cha\xEEnes et d\u2019autres codes. Vous pouvez configurer la suggestion rapide pour qu\u2019elle s\u2019affiche sous forme de texte fant\xF4me ou avec le widget de suggestion. Tenez \xE9galement compte du param\xE8tre '{0}' qui contr\xF4le si des suggestions sont d\xE9clench\xE9es par des caract\xE8res sp\xE9ciaux.","Les num\xE9ros de ligne ne sont pas affich\xE9s.","Les num\xE9ros de ligne sont affich\xE9s en nombre absolu.","Les num\xE9ros de ligne sont affich\xE9s sous la forme de distance en lignes \xE0 la position du curseur.","Les num\xE9ros de ligne sont affich\xE9s toutes les 10 lignes.","Contr\xF4le l'affichage des num\xE9ros de ligne.","Nombre de caract\xE8res monospace auxquels cette r\xE8gle d'\xE9diteur effectue le rendu.","Couleur de cette r\xE8gle d'\xE9diteur.","Rendre les r\xE8gles verticales apr\xE8s un certain nombre de caract\xE8res \xE0 espacement fixe. Utiliser plusieurs valeurs pour plusieurs r\xE8gles. Aucune r\xE8gle n'est dessin\xE9e si le tableau est vide.","La barre de d\xE9filement verticale sera visible uniquement lorsque cela est n\xE9cessaire.","La barre de d\xE9filement verticale est toujours visible.","La barre de d\xE9filement verticale est toujours masqu\xE9e.","Contr\xF4le la visibilit\xE9 de la barre de d\xE9filement verticale.","La barre de d\xE9filement horizontale sera visible uniquement lorsque cela est n\xE9cessaire.","La barre de d\xE9filement horizontale est toujours visible.","La barre de d\xE9filement horizontale est toujours masqu\xE9e.","Contr\xF4le la visibilit\xE9 de la barre de d\xE9filement horizontale.","Largeur de la barre de d\xE9filement verticale.","Hauteur de la barre de d\xE9filement horizontale.","Contr\xF4le si les clics permettent de faire d\xE9filer par page ou d\u2019acc\xE9der \xE0 la position de clic.","Contr\xF4le si tous les caract\xE8res ASCII non basiques sont mis en surbrillance. Seuls les caract\xE8res compris entre U+0020 et U+007E, tabulation, saut de ligne et retour chariot sont consid\xE9r\xE9s comme des ASCII de base.","Contr\xF4le si les caract\xE8res qui r\xE9servent de l\u2019espace ou qui n\u2019ont pas de largeur sont mis en surbrillance.","Contr\xF4le si les caract\xE8res mis en surbrillance peuvent \xEAtre d\xE9concert\xE9s avec des caract\xE8res ASCII de base, \xE0 l\u2019exception de ceux qui sont courants dans les param\xE8tres r\xE9gionaux utilisateur actuels.","Contr\xF4le si les caract\xE8res des commentaires doivent \xE9galement faire l\u2019objet d\u2019une mise en surbrillance Unicode.","Contr\xF4le si les caract\xE8res des cha\xEEnes de texte doivent \xE9galement faire l\u2019objet d\u2019une mise en surbrillance Unicode.","D\xE9finit les caract\xE8res autoris\xE9s qui ne sont pas mis en surbrillance.","Les caract\xE8res Unicode communs aux param\xE8tres r\xE9gionaux autoris\xE9s ne sont pas mis en surbrillance.","Contr\xF4le si les suggestions en ligne doivent \xEAtre affich\xE9es automatiquement dans l\u2019\xE9diteur.","Afficher la barre d\u2019outils de suggestion en ligne chaque fois qu\u2019une suggestion inline est affich\xE9e.","Afficher la barre d\u2019outils de suggestion en ligne lorsque vous pointez sur une suggestion incluse.","Contr\xF4le quand afficher la barre d\u2019outils de suggestion incluse.","Contr\xF4le la fa\xE7on dont les suggestions inline interagissent avec le widget de suggestion. Si cette option est activ\xE9e, le widget de suggestion n\u2019est pas affich\xE9 automatiquement lorsque des suggestions inline sont disponibles.","Contr\xF4le si la colorisation des paires de crochets est activ\xE9e ou non. Utilisez {0} pour remplacer les couleurs de surbrillance des crochets.","Contr\xF4le si chaque type de crochet poss\xE8de son propre pool de couleurs ind\xE9pendant.","D\xE9sactive les rep\xE8res de paire de crochets.","Active les rep\xE8res de paire de crochets uniquement pour la paire de crochets actifs.","D\xE9sactive les rep\xE8res de paire de crochets.","Contr\xF4le si les guides de la paire de crochets sont activ\xE9s ou non.","Active les rep\xE8res horizontaux en plus des rep\xE8res de paire de crochets verticaux.","Active les rep\xE8res horizontaux uniquement pour la paire de crochets actifs.","D\xE9sactive les rep\xE8res de paire de crochets horizontaux.","Contr\xF4le si les guides de la paire de crochets horizontaux sont activ\xE9s ou non.","Contr\xF4le si l\u2019\xE9diteur doit mettre en surbrillance la paire de crochets actifs.","Contr\xF4le si l\u2019\xE9diteur doit afficher les guides de mise en retrait.","Met en surbrillance le guide de retrait actif.","Met en surbrillance le rep\xE8re de retrait actif m\xEAme si les rep\xE8res de crochet sont mis en surbrillance.","Ne mettez pas en surbrillance le rep\xE8re de retrait actif.","Contr\xF4le si l\u2019\xE9diteur doit mettre en surbrillance le guide de mise en retrait actif.","Ins\xE9rez une suggestion sans remplacer le texte \xE0 droite du curseur.","Ins\xE9rez une suggestion et remplacez le texte \xE0 droite du curseur.","Contr\xF4le si les mots sont remplac\xE9s en cas d'acceptation de la saisie semi-automatique. Notez que cela d\xE9pend des extensions adh\xE9rant \xE0 cette fonctionnalit\xE9.","D\xE9termine si le filtre et le tri des suggestions doivent prendre en compte les fautes de frappes mineures.","Contr\xF4le si le tri favorise les mots qui apparaissent \xE0 proximit\xE9 du curseur.","Contr\xF4le si les s\xE9lections de suggestion m\xE9moris\xE9es sont partag\xE9es entre plusieurs espaces de travail et fen\xEAtres (n\xE9cessite '#editor.suggestSelection#').","Toujours s\xE9lectionner une suggestion lors du d\xE9clenchement automatique d\u2019IntelliSense.","Ne jamais s\xE9lectionner une suggestion lors du d\xE9clenchement automatique d\u2019IntelliSense.","S\xE9lectionnez une suggestion uniquement lors du d\xE9clenchement d\u2019IntelliSense \xE0 partir d\u2019un caract\xE8re d\xE9clencheur.","S\xE9lectionnez une suggestion uniquement lors du d\xE9clenchement d\u2019IntelliSense au cours de la frappe.","Contr\xF4le si une suggestion est s\xE9lectionn\xE9e lorsque le widget s\u2019affiche. Notez que cela s\u2019applique uniquement aux suggestions d\xE9clench\xE9es automatiquement ('#editor.quickSuggestions#' et '#editor.suggestOnTriggerCharacters#') et qu\u2019une suggestion est toujours s\xE9lectionn\xE9e lorsqu\u2019elle est appel\xE9e explicitement, par exemple via 'Ctrl+Espace'.","Contr\xF4le si un extrait de code actif emp\xEAche les suggestions rapides.","Contr\xF4le s'il faut montrer ou masquer les ic\xF4nes dans les suggestions.","Contr\xF4le la visibilit\xE9 de la barre d'\xE9tat en bas du widget de suggestion.","Contr\xF4le si la sortie de la suggestion doit \xEAtre affich\xE9e en aper\xE7u dans l\u2019\xE9diteur.","D\xE9termine si les d\xE9tails du widget de suggestion sont inclus dans l\u2019\xE9tiquette ou uniquement dans le widget de d\xE9tails.","Ce param\xE8tre est d\xE9pr\xE9ci\xE9. Le widget de suggestion peut d\xE9sormais \xEAtre redimensionn\xE9.","Ce param\xE8tre est d\xE9pr\xE9ci\xE9, veuillez utiliser des param\xE8tres distincts comme 'editor.suggest.showKeywords' ou 'editor.suggest.showSnippets' \xE0 la place.","Si activ\xE9, IntelliSense montre des suggestions de type 'method'.","Si activ\xE9, IntelliSense montre des suggestions de type 'function'.","Si activ\xE9, IntelliSense montre des suggestions de type 'constructor'.","Si cette option est activ\xE9e, IntelliSense montre des suggestions `d\xE9pr\xE9ci\xE9es`.","Quand le filtrage IntelliSense est activ\xE9, le premier caract\xE8re correspond \xE0 un d\xE9but de mot, par exemple 'c' sur 'Console' ou 'WebContext', mais _not_ sur 'description'. Si d\xE9sactiv\xE9, IntelliSense affiche plus de r\xE9sultats, mais les trie toujours par qualit\xE9 de correspondance.","Si activ\xE9, IntelliSense montre des suggestions de type 'field'.","Si activ\xE9, IntelliSense montre des suggestions de type 'variable'.","Si activ\xE9, IntelliSense montre des suggestions de type 'class'.","Si activ\xE9, IntelliSense montre des suggestions de type 'struct'.","Si activ\xE9, IntelliSense montre des suggestions de type 'interface'.","Si activ\xE9, IntelliSense montre des suggestions de type 'module'.","Si activ\xE9, IntelliSense montre des suggestions de type 'property'.","Si activ\xE9, IntelliSense montre des suggestions de type 'event'.","Si activ\xE9, IntelliSense montre des suggestions de type 'operator'.","Si activ\xE9, IntelliSense montre des suggestions de type 'unit'.","Si activ\xE9, IntelliSense montre des suggestions de type 'value'.","Si activ\xE9, IntelliSense montre des suggestions de type 'constant'.","Si activ\xE9, IntelliSense montre des suggestions de type 'enum'.","Si activ\xE9, IntelliSense montre des suggestions de type 'enumMember'.","Si activ\xE9, IntelliSense montre des suggestions de type 'keyword'.","Si activ\xE9, IntelliSense montre des suggestions de type 'text'.","Si activ\xE9, IntelliSense montre des suggestions de type 'color'.","Si activ\xE9, IntelliSense montre des suggestions de type 'file'.","Si activ\xE9, IntelliSense montre des suggestions de type 'reference'.","Si activ\xE9, IntelliSense montre des suggestions de type 'customcolor'.","Si activ\xE9, IntelliSense montre des suggestions de type 'folder'.","Si activ\xE9, IntelliSense montre des suggestions de type 'typeParameter'.","Si activ\xE9, IntelliSense montre des suggestions de type 'snippet'.","Si activ\xE9, IntelliSense montre des suggestions de type 'utilisateur'.","Si activ\xE9, IntelliSense montre des suggestions de type 'probl\xE8mes'.","Indique si les espaces blancs de d\xE9but et de fin doivent toujours \xEAtre s\xE9lectionn\xE9s.","Indique si les sous-mots (tels que \xAB foo \xBB dans \xAB fooBar \xBB ou \xAB foo_bar \xBB) doivent \xEAtre s\xE9lectionn\xE9s.","Aucune mise en retrait. Les lignes envelopp\xE9es commencent \xE0 la colonne 1.","Les lignes envelopp\xE9es obtiennent la m\xEAme mise en retrait que le parent.","Les lignes justifi\xE9es obtiennent une mise en retrait +1 vers le parent.","Les lignes justifi\xE9es obtiennent une mise en retrait +2 vers le parent. ","Contr\xF4le la mise en retrait des lignes justifi\xE9es.","Contr\xF4le si vous pouvez faire glisser et d\xE9poser un fichier dans un \xE9diteur de texte en maintenant la touche Maj enfonc\xE9e (au lieu d\u2019ouvrir le fichier dans un \xE9diteur).","Contr\xF4le si un widget est affich\xE9 lors de l\u2019annulation de fichiers dans l\u2019\xE9diteur. Ce widget vous permet de contr\xF4ler la fa\xE7on dont le fichier est annul\xE9.","Afficher le widget du s\xE9lecteur de d\xE9p\xF4t apr\xE8s la suppression d\u2019un fichier dans l\u2019\xE9diteur.","Ne jamais afficher le widget du s\xE9lecteur de d\xE9p\xF4t. \xC0 la place, le fournisseur de d\xE9p\xF4t par d\xE9faut est toujours utilis\xE9.","Contr\xF4le si vous pouvez coller le contenu de diff\xE9rentes mani\xE8res.","Contr\xF4le l\u2019affichage d\u2019un widget lors du collage de contenu dans l\u2019\xE9diteur. Ce widget vous permet de contr\xF4ler la mani\xE8re dont le fichier est coll\xE9.","Afficher le widget du s\xE9lecteur de collage une fois le contenu coll\xE9 dans l\u2019\xE9diteur.","Ne jamais afficher le widget de s\xE9lection de collage. Au lieu de cela, le comportement de collage par d\xE9faut est toujours utilis\xE9.","Contr\xF4le si les suggestions doivent \xEAtre accept\xE9es sur les caract\xE8res de validation. Par exemple, en JavaScript, le point-virgule (`;`) peut \xEAtre un caract\xE8re de validation qui accepte une suggestion et tape ce caract\xE8re.","Accepter uniquement une suggestion avec 'Entr\xE9e' quand elle effectue une modification textuelle.","Contr\xF4le si les suggestions sont accept\xE9es apr\xE8s appui sur 'Entr\xE9e', en plus de 'Tab'. Permet d\u2019\xE9viter toute ambigu\xEFt\xE9 entre l\u2019insertion de nouvelles lignes et l'acceptation de suggestions.","Contr\xF4le le nombre de lignes de l\u2019\xE9diteur qu\u2019un lecteur d\u2019\xE9cran peut lire en une seule fois. Quand nous d\xE9tectons un lecteur d\u2019\xE9cran, nous d\xE9finissons automatiquement la valeur par d\xE9faut \xE0 500. Attention\xA0: Les valeurs sup\xE9rieures \xE0 la valeur par d\xE9faut peuvent avoir un impact important sur les performances.","Contenu de l'\xE9diteur","Contr\xF4lez si les suggestions incluses sont annonc\xE9es par un lecteur d\u2019\xE9cran.","Utilisez les configurations de langage pour d\xE9terminer quand fermer automatiquement les parenth\xE8ses.","Fermer automatiquement les parenth\xE8ses uniquement lorsque le curseur est \xE0 gauche de l\u2019espace.","Contr\xF4le si l\u2019\xE9diteur doit fermer automatiquement les parenth\xE8ses quand l\u2019utilisateur ajoute une parenth\xE8se ouvrante.","Utilisez les configurations de langage pour d\xE9terminer quand fermer automatiquement les commentaires.","Fermez automatiquement les commentaires seulement si le curseur est \xE0 gauche de l'espace.","Contr\xF4le si l'\xE9diteur doit fermer automatiquement les commentaires quand l'utilisateur ajoute un commentaire ouvrant.","Supprimez les guillemets ou crochets fermants adjacents uniquement s'ils ont \xE9t\xE9 ins\xE9r\xE9s automatiquement.","Contr\xF4le si l'\xE9diteur doit supprimer les guillemets ou crochets fermants adjacents au moment de la suppression.","Tapez avant les guillemets ou les crochets fermants uniquement s'ils sont automatiquement ins\xE9r\xE9s.","Contr\xF4le si l'\xE9diteur doit taper avant les guillemets ou crochets fermants.","Utilisez les configurations de langage pour d\xE9terminer quand fermer automatiquement les guillemets.","Fermer automatiquement les guillemets uniquement lorsque le curseur est \xE0 gauche de l\u2019espace.","Contr\xF4le si l\u2019\xE9diteur doit fermer automatiquement les guillemets apr\xE8s que l\u2019utilisateur ajoute un guillemet ouvrant.","L'\xE9diteur n'ins\xE8re pas de retrait automatiquement.","L'\xE9diteur conserve le retrait de la ligne actuelle.","L'\xE9diteur conserve le retrait de la ligne actuelle et honore les crochets d\xE9finis par le langage.","L'\xE9diteur conserve le retrait de la ligne actuelle, honore les crochets d\xE9finis par le langage et appelle des objets onEnterRules sp\xE9ciaux d\xE9finis par les langages.","L'\xE9diteur conserve le retrait de la ligne actuelle, honore les crochets d\xE9finis par le langage, appelle des objets onEnterRules sp\xE9ciaux d\xE9finis par les langages et honore les objets indentationRules d\xE9finis par les langages.","Contr\xF4le si l'\xE9diteur doit ajuster automatiquement le retrait quand les utilisateurs tapent, collent, d\xE9placent ou mettent en retrait des lignes.","Utilisez les configurations de langue pour d\xE9terminer quand entourer automatiquement les s\xE9lections.","Entourez avec des guillemets et non des crochets.","Entourez avec des crochets et non des guillemets.","Contr\xF4le si l'\xE9diteur doit automatiquement entourer les s\xE9lections quand l'utilisateur tape des guillemets ou des crochets.","\xC9mule le comportement des tabulations pour la s\xE9lection quand des espaces sont utilis\xE9s \xE0 des fins de mise en retrait. La s\xE9lection respecte les taquets de tabulation.","Contr\xF4le si l'\xE9diteur affiche CodeLens.","Contr\xF4le la famille de polices pour CodeLens.","Contr\xF4le la taille de police en pixels pour CodeLens. Quand la valeur est 0, 90\xA0% de '#editor.fontSize#' est utilis\xE9.","Contr\xF4le si l'\xE9diteur doit afficher les \xE9l\xE9ments d\xE9coratifs de couleurs inline et le s\xE9lecteur de couleurs.","Faire appara\xEEtre le s\xE9lecteur de couleurs au clic et au pointage de l\u2019\xE9l\xE9ment d\xE9coratif de couleurs","Faire appara\xEEtre le s\xE9lecteur de couleurs en survolant l\u2019\xE9l\xE9ment d\xE9coratif de couleurs","Faire appara\xEEtre le s\xE9lecteur de couleurs en cliquant sur l\u2019\xE9l\xE9ment d\xE9coratif de couleurs","Contr\xF4le la condition pour faire appara\xEEtre un s\xE9lecteur de couleurs \xE0 partir d\u2019un \xE9l\xE9ment d\xE9coratif de couleurs","Contr\xF4le le nombre maximal d\u2019\xE9l\xE9ments d\xE9coratifs de couleur qui peuvent \xEAtre rendus simultan\xE9ment dans un \xE9diteur.","Autoriser l'utilisation de la souris et des touches pour s\xE9lectionner des colonnes.","Contr\xF4le si la coloration syntaxique doit \xEAtre copi\xE9e dans le presse-papiers.","Contr\xF4ler le style d\u2019animation du curseur.","L\u2019animation de caret fluide est d\xE9sactiv\xE9e.","L\u2019animation de caret fluide est activ\xE9e uniquement lorsque l\u2019utilisateur d\xE9place le curseur avec un mouvement explicite.","L\u2019animation de caret fluide est toujours activ\xE9e.","Contr\xF4le si l'animation du point d'insertion doit \xEAtre activ\xE9e.","Contr\xF4le le style du curseur.","Contr\xF4le le nombre minimal de lignes de d\xE9but (0 minimum) et de fin (1 minimum) visibles autour du curseur. \xC9galement appel\xE9 \xAB\xA0scrollOff\xA0\xBB ou \xAB\xA0scrollOffset\xA0\xBB dans d'autres \xE9diteurs.","'cursorSurroundingLines' est appliqu\xE9 seulement s'il est d\xE9clench\xE9 via le clavier ou une API.","'cursorSurroundingLines' est toujours appliqu\xE9.","Contr\xF4le le moment o\xF9 #cursorSurroundingLines# doit \xEAtre appliqu\xE9.","D\xE9termine la largeur du curseur lorsque `#editor.cursorStyle#` est \xE0 `line`.","Contr\xF4le si l\u2019\xE9diteur autorise le d\xE9placement de s\xE9lections par glisser-d\xE9placer.","Utilisez une nouvelle m\xE9thode de rendu avec des SVG.","Utilisez une nouvelle m\xE9thode de rendu avec des caract\xE8res de police.","Utilisez la m\xE9thode de rendu stable.","Contr\xF4le si les espaces blancs sont rendus avec une nouvelle m\xE9thode exp\xE9rimentale.","Multiplicateur de vitesse de d\xE9filement quand vous appuyez sur 'Alt'.","Contr\xF4le si l'\xE9diteur a le pliage de code activ\xE9.","Utilisez une strat\xE9gie de pliage propre \xE0 la langue, si disponible, sinon utilisez la strat\xE9gie bas\xE9e sur le retrait.","Utilisez la strat\xE9gie de pliage bas\xE9e sur le retrait.","Contr\xF4le la strat\xE9gie de calcul des plages de pliage.","Contr\xF4le si l'\xE9diteur doit mettre en \xE9vidence les plages pli\xE9es.","Contr\xF4le si l\u2019\xE9diteur r\xE9duit automatiquement les plages d\u2019importation.","Nombre maximal de r\xE9gions pliables. L\u2019augmentation de cette valeur peut r\xE9duire la r\xE9activit\xE9 de l\u2019\xE9diteur lorsque la source actuelle comprend un grand nombre de r\xE9gions pliables.","Contr\xF4le si le fait de cliquer sur le contenu vide apr\xE8s une ligne pli\xE9e d\xE9plie la ligne.","Contr\xF4le la famille de polices.","D\xE9termine si l\u2019\xE9diteur doit automatiquement mettre en forme le contenu coll\xE9. Un formateur doit \xEAtre disponible et \xEAtre capable de mettre en forme une plage dans un document.","Contr\xF4le si l\u2019\xE9diteur doit mettre automatiquement en forme la ligne apr\xE8s la saisie.","Contr\xF4le si l'\xE9diteur doit afficher la marge de glyphes verticale. La marge de glyphes sert principalement au d\xE9bogage.","Contr\xF4le si le curseur doit \xEAtre masqu\xE9 dans la r\xE8gle de la vue d\u2019ensemble.","Contr\xF4le l'espacement des lettres en pixels.","Contr\xF4le si la modification li\xE9e est activ\xE9e dans l\u2019\xE9diteur. En fonction du langage, les symboles associ\xE9s, par exemple les balises HTML, sont mis \xE0 jour durant le processus de modification.","Contr\xF4le si l\u2019\xE9diteur doit d\xE9tecter les liens et les rendre cliquables.","Mettez en surbrillance les crochets correspondants.","Un multiplicateur \xE0 utiliser sur les `deltaX` et `deltaY` des \xE9v\xE9nements de d\xE9filement de roulette de souris.","Faire un zoom sur la police de l'\xE9diteur quand l'utilisateur fait tourner la roulette de la souris tout en maintenant la touche 'Ctrl' enfonc\xE9e.","Fusionnez plusieurs curseurs quand ils se chevauchent.","Mappe vers 'Contr\xF4le' dans Windows et Linux, et vers 'Commande' dans macOS.","Mappe vers 'Alt' dans Windows et Linux, et vers 'Option' dans macOS.","Modificateur \xE0 utiliser pour ajouter plusieurs curseurs avec la souris. Les mouvements de la souris Atteindre la d\xE9finition et Ouvrir le lien s\u2019adaptent afin qu\u2019ils ne soient pas en conflit avec le [modificateur multicurseur](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modificateur).","Chaque curseur colle une seule ligne de texte.","Chaque curseur colle le texte en entier.","Contr\xF4le le collage quand le nombre de lignes du texte coll\xE9 correspond au nombre de curseurs.","Contr\xF4le le nombre maximal de curseurs pouvant se trouver dans un \xE9diteur actif \xE0 la fois.","Contr\xF4le si l'\xE9diteur doit mettre en surbrillance les occurrences de symboles s\xE9mantiques.","Contr\xF4le si une bordure doit \xEAtre dessin\xE9e autour de la r\xE8gle de la vue d'ensemble.","Focus sur l'arborescence \xE0 l'ouverture de l'aper\xE7u","Placer le focus sur l'\xE9diteur \xE0 l'ouverture de l'aper\xE7u","Contr\xF4le s'il faut mettre le focus sur l'\xE9diteur inline ou sur l'arborescence dans le widget d'aper\xE7u.","Contr\xF4le si le geste de souris Acc\xE9der \xE0 la d\xE9finition ouvre toujours le widget d'aper\xE7u.","Contr\xF4le le d\xE9lai en millisecondes apr\xE8s lequel des suggestions rapides sont affich\xE9es.","Contr\xF4le si l'\xE9diteur renomme automatiquement selon le type.","D\xE9pr\xE9ci\xE9. Utilisez 'editor.linkedEditing' \xE0 la place.","Contr\xF4le si l\u2019\xE9diteur doit afficher les caract\xE8res de contr\xF4le.","Affichez le dernier num\xE9ro de ligne quand le fichier se termine par un saut de ligne.","Met en surbrillance la goutti\xE8re et la ligne actuelle.","Contr\xF4le la fa\xE7on dont l\u2019\xE9diteur doit afficher la mise en surbrillance de la ligne actuelle.","Contr\xF4le si l'\xE9diteur doit afficher la mise en surbrillance de la ligne actuelle uniquement quand il a le focus.","Affiche les espaces blancs \xE0 l'exception des espaces uniques entre les mots.","Afficher les espaces blancs uniquement sur le texte s\xE9lectionn\xE9.","Affiche uniquement les caract\xE8res correspondant aux espaces blancs de fin.","Contr\xF4le la fa\xE7on dont l\u2019\xE9diteur doit restituer les caract\xE8res espaces.","Contr\xF4le si les s\xE9lections doivent avoir des angles arrondis.","Contr\xF4le le nombre de caract\xE8res suppl\xE9mentaires, au-del\xE0 duquel l\u2019\xE9diteur d\xE9file horizontalement.","Contr\xF4le si l\u2019\xE9diteur d\xE9file au-del\xE0 de la derni\xE8re ligne.","Faites d\xE9filer uniquement le long de l'axe pr\xE9dominant quand le d\xE9filement est \xE0 la fois vertical et horizontal. Emp\xEAche la d\xE9rive horizontale en cas de d\xE9filement vertical sur un pav\xE9 tactile.","Contr\xF4le si le presse-papiers principal Linux doit \xEAtre pris en charge.","Contr\xF4le si l'\xE9diteur doit mettre en surbrillance les correspondances similaires \xE0 la s\xE9lection.","Affichez toujours les contr\xF4les de pliage.","N\u2019affichez jamais les contr\xF4les de pliage et r\xE9duisez la taille de la marge.","Affichez uniquement les contr\xF4les de pliage quand la souris est au-dessus de la reliure.","Contr\xF4le quand afficher les contr\xF4les de pliage sur la reliure.","Contr\xF4le la disparition du code inutile.","Contr\xF4le les variables d\xE9pr\xE9ci\xE9es barr\xE9es.","Afficher des suggestions d\u2019extraits au-dessus d\u2019autres suggestions.","Afficher des suggestions d\u2019extraits en-dessous d\u2019autres suggestions.","Afficher des suggestions d\u2019extraits avec d\u2019autres suggestions.","Ne pas afficher de suggestions d\u2019extrait de code.","Contr\xF4le si les extraits de code s'affichent en m\xEAme temps que d'autres suggestions, ainsi que leur mode de tri.","Contr\xF4le si l'\xE9diteur d\xE9file en utilisant une animation.","Contr\xF4le si l'indicateur d'accessibilit\xE9 doit \xEAtre fourni aux utilisateurs du lecteur d'\xE9cran lorsqu'une compl\xE9tion inline est affich\xE9e.","Taille de police pour le widget suggest. Lorsqu\u2019elle est d\xE9finie sur {0}, la valeur de {1} est utilis\xE9e.","Hauteur de ligne pour le widget suggest. Lorsqu\u2019elle est d\xE9finie sur {0}, la valeur de {1} est utilis\xE9e. La valeur minimale est 8.","Contr\xF4le si les suggestions devraient automatiquement s\u2019afficher lorsque vous tapez les caract\xE8res de d\xE9clencheur.","S\xE9lectionnez toujours la premi\xE8re suggestion.","S\xE9lectionnez les suggestions r\xE9centes sauf si une entr\xE9e ult\xE9rieure en a s\xE9lectionn\xE9 une, par ex., 'console.| -> console.log', car 'log' a \xE9t\xE9 effectu\xE9 r\xE9cemment.","S\xE9lectionnez des suggestions en fonction des pr\xE9fixes pr\xE9c\xE9dents qui ont compl\xE9t\xE9 ces suggestions, par ex., 'co -> console' et 'con -> const'.","Contr\xF4le comment les suggestions sont pr\xE9-s\xE9lectionn\xE9s lors de l\u2019affichage de la liste de suggestion.","La compl\xE9tion par tabulation ins\xE9rera la meilleure suggestion lorsque vous appuyez sur tab.","D\xE9sactiver les compl\xE9tions par tabulation.","Compl\xE9ter les extraits de code par tabulation lorsque leur pr\xE9fixe correspond. Fonctionne mieux quand les 'quickSuggestions' ne sont pas activ\xE9es.","Active les compl\xE9tions par tabulation","Les marques de fin de ligne inhabituelles sont automatiquement supprim\xE9es.","Les marques de fin de ligne inhabituelles sont ignor\xE9es.","Les marques de fin de ligne inhabituelles demandent \xE0 \xEAtre supprim\xE9es.","Supprimez les marques de fin de ligne inhabituelles susceptibles de causer des probl\xE8mes.","L'insertion et la suppression des espaces blancs suit les taquets de tabulation.","Utilisez la r\xE8gle de saut de ligne par d\xE9faut.","Les sauts de mots ne doivent pas \xEAtre utilis\xE9s pour le texte chinois/japonais/cor\xE9en (CJC). Le comportement du texte non CJC est identique \xE0 celui du texte normal.","Contr\xF4le les r\xE8gles de s\xE9parateur de mots utilis\xE9es pour le texte chinois/japonais/cor\xE9en (CJC).","Caract\xE8res utilis\xE9s comme s\xE9parateurs de mots durant la navigation ou les op\xE9rations bas\xE9es sur les mots","Le retour automatique \xE0 la ligne n'est jamais effectu\xE9.","Le retour automatique \xE0 la ligne s'effectue en fonction de la largeur de la fen\xEAtre d'affichage.","Les lignes seront termin\xE9es \xE0 `#editor.wordWrapColumn#`.","Les lignes seront termin\xE9es au minimum du viewport et `#editor.wordWrapColumn#`.","Contr\xF4le comment les lignes doivent \xEAtre limit\xE9es.","Contr\xF4le la colonne de terminaison de l\u2019\xE9diteur lorsque `#editor.wordWrap#` est \xE0 `wordWrapColumn` ou `bounded`.","Contr\xF4le si les d\xE9corations de couleur inline doivent \xEAtre affich\xE9es \xE0 l\u2019aide du fournisseur de couleurs de document par d\xE9faut","Contr\xF4le si l\u2019\xE9diteur re\xE7oit des onglets ou les reporte au banc d\u2019essai pour la navigation."],"vs/editor/common/core/editorColorRegistry":["Couleur d'arri\xE8re-plan de la mise en surbrillance de la ligne \xE0 la position du curseur.","Couleur d'arri\xE8re-plan de la bordure autour de la ligne \xE0 la position du curseur.","Couleur d'arri\xE8re-plan des plages mises en surbrillance, comme par les fonctionnalit\xE9s de recherche et Quick Open. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan de la bordure autour des plages mises en surbrillance.","Couleur d'arri\xE8re-plan du symbole mis en surbrillance, comme le symbole Atteindre la d\xE9finition ou Suivant/Pr\xE9c\xE9dent. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les d\xE9corations sous-jacentes.","Couleur d'arri\xE8re-plan de la bordure autour des symboles mis en surbrillance.","Couleur du curseur de l'\xE9diteur.","La couleur de fond du curseur de l'\xE9diteur. Permet de personnaliser la couleur d'un caract\xE8re survol\xE9 par un curseur de bloc.","Couleur des espaces blancs dans l'\xE9diteur.","Couleur des num\xE9ros de ligne de l'\xE9diteur.","Couleur des rep\xE8res de retrait de l'\xE9diteur.","'editorIndentGuide.background' est d\xE9conseill\xE9. Utilisez 'editorIndentGuide.background1' \xE0 la place.","Couleur des guides d'indentation de l'\xE9diteur actif","'editorIndentGuide.activeBackground' est d\xE9conseill\xE9. Utilisez 'editorIndentGuide.activeBackground1' \xE0 la place.","Couleur des rep\xE8res de retrait de l'\xE9diteur (1).","Couleur des rep\xE8res de retrait de l'\xE9diteur (2).","Couleur des rep\xE8res de retrait de l'\xE9diteur (3).","Couleur des rep\xE8res de retrait de l'\xE9diteur (4).","Couleur des rep\xE8res de retrait de l'\xE9diteur (5).","Couleur des rep\xE8res de retrait de l'\xE9diteur (6).","Couleur des repaires de retrait de l'\xE9diteur actifs (1).","Couleur des repaires de retrait de l'\xE9diteur actifs (2).","Couleur des repaires de retrait de l'\xE9diteur actifs (3).","Couleur des repaires de retrait de l'\xE9diteur actifs (4).","Couleur des repaires de retrait de l'\xE9diteur actifs (5).","Couleur des repaires de retrait de l'\xE9diteur actifs (6).","Couleur des num\xE9ros de lignes actives de l'\xE9diteur","L\u2019ID est d\xE9pr\xE9ci\xE9. Utilisez \xE0 la place 'editorLineNumber.activeForeground'.","Couleur des num\xE9ros de lignes actives de l'\xE9diteur","Couleur de la ligne finale de l\u2019\xE9diteur lorsque editor.renderFinalNewline est d\xE9fini sur gris\xE9.","Couleur des r\xE8gles de l'\xE9diteur","Couleur pour les indicateurs CodeLens","Couleur d'arri\xE8re-plan pour les accolades associ\xE9es","Couleur pour le contour des accolades associ\xE9es","Couleur de la bordure de la r\xE8gle d'aper\xE7u.","Couleur d\u2019arri\xE8re-plan de la r\xE8gle de vue d\u2019ensemble de l\u2019\xE9diteur.","Couleur de fond pour la bordure de l'\xE9diteur. La bordure contient les marges pour les symboles et les num\xE9ros de ligne.","Couleur de bordure du code source inutile (non utilis\xE9) dans l'\xE9diteur.","Opacit\xE9 du code source inutile (non utilis\xE9) dans l'\xE9diteur. Par exemple, '#000000c0' affiche le code avec une opacit\xE9 de 75\xA0%. Pour les th\xE8mes \xE0 fort contraste, utilisez la couleur de th\xE8me 'editorUnnecessaryCode.border' pour souligner le code inutile au lieu d'utiliser la transparence.","Couleur de bordure du texte fant\xF4me dans l\u2019\xE9diteur.","Couleur de premier plan du texte fant\xF4me dans l\u2019\xE9diteur.","Couleur de l\u2019arri\xE8re-plan du texte fant\xF4me dans l\u2019\xE9diteur","Couleur de marqueur de la r\xE8gle d'aper\xE7u pour la mise en surbrillance des plages. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur du marqueur de la r\xE8gle d'aper\xE7u pour les erreurs.","Couleur du marqueur de la r\xE8gle d'aper\xE7u pour les avertissements.","Couleur du marqueur de la r\xE8gle d'aper\xE7u pour les informations.","Couleur de premier plan des crochets (1). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des crochets (2). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des crochets (3). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des crochets (4). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des crochets (5). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des crochets (6). N\xE9cessite l\u2019activation de la coloration de la paire de crochets.","Couleur de premier plan des parenth\xE8ses inattendues","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (1). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (2). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (3). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (4). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (5). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets inactifs (6). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (1). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (2). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (3). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (4). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (5). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur d\u2019arri\xE8re-plan des rep\xE8res de paire de crochets actifs (6). N\xE9cessite l\u2019activation des rep\xE8res de paire de crochets.","Couleur de bordure utilis\xE9e pour mettre en surbrillance les caract\xE8res Unicode","Couleur de fond utilis\xE9e pour mettre en \xE9vidence les caract\xE8res unicode"],"vs/editor/common/editorContextKeys":["Indique si le texte de l'\xE9diteur a le focus (le curseur clignote)","Indique si l'\xE9diteur ou un widget de l'\xE9diteur a le focus (par exemple, le focus se trouve sur le widget de recherche)","Indique si un \xE9diteur ou une entr\xE9e de texte mis en forme a le focus (le curseur clignote)","Indique si l\u2019\xE9diteur est en lecture seule","Indique si le contexte est celui d'un \xE9diteur de diff\xE9rences","Indique si le contexte est celui d\u2019un \xE9diteur de diff\xE9rences int\xE9gr\xE9","Indique si un bloc de code d\xE9plac\xE9 est s\xE9lectionn\xE9 pour \xEAtre compar\xE9","Indique si la visionneuse diff accessible est visible","Indique si le point d'arr\xEAt Render Side by Side ou inline de l'\xE9diteur de diff\xE9rences est atteint","Indique si 'editor.columnSelection' est activ\xE9","Indique si du texte est s\xE9lectionn\xE9 dans l'\xE9diteur","Indique si l'\xE9diteur a plusieurs s\xE9lections","Indique si la touche Tab permet de d\xE9placer le focus hors de l'\xE9diteur","Indique si le pointage de l'\xE9diteur est visible","Indique si le pointage de l\u2019\xE9diteur est cibl\xE9","Indique si le d\xE9filement du pense-b\xEAte a le focus","Indique si le d\xE9filement du pense-b\xEAte est visible","Indique si le s\xE9lecteur de couleurs autonome est visible","Indique si le s\xE9lecteur de couleurs autonome est prioritaire","Indique si l'\xE9diteur fait partie d'un \xE9diteur plus important (par exemple Notebooks)","Identificateur de langage de l'\xE9diteur","Indique si l'\xE9diteur a un fournisseur d'\xE9l\xE9ments de compl\xE9tion","Indique si l'\xE9diteur a un fournisseur d'actions de code","Indique si l'\xE9diteur a un fournisseur d'informations CodeLens","Indique si l'\xE9diteur a un fournisseur de d\xE9finitions","Indique si l'\xE9diteur a un fournisseur de d\xE9clarations","Indique si l'\xE9diteur a un fournisseur d'impl\xE9mentation","Indique si l'\xE9diteur a un fournisseur de d\xE9finitions de type","Indique si l'\xE9diteur a un fournisseur de pointage","Indique si l'\xE9diteur a un fournisseur de mise en surbrillance pour les documents","Indique si l'\xE9diteur a un fournisseur de symboles pour les documents","Indique si l'\xE9diteur a un fournisseur de r\xE9f\xE9rence","Indique si l'\xE9diteur a un fournisseur de renommage","Indique si l'\xE9diteur a un fournisseur d'aide sur les signatures","Indique si l'\xE9diteur a un fournisseur d'indicateurs inline","Indique si l'\xE9diteur a un fournisseur de mise en forme pour les documents","Indique si l'\xE9diteur a un fournisseur de mise en forme de s\xE9lection pour les documents","Indique si l'\xE9diteur a plusieurs fournisseurs de mise en forme pour les documents","Indique si l'\xE9diteur a plusieurs fournisseurs de mise en forme de s\xE9lection pour les documents"],"vs/editor/common/languages":["tableau","bool\xE9en","classe","constante","constructeur","\xE9num\xE9ration","membre d'\xE9num\xE9ration","\xE9v\xE9nement","champ","fichier","fonction","interface","cl\xE9","m\xE9thode","module","espace de noms","NULL","nombre","objet","op\xE9rateur","package","propri\xE9t\xE9","cha\xEEne","struct","param\xE8tre de type","variable","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["Texte brut"],"vs/editor/common/model/editStack":["Frappe en cours"],"vs/editor/common/standaloneStrings":["D\xE9veloppeur\xA0: Inspecter les jetons","Acc\xE9der \xE0 la ligne/colonne...","Afficher tous les fournisseurs d'acc\xE8s rapide","Palette de commandes","Commandes d'affichage et d'ex\xE9cution","Acc\xE9der au symbole...","Acc\xE9der au symbole par cat\xE9gorie...","Contenu de l'\xE9diteur","Appuyez sur Alt+F1 pour voir les options d'accessibilit\xE9.","Activer/d\xE9sactiver le th\xE8me \xE0 contraste \xE9lev\xE9","{0} modifications dans {1} fichiers"],"vs/editor/common/viewLayout/viewLineRenderer":["Afficher plus\xA0({0})","{0}\xA0caract\xE8res"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["Ancre de s\xE9lection","Ancre d\xE9finie sur {0}:{1}","D\xE9finir l'ancre de s\xE9lection","Atteindre l'ancre de s\xE9lection","S\xE9lectionner de l'ancre au curseur","Annuler l'ancre de s\xE9lection"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["Couleur du marqueur de la r\xE8gle d'aper\xE7u pour rechercher des parenth\xE8ses.","Atteindre le crochet","S\xE9lectionner jusqu'au crochet","Supprimer les crochets","Acc\xE9der au &&crochet"],"vs/editor/contrib/caretOperations/browser/caretOperations":["D\xE9placer le texte s\xE9lectionn\xE9 \xE0 gauche","D\xE9placer le texte s\xE9lectionn\xE9 \xE0 droite"],"vs/editor/contrib/caretOperations/browser/transpose":["Transposer les lettres"],"vs/editor/contrib/clipboard/browser/clipboard":["Co&&uper","Couper","Couper","Couper","&&Copier","Copier","Copier","Copier","Copier en tant que","Copier en tant que","Partager","Partager","Partager","Co&&ller","Coller","Coller","Coller","Copier avec la coloration syntaxique"],"vs/editor/contrib/codeAction/browser/codeAction":["Une erreur inconnue s'est produite \xE0 l'application de l'action du code"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["Type d'action de code \xE0 ex\xE9cuter.","Contr\xF4le quand les actions retourn\xE9es sont appliqu\xE9es.","Appliquez toujours la premi\xE8re action de code retourn\xE9e.","Appliquez la premi\xE8re action de code retourn\xE9e si elle est la seule.","N'appliquez pas les actions de code retourn\xE9es.","Contr\xF4le si seules les actions de code par d\xE9faut doivent \xEAtre retourn\xE9es.","Correction rapide...","Aucune action de code disponible","Aucune action de code pr\xE9f\xE9r\xE9e n'est disponible pour '{0}'","Aucune action de code disponible pour '{0}'","Aucune action de code par d\xE9faut disponible","Aucune action de code disponible","Remanier...","Aucune refactorisation par d\xE9faut disponible pour '{0}'","Aucune refactorisation disponible pour '{0}'","Aucune refactorisation par d\xE9faut disponible","Aucune refactorisation disponible","Action de la source","Aucune action source par d\xE9faut disponible pour '{0}'","Aucune action source disponible pour '{0}'","Aucune action source par d\xE9faut disponible","Aucune action n'est disponible","Organiser les importations","Aucune action organiser les imports disponible","Tout corriger","Aucune action Tout corriger disponible","Corriger automatiquement...","Aucun correctif automatique disponible"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["Activez/d\xE9sactivez l\u2019affichage des en-t\xEAtes de groupe dans le menu d\u2019action du code.","Activez/d\xE9sactivez l\u2019affichage du correctif rapide le plus proche dans une ligne lorsqu\u2019il n\u2019est pas sur un diagnostic."],"vs/editor/contrib/codeAction/browser/codeActionController":["Contexte\xA0: {0} \xE0 la ligne {1} et \xE0 la colonne {2}.","Masquer d\xE9sactiv\xE9","Afficher les \xE9l\xE9ments d\xE9sactiv\xE9s"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["Plus d\u2019actions...","Correctif rapide","Extraire","Inline","R\xE9\xE9crire","D\xE9placer","Entourer de","Action source"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["Afficher les actions de code. Correctif rapide disponible par d\xE9faut ({0})","Afficher les actions de code ({0})","Afficher les actions de code"],"vs/editor/contrib/codelens/browser/codelensController":["Afficher les commandes Code Lens de la ligne actuelle","S\xE9lectionner une commande"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["Cliquez pour activer/d\xE9sactiver les options de couleur (rgb/hsl/hexad\xE9cimal).","Ic\xF4ne pour fermer le s\xE9lecteur de couleurs"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["Afficher ou mettre le focus sur le s\xE9lecteur de couleurs autonome","&&Afficher ou mettre le focus sur le s\xE9lecteur de couleurs autonome","Masquer le s\xE9lecteur de couleurs","Ins\xE9rer une couleur avec un s\xE9lecteur de couleurs autonome"],"vs/editor/contrib/comment/browser/comment":["Activer/d\xE9sactiver le commentaire de ligne","Afficher/masquer le commen&&taire de ligne","Ajouter le commentaire de ligne","Supprimer le commentaire de ligne","Activer/d\xE9sactiver le commentaire de bloc","Afficher/masquer le commentaire de &&bloc"],"vs/editor/contrib/contextmenu/browser/contextmenu":["Minimap","Afficher les caract\xE8res","Taille verticale","Proportionnel","Remplissage","Ajuster","Curseur","Pointer la souris","Toujours","Afficher le menu contextuel de l'\xE9diteur"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["Annulation du curseur","Restauration du curseur"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["Coller en tant que...","ID de la modification de collage \xE0 appliquer. S\u2019il n\u2019est pas fourni, l\u2019\xE9diteur affiche un s\xE9lecteur."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["Si le widget de collage est affich\xE9","Afficher les options de collage...","Ex\xE9cution des gestionnaires de collage. Cliquez pour annuler","S\xE9lectionner l\u2019action Coller","Ex\xE9cution des gestionnaires de collage"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["Int\xE9gr\xE9","Ins\xE9rer du texte brut","Ins\xE9rer des URI","Ins\xE9rer un URI","Ins\xE9rer des chemins d\u2019acc\xE8s","Ins\xE9rer un chemin d\u2019acc\xE8s","Ins\xE9rer des chemins d\u2019acc\xE8s relatifs","Ins\xE9rer un chemin d\u2019acc\xE8s relatif"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["Configure le fournisseur de d\xE9p\xF4t par d\xE9faut \xE0 utiliser pour le contenu d\u2019un type MIME donn\xE9."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["Indique si le widget de suppression s\u2019affiche","Afficher les options de suppression...","Ex\xE9cution des gestionnaires de d\xE9p\xF4t. Cliquez pour annuler"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["Indique si l'\xE9diteur ex\xE9cute une op\xE9ration annulable, par exemple 'Avoir un aper\xE7u des r\xE9f\xE9rences'"],"vs/editor/contrib/find/browser/findController":["Le fichier est trop volumineux pour effectuer une op\xE9ration Tout remplacer.","Rechercher","&&Rechercher",`Remplace l\u2019indicateur \xAB Utiliser une expression r\xE9guli\xE8re \xBB.\r +L\u2019indicateur ne sera pas enregistr\xE9 \xE0 l\u2019avenir.\r +0 : Ne rien faire\r +1 : Vrai\r +2 : Faux`,`Remplace l\u2019indicateur \xAB Match Whole Word \xBB.\r +L\u2019indicateur ne sera pas enregistr\xE9 \xE0 l\u2019avenir.\r +0 : Ne rien faire\r +1 : Vrai\r +2 : Faux`,`Remplace l\u2019indicateur \xAB Cas math\xE9matiques \xBB.\r +L\u2019indicateur ne sera pas enregistr\xE9 \xE0 l\u2019avenir.\r +0 : Ne rien faire\r +1 : Vrai\r +2 : Faux`,`Remplace l\u2019indicateur \xAB Preserve Case \xBB.\r +L\u2019indicateur ne sera pas enregistr\xE9 \xE0 l\u2019avenir.\r +0 : Ne rien faire\r +1 : Vrai\r +2 : Faux`,"Trouver avec des arguments","Rechercher dans la s\xE9lection","Rechercher suivant","Rechercher pr\xE9c\xE9dent","Acc\xE9der \xE0 la correspondance...","Aucune correspondance. Essayez de rechercher autre chose.","Tapez un nombre pour acc\xE9der \xE0 une correspondance sp\xE9cifique (entre 1 et {0})","Veuillez entrer un nombre compris entre 1 et {0}","Veuillez entrer un nombre compris entre 1 et {0}","S\xE9lection suivante","S\xE9lection pr\xE9c\xE9dente","Remplacer","&&Remplacer"],"vs/editor/contrib/find/browser/findWidget":["Ic\xF4ne de l'option Rechercher dans la s\xE9lection dans le widget de recherche de l'\xE9diteur.","Ic\xF4ne permettant d'indiquer que le widget de recherche de l'\xE9diteur est r\xE9duit.","Ic\xF4ne permettant d'indiquer que le widget de recherche de l'\xE9diteur est d\xE9velopp\xE9.","Ic\xF4ne de l'option Remplacer dans le widget de recherche de l'\xE9diteur.","Ic\xF4ne de l'option Tout remplacer dans le widget de recherche de l'\xE9diteur.","Ic\xF4ne de l'option Rechercher pr\xE9c\xE9dent dans le widget de recherche de l'\xE9diteur.","Ic\xF4ne de l'option Rechercher suivant dans le widget de recherche de l'\xE9diteur.","Rechercher/remplacer","Rechercher","Rechercher","Correspondance pr\xE9c\xE9dente","Correspondance suivante","Rechercher dans la s\xE9lection","Fermer","Remplacer","Remplacer","Remplacer","Tout remplacer","Activer/d\xE9sactiver le remplacement","Seuls les {0} premiers r\xE9sultats sont mis en \xE9vidence, mais toutes les op\xE9rations de recherche fonctionnent sur l\u2019ensemble du texte.","{0} sur {1}","Aucun r\xE9sultat","{0} trouv\xE9(s)","{0} trouv\xE9 pour '{1}'","{0} trouv\xE9 pour '{1}', sur {2}","{0} trouv\xE9 pour '{1}'","La combinaison Ctrl+Entr\xE9e permet d\xE9sormais d'ajouter un saut de ligne au lieu de tout remplacer. Vous pouvez modifier le raccourci clavier de editor.action.replaceAll pour red\xE9finir le comportement."],"vs/editor/contrib/folding/browser/folding":["D\xE9plier","D\xE9plier de mani\xE8re r\xE9cursive","Plier","Activer/d\xE9sactiver le pliage","Plier de mani\xE8re r\xE9cursive","Replier tous les commentaires de bloc","Replier toutes les r\xE9gions","D\xE9plier toutes les r\xE9gions","Plier tout, sauf les \xE9l\xE9ments s\xE9lectionn\xE9s","D\xE9plier tout, sauf les \xE9l\xE9ments s\xE9lectionn\xE9s","Plier tout","D\xE9plier tout","Atteindre le pli parent","Acc\xE9der \xE0 la plage de pliage pr\xE9c\xE9dente","Acc\xE9der \xE0 la plage de pliage suivante","Cr\xE9er une plage de pliage \xE0 partir de la s\xE9lection","Supprimer les plages de pliage manuelles","Niveau de pliage {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["Couleur d'arri\xE8re-plan des gammes pli\xE9es. La couleur ne doit pas \xEAtre opaque pour ne pas cacher les d\xE9corations sous-jacentes.","Couleur du contr\xF4le de pliage dans la marge de l'\xE9diteur.","Ic\xF4ne des plages d\xE9velopp\xE9es dans la marge de glyphes de l'\xE9diteur.","Ic\xF4ne des plages r\xE9duites dans la marge de glyphes de l'\xE9diteur.","Ic\xF4ne pour les plages r\xE9duites manuellement dans la marge de glyphe de l\u2019\xE9diteur.","Ic\xF4ne pour les plages d\xE9velopp\xE9es manuellement dans la marge de glyphe de l\u2019\xE9diteur."],"vs/editor/contrib/fontZoom/browser/fontZoom":["Agrandissement de l'\xE9diteur de polices de caract\xE8res","R\xE9tr\xE9cissement de l'\xE9diteur de polices de caract\xE8res","Remise \xE0 niveau du zoom de l'\xE9diteur de polices de caract\xE8res"],"vs/editor/contrib/format/browser/format":["1\xA0modification de format effectu\xE9e \xE0 la ligne {0}","{0} modifications de format effectu\xE9es \xE0 la ligne {1}","1\xA0modification de format effectu\xE9e entre les lignes {0} et {1}","{0} modifications de format effectu\xE9es entre les lignes {1} et {2}"],"vs/editor/contrib/format/browser/formatActions":["Mettre le document en forme","Mettre la s\xE9lection en forme"],"vs/editor/contrib/gotoError/browser/gotoError":["Aller au probl\xE8me suivant (Erreur, Avertissement, Info)","Ic\xF4ne du prochain marqueur goto.","Aller au probl\xE8me pr\xE9c\xE9dent (Erreur, Avertissement, Info)","Ic\xF4ne du pr\xE9c\xE9dent marqueur goto.","Aller au probl\xE8me suivant dans Fichiers (Erreur, Avertissement, Info)","&&Probl\xE8me suivant","Aller au probl\xE8me pr\xE9c\xE9dent dans Fichiers (Erreur, Avertissement, Info)","&&Probl\xE8me pr\xE9c\xE9dent"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["Erreur","Avertissement","Info","Conseil","{0} \xE0 {1}. ","{0}\xA0probl\xE8mes sur\xA0{1}","{0}\xA0probl\xE8me(s) sur {1}","Couleur d'erreur du widget de navigation dans les marqueurs de l'\xE9diteur.","Arri\xE8re-plan du titre d\u2019erreur du widget de navigation dans les marqueurs de l\u2019\xE9diteur.","Couleur d'avertissement du widget de navigation dans les marqueurs de l'\xE9diteur.","Arri\xE8re-plan du titre d\u2019erreur du widget de navigation dans les marqueurs de l\u2019\xE9diteur.","Couleur d\u2019information du widget de navigation du marqueur de l'\xE9diteur.","Arri\xE8re-plan du titre des informations du widget de navigation dans les marqueurs de l\u2019\xE9diteur.","Arri\xE8re-plan du widget de navigation dans les marqueurs de l'\xE9diteur."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["Aper\xE7u","D\xE9finitions","D\xE9finition introuvable pour '{0}'","D\xE9finition introuvable","Atteindre la d\xE9finition","Atteindre la &&d\xE9finition","Ouvrir la d\xE9finition sur le c\xF4t\xE9","Aper\xE7u de la d\xE9finition","D\xE9clarations","Aucune d\xE9claration pour '{0}'","Aucune d\xE9claration","Acc\xE9der \xE0 la d\xE9claration","Atteindre la &&d\xE9claration","Aucune d\xE9claration pour '{0}'","Aucune d\xE9claration","Aper\xE7u de la d\xE9claration","D\xE9finitions de type","D\xE9finition de type introuvable pour '{0}'","D\xE9finition de type introuvable","Atteindre la d\xE9finition du type","Acc\xE9der \xE0 la d\xE9finition de &&type","Aper\xE7u de la d\xE9finition du type","Impl\xE9mentations","Impl\xE9mentation introuvable pour '{0}'","Impl\xE9mentation introuvable","Atteindre les impl\xE9mentations","Atteindre les &&impl\xE9mentations","Aper\xE7u des impl\xE9mentations","Aucune r\xE9f\xE9rence pour '{0}'","Aucune r\xE9f\xE9rence","Atteindre les r\xE9f\xE9rences","Atteindre les &&r\xE9f\xE9rences","R\xE9f\xE9rences","Aper\xE7u des r\xE9f\xE9rences","R\xE9f\xE9rences","Atteindre un symbole","Emplacements","Aucun r\xE9sultat pour \xAB\xA0{0}\xA0\xBB","R\xE9f\xE9rences"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["Cliquez pour afficher {0}\xA0d\xE9finitions."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["Indique si l'aper\xE7u des r\xE9f\xE9rences est visible, par exemple via 'Avoir un aper\xE7u des r\xE9f\xE9rences' ou 'Faire un peek de la d\xE9finition'","Chargement en cours...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} r\xE9f\xE9rences","{0} r\xE9f\xE9rence","R\xE9f\xE9rences"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["aper\xE7u non disponible","Aucun r\xE9sultat","R\xE9f\xE9rences"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["dans {0} \xE0 la ligne {1} \xE0 la colonne {2}","{0}dans {1} \xE0 la ligne {2} \xE0 la colonne {3}","1 symbole dans {0}, chemin complet {1}","{0} symboles dans {1}, chemin complet {2}","R\xE9sultats introuvables","1\xA0symbole dans {0}","{0}\xA0symboles dans {1}","{0}\xA0symboles dans {1} fichiers"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["Indique s'il existe des emplacements de symboles que vous pouvez parcourir \xE0 l'aide du clavier uniquement.","Symbole {0} sur {1}, {2} pour le suivant","Symbole {0} sur {1}"],"vs/editor/contrib/hover/browser/hover":["Afficher ou focus sur pointer","Afficher le pointeur de l'aper\xE7u de d\xE9finition","Faire d\xE9filer le pointage vers le haut","Faire d\xE9filer le pointage vers le bas","Faire d\xE9filer vers la gauche au pointage","Faire d\xE9filer le pointage vers la droite","Pointer vers le haut de la page","Pointer vers le bas de la page","Atteindre le pointage sup\xE9rieur","Pointer vers le bas"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["Chargement en cours...","Rendu suspendu pour une longue ligne pour des raisons de performances. Cela peut \xEAtre configur\xE9 via 'editor.stopRenderingLineAfter'.","La tokenisation des lignes longues est ignor\xE9e pour des raisons de performances. Cela peut \xEAtre configur\xE9e via 'editor.maxTokenizationLineLength'."],"vs/editor/contrib/hover/browser/markerHoverParticipant":["Voir le probl\xE8me","Aucune solution disponible dans l'imm\xE9diat","Recherche de correctifs rapides...","Aucune solution disponible dans l'imm\xE9diat","Correction rapide..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["Remplacer par la valeur pr\xE9c\xE9dente","Remplacer par la valeur suivante"],"vs/editor/contrib/indentation/browser/indentation":["Convertir les retraits en espaces","Convertir les retraits en tabulations","Taille des tabulations configur\xE9e","Taille d\u2019onglet par d\xE9faut","Taille actuelle de l\u2019onglet","S\xE9lectionner la taille des tabulations pour le fichier actuel","Mettre en retrait avec des tabulations","Mettre en retrait avec des espaces","Modifier la taille d\u2019affichage de l\u2019onglet","D\xE9tecter la mise en retrait \xE0 partir du contenu","Remettre en retrait les lignes","R\xE9indenter les lignes s\xE9lectionn\xE9es"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["Double-cliquer pour ins\xE9rer","cmd + clic","ctrl + clic","option + clic","alt + clic","Acc\xE9dez \xE0 D\xE9finition ({0}), cliquez avec le bouton droit pour en savoir plus.","Acc\xE9der \xE0 D\xE9finition ({0})","Ex\xE9cuter la commande"],"vs/editor/contrib/inlineCompletions/browser/commands":["Afficher la suggestion en ligne suivante","Afficher la suggestion en ligne pr\xE9c\xE9dente","D\xE9clencher la suggestion en ligne","Accepter le mot suivant de la suggestion inline","Accepter le mot","Accepter la ligne suivante d\u2019une suggestion en ligne","Accepter la ligne","Accepter la suggestion inline","Accepter","Masquer la suggestion inlined","Toujours afficher la barre d\u2019outils"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["Suggestion :"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["Indique si une suggestion en ligne est visible","Indique si la suggestion en ligne commence par un espace blanc","Indique si la suggestion incluse commence par un espace blanc inf\xE9rieur \xE0 ce qui serait ins\xE9r\xE9 par l\u2019onglet.","Indique si les suggestions doivent \xEAtre supprim\xE9es pour la suggestion actuelle"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["Inspecter ceci dans l\u2019affichage accessible ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["Ic\xF4ne d'affichage du prochain conseil de param\xE8tre.","Ic\xF4ne d'affichage du pr\xE9c\xE9dent conseil de param\xE8tre.","{0} ({1})","Pr\xE9c\xE9dent","Suivant"],"vs/editor/contrib/lineSelection/browser/lineSelection":["D\xE9velopper la s\xE9lection de ligne"],"vs/editor/contrib/linesOperations/browser/linesOperations":["Copier la ligne en haut","&&Copier la ligne en haut","Copier la ligne en bas","Co&&pier la ligne en bas","Dupliquer la s\xE9lection","&&Dupliquer la s\xE9lection","D\xE9placer la ligne vers le haut","D\xE9placer la ligne &&vers le haut","D\xE9placer la ligne vers le bas","D\xE9placer la &&ligne vers le bas","Trier les lignes dans l'ordre croissant","Trier les lignes dans l'ordre d\xE9croissant","Supprimer les lignes dupliqu\xE9es","D\xE9couper l'espace blanc de fin","Supprimer la ligne","Mettre en retrait la ligne","Ajouter un retrait n\xE9gatif \xE0 la ligne","Ins\xE9rer une ligne au-dessus","Ins\xE9rer une ligne sous","Supprimer tout ce qui est \xE0 gauche","Supprimer tout ce qui est \xE0 droite","Joindre les lignes","Transposer des caract\xE8res autour du curseur","Transformer en majuscule","Transformer en minuscule",'Appliquer la casse "1re lettre des mots en majuscule"',"Transformer en snake case","Transformer en casse mixte","Transformer en kebab case"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["D\xE9marrer la modification li\xE9e","Couleur d'arri\xE8re-plan quand l'\xE9diteur renomme automatiquement le type."],"vs/editor/contrib/links/browser/links":["\xC9chec de l'ouverture de ce lien, car il n'est pas bien form\xE9\xA0: {0}","\xC9chec de l'ouverture de ce lien, car sa cible est manquante.","Ex\xE9cuter la commande","suivre le lien","cmd + clic","ctrl + clic","option + clic","alt + clic","Ex\xE9cuter la commande {0}","Ouvrir le lien"],"vs/editor/contrib/message/browser/messageController":["Indique si l'\xE9diteur affiche un message inline"],"vs/editor/contrib/multicursor/browser/multicursor":["Curseur ajout\xE9\xA0: {0}","Curseurs ajout\xE9s\xA0: {0}","Ajouter un curseur au-dessus","&&Ajouter un curseur au-dessus","Ajouter un curseur en dessous","Aj&&outer un curseur en dessous","Ajouter des curseurs \xE0 la fin des lignes","Ajouter des c&&urseurs \xE0 la fin des lignes","Ajouter des curseurs en bas","Ajouter des curseurs en haut","Ajouter la s\xE9lection \xE0 la correspondance de recherche suivante","Ajouter l'occurrence suiva&&nte","Ajouter la s\xE9lection \xE0 la correspondance de recherche pr\xE9c\xE9dente","Ajouter l'occurrence p&&r\xE9c\xE9dente","D\xE9placer la derni\xE8re s\xE9lection vers la correspondance de recherche suivante","D\xE9placer la derni\xE8re s\xE9lection \xE0 la correspondance de recherche pr\xE9c\xE9dente","S\xE9lectionner toutes les occurrences des correspondances de la recherche","S\xE9lectionner toutes les &&occurrences","Modifier toutes les occurrences","Focus sur le curseur suivant","Concentre le curseur suivant","Focus sur le curseur pr\xE9c\xE9dent","Concentre le curseur pr\xE9c\xE9dent"],"vs/editor/contrib/parameterHints/browser/parameterHints":["Indicateurs des param\xE8tres Trigger"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["Ic\xF4ne d'affichage du prochain conseil de param\xE8tre.","Ic\xF4ne d'affichage du pr\xE9c\xE9dent conseil de param\xE8tre.","{0}, conseil","Couleur de premier plan de l\u2019\xE9l\xE9ment actif dans l\u2019indicateur de param\xE8tre."],"vs/editor/contrib/peekView/browser/peekView":["Indique si l'\xE9diteur de code actuel est int\xE9gr\xE9 \xE0 l'aper\xE7u","Fermer","Couleur d'arri\xE8re-plan de la zone de titre de l'affichage d'aper\xE7u.","Couleur du titre de l'affichage d'aper\xE7u.","Couleur des informations sur le titre de l'affichage d'aper\xE7u.","Couleur des bordures et de la fl\xE8che de l'affichage d'aper\xE7u.","Couleur d'arri\xE8re-plan de la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur de premier plan des noeuds de lignes dans la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur de premier plan des noeuds de fichiers dans la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur d'arri\xE8re-plan de l'entr\xE9e s\xE9lectionn\xE9e dans la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur de premier plan de l'entr\xE9e s\xE9lectionn\xE9e dans la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur d'arri\xE8re-plan de l'\xE9diteur d'affichage d'aper\xE7u.","Couleur d'arri\xE8re-plan de la bordure de l'\xE9diteur d'affichage d'aper\xE7u.","Couleur d\u2019arri\xE8re-plan du d\xE9filement r\xE9manent dans l\u2019\xE9diteur d\u2019affichage d\u2019aper\xE7u.","Couleur de mise en surbrillance d'une correspondance dans la liste des r\xE9sultats de l'affichage d'aper\xE7u.","Couleur de mise en surbrillance d'une correspondance dans l'\xE9diteur de l'affichage d'aper\xE7u.","Bordure de mise en surbrillance d'une correspondance dans l'\xE9diteur de l'affichage d'aper\xE7u."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["Ouvrez d'abord un \xE9diteur de texte pour acc\xE9der \xE0 une ligne.","Atteindre la ligne {0} et le caract\xE8re {1}.","Acc\xE9dez \xE0 la ligne {0}.","Ligne actuelle\xA0: {0}, caract\xE8re\xA0: {1}. Tapez un num\xE9ro de ligne entre\xA01 et\xA0{2} auquel acc\xE9der.","Ligne actuelle\xA0: {0}, caract\xE8re\xA0: {1}. Tapez un num\xE9ro de ligne auquel acc\xE9der."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["Pour acc\xE9der \xE0 un symbole, ouvrez d'abord un \xE9diteur de texte avec des informations de symbole.","L'\xE9diteur de texte actif ne fournit pas les informations de symbole.","Aucun symbole d'\xE9diteur correspondant","Aucun symbole d'\xE9diteur","Ouvrir sur le c\xF4t\xE9","Ouvrir en bas","symboles ({0})","propri\xE9t\xE9s ({0})","m\xE9thodes ({0})","fonctions ({0})","constructeurs ({0})","variables ({0})","classes ({0})","structs ({0})","\xE9v\xE9nements ({0})","op\xE9rateurs ({0})","interfaces ({0})","espaces de noms ({0})","packages ({0})","param\xE8tres de type ({0})","modules ({0})","propri\xE9t\xE9s ({0})","\xE9num\xE9rations ({0})","membres d'\xE9num\xE9ration ({0})","cha\xEEnes ({0})","fichiers ({0})","tableaux ({0})","nombres ({0})","bool\xE9ens ({0})","objets ({0})","cl\xE9s ({0})","champs ({0})","constantes ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["Impossible de modifier dans l\u2019entr\xE9e en lecture seule","Impossible de modifier dans l\u2019\xE9diteur en lecture seule"],"vs/editor/contrib/rename/browser/rename":["Aucun r\xE9sultat.","Une erreur inconnue s'est produite lors de la r\xE9solution de l'emplacement de renommage","Renommage de '{0}' en '{1}'","Changement du nom de {0} en {1}","'{0}' renomm\xE9 en '{1}'. R\xE9capitulatif : {2}","Le renommage n'a pas pu appliquer les modifications","Le renommage n'a pas pu calculer les modifications","Renommer le symbole","Activer/d\xE9sactiver la possibilit\xE9 d'afficher un aper\xE7u des changements avant le renommage"],"vs/editor/contrib/rename/browser/renameInputField":["Indique si le widget de renommage d'entr\xE9e est visible","Renommez l'entr\xE9e. Tapez le nouveau nom et appuyez sur Entr\xE9e pour valider.","{0} pour renommer, {1} pour afficher un aper\xE7u"],"vs/editor/contrib/smartSelect/browser/smartSelect":["\xC9tendre la s\xE9lection","D\xE9v&&elopper la s\xE9lection","R\xE9duire la s\xE9lection","&&R\xE9duire la s\xE9lection"],"vs/editor/contrib/snippet/browser/snippetController2":["Indique si l'\xE9diteur est actualis\xE9 en mode extrait","Indique s'il existe un taquet de tabulation suivant en mode extrait","Indique s'il existe un taquet de tabulation pr\xE9c\xE9dent en mode extrait","Acc\xE9der \xE0 l\u2019espace r\xE9serv\xE9 suivant..."],"vs/editor/contrib/snippet/browser/snippetVariables":["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Janvier","F\xE9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xFBt","Septembre","Octobre","Novembre","D\xE9cembre","Jan","F\xE9v","Mar","Avr","Mai","Juin","Jul","Ao\xFB","Sept","Oct","Nov","D\xE9c"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["Activer/d\xE9sactiver le d\xE9filement \xE9pingl\xE9","&&Activer/d\xE9sactiver le d\xE9filement \xE9pingl\xE9","D\xE9filement \xE9pingl\xE9","&&D\xE9filement \xE9pingl\xE9","Focus sur le d\xE9filement du pense-b\xEAte","&&Focus sur le d\xE9filement du pense-b\xEAte","S\xE9lectionner la ligne de d\xE9filement du pense-b\xEAte suivante","S\xE9lectionner la ligne de d\xE9filement du pense-b\xEAte pr\xE9c\xE9dente","Atteindre la ligne de d\xE9filement pense-b\xEAte prioritaire","S\xE9lectionner l'\xE9diteur"],"vs/editor/contrib/suggest/browser/suggest":["Indique si une suggestion a le focus","Indique si les d\xE9tails des suggestions sont visibles","Indique s'il existe plusieurs suggestions au choix","Indique si l'insertion de la suggestion actuelle entra\xEEne un changement ou si tout a d\xE9j\xE0 \xE9t\xE9 tap\xE9","Indique si les suggestions sont ins\xE9r\xE9es quand vous appuyez sur Entr\xE9e","Indique si la suggestion actuelle a un comportement d'insertion et de remplacement","Indique si le comportement par d\xE9faut consiste \xE0 ins\xE9rer ou \xE0 remplacer","Indique si la suggestion actuelle prend en charge la r\xE9solution des d\xE9tails suppl\xE9mentaires"],"vs/editor/contrib/suggest/browser/suggestController":["L'acceptation de '{0}' a entra\xEEn\xE9 {1}\xA0modifications suppl\xE9mentaires","Suggestions pour Trigger","Ins\xE9rer","Ins\xE9rer","Remplacer","Remplacer","Ins\xE9rer","afficher moins","afficher plus","R\xE9initialiser la taille du widget de suggestion"],"vs/editor/contrib/suggest/browser/suggestWidget":["Couleur d'arri\xE8re-plan du widget de suggestion.","Couleur de bordure du widget de suggestion.","Couleur de premier plan du widget de suggestion.","Couleur de premier plan de l\u2019entr\xE9e s\xE9lectionn\xE9e dans le widget de suggestion.","Couleur de premier plan de l\u2019ic\xF4ne de l\u2019entr\xE9e s\xE9lectionn\xE9e dans le widget de suggestion.","Couleur d'arri\xE8re-plan de l'entr\xE9e s\xE9lectionn\xE9e dans le widget de suggestion.","Couleur de la surbrillance des correspondances dans le widget de suggestion.","Couleur des mises en surbrillance dans le widget de suggestion lorsqu\u2019un \xE9l\xE9ment a le focus.","Couleur de premier plan du statut du widget de suggestion.","Chargement en cours...","Pas de suggestions.","Sugg\xE9rer","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, documents\xA0: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["Fermer","Chargement en cours..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["Ic\xF4ne d'affichage d'informations suppl\xE9mentaires dans le widget de suggestion.","Lire la suite"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["Couleur de premier plan des symboles de tableau. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles bool\xE9ens. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de classe. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de couleur. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan pour les symboles de constante. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de constructeur. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'\xE9num\xE9rateur. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de membre d'\xE9num\xE9rateur. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'\xE9v\xE9nement. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de champ. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de fichier. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de dossier. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de fonction. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'interface. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de cl\xE9. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de mot cl\xE9. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de m\xE9thode. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de module. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'espace de noms. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles null. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de nombre. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'objet. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'op\xE9rateur. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de package. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de propri\xE9t\xE9. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de r\xE9f\xE9rence. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'extrait de code. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de cha\xEEne. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de struct. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de texte. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de param\xE8tre de type. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles d'unit\xE9. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion.","Couleur de premier plan des symboles de variable. Ces symboles apparaissent dans le plan, la barre de navigation et le widget de suggestion."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["Activer/d\xE9sactiver l'utilisation de la touche Tab pour d\xE9placer le focus","Appuyer sur Tab d\xE9placera le focus vers le prochain \xE9l\xE9ment pouvant \xEAtre d\xE9sign\xE9 comme \xE9l\xE9ment actif","Appuyer sur Tab ins\xE9rera le caract\xE8re de tabulation"],"vs/editor/contrib/tokenization/browser/tokenization":["D\xE9veloppeur\xA0: forcer la retokenisation"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["Ic\xF4ne affich\xE9e avec un message d'avertissement dans l'\xE9diteur d'extensions.","Ce document contient de nombreux caract\xE8res Unicode ASCII non basiques.","Ce document contient de nombreux caract\xE8res Unicode ambigus.","Ce document contient de nombreux caract\xE8res Unicode invisibles.","Le caract\xE8re {0} peut \xEAtre confondu avec le caract\xE8re ASCII {1}, qui est plus courant dans le code source.","Le caract\xE8re {0} peut \xEAtre confus avec le caract\xE8re {1}, ce qui est plus courant dans le code source.","Le caract\xE8re {0} est invisible.","Le caract\xE8re {0} n\u2019est pas un caract\xE8re ASCII de base.","Ajuster les param\xE8tres","D\xE9sactiver la mise en surbrillance dans les commentaires","D\xE9sactiver la mise en surbrillance des caract\xE8res dans les commentaires","D\xE9sactiver la mise en surbrillance dans les cha\xEEnes","D\xE9sactiver la mise en surbrillance des caract\xE8res dans les cha\xEEnes","D\xE9sactiver la mise en surbrillance ambigu\xEB","D\xE9sactiver la mise en surbrillance des caract\xE8res ambigus","D\xE9sactiver le surlignage invisible","D\xE9sactiver la mise en surbrillance des caract\xE8res invisibles","D\xE9sactiver la mise en surbrillance non ASCII","D\xE9sactiver la mise en surbrillance des caract\xE8res ASCII non de base","Afficher les options d\u2019exclusion","Exclure la mise en surbrillance des {0} (caract\xE8re invisible)","Exclure {0} de la mise en surbrillance",'Autoriser les caract\xE8res Unicode plus courants dans le langage "{0}"',"Configurer les options de surlignage Unicode"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["Marques de fin de ligne inhabituelles","Marques de fin de ligne inhabituelles d\xE9tect\xE9es","Le fichier \xAB\xA0{0}\xA0\xBBcontient un ou plusieurs caract\xE8res de fin de ligne inhabituels, par exemple le s\xE9parateur de ligne (LS) ou le s\xE9parateur de paragraphe (PS).\r\n\r\nIl est recommand\xE9 de les supprimer du fichier. Vous pouvez configurer ce comportement par le biais de `editor.unusualLineTerminators`.","&&Supprimer les marques de fin de ligne inhabituelles","Ignorer"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["Couleur d'arri\xE8re-plan d'un symbole pendant l'acc\xE8s en lecture, comme la lecture d'une variable. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan d'un symbole pendant l'acc\xE8s en \xE9criture, comme l'\xE9criture d'une variable. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d\u2019arri\xE8re-plan d\u2019une occurrence textuelle d\u2019un symbole. La couleur ne doit pas \xEAtre opaque afin de ne pas masquer les d\xE9corations sous-jacentes.","Couleur de bordure d'un symbole durant l'acc\xE8s en lecture, par exemple la lecture d'une variable.","Couleur de bordure d'un symbole durant l'acc\xE8s en \xE9criture, par exemple l'\xE9criture dans une variable.","Couleur de bordure d\u2019une occurrence textuelle pour un symbole.","Couleur de marqueur de la r\xE8gle d'aper\xE7u pour la mise en surbrillance des symboles. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de marqueur de la r\xE8gle d'aper\xE7u pour la mise en surbrillance des symboles d'acc\xE8s en \xE9criture. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de marqueur de r\xE8gle d\u2019aper\xE7u d\u2019une occurrence textuelle pour un symbole. La couleur ne doit pas \xEAtre opaque afin de ne pas masquer les d\xE9corations sous-jacentes."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["Aller \xE0 la prochaine mise en \xE9vidence de symbole","Aller \xE0 la mise en \xE9vidence de symbole pr\xE9c\xE9dente","D\xE9clencher la mise en \xE9vidence de symbole"],"vs/editor/contrib/wordOperations/browser/wordOperations":["Supprimer le mot"],"vs/platform/action/common/actionCommonCategories":["Afficher","Aide","Test","fichier","Pr\xE9f\xE9rences","D\xE9veloppeur"],"vs/platform/actionWidget/browser/actionList":["{0} \xE0 appliquer, {1} \xE0 afficher un aper\xE7u","{0} pour appliquer","{0}, raison d\xE9sactiv\xE9e : {1}","Widget d\u2019action"],"vs/platform/actionWidget/browser/actionWidget":["Couleur d'arri\xE8re-plan des \xE9l\xE9ments d'action activ\xE9s dans la barre d'action.","Indique si la liste des widgets d\u2019action est visible","Masquer le widget d\u2019action","S\xE9lectionner l\u2019action pr\xE9c\xE9dente","S\xE9lectionner l\u2019action suivante","Accepter l\u2019action s\xE9lectionn\xE9e","Aper\xE7u de l\u2019action s\xE9lectionn\xE9e"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["Masquer","R\xE9initialiser le menu"],"vs/platform/actions/common/menuService":["Masquer \xAB{0}\xBB"],"vs/platform/audioCues/browser/audioCueService":["Erreur sur la ligne","Avertissement sur la ligne","Zone pli\xE9e sur la ligne","Point d\u2019arr\xEAt sur ligne","Suggestion inline sur la ligne","Correctif rapide de terminal","D\xE9bogueur arr\xEAt\xE9 sur le point d\u2019arr\xEAt","Aucun indicateur d\u2019inlay sur la ligne","T\xE2che termin\xE9e","\xC9chec de la t\xE2che","\xC9chec de la commande de terminal","Cloche de terminal","Cellule de bloc-notes termin\xE9e","\xC9chec de la cellule de bloc-notes","Ligne de diffusion ins\xE9r\xE9e","Ligne de diffusion supprim\xE9e","Ligne diff modifi\xE9e","Demande de conversation envoy\xE9e","R\xE9ponse de conversation re\xE7ue","R\xE9ponse de conversation en attente"],"vs/platform/configuration/common/configurationRegistry":["Substitutions de configuration du langage par d\xE9faut","Configurez les param\xE8tres \xE0 remplacer pour le langage {0}.","Configurez les param\xE8tres d'\xE9diteur \xE0 remplacer pour un langage.","Ce param\xE8tre ne prend pas en charge la configuration par langage.","Configurez les param\xE8tres d'\xE9diteur \xE0 remplacer pour un langage.","Ce param\xE8tre ne prend pas en charge la configuration par langage.","Impossible d'inscrire une propri\xE9t\xE9 vide","Impossible d'inscrire '{0}'. Ceci correspond au mod\xE8le de propri\xE9t\xE9 '\\\\[.*\\\\]$' permettant de d\xE9crire les param\xE8tres d'\xE9diteur sp\xE9cifiques \xE0 un langage. Utilisez la contribution 'configurationDefaults'.","Impossible d'inscrire '{0}'. Cette propri\xE9t\xE9 est d\xE9j\xE0 inscrite.","Impossible d\u2019inscrire '{0}'. Le {1} de strat\xE9gie associ\xE9 est d\xE9j\xE0 inscrit aupr\xE8s de {2}."],"vs/platform/contextkey/browser/contextKeyService":["Commande qui retourne des informations sur les cl\xE9s de contexte"],"vs/platform/contextkey/common/contextkey":["Expression de cl\xE9 de contexte vide","Avez-vous oubli\xE9 d\u2019\xE9crire une expression ? Vous pouvez \xE9galement placer 'false' ou 'true' pour toujours donner la valeur false ou true, respectivement.","'in' apr\xE8s 'not'.","parenth\xE8se fermante ')'","Jeton inattendu","Avez-vous oubli\xE9 de placer && ou || avant le jeton ?","Fin d\u2019expression inattendue","Avez-vous oubli\xE9 de placer une cl\xE9 de contexte ?",`Attendu : {0}\r +Re\xE7u : '{1}'.`],"vs/platform/contextkey/common/contextkeys":["Indique si le syst\xE8me d'exploitation est macOS","Indique si le syst\xE8me d'exploitation est Linux","Indique si le syst\xE8me d'exploitation est Windows","Indique si la plateforme est un navigateur web","Indique si le syst\xE8me d'exploitation est macOS sur une plateforme qui n'est pas un navigateur","Indique si le syst\xE8me d\u2019exploitation est Linux","Indique si la plateforme est un navigateur web mobile","Type de qualit\xE9 de VS Code","Indique si le focus clavier se trouve dans une zone d'entr\xE9e"],"vs/platform/contextkey/common/scanner":["Voulez-vous dire {0}?","Voulez-vous dire {0} ou {1}?","Voulez-vous dire {0}, {1} ou {2}?","Avez-vous oubli\xE9 d\u2019ouvrir ou de fermer le devis ?","Avez-vous oubli\xE9 d\u2019\xE9chapper le caract\xE8re \xAB / \xBB (barre oblique) ? Placez deux barre obliques inverses avant d\u2019y \xE9chapper, par ex., \xAB \\\\/ \xBB."],"vs/platform/history/browser/contextScopedHistoryWidget":["Indique si les suggestions sont visibles"],"vs/platform/keybinding/common/abstractKeybindingService":["Touche ({0}) utilis\xE9e. En attente d'une seconde touche...","({0}) a \xE9t\xE9 enfonc\xE9. En attente de la touche suivante de la pression...","La combinaison de touches ({0}, {1}) n\u2019est pas une commande.","La combinaison de touches ({0}, {1}) n\u2019est pas une commande."],"vs/platform/list/browser/listService":["Banc d'essai","Mappe vers 'Contr\xF4le' dans Windows et Linux, et vers 'Commande' dans macOS.","Mappe vers 'Alt' dans Windows et Linux, et vers 'Option' dans macOS.","Le modificateur \xE0 utiliser pour ajouter un \xE9l\xE9ment dans les arbres et listes pour une s\xE9lection multiple avec la souris (par exemple dans l\u2019Explorateur, les \xE9diteurs ouverts et la vue scm). Les mouvements de la souris 'Ouvrir \xE0 c\xF4t\xE9' (si pris en charge) s'adapteront tels qu\u2019ils n'entrent pas en conflit avec le modificateur multiselect.","Contr\xF4le l'ouverture des \xE9l\xE9ments dans les arborescences et les listes \xE0 l'aide de la souris (si cela est pris en charge). Notez que certaines arborescences et listes peuvent choisir d'ignorer ce param\xE8tre, s'il est non applicable.","Contr\xF4le si les listes et les arborescences prennent en charge le d\xE9filement horizontal dans le banc d'essai. Avertissement : L'activation de ce param\xE8tre a un impact sur les performances.","Contr\xF4le si les clics dans la barre de d\xE9filement page par page.","Contr\xF4le la mise en retrait de l'arborescence, en pixels.","Contr\xF4le si l'arborescence doit afficher les rep\xE8res de mise en retrait.","D\xE9termine si les listes et les arborescences ont un d\xE9filement fluide.","Un multiplicateur \xE0 utiliser sur les `deltaX` et `deltaY` des \xE9v\xE9nements de d\xE9filement de roulette de souris.","Multiplicateur de vitesse de d\xE9filement quand vous appuyez sur 'Alt'.","Mettez en surbrillance les \xE9l\xE9ments lors de la recherche. La navigation vers le haut et le bas traverse uniquement les \xE9l\xE9ments en surbrillance.","Filtrez des \xE9l\xE9ments lors de la recherche.","Contr\xF4le le mode de recherche par d\xE9faut pour les listes et les arborescences dans Workbench.","La navigation au clavier Simple place le focus sur les \xE9l\xE9ments qui correspondent \xE0 l'entr\xE9e de clavier. La mise en correspondance est effectu\xE9e sur les pr\xE9fixes uniquement.","La navigation de mise en surbrillance au clavier met en surbrillance les \xE9l\xE9ments qui correspondent \xE0 l'entr\xE9e de clavier. La navigation ult\xE9rieure vers le haut ou vers le bas parcourt uniquement les \xE9l\xE9ments mis en surbrillance.","La navigation au clavier Filtrer filtre et masque tous les \xE9l\xE9ments qui ne correspondent pas \xE0 l'entr\xE9e de clavier.","Contr\xF4le le style de navigation au clavier pour les listes et les arborescences dans le banc d'essai. Les options sont Simple, Mise en surbrillance et Filtrer.","Utilisez 'workbench.list.defaultFindMode' et 'workbench.list.typeNavigationMode' \xE0 la place.","Utilisez la correspondance approximative lors de la recherche.","Utilisez des correspondances contigu\xEBs lors de la recherche.","Contr\xF4le le type de correspondance utilis\xE9 lors de la recherche de listes et d\u2019arborescences dans le banc d\u2019essai.","Contr\xF4le la fa\xE7on dont les dossiers de l'arborescence sont d\xE9velopp\xE9s quand vous cliquez sur les noms de dossiers. Notez que certaines arborescences et listes peuvent choisir d'ignorer ce param\xE8tre, s'il est non applicable.","Contr\xF4le le fonctionnement de la navigation de type dans les listes et les arborescences du banc d'essai. Quand la valeur est 'trigger', la navigation de type commence une fois que la commande 'list.triggerTypeNavigation' est ex\xE9cut\xE9e."],"vs/platform/markers/common/markers":["Erreur","Avertissement","Info"],"vs/platform/quickinput/browser/commandsQuickAccess":["r\xE9cemment utilis\xE9es","commandes similaires","utilis\xE9s le plus souvent","autres commandes","commandes similaires","{0}, {1}","La commande \xAB\xA0{0}\xA0\xBB a entra\xEEn\xE9 une erreur"],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["Pr\xE9c\xE9dent","Appuyez sur 'Entr\xE9e' pour confirmer votre saisie, ou sur '\xC9chap' pour l'annuler","{0}/{1}","Taper pour affiner les r\xE9sultats."],"vs/platform/quickinput/browser/quickInputController":["Activer/d\xE9sactiver toutes les cases \xE0 cocher","{0}\xA0r\xE9sultats","{0} S\xE9lectionn\xE9s","OK","Personnalis\xE9","Pr\xE9c\xE9dent ({0})","Retour"],"vs/platform/quickinput/browser/quickInputList":["Entr\xE9e rapide"],"vs/platform/quickinput/browser/quickInputUtils":["Cliquer pour ex\xE9cuter la commande '{0}'"],"vs/platform/theme/common/colorRegistry":["Couleur de premier plan globale. Cette couleur est utilis\xE9e si elle n'est pas remplac\xE9e par un composant.","Premier plan globale pour les \xE9l\xE9ments d\xE9sactiv\xE9s. Cette couleur est utilis\xE9e si elle n'est pas remplac\xE9e par un composant.","Couleur principale de premier plan pour les messages d'erreur. Cette couleur est utilis\xE9e uniquement si elle n'est pas red\xE9finie par un composant.","Couleur de premier plan du texte descriptif fournissant des informations suppl\xE9mentaires, par exemple pour un label.","Couleur par d\xE9faut des ic\xF4nes du banc d'essai.","Couleur de bordure globale des \xE9l\xE9ments ayant le focus. Cette couleur est utilis\xE9e si elle n'est pas remplac\xE9e par un composant.","Bordure suppl\xE9mentaire autour des \xE9l\xE9ments pour les s\xE9parer des autres et obtenir un meilleur contraste.","Bordure suppl\xE9mentaire autour des \xE9l\xE9ments actifs pour les s\xE9parer des autres et obtenir un meilleur contraste.","La couleur d'arri\xE8re-plan des s\xE9lections de texte dans le banc d'essai (par ex., pour les champs d'entr\xE9e ou les zones de texte). Notez que cette couleur ne s'applique pas aux s\xE9lections dans l'\xE9diteur et le terminal.","Couleur pour les s\xE9parateurs de texte.","Couleur des liens dans le texte.","Couleur de premier plan pour les liens dans le texte lorsqu'ils sont cliqu\xE9s ou survol\xE9s.","Couleur des segments de texte pr\xE9format\xE9s.","Couleur d'arri\xE8re-plan des citations dans le texte.","Couleur de bordure des citations dans le texte.","Couleur d'arri\xE8re-plan des blocs de code dans le texte.","Couleur de l'ombre des widgets, comme rechercher/remplacer, au sein de l'\xE9diteur.","Couleur de bordure des widgets, comme rechercher/remplacer au sein de l'\xE9diteur.","Arri\xE8re-plan de la zone d'entr\xE9e.","Premier plan de la zone d'entr\xE9e.","Bordure de la zone d'entr\xE9e.","Couleur de la bordure des options activ\xE9es dans les champs d'entr\xE9e.","Couleur d'arri\xE8re-plan des options activ\xE9es dans les champs d'entr\xE9e.","Couleur de pointage d\u2019arri\xE8re-plan des options dans les champs d\u2019entr\xE9e.","Couleur de premier plan des options activ\xE9es dans les champs d'entr\xE9e.","Couleur de premier plan de la zone d'entr\xE9e pour le texte d'espace r\xE9serv\xE9.","Couleur d'arri\xE8re-plan de la validation d'entr\xE9e pour la gravit\xE9 des informations.","Couleur de premier plan de validation de saisie pour la s\xE9v\xE9rit\xE9 Information.","Couleur de bordure de la validation d'entr\xE9e pour la gravit\xE9 des informations.","Couleur d'arri\xE8re-plan de la validation d'entr\xE9e pour la gravit\xE9 de l'avertissement.","Couleur de premier plan de la validation de la saisie pour la s\xE9v\xE9rit\xE9 Avertissement.","Couleur de bordure de la validation d'entr\xE9e pour la gravit\xE9 de l'avertissement.","Couleur d'arri\xE8re-plan de la validation d'entr\xE9e pour la gravit\xE9 de l'erreur.","Couleur de premier plan de la validation de saisie pour la s\xE9v\xE9rit\xE9 Erreur.","Couleur de bordure de la validation d'entr\xE9e pour la gravit\xE9 de l'erreur. ","Arri\xE8re-plan de la liste d\xE9roulante.","Arri\xE8re-plan de la liste d\xE9roulante.","Premier plan de la liste d\xE9roulante.","Bordure de la liste d\xE9roulante.","Couleur de premier plan du bouton.","Couleur du s\xE9parateur de boutons.","Couleur d'arri\xE8re-plan du bouton.","Couleur d'arri\xE8re-plan du bouton pendant le pointage.","Couleur de bordure du bouton.","Couleur de premier plan du bouton secondaire.","Couleur d'arri\xE8re-plan du bouton secondaire.","Couleur d'arri\xE8re-plan du bouton secondaire au moment du pointage.","Couleur de fond des badges. Les badges sont de courts libell\xE9s d'information, ex. le nombre de r\xE9sultats de recherche.","Couleur des badges. Les badges sont de courts libell\xE9s d'information, ex. le nombre de r\xE9sultats de recherche.","Ombre de la barre de d\xE9filement pour indiquer que la vue d\xE9file.","Couleur de fond du curseur de la barre de d\xE9filement.","Couleur de fond du curseur de la barre de d\xE9filement lors du survol.","Couleur d\u2019arri\xE8re-plan de la barre de d\xE9filement lorsqu'on clique dessus.","Couleur de fond pour la barre de progression qui peut s'afficher lors d'op\xE9rations longues.","Couleur d'arri\xE8re-plan du texte d'erreur dans l'\xE9diteur. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les d\xE9corations sous-jacentes.","Couleur de premier plan de la ligne ondul\xE9e marquant les erreurs dans l'\xE9diteur.","Si cette option est d\xE9finie, couleur des doubles soulignements pour les erreurs dans l\u2019\xE9diteur.","Couleur d'arri\xE8re-plan du texte d'avertissement dans l'\xE9diteur. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les d\xE9corations sous-jacentes.","Couleur de premier plan de la ligne ondul\xE9e marquant les avertissements dans l'\xE9diteur.","Si cette option est d\xE9finie, couleur des doubles soulignements pour les avertissements dans l\u2019\xE9diteur.","Couleur d'arri\xE8re-plan du texte d'information dans l'\xE9diteur. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les d\xE9corations sous-jacentes.","Couleur de premier plan de la ligne ondul\xE9e marquant les informations dans l'\xE9diteur.","Si cette option est d\xE9finie, couleur des doubles soulignements pour les informations dans l\u2019\xE9diteur.","Couleur de premier plan de la ligne ondul\xE9e d'indication dans l'\xE9diteur.","Si cette option est d\xE9finie, couleur des doubles soulignements pour les conseils dans l\u2019\xE9diteur.","Couleur de bordure des fen\xEAtres coulissantes.","Couleur d'arri\xE8re-plan de l'\xE9diteur.","Couleur de premier plan par d\xE9faut de l'\xE9diteur.","Couleur d\u2019arri\xE8re-plan du d\xE9filement pense-b\xEAte pour l\u2019\xE9diteur","Faire d\xE9filer l\u2019\xE9cran sur la couleur d\u2019arri\xE8re-plan du pointage pour l\u2019\xE9diteur","Couleur d'arri\xE8re-plan des gadgets de l'\xE9diteur tels que rechercher/remplacer.","Couleur de premier plan des widgets de l'\xE9diteur, notamment Rechercher/remplacer.","Couleur de bordure des widgets de l'\xE9diteur. La couleur est utilis\xE9e uniquement si le widget choisit d'avoir une bordure et si la couleur n'est pas remplac\xE9e par un widget.","Couleur de bordure de la barre de redimensionnement des widgets de l'\xE9diteur. La couleur est utilis\xE9e uniquement si le widget choisit une bordure de redimensionnement et si la couleur n'est pas remplac\xE9e par un widget.","Couleur d'arri\xE8re-plan du s\xE9lecteur rapide. Le widget de s\xE9lecteur rapide est le conteneur de s\xE9lecteurs comme la palette de commandes.","Couleur de premier plan du s\xE9lecteur rapide. Le widget de s\xE9lecteur rapide est le conteneur de s\xE9lecteurs comme la palette de commandes.","Couleur d'arri\xE8re-plan du titre du s\xE9lecteur rapide. Le widget de s\xE9lecteur rapide est le conteneur de s\xE9lecteurs comme la palette de commandes.","Couleur du s\xE9lecteur rapide pour les \xE9tiquettes de regroupement.","Couleur du s\xE9lecteur rapide pour les bordures de regroupement.","Couleur d\u2019arri\xE8re-plan d\u2019\xE9tiquette de combinaison de touches. L\u2019\xE9tiquette est utilis\xE9e pour repr\xE9senter un raccourci clavier.","Couleur de premier plan d\u2019\xE9tiquette de combinaison de touches. L\u2019\xE9tiquette est utilis\xE9e pour repr\xE9senter un raccourci clavier.","Couleur de bordure de la combinaison de touches. L\u2019\xE9tiquette est utilis\xE9e pour repr\xE9senter un raccourci clavier.","Couleur de bordure du bas d\u2019\xE9tiquette de combinaison de touches. L\u2019\xE9tiquette est utilis\xE9e pour repr\xE9senter un raccourci clavier.","Couleur de la s\xE9lection de l'\xE9diteur.","Couleur du texte s\xE9lectionn\xE9 pour le contraste \xE9lev\xE9.","Couleur de la s\xE9lection dans un \xE9diteur inactif. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur des r\xE9gions dont le contenu est le m\xEAme que celui de la s\xE9lection. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de bordure des r\xE9gions dont le contenu est identique \xE0 la s\xE9lection.","Couleur du r\xE9sultat de recherche actif.","Couleur des autres correspondances de recherche. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de la plage limitant la recherche. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de bordure du r\xE9sultat de recherche actif.","Couleur de bordure des autres r\xE9sultats de recherche.","Couleur de bordure de la plage limitant la recherche. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur des correspondances de requ\xEAte de l'\xE9diteur de recherche.","Couleur de bordure des correspondances de requ\xEAte de l'\xE9diteur de recherche.","Couleur du texte dans le message d\u2019ach\xE8vement de la viewlet de recherche.","Surlignage sous le mot s\xE9lectionn\xE9 par pointage. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan du pointage de l'\xE9diteur.","Couleur de premier plan du pointage de l'\xE9diteur.","Couleur de bordure du pointage de l'\xE9diteur.","Couleur d'arri\xE8re-plan de la barre d'\xE9tat du pointage de l'\xE9diteur.","Couleur des liens actifs.","Couleur de premier plan des indicateurs inline","Couleur d'arri\xE8re-plan des indicateurs inline","Couleur de premier plan des indicateurs inline pour les types","Couleur d'arri\xE8re-plan des indicateurs inline pour les types","Couleur de premier plan des indicateurs inline pour les param\xE8tres","Couleur d'arri\xE8re-plan des indicateurs inline pour les param\xE8tres","Couleur utilis\xE9e pour l'ic\xF4ne d'ampoule sugg\xE9rant des actions.","Couleur utilis\xE9e pour l'ic\xF4ne d'ampoule sugg\xE9rant des actions de correction automatique.","Couleur d'arri\xE8re-plan du texte ins\xE9r\xE9. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan du texte supprim\xE9. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan des lignes ins\xE9r\xE9es. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d'arri\xE8re-plan des lignes supprim\xE9es. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur d\u2019arri\xE8re-plan de la marge o\xF9 les lignes ont \xE9t\xE9 ins\xE9r\xE9es","Couleur d\u2019arri\xE8re-plan de la marge o\xF9 les lignes ont \xE9t\xE9 supprim\xE9es","Premier plan de la r\xE8gle de vue d\u2019ensemble des diff\xE9rences pour le contenu ins\xE9r\xE9","Premier plan de la r\xE8gle de vue d\u2019ensemble des diff\xE9rences pour le contenu supprim\xE9","Couleur de contour du texte ins\xE9r\xE9.","Couleur de contour du texte supprim\xE9.","Couleur de bordure entre les deux \xE9diteurs de texte.","Couleur du remplissage diagonal de l'\xE9diteur de diff\xE9rences. Le remplissage diagonal est utilis\xE9 dans les vues de diff\xE9rences c\xF4te \xE0 c\xF4te.","Couleur d\u2019arri\xE8re-plan des blocs inchang\xE9s dans l\u2019\xE9diteur de diff\xE9rences.","Couleur de premier plan des blocs inchang\xE9s dans l\u2019\xE9diteur de diff\xE9rences.","Couleur d\u2019arri\xE8re-plan du code inchang\xE9 dans l\u2019\xE9diteur de diff\xE9rences.","Couleur d'arri\xE8re-plan de la liste/l'arborescence pour l'\xE9l\xE9ment ayant le focus quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de premier plan de la liste/l'arborescence pour l'\xE9l\xE9ment ayant le focus quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de contour de la liste/l'arborescence pour l'\xE9l\xE9ment ayant le focus quand la liste/l'arborescence est active. Une liste/arborescence active a le focus clavier, contrairement \xE0 une liste/arborescence inactive.","Couleur de contour de liste/arborescence pour l\u2019\xE9l\xE9ment cibl\xE9 lorsque la liste/l\u2019arborescence est active et s\xE9lectionn\xE9e. Une liste/arborescence active dispose d\u2019un focus clavier, ce qui n\u2019est pas le cas d\u2019une arborescence inactive.","Couleur d'arri\xE8re-plan de la liste/l'arborescence de l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de premier plan de la liste/l'arborescence pour l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de premier plan de l\u2019ic\xF4ne Liste/l'arborescence pour l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur d'arri\xE8re-plan de la liste/l'arborescence pour l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est inactive. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de premier plan de la liste/l'arborescence pour l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est inactive. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur de premier plan de l\u2019ic\xF4ne Liste/l'arborescence pour l'\xE9l\xE9ment s\xE9lectionn\xE9 quand la liste/l'arborescence est inactive. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier, elle ne l'est pas quand elle est inactive.","Couleur d'arri\xE8re-plan de la liste/l'arborescence pour l'\xE9l\xE9ment ayant le focus quand la liste/l'arborescence est active. Une liste/arborescence active peut \xEAtre s\xE9lectionn\xE9e au clavier (elle ne l'est pas quand elle est inactive).","Couleur de contour de la liste/l'arborescence pour l'\xE9l\xE9ment ayant le focus quand la liste/l'arborescence est inactive. Une liste/arborescence active a le focus clavier, contrairement \xE0 une liste/arborescence inactive.","Arri\xE8re-plan de la liste/l'arborescence pendant le pointage sur des \xE9l\xE9ments avec la souris.","Premier plan de la liste/l'arborescence pendant le pointage sur des \xE9l\xE9ments avec la souris.","Arri\xE8re-plan de l'op\xE9ration de glisser-d\xE9placer dans une liste/arborescence pendant le d\xE9placement d'\xE9l\xE9ments avec la souris.","Couleur de premier plan dans la liste/l'arborescence pour la surbrillance des correspondances pendant la recherche dans une liste/arborescence.","Couleur de premier plan de la liste ou l\u2019arborescence pour la surbrillance des correspondances sur les \xE9l\xE9ments ayant le focus pendant la recherche dans une liste/arborescence.","Couleur de premier plan de liste/arbre pour les \xE9l\xE9ments non valides, par exemple une racine non r\xE9solue dans l\u2019Explorateur.","Couleur de premier plan des \xE9l\xE9ments de la liste contenant des erreurs.","Couleur de premier plan des \xE9l\xE9ments de liste contenant des avertissements.","Couleur d'arri\xE8re-plan du widget de filtre de type dans les listes et les arborescences.","Couleur de contour du widget de filtre de type dans les listes et les arborescences.","Couleur de contour du widget de filtre de type dans les listes et les arborescences, en l'absence de correspondance.","Appliquez une ombre \xE0 la couleur du widget filtre de type dans les listes et les arborescences.","Couleur d'arri\xE8re-plan de la correspondance filtr\xE9e.","Couleur de bordure de la correspondance filtr\xE9e.","Couleur de trait de l'arborescence pour les rep\xE8res de mise en retrait.","Couleur de trait d\u2019arborescence pour les rep\xE8res de mise en retrait qui ne sont pas actifs.","Couleur de la bordure du tableau entre les colonnes.","Couleur d'arri\xE8re-plan pour les lignes de tableau impaires.","Couleur de premier plan de la liste/l'arborescence des \xE9l\xE9ments att\xE9nu\xE9s.","Couleur de fond du widget Case \xE0 cocher.","Couleur d\u2019arri\xE8re-plan du widget de case \xE0 cocher lorsque l\u2019\xE9l\xE9ment dans lequel il se trouve est s\xE9lectionn\xE9.","Couleur de premier plan du widget Case \xE0 cocher.","Couleur de bordure du widget Case \xE0 cocher.","Couleur de bordure du widget de case \xE0 cocher lorsque l\u2019\xE9l\xE9ment dans lequel il se trouve est s\xE9lectionn\xE9.","Utilisez quickInputList.focusBackground \xE0 la place","Couleur de premier plan du s\xE9lecteur rapide pour l\u2019\xE9l\xE9ment ayant le focus.","Couleur de premier plan de l\u2019ic\xF4ne du s\xE9lecteur rapide pour l\u2019\xE9l\xE9ment ayant le focus.","Couleur d'arri\xE8re-plan du s\xE9lecteur rapide pour l'\xE9l\xE9ment ayant le focus.","Couleur de bordure des menus.","Couleur de premier plan des \xE9l\xE9ments de menu.","Couleur d'arri\xE8re-plan des \xE9l\xE9ments de menu.","Couleur de premier plan de l'\xE9l\xE9ment de menu s\xE9lectionn\xE9 dans les menus.","Couleur d'arri\xE8re-plan de l'\xE9l\xE9ment de menu s\xE9lectionn\xE9 dans les menus.","Couleur de bordure de l'\xE9l\xE9ment de menu s\xE9lectionn\xE9 dans les menus.","Couleur d'un \xE9l\xE9ment de menu s\xE9parateur dans les menus.","Arri\xE8re-plan de la barre d\u2019outils lors du survol des actions \xE0 l\u2019aide de la souris","Contour de la barre d\u2019outils lors du survol des actions \xE0 l\u2019aide de la souris","Arri\xE8re-plan de la barre d\u2019outils quand la souris est maintenue sur des actions","Couleur d\u2019arri\xE8re-plan de mise en surbrillance d\u2019un extrait tabstop.","Couleur de bordure de mise en surbrillance d\u2019un extrait tabstop.","Couleur d\u2019arri\xE8re-plan de mise en surbrillance du tabstop final d\u2019un extrait.","Mettez en surbrillance la couleur de bordure du dernier taquet de tabulation d'un extrait de code.","Couleur des \xE9l\xE9ments de navigation avec le focus.","Couleur de fond des \xE9l\xE9ments de navigation.","Couleur des \xE9l\xE9ments de navigation avec le focus.","Couleur des \xE9l\xE9ments de navigation s\xE9lectionn\xE9s.","Couleur de fond du s\xE9lecteur d\u2019\xE9l\xE9ment de navigation.","Arri\xE8re-plan d'en-t\xEAte actuel dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Arri\xE8re-plan de contenu actuel dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Arri\xE8re-plan d'en-t\xEAte entrant dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Arri\xE8re-plan de contenu entrant dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Arri\xE8re-plan d'en-t\xEAte de l'anc\xEAtre commun dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Arri\xE8re-plan de contenu de l'anc\xEAtre commun dans les conflits de fusion inline. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de bordure des en-t\xEAtes et du s\xE9parateur dans les conflits de fusion inline.","Premier plan de la r\xE8gle d'aper\xE7u actuelle pour les conflits de fusion inline.","Premier plan de la r\xE8gle d'aper\xE7u entrante pour les conflits de fusion inline.","Arri\xE8re-plan de la r\xE8gle d'aper\xE7u de l'anc\xEAtre commun dans les conflits de fusion inline.","Couleur de marqueur de la r\xE8gle d'aper\xE7u pour rechercher les correspondances. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de marqueur de la r\xE8gle d'aper\xE7u pour la mise en surbrillance des s\xE9lections. La couleur ne doit pas \xEAtre opaque pour ne pas masquer les ornements sous-jacents.","Couleur de marqueur de la minimap pour les correspondances.","Couleur de marqueur minimap pour les s\xE9lections r\xE9p\xE9t\xE9es de l\u2019\xE9diteur.","Couleur de marqueur du minimap pour la s\xE9lection de l'\xE9diteur.","Couleur de marqueur de minimap pour les informations.","Couleur de marqueur de minimap pour les avertissements.","Couleur de marqueur de minimap pour les erreurs.","Couleur d'arri\xE8re-plan du minimap.","Opacit\xE9 des \xE9l\xE9ments de premier plan rendus dans la minimap. Par exemple, \xAB #000000c0 \xBB affiche les \xE9l\xE9ments avec une opacit\xE9 de 75 %.","Couleur d'arri\xE8re-plan du curseur de minimap.","Couleur d'arri\xE8re-plan du curseur de minimap pendant le survol.","Couleur d'arri\xE8re-plan du curseur de minimap pendant un clic.","Couleur utilis\xE9e pour l'ic\xF4ne d'erreur des probl\xE8mes.","Couleur utilis\xE9e pour l'ic\xF4ne d'avertissement des probl\xE8mes.","Couleur utilis\xE9e pour l'ic\xF4ne d'informations des probl\xE8mes.","Couleur de premier plan utilis\xE9e dans les graphiques.","Couleur utilis\xE9e pour les lignes horizontales dans les graphiques.","Couleur rouge utilis\xE9e dans les visualisations de graphiques.","Couleur bleue utilis\xE9e dans les visualisations de graphiques.","Couleur jaune utilis\xE9e dans les visualisations de graphiques.","Couleur orange utilis\xE9e dans les visualisations de graphiques.","Couleur verte utilis\xE9e dans les visualisations de graphiques.","Couleur violette utilis\xE9e dans les visualisations de graphiques."],"vs/platform/theme/common/iconRegistry":["ID de la police \xE0 utiliser. Si aucune valeur n'est d\xE9finie, la police d\xE9finie en premier est utilis\xE9e.","Caract\xE8re de police associ\xE9 \xE0 la d\xE9finition d'ic\xF4ne.","Ic\xF4ne de l'action de fermeture dans les widgets.","Ic\xF4ne d'acc\xE8s \xE0 l'emplacement pr\xE9c\xE9dent de l'\xE9diteur.","Ic\xF4ne d'acc\xE8s \xE0 l'emplacement suivant de l'\xE9diteur."],"vs/platform/undoRedo/common/undoRedoService":["Les fichiers suivants ont \xE9t\xE9 ferm\xE9s et modifi\xE9s sur le disque\xA0: {0}.","Les fichiers suivants ont \xE9t\xE9 modifi\xE9s de mani\xE8re incompatible : {0}.","Impossible d'annuler '{0}' dans tous les fichiers. {1}","Impossible d'annuler '{0}' dans tous les fichiers. {1}","Impossible d'annuler '{0}' dans tous les fichiers, car des modifications ont \xE9t\xE9 apport\xE9es \xE0 {1}","Impossible d'annuler '{0}' dans tous les fichiers, car une op\xE9ration d'annulation ou de r\xE9tablissement est d\xE9j\xE0 en cours d'ex\xE9cution sur {1}","Impossible d'annuler '{0}' dans tous les fichiers, car une op\xE9ration d'annulation ou de r\xE9tablissement s'est produite dans l'intervalle","Souhaitez-vous annuler '{0}' dans tous les fichiers\xA0?","&&Annuler dans {0} fichiers","Annuler ce &&fichier","Impossible d'annuler '{0}', car une op\xE9ration d'annulation ou de r\xE9tablissement est d\xE9j\xE0 en cours d'ex\xE9cution.","Voulez-vous annuler '{0}'\xA0?","&&Oui","Non","Impossible de r\xE9p\xE9ter '{0}' dans tous les fichiers. {1}","Impossible de r\xE9p\xE9ter '{0}' dans tous les fichiers. {1}","Impossible de r\xE9p\xE9ter '{0}' dans tous les fichiers, car des modifications ont \xE9t\xE9 apport\xE9es \xE0 {1}","Impossible de r\xE9tablir '{0}' dans tous les fichiers, car une op\xE9ration d'annulation ou de r\xE9tablissement est d\xE9j\xE0 en cours d'ex\xE9cution pour {1}","Impossible de r\xE9tablir '{0}' dans tous les fichiers, car une op\xE9ration d'annulation ou de r\xE9tablissement s'est produite dans l'intervalle","Impossible de r\xE9tablir '{0}', car une op\xE9ration d'annulation ou de r\xE9tablissement est d\xE9j\xE0 en cours d'ex\xE9cution."],"vs/platform/workspace/common/workspace":["Espace de travail de code"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.fr.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.it.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.it.js new file mode 100644 index 0000000..59ff1c5 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.it.js @@ -0,0 +1,29 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.it",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["input"],"vs/base/browser/ui/findinput/findInputToggles":["Maiuscole/minuscole","Parola intera","Usa espressione regolare"],"vs/base/browser/ui/findinput/replaceInput":["input","Mantieni maiuscole/minuscole"],"vs/base/browser/ui/hover/hoverWidget":["Ispezionarlo nella visualizzazione accessibile con {0}.","Ispezionarlo nella visualizzazione accessibile tramite il comando Apri visualizzazione accessibile che attualmente non \xE8 attivabile tramite il tasto di scelta rapida."],"vs/base/browser/ui/iconLabel/iconLabelHover":["Caricamento..."],"vs/base/browser/ui/inputbox/inputBox":["Errore: {0}","Avviso: {0}","Info: {0}","per la cronologia","Input cancellato"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["Non associato"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Casella di selezione"],"vs/base/browser/ui/toolbar/toolbar":["Altre azioni..."],"vs/base/browser/ui/tree/abstractTree":["Filtro","Corrispondenza fuzzy","Digitare per filtrare","Digitare per la ricerca","Digitare per la ricerca","Chiudi","Non sono stati trovati elementi."],"vs/base/common/actions":["(vuoto)"],"vs/base/common/errorMessage":["{0}: {1}","Si \xE8 verificato un errore di sistema ({0})","Si \xE8 verificato un errore sconosciuto. Per altri dettagli, vedere il log.","Si \xE8 verificato un errore sconosciuto. Per altri dettagli, vedere il log.","{0} ({1} errori in totale)","Si \xE8 verificato un errore sconosciuto. Per altri dettagli, vedere il log."],"vs/base/common/keybindingLabels":["CTRL","MAIUSC","ALT","Windows","CTRL","MAIUSC","ALT","Super","CTRL","MAIUSC","Opzione","Comando","CTRL","MAIUSC","ALT","Windows","CTRL","MAIUSC","ALT","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["editor","L'editor non \xE8 accessibile in questo momento.","{0} Per abilitare la modalit\xE0 ottimizzata per l'utilit\xE0 per la lettura dello schermo usare {1}","{0} Per abilitare la modalit\xE0 ottimizzata per l'utilit\xE0 per la lettura dello schermo, aprire la selezione rapida con {1} ed eseguire il comando Attiva/Disattiva modalit\xE0 di accessibilit\xE0 dell'utilit\xE0 per la lettura dello schermo, attualmente non attivabile tramite tastiera.","{0} Assegnare un tasto di scelta rapida per il comando Attiva/Disattiva modalit\xE0 di accessibilit\xE0 dell'utilit\xE0 per la lettura dello schermo accedendo all'editor dei tasti di scelta rapida con {1} ed eseguirlo."],"vs/editor/browser/coreCommands":["Si attiene alla fine anche quando si passa a righe pi\xF9 lunghe","Si attiene alla fine anche quando si passa a righe pi\xF9 lunghe","Cursori secondari rimossi"],"vs/editor/browser/editorExtensions":["&&Annulla","Annulla azione","&&Ripeti","Ripeti","&&Seleziona tutto","Seleziona tutto"],"vs/editor/browser/widget/codeEditorWidget":["Il numero di cursori \xE8 stato limitato a {0}. Provare a usare [Trova e sostituisci](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) per modifiche di dimensioni maggiori o aumentare l'impostazione del limite di pi\xF9 cursori dell'editor.","Aumentare limite multi-cursore"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":['Icona per "Inserisci" nel visualizzatore differenze accessibile.','Icona per "Rimuovi" nel visualizzatore differenze accessibile.','Icona per "Chiudi" nel visualizzatore differenze accessibile.',"Chiudi","Visualizzatore differenze accessibile. Usare le frecce SU e GI\xD9 per spostarsi.","nessuna riga modificata","1 riga modificata","{0} righe modificate","Differenza {0} di {1}: riga originale {2}, {3}, riga modificata {4}, {5}","vuota","{0} riga non modificata {1}","{0} riga originale {1} riga modificata {2}","+ {0} riga modificata {1}","- {0} riga originale {1}"],"vs/editor/browser/widget/diffEditor/colors":["Colore del bordo per il testo spostato nell'editor diff.","Colore del bordo attivo per il testo spostato nell'editor diff."],"vs/editor/browser/widget/diffEditor/decorations":["Effetto di riga per gli inserimenti nell'editor diff.","Effetto di riga per le rimozioni nell'editor diff.","Fare clic per annullare la modifica"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["Attiva/Disattiva comprimi aree non modificate","Attiva/Disattiva mostra blocchi di codice spostati","Attiva/disattiva la visualizzazione inline quando lo spazio \xE8 limitato","Usa la visualizzazione inline quando lo spazio \xE8 limitato","Mostra blocchi di codice spostati","Editor diff","Interruttore laterale","Esci da Sposta confronto","Comprimi tutte le aree non modificate","Mostra tutte le aree non modificate","Visualizzatore differenze accessibile","Vai alla differenza successiva","Apri Visualizzatore differenze accessibile","Vai alla differenza precedente"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" utilizzare {0} per aprire la Guida all'accessibilit\xE0."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["Ridurre area non modificata","Fai clic o trascina per visualizzare altri elementi sopra","Mostra tutto","Fai clic o trascina per visualizzare altri elementi sotto","{0} righe nascoste","Fare doppio clic per espandere"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["Copia le righe eliminate","Copia la riga eliminata","Copia righe modificate","Copia riga modificata","Copia la riga eliminata ({0})","Copia riga modificata ({0})","Ripristina questa modifica"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["Codice spostato con modifiche alla riga {0}-{1}","Codice spostato con modifiche dalla riga {0}-{1}","Codice spostato alla riga {0}-{1}","Codice spostato dalla riga {0}-{1}"],"vs/editor/common/config/editorConfigurationSchema":["Editor","Numero di spazi a cui \xE8 uguale una scheda. Questa impostazione viene sottoposta a override in base al contenuto del file quando {0} \xE8 attivo.",'Numero di spazi utilizzati per il rientro o `"tabSize"` per usare il valore di `#editor.tabSize#`. Questa impostazione viene sostituita in base al contenuto del file quando `#editor.detectIndentation#` \xE8 attivo.',"Inserire spazi quando si preme 'TAB'. Questa impostazione viene sottoposta a override in base al contenuto del file quando {0} \xE8 attivo.","Controlla se {0} e {1} verranno rilevati automaticamente quando un file viene aperto in base al contenuto del file.","Rimuovi gli spazi finali inseriti automaticamente.","Gestione speciale dei file di grandi dimensioni per disabilitare alcune funzionalit\xE0 che fanno un uso intensivo della memoria.","Controlla se calcolare i completamenti in base alle parole presenti nel documento.","Suggerisci parole solo dal documento attivo.","Suggerisci parole da tutti i documenti aperti della stessa lingua.","Suggerisci parole da tutti i documenti aperti.","Controlla i documenti da cui vengono calcolati i completamenti basati su parole.","L'evidenziazione semantica \xE8 abilitata per tutti i temi colore.","L'evidenziazione semantica \xE8 disabilitata per tutti i temi colore.","La configurazione dell'evidenziazione semantica \xE8 gestita tramite l'impostazione `semanticHighlighting` del tema colori corrente.","Controlla se l'evidenziazione semanticHighlighting \xE8 visualizzata per i linguaggi che la supportano.","Consente di mantenere aperti gli editor rapidi anche quando si fa doppio clic sul contenuto o si preme 'ESC'.","Per motivi di prestazioni le righe di lunghezza superiore non verranno tokenizzate","Controlla se la tokenizzazione deve essere eseguita in modo asincrono in un web worker.","Controlla se deve essere registrata la tokenizzazione asincrona. Solo per il debug.","Controlla se la tokenizzazione asincrona deve essere verificata rispetto alla tokenizzazione legacy in background. Potrebbe rallentare la tokenizzazione. Solo per il debug.","Definisce i simboli di parentesi quadra che aumentano o riducono il rientro.","Sequenza di stringa o carattere parentesi quadra di apertura.","Sequenza di stringa o carattere parentesi quadra di chiusura.","Definisce le coppie di bracket colorate in base al livello di annidamento se \xE8 abilitata la colorazione delle coppie di bracket.","Sequenza di stringa o carattere parentesi quadra di apertura.","Sequenza di stringa o carattere parentesi quadra di chiusura.","Timeout in millisecondi dopo il quale il calcolo delle differenze viene annullato. Usare 0 per indicare nessun timeout.","Dimensioni massime del file in MB per cui calcolare le differenze. Usare 0 per nessun limite.","Controlla se l'editor diff mostra le differenze affiancate o incorporate.","Se la larghezza dell'editor diff \xE8 inferiore a questo valore, verr\xE0 utilizzata la visualizzazione inline.","Se questa opzione \xE8 abilitata e la larghezza dell'editor \xE8 troppo piccola, verr\xE0 usata la visualizzazione inline.","Se questa opzione \xE8 abilitata, l'editor diff mostra le frecce nel margine del glifo per ripristinare le modifiche.","Se abilitato, l'editor differenze ignora le modifiche relative a spazi vuoti iniziali e finali.","Controlla se l'editor diff mostra gli indicatori +/- per le modifiche aggiunte/rimosse.","Controlla se l'editor visualizza CodeLens.","Il ritorno a capo automatico delle righe non viene mai applicato.","Il ritorno a capo automatico delle righe viene applicato in corrispondenza della larghezza del viewport.","Le righe andranno a capo in base all'impostazione {0}.","Usare l'algoritmo diffing legacy.","Usare l'algoritmo diffing avanzato.","Controlla se l'editor diff mostra aree non modificate.","Controlla il numero di righe usate per le aree non modificate.","Controlla il numero minimo di righe usate per le aree non modificate.","Controlla il numero di righe usate come contesto durante il confronto delle aree non modificate.","Controlla se l'editor diff deve mostrare gli spostamenti di codice rilevati.","Controlla se l'editor diff mostra decorazioni vuote per vedere dove sono stati inseriti o eliminati caratteri."],"vs/editor/common/config/editorOptions":["Usare le API della piattaforma per rilevare quando viene collegata un'utilit\xE0 per la lettura dello schermo","Ottimizzare l'utilizzo con un'utilit\xE0 per la lettura dello schermo","Si presuppone che un'utilit\xE0 per la lettura dello schermo non sia collegata","Controllare se l'interfaccia utente deve essere eseguito in una modalit\xE0 ottimizzata per le utilit\xE0 per la lettura dello schermo.","Consente di controllare se viene inserito uno spazio quando si aggiungono commenti.","Controlla se ignorare le righe vuote con le opzioni per attivare/disattivare, aggiungere o rimuovere relative ai commenti di riga.","Controlla se, quando si copia senza aver effettuato una selezione, viene copiata la riga corrente.","Controlla se il cursore deve passare direttamente alla ricerca delle corrispondenze durante la digitazione.","Non fornire mai la stringa di ricerca dalla selezione dell'editor.","Fornisci sempre la stringa di ricerca dalla selezione dell'editor, inclusa la parola alla posizione del cursore.","Fornisci la stringa di ricerca solo dalla selezione dell'editor.","Controlla se inizializzare la stringa di ricerca nel Widget Trova con il testo selezionato nell'editor.","Non attivare mai automaticamente la funzione Trova nella selezione (impostazione predefinita).","Attiva sempre automaticamente la funzione Trova nella selezione.","Attiva automaticamente la funzione Trova nella selezione quando sono selezionate pi\xF9 righe di contenuto.","Controlla la condizione per attivare automaticamente la funzione Trova nella selezione.","Controlla se il widget Trova deve leggere o modificare gli appunti di ricerca condivisi in macOS.","Controlla se il widget Trova deve aggiungere altre righe nella parte superiore dell'editor. Quando \xE8 true, \xE8 possibile scorrere oltre la prima riga quando il widget Trova \xE8 visibile.","Controlla se la ricerca viene riavviata automaticamente dall'inizio o dalla fine quando non \xE8 possibile trovare ulteriori corrispondenze.","Abilita/Disabilita i caratteri legatura (funzionalit\xE0 dei tipi di carattere 'calt' e 'liga'). Impostare su una stringa per un controllo pi\xF9 specifico sulla propriet\xE0 CSS 'font-feature-settings'.","Propriet\xE0 CSS 'font-feature-settings' esplicita. Se \xE8 necessario solo attivare/disattivare le legature, \xE8 possibile passare un valore booleano.","Consente di configurare i caratteri legatura o le funzionalit\xE0 dei tipi di carattere. Pu\xF2 essere un valore booleano per abilitare/disabilitare le legature o una stringa per il valore della propriet\xE0 CSS 'font-feature-settings'.","Abilita/disabilita la conversione dada font-weight a font-variation-settings. Modificare questa impostazione in una stringa per il controllo con granularit\xE0 fine della propriet\xE0 CSS Font-variation.","Propriet\xE0 CSS esplicita 'font-variation-settings'. \xC8 invece possibile passare un valore booleano se \xE8 sufficiente convertire font-weight in font-variation-settings.","Configura le varianti di carattere. Pu\xF2 essere un valore booleano per abilitare/disabilitare la conversione da font-weight a font-variation-settings o una stringa per il valore della propriet\xE0 'font-variation-settings' CSS.","Controlla le dimensioni del carattere in pixel.",'Sono consentiti solo le parole chiave "normal" e "bold" o i numeri compresi tra 1 e 1000.','Controlla lo spessore del carattere. Accetta le parole chiave "normal" e "bold" o i numeri compresi tra 1 e 1000.',"Mostra la visualizzazione in anteprima dei risultati (impostazione predefinita)","Passa al risultato principale e mostra una visualizzazione in anteprima","Passa al risultato principale e abilita l'esplorazione senza anteprima per gli altri","Questa impostazione \xE8 deprecata. In alternativa, usare impostazioni diverse, come 'editor.editor.gotoLocation.multipleDefinitions' o 'editor.editor.gotoLocation.multipleImplementations'.","Controlla il comportamento del comando 'Vai alla definizione' quando esistono pi\xF9 posizioni di destinazione.","Controlla il comportamento del comando 'Vai alla definizione di tipo' quando esistono pi\xF9 posizioni di destinazione.","Controlla il comportamento del comando 'Vai a dichiarazione' quando esistono pi\xF9 posizioni di destinazione.","Controlla il comportamento del comando 'Vai a implementazioni' quando esistono pi\xF9 posizioni di destinazione.","Controlla il comportamento del comando 'Vai a riferimenti' quando esistono pi\xF9 posizioni di destinazione.","ID comando alternativo eseguito quando il risultato di 'Vai alla definizione' \xE8 la posizione corrente.","ID comando alternativo eseguito quando il risultato di 'Vai alla definizione di tipo' \xE8 la posizione corrente.","ID comando alternativo eseguito quando il risultato di 'Vai a dichiarazione' \xE8 la posizione corrente.","ID comando alternativo eseguito quando il risultato di 'Vai a implementazione' \xE8 la posizione corrente.","ID comando alternativo eseguito quando il risultato di 'Vai a riferimento' \xE8 la posizione corrente.","Controlla se mostrare l'area sensibile al passaggio del mouse.","Controlla il ritardo in millisecondi dopo il quale viene mostrato il passaggio del mouse.","Controlla se l'area sensibile al passaggio del mouse deve rimanere visibile quando vi si passa sopra con il puntatore del mouse.","Controlla il ritardo in millisecondi dopo il quale viene nascosto il passaggio del mouse. Richiede l'abilitazione di `editor.hover.sticky`.","Preferisci la visualizzazione al passaggio del mouse sopra la riga, se c'\xE8 spazio.","Presuppone che la larghezza sia identica per tutti caratteri. Si tratta di un algoritmo veloce che funziona correttamente per i tipi di carattere a spaziatura fissa e determinati script (come i caratteri latini) in cui i glifi hanno larghezza identica.","Delega il calcolo dei punti di ritorno a capo al browser. Si tratta di un algoritmo lento che potrebbe causare blocchi con file di grandi dimensioni, ma funziona correttamente in tutti gli altri casi.","Controlla l'algoritmo che calcola i punti di wrapping. Si noti che quando \xE8 attiva la modalit\xE0 di accessibilit\xE0, la modalit\xE0 avanzata verr\xE0 usata per un'esperienza ottimale.","Abilita la lampadina delle azioni codice nell'editor.","Mostra gli ambiti correnti annidati durante lo scorrimento nella parte superiore dell'editor.","Definisce il numero massimo di righe permanenti da mostrare.","Definisce il modello da utilizzare per determinare quali linee applicare. Se il modello di struttura non esiste, verr\xE0 eseguito il fallback sul modello del provider di riduzione che rientra nel modello di rientro. Questo ordine viene rispettato in tutti e tre i casi.","Abilitare lo scorrimento del widget di scorrimento permanente con la barra di scorrimento orizzontale dell'editor.","Abilita i suggerimenti incorporati nell'Editor.","Gli hint di inlay sono abilitati","Gli hint di inlay vengono visualizzati per impostazione predefinita e vengono nascosti quando si tiene premuto {0}","Gli hint di inlay sono nascosti per impostazione predefinita e vengono visualizzati solo quando si tiene premuto {0}","Gli hint di inlay sono disabilitati","Controlla le dimensioni del carattere dei suggerimenti di inlay nell'editor. Per impostazione predefinita, {0} viene usato quando il valore configurato \xE8 minore di {1} o maggiore delle dimensioni del carattere dell'editor.","Controlla la famiglia di caratteri dei suggerimenti inlay nell'editor. Se impostato su vuoto, viene usato {0}.","Abilita il riempimento attorno ai suggerimenti incorporati nell'editor.",`Controlla l'altezza della riga. \r + - Usare 0 per calcolare automaticamente l'altezza della riga dalle dimensioni del carattere.\r + - I valori compresi tra 0 e 8 verranno usati come moltiplicatore con le dimensioni del carattere.\r + - I valori maggiori o uguali a 8 verranno usati come valori effettivi.`,"Controlla se la minimappa \xE8 visualizzata.","Controlla se la minimappa viene nascosta automaticamente.","La minimappa ha le stesse dimensioni del contenuto dell'editor (e potrebbe supportare lo scorrimento).","Se necessario, la minimappa si ridurr\xE0 o si ingrandir\xE0 in modo da adattarsi all'altezza dell'editor (nessuno scorrimento).","Se necessario, la minimappa si ridurr\xE0 in modo che la larghezza non superi mai quella dell'editor (nessuno scorrimento).","Controlla le dimensioni della minimappa.","Definisce il lato in cui eseguire il rendering della minimappa.","Controlla se il dispositivo di scorrimento della minimappa \xE8 visualizzato.","Scala del contenuto disegnato nella minimappa: 1, 2 o 3.","Esegue il rendering dei caratteri effettivi di una riga in contrapposizione ai blocchi colore.","Limita la larghezza della minimappa in modo da eseguire il rendering al massimo di un certo numero di colonne.","Controlla la quantit\xE0 di spazio tra il bordo superiore dell'editor e la prima riga.","Controlla la quantit\xE0 di spazio tra il bordo inferiore dell'editor e l'ultima riga.","Abilita un popup che mostra documentazione sui parametri e informazioni sui tipi mentre si digita.","Controlla se il menu dei suggerimenti per i parametri esegue un ciclo o si chiude quando viene raggiunta la fine dell'elenco.","I suggerimenti rapidi vengono visualizzati all'interno del widget dei suggerimenti","I suggerimenti rapidi vengono visualizzati come testo fantasma","I suggerimenti rapidi sono disabilitati","Abilita i suggerimenti rapidi all'interno di stringhe.","Abilita i suggerimenti rapidi all'interno di commenti.","Abilita i suggerimenti rapidi all'esterno di stringhe e commenti.","Controlla se i suggerimenti devono essere visualizzati automaticamente durante la digitazione. Pu\xF2 essere controllato per la digitazione in commenti, stringhe e altro codice. Il suggerimento rapido pu\xF2 essere configurato per essere visualizzato come testo fantasma o con il widget dei suggerimenti. Tenere anche conto dell'impostazione '{0}' che controlla se i suggerimenti vengono attivati dai caratteri speciali.","I numeri di riga non vengono visualizzati.","I numeri di riga vengono visualizzati come numeri assoluti.","I numeri di riga vengono visualizzati come distanza in linee alla posizione del cursore.","I numeri di riga vengono visualizzati ogni 10 righe.","Controlla la visualizzazione dei numeri di riga.","Numero di caratteri a spaziatura fissa in corrispondenza del quale verr\xE0 eseguito il rendering di questo righello dell'editor.","Colore di questo righello dell'editor.","Esegue il rendering dei righelli verticali dopo un certo numero di caratteri a spaziatura fissa. Usare pi\xF9 valori per pi\xF9 righelli. Se la matrice \xE8 vuota, non viene disegnato alcun righello.","La barra di scorrimento verticale sar\xE0 visibile solo quando necessario.","La barra di scorrimento verticale sar\xE0 sempre visibile.","La barra di scorrimento verticale sar\xE0 sempre nascosta.","Controlla la visibilit\xE0 della barra di scorrimento verticale.","La barra di scorrimento orizzontale sar\xE0 visibile solo quando necessario.","La barra di scorrimento orizzontale sar\xE0 sempre visibile.","La barra di scorrimento orizzontale sar\xE0 sempre nascosta.","Controlla la visibilit\xE0 della barra di scorrimento orizzontale.","Larghezza della barra di scorrimento verticale.","Altezza della barra di scorrimento orizzontale.","Controlla se i clic consentono di attivare lo scorrimento per pagina o di passare direttamente alla posizione di clic.","Controlla se tutti i caratteri ASCII non di base sono evidenziati. Solo i caratteri compresi tra U+0020 e U+007E, tabulazione, avanzamento riga e ritorno a capo sono considerati ASCII di base.","Controlla se i caratteri che riservano spazio o non hanno larghezza sono evidenziati.","Controlla se i caratteri che possono essere confusi con i caratteri ASCII di base sono evidenziati, ad eccezione di quelli comuni nelle impostazioni locali dell'utente corrente.","Controlla se anche i caratteri nei commenti devono essere soggetti a evidenziazione Unicode.","Controlla se anche i caratteri nelle stringhe devono essere soggetti all'evidenziazione Unicode.","Definisce i caratteri consentiti che non vengono evidenziati.","I caratteri Unicode comuni nelle impostazioni locali consentite non vengono evidenziati.","Controlla se visualizzare automaticamente i suggerimenti inline nell'Editor.","Mostra la barra degli strumenti dei suggerimenti in linea ogni volta che viene visualizzato un suggerimento in linea.","Mostra la barra degli strumenti dei suggerimenti in linea quando al passaggio del mouse su un suggerimento in linea.","Controlla quando mostrare la barra dei suggerimenti in linea.","Controlla la modalit\xE0 di interazione dei suggerimenti inline con il widget dei suggerimenti. Se questa opzione \xE8 abilitata, il widget dei suggerimenti non viene visualizzato automaticamente quando sono disponibili suggerimenti inline.","Controlla se la colorazione delle coppie di parentesi \xE8 abilitata. Usare {0} per eseguire l'override dei colori di evidenziazione delle parentesi.","Controlla se ogni tipo di parentesi ha un pool di colori indipendente.","Abilita le guide per coppie di parentesi quadre.","Abilita le guide delle coppie di parentesi solo per la coppia di parentesi attive.","Disabilita le guide per coppie di parentesi quadre.","Controlla se le guide delle coppie di parentesi sono abilitate o meno.","Abilita le guide orizzontali come aggiunta alle guide per coppie di parentesi verticali.","Abilita le guide orizzontali solo per la coppia di parentesi attive.","Disabilita le guide per coppie di parentesi orizzontali.","Controlla se le guide orizzontali delle coppie di parentesi sono abilitate o meno.","Controlla se l'editor debba evidenziare la coppia di parentesi attive.","Controlla se l'editor deve eseguire il rendering delle guide con rientro.","Evidenzia la guida di rientro attiva.","Evidenzia la guida di rientro attiva anche se le guide delle parentesi quadre sono evidenziate.","Non evidenziare la guida di rientro attiva.","Controlla se l'editor deve evidenziare la guida con rientro attiva.","Inserisce il suggerimento senza sovrascrivere il testo a destra del cursore.","Inserisce il suggerimento e sovrascrive il testo a destra del cursore.","Controlla se le parole vengono sovrascritte quando si accettano i completamenti. Tenere presente che questa opzione dipende dalle estensioni che accettano esplicitamente questa funzionalit\xE0.","Controlla se i suggerimenti di filtro e ordinamento valgono per piccoli errori di battitura.","Controlla se l'ordinamento privilegia le parole che appaiono pi\xF9 vicine al cursore.","Controlla se condividere le selezioni dei suggerimenti memorizzati tra aree di lavoro e finestre (richiede `#editor.suggestSelection#`).","Selezionare sempre un suggerimento quando si attiva automaticamente IntelliSense.","Non selezionare mai un suggerimento quando si attiva automaticamente IntelliSense.","Selezionare un suggerimento solo quando si attiva IntelliSense da un carattere di trigger.","Selezionare un suggerimento solo quando si attiva IntelliSense durante la digitazione.","Controlla se viene selezionato un suggerimento quando viene visualizzato il widget. Si noti che questo si applica solo ai suggerimenti attivati automaticamente ('#editor.quickSuggestions#' e '#editor.suggestOnTriggerCharacters#') e che un suggerimento viene sempre selezionato quando viene richiamato in modo esplicito, ad esempio tramite 'CTRL+BARRA SPAZIATRICE'.","Controlla se un frammento attivo impedisce i suggerimenti rapidi.","Controlla se mostrare o nascondere le icone nei suggerimenti.","Controlla la visibilit\xE0 della barra di stato nella parte inferiore del widget dei suggerimenti.","Controlla se visualizzare in anteprima il risultato del suggerimento nell'Editor.","Controlla se i dettagli del suggerimento vengono visualizzati inline con l'etichetta o solo nel widget dei dettagli.","Questa impostazione \xE8 deprecata. Il widget dei suggerimenti pu\xF2 ora essere ridimensionato.","Questa impostazione \xE8 deprecata. In alternativa, usare impostazioni diverse, come 'editor.suggest.showKeywords' o 'editor.suggest.showSnippets'.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `method`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `function`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `constructor`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `deprecated`.","Quando \xE8 abilitato, il filtro IntelliSense richiede che il primo carattere corrisponda all'inizio di una parola, ad esempio 'c' per 'Console' o 'WebContext' ma _non_ per 'description'. Quando \xE8 disabilitato, IntelliSense mostra pi\xF9 risultati, ma li ordina comunque in base alla qualit\xE0 della corrispondenza.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `field`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `variable`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `class`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `struct`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `interface`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `module`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `property`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `event`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `operator`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `unit`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `value`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `constant`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `enum`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `enumMember`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `keyword`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `text`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `color`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `file`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `reference`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `customcolor`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `folder`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `typeParameter`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `snippet`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `user`.","Se \xE8 abilitata, IntelliSense mostra i suggerimenti relativi a `issues`.","Indica se gli spazi vuoti iniziali e finali devono essere sempre selezionati.","Indica se \xE8 necessario selezionare le sottoparole ( come 'foo' in 'fooBar' o 'foo_bar').","Nessun rientro. Le righe con ritorno a capo iniziano dalla colonna 1. ","Le righe con ritorno a capo hanno lo stesso rientro della riga padre.","Le righe con ritorno a capo hanno un rientro di +1 rispetto alla riga padre.","Le righe con ritorno a capo hanno un rientro di +2 rispetto alla riga padre.","Controlla il rientro delle righe con ritorno a capo.","Controlla se \xE8 possibile trascinare un file in un editor di testo tenendo premuto MAIUSC (invece di aprire il file in un editor).","Controlla se viene visualizzato un widget quando si rilasciano file nell'editor. Questo widget consente di controllare la modalit\xE0 di rilascio del file.","Mostra il widget del selettore di rilascio dopo il rilascio di un file nell'editor.","Non visualizzare mai il widget del selettore di rilascio. Usare sempre il provider di rilascio predefinito.","Controlla se \xE8 possibile incollare il contenuto in modi diversi.","Controlla se viene visualizzato un widget quando si incolla il contenuto nell'editor. Questo widget consente di controllare il modo in cui il file viene incollato.","Mostra il widget del selettore dell'operazione Incolla dopo che il contenuto \xE8 stato incollato nell'editor.","Non visualizzare mai il widget del selettore dell'operazione Incolla. Usare sempre il comportamento dell'operazione Incolla predefinito.","Controlla se accettare i suggerimenti con i caratteri di commit. Ad esempio, in JavaScript il punto e virgola (';') pu\xF2 essere un carattere di commit che accetta un suggerimento e digita tale carattere.","Accetta un suggerimento con 'Invio' solo quando si apporta una modifica al testo.","Controlla se i suggerimenti devono essere accettati con 'INVIO' in aggiunta a 'TAB'. In questo modo \xE8 possibile evitare ambiguit\xE0 tra l'inserimento di nuove righe e l'accettazione di suggerimenti.","Controlla il numero di righe nell'Editor che possono essere lette alla volta da un utilit\xE0 per la lettura dello schermo. Quando viene rilevata un'utilit\xE0 per la lettura dello schermo, questo valore viene impostato su 500 per impostazione predefinita. Avviso: questa opzione pu\xF2 influire sulle prestazioni se il numero di righe \xE8 superiore a quello predefinito.","Contenuto editor","Controllare se i suggerimenti inline vengono annunciati da un'utilit\xE0 per la lettura dello schermo.","Usa le configurazioni del linguaggio per determinare la chiusura automatica delle parentesi.","Chiudi automaticamente le parentesi solo quando il cursore si trova alla sinistra di uno spazio vuoto.","Controlla se l'editor deve chiudere automaticamente le parentesi quadre dopo che sono state aperte.","Usare le configurazioni del linguaggio per determinare la chiusura automatica dei commenti.","Chiudere automaticamente i commenti solo quando il cursore si trova alla sinistra di uno spazio vuoto.","Controlla se l'editor deve chiudere automaticamente i commenti dopo che sono stati aperti.","Rimuove le virgolette o le parentesi quadre di chiusura adiacenti solo se sono state inserite automaticamente.","Controlla se l'editor deve rimuovere le virgolette o le parentesi quadre di chiusura adiacenti durante l'eliminazione.","Digita sopra le virgolette o le parentesi quadre di chiusura solo se sono state inserite automaticamente.","Controlla se l'editor deve digitare su virgolette o parentesi quadre.","Usa le configurazioni del linguaggio per determinare la chiusura automatica delle virgolette.","Chiudi automaticamente le virgolette solo quando il cursore si trova alla sinistra di uno spazio vuoto.","Controlla se l'editor deve chiudere automaticamente le citazioni dopo che sono state aperte.","L'editor non inserir\xE0 automaticamente il rientro.","L'editor manterr\xE0 il rientro della riga corrente.","L'editor manterr\xE0 il rientro della riga corrente e rispetter\xE0 le parentesi definite dalla lingua.","L'editor manterr\xE0 il rientro della riga corrente, rispetter\xE0 le parentesi definite dalla lingua e richiamer\xE0 le regole onEnterRules speciali definite dalle lingue.","L'editor manterr\xE0 il rientro della riga corrente, rispetter\xE0 le parentesi definite dalla lingua, richiamer\xE0 le regole onEnterRules speciali definite dalle lingue e rispetter\xE0 le regole indentationRules definite dalle lingue.","Controlla se l'editor deve regolare automaticamente il rientro quando gli utenti digitano, incollano, spostano le righe o applicano il rientro.","Usa le configurazioni del linguaggio per determinare quando racchiudere automaticamente le selezioni tra parentesi quadre o virgolette.","Racchiude la selezione tra virgolette ma non tra parentesi quadre.","Racchiude la selezione tra parentesi quadre ma non tra virgolette.","Controlla se l'editor deve racchiudere automaticamente le selezioni quando si digitano virgolette o parentesi quadre.","Emula il comportamento di selezione dei caratteri di tabulazione quando si usano gli spazi per il rientro. La selezione verr\xE0 applicata alle tabulazioni.","Controlla se l'editor visualizza CodeLens.","Controlla la famiglia di caratteri per CodeLens.","Controlla le dimensioni del carattere in pixel per CodeLens. Quando \xE8 impostata su 0, viene usato il 90% del valore di '#editor.fontSize#'.","Controlla se l'editor deve eseguire il rendering della selezione colori e degli elementi Decorator di tipo colore inline.","Fare in modo che la selezione colori venga visualizzata sia al clic che al passaggio del mouse sull\u2019elemento Decorator colore","Fare in modo che la selezione colori venga visualizzata al passaggio del mouse sull'elemento Decorator colore","Fare in modo che la selezione colori venga visualizzata quando si fa clic sull'elemento Decorator colore","Controlla la condizione in modo che venga visualizzata la selezione colori da un elemento Decorator colore.","Controlla il numero massimo di elementi Decorator a colori di cui \xE8 possibile eseguire il rendering in un editor contemporaneamente.","Abilita l'uso di mouse e tasti per la selezione delle colonne.","Controlla se l'evidenziazione della sintassi deve essere copiata negli Appunti.","Controllo dello stile di animazione del cursore.","L'animazione con cursore arrotondato \xE8 disabilitata.","L'animazione con cursore uniforme \xE8 abilitata solo quando l'utente sposta il cursore con un movimento esplicito.","L'animazione con cursore uniforme \xE8 sempre abilitata.","Controlla se l'animazione del cursore con anti-aliasing deve essere abilitata.","Controlla lo stile del cursore.","Controllare il numero minimo di linee iniziali visibili (minimo 0) e finali (minimo 1) visibili che circondano il cursore. Noto come 'scrollOff' o 'scrollOffset' in altri editor.","`cursorSurroundingLines` viene applicato solo quando \xE8 attivato tramite la tastiera o l'API.","`cursorSurroundingLines` viene sempre applicato.","Controlla quando deve essere applicato `cursorSurroundingLines`.","Controlla la larghezza del cursore quando `#editor.cursorStyle#` \xE8 impostato su `line`.","Controlla se l'editor deve consentire lo spostamento di selezioni tramite trascinamento della selezione.","Usare un nuovo metodo di rendering con svgs.","Usare un nuovo metodo di rendering con tipi di caratteri.","Usare il metodo di rendering stabile.","Controlla se viene eseguito il rendering degli spazi vuoti con un nuovo metodo sperimentale.","Moltiplicatore della velocit\xE0 di scorrimento quando si preme `Alt`.","Controlla se per l'editor \xE8 abilitata la riduzione del codice.","Usa una strategia di riduzione specifica della lingua, se disponibile; altrimenti ne usa una basata sui rientri.","Usa la strategia di riduzione basata sui rientri.","Controlla la strategia per il calcolo degli intervalli di riduzione.","Controlla se l'editor deve evidenziare gli intervalli con riduzione del codice.","Controlla se l'editor comprime automaticamente gli intervalli di importazione.","Numero massimo di aree riducibili. Se si aumenta questo valore, l'editor potrebbe diventare meno reattivo quando l'origine corrente contiene un numero elevato di aree riducibili.","Controlla se, facendo clic sul contenuto vuoto dopo una riga ridotta, la riga viene espansa.","Controlla la famiglia di caratteri.","Controlla se l'editor deve formattare automaticamente il contenuto incollato. Deve essere disponibile un formattatore che deve essere in grado di formattare un intervallo in un documento.","Controlla se l'editor deve formattare automaticamente la riga dopo la digitazione.","Controlla se l'editor deve eseguire il rendering del margine verticale del glifo. Il margine del glifo viene usato principalmente per il debug.","Controlla se il cursore deve essere nascosto nel righello delle annotazioni.","Controlla la spaziatura tra le lettere in pixel.","Controlla se la modifica collegata \xE8 abilitata per l'editor. A seconda del linguaggio, i simboli correlati, ad esempio i tag HTML, vengono aggiornati durante la modifica.","Controlla se l'editor deve individuare i collegamenti e renderli selezionabili.","Evidenzia le parentesi graffe corrispondenti.","Moltiplicatore da usare sui valori `deltaX` e `deltaY` degli eventi di scorrimento della rotellina del mouse.","Ingrandisce il carattere dell'editor quando si usa la rotellina del mouse e si tiene premuto 'CTRL'.","Unire i cursori multipli se sovrapposti.","Rappresenta il tasto 'Control' in Windows e Linux e il tasto 'Comando' in macOS.","Rappresenta il tasto 'Alt' in Windows e Linux e il tasto 'Opzione' in macOS.","Modificatore da usare per aggiungere pi\xF9 cursori con il mouse. I movimenti del mouse Vai alla definizione e Apri collegamento si adatteranno in modo da non entrare in conflitto con il [modificatore di selezione multipla](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).","Ogni cursore incolla una singola riga del testo.","Ogni cursore incolla il testo completo.","Controlla l'operazione Incolla quando il conteggio delle righe del testo incollato corrisponde al conteggio dei cursori.","Controlla il numero massimo di cursori che possono essere presenti in un editor attivo contemporaneamente.","Controlla se l'editor deve evidenziare le occorrenze di simboli semantici.","Controlla se deve essere disegnato un bordo intorno al righello delle annotazioni.","Sposta lo stato attivo sull'albero quando si apre l'anteprima","Sposta lo stato attivo sull'editor quando si apre l'anteprima","Controlla se spostare lo stato attivo sull'editor inline o sull'albero nel widget di anteprima.","Controlla se il movimento del mouse Vai alla definizione consente sempre di aprire il widget di anteprima.","Controlla il ritardo in millisecondi dopo il quale verranno visualizzati i suggerimenti rapidi.","Controlla se l'editor viene rinominato automaticamente in base al tipo.","Deprecata. In alternativa, usare `editor.linkedEditing`.","Controlla se l'editor deve eseguire il rendering dei caratteri di controllo.","Esegue il rendering dell'ultimo numero di riga quando il file termina con un carattere di nuova riga.","Mette in evidenza sia la barra di navigazione sia la riga corrente.","Controlla in che modo l'editor deve eseguire il rendering dell'evidenziazione di riga corrente.","Controlla se l'editor deve eseguire il rendering dell'evidenziazione della riga corrente solo quando l'editor ha lo stato attivo.","Esegue il rendering dei caratteri di spazio vuoto ad eccezione dei singoli spazi tra le parole.","Esegui il rendering dei caratteri di spazio vuoto solo nel testo selezionato.","Esegui il rendering solo dei caratteri di spazio vuoto finali.","Controlla in che modo l'editor deve eseguire il rendering dei caratteri di spazio vuoto.","Controlla se le selezioni devono avere gli angoli arrotondati.","Controlla il numero di caratteri aggiuntivi oltre i quali l'editor scorrer\xE0 orizzontalmente.","Controlla se l'editor scorrer\xE0 oltre l'ultima riga.","Scorre solo lungo l'asse predominante durante lo scorrimento verticale e orizzontale simultaneo. Impedisce la deviazione orizzontale quando si scorre in verticale su un trackpad.","Controlla se gli appunti primari di Linux devono essere supportati.","Controlla se l'editor deve evidenziare gli elementi corrispondenti simili alla selezione.","Mostra sempre i comandi di riduzione.","Non visualizzare mai i controlli di riduzione e diminuire le dimensioni della barra di navigazione.","Mostra i comandi di riduzione solo quando il mouse \xE8 posizionato sul margine della barra di scorrimento.","Controlla se i controlli di riduzione sul margine della barra di scorrimento vengono visualizzati.","Controllo dissolvenza del codice inutilizzato.","Controlla le variabili deprecate barrate.","Visualizza i suggerimenti del frammento prima degli altri suggerimenti.","Visualizza i suggerimenti del frammento dopo gli altri suggerimenti.","Visualizza i suggerimenti del frammento insieme agli altri suggerimenti.","Non mostrare i suggerimenti del frammento.","Controlla se i frammenti di codice sono visualizzati con altri suggerimenti e il modo in cui sono ordinati.","Controlla se per lo scorrimento dell'editor verr\xE0 usata un'animazione.","Controlla se l'hint di accessibilit\xE0 deve essere fornito agli utenti dell'utilit\xE0 per la lettura dello schermo quando viene visualizzato un completamento inline.","Dimensioni del carattere per il widget dei suggerimenti. Se impostato su {0}, viene usato il valore di {1}.","Altezza della riga per il widget dei suggerimenti. Se impostato su {0}, viene usato il valore {1}. Il valore minimo \xE8 8.","Controlla se i suggerimenti devono essere visualizzati automaticamente durante la digitazione dei caratteri trigger.","Consente di selezionare sempre il primo suggerimento.","Consente di selezionare suggerimenti recenti a meno che continuando a digitare non ne venga selezionato uno, ad esempio `console.| ->; console.log` perch\xE9 `log` \xE8 stato completato di recente.","Consente di selezionare i suggerimenti in base a prefissi precedenti che hanno completato tali suggerimenti, ad esempio `co ->; console` e `con -> const`.","Controlla la modalit\xE0 di preselezione dei suggerimenti durante la visualizzazione dell'elenco dei suggerimenti.","La funzionalit\xE0 di completamento con tasto TAB inserir\xE0 il migliore suggerimento alla pressione del tasto TAB.","Disabilita le funzionalit\xE0 di completamento con tasto TAB.","Completa i frammenti con il tasto TAB quando i rispettivi prefissi corrispondono. Funziona in modo ottimale quando 'quickSuggestions' non \xE8 abilitato.","Abilit\xE0 la funzionalit\xE0 di completamento con tasto TAB.","I caratteri di terminazione di riga insoliti vengono rimossi automaticamente.","I caratteri di terminazione di riga insoliti vengono ignorati.","Prompt per i caratteri di terminazione di riga insoliti da rimuovere.","Rimuovi caratteri di terminazione di riga insoliti che potrebbero causare problemi.","Inserimento ed eliminazione dello spazio vuoto dopo le tabulazioni.","Usare la regola di interruzione di riga predefinita.","Le interruzioni di parola non devono essere usate per il testo cinese/giapponese/coreano (CJK). Il comportamento del testo non CJK \xE8 uguale a quello normale.","Controlla le regole di interruzione delle parole usate per il testo cinese/giapponese/coreano (CJK).","Caratteri che verranno usati come separatori di parola quando si eseguono operazioni o spostamenti correlati a parole.","Il ritorno a capo automatico delle righe non viene mai applicato.","Il ritorno a capo automatico delle righe viene applicato in corrispondenza della larghezza del viewport.","Il ritorno a capo automatico delle righe viene applicato in corrispondenza di `#editor.wordWrapColumn#`.","Il ritorno a capo automatico delle righe viene applicato in corrispondenza della larghezza minima del viewport e di `#editor.wordWrapColumn#`.","Controlla il ritorno a capo automatico delle righe.","Controlla la colonna per il ritorno a capo automatico dell'editor quando il valore di `#editor.wordWrap#` \xE8 `wordWrapColumn` o `bounded`.","Controllare se visualizzare le decorazioni colori incorporate usando il provider colori predefinito del documento","Controlla se l'editor riceve le schede o le rinvia al workbench per lo spostamento."],"vs/editor/common/core/editorColorRegistry":["Colore di sfondo per l'evidenziazione della riga alla posizione del cursore.","Colore di sfondo per il bordo intorno alla riga alla posizione del cursore.","Colore di sfondo degli intervalli evidenziati, ad esempio dalle funzionalit\xE0 Quick Open e Trova. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo del bordo intorno agli intervalli selezionati.","Colore di sfondo del simbolo evidenziato, ad esempio per passare alla definizione o al simbolo successivo/precedente. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo del bordo intorno ai simboli selezionati.","Colore del cursore dell'editor.","Colore di sfondo del cursore editor. Permette di personalizzare il colore di un carattere quando sovrapposto da un blocco cursore.","Colore dei caratteri di spazio vuoto nell'editor.","Colore dei numeri di riga dell'editor.","Colore delle guide per i rientri dell'editor.","'editorIndentGuide.background' \xE8 deprecato. Usare 'editorIndentGuide.background1'.","Colore delle guide di indentazione dell'editor attivo","'editorIndentGuide.activeBackground' \xE8 deprecato. Usare 'editorIndentGuide.activeBackground1'.","Colore delle guide per i rientri dell'editor (1).","Colore delle guide per i rientri dell'editor (2).","Colore delle guide per i rientri dell'editor (3).","Colore delle guide per i rientri dell'editor (4).","Colore delle guide per i rientri dell'editor (5).","Colore delle guide per i rientri dell'editor (6).","Colore delle guide di indentazione dell'editor attivo (1).","Colore delle guide di indentazione dell'editor attivo (2).","Colore delle guide di indentazione dell'editor attivo (3).","Colore delle guide di indentazione dell'editor attivo (4).","Colore delle guide di indentazione dell'editor attivo (5).","Colore delle guide di indentazione dell'editor attivo (6).","Colore del numero di riga attivo dell'editor","Id \xE8 deprecato. In alternativa usare 'editorLineNumber.activeForeground'.","Colore del numero di riga attivo dell'editor","Colore della riga dell'editor finale quando editor.renderFinalNewline \xE8 impostato su in grigio.","Colore dei righelli dell'editor.","Colore primo piano delle finestre di CodeLens dell'editor","Colore di sfondo delle parentesi corrispondenti","Colore delle caselle di parentesi corrispondenti","Colore del bordo del righello delle annotazioni.","Colore di sfondo del righello delle annotazioni dell'editor.","Colore di sfondo della barra di navigazione dell'editor. La barra contiene i margini di glifo e i numeri di riga.","Colore del bordo del codice sorgente non necessario (non usato) nell'editor.",`Opacit\xE0 del codice sorgente non necessario (non usato) nell'editor. Ad esempio, con "#000000c0" il rendering del codice verr\xE0 eseguito con il 75% di opacit\xE0. Per i temi a contrasto elevato, usare il colore del tema 'editorUnnecessaryCode.border' per sottolineare il codice non necessario invece di opacizzarlo.`,"Colore del bordo del testo fantasma nell'Editor.","Colore primo piano del testo fantasma nell'Editor.","Colore di sfondo del testo fantasma nell'editor.","Colore del marcatore del righello delle annotazioni per le evidenziazioni degli intervalli. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del marcatore del righello delle annotazioni per gli errori.","Colore del marcatore del righello delle annotazioni per gli avvisi.","Colore del marcatore del righello delle annotazioni per i messaggi di tipo informativo.","Colore primo piano delle parentesi quadre (1). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore primo piano delle parentesi quadre (2). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore primo piano delle parentesi quadre (3). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore primo piano delle parentesi quadre (4). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore primo piano delle parentesi quadre (5). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore primo piano delle parentesi quadre (6). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.","Colore di primo piano delle parentesi impreviste.","Colore di sfondo delle guide per coppie di parentesi inattive (1). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi inattive (2). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi inattive (3). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi inattive (4). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi inattive (5). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi inattive (6). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (1). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (2). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (3). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (4). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (5). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore di sfondo delle guide per coppie di parentesi attive (6). Richiede l'abilitazione delle guide per coppie di parentesi.","Colore del bordo utilizzato per evidenziare i caratteri Unicode.","Colore di sfondo usato per evidenziare i caratteri Unicode."],"vs/editor/common/editorContextKeys":["Indica se il testo dell'editor ha lo stato attivo (il cursore lampeggia)","Indica se l'editor o un widget dell'editor ha lo stato attivo (ad esempio, lo stato attivo si trova nel widget di ricerca)","Indica se un editor o un input RTF ha lo stato attivo (il cursore lampeggia)","Indica se l'editor \xE8 di sola lettura","Indica se il contesto \xE8 un editor diff","Indica se il contesto \xE8 un editor diff incorporato","Indica se un blocco di codice spostato \xE8 selezionato per il confronto","Indica se il visualizzatore differenze accessibile \xE8 visibile","Indica se viene raggiunto il punto di interruzione inline side-by-side per il rendering dell'editor diff","Indica se `editor.columnSelection` \xE8 abilitato","Indica se per l'editor esiste testo selezionato","Indica se per l'editor esistono pi\xF9 selezioni","Indica se premendo `TAB`, lo stato attivo verr\xE0 spostato all'esterno dell'editor","Indica se il passaggio del puntatore nell'editor \xE8 visibile","Indica se l'area sensibile al passaggio del mouse dell'edito \xE8 attivata","Indica se lo scorrimento permanente \xE8 attivo","Indica se lo scorrimento permanente \xE8 visibile","Indicare se la selezione colori autonoma \xE8 visibile","Indicare se la selezione colori autonoma \xE8 evidenziata","Indica se l'editor fa parte di un editor pi\xF9 esteso (ad esempio notebook)","Identificatore lingua dell'editor","Indica se per l'editor esiste un provider di voci di completamento","Indica se per l'editor esiste un provider di azioni codice","Indica se per l'editor esiste un provider di CodeLens","Indica se per l'editor esiste un provider di definizioni","Indica se per l'editor esiste un provider di dichiarazioni","Indica se per l'editor esiste un provider di implementazioni","Indica se per l'editor esiste un provider di definizioni di tipo","Indica se per l'editor esiste un provider di passaggi del mouse","Indica se per l'editor esiste un provider di evidenziazione documenti","Indica se per l'editor esiste un provider di simboli di documenti","Indica se per l'editor esiste un provider di riferimenti","Indica se per l'editor esiste un provider di ridenominazione","Indica se per l'editor esiste un provider della guida per la firma","Indica se per l'editor esiste un provider di suggerimenti inline","Indica se per l'editor esiste un provider di formattazione documenti","Indica se per l'editor esiste un provider di formattazione di selezioni documento","Indica se per l'editor esistono pi\xF9 provider di formattazione documenti","Indica se per l'editor esistono pi\xF9 provider di formattazione di selezioni documento"],"vs/editor/common/languages":["matrice","valore booleano","classe","costante","costruttore","enumerazione","membro di enumerazione","evento","campo","file","funzione","interfaccia","chiave","metodo","modulo","spazio dei nomi","Null","numero","oggetto","operatore","pacchetto","propriet\xE0","stringa","struct","parametro di tipo","variabile","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["Testo normale"],"vs/editor/common/model/editStack":["Digitazione"],"vs/editor/common/standaloneStrings":["Sviluppatore: Controlla token","Vai a Riga/Colonna...","Mostra tutti i provider di accesso rapido","Riquadro comandi","Mostra ed esegui comandi","Vai al simbolo...","Vai al simbolo per categoria...","Contenuto editor","Premere ALT+F1 per le opzioni di accessibilit\xE0.","Attiva/disattiva tema a contrasto elevato","Effettuate {0} modifiche in {1} file"],"vs/editor/common/viewLayout/viewLineRenderer":["Mostra di pi\xF9 ({0})","{0} caratteri"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["Ancoraggio della selezione","Ancoraggio impostato alla posizione {0}:{1}","Imposta ancoraggio della selezione","Vai ad ancoraggio della selezione","Seleziona da ancoraggio a cursore","Annulla ancoraggio della selezione"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["Colore del marcatore del righello delle annotazioni per la corrispondenza delle parentesi.","Vai alla parentesi quadra","Seleziona fino alla parentesi","Rimuovi parentesi quadre","Vai alla parentesi &&quadra"],"vs/editor/contrib/caretOperations/browser/caretOperations":["Sposta testo selezionato a sinistra","Sposta testo selezionato a destra"],"vs/editor/contrib/caretOperations/browser/transpose":["Trasponi lettere"],"vs/editor/contrib/clipboard/browser/clipboard":["&&Taglia","Taglia","Taglia","Taglia","&&Copia","Copia","Copia","Copia","Copia con nome","Copia con nome","Condividi","Condividi","Condividi","&&Incolla","Incolla","Incolla","Incolla","Copia con evidenziazione sintassi"],"vs/editor/contrib/codeAction/browser/codeAction":["Si \xE8 verificato un errore sconosciuto durante l'applicazione dell'azione del codice"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["Tipo dell'azione codice da eseguire.","Controlla quando vengono applicate le azioni restituite.","Applica sempre la prima azione codice restituita.","Applica la prima azione codice restituita se \xE8 l'unica.","Non applicare le azioni codice restituite.","Controlla se devono essere restituite solo le azioni codice preferite.","Correzione rapida...","Azioni codice non disponibili","Non sono disponibili azioni codice preferite per '{0}'","Non sono disponibili azioni codice per '{0}'","Non sono disponibili azioni codice preferite","Azioni codice non disponibili","Effettua refactoring...","Non sono disponibili refactoring preferiti per '{0}'","Non sono disponibili refactoring per '{0}'","Non sono disponibili refactoring preferiti","Refactoring non disponibili","Azione origine...","Non sono disponibili azioni origine preferite per '{0}'","Non sono disponibili azioni origine per '{0}'","Non sono disponibili azioni origine preferite","Azioni origine non disponibili","Organizza import","Azioni di organizzazione Imports non disponibili","Correggi tutto","Non \xE8 disponibile alcuna azione Correggi tutto","Correzione automatica...","Non sono disponibili correzioni automatiche"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["Abilita/disabilita la visualizzazione delle intestazioni gruppo nel menu Azione codice.","Abilita/disabilita la visualizzazione del quickfix pi\xF9 vicino all'interno di una riga quando non \xE8 attualmente in una diagnostica."],"vs/editor/contrib/codeAction/browser/codeActionController":["Contesto: {0} alla riga {1} e alla colonna {2}.","Nascondi elementi disabilitati","Mostra elementi disabilitati"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["Altre azioni...","Correzione rapida","Estrai","Inline","Riscrivi","Sposta","Racchiudi tra","Azione di origine"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["Mostra azioni codice. Correzione rapida preferita disponibile ({0})","Mostra Azioni codice ({0})","Mostra Azioni codice"],"vs/editor/contrib/codelens/browser/codelensController":["Mostra comandi di CodeLens per la riga corrente","Selezionare un comando"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["Fare clic per attivare/disattivare le opzioni di colore (rgb/hsl/hex)","Icona per chiudere la selezione colori"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["Mostra o sposta lo stato attivo su Selezione colori autonomo","&&Mostra o sposta lo stato attivo su Selezione colori autonomo","Nascondere la Selezione colori","Inserire colore con Selezione colori autonomo"],"vs/editor/contrib/comment/browser/comment":["Attiva/disattiva commento per la riga","Attiva/Disattiva commento per la &&riga","Aggiungi commento per la riga","Rimuovi commento per la riga","Attiva/Disattiva commento per il blocco","Attiva/Disattiva commento per il &&blocco"],"vs/editor/contrib/contextmenu/browser/contextmenu":["Minimappa","Esegui rendering dei caratteri","Dimensioni verticali","Proporzionale","Riempimento","Adatta","Dispositivo di scorrimento","Passaggio del mouse","Sempre","Mostra il menu di scelta rapida editor"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["Cursore - Annulla","Cursore - Ripeti"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["Incolla come...","ID della modifica dell'operazione Incolla da provare ad applicare. Se non viene specificato, l'editor mostrer\xE0 un controllo di selezione."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["Indica se il widget dell'operazione Incolla viene visualizzato","Mostra opzioni operazione Incolla...","Esecuzione dei gestori del comando Incolla. Fare clic per annullare","Seleziona azione Incolla","Esecuzione dei gestori Incolla in corso"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["Predefinita","Inserire testo normale","Inserire l'URL","Inserire l'Uri","Inserire percorsi","Inserire percorso","Inserire percorsi relativi","Inserire percorso relativo"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["Configura il provider di eliminazione predefinito da usare per il contenuto di un tipo MIME specifico."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["Indica se il widget di rilascio viene visualizzato","Mostra opzioni di rilascio...","Esecuzione dei gestori di rilascio. Fare clic per annullare"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["Indica se l'editor esegue un'operazione annullabile, ad esempio 'Anteprima riferimenti'"],"vs/editor/contrib/find/browser/findController":["Il file \xE8 troppo grande per eseguire un'operazione di sostituzione.","Trova","&&Trova",`Esegue l'override del contrassegno "Usa espressione regolare".\r +Il contrassegno non verr\xE0 salvato per il futuro.\r +0: Non eseguire alcuna operazione\r +1: Vero\r +2: Falso`,`Esegue l'override del contrassegno "Corrispondenza parola intera".\r +Il contrassegno non verr\xE0 salvato per il futuro.\r +0: Non eseguire alcuna operazione\r +1: Vero\r +2: Falso`,`Esegue l'override del contrassegno "Fai corrispondere maiuscole/minuscole".\r +Il contrassegno non verr\xE0 salvato per il futuro.\r +0: Non eseguire alcuna operazione\r +1: Vero\r +2: Falso`,`Esegue l'override del contrassegno "Mantieni maiuscole/minuscole".\r +Il contrassegno non verr\xE0 salvato per il futuro.\r +0: Non eseguire alcuna operazione\r +1: Vero\r +2: Falso`,"Trova con gli argomenti","Trova con selezione","Trova successivo","Trova precedente","Andare a Corrispondenza...","Nessuna corrispondenza. Provare a cercare qualcos'altro.","Digitare un numero per passare a una corrispondenza specifica (tra 1 e {0})","Digitare un numero compreso tra 1 e {0}","Digitare un numero compreso tra 1 e {0}","Trova selezione successiva","Trova selezione precedente","Sostituisci","&&Sostituisci"],"vs/editor/contrib/find/browser/findWidget":["Icona per 'Trova nella selezione' nel widget di ricerca dell'editor.","Icona per indicare che il widget di ricerca dell'editor \xE8 compresso.","Icona per indicare che il widget di ricerca dell'editor \xE8 espanso.","Icona per 'Sostituisci' nel widget di ricerca dell'editor.","Icona per 'Sostituisci tutto' nel widget di ricerca dell'editor.","Icona per 'Trova precedente' nel widget di ricerca dell'editor.","Icona per 'Trova successivo' nel widget di ricerca dell'editor.","Trova/Sostituisci","Trova","Trova","Risultato precedente","Risultato successivo","Trova nella selezione","Chiudi","Sostituisci","Sostituisci","Sostituisci","Sostituisci tutto","Attiva/Disattiva sostituzione","Solo i primi {0} risultati vengono evidenziati, ma tutte le operazioni di ricerca funzionano su tutto il testo.","{0} di {1}","Nessun risultato","{0} trovato","{0} trovati per '{1}'","{0} trovati per '{1}' alla posizione {2}","{0} trovati per '{1}'","Il tasto di scelta rapida CTRL+INVIO ora consente di inserire l'interruzione di linea invece di sostituire tutto. Per eseguire l'override di questo comportamento, \xE8 possibile modificare il tasto di scelta rapida per editor.action.replaceAll."],"vs/editor/contrib/folding/browser/folding":["Espandi","Espandi in modo ricorsivo","Riduci","Attiva/Disattiva riduzione","Riduci in modo ricorsivo","Riduci tutti i blocchi commento","Riduci tutte le regioni","Espandi tutte le regioni","Riduci tutto tranne selezionato","Espandi tutto tranne selezionato","Riduci tutto","Espandi tutto","Vai alla cartella principale","Passa all'intervallo di riduzione precedente","Passa all'intervallo di riduzione successivo","Creare intervallo di riduzione dalla selezione","Rimuovi intervalli di riduzione manuale","Livello riduzione {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["Colore di sfondo degli intervalli con riduzione. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del controllo di riduzione nella barra di navigazione dell'editor.","Icona per gli intervalli espansi nel margine del glifo dell'editor.","Icona per gli intervalli compressi nel margine del glifo dell'editor.","Icona per gli intervalli compressi nel margine del glifo dell'editor.","Icona per gli intervalli espansi manualmente nel margine del glifo dell'editor."],"vs/editor/contrib/fontZoom/browser/fontZoom":["Zoom avanti tipo di carattere editor","Zoom indietro tipo di carattere editor","Reimpostazione zoom tipo di carattere editor"],"vs/editor/contrib/format/browser/format":["\xC8 stata apportata 1 modifica di formattazione a riga {0}","Sono state apportate {0} modifiche di formattazione a riga {1}","\xC8 stata apportata 1 modifica di formattazione tra le righe {0} e {1}","Sono state apportate {0} modifiche di formattazione tra le righe {1} e {2}"],"vs/editor/contrib/format/browser/formatActions":["Formatta documento","Formatta selezione"],"vs/editor/contrib/gotoError/browser/gotoError":["Vai al problema successivo (Errore, Avviso, Informazioni)","Icona per il marcatore Vai a successivo.","Vai al problema precedente (Errore, Avviso, Informazioni)","Icona per il marcatore Vai a precedente.","Vai al problema successivo nei file (Errore, Avviso, Informazioni)","&&Problema successivo","Vai al problema precedente nei file (Errore, Avviso, Informazioni)","&&Problema precedente"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["Errore","Avviso","Info","Suggerimento","{0} a {1}. ","{0} di {1} problemi","{0} di {1} problema","Colore per gli errori del widget di spostamento tra marcatori dell'editor.","Intestazione errore per lo sfondo del widget di spostamento tra marcatori dell'editor.","Colore per gli avvisi del widget di spostamento tra marcatori dell'editor.","Intestazione avviso per lo sfondo del widget di spostamento tra marcatori dell'editor.","Colore delle informazioni del widget di navigazione marcatori dell'editor.","Intestazione informativa per lo sfondo del widget di spostamento tra marcatori dell'editor.","Sfondo del widget di spostamento tra marcatori dell'editor."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["Anteprima","Definizioni","Non \xE8 stata trovata alcuna definizione per '{0}'","Non \xE8 stata trovata alcuna definizione","Vai alla definizione","Vai alla &&definizione","Apri definizione lateralmente","Visualizza in anteprima la definizione","Dichiarazioni","Non \xE8 stata trovata alcuna dichiarazione per '{0}'","Dichiarazione non trovata","Vai a dichiarazione","Vai a &&dichiarazione","Non \xE8 stata trovata alcuna dichiarazione per '{0}'","Dichiarazione non trovata","Anteprima dichiarazione","Definizioni di tipo","Non sono state trovate definizioni di tipi per '{0}'","Non sono state trovate definizioni di tipi","Vai alla definizione di tipo","Vai alla &&definizione di tipo","Anteprima definizione di tipo","Implementazioni","Non sono state trovate implementazioni per '{0}'","Non sono state trovate implementazioni","Vai a implementazioni","Vai a &&Implementazioni","Visualizza implementazioni","Non sono stati trovati riferimenti per '{0}'","Non sono stati trovati riferimenti","Vai a Riferimenti","Vai a &&riferimenti","Riferimenti","Anteprima riferimenti","Riferimenti","Vai a qualsiasi simbolo","Posizioni","Nessun risultato per '{0}'","Riferimenti"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["Fare clic per visualizzare {0} definizioni."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["Indica se l'anteprima riferimenti \xE8 visibile, come 'Visualizza in anteprima riferimenti' o 'Visualizza in anteprima la definizione'","Caricamento...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} riferimenti","{0} riferimento","Riferimenti"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["anteprima non disponibile","Nessun risultato","Riferimenti"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["in {0} alla riga {1} della colonna {2}","{0} in {1} alla riga {2} della colonna {3}","1 simbolo in {0}, percorso completo {1}","{0} simboli in {1}, percorso completo {2}","Non sono stati trovati risultati","Trovato 1 simbolo in {0}","Trovati {0} simboli in {1}","Trovati {0} simboli in {1} file"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["Indica se sono presenti posizioni dei simboli a cui \xE8 possibile passare solo tramite la tastiera.","Simbolo {0} di {1}, {2} per il successivo","Simbolo {0} di {1}"],"vs/editor/contrib/hover/browser/hover":["Mostra o sposta lo stato attivo al passaggio del mouse","Mostra anteprima definizione al passaggio del mouse","Scorri verso l'alto al passaggio del mouse","Scorri verso il basso al passaggio del mouse","Scorri a sinistra al passaggio del mouse","Scorri a destra al passaggio del mouse","Vai alla pagina precedente al passaggio del mouse","Vai alla pagina successiva al passaggio del mouse","Vai in alto al passaggio del mouse","Vai in basso al passaggio del mouse"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["Caricamento...","Rendering sospeso per una linea lunga per motivi di prestazioni. Pu\xF2 essere configurato tramite 'editor.stopRenderingLineAfter'.","Per motivi di prestazioni la tokenizzazione viene ignorata per le righe lunghe. \xC8 possibile effettuare questa configurazione tramite `editor.maxTokenizationLineLength`."],"vs/editor/contrib/hover/browser/markerHoverParticipant":["Visualizza problema","Non sono disponibili correzioni rapide","Verifica disponibilit\xE0 correzioni rapide...","Non sono disponibili correzioni rapide","Correzione rapida..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["Sostituisci con il valore precedente","Sostituisci con il valore successivo"],"vs/editor/contrib/indentation/browser/indentation":["Converti rientro in spazi","Converti rientro in tabulazioni","Dimensione tabulazione configurata","Dimensioni predefinite della scheda","Dimensioni della scheda corrente","Seleziona dimensione tabulazione per il file corrente","Imposta rientro con tabulazioni","Imposta rientro con spazi","Modifica dimensioni visualizzazione scheda","Rileva rientro dal contenuto","Imposta nuovo rientro per righe","Re-Indenta le Linee Selezionate"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["Fare doppio clic per inserire","CMD+clic","CTRL+clic","Opzione+clic","ALT+clic","Vai alla definizione ({0}), fai clic con il pulsante destro del mouse per altre informazioni","Vai alla definizione ({0})","Esegui il comando"],"vs/editor/contrib/inlineCompletions/browser/commands":["Mostrare suggerimento inline successivo","Mostrare suggerimento inline precedente","Trigger del suggerimento inline","Accettare suggerimento inline per la parola successiva","Accetta parola","Accetta la riga successiva del suggerimento in linea","Accetta riga","Accetta il suggerimento in linea","Accetta","Nascondi suggerimento inline","Mostra sempre la barra degli strumenti"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["Suggerimento:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["Se \xE8 visibile un suggerimento inline","Se il suggerimento in linea inizia con spazi vuoti","Indica se il suggerimento inline inizia con uno spazio vuoto minore di quello che verrebbe inserito dalla tabulazione","Indica se i suggerimenti devono essere eliminati per il suggerimento corrente"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["Ispezionarlo nella visualizzazione accessibile ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["Icona per visualizzare il suggerimento del parametro successivo.","Icona per visualizzare il suggerimento del parametro precedente.","{0} ({1})","Indietro","Avanti"],"vs/editor/contrib/lineSelection/browser/lineSelection":["Espandere selezione riga"],"vs/editor/contrib/linesOperations/browser/linesOperations":["Copia la riga in alto","&&Copia la riga in alto","Copia la riga in basso","Co&&pia la riga in basso","Duplica selezione","&&Duplica selezione","Sposta la riga in alto","Sposta la riga in &&alto","Sposta la riga in basso","Sposta la riga in &&basso","Ordinamento righe crescente","Ordinamento righe decrescente","Elimina righe duplicate","Taglia spazio vuoto finale","Elimina riga","Imposta un rientro per la riga","Riduci il rientro per la riga","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tutto a sinistra","Elimina tutto a destra","Unisci righe","Trasponi caratteri intorno al cursore","Converti in maiuscolo","Converti in minuscolo","Trasforma in Tutte Iniziali Maiuscole","Trasforma in snake case","Trasforma in caso Camel","Trasformare in caso Kebab"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["Avvia modifica collegata","Colore di sfondo quando l'editor viene rinominato automaticamente in base al tipo."],"vs/editor/contrib/links/browser/links":["Non \xE8 stato possibile aprire questo collegamento perch\xE9 il formato non \xE8 valido: {0}","Non \xE8 stato possibile aprire questo collegamento perch\xE9 manca la destinazione.","Esegui il comando","Visita il collegamento","CMD+clic","CTRL+clic","Opzione+clic","ALT+clic","Esegue il comando {0}","Apri collegamento"],"vs/editor/contrib/message/browser/messageController":["Indica se l'editor visualizza attualmente un messaggio inline"],"vs/editor/contrib/multicursor/browser/multicursor":["Cursore aggiunto: {0}","Cursori aggiunti: {0}","Aggiungi cursore sopra","&&Aggiungi cursore sopra","Aggiungi cursore sotto","A&&ggiungi cursore sotto","Aggiungi cursori a fine riga","Aggiungi c&&ursori a fine riga","Aggiungi cursori alla fine","Aggiungi cursori all'inizio","Aggiungi selezione a risultato ricerca successivo","Aggiungi &&occorrenza successiva","Aggiungi selezione a risultato ricerca precedente","Aggiungi occorrenza &&precedente","Sposta ultima selezione a risultato ricerca successivo","Sposta ultima selezione a risultato ricerca precedente","Seleziona tutte le occorrenze del risultato ricerca","Seleziona &&tutte le occorrenze","Cambia tutte le occorrenze","Attival cursore successivo","Attiva il cursore successivo","Cursore precedente stato attivo","Imposta lo stato attivo sul cursore precedente"],"vs/editor/contrib/parameterHints/browser/parameterHints":["Attiva i suggerimenti per i parametri"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["Icona per visualizzare il suggerimento del parametro successivo.","Icona per visualizzare il suggerimento del parametro precedente.","{0}, suggerimento","Colore di primo piano dell\u2019articolo attivo nel suggerimento di parametro."],"vs/editor/contrib/peekView/browser/peekView":["Indica se l'editor di codice corrente \xE8 incorporato nell'anteprima","Chiudi","Colore di sfondo dell'area del titolo della visualizzazione rapida.","Colore del titolo della visualizzazione rapida.","Colore delle informazioni del titolo della visualizzazione rapida.","Colore dei bordi e della freccia della visualizzazione rapida.","Colore di sfondo dell'elenco risultati della visualizzazione rapida.","Colore primo piano dei nodi riga nell'elenco risultati della visualizzazione rapida.","Colore primo piano dei nodi file nell'elenco risultati della visualizzazione rapida.","Colore di sfondo della voce selezionata nell'elenco risultati della visualizzazione rapida.","Colore primo piano della voce selezionata nell'elenco risultati della visualizzazione rapida.","Colore di sfondo dell'editor di visualizzazioni rapide.","Colore di sfondo della barra di navigazione nell'editor visualizzazione rapida.","Colore di sfondo della barra di scorrimento permanente nell'editor visualizzazione rapida.","Colore dell'evidenziazione delle corrispondenze nell'elenco risultati della visualizzazione rapida.","Colore dell'evidenziazione delle corrispondenze nell'editor di visualizzazioni rapide.","Bordo dell'evidenziazione delle corrispondenze nell'editor di visualizzazioni rapide."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["Aprire prima un editor di testo per passare a una riga.","Vai a riga {0} e carattere {1}.","Vai alla riga {0}.","Riga corrente: {0}, carattere: {1}. Digitare un numero di riga a cui passare compreso tra 1 e {2}.","Riga corrente: {0}, Carattere: {1}. Digitare un numero di riga a cui passare."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["Per passare a un simbolo, aprire prima un editor di testo con informazioni sui simboli.","L'editor di testo attivo non fornisce informazioni sui simboli.","Non ci sono simboli dell'editor corrispondenti","Non ci sono simboli dell'editor","Apri lateralmente","Apri in basso","simboli ({0})","propriet\xE0 ({0})","metodi ({0})","funzioni ({0})","costruttori ({0})","variabili ({0})","classi ({0})","struct ({0})","eventi ({0})","operatori ({0})","interfacce ({0})","spazi dei nomi ({0})","pacchetti ({0})","parametri di tipo ({0})","moduli ({0})","propriet\xE0 ({0})","enumerazioni ({0})","membri di enumerazione ({0})","stringhe ({0})","file ({0})","matrici ({0})","numeri ({0})","valori booleani ({0})","oggetti ({0})","chiavi ({0})","campi ({0})","costanti ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["Non \xE8 possibile modificare nell'input di sola lettura","Non \xE8 possibile modificare nell'editor di sola lettura"],"vs/editor/contrib/rename/browser/rename":["Nessun risultato.","Si \xE8 verificato un errore sconosciuto durante la risoluzione del percorso di ridenominazione","Ridenominazione di '{0}' in '{1}'","Ridenominazione di {0} in {1}","Correttamente rinominato '{0}' in '{1}'. Sommario: {2}","La ridenominazione non \xE8 riuscita ad applicare le modifiche","La ridenominazione non \xE8 riuscita a calcolare le modifiche","Rinomina simbolo","Abilita/Disabilita l'opzione per visualizzare le modifiche in anteprima prima della ridenominazione"],"vs/editor/contrib/rename/browser/renameInputField":["Indica se il widget di ridenominazione input \xE8 visibile","Consente di rinominare l'input. Digitare il nuovo nome e premere INVIO per eseguire il commit.","{0} per rinominare, {1} per visualizzare in anteprima"],"vs/editor/contrib/smartSelect/browser/smartSelect":["Espandi selezione","Espan&&di selezione","Riduci selezione","&&Riduci selezione"],"vs/editor/contrib/snippet/browser/snippetController2":["Indica se l'editor \xE8 quello corrente nella modalit\xE0 frammenti","Indica se \xE8 presente una tabulazione successiva in modalit\xE0 frammenti","Indica se \xE8 presente una tabulazione precedente in modalit\xE0 frammenti","Vai al segnaposto successivo..."],"vs/editor/contrib/snippet/browser/snippetVariables":["Domenica","Luned\xEC","Marted\xEC","Mercoled\xEC","Gioved\xEC","Venerd\xEC","Sabato","Dom","Lun","Mar","Mer","Gio","Ven","Sab","Gennaio","Febbraio","Marzo","Aprile","Mag","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre","Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["Alternanza scorrimento permanente","&&Alternanza scorrimento permanente","Scorrimento permanente","&&Scorrimento permanente","Sposta stato attivo su Scorrimento permanente","&&Sposta stato attivo su Scorrimento permanente","Seleziona la riga di scorrimento permanente successiva","Seleziona riga di scorrimento permanente precedente","Vai alla linea di scorrimento permanente attiva","Selezionare l'editor"],"vs/editor/contrib/suggest/browser/suggest":["Indica se i suggerimenti sono evidenziati","Indica se i dettagli dei suggerimenti sono visibili","Indica se sono presenti pi\xF9 suggerimenti da cui scegliere","Indica se l'inserimento del suggerimento corrente comporta una modifica oppure se completa gi\xE0 l'input","Indica se i suggerimenti vengono inseriti quando si preme INVIO","Indica se il suggerimento corrente include il comportamento di inserimento e sostituzione","Indica se il comportamento predefinito \xE8 quello di inserimento o sostituzione","Indica se il suggerimento corrente supporta la risoluzione di ulteriori dettagli"],"vs/editor/contrib/suggest/browser/suggestController":["In seguito all'accettazione di '{0}' sono state apportate altre {1} modifiche","Attiva suggerimento","Inserisci","Inserisci","Sostituisci","Sostituisci","Inserisci","nascondi dettagli","mostra dettagli","Reimposta le dimensioni del widget dei suggerimenti"],"vs/editor/contrib/suggest/browser/suggestWidget":["Colore di sfondo del widget dei suggerimenti.","Colore del bordo del widget dei suggerimenti.","Colore primo piano del widget dei suggerimenti.","Colore primo piano della voce selezionata del widget dei suggerimenti.","Colore primo piano dell\u2019icona della voce selezionata del widget dei suggerimenti.","Colore di sfondo della voce selezionata del widget dei suggerimenti.","Colore delle evidenziazioni corrispondenze nel widget dei suggerimenti.","Colore delle evidenziazioni corrispondenze nel widget dei suggerimenti quando lo stato attivo si trova su un elemento.","Colore primo piano dello stato del widget dei suggerimenti.","Caricamento...","Non ci sono suggerimenti.","Suggerisci","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, documenti: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["Chiudi","Caricamento..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["Icona per visualizzare altre informazioni nel widget dei suggerimenti.","Altre informazioni"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["Colore primo piano per i simboli di matrice. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli booleani. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di classe. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di colore. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di costante. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di costruttore. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di enumeratore. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di membro di enumeratore. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di evento. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di campo. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di file. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di cartella. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di funzione. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di interfaccia. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di chiave. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di parola chiave. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di metodo. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di modulo. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di spazio dei nomi. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli Null. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli numerici. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di oggetto. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di operatore. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di pacchetto. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di propriet\xE0. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di riferimento. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di frammento. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di stringa. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di struct. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di testo. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di parametro di tipo. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di unit\xE0. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti.","Colore primo piano per i simboli di variabile. Questi simboli vengono visualizzati nella struttura, nell'elemento di navigazione e nel widget dei suggerimenti."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["Attiva/Disattiva l'uso di TAB per spostare lo stato attivo","Se si preme TAB, lo stato attivo verr\xE0 spostato sull'elemento con stato attivabile successivo.","Se si preme TAB, verr\xE0 inserito il carattere di tabulazione"],"vs/editor/contrib/tokenization/browser/tokenization":["Sviluppatore: Forza retokenizzazione"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["Icona visualizzata con un messaggio di avviso nell'editor delle estensioni.","Questo documento contiene molti caratteri Unicode ASCII non di base","Il documento contiene molti caratteri Unicode ambigui","Questo documento contiene molti caratteri Unicode invisibili","Il carattere {0} potrebbe essere confuso con il carattere ASCII {1}, che \xE8 pi\xF9 comune nel codice sorgente.","Il carattere {0} potrebbe essere confuso con il carattere {1}, che \xE8 pi\xF9 comune nel codice sorgente.","Il carattere {0} \xE8 invisibile.","Il carattere {0} non \xE8 un carattere ASCII di base.","Modificare impostazioni","Disabilita evidenziazione nei commenti","Disabilita l'evidenziazione dei caratteri nei commenti","Disabilita evidenziazione nelle stringhe","Disabilita l'evidenziazione dei caratteri nelle stringhe","Disabilitare evidenziazione ambigua","Disabilitare l'evidenziazione dei caratteri ambigui","Disabilitare evidenziazione invisibile","Disabilitare l'evidenziazione dei caratteri invisibili","Disabilitare evidenziazione non ASCII","Disabilitare l'evidenziazione di caratteri ASCII non di base","Mostrare opzioni di esclusione","Escludere {0} (carattere invisibile) dall'evidenziazione","Escludere {0} dall\u2019essere evidenziata",'Consentire i caratteri Unicode pi\xF9 comuni nel linguaggio "{0}".',"Configurare opzioni evidenziazione Unicode"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["Caratteri di terminazione di riga insoliti","Sono stati rilevati caratteri di terminazione di riga insoliti",'Il file "\r\n" contiene uno o pi\xF9 caratteri di terminazione di riga insoliti, ad esempio separatore di riga (LS) o separatore di paragrafo (PS).{0}\r\n\xC8 consigliabile rimuoverli dal file. \xC8 possibile configurare questa opzione tramite `editor.unusualLineTerminators`.',"&&Rimuovi i caratteri di terminazione di riga insoliti","Ignora"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["Colore di sfondo di un simbolo durante l'accesso in lettura, ad esempio durante la lettura di una variabile. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo di un simbolo durante l'accesso in scrittura, ad esempio durante la scrittura in una variabile. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo di un'occorrenza testuale per un simbolo. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del bordo di un simbolo durante l'accesso in lettura, ad esempio durante la lettura di una variabile.","Colore del bordo di un simbolo durante l'accesso in scrittura, ad esempio durante la scrittura in una variabile.","Colore del bordo di un'occorrenza testuale per un simbolo.","Colore del marcatore del righello delle annotazioni per le evidenziazioni dei simboli. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del marcatore del righello delle annotazioni per le evidenziazioni dei simboli di accesso in scrittura. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del marcatore del righello delle annotazioni di un'occorrenza testuale per un simbolo. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["Vai al prossimo simbolo evidenziato","Vai al precedente simbolo evidenziato","Attiva/disattiva evidenziazione simbolo"],"vs/editor/contrib/wordOperations/browser/wordOperations":["Elimina parola"],"vs/platform/action/common/actionCommonCategories":["Visualizza","Guida","Test","FILE","Preferenze","Sviluppatore"],"vs/platform/actionWidget/browser/actionList":["{0} per Applica, {1} per Anteprima","{0} da applicare","{0}, Motivo disabilitato: {1}","Widget azione"],"vs/platform/actionWidget/browser/actionWidget":["Colore di sfondo per le azioni attivate o disattivate nella barra delle azioni.","Indica se l'elenco di widget azione \xE8 visibile","Nascondi widget azione","Seleziona azione precedente","Seleziona azione successiva","Accetta l'azione selezionata","Anteprima azione selezionata"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["Nascondi","Reimposta menu"],"vs/platform/actions/common/menuService":["Nascondi '{0}'"],"vs/platform/audioCues/browser/audioCueService":["Errore sulla riga","Avviso sulla riga","Area piegata sulla linea","Punto di interruzione sulla riga","Suggerimento inline sulla riga","Correzione rapida terminale","Debugger arrestato sul punto di interruzione","Nessun suggerimento per l'inlay nella riga","Attivit\xE0 completata","Attivit\xE0 non riuscita","Comando terminale non riuscito","Campanello terminale","Cella del notebook completata","La cella del notebook ha avuto esito negativo","Riga diff inserita","Riga diff eliminata","Riga diff modificata","Richiesta chat inviata","Risposta chat ricevuta","Risposta chat in sospeso"],"vs/platform/configuration/common/configurationRegistry":["Override configurazione predefinita del linguaggio","Consente di configurare le impostazioni di cui eseguire l'override per il linguaggio {0}.","Consente di configurare le impostazioni dell'editor di cui eseguire l'override per un linguaggio.","Questa impostazione non supporta la configurazione per lingua.","Consente di configurare le impostazioni dell'editor di cui eseguire l'override per un linguaggio.","Questa impostazione non supporta la configurazione per lingua.","Non \xE8 possibile registrare una propriet\xE0 vuota","Non \xE8 possibile registrare '{0}'. Corrisponde al criterio di propriet\xE0 '\\\\[.*\\\\]$' per la descrizione delle impostazioni dell'editor specifiche del linguaggio. Usare il contributo 'configurationDefaults'.","Non \xE8 possibile registrare '{0}'. Questa propriet\xE0 \xE8 gi\xE0 registrata.","Impossibile registrare '{0}'. Il {1} dei criteri associato \xE8 gi\xE0 registrato con {2}."],"vs/platform/contextkey/browser/contextKeyService":["Comando che restituisce informazioni sulle chiavi di contesto"],"vs/platform/contextkey/common/contextkey":["Espressione chiave di contesto vuota","Si \xE8 dimenticato di scrivere un'espressione? \xC8 anche possibile inserire 'false' o 'true' per restituire sempre rispettivamente false o true.","'in' dopo 'not'.","Parentesi chiusa ')'","Token imprevisto","Si \xE8 dimenticato di inserire && o || prima del token?","Fine imprevista dell'espressione","Si \xE8 dimenticato di inserire una chiave di contesto?",`Previsto: {0}\r +Ricevuto: '{1}'.`],"vs/platform/contextkey/common/contextkeys":["Indica se il sistema operativo \xE8 macOS","Indica se il sistema operativo \xE8 Linux","Indica se il sistema operativo \xE8 Windows","Indica se la piattaforma \xE8 un Web browser","Indica se il sistema operativo \xE8 macOS in una piattaforma non basata su browser","Indica se il sistema operativo \xE8 iOS","Indica se la piattaforma \xE8 un Web browser per dispositivi mobili","Tipo di qualit\xE0 del VS Code","Indica se lo stato attivo della tastiera si trova all'interno di una casella di input"],"vs/platform/contextkey/common/scanner":["Si intendeva {0}?","Si intendeva {0} o {1}?","Si intendeva {0}, {1} o {2}?","Si \xE8 dimenticato di aprire o chiudere la citazione?","Si \xE8 dimenticato di eseguire il carattere di escape '/' (slash)? Inserire due barre rovesciate prima del carattere di escape, ad esempio '\\\\/'."],"vs/platform/history/browser/contextScopedHistoryWidget":["Indica se i suggerimenti sono visibili"],"vs/platform/keybinding/common/abstractKeybindingService":["\xC8 stato premuto ({0}). In attesa del secondo tasto...","\xC8 stato premuto ({0}). In attesa del prossimo tasto...","La combinazione di tasti ({0}, {1}) non \xE8 un comando.","La combinazione di tasti ({0}, {1}) non \xE8 un comando."],"vs/platform/list/browser/listService":["Workbench","Rappresenta il tasto 'Control' in Windows e Linux e il tasto 'Comando' in macOS.","Rappresenta il tasto 'Alt' in Windows e Linux e il tasto 'Opzione' in macOS.","Il modificatore da utilizzare per aggiungere un elemento di alberi e liste ad una selezione multipla con il mouse (ad esempio in Esplora Risorse, apre gli editor e le viste scm). Le gesture del mouse 'Apri a lato' - se supportate - si adatteranno in modo da non creare conflitti con il modificatore di selezione multipla.","Controlla l'apertura degli elementi di alberi ed elenchi tramite il mouse (se supportato). Tenere presente che alcuni alberi ed elenchi potrebbero scegliere di ignorare questa impostazione se non \xE8 applicabile.","Controlla se elenchi e alberi supportano lo scorrimento orizzontale nell'area di lavoro. Avviso: l'attivazione di questa impostazione pu\xF2 influire sulle prestazioni.","Controlla se i clic nella barra di scorrimento scorrono pagina per pagina.","Controlla il rientro dell'albero in pixel.","Controlla se l'albero deve eseguire il rendering delle guide per i rientri.","Controlla se elenchi e alberi prevedono lo scorrimento uniforme.","Moltiplicatore da usare sui valori `deltaX` e `deltaY` degli eventi di scorrimento della rotellina del mouse.","Moltiplicatore della velocit\xE0 di scorrimento quando si preme `Alt`.","Evidenziare gli elementi durante la ricerca. L'ulteriore spostamento verso l'alto e verso il basso attraverser\xE0 solo gli elementi evidenziati.","Filtra gli elementi durante la ricerca.","Controlla la modalit\xE0 di ricerca predefinita per elenchi e alberi nel workbench.","Con lo stile di spostamento da tastiera simple lo stato attivo si trova sugli elementi che corrispondono all'input da tastiera. L'abbinamento viene effettuato solo in base ai prefissi.","Con lo stile di spostamento da tastiera highlight vengono evidenziati gli elementi corrispondenti all'input da tastiera. Spostandosi ulteriormente verso l'alto o verso il basso ci si sposter\xE0 solo negli elementi evidenziati.","Con lo stile di spostamento da tastiera filter verranno filtrati e nascosti tutti gli elementi che non corrispondono all'input da tastiera.","Controlla lo stile di spostamento da tastiera per elenchi e alberi nel workbench. Le opzioni sono: simple, highlight e filter.","In alternativa, usare 'workbench.list.defaultFindMode' e 'workbench.list.typeNavigationMode'.","Usa la corrispondenza fuzzy durante la ricerca.","Usa corrispondenza contigua durante la ricerca.","Controlla il tipo di corrispondenza usato per la ricerca di elenchi e alberi nel workbench.","Controlla l'espansione delle cartelle di alberi quando si fa clic sui nomi delle cartelle. Tenere presente che alcuni alberi ed elenchi potrebbero scegliere di ignorare questa impostazione se non \xE8 applicabile.","Controlla il funzionamento dello spostamento dei tipi in elenchi e alberi nel workbench. Se impostato su 'trigger', l'esplorazione del tipo inizia dopo l'esecuzione del comando 'list.triggerTypeNavigation'."],"vs/platform/markers/common/markers":["Errore","Avviso","Info"],"vs/platform/quickinput/browser/commandsQuickAccess":["usate di recente","comandi simili","pi\xF9 usato","altri comandi","comandi simili","{0}, {1}","Il comando '{0}' ha restituito un errore"],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["Indietro","Premere 'INVIO' per confermare l'input oppure 'ESC' per annullare","{0}/{1}","Digitare per ridurre il numero di risultati."],"vs/platform/quickinput/browser/quickInputController":["Attivare/Disattivare tutte le caselle di controllo","{0} risultati","{0} selezionati","OK","Personalizzato","Indietro ({0})","Indietro"],"vs/platform/quickinput/browser/quickInputList":["Input rapido"],"vs/platform/quickinput/browser/quickInputUtils":["Fare clic per eseguire il comando '{0}'"],"vs/platform/theme/common/colorRegistry":["Colore primo piano generale. Questo colore viene usato solo se non \xE8 sostituito da quello di un componente.","Primo piano generale per gli elementi disabilitati. Questo colore viene usato solo e non \xE8 sostituito da quello di un componente.","Colore primo piano globale per i messaggi di errore. Questo colore viene usato solo se non \xE8 sostituito da quello di un componente.","Colore primo piano del testo che fornisce informazioni aggiuntive, ad esempio per un'etichetta di testo.","Colore predefinito per le icone nel workbench.","Colore del bordo globale per gli elementi evidenziati. Questo colore viene usato solo se non \xE8 sostituito da quello di un componente.","Un bordo supplementare attorno agli elementi per contrastarli maggiormente rispetto agli altri.","Un bordo supplementare intorno agli elementi attivi per contrastarli maggiormente rispetto agli altri.","Il colore di sfondo delle selezioni di testo in workbench (ad esempio per i campi di input o aree di testo). Si noti che questo non si applica alle selezioni all'interno dell'editor.","Colore dei separatori di testo.","Colore primo piano dei link nel testo.","Colore primo piano per i collegamenti nel testo quando vengono selezionati o al passaggio del mouse.","Colore primo piano dei segmenti di testo preformattato.","Colore di sfondo per le citazioni nel testo.","Colore del bordo per le citazioni nel testo.","Colore di sfondo per i blocchi di codice nel testo.","Colore ombreggiatura dei widget, ad es. Trova/Sostituisci all'interno dell'editor.","Colore del bordo dei widget, ad es. Trova/Sostituisci all'interno dell'editor.","Sfondo della casella di input.","Primo piano della casella di input.","Bordo della casella di input.","Colore del bordo di opzioni attivate nei campi di input.","Colore di sfondo di opzioni attivate nei campi di input.","Colore di sfondo al passaggio del mouse delle opzioni nei campi di input.","Colore primo piano di opzioni attivate nei campi di input.","Colore primo piano di casella di input per il testo segnaposto.","Colore di sfondo di convalida dell'input di tipo Informazione.","Colore primo piano di convalida dell'input di tipo Informazione.","Colore del bordo della convalida dell'input di tipo Informazione.","Colore di sfondo di convalida dell'input di tipo Avviso.","Colore primo piano di convalida dell'input di tipo Avviso.","Colore del bordo della convalida dell'input di tipo Avviso.","Colore di sfondo di convalida dell'input di tipo Errore.","Colore primo piano di convalida dell'input di tipo Errore.","Colore del bordo della convalida dell'input di tipo Errore.","Sfondo dell'elenco a discesa.","Sfondo dell'elenco a discesa.","Primo piano dell'elenco a discesa.","Bordo dell'elenco a discesa.","Colore primo piano del pulsante.","Colore del separatore pulsante.","Colore di sfondo del pulsante.","Colore di sfondo del pulsante al passaggio del mouse.","Colore del bordo del pulsante.","Colore primo piano secondario del pulsante.","Colore di sfondo secondario del pulsante.","Colore di sfondo secondario del pulsante al passaggio del mouse.","Colore di sfondo del badge. I badge sono piccole etichette informative, ad esempio per mostrare il conteggio dei risultati della ricerca.","Colore primo piano del badge. I badge sono piccole etichette informative, ad esempio per mostrare il conteggio dei risultati di una ricerca.","Ombra della barra di scorrimento per indicare lo scorrimento della visualizzazione.","Colore di sfondo del cursore della barra di scorrimento.","Colore di sfondo del cursore della barra di scorrimento al passaggio del mouse.","Colore di sfondo del cursore della barra di scorrimento quando si fa clic con il mouse.","Colore di sfondo dell'indicatore di stato che pu\xF2 essere mostrato per operazioni a esecuzione prolungata.","Colore di sfondo del testo dell'errore nell'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore primo piano degli indicatori di errore nell'editor.","Se impostato, colore delle doppie sottolineature per gli errori nell'editor.","Colore di sfondo del testo dell'avviso nell'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore primo piano degli indicatori di avviso nell'editor.","Se impostato, colore delle doppie sottolineature per gli avvisi nell'editor.","Colore di sfondo del testo delle informazioni nell'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore primo piano degli indicatori di informazioni nell'editor.","Se impostato, colore delle doppie sottolineature per i messaggi informativi nell'editor.","Colore primo piano degli indicatori di suggerimento nell'editor.","Se impostato, colore delle doppie sottolineature per i suggerimenti nell'editor.","Colore dei bordi di ridimensionamento attivi.","Colore di sfondo dell'editor.","Colore primo piano predefinito dell'editor.","Colore di sfondo dello scorrimento permanente per l'editor","Colore di sfondo dello scorrimento permanente al passaggio del mouse per l'editor","Colore di sfondo dei widget dell'editor, ad esempio Trova/Sostituisci.","Colore primo piano dei widget dell'editor, ad esempio Trova/Sostituisci.","Colore del bordo dei widget dell'editor. Il colore viene usato solo se il widget sceglie di avere un bordo e se il colore non \xE8 sottoposto a override da un widget.","Colore del bordo della barra di ridimensionamento dei widget dell'editor. Il colore viene usato solo se il widget sceglie di avere un bordo di ridimensionamento e se il colore non \xE8 sostituito da quello di un widget.","Colore di sfondo di Selezione rapida. Il widget Selezione rapida \xE8 il contenitore di selezioni quali il riquadro comandi.","Colore primo piano di Selezione rapida. Il widget Selezione rapida \xE8 il contenitore di selezioni quali il riquadro comandi.","Colore di sfondo del titolo di Selezione rapida. Il widget Selezione rapida \xE8 il contenitore di selezioni quali il riquadro comandi.","Colore di selezione rapida per il raggruppamento delle etichette.","Colore di selezione rapida per il raggruppamento dei bordi.","Colore di sfondo dell'etichetta del tasto di scelta rapida. L'etichetta del tasto di scelta rapida viene usata per rappresentare una scelta rapida da tastiera.","Colore primo piano dell'etichetta del tasto di scelta rapida. L'etichetta del tasto di scelta rapida viene usata per rappresentare una scelta rapida da tastiera.","Colore del bordo dell'etichetta del tasto di scelta rapida. L'etichetta del tasto di scelta rapida viene usata per rappresentare una scelta rapida da tastiera.","Colore inferiore del bordo dell'etichetta del tasto di scelta rapida. L'etichetta del tasto di scelta rapida viene usata per rappresentare una scelta rapida da tastiera.","Colore della selezione dell'editor.","Colore del testo selezionato per il contrasto elevato.","Colore della selezione in un editor inattivo. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore delle aree con lo stesso contenuto della selezione. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del bordo delle regioni con lo stesso contenuto della selezione.","Colore della corrispondenza di ricerca corrente.","Colore degli altri risultati della ricerca. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore dell'intervallo di limite della ricerca. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del bordo della corrispondenza della ricerca corrente.","Colore del bordo delle altre corrispondenze della ricerca.","Colore del bordo dell'intervallo che limita la ricerca. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore delle corrispondenze query dell'editor della ricerca.","Colore del bordo delle corrispondenze query dell'editor della ricerca.","Colore del testo nel messaggio di completamento del viewlet di ricerca.","Evidenziazione sotto la parola per cui \xE8 visualizzata un'area sensibile al passaggio del mouse. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo dell'area sensibile al passaggio del mouse dell'editor.","Colore primo piano dell'area sensibile al passaggio del mouse dell'editor.","Colore del bordo dell'area sensibile al passaggio del mouse dell'editor.","Colore di sfondo della barra di stato sensibile al passaggio del mouse dell'editor.","Colore dei collegamenti attivi.","Colore primo piano dei suggerimenti inline","Colore di sfondo dei suggerimenti inline","Colore primo piano dei suggerimenti inline per i tipi","Colore di sfondo dei suggerimenti inline per i tipi","Colore primo piano dei suggerimenti inline per i parametri","Colore di sfondo dei suggerimenti inline per i parametri","Colore usato per l'icona delle azioni con lampadina.","Colore usato per l'icona delle azioni di correzione automatica con lampadina.","Colore di sfondo per il testo che \xE8 stato inserito. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo per il testo che \xE8 stato rimosso. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo per le righe che sono state inserite. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo per le righe che sono state rimosse. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore di sfondo per il margine in cui sono state inserite le righe.","Colore di sfondo per il margine in cui sono state rimosse le righe.","Primo piano del righello delle annotazioni delle differenze per il contenuto inserito.","Primo piano del righello delle annotazioni delle differenze per il contenuto rimosso.","Colore del contorno del testo che \xE8 stato inserito.","Colore del contorno del testo che \xE8 stato rimosso.","Colore del bordo tra due editor di testo.","Colore del riempimento diagonale dell'editor diff. Il riempimento diagonale viene usato nelle visualizzazioni diff affiancate.","Colore di sfondo dei blocchi non modificati nell'editor diff.","Colore di primo piano dei blocchi non modificati nell'editor diff.","Colore di sfondo del codice non modificato nell'editor diff.","Colore di sfondo dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore primo piano dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore del contorno dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore del contorno dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 attivo e selezionato. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore di sfondo dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore primo piano dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore primo piano dell\u2019icona dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore di sfondo dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 inattivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore primo piano dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 inattivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore primo piano dell\u2019icona dell'elenco/albero per l'elemento selezionato quando l'elenco/albero \xE8 inattivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Colore di sfondo dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 inattivo. Un elenco/albero attivo ha lo stato attivo della tastiera, uno inattivo no.","Colore del contorno dell'elenco/albero per l'elemento con lo stato attivo quando l'elenco/albero \xE8 inattivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.","Sfondo dell'elenco/albero al passaggio del mouse sugli elementi.","Primo piano dell'elenco/albero al passaggio del mouse sugli elementi.","Sfondo dell'elenco/albero durante il trascinamento degli elementi selezionati.","Colore primo piano Elenco/Struttura ad albero delle occorrenze trovate durante la ricerca nell'Elenco/Struttura ad albero.","Colore primo piano Elenco/Struttura ad albero delle occorrenze trovate in elementi con lo stato attivo durante la ricerca nell'Elenco/Struttura ad albero.","Colore primo piano dell'elenco/albero delle occorrenze trovate durante la ricerca nell'elenco/albero.","Colore primo piano delle voci di elenco contenenti errori.","Colore primo piano delle voci di elenco contenenti avvisi.","Colore di sfondo del widget del filtro per tipo in elenchi e alberi.","Colore del contorno del widget del filtro per tipo in elenchi e alberi.","Colore del contorno del widget del filtro per tipo in elenchi e alberi quando non sono presenti corrispondenze.","Colore ombreggiatura del widget del filtro sul tipo negli elenchi e alberi.","Colore di sfondo della corrispondenza filtrata.","Colore del bordo della corrispondenza filtrata.","Colore del tratto dell'albero per le guide per i rientri.","Colore del tratto dell'albero per le guide di rientro non attive.","Colore del bordo della tabella tra le colonne.","Colore di sfondo per le righe di tabella dispari.","Colore primo piano dell'elenco/albero per gli elementi non evidenziati.","Colore di sfondo del widget della casella di controllo.","Colore di sfondo del widget della casella di controllo quando \xE8 selezionato l'elemento in cui si trova.","Colore primo piano del widget della casella di controllo.","Colore del bordo del widget della casella di controllo.","Colore del bordo del widget della casella di controllo quando \xE8 selezionato l'elemento in cui si trova.","In alternativa, usare quickInputList.focusBackground","Colore primo piano di Selezione rapida per l'elemento con lo stato attivo.","Colore primo piano dell\u2019icona di Selezione rapida per l'elemento con lo stato attivo.","Colore di sfondo di Selezione rapida per l'elemento con lo stato attivo.","Colore del bordo del menu.","Colore primo piano delle voci di menu.","Colore di sfondo delle voci di menu.","Colore primo piano della voce di menu selezionata nei menu.","Colore di sfondo della voce di menu selezionata nei menu.","Colore del bordo della voce di menu selezionata nei menu.","Colore di un elemento separatore delle voci di menu.","Sfondo della barra degli strumenti al passaggio del mouse sulle azioni","Contorno della barra degli strumenti al passaggio del mouse sulle azioni","Sfondo della barra degli strumenti quando si tiene premuto il mouse sulle azioni","Colore di sfondo dell'evidenziazione della tabulazione di un frammento.","Colore del bordo dell'evidenziazione della tabulazione di un frammento.","Colore di sfondo dell'evidenziazione della tabulazione finale di un frammento.","Colore del bordo dell'evidenziazione della tabulazione finale di un frammento.","Colore degli elementi di navigazione in evidenza.","Colore di sfondo degli elementi di navigazione.","Colore degli elementi di navigazione in evidenza.","Colore degli elementi di navigazione selezionati.","Colore di sfondo del controllo di selezione elementi di navigazione.","Sfondo dell'intestazione delle modifiche correnti nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Sfondo del contenuto delle modifiche correnti nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Sfondo dell'intestazione delle modifiche in ingresso nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Sfondo del contenuto delle modifiche in ingresso nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Sfondo dell'intestazione del predecessore comune nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Sfondo del contenuto del predecessore comune nei conflitti di merge inline. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del bordo nelle intestazioni e sulla barra di divisione di conflitti di merge in linea.","Colore primo piano del righello delle annotazioni delle modifiche correnti per i conflitti di merge inline.","Colore primo piano del righello delle annotazioni delle modifiche in ingresso per i conflitti di merge inline.","Colore primo piano del righello delle annotazioni del predecessore comune per i conflitti di merge inline.","Colore del marcatore del righello delle annotazioni per la ricerca di corrispondenze. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del marcatore del righello delle annotazioni per le evidenziazioni delle selezioni. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.","Colore del marcatore della minimappa per la ricerca delle corrispondenze.","Colore del marcatore della minimappa per le selezioni ripetute dell'editor.","Colore del marcatore della minimappa per la selezione dell'editor.","Colore del marcatore della minimappa per le informazioni.","Colore del marcatore della minimappa per gli avvisi.","Colore del marcatore della minimappa per gli errori.","Colore di sfondo della minimappa.",'Opacit\xE0 degli elementi in primo piano di cui \xE8 stato eseguito il rendering nella minimappa. Ad esempio, con "#000000c0" il rendering degli elementi verr\xE0 eseguito con il 75% di opacit\xE0.',"Colore di sfondo del dispositivo di scorrimento della minimappa.","Colore di sfondo del dispositivo di scorrimento della minimappa al passaggio del mouse.","Colore di sfondo del dispositivo di scorrimento della minimappa quando si fa clic con il mouse.","Colore usato per l'icona di errore dei problemi.","Colore usato per l'icona di avviso dei problemi.","Colore usato per l'icona informazioni dei problemi.","Colore primo piano usato nei grafici.","Colore usato per le linee orizzontali nei grafici.","Colore rosso usato nelle visualizzazioni grafico.","Colore blu usato nelle visualizzazioni grafico.","Colore giallo usato nelle visualizzazioni grafico.","Colore arancione usato nelle visualizzazioni grafico.","Colore verde usato nelle visualizzazioni grafico.","Colore viola usato nelle visualizzazioni grafico."],"vs/platform/theme/common/iconRegistry":["ID del tipo di carattere da usare. Se non \xE8 impostato, viene usato il tipo di carattere definito per primo.","Tipo di carattere associato alla definizione di icona.","Icona dell'azione di chiusura nei widget.","Icona per la posizione di Vai a editor precedente.","Icona per la posizione di Vai a editor successivo."],"vs/platform/undoRedo/common/undoRedoService":["I file seguenti sono stati chiusi e modificati nel disco: {0}.","I file seguenti sono stati modificati in modo incompatibile: {0}.","Non \xE8 stato possibile annullare '{0}' in tutti i file. {1}","Non \xE8 stato possibile annullare '{0}' in tutti i file. {1}","Non \xE8 stato possibile annullare '{0}' in tutti i file perch\xE9 sono state apportate modifiche a {1}","Non \xE8 stato possibile annullare '{0}' su tutti i file perch\xE9 \xE8 gi\xE0 in esecuzione un'operazione di annullamento o ripetizione su {1}","Non \xE8 stato possibile annullare '{0}' su tutti i file perch\xE9 nel frattempo \xE8 stata eseguita un'operazione di annullamento o ripetizione","Annullare '{0}' in tutti i file?","&&Annulla in {0} file","Annulla questo &&file","Non \xE8 stato possibile annullare '{0}' perch\xE9 \xE8 gi\xE0 in esecuzione un'operazione di annullamento o ripetizione.","Annullare '{0}'?","&&S\xEC","No","Non \xE8 stato possibile ripetere '{0}' in tutti i file. {1}","Non \xE8 stato possibile ripetere '{0}' in tutti i file. {1}","Non \xE8 stato possibile ripetere '{0}' in tutti i file perch\xE9 sono state apportate modifiche a {1}","Non \xE8 stato possibile ripetere l'operazione '{0}' su tutti i file perch\xE9 \xE8 gi\xE0 in esecuzione un'operazione di annullamento o ripetizione sull'elenco di file {1}","Non \xE8 stato possibile ripetere '{0}' su tutti i file perch\xE9 nel frattempo \xE8 stata eseguita un'operazione di annullamento o ripetizione","Non \xE8 stato possibile ripetere '{0}' perch\xE9 \xE8 gi\xE0 in esecuzione un'operazione di annullamento o ripetizione."],"vs/platform/workspace/common/workspace":["Area di lavoro del codice"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.it.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ja.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ja.js new file mode 100644 index 0000000..e7f319e --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ja.js @@ -0,0 +1,31 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.ja",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["\u5165\u529B"],"vs/base/browser/ui/findinput/findInputToggles":["\u5927\u6587\u5B57\u3068\u5C0F\u6587\u5B57\u3092\u533A\u5225\u3059\u308B","\u5358\u8A9E\u5358\u4F4D\u3067\u691C\u7D22\u3059\u308B","\u6B63\u898F\u8868\u73FE\u3092\u4F7F\u7528\u3059\u308B"],"vs/base/browser/ui/findinput/replaceInput":["\u5165\u529B","\u4FDD\u6301\u3059\u308B"],"vs/base/browser/ui/hover/hoverWidget":["{0} \u3092\u4F7F\u7528\u3057\u3066\u3001\u30E6\u30FC\u30B6\u30FC\u88DC\u52A9\u5BFE\u5FDC\u306E\u30D3\u30E5\u30FC\u3067\u3053\u308C\u3092\u691C\u67FB\u3057\u307E\u3059\u3002","\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9\u3092\u4ECB\u3057\u3066\u73FE\u5728\u30C8\u30EA\u30AC\u30FC\u3067\u304D\u306A\u3044 [\u30E6\u30FC\u30B6\u30FC\u88DC\u52A9\u5BFE\u5FDC\u306E\u30D3\u30E5\u30FC\u3092\u958B\u304F] \u30B3\u30DE\u30F3\u30C9\u3092\u4F7F\u7528\u3057\u3066\u3001\u30E6\u30FC\u30B6\u30FC\u88DC\u52A9\u5BFE\u5FDC\u306E\u30D3\u30E5\u30FC\u3067\u3053\u308C\u3092\u691C\u67FB\u3057\u307E\u3059\u3002"],"vs/base/browser/ui/iconLabel/iconLabelHover":["\u8AAD\u307F\u8FBC\u307F\u4E2D..."],"vs/base/browser/ui/inputbox/inputBox":["\u30A8\u30E9\u30FC: {0}","\u8B66\u544A: {0}","\u60C5\u5831: {0}","\u5C65\u6B74\u5BFE\u8C61","\u30AF\u30EA\u30A2\u3055\u308C\u305F\u5165\u529B"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["\u30D0\u30A4\u30F3\u30C9\u306A\u3057"],"vs/base/browser/ui/selectBox/selectBoxCustom":["\u30DC\u30C3\u30AF\u30B9\u3092\u9078\u629E"],"vs/base/browser/ui/toolbar/toolbar":["\u305D\u306E\u4ED6\u306E\u64CD\u4F5C..."],"vs/base/browser/ui/tree/abstractTree":["\u30D5\u30A3\u30EB\u30BF\u30FC","\u3042\u3044\u307E\u3044\u4E00\u81F4","\u5165\u529B\u3057\u3066\u30D5\u30A3\u30EB\u30BF\u30FC","\u5165\u529B\u3057\u3066\u691C\u7D22","\u5165\u529B\u3057\u3066\u691C\u7D22","\u9589\u3058\u308B","\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002"],"vs/base/common/actions":["(\u7A7A)"],"vs/base/common/errorMessage":["{0}: {1}","\u30B7\u30B9\u30C6\u30E0 \u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F ({0})","\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u30ED\u30B0\u3067\u8A73\u7D30\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u30ED\u30B0\u3067\u8A73\u7D30\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","{0} (\u5408\u8A08 {1} \u30A8\u30E9\u30FC)","\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u30ED\u30B0\u3067\u8A73\u7D30\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"],"vs/base/common/keybindingLabels":["Ctrl","Shift","Alt","Windows","Ctrl","Shift","Alt","Super","Control","Shift","\u30AA\u30D7\u30B7\u30E7\u30F3","\u30B3\u30DE\u30F3\u30C9","Control","Shift","Alt","Windows","Control","Shift","Alt","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\u30A8\u30C7\u30A3\u30BF\u30FC","\u3053\u306E\u6642\u70B9\u3067\u306F\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\u3002","{0} \u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u6700\u9069\u5316\u30E2\u30FC\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u306B\u306F\u3001{1} \u3092\u4F7F\u7528\u3057\u307E\u3059","{0} \u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u6700\u9069\u5316\u30E2\u30FC\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u306B\u306F\u3001{1} \u3067\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AF\u3092\u958B\u304D\u3001[\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC \u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3 \u30E2\u30FC\u30C9\u306E\u5207\u308A\u66FF\u3048] \u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u73FE\u5728\u30AD\u30FC\u30DC\u30FC\u30C9\u304B\u3089\u30C8\u30EA\u30AC\u30FC\u3067\u304D\u307E\u305B\u3093\u3002","{0} {1} \u3067\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9 \u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30A2\u30AF\u30BB\u30B9\u3057\u3001\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC \u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3 \u30E2\u30FC\u30C9\u306E\u5207\u308A\u66FF\u3048\u30B3\u30DE\u30F3\u30C9\u306B\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092\u5272\u308A\u5F53\u3066\u3066\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"],"vs/editor/browser/coreCommands":["\u9577\u3044\u884C\u306B\u79FB\u52D5\u3057\u3066\u3082\u884C\u672B\u306B\u4F4D\u7F6E\u3057\u307E\u3059","\u9577\u3044\u884C\u306B\u79FB\u52D5\u3057\u3066\u3082\u884C\u672B\u306B\u4F4D\u7F6E\u3057\u307E\u3059","\u30BB\u30AB\u30F3\u30C0\u30EA \u30AB\u30FC\u30BD\u30EB\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F"],"vs/editor/browser/editorExtensions":["\u5143\u306B\u623B\u3059(&&U)","\u5143\u306B\u623B\u3059","\u3084\u308A\u76F4\u3057(&&R)","\u3084\u308A\u76F4\u3057","\u3059\u3079\u3066\u9078\u629E(&&S)","\u3059\u3079\u3066\u3092\u9078\u629E"],"vs/editor/browser/widget/codeEditorWidget":["\u30AB\u30FC\u30BD\u30EB\u306E\u6570\u306F {0} \u306B\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5927\u304D\u306A\u5909\u66F4\u3092\u884C\u3046\u5834\u5408\u306F\u3001[\u691C\u7D22\u3068\u7F6E\u63DB](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) \u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3092\u691C\u8A0E\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30DE\u30EB\u30C1 \u30AB\u30FC\u30BD\u30EB\u306E\u4E0A\u9650\u3092\u5897\u3084\u3059"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC\u306E [\u633F\u5165] \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC\u306E [\u524A\u9664] \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC\u306E [\u9589\u3058\u308B] \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u9589\u3058\u308B","\u30A2\u30AF\u30BB\u30B9\u53EF\u80FD\u306A Diff Viewer\u3002\u4E0A\u4E0B\u65B9\u5411\u30AD\u30FC\u3092\u4F7F\u7528\u3057\u3066\u79FB\u52D5\u3057\u307E\u3059\u3002","\u5909\u66F4\u3055\u308C\u305F\u884C\u306F\u3042\u308A\u307E\u305B\u3093","1 \u884C\u304C\u5909\u66F4\u3055\u308C\u307E\u3057\u305F","{0} \u884C\u304C\u5909\u66F4\u3055\u308C\u307E\u3057\u305F","\u76F8\u9055 {0}/{1}: \u5143\u306E\u884C {2}\u3001{3}\u3002\u5909\u66F4\u3055\u308C\u305F\u884C {4}\u3001{5}","\u7A7A\u767D","{0} \u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u884C {1}","{0} \u5143\u306E\u884C {1} \u5909\u66F4\u3055\u308C\u305F\u884C {2}","+ {0} \u5909\u66F4\u3055\u308C\u305F\u884C {1}","- {0} \u5143\u306E\u884C {1}"],"vs/editor/browser/widget/diffEditor/colors":["\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u79FB\u52D5\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u79FB\u52D5\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u5883\u754C\u7DDA\u306E\u8272\u3002"],"vs/editor/browser/widget/diffEditor/decorations":["\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u633F\u5165\u3092\u793A\u3059\u884C\u306E\u88C5\u98FE\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u524A\u9664\u3092\u793A\u3059\u884C\u306E\u88C5\u98FE\u3002","\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u5909\u66F4\u3092\u5143\u306B\u623B\u3059"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u9818\u57DF\u306E\u6298\u308A\u305F\u305F\u307F\u306E\u5207\u308A\u66FF\u3048","\u79FB\u52D5\u3057\u305F\u30B3\u30FC\u30C9 \u30D6\u30ED\u30C3\u30AF\u306E\u8868\u793A\u306E\u5207\u308A\u66FF\u3048","\u30B9\u30DA\u30FC\u30B9\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306B [\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D3\u30E5\u30FC\u306E\u4F7F\u7528] \u3092\u5207\u308A\u66FF\u3048\u308B","\u30B9\u30DA\u30FC\u30B9\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306F\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D3\u30E5\u30FC\u3092\u4F7F\u7528\u3059\u308B","\u79FB\u52D5\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30D6\u30ED\u30C3\u30AF\u306E\u8868\u793A","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC","\u30B5\u30A4\u30C9\u306E\u5207\u308A\u66FF\u3048","\u6BD4\u8F03\u79FB\u52D5\u306E\u7D42\u4E86","\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u3059\u3079\u3066\u306E\u30EA\u30FC\u30B8\u30E7\u30F3\u3092\u6298\u308A\u305F\u305F\u3080","\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u3059\u3079\u3066\u306E\u30EA\u30FC\u30B8\u30E7\u30F3\u3092\u8868\u793A\u3059\u308B","\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC","\u6B21\u306E\u5DEE\u5206\u306B\u79FB\u52D5","\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC\u3092\u958B\u304F","\u524D\u306E\u5DEE\u5206\u306B\u79FB\u52D5"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" {0}\u3092\u4F7F\u7528\u3057\u3066\u3001\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u30D8\u30EB\u30D7\u3092\u958B\u304D\u307E\u3059\u3002"],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u9818\u57DF\u3092\u6298\u308A\u305F\u305F\u3080","\u30AF\u30EA\u30C3\u30AF\u307E\u305F\u306F\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u4E0A\u306B\u3082\u3063\u3068\u8868\u793A\u3059\u308B","\u3059\u3079\u3066\u3092\u8868\u793A","\u30AF\u30EA\u30C3\u30AF\u307E\u305F\u306F\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u4E0B\u306B\u3082\u3063\u3068\u8868\u793A\u3059\u308B","\u975E\u8868\u793A {0} \u884C","\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u5C55\u958B\u3059\u308B"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["\u524A\u9664\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC","\u524A\u9664\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC","\u5909\u66F4\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC","\u5909\u66F4\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC","\u524A\u9664\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC ({0})","\u5909\u66F4\u3055\u308C\u305F\u884C\u306E\u30B3\u30D4\u30FC ({0})","\u3053\u306E\u5909\u66F4\u3092\u5143\u306B\u623B\u3059"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["\u884C {0}-{1} \u306B\u5909\u66F4\u3092\u52A0\u3048\u3066\u30B3\u30FC\u30C9\u3092\u79FB\u52D5\u3057\u307E\u3057\u305F","\u884C {0}-{1} \u304B\u3089\u5909\u66F4\u3092\u52A0\u3048\u3066\u30B3\u30FC\u30C9\u304C\u79FB\u52D5\u3055\u308C\u307E\u3057\u305F","\u30B3\u30FC\u30C9\u3092\u884C {0}-{1} \u306B\u79FB\u52D5\u3057\u307E\u3057\u305F","\u884C {0}-{1} \u304B\u3089\u79FB\u52D5\u3055\u308C\u305F\u30B3\u30FC\u30C9"],"vs/editor/common/config/editorConfigurationSchema":["\u30A8\u30C7\u30A3\u30BF\u30FC","1 \u3064\u306E\u30BF\u30D6\u306B\u76F8\u5F53\u3059\u308B\u30B9\u30DA\u30FC\u30B9\u306E\u6570\u3002{0} \u304C\u30AA\u30F3\u306E\u5834\u5408\u3001\u3053\u306E\u8A2D\u5B9A\u306F\u30D5\u30A1\u30A4\u30EB \u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u57FA\u3065\u3044\u3066\u4E0A\u66F8\u304D\u3055\u308C\u307E\u3059\u3002",'\u30A4\u30F3\u30C7\u30F3\u30C8\u307E\u305F\u306F `"tabSize"` \u3067 `#editor.tabSize#` \u306E\u5024\u3092\u4F7F\u7528\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u308B\u30B9\u30DA\u30FC\u30B9\u306E\u6570\u3002\u3053\u306E\u8A2D\u5B9A\u306F\u3001 `#editor.detectIndentation#` \u304C\u30AA\u30F3\u306E\u5834\u5408\u3001\u30D5\u30A1\u30A4\u30EB\u306E\u5185\u5BB9\u306B\u57FA\u3065\u3044\u3066\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3055\u308C\u307E\u3059\u3002',"`Tab` \u30AD\u30FC\u3092\u62BC\u3059\u3068\u30B9\u30DA\u30FC\u30B9\u304C\u633F\u5165\u3055\u308C\u307E\u3059\u3002{0} \u304C\u30AA\u30F3\u306E\u5834\u5408\u3001\u3053\u306E\u8A2D\u5B9A\u306F\u30D5\u30A1\u30A4\u30EB \u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u57FA\u3065\u3044\u3066\u4E0A\u66F8\u304D\u3055\u308C\u307E\u3059\u3002","\u30D5\u30A1\u30A4\u30EB\u304C\u30D5\u30A1\u30A4\u30EB\u306E\u5185\u5BB9\u306B\u57FA\u3065\u3044\u3066\u958B\u304B\u308C\u308B\u5834\u5408\u3001{0} \u3068 {1} \u3092\u81EA\u52D5\u7684\u306B\u691C\u51FA\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u81EA\u52D5\u633F\u5165\u3055\u308C\u305F\u672B\u5C3E\u306E\u7A7A\u767D\u3092\u524A\u9664\u3057\u307E\u3059\u3002","\u5927\u304D\u306A\u30D5\u30A1\u30A4\u30EB\u3067\u30E1\u30E2\u30EA\u304C\u96C6\u4E2D\u3059\u308B\u7279\u5B9A\u306E\u6A5F\u80FD\u3092\u7121\u52B9\u306B\u3059\u308B\u305F\u3081\u306E\u7279\u5225\u306A\u51E6\u7406\u3002","\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u306E\u5358\u8A9E\u306B\u57FA\u3065\u3044\u3066\u5165\u529B\u5019\u88DC\u3092\u8A08\u7B97\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304B\u3089\u306E\u307F\u5358\u8A9E\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u540C\u3058\u8A00\u8A9E\u306E\u958B\u3044\u3066\u3044\u308B\u3059\u3079\u3066\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304B\u3089\u5358\u8A9E\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u958B\u3044\u3066\u3044\u308B\u3059\u3079\u3066\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304B\u3089\u5358\u8A9E\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u5358\u8A9E\u30D9\u30FC\u30B9\u306E\u5165\u529B\u5019\u88DC\u304C\u8A08\u7B97\u3055\u308C\u308B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30BB\u30DE\u30F3\u30C6\u30A3\u30C3\u30AF\u306E\u5F37\u8ABF\u8868\u793A\u304C\u3059\u3079\u3066\u306E\u914D\u8272\u30C6\u30FC\u30DE\u306B\u3064\u3044\u3066\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\u3002","\u30BB\u30DE\u30F3\u30C6\u30A3\u30C3\u30AF\u306E\u5F37\u8ABF\u8868\u793A\u304C\u3059\u3079\u3066\u306E\u914D\u8272\u30C6\u30FC\u30DE\u306B\u3064\u3044\u3066\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\u3002","\u30BB\u30DE\u30F3\u30C6\u30A3\u30C3\u30AF\u306E\u5F37\u8ABF\u8868\u793A\u306F\u3001\u73FE\u5728\u306E\u914D\u8272\u30C6\u30FC\u30DE\u306E 'semanticHighlighting' \u8A2D\u5B9A\u306B\u3088\u3063\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002","semanticHighlighting \u3092\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u308B\u8A00\u8A9E\u3067\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u304B\u3001`Escape` \u30AD\u30FC\u3092\u62BC\u3057\u3066\u3082\u3001\u30D4\u30FC\u30AF \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3044\u305F\u307E\u307E\u306B\u3057\u307E\u3059\u3002","\u3053\u306E\u9577\u3055\u3092\u8D8A\u3048\u308B\u884C\u306F\u3001\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u4E0A\u306E\u7406\u7531\u306B\u3088\u308A\u30C8\u30FC\u30AF\u30F3\u5316\u3055\u308C\u307E\u305B\u3093\u3002","Web \u30EF\u30FC\u30AB\u30FC\u3067\u30C8\u30FC\u30AF\u30F3\u5316\u3092\u975E\u540C\u671F\u7684\u306B\u884C\u3046\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u975E\u540C\u671F\u30C8\u30FC\u30AF\u30F3\u5316\u3092\u30ED\u30B0\u306B\u8A18\u9332\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u30C7\u30D0\u30C3\u30B0\u7528\u306E\u307F\u3002","\u5F93\u6765\u306E\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9 \u30C8\u30FC\u30AF\u30F3\u5316\u306B\u5BFE\u3057\u3066\u975E\u540C\u671F\u30C8\u30FC\u30AF\u30F3\u5316\u3092\u691C\u8A3C\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u30C8\u30FC\u30AF\u30F3\u5316\u304C\u9045\u304F\u306A\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u30C7\u30D0\u30C3\u30B0\u5C02\u7528\u3067\u3059\u3002","\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u5897\u6E1B\u3059\u308B\u89D2\u304B\u3063\u3053\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002","\u5DE6\u89D2\u304B\u3063\u3053\u307E\u305F\u306F\u6587\u5B57\u5217\u30B7\u30FC\u30B1\u30F3\u30B9\u3002","\u53F3\u89D2\u304B\u3063\u3053\u307E\u305F\u306F\u6587\u5B57\u5217\u30B7\u30FC\u30B1\u30F3\u30B9\u3002","\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u5834\u5408\u3001\u5165\u308C\u5B50\u306E\u30EC\u30D9\u30EB\u306B\u3088\u3063\u3066\u8272\u4ED8\u3051\u3055\u308C\u308B\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002","\u5DE6\u89D2\u304B\u3063\u3053\u307E\u305F\u306F\u6587\u5B57\u5217\u30B7\u30FC\u30B1\u30F3\u30B9\u3002","\u53F3\u89D2\u304B\u3063\u3053\u307E\u305F\u306F\u6587\u5B57\u5217\u30B7\u30FC\u30B1\u30F3\u30B9\u3002","\u5DEE\u5206\u8A08\u7B97\u304C\u53D6\u308A\u6D88\u3055\u308C\u305F\u5F8C\u306E\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8 (\u30DF\u30EA\u79D2\u5358\u4F4D)\u3002\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u306A\u3057\u306B\u306F 0 \u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u5DEE\u5206\u3092\u8A08\u7B97\u3059\u308B\u5834\u5408\u306E\u6700\u5927\u30D5\u30A1\u30A4\u30EB \u30B5\u30A4\u30BA (MB)\u3002\u5236\u9650\u306A\u3057\u306E\u5834\u5408\u306F 0 \u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u5DEE\u5206\u3092\u6A2A\u306B\u4E26\u3079\u3066\u8868\u793A\u3059\u308B\u304B\u3001\u884C\u5185\u306B\u8868\u793A\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5E45\u304C\u3053\u306E\u5024\u3088\u308A\u5C0F\u3055\u3044\u5834\u5408\u306F\u3001\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D3\u30E5\u30FC\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u3068\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5E45\u304C\u5C0F\u3055\u3059\u304E\u308B\u5834\u5408\u306F\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D3\u30E5\u30FC\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B0\u30EA\u30D5\u4F59\u767D\u306B\u3001\u5909\u66F4\u3092\u5143\u306B\u623B\u3059\u305F\u3081\u306E\u77E2\u5370\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u5148\u982D\u307E\u305F\u306F\u672B\u5C3E\u306E\u7A7A\u767D\u6587\u5B57\u306E\u5909\u66F4\u3092\u7121\u8996\u3057\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u8FFD\u52A0/\u524A\u9664\u3055\u308C\u305F\u5909\u66F4\u306B +/- \u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u3092\u793A\u3059\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067 CodeLens \u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u884C\u3092\u6298\u308A\u8FD4\u3057\u307E\u305B\u3093\u3002","\u884C\u3092\u30D3\u30E5\u30FC\u30DD\u30FC\u30C8\u306E\u5E45\u3067\u6298\u308A\u8FD4\u3057\u307E\u3059\u3002","\u884C\u306F\u3001{0} \u306E\u8A2D\u5B9A\u306B\u5F93\u3063\u3066\u6298\u308A\u8FD4\u3055\u308C\u307E\u3059\u3002","\u5F93\u6765\u306E\u5DEE\u5206\u30A2\u30EB\u30B4\u30EA\u30BA\u30E0\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u9AD8\u5EA6\u306A\u5DEE\u5206\u30A2\u30EB\u30B4\u30EA\u30BA\u30E0\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u9818\u57DF\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u672A\u5909\u66F4\u306E\u9818\u57DF\u306B\u4F7F\u7528\u3055\u308C\u308B\u7DDA\u306E\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u9818\u57DF\u306E\u6700\u5C0F\u5024\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u308B\u7DDA\u306E\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u9818\u57DF\u3092\u6BD4\u8F03\u3059\u308B\u3068\u304D\u306B\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u308B\u884C\u306E\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u691C\u51FA\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306E\u79FB\u52D5\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6587\u5B57\u304C\u633F\u5165\u307E\u305F\u306F\u524A\u9664\u3055\u308C\u305F\u5834\u6240\u3092\u78BA\u8A8D\u3059\u308B\u305F\u3081\u306B\u3001\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u7A7A\u306E\u88C5\u98FE\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002"],"vs/editor/common/config/editorOptions":["\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0 API \u3092\u4F7F\u7528\u3057\u3066\u3001\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u304C\u3044\u3064\u63A5\u7D9A\u3055\u308C\u305F\u304B\u3092\u691C\u51FA\u3059\u308B","\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u3067\u306E\u4F7F\u7528\u306B\u6700\u9069\u5316\u3059\u308B","\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u304C\u63A5\u7D9A\u3055\u308C\u3066\u3044\u306A\u3044\u3068\u4EEE\u5B9A\u3059\u308B","\u3053\u306E UI \u3092\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u306B\u6700\u9069\u5316\u3055\u308C\u305F\u30E2\u30FC\u30C9\u3067\u5B9F\u884C\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30B3\u30E1\u30F3\u30C8\u6642\u306B\u7A7A\u767D\u6587\u5B57\u3092\u633F\u5165\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u884C\u30B3\u30E1\u30F3\u30C8\u306E\u8FFD\u52A0\u307E\u305F\u306F\u524A\u9664\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u5207\u308A\u66FF\u3048\u3067\u3001\u7A7A\u306E\u884C\u3092\u7121\u8996\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u9078\u629E\u7BC4\u56F2\u3092\u6307\u5B9A\u3057\u306A\u3044\u3067\u30B3\u30D4\u30FC\u3059\u308B\u5834\u5408\u306B\u73FE\u5728\u306E\u884C\u3092\u30B3\u30D4\u30FC\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5165\u529B\u4E2D\u306B\u4E00\u81F4\u3092\u691C\u7D22\u3059\u308B\u305F\u3081\u306B\u30AB\u30FC\u30BD\u30EB\u3092\u30B8\u30E3\u30F3\u30D7\u3055\u305B\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u304B\u3089\u691C\u7D22\u6587\u5B57\u5217\u3092\u30B7\u30FC\u30C9\u3057\u307E\u305B\u3093\u3002","\u30AB\u30FC\u30BD\u30EB\u4F4D\u7F6E\u306B\u3042\u308B\u5358\u8A9E\u3092\u542B\u3081\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u304B\u3089\u691C\u7D22\u6587\u5B57\u5217\u3092\u5E38\u306B\u30B7\u30FC\u30C9\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u304B\u3089\u691C\u7D22\u6587\u5B57\u5217\u306E\u307F\u3092\u30B7\u30FC\u30C9\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u304B\u3089\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E\u691C\u7D22\u6587\u5B57\u5217\u3092\u4E0E\u3048\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","[\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22] \u3092\u81EA\u52D5\u7684\u306B\u30AA\u30F3\u306B\u3057\u307E\u305B\u3093 (\u65E2\u5B9A)\u3002","[\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22] \u3092\u5E38\u306B\u81EA\u52D5\u7684\u306B\u30AA\u30F3\u306B\u3057\u307E\u3059\u3002","\u8907\u6570\u884C\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306F\u3001[\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22] \u3092\u81EA\u52D5\u7684\u306B\u30AA\u30F3\u306B\u3057\u307E\u3059\u3002","[\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22] \u3092\u81EA\u52D5\u7684\u306B\u30AA\u30F3\u306B\u3059\u308B\u6761\u4EF6\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","macOS \u3067\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u5171\u6709\u306E\u691C\u7D22\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3092\u8AAD\u307F\u53D6\u308A\u307E\u305F\u306F\u5909\u66F4\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E0A\u306B\u884C\u3092\u3055\u3089\u306B\u8FFD\u52A0\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002true \u306E\u5834\u5408\u3001\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u3068\u304D\u306B\u6700\u521D\u306E\u884C\u3092\u8D85\u3048\u3066\u30B9\u30AF\u30ED\u30FC\u30EB\u3067\u304D\u307E\u3059\u3002","\u4EE5\u964D\u3067\u4E00\u81F4\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u5834\u5408\u306B\u3001\u691C\u7D22\u3092\u5148\u982D\u304B\u3089 (\u307E\u305F\u306F\u672B\u5C3E\u304B\u3089) \u81EA\u52D5\u7684\u306B\u518D\u5B9F\u884C\u3059\u308B\u304B\u3069\u3046\u304B\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D5\u30A9\u30F3\u30C8\u306E\u5408\u5B57 ('calt' \u304A\u3088\u3073 'liga' \u30D5\u30A9\u30F3\u30C8\u306E\u6A5F\u80FD) \u3092\u6709\u52B9\u307E\u305F\u306F\u7121\u52B9\u306B\u3057\u307E\u3059\u3002'font-feature-settings' CSS \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A73\u7D30\u306B\u5236\u5FA1\u3059\u308B\u306B\u306F\u3001\u3053\u308C\u3092\u6587\u5B57\u5217\u306B\u5909\u66F4\u3057\u307E\u3059\u3002","\u660E\u793A\u7684\u306A 'font-feature-settings' CSS \u30D7\u30ED\u30D1\u30C6\u30A3\u3002\u5408\u5B57\u3092\u6709\u52B9\u307E\u305F\u306F\u7121\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u306E\u304C 1 \u3064\u3060\u3051\u3067\u3042\u308B\u5834\u5408\u306F\u3001\u4EE3\u308F\u308A\u306B\u30D6\u30FC\u30EB\u5024\u3092\u6E21\u3059\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002","\u30D5\u30A9\u30F3\u30C8\u306E\u5408\u5B57\u3084\u30D5\u30A9\u30F3\u30C8\u306E\u6A5F\u80FD\u3092\u69CB\u6210\u3057\u307E\u3059\u3002\u5408\u5B57\u3092\u6709\u52B9\u307E\u305F\u306F\u7121\u52B9\u306B\u3059\u308B\u30D6\u30FC\u30EB\u5024\u307E\u305F\u306F CSS 'font-feature-settings' \u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u5024\u306E\u6587\u5B57\u5217\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002","font-weight \u304B\u3089 font-variation-settings \u3078\u306E\u5909\u63DB\u3092\u6709\u52B9/\u7121\u52B9\u306B\u3057\u307E\u3059\u3002'font-variation-settings' CSS \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u7D30\u304B\u304F\u5236\u5FA1\u3059\u308B\u305F\u3081\u306B\u3001\u3053\u308C\u3092\u6587\u5B57\u5217\u306B\u5909\u66F4\u3057\u307E\u3059\u3002","\u660E\u793A\u7684\u306A 'font-variation-settings' CSS \u30D7\u30ED\u30D1\u30C6\u30A3\u3002font-weight \u3092 font-variation-settings \u306B\u5909\u63DB\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u3060\u3051\u3067\u3042\u308C\u3070\u3001\u4EE3\u308F\u308A\u306B\u30D6\u30FC\u30EB\u5024\u3092\u6E21\u3059\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002","\u30D5\u30A9\u30F3\u30C8\u306E\u30D0\u30EA\u30A8\u30FC\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002font-weight \u304B\u3089 font-variation-settings \u3078\u306E\u5909\u63DB\u3092\u6709\u52B9/\u7121\u52B9\u306B\u3059\u308B\u30D6\u30FC\u30EB\u5024\u3001\u307E\u305F\u306F CSS 'font-variation-settings' \u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u5024\u306E\u6587\u5B57\u5217\u306E\u3044\u305A\u308C\u304B\u3067\u3059\u3002","\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA (\u30D4\u30AF\u30BB\u30EB\u5358\u4F4D) \u3092\u5236\u5FA1\u3057\u307E\u3059\u3002",'\u4F7F\u7528\u3067\u304D\u308B\u306E\u306F "\u6A19\u6E96" \u304A\u3088\u3073 "\u592A\u5B57" \u306E\u30AD\u30FC\u30EF\u30FC\u30C9\u307E\u305F\u306F 1 \uFF5E 1000 \u306E\u6570\u5B57\u306E\u307F\u3067\u3059\u3002','\u30D5\u30A9\u30F3\u30C8\u306E\u592A\u3055\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002"\u6A19\u6E96" \u304A\u3088\u3073 "\u592A\u5B57" \u306E\u30AD\u30FC\u30EF\u30FC\u30C9\u307E\u305F\u306F 1 \uFF5E 1000 \u306E\u6570\u5B57\u3092\u53D7\u3051\u5165\u308C\u307E\u3059\u3002',"\u7D50\u679C\u306E\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u3092\u8868\u793A (\u65E2\u5B9A)","\u4E3B\u306A\u7D50\u679C\u306B\u79FB\u52D5\u3057\u3001\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u3092\u8868\u793A\u3057\u307E\u3059","\u30D7\u30E9\u30A4\u30DE\u30EA\u7D50\u679C\u306B\u79FB\u52D5\u3057\u3001\u4ED6\u306E\u30E6\u30FC\u30B6\u30FC\u3078\u306E\u30D4\u30FC\u30AF\u30EC\u30B9 \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3057\u307E\u3059","\u3053\u306E\u8A2D\u5B9A\u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B\u3001'editor.editor.gotoLocation.multipleDefinitions' \u3084 'editor.editor.gotoLocation.multipleImplementations' \u306A\u3069\u306E\u500B\u5225\u306E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u8907\u6570\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u5834\u6240\u304C\u3042\u308B\u3068\u304D\u306E '\u5B9A\u7FA9\u3078\u79FB\u52D5' \u30B3\u30DE\u30F3\u30C9\u306E\u52D5\u4F5C\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8907\u6570\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u5834\u6240\u304C\u3042\u308B\u3068\u304D\u306E '\u578B\u5B9A\u7FA9\u3078\u79FB\u52D5' \u30B3\u30DE\u30F3\u30C9\u306E\u52D5\u4F5C\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8907\u6570\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u5834\u6240\u304C\u3042\u308B\u3068\u304D\u306E '\u5BA3\u8A00\u3078\u79FB\u52D5' \u30B3\u30DE\u30F3\u30C9\u306E\u52D5\u4F5C\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8907\u6570\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u5834\u6240\u304C\u3042\u308B\u3068\u304D\u306E '\u5B9F\u88C5\u306B\u79FB\u52D5' \u30B3\u30DE\u30F3\u30C9\u306E\u52D5\u4F5C\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u5834\u6240\u304C\u8907\u6570\u5B58\u5728\u3059\u308B\u5834\u5408\u306E '\u53C2\u7167\u3078\u79FB\u52D5' \u30B3\u30DE\u30F3\u30C9\u306E\u52D5\u4F5C\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","'\u5B9A\u7FA9\u3078\u79FB\u52D5' \u306E\u7D50\u679C\u304C\u73FE\u5728\u306E\u5834\u6240\u3067\u3042\u308B\u5834\u5408\u306B\u5B9F\u884C\u3055\u308C\u308B\u4EE3\u66FF\u30B3\u30DE\u30F3\u30C9 ID\u3002","'\u578B\u5B9A\u7FA9\u3078\u79FB\u52D5' \u306E\u7D50\u679C\u304C\u73FE\u5728\u306E\u5834\u6240\u3067\u3042\u308B\u5834\u5408\u306B\u5B9F\u884C\u3055\u308C\u308B\u4EE3\u66FF\u30B3\u30DE\u30F3\u30C9 ID\u3002","'\u5BA3\u8A00\u3078\u79FB\u52D5' \u306E\u7D50\u679C\u304C\u73FE\u5728\u306E\u5834\u6240\u3067\u3042\u308B\u5834\u5408\u306B\u5B9F\u884C\u3055\u308C\u308B\u4EE3\u66FF\u30B3\u30DE\u30F3\u30C9 ID\u3002","'\u5B9F\u88C5\u3078\u79FB\u52D5' \u306E\u7D50\u679C\u304C\u73FE\u5728\u306E\u5834\u6240\u3067\u3042\u308B\u5834\u5408\u306B\u5B9F\u884C\u3055\u308C\u308B\u4EE3\u66FF\u30B3\u30DE\u30F3\u30C9 ID\u3002","'\u53C2\u7167\u3078\u79FB\u52D5' \u306E\u7D50\u679C\u304C\u73FE\u5728\u306E\u5834\u6240\u3067\u3042\u308B\u5834\u5408\u306B\u5B9F\u884C\u3055\u308C\u308B\u4EE3\u66FF\u30B3\u30DE\u30F3\u30C9 ID\u3002","\u30DB\u30D0\u30FC\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DB\u30D0\u30FC\u3092\u8868\u793A\u5F8C\u306E\u5F85\u3061\u6642\u9593 (\u30DF\u30EA\u79D2) \u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DB\u30D0\u30FC\u306B\u30DE\u30A6\u30B9\u3092\u79FB\u52D5\u3057\u305F\u3068\u304D\u306B\u3001\u30DB\u30D0\u30FC\u3092\u8868\u793A\u3057\u7D9A\u3051\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DB\u30D0\u30FC\u3092\u975E\u8868\u793A\u306B\u3057\u305F\u5F8C\u306E\u9045\u5EF6\u3092\u30DF\u30EA\u79D2\u5358\u4F4D\u3067\u5236\u5FA1\u3057\u307E\u3059\u3002`editor.hover.sticky` \u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30B9\u30DA\u30FC\u30B9\u304C\u3042\u308B\u5834\u5408\u306F\u3001\u884C\u306E\u4E0A\u306B\u30DE\u30A6\u30B9 \u30AB\u30FC\u30BD\u30EB\u3092\u88AB\u305B\u3066\u8868\u793A\u3059\u308B\u3002","\u3059\u3079\u3066\u306E\u6587\u5B57\u306E\u5E45\u304C\u540C\u3058\u3067\u3042\u308B\u3068\u4EEE\u5B9A\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001\u30E2\u30CE\u30B9\u30DA\u30FC\u30B9 \u30D5\u30A9\u30F3\u30C8\u3084\u3001\u30B0\u30EA\u30D5\u306E\u5E45\u304C\u7B49\u3057\u3044\u7279\u5B9A\u306E\u30B9\u30AF\u30EA\u30D7\u30C8 (\u30E9\u30C6\u30F3\u6587\u5B57\u306A\u3069) \u3067\u6B63\u3057\u304F\u52D5\u4F5C\u3059\u308B\u9AD8\u901F\u30A2\u30EB\u30B4\u30EA\u30BA\u30E0\u3067\u3059\u3002","\u6298\u308A\u8FD4\u3057\u30DD\u30A4\u30F3\u30C8\u306E\u8A08\u7B97\u3092\u30D6\u30E9\u30A6\u30B6\u30FC\u306B\u30C7\u30EA\u30B2\u30FC\u30C8\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001\u5927\u304D\u306A\u30D5\u30A1\u30A4\u30EB\u306E\u30D5\u30EA\u30FC\u30BA\u3092\u5F15\u304D\u8D77\u3053\u3059\u53EF\u80FD\u6027\u304C\u3042\u308B\u3082\u306E\u306E\u3001\u3059\u3079\u3066\u306E\u30B1\u30FC\u30B9\u3067\u6B63\u3057\u304F\u52D5\u4F5C\u3059\u308B\u4F4E\u901F\u306A\u30A2\u30EB\u30B4\u30EA\u30BA\u30E0\u3067\u3059\u3002","\u6298\u308A\u8FD4\u3057\u30DD\u30A4\u30F3\u30C8\u3092\u8A08\u7B97\u3059\u308B\u30A2\u30EB\u30B4\u30EA\u30BA\u30E0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3 \u30E2\u30FC\u30C9\u3067\u306F\u3001\u6700\u9AD8\u306E\u30A8\u30AF\u30B9\u30DA\u30EA\u30A8\u30F3\u30B9\u3092\u5B9F\u73FE\u3059\u308B\u305F\u3081\u306B\u8A73\u7D30\u8A2D\u5B9A\u304C\u4F7F\u7528\u3055\u308C\u308B\u3053\u3068\u306B\u3054\u6CE8\u610F\u304F\u3060\u3055\u3044\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u96FB\u7403\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30B9\u30AF\u30ED\u30FC\u30EB\u4E2D\u306B\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E0A\u90E8\u306B\u5165\u308C\u5B50\u306B\u306A\u3063\u305F\u73FE\u5728\u306E\u30B9\u30B3\u30FC\u30D7\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u8868\u793A\u3059\u308B\u8FFD\u5F93\u884C\u306E\u6700\u5927\u6570\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002","\u56FA\u5B9A\u3059\u308B\u884C\u3092\u6C7A\u5B9A\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3059\u308B\u30E2\u30C7\u30EB\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3 \u30E2\u30C7\u30EB\u304C\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u3001\u30A4\u30F3\u30C7\u30F3\u30C8 \u30E2\u30C7\u30EB\u306B\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3059\u308B\u6298\u308A\u305F\u305F\u307F\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC \u30E2\u30C7\u30EB\u306B\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3057\u307E\u3059\u3002\u3053\u306E\u9806\u5E8F\u306F\u30013 \u3064\u306E\u30B1\u30FC\u30B9\u3059\u3079\u3066\u3067\u512A\u5148\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB \u30D0\u30FC\u3092\u4F7F\u7528\u3057\u3066\u3001\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30B9\u30AF\u30ED\u30FC\u30EB\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A4\u30F3\u30EC\u30FC \u30D2\u30F3\u30C8\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u3059","\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u306F\u65E2\u5B9A\u3067\u8868\u793A\u3055\u308C\u3001{0} \u3092\u62BC\u3057\u305F\u307E\u307E\u306B\u3059\u308B\u3068\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059","\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u306F\u65E2\u5B9A\u3067\u306F\u975E\u8868\u793A\u306B\u306A\u308A\u3001{0} \u3092\u62BC\u3057\u305F\u307E\u307E\u306B\u3059\u308B\u3068\u8868\u793A\u3055\u308C\u307E\u3059","\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u304C\u7121\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u3059","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306E\u89E3\u8AAC\u30D2\u30F3\u30C8\u306E\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u65E2\u5B9A\u3067\u306F\u3001{0} \u306F\u3001\u69CB\u6210\u3055\u308C\u305F\u5024\u304C {1} \u3088\u308A\u5C0F\u3055\u3044\u304B\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u3088\u308A\u5927\u304D\u3044\u5834\u5408\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u89E3\u8AAC\u30D2\u30F3\u30C8\u306E\u30D5\u30A9\u30F3\u30C8 \u30D5\u30A1\u30DF\u30EA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u7A7A\u306B\u8A2D\u5B9A\u3059\u308B\u3068\u3001 {0} \u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306E\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u306B\u95A2\u3059\u308B\u30D1\u30C7\u30A3\u30F3\u30B0\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002",`\u884C\u306E\u9AD8\u3055\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\r + - 0 \u3092\u4F7F\u7528\u3057\u3066\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u304B\u3089\u884C\u306E\u9AD8\u3055\u3092\u81EA\u52D5\u7684\u306B\u8A08\u7B97\u3057\u307E\u3059\u3002\r + - 0 \u304B\u3089 8 \u307E\u3067\u306E\u5024\u306F\u3001\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u306E\u4E57\u6570\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\r + - 8 \u4EE5\u4E0A\u306E\u5024\u306F\u6709\u52B9\u5024\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002`,"\u30DF\u30CB\u30DE\u30C3\u30D7\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u3092\u81EA\u52D5\u7684\u306B\u975E\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306E\u30B5\u30A4\u30BA\u306F\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u3068\u540C\u3058\u3067\u3059 (\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059)\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306F\u3001\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9AD8\u3055\u3092\u57CB\u3081\u308B\u305F\u3081\u3001\u62E1\u5927\u307E\u305F\u306F\u7E2E\u5C0F\u3057\u307E\u3059 (\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u307E\u305B\u3093)\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306F\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u7E2E\u5C0F\u3057\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u3088\u308A\u5927\u304D\u304F\u306A\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u305B\u3093 (\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u307E\u305B\u3093)\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306E\u30B5\u30A4\u30BA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u3092\u8868\u793A\u3059\u308B\u5834\u6240\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7 \u30B9\u30E9\u30A4\u30C0\u30FC\u3092\u8868\u793A\u3059\u308B\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306B\u63CF\u753B\u3055\u308C\u308B\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30B9\u30B1\u30FC\u30EB: 1\u30012\u3001\u307E\u305F\u306F 3\u3002","\u884C\u306B\u30AB\u30E9\u30FC \u30D6\u30ED\u30C3\u30AF\u3067\u306F\u306A\u304F\u5B9F\u969B\u306E\u6587\u5B57\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u8868\u793A\u3059\u308B\u30DF\u30CB\u30DE\u30C3\u30D7\u306E\u6700\u5927\u5E45\u3092\u7279\u5B9A\u306E\u5217\u6570\u306B\u5236\u9650\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E0A\u7AEF\u3068\u6700\u521D\u306E\u884C\u306E\u9593\u306E\u4F59\u767D\u306E\u5927\u304D\u3055\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E0B\u7AEF\u3068\u6700\u5F8C\u306E\u884C\u306E\u9593\u306E\u4F59\u767D\u306E\u5927\u304D\u3055\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5165\u529B\u6642\u306B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3068\u578B\u60C5\u5831\u3092\u8868\u793A\u3059\u308B\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8 \u30E1\u30CB\u30E5\u30FC\u3092\u5468\u56DE\u3059\u308B\u304B\u3001\u30EA\u30B9\u30C8\u306E\u6700\u5F8C\u3067\u9589\u3058\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u63D0\u6848\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306B\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u308B","\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u304C\u30B4\u30FC\u30B9\u30C8 \u30C6\u30AD\u30B9\u30C8\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u308B","\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u304C\u7121\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u3059","\u6587\u5B57\u5217\u5185\u3067\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30B3\u30E1\u30F3\u30C8\u5185\u3067\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u6587\u5B57\u5217\u304A\u3088\u3073\u30B3\u30E1\u30F3\u30C8\u5916\u3067\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u5165\u529B\u4E2D\u306B\u5019\u88DC\u3092\u81EA\u52D5\u7684\u306B\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001\u30B3\u30E1\u30F3\u30C8\u3001\u6587\u5B57\u5217\u3001\u305D\u306E\u4ED6\u30B3\u30FC\u30C9\u306E\u5165\u529B\u7528\u306B\u8A2D\u5B9A\u3067\u304D\u307E\u3059\u3002\u30AF\u30A4\u30C3\u30AF\u63D0\u6848\u306F\u3001\u30B4\u30FC\u30B9\u30C8 \u30C6\u30AD\u30B9\u30C8\u3068\u3057\u3066\u8868\u793A\u3059\u308B\u304B\u3001\u63D0\u6848\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3067\u8868\u793A\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3067\u304D\u307E\u3059\u3002\u307E\u305F\u3001'{0}' \u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u3053\u308C\u306F\u3001\u63D0\u6848\u304C\u7279\u6B8A\u6587\u5B57\u306B\u3088\u3063\u3066\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3059\u308B\u8A2D\u5B9A\u3067\u3059\u3002","\u884C\u756A\u53F7\u306F\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002","\u884C\u756A\u53F7\u306F\u3001\u7D76\u5BFE\u5024\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u884C\u756A\u53F7\u306F\u3001\u30AB\u30FC\u30BD\u30EB\u4F4D\u7F6E\u307E\u3067\u306E\u884C\u6570\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u884C\u756A\u53F7\u306F 10 \u884C\u3054\u3068\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u884C\u756A\u53F7\u306E\u8868\u793A\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u3053\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30EB\u30FC\u30E9\u30FC\u304C\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3059\u308B\u5358\u4E00\u9818\u57DF\u306E\u6587\u5B57\u6570\u3002","\u3053\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30EB\u30FC\u30E9\u30FC\u306E\u8272\u3067\u3059\u3002","\u7279\u5B9A\u306E\u7B49\u5E45\u6587\u5B57\u6570\u306E\u5F8C\u306B\u5782\u76F4\u30EB\u30FC\u30E9\u30FC\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u8907\u6570\u306E\u30EB\u30FC\u30E9\u30FC\u306B\u306F\u8907\u6570\u306E\u5024\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u914D\u5217\u304C\u7A7A\u306E\u5834\u5408\u306F\u30EB\u30FC\u30E9\u30FC\u3092\u8868\u793A\u3057\u307E\u305B\u3093\u3002","\u5782\u76F4\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u3001\u5FC5\u8981\u306A\u5834\u5408\u306B\u306E\u307F\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5782\u76F4\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u5E38\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5782\u76F4\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u5E38\u306B\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002","\u5782\u76F4\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306E\u8868\u793A\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u3001\u5FC5\u8981\u306A\u5834\u5408\u306B\u306E\u307F\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u5E38\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306F\u5E38\u306B\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002","\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306E\u8868\u793A\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5782\u76F4\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306E\u5E45\u3002","\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306E\u9AD8\u3055\u3002","\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u3068\u30DA\u30FC\u30B8\u5358\u4F4D\u3067\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u304B\u3001\u30AF\u30EA\u30C3\u30AF\u4F4D\u7F6E\u306B\u30B8\u30E3\u30F3\u30D7\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u57FA\u672C ASCII \u4EE5\u5916\u306E\u3059\u3079\u3066\u306E\u6587\u5B57\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002U+0020 \u304B\u3089 U+007E \u306E\u9593\u306E\u6587\u5B57\u3001\u30BF\u30D6\u3001\u6539\u884C (LF)\u3001\u884C\u982D\u5FA9\u5E30\u306E\u307F\u304C\u57FA\u672C ASCII \u3068\u898B\u306A\u3055\u308C\u307E\u3059\u3002","\u7A7A\u767D\u3092\u5360\u3081\u308B\u3060\u3051\u306E\u6587\u5B57\u3084\u5E45\u304C\u307E\u3063\u305F\u304F\u306A\u3044\u6587\u5B57\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u73FE\u5728\u306E\u30E6\u30FC\u30B6\u30FC \u30ED\u30B1\u30FC\u30EB\u3067\u4E00\u822C\u7684\u306A\u6587\u5B57\u3092\u9664\u304D\u3001\u57FA\u672C\u7684\u306A ASCII \u6587\u5B57\u3068\u6DF7\u540C\u3055\u308C\u308B\u53EF\u80FD\u6027\u306E\u3042\u308B\u6587\u5B57\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30B3\u30E1\u30F3\u30C8\u5185\u306E\u6587\u5B57\u3092 Unicode \u5F37\u8ABF\u8868\u793A\u306E\u5BFE\u8C61\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6587\u5B57\u5217\u5185\u306E\u6587\u5B57\u3092 Unicode \u5F37\u8ABF\u8868\u793A\u306E\u5BFE\u8C61\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5F37\u8ABF\u8868\u793A\u305B\u305A\u8A31\u53EF\u3055\u308C\u308B\u6587\u5B57\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002","\u8A31\u53EF\u3055\u308C\u3066\u3044\u308B\u30ED\u30B1\u30FC\u30EB\u3067\u4E00\u822C\u7684\u306A Unicode \u6587\u5B57\u306F\u5F37\u8ABF\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u81EA\u52D5\u7684\u306B\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u308B\u305F\u3073\u306B\u3001\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u30C4\u30FC\u30EB \u30D0\u30FC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u306B\u30AB\u30FC\u30BD\u30EB\u3092\u5408\u308F\u305B\u308B\u305F\u3073\u306B\u3001\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u30C4\u30FC\u30EB \u30D0\u30FC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u30C4\u30FC\u30EB \u30D0\u30FC\u3092\u8868\u793A\u3059\u308B\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3\u63D0\u6848\u3068\u63D0\u6848\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u76F8\u4E92\u4F5C\u7528\u306E\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u6709\u52B9\u3059\u308B\u3068\u3001\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u304C\u4F7F\u7528\u53EF\u80FD\u306A\u5834\u5408\u306F\u3001\u63D0\u6848\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u81EA\u52D5\u7684\u306B\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002","\u30D6\u30E9\u30B1\u30C3\u30C8\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u304C\u6709\u52B9\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002 {0} \u3092\u4F7F\u7528\u3057\u3066\u3001\u30D6\u30E9\u30B1\u30C3\u30C8\u306E\u5F37\u8ABF\u8868\u793A\u306E\u8272\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3057\u307E\u3059\u3002","\u62EC\u5F27\u306E\u5404\u7A2E\u5225\u304C\u3001\u500B\u5225\u306E\u30AB\u30E9\u30FC \u30D7\u30FC\u30EB\u3092\u4FDD\u6301\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2\u306B\u5BFE\u3057\u3066\u306E\u307F\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002","\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2\u306E\u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u7E26\u306E\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2\u306E\u30AC\u30A4\u30C9\u306B\u52A0\u3048\u3066\u3001\u540C\u3058\u304F\u6C34\u5E73\u306E\u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2\u306B\u5BFE\u3057\u3066\u306E\u307F\u3001\u6C34\u5E73\u306E\u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u6C34\u5E73\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002","\u6C34\u5E73\u65B9\u5411\u306E\u30D6\u30E9\u30B1\u30C3\u30C8 \u30DA\u30A2\u306E\u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053\u30AC\u30A4\u30C9\u304C\u5F37\u8ABF\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3067\u3082\u3001\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u3092\u5F37\u8ABF\u8868\u793A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A4\u30F3\u30C7\u30F3\u30C8\u306E\u30AC\u30A4\u30C9\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u306E\u53F3\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u4E0A\u66F8\u304D\u305B\u305A\u306B\u5019\u88DC\u3092\u633F\u5165\u3057\u307E\u3059\u3002","\u5019\u88DC\u3092\u633F\u5165\u3057\u3001\u30AB\u30FC\u30BD\u30EB\u306E\u53F3\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u4E0A\u66F8\u304D\u3057\u307E\u3059\u3002","\u5165\u529B\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u308B\u3068\u304D\u306B\u5358\u8A9E\u3092\u4E0A\u66F8\u304D\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001\u3053\u306E\u6A5F\u80FD\u306E\u5229\u7528\u3092\u9078\u629E\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306B\u4F9D\u5B58\u3059\u308B\u3053\u3068\u306B\u3054\u6CE8\u610F\u304F\u3060\u3055\u3044\u3002","\u5019\u88DC\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u51E6\u7406\u3068\u4E26\u3073\u66FF\u3048\u3067\u3055\u3055\u3044\u306A\u5165\u529B\u30DF\u30B9\u3092\u8003\u616E\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u4E26\u3079\u66FF\u3048\u304C\u30AB\u30FC\u30BD\u30EB\u4ED8\u8FD1\u306B\u8868\u793A\u3055\u308C\u308B\u5358\u8A9E\u3092\u512A\u5148\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u4FDD\u5B58\u3055\u308C\u305F\u5019\u88DC\u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u8907\u6570\u306E\u30EF\u30FC\u30AF\u30D7\u30EC\u30FC\u30B9\u3068\u30A6\u30A3\u30F3\u30C9\u30A6\u3067\u5171\u6709\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059 (`#editor.suggestSelection#` \u304C\u5FC5\u8981)\u3002","IntelliSense \u3092\u81EA\u52D5\u3067\u30C8\u30EA\u30AC\u30FC\u3059\u308B\u5834\u5408\u306B\u3001\u5E38\u306B\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002","IntelliSense \u3092\u81EA\u52D5\u3067\u30C8\u30EA\u30AC\u30FC\u3059\u308B\u5834\u5408\u306B\u3001\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u305B\u3093\u3002","\u30C8\u30EA\u30AC\u30FC\u6587\u5B57\u304B\u3089 IntelliSense \u3092\u30C8\u30EA\u30AC\u30FC\u3059\u308B\u5834\u5408\u306B\u306E\u307F\u3001\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002","\u5165\u529B\u6642\u306B IntelliSense \u3092\u30C8\u30EA\u30AC\u30FC\u3059\u308B\u5834\u5408\u306B\u306E\u307F\u3001\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002","\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3059\u308B\u969B\u306B\u5019\u88DC\u3092\u9078\u629E\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u3053\u3061\u3089\u306F\u81EA\u52D5\u7684\u306B\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u308B\u5019\u88DC ('#editor.quickSuggestions#' \u3068 '#editor.suggestOnTriggerCharacters#') \u306B\u306E\u307F\u9069\u7528\u3055\u308C\u3001('Ctrl+Space' \u306A\u3069\u3092\u901A\u3058\u3066) \u660E\u793A\u7684\u306B\u547C\u3073\u51FA\u3055\u308C\u308B\u969B\u306B\u306F\u5E38\u306B\u5019\u88DC\u304C\u9078\u629E\u3055\u308C\u308B\u3053\u3068\u306B\u3054\u6CE8\u610F\u304F\u3060\u3055\u3044\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6 \u30B9\u30CB\u30DA\u30C3\u30C8\u304C\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u3092\u9632\u6B62\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u63D0\u6848\u306E\u30A2\u30A4\u30B3\u30F3\u3092\u8868\u793A\u3059\u308B\u304B\u3001\u975E\u8868\u793A\u306B\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u4E0B\u90E8\u306B\u3042\u308B\u30B9\u30C6\u30FC\u30BF\u30B9 \u30D0\u30FC\u306E\u8868\u793A\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u63D0\u6848\u306E\u7D50\u679C\u3092\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30D7\u30EC\u30D3\u30E5\u30FC\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5019\u88DC\u306E\u8A73\u7D30\u3092\u30E9\u30D9\u30EB\u4ED8\u304D\u306E\u30A4\u30F3\u30E9\u30A4\u30F3\u3067\u8868\u793A\u3059\u308B\u304B\u3001\u8A73\u7D30\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u306E\u307F\u8868\u793A\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u3053\u306E\u8A2D\u5B9A\u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30B5\u30A4\u30BA\u5909\u66F4\u304C\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3057\u305F\u3002","\u3053\u306E\u8A2D\u5B9A\u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B\u3001'editor.suggest.showKeywords' \u3084 'editor.suggest.showSnippets' \u306A\u3069\u306E\u500B\u5225\u306E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30E1\u30BD\u30C3\u30C9` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u95A2\u6570` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u975E\u63A8\u5968` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u51E6\u7406\u3067\u306F\u3001\u5358\u8A9E\u306E\u5148\u982D\u3067\u6700\u521D\u306E\u6587\u5B57\u304C\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u305F\u3068\u3048\u3070\u3001`Console` \u3084 `WebContext` \u306E\u5834\u5408\u306F `c`\u3001`description` \u306E\u5834\u5408\u306F _not_ \u3067\u3059\u3002\u7121\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306F\u3088\u308A\u591A\u304F\u306E\u7D50\u679C\u3092\u8868\u793A\u3057\u307E\u3059\u304C\u3001\u4E00\u81F4\u54C1\u8CEA\u3067\u4E26\u3079\u66FF\u3048\u3089\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30D5\u30A3\u30FC\u30EB\u30C9` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u5909\u6570` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B '\u30AF\u30E9\u30B9' \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u69CB\u9020\u4F53` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30E2\u30B8\u30E5\u30FC\u30EB` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30D7\u30ED\u30D1\u30C6\u30A3` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30A4\u30D9\u30F3\u30C8` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u6F14\u7B97\u5B50` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30E6\u30CB\u30C3\u30C8` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u5024` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u5B9A\u6570` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u5217\u6319\u578B` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `enumMember` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30AD\u30FC\u30EF\u30FC\u30C9` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B '\u30C6\u30AD\u30B9\u30C8' -\u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u8272` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B '\u30D5\u30A1\u30A4\u30EB' \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u53C2\u7167` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `customcolor` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30D5\u30A9\u30EB\u30C0\u30FC` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `typeParameter` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B `\u30B9\u30CB\u30DA\u30C3\u30C8` \u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306A\u5834\u5408\u3001IntelliSense \u306B\u3088\u3063\u3066 '\u30E6\u30FC\u30B6\u30FC' \u5019\u88DC\u304C\u793A\u3055\u308C\u307E\u3059\u3002","\u6709\u52B9\u306B\u3059\u308B\u3068\u3001IntelliSense \u306B\u3088\u3063\u3066 '\u554F\u984C' \u5019\u88DC\u304C\u793A\u3055\u308C\u307E\u3059\u3002","\u5148\u982D\u3068\u672B\u5C3E\u306E\u7A7A\u767D\u3092\u5E38\u306B\u9078\u629E\u3059\u308B\u304B\u3069\u3046\u304B\u3002","\u30B5\u30D6\u30EF\u30FC\u30C9 ('fooBar' \u306E 'foo' \u307E\u305F\u306F 'foo_bar' \u306A\u3069) \u3092\u9078\u629E\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u304B\u3069\u3046\u304B\u3002","\u30A4\u30F3\u30C7\u30F3\u30C8\u3057\u307E\u305B\u3093\u3002 \u6298\u308A\u8FD4\u3057\u884C\u306F\u5217 1 \u304B\u3089\u59CB\u307E\u308A\u307E\u3059\u3002","\u6298\u308A\u8FD4\u3057\u884C\u306F\u3001\u89AA\u3068\u540C\u3058\u30A4\u30F3\u30C7\u30F3\u30C8\u306B\u306A\u308A\u307E\u3059\u3002","\u6298\u308A\u8FD4\u3057\u884C\u306F\u3001\u89AA +1 \u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u306B\u306A\u308A\u307E\u3059\u3002","\u6298\u308A\u8FD4\u3057\u884C\u306F\u3001\u89AA +2 \u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u306B\u306A\u308A\u307E\u3059\u3002","\u6298\u308A\u8FD4\u3057\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","(\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F\u4EE3\u308F\u308A\u306B) 'shift' \u3092\u62BC\u3057\u306A\u304C\u3089\u30C6\u30AD\u30B9\u30C8 \u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30E9\u30C3\u30B0 \u30A2\u30F3\u30C9 \u30C9\u30ED\u30C3\u30D7\u3067\u304D\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7\u3059\u308B\u3068\u304D\u306B\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u3053\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3067\u306F\u3001\u30D5\u30A1\u30A4\u30EB\u306E\u30C9\u30ED\u30C3\u30D7\u65B9\u6CD5\u3092\u5236\u5FA1\u3067\u304D\u307E\u3059\u3002","\u30D5\u30A1\u30A4\u30EB\u304C\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30C9\u30ED\u30C3\u30D7\u3055\u308C\u305F\u5F8C\u306B\u3001\u30C9\u30ED\u30C3\u30D7 \u30BB\u30EC\u30AF\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u30C9\u30ED\u30C3\u30D7 \u30BB\u30EC\u30AF\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3057\u307E\u305B\u3093\u3002\u4EE3\u308F\u308A\u306B\u3001\u65E2\u5B9A\u306E\u30C9\u30ED\u30C3\u30D7 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u5E38\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u3055\u307E\u3056\u307E\u306A\u65B9\u6CD5\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u8CBC\u308A\u4ED8\u3051\u308B\u3053\u3068\u304C\u3067\u304D\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u8CBC\u308A\u4ED8\u3051\u308B\u3068\u304D\u306B\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u3053\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30D5\u30A1\u30A4\u30EB\u306E\u8CBC\u308A\u4ED8\u3051\u65B9\u6CD5\u3092\u5236\u5FA1\u3067\u304D\u307E\u3059\u3002","\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u8CBC\u308A\u4ED8\u3051\u305F\u5F8C\u3001\u8CBC\u308A\u4ED8\u3051\u30BB\u30EC\u30AF\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u8CBC\u308A\u4ED8\u3051\u30BB\u30EC\u30AF\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002\u4EE3\u308F\u308A\u306B\u3001\u65E2\u5B9A\u306E\u8CBC\u308A\u4ED8\u3051\u52D5\u4F5C\u304C\u5E38\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30B3\u30DF\u30C3\u30C8\u6587\u5B57\u3067\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u305F\u3068\u3048\u3070\u3001JavaScript \u3067\u306F\u30BB\u30DF\u30B3\u30ED\u30F3 (`;`) \u3092\u30B3\u30DF\u30C3\u30C8\u6587\u5B57\u306B\u3057\u3066\u3001\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u3066\u305D\u306E\u6587\u5B57\u3092\u5165\u529B\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002","\u30C6\u30AD\u30B9\u30C8\u306E\u5909\u66F4\u3092\u884C\u3046\u3068\u304D\u3001`Enter` \u3092\u4F7F\u7528\u3059\u308B\u5834\u5408\u306B\u306E\u307F\u5019\u88DC\u3092\u53D7\u3051\u4ED8\u3051\u307E\u3059\u3002","`Tab` \u30AD\u30FC\u306B\u52A0\u3048\u3066 `Enter` \u30AD\u30FC\u3067\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u6539\u884C\u306E\u633F\u5165\u3084\u5019\u88DC\u306E\u53CD\u6620\u306E\u9593\u3067\u3042\u3044\u307E\u3044\u3055\u3092\u89E3\u6D88\u3059\u308B\u306E\u306B\u5F79\u7ACB\u3061\u307E\u3059\u3002","\u4E00\u5EA6\u306B\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u306B\u3088\u3063\u3066\u8AAD\u307F\u4E0A\u3052\u308B\u3053\u3068\u304C\u3067\u304D\u308B\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u884C\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u304C\u691C\u51FA\u3055\u308C\u308B\u3068\u3001\u65E2\u5B9A\u5024\u304C 500 \u306B\u81EA\u52D5\u7684\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3059\u3002\u8B66\u544A: \u65E2\u5B9A\u5024\u3088\u308A\u5927\u304D\u3044\u6570\u5024\u306E\u5834\u5408\u306F\u3001\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306B\u5F71\u97FF\u304C\u3042\u308A\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B3\u30F3\u30C6\u30F3\u30C4","\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC\u306B\u3088\u3063\u3066\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u304C\u8AAD\u307F\u4E0A\u3052\u3089\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8A00\u8A9E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u3001\u3044\u3064\u304B\u3063\u3053\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3059\u308B\u304B\u6C7A\u5B9A\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u304C\u7A7A\u767D\u6587\u5B57\u306E\u5DE6\u306B\u3042\u308B\u3068\u304D\u3060\u3051\u3001\u304B\u3063\u3053\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u5DE6\u89D2\u304B\u3063\u3053\u3092\u8FFD\u52A0\u3057\u305F\u5F8C\u306B\u81EA\u52D5\u7684\u306B\u53F3\u89D2\u304B\u3063\u3053\u3092\u633F\u5165\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8A00\u8A9E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u3001\u3044\u3064\u304B\u3063\u3053\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3059\u308B\u304B\u6C7A\u5B9A\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u304C\u7A7A\u767D\u6587\u5B57\u306E\u5DE6\u306B\u3042\u308B\u3068\u304D\u3060\u3051\u3001\u30B3\u30E1\u30F3\u30C8\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u5DE6\u89D2\u304B\u3063\u3053\u3092\u8FFD\u52A0\u3057\u305F\u5F8C\u306B\u81EA\u52D5\u7684\u306B\u53F3\u89D2\u304B\u3063\u3053\u3092\u633F\u5165\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u96A3\u63A5\u3059\u308B\u7D42\u308F\u308A\u5F15\u7528\u7B26\u307E\u305F\u306F\u62EC\u5F27\u304C\u81EA\u52D5\u7684\u306B\u633F\u5165\u3055\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u3001\u305D\u308C\u3089\u3092\u524A\u9664\u3057\u307E\u3059\u3002","\u524A\u9664\u6642\u306B\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u96A3\u63A5\u3059\u308B\u7D42\u308F\u308A\u5F15\u7528\u7B26\u307E\u305F\u306F\u62EC\u5F27\u3092\u524A\u9664\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u7D42\u308F\u308A\u5F15\u7528\u7B26\u307E\u305F\u306F\u62EC\u5F27\u304C\u81EA\u52D5\u7684\u306B\u633F\u5165\u3055\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u3001\u305D\u308C\u3089\u3092\u4E0A\u66F8\u304D\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u7D42\u308F\u308A\u5F15\u7528\u7B26\u307E\u305F\u306F\u62EC\u5F27\u3092\u4E0A\u66F8\u304D\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8A00\u8A9E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u3001\u3044\u3064\u5F15\u7528\u7B26\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3059\u308B\u304B\u6C7A\u5B9A\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u304C\u7A7A\u767D\u6587\u5B57\u306E\u5DE6\u306B\u3042\u308B\u3068\u304D\u3060\u3051\u3001\u5F15\u7528\u7B26\u3092\u81EA\u52D5\u30AF\u30ED\u30FC\u30BA\u3057\u307E\u3059\u3002","\u30E6\u30FC\u30B6\u30FC\u304C\u958B\u59CB\u5F15\u7528\u7B26\u3092\u8FFD\u52A0\u3057\u305F\u5F8C\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u81EA\u52D5\u7684\u306B\u5F15\u7528\u7B26\u3092\u9589\u3058\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u81EA\u52D5\u7684\u306B\u633F\u5165\u3057\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u3001\u73FE\u5728\u306E\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u4FDD\u6301\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u3001\u73FE\u5728\u306E\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u4FDD\u6301\u3057\u3001\u8A00\u8A9E\u304C\u5B9A\u7FA9\u3055\u308C\u305F\u304B\u3063\u3053\u3092\u512A\u5148\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u3001\u73FE\u5728\u306E\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u4FDD\u6301\u3057\u3001\u8A00\u8A9E\u304C\u5B9A\u7FA9\u3055\u308C\u305F\u304B\u3063\u3053\u3092\u512A\u5148\u3057\u3001\u8A00\u8A9E\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u7279\u5225\u306A onEnterRules \u3092\u547C\u3073\u51FA\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u3001\u73FE\u5728\u306E\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u4FDD\u6301\u3057\u3001\u8A00\u8A9E\u304C\u5B9A\u7FA9\u3055\u308C\u305F\u304B\u3063\u3053\u3092\u512A\u5148\u3057\u3001\u8A00\u8A9E\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u7279\u5225\u306A onEnterRules \u3092\u547C\u3073\u51FA\u3057\u3001\u8A00\u8A9E\u3067\u5B9A\u7FA9\u3055\u308C\u305F indentationRules \u3092\u512A\u5148\u3057\u307E\u3059\u3002","\u30E6\u30FC\u30B6\u30FC\u304C\u884C\u3092\u5165\u529B\u3001\u8CBC\u308A\u4ED8\u3051\u3001\u79FB\u52D5\u3001\u307E\u305F\u306F\u30A4\u30F3\u30C7\u30F3\u30C8\u3059\u308B\u3068\u304D\u306B\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u81EA\u52D5\u7684\u306B\u8ABF\u6574\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8A00\u8A9E\u69CB\u6210\u3092\u4F7F\u7528\u3057\u3066\u3001\u9078\u629E\u7BC4\u56F2\u3092\u3044\u3064\u81EA\u52D5\u7684\u306B\u56F2\u3080\u304B\u3092\u5224\u65AD\u3057\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053\u3067\u306F\u306A\u304F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u307F\u307E\u3059\u3002","\u5F15\u7528\u7B26\u3067\u306F\u306A\u304F\u3001\u89D2\u304B\u3063\u3053\u3067\u56F2\u307F\u307E\u3059\u3002","\u5F15\u7528\u7B26\u307E\u305F\u306F\u89D2\u304B\u3063\u3053\u3092\u5165\u529B\u3059\u308B\u3068\u304D\u306B\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u9078\u629E\u7BC4\u56F2\u3092\u81EA\u52D5\u7684\u306B\u56F2\u3080\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30C7\u30F3\u30C8\u306B\u30B9\u30DA\u30FC\u30B9\u3092\u4F7F\u7528\u3059\u308B\u3068\u304D\u306F\u3001\u30BF\u30D6\u6587\u5B57\u306E\u9078\u629E\u52D5\u4F5C\u3092\u30A8\u30DF\u30E5\u30EC\u30FC\u30C8\u3057\u307E\u3059\u3002\u9078\u629E\u7BC4\u56F2\u306F\u30BF\u30D6\u4F4D\u7F6E\u306B\u7559\u307E\u308A\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067 CodeLens \u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","CodeLens \u306E\u30D5\u30A9\u30F3\u30C8 \u30D5\u30A1\u30DF\u30EA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","CodeLens \u306E\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u3092\u30D4\u30AF\u30BB\u30EB\u5358\u4F4D\u3067\u5236\u5FA1\u3057\u307E\u3059\u30020 \u306B\u8A2D\u5B9A\u3059\u308B\u3068\u3001`#editor.fontSize#` \u306E 90% \u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A4\u30F3\u30E9\u30A4\u30F3 \u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u3068\u8272\u306E\u9078\u629E\u3092\u8868\u793A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u306E\u30AF\u30EA\u30C3\u30AF\u6642\u3068\u30DD\u30A4\u30F3\u30C8\u6642\u306E\u4E21\u65B9\u306B\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u8868\u793A\u3059\u308B","\u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u306E\u30DD\u30A4\u30F3\u30C8\u6642\u306B\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u8868\u793A\u3059\u308B","\u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u306E\u30AF\u30EA\u30C3\u30AF\u6642\u306B\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u8868\u793A\u3059\u308B","\u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u304B\u3089\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u8868\u793A\u3059\u308B\u6761\u4EF6\u3092\u5236\u5FA1\u3057\u307E\u3059","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u4E00\u5EA6\u306B\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3067\u304D\u308B\u30AB\u30E9\u30FC \u30C7\u30B3\u30EC\u30FC\u30BF\u30FC\u306E\u6700\u5927\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DE\u30A6\u30B9\u3068\u30AD\u30FC\u3067\u306E\u9078\u629E\u306B\u3088\u308A\u5217\u306E\u9078\u629E\u3092\u5B9F\u884C\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u307E\u3059\u3002","\u69CB\u6587\u30CF\u30A4\u30E9\u30A4\u30C8\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u306E\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u65B9\u5F0F\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30B9\u30E0\u30FC\u30BA \u30AD\u30E3\u30EC\u30C3\u30C8 \u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u304C\u7121\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u3059\u3002","\u30B9\u30E0\u30FC\u30BA \u30AD\u30E3\u30EC\u30C3\u30C8 \u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u660E\u793A\u7684\u306A\u30B8\u30A7\u30B9\u30C1\u30E3\u3067\u30AB\u30FC\u30BD\u30EB\u3092\u79FB\u52D5\u3057\u305F\u5834\u5408\u306B\u306E\u307F\u6709\u52B9\u306B\u306A\u308A\u307E\u3059\u3002","\u30B9\u30E0\u30FC\u30BA \u30AD\u30E3\u30EC\u30C3\u30C8 \u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u306F\u5E38\u306B\u6709\u52B9\u3067\u3059\u3002","\u6ED1\u3089\u304B\u306A\u30AD\u30E3\u30EC\u30C3\u30C8\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u306E\u30B9\u30BF\u30A4\u30EB\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u524D\u5F8C\u306E\u8868\u793A\u53EF\u80FD\u306A\u5148\u982D\u306E\u884C (\u6700\u5C0F 0) \u3068\u672B\u5C3E\u306E\u884C (\u6700\u5C0F 1) \u306E\u6700\u5C0F\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u4ED6\u306E\u4E00\u90E8\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306F 'scrollOff' \u307E\u305F\u306F 'scrollOffset' \u3068\u547C\u3070\u308C\u307E\u3059\u3002","`cursorSurroundingLines` \u306F\u3001\u30AD\u30FC\u30DC\u30FC\u30C9\u307E\u305F\u306F API \u3067\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u5F37\u5236\u3055\u308C\u307E\u3059\u3002","`cursorSurroundingLines` \u306F\u5E38\u306B\u9069\u7528\u3055\u308C\u307E\u3059\u3002","`#cursorSurroundingLines#` \u3092\u9069\u7528\u3059\u308B\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","`#editor.cursorStyle#` \u304C `line` \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30AB\u30FC\u30BD\u30EB\u306E\u5E45\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30C9\u30E9\u30C3\u30B0 \u30A2\u30F3\u30C9 \u30C9\u30ED\u30C3\u30D7\u306B\u3088\u308B\u9078\u629E\u7BC4\u56F2\u306E\u79FB\u52D5\u3092\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u8A31\u53EF\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","SVGS \u3067\u65B0\u3057\u3044\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u30D5\u30A9\u30F3\u30C8\u6587\u5B57\u306B\u65B0\u3057\u3044\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u5B89\u5B9A\u3057\u305F\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u65B0\u3057\u3044\u8A66\u9A13\u7684\u306A\u30E1\u30BD\u30C3\u30C9\u3092\u4F7F\u7528\u3057\u3066\u7A7A\u767D\u3092\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","`Alt` \u3092\u62BC\u3059\u3068\u3001\u30B9\u30AF\u30ED\u30FC\u30EB\u901F\u5EA6\u304C\u500D\u5897\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B3\u30FC\u30C9\u306E\u6298\u308A\u305F\u305F\u307F\u3092\u6709\u52B9\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5229\u7528\u53EF\u80FD\u306A\u5834\u5408\u306F\u8A00\u8A9E\u56FA\u6709\u306E\u6298\u308A\u305F\u305F\u307F\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u3001\u5229\u7528\u53EF\u80FD\u3067\u306F\u306A\u3044\u5834\u5408\u306F\u30A4\u30F3\u30C7\u30F3\u30C8\u30D9\u30FC\u30B9\u306E\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30C7\u30F3\u30C8\u30D9\u30FC\u30B9\u306E\u6298\u308A\u305F\u305F\u307F\u65B9\u6CD5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u6298\u308A\u305F\u305F\u307F\u7BC4\u56F2\u306E\u8A08\u7B97\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u6298\u308A\u305F\u305F\u307E\u308C\u305F\u7BC4\u56F2\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30A4\u30F3\u30DD\u30FC\u30C8\u7BC4\u56F2\u3092\u81EA\u52D5\u7684\u306B\u6298\u308A\u305F\u305F\u3080\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6298\u308A\u305F\u305F\u307F\u53EF\u80FD\u306A\u9818\u57DF\u306E\u6700\u5927\u6570\u3067\u3059\u3002\u3053\u306E\u5024\u3092\u5927\u304D\u304F\u3059\u308B\u3068\u3001\u73FE\u5728\u306E\u30BD\u30FC\u30B9\u306B\u591A\u6570\u306E\u6298\u308A\u305F\u305F\u307F\u53EF\u80FD\u306A\u9818\u57DF\u304C\u3042\u308B\u5834\u5408\u306B\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5FDC\u7B54\u6027\u304C\u4F4E\u4E0B\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","\u6298\u308A\u305F\u305F\u307E\u308C\u305F\u884C\u306E\u5F8C\u306E\u7A7A\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u3068\u884C\u304C\u5C55\u958B\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D5\u30A9\u30F3\u30C8 \u30D5\u30A1\u30DF\u30EA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u8CBC\u308A\u4ED8\u3051\u305F\u5185\u5BB9\u304C\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u3088\u308A\u81EA\u52D5\u7684\u306B\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u30D5\u30A9\u30FC\u30DE\u30C3\u30BF\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u307E\u305F\u3001\u30D5\u30A9\u30FC\u30DE\u30C3\u30BF\u304C\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u306E\u7BC4\u56F2\u3092\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3067\u304D\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u5165\u529B\u5F8C\u306B\u81EA\u52D5\u7684\u306B\u884C\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u884C\u3046\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u7E26\u306E\u30B0\u30EA\u30D5\u4F59\u767D\u304C\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u307B\u3068\u3093\u3069\u306E\u5834\u5408\u3001\u30B0\u30EA\u30D5\u4F59\u767D\u306F\u30C7\u30D0\u30C3\u30B0\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u3067\u30AB\u30FC\u30BD\u30EB\u3092\u975E\u8868\u793A\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6587\u5B57\u9593\u9694 (\u30D4\u30AF\u30BB\u30EB\u5358\u4F4D) \u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30EA\u30F3\u30AF\u3055\u308C\u305F\u7DE8\u96C6\u304C\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u6709\u52B9\u306B\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u8A00\u8A9E\u306B\u3088\u3063\u3066\u306F\u3001\u7DE8\u96C6\u4E2D\u306B HTML \u30BF\u30B0\u306A\u3069\u306E\u95A2\u9023\u3059\u308B\u8A18\u53F7\u304C\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30EA\u30F3\u30AF\u3092\u691C\u51FA\u3057\u3066\u30AF\u30EA\u30C3\u30AF\u53EF\u80FD\u306A\u72B6\u614B\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5BFE\u5FDC\u3059\u308B\u304B\u3063\u3053\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30DE\u30A6\u30B9 \u30DB\u30A4\u30FC\u30EB \u30B9\u30AF\u30ED\u30FC\u30EB \u30A4\u30D9\u30F3\u30C8\u306E `deltaX` \u3068 `deltaY` \u3067\u4F7F\u7528\u3055\u308C\u308B\u4E57\u6570\u3002","`Ctrl` \u30AD\u30FC\u3092\u62BC\u3057\u306A\u304C\u3089\u30DE\u30A6\u30B9 \u30DB\u30A4\u30FC\u30EB\u3092\u4F7F\u7528\u3057\u3066\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8\u3092\u30BA\u30FC\u30E0\u3057\u307E\u3059\u3002","\u8907\u6570\u306E\u30AB\u30FC\u30BD\u30EB\u304C\u91CD\u306A\u3063\u3066\u3044\u308B\u3068\u304D\u306F\u3001\u30DE\u30FC\u30B8\u3057\u307E\u3059\u3002","Windows \u304A\u3088\u3073 Linux \u4E0A\u306E `Control` \u30AD\u30FC\u3068 macOS \u4E0A\u306E `Command` \u30AD\u30FC\u306B\u5272\u308A\u5F53\u3066\u307E\u3059\u3002","Windows \u304A\u3088\u3073 Linux \u4E0A\u306E `Alt` \u30AD\u30FC\u3068 macOS \u4E0A\u306E `Option` \u30AD\u30FC\u306B\u5272\u308A\u5F53\u3066\u307E\u3059\u3002","\u30DE\u30A6\u30B9\u3092\u4F7F\u7528\u3057\u3066\u8907\u6570\u306E\u30AB\u30FC\u30BD\u30EB\u3092\u8FFD\u52A0\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3059\u308B\u4FEE\u98FE\u5B50\u3002[\u5B9A\u7FA9\u306B\u79FB\u52D5] \u304A\u3088\u3073 [\u30EA\u30F3\u30AF\u3092\u958B\u304F] \u30DE\u30A6\u30B9 \u30B8\u30A7\u30B9\u30C1\u30E3\u306F\u3001[multicursor \u4FEE\u98FE\u5B50](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier) \u3068\u7AF6\u5408\u3057\u306A\u3044\u3088\u3046\u306B\u8ABF\u6574\u3055\u308C\u307E\u3059\u3002","\u30AB\u30FC\u30BD\u30EB\u3054\u3068\u306B\u30C6\u30AD\u30B9\u30C8\u3092 1 \u884C\u305A\u3064\u8CBC\u308A\u4ED8\u3051\u307E\u3059\u3002","\u5404\u30AB\u30FC\u30BD\u30EB\u306F\u5168\u6587\u3092\u8CBC\u308A\u4ED8\u3051\u307E\u3059\u3002","\u8CBC\u308A\u4ED8\u3051\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u884C\u6570\u304C\u30AB\u30FC\u30BD\u30EB\u6570\u3068\u4E00\u81F4\u3059\u308B\u5834\u5408\u306E\u8CBC\u308A\u4ED8\u3051\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u4E00\u5EA6\u306B\u914D\u7F6E\u3067\u304D\u308B\u30AB\u30FC\u30BD\u30EB\u306E\u6700\u5927\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30BB\u30DE\u30F3\u30C6\u30A3\u30C3\u30AF \u30B7\u30F3\u30DC\u30EB\u306E\u51FA\u73FE\u7B87\u6240\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u5468\u56F2\u306B\u5883\u754C\u7DDA\u304C\u63CF\u753B\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D4\u30FC\u30AF\u3092\u958B\u304F\u3068\u304D\u306B\u30C4\u30EA\u30FC\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3059\u308B","\u30D4\u30FC\u30AF\u3092\u958B\u304F\u3068\u304D\u306B\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3059\u308B","\u30D4\u30FC\u30AF \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30A4\u30F3\u30E9\u30A4\u30F3 \u30A8\u30C7\u30A3\u30BF\u30FC\u307E\u305F\u306F\u30C4\u30EA\u30FC\u3092\u30D5\u30A9\u30FC\u30AB\u30B9\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","[\u5B9A\u7FA9\u3078\u79FB\u52D5] \u30DE\u30A6\u30B9 \u30B8\u30A7\u30B9\u30C1\u30E3\u30FC\u3067\u3001\u5E38\u306B\u30D4\u30FC\u30AF \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u958B\u304F\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AF\u30A4\u30C3\u30AF\u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u308B\u307E\u3067\u306E\u30DF\u30EA\u79D2\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306E\u578B\u306E\u81EA\u52D5\u540D\u524D\u5909\u66F4\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B\u3001`editor.linkedEditing` \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u5236\u5FA1\u6587\u5B57\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D5\u30A1\u30A4\u30EB\u306E\u672B\u5C3E\u304C\u6539\u884C\u306E\u5834\u5408\u306F\u3001\u6700\u5F8C\u306E\u884C\u756A\u53F7\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u4F59\u767D\u3068\u73FE\u5728\u306E\u884C\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u73FE\u5728\u306E\u884C\u3092\u3069\u306E\u3088\u3046\u306B\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308B\u5834\u5408\u306B\u306E\u307F\u73FE\u5728\u306E\u884C\u3092\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u5F37\u8ABF\u8868\u793A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5358\u8A9E\u9593\u306E\u5358\u4E00\u30B9\u30DA\u30FC\u30B9\u4EE5\u5916\u306E\u7A7A\u767D\u6587\u5B57\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u9078\u629E\u3057\u305F\u30C6\u30AD\u30B9\u30C8\u306B\u306E\u307F\u7A7A\u767D\u6587\u5B57\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u672B\u5C3E\u306E\u7A7A\u767D\u6587\u5B57\u306E\u307F\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u7A7A\u767D\u6587\u5B57\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u9078\u629E\u7BC4\u56F2\u306E\u89D2\u3092\u4E38\u304F\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u6C34\u5E73\u65B9\u5411\u306B\u4F59\u5206\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u6587\u5B57\u6570\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u6700\u5F8C\u306E\u884C\u3092\u8D8A\u3048\u3066\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5782\u76F4\u304A\u3088\u3073\u6C34\u5E73\u65B9\u5411\u306E\u4E21\u65B9\u306B\u540C\u6642\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u5834\u5408\u306F\u3001\u4E3B\u8981\u306A\u8EF8\u306B\u6CBF\u3063\u3066\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u307E\u3059\u3002\u30C8\u30E9\u30C3\u30AF\u30D1\u30C3\u30C9\u4E0A\u3067\u5782\u76F4\u65B9\u5411\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u5834\u5408\u306F\u3001\u6C34\u5E73\u30C9\u30EA\u30D5\u30C8\u3092\u9632\u6B62\u3057\u307E\u3059\u3002","Linux \u306E PRIMARY \u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3092\u30B5\u30DD\u30FC\u30C8\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u9078\u629E\u9805\u76EE\u3068\u985E\u4F3C\u306E\u4E00\u81F4\u9805\u76EE\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5E38\u306B\u6298\u308A\u305F\u305F\u307F\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u6298\u308A\u305F\u305F\u307F\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u8868\u793A\u305B\u305A\u3001\u4F59\u767D\u306E\u30B5\u30A4\u30BA\u3092\u5C0F\u3055\u304F\u3057\u307E\u3059\u3002","\u30DE\u30A6\u30B9\u304C\u3068\u3058\u3057\u308D\u306E\u4E0A\u306B\u3042\u308B\u3068\u304D\u306B\u306E\u307F\u3001\u6298\u308A\u305F\u305F\u307F\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u3068\u3058\u3057\u308D\u306E\u6298\u308A\u305F\u305F\u307F\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u8868\u793A\u3059\u308B\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u4F7F\u7528\u3055\u308C\u3066\u3044\u306A\u3044\u30B3\u30FC\u30C9\u306E\u30D5\u30A7\u30FC\u30C9\u30A2\u30A6\u30C8\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u975E\u63A8\u5968\u306E\u5909\u6570\u306E\u53D6\u308A\u6D88\u3057\u7DDA\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u4ED6\u306E\u5019\u88DC\u306E\u4E0A\u306B\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u4ED6\u306E\u5019\u88DC\u306E\u4E0B\u306B\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u4ED6\u306E\u5019\u88DC\u3068\u4E00\u7DD2\u306B\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u3059\u3002","\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u5019\u88DC\u3092\u8868\u793A\u3057\u307E\u305B\u3093\u3002","\u4ED6\u306E\u4FEE\u6B63\u5019\u88DC\u3068\u4E00\u7DD2\u306B\u30B9\u30CB\u30DA\u30C3\u30C8\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3001\u304A\u3088\u3073\u305D\u306E\u4E26\u3073\u66FF\u3048\u306E\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3067\u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3\u5165\u529B\u5019\u88DC\u304C\u8868\u793A\u3055\u308C\u305F\u3068\u304D\u306B\u3001\u30B9\u30AF\u30EA\u30FC\u30F3 \u30EA\u30FC\u30C0\u30FC \u30E6\u30FC\u30B6\u30FC\u306B\u30E6\u30FC\u30B6\u30FC\u88DC\u52A9\u30D2\u30F3\u30C8\u3092\u63D0\u4F9B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30D5\u30A9\u30F3\u30C8 \u30B5\u30A4\u30BA\u3002{0} \u306B\u8A2D\u5B9A\u3059\u308B\u3068\u3001\u5024 {1} \u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u884C\u306E\u9AD8\u3055\u3002{0} \u306B\u8A2D\u5B9A\u3059\u308B\u3068\u3001{1} \u306E\u5024\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\u6700\u5C0F\u5024\u306F 8 \u3067\u3059\u3002","\u30C8\u30EA\u30AC\u30FC\u6587\u5B57\u306E\u5165\u529B\u6642\u306B\u5019\u88DC\u304C\u81EA\u52D5\u7684\u306B\u8868\u793A\u3055\u308C\u308B\u3088\u3046\u306B\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5E38\u306B\u6700\u521D\u306E\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002","`console.| -> console.log` \u306A\u3069\u3068\u9078\u629E\u5BFE\u8C61\u306B\u95A2\u3057\u3066\u5165\u529B\u3057\u306A\u3044\u9650\u308A\u306F\u3001\u6700\u8FD1\u306E\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002`log` \u306F\u6700\u8FD1\u5B8C\u4E86\u3057\u305F\u305F\u3081\u3067\u3059\u3002","\u3053\u308C\u3089\u306E\u5019\u88DC\u3092\u5B8C\u4E86\u3057\u305F\u4EE5\u524D\u306E\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u306B\u57FA\u3065\u3044\u3066\u5019\u88DC\u3092\u9078\u629E\u3057\u307E\u3059\u3002\u4F8B: `co -> console` \u304A\u3088\u3073 `con -> const`\u3002","\u5019\u88DC\u30EA\u30B9\u30C8\u3092\u8868\u793A\u3059\u308B\u3068\u304D\u306B\u5019\u88DC\u3092\u4E8B\u524D\u306B\u9078\u629E\u3059\u308B\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30BF\u30D6\u88DC\u5B8C\u306F\u3001tab \u30AD\u30FC\u3092\u62BC\u3057\u305F\u3068\u304D\u306B\u6700\u9069\u306A\u5019\u88DC\u3092\u633F\u5165\u3057\u307E\u3059\u3002","\u30BF\u30D6\u88DC\u5B8C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002","\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u304C\u4E00\u81F4\u3059\u308B\u5834\u5408\u306B\u3001\u30BF\u30D6\u3067\u30B9\u30CB\u30DA\u30C3\u30C8\u3092\u88DC\u5B8C\u3057\u307E\u3059\u3002'quickSuggestions' \u304C\u7121\u52B9\u306A\u5834\u5408\u306B\u6700\u9069\u3067\u3059\u3002","\u30BF\u30D6\u88DC\u5B8C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","\u901A\u5E38\u3068\u306F\u7570\u306A\u308B\u884C\u306E\u7D42\u7AEF\u6587\u5B57\u306F\u81EA\u52D5\u7684\u306B\u524A\u9664\u3055\u308C\u308B\u3002","\u901A\u5E38\u3068\u306F\u7570\u306A\u308B\u884C\u306E\u7D42\u7AEF\u6587\u5B57\u306F\u7121\u8996\u3055\u308C\u308B\u3002","\u901A\u5E38\u3068\u306F\u7570\u306A\u308B\u884C\u306E\u7D42\u7AEF\u6587\u5B57\u306E\u524A\u9664\u30D7\u30ED\u30F3\u30D7\u30C8\u304C\u8868\u793A\u3055\u308C\u308B\u3002","\u554F\u984C\u3092\u8D77\u3053\u3059\u53EF\u80FD\u6027\u304C\u3042\u308B\u3001\u666E\u901A\u3067\u306F\u306A\u3044\u884C\u7D42\u7AEF\u8A18\u53F7\u306F\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u7A7A\u767D\u306E\u633F\u5165\u3084\u524A\u9664\u306F\u30BF\u30D6\u4F4D\u7F6E\u306B\u5F93\u3063\u3066\u884C\u308F\u308C\u307E\u3059\u3002","\u65E2\u5B9A\u306E\u6539\u884C\u30EB\u30FC\u30EB\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u4E2D\u56FD\u8A9E/\u65E5\u672C\u8A9E/\u97D3\u56FD\u8A9E (CJK) \u306E\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u5358\u8A9E\u533A\u5207\u308A\u3092\u4F7F\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002CJK \u4EE5\u5916\u306E\u30C6\u30AD\u30B9\u30C8\u306E\u52D5\u4F5C\u306F\u3001\u901A\u5E38\u306E\u5834\u5408\u3068\u540C\u3058\u3067\u3059\u3002","\u4E2D\u56FD\u8A9E/\u65E5\u672C\u8A9E/\u97D3\u56FD\u8A9E (CJK) \u30C6\u30AD\u30B9\u30C8\u306B\u4F7F\u7528\u3055\u308C\u308B\u5358\u8A9E\u533A\u5207\u308A\u898F\u5247\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u5358\u8A9E\u306B\u95A2\u9023\u3057\u305F\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u307E\u305F\u306F\u64CD\u4F5C\u3092\u5B9F\u884C\u3059\u308B\u3068\u304D\u306B\u3001\u5358\u8A9E\u306E\u533A\u5207\u308A\u6587\u5B57\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u308B\u6587\u5B57\u3002","\u884C\u3092\u6298\u308A\u8FD4\u3057\u307E\u305B\u3093\u3002","\u884C\u3092\u30D3\u30E5\u30FC\u30DD\u30FC\u30C8\u306E\u5E45\u3067\u6298\u308A\u8FD4\u3057\u307E\u3059\u3002","`#editor.wordWrapColumn#` \u3067\u884C\u3092\u6298\u308A\u8FD4\u3057\u307E\u3059\u3002","\u30D3\u30E5\u30FC\u30DD\u30FC\u30C8\u3068 `#editor.wordWrapColumn#` \u306E\u6700\u5C0F\u5024\u3067\u884C\u3092\u6298\u308A\u8FD4\u3057\u307E\u3059\u3002","\u884C\u306E\u6298\u308A\u8FD4\u3057\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","`#editor.wordWrap#` \u304C `wordWrapColumn` \u307E\u305F\u306F `bounded` \u306E\u5834\u5408\u306B\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u6298\u308A\u8FD4\u3057\u6841\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u65E2\u5B9A\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8 \u30AB\u30E9\u30FC \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u4F7F\u7528\u3057\u3066\u30A4\u30F3\u30E9\u30A4\u30F3\u306E\u8272\u306E\u88C5\u98FE\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30BF\u30D6\u3092\u53D7\u3051\u53D6\u308B\u304B\u3001\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u306B\u59D4\u306D\u3066\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002"],"vs/editor/common/core/editorColorRegistry":["\u30AB\u30FC\u30BD\u30EB\u4F4D\u7F6E\u306E\u884C\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u80CC\u666F\u8272\u3002","\u30AB\u30FC\u30BD\u30EB\u4F4D\u7F6E\u306E\u884C\u306E\u5883\u754C\u7DDA\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u80CC\u666F\u8272\u3002","(Quick Open \u3084\u691C\u51FA\u6A5F\u80FD\u306A\u3069\u306B\u3088\u308A) \u5F37\u8ABF\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u7BC4\u56F2\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u5F37\u8ABF\u8868\u793A\u3055\u308C\u305F\u7BC4\u56F2\u306E\u5883\u754C\u7DDA\u306E\u80CC\u666F\u8272\u3002","\u5F37\u8ABF\u8868\u793A\u3055\u308C\u305F\u8A18\u53F7\u306E\u80CC\u666F\u8272 (\u5B9A\u7FA9\u3078\u79FB\u52D5\u3001\u6B21\u307E\u305F\u306F\u524D\u306E\u8A18\u53F7\u3078\u79FB\u52D5\u306A\u3069)\u3002\u57FA\u306B\u306A\u308B\u88C5\u98FE\u304C\u8986\u308F\u308C\u306A\u3044\u3088\u3046\u306B\u3059\u308B\u305F\u3081\u3001\u8272\u3092\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u5F37\u8ABF\u8868\u793A\u3055\u308C\u305F\u8A18\u53F7\u306E\u5468\u308A\u306E\u5883\u754C\u7DDA\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30AB\u30FC\u30BD\u30EB\u306E\u8272\u3002","\u9078\u629E\u3055\u308C\u305F\u6587\u5B57\u5217\u306E\u80CC\u666F\u8272\u3067\u3059\u3002\u9078\u629E\u3055\u308C\u305F\u6587\u5B57\u5217\u306E\u80CC\u666F\u8272\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u51FA\u6765\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B9\u30DA\u30FC\u30B9\u6587\u5B57\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u884C\u756A\u53F7\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272\u3002","'editorIndentGuide.background' \u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B 'editorIndentGuide.background1' \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272\u3002","'editorIndentGuide.activeBackground' \u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B 'editorIndentGuide.activeBackground1' \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (1)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (2)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (3)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (4)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (5)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (6)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (1)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (2)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (3)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (4)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (5)\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u8272 (6)\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A2\u30AF\u30C6\u30A3\u30D6\u884C\u756A\u53F7\u306E\u8272","id \u306F\u4F7F\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002\u4EE3\u308F\u308A\u306B 'EditorLineNumber.activeForeground' \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30A2\u30AF\u30C6\u30A3\u30D6\u884C\u756A\u53F7\u306E\u8272","editor.renderFinalNewline \u304C dimmed \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u6700\u7D42\u884C\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30EB\u30FC\u30E9\u30FC\u306E\u8272\u3002","CodeLens \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u524D\u666F\u8272\u3002","\u4E00\u81F4\u3059\u308B\u304B\u3063\u3053\u306E\u80CC\u666F\u8272","\u4E00\u81F4\u3059\u308B\u304B\u3063\u3053\u5185\u306E\u30DC\u30C3\u30AF\u30B9\u306E\u8272","\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u5883\u754C\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4F59\u767D\u306E\u80CC\u666F\u8272\u3002\u4F59\u767D\u306B\u306F\u30B0\u30EA\u30D5 \u30DE\u30FC\u30B8\u30F3\u3068\u884C\u756A\u53F7\u304C\u542B\u307E\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306E\u4E0D\u8981\u306A (\u672A\u4F7F\u7528\u306E) \u30BD\u30FC\u30B9 \u30B3\u30FC\u30C9\u306E\u7F6B\u7DDA\u306E\u8272\u3002",`\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u4E0D\u8981\u306A (\u672A\u4F7F\u7528\u306E) \u30BD\u30FC\u30B9 \u30B3\u30FC\u30C9\u306E\u4E0D\u900F\u660E\u5EA6\u3002\u305F\u3068\u3048\u3070\u3001"#000000c0" \u306F\u4E0D\u900F\u660E\u5EA6 75% \u3067\u30B3\u30FC\u30C9\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u30CF\u30A4 \u30B3\u30F3\u30C8\u30E9\u30B9\u30C8\u306E\u30C6\u30FC\u30DE\u306E\u5834\u5408\u3001'editorUnnecessaryCode.border' \u30C6\u30FC\u30DE\u8272\u3092\u4F7F\u7528\u3057\u3066\u3001\u4E0D\u8981\u306A\u30B3\u30FC\u30C9\u3092\u30D5\u30A7\u30FC\u30C9\u30A2\u30A6\u30C8\u3059\u308B\u306E\u3067\u306F\u306A\u304F\u4E0B\u7DDA\u3092\u4ED8\u3051\u307E\u3059\u3002`,"\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u900F\u304B\u3057\u6587\u5B57\u306E\u5883\u754C\u7DDA\u306E\u8272\u3067\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u900F\u304B\u3057\u6587\u5B57\u306E\u524D\u666F\u8272\u3067\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B4\u30FC\u30B9\u30C8 \u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002","\u7BC4\u56F2\u5F37\u8ABF\u8868\u793A\u306E\u305F\u3081\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A8\u30E9\u30FC\u3092\u793A\u3059\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u8272\u3002","\u8B66\u544A\u3092\u793A\u3059\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u8272\u3002","\u60C5\u5831\u3092\u793A\u3059\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u8272\u3002","\u89D2\u304B\u3063\u3053 (1) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053 (2) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053 (3) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053 (4) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053 (5) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u89D2\u304B\u3063\u3053 (6) \u306E\u524D\u666F\u8272\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2\u306E\u8272\u4ED8\u3051\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u4E88\u671F\u3057\u306A\u3044\u30D6\u30E9\u30B1\u30C3\u30C8\u306E\u524D\u666F\u8272\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (1)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (2)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (3)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (4)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (5)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (6)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (1)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (2)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (3)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (4)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (5)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u306E\u80CC\u666F\u8272 (6)\u3002\u89D2\u304B\u3063\u3053\u306E\u30DA\u30A2 \u30AC\u30A4\u30C9\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","Unicode \u6587\u5B57\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u308B\u5883\u754C\u7DDA\u306E\u8272\u3002","Unicode \u6587\u5B57\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u308B\u80CC\u666F\u8272\u3002"],"vs/editor/common/editorContextKeys":["\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30C6\u30AD\u30B9\u30C8\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308B (\u30AB\u30FC\u30BD\u30EB\u304C\u70B9\u6EC5\u3057\u3066\u3044\u308B) \u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u307E\u305F\u306F\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308B (\u4F8B: \u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308B) \u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u307E\u305F\u306F\u30EA\u30C3\u30C1 \u30C6\u30AD\u30B9\u30C8\u5165\u529B\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308B (\u30AB\u30FC\u30BD\u30EB\u304C\u70B9\u6EC5\u3057\u3066\u3044\u308B) \u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u304B\u3069\u3046\u304B","\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u304C\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u304C\u57CB\u3081\u8FBC\u307F\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u79FB\u52D5\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30D6\u30ED\u30C3\u30AF\u304C\u6BD4\u8F03\u5BFE\u8C61\u3068\u3057\u3066\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u306E\u9AD8\u3044\u5DEE\u5206\u30D3\u30E5\u30FC\u30A2\u30FC\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D6\u30EC\u30FC\u30AF\u30DD\u30A4\u30F3\u30C8\u3092\u4E26\u3079\u3066\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3059\u308B\u304B\u3069\u3046\u304B","`editor.columnSelection` \u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30C6\u30AD\u30B9\u30C8\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u8907\u6570\u306E\u9078\u629E\u7BC4\u56F2\u304C\u3042\u308B\u304B\u3069\u3046\u304B","`Tab` \u306B\u3088\u3063\u3066\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5916\u306B\u79FB\u52D5\u3059\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DB\u30D0\u30FC\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DB\u30D0\u30FC\u304C\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u304C\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3 \u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B","\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3 \u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u304C\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u3088\u308A\u5927\u304D\u306A\u30A8\u30C7\u30A3\u30BF\u30FC (\u4F8B: Notebooks) \u306E\u4E00\u90E8\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u8A00\u8A9E\u8B58\u5225\u5B50","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u5165\u529B\u5019\u88DC\u9805\u76EE\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30B3\u30FC\u30C9 \u30EC\u30F3\u30BA \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u5B9A\u7FA9\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u5BA3\u8A00\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u5B9F\u88C5\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u578B\u5B9A\u7FA9\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30DB\u30D0\u30FC \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5F37\u8ABF\u8868\u793A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8 \u30B7\u30F3\u30DC\u30EB \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u53C2\u7167\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u540D\u524D\u5909\u66F4\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30B7\u30B0\u30CD\u30C1\u30E3 \u30D8\u30EB\u30D7 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u66F8\u5F0F\u8A2D\u5B9A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u9078\u629E\u66F8\u5F0F\u8A2D\u5B9A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u8907\u6570\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u66F8\u5F0F\u8A2D\u5B9A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u8907\u6570\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u9078\u629E\u66F8\u5F0F\u8A2D\u5B9A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308B\u304B\u3069\u3046\u304B"],"vs/editor/common/languages":["\u914D\u5217","\u30D6\u30FC\u30EB\u5024","\u30AF\u30E9\u30B9","\u5B9A\u6570","\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC","\u5217\u6319\u578B","\u5217\u6319\u578B\u30E1\u30F3\u30D0\u30FC","\u30A4\u30D9\u30F3\u30C8","\u30D5\u30A3\u30FC\u30EB\u30C9","\u30D5\u30A1\u30A4\u30EB","\u95A2\u6570","\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9","\u30AD\u30FC","\u30E1\u30BD\u30C3\u30C9","\u30E2\u30B8\u30E5\u30FC\u30EB","\u540D\u524D\u7A7A\u9593","NULL","\u6570\u5024","\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8","\u6F14\u7B97\u5B50","\u30D1\u30C3\u30B1\u30FC\u30B8","\u30D7\u30ED\u30D1\u30C6\u30A3","\u6587\u5B57\u5217","\u69CB\u9020\u4F53","\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC","\u5909\u6570","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["\u30D7\u30EC\u30FC\u30F3\u30C6\u30AD\u30B9\u30C8"],"vs/editor/common/model/editStack":["\u5165\u529B\u3057\u3066\u3044\u307E\u3059"],"vs/editor/common/standaloneStrings":["\u958B\u767A\u8005: \u30C8\u30FC\u30AF\u30F3\u306E\u691C\u67FB","\u884C/\u5217\u306B\u79FB\u52D5\u3059\u308B...","\u3059\u3079\u3066\u306E\u30AF\u30A4\u30C3\u30AF \u30A2\u30AF\u30BB\u30B9 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u8868\u793A","\u30B3\u30DE\u30F3\u30C9 \u30D1\u30EC\u30C3\u30C8","\u30B3\u30DE\u30F3\u30C9\u306E\u8868\u793A\u3068\u5B9F\u884C","\u30B7\u30F3\u30DC\u30EB\u306B\u79FB\u52D5...","\u30AB\u30C6\u30B4\u30EA\u5225\u306E\u30B7\u30F3\u30DC\u30EB\u3078\u79FB\u52D5...","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B3\u30F3\u30C6\u30F3\u30C4","\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3 \u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8868\u793A\u3059\u308B\u306B\u306F\u3001Alt+F1 \u30AD\u30FC\u3092\u62BC\u3057\u307E\u3059\u3002","\u30CF\u30A4 \u30B3\u30F3\u30C8\u30E9\u30B9\u30C8 \u30C6\u30FC\u30DE\u306E\u5207\u308A\u66FF\u3048","{1} \u500B\u306E\u30D5\u30A1\u30A4\u30EB\u306B {0} \u500B\u306E\u7DE8\u96C6\u304C\u884C\u308F\u308C\u307E\u3057\u305F"],"vs/editor/common/viewLayout/viewLineRenderer":["\u8868\u793A\u6570\u3092\u5897\u3084\u3059 ({0})","{0} \u6587\u5B57"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["\u9078\u629E\u30A2\u30F3\u30AB\u30FC","\u30A2\u30F3\u30AB\u30FC\u304C {0}:{1} \u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F","\u9078\u629E\u30A2\u30F3\u30AB\u30FC\u306E\u8A2D\u5B9A","\u9078\u629E\u30A2\u30F3\u30AB\u30FC\u3078\u79FB\u52D5","\u30A2\u30F3\u30AB\u30FC\u304B\u3089\u30AB\u30FC\u30BD\u30EB\u3078\u9078\u629E","\u9078\u629E\u30A2\u30F3\u30AB\u30FC\u306E\u53D6\u308A\u6D88\u3057"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\u4E00\u81F4\u3059\u308B\u30D6\u30E9\u30B1\u30C3\u30C8\u3092\u793A\u3059\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u8272\u3002","\u30D6\u30E9\u30B1\u30C3\u30C8\u3078\u79FB\u52D5","\u30D6\u30E9\u30B1\u30C3\u30C8\u306B\u9078\u629E","\u304B\u3063\u3053\u3092\u5916\u3059","\u30D6\u30E9\u30B1\u30C3\u30C8\u306B\u79FB\u52D5(&&B)"],"vs/editor/contrib/caretOperations/browser/caretOperations":["\u9078\u629E\u3057\u305F\u30C6\u30AD\u30B9\u30C8\u3092\u5DE6\u306B\u79FB\u52D5","\u9078\u629E\u3057\u305F\u30C6\u30AD\u30B9\u30C8\u3092\u53F3\u306B\u79FB\u52D5"],"vs/editor/contrib/caretOperations/browser/transpose":["\u6587\u5B57\u306E\u5165\u308C\u66FF\u3048"],"vs/editor/contrib/clipboard/browser/clipboard":["\u5207\u308A\u53D6\u308A(&&T)","\u5207\u308A\u53D6\u308A","\u5207\u308A\u53D6\u308A","\u5207\u308A\u53D6\u308A","\u30B3\u30D4\u30FC(&&C)","\u30B3\u30D4\u30FC","\u30B3\u30D4\u30FC","\u30B3\u30D4\u30FC","\u5F62\u5F0F\u3092\u6307\u5B9A\u3057\u3066\u30B3\u30D4\u30FC","\u5F62\u5F0F\u3092\u6307\u5B9A\u3057\u3066\u30B3\u30D4\u30FC","\u5171\u6709","\u5171\u6709","\u5171\u6709","\u8CBC\u308A\u4ED8\u3051(&&P)","\u8CBC\u308A\u4ED8\u3051","\u8CBC\u308A\u4ED8\u3051","\u8CBC\u308A\u4ED8\u3051","\u69CB\u6587\u3092\u5F37\u8ABF\u8868\u793A\u3057\u3066\u30B3\u30D4\u30FC"],"vs/editor/contrib/codeAction/browser/codeAction":["\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u9069\u7528\u4E2D\u306B\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["\u5B9F\u884C\u3059\u308B\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u7A2E\u985E\u3002","\u8FD4\u3055\u308C\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u9069\u7528\u3055\u308C\u308B\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u6700\u521D\u306B\u8FD4\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u5E38\u306B\u9069\u7528\u3057\u307E\u3059\u3002","\u6700\u521D\u306B\u8FD4\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u4EE5\u5916\u306B\u8FD4\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u306A\u3044\u5834\u5408\u306F\u3001\u305D\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u9069\u7528\u3057\u307E\u3059\u3002","\u8FD4\u3055\u308C\u305F\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u9069\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","\u512A\u5148\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u307F\u3092\u8FD4\u3059\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30AF\u30A4\u30C3\u30AF \u30D5\u30A3\u30C3\u30AF\u30B9...","\u5229\u7528\u53EF\u80FD\u306A\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093","'{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","\u5229\u7528\u53EF\u80FD\u306A\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093","\u30EA\u30D5\u30A1\u30AF\u30BF\u30FC...","'{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093","'{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093","\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093","\u5229\u7528\u53EF\u80FD\u306A\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u306F\u3042\u308A\u307E\u305B\u3093","\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3...","'{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","'{0}' \u306B\u5BFE\u3057\u3066\u4F7F\u7528\u3067\u304D\u308B\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","\u4F7F\u7528\u3067\u304D\u308B\u512A\u5148\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u305B\u3093","\u5229\u7528\u53EF\u80FD\u306A\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093","\u30A4\u30F3\u30DD\u30FC\u30C8\u3092\u6574\u7406","\u5229\u7528\u53EF\u80FD\u306A\u30A4\u30F3\u30DD\u30FC\u30C8\u306E\u6574\u7406\u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093","\u3059\u3079\u3066\u4FEE\u6B63","\u3059\u3079\u3066\u3092\u4FEE\u6B63\u3059\u308B\u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093","\u81EA\u52D5\u4FEE\u6B63...","\u5229\u7528\u53EF\u80FD\u306A\u81EA\u52D5\u4FEE\u6B63\u306F\u3042\u308A\u307E\u305B\u3093"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3 \u30E1\u30CB\u30E5\u30FC\u3067\u306E\u30B0\u30EB\u30FC\u30D7 \u30D8\u30C3\u30C0\u30FC\u306E\u8868\u793A\u306E\u6709\u52B9/\u7121\u52B9\u3092\u5207\u308A\u66FF\u3048\u307E\u3059\u3002","\u73FE\u5728\u8A3A\u65AD\u3092\u884C\u3063\u3066\u3044\u306A\u3044\u5834\u5408\u306B\u3001\u884C\u5185\u3067\u6700\u3082\u8FD1\u3044\u30AF\u30A4\u30C3\u30AF\u4FEE\u6B63\u3092\u8868\u793A\u3059\u308B\u6A5F\u80FD\u3092\u6709\u52B9/\u7121\u52B9\u306B\u3057\u307E\u3059\u3002"],"vs/editor/contrib/codeAction/browser/codeActionController":["\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8: {1} \u884C {2} \u5217 \u306E {0}\u3002","\u7121\u52B9\u306A\u3082\u306E\u3092\u975E\u8868\u793A","\u7121\u52B9\u3092\u8868\u793A"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["\u305D\u306E\u4ED6\u306E\u64CD\u4F5C...","\u30AF\u30A4\u30C3\u30AF\u4FEE\u6B63","\u62BD\u51FA","\u30A4\u30F3\u30E9\u30A4\u30F3","\u518D\u66F8\u304D\u8FBC\u307F\u3059\u308B","\u79FB\u52D5","\u30D6\u30ED\u30C3\u30AF\u306E\u633F\u5165","\u30BD\u30FC\u30B9 \u30A2\u30AF\u30B7\u30E7\u30F3..."],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["\u30B3\u30FC\u30C9\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u4F7F\u7528\u53EF\u80FD\u306A\u512A\u5148\u306E\u30AF\u30A4\u30C3\u30AF\u4FEE\u6B63 ({0})","\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u8868\u793A ({0})","\u30B3\u30FC\u30C9 \u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u8868\u793A"],"vs/editor/contrib/codelens/browser/codelensController":["\u73FE\u5728\u306E\u884C\u306E\u30B3\u30FC\u30C9 \u30EC\u30F3\u30BA \u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A","\u30B3\u30DE\u30F3\u30C9\u306E\u9078\u629E"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u8272\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u5207\u308A\u66FF\u3048\u307E\u3059 (rgb/hsl/hex)","\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u9589\u3058\u308B\u30A2\u30A4\u30B3\u30F3"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3 \u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u306E\u8868\u793A\u307E\u305F\u306F\u30D5\u30A9\u30FC\u30AB\u30B9","\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3 \u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u306E\u8868\u793A\u307E\u305F\u306F\u30D5\u30A9\u30FC\u30AB\u30B9(&S)","\u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3092\u975E\u8868\u793A\u306B\u3059\u308B","\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3 \u30AB\u30E9\u30FC \u30D4\u30C3\u30AB\u30FC\u3067\u8272\u3092\u633F\u5165"],"vs/editor/contrib/comment/browser/comment":["\u884C\u30B3\u30E1\u30F3\u30C8\u306E\u5207\u308A\u66FF\u3048","\u884C\u30B3\u30E1\u30F3\u30C8\u306E\u5207\u308A\u66FF\u3048(&&T)","\u884C\u30B3\u30E1\u30F3\u30C8\u306E\u8FFD\u52A0","\u884C\u30B3\u30E1\u30F3\u30C8\u306E\u524A\u9664","\u30D6\u30ED\u30C3\u30AF \u30B3\u30E1\u30F3\u30C8\u306E\u5207\u308A\u66FF\u3048","\u30D6\u30ED\u30C3\u30AF \u30B3\u30E1\u30F3\u30C8\u306E\u5207\u308A\u66FF\u3048(&&B)"],"vs/editor/contrib/contextmenu/browser/contextmenu":["\u30DF\u30CB\u30DE\u30C3\u30D7","\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u6587\u5B57","\u5782\u76F4\u65B9\u5411\u306E\u30B5\u30A4\u30BA","\u5747\u7B49","\u5857\u308A\u3064\u3076\u3057","\u30B5\u30A4\u30BA\u306B\u5408\u308F\u305B\u3066\u8ABF\u6574","\u30B9\u30E9\u30A4\u30C0\u30FC","\u30DE\u30A6\u30B9 \u30AA\u30FC\u30D0\u30FC","\u5E38\u306B","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8 \u30E1\u30CB\u30E5\u30FC\u306E\u8868\u793A"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["\u30AB\u30FC\u30BD\u30EB\u3092\u5143\u306B\u623B\u3059","\u30AB\u30FC\u30BD\u30EB\u306E\u3084\u308A\u76F4\u3057"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["\u8CBC\u308A\u4ED8\u3051\u306E\u30AA\u30D7\u30B7\u30E7\u30F3...","\u9069\u7528\u3057\u3088\u3046\u3068\u3059\u308B\u8CBC\u308A\u4ED8\u3051\u7DE8\u96C6\u306E ID\u3002\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u30D4\u30C3\u30AB\u30FC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["\u8CBC\u308A\u4ED8\u3051\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u8CBC\u308A\u4ED8\u3051\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8868\u793A...","\u8CBC\u308A\u4ED8\u3051\u30CF\u30F3\u30C9\u30E9\u30FC\u3092\u5B9F\u884C\u3057\u3066\u3044\u307E\u3059\u3002\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059","\u8CBC\u308A\u4ED8\u3051\u64CD\u4F5C\u306E\u9078\u629E","\u8CBC\u308A\u4ED8\u3051\u30CF\u30F3\u30C9\u30E9\u30FC\u3092\u5B9F\u884C\u3057\u3066\u3044\u307E\u3059..."],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["\u30D3\u30EB\u30C8\u30A4\u30F3","\u30D7\u30EC\u30FC\u30F3\u30C6\u30AD\u30B9\u30C8\u306E\u633F\u5165","URI \u306E\u633F\u5165","URI \u306E\u633F\u5165","\u30D1\u30B9\u306E\u633F\u5165","\u30D1\u30B9\u306E\u633F\u5165","\u76F8\u5BFE\u30D1\u30B9\u306E\u633F\u5165","\u76F8\u5BFE\u30D1\u30B9\u306E\u633F\u5165"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["\u7279\u5B9A\u306E MIME \u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u4F7F\u7528\u3059\u308B\u65E2\u5B9A\u306E\u30C9\u30ED\u30C3\u30D7 \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u69CB\u6210\u3057\u307E\u3059\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["\u30C9\u30ED\u30C3\u30D7 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u30C9\u30ED\u30C3\u30D7 \u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8868\u793A...","\u30C9\u30ED\u30C3\u30D7 \u30CF\u30F3\u30C9\u30E9\u30FC\u3092\u5B9F\u884C\u3057\u3066\u3044\u307E\u3059\u3002\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u53D6\u308A\u6D88\u3057\u53EF\u80FD\u306A\u64CD\u4F5C ('\u53C2\u7167\u3092\u3053\u3053\u306B\u8868\u793A' \u306A\u3069) \u3092\u5B9F\u884C\u3059\u308B\u304B\u3069\u3046\u304B"],"vs/editor/contrib/find/browser/findController":["\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u308B\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u7F6E\u63DB\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\u3002","\u691C\u7D22","\u691C\u7D22(&&F)",`"\u6B63\u898F\u8868\u73FE\u3092\u4F7F\u7528\u3059\u308B" \u30D5\u30E9\u30B0\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3057\u307E\u3059\u3002\r +\u30D5\u30E9\u30B0\u306F\u4ECA\u5F8C\u4FDD\u5B58\u3055\u308C\u307E\u305B\u3093\u3002\r +0: \u4F55\u3082\u3057\u306A\u3044\r +1: True\r +2: False`,`"\u5358\u8A9E\u5358\u4F4D\u3067\u691C\u7D22\u3059\u308B" \u30D5\u30E9\u30B0\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3057\u307E\u3059\u3002\r +\u30D5\u30E9\u30B0\u306F\u4ECA\u5F8C\u4FDD\u5B58\u3055\u308C\u307E\u305B\u3093\u3002\r +0: \u4F55\u3082\u3057\u306A\u3044\r +1: True\r +2: False`,`"\u6570\u5F0F\u30B1\u30FC\u30B9" \u30D5\u30E9\u30B0\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3057\u307E\u3059\u3002\r +\u30D5\u30E9\u30B0\u306F\u4ECA\u5F8C\u4FDD\u5B58\u3055\u308C\u307E\u305B\u3093\u3002\r +0: \u4F55\u3082\u3057\u306A\u3044\r +1: True\r +2: False`,`"\u30B1\u30FC\u30B9\u306E\u4FDD\u6301" \u30D5\u30E9\u30B0\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3057\u307E\u3059\u3002\r +\u30D5\u30E9\u30B0\u306F\u4ECA\u5F8C\u4FDD\u5B58\u3055\u308C\u307E\u305B\u3093\u3002\r +0: \u4F55\u3082\u3057\u306A\u3044\r +1: True\r +2: False`,"\u5F15\u6570\u3092\u4F7F\u7528\u3057\u305F\u691C\u7D22","\u9078\u629E\u7BC4\u56F2\u3067\u691C\u7D22","\u6B21\u3092\u691C\u7D22","\u524D\u3092\u691C\u7D22","[\u4E00\u81F4] \u306B\u79FB\u52D5...","\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002\u4ED6\u306E\u9805\u76EE\u3092\u691C\u7D22\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002","\u7279\u5B9A\u306E\u4E00\u81F4\u306B\u79FB\u52D5\u3059\u308B\u6570\u5024\u3092\u5165\u529B\u3057\u307E\u3059 (1 \u304B\u3089 {0})","1 ~ {0} \u306E\u6570\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","1 ~ {0} \u306E\u6570\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u6B21\u306E\u9078\u629E\u9805\u76EE\u3092\u691C\u7D22","\u524D\u306E\u9078\u629E\u9805\u76EE\u3092\u691C\u7D22","\u7F6E\u63DB","\u7F6E\u63DB(&&R)"],"vs/editor/contrib/find/browser/findWidget":["\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E '\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22' \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u6298\u308A\u305F\u305F\u307E\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u793A\u3059\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u5C55\u958B\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u793A\u3059\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E '\u7F6E\u63DB' \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E '\u3059\u3079\u3066\u7F6E\u63DB' \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E '\u524D\u3092\u691C\u7D22' \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u691C\u7D22\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u306E '\u6B21\u3092\u691C\u7D22' \u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u691C\u7D22/\u7F6E\u63DB","\u691C\u7D22","\u691C\u7D22","\u524D\u306E\u4E00\u81F4\u9805\u76EE","\u6B21\u306E\u4E00\u81F4\u9805\u76EE","\u9078\u629E\u7BC4\u56F2\u3092\u691C\u7D22","\u9589\u3058\u308B","\u7F6E\u63DB","\u7F6E\u63DB","\u7F6E\u63DB","\u3059\u3079\u3066\u7F6E\u63DB","\u7F6E\u63DB\u306E\u5207\u308A\u66FF\u3048","\u6700\u521D\u306E {0} \u4EF6\u306E\u7D50\u679C\u3060\u3051\u304C\u5F37\u8ABF\u8868\u793A\u3055\u308C\u307E\u3059\u304C\u3001\u3059\u3079\u3066\u306E\u691C\u7D22\u64CD\u4F5C\u306F\u30C6\u30AD\u30B9\u30C8\u5168\u4F53\u3067\u6A5F\u80FD\u3057\u307E\u3059\u3002","{0} / {1} \u4EF6","\u7D50\u679C\u306F\u3042\u308A\u307E\u305B\u3093\u3002","{0} \u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F","{0} \u304C '{1}' \u3067\u898B\u3064\u304B\u308A\u307E\u3057\u305F","{0} \u306F '{1}' \u3067 {2} \u306B\u898B\u3064\u304B\u308A\u307E\u3057\u305F","{0} \u304C '{1}' \u3067\u898B\u3064\u304B\u308A\u307E\u3057\u305F","Ctrl + Enter \u30AD\u30FC\u3092\u62BC\u3059\u3068\u3001\u3059\u3079\u3066\u7F6E\u63DB\u3059\u308B\u306E\u3067\u306F\u306A\u304F\u3001\u6539\u884C\u304C\u633F\u5165\u3055\u308C\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3057\u305F\u3002editor.action.replaceAll \u306E\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092\u5909\u66F4\u3057\u3066\u3001\u3053\u306E\u52D5\u4F5C\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3067\u304D\u307E\u3059\u3002"],"vs/editor/contrib/folding/browser/folding":["\u5C55\u958B","\u518D\u5E30\u7684\u306B\u5C55\u958B\u3059\u308B","\u6298\u308A\u305F\u305F\u307F","\u6298\u308A\u305F\u305F\u307F\u306E\u5207\u308A\u66FF\u3048","\u518D\u5E30\u7684\u306B\u6298\u308A\u305F\u305F\u3080","\u3059\u3079\u3066\u306E\u30D6\u30ED\u30C3\u30AF \u30B3\u30E1\u30F3\u30C8\u306E\u6298\u308A\u305F\u305F\u307F","\u3059\u3079\u3066\u306E\u9818\u57DF\u3092\u6298\u308A\u305F\u305F\u3080","\u3059\u3079\u3066\u306E\u9818\u57DF\u3092\u5C55\u958B","\u9078\u629E\u3057\u305F\u9805\u76EE\u3092\u9664\u304F\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u307F","\u9078\u629E\u3057\u305F\u9805\u76EE\u3092\u9664\u304F\u3059\u3079\u3066\u5C55\u958B","\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u307F","\u3059\u3079\u3066\u5C55\u958B","\u89AA\u30D5\u30A9\u30FC\u30EB\u30C9\u306B\u79FB\u52D5\u3059\u308B","\u524D\u306E\u30D5\u30A9\u30FC\u30EB\u30C7\u30A3\u30F3\u30B0\u7BC4\u56F2\u306B\u79FB\u52D5\u3059\u308B","\u6B21\u306E\u30D5\u30A9\u30FC\u30EB\u30C7\u30A3\u30F3\u30B0\u7BC4\u56F2\u306B\u79FB\u52D5\u3059\u308B","\u9078\u629E\u7BC4\u56F2\u304B\u3089\u6298\u308A\u305F\u305F\u307F\u7BC4\u56F2\u3092\u4F5C\u6210\u3059\u308B","\u624B\u52D5\u6298\u308A\u305F\u305F\u307F\u7BC4\u56F2\u3092\u524A\u9664\u3059\u308B","\u30EC\u30D9\u30EB {0} \u3067\u6298\u308A\u305F\u305F\u3080"],"vs/editor/contrib/folding/browser/foldingDecorations":["\u6298\u308A\u66F2\u3052\u308B\u7BC4\u56F2\u306E\u80CC\u666F\u8272\u3002\u57FA\u306E\u88C5\u98FE\u3092\u96A0\u3055\u306A\u3044\u3088\u3046\u306B\u3001\u8272\u306F\u4E0D\u900F\u660E\u3067\u3042\u3063\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4F59\u767D\u306B\u3042\u308B\u6298\u308A\u305F\u305F\u307F\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B0\u30EA\u30D5\u4F59\u767D\u5185\u306E\u5C55\u958B\u3055\u308C\u305F\u7BC4\u56F2\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B0\u30EA\u30D5\u4F59\u767D\u5185\u306E\u6298\u308A\u305F\u305F\u307E\u308C\u305F\u7BC4\u56F2\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B0\u30EA\u30D5\u4F59\u767D\u5185\u306E\u6298\u308A\u305F\u305F\u307E\u308C\u305F\u7BC4\u56F2\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30B0\u30EA\u30D5\u4F59\u767D\u5185\u3067\u624B\u52D5\u3067\u5C55\u958B\u3055\u308C\u305F\u7BC4\u56F2\u306E\u30A2\u30A4\u30B3\u30F3\u3002"],"vs/editor/contrib/fontZoom/browser/fontZoom":["\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8\u3092\u62E1\u5927","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8\u3092\u7E2E\u5C0F","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30D5\u30A9\u30F3\u30C8\u306E\u30BA\u30FC\u30E0\u3092\u30EA\u30BB\u30C3\u30C8"],"vs/editor/contrib/format/browser/format":["\u884C {0} \u3067 1 \u3064\u306E\u66F8\u5F0F\u8A2D\u5B9A\u3092\u7DE8\u96C6","\u884C {1} \u3067 {0} \u500B\u306E\u66F8\u5F0F\u8A2D\u5B9A\u3092\u7DE8\u96C6","\u884C {0} \u3068 {1} \u306E\u9593\u3067 1 \u3064\u306E\u66F8\u5F0F\u8A2D\u5B9A\u3092\u7DE8\u96C6","\u884C {1} \u3068 {2} \u306E\u9593\u3067 {0} \u500B\u306E\u66F8\u5F0F\u8A2D\u5B9A\u3092\u7DE8\u96C6"],"vs/editor/contrib/format/browser/formatActions":["\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8","\u9078\u629E\u7BC4\u56F2\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8"],"vs/editor/contrib/gotoError/browser/gotoError":["\u6B21\u306E\u554F\u984C (\u30A8\u30E9\u30FC\u3001\u8B66\u544A\u3001\u60C5\u5831) \u3078\u79FB\u52D5","\u6B21\u306E\u30DE\u30FC\u30AB\u30FC\u3078\u79FB\u52D5\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u524D\u306E\u554F\u984C (\u30A8\u30E9\u30FC\u3001\u8B66\u544A\u3001\u60C5\u5831) \u3078\u79FB\u52D5","\u524D\u306E\u30DE\u30FC\u30AB\u30FC\u3078\u79FB\u52D5\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u30D5\u30A1\u30A4\u30EB\u5185\u306E\u6B21\u306E\u554F\u984C (\u30A8\u30E9\u30FC\u3001\u8B66\u544A\u3001\u60C5\u5831) \u3078\u79FB\u52D5","\u6B21\u306E\u554F\u984C\u7B87\u6240(&&P)","\u30D5\u30A1\u30A4\u30EB\u5185\u306E\u524D\u306E\u554F\u984C (\u30A8\u30E9\u30FC\u3001\u8B66\u544A\u3001\u60C5\u5831) \u3078\u79FB\u52D5","\u524D\u306E\u554F\u984C\u7B87\u6240(&&P)"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["\u30A8\u30E9\u30FC","\u8B66\u544A","\u60C5\u5831","\u30D2\u30F3\u30C8","{0} ({1})\u3002","{1} \u4EF6\u4E2D {0} \u4EF6\u306E\u554F\u984C","\u554F\u984C {0} / {1}","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30A8\u30E9\u30FC\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8 \u30A8\u30E9\u30FC\u306E\u898B\u51FA\u3057\u306E\u80CC\u666F\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u8B66\u544A\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u8B66\u544A\u306E\u898B\u51FA\u3057\u306E\u80CC\u666F\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u60C5\u5831\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u60C5\u5831\u306E\u898B\u51FA\u3057\u306E\u80CC\u666F\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DE\u30FC\u30AB\u30FC \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u3002"],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["\u30D4\u30FC\u30AF","\u5B9A\u7FA9","'{0}' \u306E\u5B9A\u7FA9\u306F\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5B9A\u7FA9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5B9A\u7FA9\u3078\u79FB\u52D5","\u5B9A\u7FA9\u306B\u79FB\u52D5(&&D)","\u5B9A\u7FA9\u3092\u6A2A\u306B\u958B\u304F","\u5B9A\u7FA9\u3092\u3053\u3053\u306B\u8868\u793A","\u5BA3\u8A00","'{0}' \u306E\u5BA3\u8A00\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5BA3\u8A00\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5BA3\u8A00\u3078\u79FB\u52D5","\u5BA3\u8A00\u3078\u79FB\u52D5(&&D)","'{0}' \u306E\u5BA3\u8A00\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5BA3\u8A00\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5BA3\u8A00\u3092\u3053\u3053\u306B\u8868\u793A","\u578B\u5B9A\u7FA9","'{0}' \u306E\u578B\u5B9A\u7FA9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u578B\u5B9A\u7FA9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u578B\u5B9A\u7FA9\u3078\u79FB\u52D5","\u578B\u5B9A\u7FA9\u306B\u79FB\u52D5(&&T)","\u578B\u5B9A\u7FA9\u3092\u8868\u793A","\u5B9F\u88C5","'{0}' \u306E\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u5B9F\u88C5\u3078\u79FB\u52D5","\u5B9F\u88C5\u7B87\u6240\u306B\u79FB\u52D5(&&I)","\u5B9F\u88C5\u306E\u30D4\u30FC\u30AF","'{0}' \u306E\u53C2\u7167\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u53C2\u7167\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","\u53C2\u7167\u3078\u79FB\u52D5","\u53C2\u7167\u3078\u79FB\u52D5(&&R)","\u53C2\u7167","\u53C2\u7167\u3092\u3053\u3053\u306B\u8868\u793A","\u53C2\u7167","\u4EFB\u610F\u306E\u30B7\u30F3\u30DC\u30EB\u3078\u79FB\u52D5","\u5834\u6240","'{0}' \u306B\u4E00\u81F4\u3059\u308B\u7D50\u679C\u306F\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F","\u53C2\u7167"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u3001{0} \u306E\u5B9A\u7FA9\u3092\u8868\u793A\u3057\u307E\u3059\u3002"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["\u53C2\u7167\u306E\u30D7\u30EC\u30D3\u30E5\u30FC\u304C\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B ('\u53C2\u7167\u306E\u30D7\u30EC\u30D3\u30E5\u30FC' \u307E\u305F\u306F '\u5B9A\u7FA9\u3092\u3053\u3053\u306B\u8868\u793A' \u306A\u3069)","\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} \u500B\u306E\u53C2\u7167","{0} \u500B\u306E\u53C2\u7167","\u53C2\u7167\u8A2D\u5B9A"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8868\u793A\u3067\u304D\u307E\u305B\u3093","\u7D50\u679C\u306F\u3042\u308A\u307E\u305B\u3093\u3002","\u53C2\u7167\u8A2D\u5B9A"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["\u5217 {2} \u306E\u884C {1} \u306E {0}","\u5217 {3} \u306E\u884C {2} \u306E {1} \u306B {0}","{0} \u306B 1 \u500B\u306E\u30B7\u30F3\u30DC\u30EB\u3001\u5B8C\u5168\u306A\u30D1\u30B9 {1}","{1} \u306B {0} \u500B\u306E\u30B7\u30F3\u30DC\u30EB\u3001\u5B8C\u5168\u306A\u30D1\u30B9 {2}","\u4E00\u81F4\u3059\u308B\u9805\u76EE\u306F\u3042\u308A\u307E\u305B\u3093","{0} \u306B 1 \u500B\u306E\u30B7\u30F3\u30DC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F","{1} \u306B {0} \u500B\u306E\u30B7\u30F3\u30DC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F","{1} \u500B\u306E\u30D5\u30A1\u30A4\u30EB\u306B {0} \u500B\u306E\u30B7\u30F3\u30DC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["\u30AD\u30FC\u30DC\u30FC\u30C9\u306E\u307F\u3067\u79FB\u52D5\u3067\u304D\u308B\u30B7\u30F3\u30DC\u30EB\u306E\u5834\u6240\u304C\u3042\u308B\u304B\u3069\u3046\u304B\u3002","{1} \u306E\u30B7\u30F3\u30DC\u30EB {0}\u3001\u6B21\u306B {2}","\u30B7\u30F3\u30DC\u30EB {0}/{1}"],"vs/editor/contrib/hover/browser/hover":["[\u8868\u793A\u307E\u305F\u306F\u30D5\u30A9\u30FC\u30AB\u30B9] \u30DB\u30D0\u30FC","\u5B9A\u7FA9\u30D7\u30EC\u30D3\u30E5\u30FC\u306E\u30DB\u30D0\u30FC\u3092\u8868\u793A\u3059\u308B","[\u4E0A\u306B\u30B9\u30AF\u30ED\u30FC\u30EB] \u30DB\u30D0\u30FC","[\u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB] \u30DB\u30D0\u30FC","[\u5DE6\u306B\u30B9\u30AF\u30ED\u30FC\u30EB] \u30DB\u30D0\u30FC","[\u53F3\u306B\u30B9\u30AF\u30ED\u30FC\u30EB] \u30DB\u30D0\u30FC","[\u30DA\u30FC\u30B8\u3092\u4E0A\u306B] \u30DB\u30D0\u30FC","[\u30DA\u30FC\u30B8\u3092\u4E0B\u306B] \u30DB\u30D0\u30FC","[\u4E0A\u306B\u79FB\u52D5] \u30DB\u30D0\u30FC","[\u4E0B\u306B\u79FB\u52D5] \u30DB\u30D0\u30FC"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...","\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u4E0A\u306E\u7406\u7531\u304B\u3089\u3001\u9577\u3044\u884C\u306E\u305F\u3081\u306B\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u304C\u4E00\u6642\u505C\u6B62\u3055\u308C\u307E\u3057\u305F\u3002\u3053\u308C\u306F `editor.stopRenderingLineAfter` \u3067\u8A2D\u5B9A\u3067\u304D\u307E\u3059\u3002","\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u4E0A\u306E\u7406\u7531\u304B\u3089\u30C8\u30FC\u30AF\u30F3\u5316\u306F\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u307E\u3059\u3002\u305D\u306E\u9577\u3044\u884C\u306E\u9577\u3055\u306F `editor.maxTokenizationLineLength` \u3067\u69CB\u6210\u3067\u304D\u307E\u3059\u3002"],"vs/editor/contrib/hover/browser/markerHoverParticipant":["\u554F\u984C\u306E\u8868\u793A","\u5229\u7528\u3067\u304D\u308B\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30C3\u30AF\u30B9\u306F\u3042\u308A\u307E\u305B\u3093","\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u78BA\u8A8D\u3057\u3066\u3044\u307E\u3059...","\u5229\u7528\u3067\u304D\u308B\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30C3\u30AF\u30B9\u306F\u3042\u308A\u307E\u305B\u3093","\u30AF\u30A4\u30C3\u30AF \u30D5\u30A3\u30C3\u30AF\u30B9..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["\u524D\u306E\u5024\u306B\u7F6E\u63DB","\u6B21\u306E\u5024\u306B\u7F6E\u63DB"],"vs/editor/contrib/indentation/browser/indentation":["\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u30B9\u30DA\u30FC\u30B9\u306B\u5909\u63DB","\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u30BF\u30D6\u306B\u5909\u63DB","\u69CB\u6210\u3055\u308C\u305F\u30BF\u30D6\u306E\u30B5\u30A4\u30BA","\u65E2\u5B9A\u306E\u30BF\u30D6 \u30B5\u30A4\u30BA","\u73FE\u5728\u306E\u30BF\u30D6 \u30B5\u30A4\u30BA","\u73FE\u5728\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30BF\u30D6\u306E\u30B5\u30A4\u30BA\u3092\u9078\u629E","\u30BF\u30D6\u306B\u3088\u308B\u30A4\u30F3\u30C7\u30F3\u30C8","\u30B9\u30DA\u30FC\u30B9\u306B\u3088\u308B\u30A4\u30F3\u30C7\u30F3\u30C8","\u30BF\u30D6\u306E\u8868\u793A\u30B5\u30A4\u30BA\u306E\u5909\u66F4","\u5185\u5BB9\u304B\u3089\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u691C\u51FA","\u884C\u306E\u518D\u30A4\u30F3\u30C7\u30F3\u30C8","\u9078\u629E\u884C\u3092\u518D\u30A4\u30F3\u30C7\u30F3\u30C8"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u633F\u5165\u3059\u308B","cmd \u30AD\u30FC\u3092\u62BC\u3057\u306A\u304C\u3089\u30AF\u30EA\u30C3\u30AF","ctrl \u30AD\u30FC\u3092\u62BC\u3057\u306A\u304C\u3089 \u30AF\u30EA\u30C3\u30AF","option \u30AD\u30FC\u3092\u62BC\u3057\u306A\u304C\u3089\u30AF\u30EA\u30C3\u30AF","alt \u30AD\u30FC\u3092\u62BC\u3057\u306A\u304C\u3089\u30AF\u30EA\u30C3\u30AF","[\u5B9A\u7FA9] ({0}) \u306B\u79FB\u52D5\u3057\u3001\u53F3\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u8A73\u7D30\u3092\u8868\u793A\u3057\u307E\u3059","\u5B9A\u7FA9\u306B\u79FB\u52D5 ({0})","\u30B3\u30DE\u30F3\u30C9\u306E\u5B9F\u884C"],"vs/editor/contrib/inlineCompletions/browser/commands":["\u6B21\u306E\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u8868\u793A\u3059\u308B","\u524D\u306E\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u8868\u793A\u3059\u308B","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u30C8\u30EA\u30AC\u30FC\u3059\u308B","\u30A4\u30F3\u30E9\u30A4\u30F3\u63D0\u6848\u306E\u6B21\u306E\u5358\u8A9E\u3092\u627F\u8AFE\u3059\u308B","\u30EF\u30FC\u30C9\u3092\u627F\u8AFE\u3059\u308B","\u30A4\u30F3\u30E9\u30A4\u30F3\u63D0\u6848\u306E\u6B21\u306E\u884C\u3092\u627F\u8AFE\u3059\u308B","\u884C\u3092\u627F\u8AFE\u3059\u308B","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u627F\u8AFE\u3059\u308B","\u627F\u8AFE\u3059\u308B","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u975E\u8868\u793A\u306B\u3059\u308B","\u5E38\u306B\u30C4\u30FC\u30EB \u30D0\u30FC\u3092\u8868\u793A\u3059\u308B"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["\u304A\u3059\u3059\u3081:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u304C\u30B9\u30DA\u30FC\u30B9\u3067\u59CB\u307E\u308B\u304B\u3069\u3046\u304B","\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC\u304C\u3001\u30BF\u30D6\u3067\u633F\u5165\u3055\u308C\u308B\u3082\u306E\u3088\u308A\u3082\u5C0F\u3055\u3044\u30B9\u30DA\u30FC\u30B9\u3067\u59CB\u307E\u308B\u304B\u3069\u3046\u304B","\u73FE\u5728\u306E\u5019\u88DC\u306B\u3064\u3044\u3066\u5019\u88DC\u8868\u793A\u3092\u6B62\u3081\u308B\u304B\u3069\u3046\u304B"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\u30E6\u30FC\u30B6\u30FC\u88DC\u52A9\u5BFE\u5FDC\u306E\u30D3\u30E5\u30FC\u3067\u3053\u308C\u3092\u691C\u67FB\u3057\u307E\u3059 ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["\u6B21\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u3092\u8868\u793A\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u524D\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u3092\u8868\u793A\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","{0} ({1})","\u524D\u3078","\u6B21\u3078"],"vs/editor/contrib/lineSelection/browser/lineSelection":["\u884C\u5168\u4F53\u3092\u9078\u629E\u3059\u308B"],"vs/editor/contrib/linesOperations/browser/linesOperations":["\u884C\u3092\u4E0A\u3078\u30B3\u30D4\u30FC","\u884C\u3092\u4E0A\u3078\u30B3\u30D4\u30FC(&&C)","\u884C\u3092\u4E0B\u3078\u30B3\u30D4\u30FC","\u884C\u3092\u4E0B\u3078\u30B3\u30D4\u30FC(&&P)","\u9078\u629E\u7BC4\u56F2\u306E\u8907\u88FD","\u9078\u629E\u7BC4\u56F2\u306E\u8907\u88FD(&&D)","\u884C\u3092\u4E0A\u3078\u79FB\u52D5","\u884C\u3092\u4E0A\u3078\u79FB\u52D5(&&V)","\u884C\u3092\u4E0B\u3078\u79FB\u52D5","\u884C\u3092\u4E0B\u3078\u79FB\u52D5(&&L)","\u884C\u3092\u6607\u9806\u306B\u4E26\u3079\u66FF\u3048","\u884C\u3092\u964D\u9806\u306B\u4E26\u3079\u66FF\u3048","\u91CD\u8907\u3059\u308B\u884C\u3092\u524A\u9664","\u672B\u5C3E\u306E\u7A7A\u767D\u306E\u30C8\u30EA\u30DF\u30F3\u30B0","\u884C\u306E\u524A\u9664","\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8","\u884C\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u89E3\u9664","\u884C\u3092\u4E0A\u306B\u633F\u5165","\u884C\u3092\u4E0B\u306B\u633F\u5165","\u5DE6\u5074\u3092\u3059\u3079\u3066\u524A\u9664","\u53F3\u5074\u3092\u3059\u3079\u3066\u524A\u9664","\u884C\u3092\u3064\u306A\u3052\u308B","\u30AB\u30FC\u30BD\u30EB\u306E\u5468\u56F2\u306E\u6587\u5B57\u3092\u5165\u308C\u66FF\u3048\u308B","\u5927\u6587\u5B57\u306B\u5909\u63DB","\u5C0F\u6587\u5B57\u306B\u5909\u63DB","\u5148\u982D\u6587\u5B57\u3092\u5927\u6587\u5B57\u306B\u5909\u63DB\u3059\u308B","\u30B9\u30CD\u30FC\u30AF \u30B1\u30FC\u30B9\u306B\u5909\u63DB\u3059\u308B","\u30AD\u30E3\u30E1\u30EB \u30B1\u30FC\u30B9\u306B\u5909\u63DB\u3059\u308B","Kebab \u30B1\u30FC\u30B9\u3078\u306E\u5909\u63DB"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["\u30EA\u30F3\u30AF\u3055\u308C\u305F\u7DE8\u96C6\u306E\u958B\u59CB","\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u578B\u306E\u540D\u524D\u306E\u81EA\u52D5\u5909\u66F4\u3092\u884C\u3046\u3068\u304D\u306E\u80CC\u666F\u8272\u3067\u3059\u3002"],"vs/editor/contrib/links/browser/links":["\u3053\u306E\u30EA\u30F3\u30AF\u306F\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u306A\u3044\u305F\u3081\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0}","\u3053\u306E\u30EA\u30F3\u30AF\u306F\u30BF\u30FC\u30B2\u30C3\u30C8\u304C\u5B58\u5728\u3057\u306A\u3044\u305F\u3081\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","\u30B3\u30DE\u30F3\u30C9\u306E\u5B9F\u884C","\u30EA\u30F3\u30AF\u5148\u3092\u8868\u793A","cmd + \u30AF\u30EA\u30C3\u30AF","ctrl + \u30AF\u30EA\u30C3\u30AF","option + \u30AF\u30EA\u30C3\u30AF","alt + \u30AF\u30EA\u30C3\u30AF","\u30B3\u30DE\u30F3\u30C9 {0} \u306E\u5B9F\u884C","\u30EA\u30F3\u30AF\u3092\u958B\u304F"],"vs/editor/contrib/message/browser/messageController":["\u30A8\u30C7\u30A3\u30BF\u30FC\u306B\u73FE\u5728\u30A4\u30F3\u30E9\u30A4\u30F3 \u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B"],"vs/editor/contrib/multicursor/browser/multicursor":["\u8FFD\u52A0\u3055\u308C\u305F\u30AB\u30FC\u30BD\u30EB: {0}","\u8FFD\u52A0\u3055\u308C\u305F\u30AB\u30FC\u30BD\u30EB: {0}","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0A\u306B\u633F\u5165","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0A\u306B\u633F\u5165(&&A)","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0B\u306B\u633F\u5165","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0B\u306B\u633F\u5165(&&D)","\u30AB\u30FC\u30BD\u30EB\u3092\u884C\u672B\u306B\u633F\u5165","\u30AB\u30FC\u30BD\u30EB\u3092\u884C\u672B\u306B\u633F\u5165(&&U)","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0B\u306B\u633F\u5165","\u30AB\u30FC\u30BD\u30EB\u3092\u4E0A\u306B\u633F\u5165","\u9078\u629E\u3057\u305F\u9805\u76EE\u3092\u6B21\u306E\u4E00\u81F4\u9805\u76EE\u306B\u8FFD\u52A0","\u6B21\u306E\u51FA\u73FE\u500B\u6240\u3092\u8FFD\u52A0(&&N)","\u9078\u629E\u9805\u76EE\u3092\u6B21\u306E\u4E00\u81F4\u9805\u76EE\u306B\u8FFD\u52A0","\u524D\u306E\u51FA\u73FE\u7B87\u6240\u3092\u8FFD\u52A0(&&R)","\u6700\u5F8C\u306B\u9078\u629E\u3057\u305F\u9805\u76EE\u3092\u6B21\u306E\u4E00\u81F4\u9805\u76EE\u306B\u79FB\u52D5","\u6700\u5F8C\u306B\u9078\u3093\u3060\u9805\u76EE\u3092\u524D\u306E\u4E00\u81F4\u9805\u76EE\u306B\u79FB\u52D5\u3059\u308B","\u4E00\u81F4\u3059\u308B\u3059\u3079\u3066\u306E\u51FA\u73FE\u7B87\u6240\u3092\u9078\u629E\u3057\u307E\u3059","\u3059\u3079\u3066\u306E\u51FA\u73FE\u7B87\u6240\u3092\u9078\u629E(&&O)","\u3059\u3079\u3066\u306E\u51FA\u73FE\u7B87\u6240\u3092\u5909\u66F4","\u6B21\u306E\u30AB\u30FC\u30BD\u30EB\u306B\u30D5\u30A9\u30FC\u30AB\u30B9","\u6B21\u306E\u30AB\u30FC\u30BD\u30EB\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3092\u5408\u308F\u305B\u308B","\u524D\u306E\u30AB\u30FC\u30BD\u30EB\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3059\u308B","\u524D\u306E\u30AB\u30FC\u30BD\u30EB\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3092\u5408\u308F\u305B\u308B"],"vs/editor/contrib/parameterHints/browser/parameterHints":["\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u3092\u30C8\u30EA\u30AC\u30FC"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["\u6B21\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u3092\u8868\u793A\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u524D\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u3092\u8868\u793A\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","{0}\u3001\u30D2\u30F3\u30C8","\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC \u30D2\u30F3\u30C8\u5185\u306E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u9805\u76EE\u306E\u524D\u666F\u8272\u3002"],"vs/editor/contrib/peekView/browser/peekView":["\u73FE\u5728\u306E\u30B3\u30FC\u30C9 \u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30D7\u30EC\u30D3\u30E5\u30FC\u5185\u306B\u57CB\u3081\u8FBC\u307E\u308C\u308B\u304B\u3069\u3046\u304B","\u9589\u3058\u308B","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u306E\u30BF\u30A4\u30C8\u30EB\u9818\u57DF\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30BF\u30A4\u30C8\u30EB\u306E\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u306E\u30BF\u30A4\u30C8\u30EB\u60C5\u5831\u306E\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u306E\u5883\u754C\u3068\u77E2\u5370\u306E\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u30E9\u30A4\u30F3 \u30CE\u30FC\u30C9\u306E\u524D\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u30D5\u30A1\u30A4\u30EB \u30CE\u30FC\u30C9\u306E\u524D\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u9078\u629E\u6E08\u307F\u30A8\u30F3\u30C8\u30EA\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u9078\u629E\u6E08\u307F\u30A8\u30F3\u30C8\u30EA\u306E\u524D\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4F59\u767D\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306E\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u80CC\u666F\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC\u7D50\u679C\u30EA\u30B9\u30C8\u306E\u4E00\u81F4\u3057\u305F\u5F37\u8ABF\u8868\u793A\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E00\u81F4\u3057\u305F\u5F37\u8ABF\u8868\u793A\u8272\u3002","\u30D4\u30FC\u30AF \u30D3\u30E5\u30FC \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u4E00\u81F4\u3057\u305F\u5F37\u8ABF\u5883\u754C\u8272\u3002"],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\u6700\u521D\u306B\u30C6\u30AD\u30B9\u30C8 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3044\u3066\u3001\u884C\u306B\u79FB\u52D5\u3057\u307E\u3059\u3002","\u884C {0}\u3001\u6587\u5B57 {1} \u306B\u79FB\u52D5\u3057\u307E\u3059\u3002","{0} \u884C\u306B\u79FB\u52D5\u3057\u307E\u3059\u3002","\u73FE\u5728\u306E\u884C: {0}\u3001\u6587\u5B57: {1}\u3002\u79FB\u52D5\u5148\u3068\u306A\u308B\u30011 \u304B\u3089 {2} \u307E\u3067\u306E\u884C\u756A\u53F7\u3092\u5165\u529B\u3057\u307E\u3059\u3002","\u73FE\u5728\u306E\u884C: {0}\u3001\u6587\u5B57: {1}\u3002\u79FB\u52D5\u5148\u306E\u884C\u756A\u53F7\u3092\u5165\u529B\u3057\u307E\u3059\u3002"],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\u30B7\u30F3\u30DC\u30EB\u306B\u79FB\u52D5\u3059\u308B\u306B\u306F\u3001\u307E\u305A\u30B7\u30F3\u30DC\u30EB\u60C5\u5831\u3092\u542B\u3080\u30C6\u30AD\u30B9\u30C8 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u304D\u307E\u3059\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C6\u30AD\u30B9\u30C8 \u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u306F\u3001\u30B7\u30F3\u30DC\u30EB\u60C5\u5831\u306F\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002","\u4E00\u81F4\u3059\u308B\u30A8\u30C7\u30A3\u30BF\u30FC \u30B7\u30F3\u30DC\u30EB\u304C\u3042\u308A\u307E\u305B\u3093","\u30A8\u30C7\u30A3\u30BF\u30FC \u30B7\u30F3\u30DC\u30EB\u304C\u3042\u308A\u307E\u305B\u3093","\u6A2A\u306B\u4E26\u3079\u3066\u958B\u304F","\u4E00\u756A\u4E0B\u3067\u958B\u304F","\u30B7\u30F3\u30DC\u30EB ({0})","\u30D7\u30ED\u30D1\u30C6\u30A3 ({0})","\u30E1\u30BD\u30C3\u30C9 ({0})","\u95A2\u6570 ({0})","\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC ({0})","\u5909\u6570 ({0})","\u30AF\u30E9\u30B9 ({0})","\u69CB\u9020\u4F53 ({0})","\u30A4\u30D9\u30F3\u30C8 ({0})","\u6F14\u7B97\u5B50 ({0})","\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ({0})","\u540D\u524D\u7A7A\u9593 ({0})","\u30D1\u30C3\u30B1\u30FC\u30B8 ({0})","\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC ({0})","\u30E2\u30B8\u30E5\u30FC\u30EB ({0})","\u30D7\u30ED\u30D1\u30C6\u30A3 ({0})","\u5217\u6319\u578B ({0})","\u5217\u6319\u578B\u30E1\u30F3\u30D0\u30FC ({0})","\u6587\u5B57\u5217 ({0})","\u30D5\u30A1\u30A4\u30EB ({0})","\u914D\u5217 ({0})","\u6570\u5024 ({0})","\u30D6\u30FC\u30EB\u5024 ({0})","\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 ({0})","\u30AD\u30FC ({0})","\u30D5\u30A3\u30FC\u30EB\u30C9 ({0})","\u5B9A\u6570 ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u306E\u5165\u529B\u3067\u306F\u7DE8\u96C6\u3067\u304D\u307E\u305B\u3093","\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306F\u7DE8\u96C6\u3067\u304D\u307E\u305B\u3093"],"vs/editor/contrib/rename/browser/rename":["\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u540D\u524D\u5909\u66F4\u306E\u5834\u6240\u3092\u89E3\u6C7A\u3057\u3088\u3046\u3068\u3057\u3066\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F","\u540D\u524D\u3092 '{0}' \u304B\u3089 '{1}' \u306B\u5909\u66F4\u3057\u3066\u3044\u307E\u3059","{0} \u306E\u540D\u524D\u3092 {1} \u306B\u5909\u66F4\u3057\u3066\u3044\u307E\u3059","'{0}' \u304B\u3089 '{1}' \u3078\u306E\u540D\u524D\u5909\u66F4\u304C\u6B63\u5E38\u306B\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002\u6982\u8981: {2}","\u540D\u524D\u306E\u5909\u66F4\u3067\u7DE8\u96C6\u3092\u9069\u7528\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","\u540D\u524D\u306E\u5909\u66F4\u306B\u3088\u3063\u3066\u7DE8\u96C6\u306E\u8A08\u7B97\u306B\u5931\u6557\u3057\u307E\u3057\u305F","\u30B7\u30F3\u30DC\u30EB\u306E\u540D\u524D\u5909\u66F4","\u540D\u524D\u3092\u5909\u66F4\u3059\u308B\u524D\u306B\u5909\u66F4\u3092\u30D7\u30EC\u30D3\u30E5\u30FC\u3059\u308B\u6A5F\u80FD\u3092\u6709\u52B9\u307E\u305F\u306F\u7121\u52B9\u306B\u3059\u308B"],"vs/editor/contrib/rename/browser/renameInputField":["\u540D\u524D\u306E\u5909\u66F4\u5165\u529B\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u304C\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B","\u540D\u524D\u5909\u66F4\u5165\u529B\u3002\u65B0\u3057\u3044\u540D\u524D\u3092\u5165\u529B\u3057\u3001Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u540D\u524D\u3092\u5909\u66F4\u3059\u308B\u306B\u306F {0}\u3001\u30D7\u30EC\u30D3\u30E5\u30FC\u3059\u308B\u306B\u306F {1}"],"vs/editor/contrib/smartSelect/browser/smartSelect":["\u9078\u629E\u7BC4\u56F2\u3092\u62E1\u5F35","\u9078\u629E\u7BC4\u56F2\u306E\u5C55\u958B(&&E)","\u9078\u629E\u7BC4\u56F2\u3092\u7E2E\u5C0F","\u9078\u629E\u7BC4\u56F2\u306E\u7E2E\u5C0F(&&S)"],"vs/editor/contrib/snippet/browser/snippetController2":["\u73FE\u5728\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u304C\u30B9\u30CB\u30DA\u30C3\u30C8 \u30E2\u30FC\u30C9\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30B9\u30CB\u30DA\u30C3\u30C8 \u30E2\u30FC\u30C9\u306E\u3068\u304D\u306B\u3001\u6B21\u306E\u30BF\u30D6\u4F4D\u7F6E\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u30B9\u30CB\u30DA\u30C3\u30C8 \u30E2\u30FC\u30C9\u306E\u3068\u304D\u306B\u3001\u524D\u306E\u30BF\u30D6\u4F4D\u7F6E\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u6B21\u306E\u30D7\u30EC\u30FC\u30B9\u30DB\u30EB\u30C0\u30FC\u306B\u79FB\u52D5..."],"vs/editor/contrib/snippet/browser/snippetVariables":["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5","\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F","1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708","1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u5207\u308A\u66FF\u3048","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u5207\u308A\u66FF\u3048(&&T)","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB(&&)","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u3078\u306E\u30D5\u30A9\u30FC\u30AB\u30B9","\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u3078\u306E\u30D5\u30A9\u30FC\u30AB\u30B9(&F)","\u6B21\u306E\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u884C\u3092\u9078\u629E","\u524D\u306E\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u884C\u3092\u9078\u629E","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u884C\u306B\u79FB\u52D5","\u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u9078\u629E"],"vs/editor/contrib/suggest/browser/suggest":["\u5019\u88DC\u304C\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u3066\u3044\u308B\u304B\u3069\u3046\u304B","\u5019\u88DC\u306E\u8A73\u7D30\u304C\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B","\u9078\u629E\u3059\u308B\u8907\u6570\u306E\u5019\u88DC\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u73FE\u5728\u306E\u5019\u88DC\u3092\u633F\u5165\u3057\u305F\u3068\u304D\u3001\u5909\u66F4\u3092\u884C\u3046\u304B\u3001\u307E\u305F\u306F\u65E2\u306B\u5165\u529B\u3057\u305F\u5185\u5BB9\u3092\u3059\u3079\u3066\u5165\u529B\u3059\u308B\u304B\u3069\u3046\u304B","Enter \u30AD\u30FC\u3092\u62BC\u3057\u305F\u3068\u304D\u306B\u5019\u88DC\u3092\u633F\u5165\u3059\u308B\u304B\u3069\u3046\u304B","\u73FE\u5728\u306E\u5019\u88DC\u306B\u633F\u5165\u3068\u7F6E\u63DB\u306E\u52D5\u4F5C\u304C\u3042\u308B\u304B\u3069\u3046\u304B","\u65E2\u5B9A\u306E\u52D5\u4F5C\u304C\u633F\u5165\u307E\u305F\u306F\u7F6E\u63DB\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u73FE\u5728\u306E\u5019\u88DC\u304B\u3089\u306E\u8A73\u7D30\u306E\u89E3\u6C7A\u3092\u30B5\u30DD\u30FC\u30C8\u3059\u308B\u304B\u3069\u3046\u304B"],"vs/editor/contrib/suggest/browser/suggestController":["{1} \u304C\u8FFD\u52A0\u7DE8\u96C6\u3057\u305F '{0}' \u3092\u53D7\u3051\u5165\u308C\u308B","\u5019\u88DC\u3092\u30C8\u30EA\u30AC\u30FC","\u633F\u5165","\u633F\u5165","\u7F6E\u63DB","\u7F6E\u63DB","\u633F\u5165","\u8868\u793A\u3092\u6E1B\u3089\u3059","\u3055\u3089\u306B\u8868\u793A","\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30B5\u30A4\u30BA\u3092\u30EA\u30BB\u30C3\u30C8"],"vs/editor/contrib/suggest/browser/suggestWidget":["\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u8272\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5883\u754C\u7DDA\u8272\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u524D\u666F\u8272\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u3067\u9078\u629E\u6E08\u307F\u5165\u529B\u306E\u524D\u666F\u8272\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u3067\u9078\u629E\u6E08\u307F\u5165\u529B\u306E\u30A2\u30A4\u30B3\u30F3\u524D\u666F\u8272\u3002","\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u3067\u9078\u629E\u6E08\u307F\u30A8\u30F3\u30C8\u30EA\u306E\u80CC\u666F\u8272\u3002","\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u5185\u3067\u4E00\u81F4\u3057\u305F\u30CF\u30A4\u30E9\u30A4\u30C8\u306E\u8272\u3002","\u9805\u76EE\u304C\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306B\u3001\u5019\u88DC\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3067\u306E\u4E00\u81F4\u306E\u5F37\u8ABF\u8868\u793A\u306E\u8272\u3067\u3059\u3002","\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u72B6\u614B\u306E\u63D0\u6848\u306E\u524D\u666F\u8272\u3002","\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...","\u5019\u88DC\u306F\u3042\u308A\u307E\u305B\u3093\u3002","\u63D0\u6848","{0} {1}\u3001{2}","{0} {1}","{0}\u3001 {1}","{0}\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["\u9589\u3058\u308B","\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["\u63D0\u6848\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u8A73\u7D30\u60C5\u5831\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u8A73\u7D30\u3092\u53C2\u7167"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["\u914D\u5217\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D6\u30FC\u30EB\u5024\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30AF\u30E9\u30B9\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u8272\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5B9A\u6570\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FC\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5217\u6319\u5B50\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5217\u6319\u5B50\u30E1\u30F3\u30D0\u30FC\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30A4\u30D9\u30F3\u30C8\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D5\u30A3\u30FC\u30EB\u30C9\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D5\u30A1\u30A4\u30EB\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D5\u30A9\u30EB\u30C0\u30FC\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u95A2\u6570\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC\u30EF\u30FC\u30C9\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30E1\u30BD\u30C3\u30C9\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30E2\u30B8\u30E5\u30FC\u30EB\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u540D\u524D\u7A7A\u9593\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","Null \u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6570\u5024\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6F14\u7B97\u5B50\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D1\u30C3\u30B1\u30FC\u30B8\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D7\u30ED\u30D1\u30C6\u30A3\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u53C2\u7167\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30B9\u30CB\u30DA\u30C3\u30C8\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u6587\u5B57\u5217\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u69CB\u9020\u4F53\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30C6\u30AD\u30B9\u30C8\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5358\u4F4D\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002","\u5909\u6570\u8A18\u53F7\u306E\u524D\u666F\u8272\u3002\u3053\u308C\u3089\u306E\u8A18\u53F7\u306F\u3001\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u3001\u968E\u5C64\u30EA\u30F3\u30AF\u3001\u304A\u3088\u3073\u5019\u88DC\u306E\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002"],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["Tab \u30AD\u30FC\u3092\u5207\u308A\u66FF\u3048\u308B\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u79FB\u52D5\u3057\u307E\u3059","Tab \u30AD\u30FC\u3092\u62BC\u3059\u3068\u3001\u6B21\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u53EF\u80FD\u306A\u8981\u7D20\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u3092\u79FB\u52D5\u3057\u307E\u3059","Tab \u30AD\u30FC\u3092\u62BC\u3059\u3068\u3001\u30BF\u30D6\u6587\u5B57\u304C\u633F\u5165\u3055\u308C\u307E\u3059"],"vs/editor/contrib/tokenization/browser/tokenization":["\u958B\u767A\u8005: \u30C8\u30FC\u30AF\u30F3\u518D\u4F5C\u6210\u306E\u5F37\u5236"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["\u62E1\u5F35\u6A5F\u80FD\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u8B66\u544A\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u5171\u306B\u8868\u793A\u3055\u308C\u308B\u30A2\u30A4\u30B3\u30F3\u3002","\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u3001\u57FA\u672C ASCII \u5916\u306E Unicode \u6587\u5B57\u304C\u591A\u6570\u542B\u307E\u308C\u3066\u3044\u307E\u3059","\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u307E\u304E\u3089\u308F\u3057\u3044 Unicode \u6587\u5B57\u304C\u591A\u6570\u542B\u307E\u308C\u3066\u3044\u307E\u3059","\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u4E0D\u53EF\u8996\u306E Unicode \u6587\u5B57\u304C\u591A\u6570\u542B\u307E\u308C\u3066\u3044\u307E\u3059","\u6587\u5B57 {0} \u306F\u3001\u30BD\u30FC\u30B9 \u30B3\u30FC\u30C9\u3067\u3088\u308A\u4E00\u822C\u7684\u306A ASCII \u6587\u5B57 {1} \u3068\u6DF7\u540C\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","\u6587\u5B57 {0}\u306F\u3001\u30BD\u30FC\u30B9 \u30B3\u30FC\u30C9\u3067\u3088\u308A\u4E00\u822C\u7684\u306A\u6587\u5B57{1}\u3068\u6DF7\u540C\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","\u6587\u5B57 {0}\u306F\u975E\u8868\u793A\u3067\u3059\u3002","\u6587\u5B57 {0} \u306F\u57FA\u672C ASCII \u6587\u5B57\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002","\u8A2D\u5B9A\u306E\u8ABF\u6574","\u30B3\u30E1\u30F3\u30C8\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u30B3\u30E1\u30F3\u30C8\u306E\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u6587\u5B57\u5217\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u6587\u5B57\u5217\u306E\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u307E\u304E\u3089\u308F\u3057\u3044\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u307E\u304E\u3089\u308F\u3057\u3044\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u4E0D\u53EF\u8996\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u4E0D\u53EF\u8996\u306E\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u975E ASCII \u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u57FA\u672C ASCII \u4EE5\u5916\u306E\u6587\u5B57\u306E\u5F37\u8ABF\u8868\u793A\u3092\u7121\u52B9\u306B\u3059\u308B","\u9664\u5916\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u8868\u793A","{0} (\u4E0D\u53EF\u8996\u306E\u6587\u5B57) \u3092\u5F37\u8ABF\u8868\u793A\u304B\u3089\u9664\u5916\u3059\u308B","\u5F37\u8ABF\u8868\u793A\u304B\u3089 {0} \u3092\u9664\u5916\u3057\u307E\u3059",'\u8A00\u8A9E "{0}" \u3067\u3088\u308A\u4E00\u822C\u7684\u306A Unicode \u6587\u5B57\u3092\u8A31\u53EF\u3057\u307E\u3059\u3002',"Unicode \u306E\u5F37\u8ABF\u8868\u793A\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3059\u308B"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["\u666E\u901A\u3067\u306F\u306A\u3044\u884C\u7D42\u7AEF\u8A18\u53F7","\u666E\u901A\u3067\u306F\u306A\u3044\u884C\u7D42\u7AEF\u8A18\u53F7\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F",`\u3053\u306E\u30D5\u30A1\u30A4\u30EB '{0}' \u306B\u306F\u3001\u884C\u533A\u5207\u308A\u6587\u5B57 (LS) \u3084\u6BB5\u843D\u533A\u5207\u308A\u8A18\u53F7 (PS) \u306A\u3069\u306E\u7279\u6B8A\u306A\u884C\u306E\u7D42\u7AEF\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\r +\r +\u305D\u308C\u3089\u3092\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u524A\u9664\u3059\u308B\u3053\u3068\u3092\u304A\u52E7\u3081\u3057\u307E\u3059\u3002\u3053\u308C\u306F 'editor.unusualLineTerminators' \u3092\u4F7F\u7528\u3057\u3066\u69CB\u6210\u3067\u304D\u307E\u3059\u3002`,"\u7279\u6B8A\u306A\u884C\u306E\u7D42\u7AEF\u8A18\u53F7\u3092\u524A\u9664\u3059\u308B(&&R)","\u7121\u8996\u3059\u308B"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["\u5909\u6570\u306E\u8AAD\u307F\u53D6\u308A\u306A\u3069\u3001\u8AAD\u307F\u53D6\u308A\u30A2\u30AF\u30BB\u30B9\u4E2D\u306E\u30B7\u30F3\u30DC\u30EB\u306E\u80CC\u666F\u8272\u3002\u4E0B\u306B\u3042\u308B\u88C5\u98FE\u3092\u96A0\u3055\u306A\u3044\u305F\u3081\u306B\u3001\u8272\u306F\u4E0D\u900F\u904E\u3067\u3042\u3063\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002","\u5909\u6570\u3078\u306E\u66F8\u304D\u8FBC\u307F\u306A\u3069\u3001\u66F8\u304D\u8FBC\u307F\u30A2\u30AF\u30BB\u30B9\u4E2D\u306E\u30B7\u30F3\u30DC\u30EB\u80CC\u666F\u8272\u3002\u4E0B\u306B\u3042\u308B\u88C5\u98FE\u3092\u96A0\u3055\u306A\u3044\u305F\u3081\u306B\u3001\u8272\u306F\u4E0D\u900F\u904E\u3067\u3042\u3063\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002","\u8A18\u53F7\u306E\u30C6\u30AD\u30B9\u30C8\u51FA\u73FE\u306E\u80CC\u666F\u8272\u3002\u57FA\u306B\u306A\u308B\u88C5\u98FE\u304C\u975E\u8868\u793A\u306A\u3089\u306A\u3044\u3088\u3046\u306B\u3001\u3053\u306E\u8272\u3092\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u5909\u6570\u306E\u8AAD\u307F\u53D6\u308A\u306A\u3069\u8AAD\u307F\u53D6\u308A\u30A2\u30AF\u30BB\u30B9\u4E2D\u306E\u30B7\u30F3\u30DC\u30EB\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5909\u6570\u3078\u306E\u66F8\u304D\u8FBC\u307F\u306A\u3069\u66F8\u304D\u8FBC\u307F\u30A2\u30AF\u30BB\u30B9\u4E2D\u306E\u30B7\u30F3\u30DC\u30EB\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u8A18\u53F7\u306E\u30C6\u30AD\u30B9\u30C8\u51FA\u73FE\u7B87\u6240\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u30B7\u30F3\u30DC\u30EB\u306B\u3088\u3063\u3066\u5F37\u8ABF\u8868\u793A\u3055\u308C\u308B\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002\u30DE\u30FC\u30AB\u30FC\u306E\u8272\u306F\u3001\u57FA\u306B\u306A\u308B\u88C5\u98FE\u3092\u96A0\u3055\u306A\u3044\u3088\u3046\u306B\u4E0D\u900F\u660E\u4EE5\u5916\u306B\u3057\u307E\u3059\u3002","\u66F8\u304D\u8FBC\u307F\u30A2\u30AF\u30BB\u30B9 \u30B7\u30F3\u30DC\u30EB\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u306E\u30DE\u30FC\u30AB\u30FC\u8272\u3002\u4E0B\u306B\u3042\u308B\u88C5\u98FE\u3092\u96A0\u3055\u306A\u3044\u305F\u3081\u306B\u3001\u8272\u306F\u4E0D\u900F\u904E\u3067\u3042\u3063\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002","\u8A18\u53F7\u306E\u30C6\u30AD\u30B9\u30C8\u51FA\u73FE\u306E\u6982\u8981\u30EB\u30FC\u30EB \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002\u57FA\u306B\u306A\u308B\u88C5\u98FE\u304C\u975E\u8868\u793A\u306A\u3089\u306A\u3044\u3088\u3046\u306B\u3001\u3053\u306E\u8272\u3092\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002"],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["\u6B21\u306E\u30B7\u30F3\u30DC\u30EB \u30CF\u30A4\u30E9\u30A4\u30C8\u306B\u79FB\u52D5","\u524D\u306E\u30B7\u30F3\u30DC\u30EB \u30CF\u30A4\u30E9\u30A4\u30C8\u306B\u79FB\u52D5","\u30B7\u30F3\u30DC\u30EB \u30CF\u30A4\u30E9\u30A4\u30C8\u3092\u30C8\u30EA\u30AC\u30FC"],"vs/editor/contrib/wordOperations/browser/wordOperations":["\u5358\u8A9E\u306E\u524A\u9664"],"vs/platform/action/common/actionCommonCategories":["\u8868\u793A","\u30D8\u30EB\u30D7","\u30C6\u30B9\u30C8","\u30D5\u30A1\u30A4\u30EB","\u57FA\u672C\u8A2D\u5B9A","\u958B\u767A\u8005"],"vs/platform/actionWidget/browser/actionList":["{0} \u3067\u9069\u7528\u3059\u308B\u3001{1} \u3067\u30D7\u30EC\u30D3\u30E5\u30FC\u3059\u308B","\u9069\u7528\u3059\u308B\u306B\u306F {0}","{0}\u3001\u7121\u52B9\u306B\u306A\u3063\u305F\u7406\u7531: {1}","\u30A2\u30AF\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8"],"vs/platform/actionWidget/browser/actionWidget":["\u30A2\u30AF\u30B7\u30E7\u30F3 \u30D0\u30FC\u306E\u5207\u308A\u66FF\u3048\u6E08\u307F\u30A2\u30AF\u30B7\u30E7\u30F3\u9805\u76EE\u306E\u80CC\u666F\u8272\u3002","\u30A2\u30AF\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u4E00\u89A7\u304C\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B","\u30A2\u30AF\u30B7\u30E7\u30F3 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u975E\u8868\u793A\u306B\u3059\u308B","\u524D\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u9078\u629E","\u6B21\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u9078\u629E","\u9078\u629E\u3057\u305F\u64CD\u4F5C\u3092\u627F\u8AFE","\u9078\u629E\u3057\u305F\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u30D7\u30EC\u30D3\u30E5\u30FC"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["\u975E\u8868\u793A","\u30E1\u30CB\u30E5\u30FC\u306E\u30EA\u30BB\u30C3\u30C8"],"vs/platform/actions/common/menuService":["'{0}' \u306E\u975E\u8868\u793A"],"vs/platform/audioCues/browser/audioCueService":["\u884C\u306E\u30A8\u30E9\u30FC","\u884C\u306E\u8B66\u544A","\u884C\u306E\u6298\u308A\u305F\u305F\u307E\u308C\u305F\u9762","\u884C\u306E\u30D6\u30EC\u30FC\u30AF\u30DD\u30A4\u30F3\u30C8","\u884C\u306E\u30A4\u30F3\u30E9\u30A4\u30F3\u5019\u88DC","\u30BF\u30FC\u30DF\u30CA\u30EB \u30AF\u30A4\u30C3\u30AF\u4FEE\u6B63","\u30D6\u30EC\u30FC\u30AF\u30DD\u30A4\u30F3\u30C8\u3067\u30C7\u30D0\u30C3\u30AC\u30FC\u304C\u505C\u6B62\u3057\u307E\u3057\u305F","\u884C\u306B\u30A4\u30F3\u30EC\u30A4 \u30D2\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093","\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F","\u30BF\u30B9\u30AF\u304C\u5931\u6557\u3057\u307E\u3057\u305F","\u30BF\u30FC\u30DF\u30CA\u30EB \u30B3\u30DE\u30F3\u30C9\u304C\u5931\u6557\u3057\u307E\u3057\u305F","\u30BF\u30FC\u30DF\u30CA\u30EB \u30D9\u30EB","\u30CE\u30FC\u30C8\u30D6\u30C3\u30AF \u30BB\u30EB\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F","\u30CE\u30FC\u30C8\u30D6\u30C3\u30AF \u30BB\u30EB\u304C\u5931\u6557\u3057\u307E\u3057\u305F","\u5DEE\u5206\u884C\u304C\u633F\u5165\u3055\u308C\u307E\u3057\u305F","\u5DEE\u5206\u884C\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F","\u5909\u66F4\u3055\u308C\u305F\u5DEE\u5206\u884C","\u30C1\u30E3\u30C3\u30C8\u8981\u6C42\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","\u30C1\u30E3\u30C3\u30C8\u5FDC\u7B54\u3092\u53D7\u4FE1\u3057\u307E\u3057\u305F","\u30C1\u30E3\u30C3\u30C8\u306E\u5FDC\u7B54\u3092\u4FDD\u7559\u4E2D"],"vs/platform/configuration/common/configurationRegistry":["\u65E2\u5B9A\u306E\u8A00\u8A9E\u69CB\u6210\u306E\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9","{0} \u8A00\u8A9E\u304C\u512A\u5148\u3055\u308C\u308B\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059\u3002","\u8A00\u8A9E\u306B\u5BFE\u3057\u3066\u4E0A\u66F8\u304D\u3055\u308C\u308B\u30A8\u30C7\u30A3\u30BF\u30FC\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059\u3002","\u3053\u306E\u8A2D\u5B9A\u3067\u306F\u3001\u8A00\u8A9E\u3054\u3068\u306E\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002","\u8A00\u8A9E\u306B\u5BFE\u3057\u3066\u4E0A\u66F8\u304D\u3055\u308C\u308B\u30A8\u30C7\u30A3\u30BF\u30FC\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059\u3002","\u3053\u306E\u8A2D\u5B9A\u3067\u306F\u3001\u8A00\u8A9E\u3054\u3068\u306E\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002","\u7A7A\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u306F\u767B\u9332\u3067\u304D\u307E\u305B\u3093","'{0}' \u3092\u767B\u9332\u3067\u304D\u307E\u305B\u3093\u3002\u3053\u308C\u306F\u3001\u8A00\u8A9E\u56FA\u6709\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u8A2D\u5B9A\u3092\u8A18\u8FF0\u3059\u308B\u30D7\u30ED\u30D1\u30C6\u30A3 \u30D1\u30BF\u30FC\u30F3 '\\\\[.*\\\\]$' \u306B\u4E00\u81F4\u3057\u3066\u3044\u307E\u3059\u3002'configurationDefaults' \u30B3\u30F3\u30C8\u30EA\u30D3\u30E5\u30FC\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","'{0}' \u3092\u767B\u9332\u3067\u304D\u307E\u305B\u3093\u3002\u3053\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u306F\u65E2\u306B\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u3059\u3002","'{0}' \u3092\u767B\u9332\u3067\u304D\u307E\u305B\u3093\u3002\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u30DD\u30EA\u30B7\u30FC {1} \u306F\u65E2\u306B {2} \u306B\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u3059\u3002"],"vs/platform/contextkey/browser/contextKeyService":["\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8 \u30AD\u30FC\u306B\u95A2\u3059\u308B\u60C5\u5831\u3092\u8FD4\u3059\u30B3\u30DE\u30F3\u30C9"],"vs/platform/contextkey/common/contextkey":["\u7A7A\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8 \u30AD\u30FC\u5F0F","\u5F0F\u3092\u66F8\u304D\u5FD8\u308C\u307E\u3057\u305F\u304B? 'false' \u307E\u305F\u306F 'true' \u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u305D\u308C\u305E\u308C\u5E38\u306B false \u307E\u305F\u306F true \u3068\u8A55\u4FA1\u3067\u304D\u307E\u3059\u3002","'not' \u306E\u5F8C\u306B 'in' \u304C\u3042\u308A\u307E\u3059\u3002","\u7D42\u308F\u308A\u304B\u3063\u3053 ')'","\u4E88\u671F\u3057\u306A\u3044\u30C8\u30FC\u30AF\u30F3","\u30C8\u30FC\u30AF\u30F3\u306E\u524D\u306B && \u307E\u305F\u306F || \u3092\u6307\u5B9A\u3057\u5FD8\u308C\u307E\u3057\u305F\u304B?","\u4E88\u671F\u3057\u306A\u3044\u5F0F\u306E\u7D42\u308F\u308A","\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8 \u30AD\u30FC\u3092\u6307\u5B9A\u3057\u5FD8\u308C\u307E\u3057\u305F\u304B?",`\u671F\u5F85\u5024: {0}\r +\u53D7\u53D6\u6E08\u307F: '{1}'\u3002`],"vs/platform/contextkey/common/contextkeys":["\u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0\u304C macOS \u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0\u304C Linux \u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0\u304C Windows \u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u304C Web \u30D6\u30E9\u30A6\u30B6\u30FC\u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0\u304C\u975E\u30D6\u30E9\u30A6\u30B6\u30FC \u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u4E0A\u306E macOS \u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0\u304C iOS \u3067\u3042\u308B\u304B\u3069\u3046\u304B","\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u304C\u30E2\u30D0\u30A4\u30EB Web \u30D6\u30E9\u30A6\u30B6\u30FC\u3067\u3042\u308B\u304B\u3069\u3046\u304B","VS Code \u306E\u54C1\u8CEA\u306E\u7A2E\u985E","\u30AD\u30FC\u30DC\u30FC\u30C9\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u5165\u529B\u30DC\u30C3\u30AF\u30B9\u5185\u306B\u3042\u308B\u304B\u3069\u3046\u304B"],"vs/platform/contextkey/common/scanner":["{0} \u3092\u610F\u56F3\u3057\u3066\u3044\u307E\u3057\u305F\u304B?","{0} \u307E\u305F\u306F {1} \u3092\u610F\u56F3\u3057\u3066\u3044\u307E\u3057\u305F\u304B?","{0}\u3001{1}\u3001\u307E\u305F\u306F {2} \u3092\u610F\u56F3\u3057\u3066\u3044\u307E\u3057\u305F\u304B?","\u898B\u7A4D\u3082\u308A\u3092\u958B\u3044\u305F\u308A\u9589\u3058\u305F\u308A\u3057\u5FD8\u308C\u307E\u3057\u305F\u304B?","'/' (\u30B9\u30E9\u30C3\u30B7\u30E5) \u6587\u5B57\u3092\u30A8\u30B9\u30B1\u30FC\u30D7\u3057\u5FD8\u308C\u307E\u3057\u305F\u304B? \u30A8\u30B9\u30B1\u30FC\u30D7\u3059\u308B\u524D\u306B '\\\\/' \u306A\u3069\u306E 2 \u3064\u306E\u5186\u8A18\u53F7\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002"],"vs/platform/history/browser/contextScopedHistoryWidget":["\u5019\u88DC\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B"],"vs/platform/keybinding/common/abstractKeybindingService":["({0}) \u304C\u6E21\u3055\u308C\u307E\u3057\u305F\u30022 \u756A\u76EE\u306E\u30AD\u30FC\u3092\u5F85\u3063\u3066\u3044\u307E\u3059...","({0}) \u304C\u6E21\u3055\u308C\u307E\u3057\u305F\u3002\u6B21\u306E\u30AD\u30FC\u3092\u5F85\u3063\u3066\u3044\u307E\u3059...","\u30AD\u30FC\u306E\u7D44\u307F\u5408\u308F\u305B ({0}\u3001{1}) \u306F\u30B3\u30DE\u30F3\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002","\u30AD\u30FC\u306E\u7D44\u307F\u5408\u308F\u305B ({0}\u3001{1}) \u306F\u30B3\u30DE\u30F3\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"],"vs/platform/list/browser/listService":["\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1","Windows \u304A\u3088\u3073 Linux \u4E0A\u306E `Control` \u30AD\u30FC\u3068 macOS \u4E0A\u306E `Command` \u30AD\u30FC\u306B\u5272\u308A\u5F53\u3066\u307E\u3059\u3002","Windows \u304A\u3088\u3073 Linux \u4E0A\u306E `Alt` \u30AD\u30FC\u3068 macOS \u4E0A\u306E `Option` \u30AD\u30FC\u306B\u5272\u308A\u5F53\u3066\u307E\u3059\u3002","\u30DE\u30A6\u30B9\u3092\u4F7F\u7528\u3057\u3066\u9805\u76EE\u3092\u8907\u6570\u9078\u629E\u3059\u308B\u3068\u304D\u306B\u4F7F\u7528\u3059\u308B\u4FEE\u98FE\u30AD\u30FC\u3067\u3059 (\u305F\u3068\u3048\u3070\u3001\u30A8\u30AF\u30B9\u30D7\u30ED\u30FC\u30E9\u30FC\u3067\u30A8\u30C7\u30A3\u30BF\u30FC\u3068 scm \u30D3\u30E5\u30FC\u3092\u958B\u304F\u306A\u3069)\u3002'\u6A2A\u306B\u4E26\u3079\u3066\u958B\u304F' \u30DE\u30A6\u30B9 \u30B8\u30A7\u30B9\u30C1\u30E3\u30FC (\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u5834\u5408) \u306F\u3001\u8907\u6570\u9078\u629E\u306E\u4FEE\u98FE\u30AD\u30FC\u3068\u7AF6\u5408\u3057\u306A\u3044\u3088\u3046\u306B\u8ABF\u6574\u3055\u308C\u307E\u3059\u3002","\u30DE\u30A6\u30B9\u3092\u4F7F\u7528\u3057\u3066\u3001\u30C4\u30EA\u30FC\u3068\u30EA\u30B9\u30C8\u5185\u306E\u9805\u76EE\u3092\u958B\u304F\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059 (\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u5834\u5408)\u3002\u9069\u7528\u3067\u304D\u306A\u3044\u5834\u5408\u3001\u4E00\u90E8\u306E\u30C4\u30EA\u30FC\u3084\u30EA\u30B9\u30C8\u3067\u306F\u3053\u306E\u8A2D\u5B9A\u304C\u7121\u8996\u3055\u308C\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002","\u30EA\u30B9\u30C8\u3068\u30C4\u30EA\u30FC\u304C\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u3067\u6C34\u5E73\u30B9\u30AF\u30ED\u30FC\u30EB\u3092\u30B5\u30DD\u30FC\u30C8\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u8B66\u544A: \u3053\u306E\u8A2D\u5B9A\u3092\u30AA\u30F3\u306B\u3059\u308B\u3068\u3001\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306B\u5F71\u97FF\u304C\u3042\u308A\u307E\u3059\u3002","\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u306E\u30AF\u30EA\u30C3\u30AF\u3067\u30DA\u30FC\u30B8\u3054\u3068\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30C4\u30EA\u30FC\u306E\u30A4\u30F3\u30C7\u30F3\u30C8\u3092\u30D4\u30AF\u30BB\u30EB\u5358\u4F4D\u3067\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30C4\u30EA\u30FC\u3067\u30A4\u30F3\u30C7\u30F3\u30C8\u306E\u30AC\u30A4\u30C9\u3092\u8868\u793A\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30EA\u30B9\u30C8\u3068\u30C4\u30EA\u30FC\u3067\u30B9\u30E0\u30FC\u30BA \u30B9\u30AF\u30ED\u30FC\u30EB\u3092\u4F7F\u7528\u3059\u308B\u304B\u3069\u3046\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30DE\u30A6\u30B9 \u30DB\u30A4\u30FC\u30EB \u30B9\u30AF\u30ED\u30FC\u30EB \u30A4\u30D9\u30F3\u30C8\u306E `deltaX` \u3068 `deltaY` \u3067\u4F7F\u7528\u3055\u308C\u308B\u4E57\u6570\u3002","`Alt` \u3092\u62BC\u3059\u3068\u3001\u30B9\u30AF\u30ED\u30FC\u30EB\u901F\u5EA6\u304C\u500D\u5897\u3057\u307E\u3059\u3002","\u691C\u7D22\u6642\u306B\u8981\u7D20\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002\u3055\u3089\u306B\u4E0A\u4E0B\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3067\u306F\u3001\u5F37\u8ABF\u8868\u793A\u3055\u308C\u305F\u8981\u7D20\u306E\u307F\u304C\u30B9\u30AD\u30E3\u30F3\u3055\u308C\u307E\u3059\u3002","\u691C\u7D22\u6642\u306B\u8981\u7D20\u3092\u30D5\u30A3\u30EB\u30BF\u30FC\u51E6\u7406\u3057\u307E\u3059\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u306E\u30EA\u30B9\u30C8\u3068\u30C4\u30EA\u30FC\u306E\u65E2\u5B9A\u306E\u691C\u7D22\u30E2\u30FC\u30C9\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u7C21\u5358\u306A\u30AD\u30FC\u30DC\u30FC\u30C9 \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u306F\u3001\u30AD\u30FC\u30DC\u30FC\u30C9\u5165\u529B\u306B\u4E00\u81F4\u3059\u308B\u8981\u7D20\u306B\u7126\u70B9\u3092\u5F53\u3066\u307E\u3059\u3002\u4E00\u81F4\u51E6\u7406\u306F\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3067\u306E\u307F\u5B9F\u884C\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC\u30DC\u30FC\u30C9 \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u306E\u5F37\u8ABF\u8868\u793A\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u30AD\u30FC\u30DC\u30FC\u30C9\u5165\u529B\u306B\u4E00\u81F4\u3059\u308B\u8981\u7D20\u304C\u5F37\u8ABF\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u4E0A\u304A\u3088\u3073\u4E0B\u3078\u306E\u79FB\u52D5\u306F\u3001\u5F37\u8ABF\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u8981\u7D20\u306E\u307F\u3092\u79FB\u52D5\u3057\u307E\u3059\u3002","\u30AD\u30FC\u30DC\u30FC\u30C9 \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3067\u306F\u3001\u30AD\u30FC\u30DC\u30FC\u30C9\u5165\u529B\u306B\u4E00\u81F4\u3057\u306A\u3044\u3059\u3079\u3066\u306E\u8981\u7D20\u304C\u30D5\u30A3\u30EB\u30BF\u30FC\u51E6\u7406\u3055\u308C\u3001\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u306E\u30EA\u30B9\u30C8\u304A\u3088\u3073\u30C4\u30EA\u30FC\u306E\u30AD\u30FC\u30DC\u30FC\u30C9 \u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3 \u30B9\u30BF\u30A4\u30EB\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u5358\u7D14\u3001\u5F37\u8ABF\u8868\u793A\u3001\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002","\u4EE3\u308F\u308A\u306B 'workbench.list.defaultFindMode' \u3068 'workbench.list.typeNavigationMode' \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u691C\u7D22\u6642\u306B\u3042\u3044\u307E\u3044\u4E00\u81F4\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u691C\u7D22\u6642\u306B\u9023\u7D9A\u4E00\u81F4\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u3067\u30EA\u30B9\u30C8\u3068\u30C4\u30EA\u30FC\u3092\u691C\u7D22\u3059\u308B\u3068\u304D\u306B\u4F7F\u7528\u3055\u308C\u308B\u4E00\u81F4\u306E\u7A2E\u985E\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002","\u30D5\u30A9\u30EB\u30C0\u30FC\u540D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u305F\u3068\u304D\u306B\u30C4\u30EA\u30FC \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u5C55\u958B\u3055\u308C\u308B\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002\u9069\u7528\u3067\u304D\u306A\u3044\u5834\u5408\u3001\u4E00\u90E8\u306E\u30C4\u30EA\u30FC\u3084\u30EA\u30B9\u30C8\u3067\u306F\u3053\u306E\u8A2D\u5B9A\u304C\u7121\u8996\u3055\u308C\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u306E\u30EA\u30B9\u30C8\u3068\u30C4\u30EA\u30FC\u3067\u578B\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u304C\u3069\u306E\u3088\u3046\u306B\u6A5F\u80FD\u3059\u308B\u304B\u3092\u5236\u5FA1\u3057\u307E\u3059\u3002`trigger` \u306B\u8A2D\u5B9A\u3059\u308B\u3068\u3001`list.triggerTypeNavigation` \u30B3\u30DE\u30F3\u30C9\u306E\u5B9F\u884C\u5F8C\u306B\u578B\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u304C\u958B\u59CB\u3055\u308C\u307E\u3059\u3002"],"vs/platform/markers/common/markers":["\u30A8\u30E9\u30FC","\u8B66\u544A","\u60C5\u5831"],"vs/platform/quickinput/browser/commandsQuickAccess":["\u6700\u8FD1\u4F7F\u7528\u3057\u305F\u3082\u306E","\u540C\u69D8\u306E\u30B3\u30DE\u30F3\u30C9","\u3088\u304F\u4F7F\u7528\u3059\u308B\u3082\u306E","\u305D\u306E\u4ED6\u306E\u30B3\u30DE\u30F3\u30C9","\u540C\u69D8\u306E\u30B3\u30DE\u30F3\u30C9","{0}, {1}","\u30B3\u30DE\u30F3\u30C9 '{0}' \u3067\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F"],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["\u623B\u308B","'Enter' \u3092\u62BC\u3057\u3066\u5165\u529B\u3092\u78BA\u8A8D\u3059\u308B\u304B 'Escape' \u3092\u62BC\u3057\u3066\u53D6\u308A\u6D88\u3057\u307E\u3059","{0}/{1}","\u5165\u529B\u3059\u308B\u3068\u7D50\u679C\u304C\u7D5E\u308A\u8FBC\u307E\u308C\u307E\u3059\u3002"],"vs/platform/quickinput/browser/quickInputController":["\u3059\u3079\u3066\u306E\u30C1\u30A7\u30C3\u30AF \u30DC\u30C3\u30AF\u30B9\u3092\u5207\u308A\u66FF\u3048\u308B","{0} \u4EF6\u306E\u7D50\u679C","{0} \u500B\u9078\u629E\u6E08\u307F","OK","\u30AB\u30B9\u30BF\u30E0","\u623B\u308B ({0})","\u623B\u308B"],"vs/platform/quickinput/browser/quickInputList":["\u30AF\u30A4\u30C3\u30AF\u5165\u529B"],"vs/platform/quickinput/browser/quickInputUtils":["\u30AF\u30EA\u30C3\u30AF\u3057\u3066 '{0}' \u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C"],"vs/platform/theme/common/colorRegistry":["\u5168\u4F53\u306E\u524D\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306B\u3088\u3063\u3066\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306B\u306E\u307F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u7121\u52B9\u306A\u8981\u7D20\u306E\u5168\u4F53\u7684\u306A\u524D\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306B\u3088\u3063\u3066\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3055\u308C\u306A\u3044\u5834\u5408\u306B\u306E\u307F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30E9\u30FC \u30E1\u30C3\u30BB\u30FC\u30B8\u5168\u4F53\u306E\u524D\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306B\u3088\u3063\u3066\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306B\u306E\u307F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u8FFD\u52A0\u60C5\u5831\u3092\u63D0\u4F9B\u3059\u308B\u8AAC\u660E\u6587\u306E\u524D\u666F\u8272\u3001\u4F8B:\u30E9\u30D9\u30EB\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u306E\u30A2\u30A4\u30B3\u30F3\u306E\u65E2\u5B9A\u306E\u8272\u3002","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u8981\u7D20\u306E\u5883\u754C\u7DDA\u5168\u4F53\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306B\u3088\u3063\u3066\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306B\u306E\u307F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30B3\u30F3\u30C8\u30E9\u30B9\u30C8\u3092\u5F37\u3081\u308B\u305F\u3081\u306B\u3001\u4ED6\u306E\u8981\u7D20\u3068\u9694\u3066\u308B\u8FFD\u52A0\u306E\u5883\u754C\u7DDA\u3002","\u30B3\u30F3\u30C8\u30E9\u30B9\u30C8\u3092\u5F37\u3081\u308B\u305F\u3081\u306B\u3001\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u4ED6\u8981\u7D20\u3068\u9694\u3066\u308B\u8FFD\u52A0\u306E\u5883\u754C\u7DDA\u3002","\u30EF\u30FC\u30AF\u30D9\u30F3\u30C1\u5185\u306E\u30C6\u30AD\u30B9\u30C8\u9078\u629E\u306E\u80CC\u666F\u8272 (\u4F8B: \u5165\u529B\u30D5\u30A3\u30FC\u30EB\u30C9\u3084\u30C6\u30AD\u30B9\u30C8\u30A8\u30EA\u30A2)\u3002\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u9078\u629E\u306B\u306F\u9069\u7528\u3055\u308C\u306A\u3044\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002","\u30C6\u30AD\u30B9\u30C8\u306E\u533A\u5207\u308A\u6587\u5B57\u306E\u8272\u3002","\u30C6\u30AD\u30B9\u30C8\u5185\u306E\u30EA\u30F3\u30AF\u306E\u524D\u666F\u8272\u3002","\u30AF\u30EA\u30C3\u30AF\u3055\u308C\u305F\u3068\u304D\u3068\u30DE\u30A6\u30B9\u3092\u30DB\u30D0\u30FC\u3057\u305F\u3068\u304D\u306E\u30C6\u30AD\u30B9\u30C8\u5185\u306E\u30EA\u30F3\u30AF\u306E\u524D\u666F\u8272\u3002","\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u6E08\u307F\u30C6\u30AD\u30B9\u30C8 \u30BB\u30B0\u30E1\u30F3\u30C8\u306E\u524D\u666F\u8272\u3002","\u30C6\u30AD\u30B9\u30C8\u5185\u306E\u30D6\u30ED\u30C3\u30AF\u5F15\u7528\u306E\u80CC\u666F\u8272\u3002","\u30C6\u30AD\u30B9\u30C8\u5185\u306E\u30D6\u30ED\u30C3\u30AF\u5F15\u7528\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30C6\u30AD\u30B9\u30C8\u5185\u306E\u30B3\u30FC\u30C9 \u30D6\u30ED\u30C3\u30AF\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u691C\u7D22/\u7F6E\u63DB\u7A93\u306A\u3069\u3001\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5F71\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u691C\u7D22/\u7F6E\u63DB\u7A93\u306A\u3069\u3001\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5165\u529B\u30DC\u30C3\u30AF\u30B9\u306E\u80CC\u666F\u3002","\u5165\u529B\u30DC\u30C3\u30AF\u30B9\u306E\u524D\u666F\u3002","\u5165\u529B\u30DC\u30C3\u30AF\u30B9\u306E\u5883\u754C\u7DDA\u3002","\u5165\u529B\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u30A2\u30AF\u30C6\u30A3\u30D6 \u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5165\u529B\u30D5\u30A3\u30FC\u30EB\u30C9\u3067\u30A2\u30AF\u30C6\u30A3\u30D6\u5316\u3055\u308C\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u80CC\u666F\u8272\u3002","\u5165\u529B\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u80CC\u666F\u306E\u30DB\u30D0\u30FC\u8272\u3002","\u5165\u529B\u30D5\u30A3\u30FC\u30EB\u30C9\u3067\u30A2\u30AF\u30C6\u30A3\u30D6\u5316\u3055\u308C\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u524D\u666F\u8272\u3002","\u5165\u529B\u30DC\u30C3\u30AF\u30B9\u306E\u30D7\u30EC\u30FC\u30B9\u30DB\u30EB\u30C0\u30FC \u30C6\u30AD\u30B9\u30C8\u306E\u524D\u666F\u8272\u3002","\u60C5\u5831\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u80CC\u666F\u8272\u3002","\u60C5\u5831\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u524D\u666F\u8272\u3002","\u60C5\u5831\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u5883\u754C\u7DDA\u8272\u3002","\u8B66\u544A\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u80CC\u666F\u8272\u3002","\u8B66\u544A\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u524D\u666F\u8272\u3002","\u8B66\u544A\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30A8\u30E9\u30FC\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30E9\u30FC\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u524D\u666F\u8272\u3002","\u30A8\u30E9\u30FC\u306E\u91CD\u5927\u5EA6\u3092\u793A\u3059\u5165\u529B\u691C\u8A3C\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30C9\u30ED\u30C3\u30D7\u30C0\u30A6\u30F3\u306E\u80CC\u666F\u3002","\u30C9\u30ED\u30C3\u30D7\u30C0\u30A6\u30F3 \u30EA\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002","\u30C9\u30ED\u30C3\u30D7\u30C0\u30A6\u30F3\u306E\u524D\u666F\u3002","\u30C9\u30ED\u30C3\u30D7\u30C0\u30A6\u30F3\u306E\u5883\u754C\u7DDA\u3002","\u30DC\u30BF\u30F3\u306E\u524D\u666F\u8272\u3002","\u30DC\u30BF\u30F3\u306E\u533A\u5207\u308A\u8A18\u53F7\u306E\u8272\u3002","\u30DC\u30BF\u30F3\u306E\u80CC\u666F\u8272\u3002","\u30DB\u30D0\u30FC\u6642\u306E\u30DC\u30BF\u30F3\u80CC\u666F\u8272\u3002","\u30DC\u30BF\u30F3\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u30DC\u30BF\u30F3\u306E 2 \u6B21\u7684\u306A\u524D\u666F\u8272\u3002","\u30DC\u30BF\u30F3\u306E 2 \u6B21\u7684\u306A\u80CC\u666F\u8272\u3002","\u30DB\u30D0\u30FC\u6642\u306E\u30DC\u30BF\u30F3\u306E 2 \u6B21\u7684\u306A\u80CC\u666F\u8272\u3002","\u30D0\u30C3\u30B8\u306E\u80CC\u666F\u8272\u3002\u30D0\u30C3\u30B8\u3068\u306F\u5C0F\u3055\u306A\u60C5\u5831\u30E9\u30D9\u30EB\u306E\u3053\u3068\u3067\u3059\u3002\u4F8B:\u691C\u7D22\u7D50\u679C\u306E\u6570","\u30D0\u30C3\u30B8\u306E\u524D\u666F\u8272\u3002\u30D0\u30C3\u30B8\u3068\u306F\u5C0F\u3055\u306A\u60C5\u5831\u30E9\u30D9\u30EB\u306E\u3053\u3068\u3067\u3059\u3002\u4F8B:\u691C\u7D22\u7D50\u679C\u306E\u6570","\u30D3\u30E5\u30FC\u304C\u30B9\u30AF\u30ED\u30FC\u30EB\u3055\u308C\u305F\u3053\u3068\u3092\u793A\u3059\u30B9\u30AF\u30ED\u30FC\u30EB \u30D0\u30FC\u306E\u5F71\u3002","\u30B9\u30AF\u30ED\u30FC\u30EB \u30D0\u30FC\u306E\u30B9\u30E9\u30A4\u30C0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30DB\u30D0\u30FC\u6642\u306E\u30B9\u30AF\u30ED\u30FC\u30EB \u30D0\u30FC \u30B9\u30E9\u30A4\u30C0\u30FC\u80CC\u666F\u8272\u3002","\u30AF\u30EA\u30C3\u30AF\u6642\u306E\u30B9\u30AF\u30ED\u30FC\u30EB \u30D0\u30FC \u30B9\u30E9\u30A4\u30C0\u30FC\u80CC\u666F\u8272\u3002","\u6642\u9593\u306E\u304B\u304B\u308B\u64CD\u4F5C\u3067\u8868\u793A\u3059\u308B\u30D7\u30ED\u30B0\u30EC\u30B9 \u30D0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u30A8\u30E9\u30FC \u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30A8\u30E9\u30FC\u3092\u793A\u3059\u6CE2\u7DDA\u306E\u524D\u666F\u8272\u3002","\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u30A8\u30E9\u30FC\u306E\u4E8C\u91CD\u4E0B\u7DDA\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u8B66\u544A\u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u8B66\u544A\u3092\u793A\u3059\u6CE2\u7DDA\u306E\u524D\u666F\u8272\u3002","\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u8B66\u544A\u306E\u4E8C\u91CD\u4E0B\u7DDA\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u60C5\u5831\u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u60C5\u5831\u3092\u793A\u3059\u6CE2\u7DDA\u306E\u524D\u666F\u8272\u3002","\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u60C5\u5831\u306E\u4E8C\u91CD\u4E0B\u7DDA\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30D2\u30F3\u30C8\u3092\u793A\u3059\u6CE2\u7DDA\u306E\u524D\u666F\u8272\u3002","\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u30D2\u30F3\u30C8\u306E\u4E8C\u91CD\u4E0B\u7DDA\u306E\u8272\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u67A0\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u65E2\u5B9A\u306E\u524D\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u80CC\u666F\u8272","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u56FA\u5B9A\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u30DB\u30D0\u30FC\u80CC\u666F\u8272","\u691C\u7D22/\u7F6E\u63DB\u7A93\u306A\u3069\u3001\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u8272\u3002","\u691C\u7D22/\u7F6E\u63DB\u306A\u3069\u3092\u884C\u3046\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u524D\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5883\u754C\u7DDA\u8272\u3002\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u5883\u754C\u7DDA\u304C\u3042\u308A\u3001\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u3088\u3063\u3066\u914D\u8272\u3092\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u3067\u306E\u307F\u3053\u306E\u914D\u8272\u306F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30B5\u30A4\u30BA\u5909\u66F4\u30D0\u30FC\u306E\u5883\u754C\u7DDA\u8272\u3002\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u30B5\u30A4\u30BA\u5909\u66F4\u306E\u5883\u754C\u7DDA\u304C\u3042\u308A\u3001\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u3088\u3063\u3066\u914D\u8272\u3092\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u3067\u306E\u307F\u3053\u306E\u914D\u8272\u306F\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC\u306E\u80CC\u666F\u8272\u3002\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306F\u3001\u30B3\u30DE\u30F3\u30C9 \u30D1\u30EC\u30C3\u30C8\u306E\u3088\u3046\u306A\u30D4\u30C3\u30AB\u30FC\u306E\u30B3\u30F3\u30C6\u30CA\u30FC\u3067\u3059\u3002","\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC\u306E\u524D\u666F\u8272\u3002\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306F\u3001\u30B3\u30DE\u30F3\u30C9 \u30D1\u30EC\u30C3\u30C8\u306E\u3088\u3046\u306A\u30D4\u30C3\u30AB\u30FC\u306E\u30B3\u30F3\u30C6\u30CA\u30FC\u3067\u3059\u3002","\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC \u306E\u30BF\u30A4\u30C8\u30EB\u306E\u80CC\u666F\u8272\u3002\u30AF\u30A4\u30C3\u30AF \u30D4\u30C3\u30AB\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306F\u3001\u30B3\u30DE\u30F3\u30C9 \u30D1\u30EC\u30C3\u30C8\u306E\u3088\u3046\u306A\u30D4\u30C3\u30AB\u30FC\u306E\u30B3\u30F3\u30C6\u30CA\u30FC\u3067\u3059\u3002","\u30E9\u30D9\u30EB\u3092\u30B0\u30EB\u30FC\u30D7\u5316\u3059\u308B\u305F\u3081\u306E\u30AF\u30EA\u30C3\u30AF\u9078\u629E\u306E\u8272\u3002","\u5883\u754C\u7DDA\u3092\u30B0\u30EB\u30FC\u30D7\u5316\u3059\u308B\u305F\u3081\u306E\u30AF\u30A4\u30C3\u30AF\u9078\u629E\u306E\u8272\u3002","\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306E\u80CC\u666F\u8272\u3067\u3059\u3002\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8868\u3059\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306E\u524D\u666F\u8272\u3067\u3059\u3002\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8868\u3059\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306E\u5883\u754C\u7DDA\u306E\u8272\u3067\u3059\u3002\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8868\u3059\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306E\u4E0B\u306E\u5883\u754C\u7DDA\u306E\u8272\u3067\u3059\u3002\u30AD\u30FC \u30D0\u30A4\u30F3\u30C9 \u30E9\u30D9\u30EB\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8868\u3059\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u306E\u8272\u3002","\u30CF\u30A4 \u30B3\u30F3\u30C8\u30E9\u30B9\u30C8\u306E\u9078\u629E\u6E08\u307F\u30C6\u30AD\u30B9\u30C8\u306E\u8272\u3002","\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u9078\u629E\u7BC4\u56F2\u306E\u540C\u3058\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u9818\u57DF\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u9078\u629E\u7BC4\u56F2\u3068\u540C\u3058\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u73FE\u5728\u306E\u691C\u7D22\u4E00\u81F4\u9805\u76EE\u306E\u8272\u3002","\u305D\u306E\u4ED6\u306E\u691C\u7D22\u6761\u4EF6\u306B\u4E00\u81F4\u3059\u308B\u9805\u76EE\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u691C\u7D22\u3092\u5236\u9650\u3059\u308B\u7BC4\u56F2\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u73FE\u5728\u306E\u691C\u7D22\u4E00\u81F4\u9805\u76EE\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u4ED6\u306E\u691C\u7D22\u4E00\u81F4\u9805\u76EE\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u691C\u7D22\u3092\u5236\u9650\u3059\u308B\u7BC4\u56F2\u306E\u5883\u754C\u7DDA\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u691C\u7D22\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30AF\u30A8\u30EA\u306E\u8272\u304C\u4E00\u81F4\u3057\u307E\u3059\u3002","\u691C\u7D22\u30A8\u30C7\u30A3\u30BF\u30FC \u30AF\u30A8\u30EA\u306E\u5883\u754C\u7DDA\u306E\u8272\u304C\u4E00\u81F4\u3057\u307E\u3059\u3002","\u691C\u7D22\u30D3\u30E5\u30FC\u30EC\u30C3\u30C8\u306E\u5B8C\u4E86\u30E1\u30C3\u30BB\u30FC\u30B8\u5185\u306E\u30C6\u30AD\u30B9\u30C8\u306E\u8272\u3002","\u30DB\u30D0\u30FC\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u308B\u8A9E\u306E\u4E0B\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30DB\u30D0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30DB\u30D0\u30FC\u306E\u524D\u666F\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC \u30DB\u30D0\u30FC\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u30DB\u30D0\u30FC\u306E\u30B9\u30C6\u30FC\u30BF\u30B9 \u30D0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30EA\u30F3\u30AF\u306E\u8272\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u524D\u666F\u8272","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u80CC\u666F\u8272","\u7A2E\u985E\u306E\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u524D\u666F\u8272","\u7A2E\u985E\u306E\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u80CC\u666F\u8272","\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u524D\u666F\u8272","\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u30A4\u30F3\u30E9\u30A4\u30F3 \u30D2\u30F3\u30C8\u306E\u80CC\u666F\u8272","\u96FB\u7403\u30A2\u30AF\u30B7\u30E7\u30F3 \u30A2\u30A4\u30B3\u30F3\u306B\u4F7F\u7528\u3059\u308B\u8272\u3002","\u81EA\u52D5\u4FEE\u6B63\u306E\u96FB\u7403\u30A2\u30AF\u30B7\u30E7\u30F3 \u30A2\u30A4\u30B3\u30F3\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u308B\u8272\u3002","\u633F\u5165\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u524A\u9664\u3057\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u633F\u5165\u3055\u308C\u305F\u884C\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u524A\u9664\u3057\u305F\u884C\u306E\u80CC\u666F\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u633F\u5165\u3055\u308C\u305F\u884C\u306E\u4F59\u767D\u306E\u80CC\u666F\u8272\u3002","\u524A\u9664\u3055\u308C\u305F\u884C\u306E\u4F59\u767D\u306E\u80CC\u666F\u8272\u3002","\u633F\u5165\u3055\u308C\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u3064\u3044\u3066\u3001\u5DEE\u5206\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u3092\u524D\u9762\u306B\u7F6E\u304D\u307E\u3059\u3002","\u524A\u9664\u3055\u308C\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u3064\u3044\u3066\u3001\u5DEE\u5206\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u3092\u524D\u9762\u306B\u7F6E\u304D\u307E\u3059\u3002","\u633F\u5165\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u8F2A\u90ED\u306E\u8272\u3002","\u524A\u9664\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u306E\u8F2A\u90ED\u306E\u8272\u3002","2 \u3064\u306E\u30C6\u30AD\u30B9\u30C8 \u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9593\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5BFE\u89D2\u7DDA\u306E\u5857\u308A\u3064\u3076\u3057\u8272\u3002\u5BFE\u89D2\u7DDA\u306E\u5857\u308A\u3064\u3076\u3057\u306F\u3001\u6A2A\u306B\u4E26\u3079\u3066\u6BD4\u8F03\u3059\u308B\u30D3\u30E5\u30FC\u3067\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u30D6\u30ED\u30C3\u30AF\u306E\u80CC\u666F\u8272\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u30D6\u30ED\u30C3\u30AF\u306E\u524D\u666F\u8272\u3002","\u5DEE\u5206\u30A8\u30C7\u30A3\u30BF\u30FC\u5185\u306E\u5909\u66F4\u3055\u308C\u3066\u3044\u306A\u3044\u30B3\u30FC\u30C9\u306E\u80CC\u666F\u8272\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u80CC\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u524D\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u5834\u5408\u306E\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u306B\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306B\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30EA\u30B9\u30C8/\u30C4\u30EA\u30FC\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306E\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u30A2\u30A4\u30C6\u30E0\u306E\u30EA\u30B9\u30C8/\u30C4\u30EA\u30FC \u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u306E\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30EA\u30B9\u30C8/\u30C4\u30EA\u30FC\u306B\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u5834\u5408\u306F\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u80CC\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u524D\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306E\u30A2\u30A4\u30B3\u30F3\u524D\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u80CC\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u524D\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u9078\u629E\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306E\u30A2\u30A4\u30B3\u30F3\u524D\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u3068\u304D\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u80CC\u666F\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u304C\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u5834\u5408\u306E\u3001\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u8272\u3002\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30EA\u30B9\u30C8\u3084\u30C4\u30EA\u30FC\u306B\u306F\u30AD\u30FC\u30DC\u30FC\u30C9 \u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u3042\u308A\u3001\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306B\u306F\u3053\u308C\u304C\u3042\u308A\u307E\u305B\u3093\u3002","\u30DE\u30A6\u30B9\u64CD\u4F5C\u3067\u9805\u76EE\u3092\u30DB\u30D0\u30FC\u3059\u308B\u3068\u304D\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u80CC\u666F\u3002","\u30DE\u30A6\u30B9\u64CD\u4F5C\u3067\u9805\u76EE\u3092\u30DB\u30D0\u30FC\u3059\u308B\u3068\u304D\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u524D\u666F\u3002","\u30DE\u30A6\u30B9\u64CD\u4F5C\u3067\u9805\u76EE\u3092\u79FB\u52D5\u3059\u308B\u3068\u304D\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8 \u30C9\u30E9\u30C3\u30B0 \u30A2\u30F3\u30C9 \u30C9\u30ED\u30C3\u30D7\u306E\u80CC\u666F\u3002","\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u5185\u3092\u691C\u7D22\u3057\u3066\u3044\u308B\u3068\u304D\u3001\u4E00\u81F4\u3057\u305F\u5F37\u8ABF\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u524D\u666F\u8272\u3002","\u30C4\u30EA\u30FC/\u30EA\u30B9\u30C8\u5185\u3092\u691C\u7D22\u3057\u3066\u3044\u308B\u3068\u304D\u3001\u4E00\u81F4\u3057\u305F\u5F37\u8ABF\u306E\u30C4\u30EA\u30FC/\u30EA\u30B9\u30C8\u306E\u524D\u666F\u8272\u3002","\u7121\u52B9\u306A\u9805\u76EE\u306E\u30C4\u30EA\u30FC\u30EA\u30B9\u30C8\u306E\u524D\u666F\u8272\u3002\u305F\u3068\u3048\u3070\u30A8\u30AF\u30B9\u30D7\u30ED\u30FC\u30E9\u30FC\u306E\u672A\u89E3\u6C7A\u306A\u30EB\u30FC\u30C8\u3002","\u30A8\u30E9\u30FC\u3092\u542B\u3080\u30EA\u30B9\u30C8\u9805\u76EE\u306E\u524D\u666F\u8272\u3002","\u8B66\u544A\u304C\u542B\u307E\u308C\u308B\u30EA\u30B9\u30C8\u9805\u76EE\u306E\u524D\u666F\u8272\u3002","\u30EA\u30B9\u30C8\u304A\u3088\u3073\u30C4\u30EA\u30FC\u306E\u578B\u30D5\u30A3\u30EB\u30BF\u30FC \u30A6\u30A7\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u8272\u3002","\u30EA\u30B9\u30C8\u304A\u3088\u3073\u30C4\u30EA\u30FC\u306E\u578B\u30D5\u30A3\u30EB\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u8272\u3002","\u4E00\u81F4\u9805\u76EE\u304C\u306A\u3044\u5834\u5408\u306E\u3001\u30EA\u30B9\u30C8\u304A\u3088\u3073\u30C4\u30EA\u30FC\u306E\u578B\u30D5\u30A3\u30EB\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u8272\u3002","\u30EA\u30B9\u30C8\u304A\u3088\u3073\u30C4\u30EA\u30FC\u306E\u578B\u30D5\u30A3\u30EB\u30BF\u30FC \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5F71\u306E\u8272\u3002","\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3055\u308C\u305F\u4E00\u81F4\u306E\u80CC\u666F\u8272\u3002","\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3055\u308C\u305F\u4E00\u81F4\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u30C4\u30EA\u30FC \u30B9\u30C8\u30ED\u30FC\u30AF\u306E\u8272\u3002","\u30A2\u30AF\u30C6\u30A3\u30D6\u3067\u306A\u3044\u30A4\u30F3\u30C7\u30F3\u30C8 \u30AC\u30A4\u30C9\u306E\u30C4\u30EA\u30FC \u30B9\u30C8\u30ED\u30FC\u30AF\u306E\u8272\u3002","\u5217\u9593\u306E\u8868\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u5947\u6570\u30C6\u30FC\u30D6\u30EB\u884C\u306E\u80CC\u666F\u8272\u3002","\u5F37\u8ABF\u8868\u793A\u3055\u308C\u3066\u3044\u306A\u3044\u9805\u76EE\u306E\u30EA\u30B9\u30C8/\u30C4\u30EA\u30FC\u524D\u666F\u8272\u3002 ","\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u8272\u3002","\u8981\u7D20\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306E\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u80CC\u666F\u8272\u3002","\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u524D\u666F\u8272\u3002","\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u8981\u7D20\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306E\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9 \u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u4EE3\u308F\u308A\u306B quickInputList.focusBackground \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30AF\u30A4\u30C3\u30AF\u9078\u629E\u306E\u524D\u666F\u8272\u3002","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30AF\u30A4\u30C3\u30AF\u9078\u629E\u306E\u30A2\u30A4\u30B3\u30F3\u524D\u666F\u8272\u3002","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u9805\u76EE\u306E\u30AF\u30A4\u30C3\u30AF\u9078\u629E\u306E\u80CC\u666F\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u524D\u666F\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u80CC\u666F\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u3067\u9078\u629E\u3055\u308C\u305F\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u524D\u666F\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u3067\u9078\u629E\u3055\u308C\u305F\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u80CC\u666F\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u3067\u9078\u629E\u3055\u308C\u305F\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30E1\u30CB\u30E5\u30FC\u5185\u306E\u30E1\u30CB\u30E5\u30FC\u9805\u76EE\u306E\u5883\u754C\u7DDA\u8272\u3002","\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u4E0A\u306B\u30DE\u30A6\u30B9 \u30DD\u30A4\u30F3\u30BF\u30FC\u3092\u5408\u308F\u305B\u305F\u3068\u304D\u306E\u30C4\u30FC\u30EB \u30D0\u30FC\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3","\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u4E0A\u306B\u30DE\u30A6\u30B9 \u30DD\u30A4\u30F3\u30BF\u30FC\u3092\u5408\u308F\u305B\u305F\u3068\u304D\u306E\u30C4\u30FC\u30EB \u30D0\u30FC\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3","\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u4E0A\u306B\u30DE\u30A6\u30B9 \u30DD\u30A4\u30F3\u30BF\u30FC\u3092\u5408\u308F\u305B\u308B\u3068\u30C4\u30FC\u30EB \u30D0\u30FC\u306E\u80CC\u666F\u304C\u8868\u793A\u3055\u308C\u308B","\u30B9\u30CB\u30DA\u30C3\u30C8 tabstop \u306E\u80CC\u666F\u8272\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30B9\u30CB\u30DA\u30C3\u30C8 tabstop \u306E\u5883\u754C\u7DDA\u306E\u8272\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u6700\u5F8C\u306E tabstop \u306E\u80CC\u666F\u8272\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30B9\u30CB\u30DA\u30C3\u30C8\u306E\u6700\u5F8C\u306E\u30BF\u30D6\u30B9\u30C8\u30C3\u30D7\u3067\u5883\u754C\u7DDA\u306E\u8272\u3092\u5F37\u8ABF\u8868\u793A\u3057\u307E\u3059\u3002","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u968E\u5C64\u30EA\u30F3\u30AF\u306E\u9805\u76EE\u306E\u8272\u3002","\u968E\u5C64\u30EA\u30F3\u30AF\u306E\u9805\u76EE\u306E\u80CC\u666F\u8272\u3002","\u30D5\u30A9\u30FC\u30AB\u30B9\u3055\u308C\u305F\u968E\u5C64\u30EA\u30F3\u30AF\u306E\u9805\u76EE\u306E\u8272\u3002","\u9078\u629E\u3055\u308C\u305F\u968E\u5C64\u30EA\u30F3\u30AF\u306E\u9805\u76EE\u306E\u8272\u3002","\u968E\u5C64\u9805\u76EE\u30D4\u30C3\u30AB\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u73FE\u5728\u306E\u30D8\u30C3\u30C0\u30FC\u306E\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u73FE\u5728\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u7740\u4FE1\u30D8\u30C3\u30C0\u30FC\u306E\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u7740\u4FE1\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u5171\u901A\u306E\u5148\u7956\u306E\u30D8\u30C3\u30C0\u30FC\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u30A4\u30F3\u30E9\u30A4\u30F3 \u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u5171\u901A\u306E\u5148\u7956\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u80CC\u666F\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u884C\u5185\u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u30D8\u30C3\u30C0\u30FC\u3068\u30B9\u30D7\u30EA\u30C3\u30BF\u30FC\u306E\u5883\u754C\u7DDA\u306E\u8272\u3002","\u884C\u5185\u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u73FE\u5728\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u524D\u666F\u8272\u3002","\u884C\u5185\u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u5165\u529B\u5074\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u524D\u666F\u8272\u3002","\u884C\u5185\u30DE\u30FC\u30B8\u7AF6\u5408\u306E\u5171\u901A\u306E\u7956\u5148\u6982\u8981\u30EB\u30FC\u30E9\u30FC\u524D\u666F\u8272\u3002","\u691C\u51FA\u3055\u308C\u305F\u4E00\u81F4\u9805\u76EE\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u9078\u629E\u7BC4\u56F2\u3092\u5F37\u8ABF\u8868\u793A\u3059\u308B\u305F\u3081\u306E\u6982\u8981\u30EB\u30FC\u30E9\u30FC \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002\u3053\u306E\u8272\u306F\u3001\u57FA\u672C\u88C5\u98FE\u304C\u975E\u8868\u793A\u306B\u306A\u3089\u306A\u3044\u3088\u3046\u4E0D\u900F\u660E\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002","\u4E00\u81F4\u3092\u691C\u7D22\u3059\u308B\u305F\u3081\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u7E70\u308A\u8FD4\u3057\u9078\u629E\u3059\u308B\u7BC4\u56F2\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u9078\u629E\u7BC4\u56F2\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u60C5\u5831\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u8B66\u544A\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u30A8\u30E9\u30FC\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30DE\u30FC\u30AB\u30FC\u306E\u8272\u3002","\u30DF\u30CB\u30DE\u30C3\u30D7\u306E\u80CC\u666F\u8272\u3002",'\u30DF\u30CB\u30DE\u30C3\u30D7\u306B\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3055\u308C\u308B\u524D\u666F\u8981\u7D20\u306E\u4E0D\u900F\u660E\u5EA6\u3002\u305F\u3068\u3048\u3070\u3001"#000000c0" \u3067\u306F\u300175% \u306E\u4E0D\u900F\u660E\u5EA6\u3067\u8981\u7D20\u3092\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3057\u307E\u3059\u3002',"\u30DF\u30CB\u30DE\u30C3\u30D7 \u30B9\u30E9\u30A4\u30C0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30DB\u30D0\u30FC\u30EA\u30F3\u30B0\u6642\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30B9\u30E9\u30A4\u30C0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u30AF\u30EA\u30C3\u30AF\u3057\u305F\u3068\u304D\u306E\u30DF\u30CB\u30DE\u30C3\u30D7 \u30B9\u30E9\u30A4\u30C0\u30FC\u306E\u80CC\u666F\u8272\u3002","\u554F\u984C\u306E\u30A8\u30E9\u30FC \u30A2\u30A4\u30B3\u30F3\u306B\u4F7F\u7528\u3055\u308C\u308B\u8272\u3002","\u554F\u984C\u306E\u8B66\u544A\u30A2\u30A4\u30B3\u30F3\u306B\u4F7F\u7528\u3055\u308C\u308B\u8272\u3002","\u554F\u984C\u60C5\u5831\u30A2\u30A4\u30B3\u30F3\u306B\u4F7F\u7528\u3055\u308C\u308B\u8272\u3002","\u30B0\u30E9\u30D5\u3067\u4F7F\u7528\u3055\u308C\u308B\u524D\u666F\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u6C34\u5E73\u7DDA\u306B\u4F7F\u7528\u3055\u308C\u308B\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u8D64\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u9752\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u9EC4\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u30AA\u30EC\u30F3\u30B8\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u7DD1\u8272\u3002","\u30B0\u30E9\u30D5\u306E\u8996\u899A\u5316\u306B\u4F7F\u7528\u3055\u308C\u308B\u7D2B\u8272\u3002"],"vs/platform/theme/common/iconRegistry":["\u4F7F\u7528\u3059\u308B\u30D5\u30A9\u30F3\u30C8\u306E ID\u3002\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306F\u3001\u6700\u521D\u306B\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u30D5\u30A9\u30F3\u30C8\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002","\u30A2\u30A4\u30B3\u30F3\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u30D5\u30A9\u30F3\u30C8\u6587\u5B57\u3002","\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306B\u3042\u308B\u9589\u3058\u308B\u30A2\u30AF\u30B7\u30E7\u30F3\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u524D\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5834\u6240\u306B\u79FB\u52D5\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002","\u6B21\u306E\u30A8\u30C7\u30A3\u30BF\u30FC\u306E\u5834\u6240\u306B\u79FB\u52D5\u3059\u308B\u305F\u3081\u306E\u30A2\u30A4\u30B3\u30F3\u3002"],"vs/platform/undoRedo/common/undoRedoService":["\u6B21\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u9589\u3058\u3089\u308C\u3001\u30C7\u30A3\u30B9\u30AF\u4E0A\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F: {0}\u3002","\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u4E92\u63DB\u6027\u306E\u306A\u3044\u65B9\u6CD5\u3067\u5909\u66F4\u3055\u308C\u307E\u3057\u305F: {0}\u3002","\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3067\u3057\u305F\u3002{1}","\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3067\u3057\u305F\u3002{1}","{1} \u306B\u5909\u66F4\u304C\u52A0\u3048\u3089\u308C\u305F\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3067\u3057\u305F","{1} \u3067\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u65E2\u306B\u5B9F\u884C\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u5BFE\u3057\u3066 '{0}' \u3092\u5143\u306B\u623B\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u305D\u306E\u671F\u9593\u306B\u5B9F\u884C\u4E2D\u3067\u3042\u3063\u305F\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u5BFE\u3057\u3066 '{0}' \u3092\u5143\u306B\u623B\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u5143\u306B\u623B\u3057\u307E\u3059\u304B?","{0} \u500B\u306E\u30D5\u30A1\u30A4\u30EB\u3067\u5143\u306B\u623B\u3059(&&U)","\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u5143\u306B\u623B\u3059","\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u65E2\u306B\u5B9F\u884C\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001'{0}' \u3092\u5143\u306B\u623B\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002","'{0}' \u3092\u5143\u306B\u623B\u3057\u307E\u3059\u304B?","\u306F\u3044(&&Y)","\u3044\u3044\u3048","\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u3084\u308A\u76F4\u3057\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002{1}","\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u3084\u308A\u76F4\u3057\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002{1}","{1} \u306B\u5909\u66F4\u304C\u52A0\u3048\u3089\u308C\u305F\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3067 '{0}' \u3092\u518D\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","{1} \u3067\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u65E2\u306B\u5B9F\u884C\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u5BFE\u3057\u3066 '{0}' \u3092\u3084\u308A\u76F4\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u305D\u306E\u671F\u9593\u306B\u5B9F\u884C\u4E2D\u3067\u3042\u3063\u305F\u305F\u3081\u3001\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u5BFE\u3057\u3066 '{0}' \u3092\u3084\u308A\u76F4\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","\u5143\u306B\u623B\u3059\u307E\u305F\u306F\u3084\u308A\u76F4\u3057\u64CD\u4F5C\u304C\u65E2\u306B\u5B9F\u884C\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001'{0}' \u3092\u3084\u308A\u76F4\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002"],"vs/platform/workspace/common/workspace":["\u30B3\u30FC\u30C9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.ja.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.js new file mode 100644 index 0000000..77ca6c0 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.js @@ -0,0 +1,29 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["input"],"vs/base/browser/ui/findinput/findInputToggles":["Match Case","Match Whole Word","Use Regular Expression"],"vs/base/browser/ui/findinput/replaceInput":["input","Preserve Case"],"vs/base/browser/ui/hover/hoverWidget":["Inspect this in the accessible view with {0}.","Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."],"vs/base/browser/ui/iconLabel/iconLabelHover":["Loading..."],"vs/base/browser/ui/inputbox/inputBox":["Error: {0}","Warning: {0}","Info: {0}","for history","Cleared Input"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["Unbound"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Select Box"],"vs/base/browser/ui/toolbar/toolbar":["More Actions..."],"vs/base/browser/ui/tree/abstractTree":["Filter","Fuzzy Match","Type to filter","Type to search","Type to search","Close","No elements found."],"vs/base/common/actions":["(empty)"],"vs/base/common/errorMessage":["{0}: {1}","A system error occurred ({0})","An unknown error occurred. Please consult the log for more details.","An unknown error occurred. Please consult the log for more details.","{0} ({1} errors in total)","An unknown error occurred. Please consult the log for more details."],"vs/base/common/keybindingLabels":["Ctrl","Shift","Alt","Windows","Ctrl","Shift","Alt","Super","Control","Shift","Option","Command","Control","Shift","Alt","Windows","Control","Shift","Alt","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["editor","The editor is not accessible at this time.","{0} To enable screen reader optimized mode, use {1}","{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.","{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it."],"vs/editor/browser/coreCommands":["Stick to the end even when going to longer lines","Stick to the end even when going to longer lines","Removed secondary cursors"],"vs/editor/browser/editorExtensions":["&&Undo","Undo","&&Redo","Redo","&&Select All","Select All"],"vs/editor/browser/widget/codeEditorWidget":["The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.","Increase Multi Cursor Limit"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["Icon for 'Insert' in accessible diff viewer.","Icon for 'Remove' in accessible diff viewer.","Icon for 'Close' in accessible diff viewer.","Close","Accessible Diff Viewer. Use arrow up and down to navigate.","no lines changed","1 line changed","{0} lines changed","Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}","blank","{0} unchanged line {1}","{0} original line {1} modified line {2}","+ {0} modified line {1}","- {0} original line {1}"],"vs/editor/browser/widget/diffEditor/colors":["The border color for text that got moved in the diff editor.","The active border color for text that got moved in the diff editor."],"vs/editor/browser/widget/diffEditor/decorations":["Line decoration for inserts in the diff editor.","Line decoration for removals in the diff editor.","Click to revert change"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["Toggle Collapse Unchanged Regions","Toggle Show Moved Code Blocks","Toggle Use Inline View When Space Is Limited","Use Inline View When Space Is Limited","Show Moved Code Blocks","Diff Editor","Switch Side","Exit Compare Move","Collapse All Unchanged Regions","Show All Unchanged Regions","Accessible Diff Viewer","Go to Next Difference","Open Accessible Diff Viewer","Go to Previous Difference"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" use {0} to open the accessibility help."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["Fold Unchanged Region","Click or drag to show more above","Show all","Click or drag to show more below","{0} hidden lines","Double click to unfold"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["Copy deleted lines","Copy deleted line","Copy changed lines","Copy changed line","Copy deleted line ({0})","Copy changed line ({0})","Revert this change"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["Code moved with changes to line {0}-{1}","Code moved with changes from line {0}-{1}","Code moved to line {0}-{1}","Code moved from line {0}-{1}"],"vs/editor/common/config/editorConfigurationSchema":["Editor","The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.",'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.',"Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","Remove trailing auto inserted whitespace.","Special handling for large files to disable certain memory intensive features.","Controls whether completions should be computed based on words in the document.","Only suggest words from the active document.","Suggest words from all open documents of the same language.","Suggest words from all open documents.","Controls from which documents word based completions are computed.","Semantic highlighting enabled for all color themes.","Semantic highlighting disabled for all color themes.","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.","Controls whether the semanticHighlighting is shown for the languages that support it.","Keep peek editors open even when double-clicking their content or when hitting `Escape`.","Lines above this length will not be tokenized for performance reasons","Controls whether the tokenization should happen asynchronously on a web worker.","Controls whether async tokenization should be logged. For debugging only.","Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only.","Defines the bracket symbols that increase or decrease the indentation.","The opening bracket character or string sequence.","The closing bracket character or string sequence.","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled.","The opening bracket character or string sequence.","The closing bracket character or string sequence.","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.","Maximum file size in MB for which to compute diffs. Use 0 for no limit.","Controls whether the diff editor shows the diff side by side or inline.","If the diff editor width is smaller than this value, the inline view is used.","If enabled and the editor width is too small, the inline view is used.","When enabled, the diff editor shows arrows in its glyph margin to revert changes.","When enabled, the diff editor ignores changes in leading or trailing whitespace.","Controls whether the diff editor shows +/- indicators for added/removed changes.","Controls whether the editor shows CodeLens.","Lines will never wrap.","Lines will wrap at the viewport width.","Lines will wrap according to the {0} setting.","Uses the legacy diffing algorithm.","Uses the advanced diffing algorithm.","Controls whether the diff editor shows unchanged regions.","Controls how many lines are used for unchanged regions.","Controls how many lines are used as a minimum for unchanged regions.","Controls how many lines are used as context when comparing unchanged regions.","Controls whether the diff editor should show detected code moves.","Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted."],"vs/editor/common/config/editorOptions":["Use platform APIs to detect when a Screen Reader is attached","Optimize for usage with a Screen Reader","Assume a screen reader is not attached","Controls if the UI should run in a mode where it is optimized for screen readers.","Controls whether a space character is inserted when commenting.","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.","Controls whether copying without a selection copies the current line.","Controls whether the cursor should jump to find matches while typing.","Never seed search string from the editor selection.","Always seed search string from the editor selection, including word at cursor position.","Only seed search string from the editor selection.","Controls whether the search string in the Find Widget is seeded from the editor selection.","Never turn on Find in Selection automatically (default).","Always turn on Find in Selection automatically.","Turn on Find in Selection automatically when multiple lines of content are selected.","Controls the condition for turning on Find in Selection automatically.","Controls whether the Find Widget should read or modify the shared find clipboard on macOS.","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property.","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property.","Controls the font size in pixels.",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.','Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.',"Show Peek view of the results (default)","Go to the primary result and show a Peek view","Go to the primary result and enable Peek-less navigation to others","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.","Controls the behavior the 'Go to References'-command when multiple target locations exist.","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.","Controls whether the hover is shown.","Controls the delay in milliseconds after which the hover is shown.","Controls whether the hover should remain visible when mouse is moved over it.","Controls the delay in milliseconds after thich the hover is hidden. Requires `editor.hover.sticky` to be enabled.","Prefer showing hovers above the line, if there's space.","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width.","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.","Enables the Code Action lightbulb in the editor.","Shows the nested current scopes during the scroll at the top of the editor.","Defines the maximum number of sticky lines to show.","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.","Enable scrolling of the sticky scroll widget with the editor's horizontal scrollbar.","Enables the inlay hints in the editor.","Inlay hints are enabled","Inlay hints are showing by default and hide when holding {0}","Inlay hints are hidden by default and show when holding {0}","Inlay hints are disabled","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","Enables the padding around the inlay hints in the editor.",`Controls the line height. + - Use 0 to automatically compute the line height from the font size. + - Values between 0 and 8 will be used as a multiplier with the font size. + - Values greater than or equal to 8 will be used as effective values.`,"Controls whether the minimap is shown.","Controls whether the minimap is hidden automatically.","The minimap has the same size as the editor contents (and might scroll).","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling).","The minimap will shrink as necessary to never be larger than the editor (no scrolling).","Controls the size of the minimap.","Controls the side where to render the minimap.","Controls when the minimap slider is shown.","Scale of content drawn in the minimap: 1, 2 or 3.","Render the actual characters on a line as opposed to color blocks.","Limit the width of the minimap to render at most a certain number of columns.","Controls the amount of space between the top edge of the editor and the first line.","Controls the amount of space between the bottom edge of the editor and the last line.","Enables a pop-up that shows parameter documentation and type information as you type.","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.","Quick suggestions show inside the suggest widget","Quick suggestions show as ghost text","Quick suggestions are disabled","Enable quick suggestions inside strings.","Enable quick suggestions inside comments.","Enable quick suggestions outside of strings and comments.","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","Line numbers are not rendered.","Line numbers are rendered as absolute number.","Line numbers are rendered as distance in lines to cursor position.","Line numbers are rendered every 10 lines.","Controls the display of line numbers.","Number of monospace characters at which this editor ruler will render.","Color of this editor ruler.","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.","The vertical scrollbar will be visible only when necessary.","The vertical scrollbar will always be visible.","The vertical scrollbar will always be hidden.","Controls the visibility of the vertical scrollbar.","The horizontal scrollbar will be visible only when necessary.","The horizontal scrollbar will always be visible.","The horizontal scrollbar will always be hidden.","Controls the visibility of the horizontal scrollbar.","The width of the vertical scrollbar.","The height of the horizontal scrollbar.","Controls whether clicks scroll by page or jump to click position.","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.","Controls whether characters that just reserve space or have no width at all are highlighted.","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.","Controls whether characters in comments should also be subject to Unicode highlighting.","Controls whether characters in strings should also be subject to Unicode highlighting.","Defines allowed characters that are not being highlighted.","Unicode characters that are common in allowed locales are not being highlighted.","Controls whether to automatically show inline suggestions in the editor.","Show the inline suggestion toolbar whenever an inline suggestion is shown.","Show the inline suggestion toolbar when hovering over an inline suggestion.","Controls when to show the inline suggestion toolbar.","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","Controls whether each bracket type has its own independent color pool.","Enables bracket pair guides.","Enables bracket pair guides only for the active bracket pair.","Disables bracket pair guides.","Controls whether bracket pair guides are enabled or not.","Enables horizontal guides as addition to vertical bracket pair guides.","Enables horizontal guides only for the active bracket pair.","Disables horizontal bracket pair guides.","Controls whether horizontal bracket pair guides are enabled or not.","Controls whether the editor should highlight the active bracket pair.","Controls whether the editor should render indent guides.","Highlights the active indent guide.","Highlights the active indent guide even if bracket guides are highlighted.","Do not highlight the active indent guide.","Controls whether the editor should highlight the active indent guide.","Insert suggestion without overwriting text right of the cursor.","Insert suggestion and overwrite text right of the cursor.","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.","Controls whether filtering and sorting suggestions accounts for small typos.","Controls whether sorting favors words that appear close to the cursor.","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).","Always select a suggestion when automatically triggering IntelliSense.","Never select a suggestion when automatically triggering IntelliSense.","Select a suggestion only when triggering IntelliSense from a trigger character.","Select a suggestion only when triggering IntelliSense as you type.","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","Controls whether an active snippet prevents quick suggestions.","Controls whether to show or hide icons in suggestions.","Controls the visibility of the status bar at the bottom of the suggest widget.","Controls whether to preview the suggestion outcome in the editor.","Controls whether suggest details show inline with the label or only in the details widget.","This setting is deprecated. The suggest widget can now be resized.","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.","When enabled IntelliSense shows `method`-suggestions.","When enabled IntelliSense shows `function`-suggestions.","When enabled IntelliSense shows `constructor`-suggestions.","When enabled IntelliSense shows `deprecated`-suggestions.","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.","When enabled IntelliSense shows `field`-suggestions.","When enabled IntelliSense shows `variable`-suggestions.","When enabled IntelliSense shows `class`-suggestions.","When enabled IntelliSense shows `struct`-suggestions.","When enabled IntelliSense shows `interface`-suggestions.","When enabled IntelliSense shows `module`-suggestions.","When enabled IntelliSense shows `property`-suggestions.","When enabled IntelliSense shows `event`-suggestions.","When enabled IntelliSense shows `operator`-suggestions.","When enabled IntelliSense shows `unit`-suggestions.","When enabled IntelliSense shows `value`-suggestions.","When enabled IntelliSense shows `constant`-suggestions.","When enabled IntelliSense shows `enum`-suggestions.","When enabled IntelliSense shows `enumMember`-suggestions.","When enabled IntelliSense shows `keyword`-suggestions.","When enabled IntelliSense shows `text`-suggestions.","When enabled IntelliSense shows `color`-suggestions.","When enabled IntelliSense shows `file`-suggestions.","When enabled IntelliSense shows `reference`-suggestions.","When enabled IntelliSense shows `customcolor`-suggestions.","When enabled IntelliSense shows `folder`-suggestions.","When enabled IntelliSense shows `typeParameter`-suggestions.","When enabled IntelliSense shows `snippet`-suggestions.","When enabled IntelliSense shows `user`-suggestions.","When enabled IntelliSense shows `issues`-suggestions.","Whether leading and trailing whitespace should always be selected.","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected.","No indentation. Wrapped lines begin at column 1.","Wrapped lines get the same indentation as the parent.","Wrapped lines get +1 indentation toward the parent.","Wrapped lines get +2 indentation toward the parent.","Controls the indentation of wrapped lines.","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped.","Show the drop selector widget after a file is dropped into the editor.","Never show the drop selector widget. Instead the default drop provider is always used.","Controls whether you can paste content in different ways.","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted.","Show the paste selector widget after content is pasted into the editor.","Never show the paste selector widget. Instead the default pasting behavior is always used.","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.","Only accept a suggestion with `Enter` when it makes a textual change.","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.","Editor content","Control whether inline suggestions are announced by a screen reader.","Use language configurations to determine when to autoclose brackets.","Autoclose brackets only when the cursor is to the left of whitespace.","Controls whether the editor should automatically close brackets after the user adds an opening bracket.","Use language configurations to determine when to autoclose comments.","Autoclose comments only when the cursor is to the left of whitespace.","Controls whether the editor should automatically close comments after the user adds an opening comment.","Remove adjacent closing quotes or brackets only if they were automatically inserted.","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.","Type over closing quotes or brackets only if they were automatically inserted.","Controls whether the editor should type over closing quotes or brackets.","Use language configurations to determine when to autoclose quotes.","Autoclose quotes only when the cursor is to the left of whitespace.","Controls whether the editor should automatically close quotes after the user adds an opening quote.","The editor will not insert indentation automatically.","The editor will keep the current line's indentation.","The editor will keep the current line's indentation and honor language defined brackets.","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages.","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.","Use language configurations to determine when to automatically surround selections.","Surround with quotes but not brackets.","Surround with brackets but not quotes.","Controls whether the editor should automatically surround selections when typing quotes or brackets.","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.","Controls whether the editor shows CodeLens.","Controls the font family for CodeLens.","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.","Controls whether the editor should render the inline color decorators and color picker.","Make the color picker appear both on click and hover of the color decorator","Make the color picker appear on hover of the color decorator","Make the color picker appear on click of the color decorator","Controls the condition to make a color picker appear from a color decorator","Controls the max number of color decorators that can be rendered in an editor at once.","Enable that the selection with the mouse and keys is doing column selection.","Controls whether syntax highlighting should be copied into the clipboard.","Control the cursor animation style.","Smooth caret animation is disabled.","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture.","Smooth caret animation is always enabled.","Controls whether the smooth caret animation should be enabled.","Controls the cursor style.","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.","`cursorSurroundingLines` is enforced always.","Controls when `#cursorSurroundingLines#` should be enforced.","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.","Controls whether the editor should allow moving selections via drag and drop.","Use a new rendering method with svgs.","Use a new rendering method with font characters.","Use the stable rendering method.","Controls whether whitespace is rendered with a new, experimental method.","Scrolling speed multiplier when pressing `Alt`.","Controls whether the editor has code folding enabled.","Use a language-specific folding strategy if available, else the indentation-based one.","Use the indentation-based folding strategy.","Controls the strategy for computing folding ranges.","Controls whether the editor should highlight folded ranges.","Controls whether the editor automatically collapses import ranges.","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.","Controls whether clicking on the empty content after a folded line will unfold the line.","Controls the font family.","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.","Controls whether the editor should automatically format the line after typing.","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.","Controls whether the cursor should be hidden in the overview ruler.","Controls the letter spacing in pixels.","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.","Controls whether the editor should detect links and make them clickable.","Highlight matching brackets.","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.","Merge multiple cursors when they are overlapping.","Maps to `Control` on Windows and Linux and to `Command` on macOS.","Maps to `Alt` on Windows and Linux and to `Option` on macOS.","The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).","Each cursor pastes a single line of the text.","Each cursor pastes the full text.","Controls pasting when the line count of the pasted text matches the cursor count.","Controls the max number of cursors that can be in an active editor at once.","Controls whether the editor should highlight semantic symbol occurrences.","Controls whether a border should be drawn around the overview ruler.","Focus the tree when opening peek","Focus the editor when opening peek","Controls whether to focus the inline editor or the tree in the peek widget.","Controls whether the Go to Definition mouse gesture always opens the peek widget.","Controls the delay in milliseconds after which quick suggestions will show up.","Controls whether the editor auto renames on type.","Deprecated, use `editor.linkedEditing` instead.","Controls whether the editor should render control characters.","Render last line number when the file ends with a newline.","Highlights both the gutter and the current line.","Controls how the editor should render the current line highlight.","Controls if the editor should render the current line highlight only when the editor is focused.","Render whitespace characters except for single spaces between words.","Render whitespace characters only on selected text.","Render only trailing whitespace characters.","Controls how the editor should render whitespace characters.","Controls whether selections should have rounded corners.","Controls the number of extra characters beyond which the editor will scroll horizontally.","Controls whether the editor will scroll beyond the last line.","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.","Controls whether the Linux primary clipboard should be supported.","Controls whether the editor should highlight matches similar to the selection.","Always show the folding controls.","Never show the folding controls and reduce the gutter size.","Only show the folding controls when the mouse is over the gutter.","Controls when the folding controls on the gutter are shown.","Controls fading out of unused code.","Controls strikethrough deprecated variables.","Show snippet suggestions on top of other suggestions.","Show snippet suggestions below other suggestions.","Show snippets suggestions with other suggestions.","Do not show snippet suggestions.","Controls whether snippets are shown with other suggestions and how they are sorted.","Controls whether the editor will scroll using an animation.","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.","Font size for the suggest widget. When set to {0}, the value of {1} is used.","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","Controls whether suggestions should automatically show up when typing trigger characters.","Always select the first suggestion.","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.","Controls how suggestions are pre-selected when showing the suggest list.","Tab complete will insert the best matching suggestion when pressing tab.","Disable tab completions.","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.","Enables tab completions.","Unusual line terminators are automatically removed.","Unusual line terminators are ignored.","Unusual line terminators prompt to be removed.","Remove unusual line terminators that might cause problems.","Inserting and deleting whitespace follows tab stops.","Use the default line break rule.","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.","Characters that will be used as word separators when doing word related navigations or operations.","Lines will never wrap.","Lines will wrap at the viewport width.","Lines will wrap at `#editor.wordWrapColumn#`.","Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.","Controls how lines should wrap.","Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.","Controls whether inline color decorations should be shown using the default document color provider","Controls whether the editor receives tabs or defers them to the workbench for navigation."],"vs/editor/common/core/editorColorRegistry":["Background color for the highlight of line at the cursor position.","Background color for the border around the line at the cursor position.","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.","Background color of the border around highlighted ranges.","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.","Background color of the border around highlighted symbols.","Color of the editor cursor.","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.","Color of whitespace characters in the editor.","Color of editor line numbers.","Color of the editor indentation guides.","'editorIndentGuide.background' is deprecated. Use 'editorIndentGuide.background1' instead.","Color of the active editor indentation guides.","'editorIndentGuide.activeBackground' is deprecated. Use 'editorIndentGuide.activeBackground1' instead.","Color of the editor indentation guides (1).","Color of the editor indentation guides (2).","Color of the editor indentation guides (3).","Color of the editor indentation guides (4).","Color of the editor indentation guides (5).","Color of the editor indentation guides (6).","Color of the active editor indentation guides (1).","Color of the active editor indentation guides (2).","Color of the active editor indentation guides (3).","Color of the active editor indentation guides (4).","Color of the active editor indentation guides (5).","Color of the active editor indentation guides (6).","Color of editor active line number","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.","Color of editor active line number","Color of the final editor line when editor.renderFinalNewline is set to dimmed.","Color of the editor rulers.","Foreground color of editor CodeLens","Background color behind matching brackets","Color for matching brackets boxes","Color of the overview ruler border.","Background color of the editor overview ruler.","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.","Border color of unnecessary (unused) source code in the editor.",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`,"Border color of ghost text in the editor.","Foreground color of the ghost text in the editor.","Background color of the ghost text in the editor.","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.","Overview ruler marker color for errors.","Overview ruler marker color for warnings.","Overview ruler marker color for infos.","Foreground color of brackets (1). Requires enabling bracket pair colorization.","Foreground color of brackets (2). Requires enabling bracket pair colorization.","Foreground color of brackets (3). Requires enabling bracket pair colorization.","Foreground color of brackets (4). Requires enabling bracket pair colorization.","Foreground color of brackets (5). Requires enabling bracket pair colorization.","Foreground color of brackets (6). Requires enabling bracket pair colorization.","Foreground color of unexpected brackets.","Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.","Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.","Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.","Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.","Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.","Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.","Background color of active bracket pair guides (1). Requires enabling bracket pair guides.","Background color of active bracket pair guides (2). Requires enabling bracket pair guides.","Background color of active bracket pair guides (3). Requires enabling bracket pair guides.","Background color of active bracket pair guides (4). Requires enabling bracket pair guides.","Background color of active bracket pair guides (5). Requires enabling bracket pair guides.","Background color of active bracket pair guides (6). Requires enabling bracket pair guides.","Border color used to highlight unicode characters.","Background color used to highlight unicode characters."],"vs/editor/common/editorContextKeys":["Whether the editor text has focus (cursor is blinking)","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)","Whether an editor or a rich text input has focus (cursor is blinking)","Whether the editor is read-only","Whether the context is a diff editor","Whether the context is an embedded diff editor","Whether a moved code block is selected for comparison","Whether the accessible diff viewer is visible","Whether the diff editor render side by side inline breakpoint is reached","Whether `editor.columnSelection` is enabled","Whether the editor has text selected","Whether the editor has multiple selections","Whether `Tab` will move focus out of the editor","Whether the editor hover is visible","Whether the editor hover is focused","Whether the sticky scroll is focused","Whether the sticky scroll is visible","Whether the standalone color picker is visible","Whether the standalone color picker is focused","Whether the editor is part of a larger editor (e.g. notebooks)","The language identifier of the editor","Whether the editor has a completion item provider","Whether the editor has a code actions provider","Whether the editor has a code lens provider","Whether the editor has a definition provider","Whether the editor has a declaration provider","Whether the editor has an implementation provider","Whether the editor has a type definition provider","Whether the editor has a hover provider","Whether the editor has a document highlight provider","Whether the editor has a document symbol provider","Whether the editor has a reference provider","Whether the editor has a rename provider","Whether the editor has a signature help provider","Whether the editor has an inline hints provider","Whether the editor has a document formatting provider","Whether the editor has a document selection formatting provider","Whether the editor has multiple document formatting providers","Whether the editor has multiple document selection formatting providers"],"vs/editor/common/languages":["array","boolean","class","constant","constructor","enumeration","enumeration member","event","field","file","function","interface","key","method","module","namespace","null","number","object","operator","package","property","string","struct","type parameter","variable","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["Plain Text"],"vs/editor/common/model/editStack":["Typing"],"vs/editor/common/standaloneStrings":["Developer: Inspect Tokens","Go to Line/Column...","Show all Quick Access Providers","Command Palette","Show And Run Commands","Go to Symbol...","Go to Symbol by Category...","Editor content","Press Alt+F1 for Accessibility Options.","Toggle High Contrast Theme","Made {0} edits in {1} files"],"vs/editor/common/viewLayout/viewLineRenderer":["Show more ({0})","{0} chars"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["Selection Anchor","Anchor set at {0}:{1}","Set Selection Anchor","Go to Selection Anchor","Select from Anchor to Cursor","Cancel Selection Anchor"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["Overview ruler marker color for matching brackets.","Go to Bracket","Select to Bracket","Remove Brackets","Go to &&Bracket"],"vs/editor/contrib/caretOperations/browser/caretOperations":["Move Selected Text Left","Move Selected Text Right"],"vs/editor/contrib/caretOperations/browser/transpose":["Transpose Letters"],"vs/editor/contrib/clipboard/browser/clipboard":["Cu&&t","Cut","Cut","Cut","&&Copy","Copy","Copy","Copy","Copy As","Copy As","Share","Share","Share","&&Paste","Paste","Paste","Paste","Copy With Syntax Highlighting"],"vs/editor/contrib/codeAction/browser/codeAction":["An unknown error occurred while applying the code action"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["Kind of the code action to run.","Controls when the returned actions are applied.","Always apply the first returned code action.","Apply the first returned code action if it is the only one.","Do not apply the returned code actions.","Controls if only preferred code actions should be returned.","Quick Fix...","No code actions available","No preferred code actions for '{0}' available","No code actions for '{0}' available","No preferred code actions available","No code actions available","Refactor...","No preferred refactorings for '{0}' available","No refactorings for '{0}' available","No preferred refactorings available","No refactorings available","Source Action...","No preferred source actions for '{0}' available","No source actions for '{0}' available","No preferred source actions available","No source actions available","Organize Imports","No organize imports action available","Fix All","No fix all action available","Auto Fix...","No auto fixes available"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["Enable/disable showing group headers in the Code Action menu.","Enable/disable showing nearest quickfix within a line when not currently on a diagnostic."],"vs/editor/contrib/codeAction/browser/codeActionController":["Context: {0} at line {1} and column {2}.","Hide Disabled","Show Disabled"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["More Actions...","Quick Fix","Extract","Inline","Rewrite","Move","Surround With","Source Action"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["Show Code Actions. Preferred Quick Fix Available ({0})","Show Code Actions ({0})","Show Code Actions"],"vs/editor/contrib/codelens/browser/codelensController":["Show CodeLens Commands For Current Line","Select a command"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["Click to toggle color options (rgb/hsl/hex)","Icon to close the color picker"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["Show or Focus Standalone Color Picker","&&Show or Focus Standalone Color Picker","Hide the Color Picker","Insert Color with Standalone Color Picker"],"vs/editor/contrib/comment/browser/comment":["Toggle Line Comment","&&Toggle Line Comment","Add Line Comment","Remove Line Comment","Toggle Block Comment","Toggle &&Block Comment"],"vs/editor/contrib/contextmenu/browser/contextmenu":["Minimap","Render Characters","Vertical size","Proportional","Fill","Fit","Slider","Mouse Over","Always","Show Editor Context Menu"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["Cursor Undo","Cursor Redo"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["Paste As...","The id of the paste edit to try applying. If not provided, the editor will show a picker."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["Whether the paste widget is showing","Show paste options...","Running paste handlers. Click to cancel","Select Paste Action","Running paste handlers"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["Built-in","Insert Plain Text","Insert Uris","Insert Uri","Insert Paths","Insert Path","Insert Relative Paths","Insert Relative Path"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["Configures the default drop provider to use for content of a given mime type."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["Whether the drop widget is showing","Show drop options...","Running drop handlers. Click to cancel"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["Whether the editor runs a cancellable operation, e.g. like 'Peek References'"],"vs/editor/contrib/find/browser/findController":["The file is too large to perform a replace all operation.","Find","&&Find",`Overrides "Use Regular Expression" flag. +The flag will not be saved for the future. +0: Do Nothing +1: True +2: False`,`Overrides "Match Whole Word" flag. +The flag will not be saved for the future. +0: Do Nothing +1: True +2: False`,`Overrides "Math Case" flag. +The flag will not be saved for the future. +0: Do Nothing +1: True +2: False`,`Overrides "Preserve Case" flag. +The flag will not be saved for the future. +0: Do Nothing +1: True +2: False`,"Find With Arguments","Find With Selection","Find Next","Find Previous","Go to Match...","No matches. Try searching for something else.","Type a number to go to a specific match (between 1 and {0})","Please type a number between 1 and {0}","Please type a number between 1 and {0}","Find Next Selection","Find Previous Selection","Replace","&&Replace"],"vs/editor/contrib/find/browser/findWidget":["Icon for 'Find in Selection' in the editor find widget.","Icon to indicate that the editor find widget is collapsed.","Icon to indicate that the editor find widget is expanded.","Icon for 'Replace' in the editor find widget.","Icon for 'Replace All' in the editor find widget.","Icon for 'Find Previous' in the editor find widget.","Icon for 'Find Next' in the editor find widget.","Find / Replace","Find","Find","Previous Match","Next Match","Find in Selection","Close","Replace","Replace","Replace","Replace All","Toggle Replace","Only the first {0} results are highlighted, but all find operations work on the entire text.","{0} of {1}","No results","{0} found","{0} found for '{1}'","{0} found for '{1}', at {2}","{0} found for '{1}'","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior."],"vs/editor/contrib/folding/browser/folding":["Unfold","Unfold Recursively","Fold","Toggle Fold","Fold Recursively","Fold All Block Comments","Fold All Regions","Unfold All Regions","Fold All Except Selected","Unfold All Except Selected","Fold All","Unfold All","Go to Parent Fold","Go to Previous Folding Range","Go to Next Folding Range","Create Folding Range from Selection","Remove Manual Folding Ranges","Fold Level {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations.","Color of the folding control in the editor gutter.","Icon for expanded ranges in the editor glyph margin.","Icon for collapsed ranges in the editor glyph margin.","Icon for manually collapsed ranges in the editor glyph margin.","Icon for manually expanded ranges in the editor glyph margin."],"vs/editor/contrib/fontZoom/browser/fontZoom":["Editor Font Zoom In","Editor Font Zoom Out","Editor Font Zoom Reset"],"vs/editor/contrib/format/browser/format":["Made 1 formatting edit on line {0}","Made {0} formatting edits on line {1}","Made 1 formatting edit between lines {0} and {1}","Made {0} formatting edits between lines {1} and {2}"],"vs/editor/contrib/format/browser/formatActions":["Format Document","Format Selection"],"vs/editor/contrib/gotoError/browser/gotoError":["Go to Next Problem (Error, Warning, Info)","Icon for goto next marker.","Go to Previous Problem (Error, Warning, Info)","Icon for goto previous marker.","Go to Next Problem in Files (Error, Warning, Info)","Next &&Problem","Go to Previous Problem in Files (Error, Warning, Info)","Previous &&Problem"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["Error","Warning","Info","Hint","{0} at {1}. ","{0} of {1} problems","{0} of {1} problem","Editor marker navigation widget error color.","Editor marker navigation widget error heading background.","Editor marker navigation widget warning color.","Editor marker navigation widget warning heading background.","Editor marker navigation widget info color.","Editor marker navigation widget info heading background.","Editor marker navigation widget background."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["Peek","Definitions","No definition found for '{0}'","No definition found","Go to Definition","Go to &&Definition","Open Definition to the Side","Peek Definition","Declarations","No declaration found for '{0}'","No declaration found","Go to Declaration","Go to &&Declaration","No declaration found for '{0}'","No declaration found","Peek Declaration","Type Definitions","No type definition found for '{0}'","No type definition found","Go to Type Definition","Go to &&Type Definition","Peek Type Definition","Implementations","No implementation found for '{0}'","No implementation found","Go to Implementations","Go to &&Implementations","Peek Implementations","No references found for '{0}'","No references found","Go to References","Go to &&References","References","Peek References","References","Go to Any Symbol","Locations","No results for '{0}'","References"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["Click to show {0} definitions."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["Whether reference peek is visible, like 'Peek References' or 'Peek Definition'","Loading...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} references","{0} reference","References"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["no preview available","No results","References"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["in {0} on line {1} at column {2}","{0} in {1} on line {2} at column {3}","1 symbol in {0}, full path {1}","{0} symbols in {1}, full path {2}","No results found","Found 1 symbol in {0}","Found {0} symbols in {1}","Found {0} symbols in {1} files"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["Whether there are symbol locations that can be navigated via keyboard-only.","Symbol {0} of {1}, {2} for next","Symbol {0} of {1}"],"vs/editor/contrib/hover/browser/hover":["Show or Focus Hover","Show Definition Preview Hover","Scroll Up Hover","Scroll Down Hover","Scroll Left Hover","Scroll Right Hover","Page Up Hover","Page Down Hover","Go To Top Hover","Go To Bottom Hover"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["Loading...","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`."],"vs/editor/contrib/hover/browser/markerHoverParticipant":["View Problem","No quick fixes available","Checking for quick fixes...","No quick fixes available","Quick Fix..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["Replace with Previous Value","Replace with Next Value"],"vs/editor/contrib/indentation/browser/indentation":["Convert Indentation to Spaces","Convert Indentation to Tabs","Configured Tab Size","Default Tab Size","Current Tab Size","Select Tab Size for Current File","Indent Using Tabs","Indent Using Spaces","Change Tab Display Size","Detect Indentation from Content","Reindent Lines","Reindent Selected Lines"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["Double-click to insert","cmd + click","ctrl + click","option + click","alt + click","Go to Definition ({0}), right click for more","Go to Definition ({0})","Execute Command"],"vs/editor/contrib/inlineCompletions/browser/commands":["Show Next Inline Suggestion","Show Previous Inline Suggestion","Trigger Inline Suggestion","Accept Next Word Of Inline Suggestion","Accept Word","Accept Next Line Of Inline Suggestion","Accept Line","Accept Inline Suggestion","Accept","Hide Inline Suggestion","Always Show Toolbar"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["Suggestion:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["Whether an inline suggestion is visible","Whether the inline suggestion starts with whitespace","Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab","Whether suggestions should be suppressed for the current suggestion"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["Inspect this in the accessible view ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["Icon for show next parameter hint.","Icon for show previous parameter hint.","{0} ({1})","Previous","Next"],"vs/editor/contrib/lineSelection/browser/lineSelection":["Expand Line Selection"],"vs/editor/contrib/linesOperations/browser/linesOperations":["Copy Line Up","&&Copy Line Up","Copy Line Down","Co&&py Line Down","Duplicate Selection","&&Duplicate Selection","Move Line Up","Mo&&ve Line Up","Move Line Down","Move &&Line Down","Sort Lines Ascending","Sort Lines Descending","Delete Duplicate Lines","Trim Trailing Whitespace","Delete Line","Indent Line","Outdent Line","Insert Line Above","Insert Line Below","Delete All Left","Delete All Right","Join Lines","Transpose Characters around the Cursor","Transform to Uppercase","Transform to Lowercase","Transform to Title Case","Transform to Snake Case","Transform to Camel Case","Transform to Kebab Case"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["Start Linked Editing","Background color when the editor auto renames on type."],"vs/editor/contrib/links/browser/links":["Failed to open this link because it is not well-formed: {0}","Failed to open this link because its target is missing.","Execute command","Follow link","cmd + click","ctrl + click","option + click","alt + click","Execute command {0}","Open Link"],"vs/editor/contrib/message/browser/messageController":["Whether the editor is currently showing an inline message"],"vs/editor/contrib/multicursor/browser/multicursor":["Cursor added: {0}","Cursors added: {0}","Add Cursor Above","&&Add Cursor Above","Add Cursor Below","A&&dd Cursor Below","Add Cursors to Line Ends","Add C&&ursors to Line Ends","Add Cursors To Bottom","Add Cursors To Top","Add Selection To Next Find Match","Add &&Next Occurrence","Add Selection To Previous Find Match","Add P&&revious Occurrence","Move Last Selection To Next Find Match","Move Last Selection To Previous Find Match","Select All Occurrences of Find Match","Select All &&Occurrences","Change All Occurrences","Focus Next Cursor","Focuses the next cursor","Focus Previous Cursor","Focuses the previous cursor"],"vs/editor/contrib/parameterHints/browser/parameterHints":["Trigger Parameter Hints"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["Icon for show next parameter hint.","Icon for show previous parameter hint.","{0}, hint","Foreground color of the active item in the parameter hint."],"vs/editor/contrib/peekView/browser/peekView":["Whether the current code editor is embedded inside peek","Close","Background color of the peek view title area.","Color of the peek view title.","Color of the peek view title info.","Color of the peek view borders and arrow.","Background color of the peek view result list.","Foreground color for line nodes in the peek view result list.","Foreground color for file nodes in the peek view result list.","Background color of the selected entry in the peek view result list.","Foreground color of the selected entry in the peek view result list.","Background color of the peek view editor.","Background color of the gutter in the peek view editor.","Background color of sticky scroll in the peek view editor.","Match highlight color in the peek view result list.","Match highlight color in the peek view editor.","Match highlight border in the peek view editor."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["Open a text editor first to go to a line.","Go to line {0} and character {1}.","Go to line {0}.","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.","Current Line: {0}, Character: {1}. Type a line number to navigate to."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["To go to a symbol, first open a text editor with symbol information.","The active text editor does not provide symbol information.","No matching editor symbols","No editor symbols","Open to the Side","Open to the Bottom","symbols ({0})","properties ({0})","methods ({0})","functions ({0})","constructors ({0})","variables ({0})","classes ({0})","structs ({0})","events ({0})","operators ({0})","interfaces ({0})","namespaces ({0})","packages ({0})","type parameters ({0})","modules ({0})","properties ({0})","enumerations ({0})","enumeration members ({0})","strings ({0})","files ({0})","arrays ({0})","numbers ({0})","booleans ({0})","objects ({0})","keys ({0})","fields ({0})","constants ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["Cannot edit in read-only input","Cannot edit in read-only editor"],"vs/editor/contrib/rename/browser/rename":["No result.","An unknown error occurred while resolving rename location","Renaming '{0}' to '{1}'","Renaming {0} to {1}","Successfully renamed '{0}' to '{1}'. Summary: {2}","Rename failed to apply edits","Rename failed to compute edits","Rename Symbol","Enable/disable the ability to preview changes before renaming"],"vs/editor/contrib/rename/browser/renameInputField":["Whether the rename input widget is visible","Rename input. Type new name and press Enter to commit.","{0} to Rename, {1} to Preview"],"vs/editor/contrib/smartSelect/browser/smartSelect":["Expand Selection","&&Expand Selection","Shrink Selection","&&Shrink Selection"],"vs/editor/contrib/snippet/browser/snippetController2":["Whether the editor in current in snippet mode","Whether there is a next tab stop when in snippet mode","Whether there is a previous tab stop when in snippet mode","Go to next placeholder..."],"vs/editor/contrib/snippet/browser/snippetVariables":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sun","Mon","Tue","Wed","Thu","Fri","Sat","January","February","March","April","May","June","July","August","September","October","November","December","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["Toggle Sticky Scroll","&&Toggle Sticky Scroll","Sticky Scroll","&&Sticky Scroll","Focus Sticky Scroll","&&Focus Sticky Scroll","Select next sticky scroll line","Select previous sticky scroll line","Go to focused sticky scroll line","Select Editor"],"vs/editor/contrib/suggest/browser/suggest":["Whether any suggestion is focused","Whether suggestion details are visible","Whether there are multiple suggestions to pick from","Whether inserting the current suggestion yields in a change or has everything already been typed","Whether suggestions are inserted when pressing Enter","Whether the current suggestion has insert and replace behaviour","Whether the default behaviour is to insert or replace","Whether the current suggestion supports to resolve further details"],"vs/editor/contrib/suggest/browser/suggestController":["Accepting '{0}' made {1} additional edits","Trigger Suggest","Insert","Insert","Replace","Replace","Insert","show less","show more","Reset Suggest Widget Size"],"vs/editor/contrib/suggest/browser/suggestWidget":["Background color of the suggest widget.","Border color of the suggest widget.","Foreground color of the suggest widget.","Foreground color of the selected entry in the suggest widget.","Icon foreground color of the selected entry in the suggest widget.","Background color of the selected entry in the suggest widget.","Color of the match highlights in the suggest widget.","Color of the match highlights in the suggest widget when an item is focused.","Foreground color of the suggest widget status.","Loading...","No suggestions.","Suggest","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, docs: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["Close","Loading..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["Icon for more information in the suggest widget.","Read More"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["Toggle Tab Key Moves Focus","Pressing Tab will now move focus to the next focusable element","Pressing Tab will now insert the tab character"],"vs/editor/contrib/tokenization/browser/tokenization":["Developer: Force Retokenize"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["Icon shown with a warning message in the extensions editor.","This document contains many non-basic ASCII unicode characters","This document contains many ambiguous unicode characters","This document contains many invisible unicode characters","The character {0} could be confused with the ASCII character {1}, which is more common in source code.","The character {0} could be confused with the character {1}, which is more common in source code.","The character {0} is invisible.","The character {0} is not a basic ASCII character.","Adjust settings","Disable Highlight In Comments","Disable highlighting of characters in comments","Disable Highlight In Strings","Disable highlighting of characters in strings","Disable Ambiguous Highlight","Disable highlighting of ambiguous characters","Disable Invisible Highlight","Disable highlighting of invisible characters","Disable Non ASCII Highlight","Disable highlighting of non basic ASCII characters","Show Exclude Options","Exclude {0} (invisible character) from being highlighted","Exclude {0} from being highlighted",'Allow unicode characters that are more common in the language "{0}".',"Configure Unicode Highlight Options"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["Unusual Line Terminators","Detected unusual line terminators","The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.","&&Remove Unusual Line Terminators","Ignore"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.","Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.","Border color of a symbol during read-access, like reading a variable.","Border color of a symbol during write-access, like writing to a variable.","Border color of a textual occurrence for a symbol.","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.","Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["Go to Next Symbol Highlight","Go to Previous Symbol Highlight","Trigger Symbol Highlight"],"vs/editor/contrib/wordOperations/browser/wordOperations":["Delete Word"],"vs/platform/action/common/actionCommonCategories":["View","Help","Test","File","Preferences","Developer"],"vs/platform/actionWidget/browser/actionList":["{0} to apply, {1} to preview","{0} to apply","{0}, Disabled Reason: {1}","Action Widget"],"vs/platform/actionWidget/browser/actionWidget":["Background color for toggled action items in action bar.","Whether the action widget list is visible","Hide action widget","Select previous action","Select next action","Accept selected action","Preview selected action"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0} +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["Hide","Reset Menu"],"vs/platform/actions/common/menuService":["Hide '{0}'"],"vs/platform/audioCues/browser/audioCueService":["Error on Line","Warning on Line","Folded Area on Line","Breakpoint on Line","Inline Suggestion on Line","Terminal Quick Fix","Debugger Stopped on Breakpoint","No Inlay Hints on Line","Task Completed","Task Failed","Terminal Command Failed","Terminal Bell","Notebook Cell Completed","Notebook Cell Failed","Diff Line Inserted","Diff Line Deleted","Diff Line Modified","Chat Request Sent","Chat Response Received","Chat Response Pending"],"vs/platform/configuration/common/configurationRegistry":["Default Language Configuration Overrides","Configure settings to be overridden for the {0} language.","Configure editor settings to be overridden for a language.","This setting does not support per-language configuration.","Configure editor settings to be overridden for a language.","This setting does not support per-language configuration.","Cannot register an empty property","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.","Cannot register '{0}'. This property is already registered.","Cannot register '{0}'. The associated policy {1} is already registered with {2}."],"vs/platform/contextkey/browser/contextKeyService":["A command that returns information about context keys"],"vs/platform/contextkey/common/contextkey":["Empty context key expression","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.","'in' after 'not'.","closing parenthesis ')'","Unexpected token","Did you forget to put && or || before the token?","Unexpected end of expression","Did you forget to put a context key?",`Expected: {0} +Received: '{1}'.`],"vs/platform/contextkey/common/contextkeys":["Whether the operating system is macOS","Whether the operating system is Linux","Whether the operating system is Windows","Whether the platform is a web browser","Whether the operating system is macOS on a non-browser platform","Whether the operating system is iOS","Whether the platform is a mobile web browser","Quality type of VS Code","Whether keyboard focus is inside an input box"],"vs/platform/contextkey/common/scanner":["Did you mean {0}?","Did you mean {0} or {1}?","Did you mean {0}, {1} or {2}?","Did you forget to open or close the quote?","Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'."],"vs/platform/history/browser/contextScopedHistoryWidget":["Whether suggestion are visible"],"vs/platform/keybinding/common/abstractKeybindingService":["({0}) was pressed. Waiting for second key of chord...","({0}) was pressed. Waiting for next key of chord...","The key combination ({0}, {1}) is not a command.","The key combination ({0}, {1}) is not a command."],"vs/platform/list/browser/listService":["Workbench","Maps to `Control` on Windows and Linux and to `Command` on macOS.","Maps to `Alt` on Windows and Linux and to `Option` on macOS.","The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.","Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.","Controls whether clicks in the scrollbar scroll page by page.","Controls tree indentation in pixels.","Controls whether the tree should render indent guides.","Controls whether lists and trees have smooth scrolling.","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.","Scrolling speed multiplier when pressing `Alt`.","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements.","Filter elements when searching.","Controls the default find mode for lists and trees in the workbench.","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes.","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements.","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.","Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.","Use fuzzy matching when searching.","Use contiguous matching when searching.","Controls the type of matching used when searching lists and trees in the workbench.","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.","Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."],"vs/platform/markers/common/markers":["Error","Warning","Info"],"vs/platform/quickinput/browser/commandsQuickAccess":["recently used","similar commands","commonly used","other commands","similar commands","{0}, {1}","Command '{0}' resulted in an error"],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["Back","Press 'Enter' to confirm your input or 'Escape' to cancel","{0}/{1}","Type to narrow down results."],"vs/platform/quickinput/browser/quickInputController":["Toggle all checkboxes","{0} Results","{0} Selected","OK","Custom","Back ({0})","Back"],"vs/platform/quickinput/browser/quickInputList":["Quick Input"],"vs/platform/quickinput/browser/quickInputUtils":["Click to execute command '{0}'"],"vs/platform/theme/common/colorRegistry":["Overall foreground color. This color is only used if not overridden by a component.","Overall foreground for disabled elements. This color is only used if not overridden by a component.","Overall foreground color for error messages. This color is only used if not overridden by a component.","Foreground color for description text providing additional information, for example for a label.","The default color for icons in the workbench.","Overall border color for focused elements. This color is only used if not overridden by a component.","An extra border around elements to separate them from others for greater contrast.","An extra border around active elements to separate them from others for greater contrast.","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.","Color for text separators.","Foreground color for links in text.","Foreground color for links in text when clicked on and on mouse hover.","Foreground color for preformatted text segments.","Background color for block quotes in text.","Border color for block quotes in text.","Background color for code blocks in text.","Shadow color of widgets such as find/replace inside the editor.","Border color of widgets such as find/replace inside the editor.","Input box background.","Input box foreground.","Input box border.","Border color of activated options in input fields.","Background color of activated options in input fields.","Background hover color of options in input fields.","Foreground color of activated options in input fields.","Input box foreground color for placeholder text.","Input validation background color for information severity.","Input validation foreground color for information severity.","Input validation border color for information severity.","Input validation background color for warning severity.","Input validation foreground color for warning severity.","Input validation border color for warning severity.","Input validation background color for error severity.","Input validation foreground color for error severity.","Input validation border color for error severity.","Dropdown background.","Dropdown list background.","Dropdown foreground.","Dropdown border.","Button foreground color.","Button separator color.","Button background color.","Button background color when hovering.","Button border color.","Secondary button foreground color.","Secondary button background color.","Secondary button background color when hovering.","Badge background color. Badges are small information labels, e.g. for search results count.","Badge foreground color. Badges are small information labels, e.g. for search results count.","Scrollbar shadow to indicate that the view is scrolled.","Scrollbar slider background color.","Scrollbar slider background color when hovering.","Scrollbar slider background color when clicked on.","Background color of the progress bar that can show for long running operations.","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.","Foreground color of error squigglies in the editor.","If set, color of double underlines for errors in the editor.","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.","Foreground color of warning squigglies in the editor.","If set, color of double underlines for warnings in the editor.","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.","Foreground color of info squigglies in the editor.","If set, color of double underlines for infos in the editor.","Foreground color of hint squigglies in the editor.","If set, color of double underlines for hints in the editor.","Border color of active sashes.","Editor background color.","Editor default foreground color.","Sticky scroll background color for the editor","Sticky scroll on hover background color for the editor","Background color of editor widgets, such as find/replace.","Foreground color of editor widgets, such as find/replace.","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.","Quick picker background color. The quick picker widget is the container for pickers like the command palette.","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.","Quick picker color for grouping labels.","Quick picker color for grouping borders.","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.","Color of the editor selection.","Color of the selected text for high contrast.","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations.","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations.","Border color for regions with the same content as the selection.","Color of the current search match.","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations.","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.","Border color of the current search match.","Border color of the other search matches.","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.","Color of the Search Editor query matches.","Border color of the Search Editor query matches.","Color of the text in the search viewlet's completion message.","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations.","Background color of the editor hover.","Foreground color of the editor hover.","Border color of the editor hover.","Background color of the editor hover status bar.","Color of active links.","Foreground color of inline hints","Background color of inline hints","Foreground color of inline hints for types","Background color of inline hints for types","Foreground color of inline hints for parameters","Background color of inline hints for parameters","The color used for the lightbulb actions icon.","The color used for the lightbulb auto fix actions icon.","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations.","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations.","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations.","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.","Background color for the margin where lines got inserted.","Background color for the margin where lines got removed.","Diff overview ruler foreground for inserted content.","Diff overview ruler foreground for removed content.","Outline color for the text that got inserted.","Outline color for text that got removed.","Border color between the two text editors.","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.","The background color of unchanged blocks in the diff editor.","The foreground color of unchanged blocks in the diff editor.","The background color of unchanged code in the diff editor.","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.","List/Tree background when hovering over items using the mouse.","List/Tree foreground when hovering over items using the mouse.","List/Tree drag and drop background when moving items around using the mouse.","List/Tree foreground color of the match highlights when searching inside the list/tree.","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.","List/Tree foreground color for invalid items, for example an unresolved root in explorer.","Foreground color of list items containing errors.","Foreground color of list items containing warnings.","Background color of the type filter widget in lists and trees.","Outline color of the type filter widget in lists and trees.","Outline color of the type filter widget in lists and trees, when there are no matches.","Shadow color of the type filter widget in lists and trees.","Background color of the filtered match.","Border color of the filtered match.","Tree stroke color for the indentation guides.","Tree stroke color for the indentation guides that are not active.","Table border color between columns.","Background color for odd table rows.","List/Tree foreground color for items that are deemphasized. ","Background color of checkbox widget.","Background color of checkbox widget when the element it's in is selected.","Foreground color of checkbox widget.","Border color of checkbox widget.","Border color of checkbox widget when the element it's in is selected.","Please use quickInputList.focusBackground instead","Quick picker foreground color for the focused item.","Quick picker icon foreground color for the focused item.","Quick picker background color for the focused item.","Border color of menus.","Foreground color of menu items.","Background color of menu items.","Foreground color of the selected menu item in menus.","Background color of the selected menu item in menus.","Border color of the selected menu item in menus.","Color of a separator menu item in menus.","Toolbar background when hovering over actions using the mouse","Toolbar outline when hovering over actions using the mouse","Toolbar background when holding the mouse over actions","Highlight background color of a snippet tabstop.","Highlight border color of a snippet tabstop.","Highlight background color of the final tabstop of a snippet.","Highlight border color of the final tabstop of a snippet.","Color of focused breadcrumb items.","Background color of breadcrumb items.","Color of focused breadcrumb items.","Color of selected breadcrumb items.","Background color of breadcrumb item picker.","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.","Border color on headers and the splitter in inline merge-conflicts.","Current overview ruler foreground for inline merge-conflicts.","Incoming overview ruler foreground for inline merge-conflicts.","Common ancestor overview ruler foreground for inline merge-conflicts.","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.","Minimap marker color for find matches.","Minimap marker color for repeating editor selections.","Minimap marker color for the editor selection.","Minimap marker color for infos.","Minimap marker color for warnings.","Minimap marker color for errors.","Minimap background color.",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.',"Minimap slider background color.","Minimap slider background color when hovering.","Minimap slider background color when clicked on.","The color used for the problems error icon.","The color used for the problems warning icon.","The color used for the problems info icon.","The foreground color used in charts.","The color used for horizontal lines in charts.","The red color used in chart visualizations.","The blue color used in chart visualizations.","The yellow color used in chart visualizations.","The orange color used in chart visualizations.","The green color used in chart visualizations.","The purple color used in chart visualizations."],"vs/platform/theme/common/iconRegistry":["The id of the font to use. If not set, the font that is defined first is used.","The font character associated with the icon definition.","Icon for the close action in widgets.","Icon for goto previous editor location.","Icon for goto next editor location."],"vs/platform/undoRedo/common/undoRedoService":["The following files have been closed and modified on disk: {0}.","The following files have been modified in an incompatible way: {0}.","Could not undo '{0}' across all files. {1}","Could not undo '{0}' across all files. {1}","Could not undo '{0}' across all files because changes were made to {1}","Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}","Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime","Would you like to undo '{0}' across all files?","&&Undo in {0} Files","Undo this &&File","Could not undo '{0}' because there is already an undo or redo operation running.","Would you like to undo '{0}'?","&&Yes","No","Could not redo '{0}' across all files. {1}","Could not redo '{0}' across all files. {1}","Could not redo '{0}' across all files because changes were made to {1}","Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}","Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime","Could not redo '{0}' because there is already an undo or redo operation running."],"vs/platform/workspace/common/workspace":["Code Workspace"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ko.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ko.js new file mode 100644 index 0000000..5bce3c8 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ko.js @@ -0,0 +1,29 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.ko",{"vs/base/browser/ui/actionbar/actionViewItems":["{0}({1})"],"vs/base/browser/ui/findinput/findInput":["\uC785\uB825"],"vs/base/browser/ui/findinput/findInputToggles":["\uB300/\uC18C\uBB38\uC790 \uAD6C\uBD84","\uB2E8\uC5B4 \uB2E8\uC704\uB85C","\uC815\uADDC\uC2DD \uC0AC\uC6A9"],"vs/base/browser/ui/findinput/replaceInput":["\uC785\uB825","\uB300/\uC18C\uBB38\uC790 \uBCF4\uC874"],"vs/base/browser/ui/hover/hoverWidget":["{0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC5EC \uC811\uADFC\uC131 \uBCF4\uAE30\uC5D0\uC11C \uC774\uB97C \uAC80\uC0AC\uD569\uB2C8\uB2E4.","\uD604\uC7AC \uD0A4 \uBC14\uC778\uB529\uC744 \uD1B5\uD574 \uD2B8\uB9AC\uAC70\uD560 \uC218 \uC5C6\uB294 \uC811\uADFC\uC131 \uBCF4\uAE30 \uC5F4\uAE30 \uBA85\uB839\uC744 \uD1B5\uD574 \uC811\uADFC\uC131 \uBCF4\uAE30\uC5D0\uC11C \uC774\uB97C \uAC80\uC0AC\uD569\uB2C8\uB2E4."],"vs/base/browser/ui/iconLabel/iconLabelHover":["\uB85C\uB4DC \uC911..."],"vs/base/browser/ui/inputbox/inputBox":["\uC624\uB958: {0}","\uACBD\uACE0: {0}","\uC815\uBCF4: {0}","\uAE30\uB85D\uC6A9","\uC785\uB825\uC774 \uC9C0\uC6CC\uC9D0"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["\uBC14\uC778\uB529 \uC548 \uB428"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Box \uC120\uD0DD"],"vs/base/browser/ui/toolbar/toolbar":["\uAE30\uD0C0 \uC791\uC5C5..."],"vs/base/browser/ui/tree/abstractTree":["\uD544\uD130","\uC720\uC0AC \uD56D\uBAA9 \uC77C\uCE58","\uD544\uD130\uB9C1\uD560 \uD615\uC2DD","\uC785\uB825\uD558\uC5EC \uAC80\uC0C9","\uC785\uB825\uD558\uC5EC \uAC80\uC0C9","\uB2EB\uAE30","\uCC3E\uC740 \uC694\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."],"vs/base/common/actions":["(\uBE44\uC5B4 \uC788\uC74C)"],"vs/base/common/errorMessage":["{0}: {1}","\uC2DC\uC2A4\uD15C \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4({0}).","\uC54C \uC218 \uC5C6\uB294 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uB85C\uADF8\uB97C \uCC38\uC870\uD558\uC138\uC694.","\uC54C \uC218 \uC5C6\uB294 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uB85C\uADF8\uB97C \uCC38\uC870\uD558\uC138\uC694.","{0}(\uCD1D {1}\uAC1C\uC758 \uC624\uB958)","\uC54C \uC218 \uC5C6\uB294 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uB85C\uADF8\uB97C \uCC38\uC870\uD558\uC138\uC694."],"vs/base/common/keybindingLabels":["Ctrl","Shift","","Windows","Ctrl","Shift","","\uC288\uD37C","Ctrl","Shift","\uC635\uC158","\uBA85\uB839","Ctrl","Shift","","Windows","Ctrl","Shift","","\uC288\uD37C"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\uD3B8\uC9D1\uAE30","\uD604\uC7AC \uD3B8\uC9D1\uAE30\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","{0} \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8 \uCD5C\uC801\uD654 \uBAA8\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uB824\uBA74 {1}","{0} \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8 \uCD5C\uC801\uD654 \uBAA8\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uB824\uBA74 {1}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC5EC \uBE60\uB978 \uC120\uD0DD\uC744 \uC5F4\uACE0 \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8 \uC811\uADFC\uC131 \uBAA8\uB4DC \uD1A0\uAE00 \uBA85\uB839\uC744 \uC2E4\uD589\uD569\uB2C8\uB2E4(\uC774 \uBA85\uB839\uC740 \uD604\uC7AC \uD0A4\uBCF4\uB4DC\uB97C \uD1B5\uD574 \uD2B8\uB9AC\uAC70\uD560 \uC218 \uC5C6\uC74C).","{0} {1}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC5EC \uD0A4 \uBC14\uC778\uB529 \uD3B8\uC9D1\uAE30\uC5D0 \uC561\uC138\uC2A4\uD558\uC5EC \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8 \uC811\uADFC\uC131 \uBAA8\uB4DC \uD1A0\uAE00 \uBA85\uB839\uC5D0 \uB300\uD55C \uD0A4 \uBC14\uC778\uB529\uC744 \uD560\uB2F9\uD558\uACE0 \uC2E4\uD589\uD558\uC138\uC694."],"vs/editor/browser/coreCommands":["\uB354 \uAE34 \uC904\uB85C \uC774\uB3D9\uD558\uB294 \uACBD\uC6B0\uC5D0\uB3C4 \uB05D\uC5D0 \uACE0\uC815","\uB354 \uAE34 \uC904\uB85C \uC774\uB3D9\uD558\uB294 \uACBD\uC6B0\uC5D0\uB3C4 \uB05D\uC5D0 \uACE0\uC815","\uBCF4\uC870 \uCEE4\uC11C\uAC00 \uC81C\uAC70\uB428"],"vs/editor/browser/editorExtensions":["\uC2E4\uD589 \uCDE8\uC18C(&&U)","\uC2E4\uD589 \uCDE8\uC18C","\uB2E4\uC2DC \uC2E4\uD589(&&R)","\uB2E4\uC2DC \uC2E4\uD589","\uBAA8\uB450 \uC120\uD0DD(&&S)","\uBAA8\uB450 \uC120\uD0DD"],"vs/editor/browser/widget/codeEditorWidget":["\uCEE4\uC11C \uC218\uB97C {0}\uAC1C\uB85C \uC81C\uD55C\uD588\uC2B5\uB2C8\uB2E4. \uB354 \uD070 \uBCC0\uACBD \uB0B4\uC6A9\uC744 \uC704\uD574\uC11C\uB294 [\uCC3E\uC544\uC11C \uAD50\uCCB4](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace)\uB97C \uC0AC\uC6A9\uD558\uAC70\uB098 \uD3B8\uC9D1\uAE30 \uB2E4\uC911 \uCEE4\uC11C \uC81C\uD55C \uC124\uC815\uC744 \uB298\uB9AC\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4.","\uB2E4\uC911 \uCEE4\uC11C \uC81C\uD55C \uB298\uB9AC\uAE30"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4\uC758 '\uC0BD\uC785' \uC544\uC774\uCF58.","\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4\uC758 '\uC81C\uAC70' \uC544\uC774\uCF58.","\uC811\uADFC \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4\uC758 '\uB2EB\uAE30' \uC544\uC774\uCF58.","\uB2EB\uAE30","\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4\uC785\uB2C8\uB2E4. \uD0D0\uC0C9\uD558\uB824\uBA74 \uC704\uCABD \uBC0F \uC544\uB798\uCABD \uD654\uC0B4\uD45C\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uBCC0\uACBD\uB41C \uC904 \uC5C6\uC74C","\uC120 1\uAC1C \uBCC0\uACBD\uB428","\uC904 {0}\uAC1C \uBCC0\uACBD\uB428","\uCC28\uC774 {0}/{1}: \uC6D0\uB798 \uC904 {2}, {3}, \uC218\uC815\uB41C \uC904 {4}, {5}","\uBE44\uC5B4 \uC788\uC74C","{0} \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC904 {1}","{0} \uC6D0\uB798 \uC904 {1} \uC218\uC815\uB41C \uC904 {2}","+ {0} \uC218\uC815\uB41C \uC904 {1}","- {0} \uC6D0\uB798 \uC904 {1}"],"vs/editor/browser/widget/diffEditor/colors":["diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC774\uB3D9\uB41C \uD14D\uC2A4\uD2B8\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC774\uB3D9\uB41C \uD14D\uC2A4\uD2B8\uC758 \uD65C\uC131 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4."],"vs/editor/browser/widget/diffEditor/decorations":["diff \uD3B8\uC9D1\uAE30\uC758 \uC0BD\uC785\uC5D0 \uB300\uD55C \uC904 \uB370\uCF54\uB808\uC774\uC158\uC785\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC758 \uC81C\uAC70\uC5D0 \uB300\uD55C \uC904 \uB370\uCF54\uB808\uC774\uC158\uC785\uB2C8\uB2E4.","\uBCC0\uACBD \uB0B4\uC6A9\uC744 \uB418\uB3CC\uB9AC\uB824\uBA74 \uD074\uB9AD"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED \uCD95\uC18C \uD1A0\uAE00","\uC774\uB3D9\uB41C \uCF54\uB4DC \uBE14\uB85D \uD45C\uC2DC \uD1A0\uAE00","\uACF5\uAC04\uC774 \uC81C\uD55C\uB41C \uACBD\uC6B0 \uC778\uB77C\uC778 \uBCF4\uAE30 \uC0AC\uC6A9 \uC124\uC815/\uD574\uC81C","\uACF5\uAC04\uC774 \uC81C\uD55C\uB41C \uACBD\uC6B0 \uC778\uB77C\uC778 \uBCF4\uAE30 \uC0AC\uC6A9","\uC774\uB3D9\uB41C \uCF54\uB4DC \uBE14\uB85D \uD45C\uC2DC","diff \uD3B8\uC9D1\uAE30","\uC2A4\uC704\uCE58 \uCABD","\uBE44\uAD50 \uC774\uB3D9 \uC885\uB8CC","\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uBAA8\uB4E0 \uC601\uC5ED \uCD95\uC18C","\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uBAA8\uB4E0 \uC601\uC5ED \uD45C\uC2DC","\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4","\uB2E4\uC74C \uB2E4\uB978 \uD56D\uBAA9\uC73C\uB85C \uC774\uB3D9","\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4 \uC5F4\uAE30","\uB2E4\uC74C \uB2E4\uB978 \uD56D\uBAA9\uC73C\uB85C \uC774\uB3D9"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC5EC \uC811\uADFC\uC131 \uB3C4\uC6C0\uB9D0\uC744 \uC5FD\uB2C8\uB2E4."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED \uC811\uAE30","\uC704\uC5D0 \uC790\uC138\uD788 \uD45C\uC2DC\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uAC70\uB098 \uB04C\uC5B4\uB2E4 \uB193\uAE30","\uBAA8\uB450 \uD45C\uC2DC","\uC544\uB798\uC5D0 \uC790\uC138\uD788 \uD45C\uC2DC\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uAC70\uB098 \uB04C\uC5B4\uB2E4 \uB193\uAE30","\uC228\uACA8\uC9C4 \uC120 {0}\uAC1C","\uB450 \uBC88 \uD074\uB9AD\uD558\uC5EC \uD3BC\uCE58\uAE30"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["\uC0AD\uC81C\uB41C \uC904 \uBCF5\uC0AC","\uC0AD\uC81C\uB41C \uC904 \uBCF5\uC0AC","\uBCC0\uACBD\uB41C \uC904 \uBCF5\uC0AC","\uBCC0\uACBD\uB41C \uC904 \uBCF5\uC0AC","\uC0AD\uC81C\uB41C \uC904 \uBCF5\uC0AC({0})","\uBCC0\uACBD\uB41C \uC904({0}) \uBCF5\uC0AC","\uC774 \uBCC0\uACBD \uB0B4\uC6A9 \uB418\uB3CC\uB9AC\uAE30"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["\uBCC0\uACBD \uC0AC\uD56D\uACFC \uD568\uAED8 \uCF54\uB4DC\uAC00 {0} - {1}\uC904\uB85C \uC774\uB3D9\uB428","\uBCC0\uACBD \uC0AC\uD56D\uACFC \uD568\uAED8 \uCF54\uB4DC\uAC00 {0} - {1}\uC904\uC5D0\uC11C \uC774\uB3D9\uB428","\uCF54\uB4DC\uAC00 {0} - {1}\uC904\uB85C \uC774\uB3D9\uB428","\uCF54\uB4DC\uAC00 {0} - {1}\uC904\uC5D0\uC11C \uC774\uB3D9\uB428"],"vs/editor/common/config/editorConfigurationSchema":["\uD3B8\uC9D1\uAE30","\uD0ED\uC774 \uAC19\uC740 \uACF5\uBC31\uC758 \uC218\uC785\uB2C8\uB2E4. \uC774 \uC124\uC815\uC740 {0}\uC774(\uAC00) \uCF1C\uC838 \uC788\uC744 \uB54C \uD30C\uC77C \uB0B4\uC6A9\uC744 \uAE30\uBC18\uC73C\uB85C \uC7AC\uC815\uC758\uB429\uB2C8\uB2E4.",`\uB4E4\uC5EC\uC4F0\uAE30 \uB610\uB294 \`"tabSize"\uC5D0\uC11C '#editor.tabSize#'\uC758 \uAC12\uC744 \uC0AC\uC6A9\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uACF5\uBC31 \uC218\uC785\uB2C8\uB2E4. \uC774 \uC124\uC815\uC740 '#editor.detectIndentation#'\uC774 \uCF1C\uC838 \uC788\uB294 \uACBD\uC6B0 \uD30C\uC77C \uB0B4\uC6A9\uC5D0 \uB530\uB77C \uC7AC\uC815\uC758\uB429\uB2C8\uB2E4.`,"`Tab`\uC744 \uB204\uB97C \uB54C \uACF5\uBC31\uC744 \uC0BD\uC785\uD558\uC138\uC694. \uC774 \uC124\uC815\uC740 {0}\uC774(\uAC00) \uCF1C\uC838 \uC788\uC744 \uB54C \uD30C\uC77C \uB0B4\uC6A9\uC744 \uAE30\uBC18\uC73C\uB85C \uC7AC\uC815\uC758\uB429\uB2C8\uB2E4.","\uD30C\uC77C \uB0B4\uC6A9\uC744 \uAE30\uBC18\uC73C\uB85C \uD30C\uC77C\uC744 \uC5F4 \uB54C {0} \uBC0F {1}\uC744(\uB97C) \uC790\uB3D9\uC73C\uB85C \uAC10\uC9C0\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB05D\uC5D0 \uC790\uB3D9 \uC0BD\uC785\uB41C \uACF5\uBC31\uC744 \uC81C\uAC70\uD569\uB2C8\uB2E4.","\uD070 \uD30C\uC77C\uC5D0 \uB300\uD55C \uD2B9\uC218 \uCC98\uB9AC\uB85C, \uBA54\uBAA8\uB9AC\uB97C \uB9CE\uC774 \uC0AC\uC6A9\uD558\uB294 \uD2B9\uC815 \uAE30\uB2A5\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uBB38\uC11C \uB0B4 \uB2E8\uC5B4\uB97C \uAE30\uBC18\uC73C\uB85C \uC644\uC131\uC744 \uACC4\uC0B0\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD65C\uC131 \uBB38\uC11C\uC5D0\uC11C\uB9CC \uB2E8\uC5B4\uB97C \uC81C\uC548\uD569\uB2C8\uB2E4.","\uAC19\uC740 \uC5B8\uC5B4\uC758 \uBAA8\uB4E0 \uC5F4\uB9B0 \uBB38\uC11C\uC5D0\uC11C \uB2E8\uC5B4\uB97C \uC81C\uC548\uD569\uB2C8\uB2E4.","\uBAA8\uB4E0 \uC5F4\uB9B0 \uBB38\uC11C\uC5D0\uC11C \uB2E8\uC5B4\uB97C \uC81C\uC548\uD569\uB2C8\uB2E4.","\uB2E8\uC5B4 \uAE30\uBC18 \uC644\uC131\uC774 \uCEF4\uD4E8\uD305\uB418\uB294 \uBB38\uC11C\uC5D0\uC11C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBAA8\uB4E0 \uC0C9 \uD14C\uB9C8\uC5D0 \uB300\uD574 \uC758\uBBF8 \uCCB4\uACC4 \uAC15\uC870 \uD45C\uC2DC\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uBAA8\uB4E0 \uC0C9 \uD14C\uB9C8\uC5D0 \uB300\uD574 \uC758\uBBF8 \uCCB4\uACC4 \uAC15\uC870 \uD45C\uC2DC\uB97C \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC758\uBBF8 \uCCB4\uACC4 \uAC15\uC870 \uD45C\uC2DC\uB294 \uD604\uC7AC \uC0C9 \uD14C\uB9C8\uC758 `semanticHighlighting` \uC124\uC815\uC5D0 \uB530\uB77C \uAD6C\uC131\uB429\uB2C8\uB2E4.","semanticHighlighting\uC774 \uC9C0\uC6D0\uD558\uB294 \uC5B8\uC5B4\uC5D0 \uB300\uD574 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD574\uB2F9 \uCF58\uD150\uCE20\uB97C \uB450 \uBC88 \uD074\uB9AD\uD558\uAC70\uB098 'Esc' \uD0A4\uB97C \uB204\uB974\uB354\uB77C\uB3C4 Peek \uD3B8\uC9D1\uAE30\uB97C \uC5F4\uB9B0 \uC0C1\uD0DC\uB85C \uC720\uC9C0\uD569\uB2C8\uB2E4.","\uC774 \uAE38\uC774\uB97C \uCD08\uACFC\uD558\uB294 \uC904\uC740 \uC131\uB2A5\uC0C1\uC758 \uC774\uC720\uB85C \uD1A0\uD070\uD654\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC6F9 \uC791\uC5C5\uC790\uC5D0\uC11C \uD1A0\uD070\uD654\uAC00 \uBE44\uB3D9\uAE30\uC801\uC73C\uB85C \uC218\uD589\uB418\uC5B4\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBE44\uB3D9\uAE30 \uD1A0\uD070\uD654\uAC00 \uAE30\uB85D\uB418\uC5B4\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uB514\uBC84\uAE45 \uC804\uC6A9\uC785\uB2C8\uB2E4.","\uB808\uAC70\uC2DC \uBC31\uADF8\uB77C\uC6B4\uB4DC \uD1A0\uD070\uD654\uC5D0 \uB300\uD574 \uBE44\uB3D9\uAE30 \uD1A0\uD070\uD654\uB97C \uD655\uC778\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uD1A0\uD070\uD654 \uC18D\uB3C4\uAC00 \uB290\uB824\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB514\uBC84\uAE45 \uC804\uC6A9\uC785\uB2C8\uB2E4.","\uB4E4\uC5EC\uC4F0\uAE30\uB97C \uB298\uB9AC\uAC70\uB098 \uC904\uC774\uB294 \uB300\uAD04\uD638 \uAE30\uD638\uB97C \uC815\uC758\uD569\uB2C8\uB2E4.","\uC5EC\uB294 \uB300\uAD04\uD638 \uBB38\uC790 \uB610\uB294 \uBB38\uC790\uC5F4 \uC2DC\uD000\uC2A4\uC785\uB2C8\uB2E4.","\uB2EB\uB294 \uB300\uAD04\uD638 \uBB38\uC790 \uB610\uB294 \uBB38\uC790\uC5F4 \uC2DC\uD000\uC2A4\uC785\uB2C8\uB2E4.","\uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uC911\uCCA9 \uC218\uC900\uC5D0 \uB530\uB77C \uC0C9\uC774 \uC9C0\uC815\uB41C \uB300\uAD04\uD638 \uC30D\uC744 \uC815\uC758\uD569\uB2C8\uB2E4.","\uC5EC\uB294 \uB300\uAD04\uD638 \uBB38\uC790 \uB610\uB294 \uBB38\uC790\uC5F4 \uC2DC\uD000\uC2A4\uC785\uB2C8\uB2E4.","\uB2EB\uB294 \uB300\uAD04\uD638 \uBB38\uC790 \uB610\uB294 \uBB38\uC790\uC5F4 \uC2DC\uD000\uC2A4\uC785\uB2C8\uB2E4.","diff \uACC4\uC0B0\uC774 \uCDE8\uC18C\uB41C \uD6C4 \uBC00\uB9AC\uCD08 \uB2E8\uC704\uB85C \uC2DC\uAC04\uC744 \uC81C\uD55C\uD569\uB2C8\uB2E4. \uC81C\uD55C \uC2DC\uAC04\uC774 \uC5C6\uB294 \uACBD\uC6B0 0\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uCC28\uC774\uB97C \uACC4\uC0B0\uD560 \uCD5C\uB300 \uD30C\uC77C \uD06C\uAE30(MB)\uC785\uB2C8\uB2E4. \uC81C\uD55C\uC774 \uC5C6\uC73C\uBA74 0\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C diff\uB97C \uB098\uB780\uD788 \uD45C\uC2DC\uD560\uC9C0 \uC778\uB77C\uC778\uC73C\uB85C \uD45C\uC2DC\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30 \uB108\uBE44\uAC00 \uC774 \uAC12\uBCF4\uB2E4 \uC791\uC73C\uBA74 \uC778\uB77C\uC778 \uBDF0\uAC00 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uACE0 \uD3B8\uC9D1\uAE30 \uB108\uBE44\uAC00 \uB108\uBB34 \uC791\uC744 \uACBD\uC6B0 \uC778\uB77C\uC778 \uBCF4\uAE30\uAC00 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD65C\uC131\uD654\uB418\uBA74 diff \uD3B8\uC9D1\uAE30\uB294 \uBCC0\uACBD \uB0B4\uC6A9\uC744 \uB418\uB3CC\uB9AC\uAE30 \uC704\uD574 \uAE00\uB9AC\uD504 \uC5EC\uBC31\uC5D0 \uD654\uC0B4\uD45C\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uBA74 Diff \uD3B8\uC9D1\uAE30\uAC00 \uC120\uD589 \uB610\uB294 \uD6C4\uD589 \uACF5\uBC31\uC758 \uBCC0\uACBD \uB0B4\uC6A9\uC744 \uBB34\uC2DC\uD569\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uCD94\uAC00/\uC81C\uAC70\uB41C \uBCC0\uACBD \uB0B4\uC6A9\uC5D0 \uB300\uD574 +/- \uD45C\uC2DC\uAE30\uB97C \uD45C\uC2DC\uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C CodeLens\uB97C \uD45C\uC2DC\uD560 \uAC83\uC778\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC904\uC774 \uBC14\uB00C\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uBDF0\uD3EC\uD2B8 \uB108\uBE44\uC5D0\uC11C \uC904\uC774 \uBC14\uB01D\uB2C8\uB2E4.","\uC904\uC740 {0} \uC124\uC815\uC5D0 \uB530\uB77C \uC904 \uBC14\uAFC8\uB429\uB2C8\uB2E4.","\uB808\uAC70\uC2DC \uBE44\uAD50 \uC54C\uACE0\uB9AC\uC998\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uACE0\uAE09 \uBE44\uAD50 \uC54C\uACE0\uB9AC\uC998\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0 \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC904 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED\uC758 \uCD5C\uC18C\uAC12\uC73C\uB85C \uC0AC\uC6A9\uB418\uB294 \uC904 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uC601\uC5ED\uC744 \uBE44\uAD50\uD560 \uB54C \uCEE8\uD14D\uC2A4\uD2B8\uB85C \uC0AC\uC6A9\uB418\uB294 \uC904 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uAC10\uC9C0\uB41C \uCF54\uB4DC \uC774\uB3D9\uC744 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBB38\uC790\uAC00 \uC0BD\uC785\uB418\uAC70\uB098 \uC0AD\uC81C\uB41C \uC704\uCE58\uB97C \uBCFC \uC218 \uC788\uB3C4\uB85D diff \uD3B8\uC9D1\uAE30\uC5D0 \uBE48 \uC7A5\uC2DD\uC801 \uC694\uC18C\uB97C \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4."],"vs/editor/common/config/editorOptions":["\uD50C\uB7AB\uD3FC API\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC774 \uC5F0\uACB0\uB41C \uACBD\uC6B0 \uAC10\uC9C0","\uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC0AC\uC6A9 \uCD5C\uC801\uD654","\uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC774 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC9C0 \uC54A\uB2E4\uACE0 \uAC00\uC815","\uD654\uBA74 \uD310\uB3C5\uAE30\uC5D0 \uCD5C\uC801\uD654\uB41C \uBAA8\uB4DC\uC5D0\uC11C UI\uB97C \uC2E4\uD589\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC8FC\uC11D\uC744 \uB2EC \uB54C \uACF5\uBC31 \uBB38\uC790\uB97C \uC0BD\uC785\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBE48 \uC904\uC744 \uC904 \uC8FC\uC11D\uC5D0 \uB300\uD55C \uD1A0\uAE00, \uCD94\uAC00 \uB610\uB294 \uC81C\uAC70 \uC791\uC5C5\uC73C\uB85C \uBB34\uC2DC\uD574\uC57C \uD558\uB294\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC120\uD0DD \uC601\uC5ED \uC5C6\uC774 \uD604\uC7AC \uC904 \uBCF5\uC0AC \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC785\uB825\uD558\uB294 \uB3D9\uC548 \uC77C\uCE58 \uD56D\uBAA9\uC744 \uCC3E\uAE30 \uC704\uD55C \uCEE4\uC11C \uC774\uB3D9 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uAC80\uC0C9 \uBB38\uC790\uC5F4\uC744 \uC2DC\uB4DC\uD558\uC9C0 \uB9C8\uC138\uC694.","\uCEE4\uC11C \uC704\uCE58\uC758 \uB2E8\uC5B4\uB97C \uD3EC\uD568\uD558\uC5EC \uD56D\uC0C1 \uD3B8\uC9D1\uAE30 \uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uAC80\uC0C9 \uBB38\uC790\uC5F4\uC744 \uC2DC\uB4DC\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C\uB9CC \uAC80\uC0C9 \uBB38\uC790\uC5F4\uC744 \uC2DC\uB4DC\uD558\uC138\uC694.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD\uC5D0\uC11C Find Widget\uC758 \uAC80\uC0C9 \uBB38\uC790\uC5F4\uC744 \uC2DC\uB529\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uCC3E\uAE30\uB97C \uC790\uB3D9\uC73C\uB85C \uCF1C\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).","\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uCC3E\uAE30\uB97C \uD56D\uC0C1 \uC790\uB3D9\uC73C\uB85C \uCF2D\uB2C8\uB2E4.","\uC5EC\uB7EC \uC904\uC758 \uCF58\uD150\uCE20\uB97C \uC120\uD0DD\uD558\uBA74 \uC120\uD0DD \uD56D\uBAA9\uC5D0\uC11C \uCC3E\uAE30\uAC00 \uC790\uB3D9\uC73C\uB85C \uCF1C\uC9D1\uB2C8\uB2E4.","\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uCC3E\uAE30\uB97C \uC790\uB3D9\uC73C\uB85C \uC124\uC815\uD558\uB294 \uC870\uAC74\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","macOS\uC5D0\uC11C Find Widget\uC774 \uACF5\uC720 \uD074\uB9BD\uBCF4\uB4DC \uCC3E\uAE30\uB97C \uC77D\uC744\uC9C0 \uC218\uC815\uD560\uC9C0 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC704\uC82F \uCC3E\uAE30\uC5D0\uC11C \uD3B8\uC9D1\uAE30 \uB9E8 \uC704\uC5D0 \uC904\uC744 \uCD94\uAC00\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. true\uC778 \uACBD\uC6B0 \uC704\uC82F \uCC3E\uAE30\uAC00 \uD45C\uC2DC\uB418\uBA74 \uCCAB \uBC88\uC9F8 \uC904 \uC704\uB85C \uC2A4\uD06C\uB864\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uB354 \uC774\uC0C1 \uC77C\uCE58\uD558\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC744 \uB54C \uAC80\uC0C9\uC744 \uCC98\uC74C\uC774\uB098 \uB05D\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uB2E4\uC2DC \uC2DC\uC791\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAE00\uAF34 \uD569\uC790('calt' \uBC0F 'liga' \uAE00\uAF34 \uAE30\uB2A5)\uB97C \uC0AC\uC6A9\uD558\uAC70\uB098 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4. 'font-feature-settings' CSS \uC18D\uC131\uC758 \uC138\uBD84\uD654\uB41C \uC81C\uC5B4\uB97C \uC704\uD574 \uBB38\uC790\uC5F4\uB85C \uBCC0\uACBD\uD569\uB2C8\uB2E4.","\uBA85\uC2DC\uC801 'font-feature-settings' CSS \uC18D\uC131\uC785\uB2C8\uB2E4. \uD569\uC790\uB97C \uCF1C\uAC70\uB098 \uAEBC\uC57C \uD558\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uBD80\uC6B8\uC744 \uB300\uC2E0 \uC804\uB2EC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uAE00\uAF34 \uD569\uC790 \uB610\uB294 \uAE00\uAF34 \uAE30\uB2A5\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4. CSS 'font-feature-settings' \uC18D\uC131\uC758 \uAC12\uC5D0 \uB300\uD574 \uD569\uC790 \uB610\uB294 \uBB38\uC790\uC5F4\uC744 \uC0AC\uC6A9\uD558\uAC70\uB098 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC124\uC815\uD558\uAE30 \uC704\uD55C \uBD80\uC6B8\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.","font-weight\uC5D0\uC11C font-variation-settings\uB85C \uBCC0\uD658\uC744 \uC0AC\uC6A9/\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. 'font-variation-settings' CSS \uC18D\uC131\uC758 \uC138\uBD84\uD654\uB41C \uCEE8\uD2B8\uB864\uC744 \uC704\uD574 \uC774\uB97C \uBB38\uC790\uC5F4\uB85C \uBCC0\uACBD\uD569\uB2C8\uB2E4.","\uBA85\uC2DC\uC801 'font-variation-settings' CSS \uC18D\uC131\uC785\uB2C8\uB2E4. font-weight\uB9CC font-variation-settings\uB85C \uBCC0\uD658\uD574\uC57C \uD558\uB294 \uACBD\uC6B0 \uBD80\uC6B8\uC744 \uB300\uC2E0 \uC804\uB2EC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uAE00\uAF34 \uBCC0\uD615\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4. font-weight\uC5D0\uC11C font-variation-settings\uB85C \uBCC0\uD658\uC744 \uC0AC\uC6A9/\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC124\uC815\uD558\uB294 \uBD80\uC6B8\uC774\uAC70\uB098 CSS 'font-variation-settings' \uC18D\uC131 \uAC12\uC5D0 \uB300\uD55C \uBB38\uC790\uC5F4\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uAE00\uAF34 \uD06C\uAE30(\uD53D\uC140)\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.",'"\uD45C\uC900" \uBC0F "\uAD75\uAC8C" \uD0A4\uC6CC\uB4DC \uB610\uB294 1~1000 \uC0AC\uC774\uC758 \uC22B\uC790\uB9CC \uD5C8\uC6A9\uB429\uB2C8\uB2E4.','\uAE00\uAF34 \uB450\uAED8\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. "\uD45C\uC900" \uBC0F "\uAD75\uAC8C" \uD0A4\uC6CC\uB4DC \uB610\uB294 1~1000 \uC0AC\uC774\uC758 \uC22B\uC790\uB97C \uD5C8\uC6A9\uD569\uB2C8\uB2E4.',"\uACB0\uACFC\uC758 Peek \uBCF4\uAE30 \uD45C\uC2DC(\uAE30\uBCF8\uAC12)","\uAE30\uBCF8 \uACB0\uACFC\uB85C \uC774\uB3D9\uD558\uC5EC Peek \uBCF4\uAE30\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uAE30\uBCF8 \uACB0\uACFC\uB85C \uC774\uB3D9\uD558\uC5EC \uB2E4\uB978 \uD56D\uBAA9\uC5D0 \uB300\uD574 Peek \uC5C6\uB294 \uD0D0\uC0C9\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uC774 \uC124\uC815\uC740 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 'editor.editor.gotoLocation.multipleDefinitions' \uB610\uB294 'editor.editor.gotoLocation.multipleImplementations'\uC640 \uAC19\uC740 \uBCC4\uB3C4\uC758 \uC124\uC815\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.","\uC5EC\uB7EC \uB300\uC0C1 \uC704\uCE58\uAC00 \uC788\uB294 \uACBD\uC6B0 '\uC815\uC758\uB85C \uC774\uB3D9' \uBA85\uB839 \uB3D9\uC791\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5EC\uB7EC \uB300\uC0C1 \uC704\uCE58\uAC00 \uC788\uB294 \uACBD\uC6B0 '\uC720\uD615 \uC815\uC758\uB85C \uC774\uB3D9' \uBA85\uB839 \uB3D9\uC791\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5EC\uB7EC \uB300\uC0C1 \uC704\uCE58\uAC00 \uC788\uB294 \uACBD\uC6B0 'Go to Declaration' \uBA85\uB839 \uB3D9\uC791\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5EC\uB7EC \uB300\uC0C1 \uC704\uCE58\uAC00 \uC788\uB294 \uACBD\uC6B0 '\uAD6C\uD604\uC73C\uB85C \uC774\uB3D9' \uBA85\uB839 \uB3D9\uC791\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5EC\uB7EC \uB300\uC0C1 \uC704\uCE58\uAC00 \uC788\uB294 \uACBD\uC6B0 '\uCC38\uC870\uB85C \uC774\uB3D9' \uBA85\uB839 \uB3D9\uC791\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","'\uC815\uC758\uB85C \uC774\uB3D9'\uC758 \uACB0\uACFC\uAC00 \uD604\uC7AC \uC704\uCE58\uC77C \uB54C \uC2E4\uD589\uB418\uB294 \uB300\uCCB4 \uBA85\uB839 ID\uC785\uB2C8\uB2E4.","'\uD615\uC2DD \uC815\uC758\uB85C \uC774\uB3D9'\uC758 \uACB0\uACFC\uAC00 \uD604\uC7AC \uC704\uCE58\uC77C \uB54C \uC2E4\uD589\uB418\uB294 \uB300\uCCB4 \uBA85\uB839 ID\uC785\uB2C8\uB2E4.","'\uC120\uC5B8\uC73C\uB85C \uC774\uB3D9'\uC758 \uACB0\uACFC\uAC00 \uD604\uC7AC \uC704\uCE58\uC77C \uB54C \uC2E4\uD589\uB418\uB294 \uB300\uCCB4 \uBA85\uB839 ID\uC785\uB2C8\uB2E4.","'\uAD6C\uD604\uC73C\uB85C \uC774\uB3D9'\uC758 \uACB0\uACFC\uAC00 \uD604\uC7AC \uC704\uCE58\uC77C \uB54C \uC2E4\uD589\uB418\uB294 \uB300\uCCB4 \uBA85\uB839 ID\uC785\uB2C8\uB2E4.","'\uCC38\uC870\uB85C \uC774\uB3D9'\uC758 \uACB0\uACFC\uAC00 \uD604\uC7AC \uC704\uCE58\uC77C \uB54C \uC2E4\uD589\uB418\uB294 \uB300\uCCB4 \uBA85\uB839 ID\uC785\uB2C8\uB2E4.","\uD638\uBC84 \uD45C\uC2DC \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD638\uBC84\uAC00 \uD45C\uC2DC\uB418\uAE30 \uC804\uAE4C\uC9C0\uC758 \uC9C0\uC5F0 \uC2DC\uAC04(\uBC00\uB9AC\uCD08)\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB97C \uD574\uB2F9 \uD56D\uBAA9 \uC704\uB85C \uC774\uB3D9\uD560 \uB54C \uD638\uBC84\uB97C \uACC4\uC18D \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAC00\uB9AC\uD0A4\uAE30\uAC00 \uC228\uACA8\uC9C0\uB294 \uC9C0\uC5F0 \uC2DC\uAC04(\uBC00\uB9AC\uCD08)\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. 'editor.hover.sticky'\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uACF5\uBC31\uC774 \uC788\uB294 \uACBD\uC6B0 \uC120 \uC704\uC5D0 \uB9C8\uC6B0\uC2A4\uB97C \uAC00\uC838\uAC00\uB294 \uAC83\uC744 \uD45C\uC2DC\uD558\uB294 \uAC83\uC744 \uC120\uD638\uD569\uB2C8\uB2E4.","\uBAA8\uB4E0 \uBB38\uC790\uAC00 \uB3D9\uC77C\uD55C \uB108\uBE44\uB77C\uACE0 \uAC00\uC815\uD569\uB2C8\uB2E4. \uC774 \uC54C\uACE0\uB9AC\uC998\uC740 \uACE0\uC815 \uD3ED \uAE00\uAF34\uACFC \uBB38\uC790 \uBAA8\uC591\uC758 \uB108\uBE44\uAC00 \uAC19\uC740 \uD2B9\uC815 \uC2A4\uD06C\uB9BD\uD2B8(\uC608: \uB77C\uD2F4 \uBB38\uC790)\uC5D0 \uC801\uC808\uD788 \uC791\uB3D9\uD558\uB294 \uBE60\uB978 \uC54C\uACE0\uB9AC\uC998\uC785\uB2C8\uB2E4.","\uB798\uD551 \uC810 \uACC4\uC0B0\uC744 \uBE0C\uB77C\uC6B0\uC800\uC5D0 \uC704\uC784\uD569\uB2C8\uB2E4. \uC774 \uC54C\uACE0\uB9AC\uC998\uC740 \uB9E4\uC6B0 \uB290\uB824\uC11C \uB300\uC6A9\uB7C9 \uD30C\uC77C\uC758 \uACBD\uC6B0 \uC911\uB2E8\uB420 \uC218 \uC788\uC9C0\uB9CC \uBAA8\uB4E0 \uACBD\uC6B0\uC5D0 \uC801\uC808\uD788 \uC791\uB3D9\uD569\uB2C8\uB2E4.","\uB798\uD551 \uC9C0\uC810\uC744 \uACC4\uC0B0\uD558\uB294 \uC54C\uACE0\uB9AC\uC998\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC811\uADFC\uC131 \uBAA8\uB4DC\uC5D0\uC11C\uB294 \uCD5C\uC0C1\uC758 \uD658\uACBD\uC744 \uC704\uD574 \uACE0\uAE09 \uAE30\uB2A5\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uCF54\uB4DC \uB3D9\uC791 \uC804\uAD6C\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC704\uCABD\uC5D0\uC11C \uC2A4\uD06C\uB864\uD558\uB294 \uB3D9\uC548 \uC911\uCCA9\uB41C \uD604\uC7AC \uBC94\uC704\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uD45C\uC2DC\uD560 \uCD5C\uB300 \uACE0\uC815 \uC120 \uC218\uB97C \uC815\uC758\uD569\uB2C8\uB2E4.","\uACE0\uC815\uD560 \uC904\uC744 \uACB0\uC815\uD558\uB294 \uB370 \uC0AC\uC6A9\uD560 \uBAA8\uB378\uC744 \uC815\uC758\uD569\uB2C8\uB2E4. \uAC1C\uC694 \uBAA8\uB378\uC774 \uC5C6\uC73C\uBA74 \uB4E4\uC5EC\uC4F0\uAE30 \uBAA8\uB378\uC5D0 \uD574\uB2F9\uD558\uB294 \uC811\uAE30 \uACF5\uAE09\uC790 \uBAA8\uB378\uC5D0\uC11C \uB300\uCCB4\uB429\uB2C8\uB2E4. \uC774 \uC21C\uC11C\uB294 \uC138 \uAC00\uC9C0 \uACBD\uC6B0 \uBAA8\uB450 \uC801\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uB97C \uC0AC\uC6A9\uD558\uC5EC \uACE0\uC815 \uC2A4\uD06C\uB864 \uC704\uC82F\uC758 \uC2A4\uD06C\uB864\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB808\uC774 \uD78C\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uC778\uB808\uC774 \uD78C\uD2B8\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC74C","\uC778\uB808\uC774 \uD78C\uD2B8\uB294 \uAE30\uBCF8\uC801\uC73C\uB85C \uD45C\uC2DC\uB418\uACE0 {0}\uC744(\uB97C) \uAE38\uAC8C \uB204\uB97C \uB54C \uC228\uACA8\uC9D1\uB2C8\uB2E4.","\uC778\uB808\uC774 \uD78C\uD2B8\uB294 \uAE30\uBCF8\uAC12\uC73C\uB85C \uC228\uACA8\uC838 \uC788\uC73C\uBA70 {0}\uC744(\uB97C) \uAE38\uAC8C \uB204\uB974\uBA74 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC778\uB808\uC774 \uD78C\uD2B8\uB294 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB808\uC774 \uD78C\uD2B8\uC758 \uAE00\uAF34 \uD06C\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uAE30\uBCF8\uC801\uC73C\uB85C {0}\uC740(\uB294) \uAD6C\uC131\uB41C \uAC12\uC774 {1}\uBCF4\uB2E4 \uC791\uAC70\uB098 \uD3B8\uC9D1\uAE30 \uAE00\uAF34 \uD06C\uAE30\uBCF4\uB2E4 \uD070 \uACBD\uC6B0\uC5D0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB808\uC774 \uD78C\uD2B8\uC758 \uAE00\uAF34 \uD328\uBC00\uB9AC\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uBE44\uC6CC \uB450\uBA74 {0}\uC774(\uAC00) \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB808\uC774 \uD78C\uD2B8 \uC8FC\uC704\uC758 \uD328\uB529\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.",`\uC120 \uB192\uC774\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \r + - 0\uC744 \uC0AC\uC6A9\uD558\uC5EC \uAE00\uAF34 \uD06C\uAE30\uC5D0\uC11C \uC904 \uB192\uC774\uB97C \uC790\uB3D9\uC73C\uB85C \uACC4\uC0B0\uD569\uB2C8\uB2E4.\r + - 0\uC5D0\uC11C 8 \uC0AC\uC774\uC758 \uAC12\uC740 \uAE00\uAF34 \uD06C\uAE30\uC758 \uC2B9\uC218\uB85C \uC0AC\uC6A9\uB429\uB2C8\uB2E4.\r + - 8\uBCF4\uB2E4 \uD06C\uAC70\uB098 \uAC19\uC740 \uAC12\uC774 \uC720\uD6A8 \uAC12\uC73C\uB85C \uC0AC\uC6A9\uB429\uB2C8\uB2E4.`,"\uBBF8\uB2C8\uB9F5 \uD45C\uC2DC \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5\uC744 \uC790\uB3D9\uC73C\uB85C \uC228\uAE38\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5\uC758 \uD06C\uAE30\uB294 \uD3B8\uC9D1\uAE30 \uB0B4\uC6A9\uACFC \uB3D9\uC77C\uD558\uBA70 \uC2A4\uD06C\uB864\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uB192\uC774\uB97C \uB9DE\uCD94\uAE30 \uC704\uD574 \uD544\uC694\uC5D0 \uB530\uB77C \uBBF8\uB2C8\uB9F5\uC774 \uD655\uC7A5\uB418\uAC70\uB098 \uCD95\uC18C\uB429\uB2C8\uB2E4(\uC2A4\uD06C\uB864 \uC5C6\uC74C).","\uBBF8\uB2C8\uB9F5\uC744 \uD3B8\uC9D1\uAE30\uBCF4\uB2E4 \uC791\uAC8C \uC720\uC9C0\uD560 \uC218 \uC788\uB3C4\uB85D \uD544\uC694\uC5D0 \uB530\uB77C \uBBF8\uB2C8\uB9F5\uC774 \uCD95\uC18C\uB429\uB2C8\uB2E4(\uC2A4\uD06C\uB864 \uC5C6\uC74C).","\uBBF8\uB2C8\uB9F5\uC758 \uD06C\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5\uC744 \uB80C\uB354\uB9C1\uD560 \uCE21\uBA74\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5 \uC2AC\uB77C\uC774\uB354\uAC00 \uD45C\uC2DC\uB418\uB294 \uC2DC\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5\uC5D0 \uADF8\uB824\uC9C4 \uCF58\uD150\uCE20\uC758 \uBC30\uC728: 1, 2 \uB610\uB294 3.","\uC904\uC758 \uC2E4\uC81C \uBB38\uC790(\uC0C9 \uBE14\uB85D \uC544\uB2D8)\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.","\uCD5C\uB300 \uD2B9\uC815 \uC218\uC758 \uC5F4\uC744 \uB80C\uB354\uB9C1\uD558\uB3C4\uB85D \uBBF8\uB2C8\uB9F5\uC758 \uB108\uBE44\uB97C \uC81C\uD55C\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uC704\uCABD \uAC00\uC7A5\uC790\uB9AC\uC640 \uCCAB \uBC88\uC9F8 \uC904 \uC0AC\uC774\uC758 \uACF5\uBC31\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uC544\uB798\uCABD \uAC00\uC7A5\uC790\uB9AC\uC640 \uB9C8\uC9C0\uB9C9 \uC904 \uC0AC\uC774\uC758 \uACF5\uBC31\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC785\uB825\uACFC \uB3D9\uC2DC\uC5D0 \uB9E4\uAC1C\uBCC0\uC218 \uBB38\uC11C\uC640 \uC720\uD615 \uC815\uBCF4\uB97C \uD45C\uC2DC\uD558\uB294 \uD31D\uC5C5\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uB9E4\uAC1C\uBCC0\uC218 \uD78C\uD2B8 \uBA54\uB274\uC758 \uC8FC\uAE30 \uD639\uC740 \uBAA9\uB85D\uC758 \uB05D\uC5D0 \uB3C4\uB2EC\uD558\uC600\uC744\uB54C \uC885\uB8CC\uD560 \uAC83\uC778\uC9C0 \uC5EC\uBD80\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F \uB0B4\uBD80\uC5D0 \uBE60\uB978 \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uBE60\uB978 \uC81C\uC548\uC774 \uC720\uB839 \uD14D\uC2A4\uD2B8\uB85C \uD45C\uC2DC\uB428","\uBE60\uB978 \uC81C\uC548\uC774 \uC0AC\uC6A9 \uC911\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4.","\uBB38\uC790\uC5F4 \uB0B4\uC5D0\uC11C \uBE60\uB978 \uC81C\uC548\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uC8FC\uC11D \uB0B4\uC5D0\uC11C \uBE60\uB978 \uC81C\uC548\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uBB38\uC790\uC5F4 \uBC0F \uC8FC\uC11D \uC678\uBD80\uC5D0\uC11C \uBE60\uB978 \uC81C\uC548\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uC785\uB825\uD558\uB294 \uB3D9\uC548 \uC81C\uC548\uC744 \uC790\uB3D9\uC73C\uB85C \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 \uC8FC\uC11D, \uBB38\uC790\uC5F4 \uBC0F \uAE30\uD0C0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAE30 \uC704\uD574 \uC81C\uC5B4\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBE60\uB978 \uC81C\uC548\uC740 \uACE0\uC2A4\uD2B8 \uD14D\uC2A4\uD2B8 \uB610\uB294 \uC81C\uC548 \uC704\uC82F\uC73C\uB85C \uD45C\uC2DC\uD558\uB3C4\uB85D \uAD6C\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB610\uD55C \uC81C\uC548\uC774 \uD2B9\uC218 \uBB38\uC790\uC5D0 \uC758\uD574 \uC2E4\uD589\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD558\uB294 '{0}'-\uC124\uC815\uC5D0 \uC720\uC758\uD558\uC138\uC694.","\uC904 \uBC88\uD638\uB294 \uB80C\uB354\uB9C1\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC904 \uBC88\uD638\uB294 \uC808\uB300\uAC12\uC73C\uB85C \uB80C\uB354\uB9C1 \uB429\uB2C8\uB2E4.","\uC904 \uBC88\uD638\uB294 \uCEE4\uC11C \uC704\uCE58\uC5D0\uC11C \uC904 \uAC04\uACA9 \uAC70\uB9AC\uB85C \uB80C\uB354\uB9C1 \uB429\uB2C8\uB2E4.","\uC904 \uBC88\uD638\uB294 \uB9E4 10 \uC904\uB9C8\uB2E4 \uB80C\uB354\uB9C1\uC774 \uC774\uB8E8\uC5B4\uC9D1\uB2C8\uB2E4.","\uC904 \uBC88\uD638\uC758 \uD45C\uC2DC \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC774 \uD3B8\uC9D1\uAE30 \uB208\uAE08\uC790\uC5D0\uC11C \uB80C\uB354\uB9C1\uD560 \uACE0\uC815 \uD3ED \uBB38\uC790 \uC218\uC785\uB2C8\uB2E4.","\uC774 \uD3B8\uC9D1\uAE30 \uB208\uAE08\uC790\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uD2B9\uC815 \uC218\uC758 \uACE0\uC815 \uD3ED \uBB38\uC790 \uB4A4\uC5D0 \uC138\uB85C \uB208\uAE08\uC790\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4. \uC5EC\uB7EC \uB208\uAE08\uC790\uC758 \uACBD\uC6B0 \uC5EC\uB7EC \uAC12\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uBC30\uC5F4\uC774 \uBE44\uC5B4 \uC788\uB294 \uACBD\uC6B0 \uB208\uAE08\uC790\uAC00 \uADF8\uB824\uC9C0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC138\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uB294 \uD544\uC694\uD55C \uACBD\uC6B0\uC5D0\uB9CC \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC138\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uAC00 \uD56D\uC0C1 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC138\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uB97C \uD56D\uC0C1 \uC228\uAE41\uB2C8\uB2E4.","\uC138\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uC758 \uD45C\uC2DC \uC720\uD615\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uB294 \uD544\uC694\uD55C \uACBD\uC6B0\uC5D0\uB9CC \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uAC00 \uD56D\uC0C1 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uB97C \uD56D\uC0C1 \uC228\uAE41\uB2C8\uB2E4.","\uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uC758 \uD45C\uC2DC \uC720\uD615\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC138\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uC758 \uB108\uBE44\uC785\uB2C8\uB2E4.","\uAC00\uB85C \uC2A4\uD06C\uB864 \uB9C9\uB300\uC758 \uB192\uC774\uC785\uB2C8\uB2E4.","\uD074\uB9AD\uC774 \uD398\uC774\uC9C0\uBCC4\uB85C \uC2A4\uD06C\uB864\uB418\uB294\uC9C0 \uB610\uB294 \uD074\uB9AD \uC704\uCE58\uB85C \uC774\uB3D9\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAE30\uBCF8\uC774 \uC544\uB2CC \uBAA8\uB4E0 ASCII \uBB38\uC790\uB97C \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. U+0020\uACFC U+007E \uC0AC\uC774\uC758 \uBB38\uC790, \uD0ED, \uC904 \uBC14\uAFC8 \uBC0F \uCE90\uB9AC\uC9C0 \uB9AC\uD134\uB9CC \uAE30\uBCF8 ASCII\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4.","\uACF5\uBC31\uB9CC \uC608\uC57D\uD558\uAC70\uB098 \uB108\uBE44\uAC00 \uC804\uD600 \uC5C6\uB294 \uBB38\uC790\uB97C \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD604\uC7AC \uC0AC\uC6A9\uC790 \uB85C\uCE98\uC5D0\uC11C \uACF5\uD1B5\uB418\uB294 \uBB38\uC790\uB97C \uC81C\uC678\uD55C \uAE30\uBCF8 ASCII \uBB38\uC790\uC640 \uD63C\uB3D9\uD560 \uC218 \uC788\uB294 \uBB38\uC790\uB97C \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC8FC\uC11D\uC758 \uBB38\uC790\uC5D0\uB3C4 \uC720\uB2C8\uCF54\uB4DC \uAC15\uC870 \uD45C\uC2DC\uB97C \uC801\uC6A9\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBB38\uC790\uC5F4\uC758 \uBB38\uC790\uC5D0\uB3C4 \uC720\uB2C8\uCF54\uB4DC \uAC15\uC870 \uD45C\uC2DC\uB97C \uC801\uC6A9\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAC15\uC870 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uB294 \uD5C8\uC6A9\uB41C \uBB38\uC790\uB97C \uC815\uC758\uD569\uB2C8\uB2E4.","\uD5C8\uC6A9\uB41C \uB85C\uCE98\uC5D0\uC11C \uACF5\uD1B5\uC801\uC778 \uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uB294 \uAC15\uC870 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB77C\uC778 \uC81C\uC548\uC744 \uC790\uB3D9\uC73C\uB85C \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uCD94\uCC9C\uC744 \uD45C\uC2DC\uD790 \uB54C\uB9C8\uB2E4 \uC778\uB77C\uC778 \uCD94\uCC9C \uB3C4\uAD6C \uBAA8\uC74C\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uCD94\uCC9C\uC744 \uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0A4\uBA74 \uC778\uB77C\uC778 \uCD94\uCC9C \uB3C4\uAD6C \uBAA8\uC74C\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uCD94\uCC9C \uB3C4\uAD6C \uBAA8\uC74C\uC744 \uD45C\uC2DC\uD560 \uC2DC\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uC81C\uC548\uC774 \uC81C\uC548 \uC704\uC82F\uACFC \uC0C1\uD638 \uC791\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uBA74 \uC778\uB77C\uC778 \uC81C\uC548\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC744 \uB54C \uC81C\uC548 \uC704\uC82F\uC774 \uC790\uB3D9\uC73C\uB85C \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC5EC \uB300\uAD04\uD638 \uAC15\uC870 \uC0C9\uC744 \uC7AC\uC815\uC758\uD569\uB2C8\uB2E4.","\uAC01 \uB300\uAD04\uD638 \uD615\uC2DD\uC5D0 \uACE0\uC720\uD55C \uB3C5\uB9BD\uC801\uC778 \uC0C9 \uD480\uC774 \uC788\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638 \uC30D \uAC00\uC774\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D\uC5D0 \uB300\uD574\uC11C\uB9CC \uB300\uAD04\uD638 \uC30D \uAC00\uC774\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638 \uC30D \uAC00\uC774\uB4DC\uB97C \uBE44\uD65C\uC131\uD654\uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uC0AC\uC6A9 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC218\uC9C1 \uB300\uAD04\uD638 \uC30D \uAC00\uC774\uB4DC\uC5D0 \uCD94\uAC00\uD558\uC5EC \uC218\uD3C9 \uAC00\uC774\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D\uC5D0 \uB300\uD574\uC11C\uB9CC \uC218\uD3C9 \uAC00\uC774\uB4DC\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uC218\uD3C9 \uB300\uAD04\uD638 \uC30D \uAC00\uC774\uB4DC\uB97C \uBE44\uD65C\uC131\uD654\uD569\uB2C8\uB2E4.","\uAC00\uB85C \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uC0AC\uC6A9 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uAC00 \uD65C\uC131 \uBE0C\uB798\uD0B7 \uC30D\uC744 \uAC15\uC870 \uD45C\uC2DC\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB4E4\uC5EC\uC4F0\uAE30 \uAC00\uC774\uB4DC\uB97C \uB80C\uB354\uB9C1\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120\uC744 \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uBE0C\uB798\uD0B7 \uC548\uB0B4\uC120\uC774 \uAC15\uC870 \uD45C\uC2DC\uB41C \uACBD\uC6B0\uC5D0\uB3C4 \uD65C\uC131 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120\uC744 \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120\uC744 \uAC15\uC870 \uD45C\uC2DC\uD558\uC9C0 \uB9C8\uC138\uC694.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD65C\uC131 \uB4E4\uC5EC\uC4F0\uAE30 \uAC00\uC774\uB4DC\uB97C \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCEE4\uC11C\uC758 \uD14D\uC2A4\uD2B8 \uC624\uB978\uCABD\uC744 \uB36E\uC5B4 \uC4F0\uC9C0\uC54A\uACE0 \uC81C\uC548\uC744 \uC0BD\uC785\uD569\uB2C8\uB2E4.","\uC81C\uC548\uC744 \uC0BD\uC785\uD558\uACE0 \uCEE4\uC11C\uC758 \uC624\uB978\uCABD \uD14D\uC2A4\uD2B8\uB97C \uB36E\uC5B4\uC501\uB2C8\uB2E4.","\uC644\uB8CC\uB97C \uC218\uB77D\uD560 \uB54C \uB2E8\uC5B4\uB97C \uB36E\uC5B4\uC4F8\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 \uC774 \uAE30\uB2A5\uC744 \uC120\uD0DD\uD558\uB294 \uD655\uC7A5\uC5D0 \uB530\uB77C \uB2E4\uB985\uB2C8\uB2E4.","\uC81C\uC548 \uD544\uD130\uB9C1 \uBC0F \uC815\uB82C\uC5D0\uC11C \uC791\uC740 \uC624\uD0C0\uB97C \uC124\uBA85\uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC815\uB82C\uD560 \uB54C \uCEE4\uC11C \uADFC\uCC98\uC5D0 \uD45C\uC2DC\uB418\uB294 \uB2E8\uC5B4\uB97C \uC6B0\uC120\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC800\uC7A5\uB41C \uC81C\uC548 \uC0AC\uD56D \uC120\uD0DD \uD56D\uBAA9\uC744 \uC5EC\uB7EC \uC791\uC5C5 \uC601\uC5ED \uBC0F \uCC3D\uC5D0\uC11C \uACF5\uC720\uD560 \uAC83\uC778\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4(`#editor.suggestSelection#` \uD544\uC694).","IntelliSense\uB97C \uC790\uB3D9\uC73C\uB85C \uD2B8\uB9AC\uAC70\uD560 \uB54C \uD56D\uC0C1 \uC81C\uC548\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.","IntelliSense\uB97C \uC790\uB3D9\uC73C\uB85C \uD2B8\uB9AC\uAC70\uD560 \uB54C \uC81C\uC548\uC744 \uC120\uD0DD\uD558\uC9C0 \uB9C8\uC138\uC694.","\uD2B8\uB9AC\uAC70 \uBB38\uC790\uC5D0\uC11C IntelliSense\uB97C \uD2B8\uB9AC\uAC70\uD560 \uB54C\uB9CC \uC81C\uC548\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.","\uC785\uB825\uD560 \uB54C IntelliSense\uB97C \uD2B8\uB9AC\uAC70\uD560 \uB54C\uB9CC \uC81C\uC548\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.","\uC704\uC82F\uC774 \uD45C\uC2DC\uB420 \uB54C \uC81C\uC548\uC744 \uC120\uD0DD\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC774\uB294 \uC790\uB3D9\uC73C\uB85C \uD2B8\uB9AC\uAC70\uB41C \uC81C\uC548('#editor.quickSuggestions#' \uBC0F '#editor.suggestOnTriggerCharacters#')\uC5D0\uB9CC \uC801\uC6A9\uB418\uBA70, \uC81C\uC548\uC774 \uBA85\uC2DC\uC801\uC73C\uB85C \uD638\uCD9C\uB420 \uB54C \uD56D\uC0C1 \uC120\uD0DD\uB429\uB2C8\uB2E4(\uC608: 'Ctrl+Space'\uB97C \uD1B5\uD574).","\uD65C\uC131 \uCF54\uB4DC \uC870\uAC01\uC774 \uBE60\uB978 \uC81C\uC548\uC744 \uBC29\uC9C0\uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC81C\uC548\uC758 \uC544\uC774\uCF58\uC744 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F \uD558\uB2E8\uC758 \uC0C1\uD0DC \uD45C\uC2DC\uC904 \uAC00\uC2DC\uC131\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC81C\uC548 \uACB0\uACFC\uB97C \uBBF8\uB9AC\uBCFC\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC81C\uC548 \uC138\uBD80 \uC815\uBCF4\uAC00 \uB808\uC774\uBE14\uACFC \uD568\uAED8 \uC778\uB77C\uC778\uC5D0 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC544\uB2C8\uBA74 \uC138\uBD80 \uC815\uBCF4 \uC704\uC82F\uC5D0\uB9CC \uD45C\uC2DC\uB418\uB294\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC774 \uC124\uC815\uC740 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC774\uC81C \uC81C\uC548 \uC704\uC82F\uC758 \uD06C\uAE30\uB97C \uC870\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uC774 \uC124\uC815\uC740 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 'editor.suggest.showKeywords'\uB610\uB294 'editor.suggest.showSnippets'\uC640 \uAC19\uC740 \uBCC4\uB3C4\uC758 \uC124\uC815\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 `\uBA54\uC11C\uB4DC` \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD568\uC218' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC0DD\uC131\uC790' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC74C' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","IntelliSense \uD544\uD130\uB9C1\uC744 \uD65C\uC131\uD654\uD558\uBA74 \uCCAB \uBC88\uC9F8 \uBB38\uC790\uAC00 \uB2E8\uC5B4 \uC2DC\uC791 \uBD80\uBD84\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4(\uC608: `c`\uC758 \uACBD\uC6B0 `Console` \uB610\uB294 `WebContext`\uAC00 \uB420 \uC218 \uC788\uC73C\uBA70 `description`\uC740 _\uC548 \uB428_). \uBE44\uD65C\uC131\uD654\uD558\uBA74 IntelliSense\uAC00 \uB354 \uB9CE\uC740 \uACB0\uACFC\uB97C \uD45C\uC2DC\uD558\uC9C0\uB9CC \uC5EC\uC804\uD788 \uC77C\uCE58 \uD488\uC9C8\uC744 \uAE30\uC900\uC73C\uB85C \uC815\uB82C\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD544\uB4DC' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uBCC0\uC218' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD074\uB798\uC2A4' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uAD6C\uC870' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC778\uD130\uD398\uC774\uC2A4' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uBAA8\uB4C8' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC18D\uC131' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC774\uBCA4\uD2B8' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 `\uC5F0\uC0B0\uC790` \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uB2E8\uC704' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uAC12' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC0C1\uC218' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC5F4\uAC70\uD615' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 `enumMember` \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD0A4\uC6CC\uB4DC' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD14D\uC2A4\uD2B8' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC0C9' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 `\uD30C\uC77C` \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uCC38\uC870' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uC0C9' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uD3F4\uB354' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB41C \uACBD\uC6B0 IntelliSense\uC5D0 'typeParameter' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uBA74 IntelliSense\uC5D0 '\uCF54\uB4DC \uC870\uAC01' \uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","IntelliSense\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD558\uBA74 `user`-\uC81C\uC548\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","IntelliSense\uB97C \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD55C \uACBD\uC6B0 `issues`-\uC81C\uC548\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC120\uD589 \uBC0F \uD6C4\uD589 \uACF5\uBC31\uC744 \uD56D\uC0C1 \uC120\uD0DD\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uC785\uB2C8\uB2E4.","\uD558\uC704 \uB2E8\uC5B4(\uC608: 'fooBar'\uC758 'foo' \uB610\uB294 'foo_bar')\uB97C \uC120\uD0DD\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uC785\uB2C8\uB2E4.","\uB4E4\uC5EC\uC4F0\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC904 \uBC14\uAFC8 \uD589\uC774 \uC5F4 1\uC5D0\uC11C \uC2DC\uC791\uB429\uB2C8\uB2E4.","\uC904 \uBC14\uAFC8 \uD589\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uAC00 \uBD80\uBAA8\uC640 \uB3D9\uC77C\uD569\uB2C8\uB2E4.","\uC904 \uBC14\uAFC8 \uD589\uC774 \uBD80\uBAA8 \uCABD\uC73C\uB85C +1\uB9CC\uD07C \uB4E4\uC5EC\uC4F0\uAE30\uB429\uB2C8\uB2E4.","\uC904 \uBC14\uAFC8 \uD589\uC774 \uBD80\uBAA8 \uCABD\uC73C\uB85C +2\uB9CC\uD07C \uB4E4\uC5EC\uC4F0\uAE30\uB429\uB2C8\uB2E4.","\uC904 \uBC14\uAFC8 \uD589\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD30C\uC77C\uC744 \uC5EC\uB294 \uB300\uC2E0 `shift`\uB97C \uB204\uB978 \uCC44 \uD30C\uC77C\uC744 \uD14D\uC2A4\uD2B8 \uD3B8\uC9D1\uAE30\uB85C \uB04C\uC5B4\uC11C \uB193\uC744 \uC218 \uC788\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0 \uD30C\uC77C\uC744 \uB04C\uC5B4 \uB193\uC744 \uB54C \uC704\uC82F\uC744 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC774 \uC704\uC82F\uC744 \uC0AC\uC6A9\uD558\uBA74 \uD30C\uC77C\uC744 \uB4DC\uB86D\uD558\uB294 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uD30C\uC77C\uC774 \uD3B8\uC9D1\uAE30\uC5D0 \uB4DC\uB86D\uB41C \uD6C4 \uB4DC\uB86D \uC120\uD0DD\uAE30 \uC704\uC82F\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uB4DC\uB86D \uC120\uD0DD\uAE30 \uC704\uC82F\uC744 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 \uAE30\uBCF8 \uB4DC\uB86D \uACF5\uAE09\uC790\uAC00 \uD56D\uC0C1 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uCF58\uD150\uCE20\uB97C \uB2E4\uB978 \uBC29\uBC95\uC73C\uB85C \uBD99\uC5EC\uB123\uC744 \uC218 \uC788\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCF58\uD150\uCE20\uB97C \uD3B8\uC9D1\uAE30\uC5D0 \uBD99\uC5EC\uB123\uC744 \uB54C \uC704\uC82F\uC744 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC774 \uC704\uC82F\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD30C\uC77C\uC744 \uBD99\uC5EC\uB123\uB294 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uCF58\uD150\uCE20\uB97C \uD3B8\uC9D1\uAE30\uC5D0 \uBD99\uC5EC\uB123\uC740 \uD6C4 \uBD99\uC5EC\uB123\uAE30 \uC120\uD0DD\uAE30 \uC704\uC82F\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uBD99\uC5EC\uB123\uAE30 \uC120\uD0DD\uAE30 \uC704\uC82F\uC744 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 \uAE30\uBCF8 \uBD99\uC5EC\uB123\uAE30 \uB3D9\uC791\uC774 \uD56D\uC0C1 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uCEE4\uBC0B \uBB38\uC790\uC5D0 \uB300\uD55C \uC81C\uC548\uC744 \uD5C8\uC6A9\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 JavaScript\uC5D0\uC11C\uB294 \uC138\uBBF8\uCF5C\uB860(';')\uC774 \uC81C\uC548\uC744 \uD5C8\uC6A9\uD558\uACE0 \uD574\uB2F9 \uBB38\uC790\uB97C \uC785\uB825\uD558\uB294 \uCEE4\uBC0B \uBB38\uC790\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8\uB97C \uBCC0\uACBD\uD560 \uB54C `Enter` \uD0A4\uB97C \uC0AC\uC6A9\uD55C \uC81C\uC548\uB9CC \uD5C8\uC6A9\uD569\uB2C8\uB2E4.","'Tab' \uD0A4 \uC678\uC5D0 'Enter' \uD0A4\uC5D0 \uB300\uD55C \uC81C\uC548\uB3C4 \uD5C8\uC6A9\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC0C8 \uC904\uC744 \uC0BD\uC785\uD558\uB294 \uB3D9\uC791\uACFC \uC81C\uC548\uC744 \uD5C8\uC6A9\uD558\uB294 \uB3D9\uC791 \uAC04\uC758 \uBAA8\uD638\uD568\uC744 \uC5C6\uC568 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC5D0\uC11C \uD55C \uBC88\uC5D0 \uC77D\uC744 \uC218 \uC788\uB294 \uD3B8\uC9D1\uAE30 \uC904 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC744 \uAC80\uC0C9\uD558\uBA74 \uAE30\uBCF8\uAC12\uC774 500\uC73C\uB85C \uC790\uB3D9 \uC124\uC815\uB429\uB2C8\uB2E4. \uACBD\uACE0: \uAE30\uBCF8\uAC12\uBCF4\uB2E4 \uD070 \uC218\uC758 \uACBD\uC6B0 \uC131\uB2A5\uC5D0 \uC601\uD5A5\uC744 \uBBF8\uCE69\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCF58\uD150\uCE20","\uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC5D0\uC11C \uC778\uB77C\uC778 \uC81C\uC548\uC744 \uBC1C\uD45C\uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5B8\uC5B4 \uAD6C\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uB300\uAD04\uD638\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744 \uACBD\uC6B0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4.","\uCEE4\uC11C\uAC00 \uACF5\uBC31\uC758 \uC67C\uCABD\uC5D0 \uC788\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uB300\uAD04\uD638\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC2B5\uB2C8\uB2E4.","\uC0AC\uC6A9\uC790\uAC00 \uC5EC\uB294 \uAD04\uD638\uB97C \uCD94\uAC00\uD55C \uD6C4 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uAD04\uD638\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5B8\uC5B4 \uAD6C\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC8FC\uC11D\uC744 \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744 \uACBD\uC6B0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4.","\uCEE4\uC11C\uAC00 \uACF5\uBC31\uC758 \uC67C\uCABD\uC5D0 \uC788\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uC8FC\uC11D\uC744 \uC790\uB3D9\uC73C\uB85C \uB2EB\uC2B5\uB2C8\uB2E4.","\uC0AC\uC6A9\uC790\uAC00 \uC5EC\uB294 \uC8FC\uC11D\uC744 \uCD94\uAC00\uD55C \uD6C4 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC8FC\uC11D\uC744 \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC778\uC811\uD55C \uB2EB\uB294 \uB530\uC634\uD45C \uB610\uB294 \uB300\uAD04\uD638\uAC00 \uC790\uB3D9\uC73C\uB85C \uC0BD\uC785\uB41C \uACBD\uC6B0\uC5D0\uB9CC \uC81C\uAC70\uD569\uB2C8\uB2E4.","\uC0AD\uC81C\uD560 \uB54C \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uC811\uD55C \uB2EB\uB294 \uB530\uC634\uD45C \uB610\uB294 \uB300\uAD04\uD638\uB97C \uC81C\uAC70\uD574\uC57C \uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB2EB\uAE30 \uB530\uC634\uD45C \uB610\uB294 \uB300\uAD04\uD638\uAC00 \uC790\uB3D9\uC73C\uB85C \uC0BD\uC785\uB41C \uACBD\uC6B0\uC5D0\uB9CC \uD574\uB2F9 \uD56D\uBAA9 \uC704\uC5D0 \uC785\uB825\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uC790\uAC00 \uB2EB\uB294 \uB530\uC634\uD45C \uB610\uB294 \uB300\uAD04\uD638 \uC704\uC5D0 \uC785\uB825\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5B8\uC5B4 \uAD6C\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uB530\uC634\uD45C\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744 \uACBD\uC6B0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4.","\uCEE4\uC11C\uAC00 \uACF5\uBC31\uC758 \uC67C\uCABD\uC5D0 \uC788\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uB530\uC634\uD45C\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC2B5\uB2C8\uB2E4.","\uC0AC\uC6A9\uC790\uAC00 \uC5EC\uB294 \uB530\uC634\uD45C\uB97C \uCD94\uAC00\uD55C \uD6C4 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB530\uC634\uD45C\uB97C \uC790\uB3D9\uC73C\uB85C \uB2EB\uC744\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uB294 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC790\uB3D9\uC73C\uB85C \uC0BD\uC785\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uB294 \uD604\uC7AC \uC904\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC720\uC9C0\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uB294 \uD604\uC7AC \uC904\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC720\uC9C0\uD558\uACE0 \uC5B8\uC5B4 \uC815\uC758 \uB300\uAD04\uD638\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uB294 \uD604\uC7AC \uC904\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC720\uC9C0\uD558\uACE0 \uC5B8\uC5B4 \uC815\uC758 \uB300\uAD04\uD638\uB97C \uC874\uC911\uD558\uBA70 \uC5B8\uC5B4\uBCC4\uB85C \uC815\uC758\uB41C \uD2B9\uBCC4 EnterRules\uB97C \uD638\uCD9C\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uB294 \uD604\uC7AC \uC904\uC758 \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC720\uC9C0\uD558\uACE0, \uC5B8\uC5B4 \uC815\uC758 \uB300\uAD04\uD638\uB97C \uC874\uC911\uD558\uACE0, \uC5B8\uC5B4\uC5D0 \uC758\uD574 \uC815\uC758\uB41C \uD2B9\uBCC4 EnterRules\uB97C \uD638\uCD9C\uD558\uACE0, \uC5B8\uC5B4\uC5D0 \uC758\uD574 \uC815\uC758\uB41C \uB4E4\uC5EC\uC4F0\uAE30 \uADDC\uCE59\uC744 \uC874\uC911\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9\uC790\uAC00 \uC904\uC744 \uC785\uB825, \uBD99\uC5EC\uB123\uAE30, \uC774\uB3D9 \uB610\uB294 \uB4E4\uC5EC\uC4F0\uAE30 \uD560 \uB54C \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uC790\uB3D9\uC73C\uB85C \uC870\uC815\uD558\uB3C4\uB85D \uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC5B8\uC5B4 \uAD6C\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC120\uD0DD \uD56D\uBAA9\uC744 \uC790\uB3D9\uC73C\uB85C \uB458\uB7EC\uC300 \uACBD\uC6B0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uAC00 \uC544\uB2CC \uB530\uC634\uD45C\uB85C \uB458\uB7EC\uC309\uB2C8\uB2E4.","\uB530\uC634\uD45C\uAC00 \uC544\uB2CC \uB300\uAD04\uD638\uB85C \uB458\uB7EC\uC309\uB2C8\uB2E4.","\uB530\uC634\uD45C \uB610\uB294 \uB300\uAD04\uD638 \uC785\uB825 \uC2DC \uD3B8\uC9D1\uAE30\uAC00 \uC790\uB3D9\uC73C\uB85C \uC120\uD0DD \uC601\uC5ED\uC744 \uB458\uB7EC\uC300\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB4E4\uC5EC\uC4F0\uAE30\uC5D0 \uACF5\uBC31\uC744 \uC0AC\uC6A9\uD560 \uB54C \uD0ED \uBB38\uC790\uC758 \uC120\uD0DD \uB3D9\uC791\uC744 \uC5D0\uBBAC\uB808\uC774\uD2B8\uD569\uB2C8\uB2E4. \uC120\uD0DD \uC601\uC5ED\uC774 \uD0ED \uC815\uC9C0\uC5D0 \uACE0\uC815\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C CodeLens\uB97C \uD45C\uC2DC\uD560 \uAC83\uC778\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","CodeLens\uC758 \uAE00\uAF34 \uD328\uBC00\uB9AC\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","CodeLens\uC758 \uAE00\uAF34 \uD06C\uAE30(\uD53D\uC140)\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. 0\uC73C\uB85C \uC124\uC815\uD558\uBA74 `#editor.fontSize#`\uC758 90%\uAC00 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC778\uB77C\uC778 \uC0C9 \uB370\uCF54\uB808\uC774\uD130 \uBC0F \uC0C9 \uC120\uD0DD\uC744 \uB80C\uB354\uB9C1\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC0C9 \uB370\uCF54\uB808\uC774\uD130\uB97C \uD074\uB9AD\uD558\uACE0 \uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0AC \uB54C \uC0C9 \uC120\uD0DD\uAE30\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC0C9 \uB370\uCF54\uB808\uC774\uD130\uB97C \uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0A4\uBA74 \uC0C9 \uC120\uD0DD\uAE30\uAC00 \uD45C\uC2DC\uB418\uB3C4\uB85D \uC124\uC815","\uC0C9 \uB370\uCF54\uB808\uC774\uD130\uB97C \uD074\uB9AD\uD560 \uB54C \uC0C9 \uC120\uD0DD\uAE30\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC0C9 \uB370\uCF54\uB808\uC774\uD130\uC5D0\uC11C \uC0C9 \uC120\uD0DD\uAE30\uB97C \uD45C\uC2DC\uD558\uB3C4\uB85D \uC870\uAC74\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD55C \uBC88\uC5D0 \uB80C\uB354\uB9C1\uD560 \uC218 \uC788\uB294 \uCD5C\uB300 \uC0C9 \uB370\uCF54\uB808\uC774\uD130 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uC640 \uD0A4\uB85C \uC120\uD0DD\uD55C \uC601\uC5ED\uC5D0\uC11C \uC5F4\uC744 \uC120\uD0DD\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uAD6C\uBB38 \uAC15\uC870 \uD45C\uC2DC\uB97C \uD074\uB9BD\uBCF4\uB4DC\uB85C \uBCF5\uC0AC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCEE4\uC11C \uC560\uB2C8\uBA54\uC774\uC158 \uC2A4\uD0C0\uC77C\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBD80\uB4DC\uB7EC\uC6B4 \uCE90\uB7FF \uC560\uB2C8\uBA54\uC774\uC158\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBD80\uB4DC\uB7EC\uC6B4 \uCE90\uB7FF \uC560\uB2C8\uBA54\uC774\uC158\uC740 \uC0AC\uC6A9\uC790\uAC00 \uBA85\uC2DC\uC801 \uC81C\uC2A4\uCC98\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCEE4\uC11C\uB97C \uC774\uB3D9\uD560 \uB54C\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uBD80\uB4DC\uB7EC\uC6B4 \uCE90\uB7FF \uC560\uB2C8\uBA54\uC774\uC158\uC740 \uD56D\uC0C1 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uB9E4\uB044\uB7EC\uC6B4 \uCE90\uB7FF \uC560\uB2C8\uBA54\uC774\uC158\uC758 \uC0AC\uC6A9 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCEE4\uC11C \uC2A4\uD0C0\uC77C\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCEE4\uC11C \uC8FC\uBCC0\uC5D0 \uD45C\uC2DC\uB418\uB294 \uC120\uD589 \uC904(\uCD5C\uC18C 0)\uACFC \uD6C4\uD589 \uC904(\uCD5C\uC18C 1)\uC758 \uCD5C\uC18C \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC77C\uBD80 \uB2E4\uB978 \uD3B8\uC9D1\uAE30\uC5D0\uC11C\uB294 'scrollOff' \uB610\uB294 'scrollOffset'\uC73C\uB85C \uC54C\uB824\uC838 \uC788\uC2B5\uB2C8\uB2E4.","'cursorSurroundingLines'\uB294 \uD0A4\uBCF4\uB4DC \uB098 API\uB97C \uD1B5\uD574 \uD2B8\uB9AC\uAC70\uB420 \uB54C\uB9CC \uC801\uC6A9\uB429\uB2C8\uB2E4.","`cursorSurroundingLines`\uB294 \uD56D\uC0C1 \uC801\uC6A9\uB429\uB2C8\uB2E4.","'#cursorSurroundingLines#'\uB97C \uC801\uC6A9\uD574\uC57C \uD558\uB294 \uACBD\uC6B0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","`#editor.cursorStyle#` \uC124\uC815\uC774 'line'\uC73C\uB85C \uC124\uC815\uB418\uC5B4 \uC788\uC744 \uB54C \uCEE4\uC11C\uC758 \uB113\uC774\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB04C\uC5B4\uC11C \uB193\uAE30\uB85C \uC120\uD0DD \uC601\uC5ED\uC744 \uC774\uB3D9\uD560 \uC218 \uC788\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","svgs\uC640 \uD568\uAED8 \uC0C8 \uB80C\uB354\uB9C1 \uBA54\uC11C\uB4DC\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uAE00\uAF34 \uBB38\uC790\uC640 \uD568\uAED8 \uC0C8 \uB80C\uB354\uB9C1 \uBC29\uBC95\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uC548\uC815\uC801\uC778 \uB80C\uB354\uB9C1 \uBC29\uBC95\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uACF5\uBC31\uC774 \uC0C8\uB85C\uC6B4 \uC2E4\uD5D8\uC801 \uBA54\uC11C\uB4DC\uB85C \uB80C\uB354\uB9C1\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","'Alt' \uD0A4\uB97C \uB204\uB97C \uB54C \uC2A4\uD06C\uB864 \uC18D\uB3C4 \uC2B9\uC218\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0 \uCF54\uB4DC \uC811\uAE30\uAC00 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uACBD\uC6B0 \uC5B8\uC5B4\uBCC4 \uC811\uAE30 \uC804\uB7B5\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uADF8\uB807\uC9C0 \uC54A\uC740 \uACBD\uC6B0 \uB4E4\uC5EC\uC4F0\uAE30 \uAE30\uBC18 \uC804\uB7B5\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uB4E4\uC5EC\uC4F0\uAE30 \uAE30\uBC18 \uC811\uAE30 \uC804\uB7B5\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uC811\uAE30 \uBC94\uC704\uB97C \uACC4\uC0B0\uD558\uAE30 \uC704\uD55C \uC804\uB7B5\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC811\uD78C \uBC94\uC704\uB97C \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uAC00\uC838\uC624\uAE30 \uBC94\uC704\uB97C \uC790\uB3D9\uC73C\uB85C \uCD95\uC18C\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3F4\uB354\uBE14 \uC601\uC5ED\uC758 \uCD5C\uB300 \uC218\uC785\uB2C8\uB2E4. \uD604\uC7AC \uC6D0\uBCF8\uC5D0 \uD3F4\uB354\uBE14 \uC601\uC5ED\uC774 \uB9CE\uC744 \uB54C \uC774 \uAC12\uC744 \uB298\uB9AC\uBA74 \uD3B8\uC9D1\uAE30\uC758 \uBC18\uC751\uC774 \uB5A8\uC5B4\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uC811\uD78C \uC904\uC774 \uC904\uC744 \uD3BC\uCE5C \uD6C4 \uBE48 \uCF58\uD150\uCE20\uB97C \uD074\uB9AD\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAE00\uAF34 \uD328\uBC00\uB9AC\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBD99\uC5EC\uB123\uC740 \uCF58\uD150\uCE20\uC758 \uC11C\uC2DD\uC744 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uC9C0\uC815\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uD3EC\uB9F7\uD130\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4\uC57C \uD558\uBA70 \uD3EC\uB9F7\uD130\uAC00 \uBB38\uC11C\uC5D0\uC11C \uBC94\uC704\uC758 \uC11C\uC2DD\uC744 \uC9C0\uC815\uD560 \uC218 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.","\uC785\uB825 \uD6C4 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uC904\uC758 \uC11C\uC2DD\uC744 \uC9C0\uC815\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC138\uB85C \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC744 \uB80C\uB354\uB9C1\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC740 \uC8FC\uB85C \uB514\uBC84\uAE45\uC5D0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uCEE4\uC11C\uAC00 \uAC1C\uC694 \uB208\uAE08\uC790\uC5D0\uC11C \uAC00\uB824\uC838\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBB38\uC790 \uAC04\uACA9(\uD53D\uC140)\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC5F0\uACB0\uB41C \uD3B8\uC9D1\uC774 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uC5C8\uB294\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC5B8\uC5B4\uC5D0 \uB530\uB77C \uAD00\uB828 \uAE30\uD638(\uC608: HTML \uD0DC\uADF8)\uAC00 \uD3B8\uC9D1 \uC911\uC5D0 \uC5C5\uB370\uC774\uD2B8\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB9C1\uD06C\uB97C \uAC10\uC9C0\uD558\uACE0 \uD074\uB9AD\uD560 \uC218 \uC788\uAC8C \uB9CC\uB4E4\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC77C\uCE58\uD558\uB294 \uB300\uAD04\uD638\uB97C \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4 \uD720 \uC2A4\uD06C\uB864 \uC774\uBCA4\uD2B8\uC758 `deltaX` \uBC0F `deltaY`\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC2B9\uC218\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4 \uD720\uC744 \uC0AC\uC6A9\uD560 \uB54C 'Ctrl' \uD0A4\uB97C \uB204\uB974\uACE0 \uC788\uC73C\uBA74 \uD3B8\uC9D1\uAE30\uC758 \uAE00\uAF34\uC744 \uD655\uB300/\uCD95\uC18C\uD569\uB2C8\uB2E4.","\uC5EC\uB7EC \uCEE4\uC11C\uAC00 \uACB9\uCE58\uB294 \uACBD\uC6B0 \uCEE4\uC11C\uB97C \uBCD1\uD569\uD569\uB2C8\uB2E4.","Windows\uC640 Linux\uC758 'Control'\uC744 macOS\uC758 'Command'\uB85C \uB9E4\uD551\uD569\uB2C8\uB2E4.","Windows\uC640 Linux\uC758 'Alt'\uB97C macOS\uC758 'Option'\uC73C\uB85C \uB9E4\uD551\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uC5EC\uB7EC \uCEE4\uC11C\uB97C \uCD94\uAC00\uD560 \uB54C \uC0AC\uC6A9\uD560 \uC218\uC815\uC790\uC785\uB2C8\uB2E4. [\uC815\uC758\uB85C \uC774\uB3D9] \uBC0F [\uB9C1\uD06C \uC5F4\uAE30] \uB9C8\uC6B0\uC2A4 \uC81C\uC2A4\uCC98\uAC00 [\uBA40\uD2F0\uCEE4\uC11C \uC218\uC815\uC790\uC640](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier) \uCDA9\uB3CC\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC870\uC815\uB429\uB2C8\uB2E4.","\uAC01 \uCEE4\uC11C\uB294 \uD14D\uC2A4\uD2B8 \uD55C \uC904\uC744 \uBD99\uC5EC\uB123\uC2B5\uB2C8\uB2E4.","\uAC01 \uCEE4\uC11C\uB294 \uC804\uCCB4 \uD14D\uC2A4\uD2B8\uB97C \uBD99\uC5EC\uB123\uC2B5\uB2C8\uB2E4.","\uBD99\uC5EC\uB123\uC740 \uD14D\uC2A4\uD2B8\uC758 \uC904 \uC218\uAC00 \uCEE4\uC11C \uC218\uC640 \uC77C\uCE58\uD558\uB294 \uACBD\uC6B0 \uBD99\uC5EC\uB123\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD55C \uBC88\uC5D0 \uD65C\uC131 \uD3B8\uC9D1\uAE30\uC5D0 \uC788\uC744 \uC218 \uC788\uB294 \uCD5C\uB300 \uCEE4\uC11C \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC758\uBBF8 \uCCB4\uACC4 \uAE30\uD638 \uD56D\uBAA9\uC744 \uAC15\uC870 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAC1C\uC694 \uB208\uAE08\uC790 \uC8FC\uC704\uC5D0 \uD14C\uB450\uB9AC\uB97C \uADF8\uB9B4\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","Peek\uB97C \uC5EC\uB294 \uB3D9\uC548 \uD2B8\uB9AC\uC5D0 \uD3EC\uCEE4\uC2A4","\uBBF8\uB9AC \uBCF4\uAE30\uB97C \uC5F4 \uB54C \uD3B8\uC9D1\uAE30\uC5D0 \uD3EC\uCEE4\uC2A4","\uBBF8\uB9AC \uBCF4\uAE30 \uC704\uC82F\uC5D0\uC11C \uC778\uB77C\uC778 \uD3B8\uC9D1\uAE30\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uB458\uC9C0 \uB610\uB294 \uD2B8\uB9AC\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uB458\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC774\uB3D9 \uC815\uC758 \uB9C8\uC6B0\uC2A4 \uC81C\uC2A4\uCC98\uAC00 \uD56D\uC0C1 \uBBF8\uB9AC \uBCF4\uAE30 \uC704\uC82F\uC744 \uC5F4\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBE60\uB978 \uC81C\uC548\uC744 \uD45C\uC2DC\uD558\uAE30 \uC804\uAE4C\uC9C0\uC758 \uC9C0\uC5F0 \uC2DC\uAC04(\uBC00\uB9AC\uCD08)\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uAC00 \uC720\uD615\uC5D0 \uB530\uB77C \uC790\uB3D9\uC73C\uB85C \uC774\uB984\uC744 \uBC14\uAFC0\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 `editor.linkedEditing`\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC81C\uC5B4 \uBB38\uC790\uB97C \uB80C\uB354\uB9C1\uD560\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD30C\uC77C\uC774 \uC904 \uBC14\uAFC8\uC73C\uB85C \uB05D\uB098\uBA74 \uB9C8\uC9C0\uB9C9 \uC904 \uBC88\uD638\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.","\uC81C\uBCF8\uC6A9 \uC5EC\uBC31\uACFC \uD604\uC7AC \uC904\uC744 \uBAA8\uB450 \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uAC00 \uD604\uC7AC \uC904 \uAC15\uC870 \uD45C\uC2DC\uB97C \uB80C\uB354\uB9C1\uD558\uB294 \uBC29\uC2DD\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD604\uC7AC \uC904 \uAC15\uC870 \uD45C\uC2DC\uB97C \uB80C\uB354\uB9C1\uD574\uC57C \uD558\uB294\uC9C0 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB2E8\uC5B4 \uC0AC\uC774\uC758 \uACF5\uBC31 \uD558\uB098\uB97C \uC81C\uC678\uD55C \uACF5\uBC31 \uBB38\uC790\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.","\uC120\uD0DD\uD55C \uD14D\uC2A4\uD2B8\uC5D0\uC11C\uB9CC \uACF5\uBC31 \uBB38\uC790\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.","\uD6C4\uD589 \uACF5\uBC31 \uBB38\uC790\uB9CC \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACF5\uBC31 \uBB38\uC790\uB97C \uB80C\uB354\uB9C1\uD560 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC120\uD0DD \uD56D\uBAA9\uC758 \uBAA8\uC11C\uB9AC\uB97C \uB465\uAE00\uAC8C \uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uAC00\uB85C\uB85C \uC2A4\uD06C\uB864\uB418\uB294 \uBC94\uC704\uB97C \uBC97\uC5B4\uB098\uB294 \uCD94\uAC00 \uBB38\uC790\uC758 \uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB9C8\uC9C0\uB9C9 \uC904 \uC774\uD6C4\uB85C \uC2A4\uD06C\uB864\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC138\uB85C\uC640 \uAC00\uB85C\uB85C \uB3D9\uC2DC\uC5D0 \uC2A4\uD06C\uB864\uD560 \uB54C\uC5D0\uB9CC \uC8FC\uCD95\uC744 \uB530\uB77C\uC11C \uC2A4\uD06C\uB864\uD569\uB2C8\uB2E4. \uD2B8\uB799\uD328\uB4DC\uC5D0\uC11C \uC138\uB85C\uB85C \uC2A4\uD06C\uB864\uD560 \uB54C \uAC00\uB85C \uB4DC\uB9AC\uD504\uD2B8\uB97C \uBC29\uC9C0\uD569\uB2C8\uB2E4.","Linux \uC8FC \uD074\uB9BD\uBCF4\uB4DC\uC758 \uC9C0\uC6D0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uAC00 \uC120\uD0DD \uD56D\uBAA9\uACFC \uC720\uC0AC\uD55C \uC77C\uCE58 \uD56D\uBAA9\uC744 \uAC15\uC870 \uD45C\uC2DC\uD574\uC57C\uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC811\uAE30 \uCEE8\uD2B8\uB864\uC744 \uD56D\uC0C1 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC811\uAE30 \uCEE8\uD2B8\uB864\uC744 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uACE0 \uC5EC\uBC31 \uD06C\uAE30\uB97C \uC904\uC774\uC138\uC694.","\uB9C8\uC6B0\uC2A4\uAC00 \uC5EC\uBC31 \uC704\uC5D0 \uC788\uC744 \uB54C\uC5D0\uB9CC \uC811\uAE30 \uCEE8\uD2B8\uB864\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC5EC\uBC31\uC758 \uC811\uAE30 \uCEE8\uD2B8\uB864\uC774 \uD45C\uC2DC\uB418\uB294 \uC2DC\uAE30\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294 \uCF54\uB4DC\uC758 \uD398\uC774\uB4DC \uC544\uC6C3\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uCDE8\uC18C\uC120 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uB294 \uBCC0\uC218\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB2E4\uB978 \uC81C\uC548 \uC704\uC5D0 \uC870\uAC01 \uC81C\uC548\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uB2E4\uB978 \uC81C\uC548 \uC544\uB798\uC5D0 \uC870\uAC01 \uC81C\uC548\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uB2E4\uB978 \uC81C\uC548\uACFC \uD568\uAED8 \uC870\uAC01 \uC81C\uC548\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01 \uC81C\uC548\uC744 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01\uC774 \uB2E4\uB978 \uCD94\uCC9C\uACFC \uD568\uAED8 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80 \uBC0F \uC815\uB82C \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC560\uB2C8\uBA54\uC774\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC2A4\uD06C\uB864\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uC644\uC131\uC774 \uD45C\uC2DC\uB420 \uB54C \uD654\uBA74 \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8 \uC0AC\uC6A9\uC790\uC5D0\uAC8C \uC811\uADFC\uC131 \uD78C\uD2B8\uB97C \uC81C\uACF5\uD574\uC57C \uD558\uB294\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F\uC758 \uAE00\uAF34 \uD06C\uAE30\uC785\uB2C8\uB2E4. {0}(\uC73C)\uB85C \uC124\uC815\uD558\uBA74 {1} \uAC12\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F\uC758 \uC904 \uB192\uC774\uC785\uB2C8\uB2E4. {0}(\uC73C)\uB85C \uC124\uC815\uD558\uBA74 {1} \uAC12\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uCD5C\uC18C\uAC12\uC740 8\uC785\uB2C8\uB2E4.","\uD2B8\uB9AC\uAC70 \uBB38\uC790\uB97C \uC785\uB825\uD560 \uB54C \uC81C\uC548\uC744 \uC790\uB3D9\uC73C\uB85C \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD56D\uC0C1 \uCCAB \uBC88\uC9F8 \uC81C\uC548\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.","`log`\uAC00 \uCD5C\uADFC\uC5D0 \uC644\uB8CC\uB418\uC5C8\uC73C\uBBC0\uB85C \uCD94\uAC00 \uC785\uB825\uC5D0\uC11C \uC81C\uC548\uC744 \uC120\uD0DD\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0 \uCD5C\uADFC \uC81C\uC548\uC744 \uC120\uD0DD\uD558\uC138\uC694(\uC608: `console.| -> console.log`).","\uD574\uB2F9 \uC81C\uC548\uC744 \uC644\uB8CC\uD55C \uC774\uC804 \uC811\uB450\uC0AC\uC5D0 \uB530\uB77C \uC81C\uC548\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4(\uC608: `co -> console` \uBC0F `con -> const`).","\uC81C\uC548 \uBAA9\uB85D\uC744 \uD45C\uC2DC\uD560 \uB54C \uC81C\uD55C\uC774 \uBBF8\uB9AC \uC120\uD0DD\uB418\uB294 \uBC29\uC2DD\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD0ED \uC644\uB8CC\uB294 \uD0ED\uC744 \uB204\uB97C \uB54C \uAC00\uC7A5 \uC77C\uCE58\uD558\uB294 \uC81C\uC548\uC744 \uC0BD\uC785\uD569\uB2C8\uB2E4.","\uD0ED \uC644\uC131\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uC811\uB450\uC0AC\uAC00 \uC77C\uCE58\uD558\uB294 \uACBD\uC6B0 \uCF54\uB4DC \uC870\uAC01\uC744 \uD0ED \uC644\uB8CC\uD569\uB2C8\uB2E4. 'quickSuggestions'\uB97C \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC744 \uB54C \uAC00\uC7A5 \uC798 \uC791\uB3D9\uD569\uB2C8\uB2E4.","\uD0ED \uC644\uC131\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD569\uB2C8\uB2E4.","\uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790\uAC00 \uC790\uB3D9\uC73C\uB85C \uC81C\uAC70\uB429\uB2C8\uB2E4.","\uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790\uAC00 \uBB34\uC2DC\uB429\uB2C8\uB2E4.","\uC81C\uAC70\uD560 \uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790 \uD504\uB86C\uD504\uD2B8\uC785\uB2C8\uB2E4.","\uBB38\uC81C\uB97C \uC77C\uC73C\uD0AC \uC218 \uC788\uB294 \uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790\uB97C \uC81C\uAC70\uD569\uB2C8\uB2E4.","\uD0ED \uC815\uC9C0 \uB4A4\uC5D0 \uACF5\uBC31\uC744 \uC0BD\uC785 \uBC0F \uC0AD\uC81C\uD569\uB2C8\uB2E4.","\uAE30\uBCF8 \uC904 \uBC14\uAFC8 \uADDC\uCE59\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uB2E8\uC5B4 \uBD84\uB9AC\uB294 \uC911\uAD6D\uC5B4/\uC77C\uBCF8\uC5B4/\uD55C\uAD6D\uC5B4(CJK) \uD14D\uC2A4\uD2B8\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. CJK\uAC00 \uC544\uB2CC \uD14D\uC2A4\uD2B8 \uB3D9\uC791\uC740 \uC77C\uBC18 \uD14D\uC2A4\uD2B8 \uB3D9\uC791\uACFC \uAC19\uC2B5\uB2C8\uB2E4.","\uC911\uAD6D\uC5B4/\uC77C\uBCF8\uC5B4/\uD55C\uAD6D\uC5B4(CJK) \uD14D\uC2A4\uD2B8\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4 \uBD84\uB9AC \uADDC\uCE59\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB2E8\uC5B4 \uAD00\uB828 \uD0D0\uC0C9 \uB610\uB294 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uB54C \uB2E8\uC5B4 \uAD6C\uBD84 \uAE30\uD638\uB85C \uC0AC\uC6A9\uD560 \uBB38\uC790\uC785\uB2C8\uB2E4.","\uC904\uC774 \uBC14\uB00C\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uBDF0\uD3EC\uD2B8 \uB108\uBE44\uC5D0\uC11C \uC904\uC774 \uBC14\uB01D\uB2C8\uB2E4.","`#editor.wordWrapColumn#`\uC5D0\uC11C \uC904\uC774 \uBC14\uB01D\uB2C8\uB2E4.","\uBDF0\uD3EC\uD2B8\uC758 \uCD5C\uC18C\uAC12 \uBC0F `#editor.wordWrapColumn#`\uC5D0\uC11C \uC904\uC774 \uBC14\uB01D\uB2C8\uB2E4.","\uC904 \uBC14\uAFC8 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","`#editor.wordWrap#`\uC774 `wordWrapColumn` \uB610\uB294 'bounded'\uC778 \uACBD\uC6B0 \uD3B8\uC9D1\uAE30\uC758 \uC5F4 \uC904 \uBC14\uAFC8\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAE30\uBCF8 \uBB38\uC11C \uC0C9 \uACF5\uAE09\uC790\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC778\uB77C\uC778 \uC0C9 \uC7A5\uC2DD\uC744 \uD45C\uC2DC\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD0ED\uC744 \uBC1B\uC744\uC9C0 \uB610\uB294 \uD0D0\uC0C9\uC744 \uC704\uD574 \uC6CC\uD06C\uBCA4\uCE58\uB85C \uBBF8\uB8F0\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4."],"vs/editor/common/core/editorColorRegistry":["\uCEE4\uC11C \uC704\uCE58\uC758 \uC904 \uAC15\uC870 \uD45C\uC2DC\uC5D0 \uB300\uD55C \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uCEE4\uC11C \uC704\uCE58\uC758 \uC904 \uD14C\uB450\uB9AC\uC5D0 \uB300\uD55C \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBE60\uB978 \uC5F4\uAE30 \uBC0F \uCC3E\uAE30 \uAE30\uB2A5 \uB4F1\uC744 \uD1B5\uD574 \uAC15\uC870 \uD45C\uC2DC\uB41C \uC601\uC5ED\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAC15\uC870 \uC601\uC5ED \uC8FC\uBCC0\uC758 \uD14C\uB450\uB9AC\uC5D0 \uB300\uD55C \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4","\uAC15\uC870 \uD45C\uC2DC\uB41C \uAE30\uD638(\uC608: \uC815\uC758\uB85C \uC774\uB3D9 \uB610\uB294 \uB2E4\uC74C/\uC774\uC804 \uAE30\uD638\uB85C \uC774\uB3D9)\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC0C1\uC740 \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAC15\uC870 \uD45C\uC2DC\uB41C \uAE30\uD638 \uC8FC\uC704\uC758 \uD14C\uB450\uB9AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCEE4\uC11C \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCEE4\uC11C\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBE14\uB85D \uCEE4\uC11C\uC640 \uACB9\uCE58\uB294 \uAE00\uC790\uC758 \uC0C9\uC0C1\uC744 \uC0AC\uC6A9\uC790 \uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uACF5\uBC31 \uBB38\uC790 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC904 \uBC88\uD638 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9\uC785\uB2C8\uB2E4.","'editorIndentGuide.background'\uB294 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 'editorIndentGuide.background1'\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9\uC785\uB2C8\uB2E4.","'editorIndentGuide.activeBackground'\uB294 \uB354 \uC774\uC0C1 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 'editorIndentGuide.activeBackground1'\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(1).","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(2).","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(3).","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(4).","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(5).","\uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(6).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(1).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(2).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(3).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(4).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(5).","\uD65C\uC131 \uD3B8\uC9D1\uAE30 \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120 \uC0C9(6).","\uD3B8\uC9D1\uAE30 \uD65C\uC131 \uC601\uC5ED \uC904\uBC88\uD638 \uC0C9\uC0C1","ID\uB294 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 'editorLineNumber.activeForeground'\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.","\uD3B8\uC9D1\uAE30 \uD65C\uC131 \uC601\uC5ED \uC904\uBC88\uD638 \uC0C9\uC0C1","editor.renderFinalNewline\uC774 \uD750\uB9AC\uAC8C \uC124\uC815\uB41C \uACBD\uC6B0 \uCD5C\uC885 \uD3B8\uC9D1\uAE30 \uC904\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB208\uAE08\uC758 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCF54\uB4DC \uB80C\uC988\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC77C\uCE58\uD558\uB294 \uAD04\uD638 \uB4A4\uC758 \uBC30\uACBD\uC0C9","\uC77C\uCE58\uD558\uB294 \uBE0C\uB798\uD0B7 \uBC15\uC2A4\uC758 \uC0C9\uC0C1","\uAC1C\uC694 \uB208\uAE08 \uACBD\uACC4\uC758 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uAC1C\uC694 \uB208\uAE08\uC790\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uAC70\uD130\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAC70\uD130\uC5D0\uB294 \uAE00\uB9AC\uD504 \uC5EC\uBC31\uACFC \uD589 \uC218\uAC00 \uC788\uC2B5\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uBD88\uD544\uC694\uD55C(\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294) \uC18C\uC2A4 \uCF54\uB4DC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.",`\uD3B8\uC9D1\uAE30\uC758 \uBD88\uD544\uC694\uD55C(\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294) \uC18C\uC2A4 \uCF54\uB4DC \uBD88\uD22C\uBA85\uB3C4\uC785\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 "#000000c0"\uC740 75% \uBD88\uD22C\uBA85\uB3C4\uB85C \uCF54\uB4DC\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4. \uACE0\uB300\uBE44 \uD14C\uB9C8\uC758 \uACBD\uC6B0 \uD398\uC774\uB4DC \uC544\uC6C3\uD558\uC9C0 \uC54A\uACE0 'editorUnnecessaryCode.border' \uD14C\uB9C8 \uC0C9\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBD88\uD544\uC694\uD55C \uCF54\uB4DC\uC5D0 \uBC11\uC904\uC744 \uADF8\uC73C\uC138\uC694.`,"\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACE0\uC2A4\uD2B8 \uD14D\uC2A4\uD2B8\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACE0\uC2A4\uD2B8 \uD14D\uC2A4\uD2B8\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACE0\uC2A4\uD2B8 \uD14D\uC2A4\uD2B8\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBC94\uC704\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uD45C\uC2DD \uC0C9\uC774 \uAC15\uC870 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC624\uB958\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uB9C8\uCEE4 \uC0C9\uC785\uB2C8\uB2E4.","\uACBD\uACE0\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uB9C8\uCEE4 \uC0C9\uC785\uB2C8\uB2E4.","\uC815\uBCF4\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uB9C8\uCEE4 \uC0C9\uC785\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(1)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(2)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(3)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(4)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(5)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9(6)\uC785\uB2C8\uB2E4. \uB300\uAD04\uD638 \uC30D \uC0C9 \uC9C0\uC815\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uC608\uAE30\uCE58 \uC54A\uC740 \uB300\uAD04\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(1). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(2). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(3). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(4). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(5). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(6). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(1). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(2). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(3). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(4). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(5). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uD65C\uC131 \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4(6). \uB300\uAD04\uD638 \uC30D \uC548\uB0B4\uC120\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.","\uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uB97C \uAC15\uC870 \uD45C\uC2DC\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uB97C \uAC15\uC870 \uD45C\uC2DC\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4."],"vs/editor/common/editorContextKeys":["\uD3B8\uC9D1\uAE30 \uD14D\uC2A4\uD2B8\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80(\uCEE4\uC11C\uAC00 \uAE5C\uBC15\uC784)","\uD3B8\uC9D1\uAE30 \uB610\uB294 \uD3B8\uC9D1\uAE30 \uC704\uC82F\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80(\uC608: \uD3EC\uCEE4\uC2A4\uAC00 \uCC3E\uAE30 \uC704\uC82F\uC5D0 \uC788\uC74C)","\uD3B8\uC9D1\uAE30 \uB610\uB294 \uC11C\uC2DD \uC788\uB294 \uD14D\uC2A4\uD2B8 \uC785\uB825\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80(\uCEE4\uC11C\uAC00 \uAE5C\uBC15\uC784)","\uD3B8\uC9D1\uAE30\uAC00 \uC77D\uAE30 \uC804\uC6A9\uC778\uC9C0 \uC5EC\uBD80","\uCEE8\uD14D\uC2A4\uD2B8\uAC00 diff \uD3B8\uC9D1\uAE30\uC778\uC9C0 \uC5EC\uBD80","\uCEE8\uD14D\uC2A4\uD2B8\uAC00 \uD3EC\uD568\uB41C diff \uD3B8\uC9D1\uAE30\uC778\uC9C0 \uC5EC\uBD80","\uC774\uB3D9\uB41C \uCF54\uB4DC \uBE14\uB85D\uC774 \uBE44\uAD50\uB97C \uC704\uD574 \uC120\uD0DD\uB418\uC5C8\uB294\uC9C0 \uC5EC\uBD80","\uC561\uC138\uC2A4 \uAC00\uB2A5\uD55C Diff \uBDF0\uC5B4 \uD45C\uC2DC \uC5EC\uBD80","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uB098\uB780\uD788 \uC778\uB77C\uC778 \uC911\uB2E8\uC810\uC5D0 \uC5F0\uACB0\uD560\uC9C0 \uC5EC\uBD80","'editor.columnSelection'\uC744 \uC0AC\uC6A9\uD558\uB3C4\uB85D \uC124\uC815\uB418\uC5B4 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC120\uD0DD\uB41C \uD14D\uC2A4\uD2B8\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC5EC\uB7EC \uAC1C\uC758 \uC120\uD0DD \uD56D\uBAA9\uC774 \uC788\uB294\uC9C0 \uC5EC\uBD80","'Tab' \uD0A4\uB97C \uB204\uB974\uBA74 \uD3B8\uC9D1\uAE30 \uBC16\uC73C\uB85C \uD3EC\uCEE4\uC2A4\uAC00 \uC774\uB3D9\uD558\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30 \uD638\uBC84\uAC00 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30 \uAC00\uB9AC\uD0A4\uAE30\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uC2A4\uD2F0\uD0A4 \uC2A4\uD06C\uB864\uC758 \uD3EC\uCEE4\uC2A4 \uC5EC\uBD80","\uC2A4\uD2F0\uD0A4 \uC2A4\uD06C\uB864\uC758 \uAC00\uC2DC\uC131 \uC5EC\uBD80","\uB3C5\uB9BD \uC2E4\uD589\uD615 \uC0C9 \uD3B8\uC9D1\uAE30\uAC00 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uB3C5\uB9BD \uC2E4\uD589\uD615 \uC0C9 \uD3B8\uC9D1\uAE30\uAC00 \uD3EC\uCEE4\uC2A4\uB418\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uAC00 \uB354 \uD070 \uD3B8\uC9D1\uAE30(\uC608: \uC804\uC790 \uD544\uAE30\uC7A5)\uC5D0 \uC18D\uD574 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC758 \uC5B8\uC5B4 \uC2DD\uBCC4\uC790","\uD3B8\uC9D1\uAE30\uC5D0 \uC644\uC131 \uD56D\uBAA9 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uCF54\uB4DC \uC791\uC5C5 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 CodeLens \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC815\uC758 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC120\uC5B8 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uAD6C\uD604 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uD615\uC2DD \uC815\uC758 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uD638\uBC84 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uBB38\uC11C \uAC15\uC870 \uD45C\uC2DC \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uBB38\uC11C \uAE30\uD638 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uCC38\uC870 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC774\uB984 \uBC14\uAFB8\uAE30 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC2DC\uADF8\uB2C8\uCC98 \uB3C4\uC6C0\uB9D0 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC778\uB77C\uC778 \uD78C\uD2B8 \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uBB38\uC11C \uC11C\uC2DD \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uBB38\uC11C \uC120\uD0DD \uC11C\uC2DD \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC5EC\uB7EC \uAC1C\uC758 \uBB38\uC11C \uC11C\uC2DD \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD3B8\uC9D1\uAE30\uC5D0 \uC5EC\uB7EC \uAC1C\uC758 \uBB38\uC11C \uC120\uD0DD \uC11C\uC2DD \uACF5\uAE09\uC790\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80"],"vs/editor/common/languages":["\uBC30\uC5F4","\uBD80\uC6B8","\uD074\uB798\uC2A4","\uC0C1\uC218","\uC0DD\uC131\uC790","\uC5F4\uAC70\uD615","\uC5F4\uAC70\uD615 \uBA64\uBC84","\uC774\uBCA4\uD2B8","\uD544\uB4DC","\uD30C\uC77C","\uD568\uC218","\uC778\uD130\uD398\uC774\uC2A4","\uD0A4","\uBA54\uC11C\uB4DC","\uBAA8\uB4C8","\uB124\uC784\uC2A4\uD398\uC774\uC2A4","Null","\uC22B\uC790","\uAC1C\uCCB4","\uC5F0\uC0B0\uC790","\uD328\uD0A4\uC9C0","\uC18D\uC131","\uBB38\uC790\uC5F4","\uAD6C\uC870\uCCB4","\uD615\uC2DD \uB9E4\uAC1C \uBCC0\uC218","\uBCC0\uC218","{0}({1})"],"vs/editor/common/languages/modesRegistry":["\uC77C\uBC18 \uD14D\uC2A4\uD2B8"],"vs/editor/common/model/editStack":["\uC785\uB825\uD558\uB294 \uC911"],"vs/editor/common/standaloneStrings":["\uAC1C\uBC1C\uC790: \uAC80\uC0AC \uD1A0\uD070","\uC904/\uC5F4\uB85C \uC774\uB3D9...","\uBE60\uB978 \uC561\uC138\uC2A4 \uACF5\uAE09\uC790 \uBAA8\uB450 \uD45C\uC2DC","\uBA85\uB839 \uD314\uB808\uD2B8","\uBA85\uB839 \uD45C\uC2DC \uBC0F \uC2E4\uD589","\uAE30\uD638\uB85C \uAC00\uC11C...","\uBC94\uC8FC\uBCC4 \uAE30\uD638\uB85C \uC774\uB3D9...","\uD3B8\uC9D1\uAE30 \uCF58\uD150\uCE20","\uC811\uADFC\uC131 \uC635\uC158\uC740 Alt+F1\uC744 \uB20C\uB7EC\uC5EC \uD569\uB2C8\uB2E4.","\uACE0\uB300\uBE44 \uD14C\uB9C8\uB85C \uC804\uD658","{1} \uD30C\uC77C\uC5D0\uC11C \uD3B8\uC9D1\uC744 {0}\uAC1C \uD588\uC2B5\uB2C8\uB2E4."],"vs/editor/common/viewLayout/viewLineRenderer":["\uC790\uC138\uD788 \uD45C\uC2DC({0})","{0}\uC790"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["\uC120\uD0DD \uC575\uCEE4 \uC9C0\uC810","{0}\uC5D0 \uC124\uC815\uB41C \uC575\uCEE4: {1}","\uC120\uD0DD \uC575\uCEE4 \uC9C0\uC810 \uC124\uC815","\uC120\uD0DD \uC575\uCEE4 \uC9C0\uC810\uC73C\uB85C \uC774\uB3D9","\uC575\uCEE4\uC5D0\uC11C \uCEE4\uC11C\uB85C \uC120\uD0DD","\uC120\uD0DD \uC575\uCEE4 \uC9C0\uC810 \uCDE8\uC18C"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\uAD04\uD638\uC5D0 \uD574\uB2F9\uD558\uB294 \uC601\uC5ED\uC744 \uD45C\uC2DC\uC790\uC5D0 \uCC44\uC0C9\uD558\uC5EC \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uB300\uAD04\uD638\uB85C \uC774\uB3D9","\uAD04\uD638\uAE4C\uC9C0 \uC120\uD0DD","\uB300\uAD04\uD638 \uC81C\uAC70","\uB300\uAD04\uD638\uB85C \uC774\uB3D9(&&B)"],"vs/editor/contrib/caretOperations/browser/caretOperations":["\uC120\uD0DD\uD55C \uD14D\uC2A4\uD2B8\uB97C \uC67C\uCABD\uC73C\uB85C \uC774\uB3D9","\uC120\uD0DD\uD55C \uD14D\uC2A4\uD2B8\uB97C \uC624\uB978\uCABD\uC73C\uB85C \uC774\uB3D9"],"vs/editor/contrib/caretOperations/browser/transpose":["\uBB38\uC790 \uBC14\uAFB8\uAE30"],"vs/editor/contrib/clipboard/browser/clipboard":["\uC798\uB77C\uB0B4\uAE30(&&T)","\uC798\uB77C\uB0B4\uAE30","\uC798\uB77C\uB0B4\uAE30","\uC798\uB77C\uB0B4\uAE30","\uBCF5\uC0AC(&&C)","\uBCF5\uC0AC","\uBCF5\uC0AC","\uBCF5\uC0AC","\uB2E4\uC74C\uC73C\uB85C \uBCF5\uC0AC","\uB2E4\uC74C\uC73C\uB85C \uBCF5\uC0AC","\uACF5\uC720","\uACF5\uC720","\uACF5\uC720","\uBD99\uC5EC\uB123\uAE30(&&P)","\uBD99\uC5EC\uB123\uAE30","\uBD99\uC5EC\uB123\uAE30","\uBD99\uC5EC\uB123\uAE30","\uAD6C\uBB38\uC744 \uAC15\uC870 \uD45C\uC2DC\uD558\uC5EC \uBCF5\uC0AC"],"vs/editor/contrib/codeAction/browser/codeAction":["\uCF54\uB4DC \uC791\uC5C5\uC744 \uC801\uC6A9\uD558\uB294 \uC911 \uC54C \uC218 \uC5C6\uB294 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/codeAction/browser/codeActionCommands":["\uC2E4\uD589\uD560 \uCF54\uB4DC \uC791\uC5C5\uC758 \uC885\uB958\uC785\uB2C8\uB2E4.","\uBC18\uD658\uB41C \uC791\uC5C5\uC774 \uC801\uC6A9\uB418\uB294 \uACBD\uC6B0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD56D\uC0C1 \uBC18\uD658\uB41C \uCCAB \uBC88\uC9F8 \uCF54\uB4DC \uC791\uC5C5\uC744 \uC801\uC6A9\uD569\uB2C8\uB2E4.","\uCCAB \uBC88\uC9F8 \uBC18\uD658\uB41C \uCF54\uB4DC \uC791\uC5C5\uC744 \uC801\uC6A9\uD569\uB2C8\uB2E4(\uC774 \uC791\uC5C5\uB9CC \uC788\uB294 \uACBD\uC6B0).","\uBC18\uD658\uB41C \uCF54\uB4DC \uC791\uC5C5\uC744 \uC801\uC6A9\uD558\uC9C0 \uB9C8\uC138\uC694.","\uAE30\uBCF8 \uCF54\uB4DC \uC791\uC5C5\uB9CC \uBC18\uD658\uB418\uB3C4\uB85D \uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBE60\uB978 \uC218\uC815...","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uCF54\uB4DC \uB3D9\uC791\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","'{0}'\uC5D0 \uB300\uD55C \uAE30\uBCF8 \uCF54\uB4DC \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","'{0}'\uC5D0 \uB300\uD55C \uCF54\uB4DC \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uAE30\uBCF8 \uCF54\uB4DC \uC791\uC5C5 \uC5C6\uC74C","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uCF54\uB4DC \uB3D9\uC791\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","\uB9AC\uD329\uD130\uB9C1...","'{0}'\uC5D0 \uB300\uD55C \uAE30\uBCF8 \uB9AC\uD329\uD130\uB9C1 \uC5C6\uC74C","'{0}'\uC5D0 \uB300\uD55C \uB9AC\uD329\uD130\uB9C1 \uC5C6\uC74C","\uAE30\uBCF8 \uC124\uC815 \uB9AC\uD329\uD130\uB9C1\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uB9AC\uD399\uD130\uB9C1\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC18C\uC2A4 \uC791\uC5C5...","'{0}'\uC5D0 \uB300\uD55C \uAE30\uBCF8 \uC18C\uC2A4 \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","'{0}'\uC5D0 \uB300\uD55C \uC18C\uC2A4 \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uAE30\uBCF8 \uC6D0\uBCF8 \uC791\uC5C5 \uC5C6\uC74C","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC18C\uC2A4 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","\uAC00\uC838\uC624\uAE30 \uAD6C\uC131","\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uAC00\uC838\uC624\uAE30 \uAD6C\uC131 \uC791\uC5C5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA8\uB450 \uC218\uC815","\uBAA8\uB4E0 \uC791\uC5C5 \uC218\uC815 \uC0AC\uC6A9 \uBD88\uAC00","\uC790\uB3D9 \uC218\uC815...","\uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uC790\uB3D9 \uC218\uC815 \uC5C6\uC74C"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["\uCF54\uB4DC \uC791\uC5C5 \uBA54\uB274\uC5D0 \uADF8\uB8F9 \uD5E4\uB354 \uD45C\uC2DC\uB97C \uD65C\uC131\uD654/\uBE44\uD65C\uC131\uD654\uD569\uB2C8\uB2E4.","\uD604\uC7AC \uC9C4\uB2E8 \uC911\uC774 \uC544\uB2D0 \uB54C \uC904 \uB0B4\uC5D0\uC11C \uAC00\uC7A5 \uAC00\uAE4C\uC6B4 \uBE60\uB978 \uC811\uB450\uC0AC \uD45C\uC2DC\uB97C \uC0AC\uC6A9/\uC0AC\uC6A9 \uC548 \uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4."],"vs/editor/contrib/codeAction/browser/codeActionController":["\uCEE8\uD14D\uC2A4\uD2B8: \uC904 {1} \uBC0F \uC5F4 {2}\uC758 {0}\uC785\uB2C8\uB2E4.","\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294 \uD56D\uBAA9 \uC228\uAE30\uAE30","\uBE44\uD65C\uC131\uD654\uB41C \uD56D\uBAA9 \uD45C\uC2DC"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["\uCD94\uAC00 \uC791\uC5C5...","\uBE60\uB978 \uC218\uC815","\uCD94\uCD9C","\uC778\uB77C\uC778","\uC7AC\uC791\uC131","\uC774\uB3D9","\uCF54\uB4DC \uAC10\uC2F8\uAE30","\uC18C\uC2A4 \uC791\uC5C5"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["\uCF54\uB4DC \uC791\uC5C5 \uD45C\uC2DC. \uAE30\uBCF8 \uC124\uC815 \uBE60\uB978 \uC218\uC815 \uC0AC\uC6A9 \uAC00\uB2A5({0})","\uCF54\uB4DC \uC791\uC5C5 \uD45C\uC2DC({0})","\uCF54\uB4DC \uC791\uC5C5 \uD45C\uC2DC"],"vs/editor/contrib/codelens/browser/codelensController":["\uD604\uC7AC \uC904\uC5D0 \uB300\uD55C \uCF54\uB4DC \uB80C\uC988 \uBA85\uB839 \uD45C\uC2DC","\uBA85\uB839 \uC120\uD0DD"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["\uC0C9 \uC635\uC158\uC744 \uD1A0\uAE00\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694(rgb/hsl/hex).","\uC0C9 \uD3B8\uC9D1\uAE30\uB97C \uB2EB\uB294 \uC544\uC774\uCF58"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["\uB3C5\uB9BD \uC2E4\uD589\uD615 \uC0C9 \uD3B8\uC9D1\uAE30 \uD45C\uC2DC \uB610\uB294 \uD3EC\uCEE4\uC2A4","\uB3C5\uB9BD \uC2E4\uD589\uD615 \uC0C9 \uD3B8\uC9D1\uAE30 \uD45C\uC2DC \uB610\uB294 \uD3EC\uCEE4\uC2A4(&&S)","\uC0C9 \uD3B8\uC9D1\uAE30 \uC228\uAE30\uAE30","\uB3C5\uB9BD \uC2E4\uD589\uD615 \uC0C9 \uD3B8\uC9D1\uAE30\uB85C \uC0C9 \uC0BD\uC785"],"vs/editor/contrib/comment/browser/comment":["\uC904 \uC8FC\uC11D \uC124\uC815/\uD574\uC81C","\uC904 \uC8FC\uC11D \uC124\uC815/\uD574\uC81C(&&T)","\uC904 \uC8FC\uC11D \uCD94\uAC00","\uC904 \uC8FC\uC11D \uC81C\uAC70","\uBE14\uB85D \uC8FC\uC11D \uC124\uC815/\uD574\uC81C","\uBE14\uB85D \uC8FC\uC11D \uC124\uC815/\uD574\uC81C(&&B)"],"vs/editor/contrib/contextmenu/browser/contextmenu":["\uBBF8\uB2C8\uB9F5","\uBB38\uC790 \uB80C\uB354\uB9C1","\uC138\uB85C \uD06C\uAE30","\uBE44\uB840","\uCC44\uC6B0\uAE30","\uB9DE\uCDA4","\uC2AC\uB77C\uC774\uB354","\uB9C8\uC6B0\uC2A4 \uC704\uB85C","\uD56D\uC0C1","\uD3B8\uC9D1\uAE30 \uC0C1\uD669\uC5D0 \uB9DE\uB294 \uBA54\uB274 \uD45C\uC2DC"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["\uCEE4\uC11C \uC2E4\uD589 \uCDE8\uC18C","\uCEE4\uC11C \uB2E4\uC2DC \uC2E4\uD589"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uBD99\uC5EC\uB123\uAE30...","\uC801\uC6A9\uD560 \uBD99\uC5EC\uB123\uAE30 \uD3B8\uC9D1\uC758 ID\uC785\uB2C8\uB2E4. \uC81C\uACF5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uD3B8\uC9D1\uAE30\uC5D0 \uC120\uD0DD\uAE30\uAC00 \uD45C\uC2DC\uB429\uB2C8\uB2E4."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["\uBD99\uC5EC\uB123\uAE30 \uC704\uC82F\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uBD99\uC5EC\uB123\uAE30 \uC635\uC158 \uD45C\uC2DC...","\uBD99\uC5EC\uB123\uAE30 \uCC98\uB9AC\uAE30\uB97C \uC2E4\uD589\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uCDE8\uC18C\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.","\uBD99\uC5EC\uB123\uAE30 \uC791\uC5C5 \uC120\uD0DD","\uBD99\uC5EC\uB123\uAE30 \uCC98\uB9AC\uAE30\uB97C \uC2E4\uD589\uD558\uB294 \uC911"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["\uAE30\uBCF8 \uC81C\uACF5","\uC77C\uBC18 \uD14D\uC2A4\uD2B8 \uC0BD\uC785","URI \uC0BD\uC785","URI \uC0BD\uC785","\uACBD\uB85C \uC0BD\uC785","\uACBD\uB85C \uC0BD\uC785","\uC0C1\uB300 \uACBD\uB85C \uC0BD\uC785","\uC0C1\uB300 \uACBD\uB85C \uC0BD\uC785"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["\uC9C0\uC815\uB41C MIME \uD615\uC2DD\uC758 \uCF58\uD150\uCE20\uC5D0 \uC0AC\uC6A9\uD560 \uAE30\uBCF8 \uB4DC\uB86D \uACF5\uAE09\uC790\uB97C \uAD6C\uC131\uD569\uB2C8\uB2E4."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["\uB4DC\uB86D \uC704\uC82F\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uB4DC\uB86D \uC635\uC158 \uD45C\uC2DC...","\uB4DC\uB86D \uCC98\uB9AC\uAE30\uB97C \uC2E4\uD589\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uCDE8\uC18C\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694."],"vs/editor/contrib/editorState/browser/keybindingCancellation":["\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uCDE8\uC18C \uAC00\uB2A5\uD55C \uC791\uC5C5(\uC608: '\uCC38\uC870 \uD53C\uD0B9')\uC744 \uC2E4\uD589\uD558\uB294\uC9C0 \uC5EC\uBD80"],"vs/editor/contrib/find/browser/findController":["\uD30C\uC77C\uC774 \uB108\uBB34 \uCEE4\uC11C \uBAA8\uB450 \uBC14\uAFB8\uAE30 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uCC3E\uAE30","\uCC3E\uAE30(&&F)",`"\uC815\uADDC\uC2DD \uC0AC\uC6A9" \uD50C\uB798\uADF8\uB97C \uC7AC\uC815\uC758\uD569\uB2C8\uB2E4.\r +\uD50C\uB798\uADF8\uB294 \uBBF8\uB798\uB97C \uC704\uD574 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\r +0: \uC544\uBB34\uAC83\uB3C4 \uD558\uC9C0 \uC54A\uC74C\r +1: True\r +2: False`,`"\uC804\uCCB4 \uB2E8\uC5B4 \uC77C\uCE58" \uD50C\uB798\uADF8\uB97C \uC7AC\uC815\uC758\uD569\uB2C8\uB2E4.\r +\uD50C\uB798\uADF8\uB294 \uBBF8\uB798\uB97C \uC704\uD574 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\r +0: \uC544\uBB34\uAC83\uB3C4 \uD558\uC9C0 \uC54A\uC74C\r +1: True\r +2: False`,`"Math Case" \uD50C\uB798\uADF8\uB97C \uC7AC\uC815\uC758\uD569\uB2C8\uB2E4.\r +\uD50C\uB798\uADF8\uB294 \uBBF8\uB798\uB97C \uC704\uD574 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\r +0: \uC544\uBB34\uAC83\uB3C4 \uD558\uC9C0 \uC54A\uC74C\r +1: True\r +2: False`,`"\uCF00\uC774\uC2A4 \uBCF4\uC874" \uD50C\uB798\uADF8\uB97C \uC7AC\uC815\uC758\uD569\uB2C8\uB2E4.\r +\uD50C\uB798\uADF8\uB294 \uBBF8\uB798\uB97C \uC704\uD574 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\r +0: \uC544\uBB34\uAC83\uB3C4 \uD558\uC9C0 \uC54A\uC74C\r +1: True\r +2: False`,"\uC778\uC218\uB85C \uCC3E\uAE30","\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uCC3E\uAE30","\uB2E4\uC74C \uCC3E\uAE30","\uC774\uC804 \uCC3E\uAE30","\uC77C\uCE58 \uD56D\uBAA9\uC73C\uB85C \uC774\uB3D9...","\uC77C\uCE58\uD558\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uB0B4\uC6A9\uC73C\uB85C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694.","\uD2B9\uC815 \uC77C\uCE58 \uD56D\uBAA9\uC73C\uB85C \uC774\uB3D9\uD558\uB824\uBA74 \uC22B\uC790\uB97C \uC785\uB825\uD558\uC138\uC694(1~{0} \uC0AC\uC774).","1\uC5D0\uC11C {0} \uC0AC\uC774\uC758 \uC22B\uC790\uB97C \uC785\uB825\uD558\uC138\uC694","1\uC5D0\uC11C {0} \uC0AC\uC774\uC758 \uC22B\uC790\uB97C \uC785\uB825\uD558\uC138\uC694","\uB2E4\uC74C \uC120\uD0DD \uCC3E\uAE30","\uC774\uC804 \uC120\uD0DD \uCC3E\uAE30","\uBC14\uAFB8\uAE30","\uBC14\uAFB8\uAE30(&&R)"],"vs/editor/contrib/find/browser/findWidget":["\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC5D0\uC11C '\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uCC3E\uAE30'\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC774 \uCD95\uC18C\uB418\uC5C8\uC74C\uC744 \uB098\uD0C0\uB0B4\uB294 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC774 \uD655\uC7A5\uB418\uC5C8\uC74C\uC744 \uB098\uD0C0\uB0B4\uB294 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC5D0\uC11C '\uBC14\uAFB8\uAE30'\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC5D0\uC11C '\uBAA8\uB450 \uBC14\uAFB8\uAE30'\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC5D0\uC11C '\uC774\uC804 \uCC3E\uAE30'\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uCC3E\uAE30 \uC704\uC82F\uC5D0\uC11C '\uB2E4\uC74C \uCC3E\uAE30'\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uCC3E\uAE30/\uBC14\uAFB8\uAE30","\uCC3E\uAE30","\uCC3E\uAE30","\uC774\uC804 \uAC80\uC0C9 \uACB0\uACFC","\uB2E4\uC74C \uAC80\uC0C9 \uACB0\uACFC","\uC120\uD0DD \uD56D\uBAA9\uC5D0\uC11C \uCC3E\uAE30","\uB2EB\uAE30","\uBC14\uAFB8\uAE30","\uBC14\uAFB8\uAE30","\uBC14\uAFB8\uAE30","\uBAA8\uB450 \uBC14\uAFB8\uAE30","\uBC14\uAFB8\uAE30 \uC124\uC815/\uD574\uC81C","\uCC98\uC74C {0}\uAC1C\uC758 \uACB0\uACFC\uAC00 \uAC15\uC870 \uD45C\uC2DC\uB418\uC9C0\uB9CC \uBAA8\uB4E0 \uCC3E\uAE30 \uC791\uC5C5\uC740 \uC804\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0 \uB300\uD574 \uC218\uD589\uB429\uB2C8\uB2E4.","{1}\uC758 {0}","\uACB0\uACFC \uC5C6\uC74C","{0}\uAC1C \uCC3E\uC74C","'{1}'\uC5D0 \uB300\uD55C {0}\uC744(\uB97C) \uCC3E\uC74C","{2}\uC5D0\uC11C '{1}'\uC5D0 \uB300\uD55C {0}\uC744(\uB97C) \uCC3E\uC74C","'{1}'\uC5D0 \uB300\uD55C {0}\uC744(\uB97C) \uCC3E\uC74C","Ctrl+Enter\uB97C \uB204\uB974\uBA74 \uC774\uC81C \uBAA8\uB4E0 \uD56D\uBAA9\uC744 \uBC14\uAFB8\uC9C0 \uC54A\uACE0 \uC904 \uBC14\uAFC8\uC744 \uC0BD\uC785\uD569\uB2C8\uB2E4. editor.action.replaceAll\uC758 \uD0A4 \uBC14\uC778\uB529\uC744 \uC218\uC815\uD558\uC5EC \uC774 \uB3D9\uC791\uC744 \uC7AC\uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/folding/browser/folding":["\uD3BC\uCE58\uAE30","\uC7AC\uADC0\uC801\uC73C\uB85C \uD3BC\uCE58\uAE30","\uC811\uAE30","\uC811\uAE30 \uC804\uD658","\uC7AC\uADC0\uC801\uC73C\uB85C \uC811\uAE30","\uBAA8\uB4E0 \uBE14\uB85D \uCF54\uBA58\uD2B8\uB97C \uC811\uAE30","\uBAA8\uB4E0 \uC601\uC5ED \uC811\uAE30","\uBAA8\uB4E0 \uC601\uC5ED \uD3BC\uCE58\uAE30","\uC120\uD0DD\uD55C \uD56D\uBAA9\uC744 \uC81C\uC678\uD55C \uBAA8\uB4E0 \uD56D\uBAA9 \uC811\uAE30","\uC120\uD0DD\uD55C \uD56D\uBAA9\uC744 \uC81C\uC678\uD55C \uBAA8\uB4E0 \uD56D\uBAA9 \uD45C\uC2DC","\uBAA8\uB450 \uC811\uAE30","\uBAA8\uB450 \uD3BC\uCE58\uAE30","\uBD80\uBAA8 \uD3F4\uB529\uC73C\uB85C \uC774\uB3D9","\uC774\uC804 \uC811\uAE30 \uBC94\uC704\uB85C \uC774\uB3D9","\uB2E4\uC74C \uC811\uAE30 \uBC94\uC704\uB85C \uC774\uB3D9","\uC120\uD0DD \uC601\uC5ED\uC5D0\uC11C \uC811\uAE30 \uBC94\uC704 \uB9CC\uB4E4\uAE30","\uC218\uB3D9 \uD3F4\uB529 \uBC94\uC704 \uC81C\uAC70","\uC218\uC900 {0} \uC811\uAE30"],"vs/editor/contrib/folding/browser/foldingDecorations":["\uC811\uD78C \uBC94\uC704\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC0C9\uC740 \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uAE30 \uC704\uD574 \uBD88\uD22C\uBA85\uD574\uC11C\uB294 \uC548 \uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC5EC\uBC31\uC758 \uC811\uAE30 \uCEE8\uD2B8\uB864 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC5D0\uC11C \uD655\uC7A5\uB41C \uBC94\uC704\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC5D0\uC11C \uCD95\uC18C\uB41C \uBC94\uC704\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC5D0\uC11C \uC218\uB3D9\uC73C\uB85C \uCD95\uC18C\uB41C \uBC94\uC704\uC5D0 \uB300\uD55C \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uBB38\uC790 \uBAA8\uC591 \uC5EC\uBC31\uC5D0\uC11C \uC218\uB3D9\uC73C\uB85C \uD655\uC7A5\uB41C \uBC94\uC704\uC5D0 \uB300\uD55C \uC544\uC774\uCF58\uC785\uB2C8\uB2E4."],"vs/editor/contrib/fontZoom/browser/fontZoom":["\uD3B8\uC9D1\uAE30 \uAE00\uAF34 \uD655\uB300","\uD3B8\uC9D1\uAE30 \uAE00\uAF34 \uCD95\uC18C","\uD3B8\uC9D1\uAE30 \uAE00\uAF34 \uD655\uB300/\uCD95\uC18C \uB2E4\uC2DC \uC124\uC815"],"vs/editor/contrib/format/browser/format":["\uC904 {0}\uC5D0\uC11C 1\uAC1C \uC11C\uC2DD \uD3B8\uC9D1\uC744 \uC218\uD589\uD588\uC2B5\uB2C8\uB2E4.","\uC904 {1}\uC5D0\uC11C {0}\uAC1C \uC11C\uC2DD \uD3B8\uC9D1\uC744 \uC218\uD589\uD588\uC2B5\uB2C8\uB2E4.","\uC904 {0}\uACFC(\uC640) {1} \uC0AC\uC774\uC5D0\uC11C 1\uAC1C \uC11C\uC2DD \uD3B8\uC9D1\uC744 \uC218\uD589\uD588\uC2B5\uB2C8\uB2E4.","\uC904 {1}\uACFC(\uC640) {2} \uC0AC\uC774\uC5D0\uC11C {0}\uAC1C \uC11C\uC2DD \uD3B8\uC9D1\uC744 \uC218\uD589\uD588\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/format/browser/formatActions":["\uBB38\uC11C \uC11C\uC2DD","\uC120\uD0DD \uC601\uC5ED \uC11C\uC2DD"],"vs/editor/contrib/gotoError/browser/gotoError":["\uB2E4\uC74C \uBB38\uC81C\uB85C \uC774\uB3D9 (\uC624\uB958, \uACBD\uACE0, \uC815\uBCF4)","\uB2E4\uC74C \uB9C8\uCEE4\uB85C \uC774\uB3D9\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC774\uC804 \uBB38\uC81C\uB85C \uC774\uB3D9 (\uC624\uB958, \uACBD\uACE0, \uC815\uBCF4)","\uC774\uC804 \uB9C8\uCEE4\uB85C \uC774\uB3D9\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uD30C\uC77C\uC758 \uB2E4\uC74C \uBB38\uC81C\uB85C \uC774\uB3D9 (\uC624\uB958, \uACBD\uACE0, \uC815\uBCF4)","\uB2E4\uC74C \uBB38\uC81C(&&P)","\uD30C\uC77C\uC758 \uC774\uC804 \uBB38\uC81C\uB85C \uC774\uB3D9 (\uC624\uB958, \uACBD\uACE0, \uC815\uBCF4)","\uC774\uC804 \uBB38\uC81C(&&P)"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["\uC624\uB958","\uACBD\uACE0","\uC815\uBCF4","\uD78C\uD2B8","{1}\uC758 {0}\uC785\uB2C8\uB2E4. ","\uBB38\uC81C {1}\uAC1C \uC911 {0}\uAC1C","\uBB38\uC81C {1}\uAC1C \uC911 {0}\uAC1C","\uD3B8\uC9D1\uAE30 \uD45C\uC2DD \uD0D0\uC0C9 \uC704\uC82F \uC624\uB958 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB9C8\uCEE4 \uD0D0\uC0C9 \uC704\uC82F \uC624\uB958 \uC81C\uBAA9 \uBC30\uACBD.","\uD3B8\uC9D1\uAE30 \uD45C\uC2DD \uD0D0\uC0C9 \uC704\uC82F \uACBD\uACE0 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB9C8\uCEE4 \uD0D0\uC0C9 \uC704\uC82F \uACBD\uACE0 \uC81C\uBAA9 \uBC30\uACBD.","\uD3B8\uC9D1\uAE30 \uD45C\uC2DD \uD0D0\uC0C9 \uC704\uC82F \uC815\uBCF4 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB9C8\uCEE4 \uD0D0\uC0C9 \uC704\uC82F \uC815\uBCF4 \uC81C\uBAA9 \uBC30\uACBD.","\uD3B8\uC9D1\uAE30 \uD45C\uC2DD \uD0D0\uC0C9 \uC704\uC82F \uBC30\uACBD\uC785\uB2C8\uB2E4."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["\uD53C\uD0B9","\uC815\uC758","'{0}'\uC5D0 \uB300\uD55C \uC815\uC758\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC815\uC758\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C","\uC815\uC758\uB85C \uC774\uB3D9","\uC815\uC758\uB85C \uC774\uB3D9(&&D)","\uCE21\uBA74\uC5D0\uC11C \uC815\uC758 \uC5F4\uAE30","\uC815\uC758 \uD53C\uD0B9","\uC120\uC5B8","'{0}'\uC5D0 \uB300\uD55C \uC120\uC5B8\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C","\uC120\uC5B8\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C","\uC120\uC5B8\uC73C\uB85C \uC774\uB3D9","\uC120\uC5B8\uC73C\uB85C \uC774\uB3D9(&&D)","'{0}'\uC5D0 \uB300\uD55C \uC120\uC5B8\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C","\uC120\uC5B8\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C","\uC120\uC5B8 \uBBF8\uB9AC \uBCF4\uAE30","\uD615\uC2DD \uC815\uC758","'{0}'\uC5D0 \uB300\uD55C \uD615\uC2DD \uC815\uC758\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uD615\uC2DD \uC815\uC758\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uD615\uC2DD \uC815\uC758\uB85C \uC774\uB3D9","\uD615\uC2DD \uC815\uC758\uB85C \uC774\uB3D9(&&T)","\uD615\uC2DD \uC815\uC758 \uBBF8\uB9AC \uBCF4\uAE30","\uAD6C\uD604","'{0}'\uC5D0 \uB300\uD55C \uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uAD6C\uD604\uC73C\uB85C \uC774\uB3D9","\uAD6C\uD604\uC73C\uB85C \uC774\uB3D9(&&I)","\uD53C\uD0B9 \uAD6C\uD604","'{0}'\uC5D0 \uB300\uD55C \uCC38\uC870\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uCC38\uC870\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uCC38\uC870\uB85C \uC774\uB3D9","\uCC38\uC870\uB85C \uC774\uB3D9(&&R)","\uCC38\uC870","\uCC38\uC870 \uBBF8\uB9AC \uBCF4\uAE30","\uCC38\uC870","\uC784\uC758\uC758 \uAE30\uD638\uB85C \uC774\uB3D9","\uC704\uCE58","'{0}'\uC5D0 \uB300\uD55C \uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC74C","\uCC38\uC870"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["{0}\uAC1C \uC815\uC758\uB97C \uD45C\uC2DC\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["'\uCC38\uC870 \uD53C\uD0B9' \uB610\uB294 '\uC815\uC758 \uD53C\uD0B9'\uACFC \uAC19\uC774 \uCC38\uC870 \uD53C\uD0B9\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uB85C\uB4DC \uC911...","{0}({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["\uCC38\uC870 {0}\uAC1C","\uCC38\uC870 {0}\uAC1C","\uCC38\uC870"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["\uBBF8\uB9AC \uBCF4\uAE30\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uACB0\uACFC \uC5C6\uC74C","\uCC38\uC870"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["{2} \uC5F4\uC5D0 \uC788\uB294 {1} \uD589\uC758 {0}\uC5D0","{3} \uC5F4\uC5D0\uC11C {2} \uD589\uC758 {1}\uC5D0 {0}","{0}\uC758 \uAE30\uD638 1\uAC1C, \uC804\uCCB4 \uACBD\uB85C {1}","{1}\uC758 \uAE30\uD638 {0}\uAC1C, \uC804\uCCB4 \uACBD\uB85C {2}","\uACB0\uACFC \uC5C6\uC74C","{0}\uC5D0\uC11C \uAE30\uD638 1\uAC1C\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4.","{1}\uC5D0\uC11C \uAE30\uD638 {0}\uAC1C\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4.","{1}\uAC1C \uD30C\uC77C\uC5D0\uC11C \uAE30\uD638 {0}\uAC1C\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["\uD0A4\uBCF4\uB4DC\uB9CC\uC73C\uB85C \uD0D0\uC0C9\uD560 \uC218 \uC788\uB294 \uAE30\uD638 \uC704\uCE58\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","{1}\uC758 {0} \uAE30\uD638, \uB2E4\uC74C\uC758 \uACBD\uC6B0 {2}","{1}\uC758 \uAE30\uD638 {0}"],"vs/editor/contrib/hover/browser/hover":["\uAC00\uB9AC\uD0A4\uAE30 \uB610\uB294 \uD3EC\uCEE4\uC2A4 \uD45C\uC2DC","\uC815\uC758 \uBBF8\uB9AC \uBCF4\uAE30 \uAC00\uB9AC\uD0A8 \uD56D\uBAA9 \uD45C\uC2DC","\uC704\uB85C \uC2A4\uD06C\uB864 \uAC00\uB9AC\uD0A4\uAE30","\uC544\uB798\uB85C \uC2A4\uD06C\uB864 \uAC00\uB9AC\uD0A4\uAE30","\uC67C\uCABD\uC73C\uB85C \uC2A4\uD06C\uB864 \uAC00\uB9AC\uD0A4\uAE30","\uC624\uB978\uCABD\uC73C\uB85C \uC2A4\uD06C\uB864 \uAC00\uB9AC\uD0A4\uAE30","\uD398\uC774\uC9C0 \uC704\uB85C \uAC00\uB9AC\uD0A4\uAE30","\uD398\uC774\uC9C0 \uC544\uB798\uCABD \uAC00\uB9AC\uD0A4\uAE30","\uC704\uCABD \uAC00\uB9AC\uD0A4\uAE30\uB85C \uC774\uB3D9","\uC544\uB798\uCABD \uAC00\uB9AC\uD0A4\uAE30\uB85C \uC774\uB3D9"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["\uB85C\uB4DC \uC911...","\uC131\uB2A5\uC0C1\uC758 \uC774\uC720\uB85C \uAE34 \uC904\uB85C \uC778\uD574 \uB80C\uB354\uB9C1\uC774 \uC77C\uC2DC \uC911\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4. `editor.stopRenderingLineAfter`\uB97C \uD1B5\uD574 \uAD6C\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uC131\uB2A5\uC0C1\uC758 \uC774\uC720\uB85C \uAE34 \uC904\uC758 \uACBD\uC6B0 \uD1A0\uD070\uD654\uB97C \uAC74\uB108\uB701\uB2C8\uB2E4. \uC774 \uD56D\uBAA9\uC740 'editor.maxTokenizationLineLength'\uB97C \uD1B5\uD574 \uAD6C\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/hover/browser/markerHoverParticipant":["\uBB38\uC81C \uBCF4\uAE30","\uBE60\uB978 \uC218\uC815\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uBE60\uB978 \uC218\uC815\uC744 \uD655\uC778\uD558\uB294 \uC911...","\uBE60\uB978 \uC218\uC815\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC74C","\uBE60\uB978 \uC218\uC815..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["\uC774\uC804 \uAC12\uC73C\uB85C \uBC14\uAFB8\uAE30","\uB2E4\uC74C \uAC12\uC73C\uB85C \uBC14\uAFB8\uAE30"],"vs/editor/contrib/indentation/browser/indentation":["\uB4E4\uC5EC\uC4F0\uAE30\uB97C \uACF5\uBC31\uC73C\uB85C \uBCC0\uD658","\uB4E4\uC5EC\uC4F0\uAE30\uB97C \uD0ED\uC73C\uB85C \uBCC0\uD658","\uAD6C\uC131\uB41C \uD0ED \uD06C\uAE30","\uAE30\uBCF8 \uD0ED \uD06C\uAE30","\uD604\uC7AC \uD0ED \uD06C\uAE30","\uD604\uC7AC \uD30C\uC77C\uC758 \uD0ED \uD06C\uAE30 \uC120\uD0DD","\uD0ED\uC744 \uC0AC\uC6A9\uD55C \uB4E4\uC5EC\uC4F0\uAE30","\uACF5\uBC31\uC744 \uC0AC\uC6A9\uD55C \uB4E4\uC5EC\uC4F0\uAE30","\uD0ED \uD45C\uC2DC \uD06C\uAE30 \uBCC0\uACBD","\uCF58\uD150\uCE20\uC5D0\uC11C \uB4E4\uC5EC\uC4F0\uAE30 \uAC10\uC9C0","\uC904 \uB2E4\uC2DC \uB4E4\uC5EC\uC4F0\uAE30","\uC120\uD0DD\uD55C \uC904 \uB2E4\uC2DC \uB4E4\uC5EC\uC4F0\uAE30"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["\uC0BD\uC785\uD558\uB824\uBA74 \uB450 \uBC88 \uD074\uB9AD","Cmd+\uD074\uB9AD","Ctrl+\uD074\uB9AD","Option+\uD074\uB9AD","Alt+\uD074\uB9AD","\uC815\uC758({0})\uB85C \uC774\uB3D9\uD558\uC5EC \uC790\uC138\uD788 \uC54C\uC544\uBCF4\uB824\uBA74 \uB9C8\uC6B0\uC2A4 \uC624\uB978\uCABD \uB2E8\uCD94\uB97C \uD074\uB9AD\uD569\uB2C8\uB2E4.","\uC815\uC758\uB85C \uC774\uB3D9({0})","\uBA85\uB839 \uC2E4\uD589"],"vs/editor/contrib/inlineCompletions/browser/commands":["\uB2E4\uC74C \uC778\uB77C\uC778 \uC81C\uC548 \uD45C\uC2DC","\uC774\uC804 \uC778\uB77C\uC778 \uC81C\uC548 \uD45C\uC2DC","\uC778\uB77C\uC778 \uC81C\uC548 \uD2B8\uB9AC\uAC70","\uC778\uB77C\uC778 \uC81C\uC548\uC758 \uB2E4\uC74C \uB2E8\uC5B4 \uC218\uB77D","\uB2E8\uC5B4 \uC218\uB77D","\uC778\uB77C\uC778 \uC81C\uC548\uC758 \uB2E4\uC74C \uC904 \uC218\uB77D","\uC904 \uC218\uB77D","\uC778\uB77C\uC778 \uCD94\uCC9C \uC218\uB77D","\uC218\uB77D","\uC778\uB77C\uC778 \uC81C\uC548 \uC228\uAE30\uAE30","\uD56D\uC0C1 \uB3C4\uAD6C \uBAA8\uC74C \uD45C\uC2DC"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["\uC81C\uC548:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["\uC778\uB77C\uC778 \uC81C\uC548 \uD45C\uC2DC \uC5EC\uBD80","\uC778\uB77C\uC778 \uC81C\uC548\uC774 \uACF5\uBC31\uC73C\uB85C \uC2DC\uC791\uD558\uB294\uC9C0 \uC5EC\uBD80","\uC778\uB77C\uC778 \uC81C\uC548\uC774 \uD0ED\uC5D0 \uC758\uD574 \uC0BD\uC785\uB418\uB294 \uAC83\uBCF4\uB2E4 \uC791\uC740 \uACF5\uBC31\uC73C\uB85C \uC2DC\uC791\uD558\uB294\uC9C0 \uC5EC\uBD80","\uD604\uC7AC \uC81C\uC548\uC5D0 \uB300\uD55C \uC81C\uC548 \uD45C\uC2DC \uC5EC\uBD80"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\uC811\uADFC\uC131 \uBCF4\uAE30\uC5D0\uC11C \uC774\uB97C \uAC80\uC0AC({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["\uB2E4\uC74C \uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8 \uD45C\uC2DC\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC774\uC804 \uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8 \uD45C\uC2DC\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","{0}({1})","\uC774\uC804","\uB2E4\uC74C"],"vs/editor/contrib/lineSelection/browser/lineSelection":["\uC120 \uC120\uD0DD \uC601\uC5ED \uD655\uC7A5"],"vs/editor/contrib/linesOperations/browser/linesOperations":["\uC704\uC5D0 \uC904 \uBCF5\uC0AC","\uC704\uC5D0 \uC904 \uBCF5\uC0AC(&&C)","\uC544\uB798\uC5D0 \uC904 \uBCF5\uC0AC","\uC544\uB798\uC5D0 \uC904 \uBCF5\uC0AC(&&P)","\uC911\uBCF5\uB41C \uC120\uD0DD \uC601\uC5ED","\uC911\uBCF5\uB41C \uC120\uD0DD \uC601\uC5ED(&&D)","\uC904 \uC704\uB85C \uC774\uB3D9","\uC904 \uC704\uB85C \uC774\uB3D9(&&V)","\uC904 \uC544\uB798\uB85C \uC774\uB3D9","\uC904 \uC544\uB798\uB85C \uC774\uB3D9(&&L)","\uC904\uC744 \uC624\uB984\uCC28\uC21C \uC815\uB82C","\uC904\uC744 \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C","\uC911\uBCF5 \uB77C\uC778 \uC0AD\uC81C","\uD6C4\uD589 \uACF5\uBC31 \uC790\uB974\uAE30","\uC904 \uC0AD\uC81C","\uC904 \uB4E4\uC5EC\uC4F0\uAE30","\uC904 \uB0B4\uC5B4\uC4F0\uAE30","\uC704\uC5D0 \uC904 \uC0BD\uC785","\uC544\uB798\uC5D0 \uC904 \uC0BD\uC785","\uC67C\uCABD \uBAA8\uB450 \uC0AD\uC81C","\uC6B0\uCE21\uC5D0 \uC788\uB294 \uD56D\uBAA9 \uC0AD\uC81C","\uC904 \uC5F0\uACB0","\uCEE4\uC11C \uC8FC\uC704 \uBB38\uC790 \uBC14\uAFB8\uAE30","\uB300\uBB38\uC790\uB85C \uBCC0\uD658","\uC18C\uBB38\uC790\uB85C \uBCC0\uD658","\uB2E8\uC5B4\uC758 \uCCAB \uAE00\uC790\uB97C \uB300\uBB38\uC790\uB85C \uBCC0\uD658","\uC2A4\uB124\uC774\uD06C \uD45C\uAE30\uBC95\uC73C\uB85C \uBCC0\uD658","Camel Case\uB85C \uBCC0\uD658","Kebab \uC0AC\uB840\uB85C \uBCC0\uD658"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["\uC5F0\uACB0\uB41C \uD3B8\uC9D1 \uC2DC\uC791","\uD615\uC2DD\uC758 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uC774\uB984\uC744 \uBC14\uAFC0 \uB54C\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4."],"vs/editor/contrib/links/browser/links":["{0} \uD615\uC2DD\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC73C\uBBC0\uB85C \uC774 \uB9C1\uD06C\uB97C \uC5F4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4","\uB300\uC0C1\uC774 \uC5C6\uC73C\uBBC0\uB85C \uC774 \uB9C1\uD06C\uB97C \uC5F4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.","\uBA85\uB839 \uC2E4\uD589","\uB9C1\uD06C\uB85C \uC774\uB3D9","Cmd+\uD074\uB9AD","Ctrl+\uD074\uB9AD","Option+\uD074\uB9AD","Alt+\uD074\uB9AD","\uBA85\uB839 {0} \uC2E4\uD589","\uB9C1\uD06C \uC5F4\uAE30"],"vs/editor/contrib/message/browser/messageController":["\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD604\uC7AC \uC778\uB77C\uC778 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD558\uB294\uC9C0 \uC5EC\uBD80"],"vs/editor/contrib/multicursor/browser/multicursor":["\uCEE4\uC11C\uAC00 \uCD94\uAC00\uB428: {0}","\uCEE4\uC11C\uAC00 \uCD94\uAC00\uB428: {0}","\uC704\uC5D0 \uCEE4\uC11C \uCD94\uAC00","\uC704\uC5D0 \uCEE4\uC11C \uCD94\uAC00(&&A)","\uC544\uB798\uC5D0 \uCEE4\uC11C \uCD94\uAC00","\uC544\uB798\uC5D0 \uCEE4\uC11C \uCD94\uAC00(&&D)","\uC904 \uB05D\uC5D0 \uCEE4\uC11C \uCD94\uAC00","\uC904 \uB05D\uC5D0 \uCEE4\uC11C \uCD94\uAC00(&&U)","\uB9E8 \uC544\uB798\uC5D0 \uCEE4\uC11C \uCD94\uAC00","\uB9E8 \uC704\uC5D0 \uCEE4\uC11C \uCD94\uAC00","\uB2E4\uC74C \uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uC5D0 \uC120\uD0DD \uD56D\uBAA9 \uCD94\uAC00","\uB2E4\uC74C \uD56D\uBAA9 \uCD94\uAC00(&&N)","\uC774\uC804 \uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uC5D0 \uC120\uD0DD \uD56D\uBAA9 \uCD94\uAC00","\uC774\uC804 \uD56D\uBAA9 \uCD94\uAC00(&&R)","\uB2E4\uC74C \uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uB85C \uB9C8\uC9C0\uB9C9 \uC120\uD0DD \uD56D\uBAA9 \uC774\uB3D9","\uB9C8\uC9C0\uB9C9 \uC120\uD0DD \uD56D\uBAA9\uC744 \uC774\uC804 \uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uB85C \uC774\uB3D9","\uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uC758 \uBAA8\uB4E0 \uD56D\uBAA9 \uC120\uD0DD","\uBAA8\uB4E0 \uD56D\uBAA9 \uC120\uD0DD(&&O)","\uBAA8\uB4E0 \uD56D\uBAA9 \uBCC0\uACBD","\uB2E4\uC74C \uCEE4\uC11C \uD3EC\uCEE4\uC2A4","\uB2E4\uC74C \uCEE4\uC11C\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uB9DE\uCDA5\uB2C8\uB2E4.","\uC774\uC804 \uCEE4\uC11C \uD3EC\uCEE4\uC2A4","\uC774\uC804 \uCEE4\uC11C\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uB9DE\uCDA5\uB2C8\uB2E4."],"vs/editor/contrib/parameterHints/browser/parameterHints":["\uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8 \uD2B8\uB9AC\uAC70"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["\uB2E4\uC74C \uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8 \uD45C\uC2DC\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC774\uC804 \uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8 \uD45C\uC2DC\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","{0}, \uD78C\uD2B8","\uB9E4\uAC1C \uBCC0\uC218 \uD78C\uD2B8\uC5D0 \uC788\uB294 \uD65C\uC131 \uD56D\uBAA9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4."],"vs/editor/contrib/peekView/browser/peekView":["\uD604\uC7AC \uCF54\uB4DC \uD3B8\uC9D1\uAE30\uAC00 \uD53C\uD0B9 \uB0B4\uBD80\uC5D0 \uD3EC\uD568\uB418\uC5C8\uB294\uC9C0 \uC5EC\uBD80","\uB2EB\uAE30","Peek \uBDF0 \uC81C\uBAA9 \uC601\uC5ED\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uC81C\uBAA9 \uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uC81C\uBAA9 \uC815\uBCF4 \uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uD14C\uB450\uB9AC \uBC0F \uD654\uC0B4\uD45C \uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC5D0\uC11C \uB77C\uC778 \uB178\uB4DC\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC5D0\uC11C \uD30C\uC77C \uB178\uB4DC\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD\uB41C \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD\uB41C \uD56D\uBAA9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uD3B8\uC9D1\uAE30\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uD3B8\uC9D1\uAE30\uC758 \uAC70\uD130 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD53C\uD0B9 \uBDF0 \uD3B8\uC9D1\uAE30\uC758 \uACE0\uC815 \uC2A4\uD06C\uB864 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uACB0\uACFC \uBAA9\uB85D\uC758 \uC77C\uCE58 \uD56D\uBAA9 \uAC15\uC870 \uD45C\uC2DC \uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uD3B8\uC9D1\uAE30\uC758 \uC77C\uCE58 \uD56D\uBAA9 \uAC15\uC870 \uD45C\uC2DC \uC0C9\uC785\uB2C8\uB2E4.","Peek \uBDF0 \uD3B8\uC9D1\uAE30\uC758 \uC77C\uCE58 \uD56D\uBAA9 \uAC15\uC870 \uD45C\uC2DC \uD14C\uB450\uB9AC\uC785\uB2C8\uB2E4."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\uC6B0\uC120 \uD14D\uC2A4\uD2B8 \uD3B8\uC9D1\uAE30\uB97C \uC5F4\uACE0 \uC904\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.","\uC904 {0} \uBC0F \uBB38\uC790 {1}(\uC73C)\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.","{0} \uC904\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.","\uD604\uC7AC \uC904: {0}, \uBB38\uC790: {1} \uC774\uB3D9\uD560 \uC904 1~{2} \uC0AC\uC774\uC758 \uBC88\uD638\uB97C \uC785\uB825\uD569\uB2C8\uB2E4.","\uD604\uC7AC \uC904: {0}, \uBB38\uC790: {1}. \uC774\uB3D9\uD560 \uC904 \uBC88\uD638\uB97C \uC785\uB825\uD569\uB2C8\uB2E4."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\uAE30\uD638\uB85C \uC774\uB3D9\uD558\uB824\uBA74 \uBA3C\uC800 \uAE30\uD638 \uC815\uBCF4\uAC00 \uC788\uB294 \uD14D\uC2A4\uD2B8 \uD3B8\uC9D1\uAE30\uB97C \uC5FD\uB2C8\uB2E4.","\uD65C\uC131 \uC0C1\uD0DC\uC758 \uD14D\uC2A4\uD2B8 \uD3B8\uC9D1\uAE30\uB294 \uAE30\uD638 \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC77C\uCE58\uD558\uB294 \uD3B8\uC9D1\uAE30 \uAE30\uD638 \uC5C6\uC74C","\uD3B8\uC9D1\uAE30 \uAE30\uD638 \uC5C6\uC74C","\uCE21\uBA74\uC5D0\uC11C \uC5F4\uAE30","\uD558\uB2E8\uC5D0 \uC5F4\uAE30","\uAE30\uD638({0})","\uC18D\uC131({0})","\uBA54\uC11C\uB4DC({0})","\uD568\uC218({0})","\uC0DD\uC131\uC790({0})","\uBCC0\uC218({0})","\uD074\uB798\uC2A4({0})","\uAD6C\uC870\uCCB4({0})","\uC774\uBCA4\uD2B8({0})","\uC5F0\uC0B0\uC790({0})","\uC778\uD130\uD398\uC774\uC2A4({0})","\uB124\uC784\uC2A4\uD398\uC774\uC2A4({0})","\uD328\uD0A4\uC9C0({0})","\uD615\uC2DD \uB9E4\uAC1C \uBCC0\uC218({0})","\uBAA8\uB4C8({0})","\uC18D\uC131({0})","\uC5F4\uAC70\uD615({0})","\uC5F4\uAC70\uD615 \uBA64\uBC84({0})","\uBB38\uC790\uC5F4({0})","\uD30C\uC77C({0})","\uBC30\uC5F4({0})","\uC22B\uC790({0})","\uBD80\uC6B8({0})","\uAC1C\uCCB4({0})","\uD0A4({0})","\uD544\uB4DC({0})","\uC0C1\uC218({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["\uC77D\uAE30 \uC804\uC6A9 \uC785\uB825\uC5D0\uC11C\uB294 \uD3B8\uC9D1\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC77D\uAE30 \uC804\uC6A9 \uD3B8\uC9D1\uAE30\uC5D0\uC11C\uB294 \uD3B8\uC9D1\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."],"vs/editor/contrib/rename/browser/rename":["\uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC704\uCE58 \uC774\uB984\uC744 \uBC14\uAFB8\uB294 \uC911 \uC54C \uC218 \uC5C6\uB294 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.","'{0}'\uC5D0\uC11C '{1}'(\uC73C)\uB85C \uC774\uB984\uC744 \uBC14\uAFB8\uB294 \uC911","{1}\uC5D0 {0} \uC774\uB984 \uBC14\uAFB8\uAE30","'{0}'\uC744(\uB97C) '{1}'(\uC73C)\uB85C \uC774\uB984\uC744 \uBCC0\uACBD\uD588\uC2B5\uB2C8\uB2E4. \uC694\uC57D: {2}","\uC774\uB984 \uBC14\uAFB8\uAE30\uB97C \uD1B5\uD574 \uD3B8\uC9D1 \uB0B4\uC6A9\uC744 \uC801\uC6A9\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.","\uC774\uB984 \uBC14\uAFB8\uAE30\uB97C \uD1B5\uD574 \uD3B8\uC9D1 \uB0B4\uC6A9\uC744 \uACC4\uC0B0\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.","\uAE30\uD638 \uC774\uB984 \uBC14\uAFB8\uAE30","\uC774\uB984\uC744 \uBC14\uAFB8\uAE30 \uC804\uC5D0 \uBCC0\uACBD \uB0B4\uC6A9\uC744 \uBBF8\uB9AC \uBCFC \uC218 \uC788\uB294 \uAE30\uB2A5 \uC0AC\uC6A9/\uC0AC\uC6A9 \uC548 \uD568"],"vs/editor/contrib/rename/browser/renameInputField":["\uC785\uB825 \uC774\uB984 \uBC14\uAFB8\uAE30 \uC704\uC82F\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uC785\uB825 \uC774\uB984\uC744 \uBC14\uAFB8\uC138\uC694. \uC0C8 \uC774\uB984\uC744 \uC785\uB825\uD55C \uB2E4\uC74C [Enter] \uD0A4\uB97C \uB20C\uB7EC \uCEE4\uBC0B\uD558\uC138\uC694.","\uC774\uB984 \uBC14\uAFB8\uAE30 {0}, \uBBF8\uB9AC \uBCF4\uAE30 {1}"],"vs/editor/contrib/smartSelect/browser/smartSelect":["\uC120\uD0DD \uC601\uC5ED \uD655\uC7A5","\uC120\uD0DD \uC601\uC5ED \uD655\uC7A5(&&E)","\uC120\uD0DD \uC601\uC5ED \uCD95\uC18C","\uC120\uD0DD \uC601\uC5ED \uCD95\uC18C(&&S)"],"vs/editor/contrib/snippet/browser/snippetController2":["\uD604\uC7AC \uD3B8\uC9D1\uAE30\uAC00 \uCF54\uB4DC \uC870\uAC01 \uBAA8\uB4DC\uC778\uC9C0 \uC5EC\uBD80","\uCF54\uB4DC \uC870\uAC01 \uBAA8\uB4DC\uC77C \uB54C \uB2E4\uC74C \uD0ED \uC815\uC9C0\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uCF54\uB4DC \uC870\uAC01 \uBAA8\uB4DC\uC77C \uB54C \uC774\uC804 \uD0ED \uC815\uC9C0\uAC00 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uB2E4\uC74C \uC790\uB9AC \uD45C\uC2DC\uC790\uB85C \uC774\uB3D9..."],"vs/editor/contrib/snippet/browser/snippetVariables":["\uC77C\uC694\uC77C","\uC6D4\uC694\uC77C","\uD654\uC694\uC77C","\uC218\uC694\uC77C","\uBAA9\uC694\uC77C","\uAE08\uC694\uC77C","\uD1A0\uC694\uC77C","\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0","1\uC6D4","2\uC6D4","3\uC6D4","4\uC6D4","5\uC6D4","6\uC6D4","7\uC6D4","8\uC6D4","9\uC6D4","10\uC6D4","11\uC6D4","12\uC6D4","1\uC6D4","2\uC6D4","3\uC6D4","4\uC6D4","5\uC6D4","6\uC6D4","7\uC6D4","8\uC6D4","9\uC6D4","10\uC6D4","11\uC6D4","12\uC6D4"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["\uACE0\uC815 \uC2A4\uD06C\uB864 \uD1A0\uAE00","\uACE0\uC815 \uC2A4\uD06C\uB864 \uD1A0\uAE00(&&T)","\uACE0\uC815 \uC2A4\uD06C\uB864","\uACE0\uC815 \uC2A4\uD06C\uB864(&&S)","\uACE0\uC815 \uC2A4\uD06C\uB864 \uD3EC\uCEE4\uC2A4","\uACE0\uC815 \uC2A4\uD06C\uB864 \uD3EC\uCEE4\uC2A4(&&F)","\uB2E4\uC74C \uACE0\uC815 \uC2A4\uD06C\uB864 \uC120 \uC120\uD0DD","\uC774\uC804 \uACE0\uC815 \uC2A4\uD06C\uB864 \uC120 \uC120\uD0DD","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uACE0\uC815 \uC2A4\uD06C\uB864 \uC120\uC73C\uB85C \uC774\uB3D9","\uD3B8\uC9D1\uAE30 \uC120\uD0DD"],"vs/editor/contrib/suggest/browser/suggest":["\uC81C\uC548\uC5D0 \uCD08\uC810\uC744 \uB9DE\uCD94\uB294\uC9C0 \uC5EC\uBD80","\uC81C\uC548 \uC138\uBD80 \uC815\uBCF4\uAC00 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80","\uC120\uD0DD\uD560 \uC218 \uC788\uB294 \uC5EC\uB7EC \uC81C\uC548\uC774 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uD604\uC7AC \uC81C\uC548\uC744 \uC0BD\uC785\uD558\uBA74 \uBCC0\uACBD \uB0B4\uC6A9\uC774 \uC0DD\uC131\uB418\uB294\uC9C0 \uB610\uB294 \uBAA8\uB4E0 \uD56D\uBAA9\uC774 \uC774\uBBF8 \uC785\uB825\uB418\uC5C8\uB294\uC9C0 \uC5EC\uBD80"," \uD0A4\uB97C \uB204\uB97C \uB54C \uC81C\uC548\uC774 \uC0BD\uC785\uB418\uB294\uC9C0 \uC5EC\uBD80","\uD604\uC7AC \uC81C\uC548\uC5D0 \uC0BD\uC785 \uBC0F \uBC14\uAFB8\uAE30 \uB3D9\uC791\uC774 \uC788\uB294\uC9C0 \uC5EC\uBD80","\uAE30\uBCF8 \uB3D9\uC791\uC774 \uC0BD\uC785\uC778\uC9C0 \uB610\uB294 \uBC14\uAFB8\uAE30\uC778\uC9C0 \uC5EC\uBD80","\uD604\uC7AC \uC81C\uC548\uC5D0\uC11C \uCD94\uAC00 \uC138\uBD80 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uB3C4\uB85D \uC9C0\uC6D0\uD558\uB294\uC9C0 \uC5EC\uBD80"],"vs/editor/contrib/suggest/browser/suggestController":["{0}\uC758 {1}\uAC1C\uC758 \uC218\uC815\uC0AC\uD56D\uC744 \uC218\uB77D\uD558\uB294 \uC911","\uC81C\uC548 \uD56D\uBAA9 \uD2B8\uB9AC\uAC70","\uC0BD\uC785","\uC0BD\uC785","\uBC14\uAFB8\uAE30","\uBC14\uAFB8\uAE30","\uC0BD\uC785","\uAC04\uB2E8\uD788 \uD45C\uC2DC","\uB354 \uBCF4\uAE30","\uC81C\uC548 \uC704\uC82F \uD06C\uAE30 \uB2E4\uC2DC \uC124\uC815"],"vs/editor/contrib/suggest/browser/suggestWidget":["\uC81C\uC548 \uC704\uC82F\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uD55C \uC704\uC82F\uC5D0\uC11C \uC120\uD0DD\uB41C \uD56D\uBAA9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uD55C \uC704\uC82F\uC5D0\uC11C \uC120\uD0DD\uB41C \uD56D\uBAA9\uC758 \uC544\uC774\uCF58 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uD55C \uC704\uC82F\uC5D0\uC11C \uC120\uD0DD\uB41C \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F\uC758 \uC77C\uCE58 \uD56D\uBAA9 \uAC15\uC870 \uD45C\uC2DC \uC0C9\uC785\uB2C8\uB2E4.","\uD56D\uBAA9\uC5D0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uC744 \uB54C \uCD94\uCC9C \uC704\uC82F\uC5D0\uC11C \uC77C\uCE58\uD558\uB294 \uD56D\uBAA9\uC758 \uC0C9\uC774 \uAC15\uC870 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC81C\uC548 \uC704\uC82F \uC0C1\uD0DC\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB85C\uB4DC \uC911...","\uC81C\uC548 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC81C\uC548","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, \uBB38\uC11C: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["\uB2EB\uAE30","\uB85C\uB4DC \uC911..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["\uC81C\uC548 \uC704\uC82F\uC5D0\uC11C \uC790\uC138\uD55C \uC815\uBCF4\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC790\uC138\uD55C \uC815\uBCF4"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0}({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["\uBC30\uC5F4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uBD80\uC6B8 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD074\uB798\uC2A4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC0C9 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC0C1\uC218 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC0DD\uC131\uC790 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC5F4\uAC70\uC790 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC5F4\uAC70\uC790 \uBA64\uBC84 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC774\uBCA4\uD2B8 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD544\uB4DC \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uD30C\uC77C \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD3F4\uB354 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD568\uC218 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC778\uD130\uD398\uC774\uC2A4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uD0A4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uD0A4\uC6CC\uB4DC \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uBA54\uC11C\uB4DC \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uBAA8\uB4C8 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","null \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC22B\uC790 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uAC1C\uCCB4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC5F0\uC0B0\uC790 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD328\uD0A4\uC9C0 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uC18D\uC131 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uCC38\uC870 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uBB38\uC790\uC5F4 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uAD6C\uC870 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.","\uD615\uC2DD \uB9E4\uAC1C\uBCC0\uC218 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uB2E8\uC704 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uBCC0\uC218 \uAE30\uD638\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uAE30\uD638\uB294 \uAC1C\uC694, \uC774\uB3D9 \uACBD\uB85C \uBC0F \uC81C\uC548 \uC704\uC82F\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":[" \uD0A4\uB85C \uD3EC\uCEE4\uC2A4 \uC774\uB3D9 \uC124\uC815/\uD574\uC81C","\uC774\uC81C \uD0A4\uB97C \uB204\uB974\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uB2E4\uC74C \uD3EC\uCEE4\uC2A4 \uAC00\uB2A5\uD55C \uC694\uC18C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.","\uC774\uC81C \uD0A4\uB97C \uB204\uB974\uBA74 \uD0ED \uBB38\uC790\uAC00 \uC0BD\uC785\uB429\uB2C8\uB2E4."],"vs/editor/contrib/tokenization/browser/tokenization":["\uAC1C\uBC1C\uC790: \uAC15\uC81C\uB85C \uB2E4\uC2DC \uD1A0\uD070\uD654"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["\uD655\uC7A5 \uD3B8\uC9D1\uAE30\uC5D0 \uACBD\uACE0 \uBA54\uC2DC\uC9C0\uC640 \uD568\uAED8 \uD45C\uC2DC\uB418\uB294 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC774 \uBB38\uC11C\uC5D0\uB294 \uAE30\uBCF8 ASCII \uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uAC00 \uC544\uB2CC \uBB38\uC790\uAC00 \uB9CE\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.","\uC774 \uBB38\uC11C\uC5D0\uB294 \uBAA8\uD638\uD55C \uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uAC00 \uB9CE\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.","\uC774 \uBB38\uC11C\uC5D0\uB294 \uBCF4\uC774\uC9C0 \uC54A\uB294 \uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uAC00 \uB9CE\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.","\uBB38\uC790 {0}\uC740(\uB294) \uC18C\uC2A4 \uCF54\uB4DC\uC5D0\uC11C \uB354 \uC77C\uBC18\uC801\uC778 ASCII \uBB38\uC790 {1}\uACFC(\uC640) \uD63C\uB3D9\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","{0} \uBB38\uC790\uB294 \uC18C\uC2A4 \uCF54\uB4DC\uC5D0\uC11C \uB354 \uC77C\uBC18\uC801\uC778 {1} \uBB38\uC790\uC640 \uD63C\uB3D9\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","{0} \uBB38\uC790\uAC00 \uBCF4\uC774\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","{0} \uBB38\uC790\uB294 \uAE30\uBCF8 ASCII \uBB38\uC790\uAC00 \uC544\uB2D9\uB2C8\uB2E4.","\uC124\uC815 \uC870\uC815","\uBA54\uBAA8\uC5D0\uC11C \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uBA54\uBAA8\uC5D0\uC11C \uBB38\uC790 \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uBB38\uC790\uC5F4\uC5D0\uC11C \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uBB38\uC790\uC5F4\uC5D0\uC11C \uBB38\uC790 \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uBAA8\uD638\uD55C \uAC15\uC870 \uC0AC\uC6A9 \uC548 \uD568","\uBAA8\uD638\uD55C \uBB38\uC790 \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uBCF4\uC774\uC9C0 \uC54A\uB294 \uAC15\uC870 \uC0AC\uC6A9 \uC548 \uD568","\uBCF4\uC774\uC9C0 \uC54A\uB294 \uBB38\uC790 \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","ASCII\uAC00 \uBB38\uC790\uAC00 \uC544\uB2CC \uAC15\uC870 \uC0AC\uC6A9 \uC548 \uD568","\uAE30\uBCF8\uC774 \uC544\uB2CC ASCII \uBB38\uC790 \uAC15\uC870 \uD45C\uC2DC \uC0AC\uC6A9 \uC548 \uD568","\uC81C\uC678 \uC635\uC158 \uD45C\uC2DC","{0}(\uBCF4\uC774\uC9C0 \uC54A\uB294 \uBB38\uC790)\uC774(\uAC00) \uAC15\uC870 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uB3C4\uB85D \uC81C\uC678","\uAC15\uC870 \uD45C\uC2DC\uC5D0\uC11C {0} \uC81C\uC678",'\uC5B8\uC5B4 "{0}"\uC5D0\uC11C \uB354 \uC77C\uBC18\uC801\uC778 \uC720\uB2C8\uCF54\uB4DC \uBB38\uC790\uB97C \uD5C8\uC6A9\uD569\uB2C8\uB2E4.',"\uC720\uB2C8\uCF54\uB4DC \uAC15\uC870 \uD45C\uC2DC \uC635\uC158 \uAD6C\uC131"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["\uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790","\uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790\uAC00 \uAC80\uC0C9\uB428","\uC774 \uD30C\uC77C \u2018\r\n\u2019\uC5D0 LS(\uC904 \uAD6C\uBD84 \uAE30\uD638) \uB610\uB294 PS(\uB2E8\uB77D \uAD6C\uBD84 \uAE30\uD638) \uAC19\uC740 \uD558\uB098 \uC774\uC0C1\uC758 \uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790 \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.{0}\r\n\uD30C\uC77C\uC5D0\uC11C \uC81C\uAC70\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4. `editor.unusualLineTerminators`\uB97C \uD1B5\uD574 \uAD6C\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uBE44\uC815\uC0C1\uC801\uC778 \uC904 \uC885\uACB0\uC790 \uC81C\uAC70(&&R)","\uBB34\uC2DC"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["\uBCC0\uC218 \uC77D\uAE30\uC640 \uAC19\uC740 \uC77D\uAE30 \uC561\uC138\uC2A4 \uC911 \uAE30\uD638\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uBCC0\uC218\uC5D0 \uC4F0\uAE30\uC640 \uAC19\uC740 \uC4F0\uAE30 \uC561\uC138\uC2A4 \uC911 \uAE30\uD638\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAE30\uD638\uC5D0 \uB300\uD55C \uD14D\uC2A4\uD2B8 \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uBCC0\uC218 \uC77D\uAE30\uC640 \uAC19\uC740 \uC77D\uAE30 \uC561\uC138\uC2A4 \uC911 \uAE30\uD638\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uBCC0\uC218\uC5D0 \uC4F0\uAE30\uC640 \uAC19\uC740 \uC4F0\uAE30 \uC561\uC138\uC2A4 \uC911 \uAE30\uD638\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uAE30\uD638\uC5D0 \uB300\uD55C \uD14D\uC2A4\uD2B8 \uD56D\uBAA9\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uAE30\uD638 \uAC15\uC870 \uD45C\uC2DC\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uD45C\uC2DD \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC4F0\uAE30 \uC561\uC138\uC2A4 \uAE30\uD638\uC5D0 \uB300\uD55C \uAC1C\uC694 \uB208\uAE08\uC790 \uD45C\uC2DD \uC0C9\uC774 \uAC15\uC870 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAE30\uD638\uC5D0 \uB300\uD55C \uD14D\uC2A4\uD2B8 \uD56D\uBAA9\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uB9C8\uCEE4 \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["\uB2E4\uC74C \uAC15\uC870 \uAE30\uD638\uB85C \uC774\uB3D9","\uC774\uC804 \uAC15\uC870 \uAE30\uD638\uB85C \uC774\uB3D9","\uAE30\uD638 \uAC15\uC870 \uD45C\uC2DC \uD2B8\uB9AC\uAC70"],"vs/editor/contrib/wordOperations/browser/wordOperations":["\uB2E8\uC5B4 \uC0AD\uC81C"],"vs/platform/action/common/actionCommonCategories":["\uBCF4\uAE30","\uB3C4\uC6C0\uB9D0","\uD14C\uC2A4\uD2B8","\uD30C\uC77C","\uAE30\uBCF8 \uC124\uC815","\uAC1C\uBC1C\uC790"],"vs/platform/actionWidget/browser/actionList":["\uC801\uC6A9\uD558\uB824\uBA74 {0}, \uBBF8\uB9AC \uBCF4\uAE30\uB97C \uBCF4\uB824\uBA74 {1}","\uC2E0\uCCAD\uD558\uB824\uBA74 {0}","{0}, \uC0AC\uC6A9 \uC548 \uD568 \uC774\uC720: {1}","\uC791\uC5C5 \uC704\uC82F"],"vs/platform/actionWidget/browser/actionWidget":["\uC791\uC5C5 \uD45C\uC2DC\uC904\uC5D0\uC11C \uD1A0\uAE00\uB41C \uC791\uC5C5 \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC791\uC5C5 \uC704\uC82F \uBAA9\uB85D \uD45C\uC2DC \uC5EC\uBD80","\uC791\uC5C5 \uC704\uC82F \uC228\uAE30\uAE30","\uC774\uC804 \uC791\uC5C5 \uC120\uD0DD","\uB2E4\uC74C \uC791\uC5C5 \uC120\uD0DD","\uC120\uD0DD\uD55C \uC791\uC5C5 \uC218\uB77D","\uC120\uD0DD\uD55C \uC791\uC5C5 \uBBF8\uB9AC \uBCF4\uAE30"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0}({1})","{0}({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["\uC228\uAE30\uAE30","\uBA54\uB274 \uB2E4\uC2DC \uC124\uC815"],"vs/platform/actions/common/menuService":["'{0}' \uC228\uAE30\uAE30"],"vs/platform/audioCues/browser/audioCueService":["\uC904\uC5D0 \uB300\uD55C \uC624\uB958","\uC904\uC5D0 \uB300\uD55C \uACBD\uACE0","\uC904\uC758 \uC811\uD78C \uBD80\uBD84","\uC904\uC758 \uC911\uB2E8\uC810","\uC904\uC758 \uC778\uB77C\uC778 \uC81C\uC548","\uD130\uBBF8\uB110 \uBE60\uB978 \uC218\uC815","\uC911\uB2E8\uC810\uC5D0\uC11C \uC911\uC9C0\uB41C \uB514\uBC84\uAC70","\uC904\uC758 \uC778\uB808\uC774 \uD78C\uD2B8 \uC5C6\uC74C","\uC644\uB8CC\uB41C \uC791\uC5C5","\uC791\uC5C5 \uC2E4\uD328","\uD130\uBBF8\uB110 \uBA85\uB839 \uC2E4\uD328","\uD130\uBBF8\uB110 \uBCA8","Notebook \uC140 \uC644\uB8CC\uB428","Notebook \uC140 \uC2E4\uD328","Diff \uC904 \uC0BD\uC785\uB428","Diff \uC904 \uC0AD\uC81C\uB428","Diff \uC904 \uC218\uC815\uB428","\uCC44\uD305 \uC694\uCCAD \uC804\uC1A1\uB428","\uCC44\uD305 \uC751\uB2F5 \uC218\uC2E0\uB428","\uCC44\uD305 \uC751\uB2F5 \uB300\uAE30 \uC911"],"vs/platform/configuration/common/configurationRegistry":["\uAE30\uBCF8 \uC5B8\uC5B4 \uAD6C\uC131 \uC7AC\uC815\uC758","{0}\uC5D0\uC11C \uC7AC\uC815\uC758\uD560 \uC124\uC815\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4.","\uC5B8\uC5B4\uC5D0 \uB300\uD574 \uC7AC\uC815\uC758\uD560 \uD3B8\uC9D1\uAE30 \uC124\uC815\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4.","\uC774 \uC124\uC815\uC740 \uC5B8\uC5B4\uBCC4 \uAD6C\uC131\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uC5B8\uC5B4\uC5D0 \uB300\uD574 \uC7AC\uC815\uC758\uD560 \uD3B8\uC9D1\uAE30 \uC124\uC815\uC744 \uAD6C\uC131\uD569\uB2C8\uB2E4.","\uC774 \uC124\uC815\uC740 \uC5B8\uC5B4\uBCC4 \uAD6C\uC131\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uBE48 \uC18D\uC131\uC744 \uB4F1\uB85D\uD560 \uC218 \uC5C6\uC74C","'{0}'\uC744(\uB97C) \uB4F1\uB85D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC774\uB294 \uC5B8\uC5B4\uBCC4 \uD3B8\uC9D1\uAE30 \uC124\uC815\uC744 \uC124\uBA85\uD558\uB294 \uC18D\uC131 \uD328\uD134\uC778 '\\\\[.*\\\\]$'\uACFC(\uC640) \uC77C\uCE58\uD569\uB2C8\uB2E4. 'configurationDefaults' \uAE30\uC5EC\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.","'{0}'\uC744(\uB97C) \uB4F1\uB85D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC774 \uC18D\uC131\uC740 \uC774\uBBF8 \uB4F1\uB85D\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.","'{0}'\uC744(\uB97C) \uB4F1\uB85D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uB41C \uC815\uCC45 {1}\uC774(\uAC00) \uC774\uBBF8 {2}\uC5D0 \uB4F1\uB85D\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."],"vs/platform/contextkey/browser/contextKeyService":["\uCEE8\uD14D\uC2A4\uD2B8 \uD0A4\uC5D0 \uB300\uD55C \uC815\uBCF4\uB97C \uBC18\uD658\uD558\uB294 \uBA85\uB839"],"vs/platform/contextkey/common/contextkey":["\uBE48 \uCEE8\uD14D\uC2A4\uD2B8 \uD0A4 \uC2DD","\uC2DD \uC4F0\uB294 \uAC83\uC744 \uC78A\uC73C\uC168\uB098\uC694? \uD56D\uC0C1 'false' \uB610\uB294 'true'\uB97C \uB123\uC5B4 \uAC01\uAC01 false \uB610\uB294 true\uB85C \uD3C9\uAC00\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.","'not' \uB4A4\uC5D0 'in'\uC774 \uC788\uC2B5\uB2C8\uB2E4.","\uB2EB\uB294 \uAD04\uD638 ')'","\uC608\uAE30\uCE58 \uC54A\uC740 \uD1A0\uD070","\uD1A0\uD070 \uC55E\uC5D0 && \uB610\uB294 ||\uB97C \uC785\uB825\uD558\uB294 \uAC83\uC744 \uC78A\uC73C\uC168\uB098\uC694?","\uD544\uC694\uD558\uC9C0 \uC54A\uC740 \uC2DD\uC758 \uB05D","\uCEE8\uD14D\uC2A4\uD2B8 \uD0A4\uB97C \uC785\uB825\uD558\uB294 \uAC83\uC744 \uC78A\uC73C\uC168\uB098\uC694?",`\uC608\uC0C1: {0}\r +\uC218\uC2E0\uB428: '{1}'.`],"vs/platform/contextkey/common/contextkeys":["\uC6B4\uC601 \uCCB4\uC81C\uAC00 macOS\uC778\uC9C0 \uC5EC\uBD80","\uC6B4\uC601 \uCCB4\uC81C\uAC00 Linux\uC778\uC9C0 \uC5EC\uBD80","\uC6B4\uC601 \uCCB4\uC81C\uAC00 Windows\uC778\uC9C0 \uC5EC\uBD80","\uD50C\uB7AB\uD3FC\uC774 \uC6F9 \uBE0C\uB77C\uC6B0\uC800\uC778\uC9C0 \uC5EC\uBD80","\uBE0C\uB77C\uC6B0\uC800 \uAE30\uBC18\uC774 \uC544\uB2CC \uD50C\uB7AB\uD3FC\uC5D0\uC11C \uC6B4\uC601 \uCCB4\uC81C\uAC00 macOS\uC778\uC9C0 \uC5EC\uBD80","\uC6B4\uC601 \uCCB4\uC81C\uAC00 iOS\uC778\uC9C0 \uC5EC\uBD80","\uD50C\uB7AB\uD3FC\uC774 \uBAA8\uBC14\uC77C \uC6F9 \uBE0C\uB77C\uC6B0\uC800\uC778\uC9C0 \uC5EC\uBD80","VS \uCF54\uB4DC\uC758 \uD488\uC9C8 \uC720\uD615","\uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uAC00 \uC785\uB825 \uC0C1\uC790 \uB0B4\uC5D0 \uC788\uB294\uC9C0 \uC5EC\uBD80"],"vs/platform/contextkey/common/scanner":["{0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?","{0} \uB610\uB294 {1}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?","{0}, {1} \uB610\uB294 {2}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?","\uACAC\uC801\uC744 \uC5F4\uAC70\uB098 \uB2EB\uB294 \uAC83\uC744 \uC78A\uC73C\uC168\uB098\uC694?","'/'(\uC2AC\uB798\uC2DC) \uBB38\uC790\uB97C \uC774\uC2A4\uCF00\uC774\uD504\uD558\uB294 \uAC83\uC744 \uC78A\uC73C\uC168\uB098\uC694? \uC774\uC2A4\uCF00\uC774\uD504\uD558\uB824\uBA74 \uC55E\uC5D0 \uBC31\uC2AC\uB77C\uC2DC \uB450 \uAC1C(\uC608: '\\\\/')\uB97C \uB123\uC2B5\uB2C8\uB2E4."],"vs/platform/history/browser/contextScopedHistoryWidget":["\uC81C\uC548\uC774 \uD45C\uC2DC\uB418\uB294\uC9C0 \uC5EC\uBD80"],"vs/platform/keybinding/common/abstractKeybindingService":["({0})\uC744(\uB97C) \uB20C\uB800\uC2B5\uB2C8\uB2E4. \uB458\uC9F8 \uD0A4\uB294 \uC7A0\uC2DC \uAE30\uB2E4\uB838\uB2E4\uAC00 \uB204\uB974\uC2ED\uC2DC\uC624...","({0})\uC744(\uB97C) \uB20C\uB800\uC2B5\uB2C8\uB2E4. \uCF54\uB4DC\uC758 \uB2E4\uC74C \uD0A4\uB97C \uAE30\uB2E4\uB9AC\uB294 \uC911...","\uD0A4 \uC870\uD569({0}, {1})\uC740 \uBA85\uB839\uC774 \uC544\uB2D9\uB2C8\uB2E4.","\uD0A4 \uC870\uD569({0}, {1})\uC740 \uBA85\uB839\uC774 \uC544\uB2D9\uB2C8\uB2E4."],"vs/platform/list/browser/listService":["\uC6CC\uD06C\uBCA4\uCE58","Windows\uC640 Linux\uC758 'Control'\uC744 macOS\uC758 'Command'\uB85C \uB9E4\uD551\uD569\uB2C8\uB2E4.","Windows\uC640 Linux\uC758 'Alt'\uB97C macOS\uC758 'Option'\uC73C\uB85C \uB9E4\uD551\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uD2B8\uB9AC\uC640 \uBAA9\uB85D\uC758 \uD56D\uBAA9\uC744 \uB2E4\uC911 \uC120\uD0DD\uC5D0 \uCD94\uAC00\uD560 \uB54C \uC0AC\uC6A9\uD560 \uD55C\uC815\uC790\uC785\uB2C8\uB2E4(\uC608\uB97C \uB4E4\uC5B4 \uD0D0\uC0C9\uAE30\uC5D0\uC11C \uD3B8\uC9D1\uAE30\uC640 SCM \uBCF4\uAE30\uB97C \uC5EC\uB294 \uACBD\uC6B0). '\uC606\uC5D0\uC11C \uC5F4\uAE30' \uB9C8\uC6B0\uC2A4 \uC81C\uC2A4\uCC98(\uC9C0\uC6D0\uB418\uB294 \uACBD\uC6B0)\uB294 \uB2E4\uC911 \uC120\uD0DD \uD55C\uC815\uC790\uC640 \uCDA9\uB3CC\uD558\uC9C0 \uC54A\uB3C4\uB85D \uC870\uC815\uB429\uB2C8\uB2E4.","\uD2B8\uB9AC\uC640 \uBAA9\uB85D\uC5D0\uC11C \uB9C8\uC6B0\uC2A4\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD56D\uBAA9\uC744 \uC5EC\uB294 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4(\uC9C0\uC6D0\uB418\uB294 \uACBD\uC6B0). \uC77C\uBD80 \uD2B8\uB9AC\uC640 \uBAA9\uB85D\uC5D0\uC11C\uB294 \uC774 \uC124\uC815\uC744 \uC801\uC6A9\uD560 \uC218 \uC5C6\uB294 \uACBD\uC6B0 \uBB34\uC2DC\uD558\uB3C4\uB85D \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC5D0\uC11C \uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC758 \uAC00\uB85C \uC2A4\uD06C\uB864 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uACBD\uACE0: \uC774 \uC124\uC815\uC744 \uCF1C\uBA74 \uC131\uB2A5\uC5D0 \uC601\uD5A5\uC744 \uBBF8\uCE69\uB2C8\uB2E4.","\uC2A4\uD06C\uB864 \uB9C9\uB300 \uC2A4\uD06C\uB864 \uD398\uC774\uC9C0\uC758 \uD398\uC774\uC9C0\uBCC4 \uD074\uB9AD \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD2B8\uB9AC \uB4E4\uC5EC\uC4F0\uAE30\uB97C \uD53D\uC140 \uB2E8\uC704\uB85C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD2B8\uB9AC\uC5D0\uC11C \uB4E4\uC5EC\uC4F0\uAE30 \uAC00\uC774\uB4DC\uB97C \uB80C\uB354\uB9C1\uD560\uC9C0 \uC5EC\uBD80\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uBAA9\uB85D\uACFC \uD2B8\uB9AC\uC5D0 \uBD80\uB4DC\uB7EC\uC6B4 \uD654\uBA74 \uC774\uB3D9 \uAE30\uB2A5\uC774 \uC788\uB294\uC9C0\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4 \uD720 \uC2A4\uD06C\uB864 \uC774\uBCA4\uD2B8\uC758 `deltaX` \uBC0F `deltaY`\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC2B9\uC218\uC785\uB2C8\uB2E4.","'Alt' \uD0A4\uB97C \uB204\uB97C \uB54C \uC2A4\uD06C\uB864 \uC18D\uB3C4 \uC2B9\uC218\uC785\uB2C8\uB2E4.","\uAC80\uC0C9\uD560 \uB54C \uC694\uC18C\uB97C \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4. \uCD94\uAC00 \uC704\uC544\uB798 \uD0D0\uC0C9\uC740 \uAC15\uC870 \uD45C\uC2DC\uB41C \uC694\uC18C\uB9CC \uD0D0\uC0C9\uD569\uB2C8\uB2E4.","\uAC80\uC0C9\uD560 \uB54C \uC694\uC18C\uB97C \uD544\uD130\uB9C1\uD569\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC5D0\uC11C \uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC758 \uAE30\uBCF8 \uCC3E\uAE30 \uBAA8\uB4DC\uB97C \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uAC04\uB2E8\uD55C \uD0A4\uBCF4\uB4DC \uD0D0\uC0C9\uC5D0\uC11C\uB294 \uD0A4\uBCF4\uB4DC \uC785\uB825\uACFC \uC77C\uCE58\uD558\uB294 \uC694\uC18C\uC5D0 \uC9D1\uC911\uD569\uB2C8\uB2E4. \uC77C\uCE58\uB294 \uC811\uB450\uC0AC\uC5D0\uC11C\uB9CC \uC218\uD589\uB429\uB2C8\uB2E4.","\uD0A4\uBCF4\uB4DC \uD0D0\uC0C9 \uAC15\uC870 \uD45C\uC2DC\uC5D0\uC11C\uB294 \uD0A4\uBCF4\uB4DC \uC785\uB825\uACFC \uC77C\uCE58\uD558\uB294 \uC694\uC18C\uB97C \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4. \uC774\uD6C4\uB85C \uD0D0\uC0C9\uC5D0\uC11C \uC704 \uBC0F \uC544\uB798\uB85C \uC774\uB3D9\uD558\uB294 \uACBD\uC6B0 \uAC15\uC870 \uD45C\uC2DC\uB41C \uC694\uC18C\uB9CC \uD2B8\uB798\uBC84\uC2A4\uD569\uB2C8\uB2E4.","\uD0A4\uBCF4\uB4DC \uD0D0\uC0C9 \uD544\uD130\uB9C1\uC5D0\uC11C\uB294 \uD0A4\uBCF4\uB4DC \uC785\uB825\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uB294 \uC694\uC18C\uB97C \uBAA8\uB450 \uD544\uD130\uB9C1\uD558\uC5EC \uC228\uAE41\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC758 \uBAA9\uB85D \uBC0F \uD2B8\uB9AC \uD0A4\uBCF4\uB4DC \uD0D0\uC0C9 \uC2A4\uD0C0\uC77C\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uAC04\uC18C\uD654\uD558\uACE0, \uAC15\uC870 \uD45C\uC2DC\uD558\uACE0, \uD544\uD130\uB9C1\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uB300\uC2E0 'workbench.list.defaultFindMode' \uBC0F 'workbench.list.typeNavigationMode'\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.","\uAC80\uC0C9\uD560 \uB54C \uC720\uC0AC \uD56D\uBAA9 \uC77C\uCE58\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uAC80\uC0C9\uD560 \uB54C \uC5F0\uC18D \uC77C\uCE58\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC5D0\uC11C \uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uB97C \uAC80\uC0C9\uD560 \uB54C \uC0AC\uC6A9\uD558\uB294 \uC77C\uCE58 \uC720\uD615\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4.","\uD3F4\uB354 \uC774\uB984\uC744 \uD074\uB9AD\uD560 \uB54C \uD2B8\uB9AC \uD3F4\uB354\uAC00 \uD655\uC7A5\uB418\uB294 \uBC29\uBC95\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. \uC77C\uBD80 \uD2B8\uB9AC\uC640 \uBAA9\uB85D\uC5D0\uC11C\uB294 \uC774 \uC124\uC815\uC744 \uC801\uC6A9\uD560 \uC218 \uC5C6\uB294 \uACBD\uC6B0 \uBB34\uC2DC\uD558\uB3C4\uB85D \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC758 \uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC5D0\uC11C \uD615\uC2DD \uD0D0\uC0C9\uC774 \uC791\uB3D9\uD558\uB294 \uBC29\uC2DD\uC744 \uC81C\uC5B4\uD569\uB2C8\uB2E4. 'trigger'\uB85C \uC124\uC815 \uC2DC 'list.triggerTypeNavigation' \uBA85\uB839\uC774 \uC2E4\uD589\uB418\uBA74 \uD615\uC2DD \uD0D0\uC0C9\uC774 \uC2DC\uC791\uB429\uB2C8\uB2E4."],"vs/platform/markers/common/markers":["\uC624\uB958","\uACBD\uACE0","\uC815\uBCF4"],"vs/platform/quickinput/browser/commandsQuickAccess":["\uCD5C\uADFC\uC5D0 \uC0AC\uC6A9\uD55C \uD56D\uBAA9","\uC720\uC0AC\uD55C \uBA85\uB839","\uC77C\uBC18\uC801\uC73C\uB85C \uC0AC\uC6A9\uB428","\uAE30\uD0C0 \uBA85\uB839","\uC720\uC0AC\uD55C \uBA85\uB839","{0}, {1}","'{0}' \uBA85\uB839\uC5D0\uC11C \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["\uB4A4\uB85C","\uC785\uB825\uC744 \uD655\uC778\uD558\uB824\uBA74 'Enter' \uD0A4\uB97C \uB204\uB974\uACE0, \uCDE8\uC18C\uD558\uB824\uBA74 'Esc' \uD0A4\uB97C \uB204\uB974\uC138\uC694.","{0} / {1}","\uACB0\uACFC\uC758 \uBC94\uC704\uB97C \uCD95\uC18C\uD558\uB824\uBA74 \uC785\uB825\uD558\uC138\uC694."],"vs/platform/quickinput/browser/quickInputController":["\uBAA8\uB4E0 \uD655\uC778\uB780 \uC120\uD0DD/\uD574\uC81C","{0}\uAC1C \uACB0\uACFC","{0} \uC120\uD0DD\uB428","\uD655\uC778","\uC0AC\uC6A9\uC790 \uC9C0\uC815","\uB4A4\uB85C({0})","\uB4A4\uB85C"],"vs/platform/quickinput/browser/quickInputList":["\uBE60\uB978 \uC785\uB825"],"vs/platform/quickinput/browser/quickInputUtils":["'{0}' \uBA85\uB839\uC744 \uC2E4\uD589\uD558\uB824\uBA74 \uD074\uB9AD"],"vs/platform/theme/common/colorRegistry":["\uC804\uCCB4 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC740 \uAD6C\uC131 \uC694\uC18C\uC5D0\uC11C \uC7AC\uC815\uC758\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uBE44\uD65C\uC131\uD654\uB41C \uC694\uC18C\uC758 \uC804\uCCB4 \uC804\uACBD\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC740 \uAD6C\uC131 \uC694\uC18C\uC5D0\uC11C \uC7AC\uC815\uC758\uD558\uC9C0 \uC54A\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uC624\uB958 \uBA54\uC2DC\uC9C0\uC5D0 \uB300\uD55C \uC804\uCCB4 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC740 \uAD6C\uC131 \uC694\uC18C\uC5D0\uC11C \uC7AC\uC815\uC758\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uB808\uC774\uBE14\uACFC \uAC19\uC774 \uCD94\uAC00 \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uB294 \uC124\uBA85 \uD14D\uC2A4\uD2B8\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58 \uC544\uC774\uCF58\uC758 \uAE30\uBCF8 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uC694\uC18C\uC758 \uC804\uCCB4 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC740 \uAD6C\uC131 \uC694\uC18C\uC5D0\uC11C \uC7AC\uC815\uC758\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uB354 \uB69C\uB837\uC774 \uB300\uBE44\uB418\uB3C4\uB85D \uC694\uC18C\uB97C \uB2E4\uB978 \uC694\uC18C\uC640 \uAD6C\uBD84\uD558\uB294 \uC694\uC18C \uC8FC\uC704\uC758 \uCD94\uAC00 \uD14C\uB450\uB9AC\uC785\uB2C8\uB2E4.","\uB354 \uB69C\uB837\uC774 \uB300\uBE44\uB418\uB3C4\uB85D \uC694\uC18C\uB97C \uB2E4\uB978 \uC694\uC18C\uC640 \uAD6C\uBD84\uD558\uB294 \uD65C\uC131 \uC694\uC18C \uC8FC\uC704\uC758 \uCD94\uAC00 \uD14C\uB450\uB9AC\uC785\uB2C8\uB2E4.","\uC6CC\uD06C\uBCA4\uCE58\uC758 \uD14D\uC2A4\uD2B8 \uC120\uD0DD(\uC608: \uC785\uB825 \uD544\uB4DC \uB610\uB294 \uD14D\uC2A4\uD2B8 \uC601\uC5ED) \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uD3B8\uC9D1\uAE30 \uB0B4\uC758 \uC120\uD0DD\uC5D0\uB294 \uC801\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uAD6C\uBD84\uC790 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uB0B4 \uB9C1\uD06C\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD074\uB9AD\uD558\uACE0 \uB9C8\uC6B0\uC2A4\uAC00 \uC62C\uB77C\uAC04 \uC0C1\uD0DC\uC758 \uD14D\uC2A4\uD2B8 \uB0B4 \uB9C1\uD06C\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBBF8\uB9AC \uC11C\uC2DD\uC774 \uC9C0\uC815\uB41C \uD14D\uC2A4\uD2B8 \uC138\uADF8\uBA3C\uD2B8\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uB0B4 \uBE14\uB85D \uC778\uC6A9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uB0B4 \uBE14\uB85D \uC778\uC6A9\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD14D\uC2A4\uD2B8 \uB0B4 \uCF54\uB4DC \uBE14\uB85D\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB0B4\uC5D0\uC11C \uCC3E\uAE30/\uBC14\uAFB8\uAE30 \uAC19\uC740 \uC704\uC82F\uC758 \uADF8\uB9BC\uC790 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB0B4\uC5D0\uC11C \uCC3E\uAE30/\uBC14\uAFB8\uAE30\uC640 \uAC19\uC740 \uC704\uC82F\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC785\uB825 \uC0C1\uC790 \uBC30\uACBD\uC785\uB2C8\uB2E4.","\uC785\uB825 \uC0C1\uC790 \uC804\uACBD\uC785\uB2C8\uB2E4.","\uC785\uB825 \uC0C1\uC790 \uD14C\uB450\uB9AC\uC785\uB2C8\uB2E4.","\uC785\uB825 \uD544\uB4DC\uC5D0\uC11C \uD65C\uC131\uD654\uB41C \uC635\uC158\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC785\uB825 \uD544\uB4DC\uC5D0\uC11C \uD65C\uC131\uD654\uB41C \uC635\uC158\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC785\uB825 \uD544\uB4DC\uC5D0 \uC788\uB294 \uC635\uC158\uC758 \uBC30\uACBD \uAC00\uB9AC\uD0A4\uAE30 \uC0C9\uC785\uB2C8\uB2E4.","\uC785\uB825 \uD544\uB4DC\uC5D0\uC11C \uD65C\uC131\uD654\uB41C \uC635\uC158\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC704\uCE58 \uD45C\uC2DC\uC790 \uD14D\uC2A4\uD2B8\uC5D0 \uB300\uD55C \uC785\uB825 \uC0C1\uC790 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC815\uBCF4 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC815\uBCF4 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC815\uBCF4 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uACBD\uACE0 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uACBD\uACE0 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uACBD\uACE0 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC624\uB958 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC624\uB958 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC624\uB958 \uC2EC\uAC01\uB3C4\uC758 \uC785\uB825 \uC720\uD6A8\uC131 \uAC80\uC0AC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uB4DC\uB86D\uB2E4\uC6B4 \uBC30\uACBD\uC785\uB2C8\uB2E4.","\uB4DC\uB86D\uB2E4\uC6B4 \uBAA9\uB85D \uBC30\uACBD\uC785\uB2C8\uB2E4.","\uB4DC\uB86D\uB2E4\uC6B4 \uC804\uACBD\uC785\uB2C8\uB2E4.","\uB4DC\uB86D\uB2E4\uC6B4 \uD14C\uB450\uB9AC\uC785\uB2C8\uB2E4.","\uB2E8\uCD94 \uAE30\uBCF8 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB2E8\uCD94 \uAD6C\uBD84 \uAE30\uD638 \uC0C9\uC785\uB2C8\uB2E4.","\uB2E8\uCD94 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0AC \uB54C \uB2E8\uCD94 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBC84\uD2BC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uBCF4\uC870 \uB2E8\uCD94 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBCF4\uC870 \uB2E8\uCD94 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0AC \uB54C \uBCF4\uC870 \uB2E8\uCD94 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBC30\uC9C0 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBC30\uC9C0\uB294 \uAC80\uC0C9 \uACB0\uACFC \uC218\uC640 \uAC19\uC740 \uC18C\uB7C9\uC758 \uC815\uBCF4 \uB808\uC774\uBE14\uC785\uB2C8\uB2E4.","\uBC30\uC9C0 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBC30\uC9C0\uB294 \uAC80\uC0C9 \uACB0\uACFC \uC218\uC640 \uAC19\uC740 \uC18C\uB7C9\uC758 \uC815\uBCF4 \uB808\uC774\uBE14\uC785\uB2C8\uB2E4.","\uC2A4\uD06C\uB864\uB418\uB294 \uBCF4\uAE30\uB97C \uB098\uD0C0\uB0B4\uB294 \uC2A4\uD06C\uB864 \uB9C9\uB300 \uADF8\uB9BC\uC790\uC785\uB2C8\uB2E4.","\uC2A4\uD06C\uB864 \uB9C9\uB300 \uC2AC\uB77C\uC774\uBC84 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0AC \uB54C \uC2A4\uD06C\uB864 \uB9C9\uB300 \uC2AC\uB77C\uC774\uB354 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD074\uB9AD\uB41C \uC0C1\uD0DC\uC77C \uB54C \uC2A4\uD06C\uB864 \uB9C9\uB300 \uC2AC\uB77C\uC774\uB354 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC7A5\uAE30 \uC791\uC5C5\uC744 \uB300\uC0C1\uC73C\uB85C \uD45C\uC2DC\uB420 \uC218 \uC788\uB294 \uC9C4\uD589\uB960 \uD45C\uC2DC\uC904\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC624\uB958 \uD14D\uC2A4\uD2B8\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB0B4 \uC624\uB958 \uD45C\uC2DC\uC120\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC124\uC815\uB41C \uACBD\uC6B0 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC624\uB958\uB97C \uB098\uD0C0\uB0B4\uB294 \uC774\uC911 \uBC11\uC904\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACBD\uACE0 \uD14D\uC2A4\uD2B8\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB0B4 \uACBD\uACE0 \uD45C\uC2DC\uC120\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC124\uC815\uB41C \uACBD\uC6B0 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uACBD\uACE0\uB97C \uB098\uD0C0\uB0B4\uB294 \uC774\uC911 \uBC11\uC904\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC815\uBCF4 \uD14D\uC2A4\uD2B8\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uB0B4 \uC815\uBCF4 \uD45C\uC2DC\uC120\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC124\uC815\uB41C \uACBD\uC6B0 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uC815\uBCF4\uB97C \uB098\uD0C0\uB0B4\uB294 \uC774\uC911 \uBC11\uC904 \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD78C\uD2B8 \uD45C\uC2DC\uC120\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC124\uC815\uB41C \uACBD\uC6B0 \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uD78C\uD2B8\uB97C \uB098\uD0C0\uB0B4\uB294 \uC774\uC911 \uBC11\uC904 \uC0C9\uC785\uB2C8\uB2E4.","\uD65C\uC131 \uC100\uC2DC\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uAE30\uBCF8 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30\uC758 \uACE0\uC815 \uC2A4\uD06C\uB864 \uBC30\uACBD\uC0C9","\uD3B8\uC9D1\uAE30\uC758 \uAC00\uB9AC\uD0A8 \uD56D\uBAA9 \uBC30\uACBD\uC0C9\uC5D0 \uACE0\uC815 \uC2A4\uD06C\uB864","\uCC3E\uAE30/\uBC14\uAFB8\uAE30 \uAC19\uC740 \uD3B8\uC9D1\uAE30 \uC704\uC82F\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uCC3E\uAE30/\uBC14\uAFB8\uAE30\uC640 \uAC19\uC740 \uD3B8\uC9D1\uAE30 \uC704\uC82F\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC704\uC82F\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4. \uC704\uC82F\uC5D0 \uD14C\uB450\uB9AC\uAC00 \uC788\uACE0 \uC704\uC82F\uC774 \uC0C9\uC0C1\uC744 \uBB34\uC2DC\uD558\uC9C0 \uC54A\uC744 \uB54C\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC704\uC82F \uD06C\uAE30 \uC870\uC815 \uB9C9\uB300\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4. \uC774 \uC0C9\uC740 \uC704\uC82F\uC5D0\uC11C \uD06C\uAE30 \uC870\uC815 \uB9C9\uB300\uB97C \uD45C\uC2DC\uD558\uB3C4\uB85D \uC120\uD0DD\uD558\uACE0 \uC704\uC82F\uC5D0\uC11C \uC0C9\uC744 \uC7AC\uC9C0\uC815\uD558\uC9C0 \uC54A\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uBE60\uB978 \uC120\uD0DD\uAE30 \uBC30\uACBD\uC0C9. \uBE60\uB978 \uC120\uD0DD\uAE30 \uC704\uC82F\uC740 \uBA85\uB839 \uD314\uB808\uD2B8\uC640 \uAC19\uC740 \uC120\uD0DD\uAE30\uB97C \uC704\uD55C \uCEE8\uD14C\uC774\uB108\uC785\uB2C8\uB2E4.","\uBE60\uB978 \uC120\uD0DD\uAE30 \uC804\uACBD\uC0C9. \uC774 \uBE60\uB978 \uC120\uD0DD\uAE30 \uC704\uC82F\uC740 \uBA85\uB839 \uD314\uB808\uD2B8\uC640 \uAC19\uC740 \uC120\uD0DD\uAE30\uB97C \uC704\uD55C \uCEE8\uD14C\uC774\uB108\uC785\uB2C8\uB2E4.","\uBE60\uB978 \uC120\uD0DD\uAE30 \uC81C\uBAA9 \uBC30\uACBD\uC0C9. \uC774 \uBE60\uB978 \uC120\uD0DD\uAE30 \uC704\uC82F\uC740 \uBA85\uB839 \uD314\uB808\uD2B8\uC640 \uAC19\uC740 \uC120\uD0DD\uAE30\uB97C \uC704\uD55C \uCEE8\uD14C\uC774\uB108\uC785\uB2C8\uB2E4.","\uADF8\uB8F9\uD654 \uB808\uC774\uBE14\uC5D0 \uB300\uD55C \uBE60\uB978 \uC120\uD0DD\uAE30 \uC0C9\uC785\uB2C8\uB2E4.","\uADF8\uB8F9\uD654 \uD14C\uB450\uB9AC\uC5D0 \uB300\uD55C \uBE60\uB978 \uC120\uD0DD\uAE30 \uC0C9\uC785\uB2C8\uB2E4.","\uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14\uC740 \uBC14\uB85C \uAC00\uAE30 \uD0A4\uB97C \uB098\uD0C0\uB0B4\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14\uC740 \uBC14\uB85C \uAC00\uAE30 \uD0A4\uB97C \uB098\uD0C0\uB0B4\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4. \uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14\uC740 \uBC14\uB85C \uAC00\uAE30 \uD0A4\uB97C \uB098\uD0C0\uB0B4\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14 \uD14C\uB450\uB9AC \uC544\uB798\uCABD \uC0C9\uC785\uB2C8\uB2E4. \uD0A4 \uBC14\uC778\uB529 \uB808\uC774\uBE14\uC740 \uBC14\uB85C \uAC00\uAE30 \uD0A4\uB97C \uB098\uD0C0\uB0B4\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD \uC601\uC5ED\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uACE0\uB300\uBE44\uB97C \uC704\uD55C \uC120\uD0DD \uD14D\uC2A4\uD2B8\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uBE44\uD65C\uC131 \uD3B8\uC9D1\uAE30\uC758 \uC120\uD0DD \uD56D\uBAA9 \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC120\uD0DD \uC601\uC5ED\uACFC \uB3D9\uC77C\uD55C \uCF58\uD150\uCE20\uAC00 \uC788\uB294 \uC601\uC5ED\uC758 \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC120\uD0DD \uC601\uC5ED\uACFC \uB3D9\uC77C\uD55C \uCF58\uD150\uCE20\uAC00 \uC788\uB294 \uC601\uC5ED\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD604\uC7AC \uAC80\uC0C9 \uC77C\uCE58 \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uAE30\uD0C0 \uAC80\uC0C9 \uC77C\uCE58 \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAC80\uC0C9\uC744 \uC81C\uD55C\uD558\uB294 \uBC94\uC704\uC758 \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uD604\uC7AC \uAC80\uC0C9\uACFC \uC77C\uCE58\uD558\uB294 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uB2E4\uB978 \uAC80\uC0C9\uACFC \uC77C\uCE58\uD558\uB294 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uAC80\uC0C9\uC744 \uC81C\uD55C\uD558\uB294 \uBC94\uC704\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uAC80\uC0C9 \uD3B8\uC9D1\uAE30 \uCFFC\uB9AC\uC758 \uC0C9\uC0C1\uC774 \uC77C\uCE58\uD569\uB2C8\uB2E4.","\uAC80\uC0C9 \uD3B8\uC9D1\uAE30 \uCFFC\uB9AC\uC758 \uD14C\uB450\uB9AC \uC0C9\uC0C1\uC774 \uC77C\uCE58\uD569\uB2C8\uB2E4.","\uAC80\uC0C9 \uBDF0\uB81B \uC644\uB8CC \uBA54\uC2DC\uC9C0\uC758 \uD14D\uC2A4\uD2B8 \uC0C9\uC785\uB2C8\uB2E4.","\uD638\uBC84\uAC00 \uD45C\uC2DC\uB41C \uB2E8\uC5B4 \uC544\uB798\uB97C \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uD638\uBC84\uC758 \uBC30\uACBD\uC0C9.","\uD3B8\uC9D1\uAE30 \uD638\uBC84\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uD638\uBC84\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uD638\uBC84 \uC0C1\uD0DC \uD45C\uC2DC\uC904\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD65C\uC131 \uB9C1\uD06C\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uC804\uACBD\uC0C9","\uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uBC30\uACBD\uC0C9","\uD615\uC2DD\uC5D0 \uB300\uD55C \uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uC804\uACBD\uC0C9","\uD615\uC2DD\uC5D0 \uB300\uD55C \uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uBC30\uACBD\uC0C9","\uB9E4\uAC1C \uBCC0\uC218\uC5D0 \uB300\uD55C \uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uC804\uACBD\uC0C9","\uB9E4\uAC1C \uBCC0\uC218\uC5D0 \uB300\uD55C \uC778\uB77C\uC778 \uD78C\uD2B8\uC758 \uBC30\uACBD\uC0C9","\uC804\uAD6C \uC791\uC5C5 \uC544\uC774\uCF58\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uC804\uAD6C \uC790\uB3D9 \uC218\uC815 \uC791\uC5C5 \uC544\uC774\uCF58\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uC0BD\uC785\uB41C \uD14D\uC2A4\uD2B8\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC81C\uAC70\uB41C \uD14D\uC2A4\uD2B8 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC0BD\uC785\uB41C \uC904\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC81C\uAC70\uB41C \uC904\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uC0C9\uC0C1\uC740 \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC904\uC774 \uC0BD\uC785\uB41C \uC5EC\uBC31\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC904\uC774 \uC81C\uAC70\uB41C \uC5EC\uBC31\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC0BD\uC785\uB41C \uCF58\uD150\uCE20\uC5D0 \uB300\uD55C \uCC28\uB4F1 \uAC1C\uC694 \uB208\uAE08\uC790 \uC804\uACBD\uC785\uB2C8\uB2E4.","\uC81C\uAC70\uB41C \uCF58\uD150\uCE20\uC5D0 \uB300\uD55C \uCC28\uB4F1 \uAC1C\uC694 \uB208\uAE08\uC790 \uC804\uACBD\uC785\uB2C8\uB2E4.","\uC0BD\uC785\uB41C \uD14D\uC2A4\uD2B8\uC758 \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4.","\uC81C\uAC70\uB41C \uD14D\uC2A4\uD2B8\uC758 \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4.","\uB450 \uD14D\uC2A4\uD2B8 \uD3B8\uC9D1\uAE30 \uC0AC\uC774\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC758 \uB300\uAC01\uC120 \uCC44\uC6B0\uAE30 \uC0C9\uC785\uB2C8\uB2E4. \uB300\uAC01\uC120 \uCC44\uC6B0\uAE30\uB294 diff \uB098\uB780\uD788 \uBCF4\uAE30\uC5D0\uC11C \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uBE14\uB85D\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uBE14\uB85D\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","diff \uD3B8\uC9D1\uAE30\uC5D0\uC11C \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC740 \uCF54\uB4DC\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131\uD654\uB418\uACE0 \uC120\uD0DD\uB418\uC5C8\uC744 \uB54C \uCD08\uC810\uC774 \uB9DE\uCDB0\uC9C4 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC724\uACFD\uC120 \uC0C9\uC0C1\uC785\uB2C8\uB2E4. \uD65C\uC131 \uBAA9\uB85D/\uD2B8\uB9AC\uC5D0\uB294 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uACE0 \uBE44\uD65C\uC131\uC5D0\uB294 \uADF8\uB807\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC544\uC774\uCF58 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uC120\uD0DD\uD55C \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC544\uC774\uCF58 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC778 \uACBD\uC6B0 \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4. \uBAA9\uB85D/\uD2B8\uB9AC\uAC00 \uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD0A4\uBCF4\uB4DC \uD3EC\uCEE4\uC2A4\uB97C \uAC00\uC9C0\uBA70, \uBE44\uD65C\uC131 \uC0C1\uD0DC\uC774\uBA74 \uD3EC\uCEE4\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uD56D\uBAA9\uC744 \uAC00\uB9AC\uD0AC \uB54C \uBAA9\uB85D/\uD2B8\uB9AC \uBC30\uACBD\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uD56D\uBAA9\uC744 \uAC00\uB9AC\uD0AC \uB54C \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uD56D\uBAA9\uC744 \uC774\uB3D9\uD560 \uB54C \uBAA9\uB85D/\uD2B8\uB9AC \uB04C\uC5B4\uC11C \uB193\uAE30 \uBC30\uACBD\uC785\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC \uB0B4\uC5D0\uC11C \uAC80\uC0C9\uD560 \uB54C \uC77C\uCE58 \uD56D\uBAA9 \uAC15\uC870 \uD45C\uC2DC\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBAA9\uB85D/\uD2B8\uB9AC \uB0B4\uC5D0\uC11C \uAC80\uC0C9\uD560 \uB54C \uC77C\uCE58 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9\uC774 \uB2A5\uB3D9\uC801\uC73C\uB85C \uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC744 \uAC15\uC870 \uD45C\uC2DC\uD569\uB2C8\uB2E4.","\uC798\uBABB\uB41C \uD56D\uBAA9\uC5D0 \uB300\uD55C \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD \uC0C9(\uC608: \uD0D0\uC0C9\uAE30\uC758 \uD655\uC778\uD560 \uC218 \uC5C6\uB294 \uB8E8\uD2B8).","\uC624\uB958\uB97C \uD3EC\uD568\uD558\uB294 \uBAA9\uB85D \uD56D\uBAA9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uACBD\uACE0\uB97C \uD3EC\uD568\uD558\uB294 \uBAA9\uB85D \uD56D\uBAA9\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC5D0\uC11C \uD615\uC2DD \uD544\uD130 \uC704\uC82F\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC5D0\uC11C \uD615\uC2DD \uD544\uD130 \uC704\uC82F\uC758 \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4.","\uC77C\uCE58\uD558\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC744 \uB54C \uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC5D0\uC11C \uD45C\uC2DC\uB418\uB294 \uD615\uC2DD \uD544\uD130 \uC704\uC82F\uC758 \uC724\uACFD\uC120 \uC0C9\uC785\uB2C8\uB2E4.","\uBAA9\uB85D \uBC0F \uD2B8\uB9AC\uC5D0\uC11C \uC720\uD615 \uD544\uD130 \uC704\uC82F\uC758 \uADF8\uB9BC\uC790 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uD544\uD130\uB9C1\uB41C \uC77C\uCE58 \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD544\uD130\uB9C1\uB41C \uC77C\uCE58 \uD56D\uBAA9\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uB4E4\uC5EC\uC4F0\uAE30 \uAC00\uC774\uB4DC\uC758 \uD2B8\uB9AC \uC2A4\uD2B8\uB85C\uD06C \uC0C9\uC785\uB2C8\uB2E4.","\uD65C\uC131 \uC0C1\uD0DC\uAC00 \uC544\uB2CC \uB4E4\uC5EC\uC4F0\uAE30 \uC548\uB0B4\uC120\uC758 \uD2B8\uB9AC \uC2A4\uD2B8\uB85C\uD06C \uC0C9\uC785\uB2C8\uB2E4.","\uC5F4 \uC0AC\uC774\uC758 \uD45C \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD640\uC218 \uD14C\uC774\uBE14 \uD589\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uAC15\uC870\uB418\uC9C0 \uC54A\uC740 \uD56D\uBAA9\uC758 \uBAA9\uB85D/\uD2B8\uB9AC \uC804\uACBD\uC0C9. ","\uD655\uC778\uB780 \uC704\uC82F\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD655\uC778\uB780 \uC704\uC82F\uC774 \uD3EC\uD568\uB41C \uC694\uC18C\uAC00 \uC120\uD0DD\uB41C \uACBD\uC6B0\uC758 \uD655\uC778\uB780 \uC704\uC82F \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD655\uC778\uB780 \uC704\uC82F\uC758 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD655\uC778\uB780 \uC704\uC82F\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uD655\uC778\uB780 \uC704\uC82F\uC774 \uD3EC\uD568\uB41C \uC694\uC18C\uAC00 \uC120\uD0DD\uB41C \uACBD\uC6B0\uC758 \uD655\uC778\uB780 \uC704\uC82F \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uB300\uC2E0 quickInputList.focusBackground\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBE60\uB978 \uC120\uD0DD\uAE30 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBE60\uB978 \uC120\uD0DD\uAE30 \uC544\uC774\uCF58 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uD56D\uBAA9\uC758 \uBE60\uB978 \uC120\uD0DD\uAE30 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274 \uD56D\uBAA9 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274 \uD56D\uBAA9 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274\uC758 \uC120\uD0DD\uB41C \uBA54\uB274 \uD56D\uBAA9 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274\uC758 \uC120\uD0DD\uB41C \uBA54\uB274 \uD56D\uBAA9 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274\uC758 \uC120\uD0DD\uB41C \uBA54\uB274 \uD56D\uBAA9 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uBA54\uB274\uC5D0\uC11C \uAD6C\uBD84 \uAE30\uD638 \uBA54\uB274 \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uC704\uB85C \uB9C8\uC6B0\uC2A4\uB97C \uAC00\uC838\uAC00\uB294 \uACBD\uC6B0 \uB3C4\uAD6C \uBAA8\uC74C \uBC30\uACBD","\uB9C8\uC6B0\uC2A4\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uC704\uB85C \uB9C8\uC6B0\uC2A4\uB97C \uAC00\uC838\uAC00\uB294 \uACBD\uC6B0 \uB3C4\uAD6C \uBAA8\uC74C \uC724\uACFD\uC120","\uC791\uC5C5 \uC704\uC5D0 \uB9C8\uC6B0\uC2A4\uB97C \uB193\uC558\uC744 \uB54C \uB3C4\uAD6C \uBAA8\uC74C \uBC30\uACBD","\uCF54\uB4DC \uC870\uAC01 \uD0ED \uC815\uC9C0\uC758 \uAC15\uC870 \uD45C\uC2DC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01 \uD0ED \uC815\uC9C0\uC758 \uAC15\uC870 \uD45C\uC2DC \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01 \uB9C8\uC9C0\uB9C9 \uD0ED \uC815\uC9C0\uC758 \uAC15\uC870 \uD45C\uC2DC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uCF54\uB4DC \uC870\uAC01 \uB9C8\uC9C0\uB9C9 \uD0ED \uC815\uC9C0\uC758 \uAC15\uC870 \uD45C\uC2DC \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uC774\uB3D9 \uACBD\uB85C \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uC774\uB3D9 \uACBD\uB85C \uD56D\uBAA9\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD3EC\uCEE4\uC2A4\uAC00 \uC788\uB294 \uC774\uB3D9 \uACBD\uB85C \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uC120\uD0DD\uD55C \uC774\uB3D9 \uACBD\uB85C \uD56D\uBAA9\uC758 \uC0C9\uC785\uB2C8\uB2E4.","\uC774\uB3D9 \uACBD\uB85C \uD56D\uBAA9 \uC120\uD0DD\uAE30\uC758 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uD604\uC7AC \uD5E4\uB354 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uD604\uC7AC \uCF58\uD150\uCE20 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uB4E4\uC5B4\uC624\uB294 \uD5E4\uB354 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uB4E4\uC5B4\uC624\uB294 \uCF58\uD150\uCE20 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uACF5\uD1B5 \uC0C1\uC704 \uD5E4\uB354 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC758 \uACF5\uD1B5 \uC0C1\uC704 \uCF58\uD150\uCE20 \uBC30\uACBD\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC5D0\uC11C \uD5E4\uB354 \uBC0F \uC2A4\uD50C\uB9AC\uD130\uC758 \uD14C\uB450\uB9AC \uC0C9\uC785\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC5D0\uC11C \uD604\uC7AC \uAC1C\uC694 \uB208\uAE08 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC5D0\uC11C \uC218\uC2E0 \uAC1C\uC694 \uB208\uAE08 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC778\uB77C\uC778 \uBCD1\uD569 \uCDA9\uB3CC\uC5D0\uC11C \uACF5\uD1B5 \uACFC\uAC70 \uAC1C\uC694 \uB208\uAE08 \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uC77C\uCE58 \uD56D\uBAA9 \uCC3E\uAE30\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uD45C\uC2DD \uC0C9\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC120\uD0DD \uD56D\uBAA9\uC758 \uAC1C\uC694 \uB208\uAE08\uC790 \uD45C\uC2DD \uC0C9\uC774 \uAC15\uC870 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uAE30\uBCF8 \uC7A5\uC2DD\uC744 \uC228\uAE30\uC9C0 \uC54A\uB3C4\uB85D \uC0C9\uC740 \uBD88\uD22C\uBA85\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4.","\uC77C\uCE58\uD558\uB294 \uD56D\uBAA9\uC744 \uCC3E\uAE30 \uC704\uD55C \uBBF8\uB2C8\uB9F5 \uD45C\uC2DD \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD\uC744 \uBC18\uBCF5\uD558\uAE30 \uC704\uD55C \uBBF8\uB2C8\uB9F5 \uD45C\uC2DD \uC0C9\uC785\uB2C8\uB2E4.","\uD3B8\uC9D1\uAE30 \uC120\uD0DD \uC791\uC5C5\uC744 \uC704\uD55C \uBBF8\uB2C8\uB9F5 \uB9C8\uCEE4 \uC0C9\uC785\uB2C8\uB2E4.","\uC815\uBCF4\uC5D0 \uB300\uD55C \uBBF8\uB2C8\uB9F5 \uB9C8\uCEE4 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uACBD\uACE0\uC758 \uBBF8\uB2C8\uB9F5 \uB9C8\uCEE4 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uC624\uB958\uC5D0 \uB300\uD55C \uBBF8\uB2C8\uB9F5 \uB9C8\uCEE4 \uC0C9\uC0C1\uC785\uB2C8\uB2E4.","\uBBF8\uB2C8\uB9F5 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.",'\uBBF8\uB2C8\uB9F5\uC5D0\uC11C \uB80C\uB354\uB9C1\uB41C \uC804\uACBD \uC694\uC18C\uC758 \uBD88\uD22C\uBA85\uB3C4\uC785\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4, "#000000c0"\uC740 \uBD88\uD22C\uBA85\uB3C4 75%\uB85C \uC694\uC18C\uB97C \uB80C\uB354\uB9C1\uD569\uB2C8\uB2E4.',"\uBBF8\uB2C8\uB9F5 \uC2AC\uB77C\uC774\uB354 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uB9C8\uC6B0\uC2A4\uB85C \uAC00\uB9AC\uD0AC \uB54C \uBBF8\uB2C8\uB9F5 \uC2AC\uB77C\uC774\uB354 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uD074\uB9AD\uD588\uC744 \uB54C \uBBF8\uB2C8\uB9F5 \uC2AC\uB77C\uC774\uB354 \uBC30\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uBB38\uC81C \uC624\uB958 \uC544\uC774\uCF58\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC0C9\uC785\uB2C8\uB2E4.","\uBB38\uC81C \uACBD\uACE0 \uC544\uC774\uCF58\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC0C9\uC785\uB2C8\uB2E4.","\uBB38\uC81C \uC815\uBCF4 \uC544\uC774\uCF58\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8\uC5D0 \uC0AC\uC6A9\uB41C \uC804\uACBD\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uAC00\uB85C\uC904\uC5D0 \uC0AC\uC6A9\uB41C \uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uBE68\uAC04\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uD30C\uB780\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB178\uB780\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC8FC\uD669\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB179\uC0C9\uC785\uB2C8\uB2E4.","\uCC28\uD2B8 \uC2DC\uAC01\uD654\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uC790\uC8FC\uC0C9\uC785\uB2C8\uB2E4."],"vs/platform/theme/common/iconRegistry":["\uC0AC\uC6A9\uD560 \uAE00\uAF34\uC758 ID\uC785\uB2C8\uB2E4. \uC124\uC815\uD558\uC9C0 \uC54A\uC73C\uBA74 \uCCAB \uBC88\uC9F8\uB85C \uC815\uC758\uD55C \uAE00\uAF34\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.","\uC544\uC774\uCF58 \uC815\uC758\uC640 \uC5F0\uACB0\uB41C \uAE00\uAF34 \uBB38\uC790\uC785\uB2C8\uB2E4.","\uC704\uC82F\uC5D0\uC11C \uB2EB\uAE30 \uC791\uC5C5\uC758 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uC774\uC804 \uD3B8\uC9D1\uAE30 \uC704\uCE58\uB85C \uC774\uB3D9 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4.","\uB2E4\uC74C \uD3B8\uC9D1\uAE30 \uC704\uCE58\uB85C \uC774\uB3D9 \uC544\uC774\uCF58\uC785\uB2C8\uB2E4."],"vs/platform/undoRedo/common/undoRedoService":["{0} \uD30C\uC77C\uC774 \uB2EB\uD788\uACE0 \uB514\uC2A4\uD06C\uC5D0\uC11C \uC218\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4.","{0} \uD30C\uC77C\uC740 \uD638\uD658\uB418\uC9C0 \uC54A\uB294 \uBC29\uC2DD\uC73C\uB85C \uC218\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4.","\uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {1}","\uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {1}","{1}\uC5D0 \uBCC0\uACBD \uB0B4\uC6A9\uC774 \uC801\uC6A9\uB418\uC5C8\uC73C\uBBC0\uB85C \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","{1}\uC5D0\uC11C \uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC774\uBBC0\uB85C \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uADF8\uB3D9\uC548 \uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uBC1C\uC0DD\uD588\uAE30 \uB54C\uBB38\uC5D0 \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?","\uD30C\uC77C {0}\uAC1C\uC5D0\uC11C \uC2E4\uD589 \uCDE8\uC18C(&&U)","\uC774 \uD30C\uC77C \uC2E4\uD589 \uCDE8\uC18C(&&F)","\uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC774\uBBC0\uB85C '{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","'{0}'\uC744(\uB97C) \uC2E4\uD589 \uCDE8\uC18C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?","\uC608(&&Y)","\uC544\uB2C8\uC694","\uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {1}","\uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {1}","{1}\uC5D0 \uBCC0\uACBD \uB0B4\uC6A9\uC774 \uC801\uC6A9\uB418\uC5C8\uC73C\uBBC0\uB85C \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","{1}\uC5D0\uC11C \uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC774\uBBC0\uB85C \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uADF8\uB3D9\uC548 \uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uBC1C\uC0DD\uD588\uAE30 \uB54C\uBB38\uC5D0 \uBAA8\uB4E0 \uD30C\uC77C\uC5D0\uC11C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.","\uC2E4\uD589 \uCDE8\uC18C \uB610\uB294 \uB2E4\uC2DC \uC2E4\uD589 \uC791\uC5C5\uC774 \uC774\uBBF8 \uC2E4\uD589 \uC911\uC774\uBBC0\uB85C '{0}'\uC744(\uB97C) \uB2E4\uC2DC \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."],"vs/platform/workspace/common/workspace":["\uCF54\uB4DC \uC791\uC5C5 \uC601\uC5ED"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.ko.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ru.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ru.js new file mode 100644 index 0000000..dc347f7 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.ru.js @@ -0,0 +1,31 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.ru",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["\u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"],"vs/base/browser/ui/findinput/findInputToggles":["\u0421 \u0443\u0447\u0435\u0442\u043E\u043C \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430","\u0421\u043B\u043E\u0432\u043E \u0446\u0435\u043B\u0438\u043A\u043E\u043C","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E\u0435 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435"],"vs/base/browser/ui/findinput/replaceInput":["\u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435","\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440"],"vs/base/browser/ui/hover/hoverWidget":["\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u044D\u0442\u043E\u0442 \u0430\u0441\u043F\u0435\u043A\u0442 \u0432 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u043C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E {0}.",'\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u044D\u0442\u043E\u0442 \u0430\u0441\u043F\u0435\u043A\u0442 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439", \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0435\u043B\u044C\u0437\u044F \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448.'],"vs/base/browser/ui/iconLabel/iconLabelHover":["\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430\u2026"],"vs/base/browser/ui/inputbox/inputBox":["\u041E\u0448\u0438\u0431\u043A\u0430: {0}","\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435: {0}","\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F: {0}","\u0434\u043B\u044F \u0436\u0443\u0440\u043D\u0430\u043B\u0430","\u041E\u0447\u0438\u0449\u0435\u043D\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["\u0441\u0432\u043E\u0431\u043E\u0434\u043D\u044B\u0439"],"vs/base/browser/ui/selectBox/selectBoxCustom":["\u041F\u043E\u043B\u0435 \u0432\u044B\u0431\u043E\u0440\u0430"],"vs/base/browser/ui/toolbar/toolbar":["\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F..."],"vs/base/browser/ui/tree/abstractTree":["\u0424\u0438\u043B\u044C\u0442\u0440","\u041D\u0435\u0447\u0435\u0442\u043A\u043E\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442 \u0434\u043B\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430","\u0412\u0432\u043E\u0434 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430","\u0412\u0432\u043E\u0434 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430","\u0417\u0430\u043A\u0440\u044B\u0442\u044C","\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B."],"vs/base/common/actions":["(\u043F\u0443\u0441\u0442\u043E)"],"vs/base/common/errorMessage":["{0}: {1}","\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 ({0})","\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u043C. \u0432 \u0436\u0443\u0440\u043D\u0430\u043B\u0435.","\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u043C. \u0432 \u0436\u0443\u0440\u043D\u0430\u043B\u0435.","{0} (\u0432\u0441\u0435\u0433\u043E \u043E\u0448\u0438\u0431\u043E\u043A: {1})","\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u043C. \u0432 \u0436\u0443\u0440\u043D\u0430\u043B\u0435."],"vs/base/common/keybindingLabels":["CTRL","SHIFT","ALT","Windows","CTRL","SHIFT","ALT","Super","CTRL","SHIFT","\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","\u041A\u043E\u043C\u0430\u043D\u0434\u0430","CTRL","SHIFT","ALT","Windows","CTRL","SHIFT","ALT","Super"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440","\u0421\u0435\u0439\u0447\u0430\u0441 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.","{0} \u0427\u0442\u043E\u0431\u044B \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u044F, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {1}",'{0} \u0427\u0442\u043E\u0431\u044B \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u044F, \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0431\u044B\u0441\u0442\u0440\u044B\u0439 \u0432\u044B\u0431\u043E\u0440 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E {1} \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 "\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0434\u043B\u044F \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u044F", \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B.','{0} \u041D\u0430\u0437\u043D\u0430\u0447\u044C\u0442\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 \u0434\u043B\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0434\u043B\u044F \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u044F", \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0439 \u043A\u043B\u0430\u0432\u0438\u0448 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E {1} \u0438 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0435\u0433\u043E.'],"vs/editor/browser/coreCommands":["\u0420\u0430\u0437\u043C\u0435\u0449\u0430\u0442\u044C \u043D\u0430 \u043A\u043E\u043D\u0446\u0435 \u0434\u0430\u0436\u0435 \u0434\u043B\u044F \u0431\u043E\u043B\u0435\u0435 \u0434\u043B\u0438\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A","\u0420\u0430\u0437\u043C\u0435\u0449\u0430\u0442\u044C \u043D\u0430 \u043A\u043E\u043D\u0446\u0435 \u0434\u0430\u0436\u0435 \u0434\u043B\u044F \u0431\u043E\u043B\u0435\u0435 \u0434\u043B\u0438\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A","\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043A\u0443\u0440\u0441\u043E\u0440\u044B \u0443\u0434\u0430\u043B\u0435\u043D\u044B."],"vs/editor/browser/editorExtensions":["&&\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C","\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C","&&\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C","\u0412\u0435\u0440\u043D\u0443\u0442\u044C","&&\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0432\u0441\u0435","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435"],"vs/editor/browser/widget/codeEditorWidget":["\u0427\u0438\u0441\u043B\u043E \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u043E {0}. \u0414\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u0440\u0443\u043F\u043D\u044B\u0445 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C [\u043F\u043E\u0438\u0441\u043A \u0438 \u0437\u0430\u043C\u0435\u043D\u0443](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) \u0438\u043B\u0438 \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":['\u0417\u043D\u0430\u0447\u043E\u043A "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C" \u0432 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0439','\u0417\u043D\u0430\u0447\u043E\u043A "\u0423\u0434\u0430\u043B\u0438\u0442\u044C" \u0432 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0439','\u0417\u043D\u0430\u0447\u043E\u043A "\u0417\u0430\u043A\u0440\u044B\u0442\u044C" \u0432 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0439',"\u0417\u0430\u043A\u0440\u044B\u0442\u044C","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0421\u0422\u0420\u0415\u041B\u041A\u0410 \u0412\u0412\u0415\u0420\u0425 \u0438 \u0421\u0422\u0420\u0415\u041B\u041A\u0410 \u0412\u041D\u0418\u0417 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F.","\u043D\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A","1 \u0441\u0442\u0440\u043E\u043A\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430","\u0421\u0442\u0440\u043E\u043A \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043E: {0}","\u0420\u0430\u0437\u043B\u0438\u0447\u0438\u0435 {0} \u0438\u0437 {1}: \u0438\u0441\u0445\u043E\u0434\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {2}, {3}, \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {4}, {5}","\u043F\u0443\u0441\u0442\u043E\u0439","{0} \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {1}","{0} \u0438\u0441\u0445\u043E\u0434\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {1} \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {2}","+ {0} \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {1}","- {0} \u0438\u0441\u0445\u043E\u0434\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 {1}"],"vs/editor/browser/widget/diffEditor/colors":["\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439."],"vs/editor/browser/widget/diffEditor/decorations":["\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u0440\u0435\u0433\u0438\u043E\u043D\u043E\u0432","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043B\u0438 \u0441\u043A\u0440\u044B\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438 \u043A\u043E\u0434\u0430",'\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0435"',"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0435","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438 \u043A\u043E\u0434\u0430","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0442\u043E\u0440\u043E\u043D\u0443","\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u0439","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u044E","\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0439","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u044E"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {0}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u043F\u043E \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044F\u043C."],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0443\u044E \u043E\u0431\u043B\u0430\u0441\u0442\u044C","\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u0432\u044B\u0448\u0435","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435","\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0438\u0436\u0435","\u0421\u043A\u0440\u044B\u0442\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 ({0})","\u0414\u0432\u0430\u0436\u0434\u044B \u0449\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 ({0})","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 ({0})","\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u044D\u0442\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["\u041A\u043E\u0434 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0441 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043C\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 {0}-{1}","\u041A\u043E\u0434 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0441 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043C\u0438 \u0438\u0437 \u0441\u0442\u0440\u043E\u043A\u0438 {0}-{1}","\u041A\u043E\u0434 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 {0}-{1}","\u041A\u043E\u0434 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0438\u0437 \u0441\u0442\u0440\u043E\u043A\u0438 {0}-{1}"],"vs/editor/common/config/editorConfigurationSchema":["\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440","\u0427\u0438\u0441\u043B\u043E \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432, \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0435\u0435 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438. \u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430, \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 {0}.",'\u0427\u0438\u0441\u043B\u043E \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u0430, \u043B\u0438\u0431\u043E `"tabSize"` \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438\u0437 "#editor.tabSize#". \u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430, \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 "#editor.detectIndentation#".',"\u0412\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043F\u0440\u043E\u0431\u0435\u043B\u044B \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB. \u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430, \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 {0}.","\u041D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0443\u0442 \u043B\u0438 {0} \u0438 {1} \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u0444\u0430\u0439\u043B\u0430.","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0439 \u043F\u0440\u043E\u0431\u0435\u043B.","\u0421\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u0430\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0434\u043B\u044F \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0444\u0430\u0439\u043B\u043E\u0432 \u0441 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u043F\u0430\u043C\u044F\u0442\u044C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043B\u043E\u0432 \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435.","\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u043B\u043E\u0432 \u0442\u043E\u043B\u044C\u043A\u043E \u0438\u0437 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430.","\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u043B\u043E\u0432 \u0438\u0437 \u0432\u0441\u0435\u0445 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u043E\u0434\u043D\u043E\u043C \u044F\u0437\u044B\u043A\u0435.","\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u043B\u043E\u0432 \u0438\u0437 \u0432\u0441\u0435\u0445 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0438\u0437 \u043A\u0430\u043A\u0438\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0431\u0443\u0434\u0443\u0442 \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0442\u044C\u0441\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u043B\u043E\u0432.","\u0421\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0446\u0432\u0435\u0442\u043E\u0432\u044B\u0445 \u0442\u0435\u043C.","\u0421\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0446\u0432\u0435\u0442\u043E\u0432\u044B\u0445 \u0442\u0435\u043C.",'\u0421\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 "semanticHighlighting" \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u0442\u0435\u043C\u044B.',"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043F\u043E\u043A\u0430\u0437 \u0441\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043F\u043E\u0434\u0441\u0432\u0435\u0442\u043A\u0438 \u0434\u043B\u044F \u044F\u0437\u044B\u043A\u043E\u0432, \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0449\u0438\u0445 \u0435\u0435.","\u041E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0431\u044B\u0441\u0442\u0440\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C \u0434\u0430\u0436\u0435 \u043F\u0440\u0438 \u0434\u0432\u043E\u0439\u043D\u043E\u043C \u0449\u0435\u043B\u0447\u043A\u0435 \u043F\u043E \u0435\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u043C\u0443 \u0438 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 ESC.","\u0421\u0442\u0440\u043E\u043A\u0438, \u0434\u043B\u0438\u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435, \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u043C\u0435\u0447\u0435\u043D\u044B \u0438\u0437 \u0441\u043E\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u0430 \u043B\u0438 \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0430 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442\u044C \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u043E \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u0440\u043E\u043B\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u0443\u044E \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0443. \u0422\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u043E\u0442\u043B\u0430\u0434\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u0430 \u043B\u0438 \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u0430\u044F \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u044F\u0442\u044C\u0441\u044F \u043F\u043E \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u044E \u043A \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0435\u0439 \u0444\u043E\u043D\u043E\u0432\u043E\u0439 \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0435. \u041C\u043E\u0436\u0435\u0442 \u0437\u0430\u043C\u0435\u0434\u043B\u0438\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0443. \u0422\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u043E\u0442\u043B\u0430\u0434\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0441\u043A\u043E\u0431\u043E\u043A, \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0438\u0435 \u0438\u043B\u0438 \u0443\u043C\u0435\u043D\u044C\u0448\u0430\u044E\u0449\u0438\u0435 \u043E\u0442\u0441\u0442\u0443\u043F.","\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u0431\u043A\u0438 \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C.","\u0417\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u0431\u043A\u0438 \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043F\u0430\u0440\u044B \u0441\u043A\u043E\u0431\u043E\u043A, \u0446\u0432\u0435\u0442 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043E\u0442 \u0438\u0445 \u0443\u0440\u043E\u0432\u043D\u044F \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F, \u0435\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043E\u043F\u0446\u0438\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442\u043E\u043C.","\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u0431\u043A\u0438 \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C.","\u0417\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u0431\u043A\u0438 \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C.","\u0412\u0440\u0435\u043C\u044F \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u0432 \u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445, \u043F\u043E \u0438\u0441\u0442\u0435\u0447\u0435\u043D\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043E\u0442\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F. \u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 0, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F.","\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430 \u0432 \u041C\u0411 \u0434\u043B\u044F \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u0439. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 0 \u0431\u0435\u0437 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u0430\u043A \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043E\u0442\u043B\u0438\u0447\u0438\u044F: \u0440\u044F\u0434\u043E\u043C \u0438\u043B\u0438 \u0432 \u0442\u0435\u043A\u0441\u0442\u0435.","\u0415\u0441\u043B\u0438 \u0448\u0438\u0440\u0438\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043C\u0435\u043D\u044C\u0448\u0435 \u044D\u0442\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435.","\u0415\u0441\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u0438 \u0448\u0438\u0440\u0438\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435.","\u0415\u0441\u043B\u0438 \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0430 \u043F\u043E\u043B\u0435 \u0433\u043B\u0438\u0444\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439.","\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0438\u043B\u0438 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0431\u0435\u043B\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u044B +/- \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0445 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 CodeLens \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0421\u0442\u0440\u043E\u043A\u0438 \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u043D\u0438\u043A\u043E\u0433\u0434\u0430.","\u0421\u0442\u0440\u043E\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435 \u043E\u043A\u043D\u0430 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430.","\u0421\u0442\u0440\u043E\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 {0}.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0442\u0440\u043E\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u043E\u0431\u043B\u0430\u0441\u0442\u0435\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0442\u0440\u043E\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u043E\u0431\u043B\u0430\u0441\u0442\u0435\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0442\u0440\u043E\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043F\u0440\u0438 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0438 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u043E\u0431\u043B\u0430\u0441\u0442\u0435\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F \u043A\u043E\u0434\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u0443\u0441\u0442\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C, \u0433\u0434\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u044B \u0441\u0438\u043C\u0432\u043E\u043B\u044B."],"vs/editor/common/config/editorOptions":["\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C API-\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044B \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B, \u0447\u0442\u043E\u0431\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C, \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u043B\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430","\u041E\u043F\u0442\u0438\u043C\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u043E \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430","\u041F\u0440\u0435\u0434\u043F\u043E\u043B\u0430\u0433\u0430\u0442\u044C, \u0447\u0442\u043E \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430 \u043D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u043E\u0431\u0435\u043B \u043F\u0440\u0438 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u043F\u0443\u0441\u0442\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F, \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432 \u043A \u0441\u0442\u0440\u043E\u043A\u0430\u043C.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043A\u043E\u043F\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 \u043F\u0440\u0438 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u0431\u0435\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u043A\u0443\u0440\u0441\u043E\u0440 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0442\u044C\u0441\u044F \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0412\u0441\u0435\u0433\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0432\u043A\u043B\u044E\u0447\u0430\u044F \u0441\u043B\u043E\u0432\u0430 \u0432 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0412\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u043E\u0438\u0441\u043A\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043C\u043E\u0436\u043D\u043E \u043B\u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0437 \u0442\u0435\u043A\u0441\u0442\u0430, \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u044E \xAB\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438\xBB \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 (\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E).","\u0412\u0441\u0435\u0433\u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u044E \xAB\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438\xBB \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \xAB\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438\xBB \u043F\u0440\u0438 \u0432\u044B\u0431\u043E\u0440\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0441\u0442\u0440\u043E\u043A \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0443\u0441\u043B\u043E\u0432\u0438\u0435\u043C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \xAB\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438\xBB.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u043E \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0438\u043B\u0438 \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043E\u0431\u0449\u0438\u0439 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 macOS.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u043E \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0438\u0441\u043A\u0430 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u043D\u0430\u0447\u0430\u043B\u0435 \u043E\u043A\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430. \u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 true, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u043F\u0435\u0440\u0432\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u043C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u043F\u043E\u0438\u0441\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0430\u0447\u0430\u043B\u0430 (\u0438\u043B\u0438 \u0441 \u043A\u043E\u043D\u0446\u0430), \u0435\u0441\u043B\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043D\u0438\u043A\u0430\u043A\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0439.",'\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043B\u0438\u0433\u0430\u0442\u0443\u0440\u044B \u0448\u0440\u0438\u0444\u0442\u043E\u0432 (\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u0448\u0440\u0438\u0444\u0442\u0430 "calt" \u0438 "liga"). \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0443 \u0434\u043B\u044F \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E\u043C CSS "font-feature-settings".','\u042F\u0432\u043D\u043E\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E CSS "font-feature-settings". \u0415\u0441\u043B\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0442\u043E\u043B\u044C\u043A\u043E \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0438\u0433\u0430\u0442\u0443\u0440\u044B, \u0432\u043C\u0435\u0441\u0442\u043E \u043D\u0435\u0433\u043E \u043C\u043E\u0436\u043D\u043E \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.','\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043B\u0438\u0433\u0430\u0442\u0443\u0440\u044B \u0438\u043B\u0438 \u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u0448\u0440\u0438\u0444\u0442\u0430. \u041C\u043E\u0436\u043D\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u044C \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0438\u0433\u0430\u0442\u0443\u0440\u044B, \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u0443 \u0434\u043B\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 CSS "font-feature-settings".',"\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 font-weight \u0432 font-variation-settings. \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0443 \u0434\u043B\u044F \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E\u043C CSS font-variation-settings.","\u042F\u0432\u043D\u043E\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E CSS font-variation-settings. \u0415\u0441\u043B\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043B\u0438\u0448\u044C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 font-weight \u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 font-variation-settings, \u0432\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043C\u043E\u0436\u043D\u043E \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.","\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u0448\u0440\u0438\u0444\u0442\u043E\u0432. \u041C\u043E\u0436\u0435\u0442 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u043E\u0431\u043E\u0439 \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0438\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 font-weight \u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 font-variation-settings \u0438\u043B\u0438 \u0441\u0442\u0440\u043E\u043A\u0443, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 CSS font-variation-settings.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u044F\u0445.",'\u0414\u043E\u043F\u0443\u0441\u043A\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430 "normal" \u0438\u043B\u0438 "bold" \u0438 \u0447\u0438\u0441\u043B\u0430 \u0432 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0435 \u043E\u0442 1 \u0434\u043E 1000.','\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u044E \u0448\u0440\u0438\u0444\u0442\u0430. \u0414\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F: \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430 "normal" \u0438\u043B\u0438 "bold", \u0430 \u0442\u0430\u043A\u0436\u0435 \u0447\u0438\u0441\u043B\u0430 \u0432 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0435 \u043E\u0442 1 \u0434\u043E 1000.',"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B (\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E)","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C\u0443 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0443 \u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u044B\u0441\u0442\u0440\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C\u0443 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0443 \u0438 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0431\u044B\u0441\u0442\u0440\u0443\u044E \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u0434\u043B\u044F \u043E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u0445","\u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0443\u0441\u0442\u0430\u0440\u0435\u043B. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0432\u043C\u0435\u0441\u0442\u043E \u043D\u0435\u0433\u043E \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 'editor.editor.gotoLocation.multipleDefinitions' \u0438\u043B\u0438 'editor.editor.gotoLocation.multipleImplementations'.",'\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E" \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0446\u0435\u043B\u0435\u0432\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0439.','\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0442\u0438\u043F\u0430" \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0446\u0435\u043B\u0435\u0432\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0439.','\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044E" \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0446\u0435\u043B\u0435\u0432\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0439.','\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u043C" \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0446\u0435\u043B\u0435\u0432\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0439.','\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0441\u044B\u043B\u043A\u0430\u043C" \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u0446\u0435\u043B\u0435\u0432\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0439.','\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0439 \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u043A\u043E\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.','\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0442\u0438\u043F\u0430" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.','\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0439 \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u043A\u043E\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044E" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.','\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0439, \u043A\u043E\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u043A\u043E\u043C\u0430\u043D\u0434\u044B "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.','\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0439 \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u043A\u043E\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0441\u044B\u043B\u043A\u0435" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.',"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0432\u0440\u0435\u043C\u044F \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u0432 \u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u043F\u0435\u0440\u0435\u0434 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044F.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0434\u043E\u043B\u0436\u043D\u043E \u043B\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0441\u0442\u0430\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u0438\u0434\u0438\u043C\u044B\u043C \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043D\u0430 \u043D\u0435\u0433\u043E \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0432\u0440\u0435\u043C\u044F \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 \u0432 \u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u043F\u0435\u0440\u0435\u0434 \u0441\u043A\u0440\u044B\u0442\u0438\u0435\u043C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044F. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C "editor.hover.sticky".',"\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043D\u0430\u0434 \u0441\u0442\u0440\u043E\u043A\u043E\u0439, \u0435\u0441\u043B\u0438 \u0435\u0441\u0442\u044C \u043C\u0435\u0441\u0442\u043E.","\u041F\u0440\u0435\u0434\u043F\u043E\u043B\u0430\u0433\u0430\u0435\u0442, \u0447\u0442\u043E \u0432\u0441\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0438\u043C\u0435\u044E\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u0443\u044E \u0448\u0438\u0440\u0438\u043D\u0443. \u042D\u0442\u043E \u0431\u044B\u0441\u0442\u0440\u044B\u0439 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043C\u043E\u043D\u043E\u0448\u0438\u0440\u0438\u043D\u043D\u044B\u0445 \u0448\u0440\u0438\u0444\u0442\u043E\u0432 \u0438 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043B\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432), \u0433\u0434\u0435 \u0433\u043B\u0438\u0444\u044B \u0438\u043C\u0435\u044E\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u0443\u044E \u0448\u0438\u0440\u0438\u043D\u0443.","\u0414\u0435\u043B\u0435\u0433\u0438\u0440\u0443\u0435\u0442 \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0442\u043E\u0447\u0435\u043A \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443. \u042D\u0442\u043E \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u044B\u0439 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043A \u0437\u0430\u0432\u0438\u0441\u0430\u043D\u0438\u044F\u043C \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0435 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u043D\u043E \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E \u0432\u043E \u0432\u0441\u0435\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C\u043E\u043C, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0435\u0442 \u0442\u043E\u0447\u043A\u0438 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0430. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u043C\u0430\u043D\u0438\u0435, \u0447\u0442\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u0430\u043B\u0433\u043E\u0440\u0438\u0442\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u043D\u0430\u0438\u0431\u043E\u043B\u044C\u0448\u0435\u0435 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0442\u044B.","\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0437\u043D\u0430\u0447\u043E\u043A \u043B\u0430\u043C\u043F\u043E\u0447\u043A\u0438 \u0434\u043B\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432 \u0432\u0435\u0440\u0445\u043D\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E \u0437\u0430\u043B\u0438\u043F\u0430\u044E\u0449\u0438\u0445 \u043B\u0438\u043D\u0438\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u0443\u044E \u0434\u043B\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F. \u0415\u0441\u043B\u0438 \u043C\u043E\u0434\u0435\u043B\u044C \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u043E\u043D\u0430 \u043E\u0442\u043A\u0430\u0442\u0438\u0442\u0441\u044F \u043A \u043C\u043E\u0434\u0435\u043B\u0438 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430 \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043E\u0442\u043A\u0430\u0442\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043A \u043C\u043E\u0434\u0435\u043B\u0438 \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432. \u042D\u0442\u043E\u0442 \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0441\u043E\u0431\u043B\u044E\u0434\u0430\u0435\u0442\u0441\u044F \u0432\u043E \u0432\u0441\u0435\u0445 \u0442\u0440\u0435\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445.","\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0443 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0412\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u044B.","\u0412\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0442\u0441\u044F \u0443\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435\u043C \u043A\u043B\u0430\u0432\u0438\u0448 {0}.","\u0412\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0441\u043A\u0440\u044B\u0442\u044B \u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0438 \u0443\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0438 {0}.","\u0412\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u0448\u0440\u0438\u0444\u0442\u0430 \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E {0} \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F, \u043A\u043E\u0433\u0434\u0430 \u0441\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043C\u0435\u043D\u044C\u0448\u0435 {1} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0448\u0440\u0438\u0444\u0442\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0435\u043C\u0435\u0439\u0441\u0442\u0432\u043E\u043C \u0448\u0440\u0438\u0444\u0442\u043E\u0432 \u0434\u043B\u044F \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0415\u0441\u043B\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0437\u0430\u0434\u0430\u043D\u043E, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F {0}.","\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043F\u043E\u043B\u044F \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.",`\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0432\u044B\u0441\u043E\u0442\u0443 \u0441\u0442\u0440\u043E\u043A\u0438. \r +\u2013 \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 0, \u0447\u0442\u043E\u0431\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u0432\u044B\u0441\u043E\u0442\u0443 \u0441\u0442\u0440\u043E\u043A\u0438 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0448\u0440\u0438\u0444\u0442\u0430.\r +\u2013 \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043E\u0442 0 \u0434\u043E 8 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044F \u0434\u043B\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0448\u0440\u0438\u0444\u0442\u0430.\r +\u2013 \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0431\u043E\u043B\u044C\u0448\u0435 \u0438\u043B\u0438 \u0440\u0430\u0432\u043D\u044B\u0435 8 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439.`,"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043A\u0440\u044B\u0442\u0430 \u043B\u0438 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","\u041C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430 \u0438\u043C\u0435\u0435\u0442 \u0442\u0430\u043A\u043E\u0439 \u0436\u0435 \u0440\u0430\u0437\u043C\u0435\u0440, \u0447\u0442\u043E \u0438 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430).","\u041C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u0438\u043B\u0438 \u0441\u0436\u0438\u043C\u0430\u0442\u044C\u0441\u044F \u043F\u043E \u043C\u0435\u0440\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043F\u043E \u0432\u044B\u0441\u043E\u0442\u0435 (\u0431\u0435\u0437 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438).","\u041C\u0438\u043D\u0438\u043A\u0430\u0440\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u043C\u0435\u043D\u044C\u0448\u0430\u0442\u044C\u0441\u044F \u043F\u043E \u043C\u0435\u0440\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438, \u0447\u0442\u043E\u0431\u044B \u043D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0431\u044B\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 (\u0431\u0435\u0437 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438).","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u043C\u0438\u043D\u0438\u043A\u0430\u0440\u0442\u044B.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441 \u043A\u0430\u043A\u043E\u0439 \u0441\u0442\u043E\u0440\u043E\u043D\u044B \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u043E\u0433\u0434\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B.","\u041C\u0430\u0441\u0448\u0442\u0430\u0431 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E, \u043D\u0430\u0440\u0438\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043D\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0435: 1, 2 \u0438\u043B\u0438 3.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0432\u043C\u0435\u0441\u0442\u043E \u0446\u0432\u0435\u0442\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432.","\u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0448\u0438\u0440\u0438\u043D\u0443 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B, \u0447\u0442\u043E\u0431\u044B \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432 \u043D\u0435 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u043B\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E.","\u0417\u0430\u0434\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E \u043C\u0435\u0436\u0434\u0443 \u0432\u0435\u0440\u0445\u043D\u0438\u043C \u043A\u0440\u0430\u0435\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0438 \u043F\u0435\u0440\u0432\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.","\u0417\u0430\u0434\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E \u043C\u0435\u0436\u0434\u0443 \u043D\u0438\u0436\u043D\u0438\u043C \u043A\u0440\u0430\u0435\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0438 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.","\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0435\u0435 \u043E\u043A\u043D\u043E \u0441 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u0435\u0439 \u043F\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0443 \u0438 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u043C\u0438 \u043E \u0442\u0438\u043F\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043D\u0430\u0431\u043E\u0440\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043C\u0435\u043D\u044E \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A \u043E\u0441\u0442\u0430\u0435\u0442\u0441\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u043C \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0430 \u0441\u043F\u0438\u0441\u043A\u0430.","\u042D\u043A\u0441\u043F\u0440\u0435\u0441\u0441-\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439","\u042D\u043A\u0441\u043F\u0440\u0435\u0441\u0441-\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043A\u0430\u043A \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u043C\u044B\u0439 \u0442\u0435\u043A\u0441\u0442","\u042D\u043A\u0441\u043F\u0440\u0435\u0441\u0441-\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u044B","\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043A\u0440\u0430\u0442\u043A\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0432 \u0441\u0442\u0440\u043E\u043A\u0430\u0445.","\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043A\u0440\u0430\u0442\u043A\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0432 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F\u0445.","\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043A\u0440\u0430\u0442\u043A\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0432\u043D\u0435 \u0441\u0442\u0440\u043E\u043A \u0438 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435. \u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043C\u043E\u0436\u043D\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0439, \u0441\u0442\u0440\u043E\u043A \u0438 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u043A\u043E\u0434\u0430. \u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043C\u043E\u0436\u043D\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0432 \u0432\u0438\u0434\u0435 \u0444\u0430\u043D\u0442\u043E\u043C\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043B\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439. \u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0442\u0430\u043A\u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u044C \u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0435 {0}, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0430\u043C\u0438.","\u041D\u043E\u043C\u0435\u0440\u0430 \u0441\u0442\u0440\u043E\u043A \u043D\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0430\u0431\u0441\u043E\u043B\u044E\u0442\u043D\u044B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430 \u0441\u0442\u0440\u043E\u043A.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430 \u0441\u0442\u0440\u043E\u043A \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u044E\u0442\u0441\u044F \u043A\u0430\u043A \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0432 \u0441\u0442\u0440\u043E\u043A\u0430\u0445 \u0434\u043E \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u041D\u043E\u043C\u0435\u0440\u0430 \u0441\u0442\u0440\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043A\u0430\u0436\u0434\u044B\u0435 10 \u0441\u0442\u0440\u043E\u043A.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043C \u043D\u043E\u043C\u0435\u0440\u043E\u0432 \u0441\u0442\u0440\u043E\u043A.","\u0427\u0438\u0441\u043B\u043E \u043C\u043E\u043D\u043E\u0448\u0438\u0440\u0438\u043D\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432, \u043F\u0440\u0438 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u044B\u0432\u0430\u0442\u044C\u0441\u044F \u043B\u0438\u043D\u0435\u0439\u043A\u0430 \u044D\u0442\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u044D\u0442\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u043F\u043E\u0441\u043B\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0447\u0438\u0441\u043B\u0430 \u043C\u043E\u043D\u043E\u0448\u0438\u0440\u0438\u043D\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. \u0414\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043B\u0438\u043D\u0435\u0435\u043A \u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439. \u0415\u0441\u043B\u0438 \u043D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u043E \u043D\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F, \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043D\u0435 \u0431\u0443\u0434\u0443\u0442.","\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438.","\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043D\u0430.","\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043A\u0440\u044B\u0442\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u044E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438.","\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438.","\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043D\u0430.","\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043B\u043E\u0441\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043A\u0440\u044B\u0442\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u044E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438.","\u0428\u0438\u0440\u0438\u043D\u0430 \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438.","\u0412\u044B\u0441\u043E\u0442\u0430 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u043E\u0439 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043E\u043C \u043A \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0449\u0435\u043B\u0447\u043A\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u0441\u0435\u0445 \u043D\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 ASCII. \u0411\u0430\u0437\u043E\u0432\u044B\u043C\u0438 ASCII \u0441\u0447\u0438\u0442\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043C\u0435\u0436\u0434\u0443 U+0020 \u0438 U+007E, \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u044F, \u043F\u0435\u0440\u0435\u0432\u043E\u0434 \u0441\u0442\u0440\u043E\u043A\u0438 \u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442 \u043A\u0430\u0440\u0435\u0442\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u044B\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F \u043B\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u043E\u0441\u0442\u043E \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0443\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E \u0438\u043B\u0438 \u0432\u043E\u043E\u0431\u0449\u0435 \u043D\u0435 \u0438\u043C\u0435\u044E\u0442 \u0448\u0438\u0440\u0438\u043D\u044B.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043C \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u043E\u0436\u043D\u043E \u0441\u043F\u0443\u0442\u0430\u0442\u044C \u0441 \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u043C\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0430\u043C\u0438 ASCII, \u043A\u0440\u043E\u043C\u0435 \u0442\u0435\u0445, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043E\u0431\u0449\u0438\u043C\u0438 \u0432 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u044F\u0437\u044B\u043A\u043E\u0432\u043E\u043C \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0432 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F\u0445 \u0442\u0430\u043A\u0436\u0435 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0432 \u0441\u0442\u0440\u043E\u043A\u0430\u0445 \u0442\u0430\u043A\u0436\u0435 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043D\u0435 \u0432\u044B\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F.","\u0421\u0438\u043C\u0432\u043E\u043B\u044B \u042E\u043D\u0438\u043A\u043E\u0434\u0430, \u0440\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043D\u044B\u0445 \u044F\u0437\u044B\u043A\u0430\u0445, \u043D\u0435 \u0432\u044B\u0434\u0435\u043B\u044F\u044E\u0442\u0441\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u043A\u0430\u0436\u0434\u043E\u043C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043C\u044B\u0448\u0438 \u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u043E\u0433\u0434\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u0437\u0430\u0438\u043C\u043E\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439. \u0415\u0441\u043B\u0438 \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043D\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0430 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {0} \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442\u043E\u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0438\u043C\u0435\u0435\u0442 \u043B\u0438 \u043A\u0430\u0436\u0434\u044B\u0439 \u0442\u0438\u043F \u0441\u043A\u043E\u0431\u043E\u043A \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u043D\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043C\u044B\u0439 \u043F\u0443\u043B \u0446\u0432\u0435\u0442\u043E\u0432.","\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u043F\u0430\u0440\u044B \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u044B \u043B\u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0432 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u043C \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u043F\u0430\u0440\u044B \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u044B \u043B\u0438 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0434\u043E\u043B\u0436\u043D\u0430 \u043B\u0438 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043F\u0430\u0440\u0430 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0412\u044B\u0434\u0435\u043B\u044F\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u0443\u044E \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0443\u044E \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0412\u044B\u0434\u0435\u043B\u044F\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u0443\u044E \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0443\u044E \u043E\u0442\u0441\u0442\u0443\u043F\u0430, \u0434\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u0441\u043A\u043E\u0431\u043E\u043A.","\u041D\u0435 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u043D\u0443\u044E \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0443\u044E \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0434\u043E\u043B\u0436\u043D\u0430 \u043B\u0438 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0430\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u0435\u0437 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0441\u043F\u0440\u0430\u0432\u0430 \u043E\u0442 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0442\u0435\u043A\u0441\u0442 \u0441\u043F\u0440\u0430\u0432\u0430 \u043E\u0442 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0443\u0442 \u043B\u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u0442\u044C\u0441\u044F \u0441\u043B\u043E\u0432\u0430 \u043F\u0440\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u0438\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u043C\u0430\u043D\u0438\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043E\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0449\u0438\u0445 \u044D\u0442\u0443 \u0444\u0443\u043D\u043A\u0446\u0438\u044E.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0434\u043E\u043F\u0443\u0441\u043A\u0430\u044E\u0442\u0441\u044F \u043B\u0438 \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u0438\u0435 \u043E\u043F\u0435\u0447\u0430\u0442\u043A\u0438 \u0432 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445 \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0435 \u0441\u043B\u043E\u0432\u0430, \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0440\u044F\u0434\u043E\u043C \u0441 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u043C.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043B\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u043D\u043E \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u043C\u0438 \u0440\u0430\u0431\u043E\u0447\u0438\u043C\u0438 \u043E\u0431\u043B\u0430\u0441\u0442\u044F\u043C\u0438 \u0438 \u043E\u043A\u043D\u0430\u043C\u0438 (\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F "#editor.suggestSelection#").',"\u0412\u0441\u0435\u0433\u0434\u0430 \u0432\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 IntelliSense.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0432\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 IntelliSense.","\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 IntelliSense \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u043D\u043E\u0433\u043E \u0441\u0438\u043C\u0432\u043E\u043B\u0430.","\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 IntelliSense \u043F\u043E \u043C\u0435\u0440\u0435 \u0432\u0432\u043E\u0434\u0430.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u044B\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u043C\u0430\u043D\u0438\u0435, \u0447\u0442\u043E \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C ("#editor.quickSuggestions#" \u0438 "#editor.suggestOnTriggerCharacters#"), \u0438 \u0447\u0442\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u044B\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u044F\u0432\u043D\u043E\u043C \u0432\u044B\u0437\u043E\u0432\u0435, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 "CTRL+\u041F\u0420\u041E\u0411\u0415\u041B".',"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0437\u0430\u043F\u0440\u0435\u0449\u0430\u0435\u0442 \u043B\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u043A\u043E\u0434\u0430 \u044D\u043A\u0441\u043F\u0440\u0435\u0441\u0441-\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F.","\u0423\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442, \u043D\u0443\u0436\u043D\u043E \u043B\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u043A\u0438 \u0432 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0432 \u043D\u0438\u0436\u043D\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043F\u0440\u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043B\u0438 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0432\u043C\u0435\u0441\u0442\u0435 \u0441 \u043C\u0435\u0442\u043A\u043E\u0439 \u0438\u043B\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439.","\u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0435\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u043C. \u0422\u0435\u043F\u0435\u0440\u044C \u0440\u0430\u0437\u043C\u0435\u0440 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043C\u043E\u0436\u043D\u043E \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C.","\u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0443\u0441\u0442\u0430\u0440\u0435\u043B. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0432\u043C\u0435\u0441\u0442\u043E \u043D\u0435\u0433\u043E \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 'editor.suggest.showKeywords' \u0438\u043B\u0438 'editor.suggest.showSnippets'.",'\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "method".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "function".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "constructor".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "deprecated".','\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438 IntelliSense \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0432\u044B\u0439 \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u043B \u0432 \u043D\u0430\u0447\u0430\u043B\u0435 \u0441\u043B\u043E\u0432\u0430, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 "c" \u0432 "Console" \u0438\u043B\u0438 "WebContext", \u043D\u043E _\u043D\u0435_ \u0432 "description". \u0415\u0441\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D, IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0431\u043E\u043B\u044C\u0448\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432, \u043D\u043E \u043F\u043E-\u043F\u0440\u0435\u0436\u043D\u0435\u043C\u0443 \u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0438\u0445 \u043F\u043E \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0443 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F.','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "field".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "variable".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "class".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "struct".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "interface".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "module".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "property".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "event".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "operator".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "unit".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "value".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "constant".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "enum".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "enumMember".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "keyword".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "text".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "color".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "file".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "reference".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "customcolor".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "folder".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "typeParameter".','\u041A\u043E\u0433\u0434\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0432\u043A\u043B\u044E\u0447\u0435\u043D, \u0432 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F "snippet".','\u0412\u043E \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u043E\u043C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 IntelliSense \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0430 "\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438".','\u0412\u043E \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u043E\u043C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0438 IntelliSense \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0430 "\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B".',"\u0414\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044B\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u044B \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0439 \u0438 \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0439 \u043F\u0440\u043E\u0431\u0435\u043B\u044B.",'\u0421\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0432\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0441\u043B\u043E\u0432\u0430 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "foo" \u0432 "fooBar" \u0438\u043B\u0438 "foo_bar").',"\u0411\u0435\u0437 \u043E\u0442\u0441\u0442\u0443\u043F\u0430. \u041F\u0435\u0440\u0435\u043D\u043E\u0441 \u0441\u0442\u0440\u043E\u043A \u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u0441\u043E \u0441\u0442\u043E\u043B\u0431\u0446\u0430 1.","\u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442 \u0442\u043E\u0442 \u0436\u0435 \u043E\u0442\u0441\u0442\u0443\u043F, \u0447\u0442\u043E \u0438 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430.","\u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442 \u043E\u0442\u0441\u0442\u0443\u043F, \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u043D\u044B\u0439 \u043D\u0430 \u0435\u0434\u0438\u043D\u0438\u0446\u0443 \u043F\u043E \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044E \u0441 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439. ","\u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442 \u043E\u0442\u0441\u0442\u0443\u043F, \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u043D\u044B\u0439 \u043D\u0430 \u0434\u0432\u0430 \u043F\u043E \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044E \u0441 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u043C \u0441\u0442\u0440\u043E\u043A \u0441 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u043E\u043C \u043F\u043E \u0441\u043B\u043E\u0432\u0430\u043C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043C\u043E\u0436\u043D\u043E \u043B\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440, \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044F \u043D\u0430\u0436\u0430\u0442\u043E\u0439 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 SHIFT (\u0432\u043C\u0435\u0441\u0442\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u0444\u0430\u0439\u043B\u0430 \u0432 \u0441\u0430\u043C\u043E\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435).","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u0441\u0431\u0440\u043E\u0441\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440. \u042D\u0442\u043E \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0442\u0435\u043C, \u043A\u0430\u043A \u0441\u0431\u0440\u0430\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u0444\u0430\u0439\u043B.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u043E\u0441\u043B\u0435 \u0441\u0431\u0440\u043E\u0441\u0430 \u0444\u0430\u0439\u043B\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0431\u0440\u043E\u0441\u0430. \u0412\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043C\u043E\u0436\u043D\u043E \u043B\u0438 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u0430\u043C\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u0432\u0441\u0442\u0430\u0432\u043A\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440. \u042D\u0442\u043E \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0442\u0435\u043C, \u043A\u0430\u043A \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0444\u0430\u0439\u043B.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u044B\u0431\u043E\u0440\u0430 \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u043F\u043E\u0441\u043B\u0435 \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u044B\u0431\u043E\u0440\u0430 \u0432\u0441\u0442\u0430\u0432\u043A\u0438. \u0412\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0443\u0442 \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u0438. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0432 JavaScript \u0442\u043E\u0447\u043A\u0430 \u0441 \u0437\u0430\u043F\u044F\u0442\u043E\u0439 (";") \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u0438, \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0441\u044F.',"\u041F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0412\u0412\u041E\u0414 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043E\u043D\u043E \u0438\u0437\u043C\u0435\u043D\u044F\u0435\u0442 \u0442\u0435\u043A\u0441\u0442.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0443\u0442 \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C\u0441\u044F \u043A\u043B\u0430\u0432\u0438\u0448\u0435\u0439 \u0412\u0412\u041E\u0414 \u0432 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A \u043A\u043B\u0430\u0432\u0438\u0448\u0435 TAB. \u042D\u0442\u043E \u043F\u043E\u043C\u043E\u0433\u0430\u0435\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044C \u043D\u0435\u043E\u0434\u043D\u043E\u0437\u043D\u0430\u0447\u043D\u043E\u0441\u0442\u0438 \u043C\u0435\u0436\u0434\u0443 \u0432\u0441\u0442\u0430\u0432\u043A\u043E\u0439 \u043D\u043E\u0432\u044B\u0445 \u0441\u0442\u0440\u043E\u043A \u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0447\u0438\u0441\u043B\u043E\u043C \u0441\u0442\u0440\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u043D\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430 \u0437\u0430 \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \u041F\u0440\u0438 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E 500. \u0412\u043D\u0438\u043C\u0430\u043D\u0438\u0435! \u041F\u0440\u0438 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0438 \u0447\u0438\u0441\u043B\u0430 \u0441\u0442\u0440\u043E\u043A, \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0441\u043D\u0438\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438.","\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0442\u0435\u043C, \u043E\u0431\u044A\u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043B\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u0447\u0442\u0435\u043D\u0438\u044F \u044D\u043A\u0440\u0430\u043D\u0430.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044F\u0437\u044B\u043A\u0430 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u0441\u043A\u043E\u0431\u043E\u043A.","\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0441\u043A\u043E\u0431\u043A\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043A\u0443\u0440\u0441\u043E\u0440 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0441\u043B\u0435\u0432\u0430 \u043E\u0442 \u043F\u0440\u043E\u0431\u0435\u043B\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0443\u044E \u0441\u043A\u043E\u0431\u043A\u0443 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0439 \u0441\u043A\u043E\u0431\u043A\u0438.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044F\u0437\u044B\u043A\u0430 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432.","\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043A\u0443\u0440\u0441\u043E\u0440 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0441\u043B\u0435\u0432\u0430 \u043E\u0442 \u043F\u0440\u043E\u0431\u0435\u043B\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u043F\u0440\u0438 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F.","\u0423\u0434\u0430\u043B\u044F\u0442\u044C \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0435 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0438 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u0435 \u0441\u043A\u043E\u0431\u043A\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043E\u043D\u0438 \u0431\u044B\u043B\u0438 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0443\u0434\u0430\u043B\u044F\u0442\u044C \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0435 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0438\u043B\u0438 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u0435 \u0441\u043A\u043E\u0431\u043A\u0438 \u043F\u0440\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438.","\u0417\u0430\u043C\u0435\u043D\u044F\u0442\u044C \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0438 \u0441\u043A\u043E\u0431\u043A\u0438 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0438\u043B\u0438 \u0441\u043A\u043E\u0431\u043A\u0438 \u0431\u044B\u043B\u0438 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0437\u0430\u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0438\u043B\u0438 \u0441\u043A\u043E\u0431\u043A\u0438 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044F\u0437\u044B\u043A\u0430 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u043A\u0430\u0432\u044B\u0447\u0435\u043A.","\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043A\u0443\u0440\u0441\u043E\u0440 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0441\u043B\u0435\u0432\u0430 \u043E\u0442 \u043F\u0440\u043E\u0431\u0435\u043B\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043A\u0430\u0432\u044B\u0447\u043A\u0438, \u0435\u0441\u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u043B \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0443\u044E \u043A\u0430\u0432\u044B\u0447\u043A\u0443.","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438.","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0438 \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0441\u043A\u043E\u0431\u043A\u0438 \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u043E\u043C \u044F\u0437\u044B\u043A\u0430.","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438, \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435 \u044F\u0437\u044B\u043A\u043E\u043C \u0441\u043A\u043E\u0431\u043A\u0438 \u0438 \u0432\u044B\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u043F\u0440\u0430\u0432\u0438\u043B\u0430 onEnterRules, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0435 \u044F\u0437\u044B\u043A\u0430\u043C\u0438.","\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438, \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435 \u044F\u0437\u044B\u043A\u043E\u043C \u0441\u043A\u043E\u0431\u043A\u0438, \u0432\u044B\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u043F\u0440\u0430\u0432\u0438\u043B\u0430 onEnterRules, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0435 \u044F\u0437\u044B\u043A\u0430\u043C\u0438 \u0438 \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0430\u0432\u0438\u043B\u0430 \u043E\u0442\u0441\u0442\u0443\u043F\u0430 indentationRules, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0435 \u044F\u0437\u044B\u043A\u0430\u043C\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F\u044B, \u043A\u043E\u0433\u0434\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438 \u0432\u0432\u043E\u0434\u044F\u0442, \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u044E\u0442 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u044E\u0442 \u0442\u0435\u043A\u0441\u0442 \u0438\u043B\u0438 \u0438\u0437\u043C\u0435\u043D\u044F\u044E\u0442 \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0441\u0442\u0440\u043E\u043A.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044F\u0437\u044B\u043A\u0430 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043E\u0431\u0440\u0430\u043C\u043B\u0435\u043D\u0438\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0439.","\u041E\u0431\u0440\u0430\u043C\u043B\u044F\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u0430\u0432\u044B\u0447\u0435\u043A, \u0430 \u043D\u0435 \u0441\u043A\u043E\u0431\u043E\u043A.","\u041E\u0431\u0440\u0430\u043C\u043B\u044F\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0441\u043A\u043E\u0431\u043E\u043A, \u0430 \u043D\u0435 \u043A\u0430\u0432\u044B\u0447\u0435\u043A.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u0440\u0430\u043C\u043B\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u043A\u0430\u0432\u044B\u0447\u0435\u043A \u0438\u043B\u0438 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u042D\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u043F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u0430. \u0412\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E \u043A \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u043C \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 CodeLens \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0435\u043C\u0435\u0439\u0441\u0442\u0432\u043E\u043C \u0448\u0440\u0438\u0444\u0442\u043E\u0432 \u0434\u043B\u044F CodeLens.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u044F\u0445 \u0434\u043B\u044F CodeLens. \u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 0, \u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F 90% \u043E\u0442 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 #editor.fontSize#.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440\u044B \u0446\u0432\u0435\u0442\u0430 \u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0446\u0432\u0435\u0442\u0430.","\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u043B\u0438\u0442\u0440\u0443 \u043F\u0440\u0438 \u0449\u0435\u043B\u0447\u043A\u0435 \u0438 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043D\u0430 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440 \u0446\u0432\u0435\u0442\u0430","\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u043B\u0438\u0442\u0440\u0443 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043D\u0430 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440 \u0446\u0432\u0435\u0442\u0430","\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u043B\u0438\u0442\u0440\u0443 \u043F\u0440\u0438 \u0449\u0435\u043B\u0447\u043A\u0435 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440\u0430 \u0446\u0432\u0435\u0442\u0430","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0443\u0441\u043B\u043E\u0432\u0438\u0435\u043C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0430\u043B\u0438\u0442\u0440\u044B \u0432 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440\u0435 \u0446\u0432\u0435\u0442\u0430","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u043C \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u043C \u0446\u0432\u0435\u0442\u043E\u0432\u044B\u0445 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u043E\u0440\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u043E\u0436\u043D\u043E \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u0430\u0442\u044C \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E.","\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u0432\u044B\u0431\u043E\u0440 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0438 \u043C\u044B\u0448\u0438 \u043F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043A \u0432\u044B\u0431\u043E\u0440\u0443 \u0441\u0442\u043E\u043B\u0431\u0446\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0442\u0435\u043A\u0441\u0442 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430 \u0441 \u043F\u043E\u0434\u0441\u0432\u0435\u0442\u043A\u043E\u0439 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0442\u0438\u043B\u0435\u043C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u041F\u043B\u0430\u0432\u043D\u0430\u044F \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430.","\u041F\u043B\u0430\u0432\u043D\u0430\u044F \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430, \u0442\u043E\u043B\u044C\u043A\u043E \u0435\u0441\u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0435\u0442 \u043A\u0443\u0440\u0441\u043E\u0440 \u044F\u0432\u043D\u044B\u043C \u0436\u0435\u0441\u0442\u043E\u043C.","\u041F\u043B\u0430\u0432\u043D\u0430\u044F \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043B\u0430\u0432\u043D\u0443\u044E \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044E \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0442\u0438\u043B\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0430.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E \u0432\u0438\u0434\u0438\u043C\u044B\u0445 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0445 \u043B\u0438\u043D\u0438\u0439 (\u043C\u0438\u043D\u0438\u043C\u0443\u043C 0) \u0438 \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0445 \u043B\u0438\u043D\u0438\u0439 (\u043C\u0438\u043D\u0438\u043C\u0443\u043C 1), \u043E\u043A\u0440\u0443\u0436\u0430\u044E\u0449\u0438\u0445 \u043A\u0443\u0440\u0441\u043E\u0440. \u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0438\u043C\u0435\u0435\u0442 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 "scrollOff" \u0438\u043B\u0438 "scrollOffset" \u0432 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430\u0445.','"cursorSurroundingLines" \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0438\u043B\u0438 API.','"cursorSurroundingLines" \u043F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u0432\u043E \u0432\u0441\u0435\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445.','\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u043E\u0433\u0434\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C "#cursorSurroundingLines#".',`\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0448\u0438\u0440\u0438\u043D\u043E\u0439 \u043A\u0443\u0440\u0441\u043E\u0440\u0430, \u043A\u043E\u0433\u0434\u0430 \u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 "#editor.cursorStyle#" \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 'line'`,"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u0441 SVG.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u0430\u043C\u0438 \u0448\u0440\u0438\u0444\u0442\u0430.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u043E\u0431\u0435\u043B \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u043E\u0432\u043E\u0433\u043E \u044D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430.","\u041A\u043E\u044D\u0444\u0444\u0438\u0446\u0438\u0435\u043D\u0442 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 ALT.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u043B\u0438 \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u0434\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044E \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430, \u0435\u0441\u043B\u0438 \u043E\u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430, \u0432 \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044E \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0435\u0439 \u0434\u043B\u044F \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u0435\u043C\u044B\u0445 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0441\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044C \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B \u0438\u043C\u043F\u043E\u0440\u0442\u0430.","\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u0435\u043C\u044B\u0445 \u0440\u0435\u0433\u0438\u043E\u043D\u043E\u0432. \u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043A \u0441\u043D\u0438\u0436\u0435\u043D\u0438\u044E \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438 \u043E\u0442\u043A\u043B\u0438\u043A\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0435\u0441\u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u0435\u043C\u044B\u0445 \u0440\u0435\u0433\u0438\u043E\u043D\u043E\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0449\u0435\u043B\u0447\u043E\u043A \u043F\u0443\u0441\u0442\u043E\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u043F\u043E\u0441\u043B\u0435 \u0441\u0432\u0435\u0440\u043D\u0443\u0442\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u0442\u044C \u0435\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0441\u0435\u043C\u0435\u0439\u0441\u0442\u0432\u043E \u0448\u0440\u0438\u0444\u0442\u043E\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435. \u041C\u043E\u0434\u0443\u043B\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0438 \u0438\u043C\u0435\u0442\u044C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u044E\u0449\u0438\u043C, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u043F\u043E\u0441\u043B\u0435 \u0432\u0432\u043E\u0434\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043C \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043F\u043E\u043B\u0435\u0439 \u0433\u043B\u0438\u0444\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u041F\u043E\u043B\u044F \u0433\u043B\u0438\u0444\u0430 \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043B\u0430\u0434\u043A\u0438.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u043A\u0440\u044B\u0442\u0438\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0432 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043E\u043C \u043C\u0435\u0436\u0434\u0443 \u0431\u0443\u043A\u0432\u0430\u043C\u0438 \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u044F\u0445.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043B\u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430 \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u044F\u0437\u044B\u043A\u0430, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u0433\u0438 HTML, \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043F\u0440\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0438 \u0438 \u0434\u0435\u043B\u0430\u0442\u044C \u0438\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0434\u043B\u044F \u0449\u0435\u043B\u0447\u043A\u0430.","\u0412\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0441\u043A\u043E\u0431\u043A\u0438.","\u041C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 deltaX \u0438 deltaY \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043A\u043E\u043B\u0435\u0441\u0438\u043A\u0430 \u043C\u044B\u0448\u0438.","\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0448\u0440\u0438\u0444\u0442\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u043E\u0439 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 CTRL \u0438 \u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0438 \u043A\u043E\u043B\u0435\u0441\u0438\u043A\u0430 \u043C\u044B\u0448\u0438.","\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432, \u043A\u043E\u0433\u0434\u0430 \u043E\u043D\u0438 \u043F\u0435\u0440\u0435\u043A\u0440\u044B\u0432\u0430\u044E\u0442\u0441\u044F.","\u0421\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 CTRL \u0432 Windows \u0438 Linux \u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 COMMAND \u0432 macOS.","\u0421\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 ALT \u0432 Windows \u0438 Linux \u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 OPTION \u0432 macOS.",'\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u044B\u0448\u0438. \u0416\u0435\u0441\u0442\u044B \u043C\u044B\u0448\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E" \u0438 "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443" \u0431\u0443\u0434\u0443\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u0442\u0430\u043A, \u0447\u0442\u043E\u0431\u044B \u043E\u043D\u0438 \u043D\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u043E\u0432\u0430\u043B\u0438 c [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).',"\u041A\u0430\u0436\u0434\u044B\u0439 \u043A\u0443\u0440\u0441\u043E\u0440 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0434\u043D\u0443 \u0441\u0442\u0440\u043E\u043A\u0443 \u0442\u0435\u043A\u0441\u0442\u0430.","\u041A\u0430\u0436\u0434\u044B\u0439 \u043A\u0443\u0440\u0441\u043E\u0440 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u043B\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u0441\u0442\u0430\u0432\u043A\u043E\u0439, \u043A\u043E\u0433\u0434\u0430 \u0447\u0438\u0441\u043B\u043E \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445 \u0441\u0442\u0440\u043E\u043A \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0447\u0438\u0441\u043B\u0443 \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u043C \u0447\u0438\u0441\u043B\u043E\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u043E\u0433\u0443\u0442 \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B \u0441\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u0430 \u043B\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0433\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0435.","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u043E\u0432\u043A\u0430 \u043D\u0430 \u0434\u0435\u0440\u0435\u0432\u0435 \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043E\u0431\u0437\u043E\u0440\u0430","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u043E\u0432\u043A\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043E\u0431\u0437\u043E\u0440\u0430","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u043E \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 \u043E\u0431\u0437\u043E\u0440\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u0441\u0435\u0433\u0434\u0430 \u043B\u0438 \u0436\u0435\u0441\u0442 \u043C\u044B\u0448\u044C\u044E \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C\u044E \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 (\u0432 \u043C\u0441) \u043F\u0435\u0440\u0435\u0434 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043C \u043A\u0440\u0430\u0442\u043A\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043F\u043E \u0442\u0438\u043F\u0443.",'\u041D\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F; \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0432\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 "editor.linkedEditing".',"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043D\u043E\u043C\u0435\u0440\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0444\u0430\u0439\u043B \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043D\u043E\u0432\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.","\u0412\u044B\u0434\u0435\u043B\u044F\u0435\u0442 \u043F\u043E\u043B\u0435 \u0438 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u044B\u0432\u0430\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438, \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u0433\u0434\u0430 \u043E\u043D \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435.","\u041E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0430 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432, \u043A\u0440\u043E\u043C\u0435 \u043E\u0434\u0438\u043D\u043E\u0447\u043D\u044B\u0445 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432 \u043C\u0435\u0436\u0434\u0443 \u0441\u043B\u043E\u0432\u0430\u043C\u0438.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u043E\u0431\u0435\u043B\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u043C \u0442\u0435\u043A\u0441\u0442\u0435.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0435 \u043F\u0440\u043E\u0431\u0435\u043B\u044B.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0431\u0435\u043B\u044B.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043B\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u043D\u044B\u0435 \u0443\u0433\u043B\u044B \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u043C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u043A\u0440\u0443\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043F\u0440\u043E\u043A\u0440\u0443\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u0437\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u044E\u044E \u0441\u0442\u0440\u043E\u043A\u0443.","\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u0432\u0434\u043E\u043B\u044C \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439 \u043E\u0441\u0438 \u043F\u0440\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0435 \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438 \u0438 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438 \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E. \u041F\u0440\u0435\u0434\u043E\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043F\u043E \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u0438 \u043F\u0440\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0435 \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438 \u043D\u0430 \u0442\u0440\u0435\u043A\u043F\u0430\u0434\u0435.","\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u0438\u0447\u043D\u044B\u0439 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430 Linux.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u0435\u043D \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F, \u0430\u043D\u0430\u043B\u043E\u0433\u0438\u0447\u043D\u044B\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u043C\u0443 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0443.","\u0412\u0441\u0435\u0433\u0434\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u0435\u043C\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F.","\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435\u043C \u0438 \u0443\u043C\u0435\u043D\u044C\u0448\u0430\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440 \u043F\u0435\u0440\u0435\u043F\u043B\u0435\u0442\u0430.","\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F, \u043A\u043E\u0433\u0434\u0430 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C \u043C\u044B\u0448\u0438 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430\u0434 \u043F\u0435\u0440\u0435\u043F\u043B\u0435\u0442\u043E\u043C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043D\u0430 \u043F\u0435\u0440\u0435\u043F\u043B\u0435\u0442\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u043A\u0440\u044B\u0442\u0438\u0435\u043C \u043D\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E \u043A\u043E\u0434\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u0435\u0440\u0435\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u043E\u0432\u0435\u0440\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u043E\u0434 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432 \u0440\u044F\u0434\u043E\u043C \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438.","\u041D\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043C \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u043C\u0435\u0441\u0442\u0435 \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438 \u0438 \u0438\u0445 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u043E\u0439.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043B\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F \u043F\u0440\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043E \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044F\u0445 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F.","\u0420\u0430\u0437\u043C\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439. \u0415\u0441\u043B\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E {0}, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 {1}.","\u0412\u044B\u0441\u043E\u0442\u0430 \u0441\u0442\u0440\u043E\u043A\u0438 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439. \u0415\u0441\u043B\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E {0}, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 {1}. \u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u2014 8.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F.","\u0412\u0441\u0435\u0433\u0434\u0430 \u0432\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435.",'\u0412\u044B\u0431\u043E\u0440 \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439, \u0435\u0441\u043B\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u0430\u043B\u044C\u043D\u0435\u0439\u0448\u0438\u0439 \u0432\u0432\u043E\u0434 \u043D\u0435 \u043F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0438\u0437 \u043D\u0438\u0445, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 "console.| -> console.log", \u0442\u0430\u043A \u043A\u0430\u043A "log" \u043D\u0435\u0434\u0430\u0432\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043B\u0441\u044F \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F.','\u0412\u044B\u0431\u043E\u0440 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441 \u0443\u0447\u0435\u0442\u043E\u043C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0445 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043E\u0432, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u044D\u0442\u0438\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 "co -> console" \u0438 "con -> const".',"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u043C \u0432\u044B\u0431\u043E\u0440\u043E\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u0441\u043F\u0438\u0441\u043A\u0430 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E TAB \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043D\u0430\u0438\u043B\u0443\u0447\u0448\u0435\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB.","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043F\u043E TAB.",'\u0412\u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0439 \u043F\u043E TAB \u043F\u0440\u0438 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0438 \u0438\u0445 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043E\u0432. \u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043E\u043F\u0442\u0438\u043C\u0430\u043B\u044C\u043D\u043E, \u0435\u0441\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 "quickSuggestions" \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D.',"\u0412\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E TAB.","\u041D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0443\u0434\u0430\u043B\u044F\u044E\u0442\u0441\u044F.","\u041D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u044E\u0442\u0441\u044F.","\u0414\u043B\u044F \u043D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438 \u0437\u0430\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435.","\u0423\u0434\u0430\u043B\u0438\u0442\u0435 \u043D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B.","\u0412\u0441\u0442\u0430\u0432\u043A\u0430 \u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432 \u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0430\u0432\u0438\u043B\u043E \u0440\u0430\u0437\u0440\u044B\u0432\u0430 \u0441\u0442\u0440\u043E\u043A \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.","\u041D\u0435 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u0430\u0437\u0440\u044B\u0432\u044B \u0441\u043B\u043E\u0432 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430 \u043A\u0438\u0442\u0430\u0439\u0441\u043A\u043E\u043C, \u044F\u043F\u043E\u043D\u0441\u043A\u043E\u043C \u0438\u043B\u0438 \u043A\u043E\u0440\u0435\u0439\u0441\u043A\u043E\u043C \u044F\u0437\u044B\u043A\u0435 (CJK). \u0414\u043B\u044F \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043E\u0431\u044B\u0447\u043D\u043E\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438 \u0440\u0430\u0437\u0431\u0438\u0435\u043D\u0438\u044F \u043F\u043E \u0441\u043B\u043E\u0432\u0430\u043C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u043C\u0438 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430 \u043A\u0438\u0442\u0430\u0439\u0441\u043A\u043E\u043C,\u044F\u043F\u043E\u043D\u0441\u043A\u043E\u043C \u0438 \u043A\u043E\u0440\u0435\u0439\u0441\u043A\u043E\u043C \u044F\u0437\u044B\u043A\u0435 (CJK).","\u0421\u0438\u043C\u0432\u043E\u043B\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043A\u0430\u043A \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u0438 \u0441\u043B\u043E\u0432 \u043F\u0440\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0445 \u0441\u043E \u0441\u043B\u043E\u0432\u0430\u043C\u0438.","\u0421\u0442\u0440\u043E\u043A\u0438 \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u043D\u0438\u043A\u043E\u0433\u0434\u0430.","\u0421\u0442\u0440\u043E\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u043F\u043E \u0448\u0438\u0440\u0438\u043D\u0435 \u043E\u043A\u043D\u0430 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430.",'\u0421\u0442\u0440\u043E\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C\u0441\u044F \u043F\u043E "#editor.wordWrapColumn#".','\u0421\u0442\u0440\u043E\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u044B \u043F\u043E \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E \u0438\u0437 \u0434\u0432\u0443\u0445: \u0448\u0438\u0440\u0438\u043D\u0430 \u043E\u043A\u043D\u0430 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0438 "#editor.wordWrapColumn#".',"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0438.",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0441\u0442\u043E\u043B\u0431\u0435\u0446 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0435\u0441\u043B\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 "#editor.wordWrap#" \u2014 "wordWrapColumn" \u0438\u043B\u0438 "bounded".',"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0434\u043E\u043B\u0436\u043D\u044B \u043B\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430 \u0446\u0432\u0435\u0442\u0430 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442 \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u043A\u043B\u0430\u0434\u043A\u0438 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u0430\u0434\u044B\u0432\u0430\u0435\u0442 \u043B\u0438 \u0438\u0445 \u0432 \u0440\u0430\u0431\u043E\u0447\u0443\u044E \u0441\u0440\u0435\u0434\u0443 \u0434\u043B\u044F \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438."],"vs/editor/common/core/editorColorRegistry":["\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0433\u0440\u0430\u043D\u0438\u0446 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 Quick Open \u0438\u043B\u0438 \u043F\u043E\u0438\u0441\u043A\u0430. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043E\u0431\u0432\u043E\u0434\u043A\u0438 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F.",'\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u0438\u043C\u0432\u043E\u043B\u0430, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0432 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u0445 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E" \u0438\u043B\u0438 "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443/\u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0441\u0438\u043C\u0432\u043E\u043B\u0443". \u0426\u0432\u0435\u0442 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u043F\u043E\u0434 \u043D\u0438\u043C.',"\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.","\u0426\u0432\u0435\u0442 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430. \u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C \u0446\u0432\u0435\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u0430, \u043F\u0435\u0440\u0435\u043A\u0440\u044B\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u043F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u044B\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u043E\u043C.","\u0426\u0432\u0435\u0442 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u043D\u043E\u043C\u0435\u0440\u043E\u0432 \u0441\u0442\u0440\u043E\u043A \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.",'\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E "editorIndentGuide.background" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0435\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u043C. \u0412\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 "editorIndentGuide.background1".',"\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.",'\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E "editorIndentGuide.activeBackground" \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0435\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u043C. \u0412\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 "editorIndentGuide.activeBackground1".',"\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (1).","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (2).","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (3).","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (4).","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (5).","\u0426\u0432\u0435\u0442 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (6).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (1).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (2).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (3).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (4).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (5).","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u0434\u043B\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (6).","\u0426\u0432\u0435\u0442 \u043D\u043E\u043C\u0435\u0440\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 'Id' \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043C. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0432\u043C\u0435\u0441\u0442\u043E \u043D\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 'editorLineNumber.activeForeground'.","\u0426\u0432\u0435\u0442 \u043D\u043E\u043C\u0435\u0440\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u0426\u0432\u0435\u0442 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u043A\u043E\u0433\u0434\u0430 editor.renderFinalNewline \u0438\u043C\u0435\u0435\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 dimmed.","\u0426\u0432\u0435\u0442 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 CodeLens \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A","\u0426\u0432\u0435\u0442 \u043F\u0440\u044F\u043C\u043E\u0443\u0433\u043E\u043B\u044C\u043D\u0438\u043A\u043E\u0432 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0412 \u043F\u043E\u043B\u0435 \u0440\u0430\u0437\u043C\u0435\u0449\u0430\u044E\u0442\u0441\u044F \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0433\u043B\u0438\u0444\u043E\u0432 \u0438 \u043D\u043E\u043C\u0435\u0440\u0430 \u0441\u0442\u0440\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u043D\u0435\u043D\u0443\u0436\u043D\u043E\u0433\u043E (\u043D\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E) \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.",'\u041D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u044C \u043D\u0435\u043D\u0443\u0436\u043D\u043E\u0433\u043E (\u043D\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E) \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "#000000c0" \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043A\u043E\u0434 \u0441 \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u044C\u044E 75 %. \u0412 \u0432\u044B\u0441\u043E\u043A\u043E\u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u043D\u044B\u0445 \u0442\u0435\u043C\u0430\u0445 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043D\u0435\u043D\u0443\u0436\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430 \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u0442\u0435\u043D\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0446\u0432\u0435\u0442 \u0442\u0435\u043C\u044B "editorUnnecessaryCode.border".',"\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u043C\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u043C\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u043C\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043C\u0435\u0442\u043A\u0438 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0434\u043B\u044F \u043E\u0448\u0438\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043C\u0435\u0442\u043A\u0438 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043C\u0435\u0442\u043A\u0438 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0434\u043B\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (1). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (2). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (3). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (4). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (5). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043A\u043E\u0431\u043E\u043A (6). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u0430\u0441\u043A\u0443 \u043F\u0430\u0440\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043D\u0435\u043F\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043D\u043D\u044B\u0445 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (1). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (2). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (3). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (4). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (5). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (6). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (1). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (2). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (3). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (4). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (5). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A (6). \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0430."],"vs/editor/common/editorContextKeys":["\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0444\u043E\u043A\u0443\u0441 \u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u0435 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 (\u043A\u0443\u0440\u0441\u043E\u0440 \u043C\u0438\u0433\u0430\u0435\u0442)","\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0444\u043E\u043A\u0443\u0441 \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0438\u043B\u0438 \u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0444\u043E\u043A\u0443\u0441 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430)","\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0444\u043E\u043A\u0443\u0441 \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0438\u043B\u0438 \u043D\u0430 \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 (\u043A\u0443\u0440\u0441\u043E\u0440 \u043C\u0438\u0433\u0430\u0435\u0442)","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u043E\u043C \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u043D\u044B\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u043E\u043C \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439","\u0412\u044B\u0431\u0440\u0430\u043D \u043B\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A \u043A\u043E\u0434\u0430 \u0434\u043B\u044F \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0439","\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442\u0430 \u043B\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u0430\u044F \u0442\u043E\u0447\u043A\u0430 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u043F\u0430\u0440\u0430\u043B\u043B\u0435\u043B\u044C\u043D\u043E\u0439 \u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439",'\u0412\u043A\u043B\u044E\u0447\u0435\u043D \u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 "editor.columnSelection"',"\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u0432\u044B\u0431\u043E\u0440","\u041F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0444\u043E\u043A\u0443\u0441 \u0441 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0432\u0438\u0434\u0438\u043C\u044B\u043C","\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432 \u0444\u043E\u043A\u0443\u0441\u0435","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u0412\u0438\u0434\u043D\u0430 \u043B\u0438 \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u0430\u044F \u043F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432","\u0421\u0444\u043E\u043A\u0443\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u043B\u0438 \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u0430\u044F \u043F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0447\u0430\u0441\u0442\u044C\u044E \u0431\u043E\u043B\u044C\u0448\u0435\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0437\u0430\u043F\u0438\u0441\u043D\u044B\u0445 \u043A\u043D\u0438\u0436\u0435\u043A)","\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u044F\u0437\u044B\u043A\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441 \u043A\u043E\u0434\u043E\u043C","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A CodeLens","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0439","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0439","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u043E\u0432","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044F","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0441\u0441\u044B\u043B\u043E\u043A","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043F\u043E \u0441\u0438\u0433\u043D\u0430\u0442\u0443\u0440\u0430\u043C","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432","\u0415\u0441\u0442\u044C \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432"],"vs/editor/common/languages":["\u043C\u0430\u0441\u0441\u0438\u0432","\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435","\u043A\u043B\u0430\u0441\u0441","\u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u0430","\u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440","\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435","\u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F","\u0441\u043E\u0431\u044B\u0442\u0438\u0435","\u043F\u043E\u043B\u0435","\u0444\u0430\u0439\u043B","\u0444\u0443\u043D\u043A\u0446\u0438\u044F","\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441","\u043A\u043B\u044E\u0447","\u043C\u0435\u0442\u043E\u0434","\u043C\u043E\u0434\u0443\u043B\u044C","\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E \u0438\u043C\u0435\u043D","NULL","\u0447\u0438\u0441\u043B\u043E","\u043E\u0431\u044A\u0435\u043A\u0442","\u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440","\u043F\u0430\u043A\u0435\u0442","\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E","\u0441\u0442\u0440\u043E\u043A\u0430","\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430","\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0442\u0438\u043F\u0430","\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["\u041F\u0440\u043E\u0441\u0442\u043E\u0439 \u0442\u0435\u043A\u0441\u0442"],"vs/editor/common/model/editStack":["\u0412\u0432\u043E\u0434"],"vs/editor/common/standaloneStrings":["\u0420\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A: \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0442\u043E\u043A\u0435\u043D\u044B","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u043E\u043A\u0435/\u0441\u0442\u043E\u043B\u0431\u0446\u0443...","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435\u0445 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0434\u043E\u0441\u0442\u0443\u043F\u0430","\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u043A\u043E\u043C\u0430\u043D\u0434","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u044B","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0443...","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0443 \u043F\u043E \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043C...","\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u041D\u0430\u0436\u043C\u0438\u0442\u0435 ALT+F1 \u0434\u043B\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439.","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0441\u043E\u043A\u043E\u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u043D\u0443\u044E \u0442\u0435\u043C\u0443","\u0412\u043D\u0435\u0441\u0435\u043D\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 ({1}): {0}."],"vs/editor/common/viewLayout/viewLineRenderer":["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435 ({0})","\u0421\u0438\u043C\u0432\u043E\u043B\u044B: {0}"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u043E\u0447\u043A\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F","\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u043E\u0447\u043A\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430 \u0432 {0}:{1}","\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u0443\u044E \u0442\u043E\u0447\u043A\u0443 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u043E\u0447\u043A\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F","\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u0442 \u043E\u0442 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u043E\u0447\u043A\u0438 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0434\u043E \u043A\u0443\u0440\u0441\u043E\u0440\u0430","\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u0443\u044E \u0442\u043E\u0447\u043A\u0443 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\u0426\u0432\u0435\u0442 \u043C\u0435\u0442\u043A\u0438 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0434\u043B\u044F \u043F\u0430\u0440 \u0441\u043A\u043E\u0431\u043E\u043A.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043A\u043E\u0431\u043A\u0435","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0431\u043A\u0443","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u043A\u043E\u0431\u043A\u0438","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u0441\u043A\u043E\u0431\u043A\u0435"],"vs/editor/contrib/caretOperations/browser/caretOperations":["\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442 \u0432\u043B\u0435\u0432\u043E","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442 \u0432\u043F\u0440\u0430\u0432\u043E"],"vs/editor/contrib/caretOperations/browser/transpose":["\u0422\u0440\u0430\u043D\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0431\u0443\u043A\u0432\u044B"],"vs/editor/contrib/clipboard/browser/clipboard":["&&\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C","\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C","\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C","\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C","&&\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0430\u043A","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0430\u043A","\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F","\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F","\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F","&&\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043C \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0430"],"vs/editor/contrib/codeAction/browser/codeAction":["\u041F\u0440\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["\u0422\u0438\u043F \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u043C\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043A\u043E\u0433\u0434\u0430 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u044E\u0442\u0441\u044F \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F.","\u0412\u0441\u0435\u0433\u0434\u0430 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043D\u043E\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043A\u043E\u0434\u0430.","\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430, \u0435\u0441\u043B\u0438 \u043E\u043D\u043E \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0435\u0434\u0438\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u043C.","\u041D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430.","\u0411\u044B\u0441\u0442\u0440\u043E\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435...","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442",'\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043A\u043E\u0434\u0430 \u0434\u043B\u044F "{0}".','\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 \u0434\u043B\u044F "{0}" \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B',"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043A\u043E\u0434\u0430","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442","\u0420\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433...",'\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0440\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433\u043E\u0432 \u0434\u043B\u044F "{0}"','\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0440\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433\u0430 \u0434\u043B\u044F "{0}"',"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0440\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433\u043E\u0432","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0440\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442","\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u043C \u043A\u043E\u0434\u043E\u043C...","\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430 \u0434\u043B\u044F '{0}'",'\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0434\u043B\u044F "{0}"',"\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B","\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442","\u041E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u0438\u043C\u043F\u043E\u0440\u0442\u043E\u0432","\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0434\u043B\u044F \u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0435\u043D\u0438\u044F \u0438\u043C\u043F\u043E\u0440\u0442\u043E\u0432 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442","\u0418\u0441\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432\u0441\u0435","\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043F\u043E \u043E\u0431\u0449\u0435\u043C\u0443 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044E","\u0410\u0432\u0442\u043E\u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435...","\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0430\u0432\u0442\u043E\u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0439"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0433\u0440\u0443\u043F\u043F \u0432 \u043C\u0435\u043D\u044E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043A\u043E\u0434\u0430.","\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0435, \u0435\u0441\u043B\u0438 \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0430."],"vs/editor/contrib/codeAction/browser/codeActionController":["\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442: {0} \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 {1} \u0438 \u0441\u0442\u043E\u043B\u0431\u0446\u0435 {2}.","\u0421\u043A\u0440\u044B\u0442\u044C \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F...","\u0411\u044B\u0441\u0442\u0440\u043E\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435","\u0418\u0437\u0432\u043B\u0435\u0447\u044C","\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439","\u041F\u0435\u0440\u0435\u043F\u0438\u0441\u0430\u0442\u044C","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C","\u0420\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0435","\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u043C \u043A\u043E\u0434\u043E\u043C"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430. \u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 ({0})","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 ({0})","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430"],"vs/editor/contrib/codelens/browser/codelensController":["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u044B CodeLens \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043E\u043A\u0438","\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0443"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0446\u0432\u0435\u0442\u0430 (RGB/HSL/HEX)","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u043F\u0430\u043B\u0438\u0442\u0440\u044B"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u044B\u0439 \u0432\u044B\u0431\u043E\u0440 \u0446\u0432\u0435\u0442\u0430","&&\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u044B\u0439 \u0432\u044B\u0431\u043E\u0440 \u0446\u0432\u0435\u0442\u0430","\u0421\u043A\u0440\u044B\u0442\u044C \u043F\u0430\u043B\u0438\u0442\u0440\u0443 \u0446\u0432\u0435\u0442\u043E\u0432","\u0412\u0441\u0442\u0430\u0432\u043A\u0430 \u0446\u0432\u0435\u0442\u0430 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u043E\u0439 \u043F\u0430\u043B\u0438\u0442\u0440\u044B \u0446\u0432\u0435\u0442\u043E\u0432"],"vs/editor/contrib/comment/browser/comment":["\u0417\u0430\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 &&\u0441\u0442\u0440\u043E\u043A\u0438","\u0417\u0430\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443","\u0420\u0430\u0441\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443","\u0417\u0430\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0431\u043B\u043E\u043A","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 &&\u0431\u043B\u043E\u043A\u0430"],"vs/editor/contrib/contextmenu/browser/contextmenu":["\u041C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0430","\u041E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0430 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","\u0420\u0430\u0437\u043C\u0435\u0440 \u043F\u043E \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438","\u041F\u0440\u043E\u043F\u043E\u0440\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E","\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C","\u041F\u043E\u0434\u043E\u0433\u043D\u0430\u0442\u044C","\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A","\u041D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043C\u044B\u0448\u0438","\u0412\u0441\u0435\u0433\u0434\u0430","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["\u041E\u0442\u043C\u0435\u043D\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430","\u041F\u043E\u0432\u0442\u043E\u0440 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u0443\u0440\u0441\u043E\u0440\u0430"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u0430\u043A...","\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0434\u043B\u044F \u043F\u043E\u043F\u044B\u0442\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F. \u0415\u0441\u043B\u0438 \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D, \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0432\u044B\u0431\u043E\u0440\u0430."],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0441\u0442\u0430\u0432\u043A\u0438","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0432\u0441\u0442\u0430\u0432\u043A\u0438...","\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u044E\u0442\u0441\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0438 \u0432\u0441\u0442\u0430\u0432\u043A\u0438. \u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B","\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\u0441\u0442\u0430\u0432\u043A\u0438","\u0417\u0430\u043F\u0443\u0441\u043A \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0432 \u0432\u0441\u0442\u0430\u0432\u043A\u0438"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043E","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C URI","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C URI","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u0442\u0438","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0443\u0442\u0438","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0443\u0442\u044C"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 MIME."],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u0431\u0440\u043E\u0441\u0430","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u0431\u0440\u043E\u0441\u0430...","\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u044E\u0442\u0441\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0438 \u0441\u0431\u0440\u043E\u0441\u0430. \u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B"],"vs/editor/contrib/editorState/browser/keybindingCancellation":['\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u044E\u0442\u0441\u044F \u043B\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438, \u0434\u043E\u043F\u0443\u0441\u043A\u0430\u044E\u0449\u0438\u0435 \u043E\u0442\u043C\u0435\u043D\u0443, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0438"'],"vs/editor/contrib/find/browser/findController":["\u0424\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0432\u0435\u043B\u0438\u043A \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043C\u0435\u043D\u044B \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432.","\u041D\u0430\u0439\u0442\u0438","&&\u041D\u0430\u0439\u0442\u0438",`\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0444\u043B\u0430\u0433 "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E\u0435 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435".\r +\u042D\u0442\u043E\u0442 \u0444\u043B\u0430\u0433 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D \u043D\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.\r +0: \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\r +1: true\r +2: false`,`\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0444\u043B\u0430\u0433 "\u0421\u043B\u043E\u0432\u043E \u0446\u0435\u043B\u0438\u043A\u043E\u043C".\r +\u042D\u0442\u043E\u0442 \u0444\u043B\u0430\u0433 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D \u043D\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.\r +0: \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\r +1: true\r +2: false`,`\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0444\u043B\u0430\u0433 "\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440".\r +\u042D\u0442\u043E\u0442 \u0444\u043B\u0430\u0433 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D \u043D\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.\r +0: \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\r +1: true\r +2: false`,`\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0444\u043B\u0430\u0433 "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440".\r +\u042D\u0442\u043E\u0442 \u0444\u043B\u0430\u0433 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D \u043D\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.\r +0: \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\r +1: true\r +2: false`,"\u041D\u0430\u0439\u0442\u0438 \u0441 \u0430\u0440\u0433\u0443\u043C\u0435\u043D\u0442\u0430\u043C\u0438","\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u043C","\u041D\u0430\u0439\u0442\u0438 \u0434\u0430\u043B\u0435\u0435","\u041D\u0430\u0439\u0442\u0438 \u0440\u0430\u043D\u0435\u0435","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044E...","\u041D\u0435\u0442 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043D\u0430\u0439\u0442\u0438 \u0447\u0442\u043E-\u043D\u0438\u0431\u0443\u0434\u044C \u0434\u0440\u0443\u0433\u043E\u0435.","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044E (\u043E\u0442 1 \u0434\u043E {0})","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E \u043E\u0442 1 \u0434\u043E {0}","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E \u043E\u0442 1 \u0434\u043E {0}","\u041D\u0430\u0439\u0442\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u041D\u0430\u0439\u0442\u0438 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","&&\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C"],"vs/editor/contrib/find/browser/findWidget":['\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043A\u043D\u043E\u043F\u043A\u0438 "\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u043C" \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.',"\u0417\u043D\u0430\u0447\u043E\u043A, \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439, \u0447\u0442\u043E \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0441\u0432\u0435\u0440\u043D\u0443\u0442\u043E.","\u0417\u043D\u0430\u0447\u043E\u043A, \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439, \u0447\u0442\u043E \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u043E.",'\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043A\u043D\u043E\u043F\u043A\u0438 "\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C" \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.','\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043A\u043D\u043E\u043F\u043A\u0438 "\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435" \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.','\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043A\u043D\u043E\u043F\u043A\u0438 "\u041D\u0430\u0439\u0442\u0438 \u0440\u0430\u043D\u0435\u0435" \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.','\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043A\u043D\u043E\u043F\u043A\u0438 "\u041D\u0430\u0439\u0442\u0438 \u0434\u0430\u043B\u0435\u0435" \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.',"\u041F\u043E\u0438\u0441\u043A \u0438 \u0437\u0430\u043C\u0435\u043D\u0430","\u041D\u0430\u0439\u0442\u0438","\u041D\u0430\u0439\u0442\u0438","\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u041D\u0430\u0439\u0442\u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438","\u0417\u0430\u043A\u0440\u044B\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0437\u0430\u043C\u0435\u043D\u044B","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u0435\u0440\u0432\u044B\u0435 {0} \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432, \u043D\u043E \u0432\u0441\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u044E\u0442\u0441\u044F \u0441\u043E \u0432\u0441\u0435\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u043C.","{0} \u0438\u0437 {1}","\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442","{0} \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E",'{0} \u043D\u0430\u0439\u0434\u0435\u043D \u0434\u043B\u044F "{1}"','{0} \u043D\u0430\u0439\u0434\u0435\u043D \u0434\u043B\u044F "{1}", \u0432 {2}','{0} \u043D\u0430\u0439\u0434\u0435\u043D \u0434\u043B\u044F "{1}"',"\u0422\u0435\u043F\u0435\u0440\u044C \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448 CTRL+\u0412\u0412\u041E\u0414 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0441\u0438\u043C\u0432\u043E\u043B \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043D\u0430 \u043D\u043E\u0432\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u043C\u0435\u043D\u044B \u0432\u0441\u0435\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 editor.action.replaceAll, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u044D\u0442\u043E \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435."],"vs/editor/contrib/folding/browser/folding":["\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C","\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0440\u0435\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u043E","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C","\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0440\u0435\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u043E","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0431\u043B\u043E\u043A\u0438 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0440\u0435\u0433\u0438\u043E\u043D\u044B","\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0440\u0435\u0433\u0438\u043E\u043D\u044B","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u043A\u0440\u043E\u043C\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445","\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u043A\u0440\u043E\u043C\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445","\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435","\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u043C\u0443 \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0441\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0441\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445","\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E","\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u0430\u043F\u043A\u0438 {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0437\u0430 \u0441\u0432\u0435\u0440\u043D\u0443\u0442\u044B\u043C\u0438 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430\u043C\u0438. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u0434\u0435\u043A\u043E\u0440\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B.","\u0426\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435\u043C \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u043C \u043F\u043E\u043B\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044B\u0445 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432 \u043D\u0430 \u043F\u043E\u043B\u0435 \u0433\u043B\u0438\u0444\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0441\u0432\u0435\u0440\u043D\u0443\u0442\u044B\u0445 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432 \u043D\u0430 \u043F\u043E\u043B\u0435 \u0433\u043B\u0438\u0444\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0441\u0432\u0435\u0440\u043D\u0443\u0442\u044B\u0445 \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432 \u043D\u0430 \u043F\u043E\u043B\u044F\u0445 \u0433\u043B\u0438\u0444\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044B\u0445 \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432 \u043D\u0430 \u043F\u043E\u043B\u044F\u0445 \u0433\u043B\u0438\u0444\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430."],"vs/editor/contrib/fontZoom/browser/fontZoom":["\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0448\u0440\u0438\u0444\u0442 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0448\u0440\u0438\u0444\u0442 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043C\u0430\u0441\u0448\u0442\u0430\u0431 \u0448\u0440\u0438\u0444\u0442\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430"],"vs/editor/contrib/format/browser/format":["\u0412\u043D\u0435\u0441\u0435\u043D\u0430 \u043E\u0434\u043D\u0430 \u043F\u0440\u0430\u0432\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 {0}.","\u0412\u043D\u0435\u0441\u0435\u043D\u044B \u043F\u0440\u0430\u0432\u043A\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F ({0}) \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 {1}.","\u0412\u043D\u0435\u0441\u0435\u043D\u0430 \u043E\u0434\u043D\u0430 \u043F\u0440\u0430\u0432\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043C\u0435\u0436\u0434\u0443 \u0441\u0442\u0440\u043E\u043A\u0430\u043C\u0438 {0} \u0438 {1}.","\u0412\u043D\u0435\u0441\u0435\u043D\u044B \u043F\u0440\u0430\u0432\u043A\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F ({0}) \u043C\u0435\u0436\u0434\u0443 \u0441\u0442\u0440\u043E\u043A\u0430\u043C\u0438 {1} \u0438 {2}."],"vs/editor/contrib/format/browser/formatActions":["\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442","\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442"],"vs/editor/contrib/gotoError/browser/gotoError":["\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u041F\u0440\u043E\u0431\u043B\u0435\u043C\u0435 (\u041E\u0448\u0438\u0431\u043A\u0435, \u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044E, \u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438)","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043C\u0430\u0440\u043A\u0435\u0440\u0443.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u041F\u0440\u043E\u0431\u043B\u0435\u043C\u0435 (\u041E\u0448\u0438\u0431\u043A\u0435, \u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044E, \u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438)","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043C\u0430\u0440\u043A\u0435\u0440\u0443.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435 \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 (\u043E\u0448\u0438\u0431\u043A\u0438, \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F, \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F)","\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F &&\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0430","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435 \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 (\u043E\u0448\u0438\u0431\u043A\u0438, \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F, \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F)","\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F &&\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0430"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["\u041E\u0448\u0438\u0431\u043A\u0430","\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435","\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F","\u0423\u043A\u0430\u0437\u0430\u043D\u0438\u0435","{0} \u0432 {1}. ","\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u044B: {0} \u0438\u0437 {1}","\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u044B: {0} \u0438\u0437 {1}","\u0426\u0432\u0435\u0442 \u043E\u0448\u0438\u0431\u043A\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0424\u043E\u043D \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u043E\u0448\u0438\u0431\u043A\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0424\u043E\u043D \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0424\u043E\u043D \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0424\u043E\u043D \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0442\u043A\u0430\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430."],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["\u041E\u0431\u0437\u043E\u0440","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F",'\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0434\u043B\u044F "{0}" \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.',"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E","\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0431\u043E\u043A\u0443","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F",'\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043B\u044F "{0}" \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.',"\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044E",'\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043B\u044F "{0}" \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.',"\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E","\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0432",'\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0430 \u0434\u043B\u044F "{0}".',"\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0430.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0442\u0438\u043F\u0430","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0442\u0438\u043F\u0430","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0430","\u0420\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438",'\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430 \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u0434\u043B\u044F "{0}".',"\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430 \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u043C","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u043C","\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438",'\u0421\u0441\u044B\u043B\u043A\u0438 \u0434\u043B\u044F "{0}" \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B',"\u0421\u0441\u044B\u043B\u043A\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0441\u044B\u043B\u043A\u0430\u043C","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A &&\u0441\u0441\u044B\u043B\u043A\u0430\u043C","\u0421\u0441\u044B\u043B\u043A\u0438","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0438","\u0421\u0441\u044B\u043B\u043A\u0438","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043B\u044E\u0431\u043E\u043C\u0443 \u0441\u0438\u043C\u0432\u043E\u043B\u0443","\u0420\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F",'\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0434\u043B\u044F "{0}"',"\u0421\u0441\u044B\u043B\u043A\u0438"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ({0})."],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":['\u041E\u0442\u043A\u0440\u044B\u0442\u043E \u043B\u0438 \u043E\u043A\u043D\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441\u0441\u044B\u043B\u043E\u043A, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u0421\u0441\u044B\u043B\u043A\u0438 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430" \u0438\u043B\u0438 "\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430"',"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["\u0421\u0441\u044B\u043B\u043E\u043A: {0}","{0} \u0441\u0441\u044B\u043B\u043A\u0430","\u0421\u0441\u044B\u043B\u043A\u0438"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["\u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D","\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442","\u0421\u0441\u044B\u043B\u043A\u0438"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["\u0432 {0} \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 {1} \u0432 \u0441\u0442\u043E\u043B\u0431\u0446\u0435 {2}","{0} \u0432 {1} \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 {2} \u0432 \u0441\u0442\u043E\u043B\u0431\u0446\u0435 {3}","1 \u0441\u0438\u043C\u0432\u043E\u043B \u0432 {0}, \u043F\u043E\u043B\u043D\u044B\u0439 \u043F\u0443\u0442\u044C: {1}","{0} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0432 {1}, \u043F\u043E\u043B\u043D\u044B\u0439 \u043F\u0443\u0442\u044C: {2} ","\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D 1 \u0441\u0438\u043C\u0432\u043E\u043B \u0432 {0}","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E {0} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0432 {1}","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E {0} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0432 {1} \u0444\u0430\u0439\u043B\u0430\u0445"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043B\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432, \u043A \u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u0438\u0437 {1}, {2} \u0434\u043B\u044F \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u0438\u0437 {1}"],"vs/editor/contrib/hover/browser/hover":["\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043D\u0430 \u043D\u0435\u0433\u043E \u0444\u043E\u043A\u0443\u0441","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438","\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0440\u0445","\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432\u043D\u0438\u0437","\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432\u043B\u0435\u0432\u043E","\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0432\u043F\u0440\u0430\u0432\u043E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0432\u0432\u0435\u0440\u0445 \u0432 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0432\u043D\u0438\u0437 \u0432 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044E","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044E"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","\u041E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0430 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430 \u0434\u043B\u044F \u0434\u043B\u0438\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0438\u0437 \u0441\u043E\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438. \u042D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 editor.stopRenderingLineAfter.",'\u0420\u0430\u0437\u043C\u0435\u0442\u043A\u0430 \u043F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043B\u0438\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A \u0438\u0437 \u0441\u043E\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438. \u042D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E "editor.maxTokenizationLineLength".'],"vs/editor/contrib/hover/browser/markerHoverParticipant":["\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443","\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B","\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u044F \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0439...","\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B","\u0411\u044B\u0441\u0442\u0440\u043E\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u043C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u043C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u043C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u043C"],"vs/editor/contrib/indentation/browser/indentation":["\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F \u0432 \u043F\u0440\u043E\u0431\u0435\u043B\u044B","\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F \u0432 \u0448\u0430\u0433\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u041D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0430\u0433\u0430 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u0420\u0430\u0437\u043C\u0435\u0440 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440 \u0448\u0430\u0433\u0430 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0444\u0430\u0439\u043B\u0430","\u041E\u0442\u0441\u0442\u0443\u043F \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u041E\u0442\u0441\u0442\u0443\u043F \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432","\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043E\u0442\u0441\u0442\u0443\u043F\u0430 \u043E\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E","\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0441\u0442\u0440\u043E\u043A","\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["\u0414\u0432\u0430\u0436\u0434\u044B \u0449\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C","CMD + \u0449\u0435\u043B\u0447\u043E\u043A","CTRL + \u0449\u0435\u043B\u0447\u043E\u043A","OPTION + \u0449\u0435\u043B\u0447\u043E\u043A","ALT + \u0449\u0435\u043B\u0447\u043E\u043A","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E ({0}), \u0449\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u043F\u0440\u0430\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044E ({0})","\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443"],"vs/editor/contrib/inlineCompletions/browser/commands":["\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0441\u043B\u043E\u0432\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F","\u041F\u0440\u0438\u043D\u044F\u0442\u044C Word","\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F","\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443","\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u041F\u0440\u0438\u043D\u044F\u0442\u044C","\u0421\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u0412\u0441\u0435\u0433\u0434\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u041D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441 \u043F\u0440\u043E\u0431\u0435\u043B\u0430","\u041F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u0442, \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u043E\u0431\u0435\u043B \u043F\u0435\u0440\u0435\u0434 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0435\u0439 \u043A\u043E\u0440\u043E\u0447\u0435, \u0447\u0435\u043C \u0442\u0435\u043A\u0441\u0442, \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u0432\u0438\u0448\u0435\u0439 TAB","\u0421\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u043F\u043E\u0434\u0430\u0432\u043B\u044F\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0430\u0441\u043F\u0435\u043A\u0442 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0435\u0439 ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.","{0} ({1})","\u041D\u0430\u0437\u0430\u0434","\u0414\u0430\u043B\u0435\u0435"],"vs/editor/contrib/lineSelection/browser/lineSelection":["\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u043E\u043A\u0438"],"vs/editor/contrib/linesOperations/browser/linesOperations":["\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u0432\u0435\u0440\u0445\u0443","&&\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u044B\u0448\u0435","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u043D\u0438\u0437\u0443","\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0443 &&\u043D\u0438\u0436\u0435","\u0414\u0443\u0431\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435","&&\u0414\u0443\u0431\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u0435\u0440\u0445","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043D\u0430 \u0441&&\u0442\u0440\u043E\u043A\u0443 \u0432\u044B\u0448\u0435","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u043D\u0438\u0437","&&\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0443 \u043D\u0438\u0436\u0435","\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u043E\u043A \u043F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E","\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u043E\u043A \u043F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0434\u0443\u0431\u043B\u0438\u0440\u0443\u044E\u0449\u0438\u0435\u0441\u044F \u0441\u0442\u0440\u043E\u043A\u0438","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B-\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u0438","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443","\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F","\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u043E\u0442\u0441\u0442\u0443\u043F","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u044B\u0448\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u043D\u0438\u0436\u0435","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u043B\u0435\u0432\u0430","\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u043F\u0440\u0430\u0432\u0430","_\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0438","\u0422\u0440\u0430\u043D\u0441\u043F\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0432\u043E\u043A\u0440\u0443\u0433 \u043A\u0443\u0440\u0441\u043E\u0440\u0430","\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0432\u0435\u0440\u0445\u043D\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440","\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u043D\u0438\u0436\u043D\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440","\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0437\u0430\u0433\u043B\u0430\u0432\u043D\u044B\u0435 \u0431\u0443\u043A\u0432\u044B","\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u043D\u0430\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0441 \u043F\u043E\u0434\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u044F\u043C\u0438",'\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 "\u0432\u0435\u0440\u0431\u043B\u044E\u0436\u0438\u0439" \u0441\u0442\u0438\u043B\u044C',"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u043A\u0435\u0431\u0430\u0431-\u043A\u0435\u0439\u0441"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u0440\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u043C \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u0442\u0438\u043F\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u043E\u043C."],"vs/editor/contrib/links/browser/links":["\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443, \u0442\u0430\u043A \u043A\u0430\u043A \u043E\u043D\u0430 \u0438\u043C\u0435\u0435\u0442 \u043D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442: {0}","\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443, \u0443 \u043D\u0435\u0435 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043E\u0431\u044A\u0435\u043A\u0442.","\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443","\u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043F\u043E \u0441\u0441\u044B\u043B\u043A\u0435","\u041A\u043D\u043E\u043F\u043A\u0430 CMD \u0438 \u0449\u0435\u043B\u0447\u043E\u043A \u043B\u0435\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438","\u041A\u043D\u043E\u043F\u043A\u0430 CTRL \u0438 \u0449\u0435\u043B\u0447\u043E\u043A \u043B\u0435\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438","\u041A\u043D\u043E\u043F\u043A\u0430 OPTION \u0438 \u0449\u0435\u043B\u0447\u043E\u043A \u043B\u0435\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438","\u041A\u043D\u043E\u043F\u043A\u0430 ALT \u0438 \u0449\u0435\u043B\u0447\u043E\u043A \u043B\u0435\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u043E\u0439 \u043C\u044B\u0448\u0438","\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B {0}","\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443"],"vs/editor/contrib/message/browser/messageController":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435"],"vs/editor/contrib/multicursor/browser/multicursor":["\u041A\u0443\u0440\u0441\u043E\u0440 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D: {0}","\u041A\u0443\u0440\u0441\u043E\u0440\u044B \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B: {0}","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440 \u0432\u044B\u0448\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440 &&\u0432\u044B\u0448\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440 \u043D\u0438\u0436\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440 &&\u043D\u0438\u0436\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440\u044B \u043A \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F\u043C \u0441\u0442\u0440\u043E\u043A","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440\u044B \u0432 &&\u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440\u044B \u043D\u0438\u0436\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0443\u0440\u0441\u043E\u0440\u044B \u0432\u044B\u0448\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043D\u043E\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C &&\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0432 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043D\u043E\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C &&\u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043D\u043E\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0432 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043D\u043E\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0430\u0439\u0434\u0435\u043D\u043D\u044B\u0445 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435 &&\u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F","\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u043E\u0432\u043A\u0430 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0435","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0435","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u043E\u0432\u043A\u0430 \u043D\u0430 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0435","\u0424\u043E\u043A\u0443\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C \u043A\u0443\u0440\u0441\u043E\u0440\u0435"],"vs/editor/contrib/parameterHints/browser/parameterHints":["\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043A \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.","{0}, \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0432 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430."],"vs/editor/contrib/peekView/browser/peekView":["\u0412\u0441\u0442\u0440\u043E\u0435\u043D \u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043A\u043E\u0434\u0430 \u0432 \u043E\u043A\u043D\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430","\u0417\u0430\u043A\u0440\u044B\u0442\u044C","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0438 \u043C\u0430\u0441\u0441\u0438\u0432\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0443\u0437\u043B\u043E\u0432 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0443\u0437\u043B\u043E\u0432 \u0444\u0430\u0439\u043B\u0430 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u044F \u0432 \u043E\u043A\u043D\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0432 \u043E\u043A\u043D\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0413\u0440\u0430\u043D\u0438\u0446\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u0432 \u0431\u044B\u0441\u0442\u0440\u043E\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435."],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\u0427\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u043E\u043A\u0435, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u041F\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043A \u0441\u0442\u0440\u043E\u043A\u0435 {0} \u0438 \u0441\u0442\u043E\u043B\u0431\u0446\u0443 {1}.","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u043E\u043A\u0435 {0}.","\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: {0}, \u0441\u0438\u043C\u0432\u043E\u043B: {1}. \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438 \u043C\u0435\u0436\u0434\u0443 1 \u0438 {2} \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430.","\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: {0}, \u0441\u0438\u043C\u0432\u043E\u043B: {1}. \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430."],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\u0427\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0443, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439.","\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043D\u0435 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u044C\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E.","\u041D\u0435\u0442 \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0449\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u041D\u0435\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430","\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0431\u043E\u043A\u0443","\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u043D\u0438\u0437\u0443","\u0441\u0438\u043C\u0432\u043E\u043B\u044B ({0})","\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 ({0})","\u043C\u0435\u0442\u043E\u0434\u044B ({0})","\u0444\u0443\u043D\u043A\u0446\u0438\u0438 ({0})","\u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u044B ({0})","\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 ({0})","\u043A\u043B\u0430\u0441\u0441\u044B ({0})","\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B ({0})","\u0441\u043E\u0431\u044B\u0442\u0438\u044F ({0})","\u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u044B ({0})","\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044B ({0})","\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0430 \u0438\u043C\u0435\u043D ({0})","\u043F\u0430\u043A\u0435\u0442\u044B ({0})","\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0438\u043F\u0430 ({0})","\u043C\u043E\u0434\u0443\u043B\u0438 ({0})","\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 ({0})","\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F ({0})","\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F ({0})","\u0441\u0442\u0440\u043E\u043A\u0438 ({0})","\u0444\u0430\u0439\u043B\u044B ({0})","\u043C\u0430\u0441\u0441\u0438\u0432\u044B ({0})","\u0447\u0438\u0441\u043B\u0430 ({0})","\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F ({0})","\u043E\u0431\u044A\u0435\u043A\u0442\u044B ({0})","\u043A\u043B\u044E\u0447\u0438 ({0})","\u043F\u043E\u043B\u044F ({0})","\u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["\u041D\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044F \u0432\u043D\u0435\u0441\u0442\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432\u043E \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F","\u041D\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F"],"vs/editor/contrib/rename/browser/rename":["\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442.","\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F",'\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 "{0}" \u0432 "{1}"',"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 {0} \u0432 {1}","\xAB{0}\xBB \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D \u0432 \xAB{1}\xBB. \u0421\u0432\u043E\u0434\u043A\u0430: {2}","\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0440\u0430\u0432\u043A\u0438","\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u043F\u0440\u0430\u0432\u043A\u0438","\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0441\u0438\u043C\u0432\u043E\u043B","\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C/\u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0435\u0434 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435\u043C"],"vs/editor/contrib/rename/browser/renameInputField":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0445\u043E\u0434\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0438\u043C\u044F \u0434\u043B\u044F \u0432\u0445\u043E\u0434\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 \u0412\u0412\u041E\u0414 \u0434\u043B\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F.","\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {0} \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F, {1} \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430."],"vs/editor/contrib/smartSelect/browser/smartSelect":["\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442","&&\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442","&&\u0421\u0436\u0430\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435"],"vs/editor/contrib/snippet/browser/snippetController2":["\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432","\u0423\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043B\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432","\u0423\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043B\u0438 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044E..."],"vs/editor/contrib/snippet/browser/snippetVariables":["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430","\u0412\u0441","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431","\u042F\u043D\u0432\u0430\u0440\u044C","\u0424\u0435\u0432\u0440\u0430\u043B\u044C","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B\u044C","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u041E\u043A\u0442\u044F\u0431\u0440\u044C","\u041D\u043E\u044F\u0431\u0440\u044C","\u0414\u0435\u043A\u0430\u0431\u0440\u044C","\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","&&\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u0417\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","&&\u0417\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u0424\u043E\u043A\u0443\u0441 \u043D\u0430 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","&&\u0424\u043E\u043A\u0443\u0441 \u043D\u0430 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u043E\u043A\u0435 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435","\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440"],"vs/editor/contrib/suggest/browser/suggest":["\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u043A\u0430\u043A\u043E\u0435-\u043B\u0438\u0431\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432 \u0444\u043E\u043A\u0443\u0441\u0435","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043B\u0438 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445","\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430","\u041F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043B\u0438 \u0432\u0441\u0442\u0430\u0432\u043A\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043A \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0438\u043B\u0438 \u0432\u0441\u0435 \u0443\u0436\u0435 \u0431\u044B\u043B\u043E \u0432\u0432\u0435\u0434\u0435\u043D\u043E","\u0412\u0441\u0442\u0430\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0412\u0412\u041E\u0414",'\u0415\u0441\u0442\u044C \u043B\u0438 \u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F "\u0432\u0441\u0442\u0430\u0432\u043A\u0430" \u0438 "\u0437\u0430\u043C\u0435\u043D\u0430"','\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C "\u0432\u0441\u0442\u0430\u0432\u043A\u0430" \u0438\u043B\u0438 "\u0437\u0430\u043C\u0435\u043D\u0430"',"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043B\u0438 \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439"],"vs/editor/contrib/suggest/browser/suggestController":['\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435 "{0}" \u043F\u0440\u0438\u0432\u0435\u043B\u043E \u043A \u0432\u043D\u0435\u0441\u0435\u043D\u0438\u044E \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043F\u0440\u0430\u0432\u043E\u043A ({1})',"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","\u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435","\u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435","\u0421\u0431\u0440\u043E\u0441 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"],"vs/editor/contrib/suggest/browser/suggestWidget":["\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0437\u043D\u0430\u0447\u043A\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F \u0432\u044B\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F.","\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...","\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0442.","\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0438\u0442\u044C","{0} {1}, {2}","{0} {1}","{0}, {1}","{0}, \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["\u0417\u0430\u043A\u0440\u044B\u0442\u044C","\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043C\u0430\u0441\u0441\u0438\u0432\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043A\u043B\u0430\u0441\u0441\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0446\u0432\u0435\u0442\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0438\u0442\u0435\u043B\u044F. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0447\u043B\u0435\u043D\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0438\u0442\u0435\u043B\u044F. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0441\u043E\u0431\u044B\u0442\u0438\u044F. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u043E\u043B\u044F. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0444\u0430\u0439\u043B\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u0430\u043F\u043A\u0438. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0444\u0443\u043D\u043A\u0446\u0438\u0438. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043A\u043B\u044E\u0447\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0433\u043E \u0441\u043B\u043E\u0432\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043C\u0435\u0442\u043E\u0434\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043C\u043E\u0434\u0443\u043B\u044F. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0430 \u0438\u043C\u0435\u043D. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 NULL. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0447\u0438\u0441\u043B\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043E\u0431\u044A\u0435\u043A\u0442\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u0430\u043A\u0435\u0442\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0441\u0441\u044B\u043B\u043A\u0438. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430 \u043A\u043E\u0434\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0441\u0442\u0440\u043E\u043A\u0438. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0442\u0435\u043A\u0441\u0442\u0430. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0442\u0438\u043F\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0435\u0434\u0438\u043D\u0438\u0446. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439. \u042D\u0442\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435, \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439."],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0435\u0442 \u0444\u043E\u043A\u0443\u0441.","\u041F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB \u0444\u043E\u043A\u0443\u0441 \u043F\u0435\u0440\u0435\u0439\u0434\u0435\u0442 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0444\u043E\u043A\u0443\u0441","\u0422\u0435\u043F\u0435\u0440\u044C \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 TAB \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D \u0441\u0438\u043C\u0432\u043E\u043B \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438"],"vs/editor/contrib/tokenization/browser/tokenization":["\u0420\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A: \u043F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0430\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u0442\u043E\u043A\u0435\u043D\u043E\u0432"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["\u0417\u043D\u0430\u0447\u043E\u043A, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0439 \u0441 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435\u043C \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439.","\u042D\u0442\u043E\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u043D\u043E\u0433\u043E \u043D\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0430 ASCII","\u042D\u0442\u043E\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u043D\u043E\u0433\u043E \u043D\u0435\u043E\u0434\u043D\u043E\u0437\u043D\u0430\u0447\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0430","\u042D\u0442\u043E\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u043D\u043E\u0433\u043E \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u042E\u043D\u0438\u043A\u043E\u0434\u0430","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u043C\u043E\u0436\u043D\u043E \u0441\u043F\u0443\u0442\u0430\u0442\u044C \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C ASCII {1}, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0447\u0430\u0449\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u043C \u043A\u043E\u0434\u0435.","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u043C\u043E\u0436\u043D\u043E \u0441\u043F\u0443\u0442\u0430\u0442\u044C \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C {1}, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0447\u0430\u0449\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u043C \u043A\u043E\u0434\u0435.","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u043D\u0435\u0432\u0438\u0434\u0438\u043C.","\u0421\u0438\u043C\u0432\u043E\u043B {0} \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0431\u0430\u0437\u043E\u0432\u044B\u043C \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C ASCII.","\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F\u0445","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0432 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F\u0445","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0432 \u0441\u0442\u0440\u043E\u043A\u0430\u0445","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0432 \u0441\u0442\u0440\u043E\u043A\u0430\u0445","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0435\u043E\u0434\u043D\u043E\u0437\u043D\u0430\u0447\u043D\u043E\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0435\u043E\u0434\u043D\u043E\u0437\u043D\u0430\u0447\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0435 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0435 \u043E\u0442 ASCII","\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 ASCII","\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","\u0418\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u044C {0} (\u043D\u0435\u0432\u0438\u0434\u0438\u043C\u044B\u0439 \u0441\u0438\u043C\u0432\u043E\u043B) \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F","\u0418\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u044C {0} \u0438\u0437 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F",'\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u042E\u043D\u0438\u043A\u043E\u0434\u0430, \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u0432 \u044F\u0437\u044B\u043A\u0435 "{0}".',"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u042E\u043D\u0438\u043A\u043E\u0434\u0430"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["\u041D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438","\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u044B \u043D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438",`\u0424\u0430\u0439\u043B "{0}" \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438, \u0442\u0430\u043A\u0438\u0445 \u043A\u0430\u043A \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C \u0441\u0442\u0440\u043E\u043A (LS) \u0438\u043B\u0438 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C \u0430\u0431\u0437\u0430\u0446\u0435\u0432 (PS).\r +\r +\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0438\u0445 \u0438\u0437 \u0444\u0430\u0439\u043B\u0430. \u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u044D\u0442\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u043C\u043E\u0436\u043D\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 "editor.unusualLineTerminators".`,"&&\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043D\u0435\u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u043E\u043A\u0438","\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0435 \u043D\u0430 \u0447\u0442\u0435\u043D\u0438\u0435, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u0447\u0442\u0435\u043D\u0438\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043F\u0440\u0438 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0435 \u043D\u0430 \u0447\u0442\u0435\u043D\u0438\u0435, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u0441\u0447\u0438\u0442\u044B\u0432\u0430\u043D\u0438\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0435 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u0437\u0430\u043F\u0438\u0441\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439. ","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F."],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044E \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432","\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"],"vs/editor/contrib/wordOperations/browser/wordOperations":["\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u043B\u043E\u0432\u043E"],"vs/platform/action/common/actionCommonCategories":["\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435","\u0421\u043F\u0440\u0430\u0432\u043A\u0430","\u0422\u0435\u0441\u0442","\u0424\u0430\u0439\u043B","\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B","\u0420\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A"],"vs/platform/actionWidget/browser/actionList":["{0}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C, {1} \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430","{0}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C","{0}, \u043F\u0440\u0438\u0447\u0438\u043D\u0430 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F: {1}","\u041C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439"],"vs/platform/actionWidget/browser/actionWidget":["\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0435\u043C\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043D\u0430 \u043F\u0430\u043D\u0435\u043B\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439.","\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439","\u0421\u043A\u0440\u044B\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435","\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435","\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435","\u041F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["\u0421\u043A\u0440\u044B\u0442\u044C","\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043C\u0435\u043D\u044E"],"vs/platform/actions/common/menuService":['\u0421\u043A\u0440\u044B\u0442\u044C "{0}"'],"vs/platform/audioCues/browser/audioCueService":["\u041E\u0448\u0438\u0431\u043A\u0430 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u0421\u043B\u043E\u0436\u0435\u043D\u043D\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u0422\u043E\u0447\u043A\u0430 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u0430\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u0411\u044B\u0441\u0442\u0440\u043E\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430","\u041E\u0442\u043B\u0430\u0434\u0447\u0438\u043A \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u0432 \u0442\u043E\u0447\u043A\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0430","\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A \u0432 \u0441\u0442\u0440\u043E\u043A\u0435","\u0417\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430","\u0421\u0431\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438","\u0421\u0431\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430","\u0417\u0432\u043E\u043D\u043E\u043A \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430","\u042F\u0447\u0435\u0439\u043A\u0430 \u0437\u0430\u043F\u0438\u0441\u043D\u043E\u0439 \u043A\u043D\u0438\u0436\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430","\u0421\u0431\u043E\u0439 \u044F\u0447\u0435\u0439\u043A\u0438 \u0437\u0430\u043F\u0438\u0441\u043D\u043E\u0439 \u043A\u043D\u0438\u0436\u043A\u0438","\u0412\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430 \u0440\u0430\u0437\u043D\u043E\u0441\u0442\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430","\u0423\u0434\u0430\u043B\u0435\u043D\u0430 \u0440\u0430\u0437\u043D\u043E\u0441\u0442\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430","\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0430 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u0439","\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u0447\u0430\u0442","\u041F\u043E\u043B\u0443\u0447\u0435\u043D \u043E\u0442\u0432\u0435\u0442 \u0447\u0430\u0442\u0430","\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043E\u0442\u0432\u0435\u0442\u0430 \u0447\u0430\u0442\u0430"],"vs/platform/configuration/common/configurationRegistry":["\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044F\u0437\u044B\u043A\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0434\u043B\u044F \u044F\u0437\u044B\u043A\u0430 {0}.","\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445 \u0434\u043B\u044F \u044F\u0437\u044B\u043A\u0430.","\u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0434\u043B\u044F \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0445 \u044F\u0437\u044B\u043A\u043E\u0432.","\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445 \u0434\u043B\u044F \u044F\u0437\u044B\u043A\u0430.","\u042D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0434\u043B\u044F \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0445 \u044F\u0437\u044B\u043A\u043E\u0432.","\u041D\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044F \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0443\u0441\u0442\u043E\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E",`\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C "{0}". \u041E\u043D\u043E \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 '\\\\[.*\\\\]$' \u0434\u043B\u044F \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445 \u044F\u0437\u044B\u043A\u043E\u043C. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u0435 configurationDefaults.`,'\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C "{0}". \u042D\u0442\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043E.','\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C "{0}". \u0423\u0436\u0435 \u0438\u043C\u0435\u0435\u0442\u0441\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F {2} \u0434\u043B\u044F \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0439 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0438 {1}.'],"vs/platform/contextkey/browser/contextKeyService":["\u041A\u043E\u043C\u0430\u043D\u0434\u0430, \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0449\u0430\u044F \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043E \u043A\u043B\u044E\u0447\u0430\u0445 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430"],"vs/platform/contextkey/common/contextkey":["\u041F\u0443\u0441\u0442\u043E\u0435 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043A\u043B\u044E\u0447\u0430 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430",'\u0412\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435? \u0412\u044B \u0442\u0430\u043A\u0436\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C "false" \u0438\u043B\u0438 "true", \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u043F\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E false \u0438\u043B\u0438 true \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E.','"in" \u043F\u043E\u0441\u043B\u0435 "not".','\u0437\u0430\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u043A\u0440\u0443\u0433\u043B\u0430\u044F \u0441\u043A\u043E\u0431\u043A\u0430 ")"',"\u041D\u0435\u043F\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043D\u043D\u044B\u0439 \u043C\u0430\u0440\u043A\u0435\u0440","\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u0432\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C && \u0438\u043B\u0438 || \u043F\u0435\u0440\u0435\u0434 \u043C\u0430\u0440\u043A\u0435\u0440\u043E\u043C?","\u041D\u0435\u043E\u0436\u0438\u0434\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u043D\u0435\u0446 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F","\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u0432\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u043A\u043B\u044E\u0447 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430?",`\u041E\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044F: {0}\r +\u041F\u043E\u043B\u0443\u0447\u0435\u043D\u043E: "{1}".`],"vs/platform/contextkey/common/contextkeys":["\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430 macOS","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430 Linux","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430 Windows","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043D\u043E\u0439","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430 macOS \u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043E\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043D\u043E\u0439","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430 IOS","\u042F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043E\u043C","\u0422\u0438\u043F \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430 VS Code","\u041D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u043B\u0438 \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0432 \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430"],"vs/platform/contextkey/common/scanner":["\u0412\u044B \u0438\u043C\u0435\u043B\u0438 \u0432 \u0432\u0438\u0434\u0443 {0}?","\u0412\u044B \u0438\u043C\u0435\u043B\u0438 \u0432 \u0432\u0438\u0434\u0443 {0} \u0438\u043B\u0438 {1}?","\u0412\u044B \u0438\u043C\u0435\u043B\u0438 \u0432 \u0432\u0438\u0434\u0443 {0}, {1} \u0438\u043B\u0438 {2}?","\u0412\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0446\u0438\u0442\u0430\u0442\u0443?",'\u0412\u044B \u0437\u0430\u0431\u044B\u043B\u0438 \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0438\u043C\u0432\u043E\u043B "/" (\u043A\u043E\u0441\u0430\u044F \u0447\u0435\u0440\u0442\u0430)? \u0427\u0442\u043E\u0431\u044B \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C, \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0434 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C \u0434\u0432\u0435 \u043E\u0431\u0440\u0430\u0442\u043D\u044B\u0435 \u043A\u043E\u0441\u044B\u0435 \u0447\u0435\u0440\u0442\u044B, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 "\\\\/".'],"vs/platform/history/browser/contextScopedHistoryWidget":["\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043B\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F"],"vs/platform/keybinding/common/abstractKeybindingService":["\u0411\u044B\u043B\u0430 \u043D\u0430\u0436\u0430\u0442\u0430 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 {0}. \u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043D\u0430\u0436\u0430\u0442\u0438\u044F \u0432\u0442\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F...","\u0411\u044B\u043B\u0430 \u043D\u0430\u0436\u0430\u0442\u0430 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 ({0}). \u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043D\u0430\u0436\u0430\u0442\u0438\u044F \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F...","\u0421\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 ({0} \u0438 {1}) \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0439.","\u0421\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 ({0} \u0438 {1}) \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0439."],"vs/platform/list/browser/listService":["\u0420\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E","\u0421\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 CTRL \u0432 Windows \u0438 Linux \u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 COMMAND \u0432 macOS.","\u0421\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 ALT \u0432 Windows \u0438 Linux \u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0435 OPTION \u0432 macOS.",'\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0432 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u0438 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0432 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u044B\u0448\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0432 \u043F\u0440\u043E\u0432\u043E\u0434\u043D\u0438\u043A\u0435, \u0432 \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0445 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430\u0445 \u0438 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 scm). \u0416\u0435\u0441\u0442\u044B \u043C\u044B\u0448\u0438 "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0431\u043E\u043A\u0443" (\u0435\u0441\u043B\u0438 \u043E\u043D\u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F) \u0431\u0443\u0434\u0443\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u0442\u0430\u043A\u0438\u043C \u043E\u0431\u0440\u0430\u0437\u043E\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u043D\u0438 \u043D\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u043E\u0432\u0430\u043B\u0438 \u0441 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430.',"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043A\u0430\u043A \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0432 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u0438 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u044B\u0448\u0438 (\u0435\u0441\u043B\u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F). \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u043C\u0430\u043D\u0438\u0435, \u0447\u0442\u043E \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043C\u043E\u0436\u0435\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u0438 \u0441\u043F\u0438\u0441\u043A\u0430\u0445, \u0435\u0441\u043B\u0438 \u043E\u043D \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043A \u043D\u0438\u043C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442 \u043B\u0438 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0443 \u0441\u043F\u0438\u0441\u043A\u0438 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F \u043D\u0430 \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435. \u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435! \u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u0432\u043B\u0438\u044F\u0442\u044C \u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043B\u0438 \u0449\u0435\u043B\u043A\u0430\u0442\u044C \u043F\u043E\u043B\u043E\u0441\u0443 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u043E\u0441\u0442\u0440\u0430\u043D\u0438\u0447\u043D\u043E.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043E\u0442\u0441\u0442\u0443\u043F \u0434\u043B\u044F \u0434\u0435\u0440\u0435\u0432\u0430 \u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u044F\u0445.","\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043D\u0443\u0436\u043D\u043E \u043B\u0438 \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0435 \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u043B\u0438 \u043F\u043B\u0430\u0432\u043D\u0430\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430 \u0434\u043B\u044F \u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u0435\u0432.","\u041C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 deltaX \u0438 deltaY \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043A\u043E\u043B\u0435\u0441\u0438\u043A\u0430 \u043C\u044B\u0448\u0438.","\u041A\u043E\u044D\u0444\u0444\u0438\u0446\u0438\u0435\u043D\u0442 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 ALT.","\u041F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0432\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B. \u041F\u0440\u0438 \u0434\u0430\u043B\u044C\u043D\u0435\u0439\u0448\u0435\u0439 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432\u0432\u0435\u0440\u0445 \u0438 \u0432\u043D\u0438\u0437 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u0431\u0445\u043E\u0434 \u0442\u043E\u043B\u044C\u043A\u043E \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.","\u0424\u0438\u043B\u044C\u0442\u0440\u0443\u0439\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0440\u0435\u0436\u0438\u043C\u043E\u043C \u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u0435\u0432 \u0432 Workbench.","\u041F\u0440\u043E \u043F\u0440\u043E\u0441\u0442\u043E\u0439 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0432\u044B\u0431\u0438\u0440\u0430\u044E\u0442\u0441\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0432\u0432\u043E\u0434\u0438\u043C\u044B\u043C \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0434\u0430\u043D\u043D\u044B\u043C. \u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u043E \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u0430\u043C.","\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043F\u043E\u0434\u0441\u0432\u0435\u0442\u043A\u0438 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0432\u044B\u0434\u0435\u043B\u044F\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0432\u0432\u043E\u0434\u0438\u043C\u044B\u043C \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0434\u0430\u043D\u043D\u044B\u043C. \u041F\u0440\u0438 \u0434\u0430\u043B\u044C\u043D\u0435\u0439\u0448\u0435\u0439 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432\u0432\u0435\u0440\u0445 \u0438 \u0432\u043D\u0438\u0437 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u0431\u0445\u043E\u0434 \u0442\u043E\u043B\u044C\u043A\u043E \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.","\u0424\u0438\u043B\u044C\u0442\u0440 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u043D\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0432\u0432\u043E\u0434\u0438\u043C\u044B\u043C \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0434\u0430\u043D\u043D\u044B\u043C.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0441\u0442\u0438\u043B\u0435\u043C \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u0434\u043B\u044F \u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u0435\u0432 \u0432 Workbench. \u0414\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u043F\u0440\u043E\u0441\u0442\u043E\u0439 \u0440\u0435\u0436\u0438\u043C, \u0440\u0435\u0436\u0438\u043C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0438 \u0440\u0435\u0436\u0438\u043C \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438.",'\u0412\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 "workbench.list.defaultFindMode" \u0438 "workbench.list.typeNavigationMode".',"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u0435\u0447\u0435\u0442\u043A\u043E\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435.","\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u0435\u043F\u0440\u0435\u0440\u044B\u0432\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0438\u043F\u043E\u043C \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u043C \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u0435\u0432 \u0432 Workbench.","\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C, \u043A\u0430\u043A \u043F\u0430\u043F\u043A\u0438 \u0434\u0435\u0440\u0435\u0432\u0430 \u0440\u0430\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0438\u043C\u0435\u043D\u0430 \u043F\u0430\u043F\u043E\u043A. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u043C\u0430\u043D\u0438\u0435, \u0447\u0442\u043E \u044D\u0442\u043E\u0442 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043C\u043E\u0436\u0435\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u0438 \u0441\u043F\u0438\u0441\u043A\u0430\u0445, \u0435\u0441\u043B\u0438 \u043E\u043D \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043A \u043D\u0438\u043C.",'\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0440\u0430\u0431\u043E\u0442\u043E\u0439 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u0442\u0438\u043F\u0430\u043C \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u0441\u0440\u0435\u0434\u0435. \u0415\u0441\u043B\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 "trigger", \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F \u043F\u043E \u0442\u0438\u043F\u0443 \u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u044B "list.triggerTypeNavigation".'],"vs/platform/markers/common/markers":["\u041E\u0448\u0438\u0431\u043A\u0430","\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435","\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F"],"vs/platform/quickinput/browser/commandsQuickAccess":["\u043D\u0435\u0434\u0430\u0432\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u0435","\u043F\u043E\u0445\u043E\u0436\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","\u0447\u0430\u0441\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435","\u0434\u0440\u0443\u0433\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","\u043F\u043E\u0445\u043E\u0436\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","{0}, {1}",'\u041A\u043E\u043C\u0430\u043D\u0434\u0430 "{0}" \u043F\u0440\u0438\u0432\u0435\u043B\u0430 \u043A \u043E\u0448\u0438\u0431\u043A\u0435'],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["\u041D\u0430\u0437\u0430\u0434","\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 \u0412\u0412\u041E\u0414, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0432\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435, \u0438\u043B\u0438 ESCAPE \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B","{0} / {1}","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442, \u0447\u0442\u043E\u0431\u044B \u0443\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0447\u0438\u0441\u043B\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432."],"vs/platform/quickinput/browser/quickInputController":["\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u0441\u0435 \u0444\u043B\u0430\u0436\u043A\u0438","\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B: {0}","{0} \u0432\u044B\u0431\u0440\u0430\u043D\u043E","\u041E\u041A","\u0414\u0440\u0443\u0433\u043E\u0439","\u041D\u0430\u0437\u0430\u0434 ({0})","\u041D\u0430\u0437\u0430\u0434"],"vs/platform/quickinput/browser/quickInputList":["\u0411\u044B\u0441\u0442\u0440\u044B\u0439 \u0432\u0432\u043E\u0434"],"vs/platform/quickinput/browser/quickInputUtils":['\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 "{0}"'],"vs/platform/theme/common/colorRegistry":["\u041E\u0431\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F, \u0442\u043E\u043B\u044C\u043A\u043E \u0435\u0441\u043B\u0438 \u0435\u0433\u043E \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442.","\u041E\u0431\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043E\u043D \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u043C.","\u041E\u0431\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0430\u0445. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0435\u0441\u043B\u0438 \u0435\u0433\u043E \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0433\u043E \u043F\u043E\u044F\u0441\u043D\u0435\u043D\u0438\u044F, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0434\u043B\u044F \u043C\u0435\u0442\u043A\u0438.","\u0426\u0432\u0435\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u0437\u043D\u0430\u0447\u043A\u043E\u0432 \u043D\u0430 \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435.","\u041E\u0431\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u0434\u043B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441 \u0444\u043E\u043A\u0443\u0441\u043E\u043C. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D \u0432 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0435.","\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u0433\u0440\u0430\u043D\u0438\u0446\u0430 \u0432\u043E\u043A\u0440\u0443\u0433 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043E\u0442\u0434\u0435\u043B\u044F\u0435\u0442 \u0438\u0445 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u043B\u044F \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u0430.","\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u0433\u0440\u0430\u043D\u0438\u0446\u0430 \u0432\u043E\u043A\u0440\u0443\u0433 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043E\u0442\u0434\u0435\u043B\u044F\u0435\u0442 \u0438\u0445 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u043B\u044F \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0432 \u043F\u043E\u043B\u044F\u0445 \u0432\u0432\u043E\u0434\u0430 \u0438\u043B\u0438 \u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043B\u044F\u0445). \u041D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043A \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0442\u0435\u043A\u0441\u0442\u0443 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0434\u043B\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u0435\u0439 \u0442\u0435\u043A\u0441\u0442\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0441\u044B\u043B\u043E\u043A \u0432 \u0442\u0435\u043A\u0441\u0442\u0435.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0441\u044B\u043B\u043E\u043A \u0432 \u0442\u0435\u043A\u0441\u0442\u0435 \u043F\u0440\u0438 \u0449\u0435\u043B\u0447\u043A\u0435 \u0438 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0444\u043E\u0440\u043C\u0430\u0442\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0431\u043B\u043E\u043A\u043E\u0432 \u0441 \u0446\u0438\u0442\u0430\u0442\u0430\u043C\u0438 \u0432 \u0442\u0435\u043A\u0441\u0442\u0435.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u0434\u043B\u044F \u0431\u043B\u043E\u043A\u043E\u0432 \u0441 \u0446\u0438\u0442\u0430\u0442\u0430\u043C\u0438 \u0432 \u0442\u0435\u043A\u0441\u0442\u0435.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430 \u0432 \u0442\u0435\u043A\u0441\u0442\u0435.",'\u0426\u0432\u0435\u0442 \u0442\u0435\u043D\u0438 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0442\u0430\u043A\u0438\u0445 \u043A\u0430\u043A "\u041D\u0430\u0439\u0442\u0438/\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C".','\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0442\u0430\u043A\u0438\u0445 \u043A\u0430\u043A "\u041D\u0430\u0439\u0442\u0438/\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C".',"\u0424\u043E\u043D \u043F\u043E\u043B\u044F \u0432\u0432\u043E\u0434\u0430.","\u041F\u0435\u0440\u0435\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D \u043F\u043E\u043B\u044F \u0432\u0432\u043E\u0434\u0430.","\u0413\u0440\u0430\u043D\u0438\u0446\u0430 \u043F\u043E\u043B\u044F \u0432\u0432\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0432 \u043F\u043E\u043B\u044F\u0445 \u0432\u0432\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0432 \u043F\u043E\u043B\u044F\u0445 \u0432\u0432\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u043E\u0432\u043E\u0433\u043E \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0432 \u043F\u043E\u043B\u044F\u0445 \u0432\u0432\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0432 \u043F\u043E\u043B\u044F\u0445 \u0432\u0432\u043E\u0434\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u044F\u0441\u043D\u044F\u044E\u0449\u0435\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 \u0432\u0432\u043E\u0434\u0430.",'\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u0421\u0432\u0435\u0434\u0435\u043D\u0438\u044F".','\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u0421\u0432\u0435\u0434\u0435\u043D\u0438\u044F".','\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u0421\u0432\u0435\u0434\u0435\u043D\u0438\u044F".','\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435".','\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435".','\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435".','\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041E\u0448\u0438\u0431\u043A\u0430".','\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041E\u0448\u0438\u0431\u043A\u0430".','\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u0443\u0440\u043E\u0432\u043D\u044F \u0441\u0435\u0440\u044C\u0435\u0437\u043D\u043E\u0441\u0442\u0438 "\u041E\u0448\u0438\u0431\u043A\u0430".',"\u0424\u043E\u043D \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0441\u044F \u0441\u043F\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0441\u044F \u0441\u043F\u0438\u0441\u043A\u0430.","\u041F\u0435\u0440\u0435\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0441\u044F \u0441\u043F\u0438\u0441\u043A\u0430.","\u0413\u0440\u0430\u043D\u0438\u0446\u0430 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0441\u044F \u0441\u043F\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044F \u043A\u043D\u043E\u043F\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043A\u043D\u043E\u043F\u043A\u0438.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u0442\u043E\u0440\u0438\u0447\u043D\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0442\u043E\u0440\u0438\u0447\u043D\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0442\u043E\u0440\u0438\u0447\u043D\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0431\u044D\u0434\u0436\u0430. \u0411\u044D\u0434\u0436\u0438 - \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u0431\u044D\u0434\u0436\u0430. \u0411\u044D\u0434\u0436\u0438 - \u043D\u0435\u0431\u043E\u043B\u044C\u0448\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043D\u0438 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0443\u0435\u0442 \u043E \u0442\u043E\u043C, \u0447\u0442\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u043F\u0440\u043E\u043A\u0440\u0443\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u0440\u0438 \u0449\u0435\u043B\u0447\u043A\u0435 \u043F\u043E \u043D\u0435\u043C\u0443.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u043E\u0436\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0434\u043B\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u043E\u0448\u0438\u0431\u043A\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043E\u0448\u0438\u0431\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E, \u0446\u0432\u0435\u0442 \u0434\u0432\u043E\u0439\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0448\u0438\u0431\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E, \u0446\u0432\u0435\u0442 \u0434\u0432\u043E\u0439\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E, \u0446\u0432\u0435\u0442 \u0434\u0432\u043E\u0439\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0415\u0441\u043B\u0438 \u0437\u0430\u0434\u0430\u043D\u043E, \u0446\u0432\u0435\u0442 \u0434\u0432\u043E\u0439\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u0447\u0435\u0440\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043B\u0435\u043D\u0442.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0441 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435\u043C \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0441 \u0437\u0430\u043B\u0438\u043F\u0430\u043D\u0438\u0435\u043C \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043E\u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0442\u0430\u043A\u0438\u0445 \u043A\u0430\u043A \u043D\u0430\u0439\u0442\u0438/\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C.",'\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430, \u0442\u0430\u043A\u0438\u0445 \u043A\u0430\u043A "\u041F\u043E\u0438\u0441\u043A/\u0437\u0430\u043C\u0435\u043D\u0430".',"\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u0443 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0435\u0441\u0442\u044C \u0433\u0440\u0430\u043D\u0438\u0446\u0430 \u0438 \u0435\u0441\u043B\u0438 \u044D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430. \u042D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u0443 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0435\u0441\u0442\u044C \u0433\u0440\u0430\u043D\u0438\u0446\u0430 \u0434\u043B\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0438 \u0435\u0441\u043B\u0438 \u044D\u0442\u043E\u0442 \u0446\u0432\u0435\u0442 \u043D\u0435 \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430. \u041C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u043E\u043C \u0434\u043B\u044F \u0442\u0430\u043A\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432\u044B\u0431\u043E\u0440\u0430, \u043A\u0430\u043A \u043F\u0430\u043B\u0438\u0442\u0440\u0430 \u043A\u043E\u043C\u0430\u043D\u0434.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430. \u041C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u043E\u043C \u0434\u043B\u044F \u0442\u0430\u043A\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432\u044B\u0431\u043E\u0440\u0430, \u043A\u0430\u043A \u043F\u0430\u043B\u0438\u0442\u0440\u0430 \u043A\u043E\u043C\u0430\u043D\u0434.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430. \u041C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u043E\u043C \u0434\u043B\u044F \u0442\u0430\u043A\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432\u044B\u0431\u043E\u0440\u0430, \u043A\u0430\u043A \u043F\u0430\u043B\u0438\u0442\u0440\u0430 \u043A\u043E\u043C\u0430\u043D\u0434.","\u0426\u0432\u0435\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0434\u043B\u044F \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438 \u043C\u0435\u0442\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0434\u043B\u044F \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438 \u0433\u0440\u0430\u043D\u0438\u0446.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043C\u0435\u0442\u043A\u0438 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448. \u041C\u0435\u0442\u043A\u0430 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0431\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043C\u0435\u0442\u043A\u0438 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448. \u041C\u0435\u0442\u043A\u0430 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0431\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0435\u0442\u043A\u0438 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448. \u041C\u0435\u0442\u043A\u0430 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0431\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448.","\u0426\u0432\u0435\u0442 \u043D\u0438\u0436\u043D\u0435\u0439 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0435\u0442\u043A\u0438 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448. \u041C\u0435\u0442\u043A\u0430 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043C\u043E\u0433\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0431\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u044B\u0441\u043E\u043A\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u0430.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0432 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u0435\u0439, \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u0435\u0442 \u0441 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u043C. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0440\u0435\u0433\u0438\u043E\u043D\u043E\u0432 \u0441 \u0442\u0435\u043C \u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u044B\u043C, \u0447\u0442\u043E \u0438 \u0432 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0438.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430, \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043F\u043E\u0438\u0441\u043A. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430, \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043F\u043E\u0438\u0441\u043A. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0439 \u0434\u043B\u044F \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043F\u043E\u0438\u0441\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u043E\u0438\u0441\u043A\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0432\u044C\u044E\u043B\u0435\u0442\u0430.","\u0412\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u0441\u043B\u043E\u0432\u043E\u043C, \u0434\u043B\u044F \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043C\u0435\u043D\u044E \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043D\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0426\u0432\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u0441\u0441\u044B\u043B\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0434\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u043E\u0432","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0434\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u043E\u0432","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432","\u0426\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0437\u043D\u0430\u0447\u043A\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432 \u043C\u0435\u043D\u044E \u043B\u0430\u043C\u043F\u043E\u0447\u043A\u0438.","\u0426\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0437\u043D\u0430\u0447\u043A\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432 \u043C\u0435\u043D\u044E \u043B\u0430\u043C\u043F\u043E\u0447\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043A\u0441\u0442\u0430. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u043E\u043B\u044F, \u0433\u0434\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B \u0441\u0442\u0440\u043E\u043A\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043F\u043E\u043B\u044F, \u0433\u0434\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u044B \u0441\u0442\u0440\u043E\u043A\u0438.","\u041F\u0435\u0440\u0435\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u0439 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E.","\u041F\u0435\u0440\u0435\u0434\u043D\u0438\u0439 \u043F\u043B\u0430\u043D \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0440\u0430\u0437\u043B\u0438\u0447\u0438\u0439 \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043C\u044F \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430\u043C\u0438.","\u0426\u0432\u0435\u0442 \u0434\u0438\u0430\u0433\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0437\u0430\u043B\u0438\u0432\u043A\u0438 \u0434\u043B\u044F \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439. \u0414\u0438\u0430\u0433\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0437\u0430\u043B\u0438\u0432\u043A\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432 \u0440\u0430\u0437\u043C\u0435\u0449\u0430\u0435\u043C\u044B\u0445 \u0440\u044F\u0434\u043E\u043C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u0434\u0430 \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435 \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C\xA0\u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D \u0438 \u0432\u044B\u0431\u0440\u0430\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0437\u043D\u0430\u0447\u043A\u0430 \u0441\u043F\u0438\u0441\u043A\u0430 \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u0430 \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u043A\u043E\u0433\u0434\u0430 \u0441\u043F\u0438\u0441\u043E\u043A \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u043D\u044B. \u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u043E \u043D\u0430\u0445\u043E\u0434\u044F\u0442\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u2014 \u043D\u0435\u0442.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0437\u043D\u0430\u0447\u043A\u0430 \u0441\u043F\u0438\u0441\u043A\u0430 \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u0430 \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u043A\u043E\u0433\u0434\u0430 \u0441\u043F\u0438\u0441\u043E\u043A \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u043E \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B. \u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A \u0438\u043B\u0438 \u0434\u0435\u0440\u0435\u0432\u043E \u043D\u0430\u0445\u043E\u0434\u044F\u0442\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u2014 \u043D\u0435\u0442.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u043D\u0435 \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u2014 \u043D\u0435\u0442.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 List/Tree, \u043A\u043E\u0433\u0434\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 List/Tree \u043D\u0435 \u0430\u043A\u0442\u0438\u0432\u0435\u043D. \u041D\u0430 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0435 List/Tree \u0435\u0441\u0442\u044C \u0444\u043E\u043A\u0443\u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B, \u043D\u0430 \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u043C\xA0\u2014 \u043D\u0435\u0442.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 List/Tree \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 List/Tree \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043A\u0443\u0440\u0441\u043E\u0440\u0430 \u043C\u044B\u0448\u0438.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 List/Tree \u043F\u0440\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0438 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043C\u044B\u0448\u0438.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u043F\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0443 List/Tree.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u043F\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0443 List/Tree.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0441\u043F\u0438\u0441\u043A\u0430/\u0434\u0435\u0440\u0435\u0432\u0430 \u0434\u043B\u044F \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0434\u043B\u044F \u043D\u0435\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u0440\u043D\u0435\u0432\u043E\u0433\u043E \u0443\u0437\u043B\u0430 \u0432 \u043F\u0440\u043E\u0432\u043E\u0434\u043D\u0438\u043A\u0435.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u043E\u0448\u0438\u0431\u043A\u0438.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430 \u0442\u0438\u043F\u043E\u0432 \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430 \u0442\u0438\u043F\u043E\u0432 \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445.","\u0426\u0432\u0435\u0442 \u043A\u043E\u043D\u0442\u0443\u0440\u0430 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430 \u0442\u0438\u043F\u043E\u0432 \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445 \u043F\u0440\u0438 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u0442\u0435\u043D\u0438 \u0434\u043B\u044F \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430 \u0442\u0438\u043F\u043E\u0432 \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445 \u0438 \u0434\u0435\u0440\u0435\u0432\u044C\u044F\u0445.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0448\u0442\u0440\u0438\u0445\u0430 \u0434\u0435\u0440\u0435\u0432\u0430 \u0434\u043B\u044F \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0426\u0432\u0435\u0442 \u0448\u0442\u0440\u0438\u0445\u0430 \u0434\u0435\u0440\u0435\u0432\u0430 \u0434\u043B\u044F \u043D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0449\u0438\u0445 \u043E\u0442\u0441\u0442\u0443\u043F\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043C\u0435\u0436\u0434\u0443 \u0441\u0442\u043E\u043B\u0431\u0446\u0430\u043C\u0438.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u043D\u0435\u0447\u0435\u0442\u043D\u044B\u0445 \u0441\u0442\u0440\u043E\u043A \u0442\u0430\u0431\u043B\u0438\u0446\u044B.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435/\u0434\u0435\u0440\u0435\u0432\u0435 \u0434\u043B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432, \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u043B\u0430\u0436\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0444\u043B\u0430\u0436\u043A\u0430 \u043F\u0440\u0438 \u0432\u044B\u0431\u043E\u0440\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u043E\u043D \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u043B\u0430\u0436\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0444\u043B\u0430\u0436\u043A\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0444\u043B\u0430\u0436\u043A\u0430, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B\u0431\u0440\u0430\u043D \u044D\u043B\u0435\u043C\u0435\u043D\u0442, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u043E\u043D \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F.","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C quickInputList.focusBackground.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0434\u043B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0444\u043E\u043A\u0443\u0441.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0437\u043D\u0430\u0447\u043A\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0434\u043B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0444\u043E\u043A\u0443\u0441.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u0432\u044B\u0431\u043E\u0440\u0430 \u0434\u043B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0444\u043E\u043A\u0443\u0441.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043F\u0443\u043D\u043A\u0442\u043E\u0432 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u0443\u043D\u043A\u0442\u043E\u0432 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u043F\u0443\u043D\u043A\u0442\u0430 \u043C\u0435\u043D\u044E \u0432 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u043F\u0443\u043D\u043A\u0442\u0430 \u0432 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u043F\u0443\u043D\u043A\u0442\u0430 \u0432 \u043C\u0435\u043D\u044E.","\u0426\u0432\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044F \u043C\u0435\u043D\u044E \u0432 \u043C\u0435\u043D\u044E.","\u0424\u043E\u043D \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043C\u044B\u0448\u0438 \u043D\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F","\u041A\u043E\u043D\u0442\u0443\u0440 \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043C\u044B\u0448\u0438 \u043D\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F","\u0424\u043E\u043D \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0438 \u0443\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0438 \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F \u043C\u044B\u0448\u0438 \u043D\u0430\u0434 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430.","\u0412\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0446\u0432\u0435\u0442\u043E\u043C \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430.","\u0426\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438, \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0438\u0445\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438.","\u0426\u0432\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438, \u043D\u0430\u0445\u043E\u0434\u044F\u0449\u0438\u0445\u0441\u044F \u0432 \u0444\u043E\u043A\u0443\u0441\u0435.","\u0426\u0432\u0435\u0442 \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438.","\u0424\u043E\u043D\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0432\u044B\u0431\u043E\u0440\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438.","\u0422\u0435\u043A\u0443\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u043F\u0440\u0438 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0424\u043E\u043D \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u043F\u0440\u0438 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0424\u043E\u043D \u0432\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u043F\u0440\u0438 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0424\u043E\u043D \u0432\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u043F\u0440\u0438 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0424\u043E\u043D \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u043E\u0431\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043A\u0430 \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0424\u043E\u043D \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u043E\u0431\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043A\u0430 \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0438 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044F \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u043E\u043A\u043D\u0430 \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0432\u0445\u043E\u0434\u044F\u0449\u0435\u0433\u043E \u043E\u043A\u043D\u0430 \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u0434\u043B\u044F \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u0433\u043E \u043F\u0440\u0435\u0434\u043A\u0430 \u0432\u043E \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0430\u0445 \u0441\u043B\u0438\u044F\u043D\u0438\u044F. ","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u041C\u0430\u0440\u043A\u0435\u0440 \u043E\u0431\u0437\u043E\u0440\u043D\u043E\u0439 \u043B\u0438\u043D\u0435\u0439\u043A\u0438 \u0434\u043B\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430. \u0426\u0432\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043D\u0435\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0438\u0436\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043D\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0435 \u0434\u043B\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043C\u0438\u043D\u0438\u043A\u0430\u0440\u0442\u044B \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0439.","\u0426\u0432\u0435\u0442 \u043C\u0430\u0440\u043A\u0435\u0440\u0430 \u043C\u0438\u043D\u0438\u043A\u0430\u0440\u0442\u044B \u0434\u043B\u044F \u043E\u0448\u0438\u0431\u043E\u043A.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B.",'\u041F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u0430\u044F \u0433\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u0435. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "#000000c0" \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441 \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u044C\u044E 75%.',"\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043D\u0430 \u043D\u0435\u0433\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F.","\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430 \u043F\u043E\u043B\u0437\u0443\u043D\u043A\u0430 \u043C\u0438\u043D\u0438-\u043A\u0430\u0440\u0442\u044B \u043F\u0440\u0438 \u0435\u0433\u043E \u0449\u0435\u043B\u0447\u043A\u0435.","\u0426\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0437\u043D\u0430\u0447\u043A\u0430 \u043E\u0448\u0438\u0431\u043A\u0438, \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043F\u0440\u043E\u0431\u043B\u0435\u043C.","\u0426\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u043D\u0430\u0447\u043A\u0430, \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043F\u0440\u043E\u0431\u043B\u0435\u043C.","\u0426\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u043A\u0430, \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043F\u0440\u043E\u0431\u043B\u0435\u043C.","\u0426\u0432\u0435\u0442 \u043F\u0435\u0440\u0435\u0434\u043D\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0445.","\u0426\u0432\u0435\u0442 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u044B\u0445 \u043B\u0438\u043D\u0438\u0439 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0445.","\u041A\u0440\u0430\u0441\u043D\u044B\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C.","\u0421\u0438\u043D\u0438\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C.","\u0416\u0435\u043B\u0442\u044B\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C.","\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C.","\u0417\u0435\u043B\u0435\u043D\u044B\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C.","\u041B\u0438\u043B\u043E\u0432\u044B\u0439 \u0446\u0432\u0435\u0442, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432 \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C."],"vs/platform/theme/common/iconRegistry":["\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E \u0448\u0440\u0438\u0444\u0442\u0430. \u0415\u0441\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u043D\u0435 \u0437\u0430\u0434\u0430\u043D, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0448\u0440\u0438\u0444\u0442, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0439 \u043F\u0435\u0440\u0432\u044B\u043C.","\u0421\u0438\u043C\u0432\u043E\u043B \u0448\u0440\u0438\u0444\u0442\u0430, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0439 \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043C \u0437\u043D\u0430\u0447\u043A\u0430.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u0432 \u043C\u0438\u043D\u0438-\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435.","\u0417\u043D\u0430\u0447\u043E\u043A \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435."],"vs/platform/undoRedo/common/undoRedoService":["\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0444\u0430\u0439\u043B\u044B \u0431\u044B\u043B\u0438 \u0437\u0430\u043A\u0440\u044B\u0442\u044B \u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u043D\u0430 \u0434\u0438\u0441\u043A\u0435: {0}.","\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0444\u0430\u0439\u043B\u044B \u0431\u044B\u043B\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B \u043D\u0435\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u044B\u043C \u043E\u0431\u0440\u0430\u0437\u043E\u043C: {0}.",'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432. {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432. {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0431\u044B\u043B\u0438 \u0432\u043D\u0435\u0441\u0435\u043D\u044B \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0432 {1} \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u043B\u0430\u0441\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F','\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432?',"&&\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 {0}","\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u044D\u0442\u043E\u0442 &&\u0444\u0430\u0439\u043B",'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}", \u0442\u0430\u043A \u043A\u0430\u043A \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F','\u0412\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C "{0}"?',"&&\u0414\u0430","\u041D\u0435\u0442",'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432. {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432. {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0431\u044B\u043B\u0438 \u0432\u043D\u0435\u0441\u0435\u043D\u044B \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 {1}','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0434\u043B\u044F {1} \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F.','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}" \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043B\u043E\u0432, \u0442\u0430\u043A \u043A\u0430\u043A \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u043B\u0430\u0441\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F','\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 "{0}", \u0442\u0430\u043A \u043A\u0430\u043A \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u043B\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F'],"vs/platform/workspace/common/workspace":["\u0420\u0430\u0431\u043E\u0447\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u043A\u043E\u0434\u0430"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.ru.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-cn.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-cn.js new file mode 100644 index 0000000..e5d8cbf --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-cn.js @@ -0,0 +1,31 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.zh-cn",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["\u8F93\u5165"],"vs/base/browser/ui/findinput/findInputToggles":["\u533A\u5206\u5927\u5C0F\u5199","\u5168\u5B57\u5339\u914D","\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F"],"vs/base/browser/ui/findinput/replaceInput":["\u8F93\u5165","\u4FDD\u7559\u5927\u5C0F\u5199"],"vs/base/browser/ui/hover/hoverWidget":["\u5728\u8F85\u52A9\u89C6\u56FE\u4E2D\u7528 {0} \u68C0\u67E5\u6B64\u9879\u3002","\u901A\u8FC7\u547D\u4EE4\u201C\u6253\u5F00\u8F85\u52A9\u89C6\u56FE\u201D\u5728\u8F85\u52A9\u89C6\u56FE\u4E2D\u68C0\u67E5\u6B64\u9879\uFF0C\u8BE5\u547D\u4EE4\u5F53\u524D\u65E0\u6CD5\u901A\u8FC7\u952E\u7ED1\u5B9A\u89E6\u53D1\u3002"],"vs/base/browser/ui/iconLabel/iconLabelHover":["\u6B63\u5728\u52A0\u8F7D\u2026"],"vs/base/browser/ui/inputbox/inputBox":["\u9519\u8BEF: {0}","\u8B66\u544A: {0}","\u4FE1\u606F: {0}","\u5BF9\u4E8E\u5386\u53F2\u8BB0\u5F55","\u6E05\u9664\u7684\u8F93\u5165"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["\u672A\u7ED1\u5B9A"],"vs/base/browser/ui/selectBox/selectBoxCustom":["\u9009\u62E9\u6846"],"vs/base/browser/ui/toolbar/toolbar":["\u66F4\u591A\u64CD\u4F5C..."],"vs/base/browser/ui/tree/abstractTree":["\u7B5B\u9009\u5668","\u6A21\u7CCA\u5339\u914D","\u8981\u7B5B\u9009\u7684\u7C7B\u578B","\u8981\u641C\u7D22\u7684\u7C7B\u578B","\u8981\u641C\u7D22\u7684\u7C7B\u578B","\u5173\u95ED","\u672A\u627E\u5230\u5143\u7D20\u3002"],"vs/base/common/actions":["(\u7A7A)"],"vs/base/common/errorMessage":["{0}: {1}","\u53D1\u751F\u4E86\u7CFB\u7EDF\u9519\u8BEF ({0})","\u51FA\u73B0\u672A\u77E5\u9519\u8BEF\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F\uFF0C\u8BF7\u53C2\u9605\u65E5\u5FD7\u3002","\u51FA\u73B0\u672A\u77E5\u9519\u8BEF\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F\uFF0C\u8BF7\u53C2\u9605\u65E5\u5FD7\u3002","{0} \u4E2A(\u5171 {1} \u4E2A\u9519\u8BEF)","\u51FA\u73B0\u672A\u77E5\u9519\u8BEF\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F\uFF0C\u8BF7\u53C2\u9605\u65E5\u5FD7\u3002"],"vs/base/common/keybindingLabels":["Ctrl","Shift","Alt","Windows","Ctrl","Shift","Alt","\u8D85\u952E","Control","Shift","\u9009\u9879","Command","Control","Shift","Alt","Windows","Control","Shift","Alt","\u8D85\u952E"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\u7F16\u8F91\u5668","\u73B0\u5728\u65E0\u6CD5\u8BBF\u95EE\u7F16\u8F91\u5668\u3002","{0} \u82E5\u8981\u542F\u7528\u5C4F\u5E55\u9605\u8BFB\u5668\u4F18\u5316\u6A21\u5F0F\uFF0C\u8BF7\u4F7F\u7528 {1}","{0} \u82E5\u8981\u542F\u7528\u5C4F\u5E55\u9605\u8BFB\u5668\u4F18\u5316\u6A21\u5F0F\uFF0C\u8BF7\u4F7F\u7528 {1} \u6253\u5F00\u5FEB\u901F\u9009\u53D6\uFF0C\u7136\u540E\u8FD0\u884C\u201C\u5207\u6362\u5C4F\u5E55\u9605\u8BFB\u5668\u8F85\u52A9\u529F\u80FD\u6A21\u5F0F\u201D\u547D\u4EE4\uFF1B\u5F53\u524D\u65E0\u6CD5\u901A\u8FC7\u952E\u76D8\u89E6\u53D1\u6B64\u547D\u4EE4\u3002","{0} \u8BF7\u901A\u8FC7\u4F7F\u7528 {1} \u8BBF\u95EE\u952E\u7ED1\u5B9A\u7F16\u8F91\u5668\u5E76\u8FD0\u884C\u5B83\uFF0C\u4E3A\u201C\u5207\u6362\u5C4F\u5E55\u9605\u8BFB\u5668\u8F85\u52A9\u529F\u80FD\u6A21\u5F0F\u201D\u547D\u4EE4\u5206\u914D\u952E\u7ED1\u5B9A\u3002"],"vs/editor/browser/coreCommands":["\u5373\u4F7F\u8F6C\u5230\u8F83\u957F\u7684\u884C\uFF0C\u4E5F\u4E00\u76F4\u5230\u672B\u5C3E","\u5373\u4F7F\u8F6C\u5230\u8F83\u957F\u7684\u884C\uFF0C\u4E5F\u4E00\u76F4\u5230\u672B\u5C3E","\u5DF2\u5220\u9664\u8F85\u52A9\u6E38\u6807"],"vs/editor/browser/editorExtensions":["\u64A4\u6D88(&&U)","\u64A4\u6D88","\u6062\u590D(&&R)","\u6062\u590D","\u5168\u9009(&&S)","\u9009\u62E9\u5168\u90E8"],"vs/editor/browser/widget/codeEditorWidget":["\u5DF2\u5C06\u5149\u6807\u6570\u9650\u5236\u4E3A {0}\u3002\u8BF7\u8003\u8651\u4F7F\u7528 [\u67E5\u627E\u548C\u66FF\u6362](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace)\u8FDB\u884C\u8F83\u5927\u7684\u66F4\u6539\u6216\u589E\u52A0\u7F16\u8F91\u5668\u591A\u5149\u6807\u9650\u5236\u8BBE\u7F6E\u3002","\u589E\u52A0\u591A\u5149\u6807\u9650\u5236"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["\u53EF\u8BBF\u95EE\u5DEE\u5F02\u67E5\u770B\u5668\u4E2D\u201C\u63D2\u5165\u201D\u7684\u56FE\u6807\u3002","\u53EF\u8BBF\u95EE\u5DEE\u5F02\u67E5\u770B\u5668\u4E2D\u201C\u5220\u9664\u201D\u7684\u56FE\u6807\u3002","\u53EF\u8BBF\u95EE\u5DEE\u5F02\u67E5\u770B\u5668\u4E2D\u201C\u5173\u95ED\u201D\u7684\u56FE\u6807\u3002","\u5173\u95ED","\u53EF\u8BBF\u95EE\u7684\u5DEE\u5F02\u67E5\u770B\u5668\u3002\u4F7F\u7528\u5411\u4E0A\u548C\u5411\u4E0B\u7BAD\u5934\u5BFC\u822A\u3002","\u672A\u66F4\u6539\u884C","\u66F4\u6539\u4E86 1 \u884C","\u66F4\u6539\u4E86 {0} \u884C","\u5DEE\u5F02 {0}/ {1}: \u539F\u59CB\u884C {2}\uFF0C{3}\uFF0C\u4FEE\u6539\u540E\u7684\u884C {4}\uFF0C{5}","\u7A7A\u767D","{0} \u672A\u66F4\u6539\u7684\u884C {1}","{0}\u539F\u59CB\u884C{1}\u4FEE\u6539\u7684\u884C{2}","+ {0}\u4FEE\u6539\u7684\u884C{1}","- {0}\u539F\u59CB\u884C{1}"],"vs/editor/browser/widget/diffEditor/colors":["\u5728\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u79FB\u52A8\u7684\u6587\u672C\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5728\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u79FB\u52A8\u7684\u6587\u672C\u7684\u6D3B\u52A8\u8FB9\u6846\u989C\u8272\u3002"],"vs/editor/browser/widget/diffEditor/decorations":["\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u63D2\u5165\u9879\u7684\u7EBF\u6761\u4FEE\u9970\u3002","\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u5220\u9664\u9879\u7684\u7EBF\u6761\u4FEE\u9970\u3002","\u5355\u51FB\u4EE5\u8FD8\u539F\u66F4\u6539"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["\u5207\u6362\u6298\u53E0\u672A\u66F4\u6539\u7684\u533A\u57DF","\u5207\u6362\u663E\u793A\u79FB\u52A8\u7684\u4EE3\u7801\u5757","\u5728\u7A7A\u95F4\u53D7\u9650\u65F6\u5207\u6362\u4F7F\u7528\u5185\u8054\u89C6\u56FE","\u7A7A\u95F4\u53D7\u9650\u65F6\u4F7F\u7528\u5185\u8054\u89C6\u56FE","\u663E\u793A\u79FB\u52A8\u7684\u4EE3\u7801\u5757","\u5DEE\u5F02\u7F16\u8F91\u5668","\u5207\u6362\u4FA7\u9762","\u9000\u51FA\u6BD4\u8F83\u79FB\u52A8","\u6298\u53E0\u6240\u6709\u672A\u66F4\u6539\u7684\u533A\u57DF","\u663E\u793A\u6240\u6709\u672A\u66F4\u6539\u7684\u533A\u57DF","\u53EF\u8BBF\u95EE\u7684\u5DEE\u5F02\u67E5\u770B\u5668","\u8F6C\u81F3\u4E0B\u4E00\u4E2A\u5DEE\u5F02","\u6253\u5F00\u53EF\u8BBF\u95EE\u5DEE\u5F02\u67E5\u770B\u5668","\u8F6C\u81F3\u4E0A\u4E00\u4E2A\u5DEE\u5F02"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" \u4F7F\u7528 {0} \u6253\u5F00\u8F85\u52A9\u529F\u80FD\u5E2E\u52A9\u3002"],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["\u6298\u53E0\u672A\u66F4\u6539\u7684\u533A\u57DF","\u5355\u51FB\u6216\u62D6\u52A8\u53EF\u5728\u4E0A\u9762\u663E\u793A\u66F4\u591A\u5185\u5BB9","\u5168\u90E8\u663E\u793A","\u5355\u51FB\u6216\u62D6\u52A8\u53EF\u5728\u4E0B\u65B9\u663E\u793A\u66F4\u591A\u5185\u5BB9","{0} \u4E2A\u9690\u85CF\u7684\u884C","\u53CC\u51FB\u5C55\u5F00"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["\u590D\u5236\u5DF2\u5220\u9664\u7684\u884C","\u590D\u5236\u5DF2\u5220\u9664\u7684\u884C","\u590D\u5236\u66F4\u6539\u7684\u884C","\u590D\u5236\u66F4\u6539\u7684\u884C","\u590D\u5236\u5DF2\u5220\u9664\u7684\u884C({0})","\u590D\u5236\u66F4\u6539\u7684\u884C({0})","\u8FD8\u539F\u6B64\u66F4\u6539"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["\u4EE3\u7801\u5DF2\u79FB\u52A8\u81F3\u884C {0}-{1}\uFF0C\u6709\u66F4\u6539","\u4EE3\u7801\u5DF2\u4ECE\u884C {0}-{1} \u79FB\u52A8\uFF0C\u6709\u66F4\u6539","\u4EE3\u7801\u5DF2\u79FB\u52A8\u5230\u884C {0} {1}","\u4EE3\u7801\u5DF2\u4ECE\u884C {0}-{1} \u79FB\u52A8"],"vs/editor/common/config/editorConfigurationSchema":["\u7F16\u8F91\u5668","\u4E00\u4E2A\u5236\u8868\u7B26\u7B49\u4E8E\u7684\u7A7A\u683C\u6570\u3002\u5F53 {0} \u6253\u5F00\u65F6\uFF0C\u5C06\u6839\u636E\u6587\u4EF6\u5185\u5BB9\u66FF\u4EE3\u6B64\u8BBE\u7F6E\u3002",'\u7528\u4E8E\u7F29\u8FDB\u6216 `"tabSize"` \u7684\u7A7A\u683C\u6570\uFF0C\u53EF\u4F7F\u7528 `#editor.tabSize#` \u4E2D\u7684\u503C\u3002\u5F53 `#editor.detectIndentation#` \u5904\u4E8E\u6253\u5F00\u72B6\u6001\u65F6\uFF0C\u5C06\u6839\u636E\u6587\u4EF6\u5185\u5BB9\u66FF\u4EE3\u6B64\u8BBE\u7F6E\u3002',"\u6309 `Tab` \u65F6\u63D2\u5165\u7A7A\u683C\u3002\u5F53 {0} \u6253\u5F00\u65F6\uFF0C\u5C06\u6839\u636E\u6587\u4EF6\u5185\u5BB9\u66FF\u4EE3\u6B64\u8BBE\u7F6E\u3002","\u63A7\u5236\u5728\u57FA\u4E8E\u6587\u4EF6\u5185\u5BB9\u6253\u5F00\u6587\u4EF6\u65F6\u662F\u5426\u81EA\u52A8\u68C0\u6D4B {0} \u548C {1}\u3002","\u5220\u9664\u81EA\u52A8\u63D2\u5165\u7684\u5C3E\u968F\u7A7A\u767D\u7B26\u53F7\u3002","\u5BF9\u5927\u578B\u6587\u4EF6\u8FDB\u884C\u7279\u6B8A\u5904\u7406\uFF0C\u7981\u7528\u67D0\u4E9B\u5185\u5B58\u5BC6\u96C6\u578B\u529F\u80FD\u3002","\u63A7\u5236\u662F\u5426\u6839\u636E\u6587\u6863\u4E2D\u7684\u5B57\u8BCD\u8BA1\u7B97\u81EA\u52A8\u8865\u5168\u5217\u8868\u3002","\u4EC5\u5EFA\u8BAE\u6D3B\u52A8\u6587\u6863\u4E2D\u7684\u5B57\u8BCD\u3002","\u5EFA\u8BAE\u4F7F\u7528\u540C\u4E00\u8BED\u8A00\u7684\u6240\u6709\u6253\u5F00\u7684\u6587\u6863\u4E2D\u7684\u5B57\u8BCD\u3002","\u5EFA\u8BAE\u6240\u6709\u6253\u5F00\u7684\u6587\u6863\u4E2D\u7684\u5B57\u8BCD\u3002","\u63A7\u5236\u901A\u8FC7\u54EA\u4E9B\u6587\u6863\u8BA1\u7B97\u57FA\u4E8E\u5B57\u8BCD\u7684\u8865\u5168\u3002","\u5BF9\u6240\u6709\u989C\u8272\u4E3B\u9898\u542F\u7528\u8BED\u4E49\u7A81\u51FA\u663E\u793A\u3002","\u5BF9\u6240\u6709\u989C\u8272\u4E3B\u9898\u7981\u7528\u8BED\u4E49\u7A81\u51FA\u663E\u793A\u3002",'\u8BED\u4E49\u7A81\u51FA\u663E\u793A\u662F\u7531\u5F53\u524D\u989C\u8272\u4E3B\u9898\u7684 "semanticHighlighting" \u8BBE\u7F6E\u914D\u7F6E\u7684\u3002',"\u63A7\u5236\u662F\u5426\u4E3A\u652F\u6301\u5B83\u7684\u8BED\u8A00\u663E\u793A\u8BED\u4E49\u7A81\u51FA\u663E\u793A\u3002","\u4FDD\u6301\u901F\u89C8\u7F16\u8F91\u5668\u5904\u4E8E\u6253\u5F00\u72B6\u6001\uFF0C\u5373\u4F7F\u53CC\u51FB\u5176\u4E2D\u7684\u5185\u5BB9\u6216\u8005\u70B9\u51FB `Escape` \u952E\u4E5F\u662F\u5982\u6B64\u3002","\u7531\u4E8E\u6027\u80FD\u539F\u56E0\uFF0C\u8D85\u8FC7\u8FD9\u4E2A\u957F\u5EA6\u7684\u884C\u5C06\u4E0D\u4F1A\u88AB\u6807\u8BB0","\u63A7\u5236\u662F\u5426\u5E94\u5728 Web \u8F85\u52A9\u8FDB\u7A0B\u4E0A\u5F02\u6B65\u8FDB\u884C\u6807\u8BB0\u5316\u3002","\u63A7\u5236\u662F\u5426\u5E94\u8BB0\u5F55\u5F02\u6B65\u8BCD\u6C47\u5207\u5206\u3002\u4EC5\u7528\u4E8E\u8C03\u8BD5\u3002","\u63A7\u5236\u662F\u5426\u5E94\u5BF9\u65E7\u7248\u540E\u53F0\u4EE4\u724C\u5316\u9A8C\u8BC1\u5F02\u6B65\u4EE4\u724C\u5316\u3002\u53EF\u80FD\u4F1A\u51CF\u6162\u4EE4\u724C\u5316\u901F\u5EA6\u3002\u4EC5\u7528\u4E8E\u8C03\u8BD5\u3002","\u5B9A\u4E49\u589E\u52A0\u548C\u51CF\u5C11\u7F29\u8FDB\u7684\u62EC\u53F7\u3002","\u5DE6\u65B9\u62EC\u53F7\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u5E8F\u5217\u3002","\u53F3\u65B9\u62EC\u53F7\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u5E8F\u5217\u3002","\u5982\u679C\u542F\u7528\u65B9\u62EC\u53F7\u5BF9\u7740\u8272\uFF0C\u5219\u6309\u7167\u5176\u5D4C\u5957\u7EA7\u522B\u5B9A\u4E49\u5DF2\u7740\u8272\u7684\u65B9\u62EC\u53F7\u5BF9\u3002","\u5DE6\u65B9\u62EC\u53F7\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u5E8F\u5217\u3002","\u53F3\u65B9\u62EC\u53F7\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u5E8F\u5217\u3002","\u8D85\u65F6(\u4EE5\u6BEB\u79D2\u4E3A\u5355\u4F4D)\uFF0C\u4E4B\u540E\u5C06\u53D6\u6D88\u5DEE\u5F02\u8BA1\u7B97\u3002\u4F7F\u75280\u8868\u793A\u6CA1\u6709\u8D85\u65F6\u3002","\u8981\u4E3A\u5176\u8BA1\u7B97\u5DEE\u5F02\u7684\u6700\u5927\u6587\u4EF6\u5927\u5C0F(MB)\u3002\u4F7F\u7528 0 \u8868\u793A\u65E0\u9650\u5236\u3002","\u63A7\u5236\u5DEE\u5F02\u7F16\u8F91\u5668\u7684\u663E\u793A\u65B9\u5F0F\u662F\u5E76\u6392\u8FD8\u662F\u5185\u8054\u3002","\u5982\u679C\u5DEE\u5F02\u7F16\u8F91\u5668\u5BBD\u5EA6\u5C0F\u4E8E\u6B64\u503C\uFF0C\u5219\u4F7F\u7528\u5185\u8054\u89C6\u56FE\u3002","\u5982\u679C\u542F\u7528\u5E76\u4E14\u7F16\u8F91\u5668\u5BBD\u5EA6\u592A\u5C0F\uFF0C\u5219\u4F7F\u7528\u5185\u8054\u89C6\u56FE\u3002","\u542F\u7528\u540E\uFF0C\u5DEE\u5F02\u7F16\u8F91\u5668\u4F1A\u5728\u5176\u5B57\u5F62\u8FB9\u8DDD\u4E2D\u663E\u793A\u7BAD\u5934\u4EE5\u8FD8\u539F\u66F4\u6539\u3002","\u542F\u7528\u540E\uFF0C\u5DEE\u5F02\u7F16\u8F91\u5668\u5C06\u5FFD\u7565\u524D\u5BFC\u7A7A\u683C\u6216\u5C3E\u968F\u7A7A\u683C\u4E2D\u7684\u66F4\u6539\u3002","\u63A7\u5236\u5DEE\u5F02\u7F16\u8F91\u5668\u662F\u5426\u4E3A\u6DFB\u52A0/\u5220\u9664\u7684\u66F4\u6539\u663E\u793A +/- \u6307\u793A\u7B26\u53F7\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u663E\u793A CodeLens\u3002","\u6C38\u4E0D\u6362\u884C\u3002","\u5C06\u5728\u89C6\u533A\u5BBD\u5EA6\u5904\u6362\u884C\u3002","\u884C\u5C06\u6839\u636E {0} \u8BBE\u7F6E\u8FDB\u884C\u6362\u884C\u3002","\u4F7F\u7528\u65E7\u5DEE\u5F02\u7B97\u6CD5\u3002","\u4F7F\u7528\u9AD8\u7EA7\u5DEE\u5F02\u7B97\u6CD5\u3002","\u63A7\u5236\u5DEE\u5F02\u7F16\u8F91\u5668\u662F\u5426\u663E\u793A\u672A\u66F4\u6539\u7684\u533A\u57DF\u3002","\u63A7\u5236\u7528\u4E8E\u672A\u66F4\u6539\u533A\u57DF\u7684\u884C\u6570\u3002","\u63A7\u5236\u5C06\u591A\u5C11\u884C\u7528\u4F5C\u672A\u66F4\u6539\u533A\u57DF\u7684\u6700\u5C0F\u503C\u3002","\u63A7\u5236\u5728\u6BD4\u8F83\u672A\u6539\u53D8\u7684\u533A\u57DF\u65F6\u4F7F\u7528\u591A\u5C11\u884C\u4F5C\u4E3A\u4E0A\u4E0B\u6587\u3002","\u63A7\u5236\u5DEE\u5F02\u7F16\u8F91\u5668\u662F\u5426\u5E94\u663E\u793A\u68C0\u6D4B\u5230\u7684\u4EE3\u7801\u79FB\u52A8\u3002","\u63A7\u5236\u5DEE\u5F02\u7F16\u8F91\u5668\u662F\u5426\u663E\u793A\u7A7A\u4FEE\u9970\uFF0C\u4EE5\u67E5\u770B\u63D2\u5165\u6216\u5220\u9664\u5B57\u7B26\u7684\u4F4D\u7F6E\u3002"],"vs/editor/common/config/editorOptions":["\u8FDE\u63A5\u5C4F\u5E55\u9605\u8BFB\u5668\u540E\u4F7F\u7528\u5E73\u53F0 API \u8FDB\u884C\u68C0\u6D4B","\u9488\u5BF9\u5C4F\u5E55\u9605\u8BFB\u5668\u7684\u4F7F\u7528\u8FDB\u884C\u4F18\u5316","\u5047\u5B9A\u672A\u8FDE\u63A5\u5C4F\u5E55\u9605\u8BFB\u5668","\u63A7\u5236 UI \u662F\u5426\u5E94\u5728\u5DF2\u9488\u5BF9\u5C4F\u5E55\u9605\u8BFB\u5668\u8FDB\u884C\u4F18\u5316\u7684\u6A21\u5F0F\u4E0B\u8FD0\u884C\u3002","\u63A7\u5236\u5728\u6CE8\u91CA\u65F6\u662F\u5426\u63D2\u5165\u7A7A\u683C\u5B57\u7B26\u3002","\u63A7\u5236\u5728\u5BF9\u884C\u6CE8\u91CA\u6267\u884C\u5207\u6362\u3001\u6DFB\u52A0\u6216\u5220\u9664\u64CD\u4F5C\u65F6\uFF0C\u662F\u5426\u5E94\u5FFD\u7565\u7A7A\u884C\u3002","\u63A7\u5236\u5728\u6CA1\u6709\u9009\u62E9\u5185\u5BB9\u65F6\u8FDB\u884C\u590D\u5236\u662F\u5426\u590D\u5236\u5F53\u524D\u884C\u3002","\u63A7\u5236\u5728\u952E\u5165\u65F6\u5149\u6807\u662F\u5426\u5E94\u8DF3\u8F6C\u4EE5\u67E5\u627E\u5339\u914D\u9879\u3002","\u5207\u52FF\u4E3A\u7F16\u8F91\u5668\u9009\u62E9\u4E2D\u7684\u641C\u7D22\u5B57\u7B26\u4E32\u8BBE\u5B9A\u79CD\u5B50\u3002","\u59CB\u7EC8\u4E3A\u7F16\u8F91\u5668\u9009\u62E9\u4E2D\u7684\u641C\u7D22\u5B57\u7B26\u4E32\u8BBE\u5B9A\u79CD\u5B50\uFF0C\u5305\u62EC\u5149\u6807\u4F4D\u7F6E\u7684\u5B57\u8BCD\u3002","\u4EC5\u4E3A\u7F16\u8F91\u5668\u9009\u62E9\u4E2D\u7684\u641C\u7D22\u5B57\u7B26\u4E32\u8BBE\u5B9A\u79CD\u5B50\u3002","\u63A7\u5236\u662F\u5426\u5C06\u7F16\u8F91\u5668\u9009\u4E2D\u5185\u5BB9\u4F5C\u4E3A\u641C\u7D22\u8BCD\u586B\u5165\u5230\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u3002","\u4ECE\u4E0D\u81EA\u52A8\u6253\u5F00\u201C\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E\u201D(\u9ED8\u8BA4)\u3002","\u59CB\u7EC8\u81EA\u52A8\u6253\u5F00\u201C\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E\u201D\u3002","\u9009\u62E9\u591A\u884C\u5185\u5BB9\u65F6\uFF0C\u81EA\u52A8\u6253\u5F00\u201C\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E\u201D\u3002","\u63A7\u5236\u81EA\u52A8\u6253\u5F00\u201C\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E\u201D\u7684\u6761\u4EF6\u3002","\u63A7\u5236\u201C\u67E5\u627E\u201D\u5C0F\u7EC4\u4EF6\u662F\u5426\u8BFB\u53D6\u6216\u4FEE\u6539 macOS \u7684\u5171\u4EAB\u67E5\u627E\u526A\u8D34\u677F\u3002",'\u63A7\u5236 "\u67E5\u627E\u5C0F\u90E8\u4EF6" \u662F\u5426\u5E94\u5728\u7F16\u8F91\u5668\u9876\u90E8\u6DFB\u52A0\u989D\u5916\u7684\u884C\u3002\u5982\u679C\u4E3A true, \u5219\u53EF\u4EE5\u5728 "\u67E5\u627E\u5C0F\u5DE5\u5177" \u53EF\u89C1\u65F6\u6EDA\u52A8\u5230\u7B2C\u4E00\u884C\u4E4B\u5916\u3002',"\u63A7\u5236\u5728\u627E\u4E0D\u5230\u5176\u4ED6\u5339\u914D\u9879\u65F6\uFF0C\u662F\u5426\u81EA\u52A8\u4ECE\u5F00\u5934(\u6216\u7ED3\u5C3E)\u91CD\u65B0\u5F00\u59CB\u641C\u7D22\u3002",'\u542F\u7528/\u7981\u7528\u5B57\u4F53\u8FDE\u5B57("calt" \u548C "liga" \u5B57\u4F53\u7279\u6027)\u3002\u5C06\u6B64\u66F4\u6539\u4E3A\u5B57\u7B26\u4E32\uFF0C\u53EF\u5BF9 "font-feature-settings" CSS \u5C5E\u6027\u8FDB\u884C\u7CBE\u7EC6\u63A7\u5236\u3002','\u663E\u5F0F "font-feature-settings" CSS \u5C5E\u6027\u3002\u5982\u679C\u53EA\u9700\u6253\u5F00/\u5173\u95ED\u8FDE\u5B57\uFF0C\u53EF\u4EE5\u6539\u4E3A\u4F20\u9012\u5E03\u5C14\u503C\u3002','\u914D\u7F6E\u5B57\u4F53\u8FDE\u5B57\u6216\u5B57\u4F53\u7279\u6027\u3002\u53EF\u4EE5\u662F\u7528\u4E8E\u542F\u7528/\u7981\u7528\u8FDE\u5B57\u7684\u5E03\u5C14\u503C\uFF0C\u6216\u7528\u4E8E\u8BBE\u7F6E CSS "font-feature-settings" \u5C5E\u6027\u503C\u7684\u5B57\u7B26\u4E32\u3002',"\u542F\u7528/\u7981\u7528\u4ECE font-weight \u5230 font-variation-settings \u7684\u8F6C\u6362\u3002\u5C06\u6B64\u9879\u66F4\u6539\u4E3A\u5B57\u7B26\u4E32\uFF0C\u4EE5\u4FBF\u5BF9\u201Cfont-variation-settings\u201DCSS \u5C5E\u6027\u8FDB\u884C\u7EC6\u5316\u63A7\u5236\u3002","\u663E\u5F0F\u201Cfont-variation-settings\u201DCSS \u5C5E\u6027\u3002\u5982\u679C\u53EA\u9700\u5C06 font-weight \u8F6C\u6362\u4E3A font-variation-settings\uFF0C\u5219\u53EF\u4EE5\u6539\u4E3A\u4F20\u9012\u5E03\u5C14\u503C\u3002","\u914D\u7F6E\u5B57\u4F53\u53D8\u4F53\u3002\u53EF\u4EE5\u662F\u7528\u4E8E\u542F\u7528/\u7981\u7528\u4ECE font-weight \u5230 font-variation-settings \u7684\u8F6C\u6362\u7684\u5E03\u5C14\u503C\uFF0C\u4E5F\u53EF\u4EE5\u662F CSS\u201Cfont-variation-settings\u201D\u5C5E\u6027\u503C\u7684\u5B57\u7B26\u4E32\u3002","\u63A7\u5236\u5B57\u4F53\u5927\u5C0F(\u50CF\u7D20)\u3002","\u4EC5\u5141\u8BB8\u4F7F\u7528\u5173\u952E\u5B57\u201C\u6B63\u5E38\u201D\u548C\u201C\u52A0\u7C97\u201D\uFF0C\u6216\u4F7F\u7528\u4ECB\u4E8E 1 \u81F3 1000 \u4E4B\u95F4\u7684\u6570\u5B57\u3002","\u63A7\u5236\u5B57\u4F53\u7C97\u7EC6\u3002\u63A5\u53D7\u5173\u952E\u5B57\u201C\u6B63\u5E38\u201D\u548C\u201C\u52A0\u7C97\u201D\uFF0C\u6216\u8005\u63A5\u53D7\u4ECB\u4E8E 1 \u81F3 1000 \u4E4B\u95F4\u7684\u6570\u5B57\u3002","\u663E\u793A\u7ED3\u679C\u7684\u901F\u89C8\u89C6\u56FE(\u9ED8\u8BA4)","\u8F6C\u5230\u4E3B\u7ED3\u679C\u5E76\u663E\u793A\u901F\u89C8\u89C6\u56FE","\u8F6C\u5230\u4E3B\u7ED3\u679C\uFF0C\u5E76\u5BF9\u5176\u4ED6\u7ED3\u679C\u542F\u7528\u65E0\u901F\u89C8\u5BFC\u822A",'\u6B64\u8BBE\u7F6E\u5DF2\u5F03\u7528\uFF0C\u8BF7\u6539\u7528\u5355\u72EC\u7684\u8BBE\u7F6E\uFF0C\u5982"editor.editor.gotoLocation.multipleDefinitions"\u6216"editor.editor.gotoLocation.multipleImplementations"\u3002','\u63A7\u5236\u5B58\u5728\u591A\u4E2A\u76EE\u6807\u4F4D\u7F6E\u65F6"\u8F6C\u5230\u5B9A\u4E49"\u547D\u4EE4\u7684\u884C\u4E3A\u3002','\u63A7\u5236\u5B58\u5728\u591A\u4E2A\u76EE\u6807\u4F4D\u7F6E\u65F6"\u8F6C\u5230\u7C7B\u578B\u5B9A\u4E49"\u547D\u4EE4\u7684\u884C\u4E3A\u3002','\u63A7\u5236\u5B58\u5728\u591A\u4E2A\u76EE\u6807\u4F4D\u7F6E\u65F6"\u8F6C\u5230\u58F0\u660E"\u547D\u4EE4\u7684\u884C\u4E3A\u3002','\u63A7\u5236\u5B58\u5728\u591A\u4E2A\u76EE\u6807\u4F4D\u7F6E\u65F6"\u8F6C\u5230\u5B9E\u73B0"\u547D\u4EE4\u7684\u884C\u4E3A\u3002','\u63A7\u5236\u5B58\u5728\u591A\u4E2A\u76EE\u6807\u4F4D\u7F6E\u65F6"\u8F6C\u5230\u5F15\u7528"\u547D\u4EE4\u7684\u884C\u4E3A\u3002','\u5F53"\u8F6C\u5230\u5B9A\u4E49"\u7684\u7ED3\u679C\u4E3A\u5F53\u524D\u4F4D\u7F6E\u65F6\u5C06\u8981\u6267\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u7684 ID\u3002','\u5F53"\u8F6C\u5230\u7C7B\u578B\u5B9A\u4E49"\u7684\u7ED3\u679C\u662F\u5F53\u524D\u4F4D\u7F6E\u65F6\u6B63\u5728\u6267\u884C\u7684\u5907\u7528\u547D\u4EE4 ID\u3002','\u5F53"\u8F6C\u5230\u58F0\u660E"\u7684\u7ED3\u679C\u4E3A\u5F53\u524D\u4F4D\u7F6E\u65F6\u5C06\u8981\u6267\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u7684 ID\u3002','\u5F53"\u8F6C\u5230\u5B9E\u73B0"\u7684\u7ED3\u679C\u4E3A\u5F53\u524D\u4F4D\u7F6E\u65F6\u5C06\u8981\u6267\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u7684 ID\u3002','\u5F53"\u8F6C\u5230\u5F15\u7528"\u7684\u7ED3\u679C\u662F\u5F53\u524D\u4F4D\u7F6E\u65F6\u6B63\u5728\u6267\u884C\u7684\u66FF\u4EE3\u547D\u4EE4 ID\u3002',"\u63A7\u5236\u662F\u5426\u663E\u793A\u60AC\u505C\u63D0\u793A\u3002","\u63A7\u5236\u663E\u793A\u60AC\u505C\u63D0\u793A\u524D\u7684\u7B49\u5F85\u65F6\u95F4 (\u6BEB\u79D2)\u3002","\u63A7\u5236\u5F53\u9F20\u6807\u79FB\u52A8\u5230\u60AC\u505C\u63D0\u793A\u4E0A\u65F6\uFF0C\u5176\u662F\u5426\u4FDD\u6301\u53EF\u89C1\u3002","\u63A7\u5236\u9690\u85CF\u60AC\u505C\u540E\u7684\u5EF6\u8FDF\u65F6\u95F4(\u6BEB\u79D2)\u3002\u9700\u8981\u542F\u7528 `editor.hover.sticky`\u3002","\u5982\u679C\u6709\u7A7A\u95F4\uFF0C\u9996\u9009\u5728\u7EBF\u6761\u4E0A\u65B9\u663E\u793A\u60AC\u505C\u3002","\u5047\u5B9A\u6240\u6709\u5B57\u7B26\u7684\u5BBD\u5EA6\u76F8\u540C\u3002\u8FD9\u662F\u4E00\u79CD\u5FEB\u901F\u7B97\u6CD5\uFF0C\u9002\u7528\u4E8E\u7B49\u5BBD\u5B57\u4F53\u548C\u67D0\u4E9B\u5B57\u5F62\u5BBD\u5EA6\u76F8\u7B49\u7684\u6587\u5B57(\u5982\u62C9\u4E01\u5B57\u7B26)\u3002","\u5C06\u5305\u88C5\u70B9\u8BA1\u7B97\u59D4\u6258\u7ED9\u6D4F\u89C8\u5668\u3002\u8FD9\u662F\u4E00\u4E2A\u7F13\u6162\u7B97\u6CD5\uFF0C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u5927\u578B\u6587\u4EF6\u88AB\u51BB\u7ED3\uFF0C\u4F46\u5B83\u5728\u6240\u6709\u60C5\u51B5\u4E0B\u90FD\u6B63\u5E38\u5DE5\u4F5C\u3002","\u63A7\u5236\u8BA1\u7B97\u5305\u88C5\u70B9\u7684\u7B97\u6CD5\u3002\u8BF7\u6CE8\u610F\uFF0C\u5728\u8F85\u52A9\u529F\u80FD\u6A21\u5F0F\u4E0B\uFF0C\u9AD8\u7EA7\u7248\u5C06\u7528\u4E8E\u63D0\u4F9B\u6700\u4F73\u4F53\u9A8C\u3002","\u5728\u7F16\u8F91\u5668\u4E2D\u542F\u7528\u4EE3\u7801\u64CD\u4F5C\u5C0F\u706F\u6CE1\u63D0\u793A\u3002","\u5728\u7F16\u8F91\u5668\u9876\u90E8\u7684\u6EDA\u52A8\u8FC7\u7A0B\u4E2D\u663E\u793A\u5D4C\u5957\u7684\u5F53\u524D\u4F5C\u7528\u57DF\u3002","\u5B9A\u4E49\u8981\u663E\u793A\u7684\u6700\u5927\u7C98\u6EDE\u884C\u6570\u3002","\u5B9A\u4E49\u7528\u4E8E\u786E\u5B9A\u8981\u7C98\u8D34\u7684\u884C\u7684\u6A21\u578B\u3002\u5982\u679C\u5927\u7EB2\u6A21\u578B\u4E0D\u5B58\u5728\uFF0C\u5B83\u5C06\u56DE\u9000\u5230\u56DE\u9000\u5230\u7F29\u8FDB\u6A21\u578B\u7684\u6298\u53E0\u63D0\u4F9B\u7A0B\u5E8F\u6A21\u578B\u4E0A\u3002\u5728\u6240\u6709\u4E09\u79CD\u60C5\u51B5\u4E0B\u90FD\u9075\u5FAA\u6B64\u987A\u5E8F\u3002","\u4F7F\u7528\u7F16\u8F91\u5668\u7684\u6C34\u5E73\u6EDA\u52A8\u6761\u542F\u7528\u7C98\u6EDE\u6EDA\u52A8\u5C0F\u7EC4\u4EF6\u6EDA\u52A8\u3002","\u5728\u7F16\u8F91\u5668\u4E2D\u542F\u7528\u5185\u8054\u63D0\u793A\u3002","\u5DF2\u542F\u7528\u5185\u5D4C\u63D0\u793A","\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u663E\u793A\u5185\u5D4C\u63D0\u793A\uFF0C\u5E76\u5728\u6309\u4F4F {0} \u65F6\u9690\u85CF","\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u9690\u85CF\u5185\u5D4C\u63D0\u793A\uFF0C\u5E76\u5728\u6309\u4F4F {0} \u65F6\u663E\u793A","\u5DF2\u7981\u7528\u5185\u5D4C\u63D0\u793A","\u63A7\u5236\u7F16\u8F91\u5668\u4E2D\u5D4C\u5165\u63D0\u793A\u7684\u5B57\u53F7\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u5F53\u914D\u7F6E\u7684\u503C\u5C0F\u4E8E {1} \u6216\u5927\u4E8E\u7F16\u8F91\u5668\u5B57\u53F7\u65F6\uFF0C\u5C06\u4F7F\u7528 {0}\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u4E2D\u5D4C\u5165\u63D0\u793A\u7684\u5B57\u4F53\u7CFB\u5217\u3002\u8BBE\u7F6E\u4E3A\u7A7A\u65F6\uFF0C\u5C06\u4F7F\u7528 {0}\u3002","\u5728\u7F16\u8F91\u5668\u4E2D\u542F\u7528\u53E0\u52A0\u63D0\u793A\u5468\u56F4\u7684\u586B\u5145\u3002",`\u63A7\u5236\u884C\u9AD8\u3002\r + - \u4F7F\u7528 0 \u6839\u636E\u5B57\u53F7\u81EA\u52A8\u8BA1\u7B97\u884C\u9AD8\u3002\r + - \u4ECB\u4E8E 0 \u548C 8 \u4E4B\u95F4\u7684\u503C\u5C06\u7528\u4F5C\u5B57\u53F7\u7684\u4E58\u6570\u3002\r + - \u5927\u4E8E\u6216\u7B49\u4E8E 8 \u7684\u503C\u5C06\u7528\u4F5C\u6709\u6548\u503C\u3002`,"\u63A7\u5236\u662F\u5426\u663E\u793A\u7F29\u7565\u56FE\u3002","\u63A7\u5236\u662F\u5426\u81EA\u52A8\u9690\u85CF\u7F29\u7565\u56FE\u3002","\u8FF7\u4F60\u5730\u56FE\u7684\u5927\u5C0F\u4E0E\u7F16\u8F91\u5668\u5185\u5BB9\u76F8\u540C(\u5E76\u4E14\u53EF\u80FD\u6EDA\u52A8)\u3002","\u8FF7\u4F60\u5730\u56FE\u5C06\u6839\u636E\u9700\u8981\u62C9\u4F38\u6216\u7F29\u5C0F\u4EE5\u586B\u5145\u7F16\u8F91\u5668\u7684\u9AD8\u5EA6(\u4E0D\u6EDA\u52A8)\u3002","\u8FF7\u4F60\u5730\u56FE\u5C06\u6839\u636E\u9700\u8981\u7F29\u5C0F\uFF0C\u6C38\u8FDC\u4E0D\u4F1A\u5927\u4E8E\u7F16\u8F91\u5668(\u4E0D\u6EDA\u52A8)\u3002","\u63A7\u5236\u8FF7\u4F60\u5730\u56FE\u7684\u5927\u5C0F\u3002","\u63A7\u5236\u5728\u54EA\u4E00\u4FA7\u663E\u793A\u7F29\u7565\u56FE\u3002","\u63A7\u5236\u4F55\u65F6\u663E\u793A\u8FF7\u4F60\u5730\u56FE\u6ED1\u5757\u3002","\u5728\u8FF7\u4F60\u5730\u56FE\u4E2D\u7ED8\u5236\u7684\u5185\u5BB9\u6BD4\u4F8B: 1\u30012 \u6216 3\u3002","\u6E32\u67D3\u6BCF\u884C\u7684\u5B9E\u9645\u5B57\u7B26\uFF0C\u800C\u4E0D\u662F\u8272\u5757\u3002","\u9650\u5236\u7F29\u7565\u56FE\u7684\u5BBD\u5EA6\uFF0C\u63A7\u5236\u5176\u6700\u591A\u663E\u793A\u7684\u5217\u6570\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u7684\u9876\u8FB9\u548C\u7B2C\u4E00\u884C\u4E4B\u95F4\u7684\u95F4\u8DDD\u91CF\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u7684\u5E95\u8FB9\u548C\u6700\u540E\u4E00\u884C\u4E4B\u95F4\u7684\u95F4\u8DDD\u91CF\u3002","\u5728\u8F93\u5165\u65F6\u663E\u793A\u542B\u6709\u53C2\u6570\u6587\u6863\u548C\u7C7B\u578B\u4FE1\u606F\u7684\u5C0F\u9762\u677F\u3002","\u63A7\u5236\u53C2\u6570\u63D0\u793A\u83DC\u5355\u5728\u5230\u8FBE\u5217\u8868\u672B\u5C3E\u65F6\u8FDB\u884C\u5FAA\u73AF\u8FD8\u662F\u5173\u95ED\u3002","\u5FEB\u901F\u5EFA\u8BAE\u663E\u793A\u5728\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u5185","\u5FEB\u901F\u5EFA\u8BAE\u663E\u793A\u4E3A\u865A\u5F71\u6587\u672C","\u5DF2\u7981\u7528\u5FEB\u901F\u5EFA\u8BAE","\u5728\u5B57\u7B26\u4E32\u5185\u542F\u7528\u5FEB\u901F\u5EFA\u8BAE\u3002","\u5728\u6CE8\u91CA\u5185\u542F\u7528\u5FEB\u901F\u5EFA\u8BAE\u3002","\u5728\u5B57\u7B26\u4E32\u548C\u6CE8\u91CA\u5916\u542F\u7528\u5FEB\u901F\u5EFA\u8BAE\u3002","\u63A7\u5236\u952E\u5165\u65F6\u662F\u5426\u5E94\u81EA\u52A8\u663E\u793A\u5EFA\u8BAE\u3002\u8FD9\u53EF\u4EE5\u7528\u4E8E\u5728\u6CE8\u91CA\u3001\u5B57\u7B26\u4E32\u548C\u5176\u4ED6\u4EE3\u7801\u4E2D\u952E\u5165\u65F6\u8FDB\u884C\u63A7\u5236\u3002\u53EF\u914D\u7F6E\u5FEB\u901F\u5EFA\u8BAE\u4EE5\u663E\u793A\u4E3A\u865A\u5F71\u6587\u672C\u6216\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u3002\u53E6\u8BF7\u6CE8\u610F\u63A7\u5236\u5EFA\u8BAE\u662F\u5426\u7531\u7279\u6B8A\u5B57\u7B26\u89E6\u53D1\u7684\u201C{0}\u201D\u8BBE\u7F6E\u3002","\u4E0D\u663E\u793A\u884C\u53F7\u3002","\u5C06\u884C\u53F7\u663E\u793A\u4E3A\u7EDD\u5BF9\u884C\u6570\u3002","\u5C06\u884C\u53F7\u663E\u793A\u4E3A\u4E0E\u5149\u6807\u76F8\u9694\u7684\u884C\u6570\u3002","\u6BCF 10 \u884C\u663E\u793A\u4E00\u6B21\u884C\u53F7\u3002","\u63A7\u5236\u884C\u53F7\u7684\u663E\u793A\u3002","\u6B64\u7F16\u8F91\u5668\u6807\u5C3A\u5C06\u6E32\u67D3\u7684\u7B49\u5BBD\u5B57\u7B26\u6570\u3002","\u6B64\u7F16\u8F91\u5668\u6807\u5C3A\u7684\u989C\u8272\u3002","\u5728\u4E00\u5B9A\u6570\u91CF\u7684\u7B49\u5BBD\u5B57\u7B26\u540E\u663E\u793A\u5782\u76F4\u6807\u5C3A\u3002\u8F93\u5165\u591A\u4E2A\u503C\uFF0C\u663E\u793A\u591A\u4E2A\u6807\u5C3A\u3002\u82E5\u6570\u7EC4\u4E3A\u7A7A\uFF0C\u5219\u4E0D\u7ED8\u5236\u6807\u5C3A\u3002","\u5782\u76F4\u6EDA\u52A8\u6761\u4EC5\u5728\u5FC5\u8981\u65F6\u53EF\u89C1\u3002","\u5782\u76F4\u6EDA\u52A8\u6761\u5C06\u59CB\u7EC8\u53EF\u89C1\u3002","\u5782\u76F4\u6EDA\u52A8\u6761\u5C06\u59CB\u7EC8\u9690\u85CF\u3002","\u63A7\u5236\u5782\u76F4\u6EDA\u52A8\u6761\u7684\u53EF\u89C1\u6027\u3002","\u6C34\u5E73\u6EDA\u52A8\u6761\u4EC5\u5728\u5FC5\u8981\u65F6\u53EF\u89C1\u3002","\u6C34\u5E73\u6EDA\u52A8\u6761\u5C06\u59CB\u7EC8\u53EF\u89C1\u3002","\u6C34\u5E73\u6EDA\u52A8\u6761\u5C06\u59CB\u7EC8\u9690\u85CF\u3002","\u63A7\u5236\u6C34\u5E73\u6EDA\u52A8\u6761\u7684\u53EF\u89C1\u6027\u3002","\u5782\u76F4\u6EDA\u52A8\u6761\u7684\u5BBD\u5EA6\u3002","\u6C34\u5E73\u6EDA\u52A8\u6761\u7684\u9AD8\u5EA6\u3002","\u63A7\u5236\u5355\u51FB\u6309\u9875\u6EDA\u52A8\u8FD8\u662F\u8DF3\u8F6C\u5230\u5355\u51FB\u4F4D\u7F6E\u3002","\u63A7\u5236\u662F\u5426\u7A81\u51FA\u663E\u793A\u6240\u6709\u975E\u57FA\u672C ASCII \u5B57\u7B26\u3002\u53EA\u6709\u4ECB\u4E8E U+0020 \u5230 U+007E \u4E4B\u95F4\u7684\u5B57\u7B26\u3001\u5236\u8868\u7B26\u3001\u6362\u884C\u7B26\u548C\u56DE\u8F66\u7B26\u624D\u88AB\u89C6\u4E3A\u57FA\u672C ASCII\u3002","\u63A7\u5236\u662F\u5426\u7A81\u51FA\u663E\u793A\u4EC5\u4FDD\u7559\u7A7A\u683C\u6216\u5B8C\u5168\u6CA1\u6709\u5BBD\u5EA6\u7684\u5B57\u7B26\u3002","\u63A7\u5236\u662F\u5426\u7A81\u51FA\u663E\u793A\u53EF\u80FD\u4E0E\u57FA\u672C ASCII \u5B57\u7B26\u6DF7\u6DC6\u7684\u5B57\u7B26\uFF0C\u4F46\u5F53\u524D\u7528\u6237\u533A\u57DF\u8BBE\u7F6E\u4E2D\u5E38\u89C1\u7684\u5B57\u7B26\u9664\u5916\u3002","\u63A7\u5236\u6CE8\u91CA\u4E2D\u7684\u5B57\u7B26\u662F\u5426\u4E5F\u5E94\u8FDB\u884C Unicode \u7A81\u51FA\u663E\u793A\u3002","\u63A7\u5236\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u7B26\u662F\u5426\u4E5F\u5E94\u8FDB\u884C Unicode \u7A81\u51FA\u663E\u793A\u3002","\u5B9A\u4E49\u672A\u7A81\u51FA\u663E\u793A\u7684\u5141\u8BB8\u5B57\u7B26\u3002","\u672A\u7A81\u51FA\u663E\u793A\u5728\u5141\u8BB8\u533A\u57DF\u8BBE\u7F6E\u4E2D\u5E38\u89C1\u7684 Unicode \u5B57\u7B26\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u81EA\u52A8\u663E\u793A\u5185\u8054\u5EFA\u8BAE\u3002","\u6BCF\u5F53\u663E\u793A\u5185\u8054\u5EFA\u8BAE\u65F6\uFF0C\u663E\u793A\u5185\u8054\u5EFA\u8BAE\u5DE5\u5177\u680F\u3002","\u5C06\u9F20\u6807\u60AC\u505C\u5728\u5185\u8054\u5EFA\u8BAE\u4E0A\u65F6\u663E\u793A\u5185\u8054\u5EFA\u8BAE\u5DE5\u5177\u680F\u3002","\u63A7\u5236\u4F55\u65F6\u663E\u793A\u5185\u8054\u5EFA\u8BAE\u5DE5\u5177\u680F\u3002","\u63A7\u5236\u5185\u8054\u5EFA\u8BAE\u5982\u4F55\u4E0E\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4EA4\u4E92\u3002\u5982\u679C\u542F\u7528\uFF0C\u5F53\u5185\u8054\u5EFA\u8BAE\u53EF\u7528\u65F6\uFF0C\u4E0D\u4F1A\u81EA\u52A8\u663E\u793A\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u3002","\u63A7\u5236\u662F\u5426\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002\u8BF7\u4F7F\u7528 {0} \u91CD\u5199\u62EC\u53F7\u7A81\u51FA\u663E\u793A\u989C\u8272\u3002","\u63A7\u5236\u6BCF\u4E2A\u65B9\u62EC\u53F7\u7C7B\u578B\u662F\u5426\u5177\u6709\u81EA\u5DF1\u7684\u72EC\u7ACB\u989C\u8272\u6C60\u3002","\u542F\u7528\u62EC\u53F7\u5BF9\u53C2\u8003\u7EBF\u3002","\u4EC5\u4E3A\u6D3B\u52A8\u62EC\u53F7\u5BF9\u542F\u7528\u62EC\u53F7\u5BF9\u53C2\u8003\u7EBF\u3002","\u7981\u7528\u62EC\u53F7\u5BF9\u53C2\u8003\u7EBF\u3002","\u63A7\u5236\u662F\u5426\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u542F\u7528\u6C34\u5E73\u53C2\u8003\u7EBF\u4F5C\u4E3A\u5782\u76F4\u62EC\u53F7\u5BF9\u53C2\u8003\u7EBF\u7684\u6DFB\u52A0\u9879\u3002","\u4EC5\u4E3A\u6D3B\u52A8\u62EC\u53F7\u5BF9\u542F\u7528\u6C34\u5E73\u53C2\u8003\u7EBF\u3002","\u7981\u7528\u6C34\u5E73\u62EC\u53F7\u5BF9\u53C2\u8003\u7EBF\u3002","\u63A7\u5236\u662F\u5426\u542F\u7528\u6C34\u5E73\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u7A81\u51FA\u663E\u793A\u6D3B\u52A8\u7684\u62EC\u53F7\u5BF9\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u663E\u793A\u7F29\u8FDB\u53C2\u8003\u7EBF\u3002","\u7A81\u51FA\u663E\u793A\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF\u3002","\u7A81\u51FA\u663E\u793A\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF\uFF0C\u5373\u4F7F\u7A81\u51FA\u663E\u793A\u4E86\u62EC\u53F7\u53C2\u8003\u7EBF\u3002","\u4E0D\u8981\u7A81\u51FA\u663E\u793A\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF\u3002","\u63A7\u5236\u662F\u5426\u7A81\u51FA\u663E\u793A\u7F16\u8F91\u5668\u4E2D\u6D3B\u52A8\u7684\u7F29\u8FDB\u53C2\u8003\u7EBF\u3002","\u63D2\u5165\u5EFA\u8BAE\u800C\u4E0D\u8986\u76D6\u5149\u6807\u53F3\u4FA7\u7684\u6587\u672C\u3002","\u63D2\u5165\u5EFA\u8BAE\u5E76\u8986\u76D6\u5149\u6807\u53F3\u4FA7\u7684\u6587\u672C\u3002","\u63A7\u5236\u63A5\u53D7\u8865\u5168\u65F6\u662F\u5426\u8986\u76D6\u5355\u8BCD\u3002\u8BF7\u6CE8\u610F\uFF0C\u8FD9\u53D6\u51B3\u4E8E\u6269\u5C55\u9009\u62E9\u4F7F\u7528\u6B64\u529F\u80FD\u3002","\u63A7\u5236\u5BF9\u5EFA\u8BAE\u7684\u7B5B\u9009\u548C\u6392\u5E8F\u662F\u5426\u8003\u8651\u5C0F\u7684\u62FC\u5199\u9519\u8BEF\u3002","\u63A7\u5236\u6392\u5E8F\u65F6\u662F\u5426\u9996\u9009\u5149\u6807\u9644\u8FD1\u7684\u5B57\u8BCD\u3002","\u63A7\u5236\u662F\u5426\u5728\u591A\u4E2A\u5DE5\u4F5C\u533A\u548C\u7A97\u53E3\u95F4\u5171\u4EAB\u8BB0\u5FC6\u7684\u5EFA\u8BAE\u9009\u9879(\u9700\u8981 `#editor.suggestSelection#`)\u3002","\u81EA\u52A8\u89E6\u53D1 IntelliSense \u65F6\u59CB\u7EC8\u9009\u62E9\u5EFA\u8BAE\u3002","\u81EA\u52A8\u89E6\u53D1 IntelliSense \u65F6\uFF0C\u5207\u52FF\u9009\u62E9\u5EFA\u8BAE\u3002","\u4EC5\u5F53\u4ECE\u89E6\u53D1\u5668\u5B57\u7B26\u89E6\u53D1 IntelliSense \u65F6\uFF0C\u624D\u9009\u62E9\u5EFA\u8BAE\u3002","\u4EC5\u5728\u952E\u5165\u65F6\u89E6\u53D1 IntelliSense \u65F6\u624D\u9009\u62E9\u5EFA\u8BAE\u3002","\u63A7\u5236\u5728\u663E\u793A\u5C0F\u7EC4\u4EF6\u65F6\u662F\u5426\u9009\u62E9\u5EFA\u8BAE\u3002\u8BF7\u6CE8\u610F\uFF0C\u8FD9\u4EC5\u9002\u7528\u4E8E(\u201C#editor.quickSuggestions#\u201D\u548C\u201C#editor.suggestOnTriggerCharacters#\u201D)\u81EA\u52A8\u89E6\u53D1\u7684\u5EFA\u8BAE\uFF0C\u5E76\u4E14\u59CB\u7EC8\u5728\u663E\u5F0F\u8C03\u7528\u65F6\u9009\u62E9\u5EFA\u8BAE\uFF0C\u4F8B\u5982\u901A\u8FC7\u201CCtrl+Space\u201D\u3002","\u63A7\u5236\u6D3B\u52A8\u4EE3\u7801\u6BB5\u662F\u5426\u963B\u6B62\u5FEB\u901F\u5EFA\u8BAE\u3002","\u63A7\u5236\u662F\u5426\u5728\u5EFA\u8BAE\u4E2D\u663E\u793A\u6216\u9690\u85CF\u56FE\u6807\u3002","\u63A7\u5236\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u5E95\u90E8\u7684\u72B6\u6001\u680F\u7684\u53EF\u89C1\u6027\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u9884\u89C8\u5EFA\u8BAE\u7ED3\u679C\u3002","\u63A7\u5236\u5EFA\u8BAE\u8BE6\u7EC6\u4FE1\u606F\u662F\u968F\u6807\u7B7E\u5185\u8054\u663E\u793A\u8FD8\u662F\u4EC5\u663E\u793A\u5728\u8BE6\u7EC6\u4FE1\u606F\u5C0F\u7EC4\u4EF6\u4E2D\u3002","\u6B64\u8BBE\u7F6E\u5DF2\u5F03\u7528\u3002\u73B0\u5728\u53EF\u4EE5\u8C03\u6574\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u5927\u5C0F\u3002",'\u6B64\u8BBE\u7F6E\u5DF2\u5F03\u7528\uFF0C\u8BF7\u6539\u7528\u5355\u72EC\u7684\u8BBE\u7F6E\uFF0C\u5982"editor.suggest.showKeywords"\u6216"editor.suggest.showSnippets"\u3002',"\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u65B9\u6CD5\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u51FD\u6570\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u6784\u9020\u51FD\u6570\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A`\u5DF2\u5F03\u7528`\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u7B5B\u9009\u8981\u6C42\u7B2C\u4E00\u4E2A\u5B57\u7B26\u5728\u5355\u8BCD\u5F00\u5934\u5339\u914D\uFF0C\u4F8B\u5982 \u201CConsole\u201D \u6216 \u201CWebContext\u201D \u4E0A\u7684 \u201Cc\u201D\uFF0C\u4F46 \u201Cdescription\u201D \u4E0A\u7684 _not_\u3002\u7981\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u66F4\u591A\u7ED3\u679C\uFF0C\u4F46\u4ECD\u6309\u5339\u914D\u8D28\u91CF\u5BF9\u5176\u8FDB\u884C\u6392\u5E8F\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u5B57\u6BB5\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u53D8\u91CF\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u7C7B\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u7ED3\u6784\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u63A5\u53E3\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u6A21\u5757\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u5C5E\u6027\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u4E8B\u4EF6\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u64CD\u4F5C\u7B26\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u5355\u4F4D\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u503C\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u5E38\u91CF\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u679A\u4E3E\u201D\u5EFA\u8BAE\u3002",'\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A "enumMember" \u5EFA\u8BAE\u3002',"\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u5173\u952E\u5B57\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u6587\u672C\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u989C\u8272\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u6587\u4EF6\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u53C2\u8003\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u81EA\u5B9A\u4E49\u989C\u8272\u201D\u5EFA\u8BAE\u3002","\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u6587\u4EF6\u5939\u201D\u5EFA\u8BAE\u3002",'\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A "typeParameter" \u5EFA\u8BAE\u3002',"\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A\u201C\u7247\u6BB5\u201D\u5EFA\u8BAE\u3002",'\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A"\u7528\u6237"\u5EFA\u8BAE\u3002','\u542F\u7528\u540E\uFF0CIntelliSense \u5C06\u663E\u793A"\u95EE\u9898"\u5EFA\u8BAE\u3002',"\u662F\u5426\u5E94\u59CB\u7EC8\u9009\u62E9\u524D\u5BFC\u548C\u5C3E\u968F\u7A7A\u683C\u3002","\u662F\u5426\u5E94\u9009\u62E9\u5B50\u5B57(\u5982\u201CfooBar\u201D\u6216\u201Cfoo_bar\u201D\u4E2D\u7684\u201Cfoo\u201D)\u3002","\u6CA1\u6709\u7F29\u8FDB\u3002\u6298\u884C\u4ECE\u7B2C 1 \u5217\u5F00\u59CB\u3002","\u6298\u884C\u7684\u7F29\u8FDB\u91CF\u4E0E\u5176\u7236\u7EA7\u76F8\u540C\u3002","\u6298\u884C\u7684\u7F29\u8FDB\u91CF\u6BD4\u5176\u7236\u7EA7\u591A 1\u3002","\u6298\u884C\u7684\u7F29\u8FDB\u91CF\u6BD4\u5176\u7236\u7EA7\u591A 2\u3002","\u63A7\u5236\u6298\u884C\u7684\u7F29\u8FDB\u3002","\u63A7\u5236\u662F\u5426\u53EF\u4EE5\u901A\u8FC7\u6309\u4F4F `Shift` (\u800C\u4E0D\u662F\u5728\u7F16\u8F91\u5668\u4E2D\u6253\u5F00\u6587\u4EF6)\u5C06\u6587\u4EF6\u62D6\u653E\u5230\u7F16\u8F91\u5668\u4E2D\u3002","\u63A7\u5236\u5C06\u6587\u4EF6\u653E\u5165\u7F16\u8F91\u5668\u65F6\u662F\u5426\u663E\u793A\u5C0F\u7EC4\u4EF6\u3002\u4F7F\u7528\u6B64\u5C0F\u7EC4\u4EF6\u53EF\u4EE5\u63A7\u5236\u6587\u4EF6\u7684\u5220\u9664\u65B9\u5F0F\u3002","\u5C06\u6587\u4EF6\u653E\u5165\u7F16\u8F91\u5668\u540E\u663E\u793A\u653E\u7F6E\u9009\u62E9\u5668\u5C0F\u7EC4\u4EF6\u3002","\u5207\u52FF\u663E\u793A\u653E\u7F6E\u9009\u62E9\u5668\u5C0F\u7EC4\u4EF6\u3002\u800C\u662F\u59CB\u7EC8\u4F7F\u7528\u9ED8\u8BA4\u5220\u9664\u63D0\u4F9B\u7A0B\u5E8F\u3002","\u63A7\u5236\u662F\u5426\u53EF\u4EE5\u4EE5\u4E0D\u540C\u7684\u65B9\u5F0F\u7C98\u8D34\u5185\u5BB9\u3002","\u63A7\u5236\u5C06\u5185\u5BB9\u7C98\u8D34\u5230\u7F16\u8F91\u5668\u65F6\u662F\u5426\u663E\u793A\u5C0F\u7EC4\u4EF6\u3002\u4F7F\u7528\u6B64\u5C0F\u7EC4\u4EF6\u53EF\u4EE5\u63A7\u5236\u6587\u4EF6\u7684\u7C98\u8D34\u65B9\u5F0F\u3002","\u5C06\u5185\u5BB9\u7C98\u8D34\u5230\u7F16\u8F91\u5668\u540E\u663E\u793A\u7C98\u8D34\u9009\u62E9\u5668\u5C0F\u7EC4\u4EF6\u3002","\u5207\u52FF\u663E\u793A\u7C98\u8D34\u9009\u62E9\u5668\u5C0F\u7EC4\u4EF6\u3002\u800C\u662F\u59CB\u7EC8\u4F7F\u7528\u9ED8\u8BA4\u7C98\u8D34\u884C\u4E3A\u3002","\u63A7\u5236\u662F\u5426\u5E94\u5728\u9047\u5230\u63D0\u4EA4\u5B57\u7B26\u65F6\u63A5\u53D7\u5EFA\u8BAE\u3002\u4F8B\u5982\uFF0C\u5728 JavaScript \u4E2D\uFF0C\u534A\u89D2\u5206\u53F7 (`;`) \u53EF\u4EE5\u4E3A\u63D0\u4EA4\u5B57\u7B26\uFF0C\u80FD\u591F\u5728\u63A5\u53D7\u5EFA\u8BAE\u7684\u540C\u65F6\u952E\u5165\u8BE5\u5B57\u7B26\u3002","\u4EC5\u5F53\u5EFA\u8BAE\u5305\u542B\u6587\u672C\u6539\u52A8\u65F6\u624D\u53EF\u4F7F\u7528 `Enter` \u952E\u8FDB\u884C\u63A5\u53D7\u3002","\u63A7\u5236\u9664\u4E86 `Tab` \u952E\u4EE5\u5916\uFF0C `Enter` \u952E\u662F\u5426\u540C\u6837\u53EF\u4EE5\u63A5\u53D7\u5EFA\u8BAE\u3002\u8FD9\u80FD\u51CF\u5C11\u201C\u63D2\u5165\u65B0\u884C\u201D\u548C\u201C\u63A5\u53D7\u5EFA\u8BAE\u201D\u547D\u4EE4\u4E4B\u95F4\u7684\u6B67\u4E49\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u4E2D\u53EF\u7531\u5C4F\u5E55\u9605\u8BFB\u5668\u4E00\u6B21\u8BFB\u51FA\u7684\u884C\u6570\u3002\u6211\u4EEC\u68C0\u6D4B\u5230\u5C4F\u5E55\u9605\u8BFB\u5668\u65F6\uFF0C\u4F1A\u81EA\u52A8\u5C06\u9ED8\u8BA4\u503C\u8BBE\u7F6E\u4E3A 500\u3002\u8B66\u544A: \u5982\u679C\u884C\u6570\u5927\u4E8E\u9ED8\u8BA4\u503C\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u6027\u80FD\u3002","\u7F16\u8F91\u5668\u5185\u5BB9","\u63A7\u5236\u5185\u8054\u5EFA\u8BAE\u662F\u5426\u7531\u5C4F\u5E55\u9605\u8BFB\u5668\u516C\u5E03\u3002","\u4F7F\u7528\u8BED\u8A00\u914D\u7F6E\u786E\u5B9A\u4F55\u65F6\u81EA\u52A8\u95ED\u5408\u62EC\u53F7\u3002","\u4EC5\u5F53\u5149\u6807\u4F4D\u4E8E\u7A7A\u767D\u5B57\u7B26\u5DE6\u4FA7\u65F6\uFF0C\u624D\u81EA\u52A8\u95ED\u5408\u62EC\u53F7\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5728\u5DE6\u62EC\u53F7\u540E\u81EA\u52A8\u63D2\u5165\u53F3\u62EC\u53F7\u3002","\u4F7F\u7528\u8BED\u8A00\u914D\u7F6E\u786E\u5B9A\u4F55\u65F6\u81EA\u52A8\u5173\u95ED\u6CE8\u91CA\u3002","\u4EC5\u5F53\u5149\u6807\u4F4D\u4E8E\u7A7A\u683C\u5DE6\u4FA7\u65F6\u81EA\u52A8\u5173\u95ED\u6CE8\u91CA\u3002","\u63A7\u5236\u5728\u7528\u6237\u6DFB\u52A0\u6253\u5F00\u6CE8\u91CA\u540E\u7F16\u8F91\u5668\u662F\u5426\u5E94\u81EA\u52A8\u5173\u95ED\u6CE8\u91CA\u3002","\u4EC5\u5728\u81EA\u52A8\u63D2\u5165\u65F6\u624D\u5220\u9664\u76F8\u90BB\u7684\u53F3\u5F15\u53F7\u6216\u53F3\u62EC\u53F7\u3002","\u63A7\u5236\u5728\u5220\u9664\u65F6\u7F16\u8F91\u5668\u662F\u5426\u5E94\u5220\u9664\u76F8\u90BB\u7684\u53F3\u5F15\u53F7\u6216\u53F3\u65B9\u62EC\u53F7\u3002","\u4EC5\u5728\u81EA\u52A8\u63D2\u5165\u65F6\u624D\u6539\u5199\u53F3\u5F15\u53F7\u6216\u53F3\u62EC\u53F7\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u6539\u5199\u53F3\u5F15\u53F7\u6216\u53F3\u62EC\u53F7\u3002","\u4F7F\u7528\u8BED\u8A00\u914D\u7F6E\u786E\u5B9A\u4F55\u65F6\u81EA\u52A8\u95ED\u5408\u5F15\u53F7\u3002","\u4EC5\u5F53\u5149\u6807\u4F4D\u4E8E\u7A7A\u767D\u5B57\u7B26\u5DE6\u4FA7\u65F6\uFF0C\u624D\u81EA\u52A8\u95ED\u5408\u5F15\u53F7\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5728\u5DE6\u5F15\u53F7\u540E\u81EA\u52A8\u63D2\u5165\u53F3\u5F15\u53F7\u3002","\u7F16\u8F91\u5668\u4E0D\u4F1A\u81EA\u52A8\u63D2\u5165\u7F29\u8FDB\u3002","\u7F16\u8F91\u5668\u5C06\u4FDD\u7559\u5F53\u524D\u884C\u7684\u7F29\u8FDB\u3002","\u7F16\u8F91\u5668\u5C06\u4FDD\u7559\u5F53\u524D\u884C\u7684\u7F29\u8FDB\u5E76\u9075\u5FAA\u8BED\u8A00\u5B9A\u4E49\u7684\u62EC\u53F7\u3002","\u7F16\u8F91\u5668\u5C06\u4FDD\u7559\u5F53\u524D\u884C\u7684\u7F29\u8FDB\u3001\u4F7F\u7528\u8BED\u8A00\u5B9A\u4E49\u7684\u62EC\u53F7\u5E76\u8C03\u7528\u8BED\u8A00\u5B9A\u4E49\u7684\u7279\u5B9A onEnterRules\u3002","\u7F16\u8F91\u5668\u5C06\u4FDD\u7559\u5F53\u524D\u884C\u7684\u7F29\u8FDB\uFF0C\u4F7F\u7528\u8BED\u8A00\u5B9A\u4E49\u7684\u62EC\u53F7\uFF0C\u8C03\u7528\u7531\u8BED\u8A00\u5B9A\u4E49\u7684\u7279\u6B8A\u8F93\u5165\u89C4\u5219\uFF0C\u5E76\u9075\u5FAA\u7531\u8BED\u8A00\u5B9A\u4E49\u7684\u7F29\u8FDB\u89C4\u5219\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u5728\u7528\u6237\u952E\u5165\u3001\u7C98\u8D34\u3001\u79FB\u52A8\u6216\u7F29\u8FDB\u884C\u65F6\u81EA\u52A8\u8C03\u6574\u7F29\u8FDB\u3002","\u4F7F\u7528\u8BED\u8A00\u914D\u7F6E\u786E\u5B9A\u4F55\u65F6\u81EA\u52A8\u5305\u4F4F\u6240\u9009\u5185\u5BB9\u3002","\u4F7F\u7528\u5F15\u53F7\u800C\u975E\u62EC\u53F7\u6765\u5305\u4F4F\u6240\u9009\u5185\u5BB9\u3002","\u4F7F\u7528\u62EC\u53F7\u800C\u975E\u5F15\u53F7\u6765\u5305\u4F4F\u6240\u9009\u5185\u5BB9\u3002","\u63A7\u5236\u5728\u952E\u5165\u5F15\u53F7\u6216\u65B9\u62EC\u53F7\u65F6\uFF0C\u7F16\u8F91\u5668\u662F\u5426\u5E94\u81EA\u52A8\u5C06\u6240\u9009\u5185\u5BB9\u62EC\u8D77\u6765\u3002","\u5728\u4F7F\u7528\u7A7A\u683C\u8FDB\u884C\u7F29\u8FDB\u65F6\u6A21\u62DF\u5236\u8868\u7B26\u7684\u9009\u62E9\u884C\u4E3A\u3002\u6240\u9009\u5185\u5BB9\u5C06\u59CB\u7EC8\u4F7F\u7528\u5236\u8868\u7B26\u505C\u6B62\u4F4D\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u663E\u793A CodeLens\u3002","\u63A7\u5236 CodeLens \u7684\u5B57\u4F53\u7CFB\u5217\u3002","\u63A7\u5236 CodeLens \u7684\u5B57\u53F7(\u4EE5\u50CF\u7D20\u4E3A\u5355\u4F4D)\u3002\u8BBE\u7F6E\u4E3A 0 \u65F6\uFF0C\u5C06\u4F7F\u7528 90% \u7684 `#editor.fontSize#`\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u663E\u793A\u5185\u8054\u989C\u8272\u4FEE\u9970\u5668\u548C\u989C\u8272\u9009\u53D6\u5668\u3002","\u5728\u989C\u8272\u4FEE\u9970\u5668\u5355\u51FB\u548C\u60AC\u505C\u65F6\u4F7F\u989C\u8272\u9009\u53D6\u5668\u540C\u65F6\u663E\u793A","\u4F7F\u989C\u8272\u9009\u53D6\u5668\u5728\u989C\u8272\u4FEE\u9970\u5668\u60AC\u505C\u65F6\u663E\u793A","\u5355\u51FB\u989C\u8272\u4FEE\u9970\u5668\u65F6\u663E\u793A\u989C\u8272\u9009\u53D6\u5668","\u63A7\u5236\u4ECE\u989C\u8272\u4FEE\u9970\u5668\u663E\u793A\u989C\u8272\u9009\u53D6\u5668\u7684\u6761\u4EF6","\u63A7\u5236\u53EF\u4E00\u6B21\u6027\u5728\u7F16\u8F91\u5668\u4E2D\u5448\u73B0\u7684\u6700\u5927\u989C\u8272\u4FEE\u9970\u5668\u6570\u3002","\u542F\u7528\u4F7F\u7528\u9F20\u6807\u548C\u952E\u8FDB\u884C\u5217\u9009\u62E9\u3002","\u63A7\u5236\u5728\u590D\u5236\u65F6\u662F\u5426\u540C\u65F6\u590D\u5236\u8BED\u6CD5\u9AD8\u4EAE\u3002","\u63A7\u5236\u5149\u6807\u7684\u52A8\u753B\u6837\u5F0F\u3002","\u5DF2\u7981\u7528\u5E73\u6ED1\u8131\u5B57\u53F7\u52A8\u753B\u3002","\u4EC5\u5F53\u7528\u6237\u4F7F\u7528\u663E\u5F0F\u624B\u52BF\u79FB\u52A8\u5149\u6807\u65F6\uFF0C\u624D\u542F\u7528\u5E73\u6ED1\u8131\u5B57\u53F7\u52A8\u753B\u3002","\u59CB\u7EC8\u542F\u7528\u5E73\u6ED1\u8131\u5B57\u53F7\u52A8\u753B\u3002","\u63A7\u5236\u662F\u5426\u542F\u7528\u5E73\u6ED1\u63D2\u5165\u52A8\u753B\u3002","\u63A7\u5236\u5149\u6807\u6837\u5F0F\u3002","\u63A7\u5236\u5149\u6807\u5468\u56F4\u53EF\u89C1\u7684\u524D\u7F6E\u884C(\u6700\u5C0F\u503C\u4E3A 0)\u548C\u5C3E\u968F\u884C(\u6700\u5C0F\u503C\u4E3A 1)\u7684\u6700\u5C0F\u6570\u76EE\u3002\u5728\u5176\u4ED6\u4E00\u4E9B\u7F16\u8F91\u5668\u4E2D\u79F0\u4E3A \u201CscrollOff\u201D \u6216 \u201CscrollOffset\u201D\u3002",'\u4EC5\u5F53\u901A\u8FC7\u952E\u76D8\u6216 API \u89E6\u53D1\u65F6\uFF0C\u624D\u4F1A\u5F3A\u5236\u6267\u884C"\u5149\u6807\u73AF\u7ED5\u884C"\u3002','\u59CB\u7EC8\u5F3A\u5236\u6267\u884C "cursorSurroundingLines"','\u63A7\u5236\u4F55\u65F6\u5E94\u5F3A\u5236\u6267\u884C"#\u5149\u6807\u73AF\u7ED5\u884C#"\u3002',"\u5F53 `#editor.cursorStyle#` \u8BBE\u7F6E\u4E3A `line` \u65F6\uFF0C\u63A7\u5236\u5149\u6807\u7684\u5BBD\u5EA6\u3002","\u63A7\u5236\u5728\u7F16\u8F91\u5668\u4E2D\u662F\u5426\u5141\u8BB8\u901A\u8FC7\u62D6\u653E\u6765\u79FB\u52A8\u9009\u4E2D\u5185\u5BB9\u3002","\u5C06\u65B0\u7684\u5448\u73B0\u65B9\u6CD5\u4E0E svg \u914D\u5408\u4F7F\u7528\u3002","\u4F7F\u7528\u5305\u542B\u5B57\u4F53\u5B57\u7B26\u7684\u65B0\u5448\u73B0\u65B9\u6CD5\u3002","\u4F7F\u7528\u7A33\u5B9A\u5448\u73B0\u65B9\u6CD5\u3002","\u63A7\u5236\u662F\u5426\u4F7F\u7528\u65B0\u7684\u5B9E\u9A8C\u6027\u65B9\u6CD5\u5448\u73B0\u7A7A\u683C\u3002",'\u6309\u4E0B"Alt"\u65F6\u6EDA\u52A8\u901F\u5EA6\u500D\u589E\u3002',"\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u542F\u7528\u4E86\u4EE3\u7801\u6298\u53E0\u3002","\u4F7F\u7528\u7279\u5B9A\u4E8E\u8BED\u8A00\u7684\u6298\u53E0\u7B56\u7565(\u5982\u679C\u53EF\u7528)\uFF0C\u5426\u5219\u4F7F\u7528\u57FA\u4E8E\u7F29\u8FDB\u7684\u7B56\u7565\u3002","\u4F7F\u7528\u57FA\u4E8E\u7F29\u8FDB\u7684\u6298\u53E0\u7B56\u7565\u3002","\u63A7\u5236\u8BA1\u7B97\u6298\u53E0\u8303\u56F4\u7684\u7B56\u7565\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u7A81\u51FA\u663E\u793A\u6298\u53E0\u8303\u56F4\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u81EA\u52A8\u6298\u53E0\u5BFC\u5165\u8303\u56F4\u3002","\u53EF\u6298\u53E0\u533A\u57DF\u7684\u6700\u5927\u6570\u91CF\u3002\u5982\u679C\u5F53\u524D\u6E90\u5177\u6709\u5927\u91CF\u53EF\u6298\u53E0\u533A\u57DF\uFF0C\u90A3\u4E48\u589E\u52A0\u6B64\u503C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u7F16\u8F91\u5668\u7684\u54CD\u5E94\u901F\u5EA6\u53D8\u6162\u3002","\u63A7\u5236\u5355\u51FB\u5DF2\u6298\u53E0\u7684\u884C\u540E\u9762\u7684\u7A7A\u5185\u5BB9\u662F\u5426\u4F1A\u5C55\u5F00\u8BE5\u884C\u3002","\u63A7\u5236\u5B57\u4F53\u7CFB\u5217\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u81EA\u52A8\u683C\u5F0F\u5316\u7C98\u8D34\u7684\u5185\u5BB9\u3002\u683C\u5F0F\u5316\u7A0B\u5E8F\u5FC5\u987B\u53EF\u7528\uFF0C\u5E76\u4E14\u80FD\u9488\u5BF9\u6587\u6863\u4E2D\u7684\u67D0\u4E00\u8303\u56F4\u8FDB\u884C\u683C\u5F0F\u5316\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u5728\u952E\u5165\u4E00\u884C\u540E\u662F\u5426\u81EA\u52A8\u683C\u5F0F\u5316\u8BE5\u884C\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u5448\u73B0\u5782\u76F4\u5B57\u5F62\u8FB9\u8DDD\u3002\u5B57\u5F62\u8FB9\u8DDD\u6700\u5E38\u7528\u4E8E\u8C03\u8BD5\u3002","\u63A7\u5236\u662F\u5426\u5728\u6982\u89C8\u6807\u5C3A\u4E2D\u9690\u85CF\u5149\u6807\u3002","\u63A7\u5236\u5B57\u6BCD\u95F4\u8DDD(\u50CF\u7D20)\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5DF2\u542F\u7528\u94FE\u63A5\u7F16\u8F91\u3002\u76F8\u5173\u7B26\u53F7(\u5982 HTML \u6807\u8BB0)\u5C06\u5728\u7F16\u8F91\u65F6\u8FDB\u884C\u66F4\u65B0\uFF0C\u5177\u4F53\u53D6\u51B3\u4E8E\u8BED\u8A00\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u68C0\u6D4B\u94FE\u63A5\u5E76\u4F7F\u5176\u53EF\u88AB\u70B9\u51FB\u3002","\u7A81\u51FA\u663E\u793A\u5339\u914D\u7684\u62EC\u53F7\u3002","\u5BF9\u9F20\u6807\u6EDA\u8F6E\u6EDA\u52A8\u4E8B\u4EF6\u7684 `deltaX` \u548C `deltaY` \u4E58\u4E0A\u7684\u7CFB\u6570\u3002","\u6309\u4F4F `Ctrl` \u952E\u5E76\u6EDA\u52A8\u9F20\u6807\u6EDA\u8F6E\u65F6\u5BF9\u7F16\u8F91\u5668\u5B57\u4F53\u5927\u5C0F\u8FDB\u884C\u7F29\u653E\u3002","\u5F53\u591A\u4E2A\u5149\u6807\u91CD\u53E0\u65F6\u8FDB\u884C\u5408\u5E76\u3002","\u6620\u5C04\u4E3A `Ctrl` (Windows \u548C Linux) \u6216 `Command` (macOS)\u3002","\u6620\u5C04\u4E3A `Alt` (Windows \u548C Linux) \u6216 `Option` (macOS)\u3002","\u7528\u4E8E\u4F7F\u7528\u9F20\u6807\u6DFB\u52A0\u591A\u4E2A\u6E38\u6807\u7684\u4FEE\u9970\u7B26\u3002\u201C\u8F6C\u5230\u5B9A\u4E49\u201D\u548C\u201C\u6253\u5F00\u94FE\u63A5\u201D\u9F20\u6807\u624B\u52BF\u5C06\u8FDB\u884C\u8C03\u6574\uFF0C\u4F7F\u5176\u4E0D\u4E0E [\u591A\u5149\u6807\u4FEE\u9970\u7B26](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)\u51B2\u7A81\u3002","\u6BCF\u4E2A\u5149\u6807\u7C98\u8D34\u4E00\u884C\u6587\u672C\u3002","\u6BCF\u4E2A\u5149\u6807\u7C98\u8D34\u5168\u6587\u3002","\u63A7\u5236\u7C98\u8D34\u65F6\u7C98\u8D34\u6587\u672C\u7684\u884C\u8BA1\u6570\u4E0E\u5149\u6807\u8BA1\u6570\u76F8\u5339\u914D\u3002","\u63A7\u5236\u4E00\u6B21\u53EF\u4EE5\u5728\u6D3B\u52A8\u7F16\u8F91\u5668\u4E2D\u663E\u793A\u7684\u6700\u5927\u6E38\u6807\u6570\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u7A81\u51FA\u663E\u793A\u8BED\u4E49\u7B26\u53F7\u7684\u5339\u914D\u9879\u3002","\u63A7\u5236\u662F\u5426\u5728\u6982\u89C8\u6807\u5C3A\u5468\u56F4\u7ED8\u5236\u8FB9\u6846\u3002","\u6253\u5F00\u901F\u89C8\u65F6\u805A\u7126\u6811","\u6253\u5F00\u9884\u89C8\u65F6\u5C06\u7126\u70B9\u653E\u5728\u7F16\u8F91\u5668\u4E0A","\u63A7\u5236\u662F\u5C06\u7126\u70B9\u653E\u5728\u5185\u8054\u7F16\u8F91\u5668\u4E0A\u8FD8\u662F\u653E\u5728\u9884\u89C8\u5C0F\u90E8\u4EF6\u4E2D\u7684\u6811\u4E0A\u3002",'\u63A7\u5236"\u8F6C\u5230\u5B9A\u4E49"\u9F20\u6807\u624B\u52BF\u662F\u5426\u59CB\u7EC8\u6253\u5F00\u9884\u89C8\u5C0F\u90E8\u4EF6\u3002',"\u63A7\u5236\u663E\u793A\u5FEB\u901F\u5EFA\u8BAE\u524D\u7684\u7B49\u5F85\u65F6\u95F4 (\u6BEB\u79D2)\u3002","\u63A7\u5236\u662F\u5426\u5728\u7F16\u8F91\u5668\u4E2D\u8F93\u5165\u65F6\u81EA\u52A8\u91CD\u547D\u540D\u3002",'\u5DF2\u5F03\u7528\uFF0C\u8BF7\u6539\u7528 "editor.linkedEditing"\u3002',"\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u663E\u793A\u63A7\u5236\u5B57\u7B26\u3002","\u5F53\u6587\u4EF6\u4EE5\u6362\u884C\u7B26\u7ED3\u675F\u65F6, \u5448\u73B0\u6700\u540E\u4E00\u884C\u7684\u884C\u53F7\u3002","\u540C\u65F6\u7A81\u51FA\u663E\u793A\u5BFC\u822A\u7EBF\u548C\u5F53\u524D\u884C\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u7684\u5F53\u524D\u884C\u8FDB\u884C\u9AD8\u4EAE\u663E\u793A\u7684\u65B9\u5F0F\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u4EC5\u5728\u7126\u70B9\u5728\u7F16\u8F91\u5668\u65F6\u7A81\u51FA\u663E\u793A\u5F53\u524D\u884C\u3002","\u5448\u73B0\u7A7A\u683C\u5B57\u7B26(\u5B57\u8BCD\u4E4B\u95F4\u7684\u5355\u4E2A\u7A7A\u683C\u9664\u5916)\u3002","\u4EC5\u5728\u9009\u5B9A\u6587\u672C\u4E0A\u5448\u73B0\u7A7A\u767D\u5B57\u7B26\u3002","\u4EC5\u5448\u73B0\u5C3E\u968F\u7A7A\u683C\u5B57\u7B26\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u5728\u7A7A\u767D\u5B57\u7B26\u4E0A\u663E\u793A\u7B26\u53F7\u7684\u65B9\u5F0F\u3002","\u63A7\u5236\u9009\u533A\u662F\u5426\u6709\u5706\u89D2\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u6C34\u5E73\u6EDA\u52A8\u65F6\u53EF\u4EE5\u8D85\u8FC7\u8303\u56F4\u7684\u5B57\u7B26\u6570\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u53EF\u4EE5\u6EDA\u52A8\u5230\u6700\u540E\u4E00\u884C\u4E4B\u540E\u3002","\u540C\u65F6\u5782\u76F4\u548C\u6C34\u5E73\u6EDA\u52A8\u65F6\uFF0C\u4EC5\u6CBF\u4E3B\u8F74\u6EDA\u52A8\u3002\u5728\u89E6\u63A7\u677F\u4E0A\u5782\u76F4\u6EDA\u52A8\u65F6\uFF0C\u53EF\u9632\u6B62\u6C34\u5E73\u6F02\u79FB\u3002","\u63A7\u5236\u662F\u5426\u652F\u6301 Linux \u4E3B\u526A\u8D34\u677F\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u5E94\u7A81\u51FA\u663E\u793A\u4E0E\u6240\u9009\u5185\u5BB9\u7C7B\u4F3C\u7684\u5339\u914D\u9879\u3002","\u59CB\u7EC8\u663E\u793A\u6298\u53E0\u63A7\u4EF6\u3002","\u5207\u52FF\u663E\u793A\u6298\u53E0\u63A7\u4EF6\u5E76\u51CF\u5C0F\u88C5\u8BA2\u7EBF\u5927\u5C0F\u3002","\u4EC5\u5728\u9F20\u6807\u4F4D\u4E8E\u88C5\u8BA2\u7EBF\u4E0A\u65B9\u65F6\u663E\u793A\u6298\u53E0\u63A7\u4EF6\u3002","\u63A7\u5236\u4F55\u65F6\u663E\u793A\u884C\u53F7\u69FD\u4E0A\u7684\u6298\u53E0\u63A7\u4EF6\u3002","\u63A7\u5236\u662F\u5426\u6DE1\u5316\u672A\u4F7F\u7528\u7684\u4EE3\u7801\u3002","\u63A7\u5236\u52A0\u5220\u9664\u7EBF\u88AB\u5F03\u7528\u7684\u53D8\u91CF\u3002","\u5728\u5176\u4ED6\u5EFA\u8BAE\u4E0A\u65B9\u663E\u793A\u4EE3\u7801\u7247\u6BB5\u5EFA\u8BAE\u3002","\u5728\u5176\u4ED6\u5EFA\u8BAE\u4E0B\u65B9\u663E\u793A\u4EE3\u7801\u7247\u6BB5\u5EFA\u8BAE\u3002","\u5728\u5176\u4ED6\u5EFA\u8BAE\u4E2D\u7A7F\u63D2\u663E\u793A\u4EE3\u7801\u7247\u6BB5\u5EFA\u8BAE\u3002","\u4E0D\u663E\u793A\u4EE3\u7801\u7247\u6BB5\u5EFA\u8BAE\u3002","\u63A7\u5236\u4EE3\u7801\u7247\u6BB5\u662F\u5426\u4E0E\u5176\u4ED6\u5EFA\u8BAE\u4E00\u8D77\u663E\u793A\u53CA\u5176\u6392\u5217\u7684\u4F4D\u7F6E\u3002","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u5426\u4F7F\u7528\u52A8\u753B\u6EDA\u52A8\u3002","\u63A7\u5236\u5728\u663E\u793A\u5185\u8054\u5B8C\u6210\u65F6\u662F\u5426\u5E94\u5411\u5C4F\u5E55\u9605\u8BFB\u5668\u7528\u6237\u63D0\u4F9B\u8F85\u52A9\u529F\u80FD\u63D0\u793A\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u5B57\u53F7\u3002\u8BBE\u7F6E\u4E3A {0} \u65F6\uFF0C\u5C06\u4F7F\u7528 {1} \u7684\u503C\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u884C\u9AD8\u3002\u8BBE\u7F6E\u4E3A {0} \u65F6\uFF0C\u5C06\u4F7F\u7528 {1} \u7684\u503C\u3002\u6700\u5C0F\u503C\u4E3A 8\u3002","\u63A7\u5236\u5728\u952E\u5165\u89E6\u53D1\u5B57\u7B26\u540E\u662F\u5426\u81EA\u52A8\u663E\u793A\u5EFA\u8BAE\u3002","\u59CB\u7EC8\u9009\u62E9\u7B2C\u4E00\u4E2A\u5EFA\u8BAE\u3002","\u9009\u62E9\u6700\u8FD1\u7684\u5EFA\u8BAE\uFF0C\u9664\u975E\u8FDB\u4E00\u6B65\u952E\u5165\u9009\u62E9\u5176\u4ED6\u9879\u3002\u4F8B\u5982 `console. -> console.log`\uFF0C\u56E0\u4E3A\u6700\u8FD1\u8865\u5168\u8FC7 `log`\u3002","\u6839\u636E\u4E4B\u524D\u8865\u5168\u8FC7\u7684\u5EFA\u8BAE\u7684\u524D\u7F00\u6765\u8FDB\u884C\u9009\u62E9\u3002\u4F8B\u5982\uFF0C`co -> console`\u3001`con -> const`\u3002","\u63A7\u5236\u5728\u5EFA\u8BAE\u5217\u8868\u4E2D\u5982\u4F55\u9884\u5148\u9009\u62E9\u5EFA\u8BAE\u3002","\u5728\u6309\u4E0B Tab \u952E\u65F6\u8FDB\u884C Tab \u8865\u5168\uFF0C\u5C06\u63D2\u5165\u6700\u4F73\u5339\u914D\u5EFA\u8BAE\u3002","\u7981\u7528 Tab \u8865\u5168\u3002",'\u5728\u524D\u7F00\u5339\u914D\u65F6\u8FDB\u884C Tab \u8865\u5168\u3002\u5728 "quickSuggestions" \u672A\u542F\u7528\u65F6\u4F53\u9A8C\u6700\u597D\u3002',"\u542F\u7528 Tab \u8865\u5168\u3002","\u81EA\u52A8\u5220\u9664\u5F02\u5E38\u7684\u884C\u7EC8\u6B62\u7B26\u3002","\u5FFD\u7565\u5F02\u5E38\u7684\u884C\u7EC8\u6B62\u7B26\u3002","\u63D0\u793A\u5220\u9664\u5F02\u5E38\u7684\u884C\u7EC8\u6B62\u7B26\u3002","\u5220\u9664\u53EF\u80FD\u5BFC\u81F4\u95EE\u9898\u7684\u5F02\u5E38\u884C\u7EC8\u6B62\u7B26\u3002","\u6839\u636E\u5236\u8868\u4F4D\u63D2\u5165\u548C\u5220\u9664\u7A7A\u683C\u3002","\u4F7F\u7528\u9ED8\u8BA4\u6362\u884C\u89C4\u5219\u3002","\u4E2D\u6587/\u65E5\u8BED/\u97E9\u8BED(CJK)\u6587\u672C\u4E0D\u5E94\u4F7F\u7528\u65AD\u5B57\u529F\u80FD\u3002\u975E CJK \u6587\u672C\u884C\u4E3A\u4E0E\u666E\u901A\u6587\u672C\u884C\u4E3A\u76F8\u540C\u3002","\u63A7\u5236\u4E2D\u6587/\u65E5\u8BED/\u97E9\u8BED(CJK)\u6587\u672C\u4F7F\u7528\u7684\u65AD\u5B57\u89C4\u5219\u3002","\u6267\u884C\u5355\u8BCD\u76F8\u5173\u7684\u5BFC\u822A\u6216\u64CD\u4F5C\u65F6\u4F5C\u4E3A\u5355\u8BCD\u5206\u9694\u7B26\u7684\u5B57\u7B26\u3002","\u6C38\u4E0D\u6362\u884C\u3002","\u5C06\u5728\u89C6\u533A\u5BBD\u5EA6\u5904\u6362\u884C\u3002","\u5728 `#editor.wordWrapColumn#` \u5904\u6298\u884C\u3002","\u5728\u89C6\u533A\u5BBD\u5EA6\u548C `#editor.wordWrapColumn#` \u4E2D\u7684\u8F83\u5C0F\u503C\u5904\u6298\u884C\u3002","\u63A7\u5236\u6298\u884C\u7684\u65B9\u5F0F\u3002","\u5728 `#editor.wordWrap#` \u4E3A `wordWrapColumn` \u6216 `bounded` \u65F6\uFF0C\u63A7\u5236\u7F16\u8F91\u5668\u7684\u6298\u884C\u5217\u3002","\u63A7\u5236\u662F\u5426\u5E94\u4F7F\u7528\u9ED8\u8BA4\u6587\u6863\u989C\u8272\u63D0\u4F9B\u7A0B\u5E8F\u663E\u793A\u5185\u8054\u989C\u8272\u4FEE\u9970","\u63A7\u5236\u7F16\u8F91\u5668\u662F\u63A5\u6536\u9009\u9879\u5361\u8FD8\u662F\u5C06\u5176\u5EF6\u8FDF\u5230\u5DE5\u4F5C\u53F0\u8FDB\u884C\u5BFC\u822A\u3002"],"vs/editor/common/core/editorColorRegistry":["\u5149\u6807\u6240\u5728\u884C\u9AD8\u4EAE\u5185\u5BB9\u7684\u80CC\u666F\u989C\u8272\u3002","\u5149\u6807\u6240\u5728\u884C\u56DB\u5468\u8FB9\u6846\u7684\u80CC\u666F\u989C\u8272\u3002","\u80CC\u666F\u989C\u8272\u7684\u9AD8\u4EAE\u8303\u56F4\uFF0C\u559C\u6B22\u901A\u8FC7\u5FEB\u901F\u6253\u5F00\u548C\u67E5\u627E\u529F\u80FD\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u9AD8\u4EAE\u533A\u57DF\u8FB9\u6846\u7684\u80CC\u666F\u989C\u8272\u3002","\u9AD8\u4EAE\u663E\u793A\u7B26\u53F7\u7684\u80CC\u666F\u989C\u8272\uFF0C\u4F8B\u5982\u8F6C\u5230\u5B9A\u4E49\u6216\u8F6C\u5230\u4E0B\u4E00\u4E2A/\u4E0A\u4E00\u4E2A\u7B26\u53F7\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u9AD8\u4EAE\u663E\u793A\u7B26\u53F7\u5468\u56F4\u7684\u8FB9\u6846\u7684\u80CC\u666F\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5149\u6807\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5149\u6807\u7684\u80CC\u666F\u8272\u3002\u53EF\u4EE5\u81EA\u5B9A\u4E49\u5757\u578B\u5149\u6807\u8986\u76D6\u5B57\u7B26\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u7A7A\u767D\u5B57\u7B26\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u884C\u53F7\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF\u7684\u989C\u8272\u3002","\u201CeditorIndentGuide.background\u201D \u5DF2\u5F03\u7528\u3002\u8BF7\u6539\u7528 \u201CeditorIndentGuide.background1\u201D\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF\u7684\u989C\u8272\u3002","\u201CeditorIndentGuide.activeBackground\u201D \u5DF2\u5F03\u7528\u3002\u8BF7\u6539\u7528 \u201CeditorIndentGuide.activeBackground1\u201D\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (1) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (2) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (3) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (4) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (5) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u7F29\u8FDB\u53C2\u8003\u7EBF (6) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (1) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (2) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (3) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (4) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (5) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF (6) \u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6D3B\u52A8\u884C\u53F7\u7684\u989C\u8272",'"Id" \u5DF2\u88AB\u5F03\u7528\uFF0C\u8BF7\u6539\u7528 "editorLineNumber.activeForeground"\u3002',"\u7F16\u8F91\u5668\u6D3B\u52A8\u884C\u53F7\u7684\u989C\u8272","\u5C06 editor.renderFinalNewline \u8BBE\u7F6E\u4E3A\u7070\u8272\u65F6\u6700\u7EC8\u7F16\u8F91\u5668\u884C\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6807\u5C3A\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668 CodeLens \u7684\u524D\u666F\u8272","\u5339\u914D\u62EC\u53F7\u7684\u80CC\u666F\u8272","\u5339\u914D\u62EC\u53F7\u5916\u6846\u7684\u989C\u8272","\u6982\u89C8\u6807\u5C3A\u8FB9\u6846\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6982\u8FF0\u6807\u5C3A\u7684\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u5BFC\u822A\u7EBF\u7684\u80CC\u666F\u8272\u3002\u5BFC\u822A\u7EBF\u5305\u62EC\u8FB9\u7F18\u7B26\u53F7\u548C\u884C\u53F7\u3002","\u7F16\u8F91\u5668\u4E2D\u4E0D\u5FC5\u8981(\u672A\u4F7F\u7528)\u7684\u6E90\u4EE3\u7801\u7684\u8FB9\u6846\u989C\u8272\u3002",'\u975E\u5FC5\u987B(\u672A\u4F7F\u7528)\u4EE3\u7801\u7684\u5728\u7F16\u8F91\u5668\u4E2D\u663E\u793A\u7684\u4E0D\u900F\u660E\u5EA6\u3002\u4F8B\u5982\uFF0C"#000000c0" \u5C06\u4EE5 75% \u7684\u4E0D\u900F\u660E\u5EA6\u663E\u793A\u4EE3\u7801\u3002\u5BF9\u4E8E\u9AD8\u5BF9\u6BD4\u5EA6\u4E3B\u9898\uFF0C\u8BF7\u4F7F\u7528 \u201DeditorUnnecessaryCode.border\u201C \u4E3B\u9898\u6765\u4E3A\u975E\u5FC5\u987B\u4EE3\u7801\u6DFB\u52A0\u4E0B\u5212\u7EBF\uFF0C\u4EE5\u907F\u514D\u989C\u8272\u6DE1\u5316\u3002',"\u7F16\u8F91\u5668\u4E2D\u865A\u5F71\u6587\u672C\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u865A\u5F71\u6587\u672C\u7684\u524D\u666F\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u865A\u5F71\u6587\u672C\u7684\u80CC\u666F\u8272\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A\u8303\u56F4\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u6982\u89C8\u6807\u5C3A\u4E2D\u9519\u8BEF\u6807\u8BB0\u7684\u989C\u8272\u3002","\u6982\u89C8\u6807\u5C3A\u4E2D\u8B66\u544A\u6807\u8BB0\u7684\u989C\u8272\u3002","\u6982\u89C8\u6807\u5C3A\u4E2D\u4FE1\u606F\u6807\u8BB0\u7684\u989C\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(1)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(2)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(3)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(4)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(5)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u62EC\u53F7\u7684\u524D\u666F\u8272(6)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u7740\u8272\u3002","\u65B9\u62EC\u53F7\u51FA\u73B0\u610F\u5916\u7684\u524D\u666F\u8272\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(1)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(2)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(3)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(4)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(5)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u975E\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(6)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(1)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(2)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(3)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(4)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(5)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u6D3B\u52A8\u62EC\u53F7\u5BF9\u6307\u5357\u7684\u80CC\u666F\u8272(6)\u3002\u9700\u8981\u542F\u7528\u62EC\u53F7\u5BF9\u6307\u5357\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A Unicode \u5B57\u7B26\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A Unicode \u5B57\u7B26\u7684\u80CC\u666F\u989C\u8272\u3002"],"vs/editor/common/editorContextKeys":["\u7F16\u8F91\u5668\u6587\u672C\u662F\u5426\u5177\u6709\u7126\u70B9(\u5149\u6807\u662F\u5426\u95EA\u70C1)","\u7F16\u8F91\u5668\u6216\u7F16\u8F91\u5668\u5C0F\u7EC4\u4EF6\u662F\u5426\u5177\u6709\u7126\u70B9(\u4F8B\u5982\u7126\u70B9\u5728\u201C\u67E5\u627E\u201D\u5C0F\u7EC4\u4EF6\u4E2D)","\u7F16\u8F91\u5668\u6216 RTF \u8F93\u5165\u662F\u5426\u6709\u7126\u70B9(\u5149\u6807\u662F\u5426\u95EA\u70C1)","\u7F16\u8F91\u5668\u662F\u5426\u4E3A\u53EA\u8BFB","\u4E0A\u4E0B\u6587\u662F\u5426\u4E3A\u5DEE\u5F02\u7F16\u8F91\u5668","\u4E0A\u4E0B\u6587\u662F\u5426\u4E3A\u5D4C\u5165\u5F0F\u5DEE\u5F02\u7F16\u8F91\u5668","\u662F\u5426\u9009\u62E9\u79FB\u52A8\u7684\u4EE3\u7801\u5757\u8FDB\u884C\u6BD4\u8F83","\u53EF\u8BBF\u95EE\u5DEE\u5F02\u67E5\u770B\u5668\u662F\u5426\u53EF\u89C1","\u662F\u5426\u5DF2\u5230\u8FBE\u5DEE\u5F02\u7F16\u8F91\u5668\u5E76\u6392\u5448\u73B0\u5185\u8054\u65AD\u70B9",'\u662F\u5426\u5DF2\u542F\u7528 "editor.columnSelection"',"\u7F16\u8F91\u5668\u662F\u5426\u5DF2\u9009\u5B9A\u6587\u672C","\u7F16\u8F91\u5668\u662F\u5426\u6709\u591A\u4E2A\u9009\u62E9",'"Tab" \u662F\u5426\u5C06\u7126\u70B9\u79FB\u51FA\u7F16\u8F91\u5668',"\u7F16\u8F91\u5668\u8F6F\u952E\u76D8\u662F\u5426\u53EF\u89C1","\u662F\u5426\u805A\u7126\u7F16\u8F91\u5668\u60AC\u505C","\u662F\u5426\u805A\u7126\u7C98\u6027\u6EDA\u52A8","\u7C98\u6027\u6EDA\u52A8\u662F\u5426\u53EF\u89C1","\u72EC\u7ACB\u989C\u8272\u9009\u53D6\u5668\u662F\u5426\u53EF\u89C1","\u72EC\u7ACB\u989C\u8272\u9009\u53D6\u5668\u662F\u5426\u805A\u7126","\u8BE5\u7F16\u8F91\u5668\u662F\u5426\u662F\u66F4\u5927\u7684\u7F16\u8F91\u5668(\u4F8B\u5982\u7B14\u8BB0\u672C)\u7684\u4E00\u90E8\u5206","\u7F16\u8F91\u5668\u7684\u8BED\u8A00\u6807\u8BC6\u7B26","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u8865\u5168\u9879\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u4EE3\u7801\u64CD\u4F5C\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709 CodeLens \u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u5B9A\u4E49\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u58F0\u660E\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u5B9E\u73B0\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u7C7B\u578B\u5B9A\u4E49\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u60AC\u505C\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u6587\u6863\u7A81\u51FA\u663E\u793A\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u6587\u6863\u7B26\u53F7\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u5F15\u7528\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u91CD\u547D\u540D\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u7B7E\u540D\u5E2E\u52A9\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u5185\u8054\u63D0\u793A\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u6587\u6863\u683C\u5F0F\u8BBE\u7F6E\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u6587\u6863\u9009\u62E9\u683C\u5F0F\u8BBE\u7F6E\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u5177\u6709\u591A\u4E2A\u6587\u6863\u683C\u5F0F\u8BBE\u7F6E\u63D0\u4F9B\u7A0B\u5E8F","\u7F16\u8F91\u5668\u662F\u5426\u6709\u591A\u4E2A\u6587\u6863\u9009\u62E9\u683C\u5F0F\u8BBE\u7F6E\u63D0\u4F9B\u7A0B\u5E8F"],"vs/editor/common/languages":["\u6570\u7EC4","\u5E03\u5C14\u503C","\u7C7B","\u5E38\u6570","\u6784\u9020\u51FD\u6570","\u679A\u4E3E","\u679A\u4E3E\u6210\u5458","\u4E8B\u4EF6","\u5B57\u6BB5","\u6587\u4EF6","\u51FD\u6570","\u63A5\u53E3","\u952E","\u65B9\u6CD5","\u6A21\u5757","\u547D\u540D\u7A7A\u95F4","Null","\u6570\u5B57","\u5BF9\u8C61","\u8FD0\u7B97\u7B26","\u5305","\u5C5E\u6027","\u5B57\u7B26\u4E32","\u7ED3\u6784","\u7C7B\u578B\u53C2\u6570","\u53D8\u91CF","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["\u7EAF\u6587\u672C"],"vs/editor/common/model/editStack":["\u8F93\u5165"],"vs/editor/common/standaloneStrings":["\u5F00\u53D1\u4EBA\u5458: \u68C0\u67E5\u4EE4\u724C","\u8F6C\u5230\u884C/\u5217...","\u663E\u793A\u6240\u6709\u5FEB\u901F\u8BBF\u95EE\u63D0\u4F9B\u7A0B\u5E8F","\u547D\u4EE4\u9762\u677F","\u663E\u793A\u5E76\u8FD0\u884C\u547D\u4EE4","\u8F6C\u5230\u7B26\u53F7...","\u6309\u7C7B\u522B\u8F6C\u5230\u7B26\u53F7...","\u7F16\u8F91\u5668\u5185\u5BB9","\u6309 Alt+F1 \u53EF\u6253\u5F00\u8F85\u52A9\u529F\u80FD\u9009\u9879\u3002","\u5207\u6362\u9AD8\u5BF9\u6BD4\u5EA6\u4E3B\u9898","\u5728 {1} \u4E2A\u6587\u4EF6\u4E2D\u8FDB\u884C\u4E86 {0} \u6B21\u7F16\u8F91"],"vs/editor/common/viewLayout/viewLineRenderer":["\u663E\u793A\u66F4\u591A({0})","{0} \u5B57\u7B26"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["\u9009\u62E9\u5B9A\u4F4D\u70B9","\u5B9A\u4F4D\u70B9\u8BBE\u7F6E\u4E3A {0}:{1}","\u8BBE\u7F6E\u9009\u62E9\u5B9A\u4F4D\u70B9","\u8F6C\u5230\u9009\u62E9\u5B9A\u4F4D\u70B9","\u9009\u62E9\u4ECE\u5B9A\u4F4D\u70B9\u5230\u5149\u6807","\u53D6\u6D88\u9009\u62E9\u5B9A\u4F4D\u70B9"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\u6982\u89C8\u6807\u5C3A\u4E0A\u8868\u793A\u5339\u914D\u62EC\u53F7\u7684\u6807\u8BB0\u989C\u8272\u3002","\u8F6C\u5230\u62EC\u53F7","\u9009\u62E9\u62EC\u53F7\u6240\u6709\u5185\u5BB9","\u5220\u9664\u62EC\u53F7","\u8F6C\u5230\u62EC\u53F7(&&B)"],"vs/editor/contrib/caretOperations/browser/caretOperations":["\u5411\u5DE6\u79FB\u52A8\u6240\u9009\u6587\u672C","\u5411\u53F3\u79FB\u52A8\u6240\u9009\u6587\u672C"],"vs/editor/contrib/caretOperations/browser/transpose":["\u8F6C\u7F6E\u5B57\u6BCD"],"vs/editor/contrib/clipboard/browser/clipboard":["\u526A\u5207(&&T)","\u526A\u5207","\u526A\u5207","\u526A\u5207","\u590D\u5236(&&C)","\u590D\u5236","\u590D\u5236","\u590D\u5236","\u590D\u5236\u4E3A","\u590D\u5236\u4E3A","\u5171\u4EAB","\u5171\u4EAB","\u5171\u4EAB","\u7C98\u8D34(&&P)","\u7C98\u8D34","\u7C98\u8D34","\u7C98\u8D34","\u590D\u5236\u5E76\u7A81\u51FA\u663E\u793A\u8BED\u6CD5"],"vs/editor/contrib/codeAction/browser/codeAction":["\u5E94\u7528\u4EE3\u7801\u64CD\u4F5C\u65F6\u53D1\u751F\u672A\u77E5\u9519\u8BEF"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["\u8981\u8FD0\u884C\u7684\u4EE3\u7801\u64CD\u4F5C\u7684\u79CD\u7C7B\u3002","\u63A7\u5236\u4F55\u65F6\u5E94\u7528\u8FD4\u56DE\u7684\u64CD\u4F5C\u3002","\u59CB\u7EC8\u5E94\u7528\u7B2C\u4E00\u4E2A\u8FD4\u56DE\u7684\u4EE3\u7801\u64CD\u4F5C\u3002","\u5982\u679C\u4EC5\u8FD4\u56DE\u7684\u7B2C\u4E00\u4E2A\u4EE3\u7801\u64CD\u4F5C\uFF0C\u5219\u5E94\u7528\u8BE5\u64CD\u4F5C\u3002","\u4E0D\u8981\u5E94\u7528\u8FD4\u56DE\u7684\u4EE3\u7801\u64CD\u4F5C\u3002","\u5982\u679C\u53EA\u5E94\u8FD4\u56DE\u9996\u9009\u4EE3\u7801\u64CD\u4F5C\uFF0C\u5219\u5E94\u8FD4\u56DE\u63A7\u4EF6\u3002","\u5FEB\u901F\u4FEE\u590D...","\u6CA1\u6709\u53EF\u7528\u7684\u4EE3\u7801\u64CD\u4F5C",'\u6CA1\u6709\u9002\u7528\u4E8E"{0}"\u7684\u9996\u9009\u4EE3\u7801\u64CD\u4F5C','\u6CA1\u6709\u9002\u7528\u4E8E"{0}"\u7684\u4EE3\u7801\u64CD\u4F5C',"\u6CA1\u6709\u53EF\u7528\u7684\u9996\u9009\u4EE3\u7801\u64CD\u4F5C","\u6CA1\u6709\u53EF\u7528\u7684\u4EE3\u7801\u64CD\u4F5C","\u91CD\u6784...",'\u6CA1\u6709\u9002\u7528\u4E8E"{0}"\u7684\u9996\u9009\u91CD\u6784','\u6CA1\u6709\u53EF\u7528\u7684"{0}"\u91CD\u6784',"\u6CA1\u6709\u53EF\u7528\u7684\u9996\u9009\u91CD\u6784","\u6CA1\u6709\u53EF\u7528\u7684\u91CD\u6784\u64CD\u4F5C","\u6E90\u4EE3\u7801\u64CD\u4F5C...",'\u6CA1\u6709\u9002\u7528\u4E8E"{0}"\u7684\u9996\u9009\u6E90\u64CD\u4F5C',"\u6CA1\u6709\u9002\u7528\u4E8E\u201C {0}\u201D\u7684\u6E90\u64CD\u4F5C","\u6CA1\u6709\u53EF\u7528\u7684\u9996\u9009\u6E90\u64CD\u4F5C","\u6CA1\u6709\u53EF\u7528\u7684\u6E90\u4EE3\u7801\u64CD\u4F5C","\u6574\u7406 import \u8BED\u53E5","\u6CA1\u6709\u53EF\u7528\u7684\u6574\u7406 import \u8BED\u53E5\u64CD\u4F5C","\u5168\u90E8\u4FEE\u590D","\u6CA1\u6709\u53EF\u7528\u7684\u201C\u5168\u90E8\u4FEE\u590D\u201D\u64CD\u4F5C","\u81EA\u52A8\u4FEE\u590D...","\u6CA1\u6709\u53EF\u7528\u7684\u81EA\u52A8\u4FEE\u590D\u7A0B\u5E8F"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["\u542F\u7528/\u7981\u7528\u5728\u4EE3\u7801\u64CD\u4F5C\u83DC\u5355\u4E2D\u663E\u793A\u7EC4\u6807\u5934\u3002","\u542F\u7528/\u7981\u7528\u5728\u5F53\u524D\u672A\u8FDB\u884C\u8BCA\u65AD\u65F6\u663E\u793A\u884C\u5185\u6700\u8FD1\u7684\u5FEB\u901F\u914D\u7F6E\u3002"],"vs/editor/contrib/codeAction/browser/codeActionController":["\u4E0A\u4E0B\u6587: {0} \u4F4D\u4E8E\u884C {1} \u548C\u5217 {2}\u3002","\u9690\u85CF\u5DF2\u7981\u7528\u9879","\u663E\u793A\u5DF2\u7981\u7528\u9879"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["\u66F4\u591A\u64CD\u4F5C...","\u5FEB\u901F\u4FEE\u590D","\u63D0\u53D6","\u5185\u8054","\u91CD\u5199","\u79FB\u52A8","\u5916\u4FA7\u4EE3\u7801","\u6E90\u4EE3\u7801\u64CD\u4F5C"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["\u663E\u793A\u4EE3\u7801\u64CD\u4F5C\u3002\u9996\u9009\u53EF\u7528\u7684\u5FEB\u901F\u4FEE\u590D({0})","\u663E\u793A\u4EE3\u7801\u64CD\u4F5C({0})","\u663E\u793A\u4EE3\u7801\u64CD\u4F5C"],"vs/editor/contrib/codelens/browser/codelensController":["\u663E\u793A\u5F53\u524D\u884C\u7684 Code Lens \u547D\u4EE4","\u9009\u62E9\u547D\u4EE4"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["\u5355\u51FB\u4EE5\u5207\u6362\u989C\u8272\u9009\u9879 (rgb/hsl/hex)","\u7528\u4E8E\u5173\u95ED\u989C\u8272\u9009\u53D6\u5668\u7684\u56FE\u6807"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["\u663E\u793A\u6216\u805A\u7126\u72EC\u7ACB\u989C\u8272\u9009\u53D6\u5668","&&\u663E\u793A\u6216\u805A\u7126\u72EC\u7ACB\u989C\u8272\u9009\u53D6\u5668","\u9690\u85CF\u989C\u8272\u9009\u53D6\u5668","\u4F7F\u7528\u72EC\u7ACB\u989C\u8272\u9009\u53D6\u5668\u63D2\u5165\u989C\u8272"],"vs/editor/contrib/comment/browser/comment":["\u5207\u6362\u884C\u6CE8\u91CA","\u5207\u6362\u884C\u6CE8\u91CA(&&T)","\u6DFB\u52A0\u884C\u6CE8\u91CA","\u5220\u9664\u884C\u6CE8\u91CA","\u5207\u6362\u5757\u6CE8\u91CA","\u5207\u6362\u5757\u6CE8\u91CA(&&B)"],"vs/editor/contrib/contextmenu/browser/contextmenu":["\u7F29\u7565\u56FE","\u5448\u73B0\u5B57\u7B26","\u5782\u76F4\u5927\u5C0F","\u6210\u6BD4\u4F8B","\u586B\u5145","\u9002\u5E94","\u6ED1\u5757","\u9F20\u6807\u60AC\u505C","\u59CB\u7EC8","\u663E\u793A\u7F16\u8F91\u5668\u4E0A\u4E0B\u6587\u83DC\u5355"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["\u5149\u6807\u64A4\u6D88","\u5149\u6807\u91CD\u505A"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["\u7C98\u8D34\u4E3A...","\u8981\u5C1D\u8BD5\u5E94\u7528\u7684\u7C98\u8D34\u7F16\u8F91\u7684 ID\u3002\u5982\u679C\u672A\u63D0\u4F9B\uFF0C\u7F16\u8F91\u5668\u5C06\u663E\u793A\u9009\u53D6\u5668\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["\u662F\u5426\u663E\u793A\u7C98\u8D34\u5C0F\u7EC4\u4EF6","\u663E\u793A\u7C98\u8D34\u9009\u9879...","\u6B63\u5728\u8FD0\u884C\u7C98\u8D34\u5904\u7406\u7A0B\u5E8F\u3002\u5355\u51FB\u4EE5\u53D6\u6D88","\u9009\u62E9\u7C98\u8D34\u64CD\u4F5C","\u6B63\u5728\u8FD0\u884C\u7C98\u8D34\u5904\u7406\u7A0B\u5E8F"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["\u5185\u7F6E","\u63D2\u5165\u7EAF\u6587\u672C","\u63D2\u5165 URI","\u63D2\u5165 URI","\u63D2\u5165\u8DEF\u5F84","\u63D2\u5165\u8DEF\u5F84","\u63D2\u5165\u76F8\u5BF9\u8DEF\u5F84","\u63D2\u5165\u76F8\u5BF9\u8DEF\u5F84"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["\u5C06\u9ED8\u8BA4\u653E\u7F6E\u63D0\u4F9B\u7A0B\u5E8F\u914D\u7F6E\u4E3A\u7528\u4E8E\u7ED9\u5B9A MIME \u7C7B\u578B\u7684\u5185\u5BB9\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["\u662F\u5426\u663E\u793A\u653E\u7F6E\u5C0F\u7EC4\u4EF6","\u663E\u793A\u653E\u7F6E\u9009\u9879...","\u6B63\u5728\u8FD0\u884C\u653E\u7F6E\u5904\u7406\u7A0B\u5E8F\u3002\u5355\u51FB\u4EE5\u53D6\u6D88"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["\u7F16\u8F91\u5668\u662F\u5426\u8FD0\u884C\u53EF\u53D6\u6D88\u7684\u64CD\u4F5C\uFF0C\u4F8B\u5982\u201C\u9884\u89C8\u5F15\u7528\u201D"],"vs/editor/contrib/find/browser/findController":["\u6587\u4EF6\u592A\u5927\uFF0C\u65E0\u6CD5\u6267\u884C\u5168\u90E8\u66FF\u6362\u64CD\u4F5C\u3002","\u67E5\u627E","\u67E5\u627E(&&F)",`\u91CD\u5199\u201C\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u201D\u6807\u8BB0\u3002\r +\u5C06\u4E0D\u4F1A\u4FDD\u7559\u8BE5\u6807\u8BB0\u4F9B\u5C06\u6765\u4F7F\u7528\u3002\r +0: \u4E0D\u6267\u884C\u4EFB\u4F55\u64CD\u4F5C\r +1: True\r +2: False`,`\u91CD\u5199\u201C\u5339\u914D\u6574\u4E2A\u5B57\u8BCD\u201D\u6807\u8BB0\u3002\r +\u5C06\u4E0D\u4F1A\u4FDD\u7559\u8BE5\u6807\u8BB0\u4F9B\u5C06\u6765\u4F7F\u7528\u3002\r +0: \u4E0D\u6267\u884C\u4EFB\u4F55\u64CD\u4F5C\r +1: True\r +2: False`,`\u91CD\u5199\u201C\u6570\u5B66\u6848\u4F8B\u201D\u6807\u8BB0\u3002\r +\u5C06\u4E0D\u4F1A\u4FDD\u7559\u8BE5\u6807\u8BB0\u4F9B\u5C06\u6765\u4F7F\u7528\u3002\r +0: \u4E0D\u6267\u884C\u4EFB\u4F55\u64CD\u4F5C\r +1: True\r +2: False`,`\u91CD\u5199\u201C\u4FDD\u7559\u670D\u52A1\u6848\u4F8B\u201D\u6807\u8BB0\u3002\r +\u5C06\u4E0D\u4F1A\u4FDD\u7559\u8BE5\u6807\u8BB0\u4F9B\u5C06\u6765\u4F7F\u7528\u3002\r +0: \u4E0D\u6267\u884C\u4EFB\u4F55\u64CD\u4F5C\r +1: True\r +2: False`,"\u4F7F\u7528\u53C2\u6570\u67E5\u627E","\u67E5\u627E\u9009\u5B9A\u5185\u5BB9","\u67E5\u627E\u4E0B\u4E00\u4E2A","\u67E5\u627E\u4E0A\u4E00\u4E2A","\u8F6C\u5230\u201C\u5339\u914D\u201D...","\u65E0\u5339\u914D\u9879\u3002\u8BF7\u5C1D\u8BD5\u641C\u7D22\u5176\u4ED6\u5185\u5BB9\u3002","\u952E\u5165\u6570\u5B57\u4EE5\u8F6C\u5230\u7279\u5B9A\u5339\u914D\u9879(\u4ECB\u4E8E 1 \u548C {0} \u4E4B\u95F4)","\u8BF7\u952E\u5165\u4ECB\u4E8E 1 \u548C {0} \u4E4B\u95F4\u7684\u6570\u5B57","\u8BF7\u952E\u5165\u4ECB\u4E8E 1 \u548C {0} \u4E4B\u95F4\u7684\u6570\u5B57","\u67E5\u627E\u4E0B\u4E00\u4E2A\u9009\u62E9","\u67E5\u627E\u4E0A\u4E00\u4E2A\u9009\u62E9","\u66FF\u6362","\u66FF\u6362(&&R)"],"vs/editor/contrib/find/browser/findWidget":["\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u201C\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E\u201D\u56FE\u6807\u3002","\u7528\u4E8E\u6307\u793A\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u5DF2\u6298\u53E0\u7684\u56FE\u6807\u3002","\u7528\u4E8E\u6307\u793A\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u5DF2\u5C55\u5F00\u7684\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u201C\u66FF\u6362\u201D\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u201C\u5168\u90E8\u66FF\u6362\u201D\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u201C\u67E5\u627E\u4E0A\u4E00\u4E2A\u201D\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u67E5\u627E\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u201C\u67E5\u627E\u4E0B\u4E00\u4E2A\u201D\u56FE\u6807\u3002","\u67E5\u627E/\u66FF\u6362","\u67E5\u627E","\u67E5\u627E","\u4E0A\u4E00\u4E2A\u5339\u914D\u9879","\u4E0B\u4E00\u4E2A\u5339\u914D\u9879","\u5728\u9009\u5B9A\u5185\u5BB9\u4E2D\u67E5\u627E","\u5173\u95ED","\u66FF\u6362","\u66FF\u6362","\u66FF\u6362","\u5168\u90E8\u66FF\u6362","\u5207\u6362\u66FF\u6362","\u4EC5\u9AD8\u4EAE\u4E86\u524D {0} \u4E2A\u7ED3\u679C\uFF0C\u4F46\u6240\u6709\u67E5\u627E\u64CD\u4F5C\u5747\u9488\u5BF9\u5168\u6587\u3002","\u7B2C {0} \u9879\uFF0C\u5171 {1} \u9879","\u65E0\u7ED3\u679C","\u627E\u5230 {0}","\u4E3A\u201C{1}\u201D\u627E\u5230 {0}","\u5728 {2} \u5904\u627E\u5230\u201C{1}\u201D\u7684 {0}","\u4E3A\u201C{1}\u201D\u627E\u5230 {0}","Ctrl+Enter \u73B0\u5728\u7531\u5168\u90E8\u66FF\u6362\u6539\u4E3A\u63D2\u5165\u6362\u884C\u3002\u4F60\u53EF\u4EE5\u4FEE\u6539editor.action.replaceAll \u7684\u6309\u952E\u7ED1\u5B9A\u4EE5\u8986\u76D6\u6B64\u884C\u4E3A\u3002"],"vs/editor/contrib/folding/browser/folding":["\u5C55\u5F00","\u4EE5\u9012\u5F52\u65B9\u5F0F\u5C55\u5F00","\u6298\u53E0","\u5207\u6362\u6298\u53E0","\u4EE5\u9012\u5F52\u65B9\u5F0F\u6298\u53E0","\u6298\u53E0\u6240\u6709\u5757\u6CE8\u91CA","\u6298\u53E0\u6240\u6709\u533A\u57DF","\u5C55\u5F00\u6240\u6709\u533A\u57DF","\u6298\u53E0\u9664\u9009\u5B9A\u9879\u4EE5\u5916\u7684\u6240\u6709\u9879","\u5C55\u5F00\u9664\u6240\u9009\u533A\u57DF\u4E4B\u5916\u7684\u6240\u6709\u533A\u57DF","\u5168\u90E8\u6298\u53E0","\u5168\u90E8\u5C55\u5F00","\u8DF3\u8F6C\u5230\u7236\u7EA7\u6298\u53E0","\u8F6C\u5230\u4E0A\u4E00\u4E2A\u6298\u53E0\u8303\u56F4","\u8F6C\u5230\u4E0B\u4E00\u4E2A\u6298\u53E0\u8303\u56F4","\u6839\u636E\u6240\u9009\u5185\u5BB9\u521B\u5EFA\u6298\u53E0\u8303\u56F4","\u5220\u9664\u624B\u52A8\u6298\u53E0\u8303\u56F4","\u6298\u53E0\u7EA7\u522B {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["\u6298\u53E0\u8303\u56F4\u540E\u9762\u7684\u80CC\u666F\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u8BBE\u4E3A\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u5E95\u5C42\u88C5\u9970\u3002","\u7F16\u8F91\u5668\u88C5\u8BA2\u7EBF\u4E2D\u6298\u53E0\u63A7\u4EF6\u7684\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5B57\u5F62\u8FB9\u8DDD\u4E2D\u5DF2\u5C55\u5F00\u7684\u8303\u56F4\u7684\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u5B57\u5F62\u8FB9\u8DDD\u4E2D\u5DF2\u6298\u53E0\u7684\u8303\u56F4\u7684\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u5B57\u5F62\u8FB9\u8DDD\u4E2D\u624B\u52A8\u6298\u53E0\u7684\u8303\u56F4\u7684\u56FE\u6807\u3002","\u7F16\u8F91\u5668\u5B57\u5F62\u8FB9\u8DDD\u4E2D\u624B\u52A8\u5C55\u5F00\u7684\u8303\u56F4\u7684\u56FE\u6807\u3002"],"vs/editor/contrib/fontZoom/browser/fontZoom":["\u653E\u5927\u7F16\u8F91\u5668\u5B57\u4F53","\u7F29\u5C0F\u7F16\u8F91\u5668\u5B57\u4F53","\u91CD\u7F6E\u7F16\u8F91\u5668\u5B57\u4F53\u5927\u5C0F"],"vs/editor/contrib/format/browser/format":["\u5728\u7B2C {0} \u884C\u8FDB\u884C\u4E86 1 \u6B21\u683C\u5F0F\u7F16\u8F91","\u5728\u7B2C {1} \u884C\u8FDB\u884C\u4E86 {0} \u6B21\u683C\u5F0F\u7F16\u8F91","\u7B2C {0} \u884C\u5230\u7B2C {1} \u884C\u95F4\u8FDB\u884C\u4E86 1 \u6B21\u683C\u5F0F\u7F16\u8F91","\u7B2C {1} \u884C\u5230\u7B2C {2} \u884C\u95F4\u8FDB\u884C\u4E86 {0} \u6B21\u683C\u5F0F\u7F16\u8F91"],"vs/editor/contrib/format/browser/formatActions":["\u683C\u5F0F\u5316\u6587\u6863","\u683C\u5F0F\u5316\u9009\u5B9A\u5185\u5BB9"],"vs/editor/contrib/gotoError/browser/gotoError":["\u8F6C\u5230\u4E0B\u4E00\u4E2A\u95EE\u9898 (\u9519\u8BEF\u3001\u8B66\u544A\u3001\u4FE1\u606F)","\u201C\u8F6C\u5230\u4E0B\u4E00\u4E2A\u201D\u6807\u8BB0\u7684\u56FE\u6807\u3002","\u8F6C\u5230\u4E0A\u4E00\u4E2A\u95EE\u9898 (\u9519\u8BEF\u3001\u8B66\u544A\u3001\u4FE1\u606F)","\u201C\u8F6C\u5230\u4E0A\u4E00\u4E2A\u201D\u6807\u8BB0\u7684\u56FE\u6807\u3002","\u8F6C\u5230\u6587\u4EF6\u4E2D\u7684\u4E0B\u4E00\u4E2A\u95EE\u9898 (\u9519\u8BEF\u3001\u8B66\u544A\u3001\u4FE1\u606F)","\u4E0B\u4E00\u4E2A\u95EE\u9898(&&P)","\u8F6C\u5230\u6587\u4EF6\u4E2D\u7684\u4E0A\u4E00\u4E2A\u95EE\u9898 (\u9519\u8BEF\u3001\u8B66\u544A\u3001\u4FE1\u606F)","\u4E0A\u4E00\u4E2A\u95EE\u9898(&&P)"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["\u9519\u8BEF","\u8B66\u544A","\u4FE1\u606F","\u63D0\u793A","{1} \u4E2D\u7684 {0}","{0} \u4E2A\u95EE\u9898(\u5171 {1} \u4E2A)","{0} \u4E2A\u95EE\u9898(\u5171 {1} \u4E2A)","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u9519\u8BEF\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u9519\u8BEF\u6807\u9898\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u8B66\u544A\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u8B66\u544A\u6807\u9898\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u4FE1\u606F\u989C\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u4FE1\u606F\u6807\u9898\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u6807\u8BB0\u5BFC\u822A\u5C0F\u7EC4\u4EF6\u80CC\u666F\u8272\u3002"],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["\u5FEB\u901F\u67E5\u770B","\u5B9A\u4E49","\u672A\u627E\u5230\u201C{0}\u201D\u7684\u4EFB\u4F55\u5B9A\u4E49","\u627E\u4E0D\u5230\u5B9A\u4E49","\u8F6C\u5230\u5B9A\u4E49","\u8F6C\u5230\u5B9A\u4E49(&&D)","\u6253\u5F00\u4FA7\u8FB9\u7684\u5B9A\u4E49","\u901F\u89C8\u5B9A\u4E49","\u58F0\u660E","\u672A\u627E\u5230\u201C{0}\u201D\u7684\u58F0\u660E","\u672A\u627E\u5230\u58F0\u660E","\u8F6C\u5230\u58F0\u660E","\u8F6C\u5230\u58F0\u660E(&&D)","\u672A\u627E\u5230\u201C{0}\u201D\u7684\u58F0\u660E","\u672A\u627E\u5230\u58F0\u660E","\u67E5\u770B\u58F0\u660E","\u7C7B\u578B\u5B9A\u4E49","\u672A\u627E\u5230\u201C{0}\u201D\u7684\u7C7B\u578B\u5B9A\u4E49","\u672A\u627E\u5230\u7C7B\u578B\u5B9A\u4E49","\u8F6C\u5230\u7C7B\u578B\u5B9A\u4E49","\u8F6C\u5230\u7C7B\u578B\u5B9A\u4E49(&&T)","\u5FEB\u901F\u67E5\u770B\u7C7B\u578B\u5B9A\u4E49","\u5B9E\u73B0","\u672A\u627E\u5230\u201C{0}\u201D\u7684\u5B9E\u73B0","\u672A\u627E\u5230\u5B9E\u73B0","\u8F6C\u5230\u5B9E\u73B0","\u8F6C\u5230\u5B9E\u73B0(&&I)","\u67E5\u770B\u5B9E\u73B0",'\u672A\u627E\u5230"{0}"\u7684\u5F15\u7528',"\u672A\u627E\u5230\u5F15\u7528","\u8F6C\u5230\u5F15\u7528","\u8F6C\u5230\u5F15\u7528(&&R)","\u5F15\u7528","\u67E5\u770B\u5F15\u7528","\u5F15\u7528","\u8F6C\u5230\u4EFB\u4F55\u7B26\u53F7","\u4F4D\u7F6E","\u65E0\u201C{0}\u201D\u7684\u7ED3\u679C","\u5F15\u7528"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["\u5355\u51FB\u663E\u793A {0} \u4E2A\u5B9A\u4E49\u3002"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["\u5F15\u7528\u901F\u89C8\u662F\u5426\u53EF\u89C1\uFF0C\u4F8B\u5982\u201C\u901F\u89C8\u5F15\u7528\u201D\u6216\u201C\u901F\u89C8\u5B9A\u4E49\u201D","\u6B63\u5728\u52A0\u8F7D...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} \u4E2A\u5F15\u7528","{0} \u4E2A\u5F15\u7528","\u5F15\u7528"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["\u65E0\u53EF\u7528\u9884\u89C8","\u65E0\u7ED3\u679C","\u5F15\u7528"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["\u5728\u5217 {2} \u884C {1} \u7684 {0} \u4E2D","\u5728\u5217 {3} \u884C {2} \u7684 {1} \u4E2D\u7684 {0}","{0} \u4E2D\u6709 1 \u4E2A\u7B26\u53F7\uFF0C\u5B8C\u6574\u8DEF\u5F84: {1}","{1} \u4E2D\u6709 {0} \u4E2A\u7B26\u53F7\uFF0C\u5B8C\u6574\u8DEF\u5F84: {2}","\u672A\u627E\u5230\u7ED3\u679C","\u5728 {0} \u4E2D\u627E\u5230 1 \u4E2A\u7B26\u53F7","\u5728 {1} \u4E2D\u627E\u5230 {0} \u4E2A\u7B26\u53F7","\u5728 {1} \u4E2A\u6587\u4EF6\u4E2D\u627E\u5230 {0} \u4E2A\u7B26\u53F7"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["\u662F\u5426\u5B58\u5728\u53EA\u80FD\u901A\u8FC7\u952E\u76D8\u5BFC\u822A\u7684\u7B26\u53F7\u4F4D\u7F6E\u3002","{1} \u7684\u7B26\u53F7 {0}\uFF0C\u4E0B\u4E00\u4E2A\u4F7F\u7528 {2}","{1} \u7684\u7B26\u53F7 {0}"],"vs/editor/contrib/hover/browser/hover":["\u663E\u793A\u6216\u805A\u7126\u60AC\u505C","\u663E\u793A\u5B9A\u4E49\u9884\u89C8\u60AC\u505C","\u5411\u4E0A\u6EDA\u52A8\u60AC\u505C","\u5411\u4E0B\u6EDA\u52A8\u60AC\u505C","\u5411\u5DE6\u6EDA\u52A8\u60AC\u505C","\u5411\u53F3\u6EDA\u52A8\u60AC\u505C","\u5411\u4E0A\u7FFB\u9875\u60AC\u505C","\u5411\u4E0B\u7FFB\u9875\u60AC\u505C","\u8F6C\u5230\u9876\u90E8\u60AC\u505C","\u8F6C\u5230\u5E95\u90E8\u60AC\u505C"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["\u6B63\u5728\u52A0\u8F7D...","\u7531\u4E8E\u6027\u80FD\u539F\u56E0\uFF0C\u957F\u7EBF\u7684\u5448\u73B0\u5DF2\u6682\u505C\u3002\u53EF\u901A\u8FC7`editor.stopRenderingLineAfter`\u914D\u7F6E\u6B64\u8BBE\u7F6E\u3002","\u51FA\u4E8E\u6027\u80FD\u539F\u56E0\uFF0C\u672A\u5BF9\u957F\u884C\u8FDB\u884C\u89E3\u6790\u3002\u89E3\u6790\u957F\u5EA6\u9608\u503C\u53EF\u901A\u8FC7\u201Ceditor.maxTokenizationLineLength\u201D\u8FDB\u884C\u914D\u7F6E\u3002"],"vs/editor/contrib/hover/browser/markerHoverParticipant":["\u67E5\u770B\u95EE\u9898","\u6CA1\u6709\u53EF\u7528\u7684\u5FEB\u901F\u4FEE\u590D","\u6B63\u5728\u68C0\u67E5\u5FEB\u901F\u4FEE\u590D...","\u6CA1\u6709\u53EF\u7528\u7684\u5FEB\u901F\u4FEE\u590D","\u5FEB\u901F\u4FEE\u590D..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["\u66FF\u6362\u4E3A\u4E0A\u4E00\u4E2A\u503C","\u66FF\u6362\u4E3A\u4E0B\u4E00\u4E2A\u503C"],"vs/editor/contrib/indentation/browser/indentation":["\u5C06\u7F29\u8FDB\u8F6C\u6362\u4E3A\u7A7A\u683C","\u5C06\u7F29\u8FDB\u8F6C\u6362\u4E3A\u5236\u8868\u7B26","\u5DF2\u914D\u7F6E\u5236\u8868\u7B26\u5927\u5C0F","\u9ED8\u8BA4\u9009\u9879\u5361\u5927\u5C0F","\u5F53\u524D\u9009\u9879\u5361\u5927\u5C0F","\u9009\u62E9\u5F53\u524D\u6587\u4EF6\u7684\u5236\u8868\u7B26\u5927\u5C0F","\u4F7F\u7528\u5236\u8868\u7B26\u7F29\u8FDB","\u4F7F\u7528\u7A7A\u683C\u7F29\u8FDB","\u66F4\u6539\u5236\u8868\u7B26\u663E\u793A\u5927\u5C0F","\u4ECE\u5185\u5BB9\u4E2D\u68C0\u6D4B\u7F29\u8FDB\u65B9\u5F0F","\u91CD\u65B0\u7F29\u8FDB\u884C","\u91CD\u65B0\u7F29\u8FDB\u6240\u9009\u884C"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["\u53CC\u51FB\u4EE5\u63D2\u5165","cmd + \u70B9\u51FB","ctrl + \u70B9\u51FB","option + \u70B9\u51FB","alt + \u70B9\u51FB","\u8F6C\u5230\u5B9A\u4E49 ({0})\uFF0C\u70B9\u51FB\u53F3\u952E\u4EE5\u67E5\u770B\u8BE6\u7EC6\u4FE1\u606F","\u8F6C\u5230\u5B9A\u4E49\uFF08{0}\uFF09","\u6267\u884C\u547D\u4EE4"],"vs/editor/contrib/inlineCompletions/browser/commands":["\u663E\u793A\u4E0B\u4E00\u4E2A\u5185\u8054\u5EFA\u8BAE","\u663E\u793A\u4E0A\u4E00\u4E2A\u5185\u8054\u5EFA\u8BAE","\u89E6\u53D1\u5185\u8054\u5EFA\u8BAE","\u63A5\u53D7\u5185\u8054\u5EFA\u8BAE\u7684\u4E0B\u4E00\u4E2A\u5B57","\u63A5\u53D7 Word","\u63A5\u53D7\u5185\u8054\u5EFA\u8BAE\u7684\u4E0B\u4E00\u884C","\u63A5\u53D7\u884C","\u63A5\u53D7\u5185\u8054\u5EFA\u8BAE","\u63A5\u53D7","\u9690\u85CF\u5185\u8054\u5EFA\u8BAE","\u59CB\u7EC8\u663E\u793A\u5DE5\u5177\u680F"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["\u5EFA\u8BAE:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["\u5185\u8054\u5EFA\u8BAE\u662F\u5426\u53EF\u89C1","\u5185\u8054\u5EFA\u8BAE\u662F\u5426\u4EE5\u7A7A\u767D\u5F00\u5934","\u5185\u8054\u5EFA\u8BAE\u662F\u5426\u4EE5\u5C0F\u4E8E\u9009\u9879\u5361\u63D2\u5165\u5185\u5BB9\u7684\u7A7A\u683C\u5F00\u5934","\u662F\u5426\u5E94\u6291\u5236\u5F53\u524D\u5EFA\u8BAE"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\u5728\u8F85\u52A9\u89C6\u56FE\u4E2D\u68C0\u67E5\u6B64\u9879 ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["\u201C\u663E\u793A\u4E0B\u4E00\u4E2A\u53C2\u6570\u201D\u63D0\u793A\u7684\u56FE\u6807\u3002","\u201C\u663E\u793A\u4E0A\u4E00\u4E2A\u53C2\u6570\u201D\u63D0\u793A\u7684\u56FE\u6807\u3002","{0} ({1})","\u4E0A\u4E00\u4E2A","\u4E0B\u4E00\u4E2A"],"vs/editor/contrib/lineSelection/browser/lineSelection":["\u5C55\u5F00\u884C\u9009\u62E9"],"vs/editor/contrib/linesOperations/browser/linesOperations":["\u5411\u4E0A\u590D\u5236\u884C","\u5411\u4E0A\u590D\u5236\u4E00\u884C(&&C)","\u5411\u4E0B\u590D\u5236\u884C","\u5411\u4E0B\u590D\u5236\u4E00\u884C(&&P)","\u91CD\u590D\u9009\u62E9","\u91CD\u590D\u9009\u62E9(&&D)","\u5411\u4E0A\u79FB\u52A8\u884C","\u5411\u4E0A\u79FB\u52A8\u4E00\u884C(&&V)","\u5411\u4E0B\u79FB\u52A8\u884C","\u5411\u4E0B\u79FB\u52A8\u4E00\u884C(&&L)","\u6309\u5347\u5E8F\u6392\u5217\u884C","\u6309\u964D\u5E8F\u6392\u5217\u884C","\u5220\u9664\u91CD\u590D\u884C","\u88C1\u526A\u5C3E\u968F\u7A7A\u683C","\u5220\u9664\u884C","\u884C\u7F29\u8FDB","\u884C\u51CF\u5C11\u7F29\u8FDB","\u5728\u4E0A\u9762\u63D2\u5165\u884C","\u5728\u4E0B\u9762\u63D2\u5165\u884C","\u5220\u9664\u5DE6\u4FA7\u6240\u6709\u5185\u5BB9","\u5220\u9664\u53F3\u4FA7\u6240\u6709\u5185\u5BB9","\u5408\u5E76\u884C","\u8F6C\u7F6E\u5149\u6807\u5904\u7684\u5B57\u7B26","\u8F6C\u6362\u4E3A\u5927\u5199","\u8F6C\u6362\u4E3A\u5C0F\u5199","\u8F6C\u6362\u4E3A\u8BCD\u9996\u5B57\u6BCD\u5927\u5199","\u8F6C\u6362\u4E3A\u86C7\u5F62\u547D\u540D\u6CD5","\u8F6C\u6362\u4E3A\u9A7C\u5CF0\u5F0F\u5927\u5C0F\u5199","\u8F6C\u6362\u4E3A Kebab \u6848\u4F8B"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["\u542F\u52A8\u94FE\u63A5\u7F16\u8F91","\u7F16\u8F91\u5668\u6839\u636E\u7C7B\u578B\u81EA\u52A8\u91CD\u547D\u540D\u65F6\u7684\u80CC\u666F\u8272\u3002"],"vs/editor/contrib/links/browser/links":["\u6B64\u94FE\u63A5\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u65E0\u6CD5\u6253\u5F00: {0}","\u6B64\u94FE\u63A5\u76EE\u6807\u5DF2\u4E22\u5931\uFF0C\u65E0\u6CD5\u6253\u5F00\u3002","\u6267\u884C\u547D\u4EE4","\u6253\u5F00\u94FE\u63A5","cmd + \u5355\u51FB","ctrl + \u5355\u51FB","option + \u5355\u51FB","alt + \u5355\u51FB","\u6267\u884C\u547D\u4EE4 {0}","\u6253\u5F00\u94FE\u63A5"],"vs/editor/contrib/message/browser/messageController":["\u7F16\u8F91\u5668\u5F53\u524D\u662F\u5426\u6B63\u5728\u663E\u793A\u5185\u8054\u6D88\u606F"],"vs/editor/contrib/multicursor/browser/multicursor":["\u6DFB\u52A0\u7684\u5149\u6807: {0}","\u6DFB\u52A0\u7684\u6E38\u6807: {0}","\u5728\u4E0A\u9762\u6DFB\u52A0\u5149\u6807","\u5728\u4E0A\u9762\u6DFB\u52A0\u5149\u6807(&&A)","\u5728\u4E0B\u9762\u6DFB\u52A0\u5149\u6807","\u5728\u4E0B\u9762\u6DFB\u52A0\u5149\u6807(&&D)","\u5728\u884C\u5C3E\u6DFB\u52A0\u5149\u6807","\u5728\u884C\u5C3E\u6DFB\u52A0\u5149\u6807(&&U)","\u5728\u5E95\u90E8\u6DFB\u52A0\u5149\u6807","\u5728\u9876\u90E8\u6DFB\u52A0\u5149\u6807","\u5C06\u4E0B\u4E00\u4E2A\u67E5\u627E\u5339\u914D\u9879\u6DFB\u52A0\u5230\u9009\u62E9","\u6DFB\u52A0\u4E0B\u4E00\u4E2A\u5339\u914D\u9879(&&N)","\u5C06\u9009\u62E9\u5185\u5BB9\u6DFB\u52A0\u5230\u4E0A\u4E00\u67E5\u627E\u5339\u914D\u9879","\u6DFB\u52A0\u4E0A\u4E00\u4E2A\u5339\u914D\u9879(&&R)","\u5C06\u4E0A\u6B21\u9009\u62E9\u79FB\u52A8\u5230\u4E0B\u4E00\u4E2A\u67E5\u627E\u5339\u914D\u9879","\u5C06\u4E0A\u4E2A\u9009\u62E9\u5185\u5BB9\u79FB\u52A8\u5230\u4E0A\u4E00\u67E5\u627E\u5339\u914D\u9879","\u9009\u62E9\u6240\u6709\u627E\u5230\u7684\u67E5\u627E\u5339\u914D\u9879","\u9009\u62E9\u6240\u6709\u5339\u914D\u9879(&&O)","\u66F4\u6539\u6240\u6709\u5339\u914D\u9879","\u805A\u7126\u4E0B\u4E00\u4E2A\u5149\u6807","\u805A\u7126\u4E0B\u4E00\u4E2A\u5149\u6807","\u805A\u7126\u4E0A\u4E00\u4E2A\u5149\u6807","\u805A\u7126\u4E0A\u4E00\u4E2A\u5149\u6807"],"vs/editor/contrib/parameterHints/browser/parameterHints":["\u89E6\u53D1\u53C2\u6570\u63D0\u793A"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["\u201C\u663E\u793A\u4E0B\u4E00\u4E2A\u53C2\u6570\u201D\u63D0\u793A\u7684\u56FE\u6807\u3002","\u201C\u663E\u793A\u4E0A\u4E00\u4E2A\u53C2\u6570\u201D\u63D0\u793A\u7684\u56FE\u6807\u3002","{0}\uFF0C\u63D0\u793A","\u53C2\u6570\u63D0\u793A\u4E2D\u6D3B\u52A8\u9879\u7684\u524D\u666F\u8272\u3002"],"vs/editor/contrib/peekView/browser/peekView":["\u901F\u89C8\u4E2D\u662F\u5426\u5D4C\u5165\u4E86\u5F53\u524D\u4EE3\u7801\u7F16\u8F91\u5668","\u5173\u95ED","\u901F\u89C8\u89C6\u56FE\u6807\u9898\u533A\u57DF\u80CC\u666F\u989C\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u6807\u9898\u989C\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u6807\u9898\u4FE1\u606F\u989C\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u8FB9\u6846\u548C\u7BAD\u5934\u989C\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u80CC\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u4E2D\u884C\u8282\u70B9\u7684\u524D\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u4E2D\u6587\u4EF6\u8282\u70B9\u7684\u524D\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u4E2D\u6240\u9009\u6761\u76EE\u7684\u80CC\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u4E2D\u6240\u9009\u6761\u76EE\u7684\u524D\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7F16\u8F91\u5668\u80CC\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7F16\u8F91\u5668\u4E2D\u88C5\u8BA2\u7EBF\u7684\u80CC\u666F\u8272\u3002","\u901F\u89C8\u89C6\u56FE\u7F16\u8F91\u5668\u4E2D\u7C98\u6EDE\u6EDA\u52A8\u7684\u80CC\u666F\u8272\u3002","\u5728\u901F\u89C8\u89C6\u56FE\u7ED3\u679C\u5217\u8868\u4E2D\u5339\u914D\u7A81\u51FA\u663E\u793A\u989C\u8272\u3002","\u5728\u901F\u89C8\u89C6\u56FE\u7F16\u8F91\u5668\u4E2D\u5339\u914D\u7A81\u51FA\u663E\u793A\u989C\u8272\u3002","\u5728\u901F\u89C8\u89C6\u56FE\u7F16\u8F91\u5668\u4E2D\u5339\u914D\u9879\u7684\u7A81\u51FA\u663E\u793A\u8FB9\u6846\u3002"],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\u5148\u6253\u5F00\u6587\u672C\u7F16\u8F91\u5668\u7136\u540E\u8DF3\u8F6C\u5230\u884C\u3002","\u8F6C\u5230\u7B2C {0} \u884C\u7B2C {1} \u4E2A\u5B57\u7B26\u3002","\u8F6C\u5230\u884C {0}\u3002","\u5F53\u524D\u884C: {0}\uFF0C\u5B57\u7B26: {1}\u3002\u952E\u5165\u8981\u5BFC\u822A\u5230\u7684\u884C\u53F7(\u4ECB\u4E8E 1 \u81F3 {2} \u4E4B\u95F4)\u3002","\u5F53\u524D\u884C: {0}\uFF0C\u5B57\u7B26: {1}\u3002 \u952E\u5165\u8981\u5BFC\u822A\u5230\u7684\u884C\u53F7\u3002"],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\u8981\u8F6C\u5230\u7B26\u53F7\uFF0C\u9996\u5148\u6253\u5F00\u5177\u6709\u7B26\u53F7\u4FE1\u606F\u7684\u6587\u672C\u7F16\u8F91\u5668\u3002","\u6D3B\u52A8\u6587\u672C\u7F16\u8F91\u5668\u4E0D\u63D0\u4F9B\u7B26\u53F7\u4FE1\u606F\u3002","\u6CA1\u6709\u5339\u914D\u7684\u7F16\u8F91\u5668\u7B26\u53F7","\u6CA1\u6709\u7F16\u8F91\u5668\u7B26\u53F7","\u5728\u4FA7\u8FB9\u6253\u5F00","\u5728\u5E95\u90E8\u6253\u5F00","\u7B26\u53F7({0})","\u5C5E\u6027({0})","\u65B9\u6CD5({0})","\u51FD\u6570({0})","\u6784\u9020\u51FD\u6570 ({0})","\u53D8\u91CF({0})","\u7C7B({0})","\u7ED3\u6784({0})","\u4E8B\u4EF6({0})","\u8FD0\u7B97\u7B26({0})","\u63A5\u53E3({0})","\u547D\u540D\u7A7A\u95F4({0})","\u5305({0})","\u7C7B\u578B\u53C2\u6570({0})","\u6A21\u5757({0})","\u5C5E\u6027({0})","\u679A\u4E3E({0})","\u679A\u4E3E\u6210\u5458({0})","\u5B57\u7B26\u4E32({0})","\u6587\u4EF6({0})","\u6570\u7EC4({0})","\u6570\u5B57({0})","\u5E03\u5C14\u503C({0})","\u5BF9\u8C61({0})","\u952E({0})","\u5B57\u6BB5({0})","\u5E38\u91CF({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["\u65E0\u6CD5\u5728\u53EA\u8BFB\u8F93\u5165\u4E2D\u7F16\u8F91","\u65E0\u6CD5\u5728\u53EA\u8BFB\u7F16\u8F91\u5668\u4E2D\u7F16\u8F91"],"vs/editor/contrib/rename/browser/rename":["\u65E0\u7ED3\u679C\u3002","\u89E3\u6790\u91CD\u547D\u540D\u4F4D\u7F6E\u65F6\u53D1\u751F\u672A\u77E5\u9519\u8BEF","\u6B63\u5728\u5C06\u201C{0}\u201D\u91CD\u547D\u540D\u4E3A\u201C{1}\u201D","\u5C06 {0} \u91CD\u547D\u540D\u4E3A {1}","\u6210\u529F\u5C06\u201C{0}\u201D\u91CD\u547D\u540D\u4E3A\u201C{1}\u201D\u3002\u6458\u8981: {2}","\u91CD\u547D\u540D\u65E0\u6CD5\u5E94\u7528\u4FEE\u6539","\u91CD\u547D\u540D\u65E0\u6CD5\u8BA1\u7B97\u4FEE\u6539","\u91CD\u547D\u540D\u7B26\u53F7","\u542F\u7528/\u7981\u7528\u91CD\u547D\u540D\u4E4B\u524D\u9884\u89C8\u66F4\u6539\u7684\u529F\u80FD"],"vs/editor/contrib/rename/browser/renameInputField":["\u91CD\u547D\u540D\u8F93\u5165\u5C0F\u7EC4\u4EF6\u662F\u5426\u53EF\u89C1",'\u91CD\u547D\u540D\u8F93\u5165\u3002\u952E\u5165\u65B0\u540D\u79F0\u5E76\u6309 "Enter" \u63D0\u4EA4\u3002',"\u6309 {0} \u8FDB\u884C\u91CD\u547D\u540D\uFF0C\u6309 {1} \u8FDB\u884C\u9884\u89C8"],"vs/editor/contrib/smartSelect/browser/smartSelect":["\u5C55\u5F00\u9009\u62E9","\u6269\u5927\u9009\u533A(&&E)","\u6536\u8D77\u9009\u62E9","\u7F29\u5C0F\u9009\u533A(&&S)"],"vs/editor/contrib/snippet/browser/snippetController2":["\u7F16\u8F91\u5668\u76EE\u524D\u662F\u5426\u5728\u4EE3\u7801\u7247\u6BB5\u6A21\u5F0F\u4E0B","\u5728\u4EE3\u7801\u7247\u6BB5\u6A21\u5F0F\u4E0B\u65F6\u662F\u5426\u5B58\u5728\u4E0B\u4E00\u5236\u8868\u4F4D","\u5728\u4EE3\u7801\u7247\u6BB5\u6A21\u5F0F\u4E0B\u65F6\u662F\u5426\u5B58\u5728\u4E0A\u4E00\u5236\u8868\u4F4D","\u8F6C\u5230\u4E0B\u4E00\u4E2A\u5360\u4F4D\u7B26..."],"vs/editor/contrib/snippet/browser/snippetVariables":["\u661F\u671F\u5929","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D","\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D","\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","5\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708","1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11 \u6708","12\u6708"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["\u5207\u6362\u7C98\u6EDE\u6EDA\u52A8","\u5207\u6362\u7C98\u6EDE\u6EDA\u52A8(&&T)","\u7C98\u6EDE\u6EDA\u52A8","\u7C98\u6EDE\u6EDA\u52A8(&&S)","\u805A\u7126\u7C98\u6027\u6EDA\u52A8","\u805A\u7126\u7C98\u6027\u6EDA\u52A8(&&F)","\u9009\u62E9\u4E0B\u4E00\u4E2A\u7C98\u6027\u6EDA\u52A8\u884C","\u9009\u62E9\u4E0A\u4E00\u4E2A\u7C98\u6027\u6EDA\u52A8\u884C","\u8F6C\u5230\u805A\u7126\u7684\u7C98\u6027\u6EDA\u52A8\u884C","\u9009\u62E9\u7F16\u8F91\u5668"],"vs/editor/contrib/suggest/browser/suggest":["\u662F\u5426\u4EE5\u4EFB\u4F55\u5EFA\u8BAE\u4E3A\u4E2D\u5FC3","\u5EFA\u8BAE\u8BE6\u7EC6\u4FE1\u606F\u662F\u5426\u53EF\u89C1","\u662F\u5426\u5B58\u5728\u591A\u6761\u5EFA\u8BAE\u53EF\u4F9B\u9009\u62E9","\u63D2\u5165\u5F53\u524D\u5EFA\u8BAE\u662F\u5426\u4F1A\u5BFC\u81F4\u66F4\u6539\u6216\u5BFC\u81F4\u5DF2\u952E\u5165\u6240\u6709\u5185\u5BB9","\u6309 Enter \u65F6\u662F\u5426\u4F1A\u63D2\u5165\u5EFA\u8BAE","\u5F53\u524D\u5EFA\u8BAE\u662F\u5426\u5177\u6709\u63D2\u5165\u548C\u66FF\u6362\u884C\u4E3A","\u9ED8\u8BA4\u884C\u4E3A\u662F\u5426\u662F\u63D2\u5165\u6216\u66FF\u6362","\u5F53\u524D\u5EFA\u8BAE\u662F\u5426\u652F\u6301\u89E3\u6790\u66F4\u591A\u8BE6\u7EC6\u4FE1\u606F"],"vs/editor/contrib/suggest/browser/suggestController":["\u9009\u62E9\u201C{0}\u201D\u540E\u8FDB\u884C\u4E86\u5176\u4ED6 {1} \u6B21\u7F16\u8F91","\u89E6\u53D1\u5EFA\u8BAE","\u63D2\u5165","\u63D2\u5165","\u66FF\u6362","\u66FF\u6362","\u63D2\u5165","\u663E\u793A\u66F4\u5C11","\u663E\u793A\u66F4\u591A","\u91CD\u7F6E\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u5927\u5C0F"],"vs/editor/contrib/suggest/browser/suggestWidget":["\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u80CC\u666F\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u7684\u524D\u666F\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u6240\u9009\u6761\u76EE\u7684\u524D\u666F\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u6240\u9009\u6761\u76EE\u7684\u56FE\u6807\u524D\u666F\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u6240\u9009\u6761\u76EE\u7684\u80CC\u666F\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u5339\u914D\u5185\u5BB9\u7684\u9AD8\u4EAE\u989C\u8272\u3002","\u5F53\u67D0\u9879\u83B7\u5F97\u7126\u70B9\u65F6\uFF0C\u5728\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u7A81\u51FA\u663E\u793A\u7684\u5339\u914D\u9879\u7684\u989C\u8272\u3002","\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u72B6\u6001\u7684\u524D\u666F\u8272\u3002","\u6B63\u5728\u52A0\u8F7D...","\u65E0\u5EFA\u8BAE\u3002","\u5EFA\u8BAE","{0} {1}\uFF0C{2}","{0} {1}","{0}\uFF0C{1}","{0}\uFF0C\u6587\u6863: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["\u5173\u95ED","\u6B63\u5728\u52A0\u8F7D\u2026"],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u7684\u8BE6\u7EC6\u4FE1\u606F\u7684\u56FE\u6807\u3002","\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["\u6570\u7EC4\u7B26\u53F7\u7684\u524D\u666F\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u5C06\u663E\u793A\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u3002","\u5E03\u5C14\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u7C7B\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u989C\u8272\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5E38\u91CF\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6784\u9020\u51FD\u6570\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u679A\u4E3E\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u679A\u4E3E\u5668\u6210\u5458\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u4E8B\u4EF6\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5B57\u6BB5\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6587\u4EF6\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6587\u4EF6\u5939\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u51FD\u6570\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u63A5\u53E3\u7B26\u53F7\u7684\u524D\u666F\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u5C06\u663E\u793A\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u3002","\u952E\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5173\u952E\u5B57\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u65B9\u6CD5\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6A21\u5757\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u547D\u540D\u7A7A\u95F4\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u8F6E\u5ED3\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u7A7A\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6570\u5B57\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5BF9\u8C61\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u8FD0\u7B97\u7B26\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5305\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5C5E\u6027\u7B26\u53F7\u7684\u524D\u666F\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u7EC4\u4EF6\u4E2D\u3002","\u53C2\u8003\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u7247\u6BB5\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5B57\u7B26\u4E32\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u8F6E\u5ED3\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u7ED3\u6784\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u6587\u672C\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u7C7B\u578B\u53C2\u6570\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u5355\u4F4D\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002","\u53D8\u91CF\u7B26\u53F7\u7684\u524D\u666F\u989C\u8272\u3002\u8FD9\u4E9B\u7B26\u53F7\u51FA\u73B0\u5728\u5927\u7EB2\u3001\u75D5\u8FF9\u5BFC\u822A\u680F\u548C\u5EFA\u8BAE\u5C0F\u90E8\u4EF6\u4E2D\u3002"],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["\u5207\u6362 Tab \u952E\u79FB\u52A8\u7126\u70B9","Tab \u952E\u5C06\u79FB\u52A8\u5230\u4E0B\u4E00\u53EF\u805A\u7126\u7684\u5143\u7D20","Tab \u952E\u5C06\u63D2\u5165\u5236\u8868\u7B26"],"vs/editor/contrib/tokenization/browser/tokenization":["\u5F00\u53D1\u4EBA\u5458: \u5F3A\u5236\u91CD\u65B0\u8FDB\u884C\u6807\u8BB0"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["\u6269\u5C55\u7F16\u8F91\u5668\u4E2D\u968F\u8B66\u544A\u6D88\u606F\u4E00\u540C\u663E\u793A\u7684\u56FE\u6807\u3002","\u672C\u6587\u6863\u5305\u542B\u8BB8\u591A\u975E\u57FA\u672C ASCII unicode \u5B57\u7B26","\u672C\u6587\u6863\u5305\u542B\u8BB8\u591A\u4E0D\u660E\u786E\u7684 unicode \u5B57\u7B26","\u672C\u6587\u6863\u5305\u542B\u8BB8\u591A\u4E0D\u53EF\u89C1\u7684 unicode \u5B57\u7B26","\u5B57\u7B26 {0} \u53EF\u80FD\u4F1A\u4E0E ASCII \u5B57\u7B26 {1} \u6DF7\u6DC6\uFF0C\u540E\u8005\u5728\u6E90\u4EE3\u7801\u4E2D\u66F4\u4E3A\u5E38\u89C1\u3002","\u5B57\u7B26 {0} \u53EF\u80FD\u4F1A\u4E0E\u5B57\u7B26 {1} \u6DF7\u6DC6\uFF0C\u540E\u8005\u5728\u6E90\u4EE3\u7801\u4E2D\u66F4\u4E3A\u5E38\u89C1\u3002","\u5B57\u7B26 {0} \u4E0D\u53EF\u89C1\u3002","\u5B57\u7B26 {0} \u4E0D\u662F\u57FA\u672C ASCII \u5B57\u7B26\u3002","\u8C03\u6574\u8BBE\u7F6E","\u7981\u7528\u6279\u6CE8\u4E2D\u7684\u7A81\u51FA\u663E\u793A","\u7981\u7528\u6279\u6CE8\u4E2D\u5B57\u7B26\u7684\u7A81\u51FA\u663E\u793A","\u7981\u7528\u5B57\u7B26\u4E32\u4E2D\u7684\u7A81\u51FA\u663E\u793A","\u7981\u7528\u5B57\u7B26\u4E32\u4E2D\u5B57\u7B26\u7684\u7A81\u51FA\u663E\u793A","\u7981\u7528\u4E0D\u660E\u786E\u7684\u7A81\u51FA\u663E\u793A","\u7981\u6B62\u7A81\u51FA\u663E\u793A\u6B67\u4E49\u5B57\u7B26","\u7981\u7528\u4E0D\u53EF\u89C1\u7A81\u51FA\u663E\u793A","\u7981\u6B62\u7A81\u51FA\u663E\u793A\u4E0D\u53EF\u89C1\u5B57\u7B26","\u7981\u7528\u975E ASCII \u7A81\u51FA\u663E\u793A","\u7981\u6B62\u7A81\u51FA\u663E\u793A\u975E\u57FA\u672C ASCII \u5B57\u7B26","\u663E\u793A\u6392\u9664\u9009\u9879","\u4E0D\u7A81\u51FA\u663E\u793A {0} (\u4E0D\u53EF\u89C1\u5B57\u7B26)","\u5728\u7A81\u51FA\u663E\u793A\u5185\u5BB9\u4E2D\u6392\u9664{0}","\u5141\u8BB8\u8BED\u8A00\u201C{0}\u201D\u4E2D\u66F4\u5E38\u89C1\u7684 unicode \u5B57\u7B26\u3002","\u914D\u7F6E Unicode \u7A81\u51FA\u663E\u793A\u9009\u9879"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["\u5F02\u5E38\u884C\u7EC8\u6B62\u7B26","\u68C0\u6D4B\u5230\u5F02\u5E38\u884C\u7EC8\u6B62\u7B26",`\u6587\u4EF6\u201C{0}\u201D\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u5F02\u5E38\u7684\u884C\u7EC8\u6B62\u7B26\uFF0C\u4F8B\u5982\u884C\u5206\u9694\u7B26(LS)\u6216\u6BB5\u843D\u5206\u9694\u7B26(PS)\u3002\r +\r +\u5EFA\u8BAE\u4ECE\u6587\u4EF6\u4E2D\u5220\u9664\u5B83\u4EEC\u3002\u53EF\u901A\u8FC7\u201Ceditor.unusualLineTerminators\u201D\u8FDB\u884C\u914D\u7F6E\u3002`,"\u5220\u9664\u5F02\u5E38\u884C\u7EC8\u6B62\u7B26(&&R)","\u5FFD\u7565"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["\u8BFB\u53D6\u8BBF\u95EE\u671F\u95F4\u7B26\u53F7\u7684\u80CC\u666F\u8272\uFF0C\u4F8B\u5982\u8BFB\u53D6\u53D8\u91CF\u65F6\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5199\u5165\u8BBF\u95EE\u8FC7\u7A0B\u4E2D\u7B26\u53F7\u7684\u80CC\u666F\u8272\uFF0C\u4F8B\u5982\u5199\u5165\u53D8\u91CF\u65F6\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7B26\u53F7\u5728\u6587\u672C\u4E2D\u51FA\u73B0\u65F6\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u5C42\u7684\u4FEE\u9970\u3002","\u7B26\u53F7\u5728\u8FDB\u884C\u8BFB\u53D6\u8BBF\u95EE\u64CD\u4F5C\u65F6\u7684\u8FB9\u6846\u989C\u8272\uFF0C\u4F8B\u5982\u8BFB\u53D6\u53D8\u91CF\u3002","\u7B26\u53F7\u5728\u8FDB\u884C\u5199\u5165\u8BBF\u95EE\u64CD\u4F5C\u65F6\u7684\u8FB9\u6846\u989C\u8272\uFF0C\u4F8B\u5982\u5199\u5165\u53D8\u91CF\u3002","\u7B26\u53F7\u5728\u6587\u672C\u4E2D\u51FA\u73B0\u65F6\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A\u7B26\u53F7\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A\u5199\u6743\u9650\u7B26\u53F7\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7B26\u53F7\u5728\u6587\u672C\u4E2D\u51FA\u73B0\u65F6\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u5C42\u7684\u4FEE\u9970\u3002"],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["\u8F6C\u5230\u4E0B\u4E00\u4E2A\u7A81\u51FA\u663E\u793A\u7684\u7B26\u53F7","\u8F6C\u5230\u4E0A\u4E00\u4E2A\u7A81\u51FA\u663E\u793A\u7684\u7B26\u53F7","\u89E6\u53D1\u7B26\u53F7\u9AD8\u4EAE"],"vs/editor/contrib/wordOperations/browser/wordOperations":["\u5220\u9664 Word"],"vs/platform/action/common/actionCommonCategories":["\u67E5\u770B","\u5E2E\u52A9","\u6D4B\u8BD5","\u6587\u4EF6","\u9996\u9009\u9879","\u5F00\u53D1\u4EBA\u5458"],"vs/platform/actionWidget/browser/actionList":["\u6309 {0} \u4EE5\u5E94\u7528\uFF0C\u6309 {1} \u4EE5\u9884\u89C8","\u6309 {0} \u4EE5\u5E94\u7528","{0}\uFF0C\u7981\u7528\u539F\u56E0: {1}","\u64CD\u4F5C\u5C0F\u7EC4\u4EF6"],"vs/platform/actionWidget/browser/actionWidget":["\u64CD\u4F5C\u680F\u4E2D\u5207\u6362\u7684\u64CD\u4F5C\u9879\u7684\u80CC\u666F\u8272\u3002","\u64CD\u4F5C\u5C0F\u7EC4\u4EF6\u5217\u8868\u662F\u5426\u53EF\u89C1","\u9690\u85CF\u64CD\u4F5C\u5C0F\u7EC4\u4EF6","\u9009\u62E9\u4E0A\u4E00\u4E2A\u64CD\u4F5C","\u9009\u62E9\u4E0B\u4E00\u4E2A\u64CD\u4F5C","\u63A5\u53D7\u6240\u9009\u64CD\u4F5C","\u9884\u89C8\u6240\u9009\u64CD\u4F5C"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["\u9690\u85CF","\u91CD\u7F6E\u83DC\u5355"],"vs/platform/actions/common/menuService":["\u9690\u85CF\u201C{0}\u201D"],"vs/platform/audioCues/browser/audioCueService":["\u884C\u4E0A\u7684\u9519\u8BEF","\u884C\u4E0A\u7684\u8B66\u544A","\u884C\u4E0A\u7684\u6298\u53E0\u533A\u57DF","\u884C\u4E0A\u7684\u65AD\u70B9","\u884C\u4E0A\u7684\u5185\u8054\u5EFA\u8BAE","\u7EC8\u7AEF\u5FEB\u901F\u4FEE\u590D","\u8C03\u8BD5\u7A0B\u5E8F\u5DF2\u5728\u65AD\u70B9\u5904\u505C\u6B62","\u884C\u4E0A\u65E0\u5D4C\u5165\u63D0\u793A","\u4EFB\u52A1\u5DF2\u5B8C\u6210","\u4EFB\u52A1\u5931\u8D25","\u7EC8\u7AEF\u547D\u4EE4\u5931\u8D25","\u7EC8\u7AEF\u949F","\u7B14\u8BB0\u672C\u5355\u5143\u683C\u5DF2\u5B8C\u6210","\u7B14\u8BB0\u672C\u5355\u5143\u683C\u5931\u8D25","\u5DF2\u63D2\u5165\u5DEE\u5F02\u7EBF","\u5DF2\u5220\u9664\u5DEE\u5F02\u884C","\u5DEE\u5F02\u884C\u5DF2\u4FEE\u6539","\u5DF2\u53D1\u9001\u804A\u5929\u8BF7\u6C42","\u5DF2\u6536\u5230\u804A\u5929\u54CD\u5E94","\u804A\u5929\u54CD\u5E94\u6302\u8D77"],"vs/platform/configuration/common/configurationRegistry":["\u9ED8\u8BA4\u8BED\u8A00\u914D\u7F6E\u66FF\u4EE3","\u914D\u7F6E\u8981\u4E3A {0} \u8BED\u8A00\u66FF\u4EE3\u7684\u8BBE\u7F6E\u3002","\u9488\u5BF9\u67D0\u79CD\u8BED\u8A00\uFF0C\u914D\u7F6E\u66FF\u4EE3\u7F16\u8F91\u5668\u8BBE\u7F6E\u3002","\u6B64\u8BBE\u7F6E\u4E0D\u652F\u6301\u6309\u8BED\u8A00\u914D\u7F6E\u3002","\u9488\u5BF9\u67D0\u79CD\u8BED\u8A00\uFF0C\u914D\u7F6E\u66FF\u4EE3\u7F16\u8F91\u5668\u8BBE\u7F6E\u3002","\u6B64\u8BBE\u7F6E\u4E0D\u652F\u6301\u6309\u8BED\u8A00\u914D\u7F6E\u3002","\u65E0\u6CD5\u6CE8\u518C\u7A7A\u5C5E\u6027",'\u65E0\u6CD5\u6CE8\u518C\u201C{0}\u201D\u3002\u5176\u7B26\u5408\u63CF\u8FF0\u7279\u5B9A\u8BED\u8A00\u7F16\u8F91\u5668\u8BBE\u7F6E\u7684\u8868\u8FBE\u5F0F "\\\\[.*\\\\]$"\u3002\u8BF7\u4F7F\u7528 "configurationDefaults"\u3002',"\u65E0\u6CD5\u6CE8\u518C\u201C{0}\u201D\u3002\u6B64\u5C5E\u6027\u5DF2\u6CE8\u518C\u3002",'\u65E0\u6CD5\u6CE8\u518C "{0}"\u3002\u5173\u8054\u7684\u7B56\u7565 {1} \u5DF2\u5411 {2} \u6CE8\u518C\u3002'],"vs/platform/contextkey/browser/contextKeyService":["\u7528\u4E8E\u8FD4\u56DE\u4E0A\u4E0B\u6587\u952E\u7684\u76F8\u5173\u4FE1\u606F\u7684\u547D\u4EE4"],"vs/platform/contextkey/common/contextkey":["\u4E0A\u4E0B\u6587\u952E\u8868\u8FBE\u5F0F\u4E3A\u7A7A",'\u5FD8\u8BB0\u5199\u5165\u8868\u8FBE\u5F0F\u4E86\u5417? \u8FD8\u53EF\u4EE5\u653E\u7F6E "false" \u6216 "true" \u4EE5\u59CB\u7EC8\u5206\u522B\u8BC4\u4F30\u4E3A false \u6216 true\u3002','"not" \u540E\u9762\u7684 "in"\u3002','\u53F3\u62EC\u53F7 ")"',"\u610F\u5916\u7684\u4EE4\u724C","\u5FD8\u8BB0\u5728\u4EE4\u724C\u4E4B\u524D\u653E\u7F6E && \u6216 || \u4E86\u5417?","\u610F\u5916\u7684\u8868\u8FBE\u5F0F\u7ED3\u5C3E","\u5FD8\u8BB0\u653E\u7F6E\u4E0A\u4E0B\u6587\u952E\u4E86\u5417?",`\u5E94\u4E3A: {0}\r +\u6536\u5230\u7684: "{1}"\u3002`],"vs/platform/contextkey/common/contextkeys":["\u64CD\u4F5C\u7CFB\u7EDF\u662F\u5426 macOS","\u64CD\u4F5C\u7CFB\u7EDF\u662F\u5426\u4E3A Linux","\u64CD\u4F5C\u7CFB\u7EDF\u662F\u5426\u4E3A Windows","\u5E73\u53F0\u662F\u5426\u4E3A Web \u6D4F\u89C8\u5668","\u64CD\u4F5C\u7CFB\u7EDF\u662F\u5426\u662F\u975E\u6D4F\u89C8\u5668\u5E73\u53F0\u4E0A\u7684 macOS","\u64CD\u4F5C\u7CFB\u7EDF\u662F\u5426\u4E3A iOS","\u5E73\u53F0\u662F\u5426\u4E3A Web \u6D4F\u89C8\u5668","VS Code \u7684\u8D28\u91CF\u7C7B\u578B","\u952E\u76D8\u7126\u70B9\u662F\u5426\u5728\u8F93\u5165\u6846\u4E2D"],"vs/platform/contextkey/common/scanner":["\u4F60\u6307\u7684\u662F {0} \u5417?","\u4F60\u6307\u7684\u662F {0} \u8FD8\u662F {1}?","\u4F60\u6307\u7684\u662F {0}\u3001{1} \u8FD8\u662F {2}?","\u5FD8\u8BB0\u5DE6\u5F15\u53F7\u6216\u53F3\u5F15\u53F7\u4E86\u5417?",'\u5FD8\u8BB0\u8F6C\u4E49 "/"(\u659C\u6760)\u5B57\u7B26\u4E86\u5417? \u5728\u8BE5\u5B57\u7B26\u524D\u653E\u7F6E\u4E24\u4E2A\u53CD\u659C\u6760\u4EE5\u8FDB\u884C\u8F6C\u4E49\uFF0C\u4F8B\u5982 "\\\\/"\u3002'],"vs/platform/history/browser/contextScopedHistoryWidget":["\u5EFA\u8BAE\u662F\u5426\u53EF\u89C1"],"vs/platform/keybinding/common/abstractKeybindingService":["({0})\u5DF2\u6309\u4E0B\u3002\u6B63\u5728\u7B49\u5F85\u6309\u4E0B\u7B2C\u4E8C\u4E2A\u952E...","\u5DF2\u6309\u4E0B({0})\u3002\u6B63\u5728\u7B49\u5F85\u7B2C\u4E8C\u4E2A\u952E...","\u7EC4\u5408\u952E({0}\uFF0C{1})\u4E0D\u662F\u547D\u4EE4\u3002","\u7EC4\u5408\u952E({0}\uFF0C{1})\u4E0D\u662F\u547D\u4EE4\u3002"],"vs/platform/list/browser/listService":["\u5DE5\u4F5C\u53F0","\u6620\u5C04\u4E3A `Ctrl` (Windows \u548C Linux) \u6216 `Command` (macOS)\u3002","\u6620\u5C04\u4E3A `Alt` (Windows \u548C Linux) \u6216 `Option` (macOS)\u3002","\u5728\u901A\u8FC7\u9F20\u6807\u591A\u9009\u6811\u548C\u5217\u8868\u6761\u76EE\u65F6\u4F7F\u7528\u7684\u4FEE\u6539\u952E (\u4F8B\u5982\u201C\u8D44\u6E90\u7BA1\u7406\u5668\u201D\u3001\u201C\u6253\u5F00\u7684\u7F16\u8F91\u5668\u201D\u548C\u201C\u6E90\u4EE3\u7801\u7BA1\u7406\u201D\u89C6\u56FE)\u3002\u201C\u5728\u4FA7\u8FB9\u6253\u5F00\u201D\u529F\u80FD\u6240\u9700\u7684\u9F20\u6807\u52A8\u4F5C (\u82E5\u53EF\u7528) \u5C06\u4F1A\u76F8\u5E94\u8C03\u6574\uFF0C\u4E0D\u4E0E\u591A\u9009\u4FEE\u6539\u952E\u51B2\u7A81\u3002","\u63A7\u5236\u5982\u4F55\u4F7F\u7528\u9F20\u6807\u6253\u5F00\u6811\u548C\u5217\u8868\u4E2D\u7684\u9879(\u82E5\u652F\u6301)\u3002\u8BF7\u6CE8\u610F\uFF0C\u5982\u679C\u6B64\u8BBE\u7F6E\u4E0D\u9002\u7528\uFF0C\u67D0\u4E9B\u6811\u548C\u5217\u8868\u53EF\u80FD\u4F1A\u9009\u62E9\u5FFD\u7565\u5B83\u3002","\u63A7\u5236\u5DE5\u4F5C\u53F0\u4E0A\u7684\u5217\u8868\u548C\u6811\u662F\u5426\u652F\u6301\u6C34\u5E73\u6EDA\u52A8\u3002\u8B66\u544A: \u6253\u5F00\u6B64\u8BBE\u7F6E\u4F1A\u5F71\u54CD\u6027\u80FD\u3002","\u63A7\u5236\u5728\u6EDA\u52A8\u6761\u4E2D\u5355\u51FB\u65F6\u662F\u5426\u9010\u9875\u5355\u51FB\u3002","\u63A7\u5236\u6811\u7F29\u8FDB(\u4EE5\u50CF\u7D20\u4E3A\u5355\u4F4D)\u3002","\u63A7\u5236\u6811\u662F\u5426\u5E94\u5448\u73B0\u7F29\u8FDB\u53C2\u8003\u7EBF\u3002","\u63A7\u5236\u5217\u8868\u548C\u6811\u662F\u5426\u5177\u6709\u5E73\u6ED1\u6EDA\u52A8\u6548\u679C\u3002","\u5BF9\u9F20\u6807\u6EDA\u8F6E\u6EDA\u52A8\u4E8B\u4EF6\u7684 `deltaX` \u548C `deltaY` \u4E58\u4E0A\u7684\u7CFB\u6570\u3002",'\u6309\u4E0B"Alt"\u65F6\u6EDA\u52A8\u901F\u5EA6\u500D\u589E\u3002',"\u641C\u7D22\u65F6\u7A81\u51FA\u663E\u793A\u5143\u7D20\u3002\u8FDB\u4E00\u6B65\u5411\u4E0A\u548C\u5411\u4E0B\u5BFC\u822A\u5C06\u4EC5\u904D\u5386\u7A81\u51FA\u663E\u793A\u7684\u5143\u7D20\u3002","\u641C\u7D22\u65F6\u7B5B\u9009\u5143\u7D20\u3002","\u63A7\u5236\u5DE5\u4F5C\u53F0\u4E2D\u5217\u8868\u548C\u6811\u7684\u9ED8\u8BA4\u67E5\u627E\u6A21\u5F0F\u3002","\u7B80\u5355\u952E\u76D8\u5BFC\u822A\u805A\u7126\u4E0E\u952E\u76D8\u8F93\u5165\u76F8\u5339\u914D\u7684\u5143\u7D20\u3002\u4EC5\u5BF9\u524D\u7F00\u8FDB\u884C\u5339\u914D\u3002","\u9AD8\u4EAE\u952E\u76D8\u5BFC\u822A\u4F1A\u7A81\u51FA\u663E\u793A\u4E0E\u952E\u76D8\u8F93\u5165\u76F8\u5339\u914D\u7684\u5143\u7D20\u3002\u8FDB\u4E00\u6B65\u5411\u4E0A\u548C\u5411\u4E0B\u5BFC\u822A\u5C06\u4EC5\u904D\u5386\u7A81\u51FA\u663E\u793A\u7684\u5143\u7D20\u3002","\u7B5B\u9009\u5668\u952E\u76D8\u5BFC\u822A\u5C06\u7B5B\u9009\u51FA\u5E76\u9690\u85CF\u4E0E\u952E\u76D8\u8F93\u5165\u4E0D\u5339\u914D\u7684\u6240\u6709\u5143\u7D20\u3002","\u63A7\u5236\u5DE5\u4F5C\u53F0\u4E2D\u7684\u5217\u8868\u548C\u6811\u7684\u952E\u76D8\u5BFC\u822A\u6837\u5F0F\u3002\u5B83\u53EF\u4E3A\u201C\u7B80\u5355\u201D\u3001\u201C\u7A81\u51FA\u663E\u793A\u201D\u6216\u201C\u7B5B\u9009\u201D\u3002",'\u8BF7\u6539\u7528 "workbench.list.defaultFindMode" \u548C "workbench.list.typeNavigationMode"\u3002',"\u5728\u641C\u7D22\u65F6\u4F7F\u7528\u6A21\u7CCA\u5339\u914D\u3002","\u5728\u641C\u7D22\u65F6\u4F7F\u7528\u8FDE\u7EED\u5339\u914D\u3002","\u63A7\u5236\u5728\u5DE5\u4F5C\u53F0\u4E2D\u641C\u7D22\u5217\u8868\u548C\u6811\u65F6\u4F7F\u7528\u7684\u5339\u914D\u7C7B\u578B\u3002","\u63A7\u5236\u5728\u5355\u51FB\u6587\u4EF6\u5939\u540D\u79F0\u65F6\u5982\u4F55\u6269\u5C55\u6811\u6587\u4EF6\u5939\u3002\u8BF7\u6CE8\u610F\uFF0C\u5982\u679C\u4E0D\u9002\u7528\uFF0C\u67D0\u4E9B\u6811\u548C\u5217\u8868\u53EF\u80FD\u4F1A\u9009\u62E9\u5FFD\u7565\u6B64\u8BBE\u7F6E\u3002","\u63A7\u5236\u7C7B\u578B\u5BFC\u822A\u5728\u5DE5\u4F5C\u53F0\u7684\u5217\u8868\u548C\u6811\u4E2D\u7684\u5DE5\u4F5C\u65B9\u5F0F\u3002\u5982\u679C\u8BBE\u7F6E\u4E3A`trigger`\uFF0C\u5219\u5728\u8FD0\u884C `list.triggerTypeNavigation` \u547D\u4EE4\u540E\uFF0C\u7C7B\u578B\u5BFC\u822A\u5C06\u5F00\u59CB\u3002"],"vs/platform/markers/common/markers":["\u9519\u8BEF","\u8B66\u544A","\u4FE1\u606F"],"vs/platform/quickinput/browser/commandsQuickAccess":["\u6700\u8FD1\u4F7F\u7528","\u7C7B\u4F3C\u547D\u4EE4","\u5E38\u7528","\u5176\u4ED6\u547D\u4EE4","\u7C7B\u4F3C\u547D\u4EE4","{0}, {1}",'\u547D\u4EE4 "{0}" \u5BFC\u81F4\u9519\u8BEF'],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["\u4E0A\u4E00\u6B65",'\u6309 "Enter" \u4EE5\u786E\u8BA4\u6216\u6309 "Esc" \u4EE5\u53D6\u6D88',"{0}/{1}","\u5728\u6B64\u8F93\u5165\u53EF\u7F29\u5C0F\u7ED3\u679C\u8303\u56F4\u3002"],"vs/platform/quickinput/browser/quickInputController":["\u5207\u6362\u6240\u6709\u590D\u9009\u6846","{0} \u4E2A\u7ED3\u679C","\u5DF2\u9009 {0} \u9879","\u786E\u5B9A","\u81EA\u5B9A\u4E49","\u540E\u9000 ({0})","\u4E0A\u4E00\u6B65"],"vs/platform/quickinput/browser/quickInputList":["\u5FEB\u901F\u8F93\u5165"],"vs/platform/quickinput/browser/quickInputUtils":['\u5355\u51FB\u4EE5\u6267\u884C\u547D\u4EE4 "{0}"'],"vs/platform/theme/common/colorRegistry":["\u6574\u4F53\u524D\u666F\u8272\u3002\u6B64\u989C\u8272\u4EC5\u5728\u4E0D\u88AB\u7EC4\u4EF6\u8986\u76D6\u65F6\u9002\u7528\u3002","\u5DF2\u7981\u7528\u5143\u7D20\u7684\u6574\u4F53\u524D\u666F\u8272\u3002\u4EC5\u5728\u672A\u7531\u7EC4\u4EF6\u66FF\u4EE3\u65F6\u624D\u80FD\u4F7F\u7528\u6B64\u989C\u8272\u3002","\u9519\u8BEF\u4FE1\u606F\u7684\u6574\u4F53\u524D\u666F\u8272\u3002\u6B64\u989C\u8272\u4EC5\u5728\u4E0D\u88AB\u7EC4\u4EF6\u8986\u76D6\u65F6\u9002\u7528\u3002","\u63D0\u4F9B\u5176\u4ED6\u4FE1\u606F\u7684\u8BF4\u660E\u6587\u672C\u7684\u524D\u666F\u8272\uFF0C\u4F8B\u5982\u6807\u7B7E\u6587\u672C\u3002","\u5DE5\u4F5C\u53F0\u4E2D\u56FE\u6807\u7684\u9ED8\u8BA4\u989C\u8272\u3002","\u7126\u70B9\u5143\u7D20\u7684\u6574\u4F53\u8FB9\u6846\u989C\u8272\u3002\u6B64\u989C\u8272\u4EC5\u5728\u4E0D\u88AB\u5176\u4ED6\u7EC4\u4EF6\u8986\u76D6\u65F6\u9002\u7528\u3002","\u5728\u5143\u7D20\u5468\u56F4\u989D\u5916\u7684\u4E00\u5C42\u8FB9\u6846\uFF0C\u7528\u6765\u63D0\u9AD8\u5BF9\u6BD4\u5EA6\u4ECE\u800C\u533A\u522B\u5176\u4ED6\u5143\u7D20\u3002","\u5728\u6D3B\u52A8\u5143\u7D20\u5468\u56F4\u989D\u5916\u7684\u4E00\u5C42\u8FB9\u6846\uFF0C\u7528\u6765\u63D0\u9AD8\u5BF9\u6BD4\u5EA6\u4ECE\u800C\u533A\u522B\u5176\u4ED6\u5143\u7D20\u3002","\u5DE5\u4F5C\u53F0\u6240\u9009\u6587\u672C\u7684\u80CC\u666F\u989C\u8272(\u4F8B\u5982\u8F93\u5165\u5B57\u6BB5\u6216\u6587\u672C\u533A\u57DF)\u3002\u6CE8\u610F\uFF0C\u672C\u8BBE\u7F6E\u4E0D\u9002\u7528\u4E8E\u7F16\u8F91\u5668\u3002","\u6587\u5B57\u5206\u9694\u7B26\u7684\u989C\u8272\u3002","\u6587\u672C\u4E2D\u94FE\u63A5\u7684\u524D\u666F\u8272\u3002","\u6587\u672C\u4E2D\u94FE\u63A5\u5728\u70B9\u51FB\u6216\u9F20\u6807\u60AC\u505C\u65F6\u7684\u524D\u666F\u8272 \u3002","\u9884\u683C\u5F0F\u5316\u6587\u672C\u6BB5\u7684\u524D\u666F\u8272\u3002","\u6587\u672C\u4E2D\u5757\u5F15\u7528\u7684\u80CC\u666F\u989C\u8272\u3002","\u6587\u672C\u4E2D\u5757\u5F15\u7528\u7684\u8FB9\u6846\u989C\u8272\u3002","\u6587\u672C\u4E2D\u4EE3\u7801\u5757\u7684\u80CC\u666F\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5185\u5C0F\u7EC4\u4EF6(\u5982\u67E5\u627E/\u66FF\u6362)\u7684\u9634\u5F71\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5185\u5C0F\u7EC4\u4EF6(\u5982\u67E5\u627E/\u66FF\u6362)\u7684\u8FB9\u6846\u989C\u8272\u3002","\u8F93\u5165\u6846\u80CC\u666F\u8272\u3002","\u8F93\u5165\u6846\u524D\u666F\u8272\u3002","\u8F93\u5165\u6846\u8FB9\u6846\u3002","\u8F93\u5165\u5B57\u6BB5\u4E2D\u5DF2\u6FC0\u6D3B\u9009\u9879\u7684\u8FB9\u6846\u989C\u8272\u3002","\u8F93\u5165\u5B57\u6BB5\u4E2D\u6FC0\u6D3B\u9009\u9879\u7684\u80CC\u666F\u989C\u8272\u3002","\u8F93\u5165\u5B57\u6BB5\u4E2D\u9009\u9879\u7684\u80CC\u666F\u60AC\u505C\u989C\u8272\u3002","\u8F93\u5165\u5B57\u6BB5\u4E2D\u5DF2\u6FC0\u6D3B\u7684\u9009\u9879\u7684\u524D\u666F\u8272\u3002","\u8F93\u5165\u6846\u4E2D\u5360\u4F4D\u7B26\u7684\u524D\u666F\u8272\u3002","\u8F93\u5165\u9A8C\u8BC1\u7ED3\u679C\u4E3A\u4FE1\u606F\u7EA7\u522B\u65F6\u7684\u80CC\u666F\u8272\u3002","\u8F93\u5165\u9A8C\u8BC1\u7ED3\u679C\u4E3A\u4FE1\u606F\u7EA7\u522B\u65F6\u7684\u524D\u666F\u8272\u3002","\u4E25\u91CD\u6027\u4E3A\u4FE1\u606F\u65F6\u8F93\u5165\u9A8C\u8BC1\u7684\u8FB9\u6846\u989C\u8272\u3002","\u4E25\u91CD\u6027\u4E3A\u8B66\u544A\u65F6\u8F93\u5165\u9A8C\u8BC1\u7684\u80CC\u666F\u8272\u3002","\u8F93\u5165\u9A8C\u8BC1\u7ED3\u679C\u4E3A\u8B66\u544A\u7EA7\u522B\u65F6\u7684\u524D\u666F\u8272\u3002","\u4E25\u91CD\u6027\u4E3A\u8B66\u544A\u65F6\u8F93\u5165\u9A8C\u8BC1\u7684\u8FB9\u6846\u989C\u8272\u3002","\u8F93\u5165\u9A8C\u8BC1\u7ED3\u679C\u4E3A\u9519\u8BEF\u7EA7\u522B\u65F6\u7684\u80CC\u666F\u8272\u3002","\u8F93\u5165\u9A8C\u8BC1\u7ED3\u679C\u4E3A\u9519\u8BEF\u7EA7\u522B\u65F6\u7684\u524D\u666F\u8272\u3002","\u4E25\u91CD\u6027\u4E3A\u9519\u8BEF\u65F6\u8F93\u5165\u9A8C\u8BC1\u7684\u8FB9\u6846\u989C\u8272\u3002","\u4E0B\u62C9\u5217\u8868\u80CC\u666F\u8272\u3002","\u4E0B\u62C9\u5217\u8868\u80CC\u666F\u8272\u3002","\u4E0B\u62C9\u5217\u8868\u524D\u666F\u8272\u3002","\u4E0B\u62C9\u5217\u8868\u8FB9\u6846\u3002","\u6309\u94AE\u524D\u666F\u8272\u3002","\u6309\u94AE\u5206\u9694\u7B26\u989C\u8272\u3002","\u6309\u94AE\u80CC\u666F\u8272\u3002","\u6309\u94AE\u5728\u60AC\u505C\u65F6\u7684\u80CC\u666F\u989C\u8272\u3002","\u6309\u94AE\u8FB9\u6846\u989C\u8272\u3002","\u8F85\u52A9\u6309\u94AE\u524D\u666F\u8272\u3002","\u8F85\u52A9\u6309\u94AE\u80CC\u666F\u8272\u3002","\u60AC\u505C\u65F6\u7684\u8F85\u52A9\u6309\u94AE\u80CC\u666F\u8272\u3002","Badge \u80CC\u666F\u8272\u3002Badge \u662F\u5C0F\u578B\u7684\u4FE1\u606F\u6807\u7B7E\uFF0C\u5982\u8868\u793A\u641C\u7D22\u7ED3\u679C\u6570\u91CF\u7684\u6807\u7B7E\u3002","Badge \u524D\u666F\u8272\u3002Badge \u662F\u5C0F\u578B\u7684\u4FE1\u606F\u6807\u7B7E\uFF0C\u5982\u8868\u793A\u641C\u7D22\u7ED3\u679C\u6570\u91CF\u7684\u6807\u7B7E\u3002","\u8868\u793A\u89C6\u56FE\u88AB\u6EDA\u52A8\u7684\u6EDA\u52A8\u6761\u9634\u5F71\u3002","\u6EDA\u52A8\u6761\u6ED1\u5757\u80CC\u666F\u8272","\u6EDA\u52A8\u6761\u6ED1\u5757\u5728\u60AC\u505C\u65F6\u7684\u80CC\u666F\u8272","\u6EDA\u52A8\u6761\u6ED1\u5757\u5728\u88AB\u70B9\u51FB\u65F6\u7684\u80CC\u666F\u8272\u3002","\u8868\u793A\u957F\u65F6\u95F4\u64CD\u4F5C\u7684\u8FDB\u5EA6\u6761\u7684\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u9519\u8BEF\u6587\u672C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7F16\u8F91\u5668\u4E2D\u9519\u8BEF\u6CE2\u6D6A\u7EBF\u7684\u524D\u666F\u8272\u3002","\u5982\u679C\u8BBE\u7F6E\uFF0C\u7F16\u8F91\u5668\u4E2D\u9519\u8BEF\u7684\u53CC\u4E0B\u5212\u7EBF\u989C\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u8B66\u544A\u6587\u672C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7F16\u8F91\u5668\u4E2D\u8B66\u544A\u6CE2\u6D6A\u7EBF\u7684\u524D\u666F\u8272\u3002","\u5982\u679C\u8BBE\u7F6E\uFF0C\u7F16\u8F91\u5668\u4E2D\u8B66\u544A\u7684\u53CC\u4E0B\u5212\u7EBF\u989C\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u4FE1\u606F\u6587\u672C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7F16\u8F91\u5668\u4E2D\u4FE1\u606F\u6CE2\u6D6A\u7EBF\u7684\u524D\u666F\u8272\u3002","\u5982\u679C\u8BBE\u7F6E\uFF0C\u7F16\u8F91\u5668\u4E2D\u4FE1\u606F\u7684\u53CC\u4E0B\u5212\u7EBF\u989C\u8272\u3002","\u7F16\u8F91\u5668\u4E2D\u63D0\u793A\u6CE2\u6D6A\u7EBF\u7684\u524D\u666F\u8272\u3002","\u5982\u679C\u8BBE\u7F6E\uFF0C\u7F16\u8F91\u5668\u4E2D\u63D0\u793A\u7684\u53CC\u4E0B\u5212\u7EBF\u989C\u8272\u3002","\u6D3B\u52A8\u6846\u683C\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7F16\u8F91\u5668\u80CC\u666F\u8272\u3002","\u7F16\u8F91\u5668\u9ED8\u8BA4\u524D\u666F\u8272\u3002","\u7F16\u8F91\u5668\u7684\u7C98\u6EDE\u6EDA\u52A8\u80CC\u666F\u8272","\u7F16\u8F91\u5668\u60AC\u505C\u80CC\u666F\u8272\u4E0A\u7684\u7C98\u6EDE\u6EDA\u52A8","\u7F16\u8F91\u5668\u7EC4\u4EF6(\u5982\u67E5\u627E/\u66FF\u6362)\u80CC\u666F\u989C\u8272\u3002","\u7F16\u8F91\u5668\u5C0F\u90E8\u4EF6\u7684\u524D\u666F\u8272\uFF0C\u5982\u67E5\u627E/\u66FF\u6362\u3002","\u7F16\u8F91\u5668\u5C0F\u90E8\u4EF6\u7684\u8FB9\u6846\u989C\u8272\u3002\u6B64\u989C\u8272\u4EC5\u5728\u5C0F\u90E8\u4EF6\u6709\u8FB9\u6846\u4E14\u4E0D\u88AB\u5C0F\u90E8\u4EF6\u91CD\u5199\u65F6\u9002\u7528\u3002","\u7F16\u8F91\u5668\u5C0F\u90E8\u4EF6\u5927\u5C0F\u8C03\u6574\u6761\u7684\u8FB9\u6846\u989C\u8272\u3002\u6B64\u989C\u8272\u4EC5\u5728\u5C0F\u90E8\u4EF6\u6709\u8C03\u6574\u8FB9\u6846\u4E14\u4E0D\u88AB\u5C0F\u90E8\u4EF6\u989C\u8272\u8986\u76D6\u65F6\u4F7F\u7528\u3002","\u80CC\u666F\u989C\u8272\u5FEB\u901F\u9009\u53D6\u5668\u3002\u5FEB\u901F\u9009\u53D6\u5668\u5C0F\u90E8\u4EF6\u662F\u9009\u53D6\u5668(\u5982\u547D\u4EE4\u8C03\u8272\u677F)\u7684\u5BB9\u5668\u3002","\u524D\u666F\u989C\u8272\u5FEB\u901F\u9009\u53D6\u5668\u3002\u5FEB\u901F\u9009\u53D6\u5668\u5C0F\u90E8\u4EF6\u662F\u547D\u4EE4\u8C03\u8272\u677F\u7B49\u9009\u53D6\u5668\u7684\u5BB9\u5668\u3002","\u6807\u9898\u80CC\u666F\u989C\u8272\u5FEB\u901F\u9009\u53D6\u5668\u3002\u5FEB\u901F\u9009\u53D6\u5668\u5C0F\u90E8\u4EF6\u662F\u547D\u4EE4\u8C03\u8272\u677F\u7B49\u9009\u53D6\u5668\u7684\u5BB9\u5668\u3002","\u5FEB\u901F\u9009\u53D6\u5668\u5206\u7EC4\u6807\u7B7E\u7684\u989C\u8272\u3002","\u5FEB\u901F\u9009\u53D6\u5668\u5206\u7EC4\u8FB9\u6846\u7684\u989C\u8272\u3002","\u952E\u7ED1\u5B9A\u6807\u7B7E\u80CC\u666F\u8272\u3002\u952E\u7ED1\u5B9A\u6807\u7B7E\u7528\u4E8E\u8868\u793A\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002","\u952E\u7ED1\u5B9A\u6807\u7B7E\u524D\u666F\u8272\u3002\u952E\u7ED1\u5B9A\u6807\u7B7E\u7528\u4E8E\u8868\u793A\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002","\u952E\u7ED1\u5B9A\u6807\u7B7E\u8FB9\u6846\u8272\u3002\u952E\u7ED1\u5B9A\u6807\u7B7E\u7528\u4E8E\u8868\u793A\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002","\u952E\u7ED1\u5B9A\u6807\u7B7E\u8FB9\u6846\u5E95\u90E8\u8272\u3002\u952E\u7ED1\u5B9A\u6807\u7B7E\u7528\u4E8E\u8868\u793A\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002","\u7F16\u8F91\u5668\u6240\u9009\u5185\u5BB9\u7684\u989C\u8272\u3002","\u7528\u4EE5\u5F70\u663E\u9AD8\u5BF9\u6BD4\u5EA6\u7684\u6240\u9009\u6587\u672C\u7684\u989C\u8272\u3002","\u975E\u6D3B\u52A8\u7F16\u8F91\u5668\u4E2D\u6240\u9009\u5185\u5BB9\u7684\u989C\u8272\uFF0C\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u88C5\u9970\u6548\u679C\u3002","\u5177\u6709\u4E0E\u6240\u9009\u9879\u76F8\u5173\u5185\u5BB9\u7684\u533A\u57DF\u7684\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u4E0E\u6240\u9009\u9879\u5185\u5BB9\u76F8\u540C\u7684\u533A\u57DF\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5F53\u524D\u641C\u7D22\u5339\u914D\u9879\u7684\u989C\u8272\u3002","\u5176\u4ED6\u641C\u7D22\u5339\u914D\u9879\u7684\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u9650\u5236\u641C\u7D22\u8303\u56F4\u7684\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5F53\u524D\u641C\u7D22\u5339\u914D\u9879\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5176\u4ED6\u641C\u7D22\u5339\u914D\u9879\u7684\u8FB9\u6846\u989C\u8272\u3002","\u9650\u5236\u641C\u7D22\u7684\u8303\u56F4\u7684\u8FB9\u6846\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u641C\u7D22\u7F16\u8F91\u5668\u67E5\u8BE2\u5339\u914D\u7684\u989C\u8272\u3002","\u641C\u7D22\u7F16\u8F91\u5668\u67E5\u8BE2\u5339\u914D\u7684\u8FB9\u6846\u989C\u8272\u3002","\u641C\u7D22 Viewlet \u5B8C\u6210\u6D88\u606F\u4E2D\u6587\u672C\u7684\u989C\u8272\u3002","\u5728\u4E0B\u9762\u7A81\u51FA\u663E\u793A\u60AC\u505C\u7684\u5B57\u8BCD\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7F16\u8F91\u5668\u60AC\u505C\u63D0\u793A\u7684\u80CC\u666F\u989C\u8272\u3002","\u7F16\u8F91\u5668\u60AC\u505C\u7684\u524D\u666F\u989C\u8272\u3002","\u5149\u6807\u60AC\u505C\u65F6\u7F16\u8F91\u5668\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7F16\u8F91\u5668\u60AC\u505C\u72B6\u6001\u680F\u7684\u80CC\u666F\u8272\u3002","\u6D3B\u52A8\u94FE\u63A5\u989C\u8272\u3002","\u5185\u8054\u63D0\u793A\u7684\u524D\u666F\u8272","\u5185\u8054\u63D0\u793A\u7684\u80CC\u666F\u8272","\u7C7B\u578B\u5185\u8054\u63D0\u793A\u7684\u524D\u666F\u8272","\u7C7B\u578B\u5185\u8054\u63D0\u793A\u7684\u80CC\u666F\u8272","\u53C2\u6570\u5185\u8054\u63D0\u793A\u7684\u524D\u666F\u8272","\u53C2\u6570\u5185\u8054\u63D0\u793A\u7684\u80CC\u666F\u8272","\u7528\u4E8E\u706F\u6CE1\u64CD\u4F5C\u56FE\u6807\u7684\u989C\u8272\u3002","\u7528\u4E8E\u706F\u6CE1\u81EA\u52A8\u4FEE\u590D\u64CD\u4F5C\u56FE\u6807\u7684\u989C\u8272\u3002","\u5DF2\u63D2\u5165\u7684\u6587\u672C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5DF2\u5220\u9664\u7684\u6587\u672C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5DF2\u63D2\u5165\u7684\u884C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5DF2\u5220\u9664\u7684\u884C\u7684\u80CC\u666F\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u63D2\u5165\u884C\u7684\u8FB9\u8DDD\u7684\u80CC\u666F\u8272\u3002","\u5220\u9664\u884C\u7684\u8FB9\u8DDD\u7684\u80CC\u666F\u8272\u3002","\u63D2\u5165\u5185\u5BB9\u7684\u5DEE\u5F02\u6982\u8FF0\u6807\u5C3A\u524D\u666F\u3002","\u5220\u9664\u5185\u5BB9\u7684\u5DEE\u5F02\u6982\u8FF0\u6807\u5C3A\u524D\u666F\u3002","\u63D2\u5165\u7684\u6587\u672C\u7684\u8F6E\u5ED3\u989C\u8272\u3002","\u88AB\u5220\u9664\u6587\u672C\u7684\u8F6E\u5ED3\u989C\u8272\u3002","\u4E24\u4E2A\u6587\u672C\u7F16\u8F91\u5668\u4E4B\u95F4\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5DEE\u5F02\u7F16\u8F91\u5668\u7684\u5BF9\u89D2\u7EBF\u586B\u5145\u989C\u8272\u3002\u5BF9\u89D2\u7EBF\u586B\u5145\u7528\u4E8E\u5E76\u6392\u5DEE\u5F02\u89C6\u56FE\u3002","\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u672A\u66F4\u6539\u5757\u7684\u80CC\u666F\u8272\u3002","\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u672A\u66F4\u6539\u5757\u7684\u524D\u666F\u8272\u3002","\u5DEE\u5F02\u7F16\u8F91\u5668\u4E2D\u672A\u66F4\u6539\u4EE3\u7801\u7684\u80CC\u666F\u8272\u3002","\u7126\u70B9\u9879\u5728\u5217\u8868\u6216\u6811\u6D3B\u52A8\u65F6\u7684\u80CC\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u7126\u70B9\u9879\u5728\u5217\u8868\u6216\u6811\u6D3B\u52A8\u65F6\u7684\u524D\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5217\u8868/\u6811\u6D3B\u52A8\u65F6\uFF0C\u7126\u70B9\u9879\u76EE\u7684\u5217\u8868/\u6811\u8FB9\u6846\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868/\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5F53\u5217\u8868/\u6811\u5904\u4E8E\u6D3B\u52A8\u72B6\u6001\u4E14\u5DF2\u9009\u62E9\u65F6\uFF0C\u91CD\u70B9\u9879\u7684\u5217\u8868/\u6811\u8FB9\u6846\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868/\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u4F46\u975E\u6D3B\u52A8\u7684\u5219\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868\u6216\u6811\u6D3B\u52A8\u65F6\u7684\u80CC\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868\u6216\u6811\u6D3B\u52A8\u65F6\u7684\u524D\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868/\u6811\u6D3B\u52A8\u65F6\u7684\u5217\u8868/\u6811\u56FE\u6807\u524D\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868/\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u5219\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868\u6216\u6811\u975E\u6D3B\u52A8\u65F6\u7684\u80CC\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868\u6216\u6811\u975E\u6D3B\u52A8\u65F6\u7684\u524D\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5DF2\u9009\u9879\u5728\u5217\u8868/\u6811\u975E\u6D3B\u52A8\u65F6\u7684\u56FE\u6807\u524D\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868/\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u5219\u6CA1\u6709\u3002","\u975E\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u63A7\u4EF6\u4E2D\u7126\u70B9\u9879\u7684\u80CC\u666F\u989C\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868\u6216\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u5217\u8868/\u6570\u975E\u6D3B\u52A8\u65F6\uFF0C\u7126\u70B9\u9879\u76EE\u7684\u5217\u8868/\u6811\u8FB9\u6846\u8272\u3002\u6D3B\u52A8\u7684\u5217\u8868/\u6811\u5177\u6709\u952E\u76D8\u7126\u70B9\uFF0C\u975E\u6D3B\u52A8\u7684\u6CA1\u6709\u3002","\u4F7F\u7528\u9F20\u6807\u79FB\u52A8\u9879\u76EE\u65F6\uFF0C\u5217\u8868\u6216\u6811\u7684\u80CC\u666F\u989C\u8272\u3002","\u9F20\u6807\u5728\u9879\u76EE\u4E0A\u60AC\u505C\u65F6\uFF0C\u5217\u8868\u6216\u6811\u7684\u524D\u666F\u989C\u8272\u3002","\u4F7F\u7528\u9F20\u6807\u79FB\u52A8\u9879\u76EE\u65F6\uFF0C\u5217\u8868\u6216\u6811\u8FDB\u884C\u62D6\u653E\u7684\u80CC\u666F\u989C\u8272\u3002","\u5728\u5217\u8868\u6216\u6811\u4E2D\u641C\u7D22\u65F6\uFF0C\u5176\u4E2D\u5339\u914D\u5185\u5BB9\u7684\u9AD8\u4EAE\u989C\u8272\u3002","\u5728\u5217\u8868\u6216\u6811\u4E2D\u641C\u7D22\u65F6\uFF0C\u5339\u914D\u6D3B\u52A8\u805A\u7126\u9879\u7684\u7A81\u51FA\u663E\u793A\u5185\u5BB9\u7684\u5217\u8868/\u6811\u524D\u666F\u8272\u3002","\u5217\u8868\u6216\u6811\u4E2D\u65E0\u6548\u9879\u7684\u524D\u666F\u8272\uFF0C\u4F8B\u5982\u8D44\u6E90\u7BA1\u7406\u5668\u4E2D\u6CA1\u6709\u89E3\u6790\u7684\u6839\u76EE\u5F55\u3002","\u5305\u542B\u9519\u8BEF\u7684\u5217\u8868\u9879\u7684\u524D\u666F\u989C\u8272\u3002","\u5305\u542B\u8B66\u544A\u7684\u5217\u8868\u9879\u7684\u524D\u666F\u989C\u8272\u3002","\u5217\u8868\u548C\u6811\u4E2D\u7C7B\u578B\u7B5B\u9009\u5668\u5C0F\u7EC4\u4EF6\u7684\u80CC\u666F\u8272\u3002","\u5217\u8868\u548C\u6811\u4E2D\u7C7B\u578B\u7B5B\u9009\u5668\u5C0F\u7EC4\u4EF6\u7684\u8F6E\u5ED3\u989C\u8272\u3002","\u5F53\u6CA1\u6709\u5339\u914D\u9879\u65F6\uFF0C\u5217\u8868\u548C\u6811\u4E2D\u7C7B\u578B\u7B5B\u9009\u5668\u5C0F\u7EC4\u4EF6\u7684\u8F6E\u5ED3\u989C\u8272\u3002","\u5217\u8868\u548C\u6811\u4E2D\u7C7B\u578B\u7B5B\u9009\u5668\u5C0F\u7EC4\u4EF6\u7684\u9634\u5F71\u989C\u8272\u3002","\u7B5B\u9009\u540E\u7684\u5339\u914D\u9879\u7684\u80CC\u666F\u989C\u8272\u3002","\u7B5B\u9009\u540E\u7684\u5339\u914D\u9879\u7684\u8FB9\u6846\u989C\u8272\u3002","\u7F29\u8FDB\u53C2\u8003\u7EBF\u7684\u6811\u63CF\u8FB9\u989C\u8272\u3002","\u975E\u6D3B\u52A8\u7F29\u8FDB\u53C2\u8003\u7EBF\u7684\u6811\u63CF\u8FB9\u989C\u8272\u3002","\u5217\u4E4B\u95F4\u7684\u8868\u8FB9\u6846\u989C\u8272\u3002","\u5947\u6570\u8868\u884C\u7684\u80CC\u666F\u8272\u3002","\u53D6\u6D88\u5F3A\u8C03\u7684\u9879\u76EE\u7684\u5217\u8868/\u6811\u524D\u666F\u989C\u8272\u3002","\u590D\u9009\u6846\u5C0F\u90E8\u4EF6\u7684\u80CC\u666F\u989C\u8272\u3002","\u9009\u62E9\u590D\u9009\u6846\u5C0F\u7EC4\u4EF6\u6240\u5728\u7684\u5143\u7D20\u65F6\u8BE5\u5C0F\u7EC4\u4EF6\u7684\u80CC\u666F\u8272\u3002","\u590D\u9009\u6846\u5C0F\u90E8\u4EF6\u7684\u524D\u666F\u8272\u3002","\u590D\u9009\u6846\u5C0F\u90E8\u4EF6\u7684\u8FB9\u6846\u989C\u8272\u3002","\u9009\u62E9\u590D\u9009\u6846\u5C0F\u7EC4\u4EF6\u6240\u5728\u7684\u5143\u7D20\u65F6\u8BE5\u5C0F\u7EC4\u4EF6\u7684\u8FB9\u6846\u989C\u8272\u3002","\u8BF7\u6539\u7528 quickInputList.focusBackground","\u7126\u70B9\u9879\u76EE\u7684\u5FEB\u901F\u9009\u62E9\u5668\u524D\u666F\u8272\u3002","\u7126\u70B9\u9879\u76EE\u7684\u5FEB\u901F\u9009\u53D6\u5668\u56FE\u6807\u524D\u666F\u8272\u3002","\u7126\u70B9\u9879\u76EE\u7684\u5FEB\u901F\u9009\u62E9\u5668\u80CC\u666F\u8272\u3002","\u83DC\u5355\u7684\u8FB9\u6846\u989C\u8272\u3002","\u83DC\u5355\u9879\u7684\u524D\u666F\u989C\u8272\u3002","\u83DC\u5355\u9879\u7684\u80CC\u666F\u989C\u8272\u3002","\u83DC\u5355\u4E2D\u9009\u5B9A\u83DC\u5355\u9879\u7684\u524D\u666F\u8272\u3002","\u83DC\u5355\u4E2D\u6240\u9009\u83DC\u5355\u9879\u7684\u80CC\u666F\u8272\u3002","\u83DC\u5355\u4E2D\u6240\u9009\u83DC\u5355\u9879\u7684\u8FB9\u6846\u989C\u8272\u3002","\u83DC\u5355\u4E2D\u5206\u9694\u7EBF\u7684\u989C\u8272\u3002","\u4F7F\u7528\u9F20\u6807\u60AC\u505C\u5728\u64CD\u4F5C\u4E0A\u65F6\u663E\u793A\u5DE5\u5177\u680F\u80CC\u666F","\u4F7F\u7528\u9F20\u6807\u60AC\u505C\u5728\u64CD\u4F5C\u4E0A\u65F6\u663E\u793A\u5DE5\u5177\u680F\u8F6E\u5ED3","\u5C06\u9F20\u6807\u60AC\u505C\u5728\u64CD\u4F5C\u4E0A\u65F6\u7684\u5DE5\u5177\u680F\u80CC\u666F","\u4EE3\u7801\u7247\u6BB5 Tab \u4F4D\u7684\u9AD8\u4EAE\u80CC\u666F\u8272\u3002","\u4EE3\u7801\u7247\u6BB5 Tab \u4F4D\u7684\u9AD8\u4EAE\u8FB9\u6846\u989C\u8272\u3002","\u4EE3\u7801\u7247\u6BB5\u4E2D\u6700\u540E\u7684 Tab \u4F4D\u7684\u9AD8\u4EAE\u80CC\u666F\u8272\u3002","\u4EE3\u7801\u7247\u6BB5\u4E2D\u6700\u540E\u7684\u5236\u8868\u4F4D\u7684\u9AD8\u4EAE\u8FB9\u6846\u989C\u8272\u3002","\u7126\u70B9\u5BFC\u822A\u8DEF\u5F84\u7684\u989C\u8272","\u5BFC\u822A\u8DEF\u5F84\u9879\u7684\u80CC\u666F\u8272\u3002","\u7126\u70B9\u5BFC\u822A\u8DEF\u5F84\u7684\u989C\u8272","\u5DF2\u9009\u5BFC\u822A\u8DEF\u5F84\u9879\u7684\u989C\u8272\u3002","\u5BFC\u822A\u8DEF\u5F84\u9879\u9009\u62E9\u5668\u7684\u80CC\u666F\u8272\u3002","\u5F53\u524D\u6807\u9898\u80CC\u666F\u7684\u5185\u8054\u5408\u5E76\u51B2\u7A81\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u7684\u5F53\u524D\u5185\u5BB9\u80CC\u666F\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u7684\u4F20\u5165\u6807\u9898\u80CC\u666F\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u7684\u4F20\u5165\u5185\u5BB9\u80CC\u666F\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u7684\u5E38\u89C1\u7956\u5148\u6807\u5934\u80CC\u666F\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u7684\u5E38\u89C1\u7956\u5148\u5185\u5BB9\u80CC\u666F\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u6807\u5934\u548C\u5206\u5272\u7EBF\u7684\u8FB9\u6846\u989C\u8272\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u5F53\u524D\u7248\u672C\u533A\u57DF\u7684\u6982\u89C8\u6807\u5C3A\u524D\u666F\u8272\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u4F20\u5165\u7684\u7248\u672C\u533A\u57DF\u7684\u6982\u89C8\u6807\u5C3A\u524D\u666F\u8272\u3002","\u5185\u8054\u5408\u5E76\u51B2\u7A81\u4E2D\u5171\u540C\u7956\u5148\u533A\u57DF\u7684\u6982\u89C8\u6807\u5C3A\u524D\u666F\u8272\u3002","\u7528\u4E8E\u67E5\u627E\u5339\u914D\u9879\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7528\u4E8E\u7A81\u51FA\u663E\u793A\u6240\u9009\u5185\u5BB9\u7684\u6982\u8FF0\u6807\u5C3A\u6807\u8BB0\u989C\u8272\u3002\u989C\u8272\u5FC5\u987B\u900F\u660E\uFF0C\u4EE5\u514D\u9690\u85CF\u4E0B\u9762\u7684\u4FEE\u9970\u6548\u679C\u3002","\u7528\u4E8E\u67E5\u627E\u5339\u914D\u9879\u7684\u8FF7\u4F60\u5730\u56FE\u6807\u8BB0\u989C\u8272\u3002","\u7528\u4E8E\u91CD\u590D\u7F16\u8F91\u5668\u9009\u62E9\u7684\u7F29\u7565\u56FE\u6807\u8BB0\u989C\u8272\u3002","\u7F16\u8F91\u5668\u9009\u533A\u5728\u8FF7\u4F60\u5730\u56FE\u4E2D\u5BF9\u5E94\u7684\u6807\u8BB0\u989C\u8272\u3002","\u4FE1\u606F\u7684\u8FF7\u4F60\u5730\u56FE\u6807\u8BB0\u989C\u8272\u3002","\u7528\u4E8E\u8B66\u544A\u7684\u8FF7\u4F60\u5730\u56FE\u6807\u8BB0\u989C\u8272\u3002","\u7528\u4E8E\u9519\u8BEF\u7684\u8FF7\u4F60\u5730\u56FE\u6807\u8BB0\u989C\u8272\u3002","\u8FF7\u4F60\u5730\u56FE\u80CC\u666F\u989C\u8272\u3002",'\u5728\u7F29\u7565\u56FE\u4E2D\u5448\u73B0\u7684\u524D\u666F\u5143\u7D20\u7684\u4E0D\u900F\u660E\u5EA6\u3002\u4F8B\u5982\uFF0C"#000000c0" \u5C06\u5448\u73B0\u4E0D\u900F\u660E\u5EA6\u4E3A 75% \u7684\u5143\u7D20\u3002',"\u8FF7\u4F60\u5730\u56FE\u6ED1\u5757\u80CC\u666F\u989C\u8272\u3002","\u60AC\u505C\u65F6\uFF0C\u8FF7\u4F60\u5730\u56FE\u6ED1\u5757\u7684\u80CC\u666F\u989C\u8272\u3002","\u5355\u51FB\u65F6\uFF0C\u8FF7\u4F60\u5730\u56FE\u6ED1\u5757\u7684\u80CC\u666F\u989C\u8272\u3002","\u7528\u4E8E\u95EE\u9898\u9519\u8BEF\u56FE\u6807\u7684\u989C\u8272\u3002","\u7528\u4E8E\u95EE\u9898\u8B66\u544A\u56FE\u6807\u7684\u989C\u8272\u3002","\u7528\u4E8E\u95EE\u9898\u4FE1\u606F\u56FE\u6807\u7684\u989C\u8272\u3002","\u56FE\u8868\u4E2D\u4F7F\u7528\u7684\u524D\u666F\u989C\u8272\u3002","\u7528\u4E8E\u56FE\u8868\u4E2D\u7684\u6C34\u5E73\u7EBF\u6761\u7684\u989C\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u7EA2\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u84DD\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u9EC4\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u6A59\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u7EFF\u8272\u3002","\u56FE\u8868\u53EF\u89C6\u5316\u6548\u679C\u4E2D\u4F7F\u7528\u7684\u7D2B\u8272\u3002"],"vs/platform/theme/common/iconRegistry":["\u8981\u4F7F\u7528\u7684\u5B57\u4F53\u7684 ID\u3002\u5982\u679C\u672A\u8BBE\u7F6E\uFF0C\u5219\u4F7F\u7528\u6700\u5148\u5B9A\u4E49\u7684\u5B57\u4F53\u3002","\u4E0E\u56FE\u6807\u5B9A\u4E49\u5173\u8054\u7684\u5B57\u4F53\u5B57\u7B26\u3002","\u5C0F\u7EC4\u4EF6\u4E2D\u201C\u5173\u95ED\u201D\u64CD\u4F5C\u7684\u56FE\u6807\u3002","\u201C\u8F6C\u5230\u4E0A\u4E00\u4E2A\u7F16\u8F91\u5668\u4F4D\u7F6E\u201D\u56FE\u6807\u3002","\u201C\u8F6C\u5230\u4E0B\u4E00\u4E2A\u7F16\u8F91\u5668\u4F4D\u7F6E\u201D\u56FE\u6807\u3002"],"vs/platform/undoRedo/common/undoRedoService":["\u4EE5\u4E0B\u6587\u4EF6\u5DF2\u5173\u95ED\u5E76\u4E14\u5DF2\u5728\u78C1\u76D8\u4E0A\u4FEE\u6539: {0}\u3002","\u4EE5\u4E0B\u6587\u4EF6\u5DF2\u4EE5\u4E0D\u517C\u5BB9\u7684\u65B9\u5F0F\u4FEE\u6539: {0}\u3002","\u65E0\u6CD5\u5728\u6240\u6709\u6587\u4EF6\u4E2D\u64A4\u6D88\u201C{0}\u201D\u3002{1}","\u65E0\u6CD5\u5728\u6240\u6709\u6587\u4EF6\u4E2D\u64A4\u6D88\u201C{0}\u201D\u3002{1}","\u65E0\u6CD5\u64A4\u6D88\u6240\u6709\u6587\u4EF6\u7684\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u5DF2\u66F4\u6539 {1}","\u65E0\u6CD5\u8DE8\u6240\u6709\u6587\u4EF6\u64A4\u9500\u201C{0}\u201D\uFF0C\u56E0\u4E3A {1} \u4E0A\u5DF2\u6709\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C\u6B63\u5728\u8FD0\u884C","\u65E0\u6CD5\u8DE8\u6240\u6709\u6587\u4EF6\u64A4\u9500\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u540C\u65F6\u53D1\u751F\u4E86\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C","\u662F\u5426\u8981\u5728\u6240\u6709\u6587\u4EF6\u4E2D\u64A4\u6D88\u201C{0}\u201D?","\u5728 {0} \u4E2A\u6587\u4EF6\u4E2D\u64A4\u6D88(&&U)","\u64A4\u6D88\u6B64\u6587\u4EF6(&&F)","\u65E0\u6CD5\u64A4\u9500\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u5DF2\u6709\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C\u6B63\u5728\u8FD0\u884C\u3002","\u662F\u5426\u8981\u64A4\u6D88\u201C{0}\u201D?","\u662F(&&Y)","\u5426","\u65E0\u6CD5\u5728\u6240\u6709\u6587\u4EF6\u4E2D\u91CD\u505A\u201C{0}\u201D\u3002{1}","\u65E0\u6CD5\u5728\u6240\u6709\u6587\u4EF6\u4E2D\u91CD\u505A\u201C{0}\u201D\u3002{1}","\u65E0\u6CD5\u5BF9\u6240\u6709\u6587\u4EF6\u91CD\u505A\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u5DF2\u66F4\u6539 {1}","\u65E0\u6CD5\u8DE8\u6240\u6709\u6587\u4EF6\u91CD\u505A\u201C{0}\u201D\uFF0C\u56E0\u4E3A {1} \u4E0A\u5DF2\u6709\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C\u6B63\u5728\u8FD0\u884C","\u65E0\u6CD5\u8DE8\u6240\u6709\u6587\u4EF6\u91CD\u505A\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u540C\u65F6\u53D1\u751F\u4E86\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C","\u65E0\u6CD5\u91CD\u505A\u201C{0}\u201D\uFF0C\u56E0\u4E3A\u5DF2\u6709\u4E00\u9879\u64A4\u6D88\u6216\u91CD\u505A\u64CD\u4F5C\u6B63\u5728\u8FD0\u884C\u3002"],"vs/platform/workspace/common/workspace":["Code \u5DE5\u4F5C\u533A"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.zh-cn.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-tw.js b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-tw.js new file mode 100644 index 0000000..1de4ef4 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/editor/editor.main.nls.zh-tw.js @@ -0,0 +1,29 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/define("vs/editor/editor.main.nls.zh-tw",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["\u8F38\u5165"],"vs/base/browser/ui/findinput/findInputToggles":["\u5927\u5C0F\u5BEB\u9808\u76F8\u7B26","\u5168\u5B57\u62FC\u5BEB\u9808\u76F8\u7B26","\u4F7F\u7528\u898F\u5247\u904B\u7B97\u5F0F"],"vs/base/browser/ui/findinput/replaceInput":["\u8F38\u5165","\u4FDD\u7559\u6848\u4F8B"],"vs/base/browser/ui/hover/hoverWidget":["\u4F7F\u7528 {0} \u5728\u53EF\u5B58\u53D6\u6AA2\u8996\u4E2D\u6AA2\u67E5\u6B64\u9805\u76EE\u3002","\u900F\u904E\u76EE\u524D\u7121\u6CD5\u900F\u904E\u6309\u9375\u7E6B\u7D50\u95DC\u4FC2\u89F8\u767C\u7684\u958B\u555F\u53EF\u5B58\u53D6\u6AA2\u8996\u547D\u4EE4\uFF0C\u5728\u53EF\u5B58\u53D6\u6AA2\u8996\u4E2D\u6AA2\u67E5\u6B64\u9805\u76EE\u3002"],"vs/base/browser/ui/iconLabel/iconLabelHover":["\u6B63\u5728\u8F09\u5165..."],"vs/base/browser/ui/inputbox/inputBox":["\u932F\u8AA4: {0}","\u8B66\u544A: {0}","\u8CC7\u8A0A: {0}","\u6B77\u7A0B\u8A18\u9304","\u5DF2\u6E05\u9664\u8F38\u5165"],"vs/base/browser/ui/keybindingLabel/keybindingLabel":["\u672A\u7E6B\u7D50"],"vs/base/browser/ui/selectBox/selectBoxCustom":["\u9078\u53D6\u65B9\u584A"],"vs/base/browser/ui/toolbar/toolbar":["\u66F4\u591A\u64CD\u4F5C"],"vs/base/browser/ui/tree/abstractTree":["\u7BE9\u9078","\u6A21\u7CCA\u6BD4\u5C0D","\u8981\u7BE9\u9078\u7684\u985E\u578B","\u8981\u641C\u5C0B\u7684\u985E\u578B","\u8981\u641C\u5C0B\u7684\u985E\u578B","\u95DC\u9589","\u627E\u4E0D\u5230\u4EFB\u4F55\u5143\u7D20\u3002"],"vs/base/common/actions":["(\u7A7A\u7684)"],"vs/base/common/errorMessage":["{0}: {1}","\u767C\u751F\u7CFB\u7D71\u932F\u8AA4 ({0})","\u767C\u751F\u672A\u77E5\u7684\u932F\u8AA4\u3002\u5982\u9700\u8A73\u7D30\u8CC7\u8A0A\uFF0C\u8ACB\u53C3\u95B1\u8A18\u9304\u6A94\u3002","\u767C\u751F\u672A\u77E5\u7684\u932F\u8AA4\u3002\u5982\u9700\u8A73\u7D30\u8CC7\u8A0A\uFF0C\u8ACB\u53C3\u95B1\u8A18\u9304\u6A94\u3002","{0} (\u7E3D\u8A08 {1} \u500B\u932F\u8AA4)","\u767C\u751F\u672A\u77E5\u7684\u932F\u8AA4\u3002\u5982\u9700\u8A73\u7D30\u8CC7\u8A0A\uFF0C\u8ACB\u53C3\u95B1\u8A18\u9304\u6A94\u3002"],"vs/base/common/keybindingLabels":["Ctrl","Shift","Alt","Windows","Ctrl","Shift","Alt","\u8D85\u7D1A\u9375","Control","Shift","\u9078\u9805","\u547D\u4EE4","Control","Shift","Alt","Windows","Control","Shift","Alt","\u8D85\u7D1A\u9375"],"vs/base/common/platform":["_"],"vs/editor/browser/controller/textAreaHandler":["\u7DE8\u8F2F\u5668","\u76EE\u524D\u7121\u6CD5\u5B58\u53D6\u6B64\u7DE8\u8F2F\u5668\u3002","{0} \u82E5\u8981\u555F\u7528\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u6700\u4F73\u5316\u6A21\u5F0F\uFF0C\u8ACB\u4F7F\u7528 {1}","{0} \u82E5\u8981\u555F\u7528\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u6700\u4F73\u5316\u6A21\u5F0F\uFF0C\uFF0C\u8ACB\u4F7F\u7528 {1} \u958B\u555F\u5FEB\u901F\u6311\u9078\uFF0C\u7136\u5F8C\u57F7\u884C [\u5207\u63DB\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u5354\u52A9\u5DE5\u5177\u6A21\u5F0F] \u547D\u4EE4\uFF0C\u8A72\u6A21\u5F0F\u76EE\u524D\u7121\u6CD5\u900F\u904E\u9375\u76E4\u89F8\u767C\u3002","{0} \u8ACB\u4F7F\u7528 {1} \u5B58\u53D6\u6309\u9375\u7E6B\u7D50\u95DC\u4FC2\u7DE8\u8F2F\u5668\u4E26\u52A0\u4EE5\u57F7\u884C\uFF0C\u4EE5\u70BA [\u5207\u63DB\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u5354\u52A9\u5DE5\u5177\u6A21\u5F0F] \u547D\u4EE4\u6307\u6D3E\u6309\u9375\u7E6B\u7D50\u95DC\u4FC2\u3002"],"vs/editor/browser/coreCommands":["\u5373\u4F7F\u884C\u7684\u9577\u5EA6\u904E\u9577\uFF0C\u4ECD\u8981\u5805\u6301\u81F3\u7D50\u5C3E","\u5373\u4F7F\u884C\u7684\u9577\u5EA6\u904E\u9577\uFF0C\u4ECD\u8981\u5805\u6301\u81F3\u7D50\u5C3E","\u5DF2\u79FB\u9664\u6B21\u8981\u8CC7\u6599\u6307\u6A19"],"vs/editor/browser/editorExtensions":["\u5FA9\u539F(&&U)","\u5FA9\u539F","\u53D6\u6D88\u5FA9\u539F(&&R)","\u91CD\u505A","\u5168\u9078(&&S)","\u5168\u9078"],"vs/editor/browser/widget/codeEditorWidget":["\u6E38\u6A19\u6578\u76EE\u5DF2\u9650\u5236\u70BA {0}\u3002\u8ACB\u8003\u616E\u4F7F\u7528 [\u5C0B\u627E\u548C\u53D6\u4EE3](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) \u9032\u884C\u8F03\u5927\u578B\u7684\u8B8A\u66F4\uFF0C\u6216\u589E\u52A0\u7DE8\u8F2F\u5668\u7684\u591A\u91CD\u6E38\u6A19\u9650\u5236\u8A2D\u5B9A\u3002","\u589E\u52A0\u591A\u91CD\u6E38\u6A19\u9650\u5236"],"vs/editor/browser/widget/diffEditor/accessibleDiffViewer":["\u6613\u5B58\u53D6\u5DEE\u7570\u6AA2\u8996\u5668\u4E2D\u7684 [\u63D2\u5165] \u5716\u793A\u3002","\u6613\u5B58\u53D6\u5DEE\u7570\u6AA2\u8996\u5668\u4E2D\u7684 [\u79FB\u9664] \u5716\u793A\u3002","\u6613\u5B58\u53D6\u5DEE\u7570\u6AA2\u8996\u5668\u4E2D\u7684 [\u95DC\u9589] \u5716\u793A\u3002","\u95DC\u9589","\u53EF\u5B58\u53D6\u7684 Diff \u6AA2\u8996\u5668\u3002\u4F7F\u7528\u5411\u4E0A\u548C\u5411\u4E0B\u7BAD\u982D\u4F86\u700F\u89BD\u3002","\u672A\u8B8A\u66F4\u4EFB\u4E00\u884C","\u5DF2\u8B8A\u66F4 1 \u884C","\u5DF2\u8B8A\u66F4 {0} \u884C","{1} \u9805\u5DEE\u7570\u4E2D\u7684\u7B2C {0} \u9805: \u539F\u59CB\u884C {2}\u3001{3}\uFF0C\u4FEE\u6539\u884C {4}\u3001{5}","\u7A7A\u767D","{0} \u672A\u8B8A\u66F4\u884C {1}","{0} \u539F\u59CB\u884C {1} \u4FEE\u6539\u7684\u884C {2}","+ {0} \u4FEE\u6539\u884C {1}","- {0} \u539F\u59CB\u884C {1}"],"vs/editor/browser/widget/diffEditor/colors":["\u5728 Diff \u7DE8\u8F2F\u5668\u4E2D\u79FB\u52D5\u7684\u6587\u5B57\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u5728 Diff \u7DE8\u8F2F\u5668\u4E2D\u79FB\u52D5\u7684\u6587\u5B57\u7684\u4F5C\u7528\u4E2D\u6846\u7DDA\u8272\u5F69\u3002"],"vs/editor/browser/widget/diffEditor/decorations":["Diff \u7DE8\u8F2F\u5668\u4E2D\u7528\u65BC\u63D2\u5165\u7684\u7DDA\u689D\u88DD\u98FE\u3002","Diff \u7DE8\u8F2F\u5668\u4E2D\u7528\u65BC\u79FB\u9664\u7684\u7DDA\u689D\u88DD\u98FE\u3002","\u6309\u4E00\u4E0B\u4EE5\u9084\u539F\u8B8A\u66F4"],"vs/editor/browser/widget/diffEditor/diffEditor.contribution":["\u5207\u63DB\u647A\u758A\u672A\u8B8A\u66F4\u7684\u5340\u57DF","\u5207\u63DB\u986F\u793A\u79FB\u52D5\u7684\u7A0B\u5F0F\u78BC\u5340\u584A","\u7576\u7A7A\u9593\u6709\u9650\u6642\u5207\u63DB\u4F7F\u7528\u5167\u5D4C\u6AA2\u8996","\u7A7A\u9593\u6709\u9650\u6642\u4F7F\u7528\u5167\u5D4C\u6AA2\u8996","\u986F\u793A\u79FB\u52D5\u7684\u7A0B\u5F0F\u78BC\u5340\u584A","Diff \u7DE8\u8F2F\u5668","\u5207\u63DB\u5074\u908A","\u7D50\u675F\u6BD4\u8F03\u79FB\u52D5","\u647A\u758A\u6240\u6709\u672A\u8B8A\u66F4\u7684\u5340\u57DF","\u986F\u793A\u6240\u6709\u672A\u8B8A\u66F4\u7684\u5340\u57DF","\u53EF\u5B58\u53D6\u7684 Diff \u6AA2\u8996\u5668","\u79FB\u81F3\u4E0B\u4E00\u500B\u5DEE\u7570","\u958B\u555F\u6613\u5B58\u53D6\u5DEE\u7570\u6AA2\u8996\u5668","\u79FB\u81F3\u4E0A\u4E00\u500B\u5DEE\u7570"],"vs/editor/browser/widget/diffEditor/diffEditorEditors":[" \u4F7F\u7528 {0} \u4EE5\u958B\u555F\u5354\u52A9\u5DE5\u5177\u8AAA\u660E\u3002"],"vs/editor/browser/widget/diffEditor/hideUnchangedRegionsFeature":["\u647A\u758A\u672A\u8B8A\u66F4\u7684\u5340\u57DF","\u6309\u4E00\u4E0B\u6216\u62D6\u66F3\u4EE5\u5728\u4E0A\u65B9\u986F\u793A\u66F4\u591A\u5167\u5BB9","\u5168\u90E8\u986F\u793A","\u6309\u4E00\u4E0B\u6216\u62D6\u66F3\u4EE5\u5728\u4E0B\u65B9\u986F\u793A\u66F4\u591A\u5167\u5BB9","{0} \u689D\u96B1\u85CF\u884C","\u6309\u5169\u4E0B\u4EE5\u5C55\u958B"],"vs/editor/browser/widget/diffEditor/inlineDiffDeletedCodeMargin":["\u8907\u88FD\u5DF2\u522A\u9664\u7684\u884C","\u8907\u88FD\u5DF2\u522A\u9664\u7684\u884C","\u8907\u88FD\u8B8A\u66F4\u7684\u884C","\u8907\u88FD\u8B8A\u66F4\u7684\u884C","\u8907\u88FD\u5DF2\u522A\u9664\u7684\u884C \uFF08{0}\uFF09","\u8907\u88FD\u8B8A\u66F4\u7684\u884C ({0})","\u9084\u539F\u6B64\u8B8A\u66F4"],"vs/editor/browser/widget/diffEditor/movedBlocksLines":["\u884C {0}-{1} \u7684\u7A0B\u5F0F\u78BC\u5DF2\u79FB\u52D5\uFF0C\u4E14\u6709\u6240\u8B8A\u66F4","\u884C {0}-{1} \u7684\u7A0B\u5F0F\u78BC\u5DF2\u79FB\u52D5\uFF0C\u4E14\u6709\u6240\u8B8A\u66F4","\u7A0B\u5F0F\u78BC\u5DF2\u79FB\u81F3\u884C {0}-{1}","\u884C {0}-{1} \u7684\u7A0B\u5F0F\u78BC\u5DF2\u79FB\u52D5"],"vs/editor/common/config/editorConfigurationSchema":["\u7DE8\u8F2F\u5668","\u8207 Tab \u76F8\u7B49\u7684\u7A7A\u683C\u6578\u91CF\u3002\u7576 {0} \u5DF2\u958B\u555F\u6642\uFF0C\u6703\u6839\u64DA\u6A94\u6848\u5167\u5BB9\u8986\u5BEB\u6B64\u8A2D\u5B9A\u3002","\u7528\u65BC\u7E2E\u6392\u6216 'tabSize' \u4F7F\u7528 `\"editor.tabSize\"` \u503C\u7684\u7A7A\u683C\u6578\u76EE\u3002\u7576 '#editor.detectIndentation#' \u958B\u555F\u6642\uFF0C\u6703\u6839\u64DA\u6A94\u6848\u5167\u5BB9\u8986\u5BEB\u9019\u500B\u8A2D\u5B9A\u3002","\u5728\u6309 `Tab` \u6642\u63D2\u5165\u7A7A\u683C\u3002\u7576 {0} \u958B\u555F\u6642\uFF0C\u6703\u6839\u64DA\u6A94\u6848\u5167\u5BB9\u8986\u5BEB\u6B64\u8A2D\u5B9A\u3002","\u6839\u64DA\u6A94\u6848\u5167\u5BB9\uFF0C\u63A7\u5236\u7576\u6A94\u6848\u958B\u555F\u6642\uFF0C\u662F\u5426\u81EA\u52D5\u5075\u6E2C {0} \u548C {1}\u3002","\u79FB\u9664\u5C3E\u7AEF\u81EA\u52D5\u63D2\u5165\u7684\u7A7A\u767D\u5B57\u5143\u3002","\u91DD\u5C0D\u5927\u578B\u6A94\u6848\u505C\u7528\u90E8\u5206\u9AD8\u8A18\u61B6\u9AD4\u9700\u6C42\u529F\u80FD\u7684\u7279\u6B8A\u8655\u7406\u65B9\u5F0F\u3002","\u63A7\u5236\u662F\u5426\u61C9\u6839\u64DA\u6587\u4EF6\u4E2D\u7684\u55AE\u5B57\u8A08\u7B97\u81EA\u52D5\u5B8C\u6210\u3002","\u50C5\u5EFA\u8B70\u4F86\u81EA\u4F7F\u7528\u4E2D\u6587\u4EF6\u4E2D\u7684\u5B57\u7D44\u3002","\u5EFA\u8B70\u4F86\u81EA\u6240\u6709\u5DF2\u958B\u555F\u6587\u4EF6\u4E2D\uFF0C\u8A9E\u8A00\u76F8\u540C\u7684\u5B57\u7D44\u3002","\u5EFA\u8B70\u4F86\u81EA\u6240\u6709\u5DF2\u958B\u555F\u6587\u4EF6\u4E2D\u7684\u5B57\u7D44\u3002","\u63A7\u5236\u8981\u5F9E\u54EA\u4E9B\u6587\u4EF6\u8A08\u7B97\u4EE5\u5B57\u7D44\u70BA\u57FA\u790E\u7684\u5B8C\u6210\u4F5C\u696D\u3002","\u6240\u6709\u5F69\u8272\u4E3B\u984C\u7686\u5DF2\u555F\u7528\u8A9E\u610F\u9192\u76EE\u63D0\u793A\u3002","\u6240\u6709\u5F69\u8272\u4E3B\u984C\u7686\u5DF2\u505C\u7528\u8A9E\u610F\u9192\u76EE\u63D0\u793A\u3002","\u8A9E\u610F\u9192\u76EE\u63D0\u793A\u7531\u76EE\u524D\u4E4B\u5F69\u8272\u4F48\u666F\u4E3B\u984C\u7684 'semanticHighlighting' \u8A2D\u5B9A\u6240\u8A2D\u5B9A\u3002","\u63A7\u5236 semanticHighlighting \u662F\u5426\u6703\u70BA\u652F\u63F4\u7684\u8A9E\u8A00\u986F\u793A\u3002","\u5373\u4F7F\u6309\u5169\u4E0B\u5167\u5BB9\u6216\u6309 `Escape`\uFF0C\u4ECD\u4FDD\u6301\u7784\u5B54\u7DE8\u8F2F\u5668\u958B\u555F\u3002","\u56E0\u6548\u80FD\u7684\u7DE3\u6545\uFF0C\u4E0D\u6703\u5C07\u8D85\u904E\u6B64\u9AD8\u5EA6\u7684\u884C Token \u5316","\u63A7\u5236\u6B0A\u6756\u5316\u662F\u5426\u61C9\u8A72\u5728 Web \u5DE5\u4F5C\u8005\u4E0A\u975E\u540C\u6B65\u9032\u884C\u3002","\u63A7\u5236\u662F\u5426\u61C9\u8A72\u8A18\u9304\u975E\u540C\u6B65\u6B0A\u6756\u5316\u3002\u50C5\u9069\u7528\u5075\u932F\u3002","\u63A7\u5236\u662F\u5426\u61C9\u4F7F\u7528\u820A\u7248\u80CC\u666F Token \u5316\u4F86\u9A57\u8B49\u975E\u540C\u6B65 Token \u5316\u3002\u53EF\u80FD\u6703\u6E1B\u6162 Token \u5316\u7684\u901F\u5EA6\u3002\u50C5\u7528\u65BC\u5075\u932F\u3002","\u5B9A\u7FA9\u589E\u52A0\u6216\u6E1B\u5C11\u7E2E\u6392\u7684\u62EC\u5F27\u7B26\u865F\u3002","\u5DE6\u62EC\u5F27\u5B57\u5143\u6216\u5B57\u4E32\u9806\u5E8F\u3002","\u53F3\u62EC\u5F27\u5B57\u5143\u6216\u5B57\u4E32\u9806\u5E8F\u3002","\u5B9A\u7FA9\u7576\u62EC\u5F27\u914D\u5C0D\u8457\u8272\u5DF2\u555F\u7528\u6642\uFF0C\u7531\u5176\u5DE2\u72C0\u5C64\u7D1A\u8457\u8272\u7684\u62EC\u5F27\u914D\u5C0D\u3002","\u5DE6\u62EC\u5F27\u5B57\u5143\u6216\u5B57\u4E32\u9806\u5E8F\u3002","\u53F3\u62EC\u5F27\u5B57\u5143\u6216\u5B57\u4E32\u9806\u5E8F\u3002","\u53D6\u6D88 Diff \u8A08\u7B97\u524D\u7684\u903E\u6642\u9650\u5236 (\u6BEB\u79D2)\u3002\u82E5\u7121\u903E\u6642\uFF0C\u8ACB\u4F7F\u7528 0\u3002","\u8981\u8A08\u7B97\u5DEE\u7570\u7684\u6A94\u6848\u5927\u5C0F\u4E0A\u9650 (MB)\u3002\u4F7F\u7528 0 \u8868\u793A\u7121\u9650\u5236\u3002","\u63A7\u5236 Diff \u7DE8\u8F2F\u5668\u8981\u4E26\u6392\u6216\u5167\u5D4C\u986F\u793A Diff\u3002","\u5982\u679C\u5DEE\u7570\u7DE8\u8F2F\u5668\u5BEC\u5EA6\u5C0F\u65BC\u6B64\u503C\uFF0C\u5247\u4F7F\u7528\u5167\u5D4C\u6AA2\u8996\u3002","\u5982\u679C\u555F\u7528\u4E14\u7DE8\u8F2F\u5668\u5BEC\u5EA6\u592A\u5C0F\uFF0C\u5247\u6703\u4F7F\u7528\u5167\u5D4C\u6AA2\u8996\u3002","\u555F\u7528\u6642\uFF0CDiff \u7DE8\u8F2F\u5668\u6703\u5728\u5176\u5B57\u5143\u908A\u7DE3\u986F\u793A\u7BAD\u982D\uFF0C\u4EE5\u9084\u539F\u8B8A\u66F4\u3002","\u555F\u7528\u6642\uFF0CDiff \u7DE8\u8F2F\u5668\u6703\u5FFD\u7565\u524D\u7F6E\u6216\u5F8C\u7F6E\u7A7A\u683C\u7684\u8B8A\u66F4\u3002","\u63A7\u5236 Diff \u7DE8\u8F2F\u5668\u662F\u5426\u8981\u70BA\u65B0\u589E/\u79FB\u9664\u7684\u8B8A\u66F4\u986F\u793A +/- \u6A19\u8A18\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u986F\u793A codelens\u3002","\u4E00\u5F8B\u4E0D\u63DB\u884C\u3002","\u4F9D\u6AA2\u8996\u5340\u5BEC\u5EA6\u63DB\u884C\u3002","\u5C07\u4F9D\u64DA {0} \u8A2D\u5B9A\u81EA\u52D5\u63DB\u884C\u3002","\u4F7F\u7528\u820A\u7248\u5DEE\u7570\u6F14\u7B97\u6CD5\u3002","\u4F7F\u7528\u9032\u968E\u7248\u5DEE\u7570\u6F14\u7B97\u6CD5\u3002","\u63A7\u5236\u5DEE\u7570\u7DE8\u8F2F\u5668\u662F\u5426\u986F\u793A\u672A\u8B8A\u66F4\u7684\u5340\u57DF\u3002","\u63A7\u5236\u672A\u8B8A\u66F4\u5340\u57DF\u7684\u4F7F\u7528\u884C\u6578\u3002","\u63A7\u5236\u672A\u8B8A\u66F4\u5340\u57DF\u7684\u6700\u5C0F\u4F7F\u7528\u884C\u6578\u3002","\u63A7\u5236\u6BD4\u8F03\u672A\u8B8A\u66F4\u7684\u5340\u57DF\u6642\uFF0C\u8981\u4F7F\u7528\u591A\u5C11\u884C\u4F5C\u70BA\u5167\u5BB9\u3002","\u63A7\u5236 Diff \u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u8A72\u986F\u793A\u5075\u6E2C\u5230\u7684\u7A0B\u5F0F\u78BC\u79FB\u52D5\u3002","\u63A7\u5236\u5DEE\u7570\u7DE8\u8F2F\u5668\u662F\u5426\u986F\u793A\u7A7A\u767D\u88DD\u98FE\u9805\u76EE\uFF0C\u4EE5\u67E5\u770B\u63D2\u5165\u6216\u522A\u9664\u5B57\u5143\u7684\u4F4D\u7F6E\u3002"],"vs/editor/common/config/editorOptions":["\u4F7F\u7528\u5E73\u53F0 API \u4EE5\u5075\u6E2C\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u9644\u52A0","\u4F7F\u7528\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u6700\u4F73\u5316\u4F7F\u7528\u65B9\u5F0F","\u5047\u8A2D\u672A\u9644\u52A0\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F","\u63A7\u5236 UI \u662F\u5426\u61C9\u65BC\u5DF2\u70BA\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u6700\u4F73\u5316\u7684\u6A21\u5F0F\u4E2D\u57F7\u884C\u3002","\u63A7\u5236\u662F\u5426\u8981\u5728\u8A3B\u89E3\u6642\u63D2\u5165\u7A7A\u767D\u5B57\u5143\u3002","\u63A7\u5236\u662F\u5426\u61C9\u4EE5\u884C\u8A3B\u89E3\u7684\u5207\u63DB\u3001\u65B0\u589E\u6216\u79FB\u9664\u52D5\u4F5C\uFF0C\u5FFD\u7565\u7A7A\u767D\u7684\u884C\u3002","\u63A7\u5236\u8907\u88FD\u6642\u4E0D\u9078\u53D6\u4EFB\u4F55\u9805\u76EE\u662F\u5426\u6703\u8907\u88FD\u76EE\u524D\u7A0B\u5F0F\u884C\u3002","\u63A7\u5236\u5728\u8F38\u5165\u671F\u9593\u662F\u5426\u8981\u8DF3\u904E\u6E38\u6A19\u4F86\u5C0B\u627E\u76F8\u7B26\u7684\u9805\u76EE\u3002","\u6C38\u4E0D\u5F9E\u7DE8\u8F2F\u5668\u9078\u53D6\u7BC4\u570D\u4E2D\u690D\u5165\u641C\u5C0B\u5B57\u4E32\u3002","\u4E00\u5F8B\u5F9E\u7DE8\u8F2F\u5668\u9078\u53D6\u7BC4\u570D\u4E2D\u690D\u5165\u641C\u5C0B\u5B57\u4E32\uFF0C\u5305\u62EC\u6E38\u6A19\u4F4D\u7F6E\u7684\u5B57\u3002","\u53EA\u6709\u4F86\u81EA\u7DE8\u8F2F\u5668\u9078\u53D6\u7BC4\u570D\u4E2D\u7684\u690D\u5165\u641C\u5C0B\u5B57\u4E32\u3002","\u63A7\u5236 [\u5C0B\u627E\u5C0F\u5DE5\u5177] \u4E2D\u7684\u641C\u5C0B\u5B57\u4E32\u662F\u5426\u4F86\u81EA\u7DE8\u8F2F\u5668\u9078\u53D6\u9805\u76EE\u3002","\u6C38\u4E0D\u81EA\u52D5\u958B\u555F [\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E] (\u9810\u8A2D)\u3002","\u4E00\u5F8B\u81EA\u52D5\u958B\u555F [\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E]\u3002","\u9078\u53D6\u591A\u884C\u5167\u5BB9\u6642\uFF0C\u81EA\u52D5\u958B\u555F [\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E]\u3002","\u63A7\u5236\u81EA\u52D5\u958B\u555F [\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E] \u7684\u689D\u4EF6\u3002","\u63A7\u5236\u5C0B\u627E\u5C0F\u5DE5\u5177\u662F\u5426\u5728 macOS \u4E0A\u8B80\u53D6\u6216\u4FEE\u6539\u5171\u7528\u5C0B\u627E\u526A\u8CBC\u7C3F\u3002","\u63A7\u5236\u5C0B\u627E\u5C0F\u5DE5\u5177\u662F\u5426\u61C9\u5728\u7DE8\u8F2F\u5668\u9802\u7AEF\u984D\u5916\u65B0\u589E\u884C\u3002\u82E5\u70BA true\uFF0C\u7576\u60A8\u53EF\u770B\u5230\u5C0B\u627E\u5C0F\u5DE5\u5177\u6642\uFF0C\u60A8\u7684\u6372\u52D5\u7BC4\u570D\u6703\u8D85\u904E\u7B2C\u4E00\u884C\u3002","\u7576\u518D\u4E5F\u627E\u4E0D\u5230\u5176\u4ED6\u76F8\u7B26\u9805\u76EE\u6642\uFF0C\u63A7\u5236\u662F\u5426\u81EA\u52D5\u5F9E\u958B\u982D (\u6216\u7D50\u5C3E) \u91CD\u65B0\u958B\u59CB\u641C\u5C0B\u3002","\u555F\u7528/\u505C\u7528\u9023\u5B57\u5B57\u578B ('calt' \u548C 'liga' \u5B57\u578B\u529F\u80FD)\u3002\u5C07\u6B64\u9805\u8B8A\u66F4\u70BA\u5B57\u4E32\uFF0C\u4EE5\u7CBE\u78BA\u63A7\u5236 'font-feature-settings' CSS \u5C6C\u6027\u3002","\u660E\u78BA\u7684 'font-feature-settings' CSS \u5C6C\u6027\u3002\u5982\u679C\u53EA\u9700\u8981\u958B\u555F/\u95DC\u9589\u9023\u5B57\uFF0C\u53EF\u4EE5\u6539\u70BA\u50B3\u905E\u5E03\u6797\u503C\u3002","\u8A2D\u5B9A\u9023\u5B57\u5B57\u578B\u6216\u5B57\u578B\u529F\u80FD\u3002\u53EF\u4EE5\u662F\u5E03\u6797\u503C\u4EE5\u555F\u7528/\u505C\u7528\u9023\u5B57\uFF0C\u6216\u4EE3\u8868 CSS 'font-feature-settings' \u5C6C\u6027\u7684\u5B57\u4E32\u3002","\u555F\u7528/\u505C\u7528\u5F9E font-weight \u5230 font-variation-settings \u7684\u8F49\u63DB\u3002\u5C07\u6B64\u8A2D\u5B9A\u8B8A\u66F4\u70BA\u5B57\u4E32\uFF0C\u4EE5\u66F4\u7CBE\u7D30\u5730\u63A7\u5236 'font-variation-settings' CSS \u5C6C\u6027\u3002","\u660E\u78BA\u7684 'font-variation-settings' CSS \u5C6C\u6027\u3002\u5982\u679C\u53EA\u9700\u8981\u5C07 font-weight \u8F49\u63DB\u70BA font-variation-settings\uFF0C\u53EF\u4EE5\u6539\u70BA\u50B3\u905E\u5E03\u6797\u503C\u3002","\u8A2D\u5B9A\u5B57\u578B\u8B8A\u5316\u3002\u53EF\u4EE5\u662F\u5E03\u6797\u503C\uFF0C\u4EE5\u555F\u7528/\u505C\u7528\u5F9E font-weight \u5230 font-variation-settings \u7684\u8F49\u63DB\uFF0C\u6216\u662F\u5B57\u4E32\uFF0C\u505A\u70BA CSS 'font-variation-settings' \u5C6C\u6027\u7684\u503C\u3002","\u63A7\u5236\u5B57\u578B\u5927\u5C0F (\u50CF\u7D20)\u3002","\u53EA\u5141\u8A31\u300C\u4E00\u822C\u300D\u53CA\u300C\u7C97\u9AD4\u300D\u95DC\u9375\u5B57\uFF0C\u6216\u4ECB\u65BC 1 \u5230 1000 \u4E4B\u9593\u7684\u6578\u503C\u3002","\u63A7\u5236\u5B57\u578B\u7C97\u7D30\u3002\u63A5\u53D7\u300C\u4E00\u822C\u300D\u53CA\u300C\u7C97\u9AD4\u300D\u95DC\u9375\u5B57\uFF0C\u6216\u4ECB\u65BC 1 \u5230 1000 \u4E4B\u9593\u7684\u6578\u503C\u3002","\u986F\u793A\u7D50\u679C\u7684\u9810\u89BD\u6AA2\u8996 (\u9810\u8A2D)","\u79FB\u81F3\u4E3B\u8981\u7D50\u679C\u4E26\u986F\u793A\u9810\u89BD\u6AA2\u8996","\u524D\u5F80\u4E3B\u8981\u7D50\u679C\uFF0C\u4E26\u5C0D\u5176\u4ED6\u4EBA\u555F\u7528\u7121\u9810\u89BD\u700F\u89BD","\u6B64\u8A2D\u5B9A\u5DF2\u6DD8\u6C70\uFF0C\u8ACB\u6539\u7528 'editor.editor.gotoLocation.multipleDefinitions' \u6216 'editor.editor.gotoLocation.multipleImplementations' \u7B49\u55AE\u7368\u8A2D\u5B9A\u3002","\u63A7\u5236 'Go to Definition' \u547D\u4EE4\u5728\u6709\u591A\u500B\u76EE\u6A19\u4F4D\u7F6E\u5B58\u5728\u6642\u7684\u884C\u70BA\u3002","\u63A7\u5236 'Go to Type Definition' \u547D\u4EE4\u5728\u6709\u591A\u500B\u76EE\u6A19\u4F4D\u7F6E\u5B58\u5728\u6642\u7684\u884C\u70BA\u3002","\u63A7\u5236 'Go to Declaration' \u547D\u4EE4\u5728\u6709\u591A\u500B\u76EE\u6A19\u4F4D\u7F6E\u5B58\u5728\u6642\u7684\u884C\u70BA\u3002","\u63A7\u5236 'Go to Implementations' \u547D\u4EE4\u5728\u6709\u591A\u500B\u76EE\u6A19\u4F4D\u7F6E\u5B58\u5728\u6642\u7684\u884C\u70BA\u3002","\u63A7\u5236 'Go to References' \u547D\u4EE4\u5728\u6709\u591A\u500B\u76EE\u6A19\u4F4D\u7F6E\u5B58\u5728\u6642\u7684\u884C\u70BA\u3002","\u7576 'Go to Definition' \u7684\u7D50\u679C\u70BA\u76EE\u524D\u4F4D\u7F6E\u6642\uFF0C\u6B63\u5728\u57F7\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u8B58\u5225\u78BC\u3002","\u7576 'Go to Type Definition' \u7684\u7D50\u679C\u70BA\u76EE\u524D\u4F4D\u7F6E\u6642\uFF0C\u6B63\u5728\u57F7\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u8B58\u5225\u78BC\u3002","\u7576 'Go to Declaration' \u7684\u7D50\u679C\u70BA\u76EE\u524D\u4F4D\u7F6E\u6642\uFF0C\u6B63\u5728\u57F7\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u8B58\u5225\u78BC\u3002","\u7576 'Go to Implementation' \u7684\u7D50\u679C\u70BA\u76EE\u524D\u4F4D\u7F6E\u6642\uFF0C\u6B63\u5728\u57F7\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u8B58\u5225\u78BC\u3002","\u7576 'Go to Reference' \u7684\u7D50\u679C\u70BA\u76EE\u524D\u4F4D\u7F6E\u6642\uFF0C\u6B63\u5728\u57F7\u884C\u7684\u66FF\u4EE3\u547D\u4EE4\u8B58\u5225\u78BC\u3002","\u63A7\u5236\u662F\u5426\u986F\u793A\u66AB\u7559\u3002","\u63A7\u5236\u66AB\u7559\u986F\u793A\u7684\u5EF6\u9072\u6642\u9593 (\u4EE5\u6BEB\u79D2\u70BA\u55AE\u4F4D)\u3002","\u63A7\u5236\u7576\u6ED1\u9F20\u79FB\u904E\u6642\uFF0C\u662F\u5426\u61C9\u4FDD\u6301\u986F\u793A\u66AB\u7559\u3002","\u63A7\u5236\u96B1\u85CF\u66AB\u7559\u4E4B\u5F8C\u7684\u5EF6\u9072\u6BEB\u79D2\u3002\u9700\u8981\u555F\u7528 'editor.hover.sticky'\u3002","\u5982\u679C\u6709\u7A7A\u9593\uFF0C\u5247\u504F\u597D\u5728\u884C\u4E0A\u65B9\u986F\u793A\u6E38\u6A19\u3002","\u5047\u8A2D\u6240\u6709\u5B57\u5143\u7684\u5BEC\u5EA6\u5747\u76F8\u540C\u3002\u9019\u662F\u4E00\u7A2E\u5FEB\u901F\u7684\u6F14\u7B97\u6CD5\uFF0C\u9069\u7528\u65BC\u7B49\u5BEC\u5B57\u578B\uFF0C\u4EE5\u53CA\u5B57\u7B26\u5BEC\u5EA6\u76F8\u540C\u7684\u90E8\u5206\u6307\u4EE4\u78BC (\u4F8B\u5982\u62C9\u4E01\u6587\u5B57\u5143)\u3002","\u5C07\u5916\u570D\u9EDE\u8A08\u7B97\u59D4\u6D3E\u7D66\u700F\u89BD\u5668\u3002\u9019\u662F\u7DE9\u6162\u7684\u6F14\u7B97\u6CD5\uFF0C\u5982\u679C\u6A94\u6848\u8F03\u5927\u53EF\u80FD\u6703\u5C0E\u81F4\u51CD\u7D50\uFF0C\u4F46\u5728\u6240\u6709\u60C5\u6CC1\u4E0B\u90FD\u6B63\u5E38\u904B\u4F5C\u3002","\u63A7\u5236\u8A08\u7B97\u5916\u570D\u9EDE\u7684\u6F14\u7B97\u6CD5\u3002\u8ACB\u6CE8\u610F\uFF0C\u5728\u5354\u52A9\u5DE5\u5177\u6A21\u5F0F\u4E2D\uFF0C\u6703\u4F7F\u7528\u9032\u968E\u4F86\u7372\u5F97\u6700\u4F73\u9AD4\u9A57\u3002","\u5728\u7DE8\u8F2F\u5668\u4E2D\u555F\u7528\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u71C8\u6CE1\u3002","\u5728\u7DE8\u8F2F\u5668\u9802\u7AEF\u6372\u52D5\u671F\u9593\u986F\u793A\u5DE2\u72C0\u7684\u76EE\u524D\u7BC4\u570D\u3002","\u5B9A\u7FA9\u8981\u986F\u793A\u7684\u81EA\u9ECF\u7DDA\u6578\u76EE\u4E0A\u9650\u3002","\u5B9A\u7FA9\u8981\u7528\u65BC\u5224\u65B7\u8981\u9ECF\u4F4F\u7684\u7DDA\u689D\u7684\u6A21\u578B\u3002\u5982\u679C\u5927\u7DB1\u6A21\u578B\u4E0D\u5B58\u5728\uFF0C\u5247\u6703\u56DE\u5230\u647A\u758A\u63D0\u4F9B\u8005\u6A21\u578B\uFF0C\u5176\u6703\u56DE\u5230\u7E2E\u6392\u6A21\u578B\u3002\u9019\u4E09\u7A2E\u60C5\u6CC1\u4E2D\u6703\u9075\u5B88\u6B64\u9806\u5E8F\u3002","\u4F7F\u7528\u7DE8\u8F2F\u5668\u7684\u6C34\u5E73\u6372\u8EF8\uFF0C\u555F\u7528\u81EA\u9ECF\u6372\u52D5\u5C0F\u5DE5\u5177\u7684\u6372\u52D5\u3002","\u555F\u7528\u7DE8\u8F2F\u5668\u4E2D\u7684\u5167\u5D4C\u63D0\u793A\u3002","\u5DF2\u555F\u7528\u5167\u5D4C\u63D0\u793A","\u9810\u8A2D\u6703\u986F\u793A\u5167\u5D4C\u63D0\u793A\uFF0C\u4E26\u5728\u6309\u4F4F {0} \u6642\u96B1\u85CF","\u9810\u8A2D\u6703\u96B1\u85CF\u5167\u5D4C\u63D0\u793A\uFF0C\u4E26\u5728\u6309\u4F4F {0} \u6642\u986F\u793A","\u5DF2\u505C\u7528\u5167\u5D4C\u63D0\u793A","\u63A7\u5236\u7DE8\u8F2F\u5668\u4E2D\u5167\u5D4C\u63D0\u793A\u7684\u5B57\u578B\u5927\u5C0F\u3002\u7576\u8A2D\u5B9A\u7684\u503C\u5C0F\u65BC {1} \u6216\u5927\u65BC\u7DE8\u8F2F\u5668\u5B57\u578B\u5927\u5C0F\u6642\uFF0C\u5247\u6703\u4F7F\u7528{0} \u9810\u8A2D\u503C\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u4E2D\uFF0C\u5167\u5D4C\u63D0\u793A\u7684\u5B57\u578B\u5BB6\u65CF\u3002\u8A2D\u5B9A\u70BA\u7A7A\u767D\u6642\uFF0C\u5247\u6703\u4F7F\u7528 {0}\u3002","\u5728\u7DE8\u8F2F\u5668\u4E2D\u555F\u7528\u7684\u5167\u5D4C\u63D0\u793A\u5468\u570D\u7684\u586B\u88DC\u3002",`\u63A7\u5236\u884C\u9AD8\u3002\r + - \u4F7F\u7528 0 \u5F9E\u5B57\u578B\u5927\u5C0F\u81EA\u52D5\u8A08\u7B97\u884C\u9AD8\u3002\r + - \u4F7F\u7528\u4ECB\u65BC 0 \u548C 8 \u4E4B\u9593\u7684\u503C\u4F5C\u70BA\u5B57\u578B\u5927\u5C0F\u7684\u4E58\u6578\u3002\r + - \u5927\u65BC\u6216\u7B49\u65BC 8 \u7684\u503C\u5C07\u7528\u4F86\u4F5C\u70BA\u6709\u6548\u503C\u3002`,"\u63A7\u5236\u662F\u5426\u6703\u986F\u793A\u7E2E\u5716","\u63A7\u5236\u662F\u5426\u6703\u81EA\u52D5\u96B1\u85CF\u7E2E\u5716\u3002","\u7E2E\u5716\u5927\u5C0F\u8207\u7DE8\u8F2F\u5668\u5167\u5BB9\u76F8\u540C (\u4E14\u53EF\u80FD\u6703\u6372\u52D5)\u3002","\u7E2E\u5716\u6703\u8996\u9700\u8981\u4F38\u7E2E\uFF0C\u4EE5\u586B\u6EFF\u8A72\u7DE8\u8F2F\u5668\u7684\u9AD8\u5EA6 (\u7121\u6372\u52D5)\u3002","\u7E2E\u5716\u5C07\u8996\u9700\u8981\u7E2E\u5C0F\uFF0C\u4E00\u5F8B\u4E0D\u6703\u5927\u65BC\u8A72\u7DE8\u8F2F\u5668 (\u7121\u6372\u52D5)\u3002","\u63A7\u5236\u7E2E\u5716\u7684\u5927\u5C0F\u3002","\u63A7\u5236\u8981\u5728\u54EA\u7AEF\u5448\u73FE\u7E2E\u5716\u3002","\u63A7\u5236\u4F55\u6642\u986F\u793A\u8FF7\u4F60\u5730\u5716\u6ED1\u687F\u3002","\u7E2E\u5716\u5167\u6240\u7E6A\u88FD\u7684\u5167\u5BB9\u5927\u5C0F: 1\u30012 \u6216 3\u3002","\u986F\u793A\u884C\u4E2D\u7684\u5BE6\u969B\u5B57\u5143\uFF0C\u800C\u4E0D\u662F\u8272\u5F69\u5340\u584A\u3002","\u9650\u5236\u7E2E\u5716\u7684\u5BEC\u5EA6\uFF0C\u6700\u591A\u986F\u793A\u67D0\u500B\u6578\u76EE\u7684\u5217\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u4E0A\u908A\u7DE3\u8207\u7B2C\u4E00\u884C\u4E4B\u9593\u7684\u7A7A\u683C\u6578\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u4E0B\u908A\u7DE3\u8207\u6700\u5F8C\u4E00\u884C\u4E4B\u9593\u7684\u7A7A\u683C\u6578\u3002","\u555F\u7528\u5FEB\u986F\uFF0C\u5728\u60A8\u9375\u5165\u7684\u540C\u6642\u986F\u793A\u53C3\u6578\u6587\u4EF6\u548C\u985E\u578B\u8CC7\u8A0A\u3002","\u63A7\u5236\u63D0\u793A\u529F\u80FD\u8868\u662F\u5426\u5728\u6E05\u55AE\u7D50\u5C3E\u6642\u5FAA\u74B0\u6216\u95DC\u9589\u3002","\u5FEB\u901F\u5EFA\u8B70\u6703\u986F\u793A\u5728\u5EFA\u8B70\u5C0F\u5DE5\u5177\u5167","\u5FEB\u901F\u5EFA\u8B70\u6703\u986F\u793A\u70BA\u6D6E\u6C34\u5370\u6587\u5B57","\u5DF2\u505C\u7528\u5FEB\u901F\u5EFA\u8B70","\u5141\u8A31\u5728\u5B57\u4E32\u5167\u986F\u793A\u5373\u6642\u5EFA\u8B70\u3002","\u5141\u8A31\u5728\u8A3B\u89E3\u4E2D\u986F\u793A\u5373\u6642\u5EFA\u8B70\u3002","\u5141\u8A31\u5728\u5B57\u4E32\u8207\u8A3B\u89E3\u4EE5\u5916\u4E4B\u8655\u986F\u793A\u5373\u6642\u5EFA\u8B70\u3002","\u63A7\u5236\u8F38\u5165\u6642\u662F\u5426\u61C9\u81EA\u52D5\u986F\u793A\u5EFA\u8B70\u3002\u9019\u53EF\u63A7\u5236\u5728\u8A3B\u89E3\u3001\u5B57\u4E32\u53CA\u5176\u4ED6\u7A0B\u5F0F\u78BC\u4E2D\u7684\u8F38\u5165\u3002\u53EF\u8A2D\u5B9A\u5FEB\u901F\u5EFA\u8B70\u4EE5\u96B1\u5F62\u6D6E\u51FA\u6587\u5B57\u6216\u5EFA\u8B70\u5C0F\u5DE5\u5177\u986F\u793A\u3002\u53E6\u5916\u4E5F\u8ACB\u6CE8\u610F '{0}'-\u8A2D\u5B9A\uFF0C\u5176\u6703\u63A7\u5236\u5EFA\u8B70\u662F\u5426\u7531\u7279\u6B8A\u5B57\u5143\u6240\u89F8\u767C\u3002","\u4E0D\u986F\u793A\u884C\u865F\u3002","\u884C\u865F\u4EE5\u7D55\u5C0D\u503C\u986F\u793A\u3002","\u884C\u865F\u4EE5\u76EE\u524D\u6E38\u6A19\u7684\u76F8\u5C0D\u503C\u986F\u793A\u3002","\u6BCF 10 \u884C\u986F\u793A\u884C\u865F\u3002","\u63A7\u5236\u884C\u865F\u7684\u986F\u793A\u3002","\u9019\u500B\u7DE8\u8F2F\u5668\u5C3A\u898F\u6703\u8F49\u8B6F\u7684\u7B49\u5BEC\u5B57\u5143\u6578\u3002","\u6B64\u7DE8\u8F2F\u5668\u5C3A\u898F\u7684\u8272\u5F69\u3002","\u5728\u67D0\u500B\u6578\u76EE\u7684\u7B49\u5BEC\u5B57\u5143\u4E4B\u5F8C\u986F\u793A\u5782\u76F4\u5C3A\u898F\u3002\u5982\u6709\u591A\u500B\u5C3A\u898F\uFF0C\u5C31\u6703\u4F7F\u7528\u591A\u500B\u503C\u3002\u82E5\u9663\u5217\u7A7A\u767D\uFF0C\u5C31\u4E0D\u6703\u7E6A\u88FD\u4EFB\u4F55\u5C3A\u898F\u3002","\u5782\u76F4\u6372\u8EF8\u53EA\u6709\u5728\u5FC5\u8981\u6642\u624D\u53EF\u898B\u3002","\u5782\u76F4\u6372\u8EF8\u6C38\u9060\u53EF\u898B\u3002","\u5782\u76F4\u6372\u8EF8\u6C38\u9060\u96B1\u85CF\u3002","\u63A7\u5236\u9805\u5782\u76F4\u6372\u8EF8\u7684\u53EF\u898B\u5EA6\u3002","\u6C34\u5E73\u6372\u8EF8\u53EA\u6709\u5728\u5FC5\u8981\u6642\u624D\u53EF\u898B\u3002","\u6C34\u5E73\u6372\u8EF8\u6C38\u9060\u53EF\u898B\u3002","\u6C34\u5E73\u6372\u8EF8\u6C38\u9060\u96B1\u85CF\u3002","\u63A7\u5236\u9805\u6C34\u5E73\u6372\u8EF8\u7684\u53EF\u898B\u5EA6\u3002","\u5782\u76F4\u6372\u8EF8\u7684\u5BEC\u5EA6\u3002","\u6C34\u5E73\u6372\u8EF8\u7684\u9AD8\u5EA6\u3002","\u63A7\u5236\u9805\u6309\u4E00\u4E0B\u662F\u5426\u6309\u9801\u9762\u6EFE\u52D5\u6216\u8DF3\u5230\u6309\u4E00\u4E0B\u4F4D\u7F6E\u3002","\u63A7\u5236\u662F\u5426\u9192\u76EE\u63D0\u793A\u6240\u6709\u975E\u57FA\u672C\u7684 ASCII \u5B57\u5143\u3002\u53EA\u6709\u4ECB\u65BC U+0020\u548C U+007E\u3001tab\u3001\u63DB\u884C\u548C\u6B78\u4F4D\u5B57\u5143\u4E4B\u9593\u7684\u5B57\u5143\u6703\u8996\u70BA\u57FA\u672C ASCII\u3002","\u63A7\u5236\u662F\u5426\u53EA\u4FDD\u7559\u7A7A\u683C\u6216\u5B8C\u5168\u6C92\u6709\u5BEC\u5EA6\u4E4B\u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A\u3002","\u63A7\u5236\u662F\u5426\u9192\u76EE\u63D0\u793A\u8207\u57FA\u672C ASCII \u5B57\u5143\u6DF7\u6DC6\u7684\u5B57\u5143\uFF0C\u4F46\u76EE\u524D\u4F7F\u7528\u8005\u5730\u5340\u8A2D\u5B9A\u4E2D\u901A\u7528\u7684\u5B57\u5143\u9664\u5916\u3002","\u63A7\u5236\u8A3B\u89E3\u4E2D\u7684\u5B57\u5143\u662F\u5426\u4E5F\u61C9\u53D7\u5230 Unicode \u9192\u76EE\u63D0\u793A\u3002","\u63A7\u5236\u5B57\u4E32\u4E2D\u7684\u5B57\u5143\u662F\u5426\u4E5F\u61C9\u53D7\u5230 Unicode \u9192\u76EE\u63D0\u793A\u3002","\u5B9A\u7FA9\u672A\u9192\u76EE\u63D0\u793A\u7684\u5141\u8A31\u5B57\u5143\u3002","\u4E0D\u6703\u5C07\u5141\u8A31\u5730\u5340\u8A2D\u7F6E\u4E2D\u5E38\u898B\u7684 Unicode \u5B57\u5143\u5F37\u8ABF\u986F\u793A\u3002","\u63A7\u5236\u662F\u5426\u8981\u5728\u7DE8\u8F2F\u5668\u4E2D\u81EA\u52D5\u986F\u793A\u5167\u5D4C\u5EFA\u8B70\u3002","\u6BCF\u7576\u986F\u793A\u5167\u5D4C\u5EFA\u8B70\u6642\uFF0C\u986F\u793A\u5167\u5D4C\u5EFA\u8B70\u5DE5\u5177\u5217\u3002","\u6BCF\u7576\u6E38\u6A19\u505C\u7559\u5728\u5167\u5D4C\u5EFA\u8B70\u4E0A\u65B9\u6642\uFF0C\u986F\u793A\u5167\u5D4C\u5EFA\u8B70\u5DE5\u5177\u5217\u3002","\u63A7\u5236\u4F55\u6642\u986F\u793A\u5167\u5D4C\u5EFA\u8B70\u5DE5\u5177\u5217\u3002","\u63A7\u5236\u5167\u5D4C\u5EFA\u8B70\u5982\u4F55\u8207\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E92\u52D5\u3002\u5982\u679C\u555F\u7528\uFF0C\u6709\u53EF\u7528\u7684\u5167\u5D4C\u5EFA\u8B70\u6642\uFF0C\u4E0D\u6703\u81EA\u52D5\u986F\u793A\u5EFA\u8B70\u5C0F\u5DE5\u5177\u3002","\u63A7\u5236\u662F\u5426\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002\u4F7F\u7528 {0} \u8986\u5BEB\u62EC\u5F27\u4EAE\u986F\u984F\u8272\u3002","\u63A7\u5236\u6BCF\u500B\u62EC\u5F27\u985E\u578B\u662F\u5426\u6709\u81EA\u5DF1\u7684\u7368\u7ACB\u8272\u5F69\u96C6\u5340\u3002","\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u53EA\u555F\u7528\u4F7F\u7528\u4E2D\u62EC\u5F27\u7D44\u7684\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u505C\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u63A7\u5236\u662F\u5426\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u6307\u5357\u3002","\u555F\u7528\u6C34\u5E73\u8F14\u52A9\u7DDA\u4F5C\u70BA\u5782\u76F4\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u7684\u65B0\u589E\u529F\u80FD\u3002","\u53EA\u555F\u7528\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u7684\u6C34\u5E73\u8F14\u52A9\u7DDA\u3002","\u505C\u7528\u6C34\u5E73\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u63A7\u5236\u662F\u5426\u555F\u7528\u6C34\u5E73\u6210\u5C0D\u65B9\u62EC\u5F27\u8F14\u52A9\u7DDA\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u9192\u76EE\u63D0\u793A\u4F7F\u7528\u4E2D\u7684\u6210\u5C0D\u62EC\u5F27\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u986F\u793A\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u9192\u76EE\u63D0\u793A\u4F7F\u7528\u4E2D\u7684\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u5373\u4F7F\u9192\u76EE\u63D0\u793A\u62EC\u5F27\u8F14\u52A9\u7DDA\uFF0C\u4ECD\u9192\u76EE\u63D0\u793A\u4F7F\u7528\u4E2D\u7684\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u4E0D\u8981\u9192\u76EE\u63D0\u793A\u4F7F\u7528\u4E2D\u7684\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u9192\u76EE\u63D0\u793A\u4F7F\u7528\u4E2D\u7684\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u63D2\u5165\u5EFA\u8B70\u800C\u4E0D\u8986\u5BEB\u6E38\u6A19\u65C1\u7684\u6587\u5B57\u3002","\u63D2\u5165\u5EFA\u8B70\u4E26\u8986\u5BEB\u6E38\u6A19\u65C1\u7684\u6587\u5B57\u3002","\u63A7\u5236\u662F\u5426\u8981\u5728\u63A5\u53D7\u5B8C\u6210\u6642\u8986\u5BEB\u5B57\u7D44\u3002\u8ACB\u6CE8\u610F\uFF0C\u9019\u53D6\u6C7A\u65BC\u52A0\u5165\u6B64\u529F\u80FD\u7684\u5EF6\u4F38\u6A21\u7D44\u3002","\u63A7\u5236\u5C0D\u65BC\u62DA\u932F\u5B57\u662F\u5426\u9032\u884C\u7BE9\u9078\u548C\u6392\u5E8F\u5176\u5EFA\u8B70","\u63A7\u5236\u6392\u5E8F\u662F\u5426\u504F\u597D\u6E38\u6A19\u9644\u8FD1\u7684\u5B57\u7D44\u3002","\u63A7\u5236\u8A18\u9304\u7684\u5EFA\u8B70\u9078\u53D6\u9805\u76EE\u662F\u5426\u5728\u591A\u500B\u5DE5\u4F5C\u5340\u548C\u8996\u7A97\u9593\u5171\u7528 (\u9700\u8981 `#editor.suggestSelection#`)\u3002","\u81EA\u52D5\u89F8\u767C IntelliSense \u6642\u4E00\u5F8B\u9078\u53D6\u5EFA\u8B70\u3002","\u81EA\u52D5\u89F8\u767C IntelliSense \u6642\u6C38\u4E0D\u9078\u53D6\u5EFA\u8B70\u3002","\u53EA\u6709\u5728\u5F9E\u89F8\u767C\u5B57\u5143\u89F8\u767C IntelliSense \u6642\uFF0C\u624D\u9078\u53D6\u5EFA\u8B70\u3002","\u53EA\u6709\u5728\u60A8\u8F38\u5165\u6642\u89F8\u767C IntelliSense \u6642\uFF0C\u624D\u9078\u53D6\u5EFA\u8B70\u3002","\u63A7\u5236\u5C0F\u5DE5\u5177\u986F\u793A\u6642\u662F\u5426\u9078\u53D6\u5EFA\u8B70\u3002\u8ACB\u6CE8\u610F\uFF0C\u9019\u53EA\u9069\u7528\u65BC('#editor.quickSuggestions#' \u548C '#editor.suggestOnTriggerCharacters#') \u81EA\u52D5\u89F8\u767C\u7684\u5EFA\u8B70\uFF0C\u800C\u4E14\u4E00\u5F8B\u6703\u5728\u660E\u78BA\u53EB\u7528\u6642\u9078\u53D6\u5EFA\u8B70\uFF0C\u4F8B\u5982\u900F\u904E 'Ctrl+Space'\u3002","\u63A7\u5236\u6B63\u5728\u4F7F\u7528\u7684\u7A0B\u5F0F\u78BC\u7247\u6BB5\u662F\u5426\u6703\u907F\u514D\u5FEB\u901F\u5EFA\u8B70\u3002","\u63A7\u5236\u8981\u5728\u5EFA\u8B70\u4E2D\u986F\u793A\u6216\u96B1\u85CF\u5716\u793A\u3002","\u63A7\u5236\u5EFA\u8B70\u5C0F\u5DE5\u5177\u5E95\u4E0B\u7684\u72C0\u614B\u5217\u53EF\u898B\u5EA6\u3002","\u63A7\u5236\u662F\u5426\u8981\u5728\u7DE8\u8F2F\u5668\u4E2D\u9810\u89BD\u5EFA\u8B70\u7D50\u679C\u3002","\u63A7\u5236\u5EFA\u8B70\u8A73\u7D30\u8CC7\u6599\u662F\u4EE5\u5167\u5D4C\u65BC\u6A19\u7C64\u7684\u65B9\u5F0F\u986F\u793A\uFF0C\u9084\u662F\u53EA\u5728\u8A73\u7D30\u8CC7\u6599\u5C0F\u5DE5\u5177\u4E2D\u986F\u793A\u3002","\u6B64\u8A2D\u5B9A\u5DF2\u6DD8\u6C70\u3002\u5EFA\u8B70\u5C0F\u5DE5\u5177\u73FE\u53EF\u8ABF\u6574\u5927\u5C0F\u3002","\u6B64\u8A2D\u5B9A\u5DF2\u6DD8\u6C70\uFF0C\u8ACB\u6539\u7528 'editor.suggest.showKeywords' \u6216 'editor.suggest.showSnippets' \u7B49\u55AE\u7368\u8A2D\u5B9A\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u65B9\u6CD5\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u51FD\u5F0F\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u5EFA\u69CB\u51FD\u5F0F\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u5DF2\u53D6\u4EE3\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u7BE9\u9078\u6703\u8981\u6C42\u7B2C\u4E00\u500B\u5B57\u5143\u7B26\u5408\u6587\u5B57\u958B\u982D\uFF0C\u4F8B\u5982 `Console` \u6216 `WebCoNtext` \u4E0A\u7684 `c`\uFF0C\u4F46\u4E0D\u662F `description` \u4E0A\u7684 _not_\u3002\u505C\u7528\u6642\uFF0CIntelliSense \u6703\u986F\u793A\u66F4\u591A\u7D50\u679C\uFF0C\u4F46\u4ECD\u6703\u4F9D\u76F8\u7B26\u54C1\u8CEA\u6392\u5E8F\u7D50\u679C\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u6B04\u4F4D\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u8B8A\u6578\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u985E\u5225\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u7D50\u69CB\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u4ECB\u9762\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u6A21\u7D44\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u5C6C\u6027\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u4E8B\u4EF6\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u904B\u7B97\u5B50\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u55AE\u4F4D\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u503C\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u5E38\u6578\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u5217\u8209\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300CenumMember\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u95DC\u9375\u5B57\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u6587\u5B57\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u8272\u5F69\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u6A94\u6848\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u53C3\u8003\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300Ccustomcolor\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u8CC7\u6599\u593E\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300CtypeParameter\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u986F\u793A\u300C\u7A0B\u5F0F\u78BC\u7247\u6BB5\u300D\u5EFA\u8B70\u3002","\u555F\u7528\u4E4B\u5F8C\uFF0CIntelliSense \u6703\u986F\u793A `user`-suggestions\u3002","\u555F\u7528\u6642\uFF0CIntelliSense \u6703\u986F\u793A `issues`-suggestions\u3002","\u662F\u5426\u61C9\u4E00\u5F8B\u9078\u53D6\u524D\u7F6E\u548C\u5F8C\u7F6E\u7684\u7A7A\u767D\u5B57\u5143\u3002","\u662F\u5426\u61C9\u8A72\u9078\u53D6\u5B50\u8A5E (\u4F8B\u5982 'fooBar' \u6216 'foo_bar' \u4E2D\u7684 'foo')\u3002","\u7121\u7E2E\u6392\u3002\u63DB\u884C\u5F9E\u7B2C 1 \u5217\u958B\u59CB\u3002","\u63DB\u884C\u7684\u7E2E\u6392\u6703\u8207\u7236\u884C\u76F8\u540C\u3002","\u63DB\u884C\u7684\u7E2E\u6392\u70BA\u7236\u884C +1\u3002","\u63DB\u884C\u7E2E\u6392\u70BA\u7236\u884C +2\u3002","\u63A7\u5236\u63DB\u884C\u7684\u7E2E\u6392\u3002","\u63A7\u5236\u60A8\u662F\u5426\u53EF\u4EE5\u6309\u4F4F `shift` \u9375 (\u800C\u975E\u5728\u7DE8\u8F2F\u5668\u4E2D\u958B\u555F\u6A94\u6848)\uFF0C\u5C07\u6A94\u6848\u62D6\u653E\u5230\u6587\u5B57\u7DE8\u8F2F\u5668\u4E2D\u3002","\u63A7\u5236\u5C07\u6A94\u6848\u653E\u5165\u7DE8\u8F2F\u5668\u6642\u662F\u5426\u986F\u793A\u5C0F\u5DE5\u5177\u3002\u6B64\u5C0F\u5DE5\u5177\u53EF\u8B93\u60A8\u63A7\u5236\u6A94\u6848\u7684\u7F6E\u653E\u65B9\u5F0F\u3002","\u5C07\u6A94\u6848\u653E\u5165\u7DE8\u8F2F\u5668\u5F8C\u986F\u793A\u7F6E\u653E\u9078\u53D6\u5668\u5C0F\u5DE5\u5177\u3002","\u6C38\u4E0D\u986F\u793A\u7F6E\u653E\u9078\u53D6\u5668\u5C0F\u5DE5\u5177\u3002\u6539\u70BA\u4E00\u5F8B\u4F7F\u7528\u9810\u8A2D\u7F6E\u653E\u63D0\u4F9B\u8005\u3002","\u63A7\u5236\u662F\u5426\u53EF\u4EE5\u4EE5\u4E0D\u540C\u65B9\u5F0F\u8CBC\u4E0A\u5167\u5BB9\u3002","\u63A7\u5236\u5C07\u5167\u5BB9\u8CBC\u4E0A\u81F3\u7DE8\u8F2F\u5668\u6642\u662F\u5426\u986F\u793A\u5C0F\u5DE5\u5177\u3002\u6B64\u5C0F\u5DE5\u5177\u53EF\u8B93\u60A8\u63A7\u5236\u6A94\u6848\u7684\u8CBC\u4E0A\u65B9\u5F0F\u3002","\u5C07\u5167\u5BB9\u8CBC\u4E0A\u7DE8\u8F2F\u5668\u5F8C\u986F\u793A\u8CBC\u4E0A\u9078\u53D6\u5668\u5C0F\u5DE5\u5177\u3002","\u6C38\u4E0D\u986F\u793A\u8CBC\u4E0A\u9078\u53D6\u5668\u5C0F\u5DE5\u5177\u3002\u800C\u662F\u4E00\u5F8B\u4F7F\u7528\u9810\u8A2D\u7684\u8CBC\u4E0A\u884C\u70BA\u3002","\u63A7\u5236\u662F\u5426\u900F\u904E\u63D0\u4EA4\u5B57\u5143\u63A5\u53D7\u5EFA\u8B70\u3002\u4F8B\u5982\u5728 JavaScript \u4E2D\uFF0C\u5206\u865F (';') \u53EF\u4EE5\u662F\u63A5\u53D7\u5EFA\u8B70\u4E26\u9375\u5165\u8A72\u5B57\u5143\u7684\u63D0\u4EA4\u5B57\u5143\u3002","\u5728\u5EFA\u8B70\u9032\u884C\u6587\u5B57\u8B8A\u66F4\u6642\uFF0C\u50C5\u900F\u904E `Enter` \u63A5\u53D7\u5EFA\u8B70\u3002","\u63A7\u5236\u9664\u4E86 'Tab' \u5916\uFF0C\u662F\u5426\u4E5F\u900F\u904E 'Enter' \u63A5\u53D7\u5EFA\u8B70\u3002\u9019\u6709\u52A9\u65BC\u907F\u514D\u6DF7\u6DC6\u8981\u63D2\u5165\u65B0\u884C\u6216\u63A5\u53D7\u5EFA\u8B70\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u4E2D\u53EF\u4E00\u6B21\u7531\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u8B80\u51FA\u7684\u884C\u6578\u3002\u5075\u6E2C\u5230\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u6642\u6703\u81EA\u52D5\u9810\u8A2D\u70BA 500\u3002\u8B66\u544A: \u82E5\u6578\u5B57\u8D85\u904E\u9810\u8A2D\uFF0C\u53EF\u80FD\u6703\u5C0D\u6548\u80FD\u6709\u6240\u5F71\u97FF\u3002","\u7DE8\u8F2F\u5668\u5167\u5BB9","\u63A7\u5236\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u662F\u5426\u5BA3\u544A\u5167\u5D4C\u5EFA\u8B70\u3002","\u4F7F\u7528\u8A9E\u8A00\u914D\u7F6E\u78BA\u5B9A\u4F55\u6642\u81EA\u52D5\u95DC\u9589\u62EC\u865F\u3002","\u50C5\u7576\u6E38\u6A19\u4F4D\u65BC\u7A7A\u767D\u7684\u5DE6\u5074\u6642\u81EA\u52D5\u95DC\u9589\u62EC\u865F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u4F7F\u7528\u8005\u65B0\u589E\u5DE6\u62EC\u5F27\u5F8C\uFF0C\u81EA\u52D5\u52A0\u4E0A\u53F3\u62EC\u5F27\u3002","\u4F7F\u7528\u8A9E\u8A00\u914D\u7F6E\u78BA\u5B9A\u4F55\u6642\u81EA\u52D5\u95DC\u9589\u8A3B\u89E3\u3002","\u50C5\u7576\u6E38\u6A19\u4F4D\u65BC\u7A7A\u767D\u7684\u5DE6\u5074\u6642\u81EA\u52D5\u95DC\u9589\u8A3B\u89E3\u3002","\u63A7\u5236\u4F7F\u7528\u8005\u65B0\u589E\u958B\u555F\u7684\u8A3B\u89E3\u4E4B\u5F8C\uFF0C\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u8A72\u81EA\u52D5\u95DC\u9589\u8A3B\u89E3\u3002","\u50C5\u5728\u81EA\u52D5\u63D2\u5165\u76F8\u9130\u7684\u53F3\u5F15\u865F\u6216\u62EC\u5F27\u6642\uFF0C\u624D\u5C07\u5176\u79FB\u9664\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u522A\u9664\u6642\u79FB\u9664\u76F8\u9130\u7684\u53F3\u5F15\u865F\u6216\u62EC\u5F27\u3002","\u50C5\u5728\u81EA\u52D5\u63D2\u5165\u53F3\u5F15\u865F\u6216\u62EC\u865F\u6642\uFF0C\u624D\u5728\u5176\u4E0A\u65B9\u9375\u5165\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u53F3\u5F15\u865F\u6216\u62EC\u865F\u4E0A\u9375\u5165\u3002","\u4F7F\u7528\u8A9E\u8A00\u914D\u7F6E\u78BA\u5B9A\u4F55\u6642\u81EA\u52D5\u95DC\u9589\u5F15\u865F\u3002","\u50C5\u7576\u6E38\u6A19\u4F4D\u65BC\u7A7A\u767D\u7684\u5DE6\u5074\u6642\u81EA\u52D5\u95DC\u9589\u5F15\u865F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u4F7F\u7528\u8005\u65B0\u589E\u958B\u59CB\u5F15\u865F\u5F8C\uFF0C\u81EA\u52D5\u52A0\u4E0A\u95DC\u9589\u5F15\u865F\u3002","\u7DE8\u8F2F\u5668\u4E0D\u6703\u81EA\u52D5\u63D2\u5165\u7E2E\u6392\u3002","\u7DE8\u8F2F\u5668\u6703\u4FDD\u7559\u76EE\u524D\u884C\u7684\u7E2E\u6392\u3002","\u7DE8\u8F2F\u5668\u6703\u4FDD\u7559\u76EE\u524D\u884C\u7684\u7E2E\u6392\u4E26\u63A5\u53D7\u8A9E\u8A00\u5B9A\u7FA9\u7684\u62EC\u865F\u3002","\u7DE8\u8F2F\u5668\u6703\u76EE\u524D\u884C\u7684\u7E2E\u6392\u3001\u63A5\u53D7\u8A9E\u8A00\u5B9A\u7FA9\u7684\u62EC\u865F\u4E26\u53EB\u7528\u8A9E\u8A00\u5B9A\u7FA9\u7684\u7279\u6B8A onEnterRules\u3002","\u7DE8\u8F2F\u5668\u6703\u4FDD\u7559\u76EE\u524D\u884C\u7684\u7E2E\u6392\u3001\u63A5\u53D7\u8A9E\u8A00\u5B9A\u7FA9\u7684\u62EC\u865F\u4E26\u53EB\u7528\u8A9E\u8A00\u5B9A\u7FA9\u7684\u7279\u6B8A onEnterRules \u4E26\u63A5\u53D7\u8A9E\u8A00\u5B9A\u7FA9\u7684 indentationRules\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u4F7F\u7528\u8005\u9375\u5165\u3001\u8CBC\u4E0A\u3001\u79FB\u52D5\u6216\u7E2E\u6392\u884C\u6642\u81EA\u52D5\u8ABF\u6574\u7E2E\u6392\u3002","\u4F7F\u7528\u8A9E\u8A00\u7D44\u614B\u4F86\u6C7A\u5B9A\u4F55\u6642\u81EA\u52D5\u74B0\u7E5E\u9078\u53D6\u9805\u76EE\u3002","\u7528\u5F15\u865F\u62EC\u4F4F\uFF0C\u800C\u975E\u4F7F\u7528\u62EC\u5F27\u3002","\u7528\u62EC\u5F27\u62EC\u4F4F\uFF0C\u800C\u975E\u4F7F\u7528\u5F15\u865F\u3002 ","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5728\u9375\u5165\u5F15\u865F\u6216\u62EC\u5F27\u6642\u81EA\u52D5\u5305\u570D\u9078\u53D6\u7BC4\u570D\u3002","\u7576\u4F7F\u7528\u7A7A\u683C\u9032\u884C\u7E2E\u6392\u6642\uFF0C\u6703\u6A21\u64EC\u5B9A\u4F4D\u5B57\u5143\u7684\u9078\u53D6\u8868\u73FE\u65B9\u5F0F\u3002\u9078\u53D6\u7BC4\u570D\u6703\u4F9D\u5FAA\u5B9A\u4F4D\u505C\u99D0\u9EDE\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u986F\u793A codelens\u3002","\u63A7\u5236 CodeLens \u7684\u5B57\u578B\u5BB6\u65CF\u3002","\u63A7\u5236 CodeLens \u7684\u5B57\u578B\u5927\u5C0F (\u50CF\u7D20)\u3002\u8A2D\u5B9A\u70BA 0 \u6642\uFF0C\u6703\u4F7F\u7528 90% \u7684 `#editor.fontSize#`\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u8F49\u8B6F\u5167\u5D4C\u8272\u5F69\u88DD\u98FE\u9805\u76EE\u8207\u8272\u5F69\u9078\u64C7\u5668\u3002","\u8B93\u8272\u5F69\u9078\u64C7\u5668\u5728\u6309\u4E00\u4E0B\u548C\u505C\u99D0\u8272\u5F69\u5728\u88DD\u98FE\u9805\u76EE\u4E0A\u6642\u51FA\u73FE","\u8B93\u8272\u5F69\u9078\u64C7\u5668\u5728\u505C\u99D0\u8272\u5F69\u88DD\u98FE\u9805\u76EE\u6642\u51FA\u73FE","\u8B93\u8272\u5F69\u9078\u64C7\u5668\u5728\u6309\u4E00\u4E0B\u8272\u5F69\u88DD\u98FE\u9805\u76EE\u6642\u51FA\u73FE","\u63A7\u5236\u689D\u4EF6\uFF0C\u8B93\u8272\u5F69\u9078\u64C7\u5668\u5F9E\u8272\u5F69\u88DD\u98FE\u9805\u76EE\u51FA\u73FE","\u63A7\u5236\u4E00\u6B21\u53EF\u5728\u7DE8\u8F2F\u5668\u4E2D\u5448\u73FE\u7684\u8272\u5F69\u88DD\u98FE\u9805\u76EE\u6700\u5927\u6578\u76EE\u3002","\u555F\u7528\u5373\u53EF\u4EE5\u6ED1\u9F20\u8207\u6309\u9375\u9078\u53D6\u9032\u884C\u8CC7\u6599\u884C\u9078\u53D6\u3002","\u63A7\u5236\u8A9E\u6CD5\u9192\u76EE\u63D0\u793A\u662F\u5426\u61C9\u8907\u88FD\u5230\u526A\u8CBC\u7C3F\u3002","\u63A7\u5236\u8CC7\u6599\u6307\u6A19\u52D5\u756B\u6A23\u5F0F\u3002","\u5E73\u6ED1\u63D2\u5165\u865F\u52D5\u756B\u5DF2\u505C\u7528\u3002","\u53EA\u6709\u7576\u4F7F\u7528\u8005\u4F7F\u7528\u660E\u78BA\u624B\u52E2\u79FB\u52D5\u6E38\u6A19\u6642\uFF0C\u624D\u6703\u555F\u7528\u5E73\u6ED1\u63D2\u5165\u865F\u52D5\u756B\u3002","\u6C38\u9060\u555F\u7528\u5E73\u6ED1\u63D2\u5165\u865F\u52D5\u756B\u3002","\u63A7\u5236\u662F\u5426\u61C9\u555F\u7528\u5E73\u6ED1\u63D2\u5165\u9EDE\u52D5\u756B\u3002 ","\u63A7\u5236\u8CC7\u6599\u6307\u6A19\u6A23\u5F0F\u3002","\u63A7\u5236\u6E38\u6A19\u4E0A\u4E0B\u5468\u570D\u53EF\u986F\u793A\u7684\u524D\u7F6E\u7DDA (\u6700\u5C0F\u70BA 0) \u548C\u5F8C\u7F6E\u7DDA (\u6700\u5C0F\u70BA 1) \u7684\u6700\u5C0F\u6578\u76EE\u3002\u5728\u67D0\u4E9B\u7DE8\u8F2F\u5668\u4E2D\u7A31\u70BA 'scrollOff' \u6216 'scrollOffset'\u3002","\u53EA\u6709\u901A\u904E\u9375\u76E4\u6216 API \u89F8\u767C\u6642\uFF0C\u624D\u6703\u65BD\u884C `cursorSurroundingLines`\u3002","\u4E00\u5F8B\u5F37\u5236\u57F7\u884C `cursorSurroundingLines`","\u63A7\u5236\u61C9\u5F37\u5236\u57F7\u884C `#cursorSurroundingLines#` \u7684\u6642\u6A5F\u3002","\u63A7\u5236\u6E38\u6A19\u5BEC\u5EA6\uFF0C\u7576 `#editor.cursorStyle#` \u8A2D\u5B9A\u70BA `line` \u6642\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u5141\u8A31\u900F\u904E\u62D6\u653E\u4F86\u79FB\u52D5\u9078\u53D6\u9805\u76EE\u3002","\u4F7F\u7528\u65B0\u7684 svg \u8F49\u8B6F\u65B9\u6CD5\u3002","\u4F7F\u7528\u5177\u6709\u5B57\u578B\u5B57\u5143\u7684\u65B0\u8F49\u8B6F\u65B9\u6CD5\u3002","\u4F7F\u7528\u7A69\u5B9A\u8F49\u8B6F\u65B9\u6CD5\u3002","\u63A7\u5236\u662F\u5426\u4F7F\u7528\u65B0\u7684\u5BE6\u9A57\u6027\u65B9\u6CD5\u4F86\u5448\u73FE\u7A7A\u767D\u5B57\u5143\u3002","\u6309\u4E0B `Alt` \u6642\u7684\u6372\u52D5\u901F\u5EA6\u4E58\u6578\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u555F\u7528\u7A0B\u5F0F\u78BC\u647A\u758A\u529F\u80FD\u3002","\u4F7F\u7528\u8A9E\u8A00\u7279\u5B9A\u647A\u758A\u7B56\u7565 (\u5982\u679C\u53EF\u7528)\uFF0C\u5426\u5247\u4F7F\u7528\u7E2E\u6392\u5F0F\u7B56\u7565\u3002","\u4F7F\u7528\u7E2E\u6392\u5F0F\u647A\u758A\u7B56\u7565\u3002","\u63A7\u5236\u8A08\u7B97\u8CC7\u6599\u593E\u7BC4\u570D\u7684\u7B56\u7565\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5C07\u6298\u758A\u7684\u7BC4\u570D\u9192\u76EE\u63D0\u793A\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u6703\u81EA\u52D5\u647A\u758A\u532F\u5165\u7BC4\u570D\u3002","\u53EF\u647A\u758A\u5340\u57DF\u7684\u6578\u76EE\u4E0A\u9650\u3002\u589E\u52A0\u6B64\u503C\u53EF\u80FD\u6703\u9020\u6210\u7576\u76EE\u524D\u7684\u4F86\u6E90\u6709\u5927\u91CF\u53EF\u647A\u758A\u5340\u57DF\u6642\uFF0C\u7DE8\u8F2F\u5668\u7684\u56DE\u61C9\u901F\u5EA6\u8B8A\u6162\u3002","\u63A7\u5236\u6309\u4E00\u4E0B\u5DF2\u6298\u758A\u884C\u5F8C\u65B9\u7684\u7A7A\u767D\u5167\u5BB9\u662F\u5426\u6703\u5C55\u958B\u884C\u3002","\u63A7\u5236\u5B57\u578B\u5BB6\u65CF\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u81EA\u52D5\u70BA\u8CBC\u4E0A\u7684\u5167\u5BB9\u8A2D\u5B9A\u683C\u5F0F\u3002\u5FC5\u9808\u6709\u53EF\u7528\u7684\u683C\u5F0F\u5668\uFF0C\u800C\u4E14\u683C\u5F0F\u5668\u61C9\u80FD\u5920\u70BA\u6587\u4EF6\u4E2D\u7684\u4E00\u500B\u7BC4\u570D\u8A2D\u5B9A\u683C\u5F0F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u81EA\u52D5\u5728\u9375\u5165\u5F8C\u8A2D\u5B9A\u884C\u7684\u683C\u5F0F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u8F49\u8B6F\u5782\u76F4\u5B57\u7B26\u908A\u754C\u3002\u5B57\u7B26\u908A\u754C\u6700\u5E38\u7528\u4F86\u9032\u884C\u5075\u932F\u3002","\u63A7\u5236\u6E38\u6A19\u662F\u5426\u61C9\u96B1\u85CF\u5728\u6982\u89C0\u5C3A\u898F\u4E2D\u3002","\u63A7\u5236\u5B57\u6BCD\u9593\u8DDD (\u50CF\u7D20)\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u5DF2\u555F\u7528\u9023\u7D50\u7DE8\u8F2F\u3002\u76F8\u95DC\u7B26\u865F (\u4F8B\u5982 HTML \u6A19\u7C64) \u6703\u6839\u64DA\u8A9E\u8A00\u5728\u7DE8\u8F2F\u6642\u66F4\u65B0\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u5075\u6E2C\u9023\u7D50\u4E26\u4F7F\u5176\u53EF\u4F9B\u9EDE\u9078\u3002","\u5C07\u7B26\u5408\u7684\u62EC\u865F\u9192\u76EE\u63D0\u793A\u3002","\u8981\u7528\u65BC\u6ED1\u9F20\u6EFE\u8F2A\u6372\u52D5\u4E8B\u4EF6 `deltaX` \u548C `deltaY` \u7684\u4E58\u6578\u3002","\u4F7F\u7528\u6ED1\u9F20\u6EFE\u8F2A\u4E26\u6309\u4F4F `Ctrl` \u6642\uFF0C\u7E2E\u653E\u7DE8\u8F2F\u5668\u7684\u5B57\u578B","\u5728\u591A\u500B\u6E38\u6A19\u91CD\u758A\u6642\u5C07\u5176\u5408\u4F75\u3002","\u5C0D\u61C9Windows\u548CLinux\u7684'Control'\u8207\u5C0D\u61C9 macOS \u7684'Command'\u3002","\u5C0D\u61C9Windows\u548CLinux\u7684'Alt'\u8207\u5C0D\u61C9macOS\u7684'Option'\u3002","\u7528\u65BC\u5728\u6ED1\u9F20\u65B0\u589E\u591A\u500B\u6E38\u6A19\u7684\u4FEE\u98FE\u5143\u3002[\u79FB\u81F3\u5B9A\u7FA9] \u548C [\u958B\u555F\u9023\u7D50] \u6ED1\u9F20\u624B\u52E2\u6703\u52A0\u4EE5\u9069\u61C9\uFF0C\u4EE5\u907F\u514D\u8207 [\u591A\u500B\u6E38\u6A19\u7684\u4FEE\u98FE\u5143](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier) \u76F8\u885D\u7A81\u3002","\u6BCF\u500B\u6E38\u6A19\u90FD\u6703\u8CBC\u4E0A\u4E00\u884C\u6587\u5B57\u3002","\u6BCF\u500B\u6E38\u6A19\u90FD\u6703\u8CBC\u4E0A\u5168\u6587\u3002","\u7576\u5DF2\u8CBC\u4E0A\u6587\u5B57\u7684\u884C\u6578\u8207\u6E38\u6A19\u6578\u76F8\u7B26\u6642\u63A7\u5236\u8CBC\u4E0A\u529F\u80FD\u3002","\u63A7\u5236\u4E00\u6B21\u53EF\u5728\u4F5C\u7528\u4E2D\u7DE8\u8F2F\u5668\u4E2D\u7684\u6E38\u6A19\u6578\u76EE\u4E0A\u9650\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u9192\u76EE\u986F\u793A\u51FA\u73FE\u7684\u8A9E\u610F\u7B26\u865F\u3002","\u63A7\u5236\u662F\u5426\u61C9\u5728\u6982\u89C0\u5C3A\u898F\u5468\u570D\u7E6A\u88FD\u6846\u7DDA\u3002","\u958B\u555F\u9810\u89BD\u6642\u7126\u9EDE\u6A39\u72C0","\u958B\u555F\u6642\u805A\u7126\u7DE8\u8F2F\u5668","\u63A7\u5236\u8981\u805A\u7126\u5167\u5D4C\u7DE8\u8F2F\u5668\u6216\u9810\u89BD\u5C0F\u5DE5\u5177\u4E2D\u7684\u6A39\u7CFB\u3002","\u63A7\u5236\u300C\u524D\u5F80\u5B9A\u7FA9\u300D\u6ED1\u9F20\u624B\u52E2\uFF0C\u662F\u5426\u4E00\u5F8B\u958B\u555F\u7784\u6838\u5C0F\u5DE5\u5177\u3002","\u63A7\u5236\u5728\u5FEB\u901F\u5EFA\u8B70\u986F\u793A\u5F8C\u7684\u5EF6\u9072 (\u4EE5\u6BEB\u79D2\u70BA\u55AE\u4F4D)\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u6703\u81EA\u52D5\u4F9D\u985E\u578B\u91CD\u65B0\u547D\u540D\u3002","\u5DF2\u6DD8\u6C70\uFF0C\u8ACB\u6539\u7528 `editor.linkedEditing`\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u986F\u793A\u63A7\u5236\u5B57\u5143\u3002","\u5728\u6A94\u6848\u7D50\u5C3E\u70BA\u65B0\u884C\u6642\uFF0C\u5448\u73FE\u6700\u5F8C\u4E00\u884C\u7684\u865F\u78BC\u3002","\u9192\u76EE\u63D0\u793A\u88DD\u8A02\u908A\u548C\u76EE\u524D\u7684\u884C\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u5982\u4F55\u986F\u793A\u76EE\u524D\u884C\u7684\u9192\u76EE\u63D0\u793A\u3002","\u63A7\u5236\u7576\u805A\u7126\u65BC\u7DE8\u8F2F\u5668\u6642\uFF0C\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u50C5\u8F49\u8B6F\u76EE\u524D\u884C\u7684\u9192\u76EE\u63D0\u793A\u3002","\u8F49\u8B6F\u7A7A\u767D\u5B57\u5143\uFF0C\u4F46\u6587\u5B57\u4E4B\u9593\u7684\u55AE\u4E00\u7A7A\u683C\u9664\u5916\u3002","\u53EA\u8F49\u8B6F\u6240\u9078\u6587\u5B57\u7684\u7A7A\u767D\u5B57\u5143\u3002","\u53EA\u8F49\u8B6F\u7D50\u5C3E\u7A7A\u767D\u5B57\u5143\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u61C9\u5982\u4F55\u8F49\u8B6F\u7A7A\u767D\u5B57\u5143\u3002","\u63A7\u5236\u9078\u53D6\u7BC4\u570D\u662F\u5426\u6709\u5713\u89D2","\u63A7\u5236\u7DE8\u8F2F\u5668\u6C34\u5E73\u6372\u52D5\u7684\u984D\u5916\u5B57\u5143\u6578\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u6372\u52D5\u5230\u6700\u5F8C\u4E00\u884C\u4E4B\u5916\u3002","\u540C\u6642\u9032\u884C\u5782\u76F4\u8207\u6C34\u5E73\u6372\u52D5\u6642\uFF0C\u50C5\u6CBF\u4E3B\u8EF8\u6372\u52D5\u3002\u907F\u514D\u5728\u8ECC\u8DE1\u677F\u4E0A\u9032\u884C\u5782\u76F4\u6372\u52D5\u6642\u767C\u751F\u6C34\u5E73\u6F02\u79FB\u3002","\u63A7\u5236\u662F\u5426\u652F\u63F4 Linux \u4E3B\u8981\u526A\u8CBC\u7C3F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u61C9\u9192\u76EE\u63D0\u793A\u8207\u9078\u53D6\u9805\u76EE\u985E\u4F3C\u7684\u76F8\u7B26\u9805\u76EE\u3002","\u4E00\u5F8B\u986F\u793A\u647A\u758A\u63A7\u5236\u9805\u3002","\u6C38\u4E0D\u986F\u793A\u647A\u758A\u63A7\u5236\u9805\u8207\u6E1B\u5C11\u88DD\u8A02\u908A\u5927\u5C0F\u3002","\u50C5\u7576\u6ED1\u9F20\u61F8\u505C\u5728\u6D3B\u52D5\u5217\u4E0A\u6642\uFF0C\u624D\u986F\u793A\u6298\u758A\u529F\u80FD\u3002","\u63A7\u5236\u647A\u758A\u63A7\u5236\u9805\u5728\u88DD\u8A02\u908A\u4E0A\u7684\u986F\u793A\u6642\u6A5F\u3002","\u63A7\u5236\u672A\u4F7F\u7528\u7A0B\u5F0F\u78BC\u7684\u6DE1\u51FA\u3002","\u63A7\u5236\u5DF2\u522A\u9664\u7684\u6DD8\u6C70\u8B8A\u6578\u3002","\u5C07\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5EFA\u8B70\u986F\u793A\u65BC\u5176\u4ED6\u5EFA\u8B70\u7684\u9802\u7AEF\u3002","\u5C07\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5EFA\u8B70\u986F\u793A\u65BC\u5176\u4ED6\u5EFA\u8B70\u7684\u4E0B\u65B9\u3002","\u5C07\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5EFA\u8B70\u8207\u5176\u4ED6\u5EFA\u8B70\u4E00\u540C\u986F\u793A\u3002","\u4E0D\u986F\u793A\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5EFA\u8B70\u3002","\u63A7\u5236\u7A0B\u5F0F\u78BC\u7247\u6BB5\u662F\u5426\u96A8\u5176\u4ED6\u5EFA\u8B70\u986F\u793A\uFF0C\u4EE5\u53CA\u5176\u6392\u5E8F\u65B9\u5F0F\u3002","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u6703\u4F7F\u7528\u52D5\u756B\u6372\u52D5","\u63A7\u5236\u7576\u986F\u793A\u5167\u5D4C\u5B8C\u6210\u6642\uFF0C\u662F\u5426\u61C9\u63D0\u4F9B\u5354\u52A9\u5DE5\u5177\u63D0\u793A\u7D66\u87A2\u5E55\u52A9\u8B80\u7A0B\u5F0F\u4F7F\u7528\u8005\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u7684\u5B57\u578B\u5927\u5C0F\u3002\u7576\u8A2D\u5B9A\u70BA {0} \u6642\uFF0C\u5247\u6703\u4F7F\u7528 {1} \u7684\u503C\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u7684\u884C\u9AD8\u3002\u7576\u8A2D\u5B9A\u70BA {0} \u6642\uFF0C\u5247\u6703\u4F7F\u7528 {1} \u7684\u503C\u3002\u6700\u5C0F\u503C\u70BA 8\u3002","\u63A7\u5236\u5EFA\u8B70\u662F\u5426\u61C9\u5728\u9375\u5165\u89F8\u767C\u5B57\u5143\u6642\u81EA\u52D5\u986F\u793A\u3002","\u4E00\u5F8B\u9078\u53D6\u7B2C\u4E00\u500B\u5EFA\u8B70\u3002","\u9664\u975E\u9032\u4E00\u6B65\u9375\u5165\u9078\u53D6\u4E86\u5EFA\u8B70\uFF0C\u5426\u5247\u9078\u53D6\u6700\u8FD1\u7684\u5EFA\u8B70\uFF0C\u4F8B\u5982 `console.| -> console.log`\uFF0C\u539F\u56E0\u662F\u6700\u8FD1\u5B8C\u6210\u4E86 `log`\u3002","\u6839\u64DA\u5148\u524D\u5DF2\u5B8C\u6210\u8A72\u5EFA\u8B70\u7684\u524D\u7F6E\u8A5E\u9078\u53D6\u5EFA\u8B70\uFF0C\u4F8B\u5982 `co -> console` \u548C `con -> const`\u3002","\u63A7\u5236\u5728\u986F\u793A\u5EFA\u8B70\u6E05\u55AE\u6642\u5982\u4F55\u9810\u5148\u9078\u53D6\u5EFA\u8B70\u3002","\u6309 Tab \u6642\uFF0CTab \u5B8C\u6210\u6703\u63D2\u5165\u6700\u7B26\u5408\u7684\u5EFA\u8B70\u3002","\u505C\u7528 tab \u9375\u81EA\u52D5\u5B8C\u6210\u3002","\u5728\u7A0B\u5F0F\u78BC\u7247\u6BB5\u7684\u9996\u78BC\u76F8\u7B26\u6642\u4F7F\u7528 Tab \u5B8C\u6210\u3002\u672A\u555F\u7528 'quickSuggestions' \u6642\u6548\u679C\u6700\u4F73\u3002","\u555F\u7528 tab \u9375\u81EA\u52D5\u5B8C\u6210\u3002","\u81EA\u52D5\u79FB\u9664\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143\u3002","\u5FFD\u7565\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143\u3002","\u8981\u79FB\u9664\u4E4B\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143\u63D0\u793A\u3002","\u79FB\u9664\u53EF\u80FD\u5C0E\u81F4\u554F\u984C\u7684\u7570\u5E38\u884C\u7D50\u675F\u5B57\u5143\u3002","\u63D2\u5165\u548C\u522A\u9664\u63A5\u5728\u5B9A\u4F4D\u505C\u99D0\u9EDE\u5F8C\u7684\u7A7A\u767D\u5B57\u5143\u3002","\u4F7F\u7528\u9810\u8A2D\u7684\u5206\u884C\u7B26\u865F\u898F\u5247\u3002","\u4E2D\u6587/\u65E5\u6587/\u97D3\u6587 (CJK) \u6587\u5B57\u4E0D\u61C9\u8A72\u4F7F\u7528\u65B7\u5B57\u3002\u975E\u4E2D\u65E5\u97D3\u7684\u6587\u5B57\u884C\u70BA\u8207\u4E00\u822C\u6587\u5B57\u76F8\u540C\u3002","\u63A7\u5236\u7528\u65BC\u4E2D\u6587/\u65E5\u6587/\u97D3\u6587 (CJK) \u6587\u5B57\u7684\u65B7\u5B57\u898F\u5247\u3002","\u5728\u57F7\u884C\u6587\u5B57\u76F8\u95DC\u5C0E\u89BD\u6216\u4F5C\u696D\u6642\u8981\u7528\u4F5C\u6587\u5B57\u5206\u9694\u7B26\u865F\u7684\u5B57\u5143","\u4E00\u5F8B\u4E0D\u63DB\u884C\u3002","\u4F9D\u6AA2\u8996\u5340\u5BEC\u5EA6\u63DB\u884C\u3002","\u65BC '#editor.wordWrapColumn#' \u63DB\u884C\u3002","\u7576\u6AA2\u8996\u5340\u7E2E\u81F3\u6700\u5C0F\u4E26\u8A2D\u5B9A '#editor.wordWrapColumn#' \u6642\u63DB\u884C\u3002","\u63A7\u5236\u5982\u4F55\u63DB\u884C\u3002","\u7576 `#editor.wordWrap#` \u70BA `wordWrapColumn` \u6216 `bounded` \u6642\uFF0C\u63A7\u5236\u7DE8\u8F2F\u5668\u4E2D\u7684\u8CC7\u6599\u884C\u63DB\u884C\u3002","\u63A7\u5236\u662F\u5426\u61C9\u4F7F\u7528\u9810\u8A2D\u7684\u6587\u4EF6\u8272\u5F69\u63D0\u4F9B\u8005\u986F\u793A\u5167\u5D4C\u8272\u5F69\u88DD\u98FE","\u63A7\u5236\u7DE8\u8F2F\u5668\u662F\u5426\u63A5\u6536\u7D22\u5F15\u6A19\u7C64\uFF0C\u6216\u5C07\u5176\u5EF6\u9072\u81F3\u5DE5\u4F5C\u53F0\u9032\u884C\u6D41\u89BD\u3002"],"vs/editor/common/core/editorColorRegistry":["\u76EE\u524D\u6E38\u6A19\u4F4D\u7F6E\u884C\u7684\u53CD\u767D\u986F\u793A\u80CC\u666F\u8272\u5F69\u3002","\u76EE\u524D\u6E38\u6A19\u4F4D\u7F6E\u884C\u4E4B\u5468\u570D\u6846\u7DDA\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9192\u76EE\u63D0\u793A\u7BC4\u570D\u7684\u80CC\u666F\u8272\u5F69\uFF0C\u4F8B\u5982\u5FEB\u901F\u958B\u555F\u4E26\u5C0B\u627E\u529F\u80FD\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u53CD\u767D\u986F\u793A\u7BC4\u570D\u5468\u570D\u908A\u6846\u7684\u80CC\u666F\u984F\u8272\u3002","\u9192\u76EE\u63D0\u793A\u7B26\u865F\u7684\u80CC\u666F\u8272\u5F69\uFF0C\u76F8\u4F3C\u65BC\u524D\u5F80\u4E0B\u4E00\u500B\u5B9A\u7FA9\u6216\u524D\u5F80\u4E0B\u4E00\u500B/\u4E0A\u4E00\u500B\u7B26\u865F\u3002\u8272\u5F69\u5FC5\u9808\u900F\u660E\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u9192\u76EE\u63D0\u793A\u5468\u570D\u7684\u908A\u754C\u80CC\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u6E38\u6A19\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u6E38\u6A19\u7684\u80CC\u666F\u8272\u5F69\u3002\u5141\u8A31\u81EA\u8A02\u5340\u584A\u6E38\u6A19\u91CD\u758A\u7684\u5B57\u5143\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u4E2D\u7A7A\u767D\u5B57\u5143\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u884C\u865F\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69\u3002","'editorIndentGuide.background' \u5DF2\u88AB\u53D6\u4EE3\u3002\u8ACB\u6539\u7528 'editorIndentGuide.background1'\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69\u3002","'editorIndentGuide.activeBackground' \u5DF2\u88AB\u53D6\u4EE3\u3002\u8ACB\u6539\u7528 'editorIndentGuide.activeBackground1'\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (1)\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (2)\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (3)\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (4)\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (5)\u3002","\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (6)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (1)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (2)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (3)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (4)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (5)\u3002","\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u8272\u5F69 (6)\u3002","\u7DE8\u8F2F\u5668\u4F7F\u7528\u4E2D\u884C\u865F\u7684\u8272\u5F69","Id \u5DF2\u53D6\u4EE3\u3002\u8ACB\u6539\u7528 'editorLineNumber.activeForeground' \u3002","\u7DE8\u8F2F\u5668\u4F7F\u7528\u4E2D\u884C\u865F\u7684\u8272\u5F69","editor.renderFinalNewline \u8A2D\u5B9A\u70BA\u6697\u7070\u8272\u6642\uFF0C\u6700\u7D42\u7DE8\u8F2F\u5668\u7DDA\u689D\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u5C3A\u898F\u7684\u8272\u5F69","\u7DE8\u8F2F\u5668\u7A0B\u5F0F\u78BC\u6FFE\u93E1\u7684\u524D\u666F\u8272\u5F69","\u6210\u5C0D\u62EC\u865F\u80CC\u666F\u8272\u5F69","\u6210\u5C0D\u62EC\u865F\u908A\u6846\u8272\u5F69","\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u5C3A\u898F\u7684\u908A\u6846\u8272\u5F69.","\u7DE8\u8F2F\u5668\u6982\u89C0\u5C3A\u898F\u7684\u80CC\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u908A\u6846\u7684\u80CC\u666F\u984F\u8272,\u5305\u542B\u884C\u865F\u8207\u5B57\u5F62\u5716\u793A\u7684\u908A\u6846.","\u7DE8\u8F2F\u5668\u4E2D\u4E0D\u5FC5\u8981 (\u672A\u4F7F\u7528) \u539F\u59CB\u7A0B\u5F0F\u78BC\u7684\u6846\u7DDA\u8272\u5F69\u3002",`\u7DE8\u8F2F\u5668\u4E2D\u4E0D\u5FC5\u8981 (\u672A\u4F7F\u7528) \u539F\u59CB\u7A0B\u5F0F\u78BC\u7684\u4E0D\u900F\u660E\u5EA6\u3002\u4F8B\u5982 "#000000c0\u201D \u6703\u4EE5 75% \u7684\u4E0D\u900F\u660E\u5EA6\u8F49\u8B6F\u7A0B\u5F0F\u78BC\u3002\u91DD\u5C0D\u9AD8\u5C0D\u6BD4\u4E3B\u984C\uFF0C\u4F7F\u7528 'editorUnnecessaryCode.border' \u4E3B\u984C\u8272\u5F69\u53EF\u70BA\u4E0D\u5FC5\u8981\u7684\u7A0B\u5F0F\u78BC\u52A0\u4E0A\u5E95\u7DDA\uFF0C\u800C\u4E0D\u662F\u5C07\u5176\u8B8A\u6DE1\u3002`,"\u7DE8\u8F2F\u5668\u4E2D\u6D6E\u6C34\u5370\u6587\u5B57\u7684\u908A\u6846\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u4E2D\u6D6E\u6C34\u5370\u6587\u5B57\u7684\u524D\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u4E2D\u6D6E\u6C34\u5370\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002","\u7BC4\u570D\u9192\u76EE\u63D0\u793A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u932F\u8AA4\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002","\u8B66\u793A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002","\u8CC7\u8A0A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002","\u62EC\u5F27 (1) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u62EC\u5F27 (2) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u62EC\u5F27 (3) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u62EC\u5F27 (4) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u62EC\u5F27 (5) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u62EC\u5F27 (6) \u7684\u524D\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u6210\u5C0D\u65B9\u62EC\u5F27\u8457\u8272\u3002","\u672A\u9810\u671F\u62EC\u5F27\u7684\u524D\u666F\u8272\u5F69\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (1) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (2) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (3) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (4) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (5) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u975E\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (6) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (1) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (2) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (3) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (4) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (5) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u4F7F\u7528\u4E2D\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA (6) \u7684\u80CC\u666F\u8272\u5F69\u3002\u9700\u8981\u555F\u7528\u62EC\u5F27\u914D\u5C0D\u8F14\u52A9\u7DDA\u3002","\u7528\u4F86\u9192\u76EE\u63D0\u793A Unicode \u5B57\u5143\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7528\u4F86\u9192\u76EE\u63D0\u793A Unicode \u5B57\u5143\u7684\u80CC\u666F\u8272\u5F69\u3002"],"vs/editor/common/editorContextKeys":["\u7DE8\u8F2F\u5668\u6587\u5B57\u662F\u5426\u6709\u7126\u9EDE (\u6E38\u6A19\u9583\u720D)","\u7DE8\u8F2F\u5668\u6216\u7DE8\u8F2F\u5668\u5C0F\u5DE5\u5177\u662F\u5426\u6709\u7126\u9EDE (\u4F8B\u5982\u7126\u9EDE\u4F4D\u65BC [\u5C0B\u627E] \u5C0F\u5DE5\u5177\u4E2D)","\u7DE8\u8F2F\u5668\u6216 RTF \u8F38\u5165\u662F\u5426\u6709\u7126\u9EDE (\u6E38\u6A19\u9583\u720D)","\u7DE8\u8F2F\u5668\u662F\u5426\u70BA\u552F\u8B80","\u5167\u5BB9\u662F\u5426\u70BA Diff \u7DE8\u8F2F\u5668","\u5167\u5BB9\u662F\u5426\u70BA\u5167\u5D4C Diff \u7DE8\u8F2F\u5668","\u662F\u5426\u9078\u53D6\u79FB\u52D5\u7684\u7A0B\u5F0F\u78BC\u5340\u584A\u9032\u884C\u6BD4\u8F03","\u662F\u5426\u986F\u793A\u6613\u5B58\u53D6\u5DEE\u7570\u6AA2\u8996\u5668","\u662F\u5426\u5DF2\u9054\u5230\u5DEE\u7570\u7DE8\u8F2F\u5668\u4E26\u6392\u5448\u73FE\u5167\u5D4C\u4E2D\u65B7\u9EDE","'editor.columnSelection' \u662F\u5426\u5DF2\u555F\u7528","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u9078\u53D6\u6587\u5B57","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u591A\u500B\u9078\u53D6\u9805\u76EE","'Tab' \u662F\u5426\u6703\u5C07\u7126\u9EDE\u79FB\u51FA\u7DE8\u8F2F\u5668","\u7DE8\u8F2F\u5668\u66AB\u7559\u662F\u5426\u986F\u793A","\u7DE8\u8F2F\u5668\u66AB\u7559\u662F\u5426\u805A\u7126","\u81EA\u9ECF\u6372\u52D5\u662F\u5426\u805A\u7126","\u81EA\u9ECF\u6372\u52D5\u662F\u5426\u986F\u793A","\u662F\u5426\u986F\u793A\u7368\u7ACB\u7684\u984F\u8272\u9078\u64C7\u5668","\u7368\u7ACB\u7684\u984F\u8272\u9078\u64C7\u5668\u662F\u5426\u805A\u7126","\u7DE8\u8F2F\u5668\u662F\u5426\u70BA\u8F03\u5927\u7DE8\u8F2F\u5668\u7684\u4E00\u90E8\u5206 (\u4F8B\u5982\u7B46\u8A18\u672C)","\u7DE8\u8F2F\u5668\u7684\u8A9E\u8A00\u8B58\u5225\u78BC","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u5B8C\u6210\u9805\u76EE\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709 CodeLens \u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u5B9A\u7FA9\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u5BA3\u544A\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u5BE6\u4F5C\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u578B\u5225\u5B9A\u7FA9\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u66AB\u7559\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u6587\u4EF6\u9192\u76EE\u63D0\u793A\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u6587\u4EF6\u7B26\u865F\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u53C3\u8003\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u91CD\u65B0\u547D\u540D\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u7C3D\u7AE0\u8AAA\u660E\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u5167\u5D4C\u63D0\u793A\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u6587\u4EF6\u683C\u5F0F\u5316\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u6587\u4EF6\u9078\u53D6\u9805\u76EE\u683C\u5F0F\u5316\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u591A\u500B\u6587\u4EF6\u683C\u5F0F\u5316\u63D0\u4F9B\u8005","\u7DE8\u8F2F\u5668\u662F\u5426\u6709\u591A\u500B\u6587\u4EF6\u9078\u53D6\u9805\u76EE\u683C\u5F0F\u5316\u63D0\u4F9B\u8005"],"vs/editor/common/languages":["\u9663\u5217","\u5E03\u6797\u503C","\u985E\u5225","\u5E38\u6578","\u5EFA\u69CB\u51FD\u5F0F","\u5217\u8209","\u5217\u8209\u6210\u54E1","\u4E8B\u4EF6","\u6B04\u4F4D","\u6A94\u6848","\u51FD\u5F0F","\u4ECB\u9762","\u7D22\u5F15\u9375","\u65B9\u6CD5","\u6A21\u7D44","\u547D\u540D\u7A7A\u9593","null","\u6578\u5B57","\u7269\u4EF6","\u904B\u7B97\u5B50","\u5957\u4EF6","\u5C6C\u6027","\u5B57\u4E32","\u7D50\u69CB","\u578B\u5225\u53C3\u6578","\u8B8A\u6578","{0} ({1})"],"vs/editor/common/languages/modesRegistry":["\u7D14\u6587\u5B57"],"vs/editor/common/model/editStack":["\u6B63\u5728\u9375\u5165"],"vs/editor/common/standaloneStrings":["\u958B\u767C\u4EBA\u54E1: \u6AA2\u67E5\u6B0A\u6756","\u524D\u5F80\u884C/\u6B04...","\u986F\u793A\u6240\u6709\u5FEB\u901F\u5B58\u53D6\u63D0\u4F9B\u8005","\u547D\u4EE4\u9078\u64C7\u5340","\u986F\u793A\u4E26\u57F7\u884C\u547D\u4EE4","\u79FB\u81F3\u7B26\u865F...","\u524D\u5F80\u7B26\u865F (\u4F9D\u985E\u5225)...","\u7DE8\u8F2F\u5668\u5167\u5BB9","\u6309 Alt+F1 \u53EF\u53D6\u5F97\u5354\u52A9\u5DE5\u5177\u9078\u9805\u3002","\u5207\u63DB\u9AD8\u5C0D\u6BD4\u4F48\u666F\u4E3B\u984C","\u5DF2\u5728 {1} \u6A94\u6848\u4E2D\u9032\u884C {0} \u9805\u7DE8\u8F2F"],"vs/editor/common/viewLayout/viewLineRenderer":["\u986F\u793A\u66F4\u591A ({0})","{0} chars"],"vs/editor/contrib/anchorSelect/browser/anchorSelect":["\u9078\u53D6\u7BC4\u570D\u9328\u9EDE","\u8A2D\u5B9A\u9328\u9EDE\u70BA {0}:{1}","\u8A2D\u5B9A\u9078\u53D6\u7BC4\u570D\u9328\u9EDE","\u524D\u5F80\u9078\u53D6\u7BC4\u570D\u9328\u9EDE","\u9078\u53D6\u5F9E\u9328\u9EDE\u5230\u6E38\u6A19\u4E4B\u9593\u7684\u7BC4\u570D","\u53D6\u6D88\u9078\u53D6\u7BC4\u570D\u9328\u9EDE"],"vs/editor/contrib/bracketMatching/browser/bracketMatching":["\u6210\u5C0D\u62EC\u5F27\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002","\u79FB\u81F3\u65B9\u62EC\u5F27","\u9078\u53D6\u81F3\u62EC\u5F27","\u79FB\u9664\u62EC\u5F27","\u524D\u5F80\u62EC\u5F27(&&B)"],"vs/editor/contrib/caretOperations/browser/caretOperations":["\u5C07\u6240\u9078\u6587\u5B57\u5411\u5DE6\u79FB\u52D5","\u5C07\u6240\u9078\u6587\u5B57\u5411\u53F3\u79FB\u52D5"],"vs/editor/contrib/caretOperations/browser/transpose":["\u8ABF\u63DB\u5B57\u6BCD"],"vs/editor/contrib/clipboard/browser/clipboard":["\u526A\u4E0B(&&T)","\u526A\u4E0B","\u526A\u4E0B","\u526A\u4E0B","\u8907\u88FD(&&C)","\u8907\u88FD","\u8907\u88FD","\u8907\u88FD","\u8907\u88FD\u70BA","\u8907\u88FD\u70BA","\u5171\u7528","\u5171\u7528","\u5171\u7528","\u8CBC\u4E0A(&&P)","\u8CBC\u4E0A","\u8CBC\u4E0A","\u8CBC\u4E0A","\u96A8\u8A9E\u6CD5\u9192\u76EE\u63D0\u793A\u8907\u88FD"],"vs/editor/contrib/codeAction/browser/codeAction":["\u5957\u7528\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u6642\u767C\u751F\u672A\u77E5\u7684\u932F\u8AA4"],"vs/editor/contrib/codeAction/browser/codeActionCommands":["\u8981\u57F7\u884C\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u7684\u7A2E\u985E\u3002","\u63A7\u5236\u8981\u5957\u7528\u50B3\u56DE\u52D5\u4F5C\u7684\u6642\u6A5F\u3002","\u4E00\u5F8B\u5957\u7528\u7B2C\u4E00\u500B\u50B3\u56DE\u7684\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u3002","\u5982\u679C\u50B3\u56DE\u7684\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u662F\u552F\u4E00\u52D5\u4F5C\uFF0C\u5247\u52A0\u4EE5\u5957\u7528\u3002","\u4E0D\u8981\u5957\u7528\u50B3\u56DE\u7684\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u3002","\u63A7\u5236\u662F\u5426\u50C5\u61C9\u50B3\u56DE\u504F\u597D\u7684\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u3002","\u5FEB\u901F\u4FEE\u5FA9...","\u6C92\u6709\u53EF\u7528\u7684\u7A0B\u5F0F\u78BC\u64CD\u4F5C",'\u6C92\u6709 "{0}" \u7684\u504F\u597D\u7A0B\u5F0F\u78BC\u52D5\u4F5C','\u6C92\u6709 "{0}" \u53EF\u7528\u7684\u7A0B\u5F0F\u78BC\u52D5\u4F5C',"\u6C92\u6709\u53EF\u7528\u7684\u504F\u597D\u7A0B\u5F0F\u78BC\u52D5\u4F5C","\u6C92\u6709\u53EF\u7528\u7684\u7A0B\u5F0F\u78BC\u64CD\u4F5C","\u91CD\u69CB...","\u6C92\u6709\u9069\u7528\u65BC '{0}' \u7684\u504F\u597D\u91CD\u69CB\u3002",'\u6C92\u6709\u53EF\u7528\u7684 "{0}" \u91CD\u69CB',"\u6C92\u6709\u53EF\u7528\u7684\u504F\u597D\u91CD\u69CB","\u6C92\u6709\u53EF\u7528\u7684\u91CD\u69CB","\u4F86\u6E90\u52D5\u4F5C...","\u6C92\u6709\u9069\u7528\u65BC '{0}' \u7684\u504F\u597D\u4F86\u6E90\u52D5\u4F5C",'\u6C92\u6709 "{0}" \u53EF\u7528\u7684\u4F86\u6E90\u52D5\u4F5C',"\u6C92\u6709\u53EF\u7528\u7684\u504F\u597D\u4F86\u6E90\u52D5\u4F5C","\u6C92\u6709\u53EF\u7528\u7684\u4F86\u6E90\u52D5\u4F5C","\u7D44\u7E54\u532F\u5165","\u6C92\u6709\u4EFB\u4F55\u53EF\u7528\u7684\u7D44\u7E54\u532F\u5165\u52D5\u4F5C","\u5168\u90E8\u4FEE\u6B63","\u6C92\u6709\u5168\u90E8\u4FEE\u6B63\u52D5\u4F5C\u53EF\u7528","\u81EA\u52D5\u4FEE\u6B63...","\u6C92\u6709\u53EF\u7528\u7684\u81EA\u52D5\u4FEE\u6B63"],"vs/editor/contrib/codeAction/browser/codeActionContributions":["\u555F\u7528/\u505C\u7528\u5728 [\u7A0B\u5F0F\u78BC\u52D5\u4F5C] \u529F\u80FD\u8868\u4E2D\u986F\u793A\u7FA4\u7D44\u6A19\u982D\u3002","\u555F\u7528/\u505C\u7528\u76EE\u524D\u4E0D\u5728\u8A3A\u65B7\u6642\u986F\u793A\u884C\u5167\u6700\u63A5\u8FD1\u7684 Quickfix\u3002"],"vs/editor/contrib/codeAction/browser/codeActionController":["\u5167\u5BB9: {0} \u5728\u884C {1} \u548C\u6B04 {2}\u3002","\u96B1\u85CF\u5DF2\u505C\u7528\u9805\u76EE","\u986F\u793A\u5DF2\u505C\u7528\u9805\u76EE"],"vs/editor/contrib/codeAction/browser/codeActionMenu":["\u66F4\u591A\u52D5\u4F5C...","\u5FEB\u901F\u4FEE\u6B63","\u64F7\u53D6","\u5167\u5D4C","\u91CD\u5BEB","\u79FB\u52D5","\u7BC4\u570D\u9673\u8FF0\u5F0F","\u4F86\u6E90\u52D5\u4F5C"],"vs/editor/contrib/codeAction/browser/lightBulbWidget":["\u986F\u793A\u7A0B\u5F0F\u78BC\u52D5\u4F5C\u3002\u504F\u597D\u7684\u5FEB\u901F\u4FEE\u6B63\u53EF\u7528 ({0})","\u986F\u793A\u7A0B\u5F0F\u78BC\u52D5\u4F5C ({0})","\u986F\u793A\u7A0B\u5F0F\u78BC\u52D5\u4F5C"],"vs/editor/contrib/codelens/browser/codelensController":["\u986F\u793A\u76EE\u524D\u884C\u7684 Code Lens \u547D\u4EE4","\u9078\u53D6\u547D\u4EE4"],"vs/editor/contrib/colorPicker/browser/colorPickerWidget":["\u6309\u4E00\u4E0B\u4EE5\u5207\u63DB\u8272\u5F69\u9078\u9805 (rgb/hsl/hex)","\u8981\u95DC\u9589\u984F\u8272\u9078\u64C7\u5668\u7684\u5716\u793A"],"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions":["\u986F\u793A\u6216\u805A\u7126\u7368\u7ACB\u7684\u984F\u8272\u9078\u64C7\u5668","&&\u986F\u793A\u6216\u805A\u7126\u7368\u7ACB\u7684\u984F\u8272\u9078\u64C7\u5668","\u96B1\u85CF\u984F\u8272\u9078\u64C7\u5668","\u4F7F\u7528\u7368\u7ACB\u7684\u984F\u8272\u9078\u64C7\u5668\u63D2\u5165\u984F\u8272"],"vs/editor/contrib/comment/browser/comment":["\u5207\u63DB\u884C\u8A3B\u89E3","\u5207\u63DB\u884C\u8A3B\u89E3(&&T)","\u52A0\u5165\u884C\u8A3B\u89E3","\u79FB\u9664\u884C\u8A3B\u89E3","\u5207\u63DB\u5340\u584A\u8A3B\u89E3","\u5207\u63DB\u5340\u584A\u8A3B\u89E3(&&B)"],"vs/editor/contrib/contextmenu/browser/contextmenu":["\u7E2E\u5716","\u8F49\u8B6F\u5B57\u5143","\u5782\u76F4\u5927\u5C0F","\u6309\u6BD4\u4F8B","\u586B\u6EFF","\u6700\u9069\u5927\u5C0F","\u6ED1\u687F","\u6ED1\u9F20\u79FB\u81F3\u4E0A\u65B9","\u4E00\u5F8B","\u986F\u793A\u7DE8\u8F2F\u5668\u5167\u5BB9\u529F\u80FD\u8868"],"vs/editor/contrib/cursorUndo/browser/cursorUndo":["\u6E38\u6A19\u5FA9\u539F","\u6E38\u6A19\u91CD\u505A"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution":["\u8CBC\u4E0A\u70BA...","\u8981\u5617\u8A66\u5957\u7528\u7684\u8CBC\u4E0A\u7DE8\u8F2F\u7684\u8B58\u5225\u78BC\u3002\u5982\u679C\u672A\u63D0\u4F9B\uFF0C\u7DE8\u8F2F\u5668\u5C07\u986F\u793A\u9078\u64C7\u5668\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController":["\u662F\u5426\u986F\u793A\u8CBC\u4E0A\u5C0F\u5DE5\u5177","\u986F\u793A\u8CBC\u4E0A\u9078\u9805...","\u6B63\u5728\u57F7\u884C\u8CBC\u4E0A\u8655\u7406\u5E38\u5F0F\u3002\u6309\u4E00\u4E0B\u4EE5\u53D6\u6D88","\u9078\u53D6\u8CBC\u4E0A\u52D5\u4F5C","\u57F7\u884C\u8CBC\u4E0A\u8655\u7406\u5E38\u5F0F"],"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders":["\u5167\u5EFA","\u63D2\u5165\u7D14\u6587\u5B57","\u63D2\u5165 URI","\u63D2\u5165 URI","\u63D2\u5165\u8DEF\u5F91","\u63D2\u5165\u8DEF\u5F91","\u63D2\u5165\u76F8\u5C0D\u8DEF\u5F91","\u63D2\u5165\u76F8\u5C0D\u8DEF\u5F91"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution":["\u8A2D\u5B9A\u9810\u8A2D\u5378\u8F09\u63D0\u4F9B\u8005\uFF0C\u4EE5\u7528\u65BC\u6307\u5B9A MIME \u985E\u578B\u7684\u5167\u5BB9\u3002"],"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController":["\u662F\u5426\u986F\u793A\u5378\u9664\u5C0F\u5DE5\u5177","\u986F\u793A\u5378\u9664\u9078\u9805...","\u6B63\u5728\u57F7\u884C\u7F6E\u653E\u8655\u7406\u5E38\u5F0F\u3002\u6309\u4E00\u4E0B\u4EE5\u53D6\u6D88"],"vs/editor/contrib/editorState/browser/keybindingCancellation":["\u7DE8\u8F2F\u5668\u662F\u5426\u57F7\u884C\u53EF\u53D6\u6D88\u7684\u4F5C\u696D\uFF0C\u4F8B\u5982\u300C\u9810\u89BD\u53C3\u8003\u300D"],"vs/editor/contrib/find/browser/findController":["\u6A94\u6848\u592A\u5927\uFF0C\u7121\u6CD5\u57F7\u884C\u53D6\u4EE3\u6240\u6709\u4F5C\u696D\u3002","\u5C0B\u627E","\u5C0B\u627E(&&F)",`\u8986\u5BEB "Use Regular Expression" \u65D7\u6A19\u3002\r +\u65E5\u5F8C\u5C07\u4E0D\u6703\u5132\u5B58\u6B64\u65D7\u6A19\u3002\r +0: \u4E0D\u57F7\u884C\u4EFB\u4F55\u52D5\u4F5C\r +1: True\r +2: False`,`\u8986\u5BEB "Match Whole Word" \u65D7\u6A19\u3002\r +\u65E5\u5F8C\u5C07\u4E0D\u6703\u5132\u5B58\u6B64\u65D7\u6A19\u3002\r +0: \u4E0D\u57F7\u884C\u4EFB\u4F55\u52D5\u4F5C\r +1: True\r +2: False`,`\u8986\u5BEB "Math Case" \u65D7\u6A19\u3002\r +\u65E5\u5F8C\u5C07\u4E0D\u6703\u5132\u5B58\u6B64\u65D7\u6A19\u3002\r +0: \u4E0D\u57F7\u884C\u4EFB\u4F55\u52D5\u4F5C\r +1: True\r +2: False`,`\u8986\u5BEB "Preserve Case" \u65D7\u6A19\u3002\r +\u65E5\u5F8C\u5C07\u4E0D\u6703\u5132\u5B58\u6B64\u65D7\u6A19\u3002\r +0: \u4E0D\u57F7\u884C\u4EFB\u4F55\u52D5\u4F5C\r +1: True\r +2: False`,"\u4F7F\u7528\u5F15\u6578\u5C0B\u627E","\u5C0B\u627E\u9078\u53D6\u9805\u76EE","\u5C0B\u627E\u4E0B\u4E00\u500B","\u5C0B\u627E\u4E0A\u4E00\u500B","\u79FB\u81F3\u76F8\u7B26\u9805\u76EE...","\u6C92\u6709\u76F8\u7B26\u9805\u76EE\u3002\u5617\u8A66\u641C\u5C0B\u5176\u4ED6\u9805\u76EE\u3002","\u8F38\u5165\u6578\u5B57\u4EE5\u524D\u5F80\u7279\u5B9A\u76F8\u7B26\u9805\u76EE (\u4ECB\u65BC 1 \u5230 {0})","\u8ACB\u8F38\u5165\u4ECB\u65BC 1 \u548C {0} \u4E4B\u9593\u7684\u6578\u5B57\u3002","\u8ACB\u8F38\u5165\u4ECB\u65BC 1 \u548C {0} \u4E4B\u9593\u7684\u6578\u5B57\u3002","\u5C0B\u627E\u4E0B\u4E00\u500B\u9078\u53D6\u9805\u76EE","\u5C0B\u627E\u4E0A\u4E00\u500B\u9078\u53D6\u9805\u76EE","\u53D6\u4EE3","\u53D6\u4EE3(&&R)"],"vs/editor/contrib/find/browser/findWidget":["\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u4E2D [\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E] \u7684\u5716\u793A\u3002","\u8868\u793A\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u5DF2\u647A\u758A\u7684\u5716\u793A\u3002","\u8868\u793A\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u5DF2\u5C55\u958B\u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u4E2D [\u53D6\u4EE3] \u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u4E2D [\u5168\u90E8\u53D6\u4EE3] \u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u4E2D [\u5C0B\u627E\u4E0A\u4E00\u500B] \u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5C0B\u627E\u5C0F\u5DE5\u5177\u4E2D [\u5C0B\u627E\u4E0B\u4E00\u500B] \u7684\u5716\u793A\u3002","\u5C0B\u627E/\u53D6\u4EE3","\u5C0B\u627E","\u5C0B\u627E","\u4E0A\u4E00\u500B\u76F8\u7B26\u9805\u76EE","\u4E0B\u4E00\u500B\u76F8\u7B26\u9805\u76EE","\u5728\u9078\u53D6\u7BC4\u570D\u4E2D\u5C0B\u627E","\u95DC\u9589","\u53D6\u4EE3","\u53D6\u4EE3","\u53D6\u4EE3","\u5168\u90E8\u53D6\u4EE3","\u5207\u63DB\u53D6\u4EE3","\u50C5\u53CD\u767D\u986F\u793A\u524D {0} \u7B46\u7D50\u679C\uFF0C\u4F46\u6240\u6709\u5C0B\u627E\u4F5C\u696D\u6703\u5728\u5B8C\u6574\u6587\u5B57\u4E0A\u57F7\u884C\u3002","{1} \u7684 {0}","\u67E5\u7121\u7D50\u679C","\u627E\u5230 {0}","\u4EE5 '{1}' \u627E\u5230 {0}","\u4EE5 '{1}' \u627E\u5230 {0}\uFF0C\u4F4D\u65BC {2}","\u5DF2\u4EE5 '{1}' \u627E\u5230 {0}","Ctrl+Enter \u73FE\u5728\u6703\u63D2\u5165\u5206\u884C\u7B26\u865F\uFF0C\u800C\u4E0D\u6703\u5168\u90E8\u53D6\u4EE3\u3002\u60A8\u53EF\u4EE5\u4FEE\u6539 editor.action.replaceAll \u7684\u6309\u9375\u7E6B\u7D50\u95DC\u4FC2\uFF0C\u4EE5\u8986\u5BEB\u6B64\u884C\u70BA\u3002"],"vs/editor/contrib/folding/browser/folding":["\u5C55\u958B","\u4EE5\u905E\u8FF4\u65B9\u5F0F\u5C55\u958B","\u647A\u758A","\u5207\u63DB\u647A\u758A","\u4EE5\u905E\u8FF4\u65B9\u5F0F\u647A\u758A","\u647A\u758A\u5168\u90E8\u5340\u584A\u8A3B\u89E3","\u647A\u758A\u6240\u6709\u5340\u57DF","\u5C55\u958B\u6240\u6709\u5340\u57DF","\u647A\u758A\u6240\u9078\u5340\u57DF\u4EE5\u5916\u7684\u6240\u6709\u5340\u57DF","\u5C55\u958B\u6240\u9078\u5340\u57DF\u4EE5\u5916\u7684\u6240\u6709\u5340\u57DF","\u5168\u90E8\u647A\u758A","\u5168\u90E8\u5C55\u958B","\u79FB\u81F3\u7236\u4EE3\u647A\u758A","\u79FB\u81F3\u4E0A\u4E00\u500B\u647A\u758A\u7BC4\u570D","\u79FB\u81F3\u4E0B\u4E00\u500B\u647A\u758A\u7BC4\u570D","\u5F9E\u9078\u53D6\u7BC4\u570D\u5EFA\u7ACB\u647A\u758A\u7BC4\u570D","\u79FB\u9664\u624B\u52D5\u6298\u758A\u7BC4\u570D","\u647A\u758A\u5C64\u7D1A {0}"],"vs/editor/contrib/folding/browser/foldingDecorations":["\u5DF2\u647A\u758A\u7BC4\u570D\u5F8C\u7684\u80CC\u666F\u8272\u5F69\u3002\u8272\u5F69\u4E0D\u5F97\u8655\u65BC\u4E0D\u900F\u660E\u72C0\u614B\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7DE8\u8F2F\u5668\u88DD\u8A02\u908A\u7684\u647A\u758A\u63A7\u5236\u9805\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u5B57\u7B26\u908A\u754C\u4E2D [\u5C55\u958B\u7684\u7BC4\u570D] \u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5B57\u7B26\u908A\u754C\u4E2D [\u647A\u758A\u7684\u7BC4\u570D] \u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5B57\u7B26\u908A\u754C\u4E2D\u624B\u52D5\u647A\u758A\u7BC4\u570D\u7684\u5716\u793A\u3002","\u7DE8\u8F2F\u5668\u5B57\u7B26\u908A\u754C\u4E2D\u624B\u52D5\u5C55\u958B\u7BC4\u570D\u7684\u5716\u793A\u3002"],"vs/editor/contrib/fontZoom/browser/fontZoom":["\u7DE8\u8F2F\u5668\u5B57\u9AD4\u653E\u5927","\u7DE8\u8F2F\u5668\u5B57\u578B\u7E2E\u5C0F","\u7DE8\u8F2F\u5668\u5B57\u9AD4\u91CD\u8A2D\u7E2E\u653E"],"vs/editor/contrib/format/browser/format":["\u5728\u884C {0} \u7DE8\u8F2F\u4E86 1 \u9805\u683C\u5F0F","\u5728\u884C {1} \u7DE8\u8F2F\u4E86 {0} \u9805\u683C\u5F0F","\u5728\u884C {0} \u8207\u884C {1} \u4E4B\u9593\u7DE8\u8F2F\u4E86 1 \u9805\u683C\u5F0F","\u5728\u884C {1} \u8207\u884C {2} \u4E4B\u9593\u7DE8\u8F2F\u4E86 {0} \u9805\u683C\u5F0F"],"vs/editor/contrib/format/browser/formatActions":["\u683C\u5F0F\u5316\u6587\u4EF6","\u683C\u5F0F\u5316\u9078\u53D6\u7BC4\u570D"],"vs/editor/contrib/gotoError/browser/gotoError":["\u79FB\u81F3\u4E0B\u4E00\u500B\u554F\u984C (\u932F\u8AA4, \u8B66\u544A, \u8CC7\u8A0A)","[\u524D\u5F80\u4E0B\u4E00\u500B\u6A19\u8A18] \u7684\u5716\u793A\u3002","\u79FB\u81F3\u4E0A\u4E00\u500B\u554F\u984C (\u932F\u8AA4, \u8B66\u544A, \u8CC7\u8A0A)","[\u524D\u5F80\u4E0A\u4E00\u500B\u6A19\u8A18] \u7684\u5716\u793A\u3002","\u79FB\u81F3\u6A94\u6848\u88E1\u9762\u7684\u4E0B\u4E00\u500B\u554F\u984C (\u932F\u8AA4, \u8B66\u544A, \u8CC7\u8A0A)","\u4E0B\u4E00\u500B\u554F\u984C(&&P)","\u79FB\u81F3\u6A94\u6848\u88E1\u9762\u7684\u4E0A\u4E00\u500B\u554F\u984C (\u932F\u8AA4, \u8B66\u544A, \u8CC7\u8A0A)","\u524D\u4E00\u500B\u554F\u984C(&&P)"],"vs/editor/contrib/gotoError/browser/gotoErrorWidget":["\u932F\u8AA4","\u8B66\u544A","\u8CC7\u8A0A","\u63D0\u793A","{0} \u65BC {1}\u3002","{0} \u500B\u554F\u984C (\u5171 {1} \u500B)","{0} \u500B\u554F\u984C (\u5171 {1} \u500B)","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u932F\u8AA4\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u932F\u8AA4\u6A19\u984C\u80CC\u666F\u3002","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u8B66\u544A\u7684\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u8B66\u544A\u6A19\u984C\u80CC\u666F\u3002","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u8CC7\u8A0A\u7684\u8272\u5F69","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u8CC7\u8A0A\u6A19\u984C\u80CC\u666F\u3002","\u7DE8\u8F2F\u5668\u6A19\u8A18\u5C0E\u89BD\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u3002"],"vs/editor/contrib/gotoSymbol/browser/goToCommands":["\u67E5\u770B","\u5B9A\u7FA9","\u627E\u4E0D\u5230 '{0}' \u7684\u5B9A\u7FA9","\u627E\u4E0D\u5230\u4EFB\u4F55\u5B9A\u7FA9","\u79FB\u81F3\u5B9A\u7FA9","\u79FB\u81F3\u5B9A\u7FA9(&&D)","\u5728\u4E00\u5074\u958B\u555F\u5B9A\u7FA9","\u7784\u6838\u5B9A\u7FA9","\u5BA3\u544A","\u627E\u4E0D\u5230 '{0}' \u7684\u5BA3\u544A ","\u627E\u4E0D\u5230\u4EFB\u4F55\u5BA3\u544A","\u79FB\u81F3\u5BA3\u544A","\u524D\u5F80\u5BA3\u544A(&&D)","\u627E\u4E0D\u5230 '{0}' \u7684\u5BA3\u544A ","\u627E\u4E0D\u5230\u4EFB\u4F55\u5BA3\u544A","\u9810\u89BD\u5BA3\u544A","\u985E\u578B\u5B9A\u7FA9","\u627E\u4E0D\u5230 '{0}' \u7684\u4EFB\u4F55\u985E\u578B\u5B9A\u7FA9","\u627E\u4E0D\u5230\u4EFB\u4F55\u985E\u578B\u5B9A\u7FA9","\u79FB\u81F3\u985E\u578B\u5B9A\u7FA9","\u524D\u5F80\u985E\u578B\u5B9A\u7FA9(&&T)","\u9810\u89BD\u985E\u578B\u5B9A\u7FA9","\u5BE6\u4F5C","\u627E\u4E0D\u5230 '{0}' \u7684\u4EFB\u4F55\u5BE6\u4F5C","\u627E\u4E0D\u5230\u4EFB\u4F55\u5BE6\u4F5C","\u524D\u5F80\u5BE6\u4F5C","\u524D\u5F80\u5BE6\u4F5C(&&I)","\u67E5\u770B\u5BE6\u4F5C",'\u672A\u627E\u5230 "{0}" \u7684\u53C3\u8003',"\u672A\u627E\u5230\u53C3\u8003","\u524D\u5F80\u53C3\u8003","\u524D\u5F80\u53C3\u8003(&&R)","\u53C3\u8003","\u9810\u89BD\u53C3\u8003","\u53C3\u8003","\u524D\u5F80\u4EFB\u4F55\u7B26\u865F","\u4F4D\u7F6E","'{0}' \u6C92\u6709\u7D50\u679C","\u53C3\u8003"],"vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition":["\u6309\u4E00\u4E0B\u4EE5\u986F\u793A {0} \u9805\u5B9A\u7FA9\u3002"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesController":["\u662F\u5426\u986F\u793A\u53C3\u8003\u7784\u6838\uFF0C\u4F8B\u5982\u300C\u7784\u6838\u53C3\u8003\u300D\u6216\u300C\u7784\u6838\u5B9A\u7FA9\u300D","\u6B63\u5728\u8F09\u5165...","{0} ({1})"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesTree":["{0} \u500B\u53C3\u8003","{0} \u500B\u53C3\u8003","\u53C3\u8003"],"vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget":["\u7121\u6CD5\u9810\u89BD","\u67E5\u7121\u7D50\u679C","\u53C3\u8003"],"vs/editor/contrib/gotoSymbol/browser/referencesModel":["\u5728\u8CC7\u6599\u884C {2} \u884C {1} \u7684 {0} \u4E2D","\u5728\u8CC7\u6599\u884C {3} \u884C {2} \u7684 {1} \u7684 {0} \u4E2D","1 \u500B\u7B26\u865F\u4F4D\u65BC {0}, \u5B8C\u6574\u8DEF\u5F91 {1}","{0} \u500B\u7B26\u865F\u4F4D\u65BC {1}, \u5B8C\u6574\u8DEF\u5F91 {2}","\u627E\u4E0D\u5230\u7D50\u679C","\u5728 {0} \u4E2D\u627E\u5230 1 \u500B\u7B26\u865F","\u5728 {1} \u4E2D\u627E\u5230 {0} \u500B\u7B26\u865F","\u5728 {1} \u500B\u6A94\u6848\u4E2D\u627E\u5230 {0} \u500B\u7B26\u865F"],"vs/editor/contrib/gotoSymbol/browser/symbolNavigation":["\u662F\u5426\u6709\u53EA\u80FD\u900F\u904E\u9375\u76E4\u700F\u89BD\u7684\u7B26\u865F\u4F4D\u7F6E\u3002","{1} \u7684\u7B26\u865F {0}\uFF0C{2} \u70BA\u4E0B\u4E00\u500B","{1} \u7684\u7B26\u865F {0}"],"vs/editor/contrib/hover/browser/hover":["\u986F\u793A\u6216\u805A\u7126\u66AB\u7559","\u986F\u793A\u5B9A\u7FA9\u9810\u89BD\u61F8\u505C","\u5411\u4E0A\u6372\u52D5\u66AB\u7559","\u5411\u4E0B\u6372\u52D5\u66AB\u7559","\u5411\u5DE6\u6372\u52D5\u66AB\u7559","\u5411\u53F3\u6372\u52D5\u66AB\u7559","\u4E0A\u4E00\u9801\u66AB\u7559","\u4E0B\u4E00\u9801\u66AB\u7559","\u79FB\u81F3\u4E0A\u65B9\u66AB\u7559","\u79FB\u81F3\u4E0B\u65B9\u66AB\u7559"],"vs/editor/contrib/hover/browser/markdownHoverParticipant":["\u6B63\u5728\u8F09\u5165...","\u7531\u65BC\u6548\u80FD\u539F\u56E0\uFF0C\u5DF2\u66AB\u505C\u8F49\u8B6F\u3002\u9019\u53EF\u900F\u904E `editor.stopRenderingLineAfter` \u9032\u884C\u8A2D\u5B9A\u3002","\u56E0\u6548\u80FD\u7684\u7DE3\u6545\uFF0C\u5DF2\u8DF3\u904E\u5C07\u9577\u7684\u884C Token \u5316\u3002\u60A8\u53EF\u900F\u904E `editor.maxTokenizationLineLength` \u8A2D\u5B9A\u3002"],"vs/editor/contrib/hover/browser/markerHoverParticipant":["\u6AA2\u8996\u554F\u984C","\u6C92\u6709\u53EF\u7528\u7684\u5FEB\u901F\u4FEE\u6B63","\u6B63\u5728\u6AA2\u67E5\u5FEB\u901F\u4FEE\u6B63...","\u6C92\u6709\u53EF\u7528\u7684\u5FEB\u901F\u4FEE\u6B63","\u5FEB\u901F\u4FEE\u5FA9..."],"vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace":["\u4EE5\u4E0A\u4E00\u500B\u503C\u53D6\u4EE3","\u4EE5\u4E0B\u4E00\u500B\u503C\u53D6\u4EE3"],"vs/editor/contrib/indentation/browser/indentation":["\u5C07\u7E2E\u6392\u8F49\u63DB\u6210\u7A7A\u683C","\u5C07\u7E2E\u6392\u8F49\u63DB\u6210\u5B9A\u4F4D\u9EDE","\u5DF2\u8A2D\u5B9A\u7684\u5B9A\u4F4D\u9EDE\u5927\u5C0F","\u9810\u8A2D\u7D22\u5F15\u6A19\u7C64\u5927\u5C0F","\u76EE\u524D\u7684\u7D22\u5F15\u6A19\u7C64\u5927\u5C0F","\u9078\u53D6\u76EE\u524D\u6A94\u6848\u7684\u5B9A\u4F4D\u9EDE\u5927\u5C0F","\u4F7F\u7528 Tab \u9032\u884C\u7E2E\u6392","\u4F7F\u7528\u7A7A\u683C\u9375\u9032\u884C\u7E2E\u6392","\u8B8A\u66F4\u7D22\u5F15\u6A19\u7C64\u986F\u793A\u5927\u5C0F","\u5075\u6E2C\u5167\u5BB9\u4E2D\u7684\u7E2E\u6392","\u91CD\u65B0\u5C07\u884C\u7E2E\u6392","\u91CD\u65B0\u5C07\u9078\u53D6\u7684\u884C\u7E2E\u6392"],"vs/editor/contrib/inlayHints/browser/inlayHintsHover":["\u6309\u5169\u4E0B\u4EE5\u63D2\u5165","cmd + \u6309\u4E00\u4E0B","ctrl + \u6309\u4E00\u4E0B","\u9078\u9805 + \u6309\u4E00\u4E0B","alt + \u6309\u4E00\u4E0B","\u524D\u5F80 [\u5B9A\u7FA9] ({0})\uFF0C\u6309\u4E00\u4E0B\u6ED1\u9F20\u53F3\u9375\u4EE5\u4E86\u89E3\u66F4\u591A","\u79FB\u81F3\u5B9A\u7FA9 ({0})","\u57F7\u884C\u547D\u4EE4"],"vs/editor/contrib/inlineCompletions/browser/commands":["\u986F\u793A\u4E0B\u4E00\u500B\u5167\u5D4C\u5EFA\u8B70","\u986F\u793A\u4E0A\u4E00\u500B\u5167\u5D4C\u5EFA\u8B70","\u89F8\u767C\u5167\u5D4C\u5EFA\u8B70","\u63A5\u53D7\u4E0B\u4E00\u500B\u5167\u5D4C\u5EFA\u8B70\u5B57\u7D44","\u63A5\u53D7\u5B57\u7D44","\u63A5\u53D7\u4E0B\u4E00\u500B\u5167\u5D4C\u5EFA\u8B70\u884C","\u63A5\u53D7\u884C","\u63A5\u53D7\u5167\u5D4C\u5EFA\u8B70","\u63A5\u53D7","\u96B1\u85CF\u5167\u5D4C\u5EFA\u8B70","\u6C38\u9060\u986F\u793A\u5DE5\u5177\u5217"],"vs/editor/contrib/inlineCompletions/browser/hoverParticipant":["\u5EFA\u8B70:"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys":["\u662F\u5426\u986F\u793A\u5167\u5D4C\u5EFA\u8B70","\u5167\u5D4C\u5EFA\u8B70\u662F\u5426\u4EE5\u7A7A\u767D\u5B57\u5143\u958B\u982D","\u5167\u5D4C\u5EFA\u8B70\u7684\u958B\u982D\u662F\u5426\u70BA\u7A7A\u767D\uFF0C\u4E14\u6BD4 Tab \u80FD\u63D2\u5165\u7684\u5B57\u5143\u8981\u5C0F","\u662F\u5426\u61C9\u96B1\u85CF\u76EE\u524D\u5EFA\u8B70\u7684\u5176\u4ED6\u5EFA\u8B70"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController":["\u5728\u53EF\u5B58\u53D6\u6AA2\u8996\u4E2D\u6AA2\u67E5\u6B64\u9805\u76EE ({0})"],"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget":["[\u986F\u793A\u4E0B\u4E00\u500B\u53C3\u6578\u63D0\u793A] \u7684\u5716\u793A\u3002","[\u986F\u793A\u4E0A\u4E00\u500B\u53C3\u6578\u63D0\u793A] \u7684\u5716\u793A\u3002","{0} ({1})","\u4E0A\u4E00\u6B65","\u4E0B\u4E00\u6B65"],"vs/editor/contrib/lineSelection/browser/lineSelection":["\u5C55\u958B\u7DDA\u689D\u9078\u53D6\u7BC4\u570D"],"vs/editor/contrib/linesOperations/browser/linesOperations":["\u5C07\u884C\u5411\u4E0A\u8907\u88FD","\u5C07\u884C\u5411\u4E0A\u8907\u88FD(&&C)","\u5C07\u884C\u5411\u4E0B\u8907\u88FD","\u5C07\u884C\u5411\u4E0B\u8907\u88FD(&&P)","\u91CD\u8907\u9078\u53D6\u9805\u76EE","\u91CD\u8907\u9078\u53D6\u9805\u76EE(&&D)","\u4E0A\u79FB\u4E00\u884C","\u4E0A\u79FB\u4E00\u884C(&&V)","\u4E0B\u79FB\u4E00\u884C","\u4E0B\u79FB\u4E00\u884C(&&L)","\u905E\u589E\u6392\u5E8F\u884C","\u905E\u6E1B\u6392\u5E8F\u884C","\u522A\u9664\u91CD\u8907\u7684\u884C","\u4FEE\u526A\u5C3E\u7AEF\u7A7A\u767D","\u522A\u9664\u884C","\u7E2E\u6392\u884C","\u51F8\u6392\u884C","\u5728\u4E0A\u65B9\u63D2\u5165\u884C","\u5728\u4E0B\u65B9\u63D2\u5165\u884C","\u5DE6\u908A\u5168\u90E8\u522A\u9664","\u522A\u9664\u6240\u6709\u53F3\u65B9\u9805\u76EE","\u9023\u63A5\u7DDA","\u8F49\u7F6E\u6E38\u6A19\u5468\u570D\u7684\u5B57\u5143\u6578","\u8F49\u63DB\u5230\u5927\u5BEB","\u8F49\u63DB\u5230\u5C0F\u5BEB","\u8F49\u63DB\u70BA\u5B57\u9996\u5927\u5BEB","\u8F49\u63DB\u70BA\u5E95\u7DDA\u9023\u63A5\u5B57","\u8F49\u63DB\u70BA Camel \u6848\u4F8B","\u8F49\u63DB\u6210 Kebab Case"],"vs/editor/contrib/linkedEditing/browser/linkedEditing":["\u958B\u59CB\u9023\u7D50\u7684\u7DE8\u8F2F","\u7576\u7DE8\u8F2F\u5668\u81EA\u52D5\u91CD\u65B0\u547D\u540D\u985E\u578B\u6642\u7684\u80CC\u666F\u8272\u5F69\u3002"],"vs/editor/contrib/links/browser/links":["\u56E0\u70BA\u6B64\u9023\u7D50\u7684\u683C\u5F0F\u4E0D\u6B63\u78BA\uFF0C\u6240\u4EE5\u7121\u6CD5\u958B\u555F: {0}","\u56E0\u70BA\u6B64\u9023\u7D50\u76EE\u6A19\u907A\u5931\uFF0C\u6240\u4EE5\u7121\u6CD5\u958B\u555F\u3002","\u57F7\u884C\u547D\u4EE4","\u8FFD\u8E64\u9023\u7D50","cmd + \u6309\u4E00\u4E0B","ctrl + \u6309\u4E00\u4E0B","\u9078\u9805 + \u6309\u4E00\u4E0B","alt + \u6309\u4E00\u4E0B","\u57F7\u884C\u547D\u4EE4 {0}","\u958B\u555F\u9023\u7D50"],"vs/editor/contrib/message/browser/messageController":["\u7DE8\u8F2F\u5668\u76EE\u524D\u662F\u5426\u6B63\u5728\u986F\u793A\u5167\u5D4C\u8A0A\u606F"],"vs/editor/contrib/multicursor/browser/multicursor":["\u65B0\u589E\u7684\u8CC7\u6599\u6307\u6A19: {0}","\u65B0\u589E\u7684\u8CC7\u6599\u6307\u6A19: {0}","\u5728\u4E0A\u65B9\u52A0\u5165\u6E38\u6A19","\u5728\u4E0A\u65B9\u65B0\u589E\u6E38\u6A19(&&A)","\u5728\u4E0B\u65B9\u52A0\u5165\u6E38\u6A19","\u5728\u4E0B\u65B9\u65B0\u589E\u6E38\u6A19(&&D)","\u5728\u884C\u5C3E\u65B0\u589E\u6E38\u6A19","\u5728\u884C\u5C3E\u65B0\u589E\u6E38\u6A19(&&U)","\u5C07\u6E38\u6A19\u65B0\u589E\u5230\u5E95\u90E8 ","\u5C07\u6E38\u6A19\u65B0\u589E\u5230\u9802\u90E8","\u5C07\u9078\u53D6\u9805\u76EE\u52A0\u5165\u4E0B\u4E00\u500B\u627E\u5230\u7684\u76F8\u7B26\u9805","\u65B0\u589E\u4E0B\u4E00\u500B\u9805\u76EE(&&N)","\u5C07\u9078\u53D6\u9805\u76EE\u52A0\u5165\u524D\u4E00\u500B\u627E\u5230\u7684\u76F8\u7B26\u9805\u4E2D","\u65B0\u589E\u4E0A\u4E00\u500B\u9805\u76EE(&&R)","\u5C07\u6700\u5F8C\u4E00\u500B\u9078\u64C7\u9805\u76EE\u79FB\u81F3\u4E0B\u4E00\u500B\u627E\u5230\u7684\u76F8\u7B26\u9805","\u5C07\u6700\u5F8C\u4E00\u500B\u9078\u64C7\u9805\u76EE\u79FB\u81F3\u524D\u4E00\u500B\u627E\u5230\u7684\u76F8\u7B26\u9805","\u9078\u53D6\u6240\u6709\u627E\u5230\u7684\u76F8\u7B26\u9805\u76EE","\u9078\u53D6\u6240\u6709\u9805\u76EE(&&O)","\u8B8A\u66F4\u6240\u6709\u767C\u751F\u6B21\u6578","\u805A\u7126\u4E0B\u4E00\u500B\u6E38\u6A19","\u805A\u7126\u4E0B\u4E00\u500B\u6E38\u6A19","\u805A\u7126\u4E0A\u4E00\u500B\u6E38\u6A19","\u805A\u7126\u524D\u4E00\u500B\u6E38\u6A19"],"vs/editor/contrib/parameterHints/browser/parameterHints":["\u89F8\u767C\u53C3\u6578\u63D0\u793A"],"vs/editor/contrib/parameterHints/browser/parameterHintsWidget":["[\u986F\u793A\u4E0B\u4E00\u500B\u53C3\u6578\u63D0\u793A] \u7684\u5716\u793A\u3002","[\u986F\u793A\u4E0A\u4E00\u500B\u53C3\u6578\u63D0\u793A] \u7684\u5716\u793A\u3002","{0}\uFF0C\u63D0\u793A","\u53C3\u6578\u63D0\u793A\u4E2D\u4F7F\u7528\u4E2D\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69\u3002"],"vs/editor/contrib/peekView/browser/peekView":["\u76EE\u524D\u7684\u7A0B\u5F0F\u78BC\u7DE8\u8F2F\u5668\u662F\u5426\u5167\u5D4C\u65BC\u7784\u6838\u5167","\u95DC\u9589","\u9810\u89BD\u6AA2\u8996\u6A19\u984C\u5340\u57DF\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u6A19\u984C\u7684\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u6A19\u984C\u8CC7\u8A0A\u7684\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u4E4B\u6846\u7DDA\u8207\u7BAD\u982D\u7684\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u4E2D\u7D50\u679C\u6E05\u55AE\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u7D50\u679C\u5217\u8868\u4E2D\u884C\u7BC0\u9EDE\u7684\u524D\u666F\u8272\u5F69","\u9810\u89BD\u6AA2\u8996\u7D50\u679C\u5217\u8868\u4E2D\u6A94\u6848\u7BC0\u9EDE\u7684\u524D\u666F\u8272\u5F69","\u5728\u9810\u89BD\u6AA2\u8996\u4E4B\u7D50\u679C\u6E05\u55AE\u4E2D\u9078\u53D6\u9805\u76EE\u6642\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5728\u9810\u89BD\u6AA2\u8996\u4E4B\u7D50\u679C\u6E05\u55AE\u4E2D\u9078\u53D6\u9805\u76EE\u6642\u7684\u524D\u666F\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u908A\u6846(\u542B\u884C\u865F\u6216\u5B57\u5F62\u5716\u793A)\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u4E2D\u9ECF\u6027\u6EFE\u52D5\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5728\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u4E2D\u6BD4\u5C0D\u6642\u7684\u53CD\u767D\u986F\u793A\u8272\u5F69\u3002","\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u4E2D\u6BD4\u5C0D\u6642\u7684\u53CD\u767D\u986F\u793A\u8272\u5F69\u3002","\u5728\u9810\u89BD\u6AA2\u8996\u7DE8\u8F2F\u5668\u4E2D\u6BD4\u5C0D\u6642\u7684\u53CD\u767D\u986F\u793A\u908A\u754C\u3002"],"vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess":["\u5148\u958B\u555F\u6587\u5B57\u7DE8\u8F2F\u5668\uFF0C\u524D\u5F80\u67D0\u4E00\u884C\u3002","\u524D\u5F80\u7B2C {0} \u884C\u7684\u7B2C {1} \u500B\u5B57\u5143\u3002","\u524D\u5F80\u7B2C {0} \u884C\u3002","\u76EE\u524D\u884C: {0}\uFF0C\u5B57\u5143: {1}\u3002\u8ACB\u9375\u5165\u4ECB\u65BC 1 \u5230 {2} \u4E4B\u9593\u884C\u865F\uFF0C\u5C0E\u89BD\u81F3\u8A72\u884C\u3002","\u76EE\u524D\u884C: {0}\uFF0C\u5B57\u5143: {1}\u3002\u8ACB\u9375\u5165\u8981\u5C0E\u89BD\u81F3\u7684\u884C\u865F\u3002"],"vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess":["\u82E5\u8981\u524D\u5F80\u7B26\u865F\uFF0C\u8ACB\u5148\u958B\u555F\u5305\u542B\u7B26\u865F\u8CC7\u8A0A\u7684\u6587\u5B57\u7DE8\u8F2F\u5668\u3002","\u4F7F\u7528\u4E2D\u7684\u6587\u5B57\u7DE8\u8F2F\u5668\u4E0D\u63D0\u4F9B\u7B26\u865F\u8CC7\u8A0A\u3002","\u6C92\u6709\u76F8\u7B26\u7684\u7DE8\u8F2F\u5668\u7B26\u865F","\u6C92\u6709\u7DE8\u8F2F\u5668\u7B26\u865F","\u958B\u81F3\u5074\u908A","\u958B\u555F\u5230\u5E95\u90E8","\u7B26\u865F ({0})","\u5C6C\u6027 ({0})","\u65B9\u6CD5 ({0})","\u51FD\u5F0F ({0})","\u5EFA\u69CB\u51FD\u5F0F ({0})","\u8B8A\u6578 ({0})","\u985E\u5225 ({0})","\u7D50\u69CB ({0})","\u4E8B\u4EF6 ({0})","\u904B\u7B97\u5B50 ({0})","\u4ECB\u9762 ({0})","\u547D\u540D\u7A7A\u9593 ({0})","\u5957\u4EF6 ({0})","\u578B\u5225\u53C3\u6578 ({0})","\u6A21\u7D44 ({0})","\u5C6C\u6027 ({0})","\u5217\u8209 ({0})","\u5217\u8209\u6210\u54E1 ({0})","\u5B57\u4E32 ({0})","\u6A94\u6848 ({0})","\u9663\u5217 ({0})","\u6578\u5B57 ({0})","\u5E03\u6797\u503C ({0})","\u7269\u4EF6 ({0})","\u7D22\u5F15\u9375 ({0})","\u6B04\u4F4D ({0})","\u5E38\u6578 ({0})"],"vs/editor/contrib/readOnlyMessage/browser/contribution":["\u7121\u6CD5\u5728\u552F\u8B80\u8F38\u5165\u4E2D\u7DE8\u8F2F","\u7121\u6CD5\u5728\u552F\u8B80\u7DE8\u8F2F\u5668\u4E2D\u7DE8\u8F2F"],"vs/editor/contrib/rename/browser/rename":["\u6C92\u6709\u7D50\u679C\u3002","\u89E3\u6790\u91CD\u65B0\u547D\u540D\u4F4D\u7F6E\u6642\u767C\u751F\u672A\u77E5\u7684\u932F\u8AA4","\u6B63\u5728\u5C07 '{0}' \u91CD\u65B0\u547D\u540D\u70BA '{1}'","\u6B63\u5728\u5C07 {0} \u91CD\u65B0\u547D\u540D\u70BA {1}","\u5DF2\u6210\u529F\u5C07 '{0}' \u91CD\u65B0\u547D\u540D\u70BA '{1}'\u3002\u6458\u8981: {2}","\u91CD\u547D\u540D\u7121\u6CD5\u5957\u7528\u7DE8\u8F2F","\u91CD\u65B0\u547D\u540D\u7121\u6CD5\u8A08\u7B97\u7DE8\u8F2F","\u91CD\u65B0\u547D\u540D\u7B26\u865F","\u555F\u7528/\u505C\u7528\u91CD\u65B0\u547D\u540D\u524D\u5148\u9810\u89BD\u8B8A\u66F4\u7684\u529F\u80FD"],"vs/editor/contrib/rename/browser/renameInputField":["\u662F\u5426\u986F\u793A\u91CD\u65B0\u547D\u540D\u8F38\u5165\u5C0F\u5DE5\u5177","\u70BA\u8F38\u5165\u91CD\u65B0\u547D\u540D\u3002\u8ACB\u9375\u5165\u65B0\u540D\u7A31\uFF0C\u7136\u5F8C\u6309 Enter \u4EE5\u63D0\u4EA4\u3002","\u6309 {0} \u9032\u884C\u91CD\u65B0\u547D\u540D\uFF0C\u6309 {1} \u9032\u884C\u9810\u89BD"],"vs/editor/contrib/smartSelect/browser/smartSelect":["\u5C55\u958B\u9078\u53D6\u9805\u76EE","\u5C55\u958B\u9078\u53D6\u7BC4\u570D(&&E)","\u7E2E\u5C0F\u9078\u53D6\u9805\u76EE","\u58D3\u7E2E\u9078\u53D6\u7BC4\u570D(&&S)"],"vs/editor/contrib/snippet/browser/snippetController2":["\u7DE8\u8F2F\u5668\u76EE\u524D\u662F\u5426\u5728\u7A0B\u5F0F\u78BC\u7247\u6BB5\u6A21\u5F0F\u4E2D","\u5728\u7A0B\u5F0F\u78BC\u7247\u6BB5\u6A21\u5F0F\u4E2D\u662F\u5426\u6709\u4E0B\u4E00\u500B\u5B9A\u4F4D\u505C\u99D0\u9EDE","\u5728\u7A0B\u5F0F\u78BC\u7247\u6BB5\u6A21\u5F0F\u4E2D\u662F\u5426\u6709\u4E0A\u4E00\u500B\u5B9A\u4F4D\u505C\u99D0\u9EDE","\u79FB\u81F3\u4E0B\u4E00\u500B\u9810\u7559\u4F4D\u7F6E..."],"vs/editor/contrib/snippet/browser/snippetVariables":["\u661F\u671F\u5929","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D","\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D","\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708","1\u6708","2\u6708","3 \u6708","4\u6708","\u4E94\u6708","6\u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"vs/editor/contrib/stickyScroll/browser/stickyScrollActions":["\u5207\u63DB\u81EA\u9ECF\u6372\u52D5","\u5207\u63DB\u81EA\u9ECF\u6372\u52D5(&&T)","\u81EA\u9ECF\u6372\u52D5","\u81EA\u9ECF\u6372\u52D5(&&S)","\u805A\u7126\u81EA\u9ECF\u6372\u52D5","\u7126\u9EDE\u81EA\u9ECF\u6372\u52D5(&&F)","\u9078\u53D6\u4E0B\u4E00\u500B\u81EA\u9ECF\u6372\u52D5\u884C","\u9078\u53D6\u4E0A\u4E00\u500B\u81EA\u9ECF\u6372\u52D5\u884C","\u79FB\u81F3\u805A\u7126\u7684\u81EA\u9ECF\u6372\u52D5\u884C","\u9078\u53D6\u7DE8\u8F2F\u5668"],"vs/editor/contrib/suggest/browser/suggest":["\u662F\u5426\u805A\u7126\u4EFB\u4F55\u5EFA\u8B70","\u662F\u5426\u986F\u793A\u5EFA\u8B70\u8A73\u7D30\u8CC7\u6599","\u662F\u5426\u6709\u591A\u500B\u5EFA\u8B70\u53EF\u4EE5\u6311\u9078","\u63D2\u5165\u76EE\u524D\u7684\u5EFA\u8B70\u6703\u7522\u751F\u8B8A\u66F4\uFF0C\u6216\u5DF2\u9375\u5165\u6240\u6709\u9805\u76EE","\u662F\u5426\u5728\u6309\u4E0B Enter \u6642\u63D2\u5165\u5EFA\u8B70","\u76EE\u524D\u7684\u5EFA\u8B70\u662F\u5426\u6709\u63D2\u5165\u548C\u53D6\u4EE3\u884C\u70BA","\u9810\u8A2D\u884C\u70BA\u662F\u63D2\u5165\u6216\u53D6\u4EE3","\u76EE\u524D\u7684\u5EFA\u8B70\u662F\u5426\u652F\u63F4\u89E3\u6C7A\u66F4\u591A\u8A73\u7D30\u8CC7\u6599"],"vs/editor/contrib/suggest/browser/suggestController":["\u63A5\u53D7 \u2018{0}\u2019 \u9032\u884C\u4E86\u5176\u4ED6 {1} \u9805\u7DE8\u8F2F","\u89F8\u767C\u5EFA\u8B70","\u63D2\u5165","\u63D2\u5165","\u53D6\u4EE3","\u53D6\u4EE3","\u63D2\u5165","\u986F\u793A\u66F4\u5C11","\u986F\u793A\u66F4\u591A","\u91CD\u8A2D\u5EFA\u8B70\u5C0F\u5DE5\u5177\u5927\u5C0F"],"vs/editor/contrib/suggest/browser/suggestWidget":["\u5EFA\u8B70\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u7684\u908A\u754C\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u7684\u524D\u666F\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u6240\u9078\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u6240\u9078\u9805\u76EE\u7684\u5716\u793A\u524D\u666F\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u6240\u9078\u9805\u76EE\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u76F8\u7B26\u9192\u76EE\u63D0\u793A\u7684\u8272\u5F69\u3002","\u7576\u9805\u76EE\u6210\u70BA\u7126\u9EDE\u6642\uFF0C\u76F8\u7B26\u9805\u76EE\u7684\u8272\u5F69\u5728\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u6703\u9192\u76EE\u986F\u793A\u3002","\u5EFA\u8B70\u5C0F\u5DE5\u5177\u72C0\u614B\u7684\u524D\u666F\u8272\u5F69\u3002","\u6B63\u5728\u8F09\u5165...","\u7121\u5EFA\u8B70\u3002","\u5EFA\u8B70","{0} {1}\uFF0C{2}","{0} {1}","{0}\uFF0C{1}","{0}\uFF0C\u6587\u4EF6: {1}"],"vs/editor/contrib/suggest/browser/suggestWidgetDetails":["\u95DC\u9589","\u6B63\u5728\u8F09\u5165..."],"vs/editor/contrib/suggest/browser/suggestWidgetRenderer":["\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D [\u66F4\u591A\u8A73\u7D30\u8CC7\u8A0A] \u7684\u5716\u793A\u3002","\u95B1\u8B80\u66F4\u591A"],"vs/editor/contrib/suggest/browser/suggestWidgetStatus":["{0} ({1})"],"vs/editor/contrib/symbolIcons/browser/symbolIcons":["\u9663\u5217\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5E03\u6797\u503C\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u985E\u5225\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u8272\u5F69\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5E38\u6578\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5EFA\u69CB\u51FD\u5F0F\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5217\u8209\u503C\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5217\u8209\u503C\u6210\u54E1\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u4E8B\u4EF6\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u6B04\u4F4D\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u6A94\u6848\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u8CC7\u6599\u593E\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u51FD\u5F0F\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u4ECB\u9762\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u7D22\u5F15\u9375\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u95DC\u9375\u5B57\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u65B9\u6CD5\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u6A21\u7D44\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u547D\u540D\u7A7A\u9593\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","Null \u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u6578\u5B57\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u7269\u4EF6\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u904B\u7B97\u5B50\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5957\u4EF6\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5C6C\u6027\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u53C3\u8003\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u7A0B\u5F0F\u78BC\u7247\u6BB5\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u5B57\u4E32\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u7D50\u69CB\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u6587\u5B57\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u578B\u5225\u53C3\u6578\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u55AE\u4F4D\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002","\u8B8A\u6578\u7B26\u865F\u7684\u524D\u666F\u8272\u5F69\u3002\u9019\u4E9B\u7B26\u865F\u6703\u51FA\u73FE\u5728\u5927\u7DB1\u3001\u968E\u5C64\u9023\u7D50\u548C\u5EFA\u8B70\u5C0F\u5DE5\u5177\u4E2D\u3002"],"vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode":["\u5207\u63DB TAB \u9375\u79FB\u52D5\u7126\u9EDE","\u6309 Tab \u73FE\u5728\u6703\u5C07\u7126\u9EDE\u79FB\u81F3\u4E0B\u4E00\u500B\u53EF\u8A2D\u5B9A\u7126\u9EDE\u7684\u5143\u7D20\u3002","\u6309 Tab \u73FE\u5728\u6703\u63D2\u5165\u5B9A\u4F4D\u5B57\u5143\u3002"],"vs/editor/contrib/tokenization/browser/tokenization":["\u958B\u767C\u4EBA\u54E1: \u5F37\u5236\u91CD\u65B0\u7F6E\u653E"],"vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter":["\u5EF6\u4F38\u6A21\u7D44\u7DE8\u8F2F\u5668\u4E2D\u986F\u793A\u542B\u6709\u8B66\u544A\u8A0A\u606F\u7684\u5716\u793A\u3002","\u6B64\u6587\u4EF6\u5305\u542B\u8A31\u591A\u975E\u57FA\u672C ASCII Unicode \u5B57\u5143","\u6B64\u6587\u4EF6\u5305\u542B\u8A31\u591A\u4E0D\u660E\u78BA\u7684 Unicode \u5B57\u5143","\u6B64\u6587\u4EF6\u5305\u542B\u8A31\u591A\u96B1\u85CF\u7684 Unicode \u5B57\u5143","\u5B57\u5143 {0} \u53EF\u80FD\u8207 ASCII \u5B57\u5143 {1} \u6DF7\u6DC6\uFF0C\u9019\u5728\u539F\u59CB\u7A0B\u5F0F\u78BC\u4E2D\u6BD4\u8F03\u5E38\u898B\u3002","\u5B57\u5143 {0} \u53EF\u80FD\u8207\u5B57\u5143 {1} \u6DF7\u6DC6\uFF0C\u9019\u5728\u539F\u59CB\u7A0B\u5F0F\u78BC\u4E2D\u6BD4\u8F03\u5E38\u898B\u3002","\u5B57\u5143 {0} \u96B1\u85CF\u3002","\u5B57\u5143 {0} \u4E0D\u662F\u57FA\u672C\u7684 ASCII \u5B57\u5143\u3002","\u8ABF\u6574\u8A2D\u5B9A","\u505C\u7528\u8A3B\u89E3\u4E2D\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u8A3B\u89E3\u4E2D\u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u5B57\u4E32\u4E2D\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u5B57\u4E32\u4E2D\u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u4E0D\u660E\u78BA\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u4E0D\u660E\u78BA\u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u96B1\u85CF\u9192\u76EE\u63D0\u793A","\u505C\u7528\u96B1\u85CF\u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A","\u505C\u7528\u975E ASCII \u9192\u76EE\u63D0\u793A","\u505C\u7528\u975E\u57FA\u672C ASCII \u5B57\u5143\u7684\u9192\u76EE\u63D0\u793A","\u986F\u793A\u6392\u9664\u9078\u9805","\u6392\u9664 {0} (\u96B1\u85CF\u5B57\u5143) \u7684\u53CD\u767D\u986F\u793A","\u5C07 {0} \u6392\u9664\u5728\u5DF2\u9192\u76EE\u63D0\u793A","\u5141\u8A31\u5728\u8A9E\u8A00\u300C{0}\u300D\u4E2D\u8F03\u5E38\u7528\u7684 Unicode \u5B57\u5143\u3002","\u8A2D\u5B9A Unicode \u9192\u76EE\u63D0\u793A\u9078\u9805"],"vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators":["\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143","\u5075\u6E2C\u5230\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143","\u6A94\u6848 '{0}' \u5305\u542B\u4E00\u6216\u591A\u500B\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143\uFF0C\u4F8B\u5982\u884C\u5206\u9694\u7B26\u865F (LS) \u6216\u6BB5\u843D\u5206\u9694\u7B26\u865F (PS)\u3002\r\n\r\n\u5EFA\u8B70\u60A8\u5C07\u5176\u5F9E\u6A94\u6848\u4E2D\u79FB\u9664\u3002\u9019\u53EF\u4EE5\u900F\u904E `editor.unusualLineTerminators` \u9032\u884C\u8A2D\u5B9A\u3002","\u79FB\u9664\u7570\u5E38\u7684\u884C\u7D50\u675F\u5B57\u5143(&&R)","\u5FFD\u7565"],"vs/editor/contrib/wordHighlighter/browser/highlightDecorations":["\u8B80\u53D6\u6B0A\u9650\u671F\u9593 (\u5982\u8B80\u53D6\u8B8A\u6578) \u7B26\u865F\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5BEB\u5165\u6B0A\u9650\u671F\u9593 (\u5982\u5BEB\u5165\u8B8A\u6578) \u7B26\u865F\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7B26\u865F\u6587\u5B57\u51FA\u73FE\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u8B80\u53D6\u5B58\u53D6\u671F\u9593 (\u4F8B\u5982\u8B80\u53D6\u8B8A\u6578\u6642) \u7B26\u865F\u7684\u908A\u6846\u984F\u8272\u3002","\u5BEB\u5165\u5B58\u53D6\u671F\u9593 (\u4F8B\u5982\u5BEB\u5165\u8B8A\u6578\u6642) \u7B26\u865F\u7684\u908A\u6846\u984F\u8272\u3002 ","\u7B26\u865F\u6587\u5B57\u51FA\u73FE\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7B26\u865F\u9192\u76EE\u63D0\u793A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5BEB\u5165\u6B0A\u9650\u7B26\u865F\u9192\u76EE\u63D0\u793A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7B26\u865F\u6587\u5B57\u51FA\u73FE\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002"],"vs/editor/contrib/wordHighlighter/browser/wordHighlighter":["\u79FB\u81F3\u4E0B\u4E00\u500B\u53CD\u767D\u7B26\u865F","\u79FB\u81F3\u4E0A\u4E00\u500B\u53CD\u767D\u7B26\u865F","\u89F8\u767C\u7B26\u865F\u53CD\u767D\u986F\u793A"],"vs/editor/contrib/wordOperations/browser/wordOperations":["\u522A\u9664\u5B57\u7D44"],"vs/platform/action/common/actionCommonCategories":["\u6AA2\u8996","\u8AAA\u660E","\u6E2C\u8A66","\u6A94\u6848","\u559C\u597D\u8A2D\u5B9A","\u958B\u767C\u4EBA\u54E1"],"vs/platform/actionWidget/browser/actionList":["{0} \u4EE5\u5957\u7528\uFF0C{1} \u4EE5\u9810\u89BD","{0} \u4EE5\u7533\u8ACB","{0}\uFF0C\u505C\u7528\u539F\u56E0: {1}","\u52D5\u4F5C\u5C0F\u5DE5\u5177"],"vs/platform/actionWidget/browser/actionWidget":["\u52D5\u4F5C\u5217\u4E2D\u5207\u63DB\u52D5\u4F5C\u9805\u76EE\u7684\u80CC\u666F\u8272\u5F69\u3002","\u662F\u5426\u986F\u793A\u52D5\u4F5C\u5C0F\u5DE5\u5177\u6E05\u55AE","\u96B1\u85CF\u52D5\u4F5C\u5C0F\u5DE5\u5177","\u9078\u53D6\u4E0A\u4E00\u500B\u52D5\u4F5C","\u9078\u53D6\u4E0B\u4E00\u500B\u52D5\u4F5C","\u63A5\u53D7\u9078\u53D6\u7684\u52D5\u4F5C","\u9810\u89BD\u9078\u53D6\u7684\u52D5\u4F5C"],"vs/platform/actions/browser/menuEntryActionViewItem":["{0} ({1})","{0} ({1})",`{0}\r +[{1}] {2}`],"vs/platform/actions/browser/toolbar":["\u96B1\u85CF","\u91CD\u8A2D\u529F\u80FD\u8868"],"vs/platform/actions/common/menuService":["\u96B1\u85CF '{0}'"],"vs/platform/audioCues/browser/audioCueService":["\u884C\u4E0A\u767C\u751F\u932F\u8AA4","\u884C\u4E0A\u7684\u8B66\u544A","\u884C\u4E0A\u7684\u647A\u758A\u5340\u57DF","\u884C\u4E0A\u7684\u4E2D\u65B7\u9EDE","\u884C\u4E0A\u7684\u5167\u5D4C\u5EFA\u8B70","\u7D42\u7AEF\u6A5F\u5FEB\u901F\u4FEE\u6B63","\u5728\u4E2D\u65B7\u9EDE\u505C\u6B62\u5075\u932F\u5DE5\u5177","\u884C\u4E0A\u6C92\u6709\u5D4C\u5165\u63D0\u793A","\u5DE5\u4F5C\u5B8C\u6210","\u5DE5\u4F5C\u5931\u6557","\u7D42\u7AEF\u6A5F\u547D\u4EE4\u5931\u6557","\u7D42\u7AEF\u9234","Notebook \u5132\u5B58\u683C\u5DF2\u5B8C\u6210","Notebook \u5132\u5B58\u683C\u5931\u6557","\u5DEE\u7570\u884C\u5DF2\u63D2\u5165","\u5DEE\u7570\u884C\u5DF2\u522A\u9664","\u5DEE\u7570\u884C\u5DF2\u4FEE\u6539","\u804A\u5929\u8981\u6C42\u5DF2\u50B3\u9001","\u804A\u5929\u56DE\u61C9\u5DF2\u63A5\u6536","\u804A\u5929\u56DE\u61C9\u64F1\u7F6E\u4E2D"],"vs/platform/configuration/common/configurationRegistry":["\u9810\u8A2D\u8A9E\u8A00\u7D44\u614B\u8986\u5BEB","\u8A2D\u5B9A\u8981\u91DD\u5C0D {0} \u8A9E\u8A00\u8986\u5BEB\u7684\u8A2D\u5B9A\u3002","\u8A2D\u5B9A\u8981\u91DD\u5C0D\u8A9E\u8A00\u8986\u5BEB\u7684\u7DE8\u8F2F\u5668\u8A2D\u5B9A\u3002","\u9019\u500B\u8A2D\u5B9A\u4E0D\u652F\u63F4\u4EE5\u8A9E\u8A00\u70BA\u6839\u64DA\u7684\u7D44\u614B\u3002","\u8A2D\u5B9A\u8981\u91DD\u5C0D\u8A9E\u8A00\u8986\u5BEB\u7684\u7DE8\u8F2F\u5668\u8A2D\u5B9A\u3002","\u9019\u500B\u8A2D\u5B9A\u4E0D\u652F\u63F4\u4EE5\u8A9E\u8A00\u70BA\u6839\u64DA\u7684\u7D44\u614B\u3002","\u7121\u6CD5\u8A3B\u518A\u7A7A\u767D\u5C6C\u6027","\u7121\u6CD5\u8A3B\u518A '{0}'\u3002\u9019\u7B26\u5408\u7528\u65BC\u63CF\u8FF0\u8A9E\u8A00\u5C08\u7528\u7DE8\u8F2F\u5668\u8A2D\u5B9A\u7684\u5C6C\u6027\u6A21\u5F0F '\\\\[.*\\\\]$'\u3002\u8ACB\u4F7F\u7528 'configurationDefaults' \u8CA2\u737B\u3002","\u7121\u6CD5\u8A3B\u518A '{0}'\u3002\u6B64\u5C6C\u6027\u5DF2\u7D93\u8A3B\u518A\u3002","\u7121\u6CD5\u8A3B\u518A '{0}'\u3002\u5DF2\u5411 {2} \u8A3B\u518A\u95DC\u806F\u7684\u539F\u5247 {1}\u3002"],"vs/platform/contextkey/browser/contextKeyService":["\u50B3\u56DE\u6709\u95DC\u5167\u5BB9\u7D22\u5F15\u9375\u8CC7\u8A0A\u7684\u547D\u4EE4"],"vs/platform/contextkey/common/contextkey":["\u7A7A\u7684\u5167\u5BB9\u7D22\u5F15\u9375\u904B\u7B97\u5F0F","\u60A8\u662F\u5426\u5FD8\u8A18\u64B0\u5BEB\u904B\u7B97\u5F0F? \u60A8\u4E5F\u53EF\u4EE5\u5206\u5225\u653E\u7F6E 'false' \u6216 'true'\uFF0C\u4EE5\u4E00\u5F8B\u8A55\u4F30\u70BA False \u6216 True\u3002","'not' \u5F8C\u70BA 'in'\u3002","\u53F3\u62EC\u5F27 ')'","\u672A\u9810\u671F\u7684\u6B0A\u6756","\u60A8\u662F\u5426\u5FD8\u8A18\u5728\u6B0A\u6756\u4E4B\u524D\u653E\u7F6E && \u6216 ||?","\u904B\u7B97\u5F0F\u672A\u9810\u671F\u7684\u7D50\u5C3E","\u60A8\u662F\u5426\u5FD8\u8A18\u653E\u7F6E\u5167\u5BB9\u91D1\u9470?",`\u9810\u671F: {0}\r +\u6536\u5230: '{1}'\u3002`],"vs/platform/contextkey/common/contextkeys":["\u4F5C\u696D\u7CFB\u7D71\u662F\u5426\u70BA macOS","\u4F5C\u696D\u7CFB\u7D71\u662F\u5426\u70BA Linux","\u4F5C\u696D\u7CFB\u7D71\u662F\u5426\u70BA Windows","\u5E73\u53F0\u662F\u5426\u70BA\u7DB2\u9801\u700F\u89BD\u5668","\u975E\u700F\u89BD\u5668\u5E73\u53F0\u4E0A\u7684\u4F5C\u696D\u7CFB\u7D71\u662F\u5426\u70BA macOS","\u4F5C\u696D\u7CFB\u7D71\u662F\u5426\u70BA iOS","\u5E73\u81FA\u662F\u5426\u70BA\u884C\u52D5\u7DB2\u9801\u700F\u89BD\u5668","VS Code \u7684\u54C1\u8CEA\u985E\u578B","\u9375\u76E4\u7126\u9EDE\u662F\u5426\u4F4D\u65BC\u8F38\u5165\u65B9\u584A\u5167"],"vs/platform/contextkey/common/scanner":["\u60A8\u662F\u6307 '{0}'?","\u60A8\u662F\u6307 {0} \u6216 {1}?","\u60A8\u662F\u6307 {0}\u3001{1} \u6216 {2}?","\u60A8\u662F\u5426\u5FD8\u8A18\u5DE6\u62EC\u5F27\u6216\u53F3\u62EC\u5F27?","\u60A8\u662F\u5426\u5FD8\u8A18\u9038\u51FA '/' (\u659C\u7DDA) \u5B57\u5143? \u5728\u53CD\u659C\u7DDA\u524D\u653E\u5169\u500B\u53CD\u659C\u7DDA\u4EE5\u9038\u51FA\uFF0C\u4F8B\u5982 '\\\\/'\u3002"],"vs/platform/history/browser/contextScopedHistoryWidget":["\u662F\u5426\u986F\u793A\u5EFA\u8B70"],"vs/platform/keybinding/common/abstractKeybindingService":["\u5DF2\u6309\u4E0B ({0})\u3002\u7B49\u5F85\u7B2C\u4E8C\u500B\u5957\u7D22\u9375...","({0}) \u5DF2\u6309\u4E0B\u3002\u6B63\u5728\u7B49\u5F85\u4E0B\u4E00\u500B\u5957\u7D22\u9375...","\u6309\u9375\u7D44\u5408 ({0}, {1}) \u4E0D\u662F\u547D\u4EE4\u3002","\u6309\u9375\u7D44\u5408 ({0}, {1}) \u4E0D\u662F\u547D\u4EE4\u3002"],"vs/platform/list/browser/listService":["\u5DE5\u4F5C\u53F0","\u5C0D\u61C9Windows\u548CLinux\u7684'Control'\u8207\u5C0D\u61C9 macOS \u7684'Command'\u3002","\u5C0D\u61C9Windows\u548CLinux\u7684'Alt'\u8207\u5C0D\u61C9macOS\u7684'Option'\u3002","\u900F\u904E\u6ED1\u9F20\u591A\u9078\uFF0C\u7528\u65BC\u5728\u6A39\u72C0\u76EE\u9304\u8207\u6E05\u55AE\u4E2D\u65B0\u589E\u9805\u76EE\u7684\u8F14\u52A9\u6309\u9375 (\u4F8B\u5982\u5728\u7E3D\u7BA1\u4E2D\u958B\u555F\u7DE8\u8F2F\u5668 \u53CA SCM \u6AA2\u8996)\u3002'\u5728\u5074\u908A\u958B\u555F' \u6ED1\u9F20\u624B\u52E2 (\u82E5\u652F\u63F4) \u5C07\u6703\u9069\u61C9\u4EE5\u907F\u514D\u548C\u591A\u9078\u8F14\u52A9\u6309\u9375\u885D\u7A81\u3002","\u63A7\u5236\u5982\u4F55\u4F7F\u7528\u6ED1\u9F20 (\u5982\u652F\u63F4\u6B64\u7528\u6CD5) \u958B\u555F\u6A39\u72C0\u76EE\u9304\u8207\u6E05\u55AE\u4E2D\u7684\u9805\u76EE\u3002\u82E5\u4E0D\u9069\u7528\uFF0C\u67D0\u4E9B\u6A39\u72C0\u76EE\u9304\u8207\u6E05\u55AE\u53EF\u80FD\u6703\u9078\u64C7\u5FFD\u7565\u6B64\u8A2D\u5B9A\u3002","\u63A7\u5236\u5728\u5DE5\u4F5C\u53F0\u4E2D\uFF0C\u6E05\u55AE\u8207\u6A39\u72C0\u7D50\u69CB\u662F\u5426\u652F\u63F4\u6C34\u5E73\u6372\u52D5\u3002\u8B66\u544A: \u958B\u555F\u6B64\u8A2D\u5B9A\u5C07\u6703\u5F71\u97FF\u6548\u80FD\u3002","\u63A7\u5236\u6309\u4E00\u4E0B\u6372\u8EF8\u662F\u5426\u9010\u9801\u6372\u52D5\u3002","\u63A7\u5236\u6A39\u72C0\u7D50\u69CB\u7E2E\u6392 (\u50CF\u7D20)\u3002","\u63A7\u5236\u6A39\u7CFB\u662F\u5426\u61C9\u8F49\u8B6F\u7E2E\u6392\u8F14\u52A9\u7DDA\u3002","\u63A7\u5236\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u662F\u5426\u5177\u6709\u5E73\u6ED1\u6372\u52D5\u3002","\u8981\u7528\u65BC\u6ED1\u9F20\u6EFE\u8F2A\u6372\u52D5\u4E8B\u4EF6 `deltaX` \u548C `deltaY` \u7684\u4E58\u6578\u3002","\u6309\u4E0B `Alt` \u6642\u7684\u6372\u52D5\u901F\u5EA6\u4E58\u6578\u3002","\u641C\u5C0B\u6642\u6703\u9192\u76EE\u63D0\u793A\u5143\u7D20\u3002\u9032\u4E00\u6B65\u7684\u5411\u4E0A\u548C\u5411\u4E0B\u700F\u89BD\u53EA\u6703\u5468\u904A\u5DF2\u9192\u76EE\u63D0\u793A\u7684\u5143\u7D20\u3002","\u641C\u5C0B\u6642\u7BE9\u9078\u5143\u7D20\u3002","\u63A7\u5236 Workbench \u4E2D\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u7684\u9810\u8A2D\u5C0B\u627E\u6A21\u5F0F\u3002","\u6BD4\u5C0D\u6309\u9375\u8F38\u5165\u7684\u7C21\u6613\u6309\u9375\u700F\u89BD\u7126\u9EDE\u5143\u7D20\u3002\u50C5\u6BD4\u5C0D\u524D\u7F6E\u8A5E\u3002","\u9192\u76EE\u63D0\u793A\u9375\u76E4\u700F\u89BD\u6703\u9192\u76EE\u63D0\u793A\u7B26\u5408\u9375\u76E4\u8F38\u5165\u7684\u5143\u7D20\u3002\u9032\u4E00\u6B65\u5411\u4E0A\u6216\u5411\u4E0B\u700F\u89BD\u53EA\u6703\u5468\u904A\u9192\u76EE\u63D0\u793A\u7684\u5143\u7D20\u3002","\u7BE9\u9078\u9375\u76E4\u700F\u89BD\u6703\u7BE9\u6389\u4E26\u96B1\u85CF\u4E0D\u7B26\u5408\u9375\u76E4\u8F38\u5165\u7684\u6240\u6709\u5143\u7D20\u3002","\u63A7\u5236 Workbench \u4E2D\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u7684\u9375\u76E4\u700F\u89BD\u6A23\u5F0F\u3002\u53EF\u4EE5\u662F\u7C21\u6613\u7684\u3001\u9192\u76EE\u63D0\u793A\u548C\u7BE9\u9078\u3002","\u8ACB\u6539\u70BA\u4F7F\u7528 'workbench.list.defaultFindMode' \u548C 'workbench.list.typeNavigationMode'\u3002","\u641C\u5C0B\u6642\u4F7F\u7528\u6A21\u7CCA\u6BD4\u5C0D\u3002","\u641C\u5C0B\u6642\u4F7F\u7528\u9023\u7E8C\u6BD4\u5C0D\u3002","\u63A7\u5236\u5728\u5DE5\u4F5C\u53F0\u4E2D\u641C\u5C0B\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u6642\u6240\u4F7F\u7528\u7684\u6BD4\u5C0D\u985E\u578B\u3002","\u63A7\u5236\u7576\u6309\u4E0B\u8CC7\u6599\u593E\u540D\u7A31\u6642\uFF0C\u6A39\u72C0\u76EE\u9304\u8CC7\u6599\u593E\u7684\u5C55\u958B\u65B9\u5F0F\u3002\u8ACB\u6CE8\u610F\uFF0C\u82E5\u4E0D\u9069\u7528\uFF0C\u67D0\u4E9B\u6A39\u72C0\u76EE\u9304\u548C\u6E05\u55AE\u53EF\u80FD\u6703\u9078\u64C7\u5FFD\u7565\u6B64\u8A2D\u5B9A\u3002","\u63A7\u5236\u5DE5\u4F5C\u53F0\u4E2D\u6E05\u55AE\u548C\u6A39\u72C0\u76EE\u9304\u7684\u985E\u578B\u700F\u89BD\u904B\u4F5C\u65B9\u5F0F\u3002\u8A2D\u5B9A\u70BA 'trigger' \u6642\uFF0C\u985E\u578B\u700F\u89BD\u6703\u5728\u57F7\u884C 'list.triggerTypeNavigation' \u547D\u4EE4\u6642\u96A8\u5373\u958B\u59CB\u3002"],"vs/platform/markers/common/markers":["\u932F\u8AA4","\u8B66\u544A","\u8CC7\u8A0A"],"vs/platform/quickinput/browser/commandsQuickAccess":["\u6700\u8FD1\u4F7F\u7528\u7684","\u985E\u4F3C\u7684\u547D\u4EE4","\u7D93\u5E38\u4F7F\u7528","\u5176\u4ED6\u547D\u4EE4","\u985E\u4F3C\u7684\u547D\u4EE4","{0}, {1}","\u547D\u4EE4 '{0}' \u9020\u6210\u932F\u8AA4"],"vs/platform/quickinput/browser/helpQuickAccess":["{0}, {1}"],"vs/platform/quickinput/browser/quickInput":["\u4E0A\u4E00\u9801","\u6309 'Enter' \u9375\u78BA\u8A8D\u60A8\u7684\u8F38\u5165\u6216\u6309 'Esc' \u9375\u53D6\u6D88","{0}/{1}","\u8F38\u5165\u4EE5\u7E2E\u5C0F\u7D50\u679C\u7BC4\u570D\u3002"],"vs/platform/quickinput/browser/quickInputController":["\u5207\u63DB\u6240\u6709\u6838\u53D6\u65B9\u584A","{0} \u500B\u7D50\u679C","\u5DF2\u9078\u64C7 {0}","\u78BA\u5B9A","\u81EA\u8A02","\u80CC\u9762 ({0})","\u8FD4\u56DE"],"vs/platform/quickinput/browser/quickInputList":["\u5FEB\u901F\u8F38\u5165"],"vs/platform/quickinput/browser/quickInputUtils":["\u6309\u4E00\u4E0B\u4EE5\u57F7\u884C\u547D\u4EE4 \u2018{0}\u2019"],"vs/platform/theme/common/colorRegistry":["\u6574\u9AD4\u7684\u524D\u666F\u8272\u5F69\u3002\u50C5\u7576\u672A\u88AB\u4EFB\u4F55\u5143\u4EF6\u8986\u758A\u6642\uFF0C\u624D\u6703\u4F7F\u7528\u6B64\u8272\u5F69\u3002","\u5DF2\u505C\u7528\u5143\u7D20\u7684\u6574\u9AD4\u524D\u666F\u3002\u53EA\u6709\u5728\u5143\u4EF6\u672A\u8986\u84CB\u6642\uFF0C\u624D\u80FD\u4F7F\u7528\u9019\u500B\u8272\u5F69\u3002","\u6574\u9AD4\u932F\u8AA4\u8A0A\u606F\u7684\u524D\u666F\u8272\u5F69\u3002\u50C5\u7576\u672A\u88AB\u4EFB\u4F55\u5143\u4EF6\u8986\u84CB\u6642\uFF0C\u624D\u6703\u4F7F\u7528\u6B64\u8272\u5F69\u3002","\u63D0\u4F9B\u9644\u52A0\u8A0A\u606F\u7684\u524D\u666F\u984F\u8272,\u4F8B\u5982\u6A19\u7C64","\u5DE5\u4F5C\u53F0\u4E2D\u5716\u793A\u7684\u9810\u8A2D\u8272\u5F69\u3002","\u7126\u9EDE\u9805\u76EE\u7684\u6574\u9AD4\u6846\u7DDA\u8272\u5F69\u3002\u53EA\u5728\u6C92\u6709\u4EFB\u4F55\u5143\u4EF6\u8986\u5BEB\u6B64\u8272\u5F69\u6642\uFF0C\u624D\u6703\u52A0\u4EE5\u4F7F\u7528\u3002","\u9805\u76EE\u5468\u570D\u7684\u984D\u5916\u6846\u7DDA\uFF0C\u53EF\u5C07\u9805\u76EE\u5F9E\u5176\u4ED6\u9805\u76EE\u4E2D\u5340\u9694\u51FA\u4F86\u4EE5\u63D0\u9AD8\u5C0D\u6BD4\u3002","\u4F7F\u7528\u4E2D\u9805\u76EE\u5468\u570D\u7684\u984D\u5916\u908A\u754C\uFF0C\u53EF\u5C07\u9805\u76EE\u5F9E\u5176\u4ED6\u9805\u76EE\u4E2D\u5340\u9694\u51FA\u4F86\u4EE5\u63D0\u9AD8\u5C0D\u6BD4\u3002","\u4F5C\u696D\u5340\u57DF\u9078\u53D6\u7684\u80CC\u666F\u984F\u8272(\u4F8B\u5982\u8F38\u5165\u6216\u6587\u5B57\u5340\u57DF)\u3002\u8ACB\u6CE8\u610F\uFF0C\u9019\u4E0D\u9069\u7528\u65BC\u7DE8\u8F2F\u5668\u4E2D\u7684\u9078\u53D6\u3002","\u6587\u5B57\u5206\u9694\u7B26\u865F\u7684\u984F\u8272\u3002","\u5167\u6587\u9023\u7D50\u7684\u524D\u666F\u8272\u5F69","\u7576\u6ED1\u9F20\u9EDE\u64CA\u6216\u61F8\u505C\u6642\uFF0C\u6587\u5B57\u4E2D\u9023\u7D50\u7684\u524D\u666F\u8272\u5F69\u3002","\u63D0\u793A\u53CA\u5EFA\u8B70\u6587\u5B57\u7684\u524D\u666F\u8272\u5F69\u3002","\u6587\u5167\u5F15\u7528\u5340\u584A\u80CC\u666F\u8272\u5F69\u3002","\u5F15\u7528\u6587\u5B57\u7684\u6846\u7DDA\u984F\u8272\u3002","\u6587\u5B57\u5340\u584A\u7684\u80CC\u666F\u984F\u8272\u3002","\u5C0F\u5DE5\u5177\u7684\u9670\u5F71\u8272\u5F69\uFF0C\u4F8B\u5982\u7DE8\u8F2F\u5668\u4E2D\u7684\u5C0B\u627E/\u53D6\u4EE3\u3002","\u5C0F\u5DE5\u5177\u7684\u6846\u7DDA\u8272\u5F69\uFF0C\u4F8B\u5982\u7DE8\u8F2F\u5668\u4E2D\u7684\u5C0B\u627E/\u53D6\u4EE3\u3002","\u8F38\u5165\u65B9\u584A\u7684\u80CC\u666F\u3002","\u8F38\u5165\u65B9\u584A\u7684\u524D\u666F\u3002","\u8F38\u5165\u65B9\u584A\u7684\u6846\u7DDA\u3002","\u8F38\u5165\u6B04\u4F4D\u4E2D\u53EF\u4F7F\u7528\u4E4B\u9805\u76EE\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u5728\u8F38\u5165\u6B04\u4F4D\u4E2D\u6240\u555F\u52D5\u9078\u9805\u7684\u80CC\u666F\u8272\u5F69\u3002","\u8F38\u5165\u6B04\u4F4D\u4E2D\u9078\u9805\u7684\u80CC\u666F\u66AB\u7559\u8272\u5F69\u3002","\u5728\u8F38\u5165\u6B04\u4F4D\u4E2D\u6240\u555F\u52D5\u9078\u9805\u7684\u524D\u666F\u8272\u5F69\u3002","\u6587\u5B57\u8F38\u5165\u66FF\u4EE3\u5B57\u7B26\u7684\u524D\u666F\u984F\u8272\u3002","\u8CC7\u8A0A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u80CC\u666F\u8272\u5F69\u3002","\u8CC7\u8A0A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u524D\u666F\u8272\u5F69\u3002","\u8CC7\u8A0A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u908A\u754C\u8272\u5F69\u3002","\u8B66\u544A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u80CC\u666F\u8272\u5F69\u3002","\u8B66\u544A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u524D\u666F\u8272\u5F69\u3002","\u8B66\u544A\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u908A\u754C\u8272\u5F69\u3002","\u932F\u8AA4\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u80CC\u666F\u8272\u5F69\u3002","\u932F\u8AA4\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u524D\u666F\u8272\u5F69\u3002","\u932F\u8AA4\u56B4\u91CD\u6027\u7684\u8F38\u5165\u9A57\u8B49\u908A\u754C\u8272\u5F69\u3002","\u4E0B\u62C9\u5F0F\u6E05\u55AE\u7684\u80CC\u666F\u3002","\u4E0B\u62C9\u5F0F\u6E05\u55AE\u7684\u80CC\u666F\u3002","\u4E0B\u62C9\u5F0F\u6E05\u55AE\u7684\u524D\u666F\u3002","\u4E0B\u62C9\u5F0F\u6E05\u55AE\u7684\u6846\u7DDA\u3002","\u6309\u9215\u524D\u666F\u8272\u5F69\u3002","\u5206\u9694\u7DDA\u8272\u5F69\u6309\u9215\u3002","\u6309\u9215\u80CC\u666F\u8272\u5F69\u3002","\u66AB\u7559\u6642\u7684\u6309\u9215\u80CC\u666F\u8272\u5F69\u3002","\u6309\u9215\u6846\u7DDA\u8272\u5F69\u3002","\u6B21\u8981\u6309\u9215\u524D\u666F\u8272\u5F69\u3002","\u6B21\u8981\u6309\u9215\u80CC\u666F\u8272\u5F69\u3002","\u6ED1\u9F20\u66AB\u7559\u6642\u7684\u6B21\u8981\u6309\u9215\u80CC\u666F\u8272\u5F69\u3002","\u6A19\u8A18\u7684\u80CC\u666F\u984F\u8272\u3002\u6A19\u8A18\u70BA\u5C0F\u578B\u7684\u8A0A\u606F\u6A19\u7C64,\u4F8B\u5982\u641C\u5C0B\u7D50\u679C\u7684\u6578\u91CF\u3002","\u6A19\u8A18\u7684\u524D\u666F\u984F\u8272\u3002\u6A19\u8A18\u70BA\u5C0F\u578B\u7684\u8A0A\u606F\u6A19\u7C64,\u4F8B\u5982\u641C\u5C0B\u7D50\u679C\u7684\u6578\u91CF\u3002","\u6307\u51FA\u5728\u6372\u52D5\u8A72\u6AA2\u8996\u7684\u6372\u8EF8\u9670\u5F71\u3002","\u6372\u8EF8\u6ED1\u687F\u7684\u80CC\u666F\u984F\u8272\u3002","\u52D5\u614B\u986F\u793A\u6642\u6372\u8EF8\u6ED1\u687F\u7684\u80CC\u666F\u984F\u8272\u3002","\u7576\u9EDE\u64CA\u6642\u6372\u8EF8\u6ED1\u687F\u7684\u80CC\u666F\u984F\u8272\u3002","\u9577\u6642\u9593\u904B\u884C\u9032\u5EA6\u689D\u7684\u80CC\u666F\u8272\u5F69.","\u7DE8\u8F2F\u5668\u4E2D\u932F\u8AA4\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7DE8\u8F2F\u5668\u5167\u932F\u8AA4\u63D0\u793A\u7DDA\u7684\u524D\u666F\u8272\u5F69.","\u5982\u679C\u8A2D\u5B9A\uFF0C\u7DE8\u8F2F\u5668\u4E2D\u7684\u932F\u8AA4\u6703\u986F\u793A\u96D9\u5E95\u7DDA\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u4E2D\u8B66\u544A\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7DE8\u8F2F\u5668\u5167\u8B66\u544A\u63D0\u793A\u7DDA\u7684\u524D\u666F\u8272\u5F69.","\u5982\u679C\u8A2D\u5B9A\uFF0C\u7DE8\u8F2F\u5668\u4E2D\u7684\u8B66\u544A\u6703\u986F\u793A\u96D9\u5E95\u7DDA\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u4E2D\u8CC7\u8A0A\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7DE8\u8F2F\u5668\u5167\u8CC7\u8A0A\u63D0\u793A\u7DDA\u7684\u524D\u666F\u8272\u5F69","\u5982\u679C\u8A2D\u5B9A\uFF0C\u7DE8\u8F2F\u5668\u4E2D\u7684\u63D0\u793A\u6703\u986F\u793A\u96D9\u5E95\u7DDA\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u5167\u63D0\u793A\u8A0A\u606F\u7684\u63D0\u793A\u7DDA\u524D\u666F\u8272\u5F69","\u5982\u679C\u8A2D\u5B9A\uFF0C\u7DE8\u8F2F\u5668\u4E2D\u7684\u63D0\u793A\u6703\u986F\u793A\u96D9\u5E95\u7DDA\u8272\u5F69\u3002","\u4F7F\u7528\u4E2D\u98FE\u5E36\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u7684\u80CC\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u7684\u9810\u8A2D\u524D\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u7684\u9ECF\u6EEF\u5377\u8EF8\u80CC\u666F\u8272\u5F69","\u7DE8\u8F2F\u5668\u7684\u6E38\u6A19\u80CC\u666F\u8272\u5F69\u4E0A\u7684\u9ECF\u6EEF\u5377\u8EF8","\u7DE8\u8F2F\u5668\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u8272\u5F69\uFF0C\u4F8B\u5982\u5C0B\u627E/\u53D6\u4EE3\u3002","\u7DE8\u8F2F\u5668\u5C0F\u5DE5\u5177 (\u4F8B\u5982\u5C0B\u627E/\u53D6\u4EE3) \u7684\u524D\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u5C0F\u5DE5\u5177\u7684\u908A\u754C\u8272\u5F69\u3002\u5C0F\u5DE5\u5177\u9078\u64C7\u64C1\u6709\u908A\u754C\u6216\u8272\u5F69\u672A\u88AB\u5C0F\u5DE5\u5177\u8986\u5BEB\u6642\uFF0C\u624D\u6703\u4F7F\u7528\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u5C0F\u5DE5\u5177\u4E4B\u8ABF\u6574\u5927\u5C0F\u5217\u7684\u908A\u754C\u8272\u5F69\u3002\u53EA\u5728\u5C0F\u5DE5\u5177\u9078\u64C7\u5177\u6709\u8ABF\u6574\u5927\u5C0F\u908A\u754C\u4E14\u672A\u8986\u5BEB\u8A72\u8272\u5F69\u6642\uFF0C\u624D\u4F7F\u7528\u8A72\u8272\u5F69\u3002","\u5FEB\u901F\u9078\u64C7\u5668\u80CC\u666F\u8272\u5F69\u3002\u8A72\u5FEB\u901F\u9078\u64C7\u5668\u5C0F\u5DE5\u5177\u662F\u985E\u4F3C\u547D\u4EE4\u9078\u64C7\u5340\u7684\u9078\u64C7\u5668\u5BB9\u5668\u3002","\u5FEB\u901F\u9078\u64C7\u5668\u524D\u666F\u8272\u5F69\u3002\u5FEB\u901F\u9078\u64C7\u5668\u5C0F\u5DE5\u5177\u662F\u985E\u4F3C\u547D\u4EE4\u9078\u64C7\u5340\u7B49\u9078\u64C7\u5668\u7684\u5BB9\u5668\u3002","\u5FEB\u901F\u9078\u64C7\u5668\u6A19\u984C\u80CC\u666F\u8272\u5F69\u3002\u5FEB\u901F\u9078\u64C7\u5668\u5C0F\u5DE5\u5177\u662F\u985E\u4F3C\u547D\u4EE4\u9078\u64C7\u5340\u7684\u9078\u64C7\u5668\u5BB9\u5668\u3002","\u5206\u7D44\u6A19\u7C64\u7684\u5FEB\u901F\u9078\u64C7\u5668\u8272\u5F69\u3002","\u5206\u7D44\u908A\u754C\u7684\u5FEB\u901F\u9078\u64C7\u5668\u8272\u5F69\u3002","\u91D1\u9470\u7D81\u5B9A\u6A19\u7C64\u80CC\u666F\u8272\u5F69\u3002\u6309\u9375\u7D81\u5B9A\u6A19\u7C64\u7528\u4F86\u4EE3\u8868\u9375\u76E4\u5FEB\u901F\u9375\u3002","\u91D1\u9470\u7D81\u5B9A\u6A19\u7C64\u524D\u666F\u8272\u5F69\u3002\u6309\u9375\u7D81\u5B9A\u6A19\u7C64\u7528\u4F86\u4EE3\u8868\u9375\u76E4\u5FEB\u901F\u9375\u3002","\u91D1\u9470\u7D81\u5B9A\u6A19\u7C64\u908A\u6846\u8272\u5F69\u3002\u6309\u9375\u7D81\u5B9A\u6A19\u7C64\u7528\u4F86\u4EE3\u8868\u9375\u76E4\u5FEB\u901F\u9375\u3002","\u91D1\u9470\u7D81\u5B9A\u6A19\u7C64\u908A\u6846\u5E95\u90E8\u8272\u5F69\u3002\u6309\u9375\u7D81\u5B9A\u6A19\u7C64\u7528\u4F86\u4EE3\u8868\u9375\u76E4\u5FEB\u901F\u9375\u3002","\u7DE8\u8F2F\u5668\u9078\u53D6\u7BC4\u570D\u7684\u8272\u5F69\u3002","\u70BA\u9078\u53D6\u7684\u6587\u5B57\u984F\u8272\u9AD8\u5C0D\u6BD4\u5316","\u975E\u4F7F\u7528\u4E2D\u7DE8\u8F2F\u5668\u5167\u7684\u9078\u53D6\u9805\u76EE\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u8207\u9078\u53D6\u9805\u76EE\u5167\u5BB9\u76F8\u540C\u4E4B\u5340\u57DF\u7684\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u9078\u53D6\u6642\uFF0C\u5167\u5BB9\u76F8\u540C\u4E4B\u5340\u57DF\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7B26\u5408\u76EE\u524D\u641C\u5C0B\u7684\u8272\u5F69\u3002","\u5176\u4ED6\u641C\u5C0B\u76F8\u7B26\u9805\u76EE\u7684\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u9650\u5236\u641C\u5C0B\u4E4B\u7BC4\u570D\u7684\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7B26\u5408\u76EE\u524D\u641C\u5C0B\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7B26\u5408\u5176\u4ED6\u641C\u5C0B\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u9650\u5236\u641C\u5C0B\u4E4B\u7BC4\u570D\u7684\u6846\u7DDA\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u641C\u5C0B\u7DE8\u8F2F\u5668\u67E5\u8A62\u7B26\u5408\u7684\u8272\u5F69\u3002","\u641C\u7D22\u7DE8\u8F2F\u5668\u67E5\u8A62\u7B26\u5408\u7684\u908A\u6846\u8272\u5F69\u3002","\u641C\u5C0B Viewlet \u5B8C\u6210\u8A0A\u606F\u4E2D\u6587\u5B57\u7684\u8272\u5F69\u3002","\u5728\u986F\u793A\u52D5\u614B\u986F\u793A\u7684\u6587\u5B57\u4E0B\u9192\u76EE\u63D0\u793A\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7DE8\u8F2F\u5668\u52D5\u614B\u986F\u793A\u7684\u80CC\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u52D5\u614B\u986F\u793A\u7684\u524D\u666F\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u52D5\u614B\u986F\u793A\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u66AB\u7559\u72C0\u614B\u5217\u7684\u80CC\u666F\u8272\u5F69\u3002","\u4F7F\u7528\u4E2D\u4E4B\u9023\u7D50\u7684\u8272\u5F69\u3002","\u5167\u5D4C\u63D0\u793A\u7684\u524D\u666F\u8272\u5F69","\u5167\u5D4C\u63D0\u793A\u7684\u80CC\u666F\u8272\u5F69","\u985E\u578B\u5167\u5D4C\u63D0\u793A\u7684\u524D\u666F\u8272\u5F69","\u985E\u578B\u5167\u5D4C\u63D0\u793A\u7684\u80CC\u666F\u8272\u5F69","\u53C3\u6578\u5167\u5D4C\u63D0\u793A\u7684\u524D\u666F\u8272\u5F69","\u53C3\u6578\u5167\u5D4C\u63D0\u793A\u7684\u80CC\u666F\u8272\u5F69","\u7528\u65BC\u71C8\u6CE1\u52D5\u4F5C\u5716\u793A\u7684\u8272\u5F69\u3002","\u7528\u65BC\u71C8\u6CE1\u81EA\u52D5\u4FEE\u6B63\u52D5\u4F5C\u5716\u793A\u7684\u8272\u5F69\u3002","\u5DF2\u63D2\u5165\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5DF2\u79FB\u9664\u6587\u5B57\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5DF2\u63D2\u5165\u7A0B\u5F0F\u884C\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5DF2\u79FB\u9664\u7A0B\u5F0F\u884C\u7684\u80CC\u666F\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u63D2\u5165\u7A0B\u5F0F\u884C\u6240\u5728\u908A\u754C\u7684\u80CC\u666F\u8272\u5F69\u3002","\u79FB\u9664\u7A0B\u5F0F\u884C\u6240\u5728\u908A\u754C\u7684\u80CC\u666F\u8272\u5F69\u3002","\u63D2\u5165\u5167\u5BB9\u7684\u5DEE\u7570\u6982\u89C0\u5C3A\u898F\u524D\u666F\u3002","\u79FB\u9664\u5167\u5BB9\u7684\u5DEE\u7570\u6982\u89C0\u5C3A\u898F\u524D\u666F\u3002","\u63D2\u5165\u7684\u6587\u5B57\u5916\u6846\u8272\u5F69\u3002","\u79FB\u9664\u7684\u6587\u5B57\u5916\u6846\u8272\u5F69\u3002","\u5169\u500B\u6587\u5B57\u7DE8\u8F2F\u5668\u4E4B\u9593\u7684\u6846\u7DDA\u8272\u5F69\u3002","Diff \u7DE8\u8F2F\u5668\u7684\u659C\u7D0B\u586B\u6EFF\u8272\u5F69\u3002\u659C\u7D0B\u586B\u6EFF\u7528\u65BC\u4E26\u6392 Diff \u6AA2\u8996\u3002","Diff \u7DE8\u8F2F\u5668\u4E2D\u672A\u8B8A\u66F4\u5340\u584A\u7684\u80CC\u666F\u8272\u5F69\u3002","Diff \u7DE8\u8F2F\u5668\u4E2D\u672A\u8B8A\u66F4\u5340\u584A\u7684\u524D\u666F\u8272\u5F69\u3002","Diff \u7DE8\u8F2F\u5668\u4E2D\u672A\u8B8A\u66F4\u7A0B\u5F0F\u78BC\u7684\u80CC\u666F\u8272\u5F69\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u80CC\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u524D\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u5916\u6846\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u4E26\u5DF2\u9078\u53D6\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u5916\u6846\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u5177\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u80CC\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u524D\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u5716\u793A\u524D\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u975E\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u80CC\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u524D\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u975E\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u6240\u9078\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u5716\u793A\u524D\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u70BA\u975E\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u80CC\u666F\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u7576\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u70BA\u975E\u4F7F\u7528\u4E2D\u72C0\u614B\u6642\uFF0C\u7126\u9EDE\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u5916\u6846\u8272\u5F69\u3002\u4F7F\u7528\u4E2D\u7684\u6E05\u55AE/\u6A39\u72C0\u76EE\u9304\u6709\u9375\u76E4\u7126\u9EDE\uFF0C\u975E\u4F7F\u7528\u4E2D\u8005\u5247\u6C92\u6709\u3002","\u4F7F\u7528\u6ED1\u9F20\u66AB\u7559\u5728\u9805\u76EE\u6642\u7684\u6E05\u55AE/\u6A39\u72C0\u80CC\u666F\u3002","\u6ED1\u9F20\u66AB\u7559\u5728\u9805\u76EE\u6642\u7684\u6E05\u55AE/\u6A39\u72C0\u524D\u666F\u3002","\u4F7F\u7528\u6ED1\u9F20\u56DB\u8655\u79FB\u52D5\u9805\u76EE\u6642\u7684\u6E05\u55AE/\u6A39\u72C0\u62D6\u653E\u80CC\u666F\u3002","\u5728\u6E05\u55AE/\u6A39\u72C0\u5167\u641C\u5C0B\u6642\uFF0C\u76F8\u7B26\u9192\u76EE\u63D0\u793A\u7684\u6E05\u55AE/\u6A39\u72C0\u524D\u666F\u8272\u5F69\u3002","\u5728\u6E05\u55AE/\u6A39\u72C0\u5167\u641C\u5C0B\u6642\uFF0C\u76F8\u7B26\u9805\u76EE\u7684\u6E05\u55AE/\u6A39\u72C0\u7D50\u69CB\u524D\u666F\u8272\u5F69\u6703\u91DD\u5C0D\u4E3B\u52D5\u7126\u9EDE\u9805\u76EE\u9032\u884C\u5F37\u8ABF\u986F\u793A\u3002","\u5217\u8868/\u6A39\u72C0 \u7121\u6548\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69\uFF0C\u4F8B\u5982\u5728\u700F\u89BD\u8996\u7A97\u7121\u6CD5\u89E3\u6790\u7684\u6839\u76EE\u9304","\u5305\u542B\u932F\u8AA4\u6E05\u55AE\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69","\u5305\u542B\u8B66\u544A\u6E05\u55AE\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69","\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u4E2D\u985E\u578B\u7BE9\u9078\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u8272\u5F69\u3002","\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u4E2D\u985E\u578B\u7BE9\u9078\u5C0F\u5DE5\u5177\u7684\u5927\u7DB1\u8272\u5F69\u3002","\u5728\u6C92\u6709\u76F8\u7B26\u9805\u76EE\u6642\uFF0C\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u4E2D\u985E\u578B\u7BE9\u9078\u5C0F\u5DE5\u5177\u7684\u5927\u7DB1\u8272\u5F69\u3002","\u6E05\u55AE\u548C\u6A39\u72C0\u7D50\u69CB\u4E2D\u985E\u578B\u7BE9\u9078\u5C0F\u5DE5\u5177\u7684\u9670\u5F71\u8272\u5F69\u3002","\u5DF2\u7BE9\u9078\u76F8\u7B26\u9805\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5DF2\u7BE9\u9078\u76F8\u7B26\u9805\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u6A39\u72C0\u7B46\u89F8\u8272\u5F69\u3002","\u975E\u4F7F\u7528\u4E2D\u7E2E\u6392\u8F14\u52A9\u7DDA\u7684\u6A39\u72C0\u7B46\u89F8\u8272\u5F69\u3002","\u8CC7\u6599\u884C\u4E4B\u9593\u7684\u8CC7\u6599\u8868\u908A\u754C\u8272\u5F69\u3002","\u5947\u6578\u8CC7\u6599\u8868\u8CC7\u6599\u5217\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5DF2\u53D6\u6D88\u5F37\u8ABF\u7684\u6E05\u55AE/\u6A39\u72C0\u7D50\u69CB\u524D\u666F\u8272\u5F69\u3002","\u6838\u53D6\u65B9\u584A\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u8272\u5F69\u3002","\u9078\u53D6\u5176\u6240\u8655\u5143\u7D20\u6642\uFF0C\u6838\u53D6\u65B9\u584A\u5C0F\u5DE5\u5177\u7684\u80CC\u666F\u8272\u5F69\u3002","\u6838\u53D6\u65B9\u584A\u5C0F\u5DE5\u5177\u7684\u524D\u666F\u8272\u5F69\u3002","\u6838\u53D6\u65B9\u584A\u5C0F\u5DE5\u5177\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u9078\u53D6\u5176\u6240\u8655\u5143\u7D20\u6642\uFF0C\u6838\u53D6\u65B9\u584A\u5C0F\u5DE5\u5177\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u8ACB\u6539\u7528 quickInputList.focusBackground","\u7126\u9EDE\u9805\u76EE\u7684\u5FEB\u901F\u9078\u64C7\u5668\u524D\u666F\u8272\u5F69\u3002","\u7126\u9EDE\u9805\u76EE\u7684\u5FEB\u901F\u9078\u64C7\u5668\u5716\u793A\u524D\u666F\u8272\u5F69\u3002","\u7126\u9EDE\u9805\u76EE\u7684\u5FEB\u901F\u9078\u64C7\u5668\u80CC\u666F\u8272\u5F69\u3002","\u529F\u80FD\u8868\u7684\u908A\u6846\u8272\u5F69\u3002","\u529F\u80FD\u8868\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69\u3002","\u529F\u80FD\u8868\u9805\u76EE\u7684\u80CC\u666F\u8272\u5F69\u3002","\u529F\u80FD\u8868\u4E2D\u6240\u9078\u529F\u80FD\u8868\u9805\u76EE\u7684\u524D\u666F\u8272\u5F69\u3002","\u529F\u80FD\u8868\u4E2D\u6240\u9078\u529F\u80FD\u8868\u9805\u76EE\u7684\u80CC\u666F\u8272\u5F69\u3002","\u529F\u80FD\u8868\u4E2D\u6240\u9078\u529F\u80FD\u8868\u9805\u76EE\u7684\u6846\u7DDA\u8272\u5F69\u3002","\u529F\u80FD\u8868\u4E2D\u5206\u9694\u7DDA\u529F\u80FD\u8868\u9805\u76EE\u7684\u8272\u5F69\u3002","\u4F7F\u7528\u6ED1\u9F20\u5C07\u6E38\u6A19\u505C\u7559\u5728\u52D5\u4F5C\u4E0A\u65B9\u6642\u7684\u5DE5\u5177\u5217\u80CC\u666F","\u4F7F\u7528\u6ED1\u9F20\u5C07\u6E38\u6A19\u505C\u7559\u5728\u52D5\u4F5C\u4E0A\u65B9\u6642\u7684\u5DE5\u5177\u5217\u5916\u6846","\u5C07\u6ED1\u9F20\u79FB\u5230\u52D5\u4F5C\u4E0A\u65B9\u6642\u7684\u5DE5\u5177\u5217\u80CC\u666F","\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5B9A\u4F4D\u505C\u99D0\u9EDE\u7684\u53CD\u767D\u986F\u793A\u80CC\u666F\u8272\u5F69\u3002","\u7A0B\u5F0F\u78BC\u7247\u6BB5\u5B9A\u4F4D\u505C\u99D0\u9EDE\u7684\u53CD\u767D\u986F\u793A\u908A\u754C\u8272\u5F69\u3002","\u7A0B\u5F0F\u78BC\u7247\u6BB5\u6700\u7D42\u5B9A\u4F4D\u505C\u99D0\u9EDE\u7684\u53CD\u767D\u986F\u793A\u80CC\u666F\u8272\u5F69\u3002","\u7A0B\u5F0F\u78BC\u7247\u6BB5\u6700\u7D42\u5B9A\u4F4D\u505C\u99D0\u9EDE\u7684\u9192\u76EE\u63D0\u793A\u6846\u7DDA\u8272\u5F69\u3002","\u7126\u9EDE\u968E\u5C64\u9023\u7D50\u9805\u76EE\u7684\u8272\u5F69\u3002","\u968E\u5C64\u9023\u7D50\u7684\u80CC\u666F\u8272\u3002","\u7126\u9EDE\u968E\u5C64\u9023\u7D50\u9805\u76EE\u7684\u8272\u5F69\u3002","\u6240\u9078\u968E\u5C64\u9023\u7D50\u9805\u76EE\u7684\u8272\u5F69\u3002","\u968E\u5C64\u9023\u7D50\u9805\u76EE\u9078\u64C7\u5668\u7684\u80CC\u666F\u8272\u5F69\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u76EE\u524D\u7684\u6A19\u982D\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u76EE\u524D\u5167\u5BB9\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u50B3\u5165\u6A19\u982D\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u50B3\u5165\u5167\u5BB9\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u4E00\u822C\u4E0A\u968E\u6A19\u982D\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u4E00\u822C\u4E0A\u968E\u5167\u5BB9\u80CC\u666F\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u6A19\u982D\u53CA\u5206\u9694\u5668\u7684\u908A\u754C\u8272\u5F69\u3002","\u76EE\u524D\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u7684\u6982\u89C0\u5C3A\u898F\u524D\u666F\u3002","\u50B3\u5165\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u7684\u6982\u89C0\u5C3A\u898F\u524D\u666F\u3002","\u5167\u5D4C\u5408\u4F75\u885D\u7A81\u4E2D\u7684\u5171\u540C\u4E0A\u968E\u6982\u89C0\u5C3A\u898F\u524D\u666F\u3002","\u5C0B\u627E\u76F8\u7B26\u9805\u76EE\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u8272\u5F69\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u9078\u53D6\u9805\u76EE\u9192\u76EE\u63D0\u793A\u7684\u6982\u89C0\u5C3A\u898F\u6A19\u8A18\u3002\u5176\u4E0D\u5F97\u70BA\u4E0D\u900F\u660E\u8272\u5F69\uFF0C\u4EE5\u514D\u96B1\u85CF\u5E95\u5C64\u88DD\u98FE\u3002","\u7528\u65BC\u5C0B\u627E\u76F8\u7B26\u9805\u76EE\u7684\u7E2E\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u91CD\u8907\u7DE8\u8F2F\u5668\u9078\u53D6\u9805\u76EE\u7684\u7E2E\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u7DE8\u8F2F\u5668\u9078\u53D6\u7BC4\u570D\u7684\u8FF7\u4F60\u5730\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u8CC7\u8A0A\u7684\u7E2E\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u8B66\u544A\u7684\u7E2E\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u932F\u8AA4\u7684\u7E2E\u5716\u6A19\u8A18\u8272\u5F69\u3002","\u7E2E\u5716\u80CC\u666F\u8272\u5F69\u3002",'\u5728\u7E2E\u5716\u4E2D\u5448\u73FE\u7684\u524D\u666F\u5143\u7D20\u4E0D\u900F\u660E\u5EA6\u3002\u4F8B\u5982\uFF0C"#000000c0" \u6703\u4EE5\u4E0D\u900F\u660E\u5EA6 75% \u8F49\u8B6F\u5143\u7D20\u3002',"\u7E2E\u5716\u6ED1\u687F\u80CC\u666F\u8272\u5F69\u3002","\u66AB\u7559\u6642\u7684\u7E2E\u5716\u6ED1\u687F\u80CC\u666F\u8272\u5F69\u3002","\u6309\u4E00\u4E0B\u6642\u7684\u7E2E\u5716\u6ED1\u687F\u80CC\u666F\u8272\u5F69\u3002","\u7528\u65BC\u554F\u984C\u932F\u8AA4\u5716\u793A\u7684\u8272\u5F69\u3002","\u7528\u65BC\u554F\u984C\u8B66\u544A\u5716\u793A\u7684\u8272\u5F69\u3002","\u7528\u65BC\u554F\u984C\u8CC7\u8A0A\u5716\u793A\u7684\u8272\u5F69\u3002","\u5716\u8868\u4E2D\u4F7F\u7528\u7684\u524D\u666F\u8272\u5F69\u3002","\u7528\u65BC\u5716\u8868\u4E2D\u6C34\u5E73\u7DDA\u7684\u8272\u5F69\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u7D05\u8272\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u85CD\u8272\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u9EC3\u8272\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u6A59\u8272\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u7DA0\u8272\u3002","\u5716\u8868\u8996\u89BA\u6548\u679C\u4E2D\u6240\u4F7F\u7528\u7684\u7D2B\u8272\u3002"],"vs/platform/theme/common/iconRegistry":["\u8981\u4F7F\u7528\u7684\u5B57\u578B\u8B58\u5225\u78BC\u3002\u5982\u672A\u8A2D\u5B9A\uFF0C\u5C31\u6703\u4F7F\u7528\u6700\u5148\u5B9A\u7FA9\u7684\u5B57\u578B\u3002","\u8207\u5716\u793A\u5B9A\u7FA9\u5EFA\u7ACB\u95DC\u806F\u7684\u5B57\u578B\u5B57\u5143\u3002","\u5C0F\u5DE5\u5177\u4E2D\u95DC\u9589\u52D5\u4F5C\u7684\u5716\u793A\u3002","\u79FB\u81F3\u4E0A\u4E00\u500B\u7DE8\u8F2F\u5668\u4F4D\u7F6E\u7684\u5716\u793A\u3002","\u79FB\u81F3\u4E0B\u4E00\u500B\u7DE8\u8F2F\u5668\u4F4D\u7F6E\u7684\u5716\u793A\u3002"],"vs/platform/undoRedo/common/undoRedoService":["\u5DF2\u5728\u78C1\u789F\u4E0A\u95DC\u9589\u4E26\u4FEE\u6539\u4EE5\u4E0B\u6A94\u6848: {0}\u3002","\u4E0B\u5217\u6A94\u6848\u5DF2\u4F7F\u7528\u4E0D\u76F8\u5BB9\u7684\u65B9\u5F0F\u4FEE\u6539: {0}\u3002","\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'\u3002{1}","\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'\u3002{1}","\u56E0\u70BA\u5DF2\u5C0D {1} \u9032\u884C\u8B8A\u66F4\uFF0C\u6240\u4EE5\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'","\u56E0\u70BA {1} \u4E2D\u5DF2\u7D93\u6709\u6B63\u5728\u57F7\u884C\u7684\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u70BA\u6240\u6709\u6A94\u6848\u5FA9\u539F '{0}'","\u56E0\u70BA\u540C\u6642\u767C\u751F\u5176\u4ED6\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u70BA\u6240\u6709\u6A94\u6848\u5FA9\u539F '{0}'","\u8981\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}' \u55CE?","\u5728 {0} \u500B\u6A94\u6848\u4E2D\u5FA9\u539F(&&U)","\u5FA9\u539F\u6B64\u6A94\u6848(&&F)","\u56E0\u70BA\u5DF2\u7D93\u6709\u6B63\u5728\u57F7\u884C\u7684\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u5FA9\u539F '{0}'\u3002","\u8981\u5FA9\u539F '{0}' \u55CE?","\u662F(&&Y)","\u5426","\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'\u3002{1}","\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'\u3002{1}","\u56E0\u70BA\u5DF2\u5C0D {1} \u9032\u884C\u8B8A\u66F4\uFF0C\u6240\u4EE5\u7121\u6CD5\u5FA9\u539F\u6240\u6709\u6A94\u6848\u7684 '{0}'","\u56E0\u70BA {1} \u4E2D\u5DF2\u7D93\u6709\u6B63\u5728\u57F7\u884C\u7684\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u70BA\u6240\u6709\u6A94\u6848\u91CD\u505A '{0}'","\u56E0\u70BA\u540C\u6642\u767C\u751F\u5176\u4ED6\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u70BA\u6240\u6709\u6A94\u6848\u91CD\u505A '{0}'","\u56E0\u70BA\u5DF2\u7D93\u6709\u6B63\u5728\u57F7\u884C\u7684\u5FA9\u539F\u6216\u91CD\u505A\u4F5C\u696D\uFF0C\u6240\u4EE5\u7121\u6CD5\u91CD\u505A '{0}'\u3002"],"vs/platform/workspace/common/workspace":["Code \u5DE5\u4F5C\u5340"]}); + +//# sourceMappingURL=../../../min-maps/vs/editor/editor.main.nls.zh-tw.js.map \ No newline at end of file diff --git a/v2realbot/static/js/libs/monaco/vs/language/css/cssMode.js b/v2realbot/static/js/libs/monaco/vs/language/css/cssMode.js new file mode 100644 index 0000000..79877c2 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/language/css/cssMode.js @@ -0,0 +1,13 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/css/cssMode", ["require","require"],(require)=>{ +var moduleExports=(()=>{var en=Object.create;var Y=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var tn=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,on=Object.prototype.hasOwnProperty;var sn=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(t,i)=>(typeof require!="undefined"?require:t)[i]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var an=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),un=(n,t)=>{for(var i in t)Y(n,i,{get:t[i],enumerable:!0})},J=(n,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of tn(t))!on.call(n,e)&&e!==i&&Y(n,e,{get:()=>t[e],enumerable:!(r=nn(t,e))||r.enumerable});return n},pe=(n,t,i)=>(J(n,t,"default"),i&&J(i,t,"default")),he=(n,t,i)=>(i=n!=null?en(rn(n)):{},J(t||!n||!n.__esModule?Y(i,"default",{value:n,enumerable:!0}):i,n)),dn=n=>J(Y({},"__esModule",{value:!0}),n);var ve=an((Pn,me)=>{var cn=he(sn("vs/editor/editor.api"));me.exports=cn});var En={};un(En,{CompletionAdapter:()=>H,DefinitionAdapter:()=>O,DiagnosticsAdapter:()=>K,DocumentColorAdapter:()=>$,DocumentFormattingEditProvider:()=>X,DocumentHighlightAdapter:()=>j,DocumentLinkAdapter:()=>le,DocumentRangeFormattingEditProvider:()=>B,DocumentSymbolAdapter:()=>z,FoldingRangeAdapter:()=>q,HoverAdapter:()=>U,ReferenceAdapter:()=>N,RenameAdapter:()=>V,SelectionRangeAdapter:()=>Q,WorkerManager:()=>E,fromPosition:()=>_,fromRange:()=>ge,setupMode:()=>wn,toRange:()=>T,toTextEdit:()=>W});var d={};pe(d,he(ve()));var ln=2*60*1e3,E=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(t){this._defaults=t,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>ln&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=d.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...t){let i;return this._getClient().then(r=>{i=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(t)}).then(r=>i)}};var ye;(function(n){n.MIN_VALUE=-2147483648,n.MAX_VALUE=2147483647})(ye||(ye={}));var ee;(function(n){n.MIN_VALUE=0,n.MAX_VALUE=2147483647})(ee||(ee={}));var x;(function(n){function t(r,e){return r===Number.MAX_VALUE&&(r=ee.MAX_VALUE),e===Number.MAX_VALUE&&(e=ee.MAX_VALUE),{line:r,character:e}}n.create=t;function i(r){var e=r;return a.objectLiteral(e)&&a.uinteger(e.line)&&a.uinteger(e.character)}n.is=i})(x||(x={}));var v;(function(n){function t(r,e,o,s){if(a.uinteger(r)&&a.uinteger(e)&&a.uinteger(o)&&a.uinteger(s))return{start:x.create(r,e),end:x.create(o,s)};if(x.is(r)&&x.is(e))return{start:r,end:e};throw new Error("Range#create called with invalid arguments["+r+", "+e+", "+o+", "+s+"]")}n.create=t;function i(r){var e=r;return a.objectLiteral(e)&&x.is(e.start)&&x.is(e.end)}n.is=i})(v||(v={}));var se;(function(n){function t(r,e){return{uri:r,range:e}}n.create=t;function i(r){var e=r;return a.defined(e)&&v.is(e.range)&&(a.string(e.uri)||a.undefined(e.uri))}n.is=i})(se||(se={}));var Te;(function(n){function t(r,e,o,s){return{targetUri:r,targetRange:e,targetSelectionRange:o,originSelectionRange:s}}n.create=t;function i(r){var e=r;return a.defined(e)&&v.is(e.targetRange)&&a.string(e.targetUri)&&(v.is(e.targetSelectionRange)||a.undefined(e.targetSelectionRange))&&(v.is(e.originSelectionRange)||a.undefined(e.originSelectionRange))}n.is=i})(Te||(Te={}));var ae;(function(n){function t(r,e,o,s){return{red:r,green:e,blue:o,alpha:s}}n.create=t;function i(r){var e=r;return a.numberRange(e.red,0,1)&&a.numberRange(e.green,0,1)&&a.numberRange(e.blue,0,1)&&a.numberRange(e.alpha,0,1)}n.is=i})(ae||(ae={}));var xe;(function(n){function t(r,e){return{range:r,color:e}}n.create=t;function i(r){var e=r;return v.is(e.range)&&ae.is(e.color)}n.is=i})(xe||(xe={}));var ke;(function(n){function t(r,e,o){return{label:r,textEdit:e,additionalTextEdits:o}}n.create=t;function i(r){var e=r;return a.string(e.label)&&(a.undefined(e.textEdit)||C.is(e))&&(a.undefined(e.additionalTextEdits)||a.typedArray(e.additionalTextEdits,C.is))}n.is=i})(ke||(ke={}));var P;(function(n){n.Comment="comment",n.Imports="imports",n.Region="region"})(P||(P={}));var Ie;(function(n){function t(r,e,o,s,u){var l={startLine:r,endLine:e};return a.defined(o)&&(l.startCharacter=o),a.defined(s)&&(l.endCharacter=s),a.defined(u)&&(l.kind=u),l}n.create=t;function i(r){var e=r;return a.uinteger(e.startLine)&&a.uinteger(e.startLine)&&(a.undefined(e.startCharacter)||a.uinteger(e.startCharacter))&&(a.undefined(e.endCharacter)||a.uinteger(e.endCharacter))&&(a.undefined(e.kind)||a.string(e.kind))}n.is=i})(Ie||(Ie={}));var ue;(function(n){function t(r,e){return{location:r,message:e}}n.create=t;function i(r){var e=r;return a.defined(e)&&se.is(e.location)&&a.string(e.message)}n.is=i})(ue||(ue={}));var b;(function(n){n.Error=1,n.Warning=2,n.Information=3,n.Hint=4})(b||(b={}));var Ce;(function(n){n.Unnecessary=1,n.Deprecated=2})(Ce||(Ce={}));var _e;(function(n){function t(i){var r=i;return r!=null&&a.string(r.href)}n.is=t})(_e||(_e={}));var ne;(function(n){function t(r,e,o,s,u,l){var f={range:r,message:e};return a.defined(o)&&(f.severity=o),a.defined(s)&&(f.code=s),a.defined(u)&&(f.source=u),a.defined(l)&&(f.relatedInformation=l),f}n.create=t;function i(r){var e,o=r;return a.defined(o)&&v.is(o.range)&&a.string(o.message)&&(a.number(o.severity)||a.undefined(o.severity))&&(a.integer(o.code)||a.string(o.code)||a.undefined(o.code))&&(a.undefined(o.codeDescription)||a.string((e=o.codeDescription)===null||e===void 0?void 0:e.href))&&(a.string(o.source)||a.undefined(o.source))&&(a.undefined(o.relatedInformation)||a.typedArray(o.relatedInformation,ue.is))}n.is=i})(ne||(ne={}));var D;(function(n){function t(r,e){for(var o=[],s=2;s0&&(u.arguments=o),u}n.create=t;function i(r){var e=r;return a.defined(e)&&a.string(e.title)&&a.string(e.command)}n.is=i})(D||(D={}));var C;(function(n){function t(o,s){return{range:o,newText:s}}n.replace=t;function i(o,s){return{range:{start:o,end:o},newText:s}}n.insert=i;function r(o){return{range:o,newText:""}}n.del=r;function e(o){var s=o;return a.objectLiteral(s)&&a.string(s.newText)&&v.is(s.range)}n.is=e})(C||(C={}));var R;(function(n){function t(r,e,o){var s={label:r};return e!==void 0&&(s.needsConfirmation=e),o!==void 0&&(s.description=o),s}n.create=t;function i(r){var e=r;return e!==void 0&&a.objectLiteral(e)&&a.string(e.label)&&(a.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(a.string(e.description)||e.description===void 0)}n.is=i})(R||(R={}));var y;(function(n){function t(i){var r=i;return typeof r=="string"}n.is=t})(y||(y={}));var I;(function(n){function t(o,s,u){return{range:o,newText:s,annotationId:u}}n.replace=t;function i(o,s,u){return{range:{start:o,end:o},newText:s,annotationId:u}}n.insert=i;function r(o,s){return{range:o,newText:"",annotationId:s}}n.del=r;function e(o){var s=o;return C.is(s)&&(R.is(s.annotationId)||y.is(s.annotationId))}n.is=e})(I||(I={}));var te;(function(n){function t(r,e){return{textDocument:r,edits:e}}n.create=t;function i(r){var e=r;return a.defined(e)&&re.is(e.textDocument)&&Array.isArray(e.edits)}n.is=i})(te||(te={}));var L;(function(n){function t(r,e,o){var s={kind:"create",uri:r};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(s.options=e),o!==void 0&&(s.annotationId=o),s}n.create=t;function i(r){var e=r;return e&&e.kind==="create"&&a.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||y.is(e.annotationId))}n.is=i})(L||(L={}));var F;(function(n){function t(r,e,o,s){var u={kind:"rename",oldUri:r,newUri:e};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(u.options=o),s!==void 0&&(u.annotationId=s),u}n.create=t;function i(r){var e=r;return e&&e.kind==="rename"&&a.string(e.oldUri)&&a.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||y.is(e.annotationId))}n.is=i})(F||(F={}));var M;(function(n){function t(r,e,o){var s={kind:"delete",uri:r};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(s.options=e),o!==void 0&&(s.annotationId=o),s}n.create=t;function i(r){var e=r;return e&&e.kind==="delete"&&a.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||a.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||a.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||y.is(e.annotationId))}n.is=i})(M||(M={}));var de;(function(n){function t(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(e){return a.string(e.kind)?L.is(e)||F.is(e)||M.is(e):te.is(e)}))}n.is=t})(de||(de={}));var Z=function(){function n(t,i){this.edits=t,this.changeAnnotations=i}return n.prototype.insert=function(t,i,r){var e,o;if(r===void 0?e=C.insert(t,i):y.is(r)?(o=r,e=I.insert(t,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(r),e=I.insert(t,i,o)),this.edits.push(e),o!==void 0)return o},n.prototype.replace=function(t,i,r){var e,o;if(r===void 0?e=C.replace(t,i):y.is(r)?(o=r,e=I.replace(t,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(r),e=I.replace(t,i,o)),this.edits.push(e),o!==void 0)return o},n.prototype.delete=function(t,i){var r,e;if(i===void 0?r=C.del(t):y.is(i)?(e=i,r=I.del(t,i)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(i),r=I.del(t,e)),this.edits.push(r),e!==void 0)return e},n.prototype.add=function(t){this.edits.push(t)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),be=function(){function n(t){this._annotations=t===void 0?Object.create(null):t,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(t,i){var r;if(y.is(t)?r=t:(r=this.nextId(),i=t),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}(),Mn=function(){function n(t){var i=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new be(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(te.is(r)){var e=new Z(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=e}})):t.changes&&Object.keys(t.changes).forEach(function(r){var e=new Z(t.changes[r]);i._textEditChanges[r]=e})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(t){if(re.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:t.uri,version:t.version},r=this._textEditChanges[i.uri];if(!r){var e=[],o={textDocument:i,edits:e};this._workspaceEdit.documentChanges.push(o),r=new Z(e,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[t];if(!r){var e=[];this._workspaceEdit.changes[t]=e,r=new Z(e),this._textEditChanges[t]=r}return r}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new be,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(t,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(i)||y.is(i)?e=i:r=i;var o,s;if(e===void 0?o=L.create(t,r):(s=y.is(e)?e:this._changeAnnotations.manage(e),o=L.create(t,r,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n.prototype.renameFile=function(t,i,r,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var o;R.is(r)||y.is(r)?o=r:e=r;var s,u;if(o===void 0?s=F.create(t,i,e):(u=y.is(o)?o:this._changeAnnotations.manage(o),s=F.create(t,i,e,u)),this._workspaceEdit.documentChanges.push(s),u!==void 0)return u},n.prototype.deleteFile=function(t,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(i)||y.is(i)?e=i:r=i;var o,s;if(e===void 0?o=M.create(t,r):(s=y.is(e)?e:this._changeAnnotations.manage(e),o=M.create(t,r,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n}();var we;(function(n){function t(r){return{uri:r}}n.create=t;function i(r){var e=r;return a.defined(e)&&a.string(e.uri)}n.is=i})(we||(we={}));var Ee;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function i(r){var e=r;return a.defined(e)&&a.string(e.uri)&&a.integer(e.version)}n.is=i})(Ee||(Ee={}));var re;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function i(r){var e=r;return a.defined(e)&&a.string(e.uri)&&(e.version===null||a.integer(e.version))}n.is=i})(re||(re={}));var Re;(function(n){function t(r,e,o,s){return{uri:r,languageId:e,version:o,text:s}}n.create=t;function i(r){var e=r;return a.defined(e)&&a.string(e.uri)&&a.string(e.languageId)&&a.integer(e.version)&&a.string(e.text)}n.is=i})(Re||(Re={}));var A;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(A||(A={}));(function(n){function t(i){var r=i;return r===n.PlainText||r===n.Markdown}n.is=t})(A||(A={}));var ce;(function(n){function t(i){var r=i;return a.objectLiteral(i)&&A.is(r.kind)&&a.string(r.value)}n.is=t})(ce||(ce={}));var p;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(p||(p={}));var ie;(function(n){n.PlainText=1,n.Snippet=2})(ie||(ie={}));var Pe;(function(n){n.Deprecated=1})(Pe||(Pe={}));var Se;(function(n){function t(r,e,o){return{newText:r,insert:e,replace:o}}n.create=t;function i(r){var e=r;return e&&a.string(e.newText)&&v.is(e.insert)&&v.is(e.replace)}n.is=i})(Se||(Se={}));var We;(function(n){n.asIs=1,n.adjustIndentation=2})(We||(We={}));var De;(function(n){function t(i){return{label:i}}n.create=t})(De||(De={}));var Le;(function(n){function t(i,r){return{items:i||[],isIncomplete:!!r}}n.create=t})(Le||(Le={}));var oe;(function(n){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=t;function i(r){var e=r;return a.string(e)||a.objectLiteral(e)&&a.string(e.language)&&a.string(e.value)}n.is=i})(oe||(oe={}));var Fe;(function(n){function t(i){var r=i;return!!r&&a.objectLiteral(r)&&(ce.is(r.contents)||oe.is(r.contents)||a.typedArray(r.contents,oe.is))&&(i.range===void 0||v.is(i.range))}n.is=t})(Fe||(Fe={}));var Me;(function(n){function t(i,r){return r?{label:i,documentation:r}:{label:i}}n.create=t})(Me||(Me={}));var Ae;(function(n){function t(i,r){for(var e=[],o=2;o=0;g--){var m=l[g],k=o.offsetAt(m.range.start),c=o.offsetAt(m.range.end);if(c<=f)u=u.substring(0,k)+m.newText+u.substring(c,u.length);else throw new Error("Overlapping edit");f=k}return u}n.applyEdits=r;function e(o,s){if(o.length<=1)return o;var u=o.length/2|0,l=o.slice(0,u),f=o.slice(u);e(l,s),e(f,s);for(var g=0,m=0,k=0;g0&&t.push(i.length),this._lineOffsets=t}return this._lineOffsets},n.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var i=this.getLineOffsets(),r=0,e=i.length;if(e===0)return x.create(0,t);for(;rt?e=o:r=o+1}var s=r-1;return x.create(s,t-i[s])},n.prototype.offsetAt=function(t){var i=this.getLineOffsets();if(t.line>=i.length)return this._content.length;if(t.line<0)return 0;var r=i[t.line],e=t.line+1"u"}n.undefined=r;function e(c){return c===!0||c===!1}n.boolean=e;function o(c){return t.call(c)==="[object String]"}n.string=o;function s(c){return t.call(c)==="[object Number]"}n.number=s;function u(c,w,G){return t.call(c)==="[object Number]"&&w<=c&&c<=G}n.numberRange=u;function l(c){return t.call(c)==="[object Number]"&&-2147483648<=c&&c<=2147483647}n.integer=l;function f(c){return t.call(c)==="[object Number]"&&0<=c&&c<=2147483647}n.uinteger=f;function g(c){return t.call(c)==="[object Function]"}n.func=g;function m(c){return c!==null&&typeof c=="object"}n.objectLiteral=m;function k(c,w){return Array.isArray(c)&&c.every(w)}n.typedArray=k})(a||(a={}));var K=class{constructor(t,i,r){this._languageId=t;this._worker=i;let e=s=>{let u=s.getLanguageId();if(u!==this._languageId)return;let l;this._listener[s.uri.toString()]=s.onDidChangeContent(()=>{window.clearTimeout(l),l=window.setTimeout(()=>this._doValidate(s.uri,u),500)}),this._doValidate(s.uri,u)},o=s=>{d.editor.setModelMarkers(s,this._languageId,[]);let u=s.uri.toString(),l=this._listener[u];l&&(l.dispose(),delete this._listener[u])};this._disposables.push(d.editor.onDidCreateModel(e)),this._disposables.push(d.editor.onWillDisposeModel(o)),this._disposables.push(d.editor.onDidChangeModelLanguage(s=>{o(s.model),e(s.model)})),this._disposables.push(r(s=>{d.editor.getModels().forEach(u=>{u.getLanguageId()===this._languageId&&(o(u),e(u))})})),this._disposables.push({dispose:()=>{d.editor.getModels().forEach(o);for(let s in this._listener)this._listener[s].dispose()}}),d.editor.getModels().forEach(e)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(t=>t&&t.dispose()),this._disposables.length=0}_doValidate(t,i){this._worker(t).then(r=>r.doValidation(t.toString())).then(r=>{let e=r.map(s=>hn(t,s)),o=d.editor.getModel(t);o&&o.getLanguageId()===i&&d.editor.setModelMarkers(o,i,e)}).then(void 0,r=>{console.error(r)})}};function pn(n){switch(n){case b.Error:return d.MarkerSeverity.Error;case b.Warning:return d.MarkerSeverity.Warning;case b.Information:return d.MarkerSeverity.Info;case b.Hint:return d.MarkerSeverity.Hint;default:return d.MarkerSeverity.Info}}function hn(n,t){let i=typeof t.code=="number"?String(t.code):t.code;return{severity:pn(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:i,source:t.source}}var H=class{constructor(t,i){this._worker=t;this._triggerCharacters=i}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(t,i,r,e){let o=t.uri;return this._worker(o).then(s=>s.doComplete(o.toString(),_(i))).then(s=>{if(!s)return;let u=t.getWordUntilPosition(i),l=new d.Range(i.lineNumber,u.startColumn,i.lineNumber,u.endColumn),f=s.items.map(g=>{let m={label:g.label,insertText:g.insertText||g.label,sortText:g.sortText,filterText:g.filterText,documentation:g.documentation,detail:g.detail,command:yn(g.command),range:l,kind:vn(g.kind)};return g.textEdit&&(mn(g.textEdit)?m.range={insert:T(g.textEdit.insert),replace:T(g.textEdit.replace)}:m.range=T(g.textEdit.range),m.insertText=g.textEdit.newText),g.additionalTextEdits&&(m.additionalTextEdits=g.additionalTextEdits.map(W)),g.insertTextFormat===ie.Snippet&&(m.insertTextRules=d.languages.CompletionItemInsertTextRule.InsertAsSnippet),m});return{isIncomplete:s.isIncomplete,suggestions:f}})}};function _(n){if(!!n)return{character:n.column-1,line:n.lineNumber-1}}function ge(n){if(!!n)return{start:{line:n.startLineNumber-1,character:n.startColumn-1},end:{line:n.endLineNumber-1,character:n.endColumn-1}}}function T(n){if(!!n)return new d.Range(n.start.line+1,n.start.character+1,n.end.line+1,n.end.character+1)}function mn(n){return typeof n.insert<"u"&&typeof n.replace<"u"}function vn(n){let t=d.languages.CompletionItemKind;switch(n){case p.Text:return t.Text;case p.Method:return t.Method;case p.Function:return t.Function;case p.Constructor:return t.Constructor;case p.Field:return t.Field;case p.Variable:return t.Variable;case p.Class:return t.Class;case p.Interface:return t.Interface;case p.Module:return t.Module;case p.Property:return t.Property;case p.Unit:return t.Unit;case p.Value:return t.Value;case p.Enum:return t.Enum;case p.Keyword:return t.Keyword;case p.Snippet:return t.Snippet;case p.Color:return t.Color;case p.File:return t.File;case p.Reference:return t.Reference}return t.Property}function W(n){if(!!n)return{range:T(n.range),text:n.newText}}function yn(n){return n&&n.command==="editor.action.triggerSuggest"?{id:n.command,title:n.title,arguments:n.arguments}:void 0}var U=class{constructor(t){this._worker=t}provideHover(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.doHover(e.toString(),_(i))).then(o=>{if(!!o)return{range:T(o.range),contents:xn(o.contents)}})}};function Tn(n){return n&&typeof n=="object"&&typeof n.kind=="string"}function Qe(n){return typeof n=="string"?{value:n}:Tn(n)?n.kind==="plaintext"?{value:n.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:n.value}:{value:"```"+n.language+` +`+n.value+"\n```\n"}}function xn(n){if(!!n)return Array.isArray(n)?n.map(Qe):[Qe(n)]}var j=class{constructor(t){this._worker=t}provideDocumentHighlights(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.findDocumentHighlights(e.toString(),_(i))).then(o=>{if(!!o)return o.map(s=>({range:T(s.range),kind:kn(s.kind)}))})}};function kn(n){switch(n){case S.Read:return d.languages.DocumentHighlightKind.Read;case S.Write:return d.languages.DocumentHighlightKind.Write;case S.Text:return d.languages.DocumentHighlightKind.Text}return d.languages.DocumentHighlightKind.Text}var O=class{constructor(t){this._worker=t}provideDefinition(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.findDefinition(e.toString(),_(i))).then(o=>{if(!!o)return[Ge(o)]})}};function Ge(n){return{uri:d.Uri.parse(n.uri),range:T(n.range)}}var N=class{constructor(t){this._worker=t}provideReferences(t,i,r,e){let o=t.uri;return this._worker(o).then(s=>s.findReferences(o.toString(),_(i))).then(s=>{if(!!s)return s.map(Ge)})}},V=class{constructor(t){this._worker=t}provideRenameEdits(t,i,r,e){let o=t.uri;return this._worker(o).then(s=>s.doRename(o.toString(),_(i),r)).then(s=>In(s))}};function In(n){if(!n||!n.changes)return;let t=[];for(let i in n.changes){let r=d.Uri.parse(i);for(let e of n.changes[i])t.push({resource:r,versionId:void 0,textEdit:{range:T(e.range),text:e.newText}})}return{edits:t}}var z=class{constructor(t){this._worker=t}provideDocumentSymbols(t,i){let r=t.uri;return this._worker(r).then(e=>e.findDocumentSymbols(r.toString())).then(e=>{if(!!e)return e.map(o=>({name:o.name,detail:"",containerName:o.containerName,kind:Cn(o.kind),range:T(o.location.range),selectionRange:T(o.location.range),tags:[]}))})}};function Cn(n){let t=d.languages.SymbolKind;switch(n){case h.File:return t.Array;case h.Module:return t.Module;case h.Namespace:return t.Namespace;case h.Package:return t.Package;case h.Class:return t.Class;case h.Method:return t.Method;case h.Property:return t.Property;case h.Field:return t.Field;case h.Constructor:return t.Constructor;case h.Enum:return t.Enum;case h.Interface:return t.Interface;case h.Function:return t.Function;case h.Variable:return t.Variable;case h.Constant:return t.Constant;case h.String:return t.String;case h.Number:return t.Number;case h.Boolean:return t.Boolean;case h.Array:return t.Array}return t.Function}var le=class{constructor(t){this._worker=t}provideLinks(t,i){let r=t.uri;return this._worker(r).then(e=>e.findDocumentLinks(r.toString())).then(e=>{if(!!e)return{links:e.map(o=>({range:T(o.range),url:o.target}))}})}},X=class{constructor(t){this._worker=t}provideDocumentFormattingEdits(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.format(e.toString(),null,Je(i)).then(s=>{if(!(!s||s.length===0))return s.map(W)}))}},B=class{constructor(t){this._worker=t}canFormatMultipleRanges=!1;provideDocumentRangeFormattingEdits(t,i,r,e){let o=t.uri;return this._worker(o).then(s=>s.format(o.toString(),ge(i),Je(r)).then(u=>{if(!(!u||u.length===0))return u.map(W)}))}};function Je(n){return{tabSize:n.tabSize,insertSpaces:n.insertSpaces}}var $=class{constructor(t){this._worker=t}provideDocumentColors(t,i){let r=t.uri;return this._worker(r).then(e=>e.findDocumentColors(r.toString())).then(e=>{if(!!e)return e.map(o=>({color:o.color,range:T(o.range)}))})}provideColorPresentations(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.getColorPresentations(e.toString(),i.color,ge(i.range))).then(o=>{if(!!o)return o.map(s=>{let u={label:s.label};return s.textEdit&&(u.textEdit=W(s.textEdit)),s.additionalTextEdits&&(u.additionalTextEdits=s.additionalTextEdits.map(W)),u})})}},q=class{constructor(t){this._worker=t}provideFoldingRanges(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.getFoldingRanges(e.toString(),i)).then(o=>{if(!!o)return o.map(s=>{let u={start:s.startLine+1,end:s.endLine+1};return typeof s.kind<"u"&&(u.kind=_n(s.kind)),u})})}};function _n(n){switch(n){case P.Comment:return d.languages.FoldingRangeKind.Comment;case P.Imports:return d.languages.FoldingRangeKind.Imports;case P.Region:return d.languages.FoldingRangeKind.Region}}var Q=class{constructor(t){this._worker=t}provideSelectionRanges(t,i,r){let e=t.uri;return this._worker(e).then(o=>o.getSelectionRanges(e.toString(),i.map(_))).then(o=>{if(!!o)return o.map(s=>{let u=[];for(;s;)u.push({range:T(s.range)}),s=s.parent;return u})})}};function wn(n){let t=[],i=[],r=new E(n);t.push(r);let e=(...s)=>r.getLanguageServiceWorker(...s);function o(){let{languageId:s,modeConfiguration:u}=n;Ze(i),u.completionItems&&i.push(d.languages.registerCompletionItemProvider(s,new H(e,["/","-",":"]))),u.hovers&&i.push(d.languages.registerHoverProvider(s,new U(e))),u.documentHighlights&&i.push(d.languages.registerDocumentHighlightProvider(s,new j(e))),u.definitions&&i.push(d.languages.registerDefinitionProvider(s,new O(e))),u.references&&i.push(d.languages.registerReferenceProvider(s,new N(e))),u.documentSymbols&&i.push(d.languages.registerDocumentSymbolProvider(s,new z(e))),u.rename&&i.push(d.languages.registerRenameProvider(s,new V(e))),u.colors&&i.push(d.languages.registerColorProvider(s,new $(e))),u.foldingRanges&&i.push(d.languages.registerFoldingRangeProvider(s,new q(e))),u.diagnostics&&i.push(new K(s,e,n.onDidChange)),u.selectionRanges&&i.push(d.languages.registerSelectionRangeProvider(s,new Q(e))),u.documentFormattingEdits&&i.push(d.languages.registerDocumentFormattingEditProvider(s,new X(e))),u.documentRangeFormattingEdits&&i.push(d.languages.registerDocumentRangeFormattingEditProvider(s,new B(e)))}return o(),t.push(Ye(i)),Ye(t)}function Ye(n){return{dispose:()=>Ze(n)}}function Ze(n){for(;n.length;)n.pop().dispose()}return dn(En);})(); +return moduleExports; +}); diff --git a/v2realbot/static/js/libs/monaco/vs/language/css/cssWorker.js b/v2realbot/static/js/libs/monaco/vs/language/css/cssWorker.js new file mode 100644 index 0000000..bdd83a7 --- /dev/null +++ b/v2realbot/static/js/libs/monaco/vs/language/css/cssWorker.js @@ -0,0 +1,81 @@ +"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/language/css/cssWorker", ["require","require"],(require)=>{ +var moduleExports=(()=>{var $n=Object.defineProperty;var ds=Object.getOwnPropertyDescriptor;var hs=Object.getOwnPropertyNames;var ps=Object.prototype.hasOwnProperty;var us=(n,e)=>{for(var t in e)$n(n,t,{get:e[t],enumerable:!0})},ms=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hs(e))!ps.call(n,i)&&i!==t&&$n(n,i,{get:()=>e[i],enumerable:!(r=ds(e,i))||r.enumerable});return n};var fs=n=>ms($n({},"__esModule",{value:!0}),n);var sl={};us(sl,{CSSWorker:()=>Vn,create:()=>ol});var d;(function(n){n[n.Ident=0]="Ident",n[n.AtKeyword=1]="AtKeyword",n[n.String=2]="String",n[n.BadString=3]="BadString",n[n.UnquotedString=4]="UnquotedString",n[n.Hash=5]="Hash",n[n.Num=6]="Num",n[n.Percentage=7]="Percentage",n[n.Dimension=8]="Dimension",n[n.UnicodeRange=9]="UnicodeRange",n[n.CDO=10]="CDO",n[n.CDC=11]="CDC",n[n.Colon=12]="Colon",n[n.SemiColon=13]="SemiColon",n[n.CurlyL=14]="CurlyL",n[n.CurlyR=15]="CurlyR",n[n.ParenthesisL=16]="ParenthesisL",n[n.ParenthesisR=17]="ParenthesisR",n[n.BracketL=18]="BracketL",n[n.BracketR=19]="BracketR",n[n.Whitespace=20]="Whitespace",n[n.Includes=21]="Includes",n[n.Dashmatch=22]="Dashmatch",n[n.SubstringOperator=23]="SubstringOperator",n[n.PrefixOperator=24]="PrefixOperator",n[n.SuffixOperator=25]="SuffixOperator",n[n.Delim=26]="Delim",n[n.EMS=27]="EMS",n[n.EXS=28]="EXS",n[n.Length=29]="Length",n[n.Angle=30]="Angle",n[n.Time=31]="Time",n[n.Freq=32]="Freq",n[n.Exclamation=33]="Exclamation",n[n.Resolution=34]="Resolution",n[n.Comma=35]="Comma",n[n.Charset=36]="Charset",n[n.EscapedJavaScript=37]="EscapedJavaScript",n[n.BadEscapedJavaScript=38]="BadEscapedJavaScript",n[n.Comment=39]="Comment",n[n.SingleLineComment=40]="SingleLineComment",n[n.EOF=41]="EOF",n[n.CustomToken=42]="CustomToken"})(d||(d={}));var Kr=function(){function n(e){this.source=e,this.len=e.length,this.position=0}return n.prototype.substring=function(e,t){return t===void 0&&(t=this.position),this.source.substring(e,t)},n.prototype.eos=function(){return this.len<=this.position},n.prototype.pos=function(){return this.position},n.prototype.goBackTo=function(e){this.position=e},n.prototype.goBack=function(e){this.position-=e},n.prototype.advance=function(e){this.position+=e},n.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},n.prototype.peekChar=function(e){return e===void 0&&(e=0),this.source.charCodeAt(this.position+e)||0},n.prototype.lookbackChar=function(e){return e===void 0&&(e=0),this.source.charCodeAt(this.position-e)||0},n.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1},n.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t=kt&&t<=Ct?(this.stream.advance(e+1),this.stream.advanceWhileChar(function(r){return r>=kt&&r<=Ct||e===0&&r===ti}),!0):!1},n.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case lt:case Ft:case at:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===lt&&this.stream.advanceIfChar(at)&&e.push(` +`),!0}return!1},n.prototype._escape=function(e,t){var r=this.stream.peekChar();if(r===Kn){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=kt&&r<=Ct||r>=nn&&r<=Gr||r>=rn&&r<=Jr);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var o=parseInt(this.stream.substring(this.stream.pos()-i),16);o&&e.push(String.fromCharCode(o))}catch{}return r===Gn||r===Hn?this.stream.advance(1):this._newline([]),!0}if(r!==lt&&r!==Ft&&r!==at)return this.stream.advance(1),e.push(String.fromCharCode(r)),!0;if(t)return this._newline(e)}return!1},n.prototype._stringChar=function(e,t){var r=this.stream.peekChar();return r!==0&&r!==e&&r!==Kn&&r!==lt&&r!==Ft&&r!==at?(this.stream.advance(1),t.push(String.fromCharCode(r)),!0):!1},n.prototype._string=function(e){if(this.stream.peekChar()===ei||this.stream.peekChar()===Zr){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),d.String):d.BadString}return null},n.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return t!==0&&t!==Kn&&t!==ei&&t!==Zr&&t!==ri&&t!==ii&&t!==Gn&&t!==Hn&&t!==at&&t!==Ft&&t!==lt?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},n.prototype._whitespace=function(){var e=this.stream.advanceWhileChar(function(t){return t===Gn||t===Hn||t===at||t===Ft||t===lt});return e>0},n.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},n.prototype.ident=function(e){var t=this.stream.pos(),r=this._minus(e);if(r){if(this._minus(e)||this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},n.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return t===Yr||t>=nn&&t<=Hr||t>=rn&&t<=Xr||t>=128&&t<=65535?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._minus=function(e){var t=this.stream.peekChar();return t===Ye?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._identChar=function(e){var t=this.stream.peekChar();return t===Yr||t===Ye||t>=nn&&t<=Hr||t>=rn&&t<=Xr||t>=kt&&t<=Ct||t>=128&&t<=65535?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._unicodeRange=function(){if(this.stream.advanceIfChar(Ts)){var e=function(i){return i>=kt&&i<=Ct||i>=nn&&i<=Gr||i>=rn&&i<=Jr},t=this.stream.advanceWhileChar(e)+this.stream.advanceWhileChar(function(i){return i===Ms});if(t>=1&&t<=6)if(this.stream.advanceIfChar(Ye)){var r=this.stream.advanceWhileChar(e);if(r>=1&&r<=6)return!0}else return!0}return!1},n}();function q(n,e){if(n.length0?n.lastIndexOf(e)===t:t===0?n===e:!1}function oi(n,e,t){t===void 0&&(t=4);var r=Math.abs(n.length-e.length);if(r>t)return 0;var i=[],o=[],s,a;for(s=0;s0;)(e&1)===1&&(t+=n),n+=n,e=e>>>1;return t}var E=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),u;(function(n){n[n.Undefined=0]="Undefined",n[n.Identifier=1]="Identifier",n[n.Stylesheet=2]="Stylesheet",n[n.Ruleset=3]="Ruleset",n[n.Selector=4]="Selector",n[n.SimpleSelector=5]="SimpleSelector",n[n.SelectorInterpolation=6]="SelectorInterpolation",n[n.SelectorCombinator=7]="SelectorCombinator",n[n.SelectorCombinatorParent=8]="SelectorCombinatorParent",n[n.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",n[n.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",n[n.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",n[n.Page=12]="Page",n[n.PageBoxMarginBox=13]="PageBoxMarginBox",n[n.ClassSelector=14]="ClassSelector",n[n.IdentifierSelector=15]="IdentifierSelector",n[n.ElementNameSelector=16]="ElementNameSelector",n[n.PseudoSelector=17]="PseudoSelector",n[n.AttributeSelector=18]="AttributeSelector",n[n.Declaration=19]="Declaration",n[n.Declarations=20]="Declarations",n[n.Property=21]="Property",n[n.Expression=22]="Expression",n[n.BinaryExpression=23]="BinaryExpression",n[n.Term=24]="Term",n[n.Operator=25]="Operator",n[n.Value=26]="Value",n[n.StringLiteral=27]="StringLiteral",n[n.URILiteral=28]="URILiteral",n[n.EscapedValue=29]="EscapedValue",n[n.Function=30]="Function",n[n.NumericValue=31]="NumericValue",n[n.HexColorValue=32]="HexColorValue",n[n.RatioValue=33]="RatioValue",n[n.MixinDeclaration=34]="MixinDeclaration",n[n.MixinReference=35]="MixinReference",n[n.VariableName=36]="VariableName",n[n.VariableDeclaration=37]="VariableDeclaration",n[n.Prio=38]="Prio",n[n.Interpolation=39]="Interpolation",n[n.NestedProperties=40]="NestedProperties",n[n.ExtendsReference=41]="ExtendsReference",n[n.SelectorPlaceholder=42]="SelectorPlaceholder",n[n.Debug=43]="Debug",n[n.If=44]="If",n[n.Else=45]="Else",n[n.For=46]="For",n[n.Each=47]="Each",n[n.While=48]="While",n[n.MixinContentReference=49]="MixinContentReference",n[n.MixinContentDeclaration=50]="MixinContentDeclaration",n[n.Media=51]="Media",n[n.Keyframe=52]="Keyframe",n[n.FontFace=53]="FontFace",n[n.Import=54]="Import",n[n.Namespace=55]="Namespace",n[n.Invocation=56]="Invocation",n[n.FunctionDeclaration=57]="FunctionDeclaration",n[n.ReturnStatement=58]="ReturnStatement",n[n.MediaQuery=59]="MediaQuery",n[n.MediaCondition=60]="MediaCondition",n[n.MediaFeature=61]="MediaFeature",n[n.FunctionParameter=62]="FunctionParameter",n[n.FunctionArgument=63]="FunctionArgument",n[n.KeyframeSelector=64]="KeyframeSelector",n[n.ViewPort=65]="ViewPort",n[n.Document=66]="Document",n[n.AtApplyRule=67]="AtApplyRule",n[n.CustomPropertyDeclaration=68]="CustomPropertyDeclaration",n[n.CustomPropertySet=69]="CustomPropertySet",n[n.ListEntry=70]="ListEntry",n[n.Supports=71]="Supports",n[n.SupportsCondition=72]="SupportsCondition",n[n.NamespacePrefix=73]="NamespacePrefix",n[n.GridLine=74]="GridLine",n[n.Plugin=75]="Plugin",n[n.UnknownAtRule=76]="UnknownAtRule",n[n.Use=77]="Use",n[n.ModuleConfiguration=78]="ModuleConfiguration",n[n.Forward=79]="Forward",n[n.ForwardVisibility=80]="ForwardVisibility",n[n.Module=81]="Module",n[n.UnicodeRange=82]="UnicodeRange"})(u||(u={}));var A;(function(n){n[n.Mixin=0]="Mixin",n[n.Rule=1]="Rule",n[n.Variable=2]="Variable",n[n.Function=3]="Function",n[n.Keyframe=4]="Keyframe",n[n.Unknown=5]="Unknown",n[n.Module=6]="Module",n[n.Forward=7]="Forward",n[n.ForwardVisibility=8]="ForwardVisibility"})(A||(A={}));function sn(n,e){var t=null;return!n||en.end?null:(n.accept(function(r){return r.offset===-1&&r.length===-1?!0:r.offset<=e&&r.end>=e?(t?r.length<=t.length&&(t=r):t=r,!0):!1}),t)}function ct(n,e){for(var t=sn(n,e),r=[];t;)r.unshift(t),t=t.parent;return r}function ai(n){var e=n.findParent(u.Declaration),t=e&&e.getValue();return t&&t.encloses(n)?e:null}var F=function(){function n(e,t,r){e===void 0&&(e=-1),t===void 0&&(t=-1),this.parent=null,this.offset=e,this.length=t,r&&(this.nodeType=r)}return Object.defineProperty(n.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return this.nodeType||u.Undefined},set:function(e){this.nodeType=e},enumerable:!1,configurable:!0}),n.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},n.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},n.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},n.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},n.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},n.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,r=this.children;t=0&&e.parent.children.splice(r,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),t!==-1?i.splice(t,0,e):i.push(e),e},n.prototype.attachTo=function(e,t){return t===void 0&&(t=-1),e&&e.adoptChild(this,t),this},n.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},n.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},n.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some(function(t){return t.getRule()===e})},n.prototype.isErroneous=function(e){return e===void 0&&(e=!1),this.issues&&this.issues.length>0?!0:e&&Array.isArray(this.children)&&this.children.some(function(t){return t.isErroneous(!0)})},n.prototype.setNode=function(e,t,r){return r===void 0&&(r=-1),t?(t.attachTo(this,r),this[e]=t,!0):!1},n.prototype.addChild=function(e){return e?(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0):!1},n.prototype.updateOffsetAndLength=function(e){(e.offsetthis.end||this.length===-1)&&(this.length=t-this.offset)},n.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},n.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},n.prototype.getChild=function(e){return this.children&&e=0;r--)if(t=this.children[r],t.offset<=e)return t}return null},n.prototype.findChildAtOffset=function(e,t){var r=this.findFirstChildBeforeOffset(e);return r&&r.end>=e?t&&r.findChildAtOffset(e,!0)||r:null},n.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},n.prototype.getParent=function(){for(var e=this.parent;e instanceof ee;)e=e.parent;return e},n.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},n.prototype.findAParent=function(){for(var e=[],t=0;t{let o=i[0];return typeof e[o]<"u"?e[o]:r}),t}function js(n,e,...t){return Us(e,t)}function H(n){return js}var U=H(),j=function(){function n(e,t){this.id=e,this.message=t}return n}();var f={NumberExpected:new j("css-numberexpected",U("expected.number","number expected")),ConditionExpected:new j("css-conditionexpected",U("expected.condt","condition expected")),RuleOrSelectorExpected:new j("css-ruleorselectorexpected",U("expected.ruleorselector","at-rule or selector expected")),DotExpected:new j("css-dotexpected",U("expected.dot","dot expected")),ColonExpected:new j("css-colonexpected",U("expected.colon","colon expected")),SemiColonExpected:new j("css-semicolonexpected",U("expected.semicolon","semi-colon expected")),TermExpected:new j("css-termexpected",U("expected.term","term expected")),ExpressionExpected:new j("css-expressionexpected",U("expected.expression","expression expected")),OperatorExpected:new j("css-operatorexpected",U("expected.operator","operator expected")),IdentifierExpected:new j("css-identifierexpected",U("expected.ident","identifier expected")),PercentageExpected:new j("css-percentageexpected",U("expected.percentage","percentage expected")),URIOrStringExpected:new j("css-uriorstringexpected",U("expected.uriorstring","uri or string expected")),URIExpected:new j("css-uriexpected",U("expected.uri","URI expected")),VariableNameExpected:new j("css-varnameexpected",U("expected.varname","variable name expected")),VariableValueExpected:new j("css-varvalueexpected",U("expected.varvalue","variable value expected")),PropertyValueExpected:new j("css-propertyvalueexpected",U("expected.propvalue","property value expected")),LeftCurlyExpected:new j("css-lcurlyexpected",U("expected.lcurly","{ expected")),RightCurlyExpected:new j("css-rcurlyexpected",U("expected.rcurly","} expected")),LeftSquareBracketExpected:new j("css-rbracketexpected",U("expected.lsquare","[ expected")),RightSquareBracketExpected:new j("css-lbracketexpected",U("expected.rsquare","] expected")),LeftParenthesisExpected:new j("css-lparentexpected",U("expected.lparen","( expected")),RightParenthesisExpected:new j("css-rparentexpected",U("expected.rparent",") expected")),CommaExpected:new j("css-commaexpected",U("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new j("css-pagedirordeclexpected",U("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new j("css-unknownatrule",U("unknown.atrule","at-rule unknown")),UnknownKeyword:new j("css-unknownkeyword",U("unknown.keyword","unknown keyword")),SelectorExpected:new j("css-selectorexpected",U("expected.selector","selector expected")),StringLiteralExpected:new j("css-stringliteralexpected",U("expected.stringliteral","string literal expected")),WhitespaceExpected:new j("css-whitespaceexpected",U("expected.whitespace","whitespace expected")),MediaQueryExpected:new j("css-mediaqueryexpected",U("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new j("css-idorwildcardexpected",U("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new j("css-wildcardexpected",U("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new j("css-idorvarexpected",U("expected.idorvar","identifier or variable expected"))};var Oi;(function(n){n.MIN_VALUE=-2147483648,n.MAX_VALUE=2147483647})(Oi||(Oi={}));var bn;(function(n){n.MIN_VALUE=0,n.MAX_VALUE=2147483647})(bn||(bn={}));var Q;(function(n){function e(r,i){return r===Number.MAX_VALUE&&(r=bn.MAX_VALUE),i===Number.MAX_VALUE&&(i=bn.MAX_VALUE),{line:r,character:i}}n.create=e;function t(r){var i=r;return v.objectLiteral(i)&&v.uinteger(i.line)&&v.uinteger(i.character)}n.is=t})(Q||(Q={}));var W;(function(n){function e(r,i,o,s){if(v.uinteger(r)&&v.uinteger(i)&&v.uinteger(o)&&v.uinteger(s))return{start:Q.create(r,i),end:Q.create(o,s)};if(Q.is(r)&&Q.is(i))return{start:r,end:i};throw new Error("Range#create called with invalid arguments["+r+", "+i+", "+o+", "+s+"]")}n.create=e;function t(r){var i=r;return v.objectLiteral(i)&&Q.is(i.start)&&Q.is(i.end)}n.is=t})(W||(W={}));var tt;(function(n){function e(r,i){return{uri:r,range:i}}n.create=e;function t(r){var i=r;return v.defined(i)&&W.is(i.range)&&(v.string(i.uri)||v.undefined(i.uri))}n.is=t})(tt||(tt={}));var Wi;(function(n){function e(r,i,o,s){return{targetUri:r,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}n.create=e;function t(r){var i=r;return v.defined(i)&&W.is(i.targetRange)&&v.string(i.targetUri)&&(W.is(i.targetSelectionRange)||v.undefined(i.targetSelectionRange))&&(W.is(i.originSelectionRange)||v.undefined(i.originSelectionRange))}n.is=t})(Wi||(Wi={}));var vn;(function(n){function e(r,i,o,s){return{red:r,green:i,blue:o,alpha:s}}n.create=e;function t(r){var i=r;return v.numberRange(i.red,0,1)&&v.numberRange(i.green,0,1)&&v.numberRange(i.blue,0,1)&&v.numberRange(i.alpha,0,1)}n.is=t})(vn||(vn={}));var er;(function(n){function e(r,i){return{range:r,color:i}}n.create=e;function t(r){var i=r;return W.is(i.range)&&vn.is(i.color)}n.is=t})(er||(er={}));var tr;(function(n){function e(r,i,o){return{label:r,textEdit:i,additionalTextEdits:o}}n.create=e;function t(r){var i=r;return v.string(i.label)&&(v.undefined(i.textEdit)||T.is(i))&&(v.undefined(i.additionalTextEdits)||v.typedArray(i.additionalTextEdits,T.is))}n.is=t})(tr||(tr={}));var nr;(function(n){n.Comment="comment",n.Imports="imports",n.Region="region"})(nr||(nr={}));var rr;(function(n){function e(r,i,o,s,a){var l={startLine:r,endLine:i};return v.defined(o)&&(l.startCharacter=o),v.defined(s)&&(l.endCharacter=s),v.defined(a)&&(l.kind=a),l}n.create=e;function t(r){var i=r;return v.uinteger(i.startLine)&&v.uinteger(i.startLine)&&(v.undefined(i.startCharacter)||v.uinteger(i.startCharacter))&&(v.undefined(i.endCharacter)||v.uinteger(i.endCharacter))&&(v.undefined(i.kind)||v.string(i.kind))}n.is=t})(rr||(rr={}));var ir;(function(n){function e(r,i){return{location:r,message:i}}n.create=e;function t(r){var i=r;return v.defined(i)&&tt.is(i.location)&&v.string(i.message)}n.is=t})(ir||(ir={}));var ft;(function(n){n.Error=1,n.Warning=2,n.Information=3,n.Hint=4})(ft||(ft={}));var Li;(function(n){n.Unnecessary=1,n.Deprecated=2})(Li||(Li={}));var Ui;(function(n){function e(t){var r=t;return r!=null&&v.string(r.href)}n.is=e})(Ui||(Ui={}));var Mt;(function(n){function e(r,i,o,s,a,l){var c={range:r,message:i};return v.defined(o)&&(c.severity=o),v.defined(s)&&(c.code=s),v.defined(a)&&(c.source=a),v.defined(l)&&(c.relatedInformation=l),c}n.create=e;function t(r){var i,o=r;return v.defined(o)&&W.is(o.range)&&v.string(o.message)&&(v.number(o.severity)||v.undefined(o.severity))&&(v.integer(o.code)||v.string(o.code)||v.undefined(o.code))&&(v.undefined(o.codeDescription)||v.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(v.string(o.source)||v.undefined(o.source))&&(v.undefined(o.relatedInformation)||v.typedArray(o.relatedInformation,ir.is))}n.is=t})(Mt||(Mt={}));var Ge;(function(n){function e(r,i){for(var o=[],s=2;s0&&(a.arguments=o),a}n.create=e;function t(r){var i=r;return v.defined(i)&&v.string(i.title)&&v.string(i.command)}n.is=t})(Ge||(Ge={}));var T;(function(n){function e(o,s){return{range:o,newText:s}}n.replace=e;function t(o,s){return{range:{start:o,end:o},newText:s}}n.insert=t;function r(o){return{range:o,newText:""}}n.del=r;function i(o){var s=o;return v.objectLiteral(s)&&v.string(s.newText)&&W.is(s.range)}n.is=i})(T||(T={}));var mt;(function(n){function e(r,i,o){var s={label:r};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}n.create=e;function t(r){var i=r;return i!==void 0&&v.objectLiteral(i)&&v.string(i.label)&&(v.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(v.string(i.description)||i.description===void 0)}n.is=t})(mt||(mt={}));var le;(function(n){function e(t){var r=t;return typeof r=="string"}n.is=e})(le||(le={}));var Ke;(function(n){function e(o,s,a){return{range:o,newText:s,annotationId:a}}n.replace=e;function t(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}n.insert=t;function r(o,s){return{range:o,newText:"",annotationId:s}}n.del=r;function i(o){var s=o;return T.is(s)&&(mt.is(s.annotationId)||le.is(s.annotationId))}n.is=i})(Ke||(Ke={}));var nt;(function(n){function e(r,i){return{textDocument:r,edits:i}}n.create=e;function t(r){var i=r;return v.defined(i)&&wn.is(i.textDocument)&&Array.isArray(i.edits)}n.is=t})(nt||(nt={}));var Tt;(function(n){function e(r,i,o){var s={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}n.create=e;function t(r){var i=r;return i&&i.kind==="create"&&v.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||v.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||v.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||le.is(i.annotationId))}n.is=t})(Tt||(Tt={}));var Pt;(function(n){function e(r,i,o,s){var a={kind:"rename",oldUri:r,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){var i=r;return i&&i.kind==="rename"&&v.string(i.oldUri)&&v.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||v.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||v.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||le.is(i.annotationId))}n.is=t})(Pt||(Pt={}));var At;(function(n){function e(r,i,o){var s={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}n.create=e;function t(r){var i=r;return i&&i.kind==="delete"&&v.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||v.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||v.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||le.is(i.annotationId))}n.is=t})(At||(At={}));var yn;(function(n){function e(t){var r=t;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return v.string(i.kind)?Tt.is(i)||Pt.is(i)||At.is(i):nt.is(i)}))}n.is=e})(yn||(yn={}));var gn=function(){function n(e,t){this.edits=e,this.changeAnnotations=t}return n.prototype.insert=function(e,t,r){var i,o;if(r===void 0?i=T.insert(e,t):le.is(r)?(o=r,i=Ke.insert(e,t,r)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(r),i=Ke.insert(e,t,o)),this.edits.push(i),o!==void 0)return o},n.prototype.replace=function(e,t,r){var i,o;if(r===void 0?i=T.replace(e,t):le.is(r)?(o=r,i=Ke.replace(e,t,r)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(r),i=Ke.replace(e,t,o)),this.edits.push(i),o!==void 0)return o},n.prototype.delete=function(e,t){var r,i;if(t===void 0?r=T.del(e):le.is(t)?(i=t,r=Ke.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(t),r=Ke.del(e,i)),this.edits.push(r),i!==void 0)return i},n.prototype.add=function(e){this.edits.push(e)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(e){if(e===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),ji=function(){function n(e){this._annotations=e===void 0?Object.create(null):e,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(e,t){var r;if(le.is(e)?r=e:(r=this.nextId(),t=e),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(t===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=t,this._size++,r},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}(),ul=function(){function n(e){var t=this;this._textEditChanges=Object.create(null),e!==void 0?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ji(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(r){if(nt.is(r)){var i=new gn(r.edits,t._changeAnnotations);t._textEditChanges[r.textDocument.uri]=i}})):e.changes&&Object.keys(e.changes).forEach(function(r){var i=new gn(e.changes[r]);t._textEditChanges[r]=i})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(e){if(wn.is(e)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},r=this._textEditChanges[t.uri];if(!r){var i=[],o={textDocument:t,edits:i};this._workspaceEdit.documentChanges.push(o),r=new gn(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var i=[];this._workspaceEdit.changes[e]=i,r=new gn(i),this._textEditChanges[e]=r}return r}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ji,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(e,t,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;mt.is(t)||le.is(t)?i=t:r=t;var o,s;if(i===void 0?o=Tt.create(e,r):(s=le.is(i)?i:this._changeAnnotations.manage(i),o=Tt.create(e,r,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n.prototype.renameFile=function(e,t,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var o;mt.is(r)||le.is(r)?o=r:i=r;var s,a;if(o===void 0?s=Pt.create(e,t,i):(a=le.is(o)?o:this._changeAnnotations.manage(o),s=Pt.create(e,t,i,a)),this._workspaceEdit.documentChanges.push(s),a!==void 0)return a},n.prototype.deleteFile=function(e,t,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;mt.is(t)||le.is(t)?i=t:r=t;var o,s;if(i===void 0?o=At.create(e,r):(s=le.is(i)?i:this._changeAnnotations.manage(i),o=At.create(e,r,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n}();var Vi;(function(n){function e(r){return{uri:r}}n.create=e;function t(r){var i=r;return v.defined(i)&&v.string(i.uri)}n.is=t})(Vi||(Vi={}));var Nt;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){var i=r;return v.defined(i)&&v.string(i.uri)&&v.integer(i.version)}n.is=t})(Nt||(Nt={}));var wn;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){var i=r;return v.defined(i)&&v.string(i.uri)&&(i.version===null||v.integer(i.version))}n.is=t})(wn||(wn={}));var Bi;(function(n){function e(r,i,o,s){return{uri:r,languageId:i,version:o,text:s}}n.create=e;function t(r){var i=r;return v.defined(i)&&v.string(i.uri)&&v.string(i.languageId)&&v.integer(i.version)&&v.string(i.text)}n.is=t})(Bi||(Bi={}));var ce;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(ce||(ce={}));(function(n){function e(t){var r=t;return r===n.PlainText||r===n.Markdown}n.is=e})(ce||(ce={}));var xn;(function(n){function e(t){var r=t;return v.objectLiteral(t)&&ce.is(r.kind)&&v.string(r.value)}n.is=e})(xn||(xn={}));var R;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(R||(R={}));var re;(function(n){n.PlainText=1,n.Snippet=2})(re||(re={}));var Ne;(function(n){n.Deprecated=1})(Ne||(Ne={}));var $i;(function(n){function e(r,i,o){return{newText:r,insert:i,replace:o}}n.create=e;function t(r){var i=r;return i&&v.string(i.newText)&&W.is(i.insert)&&W.is(i.replace)}n.is=t})($i||($i={}));var qi;(function(n){n.asIs=1,n.adjustIndentation=2})(qi||(qi={}));var or;(function(n){function e(t){return{label:t}}n.create=e})(or||(or={}));var sr;(function(n){function e(t,r){return{items:t||[],isIncomplete:!!r}}n.create=e})(sr||(sr={}));var Ot;(function(n){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=e;function t(r){var i=r;return v.string(i)||v.objectLiteral(i)&&v.string(i.language)&&v.string(i.value)}n.is=t})(Ot||(Ot={}));var ar;(function(n){function e(t){var r=t;return!!r&&v.objectLiteral(r)&&(xn.is(r.contents)||Ot.is(r.contents)||v.typedArray(r.contents,Ot.is))&&(t.range===void 0||W.is(t.range))}n.is=e})(ar||(ar={}));var Ki;(function(n){function e(t,r){return r?{label:t,documentation:r}:{label:t}}n.create=e})(Ki||(Ki={}));var Gi;(function(n){function e(t,r){for(var i=[],o=2;o=0;h--){var p=l[h],m=o.offsetAt(p.range.start),g=o.offsetAt(p.range.end);if(g<=c)a=a.substring(0,m)+p.newText+a.substring(g,a.length);else throw new Error("Overlapping edit");c=m}return a}n.applyEdits=r;function i(o,s){if(o.length<=1)return o;var a=o.length/2|0,l=o.slice(0,a),c=o.slice(a);i(l,s),i(c,s);for(var h=0,p=0,m=0;h0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},n.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,i=t.length;if(i===0)return Q.create(0,e);for(;re?i=o:r=o+1}var s=r-1;return Q.create(s,e-t[s])},n.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],i=e.line+1"u"}n.undefined=r;function i(g){return g===!0||g===!1}n.boolean=i;function o(g){return e.call(g)==="[object String]"}n.string=o;function s(g){return e.call(g)==="[object Number]"}n.number=s;function a(g,w,x){return e.call(g)==="[object Number]"&&w<=g&&g<=x}n.numberRange=a;function l(g){return e.call(g)==="[object Number]"&&-2147483648<=g&&g<=2147483647}n.integer=l;function c(g){return e.call(g)==="[object Number]"&&0<=g&&g<=2147483647}n.uinteger=c;function h(g){return e.call(g)==="[object Function]"}n.func=h;function p(g){return g!==null&&typeof g=="object"}n.objectLiteral=p;function m(g,w){return Array.isArray(g)&&g.every(w)}n.typedArray=m})(v||(v={}));var rt=class{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(let r of e)if(rt.isIncremental(r)){let i=Zi(r.range),o=this.offsetAt(i.start),s=this.offsetAt(i.end);this._content=this._content.substring(0,o)+r.text+this._content.substring(s,this._content.length);let a=Math.max(i.start.line,0),l=Math.max(i.end.line,0),c=this._lineOffsets,h=Qi(r.text,!1,o);if(l-a===h.length)for(let m=0,g=h.length;me?i=s:r=s+1}let o=r-1;return{line:o,character:e-t[o]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1{let m=h.range.start.line-p.range.start.line;return m===0?h.range.start.character-p.range.start.character:m}),l=0,c=[];for(let h of a){let p=i.offsetAt(h.range.start);if(pl&&c.push(s.substring(l,p)),h.newText.length&&c.push(h.newText),l=i.offsetAt(h.range.end)}return c.push(s.substr(l)),c.join("")}n.applyEdits=r})(Ut||(Ut={}));function ur(n,e){if(n.length<=1)return n;let t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);ur(r,e),ur(i,e);let o=0,s=0,a=0;for(;ot.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function Bs(n){let e=Zi(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var eo;(function(n){n.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[ce.Markdown,ce.PlainText]}},hover:{contentFormat:[ce.Markdown,ce.PlainText]}}}})(eo||(eo={}));var it;(function(n){n[n.Unknown=0]="Unknown",n[n.File=1]="File",n[n.Directory=2]="Directory",n[n.SymbolicLink=64]="SymbolicLink"})(it||(it={}));var to={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function no(n){switch(n){case"experimental":return`\u26A0\uFE0F Property is experimental. Be cautious when using it.\uFE0F + +`;case"nonstandard":return`\u{1F6A8}\uFE0F Property is nonstandard. Avoid using it. + +`;case"obsolete":return`\u{1F6A8}\uFE0F\uFE0F\uFE0F Property is obsolete. Avoid using it. + +`;default:return""}}function ze(n,e,t){var r;if(e?r={kind:"markdown",value:qs(n,t)}:r={kind:"plaintext",value:$s(n,t)},r.value!=="")return r}function Sn(n){return n=n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&"),n.replace(//g,">")}function $s(n,e){if(!n.description||n.description==="")return"";if(typeof n.description!="string")return n.description.value;var t="";if(e?.documentation!==!1){n.status&&(t+=no(n.status)),t+=n.description;var r=ro(n.browsers);r&&(t+=` +(`+r+")"),"syntax"in n&&(t+=` + +Syntax: `.concat(n.syntax))}return n.references&&n.references.length>0&&e?.references!==!1&&(t.length>0&&(t+=` + +`),t+=n.references.map(function(i){return"".concat(i.name,": ").concat(i.url)}).join(" | ")),t}function qs(n,e){if(!n.description||n.description==="")return"";var t="";if(e?.documentation!==!1){n.status&&(t+=no(n.status)),typeof n.description=="string"?t+=Sn(n.description):t+=n.description.kind===ce.Markdown?n.description.value:Sn(n.description.value);var r=ro(n.browsers);r&&(t+=` + +(`+Sn(r)+")"),"syntax"in n&&n.syntax&&(t+=` + +Syntax: `.concat(Sn(n.syntax)))}return n.references&&n.references.length>0&&e?.references!==!1&&(t.length>0&&(t+=` + +`),t+=n.references.map(function(i){return"[".concat(i.name,"](").concat(i.url,")")}).join(" | ")),t}function ro(n){return n===void 0&&(n=[]),n.length===0?null:n.map(function(e){var t="",r=e.match(/([A-Z]+)(\d+)?/),i=r[1],o=r[2];return i in to&&(t+=to[i]),o&&(t+=" "+o),t}).join(", ")}var jt=H(),ao=[{func:"rgb($red, $green, $blue)",desc:jt("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:jt("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:jt("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:jt("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")},{func:"hwb($hue $white $black)",desc:jt("css.builtin.hwb","Creates a Color from hue, white and black.")}],Vt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},mr={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Je(n,e){var t=n.getText(),r=t.match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(r){r[2]&&(e=100);var i=parseFloat(r[1])/e;if(i>=0&&i<=1)return i}throw new Error}function io(n){var e=n.getText(),t=e.match(/^([-+]?[0-9]*\.?[0-9]+)(deg|rad|grad|turn)?$/);if(t)switch(t[2]){case"deg":return parseFloat(e)%360;case"rad":return parseFloat(e)*180/Math.PI%360;case"grad":return parseFloat(e)*.9%360;case"turn":return parseFloat(e)*360%360;default:if(typeof t[2]>"u")return parseFloat(e)%360}throw new Error}function lo(n){var e=n.getName();return e?/^(rgb|rgba|hsl|hsla|hwb)$/gi.test(e):!1}var oo=48,Ks=57,Gs=65;var kn=97,Hs=102;function J(n){return n=kn&&n<=Hs?n-kn+10:0)}function so(n){if(n[0]!=="#")return null;switch(n.length){case 4:return{red:J(n.charCodeAt(1))*17/255,green:J(n.charCodeAt(2))*17/255,blue:J(n.charCodeAt(3))*17/255,alpha:1};case 5:return{red:J(n.charCodeAt(1))*17/255,green:J(n.charCodeAt(2))*17/255,blue:J(n.charCodeAt(3))*17/255,alpha:J(n.charCodeAt(4))*17/255};case 7:return{red:(J(n.charCodeAt(1))*16+J(n.charCodeAt(2)))/255,green:(J(n.charCodeAt(3))*16+J(n.charCodeAt(4)))/255,blue:(J(n.charCodeAt(5))*16+J(n.charCodeAt(6)))/255,alpha:1};case 9:return{red:(J(n.charCodeAt(1))*16+J(n.charCodeAt(2)))/255,green:(J(n.charCodeAt(3))*16+J(n.charCodeAt(4)))/255,blue:(J(n.charCodeAt(5))*16+J(n.charCodeAt(6)))/255,alpha:(J(n.charCodeAt(7))*16+J(n.charCodeAt(8)))/255}}return null}function co(n,e,t,r){if(r===void 0&&(r=1),n=n/60,e===0)return{red:t,green:t,blue:t,alpha:r};var i=function(a,l,c){for(;c<0;)c+=6;for(;c>=6;)c-=6;return c<1?(l-a)*c+a:c<3?l:c<4?(l-a)*(4-c)+a:a},o=t<=.5?t*(e+1):t+e-t*e,s=t*2-o;return{red:i(s,o,n+2),green:i(s,o,n),blue:i(s,o,n-2),alpha:r}}function fr(n){var e=n.red,t=n.green,r=n.blue,i=n.alpha,o=Math.max(e,t,r),s=Math.min(e,t,r),a=0,l=0,c=(s+o)/2,h=o-s;if(h>0){switch(l=Math.min(c<=.5?h/(2*c):h/(2-2*c),1),o){case e:a=(t-r)/h+(t=1){var i=e/(e+t);return{red:i,green:i,blue:i,alpha:r}}var o=co(n,1,.5,r),s=o.red;s*=1-e-t,s+=e;var a=o.green;a*=1-e-t,a+=e;var l=o.blue;return l*=1-e-t,l+=e,{red:s,green:a,blue:l,alpha:r}}function ho(n){var e=fr(n),t=Math.min(n.red,n.green,n.blue),r=1-Math.max(n.red,n.green,n.blue);return{h:e.h,w:t,b:r,a:e.a}}function po(n){if(n.type===u.HexColorValue){var e=n.getText();return so(e)}else if(n.type===u.Function){var t=n,r=t.getName(),i=t.getArguments().getChildren();if(i.length===1){var o=i[0].getChildren();if(o.length===1&&o[0].type===u.Expression&&(i=o[0].getChildren(),i.length===3)){var s=i[2];if(s instanceof pt){var a=s.getLeft(),l=s.getRight(),c=s.getOperator();a&&l&&c&&c.matches("/")&&(i=[i[0],i[1],a,l])}}}if(!r||i.length<3||i.length>4)return null;try{var h=i.length===4?Je(i[3],1):1;if(r==="rgb"||r==="rgba")return{red:Je(i[0],255),green:Je(i[1],255),blue:Je(i[2],255),alpha:h};if(r==="hsl"||r==="hsla"){var p=io(i[0]),m=Je(i[1],100),g=Je(i[2],100);return co(p,m,g,h)}else if(r==="hwb"){var p=io(i[0]),w=Je(i[1],100),x=Je(i[2],100);return Js(p,w,x,h)}}catch{return null}}else if(n.type===u.Identifier){if(n.parent&&n.parent.type!==u.Term)return null;var y=n.parent;if(y&&y.parent&&y.parent.type===u.BinaryExpression){var D=y.parent;if(D.parent&&D.parent.type===u.ListEntry&&D.parent.key===D)return null}var M=n.getText().toLowerCase();if(M==="none")return null;var z=Vt[M];if(z)return so(z)}return null}var gr={bottom:"Computes to \u2018100%\u2019 for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to \u201850%\u2019 (\u2018left 50%\u2019) for the horizontal position if the horizontal position is not otherwise specified, or \u201850%\u2019 (\u2018top 50%\u2019) for the vertical position if it is.",left:"Computes to \u20180%\u2019 for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to \u2018100%\u2019 for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to \u20180%\u2019 for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},br={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to \u2018repeat no-repeat\u2019.","repeat-y":"Computes to \u2018no-repeat repeat\u2019.",round:"Repeated as often as will fit within the background positioning area. If it doesn\u2019t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},vr={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as \u2018none\u2019, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},uo=["medium","thick","thin"],yr={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},wr={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},xr={initial:"Represents the value specified as the property\u2019s initial value.",inherit:"Represents the computed value of the property on the element\u2019s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Sr={"var()":"Evaluates the value of a custom variable.","calc()":"Evaluates an mathematical expression. The following operators can be used: + - * /."},kr={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position."},Cr={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value \u201Cstart\u201D or \u201Cend\u201D.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},_r={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Cn={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},mo=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],fo=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],go=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function Bt(n){return Object.keys(n).map(function(e){return n[e]})}function he(n){return typeof n<"u"}var bo=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;re.offset?o-e.offset:0}return e},n.prototype.markError=function(e,t,r,i){this.token!==this.lastErrorToken&&(e.addIssue(new fn(e,t,ne.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(r||i)&&this.resync(r,i)},n.prototype.parseStylesheet=function(e){var t=e.version,r=e.getText(),i=function(o,s){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return r.substr(o,s)};return this.internalParse(r,this._parseStylesheet,i)},n.prototype.internalParse=function(e,t,r){this.scanner.setSource(e),this.token=this.scanner.scan();var i=t.bind(this)();return i&&(r?i.textProvider=r:i.textProvider=function(o,s){return e.substr(o,s)}),i},n.prototype._parseStylesheet=function(){for(var e=this.create(ci);e.addChild(this._parseStylesheetStart()););var t=!1;do{var r=!1;do{r=!1;var i=this._parseStylesheetStatement();for(i&&(e.addChild(i),r=!0,t=!1,!this.peek(d.EOF)&&this._needsSemicolonAfter(i)&&!this.accept(d.SemiColon)&&this.markError(e,f.SemiColonExpected));this.accept(d.SemiColon)||this.accept(d.CDO)||this.accept(d.CDC);)r=!0,t=!1}while(r);if(this.peek(d.EOF))break;t||(this.peek(d.AtKeyword)?this.markError(e,f.UnknownAtRule):this.markError(e,f.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(d.EOF));return this.finish(e)},n.prototype._parseStylesheetStart=function(){return this._parseCharset()},n.prototype._parseStylesheetStatement=function(e){return e===void 0&&(e=!1),this.peek(d.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},n.prototype._parseStylesheetAtStatement=function(e){return e===void 0&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},n.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(d.Comma)&&this._parseSelector(e););if(this.accept(d.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},n.prototype._parseRuleset=function(e){e===void 0&&(e=!1);var t=this.create(Te),r=t.getSelectors();if(!r.addChild(this._parseSelector(e)))return null;for(;this.accept(d.Comma);)if(!r.addChild(this._parseSelector(e)))return this.finish(t,f.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},n.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseUnknownAtRule()},n.prototype._parseRuleSetDeclaration=function(){return this.peek(d.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._parseDeclaration()},n.prototype._needsSemicolonAfter=function(e){switch(e.type){case u.Keyframe:case u.ViewPort:case u.Media:case u.Ruleset:case u.Namespace:case u.If:case u.For:case u.Each:case u.While:case u.MixinDeclaration:case u.FunctionDeclaration:case u.MixinContentDeclaration:return!1;case u.ExtendsReference:case u.MixinContentReference:case u.ReturnStatement:case u.MediaQuery:case u.Debug:case u.Import:case u.AtApplyRule:case u.CustomPropertyDeclaration:return!0;case u.VariableDeclaration:return e.needsSemicolon;case u.MixinReference:return!e.getContent();case u.Declaration:return!e.getNestedProperties()}return!1},n.prototype._parseDeclarations=function(e){var t=this.create(Et);if(!this.accept(d.CurlyL))return null;for(var r=e();t.addChild(r)&&!this.peek(d.CurlyR);){if(this._needsSemicolonAfter(r)&&!this.accept(d.SemiColon))return this.finish(t,f.SemiColonExpected,[d.SemiColon,d.CurlyR]);for(r&&this.prevToken&&this.prevToken.type===d.SemiColon&&(r.semicolonPosition=this.prevToken.offset);this.accept(d.SemiColon););r=e()}return this.accept(d.CurlyR)?this.finish(t):this.finish(t,f.RightCurlyExpected,[d.CurlyR,d.SemiColon])},n.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,f.LeftCurlyExpected,[d.CurlyR,d.SemiColon])},n.prototype._parseSelector=function(e){var t=this.create(Ee),r=!1;for(e&&(r=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)r=!0,t.addChild(this._parseCombinator());return r?this.finish(t):null},n.prototype._parseDeclaration=function(e){var t=this._tryParseCustomPropertyDeclaration(e);if(t)return t;var r=this.create(ae);return r.setProperty(this._parseProperty())?this.accept(d.Colon)?(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseExpr())?(r.addChild(this._parsePrio()),this.peek(d.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)):this.finish(r,f.PropertyValueExpected)):this.finish(r,f.ColonExpected,[d.Colon],e||[d.SemiColon]):null},n.prototype._tryParseCustomPropertyDeclaration=function(e){if(!this.peekRegExp(d.Ident,/^--/))return null;var t=this.create(hi);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(d.Colon))return this.finish(t,f.ColonExpected,[d.Colon]);this.prevToken&&(t.colonPosition=this.prevToken.offset);var r=this.mark();if(this.peek(d.CurlyL)){var i=this.create(di),o=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(i.setDeclarations(o)&&!o.isErroneous(!0)&&(i.addChild(this._parsePrio()),this.peek(d.SemiColon)))return this.finish(i),t.setPropertySet(i),t.semicolonPosition=this.token.offset,this.finish(t);this.restoreAtMark(r)}var s=this._parseExpr();return s&&!s.isErroneous(!0)&&(this._parsePrio(),this.peekOne.apply(this,bo(bo([],e||[],!1),[d.SemiColon,d.EOF],!1)))?(t.setValue(s),this.peek(d.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):(this.restoreAtMark(r),t.addChild(this._parseCustomPropertyValue(e)),t.addChild(this._parsePrio()),he(t.colonPosition)&&this.token.offset===t.colonPosition+1?this.finish(t,f.PropertyValueExpected):this.finish(t))},n.prototype._parseCustomPropertyValue=function(e){var t=this;e===void 0&&(e=[d.CurlyR]);var r=this.create(F),i=function(){return s===0&&a===0&&l===0},o=function(){return e.indexOf(t.token.type)!==-1},s=0,a=0,l=0;e:for(;;){switch(this.token.type){case d.SemiColon:if(i())break e;break;case d.Exclamation:if(i())break e;break;case d.CurlyL:s++;break;case d.CurlyR:if(s--,s<0){if(o()&&a===0&&l===0)break e;return this.finish(r,f.LeftCurlyExpected)}break;case d.ParenthesisL:a++;break;case d.ParenthesisR:if(a--,a<0){if(o()&&l===0&&s===0)break e;return this.finish(r,f.LeftParenthesisExpected)}break;case d.BracketL:l++;break;case d.BracketR:if(l--,l<0)return this.finish(r,f.LeftSquareBracketExpected);break;case d.BadString:break e;case d.EOF:var c=f.RightCurlyExpected;return l>0?c=f.RightSquareBracketExpected:a>0&&(c=f.RightParenthesisExpected),this.finish(r,c)}this.consumeToken()}return this.finish(r)},n.prototype._tryToParseDeclaration=function(e){var t=this.mark();return this._parseProperty()&&this.accept(d.Colon)?(this.restoreAtMark(t),this._parseDeclaration(e)):(this.restoreAtMark(t),null)},n.prototype._parseProperty=function(){var e=this.create(dt),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},n.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},n.prototype._parseCharset=function(){if(!this.peek(d.Charset))return null;var e=this.create(F);return this.consumeToken(),this.accept(d.String)?this.accept(d.SemiColon)?this.finish(e):this.finish(e,f.SemiColonExpected):this.finish(e,f.IdentifierExpected)},n.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(ht);return this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral())?this.finish(e,f.URIOrStringExpected):(!this.peek(d.SemiColon)&&!this.peek(d.EOF)&&e.setMedialist(this._parseMediaQueryList()),this.finish(e))},n.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(Si);return this.consumeToken(),!e.addChild(this._parseURILiteral())&&(e.addChild(this._parseIdent()),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))?this.finish(e,f.URIExpected,[d.SemiColon]):this.accept(d.SemiColon)?this.finish(e):this.finish(e,f.SemiColonExpected)},n.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(ln);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},n.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(bi);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},n.prototype._parseKeyframe=function(){if(!this.peekRegExp(d.AtKeyword,this.keyframeRegex))return null;var e=this.create(cn),t=this.create(F);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,f.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,f.IdentifierExpected,[d.CurlyR])},n.prototype._parseKeyframeIdent=function(){return this._parseIdent([A.Keyframe])},n.prototype._parseKeyframeSelector=function(){var e=this.create(Qn);if(!e.addChild(this._parseIdent())&&!this.accept(d.Percentage))return null;for(;this.accept(d.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(d.Percentage))return this.finish(e,f.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},n.prototype._tryParseKeyframeSelector=function(){var e=this.create(Qn),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(d.Percentage))return null;for(;this.accept(d.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(d.Percentage))return this.restoreAtMark(t),null;return this.peek(d.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},n.prototype._parseSupports=function(e){if(e===void 0&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(Dt);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},n.prototype._parseSupportsDeclaration=function(e){return e===void 0&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},n.prototype._parseSupportsCondition=function(){var e=this.create(Ze);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(d.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},n.prototype._parseSupportsConditionInParens=function(){var e=this.create(Ze);if(this.accept(d.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),!e.addChild(this._tryToParseDeclaration([d.ParenthesisR]))&&!this._parseSupportsCondition()?this.finish(e,f.ConditionExpected):this.accept(d.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,f.RightParenthesisExpected,[d.ParenthesisR],[]);if(this.peek(d.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(d.ParenthesisL)){for(var r=1;this.token.type!==d.EOF&&r!==0;)this.token.type===d.ParenthesisL?r++:this.token.type===d.ParenthesisR&&r--,this.consumeToken();return this.finish(e)}else this.restoreAtMark(t)}return this.finish(e,f.LeftParenthesisExpected,[],[d.ParenthesisL])},n.prototype._parseMediaDeclaration=function(e){return e===void 0&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},n.prototype._parseMedia=function(e){if(e===void 0&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(dn);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,f.MediaQueryExpected)},n.prototype._parseMediaQueryList=function(){var e=this.create(hn);if(!e.addChild(this._parseMediaQuery()))return this.finish(e,f.MediaQueryExpected);for(;this.accept(d.Comma);)if(!e.addChild(this._parseMediaQuery()))return this.finish(e,f.MediaQueryExpected);return this.finish(e)},n.prototype._parseMediaQuery=function(){var e=this.create(pn),t=this.mark();if(this.acceptIdent("not"),this.peek(d.ParenthesisL))this.restoreAtMark(t),e.addChild(this._parseMediaCondition());else{if(this.acceptIdent("only"),!e.addChild(this._parseIdent()))return null;this.acceptIdent("and")&&e.addChild(this._parseMediaCondition())}return this.finish(e)},n.prototype._parseRatio=function(){var e=this.mark(),t=this.create(Ri);return this._parseNumeric()?this.acceptDelim("/")?this._parseNumeric()?this.finish(t):this.finish(t,f.NumberExpected):(this.restoreAtMark(e),null):null},n.prototype._parseMediaCondition=function(){var e=this.create(Ci);this.acceptIdent("not");for(var t=!0;t;){if(!this.accept(d.ParenthesisL))return this.finish(e,f.LeftParenthesisExpected,[],[d.CurlyL]);if(this.peek(d.ParenthesisL)||this.peekIdent("not")?e.addChild(this._parseMediaCondition()):e.addChild(this._parseMediaFeature()),!this.accept(d.ParenthesisR))return this.finish(e,f.RightParenthesisExpected,[],[d.CurlyL]);t=this.acceptIdent("and")||this.acceptIdent("or")}return this.finish(e)},n.prototype._parseMediaFeature=function(){var e=this,t=[d.ParenthesisR],r=this.create(_i),i=function(){return e.acceptDelim("<")||e.acceptDelim(">")?(e.hasWhitespace()||e.acceptDelim("="),!0):!!e.acceptDelim("=")};if(r.addChild(this._parseMediaFeatureName())){if(this.accept(d.Colon)){if(!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,f.TermExpected,[],t)}else if(i()){if(!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,f.TermExpected,[],t);if(i()&&!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,f.TermExpected,[],t)}}else if(r.addChild(this._parseMediaFeatureValue())){if(!i())return this.finish(r,f.OperatorExpected,[],t);if(!r.addChild(this._parseMediaFeatureName()))return this.finish(r,f.IdentifierExpected,[],t);if(i()&&!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,f.TermExpected,[],t)}else return this.finish(r,f.IdentifierExpected,[],t);return this.finish(r)},n.prototype._parseMediaFeatureName=function(){return this._parseIdent()},n.prototype._parseMediaFeatureValue=function(){return this._parseRatio()||this._parseTermExpression()},n.prototype._parseMedium=function(){var e=this.create(F);return e.addChild(this._parseIdent())?this.finish(e):null},n.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},n.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create(Fi);if(this.consumeToken(),e.addChild(this._parsePageSelector())){for(;this.accept(d.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,f.IdentifierExpected)}return this._parseBody(e,this._parsePageDeclaration.bind(this))},n.prototype._parsePageMarginBox=function(){if(!this.peek(d.AtKeyword))return null;var e=this.create(Ei);return this.acceptOneKeyword(go)||this.markError(e,f.UnknownAtRule,[],[d.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},n.prototype._parsePageSelector=function(){if(!this.peek(d.Ident)&&!this.peek(d.Colon))return null;var e=this.create(F);return e.addChild(this._parseIdent()),this.accept(d.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,f.IdentifierExpected):this.finish(e)},n.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(ki);return this.consumeToken(),this.resync([],[d.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},n.prototype._parseUnknownAtRule=function(){if(!this.peek(d.AtKeyword))return null;var e=this.create(mn);e.addChild(this._parseUnknownAtRuleName());var t=function(){return i===0&&o===0&&s===0},r=0,i=0,o=0,s=0;e:for(;;){switch(this.token.type){case d.SemiColon:if(t())break e;break;case d.EOF:return i>0?this.finish(e,f.RightCurlyExpected):s>0?this.finish(e,f.RightSquareBracketExpected):o>0?this.finish(e,f.RightParenthesisExpected):this.finish(e);case d.CurlyL:r++,i++;break;case d.CurlyR:if(i--,r>0&&i===0){if(this.consumeToken(),s>0)return this.finish(e,f.RightSquareBracketExpected);if(o>0)return this.finish(e,f.RightParenthesisExpected);break e}if(i<0){if(o===0&&s===0)break e;return this.finish(e,f.LeftCurlyExpected)}break;case d.ParenthesisL:o++;break;case d.ParenthesisR:if(o--,o<0)return this.finish(e,f.LeftParenthesisExpected);break;case d.BracketL:s++;break;case d.BracketR:if(s--,s<0)return this.finish(e,f.LeftSquareBracketExpected);break}this.consumeToken()}return e},n.prototype._parseUnknownAtRuleName=function(){var e=this.create(F);return this.accept(d.AtKeyword)?this.finish(e):e},n.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(d.Dashmatch)||this.peek(d.Includes)||this.peek(d.SubstringOperator)||this.peek(d.PrefixOperator)||this.peek(d.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(u.Operator);return this.consumeToken(),this.finish(e)}else return null},n.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(F);return this.consumeToken(),this.finish(e)},n.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(F);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=u.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=u.SelectorCombinatorParent,this.finish(e)}else if(this.peekDelim("+")){var e=this.create(F);return this.consumeToken(),e.type=u.SelectorCombinatorSibling,this.finish(e)}else if(this.peekDelim("~")){var e=this.create(F);return this.consumeToken(),e.type=u.SelectorCombinatorAllSiblings,this.finish(e)}else if(this.peekDelim("/")){var e=this.create(F);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=u.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},n.prototype._parseSimpleSelector=function(){var e=this.create(De),t=0;for(e.addChild(this._parseElementName())&&t++;(t===0||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},n.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},n.prototype._parseSelectorIdent=function(){return this._parseIdent()},n.prototype._parseHash=function(){if(!this.peek(d.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(u.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,f.IdentifierExpected)}else this.consumeToken();return this.finish(e)},n.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(u.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,f.IdentifierExpected):this.finish(e)},n.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(u.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),!t.addChild(this._parseSelectorIdent())&&!this.acceptDelim("*")?(this.restoreAtMark(e),null):this.finish(t)},n.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(u.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},n.prototype._parseAttrib=function(){if(!this.peek(d.BracketL))return null;var e=this.create(zi);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i"),this.acceptIdent("s")),this.accept(d.BracketR)?this.finish(e):this.finish(e,f.RightSquareBracketExpected)):this.finish(e,f.IdentifierExpected)},n.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(d.ParenthesisL)){var r=function(){var i=e.create(F);if(!i.addChild(e._parseSelector(!1)))return null;for(;e.accept(d.Comma)&&i.addChild(e._parseSelector(!1)););return e.peek(d.ParenthesisR)?e.finish(i):null};if(t.addChild(this.try(r)||this._parseBinaryExpr()),!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected)}return this.finish(t)}return null},n.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(d.Colon))return null;var e=this.mark(),t=this.createNode(u.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(d.Colon),this.hasWhitespace()||!t.addChild(this._parseIdent())?this.finish(t,f.IdentifierExpected):this.finish(t))},n.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},n.prototype._parsePrio=function(){if(!this.peek(d.Exclamation))return null;var e=this.createNode(u.Prio);return this.accept(d.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},n.prototype._parseExpr=function(e){e===void 0&&(e=!1);var t=this.create(un);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(d.Comma)){if(e)return this.finish(t);this.consumeToken()}else if(!this.hasWhitespace())break;if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},n.prototype._parseUnicodeRange=function(){if(!this.peekIdent("u"))return null;var e=this.create(li);return this.acceptUnicodeRange()?this.finish(e):null},n.prototype._parseNamedLine=function(){if(!this.peek(d.BracketL))return null;var e=this.createNode(u.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(d.BracketR)?this.finish(e):this.finish(e,f.RightSquareBracketExpected)},n.prototype._parseBinaryExpr=function(e,t){var r=this.create(pt);if(!r.setLeft(e||this._parseTerm()))return null;if(!r.setOperator(t||this._parseOperator()))return this.finish(r);if(!r.setRight(this._parseTerm()))return this.finish(r,f.TermExpected);r=this.finish(r);var i=this._parseOperator();return i&&(r=this._parseBinaryExpr(r,i)),this.finish(r)},n.prototype._parseTerm=function(){var e=this.create(Di);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null},n.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseUnicodeRange()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},n.prototype._parseOperation=function(){if(!this.peek(d.ParenthesisL))return null;var e=this.create(F);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(d.ParenthesisR)?this.finish(e):this.finish(e,f.RightParenthesisExpected)},n.prototype._parseNumeric=function(){if(this.peek(d.Num)||this.peek(d.Percentage)||this.peek(d.Resolution)||this.peek(d.Length)||this.peek(d.EMS)||this.peek(d.EXS)||this.peek(d.Angle)||this.peek(d.Time)||this.peek(d.Dimension)||this.peek(d.Freq)){var e=this.create(Rt);return this.consumeToken(),this.finish(e)}return null},n.prototype._parseStringLiteral=function(){if(!this.peek(d.String)&&!this.peek(d.BadString))return null;var e=this.createNode(u.StringLiteral);return this.consumeToken(),this.finish(e)},n.prototype._parseURILiteral=function(){if(!this.peekRegExp(d.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(u.URILiteral);return this.accept(d.Ident),this.hasWhitespace()||!this.peek(d.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(d.ParenthesisR)?this.finish(t):this.finish(t,f.RightParenthesisExpected))},n.prototype._parseURLArgument=function(){var e=this.create(F);return!this.accept(d.String)&&!this.accept(d.BadString)&&!this.acceptUnquotedString()?null:this.finish(e)},n.prototype._parseIdent=function(e){if(!this.peek(d.Ident))return null;var t=this.create(te);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(d.Ident,/^--/),this.consumeToken(),this.finish(t)},n.prototype._parseFunction=function(){var e=this.mark(),t=this.create(Pe);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(d.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,f.ExpressionExpected);return this.accept(d.ParenthesisR)?this.finish(t):this.finish(t,f.RightParenthesisExpected)},n.prototype._parseFunctionIdentifier=function(){if(!this.peek(d.Ident))return null;var e=this.create(te);if(e.referenceTypes=[A.Function],this.acceptIdent("progid")){if(this.accept(d.Colon))for(;this.accept(d.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},n.prototype._parseFunctionArgument=function(){var e=this.create(we);return e.setValue(this._parseExpr(!0))?this.finish(e):null},n.prototype._parseHexColor=function(){if(this.peekRegExp(d.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(zt);return this.consumeToken(),this.finish(e)}else return null},n}();function yo(n,e){var t=0,r=n.length;if(r===0)return 0;for(;te+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},n.prototype.findInScope=function(e,t){t===void 0&&(t=0);var r=e+t,i=yo(this.children,function(s){return s.offset>r});if(i===0)return this;var o=this.children[i-1];return o.offset<=e&&o.offset+o.length>=e+t?o.findInScope(e,t):this},n.prototype.addSymbol=function(e){this.symbols.push(e)},n.prototype.getSymbol=function(e,t){for(var r=0;r{"use strict";var n={470:r=>{function i(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}function o(a,l){for(var c,h="",p=0,m=-1,g=0,w=0;w<=a.length;++w){if(w2){var x=h.lastIndexOf("/");if(x!==h.length-1){x===-1?(h="",p=0):p=(h=h.slice(0,x)).length-1-h.lastIndexOf("/"),m=w,g=0;continue}}else if(h.length===2||h.length===1){h="",p=0,m=w,g=0;continue}}l&&(h.length>0?h+="/..":h="..",p=2)}else h.length>0?h+="/"+a.slice(m+1,w):h=a.slice(m+1,w),p=w-m-1;m=w,g=0}else c===46&&g!==-1?++g:g=-1}return h}var s={resolve:function(){for(var a,l="",c=!1,h=arguments.length-1;h>=-1&&!c;h--){var p;h>=0?p=arguments[h]:(a===void 0&&(a=process.cwd()),p=a),i(p),p.length!==0&&(l=p+"/"+l,c=p.charCodeAt(0)===47)}return l=o(l,!c),c?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(a){if(i(a),a.length===0)return".";var l=a.charCodeAt(0)===47,c=a.charCodeAt(a.length-1)===47;return(a=o(a,!l)).length!==0||l||(a="."),a.length>0&&c&&(a+="/"),l?"/"+a:a},isAbsolute:function(a){return i(a),a.length>0&&a.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var a,l=0;l0&&(a===void 0?a=c:a+="/"+c)}return a===void 0?".":s.normalize(a)},relative:function(a,l){if(i(a),i(l),a===l||(a=s.resolve(a))===(l=s.resolve(l)))return"";for(var c=1;cw){if(l.charCodeAt(m+y)===47)return l.slice(m+y+1);if(y===0)return l.slice(m+y)}else p>w&&(a.charCodeAt(c+y)===47?x=y:y===0&&(x=0));break}var D=a.charCodeAt(c+y);if(D!==l.charCodeAt(m+y))break;D===47&&(x=y)}var M="";for(y=c+x+1;y<=h;++y)y!==h&&a.charCodeAt(y)!==47||(M.length===0?M+="..":M+="/..");return M.length>0?M+l.slice(m+x):(m+=x,l.charCodeAt(m)===47&&++m,l.slice(m))},_makeLong:function(a){return a},dirname:function(a){if(i(a),a.length===0)return".";for(var l=a.charCodeAt(0),c=l===47,h=-1,p=!0,m=a.length-1;m>=1;--m)if((l=a.charCodeAt(m))===47){if(!p){h=m;break}}else p=!1;return h===-1?c?"/":".":c&&h===1?"//":a.slice(0,h)},basename:function(a,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');i(a);var c,h=0,p=-1,m=!0;if(l!==void 0&&l.length>0&&l.length<=a.length){if(l.length===a.length&&l===a)return"";var g=l.length-1,w=-1;for(c=a.length-1;c>=0;--c){var x=a.charCodeAt(c);if(x===47){if(!m){h=c+1;break}}else w===-1&&(m=!1,w=c+1),g>=0&&(x===l.charCodeAt(g)?--g==-1&&(p=c):(g=-1,p=w))}return h===p?p=w:p===-1&&(p=a.length),a.slice(h,p)}for(c=a.length-1;c>=0;--c)if(a.charCodeAt(c)===47){if(!m){h=c+1;break}}else p===-1&&(m=!1,p=c+1);return p===-1?"":a.slice(h,p)},extname:function(a){i(a);for(var l=-1,c=0,h=-1,p=!0,m=0,g=a.length-1;g>=0;--g){var w=a.charCodeAt(g);if(w!==47)h===-1&&(p=!1,h=g+1),w===46?l===-1?l=g:m!==1&&(m=1):l!==-1&&(m=-1);else if(!p){c=g+1;break}}return l===-1||h===-1||m===0||m===1&&l===h-1&&l===c+1?"":a.slice(l,h)},format:function(a){if(a===null||typeof a!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof a);return function(l,c){var h=c.dir||c.root,p=c.base||(c.name||"")+(c.ext||"");return h?h===c.root?h+p:h+"/"+p:p}(0,a)},parse:function(a){i(a);var l={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return l;var c,h=a.charCodeAt(0),p=h===47;p?(l.root="/",c=1):c=0;for(var m=-1,g=0,w=-1,x=!0,y=a.length-1,D=0;y>=c;--y)if((h=a.charCodeAt(y))!==47)w===-1&&(x=!1,w=y+1),h===46?m===-1?m=y:D!==1&&(D=1):m!==-1&&(D=-1);else if(!x){g=y+1;break}return m===-1||w===-1||D===0||D===1&&m===w-1&&m===g+1?w!==-1&&(l.base=l.name=g===0&&p?a.slice(1,w):a.slice(g,w)):(g===0&&p?(l.name=a.slice(1,m),l.base=a.slice(1,w)):(l.name=a.slice(g,m),l.base=a.slice(g,w)),l.ext=a.slice(m,w)),g>0?l.dir=a.slice(0,g-1):p&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,r.exports=s},447:(r,i,o)=>{var s;if(o.r(i),o.d(i,{URI:()=>M,Utils:()=>pe}),typeof process=="object")s=process.platform==="win32";else if(typeof navigator=="object"){var a=navigator.userAgent;s=a.indexOf("Windows")>=0}var l,c,h=(l=function(C,b){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,_){k.__proto__=_}||function(k,_){for(var N in _)Object.prototype.hasOwnProperty.call(_,N)&&(k[N]=_[N])})(C,b)},function(C,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function k(){this.constructor=C}l(C,b),C.prototype=b===null?Object.create(b):(k.prototype=b.prototype,new k)}),p=/^\w[\w\d+.-]*$/,m=/^\//,g=/^\/\//;function w(C,b){if(!C.scheme&&b)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(C.authority,'", path: "').concat(C.path,'", query: "').concat(C.query,'", fragment: "').concat(C.fragment,'"}'));if(C.scheme&&!p.test(C.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(C.path){if(C.authority){if(!m.test(C.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(g.test(C.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var x="",y="/",D=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,M=function(){function C(b,k,_,N,O,B){B===void 0&&(B=!1),typeof b=="object"?(this.scheme=b.scheme||x,this.authority=b.authority||x,this.path=b.path||x,this.query=b.query||x,this.fragment=b.fragment||x):(this.scheme=function(Ce,se){return Ce||se?Ce:"file"}(b,B),this.authority=k||x,this.path=function(Ce,se){switch(Ce){case"https":case"http":case"file":se?se[0]!==y&&(se=y+se):se=y}return se}(this.scheme,_||x),this.query=N||x,this.fragment=O||x,w(this,B))}return C.isUri=function(b){return b instanceof C||!!b&&typeof b.authority=="string"&&typeof b.fragment=="string"&&typeof b.path=="string"&&typeof b.query=="string"&&typeof b.scheme=="string"&&typeof b.fsPath=="string"&&typeof b.with=="function"&&typeof b.toString=="function"},Object.defineProperty(C.prototype,"fsPath",{get:function(){return oe(this,!1)},enumerable:!1,configurable:!0}),C.prototype.with=function(b){if(!b)return this;var k=b.scheme,_=b.authority,N=b.path,O=b.query,B=b.fragment;return k===void 0?k=this.scheme:k===null&&(k=x),_===void 0?_=this.authority:_===null&&(_=x),N===void 0?N=this.path:N===null&&(N=x),O===void 0?O=this.query:O===null&&(O=x),B===void 0?B=this.fragment:B===null&&(B=x),k===this.scheme&&_===this.authority&&N===this.path&&O===this.query&&B===this.fragment?this:new P(k,_,N,O,B)},C.parse=function(b,k){k===void 0&&(k=!1);var _=D.exec(b);return _?new P(_[2]||x,ke(_[4]||x),ke(_[5]||x),ke(_[7]||x),ke(_[9]||x),k):new P(x,x,x,x,x)},C.file=function(b){var k=x;if(s&&(b=b.replace(/\\/g,y)),b[0]===y&&b[1]===y){var _=b.indexOf(y,2);_===-1?(k=b.substring(2),b=y):(k=b.substring(2,_),b=b.substring(_)||y)}return new P("file",k,b,x,x)},C.from=function(b){var k=new P(b.scheme,b.authority,b.path,b.query,b.fragment);return w(k,!0),k},C.prototype.toString=function(b){return b===void 0&&(b=!1),me(this,b)},C.prototype.toJSON=function(){return this},C.revive=function(b){if(b){if(b instanceof C)return b;var k=new P(b);return k._formatted=b.external,k._fsPath=b._sep===z?b.fsPath:null,k}return b},C}(),z=s?1:void 0,P=function(C){function b(){var k=C!==null&&C.apply(this,arguments)||this;return k._formatted=null,k._fsPath=null,k}return h(b,C),Object.defineProperty(b.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=oe(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),b.prototype.toString=function(k){return k===void 0&&(k=!1),k?me(this,!0):(this._formatted||(this._formatted=me(this,!1)),this._formatted)},b.prototype.toJSON=function(){var k={$mid:1};return this._fsPath&&(k.fsPath=this._fsPath,k._sep=z),this._formatted&&(k.external=this._formatted),this.path&&(k.path=this.path),this.scheme&&(k.scheme=this.scheme),this.authority&&(k.authority=this.authority),this.query&&(k.query=this.query),this.fragment&&(k.fragment=this.fragment),k},b}(M),L=((c={})[58]="%3A",c[47]="%2F",c[63]="%3F",c[35]="%23",c[91]="%5B",c[93]="%5D",c[64]="%40",c[33]="%21",c[36]="%24",c[38]="%26",c[39]="%27",c[40]="%28",c[41]="%29",c[42]="%2A",c[43]="%2B",c[44]="%2C",c[59]="%3B",c[61]="%3D",c[32]="%20",c);function $(C,b){for(var k=void 0,_=-1,N=0;N=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===45||O===46||O===95||O===126||b&&O===47)_!==-1&&(k+=encodeURIComponent(C.substring(_,N)),_=-1),k!==void 0&&(k+=C.charAt(N));else{k===void 0&&(k=C.substr(0,N));var B=L[O];B!==void 0?(_!==-1&&(k+=encodeURIComponent(C.substring(_,N)),_=-1),k+=B):_===-1&&(_=N)}}return _!==-1&&(k+=encodeURIComponent(C.substring(_))),k!==void 0?k:C}function ue(C){for(var b=void 0,k=0;k1&&C.scheme==="file"?"//".concat(C.authority).concat(C.path):C.path.charCodeAt(0)===47&&(C.path.charCodeAt(1)>=65&&C.path.charCodeAt(1)<=90||C.path.charCodeAt(1)>=97&&C.path.charCodeAt(1)<=122)&&C.path.charCodeAt(2)===58?b?C.path.substr(1):C.path[1].toLowerCase()+C.path.substr(2):C.path,s&&(k=k.replace(/\//g,"\\")),k}function me(C,b){var k=b?ue:$,_="",N=C.scheme,O=C.authority,B=C.path,Ce=C.query,se=C.fragment;if(N&&(_+=N,_+=":"),(O||N==="file")&&(_+=y,_+=y),O){var ge=O.indexOf("@");if(ge!==-1){var Xe=O.substr(0,ge);O=O.substr(ge+1),(ge=Xe.indexOf(":"))===-1?_+=k(Xe,!1):(_+=k(Xe.substr(0,ge),!1),_+=":",_+=k(Xe.substr(ge+1),!1)),_+="@"}(ge=(O=O.toLowerCase()).indexOf(":"))===-1?_+=k(O,!1):(_+=k(O.substr(0,ge),!1),_+=O.substr(ge))}if(B){if(B.length>=3&&B.charCodeAt(0)===47&&B.charCodeAt(2)===58)(Me=B.charCodeAt(1))>=65&&Me<=90&&(B="/".concat(String.fromCharCode(Me+32),":").concat(B.substr(3)));else if(B.length>=2&&B.charCodeAt(1)===58){var Me;(Me=B.charCodeAt(0))>=65&&Me<=90&&(B="".concat(String.fromCharCode(Me+32),":").concat(B.substr(2)))}_+=k(B,!0)}return Ce&&(_+="?",_+=k(Ce,!1)),se&&(_+="#",_+=b?se:$(se,!1)),_}function ve(C){try{return decodeURIComponent(C)}catch{return C.length>3?C.substr(0,3)+ve(C.substr(3)):C}}var ye=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ke(C){return C.match(ye)?C.replace(ye,function(b){return ve(b)}):C}var pe,G=o(470),Ie=function(C,b,k){if(k||arguments.length===2)for(var _,N=0,O=b.length;N{for(var o in i)t.o(i,o)&&!t.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:i[o]})},t.o=(r,i)=>Object.prototype.hasOwnProperty.call(r,i),t.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t(447)})();var{URI:Kt,Utils:En}=xo;var ea=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r0&&o[o.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]0&&o[o.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]=0;s--){var a=this.nodePath[s];if(a instanceof dt)this.getCompletionsForDeclarationProperty(a.getParent(),o);else if(a instanceof un)a.parent instanceof It?this.getVariableProposals(null,o):this.getCompletionsForExpression(a,o);else if(a instanceof De){var l=a.findAParent(u.ExtendsReference,u.Ruleset);if(l)if(l.type===u.ExtendsReference)this.getCompletionsForExtendsReference(l,a,o);else{var c=l;this.getCompletionsForSelector(c,c&&c.isNested(),o)}}else if(a instanceof we)this.getCompletionsForFunctionArgument(a,a.getParent(),o);else if(a instanceof Et)this.getCompletionsForDeclarations(a,o);else if(a instanceof $e)this.getCompletionsForVariableDeclaration(a,o);else if(a instanceof Te)this.getCompletionsForRuleSet(a,o);else if(a instanceof It)this.getCompletionsForInterpolation(a,o);else if(a instanceof Qe)this.getCompletionsForFunctionDeclaration(a,o);else if(a instanceof et)this.getCompletionsForMixinReference(a,o);else if(a instanceof Pe)this.getCompletionsForFunctionArgument(null,a,o);else if(a instanceof Dt)this.getCompletionsForSupports(a,o);else if(a instanceof Ze)this.getCompletionsForSupportsCondition(a,o);else if(a instanceof qe)this.getCompletionsForExtendsReference(a,null,o);else if(a.type===u.URILiteral)this.getCompletionForUriLiteralValue(a,o);else if(a.parent===null)this.getCompletionForTopLevel(o);else if(a.type===u.StringLiteral&&this.isImportPathParent(a.parent.type))this.getCompletionForImportPath(a,o);else continue;if(o.items.length>0||this.offset>a.offset)return this.finalize(o)}return this.getCompletionsForStylesheet(o),o.items.length===0&&this.variablePrefix&&this.currentWord.indexOf(this.variablePrefix)===0&&this.getVariableProposals(null,o),this.finalize(o)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},n.prototype.isImportPathParent=function(e){return e===u.Import},n.prototype.finalize=function(e){return e},n.prototype.findInNodePath=function(){for(var e=[],t=0;t=0;r--){var i=this.nodePath[r];if(e.indexOf(i.type)!==-1)return i}return null},n.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},n.prototype.getPropertyProposals=function(e,t){var r=this,i=this.isTriggerPropertyValueCompletionEnabled,o=this.isCompletePropertyWithSemicolonEnabled,s=this.cssDataManager.getProperties();return s.forEach(function(a){var l,c,h=!1;e?(l=r.getCompletionRange(e.getProperty()),c=a.name,he(e.colonPosition)||(c+=": ",h=!0)):(l=r.getCompletionRange(null),c=a.name+": ",h=!0),!e&&o&&(c+="$0;"),e&&!e.semicolonPosition&&o&&r.offset>=r.textDocument.offsetAt(l.end)&&(c+="$0;");var p={label:a.name,documentation:ze(a,r.doesSupportMarkdown()),tags:Ht(a)?[Ne.Deprecated]:[],textEdit:T.replace(l,c),insertTextFormat:re.Snippet,kind:R.Property};a.restrictions||(h=!1),i&&h&&(p.command=_o);var m=typeof a.relevance=="number"?Math.min(Math.max(a.relevance,0),99):50,g=(255-m).toString(16),w=q(a.name,"-")?Re.VendorPrefixed:Re.Normal;p.sortText=w+"_"+g,t.items.push(p)}),this.completionParticipants.forEach(function(a){a.onCssProperty&&a.onCssProperty({propertyName:r.currentWord,range:r.defaultReplaceRange})}),t},Object.defineProperty(n.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){var e,t;return(t=(e=this.documentSettings)===null||e===void 0?void 0:e.triggerPropertyValueCompletion)!==null&&t!==void 0?t:!0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){var e,t;return(t=(e=this.documentSettings)===null||e===void 0?void 0:e.completePropertyWithSemicolon)!==null&&t!==void 0?t:!0},enumerable:!1,configurable:!0}),n.prototype.getCompletionsForDeclarationValue=function(e,t){for(var r=this,i=e.getFullPropertyName(),o=this.cssDataManager.getProperty(i),s=e.getValue()||null;s&&s.hasChildren();)s=s.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach(function(w){w.onCssPropertyValue&&w.onCssPropertyValue({propertyName:i,propertyValue:r.currentWord,range:r.getCompletionRange(s)})}),o){if(o.restrictions)for(var a=0,l=o.restrictions;a=e.offset+2&&this.getVariableProposals(null,t),t},n.prototype.getVariableProposals=function(e,t){for(var r=this.getSymbolContext().findSymbolsAtOffset(this.offset,A.Variable),i=0,o=r;i0){var o=this.currentWord.match(/^-?\d[\.\d+]*/);o&&(i=o[0],r.isIncomplete=i.length===this.currentWord.length)}else this.currentWord.length===0&&(r.isIncomplete=!0);if(t&&t.parent&&t.parent.type===u.Term&&(t=t.getParent()),e.restrictions)for(var s=0,a=e.restrictions;s=r.end;if(i)return this.getCompletionForTopLevel(t);var o=!r||this.offset<=r.offset;return o?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},n.prototype.getCompletionsForSelector=function(e,t,r){var i=this,o=this.findInNodePath(u.PseudoSelector,u.IdentifierSelector,u.ClassSelector,u.ElementNameSelector);!o&&this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,":")&&(this.currentWord=":"+this.currentWord,this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,":")&&(this.currentWord=":"+this.currentWord),this.defaultReplaceRange=W.create(Q.create(this.position.line,this.position.character-this.currentWord.length),this.position));var s=this.cssDataManager.getPseudoClasses();s.forEach(function(y){var D=vt(y.name),M={label:y.name,textEdit:T.replace(i.getCompletionRange(o),D),documentation:ze(y,i.doesSupportMarkdown()),tags:Ht(y)?[Ne.Deprecated]:[],kind:R.Function,insertTextFormat:y.name!==D?We:void 0};q(y.name,":-")&&(M.sortText=Re.VendorPrefixed),r.items.push(M)});var a=this.cssDataManager.getPseudoElements();if(a.forEach(function(y){var D=vt(y.name),M={label:y.name,textEdit:T.replace(i.getCompletionRange(o),D),documentation:ze(y,i.doesSupportMarkdown()),tags:Ht(y)?[Ne.Deprecated]:[],kind:R.Function,insertTextFormat:y.name!==D?We:void 0};q(y.name,"::-")&&(M.sortText=Re.VendorPrefixed),r.items.push(M)}),!t){for(var l=0,c=mo;l0){var D=w.substr(y.offset,y.length);return D.charAt(0)==="."&&!g[D]&&(g[D]=!0,r.items.push({label:D,textEdit:T.replace(i.getCompletionRange(o),D),kind:R.Keyword})),!1}return!0}),e&&e.isNested()){var x=e.getSelectors().findFirstChildBeforeOffset(this.offset);x&&e.getSelectors().getChildren().indexOf(x)===0&&this.getPropertyProposals(null,r)}return r},n.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var r=e.findFirstChildBeforeOffset(this.offset);if(!r)return this.getCompletionsForDeclarationProperty(null,t);if(r instanceof an){var i=r;if(!he(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,t);if(he(i.semicolonPosition)&&i.semicolonPositione.colonPosition&&this.getVariableProposals(e.getValue(),t),t},n.prototype.getCompletionsForExpression=function(e,t){var r=e.getParent();if(r instanceof we)return this.getCompletionsForFunctionArgument(r,r.getParent(),t),t;var i=e.findParent(u.Declaration);if(!i)return this.getTermProposals(void 0,null,t),t;var o=e.findChildAtOffset(this.offset,!0);return o?o instanceof Rt||o instanceof te?this.getCompletionsForDeclarationValue(i,t):t:this.getCompletionsForDeclarationValue(i,t)},n.prototype.getCompletionsForFunctionArgument=function(e,t,r){var i=t.getIdentifier();return i&&i.matches("var")&&(!t.getArguments().hasChildren()||t.getArguments().getChild(0)===e)&&this.getVariableProposalsForCSSVarFunction(r),r},n.prototype.getCompletionsForFunctionDeclaration=function(e,t){var r=e.getDeclarations();return r&&this.offset>r.offset&&this.offsete.lParent&&(!he(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},n.prototype.getCompletionsForSupports=function(e,t){var r=e.getDeclarations(),i=!r||this.offset<=r.offset;if(i){var o=e.findFirstChildBeforeOffset(this.offset);return o instanceof Ze?this.getCompletionsForSupportsCondition(o,t):t}return this.getCompletionForTopLevel(t)},n.prototype.getCompletionsForExtendsReference=function(e,t,r){return r},n.prototype.getCompletionForUriLiteralValue=function(e,t){var r,i,o;if(e.hasChildren()){var a=e.getChild(0);r=a.getText(),i=this.position,o=this.getCompletionRange(a)}else{r="",i=this.position;var s=this.textDocument.positionAt(e.offset+4);o=W.create(s,s)}return this.completionParticipants.forEach(function(l){l.onCssURILiteralValue&&l.onCssURILiteralValue({uriValue:r,position:i,range:o})}),t},n.prototype.getCompletionForImportPath=function(e,t){var r=this;return this.completionParticipants.forEach(function(i){i.onCssImportPath&&i.onCssImportPath({pathValue:e.getText(),position:r.position,range:r.getCompletionRange(e)})}),t},n.prototype.hasCharacterAtPosition=function(e,t){var r=this.textDocument.getText();return e>=0&&e=0&&` +\r":{[()]},*>+`.indexOf(r.charAt(t))===-1;)t--;return r.substring(t+1,e)}function Fo(n){return n.toLowerCase()in Vt||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(n)}var zo=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),pa=H(),Rr=function(){function n(){this.parent=null,this.children=null,this.attributes=null}return n.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,r=this.attributes;t"),this.writeLine(t,i.join(""))},n}(),Le;(function(n){function e(r,i){return i+t(r)+i}n.ensure=e;function t(r){var i=r.match(/^['"](.*)["']$/);return i?i[1]:r}n.remove=t})(Le||(Le={}));var Do=function(){function n(){this.id=0,this.attr=0,this.tag=0}return n}();function Ro(n,e){for(var t=new Rr,r=0,i=n.getChildren();r1){var c=e.cloneWithParent();t.addChild(c.findRoot()),t=c}t.append(s[l])}}break;case u.SelectorPlaceholder:if(o.matches("@at-root"))return t;case u.ElementNameSelector:var h=o.getText();t.addAttr("name",h==="*"?"element":be(h));break;case u.ClassSelector:t.addAttr("class",be(o.getText().substring(1)));break;case u.IdentifierSelector:t.addAttr("id",be(o.getText().substring(1)));break;case u.MixinDeclaration:t.addAttr("class",o.getName());break;case u.PseudoSelector:t.addAttr(be(o.getText()),"");break;case u.AttributeSelector:var p=o,m=p.getIdentifier();if(m){var g=p.getValue(),w=p.getOperator(),x=void 0;if(g&&w)switch(be(w.getText())){case"|=":x="".concat(Le.remove(be(g.getText())),"-\u2026");break;case"^=":x="".concat(Le.remove(be(g.getText())),"\u2026");break;case"$=":x="\u2026".concat(Le.remove(be(g.getText())));break;case"~=":x=" \u2026 ".concat(Le.remove(be(g.getText()))," \u2026 ");break;case"*=":x="\u2026".concat(Le.remove(be(g.getText())),"\u2026");break;default:x=Le.remove(be(g.getText()));break}t.addAttr(be(m.getText()),x)}break}}return t}function be(n){var e=new Fe;e.setSource(n);var t=e.scanUnquotedString();return t?t.text:n}var Io=function(){function n(e){this.cssDataManager=e}return n.prototype.selectorToMarkedString=function(e){var t=fa(e);if(t){var r=new Eo('"').print(t);return r.push(this.selectorToSpecificityMarkedString(e)),r}else return[]},n.prototype.simpleSelectorToMarkedString=function(e){var t=Ro(e),r=new Eo('"').print(t);return r.push(this.selectorToSpecificityMarkedString(e)),r},n.prototype.isPseudoElementIdentifier=function(e){var t=e.match(/^::?([\w-]+)/);return t?!!this.cssDataManager.getPseudoElement("::"+t[1]):!1},n.prototype.selectorToSpecificityMarkedString=function(e){var t=this,r=function(o){var s=new Do;e:for(var a=0,l=o.getChildren();a0){for(var p=new Do,m=0,g=c.getChildren();mp.id){p=z;continue}else if(z.idp.attr){p=z;continue}else if(z.attrp.tag){p=z;continue}}}s.id+=p.id,s.attr+=p.attr,s.tag+=p.tag;continue e}s.attr++;break}if(c.getChildren().length>0){var z=r(c);s.id+=z.id,s.attr+=z.attr,s.tag+=z.tag}}return s},i=r(e);return pa("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",i.id,i.attr,i.tag)},n}();var ua=function(){function n(e){this.prev=null,this.element=e}return n.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof wt)&&e.getChildren().some(function(h){return h.hasChildren()&&h.getChild(0).type===u.SelectorCombinator})){var r=this.element.findRoot();r.parent instanceof wt&&(t=this.element,this.element=r.parent,this.element.removeChild(r),this.prev=null)}for(var i=0,o=e.getChildren();i=0;s--){var a=t[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(n),e}var In=function(){function n(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new Io(t)}return n.prototype.configure=function(e){this.defaultSettings=e},n.prototype.doHover=function(e,t,r,i){i===void 0&&(i=this.defaultSettings);function o(y){return W.create(e.positionAt(y.offset),e.positionAt(y.end))}for(var s=e.offsetAt(t),a=ct(r,s),l=null,c=0;c0&&o[o.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]=o.length/2&&s.push({property:D.name,score:M})}),s.sort(function(D,M){return M.score-D.score||D.property.localeCompare(M.property)});for(var a=3,l=0,c=s;l=0;l--){var c=a[l];if(c instanceof ae){var h=c.getProperty();if(h&&h.offset===o&&h.end===s){this.getFixesForUnknownProperty(e,h,r,i);return}}}},n}();var Uo=function(){function n(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e}return n}();function Qt(n,e,t,r){var i=n[e];i.value=t,t&&(Fr(i.properties,r)||i.properties.push(r))}function xa(n,e,t){Qt(n,"top",e,t),Qt(n,"right",e,t),Qt(n,"bottom",e,t),Qt(n,"left",e,t)}function ie(n,e,t,r){e==="top"||e==="right"||e==="bottom"||e==="left"?Qt(n,e,t,r):xa(n,t,r)}function Ir(n,e,t){switch(e.length){case 1:ie(n,void 0,e[0],t);break;case 2:ie(n,"top",e[0],t),ie(n,"bottom",e[0],t),ie(n,"right",e[1],t),ie(n,"left",e[1],t);break;case 3:ie(n,"top",e[0],t),ie(n,"right",e[1],t),ie(n,"left",e[1],t),ie(n,"bottom",e[2],t);break;case 4:ie(n,"top",e[0],t),ie(n,"right",e[1],t),ie(n,"bottom",e[2],t),ie(n,"left",e[3],t);break}}function Mr(n,e){for(var t=0,r=e;t"u"))switch(i.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":e.width=i;break;case"height":e.height=i;break;default:var s=i.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:ie(e,s[1],ka(o),i);break;case"width":ie(e,s[1],Zt(o,!1),i);break;case"style":ie(e,s[1],Tn(o,!0),i);break}break;case"width":Ir(e,Lo(o.getChildren(),!1),i);break;case"style":Ir(e,Sa(o.getChildren(),!0),i);break}break;case"padding":s.length===1?Ir(e,Lo(o.getChildren(),!0),i):ie(e,s[1],Zt(o,!0),i);break}break}}return e}var Ue=H(),jo=function(){function n(){this.data={}}return n.prototype.add=function(e,t,r){var i=this.data[e];i||(i={nodes:[],names:[]},this.data[e]=i),i.names.push(t),r&&i.nodes.push(r)},n}(),Vo=function(){function n(e,t,r){var i=this;this.cssDataManager=r,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new jo,this.validProperties={};var o=t.getSetting(Oo.ValidProperties);Array.isArray(o)&&o.forEach(function(s){if(typeof s=="string"){var a=s.trim().toLowerCase();a.length&&(i.validProperties[a]=!0)}})}return n.entries=function(e,t,r,i,o){var s=new n(t,r,i);return e.acceptVisitor(s),s.completeValidations(),s.getEntries(o)},n.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},n.prototype.fetch=function(e,t){for(var r=[],i=0,o=e;i0)for(var x=this.fetch(r,"float"),y=0;y0)for(var x=this.fetch(r,"vertical-align"),y=0;y1)for(var $=0;$")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(u.Operator);return this.consumeToken(),this.finish(t)}return n.prototype._parseOperator.call(this)},e.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(F);return this.consumeToken(),this.finish(t)}return n.prototype._parseUnaryOperator.call(this)},e.prototype._parseRuleSetDeclaration=function(){return this.peek(d.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||n.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||n.prototype._parseRuleSetDeclaration.call(this)},e.prototype._parseDeclaration=function(t){var r=this._tryParseCustomPropertyDeclaration(t);if(r)return r;var i=this.create(ae);if(!i.setProperty(this._parseProperty()))return null;if(!this.accept(d.Colon))return this.finish(i,f.ColonExpected,[d.Colon],t||[d.SemiColon]);this.prevToken&&(i.colonPosition=this.prevToken.offset);var o=!1;if(i.setValue(this._parseExpr())&&(o=!0,i.addChild(this._parsePrio())),this.peek(d.CurlyL))i.setNestedProperties(this._parseNestedProperties());else if(!o)return this.finish(i,f.PropertyValueExpected);return this.peek(d.SemiColon)&&(i.semicolonPosition=this.token.offset),this.finish(i)},e.prototype._parseNestedProperties=function(){var t=this.create(Yn);return this._parseBody(t,this._parseDeclaration.bind(this))},e.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var t=this.create(qe);if(this.consumeToken(),!t.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(t,f.SelectorExpected);for(;this.accept(d.Comma);)t.getSelectors().addChild(this._parseSimpleSelector());return this.accept(d.Exclamation)&&!this.acceptIdent("optional")?this.finish(t,f.UnknownKeyword):this.finish(t)}return null},e.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||n.prototype._parseSimpleSelectorBody.call(this)},e.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var t=this.createNode(u.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(d.Num)||this.accept(d.Dimension)||t.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(t)}return null},e.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var t=this.createNode(u.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(t)}else if(this.peekKeyword("@at-root")){var t=this.createNode(u.SelectorPlaceholder);return this.consumeToken(),this.finish(t)}return null},e.prototype._parseElementName=function(){var t=this.mark(),r=n.prototype._parseElementName.call(this);return r&&!this.hasWhitespace()&&this.peek(d.ParenthesisL)?(this.restoreAtMark(t),null):r},e.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||n.prototype._tryParsePseudoIdentifier.call(this)},e.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var t=this.createNode(u.Debug);return this.consumeToken(),t.addChild(this._parseExpr()),this.finish(t)},e.prototype._parseControlStatement=function(t){return t===void 0&&(t=this._parseRuleSetDeclaration.bind(this)),this.peek(d.AtKeyword)?this._parseIfStatement(t)||this._parseForStatement(t)||this._parseEachStatement(t)||this._parseWhileStatement(t):null},e.prototype._parseIfStatement=function(t){return this.peekKeyword("@if")?this._internalParseIfStatement(t):null},e.prototype._internalParseIfStatement=function(t){var r=this.create(pi);if(this.consumeToken(),!r.setExpression(this._parseExpr(!0)))return this.finish(r,f.ExpressionExpected);if(this._parseBody(r,t),this.acceptKeyword("@else")){if(this.peekIdent("if"))r.setElseClause(this._internalParseIfStatement(t));else if(this.peek(d.CurlyL)){var i=this.create(gi);this._parseBody(i,t),r.setElseClause(i)}}return this.finish(r)},e.prototype._parseForStatement=function(t){if(!this.peekKeyword("@for"))return null;var r=this.create(ui);return this.consumeToken(),r.setVariable(this._parseVariable())?this.acceptIdent("from")?r.addChild(this._parseBinaryExpr())?!this.acceptIdent("to")&&!this.acceptIdent("through")?this.finish(r,On.ThroughOrToExpected,[d.CurlyR]):r.addChild(this._parseBinaryExpr())?this._parseBody(r,t):this.finish(r,f.ExpressionExpected,[d.CurlyR]):this.finish(r,f.ExpressionExpected,[d.CurlyR]):this.finish(r,On.FromExpected,[d.CurlyR]):this.finish(r,f.VariableNameExpected,[d.CurlyR])},e.prototype._parseEachStatement=function(t){if(!this.peekKeyword("@each"))return null;var r=this.create(mi);this.consumeToken();var i=r.getVariables();if(!i.addChild(this._parseVariable()))return this.finish(r,f.VariableNameExpected,[d.CurlyR]);for(;this.accept(d.Comma);)if(!i.addChild(this._parseVariable()))return this.finish(r,f.VariableNameExpected,[d.CurlyR]);return this.finish(i),this.acceptIdent("in")?r.addChild(this._parseExpr())?this._parseBody(r,t):this.finish(r,f.ExpressionExpected,[d.CurlyR]):this.finish(r,On.InExpected,[d.CurlyR])},e.prototype._parseWhileStatement=function(t){if(!this.peekKeyword("@while"))return null;var r=this.create(fi);return this.consumeToken(),r.addChild(this._parseBinaryExpr())?this._parseBody(r,t):this.finish(r,f.ExpressionExpected,[d.CurlyR])},e.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},e.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var t=this.create(Qe);if(this.consumeToken(),!t.setIdentifier(this._parseIdent([A.Function])))return this.finish(t,f.IdentifierExpected,[d.CurlyR]);if(!this.accept(d.ParenthesisL))return this.finish(t,f.LeftParenthesisExpected,[d.CurlyR]);if(t.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,f.VariableNameExpected)}return this.accept(d.ParenthesisR)?this._parseBody(t,this._parseFunctionBodyDeclaration.bind(this)):this.finish(t,f.RightParenthesisExpected,[d.CurlyR])},e.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var t=this.createNode(u.ReturnStatement);return this.consumeToken(),t.addChild(this._parseExpr())?this.finish(t):this.finish(t,f.ExpressionExpected)},e.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var t=this.create(Ae);if(this.consumeToken(),!t.setIdentifier(this._parseIdent([A.Mixin])))return this.finish(t,f.IdentifierExpected,[d.CurlyR]);if(this.accept(d.ParenthesisL)){if(t.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,f.VariableNameExpected)}if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected,[d.CurlyR])}return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseParameterDeclaration=function(){var t=this.create(Be);return t.setIdentifier(this._parseVariable())?(this.accept(tn),this.accept(d.Colon)&&!t.setDefaultValue(this._parseExpr(!0))?this.finish(t,f.VariableValueExpected,[],[d.Comma,d.ParenthesisR]):this.finish(t)):null},e.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var t=this.create(Ii);if(this.consumeToken(),this.accept(d.ParenthesisL)){if(t.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getArguments().addChild(this._parseFunctionArgument()))return this.finish(t,f.ExpressionExpected)}if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected)}return this.finish(t)},e.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var t=this.create(et);this.consumeToken();var r=this._parseIdent([A.Mixin]);if(!t.setIdentifier(r))return this.finish(t,f.IdentifierExpected,[d.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var i=this._parseIdent([A.Mixin]);if(!i)return this.finish(t,f.IdentifierExpected,[d.CurlyR]);var o=this.create(Zn);r.referenceTypes=[A.Module],o.setIdentifier(r),t.setIdentifier(i),t.addChild(o)}if(this.accept(d.ParenthesisL)){if(t.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getArguments().addChild(this._parseFunctionArgument()))return this.finish(t,f.ExpressionExpected)}if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(d.CurlyL))&&t.setContent(this._parseMixinContentDeclaration()),this.finish(t)},e.prototype._parseMixinContentDeclaration=function(){var t=this.create(Mi);if(this.acceptIdent("using")){if(!this.accept(d.ParenthesisL))return this.finish(t,f.LeftParenthesisExpected,[d.CurlyL]);if(t.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,f.VariableNameExpected)}if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected,[d.CurlyL])}return this.peek(d.CurlyL)&&this._parseBody(t,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(t)},e.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},e.prototype._parseFunctionArgument=function(){var t=this.create(we),r=this.mark(),i=this._parseVariable();if(i)if(this.accept(d.Colon))t.setIdentifier(i);else{if(this.accept(tn))return t.setValue(i),this.finish(t);this.restoreAtMark(r)}return t.setValue(this._parseExpr(!0))?(this.accept(tn),t.addChild(this._parsePrio()),this.finish(t)):t.setValue(this._tryParsePrio())?this.finish(t):null},e.prototype._parseURLArgument=function(){var t=this.mark(),r=n.prototype._parseURLArgument.call(this);if(!r||!this.peek(d.ParenthesisR)){this.restoreAtMark(t);var i=this.create(F);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return r},e.prototype._parseOperation=function(){if(!this.peek(d.ParenthesisL))return null;var t=this.create(F);for(this.consumeToken();t.addChild(this._parseListElement());)this.accept(d.Comma);return this.accept(d.ParenthesisR)?this.finish(t):this.finish(t,f.RightParenthesisExpected)},e.prototype._parseListElement=function(){var t=this.create(Ti),r=this._parseBinaryExpr();if(!r)return null;if(this.accept(d.Colon)){if(t.setKey(r),!t.setValue(this._parseBinaryExpr()))return this.finish(t,f.ExpressionExpected)}else t.setValue(r);return this.finish(t)},e.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var t=this.create(vi);if(this.consumeToken(),!t.addChild(this._parseStringLiteral()))return this.finish(t,f.StringLiteralExpected);if(!this.peek(d.SemiColon)&&!this.peek(d.EOF)){if(!this.peekRegExp(d.Ident,/as|with/))return this.finish(t,f.UnknownKeyword);if(this.acceptIdent("as")&&!t.setIdentifier(this._parseIdent([A.Module]))&&!this.acceptDelim("*"))return this.finish(t,f.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(d.ParenthesisL))return this.finish(t,f.LeftParenthesisExpected,[d.ParenthesisR]);if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,f.VariableNameExpected);for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,f.VariableNameExpected);if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected)}}return!this.accept(d.SemiColon)&&!this.accept(d.EOF)?this.finish(t,f.SemiColonExpected):this.finish(t)},e.prototype._parseModuleConfigDeclaration=function(){var t=this.create(yi);return t.setIdentifier(this._parseVariable())?!this.accept(d.Colon)||!t.setValue(this._parseExpr(!0))?this.finish(t,f.VariableValueExpected,[],[d.Comma,d.ParenthesisR]):this.accept(d.Exclamation)&&(this.hasWhitespace()||!this.acceptIdent("default"))?this.finish(t,f.UnknownKeyword):this.finish(t):null},e.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var t=this.create(wi);if(this.consumeToken(),!t.addChild(this._parseStringLiteral()))return this.finish(t,f.StringLiteralExpected);if(this.acceptIdent("with")){if(!this.accept(d.ParenthesisL))return this.finish(t,f.LeftParenthesisExpected,[d.ParenthesisR]);if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,f.VariableNameExpected);for(;this.accept(d.Comma)&&!this.peek(d.ParenthesisR);)if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,f.VariableNameExpected);if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected)}if(!this.peek(d.SemiColon)&&!this.peek(d.EOF)){if(!this.peekRegExp(d.Ident,/as|hide|show/))return this.finish(t,f.UnknownKeyword);if(this.acceptIdent("as")){var r=this._parseIdent([A.Forward]);if(!t.setIdentifier(r))return this.finish(t,f.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(t,f.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!t.addChild(this._parseForwardVisibility()))return this.finish(t,f.IdentifierOrVariableExpected)}return!this.accept(d.SemiColon)&&!this.accept(d.EOF)?this.finish(t,f.SemiColonExpected):this.finish(t)},e.prototype._parseForwardVisibility=function(){var t=this.create(xi);for(t.setIdentifier(this._parseIdent());t.addChild(this._parseVariable()||this._parseIdent());)this.accept(d.Comma);return t.getChildren().length>1?t:null},e.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||n.prototype._parseSupportsCondition.call(this)},e}(bt);var Na=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),S=H(),Ko=function(n){Na(e,n);function e(t,r){var i=n.call(this,"$",t,r)||this;return qo(e.scssModuleLoaders),qo(e.scssModuleBuiltIns),i}return e.prototype.isImportPathParent=function(t){return t===u.Forward||t===u.Use||n.prototype.isImportPathParent.call(this,t)},e.prototype.getCompletionForImportPath=function(t,r){var i=t.getParent().type;if(i===u.Forward||i===u.Use)for(var o=0,s=e.scssModuleBuiltIns;o0){var t=typeof e.documentation=="string"?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+=` + +`,t.value+=e.references.map(function(r){return"[".concat(r.name,"](").concat(r.url,")")}).join(" | "),e.documentation=t}})}var Oa=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Go="/".charCodeAt(0),Wa=` +`.charCodeAt(0),La="\r".charCodeAt(0),Ua="\f".charCodeAt(0),jr="`".charCodeAt(0),Vr=".".charCodeAt(0),ja=d.CustomToken,Wn=ja++,Ln=function(n){Oa(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.scanNext=function(t){var r=this.escapedJavaScript();return r!==null?this.finishToken(t,r):this.stream.advanceIfChars([Vr,Vr,Vr])?this.finishToken(t,Wn):n.prototype.scanNext.call(this,t)},e.prototype.comment=function(){return n.prototype.comment.call(this)?!0:!this.inURL&&this.stream.advanceIfChars([Go,Go])?(this.stream.advanceWhileChar(function(t){switch(t){case Wa:case La:case Ua:return!1;default:return!0}}),!0):!1},e.prototype.escapedJavaScript=function(){var t=this.stream.peekChar();return t===jr?(this.stream.advance(1),this.stream.advanceWhileChar(function(r){return r!==jr}),this.stream.advanceIfChar(jr)?d.EscapedJavaScript:d.BadEscapedJavaScript):null},e}(Fe);var Ba=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Ho=function(n){Ba(e,n);function e(){return n.call(this,new Ln)||this}return e.prototype._parseStylesheetStatement=function(t){return t===void 0&&(t=!1),this.peek(d.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||n.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var t=this.create(ht);if(this.consumeToken(),this.accept(d.ParenthesisL)){if(!this.accept(d.Ident))return this.finish(t,f.IdentifierExpected,[d.SemiColon]);do if(!this.accept(d.Comma))break;while(this.accept(d.Ident));if(!this.accept(d.ParenthesisR))return this.finish(t,f.RightParenthesisExpected,[d.SemiColon])}return!t.addChild(this._parseURILiteral())&&!t.addChild(this._parseStringLiteral())?this.finish(t,f.URIOrStringExpected,[d.SemiColon]):(!this.peek(d.SemiColon)&&!this.peek(d.EOF)&&t.setMedialist(this._parseMediaQueryList()),this.finish(t))},e.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var t=this.createNode(u.Plugin);return this.consumeToken(),t.addChild(this._parseStringLiteral())?this.accept(d.SemiColon)?this.finish(t):this.finish(t,f.SemiColonExpected):this.finish(t,f.StringLiteralExpected)},e.prototype._parseMediaQuery=function(){var t=n.prototype._parseMediaQuery.call(this);if(!t){var r=this.create(pn);return r.addChild(this._parseVariable())?this.finish(r):null}return t},e.prototype._parseMediaDeclaration=function(t){return t===void 0&&(t=!1),this._tryParseRuleset(t)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(t)},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},e.prototype._parseVariableDeclaration=function(t){t===void 0&&(t=[]);var r=this.create($e),i=this.mark();if(!r.setVariable(this._parseVariable(!0)))return null;if(this.accept(d.Colon)){if(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseDetachedRuleSet()))r.needsSemicolon=!1;else if(!r.setValue(this._parseExpr()))return this.finish(r,f.VariableValueExpected,[],t);r.addChild(this._parsePrio())}else return this.restoreAtMark(i),null;return this.peek(d.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)},e.prototype._parseDetachedRuleSet=function(){var t=this.mark();if(this.peekDelim("#")||this.peekDelim("."))if(this.consumeToken(),!this.hasWhitespace()&&this.accept(d.ParenthesisL)){var r=this.create(Ae);if(r.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(d.Comma)||this.accept(d.SemiColon))&&!this.peek(d.ParenthesisR);)r.getParameters().addChild(this._parseMixinParameter())||this.markError(r,f.IdentifierExpected,[],[d.ParenthesisR]);if(!this.accept(d.ParenthesisR))return this.restoreAtMark(t),null}else return this.restoreAtMark(t),null;if(!this.peek(d.CurlyL))return null;var i=this.create(K);return this._parseBody(i,this._parseDetachedRuleSetBody.bind(this)),this.finish(i)},e.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},e.prototype._addLookupChildren=function(t){if(!t.addChild(this._parseLookupValue()))return!1;for(var r=!1;this.peek(d.BracketL)&&(r=!0),!!t.addChild(this._parseLookupValue());)r=!1;return!r},e.prototype._parseLookupValue=function(){var t=this.create(F),r=this.mark();return this.accept(d.BracketL)?(t.addChild(this._parseVariable(!1,!0))||t.addChild(this._parsePropertyIdentifier()))&&this.accept(d.BracketR)||this.accept(d.BracketR)?t:(this.restoreAtMark(r),null):(this.restoreAtMark(r),null)},e.prototype._parseVariable=function(t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var i=!t&&this.peekDelim("$");if(!this.peekDelim("@")&&!i&&!this.peek(d.AtKeyword))return null;for(var o=this.create(ut),s=this.mark();this.acceptDelim("@")||!t&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(s),null;return!this.accept(d.AtKeyword)&&!this.accept(d.Ident)?(this.restoreAtMark(s),null):!r&&this.peek(d.BracketL)&&!this._addLookupChildren(o)?(this.restoreAtMark(s),null):o},e.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||n.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},e.prototype._parseEscaped=function(){if(this.peek(d.EscapedJavaScript)||this.peek(d.BadEscapedJavaScript)){var t=this.createNode(u.EscapedValue);return this.consumeToken(),this.finish(t)}if(this.peekDelim("~")){var t=this.createNode(u.EscapedValue);return this.consumeToken(),this.accept(d.String)||this.accept(d.EscapedJavaScript)?this.finish(t):this.finish(t,f.TermExpected)}return null},e.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||n.prototype._parseOperator.call(this)},e.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var t=this.createNode(u.Operator);return this.consumeToken(),this.acceptDelim("="),t}else if(this.peekDelim("=")){var t=this.createNode(u.Operator);return this.consumeToken(),this.acceptDelim("<"),t}else if(this.peekDelim("<")){var t=this.createNode(u.Operator);return this.consumeToken(),this.acceptDelim("="),t}return null},e.prototype._parseRuleSetDeclaration=function(){return this.peek(d.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||n.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||n.prototype._parseRuleSetDeclaration.call(this)},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([A.Keyframe])||this._parseVariable()},e.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||n.prototype._parseKeyframeSelector.call(this)},e.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||n.prototype._parseSimpleSelectorBody.call(this)},e.prototype._parseSelector=function(t){var r=this.create(Ee),i=!1;for(t&&(i=r.addChild(this._parseCombinator()));r.addChild(this._parseSimpleSelector());){i=!0;var o=this.mark();if(r.addChild(this._parseGuard())&&this.peek(d.CurlyL))break;this.restoreAtMark(o),r.addChild(this._parseCombinator())}return i?this.finish(r):null},e.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var t=this.createNode(u.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(d.Num)||this.accept(d.Dimension)||t.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(t)}return null},e.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var t=this.createNode(u.SelectorInterpolation),r=this._acceptInterpolatedIdent(t);return r?this.finish(t):null},e.prototype._parsePropertyIdentifier=function(t){t===void 0&&(t=!1);var r=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,r))return null;var i=this.mark(),o=this.create(te);o.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");var s=!1;return t?o.isCustomProperty?s=o.addChild(this._parseIdent()):s=o.addChild(this._parseRegexp(r)):o.isCustomProperty?s=this._acceptInterpolatedIdent(o):s=this._acceptInterpolatedIdent(o,r),s?(!t&&!this.hasWhitespace()&&(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(o)):(this.restoreAtMark(i),null)},e.prototype.peekInterpolatedIdent=function(){return this.peek(d.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},e.prototype._acceptInterpolatedIdent=function(t,r){for(var i=this,o=!1,s=function(){var l=i.mark();return i.acceptDelim("-")&&(i.hasWhitespace()||i.acceptDelim("-"),i.hasWhitespace())?(i.restoreAtMark(l),null):i._parseInterpolation()},a=r?function(){return i.acceptRegexp(r)}:function(){return i.accept(d.Ident)};(a()||t.addChild(this._parseInterpolation()||this.try(s)))&&(o=!0,!this.hasWhitespace()););return o},e.prototype._parseInterpolation=function(){var t=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var r=this.createNode(u.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(d.CurlyL)?(this.restoreAtMark(t),null):r.addChild(this._parseIdent())?this.accept(d.CurlyR)?this.finish(r):this.finish(r,f.RightCurlyExpected):this.finish(r,f.IdentifierExpected)}return null},e.prototype._tryParseMixinDeclaration=function(){var t=this.mark(),r=this.create(Ae);if(!r.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(d.ParenthesisL))return this.restoreAtMark(t),null;if(r.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(d.Comma)||this.accept(d.SemiColon))&&!this.peek(d.ParenthesisR);)r.getParameters().addChild(this._parseMixinParameter())||this.markError(r,f.IdentifierExpected,[],[d.ParenthesisR]);return this.accept(d.ParenthesisR)?(r.setGuard(this._parseGuard()),this.peek(d.CurlyL)?this._parseBody(r,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(t),null)):(this.restoreAtMark(t),null)},e.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},e.prototype._parseMixinDeclarationIdentifier=function(){var t;if(this.peekDelim("#")||this.peekDelim(".")){if(t=this.create(te),this.consumeToken(),this.hasWhitespace()||!t.addChild(this._parseIdent()))return null}else if(this.peek(d.Hash))t=this.create(te),this.consumeToken();else return null;return t.referenceTypes=[A.Mixin],this.finish(t)},e.prototype._parsePseudo=function(){if(!this.peek(d.Colon))return null;var t=this.mark(),r=this.create(qe);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(r):(this.restoreAtMark(t),n.prototype._parsePseudo.call(this))},e.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var t=this.mark(),r=this.create(qe);return this.consumeToken(),this.hasWhitespace()||!this.accept(d.Colon)||!this.acceptIdent("extend")?(this.restoreAtMark(t),null):this._completeExtends(r)},e.prototype._completeExtends=function(t){if(!this.accept(d.ParenthesisL))return this.finish(t,f.LeftParenthesisExpected);var r=t.getSelectors();if(!r.addChild(this._parseSelector(!0)))return this.finish(t,f.SelectorExpected);for(;this.accept(d.Comma);)if(!r.addChild(this._parseSelector(!0)))return this.finish(t,f.SelectorExpected);return this.accept(d.ParenthesisR)?this.finish(t):this.finish(t,f.RightParenthesisExpected)},e.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(d.AtKeyword))return null;var t=this.mark(),r=this.create(et);return r.addChild(this._parseVariable(!0))&&(this.hasWhitespace()||!this.accept(d.ParenthesisL))?(this.restoreAtMark(t),null):this.accept(d.ParenthesisR)?this.finish(r):this.finish(r,f.RightParenthesisExpected)},e.prototype._tryParseMixinReference=function(t){t===void 0&&(t=!0);for(var r=this.mark(),i=this.create(et),o=this._parseMixinDeclarationIdentifier();o;){this.acceptDelim(">");var s=this._parseMixinDeclarationIdentifier();if(s)i.getNamespaces().addChild(o),o=s;else break}if(!i.setIdentifier(o))return this.restoreAtMark(r),null;var a=!1;if(this.accept(d.ParenthesisL)){if(a=!0,i.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(d.Comma)||this.accept(d.SemiColon))&&!this.peek(d.ParenthesisR);)if(!i.getArguments().addChild(this._parseMixinArgument()))return this.finish(i,f.ExpressionExpected)}if(!this.accept(d.ParenthesisR))return this.finish(i,f.RightParenthesisExpected);o.referenceTypes=[A.Mixin]}else o.referenceTypes=[A.Mixin,A.Rule];return this.peek(d.BracketL)?t||this._addLookupChildren(i):i.addChild(this._parsePrio()),!a&&!this.peek(d.SemiColon)&&!this.peek(d.CurlyR)&&!this.peek(d.EOF)?(this.restoreAtMark(r),null):this.finish(i)},e.prototype._parseMixinArgument=function(){var t=this.create(we),r=this.mark(),i=this._parseVariable();return i&&(this.accept(d.Colon)?t.setIdentifier(i):this.restoreAtMark(r)),t.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(t):(this.restoreAtMark(r),null)},e.prototype._parseMixinParameter=function(){var t=this.create(Be);if(this.peekKeyword("@rest")){var r=this.create(F);return this.consumeToken(),this.accept(Wn)?(t.setIdentifier(this.finish(r)),this.finish(t)):this.finish(t,f.DotExpected,[],[d.Comma,d.ParenthesisR])}if(this.peek(Wn)){var i=this.create(F);return this.consumeToken(),t.setIdentifier(this.finish(i)),this.finish(t)}var o=!1;return t.setIdentifier(this._parseVariable())&&(this.accept(d.Colon),o=!0),!t.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))&&!o?null:this.finish(t)},e.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var t=this.create(Pi);if(this.consumeToken(),t.isNegated=this.acceptIdent("not"),!t.getConditions().addChild(this._parseGuardCondition()))return this.finish(t,f.ConditionExpected);for(;this.acceptIdent("and")||this.accept(d.Comma);)if(!t.getConditions().addChild(this._parseGuardCondition()))return this.finish(t,f.ConditionExpected);return this.finish(t)},e.prototype._parseGuardCondition=function(){if(!this.peek(d.ParenthesisL))return null;var t=this.create(Ai);return this.consumeToken(),t.addChild(this._parseExpr()),this.accept(d.ParenthesisR)?this.finish(t):this.finish(t,f.RightParenthesisExpected)},e.prototype._parseFunction=function(){var t=this.mark(),r=this.create(Pe);if(!r.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(d.ParenthesisL))return this.restoreAtMark(t),null;if(r.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(d.Comma)||this.accept(d.SemiColon))&&!this.peek(d.ParenthesisR);)if(!r.getArguments().addChild(this._parseMixinArgument()))return this.finish(r,f.ExpressionExpected)}return this.accept(d.ParenthesisR)?this.finish(r):this.finish(r,f.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(te);return t.referenceTypes=[A.Function],this.consumeToken(),this.finish(t)}return n.prototype._parseFunctionIdentifier.call(this)},e.prototype._parseURLArgument=function(){var t=this.mark(),r=n.prototype._parseURLArgument.call(this);if(!r||!this.peek(d.ParenthesisR)){this.restoreAtMark(t);var i=this.create(F);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return r},e}(bt);var $a=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),I=H(),Jo=function(n){$a(e,n);function e(t,r){return n.call(this,"@",t,r)||this}return e.prototype.createFunctionProposals=function(t,r,i,o){for(var s=0,a=t;s 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:I("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:I("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:I("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:I("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:I("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:I("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:I("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:I("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:I("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:I("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],e.colorProposals=[{name:"argb",example:"argb(@color);",description:I("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:I("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:I("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:I("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:I("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:I("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:I("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:I("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:I("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:I("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:I("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:I("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:I("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:I("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:I("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:I("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:I("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:I("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:I("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:I("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:I("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:I("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:I("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:I("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:I("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:I("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:I("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],e}(yt);function Yo(n,e){var t=qa(n);return Ka(t,e)}function qa(n){function e(p){return n.positionAt(p.offset).line}function t(p){return n.positionAt(p.offset+p.len).line}function r(){switch(n.languageId){case"scss":return new Nn;case"less":return new Ln;default:return new Fe}}function i(p,m){var g=e(p),w=t(p);return g!==w?{startLine:g,endLine:w,kind:m}:null}var o=[],s=[],a=r();a.ignoreComment=!1,a.setSource(n.getText());for(var l=a.scan(),c=null,h=function(){switch(l.type){case d.CurlyL:case St:{s.push({line:e(l),type:"brace",isStart:!0});break}case d.CurlyR:{if(s.length!==0){var p=Xo(s,"brace");if(!p)break;var m=t(l);p.type==="brace"&&(c&&t(c)!==m&&m--,p.line!==m&&o.push({startLine:p.line,endLine:m,kind:void 0}))}break}case d.Comment:{var g=function(D){return D==="#region"?{line:e(l),type:"comment",isStart:!0}:{line:t(l),type:"comment",isStart:!1}},w=function(D){var M=D.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(M)return g(M[1]);if(n.languageId==="scss"||n.languageId==="less"){var z=D.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(z)return g(z[1])}return null},x=w(l);if(x)if(x.isStart)s.push(x);else{var p=Xo(s,"comment");if(!p)break;p.type==="comment"&&p.line!==x.line&&o.push({startLine:p.line,endLine:x.line,kind:"region"})}else{var y=i(l,"comment");y&&o.push(y)}break}}c=l,l=a.scan()};l.type!==d.EOF;)h();return o}function Xo(n,e){if(n.length===0)return null;for(var t=n.length-1;t>=0;t--)if(n[t].type===e&&n[t].isStart)return n.splice(t,1)[0];return null}function Ka(n,e){var t=e&&e.rangeLimit||Number.MAX_VALUE,r=n.sort(function(s,a){var l=s.startLine-a.startLine;return l===0&&(l=s.endLine-a.endLine),l}),i=[],o=-1;return r.forEach(function(s){s.startLine=0;c--)if(this.__items[c].match(l))return!0;return!1},o.prototype.set_indent=function(l,c){this.is_empty()&&(this.__indent_count=l||0,this.__alignment_count=c||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},o.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},o.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},o.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var l=this.__parent.current_line;return l.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),l.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),l.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,l.__items[0]===" "&&(l.__items.splice(0,1),l.__character_count-=1),!0}return!1},o.prototype.is_empty=function(){return this.__items.length===0},o.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},o.prototype.push=function(l){this.__items.push(l);var c=l.lastIndexOf(` +`);c!==-1?this.__character_count=l.length-c:this.__character_count+=l.length},o.prototype.pop=function(){var l=null;return this.is_empty()||(l=this.__items.pop(),this.__character_count-=l.length),l},o.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},o.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},o.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},o.prototype.toString=function(){var l="";return this.is_empty()?this.__parent.indent_empty_lines&&(l=this.__parent.get_indent_string(this.__indent_count)):(l=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),l+=this.__items.join("")),l};function s(l,c){this.__cache=[""],this.__indent_size=l.indent_size,this.__indent_string=l.indent_char,l.indent_with_tabs||(this.__indent_string=new Array(l.indent_size+1).join(l.indent_char)),c=c||"",l.indent_level>0&&(c=new Array(l.indent_level+1).join(this.__indent_string)),this.__base_string=c,this.__base_string_length=c.length}s.prototype.get_indent_size=function(l,c){var h=this.__base_string_length;return c=c||0,l<0&&(h=0),h+=l*this.__indent_size,h+=c,h},s.prototype.get_indent_string=function(l,c){var h=this.__base_string;return c=c||0,l<0&&(l=0,h=""),c+=l*this.__indent_size,this.__ensure_cache(c),h+=this.__cache[c],h},s.prototype.__ensure_cache=function(l){for(;l>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var l=this.__cache.length,c=0,h="";this.__indent_size&&l>=this.__indent_size&&(c=Math.floor(l/this.__indent_size),l-=c*this.__indent_size,h=new Array(c+1).join(this.__indent_string)),l&&(h+=new Array(l+1).join(" ")),this.__cache.push(h)};function a(l,c){this.__indent_cache=new s(l,c),this.raw=!1,this._end_with_newline=l.end_with_newline,this.indent_size=l.indent_size,this.wrap_line_length=l.wrap_line_length,this.indent_empty_lines=l.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new o(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(l,c){return this.__indent_cache.get_indent_string(l,c)},a.prototype.get_indent_size=function(l,c){return this.__indent_cache.get_indent_size(l,c)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(l){return this.is_empty()||!l&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(l){this.trim(!0);var c=this.current_line.pop();c&&(c[c.length-1]===` +`&&(c=c.replace(/\n+$/g,"")),this.current_line.push(c)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(` +`);return l!==` +`&&(h=h.replace(/[\n]/g,l)),h},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(l,c){return l=l||0,c=c||0,this.next_line.set_indent(l,c),this.__lines.length>1?(this.current_line.set_indent(l,c),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(l){for(var c=0;c1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(l,c){for(var h=this.__lines.length-2;h>=0;){var p=this.__lines[h];if(p.is_empty())break;if(p.item(0).indexOf(l)!==0&&p.item(-1)!==c){this.__lines.splice(h+1,0,new o(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},i.exports.Output=a},,,,function(i){function o(l,c){this.raw_options=s(l,c),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}o.prototype._get_array=function(l,c){var h=this.raw_options[l],p=c||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(p=h.concat()):typeof h=="string"&&(p=h.split(/[^a-zA-Z0-9_\/\-]+/)),p},o.prototype._get_boolean=function(l,c){var h=this.raw_options[l],p=h===void 0?!!c:!!h;return p},o.prototype._get_characters=function(l,c){var h=this.raw_options[l],p=c||"";return typeof h=="string"&&(p=h.replace(/\\r/,"\r").replace(/\\n/,` +`).replace(/\\t/," ")),p},o.prototype._get_number=function(l,c){var h=this.raw_options[l];c=parseInt(c,10),isNaN(c)&&(c=0);var p=parseInt(h,10);return isNaN(p)&&(p=c),p},o.prototype._get_selection=function(l,c,h){var p=this._get_selection_list(l,c,h);if(p.length!==1)throw new Error("Invalid Option Value: The option '"+l+`' can only be one of the following values: +`+c+` +You passed in: '`+this.raw_options[l]+"'");return p[0]},o.prototype._get_selection_list=function(l,c,h){if(!c||c.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[c[0]],!this._is_valid_selection(h,c))throw new Error("Invalid Default Value!");var p=this._get_array(l,h);if(!this._is_valid_selection(p,c))throw new Error("Invalid Option Value: The option '"+l+`' can contain only the following values: +`+c+` +You passed in: '`+this.raw_options[l]+"'");return p},o.prototype._is_valid_selection=function(l,c){return l.length&&c.length&&!l.some(function(h){return c.indexOf(h)===-1})};function s(l,c){var h={};l=a(l);var p;for(p in l)p!==c&&(h[p]=l[p]);if(c&&l[c])for(p in l[c])h[p]=l[c][p];return h}function a(l){var c={},h;for(h in l){var p=h.replace(/-/g,"_");c[p]=l[h]}return c}i.exports.Options=o,i.exports.normalizeOpts=a,i.exports.mergeOpts=s},,function(i){var o=RegExp.prototype.hasOwnProperty("sticky");function s(a){this.__input=a||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position=0&&a=0&&l=a.length&&this.__input.substring(l-a.length,l).toLowerCase()===a},i.exports.InputScanner=s},,,,,function(i){function o(s,a){s=typeof s=="string"?s:s.source,a=typeof a=="string"?a:a.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+a,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+a,"g")}o.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var a={};this.__directive_pattern.lastIndex=0;for(var l=this.__directive_pattern.exec(s);l;)a[l[1]]=l[2],l=this.__directive_pattern.exec(s);return a},o.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},i.exports.Directives=o},,function(i,o,s){var a=s(16).Beautifier,l=s(17).Options;function c(h,p){var m=new a(h,p);return m.beautify()}i.exports=c,i.exports.defaultOptions=function(){return new l}},function(i,o,s){var a=s(17).Options,l=s(2).Output,c=s(8).InputScanner,h=s(13).Directives,p=new h(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,g=/\r\n|[\r\n]/g,w=/\s/,x=/(?:\s|\n)+/g,y=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,D=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function M(z,P){this._source_text=z||"",this._options=new a(P),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}M.prototype.eatString=function(z){var P="";for(this._ch=this._input.next();this._ch;){if(P+=this._ch,this._ch==="\\")P+=this._input.next();else if(z.indexOf(this._ch)!==-1||this._ch===` +`)break;this._ch=this._input.next()}return P},M.prototype.eatWhitespace=function(z){for(var P=w.test(this._input.peek()),L=0;w.test(this._input.peek());)this._ch=this._input.next(),z&&this._ch===` +`&&(L===0||L0&&this._indentLevel--},M.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var z=this._source_text,P=this._options.eol;P==="auto"&&(P=` +`,z&&m.test(z||"")&&(P=z.match(m)[0])),z=z.replace(g,` +`);var L=z.match(/^[\t ]*/)[0];this._output=new l(this._options,L),this._input=new c(z),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var $=0,ue=!1,oe=!1,me=!1,ve=!1,ye=!1,ke=this._ch,pe,G,Ie;pe=this._input.read(x),G=pe!=="",Ie=ke,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ke=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var fe=this._input.read(y),C=p.get_directives(fe);C&&C.ignore==="start"&&(fe+=p.readIgnored(this._input)),this.print_string(fe),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(D)),this.eatWhitespace(!0);else if(this._ch==="@")if(this.preserveSingleSpace(G),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var b=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);b.match(/[ :]$/)&&(b=this.eatString(": ").replace(/\s$/,""),this.print_string(b),this._output.space_before_token=!0),b=b.replace(/\s$/,""),b==="extend"?ve=!0:b==="import"&&(ye=!0),b in this.NESTED_AT_RULE?(this._nestedLevel+=1,b in this.CONDITIONAL_GROUP_RULE&&(me=!0)):!ue&&$===0&&b.indexOf(":")!==-1&&(oe=!0,this.indent())}else this._ch==="#"&&this._input.peek()==="{"?(this.preserveSingleSpace(G),this.print_string(this._ch+this.eatString("}"))):this._ch==="{"?(oe&&(oe=!1,this.outdent()),me?(me=!1,ue=this._indentLevel>=this._nestedLevel):ue=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ue&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):this._ch==="}"?(this.outdent(),this._output.add_new_line(),Ie==="{"&&this._output.trim(!0),ye=!1,ve=!1,oe&&(this.outdent(),oe=!1),this.print_string(this._ch),ue=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0)):this._ch===":"?(ue||me)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!ve&&$===0?(this.print_string(":"),oe||(oe=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):this._ch==='"'||this._ch==="'"?(this.preserveSingleSpace(G),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):this._ch===";"?$===0?(oe&&(this.outdent(),oe=!1),ve=!1,ye=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):this._ch==="("?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),$++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),$&&($--,this.outdent()))):(this.preserveSingleSpace(G),this.print_string(this._ch),this.eatWhitespace(),$++,this.indent()):this._ch===")"?($&&($--,this.outdent()),this.print_string(this._ch)):this._ch===","?(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&!oe&&$===0&&!ye&&!ve?this._output.add_new_line():this._output.space_before_token=!0):(this._ch===">"||this._ch==="+"||this._ch==="~")&&!oe&&$===0?this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&w.test(this._ch)&&(this._ch="")):this._ch==="]"?this.print_string(this._ch):this._ch==="["?(this.preserveSingleSpace(G),this.print_string(this._ch)):this._ch==="="?(this.eatWhitespace(),this.print_string("="),w.test(this._ch)&&(this._ch="")):this._ch==="!"&&!this._input.lookBack("\\")?(this.print_string(" "),this.print_string(this._ch)):(this.preserveSingleSpace(G),this.print_string(this._ch));var k=this._output.get_code(P);return k},i.exports.Beautifier=M},function(i,o,s){var a=s(6).Options;function l(c){a.call(this,c,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var p=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m0&&ns(r,c-1);)c--;c===0||ts(r,c-1)?l=c:c0){var x=t.insertSpaces?Xn(" ",a*o):Xn(" ",o);w=w.split(` +`).join(` +`+x),e.start.character===0&&(w=x+w)}return[{range:e,newText:w}]}function es(n){return n.replace(/^\s+/,"")}var Ga="{".charCodeAt(0),Ha="}".charCodeAt(0);function Ja(n,e){for(;e>=0;){var t=n.charCodeAt(e);if(t===Ga)return!0;if(t===Ha)return!1;e--}return!1}function Ve(n,e,t){if(n&&n.hasOwnProperty(e)){var r=n[e];if(r!==null)return r}return t}function Xa(n,e,t){for(var r=e,i=0,o=t.tabSize||4;r && ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | | | ? ",relevance:62,description:"Aligns a flex container\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | | [ ? ]",relevance:85,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]",relevance:53,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | | ? [ | left | right ]",relevance:53,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | | ? ",relevance:72,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"#",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"